@lostgradient/cinder 0.16.1 → 0.17.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 (556) hide show
  1. package/CHANGELOG.md +185 -0
  2. package/README.md +33 -11
  3. package/components.json +53 -102
  4. package/dist/_internal/chart/chart-utilities.d.ts +1 -0
  5. package/dist/cli/index.js +63 -10
  6. package/dist/cli/mcp-dependencies.d.ts +4 -0
  7. package/dist/components/approval-card/approval-card.css +1 -6
  8. package/dist/components/approval-card/index.js +94 -55
  9. package/dist/components/area-chart/index.js +40 -6
  10. package/dist/components/bar-chart/index.js +132 -83
  11. package/dist/components/code-block/index.js +58 -9
  12. package/dist/components/command-menu/command-menu.css +9 -0
  13. package/dist/components/command-menu/index.js +7 -2
  14. package/dist/components/diff-statistics/diff-statistics.svelte.d.ts +3 -3
  15. package/dist/components/file-upload/file-upload.schema.js +5 -1
  16. package/dist/components/file-upload/file-upload.types.d.ts +2 -0
  17. package/dist/components/file-upload/index.js +37 -27
  18. package/dist/components/invocation-rule-builder/index.d.ts +1 -1
  19. package/dist/components/invocation-rule-builder/index.js +244 -199
  20. package/dist/components/invocation-rule-builder/invocation-rule-builder.css +8 -0
  21. package/dist/components/invocation-rule-builder/invocation-rule-builder.schema.d.ts +2 -2
  22. package/dist/components/invocation-rule-builder/invocation-rule-builder.schema.js +309 -193
  23. package/dist/components/invocation-rule-builder/invocation-rule-builder.svelte.d.ts +3 -2
  24. package/dist/components/invocation-rule-builder/invocation-rule-builder.types.d.ts +98 -31
  25. package/dist/components/json-editor/index.d.ts +5 -0
  26. package/dist/components/json-editor/index.js +261 -0
  27. package/dist/components/json-editor/json-editor.css +49 -0
  28. package/dist/components/{diff-viewer/diff-viewer.schema.js → json-editor/json-editor.schema.js} +37 -49
  29. package/dist/components/json-editor/json-editor.svelte.d.ts +21 -0
  30. package/dist/components/json-editor/json-editor.types.d.ts +25 -0
  31. package/dist/components/{diff-viewer/diff-viewer.variables.js → json-editor/json-editor.variables.js} +4 -4
  32. package/dist/components/json-schema-editor/index.js +2041 -4165
  33. package/dist/components/json-schema-editor/json-schema-editor-state.svelte.d.ts +17 -1
  34. package/dist/components/json-schema-editor/json-schema-editor-types.d.ts +8 -1
  35. package/dist/components/json-schema-editor/json-schema-editor.css +35 -0
  36. package/dist/components/json-schema-editor/json-schema-editor.svelte.d.ts +0 -1
  37. package/dist/components/json-schema-editor/json-schema-validator.d.ts +9 -4
  38. package/dist/components/line-chart/index.js +40 -6
  39. package/dist/components/matrix-chart/index.js +40 -6
  40. package/dist/components/payload-inspector/index.js +10 -2
  41. package/dist/components/payload-inspector/payload-inspector.schema.js +11 -1
  42. package/dist/components/payload-inspector/payload-inspector.types.d.ts +20 -0
  43. package/dist/components/run-step-timeline/index.js +158 -110
  44. package/dist/components/run-step-timeline/run-step-timeline.css +46 -0
  45. package/dist/components/run-step-timeline/run-step-timeline.schema.js +26 -1
  46. package/dist/components/run-step-timeline/run-step-timeline.types.d.ts +22 -2
  47. package/dist/components/schedule-builder/index.js +165 -93
  48. package/dist/components/schedule-builder/schedule-builder.schema.js +8 -1
  49. package/dist/components/schedule-builder/schedule-builder.svelte.d.ts +1 -1
  50. package/dist/components/schedule-builder/schedule-builder.types.d.ts +12 -0
  51. package/dist/components/schema-form/index.d.ts +1 -1
  52. package/dist/components/schema-form/index.js +107 -25
  53. package/dist/components/schema-form/schema-form.schema.js +9 -1
  54. package/dist/components/schema-form/schema-form.svelte.d.ts +1 -1
  55. package/dist/components/schema-form/schema-form.types.d.ts +8 -0
  56. package/dist/components/sidebar/index.js +93 -42
  57. package/dist/components/sidebar/sidebar.css +7 -16
  58. package/dist/components/sidebar/sidebar.schema.js +8 -9
  59. package/dist/components/sidebar/sidebar.types.d.ts +14 -12
  60. package/dist/components/source-diff-viewer/source-diff-viewer.svelte.d.ts +2 -2
  61. package/dist/components/spectrogram/index.js +40 -6
  62. package/dist/components/spectrum-chart/index.js +40 -6
  63. package/dist/components/tabs/tabs.css +2 -0
  64. package/dist/components/textarea/textarea.svelte.d.ts +1 -1
  65. package/dist/components/toast-region/index.js +2 -2
  66. package/dist/components/toast-region/toast-region.css +1 -1
  67. package/dist/components/waveform/index.js +40 -6
  68. package/dist/highlighters/shiki/index.d.ts +47 -5
  69. package/dist/highlighters/shiki/index.js +58 -9
  70. package/dist/index.d.ts +4 -4
  71. package/dist/index.js +15347 -16138
  72. package/dist/server/components/access-gate/index.js +2 -5
  73. package/dist/server/components/approval-card/index.js +2 -2
  74. package/dist/server/components/area-chart/index.js +3 -3
  75. package/dist/server/components/bar-chart/index.js +3 -3
  76. package/dist/server/components/command-menu/index.js +1 -1
  77. package/dist/server/components/context-menu/index.js +5 -5
  78. package/dist/server/components/data-table/index.js +2 -2
  79. package/dist/server/components/diff-statistics/index.js +3 -5
  80. package/dist/server/components/dropdown/index.js +6 -7
  81. package/dist/server/components/file-upload/index.js +2 -3
  82. package/dist/server/components/icons/index.js +17 -26
  83. package/dist/server/components/inline-loading/index.js +1 -1
  84. package/dist/server/components/invocation-rule-builder/index.js +1 -1
  85. package/dist/server/components/json-editor/index.js +13 -0
  86. package/dist/server/components/json-schema-editor/index.js +4 -16
  87. package/dist/server/components/line-chart/index.js +3 -3
  88. package/dist/server/components/matrix-chart/index.js +2 -2
  89. package/dist/server/components/menu-bar/index.js +4 -4
  90. package/dist/server/components/payload-inspector/index.js +2 -2
  91. package/dist/server/components/run-step-timeline/index.js +1 -1
  92. package/dist/server/components/schedule-builder/index.js +3 -3
  93. package/dist/server/components/schema-form/index.js +1 -1
  94. package/dist/server/components/selection-popover/index.js +3 -5
  95. package/dist/server/components/sidebar/index.js +1 -1
  96. package/dist/server/components/spectrogram/index.js +2 -2
  97. package/dist/server/components/spectrum-chart/index.js +2 -2
  98. package/dist/server/components/surface/index.js +3 -5
  99. package/dist/server/components/table/index.js +2 -2
  100. package/dist/server/components/tabs/index.js +5 -5
  101. package/dist/server/components/toast-region/index.js +1 -1
  102. package/dist/server/components/toolbar/index.js +2 -3
  103. package/dist/server/components/waveform/index.js +2 -2
  104. package/dist/server/highlighters/shiki/index.js +61 -25
  105. package/dist/server/index.js +105 -115
  106. package/dist/server/{index.server-7yfz2t73.js → index.server-003t81xk.js} +1 -1
  107. package/dist/server/{index.server-gwgm8gqg.js → index.server-032p855q.js} +4 -4
  108. package/dist/server/{index.server-tf2n3ccm.js → index.server-1vfhzhkj.js} +1 -1
  109. package/dist/server/{index.server-jz5yxwde.js → index.server-4cbqjf14.js} +16 -7
  110. package/dist/server/{index.server-aqethy0w.js → index.server-66nm5gd5.js} +102 -26
  111. package/dist/server/{index.server-m0ezemav.js → index.server-6mnbznbt.js} +4 -2
  112. package/dist/server/{index.server-1nq8h5yb.js → index.server-6vbpz6dd.js} +40 -6
  113. package/dist/server/{index.server-796hb0r8.js → index.server-7qak74fg.js} +1 -1
  114. package/dist/server/{index.server-5exh7rmw.js → index.server-7ygdwxre.js} +57 -5
  115. package/dist/server/{index.server-q1d48s9t.js → index.server-8c6cck0y.js} +6 -4
  116. package/dist/server/index.server-93vt8ktj.js +95 -0
  117. package/dist/server/{index.server-ep81fn23.js → index.server-9eccb2fc.js} +2 -2
  118. package/dist/server/{index.server-zncgb7mw.js → index.server-9nac5z11.js} +92 -49
  119. package/dist/server/{index.server-bf7d81b4.js → index.server-9vqfmhez.js} +16 -18
  120. package/dist/server/{index.server-nt304e00.js → index.server-dx58qant.js} +1 -1
  121. package/dist/server/{index.server-zh3r8vfd.js → index.server-fhrqsg97.js} +1 -1
  122. package/dist/server/{index.server-dq0k0qf6.js → index.server-geq56xaz.js} +10 -10
  123. package/dist/server/{index.server-51sxnete.js → index.server-hxveaqg1.js} +10 -10
  124. package/dist/server/{index.server-c5qv3p61.js → index.server-j87v28yy.js} +59 -30
  125. package/dist/server/{index.server-s5g7reqp.js → index.server-mewms9dg.js} +2 -2
  126. package/dist/server/index.server-mm728d0w.js +20 -0
  127. package/dist/server/{index.server-5mc2vsy0.js → index.server-n0rbn5yf.js} +4 -2
  128. package/dist/server/{index.server-qv0kkre4.js → index.server-ng8y854r.js} +188 -107
  129. package/dist/server/{index.server-wasj5rbh.js → index.server-q5gvb174.js} +4 -4
  130. package/dist/server/{index.server-g5jgq3jp.js → index.server-qxneqxf8.js} +40 -6
  131. package/dist/server/{index.server-x1dha7bk.js → index.server-rnddtcb3.js} +4 -2
  132. package/dist/server/{index.server-7zpzspk6.js → index.server-s4wm4g2a.js} +30 -2
  133. package/dist/server/index.server-szgghcdh.js +887 -0
  134. package/dist/server/{index.server-thcda9ny.js → index.server-vd302sxz.js} +11 -4
  135. package/dist/server/{index.server-3sq9d73w.js → index.server-vz9hqkdq.js} +2 -2
  136. package/dist/server/{index.server-mvjzcna5.js → index.server-wg6ddzpa.js} +42 -20
  137. package/dist/server/{index.server-67q8dmbp.js → index.server-y2ncgt7p.js} +1 -1
  138. package/dist/server/{index.server-4x91gzy1.js → index.server-yqhww50r.js} +4 -4
  139. package/dist/server/{index.server-7798gc22.js → index.server-zfx4magq.js} +4 -2
  140. package/package.json +45 -288
  141. package/src/_internal/chart/chart-utilities.ts +74 -5
  142. package/src/components/approval-card/approval-card-actions.svelte +12 -28
  143. package/src/components/approval-card/approval-card.css +1 -6
  144. package/src/components/bar-chart/bar-chart.examples.json +1 -1
  145. package/src/components/bar-chart/bar-chart.svelte +3 -1
  146. package/src/components/command-menu/command-menu.css +9 -0
  147. package/src/components/command-menu/command-menu.svelte +9 -2
  148. package/src/components/file-upload/file-upload.schema.json +4 -0
  149. package/src/components/file-upload/file-upload.schema.ts +4 -0
  150. package/src/components/file-upload/file-upload.svelte +3 -3
  151. package/src/components/file-upload/file-upload.types.ts +2 -0
  152. package/src/components/invocation-rule-builder/index.ts +1 -0
  153. package/src/components/invocation-rule-builder/invocation-rule-builder.css +8 -0
  154. package/src/components/invocation-rule-builder/invocation-rule-builder.examples.json +6 -0
  155. package/src/components/invocation-rule-builder/invocation-rule-builder.schema.json +70 -7
  156. package/src/components/invocation-rule-builder/invocation-rule-builder.schema.ts +5 -250
  157. package/src/components/invocation-rule-builder/invocation-rule-builder.svelte +106 -83
  158. package/src/components/invocation-rule-builder/invocation-rule-builder.types.ts +145 -62
  159. package/src/components/json-editor/index.ts +6 -0
  160. package/src/components/json-editor/json-editor.css +49 -0
  161. package/src/components/json-editor/json-editor.examples.json +13 -0
  162. package/src/components/json-editor/json-editor.schema.json +57 -0
  163. package/src/components/json-editor/json-editor.schema.ts +62 -0
  164. package/src/components/json-editor/json-editor.svelte +104 -0
  165. package/src/components/json-editor/json-editor.types.ts +29 -0
  166. package/src/components/json-schema-editor/diff-view.svelte +26 -8
  167. package/src/components/json-schema-editor/form-view.svelte +1 -1
  168. package/src/components/json-schema-editor/json-schema-editor-state.svelte.ts +163 -56
  169. package/src/components/json-schema-editor/json-schema-editor-types.ts +8 -1
  170. package/src/components/json-schema-editor/json-schema-editor.css +35 -0
  171. package/src/components/json-schema-editor/json-schema-validator.ts +59 -25
  172. package/src/components/json-schema-editor/json-view.svelte +52 -18
  173. package/src/components/payload-inspector/payload-inspector.schema.json +8 -0
  174. package/src/components/payload-inspector/payload-inspector.schema.ts +10 -0
  175. package/src/components/payload-inspector/payload-inspector.svelte +2 -2
  176. package/src/components/payload-inspector/payload-inspector.types.ts +20 -0
  177. package/src/components/run-step-timeline/run-step-timeline.css +46 -0
  178. package/src/components/run-step-timeline/run-step-timeline.examples.json +3 -3
  179. package/src/components/run-step-timeline/run-step-timeline.schema.json +24 -0
  180. package/src/components/run-step-timeline/run-step-timeline.schema.ts +26 -0
  181. package/src/components/run-step-timeline/run-step-timeline.svelte +41 -4
  182. package/src/components/run-step-timeline/run-step-timeline.types.ts +22 -1
  183. package/src/components/run-step-timeline/run-step-timeline.utilities.ts +9 -1
  184. package/src/components/schedule-builder/schedule-builder.schema.json +7 -0
  185. package/src/components/schedule-builder/schedule-builder.schema.ts +8 -0
  186. package/src/components/schedule-builder/schedule-builder.svelte +94 -22
  187. package/src/components/schedule-builder/schedule-builder.types.ts +12 -0
  188. package/src/components/schema-form/index.ts +1 -0
  189. package/src/components/schema-form/schema-form-body.svelte +94 -17
  190. package/src/components/schema-form/schema-form.examples.json +1 -1
  191. package/src/components/schema-form/schema-form.schema.json +5 -0
  192. package/src/components/schema-form/schema-form.schema.ts +6 -0
  193. package/src/components/schema-form/schema-form.svelte +4 -0
  194. package/src/components/schema-form/schema-form.types.ts +9 -0
  195. package/src/components/side-navigation/side-navigation.examples.json +1 -1
  196. package/src/components/sidebar/sidebar.css +7 -16
  197. package/src/components/sidebar/sidebar.examples.json +3 -3
  198. package/src/components/sidebar/sidebar.schema.json +7 -8
  199. package/src/components/sidebar/sidebar.schema.ts +8 -8
  200. package/src/components/sidebar/sidebar.svelte +65 -27
  201. package/src/components/sidebar/sidebar.types.ts +14 -12
  202. package/src/components/tabs/tabs.css +2 -0
  203. package/src/components/toast-region/toast-region.css +1 -1
  204. package/src/components/toast-region/toast-region.examples.json +1 -1
  205. package/src/components/toast-region/toast-region.svelte +2 -2
  206. package/src/highlighters/shiki/index.ts +157 -17
  207. package/src/index.ts +5 -7
  208. package/src/styles/components.css +1 -1
  209. package/src/utilities/change-tracker.svelte.ts +1 -1
  210. package/dist/commentary/anchor-decorations.d.ts +0 -86
  211. package/dist/commentary/anchor-decorations.js +0 -490
  212. package/dist/commentary/anchoring.d.ts +0 -93
  213. package/dist/commentary/anchoring.js +0 -157
  214. package/dist/commentary/comments/index.d.ts +0 -12
  215. package/dist/commentary/comments/index.js +0 -14
  216. package/dist/commentary/comments/mentions.d.ts +0 -43
  217. package/dist/commentary/comments/mentions.js +0 -65
  218. package/dist/commentary/comments/reanchor.d.ts +0 -86
  219. package/dist/commentary/comments/reanchor.js +0 -220
  220. package/dist/commentary/comments/types.d.ts +0 -260
  221. package/dist/commentary/comments/types.js +0 -83
  222. package/dist/commentary/comments/updates.d.ts +0 -102
  223. package/dist/commentary/comments/updates.js +0 -226
  224. package/dist/commentary/export/comments-export.d.ts +0 -42
  225. package/dist/commentary/export/comments-export.js +0 -258
  226. package/dist/commentary/export/index.d.ts +0 -12
  227. package/dist/commentary/export/index.js +0 -12
  228. package/dist/commentary/export/markdown-summary.d.ts +0 -31
  229. package/dist/commentary/export/markdown-summary.js +0 -218
  230. package/dist/commentary/export/types.d.ts +0 -162
  231. package/dist/commentary/export/types.js +0 -7
  232. package/dist/commentary/export/unified-diff.d.ts +0 -28
  233. package/dist/commentary/export/unified-diff.js +0 -250
  234. package/dist/commentary/index.d.ts +0 -6
  235. package/dist/commentary/index.js +0 -6
  236. package/dist/commentary/session/index.d.ts +0 -12
  237. package/dist/commentary/session/index.js +0 -14
  238. package/dist/commentary/session/persistence.d.ts +0 -92
  239. package/dist/commentary/session/persistence.js +0 -253
  240. package/dist/commentary/session/types.d.ts +0 -208
  241. package/dist/commentary/session/types.js +0 -26
  242. package/dist/commentary/session/updates.d.ts +0 -155
  243. package/dist/commentary/session/updates.js +0 -362
  244. package/dist/commentary/shared/anchor-types.d.ts +0 -116
  245. package/dist/commentary/shared/anchor-types.js +0 -9
  246. package/dist/components/diff-viewer/diff-controller.svelte.d.ts +0 -75
  247. package/dist/components/diff-viewer/diff-front-matter.svelte.d.ts +0 -28
  248. package/dist/components/diff-viewer/diff-line.svelte.d.ts +0 -22
  249. package/dist/components/diff-viewer/diff-summary-bar.svelte.d.ts +0 -13
  250. package/dist/components/diff-viewer/diff-toolbar.svelte.d.ts +0 -36
  251. package/dist/components/diff-viewer/diff-viewer.svelte.d.ts +0 -22
  252. package/dist/components/diff-viewer/diff-viewer.types.d.ts +0 -53
  253. package/dist/components/diff-viewer/front-matter-header.svelte.d.ts +0 -26
  254. package/dist/components/diff-viewer/index.d.ts +0 -4
  255. package/dist/components/diff-viewer/index.js +0 -2848
  256. package/dist/components/markdown-editor/editor-skeleton.svelte.d.ts +0 -10
  257. package/dist/components/markdown-editor/editor-toolbar/editor-toolbar.svelte.d.ts +0 -37
  258. package/dist/components/markdown-editor/editor-toolbar/index.d.ts +0 -11
  259. package/dist/components/markdown-editor/editor-toolbar/link-popover.svelte.d.ts +0 -30
  260. package/dist/components/markdown-editor/editor-toolbar/toolbar-button.svelte.d.ts +0 -19
  261. package/dist/components/markdown-editor/editor-toolbar/toolbar-dropdown.svelte.d.ts +0 -24
  262. package/dist/components/markdown-editor/editor-toolbar/toolbar-separator.svelte.d.ts +0 -7
  263. package/dist/components/markdown-editor/editor-toolbar/types.d.ts +0 -13
  264. package/dist/components/markdown-editor/index.css +0 -61
  265. package/dist/components/markdown-editor/index.d.ts +0 -4
  266. package/dist/components/markdown-editor/index.js +0 -7494
  267. package/dist/components/markdown-editor/markdown-editor.schema.d.ts +0 -3
  268. package/dist/components/markdown-editor/markdown-editor.schema.js +0 -177
  269. package/dist/components/markdown-editor/markdown-editor.svelte.d.ts +0 -29
  270. package/dist/components/markdown-editor/markdown-editor.types.d.ts +0 -100
  271. package/dist/components/markdown-editor/markdown-editor.variables.d.ts +0 -2
  272. package/dist/components/markdown-editor/markdown-editor.variables.js +0 -61
  273. package/dist/components/review-editor/comment-composer.svelte.d.ts +0 -37
  274. package/dist/components/review-editor/comment-list.svelte.d.ts +0 -19
  275. package/dist/components/review-editor/comment-sidebar.svelte.d.ts +0 -22
  276. package/dist/components/review-editor/export-actions.svelte.d.ts +0 -18
  277. package/dist/components/review-editor/focus-navigation.d.ts +0 -105
  278. package/dist/components/review-editor/front-matter-fields.svelte.d.ts +0 -10
  279. package/dist/components/review-editor/index.d.ts +0 -20
  280. package/dist/components/review-editor/index.js +0 -14731
  281. package/dist/components/review-editor/live-region.svelte.d.ts +0 -23
  282. package/dist/components/review-editor/review-editor-anchors.svelte.d.ts +0 -96
  283. package/dist/components/review-editor/review-editor-controls.svelte.d.ts +0 -41
  284. package/dist/components/review-editor/review-editor-exports.d.ts +0 -80
  285. package/dist/components/review-editor/review-editor-front-matter.d.ts +0 -28
  286. package/dist/components/review-editor/review-editor-impl.svelte.d.ts +0 -31
  287. package/dist/components/review-editor/review-editor-selection-geometry.d.ts +0 -10
  288. package/dist/components/review-editor/review-editor-selection-types.d.ts +0 -62
  289. package/dist/components/review-editor/review-editor-selection.svelte.d.ts +0 -50
  290. package/dist/components/review-editor/review-editor-state.svelte.d.ts +0 -77
  291. package/dist/components/review-editor/review-editor-threads.svelte.d.ts +0 -137
  292. package/dist/components/review-editor/review-editor.css +0 -273
  293. package/dist/components/review-editor/review-editor.schema.d.ts +0 -3
  294. package/dist/components/review-editor/review-editor.schema.js +0 -143
  295. package/dist/components/review-editor/review-editor.svelte.d.ts +0 -19
  296. package/dist/components/review-editor/review-editor.types.d.ts +0 -77
  297. package/dist/components/review-editor/review-editor.variables.d.ts +0 -2
  298. package/dist/components/review-editor/review-editor.variables.js +0 -61
  299. package/dist/components/review-editor/thread-popover.svelte.d.ts +0 -32
  300. package/dist/diff/index.d.ts +0 -2
  301. package/dist/diff/index.js +0 -1
  302. package/dist/diff/line-diff.d.ts +0 -84
  303. package/dist/diff/line-diff.js +0 -372
  304. package/dist/diff/types.d.ts +0 -1
  305. package/dist/diff/types.js +0 -1
  306. package/dist/editor/attach.d.ts +0 -30
  307. package/dist/editor/attach.js +0 -86
  308. package/dist/editor/bridge.d.ts +0 -110
  309. package/dist/editor/bridge.js +0 -260
  310. package/dist/editor/clipboard.d.ts +0 -19
  311. package/dist/editor/clipboard.js +0 -189
  312. package/dist/editor/commands.d.ts +0 -167
  313. package/dist/editor/commands.js +0 -728
  314. package/dist/editor/component-runtime.d.ts +0 -21
  315. package/dist/editor/component-runtime.js +0 -20
  316. package/dist/editor/editor.d.ts +0 -23
  317. package/dist/editor/editor.js +0 -256
  318. package/dist/editor/index.d.ts +0 -30
  319. package/dist/editor/index.js +0 -42
  320. package/dist/editor/keymap-plugin.d.ts +0 -56
  321. package/dist/editor/keymap-plugin.js +0 -157
  322. package/dist/editor/link-input-rule.d.ts +0 -4
  323. package/dist/editor/link-input-rule.js +0 -26
  324. package/dist/editor/milkdown-plugin-runtime.d.ts +0 -20
  325. package/dist/editor/milkdown-plugin-runtime.js +0 -43
  326. package/dist/editor/placeholder-security.d.ts +0 -22
  327. package/dist/editor/placeholder-security.js +0 -36
  328. package/dist/editor/placeholder.d.ts +0 -14
  329. package/dist/editor/placeholder.js +0 -56
  330. package/dist/editor/sanitize-html.d.ts +0 -32
  331. package/dist/editor/sanitize-html.js +0 -111
  332. package/dist/editor/template-completion-plugin.d.ts +0 -159
  333. package/dist/editor/template-completion-plugin.js +0 -615
  334. package/dist/editor/template-invalid-decoration-plugin.d.ts +0 -73
  335. package/dist/editor/template-invalid-decoration-plugin.js +0 -155
  336. package/dist/editor/template-placeholders.d.ts +0 -96
  337. package/dist/editor/template-placeholders.js +0 -355
  338. package/dist/editor/template-position-utilities.d.ts +0 -34
  339. package/dist/editor/template-position-utilities.js +0 -63
  340. package/dist/editor/template-render.d.ts +0 -37
  341. package/dist/editor/template-render.js +0 -45
  342. package/dist/editor/test-utilities.d.ts +0 -49
  343. package/dist/editor/test-utilities.js +0 -93
  344. package/dist/editor/types.d.ts +0 -234
  345. package/dist/editor/types.js +0 -8
  346. package/dist/markdown/diff/compute.d.ts +0 -28
  347. package/dist/markdown/diff/compute.js +0 -250
  348. package/dist/markdown/diff/frontmatter.d.ts +0 -66
  349. package/dist/markdown/diff/frontmatter.js +0 -135
  350. package/dist/markdown/diff/index.d.ts +0 -27
  351. package/dist/markdown/diff/index.js +0 -28
  352. package/dist/markdown/diff/line-diff.d.ts +0 -2
  353. package/dist/markdown/diff/line-diff.js +0 -1
  354. package/dist/markdown/diff/positions.d.ts +0 -66
  355. package/dist/markdown/diff/positions.js +0 -147
  356. package/dist/markdown/diff/types.d.ts +0 -78
  357. package/dist/markdown/diff/types.js +0 -7
  358. package/dist/markdown/index.d.ts +0 -2
  359. package/dist/markdown/index.js +0 -8
  360. package/dist/markdown/pipeline/ast.d.ts +0 -302
  361. package/dist/markdown/pipeline/ast.js +0 -417
  362. package/dist/markdown/pipeline/errors.d.ts +0 -37
  363. package/dist/markdown/pipeline/errors.js +0 -49
  364. package/dist/markdown/pipeline/frontmatter.d.ts +0 -127
  365. package/dist/markdown/pipeline/frontmatter.js +0 -438
  366. package/dist/markdown/pipeline/index.d.ts +0 -37
  367. package/dist/markdown/pipeline/index.js +0 -40
  368. package/dist/markdown/pipeline/parser.d.ts +0 -65
  369. package/dist/markdown/pipeline/parser.js +0 -106
  370. package/dist/markdown/pipeline/serializer.d.ts +0 -67
  371. package/dist/markdown/pipeline/serializer.js +0 -78
  372. package/dist/markdown/pipeline/strip-positions.d.ts +0 -20
  373. package/dist/markdown/pipeline/strip-positions.js +0 -28
  374. package/dist/markdown/pipeline/types.d.ts +0 -116
  375. package/dist/markdown/pipeline/types.js +0 -8
  376. package/dist/markdown/rendering/extract-code-blocks.d.ts +0 -16
  377. package/dist/markdown/rendering/extract-code-blocks.js +0 -27
  378. package/dist/markdown/rendering/highlighter.d.ts +0 -109
  379. package/dist/markdown/rendering/highlighter.js +0 -251
  380. package/dist/markdown/rendering/index.d.ts +0 -41
  381. package/dist/markdown/rendering/index.js +0 -46
  382. package/dist/markdown/rendering/mermaid-cache.d.ts +0 -55
  383. package/dist/markdown/rendering/mermaid-cache.js +0 -123
  384. package/dist/markdown/rendering/rehype-shiki-sync.d.ts +0 -57
  385. package/dist/markdown/rendering/rehype-shiki-sync.js +0 -354
  386. package/dist/markdown/rendering/render-async.d.ts +0 -43
  387. package/dist/markdown/rendering/render-async.js +0 -114
  388. package/dist/markdown/rendering/render-streaming.d.ts +0 -33
  389. package/dist/markdown/rendering/render-streaming.js +0 -123
  390. package/dist/markdown/rendering/render-worker.d.ts +0 -19
  391. package/dist/markdown/rendering/render-worker.js +0 -35
  392. package/dist/markdown/rendering/render.d.ts +0 -123
  393. package/dist/markdown/rendering/render.js +0 -477
  394. package/dist/markdown/rendering/sanitize-schema.d.ts +0 -24
  395. package/dist/markdown/rendering/sanitize-schema.js +0 -105
  396. package/dist/markdown/rendering/transform-urls.d.ts +0 -37
  397. package/dist/markdown/rendering/transform-urls.js +0 -51
  398. package/dist/markdown/rendering/types.d.ts +0 -51
  399. package/dist/markdown/rendering/types.js +0 -8
  400. package/dist/markdown/rendering/worker-dom-shim.d.ts +0 -87
  401. package/dist/markdown/rendering/worker-dom-shim.js +0 -50
  402. package/dist/markdown/utilities/safe-url.d.ts +0 -100
  403. package/dist/markdown/utilities/safe-url.js +0 -236
  404. package/dist/markdown/utilities/sort-keys.d.ts +0 -19
  405. package/dist/markdown/utilities/sort-keys.js +0 -33
  406. package/dist/server/commentary/anchor-decorations.js +0 -490
  407. package/dist/server/commentary/anchoring.js +0 -157
  408. package/dist/server/commentary/comments/index.js +0 -14
  409. package/dist/server/commentary/comments/mentions.js +0 -65
  410. package/dist/server/commentary/comments/reanchor.js +0 -220
  411. package/dist/server/commentary/comments/types.js +0 -83
  412. package/dist/server/commentary/comments/updates.js +0 -226
  413. package/dist/server/commentary/export/comments-export.js +0 -258
  414. package/dist/server/commentary/export/index.js +0 -12
  415. package/dist/server/commentary/export/markdown-summary.js +0 -218
  416. package/dist/server/commentary/export/types.js +0 -7
  417. package/dist/server/commentary/export/unified-diff.js +0 -250
  418. package/dist/server/commentary/index.js +0 -6
  419. package/dist/server/commentary/session/index.js +0 -14
  420. package/dist/server/commentary/session/persistence.js +0 -253
  421. package/dist/server/commentary/session/types.js +0 -26
  422. package/dist/server/commentary/session/updates.js +0 -362
  423. package/dist/server/commentary/shared/anchor-types.js +0 -9
  424. package/dist/server/components/diff-viewer/index.js +0 -33
  425. package/dist/server/components/markdown-editor/index.js +0 -52
  426. package/dist/server/components/review-editor/index.js +0 -3493
  427. package/dist/server/diff/index.js +0 -1
  428. package/dist/server/diff/line-diff.js +0 -372
  429. package/dist/server/diff/types.js +0 -1
  430. package/dist/server/editor/attach.js +0 -86
  431. package/dist/server/editor/bridge.js +0 -260
  432. package/dist/server/editor/clipboard.js +0 -189
  433. package/dist/server/editor/commands.js +0 -728
  434. package/dist/server/editor/component-runtime.js +0 -20
  435. package/dist/server/editor/editor.js +0 -256
  436. package/dist/server/editor/index.js +0 -42
  437. package/dist/server/editor/keymap-plugin.js +0 -157
  438. package/dist/server/editor/link-input-rule.js +0 -26
  439. package/dist/server/editor/milkdown-plugin-runtime.js +0 -43
  440. package/dist/server/editor/placeholder-security.js +0 -36
  441. package/dist/server/editor/placeholder.js +0 -56
  442. package/dist/server/editor/sanitize-html.js +0 -111
  443. package/dist/server/editor/template-completion-plugin.js +0 -615
  444. package/dist/server/editor/template-invalid-decoration-plugin.js +0 -155
  445. package/dist/server/editor/template-placeholders.js +0 -355
  446. package/dist/server/editor/template-position-utilities.js +0 -63
  447. package/dist/server/editor/template-render.js +0 -45
  448. package/dist/server/editor/test-utilities.js +0 -93
  449. package/dist/server/editor/types.js +0 -8
  450. package/dist/server/index.server-25wmev4e.js +0 -2
  451. package/dist/server/index.server-2c56kqws.js +0 -187
  452. package/dist/server/index.server-45n4s30n.js +0 -35
  453. package/dist/server/index.server-4jkqgp17.js +0 -1026
  454. package/dist/server/index.server-8nm871y8.js +0 -176
  455. package/dist/server/index.server-d04aj37r.js +0 -62
  456. package/dist/server/index.server-dg19y3m7.js +0 -9
  457. package/dist/server/index.server-g3726bja.js +0 -9
  458. package/dist/server/index.server-gyzmkrnz.js +0 -2
  459. package/dist/server/index.server-jp19145t.js +0 -9
  460. package/dist/server/index.server-n4jxy52q.js +0 -2
  461. package/dist/server/index.server-sghkqw5x.js +0 -421
  462. package/dist/server/index.server-w6am2dxc.js +0 -12
  463. package/dist/server/index.server-x66zvjfc.js +0 -1163
  464. package/dist/server/index.server-zdhv33ph.js +0 -124
  465. package/dist/server/index.server-zke5zt13.js +0 -9
  466. package/dist/server/markdown/diff/compute.js +0 -250
  467. package/dist/server/markdown/diff/frontmatter.js +0 -135
  468. package/dist/server/markdown/diff/index.js +0 -28
  469. package/dist/server/markdown/diff/line-diff.js +0 -1
  470. package/dist/server/markdown/diff/positions.js +0 -147
  471. package/dist/server/markdown/diff/types.js +0 -7
  472. package/dist/server/markdown/index.js +0 -8
  473. package/dist/server/markdown/pipeline/ast.js +0 -417
  474. package/dist/server/markdown/pipeline/errors.js +0 -49
  475. package/dist/server/markdown/pipeline/frontmatter.js +0 -438
  476. package/dist/server/markdown/pipeline/index.js +0 -40
  477. package/dist/server/markdown/pipeline/parser.js +0 -106
  478. package/dist/server/markdown/pipeline/serializer.js +0 -78
  479. package/dist/server/markdown/pipeline/strip-positions.js +0 -28
  480. package/dist/server/markdown/pipeline/types.js +0 -8
  481. package/dist/server/markdown/rendering/extract-code-blocks.js +0 -27
  482. package/dist/server/markdown/rendering/highlighter.js +0 -251
  483. package/dist/server/markdown/rendering/index.js +0 -46
  484. package/dist/server/markdown/rendering/mermaid-cache.js +0 -123
  485. package/dist/server/markdown/rendering/rehype-shiki-sync.js +0 -354
  486. package/dist/server/markdown/rendering/render-async.js +0 -114
  487. package/dist/server/markdown/rendering/render-streaming.js +0 -123
  488. package/dist/server/markdown/rendering/render-worker.js +0 -35
  489. package/dist/server/markdown/rendering/render.js +0 -477
  490. package/dist/server/markdown/rendering/sanitize-schema.js +0 -105
  491. package/dist/server/markdown/rendering/transform-urls.js +0 -51
  492. package/dist/server/markdown/rendering/types.js +0 -8
  493. package/dist/server/markdown/rendering/worker-dom-shim.js +0 -50
  494. package/dist/server/markdown/utilities/safe-url.js +0 -236
  495. package/dist/server/markdown/utilities/sort-keys.js +0 -33
  496. package/src/components/diff-viewer/diff-controller.svelte.ts +0 -250
  497. package/src/components/diff-viewer/diff-front-matter.svelte +0 -52
  498. package/src/components/diff-viewer/diff-line.svelte +0 -340
  499. package/src/components/diff-viewer/diff-summary-bar.svelte +0 -106
  500. package/src/components/diff-viewer/diff-toolbar.svelte +0 -182
  501. package/src/components/diff-viewer/diff-viewer.examples.json +0 -25
  502. package/src/components/diff-viewer/diff-viewer.schema.json +0 -61
  503. package/src/components/diff-viewer/diff-viewer.schema.ts +0 -70
  504. package/src/components/diff-viewer/diff-viewer.svelte +0 -400
  505. package/src/components/diff-viewer/diff-viewer.types.ts +0 -56
  506. package/src/components/diff-viewer/front-matter-header.svelte +0 -137
  507. package/src/components/diff-viewer/index.ts +0 -5
  508. package/src/components/markdown-editor/editor-skeleton.svelte +0 -85
  509. package/src/components/markdown-editor/editor-toolbar/editor-toolbar.svelte +0 -318
  510. package/src/components/markdown-editor/editor-toolbar/index.ts +0 -18
  511. package/src/components/markdown-editor/editor-toolbar/link-popover.svelte +0 -314
  512. package/src/components/markdown-editor/editor-toolbar/toolbar-button.svelte +0 -97
  513. package/src/components/markdown-editor/editor-toolbar/toolbar-dropdown.svelte +0 -106
  514. package/src/components/markdown-editor/editor-toolbar/toolbar-separator.svelte +0 -30
  515. package/src/components/markdown-editor/editor-toolbar/types.ts +0 -15
  516. package/src/components/markdown-editor/index.ts +0 -10
  517. package/src/components/markdown-editor/markdown-editor.examples.json +0 -19
  518. package/src/components/markdown-editor/markdown-editor.schema.json +0 -111
  519. package/src/components/markdown-editor/markdown-editor.schema.ts +0 -122
  520. package/src/components/markdown-editor/markdown-editor.svelte +0 -872
  521. package/src/components/markdown-editor/markdown-editor.types.ts +0 -124
  522. package/src/components/markdown-editor/markdown-editor.variables.json +0 -1
  523. package/src/components/markdown-editor/markdown-editor.variables.ts +0 -3
  524. package/src/components/markdown-editor/prosemirror.css +0 -76
  525. package/src/components/review-editor/comment-composer.svelte +0 -271
  526. package/src/components/review-editor/comment-list.svelte +0 -311
  527. package/src/components/review-editor/comment-sidebar.svelte +0 -449
  528. package/src/components/review-editor/export-actions.svelte +0 -188
  529. package/src/components/review-editor/focus-navigation.ts +0 -220
  530. package/src/components/review-editor/front-matter-fields.svelte +0 -159
  531. package/src/components/review-editor/index.ts +0 -59
  532. package/src/components/review-editor/live-region.svelte +0 -109
  533. package/src/components/review-editor/review-editor-anchors.svelte.ts +0 -219
  534. package/src/components/review-editor/review-editor-controls.svelte +0 -201
  535. package/src/components/review-editor/review-editor-exports.ts +0 -145
  536. package/src/components/review-editor/review-editor-front-matter.ts +0 -237
  537. package/src/components/review-editor/review-editor-impl.svelte +0 -1509
  538. package/src/components/review-editor/review-editor-selection-geometry.ts +0 -31
  539. package/src/components/review-editor/review-editor-selection-types.ts +0 -68
  540. package/src/components/review-editor/review-editor-selection.svelte.ts +0 -292
  541. package/src/components/review-editor/review-editor-state.svelte.ts +0 -117
  542. package/src/components/review-editor/review-editor-threads.svelte.ts +0 -435
  543. package/src/components/review-editor/review-editor.css +0 -273
  544. package/src/components/review-editor/review-editor.examples.json +0 -19
  545. package/src/components/review-editor/review-editor.schema.json +0 -83
  546. package/src/components/review-editor/review-editor.schema.ts +0 -88
  547. package/src/components/review-editor/review-editor.svelte +0 -18
  548. package/src/components/review-editor/review-editor.types.ts +0 -92
  549. package/src/components/review-editor/review-editor.variables.json +0 -1
  550. package/src/components/review-editor/review-editor.variables.ts +0 -3
  551. package/src/components/review-editor/thread-popover.svelte +0 -261
  552. /package/dist/components/{review-editor/review-editor.css.d.ts → json-editor/json-editor.css.d.ts} +0 -0
  553. /package/dist/components/{diff-viewer/diff-viewer.schema.d.ts → json-editor/json-editor.schema.d.ts} +0 -0
  554. /package/dist/components/{diff-viewer/diff-viewer.variables.d.ts → json-editor/json-editor.variables.d.ts} +0 -0
  555. /package/src/components/{diff-viewer/diff-viewer.variables.json → json-editor/json-editor.variables.json} +0 -0
  556. /package/src/components/{diff-viewer/diff-viewer.variables.ts → json-editor/json-editor.variables.ts} +0 -0
