@commercetools-uikit/rich-text-utils 13.0.2 → 13.0.3

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 (47) hide show
  1. package/dist/commercetools-uikit-rich-text-utils.cjs.d.ts +1 -0
  2. package/dist/commercetools-uikit-rich-text-utils.cjs.dev.js +198 -184
  3. package/dist/commercetools-uikit-rich-text-utils.cjs.prod.js +120 -96
  4. package/dist/commercetools-uikit-rich-text-utils.esm.js +195 -180
  5. package/dist/declarations/src/editor.types.d.ts +103 -0
  6. package/dist/declarations/src/has-block.d.ts +3 -0
  7. package/dist/declarations/src/html/html.d.ts +3 -0
  8. package/dist/declarations/src/html/index.d.ts +1 -0
  9. package/dist/declarations/src/index.d.ts +6 -0
  10. package/dist/declarations/src/is-empty/index.d.ts +1 -0
  11. package/dist/declarations/src/is-empty/is-empty.d.ts +2 -0
  12. package/dist/declarations/src/localized/index.d.ts +1 -0
  13. package/dist/declarations/src/localized/localized.d.ts +6 -0
  14. package/dist/declarations/src/plugins/index.d.ts +1 -0
  15. package/dist/declarations/src/plugins/list.d.ts +22 -0
  16. package/dist/declarations/src/plugins/mark.d.ts +29 -0
  17. package/dist/declarations/src/plugins/placeholder.d.ts +30 -0
  18. package/dist/declarations/src/plugins/plugins.d.ts +17 -0
  19. package/dist/declarations/src/plugins/redo.d.ts +12 -0
  20. package/dist/declarations/src/plugins/undo.d.ts +15 -0
  21. package/dist/declarations/src/rich-text-body/divider.d.ts +6 -0
  22. package/dist/declarations/src/rich-text-body/dropdown.d.ts +43 -0
  23. package/dist/declarations/src/rich-text-body/dropdown.styles.d.ts +19 -0
  24. package/dist/declarations/src/rich-text-body/hidden-input.d.ts +12 -0
  25. package/dist/declarations/src/rich-text-body/icons/generated/BoldReact.d.ts +14 -0
  26. package/dist/declarations/src/rich-text-body/icons/generated/ExpandFullReact.d.ts +14 -0
  27. package/dist/declarations/src/rich-text-body/icons/generated/ItalicReact.d.ts +14 -0
  28. package/dist/declarations/src/rich-text-body/icons/generated/MoreStylesReact.d.ts +14 -0
  29. package/dist/declarations/src/rich-text-body/icons/generated/OrderedListReact.d.ts +14 -0
  30. package/dist/declarations/src/rich-text-body/icons/generated/RedoReact.d.ts +14 -0
  31. package/dist/declarations/src/rich-text-body/icons/generated/StrikethroughReact.d.ts +14 -0
  32. package/dist/declarations/src/rich-text-body/icons/generated/SubscriptReact.d.ts +14 -0
  33. package/dist/declarations/src/rich-text-body/icons/generated/SuperscriptReact.d.ts +14 -0
  34. package/dist/declarations/src/rich-text-body/icons/generated/UnderlineReact.d.ts +14 -0
  35. package/dist/declarations/src/rich-text-body/icons/generated/UndoReact.d.ts +14 -0
  36. package/dist/declarations/src/rich-text-body/icons/generated/UnorderedListReact.d.ts +14 -0
  37. package/dist/declarations/src/rich-text-body/icons/generated/index.d.ts +12 -0
  38. package/dist/declarations/src/rich-text-body/icons/index.d.ts +1 -0
  39. package/dist/declarations/src/rich-text-body/index.d.ts +2 -0
  40. package/dist/declarations/src/rich-text-body/messages.d.ts +108 -0
  41. package/dist/declarations/src/rich-text-body/rich-text-body-button.d.ts +14 -0
  42. package/dist/declarations/src/rich-text-body/rich-text-body.d.ts +25 -0
  43. package/dist/declarations/src/rich-text-body/rich-text-body.styles.d.ts +24 -0
  44. package/dist/declarations/src/rich-text-plugins.d.ts +121 -0
  45. package/dist/declarations/src/tags.d.ts +22 -0
  46. package/dist/declarations/src/version.d.ts +2 -0
  47. package/package.json +1 -1
