@commercetools-uikit/rich-text-utils 16.11.0 → 16.12.1

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.
Files changed (32) hide show
  1. package/dist/commercetools-uikit-rich-text-utils.cjs.dev.js +1 -1
  2. package/dist/commercetools-uikit-rich-text-utils.cjs.prod.js +1 -1
  3. package/dist/commercetools-uikit-rich-text-utils.esm.js +1 -1
  4. package/dist/declarations/src/html/html.d.ts +1 -1
  5. package/dist/declarations/src/html/index.d.ts +1 -1
  6. package/dist/declarations/src/index.d.ts +6 -6
  7. package/dist/declarations/src/is-empty/index.d.ts +1 -1
  8. package/dist/declarations/src/localized/index.d.ts +1 -1
  9. package/dist/declarations/src/rich-text-body/export-types.d.ts +3 -3
  10. package/dist/declarations/src/rich-text-body/index.d.ts +3 -3
  11. package/dist/declarations/src/slate-helpers.d.ts +1 -1
  12. package/package.json +11 -11
  13. package/dist/declarations/src/rich-text-body/divider.d.ts +0 -6
  14. package/dist/declarations/src/rich-text-body/dropdown.styles.d.ts +0 -23
  15. package/dist/declarations/src/rich-text-body/icons/generated/BoldReact.d.ts +0 -13
  16. package/dist/declarations/src/rich-text-body/icons/generated/ExpandFullReact.d.ts +0 -13
  17. package/dist/declarations/src/rich-text-body/icons/generated/ExpandReact.d.ts +0 -13
  18. package/dist/declarations/src/rich-text-body/icons/generated/ItalicReact.d.ts +0 -13
  19. package/dist/declarations/src/rich-text-body/icons/generated/MoreStylesReact.d.ts +0 -13
  20. package/dist/declarations/src/rich-text-body/icons/generated/OrderedListReact.d.ts +0 -13
  21. package/dist/declarations/src/rich-text-body/icons/generated/RedoReact.d.ts +0 -13
  22. package/dist/declarations/src/rich-text-body/icons/generated/StrikethroughReact.d.ts +0 -13
  23. package/dist/declarations/src/rich-text-body/icons/generated/SubscriptReact.d.ts +0 -13
  24. package/dist/declarations/src/rich-text-body/icons/generated/SuperscriptReact.d.ts +0 -13
  25. package/dist/declarations/src/rich-text-body/icons/generated/UnderlineReact.d.ts +0 -13
  26. package/dist/declarations/src/rich-text-body/icons/generated/UndoReact.d.ts +0 -13
  27. package/dist/declarations/src/rich-text-body/icons/generated/UnorderedListReact.d.ts +0 -13
  28. package/dist/declarations/src/rich-text-body/icons/generated/index.d.ts +0 -13
  29. package/dist/declarations/src/rich-text-body/icons/index.d.ts +0 -1
  30. package/dist/declarations/src/rich-text-body/messages.d.ts +0 -108
  31. package/dist/declarations/src/rich-text-body/rich-text-body.styles.d.ts +0 -24
  32. package/dist/declarations/src/rich-text-body/slate-buttons.d.ts +0 -11
@@ -2669,7 +2669,7 @@ RichTextEditorBody.defaultProps = defaultProps;
2669
2669
  var RichTextEditorBody$1 = RichTextEditorBody;
2670
2670
 
2671
2671
  // NOTE: This string will be replaced on build time with the package version.
2672
- var version = "16.11.0";
2672
+ var version = "16.12.1";
2673
2673
 
2674
2674
  exports.Element = Element;
2675
2675
  exports.HiddenInput = HiddenInput$1;
@@ -2545,7 +2545,7 @@ RichTextEditorBody.defaultProps = defaultProps;
2545
2545
  var RichTextEditorBody$1 = RichTextEditorBody;
2546
2546
 
2547
2547
  // NOTE: This string will be replaced on build time with the package version.
2548
- var version = "16.11.0";
2548
+ var version = "16.12.1";
2549
2549
 
2550
2550
  exports.Element = Element;
2551
2551
  exports.HiddenInput = HiddenInput$1;
@@ -2632,6 +2632,6 @@ RichTextEditorBody.defaultProps = defaultProps;
2632
2632
  var RichTextEditorBody$1 = RichTextEditorBody;
