@salutejs/plasma-new-hope 0.89.0-canary.1233.9546931519.0 → 0.89.0-dev.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 +0 -2
- 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/ui/ComboboxTarget/ComboboxTarget.js +1 -1
- package/cjs/components/Combobox/ui/ComboboxTarget/ComboboxTarget.js.map +1 -1
- package/cjs/components/Combobox/utils/index.js +0 -103
- package/cjs/components/Combobox/utils/index.js.map +1 -1
- package/cjs/components/Dropdown/Dropdown.tokens.js +18 -32
- package/cjs/components/Dropdown/Dropdown.tokens.js.map +1 -1
- package/cjs/components/Pagination/Pagination.css +49 -58
- package/cjs/components/Pagination/Pagination.js +5 -12
- 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 +11 -9
- package/cjs/components/Pagination/Pagination.tokens.js.map +1 -1
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +50 -59
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +26 -20
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js.map +1 -1
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +20 -5
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles_rtehle.css +4 -0
- package/cjs/components/Select/Select.css +60 -65
- package/cjs/components/Select/Select.js +201 -254
- package/cjs/components/Select/Select.js.map +1 -1
- package/cjs/components/Select/Select.styles.js +36 -51
- package/cjs/components/Select/Select.styles.js.map +1 -1
- package/cjs/components/Select/Select.styles_1q3i6gw.css +4 -0
- package/cjs/components/Select/Select.tokens.js +166 -58
- package/cjs/components/Select/Select.tokens.js.map +1 -1
- package/cjs/components/Select/hooks/useKeyNavigation.js.map +1 -0
- package/{es/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.css → cjs/components/Select/ui/SelectChip/SelectChip.css} +1 -1
- package/cjs/components/Select/ui/SelectChip/SelectChip.js +39 -0
- package/cjs/components/Select/ui/SelectChip/SelectChip.js.map +1 -0
- package/cjs/components/Select/{elements/Target/elements/Textfield/elements/Chip/Chip.styles.js → ui/SelectChip/SelectChip.styles.js} +8 -5
- package/cjs/components/Select/ui/SelectChip/SelectChip.styles.js.map +1 -0
- package/cjs/components/Select/ui/SelectChip/SelectChip.styles_1u4uw04.css +1 -0
- package/cjs/components/Select/ui/SelectDivider/SelectDivider.css +35 -0
- package/cjs/components/Select/ui/SelectDivider/SelectDivider.js +41 -0
- package/cjs/components/Select/ui/SelectDivider/SelectDivider.js.map +1 -0
- package/cjs/components/Select/ui/SelectDivider/SelectDivider.styles.js +12 -0
- package/cjs/components/Select/ui/SelectDivider/SelectDivider.styles.js.map +1 -0
- package/cjs/components/Select/ui/SelectDivider/SelectDivider.styles_673hj6.css +1 -0
- package/cjs/components/Select/ui/SelectDivider/variations/_size/base.js +9 -0
- package/cjs/components/Select/ui/SelectDivider/variations/_size/base.js.map +1 -0
- package/cjs/components/Select/ui/SelectDivider/variations/_size/base_x642ct.css +1 -0
- package/cjs/components/Select/ui/SelectDivider/variations/_view/base.js +9 -0
- package/cjs/components/Select/ui/SelectDivider/variations/_view/base.js.map +1 -0
- package/cjs/components/Select/ui/SelectDivider/variations/_view/base_x642ct.css +1 -0
- package/cjs/components/Select/ui/SelectFooter/SelectFooter.css +35 -0
- package/cjs/components/Select/ui/SelectFooter/SelectFooter.js +41 -0
- package/cjs/components/Select/ui/SelectFooter/SelectFooter.js.map +1 -0
- package/cjs/components/Select/ui/SelectFooter/SelectFooter.styles.js +12 -0
- package/cjs/components/Select/ui/SelectFooter/SelectFooter.styles.js.map +1 -0
- package/cjs/components/Select/ui/SelectFooter/SelectFooter.styles_11hk6tt.css +1 -0
- package/cjs/components/Select/ui/SelectFooter/variations/_size/base.js +9 -0
- package/cjs/components/Select/ui/SelectFooter/variations/_size/base.js.map +1 -0
- package/cjs/components/Select/ui/SelectFooter/variations/_size/base_x642ct.css +1 -0
- package/cjs/components/Select/ui/SelectFooter/variations/_view/base.js +9 -0
- package/cjs/components/Select/ui/SelectFooter/variations/_view/base.js.map +1 -0
- package/cjs/components/Select/ui/SelectFooter/variations/_view/base_x642ct.css +1 -0
- package/cjs/components/Select/ui/SelectGroup/SelectGroup.css +35 -0
- package/cjs/components/Select/ui/SelectGroup/SelectGroup.js +41 -0
- package/cjs/components/Select/ui/SelectGroup/SelectGroup.js.map +1 -0
- package/cjs/components/Select/ui/SelectGroup/SelectGroup.styles.js +12 -0
- package/cjs/components/Select/ui/SelectGroup/SelectGroup.styles.js.map +1 -0
- package/cjs/components/Select/ui/SelectGroup/SelectGroup.styles_mktu7e.css +1 -0
- package/cjs/components/Select/ui/SelectGroup/variations/_size/base.js +9 -0
- package/cjs/components/Select/ui/SelectGroup/variations/_size/base.js.map +1 -0
- package/cjs/components/Select/ui/SelectGroup/variations/_size/base_x642ct.css +1 -0
- package/cjs/components/Select/ui/SelectGroup/variations/_view/base.js +9 -0
- package/cjs/components/Select/ui/SelectGroup/variations/_view/base.js.map +1 -0
- package/cjs/components/Select/ui/SelectGroup/variations/_view/base_x642ct.css +1 -0
- package/cjs/components/Select/ui/SelectHeader/SelectHeader.css +35 -0
- package/cjs/components/Select/ui/SelectHeader/SelectHeader.js +41 -0
- package/cjs/components/Select/ui/SelectHeader/SelectHeader.js.map +1 -0
- package/cjs/components/Select/ui/SelectHeader/SelectHeader.styles.js +12 -0
- package/cjs/components/Select/ui/SelectHeader/SelectHeader.styles.js.map +1 -0
- package/cjs/components/Select/ui/SelectHeader/SelectHeader.styles_24gqog.css +1 -0
- package/cjs/components/Select/ui/SelectHeader/variations/_size/base.js +9 -0
- package/cjs/components/Select/ui/SelectHeader/variations/_size/base.js.map +1 -0
- package/cjs/components/Select/ui/SelectHeader/variations/_size/base_x642ct.css +1 -0
- package/cjs/components/Select/ui/SelectHeader/variations/_view/base.js +9 -0
- package/cjs/components/Select/ui/SelectHeader/variations/_view/base.js.map +1 -0
- package/cjs/components/Select/ui/SelectHeader/variations/_view/base_x642ct.css +1 -0
- package/cjs/components/Select/ui/SelectItem/SelectItem.css +35 -0
- package/cjs/components/Select/ui/SelectItem/SelectItem.js +40 -0
- package/cjs/components/Select/ui/SelectItem/SelectItem.js.map +1 -0
- package/cjs/components/Select/ui/SelectItem/SelectItem.styles.js +19 -0
- package/cjs/components/Select/ui/SelectItem/SelectItem.styles.js.map +1 -0
- package/cjs/components/Select/ui/SelectItem/SelectItem.styles_vk39mp.css +1 -0
- package/cjs/components/Select/ui/SelectItem/variations/_size/base.js +9 -0
- package/cjs/components/Select/ui/SelectItem/variations/_size/base.js.map +1 -0
- package/cjs/components/Select/ui/SelectItem/variations/_size/base_x642ct.css +1 -0
- package/cjs/components/Select/ui/SelectItem/variations/_view/base.js +9 -0
- package/cjs/components/Select/ui/SelectItem/variations/_view/base.js.map +1 -0
- package/cjs/components/Select/ui/SelectItem/variations/_view/base_x642ct.css +1 -0
- package/cjs/components/Select/{elements/Target/elements/Textfield/Textfield.css → ui/SelectTarget/SelectTarget.css} +7 -13
- package/cjs/components/Select/ui/SelectTarget/SelectTarget.js +148 -0
- package/cjs/components/Select/ui/SelectTarget/SelectTarget.js.map +1 -0
- package/cjs/components/Select/ui/SelectTarget/SelectTarget.styles.js +112 -0
- package/cjs/components/Select/ui/SelectTarget/SelectTarget.styles.js.map +1 -0
- package/cjs/components/Select/ui/SelectTarget/SelectTarget.styles_hb1tns.css +6 -0
- package/cjs/components/Select/utils/index.js +112 -0
- package/cjs/components/Select/utils/index.js.map +1 -0
- package/cjs/components/Select/variations/_target/base.js +9 -0
- package/cjs/components/Select/variations/_target/base.js.map +1 -0
- package/cjs/components/Select/variations/_target/base_x642ct.css +1 -0
- package/cjs/components/Sheet/Sheet.css +8 -0
- package/cjs/components/Sheet/Sheet.js +108 -0
- package/cjs/components/Sheet/Sheet.js.map +1 -0
- package/cjs/components/Sheet/Sheet.styles.js +115 -0
- package/cjs/components/Sheet/Sheet.styles.js.map +1 -0
- package/cjs/components/Sheet/Sheet.styles_o73i75.css +6 -0
- package/cjs/components/Sheet/Sheet.tokens.js +17 -0
- package/cjs/components/Sheet/Sheet.tokens.js.map +1 -0
- package/cjs/components/Sheet/hooks/useOverflow.js +23 -0
- package/cjs/components/Sheet/hooks/useOverflow.js.map +1 -0
- package/cjs/components/Sheet/hooks/useSheetSwipe.js +98 -0
- package/cjs/components/Sheet/hooks/useSheetSwipe.js.map +1 -0
- package/cjs/components/Sheet/utils/handleTransition.js +13 -0
- package/cjs/components/Sheet/utils/handleTransition.js.map +1 -0
- package/cjs/components/Sheet/utils/index.js +8 -0
- package/cjs/components/Sheet/utils/index.js.map +1 -0
- package/cjs/components/Sheet/variations/_view/base.js +9 -0
- package/cjs/components/Sheet/variations/_view/base.js.map +1 -0
- package/cjs/components/Sheet/variations/_view/base_x642ct.css +1 -0
- package/cjs/engines/common.js.map +1 -1
- package/cjs/index.css +34 -43
- package/cjs/index.js +24 -6
- package/cjs/index.js.map +1 -1
- package/cjs/utils/index.js.map +1 -1
- package/es/components/Button/Button.styles.js.map +1 -1
- package/es/components/Chip/Chip.tokens.js +0 -2
- 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/ui/ComboboxTarget/ComboboxTarget.js +1 -1
- package/es/components/Combobox/ui/ComboboxTarget/ComboboxTarget.js.map +1 -1
- package/es/components/Combobox/utils/index.js +3 -102
- package/es/components/Combobox/utils/index.js.map +1 -1
- package/es/components/Dropdown/Dropdown.tokens.js +18 -32
- package/es/components/Dropdown/Dropdown.tokens.js.map +1 -1
- package/es/components/Pagination/Pagination.css +49 -58
- package/es/components/Pagination/Pagination.js +5 -12
- 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 +11 -9
- package/es/components/Pagination/Pagination.tokens.js.map +1 -1
- package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +50 -59
- package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +29 -23
- package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js.map +1 -1
- package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +19 -6
- package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
- package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles_rtehle.css +4 -0
- package/es/components/Select/Select.css +60 -65
- package/es/components/Select/Select.js +198 -250
- package/es/components/Select/Select.js.map +1 -1
- package/es/components/Select/Select.styles.js +34 -48
- package/es/components/Select/Select.styles.js.map +1 -1
- package/es/components/Select/Select.styles_1q3i6gw.css +4 -0
- package/es/components/Select/Select.tokens.js +166 -58
- package/es/components/Select/Select.tokens.js.map +1 -1
- package/es/components/Select/hooks/useKeyNavigation.js.map +1 -0
- package/{cjs/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.css → es/components/Select/ui/SelectChip/SelectChip.css} +1 -1
- package/es/components/Select/ui/SelectChip/SelectChip.js +35 -0
- package/es/components/Select/ui/SelectChip/SelectChip.js.map +1 -0
- package/es/components/Select/ui/SelectChip/SelectChip.styles.js +22 -0
- package/es/components/Select/ui/SelectChip/SelectChip.styles.js.map +1 -0
- package/es/components/Select/ui/SelectChip/SelectChip.styles_1u4uw04.css +1 -0
- package/es/components/Select/ui/SelectDivider/SelectDivider.css +35 -0
- package/es/components/Select/ui/SelectDivider/SelectDivider.js +36 -0
- package/es/components/Select/ui/SelectDivider/SelectDivider.js.map +1 -0
- package/es/components/Select/ui/SelectDivider/SelectDivider.styles.js +7 -0
- package/es/components/Select/ui/SelectDivider/SelectDivider.styles.js.map +1 -0
- package/es/components/Select/ui/SelectDivider/SelectDivider.styles_673hj6.css +1 -0
- package/es/components/Select/ui/SelectDivider/variations/_size/base.js +5 -0
- package/es/components/Select/ui/SelectDivider/variations/_size/base.js.map +1 -0
- package/es/components/Select/ui/SelectDivider/variations/_size/base_x642ct.css +1 -0
- package/es/components/Select/ui/SelectDivider/variations/_view/base.js +5 -0
- package/es/components/Select/ui/SelectDivider/variations/_view/base.js.map +1 -0
- package/es/components/Select/ui/SelectDivider/variations/_view/base_x642ct.css +1 -0
- package/es/components/Select/ui/SelectFooter/SelectFooter.css +35 -0
- package/es/components/Select/ui/SelectFooter/SelectFooter.js +36 -0
- package/es/components/Select/ui/SelectFooter/SelectFooter.js.map +1 -0
- package/es/components/Select/ui/SelectFooter/SelectFooter.styles.js +7 -0
- package/es/components/Select/ui/SelectFooter/SelectFooter.styles.js.map +1 -0
- package/es/components/Select/ui/SelectFooter/SelectFooter.styles_11hk6tt.css +1 -0
- package/es/components/Select/ui/SelectFooter/variations/_size/base.js +5 -0
- package/es/components/Select/ui/SelectFooter/variations/_size/base.js.map +1 -0
- package/es/components/Select/ui/SelectFooter/variations/_size/base_x642ct.css +1 -0
- package/es/components/Select/ui/SelectFooter/variations/_view/base.js +5 -0
- package/es/components/Select/ui/SelectFooter/variations/_view/base.js.map +1 -0
- package/es/components/Select/ui/SelectFooter/variations/_view/base_x642ct.css +1 -0
- package/es/components/Select/ui/SelectGroup/SelectGroup.css +35 -0
- package/es/components/Select/ui/SelectGroup/SelectGroup.js +36 -0
- package/es/components/Select/ui/SelectGroup/SelectGroup.js.map +1 -0
- package/es/components/Select/ui/SelectGroup/SelectGroup.styles.js +7 -0
- package/es/components/Select/ui/SelectGroup/SelectGroup.styles.js.map +1 -0
- package/es/components/Select/ui/SelectGroup/SelectGroup.styles_mktu7e.css +1 -0
- package/es/components/Select/ui/SelectGroup/variations/_size/base.js +5 -0
- package/es/components/Select/ui/SelectGroup/variations/_size/base.js.map +1 -0
- package/es/components/Select/ui/SelectGroup/variations/_size/base_x642ct.css +1 -0
- package/es/components/Select/ui/SelectGroup/variations/_view/base.js +5 -0
- package/es/components/Select/ui/SelectGroup/variations/_view/base.js.map +1 -0
- package/es/components/Select/ui/SelectGroup/variations/_view/base_x642ct.css +1 -0
- package/es/components/Select/ui/SelectHeader/SelectHeader.css +35 -0
- package/es/components/Select/ui/SelectHeader/SelectHeader.js +36 -0
- package/es/components/Select/ui/SelectHeader/SelectHeader.js.map +1 -0
- package/es/components/Select/ui/SelectHeader/SelectHeader.styles.js +7 -0
- package/es/components/Select/ui/SelectHeader/SelectHeader.styles.js.map +1 -0
- package/es/components/Select/ui/SelectHeader/SelectHeader.styles_24gqog.css +1 -0
- package/es/components/Select/ui/SelectHeader/variations/_size/base.js +5 -0
- package/es/components/Select/ui/SelectHeader/variations/_size/base.js.map +1 -0
- package/es/components/Select/ui/SelectHeader/variations/_size/base_x642ct.css +1 -0
- package/es/components/Select/ui/SelectHeader/variations/_view/base.js +5 -0
- package/es/components/Select/ui/SelectHeader/variations/_view/base.js.map +1 -0
- package/es/components/Select/ui/SelectHeader/variations/_view/base_x642ct.css +1 -0
- package/es/components/Select/ui/SelectItem/SelectItem.css +35 -0
- package/es/components/Select/ui/SelectItem/SelectItem.js +35 -0
- package/es/components/Select/ui/SelectItem/SelectItem.js.map +1 -0
- package/es/components/Select/ui/SelectItem/SelectItem.styles.js +15 -0
- package/es/components/Select/ui/SelectItem/SelectItem.styles.js.map +1 -0
- package/es/components/Select/ui/SelectItem/SelectItem.styles_vk39mp.css +1 -0
- package/es/components/Select/ui/SelectItem/variations/_size/base.js +5 -0
- package/es/components/Select/ui/SelectItem/variations/_size/base.js.map +1 -0
- package/es/components/Select/ui/SelectItem/variations/_size/base_x642ct.css +1 -0
- package/es/components/Select/ui/SelectItem/variations/_view/base.js +5 -0
- package/es/components/Select/ui/SelectItem/variations/_view/base.js.map +1 -0
- package/es/components/Select/ui/SelectItem/variations/_view/base_x642ct.css +1 -0
- package/es/components/Select/{elements/Target/elements/Textfield/Textfield.css → ui/SelectTarget/SelectTarget.css} +7 -13
- package/es/components/Select/ui/SelectTarget/SelectTarget.js +144 -0
- package/es/components/Select/ui/SelectTarget/SelectTarget.js.map +1 -0
- package/es/components/Select/ui/SelectTarget/SelectTarget.styles.js +103 -0
- package/es/components/Select/ui/SelectTarget/SelectTarget.styles.js.map +1 -0
- package/es/components/Select/ui/SelectTarget/SelectTarget.styles_hb1tns.css +6 -0
- package/es/components/Select/utils/index.js +105 -0
- package/es/components/Select/utils/index.js.map +1 -0
- package/es/components/Select/variations/_target/base.js +5 -0
- package/es/components/Select/variations/_target/base.js.map +1 -0
- package/es/components/Select/variations/_target/base_x642ct.css +1 -0
- package/es/components/Sheet/Sheet.css +8 -0
- package/es/components/Sheet/Sheet.js +103 -0
- package/es/components/Sheet/Sheet.js.map +1 -0
- package/es/components/Sheet/Sheet.styles.js +106 -0
- package/es/components/Sheet/Sheet.styles.js.map +1 -0
- package/es/components/Sheet/Sheet.styles_o73i75.css +6 -0
- package/es/components/Sheet/Sheet.tokens.js +12 -0
- package/es/components/Sheet/Sheet.tokens.js.map +1 -0
- package/es/components/Sheet/hooks/useOverflow.js +19 -0
- package/es/components/Sheet/hooks/useOverflow.js.map +1 -0
- package/es/components/Sheet/hooks/useSheetSwipe.js +94 -0
- package/es/components/Sheet/hooks/useSheetSwipe.js.map +1 -0
- package/es/components/Sheet/utils/handleTransition.js +9 -0
- package/es/components/Sheet/utils/handleTransition.js.map +1 -0
- package/es/components/Sheet/utils/index.js +4 -0
- package/es/components/Sheet/utils/index.js.map +1 -0
- package/es/components/Sheet/variations/_view/base.js +5 -0
- package/es/components/Sheet/variations/_view/base.js.map +1 -0
- package/es/components/Sheet/variations/_view/base_x642ct.css +1 -0
- package/es/engines/common.js.map +1 -1
- package/es/index.css +34 -43
- package/es/index.js +9 -4
- package/es/index.js.map +1 -1
- package/es/utils/index.js.map +1 -1
- package/package.json +6 -4
- package/styled-components/cjs/components/Button/Button.styles.js +2 -2
- package/styled-components/cjs/components/Chip/Chip.tokens.js +0 -2
- package/styled-components/cjs/components/Combobox/Combobox.js +6 -6
- package/styled-components/cjs/components/Combobox/hooks/index.js +1 -14
- package/styled-components/cjs/components/Combobox/ui/ComboboxTarget/ComboboxTarget.js +5 -4
- package/styled-components/cjs/components/Combobox/utils/index.js +1 -105
- package/styled-components/cjs/components/Dropdown/Dropdown.tokens.js +18 -32
- package/styled-components/cjs/components/Pagination/Pagination.js +5 -12
- package/styled-components/cjs/components/Pagination/Pagination.styles.js +2 -2
- package/styled-components/cjs/components/Pagination/Pagination.tokens.js +11 -9
- package/styled-components/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +35 -22
- package/styled-components/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +8 -3
- package/styled-components/cjs/components/Select/Select.js +193 -249
- package/styled-components/cjs/components/Select/Select.styles.js +23 -28
- package/styled-components/cjs/components/Select/Select.template-doc.mdx +115 -0
- package/styled-components/cjs/components/Select/Select.tokens.js +167 -73
- package/styled-components/cjs/components/Select/hooks/index.js +12 -0
- package/styled-components/cjs/components/Select/index.js +20 -3
- package/styled-components/cjs/components/Select/{elements/Target/elements/Textfield/elements/Chip/Chip.js → ui/SelectChip/SelectChip.js} +27 -24
- package/styled-components/cjs/components/Select/ui/SelectChip/SelectChip.styles.js +25 -0
- package/styled-components/cjs/components/Select/ui/SelectDivider/SelectDivider.js +29 -0
- package/styled-components/cjs/components/Select/ui/SelectDivider/SelectDivider.styles.js +12 -0
- package/styled-components/cjs/components/Select/ui/SelectDivider/variations/_size/base.js +8 -0
- package/styled-components/cjs/components/Select/ui/SelectDivider/variations/_size/tokens.json +8 -0
- package/styled-components/cjs/components/Select/ui/SelectDivider/variations/_view/base.js +8 -0
- package/styled-components/cjs/components/Select/ui/SelectDivider/variations/_view/tokens.json +1 -0
- package/styled-components/cjs/components/Select/ui/SelectFooter/SelectFooter.js +29 -0
- package/styled-components/cjs/components/Select/ui/SelectFooter/SelectFooter.styles.js +12 -0
- package/styled-components/cjs/components/Select/ui/SelectFooter/variations/_size/base.js +8 -0
- package/styled-components/cjs/components/Select/ui/SelectFooter/variations/_size/tokens.json +12 -0
- package/styled-components/cjs/components/Select/ui/SelectFooter/variations/_view/base.js +8 -0
- package/styled-components/cjs/components/Select/ui/SelectFooter/variations/_view/tokens.json +9 -0
- package/styled-components/cjs/components/Select/ui/SelectGroup/SelectGroup.js +29 -0
- package/styled-components/cjs/components/Select/ui/SelectGroup/SelectGroup.styles.js +12 -0
- package/styled-components/cjs/components/Select/ui/SelectGroup/variations/_size/base.js +8 -0
- package/styled-components/cjs/components/Select/ui/SelectGroup/variations/_size/tokens.json +20 -0
- package/styled-components/cjs/components/Select/ui/SelectGroup/variations/_view/base.js +8 -0
- package/styled-components/cjs/components/Select/ui/SelectGroup/variations/_view/tokens.json +10 -0
- package/styled-components/cjs/components/Select/ui/SelectHeader/SelectHeader.js +29 -0
- package/styled-components/cjs/components/Select/ui/SelectHeader/SelectHeader.styles.js +12 -0
- package/styled-components/cjs/components/Select/ui/SelectHeader/variations/_size/base.js +8 -0
- package/styled-components/cjs/components/Select/ui/SelectHeader/variations/_size/tokens.json +12 -0
- package/styled-components/cjs/components/Select/ui/SelectHeader/variations/_view/base.js +8 -0
- package/styled-components/cjs/components/Select/ui/SelectHeader/variations/_view/tokens.json +9 -0
- package/styled-components/cjs/components/Select/ui/SelectItem/SelectItem.js +29 -0
- package/styled-components/cjs/components/Select/ui/SelectItem/SelectItem.styles.js +13 -0
- package/styled-components/cjs/components/Select/ui/SelectItem/variations/_size/base.js +8 -0
- package/styled-components/cjs/components/Select/ui/SelectItem/variations/_size/tokens.json +19 -0
- package/styled-components/cjs/components/Select/ui/SelectItem/variations/_view/base.js +8 -0
- package/styled-components/cjs/components/Select/ui/SelectItem/variations/_view/tokens.json +9 -0
- package/styled-components/cjs/components/Select/ui/SelectTarget/SelectTarget.js +157 -0
- package/styled-components/cjs/components/Select/ui/SelectTarget/SelectTarget.styles.js +69 -0
- package/styled-components/cjs/components/Select/ui/index.js +77 -0
- package/styled-components/cjs/components/Select/utils/index.js +102 -51
- package/styled-components/cjs/components/Select/variations/_target/base.js +8 -0
- package/styled-components/cjs/components/Select/variations/_target/tokens.json +1 -0
- package/styled-components/cjs/components/Sheet/Sheet.js +108 -0
- package/styled-components/cjs/components/Sheet/Sheet.styles.js +52 -0
- package/styled-components/cjs/components/Sheet/Sheet.template-doc.mdx +143 -0
- package/styled-components/cjs/components/Sheet/Sheet.tokens.js +15 -0
- package/styled-components/cjs/components/Sheet/Sheet.types.js +5 -0
- package/styled-components/cjs/components/Sheet/hooks/index.js +19 -0
- package/styled-components/cjs/components/Sheet/hooks/useOverflow.js +21 -0
- package/styled-components/cjs/components/Sheet/hooks/useSheetSwipe.js +102 -0
- package/styled-components/cjs/components/Sheet/index.js +31 -0
- package/styled-components/cjs/components/Sheet/utils/handleTransition.js +12 -0
- package/styled-components/cjs/components/Sheet/utils/index.js +14 -0
- package/styled-components/cjs/components/Sheet/variations/_view/base.js +8 -0
- package/styled-components/cjs/components/Sheet/variations/_view/tokens.json +6 -0
- package/styled-components/cjs/components/_Icon/index.js +0 -14
- 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 +0 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.config.js +10 -20
- package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.js +13 -9
- package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.stories.tsx +202 -768
- package/styled-components/cjs/examples/plasma_b2c/components/Sheet/Sheet.config.js +18 -0
- package/styled-components/cjs/examples/plasma_b2c/components/Sheet/Sheet.js +17 -0
- package/styled-components/cjs/examples/plasma_b2c/components/Sheet/Sheet.stories.tsx +341 -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 +10 -20
- package/styled-components/cjs/examples/plasma_web/components/Select/Select.js +13 -9
- package/styled-components/cjs/examples/plasma_web/components/Select/Select.stories.tsx +198 -768
- package/styled-components/cjs/examples/plasma_web/components/Sheet/Sheet.config.js +18 -0
- package/styled-components/cjs/examples/plasma_web/components/Sheet/Sheet.js +17 -0
- package/styled-components/cjs/examples/plasma_web/components/Sheet/Sheet.stories.tsx +341 -0
- package/styled-components/cjs/hooks/index.js +0 -7
- package/styled-components/cjs/index.js +11 -0
- package/styled-components/cjs/utils/index.js +0 -7
- package/styled-components/es/components/Button/Button.styles.js +2 -2
- package/styled-components/es/components/Chip/Chip.tokens.js +0 -2
- package/styled-components/es/components/Combobox/Combobox.js +2 -2
- package/styled-components/es/components/Combobox/hooks/index.js +1 -2
- package/styled-components/es/components/Combobox/ui/ComboboxTarget/ComboboxTarget.js +2 -1
- package/styled-components/es/components/Combobox/utils/index.js +1 -105
- package/styled-components/es/components/Dropdown/Dropdown.tokens.js +18 -32
- package/styled-components/es/components/Pagination/Pagination.js +5 -12
- package/styled-components/es/components/Pagination/Pagination.styles.js +2 -2
- package/styled-components/es/components/Pagination/Pagination.tokens.js +11 -9
- package/styled-components/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +33 -22
- package/styled-components/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +8 -3
- package/styled-components/es/components/Select/Select.js +190 -245
- package/styled-components/es/components/Select/Select.styles.js +21 -25
- package/styled-components/es/components/Select/Select.template-doc.mdx +115 -0
- package/styled-components/es/components/Select/Select.tokens.js +166 -72
- package/styled-components/es/components/Select/hooks/index.js +1 -0
- package/styled-components/es/components/Select/index.js +2 -2
- package/styled-components/es/components/Select/ui/SelectChip/SelectChip.js +31 -0
- package/styled-components/es/components/Select/ui/SelectChip/SelectChip.styles.js +19 -0
- package/styled-components/es/components/Select/ui/SelectDivider/SelectDivider.js +23 -0
- package/styled-components/es/components/Select/ui/SelectDivider/SelectDivider.styles.js +7 -0
- package/styled-components/es/components/Select/ui/SelectDivider/variations/_size/base.js +2 -0
- package/styled-components/es/components/Select/ui/SelectDivider/variations/_size/tokens.json +8 -0
- package/styled-components/es/components/Select/ui/SelectDivider/variations/_view/base.js +2 -0
- package/styled-components/es/components/Select/ui/SelectDivider/variations/_view/tokens.json +1 -0
- package/styled-components/es/components/Select/ui/SelectFooter/SelectFooter.js +23 -0
- package/styled-components/es/components/Select/ui/SelectFooter/SelectFooter.styles.js +7 -0
- package/styled-components/es/components/Select/ui/SelectFooter/variations/_size/base.js +2 -0
- package/styled-components/es/components/Select/ui/SelectFooter/variations/_size/tokens.json +12 -0
- package/styled-components/es/components/Select/ui/SelectFooter/variations/_view/base.js +2 -0
- package/styled-components/es/components/Select/ui/SelectFooter/variations/_view/tokens.json +9 -0
- package/styled-components/es/components/Select/ui/SelectGroup/SelectGroup.js +23 -0
- package/styled-components/es/components/Select/ui/SelectGroup/SelectGroup.styles.js +7 -0
- package/styled-components/es/components/Select/ui/SelectGroup/variations/_size/base.js +2 -0
- package/styled-components/es/components/Select/ui/SelectGroup/variations/_size/tokens.json +20 -0
- package/styled-components/es/components/Select/ui/SelectGroup/variations/_view/base.js +2 -0
- package/styled-components/es/components/Select/ui/SelectGroup/variations/_view/tokens.json +10 -0
- package/styled-components/es/components/Select/ui/SelectHeader/SelectHeader.js +23 -0
- package/styled-components/es/components/Select/ui/SelectHeader/SelectHeader.styles.js +7 -0
- package/styled-components/es/components/Select/ui/SelectHeader/variations/_size/base.js +2 -0
- package/styled-components/es/components/Select/ui/SelectHeader/variations/_size/tokens.json +12 -0
- package/styled-components/es/components/Select/ui/SelectHeader/variations/_view/base.js +2 -0
- package/styled-components/es/components/Select/ui/SelectHeader/variations/_view/tokens.json +9 -0
- package/styled-components/es/components/Select/ui/SelectItem/SelectItem.js +23 -0
- package/styled-components/es/components/Select/ui/SelectItem/SelectItem.styles.js +8 -0
- package/styled-components/es/components/Select/ui/SelectItem/variations/_size/base.js +2 -0
- package/styled-components/es/components/Select/ui/SelectItem/variations/_size/tokens.json +19 -0
- package/styled-components/es/components/Select/ui/SelectItem/variations/_view/base.js +2 -0
- package/styled-components/es/components/Select/ui/SelectItem/variations/_view/tokens.json +9 -0
- package/styled-components/es/components/Select/ui/SelectTarget/SelectTarget.js +148 -0
- package/styled-components/es/components/Select/ui/SelectTarget/SelectTarget.styles.js +62 -0
- package/styled-components/es/components/Select/ui/index.js +6 -0
- package/styled-components/es/components/Select/utils/index.js +106 -8
- package/styled-components/es/components/Select/variations/_target/base.js +2 -0
- package/styled-components/es/components/Select/variations/_target/tokens.json +1 -0
- package/styled-components/es/components/Sheet/Sheet.js +100 -0
- package/styled-components/es/components/Sheet/Sheet.styles.js +45 -0
- package/styled-components/es/components/Sheet/Sheet.template-doc.mdx +143 -0
- package/styled-components/es/components/Sheet/Sheet.tokens.js +9 -0
- package/styled-components/es/components/Sheet/Sheet.types.js +1 -0
- package/styled-components/es/components/Sheet/hooks/index.js +2 -0
- package/styled-components/es/components/Sheet/hooks/useOverflow.js +15 -0
- package/styled-components/es/components/Sheet/hooks/useSheetSwipe.js +95 -0
- package/styled-components/es/components/Sheet/index.js +2 -0
- package/styled-components/es/components/Sheet/utils/handleTransition.js +6 -0
- package/styled-components/es/components/Sheet/utils/index.js +2 -0
- package/styled-components/es/components/Sheet/variations/_view/base.js +2 -0
- package/styled-components/es/components/Sheet/variations/_view/tokens.json +6 -0
- package/styled-components/es/components/_Icon/index.js +0 -2
- 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 +0 -1
- package/styled-components/es/examples/plasma_b2c/components/Select/Select.config.js +10 -20
- package/styled-components/es/examples/plasma_b2c/components/Select/Select.js +12 -3
- package/styled-components/es/examples/plasma_b2c/components/Select/Select.stories.tsx +202 -768
- package/styled-components/es/examples/plasma_b2c/components/Sheet/Sheet.config.js +12 -0
- package/styled-components/es/examples/plasma_b2c/components/Sheet/Sheet.js +6 -0
- package/styled-components/es/examples/plasma_b2c/components/Sheet/Sheet.stories.tsx +341 -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 +10 -20
- package/styled-components/es/examples/plasma_web/components/Select/Select.js +12 -3
- package/styled-components/es/examples/plasma_web/components/Select/Select.stories.tsx +198 -768
- package/styled-components/es/examples/plasma_web/components/Sheet/Sheet.config.js +12 -0
- package/styled-components/es/examples/plasma_web/components/Sheet/Sheet.js +6 -0
- package/styled-components/es/examples/plasma_web/components/Sheet/Sheet.stories.tsx +341 -0
- package/styled-components/es/hooks/index.js +0 -1
- package/styled-components/es/index.js +1 -0
- package/styled-components/es/utils/index.js +0 -1
- package/types/components/Chip/Chip.tokens.d.ts +0 -2
- package/types/components/Chip/Chip.tokens.d.ts.map +1 -1
- package/types/components/Combobox/hooks/index.d.ts +0 -1
- package/types/components/Combobox/hooks/index.d.ts.map +1 -1
- package/types/components/Combobox/ui/ComboboxTarget/ComboboxTarget.d.ts.map +1 -1
- package/types/components/Combobox/utils/index.d.ts +1 -13
- 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 +9 -5
- 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 +11 -9
- package/types/components/Pagination/Pagination.tokens.d.ts.map +1 -1
- package/types/components/Pagination/Pagination.types.d.ts +1 -6
- 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 +43 -53
- package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts.map +1 -1
- package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.types.d.ts +2 -5
- package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.types.d.ts.map +1 -1
- package/types/components/Select/Select.d.ts +8 -7
- package/types/components/Select/Select.d.ts.map +1 -1
- package/types/components/Select/Select.styles.d.ts +6 -11
- package/types/components/Select/Select.styles.d.ts.map +1 -1
- package/types/components/Select/Select.tokens.d.ts +165 -71
- package/types/components/Select/Select.tokens.d.ts.map +1 -1
- package/types/components/Select/Select.types.d.ts +65 -128
- package/types/components/Select/Select.types.d.ts.map +1 -1
- package/types/components/Select/hooks/index.d.ts +2 -0
- package/types/components/Select/hooks/index.d.ts.map +1 -0
- package/types/components/Select/hooks/useKeyNavigation.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/ui/SelectChip/SelectChip.d.ts +7 -0
- package/types/components/Select/ui/SelectChip/SelectChip.d.ts.map +1 -0
- package/types/components/Select/ui/SelectChip/SelectChip.styles.d.ts +3 -0
- package/types/components/Select/ui/SelectChip/SelectChip.styles.d.ts.map +1 -0
- package/types/components/Select/ui/SelectChip/SelectChip.types.d.ts +37 -0
- package/types/components/Select/ui/SelectChip/SelectChip.types.d.ts.map +1 -0
- package/types/components/Select/ui/SelectDivider/SelectDivider.d.ts +29 -0
- package/types/components/Select/ui/SelectDivider/SelectDivider.d.ts.map +1 -0
- package/types/components/Select/ui/SelectDivider/SelectDivider.styles.d.ts +3 -0
- package/types/components/Select/ui/SelectDivider/SelectDivider.styles.d.ts.map +1 -0
- package/types/components/Select/ui/SelectDivider/SelectDivider.types.d.ts +3 -0
- package/types/components/Select/ui/SelectDivider/SelectDivider.types.d.ts.map +1 -0
- package/types/components/Select/ui/SelectDivider/variations/_size/base.d.ts +2 -0
- package/types/components/Select/ui/SelectDivider/variations/_size/base.d.ts.map +1 -0
- package/types/components/Select/ui/SelectDivider/variations/_view/base.d.ts +2 -0
- package/types/components/Select/ui/SelectDivider/variations/_view/base.d.ts.map +1 -0
- package/types/components/Select/ui/SelectFooter/SelectFooter.d.ts +29 -0
- package/types/components/Select/ui/SelectFooter/SelectFooter.d.ts.map +1 -0
- package/types/components/Select/ui/SelectFooter/SelectFooter.styles.d.ts +3 -0
- package/types/components/Select/ui/SelectFooter/SelectFooter.styles.d.ts.map +1 -0
- package/types/components/Select/ui/SelectFooter/SelectFooter.type.d.ts +3 -0
- package/types/components/Select/ui/SelectFooter/SelectFooter.type.d.ts.map +1 -0
- package/types/components/Select/ui/SelectFooter/variations/_size/base.d.ts +2 -0
- package/types/components/Select/ui/SelectFooter/variations/_size/base.d.ts.map +1 -0
- package/types/components/Select/ui/SelectFooter/variations/_view/base.d.ts +2 -0
- package/types/components/Select/ui/SelectFooter/variations/_view/base.d.ts.map +1 -0
- package/types/components/Select/ui/SelectGroup/SelectGroup.d.ts +37 -0
- package/types/components/Select/ui/SelectGroup/SelectGroup.d.ts.map +1 -0
- package/types/components/Select/ui/SelectGroup/SelectGroup.styles.d.ts +3 -0
- package/types/components/Select/ui/SelectGroup/SelectGroup.styles.d.ts.map +1 -0
- package/types/components/Select/ui/SelectGroup/SelectGroup.type.d.ts +3 -0
- package/types/components/Select/ui/SelectGroup/SelectGroup.type.d.ts.map +1 -0
- package/types/components/Select/ui/SelectGroup/variations/_size/base.d.ts +2 -0
- package/types/components/Select/ui/SelectGroup/variations/_size/base.d.ts.map +1 -0
- package/types/components/Select/ui/SelectGroup/variations/_view/base.d.ts +2 -0
- package/types/components/Select/ui/SelectGroup/variations/_view/base.d.ts.map +1 -0
- package/types/components/Select/ui/SelectHeader/SelectHeader.d.ts +29 -0
- package/types/components/Select/ui/SelectHeader/SelectHeader.d.ts.map +1 -0
- package/types/components/Select/ui/SelectHeader/SelectHeader.styles.d.ts +3 -0
- package/types/components/Select/ui/SelectHeader/SelectHeader.styles.d.ts.map +1 -0
- package/types/components/Select/ui/SelectHeader/SelectHeader.type.d.ts +3 -0
- package/types/components/Select/ui/SelectHeader/SelectHeader.type.d.ts.map +1 -0
- package/types/components/Select/ui/SelectHeader/variations/_size/base.d.ts +2 -0
- package/types/components/Select/ui/SelectHeader/variations/_size/base.d.ts.map +1 -0
- package/types/components/Select/ui/SelectHeader/variations/_view/base.d.ts +2 -0
- package/types/components/Select/ui/SelectHeader/variations/_view/base.d.ts.map +1 -0
- package/types/components/Select/ui/SelectItem/SelectItem.d.ts +53 -0
- package/types/components/Select/ui/SelectItem/SelectItem.d.ts.map +1 -0
- package/types/components/Select/ui/SelectItem/SelectItem.styles.d.ts +3 -0
- package/types/components/Select/ui/SelectItem/SelectItem.styles.d.ts.map +1 -0
- package/types/components/Select/ui/SelectItem/SelectItem.type.d.ts +3 -0
- package/types/components/Select/ui/SelectItem/SelectItem.type.d.ts.map +1 -0
- package/types/components/Select/ui/SelectItem/variations/_size/base.d.ts +2 -0
- package/types/components/Select/ui/SelectItem/variations/_size/base.d.ts.map +1 -0
- package/types/components/Select/ui/SelectItem/variations/_view/base.d.ts +2 -0
- package/types/components/Select/ui/SelectItem/variations/_view/base.d.ts.map +1 -0
- package/types/components/Select/ui/SelectTarget/SelectTarget.d.ts +7 -0
- package/types/components/Select/ui/SelectTarget/SelectTarget.d.ts.map +1 -0
- package/types/components/Select/{elements/SelectNotFoundContent/SelectNotFoundContent.styles.d.ts → ui/SelectTarget/SelectTarget.styles.d.ts} +12 -6
- package/types/components/Select/ui/SelectTarget/SelectTarget.styles.d.ts.map +1 -0
- package/types/components/Select/ui/SelectTarget/SelectTarget.types.d.ts +60 -0
- package/types/components/Select/ui/SelectTarget/SelectTarget.types.d.ts.map +1 -0
- package/types/components/Select/ui/index.d.ts +7 -0
- package/types/components/Select/ui/index.d.ts.map +1 -0
- package/types/components/Select/utils/index.d.ts +13 -8
- package/types/components/Select/utils/index.d.ts.map +1 -1
- package/types/components/Select/variations/_target/base.d.ts +2 -0
- package/types/components/Select/variations/_target/base.d.ts.map +1 -0
- package/types/components/Sheet/Sheet.d.ts +22 -0
- package/types/components/Sheet/Sheet.d.ts.map +1 -0
- package/types/components/Sheet/Sheet.styles.d.ts +16 -0
- package/types/components/Sheet/Sheet.styles.d.ts.map +1 -0
- package/types/components/Sheet/Sheet.tokens.d.ts +10 -0
- package/types/components/Sheet/Sheet.tokens.d.ts.map +1 -0
- package/types/components/Sheet/Sheet.types.d.ts +65 -0
- package/types/components/Sheet/Sheet.types.d.ts.map +1 -0
- package/types/components/Sheet/hooks/index.d.ts +3 -0
- package/types/components/Sheet/hooks/index.d.ts.map +1 -0
- package/types/components/Sheet/hooks/useOverflow.d.ts +3 -0
- package/types/components/Sheet/hooks/useOverflow.d.ts.map +1 -0
- package/types/components/Sheet/hooks/useSheetSwipe.d.ts +9 -0
- package/types/components/Sheet/hooks/useSheetSwipe.d.ts.map +1 -0
- package/types/components/Sheet/index.d.ts +4 -0
- package/types/components/Sheet/index.d.ts.map +1 -0
- package/types/components/Sheet/utils/handleTransition.d.ts +5 -0
- package/types/components/Sheet/utils/handleTransition.d.ts.map +1 -0
- package/types/components/Sheet/utils/index.d.ts +3 -0
- package/types/components/Sheet/utils/index.d.ts.map +1 -0
- package/types/components/Sheet/variations/_view/base.d.ts +2 -0
- package/types/components/Sheet/variations/_view/base.d.ts.map +1 -0
- package/types/components/_Icon/index.d.ts +0 -2
- 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 +5 -15
- package/types/examples/plasma_b2c/components/Select/Select.config.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Select/Select.d.ts +55 -70
- package/types/examples/plasma_b2c/components/Select/Select.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Sheet/Sheet.config.d.ts +11 -0
- package/types/examples/plasma_b2c/components/Sheet/Sheet.config.d.ts.map +1 -0
- package/types/examples/plasma_b2c/components/Sheet/Sheet.d.ts +8 -0
- package/types/examples/plasma_b2c/components/Sheet/Sheet.d.ts.map +1 -0
- 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 +5 -15
- package/types/examples/plasma_web/components/Select/Select.config.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Select/Select.d.ts +55 -70
- package/types/examples/plasma_web/components/Select/Select.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Sheet/Sheet.config.d.ts +11 -0
- package/types/examples/plasma_web/components/Sheet/Sheet.config.d.ts.map +1 -0
- package/types/examples/plasma_web/components/Sheet/Sheet.d.ts +8 -0
- package/types/examples/plasma_web/components/Sheet/Sheet.d.ts.map +1 -0
- package/types/hooks/index.d.ts +0 -1
- package/types/hooks/index.d.ts.map +1 -1
- package/types/index.d.ts +1 -0
- package/types/index.d.ts.map +1 -1
- package/types/utils/index.d.ts +0 -1
- package/types/utils/index.d.ts.map +1 -1
- package/cjs/components/Combobox/hooks/useKeyNavigation.js.map +0 -1
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles_187mk6b.css +0 -3
- package/cjs/components/Select/Select.styles_zx0ztg.css +0 -5
- package/cjs/components/Select/elements/Inner/Inner.css +0 -106
- package/cjs/components/Select/elements/Inner/Inner.js +0 -82
- package/cjs/components/Select/elements/Inner/Inner.js.map +0 -1
- package/cjs/components/Select/elements/Inner/elements/Item/Item.css +0 -106
- package/cjs/components/Select/elements/Inner/elements/Item/Item.js +0 -98
- package/cjs/components/Select/elements/Inner/elements/Item/Item.js.map +0 -1
- package/cjs/components/Select/elements/Inner/elements/Item/Item.styles.js +0 -104
- package/cjs/components/Select/elements/Inner/elements/Item/Item.styles.js.map +0 -1
- package/cjs/components/Select/elements/Inner/elements/Item/Item.styles_545sy7.css +0 -8
- package/cjs/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.css +0 -30
- package/cjs/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.js +0 -20
- package/cjs/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.js.map +0 -1
- package/cjs/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.styles.js +0 -41
- package/cjs/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.styles.js.map +0 -1
- package/cjs/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.styles_r1sne.css +0 -4
- package/cjs/components/Select/elements/Target/Target.css +0 -66
- package/cjs/components/Select/elements/Target/Target.js +0 -63
- package/cjs/components/Select/elements/Target/Target.js.map +0 -1
- package/cjs/components/Select/elements/Target/elements/Button/Button.css +0 -33
- package/cjs/components/Select/elements/Target/elements/Button/Button.js +0 -59
- package/cjs/components/Select/elements/Target/elements/Button/Button.js.map +0 -1
- package/cjs/components/Select/elements/Target/elements/Button/Button.styles.js +0 -52
- package/cjs/components/Select/elements/Target/elements/Button/Button.styles.js.map +0 -1
- package/cjs/components/Select/elements/Target/elements/Button/Button.styles_1r519o1.css +0 -5
- package/cjs/components/Select/elements/Target/elements/Textfield/Textfield.js +0 -113
- package/cjs/components/Select/elements/Target/elements/Textfield/Textfield.js.map +0 -1
- package/cjs/components/Select/elements/Target/elements/Textfield/Textfield.styles.js +0 -113
- package/cjs/components/Select/elements/Target/elements/Textfield/Textfield.styles.js.map +0 -1
- package/cjs/components/Select/elements/Target/elements/Textfield/Textfield.styles_hp8mkt.css +0 -12
- package/cjs/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.js +0 -36
- package/cjs/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.js.map +0 -1
- package/cjs/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.styles.js.map +0 -1
- package/cjs/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.styles_k6znfr.css +0 -1
- package/cjs/components/Select/hooks/useKeyboardNavigation.js +0 -314
- package/cjs/components/Select/hooks/useKeyboardNavigation.js.map +0 -1
- package/cjs/components/Select/hooks/usePathMaps.js +0 -37
- package/cjs/components/Select/hooks/usePathMaps.js.map +0 -1
- package/cjs/components/Select/reducers/focusedChipIndexReducer.js +0 -39
- package/cjs/components/Select/reducers/focusedChipIndexReducer.js.map +0 -1
- package/cjs/components/Select/reducers/focusedPathReducer.js +0 -37
- package/cjs/components/Select/reducers/focusedPathReducer.js.map +0 -1
- package/cjs/components/Select/reducers/pathReducer.js +0 -41
- package/cjs/components/Select/reducers/pathReducer.js.map +0 -1
- package/cjs/components/Select/utils/getButtonLabel.js +0 -47
- package/cjs/components/Select/utils/getButtonLabel.js.map +0 -1
- package/cjs/components/Select/utils/getCorrectHeight.js +0 -13
- package/cjs/components/Select/utils/getCorrectHeight.js.map +0 -1
- package/cjs/components/Select/utils/getView.js +0 -27
- package/cjs/components/Select/utils/getView.js.map +0 -1
- package/cjs/components/Select/utils/initialItemsTransform.js +0 -19
- package/cjs/components/Select/utils/initialItemsTransform.js.map +0 -1
- package/cjs/components/Select/utils/sizeToIconSize.js +0 -11
- package/cjs/components/Select/utils/sizeToIconSize.js.map +0 -1
- package/cjs/components/Select/utils/updateAncestors.js +0 -32
- package/cjs/components/Select/utils/updateAncestors.js.map +0 -1
- package/cjs/components/Select/utils/updateDescendants.js +0 -16
- package/cjs/components/Select/utils/updateDescendants.js.map +0 -1
- package/cjs/components/Select/utils/updateSingleAncestors.js +0 -13
- package/cjs/components/Select/utils/updateSingleAncestors.js.map +0 -1
- package/cjs/components/_Icon/Icon.assets/DisclosureDownCentered.js +0 -33
- package/cjs/components/_Icon/Icon.assets/DisclosureDownCentered.js.map +0 -1
- package/cjs/components/_Icon/Icon.assets/DisclosureRightCentered.js +0 -31
- package/cjs/components/_Icon/Icon.assets/DisclosureRightCentered.js.map +0 -1
- package/cjs/components/_Icon/Icons/IconDisclosureDownCentered.js +0 -23
- package/cjs/components/_Icon/Icons/IconDisclosureDownCentered.js.map +0 -1
- package/cjs/components/_Icon/Icons/IconDisclosureRightCentered.js +0 -23
- package/cjs/components/_Icon/Icons/IconDisclosureRightCentered.js.map +0 -1
- package/cjs/hooks/useOutsideClick.js +0 -26
- package/cjs/hooks/useOutsideClick.js.map +0 -1
- package/cjs/utils/isEmpty.js +0 -49
- package/cjs/utils/isEmpty.js.map +0 -1
- package/es/components/Combobox/hooks/useKeyNavigation.js.map +0 -1
- package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles_187mk6b.css +0 -3
- package/es/components/Select/Select.styles_zx0ztg.css +0 -5
- package/es/components/Select/elements/Inner/Inner.css +0 -106
- package/es/components/Select/elements/Inner/Inner.js +0 -78
- package/es/components/Select/elements/Inner/Inner.js.map +0 -1
- package/es/components/Select/elements/Inner/elements/Item/Item.css +0 -106
- package/es/components/Select/elements/Inner/elements/Item/Item.js +0 -94
- package/es/components/Select/elements/Inner/elements/Item/Item.js.map +0 -1
- package/es/components/Select/elements/Inner/elements/Item/Item.styles.js +0 -93
- package/es/components/Select/elements/Inner/elements/Item/Item.styles.js.map +0 -1
- package/es/components/Select/elements/Inner/elements/Item/Item.styles_545sy7.css +0 -8
- package/es/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.css +0 -30
- package/es/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.js +0 -16
- package/es/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.js.map +0 -1
- package/es/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.styles.js +0 -34
- package/es/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.styles.js.map +0 -1
- package/es/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.styles_r1sne.css +0 -4
- package/es/components/Select/elements/Target/Target.css +0 -66
- package/es/components/Select/elements/Target/Target.js +0 -59
- package/es/components/Select/elements/Target/Target.js.map +0 -1
- package/es/components/Select/elements/Target/elements/Button/Button.css +0 -33
- package/es/components/Select/elements/Target/elements/Button/Button.js +0 -55
- package/es/components/Select/elements/Target/elements/Button/Button.js.map +0 -1
- package/es/components/Select/elements/Target/elements/Button/Button.styles.js +0 -44
- package/es/components/Select/elements/Target/elements/Button/Button.styles.js.map +0 -1
- package/es/components/Select/elements/Target/elements/Button/Button.styles_1r519o1.css +0 -5
- package/es/components/Select/elements/Target/elements/Textfield/Textfield.js +0 -109
- package/es/components/Select/elements/Target/elements/Textfield/Textfield.js.map +0 -1
- package/es/components/Select/elements/Target/elements/Textfield/Textfield.styles.js +0 -98
- package/es/components/Select/elements/Target/elements/Textfield/Textfield.styles.js.map +0 -1
- package/es/components/Select/elements/Target/elements/Textfield/Textfield.styles_hp8mkt.css +0 -12
- package/es/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.js +0 -32
- package/es/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.js.map +0 -1
- package/es/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.styles.js +0 -19
- package/es/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.styles.js.map +0 -1
- package/es/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.styles_k6znfr.css +0 -1
- package/es/components/Select/hooks/useKeyboardNavigation.js +0 -309
- package/es/components/Select/hooks/useKeyboardNavigation.js.map +0 -1
- package/es/components/Select/hooks/usePathMaps.js +0 -33
- package/es/components/Select/hooks/usePathMaps.js.map +0 -1
- package/es/components/Select/reducers/focusedChipIndexReducer.js +0 -35
- package/es/components/Select/reducers/focusedChipIndexReducer.js.map +0 -1
- package/es/components/Select/reducers/focusedPathReducer.js +0 -33
- package/es/components/Select/reducers/focusedPathReducer.js.map +0 -1
- package/es/components/Select/reducers/pathReducer.js +0 -37
- package/es/components/Select/reducers/pathReducer.js.map +0 -1
- package/es/components/Select/utils/getButtonLabel.js +0 -43
- package/es/components/Select/utils/getButtonLabel.js.map +0 -1
- package/es/components/Select/utils/getCorrectHeight.js +0 -9
- package/es/components/Select/utils/getCorrectHeight.js.map +0 -1
- package/es/components/Select/utils/getView.js +0 -23
- package/es/components/Select/utils/getView.js.map +0 -1
- package/es/components/Select/utils/initialItemsTransform.js +0 -15
- package/es/components/Select/utils/initialItemsTransform.js.map +0 -1
- package/es/components/Select/utils/sizeToIconSize.js +0 -7
- package/es/components/Select/utils/sizeToIconSize.js.map +0 -1
- package/es/components/Select/utils/updateAncestors.js +0 -28
- package/es/components/Select/utils/updateAncestors.js.map +0 -1
- package/es/components/Select/utils/updateDescendants.js +0 -12
- package/es/components/Select/utils/updateDescendants.js.map +0 -1
- package/es/components/Select/utils/updateSingleAncestors.js +0 -9
- package/es/components/Select/utils/updateSingleAncestors.js.map +0 -1
- package/es/components/_Icon/Icon.assets/DisclosureDownCentered.js +0 -29
- package/es/components/_Icon/Icon.assets/DisclosureDownCentered.js.map +0 -1
- package/es/components/_Icon/Icon.assets/DisclosureRightCentered.js +0 -27
- package/es/components/_Icon/Icon.assets/DisclosureRightCentered.js.map +0 -1
- package/es/components/_Icon/Icons/IconDisclosureDownCentered.js +0 -19
- package/es/components/_Icon/Icons/IconDisclosureDownCentered.js.map +0 -1
- package/es/components/_Icon/Icons/IconDisclosureRightCentered.js +0 -19
- package/es/components/_Icon/Icons/IconDisclosureRightCentered.js.map +0 -1
- package/es/hooks/useOutsideClick.js +0 -22
- package/es/hooks/useOutsideClick.js.map +0 -1
- package/es/utils/isEmpty.js +0 -45
- package/es/utils/isEmpty.js.map +0 -1
- package/styled-components/cjs/components/Select/elements/InfiniteLoader/InfiniteLoader.js +0 -18
- package/styled-components/cjs/components/Select/elements/InfiniteLoader/InfiniteLoader.styles.js +0 -24
- package/styled-components/cjs/components/Select/elements/Inner/Inner.js +0 -80
- package/styled-components/cjs/components/Select/elements/Inner/elements/Item/Item.js +0 -96
- package/styled-components/cjs/components/Select/elements/Inner/elements/Item/Item.styles.js +0 -63
- package/styled-components/cjs/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.js +0 -19
- package/styled-components/cjs/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.styles.js +0 -25
- package/styled-components/cjs/components/Select/elements/Target/Target.js +0 -62
- package/styled-components/cjs/components/Select/elements/Target/elements/Button/Button.js +0 -58
- package/styled-components/cjs/components/Select/elements/Target/elements/Button/Button.styles.js +0 -30
- package/styled-components/cjs/components/Select/elements/Target/elements/Textfield/Textfield.js +0 -111
- package/styled-components/cjs/components/Select/elements/Target/elements/Textfield/Textfield.styles.js +0 -63
- package/styled-components/cjs/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.styles.js +0 -21
- package/styled-components/cjs/components/Select/hooks/useKeyboardNavigation.js +0 -316
- package/styled-components/cjs/components/Select/hooks/usePathMaps.js +0 -33
- package/styled-components/cjs/components/Select/reducers/focusedChipIndexReducer.js +0 -38
- package/styled-components/cjs/components/Select/reducers/focusedPathReducer.js +0 -40
- package/styled-components/cjs/components/Select/reducers/index.js +0 -38
- package/styled-components/cjs/components/Select/reducers/pathReducer.js +0 -44
- package/styled-components/cjs/components/Select/utils/getButtonLabel.js +0 -43
- package/styled-components/cjs/components/Select/utils/getCorrectHeight.js +0 -12
- package/styled-components/cjs/components/Select/utils/getView.js +0 -26
- package/styled-components/cjs/components/Select/utils/initialItemsTransform.js +0 -18
- package/styled-components/cjs/components/Select/utils/sizeToIconSize.js +0 -10
- package/styled-components/cjs/components/Select/utils/updateAncestors.js +0 -31
- package/styled-components/cjs/components/Select/utils/updateDescendants.js +0 -15
- package/styled-components/cjs/components/Select/utils/updateSingleAncestors.js +0 -12
- package/styled-components/cjs/components/_Icon/Icon.assets/DisclosureDownCentered.js +0 -32
- package/styled-components/cjs/components/_Icon/Icon.assets/DisclosureRightCentered.js +0 -30
- package/styled-components/cjs/components/_Icon/Icons/IconDisclosureDownCentered.js +0 -22
- package/styled-components/cjs/components/_Icon/Icons/IconDisclosureRightCentered.js +0 -22
- package/styled-components/cjs/examples/plasma_b2c/components/Select/style.css +0 -38
- package/styled-components/cjs/examples/plasma_web/components/Select/style.css +0 -38
- package/styled-components/cjs/hooks/useOutsideClick.js +0 -24
- package/styled-components/cjs/utils/isEmpty.js +0 -47
- package/styled-components/es/components/Select/elements/InfiniteLoader/InfiniteLoader.js +0 -11
- package/styled-components/es/components/Select/elements/InfiniteLoader/InfiniteLoader.styles.js +0 -17
- package/styled-components/es/components/Select/elements/Inner/Inner.js +0 -73
- package/styled-components/es/components/Select/elements/Inner/elements/Item/Item.js +0 -87
- package/styled-components/es/components/Select/elements/Inner/elements/Item/Item.styles.js +0 -56
- package/styled-components/es/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.js +0 -12
- package/styled-components/es/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.styles.js +0 -18
- package/styled-components/es/components/Select/elements/Target/Target.js +0 -55
- package/styled-components/es/components/Select/elements/Target/elements/Button/Button.js +0 -51
- package/styled-components/es/components/Select/elements/Target/elements/Button/Button.styles.js +0 -23
- package/styled-components/es/components/Select/elements/Target/elements/Textfield/Textfield.js +0 -104
- package/styled-components/es/components/Select/elements/Target/elements/Textfield/Textfield.styles.js +0 -56
- package/styled-components/es/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.js +0 -28
- package/styled-components/es/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.styles.js +0 -14
- package/styled-components/es/components/Select/hooks/useKeyboardNavigation.js +0 -310
- package/styled-components/es/components/Select/hooks/usePathMaps.js +0 -27
- package/styled-components/es/components/Select/reducers/focusedChipIndexReducer.js +0 -32
- package/styled-components/es/components/Select/reducers/focusedPathReducer.js +0 -34
- package/styled-components/es/components/Select/reducers/index.js +0 -3
- package/styled-components/es/components/Select/reducers/pathReducer.js +0 -38
- package/styled-components/es/components/Select/utils/getButtonLabel.js +0 -37
- package/styled-components/es/components/Select/utils/getCorrectHeight.js +0 -6
- package/styled-components/es/components/Select/utils/getView.js +0 -20
- package/styled-components/es/components/Select/utils/initialItemsTransform.js +0 -12
- package/styled-components/es/components/Select/utils/sizeToIconSize.js +0 -4
- package/styled-components/es/components/Select/utils/updateAncestors.js +0 -25
- package/styled-components/es/components/Select/utils/updateDescendants.js +0 -9
- package/styled-components/es/components/Select/utils/updateSingleAncestors.js +0 -6
- package/styled-components/es/components/_Icon/Icon.assets/DisclosureDownCentered.js +0 -25
- package/styled-components/es/components/_Icon/Icon.assets/DisclosureRightCentered.js +0 -23
- package/styled-components/es/components/_Icon/Icons/IconDisclosureDownCentered.js +0 -15
- package/styled-components/es/components/_Icon/Icons/IconDisclosureRightCentered.js +0 -15
- package/styled-components/es/examples/plasma_b2c/components/Select/style.css +0 -38
- package/styled-components/es/examples/plasma_web/components/Select/style.css +0 -38
- package/styled-components/es/hooks/useOutsideClick.js +0 -18
- package/styled-components/es/utils/isEmpty.js +0 -42
- package/types/components/Combobox/Select.types.d.ts +0 -99
- package/types/components/Combobox/Select.types.d.ts.map +0 -1
- package/types/components/Combobox/hooks/useKeyNavigation.d.ts.map +0 -1
- package/types/components/Select/elements/InfiniteLoader/InfiniteLoader.d.ts +0 -6
- package/types/components/Select/elements/InfiniteLoader/InfiniteLoader.d.ts.map +0 -1
- package/types/components/Select/elements/InfiniteLoader/InfiniteLoader.styles.d.ts +0 -29
- package/types/components/Select/elements/InfiniteLoader/InfiniteLoader.styles.d.ts.map +0 -1
- package/types/components/Select/elements/Inner/Inner.d.ts +0 -4
- package/types/components/Select/elements/Inner/Inner.d.ts.map +0 -1
- package/types/components/Select/elements/Inner/Inner.type.d.ts +0 -13
- package/types/components/Select/elements/Inner/Inner.type.d.ts.map +0 -1
- package/types/components/Select/elements/Inner/elements/Item/Item.d.ts +0 -4
- package/types/components/Select/elements/Inner/elements/Item/Item.d.ts.map +0 -1
- package/types/components/Select/elements/Inner/elements/Item/Item.styles.d.ts +0 -18
- package/types/components/Select/elements/Inner/elements/Item/Item.styles.d.ts.map +0 -1
- package/types/components/Select/elements/Inner/elements/Item/Item.types.d.ts +0 -57
- package/types/components/Select/elements/Inner/elements/Item/Item.types.d.ts.map +0 -1
- package/types/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.d.ts +0 -4
- package/types/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.d.ts.map +0 -1
- package/types/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.styles.d.ts.map +0 -1
- package/types/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.types.d.ts +0 -8
- package/types/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.types.d.ts.map +0 -1
- package/types/components/Select/elements/Target/Target.d.ts +0 -4
- package/types/components/Select/elements/Target/Target.d.ts.map +0 -1
- package/types/components/Select/elements/Target/Target.types.d.ts +0 -14
- package/types/components/Select/elements/Target/Target.types.d.ts.map +0 -1
- package/types/components/Select/elements/Target/elements/Button/Button.d.ts +0 -4
- package/types/components/Select/elements/Target/elements/Button/Button.d.ts.map +0 -1
- package/types/components/Select/elements/Target/elements/Button/Button.styles.d.ts +0 -49
- package/types/components/Select/elements/Target/elements/Button/Button.styles.d.ts.map +0 -1
- package/types/components/Select/elements/Target/elements/Button/Button.types.d.ts +0 -4
- package/types/components/Select/elements/Target/elements/Button/Button.types.d.ts.map +0 -1
- package/types/components/Select/elements/Target/elements/Textfield/Textfield.d.ts +0 -4
- package/types/components/Select/elements/Target/elements/Textfield/Textfield.d.ts.map +0 -1
- package/types/components/Select/elements/Target/elements/Textfield/Textfield.styles.d.ts +0 -60
- package/types/components/Select/elements/Target/elements/Textfield/Textfield.styles.d.ts.map +0 -1
- package/types/components/Select/elements/Target/elements/Textfield/Textfield.types.d.ts +0 -4
- package/types/components/Select/elements/Target/elements/Textfield/Textfield.types.d.ts.map +0 -1
- package/types/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.d.ts +0 -9
- package/types/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.d.ts.map +0 -1
- package/types/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.styles.d.ts +0 -3
- package/types/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.styles.d.ts.map +0 -1
- package/types/components/Select/hooks/useKeyboardNavigation.d.ts +0 -43
- package/types/components/Select/hooks/useKeyboardNavigation.d.ts.map +0 -1
- package/types/components/Select/hooks/usePathMaps.d.ts +0 -8
- package/types/components/Select/hooks/usePathMaps.d.ts.map +0 -1
- package/types/components/Select/reducers/focusedChipIndexReducer.d.ts +0 -11
- package/types/components/Select/reducers/focusedChipIndexReducer.d.ts.map +0 -1
- package/types/components/Select/reducers/focusedPathReducer.d.ts +0 -16
- package/types/components/Select/reducers/focusedPathReducer.d.ts.map +0 -1
- package/types/components/Select/reducers/index.d.ts +0 -4
- package/types/components/Select/reducers/index.d.ts.map +0 -1
- package/types/components/Select/reducers/pathReducer.d.ts +0 -20
- package/types/components/Select/reducers/pathReducer.d.ts.map +0 -1
- package/types/components/Select/utils/getButtonLabel.d.ts +0 -3
- package/types/components/Select/utils/getButtonLabel.d.ts.map +0 -1
- package/types/components/Select/utils/getCorrectHeight.d.ts +0 -3
- package/types/components/Select/utils/getCorrectHeight.d.ts.map +0 -1
- package/types/components/Select/utils/getView.d.ts +0 -3
- package/types/components/Select/utils/getView.d.ts.map +0 -1
- package/types/components/Select/utils/initialItemsTransform.d.ts +0 -3
- package/types/components/Select/utils/initialItemsTransform.d.ts.map +0 -1
- package/types/components/Select/utils/sizeToIconSize.d.ts +0 -3
- package/types/components/Select/utils/sizeToIconSize.d.ts.map +0 -1
- package/types/components/Select/utils/updateAncestors.d.ts +0 -4
- package/types/components/Select/utils/updateAncestors.d.ts.map +0 -1
- package/types/components/Select/utils/updateDescendants.d.ts +0 -4
- package/types/components/Select/utils/updateDescendants.d.ts.map +0 -1
- package/types/components/Select/utils/updateSingleAncestors.d.ts +0 -4
- package/types/components/Select/utils/updateSingleAncestors.d.ts.map +0 -1
- package/types/components/_Icon/Icon.assets/DisclosureDownCentered.d.ts +0 -4
- package/types/components/_Icon/Icon.assets/DisclosureDownCentered.d.ts.map +0 -1
- package/types/components/_Icon/Icon.assets/DisclosureRightCentered.d.ts +0 -4
- package/types/components/_Icon/Icon.assets/DisclosureRightCentered.d.ts.map +0 -1
- package/types/components/_Icon/Icons/IconDisclosureDownCentered.d.ts +0 -4
- package/types/components/_Icon/Icons/IconDisclosureDownCentered.d.ts.map +0 -1
- package/types/components/_Icon/Icons/IconDisclosureRightCentered.d.ts +0 -4
- package/types/components/_Icon/Icons/IconDisclosureRightCentered.d.ts.map +0 -1
- package/types/hooks/useOutsideClick.d.ts +0 -3
- package/types/hooks/useOutsideClick.d.ts.map +0 -1
- package/types/utils/isEmpty.d.ts +0 -3
- package/types/utils/isEmpty.d.ts.map +0 -1
- /package/cjs/components/{Combobox → Select}/hooks/useKeyNavigation.js +0 -0
- /package/es/components/{Combobox → Select}/hooks/useKeyNavigation.js +0 -0
- /package/styled-components/cjs/components/{Combobox → Select}/hooks/useKeyNavigation.js +0 -0
- /package/styled-components/cjs/components/{Combobox/Select.types.js → Select/ui/SelectChip/SelectChip.types.js} +0 -0
- /package/styled-components/cjs/components/Select/{elements/Inner/Inner.type.js → ui/SelectDivider/SelectDivider.types.js} +0 -0
- /package/styled-components/cjs/components/Select/{elements/Inner/elements/Item/Item.types.js → ui/SelectFooter/SelectFooter.type.js} +0 -0
- /package/styled-components/cjs/components/Select/{elements/SelectNotFoundContent/SelectNotFoundContent.types.js → ui/SelectGroup/SelectGroup.type.js} +0 -0
- /package/styled-components/cjs/components/Select/{elements/Target/Target.types.js → ui/SelectHeader/SelectHeader.type.js} +0 -0
- /package/styled-components/cjs/components/Select/{elements/Target/elements/Button/Button.types.js → ui/SelectItem/SelectItem.type.js} +0 -0
- /package/styled-components/cjs/components/Select/{elements/Target/elements/Textfield/Textfield.types.js → ui/SelectTarget/SelectTarget.types.js} +0 -0
- /package/styled-components/es/components/{Combobox → Select}/hooks/useKeyNavigation.js +0 -0
- /package/styled-components/es/components/{Combobox/Select.types.js → Select/ui/SelectChip/SelectChip.types.js} +0 -0
- /package/styled-components/es/components/Select/{elements/Inner/Inner.type.js → ui/SelectDivider/SelectDivider.types.js} +0 -0
- /package/styled-components/es/components/Select/{elements/Inner/elements/Item/Item.types.js → ui/SelectFooter/SelectFooter.type.js} +0 -0
- /package/styled-components/es/components/Select/{elements/SelectNotFoundContent/SelectNotFoundContent.types.js → ui/SelectGroup/SelectGroup.type.js} +0 -0
- /package/styled-components/es/components/Select/{elements/Target/Target.types.js → ui/SelectHeader/SelectHeader.type.js} +0 -0
- /package/styled-components/es/components/Select/{elements/Target/elements/Button/Button.types.js → ui/SelectItem/SelectItem.type.js} +0 -0
- /package/styled-components/es/components/Select/{elements/Target/elements/Textfield/Textfield.types.js → ui/SelectTarget/SelectTarget.types.js} +0 -0
- /package/types/components/{Combobox → Select}/hooks/useKeyNavigation.d.ts +0 -0
@@ -0,0 +1,18 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.config = void 0;
|
7
|
+
var _styledComponents = /*#__PURE__*/require("styled-components");
|
8
|
+
var _Sheet = /*#__PURE__*/require("../../../../components/Sheet");
|
9
|
+
var config = exports.config = {
|
10
|
+
defaults: {
|
11
|
+
view: 'default'
|
12
|
+
},
|
13
|
+
variations: {
|
14
|
+
view: {
|
15
|
+
"default": /*#__PURE__*/(0, _styledComponents.css)(["", ":var(--overlay-soft);", ":var(--overlay-blur);", ":var(--surface-solid-card);", ":var(--surface-solid-tertiary);"], _Sheet.sheetTokens.sheetOverlayColor, _Sheet.sheetTokens.sheetOverlayWithBlurColor, _Sheet.sheetTokens.contentBackgroundColor, _Sheet.sheetTokens.handleBackgroundColor)
|
16
|
+
}
|
17
|
+
}
|
18
|
+
};
|
@@ -0,0 +1,17 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.Sheet = void 0;
|
7
|
+
Object.defineProperty(exports, "sheetClasses", {
|
8
|
+
enumerable: true,
|
9
|
+
get: function get() {
|
10
|
+
return _Sheet.sheetClasses;
|
11
|
+
}
|
12
|
+
});
|
13
|
+
var _Sheet = /*#__PURE__*/require("../../../../components/Sheet");
|
14
|
+
var _engines = /*#__PURE__*/require("../../../../engines");
|
15
|
+
var _Sheet2 = /*#__PURE__*/require("./Sheet.config");
|
16
|
+
var mergedConfig = /*#__PURE__*/(0, _engines.mergeConfig)(_Sheet.sheetConfig, _Sheet2.config);
|
17
|
+
var Sheet = exports.Sheet = /*#__PURE__*/(0, _engines.component)(mergedConfig);
|
@@ -0,0 +1,341 @@
|
|
1
|
+
import React, { useState } from 'react';
|
2
|
+
import type { StoryObj, Meta } from '@storybook/react';
|
3
|
+
import type { ComponentProps } from 'react';
|
4
|
+
import styled from 'styled-components';
|
5
|
+
|
6
|
+
import { Button } from '../Button/Button';
|
7
|
+
import { WithTheme } from '../../../_helpers';
|
8
|
+
import { Body } from '../../../typograpy/components/Body/Body';
|
9
|
+
|
10
|
+
import { Sheet } from './Sheet';
|
11
|
+
|
12
|
+
const meta: Meta<typeof Sheet> = {
|
13
|
+
title: 'plasma_web/Sheet',
|
14
|
+
decorators: [WithTheme],
|
15
|
+
args: {
|
16
|
+
withBlur: false,
|
17
|
+
withOverlay: true,
|
18
|
+
withTransition: true,
|
19
|
+
hasHandle: true,
|
20
|
+
isHeaderFixed: false,
|
21
|
+
isFooterFixed: false,
|
22
|
+
},
|
23
|
+
};
|
24
|
+
|
25
|
+
export default meta;
|
26
|
+
|
27
|
+
type StorySheetProps = ComponentProps<typeof Sheet> & {
|
28
|
+
storyHasHeader: boolean;
|
29
|
+
storyHasFooter: boolean;
|
30
|
+
};
|
31
|
+
|
32
|
+
const StyledBody = styled(Body)`
|
33
|
+
padding-bottom: 300px;
|
34
|
+
`;
|
35
|
+
|
36
|
+
const StoryDefault = ({
|
37
|
+
withOverlay,
|
38
|
+
withTransition,
|
39
|
+
storyHasFooter,
|
40
|
+
isFooterFixed,
|
41
|
+
storyHasHeader,
|
42
|
+
isHeaderFixed,
|
43
|
+
hasHandle,
|
44
|
+
withBlur,
|
45
|
+
}: StorySheetProps) => {
|
46
|
+
const [opened, setOpened] = useState(false);
|
47
|
+
|
48
|
+
return (
|
49
|
+
<>
|
50
|
+
<Button onClick={() => setOpened(true)}>Открыть</Button>
|
51
|
+
<Sheet
|
52
|
+
opened={opened}
|
53
|
+
withOverlay={withOverlay}
|
54
|
+
withTransition={withTransition}
|
55
|
+
onClose={() => setOpened(false)}
|
56
|
+
hasHandle={hasHandle}
|
57
|
+
withBlur={withBlur}
|
58
|
+
contentHeader={
|
59
|
+
storyHasHeader ? (
|
60
|
+
<div>
|
61
|
+
<h4>header</h4>
|
62
|
+
</div>
|
63
|
+
) : undefined
|
64
|
+
}
|
65
|
+
isHeaderFixed={isHeaderFixed}
|
66
|
+
contentFooter={
|
67
|
+
storyHasFooter ? (
|
68
|
+
<div>
|
69
|
+
<p>footer</p>
|
70
|
+
</div>
|
71
|
+
) : undefined
|
72
|
+
}
|
73
|
+
isFooterFixed={isFooterFixed}
|
74
|
+
>
|
75
|
+
<StyledBody>body</StyledBody>
|
76
|
+
</Sheet>
|
77
|
+
</>
|
78
|
+
);
|
79
|
+
};
|
80
|
+
|
81
|
+
export const Default: StoryObj<StorySheetProps> = {
|
82
|
+
args: {
|
83
|
+
storyHasHeader: true,
|
84
|
+
storyHasFooter: true,
|
85
|
+
},
|
86
|
+
render: (args) => <StoryDefault {...args} />,
|
87
|
+
};
|
88
|
+
|
89
|
+
const StoryWithoutOverlay = () => {
|
90
|
+
const [opened, setOpened] = useState(false);
|
91
|
+
|
92
|
+
return (
|
93
|
+
<>
|
94
|
+
<Button onClick={() => setOpened(true)}>Открыть</Button>
|
95
|
+
<Sheet opened={opened} withOverlay={false} onClose={() => setOpened(false)}>
|
96
|
+
<StyledBody>
|
97
|
+
Lorem ipsum dolor sit amet consectetur adipisicing elit. Quae tempore vitae porro laboriosam
|
98
|
+
consectetur fugiat assumenda, earum nesciunt. Distinctio minima nesciunt dicta rem quae vel illum ea
|
99
|
+
fugit molestiae dolorem? Lorem ipsum dolor sit amet consectetur, adipisicing elit. Quos nostrum
|
100
|
+
placeat, neque repudiandae consectetur voluptates soluta et sint eum obcaecati nesciunt ullam,
|
101
|
+
dolorem labore quaerat vero maxime ab ipsa nihil.
|
102
|
+
</StyledBody>
|
103
|
+
</Sheet>
|
104
|
+
</>
|
105
|
+
);
|
106
|
+
};
|
107
|
+
|
108
|
+
export const WithoutOverlay: StoryObj = {
|
109
|
+
render: () => <StoryWithoutOverlay />,
|
110
|
+
};
|
111
|
+
|
112
|
+
const StoryWithScroll = ({
|
113
|
+
withOverlay,
|
114
|
+
withTransition,
|
115
|
+
storyHasFooter,
|
116
|
+
isFooterFixed,
|
117
|
+
storyHasHeader,
|
118
|
+
isHeaderFixed,
|
119
|
+
hasHandle,
|
120
|
+
withBlur,
|
121
|
+
}: StorySheetProps) => {
|
122
|
+
const [opened, setOpened] = useState(false);
|
123
|
+
|
124
|
+
return (
|
125
|
+
<>
|
126
|
+
<Button onClick={() => setOpened(true)}>Открыть</Button>
|
127
|
+
<Sheet
|
128
|
+
opened={opened}
|
129
|
+
withOverlay={withOverlay}
|
130
|
+
withTransition={withTransition}
|
131
|
+
onClose={() => setOpened(false)}
|
132
|
+
hasHandle={hasHandle}
|
133
|
+
withBlur={withBlur}
|
134
|
+
contentHeader={
|
135
|
+
storyHasHeader ? (
|
136
|
+
<div>
|
137
|
+
<h4>header</h4>
|
138
|
+
</div>
|
139
|
+
) : undefined
|
140
|
+
}
|
141
|
+
isHeaderFixed={isHeaderFixed}
|
142
|
+
contentFooter={
|
143
|
+
storyHasFooter ? (
|
144
|
+
<div>
|
145
|
+
<p>footer</p>
|
146
|
+
</div>
|
147
|
+
) : undefined
|
148
|
+
}
|
149
|
+
isFooterFixed={isFooterFixed}
|
150
|
+
>
|
151
|
+
<Body>
|
152
|
+
<Button onClick={() => setOpened(false)}>Закрыть</Button>
|
153
|
+
<p>
|
154
|
+
Lorem ipsum dolor sit amet consectetur adipisicing elit. Quae tempore vitae porro laboriosam
|
155
|
+
consectetur fugiat assumenda, earum nesciunt. Distinctio minima nesciunt dicta rem quae vel
|
156
|
+
illum ea fugit molestiae dolorem? Lorem ipsum dolor sit amet consectetur, adipisicing elit. Quos
|
157
|
+
nostrum placeat, neque repudiandae consectetur voluptates soluta et sint eum obcaecati nesciunt
|
158
|
+
ullam, dolorem labore quaerat vero maxime ab ipsa nihil.
|
159
|
+
</p>
|
160
|
+
<Button onClick={() => setOpened(false)}>Закрыть</Button>
|
161
|
+
<p>
|
162
|
+
Lorem ipsum dolor sit amet consectetur adipisicing elit. Quae tempore vitae porro laboriosam
|
163
|
+
consectetur fugiat assumenda, earum nesciunt. Distinctio minima nesciunt dicta rem quae vel
|
164
|
+
illum ea fugit molestiae dolorem? Lorem ipsum dolor sit amet consectetur, adipisicing elit. Quos
|
165
|
+
nostrum placeat, neque repudiandae consectetur voluptates soluta et sint eum obcaecati nesciunt
|
166
|
+
ullam, dolorem labore quaerat vero maxime ab ipsa nihil.
|
167
|
+
</p>
|
168
|
+
</Body>
|
169
|
+
</Sheet>
|
170
|
+
</>
|
171
|
+
);
|
172
|
+
};
|
173
|
+
|
174
|
+
export const WithScroll: StoryObj<StorySheetProps> = {
|
175
|
+
args: {
|
176
|
+
storyHasHeader: true,
|
177
|
+
storyHasFooter: true,
|
178
|
+
},
|
179
|
+
render: (args) => <StoryWithScroll {...args} />,
|
180
|
+
};
|
181
|
+
|
182
|
+
const StoryWithInsideScroll = ({
|
183
|
+
withOverlay,
|
184
|
+
withTransition,
|
185
|
+
storyHasFooter,
|
186
|
+
isFooterFixed,
|
187
|
+
storyHasHeader,
|
188
|
+
isHeaderFixed,
|
189
|
+
hasHandle,
|
190
|
+
withBlur,
|
191
|
+
}: StorySheetProps) => {
|
192
|
+
const [opened, setOpened] = useState(false);
|
193
|
+
|
194
|
+
return (
|
195
|
+
<>
|
196
|
+
<Button onClick={() => setOpened(true)}>Открыть</Button>
|
197
|
+
<Sheet
|
198
|
+
opened={opened}
|
199
|
+
withOverlay={withOverlay}
|
200
|
+
withTransition={withTransition}
|
201
|
+
onClose={() => setOpened(false)}
|
202
|
+
hasHandle={hasHandle}
|
203
|
+
withBlur={withBlur}
|
204
|
+
contentHeader={
|
205
|
+
storyHasHeader ? (
|
206
|
+
<div>
|
207
|
+
<h4>header</h4>
|
208
|
+
</div>
|
209
|
+
) : undefined
|
210
|
+
}
|
211
|
+
isHeaderFixed={isHeaderFixed}
|
212
|
+
contentFooter={
|
213
|
+
storyHasFooter ? (
|
214
|
+
<div>
|
215
|
+
<p>footer</p>
|
216
|
+
</div>
|
217
|
+
) : undefined
|
218
|
+
}
|
219
|
+
isFooterFixed={isFooterFixed}
|
220
|
+
>
|
221
|
+
<p>Вложенные кнопки</p>
|
222
|
+
<div
|
223
|
+
style={{
|
224
|
+
height: '150px',
|
225
|
+
overflow: 'scroll',
|
226
|
+
display: 'flex',
|
227
|
+
flexDirection: 'column',
|
228
|
+
gap: '1rem',
|
229
|
+
}}
|
230
|
+
>
|
231
|
+
<Button>Кнопка 1</Button>
|
232
|
+
<Button>Кнопка 2</Button>
|
233
|
+
<Button>Кнопка 3</Button>
|
234
|
+
<Button>Кнопка 4</Button>
|
235
|
+
<Button>Кнопка 5</Button>
|
236
|
+
<Button>Кнопка 6</Button>
|
237
|
+
<Button>Кнопка 7</Button>
|
238
|
+
<Button>Кнопка 8</Button>
|
239
|
+
</div>
|
240
|
+
<Body>Lorem ipsum dolor sit amet consectetur adipisicing elit.</Body>
|
241
|
+
</Sheet>
|
242
|
+
</>
|
243
|
+
);
|
244
|
+
};
|
245
|
+
|
246
|
+
export const WithInsideScroll: StoryObj<StorySheetProps> = {
|
247
|
+
args: {
|
248
|
+
storyHasHeader: true,
|
249
|
+
storyHasFooter: true,
|
250
|
+
},
|
251
|
+
render: (args) => <StoryWithInsideScroll {...args} />,
|
252
|
+
};
|
253
|
+
|
254
|
+
const StoryWithDoubleScroll = ({
|
255
|
+
withOverlay,
|
256
|
+
withTransition,
|
257
|
+
storyHasFooter,
|
258
|
+
isFooterFixed,
|
259
|
+
storyHasHeader,
|
260
|
+
isHeaderFixed,
|
261
|
+
hasHandle,
|
262
|
+
withBlur,
|
263
|
+
}: StorySheetProps) => {
|
264
|
+
const [opened, setOpened] = useState(false);
|
265
|
+
|
266
|
+
return (
|
267
|
+
<>
|
268
|
+
<Button onClick={() => setOpened(true)}>Открыть</Button>
|
269
|
+
<Sheet
|
270
|
+
opened={opened}
|
271
|
+
withOverlay={withOverlay}
|
272
|
+
withTransition={withTransition}
|
273
|
+
onClose={() => setOpened(false)}
|
274
|
+
hasHandle={hasHandle}
|
275
|
+
withBlur={withBlur}
|
276
|
+
contentHeader={
|
277
|
+
storyHasHeader ? (
|
278
|
+
<div>
|
279
|
+
<h4>header</h4>
|
280
|
+
</div>
|
281
|
+
) : undefined
|
282
|
+
}
|
283
|
+
isHeaderFixed={isHeaderFixed}
|
284
|
+
contentFooter={
|
285
|
+
storyHasFooter ? (
|
286
|
+
<div>
|
287
|
+
<p>footer</p>
|
288
|
+
</div>
|
289
|
+
) : undefined
|
290
|
+
}
|
291
|
+
isFooterFixed={isFooterFixed}
|
292
|
+
>
|
293
|
+
<Body>
|
294
|
+
<Button onClick={() => setOpened(false)}>Закрыть</Button>
|
295
|
+
<p>Вложенные кнопки</p>
|
296
|
+
<div
|
297
|
+
style={{
|
298
|
+
height: '150px',
|
299
|
+
overflow: 'scroll',
|
300
|
+
display: 'flex',
|
301
|
+
flexDirection: 'column',
|
302
|
+
gap: '1rem',
|
303
|
+
}}
|
304
|
+
>
|
305
|
+
<Button>Кнопка 1</Button>
|
306
|
+
<Button>Кнопка 2</Button>
|
307
|
+
<Button>Кнопка 3</Button>
|
308
|
+
<Button>Кнопка 4</Button>
|
309
|
+
<Button>Кнопка 5</Button>
|
310
|
+
<Button>Кнопка 6</Button>
|
311
|
+
<Button>Кнопка 7</Button>
|
312
|
+
<Button>Кнопка 8</Button>
|
313
|
+
</div>
|
314
|
+
<p>
|
315
|
+
Lorem ipsum dolor sit amet consectetur adipisicing elit. Quae tempore vitae porro laboriosam
|
316
|
+
consectetur fugiat assumenda, earum nesciunt. Distinctio minima nesciunt dicta rem quae vel
|
317
|
+
illum ea fugit molestiae dolorem? Lorem ipsum dolor sit amet consectetur, adipisicing elit. Quos
|
318
|
+
nostrum placeat, neque repudiandae consectetur voluptates soluta et sint eum obcaecati nesciunt
|
319
|
+
ullam, dolorem labore quaerat vero maxime ab ipsa nihil.
|
320
|
+
</p>
|
321
|
+
<Button onClick={() => setOpened(false)}>Закрыть</Button>
|
322
|
+
<p>
|
323
|
+
Lorem ipsum dolor sit amet consectetur adipisicing elit. Quae tempore vitae porro laboriosam
|
324
|
+
consectetur fugiat assumenda, earum nesciunt. Distinctio minima nesciunt dicta rem quae vel
|
325
|
+
illum ea fugit molestiae dolorem? Lorem ipsum dolor sit amet consectetur, adipisicing elit. Quos
|
326
|
+
nostrum placeat, neque repudiandae consectetur voluptates soluta et sint eum obcaecati nesciunt
|
327
|
+
ullam, dolorem labore quaerat vero maxime ab ipsa nihil.
|
328
|
+
</p>
|
329
|
+
</Body>
|
330
|
+
</Sheet>
|
331
|
+
</>
|
332
|
+
);
|
333
|
+
};
|
334
|
+
|
335
|
+
export const WithDoubleScroll: StoryObj<StorySheetProps> = {
|
336
|
+
args: {
|
337
|
+
storyHasHeader: true,
|
338
|
+
storyHasFooter: true,
|
339
|
+
},
|
340
|
+
render: (args) => <StoryWithDoubleScroll {...args} />,
|
341
|
+
};
|
@@ -21,12 +21,6 @@ Object.defineProperty(exports, "useIsomorphicLayoutEffect", {
|
|
21
21
|
return _useIsomorphicLayoutEffect.useIsomorphicLayoutEffect;
|
22
22
|
}
|
23
23
|
});
|
24
|
-
Object.defineProperty(exports, "useOutsideClick", {
|
25
|
-
enumerable: true,
|
26
|
-
get: function get() {
|
27
|
-
return _useOutsideClick.useOutsideClick;
|
28
|
-
}
|
29
|
-
});
|
30
24
|
Object.defineProperty(exports, "usePreviousValue", {
|
31
25
|
enumerable: true,
|
32
26
|
get: function get() {
|
@@ -43,5 +37,4 @@ var _useUniqId = /*#__PURE__*/require("./useUniqId");
|
|
43
37
|
var _usePreviousValue = /*#__PURE__*/require("./usePreviousValue");
|
44
38
|
var _useForceUpdate = /*#__PURE__*/require("./useForceUpdate");
|
45
39
|
var _useDidMountEffect = /*#__PURE__*/require("./useDidMountEffect");
|
46
|
-
var _useOutsideClick = /*#__PURE__*/require("./useOutsideClick");
|
47
40
|
var _useIsomorphicLayoutEffect = /*#__PURE__*/require("./useIsomorphicLayoutEffect");
|
@@ -509,6 +509,17 @@ Object.keys(_Toolbar).forEach(function (key) {
|
|
509
509
|
}
|
510
510
|
});
|
511
511
|
});
|
512
|
+
var _Sheet = /*#__PURE__*/require("./components/Sheet");
|
513
|
+
Object.keys(_Sheet).forEach(function (key) {
|
514
|
+
if (key === "default" || key === "__esModule") return;
|
515
|
+
if (key in exports && exports[key] === _Sheet[key]) return;
|
516
|
+
Object.defineProperty(exports, key, {
|
517
|
+
enumerable: true,
|
518
|
+
get: function get() {
|
519
|
+
return _Sheet[key];
|
520
|
+
}
|
521
|
+
});
|
522
|
+
});
|
512
523
|
var _Slider = /*#__PURE__*/require("./components/Slider");
|
513
524
|
Object.keys(_Slider).forEach(function (key) {
|
514
525
|
if (key === "default" || key === "__esModule") return;
|
@@ -28,12 +28,6 @@ Object.defineProperty(exports, "getSizeValueFromProp", {
|
|
28
28
|
return _getSizeValueFromProp.getSizeValueFromProp;
|
29
29
|
}
|
30
30
|
});
|
31
|
-
Object.defineProperty(exports, "isEmpty", {
|
32
|
-
enumerable: true,
|
33
|
-
get: function get() {
|
34
|
-
return _isEmpty.isEmpty;
|
35
|
-
}
|
36
|
-
});
|
37
31
|
Object.defineProperty(exports, "isNumber", {
|
38
32
|
enumerable: true,
|
39
33
|
get: function get() {
|
@@ -51,7 +45,6 @@ var _extractTextFrom = /*#__PURE__*/require("./extractTextFrom");
|
|
51
45
|
var _getSizeValueFromProp = /*#__PURE__*/require("./getSizeValueFromProp");
|
52
46
|
var _react = /*#__PURE__*/require("./react");
|
53
47
|
var _isNumber = /*#__PURE__*/require("./isNumber");
|
54
|
-
var _isEmpty = /*#__PURE__*/require("./isEmpty");
|
55
48
|
var cx = exports.cx = function cx() {
|
56
49
|
for (var _len = arguments.length, classes = new Array(_len), _key = 0; _key < _len; _key++) {
|
57
50
|
classes[_key] = arguments[_key];
|
@@ -39,10 +39,10 @@ export var StyledContentLeft = /*#__PURE__*/styled.div.withConfig({
|
|
39
39
|
export var StyledContentRight = /*#__PURE__*/styled.div.withConfig({
|
40
40
|
componentId: "plasma-new-hope__sc-9d9bqj-6"
|
41
41
|
})(["display:flex;margin:var(", ");"], tokens.buttonRightContentMargin);
|
42
|
-
export var base = /*#__PURE__*/css(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n position: relative;\n display: inline-flex;\n align-items: center;\n box-sizing: border-box;\n justify-content: center;\n\n appearance: none;\n border: none;\n cursor: pointer;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n\n a& {\n text-decoration: none;\n }\n\n /* NOTE
|
42
|
+
export var base = /*#__PURE__*/css(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n position: relative;\n display: inline-flex;\n align-items: center;\n box-sizing: border-box;\n justify-content: center;\n\n appearance: none;\n border: none;\n cursor: pointer;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n\n a& {\n text-decoration: none;\n }\n\n /* NOTE: \n --plasma_computed-btn-br-radius is defined in Button.tsx\n */\n --plasma_private-btn-br: var(--plasma_computed-btn-br);\n border-radius: var(--plasma_private-btn-br);\n\n &&.", " {\n width: var(", ");\n padding: 0;\n }\n"])), /*#__PURE__*/String(classes.buttonSquare), tokens.buttonHeight);
|
43
43
|
|
44
44
|
// INFO: Для возможности переиспользования стилей в других компонентах
|
45
|
-
export var baseContent = /*#__PURE__*/"\n position: relative;\n display: inline-flex;\n align-items: center;\n box-sizing: border-box;\n justify-content: center;\n\n appearance: none;\n border: none;\n cursor: pointer;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n\n a& {\n text-decoration: none;\n }\n\n /* NOTE
|
45
|
+
export var baseContent = /*#__PURE__*/"\n position: relative;\n display: inline-flex;\n align-items: center;\n box-sizing: border-box;\n justify-content: center;\n\n appearance: none;\n border: none;\n cursor: pointer;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n\n a& {\n text-decoration: none;\n }\n\n /* NOTE: \n --plasma_computed-btn-br-radius is defined in Button.tsx\n */\n --plasma_private-btn-br: var(--plasma_computed-btn-br);\n border-radius: var(--plasma_private-btn-br);\n\n &&.".concat(String(classes.buttonSquare), " {\n width: var(").concat(tokens.buttonHeight, ");\n padding: 0;\n }\n\n color: var(").concat(tokens.buttonColor, ");\n background-color: var(").concat(tokens.buttonBackgroundColor, ");\n\n :hover {\n color: var(").concat(tokens.buttonColorHover, ", var(").concat(tokens.buttonColor, "));\n background-color: var(").concat(tokens.buttonBackgroundColorHover, ", var(").concat(tokens.buttonBackgroundColor, "));\n\n scale: var(").concat(tokens.buttonScaleHover, ");\n }\n\n :active {\n color: var(").concat(tokens.buttonColorActive, ", var(").concat(tokens.buttonColor, "));\n background-color: var(").concat(tokens.buttonBackgroundColorActive, ", var(").concat(tokens.buttonBackgroundColor, "));\n\n scale: var(").concat(tokens.buttonScaleActive, ");\n }\n\n height: var(").concat(tokens.buttonHeight, ");\n width: var(").concat(tokens.buttonWidth, ");\n\n /* TODO: #714 move these calc's to plasma-mapping | ds-generator and add Math.round() */\n padding: 0 var(").concat(tokens.buttonPadding, ", calc(var(").concat(tokens.buttonHeight, ") * 1.618 / 4));\n\n font-family: var(").concat(tokens.buttonFontFamily, ");\n font-size: var(").concat(tokens.buttonFontSize, ");\n font-style: var(").concat(tokens.buttonFontStyle, ");\n font-weight: var(").concat(tokens.buttonFontWeight, ");\n letter-spacing: var(").concat(tokens.buttonLetterSpacing, ");\n line-height: var(").concat(tokens.buttonLineHeight, ");\n\n /* TODO: #710 make it token API ? */\n --plasma_private-btn-outline-size: var(--plasma-button-outline-size, 0.0625rem);\n\n :focus {\n outline: none;\n }\n\n ").concat(addFocus({
|
46
46
|
outlineOffset: '-0.125rem',
|
47
47
|
outlineSize: 'var(--plasma_private-btn-outline-size)',
|
48
48
|
outlineRadius: 'calc(0.125rem + var(--plasma_private-btn-br))',
|
@@ -17,8 +17,6 @@ export var tokens = {
|
|
17
17
|
focusColor: '--plasma-chip-focus-color',
|
18
18
|
outlineSize: '--plasma-chip-outline-size',
|
19
19
|
closeIconColor: '--plasma-chip-close-icon-color',
|
20
|
-
closeIconColorHover: '--plasma-chip-close-icon-color-hover',
|
21
|
-
closeIconColorActive: '--plasma-chip-close-icon-color-active',
|
22
20
|
borderRadius: '--plasma-chip-border-radius',
|
23
21
|
pilledBorderRadius: '--plasma-chip-pilled-border-radius',
|
24
22
|
width: '--plasma-chip-width',
|
@@ -12,9 +12,9 @@ import React, { Children, forwardRef, useEffect, useRef, useState } from 'react'
|
|
12
12
|
import { safeUseId, useForkRef } from '@salutejs/plasma-core';
|
13
13
|
import { cx } from '../../utils';
|
14
14
|
import { getPlacements } from '../Dropdown/utils';
|
15
|
+
import { getChildren, getNewSelected, getValues } from '../Select/utils';
|
16
|
+
import { useKeyNavigation } from '../Select/hooks';
|
15
17
|
import { useDidMountEffect, useForceUpdate } from '../../hooks';
|
16
|
-
import { getChildren, getNewSelected, getValues } from './utils';
|
17
|
-
import { useKeyNavigation } from './hooks';
|
18
18
|
import { base as viewCSS } from './variations/_view/base';
|
19
19
|
import { base as sizeCSS } from './variations/_size/base';
|
20
20
|
import { ComboboxTarget } from './ui';
|
@@ -1,2 +1 @@
|
|
1
|
-
export { useFocusController } from './useFocusController';
|
2
|
-
export { useKeyNavigation, Keys } from './useKeyNavigation';
|
1
|
+
export { useFocusController } from './useFocusController';
|
@@ -12,7 +12,8 @@ import React, { forwardRef, useRef, useState } from 'react';
|
|
12
12
|
import { classes } from '../../Combobox.tokens';
|
13
13
|
import { cx } from '../../../../utils';
|
14
14
|
import { ComboboxChip } from '../ComboboxChip/ComboboxChip';
|
15
|
-
import { useFocusController
|
15
|
+
import { useFocusController } from '../../hooks';
|
16
|
+
import { Keys } from '../../../Select/hooks/useKeyNavigation';
|
16
17
|
import { StyledArrow, StyledChips, StyledContent, StyledLabel, StyledComboboxInput, StyledComboboxInputHelper, StyledComboboxTarget, StyledText } from './ComboboxTarget.styles';
|
17
18
|
var hasChips = classes.hasChips,
|
18
19
|
innerLabelUp = classes.innerLabelUp,
|
@@ -1,10 +1,5 @@
|
|
1
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
2
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
3
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
4
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
5
|
-
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
6
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); }
|
7
|
-
import React, { cloneElement, isValidElement
|
2
|
+
import React, { cloneElement, isValidElement } from 'react';
|
8
3
|
var isReactObject = function isReactObject(element) {
|
9
4
|
return _typeof(element) === 'object' || typeof element === 'function';
|
10
5
|
};
|
@@ -17,103 +12,4 @@ export var getValidComponent = function getValidComponent(element, props) {
|
|
17
12
|
return /*#__PURE__*/React.createElement(Component, props);
|
18
13
|
}
|
19
14
|
return element;
|
20
|
-
};
|
21
|
-
export var getNewSelected = function getNewSelected(selected, newValue, type) {
|
22
|
-
if (newValue === undefined || newValue === null) {
|
23
|
-
return newValue;
|
24
|
-
}
|
25
|
-
if ((type === 'single' || type === 'native') && (typeof newValue === 'string' || typeof newValue === 'number' || typeof newValue === 'boolean')) {
|
26
|
-
return newValue;
|
27
|
-
}
|
28
|
-
var newSelected = selected || [];
|
29
|
-
var set = new Set(newSelected);
|
30
|
-
if (set.has(newValue)) {
|
31
|
-
set["delete"](newValue);
|
32
|
-
} else {
|
33
|
-
set.add(newValue);
|
34
|
-
}
|
35
|
-
return Array.from(set);
|
36
|
-
};
|
37
|
-
var getChildrenInnerText = function getChildrenInnerText(children) {
|
38
|
-
if (!children || typeof children === 'string') {
|
39
|
-
return children;
|
40
|
-
}
|
41
|
-
return getChildrenInnerText(children.props.children);
|
42
|
-
};
|
43
|
-
export var getValues = function getValues(items, value) {
|
44
|
-
var result = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
|
45
|
-
items.forEach(function (item) {
|
46
|
-
if (item.props === undefined) {
|
47
|
-
return result;
|
48
|
-
}
|
49
|
-
var newValue = item.props.value;
|
50
|
-
if (item.props.children && Array.isArray(item.props.children)) {
|
51
|
-
return getValues(item.props.children, value, result);
|
52
|
-
}
|
53
|
-
if (!Array.isArray(value) && newValue === value || Array.isArray(value) && value !== null && value !== void 0 && value.find(function (v) {
|
54
|
-
return newValue === v;
|
55
|
-
})) {
|
56
|
-
var index = Array.isArray(value) && (value === null || value === void 0 ? void 0 : value.findIndex(function (v) {
|
57
|
-
return newValue === v;
|
58
|
-
})) || 0;
|
59
|
-
if (item.props.text) {
|
60
|
-
var _newText = item.props.text;
|
61
|
-
result[index] = [newValue, _newText];
|
62
|
-
return;
|
63
|
-
}
|
64
|
-
var newText = getChildrenInnerText(item.props.children);
|
65
|
-
result[index] = [newValue, newText];
|
66
|
-
}
|
67
|
-
return result;
|
68
|
-
});
|
69
|
-
return result;
|
70
|
-
};
|
71
|
-
var getChildrenItemChecked = function getChildrenItemChecked(value, child) {
|
72
|
-
return !Array.isArray(value) && (child === null || child === void 0 ? void 0 : child.props.value) === value || Array.isArray(value) && Boolean(value === null || value === void 0 ? void 0 : value.find(function (v) {
|
73
|
-
return (child === null || child === void 0 ? void 0 : child.props.value) === v;
|
74
|
-
}));
|
75
|
-
};
|
76
|
-
|
77
|
-
// INFO: Функция для рекурсивного обновления пропсов
|
78
|
-
export var updatePropsRecursively = function updatePropsRecursively(children, externalProps, value, search, filterFunction) {
|
79
|
-
return Children.map(children || [], function (child) {
|
80
|
-
if (! /*#__PURE__*/isValidElement(child)) {
|
81
|
-
return child;
|
82
|
-
}
|
83
|
-
var hasValue = ('value' in (child === null || child === void 0 ? void 0 : child.props));
|
84
|
-
var props = _objectSpread({
|
85
|
-
key: "".concat(value, "$"),
|
86
|
-
checked: getChildrenItemChecked(value, child)
|
87
|
-
}, hasValue && {
|
88
|
-
ref: function ref(element) {
|
89
|
-
var _externalProps$childr;
|
90
|
-
if (externalProps !== null && externalProps !== void 0 && (_externalProps$childr = externalProps.childrenRefs) !== null && _externalProps$childr !== void 0 && _externalProps$childr.current && element) {
|
91
|
-
externalProps.childrenRefs.current.push(element);
|
92
|
-
}
|
93
|
-
},
|
94
|
-
onClick: function onClick(event) {
|
95
|
-
var _child$props$onClick, _child$props, _externalProps$onClic;
|
96
|
-
(_child$props$onClick = (_child$props = child.props).onClick) === null || _child$props$onClick === void 0 || _child$props$onClick.call(_child$props, event);
|
97
|
-
externalProps === null || externalProps === void 0 || (_externalProps$onClic = externalProps.onClick) === null || _externalProps$onClic === void 0 || _externalProps$onClic.call(externalProps, event);
|
98
|
-
}
|
99
|
-
});
|
100
|
-
var updatedChild = updatePropsRecursively(child.props.children, externalProps, value, search, filterFunction);
|
101
|
-
if (filterFunction) {
|
102
|
-
var _child$props2;
|
103
|
-
var text = ((_child$props2 = child.props) === null || _child$props2 === void 0 ? void 0 : _child$props2.text) || '';
|
104
|
-
return filterFunction(text, search) ? /*#__PURE__*/cloneElement(child, props, updatedChild) : null;
|
105
|
-
}
|
106
|
-
return /*#__PURE__*/cloneElement(child, props, updatedChild);
|
107
|
-
});
|
108
|
-
};
|
109
|
-
var defaultFilterFunction = function defaultFilterFunction(text) {
|
110
|
-
var filterValue = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
|
111
|
-
return text.includes(filterValue);
|
112
|
-
};
|
113
|
-
export var getChildren = function getChildren(children, externalProps, value, search) {
|
114
|
-
var filterFunction = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : defaultFilterFunction;
|
115
|
-
if (externalProps.childrenRefs) {
|
116
|
-
externalProps.childrenRefs.current = [];
|
117
|
-
}
|
118
|
-
return updatePropsRecursively(children, externalProps, value, search, filterFunction);
|
119
15
|
};
|