@@ -0,0 +1,103 @@
1
+ import type { ReactNode } from 'react';
2
+ declare type TSize = {
3
+ size: number;
4
+ };
5
+ declare type TData = {
6
+ get: (key: string) => TSize;
7
+ };
8
+ declare type TValue = {
9
+ blocks: TBlocks;
10
+ document: TDocument;
11
+ selection: {
12
+ isFocused: boolean;
13
+ };
14
+ activeMarks: {
15
+ some: (ascertMarkType: (mark: TMark) => boolean) => void;
16
+ } | TMark[];
17
+ data: TData;
18
+ };
19
+ declare type TWrapBlock = {
20
+ wrapBlock: (blockTag: string) => void;
21
+ };
22
+ declare type TBlocks = {
23
+ size?: number;
24
+ some: (block: unknown) => boolean | void;
25
+ first: () => {
26
+ key: string;
27
+ type: string;
28
+ };
29
+ map: (node: ReactNode) => {
30
+ toArray: () => string[];
31
+ };
32
+ };
33
+ declare type TNodes = {
34
+ map: (node: ReactNode) => {
35
+ toArray: () => string[];
36
+ };
37
+ };
38
+ declare type TDocument = {
39
+ getClosest: (block: {
40
+ key: unknown;
41
+ }, closest: (parent: {
42
+ type: string;
43
+ }) => boolean) => boolean;
44
+ getParent?: (parentParam: string) => {
45
+ type: string;
46
+ };
47
+ text?: string;
48
+ nodes?: TNodes;
49
+ };
50
+ declare type TNodeTextsResult = [{
51
+ key: string;
52
+ text: string;
53
+ }, string];
54
+ export declare type TMark = {
55
+ type: string;
56
+ };
57
+ export declare type TNode = {
58
+ texts: (nodeParam?: Record<string, string>) => TNodeTextsResult[];
59
+ };
60
+ export declare type THotKeyOptions = {
61
+ hotkey: string;
62
+ };
63
+ export declare type TEditor = {
64
+ focus: () => void;
65
+ value: TValue;
66
+ setBlocks: (blockTag: string) => {
67
+ unwrapBlock: (blockTag: string) => {
68
+ unwrapBlock: (blockTag: string) => void;
69
+ };
70
+ wrapBlock: (blockTag: string) => void;
71
+ };
72
+ unwrapBlock: (blockTag: string) => TWrapBlock;
73
+ hasPlaceholder?: boolean;
74
+ query?: (when: string | (() => void), node: TNode) => {
75
+ next: () => void;
76
+ };
77
+ props: {
78
+ options: {
79
+ placeholder: string;
80
+ };
81
+ };
82
+ undo?: () => void;
83
+ redo?: () => void;
84
+ toggleRedo?: () => void;
85
+ selection: {
86
+ isFocused: boolean;
87
+ };
88
+ hasUndos: () => boolean;
89
+ hasRedos: () => boolean;
90
+ toggleMark?: (value: unknown) => void;
91
+ hasBoldMark: () => boolean;
92
+ toggleBoldMark: () => void;
93
+ hasItalicMark: () => boolean;
94
+ toggleItalicMark: () => boolean;
95
+ hasUnderlinedMark: () => boolean;
96
+ toggleUnderlinedMark: () => void;
97
+ hasNumberedListBlock: () => boolean;
98
+ toggleNumberedListBlock: () => void;
99
+ hasBulletedListBlock: () => boolean;
100
+ toggleBulletedListBlock: () => void;
101
+ toggleUndo: () => void;
102
+ };
103
+ export {};
@@ -0,0 +1,3 @@
1
+ import type { TEditor } from './editor.types';
2
+ declare const hasBlock: (type: string, editor: TEditor) => boolean | void;
3
+ export default hasBlock;
@@ -0,0 +1,3 @@
1
+ import Html from 'slate-html-serializer';
2
+ declare const html: Html;
3
+ export default html;
@@ -0,0 +1 @@
1
+ export { default } from './html';
@@ -0,0 +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 { default as richTextPlugins } from './rich-text-plugins';
5
+ export { HiddenInput, RichTextBody } from './rich-text-body';
6
+ export { default as version } from './version';
@@ -0,0 +1 @@
1
+ export { default } from './is-empty';
@@ -0,0 +1,2 @@
1
+ declare const isEmpty: (rawValue: string) => boolean;
2
+ export default isEmpty;
@@ -0,0 +1 @@
1
+ export { createLocalizedString, isEmpty, omitEmptyTranslations, } from './localized';
@@ -0,0 +1,6 @@
1
+ declare type TLocalizedString = Record<string, string>;
2
+ declare type TTranslations = Record<string, string>;
3
+ export declare const isEmpty: (localizedHtmlValue: Record<string, string | null | undefined> | undefined) => boolean;
4
+ export declare const omitEmptyTranslations: (localizedString: TLocalizedString) => Record<string, unknown>;
5
+ export declare const createLocalizedString: (languages: string[], existingTranslations?: TTranslations) => Record<string, unknown>;
6
+ export {};
@@ -0,0 +1 @@
1
+ export { RenderBlockPlugin, RenderMarkPlugin } from './plugins';
@@ -0,0 +1,22 @@
1
+ import { ReactNode } from 'react';
2
+ import type { TEditor } from '../editor.types';
3
+ declare type TType = {
4
+ type: string;
5
+ };
6
+ declare type TListPlugin = {
7
+ attributes: unknown;
8
+ children: ReactNode;
9
+ node: TType;
10
+ };
11
+ declare const ListPlugin: () => {
12
+ renderBlock(props: TListPlugin, _editor: TEditor, next: () => JSX.Element): import("@emotion/react/jsx-runtime").JSX.Element;
13
+ commands: {
14
+ toggleBulletedListBlock: (editor: TEditor) => void;
15
+ toggleNumberedListBlock: (editor: TEditor) => void;
16
+ };
17
+ queries: {
18
+ hasBulletedListBlock: (editor: TEditor) => boolean | void;
19
+ hasNumberedListBlock: (editor: TEditor) => boolean | void;
20
+ };
21
+ }[];
22
+ export default ListPlugin;
@@ -0,0 +1,29 @@
1
+ import type { ComponentType, ReactNode } from 'react';
2
+ import type { TEditor, TMark } from '../editor.types';
3
+ declare type TMarkPluginOptions = {
4
+ hotkey: string;
5
+ typeName: string;
6
+ RenderMark: ComponentType;
7
+ command: string;
8
+ query: string;
9
+ [option: string]: string | ReactNode;
10
+ };
11
+ declare type TRenderMarkProps = {
12
+ children: ReactNode;
13
+ mark: TMark;
14
+ attributes: unknown;
15
+ };
16
+ declare type TEvent = {
17
+ preventDefault: () => void;
18
+ };
19
+ declare const MarkPlugin: (options: TMarkPluginOptions) => {
20
+ onKeyDown(event: TEvent, editor: TEditor, next: () => void): void;
21
+ renderMark(props: TRenderMarkProps, _editor: TEditor, next: () => JSX.Element): import("@emotion/react/jsx-runtime").JSX.Element;
22
+ commands: {
23
+ [x: string]: (editor: TEditor) => void | undefined;
24
+ };
25
+ queries: {
26
+ [x: string]: (editor: TEditor) => boolean | void;
27
+ };
28
+ }[];
29
+ export default MarkPlugin;
@@ -0,0 +1,30 @@
1
+ import type { CSSProperties, ReactNode } from 'react';
2
+ import type { TEditor, TNode } from '../editor.types';
3
+ declare type TEditorQueryPredicate = string | (() => void);
4
+ declare type TDecorationNode = {
5
+ key: string;
6
+ offset: number;
7
+ path: string;
8
+ };
9
+ declare type TDecoration = {
10
+ type: string;
11
+ data: {
12
+ key: number;
13
+ get?: (name: string) => number;
14
+ };
15
+ anchor: TDecorationNode;
16
+ focus: TDecorationNode;
17
+ };
18
+ declare type TRenderDecorationProps = {
19
+ children: ReactNode;
20
+ decoration: TDecoration;
21
+ };
22
+ declare type TSlateReactPlaceholderOptions = {
23
+ when: TEditorQueryPredicate;
24
+ style: CSSProperties;
25
+ };
26
+ declare function SlateReactPlaceholder(options: TSlateReactPlaceholderOptions): {
27
+ decorateNode: (node: TNode, editor: TEditor, next: () => JSX.Element[]) => (JSX.Element | TDecoration)[];
28
+ renderDecoration: (props: TRenderDecorationProps, editor: Pick<TEditor, 'props'>, next: () => JSX.Element) => import("@emotion/react/jsx-runtime").JSX.Element;
29
+ };
30
+ export default SlateReactPlaceholder;
@@ -0,0 +1,17 @@
1
+ import type { ReactNode } from 'react';
2
+ declare type TType = {
3
+ type: string;
4
+ };
5
+ declare type TRenderBlockPluginProps = {
6
+ children: ReactNode;
7
+ mark: TType;
8
+ attributes: unknown;
9
+ node: TType;
10
+ };
11
+ export declare const RenderBlockPlugin: () => {
12
+ renderBlock(props: TRenderBlockPluginProps, next: () => ReactNode): ReactNode;
13
+ };
14
+ export declare const RenderMarkPlugin: () => {
15
+ renderMark(props: TRenderBlockPluginProps, next: () => ReactNode): ReactNode;
16
+ };
17
+ export {};
@@ -0,0 +1,12 @@
1
+ import type { KeyboardEvent } from 'react';
2
+ import type { TEditor, THotKeyOptions } from '../editor.types';
3
+ declare const RedoPlugin: (options?: Partial<THotKeyOptions>) => {
4
+ onKeyDown(event: KeyboardEvent<HTMLInputElement | HTMLButtonElement>, editor: TEditor, next: () => void): void;
5
+ queries: {
6
+ hasRedos: (editor: TEditor) => boolean;
7
+ };
8
+ commands: {
9
+ toggleRedo: (editor: TEditor) => void;
10
+ };
11
+ }[];
12
+ export default RedoPlugin;
@@ -0,0 +1,15 @@
1
+ import type { KeyboardEvent } from 'react';
2
+ import type { TEditor, THotKeyOptions } from '../editor.types';
3
+ declare type TExtendedEditor = TEditor & {
4
+ undo: () => void;
5
+ };
6
+ declare const UndoPlugin: (options?: Partial<THotKeyOptions>) => {
7
+ onKeyDown(event: KeyboardEvent<HTMLInputElement | HTMLButtonElement>, editor: TExtendedEditor, next: () => void): void;
8
+ queries: {
9
+ hasUndos: (editor: TExtendedEditor) => boolean;
10
+ };
11
+ commands: {
12
+ toggleUndo: (editor: TExtendedEditor) => void;
13
+ };
14
+ }[];
15
+ export default UndoPlugin;
@@ -0,0 +1,6 @@
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;
@@ -0,0 +1,43 @@
1
+ import type { ElementType, FunctionComponent } from 'react';
2
+ declare type TDropdownProps = {
3
+ label: string;
4
+ isMulti: boolean;
5
+ value: string[] | string;
6
+ isDisabled?: boolean;
7
+ isReadOnly?: boolean;
8
+ onChange?: (event?: unknown) => void;
9
+ components: {
10
+ Item: FunctionComponent<unknown>;
11
+ Label: FunctionComponent<unknown>;
12
+ };
13
+ options: Array<TItem>;
14
+ };
15
+ declare type TItem = {
16
+ value: string;
17
+ label: string;
18
+ };
19
+ declare const Dropdown: {
20
+ (props: TDropdownProps): import("@emotion/react/jsx-runtime").JSX.Element;
21
+ displayName: string;
22
+ defaultProps: {
23
+ components: {
24
+ Item: import("@emotion/styled").StyledComponent<{
25
+ theme?: import("@emotion/react").Theme | undefined;
26
+ as?: ElementType<any> | undefined;
27
+ } & {
28
+ isSelected?: boolean | undefined;
29
+ isIndeterminate?: boolean | undefined;
30
+ isStyleButton?: boolean | undefined;
31
+ isOpen?: boolean | undefined;
32
+ isDisabled?: boolean | undefined;
33
+ isReadOnly?: boolean | undefined;
34
+ }, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
35
+ Label: import("@emotion/styled").CreateStyledComponent<{
36
+ theme?: import("@emotion/react").Theme | undefined;
37
+ as?: ElementType<any> | undefined;
38
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
39
+ };
40
+ isMulti: boolean;
41
+ };
42
+ };
43
+ export default Dropdown;
@@ -0,0 +1,19 @@
1
+ /// <reference types="react" />
2
+ declare 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
+ export { DropdownContainer, DropdownItem, getButtonStyles };
@@ -0,0 +1,12 @@
1
+ declare type THiddenInputProps = {
2
+ handleFocus: () => void;
3
+ isFocused: boolean;
4
+ id?: string;
5
+ disabled?: boolean;
6
+ readOnly: boolean;
7
+ };
8
+ declare const HiddenInput: {
9
+ (props: THiddenInputProps): import("@emotion/react/jsx-runtime").JSX.Element;
10
+ displayName: string;
11
+ };
12
+ export default HiddenInput;
@@ -0,0 +1,14 @@
1
+ import type { Theme } from '@emotion/react';
2
+ export declare type Props = {
3
+ color?: 'solid' | 'neutral60' | 'surface' | 'info' | 'primary' | 'primary40' | 'warning' | 'error';
4
+ size?: 'small' | 'medium' | 'big' | 'scale';
5
+ };
6
+ export declare type SVGProps = Props & {
7
+ className: string;
8
+ };
9
+ export declare const getIconStyles: (props: Props, theme: Theme) => import("@emotion/utils").SerializedStyles;
10
+ declare const BoldIcon: {
11
+ (props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
12
+ displayName: string;
13
+ };
14
+ export default BoldIcon;
@@ -0,0 +1,14 @@
1
+ import type { Theme } from '@emotion/react';
2
+ export declare type Props = {
3
+ color?: 'solid' | 'neutral60' | 'surface' | 'info' | 'primary' | 'primary40' | 'warning' | 'error';
4
+ size?: 'small' | 'medium' | 'big' | 'scale';
5
+ };
6
+ export declare type SVGProps = Props & {
7
+ className: string;
8
+ };
9
+ export declare const getIconStyles: (props: Props, theme: Theme) => import("@emotion/utils").SerializedStyles;
10
+ declare const ExpandFullIcon: {
11
+ (props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
12
+ displayName: string;
13
+ };
14
+ export default ExpandFullIcon;
@@ -0,0 +1,14 @@
1
+ import type { Theme } from '@emotion/react';
2
+ export declare type Props = {
3
+ color?: 'solid' | 'neutral60' | 'surface' | 'info' | 'primary' | 'primary40' | 'warning' | 'error';
4
+ size?: 'small' | 'medium' | 'big' | 'scale';
5
+ };
6
+ export declare type SVGProps = Props & {
7
+ className: string;
8
+ };
9
+ export declare const getIconStyles: (props: Props, theme: Theme) => import("@emotion/utils").SerializedStyles;
10
+ declare const ItalicIcon: {
11
+ (props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
12
+ displayName: string;
13
+ };
14
+ export default ItalicIcon;
@@ -0,0 +1,14 @@
1
+ import type { Theme } from '@emotion/react';
2
+ export declare type Props = {
3
+ color?: 'solid' | 'neutral60' | 'surface' | 'info' | 'primary' | 'primary40' | 'warning' | 'error';
4
+ size?: 'small' | 'medium' | 'big' | 'scale';
5
+ };
6
+ export declare type SVGProps = Props & {
7
+ className: string;
8
+ };
9
+ export declare const getIconStyles: (props: Props, theme: Theme) => import("@emotion/utils").SerializedStyles;
10
+ declare const MoreStylesIcon: {
11
+ (props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
12
+ displayName: string;
13
+ };
14
+ export default MoreStylesIcon;
@@ -0,0 +1,14 @@
1
+ import type { Theme } from '@emotion/react';
2
+ export declare type Props = {
3
+ color?: 'solid' | 'neutral60' | 'surface' | 'info' | 'primary' | 'primary40' | 'warning' | 'error';
4
+ size?: 'small' | 'medium' | 'big' | 'scale';
5
+ };
6
+ export declare type SVGProps = Props & {
7
+ className: string;
8
+ };
9
+ export declare const getIconStyles: (props: Props, theme: Theme) => import("@emotion/utils").SerializedStyles;
10
+ declare const OrderedListIcon: {
11
+ (props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
12
+ displayName: string;
13
+ };
14
+ export default OrderedListIcon;
@@ -0,0 +1,14 @@
1
+ import type { Theme } from '@emotion/react';
2
+ export declare type Props = {
3
+ color?: 'solid' | 'neutral60' | 'surface' | 'info' | 'primary' | 'primary40' | 'warning' | 'error';
4
+ size?: 'small' | 'medium' | 'big' | 'scale';
5
+ };
6
+ export declare type SVGProps = Props & {
7
+ className: string;
8
+ };
9
+ export declare const getIconStyles: (props: Props, theme: Theme) => import("@emotion/utils").SerializedStyles;
10
+ declare const RedoIcon: {
11
+ (props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
12
+ displayName: string;
13
+ };
14
+ export default RedoIcon;
@@ -0,0 +1,14 @@
1
+ import type { Theme } from '@emotion/react';
2
+ export declare type Props = {
3
+ color?: 'solid' | 'neutral60' | 'surface' | 'info' | 'primary' | 'primary40' | 'warning' | 'error';
4
+ size?: 'small' | 'medium' | 'big' | 'scale';
5
+ };
6
+ export declare type SVGProps = Props & {
7
+ className: string;
8
+ };
9
+ export declare const getIconStyles: (props: Props, theme: Theme) => import("@emotion/utils").SerializedStyles;
10
+ declare const StrikethroughIcon: {
11
+ (props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
12
+ displayName: string;
13
+ };
14
+ export default StrikethroughIcon;
@@ -0,0 +1,14 @@
1
+ import type { Theme } from '@emotion/react';
2
+ export declare type Props = {
3
+ color?: 'solid' | 'neutral60' | 'surface' | 'info' | 'primary' | 'primary40' | 'warning' | 'error';
4
+ size?: 'small' | 'medium' | 'big' | 'scale';
5
+ };
6
+ export declare type SVGProps = Props & {
7
+ className: string;
8
+ };
9
+ export declare const getIconStyles: (props: Props, theme: Theme) => import("@emotion/utils").SerializedStyles;
10
+ declare const SubscriptIcon: {
11
+ (props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
12
+ displayName: string;
13
+ };
14
+ export default SubscriptIcon;
@@ -0,0 +1,14 @@
1
+ import type { Theme } from '@emotion/react';
2
+ export declare type Props = {
3
+ color?: 'solid' | 'neutral60' | 'surface' | 'info' | 'primary' | 'primary40' | 'warning' | 'error';
4
+ size?: 'small' | 'medium' | 'big' | 'scale';
5
+ };
6
+ export declare type SVGProps = Props & {
7
+ className: string;
8
+ };
9
+ export declare const getIconStyles: (props: Props, theme: Theme) => import("@emotion/utils").SerializedStyles;
10
+ declare const SuperscriptIcon: {
11
+ (props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
12
+ displayName: string;
13
+ };
14
+ export default SuperscriptIcon;
@@ -0,0 +1,14 @@
1
+ import type { Theme } from '@emotion/react';
2
+ export declare type Props = {
3
+ color?: 'solid' | 'neutral60' | 'surface' | 'info' | 'primary' | 'primary40' | 'warning' | 'error';
4
+ size?: 'small' | 'medium' | 'big' | 'scale';
5
+ };
6
+ export declare type SVGProps = Props & {
7
+ className: string;
8
+ };
9
+ export declare const getIconStyles: (props: Props, theme: Theme) => import("@emotion/utils").SerializedStyles;
10
+ declare const UnderlineIcon: {
11
+ (props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
12
+ displayName: string;
13
+ };
14
+ export default UnderlineIcon;
@@ -0,0 +1,14 @@
1
+ import type { Theme } from '@emotion/react';
2
+ export declare type Props = {
3
+ color?: 'solid' | 'neutral60' | 'surface' | 'info' | 'primary' | 'primary40' | 'warning' | 'error';
4
+ size?: 'small' | 'medium' | 'big' | 'scale';
5
+ };
6
+ export declare type SVGProps = Props & {
7
+ className: string;
8
+ };
9
+ export declare const getIconStyles: (props: Props, theme: Theme) => import("@emotion/utils").SerializedStyles;
10
+ declare const UndoIcon: {
11
+ (props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
12
+ displayName: string;
13
+ };
14
+ export default UndoIcon;
@@ -0,0 +1,14 @@
1
+ import type { Theme } from '@emotion/react';
2
+ export declare type Props = {
3
+ color?: 'solid' | 'neutral60' | 'surface' | 'info' | 'primary' | 'primary40' | 'warning' | 'error';
4
+ size?: 'small' | 'medium' | 'big' | 'scale';
5
+ };
6
+ export declare type SVGProps = Props & {
7
+ className: string;
8
+ };
9
+ export declare const getIconStyles: (props: Props, theme: Theme) => import("@emotion/utils").SerializedStyles;
10
+ declare const UnorderedListIcon: {
11
+ (props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
12
+ displayName: string;
13
+ };
14
+ export default UnorderedListIcon;
@@ -0,0 +1,12 @@
1
+ export { default as BoldIcon } from './BoldReact';
2
+ export { default as ExpandFullIcon } from './ExpandFullReact';
3
+ export { default as ItalicIcon } from './ItalicReact';
4
+ export { default as MoreStylesIcon } from './MoreStylesReact';
5
+ export { default as OrderedListIcon } from './OrderedListReact';
6
+ export { default as RedoIcon } from './RedoReact';
7
+ export { default as StrikethroughIcon } from './StrikethroughReact';
8
+ export { default as SubscriptIcon } from './SubscriptReact';
9
+ export { default as SuperscriptIcon } from './SuperscriptReact';
10
+ export { default as UnderlineIcon } from './UnderlineReact';
11
+ export { default as UndoIcon } from './UndoReact';
12
+ export { default as UnorderedListIcon } from './UnorderedListReact';
@@ -0,0 +1 @@
1
+ export * from './generated';
@@ -0,0 +1,2 @@
1
+ export { default as HiddenInput } from './hidden-input';
2
+ export { default as RichTextBody } from './rich-text-body';