arxatec-ui 0.1.31 → 0.1.33
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/components/rich_text_editor/extensions/floating_toolbar/index.d.ts +10 -2
- package/dist/components/rich_text_editor/lib/annotation_editor_extensions.d.ts +2 -0
- package/dist/components/rich_text_editor/lib/editor_extensions.d.ts +4 -0
- package/dist/components/rich_text_editor/lib/html_importer.d.ts +2 -0
- package/dist/components/rich_text_editor/toolbars/font_family/constants.d.ts +22 -0
- package/dist/components/rich_text_editor/toolbars/font_family/index.d.ts +1 -0
- package/dist/components/rich_text_editor/toolbars/font_size/constants.d.ts +1 -0
- package/dist/components/rich_text_editor/toolbars/font_size/index.d.ts +1 -0
- package/dist/components/rich_text_editor/toolbars/index.d.ts +2 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +2745 -2473
- package/dist/index.js.map +1 -1
- package/dist/sidebar-O29UHYR9.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,12 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
1
2
|
import { Editor } from '@tiptap/core';
|
|
2
|
-
export
|
|
3
|
+
export type FloatingToolbarProps = {
|
|
3
4
|
editor: Editor | null;
|
|
4
|
-
|
|
5
|
+
extraActions?: ReactNode;
|
|
6
|
+
compact?: boolean;
|
|
7
|
+
showWhenCaretCollapsed?: boolean;
|
|
8
|
+
dismissOnBlurStrict?: boolean;
|
|
9
|
+
presentation?: "floating" | "dock";
|
|
10
|
+
panelClassName?: string;
|
|
11
|
+
};
|
|
12
|
+
export declare function FloatingToolbar({ editor, extraActions, compact, showWhenCaretCollapsed, dismissOnBlurStrict, presentation, panelClassName, }: FloatingToolbarProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare const FONT_FAMILY_OPTIONS: readonly [{
|
|
2
|
+
readonly name: "Predeterminado";
|
|
3
|
+
readonly value: "";
|
|
4
|
+
}, {
|
|
5
|
+
readonly name: "Arial";
|
|
6
|
+
readonly value: "Arial, sans-serif";
|
|
7
|
+
}, {
|
|
8
|
+
readonly name: "Helvetica";
|
|
9
|
+
readonly value: "Helvetica, Arial, sans-serif";
|
|
10
|
+
}, {
|
|
11
|
+
readonly name: "Times New Roman";
|
|
12
|
+
readonly value: "Times New Roman, Times, serif";
|
|
13
|
+
}, {
|
|
14
|
+
readonly name: "Courier New";
|
|
15
|
+
readonly value: "Courier New, Courier, monospace";
|
|
16
|
+
}, {
|
|
17
|
+
readonly name: "Georgia";
|
|
18
|
+
readonly value: "Georgia, serif";
|
|
19
|
+
}, {
|
|
20
|
+
readonly name: "Verdana";
|
|
21
|
+
readonly value: "Verdana, Geneva, sans-serif";
|
|
22
|
+
}];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const FontFamilyToolbar: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const FONT_SIZE_PRESETS: readonly ["10px", "11px", "12px", "14px", "16px", "18px", "20px", "22px", "24px", "28px", "32px", "36px", "40px", "48px", "56px", "64px", "72px"];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const FontSizeToolbar: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -5,6 +5,8 @@ export * from './bullet_list';
|
|
|
5
5
|
export * from './code';
|
|
6
6
|
export * from './code_block';
|
|
7
7
|
export * from './color_and_highlight';
|
|
8
|
+
export * from './font_family';
|
|
9
|
+
export * from './font_size';
|
|
8
10
|
export * from './editor_toolbar';
|
|
9
11
|
export * from './formatting_styles_popover';
|
|
10
12
|
export * from './hard_break';
|
package/dist/index.d.ts
CHANGED
|
@@ -62,6 +62,11 @@ export * from './components/text_area';
|
|
|
62
62
|
export * from './components/toggle';
|
|
63
63
|
export * from './components/tooltip';
|
|
64
64
|
export * from './components/rich_text_editor';
|
|
65
|
+
export { createRichTextEditorExtensions, createRichTextEditorImportExtensions, } from './components/rich_text_editor/lib/editor_extensions';
|
|
66
|
+
export { htmlToTiptapJson } from './components/rich_text_editor/lib/html_importer';
|
|
67
|
+
export { FloatingToolbar } from './components/rich_text_editor/extensions/floating_toolbar';
|
|
68
|
+
export type { FloatingToolbarProps } from './components/rich_text_editor/extensions/floating_toolbar';
|
|
69
|
+
export { createAnnotationEditorExtensions } from './components/rich_text_editor/lib/annotation_editor_extensions';
|
|
65
70
|
export * from './components/form_input';
|
|
66
71
|
export * from './components/form_textarea';
|
|
67
72
|
export * from './components/form_select';
|