@salutejs/plasma-web 1.583.0 → 1.584.0-canary.1973.15343275842.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/CHANGELOG.md +134 -3101
  2. package/components/CodeInput/CodeInput.config.d.ts +19 -0
  3. package/components/CodeInput/CodeInput.config.js +28 -0
  4. package/components/CodeInput/CodeInput.d.ts +37 -0
  5. package/components/CodeInput/CodeInput.js +15 -0
  6. package/components/CodeInput/index.d.ts +1 -0
  7. package/components/CodeInput/index.js +12 -0
  8. package/css/cjs/components/CodeInput/CodeInput.config.js +27 -0
  9. package/css/cjs/components/CodeInput/CodeInput.config.js.map +1 -0
  10. package/css/cjs/components/CodeInput/CodeInput.config_1an7au3.css +5 -0
  11. package/css/cjs/components/CodeInput/CodeInput.css +5 -0
  12. package/css/cjs/components/CodeInput/CodeInput.js +17 -0
  13. package/css/cjs/components/CodeInput/CodeInput.js.map +1 -0
  14. package/css/cjs/index.css +6 -0
  15. package/css/cjs/index.js +2 -0
  16. package/css/cjs/index.js.map +1 -1
  17. package/css/es/components/CodeInput/CodeInput.config.js +23 -0
  18. package/css/es/components/CodeInput/CodeInput.config.js.map +1 -0
  19. package/css/es/components/CodeInput/CodeInput.config_1an7au3.css +5 -0
  20. package/css/es/components/CodeInput/CodeInput.css +5 -0
  21. package/css/es/components/CodeInput/CodeInput.js +13 -0
  22. package/css/es/components/CodeInput/CodeInput.js.map +1 -0
  23. package/css/es/index.css +6 -0
  24. package/css/es/index.js +1 -0
  25. package/css/es/index.js.map +1 -1
  26. package/css/index.d.ts +2 -0
  27. package/es/components/CodeInput/CodeInput.config.js +22 -0
  28. package/es/components/CodeInput/CodeInput.js +9 -0
  29. package/es/components/CodeInput/index.js +1 -0
  30. package/es/index.js +2 -1
  31. package/index.d.ts +1 -0
  32. package/index.js +11 -0
  33. package/package.json +3 -3
