@salutejs/plasma-new-hope 0.81.0-canary.1208.9111977682.0 → 0.81.1-canary.1209.9113456949.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/components/TextField/TextField.js +4 -10
- package/cjs/components/TextField/TextField.js.map +1 -1
- package/cjs/components/TextField/TextField.styles.js +1 -13
- package/cjs/components/TextField/TextField.styles.js.map +1 -1
- package/cjs/components/TextField/{TextField.styles_aqmut.css → TextField.styles_1b1mddp.css} +0 -2
- package/cjs/components/TextField/TextField.tokens.js +0 -5
- package/cjs/components/TextField/TextField.tokens.js.map +1 -1
- package/cjs/components/TextField/variations/_label-placement/inner.js +1 -1
- package/cjs/components/TextField/variations/_label-placement/inner.js.map +1 -1
- package/cjs/components/TextField/variations/_label-placement/inner_gqlcj2.css +1 -0
- package/cjs/components/TextField/variations/_size/base.js +1 -1
- package/cjs/components/TextField/variations/_size/base.js.map +1 -1
- package/cjs/components/TextField/variations/_size/{base_ntoddv.css → base_1khzr9t.css} +1 -1
- package/cjs/components/TextField/variations/_view/base.js +1 -1
- package/cjs/components/TextField/variations/_view/base.js.map +1 -1
- package/cjs/components/TextField/variations/_view/{base_19gxyva.css → base_1qd77x6.css} +1 -1
- package/cjs/index.css +9 -28
- package/cjs/index.js +0 -5
- package/cjs/index.js.map +1 -1
- package/es/components/TextField/TextField.js +5 -11
- package/es/components/TextField/TextField.js.map +1 -1
- package/es/components/TextField/TextField.styles.js +2 -12
- package/es/components/TextField/TextField.styles.js.map +1 -1
- package/es/components/TextField/{TextField.styles_aqmut.css → TextField.styles_1b1mddp.css} +0 -2
- package/es/components/TextField/TextField.tokens.js +0 -5
- package/es/components/TextField/TextField.tokens.js.map +1 -1
- package/es/components/TextField/variations/_label-placement/inner.js +1 -1
- package/es/components/TextField/variations/_label-placement/inner.js.map +1 -1
- package/es/components/TextField/variations/_label-placement/inner_gqlcj2.css +1 -0
- package/es/components/TextField/variations/_size/base.js +1 -1
- package/es/components/TextField/variations/_size/base.js.map +1 -1
- package/es/components/TextField/variations/_size/{base_ntoddv.css → base_1khzr9t.css} +1 -1
- package/es/components/TextField/variations/_view/base.js +1 -1
- package/es/components/TextField/variations/_view/base.js.map +1 -1
- package/es/components/TextField/variations/_view/{base_19gxyva.css → base_1qd77x6.css} +1 -1
- package/es/index.css +9 -28
- package/es/index.js +0 -2
- package/es/index.js.map +1 -1
- package/package.json +4 -4
- package/styled-components/cjs/components/TextField/TextField.js +4 -10
- package/styled-components/cjs/components/TextField/TextField.styles.js +1 -7
- package/styled-components/cjs/components/TextField/TextField.tokens.js +0 -5
- package/styled-components/cjs/components/TextField/variations/_label-placement/inner.js +1 -1
- package/styled-components/cjs/components/TextField/variations/_size/base.js +1 -1
- package/styled-components/cjs/components/TextField/variations/_view/base.js +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/TextArea/TextArea.config.js +4 -4
- package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.config.js +8 -8
- package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +0 -2
- package/styled-components/cjs/examples/plasma_web/components/TextArea/TextArea.config.js +4 -4
- package/styled-components/cjs/index.js +0 -11
- package/styled-components/es/components/TextField/TextField.js +5 -11
- package/styled-components/es/components/TextField/TextField.styles.js +0 -6
- package/styled-components/es/components/TextField/TextField.tokens.js +0 -5
- package/styled-components/es/components/TextField/variations/_label-placement/inner.js +2 -2
- package/styled-components/es/components/TextField/variations/_size/base.js +2 -2
- package/styled-components/es/components/TextField/variations/_view/base.js +2 -2
- package/styled-components/es/examples/plasma_b2c/components/TextArea/TextArea.config.js +4 -4
- package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.config.js +8 -8
- package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +0 -2
- package/styled-components/es/examples/plasma_web/components/TextArea/TextArea.config.js +4 -4
- package/styled-components/es/index.js +1 -2
- package/types/components/TextField/TextField.d.ts.map +1 -1
- package/types/components/TextField/TextField.styles.d.ts +0 -2
- package/types/components/TextField/TextField.styles.d.ts.map +1 -1
- package/types/components/TextField/TextField.tokens.d.ts +0 -5
- package/types/components/TextField/TextField.tokens.d.ts.map +1 -1
- package/types/components/TextField/TextField.types.d.ts +0 -8
- package/types/components/TextField/TextField.types.d.ts.map +1 -1
- package/types/components/TextField/variations/_label-placement/inner.d.ts.map +1 -1
- package/types/components/TextField/variations/_size/base.d.ts.map +1 -1
- package/types/components/TextField/variations/_view/base.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/TextField/TextField.config.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/TextField/TextField.d.ts +0 -4
- package/types/examples/plasma_b2c/components/TextField/TextField.d.ts.map +1 -1
- package/types/examples/plasma_web/components/TextField/TextField.d.ts +0 -4
- package/types/examples/plasma_web/components/TextField/TextField.d.ts.map +1 -1
- package/types/examples/sds_engineer/components/TextField/TextField.d.ts +0 -4
- package/types/examples/sds_engineer/components/TextField/TextField.d.ts.map +1 -1
- package/types/index.d.ts +0 -1
- package/types/index.d.ts.map +1 -1
- package/cjs/components/Range/Range.css +0 -63
- package/cjs/components/Range/Range.js +0 -146
- package/cjs/components/Range/Range.js.map +0 -1
- package/cjs/components/Range/Range.styles.js +0 -63
- package/cjs/components/Range/Range.styles.js.map +0 -1
- package/cjs/components/Range/Range.styles_mc4w65.css +0 -8
- package/cjs/components/Range/Range.tokens.js +0 -105
- package/cjs/components/Range/Range.tokens.js.map +0 -1
- package/cjs/components/Range/utils/index.js +0 -24
- package/cjs/components/Range/utils/index.js.map +0 -1
- package/cjs/components/Range/variations/_disabled/base.js +0 -9
- package/cjs/components/Range/variations/_disabled/base.js.map +0 -1
- package/cjs/components/Range/variations/_disabled/base_1ufizo4.css +0 -1
- package/cjs/components/Range/variations/_readonly/base.js +0 -9
- package/cjs/components/Range/variations/_readonly/base.js.map +0 -1
- package/cjs/components/Range/variations/_readonly/base_hzmd8h.css +0 -1
- package/cjs/components/Range/variations/_size/base.js +0 -9
- package/cjs/components/Range/variations/_size/base.js.map +0 -1
- package/cjs/components/Range/variations/_size/base_f8ah3.css +0 -1
- package/cjs/components/Range/variations/_view/base.js +0 -9
- package/cjs/components/Range/variations/_view/base.js.map +0 -1
- package/cjs/components/Range/variations/_view/base_5iz3nr.css +0 -1
- package/cjs/components/TextField/variations/_label-placement/inner_7c08qb.css +0 -1
- package/es/components/Range/Range.css +0 -63
- package/es/components/Range/Range.js +0 -141
- package/es/components/Range/Range.js.map +0 -1
- package/es/components/Range/Range.styles.js +0 -52
- package/es/components/Range/Range.styles.js.map +0 -1
- package/es/components/Range/Range.styles_mc4w65.css +0 -8
- package/es/components/Range/Range.tokens.js +0 -100
- package/es/components/Range/Range.tokens.js.map +0 -1
- package/es/components/Range/utils/index.js +0 -19
- package/es/components/Range/utils/index.js.map +0 -1
- package/es/components/Range/variations/_disabled/base.js +0 -5
- package/es/components/Range/variations/_disabled/base.js.map +0 -1
- package/es/components/Range/variations/_disabled/base_1ufizo4.css +0 -1
- package/es/components/Range/variations/_readonly/base.js +0 -5
- package/es/components/Range/variations/_readonly/base.js.map +0 -1
- package/es/components/Range/variations/_readonly/base_hzmd8h.css +0 -1
- package/es/components/Range/variations/_size/base.js +0 -5
- package/es/components/Range/variations/_size/base.js.map +0 -1
- package/es/components/Range/variations/_size/base_f8ah3.css +0 -1
- package/es/components/Range/variations/_view/base.js +0 -5
- package/es/components/Range/variations/_view/base.js.map +0 -1
- package/es/components/Range/variations/_view/base_5iz3nr.css +0 -1
- package/es/components/TextField/variations/_label-placement/inner_7c08qb.css +0 -1
- package/styled-components/cjs/components/Range/Range.js +0 -148
- package/styled-components/cjs/components/Range/Range.styles.js +0 -39
- package/styled-components/cjs/components/Range/Range.tokens.js +0 -103
- package/styled-components/cjs/components/Range/Range.types.js +0 -5
- package/styled-components/cjs/components/Range/index.js +0 -25
- package/styled-components/cjs/components/Range/utils/index.js +0 -22
- package/styled-components/cjs/components/Range/variations/_disabled/base.js +0 -9
- package/styled-components/cjs/components/Range/variations/_disabled/tokens.json +0 -4
- package/styled-components/cjs/components/Range/variations/_readonly/base.js +0 -10
- package/styled-components/cjs/components/Range/variations/_readonly/tokens.json +0 -4
- package/styled-components/cjs/components/Range/variations/_size/base.js +0 -10
- package/styled-components/cjs/components/Range/variations/_size/tokens.json +0 -26
- package/styled-components/cjs/components/Range/variations/_view/base.js +0 -10
- package/styled-components/cjs/components/Range/variations/_view/tokens.json +0 -6
- package/styled-components/cjs/examples/plasma_b2c/components/Range/Range.config.js +0 -31
- package/styled-components/cjs/examples/plasma_b2c/components/Range/Range.js +0 -11
- package/styled-components/cjs/examples/plasma_b2c/components/Range/Range.stories.tsx +0 -312
- package/styled-components/cjs/examples/plasma_web/components/Range/Range.config.js +0 -31
- package/styled-components/cjs/examples/plasma_web/components/Range/Range.js +0 -11
- package/styled-components/cjs/examples/plasma_web/components/Range/Range.stories.tsx +0 -312
- package/styled-components/es/components/Range/Range.js +0 -139
- package/styled-components/es/components/Range/Range.styles.js +0 -31
- package/styled-components/es/components/Range/Range.tokens.js +0 -97
- package/styled-components/es/components/Range/Range.types.js +0 -1
- package/styled-components/es/components/Range/index.js +0 -2
- package/styled-components/es/components/Range/utils/index.js +0 -16
- package/styled-components/es/components/Range/variations/_disabled/base.js +0 -3
- package/styled-components/es/components/Range/variations/_disabled/tokens.json +0 -4
- package/styled-components/es/components/Range/variations/_readonly/base.js +0 -4
- package/styled-components/es/components/Range/variations/_readonly/tokens.json +0 -4
- package/styled-components/es/components/Range/variations/_size/base.js +0 -4
- package/styled-components/es/components/Range/variations/_size/tokens.json +0 -26
- package/styled-components/es/components/Range/variations/_view/base.js +0 -4
- package/styled-components/es/components/Range/variations/_view/tokens.json +0 -6
- package/styled-components/es/examples/plasma_b2c/components/Range/Range.config.js +0 -25
- package/styled-components/es/examples/plasma_b2c/components/Range/Range.js +0 -5
- package/styled-components/es/examples/plasma_b2c/components/Range/Range.stories.tsx +0 -312
- package/styled-components/es/examples/plasma_web/components/Range/Range.config.js +0 -25
- package/styled-components/es/examples/plasma_web/components/Range/Range.js +0 -5
- package/styled-components/es/examples/plasma_web/components/Range/Range.stories.tsx +0 -312
- package/types/components/Range/Range.d.ts +0 -31
- package/types/components/Range/Range.d.ts.map +0 -1
- package/types/components/Range/Range.styles.d.ts +0 -48
- package/types/components/Range/Range.styles.d.ts.map +0 -1
- package/types/components/Range/Range.tokens.d.ts +0 -98
- package/types/components/Range/Range.tokens.d.ts.map +0 -1
- package/types/components/Range/Range.types.d.ts +0 -143
- package/types/components/Range/Range.types.d.ts.map +0 -1
- package/types/components/Range/index.d.ts +0 -4
- package/types/components/Range/index.d.ts.map +0 -1
- package/types/components/Range/utils/index.d.ts +0 -5
- package/types/components/Range/utils/index.d.ts.map +0 -1
- package/types/components/Range/variations/_disabled/base.d.ts +0 -2
- package/types/components/Range/variations/_disabled/base.d.ts.map +0 -1
- package/types/components/Range/variations/_readonly/base.d.ts +0 -2
- package/types/components/Range/variations/_readonly/base.d.ts.map +0 -1
- package/types/components/Range/variations/_size/base.d.ts +0 -2
- package/types/components/Range/variations/_size/base.d.ts.map +0 -1
- package/types/components/Range/variations/_view/base.d.ts +0 -2
- package/types/components/Range/variations/_view/base.d.ts.map +0 -1
- package/types/examples/plasma_b2c/components/Range/Range.config.d.ts +0 -24
- package/types/examples/plasma_b2c/components/Range/Range.config.d.ts.map +0 -1
- package/types/examples/plasma_b2c/components/Range/Range.d.ts +0 -127
- package/types/examples/plasma_b2c/components/Range/Range.d.ts.map +0 -1
- package/types/examples/plasma_web/components/Range/Range.config.d.ts +0 -24
- package/types/examples/plasma_web/components/Range/Range.config.d.ts.map +0 -1
- package/types/examples/plasma_web/components/Range/Range.d.ts +0 -127
- package/types/examples/plasma_web/components/Range/Range.d.ts.map +0 -1
@@ -1 +0,0 @@
|
|
1
|
-
.l8oinlg .io4bpie{padding:var(--plasma-textfield-placement_inner__content-padding);}.l8oinlg .suk2zst,.l8oinlg .s600610{padding:var(--plasma-textfield-placement_inner__content-padding);}.l8oinlg .io4bpie:focus ~ .l13qvwoy,.l8oinlg .io4bpie:not(:placeholder-shown) ~ .l13qvwoy{height:auto;padding:var(--plasma-textfield-placement_inner__label-padding);font-family:var(--plasma-textfield-placement_inner__label-font-family);font-size:var(--plasma-textfield-placement_inner__label-font-size);font-style:var(--plasma-textfield-placement_inner__label-font-style);font-weight:var(--plasma-textfield-placement_inner__label-font-weight);-webkit-letter-spacing:var(--plasma-textfield-placement_inner__label-letter-spacing);-moz-letter-spacing:var(--plasma-textfield-placement_inner__label-letter-spacing);-ms-letter-spacing:var(--plasma-textfield-placement_inner__label-letter-spacing);letter-spacing:var(--plasma-textfield-placement_inner__label-letter-spacing);line-height:var(--plasma-textfield-placement_inner__label-line-height);}.l8oinlg .io4bpie:not(:focus)::-webkit-input-placeholder{color:transparent;}.l8oinlg .io4bpie:not(:focus)::-moz-placeholder{color:transparent;}.l8oinlg .io4bpie:not(:focus):-ms-input-placeholder{color:transparent;}.l8oinlg .io4bpie:not(:focus)::placeholder{color:transparent;}.l8oinlg .io4bpie:focus::-webkit-input-placeholder{color:transparent;}.l8oinlg .io4bpie:focus::-moz-placeholder{color:transparent;}.l8oinlg .io4bpie:focus:-ms-input-placeholder{color:transparent;}.l8oinlg .io4bpie:focus::placeholder{color:transparent;}.l8oinlg .l13qvwoy{color:var(--plasma-textfield__placeholder-color);pointer-events:none;position:absolute;top:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;box-sizing:border-box;-webkit-transition:padding 0.1s ease-in-out,height 0s;transition:padding 0.1s ease-in-out,height 0s;height:var(--plasma-textfield-height);padding-top:calc(var(--plasma-textfield-height) / 4);padding-bottom:calc(var(--plasma-textfield-height) / 4);}
|
@@ -1,148 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
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); }
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
5
|
-
value: true
|
6
|
-
});
|
7
|
-
exports.rangeRoot = exports.rangeConfig = void 0;
|
8
|
-
var _react = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("react"));
|
9
|
-
var _utils = /*#__PURE__*/require("../../utils");
|
10
|
-
var _base = /*#__PURE__*/require("./variations/_size/base");
|
11
|
-
var _base2 = /*#__PURE__*/require("./variations/_view/base");
|
12
|
-
var _base3 = /*#__PURE__*/require("./variations/_disabled/base");
|
13
|
-
var _base4 = /*#__PURE__*/require("./variations/_readonly/base");
|
14
|
-
var _utils2 = /*#__PURE__*/require("./utils");
|
15
|
-
var _Range = /*#__PURE__*/require("./Range.styles");
|
16
|
-
var _Range2 = /*#__PURE__*/require("./Range.tokens");
|
17
|
-
var _StyledDivider;
|
18
|
-
var _excluded = ["label", "leftHelper", "contentLeft", "contentRight", "view", "size", "readOnly", "disabled", "dividerVariant", "dividerIcon", "firstValue", "secondValue", "firstValueError", "secondValueError", "firstValueSuccess", "secondValueSuccess", "firstPlaceholder", "secondPlaceholder", "firstTextfieldContentLeft", "firstTextfieldContentRight", "secondTextfieldContentLeft", "secondTextfieldContentRight", "firstTextfieldTextBefore", "secondTextfieldTextBefore", "firstTextfieldTextAfter", "secondTextfieldTextAfter", "onChangeFirstValue", "onChangeSecondValue", "onSearchFirstValue", "onSearchSecondValue", "onFocusFirstTextfield", "onFocusSecondTextfield", "onBlurFirstTextfield", "onBlurSecondTextfield"];
|
19
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
20
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
21
|
-
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); }
|
22
|
-
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
23
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
24
|
-
var rangeRoot = exports.rangeRoot = function rangeRoot(Root) {
|
25
|
-
return /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
26
|
-
var _StyledDivider2;
|
27
|
-
var label = _ref.label,
|
28
|
-
leftHelper = _ref.leftHelper,
|
29
|
-
contentLeft = _ref.contentLeft,
|
30
|
-
contentRight = _ref.contentRight,
|
31
|
-
view = _ref.view,
|
32
|
-
size = _ref.size,
|
33
|
-
_ref$readOnly = _ref.readOnly,
|
34
|
-
readOnly = _ref$readOnly === void 0 ? false : _ref$readOnly,
|
35
|
-
_ref$disabled = _ref.disabled,
|
36
|
-
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
37
|
-
_ref$dividerVariant = _ref.dividerVariant,
|
38
|
-
dividerVariant = _ref$dividerVariant === void 0 ? 'dash' : _ref$dividerVariant,
|
39
|
-
dividerIcon = _ref.dividerIcon,
|
40
|
-
firstValue = _ref.firstValue,
|
41
|
-
secondValue = _ref.secondValue,
|
42
|
-
firstValueError = _ref.firstValueError,
|
43
|
-
secondValueError = _ref.secondValueError,
|
44
|
-
firstValueSuccess = _ref.firstValueSuccess,
|
45
|
-
secondValueSuccess = _ref.secondValueSuccess,
|
46
|
-
firstPlaceholder = _ref.firstPlaceholder,
|
47
|
-
secondPlaceholder = _ref.secondPlaceholder,
|
48
|
-
firstTextfieldContentLeft = _ref.firstTextfieldContentLeft,
|
49
|
-
firstTextfieldContentRight = _ref.firstTextfieldContentRight,
|
50
|
-
secondTextfieldContentLeft = _ref.secondTextfieldContentLeft,
|
51
|
-
secondTextfieldContentRight = _ref.secondTextfieldContentRight,
|
52
|
-
firstTextfieldTextBefore = _ref.firstTextfieldTextBefore,
|
53
|
-
secondTextfieldTextBefore = _ref.secondTextfieldTextBefore,
|
54
|
-
firstTextfieldTextAfter = _ref.firstTextfieldTextAfter,
|
55
|
-
secondTextfieldTextAfter = _ref.secondTextfieldTextAfter,
|
56
|
-
onChangeFirstValue = _ref.onChangeFirstValue,
|
57
|
-
onChangeSecondValue = _ref.onChangeSecondValue,
|
58
|
-
onSearchFirstValue = _ref.onSearchFirstValue,
|
59
|
-
onSearchSecondValue = _ref.onSearchSecondValue,
|
60
|
-
onFocusFirstTextfield = _ref.onFocusFirstTextfield,
|
61
|
-
onFocusSecondTextfield = _ref.onFocusSecondTextfield,
|
62
|
-
onBlurFirstTextfield = _ref.onBlurFirstTextfield,
|
63
|
-
onBlurSecondTextfield = _ref.onBlurSecondTextfield,
|
64
|
-
rest = _objectWithoutProperties(_ref, _excluded);
|
65
|
-
var rangeErrorClass = firstValueError && secondValueError ? _Range2.classes.rangeError : undefined;
|
66
|
-
var firstValueErrorClass = !rangeErrorClass && firstValueError ? _Range2.classes.rangeValueError : undefined;
|
67
|
-
var secondValueErrorClass = !rangeErrorClass && secondValueError ? _Range2.classes.rangeValueError : undefined;
|
68
|
-
var rangeSuccessClass = firstValueSuccess && secondValueSuccess ? _Range2.classes.rangeSuccess : undefined;
|
69
|
-
var firstValueSuccessClass = !rangeSuccessClass && firstValueSuccess ? _Range2.classes.rangeValueSuccess : undefined;
|
70
|
-
var secondValueSuccessClass = !rangeSuccessClass && secondValueSuccess ? _Range2.classes.rangeValueSuccess : undefined;
|
71
|
-
var handleChangeFirstValue = (0, _react.useCallback)((0, _utils2.getChangeHandler)(onChangeFirstValue, disabled, readOnly), [onChangeFirstValue, disabled, readOnly]);
|
72
|
-
var handleChangeSecondValue = (0, _react.useCallback)((0, _utils2.getChangeHandler)(onChangeSecondValue, disabled, readOnly), [onChangeSecondValue, disabled, readOnly]);
|
73
|
-
var handleSearchFirstValue = (0, _react.useCallback)((0, _utils2.getSearchHandler)(onSearchFirstValue, disabled, readOnly), [onSearchFirstValue, disabled, readOnly]);
|
74
|
-
var handleSearchSecondValue = (0, _react.useCallback)((0, _utils2.getSearchHandler)(onSearchSecondValue, disabled, readOnly), [onSearchFirstValue, disabled, readOnly]);
|
75
|
-
var Divider = (0, _react.useMemo)(function () {
|
76
|
-
if (dividerVariant === 'none') {
|
77
|
-
return null;
|
78
|
-
}
|
79
|
-
if (dividerVariant === 'dash') {
|
80
|
-
return _StyledDivider || (_StyledDivider = /*#__PURE__*/_react["default"].createElement(_Range.StyledDivider, null, "-"));
|
81
|
-
}
|
82
|
-
return _StyledDivider2 || (_StyledDivider2 = /*#__PURE__*/_react["default"].createElement(_Range.StyledDivider, null, dividerIcon));
|
83
|
-
}, [dividerVariant, dividerIcon]);
|
84
|
-
return /*#__PURE__*/_react["default"].createElement(Root, _extends({
|
85
|
-
view: view,
|
86
|
-
size: size,
|
87
|
-
disabled: disabled,
|
88
|
-
readOnly: !disabled && readOnly,
|
89
|
-
ref: ref
|
90
|
-
}, rest), label && /*#__PURE__*/_react["default"].createElement(_Range.StyledLabel, null, label), /*#__PURE__*/_react["default"].createElement(_Range.ContentWrapper, {
|
91
|
-
className: (0, _utils.cx)(rangeErrorClass, rangeSuccessClass)
|
92
|
-
}, contentLeft && /*#__PURE__*/_react["default"].createElement(_Range.StyledContentLeft, null, contentLeft), /*#__PURE__*/_react["default"].createElement(_Range.StyledInput, {
|
93
|
-
className: (0, _utils.cx)(firstValueErrorClass, firstValueSuccessClass),
|
94
|
-
value: firstValue,
|
95
|
-
readOnly: readOnly,
|
96
|
-
disabled: disabled,
|
97
|
-
placeholder: firstPlaceholder,
|
98
|
-
contentLeft: firstTextfieldContentLeft,
|
99
|
-
contentRight: firstTextfieldContentRight,
|
100
|
-
textBefore: firstTextfieldTextBefore,
|
101
|
-
textAfter: firstTextfieldTextAfter,
|
102
|
-
onChange: handleChangeFirstValue,
|
103
|
-
onSearch: handleSearchFirstValue,
|
104
|
-
onFocus: onFocusFirstTextfield,
|
105
|
-
onBlur: onBlurFirstTextfield
|
106
|
-
}), Divider, /*#__PURE__*/_react["default"].createElement(_Range.StyledInput, {
|
107
|
-
className: (0, _utils.cx)(secondValueErrorClass, secondValueSuccessClass),
|
108
|
-
value: secondValue,
|
109
|
-
readOnly: readOnly,
|
110
|
-
disabled: disabled,
|
111
|
-
placeholder: secondPlaceholder,
|
112
|
-
contentLeft: secondTextfieldContentLeft,
|
113
|
-
contentRight: secondTextfieldContentRight,
|
114
|
-
textBefore: secondTextfieldTextBefore,
|
115
|
-
textAfter: secondTextfieldTextAfter,
|
116
|
-
onChange: handleChangeSecondValue,
|
117
|
-
onSearch: handleSearchSecondValue,
|
118
|
-
onFocus: onFocusSecondTextfield,
|
119
|
-
onBlur: onBlurSecondTextfield
|
120
|
-
}), contentRight && /*#__PURE__*/_react["default"].createElement(_Range.StyledContentRight, null, contentRight)), leftHelper && /*#__PURE__*/_react["default"].createElement(_Range.LeftHelper, null, leftHelper));
|
121
|
-
});
|
122
|
-
};
|
123
|
-
var rangeConfig = exports.rangeConfig = {
|
124
|
-
name: 'Range',
|
125
|
-
tag: 'div',
|
126
|
-
layout: rangeRoot,
|
127
|
-
base: _Range.base,
|
128
|
-
variations: {
|
129
|
-
view: {
|
130
|
-
css: _base2.base
|
131
|
-
},
|
132
|
-
size: {
|
133
|
-
css: _base.base
|
134
|
-
},
|
135
|
-
disabled: {
|
136
|
-
css: _base3.base,
|
137
|
-
attrs: true
|
138
|
-
},
|
139
|
-
readOnly: {
|
140
|
-
css: _base4.base,
|
141
|
-
attrs: true
|
142
|
-
}
|
143
|
-
},
|
144
|
-
defaults: {
|
145
|
-
size: 'm',
|
146
|
-
view: 'default'
|
147
|
-
}
|
148
|
-
};
|
@@ -1,39 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
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); }
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
5
|
-
value: true
|
6
|
-
});
|
7
|
-
exports.base = exports.StyledLabel = exports.StyledInput = exports.StyledDivider = exports.StyledContentRight = exports.StyledContentLeft = exports.LeftHelper = exports.ContentWrapper = void 0;
|
8
|
-
var _styledComponents = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("styled-components"));
|
9
|
-
var _engines = /*#__PURE__*/require("../../engines");
|
10
|
-
var _TextField = /*#__PURE__*/require("../TextField");
|
11
|
-
var _Range = /*#__PURE__*/require("./Range.tokens");
|
12
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
13
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
14
|
-
var mergedConfig = /*#__PURE__*/(0, _engines.mergeConfig)(_TextField.textFieldConfig);
|
15
|
-
var TextField = /*#__PURE__*/(0, _engines.component)(mergedConfig);
|
16
|
-
|
17
|
-
// NOTE: переопределение токенов TextField
|
18
|
-
var StyledInput = exports.StyledInput = /*#__PURE__*/(0, _styledComponents["default"])(TextField).withConfig({
|
19
|
-
componentId: "plasma-new-hope__sc-xpkrak-0"
|
20
|
-
})(["flex:1;", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");&.", "{", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");}&.", "{", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");}"], _TextField.textFieldTokens.color, _Range.tokens.textFieldColor, _TextField.textFieldTokens.placeholderColor, _Range.tokens.textFieldPlaceholderColor, _TextField.textFieldTokens.caretColor, _Range.tokens.textFieldCaretColor, _TextField.textFieldTokens.focusColor, _Range.tokens.textFieldFocusColor, _TextField.textFieldTokens.backgroundColor, _Range.tokens.textFieldBackgroundColor, _TextField.textFieldTokens.backgroundColorHover, _Range.tokens.textFieldBackgroundColorHover, _TextField.textFieldTokens.backgroundColorFocus, _Range.tokens.textFieldBackgroundColorFocus, _TextField.textFieldTokens.borderColor, _Range.tokens.textFieldBorderColor, _TextField.textFieldTokens.borderColorHover, _Range.tokens.textFieldBorderColorHover, _TextField.textFieldTokens.borderColorFocus, _Range.tokens.textFieldBorderColorFocus, _TextField.textFieldTokens.colorReadOnly, _Range.tokens.textFieldColorReadOnly, _TextField.textFieldTokens.backgroundColorReadOnly, _Range.tokens.textFieldBackgroundColorReadOnly, _TextField.textFieldTokens.borderColorReadOnly, _Range.tokens.textFieldBorderColorReadOnly, _TextField.textFieldTokens.placeholderColorReadOnly, _Range.tokens.textFieldPlaceholderColorReadOnly, _TextField.textFieldTokens.height, _Range.tokens.textFieldHeight, _TextField.textFieldTokens.borderWidth, _Range.tokens.textFieldBorderWidth, _TextField.textFieldTokens.borderRadius, _Range.tokens.textFieldBorderRadius, _TextField.textFieldTokens.padding, _Range.tokens.textFieldPadding, _TextField.textFieldTokens.leftContentMargin, _Range.tokens.textFieldLeftContentMargin, _TextField.textFieldTokens.rightContentMargin, _Range.tokens.textFieldRightContentMargin, _TextField.textFieldTokens.fontFamily, _Range.tokens.textFieldFontFamily, _TextField.textFieldTokens.fontSize, _Range.tokens.textFieldFontSize, _TextField.textFieldTokens.fontStyle, _Range.tokens.textFieldFontStyle, _TextField.textFieldTokens.fontWeight, _Range.tokens.textFieldFontWeight, _TextField.textFieldTokens.letterSpacing, _Range.tokens.textFieldLetterSpacing, _TextField.textFieldTokens.lineHeight, _Range.tokens.textFieldLineHeight, _TextField.textFieldTokens.disabledOpacity, _Range.tokens.disabledOpacity, _TextField.textFieldTokens.textBeforeColor, _Range.tokens.textFieldTextBeforeColor, _TextField.textFieldTokens.textAfterColor, _Range.tokens.textFieldTextAfterColor, _TextField.textFieldTokens.textBeforeMargin, _Range.tokens.textFieldTextBeforeMargin, _TextField.textFieldTokens.textAfterMargin, _Range.tokens.textFieldTextAfterMargin, _Range.classes.rangeValueError, _TextField.textFieldTokens.backgroundColor, _Range.tokens.textFieldBackgroundErrorColor, _TextField.textFieldTokens.backgroundColorHover, _Range.tokens.textFieldBackgroundErrorColorHover, _TextField.textFieldTokens.backgroundColorFocus, _Range.tokens.textFieldBackgroundErrorColorFocus, _TextField.textFieldTokens.borderColor, _Range.tokens.textFieldBorderColorError, _TextField.textFieldTokens.borderColorHover, _Range.tokens.textFieldBorderColorErrorHover, _TextField.textFieldTokens.borderColorFocus, _Range.tokens.textFieldBorderColorErrorFocus, _Range.classes.rangeValueSuccess, _TextField.textFieldTokens.backgroundColor, _Range.tokens.textFieldBackgroundSuccessColor, _TextField.textFieldTokens.backgroundColorHover, _Range.tokens.textFieldBackgroundSuccessColorHover, _TextField.textFieldTokens.backgroundColorFocus, _Range.tokens.textFieldBackgroundSuccessColorFocus, _TextField.textFieldTokens.borderColor, _Range.tokens.textFieldBorderColorSuccess, _TextField.textFieldTokens.borderColorHover, _Range.tokens.textFieldBorderColorSuccessHover, _TextField.textFieldTokens.borderColorFocus, _Range.tokens.textFieldBorderColorSuccessFocus);
|
21
|
-
var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)([""]);
|
22
|
-
var StyledLabel = exports.StyledLabel = /*#__PURE__*/_styledComponents["default"].label.withConfig({
|
23
|
-
componentId: "plasma-new-hope__sc-xpkrak-1"
|
24
|
-
})([""]);
|
25
|
-
var LeftHelper = exports.LeftHelper = /*#__PURE__*/_styledComponents["default"].div.withConfig({
|
26
|
-
componentId: "plasma-new-hope__sc-xpkrak-2"
|
27
|
-
})([""]);
|
28
|
-
var ContentWrapper = exports.ContentWrapper = /*#__PURE__*/_styledComponents["default"].div.withConfig({
|
29
|
-
componentId: "plasma-new-hope__sc-xpkrak-3"
|
30
|
-
})(["display:flex;align-items:center;"]);
|
31
|
-
var StyledDivider = exports.StyledDivider = /*#__PURE__*/_styledComponents["default"].div.withConfig({
|
32
|
-
componentId: "plasma-new-hope__sc-xpkrak-4"
|
33
|
-
})([""]);
|
34
|
-
var StyledContentLeft = exports.StyledContentLeft = /*#__PURE__*/_styledComponents["default"].div.withConfig({
|
35
|
-
componentId: "plasma-new-hope__sc-xpkrak-5"
|
36
|
-
})([""]);
|
37
|
-
var StyledContentRight = exports.StyledContentRight = /*#__PURE__*/_styledComponents["default"].div.withConfig({
|
38
|
-
componentId: "plasma-new-hope__sc-xpkrak-6"
|
39
|
-
})([""]);
|
@@ -1,103 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.tokens = exports.classes = void 0;
|
7
|
-
var classes = exports.classes = {
|
8
|
-
rangeError: 'range-error',
|
9
|
-
rangeValueError: 'range-value-error',
|
10
|
-
rangeSuccess: 'range-success',
|
11
|
-
rangeValueSuccess: 'range-value-success'
|
12
|
-
};
|
13
|
-
var tokens = exports.tokens = {
|
14
|
-
background: '--plasma-range-background',
|
15
|
-
backgroundError: '--plasma-range-background-error',
|
16
|
-
backgroundSuccess: '--plasma-range-background-success',
|
17
|
-
backgroundReadOnly: '--plasma-range-background-readonly',
|
18
|
-
borderRadius: '--plasma-range-border-radius',
|
19
|
-
borderWidth: '--plasma-range-border-width',
|
20
|
-
borderColor: '--plasma-range-border-color',
|
21
|
-
borderColorError: '--plasma-range-border-color-error',
|
22
|
-
borderColorSuccess: '--plasma-range-border-color-success',
|
23
|
-
borderColorReadOnly: '--plasma-range-border-color-readonly',
|
24
|
-
/** Токены разделителя */
|
25
|
-
dividerColor: '--plasma-range__divider-color',
|
26
|
-
dividerPadding: '--plasma-range__divider-padding',
|
27
|
-
dividerFontFamily: '--plasma-range__divider-font-family',
|
28
|
-
dividerFontStyle: '--plasma-range__divider-font-style',
|
29
|
-
dividerFontSize: '--plasma-range__divider-font-size',
|
30
|
-
dividerFontWeight: '--plasma-range__divider-font-weight',
|
31
|
-
dividerLetterSpacing: '--plasma-range__divider-letter-spacing',
|
32
|
-
dividerLineHeight: '--plasma-range__divider-line-height',
|
33
|
-
/** Токены слотов для контента */
|
34
|
-
leftContentMargin: '--plasma-range__left-content-margin',
|
35
|
-
rightContentMargin: '--plasma-range__right-content-margin',
|
36
|
-
/** Токены лейбла */
|
37
|
-
labelColor: '--plasma-range__label-color',
|
38
|
-
labelColorReadOnly: '--plasma-range__label-color-readonly',
|
39
|
-
labelOffset: '--plasma-range__label-offset',
|
40
|
-
labelFontFamily: '--plasma-range__label-font-family',
|
41
|
-
labelFontStyle: '--plasma-range__label-font-style',
|
42
|
-
labelFontSize: '--plasma-range__label-font-size',
|
43
|
-
labelFontWeight: '--plasma-range__label-font-weight',
|
44
|
-
labelLetterSpacing: '--plasma-range__label-letter-spacing',
|
45
|
-
labelLineHeight: '--plasma-range__label-line-height',
|
46
|
-
/** Токены вспомогательного текста */
|
47
|
-
leftHelperColor: '--plasma-range__left-helper-color',
|
48
|
-
leftHelperColorReadOnly: '--plasma-range__left-helper-color-readonly',
|
49
|
-
leftHelperOffset: '--plasma-range__left-helper-offset',
|
50
|
-
leftHelperFontFamily: '--plasma-range__left-helper-font-family',
|
51
|
-
leftHelperFontStyle: '--plasma-range__left-helper-font-style',
|
52
|
-
leftHelperFontSize: '--plasma-range__left-helper-font-size',
|
53
|
-
leftHelperFontWeight: '--plasma-range__left-helper-font-weight',
|
54
|
-
leftHelperLetterSpacing: '--plasma-range__left-helper-letter-spacing',
|
55
|
-
leftHelperLineHeight: '--plasma-range__left-helper-line-height',
|
56
|
-
/** Прозрачность для всего компонента в состоянии disabled */
|
57
|
-
disabledOpacity: '--plasma-range-disabled-opacity',
|
58
|
-
/** Цвет обводки поля ввода при фокусе */
|
59
|
-
focusColor: '--plasma-range-focus-color',
|
60
|
-
/** Токены полей ввода */
|
61
|
-
textFieldColor: '--plasma-range-textfield-color',
|
62
|
-
textFieldFocusColor: '--plasma-range-textfield-focus-color',
|
63
|
-
textFieldPlaceholderColor: '--plasma-range-textfield-placeholder-color',
|
64
|
-
textFieldCaretColor: '--plasma-range-textfield-caret-color',
|
65
|
-
textFieldBackgroundColor: '--plasma-range-textfield-background-color',
|
66
|
-
textFieldBackgroundColorHover: '--plasma-range-textfield-background-color-hover',
|
67
|
-
textFieldBackgroundColorFocus: '--plasma-range-textfield-background-color-focus',
|
68
|
-
textFieldBackgroundErrorColor: '--plasma-range-textfield-background-color-error',
|
69
|
-
textFieldBackgroundErrorColorHover: '--plasma-range-textfield-background-color-error-hover',
|
70
|
-
textFieldBackgroundErrorColorFocus: '--plasma-range-textfield-background-color-error-focus',
|
71
|
-
textFieldBackgroundSuccessColor: '--plasma-range-textfield-background-color-success',
|
72
|
-
textFieldBackgroundSuccessColorHover: '--plasma-range-textfield-background-color-success-hover',
|
73
|
-
textFieldBackgroundSuccessColorFocus: '--plasma-range-textfield-background-color-success-focus',
|
74
|
-
textFieldBorderColor: '--plasma-range-textfield-border-color',
|
75
|
-
textFieldBorderColorHover: '--plasma-range-textfield-border-color-hover',
|
76
|
-
textFieldBorderColorFocus: '--plasma-range-textfield-border-color-focus',
|
77
|
-
textFieldBorderColorError: '--plasma-range-textfield-border-color-error',
|
78
|
-
textFieldBorderColorErrorHover: '--plasma-range-textfield-border-color-error-hover',
|
79
|
-
textFieldBorderColorErrorFocus: '--plasma-range-textfield-border-color-error-focus',
|
80
|
-
textFieldBorderColorSuccess: '--plasma-range-textfield-border-color-success',
|
81
|
-
textFieldBorderColorSuccessHover: '--plasma-range-textfield-border-color-success-hover',
|
82
|
-
textFieldBorderColorSuccessFocus: '--plasma-range-textfield-border-color-success-focus',
|
83
|
-
textFieldColorReadOnly: '--plasma-range-textfield-color-readonly',
|
84
|
-
textFieldBackgroundColorReadOnly: '--plasma-range-textfield-background-color-readonly',
|
85
|
-
textFieldBorderColorReadOnly: '--plasma-range-textfield-border-color-readonly',
|
86
|
-
textFieldPlaceholderColorReadOnly: '--plasma-range-textfield-placeholder-color-readonly',
|
87
|
-
textFieldHeight: '--plasma-range-textfield-height',
|
88
|
-
textFieldBorderWidth: '--plasma-range-textfield-border-width',
|
89
|
-
textFieldBorderRadius: '--plasma-range-textfield-border-radius',
|
90
|
-
textFieldPadding: '--plasma-range-textfield-padding',
|
91
|
-
textFieldLeftContentMargin: '--plasma-range-textfield__left-content-margin',
|
92
|
-
textFieldRightContentMargin: '--plasma-range-textfield__right-content-margin',
|
93
|
-
textFieldFontFamily: '--plasma-range-textfield-font-family',
|
94
|
-
textFieldFontStyle: '--plasma-range-textfield-font-style',
|
95
|
-
textFieldFontSize: '--plasma-range-textfield-font-size',
|
96
|
-
textFieldFontWeight: '--plasma-range-textfield-font-weight',
|
97
|
-
textFieldLetterSpacing: '--plasma-range-textfield-letter-spacing',
|
98
|
-
textFieldLineHeight: '--plasma-range-textfield-line-height',
|
99
|
-
textFieldTextBeforeColor: '--plasma-range-textfield__before-text-color',
|
100
|
-
textFieldTextAfterColor: '--plasma-range-textfield__after-text-color',
|
101
|
-
textFieldTextBeforeMargin: '--plasma-range-textfield__before-text-margin',
|
102
|
-
textFieldTextAfterMargin: '--plasma-range-textfield__after-text-margin'
|
103
|
-
};
|
@@ -1,25 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
Object.defineProperty(exports, "rangeConfig", {
|
7
|
-
enumerable: true,
|
8
|
-
get: function get() {
|
9
|
-
return _Range.rangeConfig;
|
10
|
-
}
|
11
|
-
});
|
12
|
-
Object.defineProperty(exports, "rangeRoot", {
|
13
|
-
enumerable: true,
|
14
|
-
get: function get() {
|
15
|
-
return _Range.rangeRoot;
|
16
|
-
}
|
17
|
-
});
|
18
|
-
Object.defineProperty(exports, "rangeTokens", {
|
19
|
-
enumerable: true,
|
20
|
-
get: function get() {
|
21
|
-
return _Range2.tokens;
|
22
|
-
}
|
23
|
-
});
|
24
|
-
var _Range = /*#__PURE__*/require("./Range");
|
25
|
-
var _Range2 = /*#__PURE__*/require("./Range.tokens");
|
@@ -1,22 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.getSearchHandler = exports.getChangeHandler = void 0;
|
7
|
-
var getChangeHandler = exports.getChangeHandler = function getChangeHandler(changeHandler, disabled, readOnly) {
|
8
|
-
return function (event) {
|
9
|
-
if (disabled || readOnly) {
|
10
|
-
return;
|
11
|
-
}
|
12
|
-
changeHandler === null || changeHandler === void 0 || changeHandler(event, event.target.value);
|
13
|
-
};
|
14
|
-
};
|
15
|
-
var getSearchHandler = exports.getSearchHandler = function getSearchHandler(searchHandler, disabled, readOnly) {
|
16
|
-
return function (value, event) {
|
17
|
-
if (disabled || readOnly) {
|
18
|
-
return;
|
19
|
-
}
|
20
|
-
searchHandler === null || searchHandler === void 0 || searchHandler(event, value);
|
21
|
-
};
|
22
|
-
};
|
@@ -1,9 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.base = void 0;
|
7
|
-
var _styledComponents = /*#__PURE__*/require("styled-components");
|
8
|
-
var _Range = /*#__PURE__*/require("../../Range.tokens");
|
9
|
-
var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["&[disabled]{opacity:var(", ");cursor:not-allowed;}"], _Range.tokens.disabledOpacity);
|
@@ -1,10 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.base = void 0;
|
7
|
-
var _styledComponents = /*#__PURE__*/require("styled-components");
|
8
|
-
var _Range = /*#__PURE__*/require("../../Range.tokens");
|
9
|
-
var _Range2 = /*#__PURE__*/require("../../Range.styles");
|
10
|
-
var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["&[readonly]{cursor:default;", "{background:var(", ");}", "{display:block;color:var(", ");}", "{color:var(", ");}}"], _Range2.ContentWrapper, _Range.tokens.backgroundReadOnly, _Range2.StyledLabel, _Range.tokens.labelColorReadOnly, _Range2.LeftHelper, _Range.tokens.leftHelperColorReadOnly);
|
@@ -1,10 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.base = void 0;
|
7
|
-
var _styledComponents = /*#__PURE__*/require("styled-components");
|
8
|
-
var _Range = /*#__PURE__*/require("../../Range.tokens");
|
9
|
-
var _Range2 = /*#__PURE__*/require("../../Range.styles");
|
10
|
-
var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["", "{width:inherit;border-radius:var(", ");}", "{display:flex;align-items:center;justify-content:center;height:100%;padding:var(", ");font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");}", "{margin:var(", ");font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");}", "{margin:var(", ");}", "{margin:var(", ");}", "{margin:var(", ");font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");}"], _Range2.ContentWrapper, _Range.tokens.borderRadius, _Range2.StyledDivider, _Range.tokens.dividerPadding, _Range.tokens.dividerFontFamily, _Range.tokens.dividerFontSize, _Range.tokens.dividerFontStyle, _Range.tokens.dividerFontWeight, _Range.tokens.dividerLetterSpacing, _Range.tokens.dividerLineHeight, _Range2.StyledLabel, _Range.tokens.labelOffset, _Range.tokens.labelFontFamily, _Range.tokens.labelFontSize, _Range.tokens.labelFontStyle, _Range.tokens.labelFontWeight, _Range.tokens.labelLetterSpacing, _Range.tokens.labelLineHeight, _Range2.StyledContentLeft, _Range.tokens.leftContentMargin, _Range2.StyledContentRight, _Range.tokens.rightContentMargin, _Range2.LeftHelper, _Range.tokens.leftHelperOffset, _Range.tokens.leftHelperFontFamily, _Range.tokens.leftHelperFontSize, _Range.tokens.leftHelperFontStyle, _Range.tokens.leftHelperFontWeight, _Range.tokens.leftHelperLetterSpacing, _Range.tokens.leftHelperLineHeight);
|
@@ -1,26 +0,0 @@
|
|
1
|
-
[
|
2
|
-
"--plasma-range-border-radius",
|
3
|
-
"--plasma-range__left-content-margin",
|
4
|
-
"--plasma-range__right-content-margin",
|
5
|
-
"--plasma-range__label-offset",
|
6
|
-
"--plasma-range__label-font-family",
|
7
|
-
"--plasma-range__label-font-style",
|
8
|
-
"--plasma-range__label-font-size",
|
9
|
-
"--plasma-range__label-font-weight",
|
10
|
-
"--plasma-range__label-letter-spacing",
|
11
|
-
"--plasma-range__label-line-height",
|
12
|
-
"--plasma-range__left-helper-offset",
|
13
|
-
"--plasma-range__left-helper-font-family",
|
14
|
-
"--plasma-range__left-helper-font-style",
|
15
|
-
"--plasma-range__left-helper-font-size",
|
16
|
-
"--plasma-range__left-helper-font-weight",
|
17
|
-
"--plasma-range__left-helper-letter-spacing",
|
18
|
-
"--plasma-range__left-helper-line-height",
|
19
|
-
"--plasma-range__divider-padding",
|
20
|
-
"--plasma-range__divider-font-family",
|
21
|
-
"--plasma-range__divider-font-style",
|
22
|
-
"--plasma-range__divider-font-size",
|
23
|
-
"--plasma-range__divider-font-weight",
|
24
|
-
"--plasma-range__divider-letter-spacing",
|
25
|
-
"--plasma-range__divider-line-height"
|
26
|
-
]
|
@@ -1,10 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.base = void 0;
|
7
|
-
var _styledComponents = /*#__PURE__*/require("styled-components");
|
8
|
-
var _Range = /*#__PURE__*/require("../../Range.tokens");
|
9
|
-
var _Range2 = /*#__PURE__*/require("../../Range.styles");
|
10
|
-
var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["", "{background-color:var(", ");box-shadow:inset 0 0 0 var(", ") var(", ");&.", "{background-color:var(", ");box-shadow:inset 0 0 0 var(", ") var(", ");}&.", "{background-color:var(", ");box-shadow:inset 0 0 0 var(", ") var(", ");}}", "{color:var(", ");}", "{display:block;color:var(", ");}", "{color:var(", ");}"], _Range2.ContentWrapper, _Range.tokens.background, _Range.tokens.borderWidth, _Range.tokens.borderColor, _Range.classes.rangeError, _Range.tokens.backgroundError, _Range.tokens.borderWidth, _Range.tokens.borderColorError, _Range.classes.rangeSuccess, _Range.tokens.backgroundSuccess, _Range.tokens.borderWidth, _Range.tokens.borderColorSuccess, _Range2.StyledDivider, _Range.tokens.dividerColor, _Range2.StyledLabel, _Range.tokens.labelColor, _Range2.LeftHelper, _Range.tokens.leftHelperColor);
|
@@ -1,31 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.config = void 0;
|
7
|
-
var _styledComponents = /*#__PURE__*/require("styled-components");
|
8
|
-
var _Range = /*#__PURE__*/require("../../../../components/Range");
|
9
|
-
var config = exports.config = {
|
10
|
-
defaults: {
|
11
|
-
view: 'default',
|
12
|
-
size: 'l'
|
13
|
-
},
|
14
|
-
variations: {
|
15
|
-
view: {
|
16
|
-
"default": /*#__PURE__*/(0, _styledComponents.css)(["", ":var(--surface-transparent-primary);", ":var(--surface-transparent-negative);", ":var(--surface-transparent-positive);", ":var(--text-primary);", ":var(--text-primary);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--text-secondary);", ":var(--text-accent);", ":var(--surface-transparent-secondary);", ":var(--surface-transparent-negative);", ":var(--surface-transparent-negative-active);", ":var(--surface-transparent-positive);", ":var(--surface-transparent-positive-active);", ":var(--text-tertiary);", ":var(--text-tertiary);", ":var(--text-accent);"], _Range.rangeTokens.background, _Range.rangeTokens.backgroundError, _Range.rangeTokens.backgroundSuccess, _Range.rangeTokens.dividerColor, _Range.rangeTokens.labelColor, _Range.rangeTokens.leftHelperColor, _Range.rangeTokens.textFieldColor, _Range.rangeTokens.textFieldPlaceholderColor, _Range.rangeTokens.textFieldCaretColor, _Range.rangeTokens.textFieldBackgroundColorFocus, _Range.rangeTokens.textFieldBackgroundErrorColor, _Range.rangeTokens.textFieldBackgroundErrorColorFocus, _Range.rangeTokens.textFieldBackgroundSuccessColor, _Range.rangeTokens.textFieldBackgroundSuccessColorFocus, _Range.rangeTokens.textFieldTextBeforeColor, _Range.rangeTokens.textFieldTextAfterColor, _Range.rangeTokens.focusColor)
|
17
|
-
},
|
18
|
-
size: {
|
19
|
-
l: /*#__PURE__*/(0, _styledComponents.css)(["", ":0.875rem;", ":0 0.375rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":0 0.375rem 0 1rem;", ":0;", ":0 0 0.75rem 0;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":3.5rem;", ":0.875rem;", ":1.0625rem 1.125rem 1.0625rem 1.125rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":0.25rem 0 0 0;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":-0.0625rem 0.5rem -0.0625rem -0.125rem;", ":-0.0625rem -0.125rem -0.0625rem 0.75rem;", ":0 0.25rem 0 0;", ":0 0 0 0.25rem;"], _Range.rangeTokens.borderRadius, _Range.rangeTokens.dividerPadding, _Range.rangeTokens.dividerFontFamily, _Range.rangeTokens.dividerFontStyle, _Range.rangeTokens.dividerFontSize, _Range.rangeTokens.dividerFontWeight, _Range.rangeTokens.dividerLetterSpacing, _Range.rangeTokens.dividerLineHeight, _Range.rangeTokens.leftContentMargin, _Range.rangeTokens.rightContentMargin, _Range.rangeTokens.labelOffset, _Range.rangeTokens.labelFontFamily, _Range.rangeTokens.labelFontStyle, _Range.rangeTokens.labelFontSize, _Range.rangeTokens.labelFontWeight, _Range.rangeTokens.labelLetterSpacing, _Range.rangeTokens.labelLineHeight, _Range.rangeTokens.textFieldHeight, _Range.rangeTokens.textFieldBorderRadius, _Range.rangeTokens.textFieldPadding, _Range.rangeTokens.textFieldFontFamily, _Range.rangeTokens.textFieldFontStyle, _Range.rangeTokens.textFieldFontSize, _Range.rangeTokens.textFieldFontWeight, _Range.rangeTokens.textFieldLetterSpacing, _Range.rangeTokens.textFieldLineHeight, _Range.rangeTokens.leftHelperOffset, _Range.rangeTokens.leftHelperFontFamily, _Range.rangeTokens.leftHelperFontStyle, _Range.rangeTokens.leftHelperFontSize, _Range.rangeTokens.leftHelperFontWeight, _Range.rangeTokens.leftHelperLetterSpacing, _Range.rangeTokens.leftHelperLineHeight, _Range.rangeTokens.textFieldLeftContentMargin, _Range.rangeTokens.textFieldRightContentMargin, _Range.rangeTokens.textFieldTextBeforeMargin, _Range.rangeTokens.textFieldTextAfterMargin),
|
20
|
-
m: /*#__PURE__*/(0, _styledComponents.css)(["", ":0.75rem;", ":0 0.375rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":0 0.375rem 0 0.875rem;", ":0;", ":0 0 0.625rem 0;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":3rem;", ":0.75rem;", ":0.875rem 1rem 0.875rem 1rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":0.25rem 0 0 0;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":-0.125rem 0.375rem -0.125rem -0.125rem;", ":-0.125rem -0.125rem -0.125rem 0.75rem;", ":0 0.25rem 0 0;", ":0 0 0 0.25rem;"], _Range.rangeTokens.borderRadius, _Range.rangeTokens.dividerPadding, _Range.rangeTokens.dividerFontFamily, _Range.rangeTokens.dividerFontStyle, _Range.rangeTokens.dividerFontSize, _Range.rangeTokens.dividerFontWeight, _Range.rangeTokens.dividerLetterSpacing, _Range.rangeTokens.dividerLineHeight, _Range.rangeTokens.leftContentMargin, _Range.rangeTokens.rightContentMargin, _Range.rangeTokens.labelOffset, _Range.rangeTokens.labelFontFamily, _Range.rangeTokens.labelFontStyle, _Range.rangeTokens.labelFontSize, _Range.rangeTokens.labelFontWeight, _Range.rangeTokens.labelLetterSpacing, _Range.rangeTokens.labelLineHeight, _Range.rangeTokens.textFieldHeight, _Range.rangeTokens.textFieldBorderRadius, _Range.rangeTokens.textFieldPadding, _Range.rangeTokens.textFieldFontFamily, _Range.rangeTokens.textFieldFontStyle, _Range.rangeTokens.textFieldFontSize, _Range.rangeTokens.textFieldFontWeight, _Range.rangeTokens.textFieldLetterSpacing, _Range.rangeTokens.textFieldLineHeight, _Range.rangeTokens.leftHelperOffset, _Range.rangeTokens.leftHelperFontFamily, _Range.rangeTokens.leftHelperFontStyle, _Range.rangeTokens.leftHelperFontSize, _Range.rangeTokens.leftHelperFontWeight, _Range.rangeTokens.leftHelperLetterSpacing, _Range.rangeTokens.leftHelperLineHeight, _Range.rangeTokens.textFieldLeftContentMargin, _Range.rangeTokens.textFieldRightContentMargin, _Range.rangeTokens.textFieldTextBeforeMargin, _Range.rangeTokens.textFieldTextAfterMargin),
|
21
|
-
s: /*#__PURE__*/(0, _styledComponents.css)(["", ":0.625rem;", ":0 0.375rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":0 0.375rem 0 0.75rem;", ":0;", ":0 0 0.5rem 0;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":2.5rem;", ":0.625rem;", ":0.6875rem 0.875rem 0.6875rem 0.875rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":0.25rem 0 0 0;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":-0.1875rem 0.25rem -0.1875rem -0.125rem;", ":-0.1875rem -0.125rem -0.1875rem 0.75rem;", ":0 0.25rem 0 0;", ":0 0 0 0.25rem;"], _Range.rangeTokens.borderRadius, _Range.rangeTokens.dividerPadding, _Range.rangeTokens.dividerFontFamily, _Range.rangeTokens.dividerFontStyle, _Range.rangeTokens.dividerFontSize, _Range.rangeTokens.dividerFontWeight, _Range.rangeTokens.dividerLetterSpacing, _Range.rangeTokens.dividerLineHeight, _Range.rangeTokens.leftContentMargin, _Range.rangeTokens.rightContentMargin, _Range.rangeTokens.labelOffset, _Range.rangeTokens.labelFontFamily, _Range.rangeTokens.labelFontStyle, _Range.rangeTokens.labelFontSize, _Range.rangeTokens.labelFontWeight, _Range.rangeTokens.labelLetterSpacing, _Range.rangeTokens.labelLineHeight, _Range.rangeTokens.textFieldHeight, _Range.rangeTokens.textFieldBorderRadius, _Range.rangeTokens.textFieldPadding, _Range.rangeTokens.textFieldFontFamily, _Range.rangeTokens.textFieldFontStyle, _Range.rangeTokens.textFieldFontSize, _Range.rangeTokens.textFieldFontWeight, _Range.rangeTokens.textFieldLetterSpacing, _Range.rangeTokens.textFieldLineHeight, _Range.rangeTokens.leftHelperOffset, _Range.rangeTokens.leftHelperFontFamily, _Range.rangeTokens.leftHelperFontStyle, _Range.rangeTokens.leftHelperFontSize, _Range.rangeTokens.leftHelperFontWeight, _Range.rangeTokens.leftHelperLetterSpacing, _Range.rangeTokens.leftHelperLineHeight, _Range.rangeTokens.textFieldLeftContentMargin, _Range.rangeTokens.textFieldRightContentMargin, _Range.rangeTokens.textFieldTextBeforeMargin, _Range.rangeTokens.textFieldTextAfterMargin),
|
22
|
-
xs: /*#__PURE__*/(0, _styledComponents.css)(["", ":0.5rem;", ":0 0.375rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0 0.25rem 0 0.5rem;", ":0;", ":0 0 0.375rem 0;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":2rem;", ":0.5rem;", ":0.5625rem 0.625rem 0.5625rem 0.625rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.25rem 0 0 0;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":-0.0625rem 0.25rem -0.0625rem -0.125rem;", ":-0.0625rem -0.125rem -0.0625rem 0.75rem;", ":0 0.25rem 0 0;", ":0 0 0 0.25rem;"], _Range.rangeTokens.borderRadius, _Range.rangeTokens.dividerPadding, _Range.rangeTokens.dividerFontFamily, _Range.rangeTokens.dividerFontStyle, _Range.rangeTokens.dividerFontSize, _Range.rangeTokens.dividerFontWeight, _Range.rangeTokens.dividerLetterSpacing, _Range.rangeTokens.dividerLineHeight, _Range.rangeTokens.leftContentMargin, _Range.rangeTokens.rightContentMargin, _Range.rangeTokens.labelOffset, _Range.rangeTokens.labelFontFamily, _Range.rangeTokens.labelFontStyle, _Range.rangeTokens.labelFontSize, _Range.rangeTokens.labelFontWeight, _Range.rangeTokens.labelLetterSpacing, _Range.rangeTokens.labelLineHeight, _Range.rangeTokens.textFieldHeight, _Range.rangeTokens.textFieldBorderRadius, _Range.rangeTokens.textFieldPadding, _Range.rangeTokens.textFieldFontFamily, _Range.rangeTokens.textFieldFontStyle, _Range.rangeTokens.textFieldFontSize, _Range.rangeTokens.textFieldFontWeight, _Range.rangeTokens.textFieldLetterSpacing, _Range.rangeTokens.textFieldLineHeight, _Range.rangeTokens.leftHelperOffset, _Range.rangeTokens.leftHelperFontFamily, _Range.rangeTokens.leftHelperFontStyle, _Range.rangeTokens.leftHelperFontSize, _Range.rangeTokens.leftHelperFontWeight, _Range.rangeTokens.leftHelperLetterSpacing, _Range.rangeTokens.leftHelperLineHeight, _Range.rangeTokens.textFieldLeftContentMargin, _Range.rangeTokens.textFieldRightContentMargin, _Range.rangeTokens.textFieldTextBeforeMargin, _Range.rangeTokens.textFieldTextAfterMargin)
|
23
|
-
},
|
24
|
-
disabled: {
|
25
|
-
"true": /*#__PURE__*/(0, _styledComponents.css)(["", ":0.4;"], _Range.rangeTokens.disabledOpacity)
|
26
|
-
},
|
27
|
-
readOnly: {
|
28
|
-
"true": /*#__PURE__*/(0, _styledComponents.css)(["", ":var((--surface-transparent-primary);", ":var(--text-secondary);", ":var(--text-secondary);", ":var(--text-secondary);", ":transparent;", ":var(--text-secondary);"], _Range.rangeTokens.backgroundReadOnly, _Range.rangeTokens.labelColorReadOnly, _Range.rangeTokens.leftHelperColorReadOnly, _Range.rangeTokens.textFieldColorReadOnly, _Range.rangeTokens.textFieldBackgroundColorReadOnly, _Range.rangeTokens.textFieldPlaceholderColorReadOnly)
|
29
|
-
}
|
30
|
-
}
|
31
|
-
};
|
@@ -1,11 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.Range = void 0;
|
7
|
-
var _engines = /*#__PURE__*/require("../../../../engines");
|
8
|
-
var _Range = /*#__PURE__*/require("../../../../components/Range");
|
9
|
-
var _Range2 = /*#__PURE__*/require("./Range.config");
|
10
|
-
var mergedConfig = /*#__PURE__*/(0, _engines.mergeConfig)(_Range.rangeConfig, _Range2.config);
|
11
|
-
var Range = exports.Range = /*#__PURE__*/(0, _engines.component)(mergedConfig);
|