@commercetools-uikit/input-utils 20.3.0 → 20.3.1
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.
|
@@ -39,19 +39,37 @@ var TextareaAutosize__default = /*#__PURE__*/_interopDefault(TextareaAutosize);
|
|
|
39
39
|
|
|
40
40
|
var messages$1 = reactIntl.defineMessages({
|
|
41
41
|
missingRequiredField: {
|
|
42
|
-
id:
|
|
43
|
-
|
|
44
|
-
|
|
42
|
+
id: "UIKit.LocalizedTextInput.missingRequiredField",
|
|
43
|
+
defaultMessage: [{
|
|
44
|
+
"type": 0,
|
|
45
|
+
"value": "This field is required. Provide at least one value."
|
|
46
|
+
}]
|
|
45
47
|
},
|
|
46
48
|
show: {
|
|
47
|
-
id:
|
|
48
|
-
|
|
49
|
-
|
|
49
|
+
id: "UIKit.LocalizedTextInput.show",
|
|
50
|
+
defaultMessage: [{
|
|
51
|
+
"type": 0,
|
|
52
|
+
"value": "Show all languages ("
|
|
53
|
+
}, {
|
|
54
|
+
"type": 1,
|
|
55
|
+
"value": "remainingLanguages"
|
|
56
|
+
}, {
|
|
57
|
+
"type": 0,
|
|
58
|
+
"value": ")"
|
|
59
|
+
}]
|
|
50
60
|
},
|
|
51
61
|
hide: {
|
|
52
|
-
id:
|
|
53
|
-
|
|
54
|
-
|
|
62
|
+
id: "UIKit.LocalizedTextInput.hide",
|
|
63
|
+
defaultMessage: [{
|
|
64
|
+
"type": 0,
|
|
65
|
+
"value": "Hide languages ("
|
|
66
|
+
}, {
|
|
67
|
+
"type": 1,
|
|
68
|
+
"value": "remainingLanguages"
|
|
69
|
+
}, {
|
|
70
|
+
"type": 0,
|
|
71
|
+
"value": ")"
|
|
72
|
+
}]
|
|
55
73
|
}
|
|
56
74
|
});
|
|
57
75
|
|
|
@@ -228,14 +246,18 @@ var MultilineInput$1 = MultilineInput;
|
|
|
228
246
|
|
|
229
247
|
var messages = reactIntl.defineMessages({
|
|
230
248
|
expand: {
|
|
231
|
-
id:
|
|
232
|
-
|
|
233
|
-
|
|
249
|
+
id: "UIKit.MultilineTextInput.expand",
|
|
250
|
+
defaultMessage: [{
|
|
251
|
+
"type": 0,
|
|
252
|
+
"value": "Expand"
|
|
253
|
+
}]
|
|
234
254
|
},
|
|
235
255
|
collapse: {
|
|
236
|
-
id:
|
|
237
|
-
|
|
238
|
-
|
|
256
|
+
id: "UIKit.MultilineTextInput.collapse",
|
|
257
|
+
defaultMessage: [{
|
|
258
|
+
"type": 0,
|
|
259
|
+
"value": "Collapse"
|
|
260
|
+
}]
|
|
239
261
|
}
|
|
240
262
|
});
|
|
241
263
|
|
|
@@ -251,7 +273,7 @@ const accessibleHiddenInputStyles = process.env.NODE_ENV === "production" ? {
|
|
|
251
273
|
var accessibleHiddenInputStyles$1 = accessibleHiddenInputStyles;
|
|
252
274
|
|
|
253
275
|
// NOTE: This string will be replaced on build time with the package version.
|
|
254
|
-
var version = "20.3.
|
|
276
|
+
var version = "20.3.1";
|
|
255
277
|
|
|
256
278
|
exports.LocalizedInputToggle = LocalizedInputToggle$1;
|
|
257
279
|
exports.MultilineInput = MultilineInput$1;
|
|
@@ -39,19 +39,37 @@ var TextareaAutosize__default = /*#__PURE__*/_interopDefault(TextareaAutosize);
|
|
|
39
39
|
|
|
40
40
|
var messages$1 = reactIntl.defineMessages({
|
|
41
41
|
missingRequiredField: {
|
|
42
|
-
id:
|
|
43
|
-
|
|
44
|
-
|
|
42
|
+
id: "UIKit.LocalizedTextInput.missingRequiredField",
|
|
43
|
+
defaultMessage: [{
|
|
44
|
+
"type": 0,
|
|
45
|
+
"value": "This field is required. Provide at least one value."
|
|
46
|
+
}]
|
|
45
47
|
},
|
|
46
48
|
show: {
|
|
47
|
-
id:
|
|
48
|
-
|
|
49
|
-
|
|
49
|
+
id: "UIKit.LocalizedTextInput.show",
|
|
50
|
+
defaultMessage: [{
|
|
51
|
+
"type": 0,
|
|
52
|
+
"value": "Show all languages ("
|
|
53
|
+
}, {
|
|
54
|
+
"type": 1,
|
|
55
|
+
"value": "remainingLanguages"
|
|
56
|
+
}, {
|
|
57
|
+
"type": 0,
|
|
58
|
+
"value": ")"
|
|
59
|
+
}]
|
|
50
60
|
},
|
|
51
61
|
hide: {
|
|
52
|
-
id:
|
|
53
|
-
|
|
54
|
-
|
|
62
|
+
id: "UIKit.LocalizedTextInput.hide",
|
|
63
|
+
defaultMessage: [{
|
|
64
|
+
"type": 0,
|
|
65
|
+
"value": "Hide languages ("
|
|
66
|
+
}, {
|
|
67
|
+
"type": 1,
|
|
68
|
+
"value": "remainingLanguages"
|
|
69
|
+
}, {
|
|
70
|
+
"type": 0,
|
|
71
|
+
"value": ")"
|
|
72
|
+
}]
|
|
55
73
|
}
|
|
56
74
|
});
|
|
57
75
|
|
|
@@ -221,14 +239,18 @@ var MultilineInput$1 = MultilineInput;
|
|
|
221
239
|
|
|
222
240
|
var messages = reactIntl.defineMessages({
|
|
223
241
|
expand: {
|
|
224
|
-
id:
|
|
225
|
-
|
|
226
|
-
|
|
242
|
+
id: "UIKit.MultilineTextInput.expand",
|
|
243
|
+
defaultMessage: [{
|
|
244
|
+
"type": 0,
|
|
245
|
+
"value": "Expand"
|
|
246
|
+
}]
|
|
227
247
|
},
|
|
228
248
|
collapse: {
|
|
229
|
-
id:
|
|
230
|
-
|
|
231
|
-
|
|
249
|
+
id: "UIKit.MultilineTextInput.collapse",
|
|
250
|
+
defaultMessage: [{
|
|
251
|
+
"type": 0,
|
|
252
|
+
"value": "Collapse"
|
|
253
|
+
}]
|
|
232
254
|
}
|
|
233
255
|
});
|
|
234
256
|
|
|
@@ -239,7 +261,7 @@ const accessibleHiddenInputStyles = {
|
|
|
239
261
|
var accessibleHiddenInputStyles$1 = accessibleHiddenInputStyles;
|
|
240
262
|
|
|
241
263
|
// NOTE: This string will be replaced on build time with the package version.
|
|
242
|
-
var version = "20.3.
|
|
264
|
+
var version = "20.3.1";
|
|
243
265
|
|
|
244
266
|
exports.LocalizedInputToggle = LocalizedInputToggle$1;
|
|
245
267
|
exports.MultilineInput = MultilineInput$1;
|
|
@@ -21,19 +21,37 @@ import { warning, filterDataAttributes } from '@commercetools-uikit/utils';
|
|
|
21
21
|
|
|
22
22
|
var messages$1 = defineMessages({
|
|
23
23
|
missingRequiredField: {
|
|
24
|
-
id:
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
id: "UIKit.LocalizedTextInput.missingRequiredField",
|
|
25
|
+
defaultMessage: [{
|
|
26
|
+
"type": 0,
|
|
27
|
+
"value": "This field is required. Provide at least one value."
|
|
28
|
+
}]
|
|
27
29
|
},
|
|
28
30
|
show: {
|
|
29
|
-
id:
|
|
30
|
-
|
|
31
|
-
|
|
31
|
+
id: "UIKit.LocalizedTextInput.show",
|
|
32
|
+
defaultMessage: [{
|
|
33
|
+
"type": 0,
|
|
34
|
+
"value": "Show all languages ("
|
|
35
|
+
}, {
|
|
36
|
+
"type": 1,
|
|
37
|
+
"value": "remainingLanguages"
|
|
38
|
+
}, {
|
|
39
|
+
"type": 0,
|
|
40
|
+
"value": ")"
|
|
41
|
+
}]
|
|
32
42
|
},
|
|
33
43
|
hide: {
|
|
34
|
-
id:
|
|
35
|
-
|
|
36
|
-
|
|
44
|
+
id: "UIKit.LocalizedTextInput.hide",
|
|
45
|
+
defaultMessage: [{
|
|
46
|
+
"type": 0,
|
|
47
|
+
"value": "Hide languages ("
|
|
48
|
+
}, {
|
|
49
|
+
"type": 1,
|
|
50
|
+
"value": "remainingLanguages"
|
|
51
|
+
}, {
|
|
52
|
+
"type": 0,
|
|
53
|
+
"value": ")"
|
|
54
|
+
}]
|
|
37
55
|
}
|
|
38
56
|
});
|
|
39
57
|
|
|
@@ -210,14 +228,18 @@ var MultilineInput$1 = MultilineInput;
|
|
|
210
228
|
|
|
211
229
|
var messages = defineMessages({
|
|
212
230
|
expand: {
|
|
213
|
-
id:
|
|
214
|
-
|
|
215
|
-
|
|
231
|
+
id: "UIKit.MultilineTextInput.expand",
|
|
232
|
+
defaultMessage: [{
|
|
233
|
+
"type": 0,
|
|
234
|
+
"value": "Expand"
|
|
235
|
+
}]
|
|
216
236
|
},
|
|
217
237
|
collapse: {
|
|
218
|
-
id:
|
|
219
|
-
|
|
220
|
-
|
|
238
|
+
id: "UIKit.MultilineTextInput.collapse",
|
|
239
|
+
defaultMessage: [{
|
|
240
|
+
"type": 0,
|
|
241
|
+
"value": "Collapse"
|
|
242
|
+
}]
|
|
221
243
|
}
|
|
222
244
|
});
|
|
223
245
|
|
|
@@ -233,6 +255,6 @@ const accessibleHiddenInputStyles = process.env.NODE_ENV === "production" ? {
|
|
|
233
255
|
var accessibleHiddenInputStyles$1 = accessibleHiddenInputStyles;
|
|
234
256
|
|
|
235
257
|
// NOTE: This string will be replaced on build time with the package version.
|
|
236
|
-
var version = "20.3.
|
|
258
|
+
var version = "20.3.1";
|
|
237
259
|
|
|
238
260
|
export { LocalizedInputToggle$1 as LocalizedInputToggle, MultilineInput$1 as MultilineInput, accessibleHiddenInputStyles$1 as accessibleHiddenInputStyles, getInputStyles, messages$1 as messagesLocalizedInput, messages as messagesMultilineInput, version };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-uikit/input-utils",
|
|
3
3
|
"description": "Utilities for working with input components.",
|
|
4
|
-
"version": "20.3.
|
|
4
|
+
"version": "20.3.1",
|
|
5
5
|
"bugs": "https://github.com/commercetools/ui-kit/issues",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@babel/runtime": "^7.20.13",
|
|
23
23
|
"@babel/runtime-corejs3": "^7.20.13",
|
|
24
|
-
"@commercetools-uikit/design-system": "20.3.
|
|
25
|
-
"@commercetools-uikit/flat-button": "20.3.
|
|
26
|
-
"@commercetools-uikit/icons": "20.3.
|
|
27
|
-
"@commercetools-uikit/utils": "20.3.
|
|
24
|
+
"@commercetools-uikit/design-system": "20.3.1",
|
|
25
|
+
"@commercetools-uikit/flat-button": "20.3.1",
|
|
26
|
+
"@commercetools-uikit/icons": "20.3.1",
|
|
27
|
+
"@commercetools-uikit/utils": "20.3.1",
|
|
28
28
|
"@emotion/react": "^11.10.5",
|
|
29
29
|
"react-textarea-autosize": "8.4.0"
|
|
30
30
|
},
|