@@ -0,0 +1,19 @@
1
+ export declare const config: {
2
+ defaults: {
3
+ view: string;
4
+ size: string;
5
+ };
6
+ variations: {
7
+ view: {
8
+ default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
9
+ };
10
+ size: {
11
+ l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
12
+ m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
13
+ s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
14
+ };
15
+ disabled: {
16
+ true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
17
+ };
18
+ };
19
+ };
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.config = void 0;
7
+ var _styledComponents = /*#__PURE__*/require("@salutejs/plasma-new-hope/styled-components");
8
+ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
9
+ function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
10
+ var config = exports.config = {
11
+ defaults: {
12
+ view: 'default',
13
+ size: 'l'
14
+ },
15
+ variations: {
16
+ view: {
17
+ "default": /*#__PURE__*/(0, _styledComponents.css)(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-secondary);\n ", ": var(--text-negative);\n\n ", ": var(--text-primary);\n ", ": var(--text-negative);\n "])), _styledComponents.codeInputTokens.captionColor, _styledComponents.codeInputTokens.captionColorError, _styledComponents.codeInputTokens.codeColor, _styledComponents.codeInputTokens.codeColorError)
18
+ },
19
+ size: {
20
+ l: /*#__PURE__*/(0, _styledComponents.css)(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 2.5rem;\n ", ": 0.75rem;\n\n ", ": 1rem;\n\n ", ": var(--plasma-typo-dspl-l-font-family);\n ", ": var(--plasma-typo-dspl-l-font-style);\n ", ": var(--plasma-typo-dspl-l-bold-font-weight);\n ", ": var(--plasma-typo-dspl-l-letter-spacing);\n\n ", ": 8rem;\n ", ": 8rem;\n\n ", ": 7rem;\n ", ": 7rem;\n\n ", ": 5.5rem;\n ", ": 5.75rem;\n\n ", ": var(--plasma-typo-h3-font-family);\n ", ": var(--plasma-typo-h3-font-size);\n ", ": var(--plasma-typo-h3-font-style);\n ", ": var(--plasma-typo-h3-font-weight);\n ", ": var(--plasma-typo-h3-letter-spacing);\n ", ": var(--plasma-typo-h3-line-height);\n\n ", ": 5rem;\n ", ": 8rem;\n\n ", ": 4.5rem;\n ", ": 7rem;\n\n ", ": 3.5rem;\n ", ": 5.75rem;\n\n ", ": 0.125rem;\n ", ": 1.5rem;\n "])), _styledComponents.codeInputTokens.captionGap, _styledComponents.codeInputTokens.codeItemsGap, _styledComponents.codeInputTokens.separatorWidth, _styledComponents.codeInputTokens.fontFamily, _styledComponents.codeInputTokens.fontStyle, _styledComponents.codeInputTokens.fontWeight, _styledComponents.codeInputTokens.letterSpacing, _styledComponents.codeInputTokens.largeScreenFontSize, _styledComponents.codeInputTokens.largeScreenLineHeight, _styledComponents.codeInputTokens.mediumScreenFontSize, _styledComponents.codeInputTokens.mediumScreenLineHeight, _styledComponents.codeInputTokens.smallScreenFontSize, _styledComponents.codeInputTokens.smallScreenLineHeight, _styledComponents.codeInputTokens.captionFontFamily, _styledComponents.codeInputTokens.captionFontSize, _styledComponents.codeInputTokens.captionFontStyle, _styledComponents.codeInputTokens.captionFontWeight, _styledComponents.codeInputTokens.captionLetterSpacing, _styledComponents.codeInputTokens.captionLineHeight, _styledComponents.codeInputTokens.codeItemLargeWidth, _styledComponents.codeInputTokens.codeItemLargeHeight, _styledComponents.codeInputTokens.codeItemMediumWidth, _styledComponents.codeInputTokens.codeItemMediumHeight, _styledComponents.codeInputTokens.codeItemSmallWidth, _styledComponents.codeInputTokens.codeItemSmallHeight, _styledComponents.codeInputTokens.codeItemCircleBorderWidth, _styledComponents.codeInputTokens.codeItemCircleSize),
21
+ m: /*#__PURE__*/(0, _styledComponents.css)(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1.75rem;\n ", ": 0.5rem;\n\n ", ": 1rem;\n\n ", ": var(--plasma-typo-dspl-m-font-family);\n ", ": var(--plasma-typo-body-m-font-style);\n ", ": var(--plasma-typo-body-m-bold-font-weight);\n ", ": var(--plasma-typo-body-m-letter-spacing);\n\n ", ": 5.5rem;\n ", ": 5.75rem;\n\n ", ": 4.5rem;\n ", ": 4.75rem;\n\n ", ": 3.5rem;\n ", ": 3.75rem;\n\n ", ": var(--plasma-typo-h4-font-family);\n ", ": var(--plasma-typo-h4-font-size);\n ", ": var(--plasma-typo-h4-font-style);\n ", ": var(--plasma-typo-h4-font-weight);\n ", ": var(--plasma-typo-h4-letter-spacing);\n ", ": var(--plasma-typo-h4-line-height);\n\n ", ": 3.5rem;\n ", ": 5.75rem;\n\n ", ": 3rem;\n ", ": 4.75rem;\n\n ", ": 2.25rem;\n ", ": 3.75rem;\n\n ", ": 0.094rem;\n ", ": 1rem;\n "])), _styledComponents.codeInputTokens.captionGap, _styledComponents.codeInputTokens.codeItemsGap, _styledComponents.codeInputTokens.separatorWidth, _styledComponents.codeInputTokens.fontFamily, _styledComponents.codeInputTokens.fontStyle, _styledComponents.codeInputTokens.fontWeight, _styledComponents.codeInputTokens.letterSpacing, _styledComponents.codeInputTokens.largeScreenFontSize, _styledComponents.codeInputTokens.largeScreenLineHeight, _styledComponents.codeInputTokens.mediumScreenFontSize, _styledComponents.codeInputTokens.mediumScreenLineHeight, _styledComponents.codeInputTokens.smallScreenFontSize, _styledComponents.codeInputTokens.smallScreenLineHeight, _styledComponents.codeInputTokens.captionFontFamily, _styledComponents.codeInputTokens.captionFontSize, _styledComponents.codeInputTokens.captionFontStyle, _styledComponents.codeInputTokens.captionFontWeight, _styledComponents.codeInputTokens.captionLetterSpacing, _styledComponents.codeInputTokens.captionLineHeight, _styledComponents.codeInputTokens.codeItemLargeWidth, _styledComponents.codeInputTokens.codeItemLargeHeight, _styledComponents.codeInputTokens.codeItemMediumWidth, _styledComponents.codeInputTokens.codeItemMediumHeight, _styledComponents.codeInputTokens.codeItemSmallWidth, _styledComponents.codeInputTokens.codeItemSmallHeight, _styledComponents.codeInputTokens.codeItemCircleBorderWidth, _styledComponents.codeInputTokens.codeItemCircleSize),
22
+ s: /*#__PURE__*/(0, _styledComponents.css)(_templateObject4 || (_templateObject4 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1.5rem;\n ", ": 0.25rem;\n\n ", ": 0.5rem;\n\n ", ": var(--plasma-typo-dspl-s-font-family);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-bold-font-weight);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n\n ", ": 4rem;\n ", ": 4.25rem;\n\n ", ": 3rem;\n ", ": 3.25rem;\n\n ", ": 2.5rem;\n ", ": 2.75rem;\n\n ", ": var(--plasma-typo-h5-font-family);\n ", ": var(--plasma-typo-h5-font-size);\n ", ": var(--plasma-typo-h5-font-style);\n ", ": var(--plasma-typo-h5-font-weight);\n ", ": var(--plasma-typo-h5-letter-spacing);\n ", ": var(--plasma-typo-h5-line-height);\n\n ", ": 2.5rem;\n ", ": 4.25rem;\n\n ", ": 2rem;\n ", ": 3.25rem;\n\n ", ": 1.625rem;\n ", ": 2.75rem;\n\n ", ": 0.063rem;\n ", ": 0.75rem;\n "])), _styledComponents.codeInputTokens.captionGap, _styledComponents.codeInputTokens.codeItemsGap, _styledComponents.codeInputTokens.separatorWidth, _styledComponents.codeInputTokens.fontFamily, _styledComponents.codeInputTokens.fontStyle, _styledComponents.codeInputTokens.fontWeight, _styledComponents.codeInputTokens.letterSpacing, _styledComponents.codeInputTokens.largeScreenFontSize, _styledComponents.codeInputTokens.largeScreenLineHeight, _styledComponents.codeInputTokens.mediumScreenFontSize, _styledComponents.codeInputTokens.mediumScreenLineHeight, _styledComponents.codeInputTokens.smallScreenFontSize, _styledComponents.codeInputTokens.smallScreenLineHeight, _styledComponents.codeInputTokens.captionFontFamily, _styledComponents.codeInputTokens.captionFontSize, _styledComponents.codeInputTokens.captionFontStyle, _styledComponents.codeInputTokens.captionFontWeight, _styledComponents.codeInputTokens.captionLetterSpacing, _styledComponents.codeInputTokens.captionLineHeight, _styledComponents.codeInputTokens.codeItemLargeWidth, _styledComponents.codeInputTokens.codeItemLargeHeight, _styledComponents.codeInputTokens.codeItemMediumWidth, _styledComponents.codeInputTokens.codeItemMediumHeight, _styledComponents.codeInputTokens.codeItemSmallWidth, _styledComponents.codeInputTokens.codeItemSmallHeight, _styledComponents.codeInputTokens.codeItemCircleBorderWidth, _styledComponents.codeInputTokens.codeItemCircleSize)
23
+ },
24
+ disabled: {
25
+ "true": /*#__PURE__*/(0, _styledComponents.css)(_templateObject5 || (_templateObject5 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.4;\n "])), _styledComponents.codeInputTokens.disabledOpacity)
26
+ }
27
+ }
28
+ };
@@ -0,0 +1,37 @@
1
+ /// <reference types="react" />
2
+ /**
3
+ * CodeInput
4
+ */
5
+ export declare const CodeInput: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
6
+ view: {
7
+ default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
8
+ };
9
+ size: {
10
+ l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
11
+ m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
12
+ s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
13
+ };
14
+ disabled: {
15
+ true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
16
+ };
17
+ }> & {
18
+ value?: string | undefined;
19
+ placeholder?: string | undefined;
20
+ autoFocus?: boolean | undefined;
21
+ codeLength?: 4 | 5 | 6 | undefined;
22
+ caption?: import("react").ReactNode;
23
+ captionAlign?: "center" | "left" | undefined;
24
+ hidden?: boolean | undefined;
25
+ view?: string | undefined;
26
+ size?: string | undefined;
27
+ screen?: "small" | "medium" | "large" | undefined;
28
+ disabled?: boolean | undefined;
29
+ isError?: boolean | undefined;
30
+ width?: string | number | undefined;
31
+ setIsError?: import("react").Dispatch<import("react").SetStateAction<boolean>> | undefined;
32
+ allowedSymbols?: string | RegExp | undefined;
33
+ itemErrorBehavior?: import("@salutejs/plasma-new-hope/types/components/CodeInput/CodeInput.types").ItemErrorBehavior | undefined;
34
+ codeErrorBehavior?: import("@salutejs/plasma-new-hope/types/components/CodeInput/CodeInput.types").CodeErrorBehavior | undefined;
35
+ onChange?: ((value: string) => void) | undefined;
36
+ onFullCodeEnter?: ((code: string) => void) | undefined;
37
+ } & Pick<import("react").InputHTMLAttributes<HTMLInputElement>, "aria-label" | "autoComplete"> & Omit<import("react").HTMLAttributes<HTMLDivElement>, "onChange"> & import("react").RefAttributes<HTMLInputElement>>;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.CodeInput = void 0;
7
+ var _styledComponents = /*#__PURE__*/require("@salutejs/plasma-new-hope/styled-components");
8
+ var _CodeInput = /*#__PURE__*/require("./CodeInput.config");
9
+ var mergedConfig = /*#__PURE__*/(0, _styledComponents.mergeConfig)(_styledComponents.codeInputConfig, _CodeInput.config);
10
+ var CodeInputComponent = /*#__PURE__*/(0, _styledComponents.component)(mergedConfig);
11
+
12
+ /**
13
+ * CodeInput
14
+ */
15
+ var CodeInput = exports.CodeInput = CodeInputComponent;
@@ -0,0 +1 @@
1
+ export { CodeInput } from './CodeInput';
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "CodeInput", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _CodeInput.CodeInput;
10
+ }
11
+ });
12
+ var _CodeInput = /*#__PURE__*/require("./CodeInput");
@@ -0,0 +1,27 @@
1
+ require('./CodeInput.config_1an7au3.css');
2
+ 'use strict';
3
+
4
+ Object.defineProperty(exports, '__esModule', { value: true });
5
+
6
+ var config = {
7
+ defaults: {
8
+ view: 'default',
9
+ size: 'l'
10
+ },
11
+ variations: {
12
+ view: {
13
+ "default": "d1bd11l2"
14
+ },
15
+ size: {
16
+ l: "l3q7trr",
17
+ m: "mthn074",
18
+ s: "s1dk91qy"
19
+ },
20
+ disabled: {
21
+ "true": "t1gsvi3c"
22
+ }
23
+ }
24
+ };
25
+
26
+ exports.config = config;
27
+ //# sourceMappingURL=CodeInput.config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CodeInput.config.js","sources":["../../../../src-css/components/CodeInput/CodeInput.config.tsx"],"sourcesContent":["import { css, codeInputTokens as tokens } from '@salutejs/plasma-new-hope';\n\nexport const config = {\n defaults: {\n view: 'default',\n size: 'l',\n },\n variations: {\n view: {\n default: css`\n ${tokens.captionColor}: var(--text-secondary);\n ${tokens.captionColorError}: var(--text-negative);\n\n ${tokens.codeColor}: var(--text-primary);\n ${tokens.codeColorError}: var(--text-negative);\n `,\n },\n size: {\n l: css`\n ${tokens.captionGap}: 2.5rem;\n ${tokens.codeItemsGap}: 0.75rem;\n\n ${tokens.separatorWidth}: 1rem;\n\n ${tokens.fontFamily}: var(--plasma-typo-dspl-l-font-family);\n ${tokens.fontStyle}: var(--plasma-typo-dspl-l-font-style);\n ${tokens.fontWeight}: var(--plasma-typo-dspl-l-bold-font-weight);\n ${tokens.letterSpacing}: var(--plasma-typo-dspl-l-letter-spacing);\n\n ${tokens.largeScreenFontSize}: 8rem;\n ${tokens.largeScreenLineHeight}: 8rem;\n\n ${tokens.mediumScreenFontSize}: 7rem;\n ${tokens.mediumScreenLineHeight}: 7rem;\n\n ${tokens.smallScreenFontSize}: 5.5rem;\n ${tokens.smallScreenLineHeight}: 5.75rem;\n\n ${tokens.captionFontFamily}: var(--plasma-typo-h3-font-family);\n ${tokens.captionFontSize}: var(--plasma-typo-h3-font-size);\n ${tokens.captionFontStyle}: var(--plasma-typo-h3-font-style);\n ${tokens.captionFontWeight}: var(--plasma-typo-h3-font-weight);\n ${tokens.captionLetterSpacing}: var(--plasma-typo-h3-letter-spacing);\n ${tokens.captionLineHeight}: var(--plasma-typo-h3-line-height);\n\n ${tokens.codeItemLargeWidth}: 5rem;\n ${tokens.codeItemLargeHeight}: 8rem;\n\n ${tokens.codeItemMediumWidth}: 4.5rem;\n ${tokens.codeItemMediumHeight}: 7rem;\n\n ${tokens.codeItemSmallWidth}: 3.5rem;\n ${tokens.codeItemSmallHeight}: 5.75rem;\n\n ${tokens.codeItemCircleBorderWidth}: 0.125rem;\n ${tokens.codeItemCircleSize}: 1.5rem;\n `,\n m: css`\n ${tokens.captionGap}: 1.75rem;\n ${tokens.codeItemsGap}: 0.5rem;\n\n ${tokens.separatorWidth}: 1rem;\n\n ${tokens.fontFamily}: var(--plasma-typo-dspl-m-font-family);\n ${tokens.fontStyle}: var(--plasma-typo-body-m-font-style);\n ${tokens.fontWeight}: var(--plasma-typo-body-m-bold-font-weight);\n ${tokens.letterSpacing}: var(--plasma-typo-body-m-letter-spacing);\n\n ${tokens.largeScreenFontSize}: 5.5rem;\n ${tokens.largeScreenLineHeight}: 5.75rem;\n\n ${tokens.mediumScreenFontSize}: 4.5rem;\n ${tokens.mediumScreenLineHeight}: 4.75rem;\n\n ${tokens.smallScreenFontSize}: 3.5rem;\n ${tokens.smallScreenLineHeight}: 3.75rem;\n\n ${tokens.captionFontFamily}: var(--plasma-typo-h4-font-family);\n ${tokens.captionFontSize}: var(--plasma-typo-h4-font-size);\n ${tokens.captionFontStyle}: var(--plasma-typo-h4-font-style);\n ${tokens.captionFontWeight}: var(--plasma-typo-h4-font-weight);\n ${tokens.captionLetterSpacing}: var(--plasma-typo-h4-letter-spacing);\n ${tokens.captionLineHeight}: var(--plasma-typo-h4-line-height);\n\n ${tokens.codeItemLargeWidth}: 3.5rem;\n ${tokens.codeItemLargeHeight}: 5.75rem;\n\n ${tokens.codeItemMediumWidth}: 3rem;\n ${tokens.codeItemMediumHeight}: 4.75rem;\n\n ${tokens.codeItemSmallWidth}: 2.25rem;\n ${tokens.codeItemSmallHeight}: 3.75rem;\n\n ${tokens.codeItemCircleBorderWidth}: 0.094rem;\n ${tokens.codeItemCircleSize}: 1rem;\n `,\n s: css`\n ${tokens.captionGap}: 1.5rem;\n ${tokens.codeItemsGap}: 0.25rem;\n\n ${tokens.separatorWidth}: 0.5rem;\n\n ${tokens.fontFamily}: var(--plasma-typo-dspl-s-font-family);\n ${tokens.fontStyle}: var(--plasma-typo-body-s-font-style);\n ${tokens.fontWeight}: var(--plasma-typo-body-s-bold-font-weight);\n ${tokens.letterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n\n ${tokens.largeScreenFontSize}: 4rem;\n ${tokens.largeScreenLineHeight}: 4.25rem;\n\n ${tokens.mediumScreenFontSize}: 3rem;\n ${tokens.mediumScreenLineHeight}: 3.25rem;\n\n ${tokens.smallScreenFontSize}: 2.5rem;\n ${tokens.smallScreenLineHeight}: 2.75rem;\n\n ${tokens.captionFontFamily}: var(--plasma-typo-h5-font-family);\n ${tokens.captionFontSize}: var(--plasma-typo-h5-font-size);\n ${tokens.captionFontStyle}: var(--plasma-typo-h5-font-style);\n ${tokens.captionFontWeight}: var(--plasma-typo-h5-font-weight);\n ${tokens.captionLetterSpacing}: var(--plasma-typo-h5-letter-spacing);\n ${tokens.captionLineHeight}: var(--plasma-typo-h5-line-height);\n\n ${tokens.codeItemLargeWidth}: 2.5rem;\n ${tokens.codeItemLargeHeight}: 4.25rem;\n\n ${tokens.codeItemMediumWidth}: 2rem;\n ${tokens.codeItemMediumHeight}: 3.25rem;\n\n ${tokens.codeItemSmallWidth}: 1.625rem;\n ${tokens.codeItemSmallHeight}: 2.75rem;\n\n ${tokens.codeItemCircleBorderWidth}: 0.063rem;\n ${tokens.codeItemCircleSize}: 0.75rem;\n `,\n },\n disabled: {\n true: css`\n ${tokens.disabledOpacity}: 0.4;\n `,\n },\n },\n};\n"],"names":["config","defaults","view","size","variations","default","l","m","s","disabled","true"],"mappings":";;;;AAEO,IAAMA,MAAM,GAAG;AAClBC,EAAAA,QAAQ,EAAE;AACNC,IAAAA,IAAI,EAAE,SAAS;AACfC,IAAAA,IAAI,EAAE,GAAA;GACT;AACDC,EAAAA,UAAU,EAAE;AACRF,IAAAA,IAAI,EAAE;MACFG,SAAO,EAAA,UAAA;KAOV;AACDF,IAAAA,IAAI,EAAE;AACFG,MAAAA,CAAC,EAsCA,SAAA;AACDC,MAAAA,CAAC,EAsCA,SAAA;AACDC,MAAAA,CAAC,EAAA,UAAA;KAuCJ;AACDC,IAAAA,QAAQ,EAAE;MACNC,MAAI,EAAA,UAAA;AAGR,KAAA;AACJ,GAAA;AACJ;;;;"}
@@ -0,0 +1,5 @@
1
+ .d1bd11l2{--plasma-codeinput-caption-color:var(--text-secondary);--plasma-codeinput-caption-color-error:var(--text-negative);--plasma-codeinput-code-color:var(--text-primary);--plasma-codeinput-code-color-error:var(--text-negative);}
2
+ .l3q7trr{--plasma-codeinput-caption-gap:2.5rem;--plasma-codeinput-code-item-gap:0.75rem;--plasma-codeinput-separator-width:1rem;--plasma-codeinput-font-family:var(--plasma-typo-dspl-l-font-family);--plasma-codeinput-font-style:var(--plasma-typo-dspl-l-font-style);--plasma-codeinput-font-weight:var(--plasma-typo-dspl-l-bold-font-weight);--plasma-codeinput-letter-spacing:var(--plasma-typo-dspl-l-letter-spacing);--plasma-codeinput-large-screen-font-size:8rem;--plasma-codeinput-large-screen-line-height:8rem;--plasma-codeinput-medium-screen-font-size:7rem;--plasma-codeinput-medium-screen-line-height:7rem;--plasma-codeinput-small-screen-font-size:5.5rem;--plasma-codeinput-small-screen-line-height:5.75rem;--plasma-codeinput-caption-font-family:var(--plasma-typo-h3-font-family);--plasma-codeinput-caption-font-style:var(--plasma-typo-h3-font-size);--plasma-codeinput-caption-font-size:var(--plasma-typo-h3-font-style);--plasma-codeinput-caption-font-weight:var(--plasma-typo-h3-font-weight);--plasma-codeinput-caption-letter-spacing:var(--plasma-typo-h3-letter-spacing);--plasma-codeinput-caption-line-height:var(--plasma-typo-h3-line-height);--plasma-codeinput-item-large-width:5rem;--plasma-codeinput-item-large-height:8rem;--plasma-codeinput-item-medium-width:4.5rem;--plasma-codeinput-item-medium-height:7rem;--plasma-codeinput-item-small-width:3.5rem;--plasma-codeinput-item-small-height:5.75rem;--plasma-codeinput-item-circle-border-width:0.125rem;--plasma-codeinput-item-circle-size:1.5rem;}
3
+ .mthn074{--plasma-codeinput-caption-gap:1.75rem;--plasma-codeinput-code-item-gap:0.5rem;--plasma-codeinput-separator-width:1rem;--plasma-codeinput-font-family:var(--plasma-typo-dspl-m-font-family);--plasma-codeinput-font-style:var(--plasma-typo-body-m-font-style);--plasma-codeinput-font-weight:var(--plasma-typo-body-m-bold-font-weight);--plasma-codeinput-letter-spacing:var(--plasma-typo-body-m-letter-spacing);--plasma-codeinput-large-screen-font-size:5.5rem;--plasma-codeinput-large-screen-line-height:5.75rem;--plasma-codeinput-medium-screen-font-size:4.5rem;--plasma-codeinput-medium-screen-line-height:4.75rem;--plasma-codeinput-small-screen-font-size:3.5rem;--plasma-codeinput-small-screen-line-height:3.75rem;--plasma-codeinput-caption-font-family:var(--plasma-typo-h4-font-family);--plasma-codeinput-caption-font-style:var(--plasma-typo-h4-font-size);--plasma-codeinput-caption-font-size:var(--plasma-typo-h4-font-style);--plasma-codeinput-caption-font-weight:var(--plasma-typo-h4-font-weight);--plasma-codeinput-caption-letter-spacing:var(--plasma-typo-h4-letter-spacing);--plasma-codeinput-caption-line-height:var(--plasma-typo-h4-line-height);--plasma-codeinput-item-large-width:3.5rem;--plasma-codeinput-item-large-height:5.75rem;--plasma-codeinput-item-medium-width:3rem;--plasma-codeinput-item-medium-height:4.75rem;--plasma-codeinput-item-small-width:2.25rem;--plasma-codeinput-item-small-height:3.75rem;--plasma-codeinput-item-circle-border-width:0.094rem;--plasma-codeinput-item-circle-size:1rem;}
4
+ .s1dk91qy{--plasma-codeinput-caption-gap:1.5rem;--plasma-codeinput-code-item-gap:0.25rem;--plasma-codeinput-separator-width:0.5rem;--plasma-codeinput-font-family:var(--plasma-typo-dspl-s-font-family);--plasma-codeinput-font-style:var(--plasma-typo-body-s-font-style);--plasma-codeinput-font-weight:var(--plasma-typo-body-s-bold-font-weight);--plasma-codeinput-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-codeinput-large-screen-font-size:4rem;--plasma-codeinput-large-screen-line-height:4.25rem;--plasma-codeinput-medium-screen-font-size:3rem;--plasma-codeinput-medium-screen-line-height:3.25rem;--plasma-codeinput-small-screen-font-size:2.5rem;--plasma-codeinput-small-screen-line-height:2.75rem;--plasma-codeinput-caption-font-family:var(--plasma-typo-h5-font-family);--plasma-codeinput-caption-font-style:var(--plasma-typo-h5-font-size);--plasma-codeinput-caption-font-size:var(--plasma-typo-h5-font-style);--plasma-codeinput-caption-font-weight:var(--plasma-typo-h5-font-weight);--plasma-codeinput-caption-letter-spacing:var(--plasma-typo-h5-letter-spacing);--plasma-codeinput-caption-line-height:var(--plasma-typo-h5-line-height);--plasma-codeinput-item-large-width:2.5rem;--plasma-codeinput-item-large-height:4.25rem;--plasma-codeinput-item-medium-width:2rem;--plasma-codeinput-item-medium-height:3.25rem;--plasma-codeinput-item-small-width:1.625rem;--plasma-codeinput-item-small-height:2.75rem;--plasma-codeinput-item-circle-border-width:0.063rem;--plasma-codeinput-item-circle-size:0.75rem;}
5
+ .t1gsvi3c{--plasma-codeinput-disabled-opacity:0.4;}
@@ -0,0 +1,5 @@
1
+ .CodeInput_config_1an7au3_d1bd11l2__552eff94{--plasma-codeinput-caption-color:var(--text-secondary);--plasma-codeinput-caption-color-error:var(--text-negative);--plasma-codeinput-code-color:var(--text-primary);--plasma-codeinput-code-color-error:var(--text-negative);}
2
+ .CodeInput_config_1an7au3_l3q7trr__552eff94{--plasma-codeinput-caption-gap:2.5rem;--plasma-codeinput-code-item-gap:0.75rem;--plasma-codeinput-separator-width:1rem;--plasma-codeinput-font-family:var(--plasma-typo-dspl-l-font-family);--plasma-codeinput-font-style:var(--plasma-typo-dspl-l-font-style);--plasma-codeinput-font-weight:var(--plasma-typo-dspl-l-bold-font-weight);--plasma-codeinput-letter-spacing:var(--plasma-typo-dspl-l-letter-spacing);--plasma-codeinput-large-screen-font-size:8rem;--plasma-codeinput-large-screen-line-height:8rem;--plasma-codeinput-medium-screen-font-size:7rem;--plasma-codeinput-medium-screen-line-height:7rem;--plasma-codeinput-small-screen-font-size:5.5rem;--plasma-codeinput-small-screen-line-height:5.75rem;--plasma-codeinput-caption-font-family:var(--plasma-typo-h3-font-family);--plasma-codeinput-caption-font-style:var(--plasma-typo-h3-font-size);--plasma-codeinput-caption-font-size:var(--plasma-typo-h3-font-style);--plasma-codeinput-caption-font-weight:var(--plasma-typo-h3-font-weight);--plasma-codeinput-caption-letter-spacing:var(--plasma-typo-h3-letter-spacing);--plasma-codeinput-caption-line-height:var(--plasma-typo-h3-line-height);--plasma-codeinput-item-large-width:5rem;--plasma-codeinput-item-large-height:8rem;--plasma-codeinput-item-medium-width:4.5rem;--plasma-codeinput-item-medium-height:7rem;--plasma-codeinput-item-small-width:3.5rem;--plasma-codeinput-item-small-height:5.75rem;--plasma-codeinput-item-circle-border-width:0.125rem;--plasma-codeinput-item-circle-size:1.5rem;}
3
+ .CodeInput_config_1an7au3_mthn074__552eff94{--plasma-codeinput-caption-gap:1.75rem;--plasma-codeinput-code-item-gap:0.5rem;--plasma-codeinput-separator-width:1rem;--plasma-codeinput-font-family:var(--plasma-typo-dspl-m-font-family);--plasma-codeinput-font-style:var(--plasma-typo-body-m-font-style);--plasma-codeinput-font-weight:var(--plasma-typo-body-m-bold-font-weight);--plasma-codeinput-letter-spacing:var(--plasma-typo-body-m-letter-spacing);--plasma-codeinput-large-screen-font-size:5.5rem;--plasma-codeinput-large-screen-line-height:5.75rem;--plasma-codeinput-medium-screen-font-size:4.5rem;--plasma-codeinput-medium-screen-line-height:4.75rem;--plasma-codeinput-small-screen-font-size:3.5rem;--plasma-codeinput-small-screen-line-height:3.75rem;--plasma-codeinput-caption-font-family:var(--plasma-typo-h4-font-family);--plasma-codeinput-caption-font-style:var(--plasma-typo-h4-font-size);--plasma-codeinput-caption-font-size:var(--plasma-typo-h4-font-style);--plasma-codeinput-caption-font-weight:var(--plasma-typo-h4-font-weight);--plasma-codeinput-caption-letter-spacing:var(--plasma-typo-h4-letter-spacing);--plasma-codeinput-caption-line-height:var(--plasma-typo-h4-line-height);--plasma-codeinput-item-large-width:3.5rem;--plasma-codeinput-item-large-height:5.75rem;--plasma-codeinput-item-medium-width:3rem;--plasma-codeinput-item-medium-height:4.75rem;--plasma-codeinput-item-small-width:2.25rem;--plasma-codeinput-item-small-height:3.75rem;--plasma-codeinput-item-circle-border-width:0.094rem;--plasma-codeinput-item-circle-size:1rem;}
4
+ .CodeInput_config_1an7au3_s1dk91qy__552eff94{--plasma-codeinput-caption-gap:1.5rem;--plasma-codeinput-code-item-gap:0.25rem;--plasma-codeinput-separator-width:0.5rem;--plasma-codeinput-font-family:var(--plasma-typo-dspl-s-font-family);--plasma-codeinput-font-style:var(--plasma-typo-body-s-font-style);--plasma-codeinput-font-weight:var(--plasma-typo-body-s-bold-font-weight);--plasma-codeinput-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-codeinput-large-screen-font-size:4rem;--plasma-codeinput-large-screen-line-height:4.25rem;--plasma-codeinput-medium-screen-font-size:3rem;--plasma-codeinput-medium-screen-line-height:3.25rem;--plasma-codeinput-small-screen-font-size:2.5rem;--plasma-codeinput-small-screen-line-height:2.75rem;--plasma-codeinput-caption-font-family:var(--plasma-typo-h5-font-family);--plasma-codeinput-caption-font-style:var(--plasma-typo-h5-font-size);--plasma-codeinput-caption-font-size:var(--plasma-typo-h5-font-style);--plasma-codeinput-caption-font-weight:var(--plasma-typo-h5-font-weight);--plasma-codeinput-caption-letter-spacing:var(--plasma-typo-h5-letter-spacing);--plasma-codeinput-caption-line-height:var(--plasma-typo-h5-line-height);--plasma-codeinput-item-large-width:2.5rem;--plasma-codeinput-item-large-height:4.25rem;--plasma-codeinput-item-medium-width:2rem;--plasma-codeinput-item-medium-height:3.25rem;--plasma-codeinput-item-small-width:1.625rem;--plasma-codeinput-item-small-height:2.75rem;--plasma-codeinput-item-circle-border-width:0.063rem;--plasma-codeinput-item-circle-size:0.75rem;}
5
+ .CodeInput_config_1an7au3_t1gsvi3c__552eff94{--plasma-codeinput-disabled-opacity:0.4;}
@@ -0,0 +1,17 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var plasmaNewHope = require('@salutejs/plasma-new-hope');
6
+ var CodeInput_config = require('./CodeInput.config.js');
7
+
8
+ var mergedConfig = /*#__PURE__*/plasmaNewHope.mergeConfig(plasmaNewHope.codeInputConfig, CodeInput_config.config);
9
+ var CodeInputComponent = /*#__PURE__*/plasmaNewHope.component(mergedConfig);
10
+
11
+ /**
12
+ * CodeInput
13
+ */
14
+ var CodeInput = CodeInputComponent;
15
+
16
+ exports.CodeInput = CodeInput;
17
+ //# sourceMappingURL=CodeInput.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CodeInput.js","sources":["../../../../src-css/components/CodeInput/CodeInput.tsx"],"sourcesContent":["import { codeInputConfig, component, mergeConfig } from '@salutejs/plasma-new-hope';\n\nimport { config } from './CodeInput.config';\n\nconst mergedConfig = mergeConfig(codeInputConfig, config);\nconst CodeInputComponent = component(mergedConfig);\n\n/**\n * CodeInput\n */\nexport const CodeInput = CodeInputComponent;\n"],"names":["mergedConfig","mergeConfig","codeInputConfig","config","CodeInputComponent","component","CodeInput"],"mappings":";;;;;;;AAIA,IAAMA,YAAY,gBAAGC,yBAAW,CAACC,6BAAe,EAAEC,uBAAM,CAAC,CAAA;AACzD,IAAMC,kBAAkB,gBAAGC,uBAAS,CAACL,YAAY,CAAC,CAAA;;AAElD;AACA;AACA;AACO,IAAMM,SAAS,GAAGF;;;;"}
package/css/cjs/index.css CHANGED
@@ -215,6 +215,12 @@
215
215
 
216
216
  .CodeField_config_7779xg_tck0g5r__358f1b2e{--plasma-codefield-disabled-opacity:0.4;}
217
217
 
218
+ .CodeInput_config_1an7au3_d1bd11l2__552eff94{--plasma-codeinput-caption-color:var(--text-secondary);--plasma-codeinput-caption-color-error:var(--text-negative);--plasma-codeinput-code-color:var(--text-primary);--plasma-codeinput-code-color-error:var(--text-negative);}
219
+ .CodeInput_config_1an7au3_l3q7trr__552eff94{--plasma-codeinput-caption-gap:2.5rem;--plasma-codeinput-code-item-gap:0.75rem;--plasma-codeinput-separator-width:1rem;--plasma-codeinput-font-family:var(--plasma-typo-dspl-l-font-family);--plasma-codeinput-font-style:var(--plasma-typo-dspl-l-font-style);--plasma-codeinput-font-weight:var(--plasma-typo-dspl-l-bold-font-weight);--plasma-codeinput-letter-spacing:var(--plasma-typo-dspl-l-letter-spacing);--plasma-codeinput-large-screen-font-size:8rem;--plasma-codeinput-large-screen-line-height:8rem;--plasma-codeinput-medium-screen-font-size:7rem;--plasma-codeinput-medium-screen-line-height:7rem;--plasma-codeinput-small-screen-font-size:5.5rem;--plasma-codeinput-small-screen-line-height:5.75rem;--plasma-codeinput-caption-font-family:var(--plasma-typo-h3-font-family);--plasma-codeinput-caption-font-style:var(--plasma-typo-h3-font-size);--plasma-codeinput-caption-font-size:var(--plasma-typo-h3-font-style);--plasma-codeinput-caption-font-weight:var(--plasma-typo-h3-font-weight);--plasma-codeinput-caption-letter-spacing:var(--plasma-typo-h3-letter-spacing);--plasma-codeinput-caption-line-height:var(--plasma-typo-h3-line-height);--plasma-codeinput-item-large-width:5rem;--plasma-codeinput-item-large-height:8rem;--plasma-codeinput-item-medium-width:4.5rem;--plasma-codeinput-item-medium-height:7rem;--plasma-codeinput-item-small-width:3.5rem;--plasma-codeinput-item-small-height:5.75rem;--plasma-codeinput-item-circle-border-width:0.125rem;--plasma-codeinput-item-circle-size:1.5rem;}
220
+ .CodeInput_config_1an7au3_mthn074__552eff94{--plasma-codeinput-caption-gap:1.75rem;--plasma-codeinput-code-item-gap:0.5rem;--plasma-codeinput-separator-width:1rem;--plasma-codeinput-font-family:var(--plasma-typo-dspl-m-font-family);--plasma-codeinput-font-style:var(--plasma-typo-body-m-font-style);--plasma-codeinput-font-weight:var(--plasma-typo-body-m-bold-font-weight);--plasma-codeinput-letter-spacing:var(--plasma-typo-body-m-letter-spacing);--plasma-codeinput-large-screen-font-size:5.5rem;--plasma-codeinput-large-screen-line-height:5.75rem;--plasma-codeinput-medium-screen-font-size:4.5rem;--plasma-codeinput-medium-screen-line-height:4.75rem;--plasma-codeinput-small-screen-font-size:3.5rem;--plasma-codeinput-small-screen-line-height:3.75rem;--plasma-codeinput-caption-font-family:var(--plasma-typo-h4-font-family);--plasma-codeinput-caption-font-style:var(--plasma-typo-h4-font-size);--plasma-codeinput-caption-font-size:var(--plasma-typo-h4-font-style);--plasma-codeinput-caption-font-weight:var(--plasma-typo-h4-font-weight);--plasma-codeinput-caption-letter-spacing:var(--plasma-typo-h4-letter-spacing);--plasma-codeinput-caption-line-height:var(--plasma-typo-h4-line-height);--plasma-codeinput-item-large-width:3.5rem;--plasma-codeinput-item-large-height:5.75rem;--plasma-codeinput-item-medium-width:3rem;--plasma-codeinput-item-medium-height:4.75rem;--plasma-codeinput-item-small-width:2.25rem;--plasma-codeinput-item-small-height:3.75rem;--plasma-codeinput-item-circle-border-width:0.094rem;--plasma-codeinput-item-circle-size:1rem;}
221
+ .CodeInput_config_1an7au3_s1dk91qy__552eff94{--plasma-codeinput-caption-gap:1.5rem;--plasma-codeinput-code-item-gap:0.25rem;--plasma-codeinput-separator-width:0.5rem;--plasma-codeinput-font-family:var(--plasma-typo-dspl-s-font-family);--plasma-codeinput-font-style:var(--plasma-typo-body-s-font-style);--plasma-codeinput-font-weight:var(--plasma-typo-body-s-bold-font-weight);--plasma-codeinput-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-codeinput-large-screen-font-size:4rem;--plasma-codeinput-large-screen-line-height:4.25rem;--plasma-codeinput-medium-screen-font-size:3rem;--plasma-codeinput-medium-screen-line-height:3.25rem;--plasma-codeinput-small-screen-font-size:2.5rem;--plasma-codeinput-small-screen-line-height:2.75rem;--plasma-codeinput-caption-font-family:var(--plasma-typo-h5-font-family);--plasma-codeinput-caption-font-style:var(--plasma-typo-h5-font-size);--plasma-codeinput-caption-font-size:var(--plasma-typo-h5-font-style);--plasma-codeinput-caption-font-weight:var(--plasma-typo-h5-font-weight);--plasma-codeinput-caption-letter-spacing:var(--plasma-typo-h5-letter-spacing);--plasma-codeinput-caption-line-height:var(--plasma-typo-h5-line-height);--plasma-codeinput-item-large-width:2.5rem;--plasma-codeinput-item-large-height:4.25rem;--plasma-codeinput-item-medium-width:2rem;--plasma-codeinput-item-medium-height:3.25rem;--plasma-codeinput-item-small-width:1.625rem;--plasma-codeinput-item-small-height:2.75rem;--plasma-codeinput-item-circle-border-width:0.063rem;--plasma-codeinput-item-circle-size:0.75rem;}
222
+ .CodeInput_config_1an7au3_t1gsvi3c__552eff94{--plasma-codeinput-disabled-opacity:0.4;}
223
+
218
224
  .Combobox_config_g6rh1c_x1m2v3ds__76a3a875{--plasma-combobox-old-width:100%;--plasma-combobox-old-height:auto;--plasma-combobox-old-border-radius:0.5rem;--plasma-combobox-old-padding-top:0.125rem;--plasma-combobox-old-padding-right:0.125rem;--plasma-combobox-old-padding-bottom:0.125rem;--plasma-combobox-old-padding-left:0.125rem;--plasma-combobox-old-divider-color:var(--surface-transparent-tertiary);--plasma-combobox-old-divider-height:0.063rem;--plasma-combobox-old-divider-margin-top:0;--plasma-combobox-old-divider-margin-right:0.5rem;--plasma-combobox-old-divider-margin-bottom:0;--plasma-combobox-old-divider-margin-left:0.375rem;--plasma-combobox-old-item-width:auto;--plasma-combobox-old-item-height:1rem;--plasma-combobox-old-item-padding-top:0.5rem;--plasma-combobox-old-item-padding-right:0.5rem;--plasma-combobox-old-item-padding-bottom:0.5rem;--plasma-combobox-old-item-padding-left:0.375rem;--plasma-combobox-old-item-border-radius:0.375rem;--plasma-combobox-old-item-content-left-width:1.25rem;--plasma-combobox-old-item-font-family:var(--plasma-typo-body-xs-font-family);--plasma-combobox-old-item-font-size:var(--plasma-typo-body-xs-font-size);--plasma-combobox-old-item-font-style:var(--plasma-typo-body-xs-font-style);--plasma-combobox-old-item-letter-spacing:var(--plasma-typo-body-xs-font-weight);--plasma-combobox-old-item-line-height:var(--plasma-typo-body-xs-letter-spacing);--plasma-combobox-old-item-font-weight:var(--plasma-typo-body-xs-line-height);--plasma-combobox-old-chip-gap:0.25rem;--plasma-combobox-old-chip-border-radius:0.125rem;--plasma-combobox-old-chip-width:auto;--plasma-combobox-old-chip-height:1.25rem;--plasma-combobox-old-chip-padding:0 0.375rem 0 0.625rem;--plasma-combobox-old-chip-clear-content-margin-left:0.25rem;--plasma-combobox-old-chip-clear-content-margin-right:0rem;--plasma-combobox-old-chip-close-icon-size:0.75rem;--plasma-combobox-old-chip-font-family:var(--plasma-typo-body-xs-font-family);--plasma-combobox-old-chip-font-size:var(--plasma-typo-body-xs-font-size);--plasma-combobox-old-chip-font-style:var(--plasma-typo-body-xs-font-style);--plasma-combobox-old-chip-font-weight:var(--plasma-typo-body-xs-font-weight);--plasma-combobox-old-chip-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);--plasma-combobox-old-chip-line-height:var(--plasma-typo-body-xs-line-height);--plasma-combobox-old-target-arrow-right:0.5rem;--plasma-combobox-old-target-height:2rem;--plasma-combobox-old-target-width:100%;--plasma-combobox-old-target-radius:0.5rem;--plasma-combobox-old-target-padding:0 2.5rem 0 0.75rem;--plasma-combobox-old-target-padding-has-chips:0 2.625rem 0 0.375rem;--plasma-combobox-old-target-with-input:0 2.625rem 0 0.625rem;--plasma-combobox-old-target-inner-top:0.5rem;--plasma-combobox-old-target-label-inner-top:0.375rem;--plasma-combobox-old-target-font-family:var(--plasma-typo-body-xs-font-family);--plasma-combobox-old-target-font-size:var(--plasma-typo-body-xs-font-size);--plasma-combobox-old-target-font-style:var(--plasma-typo-body-xs-font-style);--plasma-combobox-old-target-font-weight:var(--plasma-typo-body-xs-font-weight);--plasma-combobox-old-target-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);--plasma-combobox-old-target-line-height:var(--plasma-typo-body-xs-line-height);--plasma-combobox-old-target-label-inner-font-family:var(--plasma-typo-body-xs-font-family);--plasma-combobox-old-target-label-inner-font-family:var(--plasma-typo-body-xs-font-size);--plasma-combobox-old-target-label-inner-font-style:var(--plasma-typo-body-xs-font-style);--plasma-combobox-old-target-label-inner-font-weight:var(--plasma-typo-body-xs-font-weight);--plasma-combobox-old-target-label-inner-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);--plasma-combobox-old-target-label-inner-line-height:var(--plasma-typo-body-xs-line-height);}
