@allbluecn/web-app 0.18.0 → 0.18.2

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 (481) hide show
  1. package/package.json +2 -3
  2. package/src/__tests__/visual/theme-surface.vrt.test.tsx +1 -1
  3. package/src/components/agents/agent-bindings-tab.tsx +3 -3
  4. package/src/components/agents/agent-card.tsx +4 -4
  5. package/src/components/agents/agent-form-dialog.tsx +9 -9
  6. package/src/components/agents/agent-selector.tsx +1 -1
  7. package/src/components/agents/agents-page.tsx +1 -1
  8. package/src/components/agents/skill-card.tsx +1 -1
  9. package/src/components/agents/skill-form-dialog.tsx +5 -5
  10. package/src/components/agents/use-agent-handlers.ts +1 -1
  11. package/src/components/ai/__tests__/prompt-input-actions.test.tsx +1 -1
  12. package/src/components/ai/ai-chat-prompt.tsx +3 -3
  13. package/src/components/ai/ai-prompt-input/components/action-buttons.tsx +3 -3
  14. package/src/components/ai/ai-prompt-input/components/agent-mode-select.tsx +1 -1
  15. package/src/components/ai/ai-prompt-input/components/model-select.tsx +1 -1
  16. package/src/components/ai/ai-prompt-input/index.tsx +3 -3
  17. package/src/components/ai/ai-suggested-prompts.tsx +5 -5
  18. package/src/components/ai/global-harness-sidebar/index.tsx +5 -5
  19. package/src/components/ai/tool-parts/tool-call-part.tsx +1 -1
  20. package/src/components/ai/tool-parts/tool-result-part.tsx +1 -1
  21. package/src/components/anyhub/anyhub-app-card.tsx +5 -5
  22. package/src/components/anyhub/anyhub-install-dialog.tsx +4 -4
  23. package/src/components/anyhub/anyhub-management-view.tsx +1 -1
  24. package/src/components/anyhub/anyhub-marketplace-view.tsx +4 -4
  25. package/src/components/anyhub/anyhub-permission-panel.tsx +4 -4
  26. package/src/components/anyhub/anyhub-top-nav.tsx +2 -2
  27. package/src/components/auth/icon-input.tsx +2 -2
  28. package/src/components/auth/oauth-section.tsx +2 -2
  29. package/src/components/auth/password-input.tsx +2 -2
  30. package/src/components/auth/sso-section.tsx +1 -1
  31. package/src/components/billing/__tests__/seats-manager.test.tsx +1 -1
  32. package/src/components/billing/checkout-redirect.ts +1 -1
  33. package/src/components/billing/login-prompt-dialog.tsx +3 -3
  34. package/src/components/billing/seats-manager.tsx +2 -2
  35. package/src/components/bug/__tests__/bug-display-dropdown.test.tsx +1 -1
  36. package/src/components/bug/__tests__/bug-toolbar.test.tsx +1 -1
  37. package/src/components/bug/__tests__/create-bug-dialog.test.tsx +2 -2
  38. package/src/components/bug/__tests__/use-paged-bug-groups.test.tsx +1 -1
  39. package/src/components/bug/bug-list-table.tsx +1 -1
  40. package/src/components/bug/bug-list-view.tsx +1 -1
  41. package/src/components/bug/bug-panel-header.tsx +5 -5
  42. package/src/components/bug/bug-toolbar.tsx +3 -3
  43. package/src/components/bug/collect/__tests__/collect-form.test.tsx +1 -1
  44. package/src/components/bug/collect/collect-form.tsx +5 -5
  45. package/src/components/bug/columns.tsx +1 -1
  46. package/src/components/bug/create-bug-dialog.tsx +4 -4
  47. package/src/components/bug/detail/__tests__/error-context.test.tsx +1 -1
  48. package/src/components/bug/detail/activity-tabs.tsx +1 -1
  49. package/src/components/bug/detail/bug-detail-body.tsx +6 -6
  50. package/src/components/bug/detail/comment-input.tsx +3 -3
  51. package/src/components/bug/detail/comment-item.tsx +5 -5
  52. package/src/components/bug/detail/events-timeline.tsx +1 -1
  53. package/src/components/bug/detail/fix-timeline.tsx +3 -3
  54. package/src/components/bug/detail/props-section.tsx +2 -2
  55. package/src/components/bug/detail/regression-section.tsx +3 -3
  56. package/src/components/bug/detail/repro-report-card.tsx +5 -5
  57. package/src/components/bug/display/display-dropdown.tsx +2 -2
  58. package/src/components/bug/filters/add-filter-dropdown.tsx +1 -1
  59. package/src/components/bug/filters/applied-filters.tsx +1 -1
  60. package/src/components/bug/filters/filter-row.tsx +1 -1
  61. package/src/components/bug/filters/filter-toggle.tsx +2 -2
  62. package/src/components/bug/filters/filter-value-input.tsx +1 -1
  63. package/src/components/bug/inline-editors/assignee-editor.tsx +1 -1
  64. package/src/components/bug/inline-editors/date-editor.tsx +1 -1
  65. package/src/components/bug/inline-editors/inline-trigger.tsx +2 -2
  66. package/src/components/bug/peek-panel.tsx +1 -1
  67. package/src/components/bug/reproduce-steps-editor.tsx +3 -3
  68. package/src/components/bug/settings/bug-settings-panel.tsx +4 -4
  69. package/src/components/bug/settings/collect-page-manager.tsx +9 -9
  70. package/src/components/bug/settings/install-commands.tsx +3 -3
  71. package/src/components/bug/settings/token-list.tsx +7 -7
  72. package/src/components/bug/settings/webhook-manager.tsx +9 -9
  73. package/src/components/bug/views/bug-list/batch-toolbar.tsx +4 -4
  74. package/src/components/bug/views/bug-list/group.tsx +2 -2
  75. package/src/components/bug/views/bug-list/index.tsx +1 -1
  76. package/src/components/bug/views/bug-list/inline-bug-creator.tsx +1 -1
  77. package/src/components/bug/views/bug-list/row.tsx +2 -2
  78. package/src/components/bug/views/view-switcher.tsx +1 -1
  79. package/src/components/changelog/changelog-page.tsx +1 -1
  80. package/src/components/confirm-dialog.tsx +94 -0
  81. package/src/components/design/canvas/panels/appearance-text-panel.tsx +3 -3
  82. package/src/components/design/canvas/panels/controls/add-button.tsx +1 -1
  83. package/src/components/design/canvas/panels/controls/constraint-select.tsx +1 -1
  84. package/src/components/design/canvas/panels/controls/gradient-editor.tsx +1 -1
  85. package/src/components/design/canvas/panels/controls/pattern-params.tsx +2 -2
  86. package/src/components/design/canvas/panels/controls/rows.tsx +3 -3
  87. package/src/components/design/canvas/panels/controls/shader-picker.tsx +3 -3
  88. package/src/components/design/canvas/panels/controls/text-style-button.tsx +1 -1
  89. package/src/components/design/canvas/panels/controls/toolbar-button.tsx +2 -2
  90. package/src/components/design/canvas/panels/frame-property-panel.tsx +3 -3
  91. package/src/components/design/canvas/panels/layer-panel.tsx +2 -2
  92. package/src/components/design/canvas/panels/paint-lists-panel.tsx +1 -1
  93. package/src/components/design/canvas/panels/property-panel.tsx +3 -3
  94. package/src/components/design/canvas/panels/shape-corners-panel.tsx +2 -2
  95. package/src/components/design/canvas/panels/toolbar.tsx +4 -4
  96. package/src/components/design/canvas/panels/transform-layout-panel.tsx +3 -3
  97. package/src/components/design/canvas/react/__tests__/hooks.test.tsx +2 -2
  98. package/src/components/design/canvas/react/hooks.ts +1 -1
  99. package/src/components/design/canvas/react/workbench.tsx +2 -2
  100. package/src/components/design/editor/annotation/annotation-node/annotation-node-view.tsx +1 -1
  101. package/src/components/design/editor/collaboration/__tests__/design-agent-panel-regenerate.test.tsx +1 -1
  102. package/src/components/design/editor/collaboration/__tests__/design-agent-panel-stream.test.tsx +2 -2
  103. package/src/components/design/editor/collaboration/agent-input.tsx +2 -2
  104. package/src/components/design/editor/collaboration/design-agent-panel.tsx +2 -2
  105. package/src/components/design/editor/collaboration/design-comment-review-panel.tsx +4 -4
  106. package/src/components/design/editor/dashboard/create-design-dialog.tsx +3 -3
  107. package/src/components/design/editor/dashboard/design-dashboard.tsx +4 -4
  108. package/src/components/design/editor/layout/__tests__/context-menu.test.tsx +1 -1
  109. package/src/components/design/editor/layout/__tests__/no-page-save-toast.test.tsx +2 -2
  110. package/src/components/design/editor/layout/__tests__/persistence-restore.test.tsx +1 -1
  111. package/src/components/design/editor/layout/__tests__/ssr-localstorage-smoke.test.tsx +1 -1
  112. package/src/components/design/editor/layout/context-menu.tsx +1 -1
  113. package/src/components/design/editor/layout/design-doc-panel.tsx +2 -2
  114. package/src/components/design/editor/layout/design-editor-layout.tsx +1 -1
  115. package/src/components/design/editor/layout/design-navigation.tsx +4 -4
  116. package/src/components/design/editor/layout/design-right-sidebar.tsx +2 -2
  117. package/src/components/design/editor/layout/hooks/use-design-auto-save.ts +1 -1
  118. package/src/components/design/editor/pages/design-detail-page.tsx +1 -1
  119. package/src/components/design/editor/pages/share-design-page.tsx +1 -1
  120. package/src/components/design/editor/pages-tree/design-tree-page-tab.tsx +3 -3
  121. package/src/components/design/editor/share/design-share-panel/components/single-version-share-card.tsx +6 -6
  122. package/src/components/design/editor/share/design-share-panel/index.tsx +9 -9
  123. package/src/components/design/editor/share/share-comment-panel.tsx +4 -4
  124. package/src/components/design/editor/share/share-nav-bar.tsx +3 -3
  125. package/src/components/design/editor/share/share-password-gate.tsx +3 -3
  126. package/src/components/design/editor/share/share-review-panel.tsx +4 -4
  127. package/src/components/design/editor/versions/components/create-version-dialog.tsx +2 -2
  128. package/src/components/design/editor/versions/components/delete-version-dialog.tsx +2 -2
  129. package/src/components/design/editor/versions/components/edit-version-dialog.tsx +2 -2
  130. package/src/components/design/editor/versions/components/page-tree-selector.tsx +4 -4
  131. package/src/components/design/editor/versions/components/page-version-timeline.tsx +2 -2
  132. package/src/components/design/editor/versions/page-version-panel.tsx +5 -5
  133. package/src/components/design/editor/versions/page-version-tree.tsx +3 -3
  134. package/src/components/design/editor/versions/restore-version-dialog.tsx +2 -2
  135. package/src/components/error/global-error-boundary.tsx +1 -1
  136. package/src/components/forms/app-array-field.tsx +1 -1
  137. package/src/components/forms/app-checkbox.tsx +1 -1
  138. package/src/components/forms/app-combobox.tsx +1 -1
  139. package/src/components/forms/app-date-picker.tsx +1 -1
  140. package/src/components/forms/app-field.tsx +1 -1
  141. package/src/components/forms/app-form-dialog.tsx +2 -2
  142. package/src/components/forms/app-input.tsx +1 -1
  143. package/src/components/forms/app-section.tsx +1 -1
  144. package/src/components/forms/app-select.tsx +1 -1
  145. package/src/components/forms/app-switch.tsx +1 -1
  146. package/src/components/forms/app-textarea.tsx +1 -1
  147. package/src/components/forms/hooks/use-form-submit.ts +1 -1
  148. package/src/components/harness/__tests__/media-route.test.tsx +1 -1
  149. package/src/components/harness/agent-preset-picker.tsx +3 -3
  150. package/src/components/harness/ai-chat-history/components/conversation-header.tsx +2 -2
  151. package/src/components/harness/ai-chat-history/components/conversation-item.tsx +3 -3
  152. package/src/components/harness/ai-chat-history/components/conversation-search.tsx +1 -1
  153. package/src/components/harness/ai-chat-history/components/empty-state.tsx +1 -1
  154. package/src/components/harness/ai-chat-history/index.tsx +2 -2
  155. package/src/components/harness/ai-citations/components/citation-item.tsx +1 -1
  156. package/src/components/harness/ai-citations/components/source-components.tsx +1 -1
  157. package/src/components/harness/ai-citations/index.tsx +1 -1
  158. package/src/components/harness/ai-thinking.tsx +1 -1
  159. package/src/components/harness/code/file-tree.tsx +1 -1
  160. package/src/components/harness/code/preview-panel.tsx +2 -2
  161. package/src/components/harness/code/workspace-picker.tsx +3 -3
  162. package/src/components/harness/composer/harness-composer.tsx +3 -3
  163. package/src/components/harness/composer/model-select.tsx +1 -1
  164. package/src/components/harness/connection-indicator.tsx +1 -1
  165. package/src/components/harness/gallery/gallery-card.tsx +5 -5
  166. package/src/components/harness/gallery/gallery-grid.tsx +5 -5
  167. package/src/components/harness/gallery/lightbox-viewer.tsx +2 -2
  168. package/src/components/harness/gallery/retranscribe-dialog.tsx +5 -5
  169. package/src/components/harness/harness-workbench-page.tsx +2 -2
  170. package/src/components/harness/image-lightbox.tsx +1 -1
  171. package/src/components/harness/interrupt-approval.tsx +2 -2
  172. package/src/components/harness/message-actions.tsx +2 -2
  173. package/src/components/harness/plan-approval-card.tsx +2 -2
  174. package/src/components/harness/plugin-define-approval.tsx +2 -2
  175. package/src/components/harness/plugin-panel.tsx +3 -3
  176. package/src/components/harness/queue-bar.tsx +1 -1
  177. package/src/components/harness/queue-item.tsx +1 -1
  178. package/src/components/harness/retry-countdown-bar.tsx +1 -1
  179. package/src/components/hextaui/ai-citations.tsx +1 -1
  180. package/src/components/hextaui/ai-file-upload.tsx +2 -2
  181. package/src/components/hextaui/ai-message.tsx +2 -2
  182. package/src/components/hextaui/ai-thinking.tsx +1 -1
  183. package/src/components/hotkeys/shortcuts-panel.tsx +2 -2
  184. package/src/components/infinite-scroll-sentinel.tsx +37 -0
  185. package/src/components/iteration/auto-schedule-dialog.tsx +5 -5
  186. package/src/components/iteration/create-iteration-dialog.tsx +5 -5
  187. package/src/components/iteration/iteration-editor.tsx +3 -3
  188. package/src/components/knowledge/dialog/knowledge-form-dialog.tsx +3 -3
  189. package/src/components/knowledge/doc-properties.tsx +2 -2
  190. package/src/components/knowledge/kb-filter-popover.tsx +2 -2
  191. package/src/components/knowledge/knowledge-tag-input.tsx +2 -2
  192. package/src/components/knowledge/knowledge-toolbar.tsx +9 -9
  193. package/src/components/knowledge/knowledge-tree-item.tsx +5 -5
  194. package/src/components/knowledge/knowledge-tree.tsx +3 -3
  195. package/src/components/knowledge-public/bookmark-card.tsx +3 -3
  196. package/src/components/knowledge-public/bookmark-form-dialog.tsx +6 -6
  197. package/src/components/knowledge-public/knowledge-card.tsx +1 -1
  198. package/src/components/knowledge-public/knowledge-form-dialog.tsx +6 -6
  199. package/src/components/knowledge-public/knowledge-search-bar.tsx +2 -2
  200. package/src/components/knowledge-public/legal-compliance-editor.tsx +1 -1
  201. package/src/components/knowledge-public/markdown-editor.tsx +2 -2
  202. package/src/components/knowledge-public/sharers-avatar-group.tsx +1 -1
  203. package/src/components/layout/sidebar-03/__tests__/nav-workspace.test.tsx +2 -2
  204. package/src/components/layout/sidebar-03/__tests__/user-menu-anonymous.test.tsx +3 -3
  205. package/src/components/layout/sidebar-03/app-sidebar.tsx +1 -1
  206. package/src/components/layout/sidebar-03/index.tsx +1 -1
  207. package/src/components/layout/sidebar-03/nav-anyhub.tsx +2 -2
  208. package/src/components/layout/sidebar-03/nav-knowledge.tsx +4 -4
  209. package/src/components/layout/sidebar-03/nav-main.tsx +4 -4
  210. package/src/components/layout/sidebar-03/nav-notifications.tsx +1 -1
  211. package/src/components/layout/sidebar-03/nav-search-trigger.tsx +1 -1
  212. package/src/components/layout/sidebar-03/nav-secondary.tsx +1 -1
  213. package/src/components/layout/sidebar-03/nav-workspace.tsx +2 -2
  214. package/src/components/layout/sidebar-03/team-switcher.tsx +2 -2
  215. package/src/components/layout/sidebar-03/user-menu.tsx +3 -3
  216. package/src/components/notifications/settings-notifications.tsx +6 -6
  217. package/src/components/notifications/team-notifications.tsx +6 -6
  218. package/src/components/project/create-project-dialog.tsx +4 -4
  219. package/src/components/project/invite-member-dialog.tsx +6 -6
  220. package/src/components/project/project-member-manager.tsx +5 -5
  221. package/src/components/project/project-module-card.tsx +1 -1
  222. package/src/components/settings/ai/api-key-field.tsx +3 -3
  223. package/src/components/settings/ai/byok-section.tsx +2 -2
  224. package/src/components/settings/ai/create-custom-model-dialog.tsx +5 -5
  225. package/src/components/settings/ai/create-custom-provider-dialog.tsx +5 -5
  226. package/src/components/settings/ai/local-agent-panel.tsx +3 -3
  227. package/src/components/settings/ai/model-card.tsx +2 -2
  228. package/src/components/settings/ai/model-manager.tsx +4 -4
  229. package/src/components/settings/ai/provider-card.tsx +1 -1
  230. package/src/components/settings/ai/provider-detail-form.tsx +6 -6
  231. package/src/components/settings/ai/provider-grid.tsx +3 -3
  232. package/src/components/settings/ai/source/model-source-picker.tsx +2 -2
  233. package/src/components/settings/language-selector.tsx +2 -2
  234. package/src/components/settings/personal-team/account/account-client.tsx +2 -2
  235. package/src/components/settings/personal-team/account/avatar/notion-avatar-editor.tsx +3 -3
  236. package/src/components/settings/personal-team/account/settings-profile.tsx +8 -8
  237. package/src/components/settings/personal-team/team/invitation-cards/invitation-badges.tsx +1 -1
  238. package/src/components/settings/personal-team/team/invitation-cards/invitation-history-list.tsx +5 -5
  239. package/src/components/settings/personal-team/team/invitation-cards/invite-email-card.tsx +5 -5
  240. package/src/components/settings/personal-team/team/invitation-cards/invite-link-card.tsx +3 -3
  241. package/src/components/settings/personal-team/team/team-client.tsx +6 -6
  242. package/src/components/settings/personal-team/team/team-invitations.tsx +1 -1
  243. package/src/components/settings/personal-team/team/team-member-list.tsx +7 -7
  244. package/src/components/shared-kit/avatars/notion-avatar.tsx +109 -3
  245. package/src/components/shared-kit/avatars/user-avatar.tsx +65 -3
  246. package/src/components/shared-kit/data-viz/contribution-graph-tooltip.tsx +1 -1
  247. package/src/components/shared-kit/dialogs/name-confirm-dialog.tsx +5 -5
  248. package/src/components/shared-kit/i18n/language-switcher.tsx +2 -2
  249. package/src/components/shared-kit/icons/lucide-icon-picker/index.tsx +1 -1
  250. package/src/components/shared-kit/icons/lucide-icon-picker/panel.tsx +1 -1
  251. package/src/components/shared-kit/theme/theme-surface.tsx +4 -4
  252. package/src/components/shared-kit/theme/theme-toggle.tsx +1 -1
  253. package/src/components/shared-kit/timezone/timezone-select.tsx +1 -1
  254. package/src/components/story/__tests__/story-list-view-restore.test.tsx +2 -2
  255. package/src/components/story/__tests__/story-list-view-ssr.test.tsx +2 -2
  256. package/src/components/story/ai/handlers/more-popover.tsx +2 -2
  257. package/src/components/story/ai/handlers/stream-text.ts +1 -1
  258. package/src/components/story/ai/prototype-dialog.tsx +4 -4
  259. package/src/components/story/ai/split-dialog.tsx +6 -6
  260. package/src/components/story/ai/story-ai-panel.tsx +4 -4
  261. package/src/components/story/ai/story-ai-preview-list.tsx +4 -4
  262. package/src/components/story/ai/story-ai-toolbar.tsx +3 -3
  263. package/src/components/story/columns.tsx +1 -1
  264. package/src/components/story/create-story-dialog.tsx +4 -4
  265. package/src/components/story/detail/__tests__/associated-attachments-panel.test.tsx +1 -1
  266. package/src/components/story/detail/__tests__/categories.test.tsx +1 -1
  267. package/src/components/story/detail/__tests__/dependencies-button.test.tsx +1 -1
  268. package/src/components/story/detail/comment-input.tsx +3 -3
  269. package/src/components/story/detail/comment-item.tsx +3 -3
  270. package/src/components/story/detail/reaction-bar.tsx +1 -1
  271. package/src/components/story/detail/story-detail-body.tsx +5 -5
  272. package/src/components/story/detail/story-detail-toolbar/__tests__/related-test-cases.test.tsx +1 -1
  273. package/src/components/story/detail/story-detail-toolbar/associated-attachments-panel.tsx +4 -4
  274. package/src/components/story/detail/story-detail-toolbar/categories.tsx +1 -1
  275. package/src/components/story/detail/story-detail-toolbar/children.tsx +5 -5
  276. package/src/components/story/detail/story-detail-toolbar/dependencies.tsx +1 -1
  277. package/src/components/story/detail/story-detail-toolbar/dependency-panel.tsx +3 -3
  278. package/src/components/story/detail/story-detail-toolbar/related-test-cases.tsx +1 -1
  279. package/src/components/story/detail/story-detail-toolbar.tsx +2 -2
  280. package/src/components/story/detail/story-properties.tsx +1 -1
  281. package/src/components/story/display/__tests__/display-dropdown.test.tsx +1 -1
  282. package/src/components/story/display/display-dropdown.tsx +3 -3
  283. package/src/components/story/filters/add-filter-dropdown.tsx +1 -1
  284. package/src/components/story/filters/applied-filters.tsx +1 -1
  285. package/src/components/story/filters/filter-row.tsx +1 -1
  286. package/src/components/story/filters/filter-toggle.tsx +2 -2
  287. package/src/components/story/inline-editors/__tests__/dependency-type-select.test.tsx +2 -2
  288. package/src/components/story/inline-editors/__tests__/labels-editor.test.tsx +2 -2
  289. package/src/components/story/inline-editors/__tests__/priority-editor.test.tsx +1 -1
  290. package/src/components/story/inline-editors/__tests__/state-editor.test.tsx +1 -1
  291. package/src/components/story/inline-editors/assignee-editor.tsx +1 -1
  292. package/src/components/story/inline-editors/date-editor.tsx +1 -1
  293. package/src/components/story/inline-editors/dependency-type-select.tsx +2 -2
  294. package/src/components/story/inline-editors/inline-trigger.tsx +2 -2
  295. package/src/components/story/inline-editors/labels-editor.tsx +2 -2
  296. package/src/components/story/inline-editors/parent-story-editor.tsx +1 -1
  297. package/src/components/story/inline-editors/story-select-dialog.tsx +6 -6
  298. package/src/components/story/peek-panel.tsx +2 -2
  299. package/src/components/story/relations/__tests__/attachment-manage-dialog.test.tsx +4 -4
  300. package/src/components/story/relations/__tests__/knowledge-select-dialog.test.tsx +2 -2
  301. package/src/components/story/relations/__tests__/link-manage-dialog.test.tsx +1 -1
  302. package/src/components/story/relations/attachment-manage-dialog.tsx +4 -4
  303. package/src/components/story/relations/knowledge-select-dialog.tsx +5 -5
  304. package/src/components/story/relations/link-manage-dialog.tsx +5 -5
  305. package/src/components/story/relations/story-ref-row.tsx +5 -5
  306. package/src/components/story/search-popover.tsx +1 -1
  307. package/src/components/story/story-list-table.tsx +1 -1
  308. package/src/components/story/story-list-view.tsx +2 -2
  309. package/src/components/story/story-panel-header.tsx +5 -5
  310. package/src/components/story/story-toolbar.tsx +4 -4
  311. package/src/components/story/transfer-story-popover.tsx +4 -4
  312. package/src/components/story/views/calendar-view.tsx +3 -3
  313. package/src/components/story/views/create-view-dialog.tsx +2 -2
  314. package/src/components/story/views/kanban-board.tsx +2 -2
  315. package/src/components/story/views/story-list/__tests__/batch-toolbar.test.tsx +1 -1
  316. package/src/components/story/views/story-list/__tests__/group-header.test.tsx +1 -1
  317. package/src/components/story/views/story-list/batch-preview-dialog.tsx +7 -7
  318. package/src/components/story/views/story-list/batch-toolbar.tsx +3 -3
  319. package/src/components/story/views/story-list/group.tsx +2 -2
  320. package/src/components/story/views/story-list/index.tsx +1 -1
  321. package/src/components/story/views/story-list/row.tsx +1 -1
  322. package/src/components/story/views/timeline-view.tsx +3 -3
  323. package/src/components/story/views/view-list-section.tsx +1 -1
  324. package/src/components/story/views/view-selector-button.tsx +2 -2
  325. package/src/components/story/views/view-switcher.tsx +1 -1
  326. package/src/components/tags/nav-tag.tsx +6 -6
  327. package/src/components/tags/tag-badge.tsx +1 -1
  328. package/src/components/tags/tag-manager.tsx +5 -5
  329. package/src/components/tags/tag-selector.tsx +1 -1
  330. package/src/components/testcase/__tests__/artifact-panel.test.tsx +1 -1
  331. package/src/components/testcase/__tests__/case-row.test.tsx +2 -2
  332. package/src/components/testcase/__tests__/convert-bug.test.tsx +2 -2
  333. package/src/components/testcase/__tests__/folder-tree.test.tsx +2 -2
  334. package/src/components/testcase/__tests__/generate-dialog.test.tsx +1 -1
  335. package/src/components/testcase/__tests__/review-layout.test.tsx +1 -1
  336. package/src/components/testcase/__tests__/step-editor.test.tsx +2 -2
  337. package/src/components/testcase/ai/generate-dialog.tsx +4 -4
  338. package/src/components/testcase/automation/artifact-diff.tsx +1 -1
  339. package/src/components/testcase/automation/artifact-panel.tsx +6 -6
  340. package/src/components/testcase/automation/verify-report.tsx +1 -1
  341. package/src/components/testcase/create-testcase-dialog.tsx +5 -5
  342. package/src/components/testcase/detail/case-detail-body.tsx +1 -1
  343. package/src/components/testcase/detail/properties.tsx +1 -1
  344. package/src/components/testcase/detail/story-link-editor.tsx +1 -1
  345. package/src/components/testcase/filters/index.tsx +2 -2
  346. package/src/components/testcase/folder-tree.tsx +2 -2
  347. package/src/components/testcase/generation/batch-actions.tsx +1 -1
  348. package/src/components/testcase/generation/draft-card.tsx +5 -5
  349. package/src/components/testcase/generation/review-layout.tsx +2 -2
  350. package/src/components/testcase/inline-editors/assignee-editor.tsx +1 -1
  351. package/src/components/testcase/list/case-row.tsx +1 -1
  352. package/src/components/testcase/list/grouped-list.tsx +1 -1
  353. package/src/components/testcase/list-view.tsx +1 -1
  354. package/src/components/testcase/peek-panel.tsx +4 -4
  355. package/src/components/testcase/plans/add-to-plan-bar.tsx +2 -2
  356. package/src/components/testcase/plans/add-to-plan-dialog.tsx +4 -4
  357. package/src/components/testcase/plans/create-plan-dialog.tsx +5 -5
  358. package/src/components/testcase/plans/plan-detail.tsx +7 -7
  359. package/src/components/testcase/plans/plan-list.tsx +3 -3
  360. package/src/components/testcase/plans/plan-state-badge.tsx +1 -1
  361. package/src/components/testcase/runs/case-checklist.tsx +3 -3
  362. package/src/components/testcase/runs/convert-bug-button.tsx +1 -1
  363. package/src/components/testcase/runs/failure-list.tsx +2 -2
  364. package/src/components/testcase/runs/pending-bugs.tsx +3 -3
  365. package/src/components/testcase/runs/run-header.tsx +1 -1
  366. package/src/components/testcase/runs/step-row.tsx +2 -2
  367. package/src/components/testcase/step-editor.tsx +2 -2
  368. package/src/components/testcase/table/table-view.tsx +1 -1
  369. package/src/components/testcase/testcase-toolbar.tsx +3 -3
  370. package/src/components/testcase/views/create-view-dialog.tsx +2 -2
  371. package/src/components/testcase/views/view-selector-button.tsx +2 -2
  372. package/src/components/testcase/views/view-switcher.tsx +1 -1
  373. package/src/components/tiptap/mindmap/mind-map-context-menu.tsx +1 -1
  374. package/src/components/tiptap/mindmap/mind-map-controls.tsx +2 -2
  375. package/src/components/tiptap/mindmap/mindmap-fullscreen-dialog.tsx +1 -1
  376. package/src/components/tiptap/notion-like/notion-like-editor-header.tsx +2 -2
  377. package/src/components/tiptap/ui/ai-menu/ai-menu.tsx +1 -1
  378. package/src/components/tiptap/ui/mention-dropdown-menu/mention-dropdown-menu.tsx +1 -1
  379. package/src/components/ui/__tests__/select.test.tsx +1 -1
  380. package/src/components/ui/alert-dialog.tsx +185 -0
  381. package/src/components/ui/alert.tsx +75 -0
  382. package/src/components/ui/avatar.tsx +106 -0
  383. package/src/components/ui/badge.tsx +51 -0
  384. package/src/components/ui/button-group.tsx +1 -1
  385. package/src/components/ui/button.tsx +57 -0
  386. package/src/components/ui/calendar.tsx +1 -1
  387. package/src/components/ui/card.tsx +102 -0
  388. package/src/components/ui/checkbox.tsx +27 -0
  389. package/src/components/ui/collapsible.tsx +19 -0
  390. package/src/components/ui/command.tsx +2 -2
  391. package/src/components/ui/dialog.tsx +155 -0
  392. package/src/components/ui/dropdown-menu.tsx +265 -0
  393. package/src/components/ui/field.tsx +236 -0
  394. package/src/components/ui/input-group.tsx +157 -0
  395. package/src/components/ui/input.tsx +19 -0
  396. package/src/components/ui/item.tsx +1 -1
  397. package/src/components/ui/label.tsx +17 -0
  398. package/src/components/ui/message-scroller.tsx +1 -1
  399. package/src/components/ui/pagination.tsx +130 -0
  400. package/src/components/ui/questionnaire.tsx +1 -1
  401. package/src/components/ui/select.tsx +232 -0
  402. package/src/components/ui/separator.tsx +23 -0
  403. package/src/components/ui/sheet.tsx +134 -0
  404. package/src/components/ui/sidebar.tsx +721 -0
  405. package/src/components/ui/skeleton.tsx +13 -0
  406. package/src/components/ui/switch.tsx +30 -0
  407. package/src/components/ui/table.tsx +113 -0
  408. package/src/components/ui/textarea.tsx +17 -0
  409. package/src/components/ui/toast.tsx +308 -0
  410. package/src/components/ui/tooltip.tsx +64 -0
  411. package/src/components/workspace/__tests__/dialogs/create-workspace-dialog.test.tsx +3 -3
  412. package/src/components/workspace/__tests__/dialogs/delete-workspace-options.test.tsx +3 -3
  413. package/src/components/workspace/__tests__/dialogs/edit-workspace-dialog.test.tsx +3 -3
  414. package/src/components/workspace/__tests__/header/workspace-header.test.tsx +3 -3
  415. package/src/components/workspace/__tests__/kb/workspace-kb-card.test.tsx +2 -2
  416. package/src/components/workspace/__tests__/members/workspace-members-manager.test.tsx +5 -5
  417. package/src/components/workspace/__tests__/projects/workspace-project-list.test.tsx +2 -2
  418. package/src/components/workspace/dialogs/create-workspace-dialog.tsx +3 -3
  419. package/src/components/workspace/dialogs/delete-workspace-options.tsx +3 -3
  420. package/src/components/workspace/dialogs/edit-workspace-dialog.tsx +3 -3
  421. package/src/components/workspace/header/workspace-header.tsx +3 -3
  422. package/src/components/workspace/kb/workspace-kb-card.tsx +6 -6
  423. package/src/components/workspace/kb/workspace-kb-manage-dialog.tsx +5 -5
  424. package/src/components/workspace/kb/workspace-quick-doc-dialog.tsx +6 -6
  425. package/src/components/workspace/members/workspace-members-manager.tsx +6 -6
  426. package/src/components/workspace/projects/workspace-project-list.tsx +2 -2
  427. package/src/hooks/use-load-more.ts +57 -0
  428. package/src/hooks/use-mobile.ts +19 -0
  429. package/src/hooks/use-notifications.ts +1 -1
  430. package/src/lib/changelog/sdk-versions.ts +1 -1
  431. package/src/lib/datetime.ts +209 -4
  432. package/src/lib/sanitize.ts +17 -19
  433. package/src/lib/toast-error.ts +1 -1
  434. package/src/providers/index.tsx +2 -2
  435. package/src/routes/__desktop/onboarding/route.lazy.tsx +6 -6
  436. package/src/routes/__root.tsx +2 -2
  437. package/src/routes/_login/forgot-password/route.lazy.tsx +1 -1
  438. package/src/routes/_login/login/route.lazy.tsx +4 -4
  439. package/src/routes/_login/register/route.lazy.tsx +2 -2
  440. package/src/routes/_login/reset-password/route.lazy.tsx +1 -1
  441. package/src/routes/_login/verify-email/route.lazy.tsx +1 -1
  442. package/src/routes/_nav/-components/nav-not-found.tsx +1 -1
  443. package/src/routes/_nav/bugs/$bugId/route.tsx +1 -1
  444. package/src/routes/_nav/dashboard/-components/activity-feed.tsx +1 -1
  445. package/src/routes/_nav/dashboard/-components/quick-actions.tsx +1 -1
  446. package/src/routes/_nav/dashboard/-components/stats-grid.tsx +1 -1
  447. package/src/routes/_nav/dashboard/route.lazy.tsx +1 -1
  448. package/src/routes/_nav/knowledge/$kbId/-components/knowledge-workspace-pending.tsx +1 -1
  449. package/src/routes/_nav/knowledge/$kbId/doc/$docId/route.tsx +1 -1
  450. package/src/routes/_nav/knowledge/$kbId/route.lazy.tsx +1 -1
  451. package/src/routes/_nav/knowledge/bookmarks/$id.lazy.tsx +6 -6
  452. package/src/routes/_nav/knowledge/bookmarks/index.lazy.tsx +1 -1
  453. package/src/routes/_nav/knowledge/compliance/$id.lazy.tsx +5 -5
  454. package/src/routes/_nav/knowledge/dictionaries/$id.lazy.tsx +3 -3
  455. package/src/routes/_nav/knowledge/index.lazy.tsx +6 -6
  456. package/src/routes/_nav/knowledge/laws/$id.lazy.tsx +5 -5
  457. package/src/routes/_nav/projects/$projectId/$storyId/route.lazy.tsx +2 -2
  458. package/src/routes/_nav/projects/$projectId/index.lazy.tsx +1 -1
  459. package/src/routes/_nav/projects/$projectId/iterations/$iterationId/route.lazy.tsx +5 -5
  460. package/src/routes/_nav/projects/$projectId/iterations/index.lazy.tsx +1 -1
  461. package/src/routes/_nav/projects/$projectId/settings/route.lazy.tsx +8 -8
  462. package/src/routes/_nav/settings/ai/hosted/route.lazy.tsx +2 -2
  463. package/src/routes/_nav/settings/ai/index/route.lazy.tsx +1 -1
  464. package/src/routes/_nav/settings/billing/route.lazy.tsx +1 -1
  465. package/src/routes/_nav/settings/connection/route.lazy.tsx +3 -3
  466. package/src/routes/_nav/settings/general/route.lazy.tsx +3 -3
  467. package/src/routes/_nav/settings/privacy/route.lazy.tsx +5 -5
  468. package/src/routes/_nav/settings/route.tsx +1 -1
  469. package/src/routes/_nav/stories/-components/story-detail-skeleton.tsx +1 -1
  470. package/src/routes/_nav/test-cases/$caseId/route.tsx +1 -1
  471. package/src/routes/_nav/test-cases/generation/$generationId/route.tsx +1 -1
  472. package/src/routes/_nav/test-cases/plans/$planId/route.tsx +1 -1
  473. package/src/routes/_nav/test-cases/runs/$runId/route.tsx +1 -1
  474. package/src/routes/_nav/workspaces/$workspaceId/activities/route.lazy.tsx +1 -1
  475. package/src/routes/_nav/workspaces/$workspaceId/settings/route.lazy.tsx +6 -6
  476. package/src/routes/_nav/workspaces/index.lazy.tsx +5 -5
  477. package/src/routes/invite/$token/route.lazy.tsx +2 -2
  478. package/src/routes/share/compliance/$id/route.lazy.tsx +3 -3
  479. package/src/routes/share/law/$id/route.lazy.tsx +3 -3
  480. package/src/server/__tests__/agent-client-graph.test.ts +1 -1
  481. package/src/styles/globals.css +0 -1
