@salutejs/plasma-web 1.585.0-canary.2021.15824070198.0 → 1.585.0-canary.2022.15704348481.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/components/Accordion/Accordion.config.js +32 -359
- package/components/Accordion/Accordion.js +12 -12
- package/components/Accordion/index.js +15 -16
- package/components/Attach/Attach.config.js +36 -818
- package/components/Attach/Attach.js +11 -11
- package/components/Attach/index.js +7 -6
- package/components/AudioPlayer/index.js +7 -6
- package/components/Autocomplete/Autocomplete.config.js +42 -636
- package/components/Autocomplete/Autocomplete.js +7 -11
- package/components/Autocomplete/index.js +7 -6
- package/components/Avatar/Avatar.config.js +44 -419
- package/components/Avatar/Avatar.js +7 -19
- package/components/Avatar/index.js +7 -6
- package/components/AvatarGroup/AvatarGroup.js +6 -10
- package/components/AvatarGroup/index.js +7 -6
- package/components/Badge/Badge.config.js +41 -285
- package/components/Badge/Badge.js +11 -11
- package/components/Badge/Badge.perftest.js +20 -54
- package/components/Badge/index.js +7 -6
- package/components/Breadcrumbs/Breadcrumbs.config.js +21 -111
- package/components/Breadcrumbs/Breadcrumbs.js +12 -12
- package/components/Breadcrumbs/index.js +7 -6
- package/components/Button/Button.config.js +54 -542
- package/components/Button/Button.js +12 -12
- package/components/Button/Button.perftest.js +34 -76
- package/components/Button/index.js +7 -6
- package/components/ButtonBase/index.js +7 -6
- package/components/ButtonGroup/ButtonGroup.config.js +59 -570
- package/components/ButtonGroup/ButtonGroup.js +11 -11
- package/components/ButtonGroup/index.js +7 -6
- package/components/Calendar/Calendar.js +18 -39
- package/components/Calendar/Calendar.perftest.js +82 -122
- package/components/Calendar/CalendarBase.config.js +21 -318
- package/components/Calendar/CalendarDouble.config.js +21 -320
- package/components/Calendar/index.js +32 -24
- package/components/Card/index.js +38 -27
- package/components/Carousel/Carousel.config.js +18 -50
- package/components/Carousel/Carousel.js +20 -55
- package/components/Carousel/Legacy/Carousel.examples.js +40 -74
- package/components/Carousel/Legacy/Carousel.js +7 -11
- package/components/Carousel/index.js +21 -19
- package/components/Cell/Cell.config.js +18 -180
- package/components/Cell/Cell.js +12 -12
- package/components/Cell/index.js +33 -25
- package/components/Checkbox/Checkbox.config.js +42 -297
- package/components/Checkbox/Checkbox.js +11 -12
- package/components/Checkbox/Checkbox.perftest.js +22 -57
- package/components/Checkbox/index.js +7 -6
- package/components/Chip/Chip.config.js +41 -322
- package/components/Chip/Chip.js +12 -12
- package/components/Chip/index.js +7 -6
- package/components/ChipGroup/ChipGroup.config.js +27 -208
- package/components/ChipGroup/ChipGroup.js +7 -11
- package/components/ChipGroup/index.js +7 -6
- package/components/CodeField/CodeField.config.js +27 -145
- package/components/CodeField/CodeField.js +7 -11
- package/components/CodeField/index.js +39 -28
- package/components/Combobox/Combobox.config.js +42 -819
- package/components/Combobox/Combobox.d.ts +24 -24
- package/components/Combobox/Combobox.js +20 -55
- package/components/Combobox/Legacy/Combobox.config.js +21 -354
- package/components/Combobox/Legacy/Combobox.d.ts +2 -2
- package/components/Combobox/Legacy/Combobox.js +17 -41
- package/components/Combobox/Legacy/index.js +38 -27
- package/components/Combobox/index.js +39 -28
- package/components/Counter/Counter.config.js +33 -222
- package/components/Counter/Counter.js +11 -11
- package/components/Counter/index.js +15 -16
- package/components/DatePicker/DatePicker.config.js +27 -586
- package/components/DatePicker/DatePicker.js +9 -21
- package/components/DatePicker/index.js +27 -22
- package/components/Divider/Divider.config.js +27 -109
- package/components/Divider/Divider.js +11 -11
- package/components/Divider/index.js +15 -16
- package/components/Drawer/Drawer.config.js +22 -78
- package/components/Drawer/Drawer.js +29 -31
- package/components/Drawer/index.js +26 -21
- package/components/Dropdown/Dropdown.config.js +22 -245
- package/components/Dropdown/Dropdown.js +15 -50
- package/components/Dropdown/components/DropdownItem.js +73 -200
- package/components/Dropdown/components/DropdownList.js +8 -19
- package/components/Dropdown/components/DropdownOld.config.js +23 -142
- package/components/Dropdown/components/DropdownPopup.js +37 -158
- package/components/Dropdown/index.js +36 -28
- package/components/Dropzone/Dropzone.config.js +21 -86
- package/components/Dropzone/Dropzone.js +7 -11
- package/components/Dropzone/index.js +21 -19
- package/components/Editable/Editable.config.js +18 -56
- package/components/Editable/Editable.js +13 -63
- package/components/Editable/index.js +7 -6
- package/components/ElasticGrid/ElasticGrid.perftest.js +28 -49
- package/components/ElasticGrid/index.js +7 -6
- package/components/EmptyState/EmptyState.config.js +18 -114
- package/components/EmptyState/EmptyState.js +7 -19
- package/components/EmptyState/index.js +7 -6
- package/components/Flow/Flow.js +6 -10
- package/components/Flow/index.js +7 -6
- package/components/Grid/Grid.config.js +22 -102
- package/components/Grid/Grid.js +18 -21
- package/components/Grid/index.js +20 -18
- package/components/IconButton/IconButton.config.js +43 -425
- package/components/IconButton/IconButton.js +12 -12
- package/components/IconButton/index.js +7 -6
- package/components/Image/Image.js +11 -11
- package/components/Image/index.js +7 -6
- package/components/Indicator/Indicator.config.js +27 -149
- package/components/Indicator/Indicator.js +7 -19
- package/components/Indicator/index.js +7 -6
- package/components/Link/Link.config.js +34 -235
- package/components/Link/Link.js +12 -12
- package/components/Link/index.js +7 -6
- package/components/LinkButton/LinkButton.config.js +31 -274
- package/components/LinkButton/LinkButton.js +7 -11
- package/components/LinkButton/index.js +7 -6
- package/components/List/List.config.js +25 -177
- package/components/List/List.js +12 -12
- package/components/List/index.js +15 -16
- package/components/Mask/Mask.js +6 -10
- package/components/Mask/index.js +7 -6
- package/components/Modal/Modal.perftest.js +20 -25
- package/components/Modal/index.js +20 -18
- package/components/ModalBase/Modal.config.js +15 -47
- package/components/ModalBase/ModalBase.js +12 -12
- package/components/ModalBase/index.js +15 -16
- package/components/Note/Note.config.js +25 -245
- package/components/Note/Note.js +7 -11
- package/components/Note/index.js +21 -19
- package/components/Notification/Notification.config.js +30 -361
- package/components/Notification/Notification.js +23 -38
- package/components/Notification/index.js +27 -22
- package/components/NumberFormat/NumberFormat.js +13 -10
- package/components/NumberFormat/index.js +7 -6
- package/components/NumberInput/NumberInput.config.js +42 -394
- package/components/NumberInput/NumberInput.js +7 -11
- package/components/NumberInput/index.js +21 -19
- package/components/Overlay/index.js +7 -6
- package/components/Pagination/Pagination.config.js +43 -399
- package/components/Pagination/Pagination.js +12 -12
- package/components/Pagination/index.js +7 -6
- package/components/PaginationDots/index.js +20 -18
- package/components/Popover/Popover.config.js +15 -43
- package/components/Popover/Popover.js +7 -11
- package/components/Popover/index.js +7 -6
- package/components/Popup/index.js +7 -6
- package/components/PopupBase/PopupBase.js +10 -10
- package/components/PopupBase/index.js +27 -22
- package/components/Portal/index.js +7 -6
- package/components/PreviewGallery/PreviewGallery.perftest.js +74 -104
- package/components/PreviewGallery/index.js +32 -24
- package/components/Price/Price.config.js +11 -15
- package/components/Price/Price.js +12 -12
- package/components/Price/index.js +15 -16
- package/components/Progress/Progress.config.js +25 -147
- package/components/Progress/Progress.js +8 -12
- package/components/Progress/index.js +7 -6
- package/components/Radiobox/Radiobox.config.js +49 -304
- package/components/Radiobox/Radiobox.d.ts +48 -2
- package/components/Radiobox/Radiobox.js +16 -19
- package/components/Radiobox/Radiobox.perftest.js +31 -35
- package/components/Radiobox/index.js +14 -15
- package/components/Range/Range.config.js +27 -319
- package/components/Range/Range.js +11 -11
- package/components/Range/index.js +15 -16
- package/components/Rating/Rating.config.js +31 -469
- package/components/Rating/Rating.js +7 -11
- package/components/Rating/index.js +21 -19
- package/components/SSRProvider/index.js +7 -6
- package/components/Segment/Segment.js +32 -27
- package/components/Segment/SegmentGroup.config.js +38 -196
- package/components/Segment/SegmentItem.config.js +31 -266
- package/components/Segment/index.js +26 -21
- package/components/Select/Select.config.js +54 -1017
- package/components/Select/Select.d.ts +6 -6
- package/components/Select/Select.js +15 -50
- package/components/Select/Select.perftest.js +33 -46
- package/components/Select/index.js +15 -16
- package/components/Sheet/Sheet.config.js +18 -63
- package/components/Sheet/Sheet.js +12 -12
- package/components/Sheet/index.js +15 -16
- package/components/Skeleton/LineSkeleton.config.js +49 -446
- package/components/Skeleton/Skeleton.js +28 -23
- package/components/Skeleton/index.js +20 -18
- package/components/Slider/Slider.config.js +25 -273
- package/components/Slider/Slider.js +13 -12
- package/components/Slider/index.js +7 -6
- package/components/Spinner/Spinner.config.js +32 -151
- package/components/Spinner/Spinner.js +16 -23
- package/components/Spinner/index.js +7 -6
- package/components/Steps/Steps.config.js +47 -366
- package/components/Steps/Steps.js +8 -12
- package/components/Steps/index.js +7 -6
- package/components/Switch/Switch.config.js +33 -193
- package/components/Switch/Switch.js +8 -12
- package/components/Switch/Switch.perftest.js +23 -61
- package/components/Switch/index.js +7 -6
- package/components/Table/Table.config.js +21 -257
- package/components/Table/Table.js +12 -12
- package/components/Table/index.js +7 -6
- package/components/Tabs/TabItem.js +24 -26
- package/components/Tabs/Tabs.js +24 -26
- package/components/Tabs/Tabs.perftest.js +53 -72
- package/components/Tabs/TabsController.js +16 -15
- package/components/Tabs/horizontal/HorizontalTabItem.config.js +38 -398
- package/components/Tabs/horizontal/HorizontalTabs.config.js +37 -256
- package/components/Tabs/index.js +35 -27
- package/components/Tabs/vertical/VerticalTabItem.config.js +27 -186
- package/components/Tabs/vertical/VerticalTabs.config.js +27 -133
- package/components/TextArea/TextArea.config.js +43 -695
- package/components/TextArea/TextArea.js +12 -12
- package/components/TextArea/TextArea.perftest.js +28 -62
- package/components/TextArea/index.js +7 -6
- package/components/TextField/TextField.config.js +54 -856
- package/components/TextField/TextField.js +88 -206
- package/components/TextField/TextField.perftest.js +37 -103
- package/components/TextField/index.js +15 -16
- package/components/TextFieldGroup/TextFieldGroup.config.js +34 -356
- package/components/TextFieldGroup/TextFieldGroup.js +11 -11
- package/components/TextFieldGroup/index.js +7 -6
- package/components/Toast/Toast.config.js +42 -174
- package/components/Toast/Toast.js +14 -26
- package/components/Toast/index.js +20 -18
- package/components/Tokens/Colors/Colors.styles.d.ts +1 -1
- package/components/Tokens/Colors/Colors.styles.js +51 -147
- package/components/Tokens/NumberTokens/NumberTokens.styles.js +23 -70
- package/components/Tokens/Typography/Typography.styles.d.ts +1 -1
- package/components/Tokens/Typography/Typography.styles.js +77 -205
- package/components/Toolbar/Toolbar.config.js +21 -105
- package/components/Toolbar/Toolbar.js +13 -21
- package/components/Toolbar/index.js +21 -19
- package/components/Tooltip/Tooltip.config.js +20 -100
- package/components/Tooltip/Tooltip.js +7 -11
- package/components/Tooltip/Tooltip.perftest.js +78 -87
- package/components/Tooltip/index.js +7 -6
- package/components/Tree/Tree.config.js +21 -176
- package/components/Tree/Tree.js +7 -11
- package/components/Tree/index.js +7 -6
- package/components/Typography/Body.config.js +47 -161
- package/components/Typography/Dspl.config.js +31 -105
- package/components/Typography/Heading.config.js +47 -161
- package/components/Typography/Old/Body.config.js +31 -99
- package/components/Typography/Old/Button.config.js +23 -73
- package/components/Typography/Old/Caption.config.js +15 -42
- package/components/Typography/Old/Display.config.js +31 -99
- package/components/Typography/Old/Footnote.config.js +23 -73
- package/components/Typography/Old/Headline.config.js +47 -151
- package/components/Typography/Old/Paragraph.config.js +23 -73
- package/components/Typography/Old/ParagraphText.config.js +23 -73
- package/components/Typography/Old/Subtitle.config.js +15 -42
- package/components/Typography/Old/Underline.config.js +15 -42
- package/components/Typography/Old/index.js +80 -152
- package/components/Typography/Text.config.js +39 -133
- package/components/Typography/Typography.js +59 -116
- package/components/Typography/index.js +215 -117
- package/components/Upload/Upload.perftest.js +30 -65
- package/components/Upload/index.js +20 -18
- package/components/UploadAudio/index.js +7 -6
- package/components/UploadVisual/index.js +7 -6
- package/es/components/Accordion/Accordion.config.js +27 -350
- package/es/components/Accordion/Accordion.js +5 -3
- package/es/components/Accordion/index.js +1 -1
- package/es/components/Attach/Attach.config.js +31 -809
- package/es/components/Attach/Attach.js +4 -2
- package/es/components/Attach/index.js +1 -1
- package/es/components/AudioPlayer/index.js +1 -1
- package/es/components/Autocomplete/Autocomplete.config.js +37 -627
- package/es/components/Autocomplete/Autocomplete.js +2 -2
- package/es/components/Autocomplete/index.js +1 -1
- package/es/components/Avatar/Avatar.config.js +39 -410
- 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 +36 -276
- package/es/components/Badge/Badge.js +4 -2
- package/es/components/Badge/Badge.perftest.js +13 -39
- package/es/components/Badge/index.js +1 -1
- package/es/components/Breadcrumbs/Breadcrumbs.config.js +16 -102
- package/es/components/Breadcrumbs/Breadcrumbs.js +5 -3
- package/es/components/Breadcrumbs/index.js +1 -1
- package/es/components/Button/Button.config.js +49 -533
- package/es/components/Button/Button.js +5 -3
- package/es/components/Button/Button.perftest.js +27 -53
- package/es/components/Button/index.js +1 -1
- package/es/components/ButtonBase/index.js +1 -1
- package/es/components/ButtonGroup/ButtonGroup.config.js +54 -561
- package/es/components/ButtonGroup/ButtonGroup.js +4 -2
- package/es/components/ButtonGroup/index.js +1 -1
- package/es/components/Calendar/Calendar.js +12 -12
- package/es/components/Calendar/Calendar.perftest.js +76 -97
- package/es/components/Calendar/CalendarBase.config.js +16 -309
- package/es/components/Calendar/CalendarDouble.config.js +16 -311
- package/es/components/Calendar/index.js +1 -1
- package/es/components/Card/index.js +1 -1
- package/es/components/Carousel/Carousel.config.js +13 -41
- package/es/components/Carousel/Carousel.js +13 -40
- package/es/components/Carousel/Legacy/Carousel.examples.js +28 -57
- package/es/components/Carousel/Legacy/Carousel.js +3 -3
- package/es/components/Carousel/index.js +1 -1
- package/es/components/Cell/Cell.config.js +13 -171
- package/es/components/Cell/Cell.js +5 -3
- package/es/components/Cell/index.js +1 -1
- package/es/components/Checkbox/Checkbox.config.js +37 -288
- package/es/components/Checkbox/Checkbox.js +4 -3
- package/es/components/Checkbox/Checkbox.perftest.js +16 -43
- package/es/components/Checkbox/index.js +1 -1
- package/es/components/Chip/Chip.config.js +36 -313
- package/es/components/Chip/Chip.js +5 -3
- package/es/components/Chip/index.js +1 -1
- package/es/components/ChipGroup/ChipGroup.config.js +22 -199
- package/es/components/ChipGroup/ChipGroup.js +2 -2
- package/es/components/ChipGroup/index.js +1 -1
- package/es/components/CodeField/CodeField.config.js +22 -136
- package/es/components/CodeField/CodeField.js +2 -2
- package/es/components/CodeField/index.js +1 -1
- package/es/components/Combobox/Combobox.config.js +37 -810
- package/es/components/Combobox/Combobox.js +13 -40
- package/es/components/Combobox/Legacy/Combobox.config.js +16 -345
- 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 +28 -213
- package/es/components/Counter/Counter.js +4 -2
- package/es/components/Counter/index.js +1 -1
- package/es/components/DatePicker/DatePicker.config.js +22 -577
- package/es/components/DatePicker/DatePicker.js +4 -4
- package/es/components/DatePicker/index.js +1 -1
- package/es/components/Divider/Divider.config.js +22 -100
- package/es/components/Divider/Divider.js +4 -2
- package/es/components/Divider/index.js +1 -1
- package/es/components/Drawer/Drawer.config.js +17 -69
- package/es/components/Drawer/Drawer.js +16 -8
- package/es/components/Drawer/index.js +1 -1
- package/es/components/Dropdown/Dropdown.config.js +17 -236
- package/es/components/Dropdown/Dropdown.js +9 -36
- package/es/components/Dropdown/components/DropdownItem.js +63 -135
- package/es/components/Dropdown/components/DropdownList.js +3 -6
- package/es/components/Dropdown/components/DropdownOld.config.js +18 -133
- package/es/components/Dropdown/components/DropdownPopup.js +28 -107
- package/es/components/Dropdown/index.js +1 -1
- package/es/components/Dropzone/Dropzone.config.js +16 -77
- package/es/components/Dropzone/Dropzone.js +2 -2
- package/es/components/Dropzone/index.js +1 -1
- package/es/components/Editable/Editable.config.js +13 -47
- package/es/components/Editable/Editable.js +3 -3
- package/es/components/Editable/index.js +1 -1
- package/es/components/ElasticGrid/ElasticGrid.perftest.js +21 -34
- package/es/components/ElasticGrid/index.js +1 -1
- package/es/components/EmptyState/EmptyState.config.js +13 -105
- 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 +17 -93
- package/es/components/Grid/Grid.js +2 -2
- package/es/components/Grid/index.js +1 -1
- package/es/components/IconButton/IconButton.config.js +38 -416
- package/es/components/IconButton/IconButton.js +5 -3
- package/es/components/IconButton/index.js +1 -1
- package/es/components/Image/Image.js +5 -3
- package/es/components/Image/index.js +1 -1
- package/es/components/Indicator/Indicator.config.js +22 -140
- package/es/components/Indicator/Indicator.js +3 -3
- package/es/components/Indicator/index.js +1 -1
- package/es/components/Link/Link.config.js +29 -226
- package/es/components/Link/Link.js +5 -3
- package/es/components/Link/index.js +1 -1
- package/es/components/LinkButton/LinkButton.config.js +26 -265
- package/es/components/LinkButton/LinkButton.js +2 -2
- package/es/components/LinkButton/index.js +1 -1
- package/es/components/List/List.config.js +20 -168
- package/es/components/List/List.js +5 -3
- 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 +12 -10
- package/es/components/Modal/index.js +1 -1
- package/es/components/ModalBase/Modal.config.js +10 -38
- package/es/components/ModalBase/ModalBase.js +5 -3
- package/es/components/ModalBase/index.js +1 -1
- package/es/components/Note/Note.config.js +20 -236
- package/es/components/Note/Note.js +2 -2
- package/es/components/Note/index.js +1 -1
- package/es/components/Notification/Notification.config.js +25 -352
- package/es/components/Notification/Notification.js +15 -11
- package/es/components/Notification/index.js +1 -1
- package/es/components/NumberFormat/NumberFormat.js +9 -1
- package/es/components/NumberFormat/index.js +1 -1
- package/es/components/NumberInput/NumberInput.config.js +37 -385
- 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 +38 -390
- package/es/components/Pagination/Pagination.js +5 -3
- package/es/components/Pagination/index.js +1 -1
- package/es/components/PaginationDots/index.js +1 -1
- package/es/components/Popover/Popover.config.js +10 -34
- 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 +4 -2
- package/es/components/PopupBase/index.js +1 -1
- package/es/components/Portal/index.js +1 -1
- package/es/components/PreviewGallery/PreviewGallery.perftest.js +65 -76
- package/es/components/PreviewGallery/index.js +1 -1
- package/es/components/Price/Price.config.js +7 -7
- package/es/components/Price/Price.js +5 -3
- package/es/components/Price/index.js +1 -1
- package/es/components/Progress/Progress.config.js +20 -138
- package/es/components/Progress/Progress.js +3 -3
- package/es/components/Progress/index.js +1 -1
- package/es/components/Radiobox/Radiobox.config.js +44 -295
- package/es/components/Radiobox/Radiobox.js +5 -4
- package/es/components/Radiobox/Radiobox.perftest.js +25 -21
- package/es/components/Radiobox/index.js +1 -1
- package/es/components/Range/Range.config.js +22 -310
- package/es/components/Range/Range.js +4 -2
- package/es/components/Range/index.js +1 -1
- package/es/components/Rating/Rating.config.js +26 -460
- 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 +10 -5
- package/es/components/Segment/SegmentGroup.config.js +33 -187
- package/es/components/Segment/SegmentItem.config.js +26 -257
- package/es/components/Segment/index.js +1 -1
- package/es/components/Select/Select.config.js +49 -1008
- package/es/components/Select/Select.js +9 -36
- package/es/components/Select/Select.perftest.js +27 -32
- package/es/components/Select/index.js +1 -1
- package/es/components/Sheet/Sheet.config.js +13 -54
- package/es/components/Sheet/Sheet.js +5 -3
- package/es/components/Sheet/index.js +1 -1
- package/es/components/Skeleton/LineSkeleton.config.js +44 -437
- package/es/components/Skeleton/Skeleton.js +11 -5
- package/es/components/Skeleton/index.js +1 -1
- package/es/components/Slider/Slider.config.js +20 -264
- package/es/components/Slider/Slider.js +5 -3
- package/es/components/Slider/index.js +1 -1
- package/es/components/Spinner/Spinner.config.js +27 -142
- package/es/components/Spinner/Spinner.js +7 -8
- package/es/components/Spinner/index.js +1 -1
- package/es/components/Steps/Steps.config.js +42 -357
- package/es/components/Steps/Steps.js +3 -3
- package/es/components/Steps/index.js +1 -1
- package/es/components/Switch/Switch.config.js +28 -184
- package/es/components/Switch/Switch.js +3 -3
- package/es/components/Switch/Switch.perftest.js +16 -46
- package/es/components/Switch/index.js +1 -1
- package/es/components/Table/Table.config.js +16 -248
- package/es/components/Table/Table.js +5 -3
- package/es/components/Table/index.js +1 -1
- package/es/components/Tabs/TabItem.js +14 -10
- package/es/components/Tabs/Tabs.js +14 -10
- package/es/components/Tabs/Tabs.perftest.js +46 -49
- package/es/components/Tabs/TabsController.js +7 -5
- package/es/components/Tabs/horizontal/HorizontalTabItem.config.js +33 -389
- package/es/components/Tabs/horizontal/HorizontalTabs.config.js +32 -247
- package/es/components/Tabs/index.js +1 -1
- package/es/components/Tabs/vertical/VerticalTabItem.config.js +22 -177
- package/es/components/Tabs/vertical/VerticalTabs.config.js +22 -124
- package/es/components/TextArea/TextArea.config.js +38 -686
- package/es/components/TextArea/TextArea.js +5 -3
- package/es/components/TextArea/TextArea.perftest.js +21 -47
- package/es/components/TextArea/index.js +1 -1
- package/es/components/TextField/TextField.config.js +49 -847
- package/es/components/TextField/TextField.js +77 -147
- package/es/components/TextField/TextField.perftest.js +30 -80
- package/es/components/TextField/index.js +1 -1
- package/es/components/TextFieldGroup/TextFieldGroup.config.js +29 -347
- package/es/components/TextFieldGroup/TextFieldGroup.js +4 -2
- package/es/components/TextFieldGroup/index.js +1 -1
- package/es/components/Toast/Toast.config.js +37 -165
- package/es/components/Toast/Toast.js +4 -4
- package/es/components/Toast/index.js +1 -1
- package/es/components/Tokens/Colors/Colors.styles.js +43 -90
- package/es/components/Tokens/NumberTokens/NumberTokens.styles.js +18 -37
- package/es/components/Tokens/Typography/Typography.styles.js +68 -135
- package/es/components/Toolbar/Toolbar.config.js +16 -96
- package/es/components/Toolbar/Toolbar.js +6 -4
- package/es/components/Toolbar/index.js +1 -1
- package/es/components/Tooltip/Tooltip.config.js +15 -91
- package/es/components/Tooltip/Tooltip.js +2 -2
- package/es/components/Tooltip/Tooltip.perftest.js +69 -70
- package/es/components/Tooltip/index.js +1 -1
- package/es/components/Tree/Tree.config.js +16 -167
- package/es/components/Tree/Tree.js +2 -2
- package/es/components/Tree/index.js +1 -1
- package/es/components/Typography/Body.config.js +38 -131
- package/es/components/Typography/Dspl.config.js +24 -83
- package/es/components/Typography/Heading.config.js +38 -131
- package/es/components/Typography/Old/Body.config.js +24 -77
- package/es/components/Typography/Old/Button.config.js +17 -55
- package/es/components/Typography/Old/Caption.config.js +10 -33
- package/es/components/Typography/Old/Display.config.js +24 -77
- package/es/components/Typography/Old/Footnote.config.js +17 -55
- package/es/components/Typography/Old/Headline.config.js +38 -121
- package/es/components/Typography/Old/Paragraph.config.js +17 -55
- package/es/components/Typography/Old/ParagraphText.config.js +17 -55
- package/es/components/Typography/Old/Subtitle.config.js +10 -33
- package/es/components/Typography/Old/Underline.config.js +10 -33
- package/es/components/Typography/Old/index.js +45 -45
- package/es/components/Typography/Text.config.js +31 -107
- package/es/components/Typography/Typography.js +35 -35
- package/es/components/Typography/index.js +1 -1
- package/es/components/Upload/Upload.perftest.js +24 -51
- 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/hocs/index.js +1 -1
- package/es/hooks/index.js +1 -1
- package/es/hooks/useFocusTrap.component-test.js +165 -0
- 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/hocs/index.js +15 -16
- package/hooks/index.js +27 -22
- package/hooks/useFocusTrap.component-test.js +171 -0
- package/index.js +927 -99
- package/mixins/index.js +119 -112
- package/package.json +10 -10
- package/tokens/colors.js +48 -189
- package/tokens/index.js +35 -17
- package/tokens/sizes.js +9 -33
- package/tokens/typography.js +362 -228
- package/types/index.js +3 -2
- package/utils/index.js +125 -72
- 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/es/helpers/index.js +0 -1
- package/helpers/index.js +0 -31
package/mixins/index.js
CHANGED
@@ -1,114 +1,121 @@
|
|
1
1
|
"use strict";
|
2
|
+
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
2
4
|
Object.defineProperty(exports, "__esModule", {
|
3
|
-
|
4
|
-
});
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
}
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
}
|
114
|
-
var
|
5
|
+
value: true
|
6
|
+
});
|
7
|
+
Object.defineProperty(exports, "addFocus", {
|
8
|
+
enumerable: true,
|
9
|
+
get: function get() {
|
10
|
+
return _plasmaCore.addFocus;
|
11
|
+
}
|
12
|
+
});
|
13
|
+
Object.defineProperty(exports, "applyBlur", {
|
14
|
+
enumerable: true,
|
15
|
+
get: function get() {
|
16
|
+
return _plasmaCore.applyBlur;
|
17
|
+
}
|
18
|
+
});
|
19
|
+
Object.defineProperty(exports, "applyDisabled", {
|
20
|
+
enumerable: true,
|
21
|
+
get: function get() {
|
22
|
+
return _plasmaCore.applyDisabled;
|
23
|
+
}
|
24
|
+
});
|
25
|
+
Object.defineProperty(exports, "applyEllipsis", {
|
26
|
+
enumerable: true,
|
27
|
+
get: function get() {
|
28
|
+
return _plasmaCore.applyEllipsis;
|
29
|
+
}
|
30
|
+
});
|
31
|
+
Object.defineProperty(exports, "applyHyphens", {
|
32
|
+
enumerable: true,
|
33
|
+
get: function get() {
|
34
|
+
return _plasmaCore.applyHyphens;
|
35
|
+
}
|
36
|
+
});
|
37
|
+
Object.defineProperty(exports, "applyMaxLines", {
|
38
|
+
enumerable: true,
|
39
|
+
get: function get() {
|
40
|
+
return _plasmaCore.applyMaxLines;
|
41
|
+
}
|
42
|
+
});
|
43
|
+
Object.defineProperty(exports, "applyNoSelect", {
|
44
|
+
enumerable: true,
|
45
|
+
get: function get() {
|
46
|
+
return _plasmaCore.applyNoSelect;
|
47
|
+
}
|
48
|
+
});
|
49
|
+
exports.applyPaper = void 0;
|
50
|
+
Object.defineProperty(exports, "applyRoundness", {
|
51
|
+
enumerable: true,
|
52
|
+
get: function get() {
|
53
|
+
return _plasmaCore.applyRoundness;
|
54
|
+
}
|
55
|
+
});
|
56
|
+
Object.defineProperty(exports, "applyScrollSnap", {
|
57
|
+
enumerable: true,
|
58
|
+
get: function get() {
|
59
|
+
return _plasmaCore.applyScrollSnap;
|
60
|
+
}
|
61
|
+
});
|
62
|
+
Object.defineProperty(exports, "applySkeletonGradient", {
|
63
|
+
enumerable: true,
|
64
|
+
get: function get() {
|
65
|
+
return _plasmaCore.applySkeletonGradient;
|
66
|
+
}
|
67
|
+
});
|
68
|
+
Object.defineProperty(exports, "applySpacing", {
|
69
|
+
enumerable: true,
|
70
|
+
get: function get() {
|
71
|
+
return _plasmaCore.applySpacing;
|
72
|
+
}
|
73
|
+
});
|
74
|
+
Object.defineProperty(exports, "applyView", {
|
75
|
+
enumerable: true,
|
76
|
+
get: function get() {
|
77
|
+
return _plasmaCore.applyView;
|
78
|
+
}
|
79
|
+
});
|
80
|
+
Object.defineProperty(exports, "blurs", {
|
81
|
+
enumerable: true,
|
82
|
+
get: function get() {
|
83
|
+
return _plasmaCore.blurs;
|
84
|
+
}
|
85
|
+
});
|
86
|
+
Object.defineProperty(exports, "radiuses", {
|
87
|
+
enumerable: true,
|
88
|
+
get: function get() {
|
89
|
+
return _plasmaCore.radiuses;
|
90
|
+
}
|
91
|
+
});
|
92
|
+
Object.defineProperty(exports, "shadows", {
|
93
|
+
enumerable: true,
|
94
|
+
get: function get() {
|
95
|
+
return _plasmaCore.shadows;
|
96
|
+
}
|
97
|
+
});
|
98
|
+
Object.defineProperty(exports, "spacing", {
|
99
|
+
enumerable: true,
|
100
|
+
get: function get() {
|
101
|
+
return _plasmaCore.spacing;
|
102
|
+
}
|
103
|
+
});
|
104
|
+
Object.defineProperty(exports, "syntheticFocus", {
|
105
|
+
enumerable: true,
|
106
|
+
get: function get() {
|
107
|
+
return _plasmaCore.syntheticFocus;
|
108
|
+
}
|
109
|
+
});
|
110
|
+
Object.defineProperty(exports, "views", {
|
111
|
+
enumerable: true,
|
112
|
+
get: function get() {
|
113
|
+
return _plasmaCore.views;
|
114
|
+
}
|
115
|
+
});
|
116
|
+
var _styledComponents = /*#__PURE__*/require("@salutejs/plasma-new-hope/styled-components");
|
117
|
+
var allTokens = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@salutejs/plasma-themes/tokens/plasma_web"));
|
118
|
+
var _plasmaCore = /*#__PURE__*/require("@salutejs/plasma-core");
|
119
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
120
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
121
|
+
var applyPaper = exports.applyPaper = /*#__PURE__*/(0, _styledComponents.createApplyPaperMixin)(allTokens);
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salutejs/plasma-web",
|
3
|
-
"version": "1.585.0-canary.
|
3
|
+
"version": "1.585.0-canary.2022.15704348481.0",
|
4
4
|
"description": "Salute Design System / React UI kit for web applications",
|
5
5
|
"author": "Salute Frontend Team <salute.developers@gmail.com>",
|
6
6
|
"license": "MIT",
|
@@ -19,9 +19,9 @@
|
|
19
19
|
"directory": "packages/plasma-web"
|
20
20
|
},
|
21
21
|
"dependencies": {
|
22
|
-
"@salutejs/plasma-core": "1.
|
23
|
-
"@salutejs/plasma-hope": "1.
|
24
|
-
"@salutejs/plasma-new-hope": "0.327.0-canary.
|
22
|
+
"@salutejs/plasma-core": "1.198.0",
|
23
|
+
"@salutejs/plasma-hope": "1.343.0",
|
24
|
+
"@salutejs/plasma-new-hope": "0.327.0-canary.2022.15704348481.0",
|
25
25
|
"@salutejs/plasma-themes": "0.34.0",
|
26
26
|
"@salutejs/plasma-tokens-b2b": "1.50.0",
|
27
27
|
"@salutejs/plasma-tokens-b2c": "0.61.0",
|
@@ -49,9 +49,9 @@
|
|
49
49
|
"@rollup/plugin-commonjs": "25.0.7",
|
50
50
|
"@rollup/plugin-node-resolve": "15.2.3",
|
51
51
|
"@salutejs/plasma-colors": "0.15.0",
|
52
|
-
"@salutejs/plasma-cy-utils": "0.
|
53
|
-
"@salutejs/plasma-icons": "1.
|
54
|
-
"@salutejs/plasma-sb-utils": "0.
|
52
|
+
"@salutejs/plasma-cy-utils": "0.129.0",
|
53
|
+
"@salutejs/plasma-icons": "1.218.0",
|
54
|
+
"@salutejs/plasma-sb-utils": "0.199.0",
|
55
55
|
"@storybook/addon-docs": "7.6.17",
|
56
56
|
"@storybook/addon-essentials": "7.6.17",
|
57
57
|
"@storybook/addons": "7.6.17",
|
@@ -86,8 +86,8 @@
|
|
86
86
|
"prebuild": "rm -rf ./components ./es ./helpers ./hocs ./hooks ./mixins ./tokens ./types ./utils index.d.ts index.d.ts.map index.js index.js.map",
|
87
87
|
"build": "npm run build:cjs && npm run build:esm && npm run build:css",
|
88
88
|
"postbuild": "npm run generate:typings",
|
89
|
-
"build:cjs": "
|
90
|
-
"build:esm": "
|
89
|
+
"build:cjs": "BABEL_ENV=cjs SC_NAMESPACE=plasma-web babel ./src --out-dir . --extensions .ts,.tsx",
|
90
|
+
"build:esm": "BABEL_ENV=esm SC_NAMESPACE=plasma-web babel ./src --out-dir ./es --extensions .ts,.tsx",
|
91
91
|
"prebuild:css": "rm -rf src-css && ./scripts/copy-linaria-components.sh",
|
92
92
|
"build:css": "BABEL_ENV=esm SC_NAMESPACE=plasma-web rollup -c",
|
93
93
|
"postbuild:css": "rm -rf src-css",
|
@@ -111,5 +111,5 @@
|
|
111
111
|
"Fanil Zubairov"
|
112
112
|
],
|
113
113
|
"sideEffects": false,
|
114
|
-
"gitHead": "
|
114
|
+
"gitHead": "28e14d56e3878fc9b6d60dad7f0bb1a35d08f9ec"
|
115
115
|
}
|
package/tokens/colors.js
CHANGED
@@ -1,192 +1,51 @@
|
|
1
1
|
"use strict";
|
2
|
+
|
2
3
|
Object.defineProperty(exports, "__esModule", {
|
3
|
-
|
4
|
+
value: true
|
4
5
|
});
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
get buttonWarningHover () {
|
52
|
-
return buttonWarningHover;
|
53
|
-
},
|
54
|
-
get fieldColor () {
|
55
|
-
return fieldColor;
|
56
|
-
},
|
57
|
-
get fieldLabelColor () {
|
58
|
-
return fieldLabelColor;
|
59
|
-
},
|
60
|
-
get inputBackground () {
|
61
|
-
return inputBackground;
|
62
|
-
},
|
63
|
-
get inputBackgroundFocus () {
|
64
|
-
return inputBackgroundFocus;
|
65
|
-
},
|
66
|
-
get inputBackgroundHover () {
|
67
|
-
return inputBackgroundHover;
|
68
|
-
},
|
69
|
-
get inputBorder () {
|
70
|
-
return inputBorder;
|
71
|
-
},
|
72
|
-
get inputBorderFocus () {
|
73
|
-
return inputBorderFocus;
|
74
|
-
},
|
75
|
-
get inputBorderHover () {
|
76
|
-
return inputBorderHover;
|
77
|
-
},
|
78
|
-
get inputCaretColor () {
|
79
|
-
return inputCaretColor;
|
80
|
-
},
|
81
|
-
get inputColor () {
|
82
|
-
return inputColor;
|
83
|
-
},
|
84
|
-
get inputErrorBackground () {
|
85
|
-
return inputErrorBackground;
|
86
|
-
},
|
87
|
-
get inputErrorBorderColor () {
|
88
|
-
return inputErrorBorderColor;
|
89
|
-
},
|
90
|
-
get inputErrorCaretColor () {
|
91
|
-
return inputErrorCaretColor;
|
92
|
-
},
|
93
|
-
get inputErrorColor () {
|
94
|
-
return inputErrorColor;
|
95
|
-
},
|
96
|
-
get inputFocusPlaceholderColor () {
|
97
|
-
return inputFocusPlaceholderColor;
|
98
|
-
},
|
99
|
-
get inputLabelColor () {
|
100
|
-
return inputLabelColor;
|
101
|
-
},
|
102
|
-
get inputPlaceholderColor () {
|
103
|
-
return inputPlaceholderColor;
|
104
|
-
},
|
105
|
-
get inputSuccessBackground () {
|
106
|
-
return inputSuccessBackground;
|
107
|
-
},
|
108
|
-
get inputSuccessBorderColor () {
|
109
|
-
return inputSuccessBorderColor;
|
110
|
-
},
|
111
|
-
get inputSuccessCaretColor () {
|
112
|
-
return inputSuccessCaretColor;
|
113
|
-
},
|
114
|
-
get inputSuccessColor () {
|
115
|
-
return inputSuccessColor;
|
116
|
-
},
|
117
|
-
get inputWarningBackground () {
|
118
|
-
return inputWarningBackground;
|
119
|
-
},
|
120
|
-
get inputWarningBorderColor () {
|
121
|
-
return inputWarningBorderColor;
|
122
|
-
},
|
123
|
-
get inputWarningCaretColor () {
|
124
|
-
return inputWarningCaretColor;
|
125
|
-
},
|
126
|
-
get inputWarningColor () {
|
127
|
-
return inputWarningColor;
|
128
|
-
},
|
129
|
-
get link () {
|
130
|
-
return link;
|
131
|
-
},
|
132
|
-
get linkActive () {
|
133
|
-
return linkActive;
|
134
|
-
},
|
135
|
-
get linkHover () {
|
136
|
-
return linkHover;
|
137
|
-
},
|
138
|
-
get linkVisited () {
|
139
|
-
return linkVisited;
|
140
|
-
},
|
141
|
-
get linkVisitedActive () {
|
142
|
-
return linkVisitedActive;
|
143
|
-
},
|
144
|
-
get linkVisitedHover () {
|
145
|
-
return linkVisitedHover;
|
146
|
-
}
|
147
|
-
});
|
148
|
-
var buttonPrimaryHover = 'var(--plasma-colors-button-primary-hover)';
|
149
|
-
var buttonPrimaryActive = 'var(--plasma-colors-button-primary-active)';
|
150
|
-
var buttonSecondaryHover = 'var(--plasma-colors-button-secondary-hover)';
|
151
|
-
var buttonSecondaryActive = 'var(--plasma-colors-button-secondary-active)';
|
152
|
-
var buttonSuccessHover = 'var(--plasma-colors-button-success-hover)';
|
153
|
-
var buttonSuccessActive = 'var(--plasma-colors-button-success-active)';
|
154
|
-
var buttonWarningHover = 'var(--plasma-colors-button-warning-hover)';
|
155
|
-
var buttonWarningActive = 'var(--plasma-colors-button-warning-active)';
|
156
|
-
var buttonCriticalHover = 'var(--plasma-colors-button-critical-hover)';
|
157
|
-
var buttonCriticalActive = 'var(--plasma-colors-button-critical-active)';
|
158
|
-
var buttonCheckedHover = 'var(--plasma-colors-button-checked-hover)';
|
159
|
-
var buttonCheckedHoverColor = 'var(--plasma-colors-button-checked-hover-color)';
|
160
|
-
var buttonCheckedActive = 'var(--plasma-colors-button-checked-active)';
|
161
|
-
var buttonCheckedActiveColor = 'var(--plasma-colors-button-checked-active-color)';
|
162
|
-
var fieldColor = 'var(--plasma-field-color)';
|
163
|
-
var fieldLabelColor = 'var(--plasma-field-label-color)';
|
164
|
-
var inputBackground = 'var(--plasma-input-background-color)';
|
165
|
-
var inputBackgroundHover = 'var(--plasma-input-hover-background-color)';
|
166
|
-
var inputBackgroundFocus = 'var(--plasma-input-focus-background-color)';
|
167
|
-
var inputColor = 'var(--plasma-input-color)';
|
168
|
-
var inputCaretColor = 'var(--plasma-input-caret-color)';
|
169
|
-
var inputPlaceholderColor = 'var(--plasma-input-placeholder-color)';
|
170
|
-
var inputFocusPlaceholderColor = 'var(--plasma-input-focus-placeholder-color)';
|
171
|
-
var inputBorder = 'var(--plasma-colors-input-border)';
|
172
|
-
var inputBorderHover = 'var(--plasma-colors-input-border-hover)';
|
173
|
-
var inputBorderFocus = 'var(--plasma-colors-input-border-focus)';
|
174
|
-
var inputSuccessBackground = 'var(--plasma-input-success-background)';
|
175
|
-
var inputSuccessColor = 'var(--plasma-input-success-color)';
|
176
|
-
var inputSuccessCaretColor = 'var(--plasma-input-success-caret-color)';
|
177
|
-
var inputSuccessBorderColor = 'var(--plasma-input-success-border-color)';
|
178
|
-
var inputWarningBackground = 'var(--plasma-input-warning-background)';
|
179
|
-
var inputWarningColor = 'var(--plasma-input-warning-color)';
|
180
|
-
var inputWarningCaretColor = 'var(--plasma-input-warning-caret-color)';
|
181
|
-
var inputWarningBorderColor = 'var(--plasma-input-warning-border-color)';
|
182
|
-
var inputErrorBackground = 'var(--plasma-input-error-background)';
|
183
|
-
var inputErrorColor = 'var(--plasma-input-error-color)';
|
184
|
-
var inputErrorCaretColor = 'var(--plasma-input-error-caret-color)';
|
185
|
-
var inputErrorBorderColor = 'var(--plasma-input-error-border-color)';
|
186
|
-
var inputLabelColor = 'var(--plasma-input-label-color)';
|
187
|
-
var link = 'var(--plasma-colors-link)';
|
188
|
-
var linkHover = 'var(--plasma-colors-link-hover)';
|
189
|
-
var linkActive = 'var(--plasma-colors-link-active)';
|
190
|
-
var linkVisited = 'var(--plasma-colors-link-visited)';
|
191
|
-
var linkVisitedHover = 'var(--plasma-colors-link-visited-hover)';
|
192
|
-
var linkVisitedActive = 'var(--plasma-colors-link-visited-active)';
|
6
|
+
exports.linkVisitedHover = exports.linkVisitedActive = exports.linkVisited = exports.linkHover = exports.linkActive = exports.link = exports.inputWarningColor = exports.inputWarningCaretColor = exports.inputWarningBorderColor = exports.inputWarningBackground = exports.inputSuccessColor = exports.inputSuccessCaretColor = exports.inputSuccessBorderColor = exports.inputSuccessBackground = exports.inputPlaceholderColor = exports.inputLabelColor = exports.inputFocusPlaceholderColor = exports.inputErrorColor = exports.inputErrorCaretColor = exports.inputErrorBorderColor = exports.inputErrorBackground = exports.inputColor = exports.inputCaretColor = exports.inputBorderHover = exports.inputBorderFocus = exports.inputBorder = exports.inputBackgroundHover = exports.inputBackgroundFocus = exports.inputBackground = exports.fieldLabelColor = exports.fieldColor = exports.buttonWarningHover = exports.buttonWarningActive = exports.buttonSuccessHover = exports.buttonSuccessActive = exports.buttonSecondaryHover = exports.buttonSecondaryActive = exports.buttonPrimaryHover = exports.buttonPrimaryActive = exports.buttonCriticalHover = exports.buttonCriticalActive = exports.buttonCheckedHoverColor = exports.buttonCheckedHover = exports.buttonCheckedActiveColor = exports.buttonCheckedActive = void 0;
|
7
|
+
var buttonPrimaryHover = exports.buttonPrimaryHover = 'var(--plasma-colors-button-primary-hover)';
|
8
|
+
var buttonPrimaryActive = exports.buttonPrimaryActive = 'var(--plasma-colors-button-primary-active)';
|
9
|
+
var buttonSecondaryHover = exports.buttonSecondaryHover = 'var(--plasma-colors-button-secondary-hover)';
|
10
|
+
var buttonSecondaryActive = exports.buttonSecondaryActive = 'var(--plasma-colors-button-secondary-active)';
|
11
|
+
var buttonSuccessHover = exports.buttonSuccessHover = 'var(--plasma-colors-button-success-hover)';
|
12
|
+
var buttonSuccessActive = exports.buttonSuccessActive = 'var(--plasma-colors-button-success-active)';
|
13
|
+
var buttonWarningHover = exports.buttonWarningHover = 'var(--plasma-colors-button-warning-hover)';
|
14
|
+
var buttonWarningActive = exports.buttonWarningActive = 'var(--plasma-colors-button-warning-active)';
|
15
|
+
var buttonCriticalHover = exports.buttonCriticalHover = 'var(--plasma-colors-button-critical-hover)';
|
16
|
+
var buttonCriticalActive = exports.buttonCriticalActive = 'var(--plasma-colors-button-critical-active)';
|
17
|
+
var buttonCheckedHover = exports.buttonCheckedHover = 'var(--plasma-colors-button-checked-hover)';
|
18
|
+
var buttonCheckedHoverColor = exports.buttonCheckedHoverColor = 'var(--plasma-colors-button-checked-hover-color)';
|
19
|
+
var buttonCheckedActive = exports.buttonCheckedActive = 'var(--plasma-colors-button-checked-active)';
|
20
|
+
var buttonCheckedActiveColor = exports.buttonCheckedActiveColor = 'var(--plasma-colors-button-checked-active-color)';
|
21
|
+
var fieldColor = exports.fieldColor = 'var(--plasma-field-color)';
|
22
|
+
var fieldLabelColor = exports.fieldLabelColor = 'var(--plasma-field-label-color)';
|
23
|
+
var inputBackground = exports.inputBackground = 'var(--plasma-input-background-color)';
|
24
|
+
var inputBackgroundHover = exports.inputBackgroundHover = 'var(--plasma-input-hover-background-color)';
|
25
|
+
var inputBackgroundFocus = exports.inputBackgroundFocus = 'var(--plasma-input-focus-background-color)';
|
26
|
+
var inputColor = exports.inputColor = 'var(--plasma-input-color)';
|
27
|
+
var inputCaretColor = exports.inputCaretColor = 'var(--plasma-input-caret-color)';
|
28
|
+
var inputPlaceholderColor = exports.inputPlaceholderColor = 'var(--plasma-input-placeholder-color)';
|
29
|
+
var inputFocusPlaceholderColor = exports.inputFocusPlaceholderColor = 'var(--plasma-input-focus-placeholder-color)';
|
30
|
+
var inputBorder = exports.inputBorder = 'var(--plasma-colors-input-border)';
|
31
|
+
var inputBorderHover = exports.inputBorderHover = 'var(--plasma-colors-input-border-hover)';
|
32
|
+
var inputBorderFocus = exports.inputBorderFocus = 'var(--plasma-colors-input-border-focus)';
|
33
|
+
var inputSuccessBackground = exports.inputSuccessBackground = 'var(--plasma-input-success-background)';
|
34
|
+
var inputSuccessColor = exports.inputSuccessColor = 'var(--plasma-input-success-color)';
|
35
|
+
var inputSuccessCaretColor = exports.inputSuccessCaretColor = 'var(--plasma-input-success-caret-color)';
|
36
|
+
var inputSuccessBorderColor = exports.inputSuccessBorderColor = 'var(--plasma-input-success-border-color)';
|
37
|
+
var inputWarningBackground = exports.inputWarningBackground = 'var(--plasma-input-warning-background)';
|
38
|
+
var inputWarningColor = exports.inputWarningColor = 'var(--plasma-input-warning-color)';
|
39
|
+
var inputWarningCaretColor = exports.inputWarningCaretColor = 'var(--plasma-input-warning-caret-color)';
|
40
|
+
var inputWarningBorderColor = exports.inputWarningBorderColor = 'var(--plasma-input-warning-border-color)';
|
41
|
+
var inputErrorBackground = exports.inputErrorBackground = 'var(--plasma-input-error-background)';
|
42
|
+
var inputErrorColor = exports.inputErrorColor = 'var(--plasma-input-error-color)';
|
43
|
+
var inputErrorCaretColor = exports.inputErrorCaretColor = 'var(--plasma-input-error-caret-color)';
|
44
|
+
var inputErrorBorderColor = exports.inputErrorBorderColor = 'var(--plasma-input-error-border-color)';
|
45
|
+
var inputLabelColor = exports.inputLabelColor = 'var(--plasma-input-label-color)';
|
46
|
+
var link = exports.link = 'var(--plasma-colors-link)';
|
47
|
+
var linkHover = exports.linkHover = 'var(--plasma-colors-link-hover)';
|
48
|
+
var linkActive = exports.linkActive = 'var(--plasma-colors-link-active)';
|
49
|
+
var linkVisited = exports.linkVisited = 'var(--plasma-colors-link-visited)';
|
50
|
+
var linkVisitedHover = exports.linkVisitedHover = 'var(--plasma-colors-link-visited-hover)';
|
51
|
+
var linkVisitedActive = exports.linkVisitedActive = 'var(--plasma-colors-link-visited-active)';
|
package/tokens/index.js
CHANGED
@@ -1,20 +1,38 @@
|
|
1
1
|
"use strict";
|
2
|
+
|
2
3
|
Object.defineProperty(exports, "__esModule", {
|
3
|
-
|
4
|
+
value: true
|
4
5
|
});
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
6
|
+
var _colors = /*#__PURE__*/require("./colors");
|
7
|
+
Object.keys(_colors).forEach(function (key) {
|
8
|
+
if (key === "default" || key === "__esModule") return;
|
9
|
+
if (key in exports && exports[key] === _colors[key]) return;
|
10
|
+
Object.defineProperty(exports, key, {
|
11
|
+
enumerable: true,
|
12
|
+
get: function get() {
|
13
|
+
return _colors[key];
|
14
|
+
}
|
15
|
+
});
|
16
|
+
});
|
17
|
+
var _sizes = /*#__PURE__*/require("./sizes");
|
18
|
+
Object.keys(_sizes).forEach(function (key) {
|
19
|
+
if (key === "default" || key === "__esModule") return;
|
20
|
+
if (key in exports && exports[key] === _sizes[key]) return;
|
21
|
+
Object.defineProperty(exports, key, {
|
22
|
+
enumerable: true,
|
23
|
+
get: function get() {
|
24
|
+
return _sizes[key];
|
25
|
+
}
|
26
|
+
});
|
27
|
+
});
|
28
|
+
var _typography = /*#__PURE__*/require("./typography");
|
29
|
+
Object.keys(_typography).forEach(function (key) {
|
30
|
+
if (key === "default" || key === "__esModule") return;
|
31
|
+
if (key in exports && exports[key] === _typography[key]) return;
|
32
|
+
Object.defineProperty(exports, key, {
|
33
|
+
enumerable: true,
|
34
|
+
get: function get() {
|
35
|
+
return _typography[key];
|
36
|
+
}
|
37
|
+
});
|
38
|
+
});
|
package/tokens/sizes.js
CHANGED
@@ -1,36 +1,12 @@
|
|
1
1
|
"use strict";
|
2
|
+
|
2
3
|
Object.defineProperty(exports, "__esModule", {
|
3
|
-
|
4
|
+
value: true
|
4
5
|
});
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
get fieldContentMargin () {
|
13
|
-
return fieldContentMargin;
|
14
|
-
},
|
15
|
-
get fieldHelperTextMarginTop () {
|
16
|
-
return fieldHelperTextMarginTop;
|
17
|
-
},
|
18
|
-
get fieldLabelMarginBottom () {
|
19
|
-
return fieldLabelMarginBottom;
|
20
|
-
},
|
21
|
-
get inputBorderRadius () {
|
22
|
-
return inputBorderRadius;
|
23
|
-
},
|
24
|
-
get inputBorderWidth () {
|
25
|
-
return inputBorderWidth;
|
26
|
-
},
|
27
|
-
get inputLabelMarginTop () {
|
28
|
-
return inputLabelMarginTop;
|
29
|
-
}
|
30
|
-
});
|
31
|
-
var fieldContentMargin = 'var(--plasma-field-content-margin)';
|
32
|
-
var fieldHelperTextMarginTop = 'var(--plasma-field-helper-text-margin-top)';
|
33
|
-
var fieldLabelMarginBottom = 'var(--plasma-field-label-margin-bottom)';
|
34
|
-
var inputBorderRadius = 'var(--plasma-input-border-radius)';
|
35
|
-
var inputBorderWidth = 'var(--plasma-input-border-width)';
|
36
|
-
var inputLabelMarginTop = 'var(--plasma-input-label-margin-top)';
|
6
|
+
exports.inputLabelMarginTop = exports.inputBorderWidth = exports.inputBorderRadius = exports.fieldLabelMarginBottom = exports.fieldHelperTextMarginTop = exports.fieldContentMargin = void 0;
|
7
|
+
var fieldContentMargin = exports.fieldContentMargin = 'var(--plasma-field-content-margin)';
|
8
|
+
var fieldHelperTextMarginTop = exports.fieldHelperTextMarginTop = 'var(--plasma-field-helper-text-margin-top)';
|
9
|
+
var fieldLabelMarginBottom = exports.fieldLabelMarginBottom = 'var(--plasma-field-label-margin-bottom)';
|
10
|
+
var inputBorderRadius = exports.inputBorderRadius = 'var(--plasma-input-border-radius)';
|
11
|
+
var inputBorderWidth = exports.inputBorderWidth = 'var(--plasma-input-border-width)';
|
12
|
+
var inputLabelMarginTop = exports.inputLabelMarginTop = 'var(--plasma-input-label-margin-top)';
|