@salutejs/plasma-new-hope 0.174.0-canary.1505.11518120718.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/Select/Select.d.ts.map +1 -1
- package/types/components/Select/Select.types.d.ts +0 -1
- 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_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/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,82 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.TextWrapper = exports.StyledSpinner = exports.Loader = exports.InputWrapper = exports.InputWidthHelper = exports.Input = exports.DynamicInput = exports.AdditionalText = void 0;
|
7
|
+
var _base = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("@emotion/styled/base"));
|
8
|
+
var _engines = /*#__PURE__*/require("../../../../engines");
|
9
|
+
var _Spinner = /*#__PURE__*/require("../../../Spinner");
|
10
|
+
var _NumberInput = /*#__PURE__*/require("../../NumberInput.tokens");
|
11
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
12
|
+
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
13
|
+
var mergedConfig = /*#__PURE__*/(0, _engines.mergeConfig)(_Spinner.spinnerConfig);
|
14
|
+
var Spinner = /*#__PURE__*/(0, _engines.component)(mergedConfig);
|
15
|
+
var InputWrapper = exports.InputWrapper = /*#__PURE__*/(0, _base["default"])("div", {
|
16
|
+
target: "e15d8t3l7",
|
17
|
+
label: "plasma-new-hope__InputWrapper"
|
18
|
+
})("overflow-x:auto;overflow-y:hidden;flex:1;cursor:", function (_ref) {
|
19
|
+
var isManualInput = _ref.isManualInput;
|
20
|
+
return isManualInput ? 'text' : 'default';
|
21
|
+
}, ";::-webkit-scrollbar{display:none;}scrollbar-width:none;overscroll-behavior:contain;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIj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gICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoMC4xODhyZW0pO1xuICAgICAgICB9XG4gICAgICAgIDEwMCUge1xuICAgICAgICAgICAgb3BhY2l0eTogMDtcbiAgICAgICAgICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlWCgtMC4xODhyZW0pO1xuICAgICAgICB9XG4gICAgfVxuYDtcblxuZXhwb3J0IGNvbnN0IElucHV0V2lkdGhIZWxwZXIgPSBzdHlsZWQuc3BhbmBcbiAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgei1pbmRleDogLTk5OTtcbiAgICB2aXNpYmlsaXR5OiBoaWRkZW47XG4gICAgdG9wOiAwO1xuICAgIGxlZnQ6IDA7XG4gICAgb3BhY2l0eTogMDtcbiAgICBoZWlnaHQ6IDA7XG4gICAgd2hpdGUtc3BhY2U6IHByZTtcbmA7XG4iXX0= */"));
|
22
|
+
var TextWrapper = exports.TextWrapper = /*#__PURE__*/(0, _base["default"])("div", {
|
23
|
+
target: "e15d8t3l6",
|
24
|
+
label: "plasma-new-hope__TextWrapper"
|
25
|
+
})(process.env.NODE_ENV === "production" ? {
|
26
|
+
name: "zvqxgx",
|
27
|
+
styles: "display:flex;align-items:center;justify-content:center;width:fit-content;margin:0 auto;box-sizing:border-box"
|
28
|
+
} : {
|
29
|
+
name: "zvqxgx",
|
30
|
+
styles: "display:flex;align-items:center;justify-content:center;width:fit-content;margin:0 auto;box-sizing:border-box",
|
31
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdWkvSW5wdXQvSW5wdXQuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXdCcUMiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9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ycm9yQW5pbWF0aW9ufSB7XG4gICAgICAgIGNvbG9yOiB2YXIoJHt0b2tlbnMuZXJyb3JDb2xvcn0pO1xuICAgICAgICBhbmltYXRpb246IHNoYWtpbmdFcnJvciAwLjVzIGZvcndhcmRzO1xuICAgIH1cblxuICAgIEBrZXlmcmFtZXMgc2hha2luZ0Vycm9yIHtcbiAgICAgICAgMCUge1xuICAgICAgICAgICAgb3BhY2l0eTogMTtcbiAgICAgICAgfVxuICAgICAgICAxMi41JSB7XG4gICAgICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoMC4xODhyZW0pO1xuICAgICAgICB9XG4gICAgICAgIDI1JSB7XG4gICAgICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoLTAuMTg4cmVtKTtcbiAgICAgICAgfVxuICAgICAgICAzNy41JSB7XG4gICAgICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoMC4xODhyZW0pO1xuICAgICAgICB9XG4gICAgICAgIDUwJSB7XG4gICAgICAgICAgICBvcGFjaXR5OiAxO1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKC0wLjE4OHJlbSk7XG4gICAgICAgIH1cbiAgICAgICAgNjIuNSUge1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDAuMTg4cmVtKTtcbiAgICAgICAgfVxuICAgICAgICA3NSUge1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKC0wLjE4OHJlbSk7XG4gICAgICAgIH1cbiAgICAgICAgODcuNSUge1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDAuMTg4cmVtKTtcbiAgICAgICAgfVxuICAgICAgICAxMDAlIHtcbiAgICAgICAgICAgIG9wYWNpdHk6IDA7XG4gICAgICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoLTAuMTg4cmVtKTtcbiAgICAgICAgfVxuICAgIH1cbmA7XG5cbmV4cG9ydCBjb25zdCBJbnB1dFdpZHRoSGVscGVyID0gc3R5bGVkLnNwYW5gXG4gICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgIHotaW5kZXg6IC05OTk7XG4gICAgdmlzaWJpbGl0eTogaGlkZGVuO1xuICAgIHRvcDogMDtcbiAgICBsZWZ0OiAwO1xuICAgIG9wYWNpdHk6IDA7XG4gICAgaGVpZ2h0OiAwO1xuICAgIHdoaXRlLXNwYWNlOiBwcmU7XG5gO1xuIl19 */",
|
32
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
33
|
+
});
|
34
|
+
var AdditionalText = exports.AdditionalText = /*#__PURE__*/(0, _base["default"])("span", {
|
35
|
+
target: "e15d8t3l5",
|
36
|
+
label: "plasma-new-hope__AdditionalText"
|
37
|
+
})(process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdWkvSW5wdXQvSW5wdXQuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWlDeUMiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9OdW1iZXJJbnB1dC91aS9JbnB1dC9JbnB1dC5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IGNvbXBvbmVudCwgbWVyZ2VDb25maWcgfSBmcm9tICcuLi8uLi8uLi8uLi9lbmdpbmVzJztcbmltcG9ydCB7IHNwaW5uZXJDb25maWcgfSBmcm9tICcuLi8uLi8uLi9TcGlubmVyJztcbmltcG9ydCB7IGNsYXNzZXMsIHRva2VucyB9IGZyb20gJy4uLy4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ICAgICB9XG4gICAgICAgIDI1JSB7XG4gICAgICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoLTAuMTg4cmVtKTtcbiAgICAgICAgfVxuICAgICAgICAzNy41JSB7XG4gICAgICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoMC4xODhyZW0pO1xuICAgICAgICB9XG4gICAgICAgIDUwJSB7XG4gICAgICAgICAgICBvcGFjaXR5OiAxO1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKC0wLjE4OHJlbSk7XG4gICAgICAgIH1cbiAgICAgICAgNjIuNSUge1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDAuMTg4cmVtKTtcbiAgICAgICAgfVxuICAgICAgICA3NSUge1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKC0wLjE4OHJlbSk7XG4gICAgICAgIH1cbiAgICAgICAgODcuNSUge1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDAuMTg4cmVtKTtcbiAgICAgICAgfVxuICAgICAgICAxMDAlIHtcbiAgICAgICAgICAgIG9wYWNpdHk6IDA7XG4gICAgICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoLTAuMTg4cmVtKTtcbiAgICAgICAgfVxuICAgIH1cbmA7XG5cbmV4cG9ydCBjb25zdCBJbnB1dFdpZHRoSGVscGVyID0gc3R5bGVkLnNwYW5gXG4gICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgIHotaW5kZXg6IC05OTk7XG4gICAgdmlzaWJpbGl0eTogaGlkZGVuO1xuICAgIHRvcDogMDtcbiAgICBsZWZ0OiAwO1xuICAgIG9wYWNpdHk6IDA7XG4gICAgaGVpZ2h0OiAwO1xuICAgIHdoaXRlLXNwYWNlOiBwcmU7XG5gO1xuIl19 */");
|
38
|
+
var Loader = exports.Loader = /*#__PURE__*/(0, _base["default"])("div", {
|
39
|
+
target: "e15d8t3l4",
|
40
|
+
label: "plasma-new-hope__Loader"
|
41
|
+
})(process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdWkvSW5wdXQvSW5wdXQuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1DZ0MiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9OdW1iZXJJbnB1dC91aS9JbnB1dC9JbnB1dC5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IGNvbXBvbmVudCwgbWVyZ2VDb25maWcgfSBmcm9tICcuLi8uLi8uLi8uLi9lbmdpbmVzJztcbmltcG9ydCB7IHNwaW5uZXJDb25maWcgfSBmcm9tICcuLi8uLi8uLi9TcGlubmVyJztcbmltcG9ydCB7IGNsYXNzZXMsIHRva2VucyB9IGZyb20gJy4uLy4uL051bWJlcklucHV0LnRva2Vucyc7XG5cbmNvbnN0IG1lcmdlZENvbmZpZyA9IG1lcmdlQ29uZmlnKHNwaW5uZXJDb25maWcpO1xuY29uc3QgU3Bpbm5lciA9IGNvbXBvbmVudChtZXJnZWRDb25maWcpO1xuXG5leHBvcnQgY29uc3QgSW5wdXRXcmFwcGVyID0gc3R5bGVkLmRpdjx7IGlzTWFudWFsSW5wdXQ6IGJvb2xlYW4gfT5gXG4gICAgb3ZlcmZsb3cteDogYXV0bztcbiAgICBvdmVyZmxvdy15OiBoaWRkZW47XG4gICAgZmxleDogMTtcbiAgICBjdXJzb3I6ICR7KHsgaXNNYW51YWxJbnB1dCB9KSA9PiAoaXNNYW51YWxJbnB1d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mVtKTtcbiAgICAgICAgfVxuICAgICAgICA3NSUge1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKC0wLjE4OHJlbSk7XG4gICAgICAgIH1cbiAgICAgICAgODcuNSUge1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDAuMTg4cmVtKTtcbiAgICAgICAgfVxuICAgICAgICAxMDAlIHtcbiAgICAgICAgICAgIG9wYWNpdHk6IDA7XG4gICAgICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoLTAuMTg4cmVtKTtcbiAgICAgICAgfVxuICAgIH1cbmA7XG5cbmV4cG9ydCBjb25zdCBJbnB1dFdpZHRoSGVscGVyID0gc3R5bGVkLnNwYW5gXG4gICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgIHotaW5kZXg6IC05OTk7XG4gICAgdmlzaWJpbGl0eTogaGlkZGVuO1xuICAgIHRvcDogMDtcbiAgICBsZWZ0OiAwO1xuICAgIG9wYWNpdHk6IDA7XG4gICAgaGVpZ2h0OiAwO1xuICAgIHdoaXRlLXNwYWNlOiBwcmU7XG5gO1xuIl19 */");
|
42
|
+
var StyledSpinner = exports.StyledSpinner = /*#__PURE__*/(0, _base["default"])(Spinner, {
|
43
|
+
target: "e15d8t3l3",
|
44
|
+
label: "plasma-new-hope__StyledSpinner"
|
45
|
+
})(process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdWkvSW5wdXQvSW5wdXQuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXFDNEMiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9OdW1iZXJJbnB1dC91aS9Jbn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gIGNvbG9yOiB2YXIoJHt0b2tlbnMuZXJyb3JDb2xvcn0pO1xuICAgICAgICBhbmltYXRpb246IHNoYWtpbmdFcnJvciAwLjVzIGZvcndhcmRzO1xuICAgIH1cblxuICAgIEBrZXlmcmFtZXMgc2hha2luZ0Vycm9yIHtcbiAgICAgICAgMCUge1xuICAgICAgICAgICAgb3BhY2l0eTogMTtcbiAgICAgICAgfVxuICAgICAgICAxMi41JSB7XG4gICAgICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoMC4xODhyZW0pO1xuICAgICAgICB9XG4gICAgICAgIDI1JSB7XG4gICAgICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoLTAuMTg4cmVtKTtcbiAgICAgICAgfVxuICAgICAgICAzNy41JSB7XG4gICAgICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoMC4xODhyZW0pO1xuICAgICAgICB9XG4gICAgICAgIDUwJSB7XG4gICAgICAgICAgICBvcGFjaXR5OiAxO1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKC0wLjE4OHJlbSk7XG4gICAgICAgIH1cbiAgICAgICAgNjIuNSUge1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDAuMTg4cmVtKTtcbiAgICAgICAgfVxuICAgICAgICA3NSUge1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKC0wLjE4OHJlbSk7XG4gICAgICAgIH1cbiAgICAgICAgODcuNSUge1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDAuMTg4cmVtKTtcbiAgICAgICAgfVxuICAgICAgICAxMDAlIHtcbiAgICAgICAgICAgIG9wYWNpdHk6IDA7XG4gICAgICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoLTAuMTg4cmVtKTtcbiAgICAgICAgfVxuICAgIH1cbmA7XG5cbmV4cG9ydCBjb25zdCBJbnB1dFdpZHRoSGVscGVyID0gc3R5bGVkLnNwYW5gXG4gICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgIHotaW5kZXg6IC05OTk7XG4gICAgdmlzaWJpbGl0eTogaGlkZGVuO1xuICAgIHRvcDogMDtcbiAgICBsZWZ0OiAwO1xuICAgIG9wYWNpdHk6IDA7XG4gICAgaGVpZ2h0OiAwO1xuICAgIHdoaXRlLXNwYWNlOiBwcmU7XG5gO1xuIl19 */");
|
46
|
+
var DynamicInput = exports.DynamicInput = /*#__PURE__*/(0, _base["default"])("div", {
|
47
|
+
target: "e15d8t3l2",
|
48
|
+
label: "plasma-new-hope__DynamicInput"
|
49
|
+
})(process.env.NODE_ENV === "production" ? {
|
50
|
+
name: "bjn8wh",
|
51
|
+
styles: "position:relative"
|
52
|
+
} : {
|
53
|
+
name: "bjn8wh",
|
54
|
+
styles: "position:relative",
|
55
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdWkvSW5wdXQvSW5wdXQuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXVDc0MiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9OdW1iZXJJbnB1dC91aS9JbnB1dC9JbnB1dC5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IGNvbXBvbmVudCwgbWVyZ2VDb25maWcgfSBmcm9tICcuLi8uLi8uLi8uLi9lbmdpbmVzJztcbmltcG9ydCB7IHNwaW5uZXJDb25maWcgfSBmcm9tICcuLi8uLi8uLi9TcGlubmVyJztcbmltcG9ydCB7IGNsYXNzZXMsIHRva2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oMC4xODhyZW0pO1xuICAgICAgICB9XG4gICAgICAgIDI1JSB7XG4gICAgICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoLTAuMTg4cmVtKTtcbiAgICAgICAgfVxuICAgICAgICAzNy41JSB7XG4gICAgICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoMC4xODhyZW0pO1xuICAgICAgICB9XG4gICAgICAgIDUwJSB7XG4gICAgICAgICAgICBvcGFjaXR5OiAxO1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKC0wLjE4OHJlbSk7XG4gICAgICAgIH1cbiAgICAgICAgNjIuNSUge1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDAuMTg4cmVtKTtcbiAgICAgICAgfVxuICAgICAgICA3NSUge1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKC0wLjE4OHJlbSk7XG4gICAgICAgIH1cbiAgICAgICAgODcuNSUge1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDAuMTg4cmVtKTtcbiAgICAgICAgfVxuICAgICAgICAxMDAlIHtcbiAgICAgICAgICAgIG9wYWNpdHk6IDA7XG4gICAgICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoLTAuMTg4cmVtKTtcbiAgICAgICAgfVxuICAgIH1cbmA7XG5cbmV4cG9ydCBjb25zdCBJbnB1dFdpZHRoSGVscGVyID0gc3R5bGVkLnNwYW5gXG4gICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgIHotaW5kZXg6IC05OTk7XG4gICAgdmlzaWJpbGl0eTogaGlkZGVuO1xuICAgIHRvcDogMDtcbiAgICBsZWZ0OiAwO1xuICAgIG9wYWNpdHk6IDA7XG4gICAgaGVpZ2h0OiAwO1xuICAgIHdoaXRlLXNwYWNlOiBwcmU7XG5gO1xuIl19 */",
|
56
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
57
|
+
});
|
58
|
+
var Input = exports.Input = /*#__PURE__*/(0, _base["default"])("input", {
|
59
|
+
target: "e15d8t3l1",
|
60
|
+
label: "plasma-new-hope__Input"
|
61
|
+
})("box-sizing:border-box;appearance:none;border:0;padding:0;background-color:transparent;outline:none;width:", function (_ref2) {
|
62
|
+
var dynamicWidth = _ref2.dynamicWidth;
|
63
|
+
return dynamicWidth;
|
64
|
+
}, ";box-sizing:border-box;cursor:", function (_ref3) {
|
65
|
+
var isManualInput = _ref3.isManualInput;
|
66
|
+
return isManualInput ? 'text' : 'default';
|
67
|
+
}, ";pointer-events:", function (_ref4) {
|
68
|
+
var isManualInput = _ref4.isManualInput;
|
69
|
+
return isManualInput ? 'initial' : 'none';
|
70
|
+
}, ";transition:width 0.1s;&&.", _NumberInput.classes.errorAnimation, "{color:var(", _NumberInput.tokens.errorColor, ");animation:shakingError 0.5s forwards;}@keyframes shakingError{0%{opacity:1;}12.5%{transform:translateX(0.188rem);}25%{transform:translateX(-0.188rem);}37.5%{transform:translateX(0.188rem);}50%{opacity:1;transform:translateX(-0.188rem);}62.5%{transform:translateX(0.188rem);}75%{transform:translateX(-0.188rem);}87.5%{transform:translateX(0.188rem);}100%{opacity:0;transform:translateX(-0.188rem);}}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdWkvSW5wdXQvSW5wdXQuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQTJDbUYiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9OdW1iZXJJbnB1dC91aS9JbnB1dC9JbnB1dC5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5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Rpb246IHNoYWtpbmdFcnJvciAwLjVzIGZvcndhcmRzO1xuICAgIH1cblxuICAgIEBrZXlmcmFtZXMgc2hha2luZ0Vycm9yIHtcbiAgICAgICAgMCUge1xuICAgICAgICAgICAgb3BhY2l0eTogMTtcbiAgICAgICAgfVxuICAgICAgICAxMi41JSB7XG4gICAgICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoMC4xODhyZW0pO1xuICAgICAgICB9XG4gICAgICAgIDI1JSB7XG4gICAgICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoLTAuMTg4cmVtKTtcbiAgICAgICAgfVxuICAgICAgICAzNy41JSB7XG4gICAgICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoMC4xODhyZW0pO1xuICAgICAgICB9XG4gICAgICAgIDUwJSB7XG4gICAgICAgICAgICBvcGFjaXR5OiAxO1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKC0wLjE4OHJlbSk7XG4gICAgICAgIH1cbiAgICAgICAgNjIuNSUge1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDAuMTg4cmVtKTtcbiAgICAgICAgfVxuICAgICAgICA3NSUge1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKC0wLjE4OHJlbSk7XG4gICAgICAgIH1cbiAgICAgICAgODcuNSUge1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDAuMTg4cmVtKTtcbiAgICAgICAgfVxuICAgICAgICAxMDAlIHtcbiAgICAgICAgICAgIG9wYWNpdHk6IDA7XG4gICAgICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoLTAuMTg4cmVtKTtcbiAgICAgICAgfVxuICAgIH1cbmA7XG5cbmV4cG9ydCBjb25zdCBJbnB1dFdpZHRoSGVscGVyID0gc3R5bGVkLnNwYW5gXG4gICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgIHotaW5kZXg6IC05OTk7XG4gICAgdmlzaWJpbGl0eTogaGlkZGVuO1xuICAgIHRvcDogMDtcbiAgICBsZWZ0OiAwO1xuICAgIG9wYWNpdHk6IDA7XG4gICAgaGVpZ2h0OiAwO1xuICAgIHdoaXRlLXNwYWNlOiBwcmU7XG5gO1xuIl19 */"));
|
71
|
+
var InputWidthHelper = exports.InputWidthHelper = /*#__PURE__*/(0, _base["default"])("span", {
|
72
|
+
target: "e15d8t3l0",
|
73
|
+
label: "plasma-new-hope__InputWidthHelper"
|
74
|
+
})(process.env.NODE_ENV === "production" ? {
|
75
|
+
name: "1lglqkg",
|
76
|
+
styles: "position:absolute;z-index:-999;visibility:hidden;top:0;left:0;opacity:0;height:0;white-space:pre"
|
77
|
+
} : {
|
78
|
+
name: "1lglqkg",
|
79
|
+
styles: "position:absolute;z-index:-999;visibility:hidden;top:0;left:0;opacity:0;height:0;white-space:pre",
|
80
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdWkvSW5wdXQvSW5wdXQuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQThGMkMiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9OdW1iZXJJbnB1dC91aS9JbnB1dC9JbnB1dC5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IGNvbXBvbmVudCwgbWVyZ2VDb25maWcgfSBmcm9tICcuLi8uLi8uLi8uLi9lbmdpbmVzJztcbmltcG9ydCB7IHNwaW5uZXJDb25maWcgfSBmcm9tICcuLi8uLi8uLi9TcGlubmVyJztcbmlt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_EMOTION_STRINGIFIED_CSS_ERROR__
|
82
|
+
});
|
@@ -0,0 +1,19 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
Object.defineProperty(exports, "ActionButton", {
|
7
|
+
enumerable: true,
|
8
|
+
get: function get() {
|
9
|
+
return _ActionButton.ActionButton;
|
10
|
+
}
|
11
|
+
});
|
12
|
+
Object.defineProperty(exports, "NumberInput", {
|
13
|
+
enumerable: true,
|
14
|
+
get: function get() {
|
15
|
+
return _Input.NumberInput;
|
16
|
+
}
|
17
|
+
});
|
18
|
+
var _ActionButton = /*#__PURE__*/require("./ActionButton/ActionButton");
|
19
|
+
var _Input = /*#__PURE__*/require("./Input/Input");
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.base = void 0;
|
7
|
+
var _react = /*#__PURE__*/require("@emotion/react");
|
8
|
+
var _NumberInput = /*#__PURE__*/require("../../NumberInput.tokens");
|
9
|
+
var _Input = /*#__PURE__*/require("../../ui/Input/Input.styles");
|
10
|
+
var base = exports.base = /*#__PURE__*/(0, _react.css)(_Input.InputWrapper, "{background-color:var(", _NumberInput.tokens.backgroundColor, ");box-shadow:inset 0 0 0 var(", _NumberInput.tokens.inputWrapperBorderWidth, ") var(", _NumberInput.tokens.borderColor, ");&:hover{background-color:var(", _NumberInput.tokens.backgroundColorHover, ");box-shadow:inset 0 0 0 var(", _NumberInput.tokens.inputWrapperBorderWidth, ") var(", _NumberInput.tokens.borderColorHover, ");}};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHM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|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.base = void 0;
|
7
|
+
var _react = /*#__PURE__*/require("@emotion/react");
|
8
|
+
var _NumberInput = /*#__PURE__*/require("../../NumberInput.tokens");
|
9
|
+
var _IconButton = /*#__PURE__*/require("../../../IconButton");
|
10
|
+
var _ActionButton = /*#__PURE__*/require("../../ui/ActionButton/ActionButton.styles");
|
11
|
+
var _Input = /*#__PURE__*/require("../../ui/Input/Input.styles");
|
12
|
+
var base = exports.base = /*#__PURE__*/(0, _react.css)("&.", _NumberInput.classes.clearView, "{background:transparent;", _ActionButton.StyledIconButton, "{", _IconButton.iconButtonTokens.iconButtonColor, ":var(", _NumberInput.tokens.iconButtonColorClear, ");", _IconButton.iconButtonTokens.iconButtonBackgroundColor, ":transparent;", _IconButton.iconButtonTokens.iconButtonColorHover, ":var(", _NumberInput.tokens.iconButtonColorClear, ");", _IconButton.iconButtonTokens.iconButtonBackgroundColorHover, ":transparent;", _IconButton.iconButtonTokens.iconButtonColorActive, ":var(", _NumberInput.tokens.iconButtonColorClear, ");", _IconButton.iconButtonTokens.iconButtonBackgroundColorActive, ":transparent;:hover,:active{color:var(", _NumberInput.tokens.iconButtonColorClear, ");background-color:transparent;}&.", _NumberInput.classes.actionButtonDecrementDisabled, ",&.", _NumberInput.classes.actionButtonIncrementDisabled, "{:hover,:active{color:var(", _NumberInput.tokens.iconButtonColorClear, ");background-color:transparent;}}}&& ", _Input.InputWrapper, "{background-color:transparent;box-shadow:transparent;&:focus-within{background-color:var(", _NumberInput.tokens.backgroundColorFocus, ");box-shadow:inset 0 0 0 var(", _NumberInput.tokens.inputWrapperBorderWidth, ") var(", _NumberInput.tokens.borderColorFocus, ");}}", _Input.Input, "{caret-color:var(", _NumberInput.tokens.caretColor, ");&:not(.", _NumberInput.classes.errorAnimation, "){color:var(", _NumberInput.tokens.colorClear, ");}}", _Input.AdditionalText, "{color:var(", _NumberInput.tokens.additionalTextColorClear, ");}};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdmFyaWF0aW9ucy9fY2xlYXIvYmFzZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFPdUIiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9OdW1iZXJJbnB1dC92YXJpYXRpb25zL19jbGVhci9iYXNlLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuXG5pbXBvcnQgeyBjbGFzc2VzLCB0b2tlbnMgfSBmcm9tICcuLi8uLi9OdW1iZXJJbnB1dC50b2tlbnMnO1xuaW1wb3J0IHsgaWNvbkJ1dHRvblRva2VucyB9IGZyb20gJy4uLy4uLy4uL0ljb25CdXR0b24nO1xuaW1wb3J0IHsgU3R5bGVkSWNvbkJ1dHRvbiB9IGZyb20gJy4uLy4uL3VpL0FjdGlvbkJ1dHRvbi9BY3Rpb25CdXR0b24uc3R5bGVzJztcbmltcG9ydCB7IEFkZGl0aW9uYWxUZXh0LCBJbnB1dCwgSW5wdXRXcmFwcGVyIH0gZnJvbSAnLi4vLi4vdWkvSW5wdXQvSW5wdXQuc3R5bGVzJztcblxuZXhwb3J0IGNvbnN0IGJhc2UgPSBjc3NgXG4gICAgJi4ke2NsYXNzZXMuY2xlYXJWaWV3fSB7XG4gICAgICAgIGJhY2tncm91bmQ6IHRyYW5zcGFyZW50O1xuXG4gICAgICAgICR7U3R5bGVkSWNvbkJ1dHRvbn0ge1xuICAgICAgICAgICAgJHtpY29uQnV0dG9uVG9rZW5zLmljb25CdXR0b25Db2xvcn06IHZhcigke3Rva2Vucy5pY29uQnV0dG9uQ29sb3JDbGVhcn0pO1xuICAgICAgICAgICAgJHtpY29uQnV0dG9uVG9rZW5zLmljb25CdXR0b25CYWNrZ3JvdW5kQ29sb3J9OiB0cmFuc3BhcmVudDtcbiAgICAgICAgICAgICR7aWNvbkJ1dHRvblRva2Vucy5pY29uQnV0dG9uQ29sb3JIb3Zlcn06IHZhcigke3Rva2Vucy5pY29uQnV0dG9uQ29sb3JDbGVhcn0pO1xuICAgICAgICAgICAgJHtpY29uQnV0dG9uVG9rZW5zLmljb25CdXR0b25CYWNrZ3JvdW5kQ29sb3JIb3Zlcn06IHRyYW5zcGFyZW50O1xuICAgICAgICAgICAgJHtpY29uQnV0dG9uVG9rZW5zLmljb25CdXR0b25Db2xvckFjdGl2ZX06IHZhcigke3Rva2Vucy5pY29uQnV0dG9uQ29sb3JDbGVhcn0pO1xuICAgICAgICAgICAgJHtpY29uQnV0dG9uVG9rZW5zLmljb25CdXR0b25CYWNrZ3JvdW5kQ29sb3JBY3RpdmV9OiB0cmFuc3BhcmVudDtcblxuICAgICAgICAgICAgOmhvdmVyLFxuICAgICAgICAgICAgOmFjdGl2ZSB7XG4gICAgICAgICAgICAgICAgY29sb3I6IHZhcigke3Rva2Vucy5pY29uQnV0dG9uQ29sb3JDbGVhcn0pO1xuICAgICAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6IHRyYW5zcGFyZW50O1xuICAgICAgICAgICAgfVxuICAgIFxuICAgICAgICAgICAgJi4ke2NsYXNzZXMuYWN0aW9uQnV0dG9uRGVjcmVtZW50RGlzYWJsZWR9LCAmLiR7Y2xhc3Nlcy5hY3Rpb25CdXR0b25JbmNyZW1lbnREaXNhYmxlZH0ge1xuICAgICAgICAgICAgICAgIDpob3ZlcixcbiAgICAgICAgICAgICAgICA6YWN0aXZlIHtcbiAgICAgICAgICAgICAgICAgICAgY29sb3I6IHZhcigke3Rva2Vucy5pY29uQnV0dG9uQ29sb3JDbGVhcn0pO1xuICAgICAgICAgICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiB0cmFuc3BhcmVudDtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICBcbiAgICAgICAgJiYgJHtJbnB1dFdyYXBwZXJ9e1xuICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogdHJhbnNwYXJlbnQ7XG4gICAgICAgICAgICBib3gtc2hhZG93OiB0cmFuc3BhcmVudDtcbiAgICAgICAgICAgIFxuICAgICAgICAgICAgJjpmb2N1cy13aXRoaW4ge1xuICAgICAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6IHZhcigke3Rva2Vucy5iYWNrZ3JvdW5kQ29sb3JGb2N1c30pO1xuICAgICAgICAgICAgICAgIGJveC1zaGFkb3c6IGluc2V0IDAgMCAwIHZhcigke3Rva2Vucy5pbnB1dFdyYXBwZXJCb3JkZXJXaWR0aH0pIHZhcigke3Rva2Vucy5ib3JkZXJDb2xvckZvY3VzfSk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICBcbiAgICAgICAgJHtJbnB1dH0ge1xuICAgICAgICAgICAgY2FyZXQtY29sb3I6IHZhcigke3Rva2Vucy5jYXJldENvbG9yfSk7XG5cbiAgICAgICAgICAgICY6bm90KC4ke2NsYXNzZXMuZXJyb3JBbmltYXRpb259KXtcbiAgICAgICAgICAgICAgICBjb2xvcjogdmFyKCR7dG9rZW5zLmNvbG9yQ2xlYXJ9KTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgIFxuICAgICAgICAke0FkZGl0aW9uYWxUZXh0fSB7XG4gICAgICAgICAgICBjb2xvcjogdmFyKCR7dG9rZW5zLmFkZGl0aW9uYWxUZXh0Q29sb3JDbGVhcn0pO1xuICAgICAgICB9XG4gICAgfVxuYDtcbiJdfQ== */"));
|
@@ -0,0 +1,9 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.base = void 0;
|
7
|
+
var _react = /*#__PURE__*/require("@emotion/react");
|
8
|
+
var _NumberInput = /*#__PURE__*/require("../../NumberInput.tokens");
|
9
|
+
var base = exports.base = /*#__PURE__*/(0, _react.css)("&&.", _NumberInput.classes.disabled, "{pointer-events:none;opacity:var(", _NumberInput.tokens.disabledOpacity, ");cursor:not-allowed;};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdmFyaWF0aW9ucy9fZGlzYWJsZWQvYmFzZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFJdUIiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9OdW1iZXJJbnB1dC92YXJpYXRpb25zL19kaXNhYmxlZC9iYXNlLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuXG5pbXBvcnQgeyBjbGFzc2VzLCB0b2tlbnMgfSBmcm9tICcuLi8uLi9OdW1iZXJJbnB1dC50b2tlbnMnO1xuXG5leHBvcnQgY29uc3QgYmFzZSA9IGNzc2BcbiAgICAmJi4ke2NsYXNzZXMuZGlzYWJsZWR9IHtcbiAgICAgICAgcG9pbnRlci1ldmVudHM6IG5vbmU7XG4gICAgICAgIG9wYWNpdHk6IHZhcigke3Rva2Vucy5kaXNhYmxlZE9wYWNpdHl9KTtcbiAgICAgICAgY3Vyc29yOiBub3QtYWxsb3dlZDtcbiAgICB9XG5gO1xuIl19 */"));
|
@@ -0,0 +1,12 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.base = void 0;
|
7
|
+
var _react = /*#__PURE__*/require("@emotion/react");
|
8
|
+
var _NumberInput = /*#__PURE__*/require("../../NumberInput.tokens");
|
9
|
+
var _ActionButton = /*#__PURE__*/require("../../ui/ActionButton/ActionButton.styles");
|
10
|
+
var _Input = /*#__PURE__*/require("../../ui/Input/Input.styles");
|
11
|
+
var _Spinner = /*#__PURE__*/require("../../../Spinner");
|
12
|
+
var base = exports.base = /*#__PURE__*/(0, _react.css)(_ActionButton.StyledIconButton, "{", _NumberInput.privateTokens.segmentationBorderRadius, ":var(", _NumberInput.tokens.iconButtonRadius, ");&.", _NumberInput.classes.segmentedView, ",&.", _NumberInput.classes.solidView, "{", _NumberInput.privateTokens.segmentationBorderRadius, ":var(", _NumberInput.tokens.iconButtonSegmentationRadius, ", var(", _NumberInput.tokens.iconButtonRadius, "));}&.", _NumberInput.classes.actionButtonDecrement, "{border-radius:var(", _NumberInput.tokens.iconButtonRadius, ") var(", _NumberInput.privateTokens.segmentationBorderRadius, ") var(", _NumberInput.privateTokens.segmentationBorderRadius, ") var(", _NumberInput.tokens.iconButtonRadius, ");}&.", _NumberInput.classes.actionButtonIncrement, "{border-radius:var(", _NumberInput.privateTokens.segmentationBorderRadius, ") var(", _NumberInput.tokens.iconButtonRadius, ") var(", _NumberInput.tokens.iconButtonRadius, ") var(", _NumberInput.privateTokens.segmentationBorderRadius, ");}&.", _NumberInput.classes.solidView, "{background:transparent;:hover{background-color:var(", _NumberInput.tokens.iconButtonBackgroundColorHover, ");}:active{background-color:var(", _NumberInput.tokens.iconButtonBackgroundColorActive, ");}&.", _NumberInput.classes.actionButtonDecrementDisabled, ",&.", _NumberInput.classes.actionButtonIncrementDisabled, "{:hover,:active{background-color:transparent;}}}&.", _NumberInput.classes.solidView, "{&.", _NumberInput.classes.actionButtonDecrementDisabled, ",&.", _NumberInput.classes.actionButtonIncrementDisabled, "{opacity:1;svg{opacity:var(", _NumberInput.tokens.actionButtonDisabledOpacity, ");}:hover,:active{svg{opacity:var(", _NumberInput.tokens.actionButtonDisabledOpacity, ");}}}}}&.", _NumberInput.classes.solidView, "{background:var(", _NumberInput.tokens.backgroundColorSolid, ");border-radius:var(", _NumberInput.tokens.iconButtonRadius, ");", _Input.InputWrapper, "{position:relative;color:var(", _NumberInput.tokens.colorSolid, ");&:focus-within{background-color:var(", _NumberInput.tokens.backgroundColorSolidFocus, ");box-shadow:inset 0 0 0 var(", _NumberInput.tokens.inputWrapperBorderWidth, ") var(", _NumberInput.tokens.borderColorSolidFocus, ");}}", _Input.StyledSpinner, "{", _Spinner.spinnerTokens.color, ":var(", _NumberInput.tokens.loaderSpinnerColorSolid, ");}", _Input.Input, "{caret-color:var(", _NumberInput.tokens.caretColorSolid, ", var(", _NumberInput.tokens.caretColor, "));&:not(.", _NumberInput.classes.errorAnimation, "){color:var(", _NumberInput.tokens.colorSolid, ");}}", _Input.AdditionalText, "{color:var(", _NumberInput.tokens.additionalTextColorSolid, ");}};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdmFyaWF0aW9ucy9fc2VnbWVudGF0aW9uL2Jhc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBT3VCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdmFyaWF0aW9ucy9fc2VnbWVudGF0aW9uL2Jhc2UudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7IGNsYXNzZXMsIHBya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nNwYXJlbnQ7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgJi4ke2NsYXNzZXMuc29saWRWaWV3fSB7XG4gICAgICAgICAgICAmLiR7Y2xhc3Nlcy5hY3Rpb25CdXR0b25EZWNyZW1lbnREaXNhYmxlZH0sICYuJHtjbGFzc2VzLmFjdGlvbkJ1dHRvbkluY3JlbWVudERpc2FibGVkfSB7XG4gICAgICAgICAgICAgICAgb3BhY2l0eTogMTtcblxuICAgICAgICAgICAgICAgIHN2ZyB7XG4gICAgICAgICAgICAgICAgICAgIG9wYWNpdHk6IHZhcigke3Rva2Vucy5hY3Rpb25CdXR0b25EaXNhYmxlZE9wYWNpdHl9KTtcbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICA6aG92ZXIsXG4gICAgICAgICAgICAgICAgOmFjdGl2ZSB7XG4gICAgICAgICAgICAgICAgICAgIHN2ZyB7XG4gICAgICAgICAgICAgICAgICAgICAgICBvcGFjaXR5OiB2YXIoJHt0b2tlbnMuYWN0aW9uQnV0dG9uRGlzYWJsZWRPcGFjaXR5fSk7XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAmLiR7Y2xhc3Nlcy5zb2xpZFZpZXd9IHtcbiAgICAgICAgYmFja2dyb3VuZDogdmFyKCR7dG9rZW5zLmJhY2tncm91bmRDb2xvclNvbGlkfSk7XG4gICAgICAgIGJvcmRlci1yYWRpdXM6IHZhcigke3Rva2Vucy5pY29uQnV0dG9uUmFkaXVzfSk7XG5cbiAgICAgICAgJHtJbnB1dFdyYXBwZXJ9IHtcbiAgICAgICAgICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcbiAgICAgICAgICAgIGNvbG9yOiB2YXIoJHt0b2tlbnMuY29sb3JTb2xpZH0pO1xuICAgICAgICAgICAgXG4gICAgICAgICAgICAmOmZvY3VzLXdpdGhpbiB7XG4gICAgICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogdmFyKCR7dG9rZW5zLmJhY2tncm91bmRDb2xvclNvbGlkRm9jdXN9KTtcbiAgICAgICAgICAgICAgICBib3gtc2hhZG93OiBpbnNldCAwIDAgMCB2YXIoJHt0b2tlbnMuaW5wdXRXcmFwcGVyQm9yZGVyV2lkdGh9KSB2YXIoJHt0b2tlbnMuYm9yZGVyQ29sb3JTb2xpZEZvY3VzfSk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICBcbiAgICAgICAgJHtTdHlsZWRTcGlubmVyfSB7XG4gICAgICAgICAgICAke3NwaW5uZXJUb2tlbnMuY29sb3J9OiB2YXIoJHt0b2tlbnMubG9hZGVyU3Bpbm5lckNvbG9yU29saWR9KTtcbiAgICAgICAgfVxuICAgIFxuICAgICAgICAke0lucHV0fSB7XG4gICAgICAgICAgICBjYXJldC1jb2xvcjogdmFyKCR7dG9rZW5zLmNhcmV0Q29sb3JTb2xpZH0sIHZhcigke3Rva2Vucy5jYXJldENvbG9yfSkpO1xuXG4gICAgICAgICAgICAmOm5vdCguJHtjbGFzc2VzLmVycm9yQW5pbWF0aW9ufSl7XG4gICAgICAgICAgICAgICAgY29sb3I6IHZhcigke3Rva2Vucy5jb2xvclNvbGlkfSk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICBcbiAgICAgICAgJHtBZGRpdGlvbmFsVGV4dH0ge1xuICAgICAgICAgICAgY29sb3I6IHZhcigke3Rva2Vucy5hZGRpdGlvbmFsVGV4dENvbG9yU29saWR9KTtcbiAgICAgICAgfVxuICAgIH1cbmA7XG4iXX0= */"));
|
@@ -0,0 +1 @@
|
|
1
|
+
["--plasma-number-input_icon-button_segmentation_radius", "--plasma-number-input_background-color-solid"]
|
@@ -0,0 +1,11 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.base = void 0;
|
7
|
+
var _react = /*#__PURE__*/require("@emotion/react");
|
8
|
+
var _NumberInput = /*#__PURE__*/require("../../NumberInput.tokens");
|
9
|
+
var _IconButton = /*#__PURE__*/require("../../../IconButton");
|
10
|
+
var _ActionButton = /*#__PURE__*/require("../../ui/ActionButton/ActionButton.styles");
|
11
|
+
var base = exports.base = /*#__PURE__*/(0, _react.css)(_ActionButton.StyledIconButton, "{", _IconButton.iconButtonTokens.iconButtonRadius, ":var(", _NumberInput.tokens.iconButtonRadius, ");};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdmFyaWF0aW9ucy9fc2hhcGUvYmFzZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNdUIiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9OdW1iZXJJbnB1dC92YXJpYXRpb25zL19zaGFwZS9iYXNlLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuXG5pbXBvcnQgeyB0b2tlbnMgfSBmcm9tICcuLi8uLi9OdW1iZXJJbnB1dC50b2tlbnMnO1xuaW1wb3J0IHsgaWNvbkJ1dHRvblRva2VucyB9IGZyb20gJy4uLy4uLy4uL0ljb25CdXR0b24nO1xuaW1wb3J0IHsgU3R5bGVkSWNvbkJ1dHRvbiB9IGZyb20gJy4uLy4uL3VpL0FjdGlvbkJ1dHRvbi9BY3Rpb25CdXR0b24uc3R5bGVzJztcblxuZXhwb3J0IGNvbnN0IGJhc2UgPSBjc3NgXG4gICAgJHtTdHlsZWRJY29uQnV0dG9ufSB7XG4gICAgICAgICR7aWNvbkJ1dHRvblRva2Vucy5pY29uQnV0dG9uUmFkaXVzfTogdmFyKCR7dG9rZW5zLmljb25CdXR0b25SYWRpdXN9KTtcbiAgICB9XG5gO1xuIl19 */"));
|
@@ -0,0 +1 @@
|
|
1
|
+
["--plasma-number-input_icon-button_radius"]
|
@@ -0,0 +1,13 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.base = void 0;
|
7
|
+
var _react = /*#__PURE__*/require("@emotion/react");
|
8
|
+
var _NumberInput = /*#__PURE__*/require("../../NumberInput.tokens");
|
9
|
+
var _IconButton = /*#__PURE__*/require("../../../IconButton");
|
10
|
+
var _ActionButton = /*#__PURE__*/require("../../ui/ActionButton/ActionButton.styles");
|
11
|
+
var _Input = /*#__PURE__*/require("../../ui/Input/Input.styles");
|
12
|
+
var _Spinner = /*#__PURE__*/require("../../../Spinner");
|
13
|
+
var base = exports.base = /*#__PURE__*/(0, _react.css)("width:var(", _NumberInput.privateTokens.inputWidth, ");min-width:var(", _NumberInput.tokens.rootMinWidth, ");", _ActionButton.StyledIconButton, "{", _IconButton.iconButtonTokens.iconButtonHeight, ":var(", _NumberInput.tokens.iconButtonHeight, ");", _IconButton.iconButtonTokens.iconButtonWidth, ":var(", _NumberInput.tokens.iconButtonWidth, ");", _IconButton.iconButtonTokens.iconButtonPadding, ":var(", _NumberInput.tokens.iconButtonPadding, ");", _IconButton.iconButtonTokens.iconButtonFontFamily, ":var(", _NumberInput.tokens.iconButtonFontFamily, ");", _IconButton.iconButtonTokens.iconButtonFontSize, ":var(", _NumberInput.tokens.iconButtonFontSize, ");", _IconButton.iconButtonTokens.iconButtonFontStyle, ":var(", _NumberInput.tokens.iconButtonFontStyle, ");", _IconButton.iconButtonTokens.iconButtonFontWeight, ":var(", _NumberInput.tokens.iconButtonFontWeight, ");", _IconButton.iconButtonTokens.iconButtonLetterSpacing, ":var(", _NumberInput.tokens.iconButtonLetterSpacing, ");", _IconButton.iconButtonTokens.iconButtonLineHeight, ":var(", _NumberInput.tokens.iconButtonLineHeight, ");}", _Input.InputWrapper, "{margin:var(", _NumberInput.tokens.inputWrapperMargin, ");border-radius:var(", _NumberInput.tokens.inputWrapperBorderRadius, ");}", _Input.TextWrapper, "{height:var(", _NumberInput.tokens.textWrapperHeight, ");padding:var(", _NumberInput.tokens.textWrapperPadding, ");}", _Input.DynamicInput, ",", _Input.Input, ",", _Input.AdditionalText, "{font-family:var(", _NumberInput.tokens.fontFamily, ");font-size:var(", _NumberInput.tokens.fontSize, ");font-style:var(", _NumberInput.tokens.fontStyle, ");font-weight:var(", _NumberInput.tokens.fontWeight, ");letter-spacing:var(", _NumberInput.tokens.letterSpacing, ");line-height:var(", _NumberInput.tokens.lineHeight, ");}", _Input.AdditionalText, "{&.", _NumberInput.classes.textBefore, "{margin-right:var(", _NumberInput.tokens.textBeforeMarginRight, ");}&.", _NumberInput.classes.textAfter, "{margin-left:var(", _NumberInput.tokens.textAfterMarginLeft, ");}}", _Input.StyledSpinner, "{", _Spinner.spinnerTokens.size, ":var(", _NumberInput.tokens.loaderSpinnerSize, ");};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdmFyaWF0aW9ucy9fc2l6ZS9iYXNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWV1QiIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL051bWJlcklucHV0L3ZhcmlhdGlvbnMvX3NpemUvYmFzZS50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IG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G5cbiAgICAke0R5bmFtaWNJbnB1dH0sICR7SW5wdXR9LCAke0FkZGl0aW9uYWxUZXh0fSB7XG4gICAgICAgIGZvbnQtZmFtaWx5OiB2YXIoJHt0b2tlbnMuZm9udEZhbWlseX0pO1xuICAgICAgICBmb250LXNpemU6IHZhcigke3Rva2Vucy5mb250U2l6ZX0pO1xuICAgICAgICBmb250LXN0eWxlOiB2YXIoJHt0b2tlbnMuZm9udFN0eWxlfSk7XG4gICAgICAgIGZvbnQtd2VpZ2h0OiB2YXIoJHt0b2tlbnMuZm9udFdlaWdodH0pO1xuICAgICAgICBsZXR0ZXItc3BhY2luZzogdmFyKCR7dG9rZW5zLmxldHRlclNwYWNpbmd9KTtcbiAgICAgICAgbGluZS1oZWlnaHQ6IHZhcigke3Rva2Vucy5saW5lSGVpZ2h0fSk7XG4gICAgfVxuXG4gICAgJHtBZGRpdGlvbmFsVGV4dH0ge1xuICAgICAgICAmLiR7Y2xhc3Nlcy50ZXh0QmVmb3JlfSB7XG4gICAgICAgICAgICBtYXJnaW4tcmlnaHQ6IHZhcigke3Rva2Vucy50ZXh0QmVmb3JlTWFyZ2luUmlnaHR9KTtcbiAgICAgICAgfVxuXG4gICAgICAgICYuJHtjbGFzc2VzLnRleHRBZnRlcn0ge1xuICAgICAgICAgICAgbWFyZ2luLWxlZnQ6IHZhcigke3Rva2Vucy50ZXh0QWZ0ZXJNYXJnaW5MZWZ0fSk7XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAke1N0eWxlZFNwaW5uZXJ9IHtcbiAgICAgICAgJHtzcGlubmVyVG9rZW5zLnNpemV9OiB2YXIoJHt0b2tlbnMubG9hZGVyU3Bpbm5lclNpemV9KTtcbiAgICB9XG5gO1xuIl19 */"));
|
@@ -0,0 +1,22 @@
|
|
1
|
+
[
|
2
|
+
"--plasma-number-input_icon-button_height",
|
3
|
+
"--plasma-number-input_icon-button_width",
|
4
|
+
"--plasma-number-input_icon-button_padding",
|
5
|
+
"--plasma-number-input_icon-button_font-family",
|
6
|
+
"--plasma-number-input_icon-button_font-size",
|
7
|
+
"--plasma-number-input_icon-button_font-style",
|
8
|
+
"--plasma-number-input_icon-button_font-weight",
|
9
|
+
"--plasma-number-input_icon-button_letter-spacing",
|
10
|
+
"--plasma-number-input_icon-button_line-height",
|
11
|
+
"--plasma-number-input_font-family",
|
12
|
+
"--plasma-number-input_font-style",
|
13
|
+
"--plasma-number-input_font-size",
|
14
|
+
"--plasma-number-input_font-weight",
|
15
|
+
"--plasma-number-input_letter-spacing",
|
16
|
+
"--plasma-number-input_line-height",
|
17
|
+
"--plasma-number-input_text-wrapper_height",
|
18
|
+
"--plasma-number-input_text-wrapper_padding",
|
19
|
+
"--plasma-number-input_loader-spinner_size",
|
20
|
+
"--plasma-number-input_text-before_margin-right",
|
21
|
+
"--plasma-number-input_text-after_margin-left"
|
22
|
+
]
|
@@ -0,0 +1,13 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.base = void 0;
|
7
|
+
var _react = /*#__PURE__*/require("@emotion/react");
|
8
|
+
var _NumberInput = /*#__PURE__*/require("../../NumberInput.tokens");
|
9
|
+
var _IconButton = /*#__PURE__*/require("../../../IconButton");
|
10
|
+
var _ActionButton = /*#__PURE__*/require("../../ui/ActionButton/ActionButton.styles");
|
11
|
+
var _Input = /*#__PURE__*/require("../../ui/Input/Input.styles");
|
12
|
+
var _Spinner = /*#__PURE__*/require("../../../Spinner");
|
13
|
+
var base = exports.base = /*#__PURE__*/(0, _react.css)(_ActionButton.StyledIconButton, "{", _IconButton.iconButtonTokens.iconButtonColor, ":var(", _NumberInput.tokens.iconButtonColor, ");", _IconButton.iconButtonTokens.iconButtonBackgroundColor, ":var(", _NumberInput.tokens.iconButtonBackgroundColor, ");", _IconButton.iconButtonTokens.iconButtonColorHover, ":var(", _NumberInput.tokens.iconButtonColorHover, ");", _IconButton.iconButtonTokens.iconButtonBackgroundColorHover, ":var(", _NumberInput.tokens.iconButtonBackgroundColorHover, ");", _IconButton.iconButtonTokens.iconButtonColorActive, ":var(", _NumberInput.tokens.iconButtonColorActive, ");", _IconButton.iconButtonTokens.iconButtonBackgroundColorActive, ":var(", _NumberInput.tokens.iconButtonBackgroundColorActive, ");&.", _NumberInput.classes.actionButtonDecrementDisabled, ",&.", _NumberInput.classes.actionButtonIncrementDisabled, "{opacity:var(", _NumberInput.tokens.actionButtonDisabledOpacity, ");cursor:not-allowed;:hover,:active{scale:none;color:var(", _NumberInput.tokens.iconButtonColor, ");background-color:var(", _NumberInput.tokens.iconButtonBackgroundColor, ");}}}&& ", _Input.InputWrapper, "{&:focus-within{background-color:var(", _NumberInput.tokens.backgroundColorFocus, ");box-shadow:inset 0 0 0 var(", _NumberInput.tokens.inputWrapperBorderWidth, ") var(", _NumberInput.tokens.borderColorFocus, ");}}", _Input.StyledSpinner, "{", _Spinner.spinnerTokens.color, ":var(", _NumberInput.tokens.loaderSpinnerColor, ");}", _Input.Input, "{color:var(", _NumberInput.tokens.color, ");caret-color:var(", _NumberInput.tokens.caretColor, ");}", _Input.AdditionalText, "{color:var(", _NumberInput.tokens.additionalTextColor, ");};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdmFyaWF0aW9ucy9fdmlldy9iYXNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVF1QiIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL051bWJlcklucHV0L3ZhcmlhdGlvbnMvX3ZpZXcvYmFzZS50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0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XN9KTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgICR7U3R5bGVkU3Bpbm5lcn0ge1xuICAgICAgICAke3NwaW5uZXJUb2tlbnMuY29sb3J9OiB2YXIoJHt0b2tlbnMubG9hZGVyU3Bpbm5lckNvbG9yfSk7XG4gICAgfVxuXG4gICAgJHtJbnB1dH0ge1xuICAgICAgICBjb2xvcjogdmFyKCR7dG9rZW5zLmNvbG9yfSk7XG4gICAgICAgIGNhcmV0LWNvbG9yOiB2YXIoJHt0b2tlbnMuY2FyZXRDb2xvcn0pO1xuICAgIH1cblxuICAgICR7QWRkaXRpb25hbFRleHR9IHtcbiAgICAgICAgY29sb3I6IHZhcigke3Rva2Vucy5hZGRpdGlvbmFsVGV4dENvbG9yfSk7XG4gICAgfVxuYDtcbiJdfQ== */"));
|
@@ -0,0 +1,14 @@
|
|
1
|
+
[
|
2
|
+
"--plasma-number-input_icon-button_color",
|
3
|
+
"--plasma-number-input_icon-button_background-color",
|
4
|
+
"--plasma-number-input_icon-button_color-hover",
|
5
|
+
"--plasma-number-input_icon-button_background-color-hover",
|
6
|
+
"--plasma-number-input_icon-button_color-active",
|
7
|
+
"--plasma-number-input_icon-button_background-color-active",
|
8
|
+
"--plasma-number-input_loader-spinner_color",
|
9
|
+
"--plasma-number-input_color",
|
10
|
+
"--plasma-number-input_additional-text_color",
|
11
|
+
"--plasma-number-input_action-button_disabled-opacity",
|
12
|
+
"--plasma-number-input_background-color-focus",
|
13
|
+
"--plasma-number-input_border-color-focus"
|
14
|
+
]
|
package/emotion/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js
CHANGED
@@ -24,8 +24,8 @@ var PaginationSelectPerPage = exports.PaginationSelectPerPage = function Paginat
|
|
24
24
|
listWidth = _ref.listWidth,
|
25
25
|
rest = _objectWithoutProperties(_ref, _excluded);
|
26
26
|
var handleSelectChange = function handleSelectChange(newValue) {
|
27
|
-
if (newValue
|
28
|
-
onChangeValue(Number(newValue));
|
27
|
+
if (newValue) {
|
28
|
+
onChangeValue === null || onChangeValue === void 0 || onChangeValue(Number(newValue));
|
29
29
|
}
|
30
30
|
};
|
31
31
|
var transformedList = perPageList.map(function (num) {
|
@@ -67,6 +67,17 @@ var selectRoot = exports.selectRoot = function selectRoot(Root) {
|
|
67
67
|
separator = props.separator,
|
68
68
|
outerCloseAfterSelect = props.closeAfterSelect,
|
69
69
|
rest = _objectWithoutProperties(props, _excluded);
|
70
|
+
var _useState = (0, _react.useState)(outerValue || props.multiselect ? [] : ''),
|
71
|
+
_useState2 = _slicedToArray(_useState, 2),
|
72
|
+
internalValue = _useState2[0],
|
73
|
+
setInternalValue = _useState2[1];
|
74
|
+
var value = outerValue || internalValue;
|
75
|
+
var onChange = function onChange(e) {
|
76
|
+
if (outerOnChange) {
|
77
|
+
outerOnChange(e);
|
78
|
+
}
|
79
|
+
setInternalValue(e);
|
80
|
+
};
|
70
81
|
var transformedItems = (0, _react.useMemo)(function () {
|
71
82
|
return (0, _utils2.initialItemsTransform)(items || []);
|
72
83
|
}, [items]);
|
@@ -76,12 +87,6 @@ var selectRoot = exports.selectRoot = function selectRoot(Root) {
|
|
76
87
|
focusedToValueMap = _usePathMaps2[1],
|
77
88
|
valueToCheckedMap = _usePathMaps2[2],
|
78
89
|
valueToItemMap = _usePathMaps2[3];
|
79
|
-
var value = (0, _utils2.getInitialValue)(outerValue, valueToItemMap);
|
80
|
-
var onChange = function onChange(e) {
|
81
|
-
if (outerOnChange) {
|
82
|
-
outerOnChange(e);
|
83
|
-
}
|
84
|
-
};
|
85
90
|
var _useReducer = (0, _react.useReducer)(_reducers.pathReducer, []),
|
86
91
|
_useReducer2 = _slicedToArray(_useReducer, 2),
|
87
92
|
path = _useReducer2[0],
|
@@ -94,10 +99,10 @@ var selectRoot = exports.selectRoot = function selectRoot(Root) {
|
|
94
99
|
_useReducer6 = _slicedToArray(_useReducer5, 2),
|
95
100
|
focusedChipIndex = _useReducer6[0],
|
96
101
|
dispatchFocusedChipIndex = _useReducer6[1];
|
97
|
-
var
|
98
|
-
|
99
|
-
checked =
|
100
|
-
setChecked =
|
102
|
+
var _useState3 = (0, _react.useState)(valueToCheckedMap),
|
103
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
104
|
+
checked = _useState4[0],
|
105
|
+
setChecked = _useState4[1];
|
101
106
|
var closeAfterSelect = outerCloseAfterSelect !== null && outerCloseAfterSelect !== void 0 ? outerCloseAfterSelect : !props.multiselect;
|
102
107
|
var targetRef = (0, _hooks.useOutsideClick)(function () {
|
103
108
|
if (focusedChipIndex != null) {
|
@@ -163,7 +168,15 @@ var selectRoot = exports.selectRoot = function selectRoot(Root) {
|
|
163
168
|
if (e) {
|
164
169
|
e.stopPropagation();
|
165
170
|
}
|
166
|
-
var
|
171
|
+
var checkedCopy = new Map(checked);
|
172
|
+
var isCurrentChecked = checkedCopy.get(item.value);
|
173
|
+
checkedCopy.forEach(function (_, key) {
|
174
|
+
checkedCopy.set(key, false);
|
175
|
+
});
|
176
|
+
if (!isCurrentChecked) {
|
177
|
+
checkedCopy.set(item.value, 'done');
|
178
|
+
(0, _utils2.updateSingleAncestors)(item, checkedCopy, 'dot');
|
179
|
+
}
|
167
180
|
if (closeAfterSelect) {
|
168
181
|
dispatchPath({
|
169
182
|
type: 'reset'
|
@@ -235,7 +248,7 @@ var selectRoot = exports.selectRoot = function selectRoot(Root) {
|
|
235
248
|
}
|
236
249
|
}
|
237
250
|
setChecked(checkedCopy);
|
238
|
-
}, [
|
251
|
+
}, [value]);
|
239
252
|
return /*#__PURE__*/_react["default"].createElement(Root, _extends({
|
240
253
|
ref: ref,
|
241
254
|
size: size,
|
@@ -159,7 +159,7 @@ var useKeyNavigation = exports.useKeyNavigation = function useKeyNavigation(_ref
|
|
159
159
|
}
|
160
160
|
case keys.Backspace:
|
161
161
|
{
|
162
|
-
if (!multiselect
|
162
|
+
if (!multiselect) break;
|
163
163
|
if (focusedChipIndex !== null) {
|
164
164
|
var _currentItem = valueToItemMap.get(value[focusedChipIndex]);
|
165
165
|
handlePressDown(_currentItem);
|
@@ -41,7 +41,7 @@ var getLabel = function getLabel(_ref) {
|
|
41
41
|
text: renderValue ? renderValue(valueToItemMap.get(currentValue)) : itemLabel,
|
42
42
|
onClick: function onClick(e) {
|
43
43
|
e.stopPropagation();
|
44
|
-
onChipClick(currentValue
|
44
|
+
onChipClick(currentValue);
|
45
45
|
},
|
46
46
|
focused: focusedChipIndex === index
|
47
47
|
});
|