@salutejs/plasma-new-hope 0.89.0-canary.1233.9546931519.0 → 0.89.0-canary.1247.9544729230.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/engines/common.js.map +1 -1
- package/cjs/index.css +27 -43
- package/cjs/index.js +18 -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/engines/common.js.map +1 -1
- package/es/index.css +27 -43
- package/es/index.js +7 -4
- package/es/index.js.map +1 -1
- package/es/utils/index.js.map +1 -1
- package/package.json +4 -4
- package/styled-components/cjs/components/Button/Button.styles.js +2 -2
- package/styled-components/cjs/components/Chip/Chip.tokens.js +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/_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_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/hooks/index.js +0 -7
- 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/_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_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/hooks/index.js +0 -1
- 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/_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_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/hooks/index.d.ts +0 -1
- package/types/hooks/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,35 @@
|
|
1
|
+
.Popover_styles_rmr9za_s1g1xbt5__0bafa6fb{display:inline-block;}
|
2
|
+
.Popover_styles_rmr9za_s12xwbyh__0bafa6fb{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;box-sizing:border-box;position:relative;}
|
3
|
+
.Popover_styles_rmr9za_s1pd4d8a__0bafa6fb{width:var(--plasma-popover-arrow-mask-width);height:var(--plasma-popover-arrow-mask-height);}.Popover_styles_rmr9za_s1pd4d8a__0bafa6fb::before{position:absolute;width:var(--plasma-popover-arrow-mask-width);height:var(--plasma-popover-arrow-mask-height);-webkit-mask-image:var(--plasma-popover-arrow-mask-image);mask-image:var(--plasma-popover-arrow-mask-image);background:var(--plasma-popover-arrow-background);content:'';-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg);}
|
4
|
+
.Popover_styles_rmr9za_s16xlixz__0bafa6fb{position:absolute;z-index:var(--s16xlixz-0);}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='top'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{bottom:calc(0px - var(--plasma-popover-arrow-height));}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='bottom'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{top:calc(0px - var(--plasma-popover-arrow-height));}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='bottom'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb::before{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='left'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{right:calc(0px - var(--plasma-popover-arrow-height));}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='left'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb::before{-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg);}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='right'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{left:calc(0px - var(--plasma-popover-arrow-height));}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='right'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb::before{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg);}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='top-start'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{bottom:calc(0px - var(--plasma-popover-arrow-height));left:var(--plasma-popover-arrow-edge-margin) !important;-webkit-transform:unset !important;-ms-transform:unset !important;transform:unset !important;}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='top-end'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{bottom:calc(0px - var(--plasma-popover-arrow-height));left:unset !important;right:var(--plasma-popover-arrow-edge-margin) !important;-webkit-transform:unset !important;-ms-transform:unset !important;transform:unset !important;}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='bottom-start'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{top:calc(0px - var(--plasma-popover-arrow-height));left:var(--plasma-popover-arrow-edge-margin) !important;-webkit-transform:unset !important;-ms-transform:unset !important;transform:unset !important;}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='bottom-start'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb::before{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='bottom-end'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{top:calc(0px - var(--plasma-popover-arrow-height));left:unset !important;right:var(--plasma-popover-arrow-edge-margin) !important;-webkit-transform:unset !important;-ms-transform:unset !important;transform:unset !important;}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='bottom-end'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb::before{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='left-start'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb,.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='right-start'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{top:var(--plasma-popover-arrow-edge-margin) !important;-webkit-transform:unset !important;-ms-transform:unset !important;transform:unset !important;}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='left-end'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb,.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='right-end'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{top:unset !important;bottom:var(--plasma-popover-arrow-edge-margin) !important;-webkit-transform:unset !important;-ms-transform:unset !important;transform:unset !important;}
|
5
|
+
|
6
|
+
.Dropdown_styles_1tihqkp_sn7uamp__39673f55 .Dropdown_styles_1tihqkp_popoverWrapper__39673f55,.Dropdown_styles_1tihqkp_sn7uamp__39673f55 .Dropdown_styles_1tihqkp_popoverTarget__39673f55{display:block;}
|
7
|
+
.Dropdown_styles_1tihqkp_ujr7fmv__39673f55{box-sizing:border-box;background:var(--plasma-dropdown-background);box-shadow:var(--plasma-dropdown-box-shadow);border-radius:var(--plasma-dropdown-border-radius);width:var(--ujr7fmv-0);height:var(--ujr7fmv-1);overflow:var(--ujr7fmv-2);margin:var(--ujr7fmv-3);padding:var(--plasma-dropdown-padding);}
|
8
|
+
.Dropdown_styles_1tihqkp_byfocd2__39673f55{display:inline-block;}
|
9
|
+
|
10
|
+
.DropdownDivider_styles_v3xor1_s1brpi5d__3a791565{background:var(--plasma-dropdown-divider-color);width:var(--plasma-dropdown-divider-width);height:var(--plasma-dropdown-divider-height);margin:var(--plasma-dropdown-divider-margin-top) var(--plasma-dropdown-divider-margin-right) var(--plasma-dropdown-divider-margin-bottom) var(--plasma-dropdown-divider-margin-left);}
|
11
|
+
|
12
|
+
.DropdownFooter_styles_1j4sg1p_stiw0r3__41ff7287{background:var(--plasma-dropdown-footer-background);font-family:var(--plasma-dropdown-footer-font-family);font-size:var(--plasma-dropdown-footer-font-size);font-style:var(--plasma-dropdown-footer-font-style);font-weight:var(--plasma-dropdown-footer-letter-spacing);-webkit-letter-spacing:var(--plasma-dropdown-footer-line-height);-moz-letter-spacing:var(--plasma-dropdown-footer-line-height);-ms-letter-spacing:var(--plasma-dropdown-footer-line-height);letter-spacing:var(--plasma-dropdown-footer-line-height);line-height:var(--plasma-dropdown-footer-font-weight);width:var(--plasma-dropdown-footer-width);height:var(--plasma-dropdown-footer-height);padding:var(--plasma-dropdown-footer-padding-top) var(--plasma-dropdown-footer-padding-right) var(--plasma-dropdown-footer-padding-bottom) var(--plasma-dropdown-footer-padding-left);margin:var(--plasma-dropdown-footer-margin-top) var(--plasma-dropdown-footer-margin-right) var(--plasma-dropdown-footer-margin-bottom) var(--plasma-dropdown-footer-margin-left);}
|
13
|
+
|
14
|
+
.DropdownGroup_styles_1o990eo_scop7qk__fca8c58e{background:var(--plasma-dropdown-group-background);width:var(--plasma-dropdown-group-width);height:var(--plasma-dropdown-group-height);padding:var(--plasma-dropdown-group-padding-top) var(--plasma-dropdown-group-padding-right) var(--plasma-dropdown-group-padding-bottom) var(--plasma-dropdown-group-padding-left);margin:var(--plasma-dropdown-group-margin-top) var(--plasma-dropdown-group-margin-right) var(--plasma-dropdown-group-margin-bottom) var(--plasma-dropdown-group-margin-left);}
|
15
|
+
.DropdownGroup_styles_1o990eo_s1oaw95y__fca8c58e{font-family:var(--plasma-dropdown-group-label-font-family);font-size:var(--plasma-dropdown-group-label-font-size);font-style:var(--plasma-dropdown-group-label-font-style);font-weight:var(--plasma-dropdown-group-label-font-weight);-webkit-letter-spacing:var(--plasma-dropdown-group-label-letter-spacing);-moz-letter-spacing:var(--plasma-dropdown-group-label-letter-spacing);-ms-letter-spacing:var(--plasma-dropdown-group-label-letter-spacing);letter-spacing:var(--plasma-dropdown-group-label-letter-spacing);line-height:var(--plasma-dropdown-group-label-line-height);color:var(--plasma-dropdown-group-label-color);padding:var(--plasma-dropdown-group-label-padding-top) var(--plasma-dropdown-group-label-padding-right) var(--plasma-dropdown-group-label-padding-bottom) var(--plasma-dropdown-group-label-padding-left);margin:var(--plasma-dropdown-group-label-margin-top) var(--plasma-dropdown-group-label-margin-right) var(--plasma-dropdown-group-label-margin-bottom) var(--plasma-dropdown-group-label-margin-left);}
|
16
|
+
|
17
|
+
.DropdownHeader_styles_196gwgm_s133b1g2__3510806e{background:var(--plasma-dropdown-header-background);font-family:var(--plasma-dropdown-header-font-family);font-size:var(--plasma-dropdown-header-font-size);font-style:var(--plasma-dropdown-header-font-style);font-weight:var(--plasma-dropdown-header-letter-spacing);-webkit-letter-spacing:var(--plasma-dropdown-header-line-height);-moz-letter-spacing:var(--plasma-dropdown-header-line-height);-ms-letter-spacing:var(--plasma-dropdown-header-line-height);letter-spacing:var(--plasma-dropdown-header-line-height);line-height:var(--plasma-dropdown-header-font-weight);width:var(--plasma-dropdown-header-width);height:var(--plasma-dropdown-header-height);padding:var(--plasma-dropdown-header-padding-top) var(--plasma-dropdown-header-padding-right) var(--plasma-dropdown-header-padding-bottom) var(--plasma-dropdown-header-padding-left);margin:var(--plasma-dropdown-header-margin-top) var(--plasma-dropdown-header-margin-right) var(--plasma-dropdown-header-margin-bottom) var(--plasma-dropdown-header-margin-left);}
|
18
|
+
|
19
|
+
.IconRoot_7pl7ig_svvlqhf__32c458a1{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;width:var(--svvlqhf-0);height:var(--svvlqhf-0);-webkit-flex:0 0 var(--svvlqhf-0);-ms-flex:0 0 var(--svvlqhf-0);flex:0 0 var(--svvlqhf-0);}
|
20
|
+
|
21
|
+
.DropdownItem_styles_1o4szyu_s1gkzlls__6703745b{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;}
|
22
|
+
.DropdownItem_styles_1o4szyu_sz6s14y__6703745b{margin-left:auto;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;}
|
23
|
+
.DropdownItem_styles_1o4szyu_d1m97l2m__6703745b{line-height:0;color:var(--plasma-dropdown-disclosure-icon-color);}
|
24
|
+
.DropdownItem_styles_1o4szyu_soib72h__6703745b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-webkit-flex:1;-ms-flex:1;flex:1;}
|
25
|
+
.DropdownItem_styles_1o4szyu_w6l2f0g__6703745b{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:0;box-sizing:content-box;padding-top:var(--w6l2f0g-0);padding-right:var(--plasma-dropdown-item-padding-right);padding-bottom:var(--w6l2f0g-1);padding-left:var(--plasma-dropdown-item-padding-left);font-family:var(--plasma-dropdown-item-font-family);font-size:var(--plasma-dropdown-item-font-size);font-style:var(--plasma-dropdown-item-font-style);font-weight:var(--plasma-dropdown-item-letter-spacing);-webkit-letter-spacing:var(--plasma-dropdown-item-line-height);-moz-letter-spacing:var(--plasma-dropdown-item-line-height);-ms-letter-spacing:var(--plasma-dropdown-item-line-height);letter-spacing:var(--plasma-dropdown-item-line-height);line-height:var(--plasma-dropdown-item-font-weight);background:var(--plasma-dropdown-item-background);color:var(--plasma-dropdown-item-color);border-radius:var(--plasma-dropdown-item-border-radius);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;}.DropdownItem_styles_1o4szyu_w6l2f0g__6703745b:hover:not(.DropdownItem_styles_1o4szyu_dropdownItemIsDisabled__6703745b){cursor:pointer;background:var(--plasma-dropdown-item-background-hover);}.DropdownItem_styles_1o4szyu_w6l2f0g__6703745b.DropdownItem_styles_1o4szyu_dropdownItemIsActive__6703745b{background:var(--plasma-dropdown-item-background-hover);}.DropdownItem_styles_1o4szyu_w6l2f0g__6703745b.DropdownItem_styles_1o4szyu_dropdownItemIsDisabled__6703745b{opacity:var(--plasma-dropdown-disabled-opacity);cursor:not-allowed;}.DropdownItem_styles_1o4szyu_w6l2f0g__6703745b:focus{outline:none;}.DropdownItem_styles_1o4szyu_w6l2f0g__6703745b::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;z-index:1;display:block;box-sizing:content-box;border:0.0625rem solid transparent;border-radius:var(--plasma-dropdown-item-border-radius);-webkit-transition:none;transition:none;pointer-events:none;}.DropdownItem_styles_1o4szyu_w6l2f0g__6703745b.DropdownItem_styles_1o4szyu_dropdownItemIsFocused__6703745b:before{outline:none;box-shadow:0 0 0 0.0625rem var(--plasma-dropdown-focus-color);}
|
26
|
+
|
27
|
+
.DropdownItem_styles_12e50g5_s1iqs5in__94ac8eef{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;min-width:var(--plasma-dropdown-item-content-left-width);color:var(--plasma-dropdown-item-content-left-color);}
|
28
|
+
.DropdownItem_styles_12e50g5_sfg3dyd__94ac8eef{margin-left:auto;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;min-width:var(--plasma-dropdown-item-content-right-width);color:var(--plasma-dropdown-item-content-right-color);}
|
29
|
+
.DropdownItem_styles_12e50g5_s1dea6tl__94ac8eef{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
|
30
|
+
.DropdownItem_styles_12e50g5_b1b2nce8__94ac8eef{box-sizing:content-box;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;width:auto;font-family:var(--plasma-dropdown-item-font-family);font-size:var(--plasma-dropdown-item-font-size);font-style:var(--plasma-dropdown-item-font-style);font-weight:var(--plasma-dropdown-item-letter-spacing);-webkit-letter-spacing:var(--plasma-dropdown-item-line-height);-moz-letter-spacing:var(--plasma-dropdown-item-line-height);-ms-letter-spacing:var(--plasma-dropdown-item-line-height);letter-spacing:var(--plasma-dropdown-item-line-height);line-height:var(--plasma-dropdown-item-font-weight);background:var(--plasma-dropdown-item-background);color:var(--plasma-dropdown-item-color);border-radius:var(--plasma-dropdown-item-border-radius);width:var(--plasma-dropdown-item-width);height:var(--plasma-dropdown-item-height);padding:var(--plasma-dropdown-item-padding-top) var(--plasma-dropdown-item-padding-right) var(--plasma-dropdown-item-padding-bottom) var(--plasma-dropdown-item-padding-left);margin:var(--plasma-dropdown-item-margin-top) var(--plasma-dropdown-item-margin-right) var(--plasma-dropdown-item-margin-bottom) var(--plasma-dropdown-item-margin-left);}.DropdownItem_styles_12e50g5_b1b2nce8__94ac8eef:focus{outline:none;}.DropdownItem_styles_12e50g5_b1b2nce8__94ac8eef::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;z-index:1;display:block;box-sizing:content-box;border:0.0625rem solid transparent;border-radius:var(--plasma-dropdown-item-border-radius);-webkit-transition:none;transition:none;pointer-events:none;}.DropdownItem_styles_12e50g5_b1b2nce8__94ac8eef.DropdownItem_styles_12e50g5_focusVisible__94ac8eef:focus::before,.DropdownItem_styles_12e50g5_b1b2nce8__94ac8eef[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.0625rem var(--plasma-dropdown-focus-color);}.DropdownItem_styles_12e50g5_b1b2nce8__94ac8eef:hover:not(.DropdownItem_styles_12e50g5_dropdownItemIsDisabled__94ac8eef){cursor:pointer;background:var(--plasma-dropdown-item-background-hover);}.DropdownItem_styles_12e50g5_b1b2nce8__94ac8eef.DropdownItem_styles_12e50g5_dropdownItemIsSelected__94ac8eef{color:var(--plasma-dropdown-item-color-selected);background:var(--plasma-dropdown-item-background-selected);}.DropdownItem_styles_12e50g5_b1b2nce8__94ac8eef.DropdownItem_styles_12e50g5_dropdownItemIsSelected__94ac8eef:hover:not(.DropdownItem_styles_12e50g5_dropdownItemIsDisabled__94ac8eef){background:var(--plasma-dropdown-item-background-selected-hover);}.DropdownItem_styles_12e50g5_b1b2nce8__94ac8eef.DropdownItem_styles_12e50g5_dropdownItemIsDisabled__94ac8eef{opacity:var(--plasma-dropdown-disabled-opacity);cursor:not-allowed;}
|
31
|
+
|
32
|
+
.Dropdown_styles_3w3l45_s1rwu6ky__59648b20 .Dropdown_styles_3w3l45_popoverTarget__59648b20{display:block;}
|
33
|
+
.Dropdown_styles_3w3l45_s10jhp3l__59648b20{box-sizing:border-box;background:var(--plasma-dropdown-background);box-shadow:var(--plasma-dropdown-box-shadow);border-radius:var(--plasma-dropdown-border-radius);width:var(--plasma-dropdown-width);height:var(--plasma-dropdown-height);padding:var(--plasma-dropdown-padding-top) var(--plasma-dropdown-padding-right) var(--plasma-dropdown-padding-bottom) var(--plasma-dropdown-padding-left);}
|
34
|
+
|
35
|
+
.SelectHeader_styles_24gqog_m1tqc9mt__2df5b6b6{--plasma-dropdown-header-background:var(--plasma-select-header-background);--plasma-dropdown-header-width:var(--plasma-select-header-width);--plasma-dropdown-header-height:var(--plasma-select-header-height);--plasma-dropdown-header-padding-top:var(--plasma-select-header-padding-top);--plasma-dropdown-header-padding-right:var(--plasma-select-header-padding-right);--plasma-dropdown-header-padding-bottom:var(--plasma-select-header-padding-bottom);--plasma-dropdown-header-padding-left:var(--plasma-select-header-padding-left);--plasma-dropdown-header-margin-top:var(--plasma-select-header-margin-top);--plasma-dropdown-header-margin-right:var(--plasma-select-header-margin-right);--plasma-dropdown-header-margin-bottom:var(--plasma-select-header-margin-bottom);--plasma-dropdown-header-margin-left:var(--plasma-select-header-margin-left);--plasma-dropdown-header-font-family:var(--plasma-select-header-font-family);--plasma-dropdown-header-font-size:var(--plasma-select-header-font-size);--plasma-dropdown-header-font-style:var(--plasma-select-header-font-style);--plasma-dropdown-header-letter-spacing:var(--plasma-select-header-letter-spacing);--plasma-dropdown-header-line-height:var(--plasma-select-header-line-height);--plasma-dropdown-header-font-weight:var(--plasma-select-header-font-weight);}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
import 'react';
|
2
|
+
import '../../../../utils/react.js';
|
3
|
+
import '@salutejs/plasma-core';
|
4
|
+
import '@linaria/react';
|
5
|
+
import { dropdownHeaderRoot } from '../../../Dropdown/ui/DropdownHeader/DropdownHeader.js';
|
6
|
+
import '@linaria/core';
|
7
|
+
import 'focus-visible';
|
8
|
+
import 'react-dom';
|
9
|
+
import 'react-popper';
|
10
|
+
import 'styled-components';
|
11
|
+
import { base as base$1 } from './variations/_view/base.js';
|
12
|
+
import { base as base$2 } from './variations/_size/base.js';
|
13
|
+
import { base } from './SelectHeader.styles.js';
|
14
|
+
|
15
|
+
var selectHeaderRoot = dropdownHeaderRoot;
|
16
|
+
var selectHeaderConfig = {
|
17
|
+
name: 'SelectHeader',
|
18
|
+
tag: 'div',
|
19
|
+
layout: selectHeaderRoot,
|
20
|
+
base: base,
|
21
|
+
variations: {
|
22
|
+
view: {
|
23
|
+
css: base$1
|
24
|
+
},
|
25
|
+
size: {
|
26
|
+
css: base$2
|
27
|
+
}
|
28
|
+
},
|
29
|
+
defaults: {
|
30
|
+
view: 'primary',
|
31
|
+
size: 'm'
|
32
|
+
}
|
33
|
+
};
|
34
|
+
|
35
|
+
export { selectHeaderConfig, selectHeaderRoot };
|
36
|
+
//# sourceMappingURL=SelectHeader.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"SelectHeader.js","sources":["../../../../../src/components/Select/ui/SelectHeader/SelectHeader.tsx"],"sourcesContent":["import { dropdownHeaderRoot } from '../../../Dropdown';\n\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as sizeCSS } from './variations/_size/base';\nimport { base } from './SelectHeader.styles';\n\nexport const selectHeaderRoot = dropdownHeaderRoot;\n\nexport const selectHeaderConfig = {\n name: 'SelectHeader',\n tag: 'div',\n layout: selectHeaderRoot,\n base,\n variations: {\n view: {\n css: viewCSS,\n },\n size: {\n css: sizeCSS,\n },\n },\n defaults: {\n view: 'primary',\n size: 'm',\n },\n};\n"],"names":["selectHeaderRoot","dropdownHeaderRoot","selectHeaderConfig","name","tag","layout","base","variations","view","css","viewCSS","size","sizeCSS","defaults"],"mappings":";;;;;;;;;;;;;;AAMO,IAAMA,gBAAgB,GAAGC,mBAAkB;AAE3C,IAAMC,kBAAkB,GAAG;AAC9BC,EAAAA,IAAI,EAAE,cAAc;AACpBC,EAAAA,GAAG,EAAE,KAAK;AACVC,EAAAA,MAAM,EAAEL,gBAAgB;AACxBM,EAAAA,IAAI,EAAJA,IAAI;AACJC,EAAAA,UAAU,EAAE;AACRC,IAAAA,IAAI,EAAE;AACFC,MAAAA,GAAG,EAAEC,MAAAA;KACR;AACDC,IAAAA,IAAI,EAAE;AACFF,MAAAA,GAAG,EAAEG,MAAAA;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACNL,IAAAA,IAAI,EAAE,SAAS;AACfG,IAAAA,IAAI,EAAE,GAAA;AACV,GAAA;AACJ;;;;"}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import './SelectHeader.styles_24gqog.css';
|
2
|
+
// NOTE: Необходимое переопределение токенов из компонента DropdownItem т.к. используются его части
|
3
|
+
var mappingOverride = "m1tqc9mt";
|
4
|
+
var base = mappingOverride;
|
5
|
+
|
6
|
+
export { base, mappingOverride };
|
7
|
+
//# sourceMappingURL=SelectHeader.styles.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"SelectHeader.styles.js","sources":["../../../../../src/components/Select/ui/SelectHeader/SelectHeader.styles.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { tokens } from '../../Select.tokens';\nimport { dropdownTokens } from '../../../Dropdown';\n\n// NOTE: Необходимое переопределение токенов из компонента DropdownItem т.к. используются его части\nexport const mappingOverride = css`\n ${dropdownTokens.headerBackground}: var(${tokens.headerBackground});\n ${dropdownTokens.headerWidth}: var(${tokens.headerWidth});\n ${dropdownTokens.headerHeight}: var(${tokens.headerHeight});\n ${dropdownTokens.headerPaddingTop}: var(${tokens.headerPaddingTop});\n ${dropdownTokens.headerPaddingRight}: var(${tokens.headerPaddingRight});\n ${dropdownTokens.headerPaddingBottom}: var(${tokens.headerPaddingBottom});\n ${dropdownTokens.headerPaddingLeft}: var(${tokens.headerPaddingLeft});\n ${dropdownTokens.headerMarginTop}: var(${tokens.headerMarginTop});\n ${dropdownTokens.headerMarginRight}: var(${tokens.headerMarginRight});\n ${dropdownTokens.headerMarginBottom}: var(${tokens.headerMarginBottom});\n ${dropdownTokens.headerMarginLeft}: var(${tokens.headerMarginLeft});\n ${dropdownTokens.headerFontFamily}: var(${tokens.headerFontFamily});\n ${dropdownTokens.headerFontSize}: var(${tokens.headerFontSize});\n ${dropdownTokens.headerFontStyle}: var(${tokens.headerFontStyle});\n ${dropdownTokens.headerFontWeightBold}: var(${tokens.headerFontWeightBold});\n ${dropdownTokens.headerFontLetterSpacing}: var(${tokens.headerFontLetterSpacing});\n ${dropdownTokens.headerFontLineHeight}: var(${tokens.headerFontLineHeight});\n`;\n\nexport const base = mappingOverride;\n"],"names":["mappingOverride","base"],"mappings":"AAKA;AACO,IAAMA,eAAe,GAkB3B,WAAA;AAEM,IAAMC,IAAI,GAAGD;;;;"}
|
@@ -0,0 +1 @@
|
|
1
|
+
.m1tqc9mt{--plasma-dropdown-header-background:var(--plasma-select-header-background);--plasma-dropdown-header-width:var(--plasma-select-header-width);--plasma-dropdown-header-height:var(--plasma-select-header-height);--plasma-dropdown-header-padding-top:var(--plasma-select-header-padding-top);--plasma-dropdown-header-padding-right:var(--plasma-select-header-padding-right);--plasma-dropdown-header-padding-bottom:var(--plasma-select-header-padding-bottom);--plasma-dropdown-header-padding-left:var(--plasma-select-header-padding-left);--plasma-dropdown-header-margin-top:var(--plasma-select-header-margin-top);--plasma-dropdown-header-margin-right:var(--plasma-select-header-margin-right);--plasma-dropdown-header-margin-bottom:var(--plasma-select-header-margin-bottom);--plasma-dropdown-header-margin-left:var(--plasma-select-header-margin-left);--plasma-dropdown-header-font-family:var(--plasma-select-header-font-family);--plasma-dropdown-header-font-size:var(--plasma-select-header-font-size);--plasma-dropdown-header-font-style:var(--plasma-select-header-font-style);--plasma-dropdown-header-letter-spacing:var(--plasma-select-header-letter-spacing);--plasma-dropdown-header-line-height:var(--plasma-select-header-line-height);--plasma-dropdown-header-font-weight:var(--plasma-select-header-font-weight);}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"base.js","sources":["../../../../../../../src/components/Select/ui/SelectHeader/variations/_size/base.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nexport const base = css``;\n"],"names":["base"],"mappings":"AAEO,IAAMA,IAAI,GAAQ;;;;"}
|
@@ -0,0 +1 @@
|
|
1
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"base.js","sources":["../../../../../../../src/components/Select/ui/SelectHeader/variations/_view/base.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nexport const base = css``;\n"],"names":["base"],"mappings":"AAEO,IAAMA,IAAI,GAAQ;;;;"}
|
@@ -0,0 +1 @@
|
|
1
|
+
|
@@ -0,0 +1,35 @@
|
|
1
|
+
.Popover_styles_rmr9za_s1g1xbt5__0bafa6fb{display:inline-block;}
|
2
|
+
.Popover_styles_rmr9za_s12xwbyh__0bafa6fb{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;box-sizing:border-box;position:relative;}
|
3
|
+
.Popover_styles_rmr9za_s1pd4d8a__0bafa6fb{width:var(--plasma-popover-arrow-mask-width);height:var(--plasma-popover-arrow-mask-height);}.Popover_styles_rmr9za_s1pd4d8a__0bafa6fb::before{position:absolute;width:var(--plasma-popover-arrow-mask-width);height:var(--plasma-popover-arrow-mask-height);-webkit-mask-image:var(--plasma-popover-arrow-mask-image);mask-image:var(--plasma-popover-arrow-mask-image);background:var(--plasma-popover-arrow-background);content:'';-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg);}
|
4
|
+
.Popover_styles_rmr9za_s16xlixz__0bafa6fb{position:absolute;z-index:var(--s16xlixz-0);}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='top'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{bottom:calc(0px - var(--plasma-popover-arrow-height));}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='bottom'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{top:calc(0px - var(--plasma-popover-arrow-height));}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='bottom'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb::before{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='left'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{right:calc(0px - var(--plasma-popover-arrow-height));}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='left'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb::before{-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg);}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='right'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{left:calc(0px - var(--plasma-popover-arrow-height));}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='right'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb::before{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg);}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='top-start'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{bottom:calc(0px - var(--plasma-popover-arrow-height));left:var(--plasma-popover-arrow-edge-margin) !important;-webkit-transform:unset !important;-ms-transform:unset !important;transform:unset !important;}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='top-end'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{bottom:calc(0px - var(--plasma-popover-arrow-height));left:unset !important;right:var(--plasma-popover-arrow-edge-margin) !important;-webkit-transform:unset !important;-ms-transform:unset !important;transform:unset !important;}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='bottom-start'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{top:calc(0px - var(--plasma-popover-arrow-height));left:var(--plasma-popover-arrow-edge-margin) !important;-webkit-transform:unset !important;-ms-transform:unset !important;transform:unset !important;}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='bottom-start'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb::before{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='bottom-end'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{top:calc(0px - var(--plasma-popover-arrow-height));left:unset !important;right:var(--plasma-popover-arrow-edge-margin) !important;-webkit-transform:unset !important;-ms-transform:unset !important;transform:unset !important;}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='bottom-end'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb::before{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='left-start'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb,.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='right-start'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{top:var(--plasma-popover-arrow-edge-margin) !important;-webkit-transform:unset !important;-ms-transform:unset !important;transform:unset !important;}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='left-end'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb,.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='right-end'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{top:unset !important;bottom:var(--plasma-popover-arrow-edge-margin) !important;-webkit-transform:unset !important;-ms-transform:unset !important;transform:unset !important;}
|
5
|
+
|
6
|
+
.Dropdown_styles_1tihqkp_sn7uamp__39673f55 .Dropdown_styles_1tihqkp_popoverWrapper__39673f55,.Dropdown_styles_1tihqkp_sn7uamp__39673f55 .Dropdown_styles_1tihqkp_popoverTarget__39673f55{display:block;}
|
7
|
+
.Dropdown_styles_1tihqkp_ujr7fmv__39673f55{box-sizing:border-box;background:var(--plasma-dropdown-background);box-shadow:var(--plasma-dropdown-box-shadow);border-radius:var(--plasma-dropdown-border-radius);width:var(--ujr7fmv-0);height:var(--ujr7fmv-1);overflow:var(--ujr7fmv-2);margin:var(--ujr7fmv-3);padding:var(--plasma-dropdown-padding);}
|
8
|
+
.Dropdown_styles_1tihqkp_byfocd2__39673f55{display:inline-block;}
|
9
|
+
|
10
|
+
.DropdownDivider_styles_v3xor1_s1brpi5d__3a791565{background:var(--plasma-dropdown-divider-color);width:var(--plasma-dropdown-divider-width);height:var(--plasma-dropdown-divider-height);margin:var(--plasma-dropdown-divider-margin-top) var(--plasma-dropdown-divider-margin-right) var(--plasma-dropdown-divider-margin-bottom) var(--plasma-dropdown-divider-margin-left);}
|
11
|
+
|
12
|
+
.DropdownFooter_styles_1j4sg1p_stiw0r3__41ff7287{background:var(--plasma-dropdown-footer-background);font-family:var(--plasma-dropdown-footer-font-family);font-size:var(--plasma-dropdown-footer-font-size);font-style:var(--plasma-dropdown-footer-font-style);font-weight:var(--plasma-dropdown-footer-letter-spacing);-webkit-letter-spacing:var(--plasma-dropdown-footer-line-height);-moz-letter-spacing:var(--plasma-dropdown-footer-line-height);-ms-letter-spacing:var(--plasma-dropdown-footer-line-height);letter-spacing:var(--plasma-dropdown-footer-line-height);line-height:var(--plasma-dropdown-footer-font-weight);width:var(--plasma-dropdown-footer-width);height:var(--plasma-dropdown-footer-height);padding:var(--plasma-dropdown-footer-padding-top) var(--plasma-dropdown-footer-padding-right) var(--plasma-dropdown-footer-padding-bottom) var(--plasma-dropdown-footer-padding-left);margin:var(--plasma-dropdown-footer-margin-top) var(--plasma-dropdown-footer-margin-right) var(--plasma-dropdown-footer-margin-bottom) var(--plasma-dropdown-footer-margin-left);}
|
13
|
+
|
14
|
+
.DropdownGroup_styles_1o990eo_scop7qk__fca8c58e{background:var(--plasma-dropdown-group-background);width:var(--plasma-dropdown-group-width);height:var(--plasma-dropdown-group-height);padding:var(--plasma-dropdown-group-padding-top) var(--plasma-dropdown-group-padding-right) var(--plasma-dropdown-group-padding-bottom) var(--plasma-dropdown-group-padding-left);margin:var(--plasma-dropdown-group-margin-top) var(--plasma-dropdown-group-margin-right) var(--plasma-dropdown-group-margin-bottom) var(--plasma-dropdown-group-margin-left);}
|
15
|
+
.DropdownGroup_styles_1o990eo_s1oaw95y__fca8c58e{font-family:var(--plasma-dropdown-group-label-font-family);font-size:var(--plasma-dropdown-group-label-font-size);font-style:var(--plasma-dropdown-group-label-font-style);font-weight:var(--plasma-dropdown-group-label-font-weight);-webkit-letter-spacing:var(--plasma-dropdown-group-label-letter-spacing);-moz-letter-spacing:var(--plasma-dropdown-group-label-letter-spacing);-ms-letter-spacing:var(--plasma-dropdown-group-label-letter-spacing);letter-spacing:var(--plasma-dropdown-group-label-letter-spacing);line-height:var(--plasma-dropdown-group-label-line-height);color:var(--plasma-dropdown-group-label-color);padding:var(--plasma-dropdown-group-label-padding-top) var(--plasma-dropdown-group-label-padding-right) var(--plasma-dropdown-group-label-padding-bottom) var(--plasma-dropdown-group-label-padding-left);margin:var(--plasma-dropdown-group-label-margin-top) var(--plasma-dropdown-group-label-margin-right) var(--plasma-dropdown-group-label-margin-bottom) var(--plasma-dropdown-group-label-margin-left);}
|
16
|
+
|
17
|
+
.DropdownHeader_styles_196gwgm_s133b1g2__3510806e{background:var(--plasma-dropdown-header-background);font-family:var(--plasma-dropdown-header-font-family);font-size:var(--plasma-dropdown-header-font-size);font-style:var(--plasma-dropdown-header-font-style);font-weight:var(--plasma-dropdown-header-letter-spacing);-webkit-letter-spacing:var(--plasma-dropdown-header-line-height);-moz-letter-spacing:var(--plasma-dropdown-header-line-height);-ms-letter-spacing:var(--plasma-dropdown-header-line-height);letter-spacing:var(--plasma-dropdown-header-line-height);line-height:var(--plasma-dropdown-header-font-weight);width:var(--plasma-dropdown-header-width);height:var(--plasma-dropdown-header-height);padding:var(--plasma-dropdown-header-padding-top) var(--plasma-dropdown-header-padding-right) var(--plasma-dropdown-header-padding-bottom) var(--plasma-dropdown-header-padding-left);margin:var(--plasma-dropdown-header-margin-top) var(--plasma-dropdown-header-margin-right) var(--plasma-dropdown-header-margin-bottom) var(--plasma-dropdown-header-margin-left);}
|
18
|
+
|
19
|
+
.IconRoot_7pl7ig_svvlqhf__32c458a1{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;width:var(--svvlqhf-0);height:var(--svvlqhf-0);-webkit-flex:0 0 var(--svvlqhf-0);-ms-flex:0 0 var(--svvlqhf-0);flex:0 0 var(--svvlqhf-0);}
|
20
|
+
|
21
|
+
.DropdownItem_styles_1o4szyu_s1gkzlls__6703745b{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;}
|
22
|
+
.DropdownItem_styles_1o4szyu_sz6s14y__6703745b{margin-left:auto;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;}
|
23
|
+
.DropdownItem_styles_1o4szyu_d1m97l2m__6703745b{line-height:0;color:var(--plasma-dropdown-disclosure-icon-color);}
|
24
|
+
.DropdownItem_styles_1o4szyu_soib72h__6703745b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-webkit-flex:1;-ms-flex:1;flex:1;}
|
25
|
+
.DropdownItem_styles_1o4szyu_w6l2f0g__6703745b{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:0;box-sizing:content-box;padding-top:var(--w6l2f0g-0);padding-right:var(--plasma-dropdown-item-padding-right);padding-bottom:var(--w6l2f0g-1);padding-left:var(--plasma-dropdown-item-padding-left);font-family:var(--plasma-dropdown-item-font-family);font-size:var(--plasma-dropdown-item-font-size);font-style:var(--plasma-dropdown-item-font-style);font-weight:var(--plasma-dropdown-item-letter-spacing);-webkit-letter-spacing:var(--plasma-dropdown-item-line-height);-moz-letter-spacing:var(--plasma-dropdown-item-line-height);-ms-letter-spacing:var(--plasma-dropdown-item-line-height);letter-spacing:var(--plasma-dropdown-item-line-height);line-height:var(--plasma-dropdown-item-font-weight);background:var(--plasma-dropdown-item-background);color:var(--plasma-dropdown-item-color);border-radius:var(--plasma-dropdown-item-border-radius);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;}.DropdownItem_styles_1o4szyu_w6l2f0g__6703745b:hover:not(.DropdownItem_styles_1o4szyu_dropdownItemIsDisabled__6703745b){cursor:pointer;background:var(--plasma-dropdown-item-background-hover);}.DropdownItem_styles_1o4szyu_w6l2f0g__6703745b.DropdownItem_styles_1o4szyu_dropdownItemIsActive__6703745b{background:var(--plasma-dropdown-item-background-hover);}.DropdownItem_styles_1o4szyu_w6l2f0g__6703745b.DropdownItem_styles_1o4szyu_dropdownItemIsDisabled__6703745b{opacity:var(--plasma-dropdown-disabled-opacity);cursor:not-allowed;}.DropdownItem_styles_1o4szyu_w6l2f0g__6703745b:focus{outline:none;}.DropdownItem_styles_1o4szyu_w6l2f0g__6703745b::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;z-index:1;display:block;box-sizing:content-box;border:0.0625rem solid transparent;border-radius:var(--plasma-dropdown-item-border-radius);-webkit-transition:none;transition:none;pointer-events:none;}.DropdownItem_styles_1o4szyu_w6l2f0g__6703745b.DropdownItem_styles_1o4szyu_dropdownItemIsFocused__6703745b:before{outline:none;box-shadow:0 0 0 0.0625rem var(--plasma-dropdown-focus-color);}
|
26
|
+
|
27
|
+
.DropdownItem_styles_12e50g5_s1iqs5in__94ac8eef{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;min-width:var(--plasma-dropdown-item-content-left-width);color:var(--plasma-dropdown-item-content-left-color);}
|
28
|
+
.DropdownItem_styles_12e50g5_sfg3dyd__94ac8eef{margin-left:auto;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;min-width:var(--plasma-dropdown-item-content-right-width);color:var(--plasma-dropdown-item-content-right-color);}
|
29
|
+
.DropdownItem_styles_12e50g5_s1dea6tl__94ac8eef{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
|
30
|
+
.DropdownItem_styles_12e50g5_b1b2nce8__94ac8eef{box-sizing:content-box;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;width:auto;font-family:var(--plasma-dropdown-item-font-family);font-size:var(--plasma-dropdown-item-font-size);font-style:var(--plasma-dropdown-item-font-style);font-weight:var(--plasma-dropdown-item-letter-spacing);-webkit-letter-spacing:var(--plasma-dropdown-item-line-height);-moz-letter-spacing:var(--plasma-dropdown-item-line-height);-ms-letter-spacing:var(--plasma-dropdown-item-line-height);letter-spacing:var(--plasma-dropdown-item-line-height);line-height:var(--plasma-dropdown-item-font-weight);background:var(--plasma-dropdown-item-background);color:var(--plasma-dropdown-item-color);border-radius:var(--plasma-dropdown-item-border-radius);width:var(--plasma-dropdown-item-width);height:var(--plasma-dropdown-item-height);padding:var(--plasma-dropdown-item-padding-top) var(--plasma-dropdown-item-padding-right) var(--plasma-dropdown-item-padding-bottom) var(--plasma-dropdown-item-padding-left);margin:var(--plasma-dropdown-item-margin-top) var(--plasma-dropdown-item-margin-right) var(--plasma-dropdown-item-margin-bottom) var(--plasma-dropdown-item-margin-left);}.DropdownItem_styles_12e50g5_b1b2nce8__94ac8eef:focus{outline:none;}.DropdownItem_styles_12e50g5_b1b2nce8__94ac8eef::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;z-index:1;display:block;box-sizing:content-box;border:0.0625rem solid transparent;border-radius:var(--plasma-dropdown-item-border-radius);-webkit-transition:none;transition:none;pointer-events:none;}.DropdownItem_styles_12e50g5_b1b2nce8__94ac8eef.DropdownItem_styles_12e50g5_focusVisible__94ac8eef:focus::before,.DropdownItem_styles_12e50g5_b1b2nce8__94ac8eef[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.0625rem var(--plasma-dropdown-focus-color);}.DropdownItem_styles_12e50g5_b1b2nce8__94ac8eef:hover:not(.DropdownItem_styles_12e50g5_dropdownItemIsDisabled__94ac8eef){cursor:pointer;background:var(--plasma-dropdown-item-background-hover);}.DropdownItem_styles_12e50g5_b1b2nce8__94ac8eef.DropdownItem_styles_12e50g5_dropdownItemIsSelected__94ac8eef{color:var(--plasma-dropdown-item-color-selected);background:var(--plasma-dropdown-item-background-selected);}.DropdownItem_styles_12e50g5_b1b2nce8__94ac8eef.DropdownItem_styles_12e50g5_dropdownItemIsSelected__94ac8eef:hover:not(.DropdownItem_styles_12e50g5_dropdownItemIsDisabled__94ac8eef){background:var(--plasma-dropdown-item-background-selected-hover);}.DropdownItem_styles_12e50g5_b1b2nce8__94ac8eef.DropdownItem_styles_12e50g5_dropdownItemIsDisabled__94ac8eef{opacity:var(--plasma-dropdown-disabled-opacity);cursor:not-allowed;}
|
31
|
+
|
32
|
+
.Dropdown_styles_3w3l45_s1rwu6ky__59648b20 .Dropdown_styles_3w3l45_popoverTarget__59648b20{display:block;}
|
33
|
+
.Dropdown_styles_3w3l45_s10jhp3l__59648b20{box-sizing:border-box;background:var(--plasma-dropdown-background);box-shadow:var(--plasma-dropdown-box-shadow);border-radius:var(--plasma-dropdown-border-radius);width:var(--plasma-dropdown-width);height:var(--plasma-dropdown-height);padding:var(--plasma-dropdown-padding-top) var(--plasma-dropdown-padding-right) var(--plasma-dropdown-padding-bottom) var(--plasma-dropdown-padding-left);}
|
34
|
+
|
35
|
+
.SelectItem_styles_vk39mp_bhy25de__bb65e3c1{box-sizing:content-box;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;width:auto;font-family:var(--plasma-dropdown-item-font-family);font-size:var(--plasma-dropdown-item-font-size);font-style:var(--plasma-dropdown-item-font-style);font-weight:var(--plasma-dropdown-item-letter-spacing);-webkit-letter-spacing:var(--plasma-dropdown-item-line-height);-moz-letter-spacing:var(--plasma-dropdown-item-line-height);-ms-letter-spacing:var(--plasma-dropdown-item-line-height);letter-spacing:var(--plasma-dropdown-item-line-height);line-height:var(--plasma-dropdown-item-font-weight);background:var(--plasma-dropdown-item-background);color:var(--plasma-dropdown-item-color);border-radius:var(--plasma-dropdown-item-border-radius);width:var(--plasma-dropdown-item-width);height:var(--plasma-dropdown-item-height);padding:var(--plasma-dropdown-item-padding-top) var(--plasma-dropdown-item-padding-right) var(--plasma-dropdown-item-padding-bottom) var(--plasma-dropdown-item-padding-left);margin:var(--plasma-dropdown-item-margin-top) var(--plasma-dropdown-item-margin-right) var(--plasma-dropdown-item-margin-bottom) var(--plasma-dropdown-item-margin-left);--plasma-dropdown-item-background:var(--plasma-select-item-background);--plasma-dropdown-item-color:var(--plasma-select-item-color);--plasma-dropdown-item-background-hover:var(--plasma-select-item-background-hover);--plasma-dropdown-item-background-selected:var(--plasma-select-item-background-selected);--plasma-dropdown-item-color-selected:var(--plasma-select-item-color-selected);--plasma-dropdown-item-background-selected-hover:var(--plasma-select-item-background-selected-hover);--plasma-dropdown-item-color-selected-hover:var(--plasma-select-item-color-selected-hover);--plasma-dropdown-item-content-left-color:var(--plasma-select-item-content-left-color);--plasma-dropdown-item-content-right-color:var(--plasma-select-item-content-right-color);--plasma-dropdown-disabled-opacity:var(--plasma-select-disabled-opacity);--plasma-dropdown-focus-color:var(--plasma-select-focus-color);--plasma-dropdown-item-width:var(--plasma-select-item-width);--plasma-dropdown-item-height:var(--plasma-select-item-height);--plasma-dropdown-item-border-radius:var(--plasma-select-item-border-radius);--plasma-dropdown-item-padding-top:var(--plasma-select-item-padding-top);--plasma-dropdown-item-padding-right:var(--plasma-select-item-padding-right);--plasma-dropdown-item-padding-bottom:var(--plasma-select-item-padding-bottom);--plasma-dropdown-item-padding-left:var(--plasma-select-item-padding-left);--plasma-dropdown-item-margin-top:var(--plasma-select-item-margin-top);--plasma-dropdown-item-margin-right:var(--plasma-select-item-margin-right);--plasma-dropdown-item-margin-bottom:var(--plasma-select-item-margin-bottom);--plasma-dropdown-item-margin-left:var(--plasma-select-item-margin-left);--plasma-dropdown-item-font-family:var(--plasma-select-item-font-family);--plasma-dropdown-item-font-size:var(--plasma-select-item-font-size);--plasma-dropdown-item-font-style:var(--plasma-select-item-font-style);--plasma-dropdown-item-letter-spacing:var(--plasma-select-item-letter-spacing);--plasma-dropdown-item-line-height:var(--plasma-select-item-line-height);--plasma-dropdown-item-font-weight:var(--plasma-select-item-font-weight);--plasma-dropdown-item-content-left-width:var(--plasma-select-item-content-left-width);--plasma-dropdown-item-content-right-width:var(--plasma-select-item-content-right-width);}.SelectItem_styles_vk39mp_bhy25de__bb65e3c1:focus{outline:none;}.SelectItem_styles_vk39mp_bhy25de__bb65e3c1::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;z-index:1;display:block;box-sizing:content-box;border:0.0625rem solid transparent;border-radius:var(--plasma-dropdown-item-border-radius);-webkit-transition:none;transition:none;pointer-events:none;}.SelectItem_styles_vk39mp_bhy25de__bb65e3c1.SelectItem_styles_vk39mp_focusVisible__bb65e3c1:focus::before,.SelectItem_styles_vk39mp_bhy25de__bb65e3c1[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.0625rem var(--plasma-dropdown-focus-color);}.SelectItem_styles_vk39mp_bhy25de__bb65e3c1:hover:not(.SelectItem_styles_vk39mp_dropdownItemIsDisabled__bb65e3c1){cursor:pointer;background:var(--plasma-dropdown-item-background-hover);}.SelectItem_styles_vk39mp_bhy25de__bb65e3c1.SelectItem_styles_vk39mp_dropdownItemIsSelected__bb65e3c1{color:var(--plasma-dropdown-item-color-selected);background:var(--plasma-dropdown-item-background-selected);}.SelectItem_styles_vk39mp_bhy25de__bb65e3c1.SelectItem_styles_vk39mp_dropdownItemIsSelected__bb65e3c1:hover:not(.SelectItem_styles_vk39mp_dropdownItemIsDisabled__bb65e3c1){background:var(--plasma-dropdown-item-background-selected-hover);}.SelectItem_styles_vk39mp_bhy25de__bb65e3c1.SelectItem_styles_vk39mp_dropdownItemIsDisabled__bb65e3c1{opacity:var(--plasma-dropdown-disabled-opacity);cursor:not-allowed;}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
import 'react';
|
2
|
+
import '../../../../utils/react.js';
|
3
|
+
import '@salutejs/plasma-core';
|
4
|
+
import '@linaria/react';
|
5
|
+
import '@linaria/core';
|
6
|
+
import 'focus-visible';
|
7
|
+
import 'react-dom';
|
8
|
+
import 'react-popper';
|
9
|
+
import { dropdownItemOldRoot } from '../../../Dropdown/ui/DropdownItemOld/DropdownItemOld.js';
|
10
|
+
import { base as base$1 } from './variations/_view/base.js';
|
11
|
+
import { base as base$2 } from './variations/_size/base.js';
|
12
|
+
import { base } from './SelectItem.styles.js';
|
13
|
+
|
14
|
+
var selectItemRoot = dropdownItemOldRoot;
|
15
|
+
var selectItemConfig = {
|
16
|
+
name: 'SelectItem',
|
17
|
+
tag: 'div',
|
18
|
+
layout: selectItemRoot,
|
19
|
+
base: base,
|
20
|
+
variations: {
|
21
|
+
view: {
|
22
|
+
css: base$1
|
23
|
+
},
|
24
|
+
size: {
|
25
|
+
css: base$2
|
26
|
+
}
|
27
|
+
},
|
28
|
+
defaults: {
|
29
|
+
view: 'primary',
|
30
|
+
size: 'm'
|
31
|
+
}
|
32
|
+
};
|
33
|
+
|
34
|
+
export { selectItemConfig, selectItemRoot };
|
35
|
+
//# sourceMappingURL=SelectItem.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"SelectItem.js","sources":["../../../../../src/components/Select/ui/SelectItem/SelectItem.tsx"],"sourcesContent":["import { dropdownItemOldRoot } from '../../../Dropdown';\n\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as sizeCSS } from './variations/_size/base';\nimport { base } from './SelectItem.styles';\n\nexport const selectItemRoot = dropdownItemOldRoot;\n\nexport const selectItemConfig = {\n name: 'SelectItem',\n tag: 'div',\n layout: selectItemRoot,\n base,\n variations: {\n view: {\n css: viewCSS,\n },\n size: {\n css: sizeCSS,\n },\n },\n defaults: {\n view: 'primary',\n size: 'm',\n },\n};\n"],"names":["selectItemRoot","dropdownItemOldRoot","selectItemConfig","name","tag","layout","base","variations","view","css","viewCSS","size","sizeCSS","defaults"],"mappings":";;;;;;;;;;;;;AAMO,IAAMA,cAAc,GAAGC,oBAAmB;AAE1C,IAAMC,gBAAgB,GAAG;AAC5BC,EAAAA,IAAI,EAAE,YAAY;AAClBC,EAAAA,GAAG,EAAE,KAAK;AACVC,EAAAA,MAAM,EAAEL,cAAc;AACtBM,EAAAA,IAAI,EAAJA,IAAI;AACJC,EAAAA,UAAU,EAAE;AACRC,IAAAA,IAAI,EAAE;AACFC,MAAAA,GAAG,EAAEC,MAAAA;KACR;AACDC,IAAAA,IAAI,EAAE;AACFF,MAAAA,GAAG,EAAEG,MAAAA;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACNL,IAAAA,IAAI,EAAE,SAAS;AACfG,IAAAA,IAAI,EAAE,GAAA;AACV,GAAA;AACJ;;;;"}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import './SelectItem.styles_vk39mp.css';
|
2
|
+
import 'react';
|
3
|
+
import '../../../../utils/react.js';
|
4
|
+
import '@salutejs/plasma-core';
|
5
|
+
import '@linaria/react';
|
6
|
+
import '@linaria/core';
|
7
|
+
import 'focus-visible';
|
8
|
+
import 'react-dom';
|
9
|
+
import 'react-popper';
|
10
|
+
import 'styled-components';
|
11
|
+
|
12
|
+
var base = "bhy25de";
|
13
|
+
|
14
|
+
export { base };
|
15
|
+
//# sourceMappingURL=SelectItem.styles.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"SelectItem.styles.js","sources":["../../../../../src/components/Select/ui/SelectItem/SelectItem.styles.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { tokens } from '../../Select.tokens';\nimport { dropdownTokens } from '../../../Dropdown';\nimport { baseContent as dropdownItemBase } from '../../../Dropdown/ui/DropdownItemOld/DropdownItem.styles';\n\n// NOTE: Необходимое переопределение токенов из компонента DropdownItem т.к. используются его части\nexport const mappingOverride = `\n ${dropdownTokens.itemBackground}: var(${tokens.itemBackground});\n ${dropdownTokens.itemColor}: var(${tokens.itemColor});\n ${dropdownTokens.itemBackgroundHover}: var(${tokens.itemBackgroundHover});\n ${dropdownTokens.itemBackgroundSelected}: var(${tokens.itemBackgroundSelected});\n ${dropdownTokens.itemColorSelected}: var(${tokens.itemColorSelected});\n ${dropdownTokens.itemBackgroundSelectedHover}: var(${tokens.itemBackgroundSelectedHover});\n ${dropdownTokens.itemColorSelectedHover}: var(${tokens.itemColorSelectedHover});\n ${dropdownTokens.itemContentLeftColor}: var(${tokens.itemContentLeftColor});\n ${dropdownTokens.itemContentRightColor}: var(${tokens.itemContentRightColor});\n ${dropdownTokens.disabledOpacity}: var(${tokens.disabledOpacity});\n ${dropdownTokens.focusColor}: var(${tokens.focusColor});\n ${dropdownTokens.itemWidth}: var(${tokens.itemWidth});\n ${dropdownTokens.itemHeight}: var(${tokens.itemHeight});\n ${dropdownTokens.itemBorderRadius}: var(${tokens.itemBorderRadius});\n ${dropdownTokens.itemPaddingTop}: var(${tokens.itemPaddingTop});\n ${dropdownTokens.itemPaddingRight}: var(${tokens.itemPaddingRight});\n ${dropdownTokens.itemPaddingBottom}: var(${tokens.itemPaddingBottom});\n ${dropdownTokens.itemPaddingLeft}: var(${tokens.itemPaddingLeft});\n ${dropdownTokens.itemMarginTop}: var(${tokens.itemMarginTop});\n ${dropdownTokens.itemMarginRight}: var(${tokens.itemMarginRight});\n ${dropdownTokens.itemMarginBottom}: var(${tokens.itemMarginBottom});\n ${dropdownTokens.itemMarginLeft}: var(${tokens.itemMarginLeft});\n ${dropdownTokens.itemFontFamily}: var(${tokens.itemFontFamily});\n ${dropdownTokens.itemFontSize}: var(${tokens.itemFontSize});\n ${dropdownTokens.itemFontStyle}: var(${tokens.itemFontStyle});\n ${dropdownTokens.itemFontWeightBold}: var(${tokens.itemFontWeightBold});\n ${dropdownTokens.itemFontLetterSpacing}: var(${tokens.itemFontLetterSpacing});\n ${dropdownTokens.itemFontLineHeight}: var(${tokens.itemFontLineHeight});\n ${dropdownTokens.itemContentLeftWidth}: var(${tokens.itemContentLeftWidth});\n ${dropdownTokens.itemContentRightWidth}: var(${tokens.itemContentRightWidth});\n`;\n\nexport const base = css`\n ${dropdownItemBase};\n ${mappingOverride};\n`;\n"],"names":["base"],"mappings":";;;;;;;;;;AAwCO,IAAMA,IAAI,GAGhB;;;;"}
|
@@ -0,0 +1 @@
|
|
1
|
+
.bhy25de{box-sizing:content-box;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;width:auto;font-family:var(--plasma-dropdown-item-font-family);font-size:var(--plasma-dropdown-item-font-size);font-style:var(--plasma-dropdown-item-font-style);font-weight:var(--plasma-dropdown-item-letter-spacing);-webkit-letter-spacing:var(--plasma-dropdown-item-line-height);-moz-letter-spacing:var(--plasma-dropdown-item-line-height);-ms-letter-spacing:var(--plasma-dropdown-item-line-height);letter-spacing:var(--plasma-dropdown-item-line-height);line-height:var(--plasma-dropdown-item-font-weight);background:var(--plasma-dropdown-item-background);color:var(--plasma-dropdown-item-color);border-radius:var(--plasma-dropdown-item-border-radius);width:var(--plasma-dropdown-item-width);height:var(--plasma-dropdown-item-height);padding:var(--plasma-dropdown-item-padding-top) var(--plasma-dropdown-item-padding-right) var(--plasma-dropdown-item-padding-bottom) var(--plasma-dropdown-item-padding-left);margin:var(--plasma-dropdown-item-margin-top) var(--plasma-dropdown-item-margin-right) var(--plasma-dropdown-item-margin-bottom) var(--plasma-dropdown-item-margin-left);--plasma-dropdown-item-background:var(--plasma-select-item-background);--plasma-dropdown-item-color:var(--plasma-select-item-color);--plasma-dropdown-item-background-hover:var(--plasma-select-item-background-hover);--plasma-dropdown-item-background-selected:var(--plasma-select-item-background-selected);--plasma-dropdown-item-color-selected:var(--plasma-select-item-color-selected);--plasma-dropdown-item-background-selected-hover:var(--plasma-select-item-background-selected-hover);--plasma-dropdown-item-color-selected-hover:var(--plasma-select-item-color-selected-hover);--plasma-dropdown-item-content-left-color:var(--plasma-select-item-content-left-color);--plasma-dropdown-item-content-right-color:var(--plasma-select-item-content-right-color);--plasma-dropdown-disabled-opacity:var(--plasma-select-disabled-opacity);--plasma-dropdown-focus-color:var(--plasma-select-focus-color);--plasma-dropdown-item-width:var(--plasma-select-item-width);--plasma-dropdown-item-height:var(--plasma-select-item-height);--plasma-dropdown-item-border-radius:var(--plasma-select-item-border-radius);--plasma-dropdown-item-padding-top:var(--plasma-select-item-padding-top);--plasma-dropdown-item-padding-right:var(--plasma-select-item-padding-right);--plasma-dropdown-item-padding-bottom:var(--plasma-select-item-padding-bottom);--plasma-dropdown-item-padding-left:var(--plasma-select-item-padding-left);--plasma-dropdown-item-margin-top:var(--plasma-select-item-margin-top);--plasma-dropdown-item-margin-right:var(--plasma-select-item-margin-right);--plasma-dropdown-item-margin-bottom:var(--plasma-select-item-margin-bottom);--plasma-dropdown-item-margin-left:var(--plasma-select-item-margin-left);--plasma-dropdown-item-font-family:var(--plasma-select-item-font-family);--plasma-dropdown-item-font-size:var(--plasma-select-item-font-size);--plasma-dropdown-item-font-style:var(--plasma-select-item-font-style);--plasma-dropdown-item-letter-spacing:var(--plasma-select-item-letter-spacing);--plasma-dropdown-item-line-height:var(--plasma-select-item-line-height);--plasma-dropdown-item-font-weight:var(--plasma-select-item-font-weight);--plasma-dropdown-item-content-left-width:var(--plasma-select-item-content-left-width);--plasma-dropdown-item-content-right-width:var(--plasma-select-item-content-right-width);}.bhy25de:focus{outline:none;}.bhy25de::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;z-index:1;display:block;box-sizing:content-box;border:0.0625rem solid transparent;border-radius:var(--plasma-dropdown-item-border-radius);-webkit-transition:none;transition:none;pointer-events:none;}.bhy25de.focus-visible:focus::before,.bhy25de[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.0625rem var(--plasma-dropdown-focus-color);}.bhy25de:hover:not(.dropdown-item-is-disabled){cursor:pointer;background:var(--plasma-dropdown-item-background-hover);}.bhy25de.dropdownItemIsSelected{color:var(--plasma-dropdown-item-color-selected);background:var(--plasma-dropdown-item-background-selected);}.bhy25de.dropdownItemIsSelected:hover:not(.dropdown-item-is-disabled){background:var(--plasma-dropdown-item-background-selected-hover);}.bhy25de.dropdown-item-is-disabled{opacity:var(--plasma-dropdown-disabled-opacity);cursor:not-allowed;}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"base.js","sources":["../../../../../../../src/components/Select/ui/SelectItem/variations/_size/base.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nexport const base = css``;\n"],"names":["base"],"mappings":"AAEO,IAAMA,IAAI,GAAQ;;;;"}
|
@@ -0,0 +1 @@
|
|
1
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"base.js","sources":["../../../../../../../src/components/Select/ui/SelectItem/variations/_view/base.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nexport const base = css``;\n"],"names":["base"],"mappings":"AAEO,IAAMA,IAAI,GAAQ;;;;"}
|
@@ -0,0 +1 @@
|
|
1
|
+
|
@@ -16,7 +16,7 @@
|
|
16
16
|
.Chip_styles_1mwwhiw_swddmyi__07da4d18{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin-left:var(--plasma-chip-right-content-margin-left);margin-right:var(--plasma-chip-right-content-margin-right);}
|
17
17
|
.Chip_styles_1mwwhiw_s1pcflhj__07da4d18{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin-left:var(--plasma-chip-clear-content-margin-left);margin-right:var(--plasma-chip-clear-content-margin-right);color:var(--plasma-chip-close-icon-color);}
|
18
18
|
|
19
|
-
.
|
19
|
+
.SelectChip_styles_1u4uw04_s1eowjbp__c23911c1{--plasma-chip-color:var(--plasma-select-chip-color);--plasma-chip-background:var(--plasma-select-chip-background);--plasma-chip-color-hover:var(--plasma-select-chip-color-hover);--plasma-chip-background-hover:var(--plasma-select-chip-background-hover);--plasma-chip-color-active:var(--plasma-select-chip-color-active);--plasma-chip-background-active:var(--plasma-select-chip-background-active);--plasma-chip-background-readonly:var(--plasma-select-chip-background-readonly);--plasma-chip-color-readonly:var(--plasma-select-chip-color-readonly);--plasma-chip-background-readonly-hover:var(--plasma-select-chip-background-readonly-hover);--plasma-chip-color-readonly-hover:var(--plasma-select-chip-color-readonly-hover);--plasma-chip-border-radius:var(--plasma-select-chip-border-radius);--plasma-chip-width:var(--plasma-select-chip-width);--plasma-chip-height:var(--plasma-select-chip-height);--plasma-chip-padding-right:var(--plasma-select-chip-padding-right);--plasma-chip-padding-left:var(--plasma-select-chip-padding-left);--plasma-chip-font-family:var(--plasma-select-chip-font-family);--plasma-chip-font-size:var(--plasma-select-chip-font-size);--plasma-chip-font-style:var(--plasma-select-chip-font-style);--plasma-chip-font-weight:var(--plasma-select-chip-font-weight);--plasma-chip-letter-spacing:var(--plasma-select-chip-letter-spacing);--plasma-chip-lineheight:var(--plasma-select-chip-line-height);--plasma-chip-clear-content-margin-left:var(--plasma-select-chip-clear-content-margin-left);--plasma-chip-clear-content-margin-right:var(--plasma-select-chip-clear-content-margin-right);--plasma-chip-scale-hover:var(--plasma-select-chip-scale-hover);--plasma-chip-scale-active:var(--plasma-select-chip-scale-active);--plasma-chip-close-icon-size:var(--plasma-select-chip-close-icon-size);--plasma-chip-close-icon-color:var(--plasma-select-chip-close-icon-color);--plasma-chip-focus-color:var(--plasma-select-focus-color);position:relative;}.SelectChip_styles_1u4uw04_s1eowjbp__c23911c1::before{content:'';position:absolute;top:0.125rem;left:0.125rem;right:0.125rem;bottom:0.125rem;z-index:1;display:block;box-sizing:content-box;border:0.0625rem solid transparent;border-radius:calc(var(--plasma-select-chip-border-radius) - 0.1rem);-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.SelectChip_styles_1u4uw04_s1eowjbp__c23911c1.SelectChip_styles_1u4uw04_focusVisible__c23911c1:focus::before,.SelectChip_styles_1u4uw04_s1eowjbp__c23911c1[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.0625rem var(--plasma-select-focus-color);}.SelectChip_styles_1u4uw04_s1eowjbp__c23911c1[readonly]{opacity:var(--plasma-select-chip-opacity-readonly);}
|
20
20
|
|
21
21
|
.IconRoot_7pl7ig_svvlqhf__32c458a1{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;width:var(--svvlqhf-0);height:var(--svvlqhf-0);-webkit-flex:0 0 var(--svvlqhf-0);-ms-flex:0 0 var(--svvlqhf-0);flex:0 0 var(--svvlqhf-0);}
|
22
22
|
|
@@ -46,15 +46,9 @@
|
|
46
46
|
.Button_styles_1oz1dew_s1rjh7ra__a16b28b2{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin:var(--plasma-button-right-content-margin);}
|
47
47
|
.Button_styles_1oz1dew_b9ga1dj__a16b28b2{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;box-sizing:border-box;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);--plasma_private-btn-br:var(--plasma_computed-btn-br);border-radius:var(--plasma_private-btn-br);}a.Button_styles_1oz1dew_b9ga1dj__a16b28b2{-webkit-text-decoration:none;text-decoration:none;}.Button_styles_1oz1dew_b9ga1dj__a16b28b2.Button_styles_1oz1dew_b9ga1dj__a16b28b2.Button_styles_1oz1dew_buttonSquare__a16b28b2{width:var(--plasma-button-height);padding:0;}
|
48
48
|
|
49
|
-
.
|
50
|
-
.
|
51
|
-
|
52
|
-
.
|
53
|
-
.
|
54
|
-
.
|
55
|
-
.Textfield_styles_hp8mkt_lp4c7y3__c4a1a37b{color:var(--text-secondary);font-family:var(--plasma-select-font-family);font-size:var(--plasma-select-font-size);font-style:var(--plasma-select-font-style);font-weight:var(--plasma-select-font-weight);-webkit-letter-spacing:var(--plasma-select-font-letter-spacing);-moz-letter-spacing:var(--plasma-select-font-letter-spacing);-ms-letter-spacing:var(--plasma-select-font-letter-spacing);letter-spacing:var(--plasma-select-font-letter-spacing);line-height:var(--plasma-select-font-line-height);}
|
56
|
-
.Textfield_styles_hp8mkt_pwy2nbe__c4a1a37b{color:var(--text-secondary);font-family:var(--plasma-select-font-family);font-size:var(--plasma-select-font-size);font-style:var(--plasma-select-font-style);font-weight:var(--plasma-select-font-weight);-webkit-letter-spacing:var(--plasma-select-font-letter-spacing);-moz-letter-spacing:var(--plasma-select-font-letter-spacing);-ms-letter-spacing:var(--plasma-select-font-letter-spacing);letter-spacing:var(--plasma-select-font-letter-spacing);line-height:var(--plasma-select-font-line-height);}
|
57
|
-
.Textfield_styles_hp8mkt_ib53o3b__c4a1a37b{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:start;-webkit-box-align:start;-ms-flex-align:start;align-items:start;row-gap:var(--plasma-select-inner-label-gap);font-family:var(--plasma-select-font-family);font-size:var(--plasma-select-font-size);font-style:var(--plasma-select-font-style);font-weight:var(--plasma-select-font-weight);-webkit-letter-spacing:var(--plasma-select-font-letter-spacing);-moz-letter-spacing:var(--plasma-select-font-letter-spacing);-ms-letter-spacing:var(--plasma-select-font-letter-spacing);letter-spacing:var(--plasma-select-font-letter-spacing);line-height:var(--plasma-select-font-line-height);}
|
58
|
-
.Textfield_styles_hp8mkt_ik0gt8g__c4a1a37b{color:var(--text-secondary);font-family:var(--plasma-typo-body-xs-font-family);font-size:var(--plasma-typo-body-xs-font-size);font-style:var(--plasma-typo-body-xs-font-style);font-weight:var(--plasma-typo-body-xs-font-weight);-webkit-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);-moz-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);-ms-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);letter-spacing:var(--plasma-typo-body-xs-letter-spacing);line-height:var(--plasma-typo-body-xs-line-height);text-align:left;}
|
59
|
-
.Textfield_styles_hp8mkt_cbv75m4__c4a1a37b{-webkit-flex:none;-ms-flex:none;flex:none;margin-left:-2px;margin-right:6px;line-height:0;}
|
60
|
-
.Textfield_styles_hp8mkt_v168vqsi__c4a1a37b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
|
49
|
+
.SelectTarget_styles_hb1tns_su9kdfl__864110c9{--plasma-button-disabled-opacity:var(--plasma-select-disabled-opacity);--plasma-button-color:var(--plasma-select-target-color);--plasma-button-background-color:var(--su9kdfl-0);--plasma-button-background-color-hover:var(--su9kdfl-1);--plasma-button-background-color-active:var(--su9kdfl-2);--plasma-button-height:var(--plasma-select-target-height);--plasma-button-width:var(--plasma-select-target-width);--plasma-button-radius:var(--plasma-select-target-radius);--plasma-button-font-family:var(--plasma-select-target-font-family);--plasma-button-font-size:var(--plasma-select-target-font-size);--plasma-button-font-style:var(--plasma-select-target-font-style);--plasma-button-font-weight:var(--plasma-select-target-font-weight);--plasma-button-letter-spacing:var(--plasma-select-target-letter-spacing);--plasma-button-line-height:var(--plasma-select-target-line-height);--plasma-button-focus-color:var(--plasma-select-focus-color);box-shadow:inset 0 0 0 0.0625rem var(--su9kdfl-3);padding:var(--su9kdfl-6);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start;}.SelectTarget_styles_hb1tns_su9kdfl__864110c9:hover:not([disabled]):not([readonly]){box-shadow:inset 0 0 0 0.0625rem var(--su9kdfl-4);}.SelectTarget_styles_hb1tns_su9kdfl__864110c9:active:not([disabled]):not([readonly]){box-shadow:inset 0 0 0 0.0625rem var(--su9kdfl-5);}.SelectTarget_styles_hb1tns_su9kdfl__864110c9[readonly]{cursor:default;}.SelectTarget_styles_hb1tns_su9kdfl__864110c9[readonly] .SelectTarget_styles_hb1tns_selectTargetArrow__864110c9{opacity:0.4;}.SelectTarget_styles_hb1tns_su9kdfl__864110c9 .SelectTarget_styles_hb1tns_arrowInverse__864110c9{-webkit-transform:rotate(-180deg);-ms-transform:rotate(-180deg);transform:rotate(-180deg);}.SelectTarget_styles_hb1tns_su9kdfl__864110c9.SelectTarget_styles_hb1tns_hasChips__864110c9{padding:var(--plasma-select-target-padding-has-chips);}.SelectTarget_styles_hb1tns_su9kdfl__864110c9.SelectTarget_styles_hb1tns_innerLabelUp__864110c9 .SelectTarget_styles_hb1tns_selectTargetText__864110c9{top:var(--plasma-select-target-inner-top);}.SelectTarget_styles_hb1tns_su9kdfl__864110c9.SelectTarget_styles_hb1tns_innerLabelUp__864110c9 .SelectTarget_styles_hb1tns_selectTargetLabel__864110c9{top:var(--plasma-select-target-label-inner-top);font-family:var(--plasma-select-target-label-inner-font-family);font-size:var(--plasma-select-target-label-inner-font-family);font-style:var(--plasma-select-target-label-inner-font-style);font-weight:var(--plasma-select-target-label-inner-font-weight);-webkit-letter-spacing:var(--plasma-select-target-label-inner-letter-spacing);-moz-letter-spacing:var(--plasma-select-target-label-inner-letter-spacing);-ms-letter-spacing:var(--plasma-select-target-label-inner-letter-spacing);letter-spacing:var(--plasma-select-target-label-inner-letter-spacing);line-height:var(--plasma-select-target-label-inner-line-height);}.SelectTarget_styles_hb1tns_su9kdfl__864110c9.SelectTarget_styles_hb1tns_hasNoFocus__864110c9{--plasma_private-combobox-focus-size:0.0625rem;position:relative;}.SelectTarget_styles_hb1tns_su9kdfl__864110c9.SelectTarget_styles_hb1tns_hasNoFocus__864110c9::before{content:'';position:absolute;top:calc(-1 * var(--plasma_private-combobox-focus-size));left:calc(-1 * var(--plasma_private-combobox-focus-size));right:calc(-1 * var(--plasma_private-combobox-focus-size));bottom:calc(-1 * var(--plasma_private-combobox-focus-size));z-index:1;display:block;box-sizing:content-box;border:var(--plasma_private-combobox-focus-size) solid transparent;border-radius:calc(var(--plasma-select-target-radius) + var(--plasma_private-combobox-focus-size));-webkit-transition:none;transition:none;pointer-events:none;}.SelectTarget_styles_hb1tns_su9kdfl__864110c9.SelectTarget_styles_hb1tns_hasNoFocus__864110c9:focus-within{box-shadow:none;background-color:var(--plasma-select-target-background-color-open);}.SelectTarget_styles_hb1tns_su9kdfl__864110c9.SelectTarget_styles_hb1tns_hasNoFocus__864110c9:focus-within::before{box-shadow:inset 0 0 0 var(--plasma_private-combobox-focus-size) var(--plasma-select-target-border-color-open);}
|
50
|
+
.SelectTarget_styles_hb1tns_s1wmzhh1__864110c9{-webkit-transition:color 0.3s ease-in,-webkit-transform 0.15s ease-in;-webkit-transition:color 0.3s ease-in,transform 0.15s ease-in;transition:color 0.3s ease-in,transform 0.15s ease-in;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:absolute;right:var(--plasma-select-target-arrow-right);color:var(--plasma-select-target-arrow-color);}
|
51
|
+
.SelectTarget_styles_hb1tns_sr2fcv2__864110c9{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;position:relative;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:var(--plasma-select-target-color);}
|
52
|
+
.SelectTarget_styles_hb1tns_s9qj25q__864110c9{border-radius:var(--plasma-select-chip-border-radius);overflow:scroll;position:relative;width:100%;height:var(--plasma-select-chip-height);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-scrollbar-width:none;-moz-scrollbar-width:none;-ms-scrollbar-width:none;scrollbar-width:none;overscroll-behavior:contain;}.SelectTarget_styles_hb1tns_s9qj25q__864110c9::-webkit-scrollbar{display:none;}
|
53
|
+
.SelectTarget_styles_hb1tns_s11wt6x2__864110c9{overflow:visible;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;gap:var(--plasma-select-chip-gap);position:absolute;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}
|
54
|
+
.SelectTarget_styles_hb1tns_s1xu52l7__864110c9{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;box-sizing:border-box;position:absolute;pointer-events:none;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-transition:all 0.1s ease-in-out;transition:all 0.1s ease-in-out;-webkit-transform-origin:top left;-ms-transform-origin:top left;transform-origin:top left;width:100%;height:auto;color:var(--plasma-select-target-label-color);font-family:var(--plasma-select-target-font-family);font-size:var(--plasma-select-target-font-size);font-style:var(--plasma-select-target-font-style);font-weight:var(--plasma-select-target-font-weight);-webkit-letter-spacing:var(--plasma-select-target-letter-spacing);-moz-letter-spacing:var(--plasma-select-target-letter-spacing);-ms-letter-spacing:var(--plasma-select-target-letter-spacing);letter-spacing:var(--plasma-select-target-letter-spacing);line-height:var(--plasma-select-target-line-height);}
|
@@ -0,0 +1,144 @@
|
|
1
|
+
import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, extends as _extends } from '../../../../_virtual/_rollupPluginBabelHelpers.js';
|
2
|
+
import React, { forwardRef, useRef, useCallback } from 'react';
|
3
|
+
import { classes } from '../../Select.tokens.js';
|
4
|
+
import { cx } from '../../../../utils/index.js';
|
5
|
+
import { SelectChip } from '../SelectChip/SelectChip.js';
|
6
|
+
import { Keys } from '../../hooks/useKeyNavigation.js';
|
7
|
+
import { StyledSelectTarget, StyledText, StyledChipsWrapper, StyledChips, StyledLabel, StyledArrow } from './SelectTarget.styles.js';
|
8
|
+
|
9
|
+
var _excluded = ["values", "target", "label", "opened", "readOnly", "disabled", "enumerationType", "size", "id", "chipsRefs", "onChange", "onKeyDown"];
|
10
|
+
var hasNoFocus = classes.hasNoFocus,
|
11
|
+
hasChips = classes.hasChips,
|
12
|
+
innerLabelUp = classes.innerLabelUp,
|
13
|
+
arrowInverse = classes.arrowInverse,
|
14
|
+
selectTarget = classes.selectTarget,
|
15
|
+
selectTargetArrow = classes.selectTargetArrow,
|
16
|
+
selectTargeText = classes.selectTargeText,
|
17
|
+
selectTargetLabel = classes.selectTargetLabel;
|
18
|
+
|
19
|
+
/**
|
20
|
+
* Элемент для выпадающего списка
|
21
|
+
*/
|
22
|
+
var SelectTarget = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
23
|
+
var values = _ref.values,
|
24
|
+
_ref$target = _ref.target,
|
25
|
+
target = _ref$target === void 0 ? 'textField-like' : _ref$target,
|
26
|
+
label = _ref.label,
|
27
|
+
opened = _ref.opened,
|
28
|
+
readOnly = _ref.readOnly,
|
29
|
+
disabled = _ref.disabled,
|
30
|
+
enumerationType = _ref.enumerationType,
|
31
|
+
size = _ref.size,
|
32
|
+
id = _ref.id,
|
33
|
+
chipsRefs = _ref.chipsRefs,
|
34
|
+
onChange = _ref.onChange,
|
35
|
+
onKeyDown = _ref.onKeyDown,
|
36
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
37
|
+
var hasText = Boolean(values === null || values === void 0 ? void 0 : values.some(function (_ref2) {
|
38
|
+
var _ref3 = _slicedToArray(_ref2, 1),
|
39
|
+
value = _ref3[0];
|
40
|
+
return value;
|
41
|
+
}));
|
42
|
+
var hasLabel = label && size !== 'xs' && target === 'textField-like';
|
43
|
+
var textContent = values === null || values === void 0 ? void 0 : values.map(function (_ref4) {
|
44
|
+
var _ref5 = _slicedToArray(_ref4, 2),
|
45
|
+
text = _ref5[1];
|
46
|
+
return text;
|
47
|
+
}).join(', ');
|
48
|
+
var contentRef = useRef(null);
|
49
|
+
var withArrowInverse = opened ? arrowInverse : undefined;
|
50
|
+
var withInnerLabelUp = hasLabel && hasText ? innerLabelUp : undefined;
|
51
|
+
var withHasChips = hasText && enumerationType === 'chip' && target === 'textField-like' ? hasChips : undefined;
|
52
|
+
var withNoFocus = target === 'textField-like' ? hasNoFocus : undefined;
|
53
|
+
var isLabelVisible = !hasText || hasLabel && enumerationType === 'comma';
|
54
|
+
var onChipClick = useCallback(function (event) {
|
55
|
+
event.stopPropagation();
|
56
|
+
}, []);
|
57
|
+
var onChipClear = useCallback(function (value, text, index) {
|
58
|
+
var newValue = values === null || values === void 0 ? void 0 : values.filter(function (_ref6) {
|
59
|
+
var _ref7 = _slicedToArray(_ref6, 2),
|
60
|
+
itemValue = _ref7[0],
|
61
|
+
itemText = _ref7[1];
|
62
|
+
return !(itemValue === value && itemText === text);
|
63
|
+
}).map(function (_ref8) {
|
64
|
+
var _ref9 = _slicedToArray(_ref8, 1),
|
65
|
+
itemValue = _ref9[0];
|
66
|
+
return itemValue;
|
67
|
+
});
|
68
|
+
chipsRefs === null || chipsRefs === void 0 || chipsRefs.current.splice(index, 1);
|
69
|
+
onChange === null || onChange === void 0 || onChange(newValue);
|
70
|
+
}, [values, onChange]);
|
71
|
+
var onChipKeyDown = useCallback(function (value, text, index, event) {
|
72
|
+
var code = event.code,
|
73
|
+
shiftKey = event.shiftKey;
|
74
|
+
if (code === Keys.Tab || code === Keys.Tab && shiftKey) {
|
75
|
+
event.preventDefault();
|
76
|
+
}
|
77
|
+
if (code === Keys.Backspace) {
|
78
|
+
onChipClear(value, text, index);
|
79
|
+
}
|
80
|
+
}, [onChipClear]);
|
81
|
+
var onWheel = useCallback(function (event) {
|
82
|
+
var deltaY = event.deltaY;
|
83
|
+
if (contentRef.current) {
|
84
|
+
contentRef.current.scrollLeft += Math.round(deltaY);
|
85
|
+
}
|
86
|
+
}, []);
|
87
|
+
var getRef = useCallback(function (element, index) {
|
88
|
+
if (element && chipsRefs && chipsRefs.current) {
|
89
|
+
chipsRefs.current[index] = element;
|
90
|
+
}
|
91
|
+
}, []);
|
92
|
+
|
93
|
+
// INFO: Нужно очищать на каждый ререндер компонента для актуализации состояния рефов
|
94
|
+
if (chipsRefs) {
|
95
|
+
chipsRefs.current = [];
|
96
|
+
}
|
97
|
+
return /*#__PURE__*/React.createElement(StyledSelectTarget, _extends({}, rest, {
|
98
|
+
ref: ref,
|
99
|
+
opened: opened,
|
100
|
+
target: target,
|
101
|
+
readOnly: readOnly,
|
102
|
+
disabled: disabled,
|
103
|
+
title: textContent,
|
104
|
+
"aria-label": label,
|
105
|
+
className: cx(withInnerLabelUp, withHasChips, withNoFocus, selectTarget),
|
106
|
+
onWheel: onWheel,
|
107
|
+
onKeyDown: onKeyDown,
|
108
|
+
stretching: "filled"
|
109
|
+
}), hasText && (enumerationType === 'comma' || target === 'button-like' ? /*#__PURE__*/React.createElement(StyledText, {
|
110
|
+
className: selectTargeText
|
111
|
+
}, textContent) : /*#__PURE__*/React.createElement(StyledChipsWrapper, {
|
112
|
+
ref: contentRef
|
113
|
+
}, /*#__PURE__*/React.createElement(StyledChips, null, values === null || values === void 0 ? void 0 : values.map(function (_ref10, index) {
|
114
|
+
var _ref11 = _slicedToArray(_ref10, 2),
|
115
|
+
value = _ref11[0],
|
116
|
+
text = _ref11[1];
|
117
|
+
return /*#__PURE__*/React.createElement(SelectChip, {
|
118
|
+
index: index,
|
119
|
+
ref: function ref(element) {
|
120
|
+
return getRef(element, index);
|
121
|
+
},
|
122
|
+
key: "".concat(value, "_").concat(text),
|
123
|
+
disabled: disabled,
|
124
|
+
readOnly: readOnly,
|
125
|
+
value: value,
|
126
|
+
text: text,
|
127
|
+
onClear: function onClear(v, t) {
|
128
|
+
return onChipClear(v, t, index);
|
129
|
+
},
|
130
|
+
onClick: onChipClick,
|
131
|
+
onKeyDown: onChipKeyDown
|
132
|
+
});
|
133
|
+
})))), isLabelVisible && /*#__PURE__*/React.createElement(StyledLabel, {
|
134
|
+
className: selectTargetLabel,
|
135
|
+
htmlFor: id
|
136
|
+
}, label), /*#__PURE__*/React.createElement(StyledArrow, {
|
137
|
+
size: "s",
|
138
|
+
color: "inherit",
|
139
|
+
className: cx(selectTargetArrow, withArrowInverse)
|
140
|
+
}));
|
141
|
+
});
|
142
|
+
|
143
|
+
export { SelectTarget };
|
144
|
+
//# sourceMappingURL=SelectTarget.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"SelectTarget.js","sources":["../../../../../src/components/Select/ui/SelectTarget/SelectTarget.tsx"],"sourcesContent":["import React, { forwardRef, useCallback, useRef } from 'react';\n\nimport { classes } from '../../Select.tokens';\nimport { cx } from '../../../../utils';\nimport { SelectChip } from '../SelectChip/SelectChip';\nimport type { SelectPrimitiveValue } from '../../Select.types';\nimport { Keys } from '../../hooks/useKeyNavigation';\n\nimport {\n StyledArrow,\n StyledChips,\n StyledChipsWrapper,\n StyledLabel,\n StyledSelectTarget,\n StyledText,\n} from './SelectTarget.styles';\nimport type { SelectTargetProps } from './SelectTarget.types';\n\nconst {\n hasNoFocus,\n hasChips,\n innerLabelUp,\n arrowInverse,\n selectTarget,\n selectTargetArrow,\n selectTargeText,\n selectTargetLabel,\n} = classes;\n\n/**\n * Элемент для выпадающего списка\n */\nexport const SelectTarget = forwardRef<HTMLButtonElement, SelectTargetProps>(\n (\n {\n values,\n target = 'textField-like',\n label,\n opened,\n readOnly,\n disabled,\n enumerationType,\n size,\n id,\n chipsRefs,\n onChange,\n onKeyDown,\n ...rest\n },\n ref,\n ) => {\n const hasText = Boolean(values?.some(([value]) => value));\n\n const hasLabel = label && size !== 'xs' && target === 'textField-like';\n const textContent = values?.map(([, text]) => text).join(', ');\n const contentRef = useRef<HTMLDivElement>(null);\n\n const withArrowInverse = opened ? arrowInverse : undefined;\n const withInnerLabelUp = hasLabel && hasText ? innerLabelUp : undefined;\n const withHasChips =\n hasText && enumerationType === 'chip' && target === 'textField-like' ? hasChips : undefined;\n\n const withNoFocus = target === 'textField-like' ? hasNoFocus : undefined;\n\n const isLabelVisible = !hasText || (hasLabel && enumerationType === 'comma');\n\n const onChipClick = useCallback((event: React.MouseEvent<HTMLButtonElement>) => {\n event.stopPropagation();\n }, []);\n\n const onChipClear = useCallback(\n (value: SelectPrimitiveValue, text: SelectPrimitiveValue, index: number) => {\n const newValue = values\n ?.filter(([itemValue, itemText]) => !(itemValue === value && itemText === text))\n .map(([itemValue]) => itemValue);\n\n chipsRefs?.current.splice(index, 1);\n onChange?.(newValue);\n },\n [values, onChange],\n );\n\n const onChipKeyDown = useCallback(\n (\n value: SelectPrimitiveValue,\n text: SelectPrimitiveValue,\n index: number,\n event: React.KeyboardEvent<HTMLButtonElement>,\n ) => {\n const { code, shiftKey } = event;\n\n if (code === Keys.Tab || (code === Keys.Tab && shiftKey)) {\n event.preventDefault();\n }\n\n if (code === Keys.Backspace) {\n onChipClear(value, text, index);\n }\n },\n [onChipClear],\n );\n\n const onWheel = useCallback((event: React.WheelEvent<HTMLButtonElement>) => {\n const { deltaY } = event;\n\n if (contentRef.current) {\n contentRef.current.scrollLeft += Math.round(deltaY);\n }\n }, []);\n\n const getRef = useCallback((element: HTMLButtonElement | null, index: number) => {\n if (element && chipsRefs && chipsRefs.current) {\n chipsRefs.current[index] = element;\n }\n }, []);\n\n // INFO: Нужно очищать на каждый ререндер компонента для актуализации состояния рефов\n if (chipsRefs) {\n chipsRefs.current = [];\n }\n\n return (\n <StyledSelectTarget\n {...rest}\n ref={ref}\n opened={opened}\n target={target}\n readOnly={readOnly}\n disabled={disabled}\n title={textContent}\n aria-label={label}\n className={cx(withInnerLabelUp, withHasChips, withNoFocus, selectTarget)}\n onWheel={onWheel}\n onKeyDown={onKeyDown}\n stretching=\"filled\"\n >\n {hasText &&\n (enumerationType === 'comma' || target === 'button-like' ? (\n <StyledText className={selectTargeText}>{textContent}</StyledText>\n ) : (\n <StyledChipsWrapper ref={contentRef}>\n <StyledChips>\n {values?.map(([value, text], index) => (\n <SelectChip\n index={index}\n ref={(element) => getRef(element, index)}\n key={`${value}_${text}`}\n disabled={disabled}\n readOnly={readOnly}\n value={value}\n text={text}\n onClear={(v, t) => onChipClear(v, t, index)}\n onClick={onChipClick}\n onKeyDown={onChipKeyDown}\n />\n ))}\n </StyledChips>\n </StyledChipsWrapper>\n ))}\n {isLabelVisible && (\n <StyledLabel className={selectTargetLabel} htmlFor={id}>\n {label}\n </StyledLabel>\n )}\n <StyledArrow size=\"s\" color=\"inherit\" className={cx(selectTargetArrow, withArrowInverse)} />\n </StyledSelectTarget>\n );\n },\n);\n"],"names":["hasNoFocus","classes","hasChips","innerLabelUp","arrowInverse","selectTarget","selectTargetArrow","selectTargeText","selectTargetLabel","SelectTarget","forwardRef","_ref","ref","values","_ref$target","target","label","opened","readOnly","disabled","enumerationType","size","id","chipsRefs","onChange","onKeyDown","rest","_objectWithoutProperties","_excluded","hasText","Boolean","some","_ref2","_ref3","_slicedToArray","value","hasLabel","textContent","map","_ref4","_ref5","text","join","contentRef","useRef","withArrowInverse","undefined","withInnerLabelUp","withHasChips","withNoFocus","isLabelVisible","onChipClick","useCallback","event","stopPropagation","onChipClear","index","newValue","filter","_ref6","_ref7","itemValue","itemText","_ref8","_ref9","current","splice","onChipKeyDown","code","shiftKey","Keys","Tab","preventDefault","Backspace","onWheel","deltaY","scrollLeft","Math","round","getRef","element","React","createElement","StyledSelectTarget","_extends","title","className","cx","stretching","StyledText","StyledChipsWrapper","StyledChips","_ref10","_ref11","SelectChip","key","concat","onClear","v","t","onClick","StyledLabel","htmlFor","StyledArrow","color"],"mappings":";;;;;;;;;AAkBA,IACIA,UAAU,GAQVC,OAAO,CARPD,UAAU;EACVE,QAAQ,GAORD,OAAO,CAPPC,QAAQ;EACRC,YAAY,GAMZF,OAAO,CANPE,YAAY;EACZC,YAAY,GAKZH,OAAO,CALPG,YAAY;EACZC,YAAY,GAIZJ,OAAO,CAJPI,YAAY;EACZC,iBAAiB,GAGjBL,OAAO,CAHPK,iBAAiB;EACjBC,eAAe,GAEfN,OAAO,CAFPM,eAAe;EACfC,iBAAiB,GACjBP,OAAO,CADPO,iBAAiB,CAAA;;AAGrB;AACA;AACA;AACO,IAAMC,YAAY,gBAAGC,UAAU,CAClC,UAAAC,IAAA,EAgBIC,GAAG,EACF;AAAA,EAAA,IAfGC,MAAM,GAAAF,IAAA,CAANE,MAAM;IAAAC,WAAA,GAAAH,IAAA,CACNI,MAAM;AAANA,IAAAA,MAAM,GAAAD,WAAA,KAAG,KAAA,CAAA,GAAA,gBAAgB,GAAAA,WAAA;IACzBE,KAAK,GAAAL,IAAA,CAALK,KAAK;IACLC,MAAM,GAAAN,IAAA,CAANM,MAAM;IACNC,QAAQ,GAAAP,IAAA,CAARO,QAAQ;IACRC,QAAQ,GAAAR,IAAA,CAARQ,QAAQ;IACRC,eAAe,GAAAT,IAAA,CAAfS,eAAe;IACfC,IAAI,GAAAV,IAAA,CAAJU,IAAI;IACJC,EAAE,GAAAX,IAAA,CAAFW,EAAE;IACFC,SAAS,GAAAZ,IAAA,CAATY,SAAS;IACTC,QAAQ,GAAAb,IAAA,CAARa,QAAQ;IACRC,SAAS,GAAAd,IAAA,CAATc,SAAS;AACNC,IAAAA,IAAI,GAAAC,wBAAA,CAAAhB,IAAA,EAAAiB,SAAA,CAAA,CAAA;AAIX,EAAA,IAAMC,OAAO,GAAGC,OAAO,CAACjB,MAAM,KAAA,IAAA,IAANA,MAAM,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAANA,MAAM,CAAEkB,IAAI,CAAC,UAAAC,KAAA,EAAA;AAAA,IAAA,IAAAC,KAAA,GAAAC,cAAA,CAAAF,KAAA,EAAA,CAAA,CAAA;AAAEG,MAAAA,KAAK,GAAAF,KAAA,CAAA,CAAA,CAAA,CAAA;AAAA,IAAA,OAAME,KAAK,CAAA;AAAA,GAAA,CAAC,CAAC,CAAA;EAEzD,IAAMC,QAAQ,GAAGpB,KAAK,IAAIK,IAAI,KAAK,IAAI,IAAIN,MAAM,KAAK,gBAAgB,CAAA;EACtE,IAAMsB,WAAW,GAAGxB,MAAM,KAANA,IAAAA,IAAAA,MAAM,KAANA,KAAAA,CAAAA,GAAAA,KAAAA,CAAAA,GAAAA,MAAM,CAAEyB,GAAG,CAAC,UAAAC,KAAA,EAAA;AAAA,IAAA,IAAAC,KAAA,GAAAN,cAAA,CAAAK,KAAA,EAAA,CAAA,CAAA;AAAIE,MAAAA,IAAI,GAAAD,KAAA,CAAA,CAAA,CAAA,CAAA;AAAA,IAAA,OAAMC,IAAI,CAAA;AAAA,GAAA,CAAC,CAACC,IAAI,CAAC,IAAI,CAAC,CAAA;AAC9D,EAAA,IAAMC,UAAU,GAAGC,MAAM,CAAiB,IAAI,CAAC,CAAA;AAE/C,EAAA,IAAMC,gBAAgB,GAAG5B,MAAM,GAAGb,YAAY,GAAG0C,SAAS,CAAA;EAC1D,IAAMC,gBAAgB,GAAGX,QAAQ,IAAIP,OAAO,GAAG1B,YAAY,GAAG2C,SAAS,CAAA;AACvE,EAAA,IAAME,YAAY,GACdnB,OAAO,IAAIT,eAAe,KAAK,MAAM,IAAIL,MAAM,KAAK,gBAAgB,GAAGb,QAAQ,GAAG4C,SAAS,CAAA;EAE/F,IAAMG,WAAW,GAAGlC,MAAM,KAAK,gBAAgB,GAAGf,UAAU,GAAG8C,SAAS,CAAA;EAExE,IAAMI,cAAc,GAAG,CAACrB,OAAO,IAAKO,QAAQ,IAAIhB,eAAe,KAAK,OAAQ,CAAA;AAE5E,EAAA,IAAM+B,WAAW,GAAGC,WAAW,CAAC,UAACC,KAA0C,EAAK;IAC5EA,KAAK,CAACC,eAAe,EAAE,CAAA;GAC1B,EAAE,EAAE,CAAC,CAAA;EAEN,IAAMC,WAAW,GAAGH,WAAW,CAC3B,UAACjB,KAA2B,EAAEM,IAA0B,EAAEe,KAAa,EAAK;IACxE,IAAMC,QAAQ,GAAG5C,MAAM,KAANA,IAAAA,IAAAA,MAAM,KAANA,KAAAA,CAAAA,GAAAA,KAAAA,CAAAA,GAAAA,MAAM,CACjB6C,MAAM,CAAC,UAAAC,KAAA,EAAA;AAAA,MAAA,IAAAC,KAAA,GAAA1B,cAAA,CAAAyB,KAAA,EAAA,CAAA,CAAA;AAAEE,QAAAA,SAAS,GAAAD,KAAA,CAAA,CAAA,CAAA;AAAEE,QAAAA,QAAQ,GAAAF,KAAA,CAAA,CAAA,CAAA,CAAA;MAAA,OAAM,EAAEC,SAAS,KAAK1B,KAAK,IAAI2B,QAAQ,KAAKrB,IAAI,CAAC,CAAA;AAAA,KAAA,CAAC,CAC/EH,GAAG,CAAC,UAAAyB,KAAA,EAAA;AAAA,MAAA,IAAAC,KAAA,GAAA9B,cAAA,CAAA6B,KAAA,EAAA,CAAA,CAAA;AAAEF,QAAAA,SAAS,GAAAG,KAAA,CAAA,CAAA,CAAA,CAAA;AAAA,MAAA,OAAMH,SAAS,CAAA;KAAC,CAAA,CAAA;AAEpCtC,IAAAA,SAAS,KAATA,IAAAA,IAAAA,SAAS,KAATA,KAAAA,CAAAA,IAAAA,SAAS,CAAE0C,OAAO,CAACC,MAAM,CAACV,KAAK,EAAE,CAAC,CAAC,CAAA;AACnChC,IAAAA,QAAQ,aAARA,QAAQ,KAAA,KAAA,CAAA,IAARA,QAAQ,CAAGiC,QAAQ,CAAC,CAAA;AACxB,GAAC,EACD,CAAC5C,MAAM,EAAEW,QAAQ,CACrB,CAAC,CAAA;AAED,EAAA,IAAM2C,aAAa,GAAGf,WAAW,CAC7B,UACIjB,KAA2B,EAC3BM,IAA0B,EAC1Be,KAAa,EACbH,KAA6C,EAC5C;AACD,IAAA,IAAQe,IAAI,GAAef,KAAK,CAAxBe,IAAI;MAAEC,QAAQ,GAAKhB,KAAK,CAAlBgB,QAAQ,CAAA;AAEtB,IAAA,IAAID,IAAI,KAAKE,IAAI,CAACC,GAAG,IAAKH,IAAI,KAAKE,IAAI,CAACC,GAAG,IAAIF,QAAS,EAAE;MACtDhB,KAAK,CAACmB,cAAc,EAAE,CAAA;AAC1B,KAAA;AAEA,IAAA,IAAIJ,IAAI,KAAKE,IAAI,CAACG,SAAS,EAAE;AACzBlB,MAAAA,WAAW,CAACpB,KAAK,EAAEM,IAAI,EAAEe,KAAK,CAAC,CAAA;AACnC,KAAA;AACJ,GAAC,EACD,CAACD,WAAW,CAChB,CAAC,CAAA;AAED,EAAA,IAAMmB,OAAO,GAAGtB,WAAW,CAAC,UAACC,KAA0C,EAAK;AACxE,IAAA,IAAQsB,MAAM,GAAKtB,KAAK,CAAhBsB,MAAM,CAAA;IAEd,IAAIhC,UAAU,CAACsB,OAAO,EAAE;MACpBtB,UAAU,CAACsB,OAAO,CAACW,UAAU,IAAIC,IAAI,CAACC,KAAK,CAACH,MAAM,CAAC,CAAA;AACvD,KAAA;GACH,EAAE,EAAE,CAAC,CAAA;EAEN,IAAMI,MAAM,GAAG3B,WAAW,CAAC,UAAC4B,OAAiC,EAAExB,KAAa,EAAK;AAC7E,IAAA,IAAIwB,OAAO,IAAIzD,SAAS,IAAIA,SAAS,CAAC0C,OAAO,EAAE;AAC3C1C,MAAAA,SAAS,CAAC0C,OAAO,CAACT,KAAK,CAAC,GAAGwB,OAAO,CAAA;AACtC,KAAA;GACH,EAAE,EAAE,CAAC,CAAA;;AAEN;AACA,EAAA,IAAIzD,SAAS,EAAE;IACXA,SAAS,CAAC0C,OAAO,GAAG,EAAE,CAAA;AAC1B,GAAA;EAEA,oBACIgB,KAAA,CAAAC,aAAA,CAACC,kBAAkB,EAAAC,QAAA,KACX1D,IAAI,EAAA;AACRd,IAAAA,GAAG,EAAEA,GAAI;AACTK,IAAAA,MAAM,EAAEA,MAAO;AACfF,IAAAA,MAAM,EAAEA,MAAO;AACfG,IAAAA,QAAQ,EAAEA,QAAS;AACnBC,IAAAA,QAAQ,EAAEA,QAAS;AACnBkE,IAAAA,KAAK,EAAEhD,WAAY;AACnB,IAAA,YAAA,EAAYrB,KAAM;IAClBsE,SAAS,EAAEC,EAAE,CAACxC,gBAAgB,EAAEC,YAAY,EAAEC,WAAW,EAAE5C,YAAY,CAAE;AACzEqE,IAAAA,OAAO,EAAEA,OAAQ;AACjBjD,IAAAA,SAAS,EAAEA,SAAU;AACrB+D,IAAAA,UAAU,EAAC,QAAA;AAAQ,GAAA,CAAA,EAElB3D,OAAO,KACHT,eAAe,KAAK,OAAO,IAAIL,MAAM,KAAK,aAAa,gBACpDkE,KAAA,CAAAC,aAAA,CAACO,UAAU,EAAA;AAACH,IAAAA,SAAS,EAAE/E,eAAAA;AAAgB,GAAA,EAAE8B,WAAwB,CAAC,gBAElE4C,KAAA,CAAAC,aAAA,CAACQ,kBAAkB,EAAA;AAAC9E,IAAAA,GAAG,EAAE+B,UAAAA;AAAW,GAAA,eAChCsC,KAAA,CAAAC,aAAA,CAACS,WAAW,QACP9E,MAAM,KAAA,IAAA,IAANA,MAAM,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAANA,MAAM,CAAEyB,GAAG,CAAC,UAAAsD,MAAA,EAAgBpC,KAAK,EAAA;AAAA,IAAA,IAAAqC,MAAA,GAAA3D,cAAA,CAAA0D,MAAA,EAAA,CAAA,CAAA;AAAnBzD,MAAAA,KAAK,GAAA0D,MAAA,CAAA,CAAA,CAAA;AAAEpD,MAAAA,IAAI,GAAAoD,MAAA,CAAA,CAAA,CAAA,CAAA;AAAA,IAAA,oBACtBZ,KAAA,CAAAC,aAAA,CAACY,UAAU,EAAA;AACPtC,MAAAA,KAAK,EAAEA,KAAM;MACb5C,GAAG,EAAE,SAAAA,GAAAA,CAACoE,OAAO,EAAA;AAAA,QAAA,OAAKD,MAAM,CAACC,OAAO,EAAExB,KAAK,CAAC,CAAA;OAAC;MACzCuC,GAAG,EAAA,EAAA,CAAAC,MAAA,CAAK7D,KAAK,OAAA6D,MAAA,CAAIvD,IAAI,CAAG;AACxBtB,MAAAA,QAAQ,EAAEA,QAAS;AACnBD,MAAAA,QAAQ,EAAEA,QAAS;AACnBiB,MAAAA,KAAK,EAAEA,KAAM;AACbM,MAAAA,IAAI,EAAEA,IAAK;AACXwD,MAAAA,OAAO,EAAE,SAAAA,OAACC,CAAAA,CAAC,EAAEC,CAAC,EAAA;AAAA,QAAA,OAAK5C,WAAW,CAAC2C,CAAC,EAAEC,CAAC,EAAE3C,KAAK,CAAC,CAAA;OAAC;AAC5C4C,MAAAA,OAAO,EAAEjD,WAAY;AACrB1B,MAAAA,SAAS,EAAE0C,aAAAA;AAAc,KAC5B,CAAC,CAAA;GACL,CACQ,CACG,CACvB,CAAC,EACLjB,cAAc,iBACX+B,KAAA,CAAAC,aAAA,CAACmB,WAAW,EAAA;AAACf,IAAAA,SAAS,EAAE9E,iBAAkB;AAAC8F,IAAAA,OAAO,EAAEhF,EAAAA;AAAG,GAAA,EAClDN,KACQ,CAChB,eACDiE,KAAA,CAAAC,aAAA,CAACqB,WAAW,EAAA;AAAClF,IAAAA,IAAI,EAAC,GAAG;AAACmF,IAAAA,KAAK,EAAC,SAAS;AAAClB,IAAAA,SAAS,EAAEC,EAAE,CAACjF,iBAAiB,EAAEuC,gBAAgB,CAAA;AAAE,GAAE,CAC3E,CAAC,CAAA;AAE7B,CACJ;;;;"}
|