@commercetools-uikit/tag 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
|
@@ -62,8 +62,8 @@ export default Example;
|
|
|
62
62
|
| `to` | `union`<br/>Possible values:<br/>`string , LocationDescriptor` | | | Link of the tag when not disabled |
|
|
63
63
|
| `isDisabled` | `boolean` | | `false` | Disable the tag element along with the option to remove it. |
|
|
64
64
|
| `isDraggable` | `boolean` | | `false` | Adds the draggable icon on the left side. |
|
|
65
|
-
| `onRemove` | `Function`<br/>[See signature.](#signature-
|
|
66
|
-
| `onClick` | `Function`<br/>[See signature.](#signature-
|
|
65
|
+
| `onRemove` | `Function`<br/>[See signature.](#signature-onremove) | | | Called when remove button is clicked. |
|
|
66
|
+
| `onClick` | `Function`<br/>[See signature.](#signature-onclick) | | | Called when tag element is clicked. This is not called when remove button is clicked. |
|
|
67
67
|
| `horizontalConstraint` | `union`<br/>Possible values:<br/>`, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 'scale', 'auto'` | | `'scale'` | Horizontal size limit of the tag. |
|
|
68
68
|
| `children` | `ReactNode` | ✅ | | Content rendered within the tag |
|
|
69
69
|
| `tone` | `union`<br/>Possible values:<br/>`'primary' , 'warning' , 'surface'` | | `'primary'` | Indicates the color scheme of the tag. |
|
|
@@ -266,7 +266,7 @@ TagList.displayName = 'TagList';
|
|
|
266
266
|
var TagList$1 = TagList;
|
|
267
267
|
|
|
268
268
|
// NOTE: This string will be replaced on build time with the package version.
|
|
269
|
-
var version = "19.22.
|
|
269
|
+
var version = "19.22.6";
|
|
270
270
|
|
|
271
271
|
exports.Tag = Tag$1;
|
|
272
272
|
exports.TagList = TagList$1;
|
|
@@ -232,7 +232,7 @@ TagList.displayName = 'TagList';
|
|
|
232
232
|
var TagList$1 = TagList;
|
|
233
233
|
|
|
234
234
|
// NOTE: This string will be replaced on build time with the package version.
|
|
235
|
-
var version = "19.22.
|
|
235
|
+
var version = "19.22.6";
|
|
236
236
|
|
|
237
237
|
exports.Tag = Tag$1;
|
|
238
238
|
exports.TagList = TagList$1;
|
|
@@ -245,6 +245,6 @@ TagList.displayName = 'TagList';
|
|
|
245
245
|
var TagList$1 = TagList;
|
|
246
246
|
|
|
247
247
|
// NOTE: This string will be replaced on build time with the package version.
|
|
248
|
-
var version = "19.22.
|
|
248
|
+
var version = "19.22.6";
|
|
249
249
|
|
|
250
250
|
export { Tag$1 as Tag, TagList$1 as TagList, Tag$1 as default, version };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-uikit/tag",
|
|
3
3
|
"description": "A tag is often used for items that need to be labeled or categorized.",
|
|
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,13 +21,13 @@
|
|
|
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/icons": "19.22.
|
|
28
|
-
"@commercetools-uikit/spacings": "19.22.
|
|
29
|
-
"@commercetools-uikit/text": "19.22.
|
|
30
|
-
"@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/icons": "19.22.6",
|
|
28
|
+
"@commercetools-uikit/spacings": "19.22.6",
|
|
29
|
+
"@commercetools-uikit/text": "19.22.6",
|
|
30
|
+
"@commercetools-uikit/utils": "19.22.6",
|
|
31
31
|
"@emotion/react": "^11.10.5",
|
|
32
32
|
"@emotion/styled": "^11.10.5",
|
|
33
33
|
"prop-types": "15.8.1",
|