219
225
  .Combobox_config_g6rh1c_snjir4d__76a3a875{--plasma-combobox-old-width:100%;--plasma-combobox-old-height:auto;--plasma-combobox-old-border-radius:0.625rem;--plasma-combobox-old-padding-top:0.125rem;--plasma-combobox-old-padding-right:0.125rem;--plasma-combobox-old-padding-bottom:0.125rem;--plasma-combobox-old-padding-left:0.125rem;--plasma-combobox-old-divider-color:var(--surface-transparent-tertiary);--plasma-combobox-old-divider-height:0.063rem;--plasma-combobox-old-divider-margin-top:0;--plasma-combobox-old-divider-margin-right:0.75rem;--plasma-combobox-old-divider-margin-bottom:0;--plasma-combobox-old-divider-margin-left:0.75rem;--plasma-combobox-old-item-width:auto;--plasma-combobox-old-item-height:1.5rem;--plasma-combobox-old-item-padding-top:0.5rem;--plasma-combobox-old-item-padding-right:0.75rem;--plasma-combobox-old-item-padding-bottom:0.5rem;--plasma-combobox-old-item-padding-left:0.75rem;--plasma-combobox-old-item-border-radius:0.5rem;--plasma-combobox-old-item-content-left-width:1.75rem;--plasma-combobox-old-item-font-family:var(--plasma-typo-body-s-font-family);--plasma-combobox-old-item-font-size:var(--plasma-typo-body-s-font-size);--plasma-combobox-old-item-font-style:var(--plasma-typo-body-s-font-style);--plasma-combobox-old-item-letter-spacing:var(--plasma-typo-body-s-font-weight);--plasma-combobox-old-item-line-height:var(--plasma-typo-body-s-letter-spacing);--plasma-combobox-old-item-font-weight:var(--plasma-typo-body-s-line-height);--plasma-combobox-old-chip-gap:0.25rem;--plasma-combobox-old-chip-border-radius:0.25rem;--plasma-combobox-old-chip-width:auto;--plasma-combobox-old-chip-height:1.75rem;--plasma-combobox-old-chip-padding:0 0.5rem 0 0.75rem;--plasma-combobox-old-chip-clear-content-margin-left:0.375rem;--plasma-combobox-old-chip-clear-content-margin-right:0rem;--plasma-combobox-old-chip-close-icon-size:0.75rem;--plasma-combobox-old-chip-font-family:var(--plasma-typo-body-s-font-family);--plasma-combobox-old-chip-font-size:var(--plasma-typo-body-s-font-size);--plasma-combobox-old-chip-font-style:var(--plasma-typo-body-s-font-style);--plasma-combobox-old-chip-font-weight:var(--plasma-typo-body-s-font-weight);--plasma-combobox-old-chip-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-combobox-old-chip-line-height:var(--plasma-typo-body-s-line-height);--plasma-combobox-old-target-arrow-right:0.75rem;--plasma-combobox-old-target-height:2.5rem;--plasma-combobox-old-target-width:100%;--plasma-combobox-old-target-radius:0.625rem;--plasma-combobox-old-target-padding:0 3rem 0 1rem;--plasma-combobox-old-target-padding-has-chips:0 3.125rem 0 0.375rem;--plasma-combobox-old-target-with-input:0 3.125rem 0 0.625rem;--plasma-combobox-old-target-inner-top:0.5rem;--plasma-combobox-old-target-label-inner-top:0.375rem;--plasma-combobox-old-target-font-family:var(--plasma-typo-body-s-font-family);--plasma-combobox-old-target-font-size:var(--plasma-typo-body-s-font-size);--plasma-combobox-old-target-font-style:var(--plasma-typo-body-s-font-style);--plasma-combobox-old-target-font-weight:var(--plasma-typo-body-s-font-weight);--plasma-combobox-old-target-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-combobox-old-target-line-height:var(--plasma-typo-body-s-line-height);--plasma-combobox-old-target-label-inner-font-family:var(--plasma-typo-body-xxs-font-family);--plasma-combobox-old-target-label-inner-font-family:var(--plasma-typo-body-xxs-font-size);--plasma-combobox-old-target-label-inner-font-style:var(--plasma-typo-body-xxs-font-style);--plasma-combobox-old-target-label-inner-font-weight:var(--plasma-typo-body-xxs-font-weight);--plasma-combobox-old-target-label-inner-letter-spacing:var(--plasma-typo-body-xxs-letter-spacing);--plasma-combobox-old-target-label-inner-line-height:var(--plasma-typo-body-xxs-line-height);}
