@salutejs/plasma-new-hope 0.91.1-canary.1265.9664294667.0 → 0.92.0-canary.1233.9662754485.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/components/Button/Button.styles.js.map +1 -1
- package/cjs/components/Chip/Chip.tokens.js +2 -0
- package/cjs/components/Chip/Chip.tokens.js.map +1 -1
- package/cjs/components/Combobox/Combobox.js +2 -2
- package/cjs/components/Combobox/Combobox.js.map +1 -1
- package/cjs/components/Combobox/hooks/useKeyNavigation.js.map +1 -0
- package/cjs/components/Combobox/ui/ComboboxTarget/ComboboxTarget.js +1 -1
- package/cjs/components/Combobox/ui/ComboboxTarget/ComboboxTarget.js.map +1 -1
- package/cjs/components/Combobox/utils/index.js +103 -0
- package/cjs/components/Combobox/utils/index.js.map +1 -1
- package/cjs/components/Dropdown/Dropdown.tokens.js +32 -18
- package/cjs/components/Dropdown/Dropdown.tokens.js.map +1 -1
- package/cjs/components/Dropdown/hooks/useKeyboardNavigation.js +63 -24
- package/cjs/components/Dropdown/hooks/useKeyboardNavigation.js.map +1 -1
- package/cjs/components/Pagination/Pagination.css +58 -49
- package/cjs/components/Pagination/Pagination.js +12 -5
- package/cjs/components/Pagination/Pagination.js.map +1 -1
- package/cjs/components/Pagination/Pagination.styles.js.map +1 -1
- package/cjs/components/Pagination/Pagination.tokens.js +9 -11
- package/cjs/components/Pagination/Pagination.tokens.js.map +1 -1
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +59 -50
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +20 -26
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js.map +1 -1
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +5 -20
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles_187mk6b.css +3 -0
- package/cjs/components/Select/Select.css +65 -60
- package/cjs/components/Select/Select.js +253 -199
- package/cjs/components/Select/Select.js.map +1 -1
- package/cjs/components/Select/Select.styles.js +51 -36
- package/cjs/components/Select/Select.styles.js.map +1 -1
- package/cjs/components/Select/Select.styles_zx0ztg.css +5 -0
- package/cjs/components/Select/Select.tokens.js +58 -166
- package/cjs/components/Select/Select.tokens.js.map +1 -1
- package/cjs/components/Select/elements/Inner/Inner.css +106 -0
- package/cjs/components/Select/elements/Inner/Inner.js +82 -0
- package/cjs/components/Select/elements/Inner/Inner.js.map +1 -0
- package/cjs/components/Select/elements/Inner/elements/Item/Item.css +106 -0
- package/cjs/components/Select/elements/Inner/elements/Item/Item.js +98 -0
- package/cjs/components/Select/elements/Inner/elements/Item/Item.js.map +1 -0
- package/cjs/components/Select/elements/Inner/elements/Item/Item.styles.js +104 -0
- package/cjs/components/Select/elements/Inner/elements/Item/Item.styles.js.map +1 -0
- package/cjs/components/Select/elements/Inner/elements/Item/Item.styles_545sy7.css +8 -0
- package/cjs/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.css +30 -0
- package/cjs/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.js +20 -0
- package/cjs/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.js.map +1 -0
- package/cjs/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.styles.js +41 -0
- package/cjs/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.styles.js.map +1 -0
- package/cjs/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.styles_r1sne.css +4 -0
- package/cjs/components/Select/elements/Target/Target.css +66 -0
- package/cjs/components/Select/elements/Target/Target.js +63 -0
- package/cjs/components/Select/elements/Target/Target.js.map +1 -0
- package/cjs/components/Select/elements/Target/elements/Button/Button.css +33 -0
- package/cjs/components/Select/elements/Target/elements/Button/Button.js +59 -0
- package/cjs/components/Select/elements/Target/elements/Button/Button.js.map +1 -0
- package/cjs/components/Select/elements/Target/elements/Button/Button.styles.js +52 -0
- package/cjs/components/Select/elements/Target/elements/Button/Button.styles.js.map +1 -0
- package/cjs/components/Select/elements/Target/elements/Button/Button.styles_1r519o1.css +5 -0
- package/cjs/components/Select/{ui/SelectTarget/SelectTarget.css → elements/Target/elements/Textfield/Textfield.css} +13 -7
- package/cjs/components/Select/elements/Target/elements/Textfield/Textfield.js +113 -0
- package/cjs/components/Select/elements/Target/elements/Textfield/Textfield.js.map +1 -0
- package/cjs/components/Select/elements/Target/elements/Textfield/Textfield.styles.js +113 -0
- package/cjs/components/Select/elements/Target/elements/Textfield/Textfield.styles.js.map +1 -0
- package/cjs/components/Select/elements/Target/elements/Textfield/Textfield.styles_hp8mkt.css +12 -0
- package/cjs/components/Select/{ui/SelectChip/SelectChip.css → elements/Target/elements/Textfield/elements/Chip/Chip.css} +1 -1
- package/cjs/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.js +36 -0
- package/cjs/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.js.map +1 -0
- package/cjs/components/Select/{ui/SelectChip/SelectChip.styles.js → elements/Target/elements/Textfield/elements/Chip/Chip.styles.js} +5 -8
- package/cjs/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.styles.js.map +1 -0
- package/cjs/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.styles_k6znfr.css +1 -0
- package/cjs/components/Select/hooks/useKeyboardNavigation.js +353 -0
- package/cjs/components/Select/hooks/useKeyboardNavigation.js.map +1 -0
- package/cjs/components/Select/hooks/usePathMaps.js +37 -0
- package/cjs/components/Select/hooks/usePathMaps.js.map +1 -0
- package/cjs/components/Select/reducers/focusedChipIndexReducer.js +39 -0
- package/cjs/components/Select/reducers/focusedChipIndexReducer.js.map +1 -0
- package/cjs/components/Select/reducers/focusedPathReducer.js +37 -0
- package/cjs/components/Select/reducers/focusedPathReducer.js.map +1 -0
- package/cjs/components/Select/reducers/pathReducer.js +41 -0
- package/cjs/components/Select/reducers/pathReducer.js.map +1 -0
- package/cjs/components/Select/utils/getButtonLabel.js +47 -0
- package/cjs/components/Select/utils/getButtonLabel.js.map +1 -0
- package/cjs/components/Select/utils/getCorrectHeight.js +13 -0
- package/cjs/components/Select/utils/getCorrectHeight.js.map +1 -0
- package/cjs/components/Select/utils/getView.js +27 -0
- package/cjs/components/Select/utils/getView.js.map +1 -0
- package/cjs/components/Select/utils/initialItemsTransform.js +19 -0
- package/cjs/components/Select/utils/initialItemsTransform.js.map +1 -0
- package/cjs/components/Select/utils/sizeToIconSize.js +11 -0
- package/cjs/components/Select/utils/sizeToIconSize.js.map +1 -0
- package/cjs/components/Select/utils/updateAncestors.js +32 -0
- package/cjs/components/Select/utils/updateAncestors.js.map +1 -0
- package/cjs/components/Select/utils/updateDescendants.js +16 -0
- package/cjs/components/Select/utils/updateDescendants.js.map +1 -0
- package/cjs/components/Select/utils/updateSingleAncestors.js +13 -0
- package/cjs/components/Select/utils/updateSingleAncestors.js.map +1 -0
- package/cjs/components/TextArea/TextArea.js +4 -6
- package/cjs/components/TextArea/TextArea.js.map +1 -1
- package/cjs/components/TextArea/hooks/useAutoResize.js +4 -10
- package/cjs/components/TextArea/hooks/useAutoResize.js.map +1 -1
- package/cjs/components/_Icon/Icon.assets/DisclosureDownCentered.js +33 -0
- package/cjs/components/_Icon/Icon.assets/DisclosureDownCentered.js.map +1 -0
- package/cjs/components/_Icon/Icon.assets/DisclosureRightCentered.js +31 -0
- package/cjs/components/_Icon/Icon.assets/DisclosureRightCentered.js.map +1 -0
- package/cjs/components/_Icon/Icons/IconDisclosureDownCentered.js +23 -0
- package/cjs/components/_Icon/Icons/IconDisclosureDownCentered.js.map +1 -0
- package/cjs/components/_Icon/Icons/IconDisclosureRightCentered.js +23 -0
- package/cjs/components/_Icon/Icons/IconDisclosureRightCentered.js.map +1 -0
- package/cjs/engines/common.js.map +1 -1
- package/cjs/hooks/useOutsideClick.js +26 -0
- package/cjs/hooks/useOutsideClick.js.map +1 -0
- package/cjs/index.css +43 -27
- package/cjs/index.js +6 -18
- package/cjs/index.js.map +1 -1
- package/cjs/utils/index.js.map +1 -1
- package/cjs/utils/isEmpty.js +49 -0
- package/cjs/utils/isEmpty.js.map +1 -0
- package/es/components/Button/Button.styles.js.map +1 -1
- package/es/components/Chip/Chip.tokens.js +2 -0
- package/es/components/Chip/Chip.tokens.js.map +1 -1
- package/es/components/Combobox/Combobox.js +2 -2
- package/es/components/Combobox/Combobox.js.map +1 -1
- package/es/components/Combobox/hooks/useKeyNavigation.js.map +1 -0
- package/es/components/Combobox/ui/ComboboxTarget/ComboboxTarget.js +1 -1
- package/es/components/Combobox/ui/ComboboxTarget/ComboboxTarget.js.map +1 -1
- package/es/components/Combobox/utils/index.js +102 -3
- package/es/components/Combobox/utils/index.js.map +1 -1
- package/es/components/Dropdown/Dropdown.tokens.js +32 -18
- package/es/components/Dropdown/Dropdown.tokens.js.map +1 -1
- package/es/components/Dropdown/hooks/useKeyboardNavigation.js +63 -24
- package/es/components/Dropdown/hooks/useKeyboardNavigation.js.map +1 -1
- package/es/components/Pagination/Pagination.css +58 -49
- package/es/components/Pagination/Pagination.js +12 -5
- package/es/components/Pagination/Pagination.js.map +1 -1
- package/es/components/Pagination/Pagination.styles.js.map +1 -1
- package/es/components/Pagination/Pagination.tokens.js +9 -11
- package/es/components/Pagination/Pagination.tokens.js.map +1 -1
- package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +59 -50
- package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +23 -29
- package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js.map +1 -1
- package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +6 -19
- package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
- package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles_187mk6b.css +3 -0
- package/es/components/Select/Select.css +65 -60
- package/es/components/Select/Select.js +249 -196
- package/es/components/Select/Select.js.map +1 -1
- package/es/components/Select/Select.styles.js +48 -34
- package/es/components/Select/Select.styles.js.map +1 -1
- package/es/components/Select/Select.styles_zx0ztg.css +5 -0
- package/es/components/Select/Select.tokens.js +58 -166
- package/es/components/Select/Select.tokens.js.map +1 -1
- package/es/components/Select/elements/Inner/Inner.css +106 -0
- package/es/components/Select/elements/Inner/Inner.js +78 -0
- package/es/components/Select/elements/Inner/Inner.js.map +1 -0
- package/es/components/Select/elements/Inner/elements/Item/Item.css +106 -0
- package/es/components/Select/elements/Inner/elements/Item/Item.js +94 -0
- package/es/components/Select/elements/Inner/elements/Item/Item.js.map +1 -0
- package/es/components/Select/elements/Inner/elements/Item/Item.styles.js +93 -0
- package/es/components/Select/elements/Inner/elements/Item/Item.styles.js.map +1 -0
- package/es/components/Select/elements/Inner/elements/Item/Item.styles_545sy7.css +8 -0
- package/es/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.css +30 -0
- package/es/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.js +16 -0
- package/es/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.js.map +1 -0
- package/es/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.styles.js +34 -0
- package/es/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.styles.js.map +1 -0
- package/es/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.styles_r1sne.css +4 -0
- package/es/components/Select/elements/Target/Target.css +66 -0
- package/es/components/Select/elements/Target/Target.js +59 -0
- package/es/components/Select/elements/Target/Target.js.map +1 -0
- package/es/components/Select/elements/Target/elements/Button/Button.css +33 -0
- package/es/components/Select/elements/Target/elements/Button/Button.js +55 -0
- package/es/components/Select/elements/Target/elements/Button/Button.js.map +1 -0
- package/es/components/Select/elements/Target/elements/Button/Button.styles.js +44 -0
- package/es/components/Select/elements/Target/elements/Button/Button.styles.js.map +1 -0
- package/es/components/Select/elements/Target/elements/Button/Button.styles_1r519o1.css +5 -0
- package/es/components/Select/{ui/SelectTarget/SelectTarget.css → elements/Target/elements/Textfield/Textfield.css} +13 -7
- package/es/components/Select/elements/Target/elements/Textfield/Textfield.js +109 -0
- package/es/components/Select/elements/Target/elements/Textfield/Textfield.js.map +1 -0
- package/es/components/Select/elements/Target/elements/Textfield/Textfield.styles.js +98 -0
- package/es/components/Select/elements/Target/elements/Textfield/Textfield.styles.js.map +1 -0
- package/es/components/Select/elements/Target/elements/Textfield/Textfield.styles_hp8mkt.css +12 -0
- package/es/components/Select/{ui/SelectChip/SelectChip.css → elements/Target/elements/Textfield/elements/Chip/Chip.css} +1 -1
- package/es/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.js +32 -0
- package/es/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.js.map +1 -0
- package/es/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.styles.js +19 -0
- package/es/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.styles.js.map +1 -0
- package/es/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.styles_k6znfr.css +1 -0
- package/es/components/Select/hooks/useKeyboardNavigation.js +348 -0
- package/es/components/Select/hooks/useKeyboardNavigation.js.map +1 -0
- package/es/components/Select/hooks/usePathMaps.js +33 -0
- package/es/components/Select/hooks/usePathMaps.js.map +1 -0
- package/es/components/Select/reducers/focusedChipIndexReducer.js +35 -0
- package/es/components/Select/reducers/focusedChipIndexReducer.js.map +1 -0
- package/es/components/Select/reducers/focusedPathReducer.js +33 -0
- package/es/components/Select/reducers/focusedPathReducer.js.map +1 -0
- package/es/components/Select/reducers/pathReducer.js +37 -0
- package/es/components/Select/reducers/pathReducer.js.map +1 -0
- package/es/components/Select/utils/getButtonLabel.js +43 -0
- package/es/components/Select/utils/getButtonLabel.js.map +1 -0
- package/es/components/Select/utils/getCorrectHeight.js +9 -0
- package/es/components/Select/utils/getCorrectHeight.js.map +1 -0
- package/es/components/Select/utils/getView.js +23 -0
- package/es/components/Select/utils/getView.js.map +1 -0
- package/es/components/Select/utils/initialItemsTransform.js +15 -0
- package/es/components/Select/utils/initialItemsTransform.js.map +1 -0
- package/es/components/Select/utils/sizeToIconSize.js +7 -0
- package/es/components/Select/utils/sizeToIconSize.js.map +1 -0
- package/es/components/Select/utils/updateAncestors.js +28 -0
- package/es/components/Select/utils/updateAncestors.js.map +1 -0
- package/es/components/Select/utils/updateDescendants.js +12 -0
- package/es/components/Select/utils/updateDescendants.js.map +1 -0
- package/es/components/Select/utils/updateSingleAncestors.js +9 -0
- package/es/components/Select/utils/updateSingleAncestors.js.map +1 -0
- package/es/components/TextArea/TextArea.js +5 -7
- package/es/components/TextArea/TextArea.js.map +1 -1
- package/es/components/TextArea/hooks/useAutoResize.js +4 -10
- package/es/components/TextArea/hooks/useAutoResize.js.map +1 -1
- package/es/components/_Icon/Icon.assets/DisclosureDownCentered.js +29 -0
- package/es/components/_Icon/Icon.assets/DisclosureDownCentered.js.map +1 -0
- package/es/components/_Icon/Icon.assets/DisclosureRightCentered.js +27 -0
- package/es/components/_Icon/Icon.assets/DisclosureRightCentered.js.map +1 -0
- package/es/components/_Icon/Icons/IconDisclosureDownCentered.js +19 -0
- package/es/components/_Icon/Icons/IconDisclosureDownCentered.js.map +1 -0
- package/es/components/_Icon/Icons/IconDisclosureRightCentered.js +19 -0
- package/es/components/_Icon/Icons/IconDisclosureRightCentered.js.map +1 -0
- package/es/engines/common.js.map +1 -1
- package/es/hooks/useOutsideClick.js +22 -0
- package/es/hooks/useOutsideClick.js.map +1 -0
- package/es/index.css +43 -27
- package/es/index.js +4 -7
- package/es/index.js.map +1 -1
- package/es/utils/index.js.map +1 -1
- package/es/utils/isEmpty.js +45 -0
- package/es/utils/isEmpty.js.map +1 -0
- package/package.json +4 -4
- package/styled-components/cjs/components/Button/Button.styles.js +2 -2
- package/styled-components/cjs/components/Chip/Chip.tokens.js +2 -0
- package/styled-components/cjs/components/Combobox/Combobox.js +6 -6
- package/styled-components/cjs/components/Combobox/hooks/index.js +14 -1
- package/styled-components/cjs/components/Combobox/ui/ComboboxTarget/ComboboxTarget.js +4 -5
- package/styled-components/cjs/components/Combobox/utils/index.js +105 -1
- package/styled-components/cjs/components/Dropdown/Dropdown.tokens.js +32 -18
- package/styled-components/cjs/components/Dropdown/hooks/useKeyboardNavigation.js +63 -24
- package/styled-components/cjs/components/Pagination/Pagination.js +12 -5
- package/styled-components/cjs/components/Pagination/Pagination.styles.js +2 -2
- package/styled-components/cjs/components/Pagination/Pagination.tokens.js +9 -11
- package/styled-components/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +22 -35
- package/styled-components/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +3 -8
- package/styled-components/cjs/components/Select/Select.js +248 -191
- package/styled-components/cjs/components/Select/Select.styles.js +28 -23
- package/styled-components/cjs/components/Select/Select.tokens.js +73 -167
- package/styled-components/cjs/components/Select/elements/InfiniteLoader/InfiniteLoader.js +18 -0
- package/styled-components/cjs/components/Select/elements/InfiniteLoader/InfiniteLoader.styles.js +24 -0
- package/styled-components/cjs/components/Select/elements/Inner/Inner.js +80 -0
- package/styled-components/cjs/components/Select/elements/Inner/elements/Item/Item.js +96 -0
- package/styled-components/cjs/components/Select/elements/Inner/elements/Item/Item.styles.js +63 -0
- package/styled-components/cjs/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.js +19 -0
- package/styled-components/cjs/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.styles.js +25 -0
- package/styled-components/cjs/components/Select/elements/Target/Target.js +62 -0
- package/styled-components/cjs/components/Select/elements/Target/elements/Button/Button.js +58 -0
- package/styled-components/cjs/components/Select/elements/Target/elements/Button/Button.styles.js +30 -0
- package/styled-components/cjs/components/Select/elements/Target/elements/Textfield/Textfield.js +111 -0
- package/styled-components/cjs/components/Select/elements/Target/elements/Textfield/Textfield.styles.js +63 -0
- package/styled-components/cjs/components/Select/{ui/SelectChip/SelectChip.js → elements/Target/elements/Textfield/elements/Chip/Chip.js} +24 -27
- package/styled-components/cjs/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.styles.js +21 -0
- package/styled-components/cjs/components/Select/hooks/useKeyboardNavigation.js +355 -0
- package/styled-components/cjs/components/Select/hooks/usePathMaps.js +33 -0
- package/styled-components/cjs/components/Select/index.js +3 -20
- package/styled-components/cjs/components/Select/reducers/focusedChipIndexReducer.js +38 -0
- package/styled-components/cjs/components/Select/reducers/focusedPathReducer.js +40 -0
- package/styled-components/cjs/components/Select/reducers/index.js +38 -0
- package/styled-components/cjs/components/Select/reducers/pathReducer.js +44 -0
- package/styled-components/cjs/components/Select/utils/getButtonLabel.js +43 -0
- package/styled-components/cjs/components/Select/utils/getCorrectHeight.js +12 -0
- package/styled-components/cjs/components/Select/utils/getView.js +26 -0
- package/styled-components/cjs/components/Select/utils/index.js +51 -102
- package/styled-components/cjs/components/Select/utils/initialItemsTransform.js +18 -0
- package/styled-components/cjs/components/Select/utils/sizeToIconSize.js +10 -0
- package/styled-components/cjs/components/Select/utils/updateAncestors.js +31 -0
- package/styled-components/cjs/components/Select/utils/updateDescendants.js +15 -0
- package/styled-components/cjs/components/Select/utils/updateSingleAncestors.js +12 -0
- package/styled-components/cjs/components/TextArea/TextArea.js +4 -11
- package/styled-components/cjs/components/TextArea/TextArea.template-doc.mdx +6 -45
- package/styled-components/cjs/components/TextArea/hooks/useAutoResize.js +4 -10
- package/styled-components/cjs/components/_Icon/Icon.assets/DisclosureDownCentered.js +32 -0
- package/styled-components/cjs/components/_Icon/Icon.assets/DisclosureRightCentered.js +30 -0
- package/styled-components/cjs/components/_Icon/Icons/IconDisclosureDownCentered.js +22 -0
- package/styled-components/cjs/components/_Icon/Icons/IconDisclosureRightCentered.js +22 -0
- package/styled-components/cjs/components/_Icon/index.js +14 -0
- package/styled-components/cjs/examples/_helpers.js +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Pagination/Pagination.config.js +7 -7
- package/styled-components/cjs/examples/plasma_b2c/components/Pagination/Pagination.stories.tsx +1 -0
- package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.config.js +20 -10
- package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.js +9 -13
- package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.stories.tsx +768 -202
- package/styled-components/cjs/examples/plasma_b2c/components/Select/style.css +38 -0
- package/styled-components/cjs/examples/plasma_web/components/Pagination/Pagination.config.js +7 -7
- package/styled-components/cjs/examples/plasma_web/components/Select/Select.config.js +20 -10
- package/styled-components/cjs/examples/plasma_web/components/Select/Select.js +9 -13
- package/styled-components/cjs/examples/plasma_web/components/Select/Select.stories.tsx +768 -198
- package/styled-components/cjs/examples/plasma_web/components/Select/style.css +38 -0
- package/styled-components/cjs/hooks/index.js +7 -0
- package/styled-components/cjs/hooks/useOutsideClick.js +24 -0
- package/styled-components/cjs/utils/index.js +7 -0
- package/styled-components/cjs/utils/isEmpty.js +47 -0
- package/styled-components/es/components/Button/Button.styles.js +2 -2
- package/styled-components/es/components/Chip/Chip.tokens.js +2 -0
- package/styled-components/es/components/Combobox/Combobox.js +2 -2
- package/styled-components/es/components/Combobox/hooks/index.js +2 -1
- package/styled-components/es/components/Combobox/ui/ComboboxTarget/ComboboxTarget.js +1 -2
- package/styled-components/es/components/Combobox/utils/index.js +105 -1
- package/styled-components/es/components/Dropdown/Dropdown.tokens.js +32 -18
- package/styled-components/es/components/Dropdown/hooks/useKeyboardNavigation.js +63 -24
- package/styled-components/es/components/Pagination/Pagination.js +12 -5
- package/styled-components/es/components/Pagination/Pagination.styles.js +2 -2
- package/styled-components/es/components/Pagination/Pagination.tokens.js +9 -11
- package/styled-components/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +22 -33
- package/styled-components/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +3 -8
- package/styled-components/es/components/Select/Select.js +244 -188
- package/styled-components/es/components/Select/Select.styles.js +25 -21
- package/styled-components/es/components/Select/Select.tokens.js +72 -166
- package/styled-components/es/components/Select/elements/InfiniteLoader/InfiniteLoader.js +11 -0
- package/styled-components/es/components/Select/elements/InfiniteLoader/InfiniteLoader.styles.js +17 -0
- package/styled-components/es/components/Select/elements/Inner/Inner.js +73 -0
- package/styled-components/es/components/Select/elements/Inner/elements/Item/Item.js +87 -0
- package/styled-components/es/components/Select/elements/Inner/elements/Item/Item.styles.js +56 -0
- package/styled-components/es/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.js +12 -0
- package/styled-components/es/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.styles.js +18 -0
- package/styled-components/es/components/Select/elements/Target/Target.js +55 -0
- package/styled-components/es/components/Select/elements/Target/elements/Button/Button.js +51 -0
- package/styled-components/es/components/Select/elements/Target/elements/Button/Button.styles.js +23 -0
- package/styled-components/es/components/Select/elements/Target/elements/Textfield/Textfield.js +104 -0
- package/styled-components/es/components/Select/elements/Target/elements/Textfield/Textfield.styles.js +56 -0
- package/styled-components/es/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.js +28 -0
- package/styled-components/es/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.styles.js +14 -0
- package/styled-components/es/components/Select/hooks/useKeyboardNavigation.js +349 -0
- package/styled-components/es/components/Select/hooks/usePathMaps.js +27 -0
- package/styled-components/es/components/Select/index.js +2 -2
- package/styled-components/es/components/Select/reducers/focusedChipIndexReducer.js +32 -0
- package/styled-components/es/components/Select/reducers/focusedPathReducer.js +34 -0
- package/styled-components/es/components/Select/reducers/index.js +3 -0
- package/styled-components/es/components/Select/reducers/pathReducer.js +38 -0
- package/styled-components/es/components/Select/utils/getButtonLabel.js +37 -0
- package/styled-components/es/components/Select/utils/getCorrectHeight.js +6 -0
- package/styled-components/es/components/Select/utils/getView.js +20 -0
- package/styled-components/es/components/Select/utils/index.js +8 -106
- package/styled-components/es/components/Select/utils/initialItemsTransform.js +12 -0
- package/styled-components/es/components/Select/utils/sizeToIconSize.js +4 -0
- package/styled-components/es/components/Select/utils/updateAncestors.js +25 -0
- package/styled-components/es/components/Select/utils/updateDescendants.js +9 -0
- package/styled-components/es/components/Select/utils/updateSingleAncestors.js +6 -0
- package/styled-components/es/components/TextArea/TextArea.js +4 -12
- package/styled-components/es/components/TextArea/TextArea.template-doc.mdx +6 -45
- package/styled-components/es/components/TextArea/hooks/useAutoResize.js +4 -10
- package/styled-components/es/components/_Icon/Icon.assets/DisclosureDownCentered.js +25 -0
- package/styled-components/es/components/_Icon/Icon.assets/DisclosureRightCentered.js +23 -0
- package/styled-components/es/components/_Icon/Icons/IconDisclosureDownCentered.js +15 -0
- package/styled-components/es/components/_Icon/Icons/IconDisclosureRightCentered.js +15 -0
- package/styled-components/es/components/_Icon/index.js +2 -0
- package/styled-components/es/examples/_helpers.js +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Pagination/Pagination.config.js +7 -7
- package/styled-components/es/examples/plasma_b2c/components/Pagination/Pagination.stories.tsx +1 -0
- package/styled-components/es/examples/plasma_b2c/components/Select/Select.config.js +20 -10
- package/styled-components/es/examples/plasma_b2c/components/Select/Select.js +3 -12
- package/styled-components/es/examples/plasma_b2c/components/Select/Select.stories.tsx +768 -202
- package/styled-components/es/examples/plasma_b2c/components/Select/style.css +38 -0
- package/styled-components/es/examples/plasma_web/components/Pagination/Pagination.config.js +7 -7
- package/styled-components/es/examples/plasma_web/components/Select/Select.config.js +20 -10
- package/styled-components/es/examples/plasma_web/components/Select/Select.js +3 -12
- package/styled-components/es/examples/plasma_web/components/Select/Select.stories.tsx +768 -198
- package/styled-components/es/examples/plasma_web/components/Select/style.css +38 -0
- package/styled-components/es/hooks/index.js +1 -0
- package/styled-components/es/hooks/useOutsideClick.js +18 -0
- package/styled-components/es/utils/index.js +1 -0
- package/styled-components/es/utils/isEmpty.js +42 -0
- package/types/components/Chip/Chip.tokens.d.ts +2 -0
- package/types/components/Chip/Chip.tokens.d.ts.map +1 -1
- package/types/components/Combobox/Select.types.d.ts +99 -0
- package/types/components/Combobox/Select.types.d.ts.map +1 -0
- package/types/components/Combobox/hooks/index.d.ts +1 -0
- package/types/components/Combobox/hooks/index.d.ts.map +1 -1
- package/types/components/Combobox/hooks/useKeyNavigation.d.ts.map +1 -0
- package/types/components/Combobox/ui/ComboboxTarget/ComboboxTarget.d.ts.map +1 -1
- package/types/components/Combobox/utils/index.d.ts +13 -1
- package/types/components/Combobox/utils/index.d.ts.map +1 -1
- package/types/components/Dropdown/Dropdown.tokens.d.ts +17 -17
- package/types/components/Dropdown/Dropdown.tokens.d.ts.map +1 -1
- package/types/components/Dropdown/Dropdown.types.d.ts +5 -9
- package/types/components/Dropdown/Dropdown.types.d.ts.map +1 -1
- package/types/components/Dropdown/hooks/useKeyboardNavigation.d.ts.map +1 -1
- package/types/components/Pagination/Pagination.d.ts.map +1 -1
- package/types/components/Pagination/Pagination.tokens.d.ts +9 -11
- package/types/components/Pagination/Pagination.tokens.d.ts.map +1 -1
- package/types/components/Pagination/Pagination.types.d.ts +6 -1
- package/types/components/Pagination/Pagination.types.d.ts.map +1 -1
- package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.d.ts.map +1 -1
- package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts +53 -43
- package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts.map +1 -1
- package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.types.d.ts +5 -2
- package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.types.d.ts.map +1 -1
- package/types/components/Select/Select.d.ts +7 -8
- package/types/components/Select/Select.d.ts.map +1 -1
- package/types/components/Select/Select.styles.d.ts +11 -6
- package/types/components/Select/Select.styles.d.ts.map +1 -1
- package/types/components/Select/Select.tokens.d.ts +71 -165
- package/types/components/Select/Select.tokens.d.ts.map +1 -1
- package/types/components/Select/Select.types.d.ts +128 -65
- package/types/components/Select/Select.types.d.ts.map +1 -1
- package/types/components/Select/elements/InfiniteLoader/InfiniteLoader.d.ts +6 -0
- package/types/components/Select/elements/InfiniteLoader/InfiniteLoader.d.ts.map +1 -0
- package/types/components/Select/elements/InfiniteLoader/InfiniteLoader.styles.d.ts +29 -0
- package/types/components/Select/elements/InfiniteLoader/InfiniteLoader.styles.d.ts.map +1 -0
- package/types/components/Select/elements/Inner/Inner.d.ts +4 -0
- package/types/components/Select/elements/Inner/Inner.d.ts.map +1 -0
- package/types/components/Select/elements/Inner/Inner.type.d.ts +13 -0
- package/types/components/Select/elements/Inner/Inner.type.d.ts.map +1 -0
- package/types/components/Select/elements/Inner/elements/Item/Item.d.ts +4 -0
- package/types/components/Select/elements/Inner/elements/Item/Item.d.ts.map +1 -0
- package/types/components/Select/elements/Inner/elements/Item/Item.styles.d.ts +18 -0
- package/types/components/Select/elements/Inner/elements/Item/Item.styles.d.ts.map +1 -0
- package/types/components/Select/elements/Inner/elements/Item/Item.types.d.ts +57 -0
- package/types/components/Select/elements/Inner/elements/Item/Item.types.d.ts.map +1 -0
- package/types/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.d.ts +4 -0
- package/types/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.d.ts.map +1 -0
- package/types/components/Select/{ui/SelectTarget/SelectTarget.styles.d.ts → elements/SelectNotFoundContent/SelectNotFoundContent.styles.d.ts} +6 -12
- package/types/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.styles.d.ts.map +1 -0
- package/types/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.types.d.ts +8 -0
- package/types/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.types.d.ts.map +1 -0
- package/types/components/Select/elements/Target/Target.d.ts +4 -0
- package/types/components/Select/elements/Target/Target.d.ts.map +1 -0
- package/types/components/Select/elements/Target/Target.types.d.ts +14 -0
- package/types/components/Select/elements/Target/Target.types.d.ts.map +1 -0
- package/types/components/Select/elements/Target/elements/Button/Button.d.ts +4 -0
- package/types/components/Select/elements/Target/elements/Button/Button.d.ts.map +1 -0
- package/types/components/Select/elements/Target/elements/Button/Button.styles.d.ts +49 -0
- package/types/components/Select/elements/Target/elements/Button/Button.styles.d.ts.map +1 -0
- package/types/components/Select/elements/Target/elements/Button/Button.types.d.ts +4 -0
- package/types/components/Select/elements/Target/elements/Button/Button.types.d.ts.map +1 -0
- package/types/components/Select/elements/Target/elements/Textfield/Textfield.d.ts +4 -0
- package/types/components/Select/elements/Target/elements/Textfield/Textfield.d.ts.map +1 -0
- package/types/components/Select/elements/Target/elements/Textfield/Textfield.styles.d.ts +60 -0
- package/types/components/Select/elements/Target/elements/Textfield/Textfield.styles.d.ts.map +1 -0
- package/types/components/Select/elements/Target/elements/Textfield/Textfield.types.d.ts +4 -0
- package/types/components/Select/elements/Target/elements/Textfield/Textfield.types.d.ts.map +1 -0
- package/types/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.d.ts +9 -0
- package/types/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.d.ts.map +1 -0
- package/types/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.styles.d.ts +3 -0
- package/types/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.styles.d.ts.map +1 -0
- package/types/components/Select/hooks/useKeyboardNavigation.d.ts +43 -0
- package/types/components/Select/hooks/useKeyboardNavigation.d.ts.map +1 -0
- package/types/components/Select/hooks/usePathMaps.d.ts +8 -0
- package/types/components/Select/hooks/usePathMaps.d.ts.map +1 -0
- package/types/components/Select/index.d.ts +3 -3
- package/types/components/Select/index.d.ts.map +1 -1
- package/types/components/Select/reducers/focusedChipIndexReducer.d.ts +11 -0
- package/types/components/Select/reducers/focusedChipIndexReducer.d.ts.map +1 -0
- package/types/components/Select/reducers/focusedPathReducer.d.ts +16 -0
- package/types/components/Select/reducers/focusedPathReducer.d.ts.map +1 -0
- package/types/components/Select/reducers/index.d.ts +4 -0
- package/types/components/Select/reducers/index.d.ts.map +1 -0
- package/types/components/Select/reducers/pathReducer.d.ts +20 -0
- package/types/components/Select/reducers/pathReducer.d.ts.map +1 -0
- package/types/components/Select/utils/getButtonLabel.d.ts +3 -0
- package/types/components/Select/utils/getButtonLabel.d.ts.map +1 -0
- package/types/components/Select/utils/getCorrectHeight.d.ts +3 -0
- package/types/components/Select/utils/getCorrectHeight.d.ts.map +1 -0
- package/types/components/Select/utils/getView.d.ts +3 -0
- package/types/components/Select/utils/getView.d.ts.map +1 -0
- package/types/components/Select/utils/index.d.ts +8 -13
- package/types/components/Select/utils/index.d.ts.map +1 -1
- package/types/components/Select/utils/initialItemsTransform.d.ts +3 -0
- package/types/components/Select/utils/initialItemsTransform.d.ts.map +1 -0
- package/types/components/Select/utils/sizeToIconSize.d.ts +3 -0
- package/types/components/Select/utils/sizeToIconSize.d.ts.map +1 -0
- package/types/components/Select/utils/updateAncestors.d.ts +4 -0
- package/types/components/Select/utils/updateAncestors.d.ts.map +1 -0
- package/types/components/Select/utils/updateDescendants.d.ts +4 -0
- package/types/components/Select/utils/updateDescendants.d.ts.map +1 -0
- package/types/components/Select/utils/updateSingleAncestors.d.ts +4 -0
- package/types/components/Select/utils/updateSingleAncestors.d.ts.map +1 -0
- package/types/components/TextArea/TextArea.d.ts +2 -2
- package/types/components/TextArea/TextArea.d.ts.map +1 -1
- package/types/components/TextArea/TextArea.types.d.ts +23 -49
- package/types/components/TextArea/TextArea.types.d.ts.map +1 -1
- package/types/components/TextArea/hooks/useAutoResize.d.ts +1 -1
- package/types/components/TextArea/hooks/useAutoResize.d.ts.map +1 -1
- package/types/components/_Icon/Icon.assets/DisclosureDownCentered.d.ts +4 -0
- package/types/components/_Icon/Icon.assets/DisclosureDownCentered.d.ts.map +1 -0
- package/types/components/_Icon/Icon.assets/DisclosureRightCentered.d.ts +4 -0
- package/types/components/_Icon/Icon.assets/DisclosureRightCentered.d.ts.map +1 -0
- package/types/components/_Icon/Icons/IconDisclosureDownCentered.d.ts +4 -0
- package/types/components/_Icon/Icons/IconDisclosureDownCentered.d.ts.map +1 -0
- package/types/components/_Icon/Icons/IconDisclosureRightCentered.d.ts +4 -0
- package/types/components/_Icon/Icons/IconDisclosureRightCentered.d.ts.map +1 -0
- package/types/components/_Icon/index.d.ts +2 -0
- package/types/components/_Icon/index.d.ts.map +1 -1
- package/types/engines/common.d.ts +1 -1
- package/types/engines/common.d.ts.map +1 -1
- package/types/engines/types.d.ts +1 -1
- package/types/engines/types.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Pagination/Pagination.config.d.ts +1 -1
- package/types/examples/plasma_b2c/components/Pagination/Pagination.config.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Pagination/Pagination.d.ts +1 -1
- package/types/examples/plasma_b2c/components/Select/Select.config.d.ts +15 -5
- package/types/examples/plasma_b2c/components/Select/Select.config.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Select/Select.d.ts +70 -55
- package/types/examples/plasma_b2c/components/Select/Select.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/TextArea/TextArea.d.ts +1 -31
- package/types/examples/plasma_b2c/components/TextArea/TextArea.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Pagination/Pagination.config.d.ts +1 -1
- package/types/examples/plasma_web/components/Pagination/Pagination.config.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Pagination/Pagination.d.ts +1 -1
- package/types/examples/plasma_web/components/Select/Select.config.d.ts +15 -5
- package/types/examples/plasma_web/components/Select/Select.config.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Select/Select.d.ts +70 -55
- package/types/examples/plasma_web/components/Select/Select.d.ts.map +1 -1
- package/types/examples/plasma_web/components/TextArea/TextArea.d.ts +1 -31
- package/types/examples/plasma_web/components/TextArea/TextArea.d.ts.map +1 -1
- package/types/examples/sds_engineer/components/TextArea/TextArea.d.ts +1 -31
- package/types/examples/sds_engineer/components/TextArea/TextArea.d.ts.map +1 -1
- package/types/hooks/index.d.ts +1 -0
- package/types/hooks/index.d.ts.map +1 -1
- package/types/hooks/useOutsideClick.d.ts +3 -0
- package/types/hooks/useOutsideClick.d.ts.map +1 -0
- package/types/utils/index.d.ts +1 -0
- package/types/utils/index.d.ts.map +1 -1
- package/types/utils/isEmpty.d.ts +3 -0
- package/types/utils/isEmpty.d.ts.map +1 -0
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles_rtehle.css +0 -4
- package/cjs/components/Select/Select.styles_1q3i6gw.css +0 -4
- package/cjs/components/Select/hooks/useKeyNavigation.js.map +0 -1
- package/cjs/components/Select/ui/SelectChip/SelectChip.js +0 -39
- package/cjs/components/Select/ui/SelectChip/SelectChip.js.map +0 -1
- package/cjs/components/Select/ui/SelectChip/SelectChip.styles.js.map +0 -1
- package/cjs/components/Select/ui/SelectChip/SelectChip.styles_1u4uw04.css +0 -1
- package/cjs/components/Select/ui/SelectDivider/SelectDivider.css +0 -35
- package/cjs/components/Select/ui/SelectDivider/SelectDivider.js +0 -41
- package/cjs/components/Select/ui/SelectDivider/SelectDivider.js.map +0 -1
- package/cjs/components/Select/ui/SelectDivider/SelectDivider.styles.js +0 -12
- package/cjs/components/Select/ui/SelectDivider/SelectDivider.styles.js.map +0 -1
- package/cjs/components/Select/ui/SelectDivider/SelectDivider.styles_673hj6.css +0 -1
- package/cjs/components/Select/ui/SelectDivider/variations/_size/base.js +0 -9
- package/cjs/components/Select/ui/SelectDivider/variations/_size/base.js.map +0 -1
- package/cjs/components/Select/ui/SelectDivider/variations/_size/base_x642ct.css +0 -1
- package/cjs/components/Select/ui/SelectDivider/variations/_view/base.js +0 -9
- package/cjs/components/Select/ui/SelectDivider/variations/_view/base.js.map +0 -1
- package/cjs/components/Select/ui/SelectDivider/variations/_view/base_x642ct.css +0 -1
- package/cjs/components/Select/ui/SelectFooter/SelectFooter.css +0 -35
- package/cjs/components/Select/ui/SelectFooter/SelectFooter.js +0 -41
- package/cjs/components/Select/ui/SelectFooter/SelectFooter.js.map +0 -1
- package/cjs/components/Select/ui/SelectFooter/SelectFooter.styles.js +0 -12
- package/cjs/components/Select/ui/SelectFooter/SelectFooter.styles.js.map +0 -1
- package/cjs/components/Select/ui/SelectFooter/SelectFooter.styles_11hk6tt.css +0 -1
- package/cjs/components/Select/ui/SelectFooter/variations/_size/base.js +0 -9
- package/cjs/components/Select/ui/SelectFooter/variations/_size/base.js.map +0 -1
- package/cjs/components/Select/ui/SelectFooter/variations/_size/base_x642ct.css +0 -1
- package/cjs/components/Select/ui/SelectFooter/variations/_view/base.js +0 -9
- package/cjs/components/Select/ui/SelectFooter/variations/_view/base.js.map +0 -1
- package/cjs/components/Select/ui/SelectFooter/variations/_view/base_x642ct.css +0 -1
- package/cjs/components/Select/ui/SelectGroup/SelectGroup.css +0 -35
- package/cjs/components/Select/ui/SelectGroup/SelectGroup.js +0 -41
- package/cjs/components/Select/ui/SelectGroup/SelectGroup.js.map +0 -1
- package/cjs/components/Select/ui/SelectGroup/SelectGroup.styles.js +0 -12
- package/cjs/components/Select/ui/SelectGroup/SelectGroup.styles.js.map +0 -1
- package/cjs/components/Select/ui/SelectGroup/SelectGroup.styles_mktu7e.css +0 -1
- package/cjs/components/Select/ui/SelectGroup/variations/_size/base.js +0 -9
- package/cjs/components/Select/ui/SelectGroup/variations/_size/base.js.map +0 -1
- package/cjs/components/Select/ui/SelectGroup/variations/_size/base_x642ct.css +0 -1
- package/cjs/components/Select/ui/SelectGroup/variations/_view/base.js +0 -9
- package/cjs/components/Select/ui/SelectGroup/variations/_view/base.js.map +0 -1
- package/cjs/components/Select/ui/SelectGroup/variations/_view/base_x642ct.css +0 -1
- package/cjs/components/Select/ui/SelectHeader/SelectHeader.css +0 -35
- package/cjs/components/Select/ui/SelectHeader/SelectHeader.js +0 -41
- package/cjs/components/Select/ui/SelectHeader/SelectHeader.js.map +0 -1
- package/cjs/components/Select/ui/SelectHeader/SelectHeader.styles.js +0 -12
- package/cjs/components/Select/ui/SelectHeader/SelectHeader.styles.js.map +0 -1
- package/cjs/components/Select/ui/SelectHeader/SelectHeader.styles_24gqog.css +0 -1
- package/cjs/components/Select/ui/SelectHeader/variations/_size/base.js +0 -9
- package/cjs/components/Select/ui/SelectHeader/variations/_size/base.js.map +0 -1
- package/cjs/components/Select/ui/SelectHeader/variations/_size/base_x642ct.css +0 -1
- package/cjs/components/Select/ui/SelectHeader/variations/_view/base.js +0 -9
- package/cjs/components/Select/ui/SelectHeader/variations/_view/base.js.map +0 -1
- package/cjs/components/Select/ui/SelectHeader/variations/_view/base_x642ct.css +0 -1
- package/cjs/components/Select/ui/SelectItem/SelectItem.css +0 -35
- package/cjs/components/Select/ui/SelectItem/SelectItem.js +0 -40
- package/cjs/components/Select/ui/SelectItem/SelectItem.js.map +0 -1
- package/cjs/components/Select/ui/SelectItem/SelectItem.styles.js +0 -19
- package/cjs/components/Select/ui/SelectItem/SelectItem.styles.js.map +0 -1
- package/cjs/components/Select/ui/SelectItem/SelectItem.styles_vk39mp.css +0 -1
- package/cjs/components/Select/ui/SelectItem/variations/_size/base.js +0 -9
- package/cjs/components/Select/ui/SelectItem/variations/_size/base.js.map +0 -1
- package/cjs/components/Select/ui/SelectItem/variations/_size/base_x642ct.css +0 -1
- package/cjs/components/Select/ui/SelectItem/variations/_view/base.js +0 -9
- package/cjs/components/Select/ui/SelectItem/variations/_view/base.js.map +0 -1
- package/cjs/components/Select/ui/SelectItem/variations/_view/base_x642ct.css +0 -1
- package/cjs/components/Select/ui/SelectTarget/SelectTarget.js +0 -148
- package/cjs/components/Select/ui/SelectTarget/SelectTarget.js.map +0 -1
- package/cjs/components/Select/ui/SelectTarget/SelectTarget.styles.js +0 -112
- package/cjs/components/Select/ui/SelectTarget/SelectTarget.styles.js.map +0 -1
- package/cjs/components/Select/ui/SelectTarget/SelectTarget.styles_hb1tns.css +0 -6
- package/cjs/components/Select/utils/index.js +0 -112
- package/cjs/components/Select/utils/index.js.map +0 -1
- package/cjs/components/Select/variations/_target/base.js +0 -9
- package/cjs/components/Select/variations/_target/base.js.map +0 -1
- package/cjs/components/Select/variations/_target/base_x642ct.css +0 -1
- package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles_rtehle.css +0 -4
- package/es/components/Select/Select.styles_1q3i6gw.css +0 -4
- package/es/components/Select/hooks/useKeyNavigation.js.map +0 -1
- package/es/components/Select/ui/SelectChip/SelectChip.js +0 -35
- package/es/components/Select/ui/SelectChip/SelectChip.js.map +0 -1
- package/es/components/Select/ui/SelectChip/SelectChip.styles.js +0 -22
- package/es/components/Select/ui/SelectChip/SelectChip.styles.js.map +0 -1
- package/es/components/Select/ui/SelectChip/SelectChip.styles_1u4uw04.css +0 -1
- package/es/components/Select/ui/SelectDivider/SelectDivider.css +0 -35
- package/es/components/Select/ui/SelectDivider/SelectDivider.js +0 -36
- package/es/components/Select/ui/SelectDivider/SelectDivider.js.map +0 -1
- package/es/components/Select/ui/SelectDivider/SelectDivider.styles.js +0 -7
- package/es/components/Select/ui/SelectDivider/SelectDivider.styles.js.map +0 -1
- package/es/components/Select/ui/SelectDivider/SelectDivider.styles_673hj6.css +0 -1
- package/es/components/Select/ui/SelectDivider/variations/_size/base.js +0 -5
- package/es/components/Select/ui/SelectDivider/variations/_size/base.js.map +0 -1
- package/es/components/Select/ui/SelectDivider/variations/_size/base_x642ct.css +0 -1
- package/es/components/Select/ui/SelectDivider/variations/_view/base.js +0 -5
- package/es/components/Select/ui/SelectDivider/variations/_view/base.js.map +0 -1
- package/es/components/Select/ui/SelectDivider/variations/_view/base_x642ct.css +0 -1
- package/es/components/Select/ui/SelectFooter/SelectFooter.css +0 -35
- package/es/components/Select/ui/SelectFooter/SelectFooter.js +0 -36
- package/es/components/Select/ui/SelectFooter/SelectFooter.js.map +0 -1
- package/es/components/Select/ui/SelectFooter/SelectFooter.styles.js +0 -7
- package/es/components/Select/ui/SelectFooter/SelectFooter.styles.js.map +0 -1
- package/es/components/Select/ui/SelectFooter/SelectFooter.styles_11hk6tt.css +0 -1
- package/es/components/Select/ui/SelectFooter/variations/_size/base.js +0 -5
- package/es/components/Select/ui/SelectFooter/variations/_size/base.js.map +0 -1
- package/es/components/Select/ui/SelectFooter/variations/_size/base_x642ct.css +0 -1
- package/es/components/Select/ui/SelectFooter/variations/_view/base.js +0 -5
- package/es/components/Select/ui/SelectFooter/variations/_view/base.js.map +0 -1
- package/es/components/Select/ui/SelectFooter/variations/_view/base_x642ct.css +0 -1
- package/es/components/Select/ui/SelectGroup/SelectGroup.css +0 -35
- package/es/components/Select/ui/SelectGroup/SelectGroup.js +0 -36
- package/es/components/Select/ui/SelectGroup/SelectGroup.js.map +0 -1
- package/es/components/Select/ui/SelectGroup/SelectGroup.styles.js +0 -7
- package/es/components/Select/ui/SelectGroup/SelectGroup.styles.js.map +0 -1
- package/es/components/Select/ui/SelectGroup/SelectGroup.styles_mktu7e.css +0 -1
- package/es/components/Select/ui/SelectGroup/variations/_size/base.js +0 -5
- package/es/components/Select/ui/SelectGroup/variations/_size/base.js.map +0 -1
- package/es/components/Select/ui/SelectGroup/variations/_size/base_x642ct.css +0 -1
- package/es/components/Select/ui/SelectGroup/variations/_view/base.js +0 -5
- package/es/components/Select/ui/SelectGroup/variations/_view/base.js.map +0 -1
- package/es/components/Select/ui/SelectGroup/variations/_view/base_x642ct.css +0 -1
- package/es/components/Select/ui/SelectHeader/SelectHeader.css +0 -35
- package/es/components/Select/ui/SelectHeader/SelectHeader.js +0 -36
- package/es/components/Select/ui/SelectHeader/SelectHeader.js.map +0 -1
- package/es/components/Select/ui/SelectHeader/SelectHeader.styles.js +0 -7
- package/es/components/Select/ui/SelectHeader/SelectHeader.styles.js.map +0 -1
- package/es/components/Select/ui/SelectHeader/SelectHeader.styles_24gqog.css +0 -1
- package/es/components/Select/ui/SelectHeader/variations/_size/base.js +0 -5
- package/es/components/Select/ui/SelectHeader/variations/_size/base.js.map +0 -1
- package/es/components/Select/ui/SelectHeader/variations/_size/base_x642ct.css +0 -1
- package/es/components/Select/ui/SelectHeader/variations/_view/base.js +0 -5
- package/es/components/Select/ui/SelectHeader/variations/_view/base.js.map +0 -1
- package/es/components/Select/ui/SelectHeader/variations/_view/base_x642ct.css +0 -1
- package/es/components/Select/ui/SelectItem/SelectItem.css +0 -35
- package/es/components/Select/ui/SelectItem/SelectItem.js +0 -35
- package/es/components/Select/ui/SelectItem/SelectItem.js.map +0 -1
- package/es/components/Select/ui/SelectItem/SelectItem.styles.js +0 -15
- package/es/components/Select/ui/SelectItem/SelectItem.styles.js.map +0 -1
- package/es/components/Select/ui/SelectItem/SelectItem.styles_vk39mp.css +0 -1
- package/es/components/Select/ui/SelectItem/variations/_size/base.js +0 -5
- package/es/components/Select/ui/SelectItem/variations/_size/base.js.map +0 -1
- package/es/components/Select/ui/SelectItem/variations/_size/base_x642ct.css +0 -1
- package/es/components/Select/ui/SelectItem/variations/_view/base.js +0 -5
- package/es/components/Select/ui/SelectItem/variations/_view/base.js.map +0 -1
- package/es/components/Select/ui/SelectItem/variations/_view/base_x642ct.css +0 -1
- package/es/components/Select/ui/SelectTarget/SelectTarget.js +0 -144
- package/es/components/Select/ui/SelectTarget/SelectTarget.js.map +0 -1
- package/es/components/Select/ui/SelectTarget/SelectTarget.styles.js +0 -103
- package/es/components/Select/ui/SelectTarget/SelectTarget.styles.js.map +0 -1
- package/es/components/Select/ui/SelectTarget/SelectTarget.styles_hb1tns.css +0 -6
- package/es/components/Select/utils/index.js +0 -105
- package/es/components/Select/utils/index.js.map +0 -1
- package/es/components/Select/variations/_target/base.js +0 -5
- package/es/components/Select/variations/_target/base.js.map +0 -1
- package/es/components/Select/variations/_target/base_x642ct.css +0 -1
- package/styled-components/cjs/components/Select/Select.template-doc.mdx +0 -115
- package/styled-components/cjs/components/Select/hooks/index.js +0 -12
- package/styled-components/cjs/components/Select/ui/SelectChip/SelectChip.styles.js +0 -25
- package/styled-components/cjs/components/Select/ui/SelectDivider/SelectDivider.js +0 -29
- package/styled-components/cjs/components/Select/ui/SelectDivider/SelectDivider.styles.js +0 -12
- package/styled-components/cjs/components/Select/ui/SelectDivider/variations/_size/base.js +0 -8
- package/styled-components/cjs/components/Select/ui/SelectDivider/variations/_size/tokens.json +0 -8
- package/styled-components/cjs/components/Select/ui/SelectDivider/variations/_view/base.js +0 -8
- package/styled-components/cjs/components/Select/ui/SelectDivider/variations/_view/tokens.json +0 -1
- package/styled-components/cjs/components/Select/ui/SelectFooter/SelectFooter.js +0 -29
- package/styled-components/cjs/components/Select/ui/SelectFooter/SelectFooter.styles.js +0 -12
- package/styled-components/cjs/components/Select/ui/SelectFooter/variations/_size/base.js +0 -8
- package/styled-components/cjs/components/Select/ui/SelectFooter/variations/_size/tokens.json +0 -12
- package/styled-components/cjs/components/Select/ui/SelectFooter/variations/_view/base.js +0 -8
- package/styled-components/cjs/components/Select/ui/SelectFooter/variations/_view/tokens.json +0 -9
- package/styled-components/cjs/components/Select/ui/SelectGroup/SelectGroup.js +0 -29
- package/styled-components/cjs/components/Select/ui/SelectGroup/SelectGroup.styles.js +0 -12
- package/styled-components/cjs/components/Select/ui/SelectGroup/variations/_size/base.js +0 -8
- package/styled-components/cjs/components/Select/ui/SelectGroup/variations/_size/tokens.json +0 -20
- package/styled-components/cjs/components/Select/ui/SelectGroup/variations/_view/base.js +0 -8
- package/styled-components/cjs/components/Select/ui/SelectGroup/variations/_view/tokens.json +0 -10
- package/styled-components/cjs/components/Select/ui/SelectHeader/SelectHeader.js +0 -29
- package/styled-components/cjs/components/Select/ui/SelectHeader/SelectHeader.styles.js +0 -12
- package/styled-components/cjs/components/Select/ui/SelectHeader/variations/_size/base.js +0 -8
- package/styled-components/cjs/components/Select/ui/SelectHeader/variations/_size/tokens.json +0 -12
- package/styled-components/cjs/components/Select/ui/SelectHeader/variations/_view/base.js +0 -8
- package/styled-components/cjs/components/Select/ui/SelectHeader/variations/_view/tokens.json +0 -9
- package/styled-components/cjs/components/Select/ui/SelectItem/SelectItem.js +0 -29
- package/styled-components/cjs/components/Select/ui/SelectItem/SelectItem.styles.js +0 -13
- package/styled-components/cjs/components/Select/ui/SelectItem/variations/_size/base.js +0 -8
- package/styled-components/cjs/components/Select/ui/SelectItem/variations/_size/tokens.json +0 -19
- package/styled-components/cjs/components/Select/ui/SelectItem/variations/_view/base.js +0 -8
- package/styled-components/cjs/components/Select/ui/SelectItem/variations/_view/tokens.json +0 -9
- package/styled-components/cjs/components/Select/ui/SelectTarget/SelectTarget.js +0 -157
- package/styled-components/cjs/components/Select/ui/SelectTarget/SelectTarget.styles.js +0 -69
- package/styled-components/cjs/components/Select/ui/index.js +0 -77
- package/styled-components/cjs/components/Select/variations/_target/base.js +0 -8
- package/styled-components/cjs/components/Select/variations/_target/tokens.json +0 -1
- package/styled-components/es/components/Select/Select.template-doc.mdx +0 -115
- package/styled-components/es/components/Select/hooks/index.js +0 -1
- package/styled-components/es/components/Select/ui/SelectChip/SelectChip.js +0 -31
- package/styled-components/es/components/Select/ui/SelectChip/SelectChip.styles.js +0 -19
- package/styled-components/es/components/Select/ui/SelectDivider/SelectDivider.js +0 -23
- package/styled-components/es/components/Select/ui/SelectDivider/SelectDivider.styles.js +0 -7
- package/styled-components/es/components/Select/ui/SelectDivider/variations/_size/base.js +0 -2
- package/styled-components/es/components/Select/ui/SelectDivider/variations/_size/tokens.json +0 -8
- package/styled-components/es/components/Select/ui/SelectDivider/variations/_view/base.js +0 -2
- package/styled-components/es/components/Select/ui/SelectDivider/variations/_view/tokens.json +0 -1
- package/styled-components/es/components/Select/ui/SelectFooter/SelectFooter.js +0 -23
- package/styled-components/es/components/Select/ui/SelectFooter/SelectFooter.styles.js +0 -7
- package/styled-components/es/components/Select/ui/SelectFooter/variations/_size/base.js +0 -2
- package/styled-components/es/components/Select/ui/SelectFooter/variations/_size/tokens.json +0 -12
- package/styled-components/es/components/Select/ui/SelectFooter/variations/_view/base.js +0 -2
- package/styled-components/es/components/Select/ui/SelectFooter/variations/_view/tokens.json +0 -9
- package/styled-components/es/components/Select/ui/SelectGroup/SelectGroup.js +0 -23
- package/styled-components/es/components/Select/ui/SelectGroup/SelectGroup.styles.js +0 -7
- package/styled-components/es/components/Select/ui/SelectGroup/variations/_size/base.js +0 -2
- package/styled-components/es/components/Select/ui/SelectGroup/variations/_size/tokens.json +0 -20
- package/styled-components/es/components/Select/ui/SelectGroup/variations/_view/base.js +0 -2
- package/styled-components/es/components/Select/ui/SelectGroup/variations/_view/tokens.json +0 -10
- package/styled-components/es/components/Select/ui/SelectHeader/SelectHeader.js +0 -23
- package/styled-components/es/components/Select/ui/SelectHeader/SelectHeader.styles.js +0 -7
- package/styled-components/es/components/Select/ui/SelectHeader/variations/_size/base.js +0 -2
- package/styled-components/es/components/Select/ui/SelectHeader/variations/_size/tokens.json +0 -12
- package/styled-components/es/components/Select/ui/SelectHeader/variations/_view/base.js +0 -2
- package/styled-components/es/components/Select/ui/SelectHeader/variations/_view/tokens.json +0 -9
- package/styled-components/es/components/Select/ui/SelectItem/SelectItem.js +0 -23
- package/styled-components/es/components/Select/ui/SelectItem/SelectItem.styles.js +0 -8
- package/styled-components/es/components/Select/ui/SelectItem/variations/_size/base.js +0 -2
- package/styled-components/es/components/Select/ui/SelectItem/variations/_size/tokens.json +0 -19
- package/styled-components/es/components/Select/ui/SelectItem/variations/_view/base.js +0 -2
- package/styled-components/es/components/Select/ui/SelectItem/variations/_view/tokens.json +0 -9
- package/styled-components/es/components/Select/ui/SelectTarget/SelectTarget.js +0 -148
- package/styled-components/es/components/Select/ui/SelectTarget/SelectTarget.styles.js +0 -62
- package/styled-components/es/components/Select/ui/index.js +0 -6
- package/styled-components/es/components/Select/variations/_target/base.js +0 -2
- package/styled-components/es/components/Select/variations/_target/tokens.json +0 -1
- package/types/components/Select/hooks/index.d.ts +0 -2
- package/types/components/Select/hooks/index.d.ts.map +0 -1
- package/types/components/Select/hooks/useKeyNavigation.d.ts.map +0 -1
- package/types/components/Select/ui/SelectChip/SelectChip.d.ts +0 -7
- package/types/components/Select/ui/SelectChip/SelectChip.d.ts.map +0 -1
- package/types/components/Select/ui/SelectChip/SelectChip.styles.d.ts +0 -3
- package/types/components/Select/ui/SelectChip/SelectChip.styles.d.ts.map +0 -1
- package/types/components/Select/ui/SelectChip/SelectChip.types.d.ts +0 -37
- package/types/components/Select/ui/SelectChip/SelectChip.types.d.ts.map +0 -1
- package/types/components/Select/ui/SelectDivider/SelectDivider.d.ts +0 -29
- package/types/components/Select/ui/SelectDivider/SelectDivider.d.ts.map +0 -1
- package/types/components/Select/ui/SelectDivider/SelectDivider.styles.d.ts +0 -3
- package/types/components/Select/ui/SelectDivider/SelectDivider.styles.d.ts.map +0 -1
- package/types/components/Select/ui/SelectDivider/SelectDivider.types.d.ts +0 -3
- package/types/components/Select/ui/SelectDivider/SelectDivider.types.d.ts.map +0 -1
- package/types/components/Select/ui/SelectDivider/variations/_size/base.d.ts +0 -2
- package/types/components/Select/ui/SelectDivider/variations/_size/base.d.ts.map +0 -1
- package/types/components/Select/ui/SelectDivider/variations/_view/base.d.ts +0 -2
- package/types/components/Select/ui/SelectDivider/variations/_view/base.d.ts.map +0 -1
- package/types/components/Select/ui/SelectFooter/SelectFooter.d.ts +0 -29
- package/types/components/Select/ui/SelectFooter/SelectFooter.d.ts.map +0 -1
- package/types/components/Select/ui/SelectFooter/SelectFooter.styles.d.ts +0 -3
- package/types/components/Select/ui/SelectFooter/SelectFooter.styles.d.ts.map +0 -1
- package/types/components/Select/ui/SelectFooter/SelectFooter.type.d.ts +0 -3
- package/types/components/Select/ui/SelectFooter/SelectFooter.type.d.ts.map +0 -1
- package/types/components/Select/ui/SelectFooter/variations/_size/base.d.ts +0 -2
- package/types/components/Select/ui/SelectFooter/variations/_size/base.d.ts.map +0 -1
- package/types/components/Select/ui/SelectFooter/variations/_view/base.d.ts +0 -2
- package/types/components/Select/ui/SelectFooter/variations/_view/base.d.ts.map +0 -1
- package/types/components/Select/ui/SelectGroup/SelectGroup.d.ts +0 -37
- package/types/components/Select/ui/SelectGroup/SelectGroup.d.ts.map +0 -1
- package/types/components/Select/ui/SelectGroup/SelectGroup.styles.d.ts +0 -3
- package/types/components/Select/ui/SelectGroup/SelectGroup.styles.d.ts.map +0 -1
- package/types/components/Select/ui/SelectGroup/SelectGroup.type.d.ts +0 -3
- package/types/components/Select/ui/SelectGroup/SelectGroup.type.d.ts.map +0 -1
- package/types/components/Select/ui/SelectGroup/variations/_size/base.d.ts +0 -2
- package/types/components/Select/ui/SelectGroup/variations/_size/base.d.ts.map +0 -1
- package/types/components/Select/ui/SelectGroup/variations/_view/base.d.ts +0 -2
- package/types/components/Select/ui/SelectGroup/variations/_view/base.d.ts.map +0 -1
- package/types/components/Select/ui/SelectHeader/SelectHeader.d.ts +0 -29
- package/types/components/Select/ui/SelectHeader/SelectHeader.d.ts.map +0 -1
- package/types/components/Select/ui/SelectHeader/SelectHeader.styles.d.ts +0 -3
- package/types/components/Select/ui/SelectHeader/SelectHeader.styles.d.ts.map +0 -1
- package/types/components/Select/ui/SelectHeader/SelectHeader.type.d.ts +0 -3
- package/types/components/Select/ui/SelectHeader/SelectHeader.type.d.ts.map +0 -1
- package/types/components/Select/ui/SelectHeader/variations/_size/base.d.ts +0 -2
- package/types/components/Select/ui/SelectHeader/variations/_size/base.d.ts.map +0 -1
- package/types/components/Select/ui/SelectHeader/variations/_view/base.d.ts +0 -2
- package/types/components/Select/ui/SelectHeader/variations/_view/base.d.ts.map +0 -1
- package/types/components/Select/ui/SelectItem/SelectItem.d.ts +0 -53
- package/types/components/Select/ui/SelectItem/SelectItem.d.ts.map +0 -1
- package/types/components/Select/ui/SelectItem/SelectItem.styles.d.ts +0 -3
- package/types/components/Select/ui/SelectItem/SelectItem.styles.d.ts.map +0 -1
- package/types/components/Select/ui/SelectItem/SelectItem.type.d.ts +0 -3
- package/types/components/Select/ui/SelectItem/SelectItem.type.d.ts.map +0 -1
- package/types/components/Select/ui/SelectItem/variations/_size/base.d.ts +0 -2
- package/types/components/Select/ui/SelectItem/variations/_size/base.d.ts.map +0 -1
- package/types/components/Select/ui/SelectItem/variations/_view/base.d.ts +0 -2
- package/types/components/Select/ui/SelectItem/variations/_view/base.d.ts.map +0 -1
- package/types/components/Select/ui/SelectTarget/SelectTarget.d.ts +0 -7
- package/types/components/Select/ui/SelectTarget/SelectTarget.d.ts.map +0 -1
- package/types/components/Select/ui/SelectTarget/SelectTarget.styles.d.ts.map +0 -1
- package/types/components/Select/ui/SelectTarget/SelectTarget.types.d.ts +0 -60
- package/types/components/Select/ui/SelectTarget/SelectTarget.types.d.ts.map +0 -1
- package/types/components/Select/ui/index.d.ts +0 -7
- package/types/components/Select/ui/index.d.ts.map +0 -1
- package/types/components/Select/variations/_target/base.d.ts +0 -2
- package/types/components/Select/variations/_target/base.d.ts.map +0 -1
- /package/cjs/components/{Select → Combobox}/hooks/useKeyNavigation.js +0 -0
- /package/es/components/{Select → Combobox}/hooks/useKeyNavigation.js +0 -0
- /package/styled-components/cjs/components/{Select/ui/SelectChip/SelectChip.types.js → Combobox/Select.types.js} +0 -0
- /package/styled-components/cjs/components/{Select → Combobox}/hooks/useKeyNavigation.js +0 -0
- /package/styled-components/cjs/components/Select/{ui/SelectDivider/SelectDivider.types.js → elements/Inner/Inner.type.js} +0 -0
- /package/styled-components/cjs/components/Select/{ui/SelectFooter/SelectFooter.type.js → elements/Inner/elements/Item/Item.types.js} +0 -0
- /package/styled-components/cjs/components/Select/{ui/SelectGroup/SelectGroup.type.js → elements/SelectNotFoundContent/SelectNotFoundContent.types.js} +0 -0
- /package/styled-components/cjs/components/Select/{ui/SelectHeader/SelectHeader.type.js → elements/Target/Target.types.js} +0 -0
- /package/styled-components/cjs/components/Select/{ui/SelectItem/SelectItem.type.js → elements/Target/elements/Button/Button.types.js} +0 -0
- /package/styled-components/cjs/components/Select/{ui/SelectTarget/SelectTarget.types.js → elements/Target/elements/Textfield/Textfield.types.js} +0 -0
- /package/styled-components/es/components/{Select/ui/SelectChip/SelectChip.types.js → Combobox/Select.types.js} +0 -0
- /package/styled-components/es/components/{Select → Combobox}/hooks/useKeyNavigation.js +0 -0
- /package/styled-components/es/components/Select/{ui/SelectDivider/SelectDivider.types.js → elements/Inner/Inner.type.js} +0 -0
- /package/styled-components/es/components/Select/{ui/SelectFooter/SelectFooter.type.js → elements/Inner/elements/Item/Item.types.js} +0 -0
- /package/styled-components/es/components/Select/{ui/SelectGroup/SelectGroup.type.js → elements/SelectNotFoundContent/SelectNotFoundContent.types.js} +0 -0
- /package/styled-components/es/components/Select/{ui/SelectHeader/SelectHeader.type.js → elements/Target/Target.types.js} +0 -0
- /package/styled-components/es/components/Select/{ui/SelectItem/SelectItem.type.js → elements/Target/elements/Button/Button.types.js} +0 -0
- /package/styled-components/es/components/Select/{ui/SelectTarget/SelectTarget.types.js → elements/Target/elements/Textfield/Textfield.types.js} +0 -0
- /package/types/components/{Select → Combobox}/hooks/useKeyNavigation.d.ts +0 -0
@@ -1,69 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.StyledText = exports.StyledSelectTarget = exports.StyledLabel = exports.StyledChipsWrapper = exports.StyledChips = exports.StyledArrow = void 0;
|
7
|
-
var _styledComponents = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("styled-components"));
|
8
|
-
var _Icon = /*#__PURE__*/require("../../../_Icon");
|
9
|
-
var _mixins = /*#__PURE__*/require("../../../../mixins");
|
10
|
-
var _engines = /*#__PURE__*/require("../../../../engines");
|
11
|
-
var _Button = /*#__PURE__*/require("../../../Button");
|
12
|
-
var _Select = /*#__PURE__*/require("../../Select.tokens");
|
13
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
14
|
-
var hasChips = _Select.classes.hasChips,
|
15
|
-
hasNoFocus = _Select.classes.hasNoFocus,
|
16
|
-
innerLabelUp = _Select.classes.innerLabelUp,
|
17
|
-
arrowInverse = _Select.classes.arrowInverse,
|
18
|
-
selectTargetArrow = _Select.classes.selectTargetArrow,
|
19
|
-
selectTargeText = _Select.classes.selectTargeText,
|
20
|
-
selectTargetLabel = _Select.classes.selectTargetLabel;
|
21
|
-
var mergedButtonConfig = /*#__PURE__*/(0, _engines.mergeConfig)(_Button.buttonConfig);
|
22
|
-
var Button = /*#__PURE__*/(0, _engines.component)(mergedButtonConfig);
|
23
|
-
|
24
|
-
// NOTE: Необходимое переопределение токенов из компонента Button т.к. используются его части
|
25
|
-
var StyledSelectTarget = exports.StyledSelectTarget = /*#__PURE__*/(0, _styledComponents["default"])(Button).withConfig({
|
26
|
-
componentId: "plasma-new-hope__sc-s16vtc-0"
|
27
|
-
})(["", ":var(", ");", ":var(", ");", ":", ";", ":", ";", ":", ";", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");box-shadow:inset 0 0 0 0.0625rem ", ";&:hover:not([disabled]):not([readonly]){box-shadow:inset 0 0 0 0.0625rem ", ";}&:active:not([disabled]):not([readonly]){box-shadow:inset 0 0 0 0.0625rem ", ";}padding:", ";display:flex;justify-content:flex-start;&[readonly]{cursor:default;.", "{opacity:0.4;}}.", "{transform:rotate(-180deg);}&.", "{padding:var(", ");}&.", "{.", "{top:var(", ");}.", "{top:var(", ");font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");}}&.", "{--plasma_private-combobox-focus-size:0.0625rem;", "}"], _Button.buttonTokens.buttonDisabledOpacity, _Select.tokens.disabledOpacity, _Button.buttonTokens.buttonColor, _Select.tokens.targetColor, _Button.buttonTokens.buttonBackgroundColor, function (_ref) {
|
28
|
-
var opened = _ref.opened;
|
29
|
-
return opened ? "var(".concat(_Select.tokens.targetBackgroundColorOpen, ")") : "var(".concat(_Select.tokens.targetBackgroundColor, ")");
|
30
|
-
}, _Button.buttonTokens.buttonBackgroundColorHover, function (_ref2) {
|
31
|
-
var opened = _ref2.opened;
|
32
|
-
return opened ? "var(".concat(_Select.tokens.targetBackgroundColorOpen, ")") : "var(".concat(_Select.tokens.targetBackgroundColorHover, ")");
|
33
|
-
}, _Button.buttonTokens.buttonBackgroundColorActive, function (_ref3) {
|
34
|
-
var opened = _ref3.opened;
|
35
|
-
return opened ? "var(".concat(_Select.tokens.targetBackgroundColorOpen, ")") : "var(".concat(_Select.tokens.targetBackgroundColorActive, ")");
|
36
|
-
}, _Button.buttonTokens.buttonHeight, _Select.tokens.targetHeight, _Button.buttonTokens.buttonWidth, _Select.tokens.targetWidth, _Button.buttonTokens.buttonRadius, _Select.tokens.targetRadius, _Button.buttonTokens.buttonFontFamily, _Select.tokens.targetFontFamily, _Button.buttonTokens.buttonFontSize, _Select.tokens.targetFontSize, _Button.buttonTokens.buttonFontStyle, _Select.tokens.targetFontStyle, _Button.buttonTokens.buttonFontWeight, _Select.tokens.targetFontWeight, _Button.buttonTokens.buttonLetterSpacing, _Select.tokens.targetLetterSpacing, _Button.buttonTokens.buttonLineHeight, _Select.tokens.targetLineHeight, _Button.buttonTokens.buttonFocusColor, _Select.tokens.focusColor, function (_ref4) {
|
37
|
-
var opened = _ref4.opened;
|
38
|
-
return opened ? "var(".concat(_Select.tokens.targetBorderColorOpen, ")") : "var(".concat(_Select.tokens.targetBorderColor, ")");
|
39
|
-
}, function (_ref5) {
|
40
|
-
var opened = _ref5.opened;
|
41
|
-
return opened ? "var(".concat(_Select.tokens.targetBorderColorOpen, ")") : "var(".concat(_Select.tokens.targetBorderColorHover, ")");
|
42
|
-
}, function (_ref6) {
|
43
|
-
var opened = _ref6.opened;
|
44
|
-
return opened ? "var(".concat(_Select.tokens.targetBorderColorOpen, ")") : "var(".concat(_Select.tokens.targetBorderColorActive, ")");
|
45
|
-
}, function (_ref7) {
|
46
|
-
var target = _ref7.target;
|
47
|
-
return target === 'textField-like' ? "var(".concat(_Select.tokens.targetPaddingWithInput, ")") : "var(".concat(_Select.tokens.targetPadding, ")");
|
48
|
-
}, /*#__PURE__*/String(selectTargetArrow), /*#__PURE__*/String(arrowInverse), /*#__PURE__*/String(hasChips), _Select.tokens.targetPaddingHasChips, /*#__PURE__*/String(innerLabelUp), /*#__PURE__*/String(selectTargeText), _Select.tokens.targetInnerTop, /*#__PURE__*/String(selectTargetLabel), _Select.tokens.targetLabelInnerTop, _Select.tokens.targetLabelInnerFontFamily, _Select.tokens.targetLabelInnerFontSize, _Select.tokens.targetLabelInnerFontStyle, _Select.tokens.targetLabelInnerFontWeight, _Select.tokens.targetLabelInnerLetterSpacing, _Select.tokens.targetLabelInnerLineHeight, /*#__PURE__*/String(hasNoFocus), /*#__PURE__*/(0, _mixins.addFocus)({
|
49
|
-
hasTransition: false,
|
50
|
-
outlineOffset: 'calc(-1 * var(--plasma_private-combobox-focus-size))',
|
51
|
-
outlineRadius: /*#__PURE__*/"calc(var(".concat(_Select.tokens.targetRadius, ") + var(--plasma_private-combobox-focus-size))"),
|
52
|
-
outlineSize: 'var(--plasma_private-combobox-focus-size)',
|
53
|
-
customFocusRules: /*#__PURE__*/"\n &:focus-within {\n box-shadow: none;\n background-color: var(".concat(_Select.tokens.targetBackgroundColorOpen, ");\n\n &::before {\n box-shadow: inset 0 0 0 var(--plasma_private-combobox-focus-size) var(").concat(_Select.tokens.targetBorderColorOpen, ");\n }\n }\n ")
|
54
|
-
}));
|
55
|
-
var StyledArrow = exports.StyledArrow = /*#__PURE__*/(0, _styledComponents["default"])(_Icon.IconChevronDown).withConfig({
|
56
|
-
componentId: "plasma-new-hope__sc-s16vtc-1"
|
57
|
-
})(["transition:color 0.3s ease-in,transform 0.15s ease-in;pointer-events:none;user-select:none;position:absolute;right:var(", ");color:var(", ");"], _Select.tokens.targetArrowRight, _Select.tokens.targetArrowColor);
|
58
|
-
var StyledText = exports.StyledText = /*#__PURE__*/_styledComponents["default"].span.withConfig({
|
59
|
-
componentId: "plasma-new-hope__sc-s16vtc-2"
|
60
|
-
})(["", ";position:relative;pointer-events:none;user-select:none;color:var(", ");"], /*#__PURE__*/(0, _mixins.applyEllipsis)(), _Select.tokens.targetColor);
|
61
|
-
var StyledChipsWrapper = exports.StyledChipsWrapper = /*#__PURE__*/_styledComponents["default"].div.withConfig({
|
62
|
-
componentId: "plasma-new-hope__sc-s16vtc-3"
|
63
|
-
})(["border-radius:var(", ");overflow:scroll;position:relative;width:100%;height:var(", ");display:flex;align-items:center;::-webkit-scrollbar{display:none;}scrollbar-width:none;overscroll-behavior:contain;"], _Select.tokens.chipBorderRadius, _Select.tokens.chipHeight);
|
64
|
-
var StyledChips = exports.StyledChips = /*#__PURE__*/_styledComponents["default"].div.withConfig({
|
65
|
-
componentId: "plasma-new-hope__sc-s16vtc-4"
|
66
|
-
})(["overflow:visible;display:flex;gap:var(", ");position:absolute;user-select:none;"], _Select.tokens.chipGap);
|
67
|
-
var StyledLabel = exports.StyledLabel = /*#__PURE__*/_styledComponents["default"].label.withConfig({
|
68
|
-
componentId: "plasma-new-hope__sc-s16vtc-5"
|
69
|
-
})(["", ";box-sizing:border-box;position:absolute;pointer-events:none;display:inline-flex;align-items:center;transition:all 0.1s ease-in-out;transform-origin:top left;width:100%;height:auto;color:var(", ");font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");"], /*#__PURE__*/(0, _mixins.applyEllipsis)(), _Select.tokens.targetLabelColor, _Select.tokens.targetFontFamily, _Select.tokens.targetFontSize, _Select.tokens.targetFontStyle, _Select.tokens.targetFontWeight, _Select.tokens.targetLetterSpacing, _Select.tokens.targetLineHeight);
|
@@ -1,77 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
Object.defineProperty(exports, "SelectTarget", {
|
7
|
-
enumerable: true,
|
8
|
-
get: function get() {
|
9
|
-
return _SelectTarget.SelectTarget;
|
10
|
-
}
|
11
|
-
});
|
12
|
-
Object.defineProperty(exports, "selectDividerConfig", {
|
13
|
-
enumerable: true,
|
14
|
-
get: function get() {
|
15
|
-
return _SelectDivider.selectDividerConfig;
|
16
|
-
}
|
17
|
-
});
|
18
|
-
Object.defineProperty(exports, "selectDividerRoot", {
|
19
|
-
enumerable: true,
|
20
|
-
get: function get() {
|
21
|
-
return _SelectDivider.selectDividerRoot;
|
22
|
-
}
|
23
|
-
});
|
24
|
-
Object.defineProperty(exports, "selectFooterConfig", {
|
25
|
-
enumerable: true,
|
26
|
-
get: function get() {
|
27
|
-
return _SelectFooter.selectFooterConfig;
|
28
|
-
}
|
29
|
-
});
|
30
|
-
Object.defineProperty(exports, "selectFooterRoot", {
|
31
|
-
enumerable: true,
|
32
|
-
get: function get() {
|
33
|
-
return _SelectFooter.selectFooterRoot;
|
34
|
-
}
|
35
|
-
});
|
36
|
-
Object.defineProperty(exports, "selectGroupConfig", {
|
37
|
-
enumerable: true,
|
38
|
-
get: function get() {
|
39
|
-
return _SelectGroup.selectGroupConfig;
|
40
|
-
}
|
41
|
-
});
|
42
|
-
Object.defineProperty(exports, "selectGroupRoot", {
|
43
|
-
enumerable: true,
|
44
|
-
get: function get() {
|
45
|
-
return _SelectGroup.selectGroupRoot;
|
46
|
-
}
|
47
|
-
});
|
48
|
-
Object.defineProperty(exports, "selectHeaderConfig", {
|
49
|
-
enumerable: true,
|
50
|
-
get: function get() {
|
51
|
-
return _SelectHeader.selectHeaderConfig;
|
52
|
-
}
|
53
|
-
});
|
54
|
-
Object.defineProperty(exports, "selectHeaderRoot", {
|
55
|
-
enumerable: true,
|
56
|
-
get: function get() {
|
57
|
-
return _SelectHeader.selectHeaderRoot;
|
58
|
-
}
|
59
|
-
});
|
60
|
-
Object.defineProperty(exports, "selectItemConfig", {
|
61
|
-
enumerable: true,
|
62
|
-
get: function get() {
|
63
|
-
return _SelectItem.selectItemConfig;
|
64
|
-
}
|
65
|
-
});
|
66
|
-
Object.defineProperty(exports, "selectItemRoot", {
|
67
|
-
enumerable: true,
|
68
|
-
get: function get() {
|
69
|
-
return _SelectItem.selectItemRoot;
|
70
|
-
}
|
71
|
-
});
|
72
|
-
var _SelectDivider = /*#__PURE__*/require("./SelectDivider/SelectDivider");
|
73
|
-
var _SelectFooter = /*#__PURE__*/require("./SelectFooter/SelectFooter");
|
74
|
-
var _SelectGroup = /*#__PURE__*/require("./SelectGroup/SelectGroup");
|
75
|
-
var _SelectHeader = /*#__PURE__*/require("./SelectHeader/SelectHeader");
|
76
|
-
var _SelectItem = /*#__PURE__*/require("./SelectItem/SelectItem");
|
77
|
-
var _SelectTarget = /*#__PURE__*/require("./SelectTarget/SelectTarget");
|
@@ -1 +0,0 @@
|
|
1
|
-
[]
|
@@ -1,115 +0,0 @@
|
|
1
|
-
---
|
2
|
-
id: select
|
3
|
-
title: Select
|
4
|
-
---
|
5
|
-
|
6
|
-
import { PropsTable, Description } from '@site/src/components';
|
7
|
-
|
8
|
-
# Select
|
9
|
-
<Description name="Select" />
|
10
|
-
<PropsTable name="Select" />
|
11
|
-
|
12
|
-
```tsx live
|
13
|
-
import React, { useState } from 'react';
|
14
|
-
import { Select } from '@salutejs/{{ package }}';
|
15
|
-
|
16
|
-
export function App() {
|
17
|
-
const items = [
|
18
|
-
{ value: 'each', label: 'Каждый' },
|
19
|
-
{ value: 'hunter', label: 'Охотник', isDisabled: true },
|
20
|
-
{ value: 'wants', label: 'Желает' },
|
21
|
-
{
|
22
|
-
value: 'toKnow',
|
23
|
-
label: 'Знать',
|
24
|
-
items: [
|
25
|
-
{ value: '_fullText', label: 'Каждый охотник желает знать, где сидит фазан' },
|
26
|
-
{ value: '_thePheasant', label: 'Фазан' },
|
27
|
-
{ value: '_is', label: 'Сидит' },
|
28
|
-
],
|
29
|
-
},
|
30
|
-
{ value: 'where', label: 'Где' },
|
31
|
-
{ value: 'is', label: 'Сидит' },
|
32
|
-
{ value: 'thePheasant', label: 'Фазан' },
|
33
|
-
{ value: 'fullText', label: 'Каждый охотник желает знать, где сидит фазан' },
|
34
|
-
];
|
35
|
-
|
36
|
-
const [value, setValue] = useState(null);
|
37
|
-
|
38
|
-
return (
|
39
|
-
<div style=\{{ maxWidth: '20rem' }}>
|
40
|
-
<div style=\{{ marginBottom: '1rem' }}>
|
41
|
-
<Select
|
42
|
-
value={value}
|
43
|
-
items={items}
|
44
|
-
onChange={(v) => {
|
45
|
-
setValue(v);
|
46
|
-
}}
|
47
|
-
placeholder="Выберите пример"
|
48
|
-
helperText="Заполните пример"
|
49
|
-
status="success"
|
50
|
-
/>
|
51
|
-
</div>
|
52
|
-
<div>
|
53
|
-
<Select value={null} items={[]} placeholder="Another select" />
|
54
|
-
</div>
|
55
|
-
</div>
|
56
|
-
);
|
57
|
-
}
|
58
|
-
```
|
59
|
-
|
60
|
-
### Управление высотой выпадающего меню
|
61
|
-
Что бы задать высоту и `scroll` для выпадающего меню можно использовать **props** для компонента `Select`:
|
62
|
-
- **listOverflow**
|
63
|
-
- **listHeight**
|
64
|
-
|
65
|
-
> Эти **props** необязательные, если их не указать будет использовано значение - [initial](https://developer.mozilla.org/en-US/docs/Web/CSS/initial)
|
66
|
-
|
67
|
-
```tsx live
|
68
|
-
import React, { useState, useCallback } from 'react';
|
69
|
-
import { Select, Modal, ModalsProvider, H3, Button } from '@salutejs/{{ package }}';
|
70
|
-
|
71
|
-
export function App() {
|
72
|
-
const [value, setValue] = useState(null);
|
73
|
-
const [isOpenA, setIsOpenA] = useState(false);
|
74
|
-
|
75
|
-
const onCloseA = useCallback(() => setIsOpenA(false), []);
|
76
|
-
|
77
|
-
const items = [
|
78
|
-
{ value: 'each', label: 'Каждый' },
|
79
|
-
{ value: 'hunter', label: 'Охотник', isDisabled: true },
|
80
|
-
{ value: 'wants', label: 'Желает' },
|
81
|
-
{
|
82
|
-
value: 'toKnow',
|
83
|
-
label: 'Знать',
|
84
|
-
items: [
|
85
|
-
{ value: '_fullText', label: 'Каждый охотник желает знать, где сидит фазан' },
|
86
|
-
{ value: '_thePheasant', label: 'Фазан' },
|
87
|
-
{ value: '_is', label: 'Сидит' },
|
88
|
-
],
|
89
|
-
},
|
90
|
-
{ value: 'where', label: 'Где' },
|
91
|
-
{ value: 'is', label: 'Сидит' },
|
92
|
-
{ value: 'thePheasant', label: 'Фазан' },
|
93
|
-
{ value: 'fullText', label: 'Каждый охотник желает знать, где сидит фазан' },
|
94
|
-
];
|
95
|
-
|
96
|
-
return (
|
97
|
-
<section>
|
98
|
-
<ModalsProvider>
|
99
|
-
<Button text="Open modal" onClick={() => setIsOpenA(true)} />
|
100
|
-
|
101
|
-
<Modal style=\{{ "height": "20rem" }} id="modalA" isOpen={isOpenA} onClose={onCloseA}>
|
102
|
-
<H3>Фильтр</H3>
|
103
|
-
<Select
|
104
|
-
value={value}
|
105
|
-
onChange={setValue}
|
106
|
-
items={items}
|
107
|
-
listHeight={11}
|
108
|
-
listOverflow="scroll"
|
109
|
-
/>
|
110
|
-
</Modal>
|
111
|
-
</ModalsProvider>
|
112
|
-
</section>
|
113
|
-
);
|
114
|
-
}
|
115
|
-
```
|
@@ -1 +0,0 @@
|
|
1
|
-
export { useKeyNavigation } from './useKeyNavigation';
|
@@ -1,31 +0,0 @@
|
|
1
|
-
import React, { forwardRef, useCallback } from 'react';
|
2
|
-
import { StyledChip } from './SelectChip.styles';
|
3
|
-
/**
|
4
|
-
* Чип, отображающий выбранный элемент
|
5
|
-
*/
|
6
|
-
export var SelectChip = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
7
|
-
var value = _ref.value,
|
8
|
-
text = _ref.text,
|
9
|
-
index = _ref.index,
|
10
|
-
disabled = _ref.disabled,
|
11
|
-
readOnly = _ref.readOnly,
|
12
|
-
onClick = _ref.onClick,
|
13
|
-
onClear = _ref.onClear,
|
14
|
-
onKeyDown = _ref.onKeyDown;
|
15
|
-
var onClearHandle = useCallback(function () {
|
16
|
-
onClear(value, text);
|
17
|
-
}, [onClear, value, text]);
|
18
|
-
var onKeyDownHandle = useCallback(function (event) {
|
19
|
-
onKeyDown === null || onKeyDown === void 0 || onKeyDown(value, text, index, event);
|
20
|
-
}, [onKeyDown]);
|
21
|
-
return /*#__PURE__*/React.createElement(StyledChip, {
|
22
|
-
ref: ref,
|
23
|
-
tabIndex: -1,
|
24
|
-
disabled: disabled,
|
25
|
-
readOnly: readOnly,
|
26
|
-
onClick: onClick,
|
27
|
-
onClear: onClearHandle,
|
28
|
-
onKeyDown: onKeyDownHandle,
|
29
|
-
text: "".concat(text)
|
30
|
-
});
|
31
|
-
});
|
@@ -1,19 +0,0 @@
|
|
1
|
-
import styled from 'styled-components';
|
2
|
-
import { chipConfig, chipTokens } from '../../../Chip';
|
3
|
-
import { component, mergeConfig } from '../../../../engines';
|
4
|
-
import { tokens } from '../../Select.tokens';
|
5
|
-
import { addFocus } from '../../../../mixins';
|
6
|
-
|
7
|
-
// issue #823
|
8
|
-
var mergedConfig = /*#__PURE__*/mergeConfig(chipConfig);
|
9
|
-
var Chip = /*#__PURE__*/component(mergedConfig);
|
10
|
-
|
11
|
-
// NOTE: Необходимое переопределение токенов из компонента Chip т.к. используются его части
|
12
|
-
export var StyledChip = /*#__PURE__*/styled(Chip).withConfig({
|
13
|
-
componentId: "plasma-new-hope__sc-1ymdswn-0"
|
14
|
-
})(["", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", " &[readonly]{opacity:var(", ");}"], chipTokens.color, tokens.chipColor, chipTokens.background, tokens.chipBackground, chipTokens.colorHover, tokens.chipColorHover, chipTokens.backgroundHover, tokens.chipBackgroundHover, chipTokens.colorActive, tokens.chipColorActive, chipTokens.backgroundActive, tokens.chipBackgroundActive, chipTokens.backgroundReadOnly, tokens.chipBackgroundReadOnly, chipTokens.colorReadOnly, tokens.chipColorReadOnly, chipTokens.backgroundReadOnlyHover, tokens.chipBackgroundReadOnlyHover, chipTokens.colorReadOnlyHover, tokens.chipColorReadOnlyHover, chipTokens.borderRadius, tokens.chipBorderRadius, chipTokens.width, tokens.chipWidth, chipTokens.height, tokens.chipHeight, chipTokens.paddingRight, tokens.chipPaddingRight, chipTokens.paddingLeft, tokens.chipPaddingLeft, chipTokens.fontFamily, tokens.chipFontFamily, chipTokens.fontSize, tokens.chipFontSize, chipTokens.fontStyle, tokens.chipFontStyle, chipTokens.fontWeight, tokens.chipFontWeight, chipTokens.letterSpacing, tokens.chipLetterSpacing, chipTokens.lineHeight, tokens.chipLineHeight, chipTokens.clearContentMarginLeft, tokens.chipClearContentMarginLeft, chipTokens.clearContentMarginRight, tokens.chipClearContentMarginRight, chipTokens.scaleHover, tokens.chipScaleHover, chipTokens.scaleActive, tokens.chipScaleActive, chipTokens.closeIconSize, tokens.chipCloseIconSize, chipTokens.closeIconColor, tokens.chipCloseIconColor, chipTokens.focusColor, tokens.focusColor, /*#__PURE__*/addFocus({
|
15
|
-
outlineOffset: '0.125rem',
|
16
|
-
outlineSize: '0.0625rem',
|
17
|
-
outlineRadius: /*#__PURE__*/"calc(var(".concat(tokens.chipBorderRadius, ") - 0.1rem)"),
|
18
|
-
outlineColor: /*#__PURE__*/"var(".concat(tokens.focusColor, ")")
|
19
|
-
}), tokens.chipOpacityReadonly);
|
@@ -1,23 +0,0 @@
|
|
1
|
-
import { dropdownDividerRoot } from '../../../Dropdown';
|
2
|
-
import { base as viewCSS } from './variations/_view/base';
|
3
|
-
import { base as sizeCSS } from './variations/_size/base';
|
4
|
-
import { base } from './SelectDivider.styles';
|
5
|
-
export var selectDividerRoot = dropdownDividerRoot;
|
6
|
-
export var selectDividerConfig = {
|
7
|
-
name: 'SelectDivider',
|
8
|
-
tag: 'div',
|
9
|
-
layout: selectDividerRoot,
|
10
|
-
base: base,
|
11
|
-
variations: {
|
12
|
-
view: {
|
13
|
-
css: viewCSS
|
14
|
-
},
|
15
|
-
size: {
|
16
|
-
css: sizeCSS
|
17
|
-
}
|
18
|
-
},
|
19
|
-
defaults: {
|
20
|
-
view: 'primary',
|
21
|
-
size: 'm'
|
22
|
-
}
|
23
|
-
};
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { css } from 'styled-components';
|
2
|
-
import { tokens } from '../../Select.tokens';
|
3
|
-
import { dropdownTokens } from '../../../Dropdown';
|
4
|
-
|
5
|
-
// NOTE: Необходимое переопределение токенов из компонента DropdownItem т.к. используются его части
|
6
|
-
export var mappingOverride = /*#__PURE__*/css(["", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");"], dropdownTokens.dividerColor, tokens.dividerColor, dropdownTokens.dividerWidth, tokens.dividerWidth, dropdownTokens.dividerHeight, tokens.dividerHeight, dropdownTokens.dividerMarginTop, tokens.dividerMarginTop, dropdownTokens.dividerMarginRight, tokens.dividerMarginRight, dropdownTokens.dividerMarginBottom, tokens.dividerMarginBottom, dropdownTokens.dividerMarginLeft, tokens.dividerMarginLeft);
|
7
|
-
export var base = mappingOverride;
|
package/styled-components/es/components/Select/ui/SelectDivider/variations/_view/tokens.json
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
["--plasma-select-divider-color"]
|
@@ -1,23 +0,0 @@
|
|
1
|
-
import { dropdownFooterRoot } from '../../../Dropdown';
|
2
|
-
import { base as viewCSS } from './variations/_view/base';
|
3
|
-
import { base as sizeCSS } from './variations/_size/base';
|
4
|
-
import { base } from './SelectFooter.styles';
|
5
|
-
export var selectFooterRoot = dropdownFooterRoot;
|
6
|
-
export var selectFooterConfig = {
|
7
|
-
name: 'SelectFooter',
|
8
|
-
tag: 'div',
|
9
|
-
layout: selectFooterRoot,
|
10
|
-
base: base,
|
11
|
-
variations: {
|
12
|
-
view: {
|
13
|
-
css: viewCSS
|
14
|
-
},
|
15
|
-
size: {
|
16
|
-
css: sizeCSS
|
17
|
-
}
|
18
|
-
},
|
19
|
-
defaults: {
|
20
|
-
view: 'primary',
|
21
|
-
size: 'm'
|
22
|
-
}
|
23
|
-
};
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { css } from 'styled-components';
|
2
|
-
import { tokens } from '../../Select.tokens';
|
3
|
-
import { dropdownTokens } from '../../../Dropdown';
|
4
|
-
|
5
|
-
// NOTE: Необходимое переопределение токенов из компонента DropdownItem т.к. используются его части
|
6
|
-
export var mappingOverride = /*#__PURE__*/css(["", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");"], dropdownTokens.footerBackground, tokens.footerBackground, dropdownTokens.footerWidth, tokens.footerWidth, dropdownTokens.footerHeight, tokens.footerHeight, dropdownTokens.footerPaddingTop, tokens.footerPaddingTop, dropdownTokens.footerPaddingRight, tokens.footerPaddingRight, dropdownTokens.footerPaddingBottom, tokens.footerPaddingBottom, dropdownTokens.footerPaddingLeft, tokens.footerPaddingLeft, dropdownTokens.footerMarginTop, tokens.footerMarginTop, dropdownTokens.footerMarginRight, tokens.footerMarginRight, dropdownTokens.footerMarginBottom, tokens.footerMarginBottom, dropdownTokens.footerMarginLeft, tokens.footerMarginLeft, dropdownTokens.footerFontFamily, tokens.footerFontFamily, dropdownTokens.footerFontSize, tokens.footerFontSize, dropdownTokens.footerFontStyle, tokens.footerFontStyle, dropdownTokens.footerFontWeightBold, tokens.footerFontWeightBold, dropdownTokens.footerFontLetterSpacing, tokens.footerFontLetterSpacing, dropdownTokens.footerFontLineHeight, tokens.footerFontLineHeight);
|
7
|
-
export var base = mappingOverride;
|
@@ -1,12 +0,0 @@
|
|
1
|
-
[
|
2
|
-
"--plasma-select-footer-width",
|
3
|
-
"--plasma-select-footer-height",
|
4
|
-
"--plasma-select-footer-padding-top",
|
5
|
-
"--plasma-select-footer-padding-right",
|
6
|
-
"--plasma-select-footer-padding-bottom",
|
7
|
-
"--plasma-select-footer-padding-left",
|
8
|
-
"--plasma-select-footer-margin-top",
|
9
|
-
"--plasma-select-footer-margin-right",
|
10
|
-
"--plasma-select-footer-margin-bottom",
|
11
|
-
"--plasma-select-footer-margin-left"
|
12
|
-
]
|
@@ -1,9 +0,0 @@
|
|
1
|
-
[
|
2
|
-
"--plasma-select-footer-background",
|
3
|
-
"--plasma-select-footer-font-family",
|
4
|
-
"--plasma-select-footer-font-size",
|
5
|
-
"--plasma-select-footer-font-style",
|
6
|
-
"--plasma-select-footer-letter-spacing",
|
7
|
-
"--plasma-select-footer-line-height",
|
8
|
-
"--plasma-select-footer-font-weight"
|
9
|
-
]
|
@@ -1,23 +0,0 @@
|
|
1
|
-
import { dropdownGroupRoot } from '../../../Dropdown';
|
2
|
-
import { base as viewCSS } from './variations/_view/base';
|
3
|
-
import { base as sizeCSS } from './variations/_size/base';
|
4
|
-
import { base } from './SelectGroup.styles';
|
5
|
-
export var selectGroupRoot = dropdownGroupRoot;
|
6
|
-
export var selectGroupConfig = {
|
7
|
-
name: 'SelectGroup',
|
8
|
-
tag: 'div',
|
9
|
-
layout: selectGroupRoot,
|
10
|
-
base: base,
|
11
|
-
variations: {
|
12
|
-
view: {
|
13
|
-
css: viewCSS
|
14
|
-
},
|
15
|
-
size: {
|
16
|
-
css: sizeCSS
|
17
|
-
}
|
18
|
-
},
|
19
|
-
defaults: {
|
20
|
-
view: 'primary',
|
21
|
-
size: 'm'
|
22
|
-
}
|
23
|
-
};
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { css } from 'styled-components';
|
2
|
-
import { tokens } from '../../Select.tokens';
|
3
|
-
import { dropdownTokens } from '../../../Dropdown';
|
4
|
-
|
5
|
-
// NOTE: Необходимое переопределение токенов из компонента DropdownItem т.к. используются его части
|
6
|
-
export var mappingOverride = /*#__PURE__*/css(["", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");"], dropdownTokens.groupBackground, tokens.groupBackground, dropdownTokens.groupWidth, tokens.groupWidth, dropdownTokens.groupHeight, tokens.groupHeight, dropdownTokens.groupPaddingTop, tokens.groupPaddingTop, dropdownTokens.groupPaddingRight, tokens.groupPaddingRight, dropdownTokens.groupPaddingBottom, tokens.groupPaddingBottom, dropdownTokens.groupPaddingLeft, tokens.groupPaddingLeft, dropdownTokens.groupMarginTop, tokens.groupMarginTop, dropdownTokens.groupMarginRight, tokens.groupMarginRight, dropdownTokens.groupMarginBottom, tokens.groupMarginBottom, dropdownTokens.groupMarginLeft, tokens.groupMarginLeft, dropdownTokens.groupLabelFontFamily, tokens.groupLabelFontFamily, dropdownTokens.groupLabelFontSize, tokens.groupLabelFontSize, dropdownTokens.groupLabelFontStyle, tokens.groupLabelFontStyle, dropdownTokens.groupLabelFontWeight, tokens.groupLabelFontWeight, dropdownTokens.groupLabelLetterSpacing, tokens.groupLabelLetterSpacing, dropdownTokens.groupLabelLineHeight, tokens.groupLabelLineHeight, dropdownTokens.groupLabelColor, tokens.groupLabelColor, dropdownTokens.groupLabelPaddingTop, tokens.groupLabelPaddingTop, dropdownTokens.groupLabelPaddingRight, tokens.groupLabelPaddingRight, dropdownTokens.groupLabelPaddingBottom, tokens.groupLabelPaddingBottom, dropdownTokens.groupLabelPaddingLeft, tokens.groupLabelPaddingLeft, dropdownTokens.groupLabelMarginTop, tokens.groupLabelMarginTop, dropdownTokens.groupLabelMarginRight, tokens.groupLabelMarginRight, dropdownTokens.groupLabelMarginBottom, tokens.groupLabelMarginBottom, dropdownTokens.groupLabelMarginLeft, tokens.groupLabelMarginLeft);
|
7
|
-
export var base = mappingOverride;
|
@@ -1,20 +0,0 @@
|
|
1
|
-
[
|
2
|
-
"--plasma-select-group-width",
|
3
|
-
"--plasma-select-group-height",
|
4
|
-
"--plasma-select-group-padding-top",
|
5
|
-
"--plasma-select-group-padding-right",
|
6
|
-
"--plasma-select-group-padding-bottom",
|
7
|
-
"--plasma-select-group-padding-left",
|
8
|
-
"--plasma-select-group-margin-top",
|
9
|
-
"--plasma-select-group-margin-right",
|
10
|
-
"--plasma-select-group-margin-bottom",
|
11
|
-
"--plasma-select-group-margin-left",
|
12
|
-
"--plasma-select-group-label-padding-top",
|
13
|
-
"--plasma-select-group-label-padding-right",
|
14
|
-
"--plasma-select-group-label-padding-bottom",
|
15
|
-
"--plasma-select-group-label-padding-left",
|
16
|
-
"--plasma-select-group-label-margin-top",
|
17
|
-
"--plasma-select-group-label-margin-right",
|
18
|
-
"--plasma-select-group-label-margin-bottom",
|
19
|
-
"--plasma-select-group-label-margin-left"
|
20
|
-
]
|
@@ -1,10 +0,0 @@
|
|
1
|
-
[
|
2
|
-
"--plasma-select-group-background",
|
3
|
-
"--plasma-select-group-label-color",
|
4
|
-
"--plasma-select-group-label-font-family",
|
5
|
-
"--plasma-select-group-label-font-size",
|
6
|
-
"--plasma-select-group-label-font-style",
|
7
|
-
"--plasma-select-group-label-font-weight",
|
8
|
-
"--plasma-select-group-label-letter-spacing",
|
9
|
-
"--plasma-select-group-label-line-height"
|
10
|
-
]
|
@@ -1,23 +0,0 @@
|
|
1
|
-
import { dropdownHeaderRoot } from '../../../Dropdown';
|
2
|
-
import { base as viewCSS } from './variations/_view/base';
|
3
|
-
import { base as sizeCSS } from './variations/_size/base';
|
4
|
-
import { base } from './SelectHeader.styles';
|
5
|
-
export var selectHeaderRoot = dropdownHeaderRoot;
|
6
|
-
export var selectHeaderConfig = {
|
7
|
-
name: 'SelectHeader',
|
8
|
-
tag: 'div',
|
9
|
-
layout: selectHeaderRoot,
|
10
|
-
base: base,
|
11
|
-
variations: {
|
12
|
-
view: {
|
13
|
-
css: viewCSS
|
14
|
-
},
|
15
|
-
size: {
|
16
|
-
css: sizeCSS
|
17
|
-
}
|
18
|
-
},
|
19
|
-
defaults: {
|
20
|
-
view: 'primary',
|
21
|
-
size: 'm'
|
22
|
-
}
|
23
|
-
};
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { css } from 'styled-components';
|
2
|
-
import { tokens } from '../../Select.tokens';
|
3
|
-
import { dropdownTokens } from '../../../Dropdown';
|
4
|
-
|
5
|
-
// NOTE: Необходимое переопределение токенов из компонента DropdownItem т.к. используются его части
|
6
|
-
export var mappingOverride = /*#__PURE__*/css(["", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");"], dropdownTokens.headerBackground, tokens.headerBackground, dropdownTokens.headerWidth, tokens.headerWidth, dropdownTokens.headerHeight, tokens.headerHeight, dropdownTokens.headerPaddingTop, tokens.headerPaddingTop, dropdownTokens.headerPaddingRight, tokens.headerPaddingRight, dropdownTokens.headerPaddingBottom, tokens.headerPaddingBottom, dropdownTokens.headerPaddingLeft, tokens.headerPaddingLeft, dropdownTokens.headerMarginTop, tokens.headerMarginTop, dropdownTokens.headerMarginRight, tokens.headerMarginRight, dropdownTokens.headerMarginBottom, tokens.headerMarginBottom, dropdownTokens.headerMarginLeft, tokens.headerMarginLeft, dropdownTokens.headerFontFamily, tokens.headerFontFamily, dropdownTokens.headerFontSize, tokens.headerFontSize, dropdownTokens.headerFontStyle, tokens.headerFontStyle, dropdownTokens.headerFontWeightBold, tokens.headerFontWeightBold, dropdownTokens.headerFontLetterSpacing, tokens.headerFontLetterSpacing, dropdownTokens.headerFontLineHeight, tokens.headerFontLineHeight);
|
7
|
-
export var base = mappingOverride;
|
@@ -1,12 +0,0 @@
|
|
1
|
-
[
|
2
|
-
"--plasma-select-header-width",
|
3
|
-
"--plasma-select-header-height",
|
4
|
-
"--plasma-select-header-padding-top",
|
5
|
-
"--plasma-select-header-padding-right",
|
6
|
-
"--plasma-select-header-padding-bottom",
|
7
|
-
"--plasma-select-header-padding-left",
|
8
|
-
"--plasma-select-header-margin-top",
|
9
|
-
"--plasma-select-header-margin-right",
|
10
|
-
"--plasma-select-header-margin-bottom",
|
11
|
-
"--plasma-select-header-margin-left"
|
12
|
-
]
|
@@ -1,9 +0,0 @@
|
|
1
|
-
[
|
2
|
-
"--plasma-select-header-background",
|
3
|
-
"--plasma-select-header-font-family",
|
4
|
-
"--plasma-select-header-font-size",
|
5
|
-
"--plasma-select-header-font-style",
|
6
|
-
"--plasma-select-header-letter-spacing",
|
7
|
-
"--plasma-select-header-line-height",
|
8
|
-
"--plasma-select-header-font-weight"
|
9
|
-
]
|
@@ -1,23 +0,0 @@
|
|
1
|
-
import { dropdownItemOldRoot } from '../../../Dropdown';
|
2
|
-
import { base as viewCSS } from './variations/_view/base';
|
3
|
-
import { base as sizeCSS } from './variations/_size/base';
|
4
|
-
import { base } from './SelectItem.styles';
|
5
|
-
export var selectItemRoot = dropdownItemOldRoot;
|
6
|
-
export var selectItemConfig = {
|
7
|
-
name: 'SelectItem',
|
8
|
-
tag: 'div',
|
9
|
-
layout: selectItemRoot,
|
10
|
-
base: base,
|
11
|
-
variations: {
|
12
|
-
view: {
|
13
|
-
css: viewCSS
|
14
|
-
},
|
15
|
-
size: {
|
16
|
-
css: sizeCSS
|
17
|
-
}
|
18
|
-
},
|
19
|
-
defaults: {
|
20
|
-
view: 'primary',
|
21
|
-
size: 'm'
|
22
|
-
}
|
23
|
-
};
|