@salutejs/plasma-web 1.585.0-canary.2021.15824070198.0 → 1.585.0-canary.2022.15754718552.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
@@ -87,7 +87,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
87
87
|
hintOffset?: [number, number];
|
88
88
|
hintWidth?: string;
|
89
89
|
hintContentLeft?: React.ReactNode;
|
90
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
90
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
|
91
91
|
items: ComboboxItemOption[];
|
92
92
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
93
93
|
placeholder?: string;
|
@@ -141,7 +141,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
141
141
|
hintOffset?: never;
|
142
142
|
hintWidth?: never;
|
143
143
|
hintContentLeft?: never;
|
144
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
144
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
|
145
145
|
items: ComboboxItemOption[];
|
146
146
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
147
147
|
placeholder?: string;
|
@@ -195,7 +195,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
195
195
|
hintOffset?: [number, number];
|
196
196
|
hintWidth?: string;
|
197
197
|
hintContentLeft?: React.ReactNode;
|
198
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
198
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
|
199
199
|
items: ComboboxItemOption[];
|
200
200
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
201
201
|
placeholder?: string;
|
@@ -249,7 +249,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
249
249
|
hintOffset?: never;
|
250
250
|
hintWidth?: never;
|
251
251
|
hintContentLeft?: never;
|
252
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
252
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
|
253
253
|
items: ComboboxItemOption[];
|
254
254
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
255
255
|
placeholder?: string;
|
@@ -303,7 +303,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
303
303
|
hintOffset?: [number, number];
|
304
304
|
hintWidth?: string;
|
305
305
|
hintContentLeft?: React.ReactNode;
|
306
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
306
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
|
307
307
|
items: ComboboxItemOption[];
|
308
308
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
309
309
|
placeholder?: string;
|
@@ -357,7 +357,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
357
357
|
hintOffset?: never;
|
358
358
|
hintWidth?: never;
|
359
359
|
hintContentLeft?: never;
|
360
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
360
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
|
361
361
|
items: ComboboxItemOption[];
|
362
362
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
363
363
|
placeholder?: string;
|
@@ -411,7 +411,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
411
411
|
hintOffset?: [number, number];
|
412
412
|
hintWidth?: string;
|
413
413
|
hintContentLeft?: React.ReactNode;
|
414
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
414
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
|
415
415
|
items: ComboboxItemOption[];
|
416
416
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
417
417
|
placeholder?: string;
|
@@ -465,7 +465,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
465
465
|
hintOffset?: never;
|
466
466
|
hintWidth?: never;
|
467
467
|
hintContentLeft?: never;
|
468
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
468
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
|
469
469
|
items: ComboboxItemOption[];
|
470
470
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
471
471
|
placeholder?: string;
|
@@ -519,7 +519,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
519
519
|
hintOffset?: [number, number];
|
520
520
|
hintWidth?: string;
|
521
521
|
hintContentLeft?: React.ReactNode;
|
522
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
522
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
|
523
523
|
items: ComboboxItemOption[];
|
524
524
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
525
525
|
placeholder?: string;
|
@@ -573,7 +573,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
573
573
|
hintOffset?: never;
|
574
574
|
hintWidth?: never;
|
575
575
|
hintContentLeft?: never;
|
576
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
576
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
|
577
577
|
items: ComboboxItemOption[];
|
578
578
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
579
579
|
placeholder?: string;
|
@@ -627,7 +627,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
627
627
|
hintOffset?: [number, number];
|
628
628
|
hintWidth?: string;
|
629
629
|
hintContentLeft?: React.ReactNode;
|
630
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
630
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
|
631
631
|
items: ComboboxItemOption[];
|
632
632
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
633
633
|
placeholder?: string;
|
@@ -681,7 +681,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
681
681
|
hintOffset?: never;
|
682
682
|
hintWidth?: never;
|
683
683
|
hintContentLeft?: never;
|
684
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
684
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
|
685
685
|
items: ComboboxItemOption[];
|
686
686
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
687
687
|
placeholder?: string;
|
@@ -735,7 +735,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
735
735
|
hintOffset?: [number, number];
|
736
736
|
hintWidth?: string;
|
737
737
|
hintContentLeft?: React.ReactNode;
|
738
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
738
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
|
739
739
|
items: ComboboxItemOption[];
|
740
740
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
741
741
|
placeholder?: string;
|
@@ -789,7 +789,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
789
789
|
hintOffset?: never;
|
790
790
|
hintWidth?: never;
|
791
791
|
hintContentLeft?: never;
|
792
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
792
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
|
793
793
|
items: ComboboxItemOption[];
|
794
794
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
795
795
|
placeholder?: string;
|
@@ -843,7 +843,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
843
843
|
hintOffset?: [number, number];
|
844
844
|
hintWidth?: string;
|
845
845
|
hintContentLeft?: React.ReactNode;
|
846
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
846
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
|
847
847
|
items: ComboboxItemOption[];
|
848
848
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
849
849
|
placeholder?: string;
|
@@ -897,7 +897,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
897
897
|
hintOffset?: never;
|
898
898
|
hintWidth?: never;
|
899
899
|
hintContentLeft?: never;
|
900
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
900
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
|
901
901
|
items: ComboboxItemOption[];
|
902
902
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
903
903
|
placeholder?: string;
|
@@ -951,7 +951,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
951
951
|
hintOffset?: [number, number];
|
952
952
|
hintWidth?: string;
|
953
953
|
hintContentLeft?: React.ReactNode;
|
954
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
954
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
|
955
955
|
items: ComboboxItemOption[];
|
956
956
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
957
957
|
placeholder?: string;
|
@@ -1005,7 +1005,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1005
1005
|
hintOffset?: never;
|
1006
1006
|
hintWidth?: never;
|
1007
1007
|
hintContentLeft?: never;
|
1008
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
1008
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
|
1009
1009
|
items: ComboboxItemOption[];
|
1010
1010
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
1011
1011
|
placeholder?: string;
|
@@ -1059,7 +1059,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1059
1059
|
hintOffset?: [number, number];
|
1060
1060
|
hintWidth?: string;
|
1061
1061
|
hintContentLeft?: React.ReactNode;
|
1062
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
1062
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
|
1063
1063
|
items: ComboboxItemOption[];
|
1064
1064
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
1065
1065
|
placeholder?: string;
|
@@ -1113,7 +1113,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1113
1113
|
hintOffset?: never;
|
1114
1114
|
hintWidth?: never;
|
1115
1115
|
hintContentLeft?: never;
|
1116
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
1116
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
|
1117
1117
|
items: ComboboxItemOption[];
|
1118
1118
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
1119
1119
|
placeholder?: string;
|
@@ -1167,7 +1167,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1167
1167
|
hintOffset?: [number, number];
|
1168
1168
|
hintWidth?: string;
|
1169
1169
|
hintContentLeft?: React.ReactNode;
|
1170
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
1170
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
|
1171
1171
|
items: ComboboxItemOption[];
|
1172
1172
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
1173
1173
|
placeholder?: string;
|
@@ -1221,7 +1221,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1221
1221
|
hintOffset?: never;
|
1222
1222
|
hintWidth?: never;
|
1223
1223
|
hintContentLeft?: never;
|
1224
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
1224
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
|
1225
1225
|
items: ComboboxItemOption[];
|
1226
1226
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
1227
1227
|
placeholder?: string;
|
@@ -1275,7 +1275,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1275
1275
|
hintOffset?: [number, number];
|
1276
1276
|
hintWidth?: string;
|
1277
1277
|
hintContentLeft?: React.ReactNode;
|
1278
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
1278
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
|
1279
1279
|
items: ComboboxItemOption[];
|
1280
1280
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
1281
1281
|
placeholder?: string;
|
@@ -1329,7 +1329,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1329
1329
|
hintOffset?: never;
|
1330
1330
|
hintWidth?: never;
|
1331
1331
|
hintContentLeft?: never;
|
1332
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
1332
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>))>;
|
1333
1333
|
type PropsFromConfig = keyof typeof config['variations'];
|
1334
1334
|
type PropsOld = ComponentProps<typeof ComboboxOld> & {
|
1335
1335
|
items?: never;
|
@@ -1,60 +1,25 @@
|
|
1
1
|
"use strict";
|
2
|
+
|
2
3
|
Object.defineProperty(exports, "__esModule", {
|
3
|
-
|
4
|
+
value: true
|
4
5
|
});
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
}
|
11
|
-
var
|
12
|
-
var
|
13
|
-
var
|
14
|
-
var
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
value: value,
|
19
|
-
enumerable: true,
|
20
|
-
configurable: true,
|
21
|
-
writable: true
|
22
|
-
});
|
23
|
-
} else {
|
24
|
-
obj[key] = value;
|
25
|
-
}
|
26
|
-
return obj;
|
27
|
-
}
|
28
|
-
function _interop_require_default(obj) {
|
29
|
-
return obj && obj.__esModule ? obj : {
|
30
|
-
default: obj
|
31
|
-
};
|
32
|
-
}
|
33
|
-
function _object_spread(target) {
|
34
|
-
for(var i = 1; i < arguments.length; i++){
|
35
|
-
var source = arguments[i] != null ? arguments[i] : {};
|
36
|
-
var ownKeys = Object.keys(source);
|
37
|
-
if (typeof Object.getOwnPropertySymbols === "function") {
|
38
|
-
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
39
|
-
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
40
|
-
}));
|
41
|
-
}
|
42
|
-
ownKeys.forEach(function(key) {
|
43
|
-
_define_property(target, key, source[key]);
|
44
|
-
});
|
45
|
-
}
|
46
|
-
return target;
|
47
|
-
}
|
48
|
-
var mergedConfig = (0, _styledcomponents.mergeConfig)(_styledcomponents.comboboxNewConfig, _Comboboxconfig.config);
|
49
|
-
var ComboboxNew = (0, _styledcomponents.component)(mergedConfig);
|
50
|
-
var ComboboxComponent = function(props, ref) {
|
51
|
-
if (props.items) {
|
52
|
-
return /*#__PURE__*/ _react.default.createElement(ComboboxNew, _object_spread({
|
53
|
-
ref: ref
|
54
|
-
}, props));
|
55
|
-
}
|
56
|
-
return /*#__PURE__*/ _react.default.createElement(_Legacy.Combobox, _object_spread({
|
57
|
-
ref: ref
|
6
|
+
exports.Combobox = void 0;
|
7
|
+
var _styledComponents = /*#__PURE__*/require("@salutejs/plasma-new-hope/styled-components");
|
8
|
+
var _react = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("react"));
|
9
|
+
var _Combobox = /*#__PURE__*/require("./Combobox.config");
|
10
|
+
var _Legacy = /*#__PURE__*/require("./Legacy");
|
11
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
12
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
13
|
+
var mergedConfig = /*#__PURE__*/(0, _styledComponents.mergeConfig)(_styledComponents.comboboxNewConfig, _Combobox.config);
|
14
|
+
var ComboboxNew = /*#__PURE__*/(0, _styledComponents.component)(mergedConfig);
|
15
|
+
var ComboboxComponent = function ComboboxComponent(props, ref) {
|
16
|
+
if (props.items) {
|
17
|
+
return /*#__PURE__*/_react["default"].createElement(ComboboxNew, _extends({
|
18
|
+
ref: ref
|
58
19
|
}, props));
|
20
|
+
}
|
21
|
+
return /*#__PURE__*/_react["default"].createElement(_Legacy.Combobox, _extends({
|
22
|
+
ref: ref
|
23
|
+
}, props));
|
59
24
|
};
|
60
|
-
var Combobox = (0,
|
25
|
+
var Combobox = exports.Combobox = /*#__PURE__*/(0, _styledComponents.fixedForwardRef)(ComboboxComponent);
|