@salutejs/plasma-new-hope 0.91.0-dev.0 → 0.92.0-canary.1233.9662754485.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/components/Button/Button.styles.js.map +1 -1
- package/cjs/components/Chip/Chip.tokens.js +2 -0
- package/cjs/components/Chip/Chip.tokens.js.map +1 -1
- package/cjs/components/Combobox/Combobox.js +2 -2
- package/cjs/components/Combobox/Combobox.js.map +1 -1
- package/cjs/components/Combobox/hooks/useKeyNavigation.js.map +1 -0
- package/cjs/components/Combobox/ui/ComboboxTarget/ComboboxTarget.js +1 -1
- package/cjs/components/Combobox/ui/ComboboxTarget/ComboboxTarget.js.map +1 -1
- package/cjs/components/Combobox/utils/index.js +103 -0
- package/cjs/components/Combobox/utils/index.js.map +1 -1
- package/cjs/components/Dropdown/Dropdown.tokens.js +32 -18
- package/cjs/components/Dropdown/Dropdown.tokens.js.map +1 -1
- package/cjs/components/Dropdown/hooks/useKeyboardNavigation.js +63 -24
- package/cjs/components/Dropdown/hooks/useKeyboardNavigation.js.map +1 -1
- package/cjs/components/Pagination/Pagination.css +58 -49
- package/cjs/components/Pagination/Pagination.js +12 -5
- package/cjs/components/Pagination/Pagination.js.map +1 -1
- package/cjs/components/Pagination/Pagination.styles.js.map +1 -1
- package/cjs/components/Pagination/Pagination.tokens.js +9 -11
- package/cjs/components/Pagination/Pagination.tokens.js.map +1 -1
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +59 -50
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +20 -26
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js.map +1 -1
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +5 -20
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles_187mk6b.css +3 -0
- package/cjs/components/Select/Select.css +65 -60
- package/cjs/components/Select/Select.js +253 -199
- package/cjs/components/Select/Select.js.map +1 -1
- package/cjs/components/Select/Select.styles.js +51 -36
- package/cjs/components/Select/Select.styles.js.map +1 -1
- package/cjs/components/Select/Select.styles_zx0ztg.css +5 -0
- package/cjs/components/Select/Select.tokens.js +58 -166
- package/cjs/components/Select/Select.tokens.js.map +1 -1
- package/cjs/components/Select/elements/Inner/Inner.css +106 -0
- package/cjs/components/Select/elements/Inner/Inner.js +82 -0
- package/cjs/components/Select/elements/Inner/Inner.js.map +1 -0
- package/cjs/components/Select/elements/Inner/elements/Item/Item.css +106 -0
- package/cjs/components/Select/elements/Inner/elements/Item/Item.js +98 -0
- package/cjs/components/Select/elements/Inner/elements/Item/Item.js.map +1 -0
- package/cjs/components/Select/elements/Inner/elements/Item/Item.styles.js +104 -0
- package/cjs/components/Select/elements/Inner/elements/Item/Item.styles.js.map +1 -0
- package/cjs/components/Select/elements/Inner/elements/Item/Item.styles_545sy7.css +8 -0
- package/cjs/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.css +30 -0
- package/cjs/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.js +20 -0
- package/cjs/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.js.map +1 -0
- package/cjs/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.styles.js +41 -0
- package/cjs/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.styles.js.map +1 -0
- package/cjs/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.styles_r1sne.css +4 -0
- package/cjs/components/Select/elements/Target/Target.css +66 -0
- package/cjs/components/Select/elements/Target/Target.js +63 -0
- package/cjs/components/Select/elements/Target/Target.js.map +1 -0
- package/cjs/components/Select/elements/Target/elements/Button/Button.css +33 -0
- package/cjs/components/Select/elements/Target/elements/Button/Button.js +59 -0
- package/cjs/components/Select/elements/Target/elements/Button/Button.js.map +1 -0
- package/cjs/components/Select/elements/Target/elements/Button/Button.styles.js +52 -0
- package/cjs/components/Select/elements/Target/elements/Button/Button.styles.js.map +1 -0
- package/cjs/components/Select/elements/Target/elements/Button/Button.styles_1r519o1.css +5 -0
- package/cjs/components/Select/{ui/SelectTarget/SelectTarget.css → elements/Target/elements/Textfield/Textfield.css} +13 -7
- package/cjs/components/Select/elements/Target/elements/Textfield/Textfield.js +113 -0
- package/cjs/components/Select/elements/Target/elements/Textfield/Textfield.js.map +1 -0
- package/cjs/components/Select/elements/Target/elements/Textfield/Textfield.styles.js +113 -0
- package/cjs/components/Select/elements/Target/elements/Textfield/Textfield.styles.js.map +1 -0
- package/cjs/components/Select/elements/Target/elements/Textfield/Textfield.styles_hp8mkt.css +12 -0
- package/cjs/components/Select/{ui/SelectChip/SelectChip.css → elements/Target/elements/Textfield/elements/Chip/Chip.css} +1 -1
- package/cjs/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.js +36 -0
- package/cjs/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.js.map +1 -0
- package/cjs/components/Select/{ui/SelectChip/SelectChip.styles.js → elements/Target/elements/Textfield/elements/Chip/Chip.styles.js} +5 -8
- package/cjs/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.styles.js.map +1 -0
- package/cjs/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.styles_k6znfr.css +1 -0
- package/cjs/components/Select/hooks/useKeyboardNavigation.js +353 -0
- package/cjs/components/Select/hooks/useKeyboardNavigation.js.map +1 -0
- package/cjs/components/Select/hooks/usePathMaps.js +37 -0
- package/cjs/components/Select/hooks/usePathMaps.js.map +1 -0
- package/cjs/components/Select/reducers/focusedChipIndexReducer.js +39 -0
- package/cjs/components/Select/reducers/focusedChipIndexReducer.js.map +1 -0
- package/cjs/components/Select/reducers/focusedPathReducer.js +37 -0
- package/cjs/components/Select/reducers/focusedPathReducer.js.map +1 -0
- package/cjs/components/Select/reducers/pathReducer.js +41 -0
- package/cjs/components/Select/reducers/pathReducer.js.map +1 -0
- package/cjs/components/Select/utils/getButtonLabel.js +47 -0
- package/cjs/components/Select/utils/getButtonLabel.js.map +1 -0
- package/cjs/components/Select/utils/getCorrectHeight.js +13 -0
- package/cjs/components/Select/utils/getCorrectHeight.js.map +1 -0
- package/cjs/components/Select/utils/getView.js +27 -0
- package/cjs/components/Select/utils/getView.js.map +1 -0
- package/cjs/components/Select/utils/initialItemsTransform.js +19 -0
- package/cjs/components/Select/utils/initialItemsTransform.js.map +1 -0
- package/cjs/components/Select/utils/sizeToIconSize.js +11 -0
- package/cjs/components/Select/utils/sizeToIconSize.js.map +1 -0
- package/cjs/components/Select/utils/updateAncestors.js +32 -0
- package/cjs/components/Select/utils/updateAncestors.js.map +1 -0
- package/cjs/components/Select/utils/updateDescendants.js +16 -0
- package/cjs/components/Select/utils/updateDescendants.js.map +1 -0
- package/cjs/components/Select/utils/updateSingleAncestors.js +13 -0
- package/cjs/components/Select/utils/updateSingleAncestors.js.map +1 -0
- package/cjs/components/_Icon/Icon.assets/DisclosureDownCentered.js +33 -0
- package/cjs/components/_Icon/Icon.assets/DisclosureDownCentered.js.map +1 -0
- package/cjs/components/_Icon/Icon.assets/DisclosureRightCentered.js +31 -0
- package/cjs/components/_Icon/Icon.assets/DisclosureRightCentered.js.map +1 -0
- package/cjs/components/_Icon/Icons/IconDisclosureDownCentered.js +23 -0
- package/cjs/components/_Icon/Icons/IconDisclosureDownCentered.js.map +1 -0
- package/cjs/components/_Icon/Icons/IconDisclosureRightCentered.js +23 -0
- package/cjs/components/_Icon/Icons/IconDisclosureRightCentered.js.map +1 -0
- package/cjs/engines/common.js.map +1 -1
- package/cjs/hooks/useOutsideClick.js +26 -0
- package/cjs/hooks/useOutsideClick.js.map +1 -0
- package/cjs/index.css +43 -27
- package/cjs/index.js +6 -18
- package/cjs/index.js.map +1 -1
- package/cjs/utils/index.js.map +1 -1
- package/cjs/utils/isEmpty.js +49 -0
- package/cjs/utils/isEmpty.js.map +1 -0
- package/es/components/Button/Button.styles.js.map +1 -1
- package/es/components/Chip/Chip.tokens.js +2 -0
- package/es/components/Chip/Chip.tokens.js.map +1 -1
- package/es/components/Combobox/Combobox.js +2 -2
- package/es/components/Combobox/Combobox.js.map +1 -1
- package/es/components/Combobox/hooks/useKeyNavigation.js.map +1 -0
- package/es/components/Combobox/ui/ComboboxTarget/ComboboxTarget.js +1 -1
- package/es/components/Combobox/ui/ComboboxTarget/ComboboxTarget.js.map +1 -1
- package/es/components/Combobox/utils/index.js +102 -3
- package/es/components/Combobox/utils/index.js.map +1 -1
- package/es/components/Dropdown/Dropdown.tokens.js +32 -18
- package/es/components/Dropdown/Dropdown.tokens.js.map +1 -1
- package/es/components/Dropdown/hooks/useKeyboardNavigation.js +63 -24
- package/es/components/Dropdown/hooks/useKeyboardNavigation.js.map +1 -1
- package/es/components/Pagination/Pagination.css +58 -49
- package/es/components/Pagination/Pagination.js +12 -5
- package/es/components/Pagination/Pagination.js.map +1 -1
- package/es/components/Pagination/Pagination.styles.js.map +1 -1
- package/es/components/Pagination/Pagination.tokens.js +9 -11
- package/es/components/Pagination/Pagination.tokens.js.map +1 -1
- package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +59 -50
- package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +23 -29
- package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js.map +1 -1
- package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +6 -19
- package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
- package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles_187mk6b.css +3 -0
- package/es/components/Select/Select.css +65 -60
- package/es/components/Select/Select.js +249 -196
- package/es/components/Select/Select.js.map +1 -1
- package/es/components/Select/Select.styles.js +48 -34
- package/es/components/Select/Select.styles.js.map +1 -1
- package/es/components/Select/Select.styles_zx0ztg.css +5 -0
- package/es/components/Select/Select.tokens.js +58 -166
- package/es/components/Select/Select.tokens.js.map +1 -1
- package/es/components/Select/elements/Inner/Inner.css +106 -0
- package/es/components/Select/elements/Inner/Inner.js +78 -0
- package/es/components/Select/elements/Inner/Inner.js.map +1 -0
- package/es/components/Select/elements/Inner/elements/Item/Item.css +106 -0
- package/es/components/Select/elements/Inner/elements/Item/Item.js +94 -0
- package/es/components/Select/elements/Inner/elements/Item/Item.js.map +1 -0
- package/es/components/Select/elements/Inner/elements/Item/Item.styles.js +93 -0
- package/es/components/Select/elements/Inner/elements/Item/Item.styles.js.map +1 -0
- package/es/components/Select/elements/Inner/elements/Item/Item.styles_545sy7.css +8 -0
- package/es/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.css +30 -0
- package/es/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.js +16 -0
- package/es/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.js.map +1 -0
- package/es/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.styles.js +34 -0
- package/es/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.styles.js.map +1 -0
- package/es/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.styles_r1sne.css +4 -0
- package/es/components/Select/elements/Target/Target.css +66 -0
- package/es/components/Select/elements/Target/Target.js +59 -0
- package/es/components/Select/elements/Target/Target.js.map +1 -0
- package/es/components/Select/elements/Target/elements/Button/Button.css +33 -0
- package/es/components/Select/elements/Target/elements/Button/Button.js +55 -0
- package/es/components/Select/elements/Target/elements/Button/Button.js.map +1 -0
- package/es/components/Select/elements/Target/elements/Button/Button.styles.js +44 -0
- package/es/components/Select/elements/Target/elements/Button/Button.styles.js.map +1 -0
- package/es/components/Select/elements/Target/elements/Button/Button.styles_1r519o1.css +5 -0
- package/es/components/Select/{ui/SelectTarget/SelectTarget.css → elements/Target/elements/Textfield/Textfield.css} +13 -7
- package/es/components/Select/elements/Target/elements/Textfield/Textfield.js +109 -0
- package/es/components/Select/elements/Target/elements/Textfield/Textfield.js.map +1 -0
- package/es/components/Select/elements/Target/elements/Textfield/Textfield.styles.js +98 -0
- package/es/components/Select/elements/Target/elements/Textfield/Textfield.styles.js.map +1 -0
- package/es/components/Select/elements/Target/elements/Textfield/Textfield.styles_hp8mkt.css +12 -0
- package/es/components/Select/{ui/SelectChip/SelectChip.css → elements/Target/elements/Textfield/elements/Chip/Chip.css} +1 -1
- package/es/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.js +32 -0
- package/es/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.js.map +1 -0
- package/es/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.styles.js +19 -0
- package/es/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.styles.js.map +1 -0
- package/es/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.styles_k6znfr.css +1 -0
- package/es/components/Select/hooks/useKeyboardNavigation.js +348 -0
- package/es/components/Select/hooks/useKeyboardNavigation.js.map +1 -0
- package/es/components/Select/hooks/usePathMaps.js +33 -0
- package/es/components/Select/hooks/usePathMaps.js.map +1 -0
- package/es/components/Select/reducers/focusedChipIndexReducer.js +35 -0
- package/es/components/Select/reducers/focusedChipIndexReducer.js.map +1 -0
- package/es/components/Select/reducers/focusedPathReducer.js +33 -0
- package/es/components/Select/reducers/focusedPathReducer.js.map +1 -0
- package/es/components/Select/reducers/pathReducer.js +37 -0
- package/es/components/Select/reducers/pathReducer.js.map +1 -0
- package/es/components/Select/utils/getButtonLabel.js +43 -0
- package/es/components/Select/utils/getButtonLabel.js.map +1 -0
- package/es/components/Select/utils/getCorrectHeight.js +9 -0
- package/es/components/Select/utils/getCorrectHeight.js.map +1 -0
- package/es/components/Select/utils/getView.js +23 -0
- package/es/components/Select/utils/getView.js.map +1 -0
- package/es/components/Select/utils/initialItemsTransform.js +15 -0
- package/es/components/Select/utils/initialItemsTransform.js.map +1 -0
- package/es/components/Select/utils/sizeToIconSize.js +7 -0
- package/es/components/Select/utils/sizeToIconSize.js.map +1 -0
- package/es/components/Select/utils/updateAncestors.js +28 -0
- package/es/components/Select/utils/updateAncestors.js.map +1 -0
- package/es/components/Select/utils/updateDescendants.js +12 -0
- package/es/components/Select/utils/updateDescendants.js.map +1 -0
- package/es/components/Select/utils/updateSingleAncestors.js +9 -0
- package/es/components/Select/utils/updateSingleAncestors.js.map +1 -0
- package/es/components/_Icon/Icon.assets/DisclosureDownCentered.js +29 -0
- package/es/components/_Icon/Icon.assets/DisclosureDownCentered.js.map +1 -0
- package/es/components/_Icon/Icon.assets/DisclosureRightCentered.js +27 -0
- package/es/components/_Icon/Icon.assets/DisclosureRightCentered.js.map +1 -0
- package/es/components/_Icon/Icons/IconDisclosureDownCentered.js +19 -0
- package/es/components/_Icon/Icons/IconDisclosureDownCentered.js.map +1 -0
- package/es/components/_Icon/Icons/IconDisclosureRightCentered.js +19 -0
- package/es/components/_Icon/Icons/IconDisclosureRightCentered.js.map +1 -0
- package/es/engines/common.js.map +1 -1
- package/es/hooks/useOutsideClick.js +22 -0
- package/es/hooks/useOutsideClick.js.map +1 -0
- package/es/index.css +43 -27
- package/es/index.js +4 -7
- package/es/index.js.map +1 -1
- package/es/utils/index.js.map +1 -1
- package/es/utils/isEmpty.js +45 -0
- package/es/utils/isEmpty.js.map +1 -0
- package/package.json +4 -4
- package/styled-components/cjs/components/Button/Button.styles.js +2 -2
- package/styled-components/cjs/components/Chip/Chip.tokens.js +2 -0
- package/styled-components/cjs/components/Combobox/Combobox.js +6 -6
- package/styled-components/cjs/components/Combobox/hooks/index.js +14 -1
- package/styled-components/cjs/components/Combobox/ui/ComboboxTarget/ComboboxTarget.js +4 -5
- package/styled-components/cjs/components/Combobox/utils/index.js +105 -1
- package/styled-components/cjs/components/Dropdown/Dropdown.tokens.js +32 -18
- package/styled-components/cjs/components/Dropdown/hooks/useKeyboardNavigation.js +63 -24
- package/styled-components/cjs/components/Pagination/Pagination.js +12 -5
- package/styled-components/cjs/components/Pagination/Pagination.styles.js +2 -2
- package/styled-components/cjs/components/Pagination/Pagination.tokens.js +9 -11
- package/styled-components/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +22 -35
- package/styled-components/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +3 -8
- package/styled-components/cjs/components/Select/Select.js +248 -191
- package/styled-components/cjs/components/Select/Select.styles.js +28 -23
- package/styled-components/cjs/components/Select/Select.tokens.js +73 -167
- package/styled-components/cjs/components/Select/elements/InfiniteLoader/InfiniteLoader.js +18 -0
- package/styled-components/cjs/components/Select/elements/InfiniteLoader/InfiniteLoader.styles.js +24 -0
- package/styled-components/cjs/components/Select/elements/Inner/Inner.js +80 -0
- package/styled-components/cjs/components/Select/elements/Inner/elements/Item/Item.js +96 -0
- package/styled-components/cjs/components/Select/elements/Inner/elements/Item/Item.styles.js +63 -0
- package/styled-components/cjs/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.js +19 -0
- package/styled-components/cjs/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.styles.js +25 -0
- package/styled-components/cjs/components/Select/elements/Target/Target.js +62 -0
- package/styled-components/cjs/components/Select/elements/Target/elements/Button/Button.js +58 -0
- package/styled-components/cjs/components/Select/elements/Target/elements/Button/Button.styles.js +30 -0
- package/styled-components/cjs/components/Select/elements/Target/elements/Textfield/Textfield.js +111 -0
- package/styled-components/cjs/components/Select/elements/Target/elements/Textfield/Textfield.styles.js +63 -0
- package/styled-components/cjs/components/Select/{ui/SelectChip/SelectChip.js → elements/Target/elements/Textfield/elements/Chip/Chip.js} +24 -27
- package/styled-components/cjs/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.styles.js +21 -0
- package/styled-components/cjs/components/Select/hooks/useKeyboardNavigation.js +355 -0
- package/styled-components/cjs/components/Select/hooks/usePathMaps.js +33 -0
- package/styled-components/cjs/components/Select/index.js +3 -20
- package/styled-components/cjs/components/Select/reducers/focusedChipIndexReducer.js +38 -0
- package/styled-components/cjs/components/Select/reducers/focusedPathReducer.js +40 -0
- package/styled-components/cjs/components/Select/reducers/index.js +38 -0
- package/styled-components/cjs/components/Select/reducers/pathReducer.js +44 -0
- package/styled-components/cjs/components/Select/utils/getButtonLabel.js +43 -0
- package/styled-components/cjs/components/Select/utils/getCorrectHeight.js +12 -0
- package/styled-components/cjs/components/Select/utils/getView.js +26 -0
- package/styled-components/cjs/components/Select/utils/index.js +51 -102
- package/styled-components/cjs/components/Select/utils/initialItemsTransform.js +18 -0
- package/styled-components/cjs/components/Select/utils/sizeToIconSize.js +10 -0
- package/styled-components/cjs/components/Select/utils/updateAncestors.js +31 -0
- package/styled-components/cjs/components/Select/utils/updateDescendants.js +15 -0
- package/styled-components/cjs/components/Select/utils/updateSingleAncestors.js +12 -0
- package/styled-components/cjs/components/_Icon/Icon.assets/DisclosureDownCentered.js +32 -0
- package/styled-components/cjs/components/_Icon/Icon.assets/DisclosureRightCentered.js +30 -0
- package/styled-components/cjs/components/_Icon/Icons/IconDisclosureDownCentered.js +22 -0
- package/styled-components/cjs/components/_Icon/Icons/IconDisclosureRightCentered.js +22 -0
- package/styled-components/cjs/components/_Icon/index.js +14 -0
- package/styled-components/cjs/examples/_helpers.js +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Pagination/Pagination.config.js +7 -7
- package/styled-components/cjs/examples/plasma_b2c/components/Pagination/Pagination.stories.tsx +1 -0
- package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.config.js +20 -10
- package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.js +9 -13
- package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.stories.tsx +768 -202
- package/styled-components/cjs/examples/plasma_b2c/components/Select/style.css +38 -0
- package/styled-components/cjs/examples/plasma_web/components/Pagination/Pagination.config.js +7 -7
- package/styled-components/cjs/examples/plasma_web/components/Select/Select.config.js +20 -10
- package/styled-components/cjs/examples/plasma_web/components/Select/Select.js +9 -13
- package/styled-components/cjs/examples/plasma_web/components/Select/Select.stories.tsx +768 -198
- package/styled-components/cjs/examples/plasma_web/components/Select/style.css +38 -0
- package/styled-components/cjs/hooks/index.js +7 -0
- package/styled-components/cjs/hooks/useOutsideClick.js +24 -0
- package/styled-components/cjs/utils/index.js +7 -0
- package/styled-components/cjs/utils/isEmpty.js +47 -0
- package/styled-components/es/components/Button/Button.styles.js +2 -2
- package/styled-components/es/components/Chip/Chip.tokens.js +2 -0
- package/styled-components/es/components/Combobox/Combobox.js +2 -2
- package/styled-components/es/components/Combobox/hooks/index.js +2 -1
- package/styled-components/es/components/Combobox/ui/ComboboxTarget/ComboboxTarget.js +1 -2
- package/styled-components/es/components/Combobox/utils/index.js +105 -1
- package/styled-components/es/components/Dropdown/Dropdown.tokens.js +32 -18
- package/styled-components/es/components/Dropdown/hooks/useKeyboardNavigation.js +63 -24
- package/styled-components/es/components/Pagination/Pagination.js +12 -5
- package/styled-components/es/components/Pagination/Pagination.styles.js +2 -2
- package/styled-components/es/components/Pagination/Pagination.tokens.js +9 -11
- package/styled-components/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +22 -33
- package/styled-components/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +3 -8
- package/styled-components/es/components/Select/Select.js +244 -188
- package/styled-components/es/components/Select/Select.styles.js +25 -21
- package/styled-components/es/components/Select/Select.tokens.js +72 -166
- package/styled-components/es/components/Select/elements/InfiniteLoader/InfiniteLoader.js +11 -0
- package/styled-components/es/components/Select/elements/InfiniteLoader/InfiniteLoader.styles.js +17 -0
- package/styled-components/es/components/Select/elements/Inner/Inner.js +73 -0
- package/styled-components/es/components/Select/elements/Inner/elements/Item/Item.js +87 -0
- package/styled-components/es/components/Select/elements/Inner/elements/Item/Item.styles.js +56 -0
- package/styled-components/es/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.js +12 -0
- package/styled-components/es/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.styles.js +18 -0
- package/styled-components/es/components/Select/elements/Target/Target.js +55 -0
- package/styled-components/es/components/Select/elements/Target/elements/Button/Button.js +51 -0
- package/styled-components/es/components/Select/elements/Target/elements/Button/Button.styles.js +23 -0
- package/styled-components/es/components/Select/elements/Target/elements/Textfield/Textfield.js +104 -0
- package/styled-components/es/components/Select/elements/Target/elements/Textfield/Textfield.styles.js +56 -0
- package/styled-components/es/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.js +28 -0
- package/styled-components/es/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.styles.js +14 -0
- package/styled-components/es/components/Select/hooks/useKeyboardNavigation.js +349 -0
- package/styled-components/es/components/Select/hooks/usePathMaps.js +27 -0
- package/styled-components/es/components/Select/index.js +2 -2
- package/styled-components/es/components/Select/reducers/focusedChipIndexReducer.js +32 -0
- package/styled-components/es/components/Select/reducers/focusedPathReducer.js +34 -0
- package/styled-components/es/components/Select/reducers/index.js +3 -0
- package/styled-components/es/components/Select/reducers/pathReducer.js +38 -0
- package/styled-components/es/components/Select/utils/getButtonLabel.js +37 -0
- package/styled-components/es/components/Select/utils/getCorrectHeight.js +6 -0
- package/styled-components/es/components/Select/utils/getView.js +20 -0
- package/styled-components/es/components/Select/utils/index.js +8 -106
- package/styled-components/es/components/Select/utils/initialItemsTransform.js +12 -0
- package/styled-components/es/components/Select/utils/sizeToIconSize.js +4 -0
- package/styled-components/es/components/Select/utils/updateAncestors.js +25 -0
- package/styled-components/es/components/Select/utils/updateDescendants.js +9 -0
- package/styled-components/es/components/Select/utils/updateSingleAncestors.js +6 -0
- package/styled-components/es/components/_Icon/Icon.assets/DisclosureDownCentered.js +25 -0
- package/styled-components/es/components/_Icon/Icon.assets/DisclosureRightCentered.js +23 -0
- package/styled-components/es/components/_Icon/Icons/IconDisclosureDownCentered.js +15 -0
- package/styled-components/es/components/_Icon/Icons/IconDisclosureRightCentered.js +15 -0
- package/styled-components/es/components/_Icon/index.js +2 -0
- package/styled-components/es/examples/_helpers.js +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Pagination/Pagination.config.js +7 -7
- package/styled-components/es/examples/plasma_b2c/components/Pagination/Pagination.stories.tsx +1 -0
- package/styled-components/es/examples/plasma_b2c/components/Select/Select.config.js +20 -10
- package/styled-components/es/examples/plasma_b2c/components/Select/Select.js +3 -12
- package/styled-components/es/examples/plasma_b2c/components/Select/Select.stories.tsx +768 -202
- package/styled-components/es/examples/plasma_b2c/components/Select/style.css +38 -0
- package/styled-components/es/examples/plasma_web/components/Pagination/Pagination.config.js +7 -7
- package/styled-components/es/examples/plasma_web/components/Select/Select.config.js +20 -10
- package/styled-components/es/examples/plasma_web/components/Select/Select.js +3 -12
- package/styled-components/es/examples/plasma_web/components/Select/Select.stories.tsx +768 -198
- package/styled-components/es/examples/plasma_web/components/Select/style.css +38 -0
- package/styled-components/es/hooks/index.js +1 -0
- package/styled-components/es/hooks/useOutsideClick.js +18 -0
- package/styled-components/es/utils/index.js +1 -0
- package/styled-components/es/utils/isEmpty.js +42 -0
- package/types/components/Chip/Chip.tokens.d.ts +2 -0
- package/types/components/Chip/Chip.tokens.d.ts.map +1 -1
- package/types/components/Combobox/Select.types.d.ts +99 -0
- package/types/components/Combobox/Select.types.d.ts.map +1 -0
- package/types/components/Combobox/hooks/index.d.ts +1 -0
- package/types/components/Combobox/hooks/index.d.ts.map +1 -1
- package/types/components/Combobox/hooks/useKeyNavigation.d.ts.map +1 -0
- package/types/components/Combobox/ui/ComboboxTarget/ComboboxTarget.d.ts.map +1 -1
- package/types/components/Combobox/utils/index.d.ts +13 -1
- package/types/components/Combobox/utils/index.d.ts.map +1 -1
- package/types/components/Dropdown/Dropdown.tokens.d.ts +17 -17
- package/types/components/Dropdown/Dropdown.tokens.d.ts.map +1 -1
- package/types/components/Dropdown/Dropdown.types.d.ts +5 -9
- package/types/components/Dropdown/Dropdown.types.d.ts.map +1 -1
- package/types/components/Dropdown/hooks/useKeyboardNavigation.d.ts.map +1 -1
- package/types/components/Pagination/Pagination.d.ts.map +1 -1
- package/types/components/Pagination/Pagination.tokens.d.ts +9 -11
- package/types/components/Pagination/Pagination.tokens.d.ts.map +1 -1
- package/types/components/Pagination/Pagination.types.d.ts +6 -1
- package/types/components/Pagination/Pagination.types.d.ts.map +1 -1
- package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.d.ts.map +1 -1
- package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts +53 -43
- package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts.map +1 -1
- package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.types.d.ts +5 -2
- package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.types.d.ts.map +1 -1
- package/types/components/Select/Select.d.ts +7 -8
- package/types/components/Select/Select.d.ts.map +1 -1
- package/types/components/Select/Select.styles.d.ts +11 -6
- package/types/components/Select/Select.styles.d.ts.map +1 -1
- package/types/components/Select/Select.tokens.d.ts +71 -165
- package/types/components/Select/Select.tokens.d.ts.map +1 -1
- package/types/components/Select/Select.types.d.ts +128 -65
- package/types/components/Select/Select.types.d.ts.map +1 -1
- package/types/components/Select/elements/InfiniteLoader/InfiniteLoader.d.ts +6 -0
- package/types/components/Select/elements/InfiniteLoader/InfiniteLoader.d.ts.map +1 -0
- package/types/components/Select/elements/InfiniteLoader/InfiniteLoader.styles.d.ts +29 -0
- package/types/components/Select/elements/InfiniteLoader/InfiniteLoader.styles.d.ts.map +1 -0
- package/types/components/Select/elements/Inner/Inner.d.ts +4 -0
- package/types/components/Select/elements/Inner/Inner.d.ts.map +1 -0
- package/types/components/Select/elements/Inner/Inner.type.d.ts +13 -0
- package/types/components/Select/elements/Inner/Inner.type.d.ts.map +1 -0
- package/types/components/Select/elements/Inner/elements/Item/Item.d.ts +4 -0
- package/types/components/Select/elements/Inner/elements/Item/Item.d.ts.map +1 -0
- package/types/components/Select/elements/Inner/elements/Item/Item.styles.d.ts +18 -0
- package/types/components/Select/elements/Inner/elements/Item/Item.styles.d.ts.map +1 -0
- package/types/components/Select/elements/Inner/elements/Item/Item.types.d.ts +57 -0
- package/types/components/Select/elements/Inner/elements/Item/Item.types.d.ts.map +1 -0
- package/types/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.d.ts +4 -0
- package/types/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.d.ts.map +1 -0
- package/types/components/Select/{ui/SelectTarget/SelectTarget.styles.d.ts → elements/SelectNotFoundContent/SelectNotFoundContent.styles.d.ts} +6 -12
- package/types/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.styles.d.ts.map +1 -0
- package/types/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.types.d.ts +8 -0
- package/types/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.types.d.ts.map +1 -0
- package/types/components/Select/elements/Target/Target.d.ts +4 -0
- package/types/components/Select/elements/Target/Target.d.ts.map +1 -0
- package/types/components/Select/elements/Target/Target.types.d.ts +14 -0
- package/types/components/Select/elements/Target/Target.types.d.ts.map +1 -0
- package/types/components/Select/elements/Target/elements/Button/Button.d.ts +4 -0
- package/types/components/Select/elements/Target/elements/Button/Button.d.ts.map +1 -0
- package/types/components/Select/elements/Target/elements/Button/Button.styles.d.ts +49 -0
- package/types/components/Select/elements/Target/elements/Button/Button.styles.d.ts.map +1 -0
- package/types/components/Select/elements/Target/elements/Button/Button.types.d.ts +4 -0
- package/types/components/Select/elements/Target/elements/Button/Button.types.d.ts.map +1 -0
- package/types/components/Select/elements/Target/elements/Textfield/Textfield.d.ts +4 -0
- package/types/components/Select/elements/Target/elements/Textfield/Textfield.d.ts.map +1 -0
- package/types/components/Select/elements/Target/elements/Textfield/Textfield.styles.d.ts +60 -0
- package/types/components/Select/elements/Target/elements/Textfield/Textfield.styles.d.ts.map +1 -0
- package/types/components/Select/elements/Target/elements/Textfield/Textfield.types.d.ts +4 -0
- package/types/components/Select/elements/Target/elements/Textfield/Textfield.types.d.ts.map +1 -0
- package/types/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.d.ts +9 -0
- package/types/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.d.ts.map +1 -0
- package/types/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.styles.d.ts +3 -0
- package/types/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.styles.d.ts.map +1 -0
- package/types/components/Select/hooks/useKeyboardNavigation.d.ts +43 -0
- package/types/components/Select/hooks/useKeyboardNavigation.d.ts.map +1 -0
- package/types/components/Select/hooks/usePathMaps.d.ts +8 -0
- package/types/components/Select/hooks/usePathMaps.d.ts.map +1 -0
- package/types/components/Select/index.d.ts +3 -3
- package/types/components/Select/index.d.ts.map +1 -1
- package/types/components/Select/reducers/focusedChipIndexReducer.d.ts +11 -0
- package/types/components/Select/reducers/focusedChipIndexReducer.d.ts.map +1 -0
- package/types/components/Select/reducers/focusedPathReducer.d.ts +16 -0
- package/types/components/Select/reducers/focusedPathReducer.d.ts.map +1 -0
- package/types/components/Select/reducers/index.d.ts +4 -0
- package/types/components/Select/reducers/index.d.ts.map +1 -0
- package/types/components/Select/reducers/pathReducer.d.ts +20 -0
- package/types/components/Select/reducers/pathReducer.d.ts.map +1 -0
- package/types/components/Select/utils/getButtonLabel.d.ts +3 -0
- package/types/components/Select/utils/getButtonLabel.d.ts.map +1 -0
- package/types/components/Select/utils/getCorrectHeight.d.ts +3 -0
- package/types/components/Select/utils/getCorrectHeight.d.ts.map +1 -0
- package/types/components/Select/utils/getView.d.ts +3 -0
- package/types/components/Select/utils/getView.d.ts.map +1 -0
- package/types/components/Select/utils/index.d.ts +8 -13
- package/types/components/Select/utils/index.d.ts.map +1 -1
- package/types/components/Select/utils/initialItemsTransform.d.ts +3 -0
- package/types/components/Select/utils/initialItemsTransform.d.ts.map +1 -0
- package/types/components/Select/utils/sizeToIconSize.d.ts +3 -0
- package/types/components/Select/utils/sizeToIconSize.d.ts.map +1 -0
- package/types/components/Select/utils/updateAncestors.d.ts +4 -0
- package/types/components/Select/utils/updateAncestors.d.ts.map +1 -0
- package/types/components/Select/utils/updateDescendants.d.ts +4 -0
- package/types/components/Select/utils/updateDescendants.d.ts.map +1 -0
- package/types/components/Select/utils/updateSingleAncestors.d.ts +4 -0
- package/types/components/Select/utils/updateSingleAncestors.d.ts.map +1 -0
- package/types/components/_Icon/Icon.assets/DisclosureDownCentered.d.ts +4 -0
- package/types/components/_Icon/Icon.assets/DisclosureDownCentered.d.ts.map +1 -0
- package/types/components/_Icon/Icon.assets/DisclosureRightCentered.d.ts +4 -0
- package/types/components/_Icon/Icon.assets/DisclosureRightCentered.d.ts.map +1 -0
- package/types/components/_Icon/Icons/IconDisclosureDownCentered.d.ts +4 -0
- package/types/components/_Icon/Icons/IconDisclosureDownCentered.d.ts.map +1 -0
- package/types/components/_Icon/Icons/IconDisclosureRightCentered.d.ts +4 -0
- package/types/components/_Icon/Icons/IconDisclosureRightCentered.d.ts.map +1 -0
- package/types/components/_Icon/index.d.ts +2 -0
- package/types/components/_Icon/index.d.ts.map +1 -1
- package/types/engines/common.d.ts +1 -1
- package/types/engines/common.d.ts.map +1 -1
- package/types/engines/types.d.ts +1 -1
- package/types/engines/types.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Pagination/Pagination.config.d.ts +1 -1
- package/types/examples/plasma_b2c/components/Pagination/Pagination.config.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Pagination/Pagination.d.ts +1 -1
- package/types/examples/plasma_b2c/components/Select/Select.config.d.ts +15 -5
- package/types/examples/plasma_b2c/components/Select/Select.config.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Select/Select.d.ts +70 -55
- package/types/examples/plasma_b2c/components/Select/Select.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Pagination/Pagination.config.d.ts +1 -1
- package/types/examples/plasma_web/components/Pagination/Pagination.config.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Pagination/Pagination.d.ts +1 -1
- package/types/examples/plasma_web/components/Select/Select.config.d.ts +15 -5
- package/types/examples/plasma_web/components/Select/Select.config.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Select/Select.d.ts +70 -55
- package/types/examples/plasma_web/components/Select/Select.d.ts.map +1 -1
- package/types/hooks/index.d.ts +1 -0
- package/types/hooks/index.d.ts.map +1 -1
- package/types/hooks/useOutsideClick.d.ts +3 -0
- package/types/hooks/useOutsideClick.d.ts.map +1 -0
- package/types/utils/index.d.ts +1 -0
- package/types/utils/index.d.ts.map +1 -1
- package/types/utils/isEmpty.d.ts +3 -0
- package/types/utils/isEmpty.d.ts.map +1 -0
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles_rtehle.css +0 -4
- package/cjs/components/Select/Select.styles_1q3i6gw.css +0 -4
- package/cjs/components/Select/hooks/useKeyNavigation.js.map +0 -1
- package/cjs/components/Select/ui/SelectChip/SelectChip.js +0 -39
- package/cjs/components/Select/ui/SelectChip/SelectChip.js.map +0 -1
- package/cjs/components/Select/ui/SelectChip/SelectChip.styles.js.map +0 -1
- package/cjs/components/Select/ui/SelectChip/SelectChip.styles_1u4uw04.css +0 -1
- package/cjs/components/Select/ui/SelectDivider/SelectDivider.css +0 -35
- package/cjs/components/Select/ui/SelectDivider/SelectDivider.js +0 -41
- package/cjs/components/Select/ui/SelectDivider/SelectDivider.js.map +0 -1
- package/cjs/components/Select/ui/SelectDivider/SelectDivider.styles.js +0 -12
- package/cjs/components/Select/ui/SelectDivider/SelectDivider.styles.js.map +0 -1
- package/cjs/components/Select/ui/SelectDivider/SelectDivider.styles_673hj6.css +0 -1
- package/cjs/components/Select/ui/SelectDivider/variations/_size/base.js +0 -9
- package/cjs/components/Select/ui/SelectDivider/variations/_size/base.js.map +0 -1
- package/cjs/components/Select/ui/SelectDivider/variations/_size/base_x642ct.css +0 -1
- package/cjs/components/Select/ui/SelectDivider/variations/_view/base.js +0 -9
- package/cjs/components/Select/ui/SelectDivider/variations/_view/base.js.map +0 -1
- package/cjs/components/Select/ui/SelectDivider/variations/_view/base_x642ct.css +0 -1
- package/cjs/components/Select/ui/SelectFooter/SelectFooter.css +0 -35
- package/cjs/components/Select/ui/SelectFooter/SelectFooter.js +0 -41
- package/cjs/components/Select/ui/SelectFooter/SelectFooter.js.map +0 -1
- package/cjs/components/Select/ui/SelectFooter/SelectFooter.styles.js +0 -12
- package/cjs/components/Select/ui/SelectFooter/SelectFooter.styles.js.map +0 -1
- package/cjs/components/Select/ui/SelectFooter/SelectFooter.styles_11hk6tt.css +0 -1
- package/cjs/components/Select/ui/SelectFooter/variations/_size/base.js +0 -9
- package/cjs/components/Select/ui/SelectFooter/variations/_size/base.js.map +0 -1
- package/cjs/components/Select/ui/SelectFooter/variations/_size/base_x642ct.css +0 -1
- package/cjs/components/Select/ui/SelectFooter/variations/_view/base.js +0 -9
- package/cjs/components/Select/ui/SelectFooter/variations/_view/base.js.map +0 -1
- package/cjs/components/Select/ui/SelectFooter/variations/_view/base_x642ct.css +0 -1
- package/cjs/components/Select/ui/SelectGroup/SelectGroup.css +0 -35
- package/cjs/components/Select/ui/SelectGroup/SelectGroup.js +0 -41
- package/cjs/components/Select/ui/SelectGroup/SelectGroup.js.map +0 -1
- package/cjs/components/Select/ui/SelectGroup/SelectGroup.styles.js +0 -12
- package/cjs/components/Select/ui/SelectGroup/SelectGroup.styles.js.map +0 -1
- package/cjs/components/Select/ui/SelectGroup/SelectGroup.styles_mktu7e.css +0 -1
- package/cjs/components/Select/ui/SelectGroup/variations/_size/base.js +0 -9
- package/cjs/components/Select/ui/SelectGroup/variations/_size/base.js.map +0 -1
- package/cjs/components/Select/ui/SelectGroup/variations/_size/base_x642ct.css +0 -1
- package/cjs/components/Select/ui/SelectGroup/variations/_view/base.js +0 -9
- package/cjs/components/Select/ui/SelectGroup/variations/_view/base.js.map +0 -1
- package/cjs/components/Select/ui/SelectGroup/variations/_view/base_x642ct.css +0 -1
- package/cjs/components/Select/ui/SelectHeader/SelectHeader.css +0 -35
- package/cjs/components/Select/ui/SelectHeader/SelectHeader.js +0 -41
- package/cjs/components/Select/ui/SelectHeader/SelectHeader.js.map +0 -1
- package/cjs/components/Select/ui/SelectHeader/SelectHeader.styles.js +0 -12
- package/cjs/components/Select/ui/SelectHeader/SelectHeader.styles.js.map +0 -1
- package/cjs/components/Select/ui/SelectHeader/SelectHeader.styles_24gqog.css +0 -1
- package/cjs/components/Select/ui/SelectHeader/variations/_size/base.js +0 -9
- package/cjs/components/Select/ui/SelectHeader/variations/_size/base.js.map +0 -1
- package/cjs/components/Select/ui/SelectHeader/variations/_size/base_x642ct.css +0 -1
- package/cjs/components/Select/ui/SelectHeader/variations/_view/base.js +0 -9
- package/cjs/components/Select/ui/SelectHeader/variations/_view/base.js.map +0 -1
- package/cjs/components/Select/ui/SelectHeader/variations/_view/base_x642ct.css +0 -1
- package/cjs/components/Select/ui/SelectItem/SelectItem.css +0 -35
- package/cjs/components/Select/ui/SelectItem/SelectItem.js +0 -40
- package/cjs/components/Select/ui/SelectItem/SelectItem.js.map +0 -1
- package/cjs/components/Select/ui/SelectItem/SelectItem.styles.js +0 -19
- package/cjs/components/Select/ui/SelectItem/SelectItem.styles.js.map +0 -1
- package/cjs/components/Select/ui/SelectItem/SelectItem.styles_vk39mp.css +0 -1
- package/cjs/components/Select/ui/SelectItem/variations/_size/base.js +0 -9
- package/cjs/components/Select/ui/SelectItem/variations/_size/base.js.map +0 -1
- package/cjs/components/Select/ui/SelectItem/variations/_size/base_x642ct.css +0 -1
- package/cjs/components/Select/ui/SelectItem/variations/_view/base.js +0 -9
- package/cjs/components/Select/ui/SelectItem/variations/_view/base.js.map +0 -1
- package/cjs/components/Select/ui/SelectItem/variations/_view/base_x642ct.css +0 -1
- package/cjs/components/Select/ui/SelectTarget/SelectTarget.js +0 -148
- package/cjs/components/Select/ui/SelectTarget/SelectTarget.js.map +0 -1
- package/cjs/components/Select/ui/SelectTarget/SelectTarget.styles.js +0 -112
- package/cjs/components/Select/ui/SelectTarget/SelectTarget.styles.js.map +0 -1
- package/cjs/components/Select/ui/SelectTarget/SelectTarget.styles_hb1tns.css +0 -6
- package/cjs/components/Select/utils/index.js +0 -112
- package/cjs/components/Select/utils/index.js.map +0 -1
- package/cjs/components/Select/variations/_target/base.js +0 -9
- package/cjs/components/Select/variations/_target/base.js.map +0 -1
- package/cjs/components/Select/variations/_target/base_x642ct.css +0 -1
- package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles_rtehle.css +0 -4
- package/es/components/Select/Select.styles_1q3i6gw.css +0 -4
- package/es/components/Select/hooks/useKeyNavigation.js.map +0 -1
- package/es/components/Select/ui/SelectChip/SelectChip.js +0 -35
- package/es/components/Select/ui/SelectChip/SelectChip.js.map +0 -1
- package/es/components/Select/ui/SelectChip/SelectChip.styles.js +0 -22
- package/es/components/Select/ui/SelectChip/SelectChip.styles.js.map +0 -1
- package/es/components/Select/ui/SelectChip/SelectChip.styles_1u4uw04.css +0 -1
- package/es/components/Select/ui/SelectDivider/SelectDivider.css +0 -35
- package/es/components/Select/ui/SelectDivider/SelectDivider.js +0 -36
- package/es/components/Select/ui/SelectDivider/SelectDivider.js.map +0 -1
- package/es/components/Select/ui/SelectDivider/SelectDivider.styles.js +0 -7
- package/es/components/Select/ui/SelectDivider/SelectDivider.styles.js.map +0 -1
- package/es/components/Select/ui/SelectDivider/SelectDivider.styles_673hj6.css +0 -1
- package/es/components/Select/ui/SelectDivider/variations/_size/base.js +0 -5
- package/es/components/Select/ui/SelectDivider/variations/_size/base.js.map +0 -1
- package/es/components/Select/ui/SelectDivider/variations/_size/base_x642ct.css +0 -1
- package/es/components/Select/ui/SelectDivider/variations/_view/base.js +0 -5
- package/es/components/Select/ui/SelectDivider/variations/_view/base.js.map +0 -1
- package/es/components/Select/ui/SelectDivider/variations/_view/base_x642ct.css +0 -1
- package/es/components/Select/ui/SelectFooter/SelectFooter.css +0 -35
- package/es/components/Select/ui/SelectFooter/SelectFooter.js +0 -36
- package/es/components/Select/ui/SelectFooter/SelectFooter.js.map +0 -1
- package/es/components/Select/ui/SelectFooter/SelectFooter.styles.js +0 -7
- package/es/components/Select/ui/SelectFooter/SelectFooter.styles.js.map +0 -1
- package/es/components/Select/ui/SelectFooter/SelectFooter.styles_11hk6tt.css +0 -1
- package/es/components/Select/ui/SelectFooter/variations/_size/base.js +0 -5
- package/es/components/Select/ui/SelectFooter/variations/_size/base.js.map +0 -1
- package/es/components/Select/ui/SelectFooter/variations/_size/base_x642ct.css +0 -1
- package/es/components/Select/ui/SelectFooter/variations/_view/base.js +0 -5
- package/es/components/Select/ui/SelectFooter/variations/_view/base.js.map +0 -1
- package/es/components/Select/ui/SelectFooter/variations/_view/base_x642ct.css +0 -1
- package/es/components/Select/ui/SelectGroup/SelectGroup.css +0 -35
- package/es/components/Select/ui/SelectGroup/SelectGroup.js +0 -36
- package/es/components/Select/ui/SelectGroup/SelectGroup.js.map +0 -1
- package/es/components/Select/ui/SelectGroup/SelectGroup.styles.js +0 -7
- package/es/components/Select/ui/SelectGroup/SelectGroup.styles.js.map +0 -1
- package/es/components/Select/ui/SelectGroup/SelectGroup.styles_mktu7e.css +0 -1
- package/es/components/Select/ui/SelectGroup/variations/_size/base.js +0 -5
- package/es/components/Select/ui/SelectGroup/variations/_size/base.js.map +0 -1
- package/es/components/Select/ui/SelectGroup/variations/_size/base_x642ct.css +0 -1
- package/es/components/Select/ui/SelectGroup/variations/_view/base.js +0 -5
- package/es/components/Select/ui/SelectGroup/variations/_view/base.js.map +0 -1
- package/es/components/Select/ui/SelectGroup/variations/_view/base_x642ct.css +0 -1
- package/es/components/Select/ui/SelectHeader/SelectHeader.css +0 -35
- package/es/components/Select/ui/SelectHeader/SelectHeader.js +0 -36
- package/es/components/Select/ui/SelectHeader/SelectHeader.js.map +0 -1
- package/es/components/Select/ui/SelectHeader/SelectHeader.styles.js +0 -7
- package/es/components/Select/ui/SelectHeader/SelectHeader.styles.js.map +0 -1
- package/es/components/Select/ui/SelectHeader/SelectHeader.styles_24gqog.css +0 -1
- package/es/components/Select/ui/SelectHeader/variations/_size/base.js +0 -5
- package/es/components/Select/ui/SelectHeader/variations/_size/base.js.map +0 -1
- package/es/components/Select/ui/SelectHeader/variations/_size/base_x642ct.css +0 -1
- package/es/components/Select/ui/SelectHeader/variations/_view/base.js +0 -5
- package/es/components/Select/ui/SelectHeader/variations/_view/base.js.map +0 -1
- package/es/components/Select/ui/SelectHeader/variations/_view/base_x642ct.css +0 -1
- package/es/components/Select/ui/SelectItem/SelectItem.css +0 -35
- package/es/components/Select/ui/SelectItem/SelectItem.js +0 -35
- package/es/components/Select/ui/SelectItem/SelectItem.js.map +0 -1
- package/es/components/Select/ui/SelectItem/SelectItem.styles.js +0 -15
- package/es/components/Select/ui/SelectItem/SelectItem.styles.js.map +0 -1
- package/es/components/Select/ui/SelectItem/SelectItem.styles_vk39mp.css +0 -1
- package/es/components/Select/ui/SelectItem/variations/_size/base.js +0 -5
- package/es/components/Select/ui/SelectItem/variations/_size/base.js.map +0 -1
- package/es/components/Select/ui/SelectItem/variations/_size/base_x642ct.css +0 -1
- package/es/components/Select/ui/SelectItem/variations/_view/base.js +0 -5
- package/es/components/Select/ui/SelectItem/variations/_view/base.js.map +0 -1
- package/es/components/Select/ui/SelectItem/variations/_view/base_x642ct.css +0 -1
- package/es/components/Select/ui/SelectTarget/SelectTarget.js +0 -144
- package/es/components/Select/ui/SelectTarget/SelectTarget.js.map +0 -1
- package/es/components/Select/ui/SelectTarget/SelectTarget.styles.js +0 -103
- package/es/components/Select/ui/SelectTarget/SelectTarget.styles.js.map +0 -1
- package/es/components/Select/ui/SelectTarget/SelectTarget.styles_hb1tns.css +0 -6
- package/es/components/Select/utils/index.js +0 -105
- package/es/components/Select/utils/index.js.map +0 -1
- package/es/components/Select/variations/_target/base.js +0 -5
- package/es/components/Select/variations/_target/base.js.map +0 -1
- package/es/components/Select/variations/_target/base_x642ct.css +0 -1
- package/styled-components/cjs/components/Select/Select.template-doc.mdx +0 -115
- package/styled-components/cjs/components/Select/hooks/index.js +0 -12
- package/styled-components/cjs/components/Select/ui/SelectChip/SelectChip.styles.js +0 -25
- package/styled-components/cjs/components/Select/ui/SelectDivider/SelectDivider.js +0 -29
- package/styled-components/cjs/components/Select/ui/SelectDivider/SelectDivider.styles.js +0 -12
- package/styled-components/cjs/components/Select/ui/SelectDivider/variations/_size/base.js +0 -8
- package/styled-components/cjs/components/Select/ui/SelectDivider/variations/_size/tokens.json +0 -8
- package/styled-components/cjs/components/Select/ui/SelectDivider/variations/_view/base.js +0 -8
- package/styled-components/cjs/components/Select/ui/SelectDivider/variations/_view/tokens.json +0 -1
- package/styled-components/cjs/components/Select/ui/SelectFooter/SelectFooter.js +0 -29
- package/styled-components/cjs/components/Select/ui/SelectFooter/SelectFooter.styles.js +0 -12
- package/styled-components/cjs/components/Select/ui/SelectFooter/variations/_size/base.js +0 -8
- package/styled-components/cjs/components/Select/ui/SelectFooter/variations/_size/tokens.json +0 -12
- package/styled-components/cjs/components/Select/ui/SelectFooter/variations/_view/base.js +0 -8
- package/styled-components/cjs/components/Select/ui/SelectFooter/variations/_view/tokens.json +0 -9
- package/styled-components/cjs/components/Select/ui/SelectGroup/SelectGroup.js +0 -29
- package/styled-components/cjs/components/Select/ui/SelectGroup/SelectGroup.styles.js +0 -12
- package/styled-components/cjs/components/Select/ui/SelectGroup/variations/_size/base.js +0 -8
- package/styled-components/cjs/components/Select/ui/SelectGroup/variations/_size/tokens.json +0 -20
- package/styled-components/cjs/components/Select/ui/SelectGroup/variations/_view/base.js +0 -8
- package/styled-components/cjs/components/Select/ui/SelectGroup/variations/_view/tokens.json +0 -10
- package/styled-components/cjs/components/Select/ui/SelectHeader/SelectHeader.js +0 -29
- package/styled-components/cjs/components/Select/ui/SelectHeader/SelectHeader.styles.js +0 -12
- package/styled-components/cjs/components/Select/ui/SelectHeader/variations/_size/base.js +0 -8
- package/styled-components/cjs/components/Select/ui/SelectHeader/variations/_size/tokens.json +0 -12
- package/styled-components/cjs/components/Select/ui/SelectHeader/variations/_view/base.js +0 -8
- package/styled-components/cjs/components/Select/ui/SelectHeader/variations/_view/tokens.json +0 -9
- package/styled-components/cjs/components/Select/ui/SelectItem/SelectItem.js +0 -29
- package/styled-components/cjs/components/Select/ui/SelectItem/SelectItem.styles.js +0 -13
- package/styled-components/cjs/components/Select/ui/SelectItem/variations/_size/base.js +0 -8
- package/styled-components/cjs/components/Select/ui/SelectItem/variations/_size/tokens.json +0 -19
- package/styled-components/cjs/components/Select/ui/SelectItem/variations/_view/base.js +0 -8
- package/styled-components/cjs/components/Select/ui/SelectItem/variations/_view/tokens.json +0 -9
- package/styled-components/cjs/components/Select/ui/SelectTarget/SelectTarget.js +0 -157
- package/styled-components/cjs/components/Select/ui/SelectTarget/SelectTarget.styles.js +0 -69
- package/styled-components/cjs/components/Select/ui/index.js +0 -77
- package/styled-components/cjs/components/Select/variations/_target/base.js +0 -8
- package/styled-components/cjs/components/Select/variations/_target/tokens.json +0 -1
- package/styled-components/es/components/Select/Select.template-doc.mdx +0 -115
- package/styled-components/es/components/Select/hooks/index.js +0 -1
- package/styled-components/es/components/Select/ui/SelectChip/SelectChip.js +0 -31
- package/styled-components/es/components/Select/ui/SelectChip/SelectChip.styles.js +0 -19
- package/styled-components/es/components/Select/ui/SelectDivider/SelectDivider.js +0 -23
- package/styled-components/es/components/Select/ui/SelectDivider/SelectDivider.styles.js +0 -7
- package/styled-components/es/components/Select/ui/SelectDivider/variations/_size/base.js +0 -2
- package/styled-components/es/components/Select/ui/SelectDivider/variations/_size/tokens.json +0 -8
- package/styled-components/es/components/Select/ui/SelectDivider/variations/_view/base.js +0 -2
- package/styled-components/es/components/Select/ui/SelectDivider/variations/_view/tokens.json +0 -1
- package/styled-components/es/components/Select/ui/SelectFooter/SelectFooter.js +0 -23
- package/styled-components/es/components/Select/ui/SelectFooter/SelectFooter.styles.js +0 -7
- package/styled-components/es/components/Select/ui/SelectFooter/variations/_size/base.js +0 -2
- package/styled-components/es/components/Select/ui/SelectFooter/variations/_size/tokens.json +0 -12
- package/styled-components/es/components/Select/ui/SelectFooter/variations/_view/base.js +0 -2
- package/styled-components/es/components/Select/ui/SelectFooter/variations/_view/tokens.json +0 -9
- package/styled-components/es/components/Select/ui/SelectGroup/SelectGroup.js +0 -23
- package/styled-components/es/components/Select/ui/SelectGroup/SelectGroup.styles.js +0 -7
- package/styled-components/es/components/Select/ui/SelectGroup/variations/_size/base.js +0 -2
- package/styled-components/es/components/Select/ui/SelectGroup/variations/_size/tokens.json +0 -20
- package/styled-components/es/components/Select/ui/SelectGroup/variations/_view/base.js +0 -2
- package/styled-components/es/components/Select/ui/SelectGroup/variations/_view/tokens.json +0 -10
- package/styled-components/es/components/Select/ui/SelectHeader/SelectHeader.js +0 -23
- package/styled-components/es/components/Select/ui/SelectHeader/SelectHeader.styles.js +0 -7
- package/styled-components/es/components/Select/ui/SelectHeader/variations/_size/base.js +0 -2
- package/styled-components/es/components/Select/ui/SelectHeader/variations/_size/tokens.json +0 -12
- package/styled-components/es/components/Select/ui/SelectHeader/variations/_view/base.js +0 -2
- package/styled-components/es/components/Select/ui/SelectHeader/variations/_view/tokens.json +0 -9
- package/styled-components/es/components/Select/ui/SelectItem/SelectItem.js +0 -23
- package/styled-components/es/components/Select/ui/SelectItem/SelectItem.styles.js +0 -8
- package/styled-components/es/components/Select/ui/SelectItem/variations/_size/base.js +0 -2
- package/styled-components/es/components/Select/ui/SelectItem/variations/_size/tokens.json +0 -19
- package/styled-components/es/components/Select/ui/SelectItem/variations/_view/base.js +0 -2
- package/styled-components/es/components/Select/ui/SelectItem/variations/_view/tokens.json +0 -9
- package/styled-components/es/components/Select/ui/SelectTarget/SelectTarget.js +0 -148
- package/styled-components/es/components/Select/ui/SelectTarget/SelectTarget.styles.js +0 -62
- package/styled-components/es/components/Select/ui/index.js +0 -6
- package/styled-components/es/components/Select/variations/_target/base.js +0 -2
- package/styled-components/es/components/Select/variations/_target/tokens.json +0 -1
- package/types/components/Select/hooks/index.d.ts +0 -2
- package/types/components/Select/hooks/index.d.ts.map +0 -1
- package/types/components/Select/hooks/useKeyNavigation.d.ts.map +0 -1
- package/types/components/Select/ui/SelectChip/SelectChip.d.ts +0 -7
- package/types/components/Select/ui/SelectChip/SelectChip.d.ts.map +0 -1
- package/types/components/Select/ui/SelectChip/SelectChip.styles.d.ts +0 -3
- package/types/components/Select/ui/SelectChip/SelectChip.styles.d.ts.map +0 -1
- package/types/components/Select/ui/SelectChip/SelectChip.types.d.ts +0 -37
- package/types/components/Select/ui/SelectChip/SelectChip.types.d.ts.map +0 -1
- package/types/components/Select/ui/SelectDivider/SelectDivider.d.ts +0 -29
- package/types/components/Select/ui/SelectDivider/SelectDivider.d.ts.map +0 -1
- package/types/components/Select/ui/SelectDivider/SelectDivider.styles.d.ts +0 -3
- package/types/components/Select/ui/SelectDivider/SelectDivider.styles.d.ts.map +0 -1
- package/types/components/Select/ui/SelectDivider/SelectDivider.types.d.ts +0 -3
- package/types/components/Select/ui/SelectDivider/SelectDivider.types.d.ts.map +0 -1
- package/types/components/Select/ui/SelectDivider/variations/_size/base.d.ts +0 -2
- package/types/components/Select/ui/SelectDivider/variations/_size/base.d.ts.map +0 -1
- package/types/components/Select/ui/SelectDivider/variations/_view/base.d.ts +0 -2
- package/types/components/Select/ui/SelectDivider/variations/_view/base.d.ts.map +0 -1
- package/types/components/Select/ui/SelectFooter/SelectFooter.d.ts +0 -29
- package/types/components/Select/ui/SelectFooter/SelectFooter.d.ts.map +0 -1
- package/types/components/Select/ui/SelectFooter/SelectFooter.styles.d.ts +0 -3
- package/types/components/Select/ui/SelectFooter/SelectFooter.styles.d.ts.map +0 -1
- package/types/components/Select/ui/SelectFooter/SelectFooter.type.d.ts +0 -3
- package/types/components/Select/ui/SelectFooter/SelectFooter.type.d.ts.map +0 -1
- package/types/components/Select/ui/SelectFooter/variations/_size/base.d.ts +0 -2
- package/types/components/Select/ui/SelectFooter/variations/_size/base.d.ts.map +0 -1
- package/types/components/Select/ui/SelectFooter/variations/_view/base.d.ts +0 -2
- package/types/components/Select/ui/SelectFooter/variations/_view/base.d.ts.map +0 -1
- package/types/components/Select/ui/SelectGroup/SelectGroup.d.ts +0 -37
- package/types/components/Select/ui/SelectGroup/SelectGroup.d.ts.map +0 -1
- package/types/components/Select/ui/SelectGroup/SelectGroup.styles.d.ts +0 -3
- package/types/components/Select/ui/SelectGroup/SelectGroup.styles.d.ts.map +0 -1
- package/types/components/Select/ui/SelectGroup/SelectGroup.type.d.ts +0 -3
- package/types/components/Select/ui/SelectGroup/SelectGroup.type.d.ts.map +0 -1
- package/types/components/Select/ui/SelectGroup/variations/_size/base.d.ts +0 -2
- package/types/components/Select/ui/SelectGroup/variations/_size/base.d.ts.map +0 -1
- package/types/components/Select/ui/SelectGroup/variations/_view/base.d.ts +0 -2
- package/types/components/Select/ui/SelectGroup/variations/_view/base.d.ts.map +0 -1
- package/types/components/Select/ui/SelectHeader/SelectHeader.d.ts +0 -29
- package/types/components/Select/ui/SelectHeader/SelectHeader.d.ts.map +0 -1
- package/types/components/Select/ui/SelectHeader/SelectHeader.styles.d.ts +0 -3
- package/types/components/Select/ui/SelectHeader/SelectHeader.styles.d.ts.map +0 -1
- package/types/components/Select/ui/SelectHeader/SelectHeader.type.d.ts +0 -3
- package/types/components/Select/ui/SelectHeader/SelectHeader.type.d.ts.map +0 -1
- package/types/components/Select/ui/SelectHeader/variations/_size/base.d.ts +0 -2
- package/types/components/Select/ui/SelectHeader/variations/_size/base.d.ts.map +0 -1
- package/types/components/Select/ui/SelectHeader/variations/_view/base.d.ts +0 -2
- package/types/components/Select/ui/SelectHeader/variations/_view/base.d.ts.map +0 -1
- package/types/components/Select/ui/SelectItem/SelectItem.d.ts +0 -53
- package/types/components/Select/ui/SelectItem/SelectItem.d.ts.map +0 -1
- package/types/components/Select/ui/SelectItem/SelectItem.styles.d.ts +0 -3
- package/types/components/Select/ui/SelectItem/SelectItem.styles.d.ts.map +0 -1
- package/types/components/Select/ui/SelectItem/SelectItem.type.d.ts +0 -3
- package/types/components/Select/ui/SelectItem/SelectItem.type.d.ts.map +0 -1
- package/types/components/Select/ui/SelectItem/variations/_size/base.d.ts +0 -2
- package/types/components/Select/ui/SelectItem/variations/_size/base.d.ts.map +0 -1
- package/types/components/Select/ui/SelectItem/variations/_view/base.d.ts +0 -2
- package/types/components/Select/ui/SelectItem/variations/_view/base.d.ts.map +0 -1
- package/types/components/Select/ui/SelectTarget/SelectTarget.d.ts +0 -7
- package/types/components/Select/ui/SelectTarget/SelectTarget.d.ts.map +0 -1
- package/types/components/Select/ui/SelectTarget/SelectTarget.styles.d.ts.map +0 -1
- package/types/components/Select/ui/SelectTarget/SelectTarget.types.d.ts +0 -60
- package/types/components/Select/ui/SelectTarget/SelectTarget.types.d.ts.map +0 -1
- package/types/components/Select/ui/index.d.ts +0 -7
- package/types/components/Select/ui/index.d.ts.map +0 -1
- package/types/components/Select/variations/_target/base.d.ts +0 -2
- package/types/components/Select/variations/_target/base.d.ts.map +0 -1
- /package/cjs/components/{Select → Combobox}/hooks/useKeyNavigation.js +0 -0
- /package/es/components/{Select → Combobox}/hooks/useKeyNavigation.js +0 -0
- /package/styled-components/cjs/components/{Select/ui/SelectChip/SelectChip.types.js → Combobox/Select.types.js} +0 -0
- /package/styled-components/cjs/components/{Select → Combobox}/hooks/useKeyNavigation.js +0 -0
- /package/styled-components/cjs/components/Select/{ui/SelectDivider/SelectDivider.types.js → elements/Inner/Inner.type.js} +0 -0
- /package/styled-components/cjs/components/Select/{ui/SelectFooter/SelectFooter.type.js → elements/Inner/elements/Item/Item.types.js} +0 -0
- /package/styled-components/cjs/components/Select/{ui/SelectGroup/SelectGroup.type.js → elements/SelectNotFoundContent/SelectNotFoundContent.types.js} +0 -0
- /package/styled-components/cjs/components/Select/{ui/SelectHeader/SelectHeader.type.js → elements/Target/Target.types.js} +0 -0
- /package/styled-components/cjs/components/Select/{ui/SelectItem/SelectItem.type.js → elements/Target/elements/Button/Button.types.js} +0 -0
- /package/styled-components/cjs/components/Select/{ui/SelectTarget/SelectTarget.types.js → elements/Target/elements/Textfield/Textfield.types.js} +0 -0
- /package/styled-components/es/components/{Select/ui/SelectChip/SelectChip.types.js → Combobox/Select.types.js} +0 -0
- /package/styled-components/es/components/{Select → Combobox}/hooks/useKeyNavigation.js +0 -0
- /package/styled-components/es/components/Select/{ui/SelectDivider/SelectDivider.types.js → elements/Inner/Inner.type.js} +0 -0
- /package/styled-components/es/components/Select/{ui/SelectFooter/SelectFooter.type.js → elements/Inner/elements/Item/Item.types.js} +0 -0
- /package/styled-components/es/components/Select/{ui/SelectGroup/SelectGroup.type.js → elements/SelectNotFoundContent/SelectNotFoundContent.types.js} +0 -0
- /package/styled-components/es/components/Select/{ui/SelectHeader/SelectHeader.type.js → elements/Target/Target.types.js} +0 -0
- /package/styled-components/es/components/Select/{ui/SelectItem/SelectItem.type.js → elements/Target/elements/Button/Button.types.js} +0 -0
- /package/styled-components/es/components/Select/{ui/SelectTarget/SelectTarget.types.js → elements/Target/elements/Textfield/Textfield.types.js} +0 -0
- /package/types/components/{Select → Combobox}/hooks/useKeyNavigation.d.ts +0 -0
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"PaginationSelectPerPage.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,oBAAY,2BAA2B,GAAG;IAItC,
|
1
|
+
{"version":3,"file":"PaginationSelectPerPage.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAE9D,oBAAY,2BAA2B,GAAG;IAItC,YAAY,CAAC,EAAE,MAAM,CAAC;IAKtB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IAKvB,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,aAAa,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAExC,IAAI,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;IAE9B,SAAS,EAAE,eAAe,CAAC,WAAW,CAAC,CAAC;CAC3C,CAAC;AAEF,oBAAY,4BAA4B,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG,2BAA2B,CAAC"}
|
@@ -1,19 +1,17 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { RootProps } from '../../engines';
|
3
|
-
import type { SelectProps } from './Select.types';
|
3
|
+
import type { SelectProps, ItemContext } from './Select.types';
|
4
|
+
export declare const Context: React.Context<ItemContext>;
|
4
5
|
/**
|
5
|
-
* Выпадающий
|
6
|
+
* Выпадающий список. Поддерживает выбор одного или нескольких значений.
|
6
7
|
*/
|
7
|
-
export declare const selectRoot: (Root: RootProps<
|
8
|
+
export declare const selectRoot: (Root: RootProps<HTMLButtonElement, Omit<SelectProps, 'items'>>) => React.ForwardRefExoticComponent<SelectProps & React.RefAttributes<HTMLButtonElement>>;
|
8
9
|
export declare const selectConfig: {
|
9
10
|
name: string;
|
10
11
|
tag: string;
|
11
|
-
layout: (Root: RootProps<
|
12
|
-
base:
|
12
|
+
layout: (Root: RootProps<HTMLButtonElement, Omit<SelectProps, 'items'>>) => React.ForwardRefExoticComponent<SelectProps & React.RefAttributes<HTMLButtonElement>>;
|
13
|
+
base: import("@linaria/core").LinariaClassName;
|
13
14
|
variations: {
|
14
|
-
target: {
|
15
|
-
css: import("@linaria/core").LinariaClassName;
|
16
|
-
};
|
17
15
|
view: {
|
18
16
|
css: import("@linaria/core").LinariaClassName;
|
19
17
|
};
|
@@ -23,6 +21,7 @@ export declare const selectConfig: {
|
|
23
21
|
};
|
24
22
|
defaults: {
|
25
23
|
view: string;
|
24
|
+
chipView: string;
|
26
25
|
size: string;
|
27
26
|
};
|
28
27
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
1
|
+
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoF,MAAM,OAAO,CAAC;AAEzG,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAY1C,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAK/D,eAAO,MAAM,OAAO,4BAAgD,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,UAAU,SAAU,UAAU,iBAAiB,EAAE,KAAK,WAAW,EAAE,OAAO,CAAC,CAAC,0FAiQnF,CAAC;AAEP,eAAO,MAAM,YAAY;;;mBAnQQ,UAAU,iBAAiB,EAAE,KAAK,WAAW,EAAE,OAAO,CAAC,CAAC;;;;;;;;;;;;;;;CAqRxF,CAAC"}
|
@@ -1,12 +1,17 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
|
3
|
-
export declare const
|
4
|
-
export declare const StyledPopover: import("@linaria/react").StyledComponent<{
|
5
|
-
selectWidth?: number | undefined;
|
6
|
-
} & import("../../engines/types").PropsType<{
|
2
|
+
import { SelectProps } from './Select.types';
|
3
|
+
export declare const StyledPopover: import("@linaria/react").StyledMeta & import("react").FunctionComponent<import("../../engines/types").PropsType<{
|
7
4
|
view: {
|
8
5
|
css: import("@linaria/core").LinariaClassName;
|
9
6
|
};
|
10
7
|
}> & import("react").HTMLAttributes<HTMLDivElement> & import("../Popover/Popover.types").CustomPopoverProps & import("react").RefAttributes<HTMLDivElement>>;
|
11
|
-
export declare const
|
8
|
+
export declare const Ul: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLUListElement> & import("react").HTMLAttributes<HTMLUListElement> & {
|
9
|
+
listOverflow?: SelectProps['listOverflow'];
|
10
|
+
listHeight?: SelectProps['listHeight'];
|
11
|
+
listWidth?: SelectProps['listWidth'];
|
12
|
+
isInnerUl?: boolean | undefined;
|
13
|
+
}>;
|
14
|
+
export declare const base: import("@linaria/core").LinariaClassName;
|
15
|
+
export declare const OuterLabel: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLLabelElement> & import("react").LabelHTMLAttributes<HTMLLabelElement> & Record<never, unknown>>;
|
16
|
+
export declare const HelperText: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
12
17
|
//# sourceMappingURL=Select.styles.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Select.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.styles.ts"],"names":[],"mappings":";
|
1
|
+
{"version":3,"file":"Select.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.styles.ts"],"names":[],"mappings":";AAOA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAK7C,eAAO,MAAM,aAAa;;;;4JAIzB,CAAC;AAEF,eAAO,MAAM,EAAE;mBACI,WAAW,CAAC,cAAc,CAAC;iBAC7B,WAAW,CAAC,YAAY,CAAC;gBAC1B,WAAW,CAAC,WAAW,CAAC;;EAevC,CAAC;AAEF,eAAO,MAAM,IAAI,0CAIhB,CAAC;AAEF,eAAO,MAAM,UAAU,8KAWtB,CAAC;AAEF,eAAO,MAAM,UAAU,qKAStB,CAAC"}
|
@@ -1,187 +1,93 @@
|
|
1
1
|
export declare const classes: {
|
2
|
-
|
3
|
-
|
4
|
-
|
2
|
+
dropdownItemIsFocused: string;
|
3
|
+
dropdownItemIsDisabled: string;
|
4
|
+
dropdownItemIsActive: string;
|
5
5
|
selectTargetArrow: string;
|
6
6
|
arrowInverse: string;
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
innerLabelUp: string;
|
7
|
+
textfieldTarget: string;
|
8
|
+
selectChipIsFocused: string;
|
9
|
+
selectWithoutBoxShadow: string;
|
10
|
+
selectItemCheckbox: string;
|
11
|
+
selectSpinner: string;
|
13
12
|
};
|
14
13
|
export declare const tokens: {
|
15
|
-
background: string;
|
16
|
-
boxShadow: string;
|
17
|
-
width: string;
|
18
|
-
height: string;
|
19
14
|
borderRadius: string;
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
itemColorSelected: string;
|
29
|
-
itemBackgroundSelectedHover: string;
|
30
|
-
itemColorSelectedHover: string;
|
31
|
-
itemWidth: string;
|
15
|
+
padding: string;
|
16
|
+
focusOffset: string;
|
17
|
+
fontFamily: string;
|
18
|
+
fontSize: string;
|
19
|
+
fontStyle: string;
|
20
|
+
fontWeight: string;
|
21
|
+
fontLetterSpacing: string;
|
22
|
+
fontLineHeight: string;
|
32
23
|
itemHeight: string;
|
33
24
|
itemBorderRadius: string;
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
footerFontWeightBold: string;
|
67
|
-
footerFontLetterSpacing: string;
|
68
|
-
footerFontLineHeight: string;
|
69
|
-
headerBackground: string;
|
70
|
-
headerWidth: string;
|
71
|
-
headerHeight: string;
|
72
|
-
headerPaddingTop: string;
|
73
|
-
headerPaddingRight: string;
|
74
|
-
headerPaddingBottom: string;
|
75
|
-
headerPaddingLeft: string;
|
76
|
-
headerMarginTop: string;
|
77
|
-
headerMarginRight: string;
|
78
|
-
headerMarginBottom: string;
|
79
|
-
headerMarginLeft: string;
|
80
|
-
headerFontFamily: string;
|
81
|
-
headerFontSize: string;
|
82
|
-
headerFontStyle: string;
|
83
|
-
headerFontWeightBold: string;
|
84
|
-
headerFontLetterSpacing: string;
|
85
|
-
headerFontLineHeight: string;
|
86
|
-
dividerColor: string;
|
87
|
-
dividerWidth: string;
|
88
|
-
dividerHeight: string;
|
89
|
-
dividerMarginTop: string;
|
90
|
-
dividerMarginRight: string;
|
91
|
-
dividerMarginBottom: string;
|
92
|
-
dividerMarginLeft: string;
|
93
|
-
groupBackground: string;
|
94
|
-
groupWidth: string;
|
95
|
-
groupHeight: string;
|
96
|
-
groupPaddingTop: string;
|
97
|
-
groupPaddingRight: string;
|
98
|
-
groupPaddingBottom: string;
|
99
|
-
groupPaddingLeft: string;
|
100
|
-
groupMarginTop: string;
|
101
|
-
groupMarginRight: string;
|
102
|
-
groupMarginBottom: string;
|
103
|
-
groupMarginLeft: string;
|
104
|
-
groupLabelColor: string;
|
105
|
-
groupLabelFontFamily: string;
|
106
|
-
groupLabelFontSize: string;
|
107
|
-
groupLabelFontStyle: string;
|
108
|
-
groupLabelFontWeight: string;
|
109
|
-
groupLabelLetterSpacing: string;
|
110
|
-
groupLabelLineHeight: string;
|
111
|
-
groupLabelPaddingTop: string;
|
112
|
-
groupLabelPaddingRight: string;
|
113
|
-
groupLabelPaddingBottom: string;
|
114
|
-
groupLabelPaddingLeft: string;
|
115
|
-
groupLabelMarginTop: string;
|
116
|
-
groupLabelMarginRight: string;
|
117
|
-
groupLabelMarginBottom: string;
|
118
|
-
groupLabelMarginLeft: string;
|
119
|
-
targetColor: string;
|
120
|
-
targetLabelColor: string;
|
121
|
-
targetArrowColor: string;
|
122
|
-
targetArrowRight: string;
|
123
|
-
targetBackgroundColor: string;
|
124
|
-
targetBackgroundColorHover: string;
|
125
|
-
targetBackgroundColorActive: string;
|
126
|
-
targetBackgroundColorOpen: string;
|
127
|
-
targetBorderColor: string;
|
128
|
-
targetBorderColorHover: string;
|
129
|
-
targetBorderColorActive: string;
|
130
|
-
targetBorderColorOpen: string;
|
131
|
-
targetInnerTop: string;
|
132
|
-
targetPadding: string;
|
133
|
-
targetPaddingWithInput: string;
|
134
|
-
targetPaddingHasChips: string;
|
25
|
+
itemPadding: string;
|
26
|
+
itemPaddingTight: string;
|
27
|
+
itemIconSize: string;
|
28
|
+
itemIconSizeTight: string;
|
29
|
+
itemIconMargin: string;
|
30
|
+
checkboxTriggerSize: string;
|
31
|
+
checkboxTriggerSizeTight: string;
|
32
|
+
checkboxTriggerBorderRadius: string;
|
33
|
+
checkboxTriggerBorderRadiusTight: string;
|
34
|
+
checkboxFillColor: string;
|
35
|
+
checkboxIconColor: string;
|
36
|
+
checkboxTriggerBorderColor: string;
|
37
|
+
indicatorSize: string;
|
38
|
+
targetButtonColor: string;
|
39
|
+
targetButtonColorHover: string;
|
40
|
+
targetButtonColorActive: string;
|
41
|
+
targetButtonArrowColor: string;
|
42
|
+
targetButtonArrowColorHover: string;
|
43
|
+
targetButtonArrowColorActive: string;
|
44
|
+
targetTextfieldArrowColor: string;
|
45
|
+
targetTextfieldArrowColorHover: string;
|
46
|
+
targetTextfieldArrowColorActive: string;
|
47
|
+
targetButtonArrowMargin: string;
|
48
|
+
targetTextfieldArrowMargin: string;
|
49
|
+
targetButtonBackgroundColor: string;
|
50
|
+
targetButtonBackgroundColorHover: string;
|
51
|
+
targetButtonBackgroundColorActive: string;
|
52
|
+
targetTextfieldBackgroundColor: string;
|
53
|
+
targetTextfieldBackgroundColorOpened: string;
|
54
|
+
targetButtonPadding: string;
|
55
|
+
targetTextfieldPadding: string;
|
56
|
+
targetTextfieldChipPadding: string;
|
135
57
|
targetHeight: string;
|
136
|
-
targetWidth: string;
|
137
|
-
targetRadius: string;
|
138
|
-
targetFontFamily: string;
|
139
|
-
targetFontSize: string;
|
140
|
-
targetFontStyle: string;
|
141
|
-
targetFontWeight: string;
|
142
|
-
targetLetterSpacing: string;
|
143
|
-
targetLineHeight: string;
|
144
|
-
targetLabelInnerTop: string;
|
145
|
-
targetLabelInnerFontFamily: string;
|
146
|
-
targetLabelInnerFontSize: string;
|
147
|
-
targetLabelInnerFontStyle: string;
|
148
|
-
targetLabelInnerFontWeight: string;
|
149
|
-
targetLabelInnerLetterSpacing: string;
|
150
|
-
targetLabelInnerLineHeight: string;
|
151
|
-
chipGap: string;
|
152
|
-
chipBackground: string;
|
153
58
|
chipColor: string;
|
59
|
+
chipBackground: string;
|
154
60
|
chipBackgroundHover: string;
|
155
|
-
chipColorHover: string;
|
156
|
-
chipScaleHover: string;
|
157
|
-
chipBackgroundReadOnly: string;
|
158
|
-
chipColorReadOnly: string;
|
159
|
-
chipBackgroundReadOnlyHover: string;
|
160
|
-
chipColorReadOnlyHover: string;
|
161
61
|
chipBackgroundActive: string;
|
162
|
-
|
163
|
-
chipScaleActive: string;
|
164
|
-
chipFocusColor: string;
|
165
|
-
chipCloseIconColor: string;
|
166
|
-
chipOutlineSize: string;
|
62
|
+
chipGap: string;
|
167
63
|
chipBorderRadius: string;
|
168
|
-
chipWidth: string;
|
169
64
|
chipHeight: string;
|
170
|
-
chipPaddingTop: string;
|
171
65
|
chipPaddingRight: string;
|
172
|
-
chipPaddingBottom: string;
|
173
66
|
chipPaddingLeft: string;
|
174
67
|
chipCloseIconSize: string;
|
175
|
-
chipFontFamily: string;
|
176
|
-
chipFontSize: string;
|
177
|
-
chipFontStyle: string;
|
178
|
-
chipFontWeight: string;
|
179
|
-
chipLetterSpacing: string;
|
180
|
-
chipLineHeight: string;
|
181
68
|
chipClearContentMarginLeft: string;
|
182
69
|
chipClearContentMarginRight: string;
|
183
|
-
|
184
|
-
|
70
|
+
labelOffset: string;
|
71
|
+
innerLabelGap: string;
|
72
|
+
helperTextColor: string;
|
73
|
+
helperTextOffset: string;
|
74
|
+
spinnerSize: string;
|
75
|
+
spinnerSizeTight: string;
|
76
|
+
notFoundContentPadding: string;
|
77
|
+
notFoundContentGap: string;
|
78
|
+
};
|
79
|
+
export declare const constants: {
|
185
80
|
focusColor: string;
|
81
|
+
focusSize: string;
|
82
|
+
background: string;
|
83
|
+
boxShadow: string;
|
84
|
+
disclosureIconColor: string;
|
85
|
+
disclosureIconColorHover: string;
|
86
|
+
itemBackground: string;
|
87
|
+
itemBackgroundHover: string;
|
88
|
+
textfieldTargetColor: string;
|
89
|
+
textfieldOuterLabelColor: string;
|
90
|
+
textfieldInnerLabelColor: string;
|
91
|
+
textfieldPlaceholderColor: string;
|
186
92
|
};
|
187
93
|
//# sourceMappingURL=Select.tokens.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Select.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO
|
1
|
+
{"version":3,"file":"Select.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;CAWnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4ElB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;;CAarB,CAAC"}
|
@@ -1,46 +1,124 @@
|
|
1
|
-
import {
|
2
|
-
import
|
3
|
-
import {
|
4
|
-
|
5
|
-
|
6
|
-
export declare type
|
7
|
-
export declare type
|
8
|
-
|
9
|
-
export declare type ComponentType = 'select' | 'combobox';
|
10
|
-
export interface CustomSelectProps {
|
1
|
+
import type { CSSProperties, ButtonHTMLAttributes } from 'react';
|
2
|
+
import React from 'react';
|
3
|
+
import { FocusedPathState } from './reducers';
|
4
|
+
import { ItemOption, ItemOptionTransformed } from './elements/Inner/elements/Item/Item.types';
|
5
|
+
import type { ValueToCheckedMapType } from './hooks/usePathMaps';
|
6
|
+
export declare type SelectPlacementBasic = 'top' | 'bottom' | 'right' | 'left';
|
7
|
+
export declare type SelectPlacement = SelectPlacementBasic | 'auto';
|
8
|
+
declare type Target = {
|
11
9
|
/**
|
12
|
-
*
|
10
|
+
* Стиль селекта: button или textfield.
|
11
|
+
* @default textfield
|
13
12
|
*/
|
14
|
-
target?:
|
13
|
+
target?: 'textfield';
|
14
|
+
view?: 'default' | 'positive' | 'warning' | 'negative';
|
15
15
|
/**
|
16
|
-
*
|
16
|
+
* Слот для контента слева.
|
17
|
+
*/
|
18
|
+
contentLeft?: React.ReactElement;
|
19
|
+
/**
|
20
|
+
* Метка-подпись к элементу.
|
17
21
|
*/
|
18
22
|
label?: string;
|
19
23
|
/**
|
20
|
-
*
|
21
|
-
*
|
24
|
+
* Расположение лейбла.
|
25
|
+
* @default outer
|
26
|
+
*/
|
27
|
+
labelPlacement?: 'outer' | 'inner';
|
28
|
+
/**
|
29
|
+
* Placeholder.
|
30
|
+
*/
|
31
|
+
placeholder?: string;
|
32
|
+
/**
|
33
|
+
* Вспомогательный текст снизу слева для поля ввода.
|
34
|
+
*/
|
35
|
+
helperText?: string;
|
36
|
+
} | {
|
37
|
+
target?: 'button';
|
38
|
+
view?: 'default' | 'accent' | 'secondary' | 'clear' | 'positive' | 'warning' | 'negative' | 'dark' | 'black' | 'white';
|
39
|
+
contentLeft?: never;
|
40
|
+
label?: never;
|
41
|
+
labelPlacement?: never;
|
42
|
+
placeholder?: never;
|
43
|
+
helperText?: never;
|
44
|
+
};
|
45
|
+
declare type IsMultiselect = {
|
46
|
+
value: string;
|
47
|
+
onChange: (value: string) => void;
|
48
|
+
/**
|
49
|
+
* Разделитель выбранных значений.
|
22
50
|
*/
|
23
|
-
|
51
|
+
separator?: never;
|
24
52
|
/**
|
25
|
-
*
|
53
|
+
* Если включено - будет выведено общее количество выбранных элементов вместо перечисления.
|
54
|
+
* @default false
|
26
55
|
*/
|
27
|
-
|
56
|
+
isTargetAmount?: never | false;
|
57
|
+
} | {
|
58
|
+
value: Array<string>;
|
59
|
+
onChange: (value: Array<string>) => void;
|
60
|
+
separator?: string;
|
61
|
+
isTargetAmount?: boolean;
|
62
|
+
};
|
63
|
+
export interface BasicProps {
|
28
64
|
/**
|
29
|
-
*
|
30
|
-
* @default
|
31
|
-
* false
|
65
|
+
* Список элементов.
|
32
66
|
*/
|
33
|
-
|
67
|
+
items: Array<ItemOption>;
|
34
68
|
/**
|
35
69
|
* Сторона открытия дропдауна относительно target элемента.
|
36
|
-
* @default
|
37
|
-
|
70
|
+
* @default bottom
|
71
|
+
*/
|
72
|
+
placement?: SelectPlacement | Array<SelectPlacementBasic>;
|
73
|
+
/**
|
74
|
+
* Компонент неактивен.
|
75
|
+
* @default false
|
76
|
+
*/
|
77
|
+
disabled?: boolean;
|
78
|
+
/**
|
79
|
+
* Коллбэк для определения достижения скроллом конца списка.
|
80
|
+
*/
|
81
|
+
onScrollBottom?: (e: React.UIEvent<HTMLUListElement>) => void;
|
82
|
+
/**
|
83
|
+
* Флаг лоадинга в конце списка.
|
84
|
+
*/
|
85
|
+
isInfiniteLoading?: boolean;
|
86
|
+
/**
|
87
|
+
* Компонент выпадающего списка при пустом массиве items.
|
38
88
|
*/
|
39
|
-
|
89
|
+
notFoundContent?: React.ReactElement;
|
40
90
|
/**
|
41
|
-
*
|
91
|
+
* Вариант: обычный или сжатый
|
92
|
+
* @default normal
|
42
93
|
*/
|
43
|
-
|
94
|
+
variant?: 'normal' | 'tight';
|
95
|
+
/**
|
96
|
+
* Значение css overflow для выпадающего меню.
|
97
|
+
* @example listOverflow="scroll"
|
98
|
+
*/
|
99
|
+
listOverflow?: CSSProperties['overflow'];
|
100
|
+
/**
|
101
|
+
* Значение css height для выпадающего меню.
|
102
|
+
* @example listHeight="11", listHeight="auto", listHeight={11}
|
103
|
+
*/
|
104
|
+
listHeight?: number | CSSProperties['height'];
|
105
|
+
/**
|
106
|
+
* Значение css width для выпадающего списка.
|
107
|
+
* @example width="200px"
|
108
|
+
*/
|
109
|
+
listWidth?: CSSProperties['width'];
|
110
|
+
/**
|
111
|
+
* Портал для выпадающего списка. Принимает id контейнера или ref.
|
112
|
+
*/
|
113
|
+
portal?: string | React.RefObject<HTMLElement>;
|
114
|
+
/**
|
115
|
+
* Callback для кастомной настройки значения в селекте
|
116
|
+
*/
|
117
|
+
renderValue?: (value: ItemOption['value'], label: ItemOption['label']) => string;
|
118
|
+
/**
|
119
|
+
* Callback для кастомной настройки айтема в выпадающем списке
|
120
|
+
*/
|
121
|
+
renderItem?: (value: ItemOption['value'], label: ItemOption['label']) => React.ReactNode;
|
44
122
|
/**
|
45
123
|
* Размер компонента.
|
46
124
|
*/
|
@@ -50,50 +128,35 @@ export interface CustomSelectProps {
|
|
50
128
|
*/
|
51
129
|
view?: string;
|
52
130
|
/**
|
53
|
-
*
|
131
|
+
* Внешний вид чипа в варианте textfield multiselect.
|
54
132
|
*/
|
55
|
-
|
56
|
-
}
|
57
|
-
export declare type valueTypeSeparation = {
|
133
|
+
chipView?: string;
|
58
134
|
/**
|
59
|
-
*
|
60
|
-
*
|
135
|
+
* Выбор нескольких значений.
|
136
|
+
* @deprecated Множественны выбор зависит от типа value и onChange.
|
61
137
|
*/
|
62
|
-
|
63
|
-
value?: SelectPrimitiveValue;
|
138
|
+
multiselect?: boolean;
|
64
139
|
/**
|
65
|
-
*
|
140
|
+
* @default false
|
141
|
+
* @deprecated
|
66
142
|
*/
|
67
|
-
|
68
|
-
} | {
|
143
|
+
isOpen?: boolean;
|
69
144
|
/**
|
70
|
-
*
|
71
|
-
*
|
145
|
+
* Статус селекта.
|
146
|
+
* @deprecated
|
72
147
|
*/
|
73
|
-
|
74
|
-
value?: Array<SelectPrimitiveValue>;
|
75
|
-
/**
|
76
|
-
* Обработчик изменения выбранного значения.
|
77
|
-
*/
|
78
|
-
onChangeValue?: (value?: Array<SelectPrimitiveValue>) => void;
|
79
|
-
};
|
80
|
-
export declare type SelectProps = Omit<InputHTMLAttributes<HTMLSelectElement>, 'value' | 'size' | 'onChange'> & CustomSelectProps & valueTypeSeparation;
|
81
|
-
export interface ControlledRefs {
|
82
|
-
targetRef: MutableRefObject<HTMLButtonElement | HTMLInputElement | null>;
|
83
|
-
chipsRefs: MutableRefObject<Array<HTMLButtonElement>>;
|
84
|
-
selectRef: MutableRefObject<HTMLDivElement | null>;
|
85
|
-
itemsRefs: MutableRefObject<Array<HTMLDivElement>>;
|
86
|
-
inputRef?: MutableRefObject<HTMLInputElement | null>;
|
87
|
-
}
|
88
|
-
export interface UseKeyNavigationProps {
|
89
|
-
controlledRefs: ControlledRefs;
|
90
|
-
opened: boolean;
|
91
|
-
valueType?: ValueType;
|
92
|
-
componentType?: ComponentType;
|
93
|
-
value?: SelectPrimitiveValue | SelectPrimitiveValue[];
|
94
|
-
search?: string;
|
95
|
-
enumerationType?: EnumerationType;
|
96
|
-
updateValue: (item: HTMLElement, event: SyntheticEvent | Event) => void;
|
97
|
-
updateOpened: (value: boolean, event: SyntheticEvent | Event) => void;
|
148
|
+
status?: 'warning' | 'success' | 'error';
|
98
149
|
}
|
150
|
+
export declare type SelectProps = BasicProps & IsMultiselect & Target & Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'value' | 'onChange' | 'onResize' | 'onResizeCapture' | 'nonce'>;
|
151
|
+
export declare type ItemContext = {
|
152
|
+
focusedPath: FocusedPathState;
|
153
|
+
checked: ValueToCheckedMapType;
|
154
|
+
multiselect: boolean;
|
155
|
+
size: SelectProps['size'];
|
156
|
+
handleCheckboxChange: (item: ItemOptionTransformed) => void;
|
157
|
+
handleItemClick: (item: ItemOptionTransformed, e: React.MouseEvent<HTMLElement>) => void;
|
158
|
+
variant: SelectProps['variant'];
|
159
|
+
renderItem: SelectProps['renderItem'];
|
160
|
+
};
|
161
|
+
export {};
|
99
162
|
//# sourceMappingURL=Select.types.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Select.types.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
1
|
+
{"version":3,"file":"Select.types.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,qBAAqB,EAAE,MAAM,2CAA2C,CAAC;AAC9F,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAEjE,oBAAY,oBAAoB,GAAG,KAAK,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;AACvE,oBAAY,eAAe,GAAG,oBAAoB,GAAG,MAAM,CAAC;AAE5D,aAAK,MAAM,GACL;IACI;;;OAGG;IACH,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,IAAI,CAAC,EAAE,SAAS,GAAG,UAAU,GAAG,SAAS,GAAG,UAAU,CAAC;IACvD;;OAEG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IACjC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,cAAc,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IACnC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB,GACD;IACI,MAAM,CAAC,EAAE,QAAQ,CAAC;IAClB,IAAI,CAAC,EACC,SAAS,GACT,QAAQ,GACR,WAAW,GACX,OAAO,GACP,UAAU,GACV,SAAS,GACT,UAAU,GACV,MAAM,GACN,OAAO,GACP,OAAO,CAAC;IACd,WAAW,CAAC,EAAE,KAAK,CAAC;IACpB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,cAAc,CAAC,EAAE,KAAK,CAAC;IACvB,WAAW,CAAC,EAAE,KAAK,CAAC;IACpB,UAAU,CAAC,EAAE,KAAK,CAAC;CACtB,CAAC;AAER,aAAK,aAAa,GACZ;IACI,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC;;OAEG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC;IAClB;;;OAGG;IACH,cAAc,CAAC,EAAE,KAAK,GAAG,KAAK,CAAC;CAClC,GACD;IACI,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACrB,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,KAAK,IAAI,CAAC;IACzC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC5B,CAAC;AAER,MAAM,WAAW,UAAU;IACvB;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;IACzB;;;OAGG;IACH,SAAS,CAAC,EAAE,eAAe,GAAG,KAAK,CAAC,oBAAoB,CAAC,CAAC;IAC1D;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,cAAc,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAC9D;;OAEG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;OAEG;IACH,eAAe,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IACrC;;;OAGG;IACH,OAAO,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAC7B;;;OAGG;IACH,YAAY,CAAC,EAAE,aAAa,CAAC,UAAU,CAAC,CAAC;IACzC;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,aAAa,CAAC,QAAQ,CAAC,CAAC;IAC9C;;;OAGG;IACH,SAAS,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;IACnC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IAC/C;;OAEG;IACH,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,OAAO,CAAC,EAAE,KAAK,EAAE,UAAU,CAAC,OAAO,CAAC,KAAK,MAAM,CAAC;IACjF;;OAEG;IACH,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,OAAO,CAAC,EAAE,KAAK,EAAE,UAAU,CAAC,OAAO,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC;IAEzF;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;OAGG;IACH,MAAM,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;CAC5C;AAED,oBAAY,WAAW,GAAG,UAAU,GAChC,aAAa,GACb,MAAM,GACN,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,OAAO,GAAG,UAAU,GAAG,UAAU,GAAG,iBAAiB,GAAG,OAAO,CAAC,CAAC;AAEnH,oBAAY,WAAW,GAAG;IACtB,WAAW,EAAE,gBAAgB,CAAC;IAC9B,OAAO,EAAE,qBAAqB,CAAC;IAC/B,WAAW,EAAE,OAAO,CAAC;IACrB,IAAI,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC1B,oBAAoB,EAAE,CAAC,IAAI,EAAE,qBAAqB,KAAK,IAAI,CAAC;IAC5D,eAAe,EAAE,CAAC,IAAI,EAAE,qBAAqB,EAAE,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IACzF,OAAO,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IAChC,UAAU,EAAE,WAAW,CAAC,YAAY,CAAC,CAAC;CACzC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"InfiniteLoader.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/elements/InfiniteLoader/InfiniteLoader.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAIjD,eAAO,MAAM,cAAc;aAA4B,WAAW,CAAC,SAAS,CAAC;iBAO5E,CAAC"}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import type { SelectProps } from '../../Select.types';
|
3
|
+
export declare const StyledSpinner: import("@linaria/react").StyledMeta & import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
|
4
|
+
size: {
|
5
|
+
css: import("@linaria/core").LinariaClassName;
|
6
|
+
};
|
7
|
+
view: {
|
8
|
+
css: import("@linaria/core").LinariaClassName;
|
9
|
+
};
|
10
|
+
}> & ((import("react").HTMLAttributes<HTMLDivElement> & {
|
11
|
+
width?: undefined;
|
12
|
+
height?: undefined;
|
13
|
+
size?: string | undefined;
|
14
|
+
view?: string | undefined;
|
15
|
+
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
|
16
|
+
width: number;
|
17
|
+
height: number;
|
18
|
+
size?: undefined;
|
19
|
+
view?: string | undefined;
|
20
|
+
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
|
21
|
+
width: string;
|
22
|
+
height: string;
|
23
|
+
size?: undefined;
|
24
|
+
view?: string | undefined;
|
25
|
+
} & import("react").RefAttributes<HTMLDivElement>))>;
|
26
|
+
export declare const Wrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
27
|
+
variant: SelectProps['variant'];
|
28
|
+
}>;
|
29
|
+
//# sourceMappingURL=InfiniteLoader.styles.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"InfiniteLoader.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/elements/InfiniteLoader/InfiniteLoader.styles.ts"],"names":[],"mappings":";AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAItD,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;oDAGzB,CAAC;AAEF,eAAO,MAAM,OAAO;aAAyB,WAAW,CAAC,SAAS,CAAC;EAmBlE,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Inner.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/elements/Inner/Inner.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAOhC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,eAAO,MAAM,KAAK,EAAE,EAAE,CAAC,UAAU,CAuDhC,CAAC"}
|