@fuma-content/studio 0.1.0

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.
Files changed (413) hide show
  1. package/dist/bin.d.mts +1 -0
  2. package/dist/bin.mjs +90 -0
  3. package/dist/index.d.mts +13 -0
  4. package/dist/index.mjs +66 -0
  5. package/dist/mdx/actions.mjs +34 -0
  6. package/dist/mdx/client.mjs +167 -0
  7. package/dist/package.mjs +6 -0
  8. package/dist/src/components/code-editor/mdx.lazy.mjs +19 -0
  9. package/dist/src/components/code-editor/mdx.mjs +44 -0
  10. package/dist/src/components/code-editor/yaml.lazy.mjs +22 -0
  11. package/dist/src/components/code-editor/yaml.mjs +63 -0
  12. package/dist/src/components/editor/editor-base-kit.mjs +41 -0
  13. package/dist/src/components/editor/editor-kit.mjs +73 -0
  14. package/dist/src/components/editor/md.mjs +42 -0
  15. package/dist/src/components/editor/plugins/ai-kit.mjs +68 -0
  16. package/dist/src/components/editor/plugins/align-base-kit.mjs +28 -0
  17. package/dist/src/components/editor/plugins/align-kit.mjs +30 -0
  18. package/dist/src/components/editor/plugins/autoformat-kit.mjs +214 -0
  19. package/dist/src/components/editor/plugins/basic-blocks-base-kit.mjs +22 -0
  20. package/dist/src/components/editor/plugins/basic-blocks-kit.mjs +51 -0
  21. package/dist/src/components/editor/plugins/basic-marks-base-kit.mjs +20 -0
  22. package/dist/src/components/editor/plugins/basic-marks-kit.mjs +28 -0
  23. package/dist/src/components/editor/plugins/block-menu-kit.mjs +11 -0
  24. package/dist/src/components/editor/plugins/block-placeholder-kit.mjs +14 -0
  25. package/dist/src/components/editor/plugins/block-selection-kit.mjs +48 -0
  26. package/dist/src/components/editor/plugins/callout-base-kit.mjs +8 -0
  27. package/dist/src/components/editor/plugins/callout-kit.mjs +10 -0
  28. package/dist/src/components/editor/plugins/code-block-base-kit.mjs +16 -0
  29. package/dist/src/components/editor/plugins/code-block-kit.mjs +19 -0
  30. package/dist/src/components/editor/plugins/column-base-kit.mjs +8 -0
  31. package/dist/src/components/editor/plugins/column-kit.mjs +10 -0
  32. package/dist/src/components/editor/plugins/comment-base-kit.mjs +8 -0
  33. package/dist/src/components/editor/plugins/comment-kit.mjs +53 -0
  34. package/dist/src/components/editor/plugins/copilot-kit.mjs +49 -0
  35. package/dist/src/components/editor/plugins/cursor-overlay-kit.mjs +11 -0
  36. package/dist/src/components/editor/plugins/date-base-kit.mjs +8 -0
  37. package/dist/src/components/editor/plugins/date-kit.mjs +10 -0
  38. package/dist/src/components/editor/plugins/discussion-kit.mjs +94 -0
  39. package/dist/src/components/editor/plugins/dnd-kit.mjs +31 -0
  40. package/dist/src/components/editor/plugins/emoji-kit.mjs +11 -0
  41. package/dist/src/components/editor/plugins/exit-break-kit.mjs +12 -0
  42. package/dist/src/components/editor/plugins/fixed-toolbar-kit.mjs +15 -0
  43. package/dist/src/components/editor/plugins/floating-toolbar-kit.mjs +15 -0
  44. package/dist/src/components/editor/plugins/font-base-kit.mjs +14 -0
  45. package/dist/src/components/editor/plugins/font-kit.mjs +19 -0
  46. package/dist/src/components/editor/plugins/indent-base-kit.mjs +17 -0
  47. package/dist/src/components/editor/plugins/indent-kit.mjs +20 -0
  48. package/dist/src/components/editor/plugins/line-height-base-kit.mjs +20 -0
  49. package/dist/src/components/editor/plugins/line-height-kit.mjs +22 -0
  50. package/dist/src/components/editor/plugins/link-base-kit.mjs +8 -0
  51. package/dist/src/components/editor/plugins/link-kit.mjs +15 -0
  52. package/dist/src/components/editor/plugins/list-base-kit.mjs +19 -0
  53. package/dist/src/components/editor/plugins/list-kit.mjs +22 -0
  54. package/dist/src/components/editor/plugins/markdown-kit.mjs +17 -0
  55. package/dist/src/components/editor/plugins/math-base-kit.mjs +8 -0
  56. package/dist/src/components/editor/plugins/math-kit.mjs +10 -0
  57. package/dist/src/components/editor/plugins/media-base-kit.mjs +23 -0
  58. package/dist/src/components/editor/plugins/media-kit.mjs +37 -0
  59. package/dist/src/components/editor/plugins/slash-kit.mjs +11 -0
  60. package/dist/src/components/editor/plugins/suggestion-base-kit.mjs +8 -0
  61. package/dist/src/components/editor/plugins/suggestion-kit.mjs +50 -0
  62. package/dist/src/components/editor/plugins/table-base-kit.mjs +13 -0
  63. package/dist/src/components/editor/plugins/table-kit.mjs +15 -0
  64. package/dist/src/components/editor/transforms.mjs +125 -0
  65. package/dist/src/components/editor/ui/ai-chat-editor.mjs +21 -0
  66. package/dist/src/components/editor/ui/ai-menu.mjs +488 -0
  67. package/dist/src/components/editor/ui/ai-node.mjs +24 -0
  68. package/dist/src/components/editor/ui/ai-toolbar-button.mjs +23 -0
  69. package/dist/src/components/editor/ui/align-toolbar-button.mjs +71 -0
  70. package/dist/src/components/editor/ui/block-context-menu.mjs +130 -0
  71. package/dist/src/components/editor/ui/block-discussion.mjs +200 -0
  72. package/dist/src/components/editor/ui/block-draggable.mjs +265 -0
  73. package/dist/src/components/editor/ui/block-list-static.mjs +48 -0
  74. package/dist/src/components/editor/ui/block-list.mjs +47 -0
  75. package/dist/src/components/editor/ui/block-selection.mjs +28 -0
  76. package/dist/src/components/editor/ui/block-suggestion.mjs +319 -0
  77. package/dist/src/components/editor/ui/blockquote-node-static.mjs +14 -0
  78. package/dist/src/components/editor/ui/blockquote-node.mjs +16 -0
  79. package/dist/src/components/editor/ui/callout-node-static.mjs +29 -0
  80. package/dist/src/components/editor/ui/callout-node.mjs +50 -0
  81. package/dist/src/components/editor/ui/caption.mjs +39 -0
  82. package/dist/src/components/editor/ui/code-block-node-static.mjs +30 -0
  83. package/dist/src/components/editor/ui/code-block-node.mjs +121 -0
  84. package/dist/src/components/editor/ui/code-node-static.mjs +15 -0
  85. package/dist/src/components/editor/ui/code-node.mjs +17 -0
  86. package/dist/src/components/editor/ui/column-node-static.mjs +32 -0
  87. package/dist/src/components/editor/ui/column-node.mjs +229 -0
  88. package/dist/src/components/editor/ui/comment-node-static.mjs +14 -0
  89. package/dist/src/components/editor/ui/comment-node.mjs +33 -0
  90. package/dist/src/components/editor/ui/comment-toolbar-button.mjs +23 -0
  91. package/dist/src/components/editor/ui/comment.mjs +422 -0
  92. package/dist/src/components/editor/ui/cursor-overlay.mjs +36 -0
  93. package/dist/src/components/editor/ui/date-node-static.mjs +32 -0
  94. package/dist/src/components/editor/ui/date-node.mjs +60 -0
  95. package/dist/src/components/editor/ui/editor-static.mjs +31 -0
  96. package/dist/src/components/editor/ui/editor.mjs +60 -0
  97. package/dist/src/components/editor/ui/emoji-node.mjs +46 -0
  98. package/dist/src/components/editor/ui/emoji-toolbar-button.mjs +415 -0
  99. package/dist/src/components/editor/ui/equation-node-static.mjs +65 -0
  100. package/dist/src/components/editor/ui/equation-node.mjs +159 -0
  101. package/dist/src/components/editor/ui/equation-toolbar-button.mjs +23 -0
  102. package/dist/src/components/editor/ui/fixed-toolbar-buttons.mjs +109 -0
  103. package/dist/src/components/editor/ui/fixed-toolbar.mjs +16 -0
  104. package/dist/src/components/editor/ui/floating-toolbar-buttons.mjs +54 -0
  105. package/dist/src/components/editor/ui/floating-toolbar.mjs +51 -0
  106. package/dist/src/components/editor/ui/font-color-toolbar-button.mjs +637 -0
  107. package/dist/src/components/editor/ui/font-size-toolbar-button.mjs +83 -0
  108. package/dist/src/components/editor/ui/ghost-text.mjs +22 -0
  109. package/dist/src/components/editor/ui/heading-node-static.mjs +60 -0
  110. package/dist/src/components/editor/ui/heading-node.mjs +62 -0
  111. package/dist/src/components/editor/ui/highlight-node-static.mjs +15 -0
  112. package/dist/src/components/editor/ui/highlight-node.mjs +17 -0
  113. package/dist/src/components/editor/ui/history-toolbar-button.mjs +35 -0
  114. package/dist/src/components/editor/ui/hr-node-static.mjs +18 -0
  115. package/dist/src/components/editor/ui/hr-node.mjs +23 -0
  116. package/dist/src/components/editor/ui/indent-toolbar-button.mjs +29 -0
  117. package/dist/src/components/editor/ui/inline-combobox.mjs +148 -0
  118. package/dist/src/components/editor/ui/insert-toolbar-button.mjs +199 -0
  119. package/dist/src/components/editor/ui/kbd-node-static.mjs +15 -0
  120. package/dist/src/components/editor/ui/kbd-node.mjs +17 -0
  121. package/dist/src/components/editor/ui/line-height-toolbar-button.mjs +56 -0
  122. package/dist/src/components/editor/ui/link-node-static.mjs +20 -0
  123. package/dist/src/components/editor/ui/link-node.mjs +28 -0
  124. package/dist/src/components/editor/ui/link-toolbar-button.mjs +21 -0
  125. package/dist/src/components/editor/ui/link-toolbar.mjs +141 -0
  126. package/dist/src/components/editor/ui/list-toolbar-button.mjs +131 -0
  127. package/dist/src/components/editor/ui/mark-toolbar-button.mjs +20 -0
  128. package/dist/src/components/editor/ui/media-image-node-static.mjs +32 -0
  129. package/dist/src/components/editor/ui/media-image-node.mjs +64 -0
  130. package/dist/src/components/editor/ui/media-placeholder-node.mjs +184 -0
  131. package/dist/src/components/editor/ui/media-preview-dialog.mjs +113 -0
  132. package/dist/src/components/editor/ui/media-toolbar-button.mjs +156 -0
  133. package/dist/src/components/editor/ui/media-toolbar.mjs +80 -0
  134. package/dist/src/components/editor/ui/media-upload-toast.mjs +39 -0
  135. package/dist/src/components/editor/ui/media-video-node-static.mjs +27 -0
  136. package/dist/src/components/editor/ui/mode-toolbar-button.mjs +112 -0
  137. package/dist/src/components/editor/ui/paragraph-node-static.mjs +15 -0
  138. package/dist/src/components/editor/ui/paragraph-node.mjs +17 -0
  139. package/dist/src/components/editor/ui/resize-handle.mjs +43 -0
  140. package/dist/src/components/editor/ui/slash-node.mjs +228 -0
  141. package/dist/src/components/editor/ui/suggestion-node-static.mjs +24 -0
  142. package/dist/src/components/editor/ui/suggestion-node.mjs +111 -0
  143. package/dist/src/components/editor/ui/suggestion-toolbar-button.mjs +24 -0
  144. package/dist/src/components/editor/ui/table-icons.mjs +1310 -0
  145. package/dist/src/components/editor/ui/table-node-static.mjs +68 -0
  146. package/dist/src/components/editor/ui/table-node.mjs +375 -0
  147. package/dist/src/components/editor/ui/table-toolbar-button.mjs +190 -0
  148. package/dist/src/components/editor/ui/turn-into-toolbar-button.mjs +168 -0
  149. package/dist/src/components/editor/use-chat.mjs +80 -0
  150. package/dist/src/components/json-schema-editor/client.mjs +46 -0
  151. package/dist/src/components/json-schema-editor/components/inputs.mjs +438 -0
  152. package/dist/src/components/json-schema-editor/get-default-values.mjs +23 -0
  153. package/dist/src/components/json-schema-editor/schema.mjs +131 -0
  154. package/dist/src/components/json-schema-editor/utils/merge-schema.mjs +134 -0
  155. package/dist/src/components/json-schema-editor/utils/schema-to-string.mjs +53 -0
  156. package/dist/src/components/ui/alert-dialog.mjs +90 -0
  157. package/dist/src/components/ui/avatar.mjs +32 -0
  158. package/dist/src/components/ui/button.mjs +48 -0
  159. package/dist/src/components/ui/calendar.mjs +108 -0
  160. package/dist/src/components/ui/checkbox.mjs +23 -0
  161. package/dist/src/components/ui/combobox.mjs +53 -0
  162. package/dist/src/components/ui/command.mjs +42 -0
  163. package/dist/src/components/ui/context-menu.mjs +67 -0
  164. package/dist/src/components/ui/dialog.mjs +9 -0
  165. package/dist/src/components/ui/dropdown-menu.mjs +122 -0
  166. package/dist/src/components/ui/input-group.mjs +31 -0
  167. package/dist/src/components/ui/input.mjs +15 -0
  168. package/dist/src/components/ui/label.mjs +19 -0
  169. package/dist/src/components/ui/popover.mjs +37 -0
  170. package/dist/src/components/ui/select.mjs +80 -0
  171. package/dist/src/components/ui/separator.mjs +19 -0
  172. package/dist/src/components/ui/spinner.mjs +16 -0
  173. package/dist/src/components/ui/tabs.mjs +39 -0
  174. package/dist/src/components/ui/textarea.mjs +14 -0
  175. package/dist/src/components/ui/toolbar.mjs +183 -0
  176. package/dist/src/components/ui/tooltip.mjs +38 -0
  177. package/dist/src/hooks/editor/use-is-creator.mjs +19 -0
  178. package/dist/src/hooks/use-upload-file.mjs +73 -0
  179. package/dist/src/lib/config.mjs +38 -0
  180. package/dist/src/lib/data/store.d.mts +15 -0
  181. package/dist/src/lib/lowlight.mjs +7 -0
  182. package/dist/src/lib/utils/deep-equal.mjs +18 -0
  183. package/dist/src/lib/utils/remove-undefined.mjs +18 -0
  184. package/dist/src/lib/utils.mjs +10 -0
  185. package/dist/types.d.mts +50 -0
  186. package/next.config.ts +23 -0
  187. package/package.json +131 -0
  188. package/postcss.config.mjs +7 -0
  189. package/src/app/(dashboard)/collection/[name]/[...slug]/page.client.tsx +26 -0
  190. package/src/app/(dashboard)/collection/[name]/[...slug]/page.tsx +17 -0
  191. package/src/app/(dashboard)/collection/[name]/page.client.tsx +82 -0
  192. package/src/app/(dashboard)/collection/[name]/page.tsx +11 -0
  193. package/src/app/(dashboard)/layout.tsx +34 -0
  194. package/src/app/(dashboard)/page.tsx +38 -0
  195. package/src/app/api/ai/command/prompts.ts +313 -0
  196. package/src/app/api/ai/command/route.ts +203 -0
  197. package/src/app/api/ai/command/utils.ts +242 -0
  198. package/src/app/api/ai/copilot/route.ts +33 -0
  199. package/src/app/api/uploadthing/route.ts +5 -0
  200. package/src/app/codeblock/LICENSE +21 -0
  201. package/src/app/codeblock/styles.css +289 -0
  202. package/src/app/favicon.ico +0 -0
  203. package/src/app/globals.css +223 -0
  204. package/src/app/layout.client.tsx +15 -0
  205. package/src/app/layout.tsx +30 -0
  206. package/src/components/app-sidebar.tsx +162 -0
  207. package/src/components/code-editor/mdx.lazy.tsx +18 -0
  208. package/src/components/code-editor/mdx.tsx +48 -0
  209. package/src/components/code-editor/yaml.lazy.tsx +20 -0
  210. package/src/components/code-editor/yaml.tsx +71 -0
  211. package/src/components/collection/actions.tsx +41 -0
  212. package/src/components/collection/client.tsx +63 -0
  213. package/src/components/collection/context.tsx +24 -0
  214. package/src/components/collection/document/actions.tsx +83 -0
  215. package/src/components/editor/editor-base-kit.tsx +37 -0
  216. package/src/components/editor/editor-kit.tsx +87 -0
  217. package/src/components/editor/md.tsx +60 -0
  218. package/src/components/editor/plugins/ai-kit.tsx +102 -0
  219. package/src/components/editor/plugins/align-base-kit.tsx +16 -0
  220. package/src/components/editor/plugins/align-kit.tsx +18 -0
  221. package/src/components/editor/plugins/autoformat-kit.tsx +236 -0
  222. package/src/components/editor/plugins/basic-blocks-base-kit.tsx +34 -0
  223. package/src/components/editor/plugins/basic-blocks-kit.tsx +87 -0
  224. package/src/components/editor/plugins/basic-marks-base-kit.tsx +26 -0
  225. package/src/components/editor/plugins/basic-marks-kit.tsx +40 -0
  226. package/src/components/editor/plugins/basic-nodes-kit.tsx +6 -0
  227. package/src/components/editor/plugins/block-menu-kit.tsx +14 -0
  228. package/src/components/editor/plugins/block-placeholder-kit.tsx +17 -0
  229. package/src/components/editor/plugins/block-selection-kit.tsx +54 -0
  230. package/src/components/editor/plugins/callout-base-kit.tsx +5 -0
  231. package/src/components/editor/plugins/callout-kit.tsx +7 -0
  232. package/src/components/editor/plugins/code-block-base-kit.tsx +16 -0
  233. package/src/components/editor/plugins/code-block-kit.tsx +19 -0
  234. package/src/components/editor/plugins/column-base-kit.tsx +11 -0
  235. package/src/components/editor/plugins/column-kit.tsx +10 -0
  236. package/src/components/editor/plugins/comment-base-kit.tsx +5 -0
  237. package/src/components/editor/plugins/comment-kit.tsx +92 -0
  238. package/src/components/editor/plugins/copilot-kit.tsx +70 -0
  239. package/src/components/editor/plugins/cursor-overlay-kit.tsx +13 -0
  240. package/src/components/editor/plugins/date-base-kit.tsx +5 -0
  241. package/src/components/editor/plugins/date-kit.tsx +7 -0
  242. package/src/components/editor/plugins/discussion-kit.tsx +142 -0
  243. package/src/components/editor/plugins/dnd-kit.tsx +25 -0
  244. package/src/components/editor/plugins/emoji-kit.tsx +13 -0
  245. package/src/components/editor/plugins/exit-break-kit.tsx +12 -0
  246. package/src/components/editor/plugins/fixed-toolbar-kit.tsx +19 -0
  247. package/src/components/editor/plugins/floating-toolbar-kit.tsx +19 -0
  248. package/src/components/editor/plugins/font-base-kit.tsx +20 -0
  249. package/src/components/editor/plugins/font-kit.tsx +29 -0
  250. package/src/components/editor/plugins/indent-base-kit.tsx +13 -0
  251. package/src/components/editor/plugins/indent-kit.tsx +22 -0
  252. package/src/components/editor/plugins/line-height-base-kit.tsx +14 -0
  253. package/src/components/editor/plugins/line-height-kit.tsx +16 -0
  254. package/src/components/editor/plugins/link-base-kit.tsx +5 -0
  255. package/src/components/editor/plugins/link-kit.tsx +15 -0
  256. package/src/components/editor/plugins/list-base-kit.tsx +17 -0
  257. package/src/components/editor/plugins/list-kit.tsx +26 -0
  258. package/src/components/editor/plugins/markdown-kit.tsx +13 -0
  259. package/src/components/editor/plugins/math-base-kit.tsx +11 -0
  260. package/src/components/editor/plugins/math-kit.tsx +10 -0
  261. package/src/components/editor/plugins/media-base-kit.tsx +25 -0
  262. package/src/components/editor/plugins/media-kit.tsx +28 -0
  263. package/src/components/editor/plugins/slash-kit.tsx +18 -0
  264. package/src/components/editor/plugins/suggestion-base-kit.tsx +5 -0
  265. package/src/components/editor/plugins/suggestion-kit.tsx +83 -0
  266. package/src/components/editor/plugins/table-base-kit.tsx +20 -0
  267. package/src/components/editor/plugins/table-kit.tsx +22 -0
  268. package/src/components/editor/settings-dialog.tsx +418 -0
  269. package/src/components/editor/transforms.ts +193 -0
  270. package/src/components/editor/types.ts +149 -0
  271. package/src/components/editor/ui/ai-chat-editor.tsx +20 -0
  272. package/src/components/editor/ui/ai-menu.tsx +663 -0
  273. package/src/components/editor/ui/ai-node.tsx +40 -0
  274. package/src/components/editor/ui/ai-toolbar-button.tsx +23 -0
  275. package/src/components/editor/ui/align-toolbar-button.tsx +78 -0
  276. package/src/components/editor/ui/block-context-menu.tsx +154 -0
  277. package/src/components/editor/ui/block-discussion.tsx +318 -0
  278. package/src/components/editor/ui/block-draggable.tsx +464 -0
  279. package/src/components/editor/ui/block-list-static.tsx +75 -0
  280. package/src/components/editor/ui/block-list.tsx +72 -0
  281. package/src/components/editor/ui/block-selection.tsx +37 -0
  282. package/src/components/editor/ui/block-suggestion.tsx +438 -0
  283. package/src/components/editor/ui/blockquote-node-static.tsx +5 -0
  284. package/src/components/editor/ui/blockquote-node.tsx +7 -0
  285. package/src/components/editor/ui/callout-node-static.tsx +30 -0
  286. package/src/components/editor/ui/callout-node.tsx +64 -0
  287. package/src/components/editor/ui/caption.tsx +55 -0
  288. package/src/components/editor/ui/code-block-node-static.tsx +33 -0
  289. package/src/components/editor/ui/code-block-node.tsx +161 -0
  290. package/src/components/editor/ui/code-node-static.tsx +15 -0
  291. package/src/components/editor/ui/code-node.tsx +17 -0
  292. package/src/components/editor/ui/column-node-static.tsx +27 -0
  293. package/src/components/editor/ui/column-node.tsx +285 -0
  294. package/src/components/editor/ui/comment-node-static.tsx +12 -0
  295. package/src/components/editor/ui/comment-node.tsx +43 -0
  296. package/src/components/editor/ui/comment-toolbar-button.tsx +24 -0
  297. package/src/components/editor/ui/comment.tsx +577 -0
  298. package/src/components/editor/ui/cursor-overlay.tsx +66 -0
  299. package/src/components/editor/ui/date-node-static.tsx +45 -0
  300. package/src/components/editor/ui/date-node.tsx +86 -0
  301. package/src/components/editor/ui/editor-static.tsx +47 -0
  302. package/src/components/editor/ui/editor.tsx +120 -0
  303. package/src/components/editor/ui/emoji-node.tsx +65 -0
  304. package/src/components/editor/ui/emoji-toolbar-button.tsx +582 -0
  305. package/src/components/editor/ui/equation-node-static.tsx +94 -0
  306. package/src/components/editor/ui/equation-node.tsx +218 -0
  307. package/src/components/editor/ui/equation-toolbar-button.tsx +24 -0
  308. package/src/components/editor/ui/fixed-toolbar-buttons.tsx +135 -0
  309. package/src/components/editor/ui/fixed-toolbar.tsx +17 -0
  310. package/src/components/editor/ui/floating-toolbar-buttons.tsx +72 -0
  311. package/src/components/editor/ui/floating-toolbar.tsx +76 -0
  312. package/src/components/editor/ui/font-color-toolbar-button.tsx +804 -0
  313. package/src/components/editor/ui/font-size-toolbar-button.tsx +102 -0
  314. package/src/components/editor/ui/ghost-text.tsx +27 -0
  315. package/src/components/editor/ui/heading-node-static.tsx +54 -0
  316. package/src/components/editor/ui/heading-node.tsx +54 -0
  317. package/src/components/editor/ui/highlight-node-static.tsx +11 -0
  318. package/src/components/editor/ui/highlight-node.tsx +13 -0
  319. package/src/components/editor/ui/history-toolbar-button.tsx +41 -0
  320. package/src/components/editor/ui/hr-node-static.tsx +16 -0
  321. package/src/components/editor/ui/hr-node.tsx +28 -0
  322. package/src/components/editor/ui/indent-toolbar-button.tsx +27 -0
  323. package/src/components/editor/ui/inline-combobox.tsx +251 -0
  324. package/src/components/editor/ui/insert-toolbar-button.tsx +242 -0
  325. package/src/components/editor/ui/kbd-node-static.tsx +15 -0
  326. package/src/components/editor/ui/kbd-node.tsx +17 -0
  327. package/src/components/editor/ui/line-height-toolbar-button.tsx +66 -0
  328. package/src/components/editor/ui/link-node-static.tsx +21 -0
  329. package/src/components/editor/ui/link-node.tsx +37 -0
  330. package/src/components/editor/ui/link-toolbar-button.tsx +18 -0
  331. package/src/components/editor/ui/link-toolbar.tsx +196 -0
  332. package/src/components/editor/ui/list-toolbar-button.tsx +195 -0
  333. package/src/components/editor/ui/mark-toolbar-button.tsx +20 -0
  334. package/src/components/editor/ui/media-image-node-static.tsx +33 -0
  335. package/src/components/editor/ui/media-image-node.tsx +75 -0
  336. package/src/components/editor/ui/media-placeholder-node.tsx +235 -0
  337. package/src/components/editor/ui/media-preview-dialog.tsx +145 -0
  338. package/src/components/editor/ui/media-toolbar-button.tsx +202 -0
  339. package/src/components/editor/ui/media-toolbar.tsx +100 -0
  340. package/src/components/editor/ui/media-upload-toast.tsx +59 -0
  341. package/src/components/editor/ui/media-video-node-static.tsx +23 -0
  342. package/src/components/editor/ui/mode-toolbar-button.tsx +121 -0
  343. package/src/components/editor/ui/paragraph-node-static.tsx +13 -0
  344. package/src/components/editor/ui/paragraph-node.tsx +15 -0
  345. package/src/components/editor/ui/resize-handle.tsx +79 -0
  346. package/src/components/editor/ui/slash-node.tsx +274 -0
  347. package/src/components/editor/ui/suggestion-node-static.tsx +30 -0
  348. package/src/components/editor/ui/suggestion-node.tsx +157 -0
  349. package/src/components/editor/ui/suggestion-toolbar-button.tsx +25 -0
  350. package/src/components/editor/ui/table-icons.tsx +685 -0
  351. package/src/components/editor/ui/table-node-static.tsx +86 -0
  352. package/src/components/editor/ui/table-node.tsx +569 -0
  353. package/src/components/editor/ui/table-toolbar-button.tsx +260 -0
  354. package/src/components/editor/ui/turn-into-toolbar-button.tsx +176 -0
  355. package/src/components/editor/use-chat.ts +120 -0
  356. package/src/components/icons/logo.tsx +37 -0
  357. package/src/components/json-schema-editor/client.tsx +55 -0
  358. package/src/components/json-schema-editor/components/inputs.tsx +612 -0
  359. package/src/components/json-schema-editor/get-default-values.ts +29 -0
  360. package/src/components/json-schema-editor/schema.tsx +206 -0
  361. package/src/components/json-schema-editor/utils/merge-schema.ts +167 -0
  362. package/src/components/json-schema-editor/utils/schema-to-string.ts +87 -0
  363. package/src/components/nav-user.tsx +102 -0
  364. package/src/components/site-header.tsx +13 -0
  365. package/src/components/ui/alert-dialog.tsx +182 -0
  366. package/src/components/ui/avatar.tsx +96 -0
  367. package/src/components/ui/badge.tsx +46 -0
  368. package/src/components/ui/button.tsx +65 -0
  369. package/src/components/ui/calendar.tsx +186 -0
  370. package/src/components/ui/checkbox.tsx +29 -0
  371. package/src/components/ui/combobox.tsx +267 -0
  372. package/src/components/ui/command.tsx +180 -0
  373. package/src/components/ui/context-menu.tsx +161 -0
  374. package/src/components/ui/dialog.tsx +142 -0
  375. package/src/components/ui/drawer.tsx +120 -0
  376. package/src/components/ui/dropdown-menu.tsx +239 -0
  377. package/src/components/ui/field.tsx +224 -0
  378. package/src/components/ui/input-group.tsx +144 -0
  379. package/src/components/ui/input.tsx +19 -0
  380. package/src/components/ui/label.tsx +18 -0
  381. package/src/components/ui/popover.tsx +76 -0
  382. package/src/components/ui/select.tsx +182 -0
  383. package/src/components/ui/separator.tsx +28 -0
  384. package/src/components/ui/sheet.tsx +130 -0
  385. package/src/components/ui/sidebar.tsx +608 -0
  386. package/src/components/ui/sonner.tsx +45 -0
  387. package/src/components/ui/spinner.tsx +15 -0
  388. package/src/components/ui/table.tsx +89 -0
  389. package/src/components/ui/tabs.tsx +60 -0
  390. package/src/components/ui/textarea.tsx +18 -0
  391. package/src/components/ui/toggle-group.tsx +86 -0
  392. package/src/components/ui/toggle.tsx +45 -0
  393. package/src/components/ui/toolbar.tsx +365 -0
  394. package/src/components/ui/tooltip.tsx +57 -0
  395. package/src/hooks/editor/use-is-creator.ts +21 -0
  396. package/src/hooks/use-mobile.ts +19 -0
  397. package/src/hooks/use-mounted.ts +11 -0
  398. package/src/hooks/use-upload-file.ts +121 -0
  399. package/src/lib/ai/markdown-joiner-transform.ts +235 -0
  400. package/src/lib/config.ts +60 -0
  401. package/src/lib/data/actions.ts +51 -0
  402. package/src/lib/data/boundary.client.tsx +22 -0
  403. package/src/lib/data/boundary.tsx +22 -0
  404. package/src/lib/data/query.ts +9 -0
  405. package/src/lib/data/store.ts +52 -0
  406. package/src/lib/lowlight.ts +3 -0
  407. package/src/lib/uploadthing.ts +19 -0
  408. package/src/lib/utils/deep-equal.ts +37 -0
  409. package/src/lib/utils/remove-undefined.ts +21 -0
  410. package/src/lib/utils/urls.ts +6 -0
  411. package/src/lib/utils.ts +6 -0
  412. package/tsconfig.build.json +24 -0
  413. package/tsconfig.json +37 -0
