@salutejs/plasma-new-hope 0.186.0-canary.1511.11719682564.0 → 0.186.0-canary.1534.11720486647.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/index.css +0 -23
- package/cjs/index.js +0 -6
- package/cjs/index.js.map +1 -1
- package/emotion/cjs/components/_Icon/Icon.assets/ArrowBarDown.js +23 -0
- package/emotion/cjs/components/_Icon/Icons/IconArrowBarDown.js +22 -0
- package/emotion/cjs/components/_Icon/index.js +8 -1
- package/emotion/cjs/examples/plasma_b2c/components/Dropzone/Dropzone.js +215 -0
- package/emotion/cjs/examples/plasma_b2c/components/Dropzone/Dropzone.stories.tsx +58 -0
- package/emotion/cjs/examples/plasma_b2c/components/Dropzone/Dropzone.styles.js +80 -0
- package/emotion/cjs/examples/plasma_b2c/components/Dropzone/Dropzone.template-docs.mdx +136 -0
- package/emotion/cjs/index.js +0 -11
- package/emotion/es/components/_Icon/Icon.assets/ArrowBarDown.js +16 -0
- package/emotion/es/components/_Icon/Icons/IconArrowBarDown.js +15 -0
- package/emotion/es/components/_Icon/index.js +2 -1
- package/emotion/es/examples/plasma_b2c/components/Dropzone/Dropzone.js +207 -0
- package/emotion/es/examples/plasma_b2c/components/Dropzone/Dropzone.stories.tsx +58 -0
- package/emotion/es/examples/plasma_b2c/components/Dropzone/Dropzone.styles.js +73 -0
- package/emotion/es/examples/plasma_b2c/components/Dropzone/Dropzone.template-docs.mdx +136 -0
- package/emotion/es/index.js +1 -2
- package/es/index.css +0 -23
- package/es/index.js +0 -2
- package/es/index.js.map +1 -1
- package/package.json +2 -2
- package/styled-components/cjs/components/_Icon/Icon.assets/ArrowBarDown.js +23 -0
- package/styled-components/cjs/components/_Icon/Icons/IconArrowBarDown.js +22 -0
- package/styled-components/cjs/components/_Icon/index.js +8 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Dropzone/Dropzone.js +215 -0
- package/styled-components/cjs/examples/plasma_b2c/components/Dropzone/Dropzone.stories.tsx +58 -0
- package/styled-components/cjs/examples/plasma_b2c/components/Dropzone/Dropzone.styles.js +33 -0
- package/styled-components/cjs/examples/plasma_b2c/components/Dropzone/Dropzone.template-docs.mdx +136 -0
- package/styled-components/cjs/index.js +0 -11
- package/styled-components/es/components/_Icon/Icon.assets/ArrowBarDown.js +16 -0
- package/styled-components/es/components/_Icon/Icons/IconArrowBarDown.js +15 -0
- package/styled-components/es/components/_Icon/index.js +2 -1
- package/styled-components/es/examples/plasma_b2c/components/Dropzone/Dropzone.js +207 -0
- package/styled-components/es/examples/plasma_b2c/components/Dropzone/Dropzone.stories.tsx +58 -0
- package/styled-components/es/examples/plasma_b2c/components/Dropzone/Dropzone.styles.js +26 -0
- package/styled-components/es/examples/plasma_b2c/components/Dropzone/Dropzone.template-docs.mdx +136 -0
- package/styled-components/es/index.js +1 -2
- package/types/components/_Icon/Icon.assets/ArrowBarDown.d.ts +4 -0
- package/types/components/_Icon/Icon.assets/ArrowBarDown.d.ts.map +1 -0
- package/types/components/_Icon/Icons/IconArrowBarDown.d.ts +4 -0
- package/types/components/_Icon/Icons/IconArrowBarDown.d.ts.map +1 -0
- package/types/components/_Icon/index.d.ts +1 -0
- package/types/components/_Icon/index.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Dropzone/Dropzone.d.ts +20 -0
- package/types/examples/plasma_b2c/components/Dropzone/Dropzone.d.ts.map +1 -0
- package/types/examples/plasma_b2c/components/Dropzone/Dropzone.styles.d.ts +15 -0
- package/types/examples/plasma_b2c/components/Dropzone/Dropzone.styles.d.ts.map +1 -0
- package/types/examples/plasma_b2c/components/Dropzone/Dropzone.types.d.ts +72 -0
- package/types/examples/plasma_b2c/components/Dropzone/Dropzone.types.d.ts.map +1 -0
- package/types/index.d.ts +0 -1
- package/types/index.d.ts.map +1 -1
- package/cjs/components/NumberInput/NumberInput.css +0 -52
- package/cjs/components/NumberInput/NumberInput.js +0 -207
- package/cjs/components/NumberInput/NumberInput.js.map +0 -1
- package/cjs/components/NumberInput/NumberInput.styles.js +0 -9
- package/cjs/components/NumberInput/NumberInput.styles.js.map +0 -1
- package/cjs/components/NumberInput/NumberInput.styles_jeawjl.css +0 -1
- package/cjs/components/NumberInput/NumberInput.tokens.js +0 -102
- package/cjs/components/NumberInput/NumberInput.tokens.js.map +0 -1
- package/cjs/components/NumberInput/ui/ActionButton/ActionButton.js +0 -19
- package/cjs/components/NumberInput/ui/ActionButton/ActionButton.js.map +0 -1
- package/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles.js +0 -22
- package/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles.js.map +0 -1
- package/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles_x642ct.css +0 -1
- package/cjs/components/NumberInput/ui/Input/Input.css +0 -15
- package/cjs/components/NumberInput/ui/Input/Input.js +0 -205
- package/cjs/components/NumberInput/ui/Input/Input.js.map +0 -1
- package/cjs/components/NumberInput/ui/Input/Input.styles.js +0 -96
- package/cjs/components/NumberInput/ui/Input/Input.styles.js.map +0 -1
- package/cjs/components/NumberInput/ui/Input/Input.styles_fhgb95.css +0 -8
- package/cjs/components/NumberInput/utils/index.js +0 -12
- package/cjs/components/NumberInput/utils/index.js.map +0 -1
- package/cjs/components/NumberInput/variations/_background-type/base.js +0 -9
- package/cjs/components/NumberInput/variations/_background-type/base.js.map +0 -1
- package/cjs/components/NumberInput/variations/_background-type/base_dx9knv.css +0 -1
- package/cjs/components/NumberInput/variations/_disabled/base.js +0 -9
- package/cjs/components/NumberInput/variations/_disabled/base.js.map +0 -1
- package/cjs/components/NumberInput/variations/_disabled/base_1sl0mh8.css +0 -1
- package/cjs/components/NumberInput/variations/_segmentation/base.js +0 -9
- package/cjs/components/NumberInput/variations/_segmentation/base.js.map +0 -1
- package/cjs/components/NumberInput/variations/_segmentation/base_14s5rot.css +0 -1
- package/cjs/components/NumberInput/variations/_shape/base.js +0 -9
- package/cjs/components/NumberInput/variations/_shape/base.js.map +0 -1
- package/cjs/components/NumberInput/variations/_shape/base_k05biw.css +0 -1
- package/cjs/components/NumberInput/variations/_size/base.js +0 -9
- package/cjs/components/NumberInput/variations/_size/base.js.map +0 -1
- package/cjs/components/NumberInput/variations/_size/base_yqdmk4.css +0 -1
- package/cjs/components/NumberInput/variations/_view/base.js +0 -9
- package/cjs/components/NumberInput/variations/_view/base.js.map +0 -1
- package/cjs/components/NumberInput/variations/_view/base_tnfbb5.css +0 -1
- package/emotion/cjs/components/NumberInput/NumberInput.js +0 -216
- package/emotion/cjs/components/NumberInput/NumberInput.styles.js +0 -17
- package/emotion/cjs/components/NumberInput/NumberInput.template-doc.mdx +0 -214
- package/emotion/cjs/components/NumberInput/NumberInput.tokens.js +0 -99
- package/emotion/cjs/components/NumberInput/index.js +0 -31
- package/emotion/cjs/components/NumberInput/ui/ActionButton/ActionButton.js +0 -18
- package/emotion/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles.js +0 -16
- package/emotion/cjs/components/NumberInput/ui/Input/Input.js +0 -213
- package/emotion/cjs/components/NumberInput/ui/Input/Input.styles.js +0 -81
- package/emotion/cjs/components/NumberInput/ui/Input/Input.types.js +0 -5
- package/emotion/cjs/components/NumberInput/ui/index.js +0 -19
- package/emotion/cjs/components/NumberInput/utils/index.js +0 -9
- package/emotion/cjs/components/NumberInput/variations/_background-type/base.js +0 -10
- package/emotion/cjs/components/NumberInput/variations/_background-type/tokens.json +0 -6
- package/emotion/cjs/components/NumberInput/variations/_disabled/base.js +0 -9
- package/emotion/cjs/components/NumberInput/variations/_disabled/tokens.json +0 -4
- package/emotion/cjs/components/NumberInput/variations/_segmentation/base.js +0 -12
- package/emotion/cjs/components/NumberInput/variations/_segmentation/tokens.json +0 -1
- package/emotion/cjs/components/NumberInput/variations/_shape/base.js +0 -11
- package/emotion/cjs/components/NumberInput/variations/_shape/tokens.json +0 -1
- package/emotion/cjs/components/NumberInput/variations/_size/base.js +0 -13
- package/emotion/cjs/components/NumberInput/variations/_size/tokens.json +0 -22
- package/emotion/cjs/components/NumberInput/variations/_view/base.js +0 -13
- package/emotion/cjs/components/NumberInput/variations/_view/tokens.json +0 -14
- package/emotion/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +0 -46
- package/emotion/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.js +0 -11
- package/emotion/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +0 -108
- package/emotion/cjs/examples/plasma_web/components/NumberInput/NumberInput.config.js +0 -46
- package/emotion/cjs/examples/plasma_web/components/NumberInput/NumberInput.js +0 -11
- package/emotion/cjs/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +0 -108
- package/emotion/es/components/NumberInput/NumberInput.js +0 -208
- package/emotion/es/components/NumberInput/NumberInput.styles.js +0 -11
- package/emotion/es/components/NumberInput/NumberInput.template-doc.mdx +0 -214
- package/emotion/es/components/NumberInput/NumberInput.tokens.js +0 -93
- package/emotion/es/components/NumberInput/index.js +0 -2
- package/emotion/es/components/NumberInput/ui/ActionButton/ActionButton.js +0 -11
- package/emotion/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js +0 -9
- package/emotion/es/components/NumberInput/ui/Input/Input.js +0 -204
- package/emotion/es/components/NumberInput/ui/Input/Input.styles.js +0 -74
- package/emotion/es/components/NumberInput/ui/Input/Input.types.js +0 -1
- package/emotion/es/components/NumberInput/ui/index.js +0 -2
- package/emotion/es/components/NumberInput/utils/index.js +0 -3
- package/emotion/es/components/NumberInput/variations/_background-type/base.js +0 -4
- package/emotion/es/components/NumberInput/variations/_background-type/tokens.json +0 -6
- package/emotion/es/components/NumberInput/variations/_disabled/base.js +0 -3
- package/emotion/es/components/NumberInput/variations/_disabled/tokens.json +0 -4
- package/emotion/es/components/NumberInput/variations/_segmentation/base.js +0 -6
- package/emotion/es/components/NumberInput/variations/_segmentation/tokens.json +0 -1
- package/emotion/es/components/NumberInput/variations/_shape/base.js +0 -5
- package/emotion/es/components/NumberInput/variations/_shape/tokens.json +0 -1
- package/emotion/es/components/NumberInput/variations/_size/base.js +0 -7
- package/emotion/es/components/NumberInput/variations/_size/tokens.json +0 -22
- package/emotion/es/components/NumberInput/variations/_view/base.js +0 -7
- package/emotion/es/components/NumberInput/variations/_view/tokens.json +0 -14
- package/emotion/es/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +0 -40
- package/emotion/es/examples/plasma_b2c/components/NumberInput/NumberInput.js +0 -5
- package/emotion/es/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +0 -108
- package/emotion/es/examples/plasma_web/components/NumberInput/NumberInput.config.js +0 -40
- package/emotion/es/examples/plasma_web/components/NumberInput/NumberInput.js +0 -5
- package/emotion/es/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +0 -108
- package/es/components/NumberInput/NumberInput.css +0 -52
- package/es/components/NumberInput/NumberInput.js +0 -202
- package/es/components/NumberInput/NumberInput.js.map +0 -1
- package/es/components/NumberInput/NumberInput.styles.js +0 -5
- package/es/components/NumberInput/NumberInput.styles.js.map +0 -1
- package/es/components/NumberInput/NumberInput.styles_jeawjl.css +0 -1
- package/es/components/NumberInput/NumberInput.tokens.js +0 -96
- package/es/components/NumberInput/NumberInput.tokens.js.map +0 -1
- package/es/components/NumberInput/ui/ActionButton/ActionButton.js +0 -15
- package/es/components/NumberInput/ui/ActionButton/ActionButton.js.map +0 -1
- package/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js +0 -18
- package/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js.map +0 -1
- package/es/components/NumberInput/ui/ActionButton/ActionButton.styles_x642ct.css +0 -1
- package/es/components/NumberInput/ui/Input/Input.css +0 -15
- package/es/components/NumberInput/ui/Input/Input.js +0 -201
- package/es/components/NumberInput/ui/Input/Input.js.map +0 -1
- package/es/components/NumberInput/ui/Input/Input.styles.js +0 -85
- package/es/components/NumberInput/ui/Input/Input.styles.js.map +0 -1
- package/es/components/NumberInput/ui/Input/Input.styles_fhgb95.css +0 -8
- package/es/components/NumberInput/utils/index.js +0 -6
- package/es/components/NumberInput/utils/index.js.map +0 -1
- package/es/components/NumberInput/variations/_background-type/base.js +0 -5
- package/es/components/NumberInput/variations/_background-type/base.js.map +0 -1
- package/es/components/NumberInput/variations/_background-type/base_dx9knv.css +0 -1
- package/es/components/NumberInput/variations/_disabled/base.js +0 -5
- package/es/components/NumberInput/variations/_disabled/base.js.map +0 -1
- package/es/components/NumberInput/variations/_disabled/base_1sl0mh8.css +0 -1
- package/es/components/NumberInput/variations/_segmentation/base.js +0 -5
- package/es/components/NumberInput/variations/_segmentation/base.js.map +0 -1
- package/es/components/NumberInput/variations/_segmentation/base_14s5rot.css +0 -1
- package/es/components/NumberInput/variations/_shape/base.js +0 -5
- package/es/components/NumberInput/variations/_shape/base.js.map +0 -1
- package/es/components/NumberInput/variations/_shape/base_k05biw.css +0 -1
- package/es/components/NumberInput/variations/_size/base.js +0 -5
- package/es/components/NumberInput/variations/_size/base.js.map +0 -1
- package/es/components/NumberInput/variations/_size/base_yqdmk4.css +0 -1
- package/es/components/NumberInput/variations/_view/base.js +0 -5
- package/es/components/NumberInput/variations/_view/base.js.map +0 -1
- package/es/components/NumberInput/variations/_view/base_tnfbb5.css +0 -1
- package/styled-components/cjs/components/NumberInput/NumberInput.js +0 -216
- package/styled-components/cjs/components/NumberInput/NumberInput.styles.js +0 -8
- package/styled-components/cjs/components/NumberInput/NumberInput.template-doc.mdx +0 -214
- package/styled-components/cjs/components/NumberInput/NumberInput.tokens.js +0 -99
- package/styled-components/cjs/components/NumberInput/NumberInput.types.js +0 -5
- package/styled-components/cjs/components/NumberInput/index.js +0 -31
- package/styled-components/cjs/components/NumberInput/ui/ActionButton/ActionButton.js +0 -18
- package/styled-components/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles.js +0 -15
- package/styled-components/cjs/components/NumberInput/ui/ActionButton/ActionButton.types.js +0 -5
- package/styled-components/cjs/components/NumberInput/ui/Input/Input.js +0 -213
- package/styled-components/cjs/components/NumberInput/ui/Input/Input.styles.js +0 -48
- package/styled-components/cjs/components/NumberInput/ui/Input/Input.types.js +0 -5
- package/styled-components/cjs/components/NumberInput/ui/index.js +0 -19
- package/styled-components/cjs/components/NumberInput/utils/index.js +0 -9
- package/styled-components/cjs/components/NumberInput/variations/_background-type/base.js +0 -10
- package/styled-components/cjs/components/NumberInput/variations/_background-type/tokens.json +0 -6
- package/styled-components/cjs/components/NumberInput/variations/_disabled/base.js +0 -9
- package/styled-components/cjs/components/NumberInput/variations/_disabled/tokens.json +0 -4
- package/styled-components/cjs/components/NumberInput/variations/_segmentation/base.js +0 -12
- package/styled-components/cjs/components/NumberInput/variations/_segmentation/tokens.json +0 -1
- package/styled-components/cjs/components/NumberInput/variations/_shape/base.js +0 -11
- package/styled-components/cjs/components/NumberInput/variations/_shape/tokens.json +0 -1
- package/styled-components/cjs/components/NumberInput/variations/_size/base.js +0 -13
- package/styled-components/cjs/components/NumberInput/variations/_size/tokens.json +0 -22
- package/styled-components/cjs/components/NumberInput/variations/_view/base.js +0 -13
- package/styled-components/cjs/components/NumberInput/variations/_view/tokens.json +0 -14
- package/styled-components/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +0 -46
- package/styled-components/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.js +0 -11
- package/styled-components/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +0 -108
- package/styled-components/cjs/examples/plasma_web/components/NumberInput/NumberInput.config.js +0 -46
- package/styled-components/cjs/examples/plasma_web/components/NumberInput/NumberInput.js +0 -11
- package/styled-components/cjs/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +0 -108
- package/styled-components/es/components/NumberInput/NumberInput.js +0 -208
- package/styled-components/es/components/NumberInput/NumberInput.styles.js +0 -2
- package/styled-components/es/components/NumberInput/NumberInput.template-doc.mdx +0 -214
- package/styled-components/es/components/NumberInput/NumberInput.tokens.js +0 -93
- package/styled-components/es/components/NumberInput/NumberInput.types.js +0 -1
- package/styled-components/es/components/NumberInput/index.js +0 -2
- package/styled-components/es/components/NumberInput/ui/ActionButton/ActionButton.js +0 -11
- package/styled-components/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js +0 -8
- package/styled-components/es/components/NumberInput/ui/ActionButton/ActionButton.types.js +0 -1
- package/styled-components/es/components/NumberInput/ui/Input/Input.js +0 -204
- package/styled-components/es/components/NumberInput/ui/Input/Input.styles.js +0 -41
- package/styled-components/es/components/NumberInput/ui/Input/Input.types.js +0 -1
- package/styled-components/es/components/NumberInput/ui/index.js +0 -2
- package/styled-components/es/components/NumberInput/utils/index.js +0 -3
- package/styled-components/es/components/NumberInput/variations/_background-type/base.js +0 -4
- package/styled-components/es/components/NumberInput/variations/_background-type/tokens.json +0 -6
- package/styled-components/es/components/NumberInput/variations/_disabled/base.js +0 -3
- package/styled-components/es/components/NumberInput/variations/_disabled/tokens.json +0 -4
- package/styled-components/es/components/NumberInput/variations/_segmentation/base.js +0 -6
- package/styled-components/es/components/NumberInput/variations/_segmentation/tokens.json +0 -1
- package/styled-components/es/components/NumberInput/variations/_shape/base.js +0 -5
- package/styled-components/es/components/NumberInput/variations/_shape/tokens.json +0 -1
- package/styled-components/es/components/NumberInput/variations/_size/base.js +0 -7
- package/styled-components/es/components/NumberInput/variations/_size/tokens.json +0 -22
- package/styled-components/es/components/NumberInput/variations/_view/base.js +0 -7
- package/styled-components/es/components/NumberInput/variations/_view/tokens.json +0 -14
- package/styled-components/es/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +0 -40
- package/styled-components/es/examples/plasma_b2c/components/NumberInput/NumberInput.js +0 -5
- package/styled-components/es/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +0 -108
- package/styled-components/es/examples/plasma_web/components/NumberInput/NumberInput.config.js +0 -40
- package/styled-components/es/examples/plasma_web/components/NumberInput/NumberInput.js +0 -5
- package/styled-components/es/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +0 -108
- package/types/components/NumberInput/NumberInput.d.ts +0 -38
- package/types/components/NumberInput/NumberInput.d.ts.map +0 -1
- package/types/components/NumberInput/NumberInput.styles.d.ts +0 -2
- package/types/components/NumberInput/NumberInput.styles.d.ts.map +0 -1
- package/types/components/NumberInput/NumberInput.tokens.d.ts +0 -88
- package/types/components/NumberInput/NumberInput.tokens.d.ts.map +0 -1
- package/types/components/NumberInput/NumberInput.types.d.ts +0 -112
- package/types/components/NumberInput/NumberInput.types.d.ts.map +0 -1
- package/types/components/NumberInput/index.d.ts +0 -3
- package/types/components/NumberInput/index.d.ts.map +0 -1
- package/types/components/NumberInput/ui/ActionButton/ActionButton.d.ts +0 -4
- package/types/components/NumberInput/ui/ActionButton/ActionButton.d.ts.map +0 -1
- package/types/components/NumberInput/ui/ActionButton/ActionButton.styles.d.ts +0 -45
- package/types/components/NumberInput/ui/ActionButton/ActionButton.styles.d.ts.map +0 -1
- package/types/components/NumberInput/ui/ActionButton/ActionButton.types.d.ts +0 -7
- package/types/components/NumberInput/ui/ActionButton/ActionButton.types.d.ts.map +0 -1
- package/types/components/NumberInput/ui/Input/Input.d.ts +0 -19
- package/types/components/NumberInput/ui/Input/Input.d.ts.map +0 -1
- package/types/components/NumberInput/ui/Input/Input.styles.d.ts +0 -30
- package/types/components/NumberInput/ui/Input/Input.styles.d.ts.map +0 -1
- package/types/components/NumberInput/ui/Input/Input.types.d.ts +0 -19
- package/types/components/NumberInput/ui/Input/Input.types.d.ts.map +0 -1
- package/types/components/NumberInput/ui/index.d.ts +0 -3
- package/types/components/NumberInput/ui/index.d.ts.map +0 -1
- package/types/components/NumberInput/utils/index.d.ts +0 -4
- package/types/components/NumberInput/utils/index.d.ts.map +0 -1
- package/types/components/NumberInput/variations/_background-type/base.d.ts +0 -2
- package/types/components/NumberInput/variations/_background-type/base.d.ts.map +0 -1
- package/types/components/NumberInput/variations/_disabled/base.d.ts +0 -2
- package/types/components/NumberInput/variations/_disabled/base.d.ts.map +0 -1
- package/types/components/NumberInput/variations/_segmentation/base.d.ts +0 -2
- package/types/components/NumberInput/variations/_segmentation/base.d.ts.map +0 -1
- package/types/components/NumberInput/variations/_shape/base.d.ts +0 -2
- package/types/components/NumberInput/variations/_shape/base.d.ts.map +0 -1
- package/types/components/NumberInput/variations/_size/base.d.ts +0 -2
- package/types/components/NumberInput/variations/_size/base.d.ts.map +0 -1
- package/types/components/NumberInput/variations/_view/base.d.ts +0 -2
- package/types/components/NumberInput/variations/_view/base.d.ts.map +0 -1
- package/types/examples/plasma_b2c/components/NumberInput/NumberInput.config.d.ts +0 -39
- package/types/examples/plasma_b2c/components/NumberInput/NumberInput.config.d.ts.map +0 -1
- package/types/examples/plasma_b2c/components/NumberInput/NumberInput.d.ts +0 -82
- package/types/examples/plasma_b2c/components/NumberInput/NumberInput.d.ts.map +0 -1
- package/types/examples/plasma_web/components/NumberInput/NumberInput.config.d.ts +0 -39
- package/types/examples/plasma_web/components/NumberInput/NumberInput.config.d.ts.map +0 -1
- package/types/examples/plasma_web/components/NumberInput/NumberInput.d.ts +0 -82
- package/types/examples/plasma_web/components/NumberInput/NumberInput.d.ts.map +0 -1
- /package/emotion/cjs/{components/NumberInput/NumberInput.types.js → examples/plasma_b2c/components/Dropzone/Dropzone.types.js} +0 -0
- /package/emotion/es/{components/NumberInput/NumberInput.types.js → examples/plasma_b2c/components/Dropzone/Dropzone.types.js} +0 -0
- /package/{emotion/cjs/components/NumberInput/ui/ActionButton/ActionButton.types.js → styled-components/cjs/examples/plasma_b2c/components/Dropzone/Dropzone.types.js} +0 -0
- /package/{emotion/es/components/NumberInput/ui/ActionButton/ActionButton.types.js → styled-components/es/examples/plasma_b2c/components/Dropzone/Dropzone.types.js} +0 -0
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"IconArrowBarDown.d.ts","sourceRoot":"","sources":["../../../../src/components/_Icon/Icons/IconArrowBarDown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAY,SAAS,EAAE,MAAM,aAAa,CAAC;AAElD,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAEhD,CAAC"}
|
@@ -25,4 +25,5 @@ export { IconBlankPdfOutline } from './Icons/IconBlankPdfOutline';
|
|
25
25
|
export { IconBlankTxtOutline } from './Icons/IconBlankTxtOutline';
|
26
26
|
export { IconBlankXlsOutline } from './Icons/IconBlankXlsOutline';
|
27
27
|
export { IconInfoCircleOutline } from './Icons/IconInfoCircleOutline';
|
28
|
+
export { IconArrowBarDown } from './Icons/IconArrowBarDown';
|
28
29
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/_Icon/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,sCAAsC,CAAC;AACpF,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,6BAA6B,EAAE,MAAM,uCAAuC,CAAC;AACtF,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,EAAE,4BAA4B,EAAE,MAAM,sCAAsC,CAAC;AACpF,OAAO,EAAE,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,2BAA2B,EAAE,MAAM,qCAAqC,CAAC;AAClF,OAAO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;AAC1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,2BAA2B,EAAE,MAAM,qCAAqC,CAAC;AAClF,OAAO,EAAE,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC"}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { FileProcessHandler } from './Dropzone.types';
|
3
|
+
export declare const Dropzone: React.ForwardRefExoticComponent<{
|
4
|
+
multiple?: boolean | undefined;
|
5
|
+
title?: string | undefined;
|
6
|
+
description?: React.ReactNode;
|
7
|
+
icon?: React.ReactNode;
|
8
|
+
iconPlacement?: "left" | "top" | undefined;
|
9
|
+
size?: string | undefined;
|
10
|
+
view?: string | undefined;
|
11
|
+
disabled?: boolean | undefined;
|
12
|
+
stretch?: boolean | undefined;
|
13
|
+
onDragEnter?: ((event: React.DragEvent<HTMLDivElement>) => void) | undefined;
|
14
|
+
onDragLeave?: ((event: React.DragEvent<HTMLDivElement>) => void) | undefined;
|
15
|
+
onDragOver?: ((event: React.DragEvent<HTMLDivElement>) => void) | undefined;
|
16
|
+
validator?: ((files: File[]) => import("./Dropzone.types").ValidatorReturnType) | undefined;
|
17
|
+
onDrop?: FileProcessHandler | undefined;
|
18
|
+
onChoseFiles?: FileProcessHandler | undefined;
|
19
|
+
} & React.InputHTMLAttributes<HTMLInputElement> & React.RefAttributes<HTMLInputElement>>;
|
20
|
+
//# sourceMappingURL=Dropzone.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Dropzone.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Dropzone/Dropzone.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAO5D,OAAO,EAA2B,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAY/E,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;wFAwKpB,CAAC"}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
export declare const privateTokens: {
|
3
|
+
width: string;
|
4
|
+
};
|
5
|
+
export declare const classes: {
|
6
|
+
stretch: string;
|
7
|
+
active: string;
|
8
|
+
};
|
9
|
+
export declare const StyledRoot: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
10
|
+
export declare const Content: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
11
|
+
export declare const TitleWrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
12
|
+
export declare const Title: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & Record<never, unknown>>;
|
13
|
+
export declare const Description: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & Record<never, unknown>>;
|
14
|
+
export declare const HiddenInput: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLInputElement> & import("react").InputHTMLAttributes<HTMLInputElement> & Record<never, unknown>>;
|
15
|
+
//# sourceMappingURL=Dropzone.styles.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Dropzone.styles.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Dropzone/Dropzone.styles.ts"],"names":[],"mappings":";AAEA,eAAO,MAAM,aAAa;;CAEzB,CAAC;AAEF,eAAO,MAAM,OAAO;;;CAGnB,CAAC;AAEF,eAAO,MAAM,UAAU,qKAiCtB,CAAC;AAEF,eAAO,MAAM,OAAO,qKAMnB,CAAC;AAEF,eAAO,MAAM,YAAY,qKAOxB,CAAC;AAEF,eAAO,MAAM,KAAK,uKAOjB,CAAC;AAEF,eAAO,MAAM,WAAW,uKASvB,CAAC;AAEF,eAAO,MAAM,WAAW,8KAEvB,CAAC"}
|
@@ -0,0 +1,72 @@
|
|
1
|
+
import type { InputHTMLAttributes, DragEvent, ReactNode } from 'react';
|
2
|
+
export declare type FileArgs = {
|
3
|
+
acceptedFiles: File[];
|
4
|
+
rejectedFiles?: File[];
|
5
|
+
error?: string;
|
6
|
+
};
|
7
|
+
export declare type ValidatorReturnType = Promise<FileArgs>;
|
8
|
+
export declare type FileProcessHandler = (files: FileArgs) => Promise<void> | void;
|
9
|
+
export declare type DropzoneProps = {
|
10
|
+
/**
|
11
|
+
* Позовляет выбирать несколько файлов для загрузки
|
12
|
+
*/
|
13
|
+
multiple?: boolean;
|
14
|
+
/**
|
15
|
+
* Слот для Title
|
16
|
+
*/
|
17
|
+
title?: string;
|
18
|
+
/**
|
19
|
+
* Слот для описания
|
20
|
+
*/
|
21
|
+
description?: ReactNode;
|
22
|
+
/**
|
23
|
+
* Слот для иконки
|
24
|
+
*/
|
25
|
+
icon?: ReactNode;
|
26
|
+
/**
|
27
|
+
* Расположение иконки
|
28
|
+
* @default 'left'
|
29
|
+
*/
|
30
|
+
iconPlacement?: 'top' | 'left';
|
31
|
+
/**
|
32
|
+
* Размер компонента
|
33
|
+
*/
|
34
|
+
size?: string;
|
35
|
+
/**
|
36
|
+
* Вид компонента
|
37
|
+
*/
|
38
|
+
view?: string;
|
39
|
+
/**
|
40
|
+
* Компонент неактивен
|
41
|
+
*/
|
42
|
+
disabled?: boolean;
|
43
|
+
/**
|
44
|
+
* Компонент растягивается на всю доступную ширину
|
45
|
+
*/
|
46
|
+
stretch?: boolean;
|
47
|
+
/**
|
48
|
+
* Функция, вызываемая в момент вхождения (один раз) курсора внутрь границ Dropzone
|
49
|
+
*/
|
50
|
+
onDragEnter?: (event: DragEvent<HTMLDivElement>) => void;
|
51
|
+
/**
|
52
|
+
* Функция, вызываемая в момент выхода (один раз) курсора из Dropzone
|
53
|
+
*/
|
54
|
+
onDragLeave?: (event: DragEvent<HTMLDivElement>) => void;
|
55
|
+
/**
|
56
|
+
* Функция, вызываемая при движении курсора с файлами внутри Dropzone
|
57
|
+
*/
|
58
|
+
onDragOver?: (event: DragEvent<HTMLDivElement>) => void;
|
59
|
+
/**
|
60
|
+
* Функция, вызываемая для валидации файлов, перед onDrop или onChoseFiles
|
61
|
+
*/
|
62
|
+
validator?: (files: File[]) => ValidatorReturnType;
|
63
|
+
/**
|
64
|
+
* Функция, вызываемая при drop файлов
|
65
|
+
*/
|
66
|
+
onDrop?: FileProcessHandler;
|
67
|
+
/**
|
68
|
+
* Функция, вызываемая при выборе файлов
|
69
|
+
*/
|
70
|
+
onChoseFiles?: FileProcessHandler;
|
71
|
+
} & InputHTMLAttributes<HTMLInputElement>;
|
72
|
+
//# sourceMappingURL=Dropzone.types.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Dropzone.types.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Dropzone/Dropzone.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvE,oBAAY,QAAQ,GAAG;IACnB,aAAa,EAAE,IAAI,EAAE,CAAC;IACtB,aAAa,CAAC,EAAE,IAAI,EAAE,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,oBAAY,mBAAmB,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;AACpD,oBAAY,kBAAkB,GAAG,CAAC,KAAK,EAAE,QAAQ,KAAK,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;AAE3E,oBAAY,aAAa,GAAG;IACxB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;;OAGG;IACH,aAAa,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;IAC/B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;IACzD;;OAEG;IACH,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;IACzD;;OAEG;IACH,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;IACxD;;OAEG;IACH,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,mBAAmB,CAAC;IACnD;;OAEG;IACH,MAAM,CAAC,EAAE,kBAAkB,CAAC;IAC5B;;OAEG;IACH,YAAY,CAAC,EAAE,kBAAkB,CAAC;CACrC,GAAG,mBAAmB,CAAC,gBAAgB,CAAC,CAAC"}
|
package/types/index.d.ts
CHANGED
package/types/index.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,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ACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC"}
|
@@ -1,52 +0,0 @@
|
|
1
|
-
.IconRoot_7pl7ig_svvlqhf__32c458a1{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;width:var(--svvlqhf-0);height:var(--svvlqhf-0);-webkit-flex:0 0 var(--svvlqhf-0);-ms-flex:0 0 var(--svvlqhf-0);flex:0 0 var(--svvlqhf-0);}
|
2
|
-
|
3
|
-
.Button_styles_1sopr3d_bzw1898__8219590b{min-width:4ch;-webkit-flex-shrink:2;-ms-flex-negative:2;flex-shrink:2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.Button_styles_1sopr3d_bzw1898__8219590b.Button_styles_1sopr3d_buttonContentRelaxed__8219590b{text-align:start;-webkit-box-flex:2;-webkit-flex-grow:2;-ms-flex-positive:2;flex-grow:2;}
|
4
|
-
.Button_styles_1sopr3d_bdfuqwe__8219590b{color:var(--plasma-button-value-color);margin:var(--plasma-button-value-margin);min-width:4ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
|
5
|
-
.Button_styles_1sopr3d_l9ypozh__8219590b{opacity:var(--l9ypozh-0);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:inherit;-webkit-box-align:inherit;-ms-flex-align:inherit;align-items:inherit;-webkit-box-pack:var(--l9ypozh-1);-webkit-justify-content:var(--l9ypozh-1);-ms-flex-pack:var(--l9ypozh-1);justify-content:var(--l9ypozh-1);height:100%;width:100%;}
|
6
|
-
.Button_styles_1sopr3d_l4dfhbg__8219590b{position:absolute;}
|
7
|
-
.Button_styles_1sopr3d_srdlazt__8219590b{--plasma-spinner-size:var(--plasma-button-spinner-size);--plasma-spinner-color:var(--plasma-button-spinner-color);}
|
8
|
-
.Button_styles_1sopr3d_s7rggv0__8219590b{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin:var(--plasma-button-left-content-margin);-webkit-align-self:var(--plasma-button-left-content-align-self);-ms-flex-item-align:var(--plasma-button-left-content-align);align-self:var(--plasma-button-left-content-align-self);}
|
9
|
-
.Button_styles_1sopr3d_s1rjh7ra__8219590b{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin:var(--plasma-button-right-content-margin);-webkit-align-self:var(--plasma-button-right-content-align-self);-ms-flex-item-align:var(--plasma-button-right-content-align);align-self:var(--plasma-button-right-content-align-self);}
|
10
|
-
.Button_styles_1sopr3d_b9ga1dj__8219590b{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;box-sizing:border-box;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);--plasma_private-btn-br:var(--plasma_computed-btn-br);border-radius:var(--plasma_private-btn-br);}a.Button_styles_1sopr3d_b9ga1dj__8219590b{-webkit-text-decoration:none;text-decoration:none;}.Button_styles_1sopr3d_b9ga1dj__8219590b.Button_styles_1sopr3d_b9ga1dj__8219590b.Button_styles_1sopr3d_buttonSquare__8219590b{width:var(--plasma-button-height);padding:0;}
|
11
|
-
|
12
|
-
.base_jfbpjg_b1ty39ru__57cb1989{color:var(--plasma-button-color);background:var(--plasma-button-background-color);}.base_jfbpjg_b1ty39ru__57cb1989.base_jfbpjg_buttonLoading__57cb1989{background:var(--plasma-button-loading-background-color);}.base_jfbpjg_b1ty39ru__57cb1989:hover{color:var(--plasma-button-color-hover,var(--plasma-button-color));background:var(--plasma-button-background-color-hover,var(--plasma-button-background-color));scale:var(--plasma-button-scale-hover);}.base_jfbpjg_b1ty39ru__57cb1989:active{color:var(--plasma-button-color-active,var(--plasma-button-color));background:var(--plasma-button-background-color-active,var(--plasma-button-background-color));scale:var(---plasma-button-scale-active);}
|
13
|
-
|
14
|
-
.base_1alzrso_be0ha5g__cdc67255{height:var(--plasma-button-height);padding:0 var(--plasma-button-padding,calc(var(--plasma-button-height) * 1.618 / 4));font-family:var(--plasma-button-font-family);font-size:var(--plasma-button-font-size);font-style:var(--plasma-button-font-style);font-weight:var(--plasma-button-font-weight);-webkit-letter-spacing:var(--plasma-button-letter-spacing);-moz-letter-spacing:var(--plasma-button-letter-spacing);-ms-letter-spacing:var(--plasma-button-letter-spacing);letter-spacing:var(--plasma-button-letter-spacing);line-height:var(--plasma-button-line-height);--plasma_private-btn-outline-size:var(--plasma-button-outline-size,0.0625rem);}
|
15
|
-
|
16
|
-
.base_do83p2_b169l30m__044ccc85[disabled]{opacity:var(--plasma-button-disabled-opacity);cursor:not-allowed;}.base_do83p2_b169l30m__044ccc85[disabled]:hover,.base_do83p2_b169l30m__044ccc85[disabled]:active{scale:none;color:var(--plasma-button-color);background:var(--plasma-button-background-color);}
|
17
|
-
|
18
|
-
.base_1kq737e_b187cmzt__d829f64a{position:relative;}.base_1kq737e_b187cmzt__d829f64a:focus{outline:none;}.base_1kq737e_b187cmzt__d829f64a::before{content:'';position:absolute;top:-0.125rem;left:-0.125rem;right:-0.125rem;bottom:-0.125rem;z-index:1;display:block;box-sizing:content-box;border:var(--plasma_private-btn-outline-size) solid transparent;border-radius:calc(0.125rem + var(--plasma_private-btn-br));-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.base_1kq737e_b187cmzt__d829f64a.base_1kq737e_focusVisible__d829f64a:focus::before,.base_1kq737e_b187cmzt__d829f64a[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 var(--plasma_private-btn-outline-size) var(--plasma-button-focus-color);}
|
19
|
-
|
20
|
-
.base_hy8dc_bdz31nb__bd4ad37e.base_hy8dc_buttonStretchingFixed__bd4ad37e{width:var(--plasma-button-width);}.base_hy8dc_bdz31nb__bd4ad37e.base_hy8dc_buttonStretchingFilled__bd4ad37e{width:100%;}.base_hy8dc_bdz31nb__bd4ad37e.base_hy8dc_buttonStretchingAuto__bd4ad37e{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;}
|
21
|
-
|
22
|
-
.IconButton_styles_403on7_b1ua728l__d34a8ea7{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;box-sizing:border-box;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);--plasma_private-btn-br:var(--plasma_computed-btn-br);border-radius:var(--plasma_private-btn-br);color:var(--plasma-button-color);background:var(--plasma-button-background-color);height:var(--plasma-button-height);width:var(--plasma-button-width);padding:0 var(--plasma-button-padding,calc(var(--plasma-button-height) * 1.618 / 4));font-family:var(--plasma-button-font-family);font-size:var(--plasma-button-font-size);font-style:var(--plasma-button-font-style);font-weight:var(--plasma-button-font-weight);-webkit-letter-spacing:var(--plasma-button-letter-spacing);-moz-letter-spacing:var(--plasma-button-letter-spacing);-ms-letter-spacing:var(--plasma-button-letter-spacing);letter-spacing:var(--plasma-button-letter-spacing);line-height:var(--plasma-button-line-height);--plasma_private-btn-outline-size:var(--plasma-button-outline-size,0.0625rem);position:relative;--plasma-button-padding:0;--plasma-button-color:var(--plasma-icon-button-color);--plasma-button-background-color:var(--plasma-icon-button-background-color);--plasma-button-color-hover:var(--plasma-icon-button-color-hover);--plasma-button-background-color-hover:var(--plasma-icon-button-background-color-hover);--plasma-button-color-active:var(--plasma-icon-button-color-active);--plasma-button-background-color-active:var(--plasma-icon-button-background-color-active);--plasma-button-loading-background-color:var(--plasma-icon-button-loading-background-color);--plasma-button-font-family:var(--plasma-icon-button-font-family);--plasma-button-font-size:var(--plasma-icon-button-font-size);--plasma-button-font-style:var(--plasma-icon-button-font-style);--plasma-button-font-weight:var(--plasma-icon-button-font-weight);--plasma-button-letter-spacing:var(--plasma-icon-button-letter-spacing);--plasma-button-line-height:var(--plasma-icon-button-line-height);--plasma-button-width:var(--plasma-icon-button-width);--plasma-button-height:var(--plasma-icon-button-height);--plasma-button-radius:var(--plasma-icon-button-radius);--plasma-button-disabled-opacity:var(--plasma-icon-button-disabled-opacity);--plasma-button-focus-color:var(--plasma-icon-button-focus-color);--plasma-button-spinner-size:var(--plasma-icon-button-spinner-size);--plasma-button-spinner-color:var(--plasma-icon-button-spinner-color);}a.IconButton_styles_403on7_b1ua728l__d34a8ea7{-webkit-text-decoration:none;text-decoration:none;}.IconButton_styles_403on7_b1ua728l__d34a8ea7.IconButton_styles_403on7_b1ua728l__d34a8ea7.IconButton_styles_403on7_buttonSquare__d34a8ea7{width:var(--plasma-button-height);padding:0;}.IconButton_styles_403on7_b1ua728l__d34a8ea7:hover{color:var(--plasma-button-color-hover,var(--plasma-button-color));background:var(--plasma-button-background-color-hover,var(--plasma-button-background-color));scale:var(--plasma-button-scale-hover);}.IconButton_styles_403on7_b1ua728l__d34a8ea7:active{color:var(--plasma-button-color-active,var(--plasma-button-color));background:var(--plasma-button-background-color-active,var(--plasma-button-background-color));scale:var(---plasma-button-scale-active);}.IconButton_styles_403on7_b1ua728l__d34a8ea7:focus{outline:none;}.IconButton_styles_403on7_b1ua728l__d34a8ea7::before{content:'';position:absolute;top:-0.125rem;left:-0.125rem;right:-0.125rem;bottom:-0.125rem;z-index:1;display:block;box-sizing:content-box;border:var(--plasma_private-btn-outline-size) solid transparent;border-radius:calc(0.125rem + var(--plasma_private-btn-br));-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.IconButton_styles_403on7_b1ua728l__d34a8ea7.IconButton_styles_403on7_focusVisible__d34a8ea7:focus::before,.IconButton_styles_403on7_b1ua728l__d34a8ea7[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 var(--plasma_private-btn-outline-size) var(--plasma-button-focus-color);}.IconButton_styles_403on7_b1ua728l__d34a8ea7[disabled]{opacity:var(--plasma-button-disabled-opacity);cursor:not-allowed;}.IconButton_styles_403on7_b1ua728l__d34a8ea7[disabled]:hover,.IconButton_styles_403on7_b1ua728l__d34a8ea7[disabled]:active{scale:none;color:var(--plasma-button-color);background:var(--plasma-button-background-color);}.IconButton_styles_403on7_b1ua728l__d34a8ea7.IconButton_styles_403on7_buttonStretchingFixed__d34a8ea7{width:var(--plasma-button-width);}.IconButton_styles_403on7_b1ua728l__d34a8ea7.IconButton_styles_403on7_buttonStretchingFilled__d34a8ea7{width:100%;}.IconButton_styles_403on7_b1ua728l__d34a8ea7.IconButton_styles_403on7_buttonStretchingAuto__d34a8ea7{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;}
|
23
|
-
|
24
|
-
.base_1gusher_b1chvyq8__76b641f5{color:var(--plasma-spinner-color);}
|
25
|
-
|
26
|
-
.base_ova69f_bw56nfh__55225c7f{width:var(--plasma-spinner-size);height:var(--plasma-spinner-size);}
|
27
|
-
|
28
|
-
.Spinner_styles_13q7ndk_b1hp2dsz__af962114{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;box-sizing:border-box;}
|
29
|
-
.Spinner_styles_13q7ndk_s122r4cn__af962114{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:var(--s122r4cn-0);height:var(--s122r4cn-1);-webkit-animation:Spinner_styles_13q7ndk_rotateS122r4cn__af962114 1s linear infinite;animation:Spinner_styles_13q7ndk_rotateS122r4cn__af962114 1s linear infinite;}@-webkit-keyframes Spinner_styles_13q7ndk_rotateS122r4cn__af962114{from{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);}to{-webkit-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg);}}@keyframes Spinner_styles_13q7ndk_rotateS122r4cn__af962114{from{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);}to{-webkit-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg);}}
|
30
|
-
|
31
|
-
.Input_styles_fhgb95_i1s8bsh6__3bed5c8f{overflow-x:auto;overflow-y:hidden;-webkit-flex:1;-ms-flex:1;flex:1;cursor:var(--i1s8bsh6-0);-webkit-scrollbar-width:none;-moz-scrollbar-width:none;-ms-scrollbar-width:none;scrollbar-width:none;overscroll-behavior:contain;}.Input_styles_fhgb95_i1s8bsh6__3bed5c8f::-webkit-scrollbar{display:none;}
|
32
|
-
.Input_styles_fhgb95_t6wb9c__3bed5c8f{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;margin:0 auto;box-sizing:border-box;}
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
.Input_styles_fhgb95_d1n4jo6t__3bed5c8f{position:relative;}
|
37
|
-
.Input_styles_fhgb95_i1tgbhg7__3bed5c8f{box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;padding:0;background-color:transparent;outline:none;width:var(--i1tgbhg7-0);box-sizing:border-box;cursor:var(--i1tgbhg7-1);pointer-events:var(--i1tgbhg7-2);-webkit-transition:width 0.1s;transition:width 0.1s;}
|
38
|
-
.Input_styles_fhgb95_i1il5xze__3bed5c8f{position:absolute;z-index:-999;visibility:hidden;top:0;left:0;opacity:0;height:0;white-space:pre;}
|
39
|
-
|
40
|
-
.NumberInput_styles_jeawjl_bwds6g__9a871afb{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}
|
41
|
-
|
42
|
-
.base_tnfbb5_bhi37xj__884e17c8 .base_tnfbb5_sj0ab1b__884e17c8{--plasma-icon-button-color:var(--plasma-number-input_icon-button_color);--plasma-icon-button-background-color:var(--plasma-number-input_icon-button_background-color);--plasma-icon-button-color-hover:var(--plasma-number-input_icon-button_color-hover);--plasma-icon-button-background-color-hover:var(--plasma-number-input_icon-button_background-color-hover);--plasma-icon-button-color-active:var(--plasma-number-input_icon-button_color-active);--plasma-icon-button-background-color-active:var(--plasma-number-input_icon-button_background-color-active);}.base_tnfbb5_bhi37xj__884e17c8 .base_tnfbb5_sj0ab1b__884e17c8.base_tnfbb5_actionButtonDecrementDisabled__884e17c8,.base_tnfbb5_bhi37xj__884e17c8 .base_tnfbb5_sj0ab1b__884e17c8.base_tnfbb5_actionButtonIncrementDisabled__884e17c8{opacity:var(--plasma-number-input_action-button_disabled-opacity);cursor:not-allowed;}.base_tnfbb5_bhi37xj__884e17c8 .base_tnfbb5_sj0ab1b__884e17c8.base_tnfbb5_actionButtonDecrementDisabled__884e17c8:hover,.base_tnfbb5_bhi37xj__884e17c8 .base_tnfbb5_sj0ab1b__884e17c8.base_tnfbb5_actionButtonIncrementDisabled__884e17c8:hover,.base_tnfbb5_bhi37xj__884e17c8 .base_tnfbb5_sj0ab1b__884e17c8.base_tnfbb5_actionButtonDecrementDisabled__884e17c8:active,.base_tnfbb5_bhi37xj__884e17c8 .base_tnfbb5_sj0ab1b__884e17c8.base_tnfbb5_actionButtonIncrementDisabled__884e17c8:active{scale:none;color:var(--plasma-number-input_icon-button_color);background-color:var(--plasma-number-input_icon-button_background-color);}.base_tnfbb5_bhi37xj__884e17c8.base_tnfbb5_bhi37xj__884e17c8 .base_tnfbb5_i1s8bsh6__884e17c8.base_tnfbb5_manualInputNumberInput__884e17c8:focus-within{background-color:var(--plasma-number-input_background-color-focus);box-shadow:inset 0 0 0 var(--plasma-number-input_input-wrapper_border-width) var(--plasma-number-input_border-color-focus);}.base_tnfbb5_bhi37xj__884e17c8.base_tnfbb5_bhi37xj__884e17c8 .base_tnfbb5_i1s8bsh6__884e17c8.base_tnfbb5_manualInputNumberInput__884e17c8.base_tnfbb5_errorAnimation__884e17c8{background-color:var(--plasma-number-input_background_error-color);box-shadow:inset 0 0 0 var(--plasma-number-input_input-wrapper_border-width) var(--plasma-number-input_border_error-color);-webkit-animation:base_tnfbb5_shakingErrorBhi37xj__884e17c8 0.3s forwards;animation:base_tnfbb5_shakingErrorBhi37xj__884e17c8 0.3s forwards;}.base_tnfbb5_bhi37xj__884e17c8.base_tnfbb5_bhi37xj__884e17c8 .base_tnfbb5_i1s8bsh6__884e17c8.base_tnfbb5_manualInputNumberInput__884e17c8.base_tnfbb5_errorAnimation__884e17c8 .base_tnfbb5_i1tgbhg7__884e17c8{color:var(--plasma-number-input_error-color);-webkit-animation:base_tnfbb5_fadeErrorBhi37xj__884e17c8 0.3s forwards;animation:base_tnfbb5_fadeErrorBhi37xj__884e17c8 0.3s forwards;}.base_tnfbb5_bhi37xj__884e17c8.base_tnfbb5_bhi37xj__884e17c8 .base_tnfbb5_i1s8bsh6__884e17c8.base_tnfbb5_manualInputNumberInput__884e17c8.base_tnfbb5_errorAnimation__884e17c8:focus-within{background-color:var(--plasma-number-input_background_error-color);box-shadow:inset 0 0 0 var(--plasma-number-input_input-wrapper_border-width) var(--plasma-number-input_border_error-color);}@-webkit-keyframes base_tnfbb5_shakingErrorBhi37xj__884e17c8{14%{-webkit-transform:translateX(-0.125rem);-ms-transform:translateX(-0.125rem);transform:translateX(-0.125rem);}28%{-webkit-transform:translateX(0.125rem);-ms-transform:translateX(0.125rem);transform:translateX(0.125rem);}42%{-webkit-transform:translateX(-0.125rem);-ms-transform:translateX(-0.125rem);transform:translateX(-0.125rem);}57%{-webkit-transform:translateX(0.125rem);-ms-transform:translateX(0.125rem);transform:translateX(0.125rem);}71%{-webkit-transform:translateX(-0.125rem);-ms-transform:translateX(-0.125rem);transform:translateX(-0.125rem);}85%{-webkit-transform:translateX(0.125rem);-ms-transform:translateX(0.125rem);transform:translateX(0.125rem);}100%{-webkit-transform:translateX(-0.125rem);-ms-transform:translateX(-0.125rem);transform:translateX(-0.125rem);}}@keyframes base_tnfbb5_shakingErrorBhi37xj__884e17c8{14%{-webkit-transform:translateX(-0.125rem);-ms-transform:translateX(-0.125rem);transform:translateX(-0.125rem);}28%{-webkit-transform:translateX(0.125rem);-ms-transform:translateX(0.125rem);transform:translateX(0.125rem);}42%{-webkit-transform:translateX(-0.125rem);-ms-transform:translateX(-0.125rem);transform:translateX(-0.125rem);}57%{-webkit-transform:translateX(0.125rem);-ms-transform:translateX(0.125rem);transform:translateX(0.125rem);}71%{-webkit-transform:translateX(-0.125rem);-ms-transform:translateX(-0.125rem);transform:translateX(-0.125rem);}85%{-webkit-transform:translateX(0.125rem);-ms-transform:translateX(0.125rem);transform:translateX(0.125rem);}100%{-webkit-transform:translateX(-0.125rem);-ms-transform:translateX(-0.125rem);transform:translateX(-0.125rem);}}@-webkit-keyframes base_tnfbb5_fadeErrorBhi37xj__884e17c8{50%{opacity:1;}100%{opacity:0;}}@keyframes base_tnfbb5_fadeErrorBhi37xj__884e17c8{50%{opacity:1;}100%{opacity:0;}}.base_tnfbb5_bhi37xj__884e17c8 .base_tnfbb5_s1ft73sv__884e17c8{--plasma-spinner-color:var(--plasma-number-input_loader-spinner_color);}.base_tnfbb5_bhi37xj__884e17c8 .base_tnfbb5_i1tgbhg7__884e17c8{color:var(--plasma-number-input_color);caret-color:var(--plasma-number-input_caret_color);}.base_tnfbb5_bhi37xj__884e17c8 .base_tnfbb5_az36kha__884e17c8{color:var(--plasma-number-input_additional-text_color);}
|
43
|
-
|
44
|
-
.base_yqdmk4_b13wjeky__9b206d94{width:var(--plasma_private-number-input_width);min-width:var(--plasma-number-input_min-width);}.base_yqdmk4_b13wjeky__9b206d94 .base_yqdmk4_sj0ab1b__9b206d94{--plasma-icon-button-height:var(--plasma-number-input_icon-button_height);--plasma-icon-button-width:var(--plasma-number-input_icon-button_width);--plasma-icon-button-padding:var(--plasma-number-input_icon-button_padding);--plasma-icon-button-font-family:var(--plasma-number-input_icon-button_font-family);--plasma-icon-button-font-size:var(--plasma-number-input_icon-button_font-size);--plasma-icon-button-font-style:var(--plasma-number-input_icon-button_font-style);--plasma-icon-button-font-weight:var(--plasma-number-input_icon-button_font-weight);--plasma-icon-button-letter-spacing:var(--plasma-number-input_icon-button_letter-spacing);--plasma-icon-button-line-height:var(--plasma-number-input_icon-button_line-height);}.base_yqdmk4_b13wjeky__9b206d94 .base_yqdmk4_i1s8bsh6__9b206d94{margin:var(--plasma-number-input_input-wrapper_margin);}.base_yqdmk4_b13wjeky__9b206d94 .base_yqdmk4_t6wb9c__9b206d94{height:var(--plasma-number-input_text-wrapper_height);padding:var(--plasma-number-input_text-wrapper_padding);}.base_yqdmk4_b13wjeky__9b206d94 .base_yqdmk4_d1n4jo6t__9b206d94,.base_yqdmk4_b13wjeky__9b206d94 .base_yqdmk4_i1tgbhg7__9b206d94,.base_yqdmk4_b13wjeky__9b206d94 .base_yqdmk4_az36kha__9b206d94{font-family:var(--plasma-number-input_font-family);font-size:var(--plasma-number-input_font-size);font-style:var(--plasma-number-input_font-style);font-weight:var(--plasma-number-input_font-weight);-webkit-letter-spacing:var(--plasma-number-input_letter-spacing);-moz-letter-spacing:var(--plasma-number-input_letter-spacing);-ms-letter-spacing:var(--plasma-number-input_letter-spacing);letter-spacing:var(--plasma-number-input_letter-spacing);line-height:var(--plasma-number-input_line-height);}.base_yqdmk4_b13wjeky__9b206d94 .base_yqdmk4_az36kha__9b206d94.base_yqdmk4_textBefore__9b206d94{margin-right:var(--plasma-number-input_text-before_margin-right);}.base_yqdmk4_b13wjeky__9b206d94 .base_yqdmk4_az36kha__9b206d94.base_yqdmk4_textAfter__9b206d94{margin-left:var(--plasma-number-input_text-after_margin-left);}.base_yqdmk4_b13wjeky__9b206d94 .base_yqdmk4_s1ft73sv__9b206d94{--plasma-spinner-size:var(--plasma-number-input_loader-spinner_size);}
|
45
|
-
|
46
|
-
.base_k05biw_b1l31q8y__7da7a6d0 .base_k05biw_sj0ab1b__7da7a6d0{--plasma-icon-button-radius:var(--plasma-number-input_icon-button_radius);}
|
47
|
-
|
48
|
-
.base_dx9knv_b15uqx38__1d74109c .base_dx9knv_i1s8bsh6__1d74109c{background-color:var(--plasma-number-input_background-color);box-shadow:inset 0 0 0 var(--plasma-number-input_input-wrapper_border-width) var(--plasma-number-input_border-color);}.base_dx9knv_b15uqx38__1d74109c .base_dx9knv_i1s8bsh6__1d74109c.base_dx9knv_manualInputNumberInput__1d74109c:hover{background-color:var(--plasma-number-input_background-color-hover);box-shadow:inset 0 0 0 var(--plasma-number-input_input-wrapper_border-width) var(--plasma-number-input_border-color-hover);}
|
49
|
-
|
50
|
-
.base_14s5rot_bpps6rw__6339f446 .base_14s5rot_i1s8bsh6__6339f446{border-radius:var(--plasma-number-input_input-wrapper_border-radius);}.base_14s5rot_bpps6rw__6339f446 .base_14s5rot_sj0ab1b__6339f446{--plasma_private-segmentation-border-radius:var(--plasma-number-input_icon-button_radius);}.base_14s5rot_bpps6rw__6339f446 .base_14s5rot_sj0ab1b__6339f446.base_14s5rot_segmentedView__6339f446,.base_14s5rot_bpps6rw__6339f446 .base_14s5rot_sj0ab1b__6339f446.base_14s5rot_solidView__6339f446{--plasma_private-segmentation-border-radius:var(--plasma-number-input_icon-button_segmentation_radius,var(--plasma-number-input_icon-button_radius));}.base_14s5rot_bpps6rw__6339f446 .base_14s5rot_sj0ab1b__6339f446.base_14s5rot_actionButtonDecrement__6339f446{border-radius:var(--plasma-number-input_icon-button_radius) var(--plasma_private-segmentation-border-radius) var(--plasma_private-segmentation-border-radius) var(--plasma-number-input_icon-button_radius);}.base_14s5rot_bpps6rw__6339f446 .base_14s5rot_sj0ab1b__6339f446.base_14s5rot_actionButtonIncrement__6339f446{border-radius:var(--plasma_private-segmentation-border-radius) var(--plasma-number-input_icon-button_radius) var(--plasma-number-input_icon-button_radius) var(--plasma_private-segmentation-border-radius);}.base_14s5rot_bpps6rw__6339f446.base_14s5rot_segmentedView__6339f446 .base_14s5rot_i1s8bsh6__6339f446{border-radius:var(--plasma-number-input_icon-button_segmentation_radius);}.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446{--plasma_private-number-input_top-box-shadow:inset 0 var(--plasma-number-input_input-border-width) var(--plasma-number-input_wrapper_border-color);--plasma_private-number-input_bottom-box-shadow:inset 0 calc(-1 * var(--plasma-number-input_input-border-width)) var(--plasma-number-input_wrapper_border-color);--plasma_private-number-input_left-box-shadow:inset var(--plasma-number-input_input-border-width) 0 var(--plasma-number-input_wrapper_border-color);--plasma_private-number-input_right-box-shadow:inset calc(-1 * var(--plasma-number-input_input-border-width)) 0 var(--plasma-number-input_wrapper_border-color);position:relative;}.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446.base_14s5rot_numberInputFocused__6339f446:not(number-input-loading),.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446.base_14s5rot_numberInputFocused__6339f446:not(number-input-disabled){--plasma_private-number-input_top-box-shadow:inset 0 var(--plasma-number-input_input-border-width) var(--plasma-number-input_wrapper_border-color_focus);--plasma_private-number-input_bottom-box-shadow:inset 0 calc(-1 * var(--plasma-number-input_input-border-width)) var(--plasma-number-input_wrapper_border-color_focus);--plasma_private-number-input_left-box-shadow:inset var(--plasma-number-input_input-border-width) 0 var(--plasma-number-input_wrapper_border-color_focus);--plasma_private-number-input_right-box-shadow:inset calc(-1 * var(--plasma-number-input_input-border-width)) 0 var(--plasma-number-input_wrapper_border-color_focus);}.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446:before{content:'';position:absolute;top:0;left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);width:calc(100% - var(--plasma-number-input_icon-button_width) * 2);height:100%;background:var(--plasma-number-input_background-color-solid);box-shadow:var(--plasma_private-number-input_top-box-shadow),var(--plasma_private-number-input_bottom-box-shadow);}.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446 .base_14s5rot_i1s8bsh6__6339f446{position:relative;color:var(--plasma-number-input_color-solid);}.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446 .base_14s5rot_i1s8bsh6__6339f446:not(error-animation).base_14s5rot_manualInputNumberInput__6339f446:focus-within{background-color:var(--plasma-number-input_background-color-solid-focus);box-shadow:inset 0 0 0 var(--plasma-number-input_input-wrapper_border-width) var(--plasma-number-input_border-color-solid-focus);}.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446 .base_14s5rot_sj0ab1b__6339f446.base_14s5rot_actionButtonDecrement__6339f446{box-shadow:var(--plasma_private-number-input_bottom-box-shadow),var(--plasma_private-number-input_top-box-shadow),var(--plasma_private-number-input_left-box-shadow);}.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446 .base_14s5rot_sj0ab1b__6339f446.base_14s5rot_actionButtonIncrement__6339f446{box-shadow:var(--plasma_private-number-input_bottom-box-shadow),var(--plasma_private-number-input_top-box-shadow),var(--plasma_private-number-input_right-box-shadow);}.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446 .base_14s5rot_sj0ab1b__6339f446:hover,.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446 .base_14s5rot_sj0ab1b__6339f446:active{background-color:var(--plasma-number-input_icon-button_background-color);}.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446 .base_14s5rot_sj0ab1b__6339f446:hover{color:var(--plasma-number-input_icon-button_color_solid-hover);}.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446 .base_14s5rot_sj0ab1b__6339f446:active{color:var(--plasma-number-input_icon-button_color_solid-active);}.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446 .base_14s5rot_sj0ab1b__6339f446.base_14s5rot_actionButtonDecrementDisabled__6339f446,.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446 .base_14s5rot_sj0ab1b__6339f446.base_14s5rot_actionButtonIncrementDisabled__6339f446{opacity:1;}.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446 .base_14s5rot_sj0ab1b__6339f446.base_14s5rot_actionButtonDecrementDisabled__6339f446 svg,.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446 .base_14s5rot_sj0ab1b__6339f446.base_14s5rot_actionButtonIncrementDisabled__6339f446 svg{opacity:var(--plasma-number-input_action-button_disabled-opacity);}.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446 .base_14s5rot_sj0ab1b__6339f446.base_14s5rot_actionButtonDecrementDisabled__6339f446:hover,.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446 .base_14s5rot_sj0ab1b__6339f446.base_14s5rot_actionButtonIncrementDisabled__6339f446:hover,.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446 .base_14s5rot_sj0ab1b__6339f446.base_14s5rot_actionButtonDecrementDisabled__6339f446:active,.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446 .base_14s5rot_sj0ab1b__6339f446.base_14s5rot_actionButtonIncrementDisabled__6339f446:active{color:var(--plasma-number-input_icon-button_color);}.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446 .base_14s5rot_sj0ab1b__6339f446.base_14s5rot_actionButtonDecrementDisabled__6339f446:hover svg,.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446 .base_14s5rot_sj0ab1b__6339f446.base_14s5rot_actionButtonIncrementDisabled__6339f446:hover svg,.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446 .base_14s5rot_sj0ab1b__6339f446.base_14s5rot_actionButtonDecrementDisabled__6339f446:active svg,.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446 .base_14s5rot_sj0ab1b__6339f446.base_14s5rot_actionButtonIncrementDisabled__6339f446:active svg{opacity:var(--plasma-number-input_action-button_disabled-opacity);}.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446.base_14s5rot_clearView__6339f446 .base_14s5rot_sj0ab1b__6339f446.base_14s5rot_actionButtonDecrementDisabled__6339f446:hover,.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446.base_14s5rot_clearView__6339f446 .base_14s5rot_sj0ab1b__6339f446.base_14s5rot_actionButtonIncrementDisabled__6339f446:hover,.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446.base_14s5rot_clearView__6339f446 .base_14s5rot_sj0ab1b__6339f446.base_14s5rot_actionButtonDecrementDisabled__6339f446:active,.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446.base_14s5rot_clearView__6339f446 .base_14s5rot_sj0ab1b__6339f446.base_14s5rot_actionButtonIncrementDisabled__6339f446:active{background-color:transparent;}.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446 .base_14s5rot_s1ft73sv__6339f446{--plasma-spinner-color:var(--plasma-number-input_loader-spinner_color-solid);}.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446 .base_14s5rot_i1tgbhg7__6339f446{caret-color:var(--plasma-number-input_caret_color-solid,var(--plasma-number-input_caret_color));}.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446 .base_14s5rot_i1tgbhg7__6339f446:not(.base_14s5rot_errorAnimation__6339f446){color:var(--plasma-number-input_color-solid);}.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446 .base_14s5rot_az36kha__6339f446{color:var(--plasma-number-input_additional-text_color-solid);}
|
51
|
-
|
52
|
-
.base_1sl0mh8_bmqk5v5__e93ebd2b.base_1sl0mh8_bmqk5v5__e93ebd2b.base_1sl0mh8_numberInputDisabled__e93ebd2b{pointer-events:none;opacity:var(--plasma-number-input_disabled-opacity);cursor:not-allowed;}
|
@@ -1,207 +0,0 @@
|
|
1
|
-
'use strict';
|
2
|
-
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
4
|
-
|
5
|
-
var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
|
6
|
-
var React = require('react');
|
7
|
-
var index = require('../../utils/index.js');
|
8
|
-
var NumberInput_tokens = require('./NumberInput.tokens.js');
|
9
|
-
var NumberInput_styles = require('./NumberInput.styles.js');
|
10
|
-
var base = require('./variations/_view/base.js');
|
11
|
-
var base$1 = require('./variations/_size/base.js');
|
12
|
-
var base$2 = require('./variations/_shape/base.js');
|
13
|
-
var base$3 = require('./variations/_background-type/base.js');
|
14
|
-
var base$4 = require('./variations/_segmentation/base.js');
|
15
|
-
var base$5 = require('./variations/_disabled/base.js');
|
16
|
-
var isNumber = require('../../utils/isNumber.js');
|
17
|
-
var ActionButton = require('./ui/ActionButton/ActionButton.js');
|
18
|
-
var IconMinus = require('../_Icon/Icons/IconMinus.js');
|
19
|
-
var Input = require('./ui/Input/Input.js');
|
20
|
-
var IconPlus = require('../_Icon/Icons/IconPlus.js');
|
21
|
-
var getSizeValueFromProp = require('../../utils/getSizeValueFromProp.js');
|
22
|
-
|
23
|
-
var _excluded = ["className", "style", "width", "value", "min", "max", "step", "isLoading", "loader", "size", "view", "clear", "shape", "segmentation", "inputBackgroundType", "disabled", "textBefore", "textAfter", "customIncrementButton", "incrementIcon", "customDecrementButton", "decrementIcon", "isManualInput", "onChange", "onIncrement", "onDecrement"];
|
24
|
-
var numberInputRoot = function numberInputRoot(Root) {
|
25
|
-
return /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
26
|
-
var _ref2;
|
27
|
-
var className = _ref.className,
|
28
|
-
style = _ref.style,
|
29
|
-
width = _ref.width,
|
30
|
-
value = _ref.value,
|
31
|
-
min = _ref.min,
|
32
|
-
max = _ref.max,
|
33
|
-
_ref$step = _ref.step,
|
34
|
-
step = _ref$step === void 0 ? 1 : _ref$step,
|
35
|
-
isLoading = _ref.isLoading,
|
36
|
-
loader = _ref.loader,
|
37
|
-
size = _ref.size,
|
38
|
-
view = _ref.view,
|
39
|
-
clear = _ref.clear,
|
40
|
-
shape = _ref.shape,
|
41
|
-
segmentation = _ref.segmentation,
|
42
|
-
_ref$inputBackgroundT = _ref.inputBackgroundType,
|
43
|
-
inputBackgroundType = _ref$inputBackgroundT === void 0 ? 'fill' : _ref$inputBackgroundT,
|
44
|
-
disabled = _ref.disabled,
|
45
|
-
textBefore = _ref.textBefore,
|
46
|
-
textAfter = _ref.textAfter,
|
47
|
-
customIncrementButton = _ref.customIncrementButton,
|
48
|
-
incrementIcon = _ref.incrementIcon,
|
49
|
-
customDecrementButton = _ref.customDecrementButton,
|
50
|
-
decrementIcon = _ref.decrementIcon,
|
51
|
-
isManualInput = _ref.isManualInput,
|
52
|
-
onChange = _ref.onChange,
|
53
|
-
onIncrement = _ref.onIncrement,
|
54
|
-
onDecrement = _ref.onDecrement,
|
55
|
-
rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
|
56
|
-
var _useState = React.useState((_ref2 = value !== null && value !== void 0 ? value : min) !== null && _ref2 !== void 0 ? _ref2 : 0),
|
57
|
-
_useState2 = _rollupPluginBabelHelpers.slicedToArray(_useState, 2),
|
58
|
-
innerValue = _useState2[0],
|
59
|
-
setInnerValue = _useState2[1];
|
60
|
-
var _useState3 = React.useState(false),
|
61
|
-
_useState4 = _rollupPluginBabelHelpers.slicedToArray(_useState3, 2),
|
62
|
-
isInputFocused = _useState4[0],
|
63
|
-
setIsInputFocused = _useState4[1];
|
64
|
-
var _useState5 = React.useState(false),
|
65
|
-
_useState6 = _rollupPluginBabelHelpers.slicedToArray(_useState5, 2),
|
66
|
-
isAnimationRun = _useState6[0],
|
67
|
-
setIsAnimationRun = _useState6[1];
|
68
|
-
var innerWidth = width ? getSizeValueFromProp.getSizeValueFromProp(width) : '100%';
|
69
|
-
var actionIconSize = size === 'xs' ? 'xs' : 's';
|
70
|
-
var solidViewClass = segmentation === 'solid' ? NumberInput_tokens.classes.solidView : undefined;
|
71
|
-
var segmentedViewClass = segmentation === 'segmented' ? NumberInput_tokens.classes.segmentedView : undefined;
|
72
|
-
var clearViewClass = clear ? NumberInput_tokens.classes.clearView : undefined;
|
73
|
-
var disabledClass = disabled ? NumberInput_tokens.classes.disabled : undefined;
|
74
|
-
var loadingClass = isLoading ? NumberInput_tokens.classes.loading : undefined;
|
75
|
-
var focusedClass = isInputFocused ? NumberInput_tokens.classes.focused : undefined;
|
76
|
-
var isMinValue = function isMinValue(currentValue) {
|
77
|
-
return min !== undefined && currentValue <= min;
|
78
|
-
};
|
79
|
-
var isMaxValue = function isMaxValue(currentValue) {
|
80
|
-
return max !== undefined && currentValue >= max;
|
81
|
-
};
|
82
|
-
var decrementButtonDisabled = isMinValue(Number(innerValue)) && !isAnimationRun || isLoading ? NumberInput_tokens.classes.actionButtonDecrementDisabled : undefined;
|
83
|
-
var incrementButtonDisabled = isMaxValue(Number(innerValue)) && !isAnimationRun || isLoading ? NumberInput_tokens.classes.actionButtonIncrementDisabled : undefined;
|
84
|
-
var handleDecrement = function handleDecrement() {
|
85
|
-
console.log(isAnimationRun);
|
86
|
-
if (isLoading || disabled || isAnimationRun) {
|
87
|
-
return;
|
88
|
-
}
|
89
|
-
var diffValue = Number(innerValue) - step;
|
90
|
-
var resValue = min !== undefined && diffValue <= min ? min : diffValue;
|
91
|
-
setInnerValue(resValue);
|
92
|
-
if (onDecrement) {
|
93
|
-
onDecrement(resValue);
|
94
|
-
}
|
95
|
-
if (onChange) {
|
96
|
-
onChange(null, resValue);
|
97
|
-
}
|
98
|
-
};
|
99
|
-
var handleIncrement = function handleIncrement() {
|
100
|
-
console.log(isAnimationRun);
|
101
|
-
if (isLoading || disabled || isAnimationRun) {
|
102
|
-
return;
|
103
|
-
}
|
104
|
-
var diffValue = Number(innerValue) + step;
|
105
|
-
var resValue = max !== undefined && diffValue >= max ? max : diffValue;
|
106
|
-
setInnerValue(resValue);
|
107
|
-
if (onIncrement) {
|
108
|
-
onIncrement(resValue);
|
109
|
-
}
|
110
|
-
if (onChange) {
|
111
|
-
onChange(null, resValue);
|
112
|
-
}
|
113
|
-
};
|
114
|
-
React.useEffect(function () {
|
115
|
-
if (value === undefined || !isNumber.isNumber(value)) {
|
116
|
-
return;
|
117
|
-
}
|
118
|
-
setInnerValue(function (prevValue) {
|
119
|
-
return prevValue !== value ? value : prevValue;
|
120
|
-
});
|
121
|
-
}, [value]);
|
122
|
-
return /*#__PURE__*/React.createElement(Root, _rollupPluginBabelHelpers.extends({
|
123
|
-
view: view,
|
124
|
-
size: size,
|
125
|
-
disabled: disabled,
|
126
|
-
clear: clear,
|
127
|
-
shape: shape,
|
128
|
-
segmentation: segmentation,
|
129
|
-
isLoading: isLoading
|
130
|
-
}, segmentation === 'solid' ? {
|
131
|
-
inputBackgroundType: 'clear'
|
132
|
-
} : {
|
133
|
-
inputBackgroundType: inputBackgroundType
|
134
|
-
}, {
|
135
|
-
className: index.cx(className, solidViewClass, segmentedViewClass, clearViewClass, disabledClass, loadingClass, focusedClass),
|
136
|
-
style: _rollupPluginBabelHelpers.objectSpread2(_rollupPluginBabelHelpers.objectSpread2({}, style), {}, _rollupPluginBabelHelpers.defineProperty({}, NumberInput_tokens.privateTokens.inputWidth, innerWidth))
|
137
|
-
}), customDecrementButton || /*#__PURE__*/React.createElement(ActionButton.ActionButton, {
|
138
|
-
className: index.cx(NumberInput_tokens.classes.actionButtonDecrement, decrementButtonDisabled, solidViewClass, segmentedViewClass),
|
139
|
-
icon: decrementIcon || /*#__PURE__*/React.createElement(IconMinus.IconMinus, {
|
140
|
-
color: "inherit",
|
141
|
-
size: actionIconSize
|
142
|
-
}),
|
143
|
-
onClick: handleDecrement
|
144
|
-
}), /*#__PURE__*/React.createElement(Input.NumberInput, _rollupPluginBabelHelpers.extends({
|
145
|
-
ref: ref,
|
146
|
-
segmentation: segmentation,
|
147
|
-
value: innerValue,
|
148
|
-
min: min,
|
149
|
-
max: max,
|
150
|
-
isManualInput: isManualInput,
|
151
|
-
textBefore: textBefore,
|
152
|
-
textAfter: textAfter,
|
153
|
-
isLoading: isLoading,
|
154
|
-
loader: loader,
|
155
|
-
disabled: disabled,
|
156
|
-
isInputFocused: isInputFocused,
|
157
|
-
setIsInputFocused: setIsInputFocused,
|
158
|
-
setIsAnimationRun: setIsAnimationRun,
|
159
|
-
setInnerValue: setInnerValue,
|
160
|
-
onChange: onChange
|
161
|
-
}, rest)), customIncrementButton || /*#__PURE__*/React.createElement(ActionButton.ActionButton, {
|
162
|
-
className: index.cx(NumberInput_tokens.classes.actionButtonIncrement, incrementButtonDisabled, solidViewClass, segmentedViewClass),
|
163
|
-
icon: incrementIcon || /*#__PURE__*/React.createElement(IconPlus.IconPlus, {
|
164
|
-
color: "inherit",
|
165
|
-
size: actionIconSize
|
166
|
-
}),
|
167
|
-
onClick: handleIncrement
|
168
|
-
}));
|
169
|
-
});
|
170
|
-
};
|
171
|
-
var numberInputConfig = {
|
172
|
-
name: 'NumberInput',
|
173
|
-
tag: 'div',
|
174
|
-
layout: numberInputRoot,
|
175
|
-
base: NumberInput_styles.base,
|
176
|
-
variations: {
|
177
|
-
view: {
|
178
|
-
css: base.base
|
179
|
-
},
|
180
|
-
size: {
|
181
|
-
css: base$1.base
|
182
|
-
},
|
183
|
-
shape: {
|
184
|
-
css: base$2.base
|
185
|
-
},
|
186
|
-
inputBackgroundType: {
|
187
|
-
css: base$3.base
|
188
|
-
},
|
189
|
-
segmentation: {
|
190
|
-
css: base$4.base
|
191
|
-
},
|
192
|
-
disabled: {
|
193
|
-
css: base$5.base,
|
194
|
-
attrs: true
|
195
|
-
}
|
196
|
-
},
|
197
|
-
defaults: {
|
198
|
-
view: 'default',
|
199
|
-
size: 'l',
|
200
|
-
shape: 'cornered',
|
201
|
-
segmentation: 'default'
|
202
|
-
}
|
203
|
-
};
|
204
|
-
|
205
|
-
exports.numberInputConfig = numberInputConfig;
|
206
|
-
exports.numberInputRoot = numberInputRoot;
|
207
|
-
//# sourceMappingURL=NumberInput.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"NumberInput.js","sources":["../../../src/components/NumberInput/NumberInput.tsx"],"sourcesContent":["import React, { CSSProperties, forwardRef, useEffect, useState } from 'react';\n\nimport type { RootProps } from '../../engines';\nimport { cx, getSizeValueFromProp, isNumber } from '../../utils';\nimport { IconMinus, IconPlus } from '../_Icon';\n\nimport type { NumberInputProps, NumberInputRootProps } from './NumberInput.types';\nimport { ActionButton, NumberInput } from './ui';\nimport { classes, privateTokens } from './NumberInput.tokens';\nimport { base } from './NumberInput.styles';\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as sizeCSS } from './variations/_size/base';\nimport { base as shapeCSS } from './variations/_shape/base';\nimport { base as inputBackgroundTypeCSS } from './variations/_background-type/base';\nimport { base as segmentationCSS } from './variations/_segmentation/base';\nimport { base as disabledCSS } from './variations/_disabled/base';\n\nexport const numberInputRoot = (Root: RootProps<HTMLDivElement, NumberInputRootProps>) =>\n forwardRef<HTMLInputElement, NumberInputProps>(\n (\n {\n className,\n style,\n width,\n value,\n min,\n max,\n step = 1,\n isLoading,\n loader,\n size,\n view,\n clear,\n shape,\n segmentation,\n inputBackgroundType = 'fill',\n disabled,\n textBefore,\n textAfter,\n customIncrementButton,\n incrementIcon,\n customDecrementButton,\n decrementIcon,\n isManualInput,\n onChange,\n onIncrement,\n onDecrement,\n ...rest\n },\n ref,\n ) => {\n const [innerValue, setInnerValue] = useState<number | string>(value ?? min ?? 0);\n const [isInputFocused, setIsInputFocused] = useState(false);\n const [isAnimationRun, setIsAnimationRun] = useState(false);\n\n const innerWidth = width ? getSizeValueFromProp(width) : '100%';\n\n const actionIconSize = size === 'xs' ? 'xs' : 's';\n const solidViewClass = segmentation === 'solid' ? classes.solidView : undefined;\n const segmentedViewClass = segmentation === 'segmented' ? classes.segmentedView : undefined;\n const clearViewClass = clear ? classes.clearView : undefined;\n const disabledClass = disabled ? classes.disabled : undefined;\n const loadingClass = isLoading ? classes.loading : undefined;\n const focusedClass = isInputFocused ? classes.focused : undefined;\n\n const isMinValue = (currentValue: number) => min !== undefined && currentValue <= min;\n const isMaxValue = (currentValue: number) => max !== undefined && currentValue >= max;\n\n const decrementButtonDisabled =\n (isMinValue(Number(innerValue)) && !isAnimationRun) || isLoading\n ? classes.actionButtonDecrementDisabled\n : undefined;\n const incrementButtonDisabled =\n (isMaxValue(Number(innerValue)) && !isAnimationRun) || isLoading\n ? classes.actionButtonIncrementDisabled\n : undefined;\n\n const handleDecrement = () => {\n console.log(isAnimationRun);\n if (isLoading || disabled || isAnimationRun) {\n return;\n }\n\n const diffValue = Number(innerValue) - step;\n const resValue = min !== undefined && diffValue <= min ? min : diffValue;\n\n setInnerValue(resValue);\n\n if (onDecrement) {\n onDecrement(resValue);\n }\n\n if (onChange) {\n onChange(null, resValue);\n }\n };\n\n const handleIncrement = () => {\n console.log(isAnimationRun);\n if (isLoading || disabled || isAnimationRun) {\n return;\n }\n\n const diffValue = Number(innerValue) + step;\n const resValue = max !== undefined && diffValue >= max ? max : diffValue;\n\n setInnerValue(resValue);\n\n if (onIncrement) {\n onIncrement(resValue);\n }\n\n if (onChange) {\n onChange(null, resValue);\n }\n };\n\n useEffect(() => {\n if (value === undefined || !isNumber(value)) {\n return;\n }\n\n setInnerValue((prevValue) => (prevValue !== value ? value : prevValue));\n }, [value]);\n\n return (\n <Root\n view={view}\n size={size}\n disabled={disabled}\n clear={clear}\n shape={shape}\n segmentation={segmentation}\n isLoading={isLoading}\n {...(segmentation === 'solid' ? { inputBackgroundType: 'clear' } : { inputBackgroundType })}\n className={cx(\n className,\n solidViewClass,\n segmentedViewClass,\n clearViewClass,\n disabledClass,\n loadingClass,\n focusedClass,\n )}\n style={\n {\n ...style,\n [privateTokens.inputWidth]: innerWidth,\n } as CSSProperties\n }\n >\n {customDecrementButton || (\n <ActionButton\n className={cx(\n classes.actionButtonDecrement,\n decrementButtonDisabled,\n solidViewClass,\n segmentedViewClass,\n )}\n icon={decrementIcon || <IconMinus color=\"inherit\" size={actionIconSize} />}\n onClick={handleDecrement}\n />\n )}\n <NumberInput\n ref={ref}\n segmentation={segmentation}\n value={innerValue}\n min={min}\n max={max}\n isManualInput={isManualInput}\n textBefore={textBefore}\n textAfter={textAfter}\n isLoading={isLoading}\n loader={loader}\n disabled={disabled}\n isInputFocused={isInputFocused}\n setIsInputFocused={setIsInputFocused}\n setIsAnimationRun={setIsAnimationRun}\n setInnerValue={setInnerValue}\n onChange={onChange}\n {...rest}\n />\n {customIncrementButton || (\n <ActionButton\n className={cx(\n classes.actionButtonIncrement,\n incrementButtonDisabled,\n solidViewClass,\n segmentedViewClass,\n )}\n icon={incrementIcon || <IconPlus color=\"inherit\" size={actionIconSize} />}\n onClick={handleIncrement}\n />\n )}\n </Root>\n );\n },\n );\n\nexport const numberInputConfig = {\n name: 'NumberInput',\n tag: 'div',\n layout: numberInputRoot,\n base,\n variations: {\n view: {\n css: viewCSS,\n },\n size: {\n css: sizeCSS,\n },\n shape: {\n css: shapeCSS,\n },\n inputBackgroundType: {\n css: inputBackgroundTypeCSS,\n },\n segmentation: {\n css: segmentationCSS,\n },\n disabled: {\n css: disabledCSS,\n attrs: true,\n },\n },\n defaults: {\n view: 'default',\n size: 'l',\n shape: 'cornered',\n segmentation: 'default',\n },\n};\n"],"names":["numberInputRoot","Root","forwardRef","_ref","ref","_ref2","className","style","width","value","min","max","_ref$step","step","isLoading","loader","size","view","clear","shape","segmentation","_ref$inputBackgroundT","inputBackgroundType","disabled","textBefore","textAfter","customIncrementButton","incrementIcon","customDecrementButton","decrementIcon","isManualInput","onChange","onIncrement","onDecrement","rest","_objectWithoutProperties","_excluded","_useState","useState","_useState2","_slicedToArray","innerValue","setInnerValue","_useState3","_useState4","isInputFocused","setIsInputFocused","_useState5","_useState6","isAnimationRun","setIsAnimationRun","innerWidth","getSizeValueFromProp","actionIconSize","solidViewClass","classes","solidView","undefined","segmentedViewClass","segmentedView","clearViewClass","clearView","disabledClass","loadingClass","loading","focusedClass","focused","isMinValue","currentValue","isMaxValue","decrementButtonDisabled","Number","actionButtonDecrementDisabled","incrementButtonDisabled","actionButtonIncrementDisabled","handleDecrement","console","log","diffValue","resValue","handleIncrement","useEffect","isNumber","prevValue","React","createElement","_extends","cx","_objectSpread","_defineProperty","privateTokens","inputWidth","ActionButton","actionButtonDecrement","icon","IconMinus","color","onClick","NumberInput","actionButtonIncrement","IconPlus","numberInputConfig","name","tag","layout","base","variations","css","viewCSS","sizeCSS","shapeCSS","inputBackgroundTypeCSS","segmentationCSS","disabledCSS","attrs","defaults"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;IAiBaA,eAAe,GAAG,SAAlBA,eAAeA,CAAIC,IAAqD,EAAA;AAAA,EAAA,oBACjFC,gBAAU,CACN,UAAAC,IAAA,EA8BIC,GAAG,EACF;AAAA,IAAA,IAAAC,KAAA,CAAA;AAAA,IAAA,IA7BGC,SAAS,GAAAH,IAAA,CAATG,SAAS;MACTC,KAAK,GAAAJ,IAAA,CAALI,KAAK;MACLC,KAAK,GAAAL,IAAA,CAALK,KAAK;MACLC,KAAK,GAAAN,IAAA,CAALM,KAAK;MACLC,GAAG,GAAAP,IAAA,CAAHO,GAAG;MACHC,GAAG,GAAAR,IAAA,CAAHQ,GAAG;MAAAC,SAAA,GAAAT,IAAA,CACHU,IAAI;AAAJA,MAAAA,IAAI,GAAAD,SAAA,KAAG,KAAA,CAAA,GAAA,CAAC,GAAAA,SAAA;MACRE,SAAS,GAAAX,IAAA,CAATW,SAAS;MACTC,MAAM,GAAAZ,IAAA,CAANY,MAAM;MACNC,IAAI,GAAAb,IAAA,CAAJa,IAAI;MACJC,IAAI,GAAAd,IAAA,CAAJc,IAAI;MACJC,KAAK,GAAAf,IAAA,CAALe,KAAK;MACLC,KAAK,GAAAhB,IAAA,CAALgB,KAAK;MACLC,YAAY,GAAAjB,IAAA,CAAZiB,YAAY;MAAAC,qBAAA,GAAAlB,IAAA,CACZmB,mBAAmB;AAAnBA,MAAAA,mBAAmB,GAAAD,qBAAA,KAAG,KAAA,CAAA,GAAA,MAAM,GAAAA,qBAAA;MAC5BE,QAAQ,GAAApB,IAAA,CAARoB,QAAQ;MACRC,UAAU,GAAArB,IAAA,CAAVqB,UAAU;MACVC,SAA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.styles.js","sources":["../../../src/components/NumberInput/NumberInput.styles.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nexport const base = css`\n display: flex;\n align-items: center;\n`;\n"],"names":["base"],"mappings":";;;;AAEO,IAAMA,IAAI,GAGhB;;;;"}
|
@@ -1 +0,0 @@
|
|
1
|
-
.bwds6g{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}
|