@salutejs/plasma-new-hope 0.174.0-canary.1505.11515852860.0 → 0.174.0-canary.1511.11518967304.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/components/Combobox/ComboboxNew/Combobox.js +22 -27
- package/cjs/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
- package/cjs/components/Combobox/ComboboxNew/utils/initialItemsTransform.js +5 -9
- package/cjs/components/Combobox/ComboboxNew/utils/initialItemsTransform.js.map +1 -1
- package/cjs/components/NumberInput/NumberInput.css +54 -0
- package/cjs/components/NumberInput/NumberInput.js +188 -0
- package/cjs/components/NumberInput/NumberInput.js.map +1 -0
- package/cjs/components/NumberInput/NumberInput.styles.js +9 -0
- package/cjs/components/NumberInput/NumberInput.styles.js.map +1 -0
- package/cjs/components/NumberInput/NumberInput.styles_jeawjl.css +1 -0
- package/cjs/components/NumberInput/NumberInput.tokens.js +90 -0
- package/cjs/components/NumberInput/NumberInput.tokens.js.map +1 -0
- package/cjs/components/NumberInput/ui/ActionButton/ActionButton.js +19 -0
- package/cjs/components/NumberInput/ui/ActionButton/ActionButton.js.map +1 -0
- package/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles.js +22 -0
- package/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles.js.map +1 -0
- package/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles_x642ct.css +1 -0
- package/cjs/components/NumberInput/ui/Input/Input.css +15 -0
- package/cjs/components/NumberInput/ui/Input/Input.js +190 -0
- package/cjs/components/NumberInput/ui/Input/Input.js.map +1 -0
- package/cjs/components/NumberInput/ui/Input/Input.styles.js +96 -0
- package/cjs/components/NumberInput/ui/Input/Input.styles.js.map +1 -0
- package/cjs/components/NumberInput/ui/Input/Input.styles_jszc0c.css +8 -0
- package/cjs/components/NumberInput/utils/index.js +8 -0
- package/cjs/components/NumberInput/utils/index.js.map +1 -0
- package/cjs/components/NumberInput/variations/_background-type/base.js +9 -0
- package/cjs/components/NumberInput/variations/_background-type/base.js.map +1 -0
- package/cjs/components/NumberInput/variations/_background-type/base_1jmdljr.css +1 -0
- package/cjs/components/NumberInput/variations/_clear/base.js +9 -0
- package/cjs/components/NumberInput/variations/_clear/base.js.map +1 -0
- package/cjs/components/NumberInput/variations/_clear/base_3l8dqb.css +1 -0
- package/cjs/components/NumberInput/variations/_disabled/base.js +9 -0
- package/cjs/components/NumberInput/variations/_disabled/base.js.map +1 -0
- package/cjs/components/NumberInput/variations/_disabled/base_1sl0mh8.css +1 -0
- package/cjs/components/NumberInput/variations/_segmentation/base.js +9 -0
- package/cjs/components/NumberInput/variations/_segmentation/base.js.map +1 -0
- package/cjs/components/NumberInput/variations/_segmentation/base_nl8ve.css +1 -0
- package/cjs/components/NumberInput/variations/_shape/base.js +9 -0
- package/cjs/components/NumberInput/variations/_shape/base.js.map +1 -0
- package/cjs/components/NumberInput/variations/_shape/base_k05biw.css +1 -0
- package/cjs/components/NumberInput/variations/_size/base.js +9 -0
- package/cjs/components/NumberInput/variations/_size/base.js.map +1 -0
- package/cjs/components/NumberInput/variations/_size/base_1pju5qf.css +1 -0
- package/cjs/components/NumberInput/variations/_view/base.js +9 -0
- package/cjs/components/NumberInput/variations/_view/base.js.map +1 -0
- package/cjs/components/NumberInput/variations/_view/base_cghr9q.css +1 -0
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +2 -2
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js.map +1 -1
- package/cjs/components/Select/Select.js +25 -13
- package/cjs/components/Select/Select.js.map +1 -1
- package/cjs/components/Select/hooks/useKeyboardNavigation.js +1 -1
- package/cjs/components/Select/hooks/useKeyboardNavigation.js.map +1 -1
- package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +1 -1
- package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
- package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +1 -1
- package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
- package/cjs/components/Select/utils/getButtonLabel.js +1 -1
- package/cjs/components/Select/utils/getButtonLabel.js.map +1 -1
- package/cjs/components/Select/utils/initialItemsTransform.js +6 -9
- package/cjs/components/Select/utils/initialItemsTransform.js.map +1 -1
- package/cjs/index.css +25 -0
- package/cjs/index.js +6 -0
- package/cjs/index.js.map +1 -1
- package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.js +22 -26
- package/emotion/cjs/components/Combobox/ComboboxNew/utils/index.js +1 -8
- package/emotion/cjs/components/Combobox/ComboboxNew/utils/initialItemsTransform.js +5 -19
- package/emotion/cjs/components/NumberInput/NumberInput.js +198 -0
- package/emotion/cjs/components/NumberInput/NumberInput.styles.js +17 -0
- package/emotion/cjs/components/NumberInput/NumberInput.tokens.js +87 -0
- package/emotion/cjs/components/NumberInput/NumberInput.types.js +5 -0
- package/emotion/cjs/components/NumberInput/index.js +31 -0
- package/emotion/cjs/components/NumberInput/ui/ActionButton/ActionButton.js +18 -0
- package/emotion/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles.js +16 -0
- package/emotion/cjs/components/NumberInput/ui/ActionButton/ActionButton.types.js +5 -0
- package/emotion/cjs/components/NumberInput/ui/Input/Input.js +198 -0
- package/emotion/cjs/components/NumberInput/ui/Input/Input.styles.js +82 -0
- package/emotion/cjs/components/NumberInput/ui/Input/Input.types.js +5 -0
- package/emotion/cjs/components/NumberInput/ui/index.js +19 -0
- package/emotion/cjs/components/NumberInput/utils/index.js +7 -0
- package/emotion/cjs/components/NumberInput/variations/_background-type/base.js +10 -0
- package/emotion/cjs/components/NumberInput/variations/_background-type/tokens.json +6 -0
- package/emotion/cjs/components/NumberInput/variations/_clear/base.js +12 -0
- package/emotion/cjs/components/NumberInput/variations/_clear/tokens.json +5 -0
- package/emotion/cjs/components/NumberInput/variations/_disabled/base.js +9 -0
- package/emotion/cjs/components/NumberInput/variations/_disabled/tokens.json +4 -0
- package/emotion/cjs/components/NumberInput/variations/_segmentation/base.js +12 -0
- package/emotion/cjs/components/NumberInput/variations/_segmentation/tokens.json +1 -0
- package/emotion/cjs/components/NumberInput/variations/_shape/base.js +11 -0
- package/emotion/cjs/components/NumberInput/variations/_shape/tokens.json +1 -0
- package/emotion/cjs/components/NumberInput/variations/_size/base.js +13 -0
- package/emotion/cjs/components/NumberInput/variations/_size/tokens.json +22 -0
- package/emotion/cjs/components/NumberInput/variations/_view/base.js +13 -0
- package/emotion/cjs/components/NumberInput/variations/_view/tokens.json +14 -0
- package/emotion/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +2 -2
- package/emotion/cjs/components/Select/Select.js +25 -12
- package/emotion/cjs/components/Select/hooks/useKeyboardNavigation.js +1 -1
- package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +1 -1
- package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +13 -13
- package/emotion/cjs/components/Select/utils/getButtonLabel.js +1 -1
- package/emotion/cjs/components/Select/utils/index.js +1 -8
- package/emotion/cjs/components/Select/utils/initialItemsTransform.js +6 -19
- package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +0 -6
- package/emotion/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +48 -0
- package/emotion/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.js +11 -0
- package/emotion/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +109 -0
- package/emotion/cjs/examples/plasma_web/components/Combobox/Combobox.stories.tsx +0 -6
- package/emotion/cjs/examples/plasma_web/components/NumberInput/NumberInput.config.js +48 -0
- package/emotion/cjs/examples/plasma_web/components/NumberInput/NumberInput.js +11 -0
- package/emotion/cjs/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +109 -0
- package/emotion/cjs/index.js +11 -0
- package/emotion/es/components/Combobox/ComboboxNew/Combobox.js +23 -27
- package/emotion/es/components/Combobox/ComboboxNew/utils/index.js +1 -2
- package/emotion/es/components/Combobox/ComboboxNew/utils/initialItemsTransform.js +5 -19
- package/emotion/es/components/NumberInput/NumberInput.js +190 -0
- package/emotion/es/components/NumberInput/NumberInput.styles.js +11 -0
- package/emotion/es/components/NumberInput/NumberInput.tokens.js +81 -0
- package/emotion/es/components/NumberInput/NumberInput.types.js +1 -0
- package/emotion/es/components/NumberInput/index.js +2 -0
- package/emotion/es/components/NumberInput/ui/ActionButton/ActionButton.js +11 -0
- package/emotion/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js +9 -0
- package/emotion/es/components/NumberInput/ui/ActionButton/ActionButton.types.js +1 -0
- package/emotion/es/components/NumberInput/ui/Input/Input.js +189 -0
- package/emotion/es/components/NumberInput/ui/Input/Input.styles.js +75 -0
- package/emotion/es/components/NumberInput/ui/Input/Input.types.js +1 -0
- package/emotion/es/components/NumberInput/ui/index.js +2 -0
- package/emotion/es/components/NumberInput/utils/index.js +1 -0
- package/emotion/es/components/NumberInput/variations/_background-type/base.js +4 -0
- package/emotion/es/components/NumberInput/variations/_background-type/tokens.json +6 -0
- package/emotion/es/components/NumberInput/variations/_clear/base.js +6 -0
- package/emotion/es/components/NumberInput/variations/_clear/tokens.json +5 -0
- package/emotion/es/components/NumberInput/variations/_disabled/base.js +3 -0
- package/emotion/es/components/NumberInput/variations/_disabled/tokens.json +4 -0
- package/emotion/es/components/NumberInput/variations/_segmentation/base.js +6 -0
- package/emotion/es/components/NumberInput/variations/_segmentation/tokens.json +1 -0
- package/emotion/es/components/NumberInput/variations/_shape/base.js +5 -0
- package/emotion/es/components/NumberInput/variations/_shape/tokens.json +1 -0
- package/emotion/es/components/NumberInput/variations/_size/base.js +7 -0
- package/emotion/es/components/NumberInput/variations/_size/tokens.json +22 -0
- package/emotion/es/components/NumberInput/variations/_view/base.js +7 -0
- package/emotion/es/components/NumberInput/variations/_view/tokens.json +14 -0
- package/emotion/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +2 -2
- package/emotion/es/components/Select/Select.js +26 -13
- package/emotion/es/components/Select/hooks/useKeyboardNavigation.js +1 -1
- package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.js +1 -1
- package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +13 -13
- package/emotion/es/components/Select/utils/getButtonLabel.js +1 -1
- package/emotion/es/components/Select/utils/index.js +1 -2
- package/emotion/es/components/Select/utils/initialItemsTransform.js +6 -19
- package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +0 -6
- package/emotion/es/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +42 -0
- package/emotion/es/examples/plasma_b2c/components/NumberInput/NumberInput.js +5 -0
- package/emotion/es/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +109 -0
- package/emotion/es/examples/plasma_web/components/Combobox/Combobox.stories.tsx +0 -6
- package/emotion/es/examples/plasma_web/components/NumberInput/NumberInput.config.js +42 -0
- package/emotion/es/examples/plasma_web/components/NumberInput/NumberInput.js +5 -0
- package/emotion/es/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +109 -0
- package/emotion/es/index.js +2 -1
- package/es/components/Combobox/ComboboxNew/Combobox.js +22 -27
- package/es/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
- package/es/components/Combobox/ComboboxNew/utils/initialItemsTransform.js +5 -9
- package/es/components/Combobox/ComboboxNew/utils/initialItemsTransform.js.map +1 -1
- package/es/components/NumberInput/NumberInput.css +54 -0
- package/es/components/NumberInput/NumberInput.js +183 -0
- package/es/components/NumberInput/NumberInput.js.map +1 -0
- package/es/components/NumberInput/NumberInput.styles.js +5 -0
- package/es/components/NumberInput/NumberInput.styles.js.map +1 -0
- package/es/components/NumberInput/NumberInput.styles_jeawjl.css +1 -0
- package/es/components/NumberInput/NumberInput.tokens.js +84 -0
- package/es/components/NumberInput/NumberInput.tokens.js.map +1 -0
- package/es/components/NumberInput/ui/ActionButton/ActionButton.js +15 -0
- package/es/components/NumberInput/ui/ActionButton/ActionButton.js.map +1 -0
- package/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js +18 -0
- package/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js.map +1 -0
- package/es/components/NumberInput/ui/ActionButton/ActionButton.styles_x642ct.css +1 -0
- package/es/components/NumberInput/ui/Input/Input.css +15 -0
- package/es/components/NumberInput/ui/Input/Input.js +186 -0
- package/es/components/NumberInput/ui/Input/Input.js.map +1 -0
- package/es/components/NumberInput/ui/Input/Input.styles.js +85 -0
- package/es/components/NumberInput/ui/Input/Input.styles.js.map +1 -0
- package/es/components/NumberInput/ui/Input/Input.styles_jszc0c.css +8 -0
- package/es/components/NumberInput/utils/index.js +4 -0
- package/es/components/NumberInput/utils/index.js.map +1 -0
- package/es/components/NumberInput/variations/_background-type/base.js +5 -0
- package/es/components/NumberInput/variations/_background-type/base.js.map +1 -0
- package/es/components/NumberInput/variations/_background-type/base_1jmdljr.css +1 -0
- package/es/components/NumberInput/variations/_clear/base.js +5 -0
- package/es/components/NumberInput/variations/_clear/base.js.map +1 -0
- package/es/components/NumberInput/variations/_clear/base_3l8dqb.css +1 -0
- package/es/components/NumberInput/variations/_disabled/base.js +5 -0
- package/es/components/NumberInput/variations/_disabled/base.js.map +1 -0
- package/es/components/NumberInput/variations/_disabled/base_1sl0mh8.css +1 -0
- package/es/components/NumberInput/variations/_segmentation/base.js +5 -0
- package/es/components/NumberInput/variations/_segmentation/base.js.map +1 -0
- package/es/components/NumberInput/variations/_segmentation/base_nl8ve.css +1 -0
- package/es/components/NumberInput/variations/_shape/base.js +5 -0
- package/es/components/NumberInput/variations/_shape/base.js.map +1 -0
- package/es/components/NumberInput/variations/_shape/base_k05biw.css +1 -0
- package/es/components/NumberInput/variations/_size/base.js +5 -0
- package/es/components/NumberInput/variations/_size/base.js.map +1 -0
- package/es/components/NumberInput/variations/_size/base_1pju5qf.css +1 -0
- package/es/components/NumberInput/variations/_view/base.js +5 -0
- package/es/components/NumberInput/variations/_view/base.js.map +1 -0
- package/es/components/NumberInput/variations/_view/base_cghr9q.css +1 -0
- package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +2 -2
- package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js.map +1 -1
- package/es/components/Select/Select.js +26 -14
- package/es/components/Select/Select.js.map +1 -1
- package/es/components/Select/hooks/useKeyboardNavigation.js +1 -1
- package/es/components/Select/hooks/useKeyboardNavigation.js.map +1 -1
- package/es/components/Select/ui/Target/ui/Textfield/Textfield.js +1 -1
- package/es/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
- package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +1 -1
- package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
- package/es/components/Select/utils/getButtonLabel.js +1 -1
- package/es/components/Select/utils/getButtonLabel.js.map +1 -1
- package/es/components/Select/utils/initialItemsTransform.js +6 -9
- package/es/components/Select/utils/initialItemsTransform.js.map +1 -1
- package/es/index.css +25 -0
- package/es/index.js +2 -0
- package/es/index.js.map +1 -1
- package/package.json +2 -2
- package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.js +22 -26
- package/styled-components/cjs/components/Combobox/ComboboxNew/utils/index.js +1 -8
- package/styled-components/cjs/components/Combobox/ComboboxNew/utils/initialItemsTransform.js +5 -19
- package/styled-components/cjs/components/NumberInput/NumberInput.js +198 -0
- package/styled-components/cjs/components/NumberInput/NumberInput.styles.js +8 -0
- package/styled-components/cjs/components/NumberInput/NumberInput.tokens.js +87 -0
- package/styled-components/cjs/components/NumberInput/NumberInput.types.js +5 -0
- package/styled-components/cjs/components/NumberInput/index.js +31 -0
- package/styled-components/cjs/components/NumberInput/ui/ActionButton/ActionButton.js +18 -0
- package/styled-components/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles.js +15 -0
- package/styled-components/cjs/components/NumberInput/ui/ActionButton/ActionButton.types.js +5 -0
- package/styled-components/cjs/components/NumberInput/ui/Input/Input.js +198 -0
- package/styled-components/cjs/components/NumberInput/ui/Input/Input.styles.js +49 -0
- package/styled-components/cjs/components/NumberInput/ui/Input/Input.types.js +5 -0
- package/styled-components/cjs/components/NumberInput/ui/index.js +19 -0
- package/styled-components/cjs/components/NumberInput/utils/index.js +7 -0
- package/styled-components/cjs/components/NumberInput/variations/_background-type/base.js +10 -0
- package/styled-components/cjs/components/NumberInput/variations/_background-type/tokens.json +6 -0
- package/styled-components/cjs/components/NumberInput/variations/_clear/base.js +12 -0
- package/styled-components/cjs/components/NumberInput/variations/_clear/tokens.json +5 -0
- package/styled-components/cjs/components/NumberInput/variations/_disabled/base.js +9 -0
- package/styled-components/cjs/components/NumberInput/variations/_disabled/tokens.json +4 -0
- package/styled-components/cjs/components/NumberInput/variations/_segmentation/base.js +12 -0
- package/styled-components/cjs/components/NumberInput/variations/_segmentation/tokens.json +1 -0
- package/styled-components/cjs/components/NumberInput/variations/_shape/base.js +11 -0
- package/styled-components/cjs/components/NumberInput/variations/_shape/tokens.json +1 -0
- package/styled-components/cjs/components/NumberInput/variations/_size/base.js +13 -0
- package/styled-components/cjs/components/NumberInput/variations/_size/tokens.json +22 -0
- package/styled-components/cjs/components/NumberInput/variations/_view/base.js +13 -0
- package/styled-components/cjs/components/NumberInput/variations/_view/tokens.json +14 -0
- package/styled-components/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +2 -2
- package/styled-components/cjs/components/Select/Select.js +25 -12
- package/styled-components/cjs/components/Select/hooks/useKeyboardNavigation.js +1 -1
- package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +1 -1
- package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +1 -1
- package/styled-components/cjs/components/Select/utils/getButtonLabel.js +1 -1
- package/styled-components/cjs/components/Select/utils/index.js +1 -8
- package/styled-components/cjs/components/Select/utils/initialItemsTransform.js +6 -19
- package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +0 -6
- package/styled-components/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +48 -0
- package/styled-components/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.js +11 -0
- package/styled-components/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +109 -0
- package/styled-components/cjs/examples/plasma_web/components/Combobox/Combobox.stories.tsx +0 -6
- package/styled-components/cjs/examples/plasma_web/components/NumberInput/NumberInput.config.js +48 -0
- package/styled-components/cjs/examples/plasma_web/components/NumberInput/NumberInput.js +11 -0
- package/styled-components/cjs/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +109 -0
- package/styled-components/cjs/index.js +11 -0
- package/styled-components/es/components/Combobox/ComboboxNew/Combobox.js +23 -27
- package/styled-components/es/components/Combobox/ComboboxNew/utils/index.js +1 -2
- package/styled-components/es/components/Combobox/ComboboxNew/utils/initialItemsTransform.js +5 -19
- package/styled-components/es/components/NumberInput/NumberInput.js +190 -0
- package/styled-components/es/components/NumberInput/NumberInput.styles.js +2 -0
- package/styled-components/es/components/NumberInput/NumberInput.tokens.js +81 -0
- package/styled-components/es/components/NumberInput/NumberInput.types.js +1 -0
- package/styled-components/es/components/NumberInput/index.js +2 -0
- package/styled-components/es/components/NumberInput/ui/ActionButton/ActionButton.js +11 -0
- package/styled-components/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js +8 -0
- package/styled-components/es/components/NumberInput/ui/ActionButton/ActionButton.types.js +1 -0
- package/styled-components/es/components/NumberInput/ui/Input/Input.js +189 -0
- package/styled-components/es/components/NumberInput/ui/Input/Input.styles.js +42 -0
- package/styled-components/es/components/NumberInput/ui/Input/Input.types.js +1 -0
- package/styled-components/es/components/NumberInput/ui/index.js +2 -0
- package/styled-components/es/components/NumberInput/utils/index.js +1 -0
- package/styled-components/es/components/NumberInput/variations/_background-type/base.js +4 -0
- package/styled-components/es/components/NumberInput/variations/_background-type/tokens.json +6 -0
- package/styled-components/es/components/NumberInput/variations/_clear/base.js +6 -0
- package/styled-components/es/components/NumberInput/variations/_clear/tokens.json +5 -0
- package/styled-components/es/components/NumberInput/variations/_disabled/base.js +3 -0
- package/styled-components/es/components/NumberInput/variations/_disabled/tokens.json +4 -0
- package/styled-components/es/components/NumberInput/variations/_segmentation/base.js +6 -0
- package/styled-components/es/components/NumberInput/variations/_segmentation/tokens.json +1 -0
- package/styled-components/es/components/NumberInput/variations/_shape/base.js +5 -0
- package/styled-components/es/components/NumberInput/variations/_shape/tokens.json +1 -0
- package/styled-components/es/components/NumberInput/variations/_size/base.js +7 -0
- package/styled-components/es/components/NumberInput/variations/_size/tokens.json +22 -0
- package/styled-components/es/components/NumberInput/variations/_view/base.js +7 -0
- package/styled-components/es/components/NumberInput/variations/_view/tokens.json +14 -0
- package/styled-components/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +2 -2
- package/styled-components/es/components/Select/Select.js +26 -13
- package/styled-components/es/components/Select/hooks/useKeyboardNavigation.js +1 -1
- package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.js +1 -1
- package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +1 -1
- package/styled-components/es/components/Select/utils/getButtonLabel.js +1 -1
- package/styled-components/es/components/Select/utils/index.js +1 -2
- package/styled-components/es/components/Select/utils/initialItemsTransform.js +6 -19
- package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +0 -6
- package/styled-components/es/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +42 -0
- package/styled-components/es/examples/plasma_b2c/components/NumberInput/NumberInput.js +5 -0
- package/styled-components/es/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +109 -0
- package/styled-components/es/examples/plasma_web/components/Combobox/Combobox.stories.tsx +0 -6
- package/styled-components/es/examples/plasma_web/components/NumberInput/NumberInput.config.js +42 -0
- package/styled-components/es/examples/plasma_web/components/NumberInput/NumberInput.js +5 -0
- package/styled-components/es/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +109 -0
- package/styled-components/es/index.js +2 -1
- package/types/components/Combobox/ComboboxNew/Combobox.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts +3 -14
- package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxNew/utils/index.d.ts +0 -1
- package/types/components/Combobox/ComboboxNew/utils/index.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxNew/utils/initialItemsTransform.d.ts.map +1 -1
- package/types/components/NumberInput/NumberInput.d.ts +42 -0
- package/types/components/NumberInput/NumberInput.d.ts.map +1 -0
- package/types/components/NumberInput/NumberInput.styles.d.ts +2 -0
- package/types/components/NumberInput/NumberInput.styles.d.ts.map +1 -0
- package/types/components/NumberInput/NumberInput.tokens.d.ts +76 -0
- package/types/components/NumberInput/NumberInput.tokens.d.ts.map +1 -0
- package/types/components/NumberInput/NumberInput.types.d.ts +112 -0
- package/types/components/NumberInput/NumberInput.types.d.ts.map +1 -0
- package/types/components/NumberInput/index.d.ts +3 -0
- package/types/components/NumberInput/index.d.ts.map +1 -0
- package/types/components/NumberInput/ui/ActionButton/ActionButton.d.ts +4 -0
- package/types/components/NumberInput/ui/ActionButton/ActionButton.d.ts.map +1 -0
- package/types/components/NumberInput/ui/ActionButton/ActionButton.styles.d.ts +45 -0
- package/types/components/NumberInput/ui/ActionButton/ActionButton.styles.d.ts.map +1 -0
- package/types/components/NumberInput/ui/ActionButton/ActionButton.types.d.ts +7 -0
- package/types/components/NumberInput/ui/ActionButton/ActionButton.types.d.ts.map +1 -0
- package/types/components/NumberInput/ui/Input/Input.d.ts +16 -0
- package/types/components/NumberInput/ui/Input/Input.d.ts.map +1 -0
- package/types/components/NumberInput/ui/Input/Input.styles.d.ts +30 -0
- package/types/components/NumberInput/ui/Input/Input.styles.d.ts.map +1 -0
- package/types/components/NumberInput/ui/Input/Input.types.d.ts +16 -0
- package/types/components/NumberInput/ui/Input/Input.types.d.ts.map +1 -0
- package/types/components/NumberInput/ui/index.d.ts +3 -0
- package/types/components/NumberInput/ui/index.d.ts.map +1 -0
- package/types/components/NumberInput/utils/index.d.ts +2 -0
- package/types/components/NumberInput/utils/index.d.ts.map +1 -0
- package/types/components/NumberInput/variations/_background-type/base.d.ts +2 -0
- package/types/components/NumberInput/variations/_background-type/base.d.ts.map +1 -0
- package/types/components/NumberInput/variations/_clear/base.d.ts +2 -0
- package/types/components/NumberInput/variations/_clear/base.d.ts.map +1 -0
- package/types/components/NumberInput/variations/_disabled/base.d.ts +2 -0
- package/types/components/NumberInput/variations/_disabled/base.d.ts.map +1 -0
- package/types/components/NumberInput/variations/_segmentation/base.d.ts +2 -0
- package/types/components/NumberInput/variations/_segmentation/base.d.ts.map +1 -0
- package/types/components/NumberInput/variations/_shape/base.d.ts +2 -0
- package/types/components/NumberInput/variations/_shape/base.d.ts.map +1 -0
- package/types/components/NumberInput/variations/_size/base.d.ts +2 -0
- package/types/components/NumberInput/variations/_size/base.d.ts.map +1 -0
- package/types/components/NumberInput/variations/_view/base.d.ts +2 -0
- package/types/components/NumberInput/variations/_view/base.d.ts.map +1 -0
- package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts +8 -8
- package/types/components/Select/Select.d.ts +2 -2
- package/types/components/Select/Select.d.ts.map +1 -1
- package/types/components/Select/Select.types.d.ts +1 -2
- package/types/components/Select/Select.types.d.ts.map +1 -1
- package/types/components/Select/hooks/useKeyboardNavigation.d.ts +2 -2
- package/types/components/Select/hooks/useKeyboardNavigation.d.ts.map +1 -1
- package/types/components/Select/ui/Target/Target.types.d.ts +2 -2
- package/types/components/Select/ui/Target/Target.types.d.ts.map +1 -1
- package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts +4 -4
- package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts.map +1 -1
- package/types/components/Select/utils/index.d.ts +0 -1
- package/types/components/Select/utils/index.d.ts.map +1 -1
- package/types/components/Select/utils/initialItemsTransform.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts +6 -30
- package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/NumberInput/NumberInput.config.d.ts +41 -0
- package/types/examples/plasma_b2c/components/NumberInput/NumberInput.config.d.ts.map +1 -0
- package/types/examples/plasma_b2c/components/NumberInput/NumberInput.d.ts +84 -0
- package/types/examples/plasma_b2c/components/NumberInput/NumberInput.d.ts.map +1 -0
- package/types/examples/plasma_b2c/components/Select/Select.d.ts +8 -8
- package/types/examples/plasma_web/components/Combobox/Combobox.d.ts +6 -30
- package/types/examples/plasma_web/components/Combobox/Combobox.d.ts.map +1 -1
- package/types/examples/plasma_web/components/NumberInput/NumberInput.config.d.ts +41 -0
- package/types/examples/plasma_web/components/NumberInput/NumberInput.config.d.ts.map +1 -0
- package/types/examples/plasma_web/components/NumberInput/NumberInput.d.ts +84 -0
- package/types/examples/plasma_web/components/NumberInput/NumberInput.d.ts.map +1 -0
- package/types/examples/plasma_web/components/Select/Select.d.ts +8 -8
- package/types/index.d.ts +1 -0
- package/types/index.d.ts.map +1 -1
- package/cjs/components/Combobox/ComboboxNew/utils/getInitialValue.js +0 -21
- package/cjs/components/Combobox/ComboboxNew/utils/getInitialValue.js.map +0 -1
- package/cjs/components/Select/utils/getInitialValue.js +0 -21
- package/cjs/components/Select/utils/getInitialValue.js.map +0 -1
- package/emotion/cjs/components/Combobox/ComboboxNew/utils/getInitialValue.js +0 -20
- package/emotion/cjs/components/Select/utils/getInitialValue.js +0 -20
- package/emotion/es/components/Combobox/ComboboxNew/utils/getInitialValue.js +0 -14
- package/emotion/es/components/Select/utils/getInitialValue.js +0 -14
- package/es/components/Combobox/ComboboxNew/utils/getInitialValue.js +0 -17
- package/es/components/Combobox/ComboboxNew/utils/getInitialValue.js.map +0 -1
- package/es/components/Select/utils/getInitialValue.js +0 -17
- package/es/components/Select/utils/getInitialValue.js.map +0 -1
- package/styled-components/cjs/components/Combobox/ComboboxNew/utils/getInitialValue.js +0 -20
- package/styled-components/cjs/components/Select/utils/getInitialValue.js +0 -20
- package/styled-components/es/components/Combobox/ComboboxNew/utils/getInitialValue.js +0 -14
- package/styled-components/es/components/Select/utils/getInitialValue.js +0 -14
- package/types/components/Combobox/ComboboxNew/utils/getInitialValue.d.ts +0 -4
- package/types/components/Combobox/ComboboxNew/utils/getInitialValue.d.ts.map +0 -1
- package/types/components/Select/utils/getInitialValue.d.ts +0 -4
- package/types/components/Select/utils/getInitialValue.d.ts.map +0 -1
@@ -0,0 +1,76 @@
|
|
1
|
+
export declare const classes: {
|
2
|
+
actionButtonDecrement: string;
|
3
|
+
actionButtonDecrementDisabled: string;
|
4
|
+
actionButtonIncrement: string;
|
5
|
+
actionButtonIncrementDisabled: string;
|
6
|
+
textBefore: string;
|
7
|
+
textAfter: string;
|
8
|
+
solidView: string;
|
9
|
+
segmentedView: string;
|
10
|
+
clearView: string;
|
11
|
+
errorAnimation: string;
|
12
|
+
disabled: string;
|
13
|
+
};
|
14
|
+
export declare const privateTokens: {
|
15
|
+
inputWidth: string;
|
16
|
+
segmentationBorderRadius: string;
|
17
|
+
};
|
18
|
+
export declare const tokens: {
|
19
|
+
rootMinWidth: string;
|
20
|
+
disabledOpacity: string;
|
21
|
+
iconButtonColor: string;
|
22
|
+
iconButtonBackgroundColor: string;
|
23
|
+
iconButtonColorHover: string;
|
24
|
+
iconButtonBackgroundColorHover: string;
|
25
|
+
iconButtonColorActive: string;
|
26
|
+
iconButtonBackgroundColorActive: string;
|
27
|
+
iconButtonColorClear: string;
|
28
|
+
actionButtonDisabledOpacity: string;
|
29
|
+
iconButtonHeight: string;
|
30
|
+
iconButtonWidth: string;
|
31
|
+
iconButtonPadding: string;
|
32
|
+
iconButtonRadius: string;
|
33
|
+
iconButtonSegmentationRadius: string;
|
34
|
+
iconButtonFontFamily: string;
|
35
|
+
iconButtonFontSize: string;
|
36
|
+
iconButtonFontStyle: string;
|
37
|
+
iconButtonFontWeight: string;
|
38
|
+
iconButtonLetterSpacing: string;
|
39
|
+
iconButtonLineHeight: string;
|
40
|
+
inputWrapperBorderWidth: string;
|
41
|
+
inputWrapperMargin: string;
|
42
|
+
inputWrapperBorderRadius: string;
|
43
|
+
textWrapperHeight: string;
|
44
|
+
textWrapperPadding: string;
|
45
|
+
fontFamily: string;
|
46
|
+
fontStyle: string;
|
47
|
+
fontSize: string;
|
48
|
+
fontWeight: string;
|
49
|
+
letterSpacing: string;
|
50
|
+
lineHeight: string;
|
51
|
+
textBeforeMarginRight: string;
|
52
|
+
textAfterMarginLeft: string;
|
53
|
+
caretColor: string;
|
54
|
+
caretColorSolid: string;
|
55
|
+
color: string;
|
56
|
+
colorSolid: string;
|
57
|
+
colorClear: string;
|
58
|
+
backgroundColor: string;
|
59
|
+
backgroundColorHover: string;
|
60
|
+
backgroundColorFocus: string;
|
61
|
+
backgroundColorSolidFocus: string;
|
62
|
+
backgroundColorSolid: string;
|
63
|
+
borderColor: string;
|
64
|
+
borderColorHover: string;
|
65
|
+
borderColorFocus: string;
|
66
|
+
borderColorSolidFocus: string;
|
67
|
+
borderColorSolid: string;
|
68
|
+
additionalTextColor: string;
|
69
|
+
additionalTextColorSolid: string;
|
70
|
+
additionalTextColorClear: string;
|
71
|
+
errorColor: string;
|
72
|
+
loaderSpinnerSize: string;
|
73
|
+
loaderSpinnerColor: string;
|
74
|
+
loaderSpinnerColorSolid: string;
|
75
|
+
};
|
76
|
+
//# sourceMappingURL=NumberInput.tokens.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"NumberInput.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/NumberInput/NumberInput.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;;CAYnB,CAAC;AAEF,eAAO,MAAM,aAAa;;;CAGzB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyElB,CAAC"}
|
@@ -0,0 +1,112 @@
|
|
1
|
+
import type { SyntheticEvent, InputHTMLAttributes, ReactNode, HTMLAttributes } from 'react';
|
2
|
+
declare type SegemetationProps = {
|
3
|
+
/**
|
4
|
+
* Форма границ компонента.
|
5
|
+
*/
|
6
|
+
segmentation?: 'clear';
|
7
|
+
/**
|
8
|
+
* Фон поля ввода.
|
9
|
+
*/
|
10
|
+
inputBackgroundType?: never;
|
11
|
+
} | {
|
12
|
+
segmentation?: string;
|
13
|
+
inputBackgroundType?: string;
|
14
|
+
};
|
15
|
+
export declare type NumberInputProps = {
|
16
|
+
/**
|
17
|
+
* Числовое значение.
|
18
|
+
*/
|
19
|
+
value?: number;
|
20
|
+
/**
|
21
|
+
* Минимальное значение.
|
22
|
+
*/
|
23
|
+
min?: number;
|
24
|
+
/**
|
25
|
+
* Максимальное значение.
|
26
|
+
*/
|
27
|
+
max?: number;
|
28
|
+
/**
|
29
|
+
* Шаг изменения значения.
|
30
|
+
* @default 1
|
31
|
+
*/
|
32
|
+
step?: number;
|
33
|
+
/**
|
34
|
+
* Контрол в состоянии загрузки.
|
35
|
+
*/
|
36
|
+
isLoading?: boolean;
|
37
|
+
/**
|
38
|
+
* Слот для контента загрузки.
|
39
|
+
*/
|
40
|
+
loader?: ReactNode;
|
41
|
+
/**
|
42
|
+
* Размер контрола.
|
43
|
+
*/
|
44
|
+
size?: string;
|
45
|
+
/**
|
46
|
+
* Вид компонента.
|
47
|
+
*/
|
48
|
+
view?: string;
|
49
|
+
/**
|
50
|
+
* view применяется с clear-токенами
|
51
|
+
*/
|
52
|
+
clear?: boolean;
|
53
|
+
/**
|
54
|
+
* Форма контрола.
|
55
|
+
*/
|
56
|
+
shape?: string;
|
57
|
+
/**
|
58
|
+
* Компонент неактивен.
|
59
|
+
*/
|
60
|
+
disabled?: boolean;
|
61
|
+
/**
|
62
|
+
* Слот для вспомогательного текста справа.
|
63
|
+
*/
|
64
|
+
textBefore?: string;
|
65
|
+
/**
|
66
|
+
* Слот для вспомогательного текста слева.
|
67
|
+
*/
|
68
|
+
textAfter?: string;
|
69
|
+
/**
|
70
|
+
* Пользовательская кнопка увеличения.
|
71
|
+
*/
|
72
|
+
customIncrementButton?: ReactNode;
|
73
|
+
/**
|
74
|
+
* Иконка кнопки увеличения.
|
75
|
+
*/
|
76
|
+
incrementIcon?: ReactNode;
|
77
|
+
/**
|
78
|
+
* пользовательская кнопка уменьшения.
|
79
|
+
*/
|
80
|
+
customDecrementButton?: ReactNode;
|
81
|
+
/**
|
82
|
+
* Иконка кнопки уменьшения.
|
83
|
+
*/
|
84
|
+
decrementIcon?: ReactNode;
|
85
|
+
/**
|
86
|
+
* Доступность вводазначения вручную.
|
87
|
+
*/
|
88
|
+
isManualInput?: boolean;
|
89
|
+
/**
|
90
|
+
* Вызывается при изменении значения.
|
91
|
+
*/
|
92
|
+
onChange?: (event: SyntheticEvent<HTMLInputElement> | null, value: number | string) => void;
|
93
|
+
/**
|
94
|
+
* Вызывается при нажатии на кнопку увелечения значения.
|
95
|
+
*/
|
96
|
+
onIncrement?: (value: number) => void;
|
97
|
+
/**
|
98
|
+
* Вызывается при нажатии на кнопку уменьшения значения.
|
99
|
+
*/
|
100
|
+
onDecrement?: (value: number) => void;
|
101
|
+
} & SegemetationProps & Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'onChange' | 'value'>;
|
102
|
+
export declare type NumberInputRootProps = {
|
103
|
+
size?: string;
|
104
|
+
view?: string;
|
105
|
+
shape?: string;
|
106
|
+
segmentation?: string;
|
107
|
+
clear?: boolean;
|
108
|
+
disabled?: boolean;
|
109
|
+
isLoading?: boolean;
|
110
|
+
} & HTMLAttributes<HTMLDivElement>;
|
111
|
+
export {};
|
112
|
+
//# sourceMappingURL=NumberInput.types.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"NumberInput.types.d.ts","sourceRoot":"","sources":["../../../src/components/NumberInput/NumberInput.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,mBAAmB,EAAE,SAAS,EAAE,cA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,IAAI,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,KAAK,IAAI,CAAC;IAC5F;;OAEG;IACH,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC;;OAEG;IACH,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACzC,GAAG,iBAAiB,GACjB,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,GAAG,UAAU,GAAG,OAAO,CAAC,CAAC;AAE/E,oBAAY,oBAAoB,GAAG;IAC/B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;CACvB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/NumberInput/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AACnE,OAAO,EAAE,MAAM,IAAI,iBAAiB,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,sBAAsB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ActionButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/NumberInput/ui/ActionButton/ActionButton.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGlC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAE9D,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAM9C,CAAC"}
|
@@ -0,0 +1,45 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
export declare const StyledIconButton: import("@linaria/react").StyledMeta & import("react").FunctionComponent<import("../../../../engines/types").PropsType<import("../../../../engines/types").Variants> & ((Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("../../../../types").AsProps<any> & {
|
3
|
+
text?: string | undefined;
|
4
|
+
contentLeft?: import("react").ReactNode;
|
5
|
+
contentPlacing?: ("default" | "relaxed") | undefined;
|
6
|
+
isLoading?: boolean | undefined;
|
7
|
+
loader?: import("react").ReactNode;
|
8
|
+
stretch?: boolean | undefined;
|
9
|
+
stretching?: ("auto" | "fixed" | "filled") | undefined;
|
10
|
+
square?: boolean | undefined;
|
11
|
+
focused?: boolean | undefined;
|
12
|
+
disabled?: boolean | undefined;
|
13
|
+
pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
|
14
|
+
view?: string | undefined;
|
15
|
+
size?: string | undefined;
|
16
|
+
outlined?: boolean | undefined;
|
17
|
+
shiftLeft?: boolean | undefined;
|
18
|
+
shiftRight?: boolean | undefined;
|
19
|
+
blur?: "small" | "medium" | "large" | undefined;
|
20
|
+
} & {
|
21
|
+
value?: string | number | undefined;
|
22
|
+
contentRight?: undefined;
|
23
|
+
} & import("react").RefAttributes<HTMLButtonElement>) | (Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("../../../../types").AsProps<any> & {
|
24
|
+
text?: string | undefined;
|
25
|
+
contentLeft?: import("react").ReactNode;
|
26
|
+
contentPlacing?: ("default" | "relaxed") | undefined;
|
27
|
+
isLoading?: boolean | undefined;
|
28
|
+
loader?: import("react").ReactNode;
|
29
|
+
stretch?: boolean | undefined;
|
30
|
+
stretching?: ("auto" | "fixed" | "filled") | undefined;
|
31
|
+
square?: boolean | undefined;
|
32
|
+
focused?: boolean | undefined;
|
33
|
+
disabled?: boolean | undefined;
|
34
|
+
pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
|
35
|
+
view?: string | undefined;
|
36
|
+
size?: string | undefined;
|
37
|
+
outlined?: boolean | undefined;
|
38
|
+
shiftLeft?: boolean | undefined;
|
39
|
+
shiftRight?: boolean | undefined;
|
40
|
+
blur?: "small" | "medium" | "large" | undefined;
|
41
|
+
} & {
|
42
|
+
value?: undefined;
|
43
|
+
contentRight?: import("react").ReactNode;
|
44
|
+
} & import("react").RefAttributes<HTMLButtonElement>))>;
|
45
|
+
//# sourceMappingURL=ActionButton.styles.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ActionButton.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/NumberInput/ui/ActionButton/ActionButton.styles.ts"],"names":[],"mappings":";AAQA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uDAAuB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ActionButton.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/NumberInput/ui/ActionButton/ActionButton.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,oBAAY,iBAAiB,GAAG;IAC5B,IAAI,EAAE,SAAS,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,IAAI,CAAC;CACvB,CAAC"}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
export declare const NumberInput: React.ForwardRefExoticComponent<{
|
3
|
+
value: string | number;
|
4
|
+
setInnerValue: React.Dispatch<React.SetStateAction<string | number>>;
|
5
|
+
min?: number | undefined;
|
6
|
+
max?: number | undefined;
|
7
|
+
isLoading?: boolean | undefined;
|
8
|
+
loader?: React.ReactNode;
|
9
|
+
disabled?: boolean | undefined;
|
10
|
+
segmentation?: string | undefined;
|
11
|
+
textBefore?: string | undefined;
|
12
|
+
textAfter?: string | undefined;
|
13
|
+
isManualInput?: boolean | undefined;
|
14
|
+
onChange?: ((event: React.SyntheticEvent<HTMLInputElement, Event> | null, value: string | number) => void) | undefined;
|
15
|
+
} & Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>>;
|
16
|
+
//# sourceMappingURL=Input.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../../../src/components/NumberInput/ui/Input/Input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAsBvE,eAAO,MAAM,WAAW;;;;;;;;;;;;;oHAwMvB,CAAC"}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
export declare const InputWrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
3
|
+
isManualInput: boolean;
|
4
|
+
}>;
|
5
|
+
export declare const TextWrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
6
|
+
export declare const AdditionalText: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & Record<never, unknown>>;
|
7
|
+
export declare const Loader: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
8
|
+
export declare const StyledSpinner: import("@linaria/react").StyledMeta & import("react").FunctionComponent<import("../../../../engines/types").PropsType<import("../../../../engines/types").Variants> & ((import("react").HTMLAttributes<HTMLDivElement> & {
|
9
|
+
width?: undefined;
|
10
|
+
height?: undefined;
|
11
|
+
size?: string | undefined;
|
12
|
+
view?: string | undefined;
|
13
|
+
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
|
14
|
+
width: number;
|
15
|
+
height: number;
|
16
|
+
size?: undefined;
|
17
|
+
view?: string | undefined;
|
18
|
+
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
|
19
|
+
width: string;
|
20
|
+
height: string;
|
21
|
+
size?: undefined;
|
22
|
+
view?: string | undefined;
|
23
|
+
} & import("react").RefAttributes<HTMLDivElement>))>;
|
24
|
+
export declare const DynamicInput: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
25
|
+
export declare const Input: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLInputElement> & import("react").InputHTMLAttributes<HTMLInputElement> & {
|
26
|
+
dynamicWidth: string;
|
27
|
+
isManualInput: boolean;
|
28
|
+
}>;
|
29
|
+
export declare const InputWidthHelper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & Record<never, unknown>>;
|
30
|
+
//# sourceMappingURL=Input.styles.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Input.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/NumberInput/ui/Input/Input.styles.ts"],"names":[],"mappings":";AASA,eAAO,MAAM,YAAY;mBAA+B,OAAO;EAa9D,CAAC;AAEF,eAAO,MAAM,WAAW,qKAOvB,CAAC;AAEF,eAAO,MAAM,cAAc,uKAAgB,CAAC;AAE5C,eAAO,MAAM,MAAM,qKAAe,CAAC;AAEnC,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;oDAAoB,CAAC;AAE/C,eAAO,MAAM,YAAY,qKAExB,CAAC;AAEF,eAAO,MAAM,KAAK;kBAAgC,MAAM;mBAAiB,OAAO;EAiD/E,CAAC;AAEF,eAAO,MAAM,gBAAgB,uKAS5B,CAAC"}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import type { SyntheticEvent, InputHTMLAttributes, Dispatch, SetStateAction, ReactNode } from 'react';
|
2
|
+
export declare type InputProps = {
|
3
|
+
value: number | string;
|
4
|
+
setInnerValue: Dispatch<SetStateAction<number | string>>;
|
5
|
+
min?: number;
|
6
|
+
max?: number;
|
7
|
+
isLoading?: boolean;
|
8
|
+
loader?: ReactNode;
|
9
|
+
disabled?: boolean;
|
10
|
+
segmentation?: string;
|
11
|
+
textBefore?: string;
|
12
|
+
textAfter?: string;
|
13
|
+
isManualInput?: boolean;
|
14
|
+
onChange?: (event: SyntheticEvent<HTMLInputElement> | null, value: number | string) => void;
|
15
|
+
} & Omit<InputHTMLAttributes<HTMLInputElement>, 'onChange' | 'value'>;
|
16
|
+
//# sourceMappingURL=Input.types.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Input.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/NumberInput/ui/Input/Input.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,mBAAmB,EAAE,QAAQ,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtG,oBAAY,UAAU,GAAG;IACrB,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,aAAa,EAAE,QAAQ,CAAC,cAAc,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC,CAAC;IAEzD,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,KAAK,IAAI,CAAC;CAC/F,GAAG,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/NumberInput/ui/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/NumberInput/utils/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,QAAsB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/NumberInput/variations/_background-type/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,0CAUhB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/NumberInput/variations/_clear/base.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,IAAI,0CAiDhB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/NumberInput/variations/_disabled/base.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI,0CAMhB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/NumberInput/variations/_segmentation/base.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,IAAI,0CAmFhB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/NumberInput/variations/_shape/base.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,IAAI,0CAIhB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/NumberInput/variations/_size/base.ts"],"names":[],"mappings":"AAeA,eAAO,MAAM,IAAI,0CAgDhB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/NumberInput/variations/_view/base.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,IAAI,0CA0ChB,CAAC"}
|
package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts
CHANGED
@@ -11,8 +11,8 @@ export declare const SelectPerPageSelect: import("@linaria/react").StyledMeta &
|
|
11
11
|
multiselect?: false | undefined;
|
12
12
|
separator?: undefined;
|
13
13
|
} & {
|
14
|
-
value:
|
15
|
-
onChange?: ((value:
|
14
|
+
value: any;
|
15
|
+
onChange?: ((value: any) => void) | undefined;
|
16
16
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
17
17
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
18
18
|
status?: "error" | "success" | "warning" | undefined;
|
@@ -49,8 +49,8 @@ export declare const SelectPerPageSelect: import("@linaria/react").StyledMeta &
|
|
49
49
|
multiselect?: true | undefined;
|
50
50
|
separator?: string | undefined;
|
51
51
|
} & {
|
52
|
-
value:
|
53
|
-
onChange?: ((value:
|
52
|
+
value: any;
|
53
|
+
onChange?: ((value: any) => void) | undefined;
|
54
54
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
55
55
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
56
56
|
status?: "error" | "success" | "warning" | undefined;
|
@@ -87,8 +87,8 @@ export declare const SelectPerPageSelect: import("@linaria/react").StyledMeta &
|
|
87
87
|
multiselect?: false | undefined;
|
88
88
|
separator?: undefined;
|
89
89
|
} & {
|
90
|
-
value:
|
91
|
-
onChange?: ((value:
|
90
|
+
value: any;
|
91
|
+
onChange?: ((value: any) => void) | undefined;
|
92
92
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
93
93
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
94
94
|
status?: "error" | "success" | "warning" | undefined;
|
@@ -125,8 +125,8 @@ export declare const SelectPerPageSelect: import("@linaria/react").StyledMeta &
|
|
125
125
|
multiselect?: true | undefined;
|
126
126
|
separator?: string | undefined;
|
127
127
|
} & {
|
128
|
-
value:
|
129
|
-
onChange?: ((value:
|
128
|
+
value: any;
|
129
|
+
onChange?: ((value: any) => void) | undefined;
|
130
130
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
131
131
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
132
132
|
status?: "error" | "success" | "warning" | undefined;
|
@@ -5,11 +5,11 @@ export declare const Context: React.Context<ItemContext>;
|
|
5
5
|
/**
|
6
6
|
* Выпадающий список. Поддерживает выбор одного или нескольких значений.
|
7
7
|
*/
|
8
|
-
export declare const selectRoot: (Root: RootProps<HTMLButtonElement, Omit<MergedSelectProps, 'items'>>) => React.ForwardRefExoticComponent<MergedSelectProps<
|
8
|
+
export declare const selectRoot: (Root: RootProps<HTMLButtonElement, Omit<MergedSelectProps, 'items'>>) => React.ForwardRefExoticComponent<MergedSelectProps<any> & React.RefAttributes<HTMLButtonElement>>;
|
9
9
|
export declare const selectConfig: {
|
10
10
|
name: string;
|
11
11
|
tag: string;
|
12
|
-
layout: (Root: RootProps<HTMLButtonElement, Omit<MergedSelectProps, 'items'>>) => React.ForwardRefExoticComponent<MergedSelectProps<
|
12
|
+
layout: (Root: RootProps<HTMLButtonElement, Omit<MergedSelectProps, 'items'>>) => React.ForwardRefExoticComponent<MergedSelectProps<any> & React.RefAttributes<HTMLButtonElement>>;
|
13
13
|
base: import("@linaria/core").LinariaClassName;
|
14
14
|
variations: {
|
15
15
|
view: {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoF,MAAM,OAAO,CAAC;AAEzG,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;
|
1
|
+
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoF,MAAM,OAAO,CAAC;AAEzG,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAU1C,OAAO,KAAK,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAKrE,eAAO,MAAM,OAAO,4BAAgD,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,UAAU,SAAU,UAAU,iBAAiB,EAAE,KAAK,iBAAiB,EAAE,OAAO,CAAC,CAAC,qGAmSzF,CAAC;AAEP,eAAO,MAAM,YAAY;;;mBArSQ,UAAU,iBAAiB,EAAE,KAAK,iBAAiB,EAAE,OAAO,CAAC,CAAC;;;;;;;;;;;;;;;CAuT9F,CAAC"}
|
@@ -172,8 +172,7 @@ declare type DropdownNodeOld = {
|
|
172
172
|
color?: string;
|
173
173
|
contentLeft?: React.ReactNode;
|
174
174
|
};
|
175
|
-
export declare type
|
176
|
-
export declare type MergedSelectProps<T = DefaultValueType> = Target & ({
|
175
|
+
export declare type MergedSelectProps<T = any> = Target & ({
|
177
176
|
multiselect?: false;
|
178
177
|
separator?: never;
|
179
178
|
} | {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Select.types.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,oBAAoB,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACjF,OAAO,K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,EAAE,eAAe,GAAG,KAAK,CAAC,oBAAoB,CAAC,CAAC;IAC1D;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,cAAc,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAC9D;;;OAGG;IACH,OAAO,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAC7B;;;OAGG;IACH,SAAS,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;IACnC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IAC/C;;OAEG;IACH,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,YAAY,KAAK,MAAM,CAAC;IAC7C;;OAEG;IACH,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,YAAY,KAAK,KAAK,CAAC,SAAS,CAAC;IACrD;;;OAGG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAE3B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB,GAAG,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,OAAO,GAAG,UAAU,GAAG,UAAU,GAAG,iBAAiB,GAAG,OAAO,CAAC,CAAC"}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import type { Dispatch } from 'react';
|
2
2
|
import React from 'react';
|
3
3
|
import { PathAction, PathState, FocusedPathAction, FocusedPathState, FocusedChipIndexState, FocusedChipIndexAction } from '../reducers';
|
4
|
-
import { SelectProps
|
4
|
+
import { SelectProps } from '../Select.types';
|
5
5
|
import type { MergedDropdownNodeTransformed } from '../ui/Inner/ui/Item/Item.types';
|
6
6
|
import { PathMapType, FocusedToValueMapType, ValueToItemMapType } from './usePathMaps';
|
7
7
|
export declare const keys: {
|
@@ -30,7 +30,7 @@ declare type Props = {
|
|
30
30
|
handlePressDown: (item: MergedDropdownNodeTransformed, e?: React.MouseEvent<HTMLElement>) => void;
|
31
31
|
focusedChipIndex: FocusedChipIndexState;
|
32
32
|
dispatchFocusedChipIndex: Dispatch<FocusedChipIndexAction>;
|
33
|
-
value:
|
33
|
+
value: string | string[];
|
34
34
|
valueToItemMap: ValueToItemMapType;
|
35
35
|
multiselect: SelectProps['multiselect'];
|
36
36
|
isTargetAmount: SelectProps['isTargetAmount'];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useKeyboardNavigation.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/hooks/useKeyboardNavigation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,QAAQ,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EACH,UAAU,EACV,SAAS,EACT,iBAAiB,EACjB,gBAAgB,EAChB,qBAAqB,EACrB,sBAAsB,EACzB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,WAAW,EAAE,
|
1
|
+
{"version":3,"file":"useKeyboardNavigation.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/hooks/useKeyboardNavigation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,QAAQ,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EACH,UAAU,EACV,SAAS,EACT,iBAAiB,EACjB,gBAAgB,EAChB,qBAAqB,EACrB,sBAAsB,EACzB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,gCAAgC,CAAC;AAEpF,OAAO,EAAE,WAAW,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAIvF,eAAO,MAAM,IAAI;;;;;;;;;;;;;;CAchB,CAAC;AAQF,aAAK,KAAK,GAAG;IACT,WAAW,EAAE,gBAAgB,CAAC;IAC9B,mBAAmB,EAAE,QAAQ,CAAC,iBAAiB,CAAC,CAAC;IACjD,IAAI,EAAE,SAAS,CAAC;IAChB,YAAY,EAAE,QAAQ,CAAC,UAAU,CAAC,CAAC;IACnC,OAAO,EAAE,WAAW,CAAC;IACrB,iBAAiB,EAAE,qBAAqB,CAAC;IACzC,YAAY,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IACxC,eAAe,EAAE,CAAC,IAAI,EAAE,6BAA6B,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IAClG,gBAAgB,EAAE,qBAAqB,CAAC;IACxC,wBAAwB,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC;IAC3D,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IACzB,cAAc,EAAE,kBAAkB,CAAC;IACnC,WAAW,EAAE,WAAW,CAAC,aAAa,CAAC,CAAC;IACxC,cAAc,EAAE,WAAW,CAAC,gBAAgB,CAAC,CAAC;CACjD,CAAC;AAEF,aAAK,aAAa,GAAG;IACjB,SAAS,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;CAChE,CAAC;AAEF,eAAO,MAAM,gBAAgB,yNAe1B,KAAK,KAAG,aAiQV,CAAC"}
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import type { KeyboardEvent } from 'react';
|
2
2
|
import type { ValueToItemMapType, FocusedToValueMapType } from '../../hooks/usePathMaps';
|
3
3
|
import { FocusedChipIndexState, FocusedPathState } from '../../reducers';
|
4
|
-
import type { MergedSelectProps
|
4
|
+
import type { MergedSelectProps } from '../../Select.types';
|
5
5
|
export declare type TargetProps = Pick<MergedSelectProps, 'size' | 'label' | 'labelPlacement' | 'placeholder' | 'contentLeft' | 'disabled' | 'renderValue'> & {
|
6
|
-
value:
|
6
|
+
value: string | string[];
|
7
7
|
opened: boolean;
|
8
8
|
valueToItemMap: ValueToItemMapType;
|
9
9
|
onChipClick: (value: string) => void;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Target.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/ui/Target/Target.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,KAAK,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AACzF,OAAO,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACzE,OAAO,KAAK,EAAE,iBAAiB,EAAE,
|
1
|
+
{"version":3,"file":"Target.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/ui/Target/Target.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,KAAK,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AACzF,OAAO,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACzE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAE5D,oBAAY,WAAW,GAAG,IAAI,CAC1B,iBAAiB,EACjB,MAAM,GAAG,OAAO,GAAG,gBAAgB,GAAG,aAAa,GAAG,aAAa,GAAG,UAAU,GAAG,aAAa,CACnG,GAAG;IACA,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IACzB,MAAM,EAAE,OAAO,CAAC;IAChB,cAAc,EAAE,kBAAkB,CAAC;IACnC,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,SAAS,EAAE,CAAC,KAAK,EAAE,aAAa,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IACvD,gBAAgB,EAAE,qBAAqB,CAAC;IACxC,WAAW,EAAE,gBAAgB,CAAC;IAC9B,iBAAiB,EAAE,qBAAqB,CAAC;IACzC,WAAW,EAAE,iBAAiB,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC"}
|
@@ -1,8 +1,8 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
import type {
|
2
|
+
import type { SelectProps } from '../../../../Select.types';
|
3
3
|
export declare const TextfieldWrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
4
4
|
opened: boolean;
|
5
|
-
value:
|
5
|
+
value: SelectProps['value'];
|
6
6
|
}>;
|
7
7
|
export declare const StyledButton: import("@linaria/react").StyledComponent<{
|
8
8
|
renderTarget: boolean;
|
@@ -53,8 +53,8 @@ export declare const StyledArrow: import("@linaria/react").StyledMeta & import("
|
|
53
53
|
export declare const IconArrowWrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
54
54
|
export declare const Wrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
55
55
|
export declare const ChipWrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
56
|
-
multiselect:
|
57
|
-
value:
|
56
|
+
multiselect: SelectProps['multiselect'];
|
57
|
+
value: SelectProps['value'];
|
58
58
|
}>;
|
59
59
|
export declare const Label: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLLabelElement> & import("react").LabelHTMLAttributes<HTMLLabelElement> & Record<never, unknown>>;
|
60
60
|
export declare const Placeholder: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|