@@ -17,7 +17,7 @@
17
17
 
18
18
  import { useNavigate } from '@tanstack/react-router'
19
19
  import { useQuery } from '@tanstack/react-query'
20
- import { Badge } from '@allbluecn/ui/badge'
20
+ import { Badge } from '@/components/ui/badge'
21
21
  import { TagBadge } from '@/components/tags/tag-badge'
22
22
  import { listTagsFn } from '@/server/serverFns/tags'
23
23
  import { SharersAvatarGroup } from './sharers-avatar-group'
@@ -17,13 +17,13 @@
17
17
 
18
18
  import { useEffect, useState } from 'react'
19
19
  import { useQuery } from '@tanstack/react-query'
20
- import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogFooter } from '@allbluecn/ui/dialog'
21
- import { Button } from '@allbluecn/ui/button'
22
- import { Input } from '@allbluecn/ui/input'
23
- import { Textarea } from '@allbluecn/ui/textarea'
24
- import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '@allbluecn/ui/select'
20
+ import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogFooter } from '@/components/ui/dialog'
21
+ import { Button } from '@/components/ui/button'
22
+ import { Input } from '@/components/ui/input'
23
+ import { Textarea } from '@/components/ui/textarea'
24
+ import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '@/components/ui/select'
25
25
  import { Plus, Trash2 } from 'lucide-react'
26
- import { toast } from '@allbluecn/ui/toast'
26
+ import { toast } from '@/components/ui/toast'
27
27
  import { MarkdownEditor } from './markdown-editor'
28
28
  import { NotionDocEditor } from '@/components/tiptap/notion-like'
29
29
  import { KnowledgeTagInput } from '@/components/knowledge/knowledge-tag-input'
@@ -15,8 +15,8 @@
15
15
  // You should have received a copy of the GNU Affero General Public License
16
16
  // along with this program. If not, see <https://www.gnu.org/licenses/>.
17
17
 
18
- import { Input } from '@allbluecn/ui/input'
19
- import { Button } from '@allbluecn/ui/button'
18
+ import { Input } from '@/components/ui/input'
19
+ import { Button } from '@/components/ui/button'
20
20
  import { Plus, Search } from 'lucide-react'
21
21
  import { m } from "@/paraglide/messages.js";
22
22
 
@@ -20,7 +20,7 @@ import { useNavigate } from '@tanstack/react-router'
20
20
  import { useQuery, useQueryClient } from '@tanstack/react-query'
21
21
  import { ArrowLeft } from 'lucide-react'
22
22
  import { KnowledgeDocEditor } from '@/components/knowledge/editor/knowledge-doc-editor'
23
- import { Tooltip, TooltipContent, TooltipTrigger } from '@allbluecn/ui/tooltip'
23
+ import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip'
24
24
  import type { PropertyField, PropertyValues } from '@/components/knowledge/doc-properties'
