@commercetools-uikit/label 15.1.2 → 15.2.2
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
|
@@ -25,12 +25,12 @@ import Label from '@commercetools-uikit/label';
|
|
|
25
25
|
## Properties
|
|
26
26
|
|
|
27
27
|
| Props | Type | Required | Values | Default | Description |
|
|
28
|
-
| ---------------------------- | -------------- | :------: | ------------------------- | ------- | --------------------------------------------------------------------------------------------------------------- |
|
|
28
|
+
| ---------------------------- | -------------- | :------: | ------------------------- | ------- | --------------------------------------------------------------------------------------------------------------- | --- |
|
|
29
29
|
| `tone` | `string` | - | `['primary', 'inverted']` | \_ | Indicates the tone to be applied to the label |
|
|
30
30
|
| `children` | `node` | ✅ (\*) | - | - | Value of the label |
|
|
31
31
|
| `intlMessage` | `intl message` | ✅ (\*) | - | - | An intl message object that will be rendered with `FormattedMessage` |
|
|
32
32
|
| `isBold` | `bool` | - | - | `false` | Indicates if the label title should be in bold text |
|
|
33
|
-
| `isRequiredIndicatorVisible` | `bool` | - | - | `false` | Indicates if the labeled field is required in a form |
|
|
33
|
+
| `isRequiredIndicatorVisible` | `bool` | - | - | `false` | Indicates if the labeled field is required in a form | |
|
|
34
34
|
| `htmlFor` | `string` | - | - | - | The `for` HTML attribute, used to reference form elements with the related attribute `id` or `aria-labelledby`. |
|
|
35
35
|
| `id` | `string` | - | - | - | The `id` HTML attribute, used to reference non-form elements with the related attribute `aria-labelledby`. |
|
|
36
36
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-uikit/label",
|
|
3
3
|
"description": "The Label component represents the primitive label for a form field component.",
|
|
4
|
-
"version": "15.
|
|
4
|
+
"version": "15.2.2",
|
|
5
5
|
"bugs": "https://github.com/commercetools/ui-kit/issues",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@babel/runtime": "^7.17.2",
|
|
23
23
|
"@babel/runtime-corejs3": "^7.17.2",
|
|
24
|
-
"@commercetools-uikit/design-system": "15.
|
|
25
|
-
"@commercetools-uikit/text": "15.
|
|
26
|
-
"@commercetools-uikit/utils": "15.
|
|
24
|
+
"@commercetools-uikit/design-system": "15.2.2",
|
|
25
|
+
"@commercetools-uikit/text": "15.2.2",
|
|
26
|
+
"@commercetools-uikit/utils": "15.2.2",
|
|
27
27
|
"@emotion/react": "^11.4.0",
|
|
28
28
|
"@emotion/styled": "^11.3.0",
|
|
29
29
|
"prop-types": "15.8.1"
|