@commercetools-uikit/localized-rich-text-input 15.0.0 → 15.1.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
CHANGED
|
@@ -56,8 +56,8 @@ export default Example;
|
|
|
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
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
|
-
| `onBlur` | `
|
|
60
|
-
| `onFocus` | `
|
|
59
|
+
| `onBlur` | `FocusEventHandler` | | | Called when any field is blurred. Is called with the `event` of that field. |
|
|
60
|
+
| `onFocus` | `FocusEventHandler` | | | Called when any field is focussed. Is called with the `event` of that field. |
|
|
61
61
|
| `defaultExpandMultilineText` | `boolean` | | | Expands input components holding multiline values instead of collapsing them by default. |
|
|
62
62
|
| `hideLanguageExpansionControls` | `boolean` | | | Will hide the language expansion controls when set to `true`. All languages will be shown when set to `true` |
|
|
63
63
|
| `defaultExpandLanguages` | `boolean` | | | Controls whether one or all languages are visible by default. Pass `true` to show all languages by default. |
|
|
@@ -80,18 +80,6 @@ export default Example;
|
|
|
80
80
|
(event: TCustomEvent) => void
|
|
81
81
|
```
|
|
82
82
|
|
|
83
|
-
### Signature `onBlur`
|
|
84
|
-
|
|
85
|
-
```ts
|
|
86
|
-
(event: TCustomEvent) => void
|
|
87
|
-
```
|
|
88
|
-
|
|
89
|
-
### Signature `onFocus`
|
|
90
|
-
|
|
91
|
-
```ts
|
|
92
|
-
(event: TCustomEvent) => void
|
|
93
|
-
```
|
|
94
|
-
|
|
95
83
|
### Signature `onClickExpand`
|
|
96
84
|
|
|
97
85
|
```ts
|