@oyat/editor 1.7.10 → 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 +300 -1
- 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/block-menu-kit.d.ts +165 -1
- package/dist/components/editor/plugins/block-menu-kit.d.ts.map +1 -1
- package/dist/components/editor/plugins/block-selection-kit.d.ts +137 -1
- package/dist/components/editor/plugins/block-selection-kit.d.ts.map +1 -1
- package/dist/components/editor/plugins/cursor-overlay-kit.d.ts +11 -1
- package/dist/components/editor/plugins/cursor-overlay-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 +94 -1
- package/dist/components/editor/plugins/table-base-kit.d.ts.map +1 -1
- package/dist/components/editor/plugins/table-kit.d.ts +162 -1
- 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/index.js +843 -843
- package/dist/index.js.map +1 -1
- package/package.json +44 -44
|
@@ -1,2 +1,163 @@
|
|
|
1
|
-
export declare const TableKit:
|
|
1
|
+
export declare const TableKit: (import('platejs/react').PlatePlugin<import('platejs').PluginConfig<"table", {
|
|
2
|
+
_cellIndices: Record<string, {
|
|
3
|
+
col: number;
|
|
4
|
+
row: number;
|
|
5
|
+
}>;
|
|
6
|
+
_selectedCellIds: string[] | null | undefined;
|
|
7
|
+
_selectedTableIds: string[] | null | undefined;
|
|
8
|
+
_selectionVersion: number;
|
|
9
|
+
selectedCells: import('platejs').TElement[] | null;
|
|
10
|
+
selectedTables: import('platejs').TElement[] | null;
|
|
11
|
+
disableExpandOnInsert?: boolean;
|
|
12
|
+
disableMarginLeft?: boolean;
|
|
13
|
+
disableMerge?: boolean;
|
|
14
|
+
enableUnsetSingleColSize?: boolean;
|
|
15
|
+
initialTableWidth?: number;
|
|
16
|
+
minColumnWidth?: number;
|
|
17
|
+
}, {
|
|
18
|
+
create: {
|
|
19
|
+
table: import('platejs').OmitFirst<(editor: import('platejs').SlateEditor, { colCount, header, rowCount, ...cellOptions }?: import('@platejs/table').GetEmptyTableNodeOptions) => import('platejs').TTableElement>;
|
|
20
|
+
tableCell: import('platejs').OmitFirst<(editor: import('platejs').SlateEditor, { children, header, row }?: import('@platejs/table').CreateCellOptions) => {
|
|
21
|
+
children: import('platejs').Descendant[];
|
|
22
|
+
type: string;
|
|
23
|
+
}>;
|
|
24
|
+
tableRow: import('platejs').OmitFirst<(editor: import('platejs').SlateEditor, { colCount, ...cellOptions }?: import('@platejs/table').GetEmptyRowNodeOptions) => {
|
|
25
|
+
children: {
|
|
26
|
+
children: import('platejs').Descendant[];
|
|
27
|
+
type: string;
|
|
28
|
+
}[];
|
|
29
|
+
type: string;
|
|
30
|
+
}>;
|
|
31
|
+
};
|
|
32
|
+
table: {
|
|
33
|
+
getCellBorders: import('platejs').OmitFirst<(editor: import('platejs').SlateEditor, { cellIndices, defaultBorder, element }: {
|
|
34
|
+
element: import('platejs').TTableCellElement;
|
|
35
|
+
cellIndices?: import('@platejs/table').CellIndices;
|
|
36
|
+
defaultBorder?: import('platejs').TTableCellBorder;
|
|
37
|
+
}) => import('@platejs/table').BorderStylesDefault>;
|
|
38
|
+
getCellSize: import('platejs').OmitFirst<(editor: import('platejs').SlateEditor, { cellIndices, colSizes, element, rowSize }: {
|
|
39
|
+
element: import('platejs').TTableCellElement;
|
|
40
|
+
cellIndices?: import('@platejs/table').CellIndices;
|
|
41
|
+
colSizes?: number[];
|
|
42
|
+
rowSize?: number;
|
|
43
|
+
}) => {
|
|
44
|
+
minHeight: number;
|
|
45
|
+
width: number;
|
|
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>;
|
|
52
|
+
getColSpan: (cellElem: import('platejs').TTableCellElement) => number;
|
|
53
|
+
getRowSpan: (cellElem: import('platejs').TTableCellElement) => number;
|
|
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>;
|
|
57
|
+
};
|
|
58
|
+
} & {
|
|
59
|
+
create: {
|
|
60
|
+
table: import('platejs').OmitFirst<(editor: import('platejs').SlateEditor, { colCount, header, rowCount, ...cellOptions }?: import('@platejs/table').GetEmptyTableNodeOptions) => import('platejs').TTableElement>;
|
|
61
|
+
tableCell: import('platejs').OmitFirst<(editor: import('platejs').SlateEditor, { children, header, row }?: import('@platejs/table').CreateCellOptions) => {
|
|
62
|
+
children: import('platejs').Descendant[];
|
|
63
|
+
type: string;
|
|
64
|
+
}>;
|
|
65
|
+
tableRow: import('platejs').OmitFirst<(editor: import('platejs').SlateEditor, { colCount, ...cellOptions }?: import('@platejs/table').GetEmptyRowNodeOptions) => {
|
|
66
|
+
children: {
|
|
67
|
+
children: import('platejs').Descendant[];
|
|
68
|
+
type: string;
|
|
69
|
+
}[];
|
|
70
|
+
type: string;
|
|
71
|
+
}>;
|
|
72
|
+
};
|
|
73
|
+
table: {
|
|
74
|
+
getCellBorders: import('platejs').OmitFirst<(editor: import('platejs').SlateEditor, { cellIndices, defaultBorder, element }: {
|
|
75
|
+
element: import('platejs').TTableCellElement;
|
|
76
|
+
cellIndices?: import('@platejs/table').CellIndices;
|
|
77
|
+
defaultBorder?: import('platejs').TTableCellBorder;
|
|
78
|
+
}) => import('@platejs/table').BorderStylesDefault>;
|
|
79
|
+
getCellSize: import('platejs').OmitFirst<(editor: import('platejs').SlateEditor, { cellIndices, colSizes, element, rowSize }: {
|
|
80
|
+
element: import('platejs').TTableCellElement;
|
|
81
|
+
cellIndices?: import('@platejs/table').CellIndices;
|
|
82
|
+
colSizes?: number[];
|
|
83
|
+
rowSize?: number;
|
|
84
|
+
}) => {
|
|
85
|
+
minHeight: number;
|
|
86
|
+
width: number;
|
|
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>;
|
|
93
|
+
getColSpan: (cellElem: import('platejs').TTableCellElement) => number;
|
|
94
|
+
getRowSpan: (cellElem: import('platejs').TTableCellElement) => number;
|
|
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>;
|
|
98
|
+
};
|
|
99
|
+
}, {
|
|
100
|
+
insert: {
|
|
101
|
+
table: import('platejs').OmitFirst<(editor: import('platejs').SlateEditor, { colCount, header, rowCount }?: import('@platejs/table').GetEmptyTableNodeOptions, { select: shouldSelect, ...options }?: import('platejs').InsertNodesOptions) => void>;
|
|
102
|
+
tableColumn: import('platejs').OmitFirst<(editor: import('platejs').SlateEditor, options?: {
|
|
103
|
+
at?: import('platejs').Path;
|
|
104
|
+
before?: boolean;
|
|
105
|
+
fromCell?: import('platejs').Path;
|
|
106
|
+
header?: boolean;
|
|
107
|
+
select?: boolean;
|
|
108
|
+
}) => void>;
|
|
109
|
+
tableRow: import('platejs').OmitFirst<(editor: import('platejs').SlateEditor, options?: {
|
|
110
|
+
at?: import('platejs').Path;
|
|
111
|
+
before?: boolean;
|
|
112
|
+
fromRow?: import('platejs').Path;
|
|
113
|
+
header?: boolean;
|
|
114
|
+
select?: boolean;
|
|
115
|
+
}) => void>;
|
|
116
|
+
};
|
|
117
|
+
remove: {
|
|
118
|
+
table: import('platejs').OmitFirst<(editor: import('platejs').SlateEditor) => void>;
|
|
119
|
+
tableColumn: import('platejs').OmitFirst<(editor: import('platejs').SlateEditor) => void>;
|
|
120
|
+
tableRow: import('platejs').OmitFirst<(editor: import('platejs').SlateEditor) => void>;
|
|
121
|
+
};
|
|
122
|
+
table: {
|
|
123
|
+
merge: import('platejs').OmitFirst<(editor: import('platejs').SlateEditor) => void>;
|
|
124
|
+
split: import('platejs').OmitFirst<(editor: import('platejs').SlateEditor) => void>;
|
|
125
|
+
};
|
|
126
|
+
} & {
|
|
127
|
+
insert: {
|
|
128
|
+
table: import('platejs').OmitFirst<(editor: import('platejs').SlateEditor, { colCount, header, rowCount }?: import('@platejs/table').GetEmptyTableNodeOptions, { select: shouldSelect, ...options }?: import('platejs').InsertNodesOptions) => void>;
|
|
129
|
+
tableColumn: import('platejs').OmitFirst<(editor: import('platejs').SlateEditor, options?: {
|
|
130
|
+
at?: import('platejs').Path;
|
|
131
|
+
before?: boolean;
|
|
132
|
+
fromCell?: import('platejs').Path;
|
|
133
|
+
header?: boolean;
|
|
134
|
+
select?: boolean;
|
|
135
|
+
}) => void>;
|
|
136
|
+
tableRow: import('platejs').OmitFirst<(editor: import('platejs').SlateEditor, options?: {
|
|
137
|
+
at?: import('platejs').Path;
|
|
138
|
+
before?: boolean;
|
|
139
|
+
fromRow?: import('platejs').Path;
|
|
140
|
+
header?: boolean;
|
|
141
|
+
select?: boolean;
|
|
142
|
+
}) => void>;
|
|
143
|
+
};
|
|
144
|
+
remove: {
|
|
145
|
+
table: import('platejs').OmitFirst<(editor: import('platejs').SlateEditor) => void>;
|
|
146
|
+
tableColumn: import('platejs').OmitFirst<(editor: import('platejs').SlateEditor) => void>;
|
|
147
|
+
tableRow: import('platejs').OmitFirst<(editor: import('platejs').SlateEditor) => void>;
|
|
148
|
+
};
|
|
149
|
+
table: {
|
|
150
|
+
merge: import('platejs').OmitFirst<(editor: import('platejs').SlateEditor) => void>;
|
|
151
|
+
split: import('platejs').OmitFirst<(editor: import('platejs').SlateEditor) => void>;
|
|
152
|
+
};
|
|
153
|
+
}, {
|
|
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;
|
|
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", {}, {}, {}, {}>>)[];
|
|
2
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;AAKjB,OAAO,EACL,KAAK,WAAW,EAEjB,MAAM,4CAA4C,CAAC;AAGpD,OAAO,EACL,KAAK,QAAQ,EAId,MAAM,WAAW,CAAC;AAEnB,MAAM,WAAW,kBAAmB,SAAQ,mBAAmB;IAC7D,QAAQ,EAAE,QAAQ,EAAE,CAAC;CACtB;AAqCD,wBAAgB,mBAAmB,CAAC,EAClC,GAAG,EACH,MAAM,EACN,UAAU,GACX,EAAE;IACD,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,OAAO,CAAC;IAChB,UAAU,EAAE,kBAAkB,CAAC;CAChC,
|
|
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;AAKjB,OAAO,EACL,KAAK,WAAW,EAEjB,MAAM,4CAA4C,CAAC;AAGpD,OAAO,EACL,KAAK,QAAQ,EAId,MAAM,WAAW,CAAC;AAEnB,MAAM,WAAW,kBAAmB,SAAQ,mBAAmB;IAC7D,QAAQ,EAAE,QAAQ,EAAE,CAAC;CACtB;AAqCD,wBAAgB,mBAAmB,CAAC,EAClC,GAAG,EACH,MAAM,EACN,UAAU,GACX,EAAE;IACD,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,OAAO,CAAC;IAChB,UAAU,EAAE,kBAAkB,CAAC;CAChC,2CAmLA;AAED,eAAO,MAAM,oBAAoB,GAC/B,iBAAiB,SAAS,CAAC,QAAQ,GAAG,eAAe,CAAC,EAAE,EACxD,WAAW,IAAI,yBA8NhB,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAC/B,YAAY,kBAAkB,GAAG,WAAW,KAC3C,UAAU,IAAI,kBAAkD,CAAC"}
|
|
@@ -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,OA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