@salutejs/plasma-new-hope 0.175.0-canary.1452.11541985977.0 → 0.175.0-canary.1500.11549138907.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/components/Badge/Badge.css +2 -0
- package/cjs/components/Badge/Badge.js +17 -4
- package/cjs/components/Badge/Badge.js.map +1 -1
- package/cjs/components/Badge/Badge.tokens.js +2 -1
- package/cjs/components/Badge/Badge.tokens.js.map +1 -1
- package/cjs/components/Badge/variations/_truncate/base.js +9 -0
- package/cjs/components/Badge/variations/_truncate/base.js.map +1 -0
- package/cjs/components/Badge/variations/_truncate/base_nf9u2h.css +1 -0
- package/cjs/components/Slider/Slider.css +13 -15
- package/cjs/components/Slider/Slider.js +2 -11
- package/cjs/components/Slider/Slider.js.map +1 -1
- package/cjs/components/Slider/Slider.tokens.js +17 -23
- 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 +23 -58
- package/cjs/components/Slider/components/Double/Double.js.map +1 -1
- package/cjs/components/Slider/components/Single/Single.css +14 -14
- package/cjs/components/Slider/components/Single/Single.js +33 -64
- 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_1r9f1e0.css +6 -0
- package/cjs/components/Slider/components/SliderBase/SliderBase.css +5 -5
- package/cjs/components/Slider/components/SliderBase/SliderBase.js +12 -31
- 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_9s4eb3.css +5 -0
- package/cjs/components/Slider/ui/Handler/Handler.css +3 -3
- package/cjs/components/Slider/ui/Handler/Handler.js +88 -49
- package/cjs/components/Slider/ui/Handler/Handler.js.map +1 -1
- package/cjs/components/Slider/ui/Handler/Handler.styles.js +7 -17
- package/cjs/components/Slider/ui/Handler/Handler.styles.js.map +1 -1
- package/cjs/components/Slider/ui/Handler/Handler.styles_8crx5z.css +2 -0
- package/cjs/components/Slider/ui/Thumb/Thumb.css +1 -1
- package/cjs/components/Slider/ui/Thumb/Thumb.js +2 -3
- 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_4w4gzn.css +1 -0
- package/cjs/components/Slider/utils/index.js +10 -28
- 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_x642ct.css +1 -0
- package/cjs/components/Tabs/tokens.js +2 -1
- package/cjs/components/Tabs/tokens.js.map +1 -1
- package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.css +7 -5
- package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +14 -3
- package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js.map +1 -1
- package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +1 -1
- package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js.map +1 -1
- package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/{HorizontalTabItem.styles_hfqv5b.css → HorizontalTabItem.styles_1vj7dbl.css} +1 -1
- package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.js +9 -0
- package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.js.map +1 -0
- package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base_1b34xv3.css +1 -0
- package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.css +7 -5
- package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js +14 -3
- package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js.map +1 -1
- package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +1 -1
- package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js.map +1 -1
- package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles_6ssvos.css +5 -0
- package/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.js +9 -0
- package/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.js.map +1 -0
- package/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base_1nwonlh.css +1 -0
- package/cjs/index.css +29 -25
- package/emotion/cjs/components/Badge/Badge.js +22 -4
- package/emotion/cjs/components/Badge/Badge.tokens.js +2 -1
- package/emotion/cjs/components/Badge/variations/_truncate/base.js +10 -0
- package/emotion/cjs/components/Badge/variations/_truncate/tokens.json +1 -0
- package/emotion/cjs/components/Slider/Slider.js +2 -10
- package/emotion/cjs/components/Slider/Slider.template-doc.mdx +0 -26
- package/emotion/cjs/components/Slider/Slider.tokens.js +17 -23
- package/emotion/cjs/components/Slider/components/Double/Double.js +19 -54
- package/emotion/cjs/components/Slider/components/Single/Single.js +33 -64
- package/emotion/cjs/components/Slider/components/Single/Single.styles.js +9 -18
- package/emotion/cjs/components/Slider/components/SliderBase/SliderBase.js +12 -31
- package/emotion/cjs/components/Slider/components/SliderBase/SliderBase.styles.js +10 -10
- package/emotion/cjs/components/Slider/ui/Handler/Handler.js +88 -52
- package/emotion/cjs/components/Slider/ui/Handler/Handler.styles.js +15 -9
- package/emotion/cjs/components/Slider/ui/Thumb/Thumb.js +2 -3
- package/emotion/cjs/components/Slider/ui/Thumb/Thumb.styles.js +3 -3
- package/emotion/cjs/components/Slider/utils/index.js +10 -28
- package/emotion/cjs/components/Slider/variations/_view/base.js +1 -2
- package/emotion/cjs/components/Tabs/tokens.js +2 -1
- package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +19 -3
- package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +6 -6
- package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.js +10 -0
- package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/tokens.json +1 -0
- package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js +19 -3
- package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +6 -6
- package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.js +10 -0
- package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/tokens.json +1 -0
- package/emotion/cjs/examples/plasma_b2c/components/Badge/Badge.config.js +17 -14
- package/emotion/cjs/examples/plasma_b2c/components/Badge/Badge.stories.tsx +5 -1
- package/emotion/cjs/examples/plasma_b2c/components/Slider/Slider.config.js +7 -7
- package/emotion/cjs/examples/plasma_b2c/components/Slider/Slider.stories.tsx +16 -98
- package/emotion/cjs/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +49 -16
- package/emotion/cjs/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +18 -15
- package/emotion/cjs/examples/plasma_b2c/components/Tabs/vertical/VerticalTabItem.config.js +9 -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 +15 -98
- package/emotion/es/components/Badge/Badge.js +23 -4
- package/emotion/es/components/Badge/Badge.tokens.js +2 -1
- package/emotion/es/components/Badge/variations/_truncate/base.js +4 -0
- package/emotion/es/components/Badge/variations/_truncate/tokens.json +1 -0
- package/emotion/es/components/Slider/Slider.js +2 -11
- package/emotion/es/components/Slider/Slider.template-doc.mdx +0 -26
- package/emotion/es/components/Slider/Slider.tokens.js +17 -23
- package/emotion/es/components/Slider/components/Double/Double.js +19 -54
- package/emotion/es/components/Slider/components/Single/Single.js +34 -65
- package/emotion/es/components/Slider/components/Single/Single.styles.js +8 -17
- package/emotion/es/components/Slider/components/SliderBase/SliderBase.js +12 -31
- package/emotion/es/components/Slider/components/SliderBase/SliderBase.styles.js +11 -11
- package/emotion/es/components/Slider/ui/Handler/Handler.js +86 -51
- package/emotion/es/components/Slider/ui/Handler/Handler.styles.js +16 -10
- package/emotion/es/components/Slider/ui/Thumb/Thumb.js +2 -3
- package/emotion/es/components/Slider/ui/Thumb/Thumb.styles.js +3 -3
- package/emotion/es/components/Slider/utils/index.js +10 -28
- package/emotion/es/components/Slider/variations/_view/base.js +1 -2
- package/emotion/es/components/Tabs/tokens.js +2 -1
- package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +20 -3
- package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +6 -6
- package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.js +4 -0
- package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/tokens.json +1 -0
- package/emotion/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js +20 -3
- package/emotion/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +6 -6
- package/emotion/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.js +4 -0
- package/emotion/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/tokens.json +1 -0
- package/emotion/es/examples/plasma_b2c/components/Badge/Badge.config.js +17 -14
- package/emotion/es/examples/plasma_b2c/components/Badge/Badge.stories.tsx +5 -1
- package/emotion/es/examples/plasma_b2c/components/Slider/Slider.config.js +7 -7
- package/emotion/es/examples/plasma_b2c/components/Slider/Slider.stories.tsx +16 -98
- package/emotion/es/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +49 -16
- package/emotion/es/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +18 -15
- package/emotion/es/examples/plasma_b2c/components/Tabs/vertical/VerticalTabItem.config.js +9 -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 +15 -98
- package/es/components/Badge/Badge.css +2 -0
- package/es/components/Badge/Badge.js +18 -5
- package/es/components/Badge/Badge.js.map +1 -1
- package/es/components/Badge/Badge.tokens.js +2 -1
- package/es/components/Badge/Badge.tokens.js.map +1 -1
- package/es/components/Badge/variations/_truncate/base.js +5 -0
- package/es/components/Badge/variations/_truncate/base.js.map +1 -0
- package/es/components/Badge/variations/_truncate/base_nf9u2h.css +1 -0
- package/es/components/Slider/Slider.css +13 -15
- package/es/components/Slider/Slider.js +2 -11
- package/es/components/Slider/Slider.js.map +1 -1
- package/es/components/Slider/Slider.tokens.js +17 -23
- 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 +19 -54
- package/es/components/Slider/components/Double/Double.js.map +1 -1
- package/es/components/Slider/components/Single/Single.css +14 -14
- package/es/components/Slider/components/Single/Single.js +34 -65
- 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_1r9f1e0.css +6 -0
- package/es/components/Slider/components/SliderBase/SliderBase.css +5 -5
- package/es/components/Slider/components/SliderBase/SliderBase.js +12 -31
- 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_9s4eb3.css +5 -0
- package/es/components/Slider/ui/Handler/Handler.css +3 -3
- package/es/components/Slider/ui/Handler/Handler.js +87 -48
- package/es/components/Slider/ui/Handler/Handler.js.map +1 -1
- package/es/components/Slider/ui/Handler/Handler.styles.js +7 -17
- package/es/components/Slider/ui/Handler/Handler.styles.js.map +1 -1
- package/es/components/Slider/ui/Handler/Handler.styles_8crx5z.css +2 -0
- package/es/components/Slider/ui/Thumb/Thumb.css +1 -1
- package/es/components/Slider/ui/Thumb/Thumb.js +2 -3
- 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_4w4gzn.css +1 -0
- package/es/components/Slider/utils/index.js +10 -28
- 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_x642ct.css +1 -0
- package/es/components/Tabs/tokens.js +2 -1
- package/es/components/Tabs/tokens.js.map +1 -1
- package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.css +7 -5
- package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +15 -4
- package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js.map +1 -1
- package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +1 -1
- package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js.map +1 -1
- package/es/components/Tabs/ui/horizontal/HorizontalTabItem/{HorizontalTabItem.styles_hfqv5b.css → HorizontalTabItem.styles_1vj7dbl.css} +1 -1
- package/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.js +5 -0
- package/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.js.map +1 -0
- package/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base_1b34xv3.css +1 -0
- package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.css +7 -5
- package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js +15 -4
- package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js.map +1 -1
- package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +1 -1
- package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js.map +1 -1
- package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles_6ssvos.css +5 -0
- package/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.js +5 -0
- package/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.js.map +1 -0
- package/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base_1nwonlh.css +1 -0
- package/es/index.css +29 -25
- package/package.json +2 -2
- package/styled-components/cjs/components/Badge/Badge.js +22 -4
- package/styled-components/cjs/components/Badge/Badge.tokens.js +2 -1
- package/styled-components/cjs/components/Badge/variations/_truncate/base.js +10 -0
- package/styled-components/cjs/components/Badge/variations/_truncate/tokens.json +1 -0
- package/styled-components/cjs/components/Slider/Slider.js +2 -10
- package/styled-components/cjs/components/Slider/Slider.template-doc.mdx +0 -26
- package/styled-components/cjs/components/Slider/Slider.tokens.js +17 -23
- package/styled-components/cjs/components/Slider/components/Double/Double.js +19 -54
- package/styled-components/cjs/components/Slider/components/Single/Single.js +33 -64
- package/styled-components/cjs/components/Slider/components/Single/Single.styles.js +6 -6
- package/styled-components/cjs/components/Slider/components/SliderBase/SliderBase.js +12 -31
- package/styled-components/cjs/components/Slider/components/SliderBase/SliderBase.styles.js +6 -6
- package/styled-components/cjs/components/Slider/ui/Handler/Handler.js +88 -52
- package/styled-components/cjs/components/Slider/ui/Handler/Handler.styles.js +4 -7
- package/styled-components/cjs/components/Slider/ui/Thumb/Thumb.js +2 -3
- package/styled-components/cjs/components/Slider/ui/Thumb/Thumb.styles.js +2 -2
- package/styled-components/cjs/components/Slider/utils/index.js +10 -28
- package/styled-components/cjs/components/Slider/variations/_view/base.js +1 -2
- package/styled-components/cjs/components/Tabs/tokens.js +2 -1
- package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +19 -3
- package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +1 -1
- package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.js +10 -0
- package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/tokens.json +1 -0
- package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js +19 -3
- package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +2 -2
- package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.js +10 -0
- package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/tokens.json +1 -0
- package/styled-components/cjs/examples/plasma_b2c/components/Badge/Badge.config.js +3 -0
- package/styled-components/cjs/examples/plasma_b2c/components/Badge/Badge.stories.tsx +5 -1
- 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 +16 -98
- package/styled-components/cjs/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +49 -16
- package/styled-components/cjs/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +3 -0
- package/styled-components/cjs/examples/plasma_b2c/components/Tabs/vertical/VerticalTabItem.config.js +3 -0
- 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 +15 -98
- package/styled-components/es/components/Badge/Badge.js +23 -4
- package/styled-components/es/components/Badge/Badge.tokens.js +2 -1
- package/styled-components/es/components/Badge/variations/_truncate/base.js +4 -0
- package/styled-components/es/components/Badge/variations/_truncate/tokens.json +1 -0
- package/styled-components/es/components/Slider/Slider.js +2 -11
- package/styled-components/es/components/Slider/Slider.template-doc.mdx +0 -26
- package/styled-components/es/components/Slider/Slider.tokens.js +17 -23
- package/styled-components/es/components/Slider/components/Double/Double.js +19 -54
- package/styled-components/es/components/Slider/components/Single/Single.js +34 -65
- package/styled-components/es/components/Slider/components/Single/Single.styles.js +5 -5
- package/styled-components/es/components/Slider/components/SliderBase/SliderBase.js +12 -31
- package/styled-components/es/components/Slider/components/SliderBase/SliderBase.styles.js +7 -7
- package/styled-components/es/components/Slider/ui/Handler/Handler.js +86 -51
- package/styled-components/es/components/Slider/ui/Handler/Handler.styles.js +5 -8
- package/styled-components/es/components/Slider/ui/Thumb/Thumb.js +2 -3
- package/styled-components/es/components/Slider/ui/Thumb/Thumb.styles.js +2 -2
- package/styled-components/es/components/Slider/utils/index.js +10 -28
- package/styled-components/es/components/Slider/variations/_view/base.js +1 -2
- package/styled-components/es/components/Tabs/tokens.js +2 -1
- package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +20 -3
- package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +1 -1
- package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.js +4 -0
- package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/tokens.json +1 -0
- package/styled-components/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js +20 -3
- package/styled-components/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +2 -2
- package/styled-components/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.js +4 -0
- package/styled-components/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/tokens.json +1 -0
- package/styled-components/es/examples/plasma_b2c/components/Badge/Badge.config.js +3 -0
- package/styled-components/es/examples/plasma_b2c/components/Badge/Badge.stories.tsx +5 -1
- 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 +16 -98
- package/styled-components/es/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +49 -16
- package/styled-components/es/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +3 -0
- package/styled-components/es/examples/plasma_b2c/components/Tabs/vertical/VerticalTabItem.config.js +3 -0
- 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 +15 -98
- package/types/components/Badge/Badge.d.ts +10 -2
- package/types/components/Badge/Badge.d.ts.map +1 -1
- package/types/components/Badge/Badge.tokens.d.ts +1 -0
- package/types/components/Badge/Badge.tokens.d.ts.map +1 -1
- package/types/components/Badge/Badge.types.d.ts +5 -0
- package/types/components/Badge/Badge.types.d.ts.map +1 -1
- package/types/components/Badge/variations/_truncate/base.d.ts +2 -0
- package/types/components/Badge/variations/_truncate/base.d.ts.map +1 -0
- package/types/components/Slider/Slider.d.ts.map +1 -1
- package/types/components/Slider/Slider.tokens.d.ts +16 -22
- 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 +0 -1
- 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 +7 -79
- 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 +0 -6
- 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 +2 -6
- package/types/components/Slider/ui/Handler/Handler.styles.d.ts.map +1 -1
- package/types/components/Slider/ui/Handler/Handler.types.d.ts +1 -5
- package/types/components/Slider/ui/Handler/Handler.types.d.ts.map +1 -1
- 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 +0 -1
- package/types/components/Slider/ui/Thumb/Thumb.types.d.ts.map +1 -1
- package/types/components/Slider/utils/index.d.ts +8 -26
- 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 +5 -0
- package/types/components/Tabs/TabItem.types.d.ts.map +1 -1
- package/types/components/Tabs/tokens.d.ts +1 -0
- package/types/components/Tabs/tokens.d.ts.map +1 -1
- package/types/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.d.ts +9 -2
- package/types/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.d.ts.map +1 -1
- package/types/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.d.ts.map +1 -1
- package/types/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.d.ts +2 -0
- package/types/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.d.ts.map +1 -0
- package/types/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.d.ts +9 -2
- package/types/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.d.ts.map +1 -1
- package/types/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.d.ts.map +1 -1
- package/types/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.d.ts +2 -0
- package/types/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.d.ts.map +1 -0
- package/types/examples/plasma_b2c/components/Badge/Badge.config.d.ts +3 -0
- package/types/examples/plasma_b2c/components/Badge/Badge.config.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Badge/Badge.d.ts +6 -0
- package/types/examples/plasma_b2c/components/Badge/Badge.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 +2 -80
- package/types/examples/plasma_b2c/components/Slider/Slider.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Tabs/TabItem.d.ts +6 -0
- package/types/examples/plasma_b2c/components/Tabs/TabItem.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.d.ts +3 -0
- package/types/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Tabs/vertical/VerticalTabItem.config.d.ts +3 -0
- package/types/examples/plasma_b2c/components/Tabs/vertical/VerticalTabItem.config.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Badge/Badge.d.ts +3 -0
- package/types/examples/plasma_web/components/Badge/Badge.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 +2 -80
- package/types/examples/plasma_web/components/Slider/Slider.d.ts.map +1 -1
- package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +0 -98
- package/cjs/components/Slider/components/Single/Single.styles_1h7n2s2.css +0 -6
- package/cjs/components/Slider/components/SliderBase/SliderBase.styles_1qt1224.css +0 -5
- package/cjs/components/Slider/ui/Handler/Handler.styles_irtcgm.css +0 -2
- package/cjs/components/Slider/ui/Handler/computeKeyPressData.js +0 -122
- package/cjs/components/Slider/ui/Handler/computeKeyPressData.js.map +0 -1
- package/cjs/components/Slider/ui/Thumb/Thumb.styles_uyn20e.css +0 -1
- package/cjs/components/Slider/variations/_view/base_1s3f6q8.css +0 -1
- package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles_16d3lah.css +0 -5
- package/emotion/cjs/components/Slider/ui/Handler/computeKeyPressData.js +0 -121
- package/emotion/es/components/Slider/ui/Handler/computeKeyPressData.js +0 -115
- package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +0 -98
- package/es/components/Slider/components/Single/Single.styles_1h7n2s2.css +0 -6
- package/es/components/Slider/components/SliderBase/SliderBase.styles_1qt1224.css +0 -5
- package/es/components/Slider/ui/Handler/Handler.styles_irtcgm.css +0 -2
- package/es/components/Slider/ui/Handler/computeKeyPressData.js +0 -118
- package/es/components/Slider/ui/Handler/computeKeyPressData.js.map +0 -1
- package/es/components/Slider/ui/Thumb/Thumb.styles_uyn20e.css +0 -1
- package/es/components/Slider/variations/_view/base_1s3f6q8.css +0 -1
- package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles_16d3lah.css +0 -5
- package/styled-components/cjs/components/Slider/ui/Handler/computeKeyPressData.js +0 -121
- package/styled-components/es/components/Slider/ui/Handler/computeKeyPressData.js +0 -115
- package/types/components/Slider/ui/Handler/computeKeyPressData.d.ts +0 -12
- package/types/components/Slider/ui/Handler/computeKeyPressData.d.ts.map +0 -1
@@ -1,5 +1,5 @@
|
|
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 = ["min", "max", "value", "disabled", "onChangeCommitted", "onChange", "ariaLabel", "label", "labelContentLeft", "
|
2
|
+
var _excluded = ["min", "max", "value", "disabled", "onChangeCommitted", "onChange", "ariaLabel", "label", "labelContentLeft", "showRangeValues", "showCurrentValue", "hideMinValueDiff", "hideMaxValueDiff", "labelPlacement", "rangeValuesPlacement", "multipleStepSize", "defaultValue", "size", "name"];
|
3
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
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
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; }
|
@@ -21,7 +21,7 @@ import { sizeData } from '../../utils';
|
|
21
21
|
import { cx, isNumber, noop } from '../../../../utils';
|
22
22
|
import { classes } from '../../Slider.tokens';
|
23
23
|
import { InputHidden } from '../SliderBase/SliderBase.styles';
|
24
|
-
import { Label,
|
24
|
+
import { Label, LabelContentLeft, LabelWrapper, SingleWrapper, SliderBaseWrapper, StyledRangeValue } from './Single.styles';
|
25
25
|
export var SingleSlider = function SingleSlider(_ref) {
|
26
26
|
var _ref2;
|
27
27
|
var min = _ref.min,
|
@@ -33,35 +33,23 @@ export var SingleSlider = function SingleSlider(_ref) {
|
|
33
33
|
ariaLabel = _ref.ariaLabel,
|
34
34
|
label = _ref.label,
|
35
35
|
labelContentLeft = _ref.labelContentLeft,
|
36
|
-
labelContent = _ref.labelContent,
|
37
|
-
_ref$sliderAlign = _ref.sliderAlign,
|
38
|
-
sliderAlign = _ref$sliderAlign === void 0 ? 'left' : _ref$sliderAlign,
|
39
|
-
showScale = _ref.showScale,
|
40
36
|
showRangeValues = _ref.showRangeValues,
|
41
37
|
showCurrentValue = _ref.showCurrentValue,
|
42
38
|
hideMinValueDiff = _ref.hideMinValueDiff,
|
43
39
|
hideMaxValueDiff = _ref.hideMaxValueDiff,
|
44
40
|
_ref$labelPlacement = _ref.labelPlacement,
|
45
|
-
labelPlacement = _ref$labelPlacement === void 0 ? '
|
46
|
-
|
47
|
-
_ref$
|
48
|
-
scaleAlign = _ref$scaleAlign === void 0 ? 'bottom' : _ref$scaleAlign,
|
41
|
+
labelPlacement = _ref$labelPlacement === void 0 ? 'outer' : _ref$labelPlacement,
|
42
|
+
_ref$rangeValuesPlace = _ref.rangeValuesPlacement,
|
43
|
+
rangeValuesPlacement = _ref$rangeValuesPlace === void 0 ? 'outer' : _ref$rangeValuesPlace,
|
49
44
|
_ref$multipleStepSize = _ref.multipleStepSize,
|
50
45
|
multipleStepSize = _ref$multipleStepSize === void 0 ? 10 : _ref$multipleStepSize,
|
51
46
|
defaultValue = _ref.defaultValue,
|
52
47
|
_ref$size = _ref.size,
|
53
48
|
size = _ref$size === void 0 ? 'm' : _ref$size,
|
54
49
|
name = _ref.name,
|
55
|
-
_ref$pointerSize = _ref.pointerSize,
|
56
|
-
pointerSize = _ref$pointerSize === void 0 ? 'small' : _ref$pointerSize,
|
57
|
-
_ref$orientation = _ref.orientation,
|
58
|
-
orientation = _ref$orientation === void 0 ? 'horizontal' : _ref$orientation,
|
59
|
-
reversed = _ref.reversed,
|
60
|
-
labelReversed = _ref.labelReversed,
|
61
50
|
rest = _objectWithoutProperties(_ref, _excluded);
|
62
|
-
var isVertical = orientation === 'vertical';
|
63
51
|
var _useState = useState({
|
64
|
-
|
52
|
+
xHandle: 0,
|
65
53
|
stepSize: 0,
|
66
54
|
railFillWidth: 0
|
67
55
|
}),
|
@@ -77,28 +65,23 @@ export var SingleSlider = function SingleSlider(_ref) {
|
|
77
65
|
_useState6 = _slicedToArray(_useState5, 2),
|
78
66
|
endOffset = _useState6[0],
|
79
67
|
setEndOffset = _useState6[1];
|
80
|
-
var
|
81
|
-
var _useState7 = useState(innerValue),
|
68
|
+
var _useState7 = useState((_ref2 = value !== null && value !== void 0 ? value : defaultValue) !== null && _ref2 !== void 0 ? _ref2 : min),
|
82
69
|
_useState8 = _slicedToArray(_useState7, 2),
|
83
70
|
dragValue = _useState8[0],
|
84
71
|
setDragValue = _useState8[1];
|
85
72
|
var stepSize = state.stepSize;
|
86
|
-
var
|
87
|
-
var
|
88
|
-
var
|
89
|
-
var rangeValuesPlacement = rangeValuesPlacementOld === 'outer' || scaleAlign === 'bottom' ? 'outer' : 'inner';
|
90
|
-
var scaleAlignClass = rangeValuesPlacement === 'outer' ? classes.rangeValuesPlacementOuter : classes.rangeValuesPlacementInner;
|
73
|
+
var hasLabelContent = label || labelContentLeft;
|
74
|
+
var labelPlacementClass = labelPlacement === 'outer' ? classes.labelPlacementOuter : classes.labelPlacementInner;
|
75
|
+
var rangeValuesPlacementClass = rangeValuesPlacement === 'outer' ? classes.rangeValuesPlacementOuter : classes.rangeValuesPlacementInner;
|
91
76
|
var hideMinValueDiffClass = hideMinValueDiff && dragValue - min <= hideMinValueDiff ? classes.hideMinValue : '';
|
92
77
|
var hideMaxValueDiffClass = hideMaxValueDiff && max - dragValue <= hideMaxValueDiff ? classes.hideMaxValue : '';
|
93
|
-
var verticalOrientationClass = orientation === 'vertical' ? classes.verticalOrientation : '';
|
94
78
|
var startLabelRef = useRef(null);
|
95
79
|
var endLabelRef = useRef(null);
|
96
80
|
var activeFirstValue = dragValue === min ? classes.activeRangeValue : undefined;
|
97
81
|
var activeSecondValue = dragValue === max ? classes.activeRangeValue : undefined;
|
98
82
|
useEffect(function () {
|
99
|
-
var
|
100
|
-
|
101
|
-
if (!isVertical && rangeValuesPlacement === 'outer') {
|
83
|
+
var localValue = Math.min(Math.max(dragValue, min), max) - min;
|
84
|
+
if (rangeValuesPlacement === 'outer') {
|
102
85
|
var _startLabelRef$curren, _endLabelRef$current;
|
103
86
|
var startWidth = (_startLabelRef$curren = startLabelRef.current) === null || _startLabelRef$curren === void 0 ? void 0 : _startLabelRef$curren.offsetWidth;
|
104
87
|
if (isNumber(startWidth)) {
|
@@ -108,35 +91,30 @@ export var SingleSlider = function SingleSlider(_ref) {
|
|
108
91
|
if (isNumber(endWidth)) {
|
109
92
|
setEndOffset(Number(endWidth));
|
110
93
|
}
|
111
|
-
} else if (isVertical && innerShowScale && sliderAlign !== 'center') {
|
112
|
-
setStartOffset(12);
|
113
|
-
setEndOffset(12);
|
114
94
|
} else {
|
115
95
|
setStartOffset(1);
|
116
96
|
setEndOffset(1);
|
117
97
|
}
|
118
98
|
setState(function (prevState) {
|
119
99
|
return _objectSpread(_objectSpread({}, prevState), {}, {
|
120
|
-
|
100
|
+
xHandle: stepSize * localValue,
|
121
101
|
railFillWidth: stepSize * localValue
|
122
102
|
});
|
123
103
|
});
|
124
|
-
}, [dragValue,
|
125
|
-
// для перерасчета размеров
|
126
|
-
sliderAlign, size]);
|
104
|
+
}, [dragValue, labelPlacement, stepSize, rangeValuesPlacement, min, max, setStartOffset, setEndOffset]);
|
127
105
|
var setStepSize = useCallback(function (newStepSize) {
|
128
106
|
setState(function (prevState) {
|
129
107
|
return _objectSpread(_objectSpread({}, prevState), {}, {
|
130
108
|
stepSize: newStepSize
|
131
109
|
});
|
132
110
|
});
|
133
|
-
}, []);
|
111
|
+
}, [setState]);
|
134
112
|
var onHandleChange = function onHandleChange(handleValue, data) {
|
135
|
-
var
|
136
|
-
var
|
113
|
+
var newHandleXPosition = data.x;
|
114
|
+
var newValue = Math.round(handleValue);
|
137
115
|
setState(function (prevState) {
|
138
116
|
return _objectSpread(_objectSpread({}, prevState), {}, {
|
139
|
-
railFillWidth:
|
117
|
+
railFillWidth: newHandleXPosition
|
140
118
|
});
|
141
119
|
});
|
142
120
|
if (onChange) {
|
@@ -154,49 +132,41 @@ export var SingleSlider = function SingleSlider(_ref) {
|
|
154
132
|
}
|
155
133
|
setDragValue(newValue);
|
156
134
|
};
|
157
|
-
var onHandleChangeCommitted =
|
158
|
-
var newValue = Math.round(
|
135
|
+
var onHandleChangeCommitted = function onHandleChangeCommitted(handleValue, data) {
|
136
|
+
var newValue = Math.round(handleValue);
|
159
137
|
if (onChangeCommitted) {
|
160
138
|
onChangeCommitted(newValue);
|
161
139
|
}
|
162
140
|
setState(function (prevState) {
|
163
141
|
return _objectSpread(_objectSpread({}, prevState), {}, {
|
164
|
-
|
165
|
-
railFillWidth:
|
142
|
+
xHandle: data.lastX,
|
143
|
+
railFillWidth: data.lastX
|
166
144
|
});
|
167
145
|
});
|
168
146
|
setDragValue(newValue);
|
169
|
-
}
|
170
|
-
var labelVerticalPlacement = reversed ? 'bottom' : 'top';
|
171
|
-
var valuePlacement = sliderAlign === 'right' ? 'left' : 'right';
|
172
|
-
var settings = sizeData[size][pointerSize === 'large' ? 'large' : 'small'];
|
147
|
+
};
|
173
148
|
return /*#__PURE__*/React.createElement(SingleWrapper, {
|
174
|
-
className:
|
175
|
-
}, hasLabelContent && /*#__PURE__*/React.createElement(LabelWrapper, null,
|
176
|
-
className:
|
177
|
-
},
|
149
|
+
className: labelPlacementClass
|
150
|
+
}, hasLabelContent && /*#__PURE__*/React.createElement(LabelWrapper, null, labelContentLeft && /*#__PURE__*/React.createElement(LabelContentLeft, null, labelContentLeft), label && /*#__PURE__*/React.createElement(Label, null, label)), /*#__PURE__*/React.createElement(SliderBaseWrapper, {
|
151
|
+
className: rangeValuesPlacementClass
|
152
|
+
}, showRangeValues && /*#__PURE__*/React.createElement(StyledRangeValue, {
|
178
153
|
ref: startLabelRef,
|
179
154
|
className: cx(hideMinValueDiffClass, activeFirstValue)
|
180
|
-
},
|
155
|
+
}, min), /*#__PURE__*/React.createElement(SliderBase, _extends({
|
181
156
|
min: min,
|
182
157
|
max: max,
|
183
158
|
disabled: disabled,
|
184
|
-
size: size,
|
185
|
-
sliderAlign: sliderAlign,
|
186
159
|
setStepSize: setStepSize,
|
187
160
|
onChange: onHandleChangeCommitted,
|
188
161
|
railFillWidth: state.railFillWidth,
|
189
|
-
settings:
|
162
|
+
settings: sizeData[size],
|
190
163
|
labelPlacement: labelPlacement,
|
191
|
-
rangeValuesPlacement: rangeValuesPlacement
|
192
|
-
orientation: orientation
|
164
|
+
rangeValuesPlacement: rangeValuesPlacement
|
193
165
|
}, rest), /*#__PURE__*/React.createElement(Handler, {
|
194
|
-
size: pointerSize,
|
195
|
-
orientation: orientation,
|
196
166
|
stepSize: state.stepSize,
|
197
167
|
onChangeCommitted: onHandleChangeCommitted,
|
198
168
|
onChange: onHandleChange,
|
199
|
-
|
169
|
+
xPosition: state.xHandle,
|
200
170
|
min: min,
|
201
171
|
max: max,
|
202
172
|
startOffset: startOffset,
|
@@ -205,12 +175,11 @@ export var SingleSlider = function SingleSlider(_ref) {
|
|
205
175
|
disabled: disabled,
|
206
176
|
ariaLabel: ariaLabel,
|
207
177
|
multipleStepSize: multipleStepSize,
|
208
|
-
showCurrentValue: showCurrentValue
|
209
|
-
|
210
|
-
})), innerShowScale && /*#__PURE__*/React.createElement(StyledRangeValue, {
|
178
|
+
showCurrentValue: showCurrentValue
|
179
|
+
})), showRangeValues && /*#__PURE__*/React.createElement(StyledRangeValue, {
|
211
180
|
ref: endLabelRef,
|
212
181
|
className: cx(classes.maxRangeValue, hideMaxValueDiffClass, activeSecondValue)
|
213
|
-
},
|
182
|
+
}, max)), /*#__PURE__*/React.createElement(InputHidden, _extends({
|
214
183
|
name: name,
|
215
184
|
type: "number",
|
216
185
|
datatype: "slider-single",
|
@@ -1,35 +1,26 @@
|
|
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)."; }
|
3
2
|
import { classes, tokens } from '../../Slider.tokens';
|
4
3
|
export var LabelWrapper = /*#__PURE__*/_styled("div", {
|
5
4
|
target: "e75awbu5",
|
6
5
|
label: "plasma-new-hope__LabelWrapper"
|
7
|
-
})("color:var(", tokens.labelColor, ");display:flex;gap:var(", tokens.labelWrapperGap, ");" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
8
|
-
export var
|
6
|
+
})("color:var(", tokens.labelColor, ");display:flex;gap:var(", tokens.labelWrapperGap, ");" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2xpZGVyL2NvbXBvbmVudHMvU2luZ2xlL1NpbmdsZS5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBSXNDIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2xpZGVyL2NvbXBvbmVudHMvU2luZ2xlL1NpbmdsZS5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IGNsYXNzZXMsIHRva2VucyB9IGZyb20gJy4uLy4uL1NsaWRlci50b2tlbnMnO1xuXG5leHBvcnQgY29uc3QgTGFiZWxXcmFwcGVyID0gc3R5bGVkLmRpdmBcbiAgICBjb2xvcjogdmFyKCR7dG9rZW5zLmxhYmVsQ29sb3J9KTtcblxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgZ2FwOiB2YXIoJHt0b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ICAgbWFyZ2luLXJpZ2h0OiB2YXIoJHt0b2tlbnMucmFuZ2VNaW5WYWx1ZU1hcmdpbn0pO1xuXG4gICAgICAgICAgICAmLiR7Y2xhc3Nlcy5tYXhSYW5nZVZhbHVlfSB7XG4gICAgICAgICAgICAgICAgbWFyZ2luLXJpZ2h0OiAwO1xuICAgICAgICAgICAgICAgIG1hcmdpbi1sZWZ0OiB2YXIoJHt0b2tlbnMucmFuZ2VNYXhWYWx1ZU1hcmdpbn0pO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxuYDtcblxuZXhwb3J0IGNvbnN0IFNpbmdsZVdyYXBwZXIgPSBzdHlsZWQuZGl2YFxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgb3BhY2l0eTogdmFyKCR7dG9rZW5zLmRpc2FibGVkT3BhY2l0eX0pO1xuXG4gICAgJi4ke2NsYXNzZXMubGFiZWxQbGFjZW1lbnRPdXRlcn0ge1xuICAgICAgICBmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xuXG4gICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICBtYXJnaW4tYm90dG9tOiB2YXIoJHt0b2tlbnMubGFiZWxXcmFwcGVyTWFyZ2luQm90dG9tfSk7XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAmLiR7Y2xhc3Nlcy5sYWJlbFBsYWNlbWVudElubmVyfSB7XG4gICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICBtYXJnaW4tcmlnaHQ6IHZhcigke3Rva2Vucy5sYWJlbFdyYXBwZXJNYXJnaW5SaWdodH0pO1xuICAgICAgICB9XG4gICAgfVxuYDtcbiJdfQ== */"));
|
7
|
+
export var LabelContentLeft = /*#__PURE__*/_styled("div", {
|
9
8
|
target: "e75awbu4",
|
10
|
-
label: "plasma-new-
|
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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2xpZGVyL2NvbXBvbmVudHMvU2luZ2xlL1NpbmdsZS5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBV3NDIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2xpZGVyL2NvbXBvbmVudHMvU2luZ2xlL1NpbmdsZS5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IGNsYXNzZXMsIHRva2VucyB9IGZyb20gJy4uLy4uL1NsaWRlci50b2tlbnMnO1xuXG5leHBvcnQgY29uc3QgTGFiZWxXcmFwcGVyID0gc3R5bGVkLmRpdmBcbiAgICBjb2xvcjogdmFyKCR7dG9rZW5zLmxhYmVsQ29sb3J9KTtcblxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgZ2FwOiB2YXIoJHt0b2tlbnMubGFiZWxXcmFwcGVyR2FwfSk7XG5gO1xuXG5leHBvcnQgY29uc3QgTGFiZWxDb250ZW50ID0gc3R5bGVkLmRpdmBcbiAgICBkaXNwbGF5OiBpbmxpbmUtZmxleDtcbmA7XG5cbmV4cG9ydCBjb25zdCBMYWJlbCA9IHN0eWxlZC5sYWJlbGBcbiAgICBmb250LWZhbWlseTogdmFyKCR7dG9rZW5zLmxhYmVsRm9udEZhbWlseX0pO1xuICAgIGZvbnQtc2l6ZTogdmFyKCR7dG9rZW5zLmxhYmVsRm9udFNpemV9KTtcbiAgICBmb250LXN0eWxlOiB2YXIoJHt0b2tlb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ICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICAmLiR7Y2xhc3Nlcy5sYWJlbENvbnRlbnRSZXZlcnNlZH0ge1xuICAgICAgICAgICAgICAgICAgICAke0xhYmVsV3JhcHBlcn0ge1xuICAgICAgICAgICAgICAgICAgICAgICAgZmxleC1kaXJlY3Rpb246IGNvbHVtbi1yZXZlcnNlO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAmLiR7Y2xhc3Nlcy5sYWJlbENvbnRlbnRSZXZlcnNlZH0ge1xuICAgICAgICAgICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICAgICAgICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgJHtMYWJlbFdyYXBwZXJ9IHtcbiAgICAgICAgICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gICAgICAgIH1cblxuICAgICAgICAke1NsaWRlckJhc2VXcmFwcGVyfSB7XG4gICAgICAgICAgICB3aWR0aDogdmFyKCR7dG9rZW5zLnNpemV9KTtcbiAgICAgICAgfVxuXG4gICAgICAgICYuJHtjbGFzc2VzLmxhYmVsUGxhY2VtZW50SW5uZXJ9IHtcbiAgICAgICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICAgICAgbWFyZ2luLXJpZ2h0OiAwO1xuICAgICAgICAgICAgICAgIG1hcmdpbi1ib3R0b206IHZhcigke3Rva2Vucy5sYWJlbFdyYXBwZXJWZXJ0aWNhbE1hcmdpbn0pO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgJi4ke2NsYXNzZXMubGFiZWxBbGlnbkxlZnR9IHtcbiAgICAgICAgICAgIGFsaWduLWl0ZW1zOiBmbGV4LWVuZDtcblxuICAgICAgICAgICAgJHt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WYWx1ZX0ge1xuICAgICAgICAgICAgICAgIHBvc2l0aW9uOiBzdGF0aWM7XG4gICAgICAgICAgICAgICAgYm90dG9tOiAwO1xuICAgICAgICAgICAgICAgIGxlZnQ6IDA7XG4gICAgICAgICAgICAgICAgbWFyZ2luLWJvdHRvbTogdmFyKCR7dG9rZW5zLnJhbmdlVmFsdWVWZXJ0aWNhbE1hcmdpbn0pO1xuXG4gICAgICAgICAgICAgICAgJi4ke2NsYXNzZXMubWF4UmFuZ2VWYWx1ZX0ge1xuICAgICAgICAgICAgICAgICAgICBsZWZ0OiAwO1xuICAgICAgICAgICAgICAgICAgICByaWdodDogMDtcbiAgICAgICAgICAgICAgICAgICAgYm90dG9tOiAwO1xuICAgICAgICAgICAgICAgICAgICBtYXJnaW4tdG9wOiB2YXIoJHt0b2tlbnMucmFuZ2VWYWx1ZVZlcnRpY2FsTWFyZ2lufSk7XG4gICAgICAgICAgICAgICAgICAgIG1hcmdpbi1ib3R0b206IDA7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgJi4ke2NsYXNzZXMubGFiZWxBbGlnbkxlZnR9LCAmLiR7Y2xhc3Nlcy5sYWJlbEFsaWduUmlnaHR9IHtcbiAgICAgICAgICAgICR7U3R5bGVkUmFuZ2VWYWx1ZX0ge1xuICAgICAgICAgICAgICAgIG1hcmdpbi1yaWdodDogMDtcbiAgICAgICAgICAgICAgICBtYXJnaW4tYm90dG9tOiAwO1xuICAgICAgICAgICAgICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICAgICAgICAgICAgICB0b3A6IDA7XG5cbiAgICAgICAgICAgICAgICByaWdodDogY2FsYyhcbiAgICAgICAgICAgICAgICAgICAgdmFyKCR7dG9rZW5zLnJhaWxUaGlja25lc3N9KSAvIDIgKyB2YXIoJHt0b2tlbnMuc2l6ZX0pIC8gMiArXG4gICAgICAgICAgICAgICAgICAgICAgICB2YXIoJHt0b2tlbnMucmFuZ2VWYWx1ZUhvcml6b250YWxPZmZzZXR9KVxuICAgICAgICAgICAgICAgICk7XG5cbiAgICAgICAgICAgICAgICAmLiR7Y2xhc3Nlcy5tYXhSYW5nZVZhbHVlfSB7XG4gICAgICAgICAgICAgICAgICAgIG1hcmdpbi1yaWdodDogMDtcbiAgICAgICAgICAgICAgICAgICAgbWFyZ2luLWxlZnQ6IDA7XG4gICAgICAgICAgICAgICAgICAgIHRvcDogYXV0bztcbiAgICAgICAgICAgICAgICAgICAgYm90dG9tOiAwO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgICYuJHtjbGFzc2VzLmxhYmVsQWxpZ25SaWdodH0ge1xuICAgICAgICAgICAgJHtTdHlsZWRSYW5nZVZhbHVlfSB7XG4gICAgICAgICAgICAgICAgbGVmdDogY2FsYyh2YXIoJHt0b2tlbnMuc2l6ZX0pICsgdmFyKCR7dG9rZW5zLnJhaWxUaGlja25lc3N9KSk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG5gO1xuIl19 */",
|
18
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
19
|
-
});
|
9
|
+
label: "plasma-new-hope__LabelContentLeft"
|
10
|
+
})(process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2xpZGVyL2NvbXBvbmVudHMvU2luZ2xlL1NpbmdsZS5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBVzBDIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2xpZGVyL2NvbXBvbmVudHMvU2luZ2xlL1NpbmdsZS5zdHlsZXMudHMiLCJzb3VyY2VzQ29udG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FiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICBtYXJnaW4tcmlnaHQ6IHZhcigke3Rva2Vucy5sYWJlbFdyYXBwZXJNYXJnaW5SaWdodH0pO1xuICAgICAgICB9XG4gICAgfVxuYDtcbiJdfQ== */");
|
20
11
|
export var Label = /*#__PURE__*/_styled("label", {
|
21
12
|
target: "e75awbu3",
|
22
13
|
label: "plasma-new-hope__Label"
|
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,
|
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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2xpZGVyL2NvbXBvbmVudHMvU2luZ2xlL1NpbmdsZS5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBYWlDIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2xpZGVyL2NvbXBvbmVudHMvU2luZ2xlL1NpbmdsZS5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IGNsYXNzZXMsIHRva2VucyB9IGZyb20gJy4uL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AgICAgICB9XG4gICAgfVxuYDtcbiJdfQ== */"));
|
24
15
|
export var StyledRangeValue = /*#__PURE__*/_styled("span", {
|
25
16
|
target: "e75awbu2",
|
26
17
|
label: "plasma-new-hope__StyledRangeValue"
|
27
|
-
})("color:var(", tokens.rangeValueColor, ");font-family:var(", tokens.
|
18
|
+
})("color:var(", tokens.rangeValueColor, ");font-family:var(", tokens.rangeValueFontFamily, ");font-size:var(", tokens.rangeValueFontSize, ");font-style:var(", tokens.rangeValueFontStyle, ");font-weight:var(", tokens.rangeValueFontWeight, ");letter-spacing:var(", tokens.rangeValueLetterSpacing, ");line-height:var(", tokens.rangeValueLineHeight, ");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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2xpZGVyL2NvbXBvbmVudHMvU2luZ2xlL1NpbmdsZS5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBc0IyQyIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL1NsaWRlci9jb21wb25lbnRzL1NpbmdsZS9TaW5nbGUuc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuXG5pbXBvcnQgeyBjbGFzc2VzLCB0b2tlbnMgfSBmcm9tICcuLi8uLi9TbGlkZXIudG9rZW5zJztcblxuZXhwb3J0IGNvbnN0IExhYmVsV3JhcHBlciA9IHN0eWxlZC5kaXZgXG4gICAgY29sb3I6IHZhcigke3Rva2Vucy5sYWJlbENvbG9y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mdlVmFsdWV9IHtcbiAgICAgICAgICAgIG1hcmdpbi1yaWdodDogdmFyKCR7dG9rZW5zLnJhbmdlTWluVmFsdWVNYXJnaW59KTtcblxuICAgICAgICAgICAgJi4ke2NsYXNzZXMubWF4UmFuZ2VWYWx1ZX0ge1xuICAgICAgICAgICAgICAgIG1hcmdpbi1yaWdodDogMDtcbiAgICAgICAgICAgICAgICBtYXJnaW4tbGVmdDogdmFyKCR7dG9rZW5zLnJhbmdlTWF4VmFsdWVNYXJnaW59KTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgIH1cbmA7XG5cbmV4cG9ydCBjb25zdCBTaW5nbGVXcmFwcGVyID0gc3R5bGVkLmRpdmBcbiAgICBkaXNwbGF5OiBmbGV4O1xuICAgIG9wYWNpdHk6IHZhcigke3Rva2Vucy5kaXNhYmxlZE9wYWNpdHl9KTtcblxuICAgICYuJHtjbGFzc2VzLmxhYmVsUGxhY2VtZW50T3V0ZXJ9IHtcbiAgICAgICAgZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcblxuICAgICAgICAke0xhYmVsV3JhcHBlcn0ge1xuICAgICAgICAgICAgbWFyZ2luLWJvdHRvbTogdmFyKCR7dG9rZW5zLmxhYmVsV3JhcHBlck1hcmdpbkJvdHRvbX0pO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgJi4ke2NsYXNzZXMubGFiZWxQbGFjZW1lbnRJbm5lcn0ge1xuICAgICAgICAke0xhYmVsV3JhcHBlcn0ge1xuICAgICAgICAgICAgbWFyZ2luLXJpZ2h0OiB2YXIoJHt0b2tlbnMubGFiZWxXcmFwcGVyTWFyZ2luUmlnaHR9KTtcbiAgICAgICAgfVxuICAgIH1cbmA7XG4iXX0= */"));
|
28
19
|
export var SliderBaseWrapper = /*#__PURE__*/_styled("div", {
|
29
20
|
target: "e75awbu1",
|
30
21
|
label: "plasma-new-hope__SliderBaseWrapper"
|
31
|
-
})("position:relative;display:flex;flex:1;&.", classes.rangeValuesPlacementOuter, "{", StyledRangeValue, "{position:absolute;bottom:
|
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.rangeMinValueMargin, ");&.", classes.maxRangeValue, "{margin-right:0;margin-left:var(", tokens.rangeMaxValueMargin, ");}}}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2xpZGVyL2NvbXBvbmVudHMvU2luZ2xlL1NpbmdsZS5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBMEMyQyIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL1NsaWRlci9jb21wb25lbnRzL1NpbmdsZS9TaW5nbGUuc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuXG5pbXBvcnQgeyBjbGFzc2VzLCB0b2tlbnMgfSBmcm9tICcuLi8uLi9TbGlkZXIudG9rZW5zJztcblxuZXhwb3J0IGNvbnN0IExhYmVsV3JhcHBlciA9IHN0eWxlZC5kaXZgXG4gICAgY29sb3I6IHZhcigke3Rva2Vucy5sYWJlbENvbG9yfSk7XG5cbiAgICBkaXNwbGF5OiBmbGV4O1xuICAgIGdhcDogdmFyKCR7dG9rZW5zLmxhYmVsV3JhcHBlckdhcH0pO1xuYDtcblxuZXhwb3J0IGNvbnN0IExhYmVsQ29udGVudExlZnQgPSBzdHlsZWQuZGl2YGA7XG5cbmV4cG9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IG1hcmdpbi1yaWdodDogMDtcbiAgICAgICAgICAgICAgICBtYXJnaW4tbGVmdDogdmFyKCR7dG9rZW5zLnJhbmdlTWF4VmFsdWVNYXJnaW59KTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgIH1cbmA7XG5cbmV4cG9ydCBjb25zdCBTaW5nbGVXcmFwcGVyID0gc3R5bGVkLmRpdmBcbiAgICBkaXNwbGF5OiBmbGV4O1xuICAgIG9wYWNpdHk6IHZhcigke3Rva2Vucy5kaXNhYmxlZE9wYWNpdHl9KTtcblxuICAgICYuJHtjbGFzc2VzLmxhYmVsUGxhY2VtZW50T3V0ZXJ9IHtcbiAgICAgICAgZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcblxuICAgICAgICAke0xhYmVsV3JhcHBlcn0ge1xuICAgICAgICAgICAgbWFyZ2luLWJvdHRvbTogdmFyKCR7dG9rZW5zLmxhYmVsV3JhcHBlck1hcmdpbkJvdHRvbX0pO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgJi4ke2NsYXNzZXMubGFiZWxQbGFjZW1lbnRJbm5lcn0ge1xuICAgICAgICAke0xhYmVsV3JhcHBlcn0ge1xuICAgICAgICAgICAgbWFyZ2luLXJpZ2h0OiB2YXIoJHt0b2tlbnMubGFiZWxXcmFwcGVyTWFyZ2luUmlnaHR9KTtcbiAgICAgICAgfVxuICAgIH1cbmA7XG4iXX0= */"));
|
32
23
|
export var SingleWrapper = /*#__PURE__*/_styled("div", {
|
33
24
|
target: "e75awbu0",
|
34
25
|
label: "plasma-new-hope__SingleWrapper"
|
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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2xpZGV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FjZW1lbnRPdXRlcn0ge1xuICAgICAgICBmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xuXG4gICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICBtYXJnaW4tYm90dG9tOiB2YXIoJHt0b2tlbnMubGFiZWxXcmFwcGVyTWFyZ2luQm90dG9tfSk7XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAmLiR7Y2xhc3Nlcy5sYWJlbFBsYWNlbWVudElubmVyfSB7XG4gICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICBtYXJnaW4tcmlnaHQ6IHZhcigke3Rva2Vucy5sYWJlbFdyYXBwZXJNYXJnaW5SaWdodH0pO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgJi4ke2NsYXNzZXMudmVydGljYWxPcmllbnRhdGlvbn0ge1xuICAgICAgICBmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xuICAgICAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuXG4gICAgICAgICYuJHtjbGFzc2VzLmxhYmVsQWxpZ25DZW50ZXJ9IHtcbiAgICAgICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICAgICAgZmxleC1kaXJlY3Rpb246IGNvbHVtbi1yZXZlcnNlO1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAmLiR7Y2xhc3Nlcy5sYWJlbFBsYWNlbWVudEJvdHRvbX0ge1xuICAgICAgICAgICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICAgICAgICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgJi4ke2NsYXNzZXMubGFiZWxDb250ZW50UmV2ZXJzZWR9IHtcbiAgICAgICAgICAgICAgICAgICAgJHtMYWJlbFdyYXBwZXJ9IHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW4tcmV2ZXJzZTtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgJi4ke2NsYXNzZXMubGFiZWxDb250ZW50UmV2ZXJzZWR9IHtcbiAgICAgICAgICAgICAgICAke0xhYmVsV3JhcHBlcn0ge1xuICAgICAgICAgICAgICAgICAgICBmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuICAgICAgICB9XG5cbiAgICAgICAgJHtTbGlkZXJCYXNlV3JhcHBlcn0ge1xuICAgICAgICAgICAgd2lkdGg6IHZhcigke3Rva2Vucy5zaXplfSk7XG4gICAgICAgIH1cblxuICAgICAgICAmLiR7Y2xhc3Nlcy5sYWJlbFBsYWNlbWVudElubmVyfSB7XG4gICAgICAgICAgICAke0xhYmVsV3JhcHBlcn0ge1xuICAgICAgICAgICAgICAgIG1hcmdpbi1yaWdodDogMDtcbiAgICAgICAgICAgICAgICBtYXJnaW4tYm90dG9tOiB2YXIoJHt0b2tlbnMubGFiZWxXcmFwcGVyVmVydGljYWxNYXJnaW59KTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgICYuJHtjbGFzc2VzLmxhYmVsQWxpZ25MZWZ0fSB7XG4gICAgICAgICAgICBhbGlnbi1pdGVtczogZmxleC1lbmQ7XG5cbiAgICAgICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICAgICAgZmxleC1kaXJlY3Rpb246IHJvdy1yZXZlcnNlO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgJi4ke2NsYXNzZXMubGFiZWxBbGlnblJpZ2h0fSB7XG4gICAgICAgICAgICBhbGlnbi1pdGVtczogZmxleC1zdGFydDtcbiAgICAgICAgfVxuXG4gICAgICAgICYuJHtjbGFzc2VzLmxhYmVsUGxhY2VtZW50Qm90dG9tfSB7XG4gICAgICAgICAgICBmbGV4LWRpcmVjdGlvbjogY29sdW1uLXJldmVyc2U7XG5cbiAgICAgICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICAgICAgbWFyZ2luLXRvcDogdmFyKCR7dG9rZW5zLmxhYmVsV3JhcHBlclZlcnRpY2FsTWFyZ2lufSk7XG4gICAgICAgICAgICAgICAgbWFyZ2luLXJpZ2h0OiAwO1xuICAgICAgICAgICAgICAgIG1hcmdpbi1ib3R0b206IDA7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAmLiR7Y2xhc3Nlcy52ZXJ0aWNhbE9yaWVudGF0aW9ufSB7XG4gICAgICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gICAgICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gICAgICAgIGp1c3RpZnktY29udGVudDogY2VudGVyO1xuXG4gICAgICAgICR7U2xpZGVyQmFzZVdyYXBwZXJ9IHtcbiAgICAgICAgICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gICAgICAgICAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuICAgICAgICAgICAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gICAgICAgIH1cblxuICAgICAgICAmLiR7Y2xhc3Nlcy5sYWJlbEFsaWduQ2VudGVyfSB7XG4gICAgICAgICAgICAke1N0eWxlZFJhbmdlVmFsdWV9IHtcbiAgICAgICAgICAgICAgICBwb3NpdGlvbjogc3RhdGljO1xuICAgICAgICAgICAgICAgIGJvdHRvbTogMDtcbiAgICAgICAgICAgICAgICBsZWZ0OiAwO1xuICAgICAgICAgICAgICAgIG1hcmdpbi1ib3R0b206IHZhcigke3Rva2Vucy5yYW5nZVZhbHVlVmVydGljYWxNYXJnaW59KTtcblxuICAgICAgICAgICAgICAgICYuJHtjbGFzc2VzLm1heFJhbmdlVmFsdWV9IHtcbiAgICAgICAgICAgICAgICAgICAgbGVmdDogMDtcbiAgICAgICAgICAgICAgICAgICAgcmlnaHQ6IDA7XG4gICAgICAgICAgICAgICAgICAgIGJvdHRvbTogMDtcbiAgICAgICAgICAgICAgICAgICAgbWFyZ2luLXRvcDogdmFyKCR7dG9rZW5zLnJhbmdlVmFsdWVWZXJ0aWNhbE1hcmdpbn0pO1xuICAgICAgICAgICAgICAgICAgICBtYXJnaW4tYm90dG9tOiAwO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgICYuJHtjbGFzc2VzLmxhYmVsQWxpZ25MZWZ0fSwgJi4ke2NsYXNzZXMubGFiZWxBbGlnblJpZ2h0fSB7XG4gICAgICAgICAgICAke1N0eWxlZFJhbmdlVmFsdWV9IHtcbiAgICAgICAgICAgICAgICBtYXJnaW4tcmlnaHQ6IDA7XG4gICAgICAgICAgICAgICAgbWFyZ2luLWJvdHRvbTogMDtcbiAgICAgICAgICAgICAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgICAgICAgICAgICAgdG9wOiAwO1xuXG4gICAgICAgICAgICAgICAgcmlnaHQ6IGNhbGMoXG4gICAgICAgICAgICAgICAgICAgIHZhcigke3Rva2Vucy5yYWlsVGhpY2tuZXNzfSkgLyAyICsgdmFyKCR7dG9rZW5zLnNpemV9KSAvIDIgK1xuICAgICAgICAgICAgICAgICAgICAgICAgdmFyKCR7dG9rZW5zLnJhbmdlVmFsdWVIb3Jpem9udGFsT2Zmc2V0fSlcbiAgICAgICAgICAgICAgICApO1xuXG4gICAgICAgICAgICAgICAgJi4ke2NsYXNzZXMubWF4UmFuZ2VWYWx1ZX0ge1xuICAgICAgICAgICAgICAgICAgICBtYXJnaW4tcmlnaHQ6IDA7XG4gICAgICAgICAgICAgICAgICAgIG1hcmdpbi1sZWZ0OiAwO1xuICAgICAgICAgICAgICAgICAgICB0b3A6IGF1dG87XG4gICAgICAgICAgICAgICAgICAgIGJvdHRvbTogMDtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICAmLiR7Y2xhc3Nlcy5sYWJlbEFsaWduUmlnaHR9IHtcbiAgICAgICAgICAgICR7U3R5bGVkUmFuZ2VWYWx1ZX0ge1xuICAgICAgICAgICAgICAgIGxlZnQ6IGNhbGModmFyKCR7dG9rZW5zLnNpemV9KSArIHZhcigke3Rva2Vucy5yYWlsVGhpY2tuZXNzfSkpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxuYDtcbiJdfQ== */"));
|
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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2xpZGVyL2NvbXBvbmVudHMvU2luZ2xlL1NpbmdsZS5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBMEV1QyIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL1NsaWRlci9jb21wb25lbnRzL1NpbmdsZS9TaW5nbGUuc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuXG5pbXBvcnQgeyBjbGFzc2VzLCB0b2tlbnMgfSBmcm9tICcuLi8uLi9TbGlkZXIudG9rZW5z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Ref, useEffect } from 'react';
|
2
2
|
import { useIsomorphicLayoutEffect } from '../../../../hooks';
|
3
|
-
import { classes } from '../../Slider.tokens';
|
4
|
-
import { cx } from '../../../../utils';
|
5
3
|
import { Fill, Rail, RailWrap, Slider } from './SliderBase.styles';
|
6
4
|
export var SliderBase = function SliderBase(_ref) {
|
7
5
|
var max = _ref.max,
|
@@ -15,9 +13,6 @@ export var SliderBase = function SliderBase(_ref) {
|
|
15
13
|
labelPlacement = _ref.labelPlacement,
|
16
14
|
rangeValuesPlacement = _ref.rangeValuesPlacement,
|
17
15
|
onChange = _ref.onChange,
|
18
|
-
orientation = _ref.orientation,
|
19
|
-
size = _ref.size,
|
20
|
-
sliderAlign = _ref.sliderAlign,
|
21
16
|
_ref$settings = _ref.settings,
|
22
17
|
settings = _ref$settings === void 0 ? {} : _ref$settings;
|
23
18
|
var _settings$indent = settings.indent,
|
@@ -26,43 +21,34 @@ export var SliderBase = function SliderBase(_ref) {
|
|
26
21
|
fontSizeMultiplier = _settings$fontSizeMul === void 0 ? 16 : _settings$fontSizeMul;
|
27
22
|
var ref = useRef(null);
|
28
23
|
var gap = indent * fontSizeMultiplier * 2;
|
29
|
-
var isVertical = orientation === 'vertical';
|
30
24
|
useEffect(function () {
|
31
25
|
var resizeHandler = function resizeHandler() {
|
32
26
|
if (ref.current) {
|
33
|
-
var railSize =
|
27
|
+
var railSize = ref.current.offsetWidth - gap;
|
34
28
|
var totalSteps = max - min;
|
35
29
|
setStepSize(railSize / totalSteps);
|
36
30
|
}
|
37
31
|
};
|
38
32
|
resizeHandler();
|
39
|
-
}, [labelPlacement, rangeValuesPlacement
|
40
|
-
// для перерасчета размеров
|
41
|
-
size, sliderAlign]);
|
33
|
+
}, [labelPlacement, rangeValuesPlacement]);
|
42
34
|
var onHandleChange = function onHandleChange(e) {
|
43
35
|
if (!onChange || disabled) {
|
44
36
|
return;
|
45
37
|
}
|
46
38
|
var _e$currentTarget$getB = e.currentTarget.getBoundingClientRect(),
|
47
39
|
x = _e$currentTarget$getB.x,
|
48
|
-
width = _e$currentTarget$getB.width
|
49
|
-
|
50
|
-
|
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);
|
40
|
+
width = _e$currentTarget$getB.width;
|
41
|
+
var lastX = e.clientX - x;
|
42
|
+
var position = min + lastX / (width - gap) * (max - min);
|
54
43
|
var result = Math.max(min, Math.min(max, position));
|
55
|
-
|
56
|
-
|
57
|
-
}
|
58
|
-
lastX: lastPos
|
59
|
-
};
|
60
|
-
onChange(result, data);
|
44
|
+
onChange(result, {
|
45
|
+
lastX: lastX
|
46
|
+
});
|
61
47
|
};
|
62
48
|
useIsomorphicLayoutEffect(function () {
|
63
49
|
var resizeHandler = function resizeHandler() {
|
64
50
|
if (ref.current) {
|
65
|
-
var railSize =
|
51
|
+
var railSize = ref.current.offsetWidth - gap;
|
66
52
|
var totalSteps = max - min;
|
67
53
|
setStepSize(railSize / totalSteps);
|
68
54
|
}
|
@@ -72,18 +58,13 @@ export var SliderBase = function SliderBase(_ref) {
|
|
72
58
|
return function () {
|
73
59
|
return window.removeEventListener('resize', resizeHandler);
|
74
60
|
};
|
75
|
-
}, [min, max, setStepSize, gap, labelPlacement, rangeValuesPlacement
|
76
|
-
var fillStyle =
|
77
|
-
top: "".concat(railFillXPosition, "px"),
|
78
|
-
height: "".concat(railFillWidth, "px"),
|
79
|
-
width: '100%'
|
80
|
-
} : {
|
61
|
+
}, [min, max, setStepSize, gap, labelPlacement, rangeValuesPlacement]);
|
62
|
+
var fillStyle = {
|
81
63
|
left: "".concat(railFillXPosition, "px"),
|
82
64
|
width: "".concat(railFillWidth, "px")
|
83
65
|
};
|
84
66
|
return /*#__PURE__*/React.createElement(Slider, {
|
85
|
-
ref: ref
|
86
|
-
className: cx(orientation === 'vertical' && classes.verticalOrientation)
|
67
|
+
ref: ref
|
87
68
|
}, /*#__PURE__*/React.createElement(RailWrap, {
|
88
69
|
"aria-hidden": "true",
|
89
70
|
onMouseDown: onHandleChange
|
@@ -1,17 +1,13 @@
|
|
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 {
|
5
|
-
export var Rail = /*#__PURE__*/_styled("div", {
|
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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2xpZGVyL2NvbXBvbmVudHMvU2xpZGVyQmFzZS9TbGlkZXJCYXNlLnN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFLOEIiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9TbGlkZXIvY29tcG9uZW50cy9TbGlkZXJCYXNlL1NsaWRlckJhc2Uuc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuXG5pbXBvcnQgeyBhcHBseUhpZGRlbiB9IGZyb20gJy4uLy4uLy4uLy4uL21peGlucyc7XG5pbXBvcnQgeyBjbGFzc2VzLCB0b2tlbnMgfSBmcm9tICcuLi8uLi9TbGlkZXIudG9rZW5zJztcblxuZX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GVkLmRpdmBcbiAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgaGVpZ2h0OiAxMDAlO1xuICAgIHRvcDogMDtcbiAgICBsZWZ0OiAwO1xuICAgIGJhY2tncm91bmQ6IHZhcigke3Rva2Vucy5maWxsQ29sb3J9KTtcbiAgICB3aWR0aDogMDtcbmA7XG5cbmV4cG9ydCBjb25zdCBJbnB1dEhpZGRlbiA9IHN0eWxlZC5pbnB1dGBcbiAgICAke2FwcGx5SGlkZGVuKCl9O1xuYDtcbiJdfQ== */"));
|
4
|
+
import { tokens } from '../../Slider.tokens';
|
9
5
|
export var Slider = /*#__PURE__*/_styled("div", {
|
10
|
-
target: "
|
6
|
+
target: "e1nkxkag4",
|
11
7
|
label: "plasma-new-hope__Slider"
|
12
|
-
})("flex:1;position:relative;user-select:none;height:var(", tokens.
|
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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2xpZGVyL2NvbXBvbmVudHMvU2xpZGVyQmFzZS9TbGlkZXJCYXNlLnN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFLZ0MiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9TbGlkZXIvY29tcG9uZW50cy9TbGlkZXJCYXNlL1NsaWRlckJhc2Uuc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuXG5pbXBvcnQgeyBhcHBseUhpZGRlbiB9IGZyb20gJy4uLy4uLy4uLy4uL21peGlucyc7XG5pbXBvcnQgeyB0b2tlbnMgfSBmcm9tICcuLi8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xkag3",
|
15
11
|
label: "plasma-new-hope__RailWrap"
|
16
12
|
})(process.env.NODE_ENV === "production" ? {
|
17
13
|
name: "13udsys",
|
@@ -19,14 +15,18 @@ export var RailWrap = /*#__PURE__*/_styled("div", {
|
|
19
15
|
} : {
|
20
16
|
name: "13udsys",
|
21
17
|
styles: "height:100%",
|
22
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
18
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2xpZGVyL2NvbXBvbmVudHMvU2xpZGVyQmFzZS9TbGlkZXJCYXNlLnN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFZa0MiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9TbGlkZXIvY29tcG9uZW50cy9TbGlkZXJCYXNlL1NsaWRlckJhc2Uuc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuXG5pbXBvcnQgeyBhcHBseUhpZGRlbiB9IGZyb20gJy4uLy4uLy4uLy4uL21peGlucyc7XG5pbXBvcnQgeyB0b2tlbnMgfSBmcm9tICcuLi8uLi9TbGlkZXIudG9rZW5zJztcblxuZXhwb3J0IGNvbnN0IFNsaWRlciA9IHN0eWxlZC5kaXZgXG4gICAgZmxleDogMTtcbiAgICBwb3NpdGlvbjogcmVsYXRpdmU7XG4gICAgdXNlci1zZWxlY3Q6IG5vbmU7XG4gICAgaGVpZ2h0OiB2YXIoJHt0b2tlbnMuaGVpZ2h0fSk7XG5gO1xuXG5leHBvcnQgY29uc3QgUmFpbFdyYXAgPSBzdHlsZWQuZGl2YFxuICAgIGhlaWdodDogMTAwJTtcbmA7XG5cbmV4cG9ydCBjb25zdCBSYWlsID0gc3R5bGVkLmRpdmBcbiAgICBwb3NpdGlvbjogcmVsYXRpdmU7XG4gICAgdG9wOiA1MCU7XG5cbiAgICBoZWlnaHQ6IHZhcigke3Rva2Vucy5yYWlsSGVpZ2h0fSk7XG5cbiAgICBib3JkZXItcmFkaXVzOiB2YXIoJHt0b2tlbnMucmFpbEJvcmRlclJhZGl1c30pO1xuICAgIGJhY2tncm91bmQtY29sb3I6IHZhcigke3Rva2Vucy5yYWlsQmFja2dyb3VuZENvbG9yfSk7XG5cbiAgICBvdmVyZmxvdzogaGlkZGVuO1xuICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlWSgtNTAlKTtcbmA7XG5cbmV4cG9ydCBjb25zdCBGaWxsID0gc3R5bGVkLmRpdmBcbiAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgaGVpZ2h0OiAxMDAlO1xuICAgIHRvcDogMDtcbiAgICBsZWZ0OiAwO1xuICAgIGJhY2tncm91bmQ6IHZhcigke3Rva2Vucy5maWxsQ29sb3J9KTtcbiAgICB3aWR0aDogMDtcbmA7XG5cbmV4cG9ydCBjb25zdCBJbnB1dEhpZGRlbiA9IHN0eWxlZC5pbnB1dGBcbiAgICAke2FwcGx5SGlkZGVuKCl9O1xuYDtcbiJdfQ== */",
|
23
19
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
24
20
|
});
|
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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3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ZlcmZsb3c6IGhpZGRlbjtcbiAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVkoLTUwJSk7XG5gO1xuXG5leHBvcnQgY29uc3QgRmlsbCA9IHN0eWxlZC5kaXZgXG4gICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgIGhlaWdodDogMTAwJTtcbiAgICB0b3A6IDA7XG4gICAgbGVmdDogMDtcbiAgICBiYWNrZ3JvdW5kOiB2YXIoJHt0b2tlbnMuZmlsbENvbG9yfSk7XG4gICAgd2lkdGg6IDA7XG5gO1xuXG5leHBvcnQgY29uc3QgSW5wdXRIaWRkZW4gPSBzdHlsZWQuaW5wdXRgXG4gICAgJHthcHBseUhpZGRlbigpfTtcbmA7XG4iXX0= */"));
|
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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2xpZGVyL2NvbXBvbmVudHMvU2xpZGVyQmFzZS9TbGlkZXJCYXNlLnN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUE2QjhCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2xpZGVyL2NvbXBvbmVudHMvU2xpZGVyQmFzZS9TbGlkZXJCYXNlLnN0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHls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SW5wdXRIaWRkZW4gPSBzdHlsZWQuaW5wdXRgXG4gICAgJHthcHBseUhpZGRlbigpfTtcbmA7XG4iXX0= */"));
|
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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2xpZGVyL2NvbXBvbmVudHMvU2xpZGVyQmFzZS9TbGlkZXJCYXNlLnN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFzQ3VDIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2xpZGVyL2NvbXBvbmVudHMvU2xpZGVyQmFzZS9TbGlkZXJCYXNlLnN0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcblxuaW1wb3J0IHsgYXBwbHlIaWRkZW4gfSBmcm9tICcuLi8uLi8uLi8uLi9taXhpbnMnO1xuaW1wb3J0IHsgdG9rZW5zIH0gZnJvbSAnLi4vLi4vU2xpZGVyLnRva2Vucyc7XG5cbmV4cG9ydCBjb25zdCBTbGlkZXIgPSBzdHlsZWQuZGl2YFxuICAgIGZsZXg6IDE7XG4gICAgcG9zaXRpb246IHJlbGF0aXZlO1xuICAgIHVzZXItc2VsZWN0OiBub25lO1xuICAgIGhlaWdodDogdmFyKCR7dG9rZW5zLmhlaWdodH0pO1xuYD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