@commercetools-uikit/localized-rich-text-input 15.0.2 → 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
|
|
@@ -711,7 +711,7 @@ LocalizedRichTextInput.isTouched = localizedUtils.isTouched;
|
|
|
711
711
|
var LocalizedRichTextInput$1 = LocalizedRichTextInput;
|
|
712
712
|
|
|
713
713
|
// NOTE: This string will be replaced on build time with the package version.
|
|
714
|
-
var version = "15.0
|
|
714
|
+
var version = "15.1.0";
|
|
715
715
|
|
|
716
716
|
exports["default"] = LocalizedRichTextInput$1;
|
|
717
717
|
exports.version = version;
|
|
@@ -634,7 +634,7 @@ LocalizedRichTextInput.isTouched = localizedUtils.isTouched;
|
|
|
634
634
|
var LocalizedRichTextInput$1 = LocalizedRichTextInput;
|
|
635
635
|
|
|
636
636
|
// NOTE: This string will be replaced on build time with the package version.
|
|
637
|
-
var version = "15.0
|
|
637
|
+
var version = "15.1.0";
|
|
638
638
|
|
|
639
639
|
exports["default"] = LocalizedRichTextInput$1;
|
|
640
640
|
exports.version = version;
|
|
@@ -682,6 +682,6 @@ LocalizedRichTextInput.isTouched = isTouched;
|
|
|
682
682
|
var LocalizedRichTextInput$1 = LocalizedRichTextInput;
|
|
683
683
|
|
|
684
684
|
// NOTE: This string will be replaced on build time with the package version.
|
|
685
|
-
var version = "15.0
|
|
685
|
+
var version = "15.1.0";
|
|
686
686
|
|
|
687
687
|
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": "15.0
|
|
4
|
+
"version": "15.1.0",
|
|
5
5
|
"bugs": "https://github.com/commercetools/ui-kit/issues",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -21,29 +21,29 @@
|
|
|
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/localized-utils": "15.
|
|
32
|
-
"@commercetools-uikit/messages": "15.
|
|
33
|
-
"@commercetools-uikit/rich-text-utils": "15.0
|
|
34
|
-
"@commercetools-uikit/spacings-inline": "15.
|
|
35
|
-
"@commercetools-uikit/spacings-stack": "15.
|
|
36
|
-
"@commercetools-uikit/text": "15.
|
|
37
|
-
"@commercetools-uikit/tooltip": "15.
|
|
38
|
-
"@commercetools-uikit/utils": "15.
|
|
24
|
+
"@commercetools-uikit/collapsible-motion": "15.1.0",
|
|
25
|
+
"@commercetools-uikit/constraints": "15.1.0",
|
|
26
|
+
"@commercetools-uikit/design-system": "15.1.0",
|
|
27
|
+
"@commercetools-uikit/flat-button": "15.1.0",
|
|
28
|
+
"@commercetools-uikit/hooks": "15.1.0",
|
|
29
|
+
"@commercetools-uikit/icons": "15.1.0",
|
|
30
|
+
"@commercetools-uikit/input-utils": "15.1.0",
|
|
31
|
+
"@commercetools-uikit/localized-utils": "15.1.0",
|
|
32
|
+
"@commercetools-uikit/messages": "15.1.0",
|
|
33
|
+
"@commercetools-uikit/rich-text-utils": "15.1.0",
|
|
34
|
+
"@commercetools-uikit/spacings-inline": "15.1.0",
|
|
35
|
+
"@commercetools-uikit/spacings-stack": "15.1.0",
|
|
36
|
+
"@commercetools-uikit/text": "15.1.0",
|
|
37
|
+
"@commercetools-uikit/tooltip": "15.1.0",
|
|
38
|
+
"@commercetools-uikit/utils": "15.1.0",
|
|
39
39
|
"@emotion/react": "^11.4.0",
|
|
40
40
|
"@emotion/styled": "^11.3.0",
|
|
41
41
|
"downshift": "6.1.7",
|
|
42
|
-
"immutable": "4.
|
|
42
|
+
"immutable": "4.1.0",
|
|
43
43
|
"is-hotkey": "0.2.0",
|
|
44
44
|
"lodash": "4.17.21",
|
|
45
45
|
"prop-types": "15.8.1",
|
|
46
|
-
"react-textarea-autosize": "8.3.
|
|
46
|
+
"react-textarea-autosize": "8.3.4",
|
|
47
47
|
"slate": "0.75.0",
|
|
48
48
|
"slate-history": "0.66.0",
|
|
49
49
|
"slate-react": "0.75.0"
|