220
226
  .Combobox_config_g6rh1c_m8yng6k__76a3a875{--plasma-combobox-old-width:100%;--plasma-combobox-old-height:auto;--plasma-combobox-old-border-radius:0.75rem;--plasma-combobox-old-padding-top:0.125rem;--plasma-combobox-old-padding-right:0.125rem;--plasma-combobox-old-padding-bottom:0.125rem;--plasma-combobox-old-padding-left:0.125rem;--plasma-combobox-old-divider-color:var(--surface-transparent-tertiary);--plasma-combobox-old-divider-height:0.063rem;--plasma-combobox-old-divider-margin-top:0;--plasma-combobox-old-divider-margin-right:0.875rem;--plasma-combobox-old-divider-margin-bottom:0;--plasma-combobox-old-divider-margin-left:0.875rem;--plasma-combobox-old-item-width:auto;--plasma-combobox-old-item-height:1.5rem;--plasma-combobox-old-item-padding-top:0.75rem;--plasma-combobox-old-item-padding-right:0.875rem;--plasma-combobox-old-item-padding-bottom:0.75rem;--plasma-combobox-old-item-padding-left:0.875rem;--plasma-combobox-old-item-border-radius:0.625rem;--plasma-combobox-old-item-content-left-width:1.75rem;--plasma-combobox-old-item-font-family:var(--plasma-typo-body-m-font-family);--plasma-combobox-old-item-font-size:var(--plasma-typo-body-m-font-size);--plasma-combobox-old-item-font-style:var(--plasma-typo-body-m-font-style);--plasma-combobox-old-item-letter-spacing:var(--plasma-typo-body-m-font-weight);--plasma-combobox-old-item-line-height:var(--plasma-typo-body-m-letter-spacing);--plasma-combobox-old-item-font-weight:var(--plasma-typo-body-m-line-height);--plasma-combobox-old-chip-gap:0.25rem;--plasma-combobox-old-chip-border-radius:0.375rem;--plasma-combobox-old-chip-width:auto;--plasma-combobox-old-chip-height:2.25rem;--plasma-combobox-old-chip-padding:0 0.875rem 0 0.625rem;--plasma-combobox-old-chip-clear-content-margin-left:0.5rem;--plasma-combobox-old-chip-clear-content-margin-right:0rem;--plasma-combobox-old-chip-close-icon-size:1rem;--plasma-combobox-old-chip-font-family:var(--plasma-typo-body-m-font-family);--plasma-combobox-old-chip-font-size:var(--plasma-typo-body-m-font-size);--plasma-combobox-old-chip-font-style:var(--plasma-typo-body-m-font-style);--plasma-combobox-old-chip-font-weight:var(--plasma-typo-body-m-font-weight);--plasma-combobox-old-chip-letter-spacing:var(--plasma-typo-body-m-letter-spacing);--plasma-combobox-old-chip-line-height:var(--plasma-typo-body-m-line-height);--plasma-combobox-old-target-arrow-right:0.875rem;--plasma-combobox-old-target-height:3rem;--plasma-combobox-old-target-width:100%;--plasma-combobox-old-target-radius:0.75rem;--plasma-combobox-old-target-padding:0 3.25rem 0 1.25rem;--plasma-combobox-old-target-padding-has-chips:0 3.375rem 0 0.375rem;--plasma-combobox-old-target-with-input:0 3.375rem 0 0.625rem;--plasma-combobox-old-target-inner-top:0.5rem;--plasma-combobox-old-target-label-inner-top:0.375rem;--plasma-combobox-old-target-font-family:var(--plasma-typo-body-m-font-family);--plasma-combobox-old-target-font-size:var(--plasma-typo-body-m-font-size);--plasma-combobox-old-target-font-style:var(--plasma-typo-body-m-font-style);--plasma-combobox-old-target-font-weight:var(--plasma-typo-body-m-font-weight);--plasma-combobox-old-target-letter-spacing:var(--plasma-typo-body-m-letter-spacing);--plasma-combobox-old-target-line-height:var(--plasma-typo-body-m-line-height);--plasma-combobox-old-target-label-inner-font-family:var(--plasma-typo-body-xs-font-family);--plasma-combobox-old-target-label-inner-font-family:var(--plasma-typo-body-xs-font-size);--plasma-combobox-old-target-label-inner-font-style:var(--plasma-typo-body-xs-font-style);--plasma-combobox-old-target-label-inner-font-weight:var(--plasma-typo-body-xs-font-weight);--plasma-combobox-old-target-label-inner-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);--plasma-combobox-old-target-label-inner-line-height:var(--plasma-typo-body-xs-line-height);}
