@salutejs/sdds-cs 0.354.0-next-platform-ai.0 → 0.355.0-dev.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/dist/beta/cjs/Popover/Popover.closeInner.config.js +26 -68
- package/dist/beta/cjs/Popover/Popover.closeNone.config.js +18 -60
- package/dist/beta/cjs/Popover/Popover.js +8 -8
- package/dist/beta/cjs/Popover/index.js +1 -1
- package/dist/beta/cjs/Tooltip/Tooltip.config.js +29 -63
- package/dist/beta/cjs/Tooltip/Tooltip.js +4 -4
- package/dist/beta/cjs/Tooltip/index.js +1 -1
- package/dist/beta/es/Popover/Popover.closeInner.config.js +25 -67
- package/dist/beta/es/Popover/Popover.closeNone.config.js +17 -59
- package/dist/beta/es/Popover/Popover.js +5 -5
- package/dist/beta/es/Tooltip/Tooltip.config.js +28 -62
- package/dist/beta/es/Tooltip/Tooltip.js +2 -2
- package/dist/emotion/cjs/components/Accordion/Accordion.config.js +50 -85
- package/dist/emotion/cjs/components/Accordion/Accordion.js +4 -4
- package/dist/emotion/cjs/components/Accordion/index.js +1 -1
- package/dist/emotion/cjs/components/Attach/Attach.config.js +214 -248
- package/dist/emotion/cjs/components/Attach/Attach.js +4 -4
- package/dist/emotion/cjs/components/Attach/index.js +1 -1
- package/dist/emotion/cjs/components/Autocomplete/Autocomplete.config.js +188 -227
- package/dist/emotion/cjs/components/Autocomplete/Autocomplete.js +10 -61
- package/dist/emotion/cjs/components/Autocomplete/index.js +1 -1
- package/dist/emotion/cjs/components/Avatar/Avatar.config.js +97 -193
- package/dist/emotion/cjs/components/Avatar/Avatar.js +4 -4
- package/dist/emotion/cjs/components/Avatar/index.js +1 -1
- package/dist/emotion/cjs/components/AvatarGroup/AvatarGroup.js +3 -3
- package/dist/emotion/cjs/components/AvatarGroup/index.js +1 -1
- package/dist/emotion/cjs/components/Badge/Badge.config.js +55 -123
- package/dist/emotion/cjs/components/Badge/Badge.js +4 -4
- package/dist/emotion/cjs/components/Badge/index.js +1 -1
- package/dist/emotion/cjs/components/Breadcrumbs/Breadcrumbs.config.js +19 -44
- package/dist/emotion/cjs/components/Breadcrumbs/Breadcrumbs.js +5 -5
- package/dist/emotion/cjs/components/Breadcrumbs/index.js +1 -1
- package/dist/emotion/cjs/components/Button/Button.config.js +78 -161
- package/dist/emotion/cjs/components/Button/Button.js +15 -138
- package/dist/emotion/cjs/components/Button/index.js +1 -1
- package/dist/emotion/cjs/components/ButtonBase/index.js +1 -1
- package/dist/emotion/cjs/components/ButtonGroup/ButtonGroup.config.js +82 -208
- package/dist/emotion/cjs/components/ButtonGroup/ButtonGroup.js +4 -4
- package/dist/emotion/cjs/components/ButtonGroup/index.js +1 -1
- package/dist/emotion/cjs/components/Calendar/Calendar.config.js +101 -113
- package/dist/emotion/cjs/components/Calendar/Calendar.js +10 -10
- package/dist/emotion/cjs/components/Calendar/CalendarDouble.config.js +101 -113
- package/dist/emotion/cjs/components/Calendar/index.js +1 -1
- package/dist/emotion/cjs/components/Card/Card.config.js +23 -65
- package/dist/emotion/cjs/components/Card/Card.js +5 -5
- package/dist/emotion/cjs/components/Card/index.js +1 -1
- package/dist/emotion/cjs/components/Carousel/Carousel.config.js +15 -41
- package/dist/emotion/cjs/components/Carousel/Carousel.js +4 -4
- package/dist/emotion/cjs/components/Carousel/index.js +2 -2
- package/dist/emotion/cjs/components/Cell/Cell.config.js +73 -97
- package/dist/emotion/cjs/components/Cell/Cell.js +5 -5
- package/dist/emotion/cjs/components/Cell/index.js +2 -2
- package/dist/emotion/cjs/components/Checkbox/Checkbox.config.js +41 -83
- package/dist/emotion/cjs/components/Checkbox/Checkbox.js +5 -5
- package/dist/emotion/cjs/components/Checkbox/index.js +1 -1
- package/dist/emotion/cjs/components/Chip/Chip.config.js +95 -148
- package/dist/emotion/cjs/components/Chip/Chip.js +5 -5
- package/dist/emotion/cjs/components/Chip/index.js +1 -1
- package/dist/emotion/cjs/components/ChipGroup/ChipGroup.config.js +53 -109
- package/dist/emotion/cjs/components/ChipGroup/ChipGroup.js +4 -4
- package/dist/emotion/cjs/components/ChipGroup/index.js +1 -1
- package/dist/emotion/cjs/components/Combobox/Combobox.config.js +270 -302
- package/dist/emotion/cjs/components/Combobox/Combobox.js +11 -38
- package/dist/emotion/cjs/components/Combobox/index.js +1 -1
- package/dist/emotion/cjs/components/Counter/Counter.config.js +23 -66
- package/dist/emotion/cjs/components/Counter/Counter.js +4 -4
- package/dist/emotion/cjs/components/Counter/index.js +2 -2
- package/dist/emotion/cjs/components/DatePicker/DatePicker.config.js +282 -278
- package/dist/emotion/cjs/components/DatePicker/DatePicker.js +6 -6
- package/dist/emotion/cjs/components/DatePicker/index.js +2 -2
- package/dist/emotion/cjs/components/Divider/Divider.config.js +23 -89
- package/dist/emotion/cjs/components/Divider/Divider.js +4 -4
- package/dist/emotion/cjs/components/Divider/index.js +2 -2
- package/dist/emotion/cjs/components/Drawer/Drawer.config.js +19 -61
- package/dist/emotion/cjs/components/Drawer/Drawer.js +10 -10
- package/dist/emotion/cjs/components/Drawer/index.js +1 -1
- package/dist/emotion/cjs/components/Dropdown/Dropdown.config.js +55 -76
- package/dist/emotion/cjs/components/Dropdown/Dropdown.js +11 -38
- package/dist/emotion/cjs/components/Dropdown/index.js +1 -1
- package/dist/emotion/cjs/components/EmptyState/EmptyState.config.js +58 -100
- package/dist/emotion/cjs/components/EmptyState/EmptyState.js +4 -4
- package/dist/emotion/cjs/components/EmptyState/index.js +1 -1
- package/dist/emotion/cjs/components/Flow/Flow.config.js +1 -1
- package/dist/emotion/cjs/components/Flow/Flow.js +4 -4
- package/dist/emotion/cjs/components/Flow/index.js +1 -1
- package/dist/emotion/cjs/components/Grid/Grid.config.js +36 -57
- package/dist/emotion/cjs/components/Grid/Grid.js +4 -4
- package/dist/emotion/cjs/components/Grid/index.js +1 -1
- package/dist/emotion/cjs/components/IconButton/IconButton.config.js +48 -105
- package/dist/emotion/cjs/components/IconButton/IconButton.js +5 -5
- package/dist/emotion/cjs/components/IconButton/index.js +1 -1
- package/dist/emotion/cjs/components/Image/Image.js +4 -4
- package/dist/emotion/cjs/components/Image/index.js +1 -1
- package/dist/emotion/cjs/components/Indicator/Indicator.config.js +32 -122
- package/dist/emotion/cjs/components/Indicator/Indicator.js +4 -4
- package/dist/emotion/cjs/components/Indicator/index.js +1 -1
- package/dist/emotion/cjs/components/Link/Link.config.js +107 -205
- package/dist/emotion/cjs/components/Link/Link.js +5 -5
- package/dist/emotion/cjs/components/Link/index.js +1 -1
- package/dist/emotion/cjs/components/Mask/Mask.js +3 -3
- package/dist/emotion/cjs/components/Mask/index.js +1 -1
- package/dist/emotion/cjs/components/Modal/Modal.config.js +15 -33
- package/dist/emotion/cjs/components/Modal/Modal.js +5 -5
- package/dist/emotion/cjs/components/Modal/index.js +2 -2
- package/dist/emotion/cjs/components/Notification/Notification.config.js +102 -143
- package/dist/emotion/cjs/components/Notification/Notification.js +7 -8
- package/dist/emotion/cjs/components/Notification/index.js +2 -2
- package/dist/emotion/cjs/components/NumberFormat/NumberFormat.js +3 -3
- package/dist/emotion/cjs/components/NumberFormat/index.js +2 -2
- package/dist/emotion/cjs/components/NumberInput/NumberInput.config.js +77 -133
- package/dist/emotion/cjs/components/NumberInput/NumberInput.js +4 -4
- package/dist/emotion/cjs/components/NumberInput/index.js +2 -2
- package/dist/emotion/cjs/components/Overlay/index.js +1 -1
- package/dist/emotion/cjs/components/Pagination/Pagination.config.js +76 -120
- package/dist/emotion/cjs/components/Pagination/Pagination.js +5 -5
- package/dist/emotion/cjs/components/Pagination/index.js +1 -1
- package/dist/emotion/cjs/components/Popover/Popover.config.js +12 -29
- package/dist/emotion/cjs/components/Popover/Popover.js +4 -4
- package/dist/emotion/cjs/components/Popover/index.js +1 -1
- package/dist/emotion/cjs/components/Popup/Popup.js +3 -3
- package/dist/emotion/cjs/components/Popup/index.js +2 -2
- package/dist/emotion/cjs/components/Portal/index.js +1 -1
- package/dist/emotion/cjs/components/Price/Price.config.js +1 -1
- package/dist/emotion/cjs/components/Price/Price.js +5 -5
- package/dist/emotion/cjs/components/Price/index.js +2 -2
- package/dist/emotion/cjs/components/Progress/Progress.config.js +182 -80
- package/dist/emotion/cjs/components/Progress/Progress.js +5 -5
- package/dist/emotion/cjs/components/Progress/index.js +1 -1
- package/dist/emotion/cjs/components/Radiobox/Radiobox.config.js +39 -81
- package/dist/emotion/cjs/components/Radiobox/Radiobox.js +5 -5
- package/dist/emotion/cjs/components/Radiobox/index.js +1 -1
- package/dist/emotion/cjs/components/Range/Range.config.js +124 -149
- package/dist/emotion/cjs/components/Range/Range.js +4 -4
- package/dist/emotion/cjs/components/Range/index.js +2 -2
- package/dist/emotion/cjs/components/Rating/Rating.config.js +69 -101
- package/dist/emotion/cjs/components/Rating/Rating.js +4 -4
- package/dist/emotion/cjs/components/Rating/index.js +2 -2
- package/dist/emotion/cjs/components/SSRProvider/index.js +1 -1
- package/dist/emotion/cjs/components/Segment/Segment.js +7 -7
- package/dist/emotion/cjs/components/Segment/SegmentGroup.config.js +27 -104
- package/dist/emotion/cjs/components/Segment/SegmentItem.config.js +58 -104
- package/dist/emotion/cjs/components/Segment/index.js +1 -1
- package/dist/emotion/cjs/components/Select/Select.config.js +244 -288
- package/dist/emotion/cjs/components/Select/Select.js +11 -38
- package/dist/emotion/cjs/components/Select/index.js +1 -1
- package/dist/emotion/cjs/components/Sheet/Sheet.config.js +14 -48
- package/dist/emotion/cjs/components/Sheet/Sheet.js +5 -5
- package/dist/emotion/cjs/components/Sheet/index.js +2 -2
- package/dist/emotion/cjs/components/Skeleton/LineSkeleton.config.js +80 -242
- package/dist/emotion/cjs/components/Skeleton/Skeleton.js +5 -5
- package/dist/emotion/cjs/components/Skeleton/index.js +1 -1
- package/dist/emotion/cjs/components/Slider/Slider.config.js +119 -134
- package/dist/emotion/cjs/components/Slider/Slider.js +5 -5
- package/dist/emotion/cjs/components/Slider/index.js +1 -1
- package/dist/emotion/cjs/components/Spinner/Spinner.config.js +26 -92
- package/dist/emotion/cjs/components/Spinner/Spinner.js +6 -6
- package/dist/emotion/cjs/components/Spinner/index.js +1 -1
- package/dist/emotion/cjs/components/Steps/Steps.config.js +92 -102
- package/dist/emotion/cjs/components/Steps/Steps.js +5 -5
- package/dist/emotion/cjs/components/Steps/index.js +1 -1
- package/dist/emotion/cjs/components/Switch/Switch.config.js +62 -124
- package/dist/emotion/cjs/components/Switch/Switch.js +5 -5
- package/dist/emotion/cjs/components/Switch/index.js +1 -1
- package/dist/emotion/cjs/components/Table/Table.config.js +212 -241
- package/dist/emotion/cjs/components/Table/Table.js +5 -5
- package/dist/emotion/cjs/components/Table/index.js +1 -1
- package/dist/emotion/cjs/components/Tabs/TabItem.js +9 -9
- package/dist/emotion/cjs/components/Tabs/Tabs.js +9 -9
- package/dist/emotion/cjs/components/Tabs/TabsController.js +8 -8
- package/dist/emotion/cjs/components/Tabs/horizontal/HorizontalTabItem.config.js +151 -209
- package/dist/emotion/cjs/components/Tabs/horizontal/HorizontalTabs.config.js +117 -244
- package/dist/emotion/cjs/components/Tabs/index.js +4 -4
- package/dist/emotion/cjs/components/Tabs/vertical/VerticalTabItem.config.js +71 -107
- package/dist/emotion/cjs/components/Tabs/vertical/VerticalTabs.config.js +37 -78
- package/dist/emotion/cjs/components/TextArea/TextArea.clear.config.js +276 -316
- package/dist/emotion/cjs/components/TextArea/TextArea.config.js +265 -308
- package/dist/emotion/cjs/components/TextArea/TextArea.js +8 -8
- package/dist/emotion/cjs/components/TextArea/index.js +1 -1
- package/dist/emotion/cjs/components/TextField/TextField.clear.config.js +211 -266
- package/dist/emotion/cjs/components/TextField/TextField.config.js +235 -294
- package/dist/emotion/cjs/components/TextField/TextField.js +8 -8
- package/dist/emotion/cjs/components/TextField/index.js +2 -2
- package/dist/emotion/cjs/components/TimePicker/TimePicker.config.js +156 -165
- package/dist/emotion/cjs/components/TimePicker/TimePicker.js +4 -4
- package/dist/emotion/cjs/components/TimePicker/index.js +2 -2
- package/dist/emotion/cjs/components/Toast/Toast.config.js +48 -100
- package/dist/emotion/cjs/components/Toast/Toast.js +6 -6
- package/dist/emotion/cjs/components/Toast/index.js +1 -1
- package/dist/emotion/cjs/components/ToastNew/ToastNew.config.js +30 -62
- package/dist/emotion/cjs/components/ToastNew/ToastNew.js +5 -5
- package/dist/emotion/cjs/components/ToastNew/index.js +1 -1
- package/dist/emotion/cjs/components/Tokens/Colors/Colors.styles.js +18 -22
- package/dist/emotion/cjs/components/Tokens/NumberTokens/NumberTokens.styles.js +7 -7
- package/dist/emotion/cjs/components/Tokens/Typography/Typography.styles.js +22 -40
- package/dist/emotion/cjs/components/Tooltip/Tooltip.config.js +38 -68
- package/dist/emotion/cjs/components/Tooltip/Tooltip.js +4 -4
- package/dist/emotion/cjs/components/Tooltip/index.js +1 -1
- package/dist/emotion/cjs/components/Tour/Tour.config.js +7 -34
- package/dist/emotion/cjs/components/Tour/Tour.js +4 -4
- package/dist/emotion/cjs/components/Tour/index.js +1 -1
- package/dist/emotion/cjs/components/Tree/Tree.config.js +52 -77
- package/dist/emotion/cjs/components/Tree/Tree.js +4 -4
- package/dist/emotion/cjs/components/Tree/index.js +1 -1
- package/dist/emotion/cjs/components/Typography/Body.config.js +56 -106
- package/dist/emotion/cjs/components/Typography/Dspl.config.js +34 -68
- package/dist/emotion/cjs/components/Typography/Heading.config.js +56 -106
- package/dist/emotion/cjs/components/Typography/Text.config.js +45 -87
- package/dist/emotion/cjs/components/Typography/Typography.js +56 -56
- package/dist/emotion/cjs/components/Typography/index.js +1 -1
- package/dist/emotion/cjs/components/ViewContainer/ViewContainer.config.js +9 -35
- package/dist/emotion/cjs/components/ViewContainer/ViewContainer.js +4 -4
- package/dist/emotion/cjs/components/ViewContainer/index.js +1 -1
- package/dist/emotion/cjs/helpers/index.js +1 -1
- package/dist/emotion/cjs/mixins/index.js +3 -3
- package/dist/emotion/cjs/tokens/index.js +1 -1
- package/dist/emotion/es/components/Accordion/Accordion.config.js +49 -84
- package/dist/emotion/es/components/Accordion/Accordion.js +2 -2
- package/dist/emotion/es/components/Attach/Attach.config.js +213 -247
- package/dist/emotion/es/components/Attach/Attach.js +2 -2
- package/dist/emotion/es/components/Autocomplete/Autocomplete.config.js +187 -226
- package/dist/emotion/es/components/Autocomplete/Autocomplete.js +7 -58
- package/dist/emotion/es/components/Avatar/Avatar.config.js +96 -192
- package/dist/emotion/es/components/Avatar/Avatar.js +2 -2
- package/dist/emotion/es/components/AvatarGroup/AvatarGroup.js +2 -2
- package/dist/emotion/es/components/Badge/Badge.config.js +54 -122
- package/dist/emotion/es/components/Badge/Badge.js +2 -2
- package/dist/emotion/es/components/Breadcrumbs/Breadcrumbs.config.js +18 -43
- package/dist/emotion/es/components/Breadcrumbs/Breadcrumbs.js +3 -3
- package/dist/emotion/es/components/Button/Button.config.js +77 -160
- package/dist/emotion/es/components/Button/Button.js +10 -133
- package/dist/emotion/es/components/ButtonGroup/ButtonGroup.config.js +81 -207
- package/dist/emotion/es/components/ButtonGroup/ButtonGroup.js +2 -2
- package/dist/emotion/es/components/Calendar/Calendar.config.js +100 -112
- package/dist/emotion/es/components/Calendar/Calendar.js +7 -7
- package/dist/emotion/es/components/Calendar/CalendarDouble.config.js +100 -112
- package/dist/emotion/es/components/Card/Card.config.js +22 -64
- package/dist/emotion/es/components/Card/Card.js +3 -3
- package/dist/emotion/es/components/Carousel/Carousel.config.js +14 -40
- package/dist/emotion/es/components/Carousel/Carousel.js +2 -2
- package/dist/emotion/es/components/Cell/Cell.config.js +72 -96
- package/dist/emotion/es/components/Cell/Cell.js +3 -3
- package/dist/emotion/es/components/Checkbox/Checkbox.config.js +40 -82
- package/dist/emotion/es/components/Checkbox/Checkbox.js +3 -3
- package/dist/emotion/es/components/Chip/Chip.config.js +94 -147
- package/dist/emotion/es/components/Chip/Chip.js +3 -3
- package/dist/emotion/es/components/ChipGroup/ChipGroup.config.js +52 -108
- package/dist/emotion/es/components/ChipGroup/ChipGroup.js +2 -2
- package/dist/emotion/es/components/Combobox/Combobox.config.js +270 -302
- package/dist/emotion/es/components/Combobox/Combobox.js +9 -36
- package/dist/emotion/es/components/Counter/Counter.config.js +21 -64
- package/dist/emotion/es/components/Counter/Counter.js +2 -2
- package/dist/emotion/es/components/DatePicker/DatePicker.config.js +281 -277
- package/dist/emotion/es/components/DatePicker/DatePicker.js +4 -4
- package/dist/emotion/es/components/Divider/Divider.config.js +22 -88
- package/dist/emotion/es/components/Divider/Divider.js +2 -2
- package/dist/emotion/es/components/Drawer/Drawer.config.js +18 -60
- package/dist/emotion/es/components/Drawer/Drawer.js +8 -8
- package/dist/emotion/es/components/Dropdown/Dropdown.config.js +54 -75
- package/dist/emotion/es/components/Dropdown/Dropdown.js +8 -35
- package/dist/emotion/es/components/EmptyState/EmptyState.config.js +57 -99
- package/dist/emotion/es/components/EmptyState/EmptyState.js +2 -2
- package/dist/emotion/es/components/Flow/Flow.config.js +1 -1
- package/dist/emotion/es/components/Flow/Flow.js +2 -2
- package/dist/emotion/es/components/Grid/Grid.config.js +35 -56
- package/dist/emotion/es/components/Grid/Grid.js +2 -2
- package/dist/emotion/es/components/IconButton/IconButton.config.js +47 -104
- package/dist/emotion/es/components/IconButton/IconButton.js +3 -3
- package/dist/emotion/es/components/Image/Image.js +3 -3
- package/dist/emotion/es/components/Indicator/Indicator.config.js +31 -121
- package/dist/emotion/es/components/Indicator/Indicator.js +2 -2
- package/dist/emotion/es/components/Link/Link.config.js +106 -204
- package/dist/emotion/es/components/Link/Link.js +3 -3
- package/dist/emotion/es/components/Mask/Mask.js +1 -1
- package/dist/emotion/es/components/Modal/Modal.config.js +14 -32
- package/dist/emotion/es/components/Modal/Modal.js +3 -3
- package/dist/emotion/es/components/Notification/Notification.config.js +101 -142
- package/dist/emotion/es/components/Notification/Notification.js +4 -5
- package/dist/emotion/es/components/NumberFormat/NumberFormat.js +1 -1
- package/dist/emotion/es/components/NumberInput/NumberInput.config.js +76 -132
- package/dist/emotion/es/components/NumberInput/NumberInput.js +2 -2
- package/dist/emotion/es/components/Pagination/Pagination.config.js +75 -119
- package/dist/emotion/es/components/Pagination/Pagination.js +3 -3
- package/dist/emotion/es/components/Popover/Popover.config.js +11 -28
- package/dist/emotion/es/components/Popover/Popover.js +2 -2
- package/dist/emotion/es/components/Popup/Popup.js +2 -2
- package/dist/emotion/es/components/Price/Price.config.js +1 -1
- package/dist/emotion/es/components/Price/Price.js +3 -3
- package/dist/emotion/es/components/Progress/Progress.config.js +181 -79
- package/dist/emotion/es/components/Progress/Progress.js +3 -3
- package/dist/emotion/es/components/Radiobox/Radiobox.config.js +38 -80
- package/dist/emotion/es/components/Radiobox/Radiobox.js +3 -3
- package/dist/emotion/es/components/Range/Range.config.js +123 -148
- package/dist/emotion/es/components/Range/Range.js +2 -2
- package/dist/emotion/es/components/Rating/Rating.config.js +68 -100
- package/dist/emotion/es/components/Rating/Rating.js +2 -2
- package/dist/emotion/es/components/Segment/Segment.js +4 -4
- package/dist/emotion/es/components/Segment/SegmentGroup.config.js +26 -103
- package/dist/emotion/es/components/Segment/SegmentItem.config.js +57 -103
- package/dist/emotion/es/components/Select/Select.config.js +243 -287
- package/dist/emotion/es/components/Select/Select.js +8 -35
- package/dist/emotion/es/components/Sheet/Sheet.config.js +13 -47
- package/dist/emotion/es/components/Sheet/Sheet.js +3 -3
- package/dist/emotion/es/components/Skeleton/LineSkeleton.config.js +79 -241
- package/dist/emotion/es/components/Skeleton/Skeleton.js +3 -3
- package/dist/emotion/es/components/Slider/Slider.config.js +118 -133
- package/dist/emotion/es/components/Slider/Slider.js +3 -3
- package/dist/emotion/es/components/Spinner/Spinner.config.js +25 -91
- package/dist/emotion/es/components/Spinner/Spinner.js +3 -3
- package/dist/emotion/es/components/Steps/Steps.config.js +91 -101
- package/dist/emotion/es/components/Steps/Steps.js +3 -3
- package/dist/emotion/es/components/Switch/Switch.config.js +61 -123
- package/dist/emotion/es/components/Switch/Switch.js +3 -3
- package/dist/emotion/es/components/Table/Table.config.js +211 -240
- package/dist/emotion/es/components/Table/Table.js +3 -3
- package/dist/emotion/es/components/Tabs/TabItem.js +5 -5
- package/dist/emotion/es/components/Tabs/Tabs.js +5 -5
- package/dist/emotion/es/components/Tabs/TabsController.js +5 -5
- package/dist/emotion/es/components/Tabs/horizontal/HorizontalTabItem.config.js +150 -208
- package/dist/emotion/es/components/Tabs/horizontal/HorizontalTabs.config.js +116 -243
- package/dist/emotion/es/components/Tabs/vertical/VerticalTabItem.config.js +70 -106
- package/dist/emotion/es/components/Tabs/vertical/VerticalTabs.config.js +36 -77
- package/dist/emotion/es/components/TextArea/TextArea.clear.config.js +275 -315
- package/dist/emotion/es/components/TextArea/TextArea.config.js +264 -307
- package/dist/emotion/es/components/TextArea/TextArea.js +5 -5
- package/dist/emotion/es/components/TextField/TextField.clear.config.js +210 -265
- package/dist/emotion/es/components/TextField/TextField.config.js +234 -293
- package/dist/emotion/es/components/TextField/TextField.js +5 -5
- package/dist/emotion/es/components/TimePicker/TimePicker.config.js +155 -164
- package/dist/emotion/es/components/TimePicker/TimePicker.js +2 -2
- package/dist/emotion/es/components/Toast/Toast.config.js +47 -99
- package/dist/emotion/es/components/Toast/Toast.js +4 -4
- package/dist/emotion/es/components/ToastNew/ToastNew.config.js +29 -61
- package/dist/emotion/es/components/ToastNew/ToastNew.js +3 -3
- package/dist/emotion/es/components/Tokens/Colors/Colors.styles.js +14 -18
- package/dist/emotion/es/components/Tokens/NumberTokens/NumberTokens.styles.js +6 -6
- package/dist/emotion/es/components/Tokens/Typography/Typography.styles.js +18 -36
- package/dist/emotion/es/components/Tooltip/Tooltip.config.js +37 -67
- package/dist/emotion/es/components/Tooltip/Tooltip.js +2 -2
- package/dist/emotion/es/components/Tour/Tour.config.js +6 -33
- package/dist/emotion/es/components/Tour/Tour.js +2 -2
- package/dist/emotion/es/components/Tree/Tree.config.js +51 -76
- package/dist/emotion/es/components/Tree/Tree.js +2 -2
- package/dist/emotion/es/components/Typography/Body.config.js +55 -105
- package/dist/emotion/es/components/Typography/Dspl.config.js +33 -67
- package/dist/emotion/es/components/Typography/Heading.config.js +55 -105
- package/dist/emotion/es/components/Typography/Text.config.js +44 -86
- package/dist/emotion/es/components/Typography/Typography.js +51 -51
- package/dist/emotion/es/components/ViewContainer/ViewContainer.config.js +7 -33
- package/dist/emotion/es/components/ViewContainer/ViewContainer.js +2 -2
- package/dist/emotion/es/mixins/index.js +1 -1
- package/package.json +25 -29
- package/types/components/Combobox/Combobox.d.ts +211 -1227
- package/types/components/Progress/Progress.config.d.ts +13 -0
- package/types/components/Progress/Progress.d.ts +12 -0
- package/types/components/Select/Select.d.ts +24 -24
- package/types/components/TextArea/TextArea.d.ts +23 -1715
- package/types/components/TimePicker/TimePicker.d.ts +4 -0
|
@@ -1,147 +1,132 @@
|
|
|
1
|
-
function _tagged_template_literal(strings, raw) {
|
|
2
|
-
if (!raw) {
|
|
3
|
-
raw = strings.slice(0);
|
|
4
|
-
}
|
|
5
|
-
return Object.freeze(Object.defineProperties(strings, {
|
|
6
|
-
raw: {
|
|
7
|
-
value: Object.freeze(raw)
|
|
8
|
-
}
|
|
9
|
-
}));
|
|
10
|
-
}
|
|
11
|
-
function _templateObject() {
|
|
12
|
-
var data = _tagged_template_literal([
|
|
13
|
-
"\n ",
|
|
14
|
-
": var(--text-primary);\n\n ",
|
|
15
|
-
": var(--text-secondary);\n\n ",
|
|
16
|
-
": var(--surface-solid-tertiary);\n ",
|
|
17
|
-
": var(--on-light-surface-solid-card);\n ",
|
|
18
|
-
": var(--surface-solid-default);\n\n ",
|
|
19
|
-
": var(--surface-solid-primary);\n\n ",
|
|
20
|
-
": var(--surface-solid-default);\n\n ",
|
|
21
|
-
": var(--surface-solid-primary);\n ",
|
|
22
|
-
": var(--surface-solid-default);\n\n ",
|
|
23
|
-
": var(--text-accent);\n ",
|
|
24
|
-
": var(--text-primary);\n ",
|
|
25
|
-
": var(--text-primary);\n ",
|
|
26
|
-
": var(--text-secondary);\n\n ",
|
|
27
|
-
": var(--outline-solid-primary);\n ",
|
|
28
|
-
": var(--outline-accent);\n ",
|
|
29
|
-
": var(--outline-solid-primary-hover);\n\n ",
|
|
30
|
-
": var(--surface-solid-card);\n ",
|
|
31
|
-
": var(--surface-solid-card);\n ",
|
|
32
|
-
": var(--surface-solid-card-active);\n "
|
|
33
|
-
]);
|
|
34
|
-
_templateObject = function _templateObject() {
|
|
35
|
-
return data;
|
|
36
|
-
};
|
|
37
|
-
return data;
|
|
38
|
-
}
|
|
39
|
-
function _templateObject1() {
|
|
40
|
-
var data = _tagged_template_literal([
|
|
41
|
-
"\n ",
|
|
42
|
-
": var(--text-primary);\n\n ",
|
|
43
|
-
": var(--text-secondary);\n\n ",
|
|
44
|
-
": var(--surface-solid-tertiary);\n ",
|
|
45
|
-
": var(--on-light-surface-solid-card);\n ",
|
|
46
|
-
": var(--surface-accent);\n\n ",
|
|
47
|
-
": var(--surface-solid-primary);\n\n ",
|
|
48
|
-
": var(--surface-accent);\n\n ",
|
|
49
|
-
": var(--surface-solid-primary);\n ",
|
|
50
|
-
": var(--surface-accent);\n\n ",
|
|
51
|
-
": var(--text-secondary);\n\n ",
|
|
52
|
-
": var(--text-accent);\n ",
|
|
53
|
-
": var(--text-primary);\n ",
|
|
54
|
-
": var(--text-primary);\n ",
|
|
55
|
-
": var(--text-secondary);\n\n ",
|
|
56
|
-
": var(--outline-solid-primary);\n ",
|
|
57
|
-
": var(--outline-accent);\n ",
|
|
58
|
-
": var(--outline-solid-primary-hover);\n\n ",
|
|
59
|
-
": var(--surface-solid-card);\n ",
|
|
60
|
-
": var(--surface-solid-card);\n ",
|
|
61
|
-
": var(--surface-solid-card-active);\n "
|
|
62
|
-
]);
|
|
63
|
-
_templateObject1 = function _templateObject() {
|
|
64
|
-
return data;
|
|
65
|
-
};
|
|
66
|
-
return data;
|
|
67
|
-
}
|
|
68
|
-
function _templateObject2() {
|
|
69
|
-
var data = _tagged_template_literal([
|
|
70
|
-
"\n ",
|
|
71
|
-
": 1rem;\n ",
|
|
72
|
-
": 0.375rem;\n\n ",
|
|
73
|
-
": 0.25rem;\n ",
|
|
74
|
-
": 0.25rem;\n ",
|
|
75
|
-
": 1rem;\n ",
|
|
76
|
-
": 0.625rem;\n ",
|
|
77
|
-
": 0.625rem;\n\n ",
|
|
78
|
-
": var(--plasma-typo-body-s-font-family);\n ",
|
|
79
|
-
": var(--plasma-typo-body-s-font-size);\n ",
|
|
80
|
-
": var(--plasma-typo-body-s-font-style);\n ",
|
|
81
|
-
": var(--plasma-typo-body-s-font-weight);\n ",
|
|
82
|
-
": var(--plasma-typo-body-s-letter-spacing);\n ",
|
|
83
|
-
": var(--plasma-typo-body-s-line-height);\n\n ",
|
|
84
|
-
": 0.5rem;\n ",
|
|
85
|
-
": 0.625rem;\n ",
|
|
86
|
-
": 0.625rem;\n ",
|
|
87
|
-
": 0.5rem;\n\n ",
|
|
88
|
-
": var(--plasma-typo-body-xs-font-family);\n ",
|
|
89
|
-
": var(--plasma-typo-body-xs-font-size);\n ",
|
|
90
|
-
": var(--plasma-typo-body-xs-font-style);\n ",
|
|
91
|
-
": var(--plasma-typo-body-xs-font-weight);\n ",
|
|
92
|
-
": var(--plasma-typo-body-xs-letter-spacing);\n ",
|
|
93
|
-
": var(--plasma-typo-body-xs-line-height);\n\n ",
|
|
94
|
-
": 1rem;\n ",
|
|
95
|
-
": 1.25rem;\n ",
|
|
96
|
-
": 0.0625rem solid;\n\n ",
|
|
97
|
-
": 0.5rem;\n\n ",
|
|
98
|
-
": 1.25rem;\n\n ",
|
|
99
|
-
": 0.25rem;\n ",
|
|
100
|
-
": 0.125rem;\n ",
|
|
101
|
-
": 0.75rem;\n\n ",
|
|
102
|
-
": 0.063rem;\n ",
|
|
103
|
-
": 0.125rem;\n\n ",
|
|
104
|
-
": 2.5rem;\n ",
|
|
105
|
-
": 0.5rem 1rem 0.5rem 1rem;\n ",
|
|
106
|
-
": 0.625rem;\n ",
|
|
107
|
-
": var(--plasma-typo-body-s-font-family);\n ",
|
|
108
|
-
": var(--plasma-typo-body-s-font-size);\n ",
|
|
109
|
-
": var(--plasma-typo-body-s-font-style);\n ",
|
|
110
|
-
": var(--plasma-typo-body-s-font-weight);\n ",
|
|
111
|
-
": var(--plasma-typo-body-s-letter-spacing);\n ",
|
|
112
|
-
": var(--plasma-typo-body-s-line-height);\n "
|
|
113
|
-
]);
|
|
114
|
-
_templateObject2 = function _templateObject() {
|
|
115
|
-
return data;
|
|
116
|
-
};
|
|
117
|
-
return data;
|
|
118
|
-
}
|
|
119
|
-
function _templateObject3() {
|
|
120
|
-
var data = _tagged_template_literal([
|
|
121
|
-
"\n ",
|
|
122
|
-
": 0.4;\n "
|
|
123
|
-
]);
|
|
124
|
-
_templateObject3 = function _templateObject() {
|
|
125
|
-
return data;
|
|
126
|
-
};
|
|
127
|
-
return data;
|
|
128
|
-
}
|
|
129
1
|
import { css, sliderTokens } from '@salutejs/plasma-new-hope/emotion';
|
|
130
|
-
export
|
|
2
|
+
export const config = {
|
|
131
3
|
defaults: {
|
|
132
4
|
view: 'default',
|
|
133
5
|
size: 's'
|
|
134
6
|
},
|
|
135
7
|
variations: {
|
|
136
8
|
view: {
|
|
137
|
-
default: css
|
|
138
|
-
|
|
9
|
+
default: css`
|
|
10
|
+
${sliderTokens.labelColor}: var(--text-primary);
|
|
11
|
+
|
|
12
|
+
${sliderTokens.rangeValueColor}: var(--text-secondary);
|
|
13
|
+
|
|
14
|
+
${sliderTokens.thumbBorderColor}: var(--surface-solid-tertiary);
|
|
15
|
+
${sliderTokens.thumbBackgroundColor}: var(--on-light-surface-solid-card);
|
|
16
|
+
${sliderTokens.thumbFocusBorderColor}: var(--surface-solid-default);
|
|
17
|
+
|
|
18
|
+
${sliderTokens.railBackgroundColor}: var(--surface-solid-primary);
|
|
19
|
+
|
|
20
|
+
${sliderTokens.fillColor}: var(--surface-solid-default);
|
|
21
|
+
|
|
22
|
+
${sliderTokens.tickDotColor}: var(--surface-solid-primary);
|
|
23
|
+
${sliderTokens.tickDotFilledColor}: var(--surface-solid-default);
|
|
24
|
+
|
|
25
|
+
${sliderTokens.textFieldCaretColor}: var(--text-accent);
|
|
26
|
+
${sliderTokens.textFieldColor}: var(--text-primary);
|
|
27
|
+
${sliderTokens.textFiledFocusColor}: var(--text-primary);
|
|
28
|
+
${sliderTokens.textFieldPlaceholderColor}: var(--text-secondary);
|
|
29
|
+
|
|
30
|
+
${sliderTokens.textFieldBorderColor}: var(--outline-solid-primary);
|
|
31
|
+
${sliderTokens.textFieldBorderColorFocus}: var(--outline-accent);
|
|
32
|
+
${sliderTokens.textFieldBorderColorHover}: var(--outline-solid-primary-hover);
|
|
33
|
+
|
|
34
|
+
${sliderTokens.textFieldBackgroundColor}: var(--surface-solid-card);
|
|
35
|
+
${sliderTokens.textFieldBackgroundColorHover}: var(--surface-solid-card);
|
|
36
|
+
${sliderTokens.textFieldBackgroundColorFocus}: var(--surface-solid-card-active);
|
|
37
|
+
`,
|
|
38
|
+
accent: css`
|
|
39
|
+
${sliderTokens.labelColor}: var(--text-primary);
|
|
40
|
+
|
|
41
|
+
${sliderTokens.rangeValueColor}: var(--text-secondary);
|
|
42
|
+
|
|
43
|
+
${sliderTokens.thumbBorderColor}: var(--surface-solid-tertiary);
|
|
44
|
+
${sliderTokens.thumbBackgroundColor}: var(--on-light-surface-solid-card);
|
|
45
|
+
${sliderTokens.thumbFocusBorderColor}: var(--surface-accent);
|
|
46
|
+
|
|
47
|
+
${sliderTokens.railBackgroundColor}: var(--surface-solid-primary);
|
|
48
|
+
|
|
49
|
+
${sliderTokens.fillColor}: var(--surface-accent);
|
|
50
|
+
|
|
51
|
+
${sliderTokens.tickDotColor}: var(--surface-solid-primary);
|
|
52
|
+
${sliderTokens.tickDotFilledColor}: var(--surface-accent);
|
|
53
|
+
|
|
54
|
+
${sliderTokens.textFieldColor}: var(--text-secondary);
|
|
55
|
+
|
|
56
|
+
${sliderTokens.textFieldCaretColor}: var(--text-accent);
|
|
57
|
+
${sliderTokens.textFieldColor}: var(--text-primary);
|
|
58
|
+
${sliderTokens.textFiledFocusColor}: var(--text-primary);
|
|
59
|
+
${sliderTokens.textFieldPlaceholderColor}: var(--text-secondary);
|
|
60
|
+
|
|
61
|
+
${sliderTokens.textFieldBorderColor}: var(--outline-solid-primary);
|
|
62
|
+
${sliderTokens.textFieldBorderColorFocus}: var(--outline-accent);
|
|
63
|
+
${sliderTokens.textFieldBorderColorHover}: var(--outline-solid-primary-hover);
|
|
64
|
+
|
|
65
|
+
${sliderTokens.textFieldBackgroundColor}: var(--surface-solid-card);
|
|
66
|
+
${sliderTokens.textFieldBackgroundColorHover}: var(--surface-solid-card);
|
|
67
|
+
${sliderTokens.textFieldBackgroundColorFocus}: var(--surface-solid-card-active);
|
|
68
|
+
`
|
|
139
69
|
},
|
|
140
70
|
size: {
|
|
141
|
-
s: css
|
|
71
|
+
s: css`
|
|
72
|
+
${sliderTokens.size}: 1rem;
|
|
73
|
+
${sliderTokens.doubleWrapperGap}: 0.375rem;
|
|
74
|
+
|
|
75
|
+
${sliderTokens.labelWrapperGap}: 0.25rem;
|
|
76
|
+
${sliderTokens.labelWrapperMarginBottom}: 0.25rem;
|
|
77
|
+
${sliderTokens.labelWrapperMarginRight}: 1rem;
|
|
78
|
+
${sliderTokens.labelWrapperOnlyIconMarginRight}: 0.625rem;
|
|
79
|
+
${sliderTokens.labelWrapperVerticalMargin}: 0.625rem;
|
|
80
|
+
|
|
81
|
+
${sliderTokens.labelFontFamily}: var(--plasma-typo-body-s-font-family);
|
|
82
|
+
${sliderTokens.labelFontSize}: var(--plasma-typo-body-s-font-size);
|
|
83
|
+
${sliderTokens.labelFontStyle}: var(--plasma-typo-body-s-font-style);
|
|
84
|
+
${sliderTokens.labelFontWeight}: var(--plasma-typo-body-s-font-weight);
|
|
85
|
+
${sliderTokens.labelLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
|
|
86
|
+
${sliderTokens.labelLineHeight}: var(--plasma-typo-body-s-line-height);
|
|
87
|
+
|
|
88
|
+
${sliderTokens.rangeValueHorizontalMargin}: 0.5rem;
|
|
89
|
+
${sliderTokens.rangeValueBottomOffset}: 0.625rem;
|
|
90
|
+
${sliderTokens.rangeValueHorizontalOffset}: 0.625rem;
|
|
91
|
+
${sliderTokens.rangeValueVerticalMargin}: 0.5rem;
|
|
92
|
+
|
|
93
|
+
${sliderTokens.valueFontFamily}: var(--plasma-typo-body-xs-font-family);
|
|
94
|
+
${sliderTokens.valueFontSize}: var(--plasma-typo-body-xs-font-size);
|
|
95
|
+
${sliderTokens.valueFontStyle}: var(--plasma-typo-body-xs-font-style);
|
|
96
|
+
${sliderTokens.valueFontWeight}: var(--plasma-typo-body-xs-font-weight);
|
|
97
|
+
${sliderTokens.valueLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
|
|
98
|
+
${sliderTokens.valueLineHeight}: var(--plasma-typo-body-xs-line-height);
|
|
99
|
+
|
|
100
|
+
${sliderTokens.thumbSize}: 1rem;
|
|
101
|
+
${sliderTokens.thumbSizeLarge}: 1.25rem;
|
|
102
|
+
${sliderTokens.thumbBorder}: 0.0625rem solid;
|
|
103
|
+
|
|
104
|
+
${sliderTokens.tickSize}: 0.5rem;
|
|
105
|
+
|
|
106
|
+
${sliderTokens.currentValueTopOffset}: 1.25rem;
|
|
107
|
+
|
|
108
|
+
${sliderTokens.railThickness}: 0.25rem;
|
|
109
|
+
${sliderTokens.railBorderRadius}: 0.125rem;
|
|
110
|
+
${sliderTokens.railIndent}: 0.75rem;
|
|
111
|
+
|
|
112
|
+
${sliderTokens.textFieldWrapperGap}: 0.063rem;
|
|
113
|
+
${sliderTokens.textFieldBorderWidth}: 0.125rem;
|
|
114
|
+
|
|
115
|
+
${sliderTokens.textFieldHeight}: 2.5rem;
|
|
116
|
+
${sliderTokens.textFieldPadding}: 0.5rem 1rem 0.5rem 1rem;
|
|
117
|
+
${sliderTokens.textFieldBorderRadius}: 0.625rem;
|
|
118
|
+
${sliderTokens.textFieldFontFamily}: var(--plasma-typo-body-s-font-family);
|
|
119
|
+
${sliderTokens.textFieldFontSize}: var(--plasma-typo-body-s-font-size);
|
|
120
|
+
${sliderTokens.textFieldFontStyle}: var(--plasma-typo-body-s-font-style);
|
|
121
|
+
${sliderTokens.textFieldFontWeight}: var(--plasma-typo-body-s-font-weight);
|
|
122
|
+
${sliderTokens.textFieldLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
|
|
123
|
+
${sliderTokens.textFieldLineHeight}: var(--plasma-typo-body-s-line-height);
|
|
124
|
+
`
|
|
142
125
|
},
|
|
143
126
|
disabled: {
|
|
144
|
-
true: css
|
|
127
|
+
true: css`
|
|
128
|
+
${sliderTokens.disabledOpacity}: 0.4;
|
|
129
|
+
`
|
|
145
130
|
}
|
|
146
131
|
}
|
|
147
132
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { sliderConfig, component, mergeConfig } from '@salutejs/plasma-new-hope/emotion';
|
|
2
2
|
import { config } from './Slider.config';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
const mergedConfig = mergeConfig(sliderConfig, config);
|
|
4
|
+
const SliderComponent = component(mergedConfig);
|
|
5
5
|
/**
|
|
6
6
|
* Слайдер позволяет определить числовое значение в пределах указанного промежутка.
|
|
7
7
|
* Можно указать два значения.
|
|
8
|
-
*/ export
|
|
8
|
+
*/ export const Slider = SliderComponent;
|
|
@@ -1,101 +1,35 @@
|
|
|
1
|
-
function _tagged_template_literal(strings, raw) {
|
|
2
|
-
if (!raw) {
|
|
3
|
-
raw = strings.slice(0);
|
|
4
|
-
}
|
|
5
|
-
return Object.freeze(Object.defineProperties(strings, {
|
|
6
|
-
raw: {
|
|
7
|
-
value: Object.freeze(raw)
|
|
8
|
-
}
|
|
9
|
-
}));
|
|
10
|
-
}
|
|
11
|
-
function _templateObject() {
|
|
12
|
-
var data = _tagged_template_literal([
|
|
13
|
-
"\n --plasma-spinner-color: var(--text-primary);\n "
|
|
14
|
-
]);
|
|
15
|
-
_templateObject = function _templateObject() {
|
|
16
|
-
return data;
|
|
17
|
-
};
|
|
18
|
-
return data;
|
|
19
|
-
}
|
|
20
|
-
function _templateObject1() {
|
|
21
|
-
var data = _tagged_template_literal([
|
|
22
|
-
"\n --plasma-spinner-color: var(--text-secondary);\n "
|
|
23
|
-
]);
|
|
24
|
-
_templateObject1 = function _templateObject() {
|
|
25
|
-
return data;
|
|
26
|
-
};
|
|
27
|
-
return data;
|
|
28
|
-
}
|
|
29
|
-
function _templateObject2() {
|
|
30
|
-
var data = _tagged_template_literal([
|
|
31
|
-
"\n --plasma-spinner-color: var(--text-tertiary);\n "
|
|
32
|
-
]);
|
|
33
|
-
_templateObject2 = function _templateObject() {
|
|
34
|
-
return data;
|
|
35
|
-
};
|
|
36
|
-
return data;
|
|
37
|
-
}
|
|
38
|
-
function _templateObject3() {
|
|
39
|
-
var data = _tagged_template_literal([
|
|
40
|
-
"\n --plasma-spinner-color: var(--text-paragraph);\n "
|
|
41
|
-
]);
|
|
42
|
-
_templateObject3 = function _templateObject() {
|
|
43
|
-
return data;
|
|
44
|
-
};
|
|
45
|
-
return data;
|
|
46
|
-
}
|
|
47
|
-
function _templateObject4() {
|
|
48
|
-
var data = _tagged_template_literal([
|
|
49
|
-
"\n --plasma-spinner-color: var(--text-accent);\n "
|
|
50
|
-
]);
|
|
51
|
-
_templateObject4 = function _templateObject() {
|
|
52
|
-
return data;
|
|
53
|
-
};
|
|
54
|
-
return data;
|
|
55
|
-
}
|
|
56
|
-
function _templateObject5() {
|
|
57
|
-
var data = _tagged_template_literal([
|
|
58
|
-
"\n --plasma-spinner-color: var(--text-positive);\n "
|
|
59
|
-
]);
|
|
60
|
-
_templateObject5 = function _templateObject() {
|
|
61
|
-
return data;
|
|
62
|
-
};
|
|
63
|
-
return data;
|
|
64
|
-
}
|
|
65
|
-
function _templateObject6() {
|
|
66
|
-
var data = _tagged_template_literal([
|
|
67
|
-
"\n --plasma-spinner-color: var(--text-warning);\n "
|
|
68
|
-
]);
|
|
69
|
-
_templateObject6 = function _templateObject() {
|
|
70
|
-
return data;
|
|
71
|
-
};
|
|
72
|
-
return data;
|
|
73
|
-
}
|
|
74
|
-
function _templateObject7() {
|
|
75
|
-
var data = _tagged_template_literal([
|
|
76
|
-
"\n --plasma-spinner-color: var(--text-negative);\n "
|
|
77
|
-
]);
|
|
78
|
-
_templateObject7 = function _templateObject() {
|
|
79
|
-
return data;
|
|
80
|
-
};
|
|
81
|
-
return data;
|
|
82
|
-
}
|
|
83
1
|
import { css } from '@salutejs/plasma-new-hope/emotion';
|
|
84
|
-
export
|
|
2
|
+
export const config = {
|
|
85
3
|
defaults: {
|
|
86
4
|
view: 'accent',
|
|
87
5
|
size: 'm'
|
|
88
6
|
},
|
|
89
7
|
variations: {
|
|
90
8
|
view: {
|
|
91
|
-
default: css
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
9
|
+
default: css`
|
|
10
|
+
--plasma-spinner-color: var(--text-primary);
|
|
11
|
+
`,
|
|
12
|
+
secondary: css`
|
|
13
|
+
--plasma-spinner-color: var(--text-secondary);
|
|
14
|
+
`,
|
|
15
|
+
tertiary: css`
|
|
16
|
+
--plasma-spinner-color: var(--text-tertiary);
|
|
17
|
+
`,
|
|
18
|
+
paragraph: css`
|
|
19
|
+
--plasma-spinner-color: var(--text-paragraph);
|
|
20
|
+
`,
|
|
21
|
+
accent: css`
|
|
22
|
+
--plasma-spinner-color: var(--text-accent);
|
|
23
|
+
`,
|
|
24
|
+
positive: css`
|
|
25
|
+
--plasma-spinner-color: var(--text-positive);
|
|
26
|
+
`,
|
|
27
|
+
warning: css`
|
|
28
|
+
--plasma-spinner-color: var(--text-warning);
|
|
29
|
+
`,
|
|
30
|
+
negative: css`
|
|
31
|
+
--plasma-spinner-color: var(--text-negative);
|
|
32
|
+
`
|
|
99
33
|
}
|
|
100
34
|
}
|
|
101
35
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import styled from '@emotion/styled';
|
|
2
2
|
import { spinnerConfig, component, mergeConfig } from '@salutejs/plasma-new-hope/emotion';
|
|
3
3
|
import { config } from './Spinner.config';
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
const mergedConfig = mergeConfig(spinnerConfig, config);
|
|
5
|
+
const SpinnerComponent = component(mergedConfig);
|
|
6
6
|
/**
|
|
7
7
|
* Компонент для отображения индикатора загрузки.
|
|
8
|
-
*/ export
|
|
8
|
+
*/ export const Spinner = /*#__PURE__*/ styled(SpinnerComponent, {
|
|
9
9
|
target: "e1426z6k0",
|
|
10
10
|
label: "Spinner"
|
|
11
11
|
})("/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3JjL2NvbXBvbmVudHMvU3Bpbm5lci9TcGlubmVyLnRzeCIsInNvdXJjZXMiOlsic3JjL2NvbXBvbmVudHMvU3Bpbm5lci9TcGlubmVyLnRzeCJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgdHlwZSB7IEhUTUxBdHRyaWJ1dGVzIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuaW1wb3J0IHsgc3Bpbm5lckNvbmZpZywgY29tcG9uZW50LCBtZXJnZUNvbmZpZyB9IGZyb20gJ0BzYWx1dGVqcy9wbGFzbWEtbmV3LWhvcGUvZW1vdGlvbic7XG5cbmltcG9ydCB7IGNvbmZpZyB9IGZyb20gJy4vU3Bpbm5lci5jb25maWcnO1xuXG5jb25zdCBtZXJnZWRDb25maWcgPSBtZXJnZUNvbmZpZyhzcGlubmVyQ29uZmlnLCBjb25maWcpO1xuY29uc3QgU3Bpbm5lckNvbXBvbmVudCA9IGNvbXBvbmVudChtZXJnZWRDb25maWcpO1xuXG5leHBvcnQgdHlwZSBTcGlubmVyUHJvcHMgPSBIVE1MQXR0cmlidXRlczxIVE1MRGl2RWxlbWVudD4gJiB7XG4gICAgLyoqXG4gICAgICog0KDQsNC30LzQtdGAINGB0L/QuNC90L3QtdGA0LBcbiAgICAgKi9cbiAgICBzaXplPzogc3RyaW5nIHwgbnVtYmVyO1xuICAgIC8qKlxuICAgICAqINCm0LLQtdGCINGB0L/QuNC90L3QtdGA0LBcbiAgICAgKi9cbiAgICB2aWV3Pzogc3RyaW5nO1xuICAgIC8qKlxuICAgICAqINCm0LLQtdGCINGB0L/QuNC90L3QtdGA0LBcbiAgICAgKiBAZGVwcmVjYXRlZFxuICAgICAqL1xuICAgIGNvbG9yPzogc3RyaW5nO1xuICAgIC8qKlxuICAgICAqIEBkZXByZWNhdGVkXG4gICAgICovXG4gICAgZGV2aWNlU2NhbGU/OiBudW1iZXI7XG59O1xuXG4vKipcbiAqINCa0L7QvNC/0L7QvdC10L3RgiDQtNC70Y8g0L7RgtC+0LHRgNCw0LbQtdC90LjRjyDQuNC90LTQuNC60LDRgtC+0YDQsCDQt9Cw0LPRgNGD0LfQutC4LlxuICovXG5leHBvcnQgY29uc3QgU3Bpbm5lciA9IHN0eWxlZChTcGlubmVyQ29tcG9uZW50KWBgO1xuIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWdDdUIifQ== */");
|
|
@@ -1,113 +1,103 @@
|
|
|
1
|
-
function _tagged_template_literal(strings, raw) {
|
|
2
|
-
if (!raw) {
|
|
3
|
-
raw = strings.slice(0);
|
|
4
|
-
}
|
|
5
|
-
return Object.freeze(Object.defineProperties(strings, {
|
|
6
|
-
raw: {
|
|
7
|
-
value: Object.freeze(raw)
|
|
8
|
-
}
|
|
9
|
-
}));
|
|
10
|
-
}
|
|
11
|
-
function _templateObject() {
|
|
12
|
-
var data = _tagged_template_literal([
|
|
13
|
-
"\n ",
|
|
14
|
-
": var(--on-dark-surface-solid-primary);\n\n ",
|
|
15
|
-
": var(--text-primary);\n ",
|
|
16
|
-
": var(--text-primary-hover);\n ",
|
|
17
|
-
": var(--inverse-text-primary);\n ",
|
|
18
|
-
": var(--on-dark-surface-solid-primary);\n\n ",
|
|
19
|
-
": solid var(--on-dark-surface-solid-primary);\n ",
|
|
20
|
-
": var(--surface-clear);\n\n ",
|
|
21
|
-
": var(--text-accent);\n ",
|
|
22
|
-
": var(--text-accent-hover);\n ",
|
|
23
|
-
": var(--text-positive);\n ",
|
|
24
|
-
": var(--text-positive-hover);\n ",
|
|
25
|
-
": var(--surface-clear);\n ",
|
|
26
|
-
": var(--surface-clear);\n ",
|
|
27
|
-
": var(--surface-positive);\n ",
|
|
28
|
-
": var(--surface-positive-hover);\n\n ",
|
|
29
|
-
": var(--surface-positive);\n ",
|
|
30
|
-
": var(--surface-positive-hover);\n ",
|
|
31
|
-
": var(--surface-positive);\n ",
|
|
32
|
-
": var(--surface-positive-hover);\n\n ",
|
|
33
|
-
": var(--text-primary);\n ",
|
|
34
|
-
": var(--text-primary-hover);\n ",
|
|
35
|
-
": var(--text-primary);\n ",
|
|
36
|
-
": var(--text-primary);\n\n ",
|
|
37
|
-
": var(--surface-solid-tertiary);\n ",
|
|
38
|
-
": var(--surface-solid-tertiary-hover);\n\n ",
|
|
39
|
-
": var(--text-secondary);\n ",
|
|
40
|
-
": var(--surface-accent);\n\n ",
|
|
41
|
-
": var(--surface-positive);\n ",
|
|
42
|
-
": linear-gradient(90deg, var(--surface-positive) 35%, var(--on-dark-surface-solid-primary) 100%);\n ",
|
|
43
|
-
": linear-gradient(180deg, var(--surface-positive) 35%, var(--on-dark-surface-solid-primary) 100%);\n ",
|
|
44
|
-
": var(--on-dark-surface-solid-primary);\n\n ",
|
|
45
|
-
": 0.4;\n "
|
|
46
|
-
]);
|
|
47
|
-
_templateObject = function _templateObject() {
|
|
48
|
-
return data;
|
|
49
|
-
};
|
|
50
|
-
return data;
|
|
51
|
-
}
|
|
52
|
-
function _templateObject1() {
|
|
53
|
-
var data = _tagged_template_literal([
|
|
54
|
-
"\n ",
|
|
55
|
-
": 1.5rem;\n ",
|
|
56
|
-
": 1.5rem;\n ",
|
|
57
|
-
": 0.5rem;\n ",
|
|
58
|
-
": 1rem;\n\n ",
|
|
59
|
-
": 0.5rem;\n ",
|
|
60
|
-
": 0.25rem;\n ",
|
|
61
|
-
": 1.5rem;\n ",
|
|
62
|
-
": 0.5rem;\n ",
|
|
63
|
-
": 1rem;\n\n ",
|
|
64
|
-
": 0.5rem;\n ",
|
|
65
|
-
": 0.5rem;\n ",
|
|
66
|
-
": 1rem;\n ",
|
|
67
|
-
": 0.75rem;\n\n ",
|
|
68
|
-
": var(--plasma-typo-body-s-font-family);\n ",
|
|
69
|
-
": var(--plasma-typo-body-s-font-size);\n ",
|
|
70
|
-
": var(--plasma-typo-body-s-font-style);\n ",
|
|
71
|
-
": var(--plasma-typo-body-s-font-weight);\n ",
|
|
72
|
-
": var(--plasma-typo-body-s-letter-spacing);\n ",
|
|
73
|
-
": var(--plasma-typo-body-s-line-height);\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-font-weight);\n ",
|
|
78
|
-
": var(--plasma-typo-body-s-letter-spacing);\n ",
|
|
79
|
-
": var(--plasma-typo-body-s-line-height);\n\n ",
|
|
80
|
-
": var(--plasma-typo-body-m-font-family);\n ",
|
|
81
|
-
": var(--plasma-typo-body-m-font-size);\n ",
|
|
82
|
-
": var(--plasma-typo-body-m-font-style);\n ",
|
|
83
|
-
": var(--plasma-typo-body-m-font-weight);\n ",
|
|
84
|
-
": var(--plasma-typo-body-m-letter-spacing);\n ",
|
|
85
|
-
": var(--plasma-typo-body-m-line-height);\n\n ",
|
|
86
|
-
": var(--plasma-typo-body-s-font-family);\n ",
|
|
87
|
-
": var(--plasma-typo-body-s-font-size);\n ",
|
|
88
|
-
": var(--plasma-typo-body-s-font-style);\n ",
|
|
89
|
-
": var(--plasma-typo-body-s-font-weight);\n ",
|
|
90
|
-
": var(--plasma-typo-body-s-letter-spacing);\n ",
|
|
91
|
-
": var(--plasma-typo-body-s-line-height);\n\n ",
|
|
92
|
-
": 0.125rem;\n "
|
|
93
|
-
]);
|
|
94
|
-
_templateObject1 = function _templateObject() {
|
|
95
|
-
return data;
|
|
96
|
-
};
|
|
97
|
-
return data;
|
|
98
|
-
}
|
|
99
1
|
import { css, stepsTokens as tokens } from '@salutejs/plasma-new-hope/emotion';
|
|
100
|
-
export
|
|
2
|
+
export const config = {
|
|
101
3
|
defaults: {
|
|
102
4
|
size: 's',
|
|
103
5
|
view: 'default'
|
|
104
6
|
},
|
|
105
7
|
variations: {
|
|
106
8
|
view: {
|
|
107
|
-
default: css
|
|
9
|
+
default: css`
|
|
10
|
+
${tokens.loaderSpinnerColor}: var(--on-dark-surface-solid-primary);
|
|
11
|
+
|
|
12
|
+
${tokens.activeTitleColor}: var(--text-primary);
|
|
13
|
+
${tokens.activeTitleColorHover}: var(--text-primary-hover);
|
|
14
|
+
${tokens.activeIndicatorColor}: var(--inverse-text-primary);
|
|
15
|
+
${tokens.activeIndicatorBackground}: var(--on-dark-surface-solid-primary);
|
|
16
|
+
|
|
17
|
+
${tokens.bulletActiveIndicatorBorder}: solid var(--on-dark-surface-solid-primary);
|
|
18
|
+
${tokens.bulletActiveBackground}: var(--surface-clear);
|
|
19
|
+
|
|
20
|
+
${tokens.completedTitleColor}: var(--text-accent);
|
|
21
|
+
${tokens.completedTitleColorHover}: var(--text-accent-hover);
|
|
22
|
+
${tokens.completedIndicatorColor}: var(--text-positive);
|
|
23
|
+
${tokens.completedIndicatorColorHover}: var(--text-positive-hover);
|
|
24
|
+
${tokens.completedIndicatorBackground}: var(--surface-clear);
|
|
25
|
+
${tokens.completedIndicatorBackgroundHover}: var(--surface-clear);
|
|
26
|
+
${tokens.completedIndicatorBorder}: var(--surface-positive);
|
|
27
|
+
${tokens.completedIndicatorBorderHover}: var(--surface-positive-hover);
|
|
28
|
+
|
|
29
|
+
${tokens.completedBulletBorder}: var(--surface-positive);
|
|
30
|
+
${tokens.completedBulletBorderHover}: var(--surface-positive-hover);
|
|
31
|
+
${tokens.completedBulletBackground}: var(--surface-positive);
|
|
32
|
+
${tokens.completedBulletBackgroundHover}: var(--surface-positive-hover);
|
|
33
|
+
|
|
34
|
+
${tokens.inactiveTitleColor}: var(--text-primary);
|
|
35
|
+
${tokens.inactiveTitleColorHover}: var(--text-primary-hover);
|
|
36
|
+
${tokens.inactiveIndicatorColor}: var(--text-primary);
|
|
37
|
+
${tokens.inactiveIndicatorColorHover}: var(--text-primary);
|
|
38
|
+
|
|
39
|
+
${tokens.inactiveIndicatorBackground}: var(--surface-solid-tertiary);
|
|
40
|
+
${tokens.inactiveIndicatorBackgroundHover}: var(--surface-solid-tertiary-hover);
|
|
41
|
+
|
|
42
|
+
${tokens.contentColor}: var(--text-secondary);
|
|
43
|
+
${tokens.focusColor}: var(--surface-accent);
|
|
44
|
+
|
|
45
|
+
${tokens.dividerColor}: var(--surface-positive);
|
|
46
|
+
${tokens.dividerGradientColor}: linear-gradient(90deg, var(--surface-positive) 35%, var(--on-dark-surface-solid-primary) 100%);
|
|
47
|
+
${tokens.dividerVerticalGradientColor}: linear-gradient(180deg, var(--surface-positive) 35%, var(--on-dark-surface-solid-primary) 100%);
|
|
48
|
+
${tokens.dividerVerticalIndentColor}: var(--on-dark-surface-solid-primary);
|
|
49
|
+
|
|
50
|
+
${tokens.disabledOpacity}: 0.4;
|
|
51
|
+
`
|
|
108
52
|
},
|
|
109
53
|
size: {
|
|
110
|
-
s: css
|
|
54
|
+
s: css`
|
|
55
|
+
${tokens.indicatorSize}: 1.5rem;
|
|
56
|
+
${tokens.activeIndicatorSize}: 1.5rem;
|
|
57
|
+
${tokens.bulletSize}: 0.5rem;
|
|
58
|
+
${tokens.activeBulletSize}: 1rem;
|
|
59
|
+
|
|
60
|
+
${tokens.titlePaddingTop}: 0.5rem;
|
|
61
|
+
${tokens.contentPaddingTop}: 0.25rem;
|
|
62
|
+
${tokens.contentSidePadding}: 1.5rem;
|
|
63
|
+
${tokens.contentVerticalPadding}: 0.5rem;
|
|
64
|
+
${tokens.verticalContentPaddingLeft}: 1rem;
|
|
65
|
+
|
|
66
|
+
${tokens.smallIndicatorIndentHeight}: 0.5rem;
|
|
67
|
+
${tokens.largeIndicatorIndentHeight}: 0.5rem;
|
|
68
|
+
${tokens.smallBulletIndentHeight}: 1rem;
|
|
69
|
+
${tokens.largeBulletIndentHeight}: 0.75rem;
|
|
70
|
+
|
|
71
|
+
${tokens.indicatorFontFamily}: var(--plasma-typo-body-s-font-family);
|
|
72
|
+
${tokens.indicatorFontSize}: var(--plasma-typo-body-s-font-size);
|
|
73
|
+
${tokens.indicatorFontStyle}: var(--plasma-typo-body-s-font-style);
|
|
74
|
+
${tokens.indicatorFontWeight}: var(--plasma-typo-body-s-font-weight);
|
|
75
|
+
${tokens.indicatorLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
|
|
76
|
+
${tokens.indicatorLineHeight}: var(--plasma-typo-body-s-line-height);
|
|
77
|
+
|
|
78
|
+
${tokens.activeIndicatorFontFamily}: var(--plasma-typo-body-s-font-family);
|
|
79
|
+
${tokens.activeIndicatorFontSize}: var(--plasma-typo-body-s-font-size);
|
|
80
|
+
${tokens.activeIndicatorFontStyle}: var(--plasma-typo-body-s-font-style);
|
|
81
|
+
${tokens.activeIndicatorFontWeight}: var(--plasma-typo-body-s-font-weight);
|
|
82
|
+
${tokens.activeIndicatorLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
|
|
83
|
+
${tokens.activeIndicatorLineHeight}: var(--plasma-typo-body-s-line-height);
|
|
84
|
+
|
|
85
|
+
${tokens.titleFontFamily}: var(--plasma-typo-body-m-font-family);
|
|
86
|
+
${tokens.titleFontSize}: var(--plasma-typo-body-m-font-size);
|
|
87
|
+
${tokens.titleFontStyle}: var(--plasma-typo-body-m-font-style);
|
|
88
|
+
${tokens.titleFontWeight}: var(--plasma-typo-body-m-font-weight);
|
|
89
|
+
${tokens.titleLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
|
|
90
|
+
${tokens.titleLineHeight}: var(--plasma-typo-body-m-line-height);
|
|
91
|
+
|
|
92
|
+
${tokens.contentFontFamily}: var(--plasma-typo-body-s-font-family);
|
|
93
|
+
${tokens.contentFontSize}: var(--plasma-typo-body-s-font-size);
|
|
94
|
+
${tokens.contentFontStyle}: var(--plasma-typo-body-s-font-style);
|
|
95
|
+
${tokens.contentFontWeight}: var(--plasma-typo-body-s-font-weight);
|
|
96
|
+
${tokens.contentLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
|
|
97
|
+
${tokens.contentLineHeight}: var(--plasma-typo-body-s-line-height);
|
|
98
|
+
|
|
99
|
+
${tokens.dividerThickness}: 0.125rem;
|
|
100
|
+
`
|
|
111
101
|
}
|
|
112
102
|
}
|
|
113
103
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { stepsConfig, component, mergeConfig } from '@salutejs/plasma-new-hope/emotion';
|
|
2
2
|
import { config } from './Steps.config';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export
|
|
3
|
+
const mergedConfig = mergeConfig(stepsConfig, config);
|
|
4
|
+
const StepsComponent = component(mergedConfig);
|
|
5
|
+
export const Steps = StepsComponent;
|