@salutejs/plasma-new-hope 0.89.1-canary.1258.9582853405.0 → 0.90.0-canary.1233.9567966423.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/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 +254 -201
- 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 +314 -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/IconRoot.js +1 -1
- package/cjs/components/_Icon/IconRoot.js.map +1 -1
- 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/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 +250 -198
- 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 +309 -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/IconRoot.js +1 -1
- package/es/components/_Icon/IconRoot.js.map +1 -1
- 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/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 +249 -193
- 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 +316 -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/IconRoot.js +1 -1
- 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/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 +245 -190
- 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 +310 -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/IconRoot.js +1 -1
- 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/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
@@ -0,0 +1,38 @@
|
|
1
|
+
|
2
|
+
.container {
|
3
|
+
width: 100%;
|
4
|
+
}
|
5
|
+
|
6
|
+
table {
|
7
|
+
border-collapse: collapse;
|
8
|
+
box-shadow: 0 0 20px rgba(0,0,0,0.1);
|
9
|
+
}
|
10
|
+
|
11
|
+
th,
|
12
|
+
td {
|
13
|
+
padding: 15px;
|
14
|
+
}
|
15
|
+
|
16
|
+
th {
|
17
|
+
text-align: left;
|
18
|
+
}
|
19
|
+
|
20
|
+
table, th, td {
|
21
|
+
border: 1px solid lightgray;
|
22
|
+
border-collapse: collapse;
|
23
|
+
}
|
24
|
+
|
25
|
+
thead {
|
26
|
+
th {
|
27
|
+
background-color: #55608f;
|
28
|
+
color: #fff;
|
29
|
+
}
|
30
|
+
}
|
31
|
+
|
32
|
+
tbody {
|
33
|
+
|
34
|
+
td {
|
35
|
+
position: relative;
|
36
|
+
|
37
|
+
}
|
38
|
+
}
|
@@ -2,4 +2,5 @@ export { useUniqId } from './useUniqId';
|
|
2
2
|
export { usePreviousValue } from './usePreviousValue';
|
3
3
|
export { useForceUpdate } from './useForceUpdate';
|
4
4
|
export { useDidMountEffect } from './useDidMountEffect';
|
5
|
+
export { useOutsideClick } from './useOutsideClick';
|
5
6
|
export { useIsomorphicLayoutEffect } from './useIsomorphicLayoutEffect';
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { useEffect, useRef } from 'react';
|
2
|
+
export var useOutsideClick = function useOutsideClick(callback) {
|
3
|
+
var ref = useRef(null);
|
4
|
+
useEffect(function () {
|
5
|
+
var handleClickOutside = function handleClickOutside(event) {
|
6
|
+
if (ref.current && !ref.current.contains(event.target)) {
|
7
|
+
callback();
|
8
|
+
}
|
9
|
+
};
|
10
|
+
document.addEventListener('mouseup', handleClickOutside);
|
11
|
+
document.addEventListener('touchend', handleClickOutside);
|
12
|
+
return function () {
|
13
|
+
document.removeEventListener('mouseup', handleClickOutside);
|
14
|
+
document.removeEventListener('touchend', handleClickOutside);
|
15
|
+
};
|
16
|
+
}, [callback]);
|
17
|
+
return ref;
|
18
|
+
};
|
@@ -3,6 +3,7 @@ export { extractTextFrom } from './extractTextFrom';
|
|
3
3
|
export { getSizeValueFromProp } from './getSizeValueFromProp';
|
4
4
|
export { IS_REACT_18, safeUseId } from './react';
|
5
5
|
export { isNumber } from './isNumber';
|
6
|
+
export { isEmpty } from './isEmpty';
|
6
7
|
export var cx = function cx() {
|
7
8
|
for (var _len = arguments.length, classes = new Array(_len), _key = 0; _key < _len; _key++) {
|
8
9
|
classes[_key] = arguments[_key];
|
@@ -0,0 +1,42 @@
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
2
|
+
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
3
|
+
var isEmpty = function isEmpty(obj) {
|
4
|
+
// null and undefined are "empty"
|
5
|
+
if (obj == null) {
|
6
|
+
return true;
|
7
|
+
}
|
8
|
+
|
9
|
+
// Assume if it has a length property with a non-zero value
|
10
|
+
// that that property is correct.
|
11
|
+
if (obj.length > 0) {
|
12
|
+
return false;
|
13
|
+
}
|
14
|
+
if (obj.length === 0) {
|
15
|
+
return true;
|
16
|
+
}
|
17
|
+
|
18
|
+
// If it isn't an object at this point
|
19
|
+
// it is empty, but it can't be anything *but* empty
|
20
|
+
// Is it empty? Depends on your application.
|
21
|
+
if (_typeof(obj) !== 'object') {
|
22
|
+
return true;
|
23
|
+
}
|
24
|
+
|
25
|
+
// Otherwise, does it have any properties of its own?
|
26
|
+
// Note that this doesn't handle
|
27
|
+
// toString and valueOf enumeration bugs in IE < 9
|
28
|
+
for (var key in obj) {
|
29
|
+
if (hasOwnProperty.call(obj, key)) {
|
30
|
+
return false;
|
31
|
+
}
|
32
|
+
}
|
33
|
+
return true;
|
34
|
+
};
|
35
|
+
export { isEmpty };
|
36
|
+
|
37
|
+
// Example
|
38
|
+
// '' true
|
39
|
+
// '{}' true
|
40
|
+
// '[]' true
|
41
|
+
// '123' false
|
42
|
+
// '[123]' false
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Chip.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/Chip.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;CAEnB,CAAC;AAEF,eAAO,MAAM,MAAM
|
1
|
+
{"version":3,"file":"Chip.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/Chip.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;CAEnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4ClB,CAAC"}
|
@@ -0,0 +1,99 @@
|
|
1
|
+
import { MutableRefObject, SyntheticEvent } from 'react';
|
2
|
+
import { InputHTMLAttributes } from '@salutejs/plasma-core';
|
3
|
+
import { DropdownPlacement, DropdownPlacementBasic } from '../Dropdown/Dropdown.types';
|
4
|
+
export declare type SelectPrimitiveValue = string | number | boolean;
|
5
|
+
export declare type SelectValue = SelectPrimitiveValue | Array<SelectPrimitiveValue>;
|
6
|
+
export declare type ValueType = 'single' | 'multiple' | 'native';
|
7
|
+
export declare type EnumerationType = 'comma' | 'chip';
|
8
|
+
export declare type TargetType = 'button-like' | 'textField-like';
|
9
|
+
export declare type ComponentType = 'select' | 'combobox';
|
10
|
+
export interface CustomSelectProps {
|
11
|
+
/**
|
12
|
+
* Вид элемента, рядом с которым появляется список.
|
13
|
+
*/
|
14
|
+
target?: TargetType;
|
15
|
+
/**
|
16
|
+
* Текст лейбла.
|
17
|
+
*/
|
18
|
+
label?: string;
|
19
|
+
/**
|
20
|
+
* Тип перечисления выбранных значений.
|
21
|
+
* Варианты: comma, chips
|
22
|
+
*/
|
23
|
+
enumerationType?: EnumerationType;
|
24
|
+
/**
|
25
|
+
* Находится ли в портале.
|
26
|
+
*/
|
27
|
+
usePortal?: boolean;
|
28
|
+
/**
|
29
|
+
* Дропдаун открыт или нет.
|
30
|
+
* @default
|
31
|
+
* false
|
32
|
+
*/
|
33
|
+
opened?: boolean;
|
34
|
+
/**
|
35
|
+
* Сторона открытия дропдауна относительно target элемента.
|
36
|
+
* @default
|
37
|
+
* auto
|
38
|
+
*/
|
39
|
+
placement?: DropdownPlacement | Array<DropdownPlacementBasic>;
|
40
|
+
/**
|
41
|
+
* В каком контейнере позиционируется(по умолчанию document), можно также указать id элемента или ref для него.
|
42
|
+
*/
|
43
|
+
frame?: 'document' | string | React.RefObject<HTMLElement>;
|
44
|
+
/**
|
45
|
+
* Размер компонента.
|
46
|
+
*/
|
47
|
+
size?: string;
|
48
|
+
/**
|
49
|
+
* Вид компонента.
|
50
|
+
*/
|
51
|
+
view?: string;
|
52
|
+
/**
|
53
|
+
* Событие сворачивания/разворачивания дропдауна.
|
54
|
+
*/
|
55
|
+
onToggle?: (isOpen: boolean, event: SyntheticEvent | Event) => void;
|
56
|
+
}
|
57
|
+
export declare type valueTypeSeparation = {
|
58
|
+
/**
|
59
|
+
* Тип селекта.
|
60
|
+
* Варианты: single, multiple, native
|
61
|
+
*/
|
62
|
+
valueType?: 'single' | 'native';
|
63
|
+
value?: SelectPrimitiveValue;
|
64
|
+
/**
|
65
|
+
* Обработчик изменения выбранного значения.
|
66
|
+
*/
|
67
|
+
onChangeValue?: (value?: SelectPrimitiveValue) => void;
|
68
|
+
} | {
|
69
|
+
/**
|
70
|
+
* Тип селекта.
|
71
|
+
* Варианты: single, multiple, native
|
72
|
+
*/
|
73
|
+
valueType: 'multiple';
|
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;
|
98
|
+
}
|
99
|
+
//# sourceMappingURL=Select.types.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Select.types.d.ts","sourceRoot":"","sources":["../../../src/components/Combobox/Select.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAEvF,oBAAY,oBAAoB,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;AAE7D,oBAAY,WAAW,GAAG,oBAAoB,GAAG,KAAK,CAAC,oBAAoB,CAAC,CAAC;AAE7E,oBAAY,SAAS,GAAG,QAAQ,GAAG,UAAU,GAAG,QAAQ,CAAC;AAEzD,oBAAY,eAAe,GAAG,OAAO,GAAG,MAAM,CAAC;AAE/C,oBAAY,UAAU,GAAG,aAAa,GAAG,gBAAgB,CAAC;AAE1D,oBAAY,aAAa,GAAG,QAAQ,GAAG,UAAU,CAAC;AAElD,MAAM,WAAW,iBAAiB;IAC9B;;OAEG;IACH,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,SAAS,CAAC,EAAE,iBAAiB,GAAG,KAAK,CAAC,sBAAsB,CAAC,CAAC;IAC9D;;OAEG;IACH,KAAK,CAAC,EAAE,UAAU,GAAG,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IAC3D;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,cAAc,GAAG,KAAK,KAAK,IAAI,CAAC;CACvE;AAED,oBAAY,mBAAmB,GACzB;IACI;;;OAGG;IACH,SAAS,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAChC,KAAK,CAAC,EAAE,oBAAoB,CAAC;IAC7B;;OAEG;IACH,aAAa,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,oBAAoB,KAAK,IAAI,CAAC;CAC1D,GACD;IACI;;;OAGG;IACH,SAAS,EAAE,UAAU,CAAC;IACtB,KAAK,CAAC,EAAE,KAAK,CAAC,oBAAoB,CAAC,CAAC;IACpC;;OAEG;IACH,aAAa,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,KAAK,CAAC,oBAAoB,CAAC,KAAK,IAAI,CAAC;CACjE,CAAC;AAER,oBAAY,WAAW,GAAG,IAAI,CAAC,mBAAmB,CAAC,iBAAiB,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,UAAU,CAAC,GACjG,iBAAiB,GACjB,mBAAmB,CAAC;AAExB,MAAM,WAAW,cAAc;IAC3B,SAAS,EAAE,gBAAgB,CAAC,iBAAiB,GAAG,gBAAgB,GAAG,IAAI,CAAC,CAAC;IACzE,SAAS,EAAE,gBAAgB,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC;IACtD,SAAS,EAAE,gBAAgB,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IACnD,SAAS,EAAE,gBAAgB,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC;IACnD,QAAQ,CAAC,EAAE,gBAAgB,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAC;CACxD;AAED,MAAM,WAAW,qBAAqB;IAClC,cAAc,EAAE,cAAc,CAAC;IAC/B,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,KAAK,CAAC,EAAE,oBAAoB,GAAG,oBAAoB,EAAE,CAAC;IACtD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,WAAW,EAAE,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,cAAc,GAAG,KAAK,KAAK,IAAI,CAAC;IACxE,YAAY,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,cAAc,GAAG,KAAK,KAAK,IAAI,CAAC;CACzE"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC"}
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"useKeyNavigation.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/hooks/useKeyNavigation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAoC,MAAM,OAAO,CAAC;AAExE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAE7D,eAAO,MAAM,IAAI;;;;;;;;;;;;CAYhB,CAAC;AAEF,eAAO,MAAM,gBAAgB,+KAU1B,qBAAqB;sCAoBR,cAAc,iBAAiB,GAAG,gBAAgB,CAAC;sCAuFnD,cAAc,cAAc,CAAC;CAqH5C,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ComboboxTarget.d.ts","sourceRoot":"","sources":["../../../../../src/components/Combobox/ui/ComboboxTarget/ComboboxTarget.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"ComboboxTarget.d.ts","sourceRoot":"","sources":["../../../../../src/components/Combobox/ui/ComboboxTarget/ComboboxTarget.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAkB5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAYlE;;GAEG;AACH,eAAO,MAAM,cAAc,8FAoM1B,CAAC"}
|
@@ -1,4 +1,16 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
import type { ElementType, ReactNode } from 'react';
|
2
|
+
import type { ElementType, ReactNode, ReactElement } from 'react';
|
3
|
+
import { SelectPrimitiveValue, ValueType, SelectValue } from '../Select.types';
|
4
|
+
import type { ComboboxItemProps } from '../ui/ComboboxItem/ComboboxItem.type';
|
3
5
|
export declare const getValidComponent: (element: ElementType | ReactNode, props: object) => string | number | boolean | React.ReactFragment | JSX.Element | null | undefined;
|
6
|
+
declare type NewSelectedFunc = {
|
7
|
+
(selected?: undefined | null, newValue?: undefined | null, type?: undefined | null): undefined;
|
8
|
+
(selected?: SelectPrimitiveValue, newValue?: SelectPrimitiveValue, type?: ValueType): SelectPrimitiveValue;
|
9
|
+
(selected?: Array<SelectPrimitiveValue>, newValue?: SelectPrimitiveValue, type?: ValueType): Array<SelectPrimitiveValue>;
|
10
|
+
};
|
11
|
+
export declare const getNewSelected: NewSelectedFunc;
|
12
|
+
export declare const getValues: (items: ReactElement[], value?: SelectValue | undefined, result?: Array<Array<string>>) => string[][];
|
13
|
+
export declare const updatePropsRecursively: (children?: React.ReactElement<ComboboxItemProps, string | React.JSXElementConstructor<any>>[] | undefined, externalProps?: Record<string, any> | undefined, value?: SelectValue | undefined, search?: string | undefined, filterFunction?: ((childText: string, filterValue?: string | undefined) => boolean) | undefined) => ReactNode[];
|
14
|
+
export declare const getChildren: (children: ReactElement<ComboboxItemProps>[], externalProps: Record<string, any>, value?: SelectValue | undefined, search?: string | undefined, filterFunction?: (text: string, filterValue?: string) => boolean) => React.ReactNode[];
|
15
|
+
export {};
|
4
16
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/utils/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/utils/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AACtE,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAc,YAAY,EAAE,MAAM,OAAO,CAAC;AAE9E,OAAO,EAAE,oBAAoB,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC/E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AAM9E,eAAO,MAAM,iBAAiB,YAAa,WAAW,GAAG,SAAS,SAAS,MAAM,qFAYhF,CAAC;AAEF,aAAK,eAAe,GAAG;IACnB,CAAC,QAAQ,CAAC,EAAE,SAAS,GAAG,IAAI,EAAE,QAAQ,CAAC,EAAE,SAAS,GAAG,IAAI,EAAE,IAAI,CAAC,EAAE,SAAS,GAAG,IAAI,GAAG,SAAS,CAAC;IAC/F,CAAC,QAAQ,CAAC,EAAE,oBAAoB,EAAE,QAAQ,CAAC,EAAE,oBAAoB,EAAE,IAAI,CAAC,EAAE,SAAS,GAAG,oBAAoB,CAAC;IAC3G,CAAC,QAAQ,CAAC,EAAE,KAAK,CAAC,oBAAoB,CAAC,EAAE,QAAQ,CAAC,EAAE,oBAAoB,EAAE,IAAI,CAAC,EAAE,SAAS,GAAG,KAAK,CAC9F,oBAAoB,CACvB,CAAC;CACL,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,eAuB5B,CAAC;AAUF,eAAO,MAAM,SAAS,UAAW,YAAY,EAAE,4CAA+B,MAAM,MAAM,MAAM,CAAC,CAAC,eAiCjG,CAAC;AAOF,eAAO,MAAM,sBAAsB,2PAKF,MAAM,uCAA2B,OAAO,kBACtE,SAAS,EAuCN,CAAC;AAIP,eAAO,MAAM,WAAW,aACV,aAAa,iBAAiB,CAAC,EAAE,iBAC5B,OAAO,MAAM,EAAE,GAAG,CAAC,wFAJD,MAAM,wDAc1C,CAAC"}
|
@@ -12,24 +12,38 @@ export declare const tokens: {
|
|
12
12
|
borderRadius: string;
|
13
13
|
padding: string;
|
14
14
|
disclosureIconColor: string;
|
15
|
+
disabledOpacity: string;
|
16
|
+
focusColor: string;
|
15
17
|
itemBackground: string;
|
16
|
-
itemColor: string;
|
17
18
|
itemBackgroundHover: string;
|
19
|
+
itemBackgroundSelected: string;
|
20
|
+
itemBackgroundSelectedHover: string;
|
21
|
+
itemColor: string;
|
22
|
+
itemColorSelected: string;
|
23
|
+
itemColorSelectedHover: string;
|
18
24
|
itemBorderRadius: string;
|
25
|
+
itemWidth: string;
|
26
|
+
itemHeight: string;
|
27
|
+
itemMarginTop: string;
|
28
|
+
itemMarginRight: string;
|
29
|
+
itemMarginBottom: string;
|
30
|
+
itemMarginLeft: string;
|
19
31
|
itemPaddingTop: string;
|
20
32
|
itemPaddingTopTight: string;
|
21
33
|
itemPaddingRight: string;
|
22
34
|
itemPaddingBottom: string;
|
23
35
|
itemPaddingBottomTight: string;
|
24
36
|
itemPaddingLeft: string;
|
37
|
+
itemContentLeftWidth: string;
|
38
|
+
itemContentLeftColor: string;
|
39
|
+
itemContentRightWidth: string;
|
40
|
+
itemContentRightColor: string;
|
25
41
|
itemFontFamily: string;
|
26
42
|
itemFontSize: string;
|
27
43
|
itemFontStyle: string;
|
28
44
|
itemFontWeightBold: string;
|
29
45
|
itemFontLetterSpacing: string;
|
30
46
|
itemFontLineHeight: string;
|
31
|
-
disabledOpacity: string;
|
32
|
-
focusColor: string;
|
33
47
|
footerBackground: string;
|
34
48
|
footerWidth: string;
|
35
49
|
footerHeight: string;
|
@@ -97,19 +111,5 @@ export declare const tokens: {
|
|
97
111
|
groupLabelMarginRight: string;
|
98
112
|
groupLabelMarginBottom: string;
|
99
113
|
groupLabelMarginLeft: string;
|
100
|
-
itemBackgroundSelected: string;
|
101
|
-
itemColorSelected: string;
|
102
|
-
itemBackgroundSelectedHover: string;
|
103
|
-
itemColorSelectedHover: string;
|
104
|
-
itemContentLeftColor: string;
|
105
|
-
itemContentRightColor: string;
|
106
|
-
itemWidth: string;
|
107
|
-
itemHeight: string;
|
108
|
-
itemMarginTop: string;
|
109
|
-
itemMarginRight: string;
|
110
|
-
itemMarginBottom: string;
|
111
|
-
itemMarginLeft: string;
|
112
|
-
itemContentLeftWidth: string;
|
113
|
-
itemContentRightWidth: string;
|
114
114
|
};
|
115
115
|
//# sourceMappingURL=Dropdown.tokens.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Dropdown.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/Dropdown.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;CAMnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1
|
+
{"version":3,"file":"Dropdown.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/Dropdown.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;CAMnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgHlB,CAAC"}
|
@@ -71,25 +71,21 @@ export interface DropdownProps extends HTMLAttributes<HTMLDivElement> {
|
|
71
71
|
* @default normal
|
72
72
|
*/
|
73
73
|
variant?: 'normal' | 'tight';
|
74
|
-
/**
|
75
|
-
* Обработчик клика по item.
|
76
|
-
* @deprecated использовать onItemSelect.
|
77
|
-
*/
|
78
|
-
onItemClick?: (item: DropdownItemOption, event: SyntheticEvent) => void;
|
79
74
|
/**
|
80
75
|
* Значение css overflow для выпадающего меню.
|
81
|
-
* @default initial
|
82
|
-
* @deprecated
|
83
76
|
* @example listOverflow="scroll"
|
84
77
|
*/
|
85
78
|
listOverflow?: CSSProperties['overflow'];
|
86
79
|
/**
|
87
80
|
* Значение css height для выпадающего меню.
|
88
|
-
* @default initial
|
89
|
-
* @deprecated
|
90
81
|
* @example listHeight="11", listHeight="auto", listHeight={11}
|
91
82
|
*/
|
92
83
|
listHeight?: number | CSSProperties['height'];
|
84
|
+
/**
|
85
|
+
* Обработчик клика по item.
|
86
|
+
* @deprecated использовать onItemSelect.
|
87
|
+
*/
|
88
|
+
onItemClick?: (item: DropdownItemOption, event: SyntheticEvent) => void;
|
93
89
|
/**
|
94
90
|
* Индекс элемента при наведении
|
95
91
|
* @deprecated использовать onHover
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Dropdown.types.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/Dropdown.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAEzE,oBAAY,sBAAsB,GAAG,KAAK,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;AACzE,oBAAY,iBAAiB,GAAG,sBAAsB,GAAG,MAAM,CAAC;AAEhE,oBAAY,eAAe,GAAG,OAAO,GAAG,OAAO,CAAC;AAEhD,MAAM,WAAW,aAAc,SAAQ,cAAc,CAAC,cAAc,CAAC;IACjE;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC,kBAAkB,CAAC,CAAC;IACjC;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,kBAAkB,EAAE,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC;IACzE;;;OAGG;IACH,OAAO,CAAC,EAAE,eAAe,CAAC;IAC1B;;;OAGG;IACH,SAAS,CAAC,EAAE,iBAAiB,GAAG,KAAK,CAAC,sBAAsB,CAAC,CAAC;IAC9D;;;OAGG;IACH,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC1B;;;OAGG;IACH,SAAS,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;IACnC;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;OAGG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,cAAc,GAAG,KAAK,KAAK,IAAI,CAAC;IACpE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,OAAO,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAC7B;;;OAGG;IACH,
|
1
|
+
{"version":3,"file":"Dropdown.types.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/Dropdown.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAEzE,oBAAY,sBAAsB,GAAG,KAAK,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;AACzE,oBAAY,iBAAiB,GAAG,sBAAsB,GAAG,MAAM,CAAC;AAEhE,oBAAY,eAAe,GAAG,OAAO,GAAG,OAAO,CAAC;AAEhD,MAAM,WAAW,aAAc,SAAQ,cAAc,CAAC,cAAc,CAAC;IACjE;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC,kBAAkB,CAAC,CAAC;IACjC;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,kBAAkB,EAAE,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC;IACzE;;;OAGG;IACH,OAAO,CAAC,EAAE,eAAe,CAAC;IAC1B;;;OAGG;IACH,SAAS,CAAC,EAAE,iBAAiB,GAAG,KAAK,CAAC,sBAAsB,CAAC,CAAC;IAC9D;;;OAGG;IACH,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC1B;;;OAGG;IACH,SAAS,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;IACnC;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;OAGG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,cAAc,GAAG,KAAK,KAAK,IAAI,CAAC;IACpE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;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;IAE9C;;;OAGG;IACH,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,kBAAkB,EAAE,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC;IACxE;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,oBAAY,sBAAsB,GAAG,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,GAAG,cAAc,CAAC,OAAO,EAAE,KAAK,CAAC,KAAK,IAAI,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Pagination.d.ts","sourceRoot":"","sources":["../../../src/components/Pagination/Pagination.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAG/D,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAW1C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAS1D,eAAO,MAAM,cAAc,SAAU,UAAU,cAAc,EAAE,eAAe,CAAC,
|
1
|
+
{"version":3,"file":"Pagination.d.ts","sourceRoot":"","sources":["../../../src/components/Pagination/Pagination.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAG/D,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAW1C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAS1D,eAAO,MAAM,cAAc,SAAU,UAAU,cAAc,EAAE,eAAe,CAAC,2FA4K1E,CAAC;AAEN,eAAO,MAAM,gBAAgB;;;mBA9KQ,UAAU,cAAc,EAAE,eAAe,CAAC;;;;;;;;;;;;;;;;;CAkM9E,CAAC"}
|
@@ -17,12 +17,18 @@ export declare const tokens: {
|
|
17
17
|
paginationWidth: string;
|
18
18
|
paginationColor: string;
|
19
19
|
buttonBackgroundColor: string;
|
20
|
+
buttonBackgroundColorHover: string;
|
21
|
+
buttonBackgroundColorActive: string;
|
20
22
|
buttonColor: string;
|
21
|
-
|
23
|
+
buttonColorHover: string;
|
24
|
+
buttonColorActive: string;
|
22
25
|
buttonHoverColor: string;
|
23
|
-
buttonActiveBackgroundColor: string;
|
24
26
|
buttonActiveColor: string;
|
25
27
|
buttonFocusColor: string;
|
28
|
+
buttonArrowColor: string;
|
29
|
+
buttonArrowColorHover: string;
|
30
|
+
buttonArrowColorActive: string;
|
31
|
+
buttonArrowMargin: string;
|
26
32
|
paginationCurrentButtonBackgroundColor: string;
|
27
33
|
paginationCurrentButtonColor: string;
|
28
34
|
paginationCurrentButtonHoverBackgroundColor: string;
|
@@ -43,26 +49,18 @@ export declare const tokens: {
|
|
43
49
|
paginationFontWeight: string;
|
44
50
|
paginationLetterSpacing: string;
|
45
51
|
paginationLineHeight: string;
|
46
|
-
selectWidth: string;
|
47
52
|
selectHeight: string;
|
48
53
|
selectPaddingTop: string;
|
49
54
|
selectPaddingRight: string;
|
50
55
|
selectPaddingBottom: string;
|
51
56
|
selectPaddingLeft: string;
|
52
57
|
selectBackgroundColor: string;
|
53
|
-
selectItemWidth: string;
|
54
58
|
selectItemHeight: string;
|
55
|
-
|
56
|
-
selectItemPaddingRight: string;
|
57
|
-
selectItemPaddingBottom: string;
|
58
|
-
selectItemPaddingLeft: string;
|
59
|
+
selectItemPadding: string;
|
59
60
|
selectItemContentLeftWidth: string;
|
60
61
|
selectItemBackground: string;
|
61
62
|
selectTargetArrowRight: string;
|
62
|
-
selectTargetWidth: string;
|
63
63
|
selectTargetPadding: string;
|
64
|
-
selectTargetPaddingHasChips: string;
|
65
|
-
selectTargetPaddingWithInput: string;
|
66
64
|
selectTargetInnerTop: string;
|
67
65
|
selectTargetLabelInnerTop: string;
|
68
66
|
inputBackgroundColor: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Pagination.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Pagination/Pagination.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;CAmBnB,CAAC;AAEF,eAAO,MAAM,MAAM
|
1
|
+
{"version":3,"file":"Pagination.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Pagination/Pagination.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;CAmBnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmElB,CAAC"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { HTMLAttributes, ReactNode } from 'react';
|
1
|
+
import type { CSSProperties, HTMLAttributes, ReactNode } from 'react';
|
2
2
|
import type { AsProps, NumericRange, CreateArrayWithLengthX } from '../../types';
|
3
3
|
export declare type PaginationTypes = 'compact' | 'default';
|
4
4
|
export declare type CustomPaginationProps = {
|
@@ -22,6 +22,11 @@ export declare type CustomPaginationProps = {
|
|
22
22
|
placeholderQuickJump?: string;
|
23
23
|
textQuickJump?: string;
|
24
24
|
textPerPage?: string;
|
25
|
+
/**
|
26
|
+
* Значение css width для выпадающего списка.
|
27
|
+
* @example width="200px"
|
28
|
+
*/
|
29
|
+
listWidth?: CSSProperties['width'];
|
25
30
|
onChangePageValue?: (page?: number) => void;
|
26
31
|
onChangePerPageValue?: (perpage?: number) => void;
|
27
32
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Pagination.types.d.ts","sourceRoot":"","sources":["../../../src/components/Pagination/Pagination.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"Pagination.types.d.ts","sourceRoot":"","sources":["../../../src/components/Pagination/Pagination.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtE,OAAO,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAKjF,oBAAY,eAAe,GAAG,SAAS,GAAG,SAAS,CAAC;AAEpD,oBAAY,qBAAqB,GAAG;IAIhC,IAAI,CAAC,EAAE,MAAM,CAAC;IAKd,eAAe,CAAC,EAAE,MAAM,CAAC;IAKzB,WAAW,CAAC,EAAE,SAAS,CAAC;IAKxB,YAAY,CAAC,EAAE,SAAS,CAAC;IAKzB,IAAI,CAAC,EAAE,eAAe,CAAC;IAKvB,IAAI,CAAC,EAAE,MAAM,CAAC;IAKd,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,YAAY,CAAC,EAAE,OAAO,CAAC;IAKvB,UAAU,CAAC,EAAE,OAAO,CAAC;IAKrB,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IAKvB,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IAKzB,KAAK,CAAC,EAAE,YAAY,CAAC,sBAAsB,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IAKpD,MAAM,CAAC,EAAE,OAAO,CAAC;IAKjB,MAAM,CAAC,EAAE,OAAO,CAAC;IAKjB,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAK/B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAK9B,aAAa,CAAC,EAAE,MAAM,CAAC;IAKvB,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;OAGG;IACH,SAAS,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;IAKnC,iBAAiB,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,oBAAoB,CAAC,EAAE,CAAC,OAAO,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CACrD,CAAC;AAEF,MAAM,WAAW,eAAgB,SAAQ,cAAc,CAAC,cAAc,CAAC,EAAE,OAAO,EAAE,qBAAqB;CAAG"}
|
package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"PaginationSelectPerPage.d.ts","sourceRoot":"","sources":["../../../../../src/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
1
|
+
{"version":3,"file":"PaginationSelectPerPage.d.ts","sourceRoot":"","sources":["../../../../../src/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,iCAAiC,CAAC;AAGpF,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,EAAE,CAAC,4BAA4B,CAgC1E,CAAC"}
|
package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts
CHANGED
@@ -1,47 +1,57 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
export declare const SelectItem: import("react").FunctionComponent<import("../../../../engines/types").PropsType<import("../../../../engines/types").Variants> & Omit<import("react").HTMLAttributes<HTMLDivElement>, "onSelect"> & {
|
3
|
-
id?: string | undefined;
|
4
|
-
disabled?: boolean | undefined;
|
5
|
-
label?: import("react").ReactNode;
|
6
|
-
role?: string | undefined;
|
7
|
-
contentLeft?: string | number | boolean | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactFragment | import("react").ReactPortal | null | undefined;
|
8
|
-
contentRight?: string | number | boolean | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactFragment | import("react").ReactPortal | null | undefined;
|
9
|
-
name?: string | undefined;
|
10
|
-
checked?: boolean | undefined;
|
11
|
-
text?: string | undefined;
|
12
|
-
value?: string | number | boolean | undefined;
|
13
|
-
isSelected?: boolean | undefined;
|
14
|
-
onClick?: ((event: import("react").MouseEvent<HTMLDivElement, MouseEvent>) => void) | undefined;
|
15
|
-
onSelect?: ((value?: any, text?: any) => void) | undefined;
|
16
|
-
size?: string | undefined;
|
17
|
-
view?: string | undefined;
|
18
|
-
} & import("react").RefAttributes<HTMLDivElement>>;
|
19
2
|
export declare const SelectPerPageRoot: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
20
|
-
export declare const SelectPerPageSelect: import("@linaria/react").StyledMeta & import("react").FunctionComponent<import("../../../../engines/types").PropsType<import("../../../../engines/types").Variants> & ((
|
21
|
-
|
22
|
-
value
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
3
|
+
export declare const SelectPerPageSelect: import("@linaria/react").StyledMeta & import("react").FunctionComponent<import("../../../../engines/types").PropsType<import("../../../../engines/types").Variants> & ((import("../../../Select/Select.types").BasicProps & {
|
4
|
+
value: string;
|
5
|
+
onChange: (value: string) => void;
|
6
|
+
separator?: undefined;
|
7
|
+
isTargetAmount?: false | undefined;
|
8
|
+
} & {
|
9
|
+
target?: "textfield" | undefined;
|
10
|
+
view?: "default" | "warning" | "positive" | "negative" | undefined;
|
11
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
12
|
+
label?: string | undefined;
|
13
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
14
|
+
placeholder?: string | undefined;
|
15
|
+
helperText?: string | undefined;
|
16
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | (import("../../../Select/Select.types").BasicProps & {
|
17
|
+
value: string;
|
18
|
+
onChange: (value: string) => void;
|
19
|
+
separator?: undefined;
|
20
|
+
isTargetAmount?: false | undefined;
|
21
|
+
} & {
|
22
|
+
target?: "button" | undefined;
|
23
|
+
view?: "default" | "accent" | "secondary" | "black" | "white" | "dark" | "clear" | "warning" | "positive" | "negative" | undefined;
|
24
|
+
contentLeft?: undefined;
|
25
|
+
label?: undefined;
|
26
|
+
labelPlacement?: undefined;
|
27
|
+
placeholder?: undefined;
|
28
|
+
helperText?: undefined;
|
29
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | (import("../../../Select/Select.types").BasicProps & {
|
30
|
+
value: string[];
|
31
|
+
onChange: (value: string[]) => void;
|
32
|
+
separator?: string | undefined;
|
33
|
+
isTargetAmount?: boolean | undefined;
|
34
|
+
} & {
|
35
|
+
target?: "textfield" | undefined;
|
36
|
+
view?: "default" | "warning" | "positive" | "negative" | undefined;
|
37
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
38
|
+
label?: string | undefined;
|
39
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
40
|
+
placeholder?: string | undefined;
|
41
|
+
helperText?: string | undefined;
|
42
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | (import("../../../Select/Select.types").BasicProps & {
|
43
|
+
value: string[];
|
44
|
+
onChange: (value: string[]) => void;
|
45
|
+
separator?: string | undefined;
|
46
|
+
isTargetAmount?: boolean | undefined;
|
47
|
+
} & {
|
48
|
+
target?: "button" | undefined;
|
49
|
+
view?: "default" | "accent" | "secondary" | "black" | "white" | "dark" | "clear" | "warning" | "positive" | "negative" | undefined;
|
50
|
+
contentLeft?: undefined;
|
51
|
+
label?: undefined;
|
52
|
+
labelPlacement?: undefined;
|
53
|
+
placeholder?: undefined;
|
54
|
+
helperText?: undefined;
|
55
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>))>;
|
46
56
|
export declare const SelectPerPageTypography: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
47
57
|
//# sourceMappingURL=PaginationSelectPerPage.styles.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"PaginationSelectPerPage.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.ts"],"names":[],"mappings":";
|
1
|
+
{"version":3,"file":"PaginationSelectPerPage.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.ts"],"names":[],"mappings":";AASA,eAAO,MAAM,iBAAiB,qKAI7B,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wLAsB/B,CAAC;AAEF,eAAO,MAAM,uBAAuB,qKAOnC,CAAC"}
|
package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.types.d.ts
CHANGED
@@ -1,9 +1,12 @@
|
|
1
1
|
import type { HTMLAttributes } from 'react';
|
2
|
+
import type { PaginationProps } from '../../Pagination.types';
|
2
3
|
export declare type PaginationSelectPerPageRoot = {
|
3
|
-
|
4
|
-
|
4
|
+
perPageValue?: number;
|
5
|
+
perPageList?: number[];
|
5
6
|
textPerPage?: string;
|
6
7
|
onChangeValue?: (page?: number) => void;
|
8
|
+
size: PaginationProps['size'];
|
9
|
+
listWidth: PaginationProps['listWidth'];
|
7
10
|
};
|
8
11
|
export declare type PaginationSelectPerPageProps = HTMLAttributes<HTMLDivElement> & PaginationSelectPerPageRoot;
|
9
12
|
//# sourceMappingURL=PaginationSelectPerPage.types.d.ts.map
|
@@ -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"}
|