package/css/cjs/index.js CHANGED
@@ -19,6 +19,7 @@ var Checkbox = require('./components/Checkbox/Checkbox.js');
19
19
  var Chip = require('./components/Chip/Chip.js');
20
20
  var ChipGroup = require('./components/ChipGroup/ChipGroup.js');
21
21
  var CodeField = require('./components/CodeField/CodeField.js');
22
+ var CodeInput = require('./components/CodeInput/CodeInput.js');
22
23
  var Combobox = require('./components/Combobox/Legacy/Combobox.js');
23
24
  var Combobox$1 = require('./components/Combobox/Combobox.js');
24
25
  var Counter = require('./components/Counter/Counter.js');
@@ -303,6 +304,7 @@ exports.Checkbox = Checkbox.Checkbox;
303
304
  exports.Chip = Chip.Chip;
304
305
  exports.ChipGroup = ChipGroup.ChipGroup;
305
306
  exports.CodeField = CodeField.CodeField;
307
+ exports.CodeInput = CodeInput.CodeInput;
306
308
  exports.ComboboxDivider = Combobox.ComboboxDivider;
307
309
  exports.ComboboxFooter = Combobox.ComboboxFooter;
308
310
  exports.ComboboxGroup = Combobox.ComboboxGroup;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,23 @@
1
+ import './CodeInput.config_1an7au3.css';
2
+ var config = {
3
+ defaults: {
4
+ view: 'default',
5
+ size: 'l'
6
+ },
7
+ variations: {
8
+ view: {
9
+ "default": "d1bd11l2"
10
+ },
11
+ size: {
12
+ l: "l3q7trr",
13
+ m: "mthn074",
14
+ s: "s1dk91qy"
15
+ },
16
+ disabled: {
17
+ "true": "t1gsvi3c"
18
+ }
19
+ }
20
+ };
21
+
22
+ export { config };
23
+ //# sourceMappingURL=CodeInput.config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CodeInput.config.js","sources":["../../../../src-css/components/CodeInput/CodeInput.config.tsx"],"sourcesContent":["import { css, codeInputTokens as tokens } from '@salutejs/plasma-new-hope';\n\nexport const config = {\n defaults: {\n view: 'default',\n size: 'l',\n },\n variations: {\n view: {\n default: css`\n ${tokens.captionColor}: var(--text-secondary);\n ${tokens.captionColorError}: var(--text-negative);\n\n ${tokens.codeColor}: var(--text-primary);\n ${tokens.codeColorError}: var(--text-negative);\n `,\n },\n size: {\n l: css`\n ${tokens.captionGap}: 2.5rem;\n ${tokens.codeItemsGap}: 0.75rem;\n\n ${tokens.separatorWidth}: 1rem;\n\n ${tokens.fontFamily}: var(--plasma-typo-dspl-l-font-family);\n ${tokens.fontStyle}: var(--plasma-typo-dspl-l-font-style);\n ${tokens.fontWeight}: var(--plasma-typo-dspl-l-bold-font-weight);\n ${tokens.letterSpacing}: var(--plasma-typo-dspl-l-letter-spacing);\n\n ${tokens.largeScreenFontSize}: 8rem;\n ${tokens.largeScreenLineHeight}: 8rem;\n\n ${tokens.mediumScreenFontSize}: 7rem;\n ${tokens.mediumScreenLineHeight}: 7rem;\n\n ${tokens.smallScreenFontSize}: 5.5rem;\n ${tokens.smallScreenLineHeight}: 5.75rem;\n\n ${tokens.captionFontFamily}: var(--plasma-typo-h3-font-family);\n ${tokens.captionFontSize}: var(--plasma-typo-h3-font-size);\n ${tokens.captionFontStyle}: var(--plasma-typo-h3-font-style);\n ${tokens.captionFontWeight}: var(--plasma-typo-h3-font-weight);\n ${tokens.captionLetterSpacing}: var(--plasma-typo-h3-letter-spacing);\n ${tokens.captionLineHeight}: var(--plasma-typo-h3-line-height);\n\n ${tokens.codeItemLargeWidth}: 5rem;\n ${tokens.codeItemLargeHeight}: 8rem;\n\n ${tokens.codeItemMediumWidth}: 4.5rem;\n ${tokens.codeItemMediumHeight}: 7rem;\n\n ${tokens.codeItemSmallWidth}: 3.5rem;\n ${tokens.codeItemSmallHeight}: 5.75rem;\n\n ${tokens.codeItemCircleBorderWidth}: 0.125rem;\n ${tokens.codeItemCircleSize}: 1.5rem;\n `,\n m: css`\n ${tokens.captionGap}: 1.75rem;\n ${tokens.codeItemsGap}: 0.5rem;\n\n ${tokens.separatorWidth}: 1rem;\n\n ${tokens.fontFamily}: var(--plasma-typo-dspl-m-font-family);\n ${tokens.fontStyle}: var(--plasma-typo-body-m-font-style);\n ${tokens.fontWeight}: var(--plasma-typo-body-m-bold-font-weight);\n ${tokens.letterSpacing}: var(--plasma-typo-body-m-letter-spacing);\n\n ${tokens.largeScreenFontSize}: 5.5rem;\n ${tokens.largeScreenLineHeight}: 5.75rem;\n\n ${tokens.mediumScreenFontSize}: 4.5rem;\n ${tokens.mediumScreenLineHeight}: 4.75rem;\n\n ${tokens.smallScreenFontSize}: 3.5rem;\n ${tokens.smallScreenLineHeight}: 3.75rem;\n\n ${tokens.captionFontFamily}: var(--plasma-typo-h4-font-family);\n ${tokens.captionFontSize}: var(--plasma-typo-h4-font-size);\n ${tokens.captionFontStyle}: var(--plasma-typo-h4-font-style);\n ${tokens.captionFontWeight}: var(--plasma-typo-h4-font-weight);\n ${tokens.captionLetterSpacing}: var(--plasma-typo-h4-letter-spacing);\n ${tokens.captionLineHeight}: var(--plasma-typo-h4-line-height);\n\n ${tokens.codeItemLargeWidth}: 3.5rem;\n ${tokens.codeItemLargeHeight}: 5.75rem;\n\n ${tokens.codeItemMediumWidth}: 3rem;\n ${tokens.codeItemMediumHeight}: 4.75rem;\n\n ${tokens.codeItemSmallWidth}: 2.25rem;\n ${tokens.codeItemSmallHeight}: 3.75rem;\n\n ${tokens.codeItemCircleBorderWidth}: 0.094rem;\n ${tokens.codeItemCircleSize}: 1rem;\n `,\n s: css`\n ${tokens.captionGap}: 1.5rem;\n ${tokens.codeItemsGap}: 0.25rem;\n\n ${tokens.separatorWidth}: 0.5rem;\n\n ${tokens.fontFamily}: var(--plasma-typo-dspl-s-font-family);\n ${tokens.fontStyle}: var(--plasma-typo-body-s-font-style);\n ${tokens.fontWeight}: var(--plasma-typo-body-s-bold-font-weight);\n ${tokens.letterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n\n ${tokens.largeScreenFontSize}: 4rem;\n ${tokens.largeScreenLineHeight}: 4.25rem;\n\n ${tokens.mediumScreenFontSize}: 3rem;\n ${tokens.mediumScreenLineHeight}: 3.25rem;\n\n ${tokens.smallScreenFontSize}: 2.5rem;\n ${tokens.smallScreenLineHeight}: 2.75rem;\n\n ${tokens.captionFontFamily}: var(--plasma-typo-h5-font-family);\n ${tokens.captionFontSize}: var(--plasma-typo-h5-font-size);\n ${tokens.captionFontStyle}: var(--plasma-typo-h5-font-style);\n ${tokens.captionFontWeight}: var(--plasma-typo-h5-font-weight);\n ${tokens.captionLetterSpacing}: var(--plasma-typo-h5-letter-spacing);\n ${tokens.captionLineHeight}: var(--plasma-typo-h5-line-height);\n\n ${tokens.codeItemLargeWidth}: 2.5rem;\n ${tokens.codeItemLargeHeight}: 4.25rem;\n\n ${tokens.codeItemMediumWidth}: 2rem;\n ${tokens.codeItemMediumHeight}: 3.25rem;\n\n ${tokens.codeItemSmallWidth}: 1.625rem;\n ${tokens.codeItemSmallHeight}: 2.75rem;\n\n ${tokens.codeItemCircleBorderWidth}: 0.063rem;\n ${tokens.codeItemCircleSize}: 0.75rem;\n `,\n },\n disabled: {\n true: css`\n ${tokens.disabledOpacity}: 0.4;\n `,\n },\n },\n};\n"],"names":["config","defaults","view","size","variations","default","l","m","s","disabled","true"],"mappings":"AAEO,IAAMA,MAAM,GAAG;AAClBC,EAAAA,QAAQ,EAAE;AACNC,IAAAA,IAAI,EAAE,SAAS;AACfC,IAAAA,IAAI,EAAE,GAAA;GACT;AACDC,EAAAA,UAAU,EAAE;AACRF,IAAAA,IAAI,EAAE;MACFG,SAAO,EAAA,UAAA;KAOV;AACDF,IAAAA,IAAI,EAAE;AACFG,MAAAA,CAAC,EAsCA,SAAA;AACDC,MAAAA,CAAC,EAsCA,SAAA;AACDC,MAAAA,CAAC,EAAA,UAAA;KAuCJ;AACDC,IAAAA,QAAQ,EAAE;MACNC,MAAI,EAAA,UAAA;AAGR,KAAA;AACJ,GAAA;AACJ;;;;"}
@@ -0,0 +1,5 @@
1
+ .d1bd11l2{--plasma-codeinput-caption-color:var(--text-secondary);--plasma-codeinput-caption-color-error:var(--text-negative);--plasma-codeinput-code-color:var(--text-primary);--plasma-codeinput-code-color-error:var(--text-negative);}
2
+ .l3q7trr{--plasma-codeinput-caption-gap:2.5rem;--plasma-codeinput-code-item-gap:0.75rem;--plasma-codeinput-separator-width:1rem;--plasma-codeinput-font-family:var(--plasma-typo-dspl-l-font-family);--plasma-codeinput-font-style:var(--plasma-typo-dspl-l-font-style);--plasma-codeinput-font-weight:var(--plasma-typo-dspl-l-bold-font-weight);--plasma-codeinput-letter-spacing:var(--plasma-typo-dspl-l-letter-spacing);--plasma-codeinput-large-screen-font-size:8rem;--plasma-codeinput-large-screen-line-height:8rem;--plasma-codeinput-medium-screen-font-size:7rem;--plasma-codeinput-medium-screen-line-height:7rem;--plasma-codeinput-small-screen-font-size:5.5rem;--plasma-codeinput-small-screen-line-height:5.75rem;--plasma-codeinput-caption-font-family:var(--plasma-typo-h3-font-family);--plasma-codeinput-caption-font-style:var(--plasma-typo-h3-font-size);--plasma-codeinput-caption-font-size:var(--plasma-typo-h3-font-style);--plasma-codeinput-caption-font-weight:var(--plasma-typo-h3-font-weight);--plasma-codeinput-caption-letter-spacing:var(--plasma-typo-h3-letter-spacing);--plasma-codeinput-caption-line-height:var(--plasma-typo-h3-line-height);--plasma-codeinput-item-large-width:5rem;--plasma-codeinput-item-large-height:8rem;--plasma-codeinput-item-medium-width:4.5rem;--plasma-codeinput-item-medium-height:7rem;--plasma-codeinput-item-small-width:3.5rem;--plasma-codeinput-item-small-height:5.75rem;--plasma-codeinput-item-circle-border-width:0.125rem;--plasma-codeinput-item-circle-size:1.5rem;}
3
+ .mthn074{--plasma-codeinput-caption-gap:1.75rem;--plasma-codeinput-code-item-gap:0.5rem;--plasma-codeinput-separator-width:1rem;--plasma-codeinput-font-family:var(--plasma-typo-dspl-m-font-family);--plasma-codeinput-font-style:var(--plasma-typo-body-m-font-style);--plasma-codeinput-font-weight:var(--plasma-typo-body-m-bold-font-weight);--plasma-codeinput-letter-spacing:var(--plasma-typo-body-m-letter-spacing);--plasma-codeinput-large-screen-font-size:5.5rem;--plasma-codeinput-large-screen-line-height:5.75rem;--plasma-codeinput-medium-screen-font-size:4.5rem;--plasma-codeinput-medium-screen-line-height:4.75rem;--plasma-codeinput-small-screen-font-size:3.5rem;--plasma-codeinput-small-screen-line-height:3.75rem;--plasma-codeinput-caption-font-family:var(--plasma-typo-h4-font-family);--plasma-codeinput-caption-font-style:var(--plasma-typo-h4-font-size);--plasma-codeinput-caption-font-size:var(--plasma-typo-h4-font-style);--plasma-codeinput-caption-font-weight:var(--plasma-typo-h4-font-weight);--plasma-codeinput-caption-letter-spacing:var(--plasma-typo-h4-letter-spacing);--plasma-codeinput-caption-line-height:var(--plasma-typo-h4-line-height);--plasma-codeinput-item-large-width:3.5rem;--plasma-codeinput-item-large-height:5.75rem;--plasma-codeinput-item-medium-width:3rem;--plasma-codeinput-item-medium-height:4.75rem;--plasma-codeinput-item-small-width:2.25rem;--plasma-codeinput-item-small-height:3.75rem;--plasma-codeinput-item-circle-border-width:0.094rem;--plasma-codeinput-item-circle-size:1rem;}
4
+ .s1dk91qy{--plasma-codeinput-caption-gap:1.5rem;--plasma-codeinput-code-item-gap:0.25rem;--plasma-codeinput-separator-width:0.5rem;--plasma-codeinput-font-family:var(--plasma-typo-dspl-s-font-family);--plasma-codeinput-font-style:var(--plasma-typo-body-s-font-style);--plasma-codeinput-font-weight:var(--plasma-typo-body-s-bold-font-weight);--plasma-codeinput-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-codeinput-large-screen-font-size:4rem;--plasma-codeinput-large-screen-line-height:4.25rem;--plasma-codeinput-medium-screen-font-size:3rem;--plasma-codeinput-medium-screen-line-height:3.25rem;--plasma-codeinput-small-screen-font-size:2.5rem;--plasma-codeinput-small-screen-line-height:2.75rem;--plasma-codeinput-caption-font-family:var(--plasma-typo-h5-font-family);--plasma-codeinput-caption-font-style:var(--plasma-typo-h5-font-size);--plasma-codeinput-caption-font-size:var(--plasma-typo-h5-font-style);--plasma-codeinput-caption-font-weight:var(--plasma-typo-h5-font-weight);--plasma-codeinput-caption-letter-spacing:var(--plasma-typo-h5-letter-spacing);--plasma-codeinput-caption-line-height:var(--plasma-typo-h5-line-height);--plasma-codeinput-item-large-width:2.5rem;--plasma-codeinput-item-large-height:4.25rem;--plasma-codeinput-item-medium-width:2rem;--plasma-codeinput-item-medium-height:3.25rem;--plasma-codeinput-item-small-width:1.625rem;--plasma-codeinput-item-small-height:2.75rem;--plasma-codeinput-item-circle-border-width:0.063rem;--plasma-codeinput-item-circle-size:0.75rem;}
5
+ .t1gsvi3c{--plasma-codeinput-disabled-opacity:0.4;}
@@ -0,0 +1,5 @@
1
+ .CodeInput_config_1an7au3_d1bd11l2__552eff94{--plasma-codeinput-caption-color:var(--text-secondary);--plasma-codeinput-caption-color-error:var(--text-negative);--plasma-codeinput-code-color:var(--text-primary);--plasma-codeinput-code-color-error:var(--text-negative);}
2
+ .CodeInput_config_1an7au3_l3q7trr__552eff94{--plasma-codeinput-caption-gap:2.5rem;--plasma-codeinput-code-item-gap:0.75rem;--plasma-codeinput-separator-width:1rem;--plasma-codeinput-font-family:var(--plasma-typo-dspl-l-font-family);--plasma-codeinput-font-style:var(--plasma-typo-dspl-l-font-style);--plasma-codeinput-font-weight:var(--plasma-typo-dspl-l-bold-font-weight);--plasma-codeinput-letter-spacing:var(--plasma-typo-dspl-l-letter-spacing);--plasma-codeinput-large-screen-font-size:8rem;--plasma-codeinput-large-screen-line-height:8rem;--plasma-codeinput-medium-screen-font-size:7rem;--plasma-codeinput-medium-screen-line-height:7rem;--plasma-codeinput-small-screen-font-size:5.5rem;--plasma-codeinput-small-screen-line-height:5.75rem;--plasma-codeinput-caption-font-family:var(--plasma-typo-h3-font-family);--plasma-codeinput-caption-font-style:var(--plasma-typo-h3-font-size);--plasma-codeinput-caption-font-size:var(--plasma-typo-h3-font-style);--plasma-codeinput-caption-font-weight:var(--plasma-typo-h3-font-weight);--plasma-codeinput-caption-letter-spacing:var(--plasma-typo-h3-letter-spacing);--plasma-codeinput-caption-line-height:var(--plasma-typo-h3-line-height);--plasma-codeinput-item-large-width:5rem;--plasma-codeinput-item-large-height:8rem;--plasma-codeinput-item-medium-width:4.5rem;--plasma-codeinput-item-medium-height:7rem;--plasma-codeinput-item-small-width:3.5rem;--plasma-codeinput-item-small-height:5.75rem;--plasma-codeinput-item-circle-border-width:0.125rem;--plasma-codeinput-item-circle-size:1.5rem;}
3
+ .CodeInput_config_1an7au3_mthn074__552eff94{--plasma-codeinput-caption-gap:1.75rem;--plasma-codeinput-code-item-gap:0.5rem;--plasma-codeinput-separator-width:1rem;--plasma-codeinput-font-family:var(--plasma-typo-dspl-m-font-family);--plasma-codeinput-font-style:var(--plasma-typo-body-m-font-style);--plasma-codeinput-font-weight:var(--plasma-typo-body-m-bold-font-weight);--plasma-codeinput-letter-spacing:var(--plasma-typo-body-m-letter-spacing);--plasma-codeinput-large-screen-font-size:5.5rem;--plasma-codeinput-large-screen-line-height:5.75rem;--plasma-codeinput-medium-screen-font-size:4.5rem;--plasma-codeinput-medium-screen-line-height:4.75rem;--plasma-codeinput-small-screen-font-size:3.5rem;--plasma-codeinput-small-screen-line-height:3.75rem;--plasma-codeinput-caption-font-family:var(--plasma-typo-h4-font-family);--plasma-codeinput-caption-font-style:var(--plasma-typo-h4-font-size);--plasma-codeinput-caption-font-size:var(--plasma-typo-h4-font-style);--plasma-codeinput-caption-font-weight:var(--plasma-typo-h4-font-weight);--plasma-codeinput-caption-letter-spacing:var(--plasma-typo-h4-letter-spacing);--plasma-codeinput-caption-line-height:var(--plasma-typo-h4-line-height);--plasma-codeinput-item-large-width:3.5rem;--plasma-codeinput-item-large-height:5.75rem;--plasma-codeinput-item-medium-width:3rem;--plasma-codeinput-item-medium-height:4.75rem;--plasma-codeinput-item-small-width:2.25rem;--plasma-codeinput-item-small-height:3.75rem;--plasma-codeinput-item-circle-border-width:0.094rem;--plasma-codeinput-item-circle-size:1rem;}
4
+ .CodeInput_config_1an7au3_s1dk91qy__552eff94{--plasma-codeinput-caption-gap:1.5rem;--plasma-codeinput-code-item-gap:0.25rem;--plasma-codeinput-separator-width:0.5rem;--plasma-codeinput-font-family:var(--plasma-typo-dspl-s-font-family);--plasma-codeinput-font-style:var(--plasma-typo-body-s-font-style);--plasma-codeinput-font-weight:var(--plasma-typo-body-s-bold-font-weight);--plasma-codeinput-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-codeinput-large-screen-font-size:4rem;--plasma-codeinput-large-screen-line-height:4.25rem;--plasma-codeinput-medium-screen-font-size:3rem;--plasma-codeinput-medium-screen-line-height:3.25rem;--plasma-codeinput-small-screen-font-size:2.5rem;--plasma-codeinput-small-screen-line-height:2.75rem;--plasma-codeinput-caption-font-family:var(--plasma-typo-h5-font-family);--plasma-codeinput-caption-font-style:var(--plasma-typo-h5-font-size);--plasma-codeinput-caption-font-size:var(--plasma-typo-h5-font-style);--plasma-codeinput-caption-font-weight:var(--plasma-typo-h5-font-weight);--plasma-codeinput-caption-letter-spacing:var(--plasma-typo-h5-letter-spacing);--plasma-codeinput-caption-line-height:var(--plasma-typo-h5-line-height);--plasma-codeinput-item-large-width:2.5rem;--plasma-codeinput-item-large-height:4.25rem;--plasma-codeinput-item-medium-width:2rem;--plasma-codeinput-item-medium-height:3.25rem;--plasma-codeinput-item-small-width:1.625rem;--plasma-codeinput-item-small-height:2.75rem;--plasma-codeinput-item-circle-border-width:0.063rem;--plasma-codeinput-item-circle-size:0.75rem;}
5
+ .CodeInput_config_1an7au3_t1gsvi3c__552eff94{--plasma-codeinput-disabled-opacity:0.4;}
@@ -0,0 +1,13 @@
1
+ import { component, mergeConfig, codeInputConfig } from '@salutejs/plasma-new-hope';
2
+ import { config } from './CodeInput.config.js';
3
+
4
+ var mergedConfig = /*#__PURE__*/mergeConfig(codeInputConfig, config);
5
+ var CodeInputComponent = /*#__PURE__*/component(mergedConfig);
6
+
7
+ /**
8
+ * CodeInput
9
+ */
10
+ var CodeInput = CodeInputComponent;
11
+
12
+ export { CodeInput };
13
+ //# sourceMappingURL=CodeInput.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CodeInput.js","sources":["../../../../src-css/components/CodeInput/CodeInput.tsx"],"sourcesContent":["import { codeInputConfig, component, mergeConfig } from '@salutejs/plasma-new-hope';\n\nimport { config } from './CodeInput.config';\n\nconst mergedConfig = mergeConfig(codeInputConfig, config);\nconst CodeInputComponent = component(mergedConfig);\n\n/**\n * CodeInput\n */\nexport const CodeInput = CodeInputComponent;\n"],"names":["mergedConfig","mergeConfig","codeInputConfig","config","CodeInputComponent","component","CodeInput"],"mappings":";;;AAIA,IAAMA,YAAY,gBAAGC,WAAW,CAACC,eAAe,EAAEC,MAAM,CAAC,CAAA;AACzD,IAAMC,kBAAkB,gBAAGC,SAAS,CAACL,YAAY,CAAC,CAAA;;AAElD;AACA;AACA;AACO,IAAMM,SAAS,GAAGF;;;;"}
package/css/es/index.css CHANGED
@@ -215,6 +215,12 @@
215
215
 
