@commercetools-uikit/localized-rich-text-input 19.22.5 → 19.22.6
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
|
@@ -54,7 +54,7 @@ export default Example;
|
|
|
54
54
|
| `id` | `string` | | | Used as prefix of HTML `id` property. Each input field id will have the language as a suffix (`${idPrefix}.${lang}`), e.g. \`foo.en |
|
|
55
55
|
| `name` | `string` | | | Used as HTML `name` property for each input field. Each input field name will have the language as a suffix (`${namePrefix}.${lang}`), e.g. `foo.en` |
|
|
56
56
|
| `value` | `Record` | ✅ | | Values to use. Keyed by language, the values are the actual values, e.g. \`{ en: '<p>Horse</p>', de: '<p>Pferd</p>' } |
|
|
57
|
-
| `onChange` | `Function`<br/>[See signature.](#signature-
|
|
57
|
+
| `onChange` | `Function`<br/>[See signature.](#signature-onchange) | | | Gets called when any input is changed. Is called with the change event of the changed input. |
|
|
58
58
|
| `selectedLanguage` | `string` | ✅ | | Specifies which language will be shown in case the `LocalizedRichTextInput` is collapsed. |
|
|
59
59
|
| `onBlur` | `FocusEventHandler` | | | Called when any field is blurred. Is called with the `event` of that field. |
|
|
60
60
|
| `onFocus` | `FocusEventHandler` | | | Called when any field is focussed. Is called with the `event` of that field. |
|
|
@@ -71,7 +71,7 @@ export default Example;
|
|
|
71
71
|
| `warnings` | `Record` | | | Used to show warnings underneath the inputs of specific languages. Pass an object whose key is a language and whose value is the warning to show for that key. |
|
|
72
72
|
| `additionalInfo` | `Record` | | | An object mapping locales to additional messages to be rendered below each input element.
Example:
{
en: 'Some value',
es: 'Algún valor',
} |
|
|
73
73
|
| `showExpandIcon` | `boolean` | | `false` | Shows an `expand` icon in the toolbar |
|
|
74
|
-
| `onClickExpand` | `Function`<br/>[See signature.](#signature-
|
|
74
|
+
| `onClickExpand` | `Function`<br/>[See signature.](#signature-onclickexpand) | | | Called when the `expand` button is clicked |
|
|
75
75
|
|
|
76
76
|
## Signatures
|
|
77
77
|
|
|
@@ -628,7 +628,7 @@ LocalizedRichTextInput.isTouched = localizedUtils.isTouched;
|
|
|
628
628
|
var LocalizedRichTextInput$1 = LocalizedRichTextInput;
|
|
629
629
|
|
|
630
630
|
// NOTE: This string will be replaced on build time with the package version.
|
|
631
|
-
var version = "19.22.
|
|
631
|
+
var version = "19.22.6";
|
|
632
632
|
|
|
633
633
|
exports["default"] = LocalizedRichTextInput$1;
|
|
634
634
|
exports.version = version;
|
|
@@ -561,7 +561,7 @@ LocalizedRichTextInput.isTouched = localizedUtils.isTouched;
|
|
|
561
561
|
var LocalizedRichTextInput$1 = LocalizedRichTextInput;
|
|
562
562
|
|
|
563
563
|
// NOTE: This string will be replaced on build time with the package version.
|
|
564
|
-
var version = "19.22.
|
|
564
|
+
var version = "19.22.6";
|
|
565
565
|
|
|
566
566
|
exports["default"] = LocalizedRichTextInput$1;
|
|
567
567
|
exports.version = version;
|
|
@@ -600,6 +600,6 @@ LocalizedRichTextInput.isTouched = isTouched;
|
|
|
600
600
|
var LocalizedRichTextInput$1 = LocalizedRichTextInput;
|
|
601
601
|
|
|
602
602
|
// NOTE: This string will be replaced on build time with the package version.
|
|
603
|
-
var version = "19.22.
|
|
603
|
+
var version = "19.22.6";
|
|
604
604
|
|
|
605
605
|
export { LocalizedRichTextInput$1 as default, version };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-uikit/localized-rich-text-input",
|
|
3
3
|
"description": "A controlled text input component for localized rich text input with validation states.",
|
|
4
|
-
"version": "19.22.
|
|
4
|
+
"version": "19.22.6",
|
|
5
5
|
"bugs": "https://github.com/commercetools/ui-kit/issues",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -21,21 +21,21 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@babel/runtime": "^7.20.13",
|
|
23
23
|
"@babel/runtime-corejs3": "^7.20.13",
|
|
24
|
-
"@commercetools-uikit/collapsible-motion": "19.22.
|
|
25
|
-
"@commercetools-uikit/constraints": "19.22.
|
|
26
|
-
"@commercetools-uikit/design-system": "19.22.
|
|
27
|
-
"@commercetools-uikit/flat-button": "19.22.
|
|
28
|
-
"@commercetools-uikit/hooks": "19.22.
|
|
29
|
-
"@commercetools-uikit/icons": "19.22.
|
|
30
|
-
"@commercetools-uikit/input-utils": "19.22.
|
|
31
|
-
"@commercetools-uikit/localized-utils": "19.22.
|
|
32
|
-
"@commercetools-uikit/messages": "19.22.
|
|
33
|
-
"@commercetools-uikit/rich-text-utils": "19.22.
|
|
34
|
-
"@commercetools-uikit/spacings-inline": "19.22.
|
|
35
|
-
"@commercetools-uikit/spacings-stack": "19.22.
|
|
36
|
-
"@commercetools-uikit/text": "19.22.
|
|
37
|
-
"@commercetools-uikit/tooltip": "19.22.
|
|
38
|
-
"@commercetools-uikit/utils": "19.22.
|
|
24
|
+
"@commercetools-uikit/collapsible-motion": "19.22.6",
|
|
25
|
+
"@commercetools-uikit/constraints": "19.22.6",
|
|
26
|
+
"@commercetools-uikit/design-system": "19.22.6",
|
|
27
|
+
"@commercetools-uikit/flat-button": "19.22.6",
|
|
28
|
+
"@commercetools-uikit/hooks": "19.22.6",
|
|
29
|
+
"@commercetools-uikit/icons": "19.22.6",
|
|
30
|
+
"@commercetools-uikit/input-utils": "19.22.6",
|
|
31
|
+
"@commercetools-uikit/localized-utils": "19.22.6",
|
|
32
|
+
"@commercetools-uikit/messages": "19.22.6",
|
|
33
|
+
"@commercetools-uikit/rich-text-utils": "19.22.6",
|
|
34
|
+
"@commercetools-uikit/spacings-inline": "19.22.6",
|
|
35
|
+
"@commercetools-uikit/spacings-stack": "19.22.6",
|
|
36
|
+
"@commercetools-uikit/text": "19.22.6",
|
|
37
|
+
"@commercetools-uikit/tooltip": "19.22.6",
|
|
38
|
+
"@commercetools-uikit/utils": "19.22.6",
|
|
39
39
|
"@emotion/react": "^11.10.5",
|
|
40
40
|
"@emotion/styled": "^11.10.5",
|
|
41
41
|
"downshift": "6.1.12",
|