@salutejs/plasma-new-hope 0.175.3-canary.1512.11555735717.0 → 0.176.0-canary.1452.11568379583.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/components/Dropdown/ui/DropdownDivider/DropdownDivider.js +2 -2
- package/cjs/components/Dropdown/ui/DropdownDivider/DropdownDivider.js.map +1 -1
- package/cjs/components/Dropdown/ui/DropdownFooter/DropdownFooter.js +2 -2
- package/cjs/components/Dropdown/ui/DropdownFooter/DropdownFooter.js.map +1 -1
- package/cjs/components/Dropdown/ui/DropdownGroup/DropdownGroup.js +2 -2
- package/cjs/components/Dropdown/ui/DropdownGroup/DropdownGroup.js.map +1 -1
- package/cjs/components/Dropdown/ui/DropdownHeader/DropdownHeader.js +2 -2
- package/cjs/components/Dropdown/ui/DropdownHeader/DropdownHeader.js.map +1 -1
- package/cjs/components/Dropdown/ui/DropdownOld/DropdownOld.js +2 -4
- package/cjs/components/Dropdown/ui/DropdownOld/DropdownOld.js.map +1 -1
- package/cjs/components/Popover/Popover.js +1 -2
- package/cjs/components/Popover/Popover.js.map +1 -1
- 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/index.css +15 -13
- package/cjs/utils/index.js.map +1 -1
- package/emotion/cjs/components/Dropdown/ui/DropdownDivider/DropdownDivider.js +2 -2
- package/emotion/cjs/components/Dropdown/ui/DropdownFooter/DropdownFooter.js +2 -2
- package/emotion/cjs/components/Dropdown/ui/DropdownGroup/DropdownGroup.js +2 -2
- package/emotion/cjs/components/Dropdown/ui/DropdownHeader/DropdownHeader.js +2 -2
- package/emotion/cjs/components/Dropdown/ui/DropdownOld/DropdownOld.js +4 -6
- package/emotion/cjs/components/Popover/Popover.js +1 -2
- 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/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_web/components/Slider/Slider.config.js +7 -7
- package/emotion/cjs/examples/plasma_web/components/Slider/Slider.stories.tsx +98 -15
- package/emotion/es/components/Dropdown/ui/DropdownDivider/DropdownDivider.js +2 -2
- package/emotion/es/components/Dropdown/ui/DropdownFooter/DropdownFooter.js +2 -2
- package/emotion/es/components/Dropdown/ui/DropdownGroup/DropdownGroup.js +2 -2
- package/emotion/es/components/Dropdown/ui/DropdownHeader/DropdownHeader.js +2 -2
- package/emotion/es/components/Dropdown/ui/DropdownOld/DropdownOld.js +2 -4
- package/emotion/es/components/Popover/Popover.js +1 -2
- 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/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_web/components/Slider/Slider.config.js +7 -7
- package/emotion/es/examples/plasma_web/components/Slider/Slider.stories.tsx +98 -15
- package/es/components/Dropdown/ui/DropdownDivider/DropdownDivider.js +2 -2
- package/es/components/Dropdown/ui/DropdownDivider/DropdownDivider.js.map +1 -1
- package/es/components/Dropdown/ui/DropdownFooter/DropdownFooter.js +2 -2
- package/es/components/Dropdown/ui/DropdownFooter/DropdownFooter.js.map +1 -1
- package/es/components/Dropdown/ui/DropdownGroup/DropdownGroup.js +2 -2
- package/es/components/Dropdown/ui/DropdownGroup/DropdownGroup.js.map +1 -1
- package/es/components/Dropdown/ui/DropdownHeader/DropdownHeader.js +2 -2
- package/es/components/Dropdown/ui/DropdownHeader/DropdownHeader.js.map +1 -1
- package/es/components/Dropdown/ui/DropdownOld/DropdownOld.js +2 -4
- package/es/components/Dropdown/ui/DropdownOld/DropdownOld.js.map +1 -1
- package/es/components/Popover/Popover.js +1 -2
- package/es/components/Popover/Popover.js.map +1 -1
- 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/index.css +15 -13
- package/es/utils/index.js.map +1 -1
- package/package.json +2 -2
- package/styled-components/cjs/components/Dropdown/ui/DropdownDivider/DropdownDivider.js +2 -2
- package/styled-components/cjs/components/Dropdown/ui/DropdownFooter/DropdownFooter.js +2 -2
- package/styled-components/cjs/components/Dropdown/ui/DropdownGroup/DropdownGroup.js +2 -2
- package/styled-components/cjs/components/Dropdown/ui/DropdownHeader/DropdownHeader.js +2 -2
- package/styled-components/cjs/components/Dropdown/ui/DropdownOld/DropdownOld.js +4 -6
- package/styled-components/cjs/components/Popover/Popover.js +1 -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/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_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/es/components/Dropdown/ui/DropdownDivider/DropdownDivider.js +2 -2
- package/styled-components/es/components/Dropdown/ui/DropdownFooter/DropdownFooter.js +2 -2
- package/styled-components/es/components/Dropdown/ui/DropdownGroup/DropdownGroup.js +2 -2
- package/styled-components/es/components/Dropdown/ui/DropdownHeader/DropdownHeader.js +2 -2
- package/styled-components/es/components/Dropdown/ui/DropdownOld/DropdownOld.js +2 -4
- package/styled-components/es/components/Popover/Popover.js +1 -2
- 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/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_web/components/Slider/Slider.config.js +3 -3
- package/styled-components/es/examples/plasma_web/components/Slider/Slider.stories.tsx +98 -15
- package/types/components/Dropdown/ui/DropdownDivider/DropdownDivider.d.ts.map +1 -1
- package/types/components/Dropdown/ui/DropdownFooter/DropdownFooter.d.ts.map +1 -1
- package/types/components/Dropdown/ui/DropdownGroup/DropdownGroup.d.ts.map +1 -1
- package/types/components/Dropdown/ui/DropdownHeader/DropdownHeader.d.ts.map +1 -1
- package/types/components/Dropdown/ui/DropdownOld/DropdownOld.d.ts.map +1 -1
- package/types/components/Popover/Popover.d.ts.map +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/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_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/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,4 +1,4 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
import type { ThumbProps } from './Thumb.types';
|
3
|
-
export declare const Thumb: ({ min, max, value, ariaValueMin, ariaLabel, disabled, ...rest }: ThumbProps) => JSX.Element;
|
3
|
+
export declare const Thumb: ({ min, max, value, ariaValueMin, ariaLabel, disabled, orientation, ...rest }: ThumbProps) => JSX.Element;
|
4
4
|
//# sourceMappingURL=Thumb.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Thumb.d.ts","sourceRoot":"","sources":["../../../../../src/components/Slider/ui/Thumb/Thumb.tsx"],"names":[],"mappings":";AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAGhD,eAAO,MAAM,KAAK,
|
1
|
+
{"version":3,"file":"Thumb.d.ts","sourceRoot":"","sources":["../../../../../src/components/Slider/ui/Thumb/Thumb.tsx"],"names":[],"mappings":";AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAGhD,eAAO,MAAM,KAAK,iFASf,UAAU,gBAaZ,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Thumb.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Slider/ui/Thumb/Thumb.styles.ts"],"names":[],"mappings":";AAKA,eAAO,MAAM,SAAS;;
|
1
|
+
{"version":3,"file":"Thumb.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Slider/ui/Thumb/Thumb.styles.ts"],"names":[],"mappings":";AAKA,eAAO,MAAM,SAAS;;EA0CrB,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Thumb.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Slider/ui/Thumb/Thumb.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,gBAAgB,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"Thumb.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Slider/ui/Thumb/Thumb.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,gBAAgB,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,YAAY,GAAG,UAAU,CAAC;CAC1C"}
|
@@ -7,7 +7,7 @@ import { MutableRefObject } from 'react';
|
|
7
7
|
* @param {number} max
|
8
8
|
* @return {number}
|
9
9
|
*/
|
10
|
-
export declare function getSliderThumbValue(
|
10
|
+
export declare function getSliderThumbValue(handleCenterPosRelative: number, stepSize: number, min: number, max: number): number;
|
11
11
|
/**
|
12
12
|
* Расчитывает значение отступа слайдера на основе его положения (справа, слева) на отрезке слайдера.
|
13
13
|
* Значение используется для правильного расчета ограничения движения слайдера.
|
@@ -15,19 +15,37 @@ export declare function getSliderThumbValue(handleCenterXRelative: number, stepS
|
|
15
15
|
* @param {'left' | 'right'} side
|
16
16
|
* @return Array<number>
|
17
17
|
*/
|
18
|
-
export declare function getOffsets(ref: ((instance: HTMLDivElement | null) => void) | MutableRefObject<HTMLDivElement | null> | null, side?: 'left' | 'right'): number[];
|
18
|
+
export declare function getOffsets(ref: ((instance: HTMLDivElement | null) => void) | MutableRefObject<HTMLDivElement | null> | null, side?: 'left' | 'right', isVertical?: boolean): number[];
|
19
19
|
export declare const sizeData: {
|
20
20
|
s: {
|
21
|
-
|
22
|
-
|
21
|
+
small: {
|
22
|
+
indent: number;
|
23
|
+
fontSizeMultiplier: number;
|
24
|
+
};
|
25
|
+
large: {
|
26
|
+
indent: number;
|
27
|
+
fontSizeMultiplier: number;
|
28
|
+
};
|
23
29
|
};
|
24
30
|
m: {
|
25
|
-
|
26
|
-
|
31
|
+
small: {
|
32
|
+
indent: number;
|
33
|
+
fontSizeMultiplier: number;
|
34
|
+
};
|
35
|
+
large: {
|
36
|
+
indent: number;
|
37
|
+
fontSizeMultiplier: number;
|
38
|
+
};
|
27
39
|
};
|
28
40
|
l: {
|
29
|
-
|
30
|
-
|
41
|
+
small: {
|
42
|
+
indent: number;
|
43
|
+
fontSizeMultiplier: number;
|
44
|
+
};
|
45
|
+
large: {
|
46
|
+
indent: number;
|
47
|
+
fontSizeMultiplier: number;
|
48
|
+
};
|
31
49
|
};
|
32
50
|
};
|
33
51
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Slider/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAEzC;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CAAC,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Slider/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAEzC;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CAAC,uBAAuB,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,UAI9G;AAED;;;;;;GAMG;AACH,wBAAgB,UAAU,CACtB,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE,cAAc,GAAG,IAAI,KAAK,IAAI,CAAC,GAAG,gBAAgB,CAAC,cAAc,GAAG,IAAI,CAAC,GAAG,IAAI,EACjG,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,EACvB,UAAU,CAAC,EAAE,OAAO,GACrB,MAAM,EAAE,CAgBV;AAED,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+BpB,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/Slider/variations/_view/base.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/Slider/variations/_view/base.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI,0CAKhB,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Slider.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Slider/Slider.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;
|
1
|
+
{"version":3,"file":"Slider.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Slider/Slider.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;CAkOlB,CAAC"}
|
@@ -18,37 +18,115 @@ export declare const Slider: import("react").FunctionComponent<import("../../../
|
|
18
18
|
name: string;
|
19
19
|
value?: undefined;
|
20
20
|
defaultValue?: number | undefined;
|
21
|
+
} & {
|
22
|
+
orientation?: "horizontal" | undefined;
|
23
|
+
labelPlacement?: "none" | "left" | "top" | undefined;
|
24
|
+
scaleAlign?: "none" | "bottom" | "side" | undefined;
|
25
|
+
sliderAlign?: "none" | undefined;
|
26
|
+
reversed?: undefined;
|
27
|
+
labelReversed?: undefined;
|
21
28
|
} & Omit<import("react").HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
|
22
29
|
onChangeCommitted?: ((value: number) => void) | undefined;
|
23
30
|
ariaLabel?: string | undefined;
|
24
31
|
showCurrentValue?: boolean | undefined;
|
25
32
|
showRangeValues?: boolean | undefined;
|
33
|
+
rangeValuesPlacement?: string | undefined;
|
34
|
+
showScale?: boolean | undefined;
|
26
35
|
hideMinValueDiff?: number | undefined;
|
27
36
|
hideMaxValueDiff?: number | undefined;
|
28
|
-
rangeValuesPlacement?: "inner" | "outer" | undefined;
|
29
37
|
labelPlacement?: "inner" | "outer" | undefined;
|
38
|
+
labelContentLeft?: import("react").ReactNode;
|
39
|
+
labelContent?: import("react").ReactNode;
|
30
40
|
multipleStepSize?: number | undefined;
|
31
41
|
view?: string | undefined;
|
32
42
|
size?: "m" | "s" | "l" | undefined;
|
33
43
|
type?: "single" | undefined;
|
44
|
+
pointerSize?: "small" | "large" | "none" | undefined;
|
45
|
+
} & import("react").RefAttributes<HTMLDivElement>) | (import("../../../../components/Slider/components/SliderBase/SliderBase.types").SliderBaseProps & import("../../../../components/Slider/components").SliderInternalProps & {
|
46
|
+
onChange?: ((event: import("../../../../types/FormType").FormTypeNumber) => void) | undefined;
|
47
|
+
name: string;
|
48
|
+
value?: undefined;
|
49
|
+
defaultValue?: number | undefined;
|
50
|
+
} & {
|
51
|
+
orientation: "vertical";
|
52
|
+
sliderAlign?: "none" | "center" | "left" | "right" | undefined;
|
53
|
+
scaleAlign?: undefined;
|
54
|
+
reversed?: boolean | undefined;
|
55
|
+
labelReversed?: boolean | undefined;
|
56
|
+
} & Omit<import("react").HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
|
57
|
+
onChangeCommitted?: ((value: number) => void) | undefined;
|
58
|
+
ariaLabel?: string | undefined;
|
59
|
+
showCurrentValue?: boolean | undefined;
|
60
|
+
showRangeValues?: boolean | undefined;
|
61
|
+
rangeValuesPlacement?: string | undefined;
|
62
|
+
showScale?: boolean | undefined;
|
63
|
+
hideMinValueDiff?: number | undefined;
|
64
|
+
hideMaxValueDiff?: number | undefined;
|
65
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
66
|
+
labelContentLeft?: import("react").ReactNode;
|
67
|
+
labelContent?: import("react").ReactNode;
|
68
|
+
multipleStepSize?: number | undefined;
|
69
|
+
view?: string | undefined;
|
70
|
+
size?: "m" | "s" | "l" | undefined;
|
71
|
+
type?: "single" | undefined;
|
72
|
+
pointerSize?: "small" | "large" | "none" | undefined;
|
73
|
+
} & import("react").RefAttributes<HTMLDivElement>) | (import("../../../../components/Slider/components/SliderBase/SliderBase.types").SliderBaseProps & import("../../../../components/Slider/components").SliderInternalProps & {
|
74
|
+
onChange?: ((value: number) => void) | undefined;
|
75
|
+
value: number;
|
76
|
+
name?: undefined;
|
77
|
+
defaultValue?: undefined;
|
78
|
+
} & {
|
79
|
+
orientation?: "horizontal" | undefined;
|
80
|
+
labelPlacement?: "none" | "left" | "top" | undefined;
|
81
|
+
scaleAlign?: "none" | "bottom" | "side" | undefined;
|
82
|
+
sliderAlign?: "none" | undefined;
|
83
|
+
reversed?: undefined;
|
84
|
+
labelReversed?: undefined;
|
85
|
+
} & Omit<import("react").HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
|
86
|
+
onChangeCommitted?: ((value: number) => void) | undefined;
|
87
|
+
ariaLabel?: string | undefined;
|
88
|
+
showCurrentValue?: boolean | undefined;
|
89
|
+
showRangeValues?: boolean | undefined;
|
90
|
+
rangeValuesPlacement?: string | undefined;
|
91
|
+
showScale?: boolean | undefined;
|
92
|
+
hideMinValueDiff?: number | undefined;
|
93
|
+
hideMaxValueDiff?: number | undefined;
|
94
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
95
|
+
labelContentLeft?: import("react").ReactNode;
|
96
|
+
labelContent?: import("react").ReactNode;
|
97
|
+
multipleStepSize?: number | undefined;
|
98
|
+
view?: string | undefined;
|
99
|
+
size?: "m" | "s" | "l" | undefined;
|
100
|
+
type?: "single" | undefined;
|
101
|
+
pointerSize?: "small" | "large" | "none" | undefined;
|
34
102
|
} & import("react").RefAttributes<HTMLDivElement>) | (import("../../../../components/Slider/components/SliderBase/SliderBase.types").SliderBaseProps & import("../../../../components/Slider/components").SliderInternalProps & {
|
35
103
|
onChange?: ((value: number) => void) | undefined;
|
36
104
|
value: number;
|
37
105
|
name?: undefined;
|
38
106
|
defaultValue?: undefined;
|
107
|
+
} & {
|
108
|
+
orientation: "vertical";
|
109
|
+
sliderAlign?: "none" | "center" | "left" | "right" | undefined;
|
110
|
+
scaleAlign?: undefined;
|
111
|
+
reversed?: boolean | undefined;
|
112
|
+
labelReversed?: boolean | undefined;
|
39
113
|
} & Omit<import("react").HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
|
40
114
|
onChangeCommitted?: ((value: number) => void) | undefined;
|
41
115
|
ariaLabel?: string | undefined;
|
42
116
|
showCurrentValue?: boolean | undefined;
|
43
117
|
showRangeValues?: boolean | undefined;
|
118
|
+
rangeValuesPlacement?: string | undefined;
|
119
|
+
showScale?: boolean | undefined;
|
44
120
|
hideMinValueDiff?: number | undefined;
|
45
121
|
hideMaxValueDiff?: number | undefined;
|
46
|
-
rangeValuesPlacement?: "inner" | "outer" | undefined;
|
47
122
|
labelPlacement?: "inner" | "outer" | undefined;
|
123
|
+
labelContentLeft?: import("react").ReactNode;
|
124
|
+
labelContent?: import("react").ReactNode;
|
48
125
|
multipleStepSize?: number | undefined;
|
49
126
|
view?: string | undefined;
|
50
127
|
size?: "m" | "s" | "l" | undefined;
|
51
128
|
type?: "single" | undefined;
|
129
|
+
pointerSize?: "small" | "large" | "none" | undefined;
|
52
130
|
} & import("react").RefAttributes<HTMLDivElement>) | (Omit<import("../../../../components/Slider").DoubleSliderProps, "onChange" | "defaultValue" | "value"> & {
|
53
131
|
onChange?: ((event: import("../../../../types/FormType").FormTypeString) => void) | undefined;
|
54
132
|
name?: string | undefined;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Slider.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Slider/Slider.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,MAAM
|
1
|
+
{"version":3,"file":"Slider.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Slider/Slider.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAA0B,CAAC;AAE9C;;;GAGG"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Slider.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Slider/Slider.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;
|
1
|
+
{"version":3,"file":"Slider.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Slider/Slider.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;CAkOlB,CAAC"}
|
@@ -18,37 +18,115 @@ export declare const Slider: import("react").FunctionComponent<import("../../../
|
|
18
18
|
name: string;
|
19
19
|
value?: undefined;
|
20
20
|
defaultValue?: number | undefined;
|
21
|
+
} & {
|
22
|
+
orientation?: "horizontal" | undefined;
|
23
|
+
labelPlacement?: "none" | "left" | "top" | undefined;
|
24
|
+
scaleAlign?: "none" | "bottom" | "side" | undefined;
|
25
|
+
sliderAlign?: "none" | undefined;
|
26
|
+
reversed?: undefined;
|
27
|
+
labelReversed?: undefined;
|
21
28
|
} & Omit<import("react").HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
|
22
29
|
onChangeCommitted?: ((value: number) => void) | undefined;
|
23
30
|
ariaLabel?: string | undefined;
|
24
31
|
showCurrentValue?: boolean | undefined;
|
25
32
|
showRangeValues?: boolean | undefined;
|
33
|
+
rangeValuesPlacement?: string | undefined;
|
34
|
+
showScale?: boolean | undefined;
|
26
35
|
hideMinValueDiff?: number | undefined;
|
27
36
|
hideMaxValueDiff?: number | undefined;
|
28
|
-
rangeValuesPlacement?: "inner" | "outer" | undefined;
|
29
37
|
labelPlacement?: "inner" | "outer" | undefined;
|
38
|
+
labelContentLeft?: import("react").ReactNode;
|
39
|
+
labelContent?: import("react").ReactNode;
|
30
40
|
multipleStepSize?: number | undefined;
|
31
41
|
view?: string | undefined;
|
32
42
|
size?: "m" | "s" | "l" | undefined;
|
33
43
|
type?: "single" | undefined;
|
44
|
+
pointerSize?: "small" | "large" | "none" | undefined;
|
45
|
+
} & import("react").RefAttributes<HTMLDivElement>) | (import("../../../../components/Slider/components/SliderBase/SliderBase.types").SliderBaseProps & import("../../../../components/Slider/components").SliderInternalProps & {
|
46
|
+
onChange?: ((event: import("../../../../types/FormType").FormTypeNumber) => void) | undefined;
|
47
|
+
name: string;
|
48
|
+
value?: undefined;
|
49
|
+
defaultValue?: number | undefined;
|
50
|
+
} & {
|
51
|
+
orientation: "vertical";
|
52
|
+
sliderAlign?: "none" | "center" | "left" | "right" | undefined;
|
53
|
+
scaleAlign?: undefined;
|
54
|
+
reversed?: boolean | undefined;
|
55
|
+
labelReversed?: boolean | undefined;
|
56
|
+
} & Omit<import("react").HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
|
57
|
+
onChangeCommitted?: ((value: number) => void) | undefined;
|
58
|
+
ariaLabel?: string | undefined;
|
59
|
+
showCurrentValue?: boolean | undefined;
|
60
|
+
showRangeValues?: boolean | undefined;
|
61
|
+
rangeValuesPlacement?: string | undefined;
|
62
|
+
showScale?: boolean | undefined;
|
63
|
+
hideMinValueDiff?: number | undefined;
|
64
|
+
hideMaxValueDiff?: number | undefined;
|
65
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
66
|
+
labelContentLeft?: import("react").ReactNode;
|
67
|
+
labelContent?: import("react").ReactNode;
|
68
|
+
multipleStepSize?: number | undefined;
|
69
|
+
view?: string | undefined;
|
70
|
+
size?: "m" | "s" | "l" | undefined;
|
71
|
+
type?: "single" | undefined;
|
72
|
+
pointerSize?: "small" | "large" | "none" | undefined;
|
73
|
+
} & import("react").RefAttributes<HTMLDivElement>) | (import("../../../../components/Slider/components/SliderBase/SliderBase.types").SliderBaseProps & import("../../../../components/Slider/components").SliderInternalProps & {
|
74
|
+
onChange?: ((value: number) => void) | undefined;
|
75
|
+
value: number;
|
76
|
+
name?: undefined;
|
77
|
+
defaultValue?: undefined;
|
78
|
+
} & {
|
79
|
+
orientation?: "horizontal" | undefined;
|
80
|
+
labelPlacement?: "none" | "left" | "top" | undefined;
|
81
|
+
scaleAlign?: "none" | "bottom" | "side" | undefined;
|
82
|
+
sliderAlign?: "none" | undefined;
|
83
|
+
reversed?: undefined;
|
84
|
+
labelReversed?: undefined;
|
85
|
+
} & Omit<import("react").HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
|
86
|
+
onChangeCommitted?: ((value: number) => void) | undefined;
|
87
|
+
ariaLabel?: string | undefined;
|
88
|
+
showCurrentValue?: boolean | undefined;
|
89
|
+
showRangeValues?: boolean | undefined;
|
90
|
+
rangeValuesPlacement?: string | undefined;
|
91
|
+
showScale?: boolean | undefined;
|
92
|
+
hideMinValueDiff?: number | undefined;
|
93
|
+
hideMaxValueDiff?: number | undefined;
|
94
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
95
|
+
labelContentLeft?: import("react").ReactNode;
|
96
|
+
labelContent?: import("react").ReactNode;
|
97
|
+
multipleStepSize?: number | undefined;
|
98
|
+
view?: string | undefined;
|
99
|
+
size?: "m" | "s" | "l" | undefined;
|
100
|
+
type?: "single" | undefined;
|
101
|
+
pointerSize?: "small" | "large" | "none" | undefined;
|
34
102
|
} & import("react").RefAttributes<HTMLDivElement>) | (import("../../../../components/Slider/components/SliderBase/SliderBase.types").SliderBaseProps & import("../../../../components/Slider/components").SliderInternalProps & {
|
35
103
|
onChange?: ((value: number) => void) | undefined;
|
36
104
|
value: number;
|
37
105
|
name?: undefined;
|
38
106
|
defaultValue?: undefined;
|
107
|
+
} & {
|
108
|
+
orientation: "vertical";
|
109
|
+
sliderAlign?: "none" | "center" | "left" | "right" | undefined;
|
110
|
+
scaleAlign?: undefined;
|
111
|
+
reversed?: boolean | undefined;
|
112
|
+
labelReversed?: boolean | undefined;
|
39
113
|
} & Omit<import("react").HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
|
40
114
|
onChangeCommitted?: ((value: number) => void) | undefined;
|
41
115
|
ariaLabel?: string | undefined;
|
42
116
|
showCurrentValue?: boolean | undefined;
|
43
117
|
showRangeValues?: boolean | undefined;
|
118
|
+
rangeValuesPlacement?: string | undefined;
|
119
|
+
showScale?: boolean | undefined;
|
44
120
|
hideMinValueDiff?: number | undefined;
|
45
121
|
hideMaxValueDiff?: number | undefined;
|
46
|
-
rangeValuesPlacement?: "inner" | "outer" | undefined;
|
47
122
|
labelPlacement?: "inner" | "outer" | undefined;
|
123
|
+
labelContentLeft?: import("react").ReactNode;
|
124
|
+
labelContent?: import("react").ReactNode;
|
48
125
|
multipleStepSize?: number | undefined;
|
49
126
|
view?: string | undefined;
|
50
127
|
size?: "m" | "s" | "l" | undefined;
|
51
128
|
type?: "single" | undefined;
|
129
|
+
pointerSize?: "small" | "large" | "none" | undefined;
|
52
130
|
} & import("react").RefAttributes<HTMLDivElement>) | (Omit<import("../../../../components/Slider").DoubleSliderProps, "onChange" | "defaultValue" | "value"> & {
|
53
131
|
onChange?: ((event: import("../../../../types/FormType").FormTypeString) => void) | undefined;
|
54
132
|
name?: string | undefined;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Slider.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Slider/Slider.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,MAAM
|
1
|
+
{"version":3,"file":"Slider.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Slider/Slider.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAA0B,CAAC;AAE9C;;;GAGG"}
|
package/types/utils/index.d.ts
CHANGED
@@ -9,6 +9,6 @@ export { isEmpty } from './isEmpty';
|
|
9
9
|
export * as constants from './constants';
|
10
10
|
export * from './getPopoverPlacement';
|
11
11
|
export { noop } from './noop';
|
12
|
-
export declare const cx: (...classes: (string | undefined)[]) => string;
|
12
|
+
export declare const cx: (...classes: (string | boolean | undefined)[]) => string;
|
13
13
|
export declare const composableStyle: (s: TemplateStringsArray, ...expr: Array<string | number | CSSProperties>) => string;
|
14
14
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE9C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,KAAK,SAAS,MAAM,aAAa,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,eAAO,MAAM,EAAE,eAAgB,CAAC,MAAM,GAAG,SAAS,CAAC,EAAE,WAAuD,CAAC;
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE9C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,KAAK,SAAS,MAAM,aAAa,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,eAAO,MAAM,EAAE,eAAgB,CAAC,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC,EAAE,WAAuD,CAAC;AAEvH,eAAO,MAAM,eAAe,MAAO,oBAAoB,WAAW,MAAM,MAAM,GAAG,MAAM,GAAG,aAAa,CAAC,KAAG,MAQ1G,CAAC"}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
.l1p4kc08{color:var(--plasma-slider-label-color);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;gap:var(--plasma-slider-label-wrapper-gap);}
|
2
|
-
|
3
|
-
.lozb535{font-family:var(--plasma-slider-label-font-family);font-size:var(--plasma-slider-label-font-size);font-style:var(--plasma-slider-label-font-style);font-weight:var(--plasma-slider-label-font-weight);-webkit-letter-spacing:var(--plasma-slider-label-letter-spacing);-moz-letter-spacing:var(--plasma-slider-label-letter-spacing);-ms-letter-spacing:var(--plasma-slider-label-letter-spacing);letter-spacing:var(--plasma-slider-label-letter-spacing);line-height:var(--plasma-slider-label-line-height);}
|
4
|
-
.s1w9icbd{color:var(--plasma-slider-range-value-color);font-family:var(--plasma-slider-range-value-font-family);font-size:var(--plasma-slider-range-value-font-size);font-style:var(--plasma-slider-range-value-font-style);font-weight:var(--plasma-slider-range-value-font-weight);-webkit-letter-spacing:var(--plasma-slider-range-value-letter-spacing);-moz-letter-spacing:var(--plasma-slider-range-value-letter-spacing);-ms-letter-spacing:var(--plasma-slider-range-value-letter-spacing);letter-spacing:var(--plasma-slider-range-value-letter-spacing);line-height:var(--plasma-slider-range-value-line-height);-webkit-transition:opacity 0.1s ease-in-out;transition:opacity 0.1s ease-in-out;}.s1w9icbd.slider-hide-min-value,.s1w9icbd.slider-hide-max-value{opacity:0;}.s1w9icbd.slider-active-range-value{color:var(--plasma-slider-label-color);}
|
5
|
-
.s1d2sfgl{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex:1;-ms-flex:1;flex:1;}.s1d2sfgl.slider-range-values-placement-outer .s1w9icbd{position:absolute;bottom:var(--plasma-slider-range-value-bottom-offset);left:0;}.s1d2sfgl.slider-range-values-placement-outer .s1w9icbd.slider-max-range-value{left:unset;right:0;}.s1d2sfgl.slider-range-values-placement-inner{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}.s1d2sfgl.slider-range-values-placement-inner .s1w9icbd{margin-right:var(--plasma-slider-range-min-value-margin);}.s1d2sfgl.slider-range-values-placement-inner .s1w9icbd.slider-max-range-value{margin-right:0;margin-left:var(--plasma-slider-range-max-value-margin);}
|
6
|
-
.ss3ujqx{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;opacity:var(--plasma-slider-disabled-opacity);}.ss3ujqx.slider-label-placement-outer{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}.ss3ujqx.slider-label-placement-outer .l1p4kc08{margin-bottom:var(--plasma-slider-label-wrapper-margin-bottom);}.ss3ujqx.slider-label-placement-inner .l1p4kc08{margin-right:var(--plasma-slider-label-wrapper-margin-right);}
|
@@ -1,5 +0,0 @@
|
|
1
|
-
.s33crq1{-webkit-flex:1;-ms-flex:1;flex:1;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;height:var(--plasma-slider-height);}
|
2
|
-
.rnaoqfb{height:100%;}
|
3
|
-
.r1bro5xo{position:relative;top:50%;height:var(--plasma-slider-rail-height);border-radius:var(--plasma-slider-rail-border-radius);background-color:var(--plasma-slider-rail-background-color);overflow:hidden;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);}
|
4
|
-
.fdg7yhg{position:absolute;height:100%;top:0;left:0;background:var(--plasma-slider-fill-color);width:0;}
|
5
|
-
.i17ya4q3{visibility:hidden;width:0;height:0;opacity:0;margin:0;padding:0;border:none;}
|
@@ -1,2 +0,0 @@
|
|
1
|
-
.h1tnrnip{cursor:pointer;position:absolute;z-index:1;top:0;left:0;}
|
2
|
-
.s12uu2lj{position:absolute;z-index:1;top:var(--plasma-slider-current-value-top-offset);text-align:center;width:100%;margin-left:-0.125rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;font-family:var(--plasma-slider-current-value-font-family);font-size:var(--plasma-slider-current-value-font-size);font-style:var(--plasma-slider-current-value-font-style);font-weight:var(--plasma-slider-current-value-font-weight);-webkit-letter-spacing:var(--plasma-slider-current-value-letter-spacing);-moz-letter-spacing:var(--plasma-slider-current-value-letter-spacing);-ms-letter-spacing:var(--plasma-slider-current-value-letter-spacing);letter-spacing:var(--plasma-slider-current-value-letter-spacing);line-height:var(--plasma-slider-current-value-line-height);}
|
@@ -1 +0,0 @@
|
|
1
|
-
.tqbdf8b{width:var(--plasma-slider-thumb-size);height:var(--plasma-slider-thumb-size);position:relative;left:-0.125rem;top:-0.125rem;border-radius:50%;box-sizing:border-box;background:var(--plasma-slider-thumb-background-color);margin:0.125rem;-webkit-transition:border-color 0.1s ease-in-out;transition:border-color 0.1s ease-in-out;position:relative;}.tqbdf8b:after{background:var(--plasma-slider-thumb-border-color);margin:-0.125rem;content:'';position:absolute;inset:0;z-index:-1;border-radius:inherit;}.tqbdf8b:not([disabled]):hover:after,.tqbdf8b:not([disabled]):active:after{background:var(--plasma-slider-thumb-focus-border-color);}.tqbdf8b[disabled]{cursor:not-allowed;}.tqbdf8b:focus{outline:none;}.tqbdf8b::before{content:'';position:absolute;top:0.125rem;left:0.125rem;right:0.125rem;bottom:0.125rem;z-index:1;display:block;box-sizing:content-box;border:0.125rem solid transparent;border-radius:50%;-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.tqbdf8b.focus-visible:focus::before,.tqbdf8b[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.125rem var(--plasma-slider-thumb-focus-border-color);}
|
@@ -1 +0,0 @@
|
|
1
|
-
|
@@ -1,6 +0,0 @@
|
|
1
|
-
.l1p4kc08{color:var(--plasma-slider-label-color);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;gap:var(--plasma-slider-label-wrapper-gap);}
|
2
|
-
|
3
|
-
.lozb535{font-family:var(--plasma-slider-label-font-family);font-size:var(--plasma-slider-label-font-size);font-style:var(--plasma-slider-label-font-style);font-weight:var(--plasma-slider-label-font-weight);-webkit-letter-spacing:var(--plasma-slider-label-letter-spacing);-moz-letter-spacing:var(--plasma-slider-label-letter-spacing);-ms-letter-spacing:var(--plasma-slider-label-letter-spacing);letter-spacing:var(--plasma-slider-label-letter-spacing);line-height:var(--plasma-slider-label-line-height);}
|
4
|
-
.s1w9icbd{color:var(--plasma-slider-range-value-color);font-family:var(--plasma-slider-range-value-font-family);font-size:var(--plasma-slider-range-value-font-size);font-style:var(--plasma-slider-range-value-font-style);font-weight:var(--plasma-slider-range-value-font-weight);-webkit-letter-spacing:var(--plasma-slider-range-value-letter-spacing);-moz-letter-spacing:var(--plasma-slider-range-value-letter-spacing);-ms-letter-spacing:var(--plasma-slider-range-value-letter-spacing);letter-spacing:var(--plasma-slider-range-value-letter-spacing);line-height:var(--plasma-slider-range-value-line-height);-webkit-transition:opacity 0.1s ease-in-out;transition:opacity 0.1s ease-in-out;}.s1w9icbd.slider-hide-min-value,.s1w9icbd.slider-hide-max-value{opacity:0;}.s1w9icbd.slider-active-range-value{color:var(--plasma-slider-label-color);}
|
5
|
-
.s1d2sfgl{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex:1;-ms-flex:1;flex:1;}.s1d2sfgl.slider-range-values-placement-outer .s1w9icbd{position:absolute;bottom:var(--plasma-slider-range-value-bottom-offset);left:0;}.s1d2sfgl.slider-range-values-placement-outer .s1w9icbd.slider-max-range-value{left:unset;right:0;}.s1d2sfgl.slider-range-values-placement-inner{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}.s1d2sfgl.slider-range-values-placement-inner .s1w9icbd{margin-right:var(--plasma-slider-range-min-value-margin);}.s1d2sfgl.slider-range-values-placement-inner .s1w9icbd.slider-max-range-value{margin-right:0;margin-left:var(--plasma-slider-range-max-value-margin);}
|
6
|
-
.ss3ujqx{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;opacity:var(--plasma-slider-disabled-opacity);}.ss3ujqx.slider-label-placement-outer{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}.ss3ujqx.slider-label-placement-outer .l1p4kc08{margin-bottom:var(--plasma-slider-label-wrapper-margin-bottom);}.ss3ujqx.slider-label-placement-inner .l1p4kc08{margin-right:var(--plasma-slider-label-wrapper-margin-right);}
|
@@ -1,5 +0,0 @@
|
|
1
|
-
.s33crq1{-webkit-flex:1;-ms-flex:1;flex:1;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;height:var(--plasma-slider-height);}
|
2
|
-
.rnaoqfb{height:100%;}
|
3
|
-
.r1bro5xo{position:relative;top:50%;height:var(--plasma-slider-rail-height);border-radius:var(--plasma-slider-rail-border-radius);background-color:var(--plasma-slider-rail-background-color);overflow:hidden;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);}
|
4
|
-
.fdg7yhg{position:absolute;height:100%;top:0;left:0;background:var(--plasma-slider-fill-color);width:0;}
|
5
|
-
.i17ya4q3{visibility:hidden;width:0;height:0;opacity:0;margin:0;padding:0;border:none;}
|
@@ -1,2 +0,0 @@
|
|
1
|
-
.h1tnrnip{cursor:pointer;position:absolute;z-index:1;top:0;left:0;}
|
2
|
-
.s12uu2lj{position:absolute;z-index:1;top:var(--plasma-slider-current-value-top-offset);text-align:center;width:100%;margin-left:-0.125rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;font-family:var(--plasma-slider-current-value-font-family);font-size:var(--plasma-slider-current-value-font-size);font-style:var(--plasma-slider-current-value-font-style);font-weight:var(--plasma-slider-current-value-font-weight);-webkit-letter-spacing:var(--plasma-slider-current-value-letter-spacing);-moz-letter-spacing:var(--plasma-slider-current-value-letter-spacing);-ms-letter-spacing:var(--plasma-slider-current-value-letter-spacing);letter-spacing:var(--plasma-slider-current-value-letter-spacing);line-height:var(--plasma-slider-current-value-line-height);}
|
@@ -1 +0,0 @@
|
|
1
|
-
.tqbdf8b{width:var(--plasma-slider-thumb-size);height:var(--plasma-slider-thumb-size);position:relative;left:-0.125rem;top:-0.125rem;border-radius:50%;box-sizing:border-box;background:var(--plasma-slider-thumb-background-color);margin:0.125rem;-webkit-transition:border-color 0.1s ease-in-out;transition:border-color 0.1s ease-in-out;position:relative;}.tqbdf8b:after{background:var(--plasma-slider-thumb-border-color);margin:-0.125rem;content:'';position:absolute;inset:0;z-index:-1;border-radius:inherit;}.tqbdf8b:not([disabled]):hover:after,.tqbdf8b:not([disabled]):active:after{background:var(--plasma-slider-thumb-focus-border-color);}.tqbdf8b[disabled]{cursor:not-allowed;}.tqbdf8b:focus{outline:none;}.tqbdf8b::before{content:'';position:absolute;top:0.125rem;left:0.125rem;right:0.125rem;bottom:0.125rem;z-index:1;display:block;box-sizing:content-box;border:0.125rem solid transparent;border-radius:50%;-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.tqbdf8b.focus-visible:focus::before,.tqbdf8b[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.125rem var(--plasma-slider-thumb-focus-border-color);}
|
@@ -1 +0,0 @@
|
|
1
|
-
|