@salutejs/sdds-cs 0.319.0-canary.1973.15850054289.0 → 0.319.0-canary.2010.15678347777.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/Accordion/Accordion.config.js +19 -101
- package/components/Accordion/Accordion.js +12 -18
- package/components/Accordion/index.js +14 -15
- package/components/Attach/Attach.config.js +26 -267
- package/components/Attach/Attach.js +11 -11
- package/components/Attach/index.js +7 -6
- package/components/Autocomplete/Autocomplete.config.js +30 -247
- package/components/Autocomplete/Autocomplete.js +7 -11
- package/components/Autocomplete/index.js +7 -6
- package/components/Avatar/Avatar.config.js +31 -197
- package/components/Avatar/Avatar.js +7 -19
- package/components/Avatar/index.js +7 -6
- package/components/AvatarGroup/AvatarGroup.js +6 -10
- package/components/AvatarGroup/index.js +7 -6
- package/components/Badge/Badge.config.js +30 -145
- package/components/Badge/Badge.js +11 -11
- package/components/Badge/index.js +7 -6
- package/components/Breadcrumbs/Breadcrumbs.config.js +18 -60
- package/components/Breadcrumbs/Breadcrumbs.js +12 -12
- package/components/Breadcrumbs/index.js +7 -6
- package/components/Button/Button.config.js +30 -174
- package/components/Button/Button.js +41 -146
- package/components/Button/index.js +7 -6
- package/components/ButtonBase/index.js +7 -6
- package/components/ButtonGroup/ButtonGroup.config.js +38 -228
- package/components/ButtonGroup/ButtonGroup.js +11 -11
- package/components/ButtonGroup/index.js +7 -6
- package/components/Calendar/Calendar.js +18 -39
- package/components/Calendar/CalendarBase.config.js +18 -128
- package/components/Calendar/CalendarDouble.config.js +18 -128
- package/components/Calendar/index.js +32 -24
- package/components/Card/Card.config.js +20 -81
- package/components/Card/Card.js +23 -22
- package/components/Card/index.js +20 -18
- package/components/Cell/Cell.config.js +16 -110
- package/components/Cell/Cell.js +12 -12
- package/components/Cell/index.js +33 -25
- package/components/Checkbox/Checkbox.config.js +25 -104
- package/components/Checkbox/Checkbox.js +11 -12
- package/components/Checkbox/index.js +7 -6
- package/components/Chip/Chip.config.js +25 -162
- package/components/Chip/Chip.js +12 -12
- package/components/Chip/index.js +7 -6
- package/components/ChipGroup/ChipGroup.config.js +24 -127
- package/components/ChipGroup/ChipGroup.js +7 -11
- package/components/ChipGroup/index.js +7 -6
- package/components/Combobox/Combobox.config.js +30 -313
- package/components/Combobox/Combobox.d.ts +24 -24
- package/components/Combobox/Combobox.js +15 -50
- package/components/Combobox/index.js +7 -6
- package/components/Counter/Counter.config.js +21 -95
- package/components/Counter/Counter.js +11 -11
- package/components/Counter/index.js +15 -16
- package/components/DatePicker/DatePicker.config.js +24 -264
- package/components/DatePicker/DatePicker.js +9 -21
- package/components/DatePicker/index.js +27 -22
- package/components/Divider/Divider.config.js +27 -109
- package/components/Divider/Divider.js +11 -11
- package/components/Divider/index.js +15 -16
- package/components/Drawer/Drawer.config.js +22 -79
- package/components/Drawer/Drawer.js +29 -31
- package/components/Drawer/index.js +26 -21
- package/components/Dropdown/Dropdown.config.js +18 -94
- package/components/Dropdown/Dropdown.js +15 -50
- package/components/Dropdown/index.js +7 -6
- package/components/Dropzone/Dropzone.config.js +21 -86
- package/components/Dropzone/Dropzone.js +7 -11
- package/components/Dropzone/index.js +21 -19
- package/components/EmptyState/EmptyState.config.js +18 -114
- package/components/EmptyState/EmptyState.js +7 -19
- package/components/EmptyState/index.js +7 -6
- package/components/Flow/Flow.config.js +7 -11
- package/components/Flow/Flow.js +7 -11
- package/components/Flow/index.js +7 -6
- package/components/Grid/Grid.config.js +19 -71
- package/components/Grid/Grid.js +18 -21
- package/components/Grid/index.js +20 -18
- package/components/IconButton/IconButton.config.js +28 -146
- package/components/IconButton/IconButton.js +12 -12
- package/components/IconButton/index.js +7 -6
- package/components/Image/Image.component-test.js +92 -0
- package/components/Image/Image.js +11 -11
- package/components/Image/index.js +7 -6
- package/components/Indicator/Indicator.config.js +26 -138
- package/components/Indicator/Indicator.js +7 -19
- package/components/Indicator/index.js +7 -6
- package/components/Link/Link.config.js +29 -214
- package/components/Link/Link.js +11 -12
- package/components/Link/index.js +7 -6
- package/components/Mask/Mask.js +6 -10
- package/components/Mask/index.js +7 -6
- package/components/Modal/Modal.config.js +15 -47
- package/components/Modal/Modal.js +12 -12
- package/components/Modal/index.js +15 -16
- package/components/Notification/Notification.config.js +26 -163
- package/components/Notification/Notification.js +23 -38
- package/components/Notification/index.js +27 -22
- package/components/NumberFormat/NumberFormat.js +13 -10
- package/components/NumberFormat/index.js +7 -6
- package/components/NumberInput/NumberInput.config.js +34 -154
- package/components/NumberInput/NumberInput.js +7 -11
- package/components/NumberInput/index.js +21 -19
- package/components/Overlay/index.js +7 -6
- package/components/Pagination/Pagination.component-test.js +298 -0
- package/components/Pagination/Pagination.config.js +26 -139
- package/components/Pagination/Pagination.js +12 -12
- package/components/Pagination/index.js +7 -6
- package/components/Popover/Popover.config.js +15 -43
- package/components/Popover/Popover.js +7 -11
- package/components/Popover/index.js +7 -6
- package/components/Popup/Popup.js +10 -10
- package/components/Popup/index.js +27 -22
- package/components/Portal/index.js +7 -6
- package/components/Price/Price.config.js +11 -15
- package/components/Price/Price.js +12 -12
- package/components/Price/index.js +15 -16
- package/components/Progress/Progress.config.js +21 -95
- package/components/Progress/Progress.js +8 -12
- package/components/Progress/index.js +7 -6
- package/components/Radiobox/Radiobox.config.js +31 -106
- package/components/Radiobox/Radiobox.d.ts +28 -2
- package/components/Radiobox/Radiobox.js +16 -19
- package/components/Radiobox/index.js +14 -15
- package/components/Range/Range.config.js +24 -157
- package/components/Range/Range.js +11 -11
- package/components/Range/index.js +15 -16
- package/components/Rating/Rating.config.js +20 -117
- package/components/Rating/Rating.js +7 -11
- package/components/Rating/index.js +21 -19
- package/components/SSRProvider/index.js +7 -6
- package/components/Segment/Segment.js +32 -27
- package/components/Segment/SegmentGroup.config.js +34 -130
- package/components/Segment/SegmentItem.config.js +25 -124
- package/components/Segment/index.js +26 -21
- package/components/Select/Select.config.js +35 -305
- package/components/Select/Select.d.ts +6 -6
- package/components/Select/Select.js +15 -50
- package/components/Select/index.js +7 -6
- package/components/Sheet/Sheet.config.js +18 -63
- package/components/Sheet/Sheet.js +12 -12
- package/components/Sheet/index.js +15 -16
- package/components/Skeleton/LineSkeleton.config.js +31 -230
- package/components/Skeleton/Skeleton.js +20 -25
- package/components/Skeleton/index.js +26 -21
- package/components/Slider/Slider.component-test.js +223 -0
- package/components/Slider/Slider.config.js +22 -147
- package/components/Slider/Slider.js +13 -12
- package/components/Slider/index.js +7 -6
- package/components/Spinner/Spinner.config.js +23 -107
- package/components/Spinner/Spinner.js +15 -23
- package/components/Spinner/index.js +7 -6
- package/components/Steps/Steps.config.js +18 -105
- package/components/Steps/Steps.js +8 -12
- package/components/Steps/index.js +7 -6
- package/components/Switch/Switch.config.js +31 -149
- package/components/Switch/Switch.js +8 -12
- package/components/Switch/index.js +7 -6
- package/components/Table/Table.config.js +21 -257
- package/components/Table/Table.js +12 -12
- package/components/Table/index.js +7 -6
- package/components/Tabs/TabItem.js +21 -26
- package/components/Tabs/Tabs.js +21 -26
- package/components/Tabs/TabsController.js +16 -15
- package/components/Tabs/horizontal/HorizontalTabItem.config.js +30 -230
- package/components/Tabs/horizontal/HorizontalTabs.config.js +37 -266
- package/components/Tabs/index.js +35 -27
- package/components/Tabs/vertical/VerticalTabItem.config.js +24 -125
- package/components/Tabs/vertical/VerticalTabs.config.js +24 -98
- package/components/TextArea/TextArea.config.js +42 -367
- package/components/TextArea/TextArea.js +12 -12
- package/components/TextArea/index.js +7 -6
- package/components/TextField/TextField.config.js +40 -338
- package/components/TextField/TextField.js +11 -11
- package/components/TextField/index.js +15 -16
- package/components/Toast/Toast.config.js +35 -127
- package/components/Toast/Toast.js +14 -26
- package/components/Toast/index.js +20 -18
- package/components/ToastNew/ToastNew.config.js +21 -80
- package/components/ToastNew/ToastNew.js +8 -20
- package/components/ToastNew/index.js +14 -15
- package/components/Tokens/Colors/Colors.styles.d.ts +1 -1
- package/components/Tokens/Colors/Colors.styles.js +51 -147
- package/components/Tokens/NumberTokens/NumberTokens.styles.js +23 -70
- package/components/Tokens/Typography/Typography.styles.d.ts +1 -1
- package/components/Tokens/Typography/Typography.styles.js +76 -204
- package/components/Toolbar/Toolbar.config.js +18 -57
- package/components/Toolbar/Toolbar.js +13 -21
- package/components/Toolbar/index.js +21 -19
- package/components/Tooltip/Tooltip.config.js +19 -71
- package/components/Tooltip/Tooltip.js +7 -11
- package/components/Tooltip/index.js +7 -6
- package/components/Tree/Tree.config.js +18 -83
- package/components/Tree/Tree.js +7 -11
- package/components/Tree/index.js +7 -6
- package/components/Typography/Body.config.js +47 -161
- package/components/Typography/Dspl.config.js +31 -105
- package/components/Typography/Heading.config.js +47 -161
- package/components/Typography/Text.config.js +39 -133
- package/components/Typography/Typography.js +59 -116
- package/components/Typography/index.js +106 -62
- package/components/ViewContainer/ViewContainer.config.js +14 -46
- package/components/ViewContainer/ViewContainer.js +7 -11
- package/components/ViewContainer/index.js +7 -6
- package/emotion/cjs/components/Accordion/Accordion.config.js +19 -101
- package/emotion/cjs/components/Accordion/Accordion.js +12 -18
- package/emotion/cjs/components/Accordion/Accordion.stories.tsx +159 -0
- package/emotion/cjs/components/Accordion/index.js +14 -15
- package/emotion/cjs/components/Attach/Attach.config.js +26 -267
- package/emotion/cjs/components/Attach/Attach.js +11 -11
- package/emotion/cjs/components/Attach/Attach.stories.tsx +157 -0
- package/emotion/cjs/components/Attach/index.js +7 -6
- package/emotion/cjs/components/Autocomplete/Autocomplete.config.js +30 -247
- package/emotion/cjs/components/Autocomplete/Autocomplete.js +7 -11
- package/emotion/cjs/components/Autocomplete/Autocomplete.stories.tsx +170 -0
- package/emotion/cjs/components/Autocomplete/index.js +7 -6
- package/emotion/cjs/components/Avatar/Avatar.config.js +31 -197
- package/emotion/cjs/components/Avatar/Avatar.js +7 -19
- package/emotion/cjs/components/Avatar/Avatar.stories.tsx +74 -0
- package/emotion/cjs/components/Avatar/index.js +7 -6
- package/emotion/cjs/components/AvatarGroup/AvatarGroup.js +6 -10
- package/emotion/cjs/components/AvatarGroup/AvatarGroup.stories.tsx +71 -0
- package/emotion/cjs/components/AvatarGroup/index.js +7 -6
- package/emotion/cjs/components/Badge/Badge.config.js +30 -145
- package/emotion/cjs/components/Badge/Badge.js +11 -11
- package/emotion/cjs/components/Badge/Badge.stories.tsx +87 -0
- package/emotion/cjs/components/Badge/index.js +7 -6
- package/emotion/cjs/components/Breadcrumbs/Breadcrumbs.config.js +18 -60
- package/emotion/cjs/components/Breadcrumbs/Breadcrumbs.js +12 -12
- package/emotion/cjs/components/Breadcrumbs/Breadcrumbs.stories.tsx +82 -0
- package/emotion/cjs/components/Breadcrumbs/index.js +7 -6
- package/emotion/cjs/components/Button/Button.config.js +30 -174
- package/emotion/cjs/components/Button/Button.js +41 -146
- package/emotion/cjs/components/Button/Button.stories.tsx +212 -0
- package/emotion/cjs/components/Button/index.js +7 -6
- package/emotion/cjs/components/ButtonBase/index.js +7 -6
- package/emotion/cjs/components/ButtonGroup/ButtonGroup.config.js +38 -228
- package/emotion/cjs/components/ButtonGroup/ButtonGroup.js +11 -11
- package/emotion/cjs/components/ButtonGroup/ButtonGroup.stories.tsx +109 -0
- package/emotion/cjs/components/ButtonGroup/index.js +7 -6
- package/emotion/cjs/components/Calendar/Calendar.js +18 -39
- package/emotion/cjs/components/Calendar/Calendar.stories.tsx +304 -0
- package/emotion/cjs/components/Calendar/CalendarBase.config.js +18 -128
- package/emotion/cjs/components/Calendar/CalendarDouble.config.js +18 -128
- package/emotion/cjs/components/Calendar/index.js +32 -24
- package/emotion/cjs/components/Card/Card.config.js +20 -81
- package/emotion/cjs/components/Card/Card.js +23 -22
- package/emotion/cjs/components/Card/Card.stories.tsx +281 -0
- package/emotion/cjs/components/Card/index.js +20 -18
- package/emotion/cjs/components/Cell/Cell.config.js +16 -110
- package/emotion/cjs/components/Cell/Cell.js +12 -12
- package/emotion/cjs/components/Cell/Cell.stories.tsx +97 -0
- package/emotion/cjs/components/Cell/index.js +33 -25
- package/emotion/cjs/components/Checkbox/Checkbox.config.js +25 -104
- package/emotion/cjs/components/Checkbox/Checkbox.js +11 -12
- package/emotion/cjs/components/Checkbox/Checkbox.stories.tsx +232 -0
- package/emotion/cjs/components/Checkbox/index.js +7 -6
- package/emotion/cjs/components/Chip/Chip.config.js +25 -162
- package/emotion/cjs/components/Chip/Chip.js +12 -12
- package/emotion/cjs/components/Chip/Chip.stories.tsx +93 -0
- package/emotion/cjs/components/Chip/index.js +7 -6
- package/emotion/cjs/components/ChipGroup/ChipGroup.config.js +24 -127
- package/emotion/cjs/components/ChipGroup/ChipGroup.js +7 -11
- package/emotion/cjs/components/ChipGroup/ChipGroup.stories.tsx +79 -0
- package/emotion/cjs/components/ChipGroup/index.js +7 -6
- package/emotion/cjs/components/Combobox/Combobox.config.js +30 -313
- package/emotion/cjs/components/Combobox/Combobox.js +15 -50
- package/emotion/cjs/components/Combobox/Combobox.stories.tsx +604 -0
- package/emotion/cjs/components/Combobox/index.js +7 -6
- package/emotion/cjs/components/Counter/Counter.config.js +21 -95
- package/emotion/cjs/components/Counter/Counter.js +11 -11
- package/emotion/cjs/components/Counter/Counter.stories.tsx +34 -0
- package/emotion/cjs/components/Counter/index.js +15 -16
- package/emotion/cjs/components/DatePicker/DatePicker.config.js +24 -264
- package/emotion/cjs/components/DatePicker/DatePicker.js +9 -21
- package/emotion/cjs/components/DatePicker/DatePicker.stories.tsx +309 -0
- package/emotion/cjs/components/DatePicker/index.js +27 -22
- package/emotion/cjs/components/Divider/Divider.config.js +27 -109
- package/emotion/cjs/components/Divider/Divider.js +11 -11
- package/emotion/cjs/components/Divider/Divider.stories.tsx +58 -0
- package/emotion/cjs/components/Divider/index.js +15 -16
- package/emotion/cjs/components/Drawer/Drawer.config.js +22 -79
- package/emotion/cjs/components/Drawer/Drawer.js +29 -31
- package/emotion/cjs/components/Drawer/Drawer.stories.tsx +217 -0
- package/emotion/cjs/components/Drawer/index.js +26 -21
- package/emotion/cjs/components/Dropdown/Dropdown.config.js +18 -94
- package/emotion/cjs/components/Dropdown/Dropdown.js +15 -50
- package/emotion/cjs/components/Dropdown/Dropdown.stories.tsx +331 -0
- package/emotion/cjs/components/Dropdown/index.js +7 -6
- package/emotion/cjs/components/Dropzone/Dropzone.config.js +21 -86
- package/emotion/cjs/components/Dropzone/Dropzone.js +7 -11
- package/emotion/cjs/components/Dropzone/Dropzone.stories.tsx +58 -0
- package/emotion/cjs/components/Dropzone/index.js +21 -19
- package/emotion/cjs/components/EmptyState/EmptyState.config.js +18 -114
- package/emotion/cjs/components/EmptyState/EmptyState.js +7 -19
- package/emotion/cjs/components/EmptyState/EmptyState.stories.tsx +43 -0
- package/emotion/cjs/components/EmptyState/index.js +7 -6
- package/emotion/cjs/components/Flow/Flow.config.js +7 -11
- package/emotion/cjs/components/Flow/Flow.js +7 -11
- package/emotion/cjs/components/Flow/Flow.stories.tsx +133 -0
- package/emotion/cjs/components/Flow/index.js +7 -6
- package/emotion/cjs/components/Grid/Grid.config.js +19 -71
- package/emotion/cjs/components/Grid/Grid.js +18 -21
- package/emotion/cjs/components/Grid/Grid.stories.tsx +119 -0
- package/emotion/cjs/components/Grid/index.js +20 -18
- package/emotion/cjs/components/IconButton/IconButton.config.js +28 -146
- package/emotion/cjs/components/IconButton/IconButton.js +12 -12
- package/emotion/cjs/components/IconButton/IconButton.stories.tsx +94 -0
- package/emotion/cjs/components/IconButton/index.js +7 -6
- package/emotion/cjs/components/Image/Image.component-test.js +91 -0
- package/emotion/cjs/components/Image/Image.js +11 -11
- package/emotion/cjs/components/Image/Image.stories.tsx +44 -0
- package/emotion/cjs/components/Image/index.js +7 -6
- package/emotion/cjs/components/Indicator/Indicator.config.js +26 -138
- package/emotion/cjs/components/Indicator/Indicator.js +7 -19
- package/emotion/cjs/components/Indicator/Indicator.stories.tsx +34 -0
- package/emotion/cjs/components/Indicator/index.js +7 -6
- package/emotion/cjs/components/Link/Link.config.js +29 -214
- package/emotion/cjs/components/Link/Link.js +11 -12
- package/emotion/cjs/components/Link/Link.stories.tsx +57 -0
- package/emotion/cjs/components/Link/index.js +7 -6
- package/emotion/cjs/components/Mask/Mask.js +6 -10
- package/emotion/cjs/components/Mask/Mask.stories.tsx +176 -0
- package/emotion/cjs/components/Mask/index.js +7 -6
- package/emotion/cjs/components/Modal/Modal.config.js +15 -47
- package/emotion/cjs/components/Modal/Modal.js +12 -12
- package/emotion/cjs/components/Modal/Modal.stories.tsx +426 -0
- package/emotion/cjs/components/Modal/index.js +15 -16
- package/emotion/cjs/components/Notification/Notification.config.js +26 -163
- package/emotion/cjs/components/Notification/Notification.js +23 -38
- package/emotion/cjs/components/Notification/Notification.stories.tsx +221 -0
- package/emotion/cjs/components/Notification/index.js +27 -22
- package/emotion/cjs/components/NumberFormat/NumberFormat.js +13 -10
- package/emotion/cjs/components/NumberFormat/NumberFormat.stories.tsx +186 -0
- package/emotion/cjs/components/NumberFormat/index.js +7 -6
- package/emotion/cjs/components/NumberInput/NumberInput.config.js +34 -154
- package/emotion/cjs/components/NumberInput/NumberInput.js +7 -11
- package/emotion/cjs/components/NumberInput/NumberInput.stories.tsx +81 -0
- package/emotion/cjs/components/NumberInput/index.js +21 -19
- package/emotion/cjs/components/Overlay/Overlay.stories.tsx +76 -0
- package/emotion/cjs/components/Overlay/index.js +7 -6
- package/emotion/cjs/components/Pagination/Pagination.component-test.js +298 -0
- package/emotion/cjs/components/Pagination/Pagination.config.js +26 -139
- package/emotion/cjs/components/Pagination/Pagination.js +12 -12
- package/emotion/cjs/components/Pagination/Pagination.stories.tsx +139 -0
- package/emotion/cjs/components/Pagination/index.js +7 -6
- package/emotion/cjs/components/Popover/Popover.config.js +15 -43
- package/emotion/cjs/components/Popover/Popover.js +7 -11
- package/emotion/cjs/components/Popover/Popover.stories.tsx +127 -0
- package/emotion/cjs/components/Popover/index.js +7 -6
- package/emotion/cjs/components/Popover/style.css +4 -0
- package/emotion/cjs/components/Popup/Popup.js +10 -10
- package/emotion/cjs/components/Popup/Popup.stories.tsx +171 -0
- package/emotion/cjs/components/Popup/index.js +27 -22
- package/emotion/cjs/components/Portal/Portal.stories.tsx +57 -0
- package/emotion/cjs/components/Portal/index.js +7 -6
- package/emotion/cjs/components/Price/Price.config.js +11 -15
- package/emotion/cjs/components/Price/Price.js +12 -12
- package/emotion/cjs/components/Price/Price.stories.tsx +34 -0
- package/emotion/cjs/components/Price/index.js +15 -16
- package/emotion/cjs/components/Progress/Progress.config.js +21 -95
- package/emotion/cjs/components/Progress/Progress.js +8 -12
- package/emotion/cjs/components/Progress/Progress.stories.tsx +32 -0
- package/emotion/cjs/components/Progress/index.js +7 -6
- package/emotion/cjs/components/Radiobox/Radiobox.config.js +31 -106
- package/emotion/cjs/components/Radiobox/Radiobox.js +16 -19
- package/emotion/cjs/components/Radiobox/Radiobox.stories.tsx +139 -0
- package/emotion/cjs/components/Radiobox/index.js +14 -15
- package/emotion/cjs/components/Range/Range.config.js +24 -157
- package/emotion/cjs/components/Range/Range.js +11 -11
- package/emotion/cjs/components/Range/Range.stories.tsx +343 -0
- package/emotion/cjs/components/Range/index.js +15 -16
- package/emotion/cjs/components/Rating/Rating.config.js +20 -117
- package/emotion/cjs/components/Rating/Rating.js +7 -11
- package/emotion/cjs/components/Rating/Rating.stories.tsx +125 -0
- package/emotion/cjs/components/Rating/index.js +21 -19
- package/emotion/cjs/components/SSRProvider/index.js +7 -6
- package/emotion/cjs/components/Segment/Segment.js +32 -27
- package/emotion/cjs/components/Segment/Segment.stories.tsx +162 -0
- package/emotion/cjs/components/Segment/SegmentGroup.config.js +34 -130
- package/emotion/cjs/components/Segment/SegmentItem.config.js +25 -124
- package/emotion/cjs/components/Segment/index.js +26 -21
- package/emotion/cjs/components/Select/Select.config.js +35 -305
- package/emotion/cjs/components/Select/Select.js +15 -50
- package/emotion/cjs/components/Select/Select.stories.tsx +642 -0
- package/emotion/cjs/components/Select/index.js +7 -6
- package/emotion/cjs/components/Select/style.css +37 -0
- package/emotion/cjs/components/Sheet/Sheet.config.js +18 -63
- package/emotion/cjs/components/Sheet/Sheet.js +12 -12
- package/emotion/cjs/components/Sheet/Sheet.stories.tsx +361 -0
- package/emotion/cjs/components/Sheet/index.js +15 -16
- package/emotion/cjs/components/Skeleton/LineSkeleton.config.js +31 -230
- package/emotion/cjs/components/Skeleton/Skeleton.js +20 -25
- package/emotion/cjs/components/Skeleton/Skeleton.stories.tsx +116 -0
- package/emotion/cjs/components/Skeleton/index.js +26 -21
- package/emotion/cjs/components/Slider/Slider.component-test.js +223 -0
- package/emotion/cjs/components/Slider/Slider.config.js +22 -147
- package/emotion/cjs/components/Slider/Slider.js +13 -12
- package/emotion/cjs/components/Slider/Slider.stories.tsx +277 -0
- package/emotion/cjs/components/Slider/index.js +7 -6
- package/emotion/cjs/components/Spinner/Spinner.config.js +23 -107
- package/emotion/cjs/components/Spinner/Spinner.js +15 -23
- package/emotion/cjs/components/Spinner/Spinner.stories.tsx +109 -0
- package/emotion/cjs/components/Spinner/index.js +7 -6
- package/emotion/cjs/components/Steps/Steps.config.js +18 -105
- package/emotion/cjs/components/Steps/Steps.js +8 -12
- package/emotion/cjs/components/Steps/Steps.stories.tsx +191 -0
- package/emotion/cjs/components/Steps/index.js +7 -6
- package/emotion/cjs/components/Switch/Switch.config.js +31 -149
- package/emotion/cjs/components/Switch/Switch.js +8 -12
- package/emotion/cjs/components/Switch/Switch.stories.tsx +100 -0
- package/emotion/cjs/components/Switch/index.js +7 -6
- package/emotion/cjs/components/Table/Table.config.js +21 -257
- package/emotion/cjs/components/Table/Table.js +12 -12
- package/emotion/cjs/components/Table/Table.stories.tsx +551 -0
- package/emotion/cjs/components/Table/index.js +7 -6
- package/emotion/cjs/components/Tabs/TabItem.js +21 -26
- package/emotion/cjs/components/Tabs/Tabs.js +21 -26
- package/emotion/cjs/components/Tabs/Tabs.stories.tsx +639 -0
- package/emotion/cjs/components/Tabs/TabsController.js +16 -15
- package/emotion/cjs/components/Tabs/horizontal/HorizontalTabItem.config.js +30 -230
- package/emotion/cjs/components/Tabs/horizontal/HorizontalTabs.config.js +37 -266
- package/emotion/cjs/components/Tabs/index.js +35 -27
- package/emotion/cjs/components/Tabs/vertical/VerticalTabItem.config.js +24 -125
- package/emotion/cjs/components/Tabs/vertical/VerticalTabs.config.js +24 -98
- package/emotion/cjs/components/TextArea/TextArea.config.js +42 -367
- package/emotion/cjs/components/TextArea/TextArea.js +12 -12
- package/emotion/cjs/components/TextArea/TextArea.stories.tsx +228 -0
- package/emotion/cjs/components/TextArea/index.js +7 -6
- package/emotion/cjs/components/TextField/TextField.config.js +40 -338
- package/emotion/cjs/components/TextField/TextField.js +11 -11
- package/emotion/cjs/components/TextField/TextField.stories.tsx +260 -0
- package/emotion/cjs/components/TextField/index.js +15 -16
- package/emotion/cjs/components/Toast/Toast.config.js +35 -127
- package/emotion/cjs/components/Toast/Toast.js +14 -26
- package/emotion/cjs/components/Toast/Toast.stories.tsx +156 -0
- package/emotion/cjs/components/Toast/index.js +20 -18
- package/emotion/cjs/components/ToastNew/ToastNew.config.js +21 -80
- package/emotion/cjs/components/ToastNew/ToastNew.js +8 -20
- package/emotion/cjs/components/ToastNew/ToastNew.stories.tsx +87 -0
- package/emotion/cjs/components/ToastNew/index.js +14 -15
- package/emotion/cjs/components/Tokens/Colors/Colors.stories.tsx +196 -0
- package/emotion/cjs/components/Tokens/Colors/Colors.styles.js +27 -147
- package/emotion/cjs/components/Tokens/NumberTokens/CornerRadius.stories.tsx +93 -0
- package/emotion/cjs/components/Tokens/NumberTokens/NumberTokens.styles.js +13 -70
- package/emotion/cjs/components/Tokens/NumberTokens/Spacing.stories.tsx +93 -0
- package/emotion/cjs/components/Tokens/Typography/Typography.stories.tsx +277 -0
- package/emotion/cjs/components/Tokens/Typography/Typography.styles.js +44 -204
- package/emotion/cjs/components/Toolbar/Toolbar.config.js +18 -57
- package/emotion/cjs/components/Toolbar/Toolbar.js +13 -21
- package/emotion/cjs/components/Toolbar/Toolbar.stories.tsx +64 -0
- package/emotion/cjs/components/Toolbar/index.js +21 -19
- package/emotion/cjs/components/Tooltip/Tooltip.config.js +19 -71
- package/emotion/cjs/components/Tooltip/Tooltip.js +7 -11
- package/emotion/cjs/components/Tooltip/Tooltip.stories.tsx +152 -0
- package/emotion/cjs/components/Tooltip/index.js +7 -6
- package/emotion/cjs/components/Tree/Tree.config.js +18 -83
- package/emotion/cjs/components/Tree/Tree.js +7 -11
- package/emotion/cjs/components/Tree/Tree.stories.tsx +146 -0
- package/emotion/cjs/components/Tree/index.js +7 -6
- package/emotion/cjs/components/Typography/Body.config.js +47 -161
- package/emotion/cjs/components/Typography/Dspl.config.js +31 -105
- package/emotion/cjs/components/Typography/Heading.config.js +47 -161
- package/emotion/cjs/components/Typography/Text.config.js +39 -133
- package/emotion/cjs/components/Typography/Typography.js +59 -116
- package/emotion/cjs/components/Typography/Typography.stories.tsx +243 -0
- package/emotion/cjs/components/Typography/index.js +106 -62
- package/emotion/cjs/components/ViewContainer/ViewContainer.config.js +14 -46
- package/emotion/cjs/components/ViewContainer/ViewContainer.js +7 -11
- package/emotion/cjs/components/ViewContainer/index.js +7 -6
- package/emotion/cjs/index.js +729 -82
- package/emotion/cjs/mixins/index.js +20 -61
- package/emotion/cjs/tokens/index.js +255 -126
- package/emotion/es/components/Accordion/Accordion.config.js +14 -92
- package/emotion/es/components/Accordion/Accordion.js +3 -3
- package/emotion/es/components/Accordion/Accordion.stories.tsx +159 -0
- package/emotion/es/components/Accordion/index.js +1 -1
- package/emotion/es/components/Attach/Attach.config.js +21 -258
- package/emotion/es/components/Attach/Attach.js +4 -2
- package/emotion/es/components/Attach/Attach.stories.tsx +157 -0
- package/emotion/es/components/Attach/index.js +1 -1
- package/emotion/es/components/Autocomplete/Autocomplete.config.js +25 -238
- package/emotion/es/components/Autocomplete/Autocomplete.js +2 -2
- package/emotion/es/components/Autocomplete/Autocomplete.stories.tsx +170 -0
- package/emotion/es/components/Autocomplete/index.js +1 -1
- package/emotion/es/components/Avatar/Avatar.config.js +26 -188
- package/emotion/es/components/Avatar/Avatar.js +3 -3
- package/emotion/es/components/Avatar/Avatar.stories.tsx +74 -0
- package/emotion/es/components/Avatar/index.js +1 -1
- package/emotion/es/components/AvatarGroup/AvatarGroup.js +2 -2
- package/emotion/es/components/AvatarGroup/AvatarGroup.stories.tsx +71 -0
- package/emotion/es/components/AvatarGroup/index.js +1 -1
- package/emotion/es/components/Badge/Badge.config.js +25 -136
- package/emotion/es/components/Badge/Badge.js +4 -2
- package/emotion/es/components/Badge/Badge.stories.tsx +87 -0
- package/emotion/es/components/Badge/index.js +1 -1
- package/emotion/es/components/Breadcrumbs/Breadcrumbs.config.js +13 -51
- package/emotion/es/components/Breadcrumbs/Breadcrumbs.js +5 -3
- package/emotion/es/components/Breadcrumbs/Breadcrumbs.stories.tsx +82 -0
- package/emotion/es/components/Breadcrumbs/index.js +1 -1
- package/emotion/es/components/Button/Button.config.js +25 -165
- package/emotion/es/components/Button/Button.js +28 -89
- package/emotion/es/components/Button/Button.stories.tsx +212 -0
- package/emotion/es/components/Button/index.js +1 -1
- package/emotion/es/components/ButtonBase/index.js +1 -1
- package/emotion/es/components/ButtonGroup/ButtonGroup.config.js +33 -219
- package/emotion/es/components/ButtonGroup/ButtonGroup.js +4 -2
- package/emotion/es/components/ButtonGroup/ButtonGroup.stories.tsx +109 -0
- package/emotion/es/components/ButtonGroup/index.js +1 -1
- package/emotion/es/components/Calendar/Calendar.js +12 -12
- package/emotion/es/components/Calendar/Calendar.stories.tsx +304 -0
- package/emotion/es/components/Calendar/CalendarBase.config.js +13 -119
- package/emotion/es/components/Calendar/CalendarDouble.config.js +13 -119
- package/emotion/es/components/Calendar/index.js +1 -1
- package/emotion/es/components/Card/Card.config.js +15 -72
- package/emotion/es/components/Card/Card.js +6 -4
- package/emotion/es/components/Card/Card.stories.tsx +281 -0
- package/emotion/es/components/Card/index.js +1 -1
- package/emotion/es/components/Cell/Cell.config.js +11 -101
- package/emotion/es/components/Cell/Cell.js +5 -3
- package/emotion/es/components/Cell/Cell.stories.tsx +97 -0
- package/emotion/es/components/Cell/index.js +1 -1
- package/emotion/es/components/Checkbox/Checkbox.config.js +20 -95
- package/emotion/es/components/Checkbox/Checkbox.js +4 -3
- package/emotion/es/components/Checkbox/Checkbox.stories.tsx +232 -0
- package/emotion/es/components/Checkbox/index.js +1 -1
- package/emotion/es/components/Chip/Chip.config.js +20 -153
- package/emotion/es/components/Chip/Chip.js +5 -3
- package/emotion/es/components/Chip/Chip.stories.tsx +93 -0
- package/emotion/es/components/Chip/index.js +1 -1
- package/emotion/es/components/ChipGroup/ChipGroup.config.js +19 -118
- package/emotion/es/components/ChipGroup/ChipGroup.js +2 -2
- package/emotion/es/components/ChipGroup/ChipGroup.stories.tsx +79 -0
- package/emotion/es/components/ChipGroup/index.js +1 -1
- package/emotion/es/components/Combobox/Combobox.config.js +25 -304
- package/emotion/es/components/Combobox/Combobox.js +9 -36
- package/emotion/es/components/Combobox/Combobox.stories.tsx +604 -0
- package/emotion/es/components/Combobox/index.js +1 -1
- package/emotion/es/components/Counter/Counter.config.js +16 -86
- package/emotion/es/components/Counter/Counter.js +4 -2
- package/emotion/es/components/Counter/Counter.stories.tsx +34 -0
- package/emotion/es/components/Counter/index.js +1 -1
- package/emotion/es/components/DatePicker/DatePicker.config.js +19 -255
- package/emotion/es/components/DatePicker/DatePicker.js +4 -4
- package/emotion/es/components/DatePicker/DatePicker.stories.tsx +309 -0
- package/emotion/es/components/DatePicker/index.js +1 -1
- package/emotion/es/components/Divider/Divider.config.js +22 -100
- package/emotion/es/components/Divider/Divider.js +4 -2
- package/emotion/es/components/Divider/Divider.stories.tsx +58 -0
- package/emotion/es/components/Divider/index.js +1 -1
- package/emotion/es/components/Drawer/Drawer.config.js +17 -70
- package/emotion/es/components/Drawer/Drawer.js +16 -8
- package/emotion/es/components/Drawer/Drawer.stories.tsx +217 -0
- package/emotion/es/components/Drawer/index.js +1 -1
- package/emotion/es/components/Dropdown/Dropdown.config.js +13 -85
- package/emotion/es/components/Dropdown/Dropdown.js +9 -36
- package/emotion/es/components/Dropdown/Dropdown.stories.tsx +331 -0
- package/emotion/es/components/Dropdown/index.js +1 -1
- package/emotion/es/components/Dropzone/Dropzone.config.js +16 -77
- package/emotion/es/components/Dropzone/Dropzone.js +2 -2
- package/emotion/es/components/Dropzone/Dropzone.stories.tsx +58 -0
- package/emotion/es/components/Dropzone/index.js +1 -1
- package/emotion/es/components/EmptyState/EmptyState.config.js +13 -105
- package/emotion/es/components/EmptyState/EmptyState.js +2 -2
- package/emotion/es/components/EmptyState/EmptyState.stories.tsx +43 -0
- package/emotion/es/components/EmptyState/index.js +1 -1
- package/emotion/es/components/Flow/Flow.config.js +3 -3
- package/emotion/es/components/Flow/Flow.js +2 -2
- package/emotion/es/components/Flow/Flow.stories.tsx +133 -0
- package/emotion/es/components/Flow/index.js +1 -1
- package/emotion/es/components/Grid/Grid.config.js +14 -62
- package/emotion/es/components/Grid/Grid.js +2 -2
- package/emotion/es/components/Grid/Grid.stories.tsx +119 -0
- package/emotion/es/components/Grid/index.js +1 -1
- package/emotion/es/components/IconButton/IconButton.config.js +23 -137
- package/emotion/es/components/IconButton/IconButton.js +5 -3
- package/emotion/es/components/IconButton/IconButton.stories.tsx +94 -0
- package/emotion/es/components/IconButton/index.js +1 -1
- package/emotion/es/components/Image/Image.component-test.js +85 -0
- package/emotion/es/components/Image/Image.js +5 -3
- package/emotion/es/components/Image/Image.stories.tsx +44 -0
- package/emotion/es/components/Image/index.js +1 -1
- package/emotion/es/components/Indicator/Indicator.config.js +21 -129
- package/emotion/es/components/Indicator/Indicator.js +3 -3
- package/emotion/es/components/Indicator/Indicator.stories.tsx +34 -0
- package/emotion/es/components/Indicator/index.js +1 -1
- package/emotion/es/components/Link/Link.config.js +24 -205
- package/emotion/es/components/Link/Link.js +4 -3
- package/emotion/es/components/Link/Link.stories.tsx +57 -0
- package/emotion/es/components/Link/index.js +1 -1
- package/emotion/es/components/Mask/Mask.js +1 -1
- package/emotion/es/components/Mask/Mask.stories.tsx +176 -0
- package/emotion/es/components/Mask/index.js +1 -1
- package/emotion/es/components/Modal/Modal.config.js +10 -38
- package/emotion/es/components/Modal/Modal.js +5 -3
- package/emotion/es/components/Modal/Modal.stories.tsx +426 -0
- package/emotion/es/components/Modal/index.js +1 -1
- package/emotion/es/components/Notification/Notification.config.js +21 -154
- package/emotion/es/components/Notification/Notification.js +15 -11
- package/emotion/es/components/Notification/Notification.stories.tsx +221 -0
- package/emotion/es/components/Notification/index.js +1 -1
- package/emotion/es/components/NumberFormat/NumberFormat.js +9 -1
- package/emotion/es/components/NumberFormat/NumberFormat.stories.tsx +186 -0
- package/emotion/es/components/NumberFormat/index.js +1 -1
- package/emotion/es/components/NumberInput/NumberInput.config.js +29 -145
- package/emotion/es/components/NumberInput/NumberInput.js +2 -2
- package/emotion/es/components/NumberInput/NumberInput.stories.tsx +81 -0
- package/emotion/es/components/NumberInput/index.js +1 -1
- package/emotion/es/components/Overlay/Overlay.stories.tsx +76 -0
- package/emotion/es/components/Overlay/index.js +1 -1
- package/emotion/es/components/Pagination/Pagination.component-test.js +293 -0
- package/emotion/es/components/Pagination/Pagination.config.js +21 -130
- package/emotion/es/components/Pagination/Pagination.js +5 -3
- package/emotion/es/components/Pagination/Pagination.stories.tsx +139 -0
- package/emotion/es/components/Pagination/index.js +1 -1
- package/emotion/es/components/Popover/Popover.config.js +10 -34
- package/emotion/es/components/Popover/Popover.js +2 -2
- package/emotion/es/components/Popover/Popover.stories.tsx +127 -0
- package/emotion/es/components/Popover/index.js +1 -1
- package/emotion/es/components/Popover/style.css +4 -0
- package/emotion/es/components/Popup/Popup.js +4 -2
- package/emotion/es/components/Popup/Popup.stories.tsx +171 -0
- package/emotion/es/components/Popup/index.js +1 -1
- package/emotion/es/components/Portal/Portal.stories.tsx +57 -0
- package/emotion/es/components/Portal/index.js +1 -1
- package/emotion/es/components/Price/Price.config.js +7 -7
- package/emotion/es/components/Price/Price.js +5 -3
- package/emotion/es/components/Price/Price.stories.tsx +34 -0
- package/emotion/es/components/Price/index.js +1 -1
- package/emotion/es/components/Progress/Progress.config.js +16 -86
- package/emotion/es/components/Progress/Progress.js +3 -3
- package/emotion/es/components/Progress/Progress.stories.tsx +32 -0
- package/emotion/es/components/Progress/index.js +1 -1
- package/emotion/es/components/Radiobox/Radiobox.config.js +26 -97
- package/emotion/es/components/Radiobox/Radiobox.js +5 -4
- package/emotion/es/components/Radiobox/Radiobox.stories.tsx +139 -0
- package/emotion/es/components/Radiobox/index.js +1 -1
- package/emotion/es/components/Range/Range.config.js +19 -148
- package/emotion/es/components/Range/Range.js +4 -2
- package/emotion/es/components/Range/Range.stories.tsx +343 -0
- package/emotion/es/components/Range/index.js +1 -1
- package/emotion/es/components/Rating/Rating.config.js +15 -108
- package/emotion/es/components/Rating/Rating.js +2 -2
- package/emotion/es/components/Rating/Rating.stories.tsx +125 -0
- package/emotion/es/components/Rating/index.js +1 -1
- package/emotion/es/components/SSRProvider/index.js +1 -1
- package/emotion/es/components/Segment/Segment.js +10 -5
- package/emotion/es/components/Segment/Segment.stories.tsx +162 -0
- package/emotion/es/components/Segment/SegmentGroup.config.js +29 -121
- package/emotion/es/components/Segment/SegmentItem.config.js +20 -115
- package/emotion/es/components/Segment/index.js +1 -1
- package/emotion/es/components/Select/Select.config.js +29 -295
- package/emotion/es/components/Select/Select.js +9 -36
- package/emotion/es/components/Select/Select.stories.tsx +642 -0
- package/emotion/es/components/Select/index.js +1 -1
- package/emotion/es/components/Select/style.css +37 -0
- package/emotion/es/components/Sheet/Sheet.config.js +13 -54
- package/emotion/es/components/Sheet/Sheet.js +5 -3
- package/emotion/es/components/Sheet/Sheet.stories.tsx +361 -0
- package/emotion/es/components/Sheet/index.js +1 -1
- package/emotion/es/components/Skeleton/LineSkeleton.config.js +26 -221
- package/emotion/es/components/Skeleton/Skeleton.js +4 -4
- package/emotion/es/components/Skeleton/Skeleton.stories.tsx +116 -0
- package/emotion/es/components/Skeleton/index.js +1 -1
- package/emotion/es/components/Slider/Slider.component-test.js +220 -0
- package/emotion/es/components/Slider/Slider.config.js +17 -138
- package/emotion/es/components/Slider/Slider.js +5 -3
- package/emotion/es/components/Slider/Slider.stories.tsx +277 -0
- package/emotion/es/components/Slider/index.js +1 -1
- package/emotion/es/components/Spinner/Spinner.config.js +18 -98
- package/emotion/es/components/Spinner/Spinner.js +6 -8
- package/emotion/es/components/Spinner/Spinner.stories.tsx +109 -0
- package/emotion/es/components/Spinner/index.js +1 -1
- package/emotion/es/components/Steps/Steps.config.js +13 -96
- package/emotion/es/components/Steps/Steps.js +3 -3
- package/emotion/es/components/Steps/Steps.stories.tsx +191 -0
- package/emotion/es/components/Steps/index.js +1 -1
- package/emotion/es/components/Switch/Switch.config.js +26 -140
- package/emotion/es/components/Switch/Switch.js +3 -3
- package/emotion/es/components/Switch/Switch.stories.tsx +100 -0
- package/emotion/es/components/Switch/index.js +1 -1
- package/emotion/es/components/Table/Table.config.js +16 -248
- package/emotion/es/components/Table/Table.js +5 -3
- package/emotion/es/components/Table/Table.stories.tsx +551 -0
- package/emotion/es/components/Table/index.js +1 -1
- package/emotion/es/components/Tabs/TabItem.js +11 -10
- package/emotion/es/components/Tabs/Tabs.js +11 -10
- package/emotion/es/components/Tabs/Tabs.stories.tsx +639 -0
- package/emotion/es/components/Tabs/TabsController.js +7 -5
- package/emotion/es/components/Tabs/horizontal/HorizontalTabItem.config.js +25 -221
- package/emotion/es/components/Tabs/horizontal/HorizontalTabs.config.js +32 -257
- package/emotion/es/components/Tabs/index.js +1 -1
- package/emotion/es/components/Tabs/vertical/VerticalTabItem.config.js +19 -116
- package/emotion/es/components/Tabs/vertical/VerticalTabs.config.js +19 -89
- package/emotion/es/components/TextArea/TextArea.config.js +37 -358
- package/emotion/es/components/TextArea/TextArea.js +5 -3
- package/emotion/es/components/TextArea/TextArea.stories.tsx +228 -0
- package/emotion/es/components/TextArea/index.js +1 -1
- package/emotion/es/components/TextField/TextField.config.js +35 -329
- package/emotion/es/components/TextField/TextField.js +4 -2
- package/emotion/es/components/TextField/TextField.stories.tsx +260 -0
- package/emotion/es/components/TextField/index.js +1 -1
- package/emotion/es/components/Toast/Toast.config.js +30 -118
- package/emotion/es/components/Toast/Toast.js +4 -4
- package/emotion/es/components/Toast/Toast.stories.tsx +156 -0
- package/emotion/es/components/Toast/index.js +1 -1
- package/emotion/es/components/ToastNew/ToastNew.config.js +16 -71
- package/emotion/es/components/ToastNew/ToastNew.js +3 -3
- package/emotion/es/components/ToastNew/ToastNew.stories.tsx +87 -0
- package/emotion/es/components/ToastNew/index.js +1 -1
- package/emotion/es/components/Tokens/Colors/Colors.stories.tsx +196 -0
- package/emotion/es/components/Tokens/Colors/Colors.styles.js +19 -90
- package/emotion/es/components/Tokens/NumberTokens/CornerRadius.stories.tsx +93 -0
- package/emotion/es/components/Tokens/NumberTokens/NumberTokens.styles.js +8 -37
- package/emotion/es/components/Tokens/NumberTokens/Spacing.stories.tsx +93 -0
- package/emotion/es/components/Tokens/Typography/Typography.stories.tsx +277 -0
- package/emotion/es/components/Tokens/Typography/Typography.styles.js +36 -135
- package/emotion/es/components/Toolbar/Toolbar.config.js +13 -48
- package/emotion/es/components/Toolbar/Toolbar.js +6 -4
- package/emotion/es/components/Toolbar/Toolbar.stories.tsx +64 -0
- package/emotion/es/components/Toolbar/index.js +1 -1
- package/emotion/es/components/Tooltip/Tooltip.config.js +14 -62
- package/emotion/es/components/Tooltip/Tooltip.js +2 -2
- package/emotion/es/components/Tooltip/Tooltip.stories.tsx +152 -0
- package/emotion/es/components/Tooltip/index.js +1 -1
- package/emotion/es/components/Tree/Tree.config.js +13 -74
- package/emotion/es/components/Tree/Tree.js +2 -2
- package/emotion/es/components/Tree/Tree.stories.tsx +146 -0
- package/emotion/es/components/Tree/index.js +1 -1
- package/emotion/es/components/Typography/Body.config.js +38 -131
- package/emotion/es/components/Typography/Dspl.config.js +24 -83
- package/emotion/es/components/Typography/Heading.config.js +38 -131
- package/emotion/es/components/Typography/Text.config.js +31 -107
- package/emotion/es/components/Typography/Typography.js +35 -35
- package/emotion/es/components/Typography/Typography.stories.tsx +243 -0
- package/emotion/es/components/Typography/index.js +1 -1
- package/emotion/es/components/ViewContainer/ViewContainer.config.js +8 -36
- package/emotion/es/components/ViewContainer/ViewContainer.js +2 -2
- package/emotion/es/components/ViewContainer/index.js +1 -1
- package/emotion/es/index.js +1 -2
- package/emotion/es/mixins/index.js +1 -1
- package/emotion/es/tokens/index.js +1 -1
- package/es/components/Accordion/Accordion.config.js +14 -92
- package/es/components/Accordion/Accordion.js +3 -3
- package/es/components/Accordion/index.js +1 -1
- package/es/components/Attach/Attach.config.js +21 -258
- package/es/components/Attach/Attach.js +4 -2
- package/es/components/Attach/index.js +1 -1
- package/es/components/Autocomplete/Autocomplete.config.js +25 -238
- package/es/components/Autocomplete/Autocomplete.js +2 -2
- package/es/components/Autocomplete/index.js +1 -1
- package/es/components/Avatar/Avatar.config.js +26 -188
- package/es/components/Avatar/Avatar.js +3 -3
- package/es/components/Avatar/index.js +1 -1
- package/es/components/AvatarGroup/AvatarGroup.js +2 -2
- package/es/components/AvatarGroup/index.js +1 -1
- package/es/components/Badge/Badge.config.js +25 -136
- package/es/components/Badge/Badge.js +4 -2
- package/es/components/Badge/index.js +1 -1
- package/es/components/Breadcrumbs/Breadcrumbs.config.js +13 -51
- package/es/components/Breadcrumbs/Breadcrumbs.js +5 -3
- package/es/components/Breadcrumbs/index.js +1 -1
- package/es/components/Button/Button.config.js +25 -165
- package/es/components/Button/Button.js +28 -89
- package/es/components/Button/index.js +1 -1
- package/es/components/ButtonBase/index.js +1 -1
- package/es/components/ButtonGroup/ButtonGroup.config.js +33 -219
- package/es/components/ButtonGroup/ButtonGroup.js +4 -2
- package/es/components/ButtonGroup/index.js +1 -1
- package/es/components/Calendar/Calendar.js +12 -12
- package/es/components/Calendar/CalendarBase.config.js +13 -119
- package/es/components/Calendar/CalendarDouble.config.js +13 -119
- package/es/components/Calendar/index.js +1 -1
- package/es/components/Card/Card.config.js +15 -72
- package/es/components/Card/Card.js +6 -4
- package/es/components/Card/index.js +1 -1
- package/es/components/Cell/Cell.config.js +11 -101
- package/es/components/Cell/Cell.js +5 -3
- package/es/components/Cell/index.js +1 -1
- package/es/components/Checkbox/Checkbox.config.js +20 -95
- package/es/components/Checkbox/Checkbox.js +4 -3
- package/es/components/Checkbox/index.js +1 -1
- package/es/components/Chip/Chip.config.js +20 -153
- package/es/components/Chip/Chip.js +5 -3
- package/es/components/Chip/index.js +1 -1
- package/es/components/ChipGroup/ChipGroup.config.js +19 -118
- package/es/components/ChipGroup/ChipGroup.js +2 -2
- package/es/components/ChipGroup/index.js +1 -1
- package/es/components/Combobox/Combobox.config.js +25 -304
- package/es/components/Combobox/Combobox.js +9 -36
- package/es/components/Combobox/index.js +1 -1
- package/es/components/Counter/Counter.config.js +16 -86
- package/es/components/Counter/Counter.js +4 -2
- package/es/components/Counter/index.js +1 -1
- package/es/components/DatePicker/DatePicker.config.js +19 -255
- package/es/components/DatePicker/DatePicker.js +4 -4
- package/es/components/DatePicker/index.js +1 -1
- package/es/components/Divider/Divider.config.js +22 -100
- package/es/components/Divider/Divider.js +4 -2
- package/es/components/Divider/index.js +1 -1
- package/es/components/Drawer/Drawer.config.js +17 -70
- package/es/components/Drawer/Drawer.js +16 -8
- package/es/components/Drawer/index.js +1 -1
- package/es/components/Dropdown/Dropdown.config.js +13 -85
- package/es/components/Dropdown/Dropdown.js +9 -36
- package/es/components/Dropdown/index.js +1 -1
- package/es/components/Dropzone/Dropzone.config.js +16 -77
- package/es/components/Dropzone/Dropzone.js +2 -2
- package/es/components/Dropzone/index.js +1 -1
- package/es/components/EmptyState/EmptyState.config.js +13 -105
- package/es/components/EmptyState/EmptyState.js +2 -2
- package/es/components/EmptyState/index.js +1 -1
- package/es/components/Flow/Flow.config.js +3 -3
- package/es/components/Flow/Flow.js +2 -2
- package/es/components/Flow/index.js +1 -1
- package/es/components/Grid/Grid.config.js +14 -62
- package/es/components/Grid/Grid.js +2 -2
- package/es/components/Grid/index.js +1 -1
- package/es/components/IconButton/IconButton.config.js +23 -137
- package/es/components/IconButton/IconButton.js +5 -3
- package/es/components/IconButton/index.js +1 -1
- package/es/components/Image/Image.component-test.js +86 -0
- package/es/components/Image/Image.js +5 -3
- package/es/components/Image/index.js +1 -1
- package/es/components/Indicator/Indicator.config.js +21 -129
- package/es/components/Indicator/Indicator.js +3 -3
- package/es/components/Indicator/index.js +1 -1
- package/es/components/Link/Link.config.js +24 -205
- package/es/components/Link/Link.js +4 -3
- package/es/components/Link/index.js +1 -1
- package/es/components/Mask/Mask.js +1 -1
- package/es/components/Mask/index.js +1 -1
- package/es/components/Modal/Modal.config.js +10 -38
- package/es/components/Modal/Modal.js +5 -3
- package/es/components/Modal/index.js +1 -1
- package/es/components/Notification/Notification.config.js +21 -154
- package/es/components/Notification/Notification.js +15 -11
- package/es/components/Notification/index.js +1 -1
- package/es/components/NumberFormat/NumberFormat.js +9 -1
- package/es/components/NumberFormat/index.js +1 -1
- package/es/components/NumberInput/NumberInput.config.js +29 -145
- package/es/components/NumberInput/NumberInput.js +2 -2
- package/es/components/NumberInput/index.js +1 -1
- package/es/components/Overlay/index.js +1 -1
- package/es/components/Pagination/Pagination.component-test.js +293 -0
- package/es/components/Pagination/Pagination.config.js +21 -130
- package/es/components/Pagination/Pagination.js +5 -3
- package/es/components/Pagination/index.js +1 -1
- package/es/components/Popover/Popover.config.js +10 -34
- package/es/components/Popover/Popover.js +2 -2
- package/es/components/Popover/index.js +1 -1
- package/es/components/Popup/Popup.js +4 -2
- package/es/components/Popup/index.js +1 -1
- package/es/components/Portal/index.js +1 -1
- package/es/components/Price/Price.config.js +7 -7
- package/es/components/Price/Price.js +5 -3
- package/es/components/Price/index.js +1 -1
- package/es/components/Progress/Progress.config.js +16 -86
- package/es/components/Progress/Progress.js +3 -3
- package/es/components/Progress/index.js +1 -1
- package/es/components/Radiobox/Radiobox.config.js +26 -97
- package/es/components/Radiobox/Radiobox.js +5 -4
- package/es/components/Radiobox/index.js +1 -1
- package/es/components/Range/Range.config.js +19 -148
- package/es/components/Range/Range.js +4 -2
- package/es/components/Range/index.js +1 -1
- package/es/components/Rating/Rating.config.js +15 -108
- package/es/components/Rating/Rating.js +2 -2
- package/es/components/Rating/index.js +1 -1
- package/es/components/SSRProvider/index.js +1 -1
- package/es/components/Segment/Segment.js +10 -5
- package/es/components/Segment/SegmentGroup.config.js +29 -121
- package/es/components/Segment/SegmentItem.config.js +20 -115
- package/es/components/Segment/index.js +1 -1
- package/es/components/Select/Select.config.js +29 -295
- package/es/components/Select/Select.js +9 -36
- package/es/components/Select/index.js +1 -1
- package/es/components/Sheet/Sheet.config.js +13 -54
- package/es/components/Sheet/Sheet.js +5 -3
- package/es/components/Sheet/index.js +1 -1
- package/es/components/Skeleton/LineSkeleton.config.js +26 -221
- package/es/components/Skeleton/Skeleton.js +4 -4
- package/es/components/Skeleton/index.js +1 -1
- package/es/components/Slider/Slider.component-test.js +220 -0
- package/es/components/Slider/Slider.config.js +17 -138
- package/es/components/Slider/Slider.js +5 -3
- package/es/components/Slider/index.js +1 -1
- package/es/components/Spinner/Spinner.config.js +18 -98
- package/es/components/Spinner/Spinner.js +6 -8
- package/es/components/Spinner/index.js +1 -1
- package/es/components/Steps/Steps.config.js +13 -96
- package/es/components/Steps/Steps.js +3 -3
- package/es/components/Steps/index.js +1 -1
- package/es/components/Switch/Switch.config.js +26 -140
- package/es/components/Switch/Switch.js +3 -3
- package/es/components/Switch/index.js +1 -1
- package/es/components/Table/Table.config.js +16 -248
- package/es/components/Table/Table.js +5 -3
- package/es/components/Table/index.js +1 -1
- package/es/components/Tabs/TabItem.js +11 -10
- package/es/components/Tabs/Tabs.js +11 -10
- package/es/components/Tabs/TabsController.js +7 -5
- package/es/components/Tabs/horizontal/HorizontalTabItem.config.js +25 -221
- package/es/components/Tabs/horizontal/HorizontalTabs.config.js +32 -257
- package/es/components/Tabs/index.js +1 -1
- package/es/components/Tabs/vertical/VerticalTabItem.config.js +19 -116
- package/es/components/Tabs/vertical/VerticalTabs.config.js +19 -89
- package/es/components/TextArea/TextArea.config.js +37 -358
- package/es/components/TextArea/TextArea.js +5 -3
- package/es/components/TextArea/index.js +1 -1
- package/es/components/TextField/TextField.config.js +35 -329
- package/es/components/TextField/TextField.js +4 -2
- package/es/components/TextField/index.js +1 -1
- package/es/components/Toast/Toast.config.js +30 -118
- package/es/components/Toast/Toast.js +4 -4
- package/es/components/Toast/index.js +1 -1
- package/es/components/ToastNew/ToastNew.config.js +16 -71
- package/es/components/ToastNew/ToastNew.js +3 -3
- package/es/components/ToastNew/index.js +1 -1
- package/es/components/Tokens/Colors/Colors.styles.js +43 -90
- package/es/components/Tokens/NumberTokens/NumberTokens.styles.js +18 -37
- package/es/components/Tokens/Typography/Typography.styles.js +68 -135
- package/es/components/Toolbar/Toolbar.config.js +13 -48
- package/es/components/Toolbar/Toolbar.js +6 -4
- package/es/components/Toolbar/index.js +1 -1
- package/es/components/Tooltip/Tooltip.config.js +14 -62
- package/es/components/Tooltip/Tooltip.js +2 -2
- package/es/components/Tooltip/index.js +1 -1
- package/es/components/Tree/Tree.config.js +13 -74
- package/es/components/Tree/Tree.js +2 -2
- package/es/components/Tree/index.js +1 -1
- package/es/components/Typography/Body.config.js +38 -131
- package/es/components/Typography/Dspl.config.js +24 -83
- package/es/components/Typography/Heading.config.js +38 -131
- package/es/components/Typography/Text.config.js +31 -107
- package/es/components/Typography/Typography.js +35 -35
- package/es/components/Typography/index.js +1 -1
- package/es/components/ViewContainer/ViewContainer.config.js +8 -36
- package/es/components/ViewContainer/ViewContainer.js +2 -2
- package/es/components/ViewContainer/index.js +1 -1
- package/es/index.js +1 -2
- package/es/mixins/index.js +1 -1
- package/es/tokens/index.js +1 -1
- package/index.d.ts +0 -1
- package/index.js +729 -82
- package/mixins/index.js +20 -61
- package/package.json +12 -12
- package/tokens/index.js +255 -126
- package/components/Carousel/Carousel.config.d.ts +0 -14
- package/components/Carousel/Carousel.config.js +0 -62
- package/components/Carousel/Carousel.d.ts +0 -9
- package/components/Carousel/Carousel.js +0 -14
- package/components/Carousel/index.d.ts +0 -2
- package/components/Carousel/index.js +0 -20
- package/emotion/cjs/components/Carousel/Carousel.config.js +0 -62
- package/emotion/cjs/components/Carousel/Carousel.js +0 -14
- package/emotion/cjs/components/Carousel/index.js +0 -20
- package/emotion/cjs/helpers/index.js +0 -25
- package/emotion/es/components/Carousel/Carousel.config.js +0 -52
- package/emotion/es/components/Carousel/Carousel.js +0 -5
- package/emotion/es/components/Carousel/index.js +0 -2
- package/es/components/Carousel/Carousel.config.js +0 -52
- package/es/components/Carousel/Carousel.js +0 -5
- package/es/components/Carousel/index.js +0 -2
- /package/emotion/{es/helpers/index.js → cjs/helpers/index.ts} +0 -0
- /package/{es/helpers/index.js → emotion/es/helpers/index.ts} +0 -0
@@ -0,0 +1,304 @@
|
|
1
|
+
import React, { ComponentProps, useCallback, useRef, useState } from 'react';
|
2
|
+
import type { StoryObj, Meta } from '@storybook/react';
|
3
|
+
import { action } from '@storybook/addon-actions';
|
4
|
+
import { disableProps, InSpacingDecorator } from '@salutejs/plasma-sb-utils';
|
5
|
+
|
6
|
+
import { Tabs } from '../Tabs/Tabs';
|
7
|
+
import { TabItem } from '../Tabs/TabItem';
|
8
|
+
import { H3 } from '../Typography';
|
9
|
+
|
10
|
+
import { Calendar, CalendarBase, CalendarBaseRange, CalendarDouble, CalendarDoubleRange } from '.';
|
11
|
+
|
12
|
+
const onChangeValue = action('onChangeValue');
|
13
|
+
|
14
|
+
const meta: Meta<CalendarProps> = {
|
15
|
+
title: 'Data Entry/Calendar',
|
16
|
+
decorators: [InSpacingDecorator],
|
17
|
+
component: Calendar,
|
18
|
+
argTypes: {
|
19
|
+
min: {
|
20
|
+
control: {
|
21
|
+
type: 'date',
|
22
|
+
},
|
23
|
+
},
|
24
|
+
max: {
|
25
|
+
control: {
|
26
|
+
type: 'date',
|
27
|
+
},
|
28
|
+
},
|
29
|
+
...disableProps([
|
30
|
+
'size',
|
31
|
+
'value',
|
32
|
+
'onChangeValue',
|
33
|
+
'date',
|
34
|
+
'eventList',
|
35
|
+
'disabledList',
|
36
|
+
'eventMonthList',
|
37
|
+
'disabledMonthList',
|
38
|
+
'eventQuarterList',
|
39
|
+
'disabledQuarterList',
|
40
|
+
'eventYearList',
|
41
|
+
'disabledYearList',
|
42
|
+
'type',
|
43
|
+
'view',
|
44
|
+
'onChangeStartOfRange',
|
45
|
+
]),
|
46
|
+
},
|
47
|
+
};
|
48
|
+
|
49
|
+
export default meta;
|
50
|
+
|
51
|
+
type CalendarProps = ComponentProps<typeof Calendar>;
|
52
|
+
type CalendarBaseProps = ComponentProps<typeof CalendarBase>;
|
53
|
+
type CalendarBaseRangeProps = ComponentProps<typeof CalendarBaseRange>;
|
54
|
+
const defaultMinDate = new Date(2016, 6, 1);
|
55
|
+
const defaultMaxDate = new Date(2030, 11, 24);
|
56
|
+
|
57
|
+
const getBaseEvents = (type: 'days' | 'months' | 'quarters' | 'years', datesNumber = 2) => {
|
58
|
+
const baseDate = {
|
59
|
+
day: 10,
|
60
|
+
monthIndex: 6,
|
61
|
+
year: 2023,
|
62
|
+
};
|
63
|
+
|
64
|
+
const events = [...new Array(datesNumber)].map((_, index) => {
|
65
|
+
const eventNumber = Math.floor(Math.random() * 3 + 1);
|
66
|
+
const day = type === 'days' ? baseDate.day + index : 1;
|
67
|
+
const month =
|
68
|
+
// eslint-disable-next-line no-nested-ternary
|
69
|
+
type === 'months' || type === 'quarters'
|
70
|
+
? baseDate.monthIndex + index
|
71
|
+
: type === 'days'
|
72
|
+
? baseDate.monthIndex
|
73
|
+
: 0;
|
74
|
+
const year = type === 'years' ? baseDate.year + index : baseDate.year;
|
75
|
+
|
76
|
+
return [...new Array(eventNumber)].map(() => {
|
77
|
+
return { date: new Date(year, month, day), color: 'var(--text-warning)' };
|
78
|
+
});
|
79
|
+
});
|
80
|
+
|
81
|
+
return events.flat();
|
82
|
+
};
|
83
|
+
|
84
|
+
const StoryDefault = (args: CalendarProps) => {
|
85
|
+
const { isRange, isDouble, min, max, date, includeEdgeDates, size, ...rest } = args;
|
86
|
+
const [value, setValue] = useState(new Date(2023, 10, 16));
|
87
|
+
const [valueRange, setValueRange] = useState<[Date, Date?]>([new Date(2023, 10, 16), new Date(2023, 10, 23)]);
|
88
|
+
|
89
|
+
const handleOnChange = useCallback((newValue: Date) => {
|
90
|
+
setValue(newValue);
|
91
|
+
onChangeValue(newValue);
|
92
|
+
}, []);
|
93
|
+
const handleOnRangeChange = useCallback((newValue: [Date, Date?]) => {
|
94
|
+
setValueRange(newValue);
|
95
|
+
}, []);
|
96
|
+
|
97
|
+
return (
|
98
|
+
<div style={{ height: '100vh' }}>
|
99
|
+
<Calendar
|
100
|
+
size={size}
|
101
|
+
isRange={isRange}
|
102
|
+
isDouble={isDouble}
|
103
|
+
date={date}
|
104
|
+
includeEdgeDates={includeEdgeDates}
|
105
|
+
min={min}
|
106
|
+
max={max}
|
107
|
+
{...rest}
|
108
|
+
value={(isRange ? valueRange : value) as Date & [Date, Date?]}
|
109
|
+
onChangeValue={
|
110
|
+
(isRange ? handleOnRangeChange : handleOnChange) as (value: Date | [Date, Date?]) => void
|
111
|
+
}
|
112
|
+
/>
|
113
|
+
</div>
|
114
|
+
);
|
115
|
+
};
|
116
|
+
|
117
|
+
export const Default: StoryObj<CalendarProps> = {
|
118
|
+
args: {
|
119
|
+
min: new Date(2023, 10, 1),
|
120
|
+
max: new Date(2023, 11, 24),
|
121
|
+
isDouble: false,
|
122
|
+
isRange: false,
|
123
|
+
includeEdgeDates: false,
|
124
|
+
size: 's',
|
125
|
+
stretched: false,
|
126
|
+
},
|
127
|
+
render: (args) => <StoryDefault {...args} />,
|
128
|
+
};
|
129
|
+
|
130
|
+
const StoryBase = (args: CalendarBaseProps & { displayDouble: boolean }) => {
|
131
|
+
const { min, max, includeEdgeDates, size, displayDouble, ...rest } = args;
|
132
|
+
const [value, setValue] = useState(new Date(2023, 6, 7));
|
133
|
+
const [currentState, setCurrentState] = useState('Days');
|
134
|
+
|
135
|
+
const handleOnChange = useCallback((newValue: Date, dateInfo?: unknown) => {
|
136
|
+
setValue(newValue);
|
137
|
+
onChangeValue(newValue, dateInfo);
|
138
|
+
}, []);
|
139
|
+
|
140
|
+
const eventList = useRef(getBaseEvents('days', 5));
|
141
|
+
const eventMonthList = useRef(getBaseEvents('months', 5));
|
142
|
+
const eventQuarterList = useRef(getBaseEvents('quarters'));
|
143
|
+
const eventYearList = useRef(getBaseEvents('years'));
|
144
|
+
|
145
|
+
const disabledDays = [...new Array(5)].map((_, day) => ({
|
146
|
+
date: new Date(2023, 6, 23 + day),
|
147
|
+
}));
|
148
|
+
|
149
|
+
const getCalendarComponent = ({ type, ...rest }) => {
|
150
|
+
return displayDouble ? (
|
151
|
+
<CalendarDouble
|
152
|
+
size={size}
|
153
|
+
value={value}
|
154
|
+
includeEdgeDates={includeEdgeDates}
|
155
|
+
type={type}
|
156
|
+
onChangeValue={handleOnChange}
|
157
|
+
min={min}
|
158
|
+
max={max}
|
159
|
+
{...rest}
|
160
|
+
/>
|
161
|
+
) : (
|
162
|
+
<CalendarBase
|
163
|
+
size={size}
|
164
|
+
value={value}
|
165
|
+
includeEdgeDates={includeEdgeDates}
|
166
|
+
type={type}
|
167
|
+
onChangeValue={handleOnChange}
|
168
|
+
min={min}
|
169
|
+
max={max}
|
170
|
+
{...rest}
|
171
|
+
/>
|
172
|
+
);
|
173
|
+
};
|
174
|
+
|
175
|
+
const calendarMap = {
|
176
|
+
Days: getCalendarComponent({ type: 'Days', eventList: eventList.current, disabledList: disabledDays, ...rest }),
|
177
|
+
Months: getCalendarComponent({ type: 'Months', eventMonthList: eventMonthList.current, ...rest }),
|
178
|
+
Quarters: getCalendarComponent({ type: 'Quarters', eventQuarterList: eventQuarterList.current, ...rest }),
|
179
|
+
Years: getCalendarComponent({ type: 'Years', eventYearList: eventYearList.current, ...rest }),
|
180
|
+
};
|
181
|
+
|
182
|
+
return (
|
183
|
+
<>
|
184
|
+
<H3>Тип календаря</H3>
|
185
|
+
<Tabs view="divider" size="s" hasDivider>
|
186
|
+
{Object.keys(calendarMap).map((state, i) => (
|
187
|
+
<TabItem
|
188
|
+
key={`item:${i}`}
|
189
|
+
view="divider"
|
190
|
+
selected={state === currentState}
|
191
|
+
onClick={() => setCurrentState(state)}
|
192
|
+
size="s"
|
193
|
+
>
|
194
|
+
{state}
|
195
|
+
</TabItem>
|
196
|
+
))}
|
197
|
+
</Tabs>
|
198
|
+
<div style={{ marginTop: '1rem', height: '100vh' }}>{calendarMap[currentState]}</div>
|
199
|
+
</>
|
200
|
+
);
|
201
|
+
};
|
202
|
+
|
203
|
+
export const Base: StoryObj<CalendarBaseProps & { displayDouble: boolean }> = {
|
204
|
+
argTypes: {
|
205
|
+
...disableProps(['isRange', 'isDouble']),
|
206
|
+
},
|
207
|
+
args: {
|
208
|
+
size: 's',
|
209
|
+
min: defaultMinDate,
|
210
|
+
max: defaultMaxDate,
|
211
|
+
includeEdgeDates: false,
|
212
|
+
displayDouble: false,
|
213
|
+
stretched: false,
|
214
|
+
},
|
215
|
+
render: (args) => <StoryBase {...args} />,
|
216
|
+
};
|
217
|
+
|
218
|
+
const StoryRange = (args: CalendarBaseRangeProps & { displayDouble: boolean }) => {
|
219
|
+
const { min, max, includeEdgeDates, size, displayDouble, ...rest } = args;
|
220
|
+
const [values, setValue] = useState<[Date, Date?]>([new Date(2023, 6, 1), new Date(2023, 6, 16)]);
|
221
|
+
const [currentState, setCurrentState] = useState('Days');
|
222
|
+
|
223
|
+
const handleOnChange = (newValue: [Date, Date?], dateInfo) => {
|
224
|
+
onChangeValue(newValue, dateInfo);
|
225
|
+
setValue(newValue);
|
226
|
+
};
|
227
|
+
|
228
|
+
const eventList = useRef(getBaseEvents('days', 5));
|
229
|
+
const eventMonthList = useRef(getBaseEvents('months', 5));
|
230
|
+
const eventQuarterList = useRef(getBaseEvents('quarters'));
|
231
|
+
const eventYearList = useRef(getBaseEvents('years'));
|
232
|
+
|
233
|
+
const disabledDays = [...new Array(5)].map((_, day) => ({
|
234
|
+
date: new Date(2023, 6, 23 + day),
|
235
|
+
}));
|
236
|
+
|
237
|
+
const getCalendarComponent = ({ type, ...rest }) => {
|
238
|
+
return displayDouble ? (
|
239
|
+
<CalendarDoubleRange
|
240
|
+
size={size}
|
241
|
+
min={min}
|
242
|
+
max={max}
|
243
|
+
includeEdgeDates={includeEdgeDates}
|
244
|
+
type={type}
|
245
|
+
{...rest}
|
246
|
+
value={values}
|
247
|
+
onChangeValue={handleOnChange}
|
248
|
+
/>
|
249
|
+
) : (
|
250
|
+
<CalendarBaseRange
|
251
|
+
size={size}
|
252
|
+
min={min}
|
253
|
+
max={max}
|
254
|
+
includeEdgeDates={includeEdgeDates}
|
255
|
+
type={type}
|
256
|
+
{...rest}
|
257
|
+
value={values}
|
258
|
+
onChangeValue={handleOnChange}
|
259
|
+
/>
|
260
|
+
);
|
261
|
+
};
|
262
|
+
|
263
|
+
const calendarMap = {
|
264
|
+
Days: getCalendarComponent({ type: 'Days', eventList: eventList.current, disabledList: disabledDays, ...rest }),
|
265
|
+
Months: getCalendarComponent({ type: 'Months', eventMonthList: eventMonthList.current, ...rest }),
|
266
|
+
Quarters: getCalendarComponent({ type: 'Quarters', eventQuarterList: eventQuarterList.current, ...rest }),
|
267
|
+
Years: getCalendarComponent({ type: 'Years', eventYearList: eventYearList.current, ...rest }),
|
268
|
+
};
|
269
|
+
|
270
|
+
return (
|
271
|
+
<>
|
272
|
+
<H3>Тип календаря</H3>
|
273
|
+
<Tabs view="divider" size="s" hasDivider>
|
274
|
+
{Object.keys(calendarMap).map((state, i) => (
|
275
|
+
<TabItem
|
276
|
+
key={`item:${i}`}
|
277
|
+
view="divider"
|
278
|
+
selected={state === currentState}
|
279
|
+
onClick={() => setCurrentState(state)}
|
280
|
+
size="s"
|
281
|
+
>
|
282
|
+
{state}
|
283
|
+
</TabItem>
|
284
|
+
))}
|
285
|
+
</Tabs>
|
286
|
+
<div style={{ marginTop: '1rem', height: '100vh' }}>{calendarMap[currentState]}</div>
|
287
|
+
</>
|
288
|
+
);
|
289
|
+
};
|
290
|
+
|
291
|
+
export const Range: StoryObj<CalendarBaseRangeProps & { displayDouble: boolean }> = {
|
292
|
+
argTypes: {
|
293
|
+
...disableProps(['isRange', 'isDouble']),
|
294
|
+
},
|
295
|
+
args: {
|
296
|
+
size: 's',
|
297
|
+
min: defaultMinDate,
|
298
|
+
max: defaultMaxDate,
|
299
|
+
includeEdgeDates: false,
|
300
|
+
displayDouble: false,
|
301
|
+
stretched: false,
|
302
|
+
},
|
303
|
+
render: (args) => <StoryRange {...args} />,
|
304
|
+
};
|
@@ -1,133 +1,23 @@
|
|
1
1
|
"use strict";
|
2
|
+
|
2
3
|
Object.defineProperty(exports, "__esModule", {
|
3
|
-
|
4
|
+
value: true
|
4
5
|
});
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
raw: {
|
18
|
-
value: Object.freeze(raw)
|
19
|
-
}
|
20
|
-
}));
|
21
|
-
}
|
22
|
-
function _templateObject() {
|
23
|
-
var data = _tagged_template_literal([
|
24
|
-
"\n ",
|
25
|
-
": var(--surface-accent);\n ",
|
26
|
-
": var(--inverse-text-primary);\n ",
|
27
|
-
": var(--surface-transparent-accent);\n ",
|
28
|
-
": var(--inverse-outline-solid-secondary);\n ",
|
29
|
-
": transparent;\n ",
|
30
|
-
": var(--text-primary);\n ",
|
31
|
-
": var(--surface-transparent-accent);\n ",
|
32
|
-
": var(--surface-accent);\n ",
|
33
|
-
": var(--inverse-text-primary);\n ",
|
34
|
-
": var(--surface-transparent-accent);\n ",
|
35
|
-
": var(--text-primary);\n ",
|
36
|
-
": var(--surface-transparent-accent);\n ",
|
37
|
-
": var(--surface-accent);\n ",
|
38
|
-
": var(--surface-primary);\n ",
|
39
|
-
": var(--text-secondary);\n ",
|
40
|
-
": var(--text-secondary);\n ",
|
41
|
-
": var(--text-secondary);\n ",
|
42
|
-
": var(--text-secondary);\n ",
|
43
|
-
": var(--text-accent);\n ",
|
44
|
-
": 1;\n\n ",
|
45
|
-
": var(--text-accent);\n ",
|
46
|
-
": var(--surface-clear);\n ",
|
47
|
-
": var(--text-primary-hover);\n ",
|
48
|
-
": var(--surface-clear);\n ",
|
49
|
-
": var(--text-primary-hover);\n ",
|
50
|
-
": var(--surface-clear);\n ",
|
51
|
-
": var(--surface-accent);\n "
|
52
|
-
]);
|
53
|
-
_templateObject = function _templateObject() {
|
54
|
-
return data;
|
55
|
-
};
|
56
|
-
return data;
|
57
|
-
}
|
58
|
-
function _templateObject1() {
|
59
|
-
var data = _tagged_template_literal([
|
60
|
-
"\n ",
|
61
|
-
": 17.5rem;\n ",
|
62
|
-
": 17rem;\n\n ",
|
63
|
-
": 0.5rem 0.5rem 0 0.5rem;\n ",
|
64
|
-
": 0.5rem;\n\n ",
|
65
|
-
": var(--plasma-typo-body-s-font-family);\n ",
|
66
|
-
": var(--plasma-typo-body-s-font-size);\n ",
|
67
|
-
": var(--plasma-typo-body-s-font-style);\n ",
|
68
|
-
": var(--plasma-typo-body-s-letter-spacing);\n ",
|
69
|
-
": var(--plasma-typo-body-s-line-height);\n ",
|
70
|
-
": var(--plasma-typo-body-s-font-weight);\n ",
|
71
|
-
": var(--plasma-typo-body-s-bold-font-weight);\n\n ",
|
72
|
-
": 0.5rem 0.5rem 0 0.5rem;\n ",
|
73
|
-
": 0.5rem;\n\n ",
|
74
|
-
": var(--plasma-typo-body-s-font-family);\n ",
|
75
|
-
": var(--plasma-typo-body-s-font-size);\n ",
|
76
|
-
": var(--plasma-typo-body-s-font-style);\n ",
|
77
|
-
": var(--plasma-typo-body-s-letter-spacing);\n ",
|
78
|
-
": var(--plasma-typo-body-s-line-height);\n ",
|
79
|
-
": var(--plasma-typo-body-s-font-weight);\n ",
|
80
|
-
": var(--plasma-typo-body-s-bold-font-weight);\n\n ",
|
81
|
-
": 0.5rem 0.5rem 0 0.5rem;\n ",
|
82
|
-
": 0.5rem;\n\n ",
|
83
|
-
": var(--plasma-typo-body-s-font-family);\n ",
|
84
|
-
": var(--plasma-typo-body-s-font-size);\n ",
|
85
|
-
": var(--plasma-typo-body-s-font-style);\n ",
|
86
|
-
": var(--plasma-typo-body-s-letter-spacing);\n ",
|
87
|
-
": var(--plasma-typo-body-s-line-height);\n ",
|
88
|
-
": var(--plasma-typo-body-s-font-weight);\n ",
|
89
|
-
": var(--plasma-typo-body-s-bold-font-weight);\n\n ",
|
90
|
-
": 0.5rem 0 0 0;\n ",
|
91
|
-
": 0.5rem;\n\n ",
|
92
|
-
": var(--plasma-typo-body-s-font-family);\n ",
|
93
|
-
": var(--plasma-typo-body-s-font-size);\n ",
|
94
|
-
": var(--plasma-typo-body-s-font-style);\n ",
|
95
|
-
": var(--plasma-typo-body-s-letter-spacing);\n ",
|
96
|
-
": var(--plasma-typo-body-s-line-height);\n ",
|
97
|
-
": var(--plasma-typo-body-s-font-weight);\n ",
|
98
|
-
": var(--plasma-typo-body-s-bold-font-weight);\n\n ",
|
99
|
-
": 0.125rem;\n\n ",
|
100
|
-
": 0.5rem;\n\n ",
|
101
|
-
": 0 0 0 0.5rem;\n ",
|
102
|
-
": 0.25rem;\n\n ",
|
103
|
-
": var(--plasma-typo-body-m-bold-font-family);\n ",
|
104
|
-
": var(--plasma-typo-body-m-bold-font-size);\n ",
|
105
|
-
": var(--plasma-typo-body-m-bold-font-style);\n ",
|
106
|
-
": var(--plasma-typo-body-m-bold-letter-spacing);\n ",
|
107
|
-
": var(--plasma-typo-body-m-bold-line-height);\n ",
|
108
|
-
": var(--plasma-typo-body-m-font-weight);\n ",
|
109
|
-
": var(--plasma-typo-body-m-bold-font-weight);\n\n ",
|
110
|
-
": 2.5rem;\n ",
|
111
|
-
": 2.5rem;\n ",
|
112
|
-
": 1rem;\n ",
|
113
|
-
": 0.625rem;\n "
|
114
|
-
]);
|
115
|
-
_templateObject1 = function _templateObject() {
|
116
|
-
return data;
|
117
|
-
};
|
118
|
-
return data;
|
119
|
-
}
|
120
|
-
var config = {
|
121
|
-
defaults: {
|
122
|
-
view: 'default',
|
123
|
-
size: 's'
|
6
|
+
exports.config = void 0;
|
7
|
+
var _emotion = /*#__PURE__*/require("@salutejs/plasma-new-hope/emotion");
|
8
|
+
var _templateObject, _templateObject2;
|
9
|
+
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
10
|
+
var config = exports.config = {
|
11
|
+
defaults: {
|
12
|
+
view: 'default',
|
13
|
+
size: 's'
|
14
|
+
},
|
15
|
+
variations: {
|
16
|
+
view: {
|
17
|
+
"default": /*#__PURE__*/(0, _emotion.css)(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--surface-accent);\n ", ": var(--inverse-text-primary);\n ", ": var(--surface-transparent-accent);\n ", ": var(--inverse-outline-solid-secondary);\n ", ": transparent;\n ", ": var(--text-primary);\n ", ": var(--surface-transparent-accent);\n ", ": var(--surface-accent);\n ", ": var(--inverse-text-primary);\n ", ": var(--surface-transparent-accent);\n ", ": var(--text-primary);\n ", ": var(--surface-transparent-accent);\n ", ": var(--surface-accent);\n ", ": var(--surface-primary);\n ", ": var(--text-secondary);\n ", ": var(--text-secondary);\n ", ": var(--text-secondary);\n ", ": var(--text-secondary);\n ", ": var(--text-accent);\n ", ": 1;\n\n ", ": var(--text-accent);\n ", ": var(--surface-clear);\n ", ": var(--text-primary-hover);\n ", ": var(--surface-clear);\n ", ": var(--text-primary-hover);\n ", ": var(--surface-clear);\n ", ": var(--surface-accent);\n "])), _emotion.calendarBaseTokens.calendarSelectedItemBackground, _emotion.calendarBaseTokens.calendarSelectedItemColor, _emotion.calendarBaseTokens.calendarSelectableItemBackgroundHover, _emotion.calendarBaseTokens.calendarCurrentItemBorderColor, _emotion.calendarBaseTokens.calendarCurrentItemBackgroundHover, _emotion.calendarBaseTokens.calendarCurrentItemColorHover, _emotion.calendarBaseTokens.calendarCurrentItemChildBackgroundHover, _emotion.calendarBaseTokens.calendarActiveItemBackground, _emotion.calendarBaseTokens.calendarActiveItemColor, _emotion.calendarBaseTokens.calendarHoveredItemBackground, _emotion.calendarBaseTokens.calendarHoveredItemColor, _emotion.calendarBaseTokens.calendarRangeBackground, _emotion.calendarBaseTokens.calendarOutlineFocusColor, _emotion.calendarBaseTokens.calendarContentPrimaryColor, _emotion.calendarBaseTokens.calendarContentPrimaryDisabledColor, _emotion.calendarBaseTokens.calendarContentSecondaryColor, _emotion.calendarBaseTokens.calendarContentSecondaryDisabledColor, _emotion.calendarBaseTokens.calendarDayOfWeekColor, _emotion.calendarBaseTokens.calendarHeaderArrowColor, _emotion.calendarBaseTokens.calendarDisabledOpacity, _emotion.calendarBaseTokens.iconButtonColor, _emotion.calendarBaseTokens.iconButtonBackgroundColor, _emotion.calendarBaseTokens.iconButtonColorHover, _emotion.calendarBaseTokens.iconButtonBackgroundColorHover, _emotion.calendarBaseTokens.iconButtonColorActive, _emotion.calendarBaseTokens.iconButtonBackgroundColorActive, _emotion.calendarBaseTokens.iconButtonFocusColor)
|
124
18
|
},
|
125
|
-
|
126
|
-
|
127
|
-
default: (0, _emotion.css)(_templateObject(), _emotion.calendarBaseTokens.calendarSelectedItemBackground, _emotion.calendarBaseTokens.calendarSelectedItemColor, _emotion.calendarBaseTokens.calendarSelectableItemBackgroundHover, _emotion.calendarBaseTokens.calendarCurrentItemBorderColor, _emotion.calendarBaseTokens.calendarCurrentItemBackgroundHover, _emotion.calendarBaseTokens.calendarCurrentItemColorHover, _emotion.calendarBaseTokens.calendarCurrentItemChildBackgroundHover, _emotion.calendarBaseTokens.calendarActiveItemBackground, _emotion.calendarBaseTokens.calendarActiveItemColor, _emotion.calendarBaseTokens.calendarHoveredItemBackground, _emotion.calendarBaseTokens.calendarHoveredItemColor, _emotion.calendarBaseTokens.calendarRangeBackground, _emotion.calendarBaseTokens.calendarOutlineFocusColor, _emotion.calendarBaseTokens.calendarContentPrimaryColor, _emotion.calendarBaseTokens.calendarContentPrimaryDisabledColor, _emotion.calendarBaseTokens.calendarContentSecondaryColor, _emotion.calendarBaseTokens.calendarContentSecondaryDisabledColor, _emotion.calendarBaseTokens.calendarDayOfWeekColor, _emotion.calendarBaseTokens.calendarHeaderArrowColor, _emotion.calendarBaseTokens.calendarDisabledOpacity, _emotion.calendarBaseTokens.iconButtonColor, _emotion.calendarBaseTokens.iconButtonBackgroundColor, _emotion.calendarBaseTokens.iconButtonColorHover, _emotion.calendarBaseTokens.iconButtonBackgroundColorHover, _emotion.calendarBaseTokens.iconButtonColorActive, _emotion.calendarBaseTokens.iconButtonBackgroundColorActive, _emotion.calendarBaseTokens.iconButtonFocusColor)
|
128
|
-
},
|
129
|
-
size: {
|
130
|
-
s: (0, _emotion.css)(_templateObject1(), _emotion.calendarBaseTokens.calendarContainerWidth, _emotion.calendarBaseTokens.calendarContainerHeight, _emotion.calendarBaseTokens.calendarYearsPadding, _emotion.calendarBaseTokens.calendarYearItemBorderRadius, _emotion.calendarBaseTokens.calendarYearFontFamily, _emotion.calendarBaseTokens.calendarYearFontSize, _emotion.calendarBaseTokens.calendarYearFontStyle, _emotion.calendarBaseTokens.calendarYearFontLetterSpacing, _emotion.calendarBaseTokens.calendarYearFontLineHeight, _emotion.calendarBaseTokens.calendarYearFontWeight, _emotion.calendarBaseTokens.calendarYearSelectedFontWeight, _emotion.calendarBaseTokens.calendarQuartersPadding, _emotion.calendarBaseTokens.calendarQuarterItemBorderRadius, _emotion.calendarBaseTokens.calendarQuarterFontFamily, _emotion.calendarBaseTokens.calendarQuarterFontSize, _emotion.calendarBaseTokens.calendarQuarterFontStyle, _emotion.calendarBaseTokens.calendarQuarterFontLetterSpacing, _emotion.calendarBaseTokens.calendarQuarterFontLineHeight, _emotion.calendarBaseTokens.calendarQuarterFontWeight, _emotion.calendarBaseTokens.calendarQuarterSelectedFontWeight, _emotion.calendarBaseTokens.calendarMonthsPadding, _emotion.calendarBaseTokens.calendarMonthItemBorderRadius, _emotion.calendarBaseTokens.calendarMonthFontFamily, _emotion.calendarBaseTokens.calendarMonthFontSize, _emotion.calendarBaseTokens.calendarMonthFontStyle, _emotion.calendarBaseTokens.calendarMonthFontLetterSpacing, _emotion.calendarBaseTokens.calendarMonthFontLineHeight, _emotion.calendarBaseTokens.calendarMonthFontWeight, _emotion.calendarBaseTokens.calendarMonthSelectedFontWeight, _emotion.calendarBaseTokens.calendarDaysPadding, _emotion.calendarBaseTokens.calendarDayItemBorderRadius, _emotion.calendarBaseTokens.calendarDayFontFamily, _emotion.calendarBaseTokens.calendarDayFontSize, _emotion.calendarBaseTokens.calendarDayFontStyle, _emotion.calendarBaseTokens.calendarDayFontLetterSpacing, _emotion.calendarBaseTokens.calendarDayFontLineHeight, _emotion.calendarBaseTokens.calendarDayFontWeight, _emotion.calendarBaseTokens.calendarDaySelectedFontWeight, _emotion.calendarBaseTokens.calendarCurrentItemBorderWidth, _emotion.calendarBaseTokens.calendarHeaderArrowGap, _emotion.calendarBaseTokens.calendarHeaderPadding, _emotion.calendarBaseTokens.calendarHeaderDateGap, _emotion.calendarBaseTokens.calendarHeaderFontFamily, _emotion.calendarBaseTokens.calendarHeaderFontSize, _emotion.calendarBaseTokens.calendarHeaderFontStyle, _emotion.calendarBaseTokens.calendarHeaderFontLetterSpacing, _emotion.calendarBaseTokens.calendarHeaderFontLineHeight, _emotion.calendarBaseTokens.calendarHeaderFontWeight, _emotion.calendarBaseTokens.calendarHeaderFontWeightBold, _emotion.calendarBaseTokens.iconButtonHeight, _emotion.calendarBaseTokens.iconButtonWidth, _emotion.calendarBaseTokens.iconButtonPadding, _emotion.calendarBaseTokens.iconButtonRadius)
|
131
|
-
}
|
19
|
+
size: {
|
20
|
+
s: /*#__PURE__*/(0, _emotion.css)(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 17.5rem;\n ", ": 17rem;\n\n ", ": 0.5rem 0.5rem 0 0.5rem;\n ", ": 0.5rem;\n\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n ", ": var(--plasma-typo-body-s-font-weight);\n ", ": var(--plasma-typo-body-s-bold-font-weight);\n\n ", ": 0.5rem 0.5rem 0 0.5rem;\n ", ": 0.5rem;\n\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n ", ": var(--plasma-typo-body-s-font-weight);\n ", ": var(--plasma-typo-body-s-bold-font-weight);\n\n ", ": 0.5rem 0.5rem 0 0.5rem;\n ", ": 0.5rem;\n\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n ", ": var(--plasma-typo-body-s-font-weight);\n ", ": var(--plasma-typo-body-s-bold-font-weight);\n\n ", ": 0.5rem 0 0 0;\n ", ": 0.5rem;\n\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n ", ": var(--plasma-typo-body-s-font-weight);\n ", ": var(--plasma-typo-body-s-bold-font-weight);\n\n ", ": 0.125rem;\n\n ", ": 0.5rem;\n\n ", ": 0 0 0 0.5rem;\n ", ": 0.25rem;\n\n ", ": var(--plasma-typo-body-m-bold-font-family);\n ", ": var(--plasma-typo-body-m-bold-font-size);\n ", ": var(--plasma-typo-body-m-bold-font-style);\n ", ": var(--plasma-typo-body-m-bold-letter-spacing);\n ", ": var(--plasma-typo-body-m-bold-line-height);\n ", ": var(--plasma-typo-body-m-font-weight);\n ", ": var(--plasma-typo-body-m-bold-font-weight);\n\n ", ": 2.5rem;\n ", ": 2.5rem;\n ", ": 1rem;\n ", ": 0.625rem;\n "])), _emotion.calendarBaseTokens.calendarContainerWidth, _emotion.calendarBaseTokens.calendarContainerHeight, _emotion.calendarBaseTokens.calendarYearsPadding, _emotion.calendarBaseTokens.calendarYearItemBorderRadius, _emotion.calendarBaseTokens.calendarYearFontFamily, _emotion.calendarBaseTokens.calendarYearFontSize, _emotion.calendarBaseTokens.calendarYearFontStyle, _emotion.calendarBaseTokens.calendarYearFontLetterSpacing, _emotion.calendarBaseTokens.calendarYearFontLineHeight, _emotion.calendarBaseTokens.calendarYearFontWeight, _emotion.calendarBaseTokens.calendarYearSelectedFontWeight, _emotion.calendarBaseTokens.calendarQuartersPadding, _emotion.calendarBaseTokens.calendarQuarterItemBorderRadius, _emotion.calendarBaseTokens.calendarQuarterFontFamily, _emotion.calendarBaseTokens.calendarQuarterFontSize, _emotion.calendarBaseTokens.calendarQuarterFontStyle, _emotion.calendarBaseTokens.calendarQuarterFontLetterSpacing, _emotion.calendarBaseTokens.calendarQuarterFontLineHeight, _emotion.calendarBaseTokens.calendarQuarterFontWeight, _emotion.calendarBaseTokens.calendarQuarterSelectedFontWeight, _emotion.calendarBaseTokens.calendarMonthsPadding, _emotion.calendarBaseTokens.calendarMonthItemBorderRadius, _emotion.calendarBaseTokens.calendarMonthFontFamily, _emotion.calendarBaseTokens.calendarMonthFontSize, _emotion.calendarBaseTokens.calendarMonthFontStyle, _emotion.calendarBaseTokens.calendarMonthFontLetterSpacing, _emotion.calendarBaseTokens.calendarMonthFontLineHeight, _emotion.calendarBaseTokens.calendarMonthFontWeight, _emotion.calendarBaseTokens.calendarMonthSelectedFontWeight, _emotion.calendarBaseTokens.calendarDaysPadding, _emotion.calendarBaseTokens.calendarDayItemBorderRadius, _emotion.calendarBaseTokens.calendarDayFontFamily, _emotion.calendarBaseTokens.calendarDayFontSize, _emotion.calendarBaseTokens.calendarDayFontStyle, _emotion.calendarBaseTokens.calendarDayFontLetterSpacing, _emotion.calendarBaseTokens.calendarDayFontLineHeight, _emotion.calendarBaseTokens.calendarDayFontWeight, _emotion.calendarBaseTokens.calendarDaySelectedFontWeight, _emotion.calendarBaseTokens.calendarCurrentItemBorderWidth, _emotion.calendarBaseTokens.calendarHeaderArrowGap, _emotion.calendarBaseTokens.calendarHeaderPadding, _emotion.calendarBaseTokens.calendarHeaderDateGap, _emotion.calendarBaseTokens.calendarHeaderFontFamily, _emotion.calendarBaseTokens.calendarHeaderFontSize, _emotion.calendarBaseTokens.calendarHeaderFontStyle, _emotion.calendarBaseTokens.calendarHeaderFontLetterSpacing, _emotion.calendarBaseTokens.calendarHeaderFontLineHeight, _emotion.calendarBaseTokens.calendarHeaderFontWeight, _emotion.calendarBaseTokens.calendarHeaderFontWeightBold, _emotion.calendarBaseTokens.iconButtonHeight, _emotion.calendarBaseTokens.iconButtonWidth, _emotion.calendarBaseTokens.iconButtonPadding, _emotion.calendarBaseTokens.iconButtonRadius)
|
132
21
|
}
|
133
|
-
}
|
22
|
+
}
|
23
|
+
};
|
@@ -1,133 +1,23 @@
|
|
1
1
|
"use strict";
|
2
|
+
|
2
3
|
Object.defineProperty(exports, "__esModule", {
|
3
|
-
|
4
|
+
value: true
|
4
5
|
});
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
raw: {
|
18
|
-
value: Object.freeze(raw)
|
19
|
-
}
|
20
|
-
}));
|
21
|
-
}
|
22
|
-
function _templateObject() {
|
23
|
-
var data = _tagged_template_literal([
|
24
|
-
"\n ",
|
25
|
-
": var(--surface-accent);\n ",
|
26
|
-
": var(--inverse-text-primary);\n ",
|
27
|
-
": var(--surface-transparent-accent);\n ",
|
28
|
-
": var(--inverse-outline-solid-secondary);\n ",
|
29
|
-
": transparent;\n ",
|
30
|
-
": var(--text-primary);\n ",
|
31
|
-
": var(--surface-transparent-accent);\n ",
|
32
|
-
": var(--surface-accent);\n ",
|
33
|
-
": var(--inverse-text-primary);\n ",
|
34
|
-
": var(--surface-transparent-accent);\n ",
|
35
|
-
": var(--text-primary);\n ",
|
36
|
-
": var(--surface-transparent-accent);\n ",
|
37
|
-
": var(--surface-accent);\n ",
|
38
|
-
": var(--surface-primary);\n ",
|
39
|
-
": var(--text-secondary);\n ",
|
40
|
-
": var(--text-secondary);\n ",
|
41
|
-
": var(--text-secondary);\n ",
|
42
|
-
": var(--text-secondary);\n ",
|
43
|
-
": var(--text-accent);\n ",
|
44
|
-
": 1;\n\n ",
|
45
|
-
": var(--text-primary);\n ",
|
46
|
-
": var(--surface-clear);\n ",
|
47
|
-
": var(--text-primary-hover);\n ",
|
48
|
-
": var(--surface-clear);\n ",
|
49
|
-
": var(--text-primary-hover);\n ",
|
50
|
-
": var(--surface-clear);\n ",
|
51
|
-
": var(--surface-accent);\n "
|
52
|
-
]);
|
53
|
-
_templateObject = function _templateObject() {
|
54
|
-
return data;
|
55
|
-
};
|
56
|
-
return data;
|
57
|
-
}
|
58
|
-
function _templateObject1() {
|
59
|
-
var data = _tagged_template_literal([
|
60
|
-
"\n ",
|
61
|
-
": 37.063rem;\n ",
|
62
|
-
": 17rem;\n\n ",
|
63
|
-
": 0.5rem 0.5rem 0 0.5rem;\n ",
|
64
|
-
": 0.5rem;\n\n ",
|
65
|
-
": var(--plasma-typo-body-s-font-family);\n ",
|
66
|
-
": var(--plasma-typo-body-s-font-size);\n ",
|
67
|
-
": var(--plasma-typo-body-s-font-style);\n ",
|
68
|
-
": var(--plasma-typo-body-s-letter-spacing);\n ",
|
69
|
-
": var(--plasma-typo-body-s-line-height);\n ",
|
70
|
-
": var(--plasma-typo-body-s-font-weight);\n ",
|
71
|
-
": var(--plasma-typo-body-s-bold-font-weight);\n\n ",
|
72
|
-
": 0.5rem 0.5rem 0 0.5rem;\n ",
|
73
|
-
": 0.5rem;\n\n ",
|
74
|
-
": var(--plasma-typo-body-s-font-family);\n ",
|
75
|
-
": var(--plasma-typo-body-s-font-size);\n ",
|
76
|
-
": var(--plasma-typo-body-s-font-style);\n ",
|
77
|
-
": var(--plasma-typo-body-s-letter-spacing);\n ",
|
78
|
-
": var(--plasma-typo-body-s-line-height);\n ",
|
79
|
-
": var(--plasma-typo-body-s-font-weight);\n ",
|
80
|
-
": var(--plasma-typo-body-s-bold-font-weight);\n\n ",
|
81
|
-
": 0.5rem 0.5rem 0 0.5rem;\n ",
|
82
|
-
": 0.5rem;\n\n ",
|
83
|
-
": var(--plasma-typo-body-s-font-family);\n ",
|
84
|
-
": var(--plasma-typo-body-s-font-size);\n ",
|
85
|
-
": var(--plasma-typo-body-s-font-style);\n ",
|
86
|
-
": var(--plasma-typo-body-s-letter-spacing);\n ",
|
87
|
-
": var(--plasma-typo-body-s-line-height);\n ",
|
88
|
-
": var(--plasma-typo-body-s-font-weight);\n ",
|
89
|
-
": var(--plasma-typo-body-s-bold-font-weight);\n\n ",
|
90
|
-
": 0.5rem;\n\n ",
|
91
|
-
": var(--plasma-typo-body-s-font-family);\n ",
|
92
|
-
": var(--plasma-typo-body-s-font-size);\n ",
|
93
|
-
": var(--plasma-typo-body-s-font-style);\n ",
|
94
|
-
": var(--plasma-typo-body-s-letter-spacing);\n ",
|
95
|
-
": var(--plasma-typo-body-s-line-height);\n ",
|
96
|
-
": var(--plasma-typo-body-s-font-weight);\n ",
|
97
|
-
": var(--plasma-typo-body-s-bold-font-weight);\n\n ",
|
98
|
-
": 0.125rem;\n\n ",
|
99
|
-
": 0.5rem;\n\n ",
|
100
|
-
": 0.5rem 0 0 0;\n ",
|
101
|
-
": 0 0 0 0.5rem;\n ",
|
102
|
-
": 0.25rem;\n\n ",
|
103
|
-
": var(--plasma-typo-body-m-bold-font-family);\n ",
|
104
|
-
": var(--plasma-typo-body-m-bold-font-size);\n ",
|
105
|
-
": var(--plasma-typo-body-m-bold-font-style);\n ",
|
106
|
-
": var(--plasma-typo-body-m-bold-letter-spacing);\n ",
|
107
|
-
": var(--plasma-typo-body-m-bold-line-height);\n ",
|
108
|
-
": var(--plasma-typo-body-m-font-weight);\n ",
|
109
|
-
": var(--plasma-typo-body-m-bold-font-weight);\n\n ",
|
110
|
-
": 2.5rem;\n ",
|
111
|
-
": 2.5rem;\n ",
|
112
|
-
": 1rem;\n ",
|
113
|
-
": 0.625rem;\n "
|
114
|
-
]);
|
115
|
-
_templateObject1 = function _templateObject() {
|
116
|
-
return data;
|
117
|
-
};
|
118
|
-
return data;
|
119
|
-
}
|
120
|
-
var config = {
|
121
|
-
defaults: {
|
122
|
-
view: 'default',
|
123
|
-
size: 's'
|
6
|
+
exports.config = void 0;
|
7
|
+
var _emotion = /*#__PURE__*/require("@salutejs/plasma-new-hope/emotion");
|
8
|
+
var _templateObject, _templateObject2;
|
9
|
+
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
10
|
+
var config = exports.config = {
|
11
|
+
defaults: {
|
12
|
+
view: 'default',
|
13
|
+
size: 's'
|
14
|
+
},
|
15
|
+
variations: {
|
16
|
+
view: {
|
17
|
+
"default": /*#__PURE__*/(0, _emotion.css)(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--surface-accent);\n ", ": var(--inverse-text-primary);\n ", ": var(--surface-transparent-accent);\n ", ": var(--inverse-outline-solid-secondary);\n ", ": transparent;\n ", ": var(--text-primary);\n ", ": var(--surface-transparent-accent);\n ", ": var(--surface-accent);\n ", ": var(--inverse-text-primary);\n ", ": var(--surface-transparent-accent);\n ", ": var(--text-primary);\n ", ": var(--surface-transparent-accent);\n ", ": var(--surface-accent);\n ", ": var(--surface-primary);\n ", ": var(--text-secondary);\n ", ": var(--text-secondary);\n ", ": var(--text-secondary);\n ", ": var(--text-secondary);\n ", ": var(--text-accent);\n ", ": 1;\n\n ", ": var(--text-primary);\n ", ": var(--surface-clear);\n ", ": var(--text-primary-hover);\n ", ": var(--surface-clear);\n ", ": var(--text-primary-hover);\n ", ": var(--surface-clear);\n ", ": var(--surface-accent);\n "])), _emotion.calendarDoubleTokens.calendarSelectedItemBackground, _emotion.calendarDoubleTokens.calendarSelectedItemColor, _emotion.calendarDoubleTokens.calendarSelectableItemBackgroundHover, _emotion.calendarDoubleTokens.calendarCurrentItemBorderColor, _emotion.calendarDoubleTokens.calendarCurrentItemBackgroundHover, _emotion.calendarDoubleTokens.calendarCurrentItemColorHover, _emotion.calendarDoubleTokens.calendarCurrentItemChildBackgroundHover, _emotion.calendarDoubleTokens.calendarActiveItemBackground, _emotion.calendarDoubleTokens.calendarActiveItemColor, _emotion.calendarDoubleTokens.calendarHoveredItemBackground, _emotion.calendarDoubleTokens.calendarHoveredItemColor, _emotion.calendarDoubleTokens.calendarRangeBackground, _emotion.calendarDoubleTokens.calendarOutlineFocusColor, _emotion.calendarDoubleTokens.calendarContentPrimaryColor, _emotion.calendarDoubleTokens.calendarContentPrimaryDisabledColor, _emotion.calendarDoubleTokens.calendarContentSecondaryColor, _emotion.calendarDoubleTokens.calendarContentSecondaryDisabledColor, _emotion.calendarDoubleTokens.calendarDayOfWeekColor, _emotion.calendarDoubleTokens.calendarHeaderArrowColor, _emotion.calendarDoubleTokens.calendarDisabledOpacity, _emotion.calendarDoubleTokens.iconButtonColor, _emotion.calendarDoubleTokens.iconButtonBackgroundColor, _emotion.calendarDoubleTokens.iconButtonColorHover, _emotion.calendarDoubleTokens.iconButtonBackgroundColorHover, _emotion.calendarDoubleTokens.iconButtonColorActive, _emotion.calendarDoubleTokens.iconButtonBackgroundColorActive, _emotion.calendarDoubleTokens.iconButtonFocusColor)
|
124
18
|
},
|
125
|
-
|
126
|
-
|
127
|
-
default: (0, _emotion.css)(_templateObject(), _emotion.calendarDoubleTokens.calendarSelectedItemBackground, _emotion.calendarDoubleTokens.calendarSelectedItemColor, _emotion.calendarDoubleTokens.calendarSelectableItemBackgroundHover, _emotion.calendarDoubleTokens.calendarCurrentItemBorderColor, _emotion.calendarDoubleTokens.calendarCurrentItemBackgroundHover, _emotion.calendarDoubleTokens.calendarCurrentItemColorHover, _emotion.calendarDoubleTokens.calendarCurrentItemChildBackgroundHover, _emotion.calendarDoubleTokens.calendarActiveItemBackground, _emotion.calendarDoubleTokens.calendarActiveItemColor, _emotion.calendarDoubleTokens.calendarHoveredItemBackground, _emotion.calendarDoubleTokens.calendarHoveredItemColor, _emotion.calendarDoubleTokens.calendarRangeBackground, _emotion.calendarDoubleTokens.calendarOutlineFocusColor, _emotion.calendarDoubleTokens.calendarContentPrimaryColor, _emotion.calendarDoubleTokens.calendarContentPrimaryDisabledColor, _emotion.calendarDoubleTokens.calendarContentSecondaryColor, _emotion.calendarDoubleTokens.calendarContentSecondaryDisabledColor, _emotion.calendarDoubleTokens.calendarDayOfWeekColor, _emotion.calendarDoubleTokens.calendarHeaderArrowColor, _emotion.calendarDoubleTokens.calendarDisabledOpacity, _emotion.calendarDoubleTokens.iconButtonColor, _emotion.calendarDoubleTokens.iconButtonBackgroundColor, _emotion.calendarDoubleTokens.iconButtonColorHover, _emotion.calendarDoubleTokens.iconButtonBackgroundColorHover, _emotion.calendarDoubleTokens.iconButtonColorActive, _emotion.calendarDoubleTokens.iconButtonBackgroundColorActive, _emotion.calendarDoubleTokens.iconButtonFocusColor)
|
128
|
-
},
|
129
|
-
size: {
|
130
|
-
s: (0, _emotion.css)(_templateObject1(), _emotion.calendarDoubleTokens.calendarContainerWidth, _emotion.calendarDoubleTokens.calendarContainerHeight, _emotion.calendarDoubleTokens.calendarYearsPadding, _emotion.calendarDoubleTokens.calendarYearItemBorderRadius, _emotion.calendarDoubleTokens.calendarYearFontFamily, _emotion.calendarDoubleTokens.calendarYearFontSize, _emotion.calendarDoubleTokens.calendarYearFontStyle, _emotion.calendarDoubleTokens.calendarYearFontLetterSpacing, _emotion.calendarDoubleTokens.calendarYearFontLineHeight, _emotion.calendarDoubleTokens.calendarYearFontWeight, _emotion.calendarDoubleTokens.calendarYearSelectedFontWeight, _emotion.calendarDoubleTokens.calendarQuartersPadding, _emotion.calendarDoubleTokens.calendarQuarterItemBorderRadius, _emotion.calendarDoubleTokens.calendarQuarterFontFamily, _emotion.calendarDoubleTokens.calendarQuarterFontSize, _emotion.calendarDoubleTokens.calendarQuarterFontStyle, _emotion.calendarDoubleTokens.calendarQuarterFontLetterSpacing, _emotion.calendarDoubleTokens.calendarQuarterFontLineHeight, _emotion.calendarDoubleTokens.calendarQuarterFontWeight, _emotion.calendarDoubleTokens.calendarQuarterSelectedFontWeight, _emotion.calendarDoubleTokens.calendarMonthsPadding, _emotion.calendarDoubleTokens.calendarMonthItemBorderRadius, _emotion.calendarDoubleTokens.calendarMonthFontFamily, _emotion.calendarDoubleTokens.calendarMonthFontSize, _emotion.calendarDoubleTokens.calendarMonthFontStyle, _emotion.calendarDoubleTokens.calendarMonthFontLetterSpacing, _emotion.calendarDoubleTokens.calendarMonthFontLineHeight, _emotion.calendarDoubleTokens.calendarMonthFontWeight, _emotion.calendarDoubleTokens.calendarMonthSelectedFontWeight, _emotion.calendarDoubleTokens.calendarDayItemBorderRadius, _emotion.calendarDoubleTokens.calendarDayFontFamily, _emotion.calendarDoubleTokens.calendarDayFontSize, _emotion.calendarDoubleTokens.calendarDayFontStyle, _emotion.calendarDoubleTokens.calendarDayFontLetterSpacing, _emotion.calendarDoubleTokens.calendarDayFontLineHeight, _emotion.calendarDoubleTokens.calendarDayFontWeight, _emotion.calendarDoubleTokens.calendarDaySelectedFontWeight, _emotion.calendarDoubleTokens.calendarCurrentItemBorderWidth, _emotion.calendarDoubleTokens.calendarHeaderArrowGap, _emotion.calendarDoubleTokens.calendarDaysPadding, _emotion.calendarDoubleTokens.calendarHeaderPadding, _emotion.calendarDoubleTokens.calendarHeaderDateGap, _emotion.calendarDoubleTokens.calendarHeaderFontFamily, _emotion.calendarDoubleTokens.calendarHeaderFontSize, _emotion.calendarDoubleTokens.calendarHeaderFontStyle, _emotion.calendarDoubleTokens.calendarHeaderFontLetterSpacing, _emotion.calendarDoubleTokens.calendarHeaderFontLineHeight, _emotion.calendarDoubleTokens.calendarHeaderFontWeight, _emotion.calendarDoubleTokens.calendarHeaderFontWeightBold, _emotion.calendarDoubleTokens.iconButtonHeight, _emotion.calendarDoubleTokens.iconButtonWidth, _emotion.calendarDoubleTokens.iconButtonPadding, _emotion.calendarDoubleTokens.iconButtonRadius)
|
131
|
-
}
|
19
|
+
size: {
|
20
|
+
s: /*#__PURE__*/(0, _emotion.css)(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 37.063rem;\n ", ": 17rem;\n\n ", ": 0.5rem 0.5rem 0 0.5rem;\n ", ": 0.5rem;\n\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n ", ": var(--plasma-typo-body-s-font-weight);\n ", ": var(--plasma-typo-body-s-bold-font-weight);\n\n ", ": 0.5rem 0.5rem 0 0.5rem;\n ", ": 0.5rem;\n\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n ", ": var(--plasma-typo-body-s-font-weight);\n ", ": var(--plasma-typo-body-s-bold-font-weight);\n\n ", ": 0.5rem 0.5rem 0 0.5rem;\n ", ": 0.5rem;\n\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n ", ": var(--plasma-typo-body-s-font-weight);\n ", ": var(--plasma-typo-body-s-bold-font-weight);\n\n ", ": 0.5rem;\n\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n ", ": var(--plasma-typo-body-s-font-weight);\n ", ": var(--plasma-typo-body-s-bold-font-weight);\n\n ", ": 0.125rem;\n\n ", ": 0.5rem;\n\n ", ": 0.5rem 0 0 0;\n ", ": 0 0 0 0.5rem;\n ", ": 0.25rem;\n\n ", ": var(--plasma-typo-body-m-bold-font-family);\n ", ": var(--plasma-typo-body-m-bold-font-size);\n ", ": var(--plasma-typo-body-m-bold-font-style);\n ", ": var(--plasma-typo-body-m-bold-letter-spacing);\n ", ": var(--plasma-typo-body-m-bold-line-height);\n ", ": var(--plasma-typo-body-m-font-weight);\n ", ": var(--plasma-typo-body-m-bold-font-weight);\n\n ", ": 2.5rem;\n ", ": 2.5rem;\n ", ": 1rem;\n ", ": 0.625rem;\n "])), _emotion.calendarDoubleTokens.calendarContainerWidth, _emotion.calendarDoubleTokens.calendarContainerHeight, _emotion.calendarDoubleTokens.calendarYearsPadding, _emotion.calendarDoubleTokens.calendarYearItemBorderRadius, _emotion.calendarDoubleTokens.calendarYearFontFamily, _emotion.calendarDoubleTokens.calendarYearFontSize, _emotion.calendarDoubleTokens.calendarYearFontStyle, _emotion.calendarDoubleTokens.calendarYearFontLetterSpacing, _emotion.calendarDoubleTokens.calendarYearFontLineHeight, _emotion.calendarDoubleTokens.calendarYearFontWeight, _emotion.calendarDoubleTokens.calendarYearSelectedFontWeight, _emotion.calendarDoubleTokens.calendarQuartersPadding, _emotion.calendarDoubleTokens.calendarQuarterItemBorderRadius, _emotion.calendarDoubleTokens.calendarQuarterFontFamily, _emotion.calendarDoubleTokens.calendarQuarterFontSize, _emotion.calendarDoubleTokens.calendarQuarterFontStyle, _emotion.calendarDoubleTokens.calendarQuarterFontLetterSpacing, _emotion.calendarDoubleTokens.calendarQuarterFontLineHeight, _emotion.calendarDoubleTokens.calendarQuarterFontWeight, _emotion.calendarDoubleTokens.calendarQuarterSelectedFontWeight, _emotion.calendarDoubleTokens.calendarMonthsPadding, _emotion.calendarDoubleTokens.calendarMonthItemBorderRadius, _emotion.calendarDoubleTokens.calendarMonthFontFamily, _emotion.calendarDoubleTokens.calendarMonthFontSize, _emotion.calendarDoubleTokens.calendarMonthFontStyle, _emotion.calendarDoubleTokens.calendarMonthFontLetterSpacing, _emotion.calendarDoubleTokens.calendarMonthFontLineHeight, _emotion.calendarDoubleTokens.calendarMonthFontWeight, _emotion.calendarDoubleTokens.calendarMonthSelectedFontWeight, _emotion.calendarDoubleTokens.calendarDayItemBorderRadius, _emotion.calendarDoubleTokens.calendarDayFontFamily, _emotion.calendarDoubleTokens.calendarDayFontSize, _emotion.calendarDoubleTokens.calendarDayFontStyle, _emotion.calendarDoubleTokens.calendarDayFontLetterSpacing, _emotion.calendarDoubleTokens.calendarDayFontLineHeight, _emotion.calendarDoubleTokens.calendarDayFontWeight, _emotion.calendarDoubleTokens.calendarDaySelectedFontWeight, _emotion.calendarDoubleTokens.calendarCurrentItemBorderWidth, _emotion.calendarDoubleTokens.calendarHeaderArrowGap, _emotion.calendarDoubleTokens.calendarDaysPadding, _emotion.calendarDoubleTokens.calendarHeaderPadding, _emotion.calendarDoubleTokens.calendarHeaderDateGap, _emotion.calendarDoubleTokens.calendarHeaderFontFamily, _emotion.calendarDoubleTokens.calendarHeaderFontSize, _emotion.calendarDoubleTokens.calendarHeaderFontStyle, _emotion.calendarDoubleTokens.calendarHeaderFontLetterSpacing, _emotion.calendarDoubleTokens.calendarHeaderFontLineHeight, _emotion.calendarDoubleTokens.calendarHeaderFontWeight, _emotion.calendarDoubleTokens.calendarHeaderFontWeightBold, _emotion.calendarDoubleTokens.iconButtonHeight, _emotion.calendarDoubleTokens.iconButtonWidth, _emotion.calendarDoubleTokens.iconButtonPadding, _emotion.calendarDoubleTokens.iconButtonRadius)
|
132
21
|
}
|
133
|
-
}
|
22
|
+
}
|
23
|
+
};
|