@allbluecn/web-app 0.6.3 → 0.7.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 (949) hide show
  1. package/package.json +29 -180
  2. package/src/__tests__/components/reference-inline.test.tsx +1 -1
  3. package/src/__tests__/setup.ts +1 -1
  4. package/src/__tests__/tag-badge.test.tsx +1 -1
  5. package/src/components/agents/schemas/agent-form.ts +1 -1
  6. package/src/components/animated-icons/layout-panel-top.tsx +1 -1
  7. package/src/components/auth/auth-layout.tsx +1 -1
  8. package/src/components/billing/__tests__/use-resource.test.tsx +1 -1
  9. package/src/components/billing/checkout-redirect.ts +1 -1
  10. package/src/components/billing/feature-gate.tsx +1 -1
  11. package/src/components/billing/subscription-provider.tsx +2 -2
  12. package/src/components/billing/use-feature.ts +1 -1
  13. package/src/components/billing/use-resource.ts +1 -1
  14. package/src/components/changelog/changelog-page.tsx +1 -1
  15. package/src/components/chat/ai-chat-history/utils/group-conversations.ts +1 -1
  16. package/src/components/chat/ai-citations/utils.ts +1 -1
  17. package/src/components/command/command-palette.tsx +1 -1
  18. package/src/components/forms/hooks/use-form-submit.ts +1 -1
  19. package/src/components/forms/schemas/common.ts +1 -1
  20. package/src/components/knowledge/editor/doc-header.tsx +4 -4
  21. package/src/components/knowledge/editor/knowledge-doc-editor.tsx +1 -1
  22. package/src/components/knowledge-public/knowledge-card.tsx +2 -2
  23. package/src/components/knowledge-public/knowledge-form-dialog.tsx +1 -1
  24. package/src/components/knowledge-public/sharers-avatar-group.tsx +1 -1
  25. package/src/components/layout/sidebar-03/__tests__/nav-workspace.test.tsx +1 -1
  26. package/src/components/layout/sidebar-03/nav-main.tsx +1 -1
  27. package/src/components/layout/sidebar-03/nav-notifications.tsx +1 -1
  28. package/src/components/layout/sidebar-03/user-menu.tsx +2 -2
  29. package/src/components/magicui/animated-theme-toggler.tsx +1 -1
  30. package/src/components/magicui/grid-pattern.tsx +1 -1
  31. package/src/components/mindmap/mindmap-doc-editor.tsx +4 -4
  32. package/src/components/notifications/settings-notifications.tsx +2 -2
  33. package/src/components/notifications/team-notifications.tsx +1 -1
  34. package/src/components/project/invite-member-dialog.tsx +1 -1
  35. package/src/components/project/project-activity-list.tsx +2 -2
  36. package/src/components/project/project-member-manager.tsx +1 -1
  37. package/src/components/project/schemas/create-project.ts +1 -1
  38. package/src/components/prototype/block/index.ts +22 -0
  39. package/src/components/prototype/component/Button.tsx +49 -0
  40. package/src/components/prototype/component/Card.tsx +49 -0
  41. package/src/components/prototype/component/GenericPrototype.tsx +42 -0
  42. package/src/components/prototype/component/Image.tsx +51 -0
  43. package/src/components/prototype/component/Input.tsx +45 -0
  44. package/src/components/prototype/component/Text.tsx +43 -0
  45. package/src/components/prototype/component/index.ts +102 -0
  46. package/src/components/prototype/component-preview.tsx +137 -0
  47. package/src/components/prototype/imported/.gitkeep +0 -0
  48. package/src/components/prototype/imported-registry.ts +25 -0
  49. package/src/components/prototype/index.ts +42 -0
  50. package/src/components/prototype/registry.ts +40 -0
  51. package/src/components/prototype/template/index.ts +22 -0
  52. package/src/components/prototype/types.ts +96 -0
  53. package/src/components/prototype/utils.ts +20 -0
  54. package/src/components/prototype/vite-env.d.ts +6 -0
  55. package/src/components/settings/language-selector.tsx +1 -1
  56. package/src/components/settings/personal-team/account/avatar/notion-avatar.tsx +2 -2
  57. package/src/components/settings/personal-team/team/team-member-list.tsx +1 -1
  58. package/src/components/share/prd/prd-share-client.tsx +1 -1
  59. package/src/components/share/prd/share-annotation-overlay.tsx +1 -1
  60. package/src/components/share/prd/share-comment-panel.tsx +1 -1
  61. package/src/components/share/prd/share-comment-review-panel.tsx +1 -1
  62. package/src/components/share/prd/share-directory-tree.tsx +1 -1
  63. package/src/components/share/prd/share-doc-view.tsx +1 -1
  64. package/src/components/share/prd/share-layout.tsx +1 -1
  65. package/src/components/share/prd/share-nav-bar.tsx +1 -1
  66. package/src/components/share/prd/share-password-gate.tsx +1 -1
  67. package/src/components/share/prd/share-prototype-view.tsx +1 -1
  68. package/src/components/share/prd/share-review-panel.tsx +1 -1
  69. package/src/components/share/prd/share-sse-listener.tsx +1 -1
  70. package/src/components/share/prd/share-theme-toggle.tsx +1 -1
  71. package/src/components/share/prd/version-share-client.tsx +1 -1
  72. package/src/components/shared/component-preview.tsx +1 -1
  73. package/src/components/shared/language-switcher.tsx +1 -1
  74. package/src/components/shared/name-confirm-dialog.tsx +1 -1
  75. package/src/components/shared/nav-float-button.tsx +1 -1
  76. package/src/components/shared/placeholder-page.tsx +1 -1
  77. package/src/components/story/columns.tsx +1 -1
  78. package/src/components/story/create-story-dialog.tsx +2 -2
  79. package/src/components/story/detail/__tests__/activity-timeline.test.tsx +1 -1
  80. package/src/components/story/detail/activity-timeline.tsx +1 -1
  81. package/src/components/story/detail/comment-item.tsx +1 -1
  82. package/src/components/story/detail/story-detail-body.tsx +2 -2
  83. package/src/components/story/display/__tests__/display-dropdown.test.tsx +1 -1
  84. package/src/components/story/display/group-resolver.tsx +1 -1
  85. package/src/components/story/filters/applied-filters.tsx +1 -1
  86. package/src/components/story/infinite-scroll-sentinel.tsx +1 -1
  87. package/src/components/story/inline-editors/assignee-editor.tsx +1 -1
  88. package/src/components/story/schemas/story-create.ts +1 -1
  89. package/src/components/story/views/kanban-card.tsx +1 -1
  90. package/src/components/story/views/view-types.ts +1 -1
  91. package/src/components/tiptap/__tests__/ai-extension.test.ts +120 -0
  92. package/src/components/tiptap/extension/ai-extension.ts +408 -0
  93. package/src/components/tiptap/extension/code-block-ellipsis-input-extension.ts +32 -0
  94. package/src/components/tiptap/extension/fullwidth-blockquote-extension.ts +31 -0
  95. package/src/components/tiptap/extension/indent-extension.ts +500 -0
  96. package/src/components/tiptap/extension/list-normalization-extension.ts +129 -0
  97. package/src/components/tiptap/extension/node-alignment-extension.ts +302 -0
  98. package/src/components/tiptap/extension/node-background-extension.ts +167 -0
  99. package/src/components/tiptap/extension/triple-click-block-selection-extension.ts +66 -0
  100. package/src/components/tiptap/extension/ui-state-extension.ts +114 -0
  101. package/src/components/tiptap/extensions/local-file/insert-local-file.ts +35 -0
  102. package/src/components/tiptap/extensions/local-file/local-file-node.ts +67 -0
  103. package/src/components/tiptap/global.d.ts +12 -0
  104. package/src/components/tiptap/hooks/use-composed-ref.ts +63 -0
  105. package/src/components/tiptap/hooks/use-cursor-visibility.ts +87 -0
  106. package/src/components/tiptap/hooks/use-element-rect.ts +179 -0
  107. package/src/components/tiptap/hooks/use-floating-element.ts +144 -0
  108. package/src/components/tiptap/hooks/use-floating-toolbar-visibility.ts +140 -0
  109. package/src/components/tiptap/hooks/use-is-breakpoint.ts +53 -0
  110. package/src/components/tiptap/hooks/use-isomorphic-layout-effect.ts +27 -0
  111. package/src/components/tiptap/hooks/use-menu-navigation.ts +212 -0
  112. package/src/components/tiptap/hooks/use-on-click-outside.ts +167 -0
  113. package/src/components/tiptap/hooks/use-tiptap-editor.ts +87 -0
  114. package/src/components/tiptap/hooks/use-ui-editor-state.ts +47 -0
  115. package/src/components/tiptap/hooks/use-window-size.ts +108 -0
  116. package/src/components/tiptap/icons/add-col-left-icon.tsx +47 -0
  117. package/src/components/tiptap/icons/add-col-right-icon.tsx +47 -0
  118. package/src/components/tiptap/icons/add-row-bottom-icon.tsx +47 -0
  119. package/src/components/tiptap/icons/add-row-top-icon.tsx +47 -0
  120. package/src/components/tiptap/icons/ai-sparkles-icon.tsx +49 -0
  121. package/src/components/tiptap/icons/align-bottom-icon.tsx +45 -0
  122. package/src/components/tiptap/icons/align-center-icon.tsx +55 -0
  123. package/src/components/tiptap/icons/align-center-vertical-icon.tsx +51 -0
  124. package/src/components/tiptap/icons/align-end-vertical-icon.tsx +51 -0
  125. package/src/components/tiptap/icons/align-justify-icon.tsx +55 -0
  126. package/src/components/tiptap/icons/align-left-icon.tsx +55 -0
  127. package/src/components/tiptap/icons/align-middle-icon.tsx +72 -0
  128. package/src/components/tiptap/icons/align-right-icon.tsx +55 -0
  129. package/src/components/tiptap/icons/align-start-vertical-icon.tsx +49 -0
  130. package/src/components/tiptap/icons/align-top-icon.tsx +45 -0
  131. package/src/components/tiptap/icons/alignment-icon.tsx +89 -0
  132. package/src/components/tiptap/icons/arrow-down-a-z-icon.tsx +51 -0
  133. package/src/components/tiptap/icons/arrow-down-icon.tsx +41 -0
  134. package/src/components/tiptap/icons/arrow-down-to-line-icon.tsx +45 -0
  135. package/src/components/tiptap/icons/arrow-down-z-a-icon.tsx +51 -0
  136. package/src/components/tiptap/icons/arrow-left-icon.tsx +41 -0
  137. package/src/components/tiptap/icons/arrow-right-icon.tsx +43 -0
  138. package/src/components/tiptap/icons/arrow-up-icon.tsx +43 -0
  139. package/src/components/tiptap/icons/at-sign-icon.tsx +43 -0
  140. package/src/components/tiptap/icons/ban-icon.tsx +43 -0
  141. package/src/components/tiptap/icons/blockquote-icon.tsx +61 -0
  142. package/src/components/tiptap/icons/bold-icon.tsx +43 -0
  143. package/src/components/tiptap/icons/check-ai-icon.tsx +49 -0
  144. package/src/components/tiptap/icons/check-icon.tsx +43 -0
  145. package/src/components/tiptap/icons/chevron-down-icon.tsx +43 -0
  146. package/src/components/tiptap/icons/chevron-right-icon.tsx +43 -0
  147. package/src/components/tiptap/icons/clipboard-icon.tsx +41 -0
  148. package/src/components/tiptap/icons/close-icon.tsx +41 -0
  149. package/src/components/tiptap/icons/code-block-icon.tsx +55 -0
  150. package/src/components/tiptap/icons/code2-icon.tsx +49 -0
  151. package/src/components/tiptap/icons/complete-sentence-icon.tsx +61 -0
  152. package/src/components/tiptap/icons/copy-icon.tsx +49 -0
  153. package/src/components/tiptap/icons/corner-down-left-icon.tsx +43 -0
  154. package/src/components/tiptap/icons/external-link-icon.tsx +45 -0
  155. package/src/components/tiptap/icons/grip-4-icon.tsx +41 -0
  156. package/src/components/tiptap/icons/grip-vertical-icon.tsx +61 -0
  157. package/src/components/tiptap/icons/heading-five-icon.tsx +45 -0
  158. package/src/components/tiptap/icons/heading-four-icon.tsx +45 -0
  159. package/src/components/tiptap/icons/heading-one-icon.tsx +45 -0
  160. package/src/components/tiptap/icons/heading-six-icon.tsx +47 -0
  161. package/src/components/tiptap/icons/heading-three-icon.tsx +53 -0
  162. package/src/components/tiptap/icons/heading-two-icon.tsx +45 -0
  163. package/src/components/tiptap/icons/highlighter-icon.tsx +43 -0
  164. package/src/components/tiptap/icons/image-caption-icon.tsx +55 -0
  165. package/src/components/tiptap/icons/image-icon.tsx +43 -0
  166. package/src/components/tiptap/icons/image-plus-icon.tsx +43 -0
  167. package/src/components/tiptap/icons/indent-decrease-icon.tsx +57 -0
  168. package/src/components/tiptap/icons/indent-increase-icon.tsx +57 -0
  169. package/src/components/tiptap/icons/italic-icon.tsx +41 -0
  170. package/src/components/tiptap/icons/languages-icon.tsx +51 -0
  171. package/src/components/tiptap/icons/link-icon.tsx +45 -0
  172. package/src/components/tiptap/icons/list-icon.tsx +73 -0
  173. package/src/components/tiptap/icons/list-indented-icon.tsx +73 -0
  174. package/src/components/tiptap/icons/list-ordered-icon.tsx +73 -0
  175. package/src/components/tiptap/icons/list-todo-icon.tsx +67 -0
  176. package/src/components/tiptap/icons/message-square-icon.tsx +43 -0
  177. package/src/components/tiptap/icons/message-square-plus-icon.tsx +49 -0
  178. package/src/components/tiptap/icons/mic-ai-icon.tsx +51 -0
  179. package/src/components/tiptap/icons/minus-icon.tsx +43 -0
  180. package/src/components/tiptap/icons/moon-star-icon.tsx +47 -0
  181. package/src/components/tiptap/icons/more-vertical-icon.tsx +55 -0
  182. package/src/components/tiptap/icons/move-horizontal-icon.tsx +41 -0
  183. package/src/components/tiptap/icons/network-icon.tsx +48 -0
  184. package/src/components/tiptap/icons/paint-bucket-icon.tsx +49 -0
  185. package/src/components/tiptap/icons/plus-icon.tsx +41 -0
  186. package/src/components/tiptap/icons/plus-small-icon.tsx +41 -0
  187. package/src/components/tiptap/icons/redo2-icon.tsx +43 -0
  188. package/src/components/tiptap/icons/refresh-ai-icon.tsx +51 -0
  189. package/src/components/tiptap/icons/refresh-ccw-icon.tsx +45 -0
  190. package/src/components/tiptap/icons/repeat-2-icon.tsx +43 -0
  191. package/src/components/tiptap/icons/rotate-ccw-icon.tsx +41 -0
  192. package/src/components/tiptap/icons/simplify-2-icon.tsx +41 -0
  193. package/src/components/tiptap/icons/smile-ai-icon.tsx +55 -0
  194. package/src/components/tiptap/icons/smile-plus-icon.tsx +43 -0
  195. package/src/components/tiptap/icons/square-x-icon.tsx +43 -0
  196. package/src/components/tiptap/icons/stop-circle-2-icon.tsx +43 -0
  197. package/src/components/tiptap/icons/strike-icon.tsx +45 -0
  198. package/src/components/tiptap/icons/subscript-icon.tsx +55 -0
  199. package/src/components/tiptap/icons/summarize-text-icon.tsx +53 -0
  200. package/src/components/tiptap/icons/sun-icon.tsx +75 -0
  201. package/src/components/tiptap/icons/superscript-icon.tsx +55 -0
  202. package/src/components/tiptap/icons/table-cell-merge-icon.tsx +61 -0
  203. package/src/components/tiptap/icons/table-cell-split-icon.tsx +61 -0
  204. package/src/components/tiptap/icons/table-column-icon.tsx +43 -0
  205. package/src/components/tiptap/icons/table-header-column-icon.tsx +45 -0
  206. package/src/components/tiptap/icons/table-header-row-icon.tsx +43 -0
  207. package/src/components/tiptap/icons/table-icon.tsx +43 -0
  208. package/src/components/tiptap/icons/table-row-icon.tsx +43 -0
  209. package/src/components/tiptap/icons/text-color-small-icon.tsx +43 -0
  210. package/src/components/tiptap/icons/text-extend-icon.tsx +53 -0
  211. package/src/components/tiptap/icons/text-reduce-icon.tsx +49 -0
  212. package/src/components/tiptap/icons/trash-icon.tsx +43 -0
  213. package/src/components/tiptap/icons/type-icon.tsx +41 -0
  214. package/src/components/tiptap/icons/underline-icon.tsx +43 -0
  215. package/src/components/tiptap/icons/undo2-icon.tsx +43 -0
  216. package/src/components/tiptap/icons/x-icon.tsx +41 -0
  217. package/src/components/tiptap/index.ts +1 -0
  218. package/src/components/tiptap/lib/advanced-utils.ts +388 -0
  219. package/src/components/tiptap/lib/ai-types.ts +41 -0
  220. package/src/components/tiptap/lib/collab-utils.ts +147 -0
  221. package/src/components/tiptap/lib/datetime.ts +1 -0
  222. package/src/components/tiptap/lib/fullwidth.ts +44 -0
  223. package/src/components/tiptap/lib/pacer.ts +95 -0
  224. package/src/components/tiptap/lib/utils/attr.ts +67 -0
  225. package/src/components/tiptap/lib/utils/constants.ts +46 -0
  226. package/src/components/tiptap/lib/utils/math.ts +23 -0
  227. package/src/components/tiptap/lib/utils/node.ts +136 -0
  228. package/src/components/tiptap/lib/utils/platform.ts +77 -0
  229. package/src/components/tiptap/lib/utils/schema.ts +75 -0
  230. package/src/components/tiptap/lib/utils/selection.ts +218 -0
  231. package/src/components/tiptap/lib/utils/url.ts +122 -0
  232. package/src/components/tiptap/lib/utils.ts +57 -0
  233. package/src/components/tiptap/mindmap/lib/__tests__/default-mindmap-data.test.ts +58 -0
  234. package/src/components/tiptap/mindmap/lib/default-mindmap-data.ts +36 -0
  235. package/src/components/tiptap/mindmap/mind-map.tsx +579 -0
  236. package/src/components/tiptap/mindmap/mindmap-fullscreen-dialog.tsx +52 -0
  237. package/src/components/tiptap/node/annotation-node/annotation-extension.ts +47 -0
  238. package/src/components/tiptap/node/annotation-node/annotation-node-view.tsx +185 -0
  239. package/src/components/tiptap/node/annotation-node/annotation-node.scss +77 -0
  240. package/src/components/tiptap/node/annotation-node/index.ts +2 -0
  241. package/src/components/tiptap/node/blockquote-node/blockquote-node.scss +37 -0
  242. package/src/components/tiptap/node/code-block-node/code-block-node.scss +54 -0
  243. package/src/components/tiptap/node/doc-card-extension.tsx +226 -0
  244. package/src/components/tiptap/node/heading-node/heading-node.scss +45 -0
  245. package/src/components/tiptap/node/horizontal-rule-node/horizontal-rule-node-extension.ts +31 -0
  246. package/src/components/tiptap/node/horizontal-rule-node/horizontal-rule-node.scss +25 -0
  247. package/src/components/tiptap/node/image-node/image-node-extension.ts +253 -0
  248. package/src/components/tiptap/node/image-node/image-node-floating.tsx +65 -0
  249. package/src/components/tiptap/node/image-node/image-node-view.scss +95 -0
  250. package/src/components/tiptap/node/image-node/image-node-view.tsx +363 -0
  251. package/src/components/tiptap/node/image-node/image-node.scss +35 -0
  252. package/src/components/tiptap/node/image-upload-node/image-upload-node-extension.ts +179 -0
  253. package/src/components/tiptap/node/image-upload-node/image-upload-node.scss +249 -0
  254. package/src/components/tiptap/node/image-upload-node/image-upload-node.tsx +570 -0
  255. package/src/components/tiptap/node/image-upload-node/index.tsx +18 -0
  256. package/src/components/tiptap/node/inline-node-selection.ts +42 -0
  257. package/src/components/tiptap/node/list-node/list-node.scss +208 -0
  258. package/src/components/tiptap/node/mention-extension.ts +163 -0
  259. package/src/components/tiptap/node/mindmap-node/mindmap-extension.ts +87 -0
  260. package/src/components/tiptap/node/mindmap-node/mindmap-node-view.tsx +61 -0
  261. package/src/components/tiptap/node/paragraph-node/paragraph-node.scss +1 -0
  262. package/src/components/tiptap/node/table-node/extensions/table-handle/helpers/create-image.ts +303 -0
  263. package/src/components/tiptap/node/table-node/extensions/table-handle/index.ts +19 -0
  264. package/src/components/tiptap/node/table-node/extensions/table-handle/table-handle-plugin.ts +863 -0
  265. package/src/components/tiptap/node/table-node/extensions/table-handle/table-handle.ts +67 -0
  266. package/src/components/tiptap/node/table-node/extensions/table-node-extension.ts +264 -0
  267. package/src/components/tiptap/node/table-node/hooks/use-table-handle-state.ts +88 -0
  268. package/src/components/tiptap/node/table-node/lib/tiptap-table-utils.ts +1306 -0
  269. package/src/components/tiptap/node/table-node/styles/prosemirror-table.scss +48 -0
  270. package/src/components/tiptap/node/table-node/styles/table-node.scss +211 -0
  271. package/src/components/tiptap/node/table-node/ui/table-add-row-column-button/index.tsx +19 -0
  272. package/src/components/tiptap/node/table-node/ui/table-add-row-column-button/table-add-row-column-button.tsx +117 -0
  273. package/src/components/tiptap/node/table-node/ui/table-add-row-column-button/use-table-add-row-column.ts +365 -0
  274. package/src/components/tiptap/node/table-node/ui/table-align-cell-button/index.tsx +19 -0
  275. package/src/components/tiptap/node/table-node/ui/table-align-cell-button/table-align-cell-button.tsx +144 -0
  276. package/src/components/tiptap/node/table-node/ui/table-align-cell-button/use-table-align-cell.ts +565 -0
  277. package/src/components/tiptap/node/table-node/ui/table-alignment-menu/index.tsx +18 -0
  278. package/src/components/tiptap/node/table-node/ui/table-alignment-menu/table-alignment-menu.tsx +177 -0
  279. package/src/components/tiptap/node/table-node/ui/table-cell-handle-menu/index.tsx +18 -0
  280. package/src/components/tiptap/node/table-node/ui/table-cell-handle-menu/table-cell-handle-menu.scss +121 -0
  281. package/src/components/tiptap/node/table-node/ui/table-cell-handle-menu/table-cell-handle-menu.tsx +227 -0
  282. package/src/components/tiptap/node/table-node/ui/table-clear-row-column-content-button/index.tsx +19 -0
  283. package/src/components/tiptap/node/table-node/ui/table-clear-row-column-content-button/table-clear-row-column-content-button.tsx +116 -0
  284. package/src/components/tiptap/node/table-node/ui/table-clear-row-column-content-button/use-table-clear-row-column-content.ts +487 -0
  285. package/src/components/tiptap/node/table-node/ui/table-delete-row-column-button/index.tsx +19 -0
  286. package/src/components/tiptap/node/table-node/ui/table-delete-row-column-button/table-delete-row-column-button.tsx +115 -0
  287. package/src/components/tiptap/node/table-node/ui/table-delete-row-column-button/use-table-delete-row-column.ts +283 -0
  288. package/src/components/tiptap/node/table-node/ui/table-duplicate-row-column-button/index.tsx +19 -0
  289. package/src/components/tiptap/node/table-node/ui/table-duplicate-row-column-button/table-duplicate-row-column-button.tsx +107 -0
  290. package/src/components/tiptap/node/table-node/ui/table-duplicate-row-column-button/use-table-duplicate-row-column.ts +424 -0
  291. package/src/components/tiptap/node/table-node/ui/table-extend-row-column-button/index.tsx +19 -0
  292. package/src/components/tiptap/node/table-node/ui/table-extend-row-column-button/table-extend-row-column-button.scss +36 -0
  293. package/src/components/tiptap/node/table-node/ui/table-extend-row-column-button/table-extend-row-column-button.tsx +272 -0
  294. package/src/components/tiptap/node/table-node/ui/table-extend-row-column-button/use-table-extend-row-column.ts +135 -0
  295. package/src/components/tiptap/node/table-node/ui/table-fit-to-width-button/index.tsx +19 -0
  296. package/src/components/tiptap/node/table-node/ui/table-fit-to-width-button/table-fit-to-width-button.tsx +113 -0
  297. package/src/components/tiptap/node/table-node/ui/table-fit-to-width-button/use-table-fit-to-width.ts +259 -0
  298. package/src/components/tiptap/node/table-node/ui/table-handle/index.tsx +19 -0
  299. package/src/components/tiptap/node/table-node/ui/table-handle/table-handle.tsx +179 -0
  300. package/src/components/tiptap/node/table-node/ui/table-handle/use-table-handle-positioning.ts +272 -0
  301. package/src/components/tiptap/node/table-node/ui/table-handle-menu/index.tsx +18 -0
  302. package/src/components/tiptap/node/table-node/ui/table-handle-menu/table-handle-menu.scss +54 -0
  303. package/src/components/tiptap/node/table-node/ui/table-handle-menu/table-handle-menu.tsx +765 -0
  304. package/src/components/tiptap/node/table-node/ui/table-header-row-column-button/index.tsx +19 -0
  305. package/src/components/tiptap/node/table-node/ui/table-header-row-column-button/table-header-row-column-button.tsx +114 -0
  306. package/src/components/tiptap/node/table-node/ui/table-header-row-column-button/use-table-header-row-column.ts +280 -0
  307. package/src/components/tiptap/node/table-node/ui/table-merge-split-cell-button/index.tsx +19 -0
  308. package/src/components/tiptap/node/table-node/ui/table-merge-split-cell-button/table-merge-split-cell-button.tsx +140 -0
  309. package/src/components/tiptap/node/table-node/ui/table-merge-split-cell-button/use-table-merge-split-cell.ts +305 -0
  310. package/src/components/tiptap/node/table-node/ui/table-move-row-column-button/index.tsx +19 -0
  311. package/src/components/tiptap/node/table-node/ui/table-move-row-column-button/table-move-row-column-button.tsx +138 -0
  312. package/src/components/tiptap/node/table-node/ui/table-move-row-column-button/use-table-move-row-column.ts +498 -0
  313. package/src/components/tiptap/node/table-node/ui/table-selection-overlay/index.tsx +18 -0
  314. package/src/components/tiptap/node/table-node/ui/table-selection-overlay/table-selection-overlay.tsx +590 -0
  315. package/src/components/tiptap/node/table-node/ui/table-selection-overlay/use-resize-overlay.ts +94 -0
  316. package/src/components/tiptap/node/table-node/ui/table-sort-row-column-button/index.tsx +19 -0
  317. package/src/components/tiptap/node/table-node/ui/table-sort-row-column-button/table-sort-row-column-button.tsx +115 -0
  318. package/src/components/tiptap/node/table-node/ui/table-sort-row-column-button/use-table-sort-row-column.ts +495 -0
  319. package/src/components/tiptap/node/table-node/ui/table-trigger-button/index.tsx +20 -0
  320. package/src/components/tiptap/node/table-node/ui/table-trigger-button/table-grid-selector.scss +98 -0
  321. package/src/components/tiptap/node/table-node/ui/table-trigger-button/table-grid-selector.tsx +236 -0
  322. package/src/components/tiptap/node/table-node/ui/table-trigger-button/table-trigger-button.tsx +147 -0
  323. package/src/components/tiptap/node/table-node/ui/table-trigger-button/use-table-trigger.ts +196 -0
  324. package/src/components/tiptap/node/toc-node/context/toc-context.tsx +214 -0
  325. package/src/components/tiptap/node/toc-node/extensions/toc-node-extension.ts +172 -0
  326. package/src/components/tiptap/node/toc-node/index.ts +20 -0
  327. package/src/components/tiptap/node/toc-node/toc-node.scss +105 -0
  328. package/src/components/tiptap/node/toc-node/toc-node.tsx +131 -0
  329. package/src/components/tiptap/node/toc-node/ui/toc-show-title-button/index.tsx +19 -0
  330. package/src/components/tiptap/node/toc-node/ui/toc-show-title-button/toc-show-title-button.tsx +113 -0
  331. package/src/components/tiptap/node/toc-node/ui/toc-show-title-button/toc-show-title.ts +228 -0
  332. package/src/components/tiptap/node/toc-node/ui/toc-sidebar/index.tsx +18 -0
  333. package/src/components/tiptap/node/toc-node/ui/toc-sidebar/toc-sidebar.scss +265 -0
  334. package/src/components/tiptap/node/toc-node/ui/toc-sidebar/toc-sidebar.tsx +272 -0
  335. package/src/components/tiptap/notion-like/data/content.json +1658 -0
  336. package/src/components/tiptap/notion-like/index.ts +2 -0
  337. package/src/components/tiptap/notion-like/notion-like-editor-header.scss +29 -0
  338. package/src/components/tiptap/notion-like/notion-like-editor-header.tsx +91 -0
  339. package/src/components/tiptap/notion-like/notion-like-editor-mobile-toolbar.tsx +704 -0
  340. package/src/components/tiptap/notion-like/notion-like-editor-theme-toggle.tsx +66 -0
  341. package/src/components/tiptap/notion-like/notion-like-editor-toolbar-floating.tsx +435 -0
  342. package/src/components/tiptap/notion-like/notion-like-editor.scss +181 -0
  343. package/src/components/tiptap/notion-like/notion-like-editor.tsx +589 -0
  344. package/src/components/tiptap/notion-like/setup-error-message/index.tsx +19 -0
  345. package/src/components/tiptap/notion-like/setup-error-message/setup-error-message.scss +108 -0
  346. package/src/components/tiptap/notion-like/setup-error-message/setup-error-message.tsx +116 -0
  347. package/src/components/tiptap/ui/ai-ask-button/ai-ask-button.tsx +124 -0
  348. package/src/components/tiptap/ui/ai-ask-button/index.tsx +19 -0
  349. package/src/components/tiptap/ui/ai-ask-button/use-ai-ask.ts +192 -0
  350. package/src/components/tiptap/ui/ai-menu/ai-menu-actions/ai-menu-actions.scss +11 -0
  351. package/src/components/tiptap/ui/ai-menu/ai-menu-actions/ai-menu-actions.tsx +103 -0
  352. package/src/components/tiptap/ui/ai-menu/ai-menu-actions/index.tsx +18 -0
  353. package/src/components/tiptap/ui/ai-menu/ai-menu-hooks.ts +325 -0
  354. package/src/components/tiptap/ui/ai-menu/ai-menu-input/ai-menu-input-hooks.ts +61 -0
  355. package/src/components/tiptap/ui/ai-menu/ai-menu-input/ai-menu-input-types.ts +32 -0
  356. package/src/components/tiptap/ui/ai-menu/ai-menu-input/ai-menu-input.scss +114 -0
  357. package/src/components/tiptap/ui/ai-menu/ai-menu-input/ai-menu-input.tsx +269 -0
  358. package/src/components/tiptap/ui/ai-menu/ai-menu-input/index.tsx +20 -0
  359. package/src/components/tiptap/ui/ai-menu/ai-menu-items/ai-menu-items-constants.ts +63 -0
  360. package/src/components/tiptap/ui/ai-menu/ai-menu-items/ai-menu-items-types.ts +64 -0
  361. package/src/components/tiptap/ui/ai-menu/ai-menu-items/ai-menu-items.tsx +381 -0
  362. package/src/components/tiptap/ui/ai-menu/ai-menu-items/index.tsx +20 -0
  363. package/src/components/tiptap/ui/ai-menu/ai-menu-items/language-selection-submenu.tsx +140 -0
  364. package/src/components/tiptap/ui/ai-menu/ai-menu-items/menu-action-renderer.tsx +105 -0
  365. package/src/components/tiptap/ui/ai-menu/ai-menu-items/tone-selection-submenu.tsx +125 -0
  366. package/src/components/tiptap/ui/ai-menu/ai-menu-types.ts +42 -0
  367. package/src/components/tiptap/ui/ai-menu/ai-menu-utils.ts +255 -0
  368. package/src/components/tiptap/ui/ai-menu/ai-menu.scss +101 -0
  369. package/src/components/tiptap/ui/ai-menu/ai-menu.tsx +427 -0
  370. package/src/components/tiptap/ui/ai-menu/index.tsx +25 -0
  371. package/src/components/tiptap/ui/blockquote-button/blockquote-button.tsx +143 -0
  372. package/src/components/tiptap/ui/blockquote-button/index.tsx +19 -0
  373. package/src/components/tiptap/ui/blockquote-button/use-blockquote.ts +290 -0
  374. package/src/components/tiptap/ui/code-block-button/code-block-button.tsx +143 -0
  375. package/src/components/tiptap/ui/code-block-button/index.tsx +19 -0
  376. package/src/components/tiptap/ui/code-block-button/use-code-block.ts +300 -0
  377. package/src/components/tiptap/ui/color-highlight-button/color-highlight-button.scss +49 -0
  378. package/src/components/tiptap/ui/color-highlight-button/color-highlight-button.tsx +188 -0
  379. package/src/components/tiptap/ui/color-highlight-button/index.tsx +19 -0
  380. package/src/components/tiptap/ui/color-highlight-button/use-color-highlight.ts +397 -0
  381. package/src/components/tiptap/ui/color-highlight-popover/color-highlight-popover.tsx +251 -0
  382. package/src/components/tiptap/ui/color-highlight-popover/index.tsx +18 -0
  383. package/src/components/tiptap/ui/color-menu/color-menu.tsx +228 -0
  384. package/src/components/tiptap/ui/color-menu/index.tsx +18 -0
  385. package/src/components/tiptap/ui/color-text-button/color-text-button.scss +52 -0
  386. package/src/components/tiptap/ui/color-text-button/color-text-button.tsx +168 -0
  387. package/src/components/tiptap/ui/color-text-button/index.tsx +19 -0
  388. package/src/components/tiptap/ui/color-text-button/use-color-text.ts +303 -0
  389. package/src/components/tiptap/ui/color-text-popover/color-text-popover.scss +40 -0
  390. package/src/components/tiptap/ui/color-text-popover/color-text-popover.tsx +471 -0
  391. package/src/components/tiptap/ui/color-text-popover/index.tsx +19 -0
  392. package/src/components/tiptap/ui/color-text-popover/use-color-text-popover.ts +295 -0
  393. package/src/components/tiptap/ui/copy-anchor-link-button/copy-anchor-link-button.tsx +136 -0
  394. package/src/components/tiptap/ui/copy-anchor-link-button/index.tsx +20 -0
  395. package/src/components/tiptap/ui/copy-anchor-link-button/use-copy-anchor-link.ts +282 -0
  396. package/src/components/tiptap/ui/copy-anchor-link-button/use-scroll-to-hash.ts +155 -0
  397. package/src/components/tiptap/ui/copy-to-clipboard-button/copy-to-clipboard-button.tsx +134 -0
  398. package/src/components/tiptap/ui/copy-to-clipboard-button/index.tsx +19 -0
  399. package/src/components/tiptap/ui/copy-to-clipboard-button/use-copy-to-clipboard.ts +275 -0
  400. package/src/components/tiptap/ui/delete-node-button/delete-node-button.tsx +132 -0
  401. package/src/components/tiptap/ui/delete-node-button/index.tsx +19 -0
  402. package/src/components/tiptap/ui/delete-node-button/use-delete-node.ts +259 -0
  403. package/src/components/tiptap/ui/doc-reference-floating/doc-reference-floating.tsx +120 -0
  404. package/src/components/tiptap/ui/doc-reference-interaction/doc-reference-interaction.tsx +209 -0
  405. package/src/components/tiptap/ui/drag-context-menu/drag-context-menu-types.ts +47 -0
  406. package/src/components/tiptap/ui/drag-context-menu/drag-context-menu.scss +15 -0
  407. package/src/components/tiptap/ui/drag-context-menu/drag-context-menu.tsx +558 -0
  408. package/src/components/tiptap/ui/drag-context-menu/index.tsx +19 -0
  409. package/src/components/tiptap/ui/duplicate-button/duplicate-button.tsx +132 -0
  410. package/src/components/tiptap/ui/duplicate-button/index.tsx +19 -0
  411. package/src/components/tiptap/ui/duplicate-button/use-duplicate.ts +240 -0
  412. package/src/components/tiptap/ui/emoji-dropdown-menu/emoji-dropdown-menu.tsx +124 -0
  413. package/src/components/tiptap/ui/emoji-dropdown-menu/index.tsx +18 -0
  414. package/src/components/tiptap/ui/emoji-menu/emoji-menu-utils.ts +53 -0
  415. package/src/components/tiptap/ui/emoji-menu/emoji-menu.scss +28 -0
  416. package/src/components/tiptap/ui/emoji-menu/emoji-menu.tsx +166 -0
  417. package/src/components/tiptap/ui/emoji-menu/index.tsx +19 -0
  418. package/src/components/tiptap/ui/emoji-trigger-button/emoji-trigger-button.tsx +146 -0
  419. package/src/components/tiptap/ui/emoji-trigger-button/index.tsx +19 -0
  420. package/src/components/tiptap/ui/emoji-trigger-button/use-emoji-trigger.ts +338 -0
  421. package/src/components/tiptap/ui/heading-button/heading-button.tsx +142 -0
  422. package/src/components/tiptap/ui/heading-button/index.tsx +19 -0
  423. package/src/components/tiptap/ui/heading-button/use-heading.ts +374 -0
  424. package/src/components/tiptap/ui/image-align-button/image-align-button.tsx +154 -0
  425. package/src/components/tiptap/ui/image-align-button/index.tsx +19 -0
  426. package/src/components/tiptap/ui/image-align-button/use-image-align.ts +313 -0
  427. package/src/components/tiptap/ui/image-caption-button/image-caption-button.tsx +109 -0
  428. package/src/components/tiptap/ui/image-caption-button/index.tsx +19 -0
  429. package/src/components/tiptap/ui/image-caption-button/use-image-caption.ts +232 -0
  430. package/src/components/tiptap/ui/image-download-button/image-download-button.tsx +141 -0
  431. package/src/components/tiptap/ui/image-download-button/index.tsx +19 -0
  432. package/src/components/tiptap/ui/image-download-button/use-image-download.ts +384 -0
  433. package/src/components/tiptap/ui/image-upload-button/image-upload-button.tsx +148 -0
  434. package/src/components/tiptap/ui/image-upload-button/index.tsx +19 -0
  435. package/src/components/tiptap/ui/image-upload-button/use-image-upload.ts +214 -0
  436. package/src/components/tiptap/ui/improve-dropdown/improve-dropdown.tsx +311 -0
  437. package/src/components/tiptap/ui/improve-dropdown/index.tsx +19 -0
  438. package/src/components/tiptap/ui/improve-dropdown/use-improve-dropdown.ts +294 -0
  439. package/src/components/tiptap/ui/indent-button/indent-button.tsx +148 -0
  440. package/src/components/tiptap/ui/indent-button/index.tsx +19 -0
  441. package/src/components/tiptap/ui/indent-button/use-indent.ts +217 -0
  442. package/src/components/tiptap/ui/link-popover/index.tsx +19 -0
  443. package/src/components/tiptap/ui/link-popover/link-popover.scss +16 -0
  444. package/src/components/tiptap/ui/link-popover/link-popover.tsx +333 -0
  445. package/src/components/tiptap/ui/link-popover/use-link-popover.ts +316 -0
  446. package/src/components/tiptap/ui/list-button/index.tsx +19 -0
  447. package/src/components/tiptap/ui/list-button/list-button.tsx +138 -0
  448. package/src/components/tiptap/ui/list-button/use-list.ts +370 -0
  449. package/src/components/tiptap/ui/mark-button/index.tsx +19 -0
  450. package/src/components/tiptap/ui/mark-button/mark-button.tsx +138 -0
  451. package/src/components/tiptap/ui/mark-button/use-mark.ts +247 -0
  452. package/src/components/tiptap/ui/mention-dropdown-menu/index.tsx +18 -0
  453. package/src/components/tiptap/ui/mention-dropdown-menu/mention-dropdown-menu.tsx +194 -0
  454. package/src/components/tiptap/ui/mention-trigger-button/index.tsx +19 -0
  455. package/src/components/tiptap/ui/mention-trigger-button/mention-trigger-button.tsx +137 -0
  456. package/src/components/tiptap/ui/mention-trigger-button/use-mention-trigger.ts +362 -0
  457. package/src/components/tiptap/ui/move-node-button/index.tsx +19 -0
  458. package/src/components/tiptap/ui/move-node-button/move-node-button.tsx +138 -0
  459. package/src/components/tiptap/ui/move-node-button/use-move-node.ts +230 -0
  460. package/src/components/tiptap/ui/reference-dropdown-menu/index.tsx +18 -0
  461. package/src/components/tiptap/ui/reference-dropdown-menu/reference-dropdown-menu.tsx +231 -0
  462. package/src/components/tiptap/ui/reset-all-formatting-button/index.tsx +19 -0
  463. package/src/components/tiptap/ui/reset-all-formatting-button/reset-all-formatting-button.tsx +144 -0
  464. package/src/components/tiptap/ui/reset-all-formatting-button/use-reset-all-formatting.ts +279 -0
  465. package/src/components/tiptap/ui/slash-command-trigger-button/index.tsx +19 -0
  466. package/src/components/tiptap/ui/slash-command-trigger-button/slash-command-trigger-button.tsx +143 -0
  467. package/src/components/tiptap/ui/slash-command-trigger-button/use-slash-command-trigger.ts +305 -0
  468. package/src/components/tiptap/ui/slash-dropdown-menu/index.tsx +19 -0
  469. package/src/components/tiptap/ui/slash-dropdown-menu/slash-dropdown-menu.scss +33 -0
  470. package/src/components/tiptap/ui/slash-dropdown-menu/slash-dropdown-menu.tsx +222 -0
  471. package/src/components/tiptap/ui/slash-dropdown-menu/use-slash-dropdown-menu.ts +498 -0
  472. package/src/components/tiptap/ui/text-align-button/index.tsx +19 -0
  473. package/src/components/tiptap/ui/text-align-button/text-align-button.tsx +160 -0
  474. package/src/components/tiptap/ui/text-align-button/use-text-align.ts +248 -0
  475. package/src/components/tiptap/ui/text-button/index.tsx +19 -0
  476. package/src/components/tiptap/ui/text-button/text-button.tsx +135 -0
  477. package/src/components/tiptap/ui/text-button/use-text.ts +308 -0
  478. package/src/components/tiptap/ui/turn-into-dropdown/index.tsx +19 -0
  479. package/src/components/tiptap/ui/turn-into-dropdown/turn-into-dropdown.tsx +243 -0
  480. package/src/components/tiptap/ui/turn-into-dropdown/use-turn-into-dropdown.ts +294 -0
  481. package/src/components/tiptap/ui/undo-redo-button/index.tsx +19 -0
  482. package/src/components/tiptap/ui/undo-redo-button/undo-redo-button.tsx +141 -0
  483. package/src/components/tiptap/ui/undo-redo-button/use-undo-redo.ts +207 -0
  484. package/src/components/tiptap/ui-primitive/avatar/avatar.scss +118 -0
  485. package/src/components/tiptap/ui-primitive/avatar/avatar.tsx +255 -0
  486. package/src/components/tiptap/ui-primitive/avatar/index.tsx +18 -0
  487. package/src/components/tiptap/ui-primitive/badge/badge-colors.scss +395 -0
  488. package/src/components/tiptap/ui-primitive/badge/badge-group.scss +16 -0
  489. package/src/components/tiptap/ui-primitive/badge/badge.scss +99 -0
  490. package/src/components/tiptap/ui-primitive/badge/badge.tsx +62 -0
  491. package/src/components/tiptap/ui-primitive/badge/index.tsx +18 -0
  492. package/src/components/tiptap/ui-primitive/button/button-colors.scss +429 -0
  493. package/src/components/tiptap/ui-primitive/button/button.scss +314 -0
  494. package/src/components/tiptap/ui-primitive/button/button.tsx +119 -0
  495. package/src/components/tiptap/ui-primitive/button/index.tsx +18 -0
  496. package/src/components/tiptap/ui-primitive/button-group/button-group.scss +79 -0
  497. package/src/components/tiptap/ui-primitive/button-group/button-group.tsx +89 -0
  498. package/src/components/tiptap/ui-primitive/button-group/index.tsx +18 -0
  499. package/src/components/tiptap/ui-primitive/card/card.scss +74 -0
  500. package/src/components/tiptap/ui-primitive/card/card.tsx +95 -0
  501. package/src/components/tiptap/ui-primitive/card/index.tsx +18 -0
  502. package/src/components/tiptap/ui-primitive/combobox/combobox.scss +90 -0
  503. package/src/components/tiptap/ui-primitive/combobox/combobox.tsx +231 -0
  504. package/src/components/tiptap/ui-primitive/combobox/index.tsx +18 -0
  505. package/src/components/tiptap/ui-primitive/dropdown-menu/dropdown-menu.scss +152 -0
  506. package/src/components/tiptap/ui-primitive/dropdown-menu/dropdown-menu.tsx +280 -0
  507. package/src/components/tiptap/ui-primitive/dropdown-menu/index.tsx +18 -0
  508. package/src/components/tiptap/ui-primitive/input/index.tsx +18 -0
  509. package/src/components/tiptap/ui-primitive/input/input.scss +41 -0
  510. package/src/components/tiptap/ui-primitive/input/input.tsx +33 -0
  511. package/src/components/tiptap/ui-primitive/input-group/index.tsx +18 -0
  512. package/src/components/tiptap/ui-primitive/input-group/input-group.scss +225 -0
  513. package/src/components/tiptap/ui-primitive/input-group/input-group.tsx +152 -0
  514. package/src/components/tiptap/ui-primitive/label/index.tsx +18 -0
  515. package/src/components/tiptap/ui-primitive/label/label.scss +20 -0
  516. package/src/components/tiptap/ui-primitive/label/label.tsx +34 -0
  517. package/src/components/tiptap/ui-primitive/menu/index.tsx +22 -0
  518. package/src/components/tiptap/ui-primitive/menu/menu-context.ts +35 -0
  519. package/src/components/tiptap/ui-primitive/menu/menu-hooks.ts +118 -0
  520. package/src/components/tiptap/ui-primitive/menu/menu-types.ts +75 -0
  521. package/src/components/tiptap/ui-primitive/menu/menu-utils.ts +80 -0
  522. package/src/components/tiptap/ui-primitive/menu/menu.scss +68 -0
  523. package/src/components/tiptap/ui-primitive/menu/menu.tsx +327 -0
  524. package/src/components/tiptap/ui-primitive/popover/index.tsx +18 -0
  525. package/src/components/tiptap/ui-primitive/popover/popover.scss +64 -0
  526. package/src/components/tiptap/ui-primitive/popover/popover.tsx +53 -0
  527. package/src/components/tiptap/ui-primitive/separator/index.tsx +18 -0
  528. package/src/components/tiptap/ui-primitive/separator/separator.scss +23 -0
  529. package/src/components/tiptap/ui-primitive/separator/separator.tsx +46 -0
  530. package/src/components/tiptap/ui-primitive/sidebar/index.tsx +18 -0
  531. package/src/components/tiptap/ui-primitive/sidebar/sidebar.scss +389 -0
  532. package/src/components/tiptap/ui-primitive/sidebar/sidebar.tsx +633 -0
  533. package/src/components/tiptap/ui-primitive/spacer/index.tsx +18 -0
  534. package/src/components/tiptap/ui-primitive/spacer/spacer.tsx +40 -0
  535. package/src/components/tiptap/ui-primitive/textarea/index.tsx +18 -0
  536. package/src/components/tiptap/ui-primitive/textarea/textarea.scss +42 -0
  537. package/src/components/tiptap/ui-primitive/textarea/textarea.tsx +32 -0
  538. package/src/components/tiptap/ui-primitive/textarea-autosize/index.tsx +18 -0
  539. package/src/components/tiptap/ui-primitive/textarea-autosize/textarea-autosize.tsx +34 -0
  540. package/src/components/tiptap/ui-primitive/toolbar/index.tsx +18 -0
  541. package/src/components/tiptap/ui-primitive/toolbar/toolbar.scss +98 -0
  542. package/src/components/tiptap/ui-primitive/toolbar/toolbar.tsx +139 -0
  543. package/src/components/tiptap/ui-primitive/tooltip/index.tsx +18 -0
  544. package/src/components/tiptap/ui-primitive/tooltip/tooltip.scss +43 -0
  545. package/src/components/tiptap/ui-primitive/tooltip/tooltip.tsx +257 -0
  546. package/src/components/tiptap/ui-utils/floating-element/floating-element-utils.ts +51 -0
  547. package/src/components/tiptap/ui-utils/floating-element/floating-element.tsx +397 -0
  548. package/src/components/tiptap/ui-utils/floating-element/index.tsx +19 -0
  549. package/src/components/tiptap/ui-utils/suggestion-menu/index.tsx +20 -0
  550. package/src/components/tiptap/ui-utils/suggestion-menu/suggestion-menu-fullwidth.ts +48 -0
  551. package/src/components/tiptap/ui-utils/suggestion-menu/suggestion-menu-types.ts +119 -0
  552. package/src/components/tiptap/ui-utils/suggestion-menu/suggestion-menu-utils.ts +107 -0
  553. package/src/components/tiptap/ui-utils/suggestion-menu/suggestion-menu.tsx +367 -0
  554. package/src/components/tiptap/virtual.d.ts +17 -0
  555. package/src/components/ui/alert-dialog.tsx +1 -1
  556. package/src/components/ui/badge.tsx +1 -1
  557. package/src/components/ui/button.tsx +1 -1
  558. package/src/components/ui/card.tsx +1 -1
  559. package/src/components/ui/checkbox.tsx +1 -1
  560. package/src/components/ui/context-menu.tsx +1 -1
  561. package/src/components/ui/dialog.tsx +1 -1
  562. package/src/components/ui/dropdown-menu.tsx +1 -1
  563. package/src/components/ui/empty.tsx +1 -1
  564. package/src/components/ui/input.tsx +1 -1
  565. package/src/components/ui/label.tsx +1 -1
  566. package/src/components/ui/popover.tsx +1 -1
  567. package/src/components/ui/resizable.tsx +1 -1
  568. package/src/components/ui/select.tsx +1 -1
  569. package/src/components/ui/sidebar.tsx +1 -1
  570. package/src/components/ui/skeleton.tsx +1 -1
  571. package/src/components/ui/sonner.tsx +1 -1
  572. package/src/components/ui/spinner.tsx +1 -1
  573. package/src/components/ui/switch.tsx +1 -1
  574. package/src/components/ui/textarea.tsx +1 -1
  575. package/src/components/ui/tooltip.tsx +1 -1
  576. package/src/components/ui-shared/ai-command-button.tsx +36 -0
  577. package/src/components/ui-shared/ai-stream-text.tsx +37 -0
  578. package/src/components/ui-shared/alert-dialog.tsx +216 -0
  579. package/src/components/ui-shared/animated-theme-toggler.tsx +272 -0
  580. package/src/components/ui-shared/auth-client.ts +115 -0
  581. package/src/components/ui-shared/auth-layout.tsx +66 -0
  582. package/src/components/ui-shared/avatar.tsx +129 -0
  583. package/src/components/ui-shared/badge.tsx +66 -0
  584. package/src/components/ui-shared/button.tsx +84 -0
  585. package/src/components/ui-shared/card.tsx +120 -0
  586. package/src/components/ui-shared/checkbox.tsx +50 -0
  587. package/src/components/ui-shared/context-menu.tsx +280 -0
  588. package/src/components/ui-shared/dialog.tsx +183 -0
  589. package/src/components/ui-shared/dropdown-menu.tsx +286 -0
  590. package/src/components/ui-shared/empty.tsx +121 -0
  591. package/src/components/ui-shared/grid-pattern.tsx +87 -0
  592. package/src/components/ui-shared/index.ts +23 -0
  593. package/src/components/ui-shared/input.tsx +36 -0
  594. package/src/components/ui-shared/item.tsx +213 -0
  595. package/src/components/ui-shared/kbd.tsx +33 -0
  596. package/src/components/ui-shared/label.tsx +39 -0
  597. package/src/components/ui-shared/layout-panel-top.tsx +160 -0
  598. package/src/components/ui-shared/name-confirm-dialog.tsx +153 -0
  599. package/src/components/ui-shared/nav-float-button.tsx +301 -0
  600. package/src/components/ui-shared/notion-avatar.tsx +126 -0
  601. package/src/components/ui-shared/placeholder-page.tsx +42 -0
  602. package/src/components/ui-shared/popover.tsx +106 -0
  603. package/src/components/ui-shared/reference-inline.tsx +53 -0
  604. package/src/components/ui-shared/reference-search.tsx +52 -0
  605. package/src/components/ui-shared/resizable.tsx +67 -0
  606. package/src/components/ui-shared/select.tsx +207 -0
  607. package/src/components/ui-shared/separator.tsx +45 -0
  608. package/src/components/ui-shared/sheet.tsx +164 -0
  609. package/src/components/ui-shared/sidebar.tsx +708 -0
  610. package/src/components/ui-shared/skeleton.tsx +30 -0
  611. package/src/components/ui-shared/sonner.tsx +37 -0
  612. package/src/components/ui-shared/switch.tsx +48 -0
  613. package/src/components/ui-shared/textarea.tsx +35 -0
  614. package/src/components/ui-shared/timezone-provider.tsx +55 -0
  615. package/src/components/ui-shared/tooltip.tsx +72 -0
  616. package/src/components/ui-shared/use-mobile.ts +36 -0
  617. package/src/components/ui-shared/user-avatar.tsx +83 -0
  618. package/src/components/ui-shared/utils.ts +6 -0
  619. package/src/components/workspace/schemas/create-workspace.ts +1 -1
  620. package/src/hooks/use-entity-subscription.ts +1 -1
  621. package/src/hooks/use-notifications.ts +2 -2
  622. package/src/i18n/__tests__/detect.test.ts +48 -0
  623. package/src/i18n/__tests__/integration.test.tsx +32 -0
  624. package/src/i18n/__tests__/server.test.ts +33 -0
  625. package/src/i18n/client.ts +32 -0
  626. package/src/i18n/config.ts +114 -18
  627. package/src/i18n/detect.ts +43 -0
  628. package/src/i18n/locales/en/agents.json +134 -0
  629. package/src/i18n/locales/en/apps.json +6 -0
  630. package/src/i18n/locales/en/auth.json +90 -0
  631. package/src/i18n/locales/en/billing.json +78 -0
  632. package/src/i18n/locales/en/chat.json +194 -0
  633. package/src/i18n/locales/en/common.json +242 -0
  634. package/src/i18n/locales/en/dashboard.json +38 -0
  635. package/src/i18n/locales/en/design.json +70 -0
  636. package/src/i18n/locales/en/desktop.json +35 -0
  637. package/src/i18n/locales/en/display.json +37 -0
  638. package/src/i18n/locales/en/editor.json +304 -0
  639. package/src/i18n/locales/en/enterprise.json +1 -0
  640. package/src/i18n/locales/en/invite.json +56 -0
  641. package/src/i18n/locales/en/iterations.json +92 -0
  642. package/src/i18n/locales/en/knowledge.json +462 -0
  643. package/src/i18n/locales/en/mindmap.json +28 -0
  644. package/src/i18n/locales/en/notifications.json +79 -0
  645. package/src/i18n/locales/en/prd.json +51 -0
  646. package/src/i18n/locales/en/projects.json +140 -0
  647. package/src/i18n/locales/en/settings.json +428 -0
  648. package/src/i18n/locales/en/share.json +20 -0
  649. package/src/i18n/locales/en/story.json +923 -0
  650. package/src/i18n/locales/en/tags.json +42 -0
  651. package/src/i18n/locales/en/workspace.json +90 -0
  652. package/src/i18n/locales/zh/agents.json +134 -0
  653. package/src/i18n/locales/zh/apps.json +6 -0
  654. package/src/i18n/locales/zh/auth.json +90 -0
  655. package/src/i18n/locales/zh/billing.json +78 -0
  656. package/src/i18n/locales/zh/chat.json +194 -0
  657. package/src/i18n/locales/zh/common.json +242 -0
  658. package/src/i18n/locales/zh/dashboard.json +38 -0
  659. package/src/i18n/locales/zh/design.json +70 -0
  660. package/src/i18n/locales/zh/desktop.json +35 -0
  661. package/src/i18n/locales/zh/display.json +37 -0
  662. package/src/i18n/locales/zh/editor.json +304 -0
  663. package/src/i18n/locales/zh/enterprise.json +1 -0
  664. package/src/i18n/locales/zh/invite.json +56 -0
  665. package/src/i18n/locales/zh/iterations.json +92 -0
  666. package/src/i18n/locales/zh/knowledge.json +462 -0
  667. package/src/i18n/locales/zh/mindmap.json +28 -0
  668. package/src/i18n/locales/zh/notifications.json +79 -0
  669. package/src/i18n/locales/zh/prd.json +51 -0
  670. package/src/i18n/locales/zh/projects.json +140 -0
  671. package/src/i18n/locales/zh/settings.json +428 -0
  672. package/src/i18n/locales/zh/share.json +20 -0
  673. package/src/i18n/locales/zh/story.json +923 -0
  674. package/src/i18n/locales/zh/tags.json +42 -0
  675. package/src/i18n/locales/zh/workspace.json +90 -0
  676. package/src/i18n/server.ts +18 -0
  677. package/src/i18n/types.ts +5 -0
  678. package/src/lib/__tests__/ai-adapter.test.ts +5 -5
  679. package/src/lib/__tests__/cli-detector.test.ts +6 -6
  680. package/src/lib/__tests__/embedding.test.ts +1 -1
  681. package/src/lib/__tests__/module-registry.test.ts +1 -1
  682. package/src/lib/__tests__/provider-router.test.ts +2 -2
  683. package/src/lib/__tests__/rag.test.ts +1 -1
  684. package/src/lib/ai/__tests__/story-prompt.test.ts +1 -1
  685. package/src/lib/annotation-template.ts +33 -1
  686. package/src/lib/auth/auth-client.ts +1 -1
  687. package/src/lib/auth/auth.config.ts +1 -1
  688. package/src/lib/changelog/sdk-versions.ts +1 -8
  689. package/src/lib/collections/index.ts +1 -1
  690. package/src/lib/collections/knowledge/knowledge-bases-collection.ts +1 -1
  691. package/src/lib/collections/reference/bookmark-categories-collection.ts +1 -1
  692. package/src/lib/collections/reference/labels-collection.ts +1 -1
  693. package/src/lib/collections/reference/projects-collection.ts +1 -1
  694. package/src/lib/collections/reference/users-brief-collection.ts +1 -1
  695. package/src/lib/collections/reference/workspaces-collection.ts +1 -1
  696. package/src/lib/comment-utils.ts +47 -1
  697. package/src/lib/crypto/api-key-cipher.ts +1 -1
  698. package/src/lib/datetime.ts +130 -7
  699. package/src/lib/outline-utils.ts +57 -1
  700. package/src/lib/pacer.ts +96 -11
  701. package/src/lib/prd/__tests__/stack-layout.test.ts +1 -1
  702. package/src/lib/prd/stack-layout.ts +53 -1
  703. package/src/lib/prd-tree-utils.ts +94 -1
  704. package/src/lib/prototype-registry.ts +24 -1
  705. package/src/lib/query-client-seam.test.ts +19 -0
  706. package/src/lib/query-client-seam.ts +14 -0
  707. package/src/lib/rag.ts +1 -1
  708. package/src/lib/restore-version.ts +1 -1
  709. package/src/lib/router-context.ts +1 -1
  710. package/src/lib/share-events.ts +78 -1
  711. package/src/lib/sidebar-utils.ts +21 -1
  712. package/src/lib/sse-transport.ts +1 -1
  713. package/src/lib/stores/prd-canvas-store.ts +69 -1
  714. package/src/lib/tag-colors.ts +35 -1
  715. package/src/lib/time-format.ts +50 -1
  716. package/src/lib/utils.ts +1 -1
  717. package/src/plugins/core/context.ts +2 -0
  718. package/src/plugins/core/index.ts +1 -0
  719. package/src/plugins/core/inspiration/index.ts +17 -0
  720. package/src/plugins/core/inspiration/pages/inspiration-page.tsx +8 -0
  721. package/src/plugins/core/inspiration/routes.ts +12 -0
  722. package/src/plugins/core/inspiration/ui.tsx +28 -0
  723. package/src/plugins/core/prd/components/agent-input.tsx +193 -0
  724. package/src/plugins/core/prd/components/component-annotation-overlay/AnnotationOverlay.tsx +113 -0
  725. package/src/plugins/core/prd/components/component-editor/__tests__/field-utils.test.ts +93 -0
  726. package/src/plugins/core/prd/components/component-editor/collapsible-section.tsx +44 -0
  727. package/src/plugins/core/prd/components/component-editor/content-section.tsx +63 -0
  728. package/src/plugins/core/prd/components/component-editor/field-utils.ts +56 -0
  729. package/src/plugins/core/prd/components/component-editor/position-section.tsx +39 -0
  730. package/src/plugins/core/prd/components/component-editor/style-fields.tsx +187 -0
  731. package/src/plugins/core/prd/components/component-editor/use-field.ts +53 -0
  732. package/src/plugins/core/prd/components/component-thumbnail.tsx +109 -0
  733. package/src/plugins/core/prd/components/dialog/create-prd-dialog.tsx +148 -0
  734. package/src/plugins/core/prd/components/dialog/prd-detail-client.tsx +102 -0
  735. package/src/plugins/core/prd/components/element-context.ts +29 -0
  736. package/src/plugins/core/prd/components/index.ts +19 -0
  737. package/src/plugins/core/prd/components/page-version-panel/components/create-version-dialog.tsx +84 -0
  738. package/src/plugins/core/prd/components/page-version-panel/components/delete-version-dialog.tsx +61 -0
  739. package/src/plugins/core/prd/components/page-version-panel/components/edit-version-dialog.tsx +82 -0
  740. package/src/plugins/core/prd/components/page-version-panel/constants.tsx +23 -0
  741. package/src/plugins/core/prd/components/page-version-panel/types.ts +30 -0
  742. package/src/plugins/core/prd/components/page-version-panel.tsx +1100 -0
  743. package/src/plugins/core/prd/components/page-version-tree.tsx +308 -0
  744. package/src/plugins/core/prd/components/prd-agent-panel.tsx +429 -0
  745. package/src/plugins/core/prd/components/prd-comment-review-panel.tsx +227 -0
  746. package/src/plugins/core/prd/components/prd-component-editor-content.tsx +90 -0
  747. package/src/plugins/core/prd/components/prd-dashboard.tsx +302 -0
  748. package/src/plugins/core/prd/components/prd-doc-panel.tsx +116 -0
  749. package/src/plugins/core/prd/components/prd-editor-layout.tsx +466 -0
  750. package/src/plugins/core/prd/components/prd-filter-bar.tsx +103 -0
  751. package/src/plugins/core/prd/components/prd-left-sidebar.tsx +473 -0
  752. package/src/plugins/core/prd/components/prd-navigation.tsx +287 -0
  753. package/src/plugins/core/prd/components/prd-outline-tab.tsx +61 -0
  754. package/src/plugins/core/prd/components/prd-prototype-panel.tsx +142 -0
  755. package/src/plugins/core/prd/components/prd-right-sidebar.tsx +209 -0
  756. package/src/plugins/core/prd/components/prd-share-panel/components/single-version-share-card.tsx +201 -0
  757. package/src/plugins/core/prd/components/prd-share-panel/constants.ts +22 -0
  758. package/src/plugins/core/prd/components/prd-share-panel/types.ts +21 -0
  759. package/src/plugins/core/prd/components/prd-share-panel/utils.ts +30 -0
  760. package/src/plugins/core/prd/components/prd-share-panel.tsx +567 -0
  761. package/src/plugins/core/prd/components/prd-tree-page-tab.tsx +572 -0
  762. package/src/plugins/core/prd/components/prd-tree-reducer.ts +96 -0
  763. package/src/plugins/core/prd/components/prototype/IconPrototype.tsx +81 -0
  764. package/src/plugins/core/prd/components/prototype/PrototypeCanvas.tsx +411 -0
  765. package/src/plugins/core/prd/components/prototype/PrototypeElement.tsx +168 -0
  766. package/src/plugins/core/prd/components/prototype/ResizeHandles.tsx +95 -0
  767. package/src/plugins/core/prd/components/prototype/icon-components.ts +57 -0
  768. package/src/plugins/core/prd/components/prototype/imported/.gitkeep +0 -0
  769. package/src/plugins/core/prd/components/prototype/index.ts +31 -0
  770. package/src/plugins/core/prd/components/restore-version-dialog.tsx +76 -0
  771. package/src/plugins/core/prd/components/schemas/create-prd.ts +26 -0
  772. package/src/plugins/core/prd/components/share/prd-share-client.tsx +118 -0
  773. package/src/plugins/core/prd/components/share/share-annotation-overlay.tsx +122 -0
  774. package/src/plugins/core/prd/components/share/share-comment-panel.tsx +257 -0
  775. package/src/plugins/core/prd/components/share/share-comment-review-panel.tsx +75 -0
  776. package/src/plugins/core/prd/components/share/share-directory-tree.tsx +93 -0
  777. package/src/plugins/core/prd/components/share/share-doc-view.tsx +96 -0
  778. package/src/plugins/core/prd/components/share/share-layout.tsx +171 -0
  779. package/src/plugins/core/prd/components/share/share-nav-bar.tsx +72 -0
  780. package/src/plugins/core/prd/components/share/share-password-gate.tsx +90 -0
  781. package/src/plugins/core/prd/components/share/share-prototype-view.tsx +92 -0
  782. package/src/plugins/core/prd/components/share/share-review-panel.tsx +93 -0
  783. package/src/plugins/core/prd/components/share/share-sse-listener.tsx +76 -0
  784. package/src/plugins/core/prd/components/share/share-theme-toggle.tsx +57 -0
  785. package/src/plugins/core/prd/components/share/version-share-client.tsx +123 -0
  786. package/src/plugins/core/prd/components/tiptap/node/paragraph-node/paragraph-node.scss +286 -0
  787. package/src/plugins/core/prd/icon-picker-bridge.ts +41 -0
  788. package/src/plugins/core/prd/index.ts +40 -0
  789. package/src/plugins/core/prd/lib/ai/annotation-prompt.ts +66 -0
  790. package/src/plugins/core/prd/lib/restore-version.ts +53 -0
  791. package/src/plugins/core/prd/pages/prd-detail-page.tsx +88 -0
  792. package/src/plugins/core/prd/pages/prd-layout.tsx +28 -0
  793. package/src/plugins/core/prd/pages/share-prd-page.tsx +69 -0
  794. package/src/plugins/core/prd/prd-nav.tsx +92 -0
  795. package/src/plugins/core/prd/routes.tsx +103 -0
  796. package/src/plugins/core/prd/serverFns/ai/agent-conversations.ts +124 -0
  797. package/src/plugins/core/prd/serverFns/ai/fill-annotation.ts +80 -0
  798. package/src/plugins/core/prd/serverFns/ai/generate-prototype.ts +121 -0
  799. package/src/plugins/core/prd/serverFns/ai/providers.ts +528 -0
  800. package/src/plugins/core/prd/serverFns/comments.ts +109 -0
  801. package/src/plugins/core/prd/serverFns/components.ts +37 -0
  802. package/src/plugins/core/prd/serverFns/detail.ts +49 -0
  803. package/src/plugins/core/prd/serverFns/index.ts +14 -0
  804. package/src/plugins/core/prd/serverFns/page-versions.ts +137 -0
  805. package/src/plugins/core/prd/serverFns/pages.ts +164 -0
  806. package/src/plugins/core/prd/serverFns/prd.ts +164 -0
  807. package/src/plugins/core/prd/serverFns/reviews.ts +87 -0
  808. package/src/plugins/core/prd/serverFns/share/verify-password.ts +75 -0
  809. package/src/plugins/core/prd/serverFns/share/versions.ts +112 -0
  810. package/src/plugins/core/prd/serverFns/share.ts +119 -0
  811. package/src/plugins/core/prd/serverFns/shares-password.ts +189 -0
  812. package/src/plugins/core/prd/serverFns/shares.ts +336 -0
  813. package/src/plugins/core/prd/serverFns/versions.ts +277 -0
  814. package/src/plugins/core/prd/ui.ts +24 -0
  815. package/src/plugins/core/server/api-key-cipher.ts +61 -0
  816. package/src/plugins/core/server/rate-limit.ts +111 -0
  817. package/src/plugins/core/tags/__tests__/tags.test.ts +367 -0
  818. package/src/plugins/core/tags/index.ts +39 -0
  819. package/src/plugins/core/tags/nav-tag.tsx +137 -0
  820. package/src/plugins/core/tags/pages/tag-detail-page.tsx +31 -0
  821. package/src/plugins/core/tags/pages/tag-settings-page.tsx +34 -0
  822. package/src/plugins/core/tags/pages/tags-index-page.tsx +34 -0
  823. package/src/plugins/core/tags/routes.ts +65 -0
  824. package/src/plugins/core/tags/serverFns.ts +122 -0
  825. package/src/plugins/core/tags/tag-badge.tsx +57 -0
  826. package/src/plugins/core/tags/tag-color-classes.ts +61 -0
  827. package/src/plugins/core/tags/tag-color-picker.tsx +56 -0
  828. package/src/plugins/core/tags/tag-components-index.ts +23 -0
  829. package/src/plugins/core/tags/tag-manager.tsx +212 -0
  830. package/src/plugins/core/tags/tag-selector.tsx +169 -0
  831. package/src/plugins/core/tags/tags-collection.ts +40 -0
  832. package/src/plugins/core/tags/ui.ts +24 -0
  833. package/src/plugins/plugins.gen.ts +3 -3
  834. package/src/plugins/ui.gen.ts +1 -1
  835. package/src/providers/index.tsx +3 -3
  836. package/src/providers/timezone-provider.tsx +1 -1
  837. package/src/router.tsx +2 -2
  838. package/src/routes/__root.tsx +2 -2
  839. package/src/routes/_login/schemas/-auth.ts +1 -1
  840. package/src/routes/_nav/changelog/route.lazy.tsx +1 -1
  841. package/src/routes/_nav/changelog/route.tsx +1 -1
  842. package/src/routes/_nav/dashboard/-components/avatar-group.tsx +2 -2
  843. package/src/routes/_nav/dashboard/route.tsx +1 -1
  844. package/src/routes/_nav/inspiration/route.tsx +1 -1
  845. package/src/routes/_nav/notifications/route.tsx +1 -1
  846. package/src/routes/_nav/prd/$id/route.tsx +1 -1
  847. package/src/routes/_nav/prd/index.tsx +1 -1
  848. package/src/routes/_nav/prd/route.tsx +1 -1
  849. package/src/routes/_nav/projects/$projectId/index.lazy.tsx +1 -1
  850. package/src/routes/_nav/route.tsx +1 -1
  851. package/src/routes/_nav/settings/account/route.tsx +1 -1
  852. package/src/routes/_nav/settings/route.tsx +1 -1
  853. package/src/routes/_nav/tags/$id/route.tsx +1 -1
  854. package/src/routes/_nav/tags/index.tsx +1 -1
  855. package/src/routes/_nav/tags/route.tsx +1 -1
  856. package/src/routes/_nav/tags/settings/route.tsx +1 -1
  857. package/src/routes/api/auth/desktop-callback.ts +1 -1
  858. package/src/routes/api/chat.ts +2 -2
  859. package/src/routes/api/notifications/stream.ts +1 -1
  860. package/src/routes/api/story-ai.ts +1 -1
  861. package/src/routes/invite/$token/route.lazy.tsx +1 -1
  862. package/src/routes/server.ai-stream.ts +1 -1
  863. package/src/routes/share/$versionId/route.lazy.tsx +1 -1
  864. package/src/routes/share/prd/$prdId/route.tsx +1 -1
  865. package/src/server/__tests__/agent-client-graph.test.ts +8 -5
  866. package/src/server/__tests__/resource-registry.test.ts +1 -1
  867. package/src/server/ai-gateway/__tests__/conformance.test.ts +43 -0
  868. package/src/server/ai-gateway/__tests__/embedding-request.test.ts +84 -0
  869. package/src/server/ai-gateway/__tests__/embedding.test.ts +42 -0
  870. package/src/server/ai-gateway/__tests__/interrupt-store.test.ts +539 -0
  871. package/src/server/ai-gateway/__tests__/knowledge-scope.test.ts +207 -0
  872. package/src/server/ai-gateway/__tests__/label-suggest.test.ts +113 -0
  873. package/src/server/ai-gateway/__tests__/message-store.test.ts +197 -0
  874. package/src/server/ai-gateway/__tests__/rerank.test.ts +128 -0
  875. package/src/server/ai-gateway/__tests__/run-store.test.ts +378 -0
  876. package/src/server/ai-gateway/__tests__/runtime.test.ts +58 -0
  877. package/src/server/ai-gateway/__tests__/story-prompt.test.ts +34 -0
  878. package/src/server/ai-gateway/__tests__/tools-select.test.ts +103 -0
  879. package/src/server/ai-gateway/__tests__/unified-router.test.ts +124 -0
  880. package/src/server/ai-gateway/adapter.ts +255 -0
  881. package/src/server/ai-gateway/chat-handler.ts +238 -0
  882. package/src/server/ai-gateway/chat-stream-builder.ts +91 -0
  883. package/src/server/ai-gateway/connectivity-check.ts +148 -0
  884. package/src/server/ai-gateway/embedding.ts +67 -0
  885. package/src/server/ai-gateway/index.ts +111 -0
  886. package/src/server/ai-gateway/label-suggest.ts +126 -0
  887. package/src/server/ai-gateway/middlewares/index.ts +19 -0
  888. package/src/server/ai-gateway/middlewares/logger.ts +35 -0
  889. package/src/server/ai-gateway/middlewares/rate-limit.ts +40 -0
  890. package/src/server/ai-gateway/model-fetch.ts +168 -0
  891. package/src/server/ai-gateway/persistence/index.ts +36 -0
  892. package/src/server/ai-gateway/persistence/interrupt-store.ts +154 -0
  893. package/src/server/ai-gateway/persistence/message-store.ts +124 -0
  894. package/src/server/ai-gateway/persistence/run-store.ts +120 -0
  895. package/src/server/ai-gateway/ports.ts +71 -0
  896. package/src/server/ai-gateway/pro-services.ts +25 -0
  897. package/src/server/ai-gateway/provider-router.ts +238 -0
  898. package/src/server/ai-gateway/provider-tools.ts +42 -0
  899. package/src/server/ai-gateway/rerank.ts +63 -0
  900. package/src/server/ai-gateway/runtime.ts +42 -0
  901. package/src/server/ai-gateway/story-handler.ts +171 -0
  902. package/src/server/ai-gateway/story-prompt.ts +68 -0
  903. package/src/server/ai-gateway/tools/definitions.ts +99 -0
  904. package/src/server/ai-gateway/tools/delete-project.ts +39 -0
  905. package/src/server/ai-gateway/tools/index.ts +31 -0
  906. package/src/server/ai-gateway/tools/knowledge-scope.ts +56 -0
  907. package/src/server/ai-gateway/tools/select.ts +53 -0
  908. package/src/server/ai-gateway/tools/server.ts +198 -0
  909. package/src/server/ai-gateway/tools.ts +7 -0
  910. package/src/server/ai-gateway/types.ts +42 -0
  911. package/src/server/ai-gateway/unified-router.ts +180 -0
  912. package/src/server/ai-ports.ts +2 -2
  913. package/src/server/entitlements-token-client.ts +1 -1
  914. package/src/server/entitlements-token.ts +1 -1
  915. package/src/server/entitlements.ts +1 -1
  916. package/src/server/middlewares/rate-limit-server-fn.ts +1 -1
  917. package/src/server/notifications/event-bus.ts +1 -1
  918. package/src/server/notifications/notification-service.ts +3 -3
  919. package/src/server/resources.ts +1 -1
  920. package/src/server/serverFns/__tests__/knowledge-index.test.ts +1 -1
  921. package/src/server/serverFns/agents/agent-crud.ts +1 -1
  922. package/src/server/serverFns/agents/resolve-overrides.ts +2 -2
  923. package/src/server/serverFns/ai/agent-conversations.ts +1 -1
  924. package/src/server/serverFns/ai/fill-annotation.ts +1 -1
  925. package/src/server/serverFns/ai/generate-prototype.ts +1 -1
  926. package/src/server/serverFns/ai/providers.ts +1 -1
  927. package/src/server/serverFns/auth/session.ts +1 -1
  928. package/src/server/serverFns/billing.ts +1 -1
  929. package/src/server/serverFns/changelog/fetch.ts +1 -1
  930. package/src/server/serverFns/comments.ts +1 -1
  931. package/src/server/serverFns/components.ts +1 -1
  932. package/src/server/serverFns/knowledge-index-utils.ts +1 -1
  933. package/src/server/serverFns/locale.ts +1 -1
  934. package/src/server/serverFns/notifications.ts +1 -1
  935. package/src/server/serverFns/reviews.ts +1 -1
  936. package/src/server/serverFns/share/verify-password.ts +1 -1
  937. package/src/server/serverFns/share/versions.ts +1 -1
  938. package/src/server/serverFns/story/__tests__/label-suggest-fn.test.ts +2 -2
  939. package/src/server/serverFns/story/story-crud/label-suggest-core.ts +1 -1
  940. package/src/server/serverFns/translation.ts +1 -1
  941. package/src/shared/ai-cli/adapter.ts +59 -0
  942. package/src/shared/ai-cli/cli-detector.ts +64 -0
  943. package/src/start.ts +1 -1
  944. package/vite.shared.ts +1 -5
  945. package/src/lib/i18n/client.ts +0 -1
  946. package/src/lib/i18n/config.ts +0 -1
  947. package/src/lib/i18n/detect.ts +0 -1
  948. package/src/lib/i18n/server.ts +0 -1
  949. package/src/lib/i18n/types.ts +0 -1
