-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(storybook): add badges to deprecated components
Ref UXD-1672
- Loading branch information
Showing
129 changed files
with
61 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) | ||
} | ||
}) |
Binary file removed
BIN
-5.93 KB
...s/expected/components_Datatable_internalComponents_BatchModule_With Columns.png
Binary file not shown.
Binary file removed
BIN
-6.14 KB
...omponents_Datatable_internalComponents_ControlsModule_ControlButton_Default.png
Binary file not shown.
Binary file removed
BIN
-7.81 KB
...components_Datatable_internalComponents_ControlsModule_With Applied Columns.png
Binary file not shown.
Binary file removed
BIN
-7.81 KB
...mponents_Datatable_internalComponents_ControlsModule_With Applied Filtering.png
Binary file not shown.
Binary file removed
BIN
-6.22 KB
...omponents_Datatable_internalComponents_ControlsModule_With Disabled Columns.png
Binary file not shown.
Binary file removed
BIN
-7.11 KB
...ponents_Datatable_internalComponents_ControlsModule_With Disabled Filtering.png
Binary file not shown.
Binary file removed
BIN
-5.74 KB
...components_Datatable_internalComponents_ControlsModule_With Disabled Search.png
Binary file not shown.
Binary file removed
BIN
-31.3 KB
...ed/components_Datatable_internalComponents_ControlsModule_With Open Columns.png
Binary file not shown.
Binary file removed
BIN
-16.5 KB
.../components_Datatable_internalComponents_ControlsModule_With Open Filtering.png
Binary file not shown.
Binary file removed
BIN
-79.1 KB
...onents_Datatable_internalComponents_Datatable_With Open And Applied Columns.png
Binary file not shown.
Binary file removed
BIN
-122 KB
...ents_Datatable_internalComponents_Datatable_With Open And Applied Filtering.png
Binary file not shown.
Binary file removed
BIN
-79.1 KB
...xpected/components_Datatable_internalComponents_Datatable_With Open Columns.png
Binary file not shown.
Binary file removed
BIN
-77 KB
...ected/components_Datatable_internalComponents_Datatable_With Open Filtering.png
Binary file not shown.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added
BIN
+5.68 KB
.storybook/image-snapshots/expected/tests_Datatable_BatchModule_With Columns.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
Binary file renamed
BIN
+28.4 KB
...ule_ColumnsControls_With Custom Order.png → ...ule_ColumnsControls_With Custom Order.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+5.79 KB
...age-snapshots/expected/tests_Datatable_ControlsModule_ControlButton_Default.png
Oops, something went wrong.
Binary file added
BIN
+7.48 KB
...mage-snapshots/expected/tests_Datatable_ControlsModule_With Applied Columns.png
Oops, something went wrong.
Binary file added
BIN
+7.48 KB
...ge-snapshots/expected/tests_Datatable_ControlsModule_With Applied Filtering.png
Oops, something went wrong.
Binary file added
BIN
+6 KB
...age-snapshots/expected/tests_Datatable_ControlsModule_With Disabled Columns.png
Oops, something went wrong.
Binary file added
BIN
+6.88 KB
...e-snapshots/expected/tests_Datatable_ControlsModule_With Disabled Filtering.png
Oops, something went wrong.
Binary file added
BIN
+5.44 KB
...mage-snapshots/expected/tests_Datatable_ControlsModule_With Disabled Search.png
Oops, something went wrong.
Binary file added
BIN
+31 KB
...k/image-snapshots/expected/tests_Datatable_ControlsModule_With Open Columns.png
Oops, something went wrong.
Binary file added
BIN
+16.2 KB
...image-snapshots/expected/tests_Datatable_ControlsModule_With Open Filtering.png
Oops, something went wrong.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file renamed
BIN
+66.8 KB
...nents_Datatable_With Disabled Columns.png → ...table_Datatable_With Disabled Columns.png
Oops, something went wrong.
Binary file renamed
BIN
+74 KB
... Disabled Controls And Active Columns.png → ... Disabled Controls And Active Columns.png
Oops, something went wrong.
File renamed without changes
File renamed without changes
Binary file renamed
BIN
+65.4 KB
...Disabled Controls And Applied Columns.png → ...able_Datatable_With Disabled Controls.png
Oops, something went wrong.
Binary file renamed
BIN
+67.6 KB
...nts_Datatable_With Disabled Filtering.png → ...ble_Datatable_With Disabled Filtering.png
Oops, something went wrong.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added
BIN
+79.1 KB
...-snapshots/expected/tests_Datatable_Datatable_With Open And Applied Columns.png
Oops, something went wrong.
Binary file added
BIN
+122 KB
...napshots/expected/tests_Datatable_Datatable_With Open And Applied Filtering.png
Oops, something went wrong.
Binary file added
BIN
+79.1 KB
...rybook/image-snapshots/expected/tests_Datatable_Datatable_With Open Columns.png
Oops, something went wrong.
Binary file added
BIN
+77 KB
...book/image-snapshots/expected/tests_Datatable_Datatable_With Open Filtering.png
Oops, something went wrong.
File renamed without changes
File renamed without changes
File renamed without changes
Binary file renamed
BIN
+70 KB
...ith Single Selection And Selected Row.png → ...ith Single Selection And Selected Row.png
Oops, something went wrong.
Binary file renamed
BIN
+68.1 KB
...nents_Datatable_With Single Selection.png → ...table_Datatable_With Single Selection.png
Oops, something went wrong.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters