@commercetools-uikit/checkbox-input 12.2.1 → 12.2.5
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 -2
- package/dist/commercetools-uikit-checkbox-input.cjs.dev.js +339 -271
- package/dist/commercetools-uikit-checkbox-input.cjs.prod.js +326 -240
- package/dist/commercetools-uikit-checkbox-input.esm.js +314 -245
- package/dist/declarations/src/checkbox-input.d.ts +20 -20
- package/dist/declarations/src/checkbox-input.styles.d.ts +4 -4
- package/dist/declarations/src/checkbox.d.ts +9 -10
- package/dist/declarations/src/icons/generated/CheckedReact.d.ts +14 -12
- package/dist/declarations/src/icons/generated/IndeterminateReact.d.ts +14 -12
- package/dist/declarations/src/icons/generated/UncheckedReact.d.ts +14 -12
- package/dist/declarations/src/icons/generated/index.d.ts +3 -3
- package/dist/declarations/src/icons/index.d.ts +1 -1
- package/dist/declarations/src/index.d.ts +2 -2
- package/dist/declarations/src/version.d.ts +2 -2
- package/package.json +18 -13
package/README.md
CHANGED
|
@@ -30,7 +30,6 @@ npm --save install react
|
|
|
30
30
|
## Usage
|
|
31
31
|
|
|
32
32
|
```jsx
|
|
33
|
-
import React from 'react';
|
|
34
33
|
import CheckboxInput from '@commercetools-uikit/checkbox-input';
|
|
35
34
|
|
|
36
35
|
const Example = () => (
|
|
@@ -74,7 +73,7 @@ export default Example;
|
|
|
74
73
|
| `isDisabled` | `boolean` | | `false` | Disables the CheckboxInput |
|
|
75
74
|
| `isReadOnly` | `boolean` | | | Makes the CheckboxInput readonly |
|
|
76
75
|
| `hasError` | `boolean` | | `false` | Indicates that the checkbox has an error |
|
|
77
|
-
| `children` | `
|
|
76
|
+
| `children` | `ReactNode` | | | The descriptive text of the CheckboxInput, used as its label. |
|
|
78
77
|
|
|
79
78
|
## `data-*` and `aria-*` props
|
|
80
79
|
|