@oyat/editor 1.7.9 → 1.7.11
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/editor/editor-base-kit.d.ts +22 -5
- package/dist/components/editor/editor-base-kit.d.ts.map +1 -1
- package/dist/components/editor/editor-kit.d.ts +632 -1
- package/dist/components/editor/editor-kit.d.ts.map +1 -1
- package/dist/components/editor/plugins/align-base-kit.d.ts +1 -1
- package/dist/components/editor/plugins/align-base-kit.d.ts.map +1 -1
- package/dist/components/editor/plugins/align-kit.d.ts +1 -1
- package/dist/components/editor/plugins/align-kit.d.ts.map +1 -1
- package/dist/components/editor/plugins/autoformat-kit.d.ts +1 -1
- package/dist/components/editor/plugins/autoformat-kit.d.ts.map +1 -1
- package/dist/components/editor/plugins/emoji-kit.d.ts +1 -1
- package/dist/components/editor/plugins/line-height-base-kit.d.ts +1 -1
- package/dist/components/editor/plugins/line-height-base-kit.d.ts.map +1 -1
- package/dist/components/editor/plugins/line-height-kit.d.ts +1 -1
- package/dist/components/editor/plugins/line-height-kit.d.ts.map +1 -1
- package/dist/components/editor/plugins/media-kit.d.ts.map +1 -1
- package/dist/components/editor/plugins/table-base-kit.d.ts +18 -1
- package/dist/components/editor/plugins/table-base-kit.d.ts.map +1 -1
- package/dist/components/editor/plugins/table-kit.d.ts +26 -2
- package/dist/components/editor/plugins/table-kit.d.ts.map +1 -1
- package/dist/components/editor/plugins/toggle-kit.d.ts +1 -1
- package/dist/components/editor/plugins/toggle-kit.d.ts.map +1 -1
- package/dist/components/ui/block-context-menu.d.ts.map +1 -1
- package/dist/components/ui/block-suggestion.d.ts.map +1 -1
- package/dist/components/ui/caption.d.ts +21 -1
- package/dist/components/ui/caption.d.ts.map +1 -1
- package/dist/components/ui/comment.d.ts.map +1 -1
- package/dist/components/ui/dialog.d.ts.map +1 -1
- package/dist/components/ui/floating-toolbar.d.ts.map +1 -1
- package/dist/components/ui/font-color-toolbar-button.d.ts.map +1 -1
- package/dist/components/ui/table-node.d.ts.map +1 -1
- package/dist/components/ui/table-toolbar-button.d.ts.map +1 -1
- package/dist/components/ui/turn-into-toolbar-button.d.ts.map +1 -1
- package/dist/index.js +843 -838
- package/dist/index.js.map +1 -1
- package/package.json +45 -45
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"align-base-kit.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/plugins/align-base-kit.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY;
|
|
1
|
+
{"version":3,"file":"align-base-kit.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/plugins/align-base-kit.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY;wEAaoxD,CAAC;UAD7yD,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const AlignKit: import('platejs/react').PlatePlugin<import('platejs').PluginConfig<"textAlign", {}, {}, Record<"textAlign", {
|
|
2
|
-
setNodes: (value: import('@platejs/basic-styles').Alignment,
|
|
2
|
+
setNodes: (value: import('@platejs/basic-styles').Alignment, options?: import('platejs').SetNodesOptions) => void;
|
|
3
3
|
}>, {}>>[];
|
|
4
4
|
//# sourceMappingURL=align-kit.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"align-kit.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/plugins/align-kit.tsx"],"names":[],"mappings":"AAKA,eAAO,MAAM,QAAQ;
|
|
1
|
+
{"version":3,"file":"align-kit.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/plugins/align-kit.tsx"],"names":[],"mappings":"AAKA,eAAO,MAAM,QAAQ;wEAa8/B,CAAC;UADnhC,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const AutoformatKit:
|
|
1
|
+
export declare const AutoformatKit: import('platejs').SlatePlugin<import('@platejs/autoformat').AutoformatConfig>[];
|
|
2
2
|
//# sourceMappingURL=autoformat-kit.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"autoformat-kit.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/plugins/autoformat-kit.tsx"],"names":[],"mappings":"AAkNA,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"autoformat-kit.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/plugins/autoformat-kit.tsx"],"names":[],"mappings":"AAkNA,eAAO,MAAM,aAAa,iFAyBzB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as emojiMartData } from '@emoji-mart/data';
|
|
2
2
|
export declare const EmojiKit: (import('platejs/react').PlatePlugin<import('platejs').PluginConfig<"emoji", {
|
|
3
3
|
data?: emojiMartData.EmojiMartData;
|
|
4
|
-
createEmojiNode?: (emoji: emojiMartData.Emoji) =>
|
|
4
|
+
createEmojiNode?: (emoji: emojiMartData.Emoji) => any;
|
|
5
5
|
} & import('@platejs/combobox').TriggerComboboxPluginOptions, {}, {}, {}>> | import('platejs/react').PlatePlugin<import('platejs').PluginConfig<"emoji_input", {}, {}, {}, {}>>)[];
|
|
6
6
|
//# sourceMappingURL=emoji-kit.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const BaseLineHeightKit: import('platejs').SlatePlugin<import('platejs').PluginConfig<"lineHeight", {}, {}, Record<"lineHeight", {
|
|
2
|
-
setNodes: (value: number,
|
|
2
|
+
setNodes: (value: number, options?: import('platejs').SetNodesOptions) => void;
|
|
3
3
|
}>, {}>>[];
|
|
4
4
|
//# sourceMappingURL=line-height-base-kit.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"line-height-base-kit.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/plugins/line-height-base-kit.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,iBAAiB;
|
|
1
|
+
{"version":3,"file":"line-height-base-kit.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/plugins/line-height-base-kit.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,iBAAiB;qCAWiqC,CAAC;UAD/rC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const LineHeightKit: import('platejs/react').PlatePlugin<import('platejs').PluginConfig<"lineHeight", {}, {}, Record<"lineHeight", {
|
|
2
|
-
setNodes: (value: number,
|
|
2
|
+
setNodes: (value: number, options?: import('platejs').SetNodesOptions) => void;
|
|
3
3
|
}>, {}>>[];
|
|
4
4
|
//# sourceMappingURL=line-height-kit.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"line-height-kit.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/plugins/line-height-kit.tsx"],"names":[],"mappings":"AAKA,eAAO,MAAM,aAAa;
|
|
1
|
+
{"version":3,"file":"line-height-kit.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/plugins/line-height-kit.tsx"],"names":[],"mappings":"AAKA,eAAO,MAAM,aAAa;qCAWs2B,CAAC;UADh4B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"media-kit.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/plugins/media-kit.tsx"],"names":[],"mappings":"AAsBA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"media-kit.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/plugins/media-kit.tsx"],"names":[],"mappings":"AAsBA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;wCAqBi1/G,CAAC;cAA8C,CAAC;;;;;;;;;iDArBt5/G,CADA;;;;;;;;;;;MAqBC,CAAC"}
|
|
@@ -3,6 +3,9 @@ export declare const BaseTableKit: (import('platejs').SlatePlugin<import('platej
|
|
|
3
3
|
col: number;
|
|
4
4
|
row: number;
|
|
5
5
|
}>;
|
|
6
|
+
_selectedCellIds: string[] | null | undefined;
|
|
7
|
+
_selectedTableIds: string[] | null | undefined;
|
|
8
|
+
_selectionVersion: number;
|
|
6
9
|
selectedCells: import('platejs').TElement[] | null;
|
|
7
10
|
selectedTables: import('platejs').TElement[] | null;
|
|
8
11
|
disableExpandOnInsert?: boolean;
|
|
@@ -38,12 +41,19 @@ export declare const BaseTableKit: (import('platejs').SlatePlugin<import('platej
|
|
|
38
41
|
colSizes?: number[];
|
|
39
42
|
rowSize?: number;
|
|
40
43
|
}) => {
|
|
41
|
-
minHeight: number
|
|
44
|
+
minHeight: number;
|
|
42
45
|
width: number;
|
|
43
46
|
}>;
|
|
47
|
+
getSelectedCell: import('platejs').OmitFirst<(editor: import('platejs').SlateEditor, id?: string | null) => import('platejs').TElement | null>;
|
|
48
|
+
getSelectedCellIds: import('platejs').OmitFirst<(editor: import('platejs').SlateEditor) => string[] | null>;
|
|
49
|
+
getSelectedCells: import('platejs').OmitFirst<(editor: import('platejs').SlateEditor) => import('platejs').TElement[] | null>;
|
|
50
|
+
getSelectedTableIds: import('platejs').OmitFirst<(editor: import('platejs').SlateEditor) => string[] | null>;
|
|
51
|
+
getSelectedTables: import('platejs').OmitFirst<(editor: import('platejs').SlateEditor) => import('platejs').TElement[] | null>;
|
|
44
52
|
getColSpan: (cellElem: import('platejs').TTableCellElement) => number;
|
|
45
53
|
getRowSpan: (cellElem: import('platejs').TTableCellElement) => number;
|
|
46
54
|
getCellChildren: (cell: import('platejs').TTableCellElement) => import('platejs').Descendant[];
|
|
55
|
+
isCellSelected: import('platejs').OmitFirst<(editor: import('platejs').SlateEditor, id?: string | null) => boolean>;
|
|
56
|
+
isSelectingCell: import('platejs').OmitFirst<(editor: import('platejs').SlateEditor) => boolean>;
|
|
47
57
|
};
|
|
48
58
|
}, {
|
|
49
59
|
insert: {
|
|
@@ -74,5 +84,12 @@ export declare const BaseTableKit: (import('platejs').SlatePlugin<import('platej
|
|
|
74
84
|
};
|
|
75
85
|
}, {
|
|
76
86
|
cellIndices?: (id: string) => import('@platejs/table').CellIndices;
|
|
87
|
+
isCellSelected?: (id?: string | null) => boolean;
|
|
88
|
+
isSelectingCell?: () => boolean;
|
|
89
|
+
selectedCell?: (id?: string | null) => import('platejs').TElement | null;
|
|
90
|
+
selectedCellIds?: () => string[] | null;
|
|
91
|
+
selectedCells?: () => import('platejs').TElement[] | null;
|
|
92
|
+
selectedTableIds?: () => string[] | null;
|
|
93
|
+
selectedTables?: () => import('platejs').TElement[] | null;
|
|
77
94
|
}>> | import('platejs').SlatePlugin<import('platejs').PluginConfig<"tr", {}, {}, {}, {}>> | import('platejs').SlatePlugin<import('platejs').PluginConfig<"td", {}, {}, {}, {}>> | import('platejs').SlatePlugin<import('platejs').PluginConfig<"th", {}, {}, {}, {}>>)[];
|
|
78
95
|
//# sourceMappingURL=table-base-kit.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-base-kit.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/plugins/table-base-kit.tsx"],"names":[],"mappings":"AAcA,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"table-base-kit.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/plugins/table-base-kit.tsx"],"names":[],"mappings":"AAcA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAMmyT,CAAC;yBAA8B,CAAC;;;;uBAAyT,CAAC;oBAAyB,CAAC;mBAAqB,CAAC;;;;;;;;;;;;;;;;;;;;cAA43G,CAAC;kBAAsF,CAAC;oBAA0E,CAAC;kBAAgB,CAAC;kBAAmB,CAAC;;;cAA8S,CAAC;kBAAgF,CAAC;mBAAoB,CAAC;kBAAgB,CAAC;kBAAmB,CAAC;;;;;;;;;;;;;;wBAAqtQ,CAAC;;sBAAoF,CAAC;;;;;wQAD9+sB,CAAC"}
|
|
@@ -3,6 +3,9 @@ export declare const TableKit: (import('platejs/react').PlatePlugin<import('plat
|
|
|
3
3
|
col: number;
|
|
4
4
|
row: number;
|
|
5
5
|
}>;
|
|
6
|
+
_selectedCellIds: string[] | null | undefined;
|
|
7
|
+
_selectedTableIds: string[] | null | undefined;
|
|
8
|
+
_selectionVersion: number;
|
|
6
9
|
selectedCells: import('platejs').TElement[] | null;
|
|
7
10
|
selectedTables: import('platejs').TElement[] | null;
|
|
8
11
|
disableExpandOnInsert?: boolean;
|
|
@@ -38,12 +41,19 @@ export declare const TableKit: (import('platejs/react').PlatePlugin<import('plat
|
|
|
38
41
|
colSizes?: number[];
|
|
39
42
|
rowSize?: number;
|
|
40
43
|
}) => {
|
|
41
|
-
minHeight: number
|
|
44
|
+
minHeight: number;
|
|
42
45
|
width: number;
|
|
43
46
|
}>;
|
|
47
|
+
getSelectedCell: import('platejs').OmitFirst<(editor: import('platejs').SlateEditor, id?: string | null) => import('platejs').TElement | null>;
|
|
48
|
+
getSelectedCellIds: import('platejs').OmitFirst<(editor: import('platejs').SlateEditor) => string[] | null>;
|
|
49
|
+
getSelectedCells: import('platejs').OmitFirst<(editor: import('platejs').SlateEditor) => import('platejs').TElement[] | null>;
|
|
50
|
+
getSelectedTableIds: import('platejs').OmitFirst<(editor: import('platejs').SlateEditor) => string[] | null>;
|
|
51
|
+
getSelectedTables: import('platejs').OmitFirst<(editor: import('platejs').SlateEditor) => import('platejs').TElement[] | null>;
|
|
44
52
|
getColSpan: (cellElem: import('platejs').TTableCellElement) => number;
|
|
45
53
|
getRowSpan: (cellElem: import('platejs').TTableCellElement) => number;
|
|
46
54
|
getCellChildren: (cell: import('platejs').TTableCellElement) => import('platejs').Descendant[];
|
|
55
|
+
isCellSelected: import('platejs').OmitFirst<(editor: import('platejs').SlateEditor, id?: string | null) => boolean>;
|
|
56
|
+
isSelectingCell: import('platejs').OmitFirst<(editor: import('platejs').SlateEditor) => boolean>;
|
|
47
57
|
};
|
|
48
58
|
} & {
|
|
49
59
|
create: {
|
|
@@ -72,12 +82,19 @@ export declare const TableKit: (import('platejs/react').PlatePlugin<import('plat
|
|
|
72
82
|
colSizes?: number[];
|
|
73
83
|
rowSize?: number;
|
|
74
84
|
}) => {
|
|
75
|
-
minHeight: number
|
|
85
|
+
minHeight: number;
|
|
76
86
|
width: number;
|
|
77
87
|
}>;
|
|
88
|
+
getSelectedCell: import('platejs').OmitFirst<(editor: import('platejs').SlateEditor, id?: string | null) => import('platejs').TElement | null>;
|
|
89
|
+
getSelectedCellIds: import('platejs').OmitFirst<(editor: import('platejs').SlateEditor) => string[] | null>;
|
|
90
|
+
getSelectedCells: import('platejs').OmitFirst<(editor: import('platejs').SlateEditor) => import('platejs').TElement[] | null>;
|
|
91
|
+
getSelectedTableIds: import('platejs').OmitFirst<(editor: import('platejs').SlateEditor) => string[] | null>;
|
|
92
|
+
getSelectedTables: import('platejs').OmitFirst<(editor: import('platejs').SlateEditor) => import('platejs').TElement[] | null>;
|
|
78
93
|
getColSpan: (cellElem: import('platejs').TTableCellElement) => number;
|
|
79
94
|
getRowSpan: (cellElem: import('platejs').TTableCellElement) => number;
|
|
80
95
|
getCellChildren: (cell: import('platejs').TTableCellElement) => import('platejs').Descendant[];
|
|
96
|
+
isCellSelected: import('platejs').OmitFirst<(editor: import('platejs').SlateEditor, id?: string | null) => boolean>;
|
|
97
|
+
isSelectingCell: import('platejs').OmitFirst<(editor: import('platejs').SlateEditor) => boolean>;
|
|
81
98
|
};
|
|
82
99
|
}, {
|
|
83
100
|
insert: {
|
|
@@ -135,5 +152,12 @@ export declare const TableKit: (import('platejs/react').PlatePlugin<import('plat
|
|
|
135
152
|
};
|
|
136
153
|
}, {
|
|
137
154
|
cellIndices?: (id: string) => import('@platejs/table').CellIndices;
|
|
155
|
+
isCellSelected?: (id?: string | null) => boolean;
|
|
156
|
+
isSelectingCell?: () => boolean;
|
|
157
|
+
selectedCell?: (id?: string | null) => import('platejs').TElement | null;
|
|
158
|
+
selectedCellIds?: () => string[] | null;
|
|
159
|
+
selectedCells?: () => import('platejs').TElement[] | null;
|
|
160
|
+
selectedTableIds?: () => string[] | null;
|
|
161
|
+
selectedTables?: () => import('platejs').TElement[] | null;
|
|
138
162
|
}>> | import('platejs/react').PlatePlugin<import('platejs').PluginConfig<"tr", {}, {}, {}, {}>> | import('platejs/react').PlatePlugin<import('platejs').PluginConfig<"td", {}, {}, {}, {}>> | import('platejs/react').PlatePlugin<import('platejs').PluginConfig<"th", {}, {}, {}, {}>>)[];
|
|
139
163
|
//# sourceMappingURL=table-kit.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-kit.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/plugins/table-kit.tsx"],"names":[],"mappings":"AAgBA,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"table-kit.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/plugins/table-kit.tsx"],"names":[],"mappings":"AAgBA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAM62T,CAAC;yBAA8B,CAAC;;;;uBAAyT,CAAC;oBAAyB,CAAC;mBAAqB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAA1Y,CAAC;yBAA8B,CAAC;;;;uBAAyT,CAAC;oBAAyB,CAAC;mBAAqB,CAAC;;;;;;;;;;;;;;;;;;;;cAA43G,CAAC;kBAAsF,CAAC;oBAA0E,CAAC;kBAAgB,CAAC;kBAAmB,CAAC;;;cAA8S,CAAC;kBAAgF,CAAC;mBAAoB,CAAC;kBAAgB,CAAC;kBAAmB,CAAC;;;;;;;;;;;;;;;;cAAloB,CAAC;kBAAsF,CAAC;oBAA0E,CAAC;kBAAgB,CAAC;kBAAmB,CAAC;;;cAA8S,CAAC;kBAAgF,CAAC;mBAAoB,CAAC;kBAAgB,CAAC;kBAAmB,CAAC;;;;;;;;;;;;;;wBAA99T,CAAC;;sBAAoF,CAAC;;;;;0RADj4I,CAAC"}
|
|
@@ -5,7 +5,7 @@ export declare const ToggleKit: (import('platejs/react').PlatePlugin<import('pla
|
|
|
5
5
|
}, {}, {}, {}>> | import('platejs/react').PlatePlugin<import('platejs').PluginConfig<"toggle", {
|
|
6
6
|
openIds?: Set<string>;
|
|
7
7
|
} & {
|
|
8
|
-
toggleIndex?: ReturnType<(elements:
|
|
8
|
+
toggleIndex?: ReturnType<(elements: any[]) => Map<string, string[]>>;
|
|
9
9
|
}, {
|
|
10
10
|
toggle: {
|
|
11
11
|
toggleIds: (ids: string[], force?: boolean | null) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toggle-kit.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/plugins/toggle-kit.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,SAAS;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"toggle-kit.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/plugins/toggle-kit.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,SAAS;;;;;;;;;;wCAIs2B,CAAC;;;;;MAD53B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"block-context-menu.d.ts","sourceRoot":"","sources":["../../../src/components/ui/block-context-menu.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"block-context-menu.d.ts","sourceRoot":"","sources":["../../../src/components/ui/block-context-menu.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AA6B/B,wBAAgB,gBAAgB,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,yTA8K3E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"block-suggestion.d.ts","sourceRoot":"","sources":["../../../src/components/ui/block-suggestion.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAU/D,OAAO,EACL,KAAK,SAAS,EACd,KAAK,IAAI,EACT,KAAK,QAAQ,EACb,KAAK,eAAe,EAKrB,MAAM,SAAS,CAAC;AAKj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 -6,6 +6,26 @@ declare const captionVariants: (props?: ({
|
|
|
6
6
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
7
|
export declare function Caption({ align, className, ...props }: React.ComponentProps<typeof CaptionPrimitive> & VariantProps<typeof captionVariants>): import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export declare function CaptionTextarea(props: React.ComponentProps<typeof CaptionTextareaPrimitive>): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export declare const CaptionButton:
|
|
9
|
+
export declare const CaptionButton: React.ForwardRefExoticComponent<{
|
|
10
|
+
as?: React.ElementType;
|
|
11
|
+
asChild?: boolean;
|
|
12
|
+
className?: string;
|
|
13
|
+
options?: undefined;
|
|
14
|
+
state?: any;
|
|
15
|
+
style?: React.CSSProperties;
|
|
16
|
+
setProps?: ((hookProps: {
|
|
17
|
+
onClick: () => void;
|
|
18
|
+
}) => Omit<React.ClassAttributes<HTMLButtonElement> & React.ButtonHTMLAttributes<HTMLButtonElement> & VariantProps<(props?: ({
|
|
19
|
+
variant?: "outline" | "link" | "default" | "destructive" | "secondary" | "ghost" | null | undefined;
|
|
20
|
+
size?: "default" | "xs" | "sm" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
|
|
21
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string> & {
|
|
22
|
+
asChild?: boolean;
|
|
23
|
+
}, "ref">) | undefined;
|
|
24
|
+
} & Omit<React.ClassAttributes<HTMLButtonElement> & React.ButtonHTMLAttributes<HTMLButtonElement> & VariantProps<(props?: ({
|
|
25
|
+
variant?: "outline" | "link" | "default" | "destructive" | "secondary" | "ghost" | null | undefined;
|
|
26
|
+
size?: "default" | "xs" | "sm" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
|
|
27
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string> & {
|
|
28
|
+
asChild?: boolean;
|
|
29
|
+
}, "ref"> & React.RefAttributes<any>>;
|
|
10
30
|
export {};
|
|
11
31
|
//# sourceMappingURL=caption.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"caption.d.ts","sourceRoot":"","sources":["../../../src/components/ui/caption.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,OAAO,EACL,OAAO,IAAI,gBAAgB,EAC3B,eAAe,IAAI,wBAAwB,EAG5C,MAAM,wBAAwB,CAAC;AAOhC,QAAA,MAAM,eAAe;;8EAWnB,CAAC;AAEH,wBAAgB,OAAO,CAAC,EACtB,KAAK,EACL,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,GAC9C,YAAY,CAAC,OAAO,eAAe,CAAC,2CAOrC;AAED,wBAAgB,eAAe,CAC7B,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,wBAAwB,CAAC,2CAa7D;
|
|
1
|
+
{"version":3,"file":"caption.d.ts","sourceRoot":"","sources":["../../../src/components/ui/caption.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,OAAO,EACL,OAAO,IAAI,gBAAgB,EAC3B,eAAe,IAAI,wBAAwB,EAG5C,MAAM,wBAAwB,CAAC;AAOhC,QAAA,MAAM,eAAe;;8EAWnB,CAAC;AAEH,wBAAgB,OAAO,CAAC,EACtB,KAAK,EACL,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,GAC9C,YAAY,CAAC,OAAO,eAAe,CAAC,2CAOrC;AAED,wBAAgB,eAAe,CAC7B,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,wBAAwB,CAAC,2CAa7D;AAED,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;qCAGxB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"comment.d.ts","sourceRoot":"","sources":["../../../src/components/ui/comment.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAoB/B,OAAO,
|
|
1
|
+
{"version":3,"file":"comment.d.ts","sourceRoot":"","sources":["../../../src/components/ui/comment.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAoB/B,OAAO,EAGL,KAAK,KAAK,EAIX,MAAM,SAAS,CAAC;AA4BjB,MAAM,MAAM,QAAQ,GAAG;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,KAAK,CAAC;IACnB,SAAS,EAAE,IAAI,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,wBAAgB,OAAO,CAAC,KAAK,EAAE;IAC7B,OAAO,EAAE,QAAQ,CAAC;IAClB,gBAAgB,EAAE,MAAM,CAAC;IACzB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC,CAAC;IAClE,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;CAC5B,2CA+NA;AAuHD,wBAAgB,iBAAiB,CAAC,EAChC,SAAiB,EACjB,SAAS,EACT,YAAY,EAAE,gBAAgB,EAC9B,YAAoB,GACrB,EAAE;IACD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAA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AC,GAAG;IACxD,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B,2CA6BA;AAED,iBAAS,YAAY,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CAQzE;AAED,iBAAS,YAAY,CAAC,EACpB,SAAS,EACT,eAAuB,EACvB,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG;IAC/B,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B,2CAkBA;AAED,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,2CAWpD;AAED,iBAAS,iBAAiB,CAAC,EACzB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,WAAW,CAAC,2CAW1D;AAED,OAAO,EACL,MAAM,EACN,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,YAAY,EACZ,WAAW,EACX,aAAa,GACd,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"floating-toolbar.d.ts","sourceRoot":"","sources":["../../../src/components/ui/floating-toolbar.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EACL,KAAK,oBAAoB,EAK1B,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"floating-toolbar.d.ts","sourceRoot":"","sources":["../../../src/components/ui/floating-toolbar.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EACL,KAAK,oBAAoB,EAK1B,MAAM,mBAAmB,CAAC;AAY3B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAIpC,wBAAgB,eAAe,CAAC,EAC9B,QAAQ,EACR,SAAS,EACT,KAAK,EACL,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,OAAO,CAAC,GAAG;IACxC,KAAK,CAAC,EAAE,oBAAoB,CAAC;CAC9B,kDA8DA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"font-color-toolbar-button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/font-color-toolbar-button.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAEV,iBAAiB,EAClB,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"font-color-toolbar-button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/font-color-toolbar-button.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAEV,iBAAiB,EAClB,MAAM,+BAA+B,CAAC;AAkEvC,wBAAgB,sBAAsB,CAAC,EACrC,QAAQ,EACR,QAAQ,EACR,OAAO,GACR,EAAE;IACD,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,GAAG,iBAAiB,2CAmIpB;AAiPD,KAAK,MAAM,GAAG;IACZ,aAAa,EAAE,OAAO,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAiDF,wBAAgB,sBAAsB,CAAC,EACrC,SAAS,EACT,KAAK,EACL,MAAM,EACN,WAAW,EACX,GAAG,KAAK,EACT,EAAE;IACD,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CA0B9B;AAED,eAAO,MAAM,cAAc;;;;GAuZ1B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-node.d.ts","sourceRoot":"","sources":["../../../src/components/ui/table-node.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"table-node.d.ts","sourceRoot":"","sources":["../../../src/components/ui/table-node.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AA6C/B,OAAO,EAEL,KAAK,iBAAiB,EACtB,KAAK,aAAa,EAClB,KAAK,gBAAgB,EAGtB,MAAM,SAAS,CAAC;AACjB,OAAO,EACL,KAAK,iBAAiB,EAcvB,MAAM,eAAe,CAAC;AA4hBvB,eAAO,MAAM,YAAY,+GA0JxB,CAAC;AAgeF,wBAAgB,eAAe,CAAC,EAC9B,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,iBAAiB,CAAC,gBAAgB,CAAC,2CAiErC;AAiED,wBAAgB,gBAAgB,CAAC,EAC/B,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,GAAG;IACxC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,2CAuEA;AAED,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,2CAGrD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-toolbar-button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/table-toolbar-button.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"table-toolbar-button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/table-toolbar-button.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAkCvE,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,iBAAiB,2CAwM1D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"turn-into-toolbar-button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/turn-into-toolbar-button.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"turn-into-toolbar-button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/turn-into-toolbar-button.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAuCvE,eAAO,MAAM,aAAa;;;;;;;;;;;;IA8DzB,CAAC;AAEF,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,iBAAiB,2CA8D7D"}
|