@salutejs/plasma-new-hope 0.187.0-canary.1539.11742294440.0 → 0.187.0-dev.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/components/NumberInput/NumberInput.css +52 -0
- package/cjs/components/NumberInput/NumberInput.js +205 -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 +102 -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 +205 -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_fhgb95.css +8 -0
- package/cjs/components/NumberInput/utils/index.js +12 -0
- package/cjs/components/NumberInput/utils/index.js.map +1 -0
- package/cjs/components/{Switch/_toggleSize → NumberInput/variations/_background-type}/base.js +2 -2
- package/cjs/components/NumberInput/variations/_background-type/base.js.map +1 -0
- package/cjs/components/NumberInput/variations/_background-type/base_dx9knv.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_14s5rot.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_yqdmk4.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_tnfbb5.css +1 -0
- package/cjs/components/Switch/Switch.css +7 -11
- package/cjs/components/Switch/Switch.js +7 -16
- package/cjs/components/Switch/Switch.js.map +1 -1
- package/cjs/components/Switch/Switch.styles.js +4 -16
- package/cjs/components/Switch/Switch.styles.js.map +1 -1
- package/cjs/components/Switch/Switch.styles_1kk0qzz.css +4 -0
- package/cjs/components/Switch/Switch.tokens.js +0 -11
- package/cjs/components/Switch/Switch.tokens.js.map +1 -1
- package/cjs/components/Switch/_focused/base.js +1 -1
- package/{es/components/Switch/_focused/base_sz3n0x.css → cjs/components/Switch/_focused/base_j4murk.css} +1 -1
- package/cjs/components/Switch/_size/base.js +1 -1
- package/cjs/components/Switch/_size/base.js.map +1 -1
- package/cjs/components/Switch/_size/base_1rjzpi4.css +1 -0
- package/cjs/components/Switch/_view/base.js +1 -1
- package/cjs/components/Switch/_view/base.js.map +1 -1
- package/cjs/components/Switch/_view/base_1mtyz12.css +1 -0
- package/cjs/index.css +30 -11
- package/cjs/index.js +6 -0
- package/cjs/index.js.map +1 -1
- package/emotion/cjs/components/NumberInput/NumberInput.js +214 -0
- package/emotion/cjs/components/NumberInput/NumberInput.styles.js +17 -0
- package/emotion/cjs/components/NumberInput/NumberInput.template-doc.mdx +214 -0
- package/emotion/cjs/components/NumberInput/NumberInput.tokens.js +99 -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 +213 -0
- package/emotion/cjs/components/NumberInput/ui/Input/Input.styles.js +81 -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 +9 -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/_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/Switch/Switch.js +8 -17
- package/emotion/cjs/components/Switch/Switch.styles.js +5 -21
- package/emotion/cjs/components/Switch/Switch.template-doc.mdx +1 -37
- package/emotion/cjs/components/Switch/Switch.tokens.js +0 -11
- package/emotion/cjs/components/Switch/_size/base.js +1 -1
- package/emotion/cjs/components/Switch/_view/base.js +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +46 -0
- package/emotion/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.js +11 -0
- package/emotion/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +108 -0
- package/emotion/cjs/examples/plasma_b2c/components/Switch/Switch.config.js +4 -11
- package/emotion/cjs/examples/plasma_b2c/components/Switch/Switch.stories.tsx +1 -7
- package/emotion/cjs/examples/plasma_web/components/NumberInput/NumberInput.config.js +46 -0
- package/emotion/cjs/examples/plasma_web/components/NumberInput/NumberInput.js +11 -0
- package/emotion/cjs/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +108 -0
- package/emotion/cjs/examples/plasma_web/components/Switch/Switch.config.js +4 -11
- package/emotion/cjs/examples/plasma_web/components/Switch/Switch.stories.tsx +1 -14
- package/emotion/cjs/index.js +11 -0
- package/emotion/es/components/NumberInput/NumberInput.js +206 -0
- package/emotion/es/components/NumberInput/NumberInput.styles.js +11 -0
- package/emotion/es/components/NumberInput/NumberInput.template-doc.mdx +214 -0
- package/emotion/es/components/NumberInput/NumberInput.tokens.js +93 -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 +204 -0
- package/emotion/es/components/NumberInput/ui/Input/Input.styles.js +74 -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 +3 -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/_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/Switch/Switch.js +4 -13
- package/emotion/es/components/Switch/Switch.styles.js +4 -20
- package/emotion/es/components/Switch/Switch.template-doc.mdx +1 -37
- package/emotion/es/components/Switch/Switch.tokens.js +0 -11
- package/emotion/es/components/Switch/_size/base.js +2 -2
- package/emotion/es/components/Switch/_view/base.js +2 -2
- package/emotion/es/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +40 -0
- package/emotion/es/examples/plasma_b2c/components/NumberInput/NumberInput.js +5 -0
- package/emotion/es/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +108 -0
- package/emotion/es/examples/plasma_b2c/components/Switch/Switch.config.js +4 -11
- package/emotion/es/examples/plasma_b2c/components/Switch/Switch.stories.tsx +1 -7
- package/emotion/es/examples/plasma_web/components/NumberInput/NumberInput.config.js +40 -0
- package/emotion/es/examples/plasma_web/components/NumberInput/NumberInput.js +5 -0
- package/emotion/es/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +108 -0
- package/emotion/es/examples/plasma_web/components/Switch/Switch.config.js +4 -11
- package/emotion/es/examples/plasma_web/components/Switch/Switch.stories.tsx +1 -14
- package/emotion/es/index.js +2 -1
- package/es/components/NumberInput/NumberInput.css +52 -0
- package/es/components/NumberInput/NumberInput.js +200 -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 +96 -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 +201 -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_fhgb95.css +8 -0
- package/es/components/NumberInput/utils/index.js +6 -0
- package/es/components/NumberInput/utils/index.js.map +1 -0
- package/es/components/{Switch/_toggleSize → NumberInput/variations/_background-type}/base.js +2 -2
- package/es/components/NumberInput/variations/_background-type/base.js.map +1 -0
- package/es/components/NumberInput/variations/_background-type/base_dx9knv.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_14s5rot.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_yqdmk4.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_tnfbb5.css +1 -0
- package/es/components/Switch/Switch.css +7 -11
- package/es/components/Switch/Switch.js +8 -17
- package/es/components/Switch/Switch.js.map +1 -1
- package/es/components/Switch/Switch.styles.js +5 -15
- package/es/components/Switch/Switch.styles.js.map +1 -1
- package/es/components/Switch/Switch.styles_1kk0qzz.css +4 -0
- package/es/components/Switch/Switch.tokens.js +0 -11
- package/es/components/Switch/Switch.tokens.js.map +1 -1
- package/es/components/Switch/_focused/base.js +1 -1
- package/{cjs/components/Switch/_focused/base_sz3n0x.css → es/components/Switch/_focused/base_j4murk.css} +1 -1
- package/es/components/Switch/_size/base.js +1 -1
- package/es/components/Switch/_size/base.js.map +1 -1
- package/es/components/Switch/_size/base_1rjzpi4.css +1 -0
- package/es/components/Switch/_view/base.js +1 -1
- package/es/components/Switch/_view/base.js.map +1 -1
- package/es/components/Switch/_view/base_1mtyz12.css +1 -0
- package/es/index.css +30 -11
- package/es/index.js +2 -0
- package/es/index.js.map +1 -1
- package/package.json +2 -2
- package/styled-components/cjs/components/NumberInput/NumberInput.js +214 -0
- package/styled-components/cjs/components/NumberInput/NumberInput.styles.js +8 -0
- package/styled-components/cjs/components/NumberInput/NumberInput.template-doc.mdx +214 -0
- package/styled-components/cjs/components/NumberInput/NumberInput.tokens.js +99 -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 +213 -0
- package/styled-components/cjs/components/NumberInput/ui/Input/Input.styles.js +48 -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 +9 -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/_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/Switch/Switch.js +8 -17
- package/styled-components/cjs/components/Switch/Switch.styles.js +5 -11
- package/styled-components/cjs/components/Switch/Switch.template-doc.mdx +1 -37
- package/styled-components/cjs/components/Switch/Switch.tokens.js +0 -11
- package/styled-components/cjs/components/Switch/_size/base.js +1 -1
- package/styled-components/cjs/components/Switch/_view/base.js +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +46 -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 +108 -0
- package/styled-components/cjs/examples/plasma_b2c/components/Switch/Switch.config.js +2 -9
- package/styled-components/cjs/examples/plasma_b2c/components/Switch/Switch.stories.tsx +1 -7
- package/styled-components/cjs/examples/plasma_web/components/NumberInput/NumberInput.config.js +46 -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 +108 -0
- package/styled-components/cjs/examples/plasma_web/components/Switch/Switch.config.js +2 -9
- package/styled-components/cjs/examples/plasma_web/components/Switch/Switch.stories.tsx +1 -14
- package/styled-components/cjs/index.js +11 -0
- package/styled-components/es/components/NumberInput/NumberInput.js +206 -0
- package/styled-components/es/components/NumberInput/NumberInput.styles.js +2 -0
- package/styled-components/es/components/NumberInput/NumberInput.template-doc.mdx +214 -0
- package/styled-components/es/components/NumberInput/NumberInput.tokens.js +93 -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 +204 -0
- package/styled-components/es/components/NumberInput/ui/Input/Input.styles.js +41 -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 +3 -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/_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/Switch/Switch.js +4 -13
- package/styled-components/es/components/Switch/Switch.styles.js +4 -10
- package/styled-components/es/components/Switch/Switch.template-doc.mdx +1 -37
- package/styled-components/es/components/Switch/Switch.tokens.js +0 -11
- package/styled-components/es/components/Switch/_size/base.js +2 -2
- package/styled-components/es/components/Switch/_view/base.js +2 -2
- package/styled-components/es/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +40 -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 +108 -0
- package/styled-components/es/examples/plasma_b2c/components/Switch/Switch.config.js +2 -9
- package/styled-components/es/examples/plasma_b2c/components/Switch/Switch.stories.tsx +1 -7
- package/styled-components/es/examples/plasma_web/components/NumberInput/NumberInput.config.js +40 -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 +108 -0
- package/styled-components/es/examples/plasma_web/components/Switch/Switch.config.js +2 -9
- package/styled-components/es/examples/plasma_web/components/Switch/Switch.stories.tsx +1 -14
- package/styled-components/es/index.js +2 -1
- package/types/components/NumberInput/NumberInput.d.ts +38 -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 +88 -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 +19 -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 +19 -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 +4 -0
- package/types/components/NumberInput/utils/index.d.ts.map +1 -0
- package/types/components/NumberInput/variations/_background-type/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/Switch/Switch.d.ts +0 -3
- package/types/components/Switch/Switch.d.ts.map +1 -1
- package/types/components/Switch/Switch.styles.d.ts +0 -2
- package/types/components/Switch/Switch.styles.d.ts.map +1 -1
- package/types/components/Switch/Switch.tokens.d.ts +0 -9
- package/types/components/Switch/Switch.tokens.d.ts.map +1 -1
- package/types/components/Switch/Switch.types.d.ts +2 -10
- package/types/components/Switch/Switch.types.d.ts.map +1 -1
- package/types/components/Switch/_size/base.d.ts.map +1 -1
- package/types/components/Switch/_view/base.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/NumberInput/NumberInput.config.d.ts +39 -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 +82 -0
- package/types/examples/plasma_b2c/components/NumberInput/NumberInput.d.ts.map +1 -0
- package/types/examples/plasma_b2c/components/Switch/Switch.config.d.ts +0 -7
- package/types/examples/plasma_b2c/components/Switch/Switch.config.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Switch/Switch.d.ts +0 -6
- package/types/examples/plasma_b2c/components/Switch/Switch.d.ts.map +1 -1
- package/types/examples/plasma_web/components/NumberInput/NumberInput.config.d.ts +39 -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 +82 -0
- package/types/examples/plasma_web/components/NumberInput/NumberInput.d.ts.map +1 -0
- package/types/examples/plasma_web/components/Switch/Switch.config.d.ts +0 -7
- package/types/examples/plasma_web/components/Switch/Switch.config.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Switch/Switch.d.ts +0 -6
- package/types/examples/plasma_web/components/Switch/Switch.d.ts.map +1 -1
- package/types/index.d.ts +1 -0
- package/types/index.d.ts.map +1 -1
- package/cjs/components/Switch/Switch.styles_bei7bh.css +0 -6
- package/cjs/components/Switch/_size/base_1tcl212.css +0 -1
- package/cjs/components/Switch/_toggleSize/base.js.map +0 -1
- package/cjs/components/Switch/_toggleSize/base_6i0904.css +0 -1
- package/cjs/components/Switch/_view/base_yxkf3s.css +0 -1
- package/emotion/cjs/components/Switch/_toggleSize/base.js +0 -10
- package/emotion/es/components/Switch/_toggleSize/base.js +0 -4
- package/es/components/Switch/Switch.styles_bei7bh.css +0 -6
- package/es/components/Switch/_size/base_1tcl212.css +0 -1
- package/es/components/Switch/_toggleSize/base.js.map +0 -1
- package/es/components/Switch/_toggleSize/base_6i0904.css +0 -1
- package/es/components/Switch/_view/base_yxkf3s.css +0 -1
- package/styled-components/cjs/components/Switch/_toggleSize/base.js +0 -10
- package/styled-components/es/components/Switch/_toggleSize/base.js +0 -4
- package/types/components/Switch/_toggleSize/base.d.ts.map +0 -1
- /package/types/components/{Switch/_toggleSize → NumberInput/variations/_background-type}/base.d.ts +0 -0
@@ -0,0 +1,11 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.NumberInput = void 0;
|
7
|
+
var _NumberInput = /*#__PURE__*/require("../../../../components/NumberInput");
|
8
|
+
var _engines = /*#__PURE__*/require("../../../../engines");
|
9
|
+
var _NumberInput2 = /*#__PURE__*/require("./NumberInput.config");
|
10
|
+
var mergedConfig = /*#__PURE__*/(0, _engines.mergeConfig)(_NumberInput.numberInputConfig, _NumberInput2.config);
|
11
|
+
var NumberInput = exports.NumberInput = /*#__PURE__*/(0, _engines.component)(mergedConfig);
|
@@ -0,0 +1,108 @@
|
|
1
|
+
import React, { ComponentProps, useState } from 'react';
|
2
|
+
import type { StoryObj, Meta } from '@storybook/react';
|
3
|
+
import { action } from '@storybook/addon-actions';
|
4
|
+
|
5
|
+
import { WithTheme } from '../../../_helpers';
|
6
|
+
|
7
|
+
import { NumberInput } from './NumberInput';
|
8
|
+
|
9
|
+
const onChange = action('onChange');
|
10
|
+
const onDecrement = action('onDecrement');
|
11
|
+
const onIncrement = action('onIncrement');
|
12
|
+
|
13
|
+
const views = ['default', 'secondary', 'accent', 'clear'];
|
14
|
+
const sizes = ['l', 'm', 's', 'xs'];
|
15
|
+
const shapes = ['cornered', 'pilled'];
|
16
|
+
const inputBackgroundTypes = ['fill', 'clear'];
|
17
|
+
const segmentation = ['default', 'segmented', 'solid'];
|
18
|
+
|
19
|
+
const meta: Meta<typeof NumberInput> = {
|
20
|
+
title: 'plasma_web/NumberInput',
|
21
|
+
component: NumberInput,
|
22
|
+
decorators: [WithTheme],
|
23
|
+
argTypes: {
|
24
|
+
min: {
|
25
|
+
control: {
|
26
|
+
type: 'number',
|
27
|
+
},
|
28
|
+
},
|
29
|
+
max: {
|
30
|
+
control: {
|
31
|
+
type: 'number',
|
32
|
+
},
|
33
|
+
},
|
34
|
+
view: {
|
35
|
+
options: views,
|
36
|
+
control: {
|
37
|
+
type: 'select',
|
38
|
+
},
|
39
|
+
},
|
40
|
+
size: {
|
41
|
+
options: sizes,
|
42
|
+
control: {
|
43
|
+
type: 'inline-radio',
|
44
|
+
},
|
45
|
+
},
|
46
|
+
shape: {
|
47
|
+
options: shapes,
|
48
|
+
control: {
|
49
|
+
type: 'inline-radio',
|
50
|
+
},
|
51
|
+
},
|
52
|
+
inputBackgroundType: {
|
53
|
+
options: inputBackgroundTypes,
|
54
|
+
control: {
|
55
|
+
type: 'inline-radio',
|
56
|
+
},
|
57
|
+
},
|
58
|
+
segmentation: {
|
59
|
+
options: segmentation,
|
60
|
+
control: {
|
61
|
+
type: 'select',
|
62
|
+
},
|
63
|
+
},
|
64
|
+
},
|
65
|
+
};
|
66
|
+
|
67
|
+
export default meta;
|
68
|
+
|
69
|
+
type StoryPropsDefault = ComponentProps<typeof NumberInput>;
|
70
|
+
|
71
|
+
const StoryDefault = (args: StoryPropsDefault) => {
|
72
|
+
const [value, setValue] = useState(5);
|
73
|
+
|
74
|
+
const handleChange = (_: any, newValue: number) => {
|
75
|
+
setValue(newValue);
|
76
|
+
onChange(newValue);
|
77
|
+
};
|
78
|
+
|
79
|
+
return (
|
80
|
+
<NumberInput
|
81
|
+
{...args}
|
82
|
+
value={value}
|
83
|
+
onChange={handleChange}
|
84
|
+
onDecrement={onDecrement}
|
85
|
+
onIncrement={onIncrement}
|
86
|
+
/>
|
87
|
+
);
|
88
|
+
};
|
89
|
+
|
90
|
+
export const Default: StoryObj<StoryPropsDefault> = {
|
91
|
+
args: {
|
92
|
+
view: 'default',
|
93
|
+
size: 'l',
|
94
|
+
shape: 'cornered',
|
95
|
+
inputBackgroundType: 'fill',
|
96
|
+
segmentation: 'default',
|
97
|
+
min: 0,
|
98
|
+
max: 9,
|
99
|
+
step: 1,
|
100
|
+
width: 188,
|
101
|
+
isManualInput: false,
|
102
|
+
textBefore: '',
|
103
|
+
textAfter: '',
|
104
|
+
isLoading: false,
|
105
|
+
disabled: false,
|
106
|
+
},
|
107
|
+
render: StoryDefault,
|
108
|
+
};
|
@@ -10,28 +10,21 @@ var config = exports.config = {
|
|
10
10
|
defaults: {
|
11
11
|
view: 'default',
|
12
12
|
size: 'm',
|
13
|
-
toggleSize: 'l',
|
14
13
|
labelPosition: 'before',
|
15
14
|
focused: 'true'
|
16
15
|
},
|
17
16
|
variations: {
|
18
17
|
size: {
|
19
|
-
|
20
|
-
m: /*#__PURE__*/(0, _react.css)(_Switch.switchTokens.fontFamily, ":var(--plasma-typo-body-m-font-family);", _Switch.switchTokens.fontStyle, ":var(--plasma-typo-body-m-font-style);", _Switch.switchTokens.fontWeight, ":var(--plasma-typo-body-m-font-weight);", _Switch.switchTokens.lineHeight, ":var(--plasma-typo-body-m-line-height);", _Switch.switchTokens.fontSize, ":var(--plasma-typo-body-m-font-size);", _Switch.switchTokens.letterSpacing, ":var(--plasma-typo-body-m-letter-spacing);", _Switch.switchTokens.descriptionFontFamily, ":var(--plasma-typo-body-s-font-family);", _Switch.switchTokens.descriptionFontStyle, ":var(--plasma-typo-body-s-font-style);", _Switch.switchTokens.descriptionFontWeight, ":var(--plasma-typo-body-s-font-weight);", _Switch.switchTokens.descriptionLineHeight, ":var(--plasma-typo-body-s-line-height);", _Switch.switchTokens.descriptionFontSize, ":var(--plasma-typo-body-s-font-size);", _Switch.switchTokens.descriptionLetterSpacing, ":var(--plasma-typo-body-xs-letter-spacing);", _Switch.switchTokens.verticalGap, ":0.25rem;", _Switch.switchTokens.labelOffset, ":0.75rem;;label:plasma-new-hope__m;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3BsYXNtYV93ZWIvY29tcG9uZW50cy9Td2l0Y2gvU3dpdGNoLmNvbmZpZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUE4QmtCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3BsYXNtYV93ZWIvY29tcG9uZW50cy9Td2l0Y2gvU3dpdGNoLmNvbmZpZy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHsgc3dpdGNoVG9rZW5zIH0gZnJvbSAnLi4vLi4vLi4vLi4vY29tcG9uZW50cy9Td2l0Y2gnO1xuXG5leHBvcnQgY29uc3QgY29uZmlnID0ge1xuICAgIGRlZmF1bHRzOiB7XG4gICAgICAgIHZpZXc6ICdkZWZhdWx0JyxcbiAgICAgICAgc2l6ZTogJ20nLFxuICAgICAgICB0b2dnbGVTaXplOiAnbCcsXG4gICAgICAgIGxhYmVsUG9zaXRpb246ICdiZWZvcmUnLFxuICAgICAgICBmb2N1c2VkOiAndHJ1ZScsXG4gICAgfSxcbiAgICB2YXJpYXRpb25zOiB7XG4gICAgICAgIHNpemU6IHtcbiAgICAgICAgICAgIHM6IGNzc2BcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy5mb250RmFtaWx5fTogdmFyKC0tcGxhc21hLXR5cG8tYm9keS1zLWZvbnQtZmFtaWx5KTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy5mb250U3R5bGV9OiB2YXIoLS1wbGFzbWEtdHlwby1ib2R5LXMtZm9udC1zdHlsZSk7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMuZm9udFdlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLWJvZHktcy1mb250LXdlaWdodCk7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMubGluZUhlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLWJvZHktcy1saW5lLWhlaWdodCk7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMuZm9udFNpemV9OiB2YXIoLS1wbGFzbWEtdHlwby1ib2R5LXMtZm9udC1zaXplKTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy5sZXR0ZXJTcGFjaW5nfTogdmFyKC0tcGxhc21hLXR5cG8tYm9keS1zLWxldHRlci1zcGFjaW5nKTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy5kZXNjcmlwdGlvbkZvbnRGYW1pbHl9OiB2YXIoLS1wbGFzbWEtdHlwby1ib2R5LXhzLWZvbnQtZmFtaWx5KTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy5kZXNjcmlwdGlvbkZvbnRTdHlsZX06IHZhcigtLXBsYXNtYS10eXBvLWJvZHkteHMtZm9udC1zdHlsZSk7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMuZGVzY3JpcHRpb25Gb250V2VpZ2h0fTogdmFyKC0tcGxhc21hLXR5cG8tYm9keS14cy1mb250LXdlaWdodCk7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMuZGVzY3JpcHRpb25MaW5lSGVpZ2h0fTogdmFyKC0tcGxhc21hLXR5cG8tYm9keS14cy1saW5lLWhlaWdodCk7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMuZGVzY3JpcHRpb25Gb250U2l6ZX06IHZhcigtLXBsYXNtYS10eXBvLWJvZHkteHMtZm9udC1zaXplKTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy5kZXNjcmlwdGlvbkxldHRlclNwYWNpbmd9OiB2YXIoLS1wbGFzbWEtdHlwby1ib2R5LXhzLWxldHRlci1zcGFjaW5nKTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy52ZXJ0aWNhbEdhcH06IDAuMjVyZW07XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMubGFiZWxPZmZzZXR9OiAwLjc1cmVtO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgICAgIG06IGNzc2BcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy5mb250RmFtaWx5fTogdmFyKC0tcGxhc21hLXR5cG8tYm9keS1tLWZvbnQtZmFtaWx5KTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy5mb250U3R5bGV9OiB2YXIoLS1wbGFzbWEtdHlwby1ib2R5LW0tZm9udC1zdHlsZSk7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMuZm9udFdlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLWJvZHktbS1mb250LXdlaWdodCk7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMubGluZUhlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLWJvZHktbS1saW5lLWhlaWdodCk7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMuZm9udFNpemV9OiB2YXIoLS1wbGFzbWEtdHlwby1ib2R5LW0tZm9udC1zaXplKTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy5sZXR0ZXJTcGFjaW5nfTogdmFyKC0tcGxhc21hLXR5cG8tYm9keS1tLWxldHRlci1zcGFjaW5nKTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy5kZXNjcmlwdGlvbkZvbnRGYW1pbHl9OiB2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GVyU3BhY2luZ306IHZhcigtLXBsYXNtYS10eXBvLWJvZHkteHMtbGV0dGVyLXNwYWNpbmcpO1xuICAgICAgICAgICAgICAgICR7c3dpdGNoVG9rZW5zLnZlcnRpY2FsR2FwfTogMC4yNXJlbTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy5sYWJlbE9mZnNldH06IDAuNzVyZW07XG4gICAgICAgICAgICBgLFxuICAgICAgICB9LFxuICAgICAgICB0b2dnbGVTaXplOiB7XG4gICAgICAgICAgICBsOiBjc3NgXG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMudHJhY2tXaWR0aH06IDIuNzVyZW07XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMudHJhY2tIZWlnaHR9OiAxLjc1cmVtO1xuICAgICAgICAgICAgICAgICR7c3dpdGNoVG9rZW5zLnRyYWNrQm9yZGVyUmFkaXVzfTogY2FsYyh2YXIoJHtzd2l0Y2hUb2tlbnMudHJhY2tIZWlnaHR9KSAvIDIpO1xuICAgICAgICAgICAgICAgICR7c3dpdGNoVG9rZW5zLnRodW1iU2l6ZX06IDEuNXJlbTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy50aHVtYkJvcmRlclJhZGl1c306IGNhbGModmFyKCR7c3dpdGNoVG9rZW5zLnRodW1iU2l6ZX0pIC8gMik7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMudGh1bWJPZmZzZXR9OiAwLjEyNXJlbTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy50aHVtYlByZXNzU2NhbGV9OiAxLjI1O1xuICAgICAgICAgICAgYCxcbiAgICAgICAgICAgIHM6IGNzc2BcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy50cmFja1dpZHRofTogMnJlbTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy50cmFja0hlaWdodH06IDEuMjVyZW07XG4gICAgICAgICAgICAgICAgJHt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cmFja0JhY2tncm91bmRDb2xvck9mZkhvdmVyfTogdmFyKC0tc3VyZmFjZS10cmFuc3BhcmVudC10ZXJ0aWFyeS1ob3Zlcik7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMudGh1bWJCYWNrZ3JvdW5kQ29sb3J9OiB2YXIoLS1vbi1kYXJrLXN1cmZhY2Utc29saWQtZGVmYXVsdCk7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMudGh1bWJCb3hTaGFkb3d9OiAwIDFweCAxcHggcmdiYSgwLCAwLCAwLCAwLjExKTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgIH0sXG4gICAgICAgIGRpc2FibGVkOiB7XG4gICAgICAgICAgICB0cnVlOiBjc3NgXG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMuZGlzYWJsZWRPcGFjaXR5fTogMC40O1xuICAgICAgICAgICAgYCxcbiAgICAgICAgfSxcbiAgICAgICAgZm9jdXNlZDoge1xuICAgICAgICAgICAgdHJ1ZTogY3NzYFxuICAgICAgICAgICAgICAgICR7c3dpdGNoVG9rZW5zLnRyYWNrRm9jdXNDb2xvcn06IHZhcigtLXN1cmZhY2UtYWNjZW50KTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgIH0sXG4gICAgfSxcbn07XG4iXX0= */")),
|
21
|
-
l: /*#__PURE__*/(0, _react.css)(_Switch.switchTokens.fontFamily, ":var(--plasma-typo-body-l-font-family);", _Switch.switchTokens.fontStyle, ":var(--plasma-typo-body-l-font-style);", _Switch.switchTokens.fontWeight, ":var(--plasma-typo-body-l-font-weight);", _Switch.switchTokens.lineHeight, ":var(--plasma-typo-body-l-line-height);", _Switch.switchTokens.fontSize, ":var(--plasma-typo-body-l-font-size);", _Switch.switchTokens.letterSpacing, ":var(--plasma-typo-body-l-letter-spacing);", _Switch.switchTokens.descriptionFontFamily, ":var(--plasma-typo-body-m-font-family);", _Switch.switchTokens.descriptionFontStyle, ":var(--plasma-typo-body-m-font-style);", _Switch.switchTokens.descriptionFontWeight, ":var(--plasma-typo-body-m-font-weight);", _Switch.switchTokens.descriptionLineHeight, ":var(--plasma-typo-body-m-line-height);", _Switch.switchTokens.descriptionFontSize, ":var(--plasma-typo-body-m-font-size);", _Switch.switchTokens.descriptionLetterSpacing, ":var(--plasma-typo-body-xs-letter-spacing);", _Switch.switchTokens.verticalGap, ":0.25rem;", _Switch.switchTokens.labelOffset, ":0.75rem;;label:plasma-new-hope__l;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3BsYXNtYV93ZWIvY29tcG9uZW50cy9Td2l0Y2gvU3dpdGNoLmNvbmZpZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUE4Q2tCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3BsYXNtYV93ZWIvY29tcG9uZW50cy9Td2l0Y2gvU3dpdGNoLmNvbmZpZy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHsgc3dpdGNoVG9rZW5zIH0gZnJvbSAnLi4vLi4vLi4vLi4vY29tcG9uZW50cy9Td2l0Y2gnO1xuXG5leHBvcnQgY29uc3QgY29uZmlnID0ge1xuICAgIGRlZmF1bHRzOiB7XG4gICAgICAgIHZpZXc6ICdkZWZhdWx0JyxcbiAgICAgICAgc2l6ZTogJ20nLFxuICAgICAgICB0b2dnbGVTaXplOiAnbCcsXG4gICAgICAgIGxhYmVsUG9zaXRpb246ICdiZWZvcmUnLFxuICAgICAgICBmb2N1c2VkOiAndHJ1ZScsXG4gICAgfSxcbiAgICB2YXJpYXRpb25zOiB7XG4gICAgICAgIHNpemU6IHtcbiAgICAgICAgICAgIHM6IGNzc2BcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy5mb250RmFtaWx5fTogdmFyKC0tcGxhc21hLXR5cG8tYm9keS1zLWZvbnQtZmFtaWx5KTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy5mb250U3R5bGV9OiB2YXIoLS1wbGFzbWEtdHlwby1ib2R5LXMtZm9udC1zdHlsZSk7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMuZm9udFdlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLWJvZHktcy1mb250LXdlaWdodCk7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMubGluZUhlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLWJvZHktcy1saW5lLWhlaWdodCk7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMuZm9udFNpemV9OiB2YXIoLS1wbGFzbWEtdHlwby1ib2R5LXMtZm9udC1zaXplKTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy5sZXR0ZXJTcGFjaW5nfTogdmFyKC0tcGxhc21hLXR5cG8tYm9keS1zLWxldHRlci1zcGFjaW5nKTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy5kZXNjcmlwdGlvbkZvbnRGYW1pbHl9OiB2YXIoLS1wbGFzbWEtdHlwby1ib2R5LXhzLWZvbnQtZmFtaWx5KTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy5kZXNjcmlwdGlvbkZvbnRTdHlsZX06IHZhcigtLXBsYXNtYS10eXBvLWJvZHkteHMtZm9udC1zdHlsZSk7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMuZGVzY3JpcHRpb25Gb250V2VpZ2h0fTogdmFyKC0tcGxhc21hLXR5cG8tYm9keS14cy1mb250LXdlaWdodCk7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMuZGVzY3JpcHRpb25MaW5lSGVpZ2h0fTogdmFyKC0tcGxhc21hLXR5cG8tYm9keS14cy1saW5lLWhlaWdodCk7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMuZGVzY3JpcHRpb25Gb250U2l6ZX06IHZhcigtLXBsYXNtYS10eXBvLWJvZHkteHMtZm9udC1zaXplKTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy5kZXNjcmlwdGlvbkxldHRlclNwYWNpbmd9OiB2YXIoLS1wbGFzbWEtdHlwby1ib2R5LXhzLWxldHRlci1zcGFjaW5nKTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy52ZXJ0aWNhbEdhcH06IDAuMjVyZW07XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMubGFiZWxPZmZzZXR9OiAwLjc1cmVtO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgICAgIG06IGNzc2BcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy5mb250RmFtaWx5fTogdmFyKC0tcGxhc21hLXR5cG8tYm9keS1tLWZvbnQtZmFtaWx5KTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy5mb250U3R5bGV9OiB2YXIoLS1wbGFzbWEtdHlwby1ib2R5LW0tZm9udC1zdHlsZSk7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMuZm9udFdlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLWJvZHktbS1mb250LXdlaWdodCk7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMubGluZUhlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLWJvZHktbS1saW5lLWhlaWdodCk7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMuZm9udFNpemV9OiB2YXIoLS1wbGFzbWEtdHlwby1ib2R5LW0tZm9udC1zaXplKTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy5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l0Y2hUb2tlbnMuZGVzY3JpcHRpb25Gb250U2l6ZX06IHZhcigtLXBsYXNtYS10eXBvLWJvZHktbS1mb250LXNpemUpO1xuICAgICAgICAgICAgICAgICR7c3dpdGNoVG9rZW5zLmRlc2NyaXB0aW9uTGV0dGVyU3BhY2luZ306IHZhcigtLXBsYXNtYS10eXBvLWJvZHkteHMtbGV0dGVyLXNwYWNpbmcpO1xuICAgICAgICAgICAgICAgICR7c3dpdGNoVG9rZW5zLnZlcnRpY2FsR2FwfTogMC4yNXJlbTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy5sYWJlbE9mZnNldH06IDAuNzVyZW07XG4gICAgICAgICAgICBgLFxuICAgICAgICB9LFxuICAgICAgICB0b2dnbGVTaXplOiB7XG4gICAgICAgICAgICBsOiBjc3NgXG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMudHJhY2tXaWR0aH06IDIuNzVyZW07XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMudHJhY2tIZWlnaHR9OiAxLjc1cmVtO1xuICAgICAgICAgICAgICAgICR7c3dpdGNoVG9rZW5zLnRyYWNrQm9yZGVyUmFkaXVzfTogY2FsYyh2YXIoJHtzd2l0Y2hUb2tlbnMudHJhY2tIZWlnaHR9KSAvIDIpO1xuICAgICAgICAgICAgICAgICR7c3dpdGNoVG9rZW5zLnRodW1iU2l6ZX06IDEuNXJlbTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy50aHVtYkJvcmRlclJhZGl1c306IGNhbGModmFyKCR7c3dpdGNoVG9rZW5zLnRodW1iU2l6ZX0pIC8gMik7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMudGh1bWJPZmZzZXR9OiAwLjEyNXJlbTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy50aHVtYlByZXNzU2NhbGV9OiAxLjI1O1xuICAgICAgICAgICAgYCxcbiAgICAgICAgICAgIHM6IGNzc2BcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy50cmFja1dpZHRofTogMnJlbTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy50cmFja0hlaWdodH06IDEuMjVyZW07XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMudHJhY2tCb3JkZXJSYWRpdXN9OiBjYWxjKHZhcigke3N3aXRjaFRva2Vucy50cmFja0hlaWdodH0pIC8gMik7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMudGh1bWJTaXplfTogMXJlbTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy50aHVtYkJvcmRlclJhZGl1c306IGNhbGModmFyKCR7c3dpdGNoVG9rZW5zLnRodW1iU2l6ZX0pIC8gMik7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMudGh1bWJPZmZzZXR9OiAwLjEyNXJlbTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy50aHVtYlByZXNzU2NhbGV9OiAxLjI1O1xuICAgICAgICAgICAgYCxcbiAgICAgICAgfSxcbiAgICAgICAgdmlldzoge1xuICAgICAgICAgICAgZGVmYXVsdDogY3NzYFxuICAgICAgICAgICAgICAgICR7c3dpdGNoVG9rZW5zLmxhYmVsQ29sb3J9OiB2YXIoLS10ZXh0LXByaW1hcnkpO1xuICAgICAgICAgICAgICAgICR7c3dpdGNoVG9rZW5zLmRlc2NyaXB0aW9uQ29sb3J9OiB2YXIoLS10ZXh0LXNlY29uZGFyeSk7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMudHJhY2tCYWNrZ3JvdW5kQ29sb3JPbn06IHZhcigtLXN1cmZhY2UtYWNjZW50KTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy50cmFja0JhY2tncm91bmRDb2xvck9uSG92ZXJ9OiB2YXIoLS1zdXJmYWNlLWFjY2VudC1ob3Zlcik7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMudHJhY2tCYWNrZ3JvdW5kQ29sb3JPZmZ9OiB2YXIoLS1zdXJmYWNlLXRyYW5zcGFyZW50LXRlcnRpYXJ5KTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy50cmFja0JhY2tncm91bmRDb2xvck9mZkhvdmVyfTogdmFyKC0tc3VyZmFjZS10cmFuc3BhcmVudC10ZXJ0aWFyeS1ob3Zlcik7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMudGh1bWJCYWNrZ3JvdW5kQ29sb3J9OiB2YXIoLS1vbi1kYXJrLXN1cmZhY2Utc29saWQtZGVmYXVsdCk7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMudGh1bWJCb3hTaGFkb3d9OiAwIDFweCAxcHggcmdiYSgwLCAwLCAwLCAwLjExKTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgIH0sXG4gICAgICAgIGRpc2FibGVkOiB7XG4gICAgICAgICAgICB0cnVlOiBjc3NgXG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMuZGlzYWJsZWRPcGFjaXR5fTogMC40O1xuICAgICAgICAgICAgYCxcbiAgICAgICAgfSxcbiAgICAgICAgZm9jdXNlZDoge1xuICAgICAgICAgICAgdHJ1ZTogY3NzYFxuICAgICAgICAgICAgICAgICR7c3dpdGNoVG9rZW5zLnRyYWNrRm9jdXNDb2xvcn06IHZhcigtLXN1cmZhY2UtYWNjZW50KTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgIH0sXG4gICAgfSxcbn07XG4iXX0= */"))
|
22
|
-
},
|
23
|
-
toggleSize: {
|
24
|
-
l: /*#__PURE__*/(0, _react.css)(_Switch.switchTokens.trackWidth, ":2.75rem;", _Switch.switchTokens.trackHeight, ":1.75rem;", _Switch.switchTokens.trackBorderRadius, ":calc(var(", _Switch.switchTokens.trackHeight, ") / 2);", _Switch.switchTokens.thumbSize, ":1.5rem;", _Switch.switchTokens.thumbBorderRadius, ":calc(var(", _Switch.switchTokens.thumbSize, ") / 2);", _Switch.switchTokens.thumbOffset, ":0.125rem;", _Switch.switchTokens.thumbPressScale, ":1.25;;label:plasma-new-hope__l;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3BsYXNtYV93ZWIvY29tcG9uZW50cy9Td2l0Y2gvU3dpdGNoLmNvbmZpZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFnRWtCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3BsYXNtYV93ZWIvY29tcG9uZW50cy9Td2l0Y2gvU3dpdGNoLmNvbmZpZy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHsgc3dpdGNoVG9rZW5zIH0gZnJvbSAnLi4vLi4vLi4vLi4vY29tcG9uZW50cy9Td2l0Y2gnO1xuXG5leHBvcnQgY29uc3QgY29uZmlnID0ge1xuICAgIGRlZmF1bHRzOiB7XG4gICAgICAgIHZpZXc6ICdkZWZhdWx0JyxcbiAgICAgICAgc2l6ZTogJ20nLFxuICAgICAgICB0b2dnbGVTaXplOiAnbCcsXG4gICAgICAgIGxhYmVsUG9zaXRpb246ICdiZWZvcmUnLFxuICAgICAgICBmb2N1c2VkOiAndHJ1ZScsXG4gICAgfSxcbiAgICB2YXJpYXRpb25zOiB7XG4gICAgICAgIHNpemU6IHtcbiAgICAgICAgICAgIHM6IGNzc2BcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy5mb250RmFtaWx5fTogdmFyKC0tcGxhc21hLXR5cG8tYm9keS1zLWZvbnQtZmFtaWx5KTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy5mb250U3R5bGV9OiB2YXIoLS1wbGFzbWEtdHlwby1ib2R5LXMtZm9udC1zdHlsZSk7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMuZm9udFdlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLWJvZHktcy1mb250LXdlaWdodCk7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMubGluZUhlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLWJvZHktcy1saW5lLWhlaWdodCk7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMuZm9udFNpemV9OiB2YXIoLS1wbGFzbWEtdHlwby1ib2R5LXMtZm9udC1zaXplKTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy5sZXR0ZXJTcGFjaW5nfTogdmFyKC0tcGxhc21hLXR5cG8tYm9keS1zLWxldHRlci1zcGFjaW5nKTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy5kZXNjcmlwdGlvbkZvbnRGYW1pbHl9OiB2YXIoLS1wbGFzbWEtdHlwby1ib2R5LXhzLWZvbnQtZmFtaWx5KTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy5kZXNjcmlwdGlvbkZvbnRTdHlsZX06IHZhcigtLXBsYXNtYS10eXBvLWJvZHkteHMtZm9udC1zdHlsZSk7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMuZGVzY3JpcHRpb25Gb250V2VpZ2h0fTogdmFyKC0tcGxhc21hLXR5cG8tYm9keS14cy1mb250LXdlaWdodCk7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMuZGVzY3JpcHRpb25MaW5lSGVpZ2h0fTogdmFyKC0tcGxhc21hLXR5cG8tYm9keS14cy1saW5lLWhlaWdodCk7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMuZGVzY3JpcHRpb25Gb250U2l6ZX06IHZhcigtLXBsYXNtYS10eXBvLWJvZHkteHMtZm9udC1zaXplKTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy5kZXNjcmlwdGlvbkxldHRlclNwYWNpbmd9OiB2YXIoLS1wbGFzbWEtdHlwby1ib2R5LXhzLWxldHRlci1zcGFjaW5nKTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy52ZXJ0aWNhbEdhcH06IDAuMjVyZW07XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMubGFiZWxPZmZzZXR9OiAwLjc1cmVtO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgICAgIG06IGNzc2BcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy5mb250RmFtaWx5fTogdmFyKC0tcGxhc21hLXR5cG8tYm9keS1tLWZvbnQtZmFtaWx5KTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy5mb250U3R5bGV9OiB2YXIoLS1wbGFzbWEtdHlwby1ib2R5LW0tZm9udC1zdHlsZSk7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMuZm9udFdlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLWJvZHktbS1mb250LXdlaWdodCk7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMubGluZUhlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLWJvZHktbS1saW5lLWhlaWdodCk7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMuZm9udFNpemV9OiB2YXIoLS1wbGFzbWEtdHlwby1ib2R5LW0tZm9udC1zaXplKTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy5sZXR0ZXJTcGFjaW5nfTogdmFyKC0tcGxhc21hLXR5cG8tYm9keS1tLWxldHRlci1zcGFjaW5nKTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy5kZXNjcmlwdGlvbkZvbnRGYW1pbHl9O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V0dGVyU3BhY2luZ306IHZhcigtLXBsYXNtYS10eXBvLWJvZHkteHMtbGV0dGVyLXNwYWNpbmcpO1xuICAgICAgICAgICAgICAgICR7c3dpdGNoVG9rZW5zLnZlcnRpY2FsR2FwfTogMC4yNXJlbTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy5sYWJlbE9mZnNldH06IDAuNzVyZW07XG4gICAgICAgICAgICBgLFxuICAgICAgICB9LFxuICAgICAgICB0b2dnbGVTaXplOiB7XG4gICAgICAgICAgICBsOiBjc3NgXG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMudHJhY2tXaWR0aH06IDIuNzVyZW07XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMudHJhY2tIZWlnaHR9OiAxLjc1cmVtO1xuICAgICAgICAgICAgICAgICR7c3dpdGNoVG9rZW5zLnRyYWNrQm9yZGVyUmFkaXVzfTogY2FsYyh2YXIoJHtzd2l0Y2hUb2tlbnMudHJhY2tIZWlnaHR9KSAvIDIpO1xuICAgICAgICAgICAgICAgICR7c3dpdGNoVG9rZW5zLnRodW1iU2l6ZX06IDEuNXJlbTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy50aHVtYkJvcmRlclJhZGl1c306IGNhbGModmFyKCR7c3dpdGNoVG9rZW5zLnRodW1iU2l6ZX0pIC8gMik7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMudGh1bWJPZmZzZXR9OiAwLjEyNXJlbTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy50aHVtYlByZXNzU2NhbGV9OiAxLjI1O1xuICAgICAgICAgICAgYCxcbiAgICAgICAgICAgIHM6IGNzc2BcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy50cmFja1dpZHRofTogMnJlbTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy50cmFja0hlaWdodH06IDEuMjVyZW07XG4gICAgICAgICAgICAgICAg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ucy50cmFja0JhY2tncm91bmRDb2xvck9mZkhvdmVyfTogdmFyKC0tc3VyZmFjZS10cmFuc3BhcmVudC10ZXJ0aWFyeS1ob3Zlcik7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMudGh1bWJCYWNrZ3JvdW5kQ29sb3J9OiB2YXIoLS1vbi1kYXJrLXN1cmZhY2Utc29saWQtZGVmYXVsdCk7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMudGh1bWJCb3hTaGFkb3d9OiAwIDFweCAxcHggcmdiYSgwLCAwLCAwLCAwLjExKTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgIH0sXG4gICAgICAgIGRpc2FibGVkOiB7XG4gICAgICAgICAgICB0cnVlOiBjc3NgXG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMuZGlzYWJsZWRPcGFjaXR5fTogMC40O1xuICAgICAgICAgICAgYCxcbiAgICAgICAgfSxcbiAgICAgICAgZm9jdXNlZDoge1xuICAgICAgICAgICAgdHJ1ZTogY3NzYFxuICAgICAgICAgICAgICAgICR7c3dpdGNoVG9rZW5zLnRyYWNrRm9jdXNDb2xvcn06IHZhcigtLXN1cmZhY2UtYWNjZW50KTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgIH0sXG4gICAgfSxcbn07XG4iXX0= */")),
|
25
|
-
s: /*#__PURE__*/(0, _react.css)(_Switch.switchTokens.trackWidth, ":2rem;", _Switch.switchTokens.trackHeight, ":1.25rem;", _Switch.switchTokens.trackBorderRadius, ":calc(var(", _Switch.switchTokens.trackHeight, ") / 2);", _Switch.switchTokens.thumbSize, ":1rem;", _Switch.switchTokens.thumbBorderRadius, ":calc(var(", _Switch.switchTokens.thumbSize, ") / 2);", _Switch.switchTokens.thumbOffset, ":0.125rem;", _Switch.switchTokens.thumbPressScale, ":1.25;;label:plasma-new-hope__s;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ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GFjaW5nKTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy52ZXJ0aWNhbEdhcH06IDAuMjVyZW07XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMubGFiZWxPZmZzZXR9OiAwLjc1cmVtO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgICAgIG06IGNzc2BcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy5mb250RmFtaWx5fTogdmFyKC0tcGxhc21hLXR5cG8tYm9keS1tLWZvbnQtZmFtaWx5KTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy5mb250U3R5bGV9OiB2YXIoLS1wbGFzbWEtdHlwby1ib2R5LW0tZm9udC1zdHlsZSk7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMuZm9udFdlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLWJvZHktbS1mb250LXdlaWdodCk7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMubGluZUhlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLWJvZHktbS1saW5lLWhlaWdodCk7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMuZm9udFNpemV9OiB2YXIoLS1wbGFzbWEtdHlwby1ib2R5LW0tZm9udC1zaXplKTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy5sZXR0ZXJTcGFjaW5nfTogdmFyKC0tcGxhc21hLXR5cG8tYm9keS1tLWxldHRlci1zcGFjaW5nKTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy5kZXNjcmlwdGlvbkZvbnRGYW1pbHl9OiB2YXIoLS1wbGFzbWEtdHlwby1ib2R5LXMtZm9udC1mYW1pbHkpO1xuICAgICAgICAgICAgICAgICR7c3dpdGNoVG9rZW5zLmRlc2NyaXB0aW9uRm9udFN0eWxlfTogdmFyKC0tcGxhc21hLXR5cG8tYm9keS1zLWZvbnQtc3R5bGUpO1xuICA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ib2R5LWwtbGluZS1oZWlnaHQpO1xuICAgICAgICAgICAgICAgICR7c3dpdGNoVG9rZW5zLmZvbnRTaXplfTogdmFyKC0tcGxhc21hLXR5cG8tYm9keS1sLWZvbnQtc2l6ZSk7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMubGV0dGVyU3BhY2luZ306IHZhcigtLXBsYXNtYS10eXBvLWJvZHktbC1sZXR0ZXItc3BhY2luZyk7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMuZGVzY3JpcHRpb25Gb250RmFtaWx5fTogdmFyKC0tcGxhc21hLXR5cG8tYm9keS1tLWZvbnQtZmFtaWx5KTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy5kZXNjcmlwdGlvbkZvbnRTdHlsZX06IHZhcigtLXBsYXNtYS10eXBvLWJvZHktbS1mb250LXN0eWxlKTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy5kZXNjcmlwdGlvbkZvbnRXZWlnaHR9OiB2YXIoLS1wbGFzbWEtdHlwby1ib2R5LW0tZm9udC13ZWlnaHQpO1xuICAgICAgICAgICAgICAgICR7c3dpdGNoVG9rZW5zLmRlc2NyaXB0aW9uTGluZUhlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLWJvZHktbS1saW5lLWhlaWdodCk7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMuZGVzY3JpcHRpb25Gb250U2l6ZX06IHZhcigtLXBsYXNtYS10eXBvLWJvZHktbS1mb250LXNpemUpO1xuICAgICAgICAgICAgICAgICR7c3dpdGNoVG9rZW5zLmRlc2NyaXB0aW9uTGV0dGVyU3BhY2luZ306IHZhcigtLXBsYXNtYS10eXBvLWJvZHkteHMtbGV0dGVyLXNwYWNpbmcpO1xuICAgICAgICAgICAgICAgICR7c3dpdGNoVG9rZW5zLnZlcnRpY2FsR2FwfTogMC4yNXJlbTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy5sYWJlbE9mZnNldH06IDAuNzVyZW07XG4gICAgICAgICAgICBgLFxuICAgICAgICB9LFxuICAgICAgICB0b2dnbGVTaXplOiB7XG4gICAgICAgICAgICBsOiBjc3NgXG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMudHJhY2tXaWR0aH06IDIuNzVyZW07XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMudHJhY2tIZWlnaHR9OiAxLjc1cmVtO1xuICAgICAgICAgICAgICAgICR7c3dpdGNoVG9rZW5zLnRyYWNrQm9yZGVyUmFkaXVzfTogY2FsYyh2YXIoJHtzd2l0Y2hUb2tlbnMudHJhY2tIZWlnaHR9KSAvIDIpO1xuICAgICAgICAgICAgICAgICR7c3dpdGNoVG9rZW5zLnRodW1iU2l6ZX06IDEuNXJlbTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy50aHVtYkJvcmRlclJhZGl1c306IGNhbGModmFyKCR7c3dpdGNoVG9rZW5zLnRodW1iU2l6ZX0pIC8gMik7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMudGh1bWJPZmZzZXR9OiAwLjEyNXJlbTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy50aHVtYlByZXNzU2NhbGV9OiAxLjI1O1xuICAgICAgICAgICAgYCxcbiAgICAgICAgICAgIHM6IGNzc2BcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy50cmFja1dpZHRofTogMnJlbTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy50cmFja0hlaWdodH06IDEuMjVyZW07XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMudHJhY2tCb3JkZXJSYWRpdXN9OiBjYWxjKHZhcigke3N3aXRjaFRva2Vucy50cmFja0hlaWdodH0pIC8gMik7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMudGh1bWJTaXplfTogMXJlbTtcbiAgICAgICAgIC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LS1vbi1kYXJrLXN1cmZhY2Utc29saWQtZGVmYXVsdCk7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMudGh1bWJCb3hTaGFkb3d9OiAwIDFweCAxcHggcmdiYSgwLCAwLCAwLCAwLjExKTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgIH0sXG4gICAgICAgIGRpc2FibGVkOiB7XG4gICAgICAgICAgICB0cnVlOiBjc3NgXG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMuZGlzYWJsZWRPcGFjaXR5fTogMC40O1xuICAgICAgICAgICAgYCxcbiAgICAgICAgfSxcbiAgICAgICAgZm9jdXNlZDoge1xuICAgICAgICAgICAgdHJ1ZTogY3NzYFxuICAgICAgICAgICAgICAgICR7c3dpdGNoVG9rZW5zLnRyYWNrRm9jdXNDb2xvcn06IHZhcigtLXN1cmZhY2UtYWNjZW50KTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgIH0sXG4gICAgfSxcbn07XG4iXX0= */"))
|
18
|
+
m: /*#__PURE__*/(0, _react.css)(_Switch.switchTokens.fontFamily, ":var(--plasma-typo-body1-font-family);", _Switch.switchTokens.fontStyle, ":var(--plasma-typo-body1-font-style);", _Switch.switchTokens.fontWeight, ":var(--plasma-typo-body1-font-weight);", _Switch.switchTokens.fontWeight, ":var(--plasma-typo-body1-font-weight);", _Switch.switchTokens.lineHeight, ":var(--plasma-typo-body1-line-height);", _Switch.switchTokens.fontSize, ":var(--plasma-typo-body1-font-size);", _Switch.switchTokens.letterSpacing, ":var(--plasma-typo-body1-letter-spacing);", _Switch.switchTokens.trackWidth, ":2.75rem;", _Switch.switchTokens.trackHeight, ":1.75rem;", _Switch.switchTokens.trackBorderRadius, ":calc(var(", _Switch.switchTokens.trackHeight, ") / 2);", _Switch.switchTokens.thumbSize, ":1.5rem;", _Switch.switchTokens.thumbBorderRadius, ":calc(var(", _Switch.switchTokens.thumbSize, ") / 2);", _Switch.switchTokens.thumbOffset, ":0.125rem;", _Switch.switchTokens.thumbPressScale, ":1.25;", _Switch.switchTokens.labelOffset, ":0.75rem;;label:plasma-new-hope__m;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3BsYXNtYV93ZWIvY29tcG9uZW50cy9Td2l0Y2gvU3dpdGNoLmNvbmZpZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFha0IiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vZXhhbXBsZXMvcGxhc21hX3dlYi9jb21wb25lbnRzL1N3aXRjaC9Td2l0Y2guY29uZmlnLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuXG5pbXBvcnQgeyBzd2l0Y2hUb2tlbnMgfSBmcm9tICcuLi8uLi8uLi8uLi9jb21wb25lbnRzL1N3aXRjaCc7XG5cbmV4cG9ydCBjb25zdCBjb25maWcgPSB7XG4gICAgZGVmYXVsdHM6IHtcbiAgICAgICAgdmlldzogJ2RlZmF1bHQnLFxuICAgICAgICBzaXplOiAnbScsXG4gICAgICAgIGxhYmVsUG9zaXRpb246ICdiZWZvcmUnLFxuICAgICAgICBmb2N1c2VkOiAndHJ1ZScsXG4gICAgfSxcbiAgICB2YXJpYXRpb25zOiB7XG4gICAgICAgIHNpemU6IHtcbiAgICAgICAgICAgIG06IGNzc2BcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy5mb250RmFtaWx5fTogdmFyKC0tcGxhc21hLXR5cG8tYm9keTEtZm9udC1mYW1pbHkpO1xuICAgICAgICAgICAgICAgICR7c3dpdGNoVG9rZW5zLmZvbnRTdHlsZX06IHZhcigtLXBsYXNtYS10eXBvLWJvZHkxLWZvbnQtc3R5bGUpO1xuICAgICAgICAgICAgICAgICR7c3dpdGNoVG9rZW5zLmZvbnRXZWlnaHR9OiB2YXIoLS1wbGFzbWEtdHlwby1ib2R5MS1mb250LXdlaWdodCk7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMuZm9udFdlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLWJvZHkxLWZvbnQtd2VpZ2h0KTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy5saW5lSGVpZ2h0fTogdmFyKC0tcGxhc21hLXR5cG8tYm9keTEtbGluZS1oZWlnaHQpO1xuICAgICAgICAgICAgICAgICR7c3dpdGNoVG9rZW5zLmZvbnRTaXplfTogdmFyKC0tcGxhc21hLXR5cG8tYm9keTEtZm9udC1zaXplKTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy5sZXR0ZXJTcGFjaW5nfTogdmFyKC0tcGxhc21hLXR5cG8tYm9keTEtbGV0dGVyLXNwYWNpbmcpO1xuICAgICAgICAgICAgICAgICR7c3dpdGNoVG9rZW5zLnRyYWNrV2lkdGh9OiAyLjc1cmVtO1xuICAgICAgICAgICAgICAgICR7c3dpdGNoVG9rZW5zLnRyYWNrSGVpZ2h0fTogMS43NXJlbTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy50cmFja0JvcmRlclJhZGl1c306IGNhbGModmFyKCR7c3dpdGNoVG9rZW5zLnRyYWNrSGVpZ2h0fSkgLyAyKTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy50aHVtYlNpemV9OiAxLjVyZW07XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMudGh1bWJCb3JkZXJSYWRpdXN9OiBjYWxjKHZhcigke3N3aXRjaFRva2Vucy50aHVtYlNpemV9KSAvIDIpO1xuICAgICAgICAgICAgICAgICR7c3dpdGNoVG9rZW5zLnRodW1iT2Zmc2V0fTogMC4xMjVyZW07XG4gICAgICAgICAgICA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MC40O1xuICAgICAgICAgICAgYCxcbiAgICAgICAgfSxcbiAgICAgICAgZm9jdXNlZDoge1xuICAgICAgICAgICAgdHJ1ZTogY3NzYFxuICAgICAgICAgICAgICAgICR7c3dpdGNoVG9rZW5zLnRyYWNrRm9jdXNDb2xvcn06IHZhcigtLXN1cmZhY2UtYWNjZW50KTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgIH0sXG4gICAgfSxcbn07XG4iXX0= */"))
|
26
19
|
},
|
27
20
|
view: {
|
28
|
-
"default": /*#__PURE__*/(0, _react.css)(_Switch.switchTokens.
|
21
|
+
"default": /*#__PURE__*/(0, _react.css)(_Switch.switchTokens.trackBackgroundColorOn, ":var(--surface-accent);", _Switch.switchTokens.trackBackgroundColorOnHover, ":var(--surface-accent-hover);", _Switch.switchTokens.trackBackgroundColorOff, ":var(--surface-transparent-tertiary);", _Switch.switchTokens.trackBackgroundColorOffHover, ":var(--surface-transparent-tertiary-hover);", _Switch.switchTokens.thumbBackgroundColor, ":var(--on-dark-surface-solid-default);", _Switch.switchTokens.thumbBoxShadow, ":0 1px 1px rgba(0, 0, 0, 0.11);;label:plasma-new-hope__default;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3BsYXNtYV93ZWIvY29tcG9uZW50cy9Td2l0Y2gvU3dpdGNoLmNvbmZpZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFnQ3dCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3BsYXNtYV93ZWIvY29tcG9uZW50cy9Td2l0Y2gvU3dpdGNoLmNvbmZpZy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0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HkxLWxldHRlci1zcGFjaW5nKTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy50cmFja1dpZHRofTogMi43NXJlbTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy50cmFja0hlaWdodH06IDEuNzVyZW07XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMudHJhY2tCb3JkZXJSYWRpdXN9OiBjYWxjKHZhcigke3N3aXRjaFRva2Vucy50cmFja0hlaWdodH0pIC8gMik7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMudGh1bWJTaXplfTogMS41cmVtO1xuICAgICAgICAgICAgICAgICR7c3dpdGNoVG9rZW5zLnRodW1iQm9yZGVyUmFkaXVzfTogY2FsYyh2YXIoJHtzd2l0Y2hUb2tlbnMudGh1bWJTaXplfSkgLyAyKTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy50aHVtYk9mZnNldH06IDAuMTI1cmVtO1xuICAgICAgICAgICAgICAgICR7c3dpdGNoVG9rZW5zLnRodW1iUHJlc3NTY2FsZX06IDEuMjU7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMubGFiZWxPZmZzZXR9OiAwLjc1cmVtO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgfSxcbiAgICAgICAgdmlldzoge1xuICAgICAgICAgICAgZGVmYXVsdDogY3NzYFxuICAgICAgICAgICAgICAgICR7c3dpdGNoVG9rZW5zLnRyYWNrQmFja2dyb3VuZENvbG9yT259OiB2YXIoLS1zdXJmYWNlLWFjY2VudCk7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMudHJhY2tCYWNrZ3JvdW5kQ29sb3JPbkhvdmVyfTogdmFyKC0tc3VyZmFjZS1hY2NlbnQtaG92ZXIpO1xuICAgICAgICAgICAgICAgICR7c3dpdGNoVG9rZW5zLnRyYWNrQmFja2dyb3VuZENvbG9yT2ZmfTogdmFyKC0tc3VyZmFjZS10cmFuc3BhcmVudC10ZXJ0aWFyeSk7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMudHJhY2tCYWNrZ3JvdW5kQ29sb3JPZmZIb3Zlcn06IHZhcigtLXN1cmZhY2UtdHJhbnNwYXJlbnQtdGVydGlhcnktaG92ZXIpO1xuICAgICAgICAgICAgICAgICR7c3dpdGNoVG9rZW5zLnRodW1iQmFja2dyb3VuZENvbG9yfTogdmFyKC0tb24tZGFyay1zdXJmYWNlLXNvbGlkLWRlZmF1bHQpO1xuICAgICAgICAgICAgICAgICR7c3dpdGNoVG9rZW5zLnRodW1iQm94U2hhZG93fTogMCAxcHggMXB4IHJnYmEoMCwgMCwgMCwgMC4xMSk7XG4gICAgICAgICAgICBgLFxuICAgICAgICB9LFxuICAgICAgICBkaXNhYmxlZDoge1xuICAgICAgICAgICAgdHJ1ZTogY3NzYFxuICAgICAgICAgICAgICAgICR7c3dpdGNoVG9rZW5zLmRpc2FibGVkT3BhY2l0eX06IDAuNDtcbiAgICAgICAgICAgIGAsXG4gICAgICAgIH0sXG4gICAgICAgIGZvY3VzZWQ6IHtcbiAgICAgICAgICAgIHRydWU6IGNzc2BcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy50cmFja0ZvY3VzQ29sb3J9OiB2YXIoLS1zdXJmYWNlLWFjY2VudCk7XG4gICAgICAgICAgICBgLFxuICAgICAgICB9LFxuICAgIH0sXG59O1xuIl19 */"))
|
29
22
|
},
|
30
23
|
disabled: {
|
31
|
-
"true": /*#__PURE__*/(0, _react.css)(_Switch.switchTokens.disabledOpacity, ":0.4;;label:plasma-new-hope__true;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
24
|
+
"true": /*#__PURE__*/(0, _react.css)(_Switch.switchTokens.disabledOpacity, ":0.4;;label:plasma-new-hope__true;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJz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gICAgICR7c3dpdGNoVG9rZW5zLmZvbnRXZWlnaHR9OiB2YXIoLS1wbGFzbWEtdHlwby1ib2R5MS1mb250LXdlaWdodCk7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMubGluZUhlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLWJvZHkxLWxpbmUtaGVpZ2h0KTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy5mb250U2l6ZX06IHZhcigtLXBsYXNtYS10eXBvLWJvZHkxLWZvbnQtc2l6ZSk7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMubGV0dGVyU3BhY2luZ306IHZhcigtLXBsYXNtYS10eXBvLWJvZHkxLWxldHRlci1zcGFjaW5nKTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy50cmFja1dpZHRofTogMi43NXJlbTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy50cmFja0hlaWdodH06IDEuNzVyZW07XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMudHJhY2tCb3JkZXJSYWRpdXN9OiBjYWxjKHZhcigke3N3aXRjaFRva2Vucy50cmFja0hlaWdodH0pIC8gMik7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMudGh1bWJTaXplfTogMS41cmVtO1xuICAgICAgICAgICAgICAgICR7c3dpdGNoVG9rZW5zLnRodW1iQm9yZGVyUmFkaXVzfTogY2FsYyh2YXIoJHtzd2l0Y2hUb2tlbnMudGh1bWJTaXplfSkgLyAyKTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy50aHVtYk9mZnNldH06IDAuMTI1cmVtO1xuICAgICAgICAgICAgICAgICR7c3dpdGNoVG9rZW5zLnRodW1iUHJlc3NTY2FsZX06IDEuMjU7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMubGFiZWxPZmZzZXR9OiAwLjc1cmVtO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgfSxcbiAgICAgICAgdmlldzoge1xuICAgICAgICAgICAgZGVmYXVsdDogY3NzYFxuICAgICAgICAgICAgICAgICR7c3dpdGNoVG9rZW5zLnRyYWNrQmFja2dyb3VuZENvbG9yT259OiB2YXIoLS1zdXJmYWNlLWFjY2VudCk7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMudHJhY2tCYWNrZ3JvdW5kQ29sb3JPbkhvdmVyfTogdmFyKC0tc3VyZmFjZS1hY2NlbnQtaG92ZXIpO1xuICAgICAgICAgICAgICAgICR7c3dpdGNoVG9rZW5zLnRyYWNrQmFja2dyb3VuZENvbG9yT2ZmfTogdmFyKC0tc3VyZmFjZS10cmFuc3BhcmVudC10ZXJ0aWFyeSk7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMudHJhY2tCYWNrZ3JvdW5kQ29sb3JPZmZIb3Zlcn06IHZhcigtLXN1cmZhY2UtdHJhbnNwYXJlbnQtdGVydGlhcnktaG92ZXIpO1xuICAgICAgICAgICAgICAgICR7c3dpdGNoVG9rZW5zLnRodW1iQmFja2dyb3VuZENvbG9yfTogdmFyKC0tb24tZGFyay1zdXJmYWNlLXNvbGlkLWRlZmF1bHQpO1xuICAgICAgICAgICAgICAgICR7c3dpdGNoVG9rZW5zLnRodW1iQm94U2hhZG93fTogMCAxcHggMXB4IHJnYmEoMCwgMCwgMCwgMC4xMSk7XG4gICAgICAgICAgICBgLFxuICAgICAgICB9LFxuICAgICAgICBkaXNhYmxlZDoge1xuICAgICAgICAgICAgdHJ1ZTogY3NzYFxuICAgICAgICAgICAgICAgICR7c3dpdGNoVG9rZW5zLmRpc2FibGVkT3BhY2l0eX06IDAuNDtcbiAgICAgICAgICAgIGAsXG4gICAgICAgIH0sXG4gICAgICAgIGZvY3VzZWQ6IHtcbiAgICAgICAgICAgIHRydWU6IGNzc2BcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy50cmFja0ZvY3VzQ29sb3J9OiB2YXIoLS1zdXJmYWNlLWFjY2VudCk7XG4gICAgICAgICAgICBgLFxuICAgICAgICB9LFxuICAgIH0sXG59O1xuIl19 */"))
|
32
25
|
},
|
33
26
|
focused: {
|
34
|
-
"true": /*#__PURE__*/(0, _react.css)(_Switch.switchTokens.trackFocusColor, ":var(--surface-accent);;label:plasma-new-hope__true;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
27
|
+
"true": /*#__PURE__*/(0, _react.css)(_Switch.switchTokens.trackFocusColor, ":var(--surface-accent);;label:plasma-new-hope__true;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3BsYXNtYV93ZWIvY29tcG9uZW50cy9Td2l0Y2gvU3dpdGNoLmNvbmZpZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUErQ3FCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3BsYXNtYV93ZWIvY29tcG9uZW50cy9Td2l0Y2gvU3dpdGNoLmNvbmZpZy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHsgc3dpdGNoVG9rZW5zIH0gZnJvbSAnLi4vLi4vLi4vLi4vY29tcG9uZW50cy9Td2l0Y2gnO1xuXG5leHBvcnQgY29uc3QgY29uZmlnID0ge1xuICAgIGRlZmF1bHRzOiB7XG4gICAgICAgIHZpZXc6ICdkZWZhdWx0JyxcbiAgICAgICAgc2l6ZTogJ20nLFxuICAgICAgICBsYWJlbFBvc2l0aW9uOiAnYmVmb3JlJyxcbiAgICAgICAgZm9jdXNlZDogJ3RydWUnLFxuICAgIH0sXG4gICAgdmFyaWF0aW9uczoge1xuICAgICAgICBzaXplOiB7XG4gICAgICAgICAgICBtOiBjc3NgXG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMuZm9udEZhbWlseX06IHZhcigtLXBsYXNtYS10eXBvLWJvZHkxLWZvbnQtZmFtaWx5KTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy5mb250U3R5bGV9OiB2YXIoLS1wbGFzbWEtdHlwby1ib2R5MS1mb250LXN0eWxlKTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy5mb250V2VpZ2h0fTogdmFyKC0tcGxhc21hLXR5cG8tYm9keTEtZm9udC13ZWlnaHQpO1xuICAgICAgICAgICAgICAgICR7c3dpdGNoVG9rZW5zLmZvbnRXZWlnaHR9OiB2YXIoLS1wbGFzbWEtdHlwby1ib2R5MS1mb250LXdlaWdodCk7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMubGluZUhlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLWJvZHkxLWxpbmUtaGVpZ2h0KTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy5mb250U2l6ZX06IHZhcigtLXBsYXNtYS10eXBvLWJvZHkxLWZvbnQtc2l6ZSk7XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMubGV0dGVyU3BhY2luZ306IHZhcigtLXBsYXNtYS10eXBvLWJvZHkxLWxldHRlci1zcGFjaW5nKTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy50cmFja1dpZHRofTogMi43NXJlbTtcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy50cmFja0hlaWdodH06IDEuNzVyZW07XG4gICAgICAgICAgICAgICAgJHtzd2l0Y2hUb2tlbnMudHJhY2tCb3JkZXJSYWRpdXN9OiBjYWxjKHZhcigke3N3aXRjaFRva2Vucy50cmFja0hlaWdodH0pIC8gMik7XG4gICAgICAgICAgICAgICAg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ICAgICAgICAgICR7c3dpdGNoVG9rZW5zLnRodW1iQm94U2hhZG93fTogMCAxcHggMXB4IHJnYmEoMCwgMCwgMCwgMC4xMSk7XG4gICAgICAgICAgICBgLFxuICAgICAgICB9LFxuICAgICAgICBkaXNhYmxlZDoge1xuICAgICAgICAgICAgdHJ1ZTogY3NzYFxuICAgICAgICAgICAgICAgICR7c3dpdGNoVG9rZW5zLmRpc2FibGVkT3BhY2l0eX06IDAuNDtcbiAgICAgICAgICAgIGAsXG4gICAgICAgIH0sXG4gICAgICAgIGZvY3VzZWQ6IHtcbiAgICAgICAgICAgIHRydWU6IGNzc2BcbiAgICAgICAgICAgICAgICAke3N3aXRjaFRva2Vucy50cmFja0ZvY3VzQ29sb3J9OiB2YXIoLS1zdXJmYWNlLWFjY2VudCk7XG4gICAgICAgICAgICBgLFxuICAgICAgICB9LFxuICAgIH0sXG59O1xuIl19 */"))
|
35
28
|
}
|
36
29
|
}
|
37
30
|
};
|
@@ -17,17 +17,9 @@ const meta: Meta<SwitchProps> = {
|
|
17
17
|
title: 'plasma_web/Switch',
|
18
18
|
decorators: [WithTheme],
|
19
19
|
component: Switch,
|
20
|
-
argTypes:
|
21
|
-
...argTypesFromConfig(mergeConfig(switchConfig, config), ['view', 'focused']),
|
22
|
-
labelPosition: {
|
23
|
-
options: ['before', 'after'],
|
24
|
-
control: { type: 'select' },
|
25
|
-
},
|
26
|
-
},
|
20
|
+
argTypes: argTypesFromConfig(mergeConfig(switchConfig, config), ['size', 'view', 'focused']),
|
27
21
|
args: {
|
28
22
|
label: 'Label',
|
29
|
-
description: 'Description',
|
30
|
-
labelPosition: 'before',
|
31
23
|
},
|
32
24
|
};
|
33
25
|
|
@@ -65,10 +57,5 @@ const StoryDefault = (args: SwitchProps) => {
|
|
65
57
|
};
|
66
58
|
|
67
59
|
export const Default: StoryObj<SwitchProps> = {
|
68
|
-
args: {
|
69
|
-
size: 'm',
|
70
|
-
toggleSize: 'l',
|
71
|
-
disabled: false,
|
72
|
-
},
|
73
60
|
render: (args) => <StoryDefault {...args} />,
|
74
61
|
};
|
package/emotion/cjs/index.js
CHANGED
@@ -684,4 +684,15 @@ Object.keys(_ViewContainer).forEach(function (key) {
|
|
684
684
|
return _ViewContainer[key];
|
685
685
|
}
|
686
686
|
});
|
687
|
+
});
|
688
|
+
var _NumberInput = /*#__PURE__*/require("./components/NumberInput");
|
689
|
+
Object.keys(_NumberInput).forEach(function (key) {
|
690
|
+
if (key === "default" || key === "__esModule") return;
|
691
|
+
if (key in exports && exports[key] === _NumberInput[key]) return;
|
692
|
+
Object.defineProperty(exports, key, {
|
693
|
+
enumerable: true,
|
694
|
+
get: function get() {
|
695
|
+
return _NumberInput[key];
|
696
|
+
}
|
697
|
+
});
|
687
698
|
});
|
@@ -0,0 +1,206 @@
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
2
|
+
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"];
|
3
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
4
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
5
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
6
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
7
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
8
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
9
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
10
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
11
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
12
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
13
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
14
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
15
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
16
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
17
|
+
import React, { forwardRef, useEffect, useState } from 'react';
|
18
|
+
import { cx, getSizeValueFromProp, isNumber } from '../../utils';
|
19
|
+
import { IconMinus, IconPlus } from '../_Icon';
|
20
|
+
import { ActionButton, NumberInput } from './ui';
|
21
|
+
import { classes, privateTokens } from './NumberInput.tokens';
|
22
|
+
import { base } from './NumberInput.styles';
|
23
|
+
import { base as viewCSS } from './variations/_view/base';
|
24
|
+
import { base as sizeCSS } from './variations/_size/base';
|
25
|
+
import { base as shapeCSS } from './variations/_shape/base';
|
26
|
+
import { base as inputBackgroundTypeCSS } from './variations/_background-type/base';
|
27
|
+
import { base as segmentationCSS } from './variations/_segmentation/base';
|
28
|
+
import { base as disabledCSS } from './variations/_disabled/base';
|
29
|
+
export var numberInputRoot = function numberInputRoot(Root) {
|
30
|
+
return /*#__PURE__*/forwardRef(function (_ref, ref) {
|
31
|
+
var _ref2;
|
32
|
+
var className = _ref.className,
|
33
|
+
style = _ref.style,
|
34
|
+
width = _ref.width,
|
35
|
+
value = _ref.value,
|
36
|
+
min = _ref.min,
|
37
|
+
max = _ref.max,
|
38
|
+
_ref$step = _ref.step,
|
39
|
+
step = _ref$step === void 0 ? 1 : _ref$step,
|
40
|
+
isLoading = _ref.isLoading,
|
41
|
+
loader = _ref.loader,
|
42
|
+
size = _ref.size,
|
43
|
+
view = _ref.view,
|
44
|
+
clear = _ref.clear,
|
45
|
+
shape = _ref.shape,
|
46
|
+
segmentation = _ref.segmentation,
|
47
|
+
_ref$inputBackgroundT = _ref.inputBackgroundType,
|
48
|
+
inputBackgroundType = _ref$inputBackgroundT === void 0 ? 'fill' : _ref$inputBackgroundT,
|
49
|
+
disabled = _ref.disabled,
|
50
|
+
textBefore = _ref.textBefore,
|
51
|
+
textAfter = _ref.textAfter,
|
52
|
+
customIncrementButton = _ref.customIncrementButton,
|
53
|
+
incrementIcon = _ref.incrementIcon,
|
54
|
+
customDecrementButton = _ref.customDecrementButton,
|
55
|
+
decrementIcon = _ref.decrementIcon,
|
56
|
+
isManualInput = _ref.isManualInput,
|
57
|
+
onChange = _ref.onChange,
|
58
|
+
onIncrement = _ref.onIncrement,
|
59
|
+
onDecrement = _ref.onDecrement,
|
60
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
61
|
+
var _useState = useState((_ref2 = value !== null && value !== void 0 ? value : min) !== null && _ref2 !== void 0 ? _ref2 : 0),
|
62
|
+
_useState2 = _slicedToArray(_useState, 2),
|
63
|
+
innerValue = _useState2[0],
|
64
|
+
setInnerValue = _useState2[1];
|
65
|
+
var _useState3 = useState(false),
|
66
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
67
|
+
isInputFocused = _useState4[0],
|
68
|
+
setIsInputFocused = _useState4[1];
|
69
|
+
var _useState5 = useState(false),
|
70
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
71
|
+
isAnimationRun = _useState6[0],
|
72
|
+
setIsAnimationRun = _useState6[1];
|
73
|
+
var innerWidth = width ? getSizeValueFromProp(width) : '100%';
|
74
|
+
var actionIconSize = size === 'xs' ? 'xs' : 's';
|
75
|
+
var solidViewClass = segmentation === 'solid' ? classes.solidView : undefined;
|
76
|
+
var segmentedViewClass = segmentation === 'segmented' ? classes.segmentedView : undefined;
|
77
|
+
var clearViewClass = clear ? classes.clearView : undefined;
|
78
|
+
var disabledClass = disabled ? classes.disabled : undefined;
|
79
|
+
var loadingClass = isLoading ? classes.loading : undefined;
|
80
|
+
var focusedClass = isInputFocused ? classes.focused : undefined;
|
81
|
+
var isMinValue = function isMinValue(currentValue) {
|
82
|
+
return min !== undefined && currentValue <= min;
|
83
|
+
};
|
84
|
+
var isMaxValue = function isMaxValue(currentValue) {
|
85
|
+
return max !== undefined && currentValue >= max;
|
86
|
+
};
|
87
|
+
var decrementButtonDisabled = isMinValue(Number(innerValue)) && !isAnimationRun || isLoading ? classes.actionButtonDecrementDisabled : undefined;
|
88
|
+
var incrementButtonDisabled = isMaxValue(Number(innerValue)) && !isAnimationRun || isLoading ? classes.actionButtonIncrementDisabled : undefined;
|
89
|
+
var handleDecrement = function handleDecrement() {
|
90
|
+
if (isLoading || disabled || isAnimationRun) {
|
91
|
+
return;
|
92
|
+
}
|
93
|
+
var diffValue = Number(innerValue) - step;
|
94
|
+
var resValue = min !== undefined && diffValue <= min ? min : diffValue;
|
95
|
+
setInnerValue(resValue);
|
96
|
+
if (onDecrement) {
|
97
|
+
onDecrement(resValue);
|
98
|
+
}
|
99
|
+
if (onChange) {
|
100
|
+
onChange(null, resValue);
|
101
|
+
}
|
102
|
+
};
|
103
|
+
var handleIncrement = function handleIncrement() {
|
104
|
+
if (isLoading || disabled || isAnimationRun) {
|
105
|
+
return;
|
106
|
+
}
|
107
|
+
var diffValue = Number(innerValue) + step;
|
108
|
+
var resValue = max !== undefined && diffValue >= max ? max : diffValue;
|
109
|
+
setInnerValue(resValue);
|
110
|
+
if (onIncrement) {
|
111
|
+
onIncrement(resValue);
|
112
|
+
}
|
113
|
+
if (onChange) {
|
114
|
+
onChange(null, resValue);
|
115
|
+
}
|
116
|
+
};
|
117
|
+
useEffect(function () {
|
118
|
+
if (value === undefined || !isNumber(value)) {
|
119
|
+
return;
|
120
|
+
}
|
121
|
+
setInnerValue(function (prevValue) {
|
122
|
+
return prevValue !== value ? value : prevValue;
|
123
|
+
});
|
124
|
+
}, [value]);
|
125
|
+
return /*#__PURE__*/React.createElement(Root, _extends({
|
126
|
+
view: view,
|
127
|
+
size: size,
|
128
|
+
disabled: disabled,
|
129
|
+
clear: clear,
|
130
|
+
shape: shape,
|
131
|
+
segmentation: segmentation,
|
132
|
+
isLoading: isLoading
|
133
|
+
}, segmentation === 'solid' ? {
|
134
|
+
inputBackgroundType: 'clear'
|
135
|
+
} : {
|
136
|
+
inputBackgroundType: inputBackgroundType
|
137
|
+
}, {
|
138
|
+
className: cx(className, solidViewClass, segmentedViewClass, clearViewClass, disabledClass, loadingClass, focusedClass),
|
139
|
+
style: _objectSpread(_objectSpread({}, style), {}, _defineProperty({}, privateTokens.inputWidth, innerWidth))
|
140
|
+
}), customDecrementButton || /*#__PURE__*/React.createElement(ActionButton, {
|
141
|
+
className: cx(classes.actionButtonDecrement, decrementButtonDisabled, solidViewClass, segmentedViewClass),
|
142
|
+
icon: decrementIcon || /*#__PURE__*/React.createElement(IconMinus, {
|
143
|
+
color: "inherit",
|
144
|
+
size: actionIconSize
|
145
|
+
}),
|
146
|
+
onClick: handleDecrement
|
147
|
+
}), /*#__PURE__*/React.createElement(NumberInput, _extends({
|
148
|
+
ref: ref,
|
149
|
+
segmentation: segmentation,
|
150
|
+
value: innerValue,
|
151
|
+
min: min,
|
152
|
+
max: max,
|
153
|
+
isManualInput: isManualInput,
|
154
|
+
textBefore: textBefore,
|
155
|
+
textAfter: textAfter,
|
156
|
+
isLoading: isLoading,
|
157
|
+
loader: loader,
|
158
|
+
disabled: disabled,
|
159
|
+
isInputFocused: isInputFocused,
|
160
|
+
setIsInputFocused: setIsInputFocused,
|
161
|
+
setIsAnimationRun: setIsAnimationRun,
|
162
|
+
setInnerValue: setInnerValue,
|
163
|
+
onChange: onChange
|
164
|
+
}, rest)), customIncrementButton || /*#__PURE__*/React.createElement(ActionButton, {
|
165
|
+
className: cx(classes.actionButtonIncrement, incrementButtonDisabled, solidViewClass, segmentedViewClass),
|
166
|
+
icon: incrementIcon || /*#__PURE__*/React.createElement(IconPlus, {
|
167
|
+
color: "inherit",
|
168
|
+
size: actionIconSize
|
169
|
+
}),
|
170
|
+
onClick: handleIncrement
|
171
|
+
}));
|
172
|
+
});
|
173
|
+
};
|
174
|
+
export var numberInputConfig = {
|
175
|
+
name: 'NumberInput',
|
176
|
+
tag: 'div',
|
177
|
+
layout: numberInputRoot,
|
178
|
+
base: base,
|
179
|
+
variations: {
|
180
|
+
view: {
|
181
|
+
css: viewCSS
|
182
|
+
},
|
183
|
+
size: {
|
184
|
+
css: sizeCSS
|
185
|
+
},
|
186
|
+
shape: {
|
187
|
+
css: shapeCSS
|
188
|
+
},
|
189
|
+
inputBackgroundType: {
|
190
|
+
css: inputBackgroundTypeCSS
|
191
|
+
},
|
192
|
+
segmentation: {
|
193
|
+
css: segmentationCSS
|
194
|
+
},
|
195
|
+
disabled: {
|
196
|
+
css: disabledCSS,
|
197
|
+
attrs: true
|
198
|
+
}
|
199
|
+
},
|
200
|
+
defaults: {
|
201
|
+
view: 'default',
|
202
|
+
size: 'l',
|
203
|
+
shape: 'cornered',
|
204
|
+
segmentation: 'default'
|
205
|
+
}
|
206
|
+
};
|
@@ -0,0 +1,11 @@
|
|
1
|
+
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)."; }
|
2
|
+
import { css } from '@emotion/react';
|
3
|
+
export var base = process.env.NODE_ENV === "production" ? {
|
4
|
+
name: "1dep0p4-plasma-new-hope__base",
|
5
|
+
styles: "display:flex;align-items:center;label:plasma-new-hope__base;"
|
6
|
+
} : {
|
7
|
+
name: "1dep0p4-plasma-new-hope__base",
|
8
|
+
styles: "display:flex;align-items:center;label:plasma-new-hope__base;",
|
9
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvTnVtYmVySW5wdXQuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUV1QiIsImZpbGUiOiIuLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL051bWJlcklucHV0L051bWJlcklucHV0LnN0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuZXhwb3J0IGNvbnN0IGJhc2UgPSBjc3NgXG4gICAgZGlzcGxheTogZmxleDtcbiAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuYDtcbiJdfQ== */",
|
10
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
11
|
+
};
|