25
25
  import { updateLegalFn } from '@/server/serverFns/knowledge-public/legal/update'
26
26
  import { getLegalDetailFn } from '@/server/serverFns/knowledge-public/legal/detail'
@@ -16,8 +16,8 @@
16
16
  // along with this program. If not, see <https://www.gnu.org/licenses/>.
17
17
 
18
18
  import { useState } from 'react'
19
- import { Textarea } from '@allbluecn/ui/textarea'
20
- import { Button } from '@allbluecn/ui/button'
19
+ import { Textarea } from '@/components/ui/textarea'
20
+ import { Button } from '@/components/ui/button'
21
21
  import { MarkdownView } from './markdown-view'
22
22
  import { Eye, Pencil } from 'lucide-react'
23
23
  import { m } from "@/paraglide/messages.js";
@@ -17,7 +17,7 @@
17
17
 
18
18
  import { UserAvatar } from '@/components/shared-kit'
19
19
  import { AvatarGroup, AvatarGroupTooltip } from '@/components/magicui/components/animate/avatar-group'
20
- import { Tooltip, TooltipContent, TooltipTrigger } from '@allbluecn/ui/tooltip'
20
+ import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip'
21
21
  import { cn } from '@/lib/utils'
22
22
  import { m } from "@/paraglide/messages.js";
