@commercetools-uikit/primary-button 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
|
@@ -57,7 +57,7 @@ export default Example;
|
|
|
57
57
|
| `isToggleButton` | `boolean` | | `false` | If this is active, it means the button will persist in an "active" state when toggled (see `isToggled`), and back to normal state when untoggled |
|
|
58
58
|
| `isToggled` | `boolean` | | | Tells when the button should present a toggled state. It does not have any effect when `isToggleButton` is `false`. |
|
|
59
59
|
| `isDisabled` | `boolean` | | | Tells when the button should present a disabled state. |
|
|
60
|
-
| `onClick` | `Function`<br/>[See signature.](#signature-
|
|
60
|
+
| `onClick` | `Function`<br/>[See signature.](#signature-onclick) | | | Handler when the button is clicked.
<br />
Required when `as` is `undefined` |
|
|
61
61
|
| `size` | `union`<br/>Possible values:<br/>`TLegacySizes , TSizes` | | `'20'` | Sets the size of the button.
<br />
`small`, `medium`, and `big` are deprecated. Use `10`, `20`, instead. |
|
|
62
62
|
| `tone` | `union`<br/>Possible values:<br/>`'urgent' , 'primary' , 'critical'` | | `'primary'` | Indicates the color scheme of the button. |
|
|
63
63
|
|
|
@@ -232,7 +232,7 @@ PrimaryButton.displayName = 'PrimaryButton';
|
|
|
232
232
|
var PrimaryButton$1 = PrimaryButton;
|
|
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.7";
|
|
236
236
|
|
|
237
237
|
exports["default"] = PrimaryButton$1;
|
|
238
238
|
exports.version = version;
|
|
@@ -205,7 +205,7 @@ PrimaryButton.displayName = 'PrimaryButton';
|
|
|
205
205
|
var PrimaryButton$1 = PrimaryButton;
|
|
206
206
|
|
|
207
207
|
// NOTE: This string will be replaced on build time with the package version.
|
|
208
|
-
var version = "19.22.
|
|
208
|
+
var version = "19.22.7";
|
|
209
209
|
|
|
210
210
|
exports["default"] = PrimaryButton$1;
|
|
211
211
|
exports.version = version;
|
|
@@ -212,6 +212,6 @@ PrimaryButton.displayName = 'PrimaryButton';
|
|
|
212
212
|
var PrimaryButton$1 = PrimaryButton;
|
|
213
213
|
|
|
214
214
|
// NOTE: This string will be replaced on build time with the package version.
|
|
215
|
-
var version = "19.22.
|
|
215
|
+
var version = "19.22.7";
|
|
216
216
|
|
|
217
217
|
export { PrimaryButton$1 as default, version };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-uikit/primary-button",
|
|
3
3
|
"description": "Primary buttons are used for a primary action on a page. You must also pass a label for accessibility reasons.",
|
|
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,11 +21,11 @@
|
|
|
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/design-system": "19.22.
|
|
26
|
-
"@commercetools-uikit/spacings-inline": "19.22.
|
|
27
|
-
"@commercetools-uikit/text": "19.22.
|
|
28
|
-
"@commercetools-uikit/utils": "19.22.
|
|
24
|
+
"@commercetools-uikit/accessible-button": "19.22.7",
|
|
25
|
+
"@commercetools-uikit/design-system": "19.22.7",
|
|
26
|
+
"@commercetools-uikit/spacings-inline": "19.22.7",
|
|
27
|
+
"@commercetools-uikit/text": "19.22.7",
|
|
28
|
+
"@commercetools-uikit/utils": "19.22.7",
|
|
29
29
|
"@emotion/react": "^11.10.5",
|
|
30
30
|
"@emotion/styled": "^11.10.5",
|
|
31
31
|
"lodash": "4.17.21",
|