From 8d7419fa6220d9f28afa5e81fe7afda680ceea22 Mon Sep 17 00:00:00 2001 From: Sumitmaithani Date: Sat, 27 Jul 2024 17:50:46 +0530 Subject: [PATCH 01/16] feat: [Table] enhancements --- .../blade/src/components/Table/TableBody.web.tsx | 15 +++++++++++++-- packages/blade/src/components/Table/types.ts | 11 +++++++++++ 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/packages/blade/src/components/Table/TableBody.web.tsx b/packages/blade/src/components/Table/TableBody.web.tsx index cc253f2ddc2..61315a08019 100644 --- a/packages/blade/src/components/Table/TableBody.web.tsx +++ b/packages/blade/src/components/Table/TableBody.web.tsx @@ -164,7 +164,9 @@ export const CellWrapper = styled(BaseBox)<{ rowDensity: NonNullable['rowDensity']>; showStripedRows?: boolean; hasPadding?: boolean; -}>(({ theme, rowDensity, showStripedRows, hasPadding = true }) => { + contentAlign?: TableCellProps['contentAlign']; + allowMultiline?: TableCellProps['allowMultiline']; +}>(({ theme, rowDensity, showStripedRows, hasPadding = true, contentAlign, allowMultiline }) => { const rowBackgroundTransition = `background-color ${makeMotionTime( getIn(theme.motion, tableRow.backgroundColorMotionDuration), )} ${getIn(theme.motion, tableRow.backgroundColorMotionEasing)}`; @@ -178,6 +180,8 @@ export const CellWrapper = styled(BaseBox)<{ minHeight: makeSize(getIn(size, tableRow.minHeight[rowDensity])), height: '100%', width: '100%', + justifyContent: contentAlign, + whiteSpace: allowMultiline ? 'normal' : 'nowrap', ...(!showStripedRows && { borderBottomWidth: makeSpace(getIn(theme.border.width, tableRow.borderBottomWidth)), borderBottomColor: getIn(theme.colors, tableRow.borderColor), @@ -187,7 +191,11 @@ export const CellWrapper = styled(BaseBox)<{ }; }); -const _TableCell = ({ children }: TableCellProps): React.ReactElement => { +const _TableCell = ({ + children, + allowMultiline, + contentAlign, +}: TableCellProps): React.ReactElement => { const isChildrenString = typeof children === 'string'; const { selectionType, rowDensity, showStripedRows, backgroundColor } = useTableContext(); const isSelectable = selectionType !== 'none'; @@ -197,6 +205,7 @@ const _TableCell = ({ children }: TableCellProps): React.ReactElement => { tabIndex={0} role="cell" $backgroundColor={backgroundColor} + allowMultiline={allowMultiline} {...metaAttribute({ name: MetaConstants.TableCell })} > @@ -207,6 +216,8 @@ const _TableCell = ({ children }: TableCellProps): React.ReactElement => { display="flex" alignItems="center" flex={1} + contentAlign={contentAlign} + allowMultiline={allowMultiline} // when a direct string child is passed we want to disable pointer events // for custom cells components, consumers can handle pointer events themselves pointerEvents={isChildrenString && isSelectable ? 'none' : 'auto'} diff --git a/packages/blade/src/components/Table/types.ts b/packages/blade/src/components/Table/types.ts index c7d06fb6f13..7cbc3a261b6 100644 --- a/packages/blade/src/components/Table/types.ts +++ b/packages/blade/src/components/Table/types.ts @@ -252,6 +252,17 @@ type TableCellProps = { * **/ children: React.ReactNode; + /** + * The contentAlign prop determines the content alignment of the table. + * The contentAlign prop can be 'left', 'center', or 'right'. + * The default value is `left`. + **/ + contentAlign?: 'left' | 'center' | 'right'; + /** + * The allowMultiline prop determines whether the table should allow multiline cells or not. + * The default value is `false`. + **/ + allowMultiline?: boolean; }; type TableEditableCellProps = Pick< From 2ef7cd31f8c796cba0aa8e564874e873672787c8 Mon Sep 17 00:00:00 2001 From: Sumitmaithani Date: Sat, 27 Jul 2024 17:56:12 +0530 Subject: [PATCH 02/16] fix: minior change --- packages/blade/src/components/Table/TableBody.web.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/blade/src/components/Table/TableBody.web.tsx b/packages/blade/src/components/Table/TableBody.web.tsx index 61315a08019..ecb43decce9 100644 --- a/packages/blade/src/components/Table/TableBody.web.tsx +++ b/packages/blade/src/components/Table/TableBody.web.tsx @@ -205,7 +205,6 @@ const _TableCell = ({ tabIndex={0} role="cell" $backgroundColor={backgroundColor} - allowMultiline={allowMultiline} {...metaAttribute({ name: MetaConstants.TableCell })} > From 1b15ba8b8d37435460418e50708bf113667b9361 Mon Sep 17 00:00:00 2001 From: Sumitmaithani Date: Sun, 28 Jul 2024 11:27:27 +0530 Subject: [PATCH 03/16] feat: snapshot update --- .../Table/__tests__/__snapshots__/Table.web.test.tsx.snap | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/blade/src/components/Table/__tests__/__snapshots__/Table.web.test.tsx.snap b/packages/blade/src/components/Table/__tests__/__snapshots__/Table.web.test.tsx.snap index 553043dc63c..ef5669a522d 100644 --- a/packages/blade/src/components/Table/__tests__/__snapshots__/Table.web.test.tsx.snap +++ b/packages/blade/src/components/Table/__tests__/__snapshots__/Table.web.test.tsx.snap @@ -181,6 +181,7 @@ exports[` should render table 1`] = ` min-height: 48px; height: 100%; width: 100%; + white-space: nowrap; border-bottom-width: 1px; border-bottom-color: hsla(211,20%,52%,0.18); border-bottom-style: solid; @@ -1655,6 +1656,7 @@ exports[`
should render table with TableEditableCell and Bordered cells min-height: 48px; height: 100%; width: 100%; + white-space: nowrap; border-bottom-width: 1px; border-bottom-color: hsla(211,20%,52%,0.18); border-bottom-style: solid; @@ -1669,6 +1671,7 @@ exports[`
should render table with TableEditableCell and Bordered cells min-height: 48px; height: 100%; width: 100%; + white-space: nowrap; border-bottom-width: 1px; border-bottom-color: hsla(211,20%,52%,0.18); border-bottom-style: solid; @@ -2872,6 +2875,7 @@ exports[`
should render table with comfortable rowDensity 1`] = ` min-height: 60px; height: 100%; width: 100%; + white-space: nowrap; border-bottom-width: 1px; border-bottom-color: hsla(211,20%,52%,0.18); border-bottom-style: solid; @@ -3739,6 +3743,7 @@ exports[`
should render table with compact rowDensity 1`] = ` min-height: 36px; height: 100%; width: 100%; + white-space: nowrap; border-bottom-width: 1px; border-bottom-color: hsla(211,20%,52%,0.18); border-bottom-style: solid; @@ -4757,6 +4762,7 @@ exports[`
should render table with isRefreshing 1`] = ` min-height: 48px; height: 100%; width: 100%; + white-space: nowrap; border-bottom-width: 1px; border-bottom-color: hsla(211,20%,52%,0.18); border-bottom-style: solid; @@ -5680,6 +5686,7 @@ exports[`
should render table with showStripedRows 1`] = ` min-height: 48px; height: 100%; width: 100%; + white-space: nowrap; } .c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6 { @@ -6548,6 +6555,7 @@ exports[`
should render table with sticky header, footer & first column min-height: 48px; height: 100%; width: 100%; + white-space: nowrap; border-bottom-width: 1px; border-bottom-color: hsla(211,20%,52%,0.18); border-bottom-style: solid; From 35d1ec38c85ff3867ee4f61e1e9ab323c406e94e Mon Sep 17 00:00:00 2001 From: Sumitmaithani Date: Tue, 27 Aug 2024 13:22:03 +0530 Subject: [PATCH 04/16] fix req change --- packages/blade/src/components/Table/TableBody.web.tsx | 10 +++++----- packages/blade/src/components/Table/types.ts | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/blade/src/components/Table/TableBody.web.tsx b/packages/blade/src/components/Table/TableBody.web.tsx index ecb43decce9..2982a5c2d39 100644 --- a/packages/blade/src/components/Table/TableBody.web.tsx +++ b/packages/blade/src/components/Table/TableBody.web.tsx @@ -164,9 +164,9 @@ export const CellWrapper = styled(BaseBox)<{ rowDensity: NonNullable['rowDensity']>; showStripedRows?: boolean; hasPadding?: boolean; - contentAlign?: TableCellProps['contentAlign']; + textAlign?: TableCellProps['textAlign']; allowMultiline?: TableCellProps['allowMultiline']; -}>(({ theme, rowDensity, showStripedRows, hasPadding = true, contentAlign, allowMultiline }) => { +}>(({ theme, rowDensity, showStripedRows, hasPadding = true, textAlign, allowMultiline }) => { const rowBackgroundTransition = `background-color ${makeMotionTime( getIn(theme.motion, tableRow.backgroundColorMotionDuration), )} ${getIn(theme.motion, tableRow.backgroundColorMotionEasing)}`; @@ -180,7 +180,7 @@ export const CellWrapper = styled(BaseBox)<{ minHeight: makeSize(getIn(size, tableRow.minHeight[rowDensity])), height: '100%', width: '100%', - justifyContent: contentAlign, + justifyContent: textAlign, whiteSpace: allowMultiline ? 'normal' : 'nowrap', ...(!showStripedRows && { borderBottomWidth: makeSpace(getIn(theme.border.width, tableRow.borderBottomWidth)), @@ -194,7 +194,7 @@ export const CellWrapper = styled(BaseBox)<{ const _TableCell = ({ children, allowMultiline, - contentAlign, + textAlign, }: TableCellProps): React.ReactElement => { const isChildrenString = typeof children === 'string'; const { selectionType, rowDensity, showStripedRows, backgroundColor } = useTableContext(); @@ -215,7 +215,7 @@ const _TableCell = ({ display="flex" alignItems="center" flex={1} - contentAlign={contentAlign} + textAlign={textAlign} allowMultiline={allowMultiline} // when a direct string child is passed we want to disable pointer events // for custom cells components, consumers can handle pointer events themselves diff --git a/packages/blade/src/components/Table/types.ts b/packages/blade/src/components/Table/types.ts index 7cbc3a261b6..2c661e155c4 100644 --- a/packages/blade/src/components/Table/types.ts +++ b/packages/blade/src/components/Table/types.ts @@ -253,11 +253,11 @@ type TableCellProps = { **/ children: React.ReactNode; /** - * The contentAlign prop determines the content alignment of the table. - * The contentAlign prop can be 'left', 'center', or 'right'. + * The textAlign prop determines the content alignment of the table. + * The textAlign prop can be 'left', 'center', or 'right'. * The default value is `left`. **/ - contentAlign?: 'left' | 'center' | 'right'; + textAlign?: 'left' | 'center' | 'right'; /** * The allowMultiline prop determines whether the table should allow multiline cells or not. * The default value is `false`. From 57a5f46f680f19a74e0a000746e35f78b7f23cb8 Mon Sep 17 00:00:00 2001 From: Sumitmaithani Date: Wed, 28 Aug 2024 13:03:51 +0530 Subject: [PATCH 05/16] feat: snapshot update --- .../__snapshots__/Accordion.web.test.tsx.snap | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/blade/src/components/Accordion/__tests__/__snapshots__/Accordion.web.test.tsx.snap b/packages/blade/src/components/Accordion/__tests__/__snapshots__/Accordion.web.test.tsx.snap index 07b0b9fb10d..5f28ec5c02b 100644 --- a/packages/blade/src/components/Accordion/__tests__/__snapshots__/Accordion.web.test.tsx.snap +++ b/packages/blade/src/components/Accordion/__tests__/__snapshots__/Accordion.web.test.tsx.snap @@ -1150,7 +1150,7 @@ exports[`Deprecated should render 1`] = ` role="heading" >
should render table 1`] = ` min-height: 48px; height: 100%; width: 100%; - white-space: nowrap; border-bottom-width: 1px; border-bottom-color: hsla(211,20%,52%,0.18); border-bottom-style: solid; @@ -1346,6 +1350,11 @@ exports[`
should render table 1`] = ` } .c8.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8 { + display: block; + -webkit-box-pack: initial; + -webkit-justify-content: initial; + -ms-flex-pack: initial; + justify-content: initial; height: 100%; background-color: hsla(0,0%,100%,1); border-bottom-width: 1px; @@ -2826,7 +2835,6 @@ exports[`
should render table with TableEditableCell and Bordered cells min-height: 48px; height: 100%; width: 100%; - white-space: nowrap; border-bottom-width: 1px; border-bottom-color: hsla(211,20%,52%,0.18); border-bottom-style: solid; @@ -2841,7 +2849,6 @@ exports[`
should render table with TableEditableCell and Bordered cells min-height: 48px; height: 100%; width: 100%; - white-space: nowrap; border-bottom-width: 1px; border-bottom-color: hsla(211,20%,52%,0.18); border-bottom-style: solid; @@ -2925,6 +2932,11 @@ exports[`
should render table with TableEditableCell and Bordered cells } .c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7 { + display: block; + -webkit-box-pack: initial; + -webkit-justify-content: initial; + -ms-flex-pack: initial; + justify-content: initial; height: 100%; background-color: hsla(0,0%,100%,1); border-bottom-width: 1px; @@ -4117,7 +4129,6 @@ exports[`
should render table with comfortable rowDensity 1`] = ` min-height: 60px; height: 100%; width: 100%; - white-space: nowrap; border-bottom-width: 1px; border-bottom-color: hsla(211,20%,52%,0.18); border-bottom-style: solid; @@ -4189,6 +4200,11 @@ exports[`
should render table with comfortable rowDensity 1`] = ` } .c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3 { + display: block; + -webkit-box-pack: initial; + -webkit-justify-content: initial; + -ms-flex-pack: initial; + justify-content: initial; height: 100%; background-color: hsla(0,0%,100%,1); border-bottom-width: 1px; @@ -5059,7 +5075,6 @@ exports[`
should render table with compact rowDensity 1`] = ` min-height: 36px; height: 100%; width: 100%; - white-space: nowrap; border-bottom-width: 1px; border-bottom-color: hsla(211,20%,52%,0.18); border-bottom-style: solid; @@ -5131,6 +5146,11 @@ exports[`
should render table with compact rowDensity 1`] = ` } .c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3 { + display: block; + -webkit-box-pack: initial; + -webkit-justify-content: initial; + -ms-flex-pack: initial; + justify-content: initial; height: 100%; background-color: hsla(0,0%,100%,1); border-bottom-width: 1px; @@ -6153,7 +6173,6 @@ exports[`
should render table with isRefreshing 1`] = ` min-height: 48px; height: 100%; width: 100%; - white-space: nowrap; border-bottom-width: 1px; border-bottom-color: hsla(211,20%,52%,0.18); border-bottom-style: solid; @@ -6225,6 +6244,11 @@ exports[`
should render table with isRefreshing 1`] = ` } .c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7 { + display: block; + -webkit-box-pack: initial; + -webkit-justify-content: initial; + -ms-flex-pack: initial; + justify-content: initial; height: 100%; background-color: hsla(0,0%,100%,1); border-bottom-width: 1px; @@ -7151,7 +7175,6 @@ exports[`
should render table with showStripedRows 1`] = ` min-height: 48px; height: 100%; width: 100%; - white-space: nowrap; } .c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6 { @@ -7220,6 +7243,11 @@ exports[`
should render table with showStripedRows 1`] = ` } .c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3 { + display: block; + -webkit-box-pack: initial; + -webkit-justify-content: initial; + -ms-flex-pack: initial; + justify-content: initial; height: 100%; background-color: hsla(0,0%,100%,1); border-bottom-width: 1px; @@ -8094,7 +8122,6 @@ exports[`
should render table with sticky header, footer & first column min-height: 48px; height: 100%; width: 100%; - white-space: nowrap; border-bottom-width: 1px; border-bottom-color: hsla(211,20%,52%,0.18); border-bottom-style: solid; @@ -8166,6 +8193,11 @@ exports[`
should render table with sticky header, footer & first column } .c4.c4.c4.c4.c4.c4.c4.c4.c4.c4.c4.c4.c4.c4.c4 { + display: block; + -webkit-box-pack: initial; + -webkit-justify-content: initial; + -ms-flex-pack: initial; + justify-content: initial; height: 100%; background-color: hsla(0,0%,100%,1); border-bottom-width: 1px; From 642d58977da8c0ef650734c6376cb8a727945ec8 Mon Sep 17 00:00:00 2001 From: tewarig Date: Tue, 7 Jan 2025 00:04:50 +0530 Subject: [PATCH 11/16] chore: update table header icon --- .../src/components/Table/TableHeader.web.tsx | 38 +- .../__snapshots__/Table.web.test.tsx.snap | 808 ++++++++++++------ 2 files changed, 593 insertions(+), 253 deletions(-) diff --git a/packages/blade/src/components/Table/TableHeader.web.tsx b/packages/blade/src/components/Table/TableHeader.web.tsx index 6bf8cf1e26a..895d50a0a60 100644 --- a/packages/blade/src/components/Table/TableHeader.web.tsx +++ b/packages/blade/src/components/Table/TableHeader.web.tsx @@ -124,6 +124,14 @@ const StyledHeaderCell = styled(HeaderCell)<{ ? makeSpace(getIn(theme, tableRow.paddingRight[$rowDensity])) : undefined, minHeight: makeSize(getIn(size, tableRow.minHeight[$rowDensity])), + '> .text': { + flexGrow: 1, + display: 'flex', + justifyContent: $textAlign, + }, + '> .sortIcon': { + flexShrink: 0, + }, }, '&:focus-visible': getFocusRingStyles({ theme, negativeOffset: true }), }, @@ -162,20 +170,24 @@ const _TableHeaderCell = ({ {...metaAttribute({ name: MetaConstants.TableHeaderCell })} {...makeAnalyticsAttribute(rest)} > - {isChildrenString ? ( - - {children} - - ) : ( - children - )} +
+ {isChildrenString ? ( + + {children} + + ) : ( + children + )} +
{isSortable && ( - - - +
+ + + +
)} ); diff --git a/packages/blade/src/components/Table/__tests__/__snapshots__/Table.web.test.tsx.snap b/packages/blade/src/components/Table/__tests__/__snapshots__/Table.web.test.tsx.snap index 1223148564e..a8cbbc2520b 100644 --- a/packages/blade/src/components/Table/__tests__/__snapshots__/Table.web.test.tsx.snap +++ b/packages/blade/src/components/Table/__tests__/__snapshots__/Table.web.test.tsx.snap @@ -269,6 +269,23 @@ exports[`
should accept data-analytics-* props 1`] = ` min-height: 48px; } +.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3 > div > .text { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3 > div > .sortIcon { + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; +} + .c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3:focus-visible { outline: 4px solid hsla(227,100%,59%,0.18); outline-offset: -4px; @@ -350,12 +367,16 @@ exports[`
should accept data-analytics-* props 1`] = ` tabindex="0" >
-

- Payment ID -

+

+ Payment ID +

+
@@ -1389,6 +1430,23 @@ exports[`
should accept data-analytics-* props 1`] = ` tabindex="0" >
-

- Amount -

+

+ Amount +

+
should accept data-analytics-* props 1`] = ` tabindex="0" >
-

- Status -

+

+ Status +

+
should accept data-analytics-* props 1`] = ` tabindex="0" >
-

- Type -

+

+ Type +

+
should accept data-analytics-* props 1`] = ` tabindex="0" >
-

- Method -

+

+ Method +

+
should accept data-analytics-* props 1`] = ` tabindex="0" >
-

- Name -

+

+ Name +

+
should render table 1`] = ` min-height: 48px; } +.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8 > div > .text { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8 > div > .sortIcon { + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; +} + .c8.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8:focus-visible { outline: 4px solid hsla(227,100%,59%,0.18); outline-offset: -4px; @@ -1499,12 +1557,16 @@ exports[`
should render table 1`] = ` tabindex="0" >
-

- Payment ID -

+

+ Payment ID +

+
@@ -2971,6 +3053,23 @@ exports[`
should render table 1`] = ` tabindex="0" >
-

- Amount -

+

+ Amount +

+
should render table 1`] = ` tabindex="0" >
-

- Status -

+

+ Status +

+
should render table 1`] = ` tabindex="0" >
-

- Type -

+

+ Type +

+
should render table 1`] = ` tabindex="0" >
-

- Method -

+

+ Method +

+
should render table 1`] = ` tabindex="0" >
-

- Name -

+

+ Name +

+
should render table with TableEditableCell and Bordered cells min-height: 48px; } +.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7 > div > .text { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7 > div > .sortIcon { + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; +} + .c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7:focus-visible { outline: 4px solid hsla(227,100%,59%,0.18); outline-offset: -4px; @@ -3302,12 +3401,16 @@ exports[`
should render table with TableEditableCell and Bordered cells tabindex="0" >
-

- Payment ID -

+

+ Payment ID +

+
@@ -4239,6 +4362,23 @@ exports[`
should render table with TableEditableCell and Bordered cells tabindex="0" >
-

- Amount -

+

+ Amount +

+
should render table with TableEditableCell and Bordered cells tabindex="0" >
-

- Status -

+

+ Status +

+
should render table with TableEditableCell and Bordered cells tabindex="0" >
-

- Type -

+

+ Type +

+
should render table with TableEditableCell and Bordered cells tabindex="0" >
-

- Method -

+

+ Method +

+
should render table with TableEditableCell and Bordered cells tabindex="0" >
-

- Name -

+

+ Name +

+
should render table with comfortable rowDensity 1`] = ` min-height: 60px; } +.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3 > div > .text { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3 > div > .sortIcon { + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; +} + .c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3:focus-visible { outline: 4px solid hsla(227,100%,59%,0.18); outline-offset: -4px; @@ -4318,12 +4458,16 @@ exports[`
should render table with comfortable rowDensity 1`] = ` tabindex="0" >
-

- Payment ID -

+

+ Payment ID +

+
@@ -5185,6 +5349,23 @@ exports[`
should render table with comfortable rowDensity 1`] = ` tabindex="0" >
-

- Amount -

+

+ Amount +

+
should render table with comfortable rowDensity 1`] = ` tabindex="0" >
-

- Status -

+

+ Status +

+
should render table with comfortable rowDensity 1`] = ` tabindex="0" >
-

- Type -

+

+ Type +

+
should render table with comfortable rowDensity 1`] = ` tabindex="0" >
-

- Method -

+

+ Method +

+
should render table with comfortable rowDensity 1`] = ` tabindex="0" >
-

- Name -

+

+ Name +

+
should render table with compact rowDensity 1`] = ` min-height: 36px; } +.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3 > div > .text { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3 > div > .sortIcon { + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; +} + .c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3:focus-visible { outline: 4px solid hsla(227,100%,59%,0.18); outline-offset: -4px; @@ -5264,12 +5445,16 @@ exports[`
should render table with compact rowDensity 1`] = ` tabindex="0" >
-

- Payment ID -

+

+ Payment ID +

+
@@ -6283,6 +6488,23 @@ exports[`
should render table with compact rowDensity 1`] = ` tabindex="0" >
-

- Amount -

+

+ Amount +

+
should render table with compact rowDensity 1`] = ` tabindex="0" >
-

- Status -

+

+ Status +

+
should render table with compact rowDensity 1`] = ` tabindex="0" >
-

- Type -

+

+ Type +

+
should render table with compact rowDensity 1`] = ` tabindex="0" >
-

- Method -

+

+ Method +

+
should render table with compact rowDensity 1`] = ` tabindex="0" >
-

- Name -

+

+ Name +

+
should render table with isRefreshing 1`] = ` min-height: 48px; } +.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7 > div > .text { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7 > div > .sortIcon { + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; +} + .c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7:focus-visible { outline: 4px solid hsla(227,100%,59%,0.18); outline-offset: -4px; @@ -6410,12 +6632,16 @@ exports[`
should render table with isRefreshing 1`] = ` tabindex="0" >
-

- Payment ID -

+

+ Payment ID +

+
@@ -7282,6 +7528,23 @@ exports[`
should render table with isRefreshing 1`] = ` tabindex="0" >
-

- Amount -

+

+ Amount +

+
should render table with isRefreshing 1`] = ` tabindex="0" >
-

- Status -

+

+ Status +

+
should render table with isRefreshing 1`] = ` tabindex="0" >
-

- Type -

+

+ Type +

+
should render table with isRefreshing 1`] = ` tabindex="0" >
-

- Method -

+

+ Method +

+
should render table with isRefreshing 1`] = ` tabindex="0" >
-

- Name -

+

+ Name +

+
should render table with showStripedRows 1`] = ` min-height: 48px; } +.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3 > div > .text { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3 > div > .sortIcon { + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; +} + .c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3:focus-visible { outline: 4px solid hsla(227,100%,59%,0.18); outline-offset: -4px; @@ -7361,12 +7624,16 @@ exports[`
should render table with showStripedRows 1`] = ` tabindex="0" >
-

