@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,146 +1,96 @@
|
|
|
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(--plasma-typo-h1-font-family);\n ",
|
|
15
|
-
": var(--plasma-typo-h1-font-size);\n ",
|
|
16
|
-
": var(--plasma-typo-h1-font-style);\n ",
|
|
17
|
-
": var(--plasma-typo-h1-font-weight);\n ",
|
|
18
|
-
": var(--plasma-typo-h1-bold-font-weight);\n ",
|
|
19
|
-
": var(--plasma-typo-h1-medium-font-weight);\n ",
|
|
20
|
-
": var(--plasma-typo-h1-letter-spacing);\n ",
|
|
21
|
-
": var(--plasma-typo-h1-line-height);\n "
|
|
22
|
-
]);
|
|
23
|
-
_templateObject = function _templateObject() {
|
|
24
|
-
return data;
|
|
25
|
-
};
|
|
26
|
-
return data;
|
|
27
|
-
}
|
|
28
|
-
function _templateObject1() {
|
|
29
|
-
var data = _tagged_template_literal([
|
|
30
|
-
"\n ",
|
|
31
|
-
": var(--plasma-typo-h2-font-family);\n ",
|
|
32
|
-
": var(--plasma-typo-h2-font-size);\n ",
|
|
33
|
-
": var(--plasma-typo-h2-font-style);\n ",
|
|
34
|
-
": var(--plasma-typo-h2-font-weight);\n ",
|
|
35
|
-
": var(--plasma-typo-h2-bold-font-weight);\n ",
|
|
36
|
-
": var(--plasma-typo-h2-medium-font-weight);\n ",
|
|
37
|
-
": var(--plasma-typo-h2-letter-spacing);\n ",
|
|
38
|
-
": var(--plasma-typo-h2-line-height);\n "
|
|
39
|
-
]);
|
|
40
|
-
_templateObject1 = function _templateObject() {
|
|
41
|
-
return data;
|
|
42
|
-
};
|
|
43
|
-
return data;
|
|
44
|
-
}
|
|
45
|
-
function _templateObject2() {
|
|
46
|
-
var data = _tagged_template_literal([
|
|
47
|
-
"\n ",
|
|
48
|
-
": var(--plasma-typo-h3-font-family);\n ",
|
|
49
|
-
": var(--plasma-typo-h3-font-size);\n ",
|
|
50
|
-
": var(--plasma-typo-h3-font-style);\n ",
|
|
51
|
-
": var(--plasma-typo-h3-font-weight);\n ",
|
|
52
|
-
": var(--plasma-typo-h3-bold-font-weight);\n ",
|
|
53
|
-
": var(--plasma-typo-h3-medium-font-weight);\n ",
|
|
54
|
-
": var(--plasma-typo-h3-letter-spacing);\n ",
|
|
55
|
-
": var(--plasma-typo-h3-line-height);\n "
|
|
56
|
-
]);
|
|
57
|
-
_templateObject2 = function _templateObject() {
|
|
58
|
-
return data;
|
|
59
|
-
};
|
|
60
|
-
return data;
|
|
61
|
-
}
|
|
62
|
-
function _templateObject3() {
|
|
63
|
-
var data = _tagged_template_literal([
|
|
64
|
-
"\n ",
|
|
65
|
-
": var(--plasma-typo-h4-font-family);\n ",
|
|
66
|
-
": var(--plasma-typo-h4-font-size);\n ",
|
|
67
|
-
": var(--plasma-typo-h4-font-style);\n ",
|
|
68
|
-
": var(--plasma-typo-h4-font-weight);\n ",
|
|
69
|
-
": var(--plasma-typo-h4-bold-font-weight);\n ",
|
|
70
|
-
": var(--plasma-typo-h4-medium-font-weight);\n ",
|
|
71
|
-
": var(--plasma-typo-h4-letter-spacing);\n ",
|
|
72
|
-
": var(--plasma-typo-h4-line-height);\n "
|
|
73
|
-
]);
|
|
74
|
-
_templateObject3 = function _templateObject() {
|
|
75
|
-
return data;
|
|
76
|
-
};
|
|
77
|
-
return data;
|
|
78
|
-
}
|
|
79
|
-
function _templateObject4() {
|
|
80
|
-
var data = _tagged_template_literal([
|
|
81
|
-
"\n ",
|
|
82
|
-
": var(--plasma-typo-h5-font-family);\n ",
|
|
83
|
-
": var(--plasma-typo-h5-font-size);\n ",
|
|
84
|
-
": var(--plasma-typo-h5-font-style);\n ",
|
|
85
|
-
": var(--plasma-typo-h5-font-weight);\n ",
|
|
86
|
-
": var(--plasma-typo-h5-bold-font-weight);\n ",
|
|
87
|
-
": var(--plasma-typo-h5-medium-font-weight);\n ",
|
|
88
|
-
": var(--plasma-typo-h5-letter-spacing);\n ",
|
|
89
|
-
": var(--plasma-typo-h5-line-height);\n "
|
|
90
|
-
]);
|
|
91
|
-
_templateObject4 = function _templateObject() {
|
|
92
|
-
return data;
|
|
93
|
-
};
|
|
94
|
-
return data;
|
|
95
|
-
}
|
|
96
1
|
import { css, typographyTokens } from '@salutejs/plasma-new-hope/emotion';
|
|
97
|
-
export
|
|
2
|
+
export const configH1 = {
|
|
98
3
|
defaults: {
|
|
99
4
|
size: 'h1'
|
|
100
5
|
},
|
|
101
6
|
variations: {
|
|
102
7
|
size: {
|
|
103
|
-
h1: css
|
|
8
|
+
h1: css`
|
|
9
|
+
${typographyTokens.typoFontFamily}: var(--plasma-typo-h1-font-family);
|
|
10
|
+
${typographyTokens.typoFontSize}: var(--plasma-typo-h1-font-size);
|
|
11
|
+
${typographyTokens.typoFontStyle}: var(--plasma-typo-h1-font-style);
|
|
12
|
+
${typographyTokens.typoFontWeight}: var(--plasma-typo-h1-font-weight);
|
|
13
|
+
${typographyTokens.typoFontWeightBold}: var(--plasma-typo-h1-bold-font-weight);
|
|
14
|
+
${typographyTokens.typoFontWeightMedium}: var(--plasma-typo-h1-medium-font-weight);
|
|
15
|
+
${typographyTokens.typoFontLetterSpacing}: var(--plasma-typo-h1-letter-spacing);
|
|
16
|
+
${typographyTokens.typoFontLineHeight}: var(--plasma-typo-h1-line-height);
|
|
17
|
+
`
|
|
104
18
|
}
|
|
105
19
|
}
|
|
106
20
|
};
|
|
107
|
-
export
|
|
21
|
+
export const configH2 = {
|
|
108
22
|
defaults: {
|
|
109
23
|
size: 'h2'
|
|
110
24
|
},
|
|
111
25
|
variations: {
|
|
112
26
|
size: {
|
|
113
|
-
h2: css
|
|
27
|
+
h2: css`
|
|
28
|
+
${typographyTokens.typoFontFamily}: var(--plasma-typo-h2-font-family);
|
|
29
|
+
${typographyTokens.typoFontSize}: var(--plasma-typo-h2-font-size);
|
|
30
|
+
${typographyTokens.typoFontStyle}: var(--plasma-typo-h2-font-style);
|
|
31
|
+
${typographyTokens.typoFontWeight}: var(--plasma-typo-h2-font-weight);
|
|
32
|
+
${typographyTokens.typoFontWeightBold}: var(--plasma-typo-h2-bold-font-weight);
|
|
33
|
+
${typographyTokens.typoFontWeightMedium}: var(--plasma-typo-h2-medium-font-weight);
|
|
34
|
+
${typographyTokens.typoFontLetterSpacing}: var(--plasma-typo-h2-letter-spacing);
|
|
35
|
+
${typographyTokens.typoFontLineHeight}: var(--plasma-typo-h2-line-height);
|
|
36
|
+
`
|
|
114
37
|
}
|
|
115
38
|
}
|
|
116
39
|
};
|
|
117
|
-
export
|
|
40
|
+
export const configH3 = {
|
|
118
41
|
defaults: {
|
|
119
42
|
size: 'h3'
|
|
120
43
|
},
|
|
121
44
|
variations: {
|
|
122
45
|
size: {
|
|
123
|
-
h3: css
|
|
46
|
+
h3: css`
|
|
47
|
+
${typographyTokens.typoFontFamily}: var(--plasma-typo-h3-font-family);
|
|
48
|
+
${typographyTokens.typoFontSize}: var(--plasma-typo-h3-font-size);
|
|
49
|
+
${typographyTokens.typoFontStyle}: var(--plasma-typo-h3-font-style);
|
|
50
|
+
${typographyTokens.typoFontWeight}: var(--plasma-typo-h3-font-weight);
|
|
51
|
+
${typographyTokens.typoFontWeightBold}: var(--plasma-typo-h3-bold-font-weight);
|
|
52
|
+
${typographyTokens.typoFontWeightMedium}: var(--plasma-typo-h3-medium-font-weight);
|
|
53
|
+
${typographyTokens.typoFontLetterSpacing}: var(--plasma-typo-h3-letter-spacing);
|
|
54
|
+
${typographyTokens.typoFontLineHeight}: var(--plasma-typo-h3-line-height);
|
|
55
|
+
`
|
|
124
56
|
}
|
|
125
57
|
}
|
|
126
58
|
};
|
|
127
|
-
export
|
|
59
|
+
export const configH4 = {
|
|
128
60
|
defaults: {
|
|
129
61
|
size: 'h4'
|
|
130
62
|
},
|
|
131
63
|
variations: {
|
|
132
64
|
size: {
|
|
133
|
-
h4: css
|
|
65
|
+
h4: css`
|
|
66
|
+
${typographyTokens.typoFontFamily}: var(--plasma-typo-h4-font-family);
|
|
67
|
+
${typographyTokens.typoFontSize}: var(--plasma-typo-h4-font-size);
|
|
68
|
+
${typographyTokens.typoFontStyle}: var(--plasma-typo-h4-font-style);
|
|
69
|
+
${typographyTokens.typoFontWeight}: var(--plasma-typo-h4-font-weight);
|
|
70
|
+
${typographyTokens.typoFontWeightBold}: var(--plasma-typo-h4-bold-font-weight);
|
|
71
|
+
${typographyTokens.typoFontWeightMedium}: var(--plasma-typo-h4-medium-font-weight);
|
|
72
|
+
${typographyTokens.typoFontLetterSpacing}: var(--plasma-typo-h4-letter-spacing);
|
|
73
|
+
${typographyTokens.typoFontLineHeight}: var(--plasma-typo-h4-line-height);
|
|
74
|
+
`
|
|
134
75
|
}
|
|
135
76
|
}
|
|
136
77
|
};
|
|
137
|
-
export
|
|
78
|
+
export const configH5 = {
|
|
138
79
|
defaults: {
|
|
139
80
|
size: 'h5'
|
|
140
81
|
},
|
|
141
82
|
variations: {
|
|
142
83
|
size: {
|
|
143
|
-
h5: css
|
|
84
|
+
h5: css`
|
|
85
|
+
${typographyTokens.typoFontFamily}: var(--plasma-typo-h5-font-family);
|
|
86
|
+
${typographyTokens.typoFontSize}: var(--plasma-typo-h5-font-size);
|
|
87
|
+
${typographyTokens.typoFontStyle}: var(--plasma-typo-h5-font-style);
|
|
88
|
+
${typographyTokens.typoFontWeight}: var(--plasma-typo-h5-font-weight);
|
|
89
|
+
${typographyTokens.typoFontWeightBold}: var(--plasma-typo-h5-bold-font-weight);
|
|
90
|
+
${typographyTokens.typoFontWeightMedium}: var(--plasma-typo-h5-medium-font-weight);
|
|
91
|
+
${typographyTokens.typoFontLetterSpacing}: var(--plasma-typo-h5-letter-spacing);
|
|
92
|
+
${typographyTokens.typoFontLineHeight}: var(--plasma-typo-h5-line-height);
|
|
93
|
+
`
|
|
144
94
|
}
|
|
145
95
|
}
|
|
146
96
|
};
|
|
@@ -1,119 +1,77 @@
|
|
|
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(--plasma-typo-text-l-font-family);\n ",
|
|
15
|
-
": var(--plasma-typo-text-l-font-size);\n ",
|
|
16
|
-
": var(--plasma-typo-text-l-font-style);\n ",
|
|
17
|
-
": var(--plasma-typo-text-l-font-weight);\n ",
|
|
18
|
-
": var(--plasma-typo-text-l-bold-font-weight);\n ",
|
|
19
|
-
": var(--plasma-typo-text-l-medium-font-weight);\n ",
|
|
20
|
-
": var(--plasma-typo-text-l-letter-spacing);\n ",
|
|
21
|
-
": var(--plasma-typo-text-l-line-height);\n "
|
|
22
|
-
]);
|
|
23
|
-
_templateObject = function _templateObject() {
|
|
24
|
-
return data;
|
|
25
|
-
};
|
|
26
|
-
return data;
|
|
27
|
-
}
|
|
28
|
-
function _templateObject1() {
|
|
29
|
-
var data = _tagged_template_literal([
|
|
30
|
-
"\n ",
|
|
31
|
-
": var(--plasma-typo-text-m-font-family);\n ",
|
|
32
|
-
": var(--plasma-typo-text-m-font-size);\n ",
|
|
33
|
-
": var(--plasma-typo-text-m-font-style);\n ",
|
|
34
|
-
": var(--plasma-typo-text-m-font-weight);\n ",
|
|
35
|
-
": var(--plasma-typo-text-m-bold-font-weight);\n ",
|
|
36
|
-
": var(--plasma-typo-text-m-medium-font-weight);\n ",
|
|
37
|
-
": var(--plasma-typo-text-m-letter-spacing);\n ",
|
|
38
|
-
": var(--plasma-typo-text-m-line-height);\n "
|
|
39
|
-
]);
|
|
40
|
-
_templateObject1 = function _templateObject() {
|
|
41
|
-
return data;
|
|
42
|
-
};
|
|
43
|
-
return data;
|
|
44
|
-
}
|
|
45
|
-
function _templateObject2() {
|
|
46
|
-
var data = _tagged_template_literal([
|
|
47
|
-
"\n ",
|
|
48
|
-
": var(--plasma-typo-text-s-font-family);\n ",
|
|
49
|
-
": var(--plasma-typo-text-s-font-size);\n ",
|
|
50
|
-
": var(--plasma-typo-text-s-font-style);\n ",
|
|
51
|
-
": var(--plasma-typo-text-s-font-weight);\n ",
|
|
52
|
-
": var(--plasma-typo-text-s-bold-font-weight);\n ",
|
|
53
|
-
": var(--plasma-typo-text-s-medium-font-weight);\n ",
|
|
54
|
-
": var(--plasma-typo-text-s-letter-spacing);\n ",
|
|
55
|
-
": var(--plasma-typo-text-s-line-height);\n "
|
|
56
|
-
]);
|
|
57
|
-
_templateObject2 = function _templateObject() {
|
|
58
|
-
return data;
|
|
59
|
-
};
|
|
60
|
-
return data;
|
|
61
|
-
}
|
|
62
|
-
function _templateObject3() {
|
|
63
|
-
var data = _tagged_template_literal([
|
|
64
|
-
"\n ",
|
|
65
|
-
": var(--plasma-typo-text-xs-font-family);\n ",
|
|
66
|
-
": var(--plasma-typo-text-xs-font-size);\n ",
|
|
67
|
-
": var(--plasma-typo-text-xs-font-style);\n ",
|
|
68
|
-
": var(--plasma-typo-text-xs-font-weight);\n ",
|
|
69
|
-
": var(--plasma-typo-text-xs-bold-font-weight);\n ",
|
|
70
|
-
": var(--plasma-typo-text-xs-medium-font-weight);\n ",
|
|
71
|
-
": var(--plasma-typo-text-xs-letter-spacing);\n ",
|
|
72
|
-
": var(--plasma-typo-text-xs-line-height);\n "
|
|
73
|
-
]);
|
|
74
|
-
_templateObject3 = function _templateObject() {
|
|
75
|
-
return data;
|
|
76
|
-
};
|
|
77
|
-
return data;
|
|
78
|
-
}
|
|
79
1
|
import { css, typographyTokens } from '@salutejs/plasma-new-hope/emotion';
|
|
80
|
-
export
|
|
2
|
+
export const configL = {
|
|
81
3
|
defaults: {
|
|
82
4
|
size: 'l'
|
|
83
5
|
},
|
|
84
6
|
variations: {
|
|
85
7
|
size: {
|
|
86
|
-
l: css
|
|
8
|
+
l: css`
|
|
9
|
+
${typographyTokens.typoFontFamily}: var(--plasma-typo-text-l-font-family);
|
|
10
|
+
${typographyTokens.typoFontSize}: var(--plasma-typo-text-l-font-size);
|
|
11
|
+
${typographyTokens.typoFontStyle}: var(--plasma-typo-text-l-font-style);
|
|
12
|
+
${typographyTokens.typoFontWeight}: var(--plasma-typo-text-l-font-weight);
|
|
13
|
+
${typographyTokens.typoFontWeightBold}: var(--plasma-typo-text-l-bold-font-weight);
|
|
14
|
+
${typographyTokens.typoFontWeightMedium}: var(--plasma-typo-text-l-medium-font-weight);
|
|
15
|
+
${typographyTokens.typoFontLetterSpacing}: var(--plasma-typo-text-l-letter-spacing);
|
|
16
|
+
${typographyTokens.typoFontLineHeight}: var(--plasma-typo-text-l-line-height);
|
|
17
|
+
`
|
|
87
18
|
}
|
|
88
19
|
}
|
|
89
20
|
};
|
|
90
|
-
export
|
|
21
|
+
export const configM = {
|
|
91
22
|
defaults: {
|
|
92
23
|
size: 'm'
|
|
93
24
|
},
|
|
94
25
|
variations: {
|
|
95
26
|
size: {
|
|
96
|
-
m: css
|
|
27
|
+
m: css`
|
|
28
|
+
${typographyTokens.typoFontFamily}: var(--plasma-typo-text-m-font-family);
|
|
29
|
+
${typographyTokens.typoFontSize}: var(--plasma-typo-text-m-font-size);
|
|
30
|
+
${typographyTokens.typoFontStyle}: var(--plasma-typo-text-m-font-style);
|
|
31
|
+
${typographyTokens.typoFontWeight}: var(--plasma-typo-text-m-font-weight);
|
|
32
|
+
${typographyTokens.typoFontWeightBold}: var(--plasma-typo-text-m-bold-font-weight);
|
|
33
|
+
${typographyTokens.typoFontWeightMedium}: var(--plasma-typo-text-m-medium-font-weight);
|
|
34
|
+
${typographyTokens.typoFontLetterSpacing}: var(--plasma-typo-text-m-letter-spacing);
|
|
35
|
+
${typographyTokens.typoFontLineHeight}: var(--plasma-typo-text-m-line-height);
|
|
36
|
+
`
|
|
97
37
|
}
|
|
98
38
|
}
|
|
99
39
|
};
|
|
100
|
-
export
|
|
40
|
+
export const configS = {
|
|
101
41
|
defaults: {
|
|
102
42
|
size: 's'
|
|
103
43
|
},
|
|
104
44
|
variations: {
|
|
105
45
|
size: {
|
|
106
|
-
s: css
|
|
46
|
+
s: css`
|
|
47
|
+
${typographyTokens.typoFontFamily}: var(--plasma-typo-text-s-font-family);
|
|
48
|
+
${typographyTokens.typoFontSize}: var(--plasma-typo-text-s-font-size);
|
|
49
|
+
${typographyTokens.typoFontStyle}: var(--plasma-typo-text-s-font-style);
|
|
50
|
+
${typographyTokens.typoFontWeight}: var(--plasma-typo-text-s-font-weight);
|
|
51
|
+
${typographyTokens.typoFontWeightBold}: var(--plasma-typo-text-s-bold-font-weight);
|
|
52
|
+
${typographyTokens.typoFontWeightMedium}: var(--plasma-typo-text-s-medium-font-weight);
|
|
53
|
+
${typographyTokens.typoFontLetterSpacing}: var(--plasma-typo-text-s-letter-spacing);
|
|
54
|
+
${typographyTokens.typoFontLineHeight}: var(--plasma-typo-text-s-line-height);
|
|
55
|
+
`
|
|
107
56
|
}
|
|
108
57
|
}
|
|
109
58
|
};
|
|
110
|
-
export
|
|
59
|
+
export const configXS = {
|
|
111
60
|
defaults: {
|
|
112
61
|
size: 'xs'
|
|
113
62
|
},
|
|
114
63
|
variations: {
|
|
115
64
|
size: {
|
|
116
|
-
xs: css
|
|
65
|
+
xs: css`
|
|
66
|
+
${typographyTokens.typoFontFamily}: var(--plasma-typo-text-xs-font-family);
|
|
67
|
+
${typographyTokens.typoFontSize}: var(--plasma-typo-text-xs-font-size);
|
|
68
|
+
${typographyTokens.typoFontStyle}: var(--plasma-typo-text-xs-font-style);
|
|
69
|
+
${typographyTokens.typoFontWeight}: var(--plasma-typo-text-xs-font-weight);
|
|
70
|
+
${typographyTokens.typoFontWeightBold}: var(--plasma-typo-text-xs-bold-font-weight);
|
|
71
|
+
${typographyTokens.typoFontWeightMedium}: var(--plasma-typo-text-xs-medium-font-weight);
|
|
72
|
+
${typographyTokens.typoFontLetterSpacing}: var(--plasma-typo-text-xs-letter-spacing);
|
|
73
|
+
${typographyTokens.typoFontLineHeight}: var(--plasma-typo-text-xs-line-height);
|
|
74
|
+
`
|
|
117
75
|
}
|
|
118
76
|
}
|
|
119
77
|
};
|
|
@@ -3,54 +3,54 @@ import { configL as bodyConfigLCustom, configM as bodyConfigMCustom, configS as
|
|
|
3
3
|
import { configL as dsplConfigLCustom, configM as dsplConfigMCustom, configS as dsplConfigSCustom } from './Dspl.config';
|
|
4
4
|
import { configH1 as headingConfigH1Custom, configH2 as headingConfigH2Custom, configH3 as headingConfigH3Custom, configH4 as headingConfigH4Custom, configH5 as headingConfigH5Custom } from './Heading.config';
|
|
5
5
|
import { configL as textConfigLCustom, configM as textConfigMCustom, configS as textConfigSCustom, configXS as textConfigXSCustom } from './Text.config';
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
export
|
|
41
|
-
export
|
|
42
|
-
export
|
|
43
|
-
export
|
|
44
|
-
export
|
|
45
|
-
export
|
|
46
|
-
export
|
|
47
|
-
export
|
|
48
|
-
export
|
|
49
|
-
export
|
|
50
|
-
export
|
|
51
|
-
export
|
|
52
|
-
export
|
|
53
|
-
export
|
|
54
|
-
export
|
|
55
|
-
export
|
|
56
|
-
export
|
|
6
|
+
const bodyMConfig = mergeConfig(bodyConfig, bodyConfigMCustom);
|
|
7
|
+
const BodyMComponent = typographyComponent(component(bodyMConfig));
|
|
8
|
+
const bodyLConfig = mergeConfig(bodyConfig, bodyConfigLCustom);
|
|
9
|
+
const BodyLComponent = typographyComponent(component(bodyLConfig));
|
|
10
|
+
const bodySConfig = mergeConfig(bodyConfig, bodyConfigSCustom);
|
|
11
|
+
const BodySComponent = typographyComponent(component(bodySConfig));
|
|
12
|
+
const bodyXSConfig = mergeConfig(bodyConfig, bodyConfigXSCustom);
|
|
13
|
+
const BodyXSComponent = typographyComponent(component(bodyXSConfig));
|
|
14
|
+
const bodyXXSConfig = mergeConfig(bodyConfig, bodyConfigXXSCustom);
|
|
15
|
+
const BodyXXSComponent = typographyComponent(component(bodyXXSConfig));
|
|
16
|
+
const dsplMConfig = mergeConfig(dsplConfig, dsplConfigMCustom);
|
|
17
|
+
const DsplMComponent = typographyComponent(component(dsplMConfig));
|
|
18
|
+
const dsplLConfig = mergeConfig(dsplConfig, dsplConfigLCustom);
|
|
19
|
+
const DsplLComponent = typographyComponent(component(dsplLConfig));
|
|
20
|
+
const dsplSConfig = mergeConfig(dsplConfig, dsplConfigSCustom);
|
|
21
|
+
const DsplSComponent = typographyComponent(component(dsplSConfig));
|
|
22
|
+
const heading1Config = mergeConfig(headingConfig, headingConfigH1Custom);
|
|
23
|
+
const Heading1Component = typographyComponent(component(heading1Config));
|
|
24
|
+
const heading2Config = mergeConfig(headingConfig, headingConfigH2Custom);
|
|
25
|
+
const Heading2Component = typographyComponent(component(heading2Config));
|
|
26
|
+
const heading3Config = mergeConfig(headingConfig, headingConfigH3Custom);
|
|
27
|
+
const Heading3Component = typographyComponent(component(heading3Config));
|
|
28
|
+
const heading4Config = mergeConfig(headingConfig, headingConfigH4Custom);
|
|
29
|
+
const Heading4Component = typographyComponent(component(heading4Config));
|
|
30
|
+
const heading5Config = mergeConfig(headingConfig, headingConfigH5Custom);
|
|
31
|
+
const Heading5Component = typographyComponent(component(heading5Config));
|
|
32
|
+
const textMConfig = mergeConfig(textConfig, textConfigMCustom);
|
|
33
|
+
const TextMComponent = typographyComponent(component(textMConfig));
|
|
34
|
+
const textLConfig = mergeConfig(textConfig, textConfigLCustom);
|
|
35
|
+
const TextLComponent = typographyComponent(component(textLConfig));
|
|
36
|
+
const textSConfig = mergeConfig(textConfig, textConfigSCustom);
|
|
37
|
+
const TextSComponent = typographyComponent(component(textSConfig));
|
|
38
|
+
const textXSConfig = mergeConfig(textConfig, textConfigXSCustom);
|
|
39
|
+
const TextXSComponent = typographyComponent(component(textXSConfig));
|
|
40
|
+
export const BodyM = BodyMComponent;
|
|
41
|
+
export const BodyL = BodyLComponent;
|
|
42
|
+
export const BodyS = BodySComponent;
|
|
43
|
+
export const BodyXS = BodyXSComponent;
|
|
44
|
+
export const BodyXXS = BodyXXSComponent;
|
|
45
|
+
export const DsplM = DsplMComponent;
|
|
46
|
+
export const DsplL = DsplLComponent;
|
|
47
|
+
export const DsplS = DsplSComponent;
|
|
48
|
+
export const H1 = Heading1Component;
|
|
49
|
+
export const H2 = Heading2Component;
|
|
50
|
+
export const H3 = Heading3Component;
|
|
51
|
+
export const H4 = Heading4Component;
|
|
52
|
+
export const H5 = Heading5Component;
|
|
53
|
+
export const TextM = TextMComponent;
|
|
54
|
+
export const TextL = TextLComponent;
|
|
55
|
+
export const TextS = TextSComponent;
|
|
56
|
+
export const TextXS = TextXSComponent;
|
|
@@ -1,40 +1,14 @@
|
|
|
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
|
-
"\n "
|
|
15
|
-
]);
|
|
16
|
-
_templateObject = function _templateObject() {
|
|
17
|
-
return data;
|
|
18
|
-
};
|
|
19
|
-
return data;
|
|
20
|
-
}
|
|
21
|
-
function _templateObject1() {
|
|
22
|
-
var data = _tagged_template_literal([
|
|
23
|
-
"\n ",
|
|
24
|
-
"\n "
|
|
25
|
-
]);
|
|
26
|
-
_templateObject1 = function _templateObject() {
|
|
27
|
-
return data;
|
|
28
|
-
};
|
|
29
|
-
return data;
|
|
30
|
-
}
|
|
31
1
|
import { css } from '@salutejs/plasma-new-hope/emotion';
|
|
32
2
|
import { viewContainer } from '@salutejs/sdds-themes/tokens/sdds_cs';
|
|
33
|
-
export
|
|
3
|
+
export const config = {
|
|
34
4
|
variations: {
|
|
35
5
|
view: {
|
|
36
|
-
onLight: css
|
|
37
|
-
|
|
6
|
+
onLight: css`
|
|
7
|
+
${viewContainer.light}
|
|
8
|
+
`,
|
|
9
|
+
onDark: css`
|
|
10
|
+
${viewContainer.dark}
|
|
11
|
+
`
|
|
38
12
|
}
|
|
39
13
|
}
|
|
40
14
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { viewContainerConfig, component, mergeConfig } from '@salutejs/plasma-new-hope/emotion';
|
|
2
2
|
import { config } from './ViewContainer.config';
|
|
3
|
-
|
|
4
|
-
export
|
|
3
|
+
const mergedConfig = mergeConfig(viewContainerConfig, config);
|
|
4
|
+
export const ViewContainer = component(mergedConfig);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { createApplyPaperMixin } from '@salutejs/plasma-new-hope/emotion';
|
|
2
2
|
import * as allTokens from '@salutejs/sdds-themes/tokens/sdds_cs';
|
|
3
3
|
export { addFocus, mediaQuery } from '@salutejs/plasma-new-hope/emotion';
|
|
4
|
-
export
|
|
4
|
+
export const applyPaper = createApplyPaperMixin(allTokens);
|
package/package.json
CHANGED
|
@@ -1,25 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salutejs/sdds-cs",
|
|
3
|
-
"version": "0.355.0
|
|
3
|
+
"version": "0.355.0",
|
|
4
4
|
"description": "Salute Design System / React UI kit for SDDS CS web applications",
|
|
5
5
|
"author": "Salute Frontend Team <salute.developers@gmail.com>",
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"import": "./dist/emotion/es/index.js",
|
|
9
|
-
"require": "./dist/emotion/cjs/index.js",
|
|
10
|
-
"types": "./types/index.d.ts"
|
|
11
|
-
},
|
|
12
|
-
"./beta": {
|
|
13
|
-
"import": "./dist/beta/es/index.js",
|
|
14
|
-
"require": "./dist/beta/cjs/index.js",
|
|
15
|
-
"types": "./dist/beta/types/index.d.ts"
|
|
16
|
-
}
|
|
6
|
+
"publishConfig": {
|
|
7
|
+
"access": "public"
|
|
17
8
|
},
|
|
9
|
+
"license": "MIT",
|
|
18
10
|
"files": [
|
|
19
11
|
"dist",
|
|
20
12
|
"types"
|
|
21
13
|
],
|
|
22
|
-
"license": "MIT",
|
|
23
14
|
"keywords": [
|
|
24
15
|
"design-system",
|
|
25
16
|
"react-components",
|
|
@@ -31,9 +22,17 @@
|
|
|
31
22
|
"url": "ssh://git@github.com:salute-developers/plasma.git",
|
|
32
23
|
"directory": "packages/sdds-cs"
|
|
33
24
|
},
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
|
|
25
|
+
"exports": {
|
|
26
|
+
".": {
|
|
27
|
+
"import": "./dist/emotion/es/index.js",
|
|
28
|
+
"require": "./dist/emotion/cjs/index.js",
|
|
29
|
+
"types": "./types/index.d.ts"
|
|
30
|
+
},
|
|
31
|
+
"./beta": {
|
|
32
|
+
"import": "./dist/beta/es/index.js",
|
|
33
|
+
"require": "./dist/beta/cjs/index.js",
|
|
34
|
+
"types": "./dist/beta/types/index.d.ts"
|
|
35
|
+
}
|
|
37
36
|
},
|
|
38
37
|
"peerDependencies": {
|
|
39
38
|
"@emotion/react": ">=11",
|
|
@@ -42,6 +41,10 @@
|
|
|
42
41
|
"react-dom": ">=16.13.1",
|
|
43
42
|
"styled-components": "^5.3.1"
|
|
44
43
|
},
|
|
44
|
+
"dependencies": {
|
|
45
|
+
"@salutejs/plasma-new-hope": "0.363.0",
|
|
46
|
+
"@salutejs/sdds-themes": "0.66.0"
|
|
47
|
+
},
|
|
45
48
|
"devDependencies": {
|
|
46
49
|
"@babel/cli": "7.24.1",
|
|
47
50
|
"@babel/core": "7.24.4",
|
|
@@ -53,13 +56,12 @@
|
|
|
53
56
|
"@emotion/babel-plugin": "11.11.0",
|
|
54
57
|
"@emotion/react": ">=11",
|
|
55
58
|
"@emotion/styled": ">=11",
|
|
56
|
-
"@microsoft/api-extractor": "7.38.3",
|
|
57
59
|
"@originjs/vite-plugin-commonjs": "1.0.3",
|
|
58
60
|
"@salutejs/plasma-colors": "0.16.0",
|
|
59
|
-
"@salutejs/plasma-core": "1.227.0
|
|
60
|
-
"@salutejs/plasma-cy-utils": "0.157.0
|
|
61
|
-
"@salutejs/plasma-icons": "1.238.0
|
|
62
|
-
"@salutejs/plasma-sb-utils": "0.227.0
|
|
61
|
+
"@salutejs/plasma-core": "1.227.0",
|
|
62
|
+
"@salutejs/plasma-cy-utils": "0.157.0",
|
|
63
|
+
"@salutejs/plasma-icons": "1.238.0",
|
|
64
|
+
"@salutejs/plasma-sb-utils": "0.227.0",
|
|
63
65
|
"@types/node": "16.7.13",
|
|
64
66
|
"@types/react": "18.0.28",
|
|
65
67
|
"@types/react-dom": "18.0.11",
|
|
@@ -73,12 +75,7 @@
|
|
|
73
75
|
"styled-components": "5.3.1",
|
|
74
76
|
"typescript-coverage-report": "0.7.0"
|
|
75
77
|
},
|
|
76
|
-
"publishConfig": {
|
|
77
|
-
"access": "public"
|
|
78
|
-
},
|
|
79
78
|
"scripts": {
|
|
80
|
-
"preapi-report": "npm run generate:typings",
|
|
81
|
-
"api-report": "npx api-extractor run --local",
|
|
82
79
|
"prepare": "npm run build",
|
|
83
80
|
"build": "npm run build:emotion && npm run build:beta",
|
|
84
81
|
"build:emotion": "rm -rf dist/emotion && npm run build:emotion:esm && npm run build:emotion:cjs",
|
|
@@ -103,9 +100,8 @@
|
|
|
103
100
|
"atLeast": 99.94
|
|
104
101
|
},
|
|
105
102
|
"contributors": [
|
|
106
|
-
"
|
|
107
|
-
"Anton Vinogradov"
|
|
103
|
+
"salute.developers@gmail.com"
|
|
108
104
|
],
|
|
109
105
|
"sideEffects": false,
|
|
110
|
-
"gitHead": "
|
|
106
|
+
"gitHead": "02e7a3cae97373eb0ba13593354fa0940a3dbaef"
|
|
111
107
|
}
|