23
23
 
@@ -21,7 +21,7 @@ vi.mock("@tanstack/react-query", () => ({
21
21
  useQueryClient: () => ({ invalidateQueries: vi.fn() }),
22
22
  }));
23
23
 
24
- vi.mock("@allbluecn/ui/sidebar", () => ({
24
+ vi.mock("@/components/ui/sidebar", () => ({
25
25
  SidebarGroup: ({ children }: any) => <div data-testid="sidebar-group">{children}</div>,
26
26
  SidebarMenu: ({ children }: any) => <ul>{children}</ul>,
27
27
  SidebarMenuItem: ({ children }: any) => <li>{children}</li>,
@@ -31,7 +31,7 @@ vi.mock("@allbluecn/ui/sidebar", () => ({
31
31
  useSidebar: () => mockUseSidebar(),
32
32
  }));
33
33
 
34
- vi.mock("@allbluecn/ui/tooltip", () => ({
34
+ vi.mock("@/components/ui/tooltip", () => ({
35
35
  Tooltip: ({ children }: any) => children,
36
36
  TooltipContent: ({ children }: any) => <span>{children}</span>,
37
37
  TooltipTrigger: ({ children }: any) => children,
@@ -9,7 +9,7 @@ vi.mock('@/lib/auth/auth-client', () => ({
9
9
  vi.mock('@/lib/query-client-seam', () => ({
10
10
  getQueryClient: () => ({}),
11
11
  }))
12
- vi.mock('@allbluecn/ui/sidebar', () => ({
12
+ vi.mock('@/components/ui/sidebar', () => ({
13
13
  SidebarMenu: ({ children }: { children?: React.ReactNode }) => <ul>{children}</ul>,
14
14
  SidebarMenuItem: ({ children }: { children?: React.ReactNode }) => <li>{children}</li>,
15
15
  SidebarMenuButton: ({ children, onClick }: { children?: React.ReactNode; onClick?: () => void }) => (
@@ -17,7 +17,7 @@ vi.mock('@allbluecn/ui/sidebar', () => ({
17
17
  ),
18
18
  useSidebar: () => ({ isMobile: false }),
19
19
  }))
20
- vi.mock('@allbluecn/ui/toast', () => ({ toast: { success: vi.fn(), error: vi.fn() } }))
20
+ vi.mock('@/components/ui/toast', () => ({ toast: { success: vi.fn(), error: vi.fn() } }))
21
21
  vi.mock('@/server/serverFns/auth/session', () => ({ logoutRemoteFn: vi.fn() }))
22
22
  vi.mock('@/components/shared-kit', () => ({
23
23
  UserAvatar: ({ name }: { name?: string }) => <div data-testid="avatar">{name}</div>,
@@ -25,7 +25,7 @@ vi.mock('@/components/shared-kit', () => ({
25
25
  vi.mock('@/components/magicui/sparkles-text', () => ({
26
26
  SparklesText: ({ children }: { children?: React.ReactNode }) => <span>{children}</span>,
27
27
  }))
28
- vi.mock('@allbluecn/ui/dropdown-menu', () => ({
28
+ vi.mock('@/components/ui/dropdown-menu', () => ({
29
29
  DropdownMenu: ({ children }: { children?: React.ReactNode }) => <div>{children}</div>,
30
30
  DropdownMenuTrigger: ({ children }: { children?: React.ReactNode }) => <div>{children}</div>,
31
31
  DropdownMenuContent: () => null,
@@ -22,7 +22,7 @@ import {
22
22
  SidebarHeader,
23
23
  SidebarTrigger,
24
24
  useSidebar,
25
- } from "@allbluecn/ui/sidebar";
25
+ } from "@/components/ui/sidebar";
26
26
  import { cn } from "@/lib/utils";
27
27
  import DashboardNavigation from "@/components/layout/sidebar-03/nav-main";
28
28
  import { NotificationsBell } from "@/components/layout/sidebar-03/nav-notifications";
@@ -16,7 +16,7 @@
16
16
  // along with this program. If not, see <https://www.gnu.org/licenses/>.
17
17
 
18
18
  import { useEffect, useState } from "react";
19
- import { SidebarInset, SidebarProvider } from "@allbluecn/ui/sidebar";
19
+ import { SidebarInset, SidebarProvider } from "@/components/ui/sidebar";
20
20
  import { DashboardSidebar } from "@/components/layout/sidebar-03/app-sidebar";
21
21
  import type { ReactNode } from "react";
22
22
 
@@ -25,11 +25,11 @@ import {
25
25
  SidebarMenuSubButton,
26
26
  SidebarMenuSubItem,
27
27
  useSidebar,
28
- } from "@allbluecn/ui/sidebar"
28
+ } from "@/components/ui/sidebar"
29
29
  import {
30
30
  Collapsible,
31
31
  CollapsibleContent,
32
- } from "@allbluecn/ui/collapsible"
32
+ } from "@/components/ui/collapsible"
33
33
  import {
34
34
  Blocks,
35
35
  ChevronDown,
@@ -18,7 +18,7 @@
18
18
  import {
19
19
  Collapsible,
20
20
  CollapsibleContent,
21
- } from "@allbluecn/ui/collapsible";
21
+ } from "@/components/ui/collapsible";
22
22
  import {
23
23
  SidebarGroup,
24
24
  SidebarMenu,
@@ -28,13 +28,13 @@ import {
28
28
  SidebarMenuSubButton,
29
29
  SidebarMenuItem as SidebarMenuSubItem,
30
30
  useSidebar,
31
- } from "@allbluecn/ui/sidebar";
32
- import { Badge } from "@allbluecn/ui/badge";
31
+ } from "@/components/ui/sidebar";
32
+ import { Badge } from "@/components/ui/badge";
33
33
  import {
34
34
  Tooltip,
35
35
  TooltipContent,
36
36
  TooltipTrigger,
37
- } from "@allbluecn/ui/tooltip";
37
+ } from "@/components/ui/tooltip";
38
38
  import {
39
39
  BookOpenText,
40
40
  BookMarked,
@@ -18,8 +18,8 @@
18
18
  import {
19
19
  Collapsible,
20
20
  CollapsibleContent,
21
- } from "@allbluecn/ui/collapsible";
22
- import { Badge } from "@allbluecn/ui/badge";
21
+ } from "@/components/ui/collapsible";
22
+ import { Badge } from "@/components/ui/badge";
23
23
  import {
24
24
  SidebarMenu,
25
25
  SidebarMenuButton,
@@ -28,12 +28,12 @@ import {
28
28
  SidebarMenuSubButton,
29
29
  SidebarMenuItem as SidebarMenuSubItem,
30
30
  useSidebar,
31
- } from "@allbluecn/ui/sidebar";
31
+ } from "@/components/ui/sidebar";
32
32
  import {
33
33
  Tooltip,
34
34
  TooltipContent,
35
35
  TooltipTrigger,
36
- } from "@allbluecn/ui/tooltip"
36
+ } from "@/components/ui/tooltip"
37
37
  import { cn } from "@/lib/utils";
38
38
  import {
39
39
  ChevronDown, ChevronUp,
@@ -19,7 +19,7 @@ import { useState } from 'react'
19
19
  import { useQuery, useQueryClient } from '@tanstack/react-query'
20
20
  import { Link, useNavigate } from '@tanstack/react-router'
21
21
  import { Bell, CheckCheck } from 'lucide-react'
22
- import { Button } from '@allbluecn/ui/button'
22
+ import { Button } from '@/components/ui/button'
23
23
  import {
24
24
  Empty,
25
25
  EmptyHeader,
@@ -15,7 +15,7 @@
15
15
  // You should have received a copy of the GNU Affero General Public License
16
16
  // along with this program. If not, see <https://www.gnu.org/licenses/>.
17
17
  import { Search, Command } from "lucide-react"
18
- import { useSidebar } from "@allbluecn/ui/sidebar"
18
+ import { useSidebar } from "@/components/ui/sidebar"
19
19
  import { cn } from "@/lib/utils"
20
20
  import { setCommandPaletteOpen } from "@/lib/commands/command-palette-state"
21
21
  import { m } from "@/paraglide/messages.js";
@@ -3,7 +3,7 @@ import {
3
3
  SidebarMenuButton,
4
4
  SidebarMenuItem,
5
5
  useSidebar,
6
- } from "@allbluecn/ui/sidebar"
6
+ } from "@/components/ui/sidebar"
7
7
  import { BookOpen, ExternalLink, ScrollText } from "lucide-react"
8
8
  import { cn } from "@/lib/utils"
9
9
  import { Link } from "@tanstack/react-router"
@@ -25,8 +25,8 @@ import {
25
25
  SidebarMenuButton,
26
26
  SidebarMenuItem,
27
27
  useSidebar,
28
- } from "@allbluecn/ui/sidebar";
29
- import { Tooltip, TooltipContent, TooltipTrigger } from "@allbluecn/ui/tooltip";
28
+ } from "@/components/ui/sidebar";
29
+ import { Tooltip, TooltipContent, TooltipTrigger } from "@/components/ui/tooltip";
30
30
  import { cn } from "@/lib/utils";
31
31
  import { isParentActive } from "@/lib/sidebar-utils";
32
32
  import { LucideIconByName } from "@/components/shared-kit/icons/lucide-icon-picker/lucide-icon-by-name";
@@ -23,13 +23,13 @@ import {
23
23
  DropdownMenuSeparator,
24
24
  DropdownMenuShortcut,
25
25
  DropdownMenuTrigger,
26
- } from "@allbluecn/ui/dropdown-menu";
26
+ } from "@/components/ui/dropdown-menu";
27
27
  import {
28
28
  SidebarMenu,
29
29
  SidebarMenuButton,
30
30
  SidebarMenuItem,
31
31
  useSidebar,
32
- } from "@allbluecn/ui/sidebar";
32
+ } from "@/components/ui/sidebar";
33
33
  import { ChevronsUpDown, Plus } from "lucide-react";
34
34
  import * as React from "react";
35
35
 
@@ -24,7 +24,7 @@ import {
24
24
  Users,
25
25
  } from "lucide-react";
26
26
  import { logoutRemoteFn } from '@/server/serverFns/auth/session'
27
- import { toast } from '@allbluecn/ui/toast'
27
+ import { toast } from '@/components/ui/toast'
28
28
 
29
29
  import {
30
30
  DropdownMenu,
@@ -34,13 +34,13 @@ import {
34
34
  DropdownMenuLabel,
35
35
  DropdownMenuSeparator,
36
36
  DropdownMenuTrigger,
37
- } from "@allbluecn/ui/dropdown-menu";
37
+ } from "@/components/ui/dropdown-menu";
38
38
  import {
39
39
  SidebarMenu,
40
40
  SidebarMenuButton,
41
41
  SidebarMenuItem,
42
42
  useSidebar,
43
- } from "@allbluecn/ui/sidebar";
43
+ } from "@/components/ui/sidebar";
44
44
  import { signOut, useSession } from "@/lib/auth/auth-client";
45
45
  import { useRouter, useMatches } from "@tanstack/react-router";
46
46
  import { getQueryClient } from "@/lib/query-client-seam";
@@ -2,19 +2,19 @@
2
2
  // Adapted from @hextaui/settings-notifications (https://www.hextaui.com)
3
3
  import { useEffect, useState } from 'react'
4
4
  import { useQuery, useQueryClient } from '@tanstack/react-query'
5
- import { toast } from '@allbluecn/ui/toast'
5
+ import { toast } from '@/components/ui/toast'
6
6
  import { Bell, Mail } from 'lucide-react'
7
- import { Field, FieldContent, FieldDescription, FieldLabel } from '@allbluecn/ui/field'
8
- import { InputGroup, InputGroupInput } from '@allbluecn/ui/input-group'
7
+ import { Field, FieldContent, FieldDescription, FieldLabel } from '@/components/ui/field'
8
+ import { InputGroup, InputGroupInput } from '@/components/ui/input-group'
9
9
  import {
10
10
  Select,
11
11
  SelectContent,
12
12
  SelectItem,
13
13
  SelectTrigger,
14
14
  SelectValue,
15
- } from '@allbluecn/ui/select'
16
- import { Separator } from '@allbluecn/ui/separator'
17
- import { Switch } from '@allbluecn/ui/switch'
15
+ } from '@/components/ui/select'
16
+ import { Separator } from '@/components/ui/separator'
17
+ import { Switch } from '@/components/ui/switch'
18
18
  import { useDebouncedCallback } from '@/lib/pacer'
19
19
  import { getNotificationPreferencesFn, updateNotificationPreferencesFn } from '@/server/serverFns/notifications'
20
20
  import { getEmailVerifiedStatusFn } from '@/server/serverFns/auth/email-verification'
@@ -17,21 +17,21 @@ import {
17
17
  X,
18
18
  } from 'lucide-react'
19
19
  import type { LucideIcon } from 'lucide-react'
20
- import { Badge } from '@allbluecn/ui/badge'
21
- import { Button } from '@allbluecn/ui/button'
20
+ import { Badge } from '@/components/ui/badge'
21
+ import { Button } from '@/components/ui/button'
22
22
  import {
23
23
  Card,
24
24
  CardContent,
25
25
  CardDescription,
26
26
  CardHeader,
27
- } from '@allbluecn/ui/card'
27
+ } from '@/components/ui/card'
28
28
  import {
29
29
  DropdownMenu,
30
30
  DropdownMenuContent,
31
31
  DropdownMenuItem,
32
32
  DropdownMenuSeparator,
33
33
  DropdownMenuTrigger,
34
- } from '@allbluecn/ui/dropdown-menu'
34
+ } from '@/components/ui/dropdown-menu'
35
35
  import {
36
36
  Empty,
37
37
  EmptyHeader,
@@ -44,8 +44,8 @@ import {
44
44
  SelectItem,
45
45
  SelectTrigger,
46
46
  SelectValue,
47
- } from '@allbluecn/ui/select'
48
- import { Separator } from '@allbluecn/ui/separator'
47
+ } from '@/components/ui/select'
48
+ import { Separator } from '@/components/ui/separator'
49
49
  import { cn } from '@/lib/utils'
50
50
  import { useNotifications, NOTIFICATION_LIST_KEY, NOTIFICATION_ROOT_KEY } from '@/hooks/use-notifications'
51
51
  import type { NotificationCategory, NotificationItem } from '@allbluecn/kernel'
@@ -25,16 +25,16 @@ import {
25
25
  SelectItem,
26
26
  SelectTrigger,
27
27
  SelectValue,
28
- } from "@allbluecn/ui/select";
29
- import { Button } from "@allbluecn/ui/button";
30
- import { Input } from "@allbluecn/ui/input";
28
+ } from "@/components/ui/select";
29
+ import { Button } from "@/components/ui/button";
30
+ import { Input } from "@/components/ui/input";
31
31
  import {
32
32
  Dialog,
33
33
  DialogContent,
34
34
  DialogFooter,
35
35
  DialogHeader,
36
36
  DialogTitle,
37
- } from "@allbluecn/ui/dialog";
37
+ } from "@/components/ui/dialog";
38
38
  import { LucideIconPicker } from "@/components/shared-kit/icons/lucide-icon-picker";
39
39
  import { extractDisplayId, validateDisplayId } from "@/lib/project-display-id";
40
40
  import { checkDisplayIdAvailableFn, createProjectFn, updateProjectFn } from "@/server/serverFns/project";
@@ -18,10 +18,10 @@
18
18
  import { useState, useEffect } from "react";
19
19
  import { useForm } from "@tanstack/react-form";
20
20
  import { Loader2 } from "lucide-react";
21
- import { toast } from '@allbluecn/ui/toast';
22
- import { Button } from "@allbluecn/ui/button";
23
- import { Input } from "@allbluecn/ui/input";
24
- import { Label } from "@allbluecn/ui/label";
21
+ import { toast } from '@/components/ui/toast';
22
+ import { Button } from "@/components/ui/button";
23
+ import { Input } from "@/components/ui/input";
24
+ import { Label } from "@/components/ui/label";
25
25
  import {
26
26
  Dialog,
27
27
  DialogContent,
@@ -29,14 +29,14 @@ import {
29
29
  DialogFooter,
30
30
  DialogHeader,
31
31
  DialogTitle,
32
- } from "@allbluecn/ui/dialog";
32
+ } from "@/components/ui/dialog";
33
33
  import {
34
34
  Select,
35
35
  SelectContent,
36
36
  SelectItem,
37
37
  SelectTrigger,
38
38
  SelectValue,
39
- } from "@allbluecn/ui/select";
39
+ } from "@/components/ui/select";
40
40
  import { addProjectMemberFromTeamFn } from "@/server/serverFns/project";
41
41
  import { listTeamUsersFn } from "@/server/serverFns/team";
42
42
  import type { ProjectRole } from "@/types/project";
@@ -17,9 +17,9 @@
17
17
 
18
18
  import { useState } from "react";
19
19
  import { MoreHorizontal, UserPlus, Trash2, Crown } from "lucide-react";
20
- import { toast } from '@allbluecn/ui/toast';
21
- import { Button } from "@allbluecn/ui/button";
22
- import { Badge } from "@allbluecn/ui/badge";
20
+ import { toast } from '@/components/ui/toast';
21
+ import { Button } from "@/components/ui/button";
22
+ import { Badge } from "@/components/ui/badge";
23
23
  import {
24
24
  DropdownMenu,
25
25
  DropdownMenuContent,
@@ -27,8 +27,8 @@ import {
27
27
  DropdownMenuLabel,
28
28
  DropdownMenuSeparator,
29
29
  DropdownMenuTrigger,
30
- } from "@allbluecn/ui/dropdown-menu";
31
- import { ConfirmDialog } from "@allbluecn/ui/components/confirm-dialog";
30
+ } from "@/components/ui/dropdown-menu";
31
+ import { ConfirmDialog } from "@/components/confirm-dialog";
32
32
  import { UserAvatar } from "@/components/shared-kit";
33
33
  import type { AvatarConfig, ShapeType } from "@allbluecn/kernel";
34
34
  import { InviteMemberDialog } from "./invite-member-dialog";
@@ -17,7 +17,7 @@
17
17
 
18
18
  import { Link } from "@tanstack/react-router";
19
19
  import { ChevronRight } from "lucide-react";
20
- import { Card } from "@allbluecn/ui/card";
20
+ import { Card } from "@/components/ui/card";
21
21
  import type { ProjectModuleOverview } from "@/types/project";
22
22
  import { m } from "@/paraglide/messages.js";
23
23
 
@@ -18,14 +18,14 @@
18
18
  // apps/web/src/components/settings/ai/api-key-field.tsx
19
19
  import { useState } from "react"
20
20
  import { Eye, EyeOff, KeyRound, Trash2 } from "lucide-react"
21
- import { Button } from "@allbluecn/ui/button"
22
- import { Input } from "@allbluecn/ui/input"
21
+ import { Button } from "@/components/ui/button"
22
+ import { Input } from "@/components/ui/input"
23
23
  import {
24
24
  Field,
25
25
  FieldContent,
26
26
  FieldDescription,
27
27
  FieldLabel,
28
- } from "@allbluecn/ui/field"
28
+ } from "@/components/ui/field"
29
29
  import { m } from "@/paraglide/messages.js";
30
30
 
31
31
  export function ApiKeyField({
@@ -28,8 +28,8 @@ import { useState } from "react"
28
28
  import { Eye, EyeOff, ShieldCheck, Trash2 } from "lucide-react"
29
29
  import { useByok } from "@tanstack/ai-react"
30
30
  import { byok } from "@/lib/ai/byok"
31
- import { Button } from "@allbluecn/ui/button"
32
- import { Input } from "@allbluecn/ui/input"
31
+ import { Button } from "@/components/ui/button"
32
+ import { Input } from "@/components/ui/input"
33
33
  import { m } from "@/paraglide/messages.js"
34
34
 
35
35
  type ByokKind = "openai" | "anthropic" | "gemini" | "groq" | "grok" | "openrouter" | "ollama" | "openai-compatible" | "mistral" | "bedrock"
@@ -18,12 +18,12 @@
18
18
  // apps/web/src/components/settings/ai/create-custom-model-dialog.tsx
19
19
  import { useState } from "react"
20
20
  import { useMutation } from "@tanstack/react-query"
21
- import { toast } from '@allbluecn/ui/toast'
21
+ import { toast } from '@/components/ui/toast'
22
22
  import { MODEL_CAPABILITY_OPTIONS } from "@allbluecn/kernel"
23
23
  import type { ModelCapability } from "@allbluecn/kernel"
24
- import { Button } from "@allbluecn/ui/button"
25
- import { Input } from "@allbluecn/ui/input"
26
- import { Label } from "@allbluecn/ui/label"
24
+ import { Button } from "@/components/ui/button"
25
+ import { Input } from "@/components/ui/input"
26
+ import { Label } from "@/components/ui/label"
27
27
  import {
28
28
  Dialog,
29
29
  DialogContent,
@@ -31,7 +31,7 @@ import {
31
31
  DialogFooter,
32
32
  DialogHeader,
33
33
  DialogTitle,
34
- } from "@allbluecn/ui/dialog"
34
+ } from "@/components/ui/dialog"
35
35
  import { cn } from "@/lib/utils"
36
36
  import { createCustomModelFn } from "@/server/serverFns/design/ai/providers"
37
37
  import { m } from "@/paraglide/messages.js";
@@ -1,9 +1,9 @@
1
1
  import { useEffect, useState } from "react"
2
2
  import { useMutation, useQueryClient } from "@tanstack/react-query"
3
- import { toast } from '@allbluecn/ui/toast'
4
- import { Input } from "@allbluecn/ui/input"
5
- import { Label } from "@allbluecn/ui/label"
6
- import { Button } from "@allbluecn/ui/button"
3
+ import { toast } from '@/components/ui/toast'
4
+ import { Input } from "@/components/ui/input"
5
+ import { Label } from "@/components/ui/label"
6
+ import { Button } from "@/components/ui/button"
7
7
  import {
8
8
  Dialog,
9
9
  DialogContent,
@@ -11,7 +11,7 @@ import {
11
11
  DialogFooter,
12
12
  DialogHeader,
13
13
  DialogTitle,
14
- } from "@allbluecn/ui/dialog"
14
+ } from "@/components/ui/dialog"
15
15
  import { createCustomProviderFn } from "@/server/serverFns/design/ai/providers"
16
16
  import { m } from "@/paraglide/messages.js";
17
17
  import { toastError } from "@/lib/toast-error";
@@ -28,9 +28,9 @@ import {
28
28
  Terminal,
29
29
  TriangleAlert,
30
30
  } from 'lucide-react'
31
- import { Badge } from '@allbluecn/ui/badge'
32
- import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@allbluecn/ui/card'
33
- import { toast } from '@allbluecn/ui/toast'
31
+ import { Badge } from '@/components/ui/badge'
32
+ import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card'
33
+ import { toast } from '@/components/ui/toast'
34
34
  import { cn } from '@/lib/utils'
35
35
  import { m } from '@/paraglide/messages.js'
36
36
 
@@ -22,8 +22,8 @@ import type {
22
22
  AiModelMeta,
23
23
  AiProviderMeta,
24
24
  } from "@allbluecn/kernel"
25
- import { Badge } from "@allbluecn/ui/badge"
26
- import { Switch } from "@allbluecn/ui/switch"
25
+ import { Badge } from "@/components/ui/badge"
26
+ import { Switch } from "@/components/ui/switch"
27
27
  import { cn } from "@/lib/utils"
28
28
  import { ProviderLogo } from "./provider-logo"
29
29
  import {
@@ -17,7 +17,7 @@
17
17
 
18
18
  import { useMemo, useState } from "react"
19
19
  import { useMutation } from "@tanstack/react-query"
20
- import { toast } from '@allbluecn/ui/toast'
20
+ import { toast } from '@/components/ui/toast'
21
21
  import { DragDropProvider, type DragEndEvent } from "@dnd-kit/react"
22
22
  import { useSortable } from "@dnd-kit/react/sortable"
23
23
  import { Loader2, Plus, Power, RefreshCw, Search } from "lucide-react"
@@ -28,9 +28,9 @@ import {
28
28
  type ModelCapability,
29
29
  type ModelTab,
30
30
  } from "@allbluecn/kernel"
31
- import { Button } from "@allbluecn/ui/button"
32
- import { Input } from "@allbluecn/ui/input"
33
- import { Switch } from "@allbluecn/ui/switch"
31
+ import { Button } from "@/components/ui/button"
32
+ import { Input } from "@/components/ui/input"
33
+ import { Switch } from "@/components/ui/switch"
34
34
  import { cn } from "@/lib/utils"
35
35
  import { ModelCard } from "./model-card"
36
36
  import { CreateCustomModelDialog } from "./create-custom-model-dialog"
@@ -21,7 +21,7 @@ import { Link, useRouter } from "@tanstack/react-router"
21
21
  import { AlertTriangle } from "lucide-react"
22
22
  import type { AiProviderMeta } from "@allbluecn/kernel"
23
23
  import { PROVIDER_BADGE_STYLES } from "@allbluecn/kernel"
24
- import { Switch } from "@allbluecn/ui/switch"
24
+ import { Switch } from "@/components/ui/switch"
25
25
  import { cn } from "@/lib/utils"
26
26
  import { updateAiProviderFn } from "@/server/serverFns/design/ai/providers"
27
27
  import { ProviderCombine } from "./provider-combine"
@@ -30,12 +30,12 @@ import {
30
30
  Sparkles,
31
31
  Zap,
32
32
  } from "lucide-react"
33
- import { toast } from "@allbluecn/ui/toast"
33
+ import { toast } from "@/components/ui/toast"
34
34
  import type { AiModelMeta, AiProviderMeta } from "@allbluecn/kernel"
35
- import { Button } from "@allbluecn/ui/button"
36
- import { Input } from "@allbluecn/ui/input"
37
- import { Switch } from "@allbluecn/ui/switch"
38
- import { Badge } from "@allbluecn/ui/badge"
35
+ import { Button } from "@/components/ui/button"
36
+ import { Input } from "@/components/ui/input"
37
+ import { Switch } from "@/components/ui/switch"
38
+ import { Badge } from "@/components/ui/badge"
39
39
  import { cn } from "@/lib/utils"
40
40
  import {
41
41
  Field,
@@ -46,7 +46,7 @@ import {
46
46
  FieldSet,
47
47
  FieldLegend,
48
48
  FieldSeparator,
49
- } from "@allbluecn/ui/field"
49
+ } from "@/components/ui/field"
50
50
  import {
51
51
  deleteAiProviderConfigFn,
52
52
  getAiProviderFn,