- Payment ID -

+

+ Payment ID +

+
@@ -8232,6 +8519,23 @@ exports[`
should render table with showStripedRows 1`] = ` tabindex="0" >
-

- Amount -

+

+ Amount +

+
should render table with showStripedRows 1`] = ` tabindex="0" >
-

- Status -

+

+ Status +

+
should render table with showStripedRows 1`] = ` tabindex="0" >
-

- Type -

+

+ Type +

+
should render table with showStripedRows 1`] = ` tabindex="0" >
-

- Method -

+

+ Method +

+
should render table with showStripedRows 1`] = ` tabindex="0" >
-

- Name -

+

+ Name +

+
should render table with sticky header, footer & first column min-height: 48px; } +.c4.c4.c4.c4.c4.c4.c4.c4.c4.c4.c4.c4.c4.c4.c4 > div > .text { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.c4.c4.c4.c4.c4.c4.c4.c4.c4.c4.c4.c4.c4.c4.c4 > div > .sortIcon { + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; +} + .c4.c4.c4.c4.c4.c4.c4.c4.c4.c4.c4.c4.c4.c4.c4:focus-visible { outline: 4px solid hsla(227,100%,59%,0.18); outline-offset: -4px; @@ -8311,12 +8615,16 @@ exports[`
should render table with sticky header, footer & first column tabindex="0" >
-