@@ -0,0 +1,1310 @@
1
+ "use client";
2
+
3
+ import { jsx, jsxs } from "react/jsx-runtime";
4
+
5
+ //#region src/components/editor/ui/table-icons.tsx
6
+ function BorderAllIcon(props) {
7
+ return /* @__PURE__ */ jsxs("svg", {
8
+ fill: "none",
9
+ height: "15",
10
+ viewBox: "0 0 15 15",
11
+ width: "15",
12
+ xmlns: "http://www.w3.org/2000/svg",
13
+ ...props,
14
+ children: [
15
+ /* @__PURE__ */ jsx("title", { children: "Border All" }),
16
+ /* @__PURE__ */ jsx("path", {
17
+ clipRule: "evenodd",
18
+ d: "M0.25 1C0.25 0.585786 0.585786 0.25 1 0.25H14C14.4142 0.25 14.75 0.585786 14.75 1V14C14.75 14.4142 14.4142 14.75 14 14.75H1C0.585786 14.75 0.25 14.4142 0.25 14V1ZM1.75 1.75V13.25H13.25V1.75H1.75Z",
19
+ fill: "currentColor",
20
+ fillRule: "evenodd"
21
+ }),
22
+ /* @__PURE__ */ jsx("rect", {
23
+ fill: "currentColor",
24
+ height: "1",
25
+ rx: ".5",
26
+ width: "1",
27
+ x: "7",
28
+ y: "5"
29
+ }),
30
+ /* @__PURE__ */ jsx("rect", {
31
+ fill: "currentColor",
32
+ height: "1",
33
+ rx: ".5",
34
+ width: "1",
35
+ x: "7",
36
+ y: "3"
37
+ }),
38
+ /* @__PURE__ */ jsx("rect", {
39
+ fill: "currentColor",
40
+ height: "1",
41
+ rx: ".5",
42
+ width: "1",
43
+ x: "7",
44
+ y: "7"
45
+ }),
46
+ /* @__PURE__ */ jsx("rect", {
47
+ fill: "currentColor",
48
+ height: "1",
49
+ rx: ".5",
50
+ width: "1",
51
+ x: "5",
52
+ y: "7"
53
+ }),
54
+ /* @__PURE__ */ jsx("rect", {
55
+ fill: "currentColor",
56
+ height: "1",
57
+ rx: ".5",
58
+ width: "1",
59
+ x: "3",
60
+ y: "7"
61
+ }),
62
+ /* @__PURE__ */ jsx("rect", {
63
+ fill: "currentColor",
64
+ height: "1",
65
+ rx: ".5",
66
+ width: "1",
67
+ x: "9",
68
+ y: "7"
69
+ }),
70
+ /* @__PURE__ */ jsx("rect", {
71
+ fill: "currentColor",
72
+ height: "1",
73
+ rx: ".5",
74
+ width: "1",
75
+ x: "11",
76
+ y: "7"
77
+ }),
78
+ /* @__PURE__ */ jsx("rect", {
79
+ fill: "currentColor",
80
+ height: "1",
81
+ rx: ".5",
82
+ width: "1",
83
+ x: "7",
84
+ y: "9"
85
+ }),
86
+ /* @__PURE__ */ jsx("rect", {
87
+ fill: "currentColor",
88
+ height: "1",
89
+ rx: ".5",
90
+ width: "1",
91
+ x: "7",
92
+ y: "11"
93
+ })
94
+ ]
95
+ });
96
+ }
97
+ function BorderBottomIcon(props) {
98
+ return /* @__PURE__ */ jsxs("svg", {
99
+ fill: "none",
100
+ height: "15",
101
+ viewBox: "0 0 15 15",
102
+ width: "15",
103
+ xmlns: "http://www.w3.org/2000/svg",
104
+ ...props,
105
+ children: [
106
+ /* @__PURE__ */ jsx("title", { children: "Border Bottom" }),
107
+ /* @__PURE__ */ jsx("path", {
108
+ clipRule: "evenodd",
109
+ d: "M1 13.25L14 13.25V14.75L1 14.75V13.25Z",
110
+ fill: "currentColor",
111
+ fillRule: "evenodd"
112
+ }),
113
+ /* @__PURE__ */ jsx("rect", {
114
+ fill: "currentColor",
115
+ height: "1",
116
+ rx: ".5",
117
+ width: "1",
118
+ x: "7",
119
+ y: "5"
120
+ }),
121
+ /* @__PURE__ */ jsx("rect", {
122
+ fill: "currentColor",
123
+ height: "1",
124
+ rx: ".5",
125
+ width: "1",
126
+ x: "13",
127
+ y: "5"
128
+ }),
129
+ /* @__PURE__ */ jsx("rect", {
130
+ fill: "currentColor",
131
+ height: "1",
132
+ rx: ".5",
133
+ width: "1",
134
+ x: "7",
135
+ y: "3"
136
+ }),
137
+ /* @__PURE__ */ jsx("rect", {
138
+ fill: "currentColor",
139
+ height: "1",
140
+ rx: ".5",
141
+ width: "1",
142
+ x: "13",
143
+ y: "3"
144
+ }),
145
+ /* @__PURE__ */ jsx("rect", {
146
+ fill: "currentColor",
147
+ height: "1",
148
+ rx: ".5",
149
+ width: "1",
150
+ x: "7",
151
+ y: "7"
152
+ }),
153
+ /* @__PURE__ */ jsx("rect", {
154
+ fill: "currentColor",
155
+ height: "1",
156
+ rx: ".5",
157
+ width: "1",
158
+ x: "7",
159
+ y: "1"
160
+ }),
161
+ /* @__PURE__ */ jsx("rect", {
162
+ fill: "currentColor",
163
+ height: "1",
164
+ rx: ".5",
165
+ width: "1",
166
+ x: "13",
167
+ y: "7"
168
+ }),
169
+ /* @__PURE__ */ jsx("rect", {
170
+ fill: "currentColor",
171
+ height: "1",
172
+ rx: ".5",
173
+ width: "1",
174
+ x: "13",
175
+ y: "1"
176
+ }),
177
+ /* @__PURE__ */ jsx("rect", {
178
+ fill: "currentColor",
179
+ height: "1",
180
+ rx: ".5",
181
+ width: "1",
182
+ x: "5",
183
+ y: "7"
184
+ }),
185
+ /* @__PURE__ */ jsx("rect", {
186
+ fill: "currentColor",
187
+ height: "1",
188
+ rx: ".5",
189
+ width: "1",
190
+ x: "5",
191
+ y: "1"
192
+ }),
193
+ /* @__PURE__ */ jsx("rect", {
194
+ fill: "currentColor",
195
+ height: "1",
196
+ rx: ".5",
197
+ width: "1",
198
+ x: "3",
199
+ y: "7"
200
+ }),
201
+ /* @__PURE__ */ jsx("rect", {
202
+ fill: "currentColor",
203
+ height: "1",
204
+ rx: ".5",
205
+ width: "1",
206
+ x: "3",
207
+ y: "1"
208
+ }),
209
+ /* @__PURE__ */ jsx("rect", {
210
+ fill: "currentColor",
211
+ height: "1",
212
+ rx: ".5",
213
+ width: "1",
214
+ x: "9",
215
+ y: "7"
216
+ }),
217
+ /* @__PURE__ */ jsx("rect", {
218
+ fill: "currentColor",
219
+ height: "1",
220
+ rx: ".5",
221
+ width: "1",
222
+ x: "9",
223
+ y: "1"
224
+ }),
225
+ /* @__PURE__ */ jsx("rect", {
226
+ fill: "currentColor",
227
+ height: "1",
228
+ rx: ".5",
229
+ width: "1",
230
+ x: "11",
231
+ y: "7"
232
+ }),
233
+ /* @__PURE__ */ jsx("rect", {
234
+ fill: "currentColor",
235
+ height: "1",
236
+ rx: ".5",
237
+ width: "1",
238
+ x: "11",
239
+ y: "1"
240
+ }),
241
+ /* @__PURE__ */ jsx("rect", {
242
+ fill: "currentColor",
243
+ height: "1",
244
+ rx: ".5",
245
+ width: "1",
246
+ x: "7",
247
+ y: "9"
248
+ }),
249
+ /* @__PURE__ */ jsx("rect", {
250
+ fill: "currentColor",
251
+ height: "1",
252
+ rx: ".5",
253
+ width: "1",
254
+ x: "13",
255
+ y: "9"
256
+ }),
257
+ /* @__PURE__ */ jsx("rect", {
258
+ fill: "currentColor",
259
+ height: "1",
260
+ rx: ".5",
261
+ width: "1",
262
+ x: "7",
263
+ y: "11"
264
+ }),
265
+ /* @__PURE__ */ jsx("rect", {
266
+ fill: "currentColor",
267
+ height: "1",
268
+ rx: ".5",
269
+ width: "1",
270
+ x: "13",
271
+ y: "11"
272
+ }),
273
+ /* @__PURE__ */ jsx("rect", {
274
+ fill: "currentColor",
275
+ height: "1",
276
+ rx: ".5",
277
+ width: "1",
278
+ x: "1",
279
+ y: "5"
280
+ }),
281
+ /* @__PURE__ */ jsx("rect", {
282
+ fill: "currentColor",
283
+ height: "1",
284
+ rx: ".5",
285
+ width: "1",
286
+ x: "1",
287
+ y: "3"
288
+ }),
289
+ /* @__PURE__ */ jsx("rect", {
290
+ fill: "currentColor",
291
+ height: "1",
292
+ rx: ".5",
293
+ width: "1",
294
+ x: "1",
295
+ y: "7"
296
+ }),
297
+ /* @__PURE__ */ jsx("rect", {
298
+ fill: "currentColor",
299
+ height: "1",
300
+ rx: ".5",
301
+ width: "1",
302
+ x: "1",
303
+ y: "1"
304
+ }),
305
+ /* @__PURE__ */ jsx("rect", {
306
+ fill: "currentColor",
307
+ height: "1",
308
+ rx: ".5",
309
+ width: "1",
310
+ x: "1",
311
+ y: "9"
312
+ }),
313
+ /* @__PURE__ */ jsx("rect", {
314
+ fill: "currentColor",
315
+ height: "1",
316
+ rx: ".5",
317
+ width: "1",
318
+ x: "1",
319
+ y: "11"
320
+ })
321
+ ]
322
+ });
323
+ }
324
+ function BorderLeftIcon(props) {
325
+ return /* @__PURE__ */ jsxs("svg", {
326
+ fill: "none",
327
+ height: "15",
328
+ viewBox: "0 0 15 15",
329
+ width: "15",
330
+ xmlns: "http://www.w3.org/2000/svg",
331
+ ...props,
332
+ children: [
333
+ /* @__PURE__ */ jsx("title", { children: "Border Left" }),
334
+ /* @__PURE__ */ jsx("path", {
335
+ clipRule: "evenodd",
336
+ d: "M1.75 1L1.75 14L0.249999 14L0.25 1L1.75 1Z",
337
+ fill: "currentColor",
338
+ fillRule: "evenodd"
339
+ }),
340
+ /* @__PURE__ */ jsx("rect", {
341
+ fill: "currentColor",
342
+ height: "1",
343
+ rx: ".5",
344
+ transform: "rotate(90 10 7)",
345
+ width: "1",
346
+ x: "10",
347
+ y: "7"
348
+ }),
349
+ /* @__PURE__ */ jsx("rect", {
350
+ fill: "currentColor",
351
+ height: "1",
352
+ rx: ".5",
353
+ transform: "rotate(90 10 13)",
354
+ width: "1",
355
+ x: "10",
356
+ y: "13"
357
+ }),
358
+ /* @__PURE__ */ jsx("rect", {
359
+ fill: "currentColor",
360
+ height: "1",
361
+ rx: ".5",
362
+ transform: "rotate(90 12 7)",
363
+ width: "1",
364
+ x: "12",
365
+ y: "7"
366
+ }),
367
+ /* @__PURE__ */ jsx("rect", {
368
+ fill: "currentColor",
369
+ height: "1",
370
+ rx: ".5",
371
+ transform: "rotate(90 12 13)",
372
+ width: "1",
373
+ x: "12",
374
+ y: "13"
375
+ }),
376
+ /* @__PURE__ */ jsx("rect", {
377
+ fill: "currentColor",
378
+ height: "1",
379
+ rx: ".5",
380
+ transform: "rotate(90 8 7)",
381
+ width: "1",
382
+ x: "8",
383
+ y: "7"
384
+ }),
385
+ /* @__PURE__ */ jsx("rect", {
386
+ fill: "currentColor",
387
+ height: "1",
388
+ rx: ".5",
389
+ transform: "rotate(90 14 7)",
390
+ width: "1",
391
+ x: "14",
392
+ y: "7"
393
+ }),
394
+ /* @__PURE__ */ jsx("rect", {
395
+ fill: "currentColor",
396
+ height: "1",
397
+ rx: ".5",
398
+ transform: "rotate(90 8 13)",
399
+ width: "1",
400
+ x: "8",
401
+ y: "13"
402
+ }),
403
+ /* @__PURE__ */ jsx("rect", {
404
+ fill: "currentColor",
405
+ height: "1",
406
+ rx: ".5",
407
+ transform: "rotate(90 14 13)",
408
+ width: "1",
409
+ x: "14",
410
+ y: "13"
411
+ }),
412
+ /* @__PURE__ */ jsx("rect", {
413
+ fill: "currentColor",
414
+ height: "1",
415
+ rx: ".5",
416
+ transform: "rotate(90 8 5)",
417
+ width: "1",
418
+ x: "8",
419
+ y: "5"
420
+ }),
421
+ /* @__PURE__ */ jsx("rect", {
422
+ fill: "currentColor",
423
+ height: "1",
424
+ rx: ".5",
425
+ transform: "rotate(90 14 5)",
426
+ width: "1",
427
+ x: "14",
428
+ y: "5"
429
+ }),
430
+ /* @__PURE__ */ jsx("rect", {
431
+ fill: "currentColor",
432
+ height: "1",
433
+ rx: ".5",
434
+ transform: "rotate(90 8 3)",
435
+ width: "1",
436
+ x: "8",
437
+ y: "3"
438
+ }),
439
+ /* @__PURE__ */ jsx("rect", {
440
+ fill: "currentColor",
441
+ height: "1",
442
+ rx: ".5",
443
+ transform: "rotate(90 14 3)",
444
+ width: "1",
445
+ x: "14",
446
+ y: "3"
447
+ }),
448
+ /* @__PURE__ */ jsx("rect", {
449
+ fill: "currentColor",
450
+ height: "1",
451
+ rx: ".5",
452
+ transform: "rotate(90 8 9)",
453
+ width: "1",
454
+ x: "8",
455
+ y: "9"
456
+ }),
457
+ /* @__PURE__ */ jsx("rect", {
458
+ fill: "currentColor",
459
+ height: "1",
460
+ rx: ".5",
461
+ transform: "rotate(90 14 9)",
462
+ width: "1",
463
+ x: "14",
464
+ y: "9"
465
+ }),
466
+ /* @__PURE__ */ jsx("rect", {
467
+ fill: "currentColor",
468
+ height: "1",
469
+ rx: ".5",
470
+ transform: "rotate(90 8 11)",
471
+ width: "1",
472
+ x: "8",
473
+ y: "11"
474
+ }),
475
+ /* @__PURE__ */ jsx("rect", {
476
+ fill: "currentColor",
477
+ height: "1",
478
+ rx: ".5",
479
+ transform: "rotate(90 14 11)",
480
+ width: "1",
481
+ x: "14",
482
+ y: "11"
483
+ }),
484
+ /* @__PURE__ */ jsx("rect", {
485
+ fill: "currentColor",
486
+ height: "1",
487
+ rx: ".5",
488
+ transform: "rotate(90 6 7)",
489
+ width: "1",
490
+ x: "6",
491
+ y: "7"
492
+ }),
493
+ /* @__PURE__ */ jsx("rect", {
494
+ fill: "currentColor",
495
+ height: "1",
496
+ rx: ".5",
497
+ transform: "rotate(90 6 13)",
498
+ width: "1",
499
+ x: "6",
500
+ y: "13"
501
+ }),
502
+ /* @__PURE__ */ jsx("rect", {
503
+ fill: "currentColor",
504
+ height: "1",
505
+ rx: ".5",
506
+ transform: "rotate(90 4 7)",
507
+ width: "1",
508
+ x: "4",
509
+ y: "7"
510
+ }),
511
+ /* @__PURE__ */ jsx("rect", {
512
+ fill: "currentColor",
513
+ height: "1",
514
+ rx: ".5",
515
+ transform: "rotate(90 4 13)",
516
+ width: "1",
517
+ x: "4",
518
+ y: "13"
519
+ }),
520
+ /* @__PURE__ */ jsx("rect", {
521
+ fill: "currentColor",
522
+ height: "1",
523
+ rx: ".5",
524
+ transform: "rotate(90 10 1)",
525
+ width: "1",
526
+ x: "10",
527
+ y: "1"
528
+ }),
529
+ /* @__PURE__ */ jsx("rect", {
530
+ fill: "currentColor",
531
+ height: "1",
532
+ rx: ".5",
533
+ transform: "rotate(90 12 1)",
534
+ width: "1",
535
+ x: "12",
536
+ y: "1"
537
+ }),
538
+ /* @__PURE__ */ jsx("rect", {
539
+ fill: "currentColor",
540
+ height: "1",
541
+ rx: ".5",
542
+ transform: "rotate(90 8 1)",
543
+ width: "1",
544
+ x: "8",
545
+ y: "1"
546
+ }),
547
+ /* @__PURE__ */ jsx("rect", {
548
+ fill: "currentColor",
549
+ height: "1",
550
+ rx: ".5",
551
+ transform: "rotate(90 14 1)",
552
+ width: "1",
553
+ x: "14",
554
+ y: "1"
555
+ }),
556
+ /* @__PURE__ */ jsx("rect", {
557
+ fill: "currentColor",
558
+ height: "1",
559
+ rx: ".5",
560
+ transform: "rotate(90 6 1)",
561
+ width: "1",
562
+ x: "6",
563
+ y: "1"
564
+ }),
565
+ /* @__PURE__ */ jsx("rect", {
566
+ fill: "currentColor",
567
+ height: "1",
568
+ rx: ".5",
569
+ transform: "rotate(90 4 1)",
570
+ width: "1",
571
+ x: "4",
572
+ y: "1"
573
+ })
574
+ ]
575
+ });
576
+ }
577
+ function BorderNoneIcon(props) {
578
+ return /* @__PURE__ */ jsxs("svg", {
579
+ fill: "none",
580
+ height: "15",
581
+ viewBox: "0 0 15 15",
582
+ width: "15",
583
+ xmlns: "http://www.w3.org/2000/svg",
584
+ ...props,
585
+ children: [
586
+ /* @__PURE__ */ jsx("title", { children: "Border None" }),
587
+ /* @__PURE__ */ jsx("rect", {
588
+ fill: "currentColor",
589
+ height: "1",
590
+ rx: ".5",
591
+ width: "1",
592
+ x: "7",
593
+ y: "5.025"
594
+ }),
595
+ /* @__PURE__ */ jsx("rect", {
596
+ fill: "currentColor",
597
+ height: "1",
598
+ rx: ".5",
599
+ width: "1",
600
+ x: "13",
601
+ y: "5.025"
602
+ }),
603
+ /* @__PURE__ */ jsx("rect", {
604
+ fill: "currentColor",
605
+ height: "1",
606
+ rx: ".5",
607
+ width: "1",
608
+ x: "7",
609
+ y: "3.025"
610
+ }),
611
+ /* @__PURE__ */ jsx("rect", {
612
+ fill: "currentColor",
613
+ height: "1",
614
+ rx: ".5",
615
+ width: "1",
616
+ x: "13",
617
+ y: "3.025"
618
+ }),
619
+ /* @__PURE__ */ jsx("rect", {
620
+ fill: "currentColor",
621
+ height: "1",
622
+ rx: ".5",
623
+ width: "1",
624
+ x: "7",
625
+ y: "7.025"
626
+ }),
627
+ /* @__PURE__ */ jsx("rect", {
628
+ fill: "currentColor",
629
+ height: "1",
630
+ rx: ".5",
631
+ width: "1",
632
+ x: "7",
633
+ y: "13.025"
634
+ }),
635
+ /* @__PURE__ */ jsx("rect", {
636
+ fill: "currentColor",
637
+ height: "1",
638
+ rx: ".5",
639
+ width: "1",
640
+ x: "7",
641
+ y: "1.025"
642
+ }),
643
+ /* @__PURE__ */ jsx("rect", {
644
+ fill: "currentColor",
645
+ height: "1",
646
+ rx: ".5",
647
+ width: "1",
648
+ x: "13",
649
+ y: "7.025"
650
+ }),
651
+ /* @__PURE__ */ jsx("rect", {
652
+ fill: "currentColor",
653
+ height: "1",
654
+ rx: ".5",
655
+ width: "1",
656
+ x: "13",
657
+ y: "13.025"
658
+ }),
659
+ /* @__PURE__ */ jsx("rect", {
660
+ fill: "currentColor",
661
+ height: "1",
662
+ rx: ".5",
663
+ width: "1",
664
+ x: "13",
665
+ y: "1.025"
666
+ }),
667
+ /* @__PURE__ */ jsx("rect", {
668
+ fill: "currentColor",
669
+ height: "1",
670
+ rx: ".5",
671
+ width: "1",
672
+ x: "5",
673
+ y: "7.025"
674
+ }),
675
+ /* @__PURE__ */ jsx("rect", {
676
+ fill: "currentColor",
677
+ height: "1",
678
+ rx: ".5",
679
+ width: "1",
680
+ x: "5",
681
+ y: "13.025"
682
+ }),
683
+ /* @__PURE__ */ jsx("rect", {
684
+ fill: "currentColor",
685
+ height: "1",
686
+ rx: ".5",
687
+ width: "1",
688
+ x: "5",
689
+ y: "1.025"
690
+ }),
691
+ /* @__PURE__ */ jsx("rect", {
692
+ fill: "currentColor",
693
+ height: "1",
694
+ rx: ".5",
695
+ width: "1",
696
+ x: "3",
697
+ y: "7.025"
698
+ }),
699
+ /* @__PURE__ */ jsx("rect", {
700
+ fill: "currentColor",
701
+ height: "1",
702
+ rx: ".5",
703
+ width: "1",
704
+ x: "3",
705
+ y: "13.025"
706
+ }),
707
+ /* @__PURE__ */ jsx("rect", {
708
+ fill: "currentColor",
709
+ height: "1",
710
+ rx: ".5",
711
+ width: "1",
712
+ x: "3",
713
+ y: "1.025"
714
+ }),
715
+ /* @__PURE__ */ jsx("rect", {
716
+ fill: "currentColor",
717
+ height: "1",
718
+ rx: ".5",
719
+ width: "1",
720
+ x: "9",
721
+ y: "7.025"
722
+ }),
723
+ /* @__PURE__ */ jsx("rect", {
724
+ fill: "currentColor",
725
+ height: "1",
726
+ rx: ".5",
727
+ width: "1",
728
+ x: "9",
729
+ y: "13.025"
730
+ }),
731
+ /* @__PURE__ */ jsx("rect", {
732
+ fill: "currentColor",
733
+ height: "1",
734
+ rx: ".5",
735
+ width: "1",
736
+ x: "9",
737
+ y: "1.025"
738
+ }),
739
+ /* @__PURE__ */ jsx("rect", {
740
+ fill: "currentColor",
741
+ height: "1",
742
+ rx: ".5",
743
+ width: "1",
744
+ x: "11",
745
+ y: "7.025"
746
+ }),
747
+ /* @__PURE__ */ jsx("rect", {
748
+ fill: "currentColor",
749
+ height: "1",
750
+ rx: ".5",
751
+ width: "1",
752
+ x: "11",
753
+ y: "13.025"
754
+ }),
755
+ /* @__PURE__ */ jsx("rect", {
756
+ fill: "currentColor",
757
+ height: "1",
758
+ rx: ".5",
759
+ width: "1",
760
+ x: "11",
761
+ y: "1.025"
762
+ }),
763
+ /* @__PURE__ */ jsx("rect", {
764
+ fill: "currentColor",
765
+ height: "1",
766
+ rx: ".5",
767
+ width: "1",
768
+ x: "7",
769
+ y: "9.025"
770
+ }),
771
+ /* @__PURE__ */ jsx("rect", {
772
+ fill: "currentColor",
773
+ height: "1",
774
+ rx: ".5",
775
+ width: "1",
776
+ x: "13",
777
+ y: "9.025"
778
+ }),
779
+ /* @__PURE__ */ jsx("rect", {
780
+ fill: "currentColor",
781
+ height: "1",
782
+ rx: ".5",
783
+ width: "1",
784
+ x: "7",
785
+ y: "11.025"
786
+ }),
787
+ /* @__PURE__ */ jsx("rect", {
788
+ fill: "currentColor",
789
+ height: "1",
790
+ rx: ".5",
791
+ width: "1",
792
+ x: "13",
793
+ y: "11.025"
794
+ }),
795
+ /* @__PURE__ */ jsx("rect", {
796
+ fill: "currentColor",
797
+ height: "1",
798
+ rx: ".5",
799
+ width: "1",
800
+ x: "1",
801
+ y: "5.025"
802
+ }),
803
+ /* @__PURE__ */ jsx("rect", {
804
+ fill: "currentColor",
805
+ height: "1",
806
+ rx: ".5",
807
+ width: "1",
808
+ x: "1",
809
+ y: "3.025"
810
+ }),
811
+ /* @__PURE__ */ jsx("rect", {
812
+ fill: "currentColor",
813
+ height: "1",
814
+ rx: ".5",
815
+ width: "1",
816
+ x: "1",
817
+ y: "7.025"
818
+ }),
819
+ /* @__PURE__ */ jsx("rect", {
820
+ fill: "currentColor",
821
+ height: "1",
822
+ rx: ".5",
823
+ width: "1",
824
+ x: "1",
825
+ y: "13.025"
826
+ }),
827
+ /* @__PURE__ */ jsx("rect", {
828
+ fill: "currentColor",
829
+ height: "1",
830
+ rx: ".5",
831
+ width: "1",
832
+ x: "1",
833
+ y: "1.025"
834
+ }),
835
+ /* @__PURE__ */ jsx("rect", {
836
+ fill: "currentColor",
837
+ height: "1",
838
+ rx: ".5",
839
+ width: "1",
840
+ x: "1",
841
+ y: "9.025"
842
+ }),
843
+ /* @__PURE__ */ jsx("rect", {
844
+ fill: "currentColor",
845
+ height: "1",
846
+ rx: ".5",
847
+ width: "1",
848
+ x: "1",
849
+ y: "11.025"
850
+ })
851
+ ]
852
+ });
853
+ }
854
+ function BorderRightIcon(props) {
855
+ return /* @__PURE__ */ jsxs("svg", {
856
+ fill: "none",
857
+ height: "15",
858
+ viewBox: "0 0 15 15",
859
+ width: "15",
860
+ xmlns: "http://www.w3.org/2000/svg",
861
+ ...props,
862
+ children: [
863
+ /* @__PURE__ */ jsx("title", { children: "Border Right" }),
864
+ /* @__PURE__ */ jsx("path", {
865
+ clipRule: "evenodd",
866
+ d: "M13.25 1L13.25 14L14.75 14L14.75 1L13.25 1Z",
867
+ fill: "currentColor",
868
+ fillRule: "evenodd"
869
+ }),
870
+ /* @__PURE__ */ jsx("rect", {
871
+ fill: "currentColor",
872
+ height: "1",
873
+ rx: ".5",
874
+ transform: "matrix(0 1 1 0 5 7)",
875
+ width: "1"
876
+ }),
877
+ /* @__PURE__ */ jsx("rect", {
878
+ fill: "currentColor",
879
+ height: "1",
880
+ rx: ".5",
881
+ transform: "matrix(0 1 1 0 5 13)",
882
+ width: "1"
883
+ }),
884
+ /* @__PURE__ */ jsx("rect", {
885
+ fill: "currentColor",
886
+ height: "1",
887
+ rx: ".5",
888
+ transform: "matrix(0 1 1 0 3 7)",
889
+ width: "1"
890
+ }),
891
+ /* @__PURE__ */ jsx("rect", {
892
+ fill: "currentColor",
893
+ height: "1",
894
+ rx: ".5",
895
+ transform: "matrix(0 1 1 0 3 13)",
896
+ width: "1"
897
+ }),
898
+ /* @__PURE__ */ jsx("rect", {
899
+ fill: "currentColor",
900
+ height: "1",
901
+ rx: ".5",
902
+ transform: "matrix(0 1 1 0 7 7)",
903
+ width: "1"
904
+ }),
905
+ /* @__PURE__ */ jsx("rect", {
906
+ fill: "currentColor",
907
+ height: "1",
908
+ rx: ".5",
909
+ transform: "matrix(0 1 1 0 1 7)",
910
+ width: "1"
911
+ }),
912
+ /* @__PURE__ */ jsx("rect", {
913
+ fill: "currentColor",
914
+ height: "1",
915
+ rx: ".5",
916
+ transform: "matrix(0 1 1 0 7 13)",
917
+ width: "1"
918
+ }),
919
+ /* @__PURE__ */ jsx("rect", {
920
+ fill: "currentColor",
921
+ height: "1",
922
+ rx: ".5",
923
+ transform: "matrix(0 1 1 0 1 13)",
924
+ width: "1"
925
+ }),
926
+ /* @__PURE__ */ jsx("rect", {
927
+ fill: "currentColor",
928
+ height: "1",
929
+ rx: ".5",
930
+ transform: "matrix(0 1 1 0 7 5)",
931
+ width: "1"
932
+ }),
933
+ /* @__PURE__ */ jsx("rect", {
934
+ fill: "currentColor",
935
+ height: "1",
936
+ rx: ".5",
937
+ transform: "matrix(0 1 1 0 1 5)",
938
+ width: "1"
939
+ }),
940
+ /* @__PURE__ */ jsx("rect", {
941
+ fill: "currentColor",
942
+ height: "1",
943
+ rx: ".5",
944
+ transform: "matrix(0 1 1 0 7 3)",
945
+ width: "1"
946
+ }),
947
+ /* @__PURE__ */ jsx("rect", {
948
+ fill: "currentColor",
949
+ height: "1",
950
+ rx: ".5",
951
+ transform: "matrix(0 1 1 0 1 3)",
952
+ width: "1"
953
+ }),
954
+ /* @__PURE__ */ jsx("rect", {
955
+ fill: "currentColor",
956
+ height: "1",
957
+ rx: ".5",
958
+ transform: "matrix(0 1 1 0 7 9)",
959
+ width: "1"
960
+ }),
961
+ /* @__PURE__ */ jsx("rect", {
962
+ fill: "currentColor",
963
+ height: "1",
964
+ rx: ".5",
965
+ transform: "matrix(0 1 1 0 1 9)",
966
+ width: "1"
967
+ }),
968
+ /* @__PURE__ */ jsx("rect", {
969
+ fill: "currentColor",
970
+ height: "1",
971
+ rx: ".5",
972
+ transform: "matrix(0 1 1 0 7 11)",
973
+ width: "1"
974
+ }),
975
+ /* @__PURE__ */ jsx("rect", {
976
+ fill: "currentColor",
977
+ height: "1",
978
+ rx: ".5",
979
+ transform: "matrix(0 1 1 0 1 11)",
980
+ width: "1"
981
+ }),
982
+ /* @__PURE__ */ jsx("rect", {
983
+ fill: "currentColor",
984
+ height: "1",
985
+ rx: ".5",
986
+ transform: "matrix(0 1 1 0 9 7)",
987
+ width: "1"
988
+ }),
989
+ /* @__PURE__ */ jsx("rect", {
990
+ fill: "currentColor",
991
+ height: "1",
992
+ rx: ".5",
993
+ transform: "matrix(0 1 1 0 9 13)",
994
+ width: "1"
995
+ }),
996
+ /* @__PURE__ */ jsx("rect", {
997
+ fill: "currentColor",
998
+ height: "1",
999
+ rx: ".5",
1000
+ transform: "matrix(0 1 1 0 11 7)",
1001
+ width: "1"
1002
+ }),
1003
+ /* @__PURE__ */ jsx("rect", {
1004
+ fill: "currentColor",
1005
+ height: "1",
1006
+ rx: ".5",
1007
+ transform: "matrix(0 1 1 0 11 13)",
1008
+ width: "1"
1009
+ }),
1010
+ /* @__PURE__ */ jsx("rect", {
1011
+ fill: "currentColor",
1012
+ height: "1",
1013
+ rx: ".5",
1014
+ transform: "matrix(0 1 1 0 5 1)",
1015
+ width: "1"
1016
+ }),
1017
+ /* @__PURE__ */ jsx("rect", {
1018
+ fill: "currentColor",
1019
+ height: "1",
1020
+ rx: ".5",
1021
+ transform: "matrix(0 1 1 0 3 1)",
1022
+ width: "1"
1023
+ }),
1024
+ /* @__PURE__ */ jsx("rect", {
1025
+ fill: "currentColor",
1026
+ height: "1",
1027
+ rx: ".5",
1028
+ transform: "matrix(0 1 1 0 7 1)",
1029
+ width: "1"
1030
+ }),
1031
+ /* @__PURE__ */ jsx("rect", {
1032
+ fill: "currentColor",
1033
+ height: "1",
1034
+ rx: ".5",
1035
+ transform: "matrix(0 1 1 0 1 1)",
1036
+ width: "1"
1037
+ }),
1038
+ /* @__PURE__ */ jsx("rect", {
1039
+ fill: "currentColor",
1040
+ height: "1",
1041
+ rx: ".5",
1042
+ transform: "matrix(0 1 1 0 9 1)",
1043
+ width: "1"
1044
+ }),
1045
+ /* @__PURE__ */ jsx("rect", {
1046
+ fill: "currentColor",
1047
+ height: "1",
1048
+ rx: ".5",
1049
+ transform: "matrix(0 1 1 0 11 1)",
1050
+ width: "1"
1051
+ })
1052
+ ]
1053
+ });
1054
+ }
1055
+ function BorderTopIcon(props) {
1056
+ return /* @__PURE__ */ jsxs("svg", {
1057
+ fill: "none",
1058
+ height: "15",
1059
+ viewBox: "0 0 15 15",
1060
+ width: "15",
1061
+ xmlns: "http://www.w3.org/2000/svg",
1062
+ ...props,
1063
+ children: [
1064
+ /* @__PURE__ */ jsx("title", { children: "Border Top" }),
1065
+ /* @__PURE__ */ jsx("path", {
1066
+ clipRule: "evenodd",
1067
+ d: "M14 1.75L1 1.75L1 0.249999L14 0.25L14 1.75Z",
1068
+ fill: "currentColor",
1069
+ fillRule: "evenodd"
1070
+ }),
1071
+ /* @__PURE__ */ jsx("rect", {
1072
+ fill: "currentColor",
1073
+ height: "1",
1074
+ rx: ".5",
1075
+ transform: "rotate(-180 8 10)",
1076
+ width: "1",
1077
+ x: "8",
1078
+ y: "10"
1079
+ }),
1080
+ /* @__PURE__ */ jsx("rect", {
1081
+ fill: "currentColor",
1082
+ height: "1",
1083
+ rx: ".5",
1084
+ transform: "rotate(-180 2 10)",
1085
+ width: "1",
1086
+ x: "2",
1087
+ y: "10"
1088
+ }),
1089
+ /* @__PURE__ */ jsx("rect", {
1090
+ fill: "currentColor",
1091
+ height: "1",
1092
+ rx: ".5",
1093
+ transform: "rotate(-180 8 12)",
1094
+ width: "1",
1095
+ x: "8",
1096
+ y: "12"
1097
+ }),
1098
+ /* @__PURE__ */ jsx("rect", {
1099
+ fill: "currentColor",
1100
+ height: "1",
1101
+ rx: ".5",
1102
+ transform: "rotate(-180 2 12)",
1103
+ width: "1",
1104
+ x: "2",
1105
+ y: "12"
1106
+ }),
1107
+ /* @__PURE__ */ jsx("rect", {
1108
+ fill: "currentColor",
1109
+ height: "1",
1110
+ rx: ".5",
1111
+ transform: "rotate(-180 8 8)",
1112
+ width: "1",
1113
+ x: "8",
1114
+ y: "8"
1115
+ }),
1116
+ /* @__PURE__ */ jsx("rect", {
1117
+ fill: "currentColor",
1118
+ height: "1",
1119
+ rx: ".5",
1120
+ transform: "rotate(-180 8 14)",
1121
+ width: "1",
1122
+ x: "8",
1123
+ y: "14"
1124
+ }),
1125
+ /* @__PURE__ */ jsx("rect", {
1126
+ fill: "currentColor",
1127
+ height: "1",
1128
+ rx: ".5",
1129
+ transform: "rotate(-180 2 8)",
1130
+ width: "1",
1131
+ x: "2",
1132
+ y: "8"
1133
+ }),
1134
+ /* @__PURE__ */ jsx("rect", {
1135
+ fill: "currentColor",
1136
+ height: "1",
1137
+ rx: ".5",
1138
+ transform: "rotate(-180 2 14)",
1139
+ width: "1",
1140
+ x: "2",
1141
+ y: "14"
1142
+ }),
1143
+ /* @__PURE__ */ jsx("rect", {
1144
+ fill: "currentColor",
1145
+ height: "1",
1146
+ rx: ".5",
1147
+ transform: "rotate(-180 10 8)",
1148
+ width: "1",
1149
+ x: "10",
1150
+ y: "8"
1151
+ }),
1152
+ /* @__PURE__ */ jsx("rect", {
1153
+ fill: "currentColor",
1154
+ height: "1",
1155
+ rx: ".5",
1156
+ transform: "rotate(-180 10 14)",
1157
+ width: "1",
1158
+ x: "10",
1159
+ y: "14"
1160
+ }),
1161
+ /* @__PURE__ */ jsx("rect", {
1162
+ fill: "currentColor",
1163
+ height: "1",
1164
+ rx: ".5",
1165
+ transform: "rotate(-180 12 8)",
1166
+ width: "1",
1167
+ x: "12",
1168
+ y: "8"
1169
+ }),
1170
+ /* @__PURE__ */ jsx("rect", {
1171
+ fill: "currentColor",
1172
+ height: "1",
1173
+ rx: ".5",
1174
+ transform: "rotate(-180 12 14)",
1175
+ width: "1",
1176
+ x: "12",
1177
+ y: "14"
1178
+ }),
1179
+ /* @__PURE__ */ jsx("rect", {
1180
+ fill: "currentColor",
1181
+ height: "1",
1182
+ rx: ".5",
1183
+ transform: "rotate(-180 6 8)",
1184
+ width: "1",
1185
+ x: "6",
1186
+ y: "8"
1187
+ }),
1188
+ /* @__PURE__ */ jsx("rect", {
1189
+ fill: "currentColor",
1190
+ height: "1",
1191
+ rx: ".5",
1192
+ transform: "rotate(-180 6 14)",
1193
+ width: "1",
1194
+ x: "6",
1195
+ y: "14"
1196
+ }),
1197
+ /* @__PURE__ */ jsx("rect", {
1198
+ fill: "currentColor",
1199
+ height: "1",
1200
+ rx: ".5",
1201
+ transform: "rotate(-180 4 8)",
1202
+ width: "1",
1203
+ x: "4",
1204
+ y: "8"
1205
+ }),
1206
+ /* @__PURE__ */ jsx("rect", {
1207
+ fill: "currentColor",
1208
+ height: "1",
1209
+ rx: ".5",
1210
+ transform: "rotate(-180 4 14)",
1211
+ width: "1",
1212
+ x: "4",
1213
+ y: "14"
1214
+ }),
1215
+ /* @__PURE__ */ jsx("rect", {
1216
+ fill: "currentColor",
1217
+ height: "1",
1218
+ rx: ".5",
1219
+ transform: "rotate(-180 8 6)",
1220
+ width: "1",
1221
+ x: "8",
1222
+ y: "6"
1223
+ }),
1224
+ /* @__PURE__ */ jsx("rect", {
1225
+ fill: "currentColor",
1226
+ height: "1",
1227
+ rx: ".5",
1228
+ transform: "rotate(-180 2 6)",
1229
+ width: "1",
1230
+ x: "2",
1231
+ y: "6"
1232
+ }),
1233
+ /* @__PURE__ */ jsx("rect", {
1234
+ fill: "currentColor",
1235
+ height: "1",
1236
+ rx: ".5",
1237
+ transform: "rotate(-180 8 4)",
1238
+ width: "1",
1239
+ x: "8",
1240
+ y: "4"
1241
+ }),
1242
+ /* @__PURE__ */ jsx("rect", {
1243
+ fill: "currentColor",
1244
+ height: "1",
1245
+ rx: ".5",
1246
+ transform: "rotate(-180 2 4)",
1247
+ width: "1",
1248
+ x: "2",
1249
+ y: "4"
1250
+ }),
1251
+ /* @__PURE__ */ jsx("rect", {
1252
+ fill: "currentColor",
1253
+ height: "1",
1254
+ rx: ".5",
1255
+ transform: "rotate(-180 14 10)",
1256
+ width: "1",
1257
+ x: "14",
1258
+ y: "10"
1259
+ }),
1260
+ /* @__PURE__ */ jsx("rect", {
1261
+ fill: "currentColor",
1262
+ height: "1",
1263
+ rx: ".5",
1264
+ transform: "rotate(-180 14 12)",
1265
+ width: "1",
1266
+ x: "14",
1267
+ y: "12"
1268
+ }),
1269
+ /* @__PURE__ */ jsx("rect", {
1270
+ fill: "currentColor",
1271
+ height: "1",
1272
+ rx: ".5",
1273
+ transform: "rotate(-180 14 8)",
1274
+ width: "1",
1275
+ x: "14",
1276
+ y: "8"
1277
+ }),
1278
+ /* @__PURE__ */ jsx("rect", {
1279
+ fill: "currentColor",
1280
+ height: "1",
1281
+ rx: ".5",
1282
+ transform: "rotate(-180 14 14)",
1283
+ width: "1",
1284
+ x: "14",
1285
+ y: "14"
1286
+ }),
1287
+ /* @__PURE__ */ jsx("rect", {
1288
+ fill: "currentColor",
1289
+ height: "1",
1290
+ rx: ".5",
1291
+ transform: "rotate(-180 14 6)",
1292
+ width: "1",
1293
+ x: "14",
1294
+ y: "6"
1295
+ }),
1296
+ /* @__PURE__ */ jsx("rect", {
1297
+ fill: "currentColor",
1298
+ height: "1",
1299
+ rx: ".5",
1300
+ transform: "rotate(-180 14 4)",
1301
+ width: "1",
1302
+ x: "14",
1303
+ y: "4"
1304
+ })
1305
+ ]
1306
+ });
1307
+ }
1308
+
1309
+ //#endregion
1310
+ export { BorderAllIcon, BorderBottomIcon, BorderLeftIcon, BorderNoneIcon, BorderRightIcon, BorderTopIcon };