@react-email/editor 0.0.0-experimental.42 → 0.0.0-experimental.44
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/core/index.cjs +4 -3
- package/dist/core/index.d.cts +2 -2
- package/dist/core/index.d.mts +3 -3
- package/dist/core/index.mjs +3 -3
- package/dist/{create-paste-handler-CGR738bC.d.mts → create-paste-handler-DsJYKisA.d.mts} +1 -1
- package/dist/{create-paste-handler-CGR738bC.d.mts.map → create-paste-handler-DsJYKisA.d.mts.map} +1 -1
- package/dist/{event-bus-CHEzOS_O.mjs → event-bus-BFzKTuhV.mjs} +34 -3
- package/dist/event-bus-BFzKTuhV.mjs.map +1 -0
- package/dist/{event-bus-fb8U7hrl.cjs → event-bus-D-uahiao.cjs} +58 -3
- package/dist/{extension-BZsTEb_s.mjs → extension-B_ImOuII.mjs} +298 -11
- package/dist/extension-B_ImOuII.mjs.map +1 -0
- package/dist/{extension-D23sh0Nj.cjs → extension-DHsEsAaO.cjs} +298 -35
- package/dist/extensions/index.cjs +3 -3
- package/dist/extensions/index.d.cts +3 -1
- package/dist/extensions/index.d.cts.map +1 -1
- package/dist/extensions/index.d.mts +4 -2
- package/dist/extensions/index.d.mts.map +1 -1
- package/dist/extensions/index.mjs +3 -3
- package/dist/{extensions-D-VkzZTa.mjs → extensions-CLBkYvzM.mjs} +76 -45
- package/dist/extensions-CLBkYvzM.mjs.map +1 -0
- package/dist/{extensions-wGY7l1wH.cjs → extensions-ZVX3PUnH.cjs} +83 -52
- package/dist/{styles-C-cCyJCn.cjs → global-content-6jVh6L0b.mjs} +87 -17
- package/dist/global-content-6jVh6L0b.mjs.map +1 -0
- package/dist/{styles-_TMw3YxC.mjs → global-content-D3TNgSN6.cjs} +130 -2
- package/dist/{index-CxX7W63O.d.mts → index-BL2rehV8.d.mts} +68 -4
- package/dist/index-BL2rehV8.d.mts.map +1 -0
- package/dist/{index-C4KcMQ0R.d.cts → index-DJgMqa5C.d.cts} +67 -3
- package/dist/index-DJgMqa5C.d.cts.map +1 -0
- package/dist/index.cjs +5 -10
- package/dist/index.css +339 -0
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +3 -3
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +8 -13
- package/dist/index.mjs.map +1 -1
- package/dist/plugins/index.cjs +1 -5
- package/dist/plugins/index.d.cts +5 -123
- package/dist/plugins/index.d.cts.map +1 -1
- package/dist/plugins/index.d.mts +5 -123
- package/dist/plugins/index.d.mts.map +1 -1
- package/dist/plugins/index.mjs +2 -2
- package/dist/{root-Jq1R3tkX.cjs → root-CEAehvsX.cjs} +75 -88
- package/dist/{root-pS4l8bVZ.mjs → root-CJuwiIRn.mjs} +83 -84
- package/dist/root-CJuwiIRn.mjs.map +1 -0
- package/dist/{set-text-alignment-OA8IMWmO.mjs → set-text-alignment-GMXOPMlJ.mjs} +1 -1
- package/dist/{set-text-alignment-OA8IMWmO.mjs.map → set-text-alignment-GMXOPMlJ.mjs.map} +1 -1
- package/dist/types-BNEbRz-a.d.cts +47 -0
- package/dist/types-BNEbRz-a.d.cts.map +1 -0
- package/dist/types-C8k-blF7.d.mts +47 -0
- package/dist/types-C8k-blF7.d.mts.map +1 -0
- package/dist/ui/index.cjs +2970 -20
- package/dist/ui/index.d.cts +472 -160
- package/dist/ui/index.d.cts.map +1 -1
- package/dist/ui/index.d.mts +514 -202
- package/dist/ui/index.d.mts.map +1 -1
- package/dist/ui/index.mjs +2929 -3
- package/dist/ui/index.mjs.map +1 -1
- package/dist/ui/inspector/inspector.css +338 -0
- package/dist/ui/themes/default.css +339 -0
- package/dist/utils/index.cjs +1 -1
- package/dist/utils/index.mjs +1 -1
- package/package.json +6 -4
- package/readme.md +69 -0
- package/dist/event-bus-CHEzOS_O.mjs.map +0 -1
- package/dist/extension-BZsTEb_s.mjs.map +0 -1
- package/dist/extensions-D-VkzZTa.mjs.map +0 -1
- package/dist/global-content-D_WYaFgX.mjs +0 -78
- package/dist/global-content-D_WYaFgX.mjs.map +0 -1
- package/dist/global-content-bJgotqmA.cjs +0 -89
- package/dist/index-C4KcMQ0R.d.cts.map +0 -1
- package/dist/index-CxX7W63O.d.mts.map +0 -1
- package/dist/root-pS4l8bVZ.mjs.map +0 -1
- package/dist/styles-_TMw3YxC.mjs.map +0 -1
- /package/dist/{set-text-alignment-Cv72txmv.cjs → set-text-alignment-aNb7Ml9N.cjs} +0 -0
package/dist/ui/index.d.mts
CHANGED
|
@@ -1,37 +1,39 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { a as PanelGroup, i as KnownThemeComponents, r as KnownCssProperties } from "../types-C8k-blF7.mjs";
|
|
2
|
+
import * as React$2 from "react";
|
|
3
|
+
import React$1, { ReactNode } from "react";
|
|
4
|
+
import * as react_jsx_runtime9 from "react/jsx-runtime";
|
|
4
5
|
import { Editor, Range } from "@tiptap/core";
|
|
5
6
|
import { EditorState, PluginKey } from "@tiptap/pm/state";
|
|
6
7
|
import { EditorView } from "@tiptap/pm/view";
|
|
8
|
+
import { Attrs } from "@tiptap/pm/model";
|
|
7
9
|
|
|
8
10
|
//#region src/ui/bubble-menu/create-mark-bubble-item.d.ts
|
|
9
11
|
interface PreWiredItemProps {
|
|
10
12
|
className?: string;
|
|
11
13
|
/** Override the default icon */
|
|
12
|
-
children?: React.ReactNode;
|
|
14
|
+
children?: React$2.ReactNode;
|
|
13
15
|
}
|
|
14
16
|
//#endregion
|
|
15
17
|
//#region src/ui/bubble-menu/align-center.d.ts
|
|
16
18
|
declare function BubbleMenuAlignCenter({
|
|
17
19
|
className,
|
|
18
20
|
children
|
|
19
|
-
}: PreWiredItemProps):
|
|
21
|
+
}: PreWiredItemProps): react_jsx_runtime9.JSX.Element;
|
|
20
22
|
//#endregion
|
|
21
23
|
//#region src/ui/bubble-menu/align-left.d.ts
|
|
22
24
|
declare function BubbleMenuAlignLeft({
|
|
23
25
|
className,
|
|
24
26
|
children
|
|
25
|
-
}: PreWiredItemProps):
|
|
27
|
+
}: PreWiredItemProps): react_jsx_runtime9.JSX.Element;
|
|
26
28
|
//#endregion
|
|
27
29
|
//#region src/ui/bubble-menu/align-right.d.ts
|
|
28
30
|
declare function BubbleMenuAlignRight({
|
|
29
31
|
className,
|
|
30
32
|
children
|
|
31
|
-
}: PreWiredItemProps):
|
|
33
|
+
}: PreWiredItemProps): react_jsx_runtime9.JSX.Element;
|
|
32
34
|
//#endregion
|
|
33
35
|
//#region src/ui/bubble-menu/button-default.d.ts
|
|
34
|
-
interface BubbleMenuButtonDefaultProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
36
|
+
interface BubbleMenuButtonDefaultProps extends Omit<React$2.ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
35
37
|
placement?: 'top' | 'bottom';
|
|
36
38
|
offset?: number;
|
|
37
39
|
onHide?: () => void;
|
|
@@ -48,17 +50,17 @@ declare function BubbleMenuButtonDefault({
|
|
|
48
50
|
onLinkApply,
|
|
49
51
|
onLinkRemove,
|
|
50
52
|
...rest
|
|
51
|
-
}: BubbleMenuButtonDefaultProps):
|
|
53
|
+
}: BubbleMenuButtonDefaultProps): react_jsx_runtime9.JSX.Element;
|
|
52
54
|
//#endregion
|
|
53
55
|
//#region src/ui/bubble-menu/button-edit-link.d.ts
|
|
54
|
-
interface BubbleMenuButtonEditLinkProps extends Omit<React.ComponentProps<'button'>, 'type'> {}
|
|
56
|
+
interface BubbleMenuButtonEditLinkProps extends Omit<React$2.ComponentProps<'button'>, 'type'> {}
|
|
55
57
|
declare function BubbleMenuButtonEditLink({
|
|
56
58
|
className,
|
|
57
59
|
children,
|
|
58
60
|
onClick,
|
|
59
61
|
onMouseDown,
|
|
60
62
|
...rest
|
|
61
|
-
}: BubbleMenuButtonEditLinkProps):
|
|
63
|
+
}: BubbleMenuButtonEditLinkProps): react_jsx_runtime9.JSX.Element;
|
|
62
64
|
//#endregion
|
|
63
65
|
//#region src/ui/bubble-menu/button-form.d.ts
|
|
64
66
|
interface BubbleMenuButtonFormProps {
|
|
@@ -72,17 +74,17 @@ declare function BubbleMenuButtonForm({
|
|
|
72
74
|
validateUrl,
|
|
73
75
|
onLinkApply,
|
|
74
76
|
onLinkRemove
|
|
75
|
-
}: BubbleMenuButtonFormProps):
|
|
77
|
+
}: BubbleMenuButtonFormProps): react_jsx_runtime9.JSX.Element | null;
|
|
76
78
|
//#endregion
|
|
77
79
|
//#region src/ui/bubble-menu/button-toolbar.d.ts
|
|
78
|
-
interface BubbleMenuButtonToolbarProps extends React.ComponentProps<'div'> {}
|
|
80
|
+
interface BubbleMenuButtonToolbarProps extends React$2.ComponentProps<'div'> {}
|
|
79
81
|
declare function BubbleMenuButtonToolbar({
|
|
80
82
|
children,
|
|
81
83
|
...rest
|
|
82
|
-
}: BubbleMenuButtonToolbarProps):
|
|
84
|
+
}: BubbleMenuButtonToolbarProps): react_jsx_runtime9.JSX.Element | null;
|
|
83
85
|
//#endregion
|
|
84
86
|
//#region src/ui/bubble-menu/button-unlink.d.ts
|
|
85
|
-
interface BubbleMenuButtonUnlinkProps extends Omit<React.ComponentProps<'button'>, 'type'> {
|
|
87
|
+
interface BubbleMenuButtonUnlinkProps extends Omit<React$2.ComponentProps<'button'>, 'type'> {
|
|
86
88
|
onLinkRemove?: () => void;
|
|
87
89
|
}
|
|
88
90
|
declare function BubbleMenuButtonUnlink({
|
|
@@ -92,11 +94,11 @@ declare function BubbleMenuButtonUnlink({
|
|
|
92
94
|
onMouseDown,
|
|
93
95
|
onLinkRemove,
|
|
94
96
|
...rest
|
|
95
|
-
}: BubbleMenuButtonUnlinkProps):
|
|
97
|
+
}: BubbleMenuButtonUnlinkProps): react_jsx_runtime9.JSX.Element;
|
|
96
98
|
//#endregion
|
|
97
99
|
//#region src/ui/bubble-menu/default.d.ts
|
|
98
100
|
type ExcludableItem$2 = 'bold' | 'italic' | 'underline' | 'strike' | 'code' | 'uppercase' | 'align-left' | 'align-center' | 'align-right' | 'node-selector' | 'link-selector';
|
|
99
|
-
interface BubbleMenuDefaultProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
101
|
+
interface BubbleMenuDefaultProps extends Omit<React$2.ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
100
102
|
excludeItems?: ExcludableItem$2[];
|
|
101
103
|
hideWhenActiveNodes?: string[];
|
|
102
104
|
hideWhenActiveMarks?: string[];
|
|
@@ -113,21 +115,21 @@ declare function BubbleMenuDefault({
|
|
|
113
115
|
onHide,
|
|
114
116
|
className,
|
|
115
117
|
...rest
|
|
116
|
-
}: BubbleMenuDefaultProps):
|
|
118
|
+
}: BubbleMenuDefaultProps): react_jsx_runtime9.JSX.Element;
|
|
117
119
|
//#endregion
|
|
118
120
|
//#region src/ui/bubble-menu/group.d.ts
|
|
119
121
|
interface BubbleMenuItemGroupProps {
|
|
120
122
|
className?: string;
|
|
121
|
-
children: React.ReactNode;
|
|
123
|
+
children: React$2.ReactNode;
|
|
122
124
|
}
|
|
123
125
|
declare function BubbleMenuItemGroup({
|
|
124
126
|
className,
|
|
125
127
|
children
|
|
126
|
-
}: BubbleMenuItemGroupProps):
|
|
128
|
+
}: BubbleMenuItemGroupProps): react_jsx_runtime9.JSX.Element;
|
|
127
129
|
//#endregion
|
|
128
130
|
//#region src/ui/bubble-menu/image-default.d.ts
|
|
129
131
|
type ExcludableItem$1 = 'edit-link';
|
|
130
|
-
interface BubbleMenuImageDefaultProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
132
|
+
interface BubbleMenuImageDefaultProps extends Omit<React$2.ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
131
133
|
excludeItems?: ExcludableItem$1[];
|
|
132
134
|
placement?: 'top' | 'bottom';
|
|
133
135
|
offset?: number;
|
|
@@ -140,27 +142,27 @@ declare function BubbleMenuImageDefault({
|
|
|
140
142
|
onHide,
|
|
141
143
|
className,
|
|
142
144
|
...rest
|
|
143
|
-
}: BubbleMenuImageDefaultProps):
|
|
145
|
+
}: BubbleMenuImageDefaultProps): react_jsx_runtime9.JSX.Element;
|
|
144
146
|
//#endregion
|
|
145
147
|
//#region src/ui/bubble-menu/image-edit-link.d.ts
|
|
146
|
-
interface BubbleMenuImageEditLinkProps extends Omit<React.ComponentProps<'button'>, 'type'> {}
|
|
148
|
+
interface BubbleMenuImageEditLinkProps extends Omit<React$2.ComponentProps<'button'>, 'type'> {}
|
|
147
149
|
declare function BubbleMenuImageEditLink({
|
|
148
150
|
className,
|
|
149
151
|
children,
|
|
150
152
|
onClick,
|
|
151
153
|
onMouseDown,
|
|
152
154
|
...rest
|
|
153
|
-
}: BubbleMenuImageEditLinkProps):
|
|
155
|
+
}: BubbleMenuImageEditLinkProps): react_jsx_runtime9.JSX.Element;
|
|
154
156
|
//#endregion
|
|
155
157
|
//#region src/ui/bubble-menu/image-toolbar.d.ts
|
|
156
|
-
interface BubbleMenuImageToolbarProps extends React.ComponentProps<'div'> {}
|
|
158
|
+
interface BubbleMenuImageToolbarProps extends React$2.ComponentProps<'div'> {}
|
|
157
159
|
declare function BubbleMenuImageToolbar({
|
|
158
160
|
children,
|
|
159
161
|
...rest
|
|
160
|
-
}: BubbleMenuImageToolbarProps):
|
|
162
|
+
}: BubbleMenuImageToolbarProps): react_jsx_runtime9.JSX.Element | null;
|
|
161
163
|
//#endregion
|
|
162
164
|
//#region src/ui/bubble-menu/item.d.ts
|
|
163
|
-
interface BubbleMenuItemProps extends React.ComponentProps<'button'> {
|
|
165
|
+
interface BubbleMenuItemProps extends React$2.ComponentProps<'button'> {
|
|
164
166
|
/** Used for aria-label and data-item attribute */
|
|
165
167
|
name: string;
|
|
166
168
|
/** Whether this item is currently active */
|
|
@@ -175,11 +177,11 @@ declare function BubbleMenuItem({
|
|
|
175
177
|
className,
|
|
176
178
|
children,
|
|
177
179
|
...rest
|
|
178
|
-
}: BubbleMenuItemProps):
|
|
180
|
+
}: BubbleMenuItemProps): react_jsx_runtime9.JSX.Element;
|
|
179
181
|
//#endregion
|
|
180
182
|
//#region src/ui/bubble-menu/link-default.d.ts
|
|
181
183
|
type ExcludableItem = 'edit-link' | 'open-link' | 'unlink';
|
|
182
|
-
interface BubbleMenuLinkDefaultProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
184
|
+
interface BubbleMenuLinkDefaultProps extends Omit<React$2.ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
183
185
|
excludeItems?: ExcludableItem[];
|
|
184
186
|
placement?: 'top' | 'bottom';
|
|
185
187
|
offset?: number;
|
|
@@ -198,17 +200,17 @@ declare function BubbleMenuLinkDefault({
|
|
|
198
200
|
onLinkApply,
|
|
199
201
|
onLinkRemove,
|
|
200
202
|
...rest
|
|
201
|
-
}: BubbleMenuLinkDefaultProps):
|
|
203
|
+
}: BubbleMenuLinkDefaultProps): react_jsx_runtime9.JSX.Element;
|
|
202
204
|
//#endregion
|
|
203
205
|
//#region src/ui/bubble-menu/link-edit-link.d.ts
|
|
204
|
-
interface BubbleMenuLinkEditLinkProps extends Omit<React.ComponentProps<'button'>, 'type'> {}
|
|
206
|
+
interface BubbleMenuLinkEditLinkProps extends Omit<React$2.ComponentProps<'button'>, 'type'> {}
|
|
205
207
|
declare function BubbleMenuLinkEditLink({
|
|
206
208
|
className,
|
|
207
209
|
children,
|
|
208
210
|
onClick,
|
|
209
211
|
onMouseDown,
|
|
210
212
|
...rest
|
|
211
|
-
}: BubbleMenuLinkEditLinkProps):
|
|
213
|
+
}: BubbleMenuLinkEditLinkProps): react_jsx_runtime9.JSX.Element;
|
|
212
214
|
//#endregion
|
|
213
215
|
//#region src/ui/bubble-menu/link-form.d.ts
|
|
214
216
|
interface BubbleMenuLinkFormProps {
|
|
@@ -216,7 +218,7 @@ interface BubbleMenuLinkFormProps {
|
|
|
216
218
|
validateUrl?: (value: string) => string | null;
|
|
217
219
|
onLinkApply?: (href: string) => void;
|
|
218
220
|
onLinkRemove?: () => void;
|
|
219
|
-
children?: React.ReactNode;
|
|
221
|
+
children?: React$2.ReactNode;
|
|
220
222
|
}
|
|
221
223
|
declare function BubbleMenuLinkForm({
|
|
222
224
|
className,
|
|
@@ -224,15 +226,15 @@ declare function BubbleMenuLinkForm({
|
|
|
224
226
|
onLinkApply,
|
|
225
227
|
onLinkRemove,
|
|
226
228
|
children
|
|
227
|
-
}: BubbleMenuLinkFormProps):
|
|
229
|
+
}: BubbleMenuLinkFormProps): react_jsx_runtime9.JSX.Element | null;
|
|
228
230
|
//#endregion
|
|
229
231
|
//#region src/ui/bubble-menu/link-open-link.d.ts
|
|
230
|
-
interface BubbleMenuLinkOpenLinkProps extends Omit<React.ComponentProps<'a'>, 'href' | 'target' | 'rel'> {}
|
|
232
|
+
interface BubbleMenuLinkOpenLinkProps extends Omit<React$2.ComponentProps<'a'>, 'href' | 'target' | 'rel'> {}
|
|
231
233
|
declare function BubbleMenuLinkOpenLink({
|
|
232
234
|
className,
|
|
233
235
|
children,
|
|
234
236
|
...rest
|
|
235
|
-
}: BubbleMenuLinkOpenLinkProps):
|
|
237
|
+
}: BubbleMenuLinkOpenLinkProps): react_jsx_runtime9.JSX.Element;
|
|
236
238
|
//#endregion
|
|
237
239
|
//#region src/ui/bubble-menu/link-selector.d.ts
|
|
238
240
|
interface BubbleMenuLinkSelectorProps {
|
|
@@ -246,7 +248,7 @@ interface BubbleMenuLinkSelectorProps {
|
|
|
246
248
|
/** Called after link is removed */
|
|
247
249
|
onLinkRemove?: () => void;
|
|
248
250
|
/** Plugin slot: extra actions rendered inside the link input form */
|
|
249
|
-
children?: React.ReactNode;
|
|
251
|
+
children?: React$2.ReactNode;
|
|
250
252
|
/** Controlled open state */
|
|
251
253
|
open?: boolean;
|
|
252
254
|
/** Called when open state changes */
|
|
@@ -261,30 +263,30 @@ declare function BubbleMenuLinkSelector({
|
|
|
261
263
|
children,
|
|
262
264
|
open: controlledOpen,
|
|
263
265
|
onOpenChange
|
|
264
|
-
}: BubbleMenuLinkSelectorProps):
|
|
266
|
+
}: BubbleMenuLinkSelectorProps): react_jsx_runtime9.JSX.Element | null;
|
|
265
267
|
//#endregion
|
|
266
268
|
//#region src/ui/bubble-menu/link-toolbar.d.ts
|
|
267
|
-
interface BubbleMenuLinkToolbarProps extends React.ComponentProps<'div'> {}
|
|
269
|
+
interface BubbleMenuLinkToolbarProps extends React$2.ComponentProps<'div'> {}
|
|
268
270
|
declare function BubbleMenuLinkToolbar({
|
|
269
271
|
children,
|
|
270
272
|
...rest
|
|
271
|
-
}: BubbleMenuLinkToolbarProps):
|
|
273
|
+
}: BubbleMenuLinkToolbarProps): react_jsx_runtime9.JSX.Element | null;
|
|
272
274
|
//#endregion
|
|
273
275
|
//#region src/ui/bubble-menu/link-unlink.d.ts
|
|
274
|
-
interface BubbleMenuLinkUnlinkProps extends Omit<React.ComponentProps<'button'>, 'type'> {}
|
|
276
|
+
interface BubbleMenuLinkUnlinkProps extends Omit<React$2.ComponentProps<'button'>, 'type'> {}
|
|
275
277
|
declare function BubbleMenuLinkUnlink({
|
|
276
278
|
className,
|
|
277
279
|
children,
|
|
278
280
|
onClick,
|
|
279
281
|
onMouseDown,
|
|
280
282
|
...rest
|
|
281
|
-
}: BubbleMenuLinkUnlinkProps):
|
|
283
|
+
}: BubbleMenuLinkUnlinkProps): react_jsx_runtime9.JSX.Element;
|
|
282
284
|
//#endregion
|
|
283
285
|
//#region src/ui/bubble-menu/node-selector.d.ts
|
|
284
286
|
type NodeType = 'Text' | 'Title' | 'Subtitle' | 'Heading' | 'Bullet List' | 'Numbered List' | 'Quote' | 'Code';
|
|
285
287
|
interface NodeSelectorItem {
|
|
286
288
|
name: NodeType;
|
|
287
|
-
icon: React.ComponentType<React.SVGAttributes<SVGSVGElement>>;
|
|
289
|
+
icon: React$2.ComponentType<React$2.SVGAttributes<SVGSVGElement>>;
|
|
288
290
|
command: () => void;
|
|
289
291
|
isActive: boolean;
|
|
290
292
|
}
|
|
@@ -296,7 +298,7 @@ interface NodeSelectorRootProps {
|
|
|
296
298
|
/** Called when open state changes */
|
|
297
299
|
onOpenChange?: (open: boolean) => void;
|
|
298
300
|
className?: string;
|
|
299
|
-
children: React.ReactNode;
|
|
301
|
+
children: React$2.ReactNode;
|
|
300
302
|
}
|
|
301
303
|
declare function NodeSelectorRoot({
|
|
302
304
|
omit,
|
|
@@ -304,34 +306,34 @@ declare function NodeSelectorRoot({
|
|
|
304
306
|
onOpenChange,
|
|
305
307
|
className,
|
|
306
308
|
children
|
|
307
|
-
}: NodeSelectorRootProps):
|
|
309
|
+
}: NodeSelectorRootProps): react_jsx_runtime9.JSX.Element | null;
|
|
308
310
|
interface NodeSelectorTriggerProps {
|
|
309
311
|
className?: string;
|
|
310
|
-
children?: React.ReactNode;
|
|
312
|
+
children?: React$2.ReactNode;
|
|
311
313
|
}
|
|
312
314
|
declare function NodeSelectorTrigger({
|
|
313
315
|
className,
|
|
314
316
|
children
|
|
315
|
-
}: NodeSelectorTriggerProps):
|
|
317
|
+
}: NodeSelectorTriggerProps): react_jsx_runtime9.JSX.Element;
|
|
316
318
|
interface NodeSelectorContentProps {
|
|
317
319
|
className?: string;
|
|
318
320
|
/** Popover alignment (default: "start") */
|
|
319
321
|
align?: 'start' | 'center' | 'end';
|
|
320
322
|
/** Render-prop for full control over item rendering.
|
|
321
323
|
* Receives the filtered items and a `close` function to dismiss the popover. */
|
|
322
|
-
children?: (items: NodeSelectorItem[], close: () => void) => React.ReactNode;
|
|
324
|
+
children?: (items: NodeSelectorItem[], close: () => void) => React$2.ReactNode;
|
|
323
325
|
}
|
|
324
326
|
declare function NodeSelectorContent({
|
|
325
327
|
className,
|
|
326
328
|
align,
|
|
327
329
|
children
|
|
328
|
-
}: NodeSelectorContentProps):
|
|
330
|
+
}: NodeSelectorContentProps): react_jsx_runtime9.JSX.Element;
|
|
329
331
|
interface BubbleMenuNodeSelectorProps {
|
|
330
332
|
/** Block types to exclude */
|
|
331
333
|
omit?: string[];
|
|
332
334
|
className?: string;
|
|
333
335
|
/** Override the trigger content (default: active item name + chevron icon) */
|
|
334
|
-
triggerContent?: React.ReactNode;
|
|
336
|
+
triggerContent?: React$2.ReactNode;
|
|
335
337
|
/** Controlled open state */
|
|
336
338
|
open?: boolean;
|
|
337
339
|
/** Called when open state changes */
|
|
@@ -343,7 +345,7 @@ declare function BubbleMenuNodeSelector({
|
|
|
343
345
|
triggerContent,
|
|
344
346
|
open,
|
|
345
347
|
onOpenChange
|
|
346
|
-
}: BubbleMenuNodeSelectorProps):
|
|
348
|
+
}: BubbleMenuNodeSelectorProps): react_jsx_runtime9.JSX.Element;
|
|
347
349
|
//#endregion
|
|
348
350
|
//#region src/ui/bubble-menu/triggers.d.ts
|
|
349
351
|
interface TriggerParams {
|
|
@@ -361,7 +363,7 @@ declare const bubbleMenuTriggers: {
|
|
|
361
363
|
};
|
|
362
364
|
//#endregion
|
|
363
365
|
//#region src/ui/bubble-menu/root.d.ts
|
|
364
|
-
interface BubbleMenuRootProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
366
|
+
interface BubbleMenuRootProps extends Omit<React$2.ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
365
367
|
trigger?: TriggerFn;
|
|
366
368
|
pluginKey?: PluginKey;
|
|
367
369
|
hideWhenActiveNodes?: string[];
|
|
@@ -369,7 +371,7 @@ interface BubbleMenuRootProps extends Omit<React.ComponentPropsWithoutRef<'div'>
|
|
|
369
371
|
placement?: 'top' | 'bottom';
|
|
370
372
|
offset?: number;
|
|
371
373
|
onHide?: () => void;
|
|
372
|
-
children: React.ReactNode;
|
|
374
|
+
children: React$2.ReactNode;
|
|
373
375
|
}
|
|
374
376
|
declare function BubbleMenuRoot({
|
|
375
377
|
trigger,
|
|
@@ -382,7 +384,7 @@ declare function BubbleMenuRoot({
|
|
|
382
384
|
className,
|
|
383
385
|
children,
|
|
384
386
|
...rest
|
|
385
|
-
}: BubbleMenuRootProps):
|
|
387
|
+
}: BubbleMenuRootProps): react_jsx_runtime9.JSX.Element | null;
|
|
386
388
|
//#endregion
|
|
387
389
|
//#region src/ui/bubble-menu/separator.d.ts
|
|
388
390
|
interface BubbleMenuSeparatorProps {
|
|
@@ -390,14 +392,14 @@ interface BubbleMenuSeparatorProps {
|
|
|
390
392
|
}
|
|
391
393
|
declare function BubbleMenuSeparator({
|
|
392
394
|
className
|
|
393
|
-
}: BubbleMenuSeparatorProps):
|
|
395
|
+
}: BubbleMenuSeparatorProps): react_jsx_runtime9.JSX.Element;
|
|
394
396
|
//#endregion
|
|
395
397
|
//#region src/ui/bubble-menu/bold.d.ts
|
|
396
398
|
declare const BubbleMenuBold: {
|
|
397
399
|
({
|
|
398
400
|
className,
|
|
399
401
|
children
|
|
400
|
-
}: PreWiredItemProps):
|
|
402
|
+
}: PreWiredItemProps): react_jsx_runtime9.JSX.Element;
|
|
401
403
|
displayName: string;
|
|
402
404
|
};
|
|
403
405
|
//#endregion
|
|
@@ -406,7 +408,7 @@ declare const BubbleMenuCode: {
|
|
|
406
408
|
({
|
|
407
409
|
className,
|
|
408
410
|
children
|
|
409
|
-
}: PreWiredItemProps):
|
|
411
|
+
}: PreWiredItemProps): react_jsx_runtime9.JSX.Element;
|
|
410
412
|
displayName: string;
|
|
411
413
|
};
|
|
412
414
|
//#endregion
|
|
@@ -423,7 +425,7 @@ declare const BubbleMenuItalic: {
|
|
|
423
425
|
({
|
|
424
426
|
className,
|
|
425
427
|
children
|
|
426
|
-
}: PreWiredItemProps):
|
|
428
|
+
}: PreWiredItemProps): react_jsx_runtime9.JSX.Element;
|
|
427
429
|
displayName: string;
|
|
428
430
|
};
|
|
429
431
|
//#endregion
|
|
@@ -432,7 +434,7 @@ declare const BubbleMenuStrike: {
|
|
|
432
434
|
({
|
|
433
435
|
className,
|
|
434
436
|
children
|
|
435
|
-
}: PreWiredItemProps):
|
|
437
|
+
}: PreWiredItemProps): react_jsx_runtime9.JSX.Element;
|
|
436
438
|
displayName: string;
|
|
437
439
|
};
|
|
438
440
|
//#endregion
|
|
@@ -441,7 +443,7 @@ declare const BubbleMenuUnderline: {
|
|
|
441
443
|
({
|
|
442
444
|
className,
|
|
443
445
|
children
|
|
444
|
-
}: PreWiredItemProps):
|
|
446
|
+
}: PreWiredItemProps): react_jsx_runtime9.JSX.Element;
|
|
445
447
|
displayName: string;
|
|
446
448
|
};
|
|
447
449
|
//#endregion
|
|
@@ -450,7 +452,7 @@ declare const BubbleMenuUppercase: {
|
|
|
450
452
|
({
|
|
451
453
|
className,
|
|
452
454
|
children
|
|
453
|
-
}: PreWiredItemProps):
|
|
455
|
+
}: PreWiredItemProps): react_jsx_runtime9.JSX.Element;
|
|
454
456
|
displayName: string;
|
|
455
457
|
};
|
|
456
458
|
//#endregion
|
|
@@ -464,42 +466,42 @@ declare const BubbleMenu: {
|
|
|
464
466
|
({
|
|
465
467
|
className,
|
|
466
468
|
children
|
|
467
|
-
}: PreWiredItemProps):
|
|
469
|
+
}: PreWiredItemProps): react_jsx_runtime9.JSX.Element;
|
|
468
470
|
displayName: string;
|
|
469
471
|
};
|
|
470
472
|
readonly Italic: {
|
|
471
473
|
({
|
|
472
474
|
className,
|
|
473
475
|
children
|
|
474
|
-
}: PreWiredItemProps):
|
|
476
|
+
}: PreWiredItemProps): react_jsx_runtime9.JSX.Element;
|
|
475
477
|
displayName: string;
|
|
476
478
|
};
|
|
477
479
|
readonly Underline: {
|
|
478
480
|
({
|
|
479
481
|
className,
|
|
480
482
|
children
|
|
481
|
-
}: PreWiredItemProps):
|
|
483
|
+
}: PreWiredItemProps): react_jsx_runtime9.JSX.Element;
|
|
482
484
|
displayName: string;
|
|
483
485
|
};
|
|
484
486
|
readonly Strike: {
|
|
485
487
|
({
|
|
486
488
|
className,
|
|
487
489
|
children
|
|
488
|
-
}: PreWiredItemProps):
|
|
490
|
+
}: PreWiredItemProps): react_jsx_runtime9.JSX.Element;
|
|
489
491
|
displayName: string;
|
|
490
492
|
};
|
|
491
493
|
readonly Code: {
|
|
492
494
|
({
|
|
493
495
|
className,
|
|
494
496
|
children
|
|
495
|
-
}: PreWiredItemProps):
|
|
497
|
+
}: PreWiredItemProps): react_jsx_runtime9.JSX.Element;
|
|
496
498
|
displayName: string;
|
|
497
499
|
};
|
|
498
500
|
readonly Uppercase: {
|
|
499
501
|
({
|
|
500
502
|
className,
|
|
501
503
|
children
|
|
502
|
-
}: PreWiredItemProps):
|
|
504
|
+
}: PreWiredItemProps): react_jsx_runtime9.JSX.Element;
|
|
503
505
|
displayName: string;
|
|
504
506
|
};
|
|
505
507
|
readonly AlignLeft: typeof BubbleMenuAlignLeft;
|
|
@@ -528,326 +530,636 @@ declare const BubbleMenu: {
|
|
|
528
530
|
readonly ImageDefault: typeof BubbleMenuImageDefault;
|
|
529
531
|
};
|
|
530
532
|
//#endregion
|
|
531
|
-
//#region src/ui/
|
|
532
|
-
interface
|
|
533
|
+
//#region src/ui/editor-focus-scope.d.ts
|
|
534
|
+
interface FocusScopeContextValue {
|
|
535
|
+
registerScope: (el: HTMLElement | null) => void;
|
|
536
|
+
unregisterScope: (el: HTMLElement | null) => void;
|
|
537
|
+
}
|
|
538
|
+
declare function useEditorFocusScope(): FocusScopeContextValue;
|
|
539
|
+
interface EditorFocusScopeProviderProps {
|
|
540
|
+
children: React$2.ReactNode;
|
|
541
|
+
clearSelectionOnBlur?: boolean;
|
|
542
|
+
}
|
|
543
|
+
declare function EditorFocusScopeProvider({
|
|
544
|
+
children,
|
|
545
|
+
clearSelectionOnBlur
|
|
546
|
+
}: EditorFocusScopeProviderProps): react_jsx_runtime9.JSX.Element;
|
|
547
|
+
interface EditorFocusScopeProps {
|
|
548
|
+
children: React$2.ReactNode;
|
|
549
|
+
}
|
|
550
|
+
declare function EditorFocusScope({
|
|
551
|
+
children
|
|
552
|
+
}: EditorFocusScopeProps): react_jsx_runtime9.JSX.Element;
|
|
553
|
+
//#endregion
|
|
554
|
+
//#region src/ui/icons/types.d.ts
|
|
555
|
+
interface IconProps extends React$2.SVGAttributes<SVGSVGElement> {
|
|
533
556
|
size?: number | string;
|
|
534
557
|
}
|
|
558
|
+
//#endregion
|
|
559
|
+
//#region src/ui/icons/align-center.d.ts
|
|
535
560
|
declare function AlignCenterIcon({
|
|
536
561
|
size,
|
|
537
562
|
width,
|
|
538
563
|
height,
|
|
539
564
|
...props
|
|
540
|
-
}: IconProps
|
|
565
|
+
}: IconProps): react_jsx_runtime9.JSX.Element;
|
|
566
|
+
//#endregion
|
|
567
|
+
//#region src/ui/icons/align-center-vertical.d.ts
|
|
568
|
+
declare function AlignCenterVerticalIcon({
|
|
569
|
+
size,
|
|
570
|
+
width,
|
|
571
|
+
height,
|
|
572
|
+
...props
|
|
573
|
+
}: IconProps): react_jsx_runtime9.JSX.Element;
|
|
574
|
+
//#endregion
|
|
575
|
+
//#region src/ui/icons/align-end-vertical.d.ts
|
|
576
|
+
declare function AlignEndVerticalIcon({
|
|
577
|
+
size,
|
|
578
|
+
width,
|
|
579
|
+
height,
|
|
580
|
+
...props
|
|
581
|
+
}: IconProps): react_jsx_runtime9.JSX.Element;
|
|
541
582
|
//#endregion
|
|
542
583
|
//#region src/ui/icons/align-left.d.ts
|
|
543
|
-
interface IconProps$27 extends React.SVGAttributes<SVGSVGElement> {
|
|
544
|
-
size?: number | string;
|
|
545
|
-
}
|
|
546
584
|
declare function AlignLeftIcon({
|
|
547
585
|
size,
|
|
548
586
|
width,
|
|
549
587
|
height,
|
|
550
588
|
...props
|
|
551
|
-
}: IconProps
|
|
589
|
+
}: IconProps): react_jsx_runtime9.JSX.Element;
|
|
552
590
|
//#endregion
|
|
553
591
|
//#region src/ui/icons/align-right.d.ts
|
|
554
|
-
interface IconProps$26 extends React.SVGAttributes<SVGSVGElement> {
|
|
555
|
-
size?: number | string;
|
|
556
|
-
}
|
|
557
592
|
declare function AlignRightIcon({
|
|
558
593
|
size,
|
|
559
594
|
width,
|
|
560
595
|
height,
|
|
561
596
|
...props
|
|
562
|
-
}: IconProps
|
|
597
|
+
}: IconProps): react_jsx_runtime9.JSX.Element;
|
|
598
|
+
//#endregion
|
|
599
|
+
//#region src/ui/icons/align-start-vertical.d.ts
|
|
600
|
+
declare function AlignStartVerticalIcon({
|
|
601
|
+
size,
|
|
602
|
+
width,
|
|
603
|
+
height,
|
|
604
|
+
...props
|
|
605
|
+
}: IconProps): react_jsx_runtime9.JSX.Element;
|
|
563
606
|
//#endregion
|
|
564
607
|
//#region src/ui/icons/bold.d.ts
|
|
565
|
-
interface IconProps$25 extends React.SVGAttributes<SVGSVGElement> {
|
|
566
|
-
size?: number | string;
|
|
567
|
-
}
|
|
568
608
|
declare function BoldIcon({
|
|
569
609
|
size,
|
|
570
610
|
width,
|
|
571
611
|
height,
|
|
572
612
|
...props
|
|
573
|
-
}: IconProps
|
|
613
|
+
}: IconProps): react_jsx_runtime9.JSX.Element;
|
|
614
|
+
//#endregion
|
|
615
|
+
//#region src/ui/icons/box.d.ts
|
|
616
|
+
declare function BoxIcon({
|
|
617
|
+
size,
|
|
618
|
+
width,
|
|
619
|
+
height,
|
|
620
|
+
...props
|
|
621
|
+
}: IconProps): react_jsx_runtime9.JSX.Element;
|
|
574
622
|
//#endregion
|
|
575
623
|
//#region src/ui/icons/case-upper.d.ts
|
|
576
|
-
interface IconProps$24 extends React.SVGAttributes<SVGSVGElement> {
|
|
577
|
-
size?: number | string;
|
|
578
|
-
}
|
|
579
624
|
declare function CaseUpperIcon({
|
|
580
625
|
size,
|
|
581
626
|
width,
|
|
582
627
|
height,
|
|
583
628
|
...props
|
|
584
|
-
}: IconProps
|
|
629
|
+
}: IconProps): react_jsx_runtime9.JSX.Element;
|
|
585
630
|
//#endregion
|
|
586
631
|
//#region src/ui/icons/check.d.ts
|
|
587
|
-
|
|
588
|
-
size?: number | string;
|
|
589
|
-
}
|
|
590
|
-
declare function Check({
|
|
632
|
+
declare function CheckIcon({
|
|
591
633
|
size,
|
|
592
634
|
width,
|
|
593
635
|
height,
|
|
594
636
|
...props
|
|
595
|
-
}: IconProps
|
|
637
|
+
}: IconProps): react_jsx_runtime9.JSX.Element;
|
|
596
638
|
//#endregion
|
|
597
639
|
//#region src/ui/icons/chevron-down.d.ts
|
|
598
|
-
|
|
599
|
-
size?: number | string;
|
|
600
|
-
}
|
|
601
|
-
declare function ChevronDown({
|
|
640
|
+
declare function ChevronDownIcon({
|
|
602
641
|
size,
|
|
603
642
|
width,
|
|
604
643
|
height,
|
|
605
644
|
...props
|
|
606
|
-
}: IconProps
|
|
645
|
+
}: IconProps): react_jsx_runtime9.JSX.Element;
|
|
607
646
|
//#endregion
|
|
608
647
|
//#region src/ui/icons/code.d.ts
|
|
609
|
-
interface IconProps$21 extends React.SVGAttributes<SVGSVGElement> {
|
|
610
|
-
size?: number | string;
|
|
611
|
-
}
|
|
612
648
|
declare function CodeIcon({
|
|
613
649
|
size,
|
|
614
650
|
width,
|
|
615
651
|
height,
|
|
616
652
|
...props
|
|
617
|
-
}: IconProps
|
|
618
|
-
declare const Code: typeof CodeIcon;
|
|
653
|
+
}: IconProps): react_jsx_runtime9.JSX.Element;
|
|
619
654
|
//#endregion
|
|
620
655
|
//#region src/ui/icons/columns-2.d.ts
|
|
621
|
-
|
|
622
|
-
size?: number | string;
|
|
623
|
-
}
|
|
624
|
-
declare function Columns2({
|
|
656
|
+
declare function Columns2Icon({
|
|
625
657
|
size,
|
|
626
658
|
width,
|
|
627
659
|
height,
|
|
628
660
|
...props
|
|
629
|
-
}: IconProps
|
|
661
|
+
}: IconProps): react_jsx_runtime9.JSX.Element;
|
|
630
662
|
//#endregion
|
|
631
663
|
//#region src/ui/icons/columns-3.d.ts
|
|
632
|
-
|
|
633
|
-
size?: number | string;
|
|
634
|
-
}
|
|
635
|
-
declare function Columns3({
|
|
664
|
+
declare function Columns3Icon({
|
|
636
665
|
size,
|
|
637
666
|
width,
|
|
638
667
|
height,
|
|
639
668
|
...props
|
|
640
|
-
}: IconProps
|
|
669
|
+
}: IconProps): react_jsx_runtime9.JSX.Element;
|
|
641
670
|
//#endregion
|
|
642
671
|
//#region src/ui/icons/columns-4.d.ts
|
|
643
|
-
|
|
644
|
-
size
|
|
645
|
-
|
|
646
|
-
|
|
672
|
+
declare function Columns4Icon({
|
|
673
|
+
size,
|
|
674
|
+
width,
|
|
675
|
+
height,
|
|
676
|
+
...props
|
|
677
|
+
}: IconProps): react_jsx_runtime9.JSX.Element;
|
|
678
|
+
//#endregion
|
|
679
|
+
//#region src/ui/icons/corner-bottom-left.d.ts
|
|
680
|
+
declare function CornerBottomLeftIcon({
|
|
681
|
+
size,
|
|
682
|
+
width,
|
|
683
|
+
height,
|
|
684
|
+
...props
|
|
685
|
+
}: IconProps): react_jsx_runtime9.JSX.Element;
|
|
686
|
+
//#endregion
|
|
687
|
+
//#region src/ui/icons/corner-bottom-right.d.ts
|
|
688
|
+
declare function CornerBottomRightIcon({
|
|
689
|
+
size,
|
|
690
|
+
width,
|
|
691
|
+
height,
|
|
692
|
+
...props
|
|
693
|
+
}: IconProps): react_jsx_runtime9.JSX.Element;
|
|
694
|
+
//#endregion
|
|
695
|
+
//#region src/ui/icons/corner-top-left.d.ts
|
|
696
|
+
declare function CornerTopLeftIcon({
|
|
697
|
+
size,
|
|
698
|
+
width,
|
|
699
|
+
height,
|
|
700
|
+
...props
|
|
701
|
+
}: IconProps): react_jsx_runtime9.JSX.Element;
|
|
702
|
+
//#endregion
|
|
703
|
+
//#region src/ui/icons/corner-top-right.d.ts
|
|
704
|
+
declare function CornerTopRightIcon({
|
|
647
705
|
size,
|
|
648
706
|
width,
|
|
649
707
|
height,
|
|
650
708
|
...props
|
|
651
|
-
}: IconProps
|
|
709
|
+
}: IconProps): react_jsx_runtime9.JSX.Element;
|
|
652
710
|
//#endregion
|
|
653
711
|
//#region src/ui/icons/external-link.d.ts
|
|
654
|
-
interface IconProps$17 extends React.SVGAttributes<SVGSVGElement> {
|
|
655
|
-
size?: number | string;
|
|
656
|
-
}
|
|
657
712
|
declare function ExternalLinkIcon({
|
|
658
713
|
size,
|
|
659
714
|
width,
|
|
660
715
|
height,
|
|
661
716
|
...props
|
|
662
|
-
}: IconProps
|
|
717
|
+
}: IconProps): react_jsx_runtime9.JSX.Element;
|
|
663
718
|
//#endregion
|
|
664
719
|
//#region src/ui/icons/heading-1.d.ts
|
|
665
|
-
|
|
666
|
-
size?: number | string;
|
|
667
|
-
}
|
|
668
|
-
declare function Heading1({
|
|
720
|
+
declare function Heading1Icon({
|
|
669
721
|
size,
|
|
670
722
|
width,
|
|
671
723
|
height,
|
|
672
724
|
...props
|
|
673
|
-
}: IconProps
|
|
725
|
+
}: IconProps): react_jsx_runtime9.JSX.Element;
|
|
674
726
|
//#endregion
|
|
675
727
|
//#region src/ui/icons/heading-2.d.ts
|
|
676
|
-
|
|
677
|
-
size?: number | string;
|
|
678
|
-
}
|
|
679
|
-
declare function Heading2({
|
|
728
|
+
declare function Heading2Icon({
|
|
680
729
|
size,
|
|
681
730
|
width,
|
|
682
731
|
height,
|
|
683
732
|
...props
|
|
684
|
-
}: IconProps
|
|
733
|
+
}: IconProps): react_jsx_runtime9.JSX.Element;
|
|
685
734
|
//#endregion
|
|
686
735
|
//#region src/ui/icons/heading-3.d.ts
|
|
687
|
-
|
|
688
|
-
size
|
|
689
|
-
|
|
690
|
-
|
|
736
|
+
declare function Heading3Icon({
|
|
737
|
+
size,
|
|
738
|
+
width,
|
|
739
|
+
height,
|
|
740
|
+
...props
|
|
741
|
+
}: IconProps): react_jsx_runtime9.JSX.Element;
|
|
742
|
+
//#endregion
|
|
743
|
+
//#region src/ui/icons/image.d.ts
|
|
744
|
+
declare function ImageIcon({
|
|
691
745
|
size,
|
|
692
746
|
width,
|
|
693
747
|
height,
|
|
694
748
|
...props
|
|
695
|
-
}: IconProps
|
|
749
|
+
}: IconProps): react_jsx_runtime9.JSX.Element;
|
|
696
750
|
//#endregion
|
|
697
751
|
//#region src/ui/icons/italic.d.ts
|
|
698
|
-
interface IconProps$13 extends React.SVGAttributes<SVGSVGElement> {
|
|
699
|
-
size?: number | string;
|
|
700
|
-
}
|
|
701
752
|
declare function ItalicIcon({
|
|
702
753
|
size,
|
|
703
754
|
width,
|
|
704
755
|
height,
|
|
705
756
|
...props
|
|
706
|
-
}: IconProps
|
|
757
|
+
}: IconProps): react_jsx_runtime9.JSX.Element;
|
|
758
|
+
//#endregion
|
|
759
|
+
//#region src/ui/icons/layout.d.ts
|
|
760
|
+
declare function LayoutIcon({
|
|
761
|
+
size,
|
|
762
|
+
width,
|
|
763
|
+
height,
|
|
764
|
+
...props
|
|
765
|
+
}: IconProps): react_jsx_runtime9.JSX.Element;
|
|
707
766
|
//#endregion
|
|
708
767
|
//#region src/ui/icons/link.d.ts
|
|
709
|
-
interface IconProps$12 extends React.SVGAttributes<SVGSVGElement> {
|
|
710
|
-
size?: number | string;
|
|
711
|
-
}
|
|
712
768
|
declare function LinkIcon({
|
|
713
769
|
size,
|
|
714
770
|
width,
|
|
715
771
|
height,
|
|
716
772
|
...props
|
|
717
|
-
}: IconProps
|
|
773
|
+
}: IconProps): react_jsx_runtime9.JSX.Element;
|
|
718
774
|
//#endregion
|
|
719
775
|
//#region src/ui/icons/list.d.ts
|
|
720
|
-
|
|
721
|
-
size?: number | string;
|
|
722
|
-
}
|
|
723
|
-
declare function List({
|
|
776
|
+
declare function ListIcon({
|
|
724
777
|
size,
|
|
725
778
|
width,
|
|
726
779
|
height,
|
|
727
780
|
...props
|
|
728
|
-
}: IconProps
|
|
781
|
+
}: IconProps): react_jsx_runtime9.JSX.Element;
|
|
729
782
|
//#endregion
|
|
730
783
|
//#region src/ui/icons/list-ordered.d.ts
|
|
731
|
-
|
|
732
|
-
size?: number | string;
|
|
733
|
-
}
|
|
734
|
-
declare function ListOrdered({
|
|
784
|
+
declare function ListOrderedIcon({
|
|
735
785
|
size,
|
|
736
786
|
width,
|
|
737
787
|
height,
|
|
738
788
|
...props
|
|
739
|
-
}: IconProps
|
|
789
|
+
}: IconProps): react_jsx_runtime9.JSX.Element;
|
|
790
|
+
//#endregion
|
|
791
|
+
//#region src/ui/icons/minus.d.ts
|
|
792
|
+
declare function MinusIcon({
|
|
793
|
+
size,
|
|
794
|
+
width,
|
|
795
|
+
height,
|
|
796
|
+
...props
|
|
797
|
+
}: IconProps): react_jsx_runtime9.JSX.Element;
|
|
740
798
|
//#endregion
|
|
741
799
|
//#region src/ui/icons/mouse-pointer.d.ts
|
|
742
|
-
|
|
743
|
-
size?: number | string;
|
|
744
|
-
}
|
|
745
|
-
declare function MousePointer({
|
|
800
|
+
declare function MousePointerIcon({
|
|
746
801
|
size,
|
|
747
802
|
width,
|
|
748
803
|
height,
|
|
749
804
|
...props
|
|
750
|
-
}: IconProps
|
|
805
|
+
}: IconProps): react_jsx_runtime9.JSX.Element;
|
|
806
|
+
//#endregion
|
|
807
|
+
//#region src/ui/icons/mouse-pointer-click.d.ts
|
|
808
|
+
declare function MousePointerClickIcon({
|
|
809
|
+
size,
|
|
810
|
+
width,
|
|
811
|
+
height,
|
|
812
|
+
...props
|
|
813
|
+
}: IconProps): react_jsx_runtime9.JSX.Element;
|
|
814
|
+
//#endregion
|
|
815
|
+
//#region src/ui/icons/panel-bottom.d.ts
|
|
816
|
+
declare function PanelBottomIcon({
|
|
817
|
+
size,
|
|
818
|
+
width,
|
|
819
|
+
height,
|
|
820
|
+
...props
|
|
821
|
+
}: IconProps): react_jsx_runtime9.JSX.Element;
|
|
822
|
+
//#endregion
|
|
823
|
+
//#region src/ui/icons/panel-left.d.ts
|
|
824
|
+
declare function PanelLeftIcon({
|
|
825
|
+
size,
|
|
826
|
+
width,
|
|
827
|
+
height,
|
|
828
|
+
...props
|
|
829
|
+
}: IconProps): react_jsx_runtime9.JSX.Element;
|
|
830
|
+
//#endregion
|
|
831
|
+
//#region src/ui/icons/panel-right.d.ts
|
|
832
|
+
declare function PanelRightIcon({
|
|
833
|
+
size,
|
|
834
|
+
width,
|
|
835
|
+
height,
|
|
836
|
+
...props
|
|
837
|
+
}: IconProps): react_jsx_runtime9.JSX.Element;
|
|
838
|
+
//#endregion
|
|
839
|
+
//#region src/ui/icons/panel-top.d.ts
|
|
840
|
+
declare function PanelTopIcon({
|
|
841
|
+
size,
|
|
842
|
+
width,
|
|
843
|
+
height,
|
|
844
|
+
...props
|
|
845
|
+
}: IconProps): react_jsx_runtime9.JSX.Element;
|
|
751
846
|
//#endregion
|
|
752
847
|
//#region src/ui/icons/pencil.d.ts
|
|
753
|
-
interface IconProps$8 extends React.SVGAttributes<SVGSVGElement> {
|
|
754
|
-
size?: number | string;
|
|
755
|
-
}
|
|
756
848
|
declare function PencilIcon({
|
|
757
849
|
size,
|
|
758
850
|
width,
|
|
759
851
|
height,
|
|
760
852
|
...props
|
|
761
|
-
}: IconProps
|
|
853
|
+
}: IconProps): react_jsx_runtime9.JSX.Element;
|
|
854
|
+
//#endregion
|
|
855
|
+
//#region src/ui/icons/plus.d.ts
|
|
856
|
+
declare function PlusIcon({
|
|
857
|
+
size,
|
|
858
|
+
width,
|
|
859
|
+
height,
|
|
860
|
+
...props
|
|
861
|
+
}: IconProps): react_jsx_runtime9.JSX.Element;
|
|
762
862
|
//#endregion
|
|
763
863
|
//#region src/ui/icons/rows-2.d.ts
|
|
764
|
-
|
|
765
|
-
size?: number | string;
|
|
766
|
-
}
|
|
767
|
-
declare function Rows2({
|
|
864
|
+
declare function Rows2Icon({
|
|
768
865
|
size,
|
|
769
866
|
width,
|
|
770
867
|
height,
|
|
771
868
|
...props
|
|
772
|
-
}: IconProps
|
|
869
|
+
}: IconProps): react_jsx_runtime9.JSX.Element;
|
|
773
870
|
//#endregion
|
|
774
871
|
//#region src/ui/icons/split-square-vertical.d.ts
|
|
775
|
-
|
|
776
|
-
size
|
|
777
|
-
|
|
778
|
-
|
|
872
|
+
declare function SplitSquareVerticalIcon({
|
|
873
|
+
size,
|
|
874
|
+
width,
|
|
875
|
+
height,
|
|
876
|
+
...props
|
|
877
|
+
}: IconProps): react_jsx_runtime9.JSX.Element;
|
|
878
|
+
//#endregion
|
|
879
|
+
//#region src/ui/icons/square.d.ts
|
|
880
|
+
declare function SquareIcon({
|
|
779
881
|
size,
|
|
780
882
|
width,
|
|
781
883
|
height,
|
|
782
884
|
...props
|
|
783
|
-
}: IconProps
|
|
885
|
+
}: IconProps): react_jsx_runtime9.JSX.Element;
|
|
784
886
|
//#endregion
|
|
785
887
|
//#region src/ui/icons/square-code.d.ts
|
|
786
|
-
|
|
787
|
-
size
|
|
788
|
-
|
|
789
|
-
|
|
888
|
+
declare function SquareCodeIcon({
|
|
889
|
+
size,
|
|
890
|
+
width,
|
|
891
|
+
height,
|
|
892
|
+
...props
|
|
893
|
+
}: IconProps): react_jsx_runtime9.JSX.Element;
|
|
894
|
+
//#endregion
|
|
895
|
+
//#region src/ui/icons/square-dashed.d.ts
|
|
896
|
+
declare function SquareDashedIcon({
|
|
790
897
|
size,
|
|
791
898
|
width,
|
|
792
899
|
height,
|
|
793
900
|
...props
|
|
794
|
-
}: IconProps
|
|
901
|
+
}: IconProps): react_jsx_runtime9.JSX.Element;
|
|
902
|
+
//#endregion
|
|
903
|
+
//#region src/ui/icons/square-round-corner.d.ts
|
|
904
|
+
declare function SquareRoundCornerIcon({
|
|
905
|
+
size,
|
|
906
|
+
width,
|
|
907
|
+
height,
|
|
908
|
+
...props
|
|
909
|
+
}: IconProps): react_jsx_runtime9.JSX.Element;
|
|
795
910
|
//#endregion
|
|
796
911
|
//#region src/ui/icons/strikethrough.d.ts
|
|
797
|
-
interface IconProps$4 extends React.SVGAttributes<SVGSVGElement> {
|
|
798
|
-
size?: number | string;
|
|
799
|
-
}
|
|
800
912
|
declare function StrikethroughIcon({
|
|
801
913
|
size,
|
|
802
914
|
width,
|
|
803
915
|
height,
|
|
804
916
|
...props
|
|
805
|
-
}: IconProps
|
|
917
|
+
}: IconProps): react_jsx_runtime9.JSX.Element;
|
|
918
|
+
//#endregion
|
|
919
|
+
//#region src/ui/icons/table.d.ts
|
|
920
|
+
declare function TableIcon({
|
|
921
|
+
size,
|
|
922
|
+
width,
|
|
923
|
+
height,
|
|
924
|
+
...props
|
|
925
|
+
}: IconProps): react_jsx_runtime9.JSX.Element;
|
|
806
926
|
//#endregion
|
|
807
927
|
//#region src/ui/icons/text.d.ts
|
|
808
|
-
interface IconProps$3 extends React.SVGAttributes<SVGSVGElement> {
|
|
809
|
-
size?: number | string;
|
|
810
|
-
}
|
|
811
928
|
declare function TextIcon({
|
|
812
929
|
size,
|
|
813
930
|
width,
|
|
814
931
|
height,
|
|
815
932
|
...props
|
|
816
|
-
}: IconProps
|
|
817
|
-
declare const Text: typeof TextIcon;
|
|
933
|
+
}: IconProps): react_jsx_runtime9.JSX.Element;
|
|
818
934
|
//#endregion
|
|
819
935
|
//#region src/ui/icons/text-quote.d.ts
|
|
820
|
-
|
|
821
|
-
size
|
|
822
|
-
|
|
823
|
-
|
|
936
|
+
declare function TextQuoteIcon({
|
|
937
|
+
size,
|
|
938
|
+
width,
|
|
939
|
+
height,
|
|
940
|
+
...props
|
|
941
|
+
}: IconProps): react_jsx_runtime9.JSX.Element;
|
|
942
|
+
//#endregion
|
|
943
|
+
//#region src/ui/icons/type.d.ts
|
|
944
|
+
declare function TypeIcon({
|
|
824
945
|
size,
|
|
825
946
|
width,
|
|
826
947
|
height,
|
|
827
948
|
...props
|
|
828
|
-
}: IconProps
|
|
949
|
+
}: IconProps): react_jsx_runtime9.JSX.Element;
|
|
829
950
|
//#endregion
|
|
830
951
|
//#region src/ui/icons/underline.d.ts
|
|
831
|
-
interface IconProps$1 extends React.SVGAttributes<SVGSVGElement> {
|
|
832
|
-
size?: number | string;
|
|
833
|
-
}
|
|
834
952
|
declare function UnderlineIcon({
|
|
835
953
|
size,
|
|
836
954
|
width,
|
|
837
955
|
height,
|
|
838
956
|
...props
|
|
839
|
-
}: IconProps
|
|
957
|
+
}: IconProps): react_jsx_runtime9.JSX.Element;
|
|
840
958
|
//#endregion
|
|
841
959
|
//#region src/ui/icons/unlink.d.ts
|
|
842
|
-
interface IconProps extends React.SVGAttributes<SVGSVGElement> {
|
|
843
|
-
size?: number | string;
|
|
844
|
-
}
|
|
845
960
|
declare function UnlinkIcon({
|
|
846
961
|
size,
|
|
847
962
|
width,
|
|
848
963
|
height,
|
|
849
964
|
...props
|
|
850
|
-
}: IconProps):
|
|
965
|
+
}: IconProps): react_jsx_runtime9.JSX.Element;
|
|
966
|
+
//#endregion
|
|
967
|
+
//#region src/ui/icons/x.d.ts
|
|
968
|
+
declare function XIcon({
|
|
969
|
+
size,
|
|
970
|
+
width,
|
|
971
|
+
height,
|
|
972
|
+
...props
|
|
973
|
+
}: IconProps): react_jsx_runtime9.JSX.Element;
|
|
974
|
+
//#endregion
|
|
975
|
+
//#region src/ui/inspector/root.d.ts
|
|
976
|
+
interface FocusedNode {
|
|
977
|
+
nodeType: string;
|
|
978
|
+
nodeAttrs: Attrs;
|
|
979
|
+
nodePos: {
|
|
980
|
+
pos: number;
|
|
981
|
+
inside: number;
|
|
982
|
+
};
|
|
983
|
+
}
|
|
984
|
+
interface RootProps extends React$2.ComponentPropsWithRef<'aside'> {
|
|
985
|
+
asChild?: boolean;
|
|
986
|
+
}
|
|
987
|
+
//#endregion
|
|
988
|
+
//#region src/ui/inspector/breadcrumb.d.ts
|
|
989
|
+
interface InspectorBreadcrumbSegment {
|
|
990
|
+
node: FocusedNode | null;
|
|
991
|
+
focus: () => void;
|
|
992
|
+
}
|
|
993
|
+
interface InspectorBreadcrumbProps {
|
|
994
|
+
children?: (segments: InspectorBreadcrumbSegment[]) => React$1.ReactNode;
|
|
995
|
+
}
|
|
996
|
+
declare function InspectorBreadcrumb({
|
|
997
|
+
children
|
|
998
|
+
}: InspectorBreadcrumbProps): string | number | bigint | boolean | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> | react_jsx_runtime9.JSX.Element | null | undefined;
|
|
999
|
+
//#endregion
|
|
1000
|
+
//#region src/ui/inspector/document.d.ts
|
|
1001
|
+
type SetGlobalStyle = (classReference: KnownThemeComponents, property: KnownCssProperties, value: unknown) => void;
|
|
1002
|
+
type BatchSetGlobalStyle = (changes: Array<{
|
|
1003
|
+
classReference: KnownThemeComponents;
|
|
1004
|
+
property: KnownCssProperties;
|
|
1005
|
+
value: unknown;
|
|
1006
|
+
}>) => void;
|
|
1007
|
+
type FindStyleValue = (classReference: KnownThemeComponents, prop: KnownCssProperties) => string | number;
|
|
1008
|
+
interface InspectorDocumentContext {
|
|
1009
|
+
styles: PanelGroup[];
|
|
1010
|
+
setGlobalStyle: SetGlobalStyle;
|
|
1011
|
+
batchSetGlobalStyle: BatchSetGlobalStyle;
|
|
1012
|
+
findStyleValue: FindStyleValue;
|
|
1013
|
+
}
|
|
1014
|
+
interface InspectorDocumentProps {
|
|
1015
|
+
children?: (context: InspectorDocumentContext) => React.ReactNode;
|
|
1016
|
+
}
|
|
1017
|
+
declare function InspectorDocument({
|
|
1018
|
+
children
|
|
1019
|
+
}: InspectorDocumentProps): react_jsx_runtime9.JSX.Element | null;
|
|
1020
|
+
//#endregion
|
|
1021
|
+
//#region src/ui/inspector/node.d.ts
|
|
1022
|
+
interface InspectorNodeContext {
|
|
1023
|
+
nodeType: string;
|
|
1024
|
+
nodePos: {
|
|
1025
|
+
pos: number;
|
|
1026
|
+
inside: number;
|
|
1027
|
+
};
|
|
1028
|
+
getStyle: (prop: KnownCssProperties) => string | number | undefined;
|
|
1029
|
+
setStyle: (prop: KnownCssProperties, value: string | number) => void;
|
|
1030
|
+
batchSetStyle: (changes: Array<{
|
|
1031
|
+
prop: KnownCssProperties;
|
|
1032
|
+
value: string | number;
|
|
1033
|
+
}>) => void;
|
|
1034
|
+
getAttr: (name: string) => unknown;
|
|
1035
|
+
setAttr: (name: string, value: unknown) => void;
|
|
1036
|
+
themeDefaults: Record<string, string | number | undefined>;
|
|
1037
|
+
presetColors: string[];
|
|
1038
|
+
}
|
|
1039
|
+
interface InspectorNodeProps {
|
|
1040
|
+
children?: (context: InspectorNodeContext) => React$2.ReactNode;
|
|
1041
|
+
}
|
|
1042
|
+
declare function InspectorNode({
|
|
1043
|
+
children
|
|
1044
|
+
}: InspectorNodeProps): react_jsx_runtime9.JSX.Element | null;
|
|
1045
|
+
//#endregion
|
|
1046
|
+
//#region src/ui/inspector/sections/attributes.d.ts
|
|
1047
|
+
type InspectorAttributesProps = InspectorNodeContext & {
|
|
1048
|
+
initialCollapsed?: boolean;
|
|
1049
|
+
};
|
|
1050
|
+
declare function AttributesSection({
|
|
1051
|
+
nodeType,
|
|
1052
|
+
getAttr,
|
|
1053
|
+
setAttr,
|
|
1054
|
+
initialCollapsed
|
|
1055
|
+
}: InspectorAttributesProps): react_jsx_runtime9.JSX.Element | null;
|
|
1056
|
+
//#endregion
|
|
1057
|
+
//#region src/ui/inspector/sections/background.d.ts
|
|
1058
|
+
type InspectorBackgroundProps = InspectorNodeContext & {
|
|
1059
|
+
initialCollapsed?: boolean;
|
|
1060
|
+
};
|
|
1061
|
+
declare function BackgroundSection({
|
|
1062
|
+
getStyle,
|
|
1063
|
+
setStyle,
|
|
1064
|
+
initialCollapsed
|
|
1065
|
+
}: InspectorBackgroundProps): react_jsx_runtime9.JSX.Element;
|
|
1066
|
+
//#endregion
|
|
1067
|
+
//#region src/ui/inspector/sections/border.d.ts
|
|
1068
|
+
type InspectorBorderProps = InspectorNodeContext & {
|
|
1069
|
+
initialCollapsed?: boolean;
|
|
1070
|
+
};
|
|
1071
|
+
declare function BorderSection({
|
|
1072
|
+
getStyle,
|
|
1073
|
+
setStyle,
|
|
1074
|
+
batchSetStyle,
|
|
1075
|
+
initialCollapsed
|
|
1076
|
+
}: InspectorBorderProps): react_jsx_runtime9.JSX.Element;
|
|
1077
|
+
//#endregion
|
|
1078
|
+
//#region src/ui/inspector/text.d.ts
|
|
1079
|
+
interface InspectorTextContext {
|
|
1080
|
+
marks: Record<string, boolean>;
|
|
1081
|
+
toggleMark: (mark: string) => void;
|
|
1082
|
+
alignment: string;
|
|
1083
|
+
setAlignment: (value: string) => void;
|
|
1084
|
+
linkHref: string;
|
|
1085
|
+
linkColor: string;
|
|
1086
|
+
setLinkColor: (color: string) => void;
|
|
1087
|
+
isLinkActive: boolean;
|
|
1088
|
+
getStyle: (prop: KnownCssProperties) => string | number | undefined;
|
|
1089
|
+
setStyle: (prop: KnownCssProperties, value: string | number) => void;
|
|
1090
|
+
presetColors: string[];
|
|
1091
|
+
}
|
|
1092
|
+
interface InspectorTextProps {
|
|
1093
|
+
children?: (context: InspectorTextContext) => React$2.ReactNode;
|
|
1094
|
+
}
|
|
1095
|
+
declare function InspectorText({
|
|
1096
|
+
children
|
|
1097
|
+
}: InspectorTextProps): react_jsx_runtime9.JSX.Element | null;
|
|
1098
|
+
//#endregion
|
|
1099
|
+
//#region src/ui/inspector/sections/link.d.ts
|
|
1100
|
+
type InspectorLinkProps = Pick<InspectorTextContext, 'linkHref' | 'linkColor' | 'setLinkColor' | 'isLinkActive' | 'presetColors'> & {
|
|
1101
|
+
initialCollapsed?: boolean;
|
|
1102
|
+
};
|
|
1103
|
+
declare function LinkSection({
|
|
1104
|
+
linkHref,
|
|
1105
|
+
linkColor,
|
|
1106
|
+
setLinkColor,
|
|
1107
|
+
isLinkActive,
|
|
1108
|
+
initialCollapsed
|
|
1109
|
+
}: InspectorLinkProps): react_jsx_runtime9.JSX.Element | null;
|
|
1110
|
+
//#endregion
|
|
1111
|
+
//#region src/ui/inspector/sections/padding.d.ts
|
|
1112
|
+
type InspectorPaddingProps = InspectorNodeContext & {
|
|
1113
|
+
initialCollapsed?: boolean;
|
|
1114
|
+
};
|
|
1115
|
+
declare function PaddingSection({
|
|
1116
|
+
getStyle,
|
|
1117
|
+
batchSetStyle,
|
|
1118
|
+
initialCollapsed
|
|
1119
|
+
}: InspectorPaddingProps): react_jsx_runtime9.JSX.Element;
|
|
1120
|
+
//#endregion
|
|
1121
|
+
//#region src/ui/inspector/sections/size.d.ts
|
|
1122
|
+
type InspectorSizeProps = InspectorNodeContext & {
|
|
1123
|
+
initialCollapsed?: boolean;
|
|
1124
|
+
};
|
|
1125
|
+
declare function SizeSection({
|
|
1126
|
+
nodeType,
|
|
1127
|
+
getStyle,
|
|
1128
|
+
setStyle,
|
|
1129
|
+
getAttr,
|
|
1130
|
+
setAttr,
|
|
1131
|
+
initialCollapsed
|
|
1132
|
+
}: InspectorSizeProps): react_jsx_runtime9.JSX.Element;
|
|
1133
|
+
//#endregion
|
|
1134
|
+
//#region src/ui/inspector/sections/typography.d.ts
|
|
1135
|
+
type TypographyContext = Pick<InspectorNodeContext | InspectorTextContext, 'getStyle' | 'setStyle' | 'presetColors'> & Partial<Pick<InspectorTextContext, 'marks' | 'toggleMark' | 'alignment' | 'setAlignment'>> & {
|
|
1136
|
+
initialCollapsed?: boolean;
|
|
1137
|
+
};
|
|
1138
|
+
declare function TypographySection({
|
|
1139
|
+
getStyle,
|
|
1140
|
+
setStyle,
|
|
1141
|
+
marks,
|
|
1142
|
+
toggleMark,
|
|
1143
|
+
alignment,
|
|
1144
|
+
setAlignment,
|
|
1145
|
+
initialCollapsed
|
|
1146
|
+
}: TypographyContext): react_jsx_runtime9.JSX.Element;
|
|
1147
|
+
//#endregion
|
|
1148
|
+
//#region src/ui/inspector/index.d.ts
|
|
1149
|
+
declare const Inspector: {
|
|
1150
|
+
Root: React$2.ForwardRefExoticComponent<Omit<RootProps, "ref"> & React$2.RefAttributes<HTMLElement>>;
|
|
1151
|
+
Breadcrumb: typeof InspectorBreadcrumb;
|
|
1152
|
+
Document: typeof InspectorDocument;
|
|
1153
|
+
Node: typeof InspectorNode;
|
|
1154
|
+
Text: typeof InspectorText;
|
|
1155
|
+
Attributes: typeof AttributesSection;
|
|
1156
|
+
Background: typeof BackgroundSection;
|
|
1157
|
+
Border: typeof BorderSection;
|
|
1158
|
+
Link: typeof LinkSection;
|
|
1159
|
+
Padding: typeof PaddingSection;
|
|
1160
|
+
Size: typeof SizeSection;
|
|
1161
|
+
Typography: typeof TypographySection;
|
|
1162
|
+
};
|
|
851
1163
|
//#endregion
|
|
852
1164
|
//#region src/ui/slash-command/types.d.ts
|
|
853
1165
|
type SlashCommandCategory = string;
|
|
@@ -893,7 +1205,7 @@ declare function CommandList({
|
|
|
893
1205
|
query,
|
|
894
1206
|
selectedIndex,
|
|
895
1207
|
onSelect
|
|
896
|
-
}: CommandListProps):
|
|
1208
|
+
}: CommandListProps): react_jsx_runtime9.JSX.Element;
|
|
897
1209
|
//#endregion
|
|
898
1210
|
//#region src/ui/slash-command/root.d.ts
|
|
899
1211
|
declare function SlashCommandRoot({
|
|
@@ -902,7 +1214,7 @@ declare function SlashCommandRoot({
|
|
|
902
1214
|
char,
|
|
903
1215
|
allow: allowProp,
|
|
904
1216
|
children
|
|
905
|
-
}: SlashCommandRootProps): React.ReactPortal | null;
|
|
1217
|
+
}: SlashCommandRootProps): React$2.ReactPortal | null;
|
|
906
1218
|
//#endregion
|
|
907
1219
|
//#region src/ui/slash-command/commands.d.ts
|
|
908
1220
|
declare const TEXT: SlashCommandItem;
|
|
@@ -935,5 +1247,5 @@ declare const SlashCommand: {
|
|
|
935
1247
|
readonly CommandList: typeof CommandList;
|
|
936
1248
|
};
|
|
937
1249
|
//#endregion
|
|
938
|
-
export { AlignCenterIcon, AlignLeftIcon, AlignRightIcon, BULLET_LIST, BUTTON, BoldIcon, BubbleMenu, BubbleMenuAlignCenter, BubbleMenuAlignLeft, BubbleMenuAlignRight, BubbleMenuBold, BubbleMenuButtonDefault, type BubbleMenuButtonDefaultProps, BubbleMenuButtonEditLink, type BubbleMenuButtonEditLinkProps, BubbleMenuButtonForm, type BubbleMenuButtonFormProps, BubbleMenuButtonToolbar, type BubbleMenuButtonToolbarProps, BubbleMenuButtonUnlink, type BubbleMenuButtonUnlinkProps, BubbleMenuCode, type BubbleMenuContextValue, BubbleMenuDefault, type BubbleMenuDefaultProps, BubbleMenuImageDefault, type BubbleMenuImageDefaultProps, BubbleMenuImageEditLink, type BubbleMenuImageEditLinkProps, BubbleMenuImageToolbar, type BubbleMenuImageToolbarProps, BubbleMenuItalic, BubbleMenuItem, BubbleMenuItemGroup, type BubbleMenuItemGroupProps, type BubbleMenuItemProps, BubbleMenuLinkDefault, type BubbleMenuLinkDefaultProps, BubbleMenuLinkEditLink, type BubbleMenuLinkEditLinkProps, BubbleMenuLinkForm, type BubbleMenuLinkFormProps, BubbleMenuLinkOpenLink, type BubbleMenuLinkOpenLinkProps, BubbleMenuLinkSelector, type BubbleMenuLinkSelectorProps, BubbleMenuLinkToolbar, type BubbleMenuLinkToolbarProps, BubbleMenuLinkUnlink, type BubbleMenuLinkUnlinkProps, BubbleMenuNodeSelector, type BubbleMenuNodeSelectorProps, BubbleMenuRoot, type BubbleMenuRootProps, BubbleMenuSeparator, type BubbleMenuSeparatorProps, BubbleMenuStrike, BubbleMenuUnderline, BubbleMenuUppercase, CODE, CaseUpperIcon,
|
|
1250
|
+
export { AlignCenterIcon, AlignCenterVerticalIcon, AlignEndVerticalIcon, AlignLeftIcon, AlignRightIcon, AlignStartVerticalIcon, BULLET_LIST, BUTTON, BoldIcon, BoxIcon, BubbleMenu, BubbleMenuAlignCenter, BubbleMenuAlignLeft, BubbleMenuAlignRight, BubbleMenuBold, BubbleMenuButtonDefault, type BubbleMenuButtonDefaultProps, BubbleMenuButtonEditLink, type BubbleMenuButtonEditLinkProps, BubbleMenuButtonForm, type BubbleMenuButtonFormProps, BubbleMenuButtonToolbar, type BubbleMenuButtonToolbarProps, BubbleMenuButtonUnlink, type BubbleMenuButtonUnlinkProps, BubbleMenuCode, type BubbleMenuContextValue, BubbleMenuDefault, type BubbleMenuDefaultProps, BubbleMenuImageDefault, type BubbleMenuImageDefaultProps, BubbleMenuImageEditLink, type BubbleMenuImageEditLinkProps, BubbleMenuImageToolbar, type BubbleMenuImageToolbarProps, BubbleMenuItalic, BubbleMenuItem, BubbleMenuItemGroup, type BubbleMenuItemGroupProps, type BubbleMenuItemProps, BubbleMenuLinkDefault, type BubbleMenuLinkDefaultProps, BubbleMenuLinkEditLink, type BubbleMenuLinkEditLinkProps, BubbleMenuLinkForm, type BubbleMenuLinkFormProps, BubbleMenuLinkOpenLink, type BubbleMenuLinkOpenLinkProps, BubbleMenuLinkSelector, type BubbleMenuLinkSelectorProps, BubbleMenuLinkToolbar, type BubbleMenuLinkToolbarProps, BubbleMenuLinkUnlink, type BubbleMenuLinkUnlinkProps, BubbleMenuNodeSelector, type BubbleMenuNodeSelectorProps, BubbleMenuRoot, type BubbleMenuRootProps, BubbleMenuSeparator, type BubbleMenuSeparatorProps, BubbleMenuStrike, BubbleMenuUnderline, BubbleMenuUppercase, CODE, CaseUpperIcon, CheckIcon, ChevronDownIcon, CodeIcon, Columns2Icon, Columns3Icon, Columns4Icon, CommandList, type CommandListProps, CornerBottomLeftIcon, CornerBottomRightIcon, CornerTopLeftIcon, CornerTopRightIcon, DIVIDER, EditorFocusScope, EditorFocusScopeProps, EditorFocusScopeProvider, EditorFocusScopeProviderProps, ExternalLinkIcon, FOUR_COLUMNS, H1, H2, H3, Heading1Icon, Heading2Icon, Heading3Icon, type IconProps, ImageIcon, Inspector, type InspectorDocumentProps, type InspectorNodeContext, type InspectorNodeProps, type InspectorTextContext, type InspectorTextProps, ItalicIcon, LayoutIcon, LinkIcon, ListIcon, ListOrderedIcon, MinusIcon, MousePointerClickIcon, MousePointerIcon, NUMBERED_LIST, NodeSelectorContent, type NodeSelectorContentProps, type NodeSelectorItem, NodeSelectorRoot, type NodeSelectorRootProps, NodeSelectorTrigger, type NodeSelectorTriggerProps, type NodeType, PanelBottomIcon, PanelLeftIcon, PanelRightIcon, PanelTopIcon, PencilIcon, PlusIcon, type PreWiredItemProps, QUOTE, Rows2Icon, SECTION, type SearchableItem, SlashCommand, type SlashCommandItem, type SlashCommandProps, type SlashCommandRenderProps, type SlashCommandRootProps, SplitSquareVerticalIcon, SquareCodeIcon, SquareDashedIcon, SquareIcon, SquareRoundCornerIcon, StrikethroughIcon, TEXT, THREE_COLUMNS, TWO_COLUMNS, TableIcon, TextIcon, TextQuoteIcon, type TriggerFn, type TriggerParams, TypeIcon, UnderlineIcon, UnlinkIcon, XIcon, bubbleMenuTriggers, defaultSlashCommands, filterAndRankItems, isAtMaxColumnsDepth, isInsideNode, scoreItem, useBubbleMenuContext, useEditorFocusScope };
|
|
939
1251
|
//# sourceMappingURL=index.d.mts.map
|