@commercetools-uikit/rich-text-input 13.0.4 → 14.0.2
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.
|
@@ -341,7 +341,7 @@ var RichTextInput = /*#__PURE__*/function (_PureComponent) {
|
|
|
341
341
|
key: "render",
|
|
342
342
|
value: function render() {
|
|
343
343
|
if (!this.props.isReadOnly) {
|
|
344
|
-
process.env.NODE_ENV !== "production" ? utils.warning(typeof this.props.onChange === 'function', 'RichTextInput: "onChange" is required when
|
|
344
|
+
process.env.NODE_ENV !== "production" ? utils.warning(typeof this.props.onChange === 'function', 'RichTextInput: "onChange" is required when input is not read only.') : void 0;
|
|
345
345
|
}
|
|
346
346
|
|
|
347
347
|
if (this.props.showExpandIcon) {
|
|
@@ -397,7 +397,7 @@ RichTextInput.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
397
397
|
var RichTextInput$1 = RichTextInput;
|
|
398
398
|
|
|
399
399
|
// NOTE: This string will be replaced on build time with the package version.
|
|
400
|
-
var version = "
|
|
400
|
+
var version = "14.0.2";
|
|
401
401
|
|
|
402
402
|
exports["default"] = RichTextInput$1;
|
|
403
403
|
exports.version = version;
|
|
@@ -353,7 +353,7 @@ RichTextInput.propTypes = {};
|
|
|
353
353
|
var RichTextInput$1 = RichTextInput;
|
|
354
354
|
|
|
355
355
|
// NOTE: This string will be replaced on build time with the package version.
|
|
356
|
-
var version = "
|
|
356
|
+
var version = "14.0.2";
|
|
357
357
|
|
|
358
358
|
exports["default"] = RichTextInput$1;
|
|
359
359
|
exports.version = version;
|
|
@@ -316,7 +316,7 @@ var RichTextInput = /*#__PURE__*/function (_PureComponent) {
|
|
|
316
316
|
key: "render",
|
|
317
317
|
value: function render() {
|
|
318
318
|
if (!this.props.isReadOnly) {
|
|
319
|
-
process.env.NODE_ENV !== "production" ? warning(typeof this.props.onChange === 'function', 'RichTextInput: "onChange" is required when
|
|
319
|
+
process.env.NODE_ENV !== "production" ? warning(typeof this.props.onChange === 'function', 'RichTextInput: "onChange" is required when input is not read only.') : void 0;
|
|
320
320
|
}
|
|
321
321
|
|
|
322
322
|
if (this.props.showExpandIcon) {
|
|
@@ -372,6 +372,6 @@ RichTextInput.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
372
372
|
var RichTextInput$1 = RichTextInput;
|
|
373
373
|
|
|
374
374
|
// NOTE: This string will be replaced on build time with the package version.
|
|
375
|
-
var version = "
|
|
375
|
+
var version = "14.0.2";
|
|
376
376
|
|
|
377
377
|
export { RichTextInput$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": "
|
|
4
|
+
"version": "14.0.2",
|
|
5
5
|
"bugs": "https://github.com/commercetools/ui-kit/issues",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"directory": "packages/components/inputs/rich-text-input"
|
|
10
10
|
},
|
|
11
11
|
"homepage": "https://uikit.commercetools.com",
|
|
12
|
-
"keywords": ["javascript", "design
|
|
12
|
+
"keywords": ["javascript", "typescript", "design-system", "react", "uikit"],
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"publishConfig": {
|
|
15
15
|
"access": "public"
|
|
@@ -19,20 +19,20 @@
|
|
|
19
19
|
"module": "dist/commercetools-uikit-rich-text-input.esm.js",
|
|
20
20
|
"files": ["dist"],
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@babel/runtime": "7.17.2",
|
|
23
|
-
"@babel/runtime-corejs3": "7.17.2",
|
|
24
|
-
"@commercetools-uikit/collapsible-motion": "
|
|
25
|
-
"@commercetools-uikit/constraints": "
|
|
26
|
-
"@commercetools-uikit/design-system": "
|
|
27
|
-
"@commercetools-uikit/flat-button": "
|
|
28
|
-
"@commercetools-uikit/hooks": "
|
|
29
|
-
"@commercetools-uikit/icons": "
|
|
30
|
-
"@commercetools-uikit/input-utils": "
|
|
31
|
-
"@commercetools-uikit/rich-text-utils": "
|
|
32
|
-
"@commercetools-uikit/spacings-inline": "
|
|
33
|
-
"@commercetools-uikit/spacings-stack": "
|
|
34
|
-
"@commercetools-uikit/tooltip": "
|
|
35
|
-
"@commercetools-uikit/utils": "
|
|
22
|
+
"@babel/runtime": "^7.17.2",
|
|
23
|
+
"@babel/runtime-corejs3": "^7.17.2",
|
|
24
|
+
"@commercetools-uikit/collapsible-motion": "14.0.1",
|
|
25
|
+
"@commercetools-uikit/constraints": "14.0.1",
|
|
26
|
+
"@commercetools-uikit/design-system": "14.0.0",
|
|
27
|
+
"@commercetools-uikit/flat-button": "14.0.2",
|
|
28
|
+
"@commercetools-uikit/hooks": "14.0.1",
|
|
29
|
+
"@commercetools-uikit/icons": "14.0.1",
|
|
30
|
+
"@commercetools-uikit/input-utils": "14.0.2",
|
|
31
|
+
"@commercetools-uikit/rich-text-utils": "14.0.2",
|
|
32
|
+
"@commercetools-uikit/spacings-inline": "14.0.1",
|
|
33
|
+
"@commercetools-uikit/spacings-stack": "14.0.1",
|
|
34
|
+
"@commercetools-uikit/tooltip": "14.0.1",
|
|
35
|
+
"@commercetools-uikit/utils": "14.0.1",
|
|
36
36
|
"@emotion/react": "^11.4.0",
|
|
37
37
|
"@emotion/styled": "^11.3.0",
|
|
38
38
|
"downshift": "6.1.7",
|