@@ -5,27 +5,29 @@ export type SidebarProps = Omit<HTMLAttributes<HTMLElement>, 'aria-label' | 'ari
5
5
  /**
6
6
  * Whether the sidebar is collapsed. Bindable via `bind:collapsed`. Default `false`.
7
7
  *
8
- * On desktop (>= md breakpoint) `collapsed=true` switches the sidebar to
9
- * icon-only mode. Below the md breakpoint the sidebar renders inside a
8
+ * Above `mobileBreakpoint`, `collapsed=true` switches the sidebar to
9
+ * icon-only mode. At or below `mobileBreakpoint`, the sidebar renders inside a
10
10
  * `<Drawer>` and `collapsed=true` means the drawer is closed.
11
11
  */
12
12
  collapsed?: boolean;
13
13
  /**
14
- * Accessible name for the outer landmark and the mobile drawer. Required —
15
- * defaults to `'Sidebar'` for convenience but must be unique per page. The
16
- * inner `<nav>` landmark derives its own accessible name from this value
17
- * by appending `' navigation'` so screen readers can distinguish the
18
- * outer complementary region from the inner navigation region.
14
+ * Accessible name for the outer landmark and the mobile drawer. Defaults to
15
+ * `'Sidebar'` for convenience but must be unique per page. Navigation content
16
+ * owns its own accessible name; for example, use `SideNavigation.ariaLabel`.
19
17
  */
