@salutejs/plasma-web 1.585.0-canary.2032.15771800756.0 → 1.585.0-canary.2041.15843472824.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/.swc/plugins/v7_linux_x86_64_14.0.0/358fecaab1701de64a7bceee21e5f3a204d1107aa33eb372d1dab77a43118622 +0 -0
- package/.swc/plugins/v7_linux_x86_64_14.0.0/cce279a62b5dde357ee7b421711ef357c3f0a29cd3cb6e86336f7345fd604d8e +0 -0
- package/components/Accordion/Accordion.config.js +359 -32
- package/components/Accordion/Accordion.js +12 -12
- package/components/Accordion/index.js +16 -15
- package/components/Attach/Attach.config.js +818 -36
- package/components/Attach/Attach.js +11 -11
- package/components/Attach/index.js +6 -7
- package/components/AudioPlayer/index.js +6 -7
- package/components/Autocomplete/Autocomplete.config.js +636 -42
- package/components/Autocomplete/Autocomplete.js +11 -7
- package/components/Autocomplete/index.js +6 -7
- package/components/Avatar/Avatar.config.js +419 -44
- package/components/Avatar/Avatar.js +19 -7
- package/components/Avatar/index.js +6 -7
- package/components/AvatarGroup/AvatarGroup.js +10 -6
- package/components/AvatarGroup/index.js +6 -7
- package/components/Badge/Badge.config.js +285 -41
- package/components/Badge/Badge.js +11 -11
- package/components/Badge/Badge.perftest.js +54 -20
- package/components/Badge/index.js +6 -7
- package/components/Breadcrumbs/Breadcrumbs.config.js +111 -21
- package/components/Breadcrumbs/Breadcrumbs.js +12 -12
- package/components/Breadcrumbs/index.js +6 -7
- package/components/Button/Button.config.js +542 -54
- package/components/Button/Button.js +12 -12
- package/components/Button/Button.perftest.js +76 -34
- package/components/Button/index.js +6 -7
- package/components/ButtonBase/index.js +6 -7
- package/components/ButtonGroup/ButtonGroup.config.js +570 -59
- package/components/ButtonGroup/ButtonGroup.js +11 -11
- package/components/ButtonGroup/index.js +6 -7
- package/components/Calendar/Calendar.js +39 -18
- package/components/Calendar/Calendar.perftest.js +122 -82
- package/components/Calendar/CalendarBase.config.js +318 -21
- package/components/Calendar/CalendarDouble.config.js +320 -21
- package/components/Calendar/index.js +24 -32
- package/components/Card/index.js +27 -38
- package/components/Carousel/Carousel.config.js +57 -18
- package/components/Carousel/Carousel.js +55 -20
- package/components/Carousel/Legacy/Carousel.examples.js +74 -40
- package/components/Carousel/Legacy/Carousel.js +11 -7
- package/components/Carousel/index.js +19 -21
- package/components/Cell/Cell.config.js +180 -18
- package/components/Cell/Cell.js +12 -12
- package/components/Cell/index.js +25 -33
- package/components/Checkbox/Checkbox.config.js +297 -42
- package/components/Checkbox/Checkbox.js +12 -11
- package/components/Checkbox/Checkbox.perftest.js +57 -22
- package/components/Checkbox/index.js +6 -7
- package/components/Chip/Chip.config.js +322 -41
- package/components/Chip/Chip.js +12 -12
- package/components/Chip/index.js +6 -7
- package/components/ChipGroup/ChipGroup.config.js +208 -27
- package/components/ChipGroup/ChipGroup.js +11 -7
- package/components/ChipGroup/index.js +6 -7
- package/components/CodeField/CodeField.config.js +145 -27
- package/components/CodeField/CodeField.js +11 -7
- package/components/CodeField/index.js +28 -39
- package/components/Combobox/Combobox.config.js +819 -42
- package/components/Combobox/Combobox.d.ts +24 -24
- package/components/Combobox/Combobox.js +55 -20
- package/components/Combobox/Legacy/Combobox.config.js +354 -21
- package/components/Combobox/Legacy/Combobox.d.ts +2 -2
- package/components/Combobox/Legacy/Combobox.js +41 -17
- package/components/Combobox/Legacy/index.js +27 -38
- package/components/Combobox/index.js +28 -39
- package/components/Counter/Counter.config.js +222 -33
- package/components/Counter/Counter.js +11 -11
- package/components/Counter/index.js +16 -15
- package/components/DatePicker/DatePicker.config.js +586 -27
- package/components/DatePicker/DatePicker.js +21 -9
- package/components/DatePicker/index.js +22 -27
- package/components/Divider/Divider.config.js +109 -27
- package/components/Divider/Divider.js +11 -11
- package/components/Divider/index.js +16 -15
- package/components/Drawer/Drawer.config.js +78 -22
- package/components/Drawer/Drawer.js +31 -29
- package/components/Drawer/index.js +21 -26
- package/components/Dropdown/Dropdown.config.js +245 -22
- package/components/Dropdown/Dropdown.js +50 -15
- package/components/Dropdown/components/DropdownItem.js +200 -73
- package/components/Dropdown/components/DropdownList.js +19 -8
- package/components/Dropdown/components/DropdownOld.config.js +142 -23
- package/components/Dropdown/components/DropdownPopup.js +158 -37
- package/components/Dropdown/index.js +28 -36
- package/components/Dropzone/Dropzone.config.js +86 -21
- package/components/Dropzone/Dropzone.js +11 -7
- package/components/Dropzone/index.js +19 -21
- package/components/Editable/Editable.config.js +56 -18
- package/components/Editable/Editable.js +63 -13
- package/components/Editable/index.js +6 -7
- package/components/ElasticGrid/ElasticGrid.perftest.js +49 -28
- package/components/ElasticGrid/index.js +6 -7
- package/components/EmptyState/EmptyState.config.js +114 -18
- package/components/EmptyState/EmptyState.js +19 -7
- package/components/EmptyState/index.js +6 -7
- package/components/Flow/Flow.js +10 -6
- package/components/Flow/index.js +6 -7
- package/components/Grid/Grid.config.js +102 -22
- package/components/Grid/Grid.js +21 -18
- package/components/Grid/index.js +18 -20
- package/components/IconButton/IconButton.config.js +425 -43
- package/components/IconButton/IconButton.js +12 -12
- package/components/IconButton/index.js +6 -7
- package/components/Image/Image.js +11 -11
- package/components/Image/index.js +6 -7
- package/components/Indicator/Indicator.config.js +149 -27
- package/components/Indicator/Indicator.js +19 -7
- package/components/Indicator/index.js +6 -7
- package/components/Link/Link.config.js +235 -34
- package/components/Link/Link.js +12 -12
- package/components/Link/index.js +6 -7
- package/components/LinkButton/LinkButton.config.js +274 -31
- package/components/LinkButton/LinkButton.js +11 -7
- package/components/LinkButton/index.js +6 -7
- package/components/List/List.config.js +177 -25
- package/components/List/List.js +12 -12
- package/components/List/index.js +16 -15
- package/components/Mask/Mask.js +10 -6
- package/components/Mask/index.js +6 -7
- package/components/Modal/Modal.perftest.js +25 -20
- package/components/Modal/index.js +18 -20
- package/components/ModalBase/Modal.config.js +47 -15
- package/components/ModalBase/ModalBase.js +12 -12
- package/components/ModalBase/index.js +16 -15
- package/components/Note/Note.config.js +245 -25
- package/components/Note/Note.js +11 -7
- package/components/Note/index.js +19 -21
- package/components/Notification/Notification.config.js +361 -30
- package/components/Notification/Notification.js +38 -23
- package/components/Notification/index.js +22 -27
- package/components/NumberFormat/NumberFormat.js +10 -13
- package/components/NumberFormat/index.js +6 -7
- package/components/NumberInput/NumberInput.config.js +394 -42
- package/components/NumberInput/NumberInput.js +11 -7
- package/components/NumberInput/index.js +19 -21
- package/components/Overlay/index.js +6 -7
- package/components/Pagination/Pagination.config.js +399 -43
- package/components/Pagination/Pagination.js +12 -12
- package/components/Pagination/index.js +6 -7
- package/components/PaginationDots/index.js +18 -20
- package/components/Popover/Popover.config.js +43 -15
- package/components/Popover/Popover.js +11 -7
- package/components/Popover/index.js +6 -7
- package/components/Popup/index.js +6 -7
- package/components/PopupBase/PopupBase.js +10 -10
- package/components/PopupBase/index.js +22 -27
- package/components/Portal/index.js +6 -7
- package/components/PreviewGallery/PreviewGallery.perftest.js +104 -74
- package/components/PreviewGallery/index.js +24 -32
- package/components/Price/Price.config.js +15 -11
- package/components/Price/Price.js +12 -12
- package/components/Price/index.js +16 -15
- package/components/Progress/Progress.config.js +147 -25
- package/components/Progress/Progress.js +12 -8
- package/components/Progress/index.js +6 -7
- package/components/Radiobox/Radiobox.config.js +304 -49
- package/components/Radiobox/Radiobox.d.ts +2 -48
- package/components/Radiobox/Radiobox.js +19 -16
- package/components/Radiobox/Radiobox.perftest.js +35 -31
- package/components/Radiobox/index.js +15 -14
- package/components/Range/Range.config.js +319 -27
- package/components/Range/Range.js +11 -11
- package/components/Range/index.js +16 -15
- package/components/Rating/Rating.config.js +469 -31
- package/components/Rating/Rating.js +11 -7
- package/components/Rating/index.js +19 -21
- package/components/SSRProvider/index.js +6 -7
- package/components/Segment/Segment.js +27 -32
- package/components/Segment/SegmentGroup.config.js +196 -38
- package/components/Segment/SegmentItem.config.js +266 -31
- package/components/Segment/index.js +21 -26
- package/components/Select/Select.config.js +1017 -54
- package/components/Select/Select.d.ts +6 -6
- package/components/Select/Select.js +50 -15
- package/components/Select/Select.perftest.js +46 -33
- package/components/Select/index.js +16 -15
- package/components/Sheet/Sheet.config.js +63 -18
- package/components/Sheet/Sheet.js +12 -12
- package/components/Sheet/index.js +16 -15
- package/components/Skeleton/LineSkeleton.config.js +446 -49
- package/components/Skeleton/Skeleton.js +23 -28
- package/components/Skeleton/index.js +18 -20
- package/components/Slider/Slider.config.js +273 -25
- package/components/Slider/Slider.js +12 -13
- package/components/Slider/index.js +6 -7
- package/components/Spinner/Spinner.config.js +151 -32
- package/components/Spinner/Spinner.js +23 -16
- package/components/Spinner/index.js +6 -7
- package/components/Steps/Steps.config.js +366 -47
- package/components/Steps/Steps.js +12 -8
- package/components/Steps/index.js +6 -7
- package/components/Switch/Switch.config.js +193 -33
- package/components/Switch/Switch.js +12 -8
- package/components/Switch/Switch.perftest.js +61 -23
- package/components/Switch/index.js +6 -7
- package/components/Table/Table.config.js +257 -21
- package/components/Table/Table.js +12 -12
- package/components/Table/index.js +6 -7
- package/components/Tabs/TabItem.js +26 -24
- package/components/Tabs/Tabs.js +26 -24
- package/components/Tabs/Tabs.perftest.js +72 -53
- package/components/Tabs/TabsController.js +15 -16
- package/components/Tabs/horizontal/HorizontalTabItem.config.js +398 -38
- package/components/Tabs/horizontal/HorizontalTabs.config.js +256 -37
- package/components/Tabs/index.js +27 -35
- package/components/Tabs/vertical/VerticalTabItem.config.js +186 -27
- package/components/Tabs/vertical/VerticalTabs.config.js +133 -27
- package/components/TextArea/TextArea.config.js +695 -43
- package/components/TextArea/TextArea.js +12 -12
- package/components/TextArea/TextArea.perftest.js +62 -28
- package/components/TextArea/index.js +6 -7
- package/components/TextField/TextField.config.js +856 -54
- package/components/TextField/TextField.js +206 -88
- package/components/TextField/TextField.perftest.js +103 -37
- package/components/TextField/index.js +16 -15
- package/components/TextFieldGroup/TextFieldGroup.config.js +356 -34
- package/components/TextFieldGroup/TextFieldGroup.js +11 -11
- package/components/TextFieldGroup/index.js +6 -7
- package/components/Toast/Toast.config.js +174 -42
- package/components/Toast/Toast.js +26 -14
- package/components/Toast/index.js +18 -20
- package/components/Tokens/Colors/Colors.styles.d.ts +1 -1
- package/components/Tokens/Colors/Colors.styles.js +147 -51
- package/components/Tokens/NumberTokens/NumberTokens.styles.js +70 -23
- package/components/Tokens/Typography/Typography.styles.d.ts +1 -1
- package/components/Tokens/Typography/Typography.styles.js +205 -77
- package/components/Toolbar/Toolbar.config.js +105 -21
- package/components/Toolbar/Toolbar.js +21 -13
- package/components/Toolbar/index.js +19 -21
- package/components/Tooltip/Tooltip.config.js +100 -20
- package/components/Tooltip/Tooltip.js +11 -7
- package/components/Tooltip/Tooltip.perftest.js +87 -78
- package/components/Tooltip/index.js +6 -7
- package/components/Tree/Tree.config.js +176 -21
- package/components/Tree/Tree.js +11 -7
- package/components/Tree/index.js +6 -7
- package/components/Typography/Body.config.js +161 -47
- package/components/Typography/Dspl.config.js +105 -31
- package/components/Typography/Heading.config.js +161 -47
- package/components/Typography/Old/Body.config.js +99 -31
- package/components/Typography/Old/Button.config.js +73 -23
- package/components/Typography/Old/Caption.config.js +42 -15
- package/components/Typography/Old/Display.config.js +99 -31
- package/components/Typography/Old/Footnote.config.js +73 -23
- package/components/Typography/Old/Headline.config.js +151 -47
- package/components/Typography/Old/Paragraph.config.js +73 -23
- package/components/Typography/Old/ParagraphText.config.js +73 -23
- package/components/Typography/Old/Subtitle.config.js +42 -15
- package/components/Typography/Old/Underline.config.js +42 -15
- package/components/Typography/Old/index.js +152 -80
- package/components/Typography/Text.config.js +133 -39
- package/components/Typography/Typography.js +116 -59
- package/components/Typography/index.js +117 -215
- package/components/Upload/Upload.perftest.js +65 -30
- package/components/Upload/index.js +18 -20
- package/components/UploadAudio/index.js +6 -7
- package/components/UploadVisual/index.js +6 -7
- package/css/cjs/components/Carousel/Carousel.config.js +1 -1
- package/css/cjs/components/Carousel/Carousel.config.js.map +1 -1
- package/css/cjs/components/Carousel/Carousel.config_uusoxc.css +2 -0
- package/css/cjs/components/Carousel/Carousel.css +2 -2
- package/css/cjs/components/Carousel/Carousel.js +1 -1
- package/css/cjs/components/Carousel/Carousel.js.map +1 -1
- package/css/cjs/index.css +2 -2
- package/css/es/components/Carousel/Carousel.config.js +1 -1
- package/css/es/components/Carousel/Carousel.config.js.map +1 -1
- package/css/es/components/Carousel/Carousel.config_uusoxc.css +2 -0
- package/css/es/components/Carousel/Carousel.css +2 -2
- package/css/es/components/Carousel/Carousel.js +1 -1
- package/css/es/components/Carousel/Carousel.js.map +1 -1
- package/css/es/index.css +2 -2
- package/es/components/Accordion/Accordion.config.js +350 -27
- package/es/components/Accordion/Accordion.js +3 -5
- package/es/components/Accordion/index.js +1 -1
- package/es/components/Attach/Attach.config.js +809 -31
- package/es/components/Attach/Attach.js +2 -4
- package/es/components/Attach/index.js +1 -1
- package/es/components/AudioPlayer/index.js +1 -1
- package/es/components/Autocomplete/Autocomplete.config.js +627 -37
- package/es/components/Autocomplete/Autocomplete.js +2 -2
- package/es/components/Autocomplete/index.js +1 -1
- package/es/components/Avatar/Avatar.config.js +410 -39
- package/es/components/Avatar/Avatar.js +3 -3
- package/es/components/Avatar/index.js +1 -1
- package/es/components/AvatarGroup/AvatarGroup.js +2 -2
- package/es/components/AvatarGroup/index.js +1 -1
- package/es/components/Badge/Badge.config.js +276 -36
- package/es/components/Badge/Badge.js +2 -4
- package/es/components/Badge/Badge.perftest.js +39 -13
- package/es/components/Badge/index.js +1 -1
- package/es/components/Breadcrumbs/Breadcrumbs.config.js +102 -16
- package/es/components/Breadcrumbs/Breadcrumbs.js +3 -5
- package/es/components/Breadcrumbs/index.js +1 -1
- package/es/components/Button/Button.config.js +533 -49
- package/es/components/Button/Button.js +3 -5
- package/es/components/Button/Button.perftest.js +53 -27
- package/es/components/Button/index.js +1 -1
- package/es/components/ButtonBase/index.js +1 -1
- package/es/components/ButtonGroup/ButtonGroup.config.js +561 -54
- package/es/components/ButtonGroup/ButtonGroup.js +2 -4
- package/es/components/ButtonGroup/index.js +1 -1
- package/es/components/Calendar/Calendar.js +12 -12
- package/es/components/Calendar/Calendar.perftest.js +97 -76
- package/es/components/Calendar/CalendarBase.config.js +309 -16
- package/es/components/Calendar/CalendarDouble.config.js +311 -16
- package/es/components/Calendar/index.js +1 -1
- package/es/components/Card/index.js +1 -1
- package/es/components/Carousel/Carousel.config.js +48 -13
- package/es/components/Carousel/Carousel.js +40 -13
- package/es/components/Carousel/Legacy/Carousel.examples.js +57 -28
- package/es/components/Carousel/Legacy/Carousel.js +3 -3
- package/es/components/Carousel/index.js +1 -1
- package/es/components/Cell/Cell.config.js +171 -13
- package/es/components/Cell/Cell.js +3 -5
- package/es/components/Cell/index.js +1 -1
- package/es/components/Checkbox/Checkbox.config.js +288 -37
- package/es/components/Checkbox/Checkbox.js +3 -4
- package/es/components/Checkbox/Checkbox.perftest.js +43 -16
- package/es/components/Checkbox/index.js +1 -1
- package/es/components/Chip/Chip.config.js +313 -36
- package/es/components/Chip/Chip.js +3 -5
- package/es/components/Chip/index.js +1 -1
- package/es/components/ChipGroup/ChipGroup.config.js +199 -22
- package/es/components/ChipGroup/ChipGroup.js +2 -2
- package/es/components/ChipGroup/index.js +1 -1
- package/es/components/CodeField/CodeField.config.js +136 -22
- package/es/components/CodeField/CodeField.js +2 -2
- package/es/components/CodeField/index.js +1 -1
- package/es/components/Combobox/Combobox.config.js +810 -37
- package/es/components/Combobox/Combobox.js +40 -13
- package/es/components/Combobox/Legacy/Combobox.config.js +345 -16
- package/es/components/Combobox/Legacy/Combobox.js +12 -12
- package/es/components/Combobox/Legacy/index.js +1 -1
- package/es/components/Combobox/index.js +1 -1
- package/es/components/Counter/Counter.config.js +213 -28
- package/es/components/Counter/Counter.js +2 -4
- package/es/components/Counter/index.js +1 -1
- package/es/components/DatePicker/DatePicker.config.js +577 -22
- package/es/components/DatePicker/DatePicker.js +4 -4
- package/es/components/DatePicker/index.js +1 -1
- package/es/components/Divider/Divider.config.js +100 -22
- package/es/components/Divider/Divider.js +2 -4
- package/es/components/Divider/index.js +1 -1
- package/es/components/Drawer/Drawer.config.js +69 -17
- package/es/components/Drawer/Drawer.js +8 -16
- package/es/components/Drawer/index.js +1 -1
- package/es/components/Dropdown/Dropdown.config.js +236 -17
- package/es/components/Dropdown/Dropdown.js +36 -9
- package/es/components/Dropdown/components/DropdownItem.js +135 -63
- package/es/components/Dropdown/components/DropdownList.js +6 -3
- package/es/components/Dropdown/components/DropdownOld.config.js +133 -18
- package/es/components/Dropdown/components/DropdownPopup.js +107 -28
- package/es/components/Dropdown/index.js +1 -1
- package/es/components/Dropzone/Dropzone.config.js +77 -16
- package/es/components/Dropzone/Dropzone.js +2 -2
- package/es/components/Dropzone/index.js +1 -1
- package/es/components/Editable/Editable.config.js +47 -13
- package/es/components/Editable/Editable.js +3 -3
- package/es/components/Editable/index.js +1 -1
- package/es/components/ElasticGrid/ElasticGrid.perftest.js +34 -21
- package/es/components/ElasticGrid/index.js +1 -1
- package/es/components/EmptyState/EmptyState.config.js +105 -13
- package/es/components/EmptyState/EmptyState.js +2 -2
- package/es/components/EmptyState/index.js +1 -1
- package/es/components/Flow/Flow.js +2 -2
- package/es/components/Flow/index.js +1 -1
- package/es/components/Grid/Grid.config.js +93 -17
- package/es/components/Grid/Grid.js +2 -2
- package/es/components/Grid/index.js +1 -1
- package/es/components/IconButton/IconButton.config.js +416 -38
- package/es/components/IconButton/IconButton.js +3 -5
- package/es/components/IconButton/index.js +1 -1
- package/es/components/Image/Image.js +3 -5
- package/es/components/Image/index.js +1 -1
- package/es/components/Indicator/Indicator.config.js +140 -22
- package/es/components/Indicator/Indicator.js +3 -3
- package/es/components/Indicator/index.js +1 -1
- package/es/components/Link/Link.config.js +226 -29
- package/es/components/Link/Link.js +3 -5
- package/es/components/Link/index.js +1 -1
- package/es/components/LinkButton/LinkButton.config.js +265 -26
- package/es/components/LinkButton/LinkButton.js +2 -2
- package/es/components/LinkButton/index.js +1 -1
- package/es/components/List/List.config.js +168 -20
- package/es/components/List/List.js +3 -5
- package/es/components/List/index.js +1 -1
- package/es/components/Mask/Mask.js +1 -1
- package/es/components/Mask/index.js +1 -1
- package/es/components/Modal/Modal.perftest.js +10 -12
- package/es/components/Modal/index.js +1 -1
- package/es/components/ModalBase/Modal.config.js +38 -10
- package/es/components/ModalBase/ModalBase.js +3 -5
- package/es/components/ModalBase/index.js +1 -1
- package/es/components/Note/Note.config.js +236 -20
- package/es/components/Note/Note.js +2 -2
- package/es/components/Note/index.js +1 -1
- package/es/components/Notification/Notification.config.js +352 -25
- package/es/components/Notification/Notification.js +11 -15
- package/es/components/Notification/index.js +1 -1
- package/es/components/NumberFormat/NumberFormat.js +1 -9
- package/es/components/NumberFormat/index.js +1 -1
- package/es/components/NumberInput/NumberInput.config.js +385 -37
- package/es/components/NumberInput/NumberInput.js +2 -2
- package/es/components/NumberInput/index.js +1 -1
- package/es/components/Overlay/index.js +1 -1
- package/es/components/Pagination/Pagination.config.js +390 -38
- package/es/components/Pagination/Pagination.js +3 -5
- package/es/components/Pagination/index.js +1 -1
- package/es/components/PaginationDots/index.js +1 -1
- package/es/components/Popover/Popover.config.js +34 -10
- package/es/components/Popover/Popover.js +2 -2
- package/es/components/Popover/index.js +1 -1
- package/es/components/Popup/index.js +1 -1
- package/es/components/PopupBase/PopupBase.js +2 -4
- package/es/components/PopupBase/index.js +1 -1
- package/es/components/Portal/index.js +1 -1
- package/es/components/PreviewGallery/PreviewGallery.perftest.js +76 -65
- package/es/components/PreviewGallery/index.js +1 -1
- package/es/components/Price/Price.config.js +7 -7
- package/es/components/Price/Price.js +3 -5
- package/es/components/Price/index.js +1 -1
- package/es/components/Progress/Progress.config.js +138 -20
- package/es/components/Progress/Progress.js +3 -3
- package/es/components/Progress/index.js +1 -1
- package/es/components/Radiobox/Radiobox.config.js +295 -44
- package/es/components/Radiobox/Radiobox.js +4 -5
- package/es/components/Radiobox/Radiobox.perftest.js +21 -25
- package/es/components/Radiobox/index.js +1 -1
- package/es/components/Range/Range.config.js +310 -22
- package/es/components/Range/Range.js +2 -4
- package/es/components/Range/index.js +1 -1
- package/es/components/Rating/Rating.config.js +460 -26
- package/es/components/Rating/Rating.js +2 -2
- package/es/components/Rating/index.js +1 -1
- package/es/components/SSRProvider/index.js +1 -1
- package/es/components/Segment/Segment.js +5 -10
- package/es/components/Segment/SegmentGroup.config.js +187 -33
- package/es/components/Segment/SegmentItem.config.js +257 -26
- package/es/components/Segment/index.js +1 -1
- package/es/components/Select/Select.config.js +1008 -49
- package/es/components/Select/Select.js +36 -9
- package/es/components/Select/Select.perftest.js +32 -27
- package/es/components/Select/index.js +1 -1
- package/es/components/Sheet/Sheet.config.js +54 -13
- package/es/components/Sheet/Sheet.js +3 -5
- package/es/components/Sheet/index.js +1 -1
- package/es/components/Skeleton/LineSkeleton.config.js +437 -44
- package/es/components/Skeleton/Skeleton.js +5 -11
- package/es/components/Skeleton/index.js +1 -1
- package/es/components/Slider/Slider.config.js +264 -20
- package/es/components/Slider/Slider.js +3 -5
- package/es/components/Slider/index.js +1 -1
- package/es/components/Spinner/Spinner.config.js +142 -27
- package/es/components/Spinner/Spinner.js +8 -7
- package/es/components/Spinner/index.js +1 -1
- package/es/components/Steps/Steps.config.js +357 -42
- package/es/components/Steps/Steps.js +3 -3
- package/es/components/Steps/index.js +1 -1
- package/es/components/Switch/Switch.config.js +184 -28
- package/es/components/Switch/Switch.js +3 -3
- package/es/components/Switch/Switch.perftest.js +46 -16
- package/es/components/Switch/index.js +1 -1
- package/es/components/Table/Table.config.js +248 -16
- package/es/components/Table/Table.js +3 -5
- package/es/components/Table/index.js +1 -1
- package/es/components/Tabs/TabItem.js +10 -14
- package/es/components/Tabs/Tabs.js +10 -14
- package/es/components/Tabs/Tabs.perftest.js +49 -46
- package/es/components/Tabs/TabsController.js +5 -7
- package/es/components/Tabs/horizontal/HorizontalTabItem.config.js +389 -33
- package/es/components/Tabs/horizontal/HorizontalTabs.config.js +247 -32
- package/es/components/Tabs/index.js +1 -1
- package/es/components/Tabs/vertical/VerticalTabItem.config.js +177 -22
- package/es/components/Tabs/vertical/VerticalTabs.config.js +124 -22
- package/es/components/TextArea/TextArea.config.js +686 -38
- package/es/components/TextArea/TextArea.js +3 -5
- package/es/components/TextArea/TextArea.perftest.js +47 -21
- package/es/components/TextArea/index.js +1 -1
- package/es/components/TextField/TextField.config.js +847 -49
- package/es/components/TextField/TextField.js +147 -77
- package/es/components/TextField/TextField.perftest.js +80 -30
- package/es/components/TextField/index.js +1 -1
- package/es/components/TextFieldGroup/TextFieldGroup.config.js +347 -29
- package/es/components/TextFieldGroup/TextFieldGroup.js +2 -4
- package/es/components/TextFieldGroup/index.js +1 -1
- package/es/components/Toast/Toast.config.js +165 -37
- package/es/components/Toast/Toast.js +4 -4
- package/es/components/Toast/index.js +1 -1
- package/es/components/Tokens/Colors/Colors.styles.js +90 -43
- package/es/components/Tokens/NumberTokens/NumberTokens.styles.js +37 -18
- package/es/components/Tokens/Typography/Typography.styles.js +135 -68
- package/es/components/Toolbar/Toolbar.config.js +96 -16
- package/es/components/Toolbar/Toolbar.js +4 -6
- package/es/components/Toolbar/index.js +1 -1
- package/es/components/Tooltip/Tooltip.config.js +91 -15
- package/es/components/Tooltip/Tooltip.js +2 -2
- package/es/components/Tooltip/Tooltip.perftest.js +70 -69
- package/es/components/Tooltip/index.js +1 -1
- package/es/components/Tree/Tree.config.js +167 -16
- package/es/components/Tree/Tree.js +2 -2
- package/es/components/Tree/index.js +1 -1
- package/es/components/Typography/Body.config.js +131 -38
- package/es/components/Typography/Dspl.config.js +83 -24
- package/es/components/Typography/Heading.config.js +131 -38
- package/es/components/Typography/Old/Body.config.js +77 -24
- package/es/components/Typography/Old/Button.config.js +55 -17
- package/es/components/Typography/Old/Caption.config.js +33 -10
- package/es/components/Typography/Old/Display.config.js +77 -24
- package/es/components/Typography/Old/Footnote.config.js +55 -17
- package/es/components/Typography/Old/Headline.config.js +121 -38
- package/es/components/Typography/Old/Paragraph.config.js +55 -17
- package/es/components/Typography/Old/ParagraphText.config.js +55 -17
- package/es/components/Typography/Old/Subtitle.config.js +33 -10
- package/es/components/Typography/Old/Underline.config.js +33 -10
- package/es/components/Typography/Old/index.js +45 -45
- package/es/components/Typography/Text.config.js +107 -31
- package/es/components/Typography/Typography.js +35 -35
- package/es/components/Typography/index.js +1 -1
- package/es/components/Upload/Upload.perftest.js +51 -24
- package/es/components/Upload/index.js +1 -1
- package/es/components/UploadAudio/index.js +1 -1
- package/es/components/UploadVisual/index.js +1 -1
- package/es/helpers/index.js +1 -0
- package/es/hocs/index.js +1 -1
- package/es/hooks/index.js +1 -1
- package/es/index.js +1 -1
- package/es/mixins/index.js +1 -1
- package/es/tokens/colors.js +1 -1
- package/es/tokens/index.js +1 -1
- package/es/tokens/sizes.js +1 -1
- package/es/tokens/typography.js +37 -37
- package/es/types/index.js +1 -1
- package/es/utils/index.js +1 -1
- package/helpers/index.js +31 -0
- package/hocs/index.js +16 -15
- package/hooks/index.js +22 -27
- package/index.js +99 -927
- package/mixins/index.js +112 -119
- package/package.json +10 -10
- package/tokens/colors.js +189 -48
- package/tokens/index.js +17 -35
- package/tokens/sizes.js +33 -9
- package/tokens/typography.js +228 -362
- package/types/index.js +2 -3
- package/utils/index.js +72 -125
- package/css/cjs/components/Carousel/Carousel.config_1r461vi.css +0 -2
- package/css/es/components/Carousel/Carousel.config_1r461vi.css +0 -2
- package/es/hooks/useFocusTrap.component-test.js +0 -165
- package/hooks/useFocusTrap.component-test.js +0 -171
@@ -1,53 +1,537 @@
|
|
1
|
-
|
2
|
-
|
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(--inverse-text-primary);\n ",
|
15
|
+
": var(--inverse-text-secondary);\n ",
|
16
|
+
": var(--surface-solid-default);\n ",
|
17
|
+
": var(",
|
18
|
+
");\n ",
|
19
|
+
": var(--inverse-text-primary-hover);\n ",
|
20
|
+
": var(--inverse-text-primary-active);\n "
|
21
|
+
]);
|
22
|
+
_templateObject = function _templateObject() {
|
23
|
+
return data;
|
24
|
+
};
|
25
|
+
return data;
|
26
|
+
}
|
27
|
+
function _templateObject1() {
|
28
|
+
var data = _tagged_template_literal([
|
29
|
+
"\n ",
|
30
|
+
": var(--inverse-text-primary);\n ",
|
31
|
+
": var(--inverse-text-secondary);\n ",
|
32
|
+
": var(--surface-solid-default);\n ",
|
33
|
+
": var(",
|
34
|
+
");\n ",
|
35
|
+
": var(--inverse-text-primary-hover);\n ",
|
36
|
+
": var(--inverse-text-primary-active);\n "
|
37
|
+
]);
|
38
|
+
_templateObject1 = function _templateObject() {
|
39
|
+
return data;
|
40
|
+
};
|
41
|
+
return data;
|
42
|
+
}
|
43
|
+
function _templateObject2() {
|
44
|
+
var data = _tagged_template_literal([
|
45
|
+
"\n ",
|
46
|
+
": var(--on-dark-text-primary);\n ",
|
47
|
+
": var(--on-dark-text-secondary);\n ",
|
48
|
+
": var(--surface-accent);\n ",
|
49
|
+
": var(",
|
50
|
+
");\n ",
|
51
|
+
": var(--surface-accent-hover);\n ",
|
52
|
+
": var(--surface-accent-active);\n "
|
53
|
+
]);
|
54
|
+
_templateObject2 = function _templateObject() {
|
55
|
+
return data;
|
56
|
+
};
|
57
|
+
return data;
|
58
|
+
}
|
59
|
+
function _templateObject3() {
|
60
|
+
var data = _tagged_template_literal([
|
61
|
+
"\n ",
|
62
|
+
": var(--text-primary);\n ",
|
63
|
+
": var(--text-secondary);\n ",
|
64
|
+
": var(--surface-transparent-secondary);\n ",
|
65
|
+
": var(",
|
66
|
+
");\n ",
|
67
|
+
": var(--surface-transparent-secondary-hover);\n ",
|
68
|
+
": var(--surface-transparent-secondary-active);\n "
|
69
|
+
]);
|
70
|
+
_templateObject3 = function _templateObject() {
|
71
|
+
return data;
|
72
|
+
};
|
73
|
+
return data;
|
74
|
+
}
|
75
|
+
function _templateObject4() {
|
76
|
+
var data = _tagged_template_literal([
|
77
|
+
"\n ",
|
78
|
+
": var(--text-primary);\n ",
|
79
|
+
": var(--text-secondary);\n ",
|
80
|
+
": var(--surface-clear);\n ",
|
81
|
+
": var(",
|
82
|
+
");\n ",
|
83
|
+
": var(--surface-transparent-secondary-hover);\n ",
|
84
|
+
": var(--surface-transparent-secondary-active);\n "
|
85
|
+
]);
|
86
|
+
_templateObject4 = function _templateObject() {
|
87
|
+
return data;
|
88
|
+
};
|
89
|
+
return data;
|
90
|
+
}
|
91
|
+
function _templateObject5() {
|
92
|
+
var data = _tagged_template_literal([
|
93
|
+
"\n ",
|
94
|
+
": var(--on-dark-text-primary);\n ",
|
95
|
+
": var(--on-dark-text-secondary);\n ",
|
96
|
+
": var(--surface-positive);\n ",
|
97
|
+
": var(",
|
98
|
+
");\n ",
|
99
|
+
": var(--surface-positive-hover);\n ",
|
100
|
+
": var(--surface-positive-active);\n "
|
101
|
+
]);
|
102
|
+
_templateObject5 = function _templateObject() {
|
103
|
+
return data;
|
104
|
+
};
|
105
|
+
return data;
|
106
|
+
}
|
107
|
+
function _templateObject6() {
|
108
|
+
var data = _tagged_template_literal([
|
109
|
+
"\n ",
|
110
|
+
": var(--on-dark-text-primary);\n ",
|
111
|
+
": var(--on-dark-text-secondary);\n ",
|
112
|
+
": var(--surface-warning);\n ",
|
113
|
+
": var(",
|
114
|
+
");\n ",
|
115
|
+
": var(--surface-warning-hover);\n ",
|
116
|
+
": var(--surface-warning-active);\n "
|
117
|
+
]);
|
118
|
+
_templateObject6 = function _templateObject() {
|
119
|
+
return data;
|
120
|
+
};
|
121
|
+
return data;
|
122
|
+
}
|
123
|
+
function _templateObject7() {
|
124
|
+
var data = _tagged_template_literal([
|
125
|
+
"\n ",
|
126
|
+
": var(--on-dark-text-primary);\n ",
|
127
|
+
": var(--on-dark-text-secondary);\n ",
|
128
|
+
": var(--surface-negative);\n ",
|
129
|
+
": var(",
|
130
|
+
");\n ",
|
131
|
+
": var(--surface-negative-hover);\n ",
|
132
|
+
": var(--surface-negative-active);\n "
|
133
|
+
]);
|
134
|
+
_templateObject7 = function _templateObject() {
|
135
|
+
return data;
|
136
|
+
};
|
137
|
+
return data;
|
138
|
+
}
|
139
|
+
function _templateObject8() {
|
140
|
+
var data = _tagged_template_literal([
|
141
|
+
"\n ",
|
142
|
+
": var(--on-dark-text-primary);\n ",
|
143
|
+
": var(--on-dark-text-secondary);\n ",
|
144
|
+
": var(--on-light-surface-transparent-deep);\n ",
|
145
|
+
": var(",
|
146
|
+
");\n ",
|
147
|
+
": var(--on-dark-text-primary-hover);\n ",
|
148
|
+
": var(--on-dark-text-primary-active);\n "
|
149
|
+
]);
|
150
|
+
_templateObject8 = function _templateObject() {
|
151
|
+
return data;
|
152
|
+
};
|
153
|
+
return data;
|
154
|
+
}
|
155
|
+
function _templateObject9() {
|
156
|
+
var data = _tagged_template_literal([
|
157
|
+
"\n ",
|
158
|
+
": var(--on-dark-text-primary);\n ",
|
159
|
+
": var(--on-dark-text-secondary);\n ",
|
160
|
+
": var(--on-light-surface-solid-default);\n ",
|
161
|
+
": var(",
|
162
|
+
");\n ",
|
163
|
+
": var(--on-dark-text-primary-hover);\n ",
|
164
|
+
": var(--on-dark-text-primary-active);\n "
|
165
|
+
]);
|
166
|
+
_templateObject9 = function _templateObject() {
|
167
|
+
return data;
|
168
|
+
};
|
169
|
+
return data;
|
170
|
+
}
|
171
|
+
function _templateObject10() {
|
172
|
+
var data = _tagged_template_literal([
|
173
|
+
"\n ",
|
174
|
+
": var(--on-light-text-primary);\n ",
|
175
|
+
": var(--on-light-text-secondary);\n ",
|
176
|
+
": var(--on-dark-surface-solid-default);\n ",
|
177
|
+
": var(",
|
178
|
+
");\n ",
|
179
|
+
": var(--on-light-text-primary-hover);\n ",
|
180
|
+
": var(--on-light-text-primary-active);\n "
|
181
|
+
]);
|
182
|
+
_templateObject10 = function _templateObject() {
|
183
|
+
return data;
|
184
|
+
};
|
185
|
+
return data;
|
186
|
+
}
|
187
|
+
function _templateObject11() {
|
188
|
+
var data = _tagged_template_literal([
|
189
|
+
"\n ",
|
190
|
+
": 4rem;\n ",
|
191
|
+
": 12.5rem;\n ",
|
192
|
+
": 1.75rem;\n ",
|
193
|
+
": 1rem;\n ",
|
194
|
+
": var(--plasma-typo-body-l-font-family);\n ",
|
195
|
+
": var(--plasma-typo-body-l-font-size);\n ",
|
196
|
+
": var(--plasma-typo-body-l-font-style);\n ",
|
197
|
+
": var(--plasma-typo-body-l-bold-font-weight);\n ",
|
198
|
+
": var(--plasma-typo-body-l-letter-spacing);\n ",
|
199
|
+
": var(--plasma-typo-body-l-line-height);\n\n ",
|
200
|
+
": 1.5rem;\n ",
|
201
|
+
": inherit;\n\n ",
|
202
|
+
": 0 0.625rem 0 -0.125rem;\n ",
|
203
|
+
": 0 -0.125rem 0 0.625rem;\n ",
|
204
|
+
": 0 0 0 0.25rem;\n "
|
205
|
+
]);
|
206
|
+
_templateObject11 = function _templateObject() {
|
207
|
+
return data;
|
208
|
+
};
|
209
|
+
return data;
|
210
|
+
}
|
211
|
+
function _templateObject12() {
|
212
|
+
var data = _tagged_template_literal([
|
213
|
+
"\n ",
|
214
|
+
": 4rem;\n ",
|
215
|
+
": 12.5rem;\n ",
|
216
|
+
": var(--plasma-typo-body-l-font-family);\n ",
|
217
|
+
": var(--plasma-typo-body-l-font-size);\n ",
|
218
|
+
": var(--plasma-typo-body-l-font-style);\n ",
|
219
|
+
": var(--plasma-typo-body-l-bold-font-weight);\n ",
|
220
|
+
": var(--plasma-typo-body-l-letter-spacing);\n ",
|
221
|
+
": var(--plasma-typo-body-l-line-height);\n\n ",
|
222
|
+
": 1.5rem;\n ",
|
223
|
+
": inherit;\n\n ",
|
224
|
+
": 0 0.625rem 0 0;\n ",
|
225
|
+
": 0 0 0 0.625rem;\n ",
|
226
|
+
": 0 0 0 0.25rem;\n "
|
227
|
+
]);
|
228
|
+
_templateObject12 = function _templateObject() {
|
229
|
+
return data;
|
230
|
+
};
|
231
|
+
return data;
|
232
|
+
}
|
233
|
+
function _templateObject13() {
|
234
|
+
var data = _tagged_template_literal([
|
235
|
+
"\n ",
|
236
|
+
": 3.5rem;\n ",
|
237
|
+
": 12.5rem;\n ",
|
238
|
+
": 1.5rem;\n ",
|
239
|
+
": 0.875rem;\n ",
|
240
|
+
": var(--plasma-typo-body-l-font-family);\n ",
|
241
|
+
": var(--plasma-typo-body-l-font-size);\n ",
|
242
|
+
": var(--plasma-typo-body-l-font-style);\n ",
|
243
|
+
": var(--plasma-typo-body-l-bold-font-weight);\n ",
|
244
|
+
": var(--plasma-typo-body-l-letter-spacing);\n ",
|
245
|
+
": var(--plasma-typo-body-l-line-height);\n\n ",
|
246
|
+
": 1.375rem;\n ",
|
247
|
+
": inherit;\n\n ",
|
248
|
+
": 0 0.5rem 0 -0.125rem;\n ",
|
249
|
+
": 0 -0.125rem 0 0.5rem;\n ",
|
250
|
+
": 0 0 0 0.25rem;\n "
|
251
|
+
]);
|
252
|
+
_templateObject13 = function _templateObject() {
|
253
|
+
return data;
|
254
|
+
};
|
255
|
+
return data;
|
256
|
+
}
|
257
|
+
function _templateObject14() {
|
258
|
+
var data = _tagged_template_literal([
|
259
|
+
"\n ",
|
260
|
+
": 3.5rem;\n ",
|
261
|
+
": 12.5rem;\n ",
|
262
|
+
": var(--plasma-typo-body-l-font-family);\n ",
|
263
|
+
": var(--plasma-typo-body-l-font-size);\n ",
|
264
|
+
": var(--plasma-typo-body-l-font-style);\n ",
|
265
|
+
": var(--plasma-typo-body-l-bold-font-weight);\n ",
|
266
|
+
": var(--plasma-typo-body-l-letter-spacing);\n ",
|
267
|
+
": var(--plasma-typo-body-l-line-height);\n\n ",
|
268
|
+
": 1.375rem;\n ",
|
269
|
+
": inherit;\n\n ",
|
270
|
+
": 0 0.5rem 0 0;\n ",
|
271
|
+
": 0 0 0 0.5rem;\n ",
|
272
|
+
": 0 0 0 0.25rem;\n "
|
273
|
+
]);
|
274
|
+
_templateObject14 = function _templateObject() {
|
275
|
+
return data;
|
276
|
+
};
|
277
|
+
return data;
|
278
|
+
}
|
279
|
+
function _templateObject15() {
|
280
|
+
var data = _tagged_template_literal([
|
281
|
+
"\n ",
|
282
|
+
": 3rem;\n ",
|
283
|
+
": 11.25rem;\n ",
|
284
|
+
": 1.25rem;\n ",
|
285
|
+
": 0.75rem;\n ",
|
286
|
+
": var(--plasma-typo-body-m-font-family);\n ",
|
287
|
+
": var(--plasma-typo-body-m-font-size);\n ",
|
288
|
+
": var(--plasma-typo-body-m-font-style);\n ",
|
289
|
+
": var(--plasma-typo-body-m-bold-font-weight);\n ",
|
290
|
+
": var(--plasma-typo-body-m-letter-spacing);\n ",
|
291
|
+
": var(--plasma-typo-body-m-line-height);\n\n ",
|
292
|
+
": 1.375rem;\n ",
|
293
|
+
": inherit;\n\n ",
|
294
|
+
": 0 0.375rem 0 -0.125rem;\n ",
|
295
|
+
": 0 -0.125rem 0 0.375rem;\n ",
|
296
|
+
": 0 0 0 0.25rem;\n "
|
297
|
+
]);
|
298
|
+
_templateObject15 = function _templateObject() {
|
299
|
+
return data;
|
300
|
+
};
|
301
|
+
return data;
|
302
|
+
}
|
303
|
+
function _templateObject16() {
|
304
|
+
var data = _tagged_template_literal([
|
305
|
+
"\n ",
|
306
|
+
": 3rem;\n ",
|
307
|
+
": 11.25rem;\n ",
|
308
|
+
": var(--plasma-typo-body-m-font-family);\n ",
|
309
|
+
": var(--plasma-typo-body-m-font-size);\n ",
|
310
|
+
": var(--plasma-typo-body-m-font-style);\n ",
|
311
|
+
": var(--plasma-typo-body-m-bold-font-weight);\n ",
|
312
|
+
": var(--plasma-typo-body-m-letter-spacing);\n ",
|
313
|
+
": var(--plasma-typo-body-m-line-height);\n\n ",
|
314
|
+
": 1.375rem;\n ",
|
315
|
+
": inherit;\n\n ",
|
316
|
+
": 0 0.375rem 0 0;\n ",
|
317
|
+
": 0 0 0 0.375rem;\n ",
|
318
|
+
": 0 0 0 0.25rem;\n "
|
319
|
+
]);
|
320
|
+
_templateObject16 = function _templateObject() {
|
321
|
+
return data;
|
322
|
+
};
|
323
|
+
return data;
|
324
|
+
}
|
325
|
+
function _templateObject17() {
|
326
|
+
var data = _tagged_template_literal([
|
327
|
+
"\n ",
|
328
|
+
": 2.5rem;\n ",
|
329
|
+
": 11.25rem;\n ",
|
330
|
+
": 1rem;\n ",
|
331
|
+
": 0.625rem;\n ",
|
332
|
+
": var(--plasma-typo-body-s-font-family);\n ",
|
333
|
+
": var(--plasma-typo-body-s-font-size);\n ",
|
334
|
+
": var(--plasma-typo-body-s-font-style);\n ",
|
335
|
+
": var(--plasma-typo-body-s-bold-font-weight);\n ",
|
336
|
+
": var(--plasma-typo-body-s-letter-spacing);\n ",
|
337
|
+
": var(--plasma-typo-body-s-line-height);\n\n ",
|
338
|
+
": 1.375rem;\n ",
|
339
|
+
": inherit;\n\n ",
|
340
|
+
": 0 0.25rem 0 -0.125rem;\n ",
|
341
|
+
": 0 -0.125rem 0 0.25rem;\n ",
|
342
|
+
": 0 0 0 0.25rem;\n "
|
343
|
+
]);
|
344
|
+
_templateObject17 = function _templateObject() {
|
345
|
+
return data;
|
346
|
+
};
|
347
|
+
return data;
|
348
|
+
}
|
349
|
+
function _templateObject18() {
|
350
|
+
var data = _tagged_template_literal([
|
351
|
+
"\n ",
|
352
|
+
": 2.5rem;\n ",
|
353
|
+
": 11.25rem;\n ",
|
354
|
+
": var(--plasma-typo-body-s-font-family);\n ",
|
355
|
+
": var(--plasma-typo-body-s-font-size);\n ",
|
356
|
+
": var(--plasma-typo-body-s-font-style);\n ",
|
357
|
+
": var(--plasma-typo-body-s-bold-font-weight);\n ",
|
358
|
+
": var(--plasma-typo-body-s-letter-spacing);\n ",
|
359
|
+
": var(--plasma-typo-body-s-line-height);\n\n ",
|
360
|
+
": 1.375rem;\n ",
|
361
|
+
": inherit;\n\n ",
|
362
|
+
": 0 0.25rem 0 0;\n ",
|
363
|
+
": 0 0 0 0.25rem;\n ",
|
364
|
+
": 0 0 0 0.25rem;\n "
|
365
|
+
]);
|
366
|
+
_templateObject18 = function _templateObject() {
|
367
|
+
return data;
|
368
|
+
};
|
369
|
+
return data;
|
370
|
+
}
|
371
|
+
function _templateObject19() {
|
372
|
+
var data = _tagged_template_literal([
|
373
|
+
"\n ",
|
374
|
+
": 2rem;\n ",
|
375
|
+
": 10rem;\n ",
|
376
|
+
": 0.75rem;\n ",
|
377
|
+
": 0.5rem;\n ",
|
378
|
+
": var(--plasma-typo-body-xs-font-family);\n ",
|
379
|
+
": var(--plasma-typo-body-xs-font-size);\n ",
|
380
|
+
": var(--plasma-typo-body-xs-font-style);\n ",
|
381
|
+
": var(--plasma-typo-body-xs-bold-font-weight);\n ",
|
382
|
+
": var(--plasma-typo-body-xs-letter-spacing);\n ",
|
383
|
+
": var(--plasma-typo-body-xs-line-height);\n\n ",
|
384
|
+
": 1rem;\n ",
|
385
|
+
": inherit;\n\n ",
|
386
|
+
": 0 0.25rem 0 -0.125rem;\n ",
|
387
|
+
": 0 -0.125rem 0 0.25rem;\n ",
|
388
|
+
": 0 0 0 0.25rem;\n "
|
389
|
+
]);
|
390
|
+
_templateObject19 = function _templateObject() {
|
391
|
+
return data;
|
392
|
+
};
|
393
|
+
return data;
|
394
|
+
}
|
395
|
+
function _templateObject20() {
|
396
|
+
var data = _tagged_template_literal([
|
397
|
+
"\n ",
|
398
|
+
": 2rem;\n ",
|
399
|
+
": 10rem;\n ",
|
400
|
+
": var(--plasma-typo-body-xs-font-family);\n ",
|
401
|
+
": var(--plasma-typo-body-xs-font-size);\n ",
|
402
|
+
": var(--plasma-typo-body-xs-font-style);\n ",
|
403
|
+
": var(--plasma-typo-body-xs-bold-font-weight);\n ",
|
404
|
+
": var(--plasma-typo-body-xs-letter-spacing);\n ",
|
405
|
+
": var(--plasma-typo-body-xs-line-height);\n\n ",
|
406
|
+
": 1rem;\n ",
|
407
|
+
": inherit;\n\n ",
|
408
|
+
": 0 0.25rem 0 0;\n ",
|
409
|
+
": 0 0 0 0.25rem;\n ",
|
410
|
+
": 0 0 0 0.25rem;\n "
|
411
|
+
]);
|
412
|
+
_templateObject20 = function _templateObject() {
|
413
|
+
return data;
|
414
|
+
};
|
415
|
+
return data;
|
416
|
+
}
|
417
|
+
function _templateObject21() {
|
418
|
+
var data = _tagged_template_literal([
|
419
|
+
"\n ",
|
420
|
+
": 1.5rem;\n ",
|
421
|
+
": 8.75rem;\n ",
|
422
|
+
": 0.625rem;\n ",
|
423
|
+
": 0.375rem;\n ",
|
424
|
+
": var(--plasma-typo-body-xs-font-family);\n ",
|
425
|
+
": var(--plasma-typo-body-xs-font-size);\n ",
|
426
|
+
": var(--plasma-typo-body-xs-font-style);\n ",
|
427
|
+
": var(--plasma-typo-body-xs-bold-font-weight);\n ",
|
428
|
+
": var(--plasma-typo-body-xs-letter-spacing);\n ",
|
429
|
+
": var(--plasma-typo-body-xs-line-height);\n\n ",
|
430
|
+
": 0.75rem;\n ",
|
431
|
+
": inherit;\n\n ",
|
432
|
+
": 0 0.25rem 0 -0.125rem;\n ",
|
433
|
+
": 0 -0.125rem 0 0.25rem;\n ",
|
434
|
+
": 0 0 0 0.25rem;\n "
|
435
|
+
]);
|
436
|
+
_templateObject21 = function _templateObject() {
|
437
|
+
return data;
|
438
|
+
};
|
439
|
+
return data;
|
440
|
+
}
|
441
|
+
function _templateObject22() {
|
442
|
+
var data = _tagged_template_literal([
|
443
|
+
"\n ",
|
444
|
+
": 0.4;\n "
|
445
|
+
]);
|
446
|
+
_templateObject22 = function _templateObject() {
|
447
|
+
return data;
|
448
|
+
};
|
449
|
+
return data;
|
450
|
+
}
|
451
|
+
function _templateObject23() {
|
452
|
+
var data = _tagged_template_literal([
|
453
|
+
"\n ",
|
454
|
+
": var(--surface-accent);\n "
|
455
|
+
]);
|
456
|
+
_templateObject23 = function _templateObject() {
|
457
|
+
return data;
|
458
|
+
};
|
459
|
+
return data;
|
460
|
+
}
|
461
|
+
function _templateObject24() {
|
462
|
+
var data = _tagged_template_literal([
|
463
|
+
""
|
464
|
+
]);
|
465
|
+
_templateObject24 = function _templateObject() {
|
466
|
+
return data;
|
467
|
+
};
|
468
|
+
return data;
|
469
|
+
}
|
470
|
+
function _templateObject25() {
|
471
|
+
var data = _tagged_template_literal([
|
472
|
+
""
|
473
|
+
]);
|
474
|
+
_templateObject25 = function _templateObject() {
|
475
|
+
return data;
|
476
|
+
};
|
477
|
+
return data;
|
478
|
+
}
|
479
|
+
function _templateObject26() {
|
480
|
+
var data = _tagged_template_literal([
|
481
|
+
""
|
482
|
+
]);
|
483
|
+
_templateObject26 = function _templateObject() {
|
484
|
+
return data;
|
485
|
+
};
|
486
|
+
return data;
|
487
|
+
}
|
3
488
|
import { css, buttonTokens } from '@salutejs/plasma-new-hope/styled-components';
|
4
489
|
export var config = {
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
},
|
10
|
-
variations: {
|
11
|
-
view: {
|
12
|
-
"default": /*#__PURE__*/css(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--inverse-text-primary);\n ", ": var(--inverse-text-secondary);\n ", ": var(--surface-solid-default);\n ", ": var(", ");\n ", ": var(--inverse-text-primary-hover);\n ", ": var(--inverse-text-primary-active);\n "])), buttonTokens.buttonColor, buttonTokens.buttonValueColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonLoadingBackgroundColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonColorActive),
|
13
|
-
/**
|
14
|
-
* @deprecated
|
15
|
-
* использовать `default`
|
16
|
-
*/
|
17
|
-
primary: /*#__PURE__*/css(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--inverse-text-primary);\n ", ": var(--inverse-text-secondary);\n ", ": var(--surface-solid-default);\n ", ": var(", ");\n ", ": var(--inverse-text-primary-hover);\n ", ": var(--inverse-text-primary-active);\n "])), buttonTokens.buttonColor, buttonTokens.buttonValueColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonLoadingBackgroundColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonColorActive),
|
18
|
-
accent: /*#__PURE__*/css(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--on-dark-text-primary);\n ", ": var(--on-dark-text-secondary);\n ", ": var(--surface-accent);\n ", ": var(", ");\n ", ": var(--surface-accent-hover);\n ", ": var(--surface-accent-active);\n "])), buttonTokens.buttonColor, buttonTokens.buttonValueColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonLoadingBackgroundColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonBackgroundColorActive),
|
19
|
-
secondary: /*#__PURE__*/css(_templateObject4 || (_templateObject4 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-primary);\n ", ": var(--text-secondary);\n ", ": var(--surface-transparent-secondary);\n ", ": var(", ");\n ", ": var(--surface-transparent-secondary-hover);\n ", ": var(--surface-transparent-secondary-active);\n "])), buttonTokens.buttonColor, buttonTokens.buttonValueColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonLoadingBackgroundColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonBackgroundColorActive),
|
20
|
-
clear: /*#__PURE__*/css(_templateObject5 || (_templateObject5 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-primary);\n ", ": var(--text-secondary);\n ", ": var(--surface-clear);\n ", ": var(", ");\n ", ": var(--surface-transparent-secondary-hover);\n ", ": var(--surface-transparent-secondary-active);\n "])), buttonTokens.buttonColor, buttonTokens.buttonValueColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonLoadingBackgroundColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonBackgroundColorActive),
|
21
|
-
success: /*#__PURE__*/css(_templateObject6 || (_templateObject6 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--on-dark-text-primary);\n ", ": var(--on-dark-text-secondary);\n ", ": var(--surface-positive);\n ", ": var(", ");\n ", ": var(--surface-positive-hover);\n ", ": var(--surface-positive-active);\n "])), buttonTokens.buttonColor, buttonTokens.buttonValueColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonLoadingBackgroundColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonBackgroundColorActive),
|
22
|
-
warning: /*#__PURE__*/css(_templateObject7 || (_templateObject7 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--on-dark-text-primary);\n ", ": var(--on-dark-text-secondary);\n ", ": var(--surface-warning);\n ", ": var(", ");\n ", ": var(--surface-warning-hover);\n ", ": var(--surface-warning-active);\n "])), buttonTokens.buttonColor, buttonTokens.buttonValueColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonLoadingBackgroundColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonBackgroundColorActive),
|
23
|
-
critical: /*#__PURE__*/css(_templateObject8 || (_templateObject8 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--on-dark-text-primary);\n ", ": var(--on-dark-text-secondary);\n ", ": var(--surface-negative);\n ", ": var(", ");\n ", ": var(--surface-negative-hover);\n ", ": var(--surface-negative-active);\n "])), buttonTokens.buttonColor, buttonTokens.buttonValueColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonLoadingBackgroundColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonBackgroundColorActive),
|
24
|
-
dark: /*#__PURE__*/css(_templateObject9 || (_templateObject9 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--on-dark-text-primary);\n ", ": var(--on-dark-text-secondary);\n ", ": var(--on-light-surface-transparent-deep);\n ", ": var(", ");\n ", ": var(--on-dark-text-primary-hover);\n ", ": var(--on-dark-text-primary-active);\n "])), buttonTokens.buttonColor, buttonTokens.buttonValueColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonLoadingBackgroundColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonColorActive),
|
25
|
-
black: /*#__PURE__*/css(_templateObject10 || (_templateObject10 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--on-dark-text-primary);\n ", ": var(--on-dark-text-secondary);\n ", ": var(--on-light-surface-solid-default);\n ", ": var(", ");\n ", ": var(--on-dark-text-primary-hover);\n ", ": var(--on-dark-text-primary-active);\n "])), buttonTokens.buttonColor, buttonTokens.buttonValueColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonLoadingBackgroundColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonColorActive),
|
26
|
-
white: /*#__PURE__*/css(_templateObject11 || (_templateObject11 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--on-light-text-primary);\n ", ": var(--on-light-text-secondary);\n ", ": var(--on-dark-surface-solid-default);\n ", ": var(", ");\n ", ": var(--on-light-text-primary-hover);\n ", ": var(--on-light-text-primary-active);\n "])), buttonTokens.buttonColor, buttonTokens.buttonValueColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonLoadingBackgroundColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonColorActive)
|
27
|
-
},
|
28
|
-
size: {
|
29
|
-
xl: /*#__PURE__*/css(_templateObject12 || (_templateObject12 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 4rem;\n ", ": 12.5rem;\n ", ": 1.75rem;\n ", ": 1rem;\n ", ": var(--plasma-typo-body-l-font-family);\n ", ": var(--plasma-typo-body-l-font-size);\n ", ": var(--plasma-typo-body-l-font-style);\n ", ": var(--plasma-typo-body-l-bold-font-weight);\n ", ": var(--plasma-typo-body-l-letter-spacing);\n ", ": var(--plasma-typo-body-l-line-height);\n\n ", ": 1.5rem;\n ", ": inherit;\n\n ", ": 0 0.625rem 0 -0.125rem;\n ", ": 0 -0.125rem 0 0.625rem;\n ", ": 0 0 0 0.25rem;\n "])), buttonTokens.buttonHeight, buttonTokens.buttonWidth, buttonTokens.buttonPadding, buttonTokens.buttonRadius, buttonTokens.buttonFontFamily, buttonTokens.buttonFontSize, buttonTokens.buttonFontStyle, buttonTokens.buttonFontWeight, buttonTokens.buttonLetterSpacing, buttonTokens.buttonLineHeight, buttonTokens.buttonSpinnerSize, buttonTokens.buttonSpinnerColor, buttonTokens.buttonLeftContentMargin, buttonTokens.buttonRightContentMargin, buttonTokens.buttonValueMargin),
|
30
|
-
xlr: /*#__PURE__*/css(_templateObject13 || (_templateObject13 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 4rem;\n ", ": 12.5rem;\n ", ": var(--plasma-typo-body-l-font-family);\n ", ": var(--plasma-typo-body-l-font-size);\n ", ": var(--plasma-typo-body-l-font-style);\n ", ": var(--plasma-typo-body-l-bold-font-weight);\n ", ": var(--plasma-typo-body-l-letter-spacing);\n ", ": var(--plasma-typo-body-l-line-height);\n\n ", ": 1.5rem;\n ", ": inherit;\n\n ", ": 0 0.625rem 0 0;\n ", ": 0 0 0 0.625rem;\n ", ": 0 0 0 0.25rem;\n "])), buttonTokens.buttonHeight, buttonTokens.buttonWidth, buttonTokens.buttonFontFamily, buttonTokens.buttonFontSize, buttonTokens.buttonFontStyle, buttonTokens.buttonFontWeight, buttonTokens.buttonLetterSpacing, buttonTokens.buttonLineHeight, buttonTokens.buttonSpinnerSize, buttonTokens.buttonSpinnerColor, buttonTokens.buttonLeftContentMargin, buttonTokens.buttonRightContentMargin, buttonTokens.buttonValueMargin),
|
31
|
-
l: /*#__PURE__*/css(_templateObject14 || (_templateObject14 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 3.5rem;\n ", ": 12.5rem;\n ", ": 1.5rem;\n ", ": 0.875rem;\n ", ": var(--plasma-typo-body-l-font-family);\n ", ": var(--plasma-typo-body-l-font-size);\n ", ": var(--plasma-typo-body-l-font-style);\n ", ": var(--plasma-typo-body-l-bold-font-weight);\n ", ": var(--plasma-typo-body-l-letter-spacing);\n ", ": var(--plasma-typo-body-l-line-height);\n\n ", ": 1.375rem;\n ", ": inherit;\n\n ", ": 0 0.5rem 0 -0.125rem;\n ", ": 0 -0.125rem 0 0.5rem;\n ", ": 0 0 0 0.25rem;\n "])), buttonTokens.buttonHeight, buttonTokens.buttonWidth, buttonTokens.buttonPadding, buttonTokens.buttonRadius, buttonTokens.buttonFontFamily, buttonTokens.buttonFontSize, buttonTokens.buttonFontStyle, buttonTokens.buttonFontWeight, buttonTokens.buttonLetterSpacing, buttonTokens.buttonLineHeight, buttonTokens.buttonSpinnerSize, buttonTokens.buttonSpinnerColor, buttonTokens.buttonLeftContentMargin, buttonTokens.buttonRightContentMargin, buttonTokens.buttonValueMargin),
|
32
|
-
lr: /*#__PURE__*/css(_templateObject15 || (_templateObject15 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 3.5rem;\n ", ": 12.5rem;\n ", ": var(--plasma-typo-body-l-font-family);\n ", ": var(--plasma-typo-body-l-font-size);\n ", ": var(--plasma-typo-body-l-font-style);\n ", ": var(--plasma-typo-body-l-bold-font-weight);\n ", ": var(--plasma-typo-body-l-letter-spacing);\n ", ": var(--plasma-typo-body-l-line-height);\n\n ", ": 1.375rem;\n ", ": inherit;\n\n ", ": 0 0.5rem 0 0;\n ", ": 0 0 0 0.5rem;\n ", ": 0 0 0 0.25rem;\n "])), buttonTokens.buttonHeight, buttonTokens.buttonWidth, buttonTokens.buttonFontFamily, buttonTokens.buttonFontSize, buttonTokens.buttonFontStyle, buttonTokens.buttonFontWeight, buttonTokens.buttonLetterSpacing, buttonTokens.buttonLineHeight, buttonTokens.buttonSpinnerSize, buttonTokens.buttonSpinnerColor, buttonTokens.buttonLeftContentMargin, buttonTokens.buttonRightContentMargin, buttonTokens.buttonValueMargin),
|
33
|
-
m: /*#__PURE__*/css(_templateObject16 || (_templateObject16 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 3rem;\n ", ": 11.25rem;\n ", ": 1.25rem;\n ", ": 0.75rem;\n ", ": var(--plasma-typo-body-m-font-family);\n ", ": var(--plasma-typo-body-m-font-size);\n ", ": var(--plasma-typo-body-m-font-style);\n ", ": var(--plasma-typo-body-m-bold-font-weight);\n ", ": var(--plasma-typo-body-m-letter-spacing);\n ", ": var(--plasma-typo-body-m-line-height);\n\n ", ": 1.375rem;\n ", ": inherit;\n\n ", ": 0 0.375rem 0 -0.125rem;\n ", ": 0 -0.125rem 0 0.375rem;\n ", ": 0 0 0 0.25rem;\n "])), buttonTokens.buttonHeight, buttonTokens.buttonWidth, buttonTokens.buttonPadding, buttonTokens.buttonRadius, buttonTokens.buttonFontFamily, buttonTokens.buttonFontSize, buttonTokens.buttonFontStyle, buttonTokens.buttonFontWeight, buttonTokens.buttonLetterSpacing, buttonTokens.buttonLineHeight, buttonTokens.buttonSpinnerSize, buttonTokens.buttonSpinnerColor, buttonTokens.buttonLeftContentMargin, buttonTokens.buttonRightContentMargin, buttonTokens.buttonValueMargin),
|
34
|
-
mr: /*#__PURE__*/css(_templateObject17 || (_templateObject17 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 3rem;\n ", ": 11.25rem;\n ", ": var(--plasma-typo-body-m-font-family);\n ", ": var(--plasma-typo-body-m-font-size);\n ", ": var(--plasma-typo-body-m-font-style);\n ", ": var(--plasma-typo-body-m-bold-font-weight);\n ", ": var(--plasma-typo-body-m-letter-spacing);\n ", ": var(--plasma-typo-body-m-line-height);\n\n ", ": 1.375rem;\n ", ": inherit;\n\n ", ": 0 0.375rem 0 0;\n ", ": 0 0 0 0.375rem;\n ", ": 0 0 0 0.25rem;\n "])), buttonTokens.buttonHeight, buttonTokens.buttonWidth, buttonTokens.buttonFontFamily, buttonTokens.buttonFontSize, buttonTokens.buttonFontStyle, buttonTokens.buttonFontWeight, buttonTokens.buttonLetterSpacing, buttonTokens.buttonLineHeight, buttonTokens.buttonSpinnerSize, buttonTokens.buttonSpinnerColor, buttonTokens.buttonLeftContentMargin, buttonTokens.buttonRightContentMargin, buttonTokens.buttonValueMargin),
|
35
|
-
s: /*#__PURE__*/css(_templateObject18 || (_templateObject18 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 2.5rem;\n ", ": 11.25rem;\n ", ": 1rem;\n ", ": 0.625rem;\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-bold-font-weight);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n\n ", ": 1.375rem;\n ", ": inherit;\n\n ", ": 0 0.25rem 0 -0.125rem;\n ", ": 0 -0.125rem 0 0.25rem;\n ", ": 0 0 0 0.25rem;\n "])), buttonTokens.buttonHeight, buttonTokens.buttonWidth, buttonTokens.buttonPadding, buttonTokens.buttonRadius, buttonTokens.buttonFontFamily, buttonTokens.buttonFontSize, buttonTokens.buttonFontStyle, buttonTokens.buttonFontWeight, buttonTokens.buttonLetterSpacing, buttonTokens.buttonLineHeight, buttonTokens.buttonSpinnerSize, buttonTokens.buttonSpinnerColor, buttonTokens.buttonLeftContentMargin, buttonTokens.buttonRightContentMargin, buttonTokens.buttonValueMargin),
|
36
|
-
sr: /*#__PURE__*/css(_templateObject19 || (_templateObject19 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 2.5rem;\n ", ": 11.25rem;\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-bold-font-weight);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n\n ", ": 1.375rem;\n ", ": inherit;\n\n ", ": 0 0.25rem 0 0;\n ", ": 0 0 0 0.25rem;\n ", ": 0 0 0 0.25rem;\n "])), buttonTokens.buttonHeight, buttonTokens.buttonWidth, buttonTokens.buttonFontFamily, buttonTokens.buttonFontSize, buttonTokens.buttonFontStyle, buttonTokens.buttonFontWeight, buttonTokens.buttonLetterSpacing, buttonTokens.buttonLineHeight, buttonTokens.buttonSpinnerSize, buttonTokens.buttonSpinnerColor, buttonTokens.buttonLeftContentMargin, buttonTokens.buttonRightContentMargin, buttonTokens.buttonValueMargin),
|
37
|
-
xs: /*#__PURE__*/css(_templateObject20 || (_templateObject20 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 2rem;\n ", ": 10rem;\n ", ": 0.75rem;\n ", ": 0.5rem;\n ", ": var(--plasma-typo-body-xs-font-family);\n ", ": var(--plasma-typo-body-xs-font-size);\n ", ": var(--plasma-typo-body-xs-font-style);\n ", ": var(--plasma-typo-body-xs-bold-font-weight);\n ", ": var(--plasma-typo-body-xs-letter-spacing);\n ", ": var(--plasma-typo-body-xs-line-height);\n\n ", ": 1rem;\n ", ": inherit;\n\n ", ": 0 0.25rem 0 -0.125rem;\n ", ": 0 -0.125rem 0 0.25rem;\n ", ": 0 0 0 0.25rem;\n "])), buttonTokens.buttonHeight, buttonTokens.buttonWidth, buttonTokens.buttonPadding, buttonTokens.buttonRadius, buttonTokens.buttonFontFamily, buttonTokens.buttonFontSize, buttonTokens.buttonFontStyle, buttonTokens.buttonFontWeight, buttonTokens.buttonLetterSpacing, buttonTokens.buttonLineHeight, buttonTokens.buttonSpinnerSize, buttonTokens.buttonSpinnerColor, buttonTokens.buttonLeftContentMargin, buttonTokens.buttonRightContentMargin, buttonTokens.buttonValueMargin),
|
38
|
-
xsr: /*#__PURE__*/css(_templateObject21 || (_templateObject21 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 2rem;\n ", ": 10rem;\n ", ": var(--plasma-typo-body-xs-font-family);\n ", ": var(--plasma-typo-body-xs-font-size);\n ", ": var(--plasma-typo-body-xs-font-style);\n ", ": var(--plasma-typo-body-xs-bold-font-weight);\n ", ": var(--plasma-typo-body-xs-letter-spacing);\n ", ": var(--plasma-typo-body-xs-line-height);\n\n ", ": 1rem;\n ", ": inherit;\n\n ", ": 0 0.25rem 0 0;\n ", ": 0 0 0 0.25rem;\n ", ": 0 0 0 0.25rem;\n "])), buttonTokens.buttonHeight, buttonTokens.buttonWidth, buttonTokens.buttonFontFamily, buttonTokens.buttonFontSize, buttonTokens.buttonFontStyle, buttonTokens.buttonFontWeight, buttonTokens.buttonLetterSpacing, buttonTokens.buttonLineHeight, buttonTokens.buttonSpinnerSize, buttonTokens.buttonSpinnerColor, buttonTokens.buttonLeftContentMargin, buttonTokens.buttonRightContentMargin, buttonTokens.buttonValueMargin),
|
39
|
-
xxs: /*#__PURE__*/css(_templateObject22 || (_templateObject22 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1.5rem;\n ", ": 8.75rem;\n ", ": 0.625rem;\n ", ": 0.375rem;\n ", ": var(--plasma-typo-body-xs-font-family);\n ", ": var(--plasma-typo-body-xs-font-size);\n ", ": var(--plasma-typo-body-xs-font-style);\n ", ": var(--plasma-typo-body-xs-bold-font-weight);\n ", ": var(--plasma-typo-body-xs-letter-spacing);\n ", ": var(--plasma-typo-body-xs-line-height);\n\n ", ": 0.75rem;\n ", ": inherit;\n\n ", ": 0 0.25rem 0 -0.125rem;\n ", ": 0 -0.125rem 0 0.25rem;\n ", ": 0 0 0 0.25rem;\n "])), buttonTokens.buttonHeight, buttonTokens.buttonWidth, buttonTokens.buttonPadding, buttonTokens.buttonRadius, buttonTokens.buttonFontFamily, buttonTokens.buttonFontSize, buttonTokens.buttonFontStyle, buttonTokens.buttonFontWeight, buttonTokens.buttonLetterSpacing, buttonTokens.buttonLineHeight, buttonTokens.buttonSpinnerSize, buttonTokens.buttonSpinnerColor, buttonTokens.buttonLeftContentMargin, buttonTokens.buttonRightContentMargin, buttonTokens.buttonValueMargin)
|
40
|
-
},
|
41
|
-
disabled: {
|
42
|
-
"true": /*#__PURE__*/css(_templateObject23 || (_templateObject23 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.4;\n "])), buttonTokens.buttonDisabledOpacity)
|
43
|
-
},
|
44
|
-
focused: {
|
45
|
-
"true": /*#__PURE__*/css(_templateObject24 || (_templateObject24 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--surface-accent);\n "])), buttonTokens.buttonFocusColor)
|
490
|
+
defaults: {
|
491
|
+
view: 'default',
|
492
|
+
focused: 'true',
|
493
|
+
size: 'm'
|
46
494
|
},
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
495
|
+
variations: {
|
496
|
+
view: {
|
497
|
+
default: css(_templateObject(), buttonTokens.buttonColor, buttonTokens.buttonValueColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonLoadingBackgroundColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonColorActive),
|
498
|
+
/**
|
499
|
+
* @deprecated
|
500
|
+
* использовать `default`
|
501
|
+
*/ primary: css(_templateObject1(), buttonTokens.buttonColor, buttonTokens.buttonValueColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonLoadingBackgroundColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonColorActive),
|
502
|
+
accent: css(_templateObject2(), buttonTokens.buttonColor, buttonTokens.buttonValueColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonLoadingBackgroundColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonBackgroundColorActive),
|
503
|
+
secondary: css(_templateObject3(), buttonTokens.buttonColor, buttonTokens.buttonValueColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonLoadingBackgroundColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonBackgroundColorActive),
|
504
|
+
clear: css(_templateObject4(), buttonTokens.buttonColor, buttonTokens.buttonValueColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonLoadingBackgroundColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonBackgroundColorActive),
|
505
|
+
success: css(_templateObject5(), buttonTokens.buttonColor, buttonTokens.buttonValueColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonLoadingBackgroundColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonBackgroundColorActive),
|
506
|
+
warning: css(_templateObject6(), buttonTokens.buttonColor, buttonTokens.buttonValueColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonLoadingBackgroundColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonBackgroundColorActive),
|
507
|
+
critical: css(_templateObject7(), buttonTokens.buttonColor, buttonTokens.buttonValueColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonLoadingBackgroundColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonBackgroundColorActive),
|
508
|
+
dark: css(_templateObject8(), buttonTokens.buttonColor, buttonTokens.buttonValueColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonLoadingBackgroundColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonColorActive),
|
509
|
+
black: css(_templateObject9(), buttonTokens.buttonColor, buttonTokens.buttonValueColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonLoadingBackgroundColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonColorActive),
|
510
|
+
white: css(_templateObject10(), buttonTokens.buttonColor, buttonTokens.buttonValueColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonLoadingBackgroundColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonColorActive)
|
511
|
+
},
|
512
|
+
size: {
|
513
|
+
xl: css(_templateObject11(), buttonTokens.buttonHeight, buttonTokens.buttonWidth, buttonTokens.buttonPadding, buttonTokens.buttonRadius, buttonTokens.buttonFontFamily, buttonTokens.buttonFontSize, buttonTokens.buttonFontStyle, buttonTokens.buttonFontWeight, buttonTokens.buttonLetterSpacing, buttonTokens.buttonLineHeight, buttonTokens.buttonSpinnerSize, buttonTokens.buttonSpinnerColor, buttonTokens.buttonLeftContentMargin, buttonTokens.buttonRightContentMargin, buttonTokens.buttonValueMargin),
|
514
|
+
xlr: css(_templateObject12(), buttonTokens.buttonHeight, buttonTokens.buttonWidth, buttonTokens.buttonFontFamily, buttonTokens.buttonFontSize, buttonTokens.buttonFontStyle, buttonTokens.buttonFontWeight, buttonTokens.buttonLetterSpacing, buttonTokens.buttonLineHeight, buttonTokens.buttonSpinnerSize, buttonTokens.buttonSpinnerColor, buttonTokens.buttonLeftContentMargin, buttonTokens.buttonRightContentMargin, buttonTokens.buttonValueMargin),
|
515
|
+
l: css(_templateObject13(), buttonTokens.buttonHeight, buttonTokens.buttonWidth, buttonTokens.buttonPadding, buttonTokens.buttonRadius, buttonTokens.buttonFontFamily, buttonTokens.buttonFontSize, buttonTokens.buttonFontStyle, buttonTokens.buttonFontWeight, buttonTokens.buttonLetterSpacing, buttonTokens.buttonLineHeight, buttonTokens.buttonSpinnerSize, buttonTokens.buttonSpinnerColor, buttonTokens.buttonLeftContentMargin, buttonTokens.buttonRightContentMargin, buttonTokens.buttonValueMargin),
|
516
|
+
lr: css(_templateObject14(), buttonTokens.buttonHeight, buttonTokens.buttonWidth, buttonTokens.buttonFontFamily, buttonTokens.buttonFontSize, buttonTokens.buttonFontStyle, buttonTokens.buttonFontWeight, buttonTokens.buttonLetterSpacing, buttonTokens.buttonLineHeight, buttonTokens.buttonSpinnerSize, buttonTokens.buttonSpinnerColor, buttonTokens.buttonLeftContentMargin, buttonTokens.buttonRightContentMargin, buttonTokens.buttonValueMargin),
|
517
|
+
m: css(_templateObject15(), buttonTokens.buttonHeight, buttonTokens.buttonWidth, buttonTokens.buttonPadding, buttonTokens.buttonRadius, buttonTokens.buttonFontFamily, buttonTokens.buttonFontSize, buttonTokens.buttonFontStyle, buttonTokens.buttonFontWeight, buttonTokens.buttonLetterSpacing, buttonTokens.buttonLineHeight, buttonTokens.buttonSpinnerSize, buttonTokens.buttonSpinnerColor, buttonTokens.buttonLeftContentMargin, buttonTokens.buttonRightContentMargin, buttonTokens.buttonValueMargin),
|
518
|
+
mr: css(_templateObject16(), buttonTokens.buttonHeight, buttonTokens.buttonWidth, buttonTokens.buttonFontFamily, buttonTokens.buttonFontSize, buttonTokens.buttonFontStyle, buttonTokens.buttonFontWeight, buttonTokens.buttonLetterSpacing, buttonTokens.buttonLineHeight, buttonTokens.buttonSpinnerSize, buttonTokens.buttonSpinnerColor, buttonTokens.buttonLeftContentMargin, buttonTokens.buttonRightContentMargin, buttonTokens.buttonValueMargin),
|
519
|
+
s: css(_templateObject17(), buttonTokens.buttonHeight, buttonTokens.buttonWidth, buttonTokens.buttonPadding, buttonTokens.buttonRadius, buttonTokens.buttonFontFamily, buttonTokens.buttonFontSize, buttonTokens.buttonFontStyle, buttonTokens.buttonFontWeight, buttonTokens.buttonLetterSpacing, buttonTokens.buttonLineHeight, buttonTokens.buttonSpinnerSize, buttonTokens.buttonSpinnerColor, buttonTokens.buttonLeftContentMargin, buttonTokens.buttonRightContentMargin, buttonTokens.buttonValueMargin),
|
520
|
+
sr: css(_templateObject18(), buttonTokens.buttonHeight, buttonTokens.buttonWidth, buttonTokens.buttonFontFamily, buttonTokens.buttonFontSize, buttonTokens.buttonFontStyle, buttonTokens.buttonFontWeight, buttonTokens.buttonLetterSpacing, buttonTokens.buttonLineHeight, buttonTokens.buttonSpinnerSize, buttonTokens.buttonSpinnerColor, buttonTokens.buttonLeftContentMargin, buttonTokens.buttonRightContentMargin, buttonTokens.buttonValueMargin),
|
521
|
+
xs: css(_templateObject19(), buttonTokens.buttonHeight, buttonTokens.buttonWidth, buttonTokens.buttonPadding, buttonTokens.buttonRadius, buttonTokens.buttonFontFamily, buttonTokens.buttonFontSize, buttonTokens.buttonFontStyle, buttonTokens.buttonFontWeight, buttonTokens.buttonLetterSpacing, buttonTokens.buttonLineHeight, buttonTokens.buttonSpinnerSize, buttonTokens.buttonSpinnerColor, buttonTokens.buttonLeftContentMargin, buttonTokens.buttonRightContentMargin, buttonTokens.buttonValueMargin),
|
522
|
+
xsr: css(_templateObject20(), buttonTokens.buttonHeight, buttonTokens.buttonWidth, buttonTokens.buttonFontFamily, buttonTokens.buttonFontSize, buttonTokens.buttonFontStyle, buttonTokens.buttonFontWeight, buttonTokens.buttonLetterSpacing, buttonTokens.buttonLineHeight, buttonTokens.buttonSpinnerSize, buttonTokens.buttonSpinnerColor, buttonTokens.buttonLeftContentMargin, buttonTokens.buttonRightContentMargin, buttonTokens.buttonValueMargin),
|
523
|
+
xxs: css(_templateObject21(), buttonTokens.buttonHeight, buttonTokens.buttonWidth, buttonTokens.buttonPadding, buttonTokens.buttonRadius, buttonTokens.buttonFontFamily, buttonTokens.buttonFontSize, buttonTokens.buttonFontStyle, buttonTokens.buttonFontWeight, buttonTokens.buttonLetterSpacing, buttonTokens.buttonLineHeight, buttonTokens.buttonSpinnerSize, buttonTokens.buttonSpinnerColor, buttonTokens.buttonLeftContentMargin, buttonTokens.buttonRightContentMargin, buttonTokens.buttonValueMargin)
|
524
|
+
},
|
525
|
+
disabled: {
|
526
|
+
true: css(_templateObject22(), buttonTokens.buttonDisabledOpacity)
|
527
|
+
},
|
528
|
+
focused: {
|
529
|
+
true: css(_templateObject23(), buttonTokens.buttonFocusColor)
|
530
|
+
},
|
531
|
+
stretching: {
|
532
|
+
auto: css(_templateObject24()),
|
533
|
+
filled: css(_templateObject25()),
|
534
|
+
fixed: css(_templateObject26())
|
535
|
+
}
|
51
536
|
}
|
52
|
-
|
53
|
-
};
|
537
|
+
};
|
@@ -1,9 +1,7 @@
|
|
1
1
|
import { buttonConfig, component, mergeConfig } from '@salutejs/plasma-new-hope/styled-components';
|
2
2
|
import { config } from './Button.config';
|
3
|
-
var mergedConfig =
|
4
|
-
var ButtonComponent =
|
5
|
-
|
3
|
+
var mergedConfig = mergeConfig(buttonConfig, config);
|
4
|
+
var ButtonComponent = component(mergedConfig);
|
6
5
|
/**
|
7
6
|
* Компонент Button.
|
8
|
-
*/
|
9
|
-
export var Button = ButtonComponent;
|
7
|
+
*/ export var Button = ButtonComponent;
|