@commercetools-uikit/primary-button 19.4.0 → 19.6.0
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 +1 -1
- package/dist/commercetools-uikit-primary-button.cjs.dev.js +46 -22
- package/dist/commercetools-uikit-primary-button.cjs.prod.js +33 -9
- package/dist/commercetools-uikit-primary-button.esm.js +43 -21
- package/dist/declarations/src/primary-button.d.ts +3 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -57,7 +57,7 @@ export default Example;
|
|
|
57
57
|
| `isToggled` | `boolean` | | | Tells when the button should present a toggled state. It does not have any effect when `isToggleButton` is `false`. |
|
|
58
58
|
| `isDisabled` | `boolean` | | | Tells when the button should present a disabled state. |
|
|
59
59
|
| `onClick` | `Function`<br/>[See signature.](#signature-onClick) | | | Handler when the button is clicked.
<br />
Required when `as` is `undefined` |
|
|
60
|
-
| `size` | `union`<br/>Possible values:<br/>`
|
|
60
|
+
| `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. |
|
|
61
61
|
| `tone` | `union`<br/>Possible values:<br/>`'urgent' , 'primary' , 'critical'` | | `'primary'` | Indicates the color scheme of the button. |
|
|
62
62
|
|
|
63
63
|
## Signatures
|