@salutejs/plasma-new-hope 0.188.0-canary.1550.11777193712.0 → 0.188.0-canary.1553.11776288397.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/components/Autocomplete/Autocomplete.css +22 -21
- package/cjs/components/Chip/Chip.js +1 -3
- package/cjs/components/Chip/Chip.js.map +1 -1
- package/cjs/components/Combobox/ComboboxNew/Combobox.css +22 -21
- package/cjs/components/Combobox/ComboboxNew/Combobox.js +1 -0
- package/cjs/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
- package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -0
- package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
- package/cjs/components/Combobox/ComboboxNew/FloatingPopover.js +4 -18
- package/cjs/components/Combobox/ComboboxNew/FloatingPopover.js.map +1 -1
- package/cjs/components/Combobox/ComboboxNew/hooks/getPathMaps.js.map +1 -1
- package/cjs/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js +50 -1
- package/cjs/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js.map +1 -1
- package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +22 -21
- package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +22 -21
- package/cjs/components/DatePicker/RangeDate/RangeDate.css +22 -21
- package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +22 -21
- package/cjs/components/DatePicker/SingleDate/SingleDate.css +22 -21
- package/cjs/components/Dropdown/FloatingPopover.js.map +1 -1
- package/cjs/components/Pagination/Pagination.css +37 -86
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +37 -86
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles_1fesyfv.css +3 -0
- package/cjs/components/Range/Range.css +22 -21
- package/cjs/components/Select/Select.css +34 -83
- package/cjs/components/Select/Select.js +139 -179
- package/cjs/components/Select/Select.js.map +1 -1
- package/cjs/components/Select/Select.styles.js +50 -17
- package/cjs/components/Select/Select.styles.js.map +1 -1
- package/cjs/components/Select/Select.styles_768h42.css +5 -0
- package/cjs/components/Select/Select.tokens.js +78 -122
- package/cjs/components/Select/Select.tokens.js.map +1 -1
- package/cjs/components/Select/hooks/useKeyboardNavigation.js +72 -19
- package/cjs/components/Select/hooks/useKeyboardNavigation.js.map +1 -1
- package/cjs/components/Select/hooks/usePathMaps.js +1 -4
- package/cjs/components/Select/hooks/usePathMaps.js.map +1 -1
- package/cjs/components/Select/reducers/focusedChipIndexReducer.js +39 -0
- package/cjs/components/Select/reducers/focusedChipIndexReducer.js.map +1 -0
- package/cjs/components/Select/ui/Inner/Inner.css +34 -83
- package/cjs/components/Select/ui/Inner/Inner.js +9 -9
- package/cjs/components/Select/ui/Inner/Inner.js.map +1 -1
- package/cjs/components/Select/ui/Inner/ui/Item/Item.css +34 -83
- package/cjs/components/Select/ui/Inner/ui/Item/Item.js +12 -16
- package/cjs/components/Select/ui/Inner/ui/Item/Item.js.map +1 -1
- package/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +51 -34
- package/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js.map +1 -1
- package/cjs/components/Select/ui/Inner/ui/Item/Item.styles_8oe5oy.css +9 -0
- package/cjs/components/Select/ui/Target/Target.css +17 -58
- package/cjs/components/Select/ui/Target/Target.js +16 -34
- package/cjs/components/Select/ui/Target/Target.js.map +1 -1
- package/cjs/components/Select/ui/Target/ui/Button/Button.css +5 -5
- package/cjs/components/Select/ui/Target/ui/Button/Button.js +14 -10
- package/cjs/components/Select/ui/Target/ui/Button/Button.js.map +1 -1
- package/cjs/components/Select/ui/Target/ui/Button/Button.styles.js +1 -1
- package/cjs/components/Select/ui/Target/ui/Button/Button.styles.js.map +1 -1
- package/cjs/components/Select/ui/Target/ui/Button/Button.styles_lxxm4p.css +5 -0
- package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.css +38 -53
- package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +97 -84
- package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
- package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +107 -35
- package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
- package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles_1damf5p.css +12 -0
- package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.css +21 -0
- package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +36 -0
- package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js.map +1 -0
- package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +22 -0
- package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js.map +1 -0
- package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles_1a752pa.css +1 -0
- package/cjs/components/Select/utils/getView.js +2 -2
- package/cjs/components/Select/utils/getView.js.map +1 -1
- package/cjs/components/Select/variations/_size/base.js +9 -0
- package/cjs/components/Select/variations/_size/base.js.map +1 -0
- package/cjs/components/Select/variations/_size/base_x642ct.css +1 -0
- package/cjs/components/Select/variations/_view/base.js +9 -0
- package/cjs/components/Select/variations/_view/base.js.map +1 -0
- package/cjs/components/Select/variations/_view/base_x642ct.css +1 -0
- package/cjs/components/Slider/Slider.css +22 -21
- package/cjs/components/Slider/components/Double/Double.css +22 -21
- package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +22 -21
- package/cjs/components/TextField/TextField.js +0 -7
- package/cjs/components/TextField/TextField.js.map +1 -1
- package/cjs/components/TextField/TextField.styles.js +22 -14
- package/cjs/components/TextField/TextField.styles.js.map +1 -1
- package/{es/components/TextField/TextField.styles_j7dqpn.css → cjs/components/TextField/TextField.styles_grgg7q.css} +7 -6
- package/cjs/components/TextField/ui/Hint/Hint.css +21 -20
- package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +1 -7
- package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js.map +1 -1
- package/cjs/components/TextField/variations/_clear/base.js +1 -1
- package/cjs/components/TextField/variations/_clear/{base_1396md2.css → base_1i91sjp.css} +1 -1
- package/cjs/components/TextField/variations/_label-placement/base.js +1 -1
- package/cjs/components/TextField/variations/_label-placement/base_3domm.css +1 -0
- package/cjs/components/TextField/variations/_read-only/base.js +1 -1
- package/cjs/components/TextField/variations/_read-only/{base_1jvcf9a.css → base_17ypmu7.css} +1 -1
- package/cjs/components/TextField/variations/_size/base.js +1 -1
- package/cjs/components/TextField/variations/_size/{base_1tei47x.css → base_1xdmaqh.css} +1 -1
- package/cjs/components/TextField/variations/_view/base.js +1 -1
- package/cjs/components/TextField/variations/_view/{base_8ogww5.css → base_qhyte8.css} +1 -1
- package/cjs/index.css +61 -46
- package/emotion/cjs/components/Chip/Chip.js +1 -3
- package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.js +1 -0
- package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -0
- package/emotion/cjs/components/Combobox/ComboboxNew/FloatingPopover.js +5 -19
- package/emotion/cjs/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js +50 -1
- package/emotion/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +3 -3
- package/emotion/cjs/components/Select/Select.js +136 -177
- package/emotion/cjs/components/Select/Select.styles.js +31 -13
- package/emotion/cjs/components/Select/Select.tokens.js +60 -125
- package/emotion/cjs/components/Select/hooks/useKeyboardNavigation.js +73 -19
- package/emotion/cjs/components/Select/hooks/usePathMaps.js +1 -4
- package/emotion/cjs/components/Select/reducers/focusedChipIndexReducer.js +38 -0
- package/emotion/cjs/components/Select/reducers/index.js +11 -0
- package/emotion/cjs/components/Select/ui/Inner/Inner.js +9 -9
- package/emotion/cjs/components/Select/ui/Inner/ui/Item/Item.js +12 -15
- package/emotion/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +49 -26
- package/emotion/cjs/components/Select/ui/Target/Target.js +18 -38
- package/emotion/cjs/components/Select/ui/Target/ui/Button/Button.js +16 -13
- package/emotion/cjs/components/Select/ui/Target/ui/Button/Button.styles.js +6 -6
- package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +99 -88
- package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +75 -25
- package/emotion/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +37 -0
- package/emotion/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +22 -0
- package/emotion/cjs/components/Select/ui/Target/ui/Textfield/ui/index.js +16 -0
- package/emotion/cjs/components/Select/utils/getView.js +2 -2
- package/emotion/cjs/components/Select/utils/index.js +1 -22
- package/emotion/cjs/components/Select/variations/_size/base.js +8 -0
- package/emotion/cjs/components/Select/variations/_size/tokens.json +9 -0
- package/emotion/cjs/components/Select/variations/_view/base.js +8 -0
- package/emotion/cjs/components/Select/variations/_view/tokens.json +1 -0
- package/emotion/cjs/components/TextField/TextField.js +1 -8
- package/emotion/cjs/components/TextField/TextField.styles.js +40 -36
- package/emotion/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +1 -7
- package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +12 -12
- package/emotion/cjs/examples/plasma_b2c/components/Select/Select.config.js +20 -28
- package/emotion/cjs/examples/plasma_b2c/components/Select/Select.stories.tsx +40 -47
- package/emotion/cjs/examples/plasma_web/components/Select/Select.config.js +20 -28
- package/emotion/cjs/examples/plasma_web/components/Select/Select.stories.tsx +40 -47
- package/emotion/es/components/Chip/Chip.js +1 -3
- package/emotion/es/components/Combobox/ComboboxNew/Combobox.js +1 -0
- package/emotion/es/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -0
- package/emotion/es/components/Combobox/ComboboxNew/FloatingPopover.js +4 -18
- package/emotion/es/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js +50 -1
- package/emotion/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +3 -3
- package/emotion/es/components/Select/Select.js +141 -182
- package/emotion/es/components/Select/Select.styles.js +30 -12
- package/emotion/es/components/Select/Select.tokens.js +60 -125
- package/emotion/es/components/Select/hooks/useKeyboardNavigation.js +72 -18
- package/emotion/es/components/Select/hooks/usePathMaps.js +1 -4
- package/emotion/es/components/Select/reducers/focusedChipIndexReducer.js +32 -0
- package/emotion/es/components/Select/reducers/index.js +2 -1
- package/emotion/es/components/Select/ui/Inner/Inner.js +10 -10
- package/emotion/es/components/Select/ui/Inner/ui/Item/Item.js +15 -18
- package/emotion/es/components/Select/ui/Inner/ui/Item/Item.styles.js +48 -25
- package/emotion/es/components/Select/ui/Target/Target.js +17 -35
- package/emotion/es/components/Select/ui/Target/ui/Button/Button.js +16 -11
- package/emotion/es/components/Select/ui/Target/ui/Button/Button.styles.js +6 -6
- package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.js +99 -86
- package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +75 -25
- package/emotion/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +28 -0
- package/emotion/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +15 -0
- package/emotion/es/components/Select/ui/Target/ui/Textfield/ui/index.js +1 -0
- package/emotion/es/components/Select/utils/getView.js +2 -2
- package/emotion/es/components/Select/utils/index.js +1 -4
- package/emotion/es/components/Select/variations/_size/base.js +2 -0
- package/emotion/es/components/Select/variations/_size/tokens.json +9 -0
- package/emotion/es/components/Select/variations/_view/base.js +2 -0
- package/emotion/es/components/Select/variations/_view/tokens.json +1 -0
- package/emotion/es/components/TextField/TextField.js +1 -8
- package/emotion/es/components/TextField/TextField.styles.js +40 -36
- package/emotion/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +1 -7
- package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +12 -12
- package/emotion/es/examples/plasma_b2c/components/Select/Select.config.js +21 -29
- package/emotion/es/examples/plasma_b2c/components/Select/Select.stories.tsx +40 -47
- package/emotion/es/examples/plasma_web/components/Select/Select.config.js +21 -29
- package/emotion/es/examples/plasma_web/components/Select/Select.stories.tsx +40 -47
- package/es/components/Autocomplete/Autocomplete.css +22 -21
- package/es/components/Chip/Chip.js +1 -3
- package/es/components/Chip/Chip.js.map +1 -1
- package/es/components/Combobox/ComboboxNew/Combobox.css +22 -21
- package/es/components/Combobox/ComboboxNew/Combobox.js +1 -0
- package/es/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
- package/es/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -0
- package/es/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
- package/es/components/Combobox/ComboboxNew/FloatingPopover.js +4 -18
- package/es/components/Combobox/ComboboxNew/FloatingPopover.js.map +1 -1
- package/es/components/Combobox/ComboboxNew/hooks/getPathMaps.js.map +1 -1
- package/es/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js +50 -1
- package/es/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js.map +1 -1
- package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +22 -21
- package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +22 -21
- package/es/components/DatePicker/RangeDate/RangeDate.css +22 -21
- package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +22 -21
- package/es/components/DatePicker/SingleDate/SingleDate.css +22 -21
- package/es/components/Dropdown/FloatingPopover.js.map +1 -1
- package/es/components/Pagination/Pagination.css +37 -86
- package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +37 -86
- package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
- package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
- package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles_1fesyfv.css +3 -0
- package/es/components/Range/Range.css +22 -21
- package/es/components/Select/Select.css +34 -83
- package/es/components/Select/Select.js +142 -182
- package/es/components/Select/Select.js.map +1 -1
- package/es/components/Select/Select.styles.js +48 -18
- package/es/components/Select/Select.styles.js.map +1 -1
- package/es/components/Select/Select.styles_768h42.css +5 -0
- package/es/components/Select/Select.tokens.js +78 -123
- package/es/components/Select/Select.tokens.js.map +1 -1
- package/es/components/Select/hooks/useKeyboardNavigation.js +73 -19
- package/es/components/Select/hooks/useKeyboardNavigation.js.map +1 -1
- package/es/components/Select/hooks/usePathMaps.js +1 -4
- package/es/components/Select/hooks/usePathMaps.js.map +1 -1
- package/es/components/Select/reducers/focusedChipIndexReducer.js +35 -0
- package/es/components/Select/reducers/focusedChipIndexReducer.js.map +1 -0
- package/es/components/Select/ui/Inner/Inner.css +34 -83
- package/es/components/Select/ui/Inner/Inner.js +10 -10
- package/es/components/Select/ui/Inner/Inner.js.map +1 -1
- package/es/components/Select/ui/Inner/ui/Item/Item.css +34 -83
- package/es/components/Select/ui/Inner/ui/Item/Item.js +14 -18
- package/es/components/Select/ui/Inner/ui/Item/Item.js.map +1 -1
- package/es/components/Select/ui/Inner/ui/Item/Item.styles.js +50 -33
- package/es/components/Select/ui/Inner/ui/Item/Item.styles.js.map +1 -1
- package/es/components/Select/ui/Inner/ui/Item/Item.styles_8oe5oy.css +9 -0
- package/es/components/Select/ui/Target/Target.css +17 -58
- package/es/components/Select/ui/Target/Target.js +17 -35
- package/es/components/Select/ui/Target/Target.js.map +1 -1
- package/es/components/Select/ui/Target/ui/Button/Button.css +5 -5
- package/es/components/Select/ui/Target/ui/Button/Button.js +15 -11
- package/es/components/Select/ui/Target/ui/Button/Button.js.map +1 -1
- package/es/components/Select/ui/Target/ui/Button/Button.styles.js +1 -1
- package/es/components/Select/ui/Target/ui/Button/Button.styles.js.map +1 -1
- package/es/components/Select/ui/Target/ui/Button/Button.styles_lxxm4p.css +5 -0
- package/es/components/Select/ui/Target/ui/Textfield/Textfield.css +38 -53
- package/es/components/Select/ui/Target/ui/Textfield/Textfield.js +99 -86
- package/es/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
- package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +99 -36
- package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
- package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles_1damf5p.css +12 -0
- package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.css +21 -0
- package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +32 -0
- package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js.map +1 -0
- package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +18 -0
- package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js.map +1 -0
- package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles_1a752pa.css +1 -0
- package/es/components/Select/utils/getView.js +2 -2
- package/es/components/Select/utils/getView.js.map +1 -1
- package/es/components/Select/variations/_size/base.js +5 -0
- package/es/components/Select/variations/_size/base.js.map +1 -0
- package/es/components/Select/variations/_size/base_x642ct.css +1 -0
- package/es/components/Select/variations/_view/base.js +5 -0
- package/es/components/Select/variations/_view/base.js.map +1 -0
- package/es/components/Select/variations/_view/base_x642ct.css +1 -0
- package/es/components/Slider/Slider.css +22 -21
- package/es/components/Slider/components/Double/Double.css +22 -21
- package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +22 -21
- package/es/components/TextField/TextField.js +0 -7
- package/es/components/TextField/TextField.js.map +1 -1
- package/es/components/TextField/TextField.styles.js +22 -14
- package/es/components/TextField/TextField.styles.js.map +1 -1
- package/{cjs/components/TextField/TextField.styles_j7dqpn.css → es/components/TextField/TextField.styles_grgg7q.css} +7 -6
- package/es/components/TextField/ui/Hint/Hint.css +21 -20
- package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +1 -7
- package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js.map +1 -1
- package/es/components/TextField/variations/_clear/base.js +1 -1
- package/es/components/TextField/variations/_clear/{base_1396md2.css → base_1i91sjp.css} +1 -1
- package/es/components/TextField/variations/_label-placement/base.js +1 -1
- package/es/components/TextField/variations/_label-placement/base_3domm.css +1 -0
- package/es/components/TextField/variations/_read-only/base.js +1 -1
- package/es/components/TextField/variations/_read-only/{base_1jvcf9a.css → base_17ypmu7.css} +1 -1
- package/es/components/TextField/variations/_size/base.js +1 -1
- package/es/components/TextField/variations/_size/{base_1tei47x.css → base_1xdmaqh.css} +1 -1
- package/es/components/TextField/variations/_view/base.js +1 -1
- package/es/components/TextField/variations/_view/{base_8ogww5.css → base_qhyte8.css} +1 -1
- package/es/index.css +61 -46
- package/package.json +4 -4
- package/styled-components/cjs/components/Chip/Chip.js +1 -3
- package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.js +1 -0
- package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -0
- package/styled-components/cjs/components/Combobox/ComboboxNew/FloatingPopover.js +5 -19
- package/styled-components/cjs/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js +50 -1
- package/styled-components/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
- package/styled-components/cjs/components/Select/Select.js +136 -177
- package/styled-components/cjs/components/Select/Select.styles.js +26 -11
- package/styled-components/cjs/components/Select/Select.tokens.js +60 -125
- package/styled-components/cjs/components/Select/hooks/useKeyboardNavigation.js +73 -19
- package/styled-components/cjs/components/Select/hooks/usePathMaps.js +1 -4
- package/styled-components/cjs/components/Select/reducers/focusedChipIndexReducer.js +38 -0
- package/styled-components/cjs/components/Select/reducers/index.js +11 -0
- package/styled-components/cjs/components/Select/ui/Inner/Inner.js +9 -9
- package/styled-components/cjs/components/Select/ui/Inner/ui/Item/Item.js +12 -15
- package/styled-components/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +25 -19
- package/styled-components/cjs/components/Select/ui/Target/Target.js +18 -38
- package/styled-components/cjs/components/Select/ui/Target/ui/Button/Button.js +16 -13
- package/styled-components/cjs/components/Select/ui/Target/ui/Button/Button.styles.js +3 -3
- package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +99 -88
- package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +62 -21
- package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +37 -0
- package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +21 -0
- package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/ui/index.js +16 -0
- package/styled-components/cjs/components/Select/utils/getView.js +2 -2
- package/styled-components/cjs/components/Select/utils/index.js +1 -22
- package/styled-components/cjs/components/Select/variations/_size/base.js +8 -0
- package/styled-components/cjs/components/Select/variations/_size/tokens.json +9 -0
- package/styled-components/cjs/components/Select/variations/_view/base.js +8 -0
- package/styled-components/cjs/components/Select/variations/_view/tokens.json +1 -0
- package/styled-components/cjs/components/TextField/TextField.js +0 -7
- package/styled-components/cjs/components/TextField/TextField.styles.js +15 -12
- package/styled-components/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +1 -7
- package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.config.js +20 -28
- package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.stories.tsx +40 -47
- package/styled-components/cjs/examples/plasma_web/components/Select/Select.config.js +20 -28
- package/styled-components/cjs/examples/plasma_web/components/Select/Select.stories.tsx +40 -47
- package/styled-components/es/components/Chip/Chip.js +1 -3
- package/styled-components/es/components/Combobox/ComboboxNew/Combobox.js +1 -0
- package/styled-components/es/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -0
- package/styled-components/es/components/Combobox/ComboboxNew/FloatingPopover.js +4 -18
- package/styled-components/es/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js +50 -1
- package/styled-components/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
- package/styled-components/es/components/Select/Select.js +141 -182
- package/styled-components/es/components/Select/Select.styles.js +25 -10
- package/styled-components/es/components/Select/Select.tokens.js +60 -125
- package/styled-components/es/components/Select/hooks/useKeyboardNavigation.js +72 -18
- package/styled-components/es/components/Select/hooks/usePathMaps.js +1 -4
- package/styled-components/es/components/Select/reducers/focusedChipIndexReducer.js +32 -0
- package/styled-components/es/components/Select/reducers/index.js +2 -1
- package/styled-components/es/components/Select/ui/Inner/Inner.js +10 -10
- package/styled-components/es/components/Select/ui/Inner/ui/Item/Item.js +15 -18
- package/styled-components/es/components/Select/ui/Inner/ui/Item/Item.styles.js +24 -18
- package/styled-components/es/components/Select/ui/Target/Target.js +17 -35
- package/styled-components/es/components/Select/ui/Target/ui/Button/Button.js +16 -11
- package/styled-components/es/components/Select/ui/Target/ui/Button/Button.styles.js +3 -3
- package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.js +99 -86
- package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +62 -21
- package/styled-components/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +28 -0
- package/styled-components/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +14 -0
- package/styled-components/es/components/Select/ui/Target/ui/Textfield/ui/index.js +1 -0
- package/styled-components/es/components/Select/utils/getView.js +2 -2
- package/styled-components/es/components/Select/utils/index.js +1 -4
- package/styled-components/es/components/Select/variations/_size/base.js +2 -0
- package/styled-components/es/components/Select/variations/_size/tokens.json +9 -0
- package/styled-components/es/components/Select/variations/_view/base.js +2 -0
- package/styled-components/es/components/Select/variations/_view/tokens.json +1 -0
- package/styled-components/es/components/TextField/TextField.js +0 -7
- package/styled-components/es/components/TextField/TextField.styles.js +15 -12
- package/styled-components/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +1 -7
- package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Select/Select.config.js +21 -29
- package/styled-components/es/examples/plasma_b2c/components/Select/Select.stories.tsx +40 -47
- package/styled-components/es/examples/plasma_web/components/Select/Select.config.js +21 -29
- package/styled-components/es/examples/plasma_web/components/Select/Select.stories.tsx +40 -47
- package/types/components/Chip/Chip.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxNew/Combobox.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts +1 -0
- package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts +1 -1
- package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxNew/FloatingPopover.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.d.ts +3 -1
- package/types/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.d.ts.map +1 -1
- package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts +40 -40
- package/types/components/Select/Select.d.ts +11 -5
- package/types/components/Select/Select.d.ts.map +1 -1
- package/types/components/Select/Select.styles.d.ts +9 -0
- package/types/components/Select/Select.styles.d.ts.map +1 -1
- package/types/components/Select/Select.tokens.d.ts +58 -121
- package/types/components/Select/Select.tokens.d.ts.map +1 -1
- package/types/components/Select/Select.types.d.ts +20 -41
- package/types/components/Select/Select.types.d.ts.map +1 -1
- package/types/components/Select/hooks/useKeyboardNavigation.d.ts +11 -5
- package/types/components/Select/hooks/useKeyboardNavigation.d.ts.map +1 -1
- package/types/components/Select/hooks/usePathMaps.d.ts +1 -2
- package/types/components/Select/hooks/usePathMaps.d.ts.map +1 -1
- package/types/components/Select/index.d.ts +1 -1
- package/types/components/Select/index.d.ts.map +1 -1
- package/types/components/Select/reducers/focusedChipIndexReducer.d.ts +11 -0
- package/types/components/Select/reducers/focusedChipIndexReducer.d.ts.map +1 -0
- package/types/components/Select/reducers/index.d.ts +1 -0
- package/types/components/Select/reducers/index.d.ts.map +1 -1
- package/types/components/Select/ui/Inner/Inner.d.ts.map +1 -1
- package/types/components/Select/ui/Inner/ui/Item/Item.d.ts.map +1 -1
- package/types/components/Select/ui/Inner/ui/Item/Item.styles.d.ts +2 -32
- package/types/components/Select/ui/Inner/ui/Item/Item.styles.d.ts.map +1 -1
- package/types/components/Select/ui/Inner/ui/Item/Item.types.d.ts +0 -9
- package/types/components/Select/ui/Inner/ui/Item/Item.types.d.ts.map +1 -1
- package/types/components/Select/ui/Target/Target.d.ts +2 -14
- package/types/components/Select/ui/Target/Target.d.ts.map +1 -1
- package/types/components/Select/ui/Target/Target.types.d.ts +9 -10
- package/types/components/Select/ui/Target/Target.types.d.ts.map +1 -1
- package/types/components/Select/ui/Target/ui/Button/Button.d.ts +1 -1
- package/types/components/Select/ui/Target/ui/Button/Button.d.ts.map +1 -1
- package/types/components/Select/ui/Target/ui/Button/Button.types.d.ts +1 -1
- package/types/components/Select/ui/Target/ui/Button/Button.types.d.ts.map +1 -1
- package/types/components/Select/ui/Target/ui/Textfield/Textfield.d.ts +1 -1
- package/types/components/Select/ui/Target/ui/Textfield/Textfield.d.ts.map +1 -1
- package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts +60 -628
- package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts.map +1 -1
- package/types/components/Select/ui/Target/ui/Textfield/Textfield.types.d.ts +4 -1
- package/types/components/Select/ui/Target/ui/Textfield/Textfield.types.d.ts.map +1 -1
- package/types/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.d.ts +9 -0
- package/types/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.d.ts.map +1 -0
- package/types/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.d.ts +3 -0
- package/types/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.d.ts.map +1 -0
- package/types/components/Select/ui/Target/ui/Textfield/ui/index.d.ts +2 -0
- package/types/components/Select/ui/Target/ui/Textfield/ui/index.d.ts.map +1 -0
- package/types/components/Select/utils/getView.d.ts +1 -1
- package/types/components/Select/utils/getView.d.ts.map +1 -1
- package/types/components/Select/utils/index.d.ts +0 -3
- package/types/components/Select/utils/index.d.ts.map +1 -1
- package/types/components/Select/variations/_size/base.d.ts +2 -0
- package/types/components/Select/variations/_size/base.d.ts.map +1 -0
- package/types/components/Select/variations/_view/base.d.ts +2 -0
- package/types/components/Select/variations/_view/base.d.ts.map +1 -0
- package/types/components/TextField/TextField.d.ts.map +1 -1
- package/types/components/TextField/TextField.styles.d.ts +3 -1
- package/types/components/TextField/TextField.styles.d.ts.map +1 -1
- package/types/components/TextField/ui/TextFieldChip/TextFieldChip.d.ts +1 -3
- package/types/components/TextField/ui/TextFieldChip/TextFieldChip.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts +24 -24
- package/types/examples/plasma_b2c/components/Select/Select.config.d.ts +7 -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 +46 -53
- package/types/examples/plasma_b2c/components/Select/Select.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Combobox/Combobox.d.ts +24 -24
- package/types/examples/plasma_web/components/Select/Select.config.d.ts +7 -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 +46 -53
- package/types/examples/plasma_web/components/Select/Select.d.ts.map +1 -1
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles_10zfeps.css +0 -3
- package/cjs/components/Select/FloatingPopover.js +0 -87
- package/cjs/components/Select/FloatingPopover.js.map +0 -1
- package/cjs/components/Select/Select.styles_96j02v.css +0 -2
- package/cjs/components/Select/ui/Inner/ui/Item/Item.styles_1kgvsdc.css +0 -9
- package/cjs/components/Select/ui/Target/ui/Button/Button.styles_10g64me.css +0 -5
- package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles_xyln0f.css +0 -3
- package/cjs/components/Select/utils/getFallbackPlacements.js +0 -15
- package/cjs/components/Select/utils/getFallbackPlacements.js.map +0 -1
- package/cjs/components/Select/utils/getItemId.js +0 -10
- package/cjs/components/Select/utils/getItemId.js.map +0 -1
- package/cjs/components/Select/utils/getPlacement.js +0 -13
- package/cjs/components/Select/utils/getPlacement.js.map +0 -1
- package/cjs/components/TextField/variations/_label-placement/base_gttvto.css +0 -1
- package/emotion/cjs/components/Select/FloatingPopover.js +0 -91
- package/emotion/cjs/components/Select/utils/getFallbackPlacements.js +0 -14
- package/emotion/cjs/components/Select/utils/getItemId.js +0 -9
- package/emotion/cjs/components/Select/utils/getPlacement.js +0 -12
- package/emotion/es/components/Select/FloatingPopover.js +0 -84
- package/emotion/es/components/Select/utils/getFallbackPlacements.js +0 -8
- package/emotion/es/components/Select/utils/getItemId.js +0 -3
- package/emotion/es/components/Select/utils/getPlacement.js +0 -6
- package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles_10zfeps.css +0 -3
- package/es/components/Select/FloatingPopover.js +0 -83
- package/es/components/Select/FloatingPopover.js.map +0 -1
- package/es/components/Select/Select.styles_96j02v.css +0 -2
- package/es/components/Select/ui/Inner/ui/Item/Item.styles_1kgvsdc.css +0 -9
- package/es/components/Select/ui/Target/ui/Button/Button.styles_10g64me.css +0 -5
- package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles_xyln0f.css +0 -3
- package/es/components/Select/utils/getFallbackPlacements.js +0 -11
- package/es/components/Select/utils/getFallbackPlacements.js.map +0 -1
- package/es/components/Select/utils/getItemId.js +0 -6
- package/es/components/Select/utils/getItemId.js.map +0 -1
- package/es/components/Select/utils/getPlacement.js +0 -9
- package/es/components/Select/utils/getPlacement.js.map +0 -1
- package/es/components/TextField/variations/_label-placement/base_gttvto.css +0 -1
- package/styled-components/cjs/components/Select/FloatingPopover.js +0 -91
- package/styled-components/cjs/components/Select/utils/getFallbackPlacements.js +0 -14
- package/styled-components/cjs/components/Select/utils/getItemId.js +0 -9
- package/styled-components/cjs/components/Select/utils/getPlacement.js +0 -12
- package/styled-components/es/components/Select/FloatingPopover.js +0 -84
- package/styled-components/es/components/Select/utils/getFallbackPlacements.js +0 -8
- package/styled-components/es/components/Select/utils/getItemId.js +0 -3
- package/styled-components/es/components/Select/utils/getPlacement.js +0 -6
- package/types/components/Select/FloatingPopover.d.ts +0 -5
- package/types/components/Select/FloatingPopover.d.ts.map +0 -1
- package/types/components/Select/utils/getFallbackPlacements.d.ts +0 -4
- package/types/components/Select/utils/getFallbackPlacements.d.ts.map +0 -1
- package/types/components/Select/utils/getItemId.d.ts +0 -2
- package/types/components/Select/utils/getItemId.d.ts.map +0 -1
- package/types/components/Select/utils/getPlacement.d.ts +0 -4
- package/types/components/Select/utils/getPlacement.d.ts.map +0 -1
@@ -1,5 +1,11 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
declare const Select: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
|
3
|
+
size: {
|
4
|
+
xs: import("@linaria/core").LinariaClassName;
|
5
|
+
s: import("@linaria/core").LinariaClassName;
|
6
|
+
m: import("@linaria/core").LinariaClassName;
|
7
|
+
l: import("@linaria/core").LinariaClassName;
|
8
|
+
};
|
3
9
|
view: {
|
4
10
|
default: import("@linaria/core").LinariaClassName;
|
5
11
|
positive: import("@linaria/core").LinariaClassName;
|
@@ -12,24 +18,11 @@ declare const Select: import("react").FunctionComponent<import("../../../../engi
|
|
12
18
|
black: import("@linaria/core").LinariaClassName;
|
13
19
|
white: import("@linaria/core").LinariaClassName;
|
14
20
|
};
|
15
|
-
size: {
|
16
|
-
l: import("@linaria/core").LinariaClassName;
|
17
|
-
m: import("@linaria/core").LinariaClassName;
|
18
|
-
s: import("@linaria/core").LinariaClassName;
|
19
|
-
xs: import("@linaria/core").LinariaClassName;
|
20
|
-
};
|
21
|
-
labelPlacement: {
|
22
|
-
inner: import("@linaria/core").LinariaClassName;
|
23
|
-
outer: import("@linaria/core").LinariaClassName;
|
24
|
-
};
|
25
21
|
chipView: {
|
26
22
|
default: import("@linaria/core").LinariaClassName;
|
27
23
|
secondary: import("@linaria/core").LinariaClassName;
|
28
24
|
accent: import("@linaria/core").LinariaClassName;
|
29
25
|
};
|
30
|
-
disabled: {
|
31
|
-
true: import("@linaria/core").LinariaClassName;
|
32
|
-
};
|
33
26
|
}> & (({
|
34
27
|
target?: "textfield-like" | undefined;
|
35
28
|
view?: "default" | "warning" | "positive" | "negative" | undefined;
|
@@ -41,33 +34,33 @@ declare const Select: import("react").FunctionComponent<import("../../../../engi
|
|
41
34
|
multiselect?: false | undefined;
|
42
35
|
separator?: undefined;
|
43
36
|
} & {
|
44
|
-
value
|
37
|
+
value: any;
|
45
38
|
onChange?: ((value: any) => void) | undefined;
|
46
39
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
47
40
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
41
|
+
status?: "error" | "success" | "warning" | undefined;
|
48
42
|
placeholder?: string | undefined;
|
49
43
|
helperText?: string | undefined;
|
50
44
|
disabled?: boolean | undefined;
|
51
|
-
items?: import("
|
52
|
-
onItemSelect?: ((e: import("
|
45
|
+
items?: import("../../../../components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode[] | undefined;
|
46
|
+
onItemSelect?: ((e: import("../../../../components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode, event: import("react").SyntheticEvent<Element, Event>) => void) | undefined;
|
47
|
+
hasItems?: boolean | undefined;
|
53
48
|
children?: undefined;
|
49
|
+
isOpen?: boolean | undefined;
|
54
50
|
isTargetAmount?: boolean | undefined;
|
55
|
-
renderTarget?: ((item: import("
|
56
|
-
placement?: ("auto" | "left" | "right" | "top" | "bottom") | ("left" | "right" | "top" | "bottom")[] | undefined;
|
51
|
+
renderTarget?: ((item: import("../../../../components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode | import("../../../../components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode[]) => import("react").ReactNode) | undefined;
|
52
|
+
placement?: ("auto" | ("left" | "right" | "top" | "bottom")) | ("left" | "right" | "top" | "bottom")[] | undefined;
|
57
53
|
label?: string | undefined;
|
58
54
|
onScrollBottom?: ((e: import("react").UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
59
55
|
variant?: "normal" | "tight" | undefined;
|
60
56
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
61
57
|
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
62
|
-
renderValue?: ((item: import("
|
63
|
-
renderItem?: ((item: import("
|
58
|
+
renderValue?: ((item: import("../../../../components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode) => string) | undefined;
|
59
|
+
renderItem?: ((item: import("../../../../components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode) => import("react").ReactNode) | undefined;
|
64
60
|
closeAfterSelect?: boolean | undefined;
|
65
61
|
size?: string | undefined;
|
66
62
|
view?: string | undefined;
|
67
63
|
chipView?: string | undefined;
|
68
|
-
status?: "error" | "success" | "warning" | undefined;
|
69
|
-
hasItems?: boolean | undefined;
|
70
|
-
isOpen?: boolean | undefined;
|
71
64
|
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | ({
|
72
65
|
target?: "textfield-like" | undefined;
|
73
66
|
view?: "default" | "warning" | "positive" | "negative" | undefined;
|
@@ -79,33 +72,33 @@ declare const Select: import("react").FunctionComponent<import("../../../../engi
|
|
79
72
|
multiselect?: true | undefined;
|
80
73
|
separator?: string | undefined;
|
81
74
|
} & {
|
82
|
-
value
|
75
|
+
value: any;
|
83
76
|
onChange?: ((value: any) => void) | undefined;
|
84
77
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
85
78
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
79
|
+
status?: "error" | "success" | "warning" | undefined;
|
86
80
|
placeholder?: string | undefined;
|
87
81
|
helperText?: string | undefined;
|
88
82
|
disabled?: boolean | undefined;
|
89
|
-
items?: import("
|
90
|
-
onItemSelect?: ((e: import("
|
83
|
+
items?: import("../../../../components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode[] | undefined;
|
84
|
+
onItemSelect?: ((e: import("../../../../components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode, event: import("react").SyntheticEvent<Element, Event>) => void) | undefined;
|
85
|
+
hasItems?: boolean | undefined;
|
91
86
|
children?: undefined;
|
87
|
+
isOpen?: boolean | undefined;
|
92
88
|
isTargetAmount?: boolean | undefined;
|
93
|
-
renderTarget?: ((item: import("
|
94
|
-
placement?: ("auto" | "left" | "right" | "top" | "bottom") | ("left" | "right" | "top" | "bottom")[] | undefined;
|
89
|
+
renderTarget?: ((item: import("../../../../components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode | import("../../../../components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode[]) => import("react").ReactNode) | undefined;
|
90
|
+
placement?: ("auto" | ("left" | "right" | "top" | "bottom")) | ("left" | "right" | "top" | "bottom")[] | undefined;
|
95
91
|
label?: string | undefined;
|
96
92
|
onScrollBottom?: ((e: import("react").UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
97
93
|
variant?: "normal" | "tight" | undefined;
|
98
94
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
99
95
|
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
100
|
-
renderValue?: ((item: import("
|
101
|
-
renderItem?: ((item: import("
|
96
|
+
renderValue?: ((item: import("../../../../components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode) => string) | undefined;
|
97
|
+
renderItem?: ((item: import("../../../../components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode) => import("react").ReactNode) | undefined;
|
102
98
|
closeAfterSelect?: boolean | undefined;
|
103
99
|
size?: string | undefined;
|
104
100
|
view?: string | undefined;
|
105
101
|
chipView?: string | undefined;
|
106
|
-
status?: "error" | "success" | "warning" | undefined;
|
107
|
-
hasItems?: boolean | undefined;
|
108
|
-
isOpen?: boolean | undefined;
|
109
102
|
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | ({
|
110
103
|
target?: "button-like" | undefined;
|
111
104
|
view?: "default" | "black" | "white" | "dark" | "clear" | "accent" | "secondary" | "warning" | "positive" | "negative" | undefined;
|
@@ -117,33 +110,33 @@ declare const Select: import("react").FunctionComponent<import("../../../../engi
|
|
117
110
|
multiselect?: false | undefined;
|
118
111
|
separator?: undefined;
|
119
112
|
} & {
|
120
|
-
value
|
113
|
+
value: any;
|
121
114
|
onChange?: ((value: any) => void) | undefined;
|
122
115
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
123
116
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
117
|
+
status?: "error" | "success" | "warning" | undefined;
|
124
118
|
placeholder?: string | undefined;
|
125
119
|
helperText?: string | undefined;
|
126
120
|
disabled?: boolean | undefined;
|
127
|
-
items?: import("
|
128
|
-
onItemSelect?: ((e: import("
|
121
|
+
items?: import("../../../../components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode[] | undefined;
|
122
|
+
onItemSelect?: ((e: import("../../../../components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode, event: import("react").SyntheticEvent<Element, Event>) => void) | undefined;
|
123
|
+
hasItems?: boolean | undefined;
|
129
124
|
children?: undefined;
|
125
|
+
isOpen?: boolean | undefined;
|
130
126
|
isTargetAmount?: boolean | undefined;
|
131
|
-
renderTarget?: ((item: import("
|
132
|
-
placement?: ("auto" | "left" | "right" | "top" | "bottom") | ("left" | "right" | "top" | "bottom")[] | undefined;
|
127
|
+
renderTarget?: ((item: import("../../../../components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode | import("../../../../components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode[]) => import("react").ReactNode) | undefined;
|
128
|
+
placement?: ("auto" | ("left" | "right" | "top" | "bottom")) | ("left" | "right" | "top" | "bottom")[] | undefined;
|
133
129
|
label?: string | undefined;
|
134
130
|
onScrollBottom?: ((e: import("react").UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
135
131
|
variant?: "normal" | "tight" | undefined;
|
136
132
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
137
133
|
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
138
|
-
renderValue?: ((item: import("
|
139
|
-
renderItem?: ((item: import("
|
134
|
+
renderValue?: ((item: import("../../../../components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode) => string) | undefined;
|
135
|
+
renderItem?: ((item: import("../../../../components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode) => import("react").ReactNode) | undefined;
|
140
136
|
closeAfterSelect?: boolean | undefined;
|
141
137
|
size?: string | undefined;
|
142
138
|
view?: string | undefined;
|
143
139
|
chipView?: string | undefined;
|
144
|
-
status?: "error" | "success" | "warning" | undefined;
|
145
|
-
hasItems?: boolean | undefined;
|
146
|
-
isOpen?: boolean | undefined;
|
147
140
|
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | ({
|
148
141
|
target?: "button-like" | undefined;
|
149
142
|
view?: "default" | "black" | "white" | "dark" | "clear" | "accent" | "secondary" | "warning" | "positive" | "negative" | undefined;
|
@@ -155,33 +148,33 @@ declare const Select: import("react").FunctionComponent<import("../../../../engi
|
|
155
148
|
multiselect?: true | undefined;
|
156
149
|
separator?: string | undefined;
|
157
150
|
} & {
|
158
|
-
value
|
151
|
+
value: any;
|
159
152
|
onChange?: ((value: any) => void) | undefined;
|
160
153
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
161
154
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
155
|
+
status?: "error" | "success" | "warning" | undefined;
|
162
156
|
placeholder?: string | undefined;
|
163
157
|
helperText?: string | undefined;
|
164
158
|
disabled?: boolean | undefined;
|
165
|
-
items?: import("
|
166
|
-
onItemSelect?: ((e: import("
|
159
|
+
items?: import("../../../../components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode[] | undefined;
|
160
|
+
onItemSelect?: ((e: import("../../../../components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode, event: import("react").SyntheticEvent<Element, Event>) => void) | undefined;
|
161
|
+
hasItems?: boolean | undefined;
|
167
162
|
children?: undefined;
|
163
|
+
isOpen?: boolean | undefined;
|
168
164
|
isTargetAmount?: boolean | undefined;
|
169
|
-
renderTarget?: ((item: import("
|
170
|
-
placement?: ("auto" | "left" | "right" | "top" | "bottom") | ("left" | "right" | "top" | "bottom")[] | undefined;
|
165
|
+
renderTarget?: ((item: import("../../../../components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode | import("../../../../components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode[]) => import("react").ReactNode) | undefined;
|
166
|
+
placement?: ("auto" | ("left" | "right" | "top" | "bottom")) | ("left" | "right" | "top" | "bottom")[] | undefined;
|
171
167
|
label?: string | undefined;
|
172
168
|
onScrollBottom?: ((e: import("react").UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
173
169
|
variant?: "normal" | "tight" | undefined;
|
174
170
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
175
171
|
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
176
|
-
renderValue?: ((item: import("
|
177
|
-
renderItem?: ((item: import("
|
172
|
+
renderValue?: ((item: import("../../../../components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode) => string) | undefined;
|
173
|
+
renderItem?: ((item: import("../../../../components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode) => import("react").ReactNode) | undefined;
|
178
174
|
closeAfterSelect?: boolean | undefined;
|
179
175
|
size?: string | undefined;
|
180
176
|
view?: string | undefined;
|
181
177
|
chipView?: string | undefined;
|
182
|
-
status?: "error" | "success" | "warning" | undefined;
|
183
|
-
hasItems?: boolean | undefined;
|
184
|
-
isOpen?: boolean | undefined;
|
185
178
|
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>))>;
|
186
179
|
export { Select };
|
187
180
|
//# sourceMappingURL=Select.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Select/Select.ts"],"names":[],"mappings":";AAMA,QAAA,MAAM,MAAM
|
1
|
+
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Select/Select.ts"],"names":[],"mappings":";AAMA,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wLAA0B,CAAC;AAEvC,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
@@ -37,7 +37,7 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
37
37
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
38
38
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
39
39
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
40
|
-
portal?:
|
40
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
41
41
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
42
42
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
43
43
|
closeAfterSelect?: boolean | undefined;
|
@@ -73,7 +73,7 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
73
73
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
74
74
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
75
75
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
76
|
-
portal?:
|
76
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
77
77
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
78
78
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
79
79
|
closeAfterSelect?: boolean | undefined;
|
@@ -109,7 +109,7 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
109
109
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
110
110
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
111
111
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
112
|
-
portal?:
|
112
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
113
113
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
114
114
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
115
115
|
closeAfterSelect?: boolean | undefined;
|
@@ -145,7 +145,7 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
145
145
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
146
146
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
147
147
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
148
|
-
portal?:
|
148
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
149
149
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
150
150
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
151
151
|
closeAfterSelect?: boolean | undefined;
|
@@ -181,7 +181,7 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
181
181
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
182
182
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
183
183
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
184
|
-
portal?:
|
184
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
185
185
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
186
186
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
187
187
|
closeAfterSelect?: boolean | undefined;
|
@@ -217,7 +217,7 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
217
217
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
218
218
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
219
219
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
220
|
-
portal?:
|
220
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
221
221
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
222
222
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
223
223
|
closeAfterSelect?: boolean | undefined;
|
@@ -253,7 +253,7 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
253
253
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
254
254
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
255
255
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
256
|
-
portal?:
|
256
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
257
257
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
258
258
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
259
259
|
closeAfterSelect?: boolean | undefined;
|
@@ -289,7 +289,7 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
289
289
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
290
290
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
291
291
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
292
|
-
portal?:
|
292
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
293
293
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
294
294
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
295
295
|
closeAfterSelect?: boolean | undefined;
|
@@ -325,7 +325,7 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
325
325
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
326
326
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
327
327
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
328
|
-
portal?:
|
328
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
329
329
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
330
330
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
331
331
|
closeAfterSelect?: boolean | undefined;
|
@@ -361,7 +361,7 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
361
361
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
362
362
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
363
363
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
364
|
-
portal?:
|
364
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
365
365
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
366
366
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
367
367
|
closeAfterSelect?: boolean | undefined;
|
@@ -397,7 +397,7 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
397
397
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
398
398
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
399
399
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
400
|
-
portal?:
|
400
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
401
401
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
402
402
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
403
403
|
closeAfterSelect?: boolean | undefined;
|
@@ -433,7 +433,7 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
433
433
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
434
434
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
435
435
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
436
|
-
portal?:
|
436
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
437
437
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
438
438
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
439
439
|
closeAfterSelect?: boolean | undefined;
|
@@ -495,7 +495,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
495
495
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
496
496
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
497
497
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
498
|
-
portal?:
|
498
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
499
499
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
500
500
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
501
501
|
closeAfterSelect?: boolean | undefined;
|
@@ -531,7 +531,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
531
531
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
532
532
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
533
533
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
534
|
-
portal?:
|
534
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
535
535
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
536
536
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
537
537
|
closeAfterSelect?: boolean | undefined;
|
@@ -567,7 +567,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
567
567
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
568
568
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
569
569
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
570
|
-
portal?:
|
570
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
571
571
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
572
572
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
573
573
|
closeAfterSelect?: boolean | undefined;
|
@@ -603,7 +603,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
603
603
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
604
604
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
605
605
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
606
|
-
portal?:
|
606
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
607
607
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
608
608
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
609
609
|
closeAfterSelect?: boolean | undefined;
|
@@ -639,7 +639,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
639
639
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
640
640
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
641
641
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
642
|
-
portal?:
|
642
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
643
643
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
644
644
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
645
645
|
closeAfterSelect?: boolean | undefined;
|
@@ -675,7 +675,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
675
675
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
676
676
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
677
677
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
678
|
-
portal?:
|
678
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
679
679
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
680
680
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
681
681
|
closeAfterSelect?: boolean | undefined;
|
@@ -711,7 +711,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
711
711
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
712
712
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
713
713
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
714
|
-
portal?:
|
714
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
715
715
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
716
716
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
717
717
|
closeAfterSelect?: boolean | undefined;
|
@@ -747,7 +747,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
747
747
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
748
748
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
749
749
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
750
|
-
portal?:
|
750
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
751
751
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
752
752
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
753
753
|
closeAfterSelect?: boolean | undefined;
|
@@ -783,7 +783,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
783
783
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
784
784
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
785
785
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
786
|
-
portal?:
|
786
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
787
787
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
788
788
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
789
789
|
closeAfterSelect?: boolean | undefined;
|
@@ -819,7 +819,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
819
819
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
820
820
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
821
821
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
822
|
-
portal?:
|
822
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
823
823
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
824
824
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
825
825
|
closeAfterSelect?: boolean | undefined;
|
@@ -855,7 +855,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
855
855
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
856
856
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
857
857
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
858
|
-
portal?:
|
858
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
859
859
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
860
860
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
861
861
|
closeAfterSelect?: boolean | undefined;
|
@@ -891,7 +891,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
891
891
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
892
892
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
893
893
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
894
|
-
portal?:
|
894
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
895
895
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
896
896
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
897
897
|
closeAfterSelect?: boolean | undefined;
|
@@ -1,11 +1,16 @@
|
|
1
1
|
export declare const config: {
|
2
2
|
defaults: {
|
3
3
|
view: string;
|
4
|
-
size: string;
|
5
|
-
labelPlacement: string;
|
6
4
|
chipView: string;
|
5
|
+
size: string;
|
7
6
|
};
|
8
7
|
variations: {
|
8
|
+
size: {
|
9
|
+
xs: import("@linaria/core").LinariaClassName;
|
10
|
+
s: import("@linaria/core").LinariaClassName;
|
11
|
+
m: import("@linaria/core").LinariaClassName;
|
12
|
+
l: import("@linaria/core").LinariaClassName;
|
13
|
+
};
|
9
14
|
view: {
|
10
15
|
default: import("@linaria/core").LinariaClassName;
|
11
16
|
positive: import("@linaria/core").LinariaClassName;
|
@@ -18,24 +23,11 @@ export declare const config: {
|
|
18
23
|
black: import("@linaria/core").LinariaClassName;
|
19
24
|
white: import("@linaria/core").LinariaClassName;
|
20
25
|
};
|
21
|
-
size: {
|
22
|
-
l: import("@linaria/core").LinariaClassName;
|
23
|
-
m: import("@linaria/core").LinariaClassName;
|
24
|
-
s: import("@linaria/core").LinariaClassName;
|
25
|
-
xs: import("@linaria/core").LinariaClassName;
|
26
|
-
};
|
27
|
-
labelPlacement: {
|
28
|
-
inner: import("@linaria/core").LinariaClassName;
|
29
|
-
outer: import("@linaria/core").LinariaClassName;
|
30
|
-
};
|
31
26
|
chipView: {
|
32
27
|
default: import("@linaria/core").LinariaClassName;
|
33
28
|
secondary: import("@linaria/core").LinariaClassName;
|
34
29
|
accent: import("@linaria/core").LinariaClassName;
|
35
30
|
};
|
36
|
-
disabled: {
|
37
|
-
true: import("@linaria/core").LinariaClassName;
|
38
|
-
};
|
39
31
|
};
|
40
32
|
};
|
41
33
|
//# sourceMappingURL=Select.config.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Select.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Select/Select.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM
|
1
|
+
{"version":3,"file":"Select.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Select/Select.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4dlB,CAAC"}
|