@salutejs/plasma-new-hope 0.186.0-dev.0 → 0.187.0-canary.1511.11742976604.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/components/NumberInput/NumberInput.css +52 -0
- package/cjs/components/NumberInput/NumberInput.js +205 -0
- package/cjs/components/NumberInput/NumberInput.js.map +1 -0
- package/cjs/components/NumberInput/NumberInput.styles.js +9 -0
- package/cjs/components/NumberInput/NumberInput.styles.js.map +1 -0
- package/cjs/components/NumberInput/NumberInput.styles_jeawjl.css +1 -0
- package/cjs/components/NumberInput/NumberInput.tokens.js +102 -0
- package/cjs/components/NumberInput/NumberInput.tokens.js.map +1 -0
- package/cjs/components/NumberInput/ui/ActionButton/ActionButton.js +19 -0
- package/cjs/components/NumberInput/ui/ActionButton/ActionButton.js.map +1 -0
- package/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles.js +22 -0
- package/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles.js.map +1 -0
- package/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles_x642ct.css +1 -0
- package/cjs/components/NumberInput/ui/Input/Input.css +15 -0
- package/cjs/components/NumberInput/ui/Input/Input.js +205 -0
- package/cjs/components/NumberInput/ui/Input/Input.js.map +1 -0
- package/cjs/components/NumberInput/ui/Input/Input.styles.js +96 -0
- package/cjs/components/NumberInput/ui/Input/Input.styles.js.map +1 -0
- package/cjs/components/NumberInput/ui/Input/Input.styles_fhgb95.css +8 -0
- package/cjs/components/NumberInput/utils/index.js +12 -0
- package/cjs/components/NumberInput/utils/index.js.map +1 -0
- package/cjs/components/NumberInput/variations/_background-type/base.js +9 -0
- package/cjs/components/NumberInput/variations/_background-type/base.js.map +1 -0
- package/cjs/components/NumberInput/variations/_background-type/base_dx9knv.css +1 -0
- package/cjs/components/NumberInput/variations/_disabled/base.js +9 -0
- package/cjs/components/NumberInput/variations/_disabled/base.js.map +1 -0
- package/cjs/components/NumberInput/variations/_disabled/base_1sl0mh8.css +1 -0
- package/cjs/components/NumberInput/variations/_segmentation/base.js +9 -0
- package/cjs/components/NumberInput/variations/_segmentation/base.js.map +1 -0
- package/cjs/components/NumberInput/variations/_segmentation/base_14s5rot.css +1 -0
- package/cjs/components/NumberInput/variations/_shape/base.js +9 -0
- package/cjs/components/NumberInput/variations/_shape/base.js.map +1 -0
- package/cjs/components/NumberInput/variations/_shape/base_k05biw.css +1 -0
- package/cjs/components/NumberInput/variations/_size/base.js +9 -0
- package/cjs/components/NumberInput/variations/_size/base.js.map +1 -0
- package/cjs/components/NumberInput/variations/_size/base_yqdmk4.css +1 -0
- package/cjs/components/NumberInput/variations/_view/base.js +9 -0
- package/cjs/components/NumberInput/variations/_view/base.js.map +1 -0
- package/cjs/components/NumberInput/variations/_view/base_tnfbb5.css +1 -0
- package/cjs/index.css +23 -0
- package/cjs/index.js +6 -0
- package/cjs/index.js.map +1 -1
- package/emotion/cjs/components/NumberInput/NumberInput.js +214 -0
- package/emotion/cjs/components/NumberInput/NumberInput.styles.js +17 -0
- package/emotion/cjs/components/NumberInput/NumberInput.template-doc.mdx +214 -0
- package/emotion/cjs/components/NumberInput/NumberInput.tokens.js +99 -0
- package/emotion/cjs/components/NumberInput/NumberInput.types.js +5 -0
- package/emotion/cjs/components/NumberInput/index.js +31 -0
- package/emotion/cjs/components/NumberInput/ui/ActionButton/ActionButton.js +18 -0
- package/emotion/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles.js +16 -0
- package/emotion/cjs/components/NumberInput/ui/ActionButton/ActionButton.types.js +5 -0
- package/emotion/cjs/components/NumberInput/ui/Input/Input.js +213 -0
- package/emotion/cjs/components/NumberInput/ui/Input/Input.styles.js +81 -0
- package/emotion/cjs/components/NumberInput/ui/Input/Input.types.js +5 -0
- package/emotion/cjs/components/NumberInput/ui/index.js +19 -0
- package/emotion/cjs/components/NumberInput/utils/index.js +9 -0
- package/emotion/cjs/components/NumberInput/variations/_background-type/base.js +10 -0
- package/emotion/cjs/components/NumberInput/variations/_background-type/tokens.json +6 -0
- package/emotion/cjs/components/NumberInput/variations/_disabled/base.js +9 -0
- package/emotion/cjs/components/NumberInput/variations/_disabled/tokens.json +4 -0
- package/emotion/cjs/components/NumberInput/variations/_segmentation/base.js +12 -0
- package/emotion/cjs/components/NumberInput/variations/_segmentation/tokens.json +1 -0
- package/emotion/cjs/components/NumberInput/variations/_shape/base.js +11 -0
- package/emotion/cjs/components/NumberInput/variations/_shape/tokens.json +1 -0
- package/emotion/cjs/components/NumberInput/variations/_size/base.js +13 -0
- package/emotion/cjs/components/NumberInput/variations/_size/tokens.json +22 -0
- package/emotion/cjs/components/NumberInput/variations/_view/base.js +13 -0
- package/emotion/cjs/components/NumberInput/variations/_view/tokens.json +14 -0
- package/emotion/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +46 -0
- package/emotion/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.js +11 -0
- package/emotion/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +108 -0
- package/emotion/cjs/examples/plasma_web/components/NumberInput/NumberInput.config.js +46 -0
- package/emotion/cjs/examples/plasma_web/components/NumberInput/NumberInput.js +11 -0
- package/emotion/cjs/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +108 -0
- package/emotion/cjs/index.js +11 -0
- package/emotion/es/components/NumberInput/NumberInput.js +206 -0
- package/emotion/es/components/NumberInput/NumberInput.styles.js +11 -0
- package/emotion/es/components/NumberInput/NumberInput.template-doc.mdx +214 -0
- package/emotion/es/components/NumberInput/NumberInput.tokens.js +93 -0
- package/emotion/es/components/NumberInput/NumberInput.types.js +1 -0
- package/emotion/es/components/NumberInput/index.js +2 -0
- package/emotion/es/components/NumberInput/ui/ActionButton/ActionButton.js +11 -0
- package/emotion/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js +9 -0
- package/emotion/es/components/NumberInput/ui/ActionButton/ActionButton.types.js +1 -0
- package/emotion/es/components/NumberInput/ui/Input/Input.js +204 -0
- package/emotion/es/components/NumberInput/ui/Input/Input.styles.js +74 -0
- package/emotion/es/components/NumberInput/ui/Input/Input.types.js +1 -0
- package/emotion/es/components/NumberInput/ui/index.js +2 -0
- package/emotion/es/components/NumberInput/utils/index.js +3 -0
- package/emotion/es/components/NumberInput/variations/_background-type/base.js +4 -0
- package/emotion/es/components/NumberInput/variations/_background-type/tokens.json +6 -0
- package/emotion/es/components/NumberInput/variations/_disabled/base.js +3 -0
- package/emotion/es/components/NumberInput/variations/_disabled/tokens.json +4 -0
- package/emotion/es/components/NumberInput/variations/_segmentation/base.js +6 -0
- package/emotion/es/components/NumberInput/variations/_segmentation/tokens.json +1 -0
- package/emotion/es/components/NumberInput/variations/_shape/base.js +5 -0
- package/emotion/es/components/NumberInput/variations/_shape/tokens.json +1 -0
- package/emotion/es/components/NumberInput/variations/_size/base.js +7 -0
- package/emotion/es/components/NumberInput/variations/_size/tokens.json +22 -0
- package/emotion/es/components/NumberInput/variations/_view/base.js +7 -0
- package/emotion/es/components/NumberInput/variations/_view/tokens.json +14 -0
- package/emotion/es/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +40 -0
- package/emotion/es/examples/plasma_b2c/components/NumberInput/NumberInput.js +5 -0
- package/emotion/es/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +108 -0
- package/emotion/es/examples/plasma_web/components/NumberInput/NumberInput.config.js +40 -0
- package/emotion/es/examples/plasma_web/components/NumberInput/NumberInput.js +5 -0
- package/emotion/es/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +108 -0
- package/emotion/es/index.js +2 -1
- package/es/components/NumberInput/NumberInput.css +52 -0
- package/es/components/NumberInput/NumberInput.js +200 -0
- package/es/components/NumberInput/NumberInput.js.map +1 -0
- package/es/components/NumberInput/NumberInput.styles.js +5 -0
- package/es/components/NumberInput/NumberInput.styles.js.map +1 -0
- package/es/components/NumberInput/NumberInput.styles_jeawjl.css +1 -0
- package/es/components/NumberInput/NumberInput.tokens.js +96 -0
- package/es/components/NumberInput/NumberInput.tokens.js.map +1 -0
- package/es/components/NumberInput/ui/ActionButton/ActionButton.js +15 -0
- package/es/components/NumberInput/ui/ActionButton/ActionButton.js.map +1 -0
- package/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js +18 -0
- package/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js.map +1 -0
- package/es/components/NumberInput/ui/ActionButton/ActionButton.styles_x642ct.css +1 -0
- package/es/components/NumberInput/ui/Input/Input.css +15 -0
- package/es/components/NumberInput/ui/Input/Input.js +201 -0
- package/es/components/NumberInput/ui/Input/Input.js.map +1 -0
- package/es/components/NumberInput/ui/Input/Input.styles.js +85 -0
- package/es/components/NumberInput/ui/Input/Input.styles.js.map +1 -0
- package/es/components/NumberInput/ui/Input/Input.styles_fhgb95.css +8 -0
- package/es/components/NumberInput/utils/index.js +6 -0
- package/es/components/NumberInput/utils/index.js.map +1 -0
- package/es/components/NumberInput/variations/_background-type/base.js +5 -0
- package/es/components/NumberInput/variations/_background-type/base.js.map +1 -0
- package/es/components/NumberInput/variations/_background-type/base_dx9knv.css +1 -0
- package/es/components/NumberInput/variations/_disabled/base.js +5 -0
- package/es/components/NumberInput/variations/_disabled/base.js.map +1 -0
- package/es/components/NumberInput/variations/_disabled/base_1sl0mh8.css +1 -0
- package/es/components/NumberInput/variations/_segmentation/base.js +5 -0
- package/es/components/NumberInput/variations/_segmentation/base.js.map +1 -0
- package/es/components/NumberInput/variations/_segmentation/base_14s5rot.css +1 -0
- package/es/components/NumberInput/variations/_shape/base.js +5 -0
- package/es/components/NumberInput/variations/_shape/base.js.map +1 -0
- package/es/components/NumberInput/variations/_shape/base_k05biw.css +1 -0
- package/es/components/NumberInput/variations/_size/base.js +5 -0
- package/es/components/NumberInput/variations/_size/base.js.map +1 -0
- package/es/components/NumberInput/variations/_size/base_yqdmk4.css +1 -0
- package/es/components/NumberInput/variations/_view/base.js +5 -0
- package/es/components/NumberInput/variations/_view/base.js.map +1 -0
- package/es/components/NumberInput/variations/_view/base_tnfbb5.css +1 -0
- package/es/index.css +23 -0
- package/es/index.js +2 -0
- package/es/index.js.map +1 -1
- package/package.json +2 -2
- package/styled-components/cjs/components/NumberInput/NumberInput.js +214 -0
- package/styled-components/cjs/components/NumberInput/NumberInput.styles.js +8 -0
- package/styled-components/cjs/components/NumberInput/NumberInput.template-doc.mdx +214 -0
- package/styled-components/cjs/components/NumberInput/NumberInput.tokens.js +99 -0
- package/styled-components/cjs/components/NumberInput/NumberInput.types.js +5 -0
- package/styled-components/cjs/components/NumberInput/index.js +31 -0
- package/styled-components/cjs/components/NumberInput/ui/ActionButton/ActionButton.js +18 -0
- package/styled-components/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles.js +15 -0
- package/styled-components/cjs/components/NumberInput/ui/ActionButton/ActionButton.types.js +5 -0
- package/styled-components/cjs/components/NumberInput/ui/Input/Input.js +213 -0
- package/styled-components/cjs/components/NumberInput/ui/Input/Input.styles.js +48 -0
- package/styled-components/cjs/components/NumberInput/ui/Input/Input.types.js +5 -0
- package/styled-components/cjs/components/NumberInput/ui/index.js +19 -0
- package/styled-components/cjs/components/NumberInput/utils/index.js +9 -0
- package/styled-components/cjs/components/NumberInput/variations/_background-type/base.js +10 -0
- package/styled-components/cjs/components/NumberInput/variations/_background-type/tokens.json +6 -0
- package/styled-components/cjs/components/NumberInput/variations/_disabled/base.js +9 -0
- package/styled-components/cjs/components/NumberInput/variations/_disabled/tokens.json +4 -0
- package/styled-components/cjs/components/NumberInput/variations/_segmentation/base.js +12 -0
- package/styled-components/cjs/components/NumberInput/variations/_segmentation/tokens.json +1 -0
- package/styled-components/cjs/components/NumberInput/variations/_shape/base.js +11 -0
- package/styled-components/cjs/components/NumberInput/variations/_shape/tokens.json +1 -0
- package/styled-components/cjs/components/NumberInput/variations/_size/base.js +13 -0
- package/styled-components/cjs/components/NumberInput/variations/_size/tokens.json +22 -0
- package/styled-components/cjs/components/NumberInput/variations/_view/base.js +13 -0
- package/styled-components/cjs/components/NumberInput/variations/_view/tokens.json +14 -0
- package/styled-components/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +46 -0
- package/styled-components/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.js +11 -0
- package/styled-components/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +108 -0
- package/styled-components/cjs/examples/plasma_web/components/NumberInput/NumberInput.config.js +46 -0
- package/styled-components/cjs/examples/plasma_web/components/NumberInput/NumberInput.js +11 -0
- package/styled-components/cjs/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +108 -0
- package/styled-components/cjs/index.js +11 -0
- package/styled-components/es/components/NumberInput/NumberInput.js +206 -0
- package/styled-components/es/components/NumberInput/NumberInput.styles.js +2 -0
- package/styled-components/es/components/NumberInput/NumberInput.template-doc.mdx +214 -0
- package/styled-components/es/components/NumberInput/NumberInput.tokens.js +93 -0
- package/styled-components/es/components/NumberInput/NumberInput.types.js +1 -0
- package/styled-components/es/components/NumberInput/index.js +2 -0
- package/styled-components/es/components/NumberInput/ui/ActionButton/ActionButton.js +11 -0
- package/styled-components/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js +8 -0
- package/styled-components/es/components/NumberInput/ui/ActionButton/ActionButton.types.js +1 -0
- package/styled-components/es/components/NumberInput/ui/Input/Input.js +204 -0
- package/styled-components/es/components/NumberInput/ui/Input/Input.styles.js +41 -0
- package/styled-components/es/components/NumberInput/ui/Input/Input.types.js +1 -0
- package/styled-components/es/components/NumberInput/ui/index.js +2 -0
- package/styled-components/es/components/NumberInput/utils/index.js +3 -0
- package/styled-components/es/components/NumberInput/variations/_background-type/base.js +4 -0
- package/styled-components/es/components/NumberInput/variations/_background-type/tokens.json +6 -0
- package/styled-components/es/components/NumberInput/variations/_disabled/base.js +3 -0
- package/styled-components/es/components/NumberInput/variations/_disabled/tokens.json +4 -0
- package/styled-components/es/components/NumberInput/variations/_segmentation/base.js +6 -0
- package/styled-components/es/components/NumberInput/variations/_segmentation/tokens.json +1 -0
- package/styled-components/es/components/NumberInput/variations/_shape/base.js +5 -0
- package/styled-components/es/components/NumberInput/variations/_shape/tokens.json +1 -0
- package/styled-components/es/components/NumberInput/variations/_size/base.js +7 -0
- package/styled-components/es/components/NumberInput/variations/_size/tokens.json +22 -0
- package/styled-components/es/components/NumberInput/variations/_view/base.js +7 -0
- package/styled-components/es/components/NumberInput/variations/_view/tokens.json +14 -0
- package/styled-components/es/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +40 -0
- package/styled-components/es/examples/plasma_b2c/components/NumberInput/NumberInput.js +5 -0
- package/styled-components/es/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +108 -0
- package/styled-components/es/examples/plasma_web/components/NumberInput/NumberInput.config.js +40 -0
- package/styled-components/es/examples/plasma_web/components/NumberInput/NumberInput.js +5 -0
- package/styled-components/es/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +108 -0
- package/styled-components/es/index.js +2 -1
- package/types/components/NumberInput/NumberInput.d.ts +38 -0
- package/types/components/NumberInput/NumberInput.d.ts.map +1 -0
- package/types/components/NumberInput/NumberInput.styles.d.ts +2 -0
- package/types/components/NumberInput/NumberInput.styles.d.ts.map +1 -0
- package/types/components/NumberInput/NumberInput.tokens.d.ts +88 -0
- package/types/components/NumberInput/NumberInput.tokens.d.ts.map +1 -0
- package/types/components/NumberInput/NumberInput.types.d.ts +112 -0
- package/types/components/NumberInput/NumberInput.types.d.ts.map +1 -0
- package/types/components/NumberInput/index.d.ts +3 -0
- package/types/components/NumberInput/index.d.ts.map +1 -0
- package/types/components/NumberInput/ui/ActionButton/ActionButton.d.ts +4 -0
- package/types/components/NumberInput/ui/ActionButton/ActionButton.d.ts.map +1 -0
- package/types/components/NumberInput/ui/ActionButton/ActionButton.styles.d.ts +45 -0
- package/types/components/NumberInput/ui/ActionButton/ActionButton.styles.d.ts.map +1 -0
- package/types/components/NumberInput/ui/ActionButton/ActionButton.types.d.ts +7 -0
- package/types/components/NumberInput/ui/ActionButton/ActionButton.types.d.ts.map +1 -0
- package/types/components/NumberInput/ui/Input/Input.d.ts +19 -0
- package/types/components/NumberInput/ui/Input/Input.d.ts.map +1 -0
- package/types/components/NumberInput/ui/Input/Input.styles.d.ts +30 -0
- package/types/components/NumberInput/ui/Input/Input.styles.d.ts.map +1 -0
- package/types/components/NumberInput/ui/Input/Input.types.d.ts +19 -0
- package/types/components/NumberInput/ui/Input/Input.types.d.ts.map +1 -0
- package/types/components/NumberInput/ui/index.d.ts +3 -0
- package/types/components/NumberInput/ui/index.d.ts.map +1 -0
- package/types/components/NumberInput/utils/index.d.ts +4 -0
- package/types/components/NumberInput/utils/index.d.ts.map +1 -0
- package/types/components/NumberInput/variations/_background-type/base.d.ts +2 -0
- package/types/components/NumberInput/variations/_background-type/base.d.ts.map +1 -0
- package/types/components/NumberInput/variations/_disabled/base.d.ts +2 -0
- package/types/components/NumberInput/variations/_disabled/base.d.ts.map +1 -0
- package/types/components/NumberInput/variations/_segmentation/base.d.ts +2 -0
- package/types/components/NumberInput/variations/_segmentation/base.d.ts.map +1 -0
- package/types/components/NumberInput/variations/_shape/base.d.ts +2 -0
- package/types/components/NumberInput/variations/_shape/base.d.ts.map +1 -0
- package/types/components/NumberInput/variations/_size/base.d.ts +2 -0
- package/types/components/NumberInput/variations/_size/base.d.ts.map +1 -0
- package/types/components/NumberInput/variations/_view/base.d.ts +2 -0
- package/types/components/NumberInput/variations/_view/base.d.ts.map +1 -0
- package/types/examples/plasma_b2c/components/NumberInput/NumberInput.config.d.ts +39 -0
- package/types/examples/plasma_b2c/components/NumberInput/NumberInput.config.d.ts.map +1 -0
- package/types/examples/plasma_b2c/components/NumberInput/NumberInput.d.ts +82 -0
- package/types/examples/plasma_b2c/components/NumberInput/NumberInput.d.ts.map +1 -0
- package/types/examples/plasma_web/components/NumberInput/NumberInput.config.d.ts +39 -0
- package/types/examples/plasma_web/components/NumberInput/NumberInput.config.d.ts.map +1 -0
- package/types/examples/plasma_web/components/NumberInput/NumberInput.d.ts +82 -0
- package/types/examples/plasma_web/components/NumberInput/NumberInput.d.ts.map +1 -0
- package/types/index.d.ts +1 -0
- package/types/index.d.ts.map +1 -1
@@ -0,0 +1,213 @@
|
|
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.NumberInput = void 0;
|
8
|
+
var _react = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("react"));
|
9
|
+
var _plasmaCore = /*#__PURE__*/require("@salutejs/plasma-core");
|
10
|
+
var _NumberInput = /*#__PURE__*/require("../../NumberInput.tokens");
|
11
|
+
var _utils = /*#__PURE__*/require("../../../../utils");
|
12
|
+
var _hooks = /*#__PURE__*/require("../../../../hooks");
|
13
|
+
var _utils2 = /*#__PURE__*/require("../../utils");
|
14
|
+
var _constants = /*#__PURE__*/require("../../../../utils/constants");
|
15
|
+
var _Input = /*#__PURE__*/require("./Input.styles");
|
16
|
+
var _StyledSpinner;
|
17
|
+
var _excluded = ["value", "min", "max", "isLoading", "loader", "disabled", "segmentation", "textBefore", "textAfter", "isManualInput", "isInputFocused", "setIsInputFocused", "setIsAnimationRun", "setInnerValue", "onChange", "onBlur", "onKeyDown"];
|
18
|
+
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); }
|
19
|
+
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; }
|
20
|
+
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); }
|
21
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
22
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
23
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
24
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
25
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
26
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
27
|
+
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; }
|
28
|
+
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; }
|
29
|
+
var NumberInput = exports.NumberInput = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
30
|
+
var value = _ref.value,
|
31
|
+
min = _ref.min,
|
32
|
+
max = _ref.max,
|
33
|
+
isLoading = _ref.isLoading,
|
34
|
+
loader = _ref.loader,
|
35
|
+
disabled = _ref.disabled,
|
36
|
+
segmentation = _ref.segmentation,
|
37
|
+
textBefore = _ref.textBefore,
|
38
|
+
textAfter = _ref.textAfter,
|
39
|
+
isManualInput = _ref.isManualInput,
|
40
|
+
isInputFocused = _ref.isInputFocused,
|
41
|
+
setIsInputFocused = _ref.setIsInputFocused,
|
42
|
+
setIsAnimationRun = _ref.setIsAnimationRun,
|
43
|
+
setInnerValue = _ref.setInnerValue,
|
44
|
+
onChange = _ref.onChange,
|
45
|
+
onBlur = _ref.onBlur,
|
46
|
+
onKeyDown = _ref.onKeyDown,
|
47
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
48
|
+
var _useState = (0, _react.useState)(value ? "".concat(String(value).length, "ch") : _utils2.defaultCharacterWidth),
|
49
|
+
_useState2 = _slicedToArray(_useState, 2),
|
50
|
+
dynamicWidth = _useState2[0],
|
51
|
+
setDynamicWidth = _useState2[1];
|
52
|
+
var _useState3 = (0, _react.useState)(Number(value)),
|
53
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
54
|
+
lastValidValue = _useState4[0],
|
55
|
+
setLastValidValue = _useState4[1];
|
56
|
+
var _useState5 = (0, _react.useState)(undefined),
|
57
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
58
|
+
errorClass = _useState6[0],
|
59
|
+
setErrorClass = _useState6[1];
|
60
|
+
var _useState7 = (0, _react.useState)(),
|
61
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
62
|
+
errorValue = _useState8[0],
|
63
|
+
setErrorValue = _useState8[1];
|
64
|
+
var inputHelperRef = (0, _react.useRef)(null);
|
65
|
+
var wrapperRef = (0, _react.useRef)(null);
|
66
|
+
var textWrapperRef = (0, _react.useRef)(null);
|
67
|
+
var inputRef = (0, _react.useRef)(null);
|
68
|
+
var inputForkRef = (0, _plasmaCore.useForkRef)(inputRef, ref);
|
69
|
+
var solidViewClass = segmentation === 'solid' ? _NumberInput.classes.solidView : undefined;
|
70
|
+
var manualInputClass = isManualInput ? _NumberInput.classes.manualInput : undefined;
|
71
|
+
var getInputWidth = function getInputWidth() {
|
72
|
+
var _inputHelperRef$curre;
|
73
|
+
var firstRender = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
|
74
|
+
if (!firstRender && (_inputHelperRef$curre = inputHelperRef.current) !== null && _inputHelperRef$curre !== void 0 && _inputHelperRef$curre.clientWidth) {
|
75
|
+
var _inputHelperRef$curre2;
|
76
|
+
return "".concat((_inputHelperRef$curre2 = inputHelperRef.current) === null || _inputHelperRef$curre2 === void 0 ? void 0 : _inputHelperRef$curre2.clientWidth, "px");
|
77
|
+
}
|
78
|
+
if (value) {
|
79
|
+
return "".concat(String(value).length, "ch");
|
80
|
+
}
|
81
|
+
return _utils2.defaultCharacterWidth;
|
82
|
+
};
|
83
|
+
var setValues = function setValues(event, newValue) {
|
84
|
+
setLastValidValue(newValue);
|
85
|
+
setInnerValue(newValue);
|
86
|
+
if (onChange) {
|
87
|
+
onChange(event, newValue);
|
88
|
+
}
|
89
|
+
};
|
90
|
+
var validateValue = function validateValue(newValue) {
|
91
|
+
if (!newValue || !(0, _utils.isNumber)(newValue)) {
|
92
|
+
setValues(null, lastValidValue);
|
93
|
+
setIsAnimationRun(false);
|
94
|
+
return;
|
95
|
+
}
|
96
|
+
if (String(newValue).endsWith('.')) {
|
97
|
+
setValues(null, Number(newValue));
|
98
|
+
setIsAnimationRun(false);
|
99
|
+
return;
|
100
|
+
}
|
101
|
+
var resValue = Number(newValue);
|
102
|
+
if (max !== undefined && resValue > max) {
|
103
|
+
setErrorClass(_NumberInput.classes.errorAnimation);
|
104
|
+
setErrorValue(max);
|
105
|
+
setIsAnimationRun(true);
|
106
|
+
return;
|
107
|
+
}
|
108
|
+
if (min !== undefined && resValue < min) {
|
109
|
+
setErrorClass(_NumberInput.classes.errorAnimation);
|
110
|
+
setErrorValue(min);
|
111
|
+
setIsAnimationRun(true);
|
112
|
+
}
|
113
|
+
setIsAnimationRun(false);
|
114
|
+
};
|
115
|
+
var handleManualInputChange = function handleManualInputChange(event) {
|
116
|
+
var _textWrapperRef$curre, _wrapperRef$current;
|
117
|
+
if (!isManualInput || disabled) {
|
118
|
+
return;
|
119
|
+
}
|
120
|
+
setIsAnimationRun(true);
|
121
|
+
var newValue = event.target.value;
|
122
|
+
if (!newValue) {
|
123
|
+
setInnerValue('');
|
124
|
+
if (onChange) {
|
125
|
+
onChange(event, '');
|
126
|
+
}
|
127
|
+
return;
|
128
|
+
}
|
129
|
+
var cleanValue = newValue.replace(_utils2.excludingNumberSchema, '');
|
130
|
+
if (cleanValue.endsWith('.') || cleanValue === '-') {
|
131
|
+
setInnerValue(cleanValue);
|
132
|
+
if (onChange) {
|
133
|
+
onChange(event, cleanValue);
|
134
|
+
}
|
135
|
+
return;
|
136
|
+
}
|
137
|
+
var isValid = _utils2.numberSchema.test(cleanValue);
|
138
|
+
if (!isValid) {
|
139
|
+
setValues(event, lastValidValue);
|
140
|
+
return;
|
141
|
+
}
|
142
|
+
if (textWrapperRef !== null && textWrapperRef !== void 0 && textWrapperRef.current && wrapperRef !== null && wrapperRef !== void 0 && wrapperRef.current && (textWrapperRef === null || textWrapperRef === void 0 || (_textWrapperRef$curre = textWrapperRef.current) === null || _textWrapperRef$curre === void 0 ? void 0 : _textWrapperRef$curre.clientWidth) > (wrapperRef === null || wrapperRef === void 0 || (_wrapperRef$current = wrapperRef.current) === null || _wrapperRef$current === void 0 ? void 0 : _wrapperRef$current.clientWidth)) {
|
143
|
+
wrapperRef.current.scrollLeft = textWrapperRef.current.offsetWidth - textWrapperRef.current.offsetLeft || 0;
|
144
|
+
}
|
145
|
+
setValues(event, Number(cleanValue));
|
146
|
+
};
|
147
|
+
var handleClickInputWrapper = function handleClickInputWrapper() {
|
148
|
+
if (!isManualInput || !inputRef.current) {
|
149
|
+
return;
|
150
|
+
}
|
151
|
+
if (!isInputFocused) {
|
152
|
+
inputRef.current.select();
|
153
|
+
}
|
154
|
+
setIsInputFocused(true);
|
155
|
+
};
|
156
|
+
var handleBlur = function handleBlur(event) {
|
157
|
+
validateValue(value);
|
158
|
+
setIsInputFocused(false);
|
159
|
+
if (onBlur) {
|
160
|
+
onBlur(event);
|
161
|
+
}
|
162
|
+
};
|
163
|
+
var handleKeyDown = function handleKeyDown(event) {
|
164
|
+
if (!isManualInput || disabled) {
|
165
|
+
return;
|
166
|
+
}
|
167
|
+
if (event.keyCode === _constants.keyCodes.Enter) {
|
168
|
+
event.preventDefault();
|
169
|
+
validateValue(value);
|
170
|
+
if (onKeyDown) {
|
171
|
+
onKeyDown(event);
|
172
|
+
}
|
173
|
+
}
|
174
|
+
};
|
175
|
+
var handleEndErrorAnimation = function handleEndErrorAnimation(correctValue) {
|
176
|
+
setIsAnimationRun(false);
|
177
|
+
setIsInputFocused(false);
|
178
|
+
setErrorClass(undefined);
|
179
|
+
setValues(null, correctValue);
|
180
|
+
};
|
181
|
+
(0, _react.useEffect)(function () {
|
182
|
+
setDynamicWidth(getInputWidth());
|
183
|
+
}, []);
|
184
|
+
(0, _hooks.useDidMountEffect)(function () {
|
185
|
+
setDynamicWidth(getInputWidth(false));
|
186
|
+
}, [value]);
|
187
|
+
return /*#__PURE__*/_react["default"].createElement(_Input.InputWrapper, {
|
188
|
+
ref: wrapperRef,
|
189
|
+
className: (0, _utils.cx)(solidViewClass, errorClass, manualInputClass),
|
190
|
+
isManualInput: Boolean(isManualInput),
|
191
|
+
onClick: handleClickInputWrapper
|
192
|
+
}, /*#__PURE__*/_react["default"].createElement(_Input.TextWrapper, {
|
193
|
+
ref: textWrapperRef
|
194
|
+
}, !isLoading && textBefore && /*#__PURE__*/_react["default"].createElement(_Input.AdditionalText, {
|
195
|
+
className: _NumberInput.classes.textBefore
|
196
|
+
}, textBefore), isLoading ? /*#__PURE__*/_react["default"].createElement(_Input.Loader, null, loader || _StyledSpinner || (_StyledSpinner = /*#__PURE__*/_react["default"].createElement(_Input.StyledSpinner, null))) : /*#__PURE__*/_react["default"].createElement(_Input.DynamicInput, null, /*#__PURE__*/_react["default"].createElement(_Input.Input, _extends({
|
197
|
+
ref: inputForkRef,
|
198
|
+
dynamicWidth: dynamicWidth,
|
199
|
+
value: value,
|
200
|
+
isManualInput: Boolean(isManualInput),
|
201
|
+
tabIndex: disabled || !isManualInput ? -1 : 0,
|
202
|
+
onChange: handleManualInputChange,
|
203
|
+
onBlur: handleBlur,
|
204
|
+
onKeyDown: handleKeyDown,
|
205
|
+
onAnimationEnd: function onAnimationEnd() {
|
206
|
+
return handleEndErrorAnimation(Number(errorValue));
|
207
|
+
}
|
208
|
+
}, rest)), /*#__PURE__*/_react["default"].createElement(_Input.InputWidthHelper, {
|
209
|
+
ref: inputHelperRef
|
210
|
+
}, value)), !isLoading && textAfter && /*#__PURE__*/_react["default"].createElement(_Input.AdditionalText, {
|
211
|
+
className: _NumberInput.classes.textAfter
|
212
|
+
}, textAfter)));
|
213
|
+
});
|
@@ -0,0 +1,81 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.TextWrapper = exports.StyledSpinner = exports.Loader = exports.InputWrapper = exports.InputWidthHelper = exports.Input = exports.DynamicInput = exports.AdditionalText = void 0;
|
7
|
+
var _base = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("@emotion/styled/base"));
|
8
|
+
var _engines = /*#__PURE__*/require("../../../../engines");
|
9
|
+
var _Spinner = /*#__PURE__*/require("../../../Spinner");
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
11
|
+
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)."; }
|
12
|
+
var mergedConfig = /*#__PURE__*/(0, _engines.mergeConfig)(_Spinner.spinnerConfig);
|
13
|
+
var Spinner = /*#__PURE__*/(0, _engines.component)(mergedConfig);
|
14
|
+
var InputWrapper = exports.InputWrapper = /*#__PURE__*/(0, _base["default"])("div", {
|
15
|
+
target: "e15d8t3l7",
|
16
|
+
label: "plasma-new-hope__InputWrapper"
|
17
|
+
})("overflow-x:auto;overflow-y:hidden;flex:1;cursor:", function (_ref) {
|
18
|
+
var isManualInput = _ref.isManualInput;
|
19
|
+
return isManualInput ? 'text' : 'default';
|
20
|
+
}, ";::-webkit-scrollbar{display:none;}scrollbar-width:none;overscroll-behavior:contain;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdWkvSW5wdXQvSW5wdXQuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVFrRSIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi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AgIHotaW5kZXg6IC05OTk7XG4gICAgdmlzaWJpbGl0eTogaGlkZGVuO1xuICAgIHRvcDogMDtcbiAgICBsZWZ0OiAwO1xuICAgIG9wYWNpdHk6IDA7XG4gICAgaGVpZ2h0OiAwO1xuICAgIHdoaXRlLXNwYWNlOiBwcmU7XG5gO1xuIl19 */"));
|
21
|
+
var TextWrapper = exports.TextWrapper = /*#__PURE__*/(0, _base["default"])("div", {
|
22
|
+
target: "e15d8t3l6",
|
23
|
+
label: "plasma-new-hope__TextWrapper"
|
24
|
+
})(process.env.NODE_ENV === "production" ? {
|
25
|
+
name: "zvqxgx",
|
26
|
+
styles: "display:flex;align-items:center;justify-content:center;width:fit-content;margin:0 auto;box-sizing:border-box"
|
27
|
+
} : {
|
28
|
+
name: "zvqxgx",
|
29
|
+
styles: "display:flex;align-items:center;justify-content:center;width:fit-content;margin:0 auto;box-sizing:border-box",
|
30
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdWkvSW5wdXQvSW5wdXQuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXVCcUMiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9OdW1iZXJJbnB1dC91aS9JbnB1dC9JbnB1dC5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IGNvbXBvbmVudCwgbWVyZ2VDb25maWcgfSBmcm9tICcuLi8uLi8uLi8uLi9lbmdpbmVzJztcbmltcG9ydCB7IHNwaW5uZXJDb25maWcgfSBmcm9tICcuLi8uLi8uLi9TcGlubmVyJztcblxuY29uc3QgbWV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pdmU7XG5gO1xuXG5leHBvcnQgY29uc3QgSW5wdXQgPSBzdHlsZWQuaW5wdXQ8eyBkeW5hbWljV2lkdGg6IHN0cmluZzsgaXNNYW51YWxJbnB1dDogYm9vbGVhbiB9PmBcbiAgICBib3gtc2l6aW5nOiBib3JkZXItYm94O1xuICAgIGFwcGVhcmFuY2U6IG5vbmU7XG4gICAgYm9yZGVyOiAwO1xuICAgIHBhZGRpbmc6IDA7XG4gICAgYmFja2dyb3VuZC1jb2xvcjogdHJhbnNwYXJlbnQ7XG4gICAgb3V0bGluZTogbm9uZTtcbiAgICB3aWR0aDogJHsoeyBkeW5hbWljV2lkdGggfSkgPT4gZHluYW1pY1dpZHRofTtcbiAgICBib3gtc2l6aW5nOiBib3JkZXItYm94O1xuICAgIGN1cnNvcjogJHsoeyBpc01hbnVhbElucHV0IH0pID0+IChpc01hbnVhbElucHV0ID8gJ3RleHQnIDogJ2RlZmF1bHQnKX07XG4gICAgcG9pbnRlci1ldmVudHM6ICR7KHsgaXNNYW51YWxJbnB1dCB9KSA9PiAoaXNNYW51YWxJbnB1dCA/ICdpbml0aWFsJyA6ICdub25lJyl9O1xuICAgIHRyYW5zaXRpb246IHdpZHRoIDAuMXM7XG5gO1xuXG5leHBvcnQgY29uc3QgSW5wdXRXaWR0aEhlbHBlciA9IHN0eWxlZC5zcGFuYFxuICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICB6LWluZGV4OiAtOTk5O1xuICAgIHZpc2liaWxpdHk6IGhpZGRlbjtcbiAgICB0b3A6IDA7XG4gICAgbGVmdDogMDtcbiAgICBvcGFjaXR5OiAwO1xuICAgIGhlaWdodDogMDtcbiAgICB3aGl0ZS1zcGFjZTogcHJlO1xuYDtcbiJdfQ== */",
|
31
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
32
|
+
});
|
33
|
+
var AdditionalText = exports.AdditionalText = /*#__PURE__*/(0, _base["default"])("span", {
|
34
|
+
target: "e15d8t3l5",
|
35
|
+
label: "plasma-new-hope__AdditionalText"
|
36
|
+
})(process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdWkvSW5wdXQvSW5wdXQuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWdDeUMiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9OdW1iZXJJbnB1dC91aS9JbnB1dC9JbnB1dC5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IGNvbXBvbmVudCwgbWVyZ2VDb25maWcgfSBmcm9tICcuLi8uLi8uLi8uLi9lbmdpbmVzJztcbmltcG9ydCB7IHNwaW5uZXJDb25maWcgfSBmcm9tICcuLi8uLi8uLi9TcGlubmVyJztcblxuY29uc3QgbWVyZ2VkQ29uZmlnID0gbWVyZ2VDb25maWcoc3Bpbm5lckNvbmZpZyk7XG5jb25zdCBTcGlubmVyID0gY29tcG9uZW50KG1lcmdlZENvbmZpZyk7XG5cbmV4cG9ydCBjb25zdCBJbnB1dFdyYXBwZXIgPSBzdHlsZWQuZGl2PHsgaXNNYW51YWxJbnB1dDogYm9vbGVhbiB9PmBcbiAgICBvdmVyZmxvdy14OiBhdXRvO1xuICAgIG92ZXJmbG93LXk6IGhpZGRlbjtcbiAgICBmbGV4OiAxO1xuICAgIGN1cnNvcjogJHsoeyBpc01hbnVhbElucHV0IH0pID0+IChpc01hbnVhbElucHV0ID8gJ3RleHQnIDogJ2RlZmF1bHQnKX07XG5cbiAgICA6Oi13ZWJraXQtc2Nyb2xsYmFyIHtcbiAgICAgICAgZGlzcGx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hbnVhbElucHV0IH0pID0+IChpc01hbnVhbElucHV0ID8gJ3RleHQnIDogJ2RlZmF1bHQnKX07XG4gICAgcG9pbnRlci1ldmVudHM6ICR7KHsgaXNNYW51YWxJbnB1dCB9KSA9PiAoaXNNYW51YWxJbnB1dCA/ICdpbml0aWFsJyA6ICdub25lJyl9O1xuICAgIHRyYW5zaXRpb246IHdpZHRoIDAuMXM7XG5gO1xuXG5leHBvcnQgY29uc3QgSW5wdXRXaWR0aEhlbHBlciA9IHN0eWxlZC5zcGFuYFxuICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICB6LWluZGV4OiAtOTk5O1xuICAgIHZpc2liaWxpdHk6IGhpZGRlbjtcbiAgICB0b3A6IDA7XG4gICAgbGVmdDogMDtcbiAgICBvcGFjaXR5OiAwO1xuICAgIGhlaWdodDogMDtcbiAgICB3aGl0ZS1zcGFjZTogcHJlO1xuYDtcbiJdfQ== */");
|
37
|
+
var Loader = exports.Loader = /*#__PURE__*/(0, _base["default"])("div", {
|
38
|
+
target: "e15d8t3l4",
|
39
|
+
label: "plasma-new-hope__Loader"
|
40
|
+
})(process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdWkvSW5wdXQvSW5wdXQuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWtDZ0MiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9OdW1iZXJJbnB1dC91aS9JbnB1dC9JbnB1dC5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IGNvbXBvbmVudCw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fQ== */");
|
41
|
+
var StyledSpinner = exports.StyledSpinner = /*#__PURE__*/(0, _base["default"])(Spinner, {
|
42
|
+
target: "e15d8t3l3",
|
43
|
+
label: "plasma-new-hope__StyledSpinner"
|
44
|
+
})(process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdWkvSW5wdXQvSW5wdXQuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9DNEMiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9OdW1iZXJJbnB1dC91aS9JbnB1dC9JbnB1dC5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IGNvbXBvbmVudCwgbWVyZ2VDb25maWcgfSBmcm9tICcuLi8uLi8uLi8uLi9lbmdpbmVzJztcbmltcG9ydCB7IHNwaW5uZXJDb25maWcgfSBmcm9tICcuLi8uLi8uLi9TcGlubmVyJztcblxuY29uc3QgbWVyZ2VkQ29uZmlnID0gbWVyZ2VDb25maWcoc3Bpbm5lckNvbmZpZyk7XG5jb25zdCBTcGlubmVyID0gY29tcG9uZW50KG1lcmdlZENvbmZpZyk7XG5cbmV4cG9ydCBjb25zdCBJbnB1dFdyYXBwZXIgPSBzdHlsZWQuZGl2PHsgaXNNYW51YWxJbnB1dDogYm9vbGVhbiB9PmBcbiAgICBvdmVyZmxvdy14OiBhdXRvO1xuICAgIG92ZXJmbG93LXk6IGhpZGRlbjtcbiAgICBmbGV4OiAxO1xuICAgIGN1cnNvcjogJHsoeyBpc01hbnVhbElucHV0IH0pID0+IChpc01hbnVhbElucHV0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dGggfSkgPT4gZHluYW1pY1dpZHRofTtcbiAgICBib3gtc2l6aW5nOiBib3JkZXItYm94O1xuICAgIGN1cnNvcjogJHsoeyBpc01hbnVhbElucHV0IH0pID0+IChpc01hbnVhbElucHV0ID8gJ3RleHQnIDogJ2RlZmF1bHQnKX07XG4gICAgcG9pbnRlci1ldmVudHM6ICR7KHsgaXNNYW51YWxJbnB1dCB9KSA9PiAoaXNNYW51YWxJbnB1dCA/ICdpbml0aWFsJyA6ICdub25lJyl9O1xuICAgIHRyYW5zaXRpb246IHdpZHRoIDAuMXM7XG5gO1xuXG5leHBvcnQgY29uc3QgSW5wdXRXaWR0aEhlbHBlciA9IHN0eWxlZC5zcGFuYFxuICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICB6LWluZGV4OiAtOTk5O1xuICAgIHZpc2liaWxpdHk6IGhpZGRlbjtcbiAgICB0b3A6IDA7XG4gICAgbGVmdDogMDtcbiAgICBvcGFjaXR5OiAwO1xuICAgIGhlaWdodDogMDtcbiAgICB3aGl0ZS1zcGFjZTogcHJlO1xuYDtcbiJdfQ== */");
|
45
|
+
var DynamicInput = exports.DynamicInput = /*#__PURE__*/(0, _base["default"])("div", {
|
46
|
+
target: "e15d8t3l2",
|
47
|
+
label: "plasma-new-hope__DynamicInput"
|
48
|
+
})(process.env.NODE_ENV === "production" ? {
|
49
|
+
name: "bjn8wh",
|
50
|
+
styles: "position:relative"
|
51
|
+
} : {
|
52
|
+
name: "bjn8wh",
|
53
|
+
styles: "position:relative",
|
54
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdWkvSW5wdXQvSW5wdXQuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXNDc0MiLCJmaWxlIjoiLi4vLi4vLi4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l0aW9uOiBhYnNvbHV0ZTtcbiAgICB6LWluZGV4OiAtOTk5O1xuICAgIHZpc2liaWxpdHk6IGhpZGRlbjtcbiAgICB0b3A6IDA7XG4gICAgbGVmdDogMDtcbiAgICBvcGFjaXR5OiAwO1xuICAgIGhlaWdodDogMDtcbiAgICB3aGl0ZS1zcGFjZTogcHJlO1xuYDtcbiJdfQ== */",
|
55
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
56
|
+
});
|
57
|
+
var Input = exports.Input = /*#__PURE__*/(0, _base["default"])("input", {
|
58
|
+
target: "e15d8t3l1",
|
59
|
+
label: "plasma-new-hope__Input"
|
60
|
+
})("box-sizing:border-box;appearance:none;border:0;padding:0;background-color:transparent;outline:none;width:", function (_ref2) {
|
61
|
+
var dynamicWidth = _ref2.dynamicWidth;
|
62
|
+
return dynamicWidth;
|
63
|
+
}, ";box-sizing:border-box;cursor:", function (_ref3) {
|
64
|
+
var isManualInput = _ref3.isManualInput;
|
65
|
+
return isManualInput ? 'text' : 'default';
|
66
|
+
}, ";pointer-events:", function (_ref4) {
|
67
|
+
var isManualInput = _ref4.isManualInput;
|
68
|
+
return isManualInput ? 'initial' : 'none';
|
69
|
+
}, ";transition:width 0.1s;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdWkvSW5wdXQvSW5wdXQuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQTBDbUYiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9OdW1iZXJJbnB1dC91aS9JbnB1dC9JbnB1dC5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20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gIGhlaWdodDogMDtcbiAgICB3aGl0ZS1zcGFjZTogcHJlO1xuYDtcbiJdfQ== */"));
|
70
|
+
var InputWidthHelper = exports.InputWidthHelper = /*#__PURE__*/(0, _base["default"])("span", {
|
71
|
+
target: "e15d8t3l0",
|
72
|
+
label: "plasma-new-hope__InputWidthHelper"
|
73
|
+
})(process.env.NODE_ENV === "production" ? {
|
74
|
+
name: "1lglqkg",
|
75
|
+
styles: "position:absolute;z-index:-999;visibility:hidden;top:0;left:0;opacity:0;height:0;white-space:pre"
|
76
|
+
} : {
|
77
|
+
name: "1lglqkg",
|
78
|
+
styles: "position:absolute;z-index:-999;visibility:hidden;top:0;left:0;opacity:0;height:0;white-space:pre",
|
79
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdWkvSW5wdXQvSW5wdXQuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXdEMkMiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9OdW1iZXJJbnB1dC91aS9JbnB1dC9JbnB1dC5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IGNvbXBvbmVudCwgbWVyZ2VDb25maWcgfSBmcm9tICcuLi8uLi8uLi8uLi9lbmdpbmVzJztcbmltcG9ydCB7IHNwaW5uZXJDb25maWcgfSBmcm9tICcuLi8uLi8uLi9TcGlubmVyJztcblxuY29uc3QgbWVyZ2VkQ29uZmlnID0gbWVyZ2VDb25maWcoc3Bpbm5lckNvbmZpZyk7XG5jb25zdCBTcGlubmVyID0gY29tcG9uZW50KG1lcmdlZENvbmZpZy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JbnB1dDogYm9vbGVhbiB9PmBcbiAgICBib3gtc2l6aW5nOiBib3JkZXItYm94O1xuICAgIGFwcGVhcmFuY2U6IG5vbmU7XG4gICAgYm9yZGVyOiAwO1xuICAgIHBhZGRpbmc6IDA7XG4gICAgYmFja2dyb3VuZC1jb2xvcjogdHJhbnNwYXJlbnQ7XG4gICAgb3V0bGluZTogbm9uZTtcbiAgICB3aWR0aDogJHsoeyBkeW5hbWljV2lkdGggfSkgPT4gZHluYW1pY1dpZHRofTtcbiAgICBib3gtc2l6aW5nOiBib3JkZXItYm94O1xuICAgIGN1cnNvcjogJHsoeyBpc01hbnVhbElucHV0IH0pID0+IChpc01hbnVhbElucHV0ID8gJ3RleHQnIDogJ2RlZmF1bHQnKX07XG4gICAgcG9pbnRlci1ldmVudHM6ICR7KHsgaXNNYW51YWxJbnB1dCB9KSA9PiAoaXNNYW51YWxJbnB1dCA/ICdpbml0aWFsJyA6ICdub25lJyl9O1xuICAgIHRyYW5zaXRpb246IHdpZHRoIDAuMXM7XG5gO1xuXG5leHBvcnQgY29uc3QgSW5wdXRXaWR0aEhlbHBlciA9IHN0eWxlZC5zcGFuYFxuICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICB6LWluZGV4OiAtOTk5O1xuICAgIHZpc2liaWxpdHk6IGhpZGRlbjtcbiAgICB0b3A6IDA7XG4gICAgbGVmdDogMDtcbiAgICBvcGFjaXR5OiAwO1xuICAgIGhlaWdodDogMDtcbiAgICB3aGl0ZS1zcGFjZTogcHJlO1xuYDtcbiJdfQ== */",
|
80
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
81
|
+
});
|
@@ -0,0 +1,19 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
Object.defineProperty(exports, "ActionButton", {
|
7
|
+
enumerable: true,
|
8
|
+
get: function get() {
|
9
|
+
return _ActionButton.ActionButton;
|
10
|
+
}
|
11
|
+
});
|
12
|
+
Object.defineProperty(exports, "NumberInput", {
|
13
|
+
enumerable: true,
|
14
|
+
get: function get() {
|
15
|
+
return _Input.NumberInput;
|
16
|
+
}
|
17
|
+
});
|
18
|
+
var _ActionButton = /*#__PURE__*/require("./ActionButton/ActionButton");
|
19
|
+
var _Input = /*#__PURE__*/require("./Input/Input");
|
@@ -0,0 +1,9 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.numberSchema = exports.excludingNumberSchema = exports.defaultCharacterWidth = void 0;
|
7
|
+
var defaultCharacterWidth = exports.defaultCharacterWidth = '1ch';
|
8
|
+
var numberSchema = exports.numberSchema = /^(-)?\d+(\.\d+)?$/;
|
9
|
+
var excludingNumberSchema = exports.excludingNumberSchema = /[^-.\d]/g;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.base = void 0;
|
7
|
+
var _react = /*#__PURE__*/require("@emotion/react");
|
8
|
+
var _NumberInput = /*#__PURE__*/require("../../NumberInput.tokens");
|
9
|
+
var _Input = /*#__PURE__*/require("../../ui/Input/Input.styles");
|
10
|
+
var base = exports.base = /*#__PURE__*/(0, _react.css)(_Input.InputWrapper, "{background-color:var(", _NumberInput.tokens.backgroundColor, ");box-shadow:inset 0 0 0 var(", _NumberInput.tokens.inputWrapperBorderWidth, ") var(", _NumberInput.tokens.borderColor, ");&.", _NumberInput.classes.manualInput, ":hover{background-color:var(", _NumberInput.tokens.backgroundColorHover, ");box-shadow:inset 0 0 0 var(", _NumberInput.tokens.inputWrapperBorderWidth, ") var(", _NumberInput.tokens.borderColorHover, ");}};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJ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0aH0pIHZhcigke3Rva2Vucy5ib3JkZXJDb2xvckhvdmVyfSk7XG4gICAgICAgIH1cbiAgICB9XG5gO1xuIl19 */"));
|
@@ -0,0 +1,9 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.base = void 0;
|
7
|
+
var _react = /*#__PURE__*/require("@emotion/react");
|
8
|
+
var _NumberInput = /*#__PURE__*/require("../../NumberInput.tokens");
|
9
|
+
var base = exports.base = /*#__PURE__*/(0, _react.css)("&&.", _NumberInput.classes.disabled, "{pointer-events:none;opacity:var(", _NumberInput.tokens.disabledOpacity, ");cursor:not-allowed;};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdmFyaWF0aW9ucy9fZGlzYWJsZWQvYmFzZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFJdUIiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9OdW1iZXJJbnB1dC92YXJpYXRpb25zL19kaXNhYmxlZC9iYXNlLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuXG5pbXBvcnQgeyBjbGFzc2VzLCB0b2tlbnMgfSBmcm9tICcuLi8uLi9OdW1iZXJJbnB1dC50b2tlbnMnO1xuXG5leHBvcnQgY29uc3QgYmFzZSA9IGNzc2BcbiAgICAmJi4ke2NsYXNzZXMuZGlzYWJsZWR9IHtcbiAgICAgICAgcG9pbnRlci1ldmVudHM6IG5vbmU7XG4gICAgICAgIG9wYWNpdHk6IHZhcigke3Rva2Vucy5kaXNhYmxlZE9wYWNpdHl9KTtcbiAgICAgICAgY3Vyc29yOiBub3QtYWxsb3dlZDtcbiAgICB9XG5gO1xuIl19 */"));
|
@@ -0,0 +1,12 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.base = void 0;
|
7
|
+
var _react = /*#__PURE__*/require("@emotion/react");
|
8
|
+
var _NumberInput = /*#__PURE__*/require("../../NumberInput.tokens");
|
9
|
+
var _ActionButton = /*#__PURE__*/require("../../ui/ActionButton/ActionButton.styles");
|
10
|
+
var _Input = /*#__PURE__*/require("../../ui/Input/Input.styles");
|
11
|
+
var _Spinner = /*#__PURE__*/require("../../../Spinner");
|
12
|
+
var base = exports.base = /*#__PURE__*/(0, _react.css)(_Input.InputWrapper, "{border-radius:var(", _NumberInput.tokens.inputWrapperBorderRadius, ");}", _ActionButton.StyledIconButton, "{", _NumberInput.privateTokens.segmentationBorderRadius, ":var(", _NumberInput.tokens.iconButtonRadius, ");&.", _NumberInput.classes.segmentedView, ",&.", _NumberInput.classes.solidView, "{", _NumberInput.privateTokens.segmentationBorderRadius, ":var(", _NumberInput.tokens.iconButtonSegmentationRadius, ", var(", _NumberInput.tokens.iconButtonRadius, "));}&.", _NumberInput.classes.actionButtonDecrement, "{border-radius:var(", _NumberInput.tokens.iconButtonRadius, ") var(", _NumberInput.privateTokens.segmentationBorderRadius, ") var(", _NumberInput.privateTokens.segmentationBorderRadius, ") var(", _NumberInput.tokens.iconButtonRadius, ");}&.", _NumberInput.classes.actionButtonIncrement, "{border-radius:var(", _NumberInput.privateTokens.segmentationBorderRadius, ") var(", _NumberInput.tokens.iconButtonRadius, ") var(", _NumberInput.tokens.iconButtonRadius, ") var(", _NumberInput.privateTokens.segmentationBorderRadius, ");}}&.", _NumberInput.classes.segmentedView, "{", _Input.InputWrapper, "{border-radius:var(", _NumberInput.tokens.iconButtonSegmentationRadius, ");}}&.", _NumberInput.classes.solidView, "{", _NumberInput.privateTokens.topBoxShadow, ":inset 0 var(", _NumberInput.tokens.rootBorderWidth, ") var(", _NumberInput.tokens.wrapperBorderColor, ");", _NumberInput.privateTokens.bottomBoxShadow, ":inset 0 calc(-1 * var(", _NumberInput.tokens.rootBorderWidth, ")) var(", _NumberInput.tokens.wrapperBorderColor, ");", _NumberInput.privateTokens.leftBoxShadow, ":inset var(", _NumberInput.tokens.rootBorderWidth, ") 0 var(", _NumberInput.tokens.wrapperBorderColor, ");", _NumberInput.privateTokens.rightBoxShadow, ":inset calc(-1 * var(", _NumberInput.tokens.rootBorderWidth, ")) 0 var(", _NumberInput.tokens.wrapperBorderColor, ");position:relative;&.", _NumberInput.classes.focused, ":not(", _NumberInput.classes.loading, "),&.", _NumberInput.classes.focused, ":not(", _NumberInput.classes.disabled, "){", _NumberInput.privateTokens.topBoxShadow, ":inset 0 var(", _NumberInput.tokens.rootBorderWidth, ") var(", _NumberInput.tokens.wrapperBorderColorFocus, ");", _NumberInput.privateTokens.bottomBoxShadow, ":inset 0 calc(-1 * var(", _NumberInput.tokens.rootBorderWidth, ")) var(", _NumberInput.tokens.wrapperBorderColorFocus, ");", _NumberInput.privateTokens.leftBoxShadow, ":inset var(", _NumberInput.tokens.rootBorderWidth, ") 0 var(", _NumberInput.tokens.wrapperBorderColorFocus, ");", _NumberInput.privateTokens.rightBoxShadow, ":inset calc(-1 * var(", _NumberInput.tokens.rootBorderWidth, ")) 0 var(", _NumberInput.tokens.wrapperBorderColorFocus, ");}&:before{content:'';position:absolute;top:0;left:50%;transform:translateX(-50%);width:calc(100% - var(", _NumberInput.tokens.iconButtonWidth, ") * 2);height:100%;background:var(", _NumberInput.tokens.backgroundColorSolid, ");box-shadow:var(", _NumberInput.privateTokens.topBoxShadow, "),var(", _NumberInput.privateTokens.bottomBoxShadow, ");}", _Input.InputWrapper, "{position:relative;color:var(", _NumberInput.tokens.colorSolid, ");&:not(", _NumberInput.classes.errorAnimation, ").", _NumberInput.classes.manualInput, ":focus-within{background-color:var(", _NumberInput.tokens.backgroundColorSolidFocus, ");box-shadow:inset 0 0 0 var(", _NumberInput.tokens.inputWrapperBorderWidth, ") var(", _NumberInput.tokens.borderColorSolidFocus, ");}}", _ActionButton.StyledIconButton, "{&.", _NumberInput.classes.actionButtonDecrement, "{box-shadow:var(", _NumberInput.privateTokens.bottomBoxShadow, "),var(", _NumberInput.privateTokens.topBoxShadow, "),var(", _NumberInput.privateTokens.leftBoxShadow, ");}&.", _NumberInput.classes.actionButtonIncrement, "{box-shadow:var(", _NumberInput.privateTokens.bottomBoxShadow, "),var(", _NumberInput.privateTokens.topBoxShadow, "),var(", _NumberInput.privateTokens.rightBoxShadow, ");}:hover,:active{background-color:var(", _NumberInput.tokens.iconButtonBackgroundColor, ");}:hover{color:var(", _NumberInput.tokens.iconButtonColorSolidHover, ");}:active{color:var(", _NumberInput.tokens.iconButtonColorSolidActive, ");}&.", _NumberInput.classes.actionButtonDecrementDisabled, ",&.", _NumberInput.classes.actionButtonIncrementDisabled, "{opacity:1;svg{opacity:var(", _NumberInput.tokens.actionButtonDisabledOpacity, ");}:hover,:active{color:var(", _NumberInput.tokens.iconButtonColor, ");svg{opacity:var(", _NumberInput.tokens.actionButtonDisabledOpacity, ");}}}}&.", _NumberInput.classes.clearView, "{", _ActionButton.StyledIconButton, "{&.", _NumberInput.classes.actionButtonDecrementDisabled, ",&.", _NumberInput.classes.actionButtonIncrementDisabled, "{:hover,:active{background-color:transparent;}}}}", _Input.StyledSpinner, "{", _Spinner.spinnerTokens.color, ":var(", _NumberInput.tokens.loaderSpinnerColorSolid, ");}", _Input.Input, "{caret-color:var(", _NumberInput.tokens.caretColorSolid, ", var(", _NumberInput.tokens.caretColor, "));&:not(.", _NumberInput.classes.errorAnimation, "){color:var(", _NumberInput.tokens.colorSolid, ");}}", _Input.AdditionalText, "{color:var(", _NumberInput.tokens.additionalTextColorSolid, ");}};label:plasma-new-hope__base;" + (process.env.NOD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2Vucy5ib3R0b21Cb3hTaGFkb3d9KSwgdmFyKCR7cHJpdmF0ZVRva2Vucy50b3BCb3hTaGFkb3d9KSwgdmFyKCR7cHJpdmF0ZVRva2Vucy5yaWdodEJveFNoYWRvd30pO1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICA6aG92ZXIsXG4gICAgICAgICAgICA6YWN0aXZlIHsgICAgICAgICAgICAgICAgXG4gICAgICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogdmFyKCR7dG9rZW5zLmljb25CdXR0b25CYWNrZ3JvdW5kQ29sb3J9KTtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgOmhvdmVyIHsgICAgICAgICAgICAgICAgXG4gICAgICAgICAgICAgICAgY29sb3I6IHZhcigke3Rva2Vucy5pY29uQnV0dG9uQ29sb3JTb2xpZEhvdmVyfSk7XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIDphY3RpdmUgeyAgICAgICAgICAgICAgICBcbiAgICAgICAgICAgICAgICBjb2xvcjogdmFyKCR7dG9rZW5zLmljb25CdXR0b25Db2xvclNvbGlkQWN0aXZlfSk7XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICYuJHtjbGFzc2VzLmFjdGlvbkJ1dHRvbkRlY3JlbWVudERpc2FibGVkfSwgJi4ke2NsYXNzZXMuYWN0aW9uQnV0dG9uSW5jcmVtZW50RGlzYWJsZWR9IHtcbiAgICAgICAgICAgICAgICBvcGFjaXR5OiAxO1xuXG4gICAgICAgICAgICAgICAgc3ZnIHtcbiAgICAgICAgICAgICAgICAgICAgb3BhY2l0eTogdmFyKCR7dG9rZW5zLmFjdGlvbkJ1dHRvbkRpc2FibGVkT3BhY2l0eX0pO1xuICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIDpob3ZlcixcbiAgICAgICAgICAgICAgICA6YWN0aXZlIHtcbiAgICAgICAgICAgICAgICAgICAgY29sb3I6IHZhcigke3Rva2Vucy5pY29uQnV0dG9uQ29sb3J9KTtcblxuICAgICAgICAgICAgICAgICAgICBzdmcge1xuICAgICAgICAgICAgICAgICAgICAgICAgb3BhY2l0eTogdmFyKCR7dG9rZW5zLmFjdGlvbkJ1dHRvbkRpc2FibGVkT3BhY2l0eX0pO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgJi4ke2NsYXNzZXMuY2xlYXJWaWV3fSB7XG4gICAgICAgICAgICAke1N0eWxlZEljb25CdXR0b259IHtcbiAgICAgICAgICAgICAgICAmLiR7Y2xhc3Nlcy5hY3Rpb25CdXR0b25EZWNyZW1lbnREaXNhYmxlZH0sICYuJHtjbGFzc2VzLmFjdGlvbkJ1dHRvbkluY3JlbWVudERpc2FibGVkfSB7XG4gICAgICAgICAgICAgICAgICAgIDpob3ZlcixcbiAgICAgICAgICAgICAgICAgICAgOmFjdGl2ZSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiB0cmFuc3BhcmVudDtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgICR7U3R5bGVkU3Bpbm5lcn0ge1xuICAgICAgICAgICAgJHtzcGlubmVyVG9rZW5zLmNvbG9yfTogdmFyKCR7dG9rZW5zLmxvYWRlclNwaW5uZXJDb2xvclNvbGlkfSk7XG4gICAgICAgIH1cbiAgICBcbiAgICAgICAgJHtJbnB1dH0ge1xuICAgICAgICAgICAgY2FyZXQtY29sb3I6IHZhcigke3Rva2Vucy5jYXJldENvbG9yU29saWR9LCB2YXIoJHt0b2tlbnMuY2FyZXRDb2xvcn0pKTtcblxuICAgICAgICAgICAgJjpub3QoLiR7Y2xhc3Nlcy5lcnJvckFuaW1hdGlvbn0pe1xuICAgICAgICAgICAgICAgIGNvbG9yOiB2YXIoJHt0b2tlbnMuY29sb3JTb2xpZH0pO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgXG4gICAgICAgICR7QWRkaXRpb25hbFRleHR9IHtcbiAgICAgICAgICAgIGNvbG9yOiB2YXIoJHt0b2tlbnMuYWRkaXRpb25hbFRleHRDb2xvclNvbGlkfSk7XG4gICAgICAgIH1cbiAgICB9XG5gO1xuIl19 */"));
|
@@ -0,0 +1 @@
|
|
1
|
+
["--plasma-number-input_icon-button_segmentation_radius", "--plasma-number-input_background-color-solid"]
|
@@ -0,0 +1,11 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.base = void 0;
|
7
|
+
var _react = /*#__PURE__*/require("@emotion/react");
|
8
|
+
var _NumberInput = /*#__PURE__*/require("../../NumberInput.tokens");
|
9
|
+
var _IconButton = /*#__PURE__*/require("../../../IconButton");
|
10
|
+
var _ActionButton = /*#__PURE__*/require("../../ui/ActionButton/ActionButton.styles");
|
11
|
+
var base = exports.base = /*#__PURE__*/(0, _react.css)(_ActionButton.StyledIconButton, "{", _IconButton.iconButtonTokens.iconButtonRadius, ":var(", _NumberInput.tokens.iconButtonRadius, ");};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdmFyaWF0aW9ucy9fc2hhcGUvYmFzZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNdUIiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9OdW1iZXJJbnB1dC92YXJpYXRpb25zL19zaGFwZS9iYXNlLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuXG5pbXBvcnQgeyB0b2tlbnMgfSBmcm9tICcuLi8uLi9OdW1iZXJJbnB1dC50b2tlbnMnO1xuaW1wb3J0IHsgaWNvbkJ1dHRvblRva2VucyB9IGZyb20gJy4uLy4uLy4uL0ljb25CdXR0b24nO1xuaW1wb3J0IHsgU3R5bGVkSWNvbkJ1dHRvbiB9IGZyb20gJy4uLy4uL3VpL0FjdGlvbkJ1dHRvbi9BY3Rpb25CdXR0b24uc3R5bGVzJztcblxuZXhwb3J0IGNvbnN0IGJhc2UgPSBjc3NgXG4gICAgJHtTdHlsZWRJY29uQnV0dG9ufSB7XG4gICAgICAgICR7aWNvbkJ1dHRvblRva2Vucy5pY29uQnV0dG9uUmFkaXVzfTogdmFyKCR7dG9rZW5zLmljb25CdXR0b25SYWRpdXN9KTtcbiAgICB9XG5gO1xuIl19 */"));
|
@@ -0,0 +1 @@
|
|
1
|
+
["--plasma-number-input_icon-button_radius"]
|
@@ -0,0 +1,13 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.base = void 0;
|
7
|
+
var _react = /*#__PURE__*/require("@emotion/react");
|
8
|
+
var _NumberInput = /*#__PURE__*/require("../../NumberInput.tokens");
|
9
|
+
var _IconButton = /*#__PURE__*/require("../../../IconButton");
|
10
|
+
var _ActionButton = /*#__PURE__*/require("../../ui/ActionButton/ActionButton.styles");
|
11
|
+
var _Input = /*#__PURE__*/require("../../ui/Input/Input.styles");
|
12
|
+
var _Spinner = /*#__PURE__*/require("../../../Spinner");
|
13
|
+
var base = exports.base = /*#__PURE__*/(0, _react.css)("width:var(", _NumberInput.privateTokens.inputWidth, ");min-width:var(", _NumberInput.tokens.rootMinWidth, ");", _ActionButton.StyledIconButton, "{", _IconButton.iconButtonTokens.iconButtonHeight, ":var(", _NumberInput.tokens.iconButtonHeight, ");", _IconButton.iconButtonTokens.iconButtonWidth, ":var(", _NumberInput.tokens.iconButtonWidth, ");", _IconButton.iconButtonTokens.iconButtonPadding, ":var(", _NumberInput.tokens.iconButtonPadding, ");", _IconButton.iconButtonTokens.iconButtonFontFamily, ":var(", _NumberInput.tokens.iconButtonFontFamily, ");", _IconButton.iconButtonTokens.iconButtonFontSize, ":var(", _NumberInput.tokens.iconButtonFontSize, ");", _IconButton.iconButtonTokens.iconButtonFontStyle, ":var(", _NumberInput.tokens.iconButtonFontStyle, ");", _IconButton.iconButtonTokens.iconButtonFontWeight, ":var(", _NumberInput.tokens.iconButtonFontWeight, ");", _IconButton.iconButtonTokens.iconButtonLetterSpacing, ":var(", _NumberInput.tokens.iconButtonLetterSpacing, ");", _IconButton.iconButtonTokens.iconButtonLineHeight, ":var(", _NumberInput.tokens.iconButtonLineHeight, ");}", _Input.InputWrapper, "{margin:var(", _NumberInput.tokens.inputWrapperMargin, ");}", _Input.TextWrapper, "{height:var(", _NumberInput.tokens.textWrapperHeight, ");padding:var(", _NumberInput.tokens.textWrapperPadding, ");}", _Input.DynamicInput, ",", _Input.Input, ",", _Input.AdditionalText, "{font-family:var(", _NumberInput.tokens.fontFamily, ");font-size:var(", _NumberInput.tokens.fontSize, ");font-style:var(", _NumberInput.tokens.fontStyle, ");font-weight:var(", _NumberInput.tokens.fontWeight, ");letter-spacing:var(", _NumberInput.tokens.letterSpacing, ");line-height:var(", _NumberInput.tokens.lineHeight, ");}", _Input.AdditionalText, "{&.", _NumberInput.classes.textBefore, "{margin-right:var(", _NumberInput.tokens.textBeforeMarginRight, ");}&.", _NumberInput.classes.textAfter, "{margin-left:var(", _NumberInput.tokens.textAfterMarginLeft, ");}}", _Input.StyledSpinner, "{", _Spinner.spinnerTokens.size, ":var(", _NumberInput.tokens.loaderSpinnerSize, ");};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozL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ICAgICR7c3Bpbm5lclRva2Vucy5zaXplfTogdmFyKCR7dG9rZW5zLmxvYWRlclNwaW5uZXJTaXplfSk7XG4gICAgfVxuYDtcbiJdfQ== */"));
|
@@ -0,0 +1,22 @@
|
|
1
|
+
[
|
2
|
+
"--plasma-number-input_icon-button_height",
|
3
|
+
"--plasma-number-input_icon-button_width",
|
4
|
+
"--plasma-number-input_icon-button_padding",
|
5
|
+
"--plasma-number-input_icon-button_font-family",
|
6
|
+
"--plasma-number-input_icon-button_font-size",
|
7
|
+
"--plasma-number-input_icon-button_font-style",
|
8
|
+
"--plasma-number-input_icon-button_font-weight",
|
9
|
+
"--plasma-number-input_icon-button_letter-spacing",
|
10
|
+
"--plasma-number-input_icon-button_line-height",
|
11
|
+
"--plasma-number-input_font-family",
|
12
|
+
"--plasma-number-input_font-style",
|
13
|
+
"--plasma-number-input_font-size",
|
14
|
+
"--plasma-number-input_font-weight",
|
15
|
+
"--plasma-number-input_letter-spacing",
|
16
|
+
"--plasma-number-input_line-height",
|
17
|
+
"--plasma-number-input_text-wrapper_height",
|
18
|
+
"--plasma-number-input_text-wrapper_padding",
|
19
|
+
"--plasma-number-input_loader-spinner_size",
|
20
|
+
"--plasma-number-input_text-before_margin-right",
|
21
|
+
"--plasma-number-input_text-after_margin-left"
|
22
|
+
]
|
@@ -0,0 +1,13 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.base = void 0;
|
7
|
+
var _react = /*#__PURE__*/require("@emotion/react");
|
8
|
+
var _NumberInput = /*#__PURE__*/require("../../NumberInput.tokens");
|
9
|
+
var _IconButton = /*#__PURE__*/require("../../../IconButton");
|
10
|
+
var _ActionButton = /*#__PURE__*/require("../../ui/ActionButton/ActionButton.styles");
|
11
|
+
var _Input = /*#__PURE__*/require("../../ui/Input/Input.styles");
|
12
|
+
var _Spinner = /*#__PURE__*/require("../../../Spinner");
|
13
|
+
var base = exports.base = /*#__PURE__*/(0, _react.css)(_ActionButton.StyledIconButton, "{", _IconButton.iconButtonTokens.iconButtonColor, ":var(", _NumberInput.tokens.iconButtonColor, ");", _IconButton.iconButtonTokens.iconButtonBackgroundColor, ":var(", _NumberInput.tokens.iconButtonBackgroundColor, ");", _IconButton.iconButtonTokens.iconButtonColorHover, ":var(", _NumberInput.tokens.iconButtonColorHover, ");", _IconButton.iconButtonTokens.iconButtonBackgroundColorHover, ":var(", _NumberInput.tokens.iconButtonBackgroundColorHover, ");", _IconButton.iconButtonTokens.iconButtonColorActive, ":var(", _NumberInput.tokens.iconButtonColorActive, ");", _IconButton.iconButtonTokens.iconButtonBackgroundColorActive, ":var(", _NumberInput.tokens.iconButtonBackgroundColorActive, ");&.", _NumberInput.classes.actionButtonDecrementDisabled, ",&.", _NumberInput.classes.actionButtonIncrementDisabled, "{opacity:var(", _NumberInput.tokens.actionButtonDisabledOpacity, ");cursor:not-allowed;:hover,:active{scale:none;color:var(", _NumberInput.tokens.iconButtonColor, ");background-color:var(", _NumberInput.tokens.iconButtonBackgroundColor, ");}}}&& ", _Input.InputWrapper, "{&.", _NumberInput.classes.manualInput, ":focus-within{background-color:var(", _NumberInput.tokens.backgroundColorFocus, ");box-shadow:inset 0 0 0 var(", _NumberInput.tokens.inputWrapperBorderWidth, ") var(", _NumberInput.tokens.borderColorFocus, ");}&.", _NumberInput.classes.manualInput, ".", _NumberInput.classes.errorAnimation, "{background-color:var(", _NumberInput.tokens.backgroundErrorColor, ");box-shadow:inset 0 0 0 var(", _NumberInput.tokens.inputWrapperBorderWidth, ") var(", _NumberInput.tokens.borderErrorColor, ");animation:shakingError 0.3s forwards;", _Input.Input, "{color:var(", _NumberInput.tokens.errorColor, ");animation:fadeError 0.3s forwards;}&:focus-within{background-color:var(", _NumberInput.tokens.backgroundErrorColor, ");box-shadow:inset 0 0 0 var(", _NumberInput.tokens.inputWrapperBorderWidth, ") var(", _NumberInput.tokens.borderErrorColor, ");}}@keyframes shakingError{14%{transform:translateX(-0.125rem);}28%{transform:translateX(0.125rem);}42%{transform:translateX(-0.125rem);}57%{transform:translateX(0.125rem);}71%{transform:translateX(-0.125rem);}85%{transform:translateX(0.125rem);}100%{transform:translateX(-0.125rem);}}@keyframes fadeError{50%{opacity:1;}100%{opacity:0;}}}", _Input.StyledSpinner, "{", _Spinner.spinnerTokens.color, ":var(", _NumberInput.tokens.loaderSpinnerColor, ");}", _Input.Input, "{color:var(", _NumberInput.tokens.color, ");caret-color:var(", _NumberInput.tokens.caretColor, ");}", _Input.AdditionalText, "{color:var(", _NumberInput.tokens.additionalTextColor, ");};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdmFyaWF0aW9ucy9fdmlldy9iYXNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVF1QiIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL051bWJlcklucHV0L3ZhcmlhdGlvbnMvX3ZpZXcvYmFzZS50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHsgY2xhc3NlcywgdG9rZW5zIH0gZnJvbSAnLi4vLi4vTnVtYmVySW5wdXQudG9rZW5zJztcbmltcG9ydCB7IGljb25CdXR0b25Ub2tlbnMgfSBmcm9tICcuLi8uLi8uLi9JY29uQnV0dG9uJztcbmltcG9ydCB7IFN0eWxlZEljb25CdXR0b24gfSBmcm9tICcuLi8uLi91aS9BY3Rpb25CdXR0b24vQWN0aW9uQnV0dG9uLnN0eWxlcyc7XG5pbXBvcnQgeyBBZGRpdGlvbmFsVGV4dCw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5hY3Rpb25CdXR0b25JbmNyZW1lbnREaXNhYmxlZH0ge1xuICAgICAgICAgICAgb3BhY2l0eTogdmFyKCR7dG9rZW5zLmFjdGlvbkJ1dHRvbkRpc2FibGVkT3BhY2l0eX0pO1xuICAgICAgICAgICAgY3Vyc29yOiBub3QtYWxsb3dlZDtcblxuICAgICAgICAgICAgOmhvdmVyLFxuICAgICAgICAgICAgOmFjdGl2ZSB7XG4gICAgICAgICAgICAgICAgc2NhbGU6IG5vbmU7XG5cbiAgICAgICAgICAgICAgICBjb2xvcjogdmFyKCR7dG9rZW5zLmljb25CdXR0b25Db2xvcn0pO1xuICAgICAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6IHZhcigke3Rva2Vucy5pY29uQnV0dG9uQmFja2dyb3VuZENvbG9yfSk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAmJiAke0lucHV0V3JhcHBlcn17XG4gICAgICAgICYuJHtjbGFzc2VzLm1hbnVhbElucHV0fTpmb2N1cy13aXRoaW4ge1xuICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogdmFyKCR7dG9rZW5zLmJhY2tncm91bmRDb2xvckZvY3VzfSk7XG4gICAgICAgICAgICBib3gtc2hhZG93OiBpbnNldCAwIDAgMCB2YXIoJHt0b2tlbnMuaW5wdXRXcmFwcGVyQm9yZGVyV2lkdGh9KSB2YXIoJHt0b2tlbnMuYm9yZGVyQ29sb3JGb2N1c30pO1xuICAgICAgICB9XG5cbiAgICAgICAgJi4ke2NsYXNzZXMubWFudWFsSW5wdXR9LiR7Y2xhc3Nlcy5lcnJvckFuaW1hdGlvbn0ge1xuICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogdmFyKCR7dG9rZW5zLmJhY2tncm91bmRFcnJvckNvbG9yfSk7XG4gICAgICAgICAgICBib3gtc2hhZG93OiBpbnNldCAwIDAgMCB2YXIoJHt0b2tlbnMuaW5wdXRXcmFwcGVyQm9yZGVyV2lkdGh9KSB2YXIoJHt0b2tlbnMuYm9yZGVyRXJyb3JDb2xvcn0pO1xuXG4gICAgICAgICAgICBhbmltYXRpb246IHNoYWtpbmdFcnJvciAwLjNzIGZvcndhcmRzO1xuXG4gICAgICAgICAgICAke0lucHV0fSB7XG4gICAgICAgICAgICAgICAgY29sb3I6IHZhcigke3Rva2Vucy5lcnJvckNvbG9yfSk7XG4gICAgICAgICAgICAgICAgYW5pbWF0aW9uOiBmYWRlRXJyb3IgMC4zcyBmb3J3YXJkcztcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgJjpmb2N1cy13aXRoaW4ge1xuICAgICAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6IHZhcigke3Rva2Vucy5iYWNrZ3JvdW5kRXJyb3JDb2xvcn0pO1xuICAgICAgICAgICAgICAgIGJveC1zaGFkb3c6IGluc2V0IDAgMCAwIHZhcigke3Rva2Vucy5pbnB1dFdyYXBwZXJCb3JkZXJXaWR0aH0pIHZhcigke3Rva2Vucy5ib3JkZXJFcnJvckNvbG9yfSk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICBAa2V5ZnJhbWVzIHNoYWtpbmdFcnJvciB7XG4gICAgICAgICAgICAxNCUge1xuICAgICAgICAgICAgICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlWCgtMC4xMjVyZW0pO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgMjglIHtcbiAgICAgICAgICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoMC4xMjVyZW0pO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgNDIlIHtcbiAgICAgICAgICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoLTAuMTI1cmVtKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIDU3JSB7XG4gICAgICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDAuMTI1cmVtKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIDcxJSB7XG4gICAgICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKC0wLjEyNXJlbSk7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICA4NSUge1xuICAgICAgICAgICAgICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlWCgwLjEyNXJlbSk7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICAxMDAlIHtcbiAgICAgICAgICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoLTAuMTI1cmVtKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgIEBrZXlmcmFtZXMgZmFkZUVycm9yIHtcbiAgICAgICAgICAgIDUwJSB7XG4gICAgICAgICAgICAgICAgb3BhY2l0eTogMTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIDEwMCUge1xuICAgICAgICAgICAgICAgIG9wYWNpdHk6IDA7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAke1N0eWxlZFNwaW5uZXJ9IHtcbiAgICAgICAgJHtzcGlubmVyVG9rZW5zLmNvbG9yfTogdmFyKCR7dG9rZW5zLmxvYWRlclNwaW5uZXJDb2xvcn0pO1xuICAgIH1cblxuICAgICR7SW5wdXR9IHtcbiAgICAgICAgY29sb3I6IHZhcigke3Rva2Vucy5jb2xvcn0pO1xuICAgICAgICBjYXJldC1jb2xvcjogdmFyKCR7dG9rZW5zLmNhcmV0Q29sb3J9KTtcbiAgICB9XG5cbiAgICAke0FkZGl0aW9uYWxUZXh0fSB7XG4gICAgICAgIGNvbG9yOiB2YXIoJHt0b2tlbnMuYWRkaXRpb25hbFRleHRDb2xvcn0pO1xuICAgIH1cbmA7XG4iXX0= */"));
|
@@ -0,0 +1,14 @@
|
|
1
|
+
[
|
2
|
+
"--plasma-number-input_icon-button_color",
|
3
|
+
"--plasma-number-input_icon-button_background-color",
|
4
|
+
"--plasma-number-input_icon-button_color-hover",
|
5
|
+
"--plasma-number-input_icon-button_background-color-hover",
|
6
|
+
"--plasma-number-input_icon-button_color-active",
|
7
|
+
"--plasma-number-input_icon-button_background-color-active",
|
8
|
+
"--plasma-number-input_loader-spinner_color",
|
9
|
+
"--plasma-number-input_color",
|
10
|
+
"--plasma-number-input_additional-text_color",
|
11
|
+
"--plasma-number-input_action-button_disabled-opacity",
|
12
|
+
"--plasma-number-input_background-color-focus",
|
13
|
+
"--plasma-number-input_border-color-focus"
|
14
|
+
]
|