- Payment ID -

+

+ Payment ID +

+
From 02694c9bd6308bc250b3aaf0b154ff7a538da0bf Mon Sep 17 00:00:00 2001 From: tewarig Date: Tue, 7 Jan 2025 17:50:33 +0530 Subject: [PATCH 12/16] feat: add changeset --- .changeset/sweet-apes-roll.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/sweet-apes-roll.md diff --git a/.changeset/sweet-apes-roll.md b/.changeset/sweet-apes-roll.md new file mode 100644 index 00000000000..c2fc3e2c755 --- /dev/null +++ b/.changeset/sweet-apes-roll.md @@ -0,0 +1,5 @@ +--- +'@razorpay/blade': patch +--- + +feat: add header alignment From ec77cfb05dfc497a787a0df9847f26397984ea7c Mon Sep 17 00:00:00 2001 From: tewarig Date: Tue, 7 Jan 2025 17:51:18 +0530 Subject: [PATCH 13/16] chore: update changeset --- .changeset/sweet-apes-roll.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.changeset/sweet-apes-roll.md b/.changeset/sweet-apes-roll.md index c2fc3e2c755..c266f953797 100644 --- a/.changeset/sweet-apes-roll.md +++ b/.changeset/sweet-apes-roll.md @@ -2,4 +2,4 @@ '@razorpay/blade': patch --- -feat: add header alignment +feat: ability to align individual table column items From e9279ce3e9b28236d365950bb570d8bae405e382 Mon Sep 17 00:00:00 2001 From: tewarig Date: Thu, 16 Jan 2025 14:30:15 +0530 Subject: [PATCH 14/16] chore: review changes & add align in table footer --- .../src/components/Table/TableFooter.web.tsx | 11 ++++++-- .../src/components/Table/TableHeader.web.tsx | 26 ++++++------------- packages/blade/src/components/Table/types.ts | 6 +++++ 3 files changed, 23 insertions(+), 20 deletions(-) diff --git a/packages/blade/src/components/Table/TableFooter.web.tsx b/packages/blade/src/components/Table/TableFooter.web.tsx index 6c502f640bc..0b66d3cd9f2 100644 --- a/packages/blade/src/components/Table/TableFooter.web.tsx +++ b/packages/blade/src/components/Table/TableFooter.web.tsx @@ -79,7 +79,8 @@ const TableFooterRow = assignWithoutSideEffects(_TableFooterRow, { const StyledFooterCell = styled(FooterCell)<{ $backgroundColor: TableBackgroundColors; $rowDensity: NonNullable['rowDensity']>; -}>(({ theme, $backgroundColor, $rowDensity }) => ({ + $textAlign?: string; +}>(({ theme, $backgroundColor, $rowDensity, $textAlign }) => ({ '&&&': { height: '100%', backgroundColor: getIn(theme.colors, $backgroundColor), @@ -98,11 +99,16 @@ const StyledFooterCell = styled(FooterCell)<{ paddingRight: makeSpace(getIn(theme, tableRow.paddingRight[$rowDensity])), minHeight: makeSize(getIn(size, tableRow.minHeight[$rowDensity])), alignItems: 'center', + justifyContent: $textAlign ? $textAlign : 'left', }, }, })); -const _TableFooterCell = ({ children, ...rest }: TableFooterCellProps): React.ReactElement => { +const _TableFooterCell = ({ + children, + textAlign, + ...rest +}: TableFooterCellProps): React.ReactElement => { const isChildrenString = typeof children === 'string'; const { backgroundColor, rowDensity } = useTableContext(); @@ -110,6 +116,7 @@ const _TableFooterCell = ({ children, ...rest }: TableFooterCellProps): React.Re diff --git a/packages/blade/src/components/Table/TableHeader.web.tsx b/packages/blade/src/components/Table/TableHeader.web.tsx index 895d50a0a60..298ae1a8330 100644 --- a/packages/blade/src/components/Table/TableHeader.web.tsx +++ b/packages/blade/src/components/Table/TableHeader.web.tsx @@ -124,14 +124,6 @@ const StyledHeaderCell = styled(HeaderCell)<{ ? makeSpace(getIn(theme, tableRow.paddingRight[$rowDensity])) : undefined, minHeight: makeSize(getIn(size, tableRow.minHeight[$rowDensity])), - '> .text': { - flexGrow: 1, - display: 'flex', - justifyContent: $textAlign, - }, - '> .sortIcon': { - flexShrink: 0, - }, }, '&:focus-visible': getFocusRingStyles({ theme, negativeOffset: true }), }, @@ -170,7 +162,7 @@ const _TableHeaderCell = ({ {...metaAttribute({ name: MetaConstants.TableHeaderCell })} {...makeAnalyticsAttribute(rest)} > -
+ {isChildrenString ? ( {children} @@ -178,16 +170,14 @@ const _TableHeaderCell = ({ ) : ( children )} -
+ {isSortable && ( -
- - - -
+ + + )} ); diff --git a/packages/blade/src/components/Table/types.ts b/packages/blade/src/components/Table/types.ts index 08887d958c5..94c442d16f4 100644 --- a/packages/blade/src/components/Table/types.ts +++ b/packages/blade/src/components/Table/types.ts @@ -350,6 +350,12 @@ type TableFooterCellProps = { * The children of TableHeaderCell can be a string or a ReactNode. **/ children: string | React.ReactNode; + /** + * The textAlign prop determines the content alignment of the table. + * The textAlign prop can be 'left', 'center', or 'right'. + * The default value is `left`. + **/ + textAlign?: 'left' | 'center' | 'right'; } & DataAnalyticsAttribute; type TablePaginationCommonProps = { From 9eeb2ae710948a26a100212af7a2a9063f671eac Mon Sep 17 00:00:00 2001 From: tewarig Date: Thu, 16 Jan 2025 14:36:42 +0530 Subject: [PATCH 15/16] chore: update snap --- .../__snapshots__/Table.web.test.tsx.snap | 2900 +++++++++-------- 1 file changed, 1464 insertions(+), 1436 deletions(-) diff --git a/packages/blade/src/components/Table/__tests__/__snapshots__/Table.web.test.tsx.snap b/packages/blade/src/components/Table/__tests__/__snapshots__/Table.web.test.tsx.snap index a8cbbc2520b..3300179c719 100644 --- a/packages/blade/src/components/Table/__tests__/__snapshots__/Table.web.test.tsx.snap +++ b/packages/blade/src/components/Table/__tests__/__snapshots__/Table.web.test.tsx.snap @@ -8,7 +8,18 @@ exports[`
should render table with sticky header, footer & first column tabindex="0" >
-

- Amount -

+

+ Amount +

+
should render table with sticky header, footer & first column tabindex="0" >
-

- Status -

+

+ Status +

+
should render table with sticky header, footer & first column tabindex="0" >
-

- Type -

+

+ Type +

+
should render table with sticky header, footer & first column tabindex="0" >
-

- Method -

+

+ Method +

+
should render table with sticky header, footer & first column tabindex="0" >
-

- Name -

+

+ Name +

+
should accept data-analytics-* props 1`] = ` position: relative; } -.c8.c8.c8.c8.c8 { +.c4.c4.c4.c4.c4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; +} + +.c9.c9.c9.c9.c9 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -20,7 +31,7 @@ exports[`
should accept data-analytics-* props 1`] = ` height: 100%; } -.c9.c9.c9.c9.c9 { +.c10.c10.c10.c10.c10 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -37,7 +48,7 @@ exports[`
should accept data-analytics-* props 1`] = ` pointer-events: auto; } -.c4.c4.c4.c4.c4 { +.c5.c5.c5.c5.c5 { color: hsla(212,39%,16%,1); font-family: "Inter","Inter Fallback Arial",Arial; font-size: 0.875rem; @@ -54,7 +65,7 @@ exports[`
should accept data-analytics-* props 1`] = ` padding: 0; } -.c11.c11.c11.c11.c11 { +.c12.c12.c12.c12.c12 { color: hsla(212,39%,16%,1); font-family: "Inter","Inter Fallback Arial",Arial; font-size: 0.875rem; @@ -77,111 +88,111 @@ exports[`
should accept data-analytics-* props 1`] = ` overflow-wrap: break-word; } -.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5 { +.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6 { border: none; -webkit-transition: background-color 160ms cubic-bezier(0.3,0,0.2,1); transition: background-color 160ms cubic-bezier(0.3,0,0.2,1); } -.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5 tr:last-child .cell-wrapper { +.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6 tr:last-child .cell-wrapper { border-bottom: none; } -.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5 .row-select-single-selected .cell-wrapper-base, -.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5 .row-select-selected .cell-wrapper-base { +.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6 .row-select-single-selected .cell-wrapper-base, +.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6 .row-select-selected .cell-wrapper-base { background-color: hsla(227,100%,59%,0.09); } -.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5 .row-select-single-selected:hover:not(.disabled-row) .cell-wrapper-base, -.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5 .row-select-selected:hover:not(.disabled-row) .cell-wrapper-base { +.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6 .row-select-single-selected:hover:not(.disabled-row) .cell-wrapper-base, +.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6 .row-select-selected:hover:not(.disabled-row) .cell-wrapper-base { background-color: hsla(227,100%,59%,0.18); } -.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5 .row-select-single-selected:hover:not(.disabled-row) .cell-wrapper-base .hover-actions, -.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5 .row-select-selected:hover:not(.disabled-row) .cell-wrapper-base .hover-actions { +.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6 .row-select-single-selected:hover:not(.disabled-row) .cell-wrapper-base .hover-actions, +.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6 .row-select-selected:hover:not(.disabled-row) .cell-wrapper-base .hover-actions { background-color: hsla(0,0%,100%,1); -webkit-transition: background-color 160ms cubic-bezier(0.3,0,0.2,1); transition: background-color 160ms cubic-bezier(0.3,0,0.2,1); } -.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5 .row-select-single-selected:hover:not(.disabled-row) .cell-wrapper-base .hover-actions-layer-2, -.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5 .row-select-selected:hover:not(.disabled-row) .cell-wrapper-base .hover-actions-layer-2 { +.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6 .row-select-single-selected:hover:not(.disabled-row) .cell-wrapper-base .hover-actions-layer-2, +.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6 .row-select-selected:hover:not(.disabled-row) .cell-wrapper-base .hover-actions-layer-2 { background-color: hsla(0,0%,100%,0); -webkit-transition: background-color 160ms cubic-bezier(0.3,0,0.2,1); transition: background-color 160ms cubic-bezier(0.3,0,0.2,1); } -.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5 .row-select-single-selected:hover:not(.disabled-row) .cell-wrapper-base .hover-actions-layer-3, -.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5 .row-select-selected:hover:not(.disabled-row) .cell-wrapper-base .hover-actions-layer-3 { +.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6 .row-select-single-selected:hover:not(.disabled-row) .cell-wrapper-base .hover-actions-layer-3, +.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6 .row-select-selected:hover:not(.disabled-row) .cell-wrapper-base .hover-actions-layer-3 { background-color: hsla(227,100%,59%,0.18); -webkit-transition: background-color 160ms cubic-bezier(0.3,0,0.2,1); transition: background-color 160ms cubic-bezier(0.3,0,0.2,1); } -.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5 .row-select-single-selected:focus:not(.disabled-row) .cell-wrapper-base, -.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5 .row-select-selected:focus:not(.disabled-row) .cell-wrapper-base { +.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6 .row-select-single-selected:focus:not(.disabled-row) .cell-wrapper-base, +.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6 .row-select-selected:focus:not(.disabled-row) .cell-wrapper-base { background-color: hsla(227,100%,59%,0.09); } -.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5 .row-select-single-selected:focus:not(.disabled-row) .cell-wrapper-base .hover-actions, -.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5 .row-select-selected:focus:not(.disabled-row) .cell-wrapper-base .hover-actions { +.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6 .row-select-single-selected:focus:not(.disabled-row) .cell-wrapper-base .hover-actions, +.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6 .row-select-selected:focus:not(.disabled-row) .cell-wrapper-base .hover-actions { background-color: hsla(0,0%,100%,1); -webkit-transition: background-color 160ms cubic-bezier(0.3,0,0.2,1); transition: background-color 160ms cubic-bezier(0.3,0,0.2,1); } -.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5 .row-select-single-selected:focus:not(.disabled-row) .cell-wrapper-base .hover-actions-layer-2, -.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5 .row-select-selected:focus:not(.disabled-row) .cell-wrapper-base .hover-actions-layer-2 { +.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6 .row-select-single-selected:focus:not(.disabled-row) .cell-wrapper-base .hover-actions-layer-2, +.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6 .row-select-selected:focus:not(.disabled-row) .cell-wrapper-base .hover-actions-layer-2 { background-color: hsla(0,0%,100%,0); -webkit-transition: background-color 160ms cubic-bezier(0.3,0,0.2,1); transition: background-color 160ms cubic-bezier(0.3,0,0.2,1); } -.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5 .row-select-single-selected:focus:not(.disabled-row) .cell-wrapper-base .hover-actions-layer-3, -.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5 .row-select-selected:focus:not(.disabled-row) .cell-wrapper-base .hover-actions-layer-3 { +.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6 .row-select-single-selected:focus:not(.disabled-row) .cell-wrapper-base .hover-actions-layer-3, +.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6 .row-select-selected:focus:not(.disabled-row) .cell-wrapper-base .hover-actions-layer-3 { background-color: hsla(227,100%,59%,0.09); -webkit-transition: background-color 160ms cubic-bezier(0.3,0,0.2,1); transition: background-color 160ms cubic-bezier(0.3,0,0.2,1); } -.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5 .row-select-single-selected:active:not(.disabled-row) .cell-wrapper-base, -.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5 .row-select-selected:active:not(.disabled-row) .cell-wrapper-base { +.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6 .row-select-single-selected:active:not(.disabled-row) .cell-wrapper-base, +.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6 .row-select-selected:active:not(.disabled-row) .cell-wrapper-base { background-color: hsla(227,100%,59%,0.18); } -.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5 .row-select-single-selected:active:not(.disabled-row) .cell-wrapper-base .hover-actions, -.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5 .row-select-selected:active:not(.disabled-row) .cell-wrapper-base .hover-actions { +.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6 .row-select-single-selected:active:not(.disabled-row) .cell-wrapper-base .hover-actions, +.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6 .row-select-selected:active:not(.disabled-row) .cell-wrapper-base .hover-actions { background-color: hsla(0,0%,100%,1); -webkit-transition: background-color 160ms cubic-bezier(0.3,0,0.2,1); transition: background-color 160ms cubic-bezier(0.3,0,0.2,1); } -.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5 .row-select-single-selected:active:not(.disabled-row) .cell-wrapper-base .hover-actions-layer-2, -.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5 .row-select-selected:active:not(.disabled-row) .cell-wrapper-base .hover-actions-layer-2 { +.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6 .row-select-single-selected:active:not(.disabled-row) .cell-wrapper-base .hover-actions-layer-2, +.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6 .row-select-selected:active:not(.disabled-row) .cell-wrapper-base .hover-actions-layer-2 { background-color: hsla(211,20%,52%,0.12); -webkit-transition: background-color 160ms cubic-bezier(0.3,0,0.2,1); transition: background-color 160ms cubic-bezier(0.3,0,0.2,1); } -.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5 .row-select-single-selected:active:not(.disabled-row) .cell-wrapper-base .hover-actions-layer-3, -.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5.c5 .row-select-selected:active:not(.disabled-row) .cell-wrapper-base .hover-actions-layer-3 { +.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6 .row-select-single-selected:active:not(.disabled-row) .cell-wrapper-base .hover-actions-layer-3, +.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6 .row-select-selected:active:not(.disabled-row) .cell-wrapper-base .hover-actions-layer-3 { background-color: hsla(227,100%,59%,0.18); -webkit-transition: background-color 160ms cubic-bezier(0.3,0,0.2,1); transition: background-color 160ms cubic-bezier(0.3,0,0.2,1); } -.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7 { +.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8 { height: 100%; background-color: hsla(0,0%,100%,1); } -.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7 > div:first-child { +.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8 > div:first-child { -webkit-align-self: stretch; -ms-flex-item-align: stretch; align-self: stretch; } -.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7:focus-visible { +.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8:focus-visible { outline: 4px solid hsla(227,100%,59%,0.18); outline-offset: -4px; -webkit-transition-property: outline-width; @@ -192,7 +203,7 @@ exports[`
should accept data-analytics-* props 1`] = ` transition-timing-function: cubic-bezier(0.3,0,0.2,1); } -.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10 { +.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11 { -webkit-transition: background-color 160ms cubic-bezier(0.3,0,0.2,1); transition: background-color 160ms cubic-bezier(0.3,0,0.2,1); background-color: transparent; @@ -206,15 +217,15 @@ exports[`
should accept data-analytics-* props 1`] = ` border-bottom-style: solid; } -.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6 { +.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7 { background-color: transparent; } -.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6 td:last-child .cell-wrapper { +.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7 td:last-child .cell-wrapper { border-right: none; } -.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6:focus { +.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7.c7:focus { outline: 4px solid hsla(227,100%,59%,0.18); outline-offset: -4px; -webkit-transition-property: outline-width; @@ -269,23 +280,6 @@ exports[`
should accept data-analytics-* props 1`] = ` min-height: 48px; } -.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3 > div > .text { - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; -} - -.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3 > div > .sortIcon { - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; -} - .c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3.c3:focus-visible { outline: 4px solid hsla(227,100%,59%,0.18); outline-offset: -4px; @@ -302,31 +296,31 @@ exports[`
should accept data-analytics-* props 1`] = ` } @media screen and (min-width:320px) { - .c9.c9.c9.c9.c9 { + .c10.c10.c10.c10.c10 { pointer-events: auto; } } @media screen and (min-width:480px) { - .c9.c9.c9.c9.c9 { + .c10.c10.c10.c10.c10 { pointer-events: auto; } } @media screen and (min-width:768px) { - .c9.c9.c9.c9.c9 { + .c10.c10.c10.c10.c10 { pointer-events: auto; } } @media screen and (min-width:1024px) { - .c9.c9.c9.c9.c9 { + .c10.c10.c10.c10.c10 { pointer-events: auto; } } @media screen and (min-width:1200px) { - .c9.c9.c9.c9.c9 { + .c10.c10.c10.c10.c10 { pointer-events: auto; } } @@ -368,10 +362,11 @@ exports[`
should accept data-analytics-* props 1`] = ` >

Payment ID @@ -390,10 +385,11 @@ exports[`

should accept data-analytics-* props 1`] = ` >

Amount @@ -412,10 +408,11 @@ exports[`

should accept data-analytics-* props 1`] = ` >

Status @@ -434,10 +431,11 @@ exports[`

should accept data-analytics-* props 1`] = ` >

Type @@ -456,10 +454,11 @@ exports[`

should accept data-analytics-* props 1`] = ` >

Method @@ -478,10 +477,11 @@ exports[`

should accept data-analytics-* props 1`] = ` >

Name @@ -492,21 +492,21 @@ exports[`

should accept data-analytics-* props 1`] = `
should accept data-analytics-* props 1`] = ` >

rzp01 @@ -534,7 +534,7 @@ exports[` should accept data-analytics-* props 1`] = `
should accept data-analytics-* props 1`] = ` >
@@ -556,7 +556,7 @@ exports[` should accept data-analytics-* props 1`] = `
should accept data-analytics-* props 1`] = ` >

pending @@ -583,7 +583,7 @@ exports[` should accept data-analytics-* props 1`] = `
should accept data-analytics-* props 1`] = ` >

credit @@ -612,14 +612,14 @@ exports[` should accept data-analytics-* props 1`] = `
should accept data-analytics-* props 1`] = ` >

rzp02 @@ -647,7 +647,7 @@ exports[` should accept data-analytics-* props 1`] = `
should accept data-analytics-* props 1`] = ` >
@@ -669,7 +669,7 @@ exports[` should accept data-analytics-* props 1`] = `
should accept data-analytics-* props 1`] = ` >

pending @@ -696,7 +696,7 @@ exports[` should accept data-analytics-* props 1`] = `
should accept data-analytics-* props 1`] = ` >

credit @@ -725,14 +725,14 @@ exports[` should accept data-analytics-* props 1`] = `
should accept data-analytics-* props 1`] = ` >

rzp03 @@ -760,7 +760,7 @@ exports[` should accept data-analytics-* props 1`] = `
should accept data-analytics-* props 1`] = ` >
@@ -782,7 +782,7 @@ exports[` should accept data-analytics-* props 1`] = `
should accept data-analytics-* props 1`] = ` >

failed @@ -809,7 +809,7 @@ exports[` should accept data-analytics-* props 1`] = `
should accept data-analytics-* props 1`] = ` >

debit @@ -838,14 +838,14 @@ exports[` should accept data-analytics-* props 1`] = `
should accept data-analytics-* props 1`] = ` >

rzp04 @@ -873,7 +873,7 @@ exports[` should accept data-analytics-* props 1`] = `
should accept data-analytics-* props 1`] = ` >
@@ -895,7 +895,7 @@ exports[` should accept data-analytics-* props 1`] = `
should accept data-analytics-* props 1`] = ` >

completed @@ -922,7 +922,7 @@ exports[` should accept data-analytics-* props 1`] = `
should accept data-analytics-* props 1`] = ` >

credit @@ -951,14 +951,14 @@ exports[` should accept data-analytics-* props 1`] = `
should accept data-analytics-* props 1`] = ` >

rzp05 @@ -986,7 +986,7 @@ exports[` should accept data-analytics-* props 1`] = `
should accept data-analytics-* props 1`] = ` >
@@ -1008,7 +1008,7 @@ exports[` should accept data-analytics-* props 1`] = `
should accept data-analytics-* props 1`] = ` >

completed @@ -1035,7 +1035,7 @@ exports[` should accept data-analytics-* props 1`] = `
should accept data-analytics-* props 1`] = ` >

credit @@ -1110,7 +1110,18 @@ exports[` should render table 1`] = ` align-items: center; } -.c13.c13.c13.c13.c13 { +.c9.c9.c9.c9.c9 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; +} + +.c14.c14.c14.c14.c14 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -1122,7 +1133,7 @@ exports[`
should render table 1`] = ` height: 100%; } -.c14.c14.c14.c14.c14 { +.c15.c15.c15.c15.c15 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -1156,7 +1167,7 @@ exports[`
should render table 1`] = ` padding: 0; } -.c9.c9.c9.c9.c9 { +.c10.c10.c10.c10.c10 { color: hsla(212,39%,16%,1); font-family: "Inter","Inter Fallback Arial",Arial; font-size: 0.875rem; @@ -1173,7 +1184,7 @@ exports[`
should render table 1`] = ` padding: 0; } -.c16.c16.c16.c16.c16 { +.c17.c17.c17.c17.c17 { color: hsla(212,39%,16%,1); font-family: "Inter","Inter Fallback Arial",Arial; font-size: 0.875rem; @@ -1196,111 +1207,111 @@ exports[`
should render table 1`] = ` overflow-wrap: break-word; } -.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10 { +.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11 { border: none; -webkit-transition: background-color 160ms cubic-bezier(0.3,0,0.2,1); transition: background-color 160ms cubic-bezier(0.3,0,0.2,1); } -.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10 tr:last-child .cell-wrapper { +.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11 tr:last-child .cell-wrapper { border-bottom: none; } -.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10 .row-select-single-selected .cell-wrapper-base, -.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10 .row-select-selected .cell-wrapper-base { +.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11 .row-select-single-selected .cell-wrapper-base, +.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11 .row-select-selected .cell-wrapper-base { background-color: hsla(227,100%,59%,0.09); } -.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10 .row-select-single-selected:hover:not(.disabled-row) .cell-wrapper-base, -.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10 .row-select-selected:hover:not(.disabled-row) .cell-wrapper-base { +.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11 .row-select-single-selected:hover:not(.disabled-row) .cell-wrapper-base, +.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11 .row-select-selected:hover:not(.disabled-row) .cell-wrapper-base { background-color: hsla(227,100%,59%,0.18); } -.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10 .row-select-single-selected:hover:not(.disabled-row) .cell-wrapper-base .hover-actions, -.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10 .row-select-selected:hover:not(.disabled-row) .cell-wrapper-base .hover-actions { +.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11 .row-select-single-selected:hover:not(.disabled-row) .cell-wrapper-base .hover-actions, +.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11 .row-select-selected:hover:not(.disabled-row) .cell-wrapper-base .hover-actions { background-color: hsla(0,0%,100%,1); -webkit-transition: background-color 160ms cubic-bezier(0.3,0,0.2,1); transition: background-color 160ms cubic-bezier(0.3,0,0.2,1); } -.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10 .row-select-single-selected:hover:not(.disabled-row) .cell-wrapper-base .hover-actions-layer-2, -.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10 .row-select-selected:hover:not(.disabled-row) .cell-wrapper-base .hover-actions-layer-2 { +.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11 .row-select-single-selected:hover:not(.disabled-row) .cell-wrapper-base .hover-actions-layer-2, +.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11 .row-select-selected:hover:not(.disabled-row) .cell-wrapper-base .hover-actions-layer-2 { background-color: hsla(0,0%,100%,0); -webkit-transition: background-color 160ms cubic-bezier(0.3,0,0.2,1); transition: background-color 160ms cubic-bezier(0.3,0,0.2,1); } -.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10 .row-select-single-selected:hover:not(.disabled-row) .cell-wrapper-base .hover-actions-layer-3, -.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10 .row-select-selected:hover:not(.disabled-row) .cell-wrapper-base .hover-actions-layer-3 { +.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11 .row-select-single-selected:hover:not(.disabled-row) .cell-wrapper-base .hover-actions-layer-3, +.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11 .row-select-selected:hover:not(.disabled-row) .cell-wrapper-base .hover-actions-layer-3 { background-color: hsla(227,100%,59%,0.18); -webkit-transition: background-color 160ms cubic-bezier(0.3,0,0.2,1); transition: background-color 160ms cubic-bezier(0.3,0,0.2,1); } -.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10 .row-select-single-selected:focus:not(.disabled-row) .cell-wrapper-base, -.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10 .row-select-selected:focus:not(.disabled-row) .cell-wrapper-base { +.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11 .row-select-single-selected:focus:not(.disabled-row) .cell-wrapper-base, +.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11 .row-select-selected:focus:not(.disabled-row) .cell-wrapper-base { background-color: hsla(227,100%,59%,0.09); } -.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10 .row-select-single-selected:focus:not(.disabled-row) .cell-wrapper-base .hover-actions, -.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10 .row-select-selected:focus:not(.disabled-row) .cell-wrapper-base .hover-actions { +.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11 .row-select-single-selected:focus:not(.disabled-row) .cell-wrapper-base .hover-actions, +.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11 .row-select-selected:focus:not(.disabled-row) .cell-wrapper-base .hover-actions { background-color: hsla(0,0%,100%,1); -webkit-transition: background-color 160ms cubic-bezier(0.3,0,0.2,1); transition: background-color 160ms cubic-bezier(0.3,0,0.2,1); } -.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10 .row-select-single-selected:focus:not(.disabled-row) .cell-wrapper-base .hover-actions-layer-2, -.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10 .row-select-selected:focus:not(.disabled-row) .cell-wrapper-base .hover-actions-layer-2 { +.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11 .row-select-single-selected:focus:not(.disabled-row) .cell-wrapper-base .hover-actions-layer-2, +.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11 .row-select-selected:focus:not(.disabled-row) .cell-wrapper-base .hover-actions-layer-2 { background-color: hsla(0,0%,100%,0); -webkit-transition: background-color 160ms cubic-bezier(0.3,0,0.2,1); transition: background-color 160ms cubic-bezier(0.3,0,0.2,1); } -.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10 .row-select-single-selected:focus:not(.disabled-row) .cell-wrapper-base .hover-actions-layer-3, -.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10 .row-select-selected:focus:not(.disabled-row) .cell-wrapper-base .hover-actions-layer-3 { +.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11 .row-select-single-selected:focus:not(.disabled-row) .cell-wrapper-base .hover-actions-layer-3, +.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11 .row-select-selected:focus:not(.disabled-row) .cell-wrapper-base .hover-actions-layer-3 { background-color: hsla(227,100%,59%,0.09); -webkit-transition: background-color 160ms cubic-bezier(0.3,0,0.2,1); transition: background-color 160ms cubic-bezier(0.3,0,0.2,1); } -.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10 .row-select-single-selected:active:not(.disabled-row) .cell-wrapper-base, -.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10 .row-select-selected:active:not(.disabled-row) .cell-wrapper-base { +.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11 .row-select-single-selected:active:not(.disabled-row) .cell-wrapper-base, +.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11 .row-select-selected:active:not(.disabled-row) .cell-wrapper-base { background-color: hsla(227,100%,59%,0.18); } -.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10 .row-select-single-selected:active:not(.disabled-row) .cell-wrapper-base .hover-actions, -.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10 .row-select-selected:active:not(.disabled-row) .cell-wrapper-base .hover-actions { +.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11 .row-select-single-selected:active:not(.disabled-row) .cell-wrapper-base .hover-actions, +.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11 .row-select-selected:active:not(.disabled-row) .cell-wrapper-base .hover-actions { background-color: hsla(0,0%,100%,1); -webkit-transition: background-color 160ms cubic-bezier(0.3,0,0.2,1); transition: background-color 160ms cubic-bezier(0.3,0,0.2,1); } -.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10 .row-select-single-selected:active:not(.disabled-row) .cell-wrapper-base .hover-actions-layer-2, -.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10 .row-select-selected:active:not(.disabled-row) .cell-wrapper-base .hover-actions-layer-2 { +.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11 .row-select-single-selected:active:not(.disabled-row) .cell-wrapper-base .hover-actions-layer-2, +.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11 .row-select-selected:active:not(.disabled-row) .cell-wrapper-base .hover-actions-layer-2 { background-color: hsla(211,20%,52%,0.12); -webkit-transition: background-color 160ms cubic-bezier(0.3,0,0.2,1); transition: background-color 160ms cubic-bezier(0.3,0,0.2,1); } -.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10 .row-select-single-selected:active:not(.disabled-row) .cell-wrapper-base .hover-actions-layer-3, -.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10.c10 .row-select-selected:active:not(.disabled-row) .cell-wrapper-base .hover-actions-layer-3 { +.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11 .row-select-single-selected:active:not(.disabled-row) .cell-wrapper-base .hover-actions-layer-3, +.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11 .row-select-selected:active:not(.disabled-row) .cell-wrapper-base .hover-actions-layer-3 { background-color: hsla(227,100%,59%,0.18); -webkit-transition: background-color 160ms cubic-bezier(0.3,0,0.2,1); transition: background-color 160ms cubic-bezier(0.3,0,0.2,1); } -.c12.c12.c12.c12.c12.c12.c12.c12.c12.c12.c12.c12.c12.c12.c12 { +.c13.c13.c13.c13.c13.c13.c13.c13.c13.c13.c13.c13.c13.c13.c13 { height: 100%; background-color: hsla(0,0%,100%,1); } -.c12.c12.c12.c12.c12.c12.c12.c12.c12.c12.c12.c12.c12.c12.c12 > div:first-child { +.c13.c13.c13.c13.c13.c13.c13.c13.c13.c13.c13.c13.c13.c13.c13 > div:first-child { -webkit-align-self: stretch; -ms-flex-item-align: stretch; align-self: stretch; } -.c12.c12.c12.c12.c12.c12.c12.c12.c12.c12.c12.c12.c12.c12.c12:focus-visible { +.c13.c13.c13.c13.c13.c13.c13.c13.c13.c13.c13.c13.c13.c13.c13:focus-visible { outline: 4px solid hsla(227,100%,59%,0.18); outline-offset: -4px; -webkit-transition-property: outline-width; @@ -1311,7 +1322,7 @@ exports[`
should render table 1`] = ` transition-timing-function: cubic-bezier(0.3,0,0.2,1); } -.c15.c15.c15.c15.c15.c15.c15.c15.c15.c15.c15.c15.c15.c15.c15 { +.c16.c16.c16.c16.c16.c16.c16.c16.c16.c16.c16.c16.c16.c16.c16 { -webkit-transition: background-color 160ms cubic-bezier(0.3,0,0.2,1); transition: background-color 160ms cubic-bezier(0.3,0,0.2,1); background-color: transparent; @@ -1325,15 +1336,15 @@ exports[`
should render table 1`] = ` border-bottom-style: solid; } -.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11 { +.c12.c12.c12.c12.c12.c12.c12.c12.c12.c12.c12.c12.c12.c12.c12 { background-color: transparent; } -.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11 td:last-child .cell-wrapper { +.c12.c12.c12.c12.c12.c12.c12.c12.c12.c12.c12.c12.c12.c12.c12 td:last-child .cell-wrapper { border-right: none; } -.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11.c11:focus { +.c12.c12.c12.c12.c12.c12.c12.c12.c12.c12.c12.c12.c12.c12.c12:focus { outline: 4px solid hsla(227,100%,59%,0.18); outline-offset: -4px; -webkit-transition-property: outline-width; @@ -1344,19 +1355,19 @@ exports[`
should render table 1`] = ` transition-timing-function: cubic-bezier(0.3,0,0.2,1); } -.c17.c17.c17.c17.c17.c17.c17.c17.c17.c17.c17.c17.c17.c17.c17 { +.c18.c18.c18.c18.c18.c18.c18.c18.c18.c18.c18.c18.c18.c18.c18 { background-color: hsla(211,20%,52%,0.12); } -.c17.c17.c17.c17.c17.c17.c17.c17.c17.c17.c17.c17.c17.c17.c17 tr:last-child th { +.c18.c18.c18.c18.c18.c18.c18.c18.c18.c18.c18.c18.c18.c18.c18 tr:last-child th { border-bottom: none; } -.c18.c18.c18.c18.c18 th:last-child { +.c19.c19.c19.c19.c19 th:last-child { border-right: none; } -.c19.c19.c19.c19.c19.c19.c19.c19.c19.c19.c19.c19.c19.c19.c19 { +.c20.c20.c20.c20.c20.c20.c20.c20.c20.c20.c20.c20.c20.c20.c20 { height: 100%; background-color: hsla(0,0%,100%,1); border-bottom-width: 1px; @@ -1367,7 +1378,7 @@ exports[`
should render table 1`] = ` border-top-style: solid; } -.c19.c19.c19.c19.c19.c19.c19.c19.c19.c19.c19.c19.c19.c19.c19 > div { +.c20.c20.c20.c20.c20.c20.c20.c20.c20.c20.c20.c20.c20.c20.c20 > div { background-color: hsla(211,20%,52%,0.12); display: -webkit-box; display: -webkit-flex; @@ -1384,6 +1395,10 @@ exports[`
should render table 1`] = ` -webkit-box-align: center; -ms-flex-align: center; align-items: center; + -webkit-box-pack: left; + -webkit-justify-content: left; + -ms-flex-pack: left; + justify-content: left; } .c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6.c6 tr:first-child th { @@ -1430,23 +1445,6 @@ exports[`
should render table 1`] = ` min-height: 48px; } -.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8 > div > .text { - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; -} - -.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8 > div > .sortIcon { - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; -} - .c8.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8.c8:focus-visible { outline: 4px solid hsla(227,100%,59%,0.18); outline-offset: -4px; @@ -1468,31 +1466,31 @@ exports[`
should render table 1`] = ` } @media screen and (min-width:320px) { - .c14.c14.c14.c14.c14 { + .c15.c15.c15.c15.c15 { pointer-events: auto; } } @media screen and (min-width:480px) { - .c14.c14.c14.c14.c14 { + .c15.c15.c15.c15.c15 { pointer-events: auto; } } @media screen and (min-width:768px) { - .c14.c14.c14.c14.c14 { + .c15.c15.c15.c15.c15 { pointer-events: auto; } } @media screen and (min-width:1024px) { - .c14.c14.c14.c14.c14 { + .c15.c15.c15.c15.c15 { pointer-events: auto; } } @media screen and (min-width:1200px) { - .c14.c14.c14.c14.c14 { + .c15.c15.c15.c15.c15 { pointer-events: auto; } } @@ -1558,10 +1556,11 @@ exports[`
should render table 1`] = ` >

Payment ID @@ -1580,10 +1579,11 @@ exports[`

should render table 1`] = ` >

Amount @@ -1602,10 +1602,11 @@ exports[`

should render table 1`] = ` >

Status @@ -1624,10 +1625,11 @@ exports[`

should render table 1`] = ` >

Type @@ -1646,10 +1648,11 @@ exports[`

should render table 1`] = ` >

Method @@ -1668,10 +1671,11 @@ exports[`

should render table 1`] = ` >

Name @@ -1682,19 +1686,19 @@ exports[`

should render table 1`] = `
should render table 1`] = ` >

rzp01 @@ -1721,7 +1725,7 @@ exports[` should render table 1`] = `
should render table 1`] = ` >
@@ -1743,7 +1747,7 @@ exports[` should render table 1`] = `
should render table 1`] = ` >

pending @@ -1770,7 +1774,7 @@ exports[` should render table 1`] = `
should render table 1`] = ` >

credit @@ -1797,7 +1801,7 @@ exports[` should render table 1`] = `
should render table 1`] = ` >

Netbanking @@ -1824,7 +1828,7 @@ exports[` should render table 1`] = `
should render table 1`] = ` >

John Doe @@ -1853,13 +1857,13 @@ exports[` should render table 1`] = `
should render table 1`] = ` >

rzp02 @@ -1886,7 +1890,7 @@ exports[` should render table 1`] = `
should render table 1`] = ` >
@@ -1908,7 +1912,7 @@ exports[` should render table 1`] = `
should render table 1`] = ` >

pending @@ -1935,7 +1939,7 @@ exports[` should render table 1`] = `
should render table 1`] = ` >

credit @@ -1962,7 +1966,7 @@ exports[` should render table 1`] = `
should render table 1`] = ` >

UPI @@ -1989,7 +1993,7 @@ exports[` should render table 1`] = `
should render table 1`] = ` >

Jane Doe @@ -2018,13 +2022,13 @@ exports[` should render table 1`] = `
should render table 1`] = ` >

rzp03 @@ -2051,7 +2055,7 @@ exports[` should render table 1`] = `
should render table 1`] = ` >
@@ -2073,7 +2077,7 @@ exports[` should render table 1`] = `
should render table 1`] = ` >

failed @@ -2100,7 +2104,7 @@ exports[` should render table 1`] = `
should render table 1`] = ` >

debit @@ -2127,7 +2131,7 @@ exports[` should render table 1`] = `
should render table 1`] = ` >

Debit Card @@ -2154,7 +2158,7 @@ exports[` should render table 1`] = `
should render table 1`] = ` >

Alice Smith @@ -2183,13 +2187,13 @@ exports[` should render table 1`] = `
should render table 1`] = ` >

rzp04 @@ -2216,7 +2220,7 @@ exports[` should render table 1`] = `
should render table 1`] = ` >
@@ -2238,7 +2242,7 @@ exports[` should render table 1`] = `
should render table 1`] = ` >

completed @@ -2265,7 +2269,7 @@ exports[` should render table 1`] = `
should render table 1`] = ` >

credit @@ -2292,7 +2296,7 @@ exports[` should render table 1`] = `
should render table 1`] = ` >

Credit Card @@ -2319,7 +2323,7 @@ exports[` should render table 1`] = `
should render table 1`] = ` >

Bob Smith @@ -2348,13 +2352,13 @@ exports[` should render table 1`] = `
should render table 1`] = ` >

rzp05 @@ -2381,7 +2385,7 @@ exports[` should render table 1`] = `
should render table 1`] = ` >
@@ -2403,7 +2407,7 @@ exports[` should render table 1`] = `
should render table 1`] = ` >

completed @@ -2430,7 +2434,7 @@ exports[` should render table 1`] = `
should render table 1`] = ` >

credit @@ -2457,7 +2461,7 @@ exports[` should render table 1`] = `
should render table 1`] = ` >

Netbanking @@ -2484,7 +2488,7 @@ exports[` should render table 1`] = `
should render table 1`] = ` >

John Doe @@ -2513,18 +2517,18 @@ exports[` should render table 1`] = `