reactjs-tiptap-editor 0.3.25 → 0.3.26
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/lib/{ActionMenuButton-B3XOtCey.cjs → ActionMenuButton-C9tPWcDX.cjs} +1 -1
- package/lib/{ActionMenuButton-Bh2ft7th.js → ActionMenuButton-DpFt8DwI.js} +1 -1
- package/lib/Attachment.cjs +1 -1
- package/lib/Attachment.d.cts +36 -27
- package/lib/Attachment.d.ts +36 -27
- package/lib/Attachment.js +1 -1
- package/lib/Blockquote.cjs +1 -1
- package/lib/Blockquote.d.cts +36 -27
- package/lib/Blockquote.d.ts +36 -27
- package/lib/Blockquote.js +1 -1
- package/lib/Bold.cjs +1 -1
- package/lib/Bold.d.cts +36 -27
- package/lib/Bold.d.ts +36 -27
- package/lib/Bold.js +1 -1
- package/lib/BulletList.cjs +1 -1
- package/lib/BulletList.d.cts +36 -27
- package/lib/BulletList.d.ts +36 -27
- package/lib/BulletList.js +1 -1
- package/lib/Clear.cjs +1 -1
- package/lib/Clear.d.cts +36 -27
- package/lib/Clear.d.ts +36 -27
- package/lib/Clear.js +1 -1
- package/lib/Code.cjs +1 -1
- package/lib/Code.d.cts +36 -27
- package/lib/Code.d.ts +36 -27
- package/lib/Code.js +1 -1
- package/lib/CodeBlock.cjs +1 -1
- package/lib/CodeBlock.d.cts +36 -27
- package/lib/CodeBlock.d.ts +36 -27
- package/lib/CodeBlock.js +1 -1
- package/lib/CodeView.cjs +1 -1
- package/lib/CodeView.d.cts +36 -27
- package/lib/CodeView.d.ts +36 -27
- package/lib/CodeView.js +1 -1
- package/lib/Color.cjs +1 -1
- package/lib/Color.d.cts +36 -27
- package/lib/Color.d.ts +36 -27
- package/lib/Color.js +1 -1
- package/lib/Document.d.cts +36 -27
- package/lib/Document.d.ts +36 -27
- package/lib/{Drawer-CUntRzbs.cjs → Drawer-BQLKKEOB.cjs} +1 -1
- package/lib/{Drawer-Orz21MYs.js → Drawer-BouNhUKq.js} +1 -1
- package/lib/Drawer.cjs +1 -1
- package/lib/Drawer.d.cts +36 -27
- package/lib/Drawer.d.ts +36 -27
- package/lib/Drawer.js +2 -2
- package/lib/Emoji.cjs +1 -1
- package/lib/Emoji.d.cts +36 -27
- package/lib/Emoji.d.ts +36 -27
- package/lib/Emoji.js +1 -1
- package/lib/{Excalidraw-Bu8XuykT.cjs → Excalidraw-DYbRbH0x.cjs} +1 -1
- package/lib/{Excalidraw-Cj-sXq5F.js → Excalidraw-u2P8Olgi.js} +1 -1
- package/lib/Excalidraw.cjs +1 -1
- package/lib/Excalidraw.d.cts +36 -27
- package/lib/Excalidraw.d.ts +36 -27
- package/lib/Excalidraw.js +1 -1
- package/lib/ExportPdf.cjs +4 -4
- package/lib/ExportPdf.d.cts +37 -27
- package/lib/ExportPdf.d.ts +37 -27
- package/lib/ExportPdf.js +34 -27
- package/lib/ExportWord.cjs +1 -1
- package/lib/ExportWord.d.cts +36 -27
- package/lib/ExportWord.d.ts +36 -27
- package/lib/ExportWord.js +1 -1
- package/lib/FontFamily.cjs +1 -1
- package/lib/FontFamily.d.cts +36 -27
- package/lib/FontFamily.d.ts +36 -27
- package/lib/FontFamily.js +2 -2
- package/lib/FontSize.cjs +1 -1
- package/lib/FontSize.d.cts +36 -27
- package/lib/FontSize.d.ts +36 -27
- package/lib/FontSize.js +2 -2
- package/lib/FormatPainter.cjs +1 -1
- package/lib/FormatPainter.d.cts +36 -27
- package/lib/FormatPainter.d.ts +36 -27
- package/lib/FormatPainter.js +1 -1
- package/lib/Heading.cjs +1 -1
- package/lib/Heading.d.cts +36 -27
- package/lib/Heading.d.ts +36 -27
- package/lib/Heading.js +2 -2
- package/lib/Highlight.cjs +1 -1
- package/lib/Highlight.d.cts +36 -27
- package/lib/Highlight.d.ts +36 -27
- package/lib/Highlight.js +1 -1
- package/lib/History.cjs +1 -1
- package/lib/History.d.cts +36 -27
- package/lib/History.d.ts +36 -27
- package/lib/History.js +1 -1
- package/lib/HorizontalRule.cjs +1 -1
- package/lib/HorizontalRule.d.cts +36 -27
- package/lib/HorizontalRule.d.ts +36 -27
- package/lib/HorizontalRule.js +1 -1
- package/lib/Iframe.cjs +1 -1
- package/lib/Iframe.d.cts +36 -27
- package/lib/Iframe.d.ts +36 -27
- package/lib/Iframe.js +1 -1
- package/lib/Image.cjs +1 -1
- package/lib/Image.d.cts +36 -27
- package/lib/Image.d.ts +36 -27
- package/lib/Image.js +1 -1
- package/lib/ImageGif.cjs +1 -1
- package/lib/ImageGif.d.cts +36 -27
- package/lib/ImageGif.d.ts +36 -27
- package/lib/ImageGif.js +1 -1
- package/lib/ImportWord.cjs +1 -1
- package/lib/ImportWord.d.cts +36 -27
- package/lib/ImportWord.d.ts +36 -27
- package/lib/ImportWord.js +1 -1
- package/lib/Indent.cjs +1 -1
- package/lib/Indent.d.cts +36 -27
- package/lib/Indent.d.ts +36 -27
- package/lib/Indent.js +1 -1
- package/lib/Italic.cjs +1 -1
- package/lib/Italic.d.cts +36 -27
- package/lib/Italic.d.ts +36 -27
- package/lib/Italic.js +1 -1
- package/lib/Katex.cjs +1 -1
- package/lib/Katex.d.cts +36 -27
- package/lib/Katex.d.ts +36 -27
- package/lib/Katex.js +2 -2
- package/lib/LineHeight.cjs +1 -1
- package/lib/LineHeight.d.cts +36 -27
- package/lib/LineHeight.d.ts +36 -27
- package/lib/LineHeight.js +1 -1
- package/lib/Link.cjs +1 -1
- package/lib/Link.d.cts +36 -27
- package/lib/Link.d.ts +36 -27
- package/lib/Link.js +1 -1
- package/lib/ListItem.d.cts +36 -27
- package/lib/ListItem.d.ts +36 -27
- package/lib/Mention.d.cts +36 -27
- package/lib/Mention.d.ts +36 -27
- package/lib/Mermaid.cjs +1 -1
- package/lib/Mermaid.d.cts +36 -27
- package/lib/Mermaid.d.ts +36 -27
- package/lib/Mermaid.js +2 -2
- package/lib/MoreMark.cjs +1 -1
- package/lib/MoreMark.d.cts +36 -27
- package/lib/MoreMark.d.ts +36 -27
- package/lib/MoreMark.js +1 -1
- package/lib/MultiColumn.cjs +1 -1
- package/lib/MultiColumn.d.cts +36 -27
- package/lib/MultiColumn.d.ts +36 -27
- package/lib/MultiColumn.js +1 -1
- package/lib/OrderedList.cjs +1 -1
- package/lib/OrderedList.d.cts +36 -27
- package/lib/OrderedList.d.ts +36 -27
- package/lib/OrderedList.js +1 -1
- package/lib/{RichTextEditor-B5WYnm7K.cjs → RichTextEditor-8GrfwaB4.cjs} +1 -1
- package/lib/{RichTextEditor-CfAFp9V2.js → RichTextEditor-VkzSL04E.js} +3 -3
- package/lib/SearchAndReplace.cjs +1 -1
- package/lib/SearchAndReplace.d.cts +36 -27
- package/lib/SearchAndReplace.d.ts +36 -27
- package/lib/SearchAndReplace.js +1 -1
- package/lib/Selection.d.cts +36 -27
- package/lib/Selection.d.ts +36 -27
- package/lib/SlashCommand.cjs +1 -1
- package/lib/SlashCommand.d.cts +36 -27
- package/lib/SlashCommand.d.ts +36 -27
- package/lib/SlashCommand.js +1 -1
- package/lib/Strike.cjs +1 -1
- package/lib/Strike.d.cts +36 -27
- package/lib/Strike.d.ts +36 -27
- package/lib/Strike.js +1 -1
- package/lib/SubAndSuperScript.cjs +1 -1
- package/lib/SubAndSuperScript.d.cts +36 -27
- package/lib/SubAndSuperScript.d.ts +36 -27
- package/lib/SubAndSuperScript.js +1 -1
- package/lib/Table.cjs +1 -1
- package/lib/Table.d.cts +36 -27
- package/lib/Table.d.ts +36 -27
- package/lib/Table.js +1 -1
- package/lib/TableOfContent.cjs +1 -1
- package/lib/TableOfContent.d.cts +36 -27
- package/lib/TableOfContent.d.ts +36 -27
- package/lib/TableOfContent.js +1 -1
- package/lib/TaskList.cjs +1 -1
- package/lib/TaskList.d.cts +36 -27
- package/lib/TaskList.d.ts +36 -27
- package/lib/TaskList.js +1 -1
- package/lib/TextAlign.cjs +1 -1
- package/lib/TextAlign.d.cts +36 -27
- package/lib/TextAlign.d.ts +36 -27
- package/lib/TextAlign.js +1 -1
- package/lib/TextBubble.cjs +1 -1
- package/lib/TextBubble.d.cts +36 -27
- package/lib/TextBubble.d.ts +36 -27
- package/lib/TextBubble.js +1 -1
- package/lib/TextDirection.cjs +1 -1
- package/lib/TextDirection.d.cts +36 -27
- package/lib/TextDirection.d.ts +36 -27
- package/lib/TextDirection.js +1 -1
- package/lib/TextUnderline.cjs +1 -1
- package/lib/TextUnderline.d.cts +36 -27
- package/lib/TextUnderline.d.ts +36 -27
- package/lib/TextUnderline.js +1 -1
- package/lib/TrailingNode.d.cts +36 -27
- package/lib/TrailingNode.d.ts +36 -27
- package/lib/{Twitter-9AKqIK4p.js → Twitter-DlKz1fXJ.js} +1 -1
- package/lib/{Twitter-BFwUowi8.cjs → Twitter-u_6ZejIn.cjs} +1 -1
- package/lib/Twitter.cjs +1 -1
- package/lib/Twitter.d.cts +36 -27
- package/lib/Twitter.d.ts +36 -27
- package/lib/Twitter.js +1 -1
- package/lib/Video.cjs +1 -1
- package/lib/Video.d.cts +36 -27
- package/lib/Video.d.ts +36 -27
- package/lib/Video.js +1 -1
- package/lib/bubble-extra.cjs +1 -1
- package/lib/bubble-extra.d.cts +36 -27
- package/lib/bubble-extra.d.ts +36 -27
- package/lib/bubble-extra.js +5 -5
- package/lib/index.cjs +1 -1
- package/lib/index.d.cts +36 -27
- package/lib/index.d.ts +36 -27
- package/lib/index.js +2 -2
- package/lib/locale-bundle.d.cts +36 -27
- package/lib/locale-bundle.d.ts +36 -27
- package/lib/{textarea-CWt0EMiJ.js → textarea-BA9ETXT8.js} +1 -1
- package/lib/{textarea-bND4WL8o.cjs → textarea-ESw2TM_u.cjs} +1 -1
- package/package.json +1 -1
package/lib/locale-bundle.d.cts
CHANGED
|
@@ -1134,6 +1134,15 @@ declare module '@tiptap/core' {
|
|
|
1134
1134
|
}
|
|
1135
1135
|
|
|
1136
1136
|
|
|
1137
|
+
declare module '@tiptap/core' {
|
|
1138
|
+
interface Commands<ReturnType> {
|
|
1139
|
+
excalidraw: {
|
|
1140
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
1141
|
+
};
|
|
1142
|
+
}
|
|
1143
|
+
}
|
|
1144
|
+
|
|
1145
|
+
|
|
1137
1146
|
declare module '@tiptap/core' {
|
|
1138
1147
|
interface Commands<ReturnType> {
|
|
1139
1148
|
drawer: {
|
|
@@ -1146,8 +1155,8 @@ declare module '@tiptap/core' {
|
|
|
1146
1155
|
|
|
1147
1156
|
declare module '@tiptap/core' {
|
|
1148
1157
|
interface Commands<ReturnType> {
|
|
1149
|
-
|
|
1150
|
-
|
|
1158
|
+
exportPdf: {
|
|
1159
|
+
exportToPdf: () => ReturnType;
|
|
1151
1160
|
};
|
|
1152
1161
|
}
|
|
1153
1162
|
}
|
|
@@ -1206,19 +1215,19 @@ declare module '@tiptap/core' {
|
|
|
1206
1215
|
|
|
1207
1216
|
declare module '@tiptap/core' {
|
|
1208
1217
|
interface Commands<ReturnType> {
|
|
1209
|
-
|
|
1218
|
+
imageUpload: {
|
|
1210
1219
|
/**
|
|
1211
|
-
* Add an image
|
|
1220
|
+
* Add an image
|
|
1212
1221
|
*/
|
|
1213
|
-
|
|
1222
|
+
setImageInline: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
1214
1223
|
/**
|
|
1215
|
-
* Update an image
|
|
1224
|
+
* Update an image
|
|
1216
1225
|
*/
|
|
1217
|
-
|
|
1226
|
+
updateImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
1218
1227
|
/**
|
|
1219
1228
|
* Set image alignment
|
|
1220
1229
|
*/
|
|
1221
|
-
|
|
1230
|
+
setAlignImage: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
1222
1231
|
};
|
|
1223
1232
|
}
|
|
1224
1233
|
}
|
|
@@ -1226,19 +1235,19 @@ declare module '@tiptap/core' {
|
|
|
1226
1235
|
|
|
1227
1236
|
declare module '@tiptap/core' {
|
|
1228
1237
|
interface Commands<ReturnType> {
|
|
1229
|
-
|
|
1238
|
+
imageGifUpload: {
|
|
1230
1239
|
/**
|
|
1231
|
-
* Add an image
|
|
1240
|
+
* Add an image gif
|
|
1232
1241
|
*/
|
|
1233
|
-
|
|
1242
|
+
setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
1234
1243
|
/**
|
|
1235
|
-
* Update an image
|
|
1244
|
+
* Update an image gif
|
|
1236
1245
|
*/
|
|
1237
|
-
|
|
1246
|
+
updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
1238
1247
|
/**
|
|
1239
1248
|
* Set image alignment
|
|
1240
1249
|
*/
|
|
1241
|
-
|
|
1250
|
+
setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
1242
1251
|
};
|
|
1243
1252
|
}
|
|
1244
1253
|
}
|
|
@@ -1330,14 +1339,15 @@ declare module '@tiptap/core' {
|
|
|
1330
1339
|
|
|
1331
1340
|
declare module '@tiptap/core' {
|
|
1332
1341
|
interface Commands<ReturnType> {
|
|
1333
|
-
|
|
1342
|
+
video: {
|
|
1334
1343
|
/**
|
|
1335
|
-
*
|
|
1336
|
-
* @param options The tweet attributes
|
|
1337
|
-
* @example editor.commands.setTweet({ src: 'https://x.com/seanpk/status/1800145949580517852' })
|
|
1344
|
+
* Add an video
|
|
1338
1345
|
*/
|
|
1339
|
-
|
|
1340
|
-
|
|
1346
|
+
setVideo: (options: Partial<SetVideoOptions>) => ReturnType;
|
|
1347
|
+
/**
|
|
1348
|
+
* Update an video
|
|
1349
|
+
*/
|
|
1350
|
+
updateVideo: (options: Partial<SetVideoOptions>) => ReturnType;
|
|
1341
1351
|
};
|
|
1342
1352
|
}
|
|
1343
1353
|
}
|
|
@@ -1345,15 +1355,14 @@ declare module '@tiptap/core' {
|
|
|
1345
1355
|
|
|
1346
1356
|
declare module '@tiptap/core' {
|
|
1347
1357
|
interface Commands<ReturnType> {
|
|
1348
|
-
|
|
1349
|
-
/**
|
|
1350
|
-
* Add an video
|
|
1351
|
-
*/
|
|
1352
|
-
setVideo: (options: Partial<SetVideoOptions>) => ReturnType;
|
|
1358
|
+
twitter: {
|
|
1353
1359
|
/**
|
|
1354
|
-
*
|
|
1360
|
+
* Insert a tweet
|
|
1361
|
+
* @param options The tweet attributes
|
|
1362
|
+
* @example editor.commands.setTweet({ src: 'https://x.com/seanpk/status/1800145949580517852' })
|
|
1355
1363
|
*/
|
|
1356
|
-
|
|
1364
|
+
setTweet: (options: SetTweetOptions) => ReturnType;
|
|
1365
|
+
updateTweet: (options: SetTweetOptions) => ReturnType;
|
|
1357
1366
|
};
|
|
1358
1367
|
}
|
|
1359
1368
|
}
|
package/lib/locale-bundle.d.ts
CHANGED
|
@@ -1134,6 +1134,15 @@ declare module '@tiptap/core' {
|
|
|
1134
1134
|
}
|
|
1135
1135
|
|
|
1136
1136
|
|
|
1137
|
+
declare module '@tiptap/core' {
|
|
1138
|
+
interface Commands<ReturnType> {
|
|
1139
|
+
excalidraw: {
|
|
1140
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
1141
|
+
};
|
|
1142
|
+
}
|
|
1143
|
+
}
|
|
1144
|
+
|
|
1145
|
+
|
|
1137
1146
|
declare module '@tiptap/core' {
|
|
1138
1147
|
interface Commands<ReturnType> {
|
|
1139
1148
|
drawer: {
|
|
@@ -1146,8 +1155,8 @@ declare module '@tiptap/core' {
|
|
|
1146
1155
|
|
|
1147
1156
|
declare module '@tiptap/core' {
|
|
1148
1157
|
interface Commands<ReturnType> {
|
|
1149
|
-
|
|
1150
|
-
|
|
1158
|
+
exportPdf: {
|
|
1159
|
+
exportToPdf: () => ReturnType;
|
|
1151
1160
|
};
|
|
1152
1161
|
}
|
|
1153
1162
|
}
|
|
@@ -1206,19 +1215,19 @@ declare module '@tiptap/core' {
|
|
|
1206
1215
|
|
|
1207
1216
|
declare module '@tiptap/core' {
|
|
1208
1217
|
interface Commands<ReturnType> {
|
|
1209
|
-
|
|
1218
|
+
imageUpload: {
|
|
1210
1219
|
/**
|
|
1211
|
-
* Add an image
|
|
1220
|
+
* Add an image
|
|
1212
1221
|
*/
|
|
1213
|
-
|
|
1222
|
+
setImageInline: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
1214
1223
|
/**
|
|
1215
|
-
* Update an image
|
|
1224
|
+
* Update an image
|
|
1216
1225
|
*/
|
|
1217
|
-
|
|
1226
|
+
updateImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
1218
1227
|
/**
|
|
1219
1228
|
* Set image alignment
|
|
1220
1229
|
*/
|
|
1221
|
-
|
|
1230
|
+
setAlignImage: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
1222
1231
|
};
|
|
1223
1232
|
}
|
|
1224
1233
|
}
|
|
@@ -1226,19 +1235,19 @@ declare module '@tiptap/core' {
|
|
|
1226
1235
|
|
|
1227
1236
|
declare module '@tiptap/core' {
|
|
1228
1237
|
interface Commands<ReturnType> {
|
|
1229
|
-
|
|
1238
|
+
imageGifUpload: {
|
|
1230
1239
|
/**
|
|
1231
|
-
* Add an image
|
|
1240
|
+
* Add an image gif
|
|
1232
1241
|
*/
|
|
1233
|
-
|
|
1242
|
+
setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
1234
1243
|
/**
|
|
1235
|
-
* Update an image
|
|
1244
|
+
* Update an image gif
|
|
1236
1245
|
*/
|
|
1237
|
-
|
|
1246
|
+
updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
1238
1247
|
/**
|
|
1239
1248
|
* Set image alignment
|
|
1240
1249
|
*/
|
|
1241
|
-
|
|
1250
|
+
setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
1242
1251
|
};
|
|
1243
1252
|
}
|
|
1244
1253
|
}
|
|
@@ -1330,14 +1339,15 @@ declare module '@tiptap/core' {
|
|
|
1330
1339
|
|
|
1331
1340
|
declare module '@tiptap/core' {
|
|
1332
1341
|
interface Commands<ReturnType> {
|
|
1333
|
-
|
|
1342
|
+
video: {
|
|
1334
1343
|
/**
|
|
1335
|
-
*
|
|
1336
|
-
* @param options The tweet attributes
|
|
1337
|
-
* @example editor.commands.setTweet({ src: 'https://x.com/seanpk/status/1800145949580517852' })
|
|
1344
|
+
* Add an video
|
|
1338
1345
|
*/
|
|
1339
|
-
|
|
1340
|
-
|
|
1346
|
+
setVideo: (options: Partial<SetVideoOptions>) => ReturnType;
|
|
1347
|
+
/**
|
|
1348
|
+
* Update an video
|
|
1349
|
+
*/
|
|
1350
|
+
updateVideo: (options: Partial<SetVideoOptions>) => ReturnType;
|
|
1341
1351
|
};
|
|
1342
1352
|
}
|
|
1343
1353
|
}
|
|
@@ -1345,15 +1355,14 @@ declare module '@tiptap/core' {
|
|
|
1345
1355
|
|
|
1346
1356
|
declare module '@tiptap/core' {
|
|
1347
1357
|
interface Commands<ReturnType> {
|
|
1348
|
-
|
|
1349
|
-
/**
|
|
1350
|
-
* Add an video
|
|
1351
|
-
*/
|
|
1352
|
-
setVideo: (options: Partial<SetVideoOptions>) => ReturnType;
|
|
1358
|
+
twitter: {
|
|
1353
1359
|
/**
|
|
1354
|
-
*
|
|
1360
|
+
* Insert a tweet
|
|
1361
|
+
* @param options The tweet attributes
|
|
1362
|
+
* @example editor.commands.setTweet({ src: 'https://x.com/seanpk/status/1800145949580517852' })
|
|
1355
1363
|
*/
|
|
1356
|
-
|
|
1364
|
+
setTweet: (options: SetTweetOptions) => ReturnType;
|
|
1365
|
+
updateTweet: (options: SetTweetOptions) => ReturnType;
|
|
1357
1366
|
};
|
|
1358
1367
|
}
|
|
1359
1368
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import * as c from "react";
|
|
3
|
-
import { d as o } from "./RichTextEditor-
|
|
3
|
+
import { d as o } from "./RichTextEditor-VkzSL04E.js";
|
|
4
4
|
const x = c.forwardRef(
|
|
5
5
|
({ className: t, ...e }, r) => /* @__PURE__ */ i(
|
|
6
6
|
"textarea",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const n=require("react/jsx-runtime"),o=require("react"),a=require("./RichTextEditor-
|
|
1
|
+
"use strict";const n=require("react/jsx-runtime"),o=require("react"),a=require("./RichTextEditor-8GrfwaB4.cjs");function s(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const i=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,i.get?i:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const u=s(o),c=u.forwardRef(({className:e,...r},t)=>n.jsx("textarea",{className:a.cn("richtext-flex richtext-min-h-[80px] richtext-w-full richtext-rounded-md !richtext-border richtext-border-input richtext-bg-background richtext-px-3 richtext-py-2 richtext-text-sm richtext-ring-offset-background placeholder:richtext-text-muted-foreground focus-visible:richtext-outline-none focus-visible:richtext-ring-2 focus-visible:richtext-ring-ring focus-visible:richtext-ring-offset-2 disabled:richtext-cursor-not-allowed disabled:richtext-opacity-50",e),ref:t,...r}));c.displayName="Textarea";exports.Textarea=c;
|
package/package.json
CHANGED