@pstdio/ui 0.26.0 → 0.36.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 (620) hide show
  1. package/dist/EquationComponent-DDd5UoIP.js +65 -0
  2. package/dist/EquationComponent-DDd5UoIP.js.map +1 -0
  3. package/dist/MermaidComponent-Cxg7NtjX.js +90 -0
  4. package/dist/MermaidComponent-Cxg7NtjX.js.map +1 -0
  5. package/dist/browser-storage-C_ipoNwP.js +37 -0
  6. package/dist/browser-storage-C_ipoNwP.js.map +1 -0
  7. package/dist/chat-ui.d.ts +688 -2
  8. package/dist/chat-ui.js +3271 -2848
  9. package/dist/chat-ui.js.map +1 -1
  10. package/dist/data-table-stats-row-UuTinYfL.js +415 -0
  11. package/dist/data-table-stats-row-UuTinYfL.js.map +1 -0
  12. package/dist/data-table.d.ts +174 -2
  13. package/dist/data-table.js +1349 -1187
  14. package/dist/data-table.js.map +1 -1
  15. package/dist/diff-bubble-DZsarmSG.js +61 -0
  16. package/dist/diff-bubble-DZsarmSG.js.map +1 -0
  17. package/dist/diff-drawer-45rpk3aq.js +776 -0
  18. package/dist/diff-drawer-45rpk3aq.js.map +1 -0
  19. package/dist/diff-editor-CGpeyoCE.js +124 -0
  20. package/dist/diff-editor-CGpeyoCE.js.map +1 -0
  21. package/dist/diff-size-Dydn_Uw5.js +61 -0
  22. package/dist/diff-size-Dydn_Uw5.js.map +1 -0
  23. package/dist/diff-viewer-hGkaF_zW.js +558 -0
  24. package/dist/diff-viewer-hGkaF_zW.js.map +1 -0
  25. package/dist/diff.d.ts +128 -2
  26. package/dist/diff.js +163 -1302
  27. package/dist/diff.js.map +1 -1
  28. package/dist/empty-state-3mVV_pV-.js +38 -0
  29. package/dist/empty-state-3mVV_pV-.js.map +1 -0
  30. package/dist/file-change-badge-0QFNv82B.js +64 -0
  31. package/dist/file-change-badge-0QFNv82B.js.map +1 -0
  32. package/dist/index-BfFLdci8.d.ts +189 -0
  33. package/dist/index-Dd6e8lU_.d.ts +61 -0
  34. package/dist/index-DlmvvQ6x.d.ts +143 -0
  35. package/dist/index.d.ts +1504 -40
  36. package/dist/index.js +3121 -2707
  37. package/dist/index.js.map +1 -1
  38. package/dist/kanban-renderer.d.ts +339 -2
  39. package/dist/kanban-renderer.js +1413 -1085
  40. package/dist/kanban-renderer.js.map +1 -1
  41. package/dist/list-row-De9R2zKU.js +1008 -0
  42. package/dist/list-row-De9R2zKU.js.map +1 -0
  43. package/dist/mermaid-renderer-DImi0fDp.js +553 -0
  44. package/dist/mermaid-renderer-DImi0fDp.js.map +1 -0
  45. package/dist/mermaid.d.ts +12 -2
  46. package/dist/mermaid.js +2 -5
  47. package/dist/monaco-browser-CLRPSE4-.js +14 -0
  48. package/dist/monaco-browser-CLRPSE4-.js.map +1 -0
  49. package/dist/param-editor-I0dKQeeZ.js +225 -0
  50. package/dist/param-editor-I0dKQeeZ.js.map +1 -0
  51. package/dist/param-editor-field-CBguLs_b.js +2368 -0
  52. package/dist/param-editor-field-CBguLs_b.js.map +1 -0
  53. package/dist/param-editor.d.ts +407 -2
  54. package/dist/param-editor.js +3 -47
  55. package/dist/prism-pSHJejZx.js +646 -0
  56. package/dist/prism-pSHJejZx.js.map +1 -0
  57. package/dist/radio-CiFrDN6O.js +54 -0
  58. package/dist/radio-CiFrDN6O.js.map +1 -0
  59. package/dist/resource-badge-95WPVlZf.d.ts +76 -0
  60. package/dist/rich-text-BgDvOEGH.js +7021 -0
  61. package/dist/rich-text-BgDvOEGH.js.map +1 -0
  62. package/dist/rich-text.d.ts +3 -2
  63. package/dist/rich-text.js +2 -429
  64. package/dist/rolldown-runtime-Dy4uBu1J.js +11 -0
  65. package/dist/scroll-area-Cr1lNXAr.js +100 -0
  66. package/dist/scroll-area-Cr1lNXAr.js.map +1 -0
  67. package/dist/slider-hwHYe98I.js +423 -0
  68. package/dist/slider-hwHYe98I.js.map +1 -0
  69. package/dist/style.css +2 -1
  70. package/dist/terminal.d.ts +203 -2
  71. package/dist/terminal.js +324 -360
  72. package/dist/terminal.js.map +1 -1
  73. package/dist/theme-0cbWICbg.js +2936 -0
  74. package/dist/theme-0cbWICbg.js.map +1 -0
  75. package/dist/theme-preference-pzfuK5cH.js +101 -0
  76. package/dist/theme-preference-pzfuK5cH.js.map +1 -0
  77. package/dist/theme.d.ts +3 -2
  78. package/dist/theme.js +2 -15
  79. package/dist/tree-list-BUfDQz3v.js +1449 -0
  80. package/dist/tree-list-BUfDQz3v.js.map +1 -0
  81. package/dist/types-yjKBk07w.d.ts +161 -0
  82. package/dist/workspace-badge-Brm3Xr3m.d.ts +75 -0
  83. package/dist/workspace-badge-DrvH8WKV.js +241 -0
  84. package/dist/workspace-badge-DrvH8WKV.js.map +1 -0
  85. package/dist-monaco/assets/codicon-ngg6Pgfi.ttf +0 -0
  86. package/dist-monaco/assets/css.worker-DFdt6_zu.js +89 -0
  87. package/dist-monaco/assets/editor.worker-O-CH8JUO.js +26 -0
  88. package/dist-monaco/assets/html.worker-JUzsMP-j.js +502 -0
  89. package/dist-monaco/assets/json.worker-B4dEhy0e.js +58 -0
  90. package/dist-monaco/assets/ts.worker-CmEKzkmF.js +67734 -0
  91. package/dist-monaco/monaco.css +1 -0
  92. package/dist-monaco/monaco.js +1201 -0
  93. package/package.json +26 -13
  94. package/dist/EquationComponent-DeDYHvqY.js +0 -62
  95. package/dist/EquationComponent-DeDYHvqY.js.map +0 -1
  96. package/dist/MermaidComponent-X__B6qib.js +0 -60
  97. package/dist/MermaidComponent-X__B6qib.js.map +0 -1
  98. package/dist/activity-timeline-BynMjXSB.js +0 -283
  99. package/dist/activity-timeline-BynMjXSB.js.map +0 -1
  100. package/dist/alert-ubcrW24X.js +0 -33
  101. package/dist/alert-ubcrW24X.js.map +0 -1
  102. package/dist/browser-storage-BinyFNJX.js +0 -40
  103. package/dist/browser-storage-BinyFNJX.js.map +0 -1
  104. package/dist/components/activity/activity-avatar.d.ts +0 -9
  105. package/dist/components/activity/activity-comment.d.ts +0 -27
  106. package/dist/components/activity/activity-composer.d.ts +0 -18
  107. package/dist/components/activity/activity-event.d.ts +0 -12
  108. package/dist/components/activity/activity-root.d.ts +0 -15
  109. package/dist/components/activity/activity-timeline.d.ts +0 -6
  110. package/dist/components/activity/activity.types.d.ts +0 -5
  111. package/dist/components/activity/index.d.ts +0 -25
  112. package/dist/components/chat-ui/components/ai-conversation.d.ts +0 -603
  113. package/dist/components/chat-ui/components/ai-message.d.ts +0 -91
  114. package/dist/components/chat-ui/components/ai-response.d.ts +0 -5
  115. package/dist/components/chat-ui/components/approval-prompt.d.ts +0 -8
  116. package/dist/components/chat-ui/components/attachment-list.d.ts +0 -23
  117. package/dist/components/chat-ui/components/auto-scroll.d.ts +0 -37
  118. package/dist/components/chat-ui/components/chat-history-story.d.ts +0 -14
  119. package/dist/components/chat-ui/components/chat-input-actions.d.ts +0 -13
  120. package/dist/components/chat-ui/components/chat-input-attachments.d.ts +0 -12
  121. package/dist/components/chat-ui/components/chat-input-history.d.ts +0 -6
  122. package/dist/components/chat-ui/components/chat-input-question-prompt.d.ts +0 -36
  123. package/dist/components/chat-ui/components/chat-input.d.ts +0 -33
  124. package/dist/components/chat-ui/components/chat-message-animation.d.ts +0 -22
  125. package/dist/components/chat-ui/components/chat-message-list-items.d.ts +0 -17
  126. package/dist/components/chat-ui/components/chat-message-list.d.ts +0 -12
  127. package/dist/components/chat-ui/components/chat-panel-composer.d.ts +0 -49
  128. package/dist/components/chat-ui/components/chat-panel-sticky-user-message.d.ts +0 -13
  129. package/dist/components/chat-ui/components/chat-panel.d.ts +0 -45
  130. package/dist/components/chat-ui/components/chat-skeleton.d.ts +0 -1
  131. package/dist/components/chat-ui/components/composer-constants.d.ts +0 -1
  132. package/dist/components/chat-ui/components/conversation-browse.d.ts +0 -22
  133. package/dist/components/chat-ui/components/message-action-panel.d.ts +0 -10
  134. package/dist/components/chat-ui/components/message-parts-renderer.d.ts +0 -13
  135. package/dist/components/chat-ui/components/message-types.d.ts +0 -116
  136. package/dist/components/chat-ui/components/model-swap-separator.d.ts +0 -5
  137. package/dist/components/chat-ui/components/queued-follow-up-list-state.d.ts +0 -4
  138. package/dist/components/chat-ui/components/queued-follow-up-list.d.ts +0 -11
  139. package/dist/components/chat-ui/components/send-button.d.ts +0 -7
  140. package/dist/components/chat-ui/components/timeline-title.d.ts +0 -6
  141. package/dist/components/chat-ui/components/timeline-tool-blocks.d.ts +0 -14
  142. package/dist/components/chat-ui/components/timeline.d.ts +0 -113
  143. package/dist/components/chat-ui/components/tool-invocation-timeline.d.ts +0 -8
  144. package/dist/components/chat-ui/components/use-chat-input-history.d.ts +0 -16
  145. package/dist/components/chat-ui/components/working-indicator.d.ts +0 -9
  146. package/dist/components/chat-ui/components/workspace-hub.d.ts +0 -19
  147. package/dist/components/chat-ui/index.d.ts +0 -19
  148. package/dist/components/chat-ui/mocks/library/index.d.ts +0 -10
  149. package/dist/components/chat-ui/performance/chat-mount-metrics.d.ts +0 -37
  150. package/dist/components/chat-ui/performance/chat-panel.perf.d.ts +0 -18
  151. package/dist/components/chat-ui/performance/chat-performance-fixtures.d.ts +0 -28
  152. package/dist/components/chat-ui/performance/chat-performance-panel.d.ts +0 -23
  153. package/dist/components/chat-ui/performance/chat-performance-story-utils.d.ts +0 -30
  154. package/dist/components/chat-ui/tool-rendering/apply-patch-renderer.d.ts +0 -2
  155. package/dist/components/chat-ui/tool-rendering/build-timeline.d.ts +0 -13
  156. package/dist/components/chat-ui/tool-rendering/default-renderers.d.ts +0 -13
  157. package/dist/components/chat-ui/tool-rendering/edit-renderer.d.ts +0 -2
  158. package/dist/components/chat-ui/tool-rendering/index.d.ts +0 -3
  159. package/dist/components/chat-ui/tool-rendering/question-prompt.d.ts +0 -9
  160. package/dist/components/chat-ui/tool-rendering/question-renderer.d.ts +0 -10
  161. package/dist/components/chat-ui/tool-rendering/shared.d.ts +0 -53
  162. package/dist/components/chat-ui/tool-rendering/standard-renderers.d.ts +0 -7
  163. package/dist/components/chat-ui/tool-rendering/todowrite-renderer.d.ts +0 -10
  164. package/dist/components/chat-ui/tool-rendering/types.d.ts +0 -12
  165. package/dist/components/chat-ui/utils/diff.d.ts +0 -21
  166. package/dist/components/chat-ui/utils/editor-state.d.ts +0 -1
  167. package/dist/components/chat-ui/utils/get-icon.d.ts +0 -36
  168. package/dist/components/chat-ui/utils/tool-name.d.ts +0 -2
  169. package/dist/components/command-palette/index.d.ts +0 -4
  170. package/dist/components/command-palette/palette-filter.d.ts +0 -23
  171. package/dist/components/command-palette/palette-list.d.ts +0 -11
  172. package/dist/components/command-palette/palette-shortcut.d.ts +0 -12
  173. package/dist/components/command-palette/palette.d.ts +0 -48
  174. package/dist/components/data-table/build-columns.d.ts +0 -16
  175. package/dist/components/data-table/categorical-color-cell.d.ts +0 -8
  176. package/dist/components/data-table/color-cell-style.d.ts +0 -13
  177. package/dist/components/data-table/color-scale-cell.d.ts +0 -7
  178. package/dist/components/data-table/data-table-column-menu.d.ts +0 -17
  179. package/dist/components/data-table/data-table-header.d.ts +0 -12
  180. package/dist/components/data-table/data-table-row-display.d.ts +0 -11
  181. package/dist/components/data-table/data-table-skeleton.d.ts +0 -13
  182. package/dist/components/data-table/data-table-stat-chart.d.ts +0 -21
  183. package/dist/components/data-table/data-table-state.d.ts +0 -27
  184. package/dist/components/data-table/data-table-stats-row.d.ts +0 -11
  185. package/dist/components/data-table/data-table-stats.d.ts +0 -19
  186. package/dist/components/data-table/data-table-table-parts.d.ts +0 -22
  187. package/dist/components/data-table/data-table.d.ts +0 -2
  188. package/dist/components/data-table/data-table.story-descriptions.d.ts +0 -6
  189. package/dist/components/data-table/data-table.story-fixtures.d.ts +0 -6
  190. package/dist/components/data-table/edit-mode-data-table-body.d.ts +0 -30
  191. package/dist/components/data-table/edit-mode-data-table-cell.d.ts +0 -16
  192. package/dist/components/data-table/edit-mode-data-table-editors.d.ts +0 -19
  193. package/dist/components/data-table/edit-mode-data-table-header.d.ts +0 -24
  194. package/dist/components/data-table/edit-mode-data-table-selection.d.ts +0 -12
  195. package/dist/components/data-table/edit-mode-data-table.d.ts +0 -2
  196. package/dist/components/data-table/edit-mode-story.d.ts +0 -5
  197. package/dist/components/data-table/friendly-json-display.d.ts +0 -31
  198. package/dist/components/data-table/helpers.d.ts +0 -10
  199. package/dist/components/data-table/index.d.ts +0 -7
  200. package/dist/components/data-table/json-cell.d.ts +0 -6
  201. package/dist/components/data-table/pagination-footer.d.ts +0 -11
  202. package/dist/components/data-table/selection-toolbar.d.ts +0 -11
  203. package/dist/components/data-table/types.d.ts +0 -117
  204. package/dist/components/diff-viewer/build-changed-files-tree.d.ts +0 -4
  205. package/dist/components/diff-viewer/code-editor.d.ts +0 -45
  206. package/dist/components/diff-viewer/diff-bubble.d.ts +0 -14
  207. package/dist/components/diff-viewer/diff-card-body.d.ts +0 -60
  208. package/dist/components/diff-viewer/diff-card-content.d.ts +0 -23
  209. package/dist/components/diff-viewer/diff-card-load-state.d.ts +0 -9
  210. package/dist/components/diff-viewer/diff-card.d.ts +0 -46
  211. package/dist/components/diff-viewer/diff-drawer-empty-state.d.ts +0 -1
  212. package/dist/components/diff-viewer/diff-drawer-height.d.ts +0 -10
  213. package/dist/components/diff-viewer/diff-drawer-scroll.d.ts +0 -28
  214. package/dist/components/diff-viewer/diff-drawer.d.ts +0 -29
  215. package/dist/components/diff-viewer/diff-editor.d.ts +0 -20
  216. package/dist/components/diff-viewer/diff-size.d.ts +0 -16
  217. package/dist/components/diff-viewer/diff-view-adapter.d.ts +0 -27
  218. package/dist/components/diff-viewer/diff-viewer-options-menu.d.ts +0 -16
  219. package/dist/components/diff-viewer/diff-viewer.d.ts +0 -14
  220. package/dist/components/diff-viewer/diff-viewer.store.d.ts +0 -21
  221. package/dist/components/diff-viewer/file-change-badge.d.ts +0 -3
  222. package/dist/components/diff-viewer/file-list-panel.d.ts +0 -18
  223. package/dist/components/diff-viewer/index.d.ts +0 -9
  224. package/dist/components/diff-viewer/monaco-browser.d.ts +0 -1
  225. package/dist/components/diff-viewer/types.d.ts +0 -13
  226. package/dist/components/diff-viewer/use-selected-diff-scroll.d.ts +0 -23
  227. package/dist/components/file-browser/column-file-browser.d.ts +0 -20
  228. package/dist/components/internal/performance-panel.d.ts +0 -40
  229. package/dist/components/internal/style-guide.d.ts +0 -14
  230. package/dist/components/internal/token-editor-controls.d.ts +0 -8
  231. package/dist/components/internal/token-editor-data.d.ts +0 -40
  232. package/dist/components/internal/token-editor-state.d.ts +0 -22
  233. package/dist/components/kanban-renderer/collection-badge.d.ts +0 -7
  234. package/dist/components/kanban-renderer/display-menu.d.ts +0 -16
  235. package/dist/components/kanban-renderer/filter-menu.d.ts +0 -12
  236. package/dist/components/kanban-renderer/index.d.ts +0 -19
  237. package/dist/components/kanban-renderer/kanban-renderer-attribute-badge.d.ts +0 -7
  238. package/dist/components/kanban-renderer/kanban-renderer-badge-helpers.d.ts +0 -46
  239. package/dist/components/kanban-renderer/kanban-renderer-board-column-header.d.ts +0 -8
  240. package/dist/components/kanban-renderer/kanban-renderer-board-group-section.d.ts +0 -17
  241. package/dist/components/kanban-renderer/kanban-renderer-board-move.d.ts +0 -21
  242. package/dist/components/kanban-renderer/kanban-renderer-board.d.ts +0 -49
  243. package/dist/components/kanban-renderer/kanban-renderer-card.d.ts +0 -17
  244. package/dist/components/kanban-renderer/kanban-renderer-content.d.ts +0 -27
  245. package/dist/components/kanban-renderer/kanban-renderer-create-dialog.d.ts +0 -12
  246. package/dist/components/kanban-renderer/kanban-renderer-create-field.d.ts +0 -10
  247. package/dist/components/kanban-renderer/kanban-renderer-enum-helpers.d.ts +0 -10
  248. package/dist/components/kanban-renderer/kanban-renderer-grouping.d.ts +0 -23
  249. package/dist/components/kanban-renderer/kanban-renderer-helpers.d.ts +0 -58
  250. package/dist/components/kanban-renderer/kanban-renderer-list-items.d.ts +0 -25
  251. package/dist/components/kanban-renderer/kanban-renderer-list.d.ts +0 -43
  252. package/dist/components/kanban-renderer/kanban-renderer-story-fixtures.d.ts +0 -14
  253. package/dist/components/kanban-renderer/kanban-renderer-toolbar.d.ts +0 -15
  254. package/dist/components/kanban-renderer/kanban-renderer-view-bar.d.ts +0 -14
  255. package/dist/components/kanban-renderer/kanban-renderer-views.d.ts +0 -12
  256. package/dist/components/kanban-renderer/kanban-renderer.d.ts +0 -43
  257. package/dist/components/kanban-renderer/types.d.ts +0 -159
  258. package/dist/components/kanban-renderer/use-kanban-renderer-store.d.ts +0 -78
  259. package/dist/components/kanban-renderer/use-resolved-attributes.d.ts +0 -14
  260. package/dist/components/layout/header.d.ts +0 -7
  261. package/dist/components/layout/horizontal-menu-stack.d.ts +0 -6
  262. package/dist/components/layout/index.d.ts +0 -8
  263. package/dist/components/layout/item-section.d.ts +0 -11
  264. package/dist/components/layout/panel-header.constants.d.ts +0 -3
  265. package/dist/components/layout/resizable-split-layout.d.ts +0 -22
  266. package/dist/components/layout/resizable-split-layout.geometry.d.ts +0 -56
  267. package/dist/components/layout/resizable-split-layout.handle.d.ts +0 -25
  268. package/dist/components/layout/resizable-split-layout.panels.d.ts +0 -29
  269. package/dist/components/layout/resizable-split-layout.root-size.d.ts +0 -3
  270. package/dist/components/list-row/list-row-actions.d.ts +0 -11
  271. package/dist/components/list-row/list-row-chrome.d.ts +0 -11
  272. package/dist/components/list-row/list-row-content.d.ts +0 -17
  273. package/dist/components/list-row/list-row-menu.d.ts +0 -12
  274. package/dist/components/list-row/list-row-root-props.d.ts +0 -34
  275. package/dist/components/list-row/list-row.d.ts +0 -2
  276. package/dist/components/list-row/list-row.types.d.ts +0 -109
  277. package/dist/components/list-row/searchable-action-menu.d.ts +0 -6
  278. package/dist/components/mermaid-renderer/download-png.d.ts +0 -7
  279. package/dist/components/mermaid-renderer/index.d.ts +0 -2
  280. package/dist/components/mermaid-renderer/mermaid-error-state.d.ts +0 -6
  281. package/dist/components/mermaid-renderer/mermaid-fixtures.d.ts +0 -9
  282. package/dist/components/mermaid-renderer/mermaid-fullscreen.d.ts +0 -10
  283. package/dist/components/mermaid-renderer/mermaid-renderer.d.ts +0 -8
  284. package/dist/components/mermaid-renderer/mermaid-svg-view.d.ts +0 -12
  285. package/dist/components/mermaid-renderer/mermaid-toolbar.d.ts +0 -12
  286. package/dist/components/mermaid-renderer/mermaid-zoom.d.ts +0 -6
  287. package/dist/components/mermaid-renderer/svg-data-url.d.ts +0 -6
  288. package/dist/components/mermaid-renderer/use-mermaid-render.d.ts +0 -5
  289. package/dist/components/notification-center/index.d.ts +0 -2
  290. package/dist/components/notification-center/notification-center.d.ts +0 -2
  291. package/dist/components/notification-center/notification-center.types.d.ts +0 -37
  292. package/dist/components/overlays/attached-menu.d.ts +0 -6
  293. package/dist/components/overlays/attached-panel.d.ts +0 -9
  294. package/dist/components/overlays/attachment-chip.d.ts +0 -13
  295. package/dist/components/overlays/bubble-button.d.ts +0 -10
  296. package/dist/components/overlays/bubble-panel.d.ts +0 -18
  297. package/dist/components/overlays/delete-confirmation-modal.d.ts +0 -13
  298. package/dist/components/overlays/dialog-accept-shortcut.d.ts +0 -12
  299. package/dist/components/overlays/index.d.ts +0 -17
  300. package/dist/components/overlays/repo-picker-dialog.d.ts +0 -25
  301. package/dist/components/overlays/resource-context-menu.d.ts +0 -35
  302. package/dist/components/overlays/search-modal-content.d.ts +0 -20
  303. package/dist/components/overlays/searchable-menu-input.d.ts +0 -9
  304. package/dist/components/overlays/searchable-menu.d.ts +0 -65
  305. package/dist/components/param-editor/index.d.ts +0 -31
  306. package/dist/components/param-editor/inputs/action-input.d.ts +0 -14
  307. package/dist/components/param-editor/inputs/anchor-grid-input.d.ts +0 -12
  308. package/dist/components/param-editor/inputs/anchor-grid.d.ts +0 -4
  309. package/dist/components/param-editor/inputs/boolean-input.d.ts +0 -13
  310. package/dist/components/param-editor/inputs/color-input.d.ts +0 -14
  311. package/dist/components/param-editor/inputs/date-input.d.ts +0 -16
  312. package/dist/components/param-editor/inputs/file-upload-input.d.ts +0 -15
  313. package/dist/components/param-editor/inputs/file-upload-value.d.ts +0 -7
  314. package/dist/components/param-editor/inputs/horizontal-text-input.d.ts +0 -13
  315. package/dist/components/param-editor/inputs/markdown-input.d.ts +0 -13
  316. package/dist/components/param-editor/inputs/number-input.d.ts +0 -18
  317. package/dist/components/param-editor/inputs/numeric-value.d.ts +0 -6
  318. package/dist/components/param-editor/inputs/range-input.d.ts +0 -18
  319. package/dist/components/param-editor/inputs/range-value.d.ts +0 -5
  320. package/dist/components/param-editor/inputs/resource-input-chips.d.ts +0 -15
  321. package/dist/components/param-editor/inputs/resource-input.d.ts +0 -20
  322. package/dist/components/param-editor/inputs/segmented-input.d.ts +0 -15
  323. package/dist/components/param-editor/inputs/selection-input.d.ts +0 -27
  324. package/dist/components/param-editor/inputs/selection-menu.d.ts +0 -39
  325. package/dist/components/param-editor/inputs/slider-marks.d.ts +0 -5
  326. package/dist/components/param-editor/inputs/text-input.d.ts +0 -14
  327. package/dist/components/param-editor/inputs/vector-input.d.ts +0 -17
  328. package/dist/components/param-editor/inputs/vector-value.d.ts +0 -7
  329. package/dist/components/param-editor/param-editor-advanced-field.d.ts +0 -14
  330. package/dist/components/param-editor/param-editor-control-fixtures.d.ts +0 -24
  331. package/dist/components/param-editor/param-editor-control-item.d.ts +0 -15
  332. package/dist/components/param-editor/param-editor-control-list.d.ts +0 -5
  333. package/dist/components/param-editor/param-editor-field-label.d.ts +0 -1
  334. package/dist/components/param-editor/param-editor-field.d.ts +0 -13
  335. package/dist/components/param-editor/param-editor-horizontal.d.ts +0 -11
  336. package/dist/components/param-editor/param-editor-inline-group.d.ts +0 -5
  337. package/dist/components/param-editor/param-editor-label.d.ts +0 -7
  338. package/dist/components/param-editor/param-editor-presentation.d.ts +0 -3
  339. package/dist/components/param-editor/param-editor-read-only-field.d.ts +0 -9
  340. package/dist/components/param-editor/param-editor-read-only-value.d.ts +0 -8
  341. package/dist/components/param-editor/param-editor-row.d.ts +0 -17
  342. package/dist/components/param-editor/param-editor-section.d.ts +0 -17
  343. package/dist/components/param-editor/param-editor.d.ts +0 -12
  344. package/dist/components/param-editor/param-editor.types.d.ts +0 -31
  345. package/dist/components/param-editor/resolve-param-value.d.ts +0 -2
  346. package/dist/components/primitives/alert.d.ts +0 -9
  347. package/dist/components/primitives/breadcrumb.d.ts +0 -20
  348. package/dist/components/primitives/checkbox.d.ts +0 -8
  349. package/dist/components/primitives/chip.d.ts +0 -4
  350. package/dist/components/primitives/content-placeholder.d.ts +0 -6
  351. package/dist/components/primitives/empty-state.d.ts +0 -12
  352. package/dist/components/primitives/error-boundary.d.ts +0 -26
  353. package/dist/components/primitives/glyph-icon.d.ts +0 -16
  354. package/dist/components/primitives/icon-color-picker.d.ts +0 -15
  355. package/dist/components/primitives/icon-options.d.ts +0 -301
  356. package/dist/components/primitives/index.d.ts +0 -39
  357. package/dist/components/primitives/info-card.d.ts +0 -12
  358. package/dist/components/primitives/integration-card.d.ts +0 -12
  359. package/dist/components/primitives/number-input.d.ts +0 -6
  360. package/dist/components/primitives/radio.d.ts +0 -8
  361. package/dist/components/primitives/resource-badge.d.ts +0 -64
  362. package/dist/components/primitives/scroll-area.d.ts +0 -17
  363. package/dist/components/primitives/segmented-control.d.ts +0 -20
  364. package/dist/components/primitives/session-indicator.d.ts +0 -15
  365. package/dist/components/primitives/simple-card.d.ts +0 -5
  366. package/dist/components/primitives/slider.d.ts +0 -5
  367. package/dist/components/primitives/switch.d.ts +0 -15
  368. package/dist/components/primitives/tag-swatch.d.ts +0 -10
  369. package/dist/components/primitives/toaster.d.ts +0 -3
  370. package/dist/components/primitives/tooltip.d.ts +0 -11
  371. package/dist/components/primitives/workspace-badge.d.ts +0 -23
  372. package/dist/components/rich-text/collaborative-markdown-editor/awareness-cursors.d.ts +0 -5
  373. package/dist/components/rich-text/collaborative-markdown-editor/collaborative-markdown-editor.d.ts +0 -9
  374. package/dist/components/rich-text/index.d.ts +0 -19
  375. package/dist/components/rich-text/lazy-markdown-editor.d.ts +0 -2
  376. package/dist/components/rich-text/markdown-editor/markdown-editor-scrolling.play.d.ts +0 -4
  377. package/dist/components/rich-text/markdown-editor/markdown-editor.d.ts +0 -17
  378. package/dist/components/rich-text/markdown-editor/markdown-table.story-fixture.d.ts +0 -3
  379. package/dist/components/rich-text/markdown-editor/plugins/MarkdownSectionNavigationPlugin.d.ts +0 -8
  380. package/dist/components/rich-text/markdown-editor/plugins/MarkdownSlashCommandPlugin.d.ts +0 -1
  381. package/dist/components/rich-text/markdown-editor/plugins/ReferenceLinkPlugin/ReferenceLinkNode.d.ts +0 -21
  382. package/dist/components/rich-text/markdown-editor/plugins/ReferenceLinkPlugin/ReferenceLinkTransformer.d.ts +0 -2
  383. package/dist/components/rich-text/markdown-editor/plugins/ReferenceLinkPlugin/index.d.ts +0 -2
  384. package/dist/components/rich-text/markdown-editor/plugins/markdown-history-plugin.d.ts +0 -1
  385. package/dist/components/rich-text/markdown-editor/plugins/markdown-section-navigation.d.ts +0 -20
  386. package/dist/components/rich-text/prompt-input/commands.d.ts +0 -2
  387. package/dist/components/rich-text/prompt-input/events.d.ts +0 -2
  388. package/dist/components/rich-text/prompt-input/plugins/CommentPlugin/CommentPlugin.d.ts +0 -1
  389. package/dist/components/rich-text/prompt-input/plugins/CommentPlugin/hooks/useCommentCommands.d.ts +0 -3
  390. package/dist/components/rich-text/prompt-input/plugins/CommentPlugin/hooks/useCommentSchema.d.ts +0 -1
  391. package/dist/components/rich-text/prompt-input/plugins/CommentPlugin/nodes/CommentNode/CommentNode.d.ts +0 -16
  392. package/dist/components/rich-text/prompt-input/plugins/ImperativeAPIPlugin.d.ts +0 -7
  393. package/dist/components/rich-text/prompt-input/plugins/KeyboardShortcutPlugin.d.ts +0 -6
  394. package/dist/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/ReferenceMenuOption.d.ts +0 -12
  395. package/dist/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/ReferenceMenuPlugin.d.ts +0 -11
  396. package/dist/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/components/ReferenceMenu/ReferenceMenu.d.ts +0 -9
  397. package/dist/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/components/ReferenceMenu/ReferenceMenuItem.d.ts +0 -12
  398. package/dist/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/constants.d.ts +0 -2
  399. package/dist/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/hooks/useContextLookup.d.ts +0 -14
  400. package/dist/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/utils/checkForTriggers.d.ts +0 -9
  401. package/dist/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/utils/getSortedMenuOptions.d.ts +0 -2
  402. package/dist/components/rich-text/prompt-input/plugins/ReferencePlugin/ReferencePlugin.d.ts +0 -7
  403. package/dist/components/rich-text/prompt-input/plugins/ReferencePlugin/nodes/ReferenceNode/ReferenceNode.d.ts +0 -25
  404. package/dist/components/rich-text/prompt-input/plugins/keyboard-shortcuts.d.ts +0 -11
  405. package/dist/components/rich-text/prompt-input/prompt-input.d.ts +0 -27
  406. package/dist/components/rich-text/prompt-input/theme/prompt-input-theme.d.ts +0 -3
  407. package/dist/components/rich-text/prompt-input/utils.d.ts +0 -22
  408. package/dist/components/rich-text/resource-activity-feed/resource-activity-feed.d.ts +0 -58
  409. package/dist/components/rich-text/rich-message/plugins/ReferenceLinkPlugin/ReferenceLinkNode.d.ts +0 -21
  410. package/dist/components/rich-text/rich-message/plugins/ReferenceLinkPlugin/ReferenceLinkTransformer.d.ts +0 -2
  411. package/dist/components/rich-text/rich-message/plugins/ReferenceLinkPlugin/index.d.ts +0 -2
  412. package/dist/components/rich-text/rich-message/rich-message.d.ts +0 -10
  413. package/dist/components/rich-text/shared/components/content-editable.d.ts +0 -9
  414. package/dist/components/rich-text/shared/components/default-rich-text-components.d.ts +0 -3
  415. package/dist/components/rich-text/shared/editor-config.d.ts +0 -5
  416. package/dist/components/rich-text/shared/lexical-code.d.ts +0 -2
  417. package/dist/components/rich-text/shared/markdown-ast.d.ts +0 -7
  418. package/dist/components/rich-text/shared/markdown-codec.d.ts +0 -3
  419. package/dist/components/rich-text/shared/markdown-export.d.ts +0 -2
  420. package/dist/components/rich-text/shared/markdown-import.d.ts +0 -2
  421. package/dist/components/rich-text/shared/markdown-inline.d.ts +0 -5
  422. package/dist/components/rich-text/shared/markdown-source-document.d.ts +0 -7
  423. package/dist/components/rich-text/shared/markdown-source-links.d.ts +0 -11
  424. package/dist/components/rich-text/shared/markdown-source-map.d.ts +0 -10
  425. package/dist/components/rich-text/shared/markdown-table.d.ts +0 -41
  426. package/dist/components/rich-text/shared/markdown-url-context.d.ts +0 -9
  427. package/dist/components/rich-text/shared/markdown-url.d.ts +0 -3
  428. package/dist/components/rich-text/shared/nodes/DataTableNode.d.ts +0 -24
  429. package/dist/components/rich-text/shared/nodes/MarkdownImageNode.d.ts +0 -35
  430. package/dist/components/rich-text/shared/nodes/MarkdownLinkNode.d.ts +0 -18
  431. package/dist/components/rich-text/shared/nodes/RawHtmlNode.d.ts +0 -31
  432. package/dist/components/rich-text/shared/plugins/CodePlugin/CodeBlockActionsPlugin.d.ts +0 -4
  433. package/dist/components/rich-text/shared/plugins/CodePlugin/CodeBlockPlugin.d.ts +0 -3
  434. package/dist/components/rich-text/shared/plugins/CodePlugin/CodeHighlightingPlugin.d.ts +0 -1
  435. package/dist/components/rich-text/shared/plugins/EquationPlugin/EquationComponent.d.ts +0 -6
  436. package/dist/components/rich-text/shared/plugins/EquationPlugin/EquationNode.d.ts +0 -26
  437. package/dist/components/rich-text/shared/plugins/EquationPlugin/EquationPlugin.d.ts +0 -4
  438. package/dist/components/rich-text/shared/plugins/EquationPlugin/KatexRenderer.d.ts +0 -4
  439. package/dist/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/FloatingTextFormatToolbarPlugin.d.ts +0 -4
  440. package/dist/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/floating-toolbar-buttons.d.ts +0 -18
  441. package/dist/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/index.d.ts +0 -1
  442. package/dist/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/resolve-block-type.d.ts +0 -17
  443. package/dist/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/should-show-floating-toolbar.d.ts +0 -12
  444. package/dist/components/rich-text/shared/plugins/HorizontalRulePlugin/HorizontalRuleNode.d.ts +0 -13
  445. package/dist/components/rich-text/shared/plugins/HorizontalRulePlugin/horizontalRule.d.ts +0 -2
  446. package/dist/components/rich-text/shared/plugins/LinkEditorPlugin/LinkEditorPlugin.d.ts +0 -4
  447. package/dist/components/rich-text/shared/plugins/LinkEditorPlugin/LinkPlugin.d.ts +0 -1
  448. package/dist/components/rich-text/shared/plugins/LinkEditorPlugin/commands.d.ts +0 -2
  449. package/dist/components/rich-text/shared/plugins/LinkEditorPlugin/index.d.ts +0 -3
  450. package/dist/components/rich-text/shared/plugins/LinkEditorPlugin/link-editor-content.d.ts +0 -18
  451. package/dist/components/rich-text/shared/plugins/LinkEditorPlugin/utils/getSelectedNode.d.ts +0 -2
  452. package/dist/components/rich-text/shared/plugins/LinkEditorPlugin/utils/link-edit-state.d.ts +0 -1
  453. package/dist/components/rich-text/shared/plugins/LinkEditorPlugin/utils/selection-link-url.d.ts +0 -2
  454. package/dist/components/rich-text/shared/plugins/LinkEditorPlugin/utils/setFloatingElemPos.d.ts +0 -1
  455. package/dist/components/rich-text/shared/plugins/LinkEditorPlugin/utils/url.d.ts +0 -2
  456. package/dist/components/rich-text/shared/plugins/MermaidPlugin/MermaidComponent.d.ts +0 -6
  457. package/dist/components/rich-text/shared/plugins/MermaidPlugin/MermaidNode.d.ts +0 -23
  458. package/dist/components/rich-text/shared/plugins/StateUpdatePlugin.d.ts +0 -6
  459. package/dist/components/rich-text/shared/plugins/ToggleEditablePlugin.d.ts +0 -3
  460. package/dist/components/rich-text/shared/plugins/TreeViewPlugin/TreeViewPlugin.d.ts +0 -1
  461. package/dist/components/rich-text/shared/prism-global.d.ts +0 -2
  462. package/dist/components/rich-text/shared/transformers/markdown-transformers-test-utils.d.ts +0 -3
  463. package/dist/components/rich-text/shared/transformers/markdown-transformers.d.ts +0 -16
  464. package/dist/components/rich-text/shared/types/rich-text-components.d.ts +0 -15
  465. package/dist/components/rich-text/theme/rich-text-theme.d.ts +0 -3
  466. package/dist/components/rich-text/types.d.ts +0 -8
  467. package/dist/components/rich-text/utils/inferResourceType.d.ts +0 -1
  468. package/dist/components/rich-text/utils/markdown.d.ts +0 -5
  469. package/dist/components/rich-text/utils/mediaType.d.ts +0 -1
  470. package/dist/components/sidenav/sidenav-footer.d.ts +0 -6
  471. package/dist/components/sidenav/sidenav-header.d.ts +0 -6
  472. package/dist/components/sidenav/sidenav.d.ts +0 -2
  473. package/dist/components/sidenav/sidenav.store.d.ts +0 -49
  474. package/dist/components/sidenav/sidenav.types.d.ts +0 -31
  475. package/dist/components/tab-strip/tab-visibility-filter.d.ts +0 -22
  476. package/dist/components/tab-strip/tab-visibility.store.d.ts +0 -41
  477. package/dist/components/tab-strip/window-tabs.d.ts +0 -15
  478. package/dist/components/tab-strip/window-title-bar.d.ts +0 -6
  479. package/dist/components/tag-editor/index.d.ts +0 -8
  480. package/dist/components/tag-editor/tag-editor-heading.d.ts +0 -11
  481. package/dist/components/tag-editor/tag-editor-row.d.ts +0 -20
  482. package/dist/components/tag-editor/tag-editor-save-bar.d.ts +0 -13
  483. package/dist/components/tag-editor/tag-editor.d.ts +0 -2
  484. package/dist/components/tag-editor/tag-editor.types.d.ts +0 -57
  485. package/dist/components/tag-editor/tag-settings-panel.d.ts +0 -30
  486. package/dist/components/terminal/bind-session.d.ts +0 -33
  487. package/dist/components/terminal/index.d.ts +0 -6
  488. package/dist/components/terminal/scripted-bridge.d.ts +0 -35
  489. package/dist/components/terminal/terminal-contract.d.ts +0 -22
  490. package/dist/components/terminal/terminal-theme.d.ts +0 -12
  491. package/dist/components/terminal/terminal.d.ts +0 -56
  492. package/dist/components/terminal/types.d.ts +0 -35
  493. package/dist/components/terminal/use-terminal-session.d.ts +0 -21
  494. package/dist/components/tree-list/tree-list-background.d.ts +0 -8
  495. package/dist/components/tree-list/tree-list-drag-provider.d.ts +0 -13
  496. package/dist/components/tree-list/tree-list-drag.d.ts +0 -7
  497. package/dist/components/tree-list/tree-list-inline-creation-story.d.ts +0 -3
  498. package/dist/components/tree-list/tree-list-inline-input.d.ts +0 -9
  499. package/dist/components/tree-list/tree-list-model.d.ts +0 -58
  500. package/dist/components/tree-list/tree-list-move-surface.d.ts +0 -7
  501. package/dist/components/tree-list/tree-list-node-row.d.ts +0 -21
  502. package/dist/components/tree-list/tree-list-order-filter.d.ts +0 -2
  503. package/dist/components/tree-list/tree-list-order.store.d.ts +0 -45
  504. package/dist/components/tree-list/tree-list-reorder.d.ts +0 -24
  505. package/dist/components/tree-list/tree-list-section-header.d.ts +0 -14
  506. package/dist/components/tree-list/tree-list-sortable.d.ts +0 -24
  507. package/dist/components/tree-list/tree-list-visibility-filter.d.ts +0 -24
  508. package/dist/components/tree-list/tree-list-visibility.store.d.ts +0 -45
  509. package/dist/components/tree-list/tree-list.d.ts +0 -41
  510. package/dist/components/tree-list/tree-list.types.d.ts +0 -63
  511. package/dist/components/tree-list/use-tree-list-keyboard-navigation.d.ts +0 -15
  512. package/dist/diff-bubble-DvUPRnfB.js +0 -183
  513. package/dist/diff-bubble-DvUPRnfB.js.map +0 -1
  514. package/dist/edit-mode-data-table-Nfmfi7bz.js +0 -847
  515. package/dist/edit-mode-data-table-Nfmfi7bz.js.map +0 -1
  516. package/dist/empty-state-Bo4HVrgr.js +0 -34
  517. package/dist/empty-state-Bo4HVrgr.js.map +0 -1
  518. package/dist/foundations/gallery/gallery-frame.d.ts +0 -21
  519. package/dist/foundations/gallery/sections/badges-section.d.ts +0 -1
  520. package/dist/foundations/gallery/sections/buttons-section.d.ts +0 -1
  521. package/dist/foundations/gallery/sections/composite-chat-section.d.ts +0 -1
  522. package/dist/foundations/gallery/sections/composites-section.d.ts +0 -1
  523. package/dist/foundations/gallery/sections/feedback-section.d.ts +0 -1
  524. package/dist/foundations/gallery/sections/input-authoring-card.d.ts +0 -1
  525. package/dist/foundations/gallery/sections/inputs-section.d.ts +0 -1
  526. package/dist/foundations/gallery/sections/layout-section.d.ts +0 -1
  527. package/dist/foundations/gallery/sections/navigation-identity-section.d.ts +0 -1
  528. package/dist/foundations/gallery/sections/overlays-section.d.ts +0 -1
  529. package/dist/foundations/gallery/sections/panels-section.d.ts +0 -1
  530. package/dist/foundations/gallery/sections/param-editor-composite-card.d.ts +0 -1
  531. package/dist/foundations/gallery/sections/settings-composite-cards.d.ts +0 -1
  532. package/dist/kanban-renderer-toolbar-Buek4icz.js +0 -1375
  533. package/dist/kanban-renderer-toolbar-Buek4icz.js.map +0 -1
  534. package/dist/lazy-markdown-editor-PzIBc9-l.js +0 -42
  535. package/dist/lazy-markdown-editor-PzIBc9-l.js.map +0 -1
  536. package/dist/list-row-DHzRa9-O.js +0 -815
  537. package/dist/list-row-DHzRa9-O.js.map +0 -1
  538. package/dist/markdown-BCfPxNpb.js +0 -1663
  539. package/dist/markdown-BCfPxNpb.js.map +0 -1
  540. package/dist/markdown-editor-CsJ4KNGu.js +0 -1034
  541. package/dist/markdown-editor-CsJ4KNGu.js.map +0 -1
  542. package/dist/mermaid-renderer-D0YP0FmJ.js +0 -425
  543. package/dist/mermaid-renderer-D0YP0FmJ.js.map +0 -1
  544. package/dist/mermaid.js.map +0 -1
  545. package/dist/monaco-browser-l82HnffN.js +0 -22
  546. package/dist/monaco-browser-l82HnffN.js.map +0 -1
  547. package/dist/param-editor-CFM2Nf3l.js +0 -161
  548. package/dist/param-editor-CFM2Nf3l.js.map +0 -1
  549. package/dist/param-editor-field-Bj-AGUY6.js +0 -1728
  550. package/dist/param-editor-field-Bj-AGUY6.js.map +0 -1
  551. package/dist/param-editor.js.map +0 -1
  552. package/dist/prism-n5gcERyD.js +0 -202
  553. package/dist/prism-n5gcERyD.js.map +0 -1
  554. package/dist/radio-BfjibByI.js +0 -51
  555. package/dist/radio-BfjibByI.js.map +0 -1
  556. package/dist/rich-message-q6Y6QJOq.js +0 -633
  557. package/dist/rich-message-q6Y6QJOq.js.map +0 -1
  558. package/dist/rich-text.js.map +0 -1
  559. package/dist/scroll-area-BMbg1WcD.js +0 -91
  560. package/dist/scroll-area-BMbg1WcD.js.map +0 -1
  561. package/dist/slider-DBHjdxsU.js +0 -1092
  562. package/dist/slider-DBHjdxsU.js.map +0 -1
  563. package/dist/test-utils/local-storage.d.ts +0 -1
  564. package/dist/theme/custom/index.d.ts +0 -2
  565. package/dist/theme/custom/vscode-theme.d.ts +0 -32
  566. package/dist/theme/global.d.ts +0 -62
  567. package/dist/theme/index.d.ts +0 -3
  568. package/dist/theme/primitives/colors.d.ts +0 -1081
  569. package/dist/theme/primitives/fonts.d.ts +0 -84
  570. package/dist/theme/primitives/sizes.d.ts +0 -207
  571. package/dist/theme/recipes/activity-comment.d.ts +0 -36
  572. package/dist/theme/recipes/alert.d.ts +0 -1
  573. package/dist/theme/recipes/badge.d.ts +0 -58
  574. package/dist/theme/recipes/button.d.ts +0 -188
  575. package/dist/theme/recipes/color-picker.d.ts +0 -18
  576. package/dist/theme/recipes/dialog.d.ts +0 -1
  577. package/dist/theme/recipes/divider.d.ts +0 -1
  578. package/dist/theme/recipes/drawer.d.ts +0 -1
  579. package/dist/theme/recipes/editable.d.ts +0 -46
  580. package/dist/theme/recipes/form.d.ts +0 -1
  581. package/dist/theme/recipes/input.d.ts +0 -94
  582. package/dist/theme/recipes/kbd.d.ts +0 -41
  583. package/dist/theme/recipes/menu.d.ts +0 -1
  584. package/dist/theme/recipes/number-input.d.ts +0 -98
  585. package/dist/theme/recipes/popover.d.ts +0 -16
  586. package/dist/theme/recipes/progress-circle.d.ts +0 -28
  587. package/dist/theme/recipes/resizable-split-layout.d.ts +0 -106
  588. package/dist/theme/recipes/segmented-control.d.ts +0 -22
  589. package/dist/theme/recipes/skeleton.d.ts +0 -1
  590. package/dist/theme/recipes/switch.d.ts +0 -18
  591. package/dist/theme/recipes/tabs.d.ts +0 -80
  592. package/dist/theme/recipes/textarea.d.ts +0 -62
  593. package/dist/theme/recipes/timeline.d.ts +0 -83
  594. package/dist/theme/recipes/tooltip.d.ts +0 -1
  595. package/dist/theme/recipes/window-title-bar.d.ts +0 -19
  596. package/dist/theme/shadowless-default-config.d.ts +0 -2
  597. package/dist/theme/theme.d.ts +0 -2
  598. package/dist/theme/tokens/borders.d.ts +0 -17
  599. package/dist/theme/tokens/colors-background.d.ts +0 -260
  600. package/dist/theme/tokens/colors-visualization.d.ts +0 -162
  601. package/dist/theme/tokens/colors.d.ts +0 -878
  602. package/dist/theme/tokens/layer-styles.d.ts +0 -1
  603. package/dist/theme/tokens/text.d.ts +0 -1
  604. package/dist/theme-AzJH4Om3.js +0 -3999
  605. package/dist/theme-AzJH4Om3.js.map +0 -1
  606. package/dist/theme-preference-DxGW1qg-.js +0 -114
  607. package/dist/theme-preference-DxGW1qg-.js.map +0 -1
  608. package/dist/theme.js.map +0 -1
  609. package/dist/tree-list-CPjbGTvs.js +0 -1348
  610. package/dist/tree-list-CPjbGTvs.js.map +0 -1
  611. package/dist/utils/apply-file-icon-theme-preference.d.ts +0 -35
  612. package/dist/utils/apply-theme-preference.d.ts +0 -22
  613. package/dist/utils/browser-storage.d.ts +0 -7
  614. package/dist/utils/file-icon-theme-preference.d.ts +0 -15
  615. package/dist/utils/get-file-type-icon.d.ts +0 -2
  616. package/dist/utils/prism.d.ts +0 -1
  617. package/dist/utils/resolve-file-icon-element.d.ts +0 -8
  618. package/dist/utils/theme-preference.d.ts +0 -20
  619. package/dist/workspace-badge-CuOcmnZc.js +0 -175
  620. package/dist/workspace-badge-CuOcmnZc.js.map +0 -1
