@salutejs/sdds-cs 0.354.1-next-sbcom.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
|
@@ -8,158 +8,8 @@ Object.defineProperty(exports, "config", {
|
|
|
8
8
|
return config;
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
if (!raw) {
|
|
14
|
-
raw = strings.slice(0);
|
|
15
|
-
}
|
|
16
|
-
return Object.freeze(Object.defineProperties(strings, {
|
|
17
|
-
raw: {
|
|
18
|
-
value: Object.freeze(raw)
|
|
19
|
-
}
|
|
20
|
-
}));
|
|
21
|
-
}
|
|
22
|
-
function _templateObject() {
|
|
23
|
-
var data = _tagged_template_literal([
|
|
24
|
-
"\n ",
|
|
25
|
-
": var(--on-dark-text-primary);\n ",
|
|
26
|
-
": var(--on-dark-text-primary);\n ",
|
|
27
|
-
": var(--on-dark-text-primary);\n ",
|
|
28
|
-
": var(--on-light-text-accent-minor);\n ",
|
|
29
|
-
": var(--surface-accent);\n ",
|
|
30
|
-
": var(",
|
|
31
|
-
");\n ",
|
|
32
|
-
": var(--surface-accent-hover);\n ",
|
|
33
|
-
": var(--surface-accent-active);\n "
|
|
34
|
-
]);
|
|
35
|
-
_templateObject = function _templateObject() {
|
|
36
|
-
return data;
|
|
37
|
-
};
|
|
38
|
-
return data;
|
|
39
|
-
}
|
|
40
|
-
function _templateObject1() {
|
|
41
|
-
var data = _tagged_template_literal([
|
|
42
|
-
"\n ",
|
|
43
|
-
": var(--text-accent);\n ",
|
|
44
|
-
": var(--text-accent-minor);\n ",
|
|
45
|
-
": var(--text-accent-active);\n ",
|
|
46
|
-
": var(--text-accent);\n ",
|
|
47
|
-
": var(--text-accent);\n ",
|
|
48
|
-
": var(--text-secondary);\n ",
|
|
49
|
-
": var(--surface-solid-secondary);\n ",
|
|
50
|
-
": var(",
|
|
51
|
-
");\n ",
|
|
52
|
-
": var(--surface-solid-secondary-hover);\n ",
|
|
53
|
-
": var(--surface-solid-secondary-active);\n "
|
|
54
|
-
]);
|
|
55
|
-
_templateObject1 = function _templateObject() {
|
|
56
|
-
return data;
|
|
57
|
-
};
|
|
58
|
-
return data;
|
|
59
|
-
}
|
|
60
|
-
function _templateObject2() {
|
|
61
|
-
var data = _tagged_template_literal([
|
|
62
|
-
"\n ",
|
|
63
|
-
": var(--text-accent);\n ",
|
|
64
|
-
": var(--text-accent);\n ",
|
|
65
|
-
": var(--text-accent);\n ",
|
|
66
|
-
": var(--text-accent-minor);\n ",
|
|
67
|
-
": var(--surface-clear);\n ",
|
|
68
|
-
": var(--surface-transparent-accent);\n ",
|
|
69
|
-
": var(--surface-transparent-accent);\n ",
|
|
70
|
-
": var(--surface-transparent-accent-active);\n "
|
|
71
|
-
]);
|
|
72
|
-
_templateObject2 = function _templateObject() {
|
|
73
|
-
return data;
|
|
74
|
-
};
|
|
75
|
-
return data;
|
|
76
|
-
}
|
|
77
|
-
function _templateObject3() {
|
|
78
|
-
var data = _tagged_template_literal([
|
|
79
|
-
"\n ",
|
|
80
|
-
": 2.5rem;\n ",
|
|
81
|
-
": 11.25rem;\n ",
|
|
82
|
-
": 1rem;\n ",
|
|
83
|
-
": 0.75rem;\n ",
|
|
84
|
-
": var(--plasma-typo-body-m-font-family);\n ",
|
|
85
|
-
": var(--plasma-typo-body-m-font-size);\n ",
|
|
86
|
-
": var(--plasma-typo-body-m-font-style);\n ",
|
|
87
|
-
": var(--plasma-typo-body-m-bold-font-weight);\n ",
|
|
88
|
-
": var(--plasma-typo-body-m-letter-spacing);\n ",
|
|
89
|
-
": var(--plasma-typo-body-m-line-height);\n\n ",
|
|
90
|
-
": 1.375rem;\n ",
|
|
91
|
-
": inherit;\n\n ",
|
|
92
|
-
": 0 0.25rem 0 -0.125rem;\n ",
|
|
93
|
-
": 0 -0.125rem 0 0.25rem;\n ",
|
|
94
|
-
": 0 0 0 0.25rem;\n "
|
|
95
|
-
]);
|
|
96
|
-
_templateObject3 = function _templateObject() {
|
|
97
|
-
return data;
|
|
98
|
-
};
|
|
99
|
-
return data;
|
|
100
|
-
}
|
|
101
|
-
function _templateObject4() {
|
|
102
|
-
var data = _tagged_template_literal([
|
|
103
|
-
"\n ",
|
|
104
|
-
": 2.5rem;\n ",
|
|
105
|
-
": 11.25rem;\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-bold-font-weight);\n ",
|
|
110
|
-
": var(--plasma-typo-body-m-letter-spacing);\n ",
|
|
111
|
-
": var(--plasma-typo-body-m-line-height);\n\n ",
|
|
112
|
-
": 1.375rem;\n ",
|
|
113
|
-
": inherit;\n\n ",
|
|
114
|
-
": 0 0.25rem 0 0;\n ",
|
|
115
|
-
": 0 0 0 0.25rem;\n ",
|
|
116
|
-
": 0 0 0 0.25rem;\n ",
|
|
117
|
-
": 0 0 0 0.25rem;\n ",
|
|
118
|
-
": 0.25rem;\n "
|
|
119
|
-
]);
|
|
120
|
-
_templateObject4 = function _templateObject() {
|
|
121
|
-
return data;
|
|
122
|
-
};
|
|
123
|
-
return data;
|
|
124
|
-
}
|
|
125
|
-
function _templateObject5() {
|
|
126
|
-
var data = _tagged_template_literal([
|
|
127
|
-
"\n ",
|
|
128
|
-
": var(--surface-accent);\n "
|
|
129
|
-
]);
|
|
130
|
-
_templateObject5 = function _templateObject() {
|
|
131
|
-
return data;
|
|
132
|
-
};
|
|
133
|
-
return data;
|
|
134
|
-
}
|
|
135
|
-
function _templateObject6() {
|
|
136
|
-
var data = _tagged_template_literal([
|
|
137
|
-
""
|
|
138
|
-
]);
|
|
139
|
-
_templateObject6 = function _templateObject() {
|
|
140
|
-
return data;
|
|
141
|
-
};
|
|
142
|
-
return data;
|
|
143
|
-
}
|
|
144
|
-
function _templateObject7() {
|
|
145
|
-
var data = _tagged_template_literal([
|
|
146
|
-
""
|
|
147
|
-
]);
|
|
148
|
-
_templateObject7 = function _templateObject() {
|
|
149
|
-
return data;
|
|
150
|
-
};
|
|
151
|
-
return data;
|
|
152
|
-
}
|
|
153
|
-
function _templateObject8() {
|
|
154
|
-
var data = _tagged_template_literal([
|
|
155
|
-
""
|
|
156
|
-
]);
|
|
157
|
-
_templateObject8 = function _templateObject() {
|
|
158
|
-
return data;
|
|
159
|
-
};
|
|
160
|
-
return data;
|
|
161
|
-
}
|
|
162
|
-
var config = {
|
|
11
|
+
const _emotion = require("@salutejs/plasma-new-hope/emotion");
|
|
12
|
+
const config = {
|
|
163
13
|
defaults: {
|
|
164
14
|
view: 'accent',
|
|
165
15
|
focused: 'true',
|
|
@@ -167,21 +17,88 @@ var config = {
|
|
|
167
17
|
},
|
|
168
18
|
variations: {
|
|
169
19
|
view: {
|
|
170
|
-
accent: (0, _emotion.css)
|
|
171
|
-
|
|
172
|
-
|
|
20
|
+
accent: (0, _emotion.css)`
|
|
21
|
+
${_emotion.buttonTokens.buttonColor}: var(--on-dark-text-primary);
|
|
22
|
+
${_emotion.buttonTokens.buttonTextColor}: var(--on-dark-text-primary);
|
|
23
|
+
${_emotion.buttonTokens.buttonIconColor}: var(--on-dark-text-primary);
|
|
24
|
+
${_emotion.buttonTokens.buttonValueColor}: var(--on-light-text-accent-minor);
|
|
25
|
+
${_emotion.buttonTokens.buttonBackgroundColor}: var(--surface-accent);
|
|
26
|
+
${_emotion.buttonTokens.buttonLoadingBackgroundColor}: var(${_emotion.buttonTokens.buttonBackgroundColor});
|
|
27
|
+
${_emotion.buttonTokens.buttonBackgroundColorHover}: var(--surface-accent-hover);
|
|
28
|
+
${_emotion.buttonTokens.buttonBackgroundColorActive}: var(--surface-accent-active);
|
|
29
|
+
`,
|
|
30
|
+
secondary: (0, _emotion.css)`
|
|
31
|
+
${_emotion.buttonTokens.buttonColor}: var(--text-accent);
|
|
32
|
+
${_emotion.buttonTokens.buttonColorHover}: var(--text-accent-minor);
|
|
33
|
+
${_emotion.buttonTokens.buttonColorActive}: var(--text-accent-active);
|
|
34
|
+
${_emotion.buttonTokens.buttonTextColor}: var(--text-accent);
|
|
35
|
+
${_emotion.buttonTokens.buttonIconColor}: var(--text-accent);
|
|
36
|
+
${_emotion.buttonTokens.buttonValueColor}: var(--text-secondary);
|
|
37
|
+
${_emotion.buttonTokens.buttonBackgroundColor}: var(--surface-solid-secondary);
|
|
38
|
+
${_emotion.buttonTokens.buttonLoadingBackgroundColor}: var(${_emotion.buttonTokens.buttonBackgroundColor});
|
|
39
|
+
${_emotion.buttonTokens.buttonBackgroundColorHover}: var(--surface-solid-secondary-hover);
|
|
40
|
+
${_emotion.buttonTokens.buttonBackgroundColorActive}: var(--surface-solid-secondary-active);
|
|
41
|
+
`,
|
|
42
|
+
clear: (0, _emotion.css)`
|
|
43
|
+
${_emotion.buttonTokens.buttonColor}: var(--text-accent);
|
|
44
|
+
${_emotion.buttonTokens.buttonTextColor}: var(--text-accent);
|
|
45
|
+
${_emotion.buttonTokens.buttonIconColor}: var(--text-accent);
|
|
46
|
+
${_emotion.buttonTokens.buttonValueColor}: var(--text-accent-minor);
|
|
47
|
+
${_emotion.buttonTokens.buttonBackgroundColor}: var(--surface-clear);
|
|
48
|
+
${_emotion.buttonTokens.buttonLoadingBackgroundColor}: var(--surface-transparent-accent);
|
|
49
|
+
${_emotion.buttonTokens.buttonBackgroundColorHover}: var(--surface-transparent-accent);
|
|
50
|
+
${_emotion.buttonTokens.buttonBackgroundColorActive}: var(--surface-transparent-accent-active);
|
|
51
|
+
`
|
|
173
52
|
},
|
|
174
53
|
size: {
|
|
175
|
-
s: (0, _emotion.css)
|
|
176
|
-
|
|
54
|
+
s: (0, _emotion.css)`
|
|
55
|
+
${_emotion.buttonTokens.buttonHeight}: 2.5rem;
|
|
56
|
+
${_emotion.buttonTokens.buttonWidth}: 11.25rem;
|
|
57
|
+
${_emotion.buttonTokens.buttonPadding}: 1rem;
|
|
58
|
+
${_emotion.buttonTokens.buttonRadius}: 0.75rem;
|
|
59
|
+
${_emotion.buttonTokens.buttonFontFamily}: var(--plasma-typo-body-m-font-family);
|
|
60
|
+
${_emotion.buttonTokens.buttonFontSize}: var(--plasma-typo-body-m-font-size);
|
|
61
|
+
${_emotion.buttonTokens.buttonFontStyle}: var(--plasma-typo-body-m-font-style);
|
|
62
|
+
${_emotion.buttonTokens.buttonFontWeight}: var(--plasma-typo-body-m-bold-font-weight);
|
|
63
|
+
${_emotion.buttonTokens.buttonLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
|
|
64
|
+
${_emotion.buttonTokens.buttonLineHeight}: var(--plasma-typo-body-m-line-height);
|
|
65
|
+
|
|
66
|
+
${_emotion.buttonTokens.buttonSpinnerSize}: 1.375rem;
|
|
67
|
+
${_emotion.buttonTokens.buttonSpinnerColor}: inherit;
|
|
68
|
+
|
|
69
|
+
${_emotion.buttonTokens.buttonLeftContentMargin}: 0 0.25rem 0 -0.125rem;
|
|
70
|
+
${_emotion.buttonTokens.buttonRightContentMargin}: 0 -0.125rem 0 0.25rem;
|
|
71
|
+
${_emotion.buttonTokens.buttonValueMargin}: 0 0 0 0.25rem;
|
|
72
|
+
`,
|
|
73
|
+
sr: (0, _emotion.css)`
|
|
74
|
+
${_emotion.buttonTokens.buttonHeight}: 2.5rem;
|
|
75
|
+
${_emotion.buttonTokens.buttonWidth}: 11.25rem;
|
|
76
|
+
${_emotion.buttonTokens.buttonFontFamily}: var(--plasma-typo-body-m-font-family);
|
|
77
|
+
${_emotion.buttonTokens.buttonFontSize}: var(--plasma-typo-body-m-font-size);
|
|
78
|
+
${_emotion.buttonTokens.buttonFontStyle}: var(--plasma-typo-body-m-font-style);
|
|
79
|
+
${_emotion.buttonTokens.buttonFontWeight}: var(--plasma-typo-body-m-bold-font-weight);
|
|
80
|
+
${_emotion.buttonTokens.buttonLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
|
|
81
|
+
${_emotion.buttonTokens.buttonLineHeight}: var(--plasma-typo-body-m-line-height);
|
|
82
|
+
|
|
83
|
+
${_emotion.buttonTokens.buttonSpinnerSize}: 1.375rem;
|
|
84
|
+
${_emotion.buttonTokens.buttonSpinnerColor}: inherit;
|
|
85
|
+
|
|
86
|
+
${_emotion.buttonTokens.buttonLeftContentMargin}: 0 0.25rem 0 0;
|
|
87
|
+
${_emotion.buttonTokens.buttonRightContentMargin}: 0 0 0 0.25rem;
|
|
88
|
+
${_emotion.buttonTokens.buttonValueMargin}: 0 0 0 0.25rem;
|
|
89
|
+
${_emotion.buttonTokens.buttonAdditionalContentMargin}: 0 0 0 0.25rem;
|
|
90
|
+
${_emotion.buttonTokens.buttonAdditionalContentMarginRightWidthValue}: 0.25rem;
|
|
91
|
+
`
|
|
177
92
|
},
|
|
178
93
|
focused: {
|
|
179
|
-
true: (0, _emotion.css)
|
|
94
|
+
true: (0, _emotion.css)`
|
|
95
|
+
${_emotion.buttonTokens.buttonFocusColor}: var(--surface-accent);
|
|
96
|
+
`
|
|
180
97
|
},
|
|
181
98
|
stretching: {
|
|
182
|
-
auto: (0, _emotion.css)
|
|
183
|
-
filled: (0, _emotion.css)
|
|
184
|
-
fixed: (0, _emotion.css)
|
|
99
|
+
auto: (0, _emotion.css)``,
|
|
100
|
+
filled: (0, _emotion.css)``,
|
|
101
|
+
fixed: (0, _emotion.css)``
|
|
185
102
|
}
|
|
186
103
|
}
|
|
187
104
|
};
|
|
@@ -8,32 +8,11 @@ Object.defineProperty(exports, "Button", {
|
|
|
8
8
|
return Button;
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
function _array_like_to_array(arr, len) {
|
|
17
|
-
if (len == null || len > arr.length) len = arr.length;
|
|
18
|
-
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
19
|
-
return arr2;
|
|
20
|
-
}
|
|
21
|
-
function _array_with_holes(arr) {
|
|
22
|
-
if (Array.isArray(arr)) return arr;
|
|
23
|
-
}
|
|
24
|
-
function _define_property(obj, key, value) {
|
|
25
|
-
if (key in obj) {
|
|
26
|
-
Object.defineProperty(obj, key, {
|
|
27
|
-
value: value,
|
|
28
|
-
enumerable: true,
|
|
29
|
-
configurable: true,
|
|
30
|
-
writable: true
|
|
31
|
-
});
|
|
32
|
-
} else {
|
|
33
|
-
obj[key] = value;
|
|
34
|
-
}
|
|
35
|
-
return obj;
|
|
36
|
-
}
|
|
11
|
+
const _react = /*#__PURE__*/ _interop_require_wildcard(require("react"));
|
|
12
|
+
const _emotion = require("@salutejs/plasma-new-hope/emotion");
|
|
13
|
+
const _plasmanewhope = require("@salutejs/plasma-new-hope");
|
|
14
|
+
const _styled = /*#__PURE__*/ _interop_require_default(require("@emotion/styled"));
|
|
15
|
+
const _Buttonconfig = require("./Button.config");
|
|
37
16
|
function _interop_require_default(obj) {
|
|
38
17
|
return obj && obj.__esModule ? obj : {
|
|
39
18
|
default: obj
|
|
@@ -80,130 +59,28 @@ function _interop_require_wildcard(obj, nodeInterop) {
|
|
|
80
59
|
}
|
|
81
60
|
return newObj;
|
|
82
61
|
}
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
}
|
|
86
|
-
function _iterable_to_array_limit(arr, i) {
|
|
87
|
-
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
88
|
-
if (_i == null) return;
|
|
89
|
-
var _arr = [];
|
|
90
|
-
var _n = true;
|
|
91
|
-
var _d = false;
|
|
92
|
-
var _s, _e;
|
|
93
|
-
try {
|
|
94
|
-
for(_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true){
|
|
95
|
-
_arr.push(_s.value);
|
|
96
|
-
if (i && _arr.length === i) break;
|
|
97
|
-
}
|
|
98
|
-
} catch (err) {
|
|
99
|
-
_d = true;
|
|
100
|
-
_e = err;
|
|
101
|
-
} finally{
|
|
102
|
-
try {
|
|
103
|
-
if (!_n && _i["return"] != null) _i["return"]();
|
|
104
|
-
} finally{
|
|
105
|
-
if (_d) throw _e;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
return _arr;
|
|
109
|
-
}
|
|
110
|
-
function _non_iterable_rest() {
|
|
111
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
112
|
-
}
|
|
113
|
-
function _object_spread(target) {
|
|
114
|
-
for(var i = 1; i < arguments.length; i++){
|
|
115
|
-
var source = arguments[i] != null ? arguments[i] : {};
|
|
116
|
-
var ownKeys = Object.keys(source);
|
|
117
|
-
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
118
|
-
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
119
|
-
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
120
|
-
}));
|
|
121
|
-
}
|
|
122
|
-
ownKeys.forEach(function(key) {
|
|
123
|
-
_define_property(target, key, source[key]);
|
|
124
|
-
});
|
|
125
|
-
}
|
|
126
|
-
return target;
|
|
127
|
-
}
|
|
128
|
-
function _object_without_properties(source, excluded) {
|
|
129
|
-
if (source == null) return {};
|
|
130
|
-
var target = {}, sourceKeys, key, i;
|
|
131
|
-
if (typeof Reflect !== "undefined" && Reflect.ownKeys) {
|
|
132
|
-
sourceKeys = Reflect.ownKeys(source);
|
|
133
|
-
for(i = 0; i < sourceKeys.length; i++){
|
|
134
|
-
key = sourceKeys[i];
|
|
135
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
136
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
137
|
-
target[key] = source[key];
|
|
138
|
-
}
|
|
139
|
-
return target;
|
|
140
|
-
}
|
|
141
|
-
target = _object_without_properties_loose(source, excluded);
|
|
142
|
-
if (Object.getOwnPropertySymbols) {
|
|
143
|
-
sourceKeys = Object.getOwnPropertySymbols(source);
|
|
144
|
-
for(i = 0; i < sourceKeys.length; i++){
|
|
145
|
-
key = sourceKeys[i];
|
|
146
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
147
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
148
|
-
target[key] = source[key];
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
return target;
|
|
152
|
-
}
|
|
153
|
-
function _object_without_properties_loose(source, excluded) {
|
|
154
|
-
if (source == null) return {};
|
|
155
|
-
var target = {}, sourceKeys = Object.getOwnPropertyNames(source), key, i;
|
|
156
|
-
for(i = 0; i < sourceKeys.length; i++){
|
|
157
|
-
key = sourceKeys[i];
|
|
158
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
159
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
160
|
-
target[key] = source[key];
|
|
161
|
-
}
|
|
162
|
-
return target;
|
|
163
|
-
}
|
|
164
|
-
function _sliced_to_array(arr, i) {
|
|
165
|
-
return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
|
|
166
|
-
}
|
|
167
|
-
function _to_array(arr) {
|
|
168
|
-
return _array_with_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_rest();
|
|
169
|
-
}
|
|
170
|
-
function _unsupported_iterable_to_array(o, minLen) {
|
|
171
|
-
if (!o) return;
|
|
172
|
-
if (typeof o === "string") return _array_like_to_array(o, minLen);
|
|
173
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
174
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
175
|
-
if (n === "Map" || n === "Set") return Array.from(n);
|
|
176
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
177
|
-
}
|
|
178
|
-
var mergedConfig = (0, _emotion.mergeConfig)(_emotion.buttonConfig, _Buttonconfig.config);
|
|
179
|
-
var ButtonComponent = (0, _emotion.component)(mergedConfig);
|
|
62
|
+
const mergedConfig = (0, _emotion.mergeConfig)(_emotion.buttonConfig, _Buttonconfig.config);
|
|
63
|
+
const ButtonComponent = (0, _emotion.component)(mergedConfig);
|
|
180
64
|
// INFO: Данное поведение запрошено продуктом/командой `sdds-cs`
|
|
181
|
-
|
|
65
|
+
const StyledButton = /*#__PURE__*/ (0, _styled.default)(ButtonComponent, {
|
|
182
66
|
target: "e19yzswk0",
|
|
183
67
|
label: "StyledButton"
|
|
184
68
|
})("&&.", String(_emotion.buttonClasses.buttonLoading), "{color:var(", _emotion.buttonTokens.buttonColorActive, ",var(", _emotion.buttonTokens.buttonColor, "));background:var(", _emotion.buttonTokens.buttonBackgroundColorActive, ",var(", _emotion.buttonTokens.buttonBackgroundColor, "));pointer-events:none;}", "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3JjL2NvbXBvbmVudHMvQnV0dG9uL0J1dHRvbi50c3giLCJzb3VyY2VzIjpbInNyYy9jb21wb25lbnRzL0J1dHRvbi9CdXR0b24udHN4Il0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCwgeyBDb21wb25lbnRQcm9wcywgdXNlQ2FsbGJhY2ssIE1vdXNlRXZlbnQsIGZvcndhcmRSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBidXR0b25Db25maWcsIGNvbXBvbmVudCwgbWVyZ2VDb25maWcsIGJ1dHRvbkNsYXNzZXMsIGJ1dHRvblRva2VucyB9IGZyb20gJ0BzYWx1dGVqcy9wbGFzbWEtbmV3LWhvcGUvZW1vdGlvbic7XG5pbXBvcnQgeyBtYWtlUG9seW1vcnBoaWMgfSBmcm9tICdAc2FsdXRlanMvcGxhc21hLW5ldy1ob3BlJztcbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcblxuaW1wb3J0IHsgY29uZmlnIH0gZnJvbSAnLi9CdXR0b24uY29uZmlnJztcblxuY29uc3QgbWVyZ2VkQ29uZmlnID0gbWVyZ2VDb25maWcoYnV0dG9uQ29uZmlnLCBjb25maWcpO1xuY29uc3QgQnV0dG9uQ29tcG9uZW50ID0gY29tcG9uZW50KG1lcmdlZENvbmZpZyk7XG5cbmV4cG9ydCB0eXBlIEJ1dHRvblByb3BzID0gQ29tcG9uZW50UHJvcHM8dHlwZW9mIEJ1dHRvbkNvbXBvbmVudD47XG5cbi8vIElORk86INCU0LDQvdC90L7QtSDQv9C+0LLQtdC00LXQvdC40LUg0LfQsNC/0YDQvtGI0LXQvdC+INC/0YDQvtC00YPQutGC0L7QvC/QutC+0LzQsNC90LTQvtC5IGBzZGRzLWNzYFxuY29uc3QgU3R5bGVkQnV0dG9uID0gc3R5bGVkKEJ1dHRvbkNvbXBvbmVudClgXG4gICAgJiYuJHtTdHJpbmcoYnV0dG9uQ2xhc3Nlcy5idXR0b25Mb2FkaW5nKX0ge1xuICAgICAgICBjb2xvcjogdmFyKCR7YnV0dG9uVG9rZW5zLmJ1dHRvbkNvbG9yQWN0aXZlfSwgdmFyKCR7YnV0dG9uVG9rZW5zLmJ1dHRvbkNvbG9yfSkpO1xuICAgICAgICBiYWNrZ3JvdW5kOiB2YXIoJHtidXR0b25Ub2tlbnMuYnV0dG9uQmFja2dyb3VuZENvbG9yQWN0aXZlfSwgdmFyKCR7YnV0dG9uVG9rZW5zLmJ1dHRvbkJhY2tncm91bmRDb2xvcn0pKTtcblxuICAgICAgICBwb2ludGVyLWV2ZW50czogbm9uZTtcbiAgICB9XG5gO1xuXG4vKipcbiAqINCa0L3QvtC/0LrQsC5cbiAqL1xuZXhwb3J0IGNvbnN0IEJ1dHRvbiA9IG1ha2VQb2x5bW9ycGhpYyhcbiAgICBmb3J3YXJkUmVmPE9taXQ8SFRNTEJ1dHRvbkVsZW1lbnQsICd2YWx1ZSc+LCBCdXR0b25Qcm9wcz4oKHsgb25DbGljaywgaXNMb2FkaW5nLCB2YWx1ZSwgLi4ucHJvcHMgfSwgcmVmKSA9PiB7XG4gICAgICAgIGNvbnN0IGhhbmRsZUNsaWNrID0gdXNlQ2FsbGJhY2soXG4gICAgICAgICAgICAoZXZlbnQ6IE1vdXNlRXZlbnQ8SFRNTEJ1dHRvbkVsZW1lbnQ+KSA9PiB7XG4gICAgICAgICAgICAgICAgaWYgKCFpc0xvYWRpbmcpIHtcbiAgICAgICAgICAgICAgICAgICAgb25DbGljaz8uKGV2ZW50KTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgW2lzTG9hZGluZywgb25DbGlja10sXG4gICAgICAgICk7XG5cbiAgICAgICAgLy8gQHRzLWlnbm9yZVxuICAgICAgICByZXR1cm4gPFN0eWxlZEJ1dHRvbiB2YWx1ZT17dmFsdWV9IHJlZj17cmVmfSBvbkNsaWNrPXtoYW5kbGVDbGlja30gaXNMb2FkaW5nPXtpc0xvYWRpbmd9IHsuLi5wcm9wc30gLz47XG4gICAgfSksXG4gICAgJ2J1dHRvbicsXG4pO1xuIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWFxQiJ9 */");
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
_0,
|
|
188
|
-
_1
|
|
189
|
-
], _ref1 = _to_array(_ref), _ref2 = _ref1[0], _rest = _ref1.slice(1), onClick = _ref2.onClick, isLoading = _ref2.isLoading, value = _ref2.value, props = _object_without_properties(_ref2, [
|
|
190
|
-
"onClick",
|
|
191
|
-
"isLoading",
|
|
192
|
-
"value"
|
|
193
|
-
]), _rest1 = _sliced_to_array(_rest, 1), ref = _rest1[0];
|
|
194
|
-
var handleClick = (0, _react.useCallback)(function(event) {
|
|
69
|
+
const Button = (0, _plasmanewhope.makePolymorphic)(/*#__PURE__*/ (0, _react.forwardRef)(({ onClick, isLoading, value, ...props }, ref)=>{
|
|
70
|
+
const handleClick = (0, _react.useCallback)((event)=>{
|
|
195
71
|
if (!isLoading) {
|
|
196
|
-
onClick
|
|
72
|
+
onClick?.(event);
|
|
197
73
|
}
|
|
198
74
|
}, [
|
|
199
75
|
isLoading,
|
|
200
76
|
onClick
|
|
201
77
|
]);
|
|
202
78
|
// @ts-ignore
|
|
203
|
-
return /*#__PURE__*/ _react.default.createElement(StyledButton,
|
|
79
|
+
return /*#__PURE__*/ _react.default.createElement(StyledButton, {
|
|
204
80
|
value: value,
|
|
205
81
|
ref: ref,
|
|
206
82
|
onClick: handleClick,
|
|
207
|
-
isLoading: isLoading
|
|
208
|
-
|
|
83
|
+
isLoading: isLoading,
|
|
84
|
+
...props
|
|
85
|
+
});
|
|
209
86
|
}), 'button');
|