diff --git a/.storybook/decorators/withMockedDate.ts b/.storybook/decorators/withMockedDate.ts new file mode 100644 index 000000000..795b2e7cc --- /dev/null +++ b/.storybook/decorators/withMockedDate.ts @@ -0,0 +1,19 @@ +import {makeDecorator} from '@storybook/preview-api' +import dayjs from 'dayjs'; +import utc from 'dayjs/plugin/utc'; +import MockDate from 'mockdate'; + +dayjs.extend(utc) + +export const withMockedDate = makeDecorator({ + name: 'withMockedDate', + parameterName: 'mockDate', + wrapper: (storyFn, context, {parameters: date}) => { + MockDate.reset(); + + if (date instanceof Date) { + MockDate.set(dayjs(date).utc(true).toDate()) + } + return storyFn(context) + } +}) diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_BatchModule_With Columns.png b/.storybook/image-snapshots/expected/components_Datatable_internalComponents_BatchModule_With Columns.png deleted file mode 100644 index a6d65bd90..000000000 Binary files a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_BatchModule_With Columns.png and /dev/null differ diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_ControlsModule_ControlButton_Default.png b/.storybook/image-snapshots/expected/components_Datatable_internalComponents_ControlsModule_ControlButton_Default.png deleted file mode 100644 index e9fddfa9f..000000000 Binary files a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_ControlsModule_ControlButton_Default.png and /dev/null differ diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_ControlsModule_With Applied Columns.png b/.storybook/image-snapshots/expected/components_Datatable_internalComponents_ControlsModule_With Applied Columns.png deleted file mode 100644 index 45bfb9ac7..000000000 Binary files a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_ControlsModule_With Applied Columns.png and /dev/null differ diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_ControlsModule_With Applied Filtering.png b/.storybook/image-snapshots/expected/components_Datatable_internalComponents_ControlsModule_With Applied Filtering.png deleted file mode 100644 index 45bfb9ac7..000000000 Binary files a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_ControlsModule_With Applied Filtering.png and /dev/null differ diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_ControlsModule_With Disabled Columns.png b/.storybook/image-snapshots/expected/components_Datatable_internalComponents_ControlsModule_With Disabled Columns.png deleted file mode 100644 index 695c46a38..000000000 Binary files a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_ControlsModule_With Disabled Columns.png and /dev/null differ diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_ControlsModule_With Disabled Filtering.png b/.storybook/image-snapshots/expected/components_Datatable_internalComponents_ControlsModule_With Disabled Filtering.png deleted file mode 100644 index 41c7e8a85..000000000 Binary files a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_ControlsModule_With Disabled Filtering.png and /dev/null differ diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_ControlsModule_With Disabled Search.png b/.storybook/image-snapshots/expected/components_Datatable_internalComponents_ControlsModule_With Disabled Search.png deleted file mode 100644 index 2b2ba48de..000000000 Binary files a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_ControlsModule_With Disabled Search.png and /dev/null differ diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_ControlsModule_With Open Columns.png b/.storybook/image-snapshots/expected/components_Datatable_internalComponents_ControlsModule_With Open Columns.png deleted file mode 100644 index 7e86f179f..000000000 Binary files a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_ControlsModule_With Open Columns.png and /dev/null differ diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_ControlsModule_With Open Filtering.png b/.storybook/image-snapshots/expected/components_Datatable_internalComponents_ControlsModule_With Open Filtering.png deleted file mode 100644 index 8c43a4adc..000000000 Binary files a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_ControlsModule_With Open Filtering.png and /dev/null differ diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With Open And Applied Columns.png b/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With Open And Applied Columns.png deleted file mode 100644 index 218efa00d..000000000 Binary files a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With Open And Applied Columns.png and /dev/null differ diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With Open And Applied Filtering.png b/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With Open And Applied Filtering.png deleted file mode 100644 index 7cd9aca45..000000000 Binary files a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With Open And Applied Filtering.png and /dev/null differ diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With Open Columns.png b/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With Open Columns.png deleted file mode 100644 index 218efa00d..000000000 Binary files a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With Open Columns.png and /dev/null differ diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With Open Filtering.png b/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With Open Filtering.png deleted file mode 100644 index 9a9dcc709..000000000 Binary files a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With Open Filtering.png and /dev/null differ diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_BatchModule_BatchActions_Menu.png b/.storybook/image-snapshots/expected/tests_Datatable_BatchModule_BatchActions_Menu.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_BatchModule_BatchActions_Menu.png rename to .storybook/image-snapshots/expected/tests_Datatable_BatchModule_BatchActions_Menu.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_BatchModule_ElementCounter_Abbreviated Counts.png b/.storybook/image-snapshots/expected/tests_Datatable_BatchModule_ElementCounter_Abbreviated Counts.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_BatchModule_ElementCounter_Abbreviated Counts.png rename to .storybook/image-snapshots/expected/tests_Datatable_BatchModule_ElementCounter_Abbreviated Counts.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_BatchModule_ElementCounter_Default.png b/.storybook/image-snapshots/expected/tests_Datatable_BatchModule_ElementCounter_Default.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_BatchModule_ElementCounter_Default.png rename to .storybook/image-snapshots/expected/tests_Datatable_BatchModule_ElementCounter_Default.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_BatchModule_ElementCounter_No Data Available.png b/.storybook/image-snapshots/expected/tests_Datatable_BatchModule_ElementCounter_No Data Available.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_BatchModule_ElementCounter_No Data Available.png rename to .storybook/image-snapshots/expected/tests_Datatable_BatchModule_ElementCounter_No Data Available.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_BatchModule_ElementCounter_With Selected Rows And Exclusion Logic.png b/.storybook/image-snapshots/expected/tests_Datatable_BatchModule_ElementCounter_With Selected Rows And Exclusion Logic.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_BatchModule_ElementCounter_With Selected Rows And Exclusion Logic.png rename to .storybook/image-snapshots/expected/tests_Datatable_BatchModule_ElementCounter_With Selected Rows And Exclusion Logic.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_BatchModule_ElementCounter_With Selected Rows.png b/.storybook/image-snapshots/expected/tests_Datatable_BatchModule_ElementCounter_With Selected Rows.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_BatchModule_ElementCounter_With Selected Rows.png rename to .storybook/image-snapshots/expected/tests_Datatable_BatchModule_ElementCounter_With Selected Rows.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_BatchModule_ElementCounter_Without Selection.png b/.storybook/image-snapshots/expected/tests_Datatable_BatchModule_ElementCounter_Without Selection.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_BatchModule_ElementCounter_Without Selection.png rename to .storybook/image-snapshots/expected/tests_Datatable_BatchModule_ElementCounter_Without Selection.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_BatchModule_With Batch Actions.png b/.storybook/image-snapshots/expected/tests_Datatable_BatchModule_With Batch Actions.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_BatchModule_With Batch Actions.png rename to .storybook/image-snapshots/expected/tests_Datatable_BatchModule_With Batch Actions.png diff --git a/.storybook/image-snapshots/expected/tests_Datatable_BatchModule_With Columns.png b/.storybook/image-snapshots/expected/tests_Datatable_BatchModule_With Columns.png new file mode 100644 index 000000000..be91cdcd4 Binary files /dev/null and b/.storybook/image-snapshots/expected/tests_Datatable_BatchModule_With Columns.png differ diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_BatchModule_With Selected Rows And Exclusion Logic.png b/.storybook/image-snapshots/expected/tests_Datatable_BatchModule_With Selected Rows And Exclusion Logic.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_BatchModule_With Selected Rows And Exclusion Logic.png rename to .storybook/image-snapshots/expected/tests_Datatable_BatchModule_With Selected Rows And Exclusion Logic.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_BatchModule_With Selected Rows.png b/.storybook/image-snapshots/expected/tests_Datatable_BatchModule_With Selected Rows.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_BatchModule_With Selected Rows.png rename to .storybook/image-snapshots/expected/tests_Datatable_BatchModule_With Selected Rows.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_ControlsModule_ColumnsControls_With Custom Order.png b/.storybook/image-snapshots/expected/tests_Datatable_ControlsModule_ColumnsControls_With Custom Order.png similarity index 74% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_ControlsModule_ColumnsControls_With Custom Order.png rename to .storybook/image-snapshots/expected/tests_Datatable_ControlsModule_ColumnsControls_With Custom Order.png index 171f9cd86..5964cc54b 100644 Binary files a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_ControlsModule_ColumnsControls_With Custom Order.png and b/.storybook/image-snapshots/expected/tests_Datatable_ControlsModule_ColumnsControls_With Custom Order.png differ diff --git a/.storybook/image-snapshots/expected/tests_Datatable_ControlsModule_ControlButton_Default.png b/.storybook/image-snapshots/expected/tests_Datatable_ControlsModule_ControlButton_Default.png new file mode 100644 index 000000000..ac68559c2 Binary files /dev/null and b/.storybook/image-snapshots/expected/tests_Datatable_ControlsModule_ControlButton_Default.png differ diff --git a/.storybook/image-snapshots/expected/tests_Datatable_ControlsModule_With Applied Columns.png b/.storybook/image-snapshots/expected/tests_Datatable_ControlsModule_With Applied Columns.png new file mode 100644 index 000000000..6120bb4ad Binary files /dev/null and b/.storybook/image-snapshots/expected/tests_Datatable_ControlsModule_With Applied Columns.png differ diff --git a/.storybook/image-snapshots/expected/tests_Datatable_ControlsModule_With Applied Filtering.png b/.storybook/image-snapshots/expected/tests_Datatable_ControlsModule_With Applied Filtering.png new file mode 100644 index 000000000..6120bb4ad Binary files /dev/null and b/.storybook/image-snapshots/expected/tests_Datatable_ControlsModule_With Applied Filtering.png differ diff --git a/.storybook/image-snapshots/expected/tests_Datatable_ControlsModule_With Disabled Columns.png b/.storybook/image-snapshots/expected/tests_Datatable_ControlsModule_With Disabled Columns.png new file mode 100644 index 000000000..e9c9794cf Binary files /dev/null and b/.storybook/image-snapshots/expected/tests_Datatable_ControlsModule_With Disabled Columns.png differ diff --git a/.storybook/image-snapshots/expected/tests_Datatable_ControlsModule_With Disabled Filtering.png b/.storybook/image-snapshots/expected/tests_Datatable_ControlsModule_With Disabled Filtering.png new file mode 100644 index 000000000..c67b0c79c Binary files /dev/null and b/.storybook/image-snapshots/expected/tests_Datatable_ControlsModule_With Disabled Filtering.png differ diff --git a/.storybook/image-snapshots/expected/tests_Datatable_ControlsModule_With Disabled Search.png b/.storybook/image-snapshots/expected/tests_Datatable_ControlsModule_With Disabled Search.png new file mode 100644 index 000000000..3808b2e97 Binary files /dev/null and b/.storybook/image-snapshots/expected/tests_Datatable_ControlsModule_With Disabled Search.png differ diff --git a/.storybook/image-snapshots/expected/tests_Datatable_ControlsModule_With Open Columns.png b/.storybook/image-snapshots/expected/tests_Datatable_ControlsModule_With Open Columns.png new file mode 100644 index 000000000..be7caad30 Binary files /dev/null and b/.storybook/image-snapshots/expected/tests_Datatable_ControlsModule_With Open Columns.png differ diff --git a/.storybook/image-snapshots/expected/tests_Datatable_ControlsModule_With Open Filtering.png b/.storybook/image-snapshots/expected/tests_Datatable_ControlsModule_With Open Filtering.png new file mode 100644 index 000000000..34ffbfa2c Binary files /dev/null and b/.storybook/image-snapshots/expected/tests_Datatable_ControlsModule_With Open Filtering.png differ diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_Minimal Config.png b/.storybook/image-snapshots/expected/tests_Datatable_Datatable_Minimal Config.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_Minimal Config.png rename to .storybook/image-snapshots/expected/tests_Datatable_Datatable_Minimal Config.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With All Columns Hidden.png b/.storybook/image-snapshots/expected/tests_Datatable_Datatable_With All Columns Hidden.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With All Columns Hidden.png rename to .storybook/image-snapshots/expected/tests_Datatable_Datatable_With All Columns Hidden.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With Applied Columns.png b/.storybook/image-snapshots/expected/tests_Datatable_Datatable_With Applied Columns.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With Applied Columns.png rename to .storybook/image-snapshots/expected/tests_Datatable_Datatable_With Applied Columns.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With Applied Filtering.png b/.storybook/image-snapshots/expected/tests_Datatable_Datatable_With Applied Filtering.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With Applied Filtering.png rename to .storybook/image-snapshots/expected/tests_Datatable_Datatable_With Applied Filtering.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With Batch Actions.png b/.storybook/image-snapshots/expected/tests_Datatable_Datatable_With Batch Actions.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With Batch Actions.png rename to .storybook/image-snapshots/expected/tests_Datatable_Datatable_With Batch Actions.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With Custom Placeholder For Search.png b/.storybook/image-snapshots/expected/tests_Datatable_Datatable_With Custom Placeholder For Search.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With Custom Placeholder For Search.png rename to .storybook/image-snapshots/expected/tests_Datatable_Datatable_With Custom Placeholder For Search.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With Disabled Batch Module.png b/.storybook/image-snapshots/expected/tests_Datatable_Datatable_With Disabled Batch Module.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With Disabled Batch Module.png rename to .storybook/image-snapshots/expected/tests_Datatable_Datatable_With Disabled Batch Module.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With Disabled Columns.png b/.storybook/image-snapshots/expected/tests_Datatable_Datatable_With Disabled Columns.png similarity index 99% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With Disabled Columns.png rename to .storybook/image-snapshots/expected/tests_Datatable_Datatable_With Disabled Columns.png index 268579f30..da669b7f8 100644 Binary files a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With Disabled Columns.png and b/.storybook/image-snapshots/expected/tests_Datatable_Datatable_With Disabled Columns.png differ diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With Disabled Controls And Active Columns.png b/.storybook/image-snapshots/expected/tests_Datatable_Datatable_With Disabled Controls And Active Columns.png similarity index 51% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With Disabled Controls And Active Columns.png rename to .storybook/image-snapshots/expected/tests_Datatable_Datatable_With Disabled Controls And Active Columns.png index dc069fe36..d0ba100cf 100644 Binary files a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With Disabled Controls And Active Columns.png and b/.storybook/image-snapshots/expected/tests_Datatable_Datatable_With Disabled Controls And Active Columns.png differ diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With Disabled Controls.png b/.storybook/image-snapshots/expected/tests_Datatable_Datatable_With Disabled Controls And Applied Columns.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With Disabled Controls.png rename to .storybook/image-snapshots/expected/tests_Datatable_Datatable_With Disabled Controls And Applied Columns.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With Disabled Controls And Columns.png b/.storybook/image-snapshots/expected/tests_Datatable_Datatable_With Disabled Controls And Columns.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With Disabled Controls And Columns.png rename to .storybook/image-snapshots/expected/tests_Datatable_Datatable_With Disabled Controls And Columns.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With Disabled Controls And Applied Columns.png b/.storybook/image-snapshots/expected/tests_Datatable_Datatable_With Disabled Controls.png similarity index 85% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With Disabled Controls And Applied Columns.png rename to .storybook/image-snapshots/expected/tests_Datatable_Datatable_With Disabled Controls.png index cb5448158..aff344588 100644 Binary files a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With Disabled Controls And Applied Columns.png and b/.storybook/image-snapshots/expected/tests_Datatable_Datatable_With Disabled Controls.png differ diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With Disabled Filtering.png b/.storybook/image-snapshots/expected/tests_Datatable_Datatable_With Disabled Filtering.png similarity index 82% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With Disabled Filtering.png rename to .storybook/image-snapshots/expected/tests_Datatable_Datatable_With Disabled Filtering.png index a40486ff4..eccda0b8c 100644 Binary files a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With Disabled Filtering.png and b/.storybook/image-snapshots/expected/tests_Datatable_Datatable_With Disabled Filtering.png differ diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With Disabled Search.png b/.storybook/image-snapshots/expected/tests_Datatable_Datatable_With Disabled Search.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With Disabled Search.png rename to .storybook/image-snapshots/expected/tests_Datatable_Datatable_With Disabled Search.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With Disabled Selection.png b/.storybook/image-snapshots/expected/tests_Datatable_Datatable_With Disabled Selection.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With Disabled Selection.png rename to .storybook/image-snapshots/expected/tests_Datatable_Datatable_With Disabled Selection.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With No Data.png b/.storybook/image-snapshots/expected/tests_Datatable_Datatable_With No Data.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With No Data.png rename to .storybook/image-snapshots/expected/tests_Datatable_Datatable_With No Data.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With No Matching Data.png b/.storybook/image-snapshots/expected/tests_Datatable_Datatable_With No Matching Data.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With No Matching Data.png rename to .storybook/image-snapshots/expected/tests_Datatable_Datatable_With No Matching Data.png diff --git a/.storybook/image-snapshots/expected/tests_Datatable_Datatable_With Open And Applied Columns.png b/.storybook/image-snapshots/expected/tests_Datatable_Datatable_With Open And Applied Columns.png new file mode 100644 index 000000000..3f64cb5ac Binary files /dev/null and b/.storybook/image-snapshots/expected/tests_Datatable_Datatable_With Open And Applied Columns.png differ diff --git a/.storybook/image-snapshots/expected/tests_Datatable_Datatable_With Open And Applied Filtering.png b/.storybook/image-snapshots/expected/tests_Datatable_Datatable_With Open And Applied Filtering.png new file mode 100644 index 000000000..7cff61020 Binary files /dev/null and b/.storybook/image-snapshots/expected/tests_Datatable_Datatable_With Open And Applied Filtering.png differ diff --git a/.storybook/image-snapshots/expected/tests_Datatable_Datatable_With Open Columns.png b/.storybook/image-snapshots/expected/tests_Datatable_Datatable_With Open Columns.png new file mode 100644 index 000000000..038cedbe0 Binary files /dev/null and b/.storybook/image-snapshots/expected/tests_Datatable_Datatable_With Open Columns.png differ diff --git a/.storybook/image-snapshots/expected/tests_Datatable_Datatable_With Open Filtering.png b/.storybook/image-snapshots/expected/tests_Datatable_Datatable_With Open Filtering.png new file mode 100644 index 000000000..985801a5c Binary files /dev/null and b/.storybook/image-snapshots/expected/tests_Datatable_Datatable_With Open Filtering.png differ diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With Selected Rows And Exclusion Logic.png b/.storybook/image-snapshots/expected/tests_Datatable_Datatable_With Selected Rows And Exclusion Logic.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With Selected Rows And Exclusion Logic.png rename to .storybook/image-snapshots/expected/tests_Datatable_Datatable_With Selected Rows And Exclusion Logic.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With Selected Rows.png b/.storybook/image-snapshots/expected/tests_Datatable_Datatable_With Selected Rows.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With Selected Rows.png rename to .storybook/image-snapshots/expected/tests_Datatable_Datatable_With Selected Rows.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With Single Page.png b/.storybook/image-snapshots/expected/tests_Datatable_Datatable_With Single Page.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With Single Page.png rename to .storybook/image-snapshots/expected/tests_Datatable_Datatable_With Single Page.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With Single Selection And Selected Row.png b/.storybook/image-snapshots/expected/tests_Datatable_Datatable_With Single Selection And Selected Row.png similarity index 99% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With Single Selection And Selected Row.png rename to .storybook/image-snapshots/expected/tests_Datatable_Datatable_With Single Selection And Selected Row.png index c742dafbb..57b7c69a4 100644 Binary files a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With Single Selection And Selected Row.png and b/.storybook/image-snapshots/expected/tests_Datatable_Datatable_With Single Selection And Selected Row.png differ diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With Single Selection.png b/.storybook/image-snapshots/expected/tests_Datatable_Datatable_With Single Selection.png similarity index 81% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With Single Selection.png rename to .storybook/image-snapshots/expected/tests_Datatable_Datatable_With Single Selection.png index 001b89d8f..2ae3f0131 100644 Binary files a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Datatable_With Single Selection.png and b/.storybook/image-snapshots/expected/tests_Datatable_Datatable_With Single Selection.png differ diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_Data Is Loading With Previous Data And Is Cancelable.png b/.storybook/image-snapshots/expected/tests_Datatable_Table_Data Is Loading With Previous Data And Is Cancelable.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_Data Is Loading With Previous Data And Is Cancelable.png rename to .storybook/image-snapshots/expected/tests_Datatable_Table_Data Is Loading With Previous Data And Is Cancelable.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_Data Is Loading With Previous Data.png b/.storybook/image-snapshots/expected/tests_Datatable_Table_Data Is Loading With Previous Data.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_Data Is Loading With Previous Data.png rename to .storybook/image-snapshots/expected/tests_Datatable_Table_Data Is Loading With Previous Data.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_Data Is Loading Without Previous Data.png b/.storybook/image-snapshots/expected/tests_Datatable_Table_Data Is Loading Without Previous Data.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_Data Is Loading Without Previous Data.png rename to .storybook/image-snapshots/expected/tests_Datatable_Table_Data Is Loading Without Previous Data.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_Footer_Data Is Loading.png b/.storybook/image-snapshots/expected/tests_Datatable_Table_Footer_Data Is Loading.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_Footer_Data Is Loading.png rename to .storybook/image-snapshots/expected/tests_Datatable_Table_Footer_Data Is Loading.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_Footer_Default.png b/.storybook/image-snapshots/expected/tests_Datatable_Table_Footer_Default.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_Footer_Default.png rename to .storybook/image-snapshots/expected/tests_Datatable_Table_Footer_Default.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_Footer_Without Pagination.png b/.storybook/image-snapshots/expected/tests_Datatable_Table_Footer_Without Pagination.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_Footer_Without Pagination.png rename to .storybook/image-snapshots/expected/tests_Datatable_Table_Footer_Without Pagination.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_Minimal Config.png b/.storybook/image-snapshots/expected/tests_Datatable_Table_Minimal Config.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_Minimal Config.png rename to .storybook/image-snapshots/expected/tests_Datatable_Table_Minimal Config.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_Playground.png b/.storybook/image-snapshots/expected/tests_Datatable_Table_Playground.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_Playground.png rename to .storybook/image-snapshots/expected/tests_Datatable_Table_Playground.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_With Custom Page Size.png b/.storybook/image-snapshots/expected/tests_Datatable_Table_With Custom Page Size.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_With Custom Page Size.png rename to .storybook/image-snapshots/expected/tests_Datatable_Table_With Custom Page Size.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_With Disabled Selection.png b/.storybook/image-snapshots/expected/tests_Datatable_Table_With Disabled Selection.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_With Disabled Selection.png rename to .storybook/image-snapshots/expected/tests_Datatable_Table_With Disabled Selection.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_With Exclusive Selection.png b/.storybook/image-snapshots/expected/tests_Datatable_Table_With Exclusive Selection.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_With Exclusive Selection.png rename to .storybook/image-snapshots/expected/tests_Datatable_Table_With Exclusive Selection.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_With No Data (custom component).png b/.storybook/image-snapshots/expected/tests_Datatable_Table_With No Data (custom component).png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_With No Data (custom component).png rename to .storybook/image-snapshots/expected/tests_Datatable_Table_With No Data (custom component).png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_With No Data.png b/.storybook/image-snapshots/expected/tests_Datatable_Table_With No Data.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_With No Data.png rename to .storybook/image-snapshots/expected/tests_Datatable_Table_With No Data.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_With No Matching Data (custom component).png b/.storybook/image-snapshots/expected/tests_Datatable_Table_With No Matching Data (custom component).png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_With No Matching Data (custom component).png rename to .storybook/image-snapshots/expected/tests_Datatable_Table_With No Matching Data (custom component).png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_With No Matching Data.png b/.storybook/image-snapshots/expected/tests_Datatable_Table_With No Matching Data.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_With No Matching Data.png rename to .storybook/image-snapshots/expected/tests_Datatable_Table_With No Matching Data.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_With Row Actions.png b/.storybook/image-snapshots/expected/tests_Datatable_Table_With Row Actions.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_With Row Actions.png rename to .storybook/image-snapshots/expected/tests_Datatable_Table_With Row Actions.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_With Selected Rows.png b/.storybook/image-snapshots/expected/tests_Datatable_Table_With Selected Rows.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_With Selected Rows.png rename to .storybook/image-snapshots/expected/tests_Datatable_Table_With Selected Rows.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_With Single Page.png b/.storybook/image-snapshots/expected/tests_Datatable_Table_With Single Page.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_With Single Page.png rename to .storybook/image-snapshots/expected/tests_Datatable_Table_With Single Page.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_With Single Selection And Selected Row.png b/.storybook/image-snapshots/expected/tests_Datatable_Table_With Single Selection And Selected Row.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_With Single Selection And Selected Row.png rename to .storybook/image-snapshots/expected/tests_Datatable_Table_With Single Selection And Selected Row.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_With Single Selection.png b/.storybook/image-snapshots/expected/tests_Datatable_Table_With Single Selection.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_With Single Selection.png rename to .storybook/image-snapshots/expected/tests_Datatable_Table_With Single Selection.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_With Sorted Column.png b/.storybook/image-snapshots/expected/tests_Datatable_Table_With Sorted Column.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_With Sorted Column.png rename to .storybook/image-snapshots/expected/tests_Datatable_Table_With Sorted Column.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_Without Sorting.png b/.storybook/image-snapshots/expected/tests_Datatable_Table_Without Sorting.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_Without Sorting.png rename to .storybook/image-snapshots/expected/tests_Datatable_Table_Without Sorting.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_renderers_Default.png b/.storybook/image-snapshots/expected/tests_Datatable_Table_renderers_Default.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_renderers_Default.png rename to .storybook/image-snapshots/expected/tests_Datatable_Table_renderers_Default.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_renderers_Discrete Link With Absolute Link.png b/.storybook/image-snapshots/expected/tests_Datatable_Table_renderers_Discrete Link With Absolute Link.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_renderers_Discrete Link With Absolute Link.png rename to .storybook/image-snapshots/expected/tests_Datatable_Table_renderers_Discrete Link With Absolute Link.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_renderers_Discrete Link With Custom Formatter.png b/.storybook/image-snapshots/expected/tests_Datatable_Table_renderers_Discrete Link With Custom Formatter.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_renderers_Discrete Link With Custom Formatter.png rename to .storybook/image-snapshots/expected/tests_Datatable_Table_renderers_Discrete Link With Custom Formatter.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_renderers_Discrete Link With On Click.png b/.storybook/image-snapshots/expected/tests_Datatable_Table_renderers_Discrete Link With On Click.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_renderers_Discrete Link With On Click.png rename to .storybook/image-snapshots/expected/tests_Datatable_Table_renderers_Discrete Link With On Click.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_renderers_Discrete Link With Relative Link.png b/.storybook/image-snapshots/expected/tests_Datatable_Table_renderers_Discrete Link With Relative Link.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_renderers_Discrete Link With Relative Link.png rename to .storybook/image-snapshots/expected/tests_Datatable_Table_renderers_Discrete Link With Relative Link.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_renderers_Discrete Link With Tooltip.png b/.storybook/image-snapshots/expected/tests_Datatable_Table_renderers_Discrete Link With Tooltip.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_renderers_Discrete Link With Tooltip.png rename to .storybook/image-snapshots/expected/tests_Datatable_Table_renderers_Discrete Link With Tooltip.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_renderers_Link With Absolute Link.png b/.storybook/image-snapshots/expected/tests_Datatable_Table_renderers_Link With Absolute Link.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_renderers_Link With Absolute Link.png rename to .storybook/image-snapshots/expected/tests_Datatable_Table_renderers_Link With Absolute Link.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_renderers_Link With Custom Formatter.png b/.storybook/image-snapshots/expected/tests_Datatable_Table_renderers_Link With Custom Formatter.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_renderers_Link With Custom Formatter.png rename to .storybook/image-snapshots/expected/tests_Datatable_Table_renderers_Link With Custom Formatter.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_renderers_Link With On Click.png b/.storybook/image-snapshots/expected/tests_Datatable_Table_renderers_Link With On Click.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_renderers_Link With On Click.png rename to .storybook/image-snapshots/expected/tests_Datatable_Table_renderers_Link With On Click.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_renderers_Link With Relative Link.png b/.storybook/image-snapshots/expected/tests_Datatable_Table_renderers_Link With Relative Link.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_renderers_Link With Relative Link.png rename to .storybook/image-snapshots/expected/tests_Datatable_Table_renderers_Link With Relative Link.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_renderers_Link With Tooltip.png b/.storybook/image-snapshots/expected/tests_Datatable_Table_renderers_Link With Tooltip.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_renderers_Link With Tooltip.png rename to .storybook/image-snapshots/expected/tests_Datatable_Table_renderers_Link With Tooltip.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_renderers_Multi Value With Absolute Link.png b/.storybook/image-snapshots/expected/tests_Datatable_Table_renderers_Multi Value With Absolute Link.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_renderers_Multi Value With Absolute Link.png rename to .storybook/image-snapshots/expected/tests_Datatable_Table_renderers_Multi Value With Absolute Link.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_renderers_Multi Value With Custom Formatter.png b/.storybook/image-snapshots/expected/tests_Datatable_Table_renderers_Multi Value With Custom Formatter.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_renderers_Multi Value With Custom Formatter.png rename to .storybook/image-snapshots/expected/tests_Datatable_Table_renderers_Multi Value With Custom Formatter.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_renderers_Multi Value With Disabled Display Limit.png b/.storybook/image-snapshots/expected/tests_Datatable_Table_renderers_Multi Value With Disabled Display Limit.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_renderers_Multi Value With Disabled Display Limit.png rename to .storybook/image-snapshots/expected/tests_Datatable_Table_renderers_Multi Value With Disabled Display Limit.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_renderers_Multi Value With On Click.png b/.storybook/image-snapshots/expected/tests_Datatable_Table_renderers_Multi Value With On Click.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_renderers_Multi Value With On Click.png rename to .storybook/image-snapshots/expected/tests_Datatable_Table_renderers_Multi Value With On Click.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_renderers_Multi Value With Relative Link.png b/.storybook/image-snapshots/expected/tests_Datatable_Table_renderers_Multi Value With Relative Link.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_renderers_Multi Value With Relative Link.png rename to .storybook/image-snapshots/expected/tests_Datatable_Table_renderers_Multi Value With Relative Link.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_renderers_Multi Value With Tooltip.png b/.storybook/image-snapshots/expected/tests_Datatable_Table_renderers_Multi Value With Tooltip.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_renderers_Multi Value With Tooltip.png rename to .storybook/image-snapshots/expected/tests_Datatable_Table_renderers_Multi Value With Tooltip.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_renderers_Multi Value.png b/.storybook/image-snapshots/expected/tests_Datatable_Table_renderers_Multi Value.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_renderers_Multi Value.png rename to .storybook/image-snapshots/expected/tests_Datatable_Table_renderers_Multi Value.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_renderers_Null Value With Tooltip.png b/.storybook/image-snapshots/expected/tests_Datatable_Table_renderers_Null Value With Tooltip.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_renderers_Null Value With Tooltip.png rename to .storybook/image-snapshots/expected/tests_Datatable_Table_renderers_Null Value With Tooltip.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_renderers_Text With Custom Formatter.png b/.storybook/image-snapshots/expected/tests_Datatable_Table_renderers_Text With Custom Formatter.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_renderers_Text With Custom Formatter.png rename to .storybook/image-snapshots/expected/tests_Datatable_Table_renderers_Text With Custom Formatter.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_renderers_Text With Tooltip.png b/.storybook/image-snapshots/expected/tests_Datatable_Table_renderers_Text With Tooltip.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_renderers_Text With Tooltip.png rename to .storybook/image-snapshots/expected/tests_Datatable_Table_renderers_Text With Tooltip.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_renderers_With Custom Null Value.png b/.storybook/image-snapshots/expected/tests_Datatable_Table_renderers_With Custom Null Value.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_renderers_With Custom Null Value.png rename to .storybook/image-snapshots/expected/tests_Datatable_Table_renderers_With Custom Null Value.png diff --git a/.storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_renderers_With Null Value.png b/.storybook/image-snapshots/expected/tests_Datatable_Table_renderers_With Null Value.png similarity index 100% rename from .storybook/image-snapshots/expected/components_Datatable_internalComponents_Table_renderers_With Null Value.png rename to .storybook/image-snapshots/expected/tests_Datatable_Table_renderers_With Null Value.png diff --git a/.storybook/image-snapshots/expected/typography_Text_Context Text (DEPRECATED).png b/.storybook/image-snapshots/expected/typography_Text_Context Text.png similarity index 100% rename from .storybook/image-snapshots/expected/typography_Text_Context Text (DEPRECATED).png rename to .storybook/image-snapshots/expected/typography_Text_Context Text.png diff --git a/.storybook/main.ts b/.storybook/main.ts index c1940aff9..3e88d034f 100644 --- a/.storybook/main.ts +++ b/.storybook/main.ts @@ -21,8 +21,9 @@ const config: StorybookConfig = { '@storybook/addon-designs', '@storybook/addon-themes', '@storybook/addon-coverage', + '@storybook/addon-a11y', 'storycap', - '@storybook/addon-a11y' + 'storybook-addon-tag-badges' ], docs: { defaultName: 'Documentation' }, typescript: { diff --git a/.storybook/preview.tsx b/.storybook/preview.tsx index b0b4a3f47..b32abab26 100644 --- a/.storybook/preview.tsx +++ b/.storybook/preview.tsx @@ -25,6 +25,7 @@ import '@fontsource/inter/700.css'; import '@fontsource/space-mono/400.css'; import '../src/tokens/tokens.css'; import { SlowBuffer } from 'buffer'; +import { withMockedDate } from './decorators/withMockedDate'; function clearDatatableLS() { Object.keys(localStorage) @@ -139,7 +140,6 @@ const preview: Preview = { }, }, decorators: [ - // @ts-expect-error as the type of the withScreenshot is too wide withScreenshot, withI18next, withThemeByClassName({ @@ -149,6 +149,7 @@ const preview: Preview = { }, defaultTheme: 'Light', }), + withMockedDate(), (storyFn) => ( {storyFn()} ), diff --git a/package.json b/package.json index c5c121da8..427082823 100644 --- a/package.json +++ b/package.json @@ -205,6 +205,7 @@ "semantic-release": "^24.1.0", "semantic-release-export-data": "^1.1.0", "storybook": "^8.4.4", + "storybook-addon-tag-badges": "^1.3.0", "storycap": "^5.0.0", "styled-components": "^5.3.3", "stylelint": "^16.6.1", diff --git a/src/components/Button/Button.stories.tsx b/src/components/Button/Button.stories.tsx index 3cb53d623..89b247b3c 100644 --- a/src/components/Button/Button.stories.tsx +++ b/src/components/Button/Button.stories.tsx @@ -73,6 +73,7 @@ export default { }, }, }, + tags: ['deprecated'], } as Meta; export const Playground: StoryFn = (args) =>