@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,164 +1,5 @@
|
|
|
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-solid-card);\n ",
|
|
15
|
-
": var(--surface-solid-card);\n ",
|
|
16
|
-
": var(--surface-solid-card);\n\n ",
|
|
17
|
-
": var(--text-primary);\n\n ",
|
|
18
|
-
": var(--text-primary);\n ",
|
|
19
|
-
": var(--text-secondary);\n ",
|
|
20
|
-
": var(--text-tertiary);\n ",
|
|
21
|
-
": var(--text-accent);\n\n ",
|
|
22
|
-
": var(--surface-negative);\n\n ",
|
|
23
|
-
": var(--shadow-down-soft-s);\n\n ",
|
|
24
|
-
": var(--surface-solid-card);\n ",
|
|
25
|
-
": var(--surface-solid-card);\n ",
|
|
26
|
-
": var(--surface-solid-card);\n ",
|
|
27
|
-
": var--surface-solid-card);\n ",
|
|
28
|
-
": var--surface-solid-card);\n ",
|
|
29
|
-
": var(--surface-solid-card);\n ",
|
|
30
|
-
": var(--surface-solid-card);\n\n ",
|
|
31
|
-
": var(--outline-solid-primary);\n ",
|
|
32
|
-
": var(--outline-accent);\n ",
|
|
33
|
-
": var(--outline-solid-primary-hover);\n\n ",
|
|
34
|
-
": var(--text-negative);\n ",
|
|
35
|
-
": var(--text-negative);\n ",
|
|
36
|
-
": var(--text-negative);\n\n ",
|
|
37
|
-
": var(--text-negative);\n ",
|
|
38
|
-
": var(--text-negative);\n ",
|
|
39
|
-
": var(--text-negative);\n\n ",
|
|
40
|
-
": var(--text-secondary);\n ",
|
|
41
|
-
": var(--text-secondary-hover);\n ",
|
|
42
|
-
": var(--text-secondary-active);\n\n ",
|
|
43
|
-
": var(--text-accent);\n ",
|
|
44
|
-
": var(--text-accent-minor);\n ",
|
|
45
|
-
": var(--text-accent-active);\n\n ",
|
|
46
|
-
": var(--text-tertiary);\n ",
|
|
47
|
-
": var(--text-tertiary);\n\n ",
|
|
48
|
-
": var(--text-tertiary);\n\n ",
|
|
49
|
-
": var(--surface-solid-card);\n ",
|
|
50
|
-
": var(--surface-solid-secondary);\n ",
|
|
51
|
-
": var(--surface-solid-secondary);\n ",
|
|
52
|
-
": var(--surface-accent);\n\n ",
|
|
53
|
-
": var(--surface-solid-tertiary);\n ",
|
|
54
|
-
": var(--surface-transparent-primary);\n\n ",
|
|
55
|
-
": var(--text-secondary);\n ",
|
|
56
|
-
": var(--text-negative);\n ",
|
|
57
|
-
": var(--text-positive);\n "
|
|
58
|
-
]);
|
|
59
|
-
_templateObject = function _templateObject() {
|
|
60
|
-
return data;
|
|
61
|
-
};
|
|
62
|
-
return data;
|
|
63
|
-
}
|
|
64
|
-
function _templateObject1() {
|
|
65
|
-
var data = _tagged_template_literal([
|
|
66
|
-
"\n ",
|
|
67
|
-
": 17.625rem;\n ",
|
|
68
|
-
": 0.125rem;\n\n ",
|
|
69
|
-
": 0.5rem;\n\n ",
|
|
70
|
-
": var(--plasma-typo-body-s-font-family);\n ",
|
|
71
|
-
": var(--plasma-typo-body-s-font-style);\n ",
|
|
72
|
-
": var(--plasma-typo-body-s-font-size);\n ",
|
|
73
|
-
": var(--plasma-typo-body-s-font-weight);\n ",
|
|
74
|
-
": var(--plasma-typo-body-s-letter-spacing);\n ",
|
|
75
|
-
": var(--plasma-typo-body-s-line-height);\n ",
|
|
76
|
-
": 0.0625rem;\n\n ",
|
|
77
|
-
": 0.375rem;\n ",
|
|
78
|
-
": 0.375rem;\n ",
|
|
79
|
-
": 0 0 0 0;\n ",
|
|
80
|
-
": 0.25rem auto auto -0.6875rem;\n ",
|
|
81
|
-
": 0 0 auto auto;\n ",
|
|
82
|
-
": 0.25rem -0.625rem auto auto;\n\n ",
|
|
83
|
-
": 2.5rem;\n ",
|
|
84
|
-
": 0.125rem;\n ",
|
|
85
|
-
": 0.75rem;\n ",
|
|
86
|
-
": 0.55rem 0.75rem;\n ",
|
|
87
|
-
": var(--plasma-typo-body-m-font-family);\n ",
|
|
88
|
-
": var(--plasma-typo-body-m-font-style);\n ",
|
|
89
|
-
": var(--plasma-typo-body-m-font-size);\n ",
|
|
90
|
-
": var(--plasma-typo-body-m-font-weight);\n ",
|
|
91
|
-
": var(--plasma-typo-body-m-letter-spacing);\n ",
|
|
92
|
-
": var(--plasma-typo-body-m-line-height);\n\n ",
|
|
93
|
-
": 0 0.5rem 0 0rem;\n ",
|
|
94
|
-
": 0 0rem 0 0.75rem;\n ",
|
|
95
|
-
": 0 0.25rem 0 0;\n ",
|
|
96
|
-
": 0 0 0 0.25rem;\n\n ",
|
|
97
|
-
": 0.625rem;\n ",
|
|
98
|
-
": 7.75rem;\n ",
|
|
99
|
-
": 0.125rem;\n\n ",
|
|
100
|
-
": 19rem;\n\n ",
|
|
101
|
-
": var(--plasma-typo-body-m-font-family);\n ",
|
|
102
|
-
": var(--plasma-typo-body-m-font-size);\n ",
|
|
103
|
-
": var(--plasma-typo-body-m-font-style);\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
|
-
": 2.5rem;\n ",
|
|
108
|
-
": 0.5rem;\n ",
|
|
109
|
-
": 0rem;\n\n ",
|
|
110
|
-
": 0.25rem 0 0 0;\n ",
|
|
111
|
-
": var(--plasma-typo-body-xs-font-family);\n ",
|
|
112
|
-
": var(--plasma-typo-body-xs-font-style);\n ",
|
|
113
|
-
": var(--plasma-typo-body-xs-font-size);\n ",
|
|
114
|
-
": var(--plasma-typo-body-xs-font-weight);\n ",
|
|
115
|
-
": var(--plasma-typo-body-xs-letter-spacing);\n ",
|
|
116
|
-
": var(--plasma-typo-body-xs-line-height);\n\n ",
|
|
117
|
-
": 0.125rem;\n ",
|
|
118
|
-
": 0.25rem;\n "
|
|
119
|
-
]);
|
|
120
|
-
_templateObject1 = function _templateObject() {
|
|
121
|
-
return data;
|
|
122
|
-
};
|
|
123
|
-
return data;
|
|
124
|
-
}
|
|
125
|
-
function _templateObject2() {
|
|
126
|
-
var data = _tagged_template_literal([
|
|
127
|
-
"\n ",
|
|
128
|
-
": 1;\n\n ",
|
|
129
|
-
": var(--text-secondary);\n\n ",
|
|
130
|
-
": var(--surface-solid-primary);\n ",
|
|
131
|
-
": var(--surface-solid-primary);\n\n ",
|
|
132
|
-
": var(--surface-solid-primary);\n ",
|
|
133
|
-
": var(--surface-solid-primary);\n ",
|
|
134
|
-
": var(--surface-solid-primary);\n "
|
|
135
|
-
]);
|
|
136
|
-
_templateObject2 = function _templateObject() {
|
|
137
|
-
return data;
|
|
138
|
-
};
|
|
139
|
-
return data;
|
|
140
|
-
}
|
|
141
|
-
function _templateObject3() {
|
|
142
|
-
var data = _tagged_template_literal([
|
|
143
|
-
"\n ",
|
|
144
|
-
": var(--text-secondary);\n ",
|
|
145
|
-
": var(--text-secondary);\n\n ",
|
|
146
|
-
": var(--text-primary);\n ",
|
|
147
|
-
": var(--text-secondary);\n\n ",
|
|
148
|
-
": var(--text-secondary);\n ",
|
|
149
|
-
": var(--text-secondary);\n\n ",
|
|
150
|
-
": 0;\n ",
|
|
151
|
-
": transparent;\n\n ",
|
|
152
|
-
": var(--surface-clear);\n ",
|
|
153
|
-
": 0.4;\n "
|
|
154
|
-
]);
|
|
155
|
-
_templateObject3 = function _templateObject() {
|
|
156
|
-
return data;
|
|
157
|
-
};
|
|
158
|
-
return data;
|
|
159
|
-
}
|
|
160
1
|
import { timePickerTokens as tokens, css } from '@salutejs/plasma-new-hope/emotion';
|
|
161
|
-
export
|
|
2
|
+
export const config = {
|
|
162
3
|
defaults: {
|
|
163
4
|
view: 'default',
|
|
164
5
|
size: 's',
|
|
@@ -167,16 +8,166 @@ export var config = {
|
|
|
167
8
|
},
|
|
168
9
|
variations: {
|
|
169
10
|
view: {
|
|
170
|
-
default: css
|
|
11
|
+
default: css`
|
|
12
|
+
${tokens.background}: var(--surface-solid-card);
|
|
13
|
+
${tokens.backgroundError}: var(--surface-solid-card);
|
|
14
|
+
${tokens.backgroundSuccess}: var(--surface-solid-card);
|
|
15
|
+
|
|
16
|
+
${tokens.labelColor}: var(--text-primary);
|
|
17
|
+
|
|
18
|
+
${tokens.textFieldColor}: var(--text-primary);
|
|
19
|
+
${tokens.textFieldPlaceholderColor}: var(--text-secondary);
|
|
20
|
+
${tokens.textFieldPlaceholderColorFocus}: var(--text-tertiary);
|
|
21
|
+
${tokens.textFieldCaretColor}: var(--text-accent);
|
|
22
|
+
|
|
23
|
+
${tokens.indicatorColor}: var(--surface-negative);
|
|
24
|
+
|
|
25
|
+
${tokens.timePickerShadow}: var(--shadow-down-soft-s);
|
|
26
|
+
|
|
27
|
+
${tokens.textFieldBackgroundColor}: var(--surface-solid-card);
|
|
28
|
+
${tokens.textFieldBackgroundColorHover}: var(--surface-solid-card);
|
|
29
|
+
${tokens.textFieldBackgroundColorFocus}: var(--surface-solid-card);
|
|
30
|
+
${tokens.textFieldBackgroundErrorColor}: var--surface-solid-card);
|
|
31
|
+
${tokens.textFieldBackgroundErrorColorFocus}: var--surface-solid-card);
|
|
32
|
+
${tokens.textFieldBackgroundSuccessColor}: var(--surface-solid-card);
|
|
33
|
+
${tokens.textFieldBackgroundSuccessColorFocus}: var(--surface-solid-card);
|
|
34
|
+
|
|
35
|
+
${tokens.borderColor}: var(--outline-solid-primary);
|
|
36
|
+
${tokens.borderColorFocus}: var(--outline-accent);
|
|
37
|
+
${tokens.borderColorHover}: var(--outline-solid-primary-hover);
|
|
38
|
+
|
|
39
|
+
${tokens.textFieldBorderColorError}: var(--text-negative);
|
|
40
|
+
${tokens.textFieldBorderColorErrorFocus}: var(--text-negative);
|
|
41
|
+
${tokens.textFieldBorderColorErrorHover}: var(--text-negative);
|
|
42
|
+
|
|
43
|
+
${tokens.textFieldBorderColorSuccess}: var(--text-negative);
|
|
44
|
+
${tokens.textFieldBorderColorSuccessFocus}: var(--text-negative);
|
|
45
|
+
${tokens.textFieldBorderColorSuccessHover}: var(--text-negative);
|
|
46
|
+
|
|
47
|
+
${tokens.textFieldContentSlotColor}: var(--text-secondary);
|
|
48
|
+
${tokens.textFieldContentSlotColorHover}: var(--text-secondary-hover);
|
|
49
|
+
${tokens.textFieldContentSlotColorActive}: var(--text-secondary-active);
|
|
50
|
+
|
|
51
|
+
${tokens.textFieldContentRightSlotColor}: var(--text-accent);
|
|
52
|
+
${tokens.textFieldContentRightSlotColorHover}: var(--text-accent-minor);
|
|
53
|
+
${tokens.textFieldContentSlotRightOpacityReadOnly}: var(--text-accent-active);
|
|
54
|
+
|
|
55
|
+
${tokens.textFieldTextBeforeColor}: var(--text-tertiary);
|
|
56
|
+
${tokens.textFieldTextAfterColor}: var(--text-tertiary);
|
|
57
|
+
|
|
58
|
+
${tokens.textFieldPlaceholderColorFocus}: var(--text-tertiary);
|
|
59
|
+
|
|
60
|
+
${tokens.timePickerBackground}: var(--surface-solid-card);
|
|
61
|
+
${tokens.itemBackgroundHover}: var(--surface-solid-secondary);
|
|
62
|
+
${tokens.itemBackgroundActive}: var(--surface-solid-secondary);
|
|
63
|
+
${tokens.itemFocusColor}: var(--surface-accent);
|
|
64
|
+
|
|
65
|
+
${tokens.scrollbarColor}: var(--surface-solid-tertiary);
|
|
66
|
+
${tokens.scrollbarTrackColor}: var(--surface-transparent-primary);
|
|
67
|
+
|
|
68
|
+
${tokens.leftHelperColor}: var(--text-secondary);
|
|
69
|
+
${tokens.leftHelperColorError}: var(--text-negative);
|
|
70
|
+
${tokens.leftHelperColorSuccess}: var(--text-positive);
|
|
71
|
+
`
|
|
171
72
|
},
|
|
172
73
|
size: {
|
|
173
|
-
s: css
|
|
74
|
+
s: css`
|
|
75
|
+
${tokens.width}: 17.625rem;
|
|
76
|
+
${tokens.dropdownMarginTop}: 0.125rem;
|
|
77
|
+
|
|
78
|
+
${tokens.labelOffset}: 0.5rem;
|
|
79
|
+
|
|
80
|
+
${tokens.labelFontFamily}: var(--plasma-typo-body-s-font-family);
|
|
81
|
+
${tokens.labelFontStyle}: var(--plasma-typo-body-s-font-style);
|
|
82
|
+
${tokens.labelFontSize}: var(--plasma-typo-body-s-font-size);
|
|
83
|
+
${tokens.labelFontWeight}: var(--plasma-typo-body-s-font-weight);
|
|
84
|
+
${tokens.labelLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
|
|
85
|
+
${tokens.labelLineHeight}: var(--plasma-typo-body-s-line-height);
|
|
86
|
+
${tokens.textFieldBorderWidth}: 0.0625rem;
|
|
87
|
+
|
|
88
|
+
${tokens.indicatorSize}: 0.375rem;
|
|
89
|
+
${tokens.indicatorSizeOuter}: 0.375rem;
|
|
90
|
+
${tokens.indicatorPlacement}: 0 0 0 0;
|
|
91
|
+
${tokens.indicatorOuterPlacement}: 0.25rem auto auto -0.6875rem;
|
|
92
|
+
${tokens.indicatorPlacementRight}: 0 0 auto auto;
|
|
93
|
+
${tokens.indicatorOuterPlacementRight}: 0.25rem -0.625rem auto auto;
|
|
94
|
+
|
|
95
|
+
${tokens.textFieldHeight}: 2.5rem;
|
|
96
|
+
${tokens.textFieldBorderWidth}: 0.125rem;
|
|
97
|
+
${tokens.textFieldBorderRadius}: 0.75rem;
|
|
98
|
+
${tokens.textFieldPadding}: 0.55rem 0.75rem;
|
|
99
|
+
${tokens.textFieldFontFamily}: var(--plasma-typo-body-m-font-family);
|
|
100
|
+
${tokens.textFieldFontStyle}: var(--plasma-typo-body-m-font-style);
|
|
101
|
+
${tokens.textFieldFontSize}: var(--plasma-typo-body-m-font-size);
|
|
102
|
+
${tokens.textFieldFontWeight}: var(--plasma-typo-body-m-font-weight);
|
|
103
|
+
${tokens.textFieldLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
|
|
104
|
+
${tokens.textFieldLineHeight}: var(--plasma-typo-body-m-line-height);
|
|
105
|
+
|
|
106
|
+
${tokens.textFieldLeftContentMargin}: 0 0.5rem 0 0rem;
|
|
107
|
+
${tokens.textFieldRightContentMargin}: 0 0rem 0 0.75rem;
|
|
108
|
+
${tokens.textFieldTextBeforeMargin}: 0 0.25rem 0 0;
|
|
109
|
+
${tokens.textFieldTextAfterMargin}: 0 0 0 0.25rem;
|
|
110
|
+
|
|
111
|
+
${tokens.timePickerBorderRadius}: 0.625rem;
|
|
112
|
+
${tokens.timePickerWidth}: 7.75rem;
|
|
113
|
+
${tokens.timePickerPadding}: 0.125rem;
|
|
114
|
+
|
|
115
|
+
${tokens.columnHeight}: 19rem;
|
|
116
|
+
|
|
117
|
+
${tokens.itemFontFamily}: var(--plasma-typo-body-m-font-family);
|
|
118
|
+
${tokens.itemFontSize}: var(--plasma-typo-body-m-font-size);
|
|
119
|
+
${tokens.itemFontStyle}: var(--plasma-typo-body-m-font-style);
|
|
120
|
+
${tokens.itemFontWeight}: var(--plasma-typo-body-m-font-weight);
|
|
121
|
+
${tokens.itemLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
|
|
122
|
+
${tokens.itemLineHeight}: var(--plasma-typo-body-m-line-height);
|
|
123
|
+
|
|
124
|
+
${tokens.itemHeight}: 2.5rem;
|
|
125
|
+
${tokens.itemBorderRadius}: 0.5rem;
|
|
126
|
+
${tokens.itemPadding}: 0rem;
|
|
127
|
+
|
|
128
|
+
${tokens.leftHelperOffset}: 0.25rem 0 0 0;
|
|
129
|
+
${tokens.leftHelperFontFamily}: var(--plasma-typo-body-xs-font-family);
|
|
130
|
+
${tokens.leftHelperFontStyle}: var(--plasma-typo-body-xs-font-style);
|
|
131
|
+
${tokens.leftHelperFontSize}: var(--plasma-typo-body-xs-font-size);
|
|
132
|
+
${tokens.leftHelperFontWeight}: var(--plasma-typo-body-xs-font-weight);
|
|
133
|
+
${tokens.leftHelperLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
|
|
134
|
+
${tokens.leftHelperLineHeight}: var(--plasma-typo-body-xs-line-height);
|
|
135
|
+
|
|
136
|
+
${tokens.scrollbarWidth}: 0.125rem;
|
|
137
|
+
${tokens.scrollbarMargin}: 0.25rem;
|
|
138
|
+
`
|
|
174
139
|
},
|
|
175
140
|
disabled: {
|
|
176
|
-
true: css
|
|
141
|
+
true: css`
|
|
142
|
+
${tokens.disabledOpacity}: 1;
|
|
143
|
+
|
|
144
|
+
${tokens.textFieldColor}: var(--text-secondary);
|
|
145
|
+
|
|
146
|
+
${tokens.textFieldBackgroundColor}: var(--surface-solid-primary);
|
|
147
|
+
${tokens.textFieldBackgroundColorFocus}: var(--surface-solid-primary);
|
|
148
|
+
|
|
149
|
+
${tokens.textFieldBorderColor}: var(--surface-solid-primary);
|
|
150
|
+
${tokens.textFieldBorderColorHover}: var(--surface-solid-primary);
|
|
151
|
+
${tokens.textFieldBorderColorFocus}: var(--surface-solid-primary);
|
|
152
|
+
`
|
|
177
153
|
},
|
|
178
154
|
readonly: {
|
|
179
|
-
true: css
|
|
155
|
+
true: css`
|
|
156
|
+
${tokens.labelColorReadOnly}: var(--text-secondary);
|
|
157
|
+
${tokens.leftHelperColorReadOnly}: var(--text-secondary);
|
|
158
|
+
|
|
159
|
+
${tokens.textFieldColorReadOnly}: var(--text-primary);
|
|
160
|
+
${tokens.textFieldPlaceholderColorReadOnly}: var(--text-secondary);
|
|
161
|
+
|
|
162
|
+
${tokens.textFieldContentSlotColorHover}: var(--text-secondary);
|
|
163
|
+
${tokens.textFieldContentSlotColorActive}: var(--text-secondary);
|
|
164
|
+
|
|
165
|
+
${tokens.textFieldBorderWidth}: 0;
|
|
166
|
+
${tokens.textFieldBorderColor}: transparent;
|
|
167
|
+
|
|
168
|
+
${tokens.textFieldBackgroundColorReadOnly}: var(--surface-clear);
|
|
169
|
+
${tokens.textFieldContentSlotRightOpacityReadOnly}: 0.4;
|
|
170
|
+
`
|
|
180
171
|
}
|
|
181
172
|
}
|
|
182
173
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { timePickerConfig, component, mergeConfig } from '@salutejs/plasma-new-hope/emotion';
|
|
2
2
|
import { config } from './TimePicker.config';
|
|
3
|
-
|
|
4
|
-
export
|
|
3
|
+
const mergedConfig = mergeConfig(timePickerConfig, config);
|
|
4
|
+
export const TimePicker = component(mergedConfig);
|
|
@@ -1,97 +1,5 @@
|
|
|
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 ",
|
|
15
|
-
": var(--surface-solid-card-brightness);\n\n ",
|
|
16
|
-
": var(--text-accent);\n ",
|
|
17
|
-
": var(--text-accent-minor);\n "
|
|
18
|
-
]);
|
|
19
|
-
_templateObject = function _templateObject() {
|
|
20
|
-
return data;
|
|
21
|
-
};
|
|
22
|
-
return data;
|
|
23
|
-
}
|
|
24
|
-
function _templateObject1() {
|
|
25
|
-
var data = _tagged_template_literal([
|
|
26
|
-
"\n ",
|
|
27
|
-
": var(--on-dark-text-primary);\n ",
|
|
28
|
-
": var(--on-dark-surface-solid-primary-brightness);\n\n ",
|
|
29
|
-
": var(--on-dark-text-accent);\n ",
|
|
30
|
-
": var(--on-dark-text-accent-minor);\n "
|
|
31
|
-
]);
|
|
32
|
-
_templateObject1 = function _templateObject() {
|
|
33
|
-
return data;
|
|
34
|
-
};
|
|
35
|
-
return data;
|
|
36
|
-
}
|
|
37
|
-
function _templateObject2() {
|
|
38
|
-
var data = _tagged_template_literal([
|
|
39
|
-
"\n ",
|
|
40
|
-
": var(--on-light-text-primary);\n ",
|
|
41
|
-
": var(--on-light-surface-solid-primary-brightness);\n\n ",
|
|
42
|
-
": var(--on-light-text-accent);\n ",
|
|
43
|
-
": var(--on-light-text-accent-minor);\n "
|
|
44
|
-
]);
|
|
45
|
-
_templateObject2 = function _templateObject() {
|
|
46
|
-
return data;
|
|
47
|
-
};
|
|
48
|
-
return data;
|
|
49
|
-
}
|
|
50
|
-
function _templateObject3() {
|
|
51
|
-
var data = _tagged_template_literal([
|
|
52
|
-
"\n ",
|
|
53
|
-
": 0.75rem;\n ",
|
|
54
|
-
": calc(100vw - 5rem);\n ",
|
|
55
|
-
": 0.5rem 0.75rem;\n\n ",
|
|
56
|
-
": var(--plasma-typo-body-m-font-family);\n ",
|
|
57
|
-
": var(--plasma-typo-body-m-font-size);\n ",
|
|
58
|
-
": var(--plasma-typo-body-m-font-style);\n ",
|
|
59
|
-
": var(--plasma-typo-body-m-font-weight);\n ",
|
|
60
|
-
": var(--plasma-typo-body-m-letter-spacing);\n ",
|
|
61
|
-
": var(--plasma-typo-body-m-line-height);\n\n ",
|
|
62
|
-
": -0.0625rem 0.5rem -0.0625rem 0rem;\n ",
|
|
63
|
-
": -0.0625rem 0.125rem -0.0625rem 0.75rem;\n "
|
|
64
|
-
]);
|
|
65
|
-
_templateObject3 = function _templateObject() {
|
|
66
|
-
return data;
|
|
67
|
-
};
|
|
68
|
-
return data;
|
|
69
|
-
}
|
|
70
|
-
function _templateObject4() {
|
|
71
|
-
var data = _tagged_template_literal([
|
|
72
|
-
"\n ",
|
|
73
|
-
": 1.5rem;\n ",
|
|
74
|
-
": 1.5rem;\n "
|
|
75
|
-
]);
|
|
76
|
-
_templateObject4 = function _templateObject() {
|
|
77
|
-
return data;
|
|
78
|
-
};
|
|
79
|
-
return data;
|
|
80
|
-
}
|
|
81
|
-
function _templateObject5() {
|
|
82
|
-
var data = _tagged_template_literal([
|
|
83
|
-
"\n ",
|
|
84
|
-
": 1.5rem;\n\n ",
|
|
85
|
-
": -0.0625rem 0.375rem -0.0625rem 0rem;\n ",
|
|
86
|
-
": -0.0625rem 0.25rem -0.0625rem 0.375rem;\n "
|
|
87
|
-
]);
|
|
88
|
-
_templateObject5 = function _templateObject() {
|
|
89
|
-
return data;
|
|
90
|
-
};
|
|
91
|
-
return data;
|
|
92
|
-
}
|
|
93
1
|
import { css, toastTokens } from '@salutejs/plasma-new-hope/emotion';
|
|
94
|
-
export
|
|
2
|
+
export const config = {
|
|
95
3
|
defaults: {
|
|
96
4
|
view: 'default',
|
|
97
5
|
size: 's',
|
|
@@ -99,24 +7,64 @@ export var config = {
|
|
|
99
7
|
},
|
|
100
8
|
variations: {
|
|
101
9
|
view: {
|
|
102
|
-
default: css
|
|
10
|
+
default: css`
|
|
11
|
+
${toastTokens.color}: var(--text-primary);
|
|
12
|
+
${toastTokens.background}: var(--surface-solid-card-brightness);
|
|
13
|
+
|
|
14
|
+
${toastTokens.closeIconColor}: var(--text-accent);
|
|
15
|
+
${toastTokens.closeIconColorOnHover}: var(--text-accent-minor);
|
|
16
|
+
`,
|
|
103
17
|
/**
|
|
104
18
|
* @deprecated
|
|
105
19
|
* светлый и темный фон регулировать через `view` компонента `ViewContainer`
|
|
106
|
-
*/ dark: css
|
|
20
|
+
*/ dark: css`
|
|
21
|
+
${toastTokens.color}: var(--on-dark-text-primary);
|
|
22
|
+
${toastTokens.background}: var(--on-dark-surface-solid-primary-brightness);
|
|
23
|
+
|
|
24
|
+
${toastTokens.closeIconColor}: var(--on-dark-text-accent);
|
|
25
|
+
${toastTokens.closeIconColorOnHover}: var(--on-dark-text-accent-minor);
|
|
26
|
+
`,
|
|
107
27
|
/**
|
|
108
28
|
* @deprecated
|
|
109
29
|
* светлый и темный фон регулировать через `view` компонента `ViewContainer`
|
|
110
|
-
*/ light: css
|
|
30
|
+
*/ light: css`
|
|
31
|
+
${toastTokens.color}: var(--on-light-text-primary);
|
|
32
|
+
${toastTokens.background}: var(--on-light-surface-solid-primary-brightness);
|
|
33
|
+
|
|
34
|
+
${toastTokens.closeIconColor}: var(--on-light-text-accent);
|
|
35
|
+
${toastTokens.closeIconColorOnHover}: var(--on-light-text-accent-minor);
|
|
36
|
+
`
|
|
111
37
|
},
|
|
112
38
|
size: {
|
|
113
|
-
s: css
|
|
39
|
+
s: css`
|
|
40
|
+
${toastTokens.borderRadius}: 0.75rem;
|
|
41
|
+
${toastTokens.maxWidth}: calc(100vw - 5rem);
|
|
42
|
+
${toastTokens.padding}: 0.5rem 0.75rem;
|
|
43
|
+
|
|
44
|
+
${toastTokens.fontFamily}: var(--plasma-typo-body-m-font-family);
|
|
45
|
+
${toastTokens.fontSize}: var(--plasma-typo-body-m-font-size);
|
|
46
|
+
${toastTokens.fontStyle}: var(--plasma-typo-body-m-font-style);
|
|
47
|
+
${toastTokens.fontWeight}: var(--plasma-typo-body-m-font-weight);
|
|
48
|
+
${toastTokens.letterSpacing}: var(--plasma-typo-body-m-letter-spacing);
|
|
49
|
+
${toastTokens.lineHeight}: var(--plasma-typo-body-m-line-height);
|
|
50
|
+
|
|
51
|
+
${toastTokens.contentLeftMargin}: -0.0625rem 0.5rem -0.0625rem 0rem;
|
|
52
|
+
${toastTokens.closeIconMargin}: -0.0625rem 0.125rem -0.0625rem 0.75rem;
|
|
53
|
+
`
|
|
114
54
|
},
|
|
115
55
|
closeIconType: {
|
|
116
|
-
thin: css
|
|
56
|
+
thin: css`
|
|
57
|
+
${toastTokens.closeIconButtonSize}: 1.5rem;
|
|
58
|
+
${toastTokens.closeIconSize}: 1.5rem;
|
|
59
|
+
`
|
|
117
60
|
},
|
|
118
61
|
pilled: {
|
|
119
|
-
true: css
|
|
62
|
+
true: css`
|
|
63
|
+
${toastTokens.pilledBorderRadius}: 1.5rem;
|
|
64
|
+
|
|
65
|
+
${toastTokens.contentLeftMargin}: -0.0625rem 0.375rem -0.0625rem 0rem;
|
|
66
|
+
${toastTokens.closeIconMargin}: -0.0625rem 0.25rem -0.0625rem 0.375rem;
|
|
67
|
+
`
|
|
120
68
|
}
|
|
121
69
|
}
|
|
122
70
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { toastConfig, ToastProviderHoc, ToastControllerHoc, component, mergeConfig } from '@salutejs/plasma-new-hope/emotion';
|
|
2
2
|
import { config } from './Toast.config';
|
|
3
3
|
export { useToast } from '@salutejs/plasma-new-hope/emotion';
|
|
4
|
-
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
4
|
+
const mergedConfig = mergeConfig(toastConfig, config);
|
|
5
|
+
export const Toast = component(mergedConfig);
|
|
6
|
+
export const ToastController = ToastControllerHoc(Toast);
|
|
7
|
+
export const ToastProvider = ToastProviderHoc(ToastController);
|
|
@@ -1,75 +1,43 @@
|
|
|
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 ",
|
|
15
|
-
": var(--surface-solid-card-brightness);\n\n ",
|
|
16
|
-
": var(--text-accent);\n ",
|
|
17
|
-
": var(--text-accent-minor);\n "
|
|
18
|
-
]);
|
|
19
|
-
_templateObject = function _templateObject() {
|
|
20
|
-
return data;
|
|
21
|
-
};
|
|
22
|
-
return data;
|
|
23
|
-
}
|
|
24
|
-
function _templateObject1() {
|
|
25
|
-
var data = _tagged_template_literal([
|
|
26
|
-
"\n ",
|
|
27
|
-
": 0.75rem;\n ",
|
|
28
|
-
": calc(100vw - 5rem);\n ",
|
|
29
|
-
": 0.5rem 0.75rem;\n ",
|
|
30
|
-
": 1.5rem;\n ",
|
|
31
|
-
": 1.5rem;\n ",
|
|
32
|
-
": -0.0625rem 0.125rem -0.0625rem 0.75rem;\n ",
|
|
33
|
-
": -0.0625rem 0.5rem -0.0625rem 0rem;\n\n ",
|
|
34
|
-
": var(--plasma-typo-body-m-font-family);\n ",
|
|
35
|
-
": var(--plasma-typo-body-m-font-size);\n ",
|
|
36
|
-
": var(--plasma-typo-body-m-font-style);\n ",
|
|
37
|
-
": var(--plasma-typo-body-m-font-weight);\n ",
|
|
38
|
-
": var(--plasma-typo-body-m-letter-spacing);\n ",
|
|
39
|
-
": var(--plasma-typo-body-m-line-height);\n "
|
|
40
|
-
]);
|
|
41
|
-
_templateObject1 = function _templateObject() {
|
|
42
|
-
return data;
|
|
43
|
-
};
|
|
44
|
-
return data;
|
|
45
|
-
}
|
|
46
|
-
function _templateObject2() {
|
|
47
|
-
var data = _tagged_template_literal([
|
|
48
|
-
"\n ",
|
|
49
|
-
": 1.5rem;\n ",
|
|
50
|
-
": -0.0625rem 0.375rem -0.0625rem 0rem;\n ",
|
|
51
|
-
": -0.0625rem 0.25rem -0.0625rem 0.375rem;\n "
|
|
52
|
-
]);
|
|
53
|
-
_templateObject2 = function _templateObject() {
|
|
54
|
-
return data;
|
|
55
|
-
};
|
|
56
|
-
return data;
|
|
57
|
-
}
|
|
58
1
|
import { css, toastNewTokens as toastTokens } from '@salutejs/plasma-new-hope/emotion';
|
|
59
|
-
export
|
|
2
|
+
export const config = {
|
|
60
3
|
defaults: {
|
|
61
4
|
view: 'default',
|
|
62
5
|
size: 's'
|
|
63
6
|
},
|
|
64
7
|
variations: {
|
|
65
8
|
view: {
|
|
66
|
-
default: css
|
|
9
|
+
default: css`
|
|
10
|
+
${toastTokens.color}: var(--text-primary);
|
|
11
|
+
${toastTokens.background}: var(--surface-solid-card-brightness);
|
|
12
|
+
|
|
13
|
+
${toastTokens.closeIconColor}: var(--text-accent);
|
|
14
|
+
${toastTokens.closeIconColorOnHover}: var(--text-accent-minor);
|
|
15
|
+
`
|
|
67
16
|
},
|
|
68
17
|
size: {
|
|
69
|
-
s: css
|
|
18
|
+
s: css`
|
|
19
|
+
${toastTokens.borderRadius}: 0.75rem;
|
|
20
|
+
${toastTokens.maxWidth}: calc(100vw - 5rem);
|
|
21
|
+
${toastTokens.padding}: 0.5rem 0.75rem;
|
|
22
|
+
${toastTokens.closeIconSize}: 1.5rem;
|
|
23
|
+
${toastTokens.closeIconButtonSize}: 1.5rem;
|
|
24
|
+
${toastTokens.closeIconMargin}: -0.0625rem 0.125rem -0.0625rem 0.75rem;
|
|
25
|
+
${toastTokens.contentLeftMargin}: -0.0625rem 0.5rem -0.0625rem 0rem;
|
|
26
|
+
|
|
27
|
+
${toastTokens.fontFamily}: var(--plasma-typo-body-m-font-family);
|
|
28
|
+
${toastTokens.fontSize}: var(--plasma-typo-body-m-font-size);
|
|
29
|
+
${toastTokens.fontStyle}: var(--plasma-typo-body-m-font-style);
|
|
30
|
+
${toastTokens.fontWeight}: var(--plasma-typo-body-m-font-weight);
|
|
31
|
+
${toastTokens.letterSpacing}: var(--plasma-typo-body-m-letter-spacing);
|
|
32
|
+
${toastTokens.lineHeight}: var(--plasma-typo-body-m-line-height);
|
|
33
|
+
`
|
|
70
34
|
},
|
|
71
35
|
pilled: {
|
|
72
|
-
true: css
|
|
36
|
+
true: css`
|
|
37
|
+
${toastTokens.borderRadius}: 1.5rem;
|
|
38
|
+
${toastTokens.contentLeftMargin}: -0.0625rem 0.375rem -0.0625rem 0rem;
|
|
39
|
+
${toastTokens.closeIconMargin}: -0.0625rem 0.25rem -0.0625rem 0.375rem;
|
|
40
|
+
`
|
|
73
41
|
}
|
|
74
42
|
}
|
|
75
43
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { component, mergeConfig, showToast as showToastOriginal, toastContainerConfig } from '@salutejs/plasma-new-hope/emotion';
|
|
2
2
|
import { config } from './ToastNew.config';
|
|
3
|
-
|
|
4
|
-
export
|
|
5
|
-
|
|
3
|
+
const mergedConfig = mergeConfig(toastContainerConfig, config);
|
|
4
|
+
export const ToastContainer = component(mergedConfig);
|
|
5
|
+
const showToast = showToastOriginal;
|
|
6
6
|
export { showToast };
|