@commercetools-uikit/rich-text-utils 14.0.1 → 14.0.6
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/dist/commercetools-uikit-rich-text-utils.cjs.dev.js +1 -1
- package/dist/commercetools-uikit-rich-text-utils.cjs.prod.js +1 -1
- package/dist/commercetools-uikit-rich-text-utils.esm.js +1 -1
- package/dist/declarations/src/plugins/mark.d.ts +1 -4
- package/dist/declarations/src/rich-text-plugins.d.ts +1 -3
- package/package.json +4 -4
|
@@ -3407,7 +3407,7 @@ RichTextEditorBody.defaultProps = defaultProps;
|
|
|
3407
3407
|
var RichTextEditorBody$1 = RichTextEditorBody;
|
|
3408
3408
|
|
|
3409
3409
|
// NOTE: This string will be replaced on build time with the package version.
|
|
3410
|
-
var version = "14.0.
|
|
3410
|
+
var version = "14.0.6";
|
|
3411
3411
|
|
|
3412
3412
|
exports.HiddenInput = HiddenInput$1;
|
|
3413
3413
|
exports.RichTextBody = RichTextEditorBody$1;
|
|
@@ -3281,7 +3281,7 @@ RichTextEditorBody.defaultProps = defaultProps;
|
|
|
3281
3281
|
var RichTextEditorBody$1 = RichTextEditorBody;
|
|
3282
3282
|
|
|
3283
3283
|
// NOTE: This string will be replaced on build time with the package version.
|
|
3284
|
-
var version = "14.0.
|
|
3284
|
+
var version = "14.0.6";
|
|
3285
3285
|
|
|
3286
3286
|
exports.HiddenInput = HiddenInput$1;
|
|
3287
3287
|
exports.RichTextBody = RichTextEditorBody$1;
|
|
@@ -3371,6 +3371,6 @@ RichTextEditorBody.defaultProps = defaultProps;
|
|
|
3371
3371
|
var RichTextEditorBody$1 = RichTextEditorBody;
|
|
3372
3372
|
|
|
3373
3373
|
// NOTE: This string will be replaced on build time with the package version.
|
|
3374
|
-
var version = "14.0.
|
|
3374
|
+
var version = "14.0.6";
|
|
3375
3375
|
|
|
3376
3376
|
export { HiddenInput$1 as HiddenInput, RichTextEditorBody$1 as RichTextBody, html$1 as html, isRichTextEmpty as isEmpty, index as localized, plugins$1 as richTextPlugins, version };
|
|
@@ -13,11 +13,8 @@ declare type TRenderMarkProps = {
|
|
|
13
13
|
mark: TMark;
|
|
14
14
|
attributes: unknown;
|
|
15
15
|
};
|
|
16
|
-
declare type TEvent = {
|
|
17
|
-
preventDefault: () => void;
|
|
18
|
-
};
|
|
19
16
|
declare const MarkPlugin: (options: TMarkPluginOptions) => {
|
|
20
|
-
onKeyDown(event:
|
|
17
|
+
onKeyDown(event: KeyboardEvent, editor: TEditor, next: () => void): void;
|
|
21
18
|
renderMark(props: TRenderMarkProps, _editor: TEditor, next: () => JSX.Element): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
22
19
|
commands: {
|
|
23
20
|
[x: string]: (editor: TEditor) => void | undefined;
|
|
@@ -39,9 +39,7 @@ declare const plugins: ({
|
|
|
39
39
|
};
|
|
40
40
|
}, editor: Pick<TEditor, "props">, next: () => JSX.Element) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
41
41
|
} | {
|
|
42
|
-
onKeyDown(event:
|
|
43
|
-
preventDefault: () => void;
|
|
44
|
-
}, editor: TEditor, next: () => void): void;
|
|
42
|
+
onKeyDown(event: KeyboardEvent, editor: TEditor, next: () => void): void;
|
|
45
43
|
renderMark(props: {
|
|
46
44
|
children: import("react").ReactNode;
|
|
47
45
|
mark: import("./editor.types").TMark;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-uikit/rich-text-utils",
|
|
3
3
|
"description": "Utilities for working with rich-text components.",
|
|
4
|
-
"version": "14.0.
|
|
4
|
+
"version": "14.0.6",
|
|
5
5
|
"bugs": "https://github.com/commercetools/ui-kit/issues",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
"@babel/runtime-corejs3": "^7.17.2",
|
|
27
27
|
"@commercetools-uikit/design-system": "14.0.0",
|
|
28
28
|
"@commercetools-uikit/icons": "14.0.1",
|
|
29
|
-
"@commercetools-uikit/input-utils": "14.0.
|
|
30
|
-
"@commercetools-uikit/spacings-inline": "14.0.
|
|
31
|
-
"@commercetools-uikit/tooltip": "14.0.
|
|
29
|
+
"@commercetools-uikit/input-utils": "14.0.6",
|
|
30
|
+
"@commercetools-uikit/spacings-inline": "14.0.6",
|
|
31
|
+
"@commercetools-uikit/tooltip": "14.0.3",
|
|
32
32
|
"@commercetools-uikit/utils": "14.0.1",
|
|
33
33
|
"@emotion/react": "^11.4.0",
|
|
34
34
|
"@emotion/styled": "^11.3.0",
|