216
216
  .CodeField_config_7779xg_tck0g5r__358f1b2e{--plasma-codefield-disabled-opacity:0.4;}
217
217
 
218
+ .CodeInput_config_1an7au3_d1bd11l2__552eff94{--plasma-codeinput-caption-color:var(--text-secondary);--plasma-codeinput-caption-color-error:var(--text-negative);--plasma-codeinput-code-color:var(--text-primary);--plasma-codeinput-code-color-error:var(--text-negative);}
219
+ .CodeInput_config_1an7au3_l3q7trr__552eff94{--plasma-codeinput-caption-gap:2.5rem;--plasma-codeinput-code-item-gap:0.75rem;--plasma-codeinput-separator-width:1rem;--plasma-codeinput-font-family:var(--plasma-typo-dspl-l-font-family);--plasma-codeinput-font-style:var(--plasma-typo-dspl-l-font-style);--plasma-codeinput-font-weight:var(--plasma-typo-dspl-l-bold-font-weight);--plasma-codeinput-letter-spacing:var(--plasma-typo-dspl-l-letter-spacing);--plasma-codeinput-large-screen-font-size:8rem;--plasma-codeinput-large-screen-line-height:8rem;--plasma-codeinput-medium-screen-font-size:7rem;--plasma-codeinput-medium-screen-line-height:7rem;--plasma-codeinput-small-screen-font-size:5.5rem;--plasma-codeinput-small-screen-line-height:5.75rem;--plasma-codeinput-caption-font-family:var(--plasma-typo-h3-font-family);--plasma-codeinput-caption-font-style:var(--plasma-typo-h3-font-size);--plasma-codeinput-caption-font-size:var(--plasma-typo-h3-font-style);--plasma-codeinput-caption-font-weight:var(--plasma-typo-h3-font-weight);--plasma-codeinput-caption-letter-spacing:var(--plasma-typo-h3-letter-spacing);--plasma-codeinput-caption-line-height:var(--plasma-typo-h3-line-height);--plasma-codeinput-item-large-width:5rem;--plasma-codeinput-item-large-height:8rem;--plasma-codeinput-item-medium-width:4.5rem;--plasma-codeinput-item-medium-height:7rem;--plasma-codeinput-item-small-width:3.5rem;--plasma-codeinput-item-small-height:5.75rem;--plasma-codeinput-item-circle-border-width:0.125rem;--plasma-codeinput-item-circle-size:1.5rem;}
220
+ .CodeInput_config_1an7au3_mthn074__552eff94{--plasma-codeinput-caption-gap:1.75rem;--plasma-codeinput-code-item-gap:0.5rem;--plasma-codeinput-separator-width:1rem;--plasma-codeinput-font-family:var(--plasma-typo-dspl-m-font-family);--plasma-codeinput-font-style:var(--plasma-typo-body-m-font-style);--plasma-codeinput-font-weight:var(--plasma-typo-body-m-bold-font-weight);--plasma-codeinput-letter-spacing:var(--plasma-typo-body-m-letter-spacing);--plasma-codeinput-large-screen-font-size:5.5rem;--plasma-codeinput-large-screen-line-height:5.75rem;--plasma-codeinput-medium-screen-font-size:4.5rem;--plasma-codeinput-medium-screen-line-height:4.75rem;--plasma-codeinput-small-screen-font-size:3.5rem;--plasma-codeinput-small-screen-line-height:3.75rem;--plasma-codeinput-caption-font-family:var(--plasma-typo-h4-font-family);--plasma-codeinput-caption-font-style:var(--plasma-typo-h4-font-size);--plasma-codeinput-caption-font-size:var(--plasma-typo-h4-font-style);--plasma-codeinput-caption-font-weight:var(--plasma-typo-h4-font-weight);--plasma-codeinput-caption-letter-spacing:var(--plasma-typo-h4-letter-spacing);--plasma-codeinput-caption-line-height:var(--plasma-typo-h4-line-height);--plasma-codeinput-item-large-width:3.5rem;--plasma-codeinput-item-large-height:5.75rem;--plasma-codeinput-item-medium-width:3rem;--plasma-codeinput-item-medium-height:4.75rem;--plasma-codeinput-item-small-width:2.25rem;--plasma-codeinput-item-small-height:3.75rem;--plasma-codeinput-item-circle-border-width:0.094rem;--plasma-codeinput-item-circle-size:1rem;}
221
+ .CodeInput_config_1an7au3_s1dk91qy__552eff94{--plasma-codeinput-caption-gap:1.5rem;--plasma-codeinput-code-item-gap:0.25rem;--plasma-codeinput-separator-width:0.5rem;--plasma-codeinput-font-family:var(--plasma-typo-dspl-s-font-family);--plasma-codeinput-font-style:var(--plasma-typo-body-s-font-style);--plasma-codeinput-font-weight:var(--plasma-typo-body-s-bold-font-weight);--plasma-codeinput-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-codeinput-large-screen-font-size:4rem;--plasma-codeinput-large-screen-line-height:4.25rem;--plasma-codeinput-medium-screen-font-size:3rem;--plasma-codeinput-medium-screen-line-height:3.25rem;--plasma-codeinput-small-screen-font-size:2.5rem;--plasma-codeinput-small-screen-line-height:2.75rem;--plasma-codeinput-caption-font-family:var(--plasma-typo-h5-font-family);--plasma-codeinput-caption-font-style:var(--plasma-typo-h5-font-size);--plasma-codeinput-caption-font-size:var(--plasma-typo-h5-font-style);--plasma-codeinput-caption-font-weight:var(--plasma-typo-h5-font-weight);--plasma-codeinput-caption-letter-spacing:var(--plasma-typo-h5-letter-spacing);--plasma-codeinput-caption-line-height:var(--plasma-typo-h5-line-height);--plasma-codeinput-item-large-width:2.5rem;--plasma-codeinput-item-large-height:4.25rem;--plasma-codeinput-item-medium-width:2rem;--plasma-codeinput-item-medium-height:3.25rem;--plasma-codeinput-item-small-width:1.625rem;--plasma-codeinput-item-small-height:2.75rem;--plasma-codeinput-item-circle-border-width:0.063rem;--plasma-codeinput-item-circle-size:0.75rem;}
222
+ .CodeInput_config_1an7au3_t1gsvi3c__552eff94{--plasma-codeinput-disabled-opacity:0.4;}
223
+
218
224
  .Combobox_config_g6rh1c_x1m2v3ds__76a3a875{--plasma-combobox-old-width:100%;--plasma-combobox-old-height:auto;--plasma-combobox-old-border-radius:0.5rem;--plasma-combobox-old-padding-top:0.125rem;--plasma-combobox-old-padding-right:0.125rem;--plasma-combobox-old-padding-bottom:0.125rem;--plasma-combobox-old-padding-left:0.125rem;--plasma-combobox-old-divider-color:var(--surface-transparent-tertiary);--plasma-combobox-old-divider-height:0.063rem;--plasma-combobox-old-divider-margin-top:0;--plasma-combobox-old-divider-margin-right:0.5rem;--plasma-combobox-old-divider-margin-bottom:0;--plasma-combobox-old-divider-margin-left:0.375rem;--plasma-combobox-old-item-width:auto;--plasma-combobox-old-item-height:1rem;--plasma-combobox-old-item-padding-top:0.5rem;--plasma-combobox-old-item-padding-right:0.5rem;--plasma-combobox-old-item-padding-bottom:0.5rem;--plasma-combobox-old-item-padding-left:0.375rem;--plasma-combobox-old-item-border-radius:0.375rem;--plasma-combobox-old-item-content-left-width:1.25rem;--plasma-combobox-old-item-font-family:var(--plasma-typo-body-xs-font-family);--plasma-combobox-old-item-font-size:var(--plasma-typo-body-xs-font-size);--plasma-combobox-old-item-font-style:var(--plasma-typo-body-xs-font-style);--plasma-combobox-old-item-letter-spacing:var(--plasma-typo-body-xs-font-weight);--plasma-combobox-old-item-line-height:var(--plasma-typo-body-xs-letter-spacing);--plasma-combobox-old-item-font-weight:var(--plasma-typo-body-xs-line-height);--plasma-combobox-old-chip-gap:0.25rem;--plasma-combobox-old-chip-border-radius:0.125rem;--plasma-combobox-old-chip-width:auto;--plasma-combobox-old-chip-height:1.25rem;--plasma-combobox-old-chip-padding:0 0.375rem 0 0.625rem;--plasma-combobox-old-chip-clear-content-margin-left:0.25rem;--plasma-combobox-old-chip-clear-content-margin-right:0rem;--plasma-combobox-old-chip-close-icon-size:0.75rem;--plasma-combobox-old-chip-font-family:var(--plasma-typo-body-xs-font-family);--plasma-combobox-old-chip-font-size:var(--plasma-typo-body-xs-font-size);--plasma-combobox-old-chip-font-style:var(--plasma-typo-body-xs-font-style);--plasma-combobox-old-chip-font-weight:var(--plasma-typo-body-xs-font-weight);--plasma-combobox-old-chip-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);--plasma-combobox-old-chip-line-height:var(--plasma-typo-body-xs-line-height);--plasma-combobox-old-target-arrow-right:0.5rem;--plasma-combobox-old-target-height:2rem;--plasma-combobox-old-target-width:100%;--plasma-combobox-old-target-radius:0.5rem;--plasma-combobox-old-target-padding:0 2.5rem 0 0.75rem;--plasma-combobox-old-target-padding-has-chips:0 2.625rem 0 0.375rem;--plasma-combobox-old-target-with-input:0 2.625rem 0 0.625rem;--plasma-combobox-old-target-inner-top:0.5rem;--plasma-combobox-old-target-label-inner-top:0.375rem;--plasma-combobox-old-target-font-family:var(--plasma-typo-body-xs-font-family);--plasma-combobox-old-target-font-size:var(--plasma-typo-body-xs-font-size);--plasma-combobox-old-target-font-style:var(--plasma-typo-body-xs-font-style);--plasma-combobox-old-target-font-weight:var(--plasma-typo-body-xs-font-weight);--plasma-combobox-old-target-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);--plasma-combobox-old-target-line-height:var(--plasma-typo-body-xs-line-height);--plasma-combobox-old-target-label-inner-font-family:var(--plasma-typo-body-xs-font-family);--plasma-combobox-old-target-label-inner-font-family:var(--plasma-typo-body-xs-font-size);--plasma-combobox-old-target-label-inner-font-style:var(--plasma-typo-body-xs-font-style);--plasma-combobox-old-target-label-inner-font-weight:var(--plasma-typo-body-xs-font-weight);--plasma-combobox-old-target-label-inner-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);--plasma-combobox-old-target-label-inner-line-height:var(--plasma-typo-body-xs-line-height);}