@@ -0,0 +1,1658 @@
1
+ {
2
+ "type": "doc",
3
+ "content": [
4
+ {
5
+ "type": "heading",
6
+ "attrs": {
7
+ "id": "8e84d1f3-8d16-4370-94e7-46252c8428d8",
8
+ "textAlign": null,
9
+ "backgroundColor": null,
10
+ "nodeTextAlign": null,
11
+ "nodeVerticalAlign": null,
12
+ "data-toc-id": "8e84d1f3-8d16-4370-94e7-46252c8428d8",
13
+ "level": 1
14
+ },
15
+ "content": [
16
+ {
17
+ "type": "text",
18
+ "text": "Welcome to Notion-like template "
19
+ },
20
+ {
21
+ "type": "emoji",
22
+ "attrs": {
23
+ "name": "sparkles"
24
+ }
25
+ }
26
+ ]
27
+ },
28
+ {
29
+ "type": "blockquote",
30
+ "attrs": {
31
+ "id": "efb65cf1-6283-4386-ba70-292a2e0f448a",
32
+ "backgroundColor": null,
33
+ "nodeTextAlign": null,
34
+ "nodeVerticalAlign": null
35
+ },
36
+ "content": [
37
+ {
38
+ "type": "paragraph",
39
+ "attrs": {
40
+ "id": "888ea526-525b-4911-bf2e-e6d9bc500185",
41
+ "textAlign": null,
42
+ "backgroundColor": null,
43
+ "nodeTextAlign": null,
44
+ "nodeVerticalAlign": null
45
+ },
46
+ "content": [
47
+ {
48
+ "type": "emoji",
49
+ "attrs": {
50
+ "name": "love_letter"
51
+ }
52
+ },
53
+ {
54
+ "type": "text",
55
+ "marks": [
56
+ {
57
+ "type": "bold"
58
+ }
59
+ ],
60
+ "text": " Invite your colleagues to make this fun! "
61
+ },
62
+ {
63
+ "type": "hardBreak"
64
+ },
65
+ {
66
+ "type": "text",
67
+ "text": "Just copy the URL from your browser and share it – everyone with the link can join in and collaborate in real time."
68
+ }
69
+ ]
70
+ }
71
+ ]
72
+ },
73
+ {
74
+ "type": "paragraph",
75
+ "attrs": {
76
+ "id": "70447a3a-b34b-4b71-975d-d70ba7376c13",
77
+ "textAlign": null,
78
+ "backgroundColor": null,
79
+ "nodeTextAlign": null,
80
+ "nodeVerticalAlign": null
81
+ },
82
+ "content": [
83
+ {
84
+ "type": "text",
85
+ "text": "Start writing your thoughts here … "
86
+ },
87
+ {
88
+ "type": "emoji",
89
+ "attrs": {
90
+ "name": "pencil"
91
+ }
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": " "
96
+ },
97
+ {
98
+ "type": "hardBreak"
99
+ },
100
+ {
101
+ "type": "text",
102
+ "text": "Try some "
103
+ },
104
+ {
105
+ "type": "text",
106
+ "marks": [
107
+ {
108
+ "type": "bold"
109
+ }
110
+ ],
111
+ "text": "Markdown:"
112
+ }
113
+ ]
114
+ },
115
+ {
116
+ "type": "codeBlock",
117
+ "attrs": {
118
+ "id": "81b9bf40-8e99-47d4-a5a8-5697f388c5a4",
119
+ "language": null
120
+ },
121
+ "content": [
122
+ {
123
+ "type": "text",
124
+ "text": "# Headings\n- Lists\n> Quotes\n`Inline code`"
125
+ }
126
+ ]
127
+ },
128
+ {
129
+ "type": "paragraph",
130
+ "attrs": {
131
+ "id": "02b24e83-889d-46a1-a617-b6274eeacb25",
132
+ "textAlign": null,
133
+ "backgroundColor": null,
134
+ "nodeTextAlign": null,
135
+ "nodeVerticalAlign": null
136
+ },
137
+ "content": [
138
+ {
139
+ "type": "text",
140
+ "text": "Or type "
141
+ },
142
+ {
143
+ "type": "text",
144
+ "marks": [
145
+ {
146
+ "type": "code"
147
+ }
148
+ ],
149
+ "text": "/"
150
+ },
151
+ {
152
+ "type": "text",
153
+ "text": " to open the command menu and discover blocks, formatting, and hidden features."
154
+ }
155
+ ]
156
+ },
157
+ {
158
+ "type": "horizontalRule"
159
+ },
160
+ {
161
+ "type": "heading",
162
+ "attrs": {
163
+ "id": "9a020862-49f3-43e0-a697-202b41566a0c",
164
+ "textAlign": null,
165
+ "backgroundColor": null,
166
+ "nodeTextAlign": null,
167
+ "nodeVerticalAlign": null,
168
+ "data-toc-id": "9a020862-49f3-43e0-a697-202b41566a0c",
169
+ "level": 1
170
+ },
171
+ "content": [
172
+ {
173
+ "type": "text",
174
+ "text": "Make it yours"
175
+ }
176
+ ]
177
+ },
178
+ {
179
+ "type": "bulletList",
180
+ "attrs": {
181
+ "id": "a13c0ca7-0402-40b1-ab87-f87a649a1edf",
182
+ "backgroundColor": null
183
+ },
184
+ "content": [
185
+ {
186
+ "type": "listItem",
187
+ "content": [
188
+ {
189
+ "type": "paragraph",
190
+ "attrs": {
191
+ "id": "de2491d7-c6a1-4283-94b1-cd2a8c0d81f1",
192
+ "textAlign": null,
193
+ "backgroundColor": null,
194
+ "nodeTextAlign": null,
195
+ "nodeVerticalAlign": null
196
+ },
197
+ "content": [
198
+ {
199
+ "type": "text",
200
+ "marks": [
201
+ {
202
+ "type": "bold"
203
+ }
204
+ ],
205
+ "text": "Select text"
206
+ },
207
+ {
208
+ "type": "text",
209
+ "text": " to reveal a floating toolbar: "
210
+ },
211
+ {
212
+ "type": "hardBreak"
213
+ },
214
+ {
215
+ "type": "text",
216
+ "marks": [
217
+ {
218
+ "type": "italic"
219
+ }
220
+ ],
221
+ "text": "Quickly italicize, "
222
+ },
223
+ {
224
+ "type": "text",
225
+ "marks": [
226
+ {
227
+ "type": "textStyle",
228
+ "attrs": {
229
+ "color": "var(--tt-color-text-blue)"
230
+ }
231
+ },
232
+ {
233
+ "type": "italic"
234
+ }
235
+ ],
236
+ "text": "color"
237
+ },
238
+ {
239
+ "type": "text",
240
+ "marks": [
241
+ {
242
+ "type": "italic"
243
+ }
244
+ ],
245
+ "text": ", add "
246
+ },
247
+ {
248
+ "type": "text",
249
+ "marks": [
250
+ {
251
+ "type": "link",
252
+ "attrs": {
253
+ "href": "https://tiptap.dev/docs/ui-components/getting-started/overview",
254
+ "target": "_blank",
255
+ "rel": "noopener noreferrer nofollow",
256
+ "class": null
257
+ }
258
+ },
259
+ {
260
+ "type": "italic"
261
+ }
262
+ ],
263
+ "text": "links"
264
+ },
265
+ {
266
+ "type": "text",
267
+ "marks": [
268
+ {
269
+ "type": "italic"
270
+ }
271
+ ],
272
+ "text": ", or "
273
+ },
274
+ {
275
+ "type": "text",
276
+ "marks": [
277
+ {
278
+ "type": "italic"
279
+ },
280
+ {
281
+ "type": "highlight",
282
+ "attrs": {
283
+ "color": "var(--tt-color-highlight-green)"
284
+ }
285
+ }
286
+ ],
287
+ "text": "highlight text"
288
+ },
289
+ {
290
+ "type": "text",
291
+ "marks": [
292
+ {
293
+ "type": "italic"
294
+ }
295
+ ],
296
+ "text": " just as you're used to.."
297
+ }
298
+ ]
299
+ }
300
+ ]
301
+ },
302
+ {
303
+ "type": "listItem",
304
+ "content": [
305
+ {
306
+ "type": "paragraph",
307
+ "attrs": {
308
+ "id": "10d47502-caac-4074-99e5-717d56b6c056",
309
+ "textAlign": null,
310
+ "backgroundColor": null,
311
+ "nodeTextAlign": null,
312
+ "nodeVerticalAlign": null
313
+ },
314
+ "content": [
315
+ {
316
+ "type": "text",
317
+ "marks": [
318
+ {
319
+ "type": "bold"
320
+ }
321
+ ],
322
+ "text": "Hover near any block"
323
+ },
324
+ {
325
+ "type": "text",
326
+ "text": " to reveal the context handle "
327
+ },
328
+ {
329
+ "type": "text",
330
+ "marks": [
331
+ {
332
+ "type": "code"
333
+ }
334
+ ],
335
+ "text": "⠿"
336
+ },
337
+ {
338
+ "type": "hardBreak"
339
+ },
340
+ {
341
+ "type": "text",
342
+ "marks": [
343
+ {
344
+ "type": "italic"
345
+ }
346
+ ],
347
+ "text": "Click to open the context menu (duplicate, delete, reset formatting, and more) or simply drag to move your content anywhere you like!"
348
+ }
349
+ ]
350
+ }
351
+ ]
352
+ },
353
+ {
354
+ "type": "listItem",
355
+ "content": [
356
+ {
357
+ "type": "paragraph",
358
+ "attrs": {
359
+ "id": "c69fb59a-c96f-4a98-96e5-9d8fc1fbbc20",
360
+ "textAlign": null,
361
+ "backgroundColor": null,
362
+ "nodeTextAlign": null,
363
+ "nodeVerticalAlign": null
364
+ },
365
+ "content": [
366
+ {
367
+ "type": "text",
368
+ "text": "Mention teammates with "
369
+ },
370
+ {
371
+ "type": "text",
372
+ "marks": [
373
+ {
374
+ "type": "code"
375
+ }
376
+ ],
377
+ "text": "@"
378
+ },
379
+ {
380
+ "type": "text",
381
+ "text": " and add some fun with emoji "
382
+ },
383
+ {
384
+ "type": "text",
385
+ "marks": [
386
+ {
387
+ "type": "code"
388
+ }
389
+ ],
390
+ "text": ":"
391
+ },
392
+ {
393
+ "type": "text",
394
+ "text": " "
395
+ },
396
+ {
397
+ "type": "emoji",
398
+ "attrs": {
399
+ "name": "hooray"
400
+ }
401
+ }
402
+ ]
403
+ }
404
+ ]
405
+ },
406
+ {
407
+ "type": "listItem",
408
+ "content": [
409
+ {
410
+ "type": "paragraph",
411
+ "attrs": {
412
+ "id": "ddd83b89-a2e4-481a-ab94-20583b471eee",
413
+ "textAlign": null,
414
+ "backgroundColor": null,
415
+ "nodeTextAlign": null,
416
+ "nodeVerticalAlign": null
417
+ },
418
+ "content": [
419
+ {
420
+ "type": "text",
421
+ "text": "Switch between "
422
+ },
423
+ {
424
+ "type": "emoji",
425
+ "attrs": {
426
+ "name": "sun"
427
+ }
428
+ },
429
+ {
430
+ "type": "text",
431
+ "text": " light and "
432
+ },
433
+ {
434
+ "type": "emoji",
435
+ "attrs": {
436
+ "name": "new_moon"
437
+ }
438
+ },
439
+ {
440
+ "type": "text",
441
+ "text": " dark mode – whatever fits your mood."
442
+ }
443
+ ]
444
+ }
445
+ ]
446
+ }
447
+ ]
448
+ },
449
+ {
450
+ "type": "image",
451
+ "attrs": {
452
+ "src": "/images/tiptap-ui-placeholder-image.jpg",
453
+ "alt": "Screenshot 2025-02-23 at 19.22.27",
454
+ "title": "Screenshot 2025-02-23 at 19.22.27",
455
+ "width": null,
456
+ "height": null,
457
+ "data-align": null,
458
+ "showCaption": false
459
+ }
460
+ },
461
+ {
462
+ "type": "blockquote",
463
+ "attrs": {
464
+ "id": "72652f50-837d-4ec8-9697-3ac7ec9c4877",
465
+ "backgroundColor": null,
466
+ "nodeTextAlign": null,
467
+ "nodeVerticalAlign": null
468
+ },
469
+ "content": [
470
+ {
471
+ "type": "paragraph",
472
+ "attrs": {
473
+ "id": "59129237-cbf5-4305-955c-017821f2ac29",
474
+ "textAlign": null,
475
+ "backgroundColor": null,
476
+ "nodeTextAlign": null,
477
+ "nodeVerticalAlign": null
478
+ },
479
+ "content": [
480
+ {
481
+ "type": "text",
482
+ "marks": [
483
+ {
484
+ "type": "bold"
485
+ }
486
+ ],
487
+ "text": "Need a spark? "
488
+ },
489
+ {
490
+ "type": "emoji",
491
+ "attrs": {
492
+ "name": "sparkles"
493
+ }
494
+ },
495
+ {
496
+ "type": "text",
497
+ "marks": [
498
+ {
499
+ "type": "bold"
500
+ }
501
+ ],
502
+ "text": " "
503
+ },
504
+ {
505
+ "type": "hardBreak"
506
+ },
507
+ {
508
+ "type": "text",
509
+ "text": "Summon the AI Assistant with "
510
+ },
511
+ {
512
+ "type": "text",
513
+ "marks": [
514
+ {
515
+ "type": "code"
516
+ }
517
+ ],
518
+ "text": "/ask ai"
519
+ },
520
+ {
521
+ "type": "text",
522
+ "text": " from the context menu, or by selecting text and choosing "
523
+ },
524
+ {
525
+ "type": "text",
526
+ "marks": [
527
+ {
528
+ "type": "code"
529
+ }
530
+ ],
531
+ "text": "Improve"
532
+ },
533
+ {
534
+ "type": "text",
535
+ "text": "."
536
+ },
537
+ {
538
+ "type": "hardBreak"
539
+ },
540
+ {
541
+ "type": "text",
542
+ "text": "Polish your writing, or try a ready-made prompt—the AI menu appears with helpful suggestions."
543
+ }
544
+ ]
545
+ }
546
+ ]
547
+ },
548
+ {
549
+ "type": "heading",
550
+ "attrs": {
551
+ "id": "c76b9241-350c-4c58-a37f-0d5784ea4f50",
552
+ "textAlign": null,
553
+ "backgroundColor": null,
554
+ "nodeTextAlign": null,
555
+ "nodeVerticalAlign": null,
556
+ "data-toc-id": "c76b9241-350c-4c58-a37f-0d5784ea4f50",
557
+ "level": 3
558
+ },
559
+ "content": [
560
+ {
561
+ "type": "emoji",
562
+ "attrs": {
563
+ "name": "white_check_mark"
564
+ }
565
+ },
566
+ {
567
+ "type": "text",
568
+ "marks": [
569
+ {
570
+ "type": "bold"
571
+ }
572
+ ],
573
+ "text": " "
574
+ },
575
+ {
576
+ "type": "text",
577
+ "text": "Interactive Tables Included"
578
+ }
579
+ ]
580
+ },
581
+ {
582
+ "type": "paragraph",
583
+ "attrs": {
584
+ "id": "6f673f04-0c65-4e60-8ff6-ec4e1f32f72d",
585
+ "textAlign": null,
586
+ "backgroundColor": null,
587
+ "nodeTextAlign": null,
588
+ "nodeVerticalAlign": null
589
+ },
590
+ "content": [
591
+ {
592
+ "type": "text",
593
+ "text": "This template comes with the full-featured table component. Click row or column handles for sorting and formatting, use the extend buttons (+ icons) to add rows or columns, drag and drop to reorder rows, and select cells to format or merge content."
594
+ }
595
+ ]
596
+ },
597
+ {
598
+ "type": "table",
599
+ "attrs": {
600
+ "id": "df3debd5-fd7c-4df4-a258-9e13a6eb0d8c"
601
+ },
602
+ "content": [
603
+ {
604
+ "type": "tableRow",
605
+ "content": [
606
+ {
607
+ "type": "tableHeader",
608
+ "attrs": {
609
+ "backgroundColor": null,
610
+ "nodeTextAlign": null,
611
+ "nodeVerticalAlign": null,
612
+ "colspan": 1,
613
+ "rowspan": 1,
614
+ "colwidth": [154]
615
+ },
616
+ "content": [
617
+ {
618
+ "type": "paragraph",
619
+ "attrs": {
620
+ "id": "3d4d8056-5093-48cc-b6f7-4ef0802601f3",
621
+ "textAlign": null,
622
+ "backgroundColor": null,
623
+ "nodeTextAlign": null,
624
+ "nodeVerticalAlign": null
625
+ },
626
+ "content": [
627
+ {
628
+ "type": "text",
629
+ "text": "Name"
630
+ }
631
+ ]
632
+ }
633
+ ]
634
+ },
635
+ {
636
+ "type": "tableHeader",
637
+ "attrs": {
638
+ "backgroundColor": null,
639
+ "nodeTextAlign": null,
640
+ "nodeVerticalAlign": null,
641
+ "colspan": 1,
642
+ "rowspan": 1,
643
+ "colwidth": [185]
644
+ },
645
+ "content": [
646
+ {
647
+ "type": "paragraph",
648
+ "attrs": {
649
+ "id": "c9f91f47-c58d-4f2a-9c0a-18f58b92e397",
650
+ "textAlign": null,
651
+ "backgroundColor": null,
652
+ "nodeTextAlign": null,
653
+ "nodeVerticalAlign": null
654
+ },
655
+ "content": [
656
+ {
657
+ "type": "text",
658
+ "text": "Role"
659
+ }
660
+ ]
661
+ }
662
+ ]
663
+ },
664
+ {
665
+ "type": "tableHeader",
666
+ "attrs": {
667
+ "backgroundColor": null,
668
+ "nodeTextAlign": null,
669
+ "nodeVerticalAlign": null,
670
+ "colspan": 1,
671
+ "rowspan": 1,
672
+ "colwidth": [154]
673
+ },
674
+ "content": [
675
+ {
676
+ "type": "paragraph",
677
+ "attrs": {
678
+ "id": "508903f8-3bac-4eb1-a41e-bf83794a15e1",
679
+ "textAlign": null,
680
+ "backgroundColor": null,
681
+ "nodeTextAlign": null,
682
+ "nodeVerticalAlign": null
683
+ },
684
+ "content": [
685
+ {
686
+ "type": "text",
687
+ "text": "Department"
688
+ }
689
+ ]
690
+ }
691
+ ]
692
+ },
693
+ {
694
+ "type": "tableHeader",
695
+ "attrs": {
696
+ "backgroundColor": null,
697
+ "nodeTextAlign": null,
698
+ "nodeVerticalAlign": null,
699
+ "colspan": 1,
700
+ "rowspan": 1,
701
+ "colwidth": [156]
702
+ },
703
+ "content": [
704
+ {
705
+ "type": "paragraph",
706
+ "attrs": {
707
+ "id": "52d46d31-1885-41d9-922e-18deec2c3c58",
708
+ "textAlign": null,
709
+ "backgroundColor": null,
710
+ "nodeTextAlign": null,
711
+ "nodeVerticalAlign": null
712
+ },
713
+ "content": [
714
+ {
715
+ "type": "text",
716
+ "text": "Location"
717
+ }
718
+ ]
719
+ }
720
+ ]
721
+ }
722
+ ]
723
+ },
724
+ {
725
+ "type": "tableRow",
726
+ "content": [
727
+ {
728
+ "type": "tableCell",
729
+ "attrs": {
730
+ "backgroundColor": null,
731
+ "nodeTextAlign": null,
732
+ "nodeVerticalAlign": null,
733
+ "colspan": 1,
734
+ "rowspan": 1,
735
+ "colwidth": [154]
736
+ },
737
+ "content": [
738
+ {
739
+ "type": "paragraph",
740
+ "attrs": {
741
+ "id": "de6a13d1-3cfc-4922-877b-3c00f690e5c5",
742
+ "textAlign": null,
743
+ "backgroundColor": null,
744
+ "nodeTextAlign": null,
745
+ "nodeVerticalAlign": null
746
+ },
747
+ "content": [
748
+ {
749
+ "type": "text",
750
+ "text": "Alice Johnson"
751
+ }
752
+ ]
753
+ }
754
+ ]
755
+ },
756
+ {
757
+ "type": "tableCell",
758
+ "attrs": {
759
+ "backgroundColor": null,
760
+ "nodeTextAlign": null,
761
+ "nodeVerticalAlign": null,
762
+ "colspan": 1,
763
+ "rowspan": 1,
764
+ "colwidth": [185]
765
+ },
766
+ "content": [
767
+ {
768
+ "type": "paragraph",
769
+ "attrs": {
770
+ "id": "0140a353-f1ac-4e85-a009-bc1b1bd21c98",
771
+ "textAlign": null,
772
+ "backgroundColor": null,
773
+ "nodeTextAlign": null,
774
+ "nodeVerticalAlign": null
775
+ },
776
+ "content": [
777
+ {
778
+ "type": "text",
779
+ "text": "Senior Developer"
780
+ }
781
+ ]
782
+ }
783
+ ]
784
+ },
785
+ {
786
+ "type": "tableCell",
787
+ "attrs": {
788
+ "backgroundColor": null,
789
+ "nodeTextAlign": null,
790
+ "nodeVerticalAlign": null,
791
+ "colspan": 1,
792
+ "rowspan": 1,
793
+ "colwidth": [154]
794
+ },
795
+ "content": [
796
+ {
797
+ "type": "paragraph",
798
+ "attrs": {
799
+ "id": "c57d93f0-7ba7-4622-b126-b6bc982040a8",
800
+ "textAlign": null,
801
+ "backgroundColor": null,
802
+ "nodeTextAlign": null,
803
+ "nodeVerticalAlign": null
804
+ },
805
+ "content": [
806
+ {
807
+ "type": "text",
808
+ "text": "Engineering"
809
+ }
810
+ ]
811
+ }
812
+ ]
813
+ },
814
+ {
815
+ "type": "tableCell",
816
+ "attrs": {
817
+ "backgroundColor": null,
818
+ "nodeTextAlign": null,
819
+ "nodeVerticalAlign": null,
820
+ "colspan": 1,
821
+ "rowspan": 1,
822
+ "colwidth": [156]
823
+ },
824
+ "content": [
825
+ {
826
+ "type": "paragraph",
827
+ "attrs": {
828
+ "id": "c0a808ab-084a-4bfb-96e1-22ecb66fbd85",
829
+ "textAlign": null,
830
+ "backgroundColor": null,
831
+ "nodeTextAlign": null,
832
+ "nodeVerticalAlign": null
833
+ },
834
+ "content": [
835
+ {
836
+ "type": "text",
837
+ "text": "San Francisco"
838
+ }
839
+ ]
840
+ }
841
+ ]
842
+ }
843
+ ]
844
+ },
845
+ {
846
+ "type": "tableRow",
847
+ "content": [
848
+ {
849
+ "type": "tableCell",
850
+ "attrs": {
851
+ "backgroundColor": null,
852
+ "nodeTextAlign": null,
853
+ "nodeVerticalAlign": null,
854
+ "colspan": 1,
855
+ "rowspan": 1,
856
+ "colwidth": [154]
857
+ },
858
+ "content": [
859
+ {
860
+ "type": "paragraph",
861
+ "attrs": {
862
+ "id": "7ee5a5fb-5345-4c1c-9ba0-45f70a8a886c",
863
+ "textAlign": null,
864
+ "backgroundColor": null,
865
+ "nodeTextAlign": null,
866
+ "nodeVerticalAlign": null
867
+ },
868
+ "content": [
869
+ {
870
+ "type": "text",
871
+ "text": "Bob Smith"
872
+ }
873
+ ]
874
+ }
875
+ ]
876
+ },
877
+ {
878
+ "type": "tableCell",
879
+ "attrs": {
880
+ "backgroundColor": null,
881
+ "nodeTextAlign": null,
882
+ "nodeVerticalAlign": null,
883
+ "colspan": 1,
884
+ "rowspan": 1,
885
+ "colwidth": [185]
886
+ },
887
+ "content": [
888
+ {
889
+ "type": "paragraph",
890
+ "attrs": {
891
+ "id": "dcfdb462-a1d1-4bca-b15f-ccc0c841e296",
892
+ "textAlign": null,
893
+ "backgroundColor": null,
894
+ "nodeTextAlign": null,
895
+ "nodeVerticalAlign": null
896
+ },
897
+ "content": [
898
+ {
899
+ "type": "text",
900
+ "text": "Product Manager"
901
+ }
902
+ ]
903
+ }
904
+ ]
905
+ },
906
+ {
907
+ "type": "tableCell",
908
+ "attrs": {
909
+ "backgroundColor": null,
910
+ "nodeTextAlign": null,
911
+ "nodeVerticalAlign": null,
912
+ "colspan": 1,
913
+ "rowspan": 1,
914
+ "colwidth": [154]
915
+ },
916
+ "content": [
917
+ {
918
+ "type": "paragraph",
919
+ "attrs": {
920
+ "id": "c592e682-9f1f-46f5-98fb-9b2993c5dfa4",
921
+ "textAlign": null,
922
+ "backgroundColor": null,
923
+ "nodeTextAlign": null,
924
+ "nodeVerticalAlign": null
925
+ },
926
+ "content": [
927
+ {
928
+ "type": "text",
929
+ "text": "Product"
930
+ }
931
+ ]
932
+ }
933
+ ]
934
+ },
935
+ {
936
+ "type": "tableCell",
937
+ "attrs": {
938
+ "backgroundColor": null,
939
+ "nodeTextAlign": null,
940
+ "nodeVerticalAlign": null,
941
+ "colspan": 1,
942
+ "rowspan": 1,
943
+ "colwidth": [156]
944
+ },
945
+ "content": [
946
+ {
947
+ "type": "paragraph",
948
+ "attrs": {
949
+ "id": "9b009b8c-f5da-4bee-8f3d-a191e2bc8ed3",
950
+ "textAlign": null,
951
+ "backgroundColor": null,
952
+ "nodeTextAlign": null,
953
+ "nodeVerticalAlign": null
954
+ },
955
+ "content": [
956
+ {
957
+ "type": "text",
958
+ "text": "New York"
959
+ }
960
+ ]
961
+ }
962
+ ]
963
+ }
964
+ ]
965
+ },
966
+ {
967
+ "type": "tableRow",
968
+ "content": [
969
+ {
970
+ "type": "tableCell",
971
+ "attrs": {
972
+ "backgroundColor": null,
973
+ "nodeTextAlign": null,
974
+ "nodeVerticalAlign": null,
975
+ "colspan": 1,
976
+ "rowspan": 1,
977
+ "colwidth": [154]
978
+ },
979
+ "content": [
980
+ {
981
+ "type": "paragraph",
982
+ "attrs": {
983
+ "id": "36f7ae5a-47c3-4979-a716-7d20184ce9b5",
984
+ "textAlign": null,
985
+ "backgroundColor": null,
986
+ "nodeTextAlign": null,
987
+ "nodeVerticalAlign": null
988
+ },
989
+ "content": [
990
+ {
991
+ "type": "text",
992
+ "text": "Carol White"
993
+ }
994
+ ]
995
+ }
996
+ ]
997
+ },
998
+ {
999
+ "type": "tableCell",
1000
+ "attrs": {
1001
+ "backgroundColor": null,
1002
+ "nodeTextAlign": null,
1003
+ "nodeVerticalAlign": null,
1004
+ "colspan": 1,
1005
+ "rowspan": 1,
1006
+ "colwidth": [185]
1007
+ },
1008
+ "content": [
1009
+ {
1010
+ "type": "paragraph",
1011
+ "attrs": {
1012
+ "id": "a11f34c5-35b6-4d47-acce-0121e810bf65",
1013
+ "textAlign": null,
1014
+ "backgroundColor": null,
1015
+ "nodeTextAlign": null,
1016
+ "nodeVerticalAlign": null
1017
+ },
1018
+ "content": [
1019
+ {
1020
+ "type": "text",
1021
+ "text": "UX Designer"
1022
+ }
1023
+ ]
1024
+ }
1025
+ ]
1026
+ },
1027
+ {
1028
+ "type": "tableCell",
1029
+ "attrs": {
1030
+ "backgroundColor": null,
1031
+ "nodeTextAlign": null,
1032
+ "nodeVerticalAlign": null,
1033
+ "colspan": 1,
1034
+ "rowspan": 1,
1035
+ "colwidth": [154]
1036
+ },
1037
+ "content": [
1038
+ {
1039
+ "type": "paragraph",
1040
+ "attrs": {
1041
+ "id": "c2a2961c-1dbc-4347-ba07-ec082d90b641",
1042
+ "textAlign": null,
1043
+ "backgroundColor": null,
1044
+ "nodeTextAlign": null,
1045
+ "nodeVerticalAlign": null
1046
+ },
1047
+ "content": [
1048
+ {
1049
+ "type": "text",
1050
+ "text": "Design"
1051
+ }
1052
+ ]
1053
+ }
1054
+ ]
1055
+ },
1056
+ {
1057
+ "type": "tableCell",
1058
+ "attrs": {
1059
+ "backgroundColor": null,
1060
+ "nodeTextAlign": null,
1061
+ "nodeVerticalAlign": null,
1062
+ "colspan": 1,
1063
+ "rowspan": 1,
1064
+ "colwidth": [156]
1065
+ },
1066
+ "content": [
1067
+ {
1068
+ "type": "paragraph",
1069
+ "attrs": {
1070
+ "id": "2e5cb030-71d8-43c4-a40d-4f74b6ed908f",
1071
+ "textAlign": null,
1072
+ "backgroundColor": null,
1073
+ "nodeTextAlign": null,
1074
+ "nodeVerticalAlign": null
1075
+ },
1076
+ "content": [
1077
+ {
1078
+ "type": "text",
1079
+ "text": "London"
1080
+ }
1081
+ ]
1082
+ }
1083
+ ]
1084
+ }
1085
+ ]
1086
+ },
1087
+ {
1088
+ "type": "tableRow",
1089
+ "content": [
1090
+ {
1091
+ "type": "tableCell",
1092
+ "attrs": {
1093
+ "backgroundColor": null,
1094
+ "nodeTextAlign": null,
1095
+ "nodeVerticalAlign": null,
1096
+ "colspan": 1,
1097
+ "rowspan": 1,
1098
+ "colwidth": [154]
1099
+ },
1100
+ "content": [
1101
+ {
1102
+ "type": "paragraph",
1103
+ "attrs": {
1104
+ "id": "fe210fe3-ed90-4a7f-9999-71da605093e9",
1105
+ "textAlign": null,
1106
+ "backgroundColor": null,
1107
+ "nodeTextAlign": null,
1108
+ "nodeVerticalAlign": null
1109
+ },
1110
+ "content": [
1111
+ {
1112
+ "type": "text",
1113
+ "text": "David Chen"
1114
+ }
1115
+ ]
1116
+ }
1117
+ ]
1118
+ },
1119
+ {
1120
+ "type": "tableCell",
1121
+ "attrs": {
1122
+ "backgroundColor": null,
1123
+ "nodeTextAlign": null,
1124
+ "nodeVerticalAlign": null,
1125
+ "colspan": 1,
1126
+ "rowspan": 1,
1127
+ "colwidth": [185]
1128
+ },
1129
+ "content": [
1130
+ {
1131
+ "type": "paragraph",
1132
+ "attrs": {
1133
+ "id": "90dfe1be-dc5b-464e-b897-8687f7199e4e",
1134
+ "textAlign": null,
1135
+ "backgroundColor": null,
1136
+ "nodeTextAlign": null,
1137
+ "nodeVerticalAlign": null
1138
+ },
1139
+ "content": [
1140
+ {
1141
+ "type": "text",
1142
+ "text": "Data Analyst"
1143
+ }
1144
+ ]
1145
+ }
1146
+ ]
1147
+ },
1148
+ {
1149
+ "type": "tableCell",
1150
+ "attrs": {
1151
+ "backgroundColor": null,
1152
+ "nodeTextAlign": null,
1153
+ "nodeVerticalAlign": null,
1154
+ "colspan": 1,
1155
+ "rowspan": 1,
1156
+ "colwidth": [154]
1157
+ },
1158
+ "content": [
1159
+ {
1160
+ "type": "paragraph",
1161
+ "attrs": {
1162
+ "id": "3320699c-85cb-4108-abe7-fe5a4a04308a",
1163
+ "textAlign": null,
1164
+ "backgroundColor": null,
1165
+ "nodeTextAlign": null,
1166
+ "nodeVerticalAlign": null
1167
+ },
1168
+ "content": [
1169
+ {
1170
+ "type": "text",
1171
+ "text": "Analytics"
1172
+ }
1173
+ ]
1174
+ }
1175
+ ]
1176
+ },
1177
+ {
1178
+ "type": "tableCell",
1179
+ "attrs": {
1180
+ "backgroundColor": null,
1181
+ "nodeTextAlign": null,
1182
+ "nodeVerticalAlign": null,
1183
+ "colspan": 1,
1184
+ "rowspan": 1,
1185
+ "colwidth": [156]
1186
+ },
1187
+ "content": [
1188
+ {
1189
+ "type": "paragraph",
1190
+ "attrs": {
1191
+ "id": "4bd0e141-0e0b-4499-be6f-343c6350c2e7",
1192
+ "textAlign": null,
1193
+ "backgroundColor": null,
1194
+ "nodeTextAlign": null,
1195
+ "nodeVerticalAlign": null
1196
+ },
1197
+ "content": [
1198
+ {
1199
+ "type": "text",
1200
+ "text": "Remote"
1201
+ }
1202
+ ]
1203
+ }
1204
+ ]
1205
+ }
1206
+ ]
1207
+ }
1208
+ ]
1209
+ },
1210
+ {
1211
+ "type": "heading",
1212
+ "attrs": {
1213
+ "id": "6a90ecef-245d-4f75-9846-4fb16bb606ba",
1214
+ "textAlign": null,
1215
+ "backgroundColor": null,
1216
+ "nodeTextAlign": null,
1217
+ "nodeVerticalAlign": null,
1218
+ "data-toc-id": "6a90ecef-245d-4f75-9846-4fb16bb606ba",
1219
+ "level": 2
1220
+ },
1221
+ "content": [
1222
+ {
1223
+ "type": "text",
1224
+ "text": "Table of Content"
1225
+ }
1226
+ ]
1227
+ },
1228
+ {
1229
+ "type": "tocNode",
1230
+ "attrs": {
1231
+ "id": "6efde07c-6858-45ac-8120-a01a77734907",
1232
+ "backgroundColor": null,
1233
+ "topOffset": null,
1234
+ "maxShowCount": null,
1235
+ "showTitle": true
1236
+ }
1237
+ },
1238
+ {
1239
+ "type": "heading",
1240
+ "attrs": {
1241
+ "id": "bf962ab5-f0a0-43f7-8473-de72f4a2b8ae",
1242
+ "textAlign": null,
1243
+ "backgroundColor": null,
1244
+ "nodeTextAlign": null,
1245
+ "nodeVerticalAlign": null,
1246
+ "data-toc-id": "bf962ab5-f0a0-43f7-8473-de72f4a2b8ae",
1247
+ "level": 2
1248
+ },
1249
+ "content": [
1250
+ {
1251
+ "type": "text",
1252
+ "text": "Checklist"
1253
+ }
1254
+ ]
1255
+ },
1256
+ {
1257
+ "type": "taskList",
1258
+ "attrs": {
1259
+ "id": "6e80de5f-0bc2-4b2e-81db-8a1c0b4d7dbd",
1260
+ "backgroundColor": null
1261
+ },
1262
+ "content": [
1263
+ {
1264
+ "type": "taskItem",
1265
+ "attrs": {
1266
+ "checked": true
1267
+ },
1268
+ "content": [
1269
+ {
1270
+ "type": "paragraph",
1271
+ "attrs": {
1272
+ "id": "9aa558bd-c8d2-4f38-a574-13505e158fe5",
1273
+ "textAlign": null,
1274
+ "backgroundColor": null,
1275
+ "nodeTextAlign": null,
1276
+ "nodeVerticalAlign": null
1277
+ },
1278
+ "content": [
1279
+ {
1280
+ "type": "text",
1281
+ "text": "Read up to this point"
1282
+ }
1283
+ ]
1284
+ }
1285
+ ]
1286
+ },
1287
+ {
1288
+ "type": "taskItem",
1289
+ "attrs": {
1290
+ "checked": false
1291
+ },
1292
+ "content": [
1293
+ {
1294
+ "type": "paragraph",
1295
+ "attrs": {
1296
+ "id": "d9b7734a-4b28-4903-9f44-262450bb142d",
1297
+ "textAlign": null,
1298
+ "backgroundColor": null,
1299
+ "nodeTextAlign": null,
1300
+ "nodeVerticalAlign": null
1301
+ },
1302
+ "content": [
1303
+ {
1304
+ "type": "text",
1305
+ "text": "Try a slash command"
1306
+ }
1307
+ ]
1308
+ }
1309
+ ]
1310
+ },
1311
+ {
1312
+ "type": "taskItem",
1313
+ "attrs": {
1314
+ "checked": false
1315
+ },
1316
+ "content": [
1317
+ {
1318
+ "type": "paragraph",
1319
+ "attrs": {
1320
+ "id": "5cceb712-6cb7-4e26-a768-8fb28637b098",
1321
+ "textAlign": null,
1322
+ "backgroundColor": null,
1323
+ "nodeTextAlign": null,
1324
+ "nodeVerticalAlign": null
1325
+ },
1326
+ "content": [
1327
+ {
1328
+ "type": "text",
1329
+ "text": "Mention someone"
1330
+ }
1331
+ ]
1332
+ }
1333
+ ]
1334
+ },
1335
+ {
1336
+ "type": "taskItem",
1337
+ "attrs": {
1338
+ "checked": false
1339
+ },
1340
+ "content": [
1341
+ {
1342
+ "type": "paragraph",
1343
+ "attrs": {
1344
+ "id": "0e2cb9e4-0de9-47d0-8cba-084f8b0d7123",
1345
+ "textAlign": null,
1346
+ "backgroundColor": null,
1347
+ "nodeTextAlign": null,
1348
+ "nodeVerticalAlign": null
1349
+ },
1350
+ "content": [
1351
+ {
1352
+ "type": "text",
1353
+ "text": "Use the floating toolbar"
1354
+ }
1355
+ ]
1356
+ }
1357
+ ]
1358
+ },
1359
+ {
1360
+ "type": "taskItem",
1361
+ "attrs": {
1362
+ "checked": false
1363
+ },
1364
+ "content": [
1365
+ {
1366
+ "type": "paragraph",
1367
+ "attrs": {
1368
+ "id": "d27c6c12-83db-41f6-bd1b-fa2e1a9bdc28",
1369
+ "textAlign": null,
1370
+ "backgroundColor": null,
1371
+ "nodeTextAlign": null,
1372
+ "nodeVerticalAlign": null
1373
+ },
1374
+ "content": [
1375
+ {
1376
+ "type": "text",
1377
+ "text": "Add a color highlight"
1378
+ }
1379
+ ]
1380
+ }
1381
+ ]
1382
+ },
1383
+ {
1384
+ "type": "taskItem",
1385
+ "attrs": {
1386
+ "checked": false
1387
+ },
1388
+ "content": [
1389
+ {
1390
+ "type": "paragraph",
1391
+ "attrs": {
1392
+ "id": "e15353be-84c3-4922-9165-a74caf7daef1",
1393
+ "textAlign": null,
1394
+ "backgroundColor": null,
1395
+ "nodeTextAlign": null,
1396
+ "nodeVerticalAlign": null
1397
+ },
1398
+ "content": [
1399
+ {
1400
+ "type": "text",
1401
+ "text": "Explore the context menu & drag blocks"
1402
+ }
1403
+ ]
1404
+ }
1405
+ ]
1406
+ },
1407
+ {
1408
+ "type": "taskItem",
1409
+ "attrs": {
1410
+ "checked": false
1411
+ },
1412
+ "content": [
1413
+ {
1414
+ "type": "paragraph",
1415
+ "attrs": {
1416
+ "id": "e93482bb-0082-45e3-ba16-5e07fec3344f",
1417
+ "textAlign": null,
1418
+ "backgroundColor": null,
1419
+ "nodeTextAlign": null,
1420
+ "nodeVerticalAlign": null
1421
+ },
1422
+ "content": [
1423
+ {
1424
+ "type": "text",
1425
+ "text": "Ask the AI for help"
1426
+ }
1427
+ ]
1428
+ }
1429
+ ]
1430
+ }
1431
+ ]
1432
+ },
1433
+ {
1434
+ "type": "horizontalRule"
1435
+ },
1436
+ {
1437
+ "type": "heading",
1438
+ "attrs": {
1439
+ "id": "e2ba59b4-1014-4875-9992-552bdc74521c",
1440
+ "textAlign": null,
1441
+ "backgroundColor": null,
1442
+ "nodeTextAlign": null,
1443
+ "nodeVerticalAlign": null,
1444
+ "data-toc-id": "e2ba59b4-1014-4875-9992-552bdc74521c",
1445
+ "level": 1
1446
+ },
1447
+ "content": [
1448
+ {
1449
+ "type": "text",
1450
+ "text": "Developer quickstart"
1451
+ }
1452
+ ]
1453
+ },
1454
+ {
1455
+ "type": "paragraph",
1456
+ "attrs": {
1457
+ "id": "7f98f6f5-07df-48a6-8759-2c6ea62d7c67",
1458
+ "textAlign": null,
1459
+ "backgroundColor": null,
1460
+ "nodeTextAlign": null,
1461
+ "nodeVerticalAlign": null
1462
+ },
1463
+ "content": [
1464
+ {
1465
+ "type": "text",
1466
+ "text": "Ready to build your own editor? Just run:"
1467
+ }
1468
+ ]
1469
+ },
1470
+ {
1471
+ "type": "codeBlock",
1472
+ "attrs": {
1473
+ "id": "3600cd2b-86a5-4b3a-8d39-560f6871744e",
1474
+ "language": null
1475
+ },
1476
+ "content": [
1477
+ {
1478
+ "type": "text",
1479
+ "text": "npx @tiptap/cli init"
1480
+ }
1481
+ ]
1482
+ },
1483
+ {
1484
+ "type": "blockquote",
1485
+ "attrs": {
1486
+ "id": "0c7127a4-32e4-42e3-96d6-5c804ab2bc1a",
1487
+ "backgroundColor": null,
1488
+ "nodeTextAlign": null,
1489
+ "nodeVerticalAlign": null
1490
+ },
1491
+ "content": [
1492
+ {
1493
+ "type": "paragraph",
1494
+ "attrs": {
1495
+ "id": "f40f4db9-3733-4772-91a9-9ac126d536f8",
1496
+ "textAlign": null,
1497
+ "backgroundColor": null,
1498
+ "nodeTextAlign": null,
1499
+ "nodeVerticalAlign": null
1500
+ },
1501
+ "content": [
1502
+ {
1503
+ "type": "text",
1504
+ "marks": [
1505
+ {
1506
+ "type": "bold"
1507
+ }
1508
+ ],
1509
+ "text": "Did you know? "
1510
+ },
1511
+ {
1512
+ "type": "hardBreak"
1513
+ },
1514
+ {
1515
+ "type": "text",
1516
+ "text": "Many features here are powered by open-source Tiptap UI Components. Some advanced tools – like the AI Assistant, advanced color palettes, or context menus – are exclusive to paid users. "
1517
+ },
1518
+ {
1519
+ "type": "hardBreak"
1520
+ },
1521
+ {
1522
+ "type": "hardBreak"
1523
+ },
1524
+ {
1525
+ "type": "text",
1526
+ "text": "Unlock even more possibilities by "
1527
+ },
1528
+ {
1529
+ "type": "text",
1530
+ "marks": [
1531
+ {
1532
+ "type": "link",
1533
+ "attrs": {
1534
+ "href": "https://tiptap.dev/pricing",
1535
+ "target": "_blank",
1536
+ "rel": "noopener noreferrer nofollow",
1537
+ "class": null
1538
+ }
1539
+ }
1540
+ ],
1541
+ "text": "upgrading your plan"
1542
+ },
1543
+ {
1544
+ "type": "text",
1545
+ "text": "!"
1546
+ }
1547
+ ]
1548
+ }
1549
+ ]
1550
+ },
1551
+ {
1552
+ "type": "heading",
1553
+ "attrs": {
1554
+ "id": "1741b659-1e29-4da3-9fb0-269418e78f79",
1555
+ "textAlign": null,
1556
+ "backgroundColor": null,
1557
+ "nodeTextAlign": null,
1558
+ "nodeVerticalAlign": null,
1559
+ "data-toc-id": "1741b659-1e29-4da3-9fb0-269418e78f79",
1560
+ "level": 3
1561
+ },
1562
+ "content": [
1563
+ {
1564
+ "type": "text",
1565
+ "text": "Short description"
1566
+ }
1567
+ ]
1568
+ },
1569
+ {
1570
+ "type": "bulletList",
1571
+ "attrs": {
1572
+ "id": "30afe9a9-a336-40ae-8b0c-8cdaa040db81",
1573
+ "backgroundColor": null
1574
+ },
1575
+ "content": [
1576
+ {
1577
+ "type": "listItem",
1578
+ "content": [
1579
+ {
1580
+ "type": "paragraph",
1581
+ "attrs": {
1582
+ "id": "b8c80273-447a-4e0e-ab9f-78d0150d0a3b",
1583
+ "textAlign": null,
1584
+ "backgroundColor": null,
1585
+ "nodeTextAlign": null,
1586
+ "nodeVerticalAlign": null
1587
+ },
1588
+ "content": [
1589
+ {
1590
+ "type": "text",
1591
+ "text": "Content blocks = Node Components"
1592
+ }
1593
+ ]
1594
+ }
1595
+ ]
1596
+ },
1597
+ {
1598
+ "type": "listItem",
1599
+ "content": [
1600
+ {
1601
+ "type": "paragraph",
1602
+ "attrs": {
1603
+ "id": "49974099-ca00-48f1-bd3d-ffd877fa45f1",
1604
+ "textAlign": null,
1605
+ "backgroundColor": null,
1606
+ "nodeTextAlign": null,
1607
+ "nodeVerticalAlign": null
1608
+ },
1609
+ "content": [
1610
+ {
1611
+ "type": "text",
1612
+ "text": "Toolbars, menus, and buttons = UI Components"
1613
+ }
1614
+ ]
1615
+ }
1616
+ ]
1617
+ }
1618
+ ]
1619
+ },
1620
+ {
1621
+ "type": "horizontalRule"
1622
+ },
1623
+ {
1624
+ "type": "heading",
1625
+ "attrs": {
1626
+ "id": "ac284b90-febc-4403-bf34-5d287956ed25",
1627
+ "textAlign": null,
1628
+ "backgroundColor": null,
1629
+ "nodeTextAlign": null,
1630
+ "nodeVerticalAlign": null,
1631
+ "data-toc-id": "ac284b90-febc-4403-bf34-5d287956ed25",
1632
+ "level": 2
1633
+ },
1634
+ "content": [
1635
+ {
1636
+ "type": "text",
1637
+ "text": "P.S."
1638
+ }
1639
+ ]
1640
+ },
1641
+ {
1642
+ "type": "paragraph",
1643
+ "attrs": {
1644
+ "id": "182c7969-aac2-4482-a21d-0362d3844698",
1645
+ "textAlign": null,
1646
+ "backgroundColor": null,
1647
+ "nodeTextAlign": null,
1648
+ "nodeVerticalAlign": null
1649
+ },
1650
+ "content": [
1651
+ {
1652
+ "type": "text",
1653
+ "text": "You’re using the Notion-like template, available for paid users."
1654
+ }
1655
+ ]
1656
+ }
1657
+ ]
1658
+ }