diff --git a/packages/s2-react/__tests__/spreadsheet/__snapshots__/pagination-spec.tsx.snap b/packages/s2-react/__tests__/spreadsheet/__snapshots__/pagination-spec.tsx.snap index d8abbed9d6..01575eeeb4 100644 --- a/packages/s2-react/__tests__/spreadsheet/__snapshots__/pagination-spec.tsx.snap +++ b/packages/s2-react/__tests__/spreadsheet/__snapshots__/pagination-spec.tsx.snap @@ -120,6 +120,166 @@ exports[`Pagination Tests should receive antd component extra prop `; exports[`Pagination Tests should render locale text for { locale: 'en_US', page: '1 / page', count: 'Total2' } 1`] = ` +
+ + + Total + - + +
+`; + +exports[`Pagination Tests should render locale text for { locale: 'en_US', page: '1 / page', count: 'Total2' } 2`] = `
@@ -452,6 +612,167 @@ exports[`Pagination Tests should render locale text for { locale: 'zh_CN', page: `; exports[`Pagination Tests should render locale text for { locale: 'zh_CN', page: '1 条/页', count: '共计2条' } 2`] = ` +
+
    +
  • + +
  • +
  • + + 1 + +
  • +
  • + +
  • +
  • +
    +
    + + + + + 1 条/页 + +
    + +
    +
  • +
+ + 共计 + - + 条 + +
+`; + +exports[`Pagination Tests should render locale text for { locale: 'zh_CN', page: '1 条/页', count: '共计2条' } 3`] = `
diff --git a/packages/s2-react/__tests__/unit/components/drill-down/__snapshots__/index-spec.tsx.snap b/packages/s2-react/__tests__/unit/components/drill-down/__snapshots__/index-spec.tsx.snap index cf15fc38d6..773c1b859e 100644 --- a/packages/s2-react/__tests__/unit/components/drill-down/__snapshots__/index-spec.tsx.snap +++ b/packages/s2-react/__tests__/unit/components/drill-down/__snapshots__/index-spec.tsx.snap @@ -52,13 +52,14 @@ exports[`DrillDown Component Tests should render component 1`] = ` aria-hidden="true" data-icon="close-circle" fill="currentColor" + fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > diff --git a/packages/s2-react/playground/config.ts b/packages/s2-react/playground/config.ts index a8191afe8a..ccfc998ae8 100644 --- a/packages/s2-react/playground/config.ts +++ b/packages/s2-react/playground/config.ts @@ -216,6 +216,7 @@ export const s2Options: SheetComponentOptions = { width: 800, height: 600, hierarchyType: 'grid', + supportCSSTransform: true, // showSeriesNumber: false, frozen: { rowHeader: true,