@salutejs/plasma-new-hope 0.110.0-canary.1307.10059399396.0 → 0.110.1-canary.1233.10062283292.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/components/Accordion/ui/AccordionItem/AccordionItem.js.map +1 -1
- 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 +56 -48
- 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 +74 -66
- 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 +2 -22
- 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 +71 -62
- package/cjs/components/Select/Select.js +265 -193
- 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 +57 -166
- package/cjs/components/Select/Select.tokens.js.map +1 -1
- 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/ui/Inner/Inner.css +110 -0
- package/cjs/components/Select/ui/Inner/Inner.js +82 -0
- package/cjs/components/Select/ui/Inner/Inner.js.map +1 -0
- package/cjs/components/Select/ui/Inner/ui/Item/Item.css +110 -0
- package/cjs/components/Select/ui/Inner/ui/Item/Item.js +97 -0
- package/cjs/components/Select/ui/Inner/ui/Item/Item.js.map +1 -0
- package/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +110 -0
- package/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js.map +1 -0
- package/cjs/components/Select/ui/Inner/ui/Item/Item.styles_y3jg1m.css +9 -0
- package/cjs/components/Select/ui/Target/Target.css +66 -0
- package/cjs/components/Select/ui/Target/Target.js +63 -0
- package/cjs/components/Select/ui/Target/Target.js.map +1 -0
- package/cjs/components/Select/ui/Target/ui/Button/Button.css +33 -0
- package/cjs/components/Select/ui/Target/ui/Button/Button.js +59 -0
- package/cjs/components/Select/ui/Target/ui/Button/Button.js.map +1 -0
- package/cjs/components/Select/ui/Target/ui/Button/Button.styles.js +52 -0
- package/cjs/components/Select/ui/Target/ui/Button/Button.styles.js.map +1 -0
- package/cjs/components/Select/ui/Target/ui/Button/Button.styles_nn6pg.css +5 -0
- package/{es/components/Select/ui/SelectTarget/SelectTarget.css → cjs/components/Select/ui/Target/ui/Textfield/Textfield.css} +13 -7
- package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +113 -0
- package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -0
- package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +113 -0
- package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -0
- package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles_16d02b7.css +12 -0
- package/cjs/components/Select/ui/{SelectChip/SelectChip.css → Target/ui/Textfield/ui/Chip/Chip.css} +1 -1
- package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +36 -0
- package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js.map +1 -0
- package/cjs/components/Select/ui/{SelectChip/SelectChip.styles.js → Target/ui/Textfield/ui/Chip/Chip.styles.js} +5 -8
- package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js.map +1 -0
- package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles_1a752pa.css +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/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 +34 -0
- package/cjs/components/Select/utils/updateAncestors.js.map +1 -0
- package/cjs/components/Select/utils/updateDescendants.js +18 -0
- package/cjs/components/Select/utils/updateDescendants.js.map +1 -0
- package/cjs/components/Select/utils/updateSingleAncestors.js +15 -0
- package/cjs/components/Select/utils/updateSingleAncestors.js.map +1 -0
- 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/index.css +42 -27
- package/cjs/index.js +2 -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/emotion/cjs/components/Button/Button.styles.js +9 -9
- package/emotion/cjs/components/Chip/Chip.tokens.js +2 -0
- package/emotion/cjs/components/Combobox/Combobox.js +6 -6
- package/emotion/cjs/components/Combobox/hooks/index.js +14 -1
- package/emotion/cjs/components/Combobox/ui/ComboboxTarget/ComboboxTarget.js +4 -5
- package/emotion/cjs/components/Combobox/utils/index.js +105 -1
- package/emotion/cjs/components/Dropdown/Dropdown.tokens.js +32 -18
- package/emotion/cjs/components/Dropdown/hooks/useKeyboardNavigation.js +63 -24
- package/emotion/cjs/components/Pagination/Pagination.js +12 -5
- package/emotion/cjs/components/Pagination/Pagination.styles.js +8 -8
- package/emotion/cjs/components/Pagination/Pagination.tokens.js +9 -11
- package/emotion/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +22 -35
- package/emotion/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +6 -12
- package/emotion/cjs/components/Select/Select.js +255 -187
- package/emotion/cjs/components/Select/Select.styles.js +29 -25
- package/emotion/cjs/components/Select/Select.tokens.js +80 -167
- package/emotion/cjs/components/Select/hooks/useKeyboardNavigation.js +355 -0
- package/emotion/cjs/components/Select/hooks/usePathMaps.js +33 -0
- package/emotion/cjs/components/Select/index.js +1 -25
- package/emotion/cjs/components/Select/reducers/focusedChipIndexReducer.js +38 -0
- package/emotion/cjs/components/Select/reducers/focusedPathReducer.js +40 -0
- package/emotion/cjs/components/Select/reducers/index.js +38 -0
- package/emotion/cjs/components/Select/reducers/pathReducer.js +44 -0
- package/emotion/cjs/components/Select/ui/InfiniteLoader/InfiniteLoader.js +18 -0
- package/emotion/cjs/components/Select/ui/InfiniteLoader/InfiniteLoader.styles.js +26 -0
- package/emotion/cjs/components/Select/ui/Inner/Inner.js +80 -0
- package/emotion/cjs/components/Select/ui/Inner/ui/Item/Item.js +95 -0
- package/emotion/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +92 -0
- package/emotion/cjs/components/Select/ui/Inner/ui/index.js +16 -0
- package/emotion/cjs/components/Select/ui/Target/Target.js +61 -0
- package/emotion/cjs/components/Select/ui/Target/ui/Button/Button.js +57 -0
- package/emotion/cjs/components/Select/ui/Target/ui/Button/Button.styles.js +44 -0
- package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +111 -0
- package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +84 -0
- package/{styled-components/cjs/components/Select/ui/SelectChip/SelectChip.js → emotion/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js} +24 -27
- package/emotion/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +22 -0
- package/emotion/cjs/components/Select/ui/Target/ui/Textfield/ui/index.js +16 -0
- package/emotion/cjs/components/Select/ui/Target/ui/index.js +27 -0
- package/emotion/cjs/components/Select/ui/index.js +33 -72
- package/emotion/cjs/components/Select/utils/getButtonLabel.js +43 -0
- package/emotion/cjs/components/Select/utils/getCorrectHeight.js +12 -0
- package/emotion/cjs/components/Select/utils/index.js +44 -102
- package/emotion/cjs/components/Select/utils/initialItemsTransform.js +18 -0
- package/emotion/cjs/components/Select/utils/sizeToIconSize.js +10 -0
- package/emotion/cjs/components/Select/utils/updateAncestors.js +33 -0
- package/emotion/cjs/components/Select/utils/updateDescendants.js +17 -0
- package/emotion/cjs/components/Select/utils/updateSingleAncestors.js +14 -0
- package/emotion/cjs/components/_Icon/Icon.assets/DisclosureDownCentered.js +32 -0
- package/emotion/cjs/components/_Icon/Icon.assets/DisclosureRightCentered.js +30 -0
- package/emotion/cjs/components/_Icon/Icons/IconDisclosureDownCentered.js +22 -0
- package/emotion/cjs/components/_Icon/Icons/IconDisclosureRightCentered.js +22 -0
- package/emotion/cjs/components/_Icon/index.js +14 -0
- package/emotion/cjs/examples/_helpers.js +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Pagination/Pagination.config.js +12 -12
- package/emotion/cjs/examples/plasma_b2c/components/Pagination/Pagination.stories.tsx +1 -0
- package/emotion/cjs/examples/plasma_b2c/components/Select/Select.config.js +21 -11
- package/emotion/cjs/examples/plasma_b2c/components/Select/Select.js +5 -15
- package/emotion/cjs/examples/plasma_b2c/components/Select/Select.stories.tsx +753 -204
- package/emotion/cjs/examples/plasma_b2c/components/Select/style.css +36 -0
- package/emotion/cjs/examples/plasma_web/components/Pagination/Pagination.config.js +12 -12
- package/emotion/cjs/examples/plasma_web/components/Select/Select.config.js +21 -11
- package/emotion/cjs/examples/plasma_web/components/Select/Select.js +5 -15
- package/emotion/cjs/examples/plasma_web/components/Select/Select.stories.tsx +753 -200
- package/emotion/cjs/examples/plasma_web/components/Select/style.css +37 -0
- package/emotion/cjs/utils/index.js +9 -1
- package/emotion/cjs/utils/isEmpty.js +47 -0
- package/emotion/es/components/Button/Button.styles.js +9 -9
- package/emotion/es/components/Chip/Chip.tokens.js +2 -0
- package/emotion/es/components/Combobox/Combobox.js +2 -2
- package/emotion/es/components/Combobox/hooks/index.js +2 -1
- package/emotion/es/components/Combobox/ui/ComboboxTarget/ComboboxTarget.js +1 -2
- package/emotion/es/components/Combobox/utils/index.js +105 -1
- package/emotion/es/components/Dropdown/Dropdown.tokens.js +32 -18
- package/emotion/es/components/Dropdown/hooks/useKeyboardNavigation.js +63 -24
- package/emotion/es/components/Pagination/Pagination.js +12 -5
- package/emotion/es/components/Pagination/Pagination.styles.js +8 -8
- package/emotion/es/components/Pagination/Pagination.tokens.js +9 -11
- package/emotion/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +22 -33
- package/emotion/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +6 -12
- package/emotion/es/components/Select/Select.js +252 -185
- package/emotion/es/components/Select/Select.styles.js +29 -25
- package/emotion/es/components/Select/Select.tokens.js +79 -166
- package/emotion/es/components/Select/hooks/useKeyboardNavigation.js +349 -0
- package/emotion/es/components/Select/hooks/usePathMaps.js +27 -0
- package/emotion/es/components/Select/index.js +1 -2
- package/emotion/es/components/Select/reducers/focusedChipIndexReducer.js +32 -0
- package/emotion/es/components/Select/reducers/focusedPathReducer.js +34 -0
- package/emotion/es/components/Select/reducers/index.js +3 -0
- package/emotion/es/components/Select/reducers/pathReducer.js +38 -0
- package/emotion/es/components/Select/ui/InfiniteLoader/InfiniteLoader.js +11 -0
- package/emotion/es/components/Select/ui/InfiniteLoader/InfiniteLoader.styles.js +19 -0
- package/emotion/es/components/Select/ui/Inner/Inner.js +73 -0
- package/emotion/es/components/Select/ui/Inner/ui/Item/Item.js +86 -0
- package/emotion/es/components/Select/ui/Inner/ui/Item/Item.styles.js +85 -0
- package/emotion/es/components/Select/ui/Inner/ui/index.js +1 -0
- package/emotion/es/components/Select/ui/Target/Target.js +54 -0
- package/emotion/es/components/Select/ui/Target/ui/Button/Button.js +50 -0
- package/emotion/es/components/Select/ui/Target/ui/Button/Button.styles.js +37 -0
- package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.js +104 -0
- package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +77 -0
- package/emotion/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +28 -0
- package/emotion/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +15 -0
- package/emotion/es/components/Select/ui/Target/ui/Textfield/ui/index.js +1 -0
- package/emotion/es/components/Select/ui/Target/ui/index.js +2 -0
- package/emotion/es/components/Select/ui/index.js +3 -6
- package/emotion/es/components/Select/utils/getButtonLabel.js +37 -0
- package/emotion/es/components/Select/utils/getCorrectHeight.js +6 -0
- package/emotion/es/components/Select/utils/index.js +7 -106
- package/emotion/es/components/Select/utils/initialItemsTransform.js +12 -0
- package/emotion/es/components/Select/utils/sizeToIconSize.js +4 -0
- package/emotion/es/components/Select/utils/updateAncestors.js +27 -0
- package/emotion/es/components/Select/utils/updateDescendants.js +11 -0
- package/emotion/es/components/Select/utils/updateSingleAncestors.js +8 -0
- package/emotion/es/components/_Icon/Icon.assets/DisclosureDownCentered.js +25 -0
- package/emotion/es/components/_Icon/Icon.assets/DisclosureRightCentered.js +23 -0
- package/emotion/es/components/_Icon/Icons/IconDisclosureDownCentered.js +15 -0
- package/emotion/es/components/_Icon/Icons/IconDisclosureRightCentered.js +15 -0
- package/emotion/es/components/_Icon/index.js +2 -0
- package/emotion/es/examples/_helpers.js +1 -1
- package/emotion/es/examples/plasma_b2c/components/Pagination/Pagination.config.js +12 -12
- package/emotion/es/examples/plasma_b2c/components/Pagination/Pagination.stories.tsx +1 -0
- package/emotion/es/examples/plasma_b2c/components/Select/Select.config.js +21 -11
- package/emotion/es/examples/plasma_b2c/components/Select/Select.js +3 -12
- package/emotion/es/examples/plasma_b2c/components/Select/Select.stories.tsx +753 -204
- package/emotion/es/examples/plasma_b2c/components/Select/style.css +36 -0
- package/emotion/es/examples/plasma_web/components/Pagination/Pagination.config.js +12 -12
- package/emotion/es/examples/plasma_web/components/Select/Select.config.js +21 -11
- package/emotion/es/examples/plasma_web/components/Select/Select.js +3 -12
- package/emotion/es/examples/plasma_web/components/Select/Select.stories.tsx +753 -200
- package/emotion/es/examples/plasma_web/components/Select/style.css +37 -0
- package/emotion/es/utils/index.js +1 -0
- package/emotion/es/utils/isEmpty.js +42 -0
- package/es/components/Accordion/ui/AccordionItem/AccordionItem.js.map +1 -1
- 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 +56 -48
- 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 +74 -66
- 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 +3 -21
- 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 +71 -62
- package/es/components/Select/Select.js +264 -193
- 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 +57 -166
- package/es/components/Select/Select.tokens.js.map +1 -1
- 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/ui/Inner/Inner.css +110 -0
- package/es/components/Select/ui/Inner/Inner.js +78 -0
- package/es/components/Select/ui/Inner/Inner.js.map +1 -0
- package/es/components/Select/ui/Inner/ui/Item/Item.css +110 -0
- package/es/components/Select/ui/Inner/ui/Item/Item.js +93 -0
- package/es/components/Select/ui/Inner/ui/Item/Item.js.map +1 -0
- package/es/components/Select/ui/Inner/ui/Item/Item.styles.js +98 -0
- package/es/components/Select/ui/Inner/ui/Item/Item.styles.js.map +1 -0
- package/es/components/Select/ui/Inner/ui/Item/Item.styles_y3jg1m.css +9 -0
- package/es/components/Select/ui/Target/Target.css +66 -0
- package/es/components/Select/ui/Target/Target.js +59 -0
- package/es/components/Select/ui/Target/Target.js.map +1 -0
- package/es/components/Select/ui/Target/ui/Button/Button.css +33 -0
- package/es/components/Select/ui/Target/ui/Button/Button.js +55 -0
- package/es/components/Select/ui/Target/ui/Button/Button.js.map +1 -0
- package/es/components/Select/ui/Target/ui/Button/Button.styles.js +44 -0
- package/es/components/Select/ui/Target/ui/Button/Button.styles.js.map +1 -0
- package/es/components/Select/ui/Target/ui/Button/Button.styles_nn6pg.css +5 -0
- package/{cjs/components/Select/ui/SelectTarget/SelectTarget.css → es/components/Select/ui/Target/ui/Textfield/Textfield.css} +13 -7
- package/es/components/Select/ui/Target/ui/Textfield/Textfield.js +109 -0
- package/es/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -0
- package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +98 -0
- package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -0
- package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles_16d02b7.css +12 -0
- package/es/components/Select/ui/{SelectChip/SelectChip.css → Target/ui/Textfield/ui/Chip/Chip.css} +1 -1
- package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +32 -0
- package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js.map +1 -0
- package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +19 -0
- package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js.map +1 -0
- package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles_1a752pa.css +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/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 +30 -0
- package/es/components/Select/utils/updateAncestors.js.map +1 -0
- package/es/components/Select/utils/updateDescendants.js +14 -0
- package/es/components/Select/utils/updateDescendants.js.map +1 -0
- package/es/components/Select/utils/updateSingleAncestors.js +11 -0
- package/es/components/Select/utils/updateSingleAncestors.js.map +1 -0
- 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/index.css +42 -27
- package/es/index.js +2 -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 +255 -187
- package/styled-components/cjs/components/Select/Select.styles.js +28 -23
- package/styled-components/cjs/components/Select/Select.tokens.js +80 -167
- 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 +1 -25
- 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/ui/InfiniteLoader/InfiniteLoader.js +18 -0
- package/styled-components/cjs/components/Select/ui/InfiniteLoader/InfiniteLoader.styles.js +24 -0
- package/styled-components/cjs/components/Select/ui/Inner/Inner.js +80 -0
- package/styled-components/cjs/components/Select/ui/Inner/ui/Item/Item.js +95 -0
- package/styled-components/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +66 -0
- package/styled-components/cjs/components/Select/ui/Inner/ui/index.js +16 -0
- package/styled-components/cjs/components/Select/ui/Target/Target.js +61 -0
- package/styled-components/cjs/components/Select/ui/Target/ui/Button/Button.js +57 -0
- package/styled-components/cjs/components/Select/ui/Target/ui/Button/Button.styles.js +30 -0
- package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +111 -0
- package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +63 -0
- package/{emotion/cjs/components/Select/ui/SelectChip/SelectChip.js → styled-components/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js} +24 -27
- package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +21 -0
- package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/ui/index.js +16 -0
- package/styled-components/cjs/components/Select/ui/Target/ui/index.js +27 -0
- package/styled-components/cjs/components/Select/ui/index.js +33 -72
- 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/index.js +44 -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 +33 -0
- package/styled-components/cjs/components/Select/utils/updateDescendants.js +17 -0
- package/styled-components/cjs/components/Select/utils/updateSingleAncestors.js +14 -0
- 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 +21 -11
- package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.js +5 -15
- package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.stories.tsx +753 -204
- package/styled-components/cjs/examples/plasma_b2c/components/Select/style.css +36 -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 +21 -11
- package/styled-components/cjs/examples/plasma_web/components/Select/Select.js +5 -15
- package/styled-components/cjs/examples/plasma_web/components/Select/Select.stories.tsx +753 -200
- package/styled-components/cjs/examples/plasma_web/components/Select/style.css +37 -0
- package/styled-components/cjs/utils/index.js +9 -1
- 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 +252 -185
- package/styled-components/es/components/Select/Select.styles.js +25 -21
- package/styled-components/es/components/Select/Select.tokens.js +79 -166
- 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 +1 -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/ui/InfiniteLoader/InfiniteLoader.js +11 -0
- package/styled-components/es/components/Select/ui/InfiniteLoader/InfiniteLoader.styles.js +17 -0
- package/styled-components/es/components/Select/ui/Inner/Inner.js +73 -0
- package/styled-components/es/components/Select/ui/Inner/ui/Item/Item.js +86 -0
- package/styled-components/es/components/Select/ui/Inner/ui/Item/Item.styles.js +59 -0
- package/styled-components/es/components/Select/ui/Inner/ui/index.js +1 -0
- package/styled-components/es/components/Select/ui/Target/Target.js +54 -0
- package/styled-components/es/components/Select/ui/Target/ui/Button/Button.js +50 -0
- package/styled-components/es/components/Select/ui/Target/ui/Button/Button.styles.js +23 -0
- package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.js +104 -0
- package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +56 -0
- package/styled-components/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +28 -0
- package/styled-components/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +14 -0
- package/styled-components/es/components/Select/ui/Target/ui/Textfield/ui/index.js +1 -0
- package/styled-components/es/components/Select/ui/Target/ui/index.js +2 -0
- package/styled-components/es/components/Select/ui/index.js +3 -6
- 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/index.js +7 -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 +27 -0
- package/styled-components/es/components/Select/utils/updateDescendants.js +11 -0
- package/styled-components/es/components/Select/utils/updateSingleAncestors.js +8 -0
- 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 +21 -11
- 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 +753 -204
- package/styled-components/es/examples/plasma_b2c/components/Select/style.css +36 -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 +21 -11
- 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 +753 -200
- package/styled-components/es/examples/plasma_web/components/Select/style.css +37 -0
- package/styled-components/es/utils/index.js +1 -0
- package/styled-components/es/utils/isEmpty.js +42 -0
- package/types/components/Accordion/ui/AccordionItem/AccordionItem.d.ts +2 -2
- package/types/components/Accordion/ui/AccordionItem/AccordionItem.d.ts.map +1 -1
- 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/Combobox.types.d.ts +21 -0
- package/types/components/Combobox/Combobox.types.d.ts.map +1 -1
- package/types/components/Combobox/hooks/index.d.ts +1 -0
- package/types/components/Combobox/hooks/index.d.ts.map +1 -1
- package/types/components/{Select → Combobox}/hooks/useKeyNavigation.d.ts +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/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 +78 -165
- package/types/components/Select/Select.tokens.d.ts.map +1 -1
- package/types/components/Select/Select.types.d.ts +104 -67
- package/types/components/Select/Select.types.d.ts.map +1 -1
- 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 +2 -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/ui/InfiniteLoader/InfiniteLoader.d.ts +6 -0
- package/types/components/Select/ui/InfiniteLoader/InfiniteLoader.d.ts.map +1 -0
- package/types/components/Select/ui/InfiniteLoader/InfiniteLoader.styles.d.ts +29 -0
- package/types/components/Select/ui/InfiniteLoader/InfiniteLoader.styles.d.ts.map +1 -0
- package/types/components/Select/ui/Inner/Inner.d.ts +4 -0
- package/types/components/Select/ui/Inner/Inner.d.ts.map +1 -0
- package/types/components/Select/ui/Inner/Inner.type.d.ts +13 -0
- package/types/components/Select/ui/Inner/Inner.type.d.ts.map +1 -0
- package/types/components/Select/ui/Inner/ui/Item/Item.d.ts +4 -0
- package/types/components/Select/ui/Inner/ui/Item/Item.d.ts.map +1 -0
- package/types/components/Select/ui/Inner/ui/Item/Item.styles.d.ts +19 -0
- package/types/components/Select/ui/Inner/ui/Item/Item.styles.d.ts.map +1 -0
- package/types/components/Select/ui/Inner/ui/Item/Item.types.d.ts +42 -0
- package/types/components/Select/ui/Inner/ui/Item/Item.types.d.ts.map +1 -0
- package/types/components/Select/ui/Inner/ui/index.d.ts +2 -0
- package/types/components/Select/ui/Inner/ui/index.d.ts.map +1 -0
- package/types/components/Select/ui/Target/Target.d.ts +4 -0
- package/types/components/Select/ui/Target/Target.d.ts.map +1 -0
- package/types/components/Select/ui/Target/Target.types.d.ts +15 -0
- package/types/components/Select/ui/Target/Target.types.d.ts.map +1 -0
- package/types/components/Select/ui/Target/ui/Button/Button.d.ts +4 -0
- package/types/components/Select/ui/Target/ui/Button/Button.d.ts.map +1 -0
- package/types/components/Select/ui/{SelectTarget/SelectTarget.styles.d.ts → Target/ui/Button/Button.styles.d.ts} +8 -13
- package/types/components/Select/ui/Target/ui/Button/Button.styles.d.ts.map +1 -0
- package/types/components/Select/ui/Target/ui/Button/Button.types.d.ts +4 -0
- package/types/components/Select/ui/Target/ui/Button/Button.types.d.ts.map +1 -0
- package/types/components/Select/ui/Target/ui/Textfield/Textfield.d.ts +4 -0
- package/types/components/Select/ui/Target/ui/Textfield/Textfield.d.ts.map +1 -0
- package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts +60 -0
- package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts.map +1 -0
- package/types/components/Select/ui/Target/ui/Textfield/Textfield.types.d.ts +4 -0
- package/types/components/Select/ui/Target/ui/Textfield/Textfield.types.d.ts.map +1 -0
- package/types/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.d.ts +9 -0
- package/types/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.d.ts.map +1 -0
- package/types/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.d.ts +3 -0
- package/types/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.d.ts.map +1 -0
- package/types/components/Select/ui/Target/ui/Textfield/ui/index.d.ts +2 -0
- package/types/components/Select/ui/Target/ui/Textfield/ui/index.d.ts.map +1 -0
- package/types/components/Select/ui/Target/ui/index.d.ts +3 -0
- package/types/components/Select/ui/Target/ui/index.d.ts.map +1 -0
- package/types/components/Select/ui/index.d.ts +3 -6
- package/types/components/Select/ui/index.d.ts.map +1 -1
- 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/index.d.ts +7 -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/_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 +3 -3
- package/types/engines/common.d.ts.map +1 -1
- package/types/engines/types.d.ts +3 -3
- package/types/engines/types.d.ts.map +1 -1
- package/types/examples/_helpers.d.ts +2 -2
- package/types/examples/_helpers.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 +69 -55
- package/types/examples/plasma_b2c/components/Select/Select.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 +69 -55
- package/types/examples/plasma_web/components/Select/Select.d.ts.map +1 -1
- 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/emotion/cjs/components/Select/Select.template-doc.mdx +0 -115
- package/emotion/cjs/components/Select/hooks/index.js +0 -12
- package/emotion/cjs/components/Select/ui/SelectChip/SelectChip.styles.js +0 -26
- package/emotion/cjs/components/Select/ui/SelectDivider/SelectDivider.js +0 -29
- package/emotion/cjs/components/Select/ui/SelectDivider/SelectDivider.styles.js +0 -12
- package/emotion/cjs/components/Select/ui/SelectDivider/variations/_size/base.js +0 -8
- package/emotion/cjs/components/Select/ui/SelectDivider/variations/_size/tokens.json +0 -8
- package/emotion/cjs/components/Select/ui/SelectDivider/variations/_view/base.js +0 -8
- package/emotion/cjs/components/Select/ui/SelectDivider/variations/_view/tokens.json +0 -1
- package/emotion/cjs/components/Select/ui/SelectFooter/SelectFooter.js +0 -29
- package/emotion/cjs/components/Select/ui/SelectFooter/SelectFooter.styles.js +0 -12
- package/emotion/cjs/components/Select/ui/SelectFooter/variations/_size/base.js +0 -8
- package/emotion/cjs/components/Select/ui/SelectFooter/variations/_size/tokens.json +0 -12
- package/emotion/cjs/components/Select/ui/SelectFooter/variations/_view/base.js +0 -8
- package/emotion/cjs/components/Select/ui/SelectFooter/variations/_view/tokens.json +0 -9
- package/emotion/cjs/components/Select/ui/SelectGroup/SelectGroup.js +0 -29
- package/emotion/cjs/components/Select/ui/SelectGroup/SelectGroup.styles.js +0 -12
- package/emotion/cjs/components/Select/ui/SelectGroup/variations/_size/base.js +0 -8
- package/emotion/cjs/components/Select/ui/SelectGroup/variations/_size/tokens.json +0 -20
- package/emotion/cjs/components/Select/ui/SelectGroup/variations/_view/base.js +0 -8
- package/emotion/cjs/components/Select/ui/SelectGroup/variations/_view/tokens.json +0 -10
- package/emotion/cjs/components/Select/ui/SelectHeader/SelectHeader.js +0 -29
- package/emotion/cjs/components/Select/ui/SelectHeader/SelectHeader.styles.js +0 -12
- package/emotion/cjs/components/Select/ui/SelectHeader/variations/_size/base.js +0 -8
- package/emotion/cjs/components/Select/ui/SelectHeader/variations/_size/tokens.json +0 -12
- package/emotion/cjs/components/Select/ui/SelectHeader/variations/_view/base.js +0 -8
- package/emotion/cjs/components/Select/ui/SelectHeader/variations/_view/tokens.json +0 -9
- package/emotion/cjs/components/Select/ui/SelectItem/SelectItem.js +0 -29
- package/emotion/cjs/components/Select/ui/SelectItem/SelectItem.styles.js +0 -13
- package/emotion/cjs/components/Select/ui/SelectItem/variations/_size/base.js +0 -8
- package/emotion/cjs/components/Select/ui/SelectItem/variations/_size/tokens.json +0 -19
- package/emotion/cjs/components/Select/ui/SelectItem/variations/_view/base.js +0 -8
- package/emotion/cjs/components/Select/ui/SelectItem/variations/_view/tokens.json +0 -9
- package/emotion/cjs/components/Select/ui/SelectTarget/SelectTarget.js +0 -157
- package/emotion/cjs/components/Select/ui/SelectTarget/SelectTarget.styles.js +0 -75
- package/emotion/cjs/components/Select/variations/_target/base.js +0 -8
- package/emotion/cjs/components/Select/variations/_target/tokens.json +0 -1
- package/emotion/es/components/Select/Select.template-doc.mdx +0 -115
- package/emotion/es/components/Select/hooks/index.js +0 -1
- package/emotion/es/components/Select/ui/SelectChip/SelectChip.js +0 -31
- package/emotion/es/components/Select/ui/SelectChip/SelectChip.styles.js +0 -20
- package/emotion/es/components/Select/ui/SelectDivider/SelectDivider.js +0 -23
- package/emotion/es/components/Select/ui/SelectDivider/SelectDivider.styles.js +0 -7
- package/emotion/es/components/Select/ui/SelectDivider/variations/_size/base.js +0 -2
- package/emotion/es/components/Select/ui/SelectDivider/variations/_size/tokens.json +0 -8
- package/emotion/es/components/Select/ui/SelectDivider/variations/_view/base.js +0 -2
- package/emotion/es/components/Select/ui/SelectDivider/variations/_view/tokens.json +0 -1
- package/emotion/es/components/Select/ui/SelectFooter/SelectFooter.js +0 -23
- package/emotion/es/components/Select/ui/SelectFooter/SelectFooter.styles.js +0 -7
- package/emotion/es/components/Select/ui/SelectFooter/variations/_size/base.js +0 -2
- package/emotion/es/components/Select/ui/SelectFooter/variations/_size/tokens.json +0 -12
- package/emotion/es/components/Select/ui/SelectFooter/variations/_view/base.js +0 -2
- package/emotion/es/components/Select/ui/SelectFooter/variations/_view/tokens.json +0 -9
- package/emotion/es/components/Select/ui/SelectGroup/SelectGroup.js +0 -23
- package/emotion/es/components/Select/ui/SelectGroup/SelectGroup.styles.js +0 -7
- package/emotion/es/components/Select/ui/SelectGroup/variations/_size/base.js +0 -2
- package/emotion/es/components/Select/ui/SelectGroup/variations/_size/tokens.json +0 -20
- package/emotion/es/components/Select/ui/SelectGroup/variations/_view/base.js +0 -2
- package/emotion/es/components/Select/ui/SelectGroup/variations/_view/tokens.json +0 -10
- package/emotion/es/components/Select/ui/SelectHeader/SelectHeader.js +0 -23
- package/emotion/es/components/Select/ui/SelectHeader/SelectHeader.styles.js +0 -7
- package/emotion/es/components/Select/ui/SelectHeader/variations/_size/base.js +0 -2
- package/emotion/es/components/Select/ui/SelectHeader/variations/_size/tokens.json +0 -12
- package/emotion/es/components/Select/ui/SelectHeader/variations/_view/base.js +0 -2
- package/emotion/es/components/Select/ui/SelectHeader/variations/_view/tokens.json +0 -9
- package/emotion/es/components/Select/ui/SelectItem/SelectItem.js +0 -23
- package/emotion/es/components/Select/ui/SelectItem/SelectItem.styles.js +0 -8
- package/emotion/es/components/Select/ui/SelectItem/variations/_size/base.js +0 -2
- package/emotion/es/components/Select/ui/SelectItem/variations/_size/tokens.json +0 -19
- package/emotion/es/components/Select/ui/SelectItem/variations/_view/base.js +0 -2
- package/emotion/es/components/Select/ui/SelectItem/variations/_view/tokens.json +0 -9
- package/emotion/es/components/Select/ui/SelectTarget/SelectTarget.js +0 -148
- package/emotion/es/components/Select/ui/SelectTarget/SelectTarget.styles.js +0 -68
- package/emotion/es/components/Select/variations/_target/base.js +0 -2
- package/emotion/es/components/Select/variations/_target/tokens.json +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/SelectGroup.type.js +0 -5
- 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/SelectHeader.type.js +0 -5
- 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/SelectItem.type.js +0 -5
- 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/SelectTarget/SelectTarget.types.js +0 -5
- 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/SelectGroup.type.js +0 -1
- 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/SelectHeader.type.js +0 -1
- 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/SelectItem.type.js +0 -1
- 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/SelectTarget/SelectTarget.types.js +0 -1
- 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/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/emotion/cjs/components/{Select → Combobox}/hooks/useKeyNavigation.js +0 -0
- /package/emotion/cjs/components/Select/ui/{SelectChip/SelectChip.types.js → Inner/Inner.type.js} +0 -0
- /package/emotion/cjs/components/Select/ui/{SelectDivider/SelectDivider.types.js → Inner/ui/Item/Item.types.js} +0 -0
- /package/emotion/cjs/components/Select/ui/{SelectFooter/SelectFooter.type.js → Target/Target.types.js} +0 -0
- /package/emotion/cjs/components/Select/ui/{SelectGroup/SelectGroup.type.js → Target/ui/Button/Button.types.js} +0 -0
- /package/emotion/cjs/components/Select/ui/{SelectHeader/SelectHeader.type.js → Target/ui/Textfield/Textfield.types.js} +0 -0
- /package/emotion/es/components/{Select → Combobox}/hooks/useKeyNavigation.js +0 -0
- /package/emotion/es/components/Select/ui/{SelectChip/SelectChip.types.js → Inner/Inner.type.js} +0 -0
- /package/emotion/es/components/Select/ui/{SelectDivider/SelectDivider.types.js → Inner/ui/Item/Item.types.js} +0 -0
- /package/emotion/es/components/Select/ui/{SelectFooter/SelectFooter.type.js → Target/Target.types.js} +0 -0
- /package/emotion/es/components/Select/ui/{SelectGroup/SelectGroup.type.js → Target/ui/Button/Button.types.js} +0 -0
- /package/emotion/es/components/Select/ui/{SelectHeader/SelectHeader.type.js → Target/ui/Textfield/Textfield.types.js} +0 -0
- /package/es/components/{Select → Combobox}/hooks/useKeyNavigation.js +0 -0
- /package/styled-components/cjs/components/{Select → Combobox}/hooks/useKeyNavigation.js +0 -0
- /package/{emotion/cjs/components/Select/ui/SelectItem/SelectItem.type.js → styled-components/cjs/components/Select/ui/Inner/Inner.type.js} +0 -0
- /package/{emotion/cjs/components/Select/ui/SelectTarget/SelectTarget.types.js → styled-components/cjs/components/Select/ui/Inner/ui/Item/Item.types.js} +0 -0
- /package/styled-components/cjs/components/Select/ui/{SelectChip/SelectChip.types.js → Target/Target.types.js} +0 -0
- /package/styled-components/cjs/components/Select/ui/{SelectDivider/SelectDivider.types.js → Target/ui/Button/Button.types.js} +0 -0
- /package/styled-components/cjs/components/Select/ui/{SelectFooter/SelectFooter.type.js → Target/ui/Textfield/Textfield.types.js} +0 -0
- /package/styled-components/es/components/{Select → Combobox}/hooks/useKeyNavigation.js +0 -0
- /package/{emotion/es/components/Select/ui/SelectItem/SelectItem.type.js → styled-components/es/components/Select/ui/Inner/Inner.type.js} +0 -0
- /package/{emotion/es/components/Select/ui/SelectTarget/SelectTarget.types.js → styled-components/es/components/Select/ui/Inner/ui/Item/Item.types.js} +0 -0
- /package/styled-components/es/components/Select/ui/{SelectChip/SelectChip.types.js → Target/Target.types.js} +0 -0
- /package/styled-components/es/components/Select/ui/{SelectDivider/SelectDivider.types.js → Target/ui/Button/Button.types.js} +0 -0
- /package/styled-components/es/components/Select/ui/{SelectFooter/SelectFooter.type.js → Target/ui/Textfield/Textfield.types.js} +0 -0
@@ -3,75 +3,36 @@
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
4
4
|
value: true
|
5
5
|
});
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
Object.
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
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");
|
6
|
+
var _InfiniteLoader = /*#__PURE__*/require("./InfiniteLoader/InfiniteLoader");
|
7
|
+
Object.keys(_InfiniteLoader).forEach(function (key) {
|
8
|
+
if (key === "default" || key === "__esModule") return;
|
9
|
+
if (key in exports && exports[key] === _InfiniteLoader[key]) return;
|
10
|
+
Object.defineProperty(exports, key, {
|
11
|
+
enumerable: true,
|
12
|
+
get: function get() {
|
13
|
+
return _InfiniteLoader[key];
|
14
|
+
}
|
15
|
+
});
|
16
|
+
});
|
17
|
+
var _Inner = /*#__PURE__*/require("./Inner/Inner");
|
18
|
+
Object.keys(_Inner).forEach(function (key) {
|
19
|
+
if (key === "default" || key === "__esModule") return;
|
20
|
+
if (key in exports && exports[key] === _Inner[key]) return;
|
21
|
+
Object.defineProperty(exports, key, {
|
22
|
+
enumerable: true,
|
23
|
+
get: function get() {
|
24
|
+
return _Inner[key];
|
25
|
+
}
|
26
|
+
});
|
27
|
+
});
|
28
|
+
var _Target = /*#__PURE__*/require("./Target/Target");
|
29
|
+
Object.keys(_Target).forEach(function (key) {
|
30
|
+
if (key === "default" || key === "__esModule") return;
|
31
|
+
if (key in exports && exports[key] === _Target[key]) return;
|
32
|
+
Object.defineProperty(exports, key, {
|
33
|
+
enumerable: true,
|
34
|
+
get: function get() {
|
35
|
+
return _Target[key];
|
36
|
+
}
|
37
|
+
});
|
38
|
+
});
|
@@ -0,0 +1,43 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.getButtonLabel = void 0;
|
7
|
+
var _utils = /*#__PURE__*/require("../../../utils");
|
8
|
+
var getLabel = function getLabel(_ref) {
|
9
|
+
var renderValue = _ref.renderValue,
|
10
|
+
value = _ref.value,
|
11
|
+
valueToItemMap = _ref.valueToItemMap;
|
12
|
+
var _ref2 = valueToItemMap.get(value === null || value === void 0 ? void 0 : value.toString()),
|
13
|
+
label = _ref2.label;
|
14
|
+
return renderValue ? renderValue(value, label) : label;
|
15
|
+
};
|
16
|
+
var getButtonLabel = exports.getButtonLabel = function getButtonLabel(_ref3) {
|
17
|
+
var value = _ref3.value,
|
18
|
+
label = _ref3.label,
|
19
|
+
isTargetAmount = _ref3.isTargetAmount,
|
20
|
+
multiselect = _ref3.multiselect,
|
21
|
+
valueToItemMap = _ref3.valueToItemMap,
|
22
|
+
renderValue = _ref3.renderValue;
|
23
|
+
if ((0, _utils.isEmpty)(value)) {
|
24
|
+
return label;
|
25
|
+
}
|
26
|
+
if (multiselect && isTargetAmount) {
|
27
|
+
return "\u0412\u044B\u0431\u0440\u0430\u043D\u043E: ".concat(value.length);
|
28
|
+
}
|
29
|
+
if (multiselect && Array.isArray(value)) {
|
30
|
+
return value.map(function (itemValue) {
|
31
|
+
return getLabel({
|
32
|
+
renderValue: renderValue,
|
33
|
+
value: itemValue,
|
34
|
+
valueToItemMap: valueToItemMap
|
35
|
+
});
|
36
|
+
}).join(', ');
|
37
|
+
}
|
38
|
+
return getLabel({
|
39
|
+
renderValue: renderValue,
|
40
|
+
value: value,
|
41
|
+
valueToItemMap: valueToItemMap
|
42
|
+
});
|
43
|
+
};
|
@@ -0,0 +1,12 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.getCorrectHeight = void 0;
|
7
|
+
var getCorrectHeight = exports.getCorrectHeight = function getCorrectHeight(listHeight) {
|
8
|
+
if (Number.isNaN(Number(listHeight))) {
|
9
|
+
return listHeight.toString();
|
10
|
+
}
|
11
|
+
return "".concat(listHeight, "rem");
|
12
|
+
};
|
@@ -3,110 +3,52 @@
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
4
4
|
value: true
|
5
5
|
});
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
11
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
12
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
13
|
-
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
14
|
-
var getNewSelected = exports.getNewSelected = function getNewSelected(selected, newValue, type) {
|
15
|
-
if (newValue === undefined || newValue === null) {
|
16
|
-
return newValue;
|
6
|
+
Object.defineProperty(exports, "getButtonLabel", {
|
7
|
+
enumerable: true,
|
8
|
+
get: function get() {
|
9
|
+
return _getButtonLabel.getButtonLabel;
|
17
10
|
}
|
18
|
-
|
19
|
-
|
11
|
+
});
|
12
|
+
Object.defineProperty(exports, "getCorrectHeight", {
|
13
|
+
enumerable: true,
|
14
|
+
get: function get() {
|
15
|
+
return _getCorrectHeight.getCorrectHeight;
|
20
16
|
}
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
set.add(newValue);
|
17
|
+
});
|
18
|
+
Object.defineProperty(exports, "initialItemsTransform", {
|
19
|
+
enumerable: true,
|
20
|
+
get: function get() {
|
21
|
+
return _initialItemsTransform.initialItemsTransform;
|
27
22
|
}
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
return
|
23
|
+
});
|
24
|
+
Object.defineProperty(exports, "sizeToIconSize", {
|
25
|
+
enumerable: true,
|
26
|
+
get: function get() {
|
27
|
+
return _sizeToIconSize.sizeToIconSize;
|
33
28
|
}
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
if (item.props === undefined) {
|
40
|
-
return result;
|
41
|
-
}
|
42
|
-
var newValue = item.props.value;
|
43
|
-
if (item.props.children && Array.isArray(item.props.children)) {
|
44
|
-
return getValues(item.props.children, value, result);
|
45
|
-
}
|
46
|
-
if (!Array.isArray(value) && newValue === value || Array.isArray(value) && value !== null && value !== void 0 && value.find(function (v) {
|
47
|
-
return newValue === v;
|
48
|
-
})) {
|
49
|
-
var index = Array.isArray(value) && (value === null || value === void 0 ? void 0 : value.findIndex(function (v) {
|
50
|
-
return newValue === v;
|
51
|
-
})) || 0;
|
52
|
-
if (item.props.text) {
|
53
|
-
var _newText = item.props.text;
|
54
|
-
result[index] = [newValue, _newText];
|
55
|
-
return;
|
56
|
-
}
|
57
|
-
var newText = getChildrenInnerText(item.props.children);
|
58
|
-
result[index] = [newValue, newText];
|
59
|
-
}
|
60
|
-
return result;
|
61
|
-
});
|
62
|
-
return result;
|
63
|
-
};
|
64
|
-
var getChildrenItemChecked = function getChildrenItemChecked(value, child) {
|
65
|
-
return !Array.isArray(value) && (child === null || child === void 0 ? void 0 : child.props.value) === value || Array.isArray(value) && Boolean(value === null || value === void 0 ? void 0 : value.find(function (v) {
|
66
|
-
return (child === null || child === void 0 ? void 0 : child.props.value) === v;
|
67
|
-
}));
|
68
|
-
};
|
69
|
-
|
70
|
-
// INFO: Функция для рекурсивного обновления пропсов
|
71
|
-
var updatePropsRecursively = exports.updatePropsRecursively = function updatePropsRecursively(children, externalProps, value, search, filterFunction) {
|
72
|
-
return _react.Children.map(children || [], function (child) {
|
73
|
-
if (! /*#__PURE__*/(0, _react.isValidElement)(child)) {
|
74
|
-
return child;
|
75
|
-
}
|
76
|
-
var hasValue = ('value' in (child === null || child === void 0 ? void 0 : child.props));
|
77
|
-
var props = _objectSpread({
|
78
|
-
key: "".concat(value, "$"),
|
79
|
-
checked: getChildrenItemChecked(value, child)
|
80
|
-
}, hasValue && {
|
81
|
-
ref: function ref(element) {
|
82
|
-
var _externalProps$childr;
|
83
|
-
if (externalProps !== null && externalProps !== void 0 && (_externalProps$childr = externalProps.childrenRefs) !== null && _externalProps$childr !== void 0 && _externalProps$childr.current && element) {
|
84
|
-
externalProps.childrenRefs.current.push(element);
|
85
|
-
}
|
86
|
-
},
|
87
|
-
onClick: function onClick(event) {
|
88
|
-
var _child$props$onClick, _child$props, _externalProps$onClic;
|
89
|
-
(_child$props$onClick = (_child$props = child.props).onClick) === null || _child$props$onClick === void 0 || _child$props$onClick.call(_child$props, event);
|
90
|
-
externalProps === null || externalProps === void 0 || (_externalProps$onClic = externalProps.onClick) === null || _externalProps$onClic === void 0 || _externalProps$onClic.call(externalProps, event);
|
91
|
-
}
|
92
|
-
});
|
93
|
-
var updatedChild = updatePropsRecursively(child.props.children, externalProps, value, search, filterFunction);
|
94
|
-
if (filterFunction) {
|
95
|
-
var _child$props2;
|
96
|
-
var text = ((_child$props2 = child.props) === null || _child$props2 === void 0 ? void 0 : _child$props2.text) || '';
|
97
|
-
return filterFunction(text, search) ? /*#__PURE__*/(0, _react.cloneElement)(child, props, updatedChild) : null;
|
98
|
-
}
|
99
|
-
return /*#__PURE__*/(0, _react.cloneElement)(child, props, updatedChild);
|
100
|
-
});
|
101
|
-
};
|
102
|
-
var defaultFilterFunction = function defaultFilterFunction(text) {
|
103
|
-
var filterValue = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
|
104
|
-
return text.includes(filterValue);
|
105
|
-
};
|
106
|
-
var getChildren = exports.getChildren = function getChildren(children, externalProps, value, search) {
|
107
|
-
var filterFunction = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : defaultFilterFunction;
|
108
|
-
if (externalProps.childrenRefs) {
|
109
|
-
externalProps.childrenRefs.current = [];
|
29
|
+
});
|
30
|
+
Object.defineProperty(exports, "updateAncestors", {
|
31
|
+
enumerable: true,
|
32
|
+
get: function get() {
|
33
|
+
return _updateAncestors.updateAncestors;
|
110
34
|
}
|
111
|
-
|
112
|
-
|
35
|
+
});
|
36
|
+
Object.defineProperty(exports, "updateDescendants", {
|
37
|
+
enumerable: true,
|
38
|
+
get: function get() {
|
39
|
+
return _updateDescendants.updateDescendants;
|
40
|
+
}
|
41
|
+
});
|
42
|
+
Object.defineProperty(exports, "updateSingleAncestors", {
|
43
|
+
enumerable: true,
|
44
|
+
get: function get() {
|
45
|
+
return _updateSingleAncestors.updateSingleAncestors;
|
46
|
+
}
|
47
|
+
});
|
48
|
+
var _initialItemsTransform = /*#__PURE__*/require("./initialItemsTransform");
|
49
|
+
var _updateDescendants = /*#__PURE__*/require("./updateDescendants");
|
50
|
+
var _updateAncestors = /*#__PURE__*/require("./updateAncestors");
|
51
|
+
var _updateSingleAncestors = /*#__PURE__*/require("./updateSingleAncestors");
|
52
|
+
var _sizeToIconSize = /*#__PURE__*/require("./sizeToIconSize");
|
53
|
+
var _getCorrectHeight = /*#__PURE__*/require("./getCorrectHeight");
|
54
|
+
var _getButtonLabel = /*#__PURE__*/require("./getButtonLabel");
|
@@ -0,0 +1,18 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.initialItemsTransform = void 0;
|
7
|
+
// Проходимся по массиву items и добавляем в каждый item ключ parent, который ссылается на item родителя.
|
8
|
+
// Дает возможность прохода к корневому элементу (снизу вверх).
|
9
|
+
|
10
|
+
var initialItemsTransform = exports.initialItemsTransform = function initialItemsTransform(items, parent) {
|
11
|
+
items.forEach(function (item) {
|
12
|
+
item.parent = parent;
|
13
|
+
if (item.items) {
|
14
|
+
item.items = initialItemsTransform(item.items, item);
|
15
|
+
}
|
16
|
+
});
|
17
|
+
return items;
|
18
|
+
};
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.sizeToIconSize = void 0;
|
7
|
+
var sizeToIconSize = exports.sizeToIconSize = function sizeToIconSize(size, variant) {
|
8
|
+
if (size === 'xs' || size === 's' && variant === 'tight') return 'xs';
|
9
|
+
return 's';
|
10
|
+
};
|
@@ -0,0 +1,33 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.updateAncestors = void 0;
|
7
|
+
var updateAncestors = exports.updateAncestors = function updateAncestors(node, checkedMap) {
|
8
|
+
if (!(node !== null && node !== void 0 && node.parent)) {
|
9
|
+
return;
|
10
|
+
}
|
11
|
+
var parent = node.parent;
|
12
|
+
var siblings = parent.items;
|
13
|
+
var siblingsLength = siblings.length;
|
14
|
+
var checkedFromAllSiblings = 0;
|
15
|
+
var isParentIndeterminate = false;
|
16
|
+
siblings.forEach(function (sib) {
|
17
|
+
if (checkedMap.get(sib.value) === 'indeterminate') {
|
18
|
+
isParentIndeterminate = true;
|
19
|
+
return;
|
20
|
+
}
|
21
|
+
if (checkedMap.get(sib.value)) {
|
22
|
+
checkedFromAllSiblings += 1;
|
23
|
+
}
|
24
|
+
});
|
25
|
+
if (isParentIndeterminate || checkedFromAllSiblings > 0 && checkedFromAllSiblings < siblingsLength) {
|
26
|
+
checkedMap.set(parent.value, 'indeterminate');
|
27
|
+
} else if (checkedFromAllSiblings === 0) {
|
28
|
+
checkedMap.set(parent.value, false);
|
29
|
+
} else {
|
30
|
+
checkedMap.set(parent.value, true);
|
31
|
+
}
|
32
|
+
updateAncestors(parent, checkedMap);
|
33
|
+
};
|
@@ -0,0 +1,17 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.updateDescendants = void 0;
|
7
|
+
var updateDescendants = exports.updateDescendants = function updateDescendants(node, checkedMap, isChecked) {
|
8
|
+
if (!(node !== null && node !== void 0 && node.items)) {
|
9
|
+
return;
|
10
|
+
}
|
11
|
+
node.items.forEach(function (item) {
|
12
|
+
checkedMap.set(item.value, isChecked);
|
13
|
+
if (item.items) {
|
14
|
+
updateDescendants(item, checkedMap, isChecked);
|
15
|
+
}
|
16
|
+
});
|
17
|
+
};
|
@@ -0,0 +1,14 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.updateSingleAncestors = void 0;
|
7
|
+
var updateSingleAncestors = exports.updateSingleAncestors = function updateSingleAncestors(node, checkedMap, type) {
|
8
|
+
if (!node.parent) {
|
9
|
+
return;
|
10
|
+
}
|
11
|
+
var parent = node.parent;
|
12
|
+
checkedMap.set(parent.value, type);
|
13
|
+
updateSingleAncestors(parent, checkedMap, type);
|
14
|
+
};
|
@@ -0,0 +1,32 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.DisclosureDownCentered = void 0;
|
7
|
+
var _react = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("react"));
|
8
|
+
var _path, _path2;
|
9
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
10
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
11
|
+
var DisclosureDownCentered = exports.DisclosureDownCentered = function DisclosureDownCentered(props) {
|
12
|
+
if (props.size === 'xs') {
|
13
|
+
return /*#__PURE__*/_react["default"].createElement("svg", _extends({
|
14
|
+
width: "100%",
|
15
|
+
viewBox: "0 0 16 16",
|
16
|
+
fill: "none"
|
17
|
+
}, props), _path || (_path = /*#__PURE__*/_react["default"].createElement("path", {
|
18
|
+
id: "path",
|
19
|
+
d: "M4.64 6.14C4.84 5.95 5.15 5.95 5.35 6.14L8 8.79L10.64 6.14C10.84 5.95 11.15 5.95 11.35 6.14C11.54 6.34 11.54 6.65 11.35 6.85L8 10.2L4.64 6.85C4.45 6.65 4.45 6.34 4.64 6.14Z",
|
20
|
+
fill: "currentColor"
|
21
|
+
})));
|
22
|
+
}
|
23
|
+
return /*#__PURE__*/_react["default"].createElement("svg", _extends({
|
24
|
+
width: "100%",
|
25
|
+
viewBox: "0 0 24 24",
|
26
|
+
fill: "none"
|
27
|
+
}, props), _path2 || (_path2 = /*#__PURE__*/_react["default"].createElement("path", {
|
28
|
+
id: "path",
|
29
|
+
d: "M6.96 9.21C7.26 8.92 7.73 8.92 8.03 9.21L12 13.18L15.96 9.21C16.26 8.92 16.73 8.92 17.03 9.21C17.32 9.51 17.32 9.98 17.03 10.28L12 15.31L6.96 10.28C6.67 9.98 6.67 9.51 6.96 9.21Z",
|
30
|
+
fill: "currentColor"
|
31
|
+
})));
|
32
|
+
};
|
@@ -0,0 +1,30 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.DisclosureRightCentered = void 0;
|
7
|
+
var _react = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("react"));
|
8
|
+
var _path, _path2;
|
9
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
10
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
11
|
+
var DisclosureRightCentered = exports.DisclosureRightCentered = function DisclosureRightCentered(props) {
|
12
|
+
if (props.size === 'xs') {
|
13
|
+
return /*#__PURE__*/_react["default"].createElement("svg", _extends({
|
14
|
+
width: "100%",
|
15
|
+
viewBox: "0 0 16 16",
|
16
|
+
fill: "none"
|
17
|
+
}, props), _path || (_path = /*#__PURE__*/_react["default"].createElement("path", {
|
18
|
+
d: "M6.04 4.64C5.84 4.84 5.84 5.15 6.04 5.35L8.68 8L6.04 10.64C5.84 10.84 5.84 11.15 6.04 11.35C6.23 11.54 6.55 11.54 6.75 11.35L10.1 8L6.75 4.64C6.55 4.45 6.23 4.45 6.04 4.64Z",
|
19
|
+
fill: "currentColor"
|
20
|
+
})));
|
21
|
+
}
|
22
|
+
return /*#__PURE__*/_react["default"].createElement("svg", _extends({
|
23
|
+
width: "100%",
|
24
|
+
viewBox: "0 0 24 24",
|
25
|
+
fill: "none"
|
26
|
+
}, props), _path2 || (_path2 = /*#__PURE__*/_react["default"].createElement("path", {
|
27
|
+
d: "M9.06 6.96C8.77 7.26 8.77 7.73 9.06 8.03L13.03 12L9.06 15.96C8.77 16.26 8.77 16.73 9.06 17.03C9.35 17.32 9.83 17.32 10.12 17.03L15.15 12L10.12 6.96C9.83 6.67 9.35 6.67 9.06 6.96Z",
|
28
|
+
fill: "currentColor"
|
29
|
+
})));
|
30
|
+
};
|
@@ -0,0 +1,22 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.IconDisclosureDownCentered = void 0;
|
7
|
+
var _react = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("react"));
|
8
|
+
var _DisclosureDownCentered = /*#__PURE__*/require("../Icon.assets/DisclosureDownCentered");
|
9
|
+
var _IconRoot = /*#__PURE__*/require("../IconRoot");
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
11
|
+
var IconDisclosureDownCentered = exports.IconDisclosureDownCentered = function IconDisclosureDownCentered(_ref) {
|
12
|
+
var _ref$size = _ref.size,
|
13
|
+
size = _ref$size === void 0 ? 'xs' : _ref$size,
|
14
|
+
color = _ref.color,
|
15
|
+
className = _ref.className;
|
16
|
+
return /*#__PURE__*/_react["default"].createElement(_IconRoot.IconRoot, {
|
17
|
+
className: className,
|
18
|
+
size: size,
|
19
|
+
color: color,
|
20
|
+
icon: _DisclosureDownCentered.DisclosureDownCentered
|
21
|
+
});
|
22
|
+
};
|
@@ -0,0 +1,22 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.IconDisclosureRightCentered = void 0;
|
7
|
+
var _react = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("react"));
|
8
|
+
var _DisclosureRightCentered = /*#__PURE__*/require("../Icon.assets/DisclosureRightCentered");
|
9
|
+
var _IconRoot = /*#__PURE__*/require("../IconRoot");
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
11
|
+
var IconDisclosureRightCentered = exports.IconDisclosureRightCentered = function IconDisclosureRightCentered(_ref) {
|
12
|
+
var _ref$size = _ref.size,
|
13
|
+
size = _ref$size === void 0 ? 's' : _ref$size,
|
14
|
+
color = _ref.color,
|
15
|
+
className = _ref.className;
|
16
|
+
return /*#__PURE__*/_react["default"].createElement(_IconRoot.IconRoot, {
|
17
|
+
className: className,
|
18
|
+
size: size,
|
19
|
+
color: color,
|
20
|
+
icon: _DisclosureRightCentered.DisclosureRightCentered
|
21
|
+
});
|
22
|
+
};
|
@@ -39,6 +39,12 @@ Object.defineProperty(exports, "IconCross", {
|
|
39
39
|
return _IconCross.IconCross;
|
40
40
|
}
|
41
41
|
});
|
42
|
+
Object.defineProperty(exports, "IconDisclosureDownCentered", {
|
43
|
+
enumerable: true,
|
44
|
+
get: function get() {
|
45
|
+
return _IconDisclosureDownCentered.IconDisclosureDownCentered;
|
46
|
+
}
|
47
|
+
});
|
42
48
|
Object.defineProperty(exports, "IconDisclosureDownFill", {
|
43
49
|
enumerable: true,
|
44
50
|
get: function get() {
|
@@ -57,6 +63,12 @@ Object.defineProperty(exports, "IconDisclosureRight", {
|
|
57
63
|
return _IconDisclosureRight.IconDisclosureRight;
|
58
64
|
}
|
59
65
|
});
|
66
|
+
Object.defineProperty(exports, "IconDisclosureRightCentered", {
|
67
|
+
enumerable: true,
|
68
|
+
get: function get() {
|
69
|
+
return _IconDisclosureRightCentered.IconDisclosureRightCentered;
|
70
|
+
}
|
71
|
+
});
|
60
72
|
Object.defineProperty(exports, "IconDone", {
|
61
73
|
enumerable: true,
|
62
74
|
get: function get() {
|
@@ -86,4 +98,6 @@ var _IconChevronDownFill = /*#__PURE__*/require("./Icons/IconChevronDownFill");
|
|
86
98
|
var _IconClose = /*#__PURE__*/require("./Icons/IconClose");
|
87
99
|
var _IconCross = /*#__PURE__*/require("./Icons/IconCross");
|
88
100
|
var _IconDone = /*#__PURE__*/require("./Icons/IconDone");
|
101
|
+
var _IconDisclosureRightCentered = /*#__PURE__*/require("./Icons/IconDisclosureRightCentered");
|
102
|
+
var _IconDisclosureDownCentered = /*#__PURE__*/require("./Icons/IconDisclosureDownCentered");
|
89
103
|
var _IconMinus = /*#__PURE__*/require("./Icons/IconMinus");
|
@@ -24,7 +24,7 @@ var WithTheme = exports.WithTheme = function WithTheme(Story, context) {
|
|
24
24
|
className: _themes.themes === null || _themes.themes === void 0 || (_themes$themeName = _themes.themes[themeName]) === null || _themes$themeName === void 0 ? void 0 : _themes$themeName[themeType],
|
25
25
|
style: {
|
26
26
|
padding: '1rem',
|
27
|
-
|
27
|
+
minHeight: '100vh',
|
28
28
|
boxSizing: 'border-box'
|
29
29
|
}
|
30
30
|
}, /*#__PURE__*/_react["default"].createElement(Story, null));
|