@salutejs/plasma-new-hope 0.174.0-dev.0 → 0.175.0-canary.1452.11541985977.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/components/Slider/Slider.css +15 -13
- package/cjs/components/Slider/Slider.js +11 -2
- package/cjs/components/Slider/Slider.js.map +1 -1
- package/cjs/components/Slider/Slider.tokens.js +23 -17
- package/cjs/components/Slider/Slider.tokens.js.map +1 -1
- package/cjs/components/Slider/components/Double/Double.css +8 -8
- package/cjs/components/Slider/components/Double/Double.js +58 -23
- package/cjs/components/Slider/components/Double/Double.js.map +1 -1
- package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +98 -0
- package/cjs/components/Slider/components/Single/Single.css +14 -14
- package/cjs/components/Slider/components/Single/Single.js +64 -33
- package/cjs/components/Slider/components/Single/Single.js.map +1 -1
- package/cjs/components/Slider/components/Single/Single.styles.js +4 -4
- package/cjs/components/Slider/components/Single/Single.styles.js.map +1 -1
- package/cjs/components/Slider/components/Single/Single.styles_1h7n2s2.css +6 -0
- package/cjs/components/Slider/components/SliderBase/SliderBase.css +5 -5
- package/cjs/components/Slider/components/SliderBase/SliderBase.js +31 -12
- package/cjs/components/Slider/components/SliderBase/SliderBase.js.map +1 -1
- package/cjs/components/Slider/components/SliderBase/SliderBase.styles.js +7 -7
- package/cjs/components/Slider/components/SliderBase/SliderBase.styles.js.map +1 -1
- package/cjs/components/Slider/components/SliderBase/SliderBase.styles_1qt1224.css +5 -0
- package/cjs/components/Slider/ui/Handler/Handler.css +3 -3
- package/cjs/components/Slider/ui/Handler/Handler.js +49 -88
- package/cjs/components/Slider/ui/Handler/Handler.js.map +1 -1
- package/cjs/components/Slider/ui/Handler/Handler.styles.js +17 -7
- package/cjs/components/Slider/ui/Handler/Handler.styles.js.map +1 -1
- package/cjs/components/Slider/ui/Handler/Handler.styles_irtcgm.css +2 -0
- package/cjs/components/Slider/ui/Handler/computeKeyPressData.js +122 -0
- package/cjs/components/Slider/ui/Handler/computeKeyPressData.js.map +1 -0
- package/cjs/components/Slider/ui/Thumb/Thumb.css +1 -1
- package/cjs/components/Slider/ui/Thumb/Thumb.js +3 -2
- package/cjs/components/Slider/ui/Thumb/Thumb.js.map +1 -1
- package/cjs/components/Slider/ui/Thumb/Thumb.styles.js +1 -1
- package/cjs/components/Slider/ui/Thumb/Thumb.styles.js.map +1 -1
- package/cjs/components/Slider/ui/Thumb/Thumb.styles_uyn20e.css +1 -0
- package/cjs/components/Slider/utils/index.js +28 -10
- package/cjs/components/Slider/utils/index.js.map +1 -1
- package/cjs/components/Slider/variations/_view/base.js +1 -1
- package/cjs/components/Slider/variations/_view/base.js.map +1 -1
- package/cjs/components/Slider/variations/_view/base_1s3f6q8.css +1 -0
- package/cjs/index.css +15 -13
- package/cjs/utils/index.js.map +1 -1
- package/emotion/cjs/components/Slider/Slider.js +10 -2
- package/emotion/cjs/components/Slider/Slider.template-doc.mdx +26 -0
- package/emotion/cjs/components/Slider/Slider.tokens.js +23 -17
- package/emotion/cjs/components/Slider/components/Double/Double.js +54 -19
- package/emotion/cjs/components/Slider/components/Single/Single.js +64 -33
- package/emotion/cjs/components/Slider/components/Single/Single.styles.js +18 -9
- package/emotion/cjs/components/Slider/components/SliderBase/SliderBase.js +31 -12
- package/emotion/cjs/components/Slider/components/SliderBase/SliderBase.styles.js +10 -10
- package/emotion/cjs/components/Slider/ui/Handler/Handler.js +52 -88
- package/emotion/cjs/components/Slider/ui/Handler/Handler.styles.js +9 -15
- package/emotion/cjs/components/Slider/ui/Handler/computeKeyPressData.js +121 -0
- package/emotion/cjs/components/Slider/ui/Thumb/Thumb.js +3 -2
- package/emotion/cjs/components/Slider/ui/Thumb/Thumb.styles.js +3 -3
- package/emotion/cjs/components/Slider/utils/index.js +28 -10
- package/emotion/cjs/components/Slider/variations/_view/base.js +2 -1
- package/emotion/cjs/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/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/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/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/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/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,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", "showRangeValues", "showCurrentValue", "hideMinValueDiff", "hideMaxValueDiff", "labelPlacement", "rangeValuesPlacement", "multipleStepSize", "defaultValue", "size", "name"];
|
2
|
+
var _excluded = ["min", "max", "value", "disabled", "onChangeCommitted", "onChange", "ariaLabel", "label", "labelContentLeft", "labelContent", "sliderAlign", "showScale", "showRangeValues", "showCurrentValue", "hideMinValueDiff", "hideMaxValueDiff", "labelPlacement", "rangeValuesPlacement", "scaleAlign", "multipleStepSize", "defaultValue", "size", "name", "pointerSize", "orientation", "reversed", "labelReversed"];
|
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, LabelContent, 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,23 +33,35 @@ 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,
|
36
40
|
showRangeValues = _ref.showRangeValues,
|
37
41
|
showCurrentValue = _ref.showCurrentValue,
|
38
42
|
hideMinValueDiff = _ref.hideMinValueDiff,
|
39
43
|
hideMaxValueDiff = _ref.hideMaxValueDiff,
|
40
44
|
_ref$labelPlacement = _ref.labelPlacement,
|
41
|
-
labelPlacement = _ref$labelPlacement === void 0 ? '
|
42
|
-
|
43
|
-
|
45
|
+
labelPlacement = _ref$labelPlacement === void 0 ? 'top' : _ref$labelPlacement,
|
46
|
+
rangeValuesPlacementOld = _ref.rangeValuesPlacement,
|
47
|
+
_ref$scaleAlign = _ref.scaleAlign,
|
48
|
+
scaleAlign = _ref$scaleAlign === void 0 ? 'bottom' : _ref$scaleAlign,
|
44
49
|
_ref$multipleStepSize = _ref.multipleStepSize,
|
45
50
|
multipleStepSize = _ref$multipleStepSize === void 0 ? 10 : _ref$multipleStepSize,
|
46
51
|
defaultValue = _ref.defaultValue,
|
47
52
|
_ref$size = _ref.size,
|
48
53
|
size = _ref$size === void 0 ? 'm' : _ref$size,
|
49
54
|
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,
|
50
61
|
rest = _objectWithoutProperties(_ref, _excluded);
|
62
|
+
var isVertical = orientation === 'vertical';
|
51
63
|
var _useState = useState({
|
52
|
-
|
64
|
+
handlePosition: 0,
|
53
65
|
stepSize: 0,
|
54
66
|
railFillWidth: 0
|
55
67
|
}),
|
@@ -65,23 +77,28 @@ export var SingleSlider = function SingleSlider(_ref) {
|
|
65
77
|
_useState6 = _slicedToArray(_useState5, 2),
|
66
78
|
endOffset = _useState6[0],
|
67
79
|
setEndOffset = _useState6[1];
|
68
|
-
var
|
80
|
+
var innerValue = (_ref2 = value !== null && value !== void 0 ? value : defaultValue) !== null && _ref2 !== void 0 ? _ref2 : min;
|
81
|
+
var _useState7 = useState(innerValue),
|
69
82
|
_useState8 = _slicedToArray(_useState7, 2),
|
70
83
|
dragValue = _useState8[0],
|
71
84
|
setDragValue = _useState8[1];
|
72
85
|
var stepSize = state.stepSize;
|
73
|
-
var
|
74
|
-
var
|
75
|
-
var
|
86
|
+
var innerShowScale = showRangeValues || showScale;
|
87
|
+
var hasLabelContent = Boolean(label || labelContentLeft || labelContent) && (!isVertical || isVertical && sliderAlign !== 'none');
|
88
|
+
var labelPlacementClass = !isVertical && (labelPlacement === 'outer' || labelPlacement === 'top') ? classes.labelPlacementOuter : classes.labelPlacementInner;
|
89
|
+
var rangeValuesPlacement = rangeValuesPlacementOld === 'outer' || scaleAlign === 'bottom' ? 'outer' : 'inner';
|
90
|
+
var scaleAlignClass = rangeValuesPlacement === 'outer' ? classes.rangeValuesPlacementOuter : classes.rangeValuesPlacementInner;
|
76
91
|
var hideMinValueDiffClass = hideMinValueDiff && dragValue - min <= hideMinValueDiff ? classes.hideMinValue : '';
|
77
92
|
var hideMaxValueDiffClass = hideMaxValueDiff && max - dragValue <= hideMaxValueDiff ? classes.hideMaxValue : '';
|
93
|
+
var verticalOrientationClass = orientation === 'vertical' ? classes.verticalOrientation : '';
|
78
94
|
var startLabelRef = useRef(null);
|
79
95
|
var endLabelRef = useRef(null);
|
80
96
|
var activeFirstValue = dragValue === min ? classes.activeRangeValue : undefined;
|
81
97
|
var activeSecondValue = dragValue === max ? classes.activeRangeValue : undefined;
|
82
98
|
useEffect(function () {
|
83
|
-
var
|
84
|
-
|
99
|
+
var visibleValue = reversed ? max - dragValue + min : dragValue;
|
100
|
+
var localValue = Math.min(Math.max(visibleValue, min), max) - min;
|
101
|
+
if (!isVertical && rangeValuesPlacement === 'outer') {
|
85
102
|
var _startLabelRef$curren, _endLabelRef$current;
|
86
103
|
var startWidth = (_startLabelRef$curren = startLabelRef.current) === null || _startLabelRef$curren === void 0 ? void 0 : _startLabelRef$curren.offsetWidth;
|
87
104
|
if (isNumber(startWidth)) {
|
@@ -91,30 +108,35 @@ export var SingleSlider = function SingleSlider(_ref) {
|
|
91
108
|
if (isNumber(endWidth)) {
|
92
109
|
setEndOffset(Number(endWidth));
|
93
110
|
}
|
111
|
+
} else if (isVertical && innerShowScale && sliderAlign !== 'center') {
|
112
|
+
setStartOffset(12);
|
113
|
+
setEndOffset(12);
|
94
114
|
} else {
|
95
115
|
setStartOffset(1);
|
96
116
|
setEndOffset(1);
|
97
117
|
}
|
98
118
|
setState(function (prevState) {
|
99
119
|
return _objectSpread(_objectSpread({}, prevState), {}, {
|
100
|
-
|
120
|
+
handlePosition: stepSize * localValue,
|
101
121
|
railFillWidth: stepSize * localValue
|
102
122
|
});
|
103
123
|
});
|
104
|
-
}, [dragValue, labelPlacement, stepSize, rangeValuesPlacement, min, max,
|
124
|
+
}, [dragValue, innerShowScale, labelPlacement, stepSize, rangeValuesPlacement, min, max, isVertical, reversed,
|
125
|
+
// для перерасчета размеров
|
126
|
+
sliderAlign, size]);
|
105
127
|
var setStepSize = useCallback(function (newStepSize) {
|
106
128
|
setState(function (prevState) {
|
107
129
|
return _objectSpread(_objectSpread({}, prevState), {}, {
|
108
130
|
stepSize: newStepSize
|
109
131
|
});
|
110
132
|
});
|
111
|
-
}, [
|
133
|
+
}, []);
|
112
134
|
var onHandleChange = function onHandleChange(handleValue, data) {
|
113
|
-
var
|
114
|
-
var
|
135
|
+
var newValue = Math.round(reversed ? max - handleValue + min : handleValue);
|
136
|
+
var newHandlePosition = isVertical ? data.y : data.x;
|
115
137
|
setState(function (prevState) {
|
116
138
|
return _objectSpread(_objectSpread({}, prevState), {}, {
|
117
|
-
railFillWidth:
|
139
|
+
railFillWidth: newHandlePosition
|
118
140
|
});
|
119
141
|
});
|
120
142
|
if (onChange) {
|
@@ -132,41 +154,49 @@ export var SingleSlider = function SingleSlider(_ref) {
|
|
132
154
|
}
|
133
155
|
setDragValue(newValue);
|
134
156
|
};
|
135
|
-
var onHandleChangeCommitted = function
|
136
|
-
var newValue = Math.round(handleValue);
|
157
|
+
var onHandleChangeCommitted = useCallback(function (handleValue, data) {
|
158
|
+
var newValue = Math.round(reversed ? max - handleValue + min : handleValue);
|
137
159
|
if (onChangeCommitted) {
|
138
160
|
onChangeCommitted(newValue);
|
139
161
|
}
|
140
162
|
setState(function (prevState) {
|
141
163
|
return _objectSpread(_objectSpread({}, prevState), {}, {
|
142
|
-
|
143
|
-
railFillWidth: data.lastX
|
164
|
+
handlePosition: isVertical ? data.lastY : data.lastX,
|
165
|
+
railFillWidth: isVertical ? data.lastY : data.lastX
|
144
166
|
});
|
145
167
|
});
|
146
168
|
setDragValue(newValue);
|
147
|
-
};
|
169
|
+
}, [isVertical, min, max, reversed]);
|
170
|
+
var labelVerticalPlacement = reversed ? 'bottom' : 'top';
|
171
|
+
var valuePlacement = sliderAlign === 'right' ? 'left' : 'right';
|
172
|
+
var settings = sizeData[size][pointerSize === 'large' ? 'large' : 'small'];
|
148
173
|
return /*#__PURE__*/React.createElement(SingleWrapper, {
|
149
|
-
className: labelPlacementClass
|
150
|
-
}, hasLabelContent && /*#__PURE__*/React.createElement(LabelWrapper, null, labelContentLeft && /*#__PURE__*/React.createElement(
|
151
|
-
className:
|
152
|
-
},
|
174
|
+
className: cx(labelPlacementClass, scaleAlignClass, verticalOrientationClass, sliderAlign === 'right' && classes.labelAlignLeft, (sliderAlign === 'center' || sliderAlign === 'none') && classes.labelAlignCenter, sliderAlign === 'left' && classes.labelAlignRight, labelVerticalPlacement === 'bottom' && classes.labelPlacementBottom, labelReversed && classes.labelContentReversed)
|
175
|
+
}, hasLabelContent && /*#__PURE__*/React.createElement(LabelWrapper, null, (labelContentLeft || labelContent) && /*#__PURE__*/React.createElement(LabelContent, null, labelContent), label && /*#__PURE__*/React.createElement(Label, null, label)), /*#__PURE__*/React.createElement(SliderBaseWrapper, {
|
176
|
+
className: cx(!isVertical && rangeValuesPlacement === 'outer' && classes.rangeValuesPlacementOuter, !isVertical && rangeValuesPlacement !== 'outer' && classes.rangeValuesPlacementInner, verticalOrientationClass)
|
177
|
+
}, innerShowScale && /*#__PURE__*/React.createElement(StyledRangeValue, {
|
153
178
|
ref: startLabelRef,
|
154
179
|
className: cx(hideMinValueDiffClass, activeFirstValue)
|
155
|
-
}, min), /*#__PURE__*/React.createElement(SliderBase, _extends({
|
180
|
+
}, reversed ? max : min), /*#__PURE__*/React.createElement(SliderBase, _extends({
|
156
181
|
min: min,
|
157
182
|
max: max,
|
158
183
|
disabled: disabled,
|
184
|
+
size: size,
|
185
|
+
sliderAlign: sliderAlign,
|
159
186
|
setStepSize: setStepSize,
|
160
187
|
onChange: onHandleChangeCommitted,
|
161
188
|
railFillWidth: state.railFillWidth,
|
162
|
-
settings:
|
189
|
+
settings: settings,
|
163
190
|
labelPlacement: labelPlacement,
|
164
|
-
rangeValuesPlacement: rangeValuesPlacement
|
191
|
+
rangeValuesPlacement: rangeValuesPlacement,
|
192
|
+
orientation: orientation
|
165
193
|
}, rest), /*#__PURE__*/React.createElement(Handler, {
|
194
|
+
size: pointerSize,
|
195
|
+
orientation: orientation,
|
166
196
|
stepSize: state.stepSize,
|
167
197
|
onChangeCommitted: onHandleChangeCommitted,
|
168
198
|
onChange: onHandleChange,
|
169
|
-
|
199
|
+
position: state.handlePosition,
|
170
200
|
min: min,
|
171
201
|
max: max,
|
172
202
|
startOffset: startOffset,
|
@@ -175,11 +205,12 @@ export var SingleSlider = function SingleSlider(_ref) {
|
|
175
205
|
disabled: disabled,
|
176
206
|
ariaLabel: ariaLabel,
|
177
207
|
multipleStepSize: multipleStepSize,
|
178
|
-
showCurrentValue: showCurrentValue
|
179
|
-
|
208
|
+
showCurrentValue: showCurrentValue,
|
209
|
+
valuePlacement: valuePlacement
|
210
|
+
})), innerShowScale && /*#__PURE__*/React.createElement(StyledRangeValue, {
|
180
211
|
ref: endLabelRef,
|
181
212
|
className: cx(classes.maxRangeValue, hideMaxValueDiffClass, activeSecondValue)
|
182
|
-
}, max)), /*#__PURE__*/React.createElement(InputHidden, _extends({
|
213
|
+
}, reversed ? min : max)), /*#__PURE__*/React.createElement(InputHidden, _extends({
|
183
214
|
name: name,
|
184
215
|
type: "number",
|
185
216
|
datatype: "slider-single",
|
@@ -1,26 +1,35 @@
|
|
1
1
|
import _styled from "@emotion/styled/base";
|
2
|
+
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
2
3
|
import { classes, tokens } from '../../Slider.tokens';
|
3
4
|
export var LabelWrapper = /*#__PURE__*/_styled("div", {
|
4
5
|
target: "e75awbu5",
|
5
6
|
label: "plasma-new-hope__LabelWrapper"
|
6
|
-
})("color:var(", tokens.labelColor, ");display:flex;gap:var(", tokens.labelWrapperGap, ");" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
7
|
-
export var
|
7
|
+
})("color:var(", tokens.labelColor, ");display:flex;gap:var(", tokens.labelWrapperGap, ");" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2xpZGVyL2NvbXBvbmVudHMvU2luZ2xlL1NpbmdsZS5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBSXNDIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2xpZGVyL2NvbXBvbmVudHMvU2luZ2xlL1NpbmdsZS5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IGNsYXNzZXMsIHRva2VucyB9IGZyb20gJy4uLy4uL1NsaWRlci50b2tlbnMnO1xuXG5leHBvcnQgY29uc3QgTGFiZWxXcmFwcGVyID0gc3R5bGVkLmRpdmBcbiAgICBjb2xvcjogdmFyKCR7dG9rZW5zLmxhYmVsQ29sb3J9KTtcblxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgZ2FwOiB2YXIoJHt0b2tlbnMubGFiZWxXcmFwcGVyR2FwfSk7XG5gO1xuXG5leHBvcnQgY29uc3QgTGFiZWxDb250ZW50ID0gc3R5bGVkLmRpdmBcbiAgICBkaXNwbGF5OiBpbmxpbmUtZmxleDtcbmA7XG5cbmV4cG9ydCBjb25zdCBMYWJlbCA9IHN0eWxlZC5sYWJlbGBcbiAgICBmb250LWZhbWlseTogdmFyKCR7dG9rZW5zLmxhYmVsRm9udEZhbWlseX0pO1xuICAgIGZvbnQtc2l6ZTogdmFyKCR7dG9rZW5zLmxhYmVsRm9udFNpemV9KTtcbiAgICBmb250LXN0eWxlOiB2YXIoJHt0b2tlbnMubGF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gICAgICB9XG5cbiAgICAgICAgICAgICAgICAmLiR7Y2xhc3Nlcy5sYWJlbENvbnRlbnRSZXZlcnNlZH0ge1xuICAgICAgICAgICAgICAgICAgICAke0xhYmVsV3JhcHBlcn0ge1xuICAgICAgICAgICAgICAgICAgICAgICAgZmxleC1kaXJlY3Rpb246IGNvbHVtbi1yZXZlcnNlO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAmLiR7Y2xhc3Nlcy5sYWJlbENvbnRlbnRSZXZlcnNlZH0ge1xuICAgICAgICAgICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICAgICAgICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgJHtMYWJlbFdyYXBwZXJ9IHtcbiAgICAgICAgICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gICAgICAgIH1cblxuICAgICAgICAke1NsaWRlckJhc2VXcmFwcGVyfSB7XG4gICAgICAgICAgICB3aWR0aDogdmFyKCR7dG9rZW5zLnNpemV9KTtcbiAgICAgICAgfVxuXG4gICAgICAgICYuJHtjbGFzc2VzLmxhYmVsUGxhY2VtZW50SW5uZXJ9IHtcbiAgICAgICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICAgICAgbWFyZ2luLXJpZ2h0OiAwO1xuICAgICAgICAgICAgICAgIG1hcmdpbi1ib3R0b206IHZhcigke3Rva2Vucy5sYWJlbFdyYXBwZXJWZXJ0aWNhbE1hcmdpbn0pO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgJi4ke2NsYXNzZXMubGFiZWxBbGlnbkxlZnR9IHtcbiAgICAgICAgICAgIGFsaWduLWl0ZW1zOiBmbGV4LWVuZDtcblxuICAgICAgICAgICAgJHtMYWJl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ZX0ge1xuICAgICAgICAgICAgICAgIHBvc2l0aW9uOiBzdGF0aWM7XG4gICAgICAgICAgICAgICAgYm90dG9tOiAwO1xuICAgICAgICAgICAgICAgIGxlZnQ6IDA7XG4gICAgICAgICAgICAgICAgbWFyZ2luLWJvdHRvbTogdmFyKCR7dG9rZW5zLnJhbmdlVmFsdWVWZXJ0aWNhbE1hcmdpbn0pO1xuXG4gICAgICAgICAgICAgICAgJi4ke2NsYXNzZXMubWF4UmFuZ2VWYWx1ZX0ge1xuICAgICAgICAgICAgICAgICAgICBsZWZ0OiAwO1xuICAgICAgICAgICAgICAgICAgICByaWdodDogMDtcbiAgICAgICAgICAgICAgICAgICAgYm90dG9tOiAwO1xuICAgICAgICAgICAgICAgICAgICBtYXJnaW4tdG9wOiB2YXIoJHt0b2tlbnMucmFuZ2VWYWx1ZVZlcnRpY2FsTWFyZ2lufSk7XG4gICAgICAgICAgICAgICAgICAgIG1hcmdpbi1ib3R0b206IDA7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgJi4ke2NsYXNzZXMubGFiZWxBbGlnbkxlZnR9LCAmLiR7Y2xhc3Nlcy5sYWJlbEFsaWduUmlnaHR9IHtcbiAgICAgICAgICAgICR7U3R5bGVkUmFuZ2VWYWx1ZX0ge1xuICAgICAgICAgICAgICAgIG1hcmdpbi1yaWdodDogMDtcbiAgICAgICAgICAgICAgICBtYXJnaW4tYm90dG9tOiAwO1xuICAgICAgICAgICAgICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICAgICAgICAgICAgICB0b3A6IDA7XG5cbiAgICAgICAgICAgICAgICByaWdodDogY2FsYyhcbiAgICAgICAgICAgICAgICAgICAgdmFyKCR7dG9rZW5zLnJhaWxUaGlja25lc3N9KSAvIDIgKyB2YXIoJHt0b2tlbnMuc2l6ZX0pIC8gMiArXG4gICAgICAgICAgICAgICAgICAgICAgICB2YXIoJHt0b2tlbnMucmFuZ2VWYWx1ZUhvcml6b250YWxPZmZzZXR9KVxuICAgICAgICAgICAgICAgICk7XG5cbiAgICAgICAgICAgICAgICAmLiR7Y2xhc3Nlcy5tYXhSYW5nZVZhbHVlfSB7XG4gICAgICAgICAgICAgICAgICAgIG1hcmdpbi1yaWdodDogMDtcbiAgICAgICAgICAgICAgICAgICAgbWFyZ2luLWxlZnQ6IDA7XG4gICAgICAgICAgICAgICAgICAgIHRvcDogYXV0bztcbiAgICAgICAgICAgICAgICAgICAgYm90dG9tOiAwO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgICYuJHtjbGFzc2VzLmxhYmVsQWxpZ25SaWdodH0ge1xuICAgICAgICAgICAgJHtTdHlsZWRSYW5nZVZhbHVlfSB7XG4gICAgICAgICAgICAgICAgbGVmdDogY2FsYyh2YXIoJHt0b2tlbnMuc2l6ZX0pICsgdmFyKCR7dG9rZW5zLnJhaWxUaGlja25lc3N9KSk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG5gO1xuIl19 */"));
|
8
|
+
export var LabelContent = /*#__PURE__*/_styled("div", {
|
8
9
|
target: "e75awbu4",
|
9
|
-
label: "plasma-new-
|
10
|
-
})(process.env.NODE_ENV === "production" ?
|
10
|
+
label: "plasma-new-hope__LabelContent"
|
11
|
+
})(process.env.NODE_ENV === "production" ? {
|
12
|
+
name: "1lv1yo7",
|
13
|
+
styles: "display:inline-flex"
|
14
|
+
} : {
|
15
|
+
name: "1lv1yo7",
|
16
|
+
styles: "display:inline-flex",
|
17
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2xpZGVyL2NvbXBvbmVudHMvU2luZ2xlL1NpbmdsZS5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncy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iAgICAgICAgICAgIG1hcmdpbi1ib3R0b206IHZhcigke3Rva2Vucy5sYWJlbFdyYXBwZXJNYXJnaW5Cb3R0b219KTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgICYuJHtjbGFzc2VzLmxhYmVsUGxhY2VtZW50SW5uZXJ9IHtcbiAgICAgICAgJHtMYWJlbFdyYXBwZXJ9IHtcbiAgICAgICAgICAgIG1hcmdpbi1yaWdodDogdmFyKCR7dG9rZW5zLmxhYmVsV3JhcHBlck1hcmdpblJpZ2h0fSk7XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAmLiR7Y2xhc3Nlcy52ZXJ0aWNhbE9yaWVudGF0aW9ufSB7XG4gICAgICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gICAgICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG5cbiAgICAgICAgJi4ke2NsYXNzZXMubGFiZWxBbGlnbkNlbnRlcn0ge1xuICAgICAgICAgICAgJHtMYWJlbFdyYXBwZXJ9IHtcbiAgICAgICAgICAgICAgICBmbGV4LWRpcmVjdGlvbjogY29sdW1uLXJldmVyc2U7XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICYuJHtjbGFzc2VzLmxhYmVsUGxhY2VtZW50Qm90dG9tfSB7XG4gICAgICAgICAgICAgICAgJHtMYWJlbFdyYXBwZXJ9IHtcbiAgICAgICAgICAgICAgICAgICAgZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICAmLiR7Y2xhc3Nlcy5sYWJlbENvbnRlbnRSZXZlcnNlZH0ge1xuICAgICAgICAgICAgICAgICAgICAke0xhYmVsV3JhcHBlcn0ge1xuICAgICAgICAgICAgICAgICAgICAgICAgZmxleC1kaXJlY3Rpb246IGNvbHVtbi1yZXZlcnNlO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAmLiR7Y2xhc3Nlcy5sYWJlbENvbnRlbnRSZXZlcnNlZH0ge1xuICAgICAgICAgICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICAgICAgICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgJHtMYWJlbFdyYXBwZXJ9IHtcbiAgICAgICAgICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gICAgICAgIH1cblxuICAgICAgICAke1NsaWRlckJhc2VXcmFwcGVyfSB7XG4gICAgICAgICAgICB3aWR0aDogdmFyKCR7dG9rZW5zLnNpemV9KTtcbiAgICAgICAgfVxuXG4gICAgICAgICYuJHtjbGFzc2VzLmxhYmVsUGxhY2VtZW50SW5uZXJ9IHtcbiAgICAgICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICAgICAgbWFyZ2luLXJpZ2h0OiAwO1xuICAgICAgICAgICAgICAgIG1hcmdpbi1ib3R0b206IHZhcigke3Rva2Vucy5sYWJlbFdyYXBwZXJWZXJ0aWNhbE1hcmdpbn0pO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgJi4ke2NsYXNzZXMubGFiZWxBbGlnbkxlZnR9IHtcbiAgICAgICAgICAgIGFsaWduLWl0ZW1zOiBmbGV4LWVuZDtcblxuICAgICAgICAgICAgJHtMYWJlbFdyYXBwZXJ9IHtcbiAgICAgICAgICAgICAgICBmbGV4LWRpcmVjdGlvbjogcm93LXJldmVyc2U7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICAmLiR7Y2xhc3Nlcy5sYWJlbEFsaWduUmlnaHR9IHtcbiAgICAgICAgICAgIGFsaWduLWl0ZW1zOiBmbGV4LXN0YXJ0O1xuICAgICAgICB9XG5cbiAgICAgICAgJi4ke2NsYXNzZXMubGFiZWxQbGFjZW1l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ZX0ge1xuICAgICAgICAgICAgICAgICAgICBsZWZ0OiAwO1xuICAgICAgICAgICAgICAgICAgICByaWdodDogMDtcbiAgICAgICAgICAgICAgICAgICAgYm90dG9tOiAwO1xuICAgICAgICAgICAgICAgICAgICBtYXJnaW4tdG9wOiB2YXIoJHt0b2tlbnMucmFuZ2VWYWx1ZVZlcnRpY2FsTWFyZ2lufSk7XG4gICAgICAgICAgICAgICAgICAgIG1hcmdpbi1ib3R0b206IDA7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgJi4ke2NsYXNzZXMubGFiZWxBbGlnbkxlZnR9LCAmLiR7Y2xhc3Nlcy5sYWJlbEFsaWduUmlnaHR9IHtcbiAgICAgICAgICAgICR7U3R5bGVkUmFuZ2VWYWx1ZX0ge1xuICAgICAgICAgICAgICAgIG1hcmdpbi1yaWdodDogMDtcbiAgICAgICAgICAgICAgICBtYXJnaW4tYm90dG9tOiAwO1xuICAgICAgICAgICAgICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICAgICAgICAgICAgICB0b3A6IDA7XG5cbiAgICAgICAgICAgICAgICByaWdodDogY2FsYyhcbiAgICAgICAgICAgICAgICAgICAgdmFyKCR7dG9rZW5zLnJhaWxUaGlja25lc3N9KSAvIDIgKyB2YXIoJHt0b2tlbnMuc2l6ZX0pIC8gMiArXG4gICAgICAgICAgICAgICAgICAgICAgICB2YXIoJHt0b2tlbnMucmFuZ2VWYWx1ZUhvcml6b250YWxPZmZzZXR9KVxuICAgICAgICAgICAgICAgICk7XG5cbiAgICAgICAgICAgICAgICAmLiR7Y2xhc3Nlcy5tYXhSYW5nZVZhbHVlfSB7XG4gICAgICAgICAgICAgICAgICAgIG1hcmdpbi1yaWdodDogMDtcbiAgICAgICAgICAgICAgICAgICAgbWFyZ2luLWxlZnQ6IDA7XG4gICAgICAgICAgICAgICAgICAgIHRvcDogYXV0bztcbiAgICAgICAgICAgICAgICAgICAgYm90dG9tOiAwO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgICYuJHtjbGFzc2VzLmxhYmVsQWxpZ25SaWdodH0ge1xuICAgICAgICAgICAgJHtTdHlsZWRSYW5nZVZhbHVlfSB7XG4gICAgICAgICAgICAgICAgbGVmdDogY2FsYyh2YXIoJHt0b2tlbnMuc2l6ZX0pICsgdmFyKCR7dG9rZW5zLnJhaWxUaGlja25lc3N9KSk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG5gO1xuIl19 */",
|
18
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
19
|
+
});
|
11
20
|
export var Label = /*#__PURE__*/_styled("label", {
|
12
21
|
target: "e75awbu3",
|
13
22
|
label: "plasma-new-hope__Label"
|
14
|
-
})("font-family:var(", tokens.labelFontFamily, ");font-size:var(", tokens.labelFontSize, ");font-style:var(", tokens.labelFontStyle, ");font-weight:var(", tokens.labelFontWeight, ");letter-spacing:var(", tokens.labelLetterSpacing, ");line-height:var(", tokens.labelLineHeight, ");" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
23
|
+
})("font-family:var(", tokens.labelFontFamily, ");font-size:var(", tokens.labelFontSize, ");font-style:var(", tokens.labelFontStyle, ");font-weight:var(", tokens.labelFontWeight, ");letter-spacing:var(", tokens.labelLetterSpacing, ");line-height:var(", tokens.labelLineHeight, ");" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2xpZGVyL2NvbXBvbmVudHMvU2luZ2xlL1NpbmdsZS5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBZWlDIiwiZmlsZSI6Ii4uLy4uLy4uL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ke3Rva2Vucy5sYWJlbFdyYXBwZXJNYXJnaW5Cb3R0b219KTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgICYuJHtjbGFzc2VzLmxhYmVsUGxhY2VtZW50SW5uZXJ9IHtcbiAgICAgICAgJHtMYWJlbFdyYXBwZXJ9IHtcbiAgICAgICAgICAgIG1hcmdpbi1yaWdodDogdmFyKCR7dG9rZW5zLmxhYmVsV3JhcHBlck1hcmdpblJpZ2h0fSk7XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAmLiR7Y2xhc3Nlcy52ZXJ0aWNhbE9yaWVudGF0aW9ufSB7XG4gICAgICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gICAgICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG5cbiAgICAgICAgJi4ke2NsYXNzZXMubGFiZWxBbGlnbkNlbnRlcn0ge1xuICAgICAgICAgICAgJHtMYWJlbFdyYXBwZXJ9IHtcbiAgICAgICAgICAgICAgICBmbGV4LWRpcmVjdGlvbjogY29sdW1uLXJldmVyc2U7XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICYuJHtjbGFzc2VzLmxhYmVsUGxhY2VtZW50Qm90dG9tfSB7XG4gICAgICAgICAgICAgICAgJHtMYWJlbFdyYXBwZXJ9IHtcbiAgICAgICAgICAgICAgICAgICAgZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICAmLiR7Y2xhc3Nlcy5sYWJlbENvbnRlbnRSZXZlcnNlZH0ge1xuICAgICAgICAgICAgICAgICAgICAke0xhYmVsV3JhcHBlcn0ge1xuICAgICAgICAgICAgICAgICAgICAgICAgZmxleC1kaXJlY3Rpb246IGNvbHVtbi1yZXZlcnNlO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAmLiR7Y2xhc3Nlcy5sYWJlbENvbnRlbnRSZXZlcnNlZH0ge1xuICAgICAgICAgICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICAgICAgICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgJHtMYWJlbFdyYXBwZXJ9IHtcbiAgICAgICAgICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gICAgICAgIH1cblxuICAgICAgICAke1NsaWRlckJhc2VXcmFwcGVyfSB7XG4gICAgICAgICAgICB3aWR0aDogdmFyKCR7dG9rZW5zLnNpemV9KTtcbiAgICAgICAgfVxuXG4gICAgICAgICYuJHtjbGFzc2VzLmxhYmVsUGxhY2VtZW50SW5uZXJ9IHtcbiAgICAgICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICAgICAgbWFyZ2luLXJpZ2h0OiAwO1xuICAgICAgICAgICAgICAgIG1hcmdpbi1ib3R0b206IHZhcigke3Rva2Vucy5sYWJlbFdyYXBwZXJWZXJ0aWNhbE1hcmdpbn0pO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgJi4ke2NsYXNzZXMubGFiZWxBbGlnbkxlZnR9IHtcbiAgICAgICAgICAgIGFsaWduLWl0ZW1zOiBmbGV4LWVuZDtcblxuICAgICAgICAgICAgJHtMYWJlbFdyYXBwZXJ9IHtcbiAgICAgICAgICAgICAgICBmbGV4LWRpcmVjdGlvbjogcm93LXJldmVyc2U7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICAmLiR7Y2xhc3Nlcy5sYWJlbEFsaWduUmlnaHR9IHtcbiAgICAgICAgICAgIGFsaWduLWl0ZW1zOiBmbGV4LXN0YXJ0O1xuICAgICAgICB9XG5cbiAgICAgICAgJi4ke2NsYXNzZXMubGFiZWxQbGFjZW1lbnRCb3R0b219IHtcbiAgICAgICAgICAgIGZsZXgtZ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iAwO1xuICAgICAgICAgICAgICAgICAgICByaWdodDogMDtcbiAgICAgICAgICAgICAgICAgICAgYm90dG9tOiAwO1xuICAgICAgICAgICAgICAgICAgICBtYXJnaW4tdG9wOiB2YXIoJHt0b2tlbnMucmFuZ2VWYWx1ZVZlcnRpY2FsTWFyZ2lufSk7XG4gICAgICAgICAgICAgICAgICAgIG1hcmdpbi1ib3R0b206IDA7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgJi4ke2NsYXNzZXMubGFiZWxBbGlnbkxlZnR9LCAmLiR7Y2xhc3Nlcy5sYWJlbEFsaWduUmlnaHR9IHtcbiAgICAgICAgICAgICR7U3R5bGVkUmFuZ2VWYWx1ZX0ge1xuICAgICAgICAgICAgICAgIG1hcmdpbi1yaWdodDogMDtcbiAgICAgICAgICAgICAgICBtYXJnaW4tYm90dG9tOiAwO1xuICAgICAgICAgICAgICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICAgICAgICAgICAgICB0b3A6IDA7XG5cbiAgICAgICAgICAgICAgICByaWdodDogY2FsYyhcbiAgICAgICAgICAgICAgICAgICAgdmFyKCR7dG9rZW5zLnJhaWxUaGlja25lc3N9KSAvIDIgKyB2YXIoJHt0b2tlbnMuc2l6ZX0pIC8gMiArXG4gICAgICAgICAgICAgICAgICAgICAgICB2YXIoJHt0b2tlbnMucmFuZ2VWYWx1ZUhvcml6b250YWxPZmZzZXR9KVxuICAgICAgICAgICAgICAgICk7XG5cbiAgICAgICAgICAgICAgICAmLiR7Y2xhc3Nlcy5tYXhSYW5nZVZhbHVlfSB7XG4gICAgICAgICAgICAgICAgICAgIG1hcmdpbi1yaWdodDogMDtcbiAgICAgICAgICAgICAgICAgICAgbWFyZ2luLWxlZnQ6IDA7XG4gICAgICAgICAgICAgICAgICAgIHRvcDogYXV0bztcbiAgICAgICAgICAgICAgICAgICAgYm90dG9tOiAwO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgICYuJHtjbGFzc2VzLmxhYmVsQWxpZ25SaWdodH0ge1xuICAgICAgICAgICAgJHtTdHlsZWRSYW5nZVZhbHVlfSB7XG4gICAgICAgICAgICAgICAgbGVmdDogY2FsYyh2YXIoJHt0b2tlbnMuc2l6ZX0pICsgdmFyKCR7dG9rZW5zLnJhaWxUaGlja25lc3N9KSk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG5gO1xuIl19 */"));
|
15
24
|
export var StyledRangeValue = /*#__PURE__*/_styled("span", {
|
16
25
|
target: "e75awbu2",
|
17
26
|
label: "plasma-new-hope__StyledRangeValue"
|
18
|
-
})("color:var(", tokens.rangeValueColor, ");font-family:var(", tokens.
|
27
|
+
})("color:var(", tokens.rangeValueColor, ");font-family:var(", tokens.valueFontFamily, ");font-size:var(", tokens.valueFontSize, ");font-style:var(", tokens.valueFontStyle, ");font-weight:var(", tokens.valueFontWeight, ");letter-spacing:var(", tokens.valueLetterSpacing, ");line-height:var(", tokens.valueLineHeight, ");transition:opacity 0.1s ease-in-out;&.", classes.hideMinValue, ",&.", classes.hideMaxValue, "{opacity:0;}&.", classes.activeRangeValue, "{color:var(", tokens.labelColor, ");}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2xpZGVyL2NvbXBvbmVudHMvU2luZ2xlL1NpbmdsZS5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBd0IyQyIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL1NsaWRlci9jb21wb25lbnRzL1NpbmdsZS9TaW5nbGUuc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOls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5sYWJlbFBsYWNlbWVudElubmVyfSB7XG4gICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICBtYXJnaW4tcmlnaHQ6IHZhcigke3Rva2Vucy5sYWJlbFdyYXBwZXJNYXJnaW5SaWdodH0pO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgJi4ke2NsYXNzZXMudmVydGljYWxPcmllbnRhdGlvbn0ge1xuICAgICAgICBmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xuICAgICAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuXG4gICAgICAgICYuJHtjbGFzc2VzLmxhYmVsQWxpZ25DZW50ZXJ9IHtcbiAgICAgICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICAgICAgZmxleC1kaXJlY3Rpb246IGNvbHVtbi1yZXZlcnNlO1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAmLiR7Y2xhc3Nlcy5sYWJlbFBsYWNlbWVudEJvdHRvbX0ge1xuICAgICAgICAgICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICAgICAgICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgJi4ke2NsYXNzZXMubGFiZWxDb250ZW50UmV2ZXJzZWR9IHtcbiAgICAgICAgICAgICAgICAgICAgJHtMYWJlbFdyYXBwZXJ9IHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW4tcmV2ZXJzZTtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgJi4ke2NsYXNzZXMubGFiZWxDb250ZW50UmV2ZXJzZWR9IHtcbiAgICAgICAgICAgICAgICAke0xhYmVsV3JhcHBlcn0ge1xuICAgICAgICAgICAgICAgICAgICBmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuICAgICAgICB9XG5cbiAgICAgICAgJHtTbGlkZXJCYXNlV3JhcHBlcn0ge1xuICAgICAgICAgICAgd2lkdGg6IHZhcigke3Rva2Vucy5zaXplfSk7XG4gICAgICAgIH1cblxuICAgICAgICAmLiR7Y2xhc3Nlcy5sYWJlbFBsYWNlbWVudElubmVyfSB7XG4gICAgICAgICAgICAke0xhYmVsV3JhcHBlcn0ge1xuICAgICAgICAgICAgICAgIG1hcmdpbi1yaWdodDogMDtcbiAgICAgICAgICAgICAgICBtYXJnaW4tYm90dG9tOiB2YXIoJHt0b2tlbnMubGFiZWxXcmFwcGVyVmVydGljYWxNYXJnaW59KTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgICYuJHtjbGFzc2VzLmxhYmVsQWxpZ25MZWZ0fSB7XG4gICAgICAgICAgICBhbGlnbi1pdGVtczogZmxleC1lbmQ7XG5cbiAgICAgICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICAgICAgZmxleC1kaXJlY3Rpb246IHJvdy1yZXZlcnNlO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgJi4ke2NsYXNzZXMubGFiZWxBbGlnblJpZ2h0fSB7XG4gICAgICAgICAgICBhbGlnbi1pdGVtczogZmxleC1zdGFydDtcbiAgICAgICAgfVxuXG4gICAgICAgICYuJHtjbGFzc2VzLmxhYmVsUGxhY2VtZW50Qm90dG9tfSB7XG4gICAgICAgICAgICBmbGV4LWRpcmVjdGlvbjogY29sdW1uLXJldmVyc2U7XG5cbiAgICAgICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICAgICAgbWFyZ2luLXRvcDogdmFyKCR7dG9rZW5zLmxhYmVsV3JhcHBlclZlcnRpY2FsTWFyZ2lufSk7XG4gICAgICAgICAgICAgICAgbWFyZ2luLXJpZ2h0OiAwO1xuICAgICAgICAgICAgICAgIG1hcmdpbi1ib3R0b206IDA7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAmLiR7Y2xhc3Nlcy52ZXJ0aWNhbE9yaWVudGF0aW9ufSB7XG4gICAgICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gICAgICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gICAgICAgIGp1c3RpZnktY29udGVudDogY2VudGVyO1xuXG4gICAgICAgICR7U2xpZGVyQmFzZVdyYXBwZXJ9IHtcbiAgICAgICAgICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gICAgICAgICAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuICAgICAgICAgICAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gICAgICAgIH1cblxuICAgICAgICAmLiR7Y2xhc3Nlcy5sYWJlbEFsaWduQ2VudGVyfSB7XG4gICAgICAgICAgICAke1N0eWxlZFJhbmdlVmFsdWV9IHtcbiAgICAgICAgICAgICAgICBwb3NpdGlvbjogc3RhdGljO1xuICAgICAgICAgICAgICAgIGJvdHRvbTogMDtcbiAgICAgICAgICAgICAgICBsZWZ0OiAwO1xuICAgICAgICAgICAgICAgIG1hcmdpbi1ib3R0b206IHZhcigke3Rva2Vucy5yYW5nZVZhbHVlVmVydGljYWxNYXJnaW59KTtcblxuICAgICAgICAgICAgICAgICYuJHtjbGFzc2VzLm1heFJhbmdlVmFsdWV9IHtcbiAgICAgICAgICAgICAgICAgICAgbGVmdDogMDtcbiAgICAgICAgICAgICAgICAgICAgcmlnaHQ6IDA7XG4gICAgICAgICAgICAgICAgICAgIGJvdHRvbTogMDtcbiAgICAgICAgICAgICAgICAgICAgbWFyZ2luLXRvcDogdmFyKCR7dG9rZW5zLnJhbmdlVmFsdWVWZXJ0aWNhbE1hcmdpbn0pO1xuICAgICAgICAgICAgICAgICAgICBtYXJnaW4tYm90dG9tOiAwO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgICYuJHtjbGFzc2VzLmxhYmVsQWxpZ25MZWZ0fSwgJi4ke2NsYXNzZXMubGFiZWxBbGlnblJpZ2h0fSB7XG4gICAgICAgICAgICAke1N0eWxlZFJhbmdlVmFsdWV9IHtcbiAgICAgICAgICAgICAgICBtYXJnaW4tcmlnaHQ6IDA7XG4gICAgICAgICAgICAgICAgbWFyZ2luLWJvdHRvbTogMDtcbiAgICAgICAgICAgICAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgICAgICAgICAgICAgdG9wOiAwO1xuXG4gICAgICAgICAgICAgICAgcmlnaHQ6IGNhbGMoXG4gICAgICAgICAgICAgICAgICAgIHZhcigke3Rva2Vucy5yYWlsVGhpY2tuZXNzfSkgLyAyICsgdmFyKCR7dG9rZW5zLnNpemV9KSAvIDIgK1xuICAgICAgICAgICAgICAgICAgICAgICAgdmFyKCR7dG9rZW5zLnJhbmdlVmFsdWVIb3Jpem9udGFsT2Zmc2V0fSlcbiAgICAgICAgICAgICAgICApO1xuXG4gICAgICAgICAgICAgICAgJi4ke2NsYXNzZXMubWF4UmFuZ2VWYWx1ZX0ge1xuICAgICAgICAgICAgICAgICAgICBtYXJnaW4tcmlnaHQ6IDA7XG4gICAgICAgICAgICAgICAgICAgIG1hcmdpbi1sZWZ0OiAwO1xuICAgICAgICAgICAgICAgICAgICB0b3A6IGF1dG87XG4gICAgICAgICAgICAgICAgICAgIGJvdHRvbTogMDtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICAmLiR7Y2xhc3Nlcy5sYWJlbEFsaWduUmlnaHR9IHtcbiAgICAgICAgICAgICR7U3R5bGVkUmFuZ2VWYWx1ZX0ge1xuICAgICAgICAgICAgICAgIGxlZnQ6IGNhbGModmFyKCR7dG9rZW5zLnNpemV9KSArIHZhcigke3Rva2Vucy5yYWlsVGhpY2tuZXNzfSkpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxuYDtcbiJdfQ== */"));
|
19
28
|
export var SliderBaseWrapper = /*#__PURE__*/_styled("div", {
|
20
29
|
target: "e75awbu1",
|
21
30
|
label: "plasma-new-hope__SliderBaseWrapper"
|
22
|
-
})("position:relative;display:flex;flex:1;&.", classes.rangeValuesPlacementOuter, "{", StyledRangeValue, "{position:absolute;bottom:var(", tokens.rangeValueBottomOffset, ");left:0;&.", classes.maxRangeValue, "{left:unset;right:0;}}}&.", classes.rangeValuesPlacementInner, "{align-items:center;", StyledRangeValue, "{margin-right:var(", tokens.
|
31
|
+
})("position:relative;display:flex;flex:1;&.", classes.rangeValuesPlacementOuter, "{", StyledRangeValue, "{position:absolute;bottom:calc(var(", tokens.railThickness, ") * -1.5 - var(", tokens.rangeValueBottomOffset, "));left:0;&.", classes.maxRangeValue, "{left:unset;right:0;}}}&.", classes.rangeValuesPlacementInner, "{align-items:center;", StyledRangeValue, "{margin-right:var(", tokens.rangeValueHorizontalMargin, ");&.", classes.maxRangeValue, "{margin-right:0;margin-left:var(", tokens.rangeValueHorizontalMargin, ");}}}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2xpZGVyL2NvbXBvbmVudHMvU2luZ2xlL1NpbmdsZS5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBNEMyQyIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL1NsaWRlci9jb21wb25lbnRzL1NpbmdsZS9TaW5nbGUuc3R5bGVzLnRzIi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iAgICAmLiR7Y2xhc3Nlcy5sYWJlbFBsYWNlbWVudElubmVyfSB7XG4gICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICBtYXJnaW4tcmlnaHQ6IHZhcigke3Rva2Vucy5sYWJlbFdyYXBwZXJNYXJnaW5SaWdodH0pO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgJi4ke2NsYXNzZXMudmVydGljYWxPcmllbnRhdGlvbn0ge1xuICAgICAgICBmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xuICAgICAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuXG4gICAgICAgICYuJHtjbGFzc2VzLmxhYmVsQWxpZ25DZW50ZXJ9IHtcbiAgICAgICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICAgICAgZmxleC1kaXJlY3Rpb246IGNvbHVtbi1yZXZlcnNlO1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAmLiR7Y2xhc3Nlcy5sYWJlbFBsYWNlbWVudEJvdHRvbX0ge1xuICAgICAgICAgICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICAgICAgICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgJi4ke2NsYXNzZXMubGFiZWxDb250ZW50UmV2ZXJzZWR9IHtcbiAgICAgICAgICAgICAgICAgICAgJHtMYWJlbFdyYXBwZXJ9IHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW4tcmV2ZXJzZTtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgJi4ke2NsYXNzZXMubGFiZWxDb250ZW50UmV2ZXJzZWR9IHtcbiAgICAgICAgICAgICAgICAke0xhYmVsV3JhcHBlcn0ge1xuICAgICAgICAgICAgICAgICAgICBmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuICAgICAgICB9XG5cbiAgICAgICAgJHtTbGlkZXJCYXNlV3JhcHBlcn0ge1xuICAgICAgICAgICAgd2lkdGg6IHZhcigke3Rva2Vucy5zaXplfSk7XG4gICAgICAgIH1cblxuICAgICAgICAmLiR7Y2xhc3Nlcy5sYWJlbFBsYWNlbWVudElubmVyfSB7XG4gICAgICAgICAgICAke0xhYmVsV3JhcHBlcn0ge1xuICAgICAgICAgICAgICAgIG1hcmdpbi1yaWdodDogMDtcbiAgICAgICAgICAgICAgICBtYXJnaW4tYm90dG9tOiB2YXIoJHt0b2tlbnMubGFiZWxXcmFwcGVyVmVydGljYWxNYXJnaW59KTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgICYuJHtjbGFzc2VzLmxhYmVsQWxpZ25MZWZ0fSB7XG4gICAgICAgICAgICBhbGlnbi1pdGVtczogZmxleC1lbmQ7XG5cbiAgICAgICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICAgICAgZmxleC1kaXJlY3Rpb246IHJvdy1yZXZlcnNlO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgJi4ke2NsYXNzZXMubGFiZWxBbGlnblJpZ2h0fSB7XG4gICAgICAgICAgICBhbGlnbi1pdGVtczogZmxleC1zdGFydDtcbiAgICAgICAgfVxuXG4gICAgICAgICYuJHtjbGFzc2VzLmxhYmVsUGxhY2VtZW50Qm90dG9tfSB7XG4gICAgICAgICAgICBmbGV4LWRpcmVjdGlvbjogY29sdW1uLXJldmVyc2U7XG5cbiAgICAgICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICAgICAgbWFyZ2luLXRvcDogdmFyKCR7dG9rZW5zLmxhYmVsV3JhcHBlclZlcnRpY2FsTWFyZ2lufSk7XG4gICAgICAgICAgICAgICAgbWFyZ2luLXJpZ2h0OiAwO1xuICAgICAgICAgICAgICAgIG1hcmdpbi1ib3R0b206IDA7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAmLiR7Y2xhc3Nlcy52ZXJ0aWNhbE9yaWVudGF0aW9ufSB7XG4gICAgICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gICAgICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gICAgICAgIGp1c3RpZnktY29udGVudDogY2VudGVyO1xuXG4gICAgICAgICR7U2xpZGVyQmFzZVdyYXBwZXJ9IHtcbiAgICAgICAgICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gICAgICAgICAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuICAgICAgICAgICAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gICAgICAgIH1cblxuICAgICAgICAmLiR7Y2xhc3Nlcy5sYWJlbEFsaWduQ2VudGVyfSB7XG4gICAgICAgICAgICAke1N0eWxlZFJhbmdlVmFsdWV9IHtcbiAgICAgICAgICAgICAgICBwb3NpdGlvbjogc3RhdGljO1xuICAgICAgICAgICAgICAgIGJvdHRvbTogMDtcbiAgICAgICAgICAgICAgICBsZWZ0OiAwO1xuICAgICAgICAgICAgICAgIG1hcmdpbi1ib3R0b206IHZhcigke3Rva2Vucy5yYW5nZVZhbHVlVmVydGljYWxNYXJnaW59KTtcblxuICAgICAgICAgICAgICAgICYuJHtjbGFzc2VzLm1heFJhbmdlVmFsdWV9IHtcbiAgICAgICAgICAgICAgICAgICAgbGVmdDogMDtcbiAgICAgICAgICAgICAgICAgICAgcmlnaHQ6IDA7XG4gICAgICAgICAgICAgICAgICAgIGJvdHRvbTogMDtcbiAgICAgICAgICAgICAgICAgICAgbWFyZ2luLXRvcDogdmFyKCR7dG9rZW5zLnJhbmdlVmFsdWVWZXJ0aWNhbE1hcmdpbn0pO1xuICAgICAgICAgICAgICAgICAgICBtYXJnaW4tYm90dG9tOiAwO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgICYuJHtjbGFzc2VzLmxhYmVsQWxpZ25MZWZ0fSwgJi4ke2NsYXNzZXMubGFiZWxBbGlnblJpZ2h0fSB7XG4gICAgICAgICAgICAke1N0eWxlZFJhbmdlVmFsdWV9IHtcbiAgICAgICAgICAgICAgICBtYXJnaW4tcmlnaHQ6IDA7XG4gICAgICAgICAgICAgICAgbWFyZ2luLWJvdHRvbTogMDtcbiAgICAgICAgICAgICAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgICAgICAgICAgICAgdG9wOiAwO1xuXG4gICAgICAgICAgICAgICAgcmlnaHQ6IGNhbGMoXG4gICAgICAgICAgICAgICAgICAgIHZhcigke3Rva2Vucy5yYWlsVGhpY2tuZXNzfSkgLyAyICsgdmFyKCR7dG9rZW5zLnNpemV9KSAvIDIgK1xuICAgICAgICAgICAgICAgICAgICAgICAgdmFyKCR7dG9rZW5zLnJhbmdlVmFsdWVIb3Jpem9udGFsT2Zmc2V0fSlcbiAgICAgICAgICAgICAgICApO1xuXG4gICAgICAgICAgICAgICAgJi4ke2NsYXNzZXMubWF4UmFuZ2VWYWx1ZX0ge1xuICAgICAgICAgICAgICAgICAgICBtYXJnaW4tcmlnaHQ6IDA7XG4gICAgICAgICAgICAgICAgICAgIG1hcmdpbi1sZWZ0OiAwO1xuICAgICAgICAgICAgICAgICAgICB0b3A6IGF1dG87XG4gICAgICAgICAgICAgICAgICAgIGJvdHRvbTogMDtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICAmLiR7Y2xhc3Nlcy5sYWJlbEFsaWduUmlnaHR9IHtcbiAgICAgICAgICAgICR7U3R5bGVkUmFuZ2VWYWx1ZX0ge1xuICAgICAgICAgICAgICAgIGxlZnQ6IGNhbGModmFyKCR7dG9rZW5zLnNpemV9KSArIHZhcigke3Rva2Vucy5yYWlsVGhpY2tuZXNzfSkpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxuYDtcbiJdfQ== */"));
|
23
32
|
export var SingleWrapper = /*#__PURE__*/_styled("div", {
|
24
33
|
target: "e75awbu0",
|
25
34
|
label: "plasma-new-hope__SingleWrapper"
|
26
|
-
})("display:flex;opacity:var(", tokens.disabledOpacity, ");&.", classes.labelPlacementOuter, "{flex-direction:column;", LabelWrapper, "{margin-bottom:var(", tokens.labelWrapperMarginBottom, ");}}&.", classes.labelPlacementInner, "{", LabelWrapper, "{margin-right:var(", tokens.labelWrapperMarginRight, ");}}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2xpZGVyL2NvbXBvbmVudHMvU2luZ2xlL1NpbmdsZS5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBMEV1QyIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL1NsaWRlci9jb21wb25lbnRzL1NpbmdsZS9TaW5nbGUuc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuXG5pbXBvcnQgeyBjbGFzc2VzLCB0b2tlbnMgfSBmcm9tICcuLi8uLi9TbGlkZXIudG9rZW5zJztcblxuZXhwb3J0IGNvbnN0IExhYmVsV3JhcHBlciA9IHN0eWxlZC5kaXZgXG4gICAgY29sb3I6IHZhcigke3Rva2Vucy5sYWJlbENvbG9yfSk7XG5cbiAgICBkaXNwbGF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ICAgICAgIG1hcmdpbi1yaWdodDogdmFyKCR7dG9rZW5zLnJhbmdlTWluVmFsdWVNYXJnaW59KTtcblxuICAgICAgICAgICAgJi4ke2NsYXNzZXMubWF4UmFuZ2VWYWx1ZX0ge1xuICAgICAgICAgICAgICAgIG1hcmdpbi1yaWdodDogMDtcbiAgICAgICAgICAgICAgICBtYXJnaW4tbGVmdDogdmFyKCR7dG9rZW5zLnJhbmdlTWF4VmFsdWVNYXJnaW59KTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgIH1cbmA7XG5cbmV4cG9ydCBjb25zdCBTaW5nbGVXcmFwcGVyID0gc3R5bGVkLmRpdmBcbiAgICBkaXNwbGF5OiBmbGV4O1xuICAgIG9wYWNpdHk6IHZhcigke3Rva2Vucy5kaXNhYmxlZE9wYWNpdHl9KTtcblxuICAgICYuJHtjbGFzc2VzLmxhYmVsUGxhY2VtZW50T3V0ZXJ9IHtcbiAgICAgICAgZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcblxuICAgICAgICAke0xhYmVsV3JhcHBlcn0ge1xuICAgICAgICAgICAgbWFyZ2luLWJvdHRvbTogdmFyKCR7dG9rZW5zLmxhYmVsV3JhcHBlck1hcmdpbkJvdHRvbX0pO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgJi4ke2NsYXNzZXMubGFiZWxQbGFjZW1lbnRJbm5lcn0ge1xuICAgICAgICAke0xhYmVsV3JhcHBlcn0ge1xuICAgICAgICAgICAgbWFyZ2luLXJpZ2h0OiB2YXIoJHt0b2tlbnMubGFiZWxXcmFwcGVyTWFyZ2luUmlnaHR9KTtcbiAgICAgICAgfVxuICAgIH1cbmA7XG4iXX0= */"));
|
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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4u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Rpc2FibGVkT3BhY2l0eX0pO1xuXG4gICAgJi4ke2NsYXNzZXMubGFiZWxQbGFjZW1lbnRPdXRlcn0ge1xuICAgICAgICBmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xuXG4gICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICBtYXJnaW4tYm90dG9tOiB2YXIoJHt0b2tlbnMubGFiZWxXcmFwcGVyTWFyZ2luQm90dG9tfSk7XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAmLiR7Y2xhc3Nlcy5sYWJlbFBsYWNlbWVudElubmVyfSB7XG4gICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICBtYXJnaW4tcmlnaHQ6IHZhcigke3Rva2Vucy5sYWJlbFdyYXBwZXJNYXJnaW5SaWdodH0pO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgJi4ke2NsYXNzZXMudmVydGljYWxPcmllbnRhdGlvbn0ge1xuICAgICAgICBmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xuICAgICAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuXG4gICAgICAgICYuJHtjbGFzc2VzLmxhYmVsQWxpZ25DZW50ZXJ9IHtcbiAgICAgICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICAgICAgZmxleC1kaXJlY3Rpb246IGNvbHVtbi1yZXZlcnNlO1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAmLiR7Y2xhc3Nlcy5sYWJlbFBsYWNlbWVudEJvdHRvbX0ge1xuICAgICAgICAgICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICAgICAgICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgJi4ke2NsYXNzZXMubGFiZWxDb250ZW50UmV2ZXJzZWR9IHtcbiAgICAgICAgICAgICAgICAgICAgJHtMYWJlbFdyYXBwZXJ9IHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW4tcmV2ZXJzZTtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgJi4ke2NsYXNzZXMubGFiZWxDb250ZW50UmV2ZXJzZWR9IHtcbiAgICAgICAgICAgICAgICAke0xhYmVsV3JhcHBlcn0ge1xuICAgICAgICAgICAgICAgICAgICBmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuICAgICAgICB9XG5cbiAgICAgICAgJHtTbGlkZXJCYXNlV3JhcHBlcn0ge1xuICAgICAgICAgICAgd2lkdGg6IHZhcigke3Rva2Vucy5zaXplfSk7XG4gICAgICAgIH1cblxuICAgICAgICAmLiR7Y2xhc3Nlcy5sYWJlbFBsYWNlbWVudElubmVyfSB7XG4gICAgICAgICAgICAke0xhYmVsV3JhcHBlcn0ge1xuICAgICAgICAgICAgICAgIG1hcmdpbi1yaWdodDogMDtcbiAgICAgICAgICAgICAgICBtYXJnaW4tYm90dG9tOiB2YXIoJHt0b2tlbnMubGFiZWxXcmFwcGVyVmVydGljYWxNYXJnaW59KTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgICYuJHtjbGFzc2VzLmxhYmVsQWxpZ25MZWZ0fSB7XG4gICAgICAgICAgICBhbGlnbi1pdGVtczogZmxleC1lbmQ7XG5cbiAgICAgICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICAgICAgZmxleC1kaXJlY3Rpb246IHJvdy1yZXZlcnNlO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgJi4ke2NsYXNzZXMubGFiZWxBbGlnblJpZ2h0fSB7XG4gICAgICAgICAgICBhbGlnbi1pdGVtczogZmxleC1zdGFydDtcbiAgICAgICAgfVxuXG4gICAgICAgICYuJHtjbGFzc2VzLmxhYmVsUGxhY2VtZW50Qm90dG9tfSB7XG4gICAgICAgICAgICBmbGV4LWRpcmVjdGlvbjogY29sdW1uLXJldmVyc2U7XG5cbiAgICAgICAgICAgICR7TGFiZWxXcmFwcGVyfSB7XG4gICAgICAgICAgICAgICAgbWFyZ2luLXRvcDogdmFyKCR7dG9rZW5zLmxhYmVsV3JhcHBlclZlcnRpY2FsTWFyZ2lufSk7XG4gICAgICAgICAgICAgICAgbWFyZ2luLXJpZ2h0OiAwO1xuICAgICAgICAgICAgICAgIG1hcmdpbi1ib3R0b206IDA7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAmLiR7Y2xhc3Nlcy52ZXJ0aWNhbE9yaWVudGF0aW9ufSB7XG4gICAgICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gICAgICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gICAgICAgIGp1c3RpZnktY29udGVudDogY2VudGVyO1xuXG4gICAgICAgICR7U2xpZGVyQmFzZVdyYXBwZXJ9IHtcbiAgICAgICAgICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gICAgICAgICAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuICAgICAgICAgICAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gICAgICAgIH1cblxuICAgICAgICAmLiR7Y2xhc3Nlcy5sYWJlbEFsaWduQ2VudGVyfSB7XG4gICAgICAgICAgICAke1N0eWxlZFJhbmdlVmFsdWV9IHtcbiAgICAgICAgICAgICAgICBwb3NpdGlvbjogc3RhdGljO1xuICAgICAgICAgICAgICAgIGJvdHRvbTogMDtcbiAgICAgICAgICAgICAgICBsZWZ0OiAwO1xuICAgICAgICAgICAgICAgIG1hcmdpbi1ib3R0b206IHZhcigke3Rva2Vucy5yYW5nZVZhbHVlVmVydGljYWxNYXJnaW59KTtcblxuICAgICAgICAgICAgICAgICYuJHtjbGFzc2VzLm1heFJhbmdlVmFsdWV9IHtcbiAgICAgICAgICAgICAgICAgICAgbGVmdDogMDtcbiAgICAgICAgICAgICAgICAgICAgcmlnaHQ6IDA7XG4gICAgICAgICAgICAgICAgICAgIGJvdHRvbTogMDtcbiAgICAgICAgICAgICAgICAgICAgbWFyZ2luLXRvcDogdmFyKCR7dG9rZW5zLnJhbmdlVmFsdWVWZXJ0aWNhbE1hcmdpbn0pO1xuICAgICAgICAgICAgICAgICAgICBtYXJnaW4tYm90dG9tOiAwO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgICYuJHtjbGFzc2VzLmxhYmVsQWxpZ25MZWZ0fSwgJi4ke2NsYXNzZXMubGFiZWxBbGlnblJpZ2h0fSB7XG4gICAgICAgICAgICAke1N0eWxlZFJhbmdlVmFsdWV9IHtcbiAgICAgICAgICAgICAgICBtYXJnaW4tcmlnaHQ6IDA7XG4gICAgICAgICAgICAgICAgbWFyZ2luLWJvdHRvbTogMDtcbiAgICAgICAgICAgICAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgICAgICAgICAgICAgdG9wOiAwO1xuXG4gICAgICAgICAgICAgICAgcmlnaHQ6IGNhbGMoXG4gICAgICAgICAgICAgICAgICAgIHZhcigke3Rva2Vucy5yYWlsVGhpY2tuZXNzfSkgLyAyICsgdmFyKCR7dG9rZW5zLnNpemV9KSAvIDIgK1xuICAgICAgICAgICAgICAgICAgICAgICAgdmFyKCR7dG9rZW5zLnJhbmdlVmFsdWVIb3Jpem9udGFsT2Zmc2V0fSlcbiAgICAgICAgICAgICAgICApO1xuXG4gICAgICAgICAgICAgICAgJi4ke2NsYXNzZXMubWF4UmFuZ2VWYWx1ZX0ge1xuICAgICAgICAgICAgICAgICAgICBtYXJnaW4tcmlnaHQ6IDA7XG4gICAgICAgICAgICAgICAgICAgIG1hcmdpbi1sZWZ0OiAwO1xuICAgICAgICAgICAgICAgICAgICB0b3A6IGF1dG87XG4gICAgICAgICAgICAgICAgICAgIGJvdHRvbTogMDtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICAmLiR7Y2xhc3Nlcy5sYWJlbEFsaWduUmlnaHR9IHtcbiAgICAgICAgICAgICR7U3R5bGVkUmFuZ2VWYWx1ZX0ge1xuICAgICAgICAgICAgICAgIGxlZnQ6IGNhbGModmFyKCR7dG9rZW5zLnNpemV9KSArIHZhcigke3Rva2Vucy5yYWlsVGhpY2tuZXNzfSkpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxuYDtcbiJdfQ== */"));
|
@@ -1,5 +1,7 @@
|
|
1
1
|
import React, { useRef, useEffect } from 'react';
|
2
2
|
import { useIsomorphicLayoutEffect } from '../../../../hooks';
|
3
|
+
import { classes } from '../../Slider.tokens';
|
4
|
+
import { cx } from '../../../../utils';
|
3
5
|
import { Fill, Rail, RailWrap, Slider } from './SliderBase.styles';
|
4
6
|
export var SliderBase = function SliderBase(_ref) {
|
5
7
|
var max = _ref.max,
|
@@ -13,6 +15,9 @@ export var SliderBase = function SliderBase(_ref) {
|
|
13
15
|
labelPlacement = _ref.labelPlacement,
|
14
16
|
rangeValuesPlacement = _ref.rangeValuesPlacement,
|
15
17
|
onChange = _ref.onChange,
|
18
|
+
orientation = _ref.orientation,
|
19
|
+
size = _ref.size,
|
20
|
+
sliderAlign = _ref.sliderAlign,
|
16
21
|
_ref$settings = _ref.settings,
|
17
22
|
settings = _ref$settings === void 0 ? {} : _ref$settings;
|
18
23
|
var _settings$indent = settings.indent,
|
@@ -21,34 +26,43 @@ export var SliderBase = function SliderBase(_ref) {
|
|
21
26
|
fontSizeMultiplier = _settings$fontSizeMul === void 0 ? 16 : _settings$fontSizeMul;
|
22
27
|
var ref = useRef(null);
|
23
28
|
var gap = indent * fontSizeMultiplier * 2;
|
29
|
+
var isVertical = orientation === 'vertical';
|
24
30
|
useEffect(function () {
|
25
31
|
var resizeHandler = function resizeHandler() {
|
26
32
|
if (ref.current) {
|
27
|
-
var railSize = ref.current.offsetWidth - gap;
|
33
|
+
var railSize = isVertical ? ref.current.offsetHeight - gap : ref.current.offsetWidth - gap;
|
28
34
|
var totalSteps = max - min;
|
29
35
|
setStepSize(railSize / totalSteps);
|
30
36
|
}
|
31
37
|
};
|
32
38
|
resizeHandler();
|
33
|
-
}, [labelPlacement, rangeValuesPlacement
|
39
|
+
}, [labelPlacement, rangeValuesPlacement, gap, isVertical,
|
40
|
+
// для перерасчета размеров
|
41
|
+
size, sliderAlign]);
|
34
42
|
var onHandleChange = function onHandleChange(e) {
|
35
43
|
if (!onChange || disabled) {
|
36
44
|
return;
|
37
45
|
}
|
38
46
|
var _e$currentTarget$getB = e.currentTarget.getBoundingClientRect(),
|
39
47
|
x = _e$currentTarget$getB.x,
|
40
|
-
width = _e$currentTarget$getB.width
|
41
|
-
|
42
|
-
|
48
|
+
width = _e$currentTarget$getB.width,
|
49
|
+
y = _e$currentTarget$getB.y,
|
50
|
+
height = _e$currentTarget$getB.height;
|
51
|
+
var lastPos = isVertical ? e.clientY - y : e.clientX - x;
|
52
|
+
var sliderWidth = isVertical ? height : width;
|
53
|
+
var position = min + lastPos / (sliderWidth - gap) * (max - min);
|
43
54
|
var result = Math.max(min, Math.min(max, position));
|
44
|
-
|
45
|
-
|
46
|
-
}
|
55
|
+
var data = isVertical ? {
|
56
|
+
lastY: lastPos
|
57
|
+
} : {
|
58
|
+
lastX: lastPos
|
59
|
+
};
|
60
|
+
onChange(result, data);
|
47
61
|
};
|
48
62
|
useIsomorphicLayoutEffect(function () {
|
49
63
|
var resizeHandler = function resizeHandler() {
|
50
64
|
if (ref.current) {
|
51
|
-
var railSize = ref.current.offsetWidth - gap;
|
65
|
+
var railSize = isVertical ? ref.current.offsetHeight - gap : ref.current.offsetWidth - gap;
|
52
66
|
var totalSteps = max - min;
|
53
67
|
setStepSize(railSize / totalSteps);
|
54
68
|
}
|
@@ -58,13 +72,18 @@ export var SliderBase = function SliderBase(_ref) {
|
|
58
72
|
return function () {
|
59
73
|
return window.removeEventListener('resize', resizeHandler);
|
60
74
|
};
|
61
|
-
}, [min, max, setStepSize, gap, labelPlacement, rangeValuesPlacement]);
|
62
|
-
var fillStyle = {
|
75
|
+
}, [min, max, setStepSize, gap, labelPlacement, rangeValuesPlacement, isVertical]);
|
76
|
+
var fillStyle = isVertical ? {
|
77
|
+
top: "".concat(railFillXPosition, "px"),
|
78
|
+
height: "".concat(railFillWidth, "px"),
|
79
|
+
width: '100%'
|
80
|
+
} : {
|
63
81
|
left: "".concat(railFillXPosition, "px"),
|
64
82
|
width: "".concat(railFillWidth, "px")
|
65
83
|
};
|
66
84
|
return /*#__PURE__*/React.createElement(Slider, {
|
67
|
-
ref: ref
|
85
|
+
ref: ref,
|
86
|
+
className: cx(orientation === 'vertical' && classes.verticalOrientation)
|
68
87
|
}, /*#__PURE__*/React.createElement(RailWrap, {
|
69
88
|
"aria-hidden": "true",
|
70
89
|
onMouseDown: onHandleChange
|
@@ -1,13 +1,17 @@
|
|
1
1
|
import _styled from "@emotion/styled/base";
|
2
2
|
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
3
3
|
import { applyHidden } from '../../../../mixins';
|
4
|
-
import { tokens } from '../../Slider.tokens';
|
5
|
-
export var
|
4
|
+
import { classes, tokens } from '../../Slider.tokens';
|
5
|
+
export var Rail = /*#__PURE__*/_styled("div", {
|
6
6
|
target: "e1nkxkag4",
|
7
|
+
label: "plasma-new-hope__Rail"
|
8
|
+
})("position:relative;top:50%;height:var(", tokens.railThickness, ");border-radius:var(", tokens.railBorderRadius, ");background-color:var(", tokens.railBackgroundColor, ");overflow:hidden;transform:translateY(-50%);" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2xpZGVyL2NvbXBvbmVudHMvU2xpZGVyQmFzZS9TbGlkZXJCYXNlLnN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFLOEIiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9TbGlkZXIvY29tcG9uZW50cy9TbGlkZXJCYXNlL1NsaWRlckJhc2Uuc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuXG5pbXBvcnQgeyBhcHBseUhpZGRlbiB9IGZyb20gJy4uLy4uLy4uLy4uL21peGlucyc7XG5pbXBvcnQgeyBjbGFzc2VzLCB0b2tlbnMgfSBmcm9tICcuLi8uLi9TbGlkZXIudG9rZW5zJztcblxuZXhwb3J0IGNvbnN0IFJhaWwgPSBzdHlsZWQuZGl2YFxuICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcbiAgICB0b3A6IDUwJTtcblxuICAgIGhlaWdodDogdmFyKCR7dG9rZW5zLnJhaWxUaGlja25lc3N9KTtcblxuICAgIGJvcmRlci1yYWRpdXM6IHZhcigke3Rva2Vucy5yYWlsQm9yZGVyUmFkaXVzfSk7XG4gICAgYmFja2dyb3VuZC1jb2xvcjogdmFyKCR7dG9rZW5zLnJhaWxCYWNrZ3JvdW5kQ29sb3J9KTtcblxuICAgIG92ZXJmbG93OiBoaWRkZW47XG4gICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVZKC01MCUpO1xuYDtcblxuZXhwb3J0IGNvbnN0IFNsaWRlciA9IHN0eWxlZC5kaXZgXG4gICAgZmxleDogMTtcbiAgICBwb3NpdGlvbjogcmVsYXRpdmU7XG4gICAgdXNlci1zZWxlY3Q6IG5vbmU7XG4gICAgaGVpZ2h0OiB2YXIoJHt0b2tlbnMuc2l6ZX0pO1xuXG4gICAgJi4ke2NsYXNzZXMudmVydGljYWxPcmllbnRhdGlvbn0ge1xuICAgICAgICB3aWR0aDogdmFyKCR7dG9rZW5zLnNpemV9KTtcbiAgICAgICAgaGVpZ2h0OiBhdXRvO1xuXG4gICAgICAgICR7UmFpbH0ge1xuICAgICAgICAgICAgdG9wOiAwO1xuICAgICAgICAgICAgbGVmdDogNTAlO1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKC01MCUpO1xuICAgICAgICAgICAgd2lkdGg6IHZhcigke3Rva2Vucy5yYWlsVGhpY2tuZXNzfSk7XG4gICAgICAgICAgICBoZWlnaHQ6IDEwMCU7XG4gICAgICAgIH1cbiAgICB9XG5gO1xuXG5leHBvcnQgY29uc3QgUmFpbFdyYXAgPSBzdHlsZWQuZGl2YFxuICAgIGhlaWdodDogMTAwJTtcbmA7XG5cbmV4cG9ydCBjb25zdCBGaWxsID0gc3R5bGVkLmRpdmBcbiAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgaGVpZ2h0OiAxMDAlO1xuICAgIHRvcDogMDtcbiAgICBsZWZ0OiAwO1xuICAgIGJhY2tncm91bmQ6IHZhcigke3Rva2Vucy5maWxsQ29sb3J9KTtcbiAgICB3aWR0aDogMDtcbmA7XG5cbmV4cG9ydCBjb25zdCBJbnB1dEhpZGRlbiA9IHN0eWxlZC5pbnB1dGBcbiAgICAke2FwcGx5SGlkZGVuKCl9O1xuYDtcbiJdfQ== */"));
|
9
|
+
export var Slider = /*#__PURE__*/_styled("div", {
|
10
|
+
target: "e1nkxkag3",
|
7
11
|
label: "plasma-new-hope__Slider"
|
8
|
-
})("flex:1;position:relative;user-select:none;height:var(", tokens.height, ");" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
12
|
+
})("flex:1;position:relative;user-select:none;height:var(", tokens.size, ");&.", classes.verticalOrientation, "{width:var(", tokens.size, ");height:auto;", Rail, "{top:0;left:50%;transform:translateX(-50%);width:var(", tokens.railThickness, ");height:100%;}}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2xpZGVyL2NvbXBvbmVudHMvU2xpZGVyQmFzZS9TbGlkZXJCYXNlLnN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFrQmdDIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2xpZGVyL2NvbXBvbmVudHMvU2xpZGVyQmFzZS9TbGlkZXJCYXNlLnN0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcblxuaW1wb3J0IHsgYXBwbHlIaWRkZW4gfSBmcm9tICcuLi8uLi8uLi8uLi9taXhpbnMnO1xuaW1wb3J0IHsgY2xhc3NlcywgdG9rZW5zIH0gZnJvbSAnLi4vLi4vU2xpZGVyLnRva2Vucyc7XG5cbmV4cG9ydCBjb25zdCBSYWlsID0gc3R5bGVkLmRpdmBcbiAgICBwb3NpdGlvbjogcmVsYXRpdmU7XG4gICAgdG9wOiA1MCU7XG5cbiAgICBoZWlnaHQ6IHZhcigke3Rva2Vucy5yYWlsVGhpY2tuZXNzfSk7XG5cbiAgICBib3JkZXItcmFkaXVzOiB2YXIoJHt0b2tlbnMucmFpbEJvcmRlclJhZGl1c30pO1xuICAgIGJhY2tncm91bmQtY29sb3I6IHZhcigke3Rva2Vucy5yYWlsQmFja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
9
13
|
export var RailWrap = /*#__PURE__*/_styled("div", {
|
10
|
-
target: "
|
14
|
+
target: "e1nkxkag2",
|
11
15
|
label: "plasma-new-hope__RailWrap"
|
12
16
|
})(process.env.NODE_ENV === "production" ? {
|
13
17
|
name: "13udsys",
|
@@ -15,18 +19,14 @@ export var RailWrap = /*#__PURE__*/_styled("div", {
|
|
15
19
|
} : {
|
16
20
|
name: "13udsys",
|
17
21
|
styles: "height:100%",
|
18
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
22
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2xpZGVyL2NvbXBvbmVudHMvU2xpZGVyQmFzZS9TbGlkZXJCYXNlLnN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFzQ2tDIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2xpZGVyL2NvbXBvbmVudHMvU2xpZGVyQmFzZS9TbGlkZXJCYXNlLnN0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcblxuaW1wb3J0IHsgYXBwbHlIaWRkZW4gfSBmcm9tICcuLi8uLi8uLi8uLi9taXhpbnMnO1xuaW1wb3J0IHsgY2xhc3NlcywgdG9rZW5zIH0gZnJvbSAnLi4vLi4vU2xpZGVyLnRva2Vucyc7XG5cbmV4cG9ydCBjb25zdCBSYWlsID0gc3R5bGVkLmRpdmBcbiAgICBwb3NpdGlvbjogcmVsYXRpdmU7XG4gICAgdG9wOiA1MCU7XG5cbiAgICBoZWlnaHQ6IHZhcigke3Rva2Vucy5yYWlsVGhpY2tuZXNzfSk7XG5cbiAgICBib3JkZXItcmFkaX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5leHBvcnQgY29uc3QgSW5wdXRIaWRkZW4gPSBzdHlsZWQuaW5wdXRgXG4gICAgJHthcHBseUhpZGRlbigpfTtcbmA7XG4iXX0= */",
|
19
23
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
20
24
|
});
|
21
|
-
export var Rail = /*#__PURE__*/_styled("div", {
|
22
|
-
target: "e1nkxkag2",
|
23
|
-
label: "plasma-new-hope__Rail"
|
24
|
-
})("position:relative;top:50%;height:var(", tokens.railHeight, ");border-radius:var(", tokens.railBorderRadius, ");background-color:var(", tokens.railBackgroundColor, ");overflow:hidden;transform:translateY(-50%);" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2xpZGVyL2NvbXBvbmVudHMvU2xpZGVyQmFzZS9TbGlkZXJCYXNlLnN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFnQjhCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2xpZGVyL2NvbXBvbmVudHMvU2xpZGVyQmFzZS9TbGlkZXJCYXNlLnN0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcblxuaW1wb3J0IHsgYXBwbHlIaWRkZW4gfSBmcm9tICcuLi8uLi8uLi8uLi9taXhpbnMnO1xuaW1wb3J0IHsgdG9rZW5zIH0gZnJvbSAnLi4vLi4vU2xpZGVyLnRva2Vucyc7XG5cbmV4cG9ydCBjb25zdCBTbGlkZXIgPSBzdHlsZWQuZGl2YFxuICAgIGZsZXg6IDE7XG4gICAgcG9zaXRpb246IHJlbGF0aXZlO1xuICAgIHVzZXItc2VsZWN0OiBub25lO1xuICAgIGhlaWdodDogdmFyKCR7dG9rZW5zLmhlaWdodH0pO1xuYDtcblxuZXhwb3J0IGNvbnN0IFJhaWxXcmFwID0gc3R5bGVkLmRpdmBcbiAgICBoZWlnaHQ6IDEwMCU7XG5gO1xuXG5leHBvcnQgY29uc3QgUmFpbCA9IHN0eWxlZC5kaXZgXG4gICAgcG9zaXRpb246IHJlbGF0aXZlO1xuICAgIHRvcDogNTAlO1xuXG4gICAgaGVpZ2h0OiB2YXIoJHt0b2tlbnMucmFpbEhlaWdodH0pO1xuXG4gICAgYm9yZGVyLXJhZGl1czogdmFyKCR7dG9rZW5zLnJhaWxCb3JkZXJSYWRpdXN9KTtcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiB2YXIoJHt0b2tlbnMucmFpbEJhY2tncm91bmRDb2xvcn0pO1xuXG4gICAgb3ZlcmZsb3c6IGhpZGRlbjtcbiAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVkoLTUwJSk7XG5gO1xuXG5leHBvcnQgY29uc3QgRmlsbCA9IHN0eWxlZC5kaXZgXG4gICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgIGhlaWdodDogMTAwJTtcbiAgICB0b3A6IDA7XG4gICAgbGVmdDogMDtcbiAgICBiYWNrZ3JvdW5kOiB2YXIoJHt0b2tlbnMuZmlsbENvbG9yfSk7XG4gICAgd2lkdGg6IDA7XG5gO1xuXG5leHBvcnQgY29uc3QgSW5wdXRIaWRkZW4gPSBzdHlsZWQuaW5wdXRgXG4gICAgJHthcHBseUhpZGRlbigpfTtcbmA7XG4iXX0= */"));
|
25
25
|
export var Fill = /*#__PURE__*/_styled("div", {
|
26
26
|
target: "e1nkxkag1",
|
27
27
|
label: "plasma-new-hope__Fill"
|
28
|
-
})("position:absolute;height:100%;top:0;left:0;background:var(", tokens.fillColor, ");width:0;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
28
|
+
})("position:absolute;height:100%;top:0;left:0;background:var(", tokens.fillColor, ");width:0;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2xpZGVyL2NvbXBvbmVudHMvU2xpZGVyQmFzZS9TbGlkZXJCYXNlLnN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUEwQzhCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2xpZGVyL2NvbXBvbmVudHMvU2xpZGVyQmFzZS9TbGlkZXJCYXNlLnN0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcblxuaW1wb3J0IHsgYXBwbHlIaWRkZW4gfSBmcm9tICcuLi8uLi8uLi8uLi9taXhpbnMnO1xuaW1wb3J0IHsgY2xhc3NlcywgdG9rZW5zIH0gZnJvbSAnLi4vLi4vU2xpZGVyLnRva2Vucyc7XG5cbmV4cG9ydCBjb25zdCBSYWlsID0gc3R5bGVkLmRpdmBcbiAgICBwb3NpdGlvbjogcmVsYXRpdmU7XG4gICAgdG9wOiA1MCU7XG5cbiAgICBoZWlnaHQ6IHZhcigke3Rva2Vucy5yYWlsVGhpY2tuZXNzfSk7XG5cbiAgICBib3JkZXItcmFkaXVzOiB2YXIoJHt0b2tlbnMucmFpbEJvcmRlclJhZGl1c30pO1xuICAgIGJhY2tncm91bmQtY29sb3I6IHZhcigke3Rva2Vucy5yYWlsQmFja2dyb3VuZENvbG9yfSk7XG5cbiAgICBvdmVyZmxvdzogaGlkZGVuO1xuICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlWSgtNTAlKTtcbmA7XG5cbmV4cG9ydCBjb25zdCBTbGlkZXIgPSBzdHlsZWQuZGl2YFxuICAgIGZsZXg6IDE7XG4gICAgcG9zaXRpb246IHJlbGF0aXZlO1xuICAgIHVzZXItc2VsZWN0OiBub25lO1xuICAgIGhlaWdodDogdmFyKCR7dG9rZW5zLnNpemV9KTtcblxuICAgICYuJHtjbGFzc2VzLnZlcnRpY2FsT3JpZW50YXRpb259IHtcbiAgICAgICAgd2lkdGg6IHZhcigke3Rva2Vucy5zaXplfSk7XG4gICAgICAgIGhlaWdodDogYXV0bztcblxuICAgICAgICAke1JhaWx9IHtcbiAgICAgICAgICAgIHRvcDogMDtcbiAgICAgICAgICAgIGxlZnQ6IDUwJTtcbiAgICAgICAgICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlWCgtNTAlKTtcbiAgICAgICAgICAgIHdpZHRoOiB2YXIoJHt0b2tlbnMucmFpbFRoaWNrbmVzc30pO1xuICAgICAgICAgICAgaGVpZ2h0OiAxMDAlO1xuICAgICAgICB9XG4gICAgfVxuYDtcblxuZXhwb3J0IGNvbnN0IFJhaWxXcmFwID0gc3R5bGVkLmRpdmBcbiAgICBoZWlnaHQ6IDEwMCU7XG5gO1xuXG5leHBvcnQgY29uc3QgRmlsbCA9IHN0eWxlZC5kaXZgXG4gICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgIGhlaWdodDogMTAwJTtcbiAgICB0b3A6IDA7XG4gICAgbGVmdDogMDtcbiAgICBiYWNrZ3JvdW5kOiB2YXIoJHt0b2tlbnMuZmlsbENvbG9yfSk7XG4gICAgd2lkdGg6IDA7XG5gO1xuXG5leHBvcnQgY29uc3QgSW5wdXRIaWRkZW4gPSBzdHlsZWQuaW5wdXRgXG4gICAgJHthcHBseUhpZGRlbigpfTtcbmA7XG4iXX0= */"));
|
29
29
|
export var InputHidden = /*#__PURE__*/_styled("input", {
|
30
30
|
target: "e1nkxkag0",
|
31
31
|
label: "plasma-new-hope__InputHidden"
|
32
|
-
})( /*#__PURE__*/applyHidden(), ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
32
|
+
})( /*#__PURE__*/applyHidden(), ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2xpZGVyL2NvbXBvbmVudHMvU2xpZGVyQmFzZS9TbGlkZXJCYXNlLnN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFtRHVDIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2xpZGVyL2NvbXBvbmVudHMvU2xpZGVyQmFzZS9TbGlkZXJCYXNlLnN0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcblxuaW1wb3J0IHsgYXBwbHlIaWRkZW4gfSBmcm9tICcuLi8uLi8uLi8uLi9taXhpbnMnO1xuaW1wb3J0IHsgY2xhc3NlcywgdG9rZW5zIH0gZnJvbSAnLi4vLi4vU2xpZGVyLnRva2Vucyc7XG5cbmV4cG9ydCBjb25zdCBSYWlsID0gc3R5bGVkLmRpdmBcbiAgICBwb3NpdGlvbjogcmVsYXRpdmU7XG4gICAgdG9wOiA1MCU7XG5cbiAgICBoZWlnaHQ6IHZhcigke3Rva2Vucy5yYWlsVGhpY2tuZXNzfSk7XG5cbiAgICBib3JkZXItcmFkaXVzOiB2YXIoJHt0b2tlbnMucmFpbEJvcmRlclJhZGl1c30pO1xuICAgIGJhY2tncm91bmQtY29sb3I6IHZhcigke3Rva2Vucy5yYWlsQmFja2dyb3VuZENvbG9yfSk7XG5cbiAgICBvdmVyZmxvdzogaGlkZGVuO1xuICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlWSgtNTAlKTtcbmA7XG5cbmV4cG9ydCBjb25z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