20
18
  label?: string;
19
+ /**
20
+ * Viewport width below which the sidebar switches from the inline aside to
21
+ * the mobile drawer. Accepts a simple CSS length such as `'47.99rem'` or
22
+ * `'1024px'`. Default `'47.99rem'`.
23
+ */
24
+ mobileBreakpoint?: string;
21
25
  /** Additional CSS class merged with `.cinder-sidebar`. */
22
26
  class?: string;
23
- /** Optional branding region rendered above the navigation. */
24
- brand?: Snippet;
25
27
  /**
26
- * Navigation region. Typically a `<SideNavigation>` subtree. Optional — when
27
- * omitted, no `<nav>` landmark is rendered (so the sidebar can serve as app chrome
28
- * without a navigation list, and an empty `<nav>` isn't announced to screen readers).
28
+ * Navigation content. Typically a `<SideNavigation>` subtree, which owns the
29
+ * navigation landmark and its accessible name. Optional so the sidebar can
30
+ * serve as app chrome without a navigation list.
29
31
  */
30
32
  navigation?: Snippet;
31
33
  /** Optional footer region (e.g. user account, sign-out). */
@@ -8,9 +8,9 @@
8
8
  * @tag code
9
9
  * @useWhen Rendering source-code unified patches from agent output, Git operations, workspace changes, or review systems.
