@commercetools-uikit/time-input 19.22.4 → 19.22.6
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/README.md
CHANGED
|
@@ -40,25 +40,25 @@ export default Example;
|
|
|
40
40
|
|
|
41
41
|
## Properties
|
|
42
42
|
|
|
43
|
-
| Props | Type | Required | Default
|
|
44
|
-
| ---------------------- | ----------------------------------------------------------------------------------------------------- | :------: |
|
|
45
|
-
| `id` | `string` | |
|
|
46
|
-
| `aria-invalid` | `boolean` | |
|
|
47
|
-
| `aria-errormessage` | `string` | |
|
|
48
|
-
| `horizontalConstraint` | `union`<br/>Possible values:<br/>`, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 'scale', 'auto'` | |
|
|
49
|
-
| `name` | `string` | |
|
|
50
|
-
| `autoComplete` | `string` | |
|
|
51
|
-
| `value` | `string` | |
|
|
52
|
-
| `onChange` | `ChangeEventHandler` | |
|
|
53
|
-
| `onBlur` | `FocusEventHandler` | |
|
|
54
|
-
| `onFocus` | `FocusEventHandler` | |
|
|
55
|
-
| `isAutofocussed` | `boolean` | |
|
|
56
|
-
| `isDisabled` | `boolean` | |
|
|
57
|
-
| `placeholder` | `string` | |
|
|
58
|
-
| `isCondensed` | `boolean` | |
|
|
59
|
-
| `hasWarning` | `boolean` | |
|
|
60
|
-
| `hasError` | `boolean` | |
|
|
61
|
-
| `isReadOnly` | `boolean` | |
|
|
43
|
+
| Props | Type | Required | Default | Description |
|
|
44
|
+
| ---------------------- | ----------------------------------------------------------------------------------------------------- | :------: | ------- | ---------------------------------------------------------------------------------------------- |
|
|
45
|
+
| `id` | `string` | | | Used as HTML id property. An id is auto-generated when it is not specified. |
|
|
46
|
+
| `aria-invalid` | `boolean` | | | Indicate if the value entered in the input is invalid. |
|
|
47
|
+
| `aria-errormessage` | `string` | | | HTML ID of an element containing an error message related to the input. |
|
|
48
|
+
| `horizontalConstraint` | `union`<br/>Possible values:<br/>`, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 'scale', 'auto'` | | | Horizontal size limit of the input fields. |
|
|
49
|
+
| `name` | `string` | | | Used as HTML name of the input component. |
|
|
50
|
+
| `autoComplete` | `string` | | | Used as HTML autocomplete of the input component. |
|
|
51
|
+
| `value` | `string` | | | Value of the input |
|
|
52
|
+
| `onChange` | `ChangeEventHandler` | | | Called with an event holding the new value. |
|
|
53
|
+
| `onBlur` | `FocusEventHandler` | | | Called when input is blurred |
|
|
54
|
+
| `onFocus` | `FocusEventHandler` | | | Called when input is focused |
|
|
55
|
+
| `isAutofocussed` | `boolean` | | | Focus the input on initial render |
|
|
56
|
+
| `isDisabled` | `boolean` | | | Indicates that the input cannot be modified (e.g not authorized, or changes currently saving). |
|
|
57
|
+
| `placeholder` | `string` | | | Placeholder text for the input |
|
|
58
|
+
| `isCondensed` | `boolean` | | | Use this property to reduce the paddings of the component for a ui compact variant |
|
|
59
|
+
| `hasWarning` | `boolean` | | | Indicates the input field has a warning |
|
|
60
|
+
| `hasError` | `boolean` | | | Indicates if the input has invalid values |
|
|
61
|
+
| `isReadOnly` | `boolean` | | | Indicates that the field is displaying read-only content |
|
|
62
62
|
|
|
63
63
|
## `value`
|
|
64
64
|
|
|
@@ -389,7 +389,7 @@ TimeInput.toLocaleTime = (time, locale) => {
|
|
|
389
389
|
var TimeInput$1 = TimeInput;
|
|
390
390
|
|
|
391
391
|
// NOTE: This string will be replaced on build time with the package version.
|
|
392
|
-
var version = "19.22.
|
|
392
|
+
var version = "19.22.6";
|
|
393
393
|
|
|
394
394
|
exports["default"] = TimeInput$1;
|
|
395
395
|
exports.version = version;
|
|
@@ -346,7 +346,7 @@ TimeInput.toLocaleTime = (time, locale) => {
|
|
|
346
346
|
var TimeInput$1 = TimeInput;
|
|
347
347
|
|
|
348
348
|
// NOTE: This string will be replaced on build time with the package version.
|
|
349
|
-
var version = "19.22.
|
|
349
|
+
var version = "19.22.6";
|
|
350
350
|
|
|
351
351
|
exports["default"] = TimeInput$1;
|
|
352
352
|
exports.version = version;
|
|
@@ -368,6 +368,6 @@ TimeInput.toLocaleTime = (time, locale) => {
|
|
|
368
368
|
var TimeInput$1 = TimeInput;
|
|
369
369
|
|
|
370
370
|
// NOTE: This string will be replaced on build time with the package version.
|
|
371
|
-
var version = "19.22.
|
|
371
|
+
var version = "19.22.6";
|
|
372
372
|
|
|
373
373
|
export { TimeInput$1 as default, version };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-uikit/time-input",
|
|
3
3
|
"description": "The TimeInput component allows the user to select a time.",
|
|
4
|
-
"version": "19.22.
|
|
4
|
+
"version": "19.22.6",
|
|
5
5
|
"bugs": "https://github.com/commercetools/ui-kit/issues",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -21,14 +21,14 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@babel/runtime": "^7.20.13",
|
|
23
23
|
"@babel/runtime-corejs3": "^7.20.13",
|
|
24
|
-
"@commercetools-uikit/accessible-button": "19.22.
|
|
25
|
-
"@commercetools-uikit/constraints": "19.22.
|
|
26
|
-
"@commercetools-uikit/design-system": "19.22.
|
|
27
|
-
"@commercetools-uikit/hooks": "19.22.
|
|
28
|
-
"@commercetools-uikit/icons": "19.22.
|
|
29
|
-
"@commercetools-uikit/input-utils": "19.22.
|
|
30
|
-
"@commercetools-uikit/spacings-inline": "19.22.
|
|
31
|
-
"@commercetools-uikit/utils": "19.22.
|
|
24
|
+
"@commercetools-uikit/accessible-button": "19.22.6",
|
|
25
|
+
"@commercetools-uikit/constraints": "19.22.6",
|
|
26
|
+
"@commercetools-uikit/design-system": "19.22.6",
|
|
27
|
+
"@commercetools-uikit/hooks": "19.22.6",
|
|
28
|
+
"@commercetools-uikit/icons": "19.22.6",
|
|
29
|
+
"@commercetools-uikit/input-utils": "19.22.6",
|
|
30
|
+
"@commercetools-uikit/spacings-inline": "19.22.6",
|
|
31
|
+
"@commercetools-uikit/utils": "19.22.6",
|
|
32
32
|
"@emotion/is-prop-valid": "1.3.1",
|
|
33
33
|
"@emotion/react": "^11.10.5",
|
|
34
34
|
"@emotion/styled": "^11.10.5",
|