219
225
  .Combobox_config_g6rh1c_snjir4d__76a3a875{--plasma-combobox-old-width:100%;--plasma-combobox-old-height:auto;--plasma-combobox-old-border-radius:0.625rem;--plasma-combobox-old-padding-top:0.125rem;--plasma-combobox-old-padding-right:0.125rem;--plasma-combobox-old-padding-bottom:0.125rem;--plasma-combobox-old-padding-left:0.125rem;--plasma-combobox-old-divider-color:var(--surface-transparent-tertiary);--plasma-combobox-old-divider-height:0.063rem;--plasma-combobox-old-divider-margin-top:0;--plasma-combobox-old-divider-margin-right:0.75rem;--plasma-combobox-old-divider-margin-bottom:0;--plasma-combobox-old-divider-margin-left:0.75rem;--plasma-combobox-old-item-width:auto;--plasma-combobox-old-item-height:1.5rem;--plasma-combobox-old-item-padding-top:0.5rem;--plasma-combobox-old-item-padding-right:0.75rem;--plasma-combobox-old-item-padding-bottom:0.5rem;--plasma-combobox-old-item-padding-left:0.75rem;--plasma-combobox-old-item-border-radius:0.5rem;--plasma-combobox-old-item-content-left-width:1.75rem;--plasma-combobox-old-item-font-family:var(--plasma-typo-body-s-font-family);--plasma-combobox-old-item-font-size:var(--plasma-typo-body-s-font-size);--plasma-combobox-old-item-font-style:var(--plasma-typo-body-s-font-style);--plasma-combobox-old-item-letter-spacing:var(--plasma-typo-body-s-font-weight);--plasma-combobox-old-item-line-height:var(--plasma-typo-body-s-letter-spacing);--plasma-combobox-old-item-font-weight:var(--plasma-typo-body-s-line-height);--plasma-combobox-old-chip-gap:0.25rem;--plasma-combobox-old-chip-border-radius:0.25rem;--plasma-combobox-old-chip-width:auto;--plasma-combobox-old-chip-height:1.75rem;--plasma-combobox-old-chip-padding:0 0.5rem 0 0.75rem;--plasma-combobox-old-chip-clear-content-margin-left:0.375rem;--plasma-combobox-old-chip-clear-content-margin-right:0rem;--plasma-combobox-old-chip-close-icon-size:0.75rem;--plasma-combobox-old-chip-font-family:var(--plasma-typo-body-s-font-family);--plasma-combobox-old-chip-font-size:var(--plasma-typo-body-s-font-size);--plasma-combobox-old-chip-font-style:var(--plasma-typo-body-s-font-style);--plasma-combobox-old-chip-font-weight:var(--plasma-typo-body-s-font-weight);--plasma-combobox-old-chip-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-combobox-old-chip-line-height:var(--plasma-typo-body-s-line-height);--plasma-combobox-old-target-arrow-right:0.75rem;--plasma-combobox-old-target-height:2.5rem;--plasma-combobox-old-target-width:100%;--plasma-combobox-old-target-radius:0.625rem;--plasma-combobox-old-target-padding:0 3rem 0 1rem;--plasma-combobox-old-target-padding-has-chips:0 3.125rem 0 0.375rem;--plasma-combobox-old-target-with-input:0 3.125rem 0 0.625rem;--plasma-combobox-old-target-inner-top:0.5rem;--plasma-combobox-old-target-label-inner-top:0.375rem;--plasma-combobox-old-target-font-family:var(--plasma-typo-body-s-font-family);--plasma-combobox-old-target-font-size:var(--plasma-typo-body-s-font-size);--plasma-combobox-old-target-font-style:var(--plasma-typo-body-s-font-style);--plasma-combobox-old-target-font-weight:var(--plasma-typo-body-s-font-weight);--plasma-combobox-old-target-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-combobox-old-target-line-height:var(--plasma-typo-body-s-line-height);--plasma-combobox-old-target-label-inner-font-family:var(--plasma-typo-body-xxs-font-family);--plasma-combobox-old-target-label-inner-font-family:var(--plasma-typo-body-xxs-font-size);--plasma-combobox-old-target-label-inner-font-style:var(--plasma-typo-body-xxs-font-style);--plasma-combobox-old-target-label-inner-font-weight:var(--plasma-typo-body-xxs-font-weight);--plasma-combobox-old-target-label-inner-letter-spacing:var(--plasma-typo-body-xxs-letter-spacing);--plasma-combobox-old-target-label-inner-line-height:var(--plasma-typo-body-xxs-line-height);}
220
226
  .Combobox_config_g6rh1c_m8yng6k__76a3a875{--plasma-combobox-old-width:100%;--plasma-combobox-old-height:auto;--plasma-combobox-old-border-radius:0.75rem;--plasma-combobox-old-padding-top:0.125rem;--plasma-combobox-old-padding-right:0.125rem;--plasma-combobox-old-padding-bottom:0.125rem;--plasma-combobox-old-padding-left:0.125rem;--plasma-combobox-old-divider-color:var(--surface-transparent-tertiary);--plasma-combobox-old-divider-height:0.063rem;--plasma-combobox-old-divider-margin-top:0;--plasma-combobox-old-divider-margin-right:0.875rem;--plasma-combobox-old-divider-margin-bottom:0;--plasma-combobox-old-divider-margin-left:0.875rem;--plasma-combobox-old-item-width:auto;--plasma-combobox-old-item-height:1.5rem;--plasma-combobox-old-item-padding-top:0.75rem;--plasma-combobox-old-item-padding-right:0.875rem;--plasma-combobox-old-item-padding-bottom:0.75rem;--plasma-combobox-old-item-padding-left:0.875rem;--plasma-combobox-old-item-border-radius:0.625rem;--plasma-combobox-old-item-content-left-width:1.75rem;--plasma-combobox-old-item-font-family:var(--plasma-typo-body-m-font-family);--plasma-combobox-old-item-font-size:var(--plasma-typo-body-m-font-size);--plasma-combobox-old-item-font-style:var(--plasma-typo-body-m-font-style);--plasma-combobox-old-item-letter-spacing:var(--plasma-typo-body-m-font-weight);--plasma-combobox-old-item-line-height:var(--plasma-typo-body-m-letter-spacing);--plasma-combobox-old-item-font-weight:var(--plasma-typo-body-m-line-height);--plasma-combobox-old-chip-gap:0.25rem;--plasma-combobox-old-chip-border-radius:0.375rem;--plasma-combobox-old-chip-width:auto;--plasma-combobox-old-chip-height:2.25rem;--plasma-combobox-old-chip-padding:0 0.875rem 0 0.625rem;--plasma-combobox-old-chip-clear-content-margin-left:0.5rem;--plasma-combobox-old-chip-clear-content-margin-right:0rem;--plasma-combobox-old-chip-close-icon-size:1rem;--plasma-combobox-old-chip-font-family:var(--plasma-typo-body-m-font-family);--plasma-combobox-old-chip-font-size:var(--plasma-typo-body-m-font-size);--plasma-combobox-old-chip-font-style:var(--plasma-typo-body-m-font-style);--plasma-combobox-old-chip-font-weight:var(--plasma-typo-body-m-font-weight);--plasma-combobox-old-chip-letter-spacing:var(--plasma-typo-body-m-letter-spacing);--plasma-combobox-old-chip-line-height:var(--plasma-typo-body-m-line-height);--plasma-combobox-old-target-arrow-right:0.875rem;--plasma-combobox-old-target-height:3rem;--plasma-combobox-old-target-width:100%;--plasma-combobox-old-target-radius:0.75rem;--plasma-combobox-old-target-padding:0 3.25rem 0 1.25rem;--plasma-combobox-old-target-padding-has-chips:0 3.375rem 0 0.375rem;--plasma-combobox-old-target-with-input:0 3.375rem 0 0.625rem;--plasma-combobox-old-target-inner-top:0.5rem;--plasma-combobox-old-target-label-inner-top:0.375rem;--plasma-combobox-old-target-font-family:var(--plasma-typo-body-m-font-family);--plasma-combobox-old-target-font-size:var(--plasma-typo-body-m-font-size);--plasma-combobox-old-target-font-style:var(--plasma-typo-body-m-font-style);--plasma-combobox-old-target-font-weight:var(--plasma-typo-body-m-font-weight);--plasma-combobox-old-target-letter-spacing:var(--plasma-typo-body-m-letter-spacing);--plasma-combobox-old-target-line-height:var(--plasma-typo-body-m-line-height);--plasma-combobox-old-target-label-inner-font-family:var(--plasma-typo-body-xs-font-family);--plasma-combobox-old-target-label-inner-font-family:var(--plasma-typo-body-xs-font-size);--plasma-combobox-old-target-label-inner-font-style:var(--plasma-typo-body-xs-font-style);--plasma-combobox-old-target-label-inner-font-weight:var(--plasma-typo-body-xs-font-weight);--plasma-combobox-old-target-label-inner-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);--plasma-combobox-old-target-label-inner-line-height:var(--plasma-typo-body-xs-line-height);}
