@salutejs/plasma-new-hope 0.175.2-canary.1505.11553165432.0 → 0.175.3-canary.1502.11570570852.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/components/Slider/Slider.css +15 -13
- package/cjs/components/Slider/Slider.js +11 -2
- package/cjs/components/Slider/Slider.js.map +1 -1
- package/cjs/components/Slider/Slider.tokens.js +23 -17
- package/cjs/components/Slider/Slider.tokens.js.map +1 -1
- package/cjs/components/Slider/components/Double/Double.css +8 -8
- package/cjs/components/Slider/components/Double/Double.js +58 -23
- package/cjs/components/Slider/components/Double/Double.js.map +1 -1
- package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +98 -0
- package/cjs/components/Slider/components/Single/Single.css +14 -14
- package/cjs/components/Slider/components/Single/Single.js +64 -33
- package/cjs/components/Slider/components/Single/Single.js.map +1 -1
- package/cjs/components/Slider/components/Single/Single.styles.js +4 -4
- package/cjs/components/Slider/components/Single/Single.styles.js.map +1 -1
- package/cjs/components/Slider/components/Single/Single.styles_1h7n2s2.css +6 -0
- package/cjs/components/Slider/components/SliderBase/SliderBase.css +5 -5
- package/cjs/components/Slider/components/SliderBase/SliderBase.js +31 -12
- package/cjs/components/Slider/components/SliderBase/SliderBase.js.map +1 -1
- package/cjs/components/Slider/components/SliderBase/SliderBase.styles.js +7 -7
- package/cjs/components/Slider/components/SliderBase/SliderBase.styles.js.map +1 -1
- package/cjs/components/Slider/components/SliderBase/SliderBase.styles_1qt1224.css +5 -0
- package/cjs/components/Slider/ui/Handler/Handler.css +3 -3
- package/cjs/components/Slider/ui/Handler/Handler.js +49 -88
- package/cjs/components/Slider/ui/Handler/Handler.js.map +1 -1
- package/cjs/components/Slider/ui/Handler/Handler.styles.js +17 -7
- package/cjs/components/Slider/ui/Handler/Handler.styles.js.map +1 -1
- package/cjs/components/Slider/ui/Handler/Handler.styles_irtcgm.css +2 -0
- package/cjs/components/Slider/ui/Handler/computeKeyPressData.js +122 -0
- package/cjs/components/Slider/ui/Handler/computeKeyPressData.js.map +1 -0
- package/cjs/components/Slider/ui/Thumb/Thumb.css +1 -1
- package/cjs/components/Slider/ui/Thumb/Thumb.js +3 -2
- package/cjs/components/Slider/ui/Thumb/Thumb.js.map +1 -1
- package/cjs/components/Slider/ui/Thumb/Thumb.styles.js +1 -1
- package/cjs/components/Slider/ui/Thumb/Thumb.styles.js.map +1 -1
- package/cjs/components/Slider/ui/Thumb/Thumb.styles_uyn20e.css +1 -0
- package/cjs/components/Slider/utils/index.js +28 -10
- package/cjs/components/Slider/utils/index.js.map +1 -1
- package/cjs/components/Slider/variations/_view/base.js +1 -1
- package/cjs/components/Slider/variations/_view/base.js.map +1 -1
- package/cjs/components/Slider/variations/_view/base_1s3f6q8.css +1 -0
- package/cjs/components/Tabs/createTabsController.js.map +1 -1
- package/cjs/components/Tabs/tokens.js +2 -0
- package/cjs/components/Tabs/tokens.js.map +1 -1
- package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -1
- package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js.map +1 -1
- package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.css +5 -5
- package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +20 -8
- package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js.map +1 -1
- package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.styles.js +1 -1
- package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.styles.js.map +1 -1
- package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/{HorizontalTabs.styles_16kuvxt.css → HorizontalTabs.styles_p9rk79.css} +1 -1
- package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js +1 -1
- package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js.map +1 -1
- package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/{base_9miwn.css → base_4ob3q5.css} +1 -1
- package/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.css +4 -4
- package/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +7 -6
- package/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js.map +1 -1
- package/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles.js +1 -1
- package/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles.js.map +1 -1
- package/cjs/components/Tabs/ui/vertical/VerticalTabs/{VerticalTabs.styles_1fr5ovg.css → VerticalTabs.styles_1r1hidh.css} +1 -1
- package/cjs/index.css +24 -22
- package/cjs/utils/index.js.map +1 -1
- package/emotion/cjs/components/Slider/Slider.js +10 -2
- package/emotion/cjs/components/Slider/Slider.template-doc.mdx +26 -0
- package/emotion/cjs/components/Slider/Slider.tokens.js +23 -17
- package/emotion/cjs/components/Slider/components/Double/Double.js +54 -19
- package/emotion/cjs/components/Slider/components/Single/Single.js +64 -33
- package/emotion/cjs/components/Slider/components/Single/Single.styles.js +18 -9
- package/emotion/cjs/components/Slider/components/SliderBase/SliderBase.js +31 -12
- package/emotion/cjs/components/Slider/components/SliderBase/SliderBase.styles.js +10 -10
- package/emotion/cjs/components/Slider/ui/Handler/Handler.js +52 -88
- package/emotion/cjs/components/Slider/ui/Handler/Handler.styles.js +9 -15
- package/emotion/cjs/components/Slider/ui/Handler/computeKeyPressData.js +121 -0
- package/emotion/cjs/components/Slider/ui/Thumb/Thumb.js +3 -2
- package/emotion/cjs/components/Slider/ui/Thumb/Thumb.styles.js +3 -3
- package/emotion/cjs/components/Slider/utils/index.js +28 -10
- package/emotion/cjs/components/Slider/variations/_view/base.js +2 -1
- package/emotion/cjs/components/Tabs/tokens.js +2 -0
- package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -1
- package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +20 -8
- package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.styles.js +4 -4
- package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js +1 -1
- package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +7 -6
- package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles.js +4 -4
- package/emotion/cjs/examples/plasma_b2c/components/Slider/Slider.config.js +7 -7
- package/emotion/cjs/examples/plasma_b2c/components/Slider/Slider.stories.tsx +98 -16
- package/emotion/cjs/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +72 -33
- package/emotion/cjs/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +15 -15
- package/emotion/cjs/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabs.config.js +15 -15
- package/emotion/cjs/examples/plasma_b2c/components/Tabs/vertical/VerticalTabs.config.js +6 -6
- package/emotion/cjs/examples/plasma_web/components/Slider/Slider.config.js +7 -7
- package/emotion/cjs/examples/plasma_web/components/Slider/Slider.stories.tsx +98 -15
- package/emotion/cjs/examples/plasma_web/components/Tabs/Tabs.stories.tsx +72 -33
- package/emotion/cjs/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.js +15 -15
- package/emotion/cjs/examples/plasma_web/components/Tabs/horizontal/HorizontalTabs.config.js +15 -15
- package/emotion/cjs/examples/plasma_web/components/Tabs/vertical/VerticalTabs.config.js +6 -6
- package/emotion/es/components/Slider/Slider.js +11 -2
- package/emotion/es/components/Slider/Slider.template-doc.mdx +26 -0
- package/emotion/es/components/Slider/Slider.tokens.js +23 -17
- package/emotion/es/components/Slider/components/Double/Double.js +54 -19
- package/emotion/es/components/Slider/components/Single/Single.js +65 -34
- package/emotion/es/components/Slider/components/Single/Single.styles.js +17 -8
- package/emotion/es/components/Slider/components/SliderBase/SliderBase.js +31 -12
- package/emotion/es/components/Slider/components/SliderBase/SliderBase.styles.js +11 -11
- package/emotion/es/components/Slider/ui/Handler/Handler.js +51 -86
- package/emotion/es/components/Slider/ui/Handler/Handler.styles.js +10 -16
- package/emotion/es/components/Slider/ui/Handler/computeKeyPressData.js +115 -0
- package/emotion/es/components/Slider/ui/Thumb/Thumb.js +3 -2
- package/emotion/es/components/Slider/ui/Thumb/Thumb.styles.js +3 -3
- package/emotion/es/components/Slider/utils/index.js +28 -10
- package/emotion/es/components/Slider/variations/_view/base.js +2 -1
- package/emotion/es/components/Tabs/tokens.js +2 -0
- package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -1
- package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +21 -9
- package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.styles.js +4 -4
- package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js +1 -1
- package/emotion/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +8 -7
- package/emotion/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles.js +4 -4
- package/emotion/es/examples/plasma_b2c/components/Slider/Slider.config.js +7 -7
- package/emotion/es/examples/plasma_b2c/components/Slider/Slider.stories.tsx +98 -16
- package/emotion/es/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +72 -33
- package/emotion/es/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +15 -15
- package/emotion/es/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabs.config.js +15 -15
- package/emotion/es/examples/plasma_b2c/components/Tabs/vertical/VerticalTabs.config.js +6 -6
- package/emotion/es/examples/plasma_web/components/Slider/Slider.config.js +7 -7
- package/emotion/es/examples/plasma_web/components/Slider/Slider.stories.tsx +98 -15
- package/emotion/es/examples/plasma_web/components/Tabs/Tabs.stories.tsx +72 -33
- package/emotion/es/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.js +15 -15
- package/emotion/es/examples/plasma_web/components/Tabs/horizontal/HorizontalTabs.config.js +15 -15
- package/emotion/es/examples/plasma_web/components/Tabs/vertical/VerticalTabs.config.js +6 -6
- package/es/components/Slider/Slider.css +15 -13
- package/es/components/Slider/Slider.js +11 -2
- package/es/components/Slider/Slider.js.map +1 -1
- package/es/components/Slider/Slider.tokens.js +23 -17
- package/es/components/Slider/Slider.tokens.js.map +1 -1
- package/es/components/Slider/components/Double/Double.css +8 -8
- package/es/components/Slider/components/Double/Double.js +54 -19
- package/es/components/Slider/components/Double/Double.js.map +1 -1
- package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +98 -0
- package/es/components/Slider/components/Single/Single.css +14 -14
- package/es/components/Slider/components/Single/Single.js +65 -34
- package/es/components/Slider/components/Single/Single.js.map +1 -1
- package/es/components/Slider/components/Single/Single.styles.js +4 -4
- package/es/components/Slider/components/Single/Single.styles.js.map +1 -1
- package/es/components/Slider/components/Single/Single.styles_1h7n2s2.css +6 -0
- package/es/components/Slider/components/SliderBase/SliderBase.css +5 -5
- package/es/components/Slider/components/SliderBase/SliderBase.js +31 -12
- package/es/components/Slider/components/SliderBase/SliderBase.js.map +1 -1
- package/es/components/Slider/components/SliderBase/SliderBase.styles.js +7 -7
- package/es/components/Slider/components/SliderBase/SliderBase.styles.js.map +1 -1
- package/es/components/Slider/components/SliderBase/SliderBase.styles_1qt1224.css +5 -0
- package/es/components/Slider/ui/Handler/Handler.css +3 -3
- package/es/components/Slider/ui/Handler/Handler.js +48 -87
- package/es/components/Slider/ui/Handler/Handler.js.map +1 -1
- package/es/components/Slider/ui/Handler/Handler.styles.js +17 -7
- package/es/components/Slider/ui/Handler/Handler.styles.js.map +1 -1
- package/es/components/Slider/ui/Handler/Handler.styles_irtcgm.css +2 -0
- package/es/components/Slider/ui/Handler/computeKeyPressData.js +118 -0
- package/es/components/Slider/ui/Handler/computeKeyPressData.js.map +1 -0
- package/es/components/Slider/ui/Thumb/Thumb.css +1 -1
- package/es/components/Slider/ui/Thumb/Thumb.js +3 -2
- package/es/components/Slider/ui/Thumb/Thumb.js.map +1 -1
- package/es/components/Slider/ui/Thumb/Thumb.styles.js +1 -1
- package/es/components/Slider/ui/Thumb/Thumb.styles.js.map +1 -1
- package/es/components/Slider/ui/Thumb/Thumb.styles_uyn20e.css +1 -0
- package/es/components/Slider/utils/index.js +28 -10
- package/es/components/Slider/utils/index.js.map +1 -1
- package/es/components/Slider/variations/_view/base.js +1 -1
- package/es/components/Slider/variations/_view/base.js.map +1 -1
- package/es/components/Slider/variations/_view/base_1s3f6q8.css +1 -0
- package/es/components/Tabs/createTabsController.js.map +1 -1
- package/es/components/Tabs/tokens.js +2 -0
- package/es/components/Tabs/tokens.js.map +1 -1
- package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -1
- package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js.map +1 -1
- package/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.css +5 -5
- package/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +21 -9
- package/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js.map +1 -1
- package/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.styles.js +1 -1
- package/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.styles.js.map +1 -1
- package/es/components/Tabs/ui/horizontal/HorizontalTabs/{HorizontalTabs.styles_16kuvxt.css → HorizontalTabs.styles_p9rk79.css} +1 -1
- package/es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js +1 -1
- package/es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js.map +1 -1
- package/es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/{base_9miwn.css → base_4ob3q5.css} +1 -1
- package/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.css +4 -4
- package/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +8 -7
- package/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js.map +1 -1
- package/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles.js +1 -1
- package/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles.js.map +1 -1
- package/es/components/Tabs/ui/vertical/VerticalTabs/{VerticalTabs.styles_1fr5ovg.css → VerticalTabs.styles_1r1hidh.css} +1 -1
- package/es/index.css +24 -22
- package/es/utils/index.js.map +1 -1
- package/package.json +2 -2
- package/styled-components/cjs/components/Slider/Slider.js +10 -2
- package/styled-components/cjs/components/Slider/Slider.template-doc.mdx +26 -0
- package/styled-components/cjs/components/Slider/Slider.tokens.js +23 -17
- package/styled-components/cjs/components/Slider/components/Double/Double.js +54 -19
- package/styled-components/cjs/components/Slider/components/Single/Single.js +64 -33
- package/styled-components/cjs/components/Slider/components/Single/Single.styles.js +6 -6
- package/styled-components/cjs/components/Slider/components/SliderBase/SliderBase.js +31 -12
- package/styled-components/cjs/components/Slider/components/SliderBase/SliderBase.styles.js +6 -6
- package/styled-components/cjs/components/Slider/ui/Handler/Handler.js +52 -88
- package/styled-components/cjs/components/Slider/ui/Handler/Handler.styles.js +7 -4
- package/styled-components/cjs/components/Slider/ui/Handler/computeKeyPressData.js +121 -0
- package/styled-components/cjs/components/Slider/ui/Thumb/Thumb.js +3 -2
- package/styled-components/cjs/components/Slider/ui/Thumb/Thumb.styles.js +2 -2
- package/styled-components/cjs/components/Slider/utils/index.js +28 -10
- package/styled-components/cjs/components/Slider/variations/_view/base.js +2 -1
- package/styled-components/cjs/components/Tabs/tokens.js +2 -0
- package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -1
- package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +20 -8
- package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.styles.js +2 -2
- package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js +1 -1
- package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +7 -6
- package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles.js +2 -2
- package/styled-components/cjs/examples/plasma_b2c/components/Slider/Slider.config.js +3 -3
- package/styled-components/cjs/examples/plasma_b2c/components/Slider/Slider.stories.tsx +98 -16
- package/styled-components/cjs/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +72 -33
- package/styled-components/cjs/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +2 -2
- package/styled-components/cjs/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabs.config.js +3 -3
- package/styled-components/cjs/examples/plasma_b2c/components/Tabs/vertical/VerticalTabs.config.js +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Slider/Slider.config.js +3 -3
- package/styled-components/cjs/examples/plasma_web/components/Slider/Slider.stories.tsx +98 -15
- package/styled-components/cjs/examples/plasma_web/components/Tabs/Tabs.stories.tsx +72 -33
- package/styled-components/cjs/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.js +2 -2
- package/styled-components/cjs/examples/plasma_web/components/Tabs/horizontal/HorizontalTabs.config.js +3 -3
- package/styled-components/cjs/examples/plasma_web/components/Tabs/vertical/VerticalTabs.config.js +1 -1
- package/styled-components/es/components/Slider/Slider.js +11 -2
- package/styled-components/es/components/Slider/Slider.template-doc.mdx +26 -0
- package/styled-components/es/components/Slider/Slider.tokens.js +23 -17
- package/styled-components/es/components/Slider/components/Double/Double.js +54 -19
- package/styled-components/es/components/Slider/components/Single/Single.js +65 -34
- package/styled-components/es/components/Slider/components/Single/Single.styles.js +5 -5
- package/styled-components/es/components/Slider/components/SliderBase/SliderBase.js +31 -12
- package/styled-components/es/components/Slider/components/SliderBase/SliderBase.styles.js +7 -7
- package/styled-components/es/components/Slider/ui/Handler/Handler.js +51 -86
- package/styled-components/es/components/Slider/ui/Handler/Handler.styles.js +8 -5
- package/styled-components/es/components/Slider/ui/Handler/computeKeyPressData.js +115 -0
- package/styled-components/es/components/Slider/ui/Thumb/Thumb.js +3 -2
- package/styled-components/es/components/Slider/ui/Thumb/Thumb.styles.js +2 -2
- package/styled-components/es/components/Slider/utils/index.js +28 -10
- package/styled-components/es/components/Slider/variations/_view/base.js +2 -1
- package/styled-components/es/components/Tabs/tokens.js +2 -0
- package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -1
- package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +21 -9
- package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.styles.js +2 -2
- package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js +1 -1
- package/styled-components/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +8 -7
- package/styled-components/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles.js +2 -2
- package/styled-components/es/examples/plasma_b2c/components/Slider/Slider.config.js +3 -3
- package/styled-components/es/examples/plasma_b2c/components/Slider/Slider.stories.tsx +98 -16
- package/styled-components/es/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +72 -33
- package/styled-components/es/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +2 -2
- package/styled-components/es/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabs.config.js +3 -3
- package/styled-components/es/examples/plasma_b2c/components/Tabs/vertical/VerticalTabs.config.js +1 -1
- package/styled-components/es/examples/plasma_web/components/Slider/Slider.config.js +3 -3
- package/styled-components/es/examples/plasma_web/components/Slider/Slider.stories.tsx +98 -15
- package/styled-components/es/examples/plasma_web/components/Tabs/Tabs.stories.tsx +72 -33
- package/styled-components/es/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.js +2 -2
- package/styled-components/es/examples/plasma_web/components/Tabs/horizontal/HorizontalTabs.config.js +3 -3
- package/styled-components/es/examples/plasma_web/components/Tabs/vertical/VerticalTabs.config.js +1 -1
- package/types/components/Slider/Slider.d.ts.map +1 -1
- package/types/components/Slider/Slider.tokens.d.ts +22 -16
- package/types/components/Slider/Slider.tokens.d.ts.map +1 -1
- package/types/components/Slider/components/Double/Double.d.ts.map +1 -1
- package/types/components/Slider/components/Double/Double.types.d.ts +1 -0
- package/types/components/Slider/components/Double/Double.types.d.ts.map +1 -1
- package/types/components/Slider/components/Single/Single.d.ts.map +1 -1
- package/types/components/Slider/components/Single/Single.styles.d.ts +1 -1
- package/types/components/Slider/components/Single/Single.styles.d.ts.map +1 -1
- package/types/components/Slider/components/Single/Single.types.d.ts +79 -7
- package/types/components/Slider/components/Single/Single.types.d.ts.map +1 -1
- package/types/components/Slider/components/SliderBase/SliderBase.d.ts.map +1 -1
- package/types/components/Slider/components/SliderBase/SliderBase.styles.d.ts +1 -1
- package/types/components/Slider/components/SliderBase/SliderBase.styles.d.ts.map +1 -1
- package/types/components/Slider/components/SliderBase/SliderBase.types.d.ts +6 -0
- package/types/components/Slider/components/SliderBase/SliderBase.types.d.ts.map +1 -1
- package/types/components/Slider/ui/Handler/Handler.d.ts.map +1 -1
- package/types/components/Slider/ui/Handler/Handler.styles.d.ts +6 -2
- package/types/components/Slider/ui/Handler/Handler.styles.d.ts.map +1 -1
- package/types/components/Slider/ui/Handler/Handler.types.d.ts +5 -1
- package/types/components/Slider/ui/Handler/Handler.types.d.ts.map +1 -1
- package/types/components/Slider/ui/Handler/computeKeyPressData.d.ts +12 -0
- package/types/components/Slider/ui/Handler/computeKeyPressData.d.ts.map +1 -0
- package/types/components/Slider/ui/Thumb/Thumb.d.ts +1 -1
- package/types/components/Slider/ui/Thumb/Thumb.d.ts.map +1 -1
- package/types/components/Slider/ui/Thumb/Thumb.styles.d.ts.map +1 -1
- package/types/components/Slider/ui/Thumb/Thumb.types.d.ts +1 -0
- package/types/components/Slider/ui/Thumb/Thumb.types.d.ts.map +1 -1
- package/types/components/Slider/utils/index.d.ts +26 -8
- package/types/components/Slider/utils/index.d.ts.map +1 -1
- package/types/components/Slider/variations/_view/base.d.ts.map +1 -1
- package/types/components/Tabs/TabItem.types.d.ts +50 -8
- package/types/components/Tabs/TabItem.types.d.ts.map +1 -1
- package/types/components/Tabs/Tabs.types.d.ts +44 -2
- package/types/components/Tabs/Tabs.types.d.ts.map +1 -1
- package/types/components/Tabs/createTabsController.d.ts +2 -2
- package/types/components/Tabs/createTabsController.d.ts.map +1 -1
- package/types/components/Tabs/index.d.ts +2 -2
- package/types/components/Tabs/index.d.ts.map +1 -1
- package/types/components/Tabs/tokens.d.ts +2 -0
- package/types/components/Tabs/tokens.d.ts.map +1 -1
- package/types/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.d.ts.map +1 -1
- package/types/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.d.ts +2 -2
- package/types/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.d.ts.map +1 -1
- package/types/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.styles.d.ts.map +1 -1
- package/types/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.d.ts.map +1 -1
- package/types/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Slider/Slider.config.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Slider/Slider.d.ts +80 -2
- package/types/examples/plasma_b2c/components/Slider/Slider.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Tabs/TabItem.d.ts +21 -6
- package/types/examples/plasma_b2c/components/Tabs/TabItem.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Tabs/Tabs.d.ts +2 -2
- package/types/examples/plasma_b2c/components/Tabs/Tabs.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabs.config.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Tabs/vertical/VerticalTabs.config.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Slider/Slider.config.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Slider/Slider.d.ts +80 -2
- package/types/examples/plasma_web/components/Slider/Slider.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Tabs/TabItem.d.ts +21 -6
- package/types/examples/plasma_web/components/Tabs/TabItem.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Tabs/Tabs.d.ts +2 -2
- package/types/examples/plasma_web/components/Tabs/Tabs.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Tabs/horizontal/HorizontalTabs.config.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Tabs/vertical/VerticalTabs.config.d.ts.map +1 -1
- package/types/utils/index.d.ts +1 -1
- package/types/utils/index.d.ts.map +1 -1
- package/cjs/components/Slider/components/Single/Single.styles_1r9f1e0.css +0 -6
- package/cjs/components/Slider/components/SliderBase/SliderBase.styles_9s4eb3.css +0 -5
- package/cjs/components/Slider/ui/Handler/Handler.styles_8crx5z.css +0 -2
- package/cjs/components/Slider/ui/Thumb/Thumb.styles_4w4gzn.css +0 -1
- package/cjs/components/Slider/variations/_view/base_x642ct.css +0 -1
- package/es/components/Slider/components/Single/Single.styles_1r9f1e0.css +0 -6
- package/es/components/Slider/components/SliderBase/SliderBase.styles_9s4eb3.css +0 -5
- package/es/components/Slider/ui/Handler/Handler.styles_8crx5z.css +0 -2
- package/es/components/Slider/ui/Thumb/Thumb.styles_4w4gzn.css +0 -1
- package/es/components/Slider/variations/_view/base_x642ct.css +0 -1
@@ -1,26 +1,35 @@
|
|
1
1
|
import _styled from "@emotion/styled/base";
|
2
|
+
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
3
|
import { classes, tokens } from '../../Slider.tokens';
|
3
4
|
export var LabelWrapper = /*#__PURE__*/_styled("div", {
|
4
5
|
target: "e75awbu5",
|
5
6
|
label: "plasma-new-hope__LabelWrapper"
|
6
|
-
})("color:var(", tokens.labelColor, ");display:flex;gap:var(", tokens.labelWrapperGap, ");" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
7
|
-
export var
|
7
|
+
})("color:var(", tokens.labelColor, ");display:flex;gap:var(", tokens.labelWrapperGap, ");" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2xpZGVyL2NvbXBvbmVudHMvU2luZ2xlL1NpbmdsZS5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBSXNDIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2xpZGVyL2NvbXBvbmVudHMvU2luZ2xlL1NpbmdsZS5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IGNsYXNzZXMsIHRva2VucyB9IGZyb20gJy4uLy4uL1NsaWRlci50b2tlbnMnO1xuXG5leHBvcnQgY29uc3QgTGFiZWxXcmFwcGVyID0gc3R5bGVkLmRpdmBcbiAgICBjb2xvcjogdmFyKCR7dG9rZW5zLmxhYmVsQ29sb3J9KTtcblxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgZ2FwOiB2YXIoJHt0b2tlbnMubGFiZWxXcmFwcGVyR2FwfSk7XG5gO1xuXG5leHBvcnQgY29uc3QgTGFiZWxDb250ZW50ID0gc3R5bGVkLmRpdmBcbiAgICBkaXNwbGF5OiBpbmxpbmUtZmxleDtcbmA7XG5cbmV4cG9ydCBjb25zdCBMYWJlbCA9IHN0eWxlZC5sYWJlbGBcbiAgICBmb250LWZhbWlseTogdmFyKCR7dG9rZW5zLmxhYmVsRm9udE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7XG4gICAgICAgICAgICAgICAgJHtMYWJlbFdyYXBwZXJ9IHtcbiAgICAgICAgICAgICAgICAgICAgZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICAmLiR7Y2xhc3Nlcy5sYWJlbENvbnRlbnRSZXZlcnNlZH0ge1xuICAgICAgICAgICAgICAgICAgICAke0xhYmVsV3JhcHBlcn0ge1xuICAgICAgICAgICAgICAgICAgICAgICAgZmxleC1kaXJlY3Rpb246IGNvbHVtbi1yZXZlcnNlO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAmLiR7Y2xhc3Nlcy5sYWJlbENvbnRlbnRSZXZlcnNlZH0ge1xuICAgICAgICAgICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICAgICAgICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgJHtMYWJlbFdyYXBwZXJ9IHtcbiAgICAgICAgICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gICAgICAgIH1cblxuICAgICAgICAke1NsaWRlckJhc2VXcmFwcGVyfSB7XG4gICAgICAgICAgICB3aWR0aDogdmFyKCR7dG9rZW5zLnNpemV9KTtcbiAgICAgICAgfVxuXG4gICAgICAgICYuJHtjbGFzc2VzLmxhYmVsUGxhY2VtZW50SW5uZXJ9IHtcbiAgICAgICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICAgICAgbWFyZ2luLXJpZ2h0OiAwO1xuICAgICAgICAgICAgICAgIG1hcmdpbi1ib3R0b206IHZhcigke3Rva2Vucy5sYWJlbFdyYXBwZXJWZXJ0aWNhbE1hcmdpbn0pO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgIC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cjtcbiAgICAgICAgfVxuXG4gICAgICAgICYuJHtjbGFzc2VzLmxhYmVsQWxpZ25DZW50ZXJ9IHtcbiAgICAgICAgICAgICR7U3R5bGVkUmFuZ2VWYWx1ZX0ge1xuICAgICAgICAgICAgICAgIHBvc2l0aW9uOiBzdGF0aWM7XG4gICAgICAgICAgICAgICAgYm90dG9tOiAwO1xuICAgICAgICAgICAgICAgIGxlZnQ6IDA7XG4gICAgICAgICAgICAgICAgbWFyZ2luLWJvdHRvbTogdmFyKCR7dG9rZW5zLnJhbmdlVmFsdWVWZXJ0aWNhbE1hcmdpbn0pO1xuXG4gICAgICAgICAgICAgICAgJi4ke2NsYXNzZXMubWF4UmFuZ2VWYWx1ZX0ge1xuICAgICAgICAgICAgICAgICAgICBsZWZ0OiAwO1xuICAgICAgICAgICAgICAgICAgICByaWdodDogMDtcbiAgICAgICAgICAgICAgICAgICAgYm90dG9tOiAwO1xuICAgICAgICAgICAgICAgICAgICBtYXJnaW4tdG9wOiB2YXIoJHt0b2tlbnMucmFuZ2VWYWx1ZVZlcnRpY2FsTWFyZ2lufSk7XG4gICAgICAgICAgICAgICAgICAgIG1hcmdpbi1ib3R0b206IDA7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgJi4ke2NsYXNzZXMubGFiZWxBbGlnbkxlZnR9LCAmLiR7Y2xhc3Nlcy5sYWJlbEFsaWduUmlnaHR9IHtcbiAgICAgICAgICAgICR7U3R5bGVkUmFuZ2VWYWx1ZX0ge1xuICAgICAgICAgICAgICAgIG1hcmdpbi1yaWdodDogMDtcbiAgICAgICAgICAgICAgICBtYXJnaW4tYm90dG9tOiAwO1xuICAgICAgICAgICAgICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICAgICAgICAgICAgICB0b3A6IDA7XG5cbiAgICAgICAgICAgICAgICByaWdodDogY2FsYyhcbiAgICAgICAgICAgICAgICAgICAgdmFyKCR7dG9rZW5zLnJhaWxUaGlja25lc3N9KSAvIDIgKyB2YXIoJHt0b2tlbnMuc2l6ZX0pIC8gMiArXG4gICAgICAgICAgICAgICAgICAgICAgICB2YXIoJHt0b2tlbnMucmFuZ2VWYWx1ZUhvcml6b250YWxPZmZzZXR9KVxuICAgICAgICAgICAgICAgICk7XG5cbiAgICAgICAgICAgICAgICAmLiR7Y2xhc3Nlcy5tYXhSYW5nZVZhbHVlfSB7XG4gICAgICAgICAgICAgICAgICAgIG1hcmdpbi1yaWdodDogMDtcbiAgICAgICAgICAgICAgICAgICAgbWFyZ2luLWxlZnQ6IDA7XG4gICAgICAgICAgICAgICAgICAgIHRvcDogYXV0bztcbiAgICAgICAgICAgICAgICAgICAgYm90dG9tOiAwO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgICYuJHtjbGFzc2VzLmxhYmVsQWxpZ25SaWdodH0ge1xuICAgICAgICAgICAgJHtTdHlsZWRSYW5nZVZhbHVlfSB7XG4gICAgICAgICAgICAgICAgbGVmdDogY2FsYyh2YXIoJHt0b2tlbnMuc2l6ZX0pICsgdmFyKCR7dG9rZW5zLnJhaWxUaGlja25lc3N9KSk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG5gO1xuIl19 */"));
|
8
|
+
export var LabelContent = /*#__PURE__*/_styled("div", {
|
8
9
|
target: "e75awbu4",
|
9
|
-
label: "plasma-new-
|
10
|
-
})(process.env.NODE_ENV === "production" ?
|
10
|
+
label: "plasma-new-hope__LabelContent"
|
11
|
+
})(process.env.NODE_ENV === "production" ? {
|
12
|
+
name: "1lv1yo7",
|
13
|
+
styles: "display:inline-flex"
|
14
|
+
} : {
|
15
|
+
name: "1lv1yo7",
|
16
|
+
styles: "display:inline-flex",
|
17
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3N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ZmxleC1kaXJlY3Rpb246IGNvbHVtbi1yZXZlcnNlO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAmLiR7Y2xhc3Nlcy5sYWJlbENvbnRlbnRSZXZlcnNlZH0ge1xuICAgICAgICAgICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICAgICAgICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgJHtMYWJlbFdyYXBwZXJ9IHtcbiAgICAgICAgICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gICAgICAgIH1cblxuICAgICAgICAke1NsaWRlckJhc2VXcmFwcGVyfSB7XG4gICAgICAgICAgICB3aWR0aDogdmFyKCR7dG9rZW5zLnNpemV9KTtcbiAgICAgICAgfVxuXG4gICAgICAgICYuJHtjbGFzc2VzLmxhYmVsUGxhY2VtZW50SW5uZXJ9IHtcbiAgICAgICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICAgICAgbWFyZ2luLXJpZ2h0OiAwO1xuICAgICAgICAgICAgICAgIG1hcmdpbi1ib3R0b206IHZhcigke3Rva2Vucy5sYWJlbFdyYXBwZXJWZXJ0aWNhbE1hcmdpbn0pO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgJi4ke2NsYXNzZXMubGFiZWxBbGlnbkxlZnR9IHtcbiAgICAgICAgICAgIGFsaWduLWl0ZW1zOiBmbGV4LWVuZDtcblxuICAgICAgICAgICAgJHtMYWJlbFdyYXBwZXJ9IHtcbiAgICAgICAgICAgICAgICBmbGV4LWRpcmVjdGlvbjogcm93LXJldmVyc2U7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICAmLiR7Y2xhc3Nlcy5sYWJlbEFsaWduUmlnaHR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ogdmFyKCR7dG9rZW5zLnJhbmdlVmFsdWVWZXJ0aWNhbE1hcmdpbn0pO1xuXG4gICAgICAgICAgICAgICAgJi4ke2NsYXNzZXMubWF4UmFuZ2VWYWx1ZX0ge1xuICAgICAgICAgICAgICAgICAgICBsZWZ0OiAwO1xuICAgICAgICAgICAgICAgICAgICByaWdodDogMDtcbiAgICAgICAgICAgICAgICAgICAgYm90dG9tOiAwO1xuICAgICAgICAgICAgICAgICAgICBtYXJnaW4tdG9wOiB2YXIoJHt0b2tlbnMucmFuZ2VWYWx1ZVZlcnRpY2FsTWFyZ2lufSk7XG4gICAgICAgICAgICAgICAgICAgIG1hcmdpbi1ib3R0b206IDA7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgJi4ke2NsYXNzZXMubGFiZWxBbGlnbkxlZnR9LCAmLiR7Y2xhc3Nlcy5sYWJlbEFsaWduUmlnaHR9IHtcbiAgICAgICAgICAgICR7U3R5bGVkUmFuZ2VWYWx1ZX0ge1xuICAgICAgICAgICAgICAgIG1hcmdpbi1yaWdodDogMDtcbiAgICAgICAgICAgICAgICBtYXJnaW4tYm90dG9tOiAwO1xuICAgICAgICAgICAgICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICAgICAgICAgICAgICB0b3A6IDA7XG5cbiAgICAgICAgICAgICAgICByaWdodDogY2FsYyhcbiAgICAgICAgICAgICAgICAgICAgdmFyKCR7dG9rZW5zLnJhaWxUaGlja25lc3N9KSAvIDIgKyB2YXIoJHt0b2tlbnMuc2l6ZX0pIC8gMiArXG4gICAgICAgICAgICAgICAgICAgICAgICB2YXIoJHt0b2tlbnMucmFuZ2VWYWx1ZUhvcml6b250YWxPZmZzZXR9KVxuICAgICAgICAgICAgICAgICk7XG5cbiAgICAgICAgICAgICAgICAmLiR7Y2xhc3Nlcy5tYXhSYW5nZVZhbHVlfSB7XG4gICAgICAgICAgICAgICAgICAgIG1hcmdpbi1yaWdodDogMDtcbiAgICAgICAgICAgICAgICAgICAgbWFyZ2luLWxlZnQ6IDA7XG4gICAgICAgICAgICAgICAgICAgIHRvcDogYXV0bztcbiAgICAgICAgICAgICAgICAgICAgYm90dG9tOiAwO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgICYuJHtjbGFzc2VzLmxhYmVsQWxpZ25SaWdodH0ge1xuICAgICAgICAgICAgJHtTdHlsZWRSYW5nZVZhbHVlfSB7XG4gICAgICAgICAgICAgICAgbGVmdDogY2FsYyh2YXIoJHt0b2tlbnMuc2l6ZX0pICsgdmFyKCR7dG9rZW5zLnJhaWxUaGlja25lc3N9KSk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG5gO1xuIl19 */",
|
18
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
19
|
+
});
|
11
20
|
export var Label = /*#__PURE__*/_styled("label", {
|
12
21
|
target: "e75awbu3",
|
13
22
|
label: "plasma-new-hope__Label"
|
14
|
-
})("font-family:var(", tokens.labelFontFamily, ");font-size:var(", tokens.labelFontSize, ");font-style:var(", tokens.labelFontStyle, ");font-weight:var(", tokens.labelFontWeight, ");letter-spacing:var(", tokens.labelLetterSpacing, ");line-height:var(", tokens.labelLineHeight, ");" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
23
|
+
})("font-family:var(", tokens.labelFontFamily, ");font-size:var(", tokens.labelFontSize, ");font-style:var(", tokens.labelFontStyle, ");font-weight:var(", tokens.labelFontWeight, ");letter-spacing:var(", tokens.labelLetterSpacing, ");line-height:var(", tokens.labelLineHeight, ");" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2xpZGVyL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NlO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAmLiR7Y2xhc3Nlcy5sYWJlbENvbnRlbnRSZXZlcnNlZH0ge1xuICAgICAgICAgICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICAgICAgICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgJHtMYWJlbFdyYXBwZXJ9IHtcbiAgICAgICAgICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gICAgICAgIH1cblxuICAgICAgICAke1NsaWRlckJhc2VXcmFwcGVyfSB7XG4gICAgICAgICAgICB3aWR0aDogdmFyKCR7dG9rZW5zLnNpemV9KTtcbiAgICAgICAgfVxuXG4gICAgICAgICYuJHtjbGFzc2VzLmxhYmVsUGxhY2VtZW50SW5uZXJ9IHtcbiAgICAgICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICAgICAgbWFyZ2luLXJpZ2h0OiAwO1xuICAgICAgICAgICAgICAgIG1hcmdpbi1ib3R0b206IHZhcigke3Rva2Vucy5sYWJlbFdyYXBwZXJWZXJ0aWNhbE1hcmdpbn0pO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgJi4ke2NsYXNzZXMubGFiZWxBbGlnbkxlZnR9IHtcbiAgICAgICAgICAgIGFsaWduLWl0ZW1zOiBmbGV4LWVuZDtcblxuICAgICAgICAgICAgJHtMYWJlbFdyYXBwZXJ9IHtcbiAgICAgICAgICAgICAgICBmbGV4LWRpcmVjdGlvbjogcm93LXJldmVyc2U7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICAmLiR7Y2xhc3Nlcy5sYWJlbEFsaWduUmlnaHR9IHtcbiAgICAgICAgICAgIGFsaWduLWl0ZW1zOi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0aWNhbE1hcmdpbn0pO1xuXG4gICAgICAgICAgICAgICAgJi4ke2NsYXNzZXMubWF4UmFuZ2VWYWx1ZX0ge1xuICAgICAgICAgICAgICAgICAgICBsZWZ0OiAwO1xuICAgICAgICAgICAgICAgICAgICByaWdodDogMDtcbiAgICAgICAgICAgICAgICAgICAgYm90dG9tOiAwO1xuICAgICAgICAgICAgICAgICAgICBtYXJnaW4tdG9wOiB2YXIoJHt0b2tlbnMucmFuZ2VWYWx1ZVZlcnRpY2FsTWFyZ2lufSk7XG4gICAgICAgICAgICAgICAgICAgIG1hcmdpbi1ib3R0b206IDA7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgJi4ke2NsYXNzZXMubGFiZWxBbGlnbkxlZnR9LCAmLiR7Y2xhc3Nlcy5sYWJlbEFsaWduUmlnaHR9IHtcbiAgICAgICAgICAgICR7U3R5bGVkUmFuZ2VWYWx1ZX0ge1xuICAgICAgICAgICAgICAgIG1hcmdpbi1yaWdodDogMDtcbiAgICAgICAgICAgICAgICBtYXJnaW4tYm90dG9tOiAwO1xuICAgICAgICAgICAgICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICAgICAgICAgICAgICB0b3A6IDA7XG5cbiAgICAgICAgICAgICAgICByaWdodDogY2FsYyhcbiAgICAgICAgICAgICAgICAgICAgdmFyKCR7dG9rZW5zLnJhaWxUaGlja25lc3N9KSAvIDIgKyB2YXIoJHt0b2tlbnMuc2l6ZX0pIC8gMiArXG4gICAgICAgICAgICAgICAgICAgICAgICB2YXIoJHt0b2tlbnMucmFuZ2VWYWx1ZUhvcml6b250YWxPZmZzZXR9KVxuICAgICAgICAgICAgICAgICk7XG5cbiAgICAgICAgICAgICAgICAmLiR7Y2xhc3Nlcy5tYXhSYW5nZVZhbHVlfSB7XG4gICAgICAgICAgICAgICAgICAgIG1hcmdpbi1yaWdodDogMDtcbiAgICAgICAgICAgICAgICAgICAgbWFyZ2luLWxlZnQ6IDA7XG4gICAgICAgICAgICAgICAgICAgIHRvcDogYXV0bztcbiAgICAgICAgICAgICAgICAgICAgYm90dG9tOiAwO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgICYuJHtjbGFzc2VzLmxhYmVsQWxpZ25SaWdodH0ge1xuICAgICAgICAgICAgJHtTdHlsZWRSYW5nZVZhbHVlfSB7XG4gICAgICAgICAgICAgICAgbGVmdDogY2FsYyh2YXIoJHt0b2tlbnMuc2l6ZX0pICsgdmFyKCR7dG9rZW5zLnJhaWxUaGlja25lc3N9KSk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG5gO1xuIl19 */"));
|
15
24
|
export var StyledRangeValue = /*#__PURE__*/_styled("span", {
|
16
25
|
target: "e75awbu2",
|
17
26
|
label: "plasma-new-hope__StyledRangeValue"
|
18
|
-
})("color:var(", tokens.rangeValueColor, ");font-family:var(", tokens.
|
27
|
+
})("color:var(", tokens.rangeValueColor, ");font-family:var(", tokens.valueFontFamily, ");font-size:var(", tokens.valueFontSize, ");font-style:var(", tokens.valueFontStyle, ");font-weight:var(", tokens.valueFontWeight, ");letter-spacing:var(", tokens.valueLetterSpacing, ");line-height:var(", tokens.valueLineHeight, ");transition:opacity 0.1s ease-in-out;&.", classes.hideMinValue, ",&.", classes.hideMaxValue, "{opacity:0;}&.", classes.activeRangeValue, "{color:var(", tokens.labelColor, ");}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2xpZGVyL2NvbXBvbmVudHMvU2luZ2xlL1NpbmdsZS5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBd0IyQyIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi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Ym90dG9tOiB2YXIoJHt0b2tlbnMubGFiZWxXcmFwcGVyTWFyZ2luQm90dG9tfSk7XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAmLiR7Y2xhc3Nlcy5sYWJlbFBsYWNlbWVudElubmVyfSB7XG4gICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICBtYXJnaW4tcmlnaHQ6IHZhcigke3Rva2Vucy5sYWJlbFdyYXBwZXJNYXJnaW5SaWdodH0pO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgJi4ke2NsYXNzZXMudmVydGljYWxPcmllbnRhdGlvbn0ge1xuICAgICAgICBmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xuICAgICAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuXG4gICAgICAgICYuJHtjbGFzc2VzLmxhYmVsQWxpZ25DZW50ZXJ9IHtcbiAgICAgICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICAgICAgZmxleC1kaXJlY3Rpb246IGNvbHVtbi1yZXZlcnNlO1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAmLiR7Y2xhc3Nlcy5sYWJlbFBsYWNlbWVudEJvdHRvbX0ge1xuICAgICAgICAgICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICAgICAgICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgJi4ke2NsYXNzZXMubGFiZWxDb250ZW50UmV2ZXJzZWR9IHtcbiAgICAgICAgICAgICAgICAgICAgJHtMYWJlbFdyYXBwZXJ9IHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW4tcmV2ZXJzZTtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgJi4ke2NsYXNzZXMubGFiZWxDb250ZW50UmV2ZXJzZWR9IHtcbiAgICAgICAgICAgICAgICAke0xhYmVsV3JhcHBlcn0ge1xuICAgICAgICAgICAgICAgICAgICBmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuICAgICAgICB9XG5cbiAgICAgICAgJHtTbGlkZXJCYXNlV3JhcHBlcn0ge1xuICAgICAgICAgICAgd2lkdGg6IHZhcigke3Rva2Vucy5zaXplfSk7XG4gICAgICAgIH1cblxuICAgICAgICAmLiR7Y2xhc3Nlcy5sYWJlbFBsYWNlbWVudElubmVyfSB7XG4gICAgICAgICAgICAke0xhYmVsV3JhcHBlcn0ge1xuICAgICAgICAgICAgICAgIG1hcmdpbi1yaWdodDogMDtcbiAgICAgICAgICAgICAgICBtYXJnaW4tYm90dG9tOiB2YXIoJHt0b2tlbnMubGFiZWxXcmFwcGVyVmVydGljYWxNYXJnaW59KTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgICYuJHtjbGFzc2VzLmxhYmVsQWxpZ25MZWZ0fSB7XG4gICAgICAgICAgICBhbGlnbi1pdGVtczogZmxleC1lbmQ7XG5cbiAgICAgICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICAgICAgZmxleC1kaXJlY3Rpb246IHJvdy1yZXZlcnNlO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgJi4ke2NsYXNzZXMubGFiZWxBbGlnblJpZ2h0fSB7XG4gICAgICAgICAgICBhbGlnbi1pdGVtczogZmxleC1zdGFydDtcbiAgICAgICAgfVxuXG4gICAgICAgICYuJHtjbGFzc2VzLmxhYmVsUGxhY2VtZW50Qm90dG9tfSB7XG4gICAgICAgICAgICBmbGV4LWRpcmVjdGlvbjogY29sdW1uLXJldmVyc2U7XG5cbiAgICAgICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICAgICAgbWFyZ2luLXRvcDogdmFyKCR7dG9rZW5zLmxhYmVsV3JhcHBlclZlcnRpY2FsTWFyZ2lufSk7XG4gICAgICAgICAgICAgICAgbWFyZ2luLXJpZ2h0OiAwO1xuICAgICAgICAgICAgICAgIG1hcmdpbi1ib3R0b206IDA7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAmLiR7Y2xhc3Nlcy52ZXJ0aWNhbE9yaWVudGF0aW9ufSB7XG4gICAgICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gICAgICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gICAgICAgIGp1c3RpZnktY29udGVudDogY2VudGVyO1xuXG4gICAgICAgICR7U2xpZGVyQmFzZVdyYXBwZXJ9IHtcbiAgICAgICAgICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gICAgICAgICAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuICAgICAgICAgICAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gICAgICAgIH1cblxuICAgICAgICAmLiR7Y2xhc3Nlcy5sYWJlbEFsaWduQ2VudGVyfSB7XG4gICAgICAgICAgICAke1N0eWxlZFJhbmdlVmFsdWV9IHtcbiAgICAgICAgICAgICAgICBwb3NpdGlvbjogc3RhdGljO1xuICAgICAgICAgICAgICAgIGJvdHRvbTogMDtcbiAgICAgICAgICAgICAgICBsZWZ0OiAwO1xuICAgICAgICAgICAgICAgIG1hcmdpbi1ib3R0b206IHZhcigke3Rva2Vucy5yYW5nZVZhbHVlVmVydGljYWxNYXJnaW59KTtcblxuICAgICAgICAgICAgICAgICYuJHtjbGFzc2VzLm1heFJhbmdlVmFsdWV9IHtcbiAgICAgICAgICAgICAgICAgICAgbGVmdDogMDtcbiAgICAgICAgICAgICAgICAgICAgcmlnaHQ6IDA7XG4gICAgICAgICAgICAgICAgICAgIGJvdHRvbTogMDtcbiAgICAgICAgICAgICAgICAgICAgbWFyZ2luLXRvcDogdmFyKCR7dG9rZW5zLnJhbmdlVmFsdWVWZXJ0aWNhbE1hcmdpbn0pO1xuICAgICAgICAgICAgICAgICAgICBtYXJnaW4tYm90dG9tOiAwO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgICYuJHtjbGFzc2VzLmxhYmVsQWxpZ25MZWZ0fSwgJi4ke2NsYXNzZXMubGFiZWxBbGlnblJpZ2h0fSB7XG4gICAgICAgICAgICAke1N0eWxlZFJhbmdlVmFsdWV9IHtcbiAgICAgICAgICAgICAgICBtYXJnaW4tcmlnaHQ6IDA7XG4gICAgICAgICAgICAgICAgbWFyZ2luLWJvdHRvbTogMDtcbiAgICAgICAgICAgICAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgICAgICAgICAgICAgdG9wOiAwO1xuXG4gICAgICAgICAgICAgICAgcmlnaHQ6IGNhbGMoXG4gICAgICAgICAgICAgICAgICAgIHZhcigke3Rva2Vucy5yYWlsVGhpY2tuZXNzfSkgLyAyICsgdmFyKCR7dG9rZW5zLnNpemV9KSAvIDIgK1xuICAgICAgICAgICAgICAgICAgICAgICAgdmFyKCR7dG9rZW5zLnJhbmdlVmFsdWVIb3Jpem9udGFsT2Zmc2V0fSlcbiAgICAgICAgICAgICAgICApO1xuXG4gICAgICAgICAgICAgICAgJi4ke2NsYXNzZXMubWF4UmFuZ2VWYWx1ZX0ge1xuICAgICAgICAgICAgICAgICAgICBtYXJnaW4tcmlnaHQ6IDA7XG4gICAgICAgICAgICAgICAgICAgIG1hcmdpbi1sZWZ0OiAwO1xuICAgICAgICAgICAgICAgICAgICB0b3A6IGF1dG87XG4gICAgICAgICAgICAgICAgICAgIGJvdHRvbTogMDtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICAmLiR7Y2xhc3Nlcy5sYWJlbEFsaWduUmlnaHR9IHtcbiAgICAgICAgICAgICR7U3R5bGVkUmFuZ2VWYWx1ZX0ge1xuICAgICAgICAgICAgICAgIGxlZnQ6IGNhbGModmFyKCR7dG9rZW5zLnNpemV9KSArIHZhcigke3Rva2Vucy5yYWlsVGhpY2tuZXNzfSkpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxuYDtcbiJdfQ== */"));
|
19
28
|
export var SliderBaseWrapper = /*#__PURE__*/_styled("div", {
|
20
29
|
target: "e75awbu1",
|
21
30
|
label: "plasma-new-hope__SliderBaseWrapper"
|
22
|
-
})("position:relative;display:flex;flex:1;&.", classes.rangeValuesPlacementOuter, "{", StyledRangeValue, "{position:absolute;bottom:var(", tokens.rangeValueBottomOffset, ");left:0;&.", classes.maxRangeValue, "{left:unset;right:0;}}}&.", classes.rangeValuesPlacementInner, "{align-items:center;", StyledRangeValue, "{margin-right:var(", tokens.
|
31
|
+
})("position:relative;display:flex;flex:1;&.", classes.rangeValuesPlacementOuter, "{", StyledRangeValue, "{position:absolute;bottom:calc(var(", tokens.railThickness, ") * -1.5 - var(", tokens.rangeValueBottomOffset, "));left:0;&.", classes.maxRangeValue, "{left:unset;right:0;}}}&.", classes.rangeValuesPlacementInner, "{align-items:center;", StyledRangeValue, "{margin-right:var(", tokens.rangeValueHorizontalMargin, ");&.", classes.maxRangeValue, "{margin-right:0;margin-left:var(", tokens.rangeValueHorizontalMargin, ");}}}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2xpZGVyL2NvbXBvbmVudHMvU2luZ2xlL1NpbmdsZS5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBNEMyQyIsImZpbGUi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4gICAgICAgICAgICBtYXJnaW4tYm90dG9tOiB2YXIoJHt0b2tlbnMubGFiZWxXcmFwcGVyTWFyZ2luQm90dG9tfSk7XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAmLiR7Y2xhc3Nlcy5sYWJlbFBsYWNlbWVudElubmVyfSB7XG4gICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICBtYXJnaW4tcmlnaHQ6IHZhcigke3Rva2Vucy5sYWJlbFdyYXBwZXJNYXJnaW5SaWdodH0pO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgJi4ke2NsYXNzZXMudmVydGljYWxPcmllbnRhdGlvbn0ge1xuICAgICAgICBmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xuICAgICAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuXG4gICAgICAgICYuJHtjbGFzc2VzLmxhYmVsQWxpZ25DZW50ZXJ9IHtcbiAgICAgICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICAgICAgZmxleC1kaXJlY3Rpb246IGNvbHVtbi1yZXZlcnNlO1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAmLiR7Y2xhc3Nlcy5sYWJlbFBsYWNlbWVudEJvdHRvbX0ge1xuICAgICAgICAgICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICAgICAgICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgJi4ke2NsYXNzZXMubGFiZWxDb250ZW50UmV2ZXJzZWR9IHtcbiAgICAgICAgICAgICAgICAgICAgJHtMYWJlbFdyYXBwZXJ9IHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW4tcmV2ZXJzZTtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgJi4ke2NsYXNzZXMubGFiZWxDb250ZW50UmV2ZXJzZWR9IHtcbiAgICAgICAgICAgICAgICAke0xhYmVsV3JhcHBlcn0ge1xuICAgICAgICAgICAgICAgICAgICBmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuICAgICAgICB9XG5cbiAgICAgICAgJHtTbGlkZXJCYXNlV3JhcHBlcn0ge1xuICAgICAgICAgICAgd2lkdGg6IHZhcigke3Rva2Vucy5zaXplfSk7XG4gICAgICAgIH1cblxuICAgICAgICAmLiR7Y2xhc3Nlcy5sYWJlbFBsYWNlbWVudElubmVyfSB7XG4gICAgICAgICAgICAke0xhYmVsV3JhcHBlcn0ge1xuICAgICAgICAgICAgICAgIG1hcmdpbi1yaWdodDogMDtcbiAgICAgICAgICAgICAgICBtYXJnaW4tYm90dG9tOiB2YXIoJHt0b2tlbnMubGFiZWxXcmFwcGVyVmVydGljYWxNYXJnaW59KTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgICYuJHtjbGFzc2VzLmxhYmVsQWxpZ25MZWZ0fSB7XG4gICAgICAgICAgICBhbGlnbi1pdGVtczogZmxleC1lbmQ7XG5cbiAgICAgICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICAgICAgZmxleC1kaXJlY3Rpb246IHJvdy1yZXZlcnNlO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgJi4ke2NsYXNzZXMubGFiZWxBbGlnblJpZ2h0fSB7XG4gICAgICAgICAgICBhbGlnbi1pdGVtczogZmxleC1zdGFydDtcbiAgICAgICAgfVxuXG4gICAgICAgICYuJHtjbGFzc2VzLmxhYmVsUGxhY2VtZW50Qm90dG9tfSB7XG4gICAgICAgICAgICBmbGV4LWRpcmVjdGlvbjogY29sdW1uLXJldmVyc2U7XG5cbiAgICAgICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICAgICAgbWFyZ2luLXRvcDogdmFyKCR7dG9rZW5zLmxhYmVsV3JhcHBlclZlcnRpY2FsTWFyZ2lufSk7XG4gICAgICAgICAgICAgICAgbWFyZ2luLXJpZ2h0OiAwO1xuICAgICAgICAgICAgICAgIG1hcmdpbi1ib3R0b206IDA7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAmLiR7Y2xhc3Nlcy52ZXJ0aWNhbE9yaWVudGF0aW9ufSB7XG4gICAgICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gICAgICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gICAgICAgIGp1c3RpZnktY29udGVudDogY2VudGVyO1xuXG4gICAgICAgICR7U2xpZGVyQmFzZVdyYXBwZXJ9IHtcbiAgICAgICAgICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gICAgICAgICAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuICAgICAgICAgICAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gICAgICAgIH1cblxuICAgICAgICAmLiR7Y2xhc3Nlcy5sYWJlbEFsaWduQ2VudGVyfSB7XG4gICAgICAgICAgICAke1N0eWxlZFJhbmdlVmFsdWV9IHtcbiAgICAgICAgICAgICAgICBwb3NpdGlvbjogc3RhdGljO1xuICAgICAgICAgICAgICAgIGJvdHRvbTogMDtcbiAgICAgICAgICAgICAgICBsZWZ0OiAwO1xuICAgICAgICAgICAgICAgIG1hcmdpbi1ib3R0b206IHZhcigke3Rva2Vucy5yYW5nZVZhbHVlVmVydGljYWxNYXJnaW59KTtcblxuICAgICAgICAgICAgICAgICYuJHtjbGFzc2VzLm1heFJhbmdlVmFsdWV9IHtcbiAgICAgICAgICAgICAgICAgICAgbGVmdDogMDtcbiAgICAgICAgICAgICAgICAgICAgcmlnaHQ6IDA7XG4gICAgICAgICAgICAgICAgICAgIGJvdHRvbTogMDtcbiAgICAgICAgICAgICAgICAgICAgbWFyZ2luLXRvcDogdmFyKCR7dG9rZW5zLnJhbmdlVmFsdWVWZXJ0aWNhbE1hcmdpbn0pO1xuICAgICAgICAgICAgICAgICAgICBtYXJnaW4tYm90dG9tOiAwO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgICYuJHtjbGFzc2VzLmxhYmVsQWxpZ25MZWZ0fSwgJi4ke2NsYXNzZXMubGFiZWxBbGlnblJpZ2h0fSB7XG4gICAgICAgICAgICAke1N0eWxlZFJhbmdlVmFsdWV9IHtcbiAgICAgICAgICAgICAgICBtYXJnaW4tcmlnaHQ6IDA7XG4gICAgICAgICAgICAgICAgbWFyZ2luLWJvdHRvbTogMDtcbiAgICAgICAgICAgICAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgICAgICAgICAgICAgdG9wOiAwO1xuXG4gICAgICAgICAgICAgICAgcmlnaHQ6IGNhbGMoXG4gICAgICAgICAgICAgICAgICAgIHZhcigke3Rva2Vucy5yYWlsVGhpY2tuZXNzfSkgLyAyICsgdmFyKCR7dG9rZW5zLnNpemV9KSAvIDIgK1xuICAgICAgICAgICAgICAgICAgICAgICAgdmFyKCR7dG9rZW5zLnJhbmdlVmFsdWVIb3Jpem9udGFsT2Zmc2V0fSlcbiAgICAgICAgICAgICAgICApO1xuXG4gICAgICAgICAgICAgICAgJi4ke2NsYXNzZXMubWF4UmFuZ2VWYWx1ZX0ge1xuICAgICAgICAgICAgICAgICAgICBtYXJnaW4tcmlnaHQ6IDA7XG4gICAgICAgICAgICAgICAgICAgIG1hcmdpbi1sZWZ0OiAwO1xuICAgICAgICAgICAgICAgICAgICB0b3A6IGF1dG87XG4gICAgICAgICAgICAgICAgICAgIGJvdHRvbTogMDtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICAmLiR7Y2xhc3Nlcy5sYWJlbEFsaWduUmlnaHR9IHtcbiAgICAgICAgICAgICR7U3R5bGVkUmFuZ2VWYWx1ZX0ge1xuICAgICAgICAgICAgICAgIGxlZnQ6IGNhbGModmFyKCR7dG9rZW5zLnNpemV9KSArIHZhcigke3Rva2Vucy5yYWlsVGhpY2tuZXNzfSkpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxuYDtcbiJdfQ== */"));
|
23
32
|
export var SingleWrapper = /*#__PURE__*/_styled("div", {
|
24
33
|
target: "e75awbu0",
|
25
34
|
label: "plasma-new-hope__SingleWrapper"
|
26
|
-
})("display:flex;opacity:var(", tokens.disabledOpacity, ");&.", classes.labelPlacementOuter, "{flex-direction:column;", LabelWrapper, "{margin-bottom:var(", tokens.labelWrapperMarginBottom, ");}}&.", classes.labelPlacementInner, "{", LabelWrapper, "{margin-right:var(", tokens.labelWrapperMarginRight, ");}}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2xpZGVyL2NvbXBvbmVudHMvU2luZ2xlL1NpbmdsZS5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBMEV1QyIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL1NsaWRlci9jb21wb25lbnRzL1NpbmdsZS9TaW5nbGUuc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuXG5pbXBvcnQgeyBjbGFzc2VzLCB0b2tlbnMgfSBmcm9tICcuLi8uLi9TbGlkZXIudG9rZW5zJztcblxuZXhwb3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VzUGxhY2VtZW50SW5uZXJ9IHtcbiAgICAgICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcblxuICAgICAgICAke1N0eWxlZFJhbmdlVmFsdWV9IHtcbiAgICAgICAgICAgIG1hcmdpbi1yaWdodDogdmFyKCR7dG9rZW5zLnJhbmdlTWluVmFsdWVNYXJnaW59KTtcblxuICAgICAgICAgICAgJi4ke2NsYXNzZXMubWF4UmFuZ2VWYWx1ZX0ge1xuICAgICAgICAgICAgICAgIG1hcmdpbi1yaWdodDogMDtcbiAgICAgICAgICAgICAgICBtYXJnaW4tbGVmdDogdmFyKCR7dG9rZW5zLnJhbmdlTWF4VmFsdWVNYXJnaW59KTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgIH1cbmA7XG5cbmV4cG9ydCBjb25zdCBTaW5nbGVXcmFwcGVyID0gc3R5bGVkLmRpdmBcbiAgICBkaXNwbGF5OiBmbGV4O1xuICAgIG9wYWNpdHk6IHZhcigke3Rva2Vucy5kaXNhYmxlZE9wYWNpdHl9KTtcblxuICAgICYuJHtjbGFzc2VzLmxhYmVsUGxhY2VtZW50T3V0ZXJ9IHtcbiAgICAgICAgZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcblxuICAgICAgICAke0xhYmVsV3JhcHBlcn0ge1xuICAgICAgICAgICAgbWFyZ2luLWJvdHRvbTogdmFyKCR7dG9rZW5zLmxhYmVsV3JhcHBlck1hcmdpbkJvdHRvbX0pO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgJi4ke2NsYXNzZXMubGFiZWxQbGFjZW1lbnRJbm5lcn0ge1xuICAgICAgICAke0xhYmVsV3JhcHBlcn0ge1xuICAgICAgICAgICAgbWFyZ2luLXJpZ2h0OiB2YXIoJHt0b2tlbnMubGFiZWxXcmFwcGVyTWFyZ2luUmlnaHR9KTtcbiAgICAgICAgfVxuICAgIH1cbmA7XG4iXX0= */"));
|
35
|
+
})("display:flex;opacity:var(", tokens.disabledOpacity, ");&.", classes.labelPlacementOuter, "{flex-direction:column;", LabelWrapper, "{margin-bottom:var(", tokens.labelWrapperMarginBottom, ");}}&.", classes.labelPlacementInner, "{", LabelWrapper, "{margin-right:var(", tokens.labelWrapperMarginRight, ");}}&.", classes.verticalOrientation, "{flex-direction:column;align-items:center;&.", classes.labelAlignCenter, "{", LabelWrapper, "{flex-direction:column-reverse;}&.", classes.labelPlacementBottom, "{", LabelWrapper, "{flex-direction:column;}&.", classes.labelContentReversed, "{", LabelWrapper, "{flex-direction:column-reverse;}}}&.", classes.labelContentReversed, "{", LabelWrapper, "{flex-direction:column;}}}", LabelWrapper, "{align-items:center;}", SliderBaseWrapper, "{width:var(", tokens.size, ");}&.", classes.labelPlacementInner, "{", LabelWrapper, "{margin-right:0;margin-bottom:var(", tokens.labelWrapperVerticalMargin, ");}}&.", classes.labelAlignLeft, "{align-items:flex-end;", LabelWrapper, "{flex-direction:row-reverse;}}&.", classes.labelAlignRight, "{align-items:flex-start;}&.", classes.labelPlacementBottom, "{flex-direction:column-reverse;", LabelWrapper, "{margin-top:var(", tokens.labelWrapperVerticalMargin, ");margin-right:0;margin-bottom:0;}}}&.", classes.verticalOrientation, "{flex-direction:column;align-items:center;justify-content:center;", SliderBaseWrapper, "{flex-direction:column;align-items:center;justify-content:center;}&.", classes.labelAlignCenter, "{", StyledRangeValue, "{position:static;bottom:0;left:0;margin-bottom:var(", tokens.rangeValueVerticalMargin, ");&.", classes.maxRangeValue, "{left:0;right:0;bottom:0;margin-top:var(", tokens.rangeValueVerticalMargin, ");margin-bottom:0;}}}&.", classes.labelAlignLeft, ",&.", classes.labelAlignRight, "{", StyledRangeValue, "{margin-right:0;margin-bottom:0;position:absolute;top:0;right:calc(\n var(", tokens.railThickness, ") / 2 + var(", tokens.size, ") / 2 +\n var(", tokens.rangeValueHorizontalOffset, ")\n );&.", classes.maxRangeValue, "{margin-right:0;margin-left:0;top:auto;bottom:0;}}}&.", classes.labelAlignRight, "{", StyledRangeValue, "{left:calc(var(", tokens.size, ") + var(", tokens.railThickness, "));}}}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2xpZGVyL2NvbXBvbmVudHMvU2luZ2xlL1NpbmdsZS5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBNEV1QyIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL1NsaWRlci9jb21wb25lbnRzL1NpbmdsZS9TaW5nbGUuc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuXG5pbXBvcnQgeyBjbGFzc2VzLCB0b2tlbnMgfSBmcm9tICcuLi8uLi9TbGlkZXIudG9rZW5zJztcblxuZXhwb3J0IGNvbnN0IExhYmVsV3JhcHBlciA9IHN0eWxlZC5kaXZgXG4gICAgY29sb3I6IHZhcigke3Rva2Vucy5sYWJlbENvbG9yfSk7XG5cbiAgICBkaXNwbGF5OiBmbGV4O1xuICAgIGdhcDogdmFyKCR7dG9rZW5zLmxhYmVsV3JhcHBlckdhcH0pO1xuYDtcblxuZXhwb3J0IGNvbnN0IExhYmVsQ29udGVudCA9IHN0eWxlZC5kaXZgXG4gICAgZGlzcGxheTogaW5saW5lLWZsZXg7XG5gO1xuXG5leHBvcnQgY29uc3QgTGFiZWwgPSBzdHlsZWQubGFiZWxgXG4gICAgZm9udC1mYW1pbHk6IHZhcigke3Rva2Vucy5sYWJlbEZvbnRGYW1pbHl9KTtcbiAgICBmb250LXNpemU6IHZhcigke3Rva2Vucy5sYWJlbEZvbnRTaXplfSk7XG4gICAgZm9udC1zdHlsZTogdmFyKCR7dG9rZW5zLmxhYmVsRm9udFN0eWxlfSk7XG4g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gfVxuXG4gICAgICAgICAgICAgICAgJi4ke2NsYXNzZXMubGFiZWxDb250ZW50UmV2ZXJzZWR9IHtcbiAgICAgICAgICAgICAgICAgICAgJHtMYWJlbFdyYXBwZXJ9IHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW4tcmV2ZXJzZTtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgJi4ke2NsYXNzZXMubGFiZWxDb250ZW50UmV2ZXJzZWR9IHtcbiAgICAgICAgICAgICAgICAke0xhYmVsV3JhcHBlcn0ge1xuICAgICAgICAgICAgICAgICAgICBmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuICAgICAgICB9XG5cbiAgICAgICAgJHtTbGlkZXJCYXNlV3JhcHBlcn0ge1xuICAgICAgICAgICAgd2lkdGg6IHZhcigke3Rva2Vucy5zaXplfSk7XG4gICAgICAgIH1cblxuICAgICAgICAmLiR7Y2xhc3Nlcy5sYWJlbFBsYWNlbWVudElubmVyfSB7XG4gICAgICAgICAgICAke0xhYmVsV3JhcHBlcn0ge1xuICAgICAgICAgICAgICAgIG1hcmdpbi1yaWdodDogMDtcbiAgICAgICAgICAgICAgICBtYXJnaW4tYm90dG9tOiB2YXIoJHt0b2tlbnMubGFiZWxXcmFwcGVyVmVydGljYWxNYXJnaW59KTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgICYuJHtjbGFzc2VzLmxhYmVsQWxpZ25MZWZ0fSB7XG4gICAgICAgICAgICBhbGlnbi1pdGVtczogZmxleC1lbmQ7XG5cbiAgICAgICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICAgICAgZmxleC1kaXJlY3Rpb246IHJvdy1yZXZlcnNlO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgJi4ke2NsYXNzZXMubGFiZWxBbGlnblJpZ2h0fSB7XG4gICAgICAgICAgICBhbGlnbi1pdGVtczogZmxleC1zdGFydDtcbiAgICAgICAgfVxuXG4gICAgICAgICYuJHtjbGFzc2VzLmxhYmVsUGxhY2VtZW50Qm90dG9tfSB7XG4gICAgICAgICAgICBmbGV4LWRpcmVjdGlvbjogY29sdW1uLXJldmVyc2U7XG5cbiAgICAgICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICAgICAgbWFyZ2luLXRvcDogdmFyKCR7dG9rZW5zLmxhYmVsV3JhcHBlclZlcnRpY2FsTWFyZ2lufSk7XG4gICAgICAgICAgICAgICAgbWFyZ2luLXJpZ2h0OiAwO1xuICAgICAgICAgICAgICAgIG1hcmdpbi1ib3R0b206IDA7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAmLiR7Y2xhc3Nlcy52ZXJ0aWNhbE9yaWVudGF0aW9ufSB7XG4gICAgICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gICAgICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gICAgICAgIGp1c3RpZnktY29udGVudDogY2VudGVyO1xuXG4gICAgICAgICR7U2xpZGVyQmFzZVdyYXBwZXJ9IHtcbiAgICAgICAgICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gICAgICAgICAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuICAgICAgICAgICAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gICAgICAgIH1cblxuICAgICAgICAmLiR7Y2xhc3Nlcy5sYWJlbEFsaWduQ2VudGVyfSB7XG4gICAgICAgICAgICAke1N0eWxlZFJhbmdlVmFsdWV9IHtcbiAgICAgICAgICAgICAgICBwb3NpdGlvbjogc3RhdGljO1xuICAgICAgICAgICAgICAgIGJvdHRvbTogMDtcbiAgICAgICAgICAgICAgICBsZWZ0OiAwO1xuICAgICAgICAgICAgICAgIG1hcmdpbi1ib3R0b206IHZhcigke3Rva2Vucy5yYW5nZVZhbHVlVmVydGljYWxNYXJnaW59KTtcblxuICAgICAgICAgICAgICAgICYuJHtjbGFzc2VzLm1heFJhbmdlVmFsdWV9IHtcbiAgICAgICAgICAgICAgICAgICAgbGVmdDogMDtcbiAgICAgICAgICAgICAgICAgICAgcmlnaHQ6IDA7XG4gICAgICAgICAgICAgICAgICAgIGJvdHRvbTogMDtcbiAgICAgICAgICAgICAgICAgICAgbWFyZ2luLXRvcDogdmFyKCR7dG9rZW5zLnJhbmdlVmFsdWVWZXJ0aWNhbE1hcmdpbn0pO1xuICAgICAgICAgICAgICAgICAgICBtYXJnaW4tYm90dG9tOiAwO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgICYuJHtjbGFzc2VzLmxhYmVsQWxpZ25MZWZ0fSwgJi4ke2NsYXNzZXMubGFiZWxBbGlnblJpZ2h0fSB7XG4gICAgICAgICAgICAke1N0eWxlZFJhbmdlVmFsdWV9IHtcbiAgICAgICAgICAgICAgICBtYXJnaW4tcmlnaHQ6IDA7XG4gICAgICAgICAgICAgICAgbWFyZ2luLWJvdHRvbTogMDtcbiAgICAgICAgICAgICAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgICAgICAgICAgICAgdG9wOiAwO1xuXG4gICAgICAgICAgICAgICAgcmlnaHQ6IGNhbGMoXG4gICAgICAgICAgICAgICAgICAgIHZhcigke3Rva2Vucy5yYWlsVGhpY2tuZXNzfSkgLyAyICsgdmFyKCR7dG9rZW5zLnNpemV9KSAvIDIgK1xuICAgICAgICAgICAgICAgICAgICAgICAgdmFyKCR7dG9rZW5zLnJhbmdlVmFsdWVIb3Jpem9udGFsT2Zmc2V0fSlcbiAgICAgICAgICAgICAgICApO1xuXG4gICAgICAgICAgICAgICAgJi4ke2NsYXNzZXMubWF4UmFuZ2VWYWx1ZX0ge1xuICAgICAgICAgICAgICAgICAgICBtYXJnaW4tcmlnaHQ6IDA7XG4gICAgICAgICAgICAgICAgICAgIG1hcmdpbi1sZWZ0OiAwO1xuICAgICAgICAgICAgICAgICAgICB0b3A6IGF1dG87XG4gICAgICAgICAgICAgICAgICAgIGJvdHRvbTogMDtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICAmLiR7Y2xhc3Nlcy5sYWJlbEFsaWduUmlnaHR9IHtcbiAgICAgICAgICAgICR7U3R5bGVkUmFuZ2VWYWx1ZX0ge1xuICAgICAgICAgICAgICAgIGxlZnQ6IGNhbGModmFyKCR7dG9rZW5zLnNpemV9KSArIHZhcigke3Rva2Vucy5yYWlsVGhpY2tuZXNzfSkpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxuYDtcbiJdfQ== */"));
|
@@ -1,5 +1,7 @@
|
|
1
1
|
import React, { useRef, useEffect } from 'react';
|
2
2
|
import { useIsomorphicLayoutEffect } from '../../../../hooks';
|
3
|
+
import { classes } from '../../Slider.tokens';
|
4
|
+
import { cx } from '../../../../utils';
|
3
5
|
import { Fill, Rail, RailWrap, Slider } from './SliderBase.styles';
|
4
6
|
export var SliderBase = function SliderBase(_ref) {
|
5
7
|
var max = _ref.max,
|
@@ -13,6 +15,9 @@ export var SliderBase = function SliderBase(_ref) {
|
|
13
15
|
labelPlacement = _ref.labelPlacement,
|
14
16
|
rangeValuesPlacement = _ref.rangeValuesPlacement,
|
15
17
|
onChange = _ref.onChange,
|
18
|
+
orientation = _ref.orientation,
|
19
|
+
size = _ref.size,
|
20
|
+
sliderAlign = _ref.sliderAlign,
|
16
21
|
_ref$settings = _ref.settings,
|
17
22
|
settings = _ref$settings === void 0 ? {} : _ref$settings;
|
18
23
|
var _settings$indent = settings.indent,
|
@@ -21,34 +26,43 @@ export var SliderBase = function SliderBase(_ref) {
|
|
21
26
|
fontSizeMultiplier = _settings$fontSizeMul === void 0 ? 16 : _settings$fontSizeMul;
|
22
27
|
var ref = useRef(null);
|
23
28
|
var gap = indent * fontSizeMultiplier * 2;
|
29
|
+
var isVertical = orientation === 'vertical';
|
24
30
|
useEffect(function () {
|
25
31
|
var resizeHandler = function resizeHandler() {
|
26
32
|
if (ref.current) {
|
27
|
-
var railSize = ref.current.offsetWidth - gap;
|
33
|
+
var railSize = isVertical ? ref.current.offsetHeight - gap : ref.current.offsetWidth - gap;
|
28
34
|
var totalSteps = max - min;
|
29
35
|
setStepSize(railSize / totalSteps);
|
30
36
|
}
|
31
37
|
};
|
32
38
|
resizeHandler();
|
33
|
-
}, [labelPlacement, rangeValuesPlacement
|
39
|
+
}, [labelPlacement, rangeValuesPlacement, gap, isVertical,
|
40
|
+
// для перерасчета размеров
|
41
|
+
size, sliderAlign]);
|
34
42
|
var onHandleChange = function onHandleChange(e) {
|
35
43
|
if (!onChange || disabled) {
|
36
44
|
return;
|
37
45
|
}
|
38
46
|
var _e$currentTarget$getB = e.currentTarget.getBoundingClientRect(),
|
39
47
|
x = _e$currentTarget$getB.x,
|
40
|
-
width = _e$currentTarget$getB.width
|
41
|
-
|
42
|
-
|
48
|
+
width = _e$currentTarget$getB.width,
|
49
|
+
y = _e$currentTarget$getB.y,
|
50
|
+
height = _e$currentTarget$getB.height;
|
51
|
+
var lastPos = isVertical ? e.clientY - y : e.clientX - x;
|
52
|
+
var sliderWidth = isVertical ? height : width;
|
53
|
+
var position = min + lastPos / (sliderWidth - gap) * (max - min);
|
43
54
|
var result = Math.max(min, Math.min(max, position));
|
44
|
-
|
45
|
-
|
46
|
-
}
|
55
|
+
var data = isVertical ? {
|
56
|
+
lastY: lastPos
|
57
|
+
} : {
|
58
|
+
lastX: lastPos
|
59
|
+
};
|
60
|
+
onChange(result, data);
|
47
61
|
};
|
48
62
|
useIsomorphicLayoutEffect(function () {
|
49
63
|
var resizeHandler = function resizeHandler() {
|
50
64
|
if (ref.current) {
|
51
|
-
var railSize = ref.current.offsetWidth - gap;
|
65
|
+
var railSize = isVertical ? ref.current.offsetHeight - gap : ref.current.offsetWidth - gap;
|
52
66
|
var totalSteps = max - min;
|
53
67
|
setStepSize(railSize / totalSteps);
|
54
68
|
}
|
@@ -58,13 +72,18 @@ export var SliderBase = function SliderBase(_ref) {
|
|
58
72
|
return function () {
|
59
73
|
return window.removeEventListener('resize', resizeHandler);
|
60
74
|
};
|
61
|
-
}, [min, max, setStepSize, gap, labelPlacement, rangeValuesPlacement]);
|
62
|
-
var fillStyle = {
|
75
|
+
}, [min, max, setStepSize, gap, labelPlacement, rangeValuesPlacement, isVertical]);
|
76
|
+
var fillStyle = isVertical ? {
|
77
|
+
top: "".concat(railFillXPosition, "px"),
|
78
|
+
height: "".concat(railFillWidth, "px"),
|
79
|
+
width: '100%'
|
80
|
+
} : {
|
63
81
|
left: "".concat(railFillXPosition, "px"),
|
64
82
|
width: "".concat(railFillWidth, "px")
|
65
83
|
};
|
66
84
|
return /*#__PURE__*/React.createElement(Slider, {
|
67
|
-
ref: ref
|
85
|
+
ref: ref,
|
86
|
+
className: cx(orientation === 'vertical' && classes.verticalOrientation)
|
68
87
|
}, /*#__PURE__*/React.createElement(RailWrap, {
|
69
88
|
"aria-hidden": "true",
|
70
89
|
onMouseDown: onHandleChange
|
@@ -1,13 +1,17 @@
|
|
1
1
|
import _styled from "@emotion/styled/base";
|
2
2
|
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)."; }
|
3
3
|
import { applyHidden } from '../../../../mixins';
|
4
|
-
import { tokens } from '../../Slider.tokens';
|
5
|
-
export var
|
4
|
+
import { classes, tokens } from '../../Slider.tokens';
|
5
|
+
export var Rail = /*#__PURE__*/_styled("div", {
|
6
6
|
target: "e1nkxkag4",
|
7
|
+
label: "plasma-new-hope__Rail"
|
8
|
+
})("position:relative;top:50%;height:var(", tokens.railThickness, ");border-radius:var(", tokens.railBorderRadius, ");background-color:var(", tokens.railBackgroundColor, ");overflow:hidden;transform:translateY(-50%);" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2xpZGVyL2NvbXBvbmVudHMvU2xpZGVyQmFzZS9TbGlkZXJCYXNlLnN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFLOEIiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9TbGlkZXIvY29tcG9uZW50cy9TbGlkZXJCYXNlL1NsaWRlckJhc2Uuc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuXG5pbXBvcnQgeyBhcHBseUhpZGRlbiB9IGZyb20gJy4uLy4uLy4uLy4uL21peGlucyc7XG5pbXBvcnQgeyBjbGFzc2VzLCB0b2tlbnMgfSBmcm9tICcuLi8uLi9TbGlkZXIudG9rZW5zJztcblxuZXhwb3J0IGNvbnN0IFJhaWwgPSBzdHlsZWQuZGl2YFxuICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcbiAgICB0b3A6IDUwJTtcblxuICAgIGhlaWdodDogdmFyKCR7dG9rZW5zLnJhaWxUaGlja25lc3N9KTtcblxuICAgIGJvcmRlci1yYWRpdXM6IHZhcigke3Rva2Vucy5yYWlsQm9yZGVyUmFkaXVzfSk7XG4gICAgYmFja2dyb3VuZC1jb2xvcjogdmFyKCR7dG9rZW5zLnJhaWxCYWNrZ3JvdW5kQ29sb3J9KTtcblxuICAgIG92Z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__*/_styled("div", {
|
10
|
+
target: "e1nkxkag3",
|
7
11
|
label: "plasma-new-hope__Slider"
|
8
|
-
})("flex:1;position:relative;user-select:none;height:var(", tokens.height, ");" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
12
|
+
})("flex:1;position:relative;user-select:none;height:var(", tokens.size, ");&.", classes.verticalOrientation, "{width:var(", tokens.size, ");height:auto;", Rail, "{top:0;left:50%;transform:translateX(-50%);width:var(", tokens.railThickness, ");height:100%;}}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2xpZGVyL2NvbXBvbmVudHMvU2xpZGVyQmFzZS9TbGlkZXJCYXNlLnN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFrQmdDIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2xpZGVyL2NvbXBvbmVudHMvU2xpZGVyQmFzZS9TbGlkZXJCYXNlLnN0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcblxuaW1wb3J0IHsgYXBwbHlIaWRkZW4gfSBmcm9tICcuLi8uLi8uLi8uLi9taXhpbnMnO1xuaW1wb3J0IHsgY2xhc3NlcywgdG9rZW5zIH0gZnJvbSAnLi4vLi4vU2xpZGVyLnRva2Vucyc7XG5cbmV4cG9ydCBjb25zdCBSYWlsID0gc3R5bGVkLmRpdmBcbiAgICBwb3NpdGlvbjogcmVsYXRpdmU7XG4gICAgdG9wOiA1MCU7XG5cbiAgICBoZWlnaHQ6IHZhcigke3Rva2Vucy5yYWlsVGhpY2tuZXNzfSk7XG5cbiAgICBib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A7XG5gO1xuXG5leHBvcnQgY29uc3QgSW5wdXRIaWRkZW4gPSBzdHlsZWQuaW5wdXRgXG4gICAgJHthcHBseUhpZGRlbigpfTtcbmA7XG4iXX0= */"));
|
9
13
|
export var RailWrap = /*#__PURE__*/_styled("div", {
|
10
|
-
target: "
|
14
|
+
target: "e1nkxkag2",
|
11
15
|
label: "plasma-new-hope__RailWrap"
|
12
16
|
})(process.env.NODE_ENV === "production" ? {
|
13
17
|
name: "13udsys",
|
@@ -15,18 +19,14 @@ export var RailWrap = /*#__PURE__*/_styled("div", {
|
|
15
19
|
} : {
|
16
20
|
name: "13udsys",
|
17
21
|
styles: "height:100%",
|
18
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
22
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2xpZGVyL2NvbXBvbmVudHMvU2xpZGVyQmFzZS9TbGlkZXJCYXNlLnN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFzQ2tDIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2xpZGVyL2NvbXBvbmVudHMvU2xpZGVyQmFzZS9TbGlkZXJCYXNlLnN0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcblxuaW1wb3J0IHsgYXBwbHlIaWRkZW4gfSBmcm9tICcuLi8uLi8uLi8uLi9taXhpbnMnO1xuaW1wb3J0IHsgY2xhc3NlcywgdG9rZW5zIH0gZnJvbSAnLi4vLi4vU2xpZGVyLnRva2Vucyc7XG5cbmV4cG9ydCBjb25zdCBSYWlsID0gc3R5bGVkLmRpdmBcbiAgICBwb3NpdGlvbjogcmV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3A6IDA7XG4gICAgbGVmdDogMDtcbiAgICBiYWNrZ3JvdW5kOiB2YXIoJHt0b2tlbnMuZmlsbENvbG9yfSk7XG4gICAgd2lkdGg6IDA7XG5gO1xuXG5leHBvcnQgY29uc3QgSW5wdXRIaWRkZW4gPSBzdHlsZWQuaW5wdXRgXG4gICAgJHthcHBseUhpZGRlbigpfTtcbmA7XG4iXX0= */",
|
19
23
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
20
24
|
});
|
21
|
-
export var Rail = /*#__PURE__*/_styled("div", {
|
22
|
-
target: "e1nkxkag2",
|
23
|
-
label: "plasma-new-hope__Rail"
|
24
|
-
})("position:relative;top:50%;height:var(", tokens.railHeight, ");border-radius:var(", tokens.railBorderRadius, ");background-color:var(", tokens.railBackgroundColor, ");overflow:hidden;transform:translateY(-50%);" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2xpZGVyL2NvbXBvbmVudHMvU2xpZGVyQmFzZS9TbGlkZXJCYXNlLnN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFnQjhCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2xpZGVyL2NvbXBvbmVudHMvU2xpZGVyQmFzZS9TbGlkZXJCYXNlLnN0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcblxuaW1wb3J0IHsgYXBwbHlIaWRkZW4gfSBmcm9tICcuLi8uLi8uLi8uLi9taXhpbnMnO1xuaW1wb3J0IHsgdG9rZW5zIH0gZnJvbSAnLi4vLi4vU2xpZGVyLnRva2Vucyc7XG5cbmV4cG9ydCBjb25zdCBTbGlkZXIgPSBzdHlsZWQuZGl2YFxuICAgIGZsZXg6IDE7XG4gICAgcG9zaXRpb246IHJlbGF0aXZlO1xuICAgIHVzZXItc2VsZWN0OiBub25lO1xuICAgIGhlaWdodDogdmFyKCR7dG9rZW5zLmhlaWdodH0pO1xuYDtcblxuZXhwb3J0IGNvbnN0IFJhaWxXcmFwID0gc3R5bGVkLmRpdmBcbiAgICBoZWlnaHQ6IDEwMCU7XG5gO1xuXG5leHBvcnQgY29uc3QgUmFpbCA9IHN0eWxlZC5kaXZgXG4gICAgcG9zaXRpb246IHJlbGF0aXZlO1xuICAgIHRvcDogNTAlO1xuXG4gICAgaGVpZ2h0OiB2YXIoJHt0b2tlbnMucmFpbEhlaWdodH0pO1xuXG4gICAgYm9yZGVyLXJhZGl1czogdmFyKCR7dG9rZW5zLnJhaWxCb3JkZXJSYWRpdXN9KTtcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiB2YXIoJHt0b2tlbnMucmFpbEJhY2tncm91bmRDb2xvcn0pO1xuXG4gICAgb3ZlcmZsb3c6IGhpZGRlbjtcbiAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVkoLTUwJSk7XG5gO1xuXG5leHBvcnQgY29uc3QgRmlsbCA9IHN0eWxlZC5kaXZgXG4gICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgIGhlaWdodDogMTAwJTtcbiAgICB0b3A6IDA7XG4gICAgbGVmdDogMDtcbiAgICBiYWNrZ3JvdW5kOiB2YXIoJHt0b2tlbnMuZmlsbENvbG9yfSk7XG4gICAgd2lkdGg6IDA7XG5gO1xuXG5leHBvcnQgY29uc3QgSW5wdXRIaWRkZW4gPSBzdHlsZWQuaW5wdXRgXG4gICAgJHthcHBseUhpZGRlbigpfTtcbmA7XG4iXX0= */"));
|
25
25
|
export var Fill = /*#__PURE__*/_styled("div", {
|
26
26
|
target: "e1nkxkag1",
|
27
27
|
label: "plasma-new-hope__Fill"
|
28
|
-
})("position:absolute;height:100%;top:0;left:0;background:var(", tokens.fillColor, ");width:0;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
28
|
+
})("position:absolute;height:100%;top:0;left:0;background:var(", tokens.fillColor, ");width:0;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2xpZGVyL2NvbXBvbmVudHMvU2xpZGVyQmFzZS9TbGlkZXJCYXNlLnN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUEwQzhCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2xpZGVyL2NvbXBvbmVudHMvU2xpZGVyQmFzZS9TbGlkZXJCYXNlLnN0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcblxuaW1wb3J0IHsgYXBwbHlIaWRkZW4gfSBmcm9tICcuLi8uLi8uLi8uLi9taXhpbnMnO1xuaW1wb3J0IHsgY2xhc3NlcywgdG9rZW5zIH0gZnJvbSAnLi4vLi4vU2xpZGVyLnRva2Vucyc7XG5cbmV4cG9ydCBjb25zdCBSYWlsID0gc3R5bGVkLmRpdmBcbiAgICBwb3NpdGlvbjogcmVsYXRpdmU7XG4gICAgdG9wOiA1MCU7XG5cbiAgICBoZWlnaHQ6IHZhcigke3Rva2Vucy5yYWlsVGhpY2tuZXNzfSk7XG5cbiAgICBib3JkZXItcmFkaXVzOiB2YXIoJHt0b2tlbnMucmFpbEJvcmRlclJhZGl1c30pO1xuICAgIGJhY2tncm91bmQtY29sb3I6IHZhcigke3Rva2Vucy5yYWlsQmFja2dyb3VuZENvbG9yfSk7XG5cbiAgICBvdmVyZmxvdzogaGlkZGVuO1xuICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlWSgtNTAlKTtcbmA7XG5cbmV4cG9ydCBjb25zdCBTbGlkZXIgPSBzdHlsZWQuZGl2YFxuICAgIGZsZXg6IDE7XG4gICAgcG9zaXRpb246IHJlbGF0aXZlO1xuICAgIHVzZXItc2VsZWN0OiBub25lO1xuICAgIGhlaWdodDogdmFyKCR7dG9rZW5zLnNpemV9KTtcblxuICAgICYuJHtjbGFzc2VzLnZlcnRpY2FsT3JpZW50YXRpb259IHtcbiAgICAgICAgd2lkdGg6IHZhcigke3Rva2Vucy5zaXplfSk7XG4gICAgICAgIGhlaWdodDogYXV0bztcblxuICAgICAgICAke1JhaWx9IHtcbiAgICAgICAgICAgIHRvcDogMDtcbiAgICAgICAgICAgIGxlZnQ6IDUwJTtcbiAgICAgICAgICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlWCgtNTAlKTtcbiAgICAgICAgICAgIHdpZHRoOiB2YXIoJHt0b2tlbnMucmFpbFRoaWNrbmVzc30pO1xuICAgICAgICAgICAgaGVpZ2h0OiAxMDAlO1xuICAgICAgICB9XG4gICAgfVxuYDtcblxuZXhwb3J0IGNvbnN0IFJhaWxXcmFwID0gc3R5bGVkLmRpdmBcbiAgICBoZWlnaHQ6IDEwMCU7XG5gO1xuXG5leHBvcnQgY29uc3QgRmlsbCA9IHN0eWxlZC5kaXZgXG4gICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgIGhlaWdodDogMTAwJTtcbiAgICB0b3A6IDA7XG4gICAgbGVmdDogMDtcbiAgICBiYWNrZ3JvdW5kOiB2YXIoJHt0b2tlbnMuZmlsbENvbG9yfSk7XG4gICAgd2lkdGg6IDA7XG5gO1xuXG5leHBvcnQgY29uc3QgSW5wdXRIaWRkZW4gPSBzdHlsZWQuaW5wdXRgXG4gICAgJHthcHBseUhpZGRlbigpfTtcbmA7XG4iXX0= */"));
|
29
29
|
export var InputHidden = /*#__PURE__*/_styled("input", {
|
30
30
|
target: "e1nkxkag0",
|
31
31
|
label: "plasma-new-hope__InputHidden"
|
32
|
-
})( /*#__PURE__*/applyHidden(), ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
32
|
+
})( /*#__PURE__*/applyHidden(), ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2xpZGVyL2NvbXBvbmVudHMvU2xpZGVyQmFzZS9TbGlkZXJCYXNlLnN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFtRHVDIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2xpZGVyL2NvbXBvbmVudHMvU2xpZGVyQmFzZS9TbGlkZXJCYXNlLnN0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcblxuaW1wb3J0IHsgYXBwbHlIaWRkZW4gfSBmcm9tICcuLi8uLi8uLi8uLi9taXhpbnMnO1xuaW1wb3J0IHsgY2xhc3NlcywgdG9rZW5zIH0gZnJvbSAnLi4vLi4vU2xpZGVyLnRva2Vucyc7XG5cbmV4cG9ydCBjb25zdCBSYWlsID0gc3R5bGVkLmRpdmBcbiAgICBwb3NpdGlvbjogcmVsYXRpdmU7XG4gICAgdG9wOiA1MCU7XG5cbiAgICBoZWlnaHQ6IHZhcigke3Rva2Vucy5yYWlsVGhpY2tuZXNzfSk7XG5cbiAgICBib3JkZXItcmFkaXVzOiB2YXIoJHt0b2tlbnMucmFpbEJvcmRlclJhZGl1c30pO1xuICAgIGJhY2tncm91bmQtY29sb3I6IHZhcigke3Rva2Vucy5yYWlsQmFja2dyb3VuZ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 +1,9 @@
|
|
1
|
-
|
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 = ["size", "orientation", "stepSize", "onChangeCommitted", "onChange", "position", "min", "max", "bounds", "zIndex", "disabled", "side", "showCurrentValue", "startOffset", "endOffset", "value", "valuePlacement"];
|
2
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 _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; }
|
5
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
6
|
+
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); }
|
3
7
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
4
8
|
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."); }
|
5
9
|
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); }
|
@@ -10,28 +14,23 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
|
|
10
14
|
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; }
|
11
15
|
import React, { useRef, forwardRef } from 'react';
|
12
16
|
import Draggable from 'react-draggable';
|
17
|
+
import { cx } from '../../../../utils';
|
13
18
|
import { getSliderThumbValue, getOffsets } from '../../utils';
|
14
19
|
import { Thumb } from '../Thumb/Thumb';
|
20
|
+
import { classes } from '../../Slider.tokens';
|
15
21
|
import { HandlerStyled, StyledValue } from './Handler.styles';
|
22
|
+
import { computeKeyPressData } from './computeKeyPressData';
|
16
23
|
|
17
24
|
// TODO: PLASMA-1707
|
18
25
|
|
19
|
-
var KeyboardSupport = {
|
20
|
-
PageUp: 33,
|
21
|
-
PageDown: 34,
|
22
|
-
End: 35,
|
23
|
-
Home: 36,
|
24
|
-
ArrowLeft: 37,
|
25
|
-
ArrowUp: 38,
|
26
|
-
ArrowRight: 39,
|
27
|
-
ArrowDown: 40
|
28
|
-
};
|
29
26
|
export var Handler = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
30
|
-
var
|
27
|
+
var size = _ref.size,
|
28
|
+
orientation = _ref.orientation,
|
29
|
+
stepSize = _ref.stepSize,
|
31
30
|
onChangeCommitted = _ref.onChangeCommitted,
|
32
31
|
onChange = _ref.onChange,
|
33
|
-
_ref$
|
34
|
-
|
32
|
+
_ref$position = _ref.position,
|
33
|
+
position = _ref$position === void 0 ? 0 : _ref$position,
|
35
34
|
min = _ref.min,
|
36
35
|
max = _ref.max,
|
37
36
|
_ref$bounds = _ref.bounds,
|
@@ -46,122 +45,88 @@ export var Handler = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
46
45
|
_ref$endOffset = _ref.endOffset,
|
47
46
|
endOffset = _ref$endOffset === void 0 ? 0 : _ref$endOffset,
|
48
47
|
value = _ref.value,
|
48
|
+
valuePlacement = _ref.valuePlacement,
|
49
49
|
rest = _objectWithoutProperties(_ref, _excluded);
|
50
|
+
var isVertical = orientation === 'vertical';
|
50
51
|
var lastOnChangeValue = useRef();
|
51
|
-
var _getOffsets = getOffsets(ref, side),
|
52
|
+
var _getOffsets = getOffsets(ref, side, isVertical),
|
52
53
|
_getOffsets2 = _slicedToArray(_getOffsets, 2),
|
53
|
-
|
54
|
-
|
54
|
+
startClientOffset = _getOffsets2[0],
|
55
|
+
endClientOffset = _getOffsets2[1];
|
55
56
|
var _bounds = _slicedToArray(bounds, 2),
|
56
|
-
|
57
|
-
|
58
|
-
var
|
59
|
-
var
|
60
|
-
var
|
61
|
-
x:
|
62
|
-
y: 0
|
57
|
+
startValueBound = _bounds[0],
|
58
|
+
endValueBound = _bounds[1];
|
59
|
+
var startPositionBound = startValueBound ? (startValueBound - min) * stepSize : null;
|
60
|
+
var endPositionBound = endValueBound ? (endValueBound - min) * stepSize : null;
|
61
|
+
var dragPosition = typeof position === 'number' ? {
|
62
|
+
x: isVertical ? 0 : position,
|
63
|
+
y: isVertical ? position : 0
|
63
64
|
} : undefined;
|
64
65
|
var tabIndex = disabled ? -1 : 0;
|
65
|
-
var computedBounds = {
|
66
|
-
|
67
|
-
right: (rightPositionBound !== null && rightPositionBound !== void 0 ? rightPositionBound : stepSize * (max - min)) - (offsetRight ? stepSize : 0)
|
68
|
-
};
|
69
|
-
var showCurrentValueCondition = showCurrentValue && (xPosition >= startOffset && xPosition <= max * stepSize - endOffset || xPosition === 0 && value !== 0);
|
66
|
+
var computedBounds = _defineProperty(_defineProperty({}, isVertical ? 'top' : 'left', (startPositionBound !== null && startPositionBound !== void 0 ? startPositionBound : 0) - (startClientOffset ? stepSize : 0)), isVertical ? 'bottom' : 'right', (endPositionBound !== null && endPositionBound !== void 0 ? endPositionBound : stepSize * (max - min)) - (endClientOffset ? stepSize : 0));
|
67
|
+
var showCurrentValueCondition = showCurrentValue && (position >= startOffset && position <= max * stepSize - endOffset || position === 0 && value !== 0);
|
70
68
|
var onDrag = function onDrag(_, data) {
|
71
|
-
var newValue = getSliderThumbValue(data.x, stepSize, min, max);
|
69
|
+
var newValue = getSliderThumbValue(isVertical ? data.y : data.x, stepSize, min, max);
|
72
70
|
if (lastOnChangeValue.current !== newValue) {
|
73
71
|
onChange === null || onChange === void 0 || onChange(newValue, data);
|
74
72
|
lastOnChangeValue.current = newValue;
|
75
73
|
}
|
76
74
|
};
|
77
75
|
var onStop = function onStop(_, data) {
|
78
|
-
var newValue = getSliderThumbValue(data.x, stepSize, min, max);
|
76
|
+
var newValue = getSliderThumbValue(isVertical ? data.y : data.x, stepSize, min, max);
|
79
77
|
onChangeCommitted && onChangeCommitted(newValue, data);
|
80
78
|
};
|
81
79
|
var onKeyPress = function onKeyPress(event) {
|
82
80
|
event.persist();
|
83
|
-
var keyCode = event.keyCode,
|
84
|
-
target = event.target;
|
85
|
-
if (!Object.values(KeyboardSupport).includes(keyCode)) {
|
86
|
-
return;
|
87
|
-
}
|
88
|
-
var ArrowUp = KeyboardSupport.ArrowUp,
|
89
|
-
ArrowRight = KeyboardSupport.ArrowRight,
|
90
|
-
ArrowDown = KeyboardSupport.ArrowDown,
|
91
|
-
ArrowLeft = KeyboardSupport.ArrowLeft,
|
92
|
-
Home = KeyboardSupport.Home,
|
93
|
-
End = KeyboardSupport.End,
|
94
|
-
PageDown = KeyboardSupport.PageDown,
|
95
|
-
PageUp = KeyboardSupport.PageUp;
|
96
81
|
var computedMultipleSteps = stepSize * (rest.multipleStepSize / 100 * max);
|
97
|
-
var data = {
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
switch (keyCode) {
|
107
|
-
case ArrowUp:
|
108
|
-
case ArrowRight:
|
109
|
-
data.x = xPosition + stepSize;
|
110
|
-
break;
|
111
|
-
case ArrowDown:
|
112
|
-
case ArrowLeft:
|
113
|
-
data.x = xPosition - stepSize;
|
114
|
-
data.deltaX = -stepSize;
|
115
|
-
break;
|
116
|
-
case PageUp:
|
117
|
-
data.x = xPosition + computedMultipleSteps;
|
118
|
-
data.deltaX = computedMultipleSteps;
|
119
|
-
break;
|
120
|
-
case PageDown:
|
121
|
-
data.x = xPosition - computedMultipleSteps;
|
122
|
-
data.deltaX = -computedMultipleSteps;
|
123
|
-
break;
|
124
|
-
case End:
|
125
|
-
data.x = max * stepSize;
|
126
|
-
break;
|
127
|
-
case Home:
|
128
|
-
data.x = 0;
|
129
|
-
break;
|
130
|
-
default:
|
131
|
-
data.x = 0;
|
82
|
+
var data = computeKeyPressData(event, {
|
83
|
+
isVertical: isVertical,
|
84
|
+
stepSize: stepSize,
|
85
|
+
position: position,
|
86
|
+
max: max,
|
87
|
+
computedMultipleSteps: computedMultipleSteps
|
88
|
+
});
|
89
|
+
if (!data) {
|
90
|
+
return;
|
132
91
|
}
|
133
92
|
var left = computedBounds.left,
|
134
|
-
right = computedBounds.right
|
93
|
+
right = computedBounds.right,
|
94
|
+
top = computedBounds.top,
|
95
|
+
bottom = computedBounds.bottom;
|
135
96
|
|
136
97
|
/*
|
137
98
|
* INFO: Находим значение в диапазоне между указанными левой и правой границами.
|
99
|
+
* Или между верхней и нижней
|
138
100
|
* Необходимо для правильного расчета положения SliderThumb.
|
139
101
|
* см. функция clamp
|
140
102
|
*/
|
141
|
-
var boundedValue = Math.max(Math.min(right, data.x), left);
|
103
|
+
var boundedValue = isVertical ? Math.max(Math.min(bottom, data.y), top) : Math.max(Math.min(right, data.x), left);
|
142
104
|
var computedValue = getSliderThumbValue(boundedValue, stepSize, min, max);
|
143
105
|
lastOnChangeValue.current = computedValue;
|
144
106
|
onChangeCommitted && onChangeCommitted(computedValue, data);
|
145
107
|
};
|
146
108
|
return /*#__PURE__*/React.createElement(Draggable, {
|
147
|
-
axis:
|
109
|
+
axis: isVertical ? 'y' : 'x',
|
148
110
|
bounds: computedBounds,
|
149
|
-
grid: [stepSize, 1],
|
111
|
+
grid: isVertical ? [1, stepSize] : [stepSize, 1],
|
150
112
|
onStop: onStop,
|
151
113
|
onDrag: onDrag,
|
152
|
-
position:
|
114
|
+
position: dragPosition,
|
153
115
|
disabled: disabled
|
154
116
|
}, /*#__PURE__*/React.createElement(HandlerStyled, {
|
155
117
|
ref: ref,
|
156
118
|
style: {
|
157
119
|
zIndex: zIndex
|
158
120
|
},
|
121
|
+
className: cx(isVertical && classes.verticalOrientation, valuePlacement === 'left' && classes.valuePlacementLeft),
|
122
|
+
isLarge: size === 'large',
|
159
123
|
onKeyDown: onKeyPress
|
160
|
-
}, /*#__PURE__*/React.createElement(Thumb, _extends({
|
124
|
+
}, size !== 'none' && /*#__PURE__*/React.createElement(Thumb, _extends({
|
161
125
|
tabIndex: tabIndex,
|
162
126
|
min: min,
|
163
127
|
max: max,
|
164
128
|
value: value,
|
165
|
-
disabled: disabled
|
129
|
+
disabled: disabled,
|
130
|
+
orientation: orientation
|
166
131
|
}, rest)), showCurrentValueCondition && /*#__PURE__*/React.createElement(StyledValue, null, value)));
|
167
132
|
});
|