@salutejs/sdds-cs 0.355.0-next-sbcom.0 → 0.355.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,293 +1,297 @@
|
|
|
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(--surface-accent);\n\n ",
|
|
15
|
-
": var(--surface-solid-card);\n ",
|
|
16
|
-
": var(--outline-solid-primary);\n ",
|
|
17
|
-
": var(--outline-solid-primary-hover);\n ",
|
|
18
|
-
": var(--outline-accent);\n ",
|
|
19
|
-
": var(--outline-negative);\n ",
|
|
20
|
-
": var(--outline-accent);\n\n ",
|
|
21
|
-
": var(--text-primary);\n ",
|
|
22
|
-
": var(--text-primary);\n ",
|
|
23
|
-
": var(--text-secondary);\n ",
|
|
24
|
-
": var(--text-negative);\n ",
|
|
25
|
-
": var(--text-positive);\n\n ",
|
|
26
|
-
": var(--text-primary);\n ",
|
|
27
|
-
": var(--text-secondary);\n ",
|
|
28
|
-
": var(--text-tertiary);\n ",
|
|
29
|
-
": var(--text-accent);\n\n ",
|
|
30
|
-
": var(--plasma-typo-body-xs-font-family);\n ",
|
|
31
|
-
": var(--plasma-typo-body-xs-font-size);\n ",
|
|
32
|
-
": var(--plasma-typo-body-xs-font-style);\n ",
|
|
33
|
-
": var(--plasma-typo-body-xs-font-weight);\n ",
|
|
34
|
-
": var(--plasma-typo-body-xs-letter-spacing);\n ",
|
|
35
|
-
": var(--plasma-typo-body-xs-line-height);\n\n ",
|
|
36
|
-
": var(--surface-negative);\n\n ",
|
|
37
|
-
": var(--outline-solid-primary);\n ",
|
|
38
|
-
": var(--outline-solid-primary-hover);\n ",
|
|
39
|
-
": var(--outline-accent);\n ",
|
|
40
|
-
": var(--outline-negative);\n ",
|
|
41
|
-
": var(--outline-negative);\n ",
|
|
42
|
-
": var(--outline-accent);\n ",
|
|
43
|
-
": var(--outline-accent);\n ",
|
|
44
|
-
": var(--surface-solid-card);\n\n ",
|
|
45
|
-
": var(--text-secondary);\n\n ",
|
|
46
|
-
": var(--surface-accent);\n ",
|
|
47
|
-
": var(--text-accent);\n ",
|
|
48
|
-
": var(--text-accent-hover);\n ",
|
|
49
|
-
": var(--text-accent-active);\n\n ",
|
|
50
|
-
": var(--text-secondary);\n ",
|
|
51
|
-
": var(--text-secondary);\n\n ",
|
|
52
|
-
": var(--text-accent);\n\n ",
|
|
53
|
-
": var(--shadow-down-soft-s);\n ",
|
|
54
|
-
": var(--surface-transparent-secondary);\n ",
|
|
55
|
-
": var(--surface-solid-card);\n\n ",
|
|
56
|
-
": var(--surface-accent);\n ",
|
|
57
|
-
": var(--inverse-text-primary);\n ",
|
|
58
|
-
": var(--surface-transparent-accent);\n ",
|
|
59
|
-
": var(--inverse-outline-solid-secondary);\n ",
|
|
60
|
-
": transparent;\n ",
|
|
61
|
-
": var(--text-primary);\n ",
|
|
62
|
-
": var(--surface-transparent-accent);\n ",
|
|
63
|
-
": var(--surface-accent);\n ",
|
|
64
|
-
": var(--inverse-text-primary);\n ",
|
|
65
|
-
": var(--surface-accent);\n ",
|
|
66
|
-
": var(--text-primary);\n ",
|
|
67
|
-
": var(--surface-transparent-accent);\n ",
|
|
68
|
-
": var(--surface-accent);\n ",
|
|
69
|
-
": var(--text-primary);\n ",
|
|
70
|
-
": var(--text-secondary);\n ",
|
|
71
|
-
": var(--text-secondary);\n ",
|
|
72
|
-
": var(--text-secondary);\n ",
|
|
73
|
-
": var(--text-accent);\n ",
|
|
74
|
-
": var(--outline-solid-primary);\n ",
|
|
75
|
-
": var(--text-secondary);\n ",
|
|
76
|
-
": 0.4;\n\n ",
|
|
77
|
-
": var(--text-accent);\n ",
|
|
78
|
-
": var(--surface-clear);\n ",
|
|
79
|
-
": var(--text-primary-hover);\n ",
|
|
80
|
-
": var(--surface-clear);\n ",
|
|
81
|
-
": var(--text-primary-hover);\n ",
|
|
82
|
-
": var(--surface-clear);\n ",
|
|
83
|
-
": var(--surface-accent);\n\n ",
|
|
84
|
-
": var(--text-accent);\n ",
|
|
85
|
-
": var(--text-accent-minor);\n\n ",
|
|
86
|
-
": var(--text-primary);\n ",
|
|
87
|
-
": var(--surface-transparent-secondary);\n "
|
|
88
|
-
]);
|
|
89
|
-
_templateObject = function _templateObject() {
|
|
90
|
-
return data;
|
|
91
|
-
};
|
|
92
|
-
return data;
|
|
93
|
-
}
|
|
94
|
-
function _templateObject1() {
|
|
95
|
-
var data = _tagged_template_literal([
|
|
96
|
-
"\n ",
|
|
97
|
-
": 19.5rem;\n ",
|
|
98
|
-
": 0.625rem;\n ",
|
|
99
|
-
": 0.125rem;\n\n ",
|
|
100
|
-
": 0 0.375rem;\n ",
|
|
101
|
-
": var(--plasma-typo-body-m-font-family);\n ",
|
|
102
|
-
": var(--plasma-typo-body-m-font-style);\n ",
|
|
103
|
-
": var(--plasma-typo-body-m-font-size);\n ",
|
|
104
|
-
": var(--plasma-typo-body-m-font-weight);\n ",
|
|
105
|
-
": var(--plasma-typo-body-m-letter-spacing);\n ",
|
|
106
|
-
": var(--plasma-typo-body-m-line-height);\n\n ",
|
|
107
|
-
": 0 0 0 0.75rem;\n ",
|
|
108
|
-
": 0;\n\n ",
|
|
109
|
-
": 0.5rem;\n ",
|
|
110
|
-
": 0.3125rem 0 0 0;\n ",
|
|
111
|
-
": 1.0625rem 0 0.3125rem 0;\n\n ",
|
|
112
|
-
": 0.5rem;\n ",
|
|
113
|
-
": var(--plasma-typo-body-s-font-family);\n ",
|
|
114
|
-
": var(--plasma-typo-body-s-font-style);\n ",
|
|
115
|
-
": var(--plasma-typo-body-s-font-size);\n ",
|
|
116
|
-
": var(--plasma-typo-body-s-font-weight);\n ",
|
|
117
|
-
": var(--plasma-typo-body-s-letter-spacing);\n ",
|
|
118
|
-
": var(--plasma-typo-body-s-line-height);\n\n ",
|
|
119
|
-
": 2.5rem;\n ",
|
|
120
|
-
": 2.5rem;\n ",
|
|
121
|
-
": 0.5rem;\n ",
|
|
122
|
-
": 0.625rem;\n\n ",
|
|
123
|
-
": 0.25rem;\n ",
|
|
124
|
-
": 0.375rem;\n ",
|
|
125
|
-
": 0.375rem;\n\n ",
|
|
126
|
-
": 0 0 0 0;\n ",
|
|
127
|
-
": 0.3125rem auto auto -0.6875rem;\n ",
|
|
128
|
-
": 0 0 auto auto;\n ",
|
|
129
|
-
": 0.25rem -0.625rem auto auto;\n\n ",
|
|
130
|
-
": 0.25rem;\n ",
|
|
131
|
-
": -0.75rem;\n ",
|
|
132
|
-
": auto 0 -0.5rem auto;\n ",
|
|
133
|
-
": auto auto -0.5rem 0;\n\n ",
|
|
134
|
-
": 2.5rem;\n ",
|
|
135
|
-
": 0.625rem;\n ",
|
|
136
|
-
": 0.125rem;\n ",
|
|
137
|
-
": 0.6875rem 0.75rem 0.6875rem 0.75rem;\n ",
|
|
138
|
-
": var(--plasma-typo-body-m-font-family);\n ",
|
|
139
|
-
": var(--plasma-typo-body-m-font-style);\n ",
|
|
140
|
-
": var(--plasma-typo-body-m-font-size);\n ",
|
|
141
|
-
": var(--plasma-typo-body-m-font-weight);\n ",
|
|
142
|
-
": var(--plasma-typo-body-m-letter-spacing);\n ",
|
|
143
|
-
": var(--plasma-typo-body-m-line-height);\n\n ",
|
|
144
|
-
": 0.25rem 0 0 0;\n ",
|
|
145
|
-
": var(--plasma-typo-body-s-font-family);\n ",
|
|
146
|
-
": var(--plasma-typo-body-s-font-style);\n ",
|
|
147
|
-
": var(--plasma-typo-body-s-font-size);\n ",
|
|
148
|
-
": var(--plasma-typo-body-s-font-weight);\n ",
|
|
149
|
-
": var(--plasma-typo-body-s-letter-spacing);\n ",
|
|
150
|
-
": var(--plasma-typo-body-s-line-height);\n\n ",
|
|
151
|
-
": -0.1875rem 0.25rem -0.1875rem -0.125rem;\n ",
|
|
152
|
-
": -0.1875rem -0.125rem -0.1875rem 0.75rem;\n ",
|
|
153
|
-
": 0 0.25rem 0 0;\n ",
|
|
154
|
-
": 0 0 0 0.25rem;\n\n ",
|
|
155
|
-
": 0.625rem;\n ",
|
|
156
|
-
": 0.75rem;\n ",
|
|
157
|
-
": 0.75rem 1rem 0.875rem 1rem;\n ",
|
|
158
|
-
": 1.625rem;\n\n ",
|
|
159
|
-
": 0.125rem;\n ",
|
|
160
|
-
": 19.5rem;\n ",
|
|
161
|
-
": 18.625rem;\n\n ",
|
|
162
|
-
": 0.5rem 0 0 0;\n ",
|
|
163
|
-
": 0.5rem;\n\n ",
|
|
164
|
-
": var(--plasma-typo-body-s-font-family);\n ",
|
|
165
|
-
": var(--plasma-typo-body-s-font-size);\n ",
|
|
166
|
-
": var(--plasma-typo-body-s-font-style);\n ",
|
|
167
|
-
": var(--plasma-typo-body-s-letter-spacing);\n ",
|
|
168
|
-
": var(--plasma-typo-body-s-line-height);\n ",
|
|
169
|
-
": var(--plasma-typo-body-s-font-weight);\n ",
|
|
170
|
-
": var(--plasma-typo-body-s-bold-font-weight);\n\n ",
|
|
171
|
-
": 0.5rem 0 0 0;\n ",
|
|
172
|
-
": 0.5rem;\n\n ",
|
|
173
|
-
": var(--plasma-typo-body-s-font-family);\n ",
|
|
174
|
-
": var(--plasma-typo-body-s-font-size);\n ",
|
|
175
|
-
": var(--plasma-typo-body-s-font-style);\n ",
|
|
176
|
-
": var(--plasma-typo-body-s-letter-spacing);\n ",
|
|
177
|
-
": var(--plasma-typo-body-s-line-height);\n ",
|
|
178
|
-
": var(--plasma-typo-body-s-font-weight);\n ",
|
|
179
|
-
": var(--plasma-typo-body-s-bold-font-weight);\n\n ",
|
|
180
|
-
": 0.5rem 0 0 0;\n ",
|
|
181
|
-
": 0.5rem;\n\n ",
|
|
182
|
-
": var(--plasma-typo-body-s-font-family);\n ",
|
|
183
|
-
": var(--plasma-typo-body-s-font-size);\n ",
|
|
184
|
-
": var(--plasma-typo-body-s-font-style);\n ",
|
|
185
|
-
": var(--plasma-typo-body-s-letter-spacing);\n ",
|
|
186
|
-
": var(--plasma-typo-body-s-line-height);\n ",
|
|
187
|
-
": var(--plasma-typo-body-s-font-weight);\n ",
|
|
188
|
-
": var(--plasma-typo-body-s-bold-font-weight);\n\n ",
|
|
189
|
-
": 0.5rem 0 0 0;\n ",
|
|
190
|
-
": 0.5rem;\n\n ",
|
|
191
|
-
": var(--plasma-typo-body-s-font-family);\n ",
|
|
192
|
-
": var(--plasma-typo-body-s-font-size);\n ",
|
|
193
|
-
": var(--plasma-typo-body-s-font-style);\n ",
|
|
194
|
-
": var(--plasma-typo-body-s-letter-spacing);\n ",
|
|
195
|
-
": var(--plasma-typo-body-s-line-height);\n ",
|
|
196
|
-
": var(--plasma-typo-body-s-font-weight);\n ",
|
|
197
|
-
": var(--plasma-typo-body-s-bold-font-weight);\n\n ",
|
|
198
|
-
": 0.125rem;\n\n ",
|
|
199
|
-
": 0;\n ",
|
|
200
|
-
": 0.5rem;\n ",
|
|
201
|
-
": 1.5rem;\n\n ",
|
|
202
|
-
": 0 0 0 0.5rem;\n ",
|
|
203
|
-
": 0.25rem;\n\n ",
|
|
204
|
-
": var(--plasma-typo-body-m-bold-font-family);\n ",
|
|
205
|
-
": var(--plasma-typo-body-m-bold-font-size);\n ",
|
|
206
|
-
": var(--plasma-typo-body-m-bold-font-style);\n ",
|
|
207
|
-
": var(--plasma-typo-body-m-bold-letter-spacing);\n ",
|
|
208
|
-
": var(--plasma-typo-body-m-bold-line-height);\n ",
|
|
209
|
-
": var(--plasma-typo-body-m-bold-font-weight);\n ",
|
|
210
|
-
": var(--plasma-typo-body-m-bold-font-weight);\n\n ",
|
|
211
|
-
": 2rem;\n ",
|
|
212
|
-
": 2rem;\n ",
|
|
213
|
-
": 0.75rem;\n ",
|
|
214
|
-
": 0.5rem;\n\n ",
|
|
215
|
-
": var(--plasma-typo-body-s-font-family);\n ",
|
|
216
|
-
": var(--plasma-typo-body-s-font-style);\n ",
|
|
217
|
-
": var(--plasma-typo-body-s-font-size);\n ",
|
|
218
|
-
": var(--plasma-typo-body-s-font-weight);\n ",
|
|
219
|
-
": var(--plasma-typo-body-s-letter-spacing);\n ",
|
|
220
|
-
": var(--plasma-typo-body-s-line-height);\n\n ",
|
|
221
|
-
": 0.688rem 0.5rem;\n ",
|
|
222
|
-
": 0.375rem;\n ",
|
|
223
|
-
": 0.5rem;\n "
|
|
224
|
-
]);
|
|
225
|
-
_templateObject1 = function _templateObject() {
|
|
226
|
-
return data;
|
|
227
|
-
};
|
|
228
|
-
return data;
|
|
229
|
-
}
|
|
230
|
-
function _templateObject2() {
|
|
231
|
-
var data = _tagged_template_literal([
|
|
232
|
-
"\n ",
|
|
233
|
-
": var(--surface-solid-primary);\n ",
|
|
234
|
-
": var(--surface-solid-primary);\n ",
|
|
235
|
-
": var(--surface-solid-primary);\n ",
|
|
236
|
-
": var(--surface-solid-primary);\n ",
|
|
237
|
-
": var(--surface-solid-primary);\n ",
|
|
238
|
-
": var(--surface-solid-primary);\n ",
|
|
239
|
-
": var(--text-secondary);\n ",
|
|
240
|
-
": var(--text-secondary);\n ",
|
|
241
|
-
": var(--text-secondary);\n ",
|
|
242
|
-
": var(--text-secondary);\n ",
|
|
243
|
-
": var(--text-secondary);\n ",
|
|
244
|
-
": var(--surface-solid-primary);\n ",
|
|
245
|
-
": var(--text-secondary);\n "
|
|
246
|
-
]);
|
|
247
|
-
_templateObject2 = function _templateObject() {
|
|
248
|
-
return data;
|
|
249
|
-
};
|
|
250
|
-
return data;
|
|
251
|
-
}
|
|
252
|
-
function _templateObject3() {
|
|
253
|
-
var data = _tagged_template_literal([
|
|
254
|
-
"\n ",
|
|
255
|
-
": var(--surface-clear);\n ",
|
|
256
|
-
": var(--outline-solid-primary);\n\n ",
|
|
257
|
-
": var(--text-primary);\n ",
|
|
258
|
-
": var(--text-primary);\n ",
|
|
259
|
-
": var(--text-secondary);\n\n ",
|
|
260
|
-
": var(--text-secondary);\n ",
|
|
261
|
-
": 0.4;\n\n ",
|
|
262
|
-
": var(--text-primary);\n ",
|
|
263
|
-
": var(--surface-clear);\n ",
|
|
264
|
-
": var(--text-secondary);\n ",
|
|
265
|
-
": transparent;\n ",
|
|
266
|
-
": 0;\n "
|
|
267
|
-
]);
|
|
268
|
-
_templateObject3 = function _templateObject() {
|
|
269
|
-
return data;
|
|
270
|
-
};
|
|
271
|
-
return data;
|
|
272
|
-
}
|
|
273
1
|
import { datePickerTokens as tokens, css } from '@salutejs/plasma-new-hope/emotion';
|
|
274
|
-
export
|
|
2
|
+
export const config = {
|
|
275
3
|
defaults: {
|
|
276
4
|
view: 'default',
|
|
277
5
|
size: 's'
|
|
278
6
|
},
|
|
279
7
|
variations: {
|
|
280
8
|
view: {
|
|
281
|
-
default: css
|
|
9
|
+
default: css`
|
|
10
|
+
${tokens.outlineFocusColor}: var(--surface-accent);
|
|
11
|
+
|
|
12
|
+
${tokens.background}: var(--surface-solid-card);
|
|
13
|
+
${tokens.borderColor}: var(--outline-solid-primary);
|
|
14
|
+
${tokens.borderColorHover}: var(--outline-solid-primary-hover);
|
|
15
|
+
${tokens.borderColorFocus}: var(--outline-accent);
|
|
16
|
+
${tokens.borderColorError}: var(--outline-negative);
|
|
17
|
+
${tokens.borderColorSuccess}: var(--outline-accent);
|
|
18
|
+
|
|
19
|
+
${tokens.dividerColor}: var(--text-primary);
|
|
20
|
+
${tokens.labelColor}: var(--text-primary);
|
|
21
|
+
${tokens.leftHelperColor}: var(--text-secondary);
|
|
22
|
+
${tokens.leftHelperColorError}: var(--text-negative);
|
|
23
|
+
${tokens.leftHelperColorSuccess}: var(--text-positive);
|
|
24
|
+
|
|
25
|
+
${tokens.textFieldColor}: var(--text-primary);
|
|
26
|
+
${tokens.textFieldPlaceholderColor}: var(--text-secondary);
|
|
27
|
+
${tokens.textFieldPlaceholderColorFocus}: var(--text-tertiary);
|
|
28
|
+
${tokens.textFieldCaretColor}: var(--text-accent);
|
|
29
|
+
|
|
30
|
+
${tokens.labelInnerFontFamily}: var(--plasma-typo-body-xs-font-family);
|
|
31
|
+
${tokens.labelInnerFontSize}: var(--plasma-typo-body-xs-font-size);
|
|
32
|
+
${tokens.labelInnerFontStyle}: var(--plasma-typo-body-xs-font-style);
|
|
33
|
+
${tokens.labelInnerFontWeight}: var(--plasma-typo-body-xs-font-weight);
|
|
34
|
+
${tokens.labelInnerLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
|
|
35
|
+
${tokens.labelInnerLineHeight}: var(--plasma-typo-body-xs-line-height);
|
|
36
|
+
|
|
37
|
+
${tokens.indicatorColor}: var(--surface-negative);
|
|
38
|
+
|
|
39
|
+
${tokens.textFieldBorderColor}: var(--outline-solid-primary);
|
|
40
|
+
${tokens.textFieldBorderColorHover}: var(--outline-solid-primary-hover);
|
|
41
|
+
${tokens.textFieldBorderColorFocus}: var(--outline-accent);
|
|
42
|
+
${tokens.textFieldBorderColorError}: var(--outline-negative);
|
|
43
|
+
${tokens.textFieldBorderColorErrorFocus}: var(--outline-negative);
|
|
44
|
+
${tokens.textFieldBorderColorSuccess}: var(--outline-accent);
|
|
45
|
+
${tokens.textFieldBorderColorSuccessFocus}: var(--outline-accent);
|
|
46
|
+
${tokens.textFieldBackgroundColor}: var(--surface-solid-card);
|
|
47
|
+
|
|
48
|
+
${tokens.textFieldContentSlotColor}: var(--text-secondary);
|
|
49
|
+
|
|
50
|
+
${tokens.embedIconButtonFocusColor}: var(--surface-accent);
|
|
51
|
+
${tokens.contentSlotRightColor}: var(--text-accent);
|
|
52
|
+
${tokens.contentSlotRightColorHover}: var(--text-accent-hover);
|
|
53
|
+
${tokens.contentSlotRightColorActive}: var(--text-accent-active);
|
|
54
|
+
|
|
55
|
+
${tokens.textFieldTextBeforeColor}: var(--text-secondary);
|
|
56
|
+
${tokens.textFieldTextAfterColor}: var(--text-secondary);
|
|
57
|
+
|
|
58
|
+
${tokens.focusColor}: var(--text-accent);
|
|
59
|
+
|
|
60
|
+
${tokens.popoverShadow}: var(--shadow-down-soft-s);
|
|
61
|
+
${tokens.popoverSeparatorBackground}: var(--surface-transparent-secondary);
|
|
62
|
+
${tokens.popoverBackgroundColor}: var(--surface-solid-card);
|
|
63
|
+
|
|
64
|
+
${tokens.calendarSelectedItemBackground}: var(--surface-accent);
|
|
65
|
+
${tokens.calendarSelectedItemColor}: var(--inverse-text-primary);
|
|
66
|
+
${tokens.calendarSelectableItemBackgroundHover}: var(--surface-transparent-accent);
|
|
67
|
+
${tokens.calendarCurrentItemBorderColor}: var(--inverse-outline-solid-secondary);
|
|
68
|
+
${tokens.calendarCurrentItemBackgroundHover}: transparent;
|
|
69
|
+
${tokens.calendarCurrentItemColorHover}: var(--text-primary);
|
|
70
|
+
${tokens.calendarCurrentItemChildBackgroundHover}: var(--surface-transparent-accent);
|
|
71
|
+
${tokens.calendarActiveItemBackground}: var(--surface-accent);
|
|
72
|
+
${tokens.calendarActiveItemColor}: var(--inverse-text-primary);
|
|
73
|
+
${tokens.calendarHoveredItemBackground}: var(--surface-accent);
|
|
74
|
+
${tokens.calendarHoveredItemColor}: var(--text-primary);
|
|
75
|
+
${tokens.calendarRangeBackground}: var(--surface-transparent-accent);
|
|
76
|
+
${tokens.calendarOutlineFocusColor}: var(--surface-accent);
|
|
77
|
+
${tokens.calendarContentPrimaryColor}: var(--text-primary);
|
|
78
|
+
${tokens.calendarContentSecondaryColor}: var(--text-secondary);
|
|
79
|
+
${tokens.calendarContentPrimaryDisabledColor}: var(--text-secondary);
|
|
80
|
+
${tokens.calendarContentSecondaryDisabledColor}: var(--text-secondary);
|
|
81
|
+
${tokens.calendarHeaderArrowColor}: var(--text-accent);
|
|
82
|
+
${tokens.calendarBorderColor}: var(--outline-solid-primary);
|
|
83
|
+
${tokens.calendarDayOfWeekColor}: var(--text-secondary);
|
|
84
|
+
${tokens.calendarDisabledOpacity}: 0.4;
|
|
85
|
+
|
|
86
|
+
${tokens.iconButtonColor}: var(--text-accent);
|
|
87
|
+
${tokens.iconButtonBackgroundColor}: var(--surface-clear);
|
|
88
|
+
${tokens.iconButtonColorHover}: var(--text-primary-hover);
|
|
89
|
+
${tokens.iconButtonBackgroundColorHover}: var(--surface-clear);
|
|
90
|
+
${tokens.iconButtonColorActive}: var(--text-primary-hover);
|
|
91
|
+
${tokens.iconButtonBackgroundColorActive}: var(--surface-clear);
|
|
92
|
+
${tokens.iconButtonFocusColor}: var(--surface-accent);
|
|
93
|
+
|
|
94
|
+
${tokens.textFieldContentRightSlotColor}: var(--text-accent);
|
|
95
|
+
${tokens.textFieldContentRightSlotColorHover}: var(--text-accent-minor);
|
|
96
|
+
|
|
97
|
+
${tokens.shortcutColor}: var(--text-primary);
|
|
98
|
+
${tokens.shortcutBackgroundHover}: var(--surface-transparent-secondary);
|
|
99
|
+
`
|
|
282
100
|
},
|
|
283
101
|
size: {
|
|
284
|
-
s: css
|
|
102
|
+
s: css`
|
|
103
|
+
${tokens.width}: 19.5rem;
|
|
104
|
+
${tokens.borderRadius}: 0.625rem;
|
|
105
|
+
${tokens.borderWidth}: 0.125rem;
|
|
106
|
+
|
|
107
|
+
${tokens.dividerPadding}: 0 0.375rem;
|
|
108
|
+
${tokens.dividerFontFamily}: var(--plasma-typo-body-m-font-family);
|
|
109
|
+
${tokens.dividerFontStyle}: var(--plasma-typo-body-m-font-style);
|
|
110
|
+
${tokens.dividerFontSize}: var(--plasma-typo-body-m-font-size);
|
|
111
|
+
${tokens.dividerFontWeight}: var(--plasma-typo-body-m-font-weight);
|
|
112
|
+
${tokens.dividerLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
|
|
113
|
+
${tokens.dividerLineHeight}: var(--plasma-typo-body-m-line-height);
|
|
114
|
+
|
|
115
|
+
${tokens.leftContentMargin}: 0 0 0 0.75rem;
|
|
116
|
+
${tokens.rightContentMargin}: 0;
|
|
117
|
+
|
|
118
|
+
${tokens.labelOffset}: 0.5rem;
|
|
119
|
+
${tokens.labelInnerPadding}: 0.3125rem 0 0 0;
|
|
120
|
+
${tokens.contentLabelInnerPadding}: 1.0625rem 0 0.3125rem 0;
|
|
121
|
+
|
|
122
|
+
${tokens.labelWrapperOffset}: 0.5rem;
|
|
123
|
+
${tokens.labelFontFamily}: var(--plasma-typo-body-s-font-family);
|
|
124
|
+
${tokens.labelFontStyle}: var(--plasma-typo-body-s-font-style);
|
|
125
|
+
${tokens.labelFontSize}: var(--plasma-typo-body-s-font-size);
|
|
126
|
+
${tokens.labelFontWeight}: var(--plasma-typo-body-s-font-weight);
|
|
127
|
+
${tokens.labelLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
|
|
128
|
+
${tokens.labelLineHeight}: var(--plasma-typo-body-s-line-height);
|
|
129
|
+
|
|
130
|
+
${tokens.embedIconButtonHeight}: 2.5rem;
|
|
131
|
+
${tokens.embedIconButtonWidth}: 2.5rem;
|
|
132
|
+
${tokens.embedIconButtonPadding}: 0.5rem;
|
|
133
|
+
${tokens.embedIconButtonRadius}: 0.625rem;
|
|
134
|
+
|
|
135
|
+
${tokens.indicatorWrapperGap}: 0.25rem;
|
|
136
|
+
${tokens.indicatorSizeInner}: 0.375rem;
|
|
137
|
+
${tokens.indicatorSizeOuter}: 0.375rem;
|
|
138
|
+
|
|
139
|
+
${tokens.indicatorPlacement}: 0 0 0 0;
|
|
140
|
+
${tokens.indicatorOuterPlacement}: 0.3125rem auto auto -0.6875rem;
|
|
141
|
+
${tokens.indicatorPlacementRight}: 0 0 auto auto;
|
|
142
|
+
${tokens.indicatorOuterPlacementRight}: 0.25rem -0.625rem auto auto;
|
|
143
|
+
|
|
144
|
+
${tokens.indicatorMarginTop}: 0.25rem;
|
|
145
|
+
${tokens.indicatorOuterLeft}: -0.75rem;
|
|
146
|
+
${tokens.indicatorWithoutLabelInner}: auto 0 -0.5rem auto;
|
|
147
|
+
${tokens.indicatorWithoutLabelInnerLeft}: auto auto -0.5rem 0;
|
|
148
|
+
|
|
149
|
+
${tokens.textFieldHeight}: 2.5rem;
|
|
150
|
+
${tokens.textFieldBorderRadius}: 0.625rem;
|
|
151
|
+
${tokens.textFieldBorderWidth}: 0.125rem;
|
|
152
|
+
${tokens.textFieldPadding}: 0.6875rem 0.75rem 0.6875rem 0.75rem;
|
|
153
|
+
${tokens.textFieldFontFamily}: var(--plasma-typo-body-m-font-family);
|
|
154
|
+
${tokens.textFieldFontStyle}: var(--plasma-typo-body-m-font-style);
|
|
155
|
+
${tokens.textFieldFontSize}: var(--plasma-typo-body-m-font-size);
|
|
156
|
+
${tokens.textFieldFontWeight}: var(--plasma-typo-body-m-font-weight);
|
|
157
|
+
${tokens.textFieldLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
|
|
158
|
+
${tokens.textFieldLineHeight}: var(--plasma-typo-body-m-line-height);
|
|
159
|
+
|
|
160
|
+
${tokens.leftHelperOffset}: 0.25rem 0 0 0;
|
|
161
|
+
${tokens.leftHelperFontFamily}: var(--plasma-typo-body-s-font-family);
|
|
162
|
+
${tokens.leftHelperFontStyle}: var(--plasma-typo-body-s-font-style);
|
|
163
|
+
${tokens.leftHelperFontSize}: var(--plasma-typo-body-s-font-size);
|
|
164
|
+
${tokens.leftHelperFontWeight}: var(--plasma-typo-body-s-font-weight);
|
|
165
|
+
${tokens.leftHelperLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
|
|
166
|
+
${tokens.leftHelperLineHeight}: var(--plasma-typo-body-s-line-height);
|
|
167
|
+
|
|
168
|
+
${tokens.textFieldLeftContentMargin}: -0.1875rem 0.25rem -0.1875rem -0.125rem;
|
|
169
|
+
${tokens.textFieldRightContentMargin}: -0.1875rem -0.125rem -0.1875rem 0.75rem;
|
|
170
|
+
${tokens.textFieldTextBeforeMargin}: 0 0.25rem 0 0;
|
|
171
|
+
${tokens.textFieldTextAfterMargin}: 0 0 0 0.25rem;
|
|
172
|
+
|
|
173
|
+
${tokens.popoverBorderRadius}: 0.625rem;
|
|
174
|
+
${tokens.popoverGap}: 0.75rem;
|
|
175
|
+
${tokens.popoverPadding}: 0.75rem 1rem 0.875rem 1rem;
|
|
176
|
+
${tokens.popoverVerticalPadding}: 1.625rem;
|
|
177
|
+
|
|
178
|
+
${tokens.calendarBorderWidth}: 0.125rem;
|
|
179
|
+
${tokens.calendarWidth}: 19.5rem;
|
|
180
|
+
${tokens.calendarHeight}: 18.625rem;
|
|
181
|
+
|
|
182
|
+
${tokens.calendarYearsPadding}: 0.5rem 0 0 0;
|
|
183
|
+
${tokens.calendarYearItemBorderRadius}: 0.5rem;
|
|
184
|
+
|
|
185
|
+
${tokens.calendarYearFontFamily}: var(--plasma-typo-body-s-font-family);
|
|
186
|
+
${tokens.calendarYearFontSize}: var(--plasma-typo-body-s-font-size);
|
|
187
|
+
${tokens.calendarYearFontStyle}: var(--plasma-typo-body-s-font-style);
|
|
188
|
+
${tokens.calendarYearFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
|
|
189
|
+
${tokens.calendarYearFontLineHeight}: var(--plasma-typo-body-s-line-height);
|
|
190
|
+
${tokens.calendarYearFontWeight}: var(--plasma-typo-body-s-font-weight);
|
|
191
|
+
${tokens.calendarYearSelectedFontWeight}: var(--plasma-typo-body-s-bold-font-weight);
|
|
192
|
+
|
|
193
|
+
${tokens.calendarQuartersPadding}: 0.5rem 0 0 0;
|
|
194
|
+
${tokens.calendarQuarterItemBorderRadius}: 0.5rem;
|
|
195
|
+
|
|
196
|
+
${tokens.calendarQuarterFontFamily}: var(--plasma-typo-body-s-font-family);
|
|
197
|
+
${tokens.calendarQuarterFontSize}: var(--plasma-typo-body-s-font-size);
|
|
198
|
+
${tokens.calendarQuarterFontStyle}: var(--plasma-typo-body-s-font-style);
|
|
199
|
+
${tokens.calendarQuarterFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
|
|
200
|
+
${tokens.calendarQuarterFontLineHeight}: var(--plasma-typo-body-s-line-height);
|
|
201
|
+
${tokens.calendarQuarterFontWeight}: var(--plasma-typo-body-s-font-weight);
|
|
202
|
+
${tokens.calendarQuarterSelectedFontWeight}: var(--plasma-typo-body-s-bold-font-weight);
|
|
203
|
+
|
|
204
|
+
${tokens.calendarMonthsPadding}: 0.5rem 0 0 0;
|
|
205
|
+
${tokens.calendarMonthItemBorderRadius}: 0.5rem;
|
|
206
|
+
|
|
207
|
+
${tokens.calendarMonthFontFamily}: var(--plasma-typo-body-s-font-family);
|
|
208
|
+
${tokens.calendarMonthFontSize}: var(--plasma-typo-body-s-font-size);
|
|
209
|
+
${tokens.calendarMonthFontStyle}: var(--plasma-typo-body-s-font-style);
|
|
210
|
+
${tokens.calendarMonthFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
|
|
211
|
+
${tokens.calendarMonthFontLineHeight}: var(--plasma-typo-body-s-line-height);
|
|
212
|
+
${tokens.calendarMonthFontWeight}: var(--plasma-typo-body-s-font-weight);
|
|
213
|
+
${tokens.calendarMonthSelectedFontWeight}: var(--plasma-typo-body-s-bold-font-weight);
|
|
214
|
+
|
|
215
|
+
${tokens.calendarDaysPadding}: 0.5rem 0 0 0;
|
|
216
|
+
${tokens.calendarDayItemBorderRadius}: 0.5rem;
|
|
217
|
+
|
|
218
|
+
${tokens.calendarDayFontFamily}: var(--plasma-typo-body-s-font-family);
|
|
219
|
+
${tokens.calendarDayFontSize}: var(--plasma-typo-body-s-font-size);
|
|
220
|
+
${tokens.calendarDayFontStyle}: var(--plasma-typo-body-s-font-style);
|
|
221
|
+
${tokens.calendarDayFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
|
|
222
|
+
${tokens.calendarDayFontLineHeight}: var(--plasma-typo-body-s-line-height);
|
|
223
|
+
${tokens.calendarDayFontWeight}: var(--plasma-typo-body-s-font-weight);
|
|
224
|
+
${tokens.calendarDaySelectedFontWeight}: var(--plasma-typo-body-s-bold-font-weight);
|
|
225
|
+
|
|
226
|
+
${tokens.calendarCurrentItemBorderWidth}: 0.125rem;
|
|
227
|
+
|
|
228
|
+
${tokens.calendarHeaderWrapperPadding}: 0;
|
|
229
|
+
${tokens.calendarHeaderArrowGap}: 0.5rem;
|
|
230
|
+
${tokens.calendarHeaderArrowCustomSize}: 1.5rem;
|
|
231
|
+
|
|
232
|
+
${tokens.calendarHeaderPadding}: 0 0 0 0.5rem;
|
|
233
|
+
${tokens.calendarHeaderDateGap}: 0.25rem;
|
|
234
|
+
|
|
235
|
+
${tokens.calendarHeaderFontFamily}: var(--plasma-typo-body-m-bold-font-family);
|
|
236
|
+
${tokens.calendarHeaderFontSize}: var(--plasma-typo-body-m-bold-font-size);
|
|
237
|
+
${tokens.calendarHeaderFontStyle}: var(--plasma-typo-body-m-bold-font-style);
|
|
238
|
+
${tokens.calendarHeaderFontLetterSpacing}: var(--plasma-typo-body-m-bold-letter-spacing);
|
|
239
|
+
${tokens.calendarHeaderFontLineHeight}: var(--plasma-typo-body-m-bold-line-height);
|
|
240
|
+
${tokens.calendarHeaderFontWeight}: var(--plasma-typo-body-m-bold-font-weight);
|
|
241
|
+
${tokens.calendarHeaderFontWeightBold}: var(--plasma-typo-body-m-bold-font-weight);
|
|
242
|
+
|
|
243
|
+
${tokens.iconButtonHeight}: 2rem;
|
|
244
|
+
${tokens.iconButtonWidth}: 2rem;
|
|
245
|
+
${tokens.iconButtonPadding}: 0.75rem;
|
|
246
|
+
${tokens.iconButtonRadius}: 0.5rem;
|
|
247
|
+
|
|
248
|
+
${tokens.shortcutFontFamily}: var(--plasma-typo-body-s-font-family);
|
|
249
|
+
${tokens.shortcutFontStyle}: var(--plasma-typo-body-s-font-style);
|
|
250
|
+
${tokens.shortcutFontSize}: var(--plasma-typo-body-s-font-size);
|
|
251
|
+
${tokens.shortcutFontWeight}: var(--plasma-typo-body-s-font-weight);
|
|
252
|
+
${tokens.shortcutLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
|
|
253
|
+
${tokens.shortcutLineHeight}: var(--plasma-typo-body-s-line-height);
|
|
254
|
+
|
|
255
|
+
${tokens.shortcutPadding}: 0.688rem 0.5rem;
|
|
256
|
+
${tokens.shortcutGap}: 0.375rem;
|
|
257
|
+
${tokens.shortcutBorderRadius}: 0.5rem;
|
|
258
|
+
`
|
|
285
259
|
},
|
|
286
260
|
disabled: {
|
|
287
|
-
true: css
|
|
261
|
+
true: css`
|
|
262
|
+
${tokens.background}: var(--surface-solid-primary);
|
|
263
|
+
${tokens.borderColor}: var(--surface-solid-primary);
|
|
264
|
+
${tokens.borderColorHover}: var(--surface-solid-primary);
|
|
265
|
+
${tokens.borderColorFocus}: var(--surface-solid-primary);
|
|
266
|
+
${tokens.borderColorSuccess}: var(--surface-solid-primary);
|
|
267
|
+
${tokens.textFieldBorderColorFocus}: var(--surface-solid-primary);
|
|
268
|
+
${tokens.textFieldColor}: var(--text-secondary);
|
|
269
|
+
${tokens.textFieldPlaceholderColor}: var(--text-secondary);
|
|
270
|
+
${tokens.textFieldColor}: var(--text-secondary);
|
|
271
|
+
${tokens.textFieldPlaceholderColor}: var(--text-secondary);
|
|
272
|
+
${tokens.textFieldCaretColor}: var(--text-secondary);
|
|
273
|
+
${tokens.textFieldBackgroundColor}: var(--surface-solid-primary);
|
|
274
|
+
${tokens.labelColor}: var(--text-secondary);
|
|
275
|
+
`
|
|
288
276
|
},
|
|
289
277
|
readOnly: {
|
|
290
|
-
true: css
|
|
278
|
+
true: css`
|
|
279
|
+
${tokens.backgroundReadOnly}: var(--surface-clear);
|
|
280
|
+
${tokens.borderColorReadOnly}: var(--outline-solid-primary);
|
|
281
|
+
|
|
282
|
+
${tokens.labelColor}: var(--text-primary);
|
|
283
|
+
${tokens.labelColorReadOnly}: var(--text-primary);
|
|
284
|
+
${tokens.leftHelperColorReadOnly}: var(--text-secondary);
|
|
285
|
+
|
|
286
|
+
${tokens.dividerColorReadOnly}: var(--text-secondary);
|
|
287
|
+
${tokens.dividerOpacityReadOnly}: 0.4;
|
|
288
|
+
|
|
289
|
+
${tokens.textFieldColorReadOnly}: var(--text-primary);
|
|
290
|
+
${tokens.textFieldBackgroundColorReadOnly}: var(--surface-clear);
|
|
291
|
+
${tokens.textFieldPlaceholderColorReadOnly}: var(--text-secondary);
|
|
292
|
+
${tokens.borderColor}: transparent;
|
|
293
|
+
${tokens.borderWidth}: 0;
|
|
294
|
+
`
|
|
291
295
|
}
|
|
292
296
|
}
|
|
293
297
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { datePickerConfig, datePickerRangeConfig, component, mergeConfig } from '@salutejs/plasma-new-hope/emotion';
|
|
2
2
|
import { config } from './DatePicker.config';
|
|
3
|
-
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
export
|
|
3
|
+
const mergedConfig = mergeConfig(datePickerConfig, config);
|
|
4
|
+
export const DatePicker = component(mergedConfig);
|
|
5
|
+
const mergedRangeConfig = mergeConfig(datePickerRangeConfig, config);
|
|
6
|
+
export const DatePickerRange = component(mergedRangeConfig);
|