@commercetools-uikit/localized-rich-text-input 15.14.3 → 15.15.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.
|
@@ -595,7 +595,7 @@ var LocalizedRichTextInput = /*#__PURE__*/react.forwardRef(function (props, ref)
|
|
|
595
595
|
}
|
|
596
596
|
|
|
597
597
|
var initialExpandedTranslationsState = _reduceInstanceProperty__default["default"](_context2 = _Object$keys__default["default"](props.value)).call(_context2, function (translations, locale) {
|
|
598
|
-
return _objectSpread(_defineProperty({}, locale, Boolean(props.defaultExpandMultilineText))
|
|
598
|
+
return _objectSpread(_objectSpread({}, translations), {}, _defineProperty({}, locale, Boolean(props.defaultExpandMultilineText)));
|
|
599
599
|
}, {});
|
|
600
600
|
|
|
601
601
|
var _useReducer = react.useReducer(expandedTranslationsReducer, initialExpandedTranslationsState),
|
|
@@ -715,7 +715,7 @@ LocalizedRichTextInput.isTouched = localizedUtils.isTouched;
|
|
|
715
715
|
var LocalizedRichTextInput$1 = LocalizedRichTextInput;
|
|
716
716
|
|
|
717
717
|
// NOTE: This string will be replaced on build time with the package version.
|
|
718
|
-
var version = "15.
|
|
718
|
+
var version = "15.15.0";
|
|
719
719
|
|
|
720
720
|
exports["default"] = LocalizedRichTextInput$1;
|
|
721
721
|
exports.version = version;
|
|
@@ -525,7 +525,7 @@ var LocalizedRichTextInput = /*#__PURE__*/react.forwardRef(function (props, ref)
|
|
|
525
525
|
if (props.hideLanguageExpansionControls) ;
|
|
526
526
|
|
|
527
527
|
var initialExpandedTranslationsState = _reduceInstanceProperty__default["default"](_context2 = _Object$keys__default["default"](props.value)).call(_context2, function (translations, locale) {
|
|
528
|
-
return _objectSpread(_defineProperty({}, locale, Boolean(props.defaultExpandMultilineText))
|
|
528
|
+
return _objectSpread(_objectSpread({}, translations), {}, _defineProperty({}, locale, Boolean(props.defaultExpandMultilineText)));
|
|
529
529
|
}, {});
|
|
530
530
|
|
|
531
531
|
var _useReducer = react.useReducer(expandedTranslationsReducer, initialExpandedTranslationsState),
|
|
@@ -645,7 +645,7 @@ LocalizedRichTextInput.isTouched = localizedUtils.isTouched;
|
|
|
645
645
|
var LocalizedRichTextInput$1 = LocalizedRichTextInput;
|
|
646
646
|
|
|
647
647
|
// NOTE: This string will be replaced on build time with the package version.
|
|
648
|
-
var version = "15.
|
|
648
|
+
var version = "15.15.0";
|
|
649
649
|
|
|
650
650
|
exports["default"] = LocalizedRichTextInput$1;
|
|
651
651
|
exports.version = version;
|
|
@@ -566,7 +566,7 @@ var LocalizedRichTextInput = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
566
566
|
}
|
|
567
567
|
|
|
568
568
|
var initialExpandedTranslationsState = _reduceInstanceProperty(_context2 = _Object$keys(props.value)).call(_context2, function (translations, locale) {
|
|
569
|
-
return _objectSpread(_defineProperty({}, locale, Boolean(props.defaultExpandMultilineText))
|
|
569
|
+
return _objectSpread(_objectSpread({}, translations), {}, _defineProperty({}, locale, Boolean(props.defaultExpandMultilineText)));
|
|
570
570
|
}, {});
|
|
571
571
|
|
|
572
572
|
var _useReducer = useReducer(expandedTranslationsReducer, initialExpandedTranslationsState),
|
|
@@ -686,6 +686,6 @@ LocalizedRichTextInput.isTouched = isTouched;
|
|
|
686
686
|
var LocalizedRichTextInput$1 = LocalizedRichTextInput;
|
|
687
687
|
|
|
688
688
|
// NOTE: This string will be replaced on build time with the package version.
|
|
689
|
-
var version = "15.
|
|
689
|
+
var version = "15.15.0";
|
|
690
690
|
|
|
691
691
|
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.
|
|
4
|
+
"version": "15.15.0",
|
|
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": "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.
|
|
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.15.0",
|
|
25
|
+
"@commercetools-uikit/constraints": "15.15.0",
|
|
26
|
+
"@commercetools-uikit/design-system": "15.15.0",
|
|
27
|
+
"@commercetools-uikit/flat-button": "15.15.0",
|
|
28
|
+
"@commercetools-uikit/hooks": "15.15.0",
|
|
29
|
+
"@commercetools-uikit/icons": "15.15.0",
|
|
30
|
+
"@commercetools-uikit/input-utils": "15.15.0",
|
|
31
|
+
"@commercetools-uikit/localized-utils": "15.15.0",
|
|
32
|
+
"@commercetools-uikit/messages": "15.15.0",
|
|
33
|
+
"@commercetools-uikit/rich-text-utils": "15.15.0",
|
|
34
|
+
"@commercetools-uikit/spacings-inline": "15.15.0",
|
|
35
|
+
"@commercetools-uikit/spacings-stack": "15.15.0",
|
|
36
|
+
"@commercetools-uikit/text": "15.15.0",
|
|
37
|
+
"@commercetools-uikit/tooltip": "15.15.0",
|
|
38
|
+
"@commercetools-uikit/utils": "15.15.0",
|
|
39
39
|
"@emotion/react": "^11.10.5",
|
|
40
40
|
"@emotion/styled": "^11.10.5",
|
|
41
41
|
"downshift": "6.1.12",
|