@commercetools-uikit/card 19.22.5 → 19.22.7
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
|
@@ -50,7 +50,7 @@ export default Example;
|
|
|
50
50
|
| `theme` | `union`<br/>Possible values:<br/>`'light' , 'dark'` | | `'light'` | Determines the background color of the card. |
|
|
51
51
|
| `className` | `string` | | | Pass a custom CSS class, useful to override the styles.
<br>
NOTE: This is not recommended and should only be used for building new components
that require special style adjustments. |
|
|
52
52
|
| `children` | `ReactNode` | | | |
|
|
53
|
-
| `onClick` | `Function`<br/>[See signature.](#signature-
|
|
53
|
+
| `onClick` | `Function`<br/>[See signature.](#signature-onclick) | | | The callback function to be executed when the Card component is clicked. Prefer this for managing side effects rather than navigation. |
|
|
54
54
|
| `to` | `union`<br/>Possible values:<br/>`string , LocationDescriptor` | | | The URL that the Card should point to. If provided, the Card will be rendered as an anchor element. |
|
|
55
55
|
| `isExternalLink` | `boolean` | | | A flag to indicate if the Card points to an external source. |
|
|
56
56
|
| `isDisabled` | `boolean` | | | Indicates that a clickable Card should not allow clicks. This allows consumers to temporarily disable a clickable Card. |
|
|
@@ -110,7 +110,7 @@ Card.displayName = 'Card';
|
|
|
110
110
|
var Card$1 = Card;
|
|
111
111
|
|
|
112
112
|
// NOTE: This string will be replaced on build time with the package version.
|
|
113
|
-
var version = "19.22.
|
|
113
|
+
var version = "19.22.7";
|
|
114
114
|
|
|
115
115
|
exports["default"] = Card$1;
|
|
116
116
|
exports.version = version;
|
|
@@ -98,7 +98,7 @@ Card.displayName = 'Card';
|
|
|
98
98
|
var Card$1 = Card;
|
|
99
99
|
|
|
100
100
|
// NOTE: This string will be replaced on build time with the package version.
|
|
101
|
-
var version = "19.22.
|
|
101
|
+
var version = "19.22.7";
|
|
102
102
|
|
|
103
103
|
exports["default"] = Card$1;
|
|
104
104
|
exports.version = version;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-uikit/card",
|
|
3
3
|
"description": "Cards are used to display content and actions on a single topic.",
|
|
4
|
-
"version": "19.22.
|
|
4
|
+
"version": "19.22.7",
|
|
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.20.13",
|
|
23
23
|
"@babel/runtime-corejs3": "^7.20.13",
|
|
24
|
-
"@commercetools-uikit/design-system": "19.22.
|
|
25
|
-
"@commercetools-uikit/spacings-inset": "19.22.
|
|
26
|
-
"@commercetools-uikit/utils": "19.22.
|
|
24
|
+
"@commercetools-uikit/design-system": "19.22.7",
|
|
25
|
+
"@commercetools-uikit/spacings-inset": "19.22.7",
|
|
26
|
+
"@commercetools-uikit/utils": "19.22.7",
|
|
27
27
|
"@emotion/react": "^11.10.5",
|
|
28
28
|
"@emotion/styled": "^11.10.5",
|
|
29
29
|
"@types/react-router-dom": "^5.3.3",
|