@@ -1,41 +0,0 @@
1
- import { VisibilityOverride } from '../tree-list/tree-list-visibility.store';
2
- interface TabVisibilitySnapshot {
3
- tabOverrides: Record<string, VisibilityOverride>;
4
- }
5
- interface TabVisibilityState extends TabVisibilitySnapshot {
6
- setTab: (key: string, value: VisibilityOverride | undefined) => void;
7
- toggleTab: (key: string, hiddenByDefault: boolean) => void;
8
- clearTab: (key: string) => void;
9
- reset: () => void;
10
- }
11
- interface CreateTabVisibilityStoreOptions {
12
- storageKey: string;
13
- }
14
- export declare const createTabVisibilityStore: (options: CreateTabVisibilityStoreOptions) => Omit<import('zustand').StoreApi<TabVisibilityState>, "setState" | "persist"> & {
15
- setState(partial: TabVisibilityState | Partial<TabVisibilityState> | ((state: TabVisibilityState) => TabVisibilityState | Partial<TabVisibilityState>), replace?: false | undefined): unknown;
16
- setState(state: TabVisibilityState | ((state: TabVisibilityState) => TabVisibilityState), replace: true): unknown;
17
- persist: {
18
- setOptions: (options: Partial<import('zustand/middleware').PersistOptions<TabVisibilityState, unknown, unknown>>) => void;
19
- clearStorage: () => void;
20
- rehydrate: () => Promise<void> | void;
21
- hasHydrated: () => boolean;
22
- onHydrate: (fn: (state: TabVisibilityState) => void) => () => void;
23
- onFinishHydration: (fn: (state: TabVisibilityState) => void) => () => void;
24
- getOptions: () => Partial<import('zustand/middleware').PersistOptions<TabVisibilityState, unknown, unknown>>;
25
- };
26
- };
27
- export declare const getTabVisibilityStore: (storageKey: string) => Omit<import('zustand').StoreApi<TabVisibilityState>, "setState" | "persist"> & {
28
- setState(partial: TabVisibilityState | Partial<TabVisibilityState> | ((state: TabVisibilityState) => TabVisibilityState | Partial<TabVisibilityState>), replace?: false | undefined): unknown;
29
- setState(state: TabVisibilityState | ((state: TabVisibilityState) => TabVisibilityState), replace: true): unknown;
30
- persist: {
31
- setOptions: (options: Partial<import('zustand/middleware').PersistOptions<TabVisibilityState, unknown, unknown>>) => void;
32
- clearStorage: () => void;
33
- rehydrate: () => Promise<void> | void;
34
- hasHydrated: () => boolean;
35
- onHydrate: (fn: (state: TabVisibilityState) => void) => () => void;
36
- onFinishHydration: (fn: (state: TabVisibilityState) => void) => () => void;
37
- getOptions: () => Partial<import('zustand/middleware').PersistOptions<TabVisibilityState, unknown, unknown>>;
38
- };
39
- };
40
- export declare const useTabVisibilityStore: <T>(storageKey: string, selector: (state: TabVisibilityState) => T) => T;
41
- export type { TabVisibilitySnapshot, TabVisibilityState };
@@ -1,15 +0,0 @@
1
- import { ReactNode } from 'react';
2
- export interface WindowTab {
3
- id: string;
4
- label: string;
5
- icon?: ReactNode;
6
- }
7
- export interface WindowTabsProps {
8
- tabs: WindowTab[];
9
- selectedId?: string;
10
- onSelect: (id: string) => void;
11
- onClose: (id: string) => void;
12
- onReorder?: (id: string, targetId: string) => void;
13
- "aria-label": string;
14
- }
15
- export declare const WindowTabs: (props: WindowTabsProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,6 +0,0 @@
1
- import { ReactNode } from 'react';
2
- export interface WindowTitleBarProps {
3
- platform: string;
4
- children?: ReactNode;
5
- }
6
- export declare const WindowTitleBar: (props: WindowTitleBarProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,8 +0,0 @@
1
- export { TagEditor } from './tag-editor';
2
- export type { TagEditorAction, TagEditorProps, TagEditorValue } from './tag-editor.types';
3
- export type { TagEditorHeadingProps } from './tag-editor-heading';
4
- export { TagEditorHeading } from './tag-editor-heading';
5
- export type { TagEditorSaveBarProps } from './tag-editor-save-bar';
6
- export { TagEditorSaveBar } from './tag-editor-save-bar';
7
- export type { SaveTagSettingsInput, TagSettingsPanelProps } from './tag-settings-panel';
8
- export { TagSettingsPanel } from './tag-settings-panel';
@@ -1,11 +0,0 @@
1
- import { ReactNode } from 'react';
2
- export interface TagEditorHeadingProps {
3
- children: ReactNode;
4
- /** Appends the unsaved-changes marker. */
5
- hasChanges?: boolean;
6
- }
7
- /**
8
- * Screen heading for a tag settings panel. The asterisk stays quiet on purpose —
9
- * the enabled Save button in the same header is the loud signal.
10
- */
11
- export declare const TagEditorHeading: (props: TagEditorHeadingProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,20 +0,0 @@
1
- import { IconColorPickerIconOption } from '../primitives/icon-options';
2
- import { TagEditorAction, TagEditorValue } from './tag-editor.types';
3
- interface TagEditorRowProps {
4
- actionOptions?: TagEditorAction[];
5
- actionsLabel?: string;
6
- colorOptions?: readonly string[];
7
- iconOptions?: readonly IconColorPickerIconOption[];
8
- value: TagEditorValue;
9
- isSaving?: boolean;
10
- readOnly?: boolean;
11
- showDefault?: boolean;
12
- showIcons?: boolean;
13
- onActionsChange: (actions: string[]) => void;
14
- onColorChange: (color: string) => void;
15
- onDelete: () => void;
16
- onIconChange: (icon: string | null) => void;
17
- onNameChange: (name: string) => void;
18
- }
19
- export declare const TagEditorRow: (props: TagEditorRowProps) => import("react/jsx-runtime").JSX.Element;
20
- export {};
@@ -1,13 +0,0 @@
1
- export interface TagEditorSaveBarProps {
2
- onSave: () => void;
3
- onReset: () => void;
4
- hasChanges?: boolean;
5
- isSaving?: boolean;
6
- resetLabel?: string;
7
- saveLabel?: string;
8
- }
9
- /**
10
- * The single commit point for a tag settings screen, anchored in its header.
11
- * Reset only appears while edits are pending, so the resting state stays quiet.
12
- */
13
- export declare const TagEditorSaveBar: (props: TagEditorSaveBarProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +0,0 @@
1
- import { TagEditorProps } from './tag-editor.types';
2
- export declare const TagEditor: (props: TagEditorProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,57 +0,0 @@
1
- import { ReactNode } from 'react';
2
- import { IconColorPickerIconOption } from '../primitives/icon-options';
3
- export interface TagEditorValue {
4
- id: string;
5
- name: string;
6
- color: string;
7
- sortOrder: number;
8
- actions?: string[];
9
- icon?: string | null;
10
- isDefault?: boolean;
11
- isNew?: boolean;
12
- }
13
- export interface TagEditorAction {
14
- value: string;
15
- label: string;
16
- /** Rendered before the label in the trigger and the menu row. */
17
- icon?: ReactNode;
18
- }
19
- export interface TagEditorProps {
20
- values: TagEditorValue[];
21
- onValuesChange: (values: TagEditorValue[]) => void;
22
- onDeleteValue?: (value: TagEditorValue) => void;
23
- onSetDefault?: (value: TagEditorValue) => void;
24
- /** Enables inline renaming of the tag definition itself. */
25
- onTitleChange?: (title: string) => void;
26
- title?: string;
27
- description?: string;
28
- /** Rendered on the right of the header row, e.g. a mode toggle and a delete action. */
29
- headerActions?: ReactNode;
30
- /** Marks the heading with the unsaved-changes asterisk. */
31
- hasChanges?: boolean;
32
- isSaving?: boolean;
33
- readOnly?: boolean;
34
- addLabel?: string;
35
- /** Name given to a freshly added option before it is renamed inline. */
36
- addName?: string;
37
- actionOptions?: TagEditorAction[];
38
- /** Names the per-row action control, e.g. "Commands". Used in its label and aria-label. */
39
- actionsLabel?: string;
40
- /** Names the default-value control shown under the list when showDefault is set. */
41
- defaultValueLabel?: string;
42
- defaultAddColor?: string;
43
- defaultAddIcon?: string | null;
44
- deleteButtonText?: string;
45
- deleteHeadline?: string;
46
- deleteNotificationText?: (value: TagEditorValue) => string;
47
- colorOptions?: readonly string[];
48
- iconOptions?: readonly IconColorPickerIconOption[];
49
- showDefault?: boolean;
50
- showIcons?: boolean;
51
- /** Draws the list as a bordered card, so the header and footer bands read as one panel. */
52
- framed?: boolean;
53
- /** Renders a column header band above the rows. Needs `framed` to look right. */
54
- showColumnHeaders?: boolean;
55
- /** Header label above the option names, e.g. "State". */
56
- valueColumnLabel?: string;
57
- }
@@ -1,30 +0,0 @@
1
- import { TagEditorProps, TagEditorValue } from './tag-editor.types';
2
- export interface SaveTagSettingsInput<TValue> {
3
- deletedIds: Set<string>;
4
- drafts: TagEditorValue[];
5
- values: TValue[];
6
- }
7
- type EditorLabels = Pick<TagEditorProps, "actionOptions" | "actionsLabel" | "addLabel" | "addName" | "colorOptions" | "deleteButtonText" | "deleteHeadline" | "defaultValueLabel" | "deleteNotificationText" | "description" | "framed" | "iconOptions" | "readOnly" | "showDefault" | "onSetDefault" | "showColumnHeaders" | "showIcons" | "title" | "valueColumnLabel">;
8
- type SortableValue = {
9
- id: string;
10
- sortOrder: number;
11
- };
12
- export interface TagSettingsPanelProps<TValue extends SortableValue> extends EditorLabels {
13
- errorTitle: string;
14
- loadingText?: string;
15
- resetLabel?: string;
16
- saveLabel?: string;
17
- /** Loaded values; pass undefined while the initial load is pending. */
18
- values: TValue[] | undefined;
19
- /** Load/save error surfaced by the host's data layer. */
20
- loadError?: unknown;
21
- /**
22
- * Persists the pending edits. The host owns fetching and cache invalidation;
23
- * the panel resets its delete tracking once the returned promise resolves.
24
- */
25
- onSave: (input: SaveTagSettingsInput<TValue>) => Promise<void>;
26
- toEditorValue: (value: TValue) => TagEditorValue;
27
- valueNeedsUpdate: (original: TValue, draft: TagEditorValue) => boolean;
28
- }
29
- export declare const TagSettingsPanel: <TValue extends SortableValue>(props: TagSettingsPanelProps<TValue>) => import("react/jsx-runtime").JSX.Element;
30
- export {};
@@ -1,33 +0,0 @@
1
- import { TerminalSessionAdapter } from './types';
2
- /**
3
- * Minimal subset of xterm.js that the binding needs. Tests substitute a fake
4
- * sink so the wire-up logic can be exercised without a DOM.
5
- */
6
- export interface TerminalSink {
7
- write(data: string | Uint8Array): void;
8
- onInput(handler: (data: string) => void): () => void;
9
- onResize(handler: (size: {
10
- cols: number;
11
- rows: number;
12
- }) => void): () => void;
13
- }
14
- export interface BindSessionOptions {
15
- /** Forwarded to the session when the user types in the sink. */
16
- onInput?: (data: string) => void;
17
- /** Called once the session exits; useful for surfacing status. */
18
- onExit?: (exit: {
19
- code: number | null;
20
- signal: string | null;
21
- }) => void;
22
- /** Called on transport errors. */
23
- onError?: (error: {
24
- message: string;
25
- }) => void;
26
- }
27
- /**
28
- * Wires a {@link TerminalSink} (typically xterm.js) to a
29
- * {@link TerminalSessionAdapter}. Returns a disposer that detaches every
30
- * subscription it created. The session itself is *not* killed — owning the
31
- * session lifecycle is the caller's responsibility.
32
- */
33
- export declare const bindSessionToSink: (sink: TerminalSink, session: TerminalSessionAdapter, options?: BindSessionOptions) => () => void;
@@ -1,6 +0,0 @@
1
- export { type BindSessionOptions, bindSessionToSink, type TerminalSink } from './bind-session';
2
- export { createScriptedTerminalBridge, type ScriptedBridgeOptions, type ScriptedTerminalStep, } from './scripted-bridge';
3
- export { Terminal, type TerminalProps } from './terminal';
4
- export { darkTerminalTheme, lightTerminalTheme, resolveTerminalTheme, type TerminalThemeName, terminalThemes, } from './terminal-theme';
5
- export type { TerminalBridge, TerminalSessionAdapter, TerminalSessionError, TerminalSessionExit, TerminalSessionRequest, } from './types';
6
- export { type TerminalSessionStatus, type UseTerminalSessionOptions, type UseTerminalSessionResult, useTerminalSession, } from './use-terminal-session';
@@ -1,35 +0,0 @@
1
- import { TerminalBridge } from './types';
2
- export interface ScriptedTerminalStep {
3
- /** Bytes the host pushes back to the renderer (utf-8 string is encoded for you). */
4
- data?: string | Uint8Array;
5
- /** Milliseconds to wait before delivering this step. */
6
- delayMs?: number;
7
- /** Marks the session as exited after this step. */
8
- exit?: {
9
- code: number | null;
10
- signal?: string | null;
11
- };
12
- /** Delivers a transport error after this step. */
13
- error?: string;
14
- }
15
- export interface ScriptedBridgeOptions {
16
- /** Initial script delivered after the first data subscriber attaches. */
17
- initial?: ScriptedTerminalStep[];
18
- /**
19
- * Responds to user input. Return additional steps to play, or `undefined`
20
- * to ignore. Defaults to echoing the input followed by a newline.
21
- */
22
- onInput?: (input: string) => ScriptedTerminalStep[] | undefined;
23
- /** Called whenever the renderer requests a resize. */
24
- onResize?: (size: {
25
- cols: number;
26
- rows: number;
27
- }) => void;
28
- /** Called once when the renderer kills the session. */
29
- onKill?: (signal?: string) => void;
30
- }
31
- /**
32
- * Deterministic in-memory bridge. Used by stories and tests to exercise the
33
- * terminal UI without a real PTY supervisor.
34
- */
35
- export declare const createScriptedTerminalBridge: (options?: ScriptedBridgeOptions) => TerminalBridge;
@@ -1,22 +0,0 @@
1
- export interface TerminalSessionRequest {
2
- /** Command + args to run; defaults to the user's login shell when omitted. */
3
- command?: string[];
4
- /** Working directory; falls back to the extension's workspace root. */
5
- cwd?: string;
6
- /** Extra env vars merged over the inherited environment. */
7
- env?: Record<string, string>;
8
- /** Initial column count; the renderer can resize later. */
9
- cols: number;
10
- /** Initial row count; the renderer can resize later. */
11
- rows: number;
12
- }
13
- export type TerminalHostEvent = {
14
- sessionId: string;
15
- kind: "data";
16
- chunk: Uint8Array;
17
- } | {
18
- sessionId: string;
19
- kind: "exit";
20
- code: number | null;
21
- signal: string | null;
22
- };
@@ -1,12 +0,0 @@
1
- import { ITheme } from '@xterm/xterm';
2
- /**
3
- * xterm theme presets aligned with the workbench `bg.inverted` / `fg.inverted`
4
- * pairings so the terminal blends with the surrounding chrome without the
5
- * consuming extension touching xterm directly. Consumers can still pass any
6
- * `ITheme` they like via the `theme` prop.
7
- */
8
- export type TerminalThemeName = "light" | "dark";
9
- export declare const lightTerminalTheme: ITheme;
10
- export declare const darkTerminalTheme: ITheme;
11
- export declare const terminalThemes: Record<TerminalThemeName, ITheme>;
12
- export declare const resolveTerminalTheme: (theme: TerminalThemeName | ITheme | undefined) => ITheme;
@@ -1,56 +0,0 @@
1
- import { ITheme, Terminal as Xterm } from '@xterm/xterm';
2
- import { TerminalSink } from './bind-session';
3
- import { TerminalThemeName } from './terminal-theme';
4
- import { TerminalBridge, TerminalSessionAdapter, TerminalSessionRequest } from './types';
5
- export declare const createInitialTerminalSessionRequest: (request?: Partial<TerminalSessionRequest>) => TerminalSessionRequest;
6
- export declare const createTerminalSink: (xterm: Pick<Xterm, "write" | "onData" | "onResize">) => {
7
- write(data: string | Uint8Array): void;
8
- onInput(handler: (data: string) => void): () => boolean;
9
- onResize(handler: (size: {
10
- cols: number;
11
- rows: number;
12
- }) => void): () => void;
13
- dispose(): void;
14
- };
15
- export declare const resizeSessionToTerminalGeometry: (terminal: Pick<Xterm, "cols" | "rows">, session: Pick<TerminalSessionAdapter, "resize">) => void;
16
- export declare const bindTerminalSession: (terminal: Pick<Xterm, "cols" | "rows">, sink: TerminalSink, session: TerminalSessionAdapter, options: Pick<TerminalProps, "onSessionOpen" | "onSessionExit">) => () => void;
17
- export interface TerminalSessionCallbackRefs {
18
- onSessionOpen: React.RefObject<TerminalProps["onSessionOpen"]>;
19
- onSessionExit: React.RefObject<TerminalProps["onSessionExit"]>;
20
- }
21
- export declare const bindTerminalSessionWithCallbackRefs: (terminal: Pick<Xterm, "cols" | "rows">, sink: TerminalSink, session: TerminalSessionAdapter, callbackRefs: TerminalSessionCallbackRefs) => () => void;
22
- export interface TerminalProps {
23
- /** Bridge adapter the component opens its session through. */
24
- bridge: TerminalBridge;
25
- /**
26
- * Optional initial session request overrides. `cols`/`rows` default to
27
- * 80x24; container resizes are forwarded after the session opens.
28
- */
29
- request?: Partial<TerminalSessionRequest>;
30
- /** Theme preset name or full xterm theme. */
31
- theme?: TerminalThemeName | ITheme;
32
- /** Monospace font family. */
33
- fontFamily?: string;
34
- fontSize?: number;
35
- /** Whether to kill the session when the component unmounts. Defaults to true. */
36
- killOnUnmount?: boolean;
37
- /** Focus the terminal while it is the active surface. Defaults to true. */
38
- autoFocus?: boolean;
39
- /** Forwarded to the container element. */
40
- className?: string;
41
- style?: React.CSSProperties;
42
- /** Called once the session is open; useful for imperative refs. */
43
- onSessionOpen?: (sessionId: string) => void;
44
- /** Called once the session exits. */
45
- onSessionExit?: (exit: {
46
- code: number | null;
47
- signal: string | null;
48
- }) => void;
49
- }
50
- /**
51
- * High-level terminal component. Mounts xterm.js inside a `<div>` and binds it
52
- * to the session opened from `bridge.openSession(...)`. Resize is driven by
53
- * `ResizeObserver` so the terminal fills its container and the host PTY
54
- * geometry stays in sync.
55
- */
56
- export declare const Terminal: (props: TerminalProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,35 +0,0 @@
1
- import { TerminalHostEvent, TerminalSessionRequest } from './terminal-contract';
2
- export type { TerminalSessionRequest } from './terminal-contract';
3
- /**
4
- * Renderer-side projection of a single terminal session over the
5
- * `terminal.session` bridge.
6
- *
7
- * The host-side `TerminalSessionHandle` exposes a single-consumer async
8
- * iterable; that contract is impractical inside React, so the renderer side
9
- * uses observable subscriptions instead. Implementations (real bridge,
10
- * scripted stub, etc.) are responsible for translating their own transport
11
- * into these callbacks.
12
- */
13
- export interface TerminalSessionAdapter {
14
- readonly id: string;
15
- write(data: string | Uint8Array): void;
16
- resize(cols: number, rows: number): void;
17
- kill(signal?: string): Promise<void> | void;
18
- onData(handler: (chunk: Uint8Array) => void): () => void;
19
- onExit(handler: (exit: TerminalSessionExit) => void): () => void;
20
- onError(handler: (error: TerminalSessionError) => void): () => void;
21
- }
22
- export type TerminalSessionExit = Omit<Extract<TerminalHostEvent, {
23
- kind: "exit";
24
- }>, "kind" | "sessionId">;
25
- export interface TerminalSessionError {
26
- message: string;
27
- }
28
- /**
29
- * Renderer-side projection of the `terminal.session` capability. A bridge
30
- * adapter typically wraps the webview transport, but stubs that drive
31
- * scripted output (storybook, tests) implement the same shape.
32
- */
33
- export interface TerminalBridge {
34
- openSession(request: TerminalSessionRequest): Promise<TerminalSessionAdapter>;
35
- }
@@ -1,21 +0,0 @@
1
- import { TerminalBridge, TerminalSessionAdapter, TerminalSessionError, TerminalSessionExit, TerminalSessionRequest } from './types';
2
- export type TerminalSessionStatus = "idle" | "opening" | "open" | "exited" | "error";
3
- export interface UseTerminalSessionResult {
4
- session: TerminalSessionAdapter | null;
5
- status: TerminalSessionStatus;
6
- exit: TerminalSessionExit | null;
7
- error: TerminalSessionError | null;
8
- }
9
- export interface UseTerminalSessionOptions {
10
- bridge: TerminalBridge | null;
11
- request: TerminalSessionRequest;
12
- /** Set to false to keep the session alive when the hook unmounts. */
13
- killOnUnmount?: boolean;
14
- }
15
- export declare const createTerminalSessionRequestKey: (request: TerminalSessionRequest) => string;
16
- /**
17
- * Opens a terminal session via the provided bridge and surfaces its lifecycle
18
- * for the renderer. The session is killed on unmount unless explicitly opted
19
- * out; switching bridges or request contents triggers a fresh open.
20
- */
21
- export declare const useTerminalSession: ({ bridge, request, killOnUnmount }: UseTerminalSessionOptions) => UseTerminalSessionResult;
@@ -1,8 +0,0 @@
1
- import { ReactNode } from 'react';
2
- import { ResourceContextAction } from '../overlays/resource-context-menu';
3
- interface TreeListBackgroundProps {
4
- actions: ResourceContextAction[];
5
- children: ReactNode;
6
- }
7
- export declare const TreeListBackground: (props: TreeListBackgroundProps) => import("react/jsx-runtime").JSX.Element;
8
- export {};
@@ -1,13 +0,0 @@
1
- import { ReactNode } from 'react';
2
- import { TreeListSection } from './tree-list.types';
3
- import { TreeListMovePolicy } from './tree-list-reorder';
4
- export declare const SharedTreeListDragContext: import('react').Context<boolean>;
5
- interface TreeListDragProviderProps {
6
- sections: TreeListSection[];
7
- canMove?: TreeListMovePolicy;
8
- onReorderSections?: (nextSectionIds: string[], sourceSectionId: string, destinationSectionId: string) => void;
9
- onReorderNodes?: (sectionId: string, nextNodeIds: string[]) => void;
10
- children: ReactNode;
11
- }
12
- export declare const TreeListDragProvider: (props: TreeListDragProviderProps) => import("react/jsx-runtime").JSX.Element;
13
- export {};
@@ -1,7 +0,0 @@
1
- interface TreeNodeDataTransfer {
2
- getData(type: string): string;
3
- setData(type: string, value: string): void;
4
- }
5
- export declare const writeDraggedTreeNodeId: (dataTransfer: TreeNodeDataTransfer, nodeId: string) => void;
6
- export declare const readDraggedTreeNodeId: (dataTransfer: TreeNodeDataTransfer) => string | undefined;
7
- export {};
@@ -1,3 +0,0 @@
1
- export declare const TreeListInlineCreationStory: (props: {
2
- type?: "file" | "folder";
3
- }) => import("react/jsx-runtime").JSX.Element;
@@ -1,9 +0,0 @@
1
- import { ReactNode } from 'react';
2
- import { TreeListInlineInput } from './tree-list.types';
3
- interface TreeListInlineInputRowProps {
4
- input: TreeListInlineInput;
5
- icon?: ReactNode;
6
- level: number;
7
- }
8
- export declare const TreeListInlineInputRow: (props: TreeListInlineInputRowProps) => import("react/jsx-runtime").JSX.Element;
9
- export {};
@@ -1,58 +0,0 @@
1
- import { TreeListNode, TreeListSection } from './tree-list.types';
2
- export declare const isInList: (id: string, values: string[]) => boolean;
3
- export declare const isActiveNode: (id: string, activeNodeId?: string | string[] | null) => boolean;
4
- export declare const isNavigableNode: (node: TreeListNode) => boolean;
5
- export declare const getNodeChildren: (node: TreeListNode) => TreeListNode[];
6
- export declare const hasExpandableChildren: (node: TreeListNode) => boolean;
7
- export type VirtualRow = {
8
- kind: "section-header";
9
- key: string;
10
- sectionId: string;
11
- section: TreeListSection;
12
- collapsible: boolean;
13
- expanded: boolean;
14
- } | {
15
- kind: "node";
16
- key: string;
17
- sectionId: string;
18
- node: TreeListNode;
19
- level: number;
20
- parentNodeId?: string;
21
- } | {
22
- kind: "section-empty";
23
- key: string;
24
- sectionId: string;
25
- emptyState: TreeListSection["emptyState"];
26
- };
27
- export type VirtualNodeRow = Extract<VirtualRow, {
28
- kind: "node";
29
- }>;
30
- export type VirtualSectionHeaderRow = Extract<VirtualRow, {
31
- kind: "section-header";
32
- }>;
33
- /** Rows the keyboard can land on: enabled nodes and collapsible section headers. */
34
- export type FocusableRow = VirtualNodeRow | VirtualSectionHeaderRow;
35
- export declare const buildVirtualRows: (sections: TreeListSection[], expandedSectionIds: string[], expandedNodeIds: string[]) => VirtualRow[];
36
- /** Stable id used to track keyboard focus across renders. */
37
- export declare const getRowFocusId: (row: FocusableRow) => string;
38
- export declare const isFocusableRow: (row: VirtualRow) => row is FocusableRow;
39
- export declare const getFocusableRows: (rows: VirtualRow[]) => FocusableRow[];
40
- export declare const resolveTreeListFocusRowId: (focusedRowId: string | undefined, activeNodeId: string | string[] | null | undefined, rows: VirtualRow[]) => string | undefined;
41
- export declare const resolveTreeListKeyboardNavigation: (input: {
42
- rows: VirtualRow[];
43
- focusedRowId: string | undefined;
44
- activeNodeId?: string | string[] | null;
45
- expandedNodeIds: string[];
46
- key: string;
47
- }) => {
48
- type: "toggle-section";
49
- sectionId: string;
50
- rowId?: undefined;
51
- } | {
52
- type: "toggle-node";
53
- nodeId: string;
54
- rowId?: undefined;
55
- } | {
56
- type: "focus";
57
- rowId: string;
58
- } | null;
@@ -1,7 +0,0 @@
1
- import { ReactNode } from 'react';
2
- interface TreeListMoveSurfaceProps {
3
- children: ReactNode;
4
- onMoveNode?: (sourceNodeId: string, targetNodeId?: string) => void;
5
- }
6
- export declare const TreeListMoveSurface: (props: TreeListMoveSurfaceProps) => import("react/jsx-runtime").JSX.Element;
7
- export {};
@@ -1,21 +0,0 @@
1
- import { StackProps } from '@chakra-ui/react';
2
- import { FocusEventHandler } from 'react';
3
- import { TreeListLinkComponent, TreeListNavigateEvent, TreeListNode } from './tree-list.types';
4
- type TreeListRowVariant = "compact" | "tree";
5
- interface TreeListNodeRowProps {
6
- sectionId: string;
7
- node: TreeListNode;
8
- level: number;
9
- expandedNodeIds: string[];
10
- activeNodeId?: string | string[] | null;
11
- rowVariant: TreeListRowVariant;
12
- nodeGap: StackProps["gap"];
13
- linkComponent?: TreeListLinkComponent;
14
- tabIndex?: number;
15
- onFocus?: FocusEventHandler<HTMLElement>;
16
- onNavigate?: (event: TreeListNavigateEvent) => void;
17
- onToggleNode?: (nodeId: string) => void;
18
- onMoveNode?: (sourceNodeId: string, targetNodeId?: string) => void;
19
- }
20
- export declare const TreeListNodeRow: (props: TreeListNodeRowProps) => import("react/jsx-runtime").JSX.Element;
21
- export {};
@@ -1,2 +0,0 @@
1
- import { TreeListSection } from './tree-list.types';
2
- export declare const applyTreeListOrder: (sections: TreeListSection[], sectionOrder: string[], nodeOrderBySection: Record<string, string[]>) => TreeListSection[];
@@ -1,45 +0,0 @@
1
- interface TreeListOrderSnapshot {
2
- sectionOrder: string[];
3
- nodeOrderBySection: Record<string, string[]>;
4
- sectionSlotById: Record<string, TreeListOrderSlot>;
5
- }
6
- type TreeListOrderSlot = "header" | "content" | "footer";
7
- interface TreeListOrderState extends TreeListOrderSnapshot {
8
- setSectionOrder: (nextSectionIds: string[]) => void;
9
- setNodeOrder: (sectionId: string, nextNodeIds: string[]) => void;
10
- setSectionSlot: (sectionId: string, slot: TreeListOrderSlot) => void;
11
- resetSectionOrder: () => void;
12
- resetNodeOrder: (sectionId: string) => void;
13
- reset: () => void;
14
- }
15
- interface CreateTreeListOrderStoreOptions {
16
- storageKey: string;
17
- }
18
- export declare const createTreeListOrderStore: (options: CreateTreeListOrderStoreOptions) => Omit<import('zustand').StoreApi<TreeListOrderState>, "setState" | "persist"> & {
19
- setState(partial: TreeListOrderState | Partial<TreeListOrderState> | ((state: TreeListOrderState) => TreeListOrderState | Partial<TreeListOrderState>), replace?: false | undefined): unknown;
20
- setState(state: TreeListOrderState | ((state: TreeListOrderState) => TreeListOrderState), replace: true): unknown;
21
- persist: {
22
- setOptions: (options: Partial<import('zustand/middleware').PersistOptions<TreeListOrderState, unknown, unknown>>) => void;
23
- clearStorage: () => void;
24
- rehydrate: () => Promise<void> | void;
25
- hasHydrated: () => boolean;
26
- onHydrate: (fn: (state: TreeListOrderState) => void) => () => void;
27
- onFinishHydration: (fn: (state: TreeListOrderState) => void) => () => void;
28
- getOptions: () => Partial<import('zustand/middleware').PersistOptions<TreeListOrderState, unknown, unknown>>;
29
- };
30
- };
31
- export declare const getTreeListOrderStore: (storageKey: string) => Omit<import('zustand').StoreApi<TreeListOrderState>, "setState" | "persist"> & {
32
- setState(partial: TreeListOrderState | Partial<TreeListOrderState> | ((state: TreeListOrderState) => TreeListOrderState | Partial<TreeListOrderState>), replace?: false | undefined): unknown;
33
- setState(state: TreeListOrderState | ((state: TreeListOrderState) => TreeListOrderState), replace: true): unknown;
34
- persist: {
35
- setOptions: (options: Partial<import('zustand/middleware').PersistOptions<TreeListOrderState, unknown, unknown>>) => void;
36
- clearStorage: () => void;
37
- rehydrate: () => Promise<void> | void;
38
- hasHydrated: () => boolean;
39
- onHydrate: (fn: (state: TreeListOrderState) => void) => () => void;
40
- onFinishHydration: (fn: (state: TreeListOrderState) => void) => () => void;
41
- getOptions: () => Partial<import('zustand/middleware').PersistOptions<TreeListOrderState, unknown, unknown>>;
42
- };
43
- };
44
- export declare const useTreeListOrderStore: <T>(storageKey: string, selector: (state: TreeListOrderState) => T) => T;
45
- export type { TreeListOrderSlot, TreeListOrderSnapshot, TreeListOrderState };