10
10
  * @useWhen Showing operational patch output where file and hunk structure matters more than Markdown front matter or word-level prose review.
11
- * @avoidWhen Comparing two Markdown documents with normalization, front-matter handling, and revert affordances. | diff-viewer
11
+ * @avoidWhen Comparing two Markdown documents with normalization, front-matter, and revert affordances — use `DiffViewer` from `@lostgradient/editor`.
12
12
  * @avoidWhen Showing syntax-highlighted code samples rather than patch output. | code-block
13
- * @related diff-viewer, diff-statistics, code-block
13
+ * @related diff-statistics, code-block
14
14
  */
15
15
  export type { SourceDiffFile, SourceDiffHunk, SourceDiffLine, SourceDiffLineKind, SourceDiffParseResult, SourceDiffViewerProps, } from './source-diff-viewer.types.ts';
16
16
  export { getSourceDiffFileLabel, getSourceDiffLineLabel, parseUnifiedPatch, } from './source-diff-viewer.utilities.ts';
@@ -341,7 +341,6 @@ function createBarModel(options) {
341
341
  assertValidChartNumber("bar-chart", "invalid-height", height, "height");
342
342
  assertValidTickCount("bar-chart", xAxis);
343
343
  assertValidTickCount("bar-chart", yAxis);
344
- const geometry = createGeometry(width, height);
345
344
  const categories = [];
346
345
  const seenCategories = new Set;
347
346
  const categoryKinds = new Set;
@@ -381,6 +380,9 @@ function createBarModel(options) {
381
380
  throw new Error(`[cinder/bar-chart] rule=mixed-bar-category-kind key="${categoryKey}": category values must share one domain kind.`);
382
381
  }
383
382
  const sortedCategories = sortXValues(categories);
383
+ const categoryLabels = sortedCategories.map((category, index) => formatXValue(category, orientation === "vertical" ? xAxis : yAxis, { index }));
384
+ const horizontalCategoryLabelLayout = orientation === "horizontal" ? createHorizontalCategoryLabelLayout(categoryLabels, width) : undefined;
385
+ const geometry = createGeometry(width, height, horizontalCategoryLabelLayout?.marginLeft);
384
386
  const valueDomain = createPaddedDomain(mode === "stacked" ? createStackedBarDomainValues(datumByKey, sortedCategories, visibleSeries) : visibleValues);
385
387
  if (sortedCategories.length === 0) {
386
388
  const tickAxis = orientation === "vertical" ? yAxis : xAxis;
@@ -403,8 +405,9 @@ function createBarModel(options) {
403
405
  const categoryPosition = categoryScale(category.key) ?? 0;
404
406
  return {
405
407
  categoryKey: category.key,
406
- label: formatXValue(category, orientation === "vertical" ? xAxis : yAxis, { index }),
407
- x: orientation === "vertical" ? categoryPosition + categoryScale.bandwidth() / 2 : -8,
408
+ label: horizontalCategoryLabelLayout?.labels[index] ?? categoryLabels[index] ?? category.label,
409
+ fullLabel: categoryLabels[index] ?? category.label,
410
+ x: orientation === "vertical" ? categoryPosition + categoryScale.bandwidth() / 2 : -HORIZONTAL_CATEGORY_LABEL_GAP,
408
411
  y: orientation === "vertical" ? geometry.plotHeight + 20 : categoryPosition + categoryScale.bandwidth() / 2
409
412
  };
410
413
  });
@@ -568,11 +571,15 @@ function nearestTarget(targets, x, y, axis = "x") {
568
571
  function legendVisible(legendPosition, seriesCount) {
569
572
  return legendPosition !== "none" && seriesCount > 0;
570
573
  }
571
- function createGeometry(width, height) {
574
+ var DEFAULT_CHART_MARGIN_LEFT = 48;
575
+ var HORIZONTAL_CATEGORY_LABEL_CHARACTER_WIDTH = 12;
576
+ var HORIZONTAL_CATEGORY_LABEL_GAP = 8;
577
+ var HORIZONTAL_CATEGORY_LABEL_OUTER_PADDING = 8;
578
+ var MAXIMUM_HORIZONTAL_CATEGORY_LABEL_FRACTION = 0.4;
579
+ function createGeometry(width, height, marginLeft = DEFAULT_CHART_MARGIN_LEFT) {
572
580
  const marginTop = 16;
573
581
  const marginRight = 16;
574
582
  const marginBottom = 36;
575
- const marginLeft = 48;
576
583
  return {
577
584
  plotWidth: Math.max(1, width - marginLeft - marginRight),
578
585
  plotHeight: Math.max(1, height - marginTop - marginBottom),
@@ -582,6 +589,33 @@ function createGeometry(width, height) {
582
589
  marginLeft
583
590
  };
584
591
  }
592
+ function createHorizontalCategoryLabelLayout(labels, chartWidth) {
593
+ const maximumMarginLeft = Math.max(DEFAULT_CHART_MARGIN_LEFT, Math.floor(chartWidth * MAXIMUM_HORIZONTAL_CATEGORY_LABEL_FRACTION));
594
+ let longestLabelWidth = 0;
595
+ for (const label of labels) {
596
+ longestLabelWidth = Math.max(longestLabelWidth, estimateHorizontalCategoryLabelWidth(label));
597
+ }
598
+ const requestedMarginLeft = longestLabelWidth + HORIZONTAL_CATEGORY_LABEL_GAP + HORIZONTAL_CATEGORY_LABEL_OUTER_PADDING;
599
+ const marginLeft = Math.min(maximumMarginLeft, Math.max(DEFAULT_CHART_MARGIN_LEFT, requestedMarginLeft));
600
+ const availableLabelWidth = Math.max(0, marginLeft - HORIZONTAL_CATEGORY_LABEL_GAP - HORIZONTAL_CATEGORY_LABEL_OUTER_PADDING);
601
+ return {
602
+ marginLeft,
603
+ labels: labels.map((label) => truncateHorizontalCategoryLabel(label, availableLabelWidth))
604
+ };
605
+ }
606
+ function estimateHorizontalCategoryLabelWidth(label) {
607
+ return Array.from(label).length * HORIZONTAL_CATEGORY_LABEL_CHARACTER_WIDTH;
608
+ }
609
+ function truncateHorizontalCategoryLabel(label, availableWidth) {
610
+ if (estimateHorizontalCategoryLabelWidth(label) <= availableWidth)
611
+ return label;
612
+ const availableCharacterCount = Math.floor(availableWidth / HORIZONTAL_CATEGORY_LABEL_CHARACTER_WIDTH);
613
+ if (availableCharacterCount <= 0)
614
+ return "";
615
+ if (availableCharacterCount === 1)
616
+ return "…";
617
+ return `${Array.from(label).slice(0, availableCharacterCount - 1).join("")}…`;
618
+ }
585
619
  function normalizeNumericValue(componentId, seriesId, xLabel, value) {
586
620
  if (value === null || value === undefined)
587
621
  return null;
@@ -1175,4 +1209,4 @@ export {
1175
1209
  Spectrogram
1176
1210
  };
1177
1211
 
1178
- //# debugId=B910728B0321267A64756E2164756E21
1212
+ //# debugId=C04EEAF09C62213C64756E2164756E21
@@ -341,7 +341,6 @@ function createBarModel(options) {
341
341
  assertValidChartNumber("bar-chart", "invalid-height", height, "height");
342
342
  assertValidTickCount("bar-chart", xAxis);
343
343
  assertValidTickCount("bar-chart", yAxis);
344
- const geometry = createGeometry(width, height);
345
344
  const categories = [];
346
345
  const seenCategories = new Set;
347
346
  const categoryKinds = new Set;
@@ -381,6 +380,9 @@ function createBarModel(options) {
381
380
  throw new Error(`[cinder/bar-chart] rule=mixed-bar-category-kind key="${categoryKey}": category values must share one domain kind.`);
382
381
  }
383
382
  const sortedCategories = sortXValues(categories);
383
+ const categoryLabels = sortedCategories.map((category, index) => formatXValue(category, orientation === "vertical" ? xAxis : yAxis, { index }));
384
+ const horizontalCategoryLabelLayout = orientation === "horizontal" ? createHorizontalCategoryLabelLayout(categoryLabels, width) : undefined;
385
+ const geometry = createGeometry(width, height, horizontalCategoryLabelLayout?.marginLeft);
384
386
  const valueDomain = createPaddedDomain(mode === "stacked" ? createStackedBarDomainValues(datumByKey, sortedCategories, visibleSeries) : visibleValues);
385
387
  if (sortedCategories.length === 0) {
386
388
  const tickAxis = orientation === "vertical" ? yAxis : xAxis;
@@ -403,8 +405,9 @@ function createBarModel(options) {
403
405
  const categoryPosition = categoryScale(category.key) ?? 0;
404
406
  return {
405
407
  categoryKey: category.key,
406
- label: formatXValue(category, orientation === "vertical" ? xAxis : yAxis, { index }),
407
- x: orientation === "vertical" ? categoryPosition + categoryScale.bandwidth() / 2 : -8,
408
+ label: horizontalCategoryLabelLayout?.labels[index] ?? categoryLabels[index] ?? category.label,
409
+ fullLabel: categoryLabels[index] ?? category.label,
410
+ x: orientation === "vertical" ? categoryPosition + categoryScale.bandwidth() / 2 : -HORIZONTAL_CATEGORY_LABEL_GAP,
408
411
  y: orientation === "vertical" ? geometry.plotHeight + 20 : categoryPosition + categoryScale.bandwidth() / 2
409
412
  };
410
413
  });
@@ -568,11 +571,15 @@ function nearestTarget(targets, x, y, axis = "x") {
568
571
  function legendVisible(legendPosition, seriesCount) {
569
572
  return legendPosition !== "none" && seriesCount > 0;
570
573
  }
571
- function createGeometry(width, height) {
574
+ var DEFAULT_CHART_MARGIN_LEFT = 48;
575
+ var HORIZONTAL_CATEGORY_LABEL_CHARACTER_WIDTH = 12;
576
+ var HORIZONTAL_CATEGORY_LABEL_GAP = 8;
577
+ var HORIZONTAL_CATEGORY_LABEL_OUTER_PADDING = 8;
578
+ var MAXIMUM_HORIZONTAL_CATEGORY_LABEL_FRACTION = 0.4;
579
+ function createGeometry(width, height, marginLeft = DEFAULT_CHART_MARGIN_LEFT) {
572
580
  const marginTop = 16;
573
581
  const marginRight = 16;
574
582
  const marginBottom = 36;
575
- const marginLeft = 48;
576
583
  return {
577
584
  plotWidth: Math.max(1, width - marginLeft - marginRight),
578
585
  plotHeight: Math.max(1, height - marginTop - marginBottom),
@@ -582,6 +589,33 @@ function createGeometry(width, height) {
582
589
  marginLeft
583
590
  };
584
591
  }
592
+ function createHorizontalCategoryLabelLayout(labels, chartWidth) {
593
+ const maximumMarginLeft = Math.max(DEFAULT_CHART_MARGIN_LEFT, Math.floor(chartWidth * MAXIMUM_HORIZONTAL_CATEGORY_LABEL_FRACTION));
594
+ let longestLabelWidth = 0;
595
+ for (const label of labels) {
596
+ longestLabelWidth = Math.max(longestLabelWidth, estimateHorizontalCategoryLabelWidth(label));
597
+ }
598
+ const requestedMarginLeft = longestLabelWidth + HORIZONTAL_CATEGORY_LABEL_GAP + HORIZONTAL_CATEGORY_LABEL_OUTER_PADDING;
599
+ const marginLeft = Math.min(maximumMarginLeft, Math.max(DEFAULT_CHART_MARGIN_LEFT, requestedMarginLeft));
600
+ const availableLabelWidth = Math.max(0, marginLeft - HORIZONTAL_CATEGORY_LABEL_GAP - HORIZONTAL_CATEGORY_LABEL_OUTER_PADDING);
601
+ return {
602
+ marginLeft,
603
+ labels: labels.map((label) => truncateHorizontalCategoryLabel(label, availableLabelWidth))
604
+ };
605
+ }
606
+ function estimateHorizontalCategoryLabelWidth(label) {
607
+ return Array.from(label).length * HORIZONTAL_CATEGORY_LABEL_CHARACTER_WIDTH;
608
+ }
609
+ function truncateHorizontalCategoryLabel(label, availableWidth) {
610
+ if (estimateHorizontalCategoryLabelWidth(label) <= availableWidth)
611
+ return label;
612
+ const availableCharacterCount = Math.floor(availableWidth / HORIZONTAL_CATEGORY_LABEL_CHARACTER_WIDTH);
613
+ if (availableCharacterCount <= 0)
614
+ return "";
615
+ if (availableCharacterCount === 1)
616
+ return "…";
617
+ return `${Array.from(label).slice(0, availableCharacterCount - 1).join("")}…`;
618
+ }
585
619
  function normalizeNumericValue(componentId, seriesId, xLabel, value) {
586
620
  if (value === null || value === undefined)
587
621
  return null;
@@ -1075,4 +1109,4 @@ export {
1075
1109
  Spectrum_chart as SpectrumChart
1076
1110
  };
1077
1111
 
1078
- //# debugId=3DE49A4CBA30F09D64756E2164756E21
1112
+ //# debugId=3C3D829E8BA4B78564756E2164756E21
@@ -67,8 +67,10 @@
67
67
  cursor: pointer;
68
68
  position: relative;
69
69
  display: inline-flex;
70
+ flex-shrink: 0;
70
71
  align-items: center;
71
72
  gap: var(--cinder-space-2);
73
+ white-space: nowrap;
72
74
  border-radius: var(--cinder-radius-sm) var(--cinder-radius-sm) 0 0;
73
75
  transition:
74
76
  color var(--cinder-duration-fast) var(--cinder-ease-standard),
@@ -8,7 +8,7 @@
8
8
  * @useWhen Collecting multi-line prose such as comments, descriptions, or messages.
9
9
  * @useWhen Surfacing a remaining-character counter as the user types against a maxlength.
10
10
  * @avoidWhen Collecting a single short line of text — use input instead.
11
- * @related input, markdown-editor
11
+ * @related input
12
12
  */
13
13
  export type { TextareaProps } from './textarea.types.ts';
14
14
  import type { TextareaProps } from './textarea.types.ts';
@@ -380,7 +380,7 @@ function Toast_region($$anchor, $$props) {
380
380
  let returnFocusElement = null;
381
381
  let generationCounter = 0;
382
382
  function isPolite(variant) {
383
- return variant === "info" || variant === "success";
383
+ return variant === "info" || variant === "success" || variant === "warning";
384
384
  }
385
385
  function getCurrentStack(variant) {
386
386
  return isPolite(variant) ? $2.get(politeStack) : $2.get(assertiveStack);
@@ -878,4 +878,4 @@ export {
878
878
  Toast_region as ToastRegion
879
879
  };
880
880
 
881
- //# debugId=0ED6A8303E9D55D164756E2164756E21
881
+ //# debugId=77F4E221C75B7BFC64756E2164756E21
@@ -15,7 +15,7 @@
15
15
  z-index: var(--cinder-z-toast);
16
16
  pointer-events: none;
17
17
  /* Stack the two aria-live channels in the same visual column. Each channel
18
- * is independent — a polite info and an assertive warning may sit
18
+ * is independent — a polite warning and an assertive danger toast may sit
19
19
  * side-by-side visually but route to different SR-announcement queues. */
20
20
  }
21
21
 
@@ -341,7 +341,6 @@ function createBarModel(options) {
341
341
  assertValidChartNumber("bar-chart", "invalid-height", height, "height");
342
342
  assertValidTickCount("bar-chart", xAxis);
343
343
  assertValidTickCount("bar-chart", yAxis);
344
- const geometry = createGeometry(width, height);
345
344
  const categories = [];
346
345
  const seenCategories = new Set;
347
346
  const categoryKinds = new Set;
@@ -381,6 +380,9 @@ function createBarModel(options) {
381
380
  throw new Error(`[cinder/bar-chart] rule=mixed-bar-category-kind key="${categoryKey}": category values must share one domain kind.`);
382
381
  }
383
382
  const sortedCategories = sortXValues(categories);
383
+ const categoryLabels = sortedCategories.map((category, index) => formatXValue(category, orientation === "vertical" ? xAxis : yAxis, { index }));
384
+ const horizontalCategoryLabelLayout = orientation === "horizontal" ? createHorizontalCategoryLabelLayout(categoryLabels, width) : undefined;
385
+ const geometry = createGeometry(width, height, horizontalCategoryLabelLayout?.marginLeft);
384
386
  const valueDomain = createPaddedDomain(mode === "stacked" ? createStackedBarDomainValues(datumByKey, sortedCategories, visibleSeries) : visibleValues);
385
387
  if (sortedCategories.length === 0) {
386
388
  const tickAxis = orientation === "vertical" ? yAxis : xAxis;
@@ -403,8 +405,9 @@ function createBarModel(options) {
403
405
  const categoryPosition = categoryScale(category.key) ?? 0;
404
406
  return {
405
407
  categoryKey: category.key,
406
- label: formatXValue(category, orientation === "vertical" ? xAxis : yAxis, { index }),
407
- x: orientation === "vertical" ? categoryPosition + categoryScale.bandwidth() / 2 : -8,
408
+ label: horizontalCategoryLabelLayout?.labels[index] ?? categoryLabels[index] ?? category.label,
409
+ fullLabel: categoryLabels[index] ?? category.label,
410
+ x: orientation === "vertical" ? categoryPosition + categoryScale.bandwidth() / 2 : -HORIZONTAL_CATEGORY_LABEL_GAP,
408
411
  y: orientation === "vertical" ? geometry.plotHeight + 20 : categoryPosition + categoryScale.bandwidth() / 2
409
412
  };
410
413
  });
@@ -568,11 +571,15 @@ function nearestTarget(targets, x, y, axis = "x") {
568
571
  function legendVisible(legendPosition, seriesCount) {
569
572
  return legendPosition !== "none" && seriesCount > 0;
570
573
  }
571
- function createGeometry(width, height) {
574
+ var DEFAULT_CHART_MARGIN_LEFT = 48;
575
+ var HORIZONTAL_CATEGORY_LABEL_CHARACTER_WIDTH = 12;
576
+ var HORIZONTAL_CATEGORY_LABEL_GAP = 8;
577
+ var HORIZONTAL_CATEGORY_LABEL_OUTER_PADDING = 8;
578
+ var MAXIMUM_HORIZONTAL_CATEGORY_LABEL_FRACTION = 0.4;
579
+ function createGeometry(width, height, marginLeft = DEFAULT_CHART_MARGIN_LEFT) {
572
580
  const marginTop = 16;
573
581
  const marginRight = 16;
574
582
  const marginBottom = 36;
575
- const marginLeft = 48;
576
583
  return {
577
584
  plotWidth: Math.max(1, width - marginLeft - marginRight),
578
585
  plotHeight: Math.max(1, height - marginTop - marginBottom),
@@ -582,6 +589,33 @@ function createGeometry(width, height) {
582
589
  marginLeft
583
590
  };
584
591
  }
592
+ function createHorizontalCategoryLabelLayout(labels, chartWidth) {
593
+ const maximumMarginLeft = Math.max(DEFAULT_CHART_MARGIN_LEFT, Math.floor(chartWidth * MAXIMUM_HORIZONTAL_CATEGORY_LABEL_FRACTION));
594
+ let longestLabelWidth = 0;
595
+ for (const label of labels) {
596
+ longestLabelWidth = Math.max(longestLabelWidth, estimateHorizontalCategoryLabelWidth(label));
597
+ }
598
+ const requestedMarginLeft = longestLabelWidth + HORIZONTAL_CATEGORY_LABEL_GAP + HORIZONTAL_CATEGORY_LABEL_OUTER_PADDING;
599
+ const marginLeft = Math.min(maximumMarginLeft, Math.max(DEFAULT_CHART_MARGIN_LEFT, requestedMarginLeft));
600
+ const availableLabelWidth = Math.max(0, marginLeft - HORIZONTAL_CATEGORY_LABEL_GAP - HORIZONTAL_CATEGORY_LABEL_OUTER_PADDING);
601
+ return {
602
+ marginLeft,
603
+ labels: labels.map((label) => truncateHorizontalCategoryLabel(label, availableLabelWidth))
604
+ };
605
+ }
606
+ function estimateHorizontalCategoryLabelWidth(label) {
607
+ return Array.from(label).length * HORIZONTAL_CATEGORY_LABEL_CHARACTER_WIDTH;
608
+ }
609
+ function truncateHorizontalCategoryLabel(label, availableWidth) {
610
+ if (estimateHorizontalCategoryLabelWidth(label) <= availableWidth)
611
+ return label;
612
+ const availableCharacterCount = Math.floor(availableWidth / HORIZONTAL_CATEGORY_LABEL_CHARACTER_WIDTH);
613
+ if (availableCharacterCount <= 0)
614
+ return "";
615
+ if (availableCharacterCount === 1)
616
+ return "…";
617
+ return `${Array.from(label).slice(0, availableCharacterCount - 1).join("")}…`;
618
+ }
585
619
  function normalizeNumericValue(componentId, seriesId, xLabel, value) {
586
620
  if (value === null || value === undefined)
587
621
  return null;
@@ -1094,4 +1128,4 @@ export {
1094
1128
  Waveform
1095
1129
  };
1096
1130
 
1097
- //# debugId=7564B7E5F913C81D64756E2164756E21
1131
+ //# debugId=C74244E5C00154BB64756E2164756E21
@@ -19,8 +19,33 @@
19
19
  * The factory is synchronous. Shiki itself is imported lazily on the first
20
20
  * highlight call inside the returned function — consumers that never invoke
21
21
  * the highlighter (or that never import this module) ship zero Shiki bytes
22
- * in their entry chunk. Subsequent calls reuse the singleton `codeToHtml`
23
- * import.
22
+ * in their entry chunk. Subsequent calls reuse the singleton highlighter
23
+ * instance.
24
+ *
25
+ * Why this builds on `shiki/core` + `@shikijs/engine-oniguruma` rather than
26
+ * `import { createHighlighter } from 'shiki'` (see
27
+ * `packages/markdown/src/rendering/highlighter.ts` for the sibling adapter
28
+ * that established this pattern, and `docs/decisions/package-boundaries.md`
29
+ * for the ~10 MB measurement this converges on): the default `shiki` entry
30
+ * resolves to `bundle-full.mjs`, which statically references every bundled
31
+ * grammar and theme in one module. For a build that bundles that module with
32
+ * `splitting: false` — which is exactly how `scripts/build.ts` builds this
33
+ * adapter — every grammar and theme gets inlined into a single output file,
34
+ * regardless of which language is ever highlighted. `shiki` was already kept
35
+ * external in that build (so this specific file never actually shipped that
36
+ * weight), but the risk was one dependency-externals edit away from landing
37
+ * back in cinder's own published dist. `shiki/langs` and `shiki/themes`
38
+ * expose the same per-language and per-theme lookup tables `shiki`
39
+ * re-exports, but as standalone modules (metadata plus a lazy
40
+ * `() => import('@shikijs/langs/…')` per entry) that pull in no theme, wasm,
41
+ * or highlighter-construction code — so `scripts/build.ts` only needs to
42
+ * externalize `shiki/*` and `@shikijs/engine-oniguruma` (see its
43
+ * `runtimeDependencyExternals`) to keep every one of those per-language/
44
+ * per-theme dynamic imports lazy, exactly like the sibling markdown adapter.
45
+ * Downstream, a consumer's own bundler resolves and splits those imports the
46
+ * same way it already did for the old `shiki`-based version — this change
47
+ * does not reduce what a consumer app ships; it converges the pattern with
48
+ * `packages/markdown` and closes the build-time regression risk above.
24
49
  *
25
50
  * Behavior contract (matches the {@link Highlighter} type in
26
51
  * `@lostgradient/cinder/utilities/highlighter`):
@@ -44,6 +69,7 @@
44
69
  * fallback path here HTML-escapes the code (`&`, `<`, `>`, `"`, `'`) so
45
70
  * `{@html}` injection is safe for both branches.
46
71
  */
72
+ import type { DynamicImportLanguageRegistration, DynamicImportThemeRegistration, HighlighterCore } from '@shikijs/types';
47
73
  import type { Highlighter } from '../../utilities/highlighter.ts';
48
74
  import { createRetryingLoaderCache } from '../../utilities/retrying-loader-cache.ts';
49
75
  /**
@@ -77,11 +103,27 @@ export type ShikiHighlighterOptions = {
77
103
  */
78
104
  langs?: ReadonlyArray<string>;
79
105
  };
80
- type CodeToHtmlFunction = typeof import('shiki').codeToHtml;
81
- type BundledLanguages = typeof import('shiki').bundledLanguages;
106
+ /**
107
+ * Widened to a plain string index (rather than `typeof import('shiki/langs')
108
+ * .bundledLanguages`, whose keys are a closed literal union) because lookups
109
+ * here are keyed by a `lang`/theme name string that is only known to be a
110
+ * member of that union after a runtime `Object.hasOwn` check.
111
+ */
112
+ type BundledLanguages = Record<string, DynamicImportLanguageRegistration>;
113
+ type BundledThemes = Record<string, DynamicImportThemeRegistration>;
82
114
  type ShikiModule = {
83
- codeToHtml: CodeToHtmlFunction;
115
+ highlighter: HighlighterCore;
84
116
  bundledLanguages: BundledLanguages;
117
+ bundledThemes: BundledThemes;
118
+ /**
119
+ * Shiki's heuristic embedded-language detector (fenced code inside
120
+ * Markdown, `<script lang="...">` inside Svelte/Vue/HTML, etc.) — the same
121
+ * function the previous singleton `codeToHtml` shorthand used to auto-load
122
+ * nested grammars. Threaded through here (rather than imported separately
123
+ * in `highlight()`) so injected test loaders can opt out without needing
124
+ * their own `shiki/core` import.
125
+ */
126
+ guessEmbeddedLanguages: (code: string, lang: string) => string[];
85
127
  };
86
128
  type ShikiModuleLoader = () => Promise<ShikiModule>;
87
129
  /**
@@ -89,22 +89,68 @@ function escapeHtml(value) {
89
89
  function plaintextBlock(code) {
90
90
  return `<pre class="shiki shiki-plaintext"><code>${escapeHtml(code)}</code></pre>`;
91
91
  }
92
+ async function ensureLanguageLoaded(shiki, lang) {
93
+ const load = shiki.bundledLanguages[lang];
94
+ if (!load)
95
+ throw new Error(`Language "${lang}" is not bundled with Shiki.`);
96
+ await shiki.highlighter.loadLanguage(load);
97
+ }
98
+ async function ensureThemesLoaded(shiki, theme) {
99
+ const names = typeof theme === "string" ? [theme] : [theme.light, theme.dark];
100
+ for (const name of names) {
101
+ const load = shiki.bundledThemes[name];
102
+ if (!load)
103
+ throw new Error(`Theme "${name}" is not bundled with Shiki.`);
104
+ await shiki.highlighter.loadTheme(load);
105
+ }
106
+ }
107
+ async function loadGuessedEmbeddedLanguages(shiki, code, lang) {
108
+ for (const guessed of shiki.guessEmbeddedLanguages(code, lang)) {
109
+ if (!Object.hasOwn(shiki.bundledLanguages, guessed))
110
+ continue;
111
+ try {
112
+ await ensureLanguageLoaded(shiki, guessed);
113
+ } catch {}
114
+ }
115
+ }
116
+ function getSharedShikiModule() {
117
+ sharedShikiModule ??= createRetryingLoaderCache(async () => {
118
+ const [{ createOnigurumaEngine }, coreModule, langsModule, themesModule] = await Promise.all([
119
+ import("@shikijs/engine-oniguruma"),
120
+ import("shiki/core"),
121
+ import("shiki/langs"),
122
+ import("shiki/themes")
123
+ ]);
124
+ const highlighter = await coreModule.createHighlighterCore({
125
+ themes: [],
126
+ langs: [],
127
+ engine: createOnigurumaEngine(import("shiki/wasm"))
128
+ });
129
+ return {
130
+ highlighter,
131
+ bundledLanguages: langsModule.bundledLanguages,
132
+ bundledThemes: themesModule.bundledThemes,
133
+ guessEmbeddedLanguages: coreModule.guessEmbeddedLanguages
134
+ };
135
+ });
136
+ return sharedShikiModule();
137
+ }
92
138
  function shikiHighlighter(options = {}, moduleLoader) {
93
139
  const { theme = DEFAULT_THEME, langs } = options;
94
140
  const warnedLanguages = new Set;
95
141
  const loadShiki = createRetryingLoaderCache(moduleLoader ?? (async () => {
96
- const module_ = await import("shiki");
142
+ const shikiModule = await getSharedShikiModule();
97
143
  if (langs !== undefined) {
144
+ try {
145
+ await ensureThemesLoaded(shikiModule, theme);
146
+ } catch {}
98
147
  for (const lang of langs) {
99
148
  try {
100
- await module_.codeToHtml("", { lang, ...buildThemeOption(theme) });
149
+ await ensureLanguageLoaded(shikiModule, lang);
101
150
  } catch {}
102
151
  }
103
152
  }
104
- return {
105
- codeToHtml: module_.codeToHtml,
106
- bundledLanguages: module_.bundledLanguages
107
- };
153
+ return shikiModule;
108
154
  }));
109
155
  return async function highlight(code, lang) {
110
156
  const normalizedLang = typeof lang === "string" ? lang.trim().split(/\s+/, 1)[0] ?? "" : "";
@@ -126,7 +172,10 @@ function shikiHighlighter(options = {}, moduleLoader) {
126
172
  return plaintextBlock(code);
127
173
  }
128
174
  try {
129
- const html = await shiki.codeToHtml(code, {
175
+ await ensureLanguageLoaded(shiki, normalizedLang);
176
+ await ensureThemesLoaded(shiki, theme);
177
+ await loadGuessedEmbeddedLanguages(shiki, code, normalizedLang);
178
+ const html = shiki.highlighter.codeToHtml(code, {
130
179
  lang: normalizedLang,
131
180
  ...buildThemeOption(theme)
132
181
  });
@@ -145,7 +194,7 @@ function buildThemeOption(theme) {
145
194
  return { theme };
146
195
  return { themes: theme };
147
196
  }
148
- var DEFAULT_THEME;
197
+ var DEFAULT_THEME, sharedShikiModule;
149
198
  var init_shiki = __esm(() => {
150
199
  DEFAULT_THEME = {
151
200
  light: "github-light",
@@ -159,4 +208,4 @@ export {
159
208
  createRetryingLoaderCache
160
209
  };
161
210
 
162
- //# debugId=10475D31FC2F9AE764756E2164756E21
211
+ //# debugId=ACBE6CCC0027D3CE64756E2164756E21
package/dist/index.d.ts CHANGED
@@ -110,8 +110,6 @@ export { default as DescriptionList } from './components/description-list/index.
110
110
  export type { DescriptionListItem, DescriptionListProps, DescriptionListVariant, } from './components/description-list/index.ts';
111
111
  export { default as DiffStatistics } from './components/diff-statistics/index.ts';
112
112
  export type { DiffStatisticsDensity, DiffStatisticsProps, DiffStatisticsVariant, } from './components/diff-statistics/index.ts';
113
- export { default as DiffViewer } from './components/diff-viewer/index.ts';
114
- export type { DiffToolbarContext, DiffViewerMode, DiffViewerProps, } from './components/diff-viewer/index.ts';
115
113
  export { default as Divider } from './components/divider/index.ts';
116
114
  export type { DividerOrientation, DividerProps, DividerTone } from './components/divider/index.ts';
117
115
  export { default as Drawer } from './components/drawer/index.ts';
@@ -175,10 +173,12 @@ export { default as Input } from './components/input/index.ts';
175
173
  export type { InputProps, InputType } from './components/input/index.ts';
176
174
  export { default as InlineLoading } from './components/inline-loading/index.ts';
177
175
  export type { InlineLoadingProps, InlineLoadingStatus } from './components/inline-loading/index.ts';
176
+ export { default as JsonEditor } from './components/json-editor/index.ts';
177
+ export type { JsonEditorProps } from './components/json-editor/index.ts';
178
178
  export { default as JsonSchemaEditor } from './components/json-schema-editor/index.ts';
179
179
  export type { JsonSchemaDraft, JsonSchemaEditorChangeEvent, JsonSchemaEditorMode, JsonSchemaEditorProps, JsonSchemaEditorRevertEvent, JsonSchemaEditorView, JsonSchemaKnownDraft, JsonSchemaTypeName, JsonSchemaValidationError, JsonSchemaValidationResult, JsonSchemaValidationStatus, JsonSchemaValue, } from './components/json-schema-editor/index.ts';
180
180
  export { default as InvocationRuleBuilder } from './components/invocation-rule-builder/index.ts';
181
- export type { InvocationRule, InvocationRuleAction, InvocationRuleBuilderMode, InvocationRuleBuilderProps, InvocationRuleChange, InvocationRuleCondition, InvocationRuleConditionsOnlyOperator, InvocationRuleFieldType, InvocationRuleOption, InvocationRuleValueChoice, } from './components/invocation-rule-builder/index.ts';
181
+ export type { InvocationRule, InvocationRuleAction, InvocationRuleBuilderMode, InvocationRuleBuilderProps, InvocationRuleChange, InvocationRuleCondition, InvocationRuleConditionChange, InvocationRuleConditionsOnlyOperator, InvocationRuleFieldType, InvocationRuleOption, InvocationRuleValueChoice, } from './components/invocation-rule-builder/index.ts';
182
182
  export { default as JsonViewer } from './components/json-viewer/index.ts';
183
183
  export type { JsonViewerProps } from './components/json-viewer/index.ts';
184
184
  export { default as CapabilityGate } from './components/capability-gate/index.ts';
@@ -265,7 +265,7 @@ export type { ResizablePanelDefinition, ResizablePanelRenderContext, ResizablePa
265
265
  export { default as ScheduleBuilder } from './components/schedule-builder/index.ts';
266
266
  export type { ScheduleAuthoringMode, ScheduleBuilderProps, ScheduleFire, ScheduleIntervalUnit, ScheduleValue, } from './components/schedule-builder/index.ts';
267
267
  export { default as SchemaForm, readSchemaFormData } from './components/schema-form/index.ts';
268
- export type { SchemaFormOutput, SchemaFormProps, SchemaFormSchema, SchemaFormSubmitHandler, } from './components/schema-form/index.ts';
268
+ export type { SchemaFormDraftChangeHandler, SchemaFormOutput, SchemaFormProps, SchemaFormSchema, SchemaFormSubmitHandler, } from './components/schema-form/index.ts';
269
269
  export { default as ScrollArea } from './components/scroll-area/index.ts';
270
270
  export type { ScrollAreaDirection, ScrollAreaElement, ScrollAreaProps, } from './components/scroll-area/index.ts';
271
271
  export { default as SearchField } from './components/search-field/index.ts';