@salutejs/sdds-dfa 0.329.0-canary.2355.19701719611.0 → 0.329.0-canary.2358.19737252394.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/components/Combobox/Combobox.d.ts +0 -24
- package/components/Mask/Mask.d.ts +8 -24
- package/components/Radiobox/Radiobox.d.ts +2 -2
- package/components/TextField/TextField.clear.config.d.ts +47 -0
- package/components/TextField/TextField.clear.config.js +831 -0
- package/components/TextField/TextField.config.d.ts +0 -4
- package/components/TextField/TextField.config.js +54 -100
- package/components/TextField/TextField.d.ts +695 -5
- package/components/TextField/TextField.js +28 -5
- package/es/components/TextField/TextField.clear.config.js +821 -0
- package/es/components/TextField/TextField.config.js +54 -100
- package/es/components/TextField/TextField.js +15 -5
- package/package.json +8 -8
|
@@ -2,13 +2,36 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", {
|
|
3
3
|
value: true
|
|
4
4
|
});
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
function _export(target, all) {
|
|
6
|
+
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
_export(exports, {
|
|
12
|
+
get TextField () {
|
|
8
13
|
return TextField;
|
|
14
|
+
},
|
|
15
|
+
get TextFieldClear () {
|
|
16
|
+
return TextFieldClear;
|
|
17
|
+
},
|
|
18
|
+
get TextFieldDefault () {
|
|
19
|
+
return TextFieldDefault;
|
|
9
20
|
}
|
|
10
21
|
});
|
|
11
22
|
var _styledcomponents = require("@salutejs/plasma-new-hope/styled-components");
|
|
12
23
|
var _TextFieldconfig = require("./TextField.config");
|
|
13
|
-
var
|
|
14
|
-
var
|
|
24
|
+
var _TextFieldclearconfig = require("./TextField.clear.config");
|
|
25
|
+
var mergedConfigDefault = (0, _styledcomponents.mergeConfig)(_styledcomponents.textFieldConfig, _TextFieldconfig.config);
|
|
26
|
+
var TextFieldDefault = (0, _styledcomponents.component)(mergedConfigDefault);
|
|
27
|
+
var mergedConfigClear = (0, _styledcomponents.mergeConfig)(_styledcomponents.textFieldConfig, _TextFieldclearconfig.config);
|
|
28
|
+
var TextFieldClear = (0, _styledcomponents.component)(mergedConfigClear);
|
|
29
|
+
var TextField = (0, _styledcomponents.createConditionalComponent)(TextFieldDefault, [
|
|
30
|
+
{
|
|
31
|
+
conditions: {
|
|
32
|
+
prop: 'appearance',
|
|
33
|
+
value: 'clear'
|
|
34
|
+
},
|
|
35
|
+
component: TextFieldClear
|
|
36
|
+
}
|
|
37
|
+
]);
|