Skip to content

Commit f7b2d62

Browse files
author
Nina Benite
committed
update IndexTable screenshots
Typography, Checkbox update
1 parent f19b12f commit f7b2d62

8 files changed

Lines changed: 1 addition & 19 deletions

src/@next/IndexTable/IndexTableStyle.ts

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,6 @@ export const StyledIndexTable: any = createGlobalStyle`
151151
margin: 0.3125rem var(--p-space-2) var(--p-space-4);
152152
box-shadow: var(--p-shadow-popover);
153153
border-radius: var(--p-border-radius-2);
154-
-webkit-backface-visibility: hidden;
155154
backface-visibility: hidden;
156155
will-change: left, top;
157156
}
@@ -330,10 +329,8 @@ export const StyledIndexTable: any = createGlobalStyle`
330329
--pc-action-list-item-vertical-padding: calc(
331330
(var(--pc-action-list-item-min-height) - 1.25rem) / 2
332331
);
333-
-webkit-appearance: none;
334332
appearance: none;
335333
margin: 0;
336-
padding: 0;
337334
background: none;
338335
border: none;
339336
font-size: inherit;
@@ -346,11 +343,9 @@ export const StyledIndexTable: any = createGlobalStyle`
346343
min-height: var(--pc-action-list-item-min-height);
347344
text-align: left;
348345
text-decoration: none;
349-
cursor: pointer;
350346
padding: var(--pc-action-list-item-vertical-padding) var(--p-space-2);
351347
border-radius: var(--p-border-radius-1);
352348
border-top: var(--p-border-width-1) solid transparent;
353-
color: inherit;
354349
}
355350
356351
.Polaris-ActionList__Item:focus {
@@ -372,12 +367,6 @@ export const StyledIndexTable: any = createGlobalStyle`
372367
border-radius: var(--p-border-radius-1);
373368
}
374369
375-
@media (forced-colors: active) {
376-
.Polaris-ActionList__Item {
377-
border: var(--p-border-width-1) solid transparent;
378-
}
379-
}
380-
381370
.Polaris-ActionList__Item:hover {
382371
background-color: var(--p-surface-hovered);
383372
text-decoration: none;
@@ -587,7 +576,6 @@ export const StyledIndexTable: any = createGlobalStyle`
587576
--pc-button-focused: 20;
588577
--pc-button-disclosure-icon-offset: -0.375rem;
589578
position: relative;
590-
position: relative;
591579
display: inline-flex;
592580
align-items: center;
593581
justify-content: center;
@@ -608,7 +596,6 @@ export const StyledIndexTable: any = createGlobalStyle`
608596
line-height: 1;
609597
text-align: center;
610598
cursor: pointer;
611-
-webkit-user-select: none;
612599
user-select: none;
613600
text-decoration: none;
614601
-webkit-tap-highlight-color: transparent;
@@ -870,7 +857,6 @@ export const StyledIndexTable: any = createGlobalStyle`
870857
transition-property: transform, opacity;
871858
transform: translateY(7.5rem);
872859
padding: 0 var(--p-space-4);
873-
-webkit-backface-visibility: hidden;
874860
backface-visibility: hidden;
875861
will-change: transform, opacity;
876862
}
@@ -1511,7 +1497,6 @@ export const StyledIndexTable: any = createGlobalStyle`
15111497
}
15121498
15131499
.Polaris-IndexTable__ScrollBar::-webkit-scrollbar {
1514-
-webkit-appearance: none;
15151500
appearance: none;
15161501
height: var(--p-space-2);
15171502
width: var(--p-space-2);
@@ -1521,7 +1506,6 @@ export const StyledIndexTable: any = createGlobalStyle`
15211506
.Polaris-IndexTable__ScrollBar::-webkit-scrollbar-thumb {
15221507
border-radius: var(--p-border-radius-1);
15231508
background-color: var(--p-border-neutral-subdued);
1524-
-webkit-transition: background-color var(--p-duration-100) cubic-bezier(0, 0, 0.58, 1);
15251509
transition: background-color var(--p-duration-100) cubic-bezier(0, 0, 0.58, 1);
15261510
}
15271511
@@ -1530,7 +1514,6 @@ export const StyledIndexTable: any = createGlobalStyle`
15301514
}
15311515
15321516
.Polaris-IndexTable--disableTextSelection {
1533-
-webkit-user-select: none;
15341517
user-select: none;
15351518
}
15361519
@@ -1646,7 +1629,6 @@ export const StyledIndexTable: any = createGlobalStyle`
16461629
calc((2.375rem - 1.25rem - var(--p-space-05)) / 2)
16471630
var(--p-space-4);
16481631
cursor: pointer;
1649-
-webkit-user-select: none;
16501632
user-select: none;
16511633
text-decoration: none;
16521634
text-align: left;
@@ -1692,7 +1674,6 @@ export const StyledIndexTable: any = createGlobalStyle`
16921674
gap: var(--p-space-025);
16931675
align-items: center;
16941676
justify-content: flex-start;
1695-
-webkit-backface-visibility: hidden;
16961677
backface-visibility: hidden;
16971678
will-change: opacity;
16981679
}

test/e2e/indexTable/indexTable.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ test('IndexTable', async ({ page }) => {
55
const indexTablePage = new IndexTablePage(page);
66
await indexTablePage.goto();
77

8+
page.waitForLoadState('domcontentloaded');
89
await expect(indexTablePage.canvas).toHaveScreenshot('indexTable.png');
910

1011
await indexTablePage.tableRow.hover();
622 Bytes
Loading
-119 Bytes
Loading
-184 Bytes
Loading
1.13 KB
Loading
1.85 KB
Loading
1.87 KB
Loading

0 commit comments

Comments
 (0)