@salutejs/plasma-new-hope 0.322.0-canary.1941.14637562685.0 → 0.322.0-canary.1941.14638918350.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.
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salutejs/plasma-new-hope",
|
3
|
-
"version": "0.322.0-canary.1941.
|
3
|
+
"version": "0.322.0-canary.1941.14638918350.0",
|
4
4
|
"description": "Salute Design System blueprint",
|
5
5
|
"main": "cjs/index.js",
|
6
6
|
"module": "es/index.js",
|
@@ -80,8 +80,8 @@
|
|
80
80
|
"@rollup/plugin-babel": "^6.0.4",
|
81
81
|
"@rollup/plugin-commonjs": "^25.0.4",
|
82
82
|
"@rollup/plugin-node-resolve": "^15.1.0",
|
83
|
-
"@salutejs/plasma-sb-utils": "0.197.0-canary.1941.
|
84
|
-
"@salutejs/plasma-themes": "0.33.0-canary.1941.
|
83
|
+
"@salutejs/plasma-sb-utils": "0.197.0-canary.1941.14638918350.0",
|
84
|
+
"@salutejs/plasma-themes": "0.33.0-canary.1941.14638918350.0",
|
85
85
|
"@storybook/addon-docs": "8.6.12",
|
86
86
|
"@storybook/addon-essentials": "8.6.12",
|
87
87
|
"@storybook/manager-api": "8.6.12",
|
@@ -137,5 +137,5 @@
|
|
137
137
|
"sideEffects": [
|
138
138
|
"*.css"
|
139
139
|
],
|
140
|
-
"gitHead": "
|
140
|
+
"gitHead": "ab0bc6e981c7c2a6fa7c7564904c30ba3ebb27c0"
|
141
141
|
}
|
@@ -8,7 +8,7 @@ export declare type CodeFieldProps = {
|
|
8
8
|
* Длина кода
|
9
9
|
* @default 6
|
10
10
|
*/
|
11
|
-
|
11
|
+
codeLength?: number;
|
12
12
|
/**
|
13
13
|
* Подпись к компоненту
|
14
14
|
*/
|
@@ -19,7 +19,7 @@ export declare type CodeFieldProps = {
|
|
19
19
|
*/
|
20
20
|
captionAlign?: 'left' | 'center';
|
21
21
|
/**
|
22
|
-
*
|
22
|
+
* Вид компонента
|
23
23
|
* @default default
|
24
24
|
*/
|
25
25
|
shape?: 'default' | 'segmented';
|
@@ -42,12 +42,12 @@ export declare type CodeFieldProps = {
|
|
42
42
|
itemAllowedSymbols?: RegExp;
|
43
43
|
/**
|
44
44
|
* Поведение элемента поля ввода, при вводе некорректного значения
|
45
|
-
* - `keep` - проигрывается анимация ошибки, значение остается
|
46
45
|
* - `remove-symbol` - проигрывается анимация ошибки, значение элемента очищается
|
46
|
+
* - `keep` - проигрывается анимация ошибки, значение остается
|
47
47
|
* - `remove-code` - проигрывается анимация ошибки, значение всего поля очищается
|
48
48
|
* @default 'remove-symbol'
|
49
49
|
*/
|
50
|
-
itemErrorBehavior?: '
|
50
|
+
itemErrorBehavior?: 'remove-symbol' | 'keep' | 'remove-code';
|
51
51
|
/**
|
52
52
|
* Коллбек, вызываемый при изменении значения кода
|
53
53
|
*/
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"CodeField.types.d.ts","sourceRoot":"","sources":["../../../src/components/CodeField/CodeField.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAEzC,oBAAY,cAAc,GAAG;IACzB;;OAEG;IACH,eAAe,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC;;;OAGG;IACH,
|
1
|
+
{"version":3,"file":"CodeField.types.d.ts","sourceRoot":"","sources":["../../../src/components/CodeField/CodeField.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAEzC,oBAAY,cAAc,GAAG;IACzB;;OAEG;IACH,eAAe,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;IACjC;;;OAGG;IACH,KAAK,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC;IAChC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;;;OAMG;IACH,iBAAiB,CAAC,EAAE,eAAe,GAAG,MAAM,GAAG,aAAa,CAAC;IAC7D;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;CAC7D,CAAC"}
|