@commercetools-uikit/rich-text-input 15.0.0 → 15.1.1
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
|
@@ -58,25 +58,24 @@ export default Example;
|
|
|
58
58
|
|
|
59
59
|
## Properties
|
|
60
60
|
|
|
61
|
-
| Props | Type | Required | Default
|
|
62
|
-
| ---------------------------- | ----------------------------------------------------------------------------------------- | :------: |
|
|
63
|
-
| `isAutofocussed` | `boolean` | |
|
|
64
|
-
| `defaultExpandMultilineText` | `boolean` | |
|
|
65
|
-
| `hasError` | `boolean` | |
|
|
66
|
-
| `hasWarning` | `boolean` | |
|
|
67
|
-
| `id` | `string` | |
|
|
68
|
-
| `name` | `string` | |
|
|
69
|
-
| `placeholder` | `string` |
|
|
70
|
-
| `isDisabled` | `boolean` | |
|
|
71
|
-
| `isReadOnly` | `boolean` | |
|
|
72
|
-
| `horizontalConstraint` | `union`<br/>Possible values:<br/>`, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 'scale', 'auto'` | |
|
|
73
|
-
| `onChange` | `Function`<br/>[See signature.](#signature-onChange) | |
|
|
74
|
-
| `onFocus` | `FocusEventHandler` | |
|
|
75
|
-
| `onBlur` | `FocusEventHandler` | |
|
|
76
|
-
| `value` | `string` | |
|
|
77
|
-
| `showExpandIcon` | `boolean` |
|
|
78
|
-
| `onClickExpand` | `Function`<br/>[See signature.](#signature-onClickExpand) | |
|
|
79
|
-
| `parentRef` | `ForwardedRef` | | | |
|
|
61
|
+
| Props | Type | Required | Default | Description |
|
|
62
|
+
| ---------------------------- | ----------------------------------------------------------------------------------------- | :------: | ------- | ------------------------------------------------------------------------------------------------------------------------- |
|
|
63
|
+
| `isAutofocussed` | `boolean` | | | Focus the control when it is mounted |
|
|
64
|
+
| `defaultExpandMultilineText` | `boolean` | | | Expands multiline text input initially |
|
|
65
|
+
| `hasError` | `boolean` | | | Indicates the input field has an error |
|
|
66
|
+
| `hasWarning` | `boolean` | | | Indicates the input field has warning |
|
|
67
|
+
| `id` | `string` | | | Used as the HTML `id` attribute. |
|
|
68
|
+
| `name` | `string` | | | Used as the HTML `name` attribute. |
|
|
69
|
+
| `placeholder` | `string` | ✅ | | Placeholder value to show in the input field |
|
|
70
|
+
| `isDisabled` | `boolean` | | | Disables the rich text input |
|
|
71
|
+
| `isReadOnly` | `boolean` | | | Indicates that the rich text input is displaying read-only content |
|
|
72
|
+
| `horizontalConstraint` | `union`<br/>Possible values:<br/>`, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 'scale', 'auto'` | | | Horizontal size limit of the input fields |
|
|
73
|
+
| `onChange` | `Function`<br/>[See signature.](#signature-onChange) | | | Called with an event containing the new value. Required when input is not read only. Parent should pass it back as value. |
|
|
74
|
+
| `onFocus` | `FocusEventHandler` | | | Called when input is focused |
|
|
75
|
+
| `onBlur` | `FocusEventHandler` | | | Called when input is blurred |
|
|
76
|
+
| `value` | `string` | | | Value of the input component. |
|
|
77
|
+
| `showExpandIcon` | `boolean` | ✅ | | Indicates whether the expand icon should be visible |
|
|
78
|
+
| `onClickExpand` | `Function`<br/>[See signature.](#signature-onClickExpand) | | | Called when the `expand` button is clicked |
|
|
80
79
|
|
|
81
80
|
## Signatures
|
|
82
81
|
|
|
@@ -380,7 +380,7 @@ RichTextInputWithRef.isTouched = isTouched;
|
|
|
380
380
|
var RichTextInputWithRef$1 = RichTextInputWithRef;
|
|
381
381
|
|
|
382
382
|
// NOTE: This string will be replaced on build time with the package version.
|
|
383
|
-
var version = "15.
|
|
383
|
+
var version = "15.1.1";
|
|
384
384
|
|
|
385
385
|
exports["default"] = RichTextInputWithRef$1;
|
|
386
386
|
exports.version = version;
|
|
@@ -355,7 +355,7 @@ RichTextInputWithRef.isTouched = isTouched;
|
|
|
355
355
|
var RichTextInputWithRef$1 = RichTextInputWithRef;
|
|
356
356
|
|
|
357
357
|
// NOTE: This string will be replaced on build time with the package version.
|
|
358
|
-
var version = "15.
|
|
358
|
+
var version = "15.1.1";
|
|
359
359
|
|
|
360
360
|
exports["default"] = RichTextInputWithRef$1;
|
|
361
361
|
exports.version = version;
|
|
@@ -355,6 +355,6 @@ RichTextInputWithRef.isTouched = isTouched;
|
|
|
355
355
|
var RichTextInputWithRef$1 = RichTextInputWithRef;
|
|
356
356
|
|
|
357
357
|
// NOTE: This string will be replaced on build time with the package version.
|
|
358
|
-
var version = "15.
|
|
358
|
+
var version = "15.1.1";
|
|
359
359
|
|
|
360
360
|
export { RichTextInputWithRef$1 as default, version };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-uikit/rich-text-input",
|
|
3
3
|
"description": "A controlled rich text input component for rich text with validation states.",
|
|
4
|
-
"version": "15.
|
|
4
|
+
"version": "15.1.1",
|
|
5
5
|
"bugs": "https://github.com/commercetools/ui-kit/issues",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -21,22 +21,22 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@babel/runtime": "^7.17.2",
|
|
23
23
|
"@babel/runtime-corejs3": "^7.17.2",
|
|
24
|
-
"@commercetools-uikit/collapsible-motion": "15.
|
|
25
|
-
"@commercetools-uikit/constraints": "15.
|
|
26
|
-
"@commercetools-uikit/design-system": "15.
|
|
27
|
-
"@commercetools-uikit/flat-button": "15.
|
|
28
|
-
"@commercetools-uikit/hooks": "15.
|
|
29
|
-
"@commercetools-uikit/icons": "15.
|
|
30
|
-
"@commercetools-uikit/input-utils": "15.
|
|
31
|
-
"@commercetools-uikit/rich-text-utils": "15.
|
|
32
|
-
"@commercetools-uikit/spacings-inline": "15.
|
|
33
|
-
"@commercetools-uikit/spacings-stack": "15.
|
|
34
|
-
"@commercetools-uikit/tooltip": "15.
|
|
35
|
-
"@commercetools-uikit/utils": "15.
|
|
24
|
+
"@commercetools-uikit/collapsible-motion": "15.1.1",
|
|
25
|
+
"@commercetools-uikit/constraints": "15.1.1",
|
|
26
|
+
"@commercetools-uikit/design-system": "15.1.1",
|
|
27
|
+
"@commercetools-uikit/flat-button": "15.1.1",
|
|
28
|
+
"@commercetools-uikit/hooks": "15.1.1",
|
|
29
|
+
"@commercetools-uikit/icons": "15.1.1",
|
|
30
|
+
"@commercetools-uikit/input-utils": "15.1.1",
|
|
31
|
+
"@commercetools-uikit/rich-text-utils": "15.1.1",
|
|
32
|
+
"@commercetools-uikit/spacings-inline": "15.1.1",
|
|
33
|
+
"@commercetools-uikit/spacings-stack": "15.1.1",
|
|
34
|
+
"@commercetools-uikit/tooltip": "15.1.1",
|
|
35
|
+
"@commercetools-uikit/utils": "15.1.1",
|
|
36
36
|
"@emotion/react": "^11.4.0",
|
|
37
37
|
"@emotion/styled": "^11.3.0",
|
|
38
38
|
"downshift": "6.1.7",
|
|
39
|
-
"immutable": "4.
|
|
39
|
+
"immutable": "4.1.0",
|
|
40
40
|
"is-hotkey": "0.2.0",
|
|
41
41
|
"lodash": "4.17.21",
|
|
42
42
|
"prop-types": "15.8.1",
|