package/css/es/index.js CHANGED
@@ -15,6 +15,7 @@ export { Checkbox } from './components/Checkbox/Checkbox.js';
15
15
  export { Chip } from './components/Chip/Chip.js';
16
16
  export { ChipGroup } from './components/ChipGroup/ChipGroup.js';
17
17
  export { CodeField } from './components/CodeField/CodeField.js';
18
+ export { CodeInput } from './components/CodeInput/CodeInput.js';
18
19
  export { ComboboxDivider, ComboboxFooter, ComboboxGroup, ComboboxHeader, ComboboxItem } from './components/Combobox/Legacy/Combobox.js';
19
20
  export { Combobox } from './components/Combobox/Combobox.js';
20
21
  export { Counter } from './components/Counter/Counter.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/css/index.d.ts CHANGED
@@ -15,6 +15,7 @@ export * from '../components/Checkbox';
15
15
  export * from '../components/Chip';
16
16
  export * from '../components/ChipGroup';
17
17
  export * from '../components/CodeField';
18
+ export * from '../components/CodeInput';
18
19
  export * from '../components/Combobox';
19
20
  export * from '../components/Counter';
20
21
  export * from '../components/DatePicker';
@@ -86,6 +87,7 @@ export * from '../components/Checkbox';
86
87
  export * from '../components/Chip';
87
88
  export * from '../components/ChipGroup';
88
89
  export * from '../components/CodeField';
90
+ export * from '../components/CodeInput';
89
91
  export * from '../components/Combobox';
90
92
  export * from '../components/Counter';
91
93
  export * from '../components/DatePicker';
@@ -0,0 +1,22 @@
1
+ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
2
+ function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
3
+ import { css, codeInputTokens as tokens } from '@salutejs/plasma-new-hope/styled-components';
4
+ export var config = {
5
+ defaults: {
6
+ view: 'default',
7
+ size: 'l'
8
+ },
9
+ variations: {
10
+ view: {
11
+ "default": /*#__PURE__*/css(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-secondary);\n ", ": var(--text-negative);\n\n ", ": var(--text-primary);\n ", ": var(--text-negative);\n "])), tokens.captionColor, tokens.captionColorError, tokens.codeColor, tokens.codeColorError)
12
+ },
13
+ size: {
14
+ l: /*#__PURE__*/css(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 2.5rem;\n ", ": 0.75rem;\n\n ", ": 1rem;\n\n ", ": var(--plasma-typo-dspl-l-font-family);\n ", ": var(--plasma-typo-dspl-l-font-style);\n ", ": var(--plasma-typo-dspl-l-bold-font-weight);\n ", ": var(--plasma-typo-dspl-l-letter-spacing);\n\n ", ": 8rem;\n ", ": 8rem;\n\n ", ": 7rem;\n ", ": 7rem;\n\n ", ": 5.5rem;\n ", ": 5.75rem;\n\n ", ": var(--plasma-typo-h3-font-family);\n ", ": var(--plasma-typo-h3-font-size);\n ", ": var(--plasma-typo-h3-font-style);\n ", ": var(--plasma-typo-h3-font-weight);\n ", ": var(--plasma-typo-h3-letter-spacing);\n ", ": var(--plasma-typo-h3-line-height);\n\n ", ": 5rem;\n ", ": 8rem;\n\n ", ": 4.5rem;\n ", ": 7rem;\n\n ", ": 3.5rem;\n ", ": 5.75rem;\n\n ", ": 0.125rem;\n ", ": 1.5rem;\n "])), tokens.captionGap, tokens.codeItemsGap, tokens.separatorWidth, tokens.fontFamily, tokens.fontStyle, tokens.fontWeight, tokens.letterSpacing, tokens.largeScreenFontSize, tokens.largeScreenLineHeight, tokens.mediumScreenFontSize, tokens.mediumScreenLineHeight, tokens.smallScreenFontSize, tokens.smallScreenLineHeight, tokens.captionFontFamily, tokens.captionFontSize, tokens.captionFontStyle, tokens.captionFontWeight, tokens.captionLetterSpacing, tokens.captionLineHeight, tokens.codeItemLargeWidth, tokens.codeItemLargeHeight, tokens.codeItemMediumWidth, tokens.codeItemMediumHeight, tokens.codeItemSmallWidth, tokens.codeItemSmallHeight, tokens.codeItemCircleBorderWidth, tokens.codeItemCircleSize),
15
+ m: /*#__PURE__*/css(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1.75rem;\n ", ": 0.5rem;\n\n ", ": 1rem;\n\n ", ": var(--plasma-typo-dspl-m-font-family);\n ", ": var(--plasma-typo-body-m-font-style);\n ", ": var(--plasma-typo-body-m-bold-font-weight);\n ", ": var(--plasma-typo-body-m-letter-spacing);\n\n ", ": 5.5rem;\n ", ": 5.75rem;\n\n ", ": 4.5rem;\n ", ": 4.75rem;\n\n ", ": 3.5rem;\n ", ": 3.75rem;\n\n ", ": var(--plasma-typo-h4-font-family);\n ", ": var(--plasma-typo-h4-font-size);\n ", ": var(--plasma-typo-h4-font-style);\n ", ": var(--plasma-typo-h4-font-weight);\n ", ": var(--plasma-typo-h4-letter-spacing);\n ", ": var(--plasma-typo-h4-line-height);\n\n ", ": 3.5rem;\n ", ": 5.75rem;\n\n ", ": 3rem;\n ", ": 4.75rem;\n\n ", ": 2.25rem;\n ", ": 3.75rem;\n\n ", ": 0.094rem;\n ", ": 1rem;\n "])), tokens.captionGap, tokens.codeItemsGap, tokens.separatorWidth, tokens.fontFamily, tokens.fontStyle, tokens.fontWeight, tokens.letterSpacing, tokens.largeScreenFontSize, tokens.largeScreenLineHeight, tokens.mediumScreenFontSize, tokens.mediumScreenLineHeight, tokens.smallScreenFontSize, tokens.smallScreenLineHeight, tokens.captionFontFamily, tokens.captionFontSize, tokens.captionFontStyle, tokens.captionFontWeight, tokens.captionLetterSpacing, tokens.captionLineHeight, tokens.codeItemLargeWidth, tokens.codeItemLargeHeight, tokens.codeItemMediumWidth, tokens.codeItemMediumHeight, tokens.codeItemSmallWidth, tokens.codeItemSmallHeight, tokens.codeItemCircleBorderWidth, tokens.codeItemCircleSize),
16
+ s: /*#__PURE__*/css(_templateObject4 || (_templateObject4 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1.5rem;\n ", ": 0.25rem;\n\n ", ": 0.5rem;\n\n ", ": var(--plasma-typo-dspl-s-font-family);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-bold-font-weight);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n\n ", ": 4rem;\n ", ": 4.25rem;\n\n ", ": 3rem;\n ", ": 3.25rem;\n\n ", ": 2.5rem;\n ", ": 2.75rem;\n\n ", ": var(--plasma-typo-h5-font-family);\n ", ": var(--plasma-typo-h5-font-size);\n ", ": var(--plasma-typo-h5-font-style);\n ", ": var(--plasma-typo-h5-font-weight);\n ", ": var(--plasma-typo-h5-letter-spacing);\n ", ": var(--plasma-typo-h5-line-height);\n\n ", ": 2.5rem;\n ", ": 4.25rem;\n\n ", ": 2rem;\n ", ": 3.25rem;\n\n ", ": 1.625rem;\n ", ": 2.75rem;\n\n ", ": 0.063rem;\n ", ": 0.75rem;\n "])), tokens.captionGap, tokens.codeItemsGap, tokens.separatorWidth, tokens.fontFamily, tokens.fontStyle, tokens.fontWeight, tokens.letterSpacing, tokens.largeScreenFontSize, tokens.largeScreenLineHeight, tokens.mediumScreenFontSize, tokens.mediumScreenLineHeight, tokens.smallScreenFontSize, tokens.smallScreenLineHeight, tokens.captionFontFamily, tokens.captionFontSize, tokens.captionFontStyle, tokens.captionFontWeight, tokens.captionLetterSpacing, tokens.captionLineHeight, tokens.codeItemLargeWidth, tokens.codeItemLargeHeight, tokens.codeItemMediumWidth, tokens.codeItemMediumHeight, tokens.codeItemSmallWidth, tokens.codeItemSmallHeight, tokens.codeItemCircleBorderWidth, tokens.codeItemCircleSize)
17
+ },
18
+ disabled: {
19
+ "true": /*#__PURE__*/css(_templateObject5 || (_templateObject5 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.4;\n "])), tokens.disabledOpacity)
20
+ }
21
+ }
22
+ };
@@ -0,0 +1,9 @@
1
+ import { codeInputConfig, component, mergeConfig } from '@salutejs/plasma-new-hope/styled-components';
2
+ import { config } from './CodeInput.config';
3
+ var mergedConfig = /*#__PURE__*/mergeConfig(codeInputConfig, config);
4
+ var CodeInputComponent = /*#__PURE__*/component(mergedConfig);
5
+
6
+ /**
7
+ * CodeInput
8
+ */
9
+ export var CodeInput = CodeInputComponent;
@@ -0,0 +1 @@
1
+ export { CodeInput } from './CodeInput';
package/es/index.js CHANGED
@@ -81,4 +81,5 @@ export * from './components/Note';
81
81
  export * from './components/LinkButton';
82
82
  export * from './components/NumberFormat';
83
83
  export * from './components/Table';
84
- export * from './components/CodeField';
84
+ export * from './components/CodeField';
85
+ export * from './components/CodeInput';
package/index.d.ts CHANGED
@@ -82,3 +82,4 @@ export * from './components/LinkButton';
82
82
  export * from './components/NumberFormat';
83
83
  export * from './components/Table';
84
84
  export * from './components/CodeField';
85
+ export * from './components/CodeInput';
package/index.js CHANGED
@@ -926,4 +926,15 @@ Object.keys(_CodeField).forEach(function (key) {
926
926
  return _CodeField[key];
927
927
  }
928
928
  });
929
+ });
930
+ var _CodeInput = /*#__PURE__*/require("./components/CodeInput");
931
+ Object.keys(_CodeInput).forEach(function (key) {
932
+ if (key === "default" || key === "__esModule") return;
933
+ if (key in exports && exports[key] === _CodeInput[key]) return;
934
+ Object.defineProperty(exports, key, {
935
+ enumerable: true,
936
+ get: function get() {
937
+ return _CodeInput[key];
938
+ }
939
+ });
929
940
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salutejs/plasma-web",
3
- "version": "1.583.0",
3
+ "version": "1.584.0-canary.1973.15343275842.0",
4
4
  "description": "Salute Design System / React UI kit for web applications",
5
5
  "author": "Salute Frontend Team <salute.developers@gmail.com>",
6
6
  "license": "MIT",
@@ -21,7 +21,7 @@
21
21
  "dependencies": {
22
22
  "@salutejs/plasma-core": "1.197.0",
23
23
  "@salutejs/plasma-hope": "1.342.0",
24
- "@salutejs/plasma-new-hope": "0.325.0",
24
+ "@salutejs/plasma-new-hope": "0.326.0-canary.1973.15343275842.0",
25
25
  "@salutejs/plasma-themes": "0.33.0",
26
26
  "@salutejs/plasma-tokens-b2b": "1.49.0",
27
27
  "@salutejs/plasma-tokens-b2c": "0.60.0",
@@ -111,5 +111,5 @@
111
111
  "Fanil Zubairov"
112
112
  ],
113
113
  "sideEffects": false,
114
- "gitHead": "df43327c88ac79f0e62802a0ce4d7066a7664b55"
114
+ "gitHead": "b5b0e63b1544066f4a385deaa7b921e1b4850e92"
115
115
  }