@salutejs/sdds-cs 0.318.1-canary.2038.15820228509.0 → 0.318.1-canary.2042.15845695068.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 +101 -19
- package/components/Accordion/Accordion.js +18 -12
- package/components/Accordion/index.js +15 -14
- package/components/Attach/Attach.config.js +267 -26
- package/components/Attach/Attach.js +11 -11
- package/components/Attach/index.js +6 -7
- package/components/Autocomplete/Autocomplete.config.js +247 -30
- package/components/Autocomplete/Autocomplete.js +11 -7
- package/components/Autocomplete/index.js +6 -7
- package/components/Avatar/Avatar.config.js +197 -31
- package/components/Avatar/Avatar.js +19 -7
- package/components/Avatar/index.js +6 -7
- package/components/AvatarGroup/AvatarGroup.js +10 -6
- package/components/AvatarGroup/index.js +6 -7
- package/components/Badge/Badge.config.js +145 -30
- package/components/Badge/Badge.js +11 -11
- package/components/Badge/index.js +6 -7
- package/components/Breadcrumbs/Breadcrumbs.config.js +60 -18
- package/components/Breadcrumbs/Breadcrumbs.js +12 -12
- package/components/Breadcrumbs/index.js +6 -7
- package/components/Button/Button.config.js +174 -30
- package/components/Button/Button.js +146 -41
- package/components/Button/index.js +6 -7
- package/components/ButtonBase/index.js +6 -7
- package/components/ButtonGroup/ButtonGroup.config.js +228 -38
- package/components/ButtonGroup/ButtonGroup.js +11 -11
- package/components/ButtonGroup/index.js +6 -7
- package/components/Calendar/Calendar.js +39 -18
- package/components/Calendar/CalendarBase.config.js +128 -18
- package/components/Calendar/CalendarDouble.config.js +128 -18
- package/components/Calendar/index.js +24 -32
- package/components/Card/Card.config.js +81 -20
- package/components/Card/Card.js +22 -23
- package/components/Card/index.js +18 -20
- package/components/Carousel/Carousel.config.d.ts +14 -0
- package/components/Carousel/Carousel.config.js +62 -0
- package/components/Carousel/Carousel.d.ts +9 -0
- package/components/Carousel/Carousel.js +14 -0
- package/components/Carousel/index.d.ts +2 -0
- package/components/Carousel/index.js +20 -0
- package/components/Cell/Cell.config.js +110 -16
- package/components/Cell/Cell.js +12 -12
- package/components/Cell/index.js +25 -33
- package/components/Checkbox/Checkbox.config.js +104 -25
- package/components/Checkbox/Checkbox.js +12 -11
- package/components/Checkbox/index.js +6 -7
- package/components/Chip/Chip.config.js +162 -25
- package/components/Chip/Chip.js +12 -12
- package/components/Chip/index.js +6 -7
- package/components/ChipGroup/ChipGroup.config.js +127 -24
- package/components/ChipGroup/ChipGroup.js +11 -7
- package/components/ChipGroup/index.js +6 -7
- package/components/Combobox/Combobox.config.js +313 -30
- package/components/Combobox/Combobox.js +50 -15
- package/components/Combobox/index.js +6 -7
- package/components/Counter/Counter.config.js +95 -21
- package/components/Counter/Counter.js +11 -11
- package/components/Counter/index.js +16 -15
- package/components/DatePicker/DatePicker.config.js +264 -24
- package/components/DatePicker/DatePicker.js +21 -9
- package/components/DatePicker/index.js +22 -27
- package/components/Divider/Divider.config.js +109 -27
- package/components/Divider/Divider.js +11 -11
- package/components/Divider/index.js +16 -15
- package/components/Drawer/Drawer.config.js +79 -22
- package/components/Drawer/Drawer.js +31 -29
- package/components/Drawer/index.js +21 -26
- package/components/Dropdown/Dropdown.config.js +94 -18
- package/components/Dropdown/Dropdown.js +50 -15
- package/components/Dropdown/index.js +6 -7
- package/components/Dropzone/Dropzone.config.js +86 -21
- package/components/Dropzone/Dropzone.js +11 -7
- package/components/Dropzone/index.js +19 -21
- package/components/EmptyState/EmptyState.config.js +114 -18
- package/components/EmptyState/EmptyState.js +19 -7
- package/components/EmptyState/index.js +6 -7
- package/components/Flow/Flow.config.js +11 -7
- package/components/Flow/Flow.js +11 -7
- package/components/Flow/index.js +6 -7
- package/components/Grid/Grid.config.js +71 -19
- package/components/Grid/Grid.js +21 -18
- package/components/Grid/index.js +18 -20
- package/components/IconButton/IconButton.config.js +146 -28
- package/components/IconButton/IconButton.js +12 -12
- package/components/IconButton/index.js +6 -7
- package/components/Image/Image.js +11 -11
- package/components/Image/index.js +6 -7
- package/components/Indicator/Indicator.config.js +138 -26
- package/components/Indicator/Indicator.js +19 -7
- package/components/Indicator/index.js +6 -7
- package/components/Link/Link.config.js +214 -29
- package/components/Link/Link.js +12 -11
- package/components/Link/index.js +6 -7
- package/components/Mask/Mask.js +10 -6
- package/components/Mask/index.js +6 -7
- package/components/Modal/Modal.config.js +47 -15
- package/components/Modal/Modal.js +12 -12
- package/components/Modal/index.js +16 -15
- package/components/Notification/Notification.config.js +163 -26
- package/components/Notification/Notification.js +38 -23
- package/components/Notification/index.js +22 -27
- package/components/NumberFormat/NumberFormat.js +10 -13
- package/components/NumberFormat/index.js +6 -7
- package/components/NumberInput/NumberInput.config.js +154 -34
- package/components/NumberInput/NumberInput.js +11 -7
- package/components/NumberInput/index.js +19 -21
- package/components/Overlay/index.js +6 -7
- package/components/Pagination/Pagination.config.js +139 -26
- package/components/Pagination/Pagination.js +12 -12
- package/components/Pagination/index.js +6 -7
- package/components/Popover/Popover.config.js +43 -15
- package/components/Popover/Popover.js +11 -7
- package/components/Popover/index.js +6 -7
- package/components/Popup/Popup.js +10 -10
- package/components/Popup/index.js +22 -27
- package/components/Portal/index.js +6 -7
- package/components/Price/Price.config.js +15 -11
- package/components/Price/Price.js +12 -12
- package/components/Price/index.js +16 -15
- package/components/Progress/Progress.config.js +95 -21
- package/components/Progress/Progress.js +12 -8
- package/components/Progress/index.js +6 -7
- package/components/Radiobox/Radiobox.config.js +106 -31
- package/components/Radiobox/Radiobox.js +19 -16
- package/components/Radiobox/index.js +15 -14
- package/components/Range/Range.config.js +157 -24
- package/components/Range/Range.js +11 -11
- package/components/Range/index.js +16 -15
- package/components/Rating/Rating.config.js +117 -20
- package/components/Rating/Rating.js +11 -7
- package/components/Rating/index.js +19 -21
- package/components/SSRProvider/index.js +6 -7
- package/components/Segment/Segment.js +27 -32
- package/components/Segment/SegmentGroup.config.js +130 -34
- package/components/Segment/SegmentItem.config.js +124 -25
- package/components/Segment/index.js +21 -26
- package/components/Select/Select.config.js +305 -35
- package/components/Select/Select.js +50 -15
- package/components/Select/index.js +6 -7
- package/components/Sheet/Sheet.config.js +63 -18
- package/components/Sheet/Sheet.js +12 -12
- package/components/Sheet/index.js +16 -15
- package/components/Skeleton/LineSkeleton.config.js +230 -31
- package/components/Skeleton/Skeleton.js +25 -20
- package/components/Skeleton/index.js +21 -26
- package/components/Slider/Slider.config.js +147 -22
- package/components/Slider/Slider.js +12 -13
- package/components/Slider/index.js +6 -7
- package/components/Spinner/Spinner.config.js +107 -23
- package/components/Spinner/Spinner.js +23 -15
- package/components/Spinner/index.js +6 -7
- package/components/Steps/Steps.config.js +105 -18
- package/components/Steps/Steps.js +12 -8
- package/components/Steps/index.js +6 -7
- package/components/Switch/Switch.config.js +149 -31
- package/components/Switch/Switch.js +12 -8
- package/components/Switch/index.js +6 -7
- package/components/Table/Table.config.js +257 -21
- package/components/Table/Table.js +12 -12
- package/components/Table/index.js +6 -7
- package/components/Tabs/TabItem.js +26 -21
- package/components/Tabs/Tabs.js +26 -21
- package/components/Tabs/TabsController.js +15 -16
- package/components/Tabs/horizontal/HorizontalTabItem.config.js +230 -30
- package/components/Tabs/horizontal/HorizontalTabs.config.js +266 -37
- package/components/Tabs/index.js +27 -35
- package/components/Tabs/vertical/VerticalTabItem.config.js +125 -24
- package/components/Tabs/vertical/VerticalTabs.config.js +98 -24
- package/components/TextArea/TextArea.config.js +367 -42
- package/components/TextArea/TextArea.js +12 -12
- package/components/TextArea/index.js +6 -7
- package/components/TextField/TextField.config.js +338 -40
- package/components/TextField/TextField.js +11 -11
- package/components/TextField/index.js +16 -15
- package/components/Toast/Toast.config.js +127 -35
- package/components/Toast/Toast.js +26 -14
- package/components/Toast/index.js +18 -20
- package/components/ToastNew/ToastNew.config.js +80 -21
- package/components/ToastNew/ToastNew.js +20 -8
- package/components/ToastNew/index.js +15 -14
- package/components/Tokens/Colors/Colors.styles.js +147 -51
- package/components/Tokens/NumberTokens/NumberTokens.styles.js +70 -23
- package/components/Tokens/Typography/Typography.styles.js +204 -76
- package/components/Toolbar/Toolbar.config.js +57 -18
- package/components/Toolbar/Toolbar.js +21 -13
- package/components/Toolbar/index.js +19 -21
- package/components/Tooltip/Tooltip.config.js +71 -19
- package/components/Tooltip/Tooltip.js +11 -7
- package/components/Tooltip/index.js +6 -7
- package/components/Tree/Tree.config.js +83 -18
- package/components/Tree/Tree.js +11 -7
- package/components/Tree/index.js +6 -7
- package/components/Typography/Body.config.js +161 -47
- package/components/Typography/Dspl.config.js +105 -31
- package/components/Typography/Heading.config.js +161 -47
- package/components/Typography/Text.config.js +133 -39
- package/components/Typography/Typography.js +116 -59
- package/components/Typography/index.js +62 -106
- package/components/ViewContainer/ViewContainer.config.js +46 -14
- package/components/ViewContainer/ViewContainer.js +11 -7
- package/components/ViewContainer/index.js +6 -7
- package/emotion/cjs/components/Accordion/Accordion.config.js +101 -19
- package/emotion/cjs/components/Accordion/Accordion.js +18 -12
- package/emotion/cjs/components/Accordion/index.js +15 -14
- package/emotion/cjs/components/Attach/Attach.config.js +267 -26
- package/emotion/cjs/components/Attach/Attach.js +11 -11
- package/emotion/cjs/components/Attach/index.js +6 -7
- package/emotion/cjs/components/Autocomplete/Autocomplete.config.js +247 -30
- package/emotion/cjs/components/Autocomplete/Autocomplete.js +11 -7
- package/emotion/cjs/components/Autocomplete/index.js +6 -7
- package/emotion/cjs/components/Avatar/Avatar.config.js +197 -31
- package/emotion/cjs/components/Avatar/Avatar.js +19 -7
- package/emotion/cjs/components/Avatar/index.js +6 -7
- package/emotion/cjs/components/AvatarGroup/AvatarGroup.js +10 -6
- package/emotion/cjs/components/AvatarGroup/index.js +6 -7
- package/emotion/cjs/components/Badge/Badge.config.js +145 -30
- package/emotion/cjs/components/Badge/Badge.js +11 -11
- package/emotion/cjs/components/Badge/index.js +6 -7
- package/emotion/cjs/components/Breadcrumbs/Breadcrumbs.config.js +60 -18
- package/emotion/cjs/components/Breadcrumbs/Breadcrumbs.js +12 -12
- package/emotion/cjs/components/Breadcrumbs/index.js +6 -7
- package/emotion/cjs/components/Button/Button.config.js +174 -30
- package/emotion/cjs/components/Button/Button.js +146 -41
- package/emotion/cjs/components/Button/index.js +6 -7
- package/emotion/cjs/components/ButtonBase/index.js +6 -7
- package/emotion/cjs/components/ButtonGroup/ButtonGroup.config.js +228 -38
- package/emotion/cjs/components/ButtonGroup/ButtonGroup.js +11 -11
- package/emotion/cjs/components/ButtonGroup/index.js +6 -7
- package/emotion/cjs/components/Calendar/Calendar.js +39 -18
- package/emotion/cjs/components/Calendar/CalendarBase.config.js +128 -18
- package/emotion/cjs/components/Calendar/CalendarDouble.config.js +128 -18
- package/emotion/cjs/components/Calendar/index.js +24 -32
- package/emotion/cjs/components/Card/Card.config.js +81 -20
- package/emotion/cjs/components/Card/Card.js +22 -23
- package/emotion/cjs/components/Card/index.js +18 -20
- package/emotion/cjs/components/Carousel/Carousel.config.js +62 -0
- package/emotion/cjs/components/Carousel/Carousel.js +14 -0
- package/emotion/cjs/components/Carousel/index.js +20 -0
- package/emotion/cjs/components/Cell/Cell.config.js +110 -16
- package/emotion/cjs/components/Cell/Cell.js +12 -12
- package/emotion/cjs/components/Cell/index.js +25 -33
- package/emotion/cjs/components/Checkbox/Checkbox.config.js +104 -25
- package/emotion/cjs/components/Checkbox/Checkbox.js +12 -11
- package/emotion/cjs/components/Checkbox/index.js +6 -7
- package/emotion/cjs/components/Chip/Chip.config.js +162 -25
- package/emotion/cjs/components/Chip/Chip.js +12 -12
- package/emotion/cjs/components/Chip/index.js +6 -7
- package/emotion/cjs/components/ChipGroup/ChipGroup.config.js +127 -24
- package/emotion/cjs/components/ChipGroup/ChipGroup.js +11 -7
- package/emotion/cjs/components/ChipGroup/index.js +6 -7
- package/emotion/cjs/components/Combobox/Combobox.config.js +313 -30
- package/emotion/cjs/components/Combobox/Combobox.js +50 -15
- package/emotion/cjs/components/Combobox/index.js +6 -7
- package/emotion/cjs/components/Counter/Counter.config.js +95 -21
- package/emotion/cjs/components/Counter/Counter.js +11 -11
- package/emotion/cjs/components/Counter/index.js +16 -15
- package/emotion/cjs/components/DatePicker/DatePicker.config.js +264 -24
- package/emotion/cjs/components/DatePicker/DatePicker.js +21 -9
- package/emotion/cjs/components/DatePicker/index.js +22 -27
- package/emotion/cjs/components/Divider/Divider.config.js +109 -27
- package/emotion/cjs/components/Divider/Divider.js +11 -11
- package/emotion/cjs/components/Divider/index.js +16 -15
- package/emotion/cjs/components/Drawer/Drawer.config.js +79 -22
- package/emotion/cjs/components/Drawer/Drawer.js +31 -29
- package/emotion/cjs/components/Drawer/index.js +21 -26
- package/emotion/cjs/components/Dropdown/Dropdown.config.js +94 -18
- package/emotion/cjs/components/Dropdown/Dropdown.js +50 -15
- package/emotion/cjs/components/Dropdown/index.js +6 -7
- package/emotion/cjs/components/Dropzone/Dropzone.config.js +86 -21
- package/emotion/cjs/components/Dropzone/Dropzone.js +11 -7
- package/emotion/cjs/components/Dropzone/index.js +19 -21
- package/emotion/cjs/components/EmptyState/EmptyState.config.js +114 -18
- package/emotion/cjs/components/EmptyState/EmptyState.js +19 -7
- package/emotion/cjs/components/EmptyState/index.js +6 -7
- package/emotion/cjs/components/Flow/Flow.config.js +11 -7
- package/emotion/cjs/components/Flow/Flow.js +11 -7
- package/emotion/cjs/components/Flow/index.js +6 -7
- package/emotion/cjs/components/Grid/Grid.config.js +71 -19
- package/emotion/cjs/components/Grid/Grid.js +21 -18
- package/emotion/cjs/components/Grid/index.js +18 -20
- package/emotion/cjs/components/IconButton/IconButton.config.js +146 -28
- package/emotion/cjs/components/IconButton/IconButton.js +12 -12
- package/emotion/cjs/components/IconButton/index.js +6 -7
- package/emotion/cjs/components/Image/Image.js +11 -11
- package/emotion/cjs/components/Image/index.js +6 -7
- package/emotion/cjs/components/Indicator/Indicator.config.js +138 -26
- package/emotion/cjs/components/Indicator/Indicator.js +19 -7
- package/emotion/cjs/components/Indicator/index.js +6 -7
- package/emotion/cjs/components/Link/Link.config.js +214 -29
- package/emotion/cjs/components/Link/Link.js +12 -11
- package/emotion/cjs/components/Link/index.js +6 -7
- package/emotion/cjs/components/Mask/Mask.js +10 -6
- package/emotion/cjs/components/Mask/index.js +6 -7
- package/emotion/cjs/components/Modal/Modal.config.js +47 -15
- package/emotion/cjs/components/Modal/Modal.js +12 -12
- package/emotion/cjs/components/Modal/index.js +16 -15
- package/emotion/cjs/components/Notification/Notification.config.js +163 -26
- package/emotion/cjs/components/Notification/Notification.js +38 -23
- package/emotion/cjs/components/Notification/index.js +22 -27
- package/emotion/cjs/components/NumberFormat/NumberFormat.js +10 -13
- package/emotion/cjs/components/NumberFormat/index.js +6 -7
- package/emotion/cjs/components/NumberInput/NumberInput.config.js +154 -34
- package/emotion/cjs/components/NumberInput/NumberInput.js +11 -7
- package/emotion/cjs/components/NumberInput/index.js +19 -21
- package/emotion/cjs/components/Overlay/index.js +6 -7
- package/emotion/cjs/components/Pagination/Pagination.config.js +139 -26
- package/emotion/cjs/components/Pagination/Pagination.js +12 -12
- package/emotion/cjs/components/Pagination/index.js +6 -7
- package/emotion/cjs/components/Popover/Popover.config.js +43 -15
- package/emotion/cjs/components/Popover/Popover.js +11 -7
- package/emotion/cjs/components/Popover/index.js +6 -7
- package/emotion/cjs/components/Popup/Popup.js +10 -10
- package/emotion/cjs/components/Popup/index.js +22 -27
- package/emotion/cjs/components/Portal/index.js +6 -7
- package/emotion/cjs/components/Price/Price.config.js +15 -11
- package/emotion/cjs/components/Price/Price.js +12 -12
- package/emotion/cjs/components/Price/index.js +16 -15
- package/emotion/cjs/components/Progress/Progress.config.js +95 -21
- package/emotion/cjs/components/Progress/Progress.js +12 -8
- package/emotion/cjs/components/Progress/index.js +6 -7
- package/emotion/cjs/components/Radiobox/Radiobox.config.js +106 -31
- package/emotion/cjs/components/Radiobox/Radiobox.js +19 -16
- package/emotion/cjs/components/Radiobox/index.js +15 -14
- package/emotion/cjs/components/Range/Range.config.js +157 -24
- package/emotion/cjs/components/Range/Range.js +11 -11
- package/emotion/cjs/components/Range/index.js +16 -15
- package/emotion/cjs/components/Rating/Rating.config.js +117 -20
- package/emotion/cjs/components/Rating/Rating.js +11 -7
- package/emotion/cjs/components/Rating/index.js +19 -21
- package/emotion/cjs/components/SSRProvider/index.js +6 -7
- package/emotion/cjs/components/Segment/Segment.js +27 -32
- package/emotion/cjs/components/Segment/SegmentGroup.config.js +130 -34
- package/emotion/cjs/components/Segment/SegmentItem.config.js +124 -25
- package/emotion/cjs/components/Segment/index.js +21 -26
- package/emotion/cjs/components/Select/Select.config.js +305 -35
- package/emotion/cjs/components/Select/Select.js +50 -15
- package/emotion/cjs/components/Select/index.js +6 -7
- package/emotion/cjs/components/Sheet/Sheet.config.js +63 -18
- package/emotion/cjs/components/Sheet/Sheet.js +12 -12
- package/emotion/cjs/components/Sheet/index.js +16 -15
- package/emotion/cjs/components/Skeleton/LineSkeleton.config.js +230 -31
- package/emotion/cjs/components/Skeleton/Skeleton.js +25 -20
- package/emotion/cjs/components/Skeleton/index.js +21 -26
- package/emotion/cjs/components/Slider/Slider.config.js +147 -22
- package/emotion/cjs/components/Slider/Slider.js +12 -13
- package/emotion/cjs/components/Slider/index.js +6 -7
- package/emotion/cjs/components/Spinner/Spinner.config.js +107 -23
- package/emotion/cjs/components/Spinner/Spinner.js +23 -15
- package/emotion/cjs/components/Spinner/index.js +6 -7
- package/emotion/cjs/components/Steps/Steps.config.js +105 -18
- package/emotion/cjs/components/Steps/Steps.js +12 -8
- package/emotion/cjs/components/Steps/index.js +6 -7
- package/emotion/cjs/components/Switch/Switch.config.js +149 -31
- package/emotion/cjs/components/Switch/Switch.js +12 -8
- package/emotion/cjs/components/Switch/index.js +6 -7
- package/emotion/cjs/components/Table/Table.config.js +257 -21
- package/emotion/cjs/components/Table/Table.js +12 -12
- package/emotion/cjs/components/Table/index.js +6 -7
- package/emotion/cjs/components/Tabs/TabItem.js +26 -21
- package/emotion/cjs/components/Tabs/Tabs.js +26 -21
- package/emotion/cjs/components/Tabs/TabsController.js +15 -16
- package/emotion/cjs/components/Tabs/horizontal/HorizontalTabItem.config.js +230 -30
- package/emotion/cjs/components/Tabs/horizontal/HorizontalTabs.config.js +266 -37
- package/emotion/cjs/components/Tabs/index.js +27 -35
- package/emotion/cjs/components/Tabs/vertical/VerticalTabItem.config.js +125 -24
- package/emotion/cjs/components/Tabs/vertical/VerticalTabs.config.js +98 -24
- package/emotion/cjs/components/TextArea/TextArea.config.js +367 -42
- package/emotion/cjs/components/TextArea/TextArea.js +12 -12
- package/emotion/cjs/components/TextArea/index.js +6 -7
- package/emotion/cjs/components/TextField/TextField.config.js +338 -40
- package/emotion/cjs/components/TextField/TextField.js +11 -11
- package/emotion/cjs/components/TextField/index.js +16 -15
- package/emotion/cjs/components/Toast/Toast.config.js +127 -35
- package/emotion/cjs/components/Toast/Toast.js +26 -14
- package/emotion/cjs/components/Toast/index.js +18 -20
- package/emotion/cjs/components/ToastNew/ToastNew.config.js +80 -21
- package/emotion/cjs/components/ToastNew/ToastNew.js +20 -8
- package/emotion/cjs/components/ToastNew/index.js +15 -14
- package/emotion/cjs/components/Tokens/Colors/Colors.styles.js +147 -27
- package/emotion/cjs/components/Tokens/NumberTokens/NumberTokens.styles.js +70 -13
- package/emotion/cjs/components/Tokens/Typography/Typography.styles.js +204 -44
- package/emotion/cjs/components/Toolbar/Toolbar.config.js +57 -18
- package/emotion/cjs/components/Toolbar/Toolbar.js +21 -13
- package/emotion/cjs/components/Toolbar/index.js +19 -21
- package/emotion/cjs/components/Tooltip/Tooltip.config.js +71 -19
- package/emotion/cjs/components/Tooltip/Tooltip.js +11 -7
- package/emotion/cjs/components/Tooltip/index.js +6 -7
- package/emotion/cjs/components/Tree/Tree.config.js +83 -18
- package/emotion/cjs/components/Tree/Tree.js +11 -7
- package/emotion/cjs/components/Tree/index.js +6 -7
- package/emotion/cjs/components/Typography/Body.config.js +161 -47
- package/emotion/cjs/components/Typography/Dspl.config.js +105 -31
- package/emotion/cjs/components/Typography/Heading.config.js +161 -47
- package/emotion/cjs/components/Typography/Text.config.js +133 -39
- package/emotion/cjs/components/Typography/Typography.js +116 -59
- package/emotion/cjs/components/Typography/index.js +62 -106
- package/emotion/cjs/components/ViewContainer/ViewContainer.config.js +46 -14
- package/emotion/cjs/components/ViewContainer/ViewContainer.js +11 -7
- package/emotion/cjs/components/ViewContainer/index.js +6 -7
- package/emotion/cjs/helpers/index.js +25 -0
- package/emotion/cjs/index.js +82 -729
- package/emotion/cjs/mixins/index.js +61 -20
- package/emotion/cjs/tokens/index.js +126 -255
- package/emotion/es/components/Accordion/Accordion.config.js +92 -14
- package/emotion/es/components/Accordion/Accordion.js +3 -3
- package/emotion/es/components/Accordion/index.js +1 -1
- package/emotion/es/components/Attach/Attach.config.js +258 -21
- package/emotion/es/components/Attach/Attach.js +2 -4
- package/emotion/es/components/Attach/index.js +1 -1
- package/emotion/es/components/Autocomplete/Autocomplete.config.js +238 -25
- package/emotion/es/components/Autocomplete/Autocomplete.js +2 -2
- package/emotion/es/components/Autocomplete/index.js +1 -1
- package/emotion/es/components/Avatar/Avatar.config.js +188 -26
- package/emotion/es/components/Avatar/Avatar.js +3 -3
- package/emotion/es/components/Avatar/index.js +1 -1
- package/emotion/es/components/AvatarGroup/AvatarGroup.js +2 -2
- package/emotion/es/components/AvatarGroup/index.js +1 -1
- package/emotion/es/components/Badge/Badge.config.js +136 -25
- package/emotion/es/components/Badge/Badge.js +2 -4
- package/emotion/es/components/Badge/index.js +1 -1
- package/emotion/es/components/Breadcrumbs/Breadcrumbs.config.js +51 -13
- package/emotion/es/components/Breadcrumbs/Breadcrumbs.js +3 -5
- package/emotion/es/components/Breadcrumbs/index.js +1 -1
- package/emotion/es/components/Button/Button.config.js +165 -25
- package/emotion/es/components/Button/Button.js +89 -28
- 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 +219 -33
- package/emotion/es/components/ButtonGroup/ButtonGroup.js +2 -4
- package/emotion/es/components/ButtonGroup/index.js +1 -1
- package/emotion/es/components/Calendar/Calendar.js +12 -12
- package/emotion/es/components/Calendar/CalendarBase.config.js +119 -13
- package/emotion/es/components/Calendar/CalendarDouble.config.js +119 -13
- package/emotion/es/components/Calendar/index.js +1 -1
- package/emotion/es/components/Card/Card.config.js +72 -15
- package/emotion/es/components/Card/Card.js +4 -6
- package/emotion/es/components/Card/index.js +1 -1
- package/emotion/es/components/Carousel/Carousel.config.js +52 -0
- package/emotion/es/components/Carousel/Carousel.js +5 -0
- package/emotion/es/components/Carousel/index.js +2 -0
- package/emotion/es/components/Cell/Cell.config.js +101 -11
- package/emotion/es/components/Cell/Cell.js +3 -5
- package/emotion/es/components/Cell/index.js +1 -1
- package/emotion/es/components/Checkbox/Checkbox.config.js +95 -20
- package/emotion/es/components/Checkbox/Checkbox.js +3 -4
- package/emotion/es/components/Checkbox/index.js +1 -1
- package/emotion/es/components/Chip/Chip.config.js +153 -20
- package/emotion/es/components/Chip/Chip.js +3 -5
- package/emotion/es/components/Chip/index.js +1 -1
- package/emotion/es/components/ChipGroup/ChipGroup.config.js +118 -19
- package/emotion/es/components/ChipGroup/ChipGroup.js +2 -2
- package/emotion/es/components/ChipGroup/index.js +1 -1
- package/emotion/es/components/Combobox/Combobox.config.js +304 -25
- package/emotion/es/components/Combobox/Combobox.js +36 -9
- package/emotion/es/components/Combobox/index.js +1 -1
- package/emotion/es/components/Counter/Counter.config.js +86 -16
- package/emotion/es/components/Counter/Counter.js +2 -4
- package/emotion/es/components/Counter/index.js +1 -1
- package/emotion/es/components/DatePicker/DatePicker.config.js +255 -19
- package/emotion/es/components/DatePicker/DatePicker.js +4 -4
- package/emotion/es/components/DatePicker/index.js +1 -1
- package/emotion/es/components/Divider/Divider.config.js +100 -22
- package/emotion/es/components/Divider/Divider.js +2 -4
- package/emotion/es/components/Divider/index.js +1 -1
- package/emotion/es/components/Drawer/Drawer.config.js +70 -17
- package/emotion/es/components/Drawer/Drawer.js +8 -16
- package/emotion/es/components/Drawer/index.js +1 -1
- package/emotion/es/components/Dropdown/Dropdown.config.js +85 -13
- package/emotion/es/components/Dropdown/Dropdown.js +36 -9
- package/emotion/es/components/Dropdown/index.js +1 -1
- package/emotion/es/components/Dropzone/Dropzone.config.js +77 -16
- package/emotion/es/components/Dropzone/Dropzone.js +2 -2
- package/emotion/es/components/Dropzone/index.js +1 -1
- package/emotion/es/components/EmptyState/EmptyState.config.js +105 -13
- package/emotion/es/components/EmptyState/EmptyState.js +2 -2
- 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/index.js +1 -1
- package/emotion/es/components/Grid/Grid.config.js +62 -14
- package/emotion/es/components/Grid/Grid.js +2 -2
- package/emotion/es/components/Grid/index.js +1 -1
- package/emotion/es/components/IconButton/IconButton.config.js +137 -23
- package/emotion/es/components/IconButton/IconButton.js +3 -5
- package/emotion/es/components/IconButton/index.js +1 -1
- package/emotion/es/components/Image/Image.js +3 -5
- package/emotion/es/components/Image/index.js +1 -1
- package/emotion/es/components/Indicator/Indicator.config.js +129 -21
- package/emotion/es/components/Indicator/Indicator.js +3 -3
- package/emotion/es/components/Indicator/index.js +1 -1
- package/emotion/es/components/Link/Link.config.js +205 -24
- package/emotion/es/components/Link/Link.js +3 -4
- package/emotion/es/components/Link/index.js +1 -1
- package/emotion/es/components/Mask/Mask.js +1 -1
- package/emotion/es/components/Mask/index.js +1 -1
- package/emotion/es/components/Modal/Modal.config.js +38 -10
- package/emotion/es/components/Modal/Modal.js +3 -5
- package/emotion/es/components/Modal/index.js +1 -1
- package/emotion/es/components/Notification/Notification.config.js +154 -21
- package/emotion/es/components/Notification/Notification.js +11 -15
- package/emotion/es/components/Notification/index.js +1 -1
- package/emotion/es/components/NumberFormat/NumberFormat.js +1 -9
- package/emotion/es/components/NumberFormat/index.js +1 -1
- package/emotion/es/components/NumberInput/NumberInput.config.js +145 -29
- package/emotion/es/components/NumberInput/NumberInput.js +2 -2
- package/emotion/es/components/NumberInput/index.js +1 -1
- package/emotion/es/components/Overlay/index.js +1 -1
- package/emotion/es/components/Pagination/Pagination.config.js +130 -21
- package/emotion/es/components/Pagination/Pagination.js +3 -5
- package/emotion/es/components/Pagination/index.js +1 -1
- package/emotion/es/components/Popover/Popover.config.js +34 -10
- package/emotion/es/components/Popover/Popover.js +2 -2
- package/emotion/es/components/Popover/index.js +1 -1
- package/emotion/es/components/Popup/Popup.js +2 -4
- package/emotion/es/components/Popup/index.js +1 -1
- 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 +3 -5
- package/emotion/es/components/Price/index.js +1 -1
- package/emotion/es/components/Progress/Progress.config.js +86 -16
- package/emotion/es/components/Progress/Progress.js +3 -3
- package/emotion/es/components/Progress/index.js +1 -1
- package/emotion/es/components/Radiobox/Radiobox.config.js +97 -26
- package/emotion/es/components/Radiobox/Radiobox.js +4 -5
- package/emotion/es/components/Radiobox/index.js +1 -1
- package/emotion/es/components/Range/Range.config.js +148 -19
- package/emotion/es/components/Range/Range.js +2 -4
- package/emotion/es/components/Range/index.js +1 -1
- package/emotion/es/components/Rating/Rating.config.js +108 -15
- package/emotion/es/components/Rating/Rating.js +2 -2
- 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 +5 -10
- package/emotion/es/components/Segment/SegmentGroup.config.js +121 -29
- package/emotion/es/components/Segment/SegmentItem.config.js +115 -20
- package/emotion/es/components/Segment/index.js +1 -1
- package/emotion/es/components/Select/Select.config.js +295 -29
- package/emotion/es/components/Select/Select.js +36 -9
- package/emotion/es/components/Select/index.js +1 -1
- package/emotion/es/components/Sheet/Sheet.config.js +54 -13
- package/emotion/es/components/Sheet/Sheet.js +3 -5
- package/emotion/es/components/Sheet/index.js +1 -1
- package/emotion/es/components/Skeleton/LineSkeleton.config.js +221 -26
- package/emotion/es/components/Skeleton/Skeleton.js +4 -4
- package/emotion/es/components/Skeleton/index.js +1 -1
- package/emotion/es/components/Slider/Slider.config.js +138 -17
- package/emotion/es/components/Slider/Slider.js +3 -5
- package/emotion/es/components/Slider/index.js +1 -1
- package/emotion/es/components/Spinner/Spinner.config.js +98 -18
- package/emotion/es/components/Spinner/Spinner.js +8 -6
- package/emotion/es/components/Spinner/index.js +1 -1
- package/emotion/es/components/Steps/Steps.config.js +96 -13
- package/emotion/es/components/Steps/Steps.js +3 -3
- package/emotion/es/components/Steps/index.js +1 -1
- package/emotion/es/components/Switch/Switch.config.js +140 -26
- package/emotion/es/components/Switch/Switch.js +3 -3
- package/emotion/es/components/Switch/index.js +1 -1
- package/emotion/es/components/Table/Table.config.js +248 -16
- package/emotion/es/components/Table/Table.js +3 -5
- package/emotion/es/components/Table/index.js +1 -1
- package/emotion/es/components/Tabs/TabItem.js +10 -11
- package/emotion/es/components/Tabs/Tabs.js +10 -11
- package/emotion/es/components/Tabs/TabsController.js +5 -7
- package/emotion/es/components/Tabs/horizontal/HorizontalTabItem.config.js +221 -25
- package/emotion/es/components/Tabs/horizontal/HorizontalTabs.config.js +257 -32
- package/emotion/es/components/Tabs/index.js +1 -1
- package/emotion/es/components/Tabs/vertical/VerticalTabItem.config.js +116 -19
- package/emotion/es/components/Tabs/vertical/VerticalTabs.config.js +89 -19
- package/emotion/es/components/TextArea/TextArea.config.js +358 -37
- package/emotion/es/components/TextArea/TextArea.js +3 -5
- package/emotion/es/components/TextArea/index.js +1 -1
- package/emotion/es/components/TextField/TextField.config.js +329 -35
- package/emotion/es/components/TextField/TextField.js +2 -4
- package/emotion/es/components/TextField/index.js +1 -1
- package/emotion/es/components/Toast/Toast.config.js +118 -30
- package/emotion/es/components/Toast/Toast.js +4 -4
- package/emotion/es/components/Toast/index.js +1 -1
- package/emotion/es/components/ToastNew/ToastNew.config.js +71 -16
- package/emotion/es/components/ToastNew/ToastNew.js +3 -3
- package/emotion/es/components/ToastNew/index.js +1 -1
- package/emotion/es/components/Tokens/Colors/Colors.styles.js +90 -19
- package/emotion/es/components/Tokens/NumberTokens/NumberTokens.styles.js +37 -8
- package/emotion/es/components/Tokens/Typography/Typography.styles.js +135 -36
- package/emotion/es/components/Toolbar/Toolbar.config.js +48 -13
- package/emotion/es/components/Toolbar/Toolbar.js +4 -6
- package/emotion/es/components/Toolbar/index.js +1 -1
- package/emotion/es/components/Tooltip/Tooltip.config.js +62 -14
- package/emotion/es/components/Tooltip/Tooltip.js +2 -2
- package/emotion/es/components/Tooltip/index.js +1 -1
- package/emotion/es/components/Tree/Tree.config.js +74 -13
- package/emotion/es/components/Tree/Tree.js +2 -2
- package/emotion/es/components/Tree/index.js +1 -1
- package/emotion/es/components/Typography/Body.config.js +131 -38
- package/emotion/es/components/Typography/Dspl.config.js +83 -24
- package/emotion/es/components/Typography/Heading.config.js +131 -38
- package/emotion/es/components/Typography/Text.config.js +107 -31
- package/emotion/es/components/Typography/Typography.js +35 -35
- package/emotion/es/components/Typography/index.js +1 -1
- package/emotion/es/components/ViewContainer/ViewContainer.config.js +36 -8
- package/emotion/es/components/ViewContainer/ViewContainer.js +2 -2
- package/emotion/es/components/ViewContainer/index.js +1 -1
- package/emotion/es/index.js +2 -1
- package/emotion/es/mixins/index.js +1 -1
- package/emotion/es/tokens/index.js +1 -1
- package/es/components/Accordion/Accordion.config.js +92 -14
- package/es/components/Accordion/Accordion.js +3 -3
- package/es/components/Accordion/index.js +1 -1
- package/es/components/Attach/Attach.config.js +258 -21
- package/es/components/Attach/Attach.js +2 -4
- package/es/components/Attach/index.js +1 -1
- package/es/components/Autocomplete/Autocomplete.config.js +238 -25
- package/es/components/Autocomplete/Autocomplete.js +2 -2
- package/es/components/Autocomplete/index.js +1 -1
- package/es/components/Avatar/Avatar.config.js +188 -26
- 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 +136 -25
- package/es/components/Badge/Badge.js +2 -4
- package/es/components/Badge/index.js +1 -1
- package/es/components/Breadcrumbs/Breadcrumbs.config.js +51 -13
- package/es/components/Breadcrumbs/Breadcrumbs.js +3 -5
- package/es/components/Breadcrumbs/index.js +1 -1
- package/es/components/Button/Button.config.js +165 -25
- package/es/components/Button/Button.js +89 -28
- package/es/components/Button/index.js +1 -1
- package/es/components/ButtonBase/index.js +1 -1
- package/es/components/ButtonGroup/ButtonGroup.config.js +219 -33
- package/es/components/ButtonGroup/ButtonGroup.js +2 -4
- package/es/components/ButtonGroup/index.js +1 -1
- package/es/components/Calendar/Calendar.js +12 -12
- package/es/components/Calendar/CalendarBase.config.js +119 -13
- package/es/components/Calendar/CalendarDouble.config.js +119 -13
- package/es/components/Calendar/index.js +1 -1
- package/es/components/Card/Card.config.js +72 -15
- package/es/components/Card/Card.js +4 -6
- package/es/components/Card/index.js +1 -1
- package/es/components/Carousel/Carousel.config.js +52 -0
- package/es/components/Carousel/Carousel.js +5 -0
- package/es/components/Carousel/index.js +2 -0
- package/es/components/Cell/Cell.config.js +101 -11
- package/es/components/Cell/Cell.js +3 -5
- package/es/components/Cell/index.js +1 -1
- package/es/components/Checkbox/Checkbox.config.js +95 -20
- package/es/components/Checkbox/Checkbox.js +3 -4
- package/es/components/Checkbox/index.js +1 -1
- package/es/components/Chip/Chip.config.js +153 -20
- package/es/components/Chip/Chip.js +3 -5
- package/es/components/Chip/index.js +1 -1
- package/es/components/ChipGroup/ChipGroup.config.js +118 -19
- package/es/components/ChipGroup/ChipGroup.js +2 -2
- package/es/components/ChipGroup/index.js +1 -1
- package/es/components/Combobox/Combobox.config.js +304 -25
- package/es/components/Combobox/Combobox.js +36 -9
- package/es/components/Combobox/index.js +1 -1
- package/es/components/Counter/Counter.config.js +86 -16
- package/es/components/Counter/Counter.js +2 -4
- package/es/components/Counter/index.js +1 -1
- package/es/components/DatePicker/DatePicker.config.js +255 -19
- package/es/components/DatePicker/DatePicker.js +4 -4
- package/es/components/DatePicker/index.js +1 -1
- package/es/components/Divider/Divider.config.js +100 -22
- package/es/components/Divider/Divider.js +2 -4
- package/es/components/Divider/index.js +1 -1
- package/es/components/Drawer/Drawer.config.js +70 -17
- package/es/components/Drawer/Drawer.js +8 -16
- package/es/components/Drawer/index.js +1 -1
- package/es/components/Dropdown/Dropdown.config.js +85 -13
- package/es/components/Dropdown/Dropdown.js +36 -9
- package/es/components/Dropdown/index.js +1 -1
- package/es/components/Dropzone/Dropzone.config.js +77 -16
- package/es/components/Dropzone/Dropzone.js +2 -2
- package/es/components/Dropzone/index.js +1 -1
- package/es/components/EmptyState/EmptyState.config.js +105 -13
- 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 +62 -14
- package/es/components/Grid/Grid.js +2 -2
- package/es/components/Grid/index.js +1 -1
- package/es/components/IconButton/IconButton.config.js +137 -23
- package/es/components/IconButton/IconButton.js +3 -5
- package/es/components/IconButton/index.js +1 -1
- package/es/components/Image/Image.js +3 -5
- package/es/components/Image/index.js +1 -1
- package/es/components/Indicator/Indicator.config.js +129 -21
- package/es/components/Indicator/Indicator.js +3 -3
- package/es/components/Indicator/index.js +1 -1
- package/es/components/Link/Link.config.js +205 -24
- package/es/components/Link/Link.js +3 -4
- 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 +38 -10
- package/es/components/Modal/Modal.js +3 -5
- package/es/components/Modal/index.js +1 -1
- package/es/components/Notification/Notification.config.js +154 -21
- package/es/components/Notification/Notification.js +11 -15
- package/es/components/Notification/index.js +1 -1
- package/es/components/NumberFormat/NumberFormat.js +1 -9
- package/es/components/NumberFormat/index.js +1 -1
- package/es/components/NumberInput/NumberInput.config.js +145 -29
- 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.config.js +130 -21
- package/es/components/Pagination/Pagination.js +3 -5
- package/es/components/Pagination/index.js +1 -1
- package/es/components/Popover/Popover.config.js +34 -10
- package/es/components/Popover/Popover.js +2 -2
- package/es/components/Popover/index.js +1 -1
- package/es/components/Popup/Popup.js +2 -4
- 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 +3 -5
- package/es/components/Price/index.js +1 -1
- package/es/components/Progress/Progress.config.js +86 -16
- package/es/components/Progress/Progress.js +3 -3
- package/es/components/Progress/index.js +1 -1
- package/es/components/Radiobox/Radiobox.config.js +97 -26
- package/es/components/Radiobox/Radiobox.js +4 -5
- package/es/components/Radiobox/index.js +1 -1
- package/es/components/Range/Range.config.js +148 -19
- package/es/components/Range/Range.js +2 -4
- package/es/components/Range/index.js +1 -1
- package/es/components/Rating/Rating.config.js +108 -15
- 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 +5 -10
- package/es/components/Segment/SegmentGroup.config.js +121 -29
- package/es/components/Segment/SegmentItem.config.js +115 -20
- package/es/components/Segment/index.js +1 -1
- package/es/components/Select/Select.config.js +295 -29
- package/es/components/Select/Select.js +36 -9
- package/es/components/Select/index.js +1 -1
- package/es/components/Sheet/Sheet.config.js +54 -13
- package/es/components/Sheet/Sheet.js +3 -5
- package/es/components/Sheet/index.js +1 -1
- package/es/components/Skeleton/LineSkeleton.config.js +221 -26
- package/es/components/Skeleton/Skeleton.js +4 -4
- package/es/components/Skeleton/index.js +1 -1
- package/es/components/Slider/Slider.config.js +138 -17
- package/es/components/Slider/Slider.js +3 -5
- package/es/components/Slider/index.js +1 -1
- package/es/components/Spinner/Spinner.config.js +98 -18
- package/es/components/Spinner/Spinner.js +8 -6
- package/es/components/Spinner/index.js +1 -1
- package/es/components/Steps/Steps.config.js +96 -13
- package/es/components/Steps/Steps.js +3 -3
- package/es/components/Steps/index.js +1 -1
- package/es/components/Switch/Switch.config.js +140 -26
- package/es/components/Switch/Switch.js +3 -3
- package/es/components/Switch/index.js +1 -1
- package/es/components/Table/Table.config.js +248 -16
- package/es/components/Table/Table.js +3 -5
- package/es/components/Table/index.js +1 -1
- package/es/components/Tabs/TabItem.js +10 -11
- package/es/components/Tabs/Tabs.js +10 -11
- package/es/components/Tabs/TabsController.js +5 -7
- package/es/components/Tabs/horizontal/HorizontalTabItem.config.js +221 -25
- package/es/components/Tabs/horizontal/HorizontalTabs.config.js +257 -32
- package/es/components/Tabs/index.js +1 -1
- package/es/components/Tabs/vertical/VerticalTabItem.config.js +116 -19
- package/es/components/Tabs/vertical/VerticalTabs.config.js +89 -19
- package/es/components/TextArea/TextArea.config.js +358 -37
- package/es/components/TextArea/TextArea.js +3 -5
- package/es/components/TextArea/index.js +1 -1
- package/es/components/TextField/TextField.config.js +329 -35
- package/es/components/TextField/TextField.js +2 -4
- package/es/components/TextField/index.js +1 -1
- package/es/components/Toast/Toast.config.js +118 -30
- package/es/components/Toast/Toast.js +4 -4
- package/es/components/Toast/index.js +1 -1
- package/es/components/ToastNew/ToastNew.config.js +71 -16
- package/es/components/ToastNew/ToastNew.js +3 -3
- package/es/components/ToastNew/index.js +1 -1
- package/es/components/Tokens/Colors/Colors.styles.js +90 -43
- package/es/components/Tokens/NumberTokens/NumberTokens.styles.js +37 -18
- package/es/components/Tokens/Typography/Typography.styles.js +135 -68
- package/es/components/Toolbar/Toolbar.config.js +48 -13
- package/es/components/Toolbar/Toolbar.js +4 -6
- package/es/components/Toolbar/index.js +1 -1
- package/es/components/Tooltip/Tooltip.config.js +62 -14
- package/es/components/Tooltip/Tooltip.js +2 -2
- package/es/components/Tooltip/index.js +1 -1
- package/es/components/Tree/Tree.config.js +74 -13
- package/es/components/Tree/Tree.js +2 -2
- package/es/components/Tree/index.js +1 -1
- package/es/components/Typography/Body.config.js +131 -38
- package/es/components/Typography/Dspl.config.js +83 -24
- package/es/components/Typography/Heading.config.js +131 -38
- package/es/components/Typography/Text.config.js +107 -31
- package/es/components/Typography/Typography.js +35 -35
- package/es/components/Typography/index.js +1 -1
- package/es/components/ViewContainer/ViewContainer.config.js +36 -8
- package/es/components/ViewContainer/ViewContainer.js +2 -2
- package/es/components/ViewContainer/index.js +1 -1
- package/es/index.js +2 -1
- package/es/mixins/index.js +1 -1
- package/es/tokens/index.js +1 -1
- package/index.d.ts +1 -0
- package/index.js +82 -729
- package/mixins/index.js +61 -20
- package/package.json +12 -12
- package/tokens/index.js +126 -255
- package/components/Image/Image.component-test.js +0 -92
- package/components/Pagination/Pagination.component-test.js +0 -298
- package/components/Slider/Slider.component-test.js +0 -223
- package/emotion/cjs/components/Accordion/Accordion.stories.tsx +0 -159
- package/emotion/cjs/components/Attach/Attach.stories.tsx +0 -157
- package/emotion/cjs/components/Autocomplete/Autocomplete.stories.tsx +0 -170
- package/emotion/cjs/components/Avatar/Avatar.stories.tsx +0 -74
- package/emotion/cjs/components/AvatarGroup/AvatarGroup.stories.tsx +0 -71
- package/emotion/cjs/components/Badge/Badge.stories.tsx +0 -87
- package/emotion/cjs/components/Breadcrumbs/Breadcrumbs.stories.tsx +0 -82
- package/emotion/cjs/components/Button/Button.stories.tsx +0 -212
- package/emotion/cjs/components/ButtonGroup/ButtonGroup.stories.tsx +0 -109
- package/emotion/cjs/components/Calendar/Calendar.stories.tsx +0 -304
- package/emotion/cjs/components/Card/Card.stories.tsx +0 -281
- package/emotion/cjs/components/Cell/Cell.stories.tsx +0 -97
- package/emotion/cjs/components/Checkbox/Checkbox.stories.tsx +0 -232
- package/emotion/cjs/components/Chip/Chip.stories.tsx +0 -93
- package/emotion/cjs/components/ChipGroup/ChipGroup.stories.tsx +0 -79
- package/emotion/cjs/components/Combobox/Combobox.stories.tsx +0 -604
- package/emotion/cjs/components/Counter/Counter.stories.tsx +0 -34
- package/emotion/cjs/components/DatePicker/DatePicker.stories.tsx +0 -309
- package/emotion/cjs/components/Divider/Divider.stories.tsx +0 -58
- package/emotion/cjs/components/Drawer/Drawer.stories.tsx +0 -217
- package/emotion/cjs/components/Dropdown/Dropdown.stories.tsx +0 -331
- package/emotion/cjs/components/Dropzone/Dropzone.stories.tsx +0 -58
- package/emotion/cjs/components/EmptyState/EmptyState.stories.tsx +0 -43
- package/emotion/cjs/components/Flow/Flow.stories.tsx +0 -133
- package/emotion/cjs/components/Grid/Grid.stories.tsx +0 -119
- package/emotion/cjs/components/IconButton/IconButton.stories.tsx +0 -94
- package/emotion/cjs/components/Image/Image.component-test.js +0 -91
- package/emotion/cjs/components/Image/Image.stories.tsx +0 -44
- package/emotion/cjs/components/Indicator/Indicator.stories.tsx +0 -34
- package/emotion/cjs/components/Link/Link.stories.tsx +0 -57
- package/emotion/cjs/components/Mask/Mask.stories.tsx +0 -176
- package/emotion/cjs/components/Modal/Modal.stories.tsx +0 -426
- package/emotion/cjs/components/Notification/Notification.stories.tsx +0 -221
- package/emotion/cjs/components/NumberFormat/NumberFormat.stories.tsx +0 -186
- package/emotion/cjs/components/NumberInput/NumberInput.stories.tsx +0 -81
- package/emotion/cjs/components/Overlay/Overlay.stories.tsx +0 -76
- package/emotion/cjs/components/Pagination/Pagination.component-test.js +0 -298
- package/emotion/cjs/components/Pagination/Pagination.stories.tsx +0 -139
- package/emotion/cjs/components/Popover/Popover.stories.tsx +0 -127
- package/emotion/cjs/components/Popover/style.css +0 -4
- package/emotion/cjs/components/Popup/Popup.stories.tsx +0 -171
- package/emotion/cjs/components/Portal/Portal.stories.tsx +0 -57
- package/emotion/cjs/components/Price/Price.stories.tsx +0 -34
- package/emotion/cjs/components/Progress/Progress.stories.tsx +0 -32
- package/emotion/cjs/components/Radiobox/Radiobox.stories.tsx +0 -139
- package/emotion/cjs/components/Range/Range.stories.tsx +0 -343
- package/emotion/cjs/components/Rating/Rating.stories.tsx +0 -125
- package/emotion/cjs/components/Segment/Segment.stories.tsx +0 -162
- package/emotion/cjs/components/Select/Select.stories.tsx +0 -642
- package/emotion/cjs/components/Select/style.css +0 -37
- package/emotion/cjs/components/Sheet/Sheet.stories.tsx +0 -361
- package/emotion/cjs/components/Skeleton/Skeleton.stories.tsx +0 -116
- package/emotion/cjs/components/Slider/Slider.component-test.js +0 -223
- package/emotion/cjs/components/Slider/Slider.stories.tsx +0 -277
- package/emotion/cjs/components/Spinner/Spinner.stories.tsx +0 -109
- package/emotion/cjs/components/Steps/Steps.stories.tsx +0 -191
- package/emotion/cjs/components/Switch/Switch.stories.tsx +0 -100
- package/emotion/cjs/components/Table/Table.stories.tsx +0 -551
- package/emotion/cjs/components/Tabs/Tabs.stories.tsx +0 -639
- package/emotion/cjs/components/TextArea/TextArea.stories.tsx +0 -228
- package/emotion/cjs/components/TextField/TextField.stories.tsx +0 -260
- package/emotion/cjs/components/Toast/Toast.stories.tsx +0 -156
- package/emotion/cjs/components/ToastNew/ToastNew.stories.tsx +0 -87
- package/emotion/cjs/components/Tokens/Colors/Colors.stories.tsx +0 -196
- package/emotion/cjs/components/Tokens/NumberTokens/CornerRadius.stories.tsx +0 -93
- package/emotion/cjs/components/Tokens/NumberTokens/Spacing.stories.tsx +0 -93
- package/emotion/cjs/components/Tokens/Typography/Typography.stories.tsx +0 -277
- package/emotion/cjs/components/Toolbar/Toolbar.stories.tsx +0 -64
- package/emotion/cjs/components/Tooltip/Tooltip.stories.tsx +0 -152
- package/emotion/cjs/components/Tree/Tree.stories.tsx +0 -146
- package/emotion/cjs/components/Typography/Typography.stories.tsx +0 -243
- package/emotion/es/components/Accordion/Accordion.stories.tsx +0 -159
- package/emotion/es/components/Attach/Attach.stories.tsx +0 -157
- package/emotion/es/components/Autocomplete/Autocomplete.stories.tsx +0 -170
- package/emotion/es/components/Avatar/Avatar.stories.tsx +0 -74
- package/emotion/es/components/AvatarGroup/AvatarGroup.stories.tsx +0 -71
- package/emotion/es/components/Badge/Badge.stories.tsx +0 -87
- package/emotion/es/components/Breadcrumbs/Breadcrumbs.stories.tsx +0 -82
- package/emotion/es/components/Button/Button.stories.tsx +0 -212
- package/emotion/es/components/ButtonGroup/ButtonGroup.stories.tsx +0 -109
- package/emotion/es/components/Calendar/Calendar.stories.tsx +0 -304
- package/emotion/es/components/Card/Card.stories.tsx +0 -281
- package/emotion/es/components/Cell/Cell.stories.tsx +0 -97
- package/emotion/es/components/Checkbox/Checkbox.stories.tsx +0 -232
- package/emotion/es/components/Chip/Chip.stories.tsx +0 -93
- package/emotion/es/components/ChipGroup/ChipGroup.stories.tsx +0 -79
- package/emotion/es/components/Combobox/Combobox.stories.tsx +0 -604
- package/emotion/es/components/Counter/Counter.stories.tsx +0 -34
- package/emotion/es/components/DatePicker/DatePicker.stories.tsx +0 -309
- package/emotion/es/components/Divider/Divider.stories.tsx +0 -58
- package/emotion/es/components/Drawer/Drawer.stories.tsx +0 -217
- package/emotion/es/components/Dropdown/Dropdown.stories.tsx +0 -331
- package/emotion/es/components/Dropzone/Dropzone.stories.tsx +0 -58
- package/emotion/es/components/EmptyState/EmptyState.stories.tsx +0 -43
- package/emotion/es/components/Flow/Flow.stories.tsx +0 -133
- package/emotion/es/components/Grid/Grid.stories.tsx +0 -119
- package/emotion/es/components/IconButton/IconButton.stories.tsx +0 -94
- package/emotion/es/components/Image/Image.component-test.js +0 -85
- package/emotion/es/components/Image/Image.stories.tsx +0 -44
- package/emotion/es/components/Indicator/Indicator.stories.tsx +0 -34
- package/emotion/es/components/Link/Link.stories.tsx +0 -57
- package/emotion/es/components/Mask/Mask.stories.tsx +0 -176
- package/emotion/es/components/Modal/Modal.stories.tsx +0 -426
- package/emotion/es/components/Notification/Notification.stories.tsx +0 -221
- package/emotion/es/components/NumberFormat/NumberFormat.stories.tsx +0 -186
- package/emotion/es/components/NumberInput/NumberInput.stories.tsx +0 -81
- package/emotion/es/components/Overlay/Overlay.stories.tsx +0 -76
- package/emotion/es/components/Pagination/Pagination.component-test.js +0 -293
- package/emotion/es/components/Pagination/Pagination.stories.tsx +0 -139
- package/emotion/es/components/Popover/Popover.stories.tsx +0 -127
- package/emotion/es/components/Popover/style.css +0 -4
- package/emotion/es/components/Popup/Popup.stories.tsx +0 -171
- package/emotion/es/components/Portal/Portal.stories.tsx +0 -57
- package/emotion/es/components/Price/Price.stories.tsx +0 -34
- package/emotion/es/components/Progress/Progress.stories.tsx +0 -32
- package/emotion/es/components/Radiobox/Radiobox.stories.tsx +0 -139
- package/emotion/es/components/Range/Range.stories.tsx +0 -343
- package/emotion/es/components/Rating/Rating.stories.tsx +0 -125
- package/emotion/es/components/Segment/Segment.stories.tsx +0 -162
- package/emotion/es/components/Select/Select.stories.tsx +0 -642
- package/emotion/es/components/Select/style.css +0 -37
- package/emotion/es/components/Sheet/Sheet.stories.tsx +0 -361
- package/emotion/es/components/Skeleton/Skeleton.stories.tsx +0 -116
- package/emotion/es/components/Slider/Slider.component-test.js +0 -220
- package/emotion/es/components/Slider/Slider.stories.tsx +0 -277
- package/emotion/es/components/Spinner/Spinner.stories.tsx +0 -109
- package/emotion/es/components/Steps/Steps.stories.tsx +0 -191
- package/emotion/es/components/Switch/Switch.stories.tsx +0 -100
- package/emotion/es/components/Table/Table.stories.tsx +0 -551
- package/emotion/es/components/Tabs/Tabs.stories.tsx +0 -639
- package/emotion/es/components/TextArea/TextArea.stories.tsx +0 -228
- package/emotion/es/components/TextField/TextField.stories.tsx +0 -260
- package/emotion/es/components/Toast/Toast.stories.tsx +0 -156
- package/emotion/es/components/ToastNew/ToastNew.stories.tsx +0 -87
- package/emotion/es/components/Tokens/Colors/Colors.stories.tsx +0 -196
- package/emotion/es/components/Tokens/NumberTokens/CornerRadius.stories.tsx +0 -93
- package/emotion/es/components/Tokens/NumberTokens/Spacing.stories.tsx +0 -93
- package/emotion/es/components/Tokens/Typography/Typography.stories.tsx +0 -277
- package/emotion/es/components/Toolbar/Toolbar.stories.tsx +0 -64
- package/emotion/es/components/Tooltip/Tooltip.stories.tsx +0 -152
- package/emotion/es/components/Tree/Tree.stories.tsx +0 -146
- package/emotion/es/components/Typography/Typography.stories.tsx +0 -243
- package/es/components/Image/Image.component-test.js +0 -86
- package/es/components/Pagination/Pagination.component-test.js +0 -293
- package/es/components/Slider/Slider.component-test.js +0 -220
- /package/emotion/{cjs/helpers/index.ts → es/helpers/index.js} +0 -0
- /package/{emotion/es/helpers/index.ts → es/helpers/index.js} +0 -0
@@ -1,186 +0,0 @@
|
|
1
|
-
import React, { ComponentProps } from 'react';
|
2
|
-
import type { StoryObj, Meta } from '@storybook/react';
|
3
|
-
import { action } from '@storybook/addon-actions';
|
4
|
-
import { getConfigVariations, InSpacingDecorator } from '@salutejs/plasma-sb-utils';
|
5
|
-
|
6
|
-
import { config } from '../TextField/TextField.config';
|
7
|
-
|
8
|
-
import { NumberFormat } from './NumberFormat';
|
9
|
-
|
10
|
-
const onChange = action('onChange');
|
11
|
-
const onFocus = action('onFocus');
|
12
|
-
const onBlur = action('onBlur');
|
13
|
-
const onSearch = action('onSearch');
|
14
|
-
|
15
|
-
const { views, sizes } = getConfigVariations(config);
|
16
|
-
|
17
|
-
const labelPlacements = ['outer', 'inner'];
|
18
|
-
const thousandsGroupStyles = ['thousand', 'lakh', 'wan', 'none'];
|
19
|
-
|
20
|
-
const meta: Meta = {
|
21
|
-
title: 'Data Entry/NumberFormat',
|
22
|
-
component: NumberFormat,
|
23
|
-
decorators: [InSpacingDecorator],
|
24
|
-
argTypes: {
|
25
|
-
thousandsGroupStyle: {
|
26
|
-
options: thousandsGroupStyles,
|
27
|
-
control: {
|
28
|
-
type: 'select',
|
29
|
-
},
|
30
|
-
},
|
31
|
-
requiredPlacement: {
|
32
|
-
options: ['left', 'right'],
|
33
|
-
control: {
|
34
|
-
type: 'select',
|
35
|
-
},
|
36
|
-
},
|
37
|
-
required: {
|
38
|
-
control: {
|
39
|
-
type: 'boolean',
|
40
|
-
},
|
41
|
-
if: {
|
42
|
-
arg: 'optional',
|
43
|
-
truthy: false,
|
44
|
-
},
|
45
|
-
},
|
46
|
-
optional: {
|
47
|
-
control: {
|
48
|
-
type: 'boolean',
|
49
|
-
},
|
50
|
-
if: {
|
51
|
-
arg: 'required',
|
52
|
-
truthy: false,
|
53
|
-
},
|
54
|
-
},
|
55
|
-
hasDivider: {
|
56
|
-
control: {
|
57
|
-
type: 'boolean',
|
58
|
-
},
|
59
|
-
if: {
|
60
|
-
arg: 'clear',
|
61
|
-
truthy: true,
|
62
|
-
},
|
63
|
-
},
|
64
|
-
view: {
|
65
|
-
options: views,
|
66
|
-
control: {
|
67
|
-
type: 'select',
|
68
|
-
},
|
69
|
-
},
|
70
|
-
labelPlacement: {
|
71
|
-
options: labelPlacements,
|
72
|
-
control: {
|
73
|
-
type: 'inline-radio',
|
74
|
-
},
|
75
|
-
},
|
76
|
-
keepPlaceholder: {
|
77
|
-
control: {
|
78
|
-
type: 'boolean',
|
79
|
-
},
|
80
|
-
if: {
|
81
|
-
arg: 'labelPlacement',
|
82
|
-
eq: 'inner',
|
83
|
-
},
|
84
|
-
},
|
85
|
-
size: {
|
86
|
-
options: sizes,
|
87
|
-
control: {
|
88
|
-
type: 'inline-radio',
|
89
|
-
},
|
90
|
-
},
|
91
|
-
titleCaption: {
|
92
|
-
control: { type: 'text' },
|
93
|
-
},
|
94
|
-
leftHelper: {
|
95
|
-
control: { type: 'text' },
|
96
|
-
},
|
97
|
-
},
|
98
|
-
};
|
99
|
-
|
100
|
-
export default meta;
|
101
|
-
|
102
|
-
type StoryPropsDefault = Omit<
|
103
|
-
ComponentProps<typeof NumberFormat>,
|
104
|
-
| 'helperBlock'
|
105
|
-
| 'contentLeft'
|
106
|
-
| 'htmlSize'
|
107
|
-
| 'contentRight'
|
108
|
-
| 'type'
|
109
|
-
| 'name'
|
110
|
-
| 'onFocus'
|
111
|
-
| 'onBlur'
|
112
|
-
| 'onChange'
|
113
|
-
| 'checked'
|
114
|
-
| 'maxLength'
|
115
|
-
| 'minLength'
|
116
|
-
| 'required'
|
117
|
-
| 'enumerationType'
|
118
|
-
| 'chips'
|
119
|
-
| 'chipView'
|
120
|
-
| 'chipValidator'
|
121
|
-
| 'onChangeChips'
|
122
|
-
| 'hintText'
|
123
|
-
| 'hintView'
|
124
|
-
| 'hintSize'
|
125
|
-
| 'hintTargetIcon'
|
126
|
-
| 'hintPlacement'
|
127
|
-
| 'hintTargetPlacement'
|
128
|
-
| 'hintHasArrow'
|
129
|
-
| 'hintOffset'
|
130
|
-
| 'hintWidth'
|
131
|
-
| 'hintContentLeft'
|
132
|
-
| 'hintTrigger'
|
133
|
-
>;
|
134
|
-
|
135
|
-
const StoryDemo = ({ ...rest }: StoryPropsDefault) => {
|
136
|
-
return (
|
137
|
-
<div
|
138
|
-
style={{
|
139
|
-
display: 'flex',
|
140
|
-
flexDirection: 'column',
|
141
|
-
gap: '2rem',
|
142
|
-
width: '70%',
|
143
|
-
margin: '0 auto',
|
144
|
-
}}
|
145
|
-
>
|
146
|
-
<NumberFormat
|
147
|
-
{...rest}
|
148
|
-
enumerationType="plain"
|
149
|
-
onChange={onChange}
|
150
|
-
onFocus={onFocus}
|
151
|
-
onBlur={onBlur}
|
152
|
-
onSearch={onSearch}
|
153
|
-
/>
|
154
|
-
</div>
|
155
|
-
);
|
156
|
-
};
|
157
|
-
|
158
|
-
export const Default: StoryObj<StoryPropsDefault> = {
|
159
|
-
args: {
|
160
|
-
thousandSeparator: ' ',
|
161
|
-
decimalScale: 3,
|
162
|
-
decimalSeparator: '.',
|
163
|
-
thousandsGroupStyle: 'thousand',
|
164
|
-
fixedDecimalScale: false,
|
165
|
-
allowNegative: true,
|
166
|
-
allowLeadingZeros: false,
|
167
|
-
size: 's',
|
168
|
-
view: 'default',
|
169
|
-
label: 'Лейбл',
|
170
|
-
labelPlacement: 'outer',
|
171
|
-
keepPlaceholder: false,
|
172
|
-
titleCaption: 'Подпись к полю',
|
173
|
-
textBefore: '',
|
174
|
-
textAfter: '₽',
|
175
|
-
placeholder: 'Заполните поле',
|
176
|
-
leftHelper: 'Подсказка к полю',
|
177
|
-
disabled: false,
|
178
|
-
readOnly: false,
|
179
|
-
optional: false,
|
180
|
-
required: false,
|
181
|
-
requiredPlacement: 'right',
|
182
|
-
clear: false,
|
183
|
-
hasDivider: false,
|
184
|
-
},
|
185
|
-
render: (args) => <StoryDemo {...args} />,
|
186
|
-
};
|
@@ -1,81 +0,0 @@
|
|
1
|
-
import React, { useState, ComponentProps } from 'react';
|
2
|
-
import type { StoryObj, Meta } from '@storybook/react';
|
3
|
-
import { action } from '@storybook/addon-actions';
|
4
|
-
|
5
|
-
import { InSpacingDecorator, disableProps } from '../../helpers';
|
6
|
-
|
7
|
-
import { NumberInput } from './NumberInput';
|
8
|
-
|
9
|
-
const onChange = action('onChange');
|
10
|
-
const onDecrement = action('onDecrement');
|
11
|
-
const onIncrement = action('onIncrement');
|
12
|
-
|
13
|
-
const shapes = ['cornered', 'pilled'];
|
14
|
-
|
15
|
-
const meta: Meta<typeof NumberInput> = {
|
16
|
-
title: 'Data Entry/NumberInput',
|
17
|
-
component: NumberInput,
|
18
|
-
decorators: [InSpacingDecorator],
|
19
|
-
argTypes: {
|
20
|
-
min: {
|
21
|
-
control: {
|
22
|
-
type: 'number',
|
23
|
-
},
|
24
|
-
},
|
25
|
-
max: {
|
26
|
-
control: {
|
27
|
-
type: 'number',
|
28
|
-
},
|
29
|
-
},
|
30
|
-
shape: {
|
31
|
-
options: shapes,
|
32
|
-
control: {
|
33
|
-
type: 'inline-radio',
|
34
|
-
},
|
35
|
-
},
|
36
|
-
...disableProps(['view', 'size', 'segmentation', 'inputBackgroundType']),
|
37
|
-
},
|
38
|
-
};
|
39
|
-
|
40
|
-
export default meta;
|
41
|
-
|
42
|
-
type StoryPropsDefault = ComponentProps<typeof NumberInput>;
|
43
|
-
|
44
|
-
const StoryDefault = (args: StoryPropsDefault) => {
|
45
|
-
const [value, setValue] = useState(5);
|
46
|
-
|
47
|
-
const handleChange = (_: any, newValue: number) => {
|
48
|
-
setValue(newValue);
|
49
|
-
onChange(newValue);
|
50
|
-
};
|
51
|
-
|
52
|
-
return (
|
53
|
-
<NumberInput
|
54
|
-
{...args}
|
55
|
-
value={value}
|
56
|
-
onChange={handleChange}
|
57
|
-
onDecrement={onDecrement}
|
58
|
-
onIncrement={onIncrement}
|
59
|
-
/>
|
60
|
-
);
|
61
|
-
};
|
62
|
-
|
63
|
-
export const Default: StoryObj<StoryPropsDefault> = {
|
64
|
-
args: {
|
65
|
-
view: 'default',
|
66
|
-
size: 's',
|
67
|
-
shape: 'cornered',
|
68
|
-
inputBackgroundType: 'clear',
|
69
|
-
segmentation: 'solid',
|
70
|
-
min: 0,
|
71
|
-
max: 9,
|
72
|
-
step: 1,
|
73
|
-
width: 140,
|
74
|
-
isManualInput: false,
|
75
|
-
textBefore: '',
|
76
|
-
textAfter: '',
|
77
|
-
isLoading: false,
|
78
|
-
disabled: false,
|
79
|
-
},
|
80
|
-
render: StoryDefault,
|
81
|
-
};
|
@@ -1,76 +0,0 @@
|
|
1
|
-
import React, { useState } from 'react';
|
2
|
-
import styled from 'styled-components';
|
3
|
-
import type { ComponentProps } from 'react';
|
4
|
-
import type { StoryObj, Meta } from '@storybook/react';
|
5
|
-
import { action } from '@storybook/addon-actions';
|
6
|
-
import { disableProps, InSpacingDecorator } from '@salutejs/plasma-sb-utils';
|
7
|
-
|
8
|
-
import { Button } from '../Button/Button';
|
9
|
-
|
10
|
-
import { Overlay } from '.';
|
11
|
-
|
12
|
-
const onOverlayClick = action('onOverlayClick');
|
13
|
-
|
14
|
-
export default {
|
15
|
-
title: 'Overlay/Overlay',
|
16
|
-
decorators: [InSpacingDecorator],
|
17
|
-
argTypes: {
|
18
|
-
isClickable: {
|
19
|
-
control: {
|
20
|
-
type: 'boolean',
|
21
|
-
},
|
22
|
-
table: { defaultValue: { summary: true } },
|
23
|
-
},
|
24
|
-
withBlur: {
|
25
|
-
control: {
|
26
|
-
type: 'boolean',
|
27
|
-
},
|
28
|
-
table: { defaultValue: { summary: false } },
|
29
|
-
},
|
30
|
-
...disableProps(['onOverlayClick', 'zIndex']),
|
31
|
-
},
|
32
|
-
} as Meta;
|
33
|
-
|
34
|
-
type StoryOverlayProps = ComponentProps<typeof Overlay>;
|
35
|
-
|
36
|
-
const StyledButton = styled(Button)`
|
37
|
-
margin: 1rem;
|
38
|
-
width: 15rem;
|
39
|
-
`;
|
40
|
-
|
41
|
-
const StyledCloseButton = styled(Button)`
|
42
|
-
position: fixed;
|
43
|
-
top: 50%;
|
44
|
-
left: 50%;
|
45
|
-
z-index: 101;
|
46
|
-
transform: translate(-50%, -50%);
|
47
|
-
width: 15rem;
|
48
|
-
`;
|
49
|
-
|
50
|
-
const StoryDefault = (props: StoryOverlayProps) => {
|
51
|
-
const [isVisible, setIsVisible] = useState(false);
|
52
|
-
|
53
|
-
return (
|
54
|
-
<>
|
55
|
-
<StyledButton text="Показать overlay" onClick={() => setIsVisible(true)} />
|
56
|
-
{isVisible && (
|
57
|
-
<>
|
58
|
-
<Overlay {...props} />
|
59
|
-
<StyledCloseButton view="primary" text=" Скрыть overlay" onClick={() => setIsVisible(false)} />
|
60
|
-
</>
|
61
|
-
)}
|
62
|
-
</>
|
63
|
-
);
|
64
|
-
};
|
65
|
-
|
66
|
-
export const Default: StoryObj<StoryOverlayProps> = {
|
67
|
-
args: {
|
68
|
-
zIndex: '100',
|
69
|
-
backgroundColorProperty: 'var(--overlay-soft)',
|
70
|
-
withBlur: false,
|
71
|
-
transparent: false,
|
72
|
-
isClickable: true,
|
73
|
-
onOverlayClick,
|
74
|
-
},
|
75
|
-
render: (args) => <StoryDefault {...args} />,
|
76
|
-
};
|
@@ -1,298 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
4
|
-
var _react = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("react"));
|
5
|
-
var _plasmaCyUtils = /*#__PURE__*/require("@salutejs/plasma-cy-utils");
|
6
|
-
var _styledComponents = /*#__PURE__*/require("styled-components");
|
7
|
-
var _plasmaTypo = /*#__PURE__*/require("@salutejs/plasma-typo");
|
8
|
-
var _StandardTypoStyle, _SpaceMe, _SpaceMe2, _SpaceMe3, _SpaceMe4, _SpaceMe5, _SpaceMe6, _SpaceMe7, _SpaceMe8, _SpaceMe9, _SpaceMe10, _SpaceMe11, _SpaceMe12, _SpaceMe13, _SpaceMe14, _StandardTypoStyle2, _SpaceMe15, _SpaceMe16, _SpaceMe17, _SpaceMe18, _SpaceMe19, _SpaceMe20, _StandardTypoStyle3;
|
9
|
-
/* eslint-disable */
|
10
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
11
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
12
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
13
|
-
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
14
|
-
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
15
|
-
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
16
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
17
|
-
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
18
|
-
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
19
|
-
var id = 'test-pagination';
|
20
|
-
var slots = [7, 9, 13];
|
21
|
-
var values = [1, 10, 20];
|
22
|
-
var count = 20;
|
23
|
-
var views = ['clear', 'secondary', 'default'];
|
24
|
-
var StandardTypoStyle = /*#__PURE__*/(0, _styledComponents.createGlobalStyle)(_plasmaTypo.standard);
|
25
|
-
describe('plasma-new-hope: Pagination Styled', function () {
|
26
|
-
var _CypressTestDecorator;
|
27
|
-
var Pagination = (0, _plasmaCyUtils.getComponent)('Pagination');
|
28
|
-
var CypressTestDecoratorWithTypo = function CypressTestDecoratorWithTypo(_ref) {
|
29
|
-
var children = _ref.children;
|
30
|
-
return /*#__PURE__*/_react["default"].createElement(_plasmaCyUtils.CypressTestDecorator, null, _StandardTypoStyle || (_StandardTypoStyle = /*#__PURE__*/_react["default"].createElement(StandardTypoStyle, null)), children);
|
31
|
-
};
|
32
|
-
var ControlledPagination = function ControlledPagination() {
|
33
|
-
var _useState = (0, _react.useState)(values[1]),
|
34
|
-
_useState2 = _slicedToArray(_useState, 2),
|
35
|
-
value = _useState2[0],
|
36
|
-
setValue = _useState2[1];
|
37
|
-
return /*#__PURE__*/_react["default"].createElement(Pagination, {
|
38
|
-
id: id,
|
39
|
-
value: value,
|
40
|
-
count: count,
|
41
|
-
slots: slots[1],
|
42
|
-
onChange: function onChange(v) {
|
43
|
-
return setValue(v);
|
44
|
-
}
|
45
|
-
});
|
46
|
-
};
|
47
|
-
it('default', function () {
|
48
|
-
(0, _plasmaCyUtils.mount)(_CypressTestDecorator || (_CypressTestDecorator = /*#__PURE__*/_react["default"].createElement(CypressTestDecoratorWithTypo, null, /*#__PURE__*/_react["default"].createElement(ControlledPagination, null))));
|
49
|
-
cy.matchImageSnapshot();
|
50
|
-
});
|
51
|
-
it('_size', function () {
|
52
|
-
(0, _plasmaCyUtils.mount)( /*#__PURE__*/_react["default"].createElement(CypressTestDecoratorWithTypo, null, /*#__PURE__*/_react["default"].createElement(Pagination, {
|
53
|
-
size: "xs",
|
54
|
-
value: values[1],
|
55
|
-
slots: slots[1],
|
56
|
-
count: count
|
57
|
-
}), _SpaceMe || (_SpaceMe = /*#__PURE__*/_react["default"].createElement(_plasmaCyUtils.SpaceMe, null)), /*#__PURE__*/_react["default"].createElement(Pagination, {
|
58
|
-
size: "s",
|
59
|
-
value: values[1],
|
60
|
-
slots: slots[1],
|
61
|
-
count: count
|
62
|
-
}), _SpaceMe2 || (_SpaceMe2 = /*#__PURE__*/_react["default"].createElement(_plasmaCyUtils.SpaceMe, null)), /*#__PURE__*/_react["default"].createElement(Pagination, {
|
63
|
-
size: "m",
|
64
|
-
value: values[1],
|
65
|
-
slots: slots[1],
|
66
|
-
count: count
|
67
|
-
}), _SpaceMe3 || (_SpaceMe3 = /*#__PURE__*/_react["default"].createElement(_plasmaCyUtils.SpaceMe, null)), /*#__PURE__*/_react["default"].createElement(Pagination, {
|
68
|
-
size: "l",
|
69
|
-
value: values[1],
|
70
|
-
slots: slots[1],
|
71
|
-
count: count
|
72
|
-
})));
|
73
|
-
cy.matchImageSnapshot();
|
74
|
-
});
|
75
|
-
it('_view', function () {
|
76
|
-
(0, _plasmaCyUtils.mount)( /*#__PURE__*/_react["default"].createElement(CypressTestDecoratorWithTypo, null, /*#__PURE__*/_react["default"].createElement(Pagination, {
|
77
|
-
view: views[0],
|
78
|
-
value: values[1],
|
79
|
-
slots: slots[1],
|
80
|
-
count: count
|
81
|
-
}), _SpaceMe4 || (_SpaceMe4 = /*#__PURE__*/_react["default"].createElement(_plasmaCyUtils.SpaceMe, null)), /*#__PURE__*/_react["default"].createElement(Pagination, {
|
82
|
-
view: views[1],
|
83
|
-
value: values[1],
|
84
|
-
slots: slots[1],
|
85
|
-
count: count
|
86
|
-
}), _SpaceMe5 || (_SpaceMe5 = /*#__PURE__*/_react["default"].createElement(_plasmaCyUtils.SpaceMe, null)), /*#__PURE__*/_react["default"].createElement(Pagination, {
|
87
|
-
view: views[2],
|
88
|
-
value: values[1],
|
89
|
-
slots: slots[1],
|
90
|
-
count: count
|
91
|
-
})));
|
92
|
-
cy.matchImageSnapshot();
|
93
|
-
});
|
94
|
-
it('_viewCurrentPage', function () {
|
95
|
-
(0, _plasmaCyUtils.mount)( /*#__PURE__*/_react["default"].createElement(CypressTestDecoratorWithTypo, null, /*#__PURE__*/_react["default"].createElement(Pagination, {
|
96
|
-
viewCurrentPage: views[0],
|
97
|
-
value: values[1],
|
98
|
-
slots: slots[1],
|
99
|
-
count: count
|
100
|
-
}), _SpaceMe6 || (_SpaceMe6 = /*#__PURE__*/_react["default"].createElement(_plasmaCyUtils.SpaceMe, null)), /*#__PURE__*/_react["default"].createElement(Pagination, {
|
101
|
-
viewCurrentPage: views[1],
|
102
|
-
value: values[1],
|
103
|
-
slots: slots[1],
|
104
|
-
count: count
|
105
|
-
}), _SpaceMe7 || (_SpaceMe7 = /*#__PURE__*/_react["default"].createElement(_plasmaCyUtils.SpaceMe, null)), /*#__PURE__*/_react["default"].createElement(Pagination, {
|
106
|
-
viewCurrentPage: views[2],
|
107
|
-
value: values[1],
|
108
|
-
slots: slots[1],
|
109
|
-
count: count
|
110
|
-
})));
|
111
|
-
cy.matchImageSnapshot();
|
112
|
-
});
|
113
|
-
it('type', function () {
|
114
|
-
(0, _plasmaCyUtils.mount)( /*#__PURE__*/_react["default"].createElement(CypressTestDecoratorWithTypo, null, /*#__PURE__*/_react["default"].createElement(Pagination, {
|
115
|
-
type: "default",
|
116
|
-
hasQuickJump: true,
|
117
|
-
hasPerPage: true,
|
118
|
-
value: values[1],
|
119
|
-
slots: slots[1],
|
120
|
-
count: count
|
121
|
-
}), _SpaceMe8 || (_SpaceMe8 = /*#__PURE__*/_react["default"].createElement(_plasmaCyUtils.SpaceMe, null)), /*#__PURE__*/_react["default"].createElement(Pagination, {
|
122
|
-
type: "default",
|
123
|
-
hasQuickJump: true,
|
124
|
-
hasPerPage: false,
|
125
|
-
value: values[1],
|
126
|
-
slots: slots[1],
|
127
|
-
count: count
|
128
|
-
}), _SpaceMe9 || (_SpaceMe9 = /*#__PURE__*/_react["default"].createElement(_plasmaCyUtils.SpaceMe, null)), /*#__PURE__*/_react["default"].createElement(Pagination, {
|
129
|
-
type: "default",
|
130
|
-
hasQuickJump: false,
|
131
|
-
hasPerPage: true,
|
132
|
-
value: values[1],
|
133
|
-
slots: slots[1],
|
134
|
-
count: count
|
135
|
-
}), _SpaceMe10 || (_SpaceMe10 = /*#__PURE__*/_react["default"].createElement(_plasmaCyUtils.SpaceMe, null)), /*#__PURE__*/_react["default"].createElement(Pagination, {
|
136
|
-
type: "default",
|
137
|
-
hasQuickJump: false,
|
138
|
-
hasPerPage: false,
|
139
|
-
value: values[1],
|
140
|
-
slots: slots[1],
|
141
|
-
count: count
|
142
|
-
}), _SpaceMe11 || (_SpaceMe11 = /*#__PURE__*/_react["default"].createElement(_plasmaCyUtils.SpaceMe, null)), /*#__PURE__*/_react["default"].createElement(Pagination, {
|
143
|
-
type: "compact",
|
144
|
-
hasQuickJump: true,
|
145
|
-
hasPerPage: true,
|
146
|
-
value: values[1],
|
147
|
-
slots: slots[1],
|
148
|
-
count: count
|
149
|
-
}), _SpaceMe12 || (_SpaceMe12 = /*#__PURE__*/_react["default"].createElement(_plasmaCyUtils.SpaceMe, null)), /*#__PURE__*/_react["default"].createElement(Pagination, {
|
150
|
-
type: "compact",
|
151
|
-
hasQuickJump: true,
|
152
|
-
hasPerPage: false,
|
153
|
-
value: values[1],
|
154
|
-
slots: slots[1],
|
155
|
-
count: count
|
156
|
-
}), _SpaceMe13 || (_SpaceMe13 = /*#__PURE__*/_react["default"].createElement(_plasmaCyUtils.SpaceMe, null)), /*#__PURE__*/_react["default"].createElement(Pagination, {
|
157
|
-
type: "compact",
|
158
|
-
hasQuickJump: false,
|
159
|
-
hasPerPage: true,
|
160
|
-
value: values[1],
|
161
|
-
slots: slots[1],
|
162
|
-
count: count
|
163
|
-
}), _SpaceMe14 || (_SpaceMe14 = /*#__PURE__*/_react["default"].createElement(_plasmaCyUtils.SpaceMe, null)), /*#__PURE__*/_react["default"].createElement(Pagination, {
|
164
|
-
type: "compact",
|
165
|
-
hasQuickJump: false,
|
166
|
-
hasPerPage: false,
|
167
|
-
value: values[1],
|
168
|
-
slots: slots[1],
|
169
|
-
count: count
|
170
|
-
})));
|
171
|
-
cy.matchImageSnapshot();
|
172
|
-
});
|
173
|
-
});
|
174
|
-
describe('plasma-new-hope: Pagination Slots', function () {
|
175
|
-
var Pagination = (0, _plasmaCyUtils.getComponent)('Pagination');
|
176
|
-
var CypressTestDecoratorWithTypo = function CypressTestDecoratorWithTypo(_ref2) {
|
177
|
-
var children = _ref2.children;
|
178
|
-
return /*#__PURE__*/_react["default"].createElement(_plasmaCyUtils.CypressTestDecorator, null, _StandardTypoStyle2 || (_StandardTypoStyle2 = /*#__PURE__*/_react["default"].createElement(StandardTypoStyle, null)), children);
|
179
|
-
};
|
180
|
-
it('minSlots', function () {
|
181
|
-
(0, _plasmaCyUtils.mount)( /*#__PURE__*/_react["default"].createElement(CypressTestDecoratorWithTypo, null, /*#__PURE__*/_react["default"].createElement(Pagination, {
|
182
|
-
slots: slots[0],
|
183
|
-
value: values[0],
|
184
|
-
count: count
|
185
|
-
}), _SpaceMe15 || (_SpaceMe15 = /*#__PURE__*/_react["default"].createElement(_plasmaCyUtils.SpaceMe, null)), /*#__PURE__*/_react["default"].createElement(Pagination, {
|
186
|
-
slots: slots[0],
|
187
|
-
value: values[1],
|
188
|
-
count: count
|
189
|
-
}), _SpaceMe16 || (_SpaceMe16 = /*#__PURE__*/_react["default"].createElement(_plasmaCyUtils.SpaceMe, null)), /*#__PURE__*/_react["default"].createElement(Pagination, {
|
190
|
-
slots: slots[0],
|
191
|
-
value: values[2],
|
192
|
-
count: count
|
193
|
-
})));
|
194
|
-
cy.matchImageSnapshot();
|
195
|
-
});
|
196
|
-
it('avrSlots', function () {
|
197
|
-
(0, _plasmaCyUtils.mount)( /*#__PURE__*/_react["default"].createElement(CypressTestDecoratorWithTypo, null, /*#__PURE__*/_react["default"].createElement(Pagination, {
|
198
|
-
slots: slots[1],
|
199
|
-
value: values[0],
|
200
|
-
count: count
|
201
|
-
}), _SpaceMe17 || (_SpaceMe17 = /*#__PURE__*/_react["default"].createElement(_plasmaCyUtils.SpaceMe, null)), /*#__PURE__*/_react["default"].createElement(Pagination, {
|
202
|
-
slots: slots[1],
|
203
|
-
value: values[1],
|
204
|
-
count: count
|
205
|
-
}), _SpaceMe18 || (_SpaceMe18 = /*#__PURE__*/_react["default"].createElement(_plasmaCyUtils.SpaceMe, null)), /*#__PURE__*/_react["default"].createElement(Pagination, {
|
206
|
-
slots: slots[1],
|
207
|
-
value: values[2],
|
208
|
-
count: count
|
209
|
-
})));
|
210
|
-
cy.matchImageSnapshot();
|
211
|
-
});
|
212
|
-
it('maxSlots', function () {
|
213
|
-
(0, _plasmaCyUtils.mount)( /*#__PURE__*/_react["default"].createElement(CypressTestDecoratorWithTypo, null, /*#__PURE__*/_react["default"].createElement(Pagination, {
|
214
|
-
slots: slots[2],
|
215
|
-
value: values[0],
|
216
|
-
count: count
|
217
|
-
}), _SpaceMe19 || (_SpaceMe19 = /*#__PURE__*/_react["default"].createElement(_plasmaCyUtils.SpaceMe, null)), /*#__PURE__*/_react["default"].createElement(Pagination, {
|
218
|
-
slots: slots[2],
|
219
|
-
value: values[1],
|
220
|
-
count: count
|
221
|
-
}), _SpaceMe20 || (_SpaceMe20 = /*#__PURE__*/_react["default"].createElement(_plasmaCyUtils.SpaceMe, null)), /*#__PURE__*/_react["default"].createElement(Pagination, {
|
222
|
-
slots: slots[2],
|
223
|
-
value: values[2],
|
224
|
-
count: count
|
225
|
-
})));
|
226
|
-
cy.matchImageSnapshot();
|
227
|
-
});
|
228
|
-
});
|
229
|
-
describe('plasma-new-hope: Pagination Content', function () {
|
230
|
-
var Pagination = (0, _plasmaCyUtils.getComponent)('Pagination');
|
231
|
-
var Button = (0, _plasmaCyUtils.getComponent)('Button');
|
232
|
-
var CypressTestDecoratorWithTypo = function CypressTestDecoratorWithTypo(_ref3) {
|
233
|
-
var children = _ref3.children;
|
234
|
-
return /*#__PURE__*/_react["default"].createElement(_plasmaCyUtils.CypressTestDecorator, null, _StandardTypoStyle3 || (_StandardTypoStyle3 = /*#__PURE__*/_react["default"].createElement(StandardTypoStyle, null)), children);
|
235
|
-
};
|
236
|
-
var PaginationContent = function PaginationContent(args) {
|
237
|
-
var _useState3 = (0, _react.useState)(args.value),
|
238
|
-
_useState4 = _slicedToArray(_useState3, 2),
|
239
|
-
pageValue = _useState4[0],
|
240
|
-
setPageValue = _useState4[1];
|
241
|
-
var _useState5 = (0, _react.useState)(args.perPage),
|
242
|
-
_useState6 = _slicedToArray(_useState5, 2),
|
243
|
-
perPageValue = _useState6[0],
|
244
|
-
setPerPageValue = _useState6[1];
|
245
|
-
var handleChangePerpage = (0, _react.useCallback)(function (perPage) {
|
246
|
-
setPerPageValue(perPage);
|
247
|
-
}, [perPageValue, setPerPageValue]);
|
248
|
-
var handleChangePage = (0, _react.useCallback)(function (page) {
|
249
|
-
setPageValue(page);
|
250
|
-
}, [pageValue, setPageValue]);
|
251
|
-
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(Pagination, _extends({}, args, {
|
252
|
-
value: pageValue,
|
253
|
-
perPage: perPageValue,
|
254
|
-
leftContent: /*#__PURE__*/_react["default"].createElement(Button, {
|
255
|
-
id: "pagination-button-prev",
|
256
|
-
onClick: function onClick() {
|
257
|
-
handleChangePage(pageValue - 1);
|
258
|
-
}
|
259
|
-
}, "Prev"),
|
260
|
-
rightContent: /*#__PURE__*/_react["default"].createElement(Button, {
|
261
|
-
id: "pagination-button-next",
|
262
|
-
onClick: function onClick() {
|
263
|
-
handleChangePage(pageValue + 1);
|
264
|
-
}
|
265
|
-
}, "Next"),
|
266
|
-
onChangePageValue: handleChangePage,
|
267
|
-
onChangePerageValue: handleChangePerpage
|
268
|
-
})));
|
269
|
-
};
|
270
|
-
it('clickOnContent', function () {
|
271
|
-
(0, _plasmaCyUtils.mount)( /*#__PURE__*/_react["default"].createElement(CypressTestDecoratorWithTypo, null, /*#__PURE__*/_react["default"].createElement(PaginationContent, {
|
272
|
-
value: values[0],
|
273
|
-
count: count
|
274
|
-
})));
|
275
|
-
cy.get('button[id="pagination-button-next"]').click();
|
276
|
-
cy.get('button[id="pagination-button-next"]').click();
|
277
|
-
cy.get('button[id="pagination-button-prev"]').click();
|
278
|
-
cy.matchImageSnapshot();
|
279
|
-
});
|
280
|
-
it('setInput', function () {
|
281
|
-
(0, _plasmaCyUtils.mount)( /*#__PURE__*/_react["default"].createElement(CypressTestDecoratorWithTypo, null, /*#__PURE__*/_react["default"].createElement(Pagination, {
|
282
|
-
slots: slots[1],
|
283
|
-
value: values[0],
|
284
|
-
count: count
|
285
|
-
})));
|
286
|
-
cy.get('input:first').focus().type('10').type('{enter}');
|
287
|
-
cy.matchImageSnapshot();
|
288
|
-
});
|
289
|
-
it('setSelect', function () {
|
290
|
-
(0, _plasmaCyUtils.mount)( /*#__PURE__*/_react["default"].createElement(CypressTestDecoratorWithTypo, null, /*#__PURE__*/_react["default"].createElement(Pagination, {
|
291
|
-
slots: slots[2],
|
292
|
-
value: values[0],
|
293
|
-
count: count
|
294
|
-
})));
|
295
|
-
cy.get('button').last().click();
|
296
|
-
cy.matchImageSnapshot();
|
297
|
-
});
|
298
|
-
});
|