2633
2633
 
2634
2634
  // NOTE: This string will be replaced on build time with the package version.
2635
- var version = "16.11.0";
2635
+ var version = "16.12.1";
2636
2636
 
2637
2637
  export { Element, HiddenInput$1 as HiddenInput, Leaf, RichTextEditorBody$1 as RichTextBody, focusEditor, html$1 as html, isBlockActive, isRichTextEmpty as isEmpty, isMarkActive, index as localized, resetEditor, toggleBlock, toggleMark, validSlateStateAdapter, version };
@@ -1,7 +1,7 @@
1
1
  import { type Descendant, type BaseEditor, type BaseText } from 'slate';
2
2
  import { type ReactEditor as TReactEditor } from 'slate-react';
3
3
  import type { HistoryEditor } from 'slate-history';
4
- import { BLOCK_TAGS, MARK_TAGS } from '../tags';
4
+ import { BLOCK_TAGS, MARK_TAGS } from "../tags.js";
5
5
  type Html = string;
6
6
  export type CustomElement = {
7
7
  type: Format;
@@ -1 +1 @@
1
- export { default, defaultSlateState, type Deserialized, type Format, type CustomElement, } from './html';
1
+ export { default, defaultSlateState, type Deserialized, type Format, type CustomElement, } from "./html.js";
@@ -1,6 +1,6 @@
1
- export * as localized from './localized';
2
- export { default as html } from './html';
3
- export { default as isEmpty } from './is-empty';
4
- export { HiddenInput, RichTextBody } from './rich-text-body';
5
- export { default as version } from './version';
6
- export { Element, Leaf, isMarkActive, isBlockActive, toggleMark, toggleBlock, validSlateStateAdapter, resetEditor, focusEditor, } from './slate-helpers';
1
+ export * as localized from "./localized/index.js";
2
+ export { default as html } from "./html/index.js";
3
+ export { default as isEmpty } from "./is-empty/index.js";
4
+ export { HiddenInput, RichTextBody } from "./rich-text-body/index.js";
5
+ export { default as version } from "./version.js";
6
+ export { Element, Leaf, isMarkActive, isBlockActive, toggleMark, toggleBlock, validSlateStateAdapter, resetEditor, focusEditor, } from "./slate-helpers.js";
@@ -1 +1 @@
1
- export { default } from './is-empty';
1
+ export { default } from "./is-empty.js";
@@ -1 +1 @@
1
- export { createLocalizedString, isEmpty, omitEmptyTranslations, } from './localized';
1
+ export { createLocalizedString, isEmpty, omitEmptyTranslations, } from "./localized.js";
@@ -1,6 +1,6 @@
1
- import type { TRichTextBodyButtonProps as RichTextBodyButtonProps } from './rich-text-body-button';
2
- import type { TRichTextEditorBody as RichTextEditorBody } from './rich-text-body';
3
- import type { TDropdownProps as DropdownProps } from './dropdown';
1
+ import type { TRichTextBodyButtonProps as RichTextBodyButtonProps } from "./rich-text-body-button.js";
2
+ import type { TRichTextEditorBody as RichTextEditorBody } from "./rich-text-body.js";
3
+ import type { TDropdownProps as DropdownProps } from "./dropdown.js";
4
4
  export type TRichTextBodyButtonProps = RichTextBodyButtonProps;
5
5
  export type TRichTextEditorBody = RichTextEditorBody;
6
6
  export type TDropdownProps = DropdownProps;
@@ -1,3 +1,3 @@
1
- export { default as HiddenInput } from './hidden-input';
2
- export { default as RichTextBody } from './rich-text-body';
3
- export * from './export-types';
1
+ export { default as HiddenInput } from "./hidden-input.js";
2
+ export { default as RichTextBody } from "./rich-text-body.js";
3
+ export * from "./export-types.js";
@@ -1,6 +1,6 @@
1
1
  import { Editor, type Editor as TEditor, type Descendant } from 'slate';
2
2
  import { type RenderElementProps, type RenderLeafProps } from 'slate-react';
3
- import { type Deserialized, type Format } from './html';
3
+ import { type Deserialized, type Format } from "./html/index.js";
4
4
  declare const Element: ({ attributes, children, element }: RenderElementProps) => import("@emotion/react/jsx-runtime").JSX.Element;
5
5
  declare const Leaf: ({ attributes, children, leaf }: RenderLeafProps) => import("@emotion/react/jsx-runtime").JSX.Element;
6
6
  declare const isMarkActive: (editor: TEditor, format: Format) => boolean;
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": "16.11.0",
4
+ "version": "16.12.1",
5
5
  "bugs": "https://github.com/commercetools/ui-kit/issues",
6
6
  "repository": {
7
7
  "type": "git",
@@ -24,25 +24,25 @@
24
24
  "dependencies": {
25
25
  "@babel/runtime": "^7.20.13",
26
26
  "@babel/runtime-corejs3": "^7.20.13",
27
- "@commercetools-uikit/design-system": "16.11.0",
28
- "@commercetools-uikit/icons": "16.11.0",
29
- "@commercetools-uikit/input-utils": "16.11.0",
30
- "@commercetools-uikit/spacings-inline": "16.11.0",
31
- "@commercetools-uikit/tooltip": "16.11.0",
32
- "@commercetools-uikit/utils": "16.11.0",
27
+ "@commercetools-uikit/design-system": "16.12.1",
28
+ "@commercetools-uikit/icons": "16.12.1",
29
+ "@commercetools-uikit/input-utils": "16.12.1",
30
+ "@commercetools-uikit/spacings-inline": "16.12.1",
31
+ "@commercetools-uikit/tooltip": "16.12.1",
32
+ "@commercetools-uikit/utils": "16.12.1",
33
33
  "@emotion/react": "^11.10.5",
34
34
  "@emotion/styled": "^11.10.5",
35
- "@types/escape-html": "1.0.2",
35
+ "@types/escape-html": "1.0.4",
36
36
  "downshift": "6.1.12",
37
37
  "escape-html": "1.0.3",
38
38
  "is-hotkey": "0.2.0",
39
39
  "lodash": "4.17.21",
40
40
  "prop-types": "15.8.1",
41
41
  "slate": "0.75.0",
42
- "slate-history": "0.93.0",
43
- "slate-hyperscript": "0.77.0",
42
+ "slate-history": "0.100.0",
43
+ "slate-hyperscript": "0.100.0",
44
44
  "slate-react": "0.75.0",
45
- "style-to-object": "0.4.1"
45
+ "style-to-object": "0.4.4"
46
46
  },
47
47
  "devDependencies": {
48
48
  "react": "17.0.2",
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- declare const Divider: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
5
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
6
- export default Divider;
@@ -1,23 +0,0 @@
1
- /// <reference types="react" />
2
- type TDropdownStylesProps = {
3
- isSelected?: boolean;
4
- isIndeterminate?: boolean;
5
- isStyleButton?: boolean;
6
- isOpen?: boolean;
7
- isDisabled?: boolean;
8
- isReadOnly?: boolean;
9
- };
10
- declare const DropdownItem: import("@emotion/styled").StyledComponent<{
11
- theme?: import("@emotion/react").Theme | undefined;
12
- as?: import("react").ElementType<any> | undefined;
13
- } & TDropdownStylesProps, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
14
- declare const getButtonStyles: (props: TDropdownStylesProps) => (false | import("@emotion/utils").SerializedStyles | undefined)[];
15
- declare const DropdownContainer: import("@emotion/styled").StyledComponent<{
16
- theme?: import("@emotion/react").Theme | undefined;
17
- as?: import("react").ElementType<any> | undefined;
18
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
19
- declare const DropdownItemLabelWrapper: import("@emotion/styled").StyledComponent<{
20
- theme?: import("@emotion/react").Theme | undefined;
21
- as?: import("react").ElementType<any> | undefined;
22
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
23
- export { DropdownContainer, DropdownItem, DropdownItemLabelWrapper, getButtonStyles, };
@@ -1,13 +0,0 @@
1
- export type Props = {
2
- color?: 'solid' | 'neutral60' | 'surface' | 'info' | 'primary' | 'primary40' | 'warning' | 'error';
3
- size?: 'small' | 'medium' | 'big' | 'scale';
4
- };
5
- export type SVGProps = Props & {
6
- className: string;
7
- };
8
- export declare const getIconStyles: (props: Props) => import("@emotion/utils").SerializedStyles;
9
- declare const BoldIcon: {
10
- (props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
11
- displayName: string;
12
- };
13
- export default BoldIcon;
@@ -1,13 +0,0 @@
1
- export type Props = {
2
- color?: 'solid' | 'neutral60' | 'surface' | 'info' | 'primary' | 'primary40' | 'warning' | 'error';
3
- size?: 'small' | 'medium' | 'big' | 'scale';
4
- };
5
- export type SVGProps = Props & {
6
- className: string;
7
- };
8
- export declare const getIconStyles: (props: Props) => import("@emotion/utils").SerializedStyles;
9
- declare const ExpandFullIcon: {
10
- (props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
11
- displayName: string;
12
- };
13
- export default ExpandFullIcon;
@@ -1,13 +0,0 @@
1
- export type Props = {
2
- color?: 'solid' | 'neutral60' | 'surface' | 'info' | 'primary' | 'primary40' | 'warning' | 'error';
3
- size?: 'small' | 'medium' | 'big' | 'scale';
4
- };
5
- export type SVGProps = Props & {
6
- className: string;
7
- };
8
- export declare const getIconStyles: (props: Props) => import("@emotion/utils").SerializedStyles;
9
- declare const ExpandIcon: {
10
- (props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
11
- displayName: string;
12
- };
13
- export default ExpandIcon;
@@ -1,13 +0,0 @@
1
- export type Props = {
2
- color?: 'solid' | 'neutral60' | 'surface' | 'info' | 'primary' | 'primary40' | 'warning' | 'error';
3
- size?: 'small' | 'medium' | 'big' | 'scale';
4
- };
5
- export type SVGProps = Props & {
6
- className: string;
7
- };
8
- export declare const getIconStyles: (props: Props) => import("@emotion/utils").SerializedStyles;
9
- declare const ItalicIcon: {
10
- (props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
11
- displayName: string;
12
- };
13
- export default ItalicIcon;
@@ -1,13 +0,0 @@
1
- export type Props = {
2
- color?: 'solid' | 'neutral60' | 'surface' | 'info' | 'primary' | 'primary40' | 'warning' | 'error';
3
- size?: 'small' | 'medium' | 'big' | 'scale';
4
- };
5
- export type SVGProps = Props & {
6
- className: string;
7
- };
8
- export declare const getIconStyles: (props: Props) => import("@emotion/utils").SerializedStyles;
9
- declare const MoreStylesIcon: {
10
- (props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
11
- displayName: string;
12
- };
13
- export default MoreStylesIcon;
@@ -1,13 +0,0 @@
1
- export type Props = {
2
- color?: 'solid' | 'neutral60' | 'surface' | 'info' | 'primary' | 'primary40' | 'warning' | 'error';
3
- size?: 'small' | 'medium' | 'big' | 'scale';
4
- };
5
- export type SVGProps = Props & {
6
- className: string;
7
- };
8
- export declare const getIconStyles: (props: Props) => import("@emotion/utils").SerializedStyles;
9
- declare const OrderedListIcon: {
10
- (props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
11
- displayName: string;
12
- };
13
- export default OrderedListIcon;
@@ -1,13 +0,0 @@
1
- export type Props = {
2
- color?: 'solid' | 'neutral60' | 'surface' | 'info' | 'primary' | 'primary40' | 'warning' | 'error';
3
- size?: 'small' | 'medium' | 'big' | 'scale';
4
- };
5
- export type SVGProps = Props & {
6
- className: string;
7
- };
8
- export declare const getIconStyles: (props: Props) => import("@emotion/utils").SerializedStyles;
9
- declare const RedoIcon: {
10
- (props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
11
- displayName: string;
12
- };
13
- export default RedoIcon;
@@ -1,13 +0,0 @@
1
- export type Props = {
2
- color?: 'solid' | 'neutral60' | 'surface' | 'info' | 'primary' | 'primary40' | 'warning' | 'error';
3
- size?: 'small' | 'medium' | 'big' | 'scale';
4
- };
5
- export type SVGProps = Props & {
6
- className: string;
7
- };
8
- export declare const getIconStyles: (props: Props) => import("@emotion/utils").SerializedStyles;
9
- declare const StrikethroughIcon: {
10
- (props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
11
- displayName: string;
12
- };
13
- export default StrikethroughIcon;
@@ -1,13 +0,0 @@
1
- export type Props = {
2
- color?: 'solid' | 'neutral60' | 'surface' | 'info' | 'primary' | 'primary40' | 'warning' | 'error';
3
- size?: 'small' | 'medium' | 'big' | 'scale';
4
- };
5
- export type SVGProps = Props & {
6
- className: string;
7
- };
8
- export declare const getIconStyles: (props: Props) => import("@emotion/utils").SerializedStyles;
9
- declare const SubscriptIcon: {
10
- (props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
11
- displayName: string;
12
- };
13
- export default SubscriptIcon;
@@ -1,13 +0,0 @@
1
- export type Props = {
2
- color?: 'solid' | 'neutral60' | 'surface' | 'info' | 'primary' | 'primary40' | 'warning' | 'error';
3
- size?: 'small' | 'medium' | 'big' | 'scale';
4
- };
5
- export type SVGProps = Props & {
6
- className: string;
7
- };
8
- export declare const getIconStyles: (props: Props) => import("@emotion/utils").SerializedStyles;
9
- declare const SuperscriptIcon: {
10
- (props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
11
- displayName: string;
12
- };
13
- export default SuperscriptIcon;
@@ -1,13 +0,0 @@
1
- export type Props = {
2
- color?: 'solid' | 'neutral60' | 'surface' | 'info' | 'primary' | 'primary40' | 'warning' | 'error';
3
- size?: 'small' | 'medium' | 'big' | 'scale';
4
- };
5
- export type SVGProps = Props & {
6
- className: string;
7
- };
8
- export declare const getIconStyles: (props: Props) => import("@emotion/utils").SerializedStyles;
9
- declare const UnderlineIcon: {
10
- (props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
11
- displayName: string;
12
- };
13
- export default UnderlineIcon;
@@ -1,13 +0,0 @@
1
- export type Props = {
2
- color?: 'solid' | 'neutral60' | 'surface' | 'info' | 'primary' | 'primary40' | 'warning' | 'error';
3
- size?: 'small' | 'medium' | 'big' | 'scale';
4
- };
5
- export type SVGProps = Props & {
6
- className: string;
7
- };
8
- export declare const getIconStyles: (props: Props) => import("@emotion/utils").SerializedStyles;
9
- declare const UndoIcon: {
10
- (props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
11
- displayName: string;
12
- };
13
- export default UndoIcon;
@@ -1,13 +0,0 @@
1
- export type Props = {
2
- color?: 'solid' | 'neutral60' | 'surface' | 'info' | 'primary' | 'primary40' | 'warning' | 'error';
3
- size?: 'small' | 'medium' | 'big' | 'scale';
4
- };
5
- export type SVGProps = Props & {
6
- className: string;
7
- };
8
- export declare const getIconStyles: (props: Props) => import("@emotion/utils").SerializedStyles;
9
- declare const UnorderedListIcon: {
10
- (props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
11
- displayName: string;
12
- };
13
- export default UnorderedListIcon;
@@ -1,13 +0,0 @@
1
- export { default as BoldIcon } from './BoldReact';
2
- export { default as ExpandFullIcon } from './ExpandFullReact';
3
- export { default as ExpandIcon } from './ExpandReact';
4
- export { default as ItalicIcon } from './ItalicReact';
5
- export { default as MoreStylesIcon } from './MoreStylesReact';
6
- export { default as OrderedListIcon } from './OrderedListReact';
7
- export { default as RedoIcon } from './RedoReact';
8
- export { default as StrikethroughIcon } from './StrikethroughReact';
9
- export { default as SubscriptIcon } from './SubscriptReact';
10
- export { default as SuperscriptIcon } from './SuperscriptReact';
11
- export { default as UnderlineIcon } from './UnderlineReact';
12
- export { default as UndoIcon } from './UndoReact';
13
- export { default as UnorderedListIcon } from './UnorderedListReact';
@@ -1 +0,0 @@
1
- export * from './generated';
@@ -1,108 +0,0 @@
1
- declare const _default: {
2
- boldButtonLabel: {
3
- id: string;
4
- description: string;
5
- defaultMessage: string;
6
- };
7
- expandButtonLabel: {
8
- id: string;
9
- description: string;
10
- defaultMessage: string;
11
- };
12
- italicButtonLabel: {
13
- id: string;
14
- description: string;
15
- defaultMessage: string;
16
- };
17
- moreStylesDropdownLabel: {
18
- id: string;
19
- description: string;
20
- defaultMessage: string;
21
- };
22
- moreStylesDropdownOptionStrikethrough: {
23
- id: string;
24
- description: string;
25
- defaultMessage: string;
26
- };
27
- moreStylesDropdownOptionSuperscript: {
28
- id: string;
29
- description: string;
30
- defaultMessage: string;
31
- };
32
- moreStylesDropdownOptionSubscript: {
33
- id: string;
34
- description: string;
35
- defaultMessage: string;
36
- };
37
- orderedListButtonLabel: {
38
- id: string;
39
- description: string;
40
- defaultMessage: string;
41
- };
42
- redoButtonLabel: {
43
- id: string;
44
- description: string;
45
- defaultMessage: string;
46
- };
47
- styleDropdownLabel: {
48
- id: string;
49
- description: string;
50
- defaultMessage: string;
51
- };
52
- styleDropdownOptionParagraph: {
53
- id: string;
54
- description: string;
55
- defaultMessage: string;
56
- };
57
- styleDropdownOptionH1: {
58
- id: string;
59
- description: string;
60
- defaultMessage: string;
61
- };
62
- styleDropdownOptionH2: {
63
- id: string;
64
- description: string;
65
- defaultMessage: string;
66
- };
67
- styleDropdownOptionH3: {
68
- id: string;
69
- description: string;
70
- defaultMessage: string;
71
- };
72
- styleDropdownOptionH4: {
73
- id: string;
74
- description: string;
75
- defaultMessage: string;
76
- };
77
- styleDropdownOptionH5: {
78
- id: string;
79
- description: string;
80
- defaultMessage: string;
81
- };
82
- styleDropdownOptionQuote: {
83
- id: string;
84
- description: string;
85
- defaultMessage: string;
86
- };
87
- styleDropdownOptionPreformatted: {
88
- id: string;
89
- description: string;
90
- defaultMessage: string;
91
- };
92
- underlinedButtonLabel: {
93
- id: string;
94
- description: string;
95
- defaultMessage: string;
96
- };
97
- undoButtonLabel: {
98
- id: string;
99
- description: string;
100
- defaultMessage: string;
101
- };
102
- unorderedListButtonLabel: {
103
- id: string;
104
- description: string;
105
- defaultMessage: string;
106
- };
107
- };
108
- export default _default;
@@ -1,24 +0,0 @@
1
- /// <reference types="react" />
2
- import type { TRichTextEditorBody } from './rich-text-body';
3
- type TRichTextBodyStylesProps = Pick<TRichTextEditorBody, 'hasError' | 'isReadOnly' | 'hasWarning' | 'isDisabled'>;
4
- export declare const ToolbarMainControls: import("@emotion/styled").StyledComponent<{
5
- theme?: import("@emotion/react").Theme | undefined;
6
- as?: import("react").ElementType<any> | undefined;
7
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
8
- export declare const ToolbarRightControls: import("@emotion/styled").StyledComponent<{
9
- theme?: import("@emotion/react").Theme | undefined;
10
- as?: import("react").ElementType<any> | undefined;
11
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
12
- export declare const Toolbar: import("@emotion/styled").StyledComponent<{
13
- theme?: import("@emotion/react").Theme | undefined;
14
- as?: import("react").ElementType<any> | undefined;
15
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
16
- export declare const EditorContainer: import("@emotion/styled").StyledComponent<{
17
- theme?: import("@emotion/react").Theme | undefined;
18
- as?: import("react").ElementType<any> | undefined;
19
- } & TRichTextBodyStylesProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
20
- export declare const Container: import("@emotion/styled").StyledComponent<{
21
- theme?: import("@emotion/react").Theme | undefined;
22
- as?: import("react").ElementType<any> | undefined;
23
- } & TRichTextBodyStylesProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
24
- export {};
@@ -1,11 +0,0 @@
1
- import type { ReactNode } from 'react';
2
- type TButtonProps = {
3
- format: string;
4
- isDisabled?: boolean;
5
- label: string;
6
- isReadOnly?: boolean;
7
- children: ReactNode;
8
- };
9
- declare const MarkButton: (props: TButtonProps) => import("@emotion/react/jsx-runtime").JSX.Element;
10
- declare const BlockButton: (props: TButtonProps) => import("@emotion/react/jsx-runtime").JSX.Element;
11
- export { MarkButton, BlockButton };