@commercetools-uikit/rich-text-input 19.23.0 → 19.25.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.
@@ -134,7 +134,7 @@ const Editor = /*#__PURE__*/react.forwardRef((props, forwardedRef) => {
134
134
  isDisabled: props.isDisabled,
135
135
  isReadOnly: props.isReadOnly,
136
136
  children: jsxRuntime.jsx(slateReact.Slate, {
137
- editor: editor,
137
+ editor: richTextUtils.withLinks(editor),
138
138
  value: props.value,
139
139
  onChange: props.onChange,
140
140
  children: jsxRuntime.jsxs(richTextUtils.RichTextBody
@@ -333,7 +333,7 @@ RichTextInputWithRef.isTouched = isTouched;
333
333
  var RichTextInputWithRef$1 = RichTextInputWithRef;
334
334
 
335
335
  // NOTE: This string will be replaced on build time with the package version.
336
- var version = "19.23.0";
336
+ var version = "19.25.0";
337
337
 
338
338
  exports["default"] = RichTextInputWithRef$1;
339
339
  exports.version = version;
@@ -130,7 +130,7 @@ const Editor = /*#__PURE__*/react.forwardRef((props, forwardedRef) => {
130
130
  isDisabled: props.isDisabled,
131
131
  isReadOnly: props.isReadOnly,
132
132
  children: jsxRuntime.jsx(slateReact.Slate, {
133
- editor: editor,
133
+ editor: richTextUtils.withLinks(editor),
134
134
  value: props.value,
135
135
  onChange: props.onChange,
136
136
  children: jsxRuntime.jsxs(richTextUtils.RichTextBody
@@ -308,7 +308,7 @@ RichTextInputWithRef.isTouched = isTouched;
308
308
  var RichTextInputWithRef$1 = RichTextInputWithRef;
309
309
 
310
310
  // NOTE: This string will be replaced on build time with the package version.
311
- var version = "19.23.0";
311
+ var version = "19.25.0";
312
312
 
313
313
  exports["default"] = RichTextInputWithRef$1;
314
314
  exports.version = version;
@@ -16,7 +16,7 @@ import _inherits from '@babel/runtime-corejs3/helpers/esm/inherits';
16
16
  import _pt from 'prop-types';
17
17
  import { forwardRef, useRef, useMemo, useState, useCallback, useEffect, useImperativeHandle, PureComponent } from 'react';
18
18
  import { filterDataAttributes, warning } from '@commercetools-uikit/utils';
19
- import { resetEditor, RichTextBody, focusEditor, toggleMark, Softbreaker, HiddenInput, Element, Leaf, isEmpty, validSlateStateAdapter, html } from '@commercetools-uikit/rich-text-utils';
19
+ import { resetEditor, withLinks, RichTextBody, focusEditor, toggleMark, Softbreaker, HiddenInput, Element, Leaf, isEmpty, validSlateStateAdapter, html } from '@commercetools-uikit/rich-text-utils';
20
20
  import _slicedToArray from '@babel/runtime-corejs3/helpers/esm/slicedToArray';
21
21
  import { useIntl } from 'react-intl';
22
22
  import CollapsibleMotion from '@commercetools-uikit/collapsible-motion';
@@ -110,7 +110,7 @@ const Editor = /*#__PURE__*/forwardRef((props, forwardedRef) => {
110
110
  isDisabled: props.isDisabled,
111
111
  isReadOnly: props.isReadOnly,
112
112
  children: jsx(Slate, {
113
- editor: editor,
113
+ editor: withLinks(editor),
114
114
  value: props.value,
115
115
  onChange: props.onChange,
116
116
  children: jsxs(RichTextBody
@@ -309,6 +309,6 @@ RichTextInputWithRef.isTouched = isTouched;
309
309
  var RichTextInputWithRef$1 = RichTextInputWithRef;
310
310
 
311
311
  // NOTE: This string will be replaced on build time with the package version.
312
- var version = "19.23.0";
312
+ var version = "19.25.0";
313
313
 
314
314
  export { RichTextInputWithRef$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": "19.23.0",
4
+ "version": "19.25.0",
5
5
  "bugs": "https://github.com/commercetools/ui-kit/issues",
6
6
  "repository": {
7
7
  "type": "git",
@@ -21,18 +21,18 @@
21
21
  "dependencies": {
22
22
  "@babel/runtime": "^7.20.13",
23
23
  "@babel/runtime-corejs3": "^7.20.13",
24
- "@commercetools-uikit/collapsible-motion": "19.23.0",
25
- "@commercetools-uikit/constraints": "19.23.0",
26
- "@commercetools-uikit/design-system": "19.23.0",
27
- "@commercetools-uikit/flat-button": "19.23.0",
28
- "@commercetools-uikit/hooks": "19.23.0",
29
- "@commercetools-uikit/icons": "19.23.0",
30
- "@commercetools-uikit/input-utils": "19.23.0",
31
- "@commercetools-uikit/rich-text-utils": "19.23.0",
32
- "@commercetools-uikit/spacings-inline": "19.23.0",
33
- "@commercetools-uikit/spacings-stack": "19.23.0",
34
- "@commercetools-uikit/tooltip": "19.23.0",
35
- "@commercetools-uikit/utils": "19.23.0",
24
+ "@commercetools-uikit/collapsible-motion": "19.25.0",
25
+ "@commercetools-uikit/constraints": "19.25.0",
26
+ "@commercetools-uikit/design-system": "19.25.0",
27
+ "@commercetools-uikit/flat-button": "19.25.0",
28
+ "@commercetools-uikit/hooks": "19.25.0",
29
+ "@commercetools-uikit/icons": "19.25.0",
30
+ "@commercetools-uikit/input-utils": "19.25.0",
31
+ "@commercetools-uikit/rich-text-utils": "19.25.0",
32
+ "@commercetools-uikit/spacings-inline": "19.25.0",
33
+ "@commercetools-uikit/spacings-stack": "19.25.0",
34
+ "@commercetools-uikit/tooltip": "19.25.0",
35
+ "@commercetools-uikit/utils": "19.25.0",
36
36
  "@emotion/react": "^11.10.5",
37
37
  "@emotion/styled": "^11.10.5",
38
38
  "downshift": "6.1.12",