@salutejs/plasma-core 1.206.0-dev.0 → 1.206.1-canary.2061.17318137851.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.
|
@@ -7,7 +7,8 @@ export interface FieldProps {
|
|
|
7
7
|
*/
|
|
8
8
|
size?: 'm' | 'l';
|
|
9
9
|
/**
|
|
10
|
-
* Статус компонента: заполнен успешно / с ошибкой.
|
|
10
|
+
* Статус компонента: заполнен успешно / с предупреждением / с ошибкой.
|
|
11
|
+
* @deprecated использовать вместо этого свойство `view`
|
|
11
12
|
*/
|
|
12
13
|
status?: keyof typeof fieldStatuses;
|
|
13
14
|
/**
|
|
@@ -69,7 +69,7 @@ function _interop_require_wildcard(obj, nodeInterop) {
|
|
|
69
69
|
}
|
|
70
70
|
var FieldPlaceholder = _styledcomponents.default.label.withConfig({
|
|
71
71
|
displayName: "Field__FieldPlaceholder",
|
|
72
|
-
componentId: "sc-
|
|
72
|
+
componentId: "sc-cb3f2634-0"
|
|
73
73
|
})([
|
|
74
74
|
"position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;color:",
|
|
75
75
|
";pointer-events:none;transition:",
|
|
@@ -81,7 +81,7 @@ var FieldPlaceholder = _styledcomponents.default.label.withConfig({
|
|
|
81
81
|
}, _mixins.applyEllipsis);
|
|
82
82
|
var FieldContent = _styledcomponents.default.div.withConfig({
|
|
83
83
|
displayName: "Field__FieldContent",
|
|
84
|
-
componentId: "sc-
|
|
84
|
+
componentId: "sc-cb3f2634-1"
|
|
85
85
|
})([
|
|
86
86
|
"position:absolute;top:0;",
|
|
87
87
|
";bottom:0;display:flex;align-items:center;height:3rem;"
|
|
@@ -91,7 +91,7 @@ var FieldContent = _styledcomponents.default.div.withConfig({
|
|
|
91
91
|
});
|
|
92
92
|
var FieldHelper = _styledcomponents.default.span.withConfig({
|
|
93
93
|
displayName: "Field__FieldHelper",
|
|
94
|
-
componentId: "sc-
|
|
94
|
+
componentId: "sc-cb3f2634-2"
|
|
95
95
|
})([
|
|
96
96
|
"",
|
|
97
97
|
";display:block;margin-top:0.25rem;",
|
|
@@ -99,7 +99,7 @@ var FieldHelper = _styledcomponents.default.span.withConfig({
|
|
|
99
99
|
], _tokens.caption, _mixins.applyEllipsis);
|
|
100
100
|
var FieldRoot = _styledcomponents.default.div.withConfig({
|
|
101
101
|
displayName: "Field__FieldRoot",
|
|
102
|
-
componentId: "sc-
|
|
102
|
+
componentId: "sc-cb3f2634-3"
|
|
103
103
|
})([
|
|
104
104
|
"",
|
|
105
105
|
";position:relative;display:block;box-sizing:border-box;color:",
|
|
@@ -6,7 +6,7 @@ import { fieldStatuses } from './Field.statuses';
|
|
|
6
6
|
* Common dynamic placeholder.
|
|
7
7
|
*/ export var FieldPlaceholder = styled.label.withConfig({
|
|
8
8
|
displayName: "Field__FieldPlaceholder",
|
|
9
|
-
componentId: "sc-
|
|
9
|
+
componentId: "sc-cb3f2634-0"
|
|
10
10
|
})([
|
|
11
11
|
"position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;color:",
|
|
12
12
|
";pointer-events:none;transition:",
|
|
@@ -20,7 +20,7 @@ import { fieldStatuses } from './Field.statuses';
|
|
|
20
20
|
* Content wrapper for left and right slots of the field.
|
|
21
21
|
*/ export var FieldContent = styled.div.withConfig({
|
|
22
22
|
displayName: "Field__FieldContent",
|
|
23
|
-
componentId: "sc-
|
|
23
|
+
componentId: "sc-cb3f2634-1"
|
|
24
24
|
})([
|
|
25
25
|
"position:absolute;top:0;",
|
|
26
26
|
";bottom:0;display:flex;align-items:center;height:3rem;"
|
|
@@ -32,7 +32,7 @@ import { fieldStatuses } from './Field.statuses';
|
|
|
32
32
|
* An inline block to place a helper text under the form item.
|
|
33
33
|
*/ export var FieldHelper = styled.span.withConfig({
|
|
34
34
|
displayName: "Field__FieldHelper",
|
|
35
|
-
componentId: "sc-
|
|
35
|
+
componentId: "sc-cb3f2634-2"
|
|
36
36
|
})([
|
|
37
37
|
"",
|
|
38
38
|
";display:block;margin-top:0.25rem;",
|
|
@@ -42,7 +42,7 @@ import { fieldStatuses } from './Field.statuses';
|
|
|
42
42
|
* Common container for singular form item.
|
|
43
43
|
*/ export var FieldRoot = styled.div.withConfig({
|
|
44
44
|
displayName: "Field__FieldRoot",
|
|
45
|
-
componentId: "sc-
|
|
45
|
+
componentId: "sc-cb3f2634-3"
|
|
46
46
|
})([
|
|
47
47
|
"",
|
|
48
48
|
";position:relative;display:block;box-sizing:border-box;color:",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salutejs/plasma-core",
|
|
3
|
-
"version": "1.206.
|
|
3
|
+
"version": "1.206.1-canary.2061.17318137851.0",
|
|
4
4
|
"description": "Core library for Plasma: Salute Design System.",
|
|
5
5
|
"author": "Salute Frontend Team <salute.developers@gmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"@babel/preset-react": "7.24.1",
|
|
25
25
|
"@babel/preset-typescript": "7.24.1",
|
|
26
26
|
"@microsoft/api-extractor": "7.38.3",
|
|
27
|
-
"@salutejs/plasma-cy-utils": "0.136.0
|
|
27
|
+
"@salutejs/plasma-cy-utils": "0.136.0",
|
|
28
28
|
"@types/jest": "27.0.1",
|
|
29
29
|
"@types/lodash.throttle": "4.1.6",
|
|
30
30
|
"@types/node": "15.14.9",
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
"Зубаиров Фаниль Асхатович"
|
|
81
81
|
],
|
|
82
82
|
"sideEffects": false,
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "1a8c441b78bcfc917089858548e59bcb70533517"
|
|
84
84
|
}
|