@salutejs/sdds-cs 0.354.0-next-platform-ai.0 → 0.355.0-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/beta/cjs/Popover/Popover.closeInner.config.js +26 -68
- package/dist/beta/cjs/Popover/Popover.closeNone.config.js +18 -60
- package/dist/beta/cjs/Popover/Popover.js +8 -8
- package/dist/beta/cjs/Popover/index.js +1 -1
- package/dist/beta/cjs/Tooltip/Tooltip.config.js +29 -63
- package/dist/beta/cjs/Tooltip/Tooltip.js +4 -4
- package/dist/beta/cjs/Tooltip/index.js +1 -1
- package/dist/beta/es/Popover/Popover.closeInner.config.js +25 -67
- package/dist/beta/es/Popover/Popover.closeNone.config.js +17 -59
- package/dist/beta/es/Popover/Popover.js +5 -5
- package/dist/beta/es/Tooltip/Tooltip.config.js +28 -62
- package/dist/beta/es/Tooltip/Tooltip.js +2 -2
- package/dist/emotion/cjs/components/Accordion/Accordion.config.js +50 -85
- package/dist/emotion/cjs/components/Accordion/Accordion.js +4 -4
- package/dist/emotion/cjs/components/Accordion/index.js +1 -1
- package/dist/emotion/cjs/components/Attach/Attach.config.js +214 -248
- package/dist/emotion/cjs/components/Attach/Attach.js +4 -4
- package/dist/emotion/cjs/components/Attach/index.js +1 -1
- package/dist/emotion/cjs/components/Autocomplete/Autocomplete.config.js +188 -227
- package/dist/emotion/cjs/components/Autocomplete/Autocomplete.js +10 -61
- package/dist/emotion/cjs/components/Autocomplete/index.js +1 -1
- package/dist/emotion/cjs/components/Avatar/Avatar.config.js +97 -193
- package/dist/emotion/cjs/components/Avatar/Avatar.js +4 -4
- package/dist/emotion/cjs/components/Avatar/index.js +1 -1
- package/dist/emotion/cjs/components/AvatarGroup/AvatarGroup.js +3 -3
- package/dist/emotion/cjs/components/AvatarGroup/index.js +1 -1
- package/dist/emotion/cjs/components/Badge/Badge.config.js +55 -123
- package/dist/emotion/cjs/components/Badge/Badge.js +4 -4
- package/dist/emotion/cjs/components/Badge/index.js +1 -1
- package/dist/emotion/cjs/components/Breadcrumbs/Breadcrumbs.config.js +19 -44
- package/dist/emotion/cjs/components/Breadcrumbs/Breadcrumbs.js +5 -5
- package/dist/emotion/cjs/components/Breadcrumbs/index.js +1 -1
- package/dist/emotion/cjs/components/Button/Button.config.js +78 -161
- package/dist/emotion/cjs/components/Button/Button.js +15 -138
- package/dist/emotion/cjs/components/Button/index.js +1 -1
- package/dist/emotion/cjs/components/ButtonBase/index.js +1 -1
- package/dist/emotion/cjs/components/ButtonGroup/ButtonGroup.config.js +82 -208
- package/dist/emotion/cjs/components/ButtonGroup/ButtonGroup.js +4 -4
- package/dist/emotion/cjs/components/ButtonGroup/index.js +1 -1
- package/dist/emotion/cjs/components/Calendar/Calendar.config.js +101 -113
- package/dist/emotion/cjs/components/Calendar/Calendar.js +10 -10
- package/dist/emotion/cjs/components/Calendar/CalendarDouble.config.js +101 -113
- package/dist/emotion/cjs/components/Calendar/index.js +1 -1
- package/dist/emotion/cjs/components/Card/Card.config.js +23 -65
- package/dist/emotion/cjs/components/Card/Card.js +5 -5
- package/dist/emotion/cjs/components/Card/index.js +1 -1
- package/dist/emotion/cjs/components/Carousel/Carousel.config.js +15 -41
- package/dist/emotion/cjs/components/Carousel/Carousel.js +4 -4
- package/dist/emotion/cjs/components/Carousel/index.js +2 -2
- package/dist/emotion/cjs/components/Cell/Cell.config.js +73 -97
- package/dist/emotion/cjs/components/Cell/Cell.js +5 -5
- package/dist/emotion/cjs/components/Cell/index.js +2 -2
- package/dist/emotion/cjs/components/Checkbox/Checkbox.config.js +41 -83
- package/dist/emotion/cjs/components/Checkbox/Checkbox.js +5 -5
- package/dist/emotion/cjs/components/Checkbox/index.js +1 -1
- package/dist/emotion/cjs/components/Chip/Chip.config.js +95 -148
- package/dist/emotion/cjs/components/Chip/Chip.js +5 -5
- package/dist/emotion/cjs/components/Chip/index.js +1 -1
- package/dist/emotion/cjs/components/ChipGroup/ChipGroup.config.js +53 -109
- package/dist/emotion/cjs/components/ChipGroup/ChipGroup.js +4 -4
- package/dist/emotion/cjs/components/ChipGroup/index.js +1 -1
- package/dist/emotion/cjs/components/Combobox/Combobox.config.js +270 -302
- package/dist/emotion/cjs/components/Combobox/Combobox.js +11 -38
- package/dist/emotion/cjs/components/Combobox/index.js +1 -1
- package/dist/emotion/cjs/components/Counter/Counter.config.js +23 -66
- package/dist/emotion/cjs/components/Counter/Counter.js +4 -4
- package/dist/emotion/cjs/components/Counter/index.js +2 -2
- package/dist/emotion/cjs/components/DatePicker/DatePicker.config.js +282 -278
- package/dist/emotion/cjs/components/DatePicker/DatePicker.js +6 -6
- package/dist/emotion/cjs/components/DatePicker/index.js +2 -2
- package/dist/emotion/cjs/components/Divider/Divider.config.js +23 -89
- package/dist/emotion/cjs/components/Divider/Divider.js +4 -4
- package/dist/emotion/cjs/components/Divider/index.js +2 -2
- package/dist/emotion/cjs/components/Drawer/Drawer.config.js +19 -61
- package/dist/emotion/cjs/components/Drawer/Drawer.js +10 -10
- package/dist/emotion/cjs/components/Drawer/index.js +1 -1
- package/dist/emotion/cjs/components/Dropdown/Dropdown.config.js +55 -76
- package/dist/emotion/cjs/components/Dropdown/Dropdown.js +11 -38
- package/dist/emotion/cjs/components/Dropdown/index.js +1 -1
- package/dist/emotion/cjs/components/EmptyState/EmptyState.config.js +58 -100
- package/dist/emotion/cjs/components/EmptyState/EmptyState.js +4 -4
- package/dist/emotion/cjs/components/EmptyState/index.js +1 -1
- package/dist/emotion/cjs/components/Flow/Flow.config.js +1 -1
- package/dist/emotion/cjs/components/Flow/Flow.js +4 -4
- package/dist/emotion/cjs/components/Flow/index.js +1 -1
- package/dist/emotion/cjs/components/Grid/Grid.config.js +36 -57
- package/dist/emotion/cjs/components/Grid/Grid.js +4 -4
- package/dist/emotion/cjs/components/Grid/index.js +1 -1
- package/dist/emotion/cjs/components/IconButton/IconButton.config.js +48 -105
- package/dist/emotion/cjs/components/IconButton/IconButton.js +5 -5
- package/dist/emotion/cjs/components/IconButton/index.js +1 -1
- package/dist/emotion/cjs/components/Image/Image.js +4 -4
- package/dist/emotion/cjs/components/Image/index.js +1 -1
- package/dist/emotion/cjs/components/Indicator/Indicator.config.js +32 -122
- package/dist/emotion/cjs/components/Indicator/Indicator.js +4 -4
- package/dist/emotion/cjs/components/Indicator/index.js +1 -1
- package/dist/emotion/cjs/components/Link/Link.config.js +107 -205
- package/dist/emotion/cjs/components/Link/Link.js +5 -5
- package/dist/emotion/cjs/components/Link/index.js +1 -1
- package/dist/emotion/cjs/components/Mask/Mask.js +3 -3
- package/dist/emotion/cjs/components/Mask/index.js +1 -1
- package/dist/emotion/cjs/components/Modal/Modal.config.js +15 -33
- package/dist/emotion/cjs/components/Modal/Modal.js +5 -5
- package/dist/emotion/cjs/components/Modal/index.js +2 -2
- package/dist/emotion/cjs/components/Notification/Notification.config.js +102 -143
- package/dist/emotion/cjs/components/Notification/Notification.js +7 -8
- package/dist/emotion/cjs/components/Notification/index.js +2 -2
- package/dist/emotion/cjs/components/NumberFormat/NumberFormat.js +3 -3
- package/dist/emotion/cjs/components/NumberFormat/index.js +2 -2
- package/dist/emotion/cjs/components/NumberInput/NumberInput.config.js +77 -133
- package/dist/emotion/cjs/components/NumberInput/NumberInput.js +4 -4
- package/dist/emotion/cjs/components/NumberInput/index.js +2 -2
- package/dist/emotion/cjs/components/Overlay/index.js +1 -1
- package/dist/emotion/cjs/components/Pagination/Pagination.config.js +76 -120
- package/dist/emotion/cjs/components/Pagination/Pagination.js +5 -5
- package/dist/emotion/cjs/components/Pagination/index.js +1 -1
- package/dist/emotion/cjs/components/Popover/Popover.config.js +12 -29
- package/dist/emotion/cjs/components/Popover/Popover.js +4 -4
- package/dist/emotion/cjs/components/Popover/index.js +1 -1
- package/dist/emotion/cjs/components/Popup/Popup.js +3 -3
- package/dist/emotion/cjs/components/Popup/index.js +2 -2
- package/dist/emotion/cjs/components/Portal/index.js +1 -1
- package/dist/emotion/cjs/components/Price/Price.config.js +1 -1
- package/dist/emotion/cjs/components/Price/Price.js +5 -5
- package/dist/emotion/cjs/components/Price/index.js +2 -2
- package/dist/emotion/cjs/components/Progress/Progress.config.js +182 -80
- package/dist/emotion/cjs/components/Progress/Progress.js +5 -5
- package/dist/emotion/cjs/components/Progress/index.js +1 -1
- package/dist/emotion/cjs/components/Radiobox/Radiobox.config.js +39 -81
- package/dist/emotion/cjs/components/Radiobox/Radiobox.js +5 -5
- package/dist/emotion/cjs/components/Radiobox/index.js +1 -1
- package/dist/emotion/cjs/components/Range/Range.config.js +124 -149
- package/dist/emotion/cjs/components/Range/Range.js +4 -4
- package/dist/emotion/cjs/components/Range/index.js +2 -2
- package/dist/emotion/cjs/components/Rating/Rating.config.js +69 -101
- package/dist/emotion/cjs/components/Rating/Rating.js +4 -4
- package/dist/emotion/cjs/components/Rating/index.js +2 -2
- package/dist/emotion/cjs/components/SSRProvider/index.js +1 -1
- package/dist/emotion/cjs/components/Segment/Segment.js +7 -7
- package/dist/emotion/cjs/components/Segment/SegmentGroup.config.js +27 -104
- package/dist/emotion/cjs/components/Segment/SegmentItem.config.js +58 -104
- package/dist/emotion/cjs/components/Segment/index.js +1 -1
- package/dist/emotion/cjs/components/Select/Select.config.js +244 -288
- package/dist/emotion/cjs/components/Select/Select.js +11 -38
- package/dist/emotion/cjs/components/Select/index.js +1 -1
- package/dist/emotion/cjs/components/Sheet/Sheet.config.js +14 -48
- package/dist/emotion/cjs/components/Sheet/Sheet.js +5 -5
- package/dist/emotion/cjs/components/Sheet/index.js +2 -2
- package/dist/emotion/cjs/components/Skeleton/LineSkeleton.config.js +80 -242
- package/dist/emotion/cjs/components/Skeleton/Skeleton.js +5 -5
- package/dist/emotion/cjs/components/Skeleton/index.js +1 -1
- package/dist/emotion/cjs/components/Slider/Slider.config.js +119 -134
- package/dist/emotion/cjs/components/Slider/Slider.js +5 -5
- package/dist/emotion/cjs/components/Slider/index.js +1 -1
- package/dist/emotion/cjs/components/Spinner/Spinner.config.js +26 -92
- package/dist/emotion/cjs/components/Spinner/Spinner.js +6 -6
- package/dist/emotion/cjs/components/Spinner/index.js +1 -1
- package/dist/emotion/cjs/components/Steps/Steps.config.js +92 -102
- package/dist/emotion/cjs/components/Steps/Steps.js +5 -5
- package/dist/emotion/cjs/components/Steps/index.js +1 -1
- package/dist/emotion/cjs/components/Switch/Switch.config.js +62 -124
- package/dist/emotion/cjs/components/Switch/Switch.js +5 -5
- package/dist/emotion/cjs/components/Switch/index.js +1 -1
- package/dist/emotion/cjs/components/Table/Table.config.js +212 -241
- package/dist/emotion/cjs/components/Table/Table.js +5 -5
- package/dist/emotion/cjs/components/Table/index.js +1 -1
- package/dist/emotion/cjs/components/Tabs/TabItem.js +9 -9
- package/dist/emotion/cjs/components/Tabs/Tabs.js +9 -9
- package/dist/emotion/cjs/components/Tabs/TabsController.js +8 -8
- package/dist/emotion/cjs/components/Tabs/horizontal/HorizontalTabItem.config.js +151 -209
- package/dist/emotion/cjs/components/Tabs/horizontal/HorizontalTabs.config.js +117 -244
- package/dist/emotion/cjs/components/Tabs/index.js +4 -4
- package/dist/emotion/cjs/components/Tabs/vertical/VerticalTabItem.config.js +71 -107
- package/dist/emotion/cjs/components/Tabs/vertical/VerticalTabs.config.js +37 -78
- package/dist/emotion/cjs/components/TextArea/TextArea.clear.config.js +276 -316
- package/dist/emotion/cjs/components/TextArea/TextArea.config.js +265 -308
- package/dist/emotion/cjs/components/TextArea/TextArea.js +8 -8
- package/dist/emotion/cjs/components/TextArea/index.js +1 -1
- package/dist/emotion/cjs/components/TextField/TextField.clear.config.js +211 -266
- package/dist/emotion/cjs/components/TextField/TextField.config.js +235 -294
- package/dist/emotion/cjs/components/TextField/TextField.js +8 -8
- package/dist/emotion/cjs/components/TextField/index.js +2 -2
- package/dist/emotion/cjs/components/TimePicker/TimePicker.config.js +156 -165
- package/dist/emotion/cjs/components/TimePicker/TimePicker.js +4 -4
- package/dist/emotion/cjs/components/TimePicker/index.js +2 -2
- package/dist/emotion/cjs/components/Toast/Toast.config.js +48 -100
- package/dist/emotion/cjs/components/Toast/Toast.js +6 -6
- package/dist/emotion/cjs/components/Toast/index.js +1 -1
- package/dist/emotion/cjs/components/ToastNew/ToastNew.config.js +30 -62
- package/dist/emotion/cjs/components/ToastNew/ToastNew.js +5 -5
- package/dist/emotion/cjs/components/ToastNew/index.js +1 -1
- package/dist/emotion/cjs/components/Tokens/Colors/Colors.styles.js +18 -22
- package/dist/emotion/cjs/components/Tokens/NumberTokens/NumberTokens.styles.js +7 -7
- package/dist/emotion/cjs/components/Tokens/Typography/Typography.styles.js +22 -40
- package/dist/emotion/cjs/components/Tooltip/Tooltip.config.js +38 -68
- package/dist/emotion/cjs/components/Tooltip/Tooltip.js +4 -4
- package/dist/emotion/cjs/components/Tooltip/index.js +1 -1
- package/dist/emotion/cjs/components/Tour/Tour.config.js +7 -34
- package/dist/emotion/cjs/components/Tour/Tour.js +4 -4
- package/dist/emotion/cjs/components/Tour/index.js +1 -1
- package/dist/emotion/cjs/components/Tree/Tree.config.js +52 -77
- package/dist/emotion/cjs/components/Tree/Tree.js +4 -4
- package/dist/emotion/cjs/components/Tree/index.js +1 -1
- package/dist/emotion/cjs/components/Typography/Body.config.js +56 -106
- package/dist/emotion/cjs/components/Typography/Dspl.config.js +34 -68
- package/dist/emotion/cjs/components/Typography/Heading.config.js +56 -106
- package/dist/emotion/cjs/components/Typography/Text.config.js +45 -87
- package/dist/emotion/cjs/components/Typography/Typography.js +56 -56
- package/dist/emotion/cjs/components/Typography/index.js +1 -1
- package/dist/emotion/cjs/components/ViewContainer/ViewContainer.config.js +9 -35
- package/dist/emotion/cjs/components/ViewContainer/ViewContainer.js +4 -4
- package/dist/emotion/cjs/components/ViewContainer/index.js +1 -1
- package/dist/emotion/cjs/helpers/index.js +1 -1
- package/dist/emotion/cjs/mixins/index.js +3 -3
- package/dist/emotion/cjs/tokens/index.js +1 -1
- package/dist/emotion/es/components/Accordion/Accordion.config.js +49 -84
- package/dist/emotion/es/components/Accordion/Accordion.js +2 -2
- package/dist/emotion/es/components/Attach/Attach.config.js +213 -247
- package/dist/emotion/es/components/Attach/Attach.js +2 -2
- package/dist/emotion/es/components/Autocomplete/Autocomplete.config.js +187 -226
- package/dist/emotion/es/components/Autocomplete/Autocomplete.js +7 -58
- package/dist/emotion/es/components/Avatar/Avatar.config.js +96 -192
- package/dist/emotion/es/components/Avatar/Avatar.js +2 -2
- package/dist/emotion/es/components/AvatarGroup/AvatarGroup.js +2 -2
- package/dist/emotion/es/components/Badge/Badge.config.js +54 -122
- package/dist/emotion/es/components/Badge/Badge.js +2 -2
- package/dist/emotion/es/components/Breadcrumbs/Breadcrumbs.config.js +18 -43
- package/dist/emotion/es/components/Breadcrumbs/Breadcrumbs.js +3 -3
- package/dist/emotion/es/components/Button/Button.config.js +77 -160
- package/dist/emotion/es/components/Button/Button.js +10 -133
- package/dist/emotion/es/components/ButtonGroup/ButtonGroup.config.js +81 -207
- package/dist/emotion/es/components/ButtonGroup/ButtonGroup.js +2 -2
- package/dist/emotion/es/components/Calendar/Calendar.config.js +100 -112
- package/dist/emotion/es/components/Calendar/Calendar.js +7 -7
- package/dist/emotion/es/components/Calendar/CalendarDouble.config.js +100 -112
- package/dist/emotion/es/components/Card/Card.config.js +22 -64
- package/dist/emotion/es/components/Card/Card.js +3 -3
- package/dist/emotion/es/components/Carousel/Carousel.config.js +14 -40
- package/dist/emotion/es/components/Carousel/Carousel.js +2 -2
- package/dist/emotion/es/components/Cell/Cell.config.js +72 -96
- package/dist/emotion/es/components/Cell/Cell.js +3 -3
- package/dist/emotion/es/components/Checkbox/Checkbox.config.js +40 -82
- package/dist/emotion/es/components/Checkbox/Checkbox.js +3 -3
- package/dist/emotion/es/components/Chip/Chip.config.js +94 -147
- package/dist/emotion/es/components/Chip/Chip.js +3 -3
- package/dist/emotion/es/components/ChipGroup/ChipGroup.config.js +52 -108
- package/dist/emotion/es/components/ChipGroup/ChipGroup.js +2 -2
- package/dist/emotion/es/components/Combobox/Combobox.config.js +270 -302
- package/dist/emotion/es/components/Combobox/Combobox.js +9 -36
- package/dist/emotion/es/components/Counter/Counter.config.js +21 -64
- package/dist/emotion/es/components/Counter/Counter.js +2 -2
- package/dist/emotion/es/components/DatePicker/DatePicker.config.js +281 -277
- package/dist/emotion/es/components/DatePicker/DatePicker.js +4 -4
- package/dist/emotion/es/components/Divider/Divider.config.js +22 -88
- package/dist/emotion/es/components/Divider/Divider.js +2 -2
- package/dist/emotion/es/components/Drawer/Drawer.config.js +18 -60
- package/dist/emotion/es/components/Drawer/Drawer.js +8 -8
- package/dist/emotion/es/components/Dropdown/Dropdown.config.js +54 -75
- package/dist/emotion/es/components/Dropdown/Dropdown.js +8 -35
- package/dist/emotion/es/components/EmptyState/EmptyState.config.js +57 -99
- package/dist/emotion/es/components/EmptyState/EmptyState.js +2 -2
- package/dist/emotion/es/components/Flow/Flow.config.js +1 -1
- package/dist/emotion/es/components/Flow/Flow.js +2 -2
- package/dist/emotion/es/components/Grid/Grid.config.js +35 -56
- package/dist/emotion/es/components/Grid/Grid.js +2 -2
- package/dist/emotion/es/components/IconButton/IconButton.config.js +47 -104
- package/dist/emotion/es/components/IconButton/IconButton.js +3 -3
- package/dist/emotion/es/components/Image/Image.js +3 -3
- package/dist/emotion/es/components/Indicator/Indicator.config.js +31 -121
- package/dist/emotion/es/components/Indicator/Indicator.js +2 -2
- package/dist/emotion/es/components/Link/Link.config.js +106 -204
- package/dist/emotion/es/components/Link/Link.js +3 -3
- package/dist/emotion/es/components/Mask/Mask.js +1 -1
- package/dist/emotion/es/components/Modal/Modal.config.js +14 -32
- package/dist/emotion/es/components/Modal/Modal.js +3 -3
- package/dist/emotion/es/components/Notification/Notification.config.js +101 -142
- package/dist/emotion/es/components/Notification/Notification.js +4 -5
- package/dist/emotion/es/components/NumberFormat/NumberFormat.js +1 -1
- package/dist/emotion/es/components/NumberInput/NumberInput.config.js +76 -132
- package/dist/emotion/es/components/NumberInput/NumberInput.js +2 -2
- package/dist/emotion/es/components/Pagination/Pagination.config.js +75 -119
- package/dist/emotion/es/components/Pagination/Pagination.js +3 -3
- package/dist/emotion/es/components/Popover/Popover.config.js +11 -28
- package/dist/emotion/es/components/Popover/Popover.js +2 -2
- package/dist/emotion/es/components/Popup/Popup.js +2 -2
- package/dist/emotion/es/components/Price/Price.config.js +1 -1
- package/dist/emotion/es/components/Price/Price.js +3 -3
- package/dist/emotion/es/components/Progress/Progress.config.js +181 -79
- package/dist/emotion/es/components/Progress/Progress.js +3 -3
- package/dist/emotion/es/components/Radiobox/Radiobox.config.js +38 -80
- package/dist/emotion/es/components/Radiobox/Radiobox.js +3 -3
- package/dist/emotion/es/components/Range/Range.config.js +123 -148
- package/dist/emotion/es/components/Range/Range.js +2 -2
- package/dist/emotion/es/components/Rating/Rating.config.js +68 -100
- package/dist/emotion/es/components/Rating/Rating.js +2 -2
- package/dist/emotion/es/components/Segment/Segment.js +4 -4
- package/dist/emotion/es/components/Segment/SegmentGroup.config.js +26 -103
- package/dist/emotion/es/components/Segment/SegmentItem.config.js +57 -103
- package/dist/emotion/es/components/Select/Select.config.js +243 -287
- package/dist/emotion/es/components/Select/Select.js +8 -35
- package/dist/emotion/es/components/Sheet/Sheet.config.js +13 -47
- package/dist/emotion/es/components/Sheet/Sheet.js +3 -3
- package/dist/emotion/es/components/Skeleton/LineSkeleton.config.js +79 -241
- package/dist/emotion/es/components/Skeleton/Skeleton.js +3 -3
- package/dist/emotion/es/components/Slider/Slider.config.js +118 -133
- package/dist/emotion/es/components/Slider/Slider.js +3 -3
- package/dist/emotion/es/components/Spinner/Spinner.config.js +25 -91
- package/dist/emotion/es/components/Spinner/Spinner.js +3 -3
- package/dist/emotion/es/components/Steps/Steps.config.js +91 -101
- package/dist/emotion/es/components/Steps/Steps.js +3 -3
- package/dist/emotion/es/components/Switch/Switch.config.js +61 -123
- package/dist/emotion/es/components/Switch/Switch.js +3 -3
- package/dist/emotion/es/components/Table/Table.config.js +211 -240
- package/dist/emotion/es/components/Table/Table.js +3 -3
- package/dist/emotion/es/components/Tabs/TabItem.js +5 -5
- package/dist/emotion/es/components/Tabs/Tabs.js +5 -5
- package/dist/emotion/es/components/Tabs/TabsController.js +5 -5
- package/dist/emotion/es/components/Tabs/horizontal/HorizontalTabItem.config.js +150 -208
- package/dist/emotion/es/components/Tabs/horizontal/HorizontalTabs.config.js +116 -243
- package/dist/emotion/es/components/Tabs/vertical/VerticalTabItem.config.js +70 -106
- package/dist/emotion/es/components/Tabs/vertical/VerticalTabs.config.js +36 -77
- package/dist/emotion/es/components/TextArea/TextArea.clear.config.js +275 -315
- package/dist/emotion/es/components/TextArea/TextArea.config.js +264 -307
- package/dist/emotion/es/components/TextArea/TextArea.js +5 -5
- package/dist/emotion/es/components/TextField/TextField.clear.config.js +210 -265
- package/dist/emotion/es/components/TextField/TextField.config.js +234 -293
- package/dist/emotion/es/components/TextField/TextField.js +5 -5
- package/dist/emotion/es/components/TimePicker/TimePicker.config.js +155 -164
- package/dist/emotion/es/components/TimePicker/TimePicker.js +2 -2
- package/dist/emotion/es/components/Toast/Toast.config.js +47 -99
- package/dist/emotion/es/components/Toast/Toast.js +4 -4
- package/dist/emotion/es/components/ToastNew/ToastNew.config.js +29 -61
- package/dist/emotion/es/components/ToastNew/ToastNew.js +3 -3
- package/dist/emotion/es/components/Tokens/Colors/Colors.styles.js +14 -18
- package/dist/emotion/es/components/Tokens/NumberTokens/NumberTokens.styles.js +6 -6
- package/dist/emotion/es/components/Tokens/Typography/Typography.styles.js +18 -36
- package/dist/emotion/es/components/Tooltip/Tooltip.config.js +37 -67
- package/dist/emotion/es/components/Tooltip/Tooltip.js +2 -2
- package/dist/emotion/es/components/Tour/Tour.config.js +6 -33
- package/dist/emotion/es/components/Tour/Tour.js +2 -2
- package/dist/emotion/es/components/Tree/Tree.config.js +51 -76
- package/dist/emotion/es/components/Tree/Tree.js +2 -2
- package/dist/emotion/es/components/Typography/Body.config.js +55 -105
- package/dist/emotion/es/components/Typography/Dspl.config.js +33 -67
- package/dist/emotion/es/components/Typography/Heading.config.js +55 -105
- package/dist/emotion/es/components/Typography/Text.config.js +44 -86
- package/dist/emotion/es/components/Typography/Typography.js +51 -51
- package/dist/emotion/es/components/ViewContainer/ViewContainer.config.js +7 -33
- package/dist/emotion/es/components/ViewContainer/ViewContainer.js +2 -2
- package/dist/emotion/es/mixins/index.js +1 -1
- package/package.json +25 -29
- package/types/components/Combobox/Combobox.d.ts +211 -1227
- package/types/components/Progress/Progress.config.d.ts +13 -0
- package/types/components/Progress/Progress.d.ts +12 -0
- package/types/components/Select/Select.d.ts +24 -24
- package/types/components/TextArea/TextArea.d.ts +23 -1715
- package/types/components/TimePicker/TimePicker.d.ts +4 -0
|
@@ -1,223 +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(--text-primary);\n\n ",
|
|
16
|
-
": var(--text-secondary);\n ",
|
|
17
|
-
": var(--text-tertiary);\n ",
|
|
18
|
-
": var(--text-secondary);\n ",
|
|
19
|
-
": var(--text-tertiary);\n\n ",
|
|
20
|
-
": var(--surface-solid-card);\n ",
|
|
21
|
-
": var(--surface-solid-card);\n ",
|
|
22
|
-
": var(--text-accent);\n ",
|
|
23
|
-
": var(--text-secondary);\n ",
|
|
24
|
-
": var(--text-secondary);\n ",
|
|
25
|
-
": var(--text-primary);\n ",
|
|
26
|
-
": var(--text-secondary);\n ",
|
|
27
|
-
": var(--text-accent);\n\n ",
|
|
28
|
-
": var(--text-secondary);\n ",
|
|
29
|
-
": var(--text-secondary-hover);\n ",
|
|
30
|
-
": var(--text-secondary-active);\n ",
|
|
31
|
-
": var(--text-accent);\n ",
|
|
32
|
-
": var(--text-accent-minor);\n ",
|
|
33
|
-
": var(--text-accent-active);\n\n ",
|
|
34
|
-
": var(--surface-accent);\n ",
|
|
35
|
-
": var(--surface-negative);\n ",
|
|
36
|
-
": var(--text-tertiary);\n\n ",
|
|
37
|
-
": var(--outline-solid-primary);\n ",
|
|
38
|
-
": var(--outline-solid-primary-hover);\n ",
|
|
39
|
-
": var(--outline-accent);\n\n ",
|
|
40
|
-
": var(--surface-solid-card);\n ",
|
|
41
|
-
": 0px 4px 14px -4px rgba(8, 8, 8, 0.08), 0px 1px 4px -1px rgba(0, 0, 0, 0.04);\n ",
|
|
42
|
-
": var(--plasma-colors-transparent);\n ",
|
|
43
|
-
": var(--surface-transparent-accent);\n ",
|
|
44
|
-
": var(--text-primary);\n\n ",
|
|
45
|
-
": var(--text-primary);\n\n ",
|
|
46
|
-
": var(--surface-solid-primary);\n "
|
|
47
|
-
]);
|
|
48
|
-
_templateObject = function _templateObject() {
|
|
49
|
-
return data;
|
|
50
|
-
};
|
|
51
|
-
return data;
|
|
52
|
-
}
|
|
53
|
-
function _templateObject1() {
|
|
54
|
-
var data = _tagged_template_literal([
|
|
55
|
-
"\n ",
|
|
56
|
-
": var(--text-primary);\n ",
|
|
57
|
-
": var(--text-primary);\n\n ",
|
|
58
|
-
": var(--text-secondary);\n ",
|
|
59
|
-
": var(--text-tertiary);\n ",
|
|
60
|
-
": var(--text-secondary);\n ",
|
|
61
|
-
": var(--text-tertiary);\n\n ",
|
|
62
|
-
": var(--surface-solid-card);\n ",
|
|
63
|
-
": var(--surface-solid-card);\n ",
|
|
64
|
-
": var(--text-accent);\n ",
|
|
65
|
-
": var(--text-secondary);\n ",
|
|
66
|
-
": var(--text-secondary);\n ",
|
|
67
|
-
": var(--text-primary);\n ",
|
|
68
|
-
": var(--text-negative);\n ",
|
|
69
|
-
": var(--text-accent);\n\n ",
|
|
70
|
-
": var(--text-secondary);\n ",
|
|
71
|
-
": var(--text-secondary-hover);\n ",
|
|
72
|
-
": var(--text-secondary-active);\n ",
|
|
73
|
-
": var(--text-accent);\n ",
|
|
74
|
-
": var(--text-accent-minor);\n ",
|
|
75
|
-
": var(--text-accent-active);\n\n ",
|
|
76
|
-
": var(--surface-accent);\n ",
|
|
77
|
-
": var(--surface-negative);\n ",
|
|
78
|
-
": var(--text-tertiary);\n\n ",
|
|
79
|
-
": var(--outline-negative);\n ",
|
|
80
|
-
": var(--outline-negative-hover);\n ",
|
|
81
|
-
": var(--outline-accent);\n\n ",
|
|
82
|
-
": var(--surface-solid-card);\n ",
|
|
83
|
-
": 0px 4px 14px -4px rgba(8, 8, 8, 0.08), 0px 1px 4px -1px rgba(0, 0, 0, 0.04);\n ",
|
|
84
|
-
": var(--plasma-colors-transparent);\n ",
|
|
85
|
-
": var(--surface-transparent-accent);\n ",
|
|
86
|
-
": var(--text-primary);\n\n ",
|
|
87
|
-
": var(--text-primary);\n\n ",
|
|
88
|
-
": var(--surface-solid-primary);\n "
|
|
89
|
-
]);
|
|
90
|
-
_templateObject1 = function _templateObject() {
|
|
91
|
-
return data;
|
|
92
|
-
};
|
|
93
|
-
return data;
|
|
94
|
-
}
|
|
95
|
-
function _templateObject2() {
|
|
96
|
-
var data = _tagged_template_literal([
|
|
97
|
-
"\n ",
|
|
98
|
-
": 2.5rem;\n ",
|
|
99
|
-
": 0.6875rem 0.75rem 0.6875rem 0.75rem;\n ",
|
|
100
|
-
": 0.75rem;\n ",
|
|
101
|
-
": 0.125rem;\n\n ",
|
|
102
|
-
": -0.1875rem 0.25rem -0.1875rem -0.125rem;\n ",
|
|
103
|
-
": -0.1875rem -0.125rem -0.1875rem 0.75rem;\n\n ",
|
|
104
|
-
": 0 0.25rem 0 0;\n ",
|
|
105
|
-
": 0 0 0 0.25rem;\n\n ",
|
|
106
|
-
": var(--plasma-typo-body-m-font-family);\n ",
|
|
107
|
-
": var(--plasma-typo-body-m-font-size);\n ",
|
|
108
|
-
": var(--plasma-typo-body-m-font-style);\n ",
|
|
109
|
-
": var(--plasma-typo-body-m-font-weight);\n ",
|
|
110
|
-
": var(--plasma-typo-body-m-letter-spacing);\n ",
|
|
111
|
-
": var(--plasma-typo-body-m-line-height);\n\n ",
|
|
112
|
-
": 0.5rem;\n ",
|
|
113
|
-
": var(--plasma-typo-body-s-font-family);\n ",
|
|
114
|
-
": var(--plasma-typo-body-s-font-size);\n ",
|
|
115
|
-
": var(--plasma-typo-body-s-font-style);\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
|
-
": 0.25rem;\n ",
|
|
120
|
-
": var(--plasma-typo-body-s-font-family);\n ",
|
|
121
|
-
": var(--plasma-typo-body-s-font-size);\n ",
|
|
122
|
-
": var(--plasma-typo-body-s-font-style);\n ",
|
|
123
|
-
": var(--plasma-typo-body-s-font-weight);\n ",
|
|
124
|
-
": var(--plasma-typo-body-s-letter-spacing);\n ",
|
|
125
|
-
": var(--plasma-typo-body-s-line-height);\n\n ",
|
|
126
|
-
": 0.3125rem 0 0 0;\n ",
|
|
127
|
-
": 1.0625rem 0 0.3125rem 0;\n\n ",
|
|
128
|
-
": 0.375rem;\n ",
|
|
129
|
-
": 0.375rem;\n ",
|
|
130
|
-
": 0 0 0 0;\n ",
|
|
131
|
-
": 0.3125rem auto auto -0.6875rem;\n ",
|
|
132
|
-
": 0 0 auto auto;\n ",
|
|
133
|
-
": 0.25rem -0.625rem auto auto;\n ",
|
|
134
|
-
": 1.063rem auto auto -0.75rem;\n ",
|
|
135
|
-
": 1.063rem -0.75rem auto auto;\n ",
|
|
136
|
-
": 1.063rem -2.125rem auto auto;\n\n ",
|
|
137
|
-
": 0.75rem;\n ",
|
|
138
|
-
": 0.125rem;\n ",
|
|
139
|
-
": 0.6875rem 0.75rem;\n ",
|
|
140
|
-
": 0.5rem;\n\n ",
|
|
141
|
-
": var(--plasma-typo-body-m-font-family);\n ",
|
|
142
|
-
": var(--plasma-typo-body-m-font-size);\n ",
|
|
143
|
-
": var(--plasma-typo-body-m-font-style);\n ",
|
|
144
|
-
": var(--plasma-typo-body-m-font-weight);\n ",
|
|
145
|
-
": var(--plasma-typo-body-m-letter-spacing);\n ",
|
|
146
|
-
": var(--plasma-typo-body-m-line-height);\n\n ",
|
|
147
|
-
": 1.375rem 0.625rem 0.625rem 0.625rem;\n ",
|
|
148
|
-
": 0.25rem;\n\n ",
|
|
149
|
-
": 1.5rem;\n ",
|
|
150
|
-
": 0.25rem;\n\n ",
|
|
151
|
-
": 0.125rem;\n "
|
|
152
|
-
]);
|
|
153
|
-
_templateObject2 = function _templateObject() {
|
|
154
|
-
return data;
|
|
155
|
-
};
|
|
156
|
-
return data;
|
|
157
|
-
}
|
|
158
|
-
function _templateObject3() {
|
|
159
|
-
var data = _tagged_template_literal([
|
|
160
|
-
"\n ",
|
|
161
|
-
": var(--plasma-input-label-color, var(--plasma-input-placeholder-color, var(--plasma-colors-secondary)));\n ",
|
|
162
|
-
": var(--plasma-typo-body-xs-font-family);\n ",
|
|
163
|
-
": var(--plasma-typo-body-xs-font-size);\n ",
|
|
164
|
-
": var(--plasma-typo-body-xs-font-style);\n ",
|
|
165
|
-
": var(--plasma-typo-body-xs-font-weight);\n ",
|
|
166
|
-
": var(--plasma-typo-body-xs-letter-spacing);\n ",
|
|
167
|
-
": var(--plasma-typo-body-xs-line-height);\n "
|
|
168
|
-
]);
|
|
169
|
-
_templateObject3 = function _templateObject() {
|
|
170
|
-
return data;
|
|
171
|
-
};
|
|
172
|
-
return data;
|
|
173
|
-
}
|
|
174
|
-
function _templateObject4() {
|
|
175
|
-
var data = _tagged_template_literal([
|
|
176
|
-
""
|
|
177
|
-
]);
|
|
178
|
-
_templateObject4 = function _templateObject() {
|
|
179
|
-
return data;
|
|
180
|
-
};
|
|
181
|
-
return data;
|
|
182
|
-
}
|
|
183
|
-
function _templateObject5() {
|
|
184
|
-
var data = _tagged_template_literal([
|
|
185
|
-
"\n ",
|
|
186
|
-
": var(--text-secondary);\n ",
|
|
187
|
-
": var(--surface-solid-primary);\n ",
|
|
188
|
-
": var(--text-secondary);\n ",
|
|
189
|
-
": var(--text-secondary);\n ",
|
|
190
|
-
": var(--surface-solid-primary);\n ",
|
|
191
|
-
": var(--surface-solid-primary);\n ",
|
|
192
|
-
": var(--surface-solid-primary);\n ",
|
|
193
|
-
": var(--surface-solid-primary);\n ",
|
|
194
|
-
": var(--surface-solid-primary);\n ",
|
|
195
|
-
": var(--surface-solid-primary);\n "
|
|
196
|
-
]);
|
|
197
|
-
_templateObject5 = function _templateObject() {
|
|
198
|
-
return data;
|
|
199
|
-
};
|
|
200
|
-
return data;
|
|
201
|
-
}
|
|
202
|
-
function _templateObject6() {
|
|
203
|
-
var data = _tagged_template_literal([
|
|
204
|
-
"\n ",
|
|
205
|
-
": var(--text-primary);\n ",
|
|
206
|
-
": var(--surface-clear);\n ",
|
|
207
|
-
": var(--surface-clear);\n ",
|
|
208
|
-
": var(--text-secondary);\n ",
|
|
209
|
-
": var(--text-secondary);\n ",
|
|
210
|
-
": var(--text-secondary);\n ",
|
|
211
|
-
": transparent;\n ",
|
|
212
|
-
": 0;\n "
|
|
213
|
-
]);
|
|
214
|
-
_templateObject6 = function _templateObject() {
|
|
215
|
-
return data;
|
|
216
|
-
};
|
|
217
|
-
return data;
|
|
218
|
-
}
|
|
219
1
|
import { css, autocompleteTokens as tokens } from '@salutejs/plasma-new-hope/emotion';
|
|
220
|
-
export
|
|
2
|
+
export const config = {
|
|
221
3
|
defaults: {
|
|
222
4
|
view: 'default',
|
|
223
5
|
size: 's',
|
|
@@ -225,21 +7,200 @@ export var config = {
|
|
|
225
7
|
},
|
|
226
8
|
variations: {
|
|
227
9
|
view: {
|
|
228
|
-
default: css
|
|
229
|
-
|
|
10
|
+
default: css`
|
|
11
|
+
${tokens.textFieldColor}: var(--text-primary);
|
|
12
|
+
${tokens.textFieldClearColor}: var(--text-primary);
|
|
13
|
+
|
|
14
|
+
${tokens.textFieldPlaceholderColor}: var(--text-secondary);
|
|
15
|
+
${tokens.textFieldPlaceholderColorFocus}: var(--text-tertiary);
|
|
16
|
+
${tokens.textFieldClearPlaceholderColor}: var(--text-secondary);
|
|
17
|
+
${tokens.textFieldClearPlaceholderColorFocus}: var(--text-tertiary);
|
|
18
|
+
|
|
19
|
+
${tokens.textFieldBackgroundColor}: var(--surface-solid-card);
|
|
20
|
+
${tokens.textFieldBackgroundColorFocus}: var(--surface-solid-card);
|
|
21
|
+
${tokens.textFieldCaretColor}: var(--text-accent);
|
|
22
|
+
${tokens.textFieldTextBeforeColor}: var(--text-secondary);
|
|
23
|
+
${tokens.textFieldTextAfterColor}: var(--text-secondary);
|
|
24
|
+
${tokens.textFieldLabelColor}: var(--text-primary);
|
|
25
|
+
${tokens.textFieldLeftHelperColor}: var(--text-secondary);
|
|
26
|
+
${tokens.textFieldFocusColor}: var(--text-accent);
|
|
27
|
+
|
|
28
|
+
${tokens.textFieldContentSlotColor}: var(--text-secondary);
|
|
29
|
+
${tokens.textFieldContentSlotColorHover}: var(--text-secondary-hover);
|
|
30
|
+
${tokens.textFieldContentSlotColorActive}: var(--text-secondary-active);
|
|
31
|
+
${tokens.textFieldContentSlotRightColor}: var(--text-accent);
|
|
32
|
+
${tokens.textFieldContentSlotRightColorHover}: var(--text-accent-minor);
|
|
33
|
+
${tokens.textFieldContentSlotRightColorActive}: var(--text-accent-active);
|
|
34
|
+
|
|
35
|
+
${tokens.focusColor}: var(--surface-accent);
|
|
36
|
+
${tokens.textFieldIndicatorColor}: var(--surface-negative);
|
|
37
|
+
${tokens.textFieldOptionalColor}: var(--text-tertiary);
|
|
38
|
+
|
|
39
|
+
${tokens.textFieldBorderColor}: var(--outline-solid-primary);
|
|
40
|
+
${tokens.textFieldBorderColorHover}: var(--outline-solid-primary-hover);
|
|
41
|
+
${tokens.textFieldBorderColorFocus}: var(--outline-accent);
|
|
42
|
+
|
|
43
|
+
${tokens.background}: var(--surface-solid-card);
|
|
44
|
+
${tokens.boxShadow}: 0px 4px 14px -4px rgba(8, 8, 8, 0.08), 0px 1px 4px -1px rgba(0, 0, 0, 0.04);
|
|
45
|
+
${tokens.itemBackground}: var(--plasma-colors-transparent);
|
|
46
|
+
${tokens.itemBackgroundHover}: var(--surface-transparent-accent);
|
|
47
|
+
${tokens.itemColor}: var(--text-primary);
|
|
48
|
+
|
|
49
|
+
${tokens.infiniteLoaderSpinnerColor}: var(--text-primary);
|
|
50
|
+
|
|
51
|
+
${tokens.dropdownBorderColor}: var(--surface-solid-primary);
|
|
52
|
+
`,
|
|
53
|
+
negative: css`
|
|
54
|
+
${tokens.textFieldColor}: var(--text-primary);
|
|
55
|
+
${tokens.textFieldClearColor}: var(--text-primary);
|
|
56
|
+
|
|
57
|
+
${tokens.textFieldPlaceholderColor}: var(--text-secondary);
|
|
58
|
+
${tokens.textFieldPlaceholderColorFocus}: var(--text-tertiary);
|
|
59
|
+
${tokens.textFieldClearPlaceholderColor}: var(--text-secondary);
|
|
60
|
+
${tokens.textFieldClearPlaceholderColorFocus}: var(--text-tertiary);
|
|
61
|
+
|
|
62
|
+
${tokens.textFieldBackgroundColor}: var(--surface-solid-card);
|
|
63
|
+
${tokens.textFieldBackgroundColorFocus}: var(--surface-solid-card);
|
|
64
|
+
${tokens.textFieldCaretColor}: var(--text-accent);
|
|
65
|
+
${tokens.textFieldTextBeforeColor}: var(--text-secondary);
|
|
66
|
+
${tokens.textFieldTextAfterColor}: var(--text-secondary);
|
|
67
|
+
${tokens.textFieldLabelColor}: var(--text-primary);
|
|
68
|
+
${tokens.textFieldLeftHelperColor}: var(--text-negative);
|
|
69
|
+
${tokens.textFieldFocusColor}: var(--text-accent);
|
|
70
|
+
|
|
71
|
+
${tokens.textFieldContentSlotColor}: var(--text-secondary);
|
|
72
|
+
${tokens.textFieldContentSlotColorHover}: var(--text-secondary-hover);
|
|
73
|
+
${tokens.textFieldContentSlotColorActive}: var(--text-secondary-active);
|
|
74
|
+
${tokens.textFieldContentSlotRightColor}: var(--text-accent);
|
|
75
|
+
${tokens.textFieldContentSlotRightColorHover}: var(--text-accent-minor);
|
|
76
|
+
${tokens.textFieldContentSlotRightColorActive}: var(--text-accent-active);
|
|
77
|
+
|
|
78
|
+
${tokens.focusColor}: var(--surface-accent);
|
|
79
|
+
${tokens.textFieldIndicatorColor}: var(--surface-negative);
|
|
80
|
+
${tokens.textFieldOptionalColor}: var(--text-tertiary);
|
|
81
|
+
|
|
82
|
+
${tokens.textFieldBorderColor}: var(--outline-negative);
|
|
83
|
+
${tokens.textFieldBorderColorHover}: var(--outline-negative-hover);
|
|
84
|
+
${tokens.textFieldBorderColorFocus}: var(--outline-accent);
|
|
85
|
+
|
|
86
|
+
${tokens.background}: var(--surface-solid-card);
|
|
87
|
+
${tokens.boxShadow}: 0px 4px 14px -4px rgba(8, 8, 8, 0.08), 0px 1px 4px -1px rgba(0, 0, 0, 0.04);
|
|
88
|
+
${tokens.itemBackground}: var(--plasma-colors-transparent);
|
|
89
|
+
${tokens.itemBackgroundHover}: var(--surface-transparent-accent);
|
|
90
|
+
${tokens.itemColor}: var(--text-primary);
|
|
91
|
+
|
|
92
|
+
${tokens.infiniteLoaderSpinnerColor}: var(--text-primary);
|
|
93
|
+
|
|
94
|
+
${tokens.dropdownBorderColor}: var(--surface-solid-primary);
|
|
95
|
+
`
|
|
230
96
|
},
|
|
231
97
|
size: {
|
|
232
|
-
s: css
|
|
98
|
+
s: css`
|
|
99
|
+
${tokens.textFieldHeight}: 2.5rem;
|
|
100
|
+
${tokens.textFieldPadding}: 0.6875rem 0.75rem 0.6875rem 0.75rem;
|
|
101
|
+
${tokens.textFieldBorderRadius}: 0.75rem;
|
|
102
|
+
${tokens.textFieldBorderWidth}: 0.125rem;
|
|
103
|
+
|
|
104
|
+
${tokens.textFieldLeftContentMargin}: -0.1875rem 0.25rem -0.1875rem -0.125rem;
|
|
105
|
+
${tokens.textFieldRightContentMargin}: -0.1875rem -0.125rem -0.1875rem 0.75rem;
|
|
106
|
+
|
|
107
|
+
${tokens.textFieldTextBeforeMargin}: 0 0.25rem 0 0;
|
|
108
|
+
${tokens.textFieldTextAfterMargin}: 0 0 0 0.25rem;
|
|
109
|
+
|
|
110
|
+
${tokens.textFieldFontFamily}: var(--plasma-typo-body-m-font-family);
|
|
111
|
+
${tokens.textFieldFontSize}: var(--plasma-typo-body-m-font-size);
|
|
112
|
+
${tokens.textFieldFontStyle}: var(--plasma-typo-body-m-font-style);
|
|
113
|
+
${tokens.textFieldFontWeight}: var(--plasma-typo-body-m-font-weight);
|
|
114
|
+
${tokens.textFieldLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
|
|
115
|
+
${tokens.textFieldLineHeight}: var(--plasma-typo-body-m-line-height);
|
|
116
|
+
|
|
117
|
+
${tokens.textFieldLabelOffset}: 0.5rem;
|
|
118
|
+
${tokens.textFieldLabelFontFamily}: var(--plasma-typo-body-s-font-family);
|
|
119
|
+
${tokens.textFieldLabelFontSize}: var(--plasma-typo-body-s-font-size);
|
|
120
|
+
${tokens.textFieldLabelFontStyle}: var(--plasma-typo-body-s-font-style);
|
|
121
|
+
${tokens.textFieldLabelFontWeight}: var(--plasma-typo-body-s-font-weight);
|
|
122
|
+
${tokens.textFieldLabelLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
|
|
123
|
+
${tokens.textFieldLabelLineHeight}: var(--plasma-typo-body-s-line-height);
|
|
124
|
+
|
|
125
|
+
${tokens.textFieldLeftHelperOffset}: 0.25rem;
|
|
126
|
+
${tokens.textFieldLeftHelperFontFamily}: var(--plasma-typo-body-s-font-family);
|
|
127
|
+
${tokens.textFieldLeftHelperFontSize}: var(--plasma-typo-body-s-font-size);
|
|
128
|
+
${tokens.textFieldLeftHelperFontStyle}: var(--plasma-typo-body-s-font-style);
|
|
129
|
+
${tokens.textFieldLeftHelperFontWeight}: var(--plasma-typo-body-s-font-weight);
|
|
130
|
+
${tokens.textFieldLeftHelperLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
|
|
131
|
+
${tokens.textFieldLeftHelperLineHeight}: var(--plasma-typo-body-s-line-height);
|
|
132
|
+
|
|
133
|
+
${tokens.textFieldLabelInnerPadding}: 0.3125rem 0 0 0;
|
|
134
|
+
${tokens.textFieldContentLabelInnerPadding}: 1.0625rem 0 0.3125rem 0;
|
|
135
|
+
|
|
136
|
+
${tokens.textFieldIndicatorSizeInner}: 0.375rem;
|
|
137
|
+
${tokens.textFieldIndicatorSizeOuter}: 0.375rem;
|
|
138
|
+
${tokens.textFieldIndicatorLabelPlacementInner}: 0 0 0 0;
|
|
139
|
+
${tokens.textFieldIndicatorLabelPlacementOuter}: 0.3125rem auto auto -0.6875rem;
|
|
140
|
+
${tokens.textFieldIndicatorLabelPlacementInnerRight}: 0 0 auto auto;
|
|
141
|
+
${tokens.textFieldIndicatorLabelPlacementOuterRight}: 0.25rem -0.625rem auto auto;
|
|
142
|
+
${tokens.textFieldClearIndicatorLabelPlacementInner}: 1.063rem auto auto -0.75rem;
|
|
143
|
+
${tokens.textFieldClearIndicatorLabelPlacementInnerRight}: 1.063rem -0.75rem auto auto;
|
|
144
|
+
${tokens.textFieldClearIndicatorHintInnerRight}: 1.063rem -2.125rem auto auto;
|
|
145
|
+
|
|
146
|
+
${tokens.borderRadius}: 0.75rem;
|
|
147
|
+
${tokens.padding}: 0.125rem;
|
|
148
|
+
${tokens.itemPadding}: 0.6875rem 0.75rem;
|
|
149
|
+
${tokens.itemBorderRadius}: 0.5rem;
|
|
150
|
+
|
|
151
|
+
${tokens.itemFontFamily}: var(--plasma-typo-body-m-font-family);
|
|
152
|
+
${tokens.itemFontSize}: var(--plasma-typo-body-m-font-size);
|
|
153
|
+
${tokens.itemFontStyle}: var(--plasma-typo-body-m-font-style);
|
|
154
|
+
${tokens.itemFontWeight}: var(--plasma-typo-body-m-font-weight);
|
|
155
|
+
${tokens.itemFontLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
|
|
156
|
+
${tokens.itemFontLineHeight}: var(--plasma-typo-body-m-line-height);
|
|
157
|
+
|
|
158
|
+
${tokens.emptyStatePadding}: 1.375rem 0.625rem 0.625rem 0.625rem;
|
|
159
|
+
${tokens.emptyStateGap}: 0.25rem;
|
|
160
|
+
|
|
161
|
+
${tokens.infiniteLoaderSpinnerSize}: 1.5rem;
|
|
162
|
+
${tokens.infiniteLoaderGap}: 0.25rem;
|
|
163
|
+
|
|
164
|
+
${tokens.dropdownBorderWidth}: 0.125rem;
|
|
165
|
+
`
|
|
233
166
|
},
|
|
234
167
|
labelPlacement: {
|
|
235
|
-
inner: css
|
|
236
|
-
|
|
168
|
+
inner: css`
|
|
169
|
+
${tokens.textFieldPlaceholderColor}: var(--plasma-input-label-color, var(--plasma-input-placeholder-color, var(--plasma-colors-secondary)));
|
|
170
|
+
${tokens.textFieldLabelInnerFontFamily}: var(--plasma-typo-body-xs-font-family);
|
|
171
|
+
${tokens.textFieldLabelInnerFontSize}: var(--plasma-typo-body-xs-font-size);
|
|
172
|
+
${tokens.textFieldLabelInnerFontStyle}: var(--plasma-typo-body-xs-font-style);
|
|
173
|
+
${tokens.textFieldLabelInnerFontWeight}: var(--plasma-typo-body-xs-font-weight);
|
|
174
|
+
${tokens.textFieldLabelInnerLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
|
|
175
|
+
${tokens.textFieldLabelInnerLineHeight}: var(--plasma-typo-body-xs-line-height);
|
|
176
|
+
`,
|
|
177
|
+
outer: css``
|
|
237
178
|
},
|
|
238
179
|
disabled: {
|
|
239
|
-
true: css
|
|
180
|
+
true: css`
|
|
181
|
+
${tokens.itemColor}: var(--text-secondary);
|
|
182
|
+
${tokens.background}: var(--surface-solid-primary);
|
|
183
|
+
${tokens.textFieldColor}: var(--text-secondary);
|
|
184
|
+
${tokens.textFieldLabelColor}: var(--text-secondary);
|
|
185
|
+
${tokens.textFieldBackgroundColor}: var(--surface-solid-primary);
|
|
186
|
+
${tokens.textFieldBackgroundColorHover}: var(--surface-solid-primary);
|
|
187
|
+
${tokens.textFieldBackgroundColorFocus}: var(--surface-solid-primary);
|
|
188
|
+
${tokens.textFieldBorderColor}: var(--surface-solid-primary);
|
|
189
|
+
${tokens.textFieldBorderColorHover}: var(--surface-solid-primary);
|
|
190
|
+
${tokens.textFieldBorderColorFocus}: var(--surface-solid-primary);
|
|
191
|
+
`
|
|
240
192
|
},
|
|
241
193
|
readOnly: {
|
|
242
|
-
true: css
|
|
194
|
+
true: css`
|
|
195
|
+
${tokens.textFieldColorReadOnly}: var(--text-primary);
|
|
196
|
+
${tokens.textFieldBackgroundColorReadOnly}: var(--surface-clear);
|
|
197
|
+
${tokens.textFieldBorderColorReadOnly}: var(--surface-clear);
|
|
198
|
+
${tokens.textFieldPlaceholderColorReadOnly}: var(--text-secondary);
|
|
199
|
+
${tokens.textFieldLeftHelperColorReadOnly}: var(--text-secondary);
|
|
200
|
+
${tokens.textFieldLabelColorReadOnly}: var(--text-secondary);
|
|
201
|
+
${tokens.textFieldBorderColor}: transparent;
|
|
202
|
+
${tokens.textFieldBorderWidth}: 0;
|
|
203
|
+
`
|
|
243
204
|
}
|
|
244
205
|
}
|
|
245
206
|
};
|
|
@@ -1,63 +1,12 @@
|
|
|
1
|
-
function _define_property(obj, key, value) {
|
|
2
|
-
if (key in obj) {
|
|
3
|
-
Object.defineProperty(obj, key, {
|
|
4
|
-
value: value,
|
|
5
|
-
enumerable: true,
|
|
6
|
-
configurable: true,
|
|
7
|
-
writable: true
|
|
8
|
-
});
|
|
9
|
-
} else {
|
|
10
|
-
obj[key] = value;
|
|
11
|
-
}
|
|
12
|
-
return obj;
|
|
13
|
-
}
|
|
14
|
-
function _object_spread(target) {
|
|
15
|
-
for(var i = 1; i < arguments.length; i++){
|
|
16
|
-
var source = arguments[i] != null ? arguments[i] : {};
|
|
17
|
-
var ownKeys = Object.keys(source);
|
|
18
|
-
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
19
|
-
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
20
|
-
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
21
|
-
}));
|
|
22
|
-
}
|
|
23
|
-
ownKeys.forEach(function(key) {
|
|
24
|
-
_define_property(target, key, source[key]);
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
return target;
|
|
28
|
-
}
|
|
29
|
-
function ownKeys(object, enumerableOnly) {
|
|
30
|
-
var keys = Object.keys(object);
|
|
31
|
-
if (Object.getOwnPropertySymbols) {
|
|
32
|
-
var symbols = Object.getOwnPropertySymbols(object);
|
|
33
|
-
if (enumerableOnly) {
|
|
34
|
-
symbols = symbols.filter(function(sym) {
|
|
35
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
keys.push.apply(keys, symbols);
|
|
39
|
-
}
|
|
40
|
-
return keys;
|
|
41
|
-
}
|
|
42
|
-
function _object_spread_props(target, source) {
|
|
43
|
-
source = source != null ? source : {};
|
|
44
|
-
if (Object.getOwnPropertyDescriptors) {
|
|
45
|
-
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
46
|
-
} else {
|
|
47
|
-
ownKeys(Object(source)).forEach(function(key) {
|
|
48
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
return target;
|
|
52
|
-
}
|
|
53
1
|
import { autocompleteConfig, component, mergeConfig, fixedForwardRef } from '@salutejs/plasma-new-hope/emotion';
|
|
54
2
|
import React from 'react';
|
|
55
3
|
import { config } from './Autocomplete.config';
|
|
56
|
-
|
|
57
|
-
export
|
|
58
|
-
|
|
59
|
-
return /*#__PURE__*/ React.createElement(AutocompleteComponent,
|
|
4
|
+
const mergedConfig = mergeConfig(autocompleteConfig, config);
|
|
5
|
+
export const AutocompleteComponent = component(mergedConfig);
|
|
6
|
+
const AutocompleteWithoutRef = (props, ref)=>{
|
|
7
|
+
return /*#__PURE__*/ React.createElement(AutocompleteComponent, {
|
|
8
|
+
...props,
|
|
60
9
|
ref: ref
|
|
61
|
-
})
|
|
10
|
+
});
|
|
62
11
|
};
|
|
63
|
-
export
|
|
12
|
+
export const Autocomplete = fixedForwardRef(AutocompleteWithoutRef);
|