@lostgradient/cinder 0.15.0 → 0.16.1

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 (338) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +3 -3
  3. package/components.json +2 -143
  4. package/dist/components/access-gate/index.js +379 -327
  5. package/dist/components/alert-dialog/index.js +170 -172
  6. package/dist/components/confirm-dialog/index.js +170 -172
  7. package/dist/components/data-table/index.js +88 -31
  8. package/dist/components/drawer/index.js +11 -11
  9. package/dist/components/focus-trap/index.d.ts +1 -0
  10. package/dist/components/focus-trap/index.js +171 -1
  11. package/dist/components/icons/index.d.ts +80 -1
  12. package/dist/components/icons/index.js +1256 -0
  13. package/dist/components/markdown-editor/index.js +170 -170
  14. package/dist/components/modal/index.js +20 -20
  15. package/dist/components/review-editor/index.js +170 -187
  16. package/dist/components/sheet/index.js +11 -11
  17. package/dist/components/sidebar/index.js +37 -37
  18. package/dist/components/table/index.js +85 -28
  19. package/dist/components/table/table.css +11 -0
  20. package/dist/components/table/table.schema.js +10 -1
  21. package/dist/components/table/table.types.d.ts +24 -1
  22. package/dist/index.d.ts +0 -8
  23. package/dist/index.js +23266 -30180
  24. package/dist/server/components/access-gate/index.js +7 -10
  25. package/dist/server/components/alert-dialog/index.js +4 -4
  26. package/dist/server/components/approval-card/index.js +6 -6
  27. package/dist/server/components/autocomplete/index.js +4 -4
  28. package/dist/server/components/choice-grid/index.js +2 -2
  29. package/dist/server/components/color-field/index.js +2 -2
  30. package/dist/server/components/combobox/index.js +3 -3
  31. package/dist/server/components/command-item/index.js +3 -5
  32. package/dist/server/components/command-menu/index.js +3 -5
  33. package/dist/server/components/confirm-dialog/index.js +4 -4
  34. package/dist/server/components/context-menu/index.js +7 -7
  35. package/dist/server/components/data-table/index.js +4 -4
  36. package/dist/server/components/date-picker/index.js +4 -4
  37. package/dist/server/components/date-range-field/index.js +4 -4
  38. package/dist/server/components/diff-viewer/index.js +9 -11
  39. package/dist/server/components/drawer/index.js +4 -4
  40. package/dist/server/components/dropdown/index.js +7 -7
  41. package/dist/server/components/faceted-filter-bar/index.js +2 -2
  42. package/dist/server/components/focus-trap/index.js +7 -2
  43. package/dist/server/components/icons/index.js +156 -0
  44. package/dist/server/components/inline-loading/index.js +1 -1
  45. package/dist/server/components/json-schema-editor/index.js +11 -13
  46. package/dist/server/components/load-more/index.js +2 -3
  47. package/dist/server/components/markdown-editor/index.js +13 -12
  48. package/dist/server/components/menu-bar/index.js +4 -4
  49. package/dist/server/components/modal/index.js +4 -4
  50. package/dist/server/components/popover/index.js +3 -3
  51. package/dist/server/components/review-editor/index.js +169 -122
  52. package/dist/server/components/schedule-builder/index.js +5 -5
  53. package/dist/server/components/schema-form/index.js +1 -1
  54. package/dist/server/components/segment/index.js +3 -3
  55. package/dist/server/components/segmented-control/index.js +4 -4
  56. package/dist/server/components/selection-popover/index.js +3 -3
  57. package/dist/server/components/sheet/index.js +3 -3
  58. package/dist/server/components/sidebar/index.js +4 -4
  59. package/dist/server/components/table/index.js +4 -4
  60. package/dist/server/components/tag-input/index.js +2 -2
  61. package/dist/server/index.js +272 -316
  62. package/dist/server/{index.server-dwwqssey.js → index.server-0qh3v3nq.js} +1 -1
  63. package/dist/server/index.server-25wmev4e.js +2 -0
  64. package/dist/server/{index.server-zdm63dt8.js → index.server-2c56kqws.js} +107 -25
  65. package/dist/server/{index.server-y4n8vc08.js → index.server-2pc5cv6c.js} +1 -1
  66. package/dist/server/{index.server-1vsv7ngz.js → index.server-3g76h7z7.js} +12 -2
  67. package/dist/server/{index.server-xz99aed4.js → index.server-45n4s30n.js} +12 -12
  68. package/dist/server/{index.server-zzd5wpbw.js → index.server-4dfs3xwn.js} +1 -1
  69. package/dist/server/{index.server-vhyjjx9z.js → index.server-4jkqgp17.js} +7 -9
  70. package/dist/server/{index.server-bmxbsk4y.js → index.server-51sxnete.js} +18 -18
  71. package/dist/server/{index.server-1bwvsnjk.js → index.server-6rv1rfwq.js} +37 -14
  72. package/dist/server/{index.server-np3c7kx0.js → index.server-7798gc22.js} +1 -1
  73. package/dist/server/{index.server-2m1kenak.js → index.server-7kjw6qw5.js} +1 -1
  74. package/dist/server/{index.server-tfftb7hs.js → index.server-7zpzspk6.js} +1 -1
  75. package/dist/server/{index.server-7yvpb6z7.js → index.server-894t97kv.js} +4 -4
  76. package/dist/server/{index.server-47v2fhp4.js → index.server-8b35ekqg.js} +1 -1
  77. package/dist/server/{index.server-j5hn2qds.js → index.server-8nm871y8.js} +80 -30
  78. package/dist/server/{index.server-h0cvwvhy.js → index.server-9drzqktm.js} +1 -1
  79. package/dist/server/{index.server-x9s4m9eg.js → index.server-agsdwg53.js} +1 -1
  80. package/dist/server/{index.server-hpeavvnq.js → index.server-b4gp066a.js} +1 -1
  81. package/dist/server/{index.server-gkazv439.js → index.server-bf7d81b4.js} +7 -7
  82. package/dist/server/{index.server-krqvnt6p.js → index.server-d4ft97bx.js} +4 -2
  83. package/dist/server/{index.server-t1x9h8cb.js → index.server-dg19y3m7.js} +1 -1
  84. package/dist/server/{index.server-jt1twhgk.js → index.server-dq0k0qf6.js} +10 -10
  85. package/dist/server/{index.server-pxq277t5.js → index.server-frb9e55d.js} +1 -1
  86. package/dist/server/{index.server-9kz37z89.js → index.server-g3726bja.js} +1 -1
  87. package/dist/server/{index.server-jdcq5zza.js → index.server-gwgm8gqg.js} +8 -8
  88. package/dist/server/index.server-gyzmkrnz.js +2 -0
  89. package/dist/server/{index.server-mr68brd6.js → index.server-jgdtsvz2.js} +1 -1
  90. package/dist/server/{index.server-p56xxef1.js → index.server-m8ya4p7w.js} +1 -1
  91. package/dist/server/{index.server-1nq7z1qw.js → index.server-mda2y5g6.js} +1 -1
  92. package/dist/server/{index.server-e89qfamd.js → index.server-mknhgg07.js} +4 -4
  93. package/dist/server/{index.server-j570vb03.js → index.server-mvjzcna5.js} +1 -1
  94. package/dist/server/index.server-n4jxy52q.js +2 -0
  95. package/dist/server/{index.server-eftvmq3f.js → index.server-pfbzz3x7.js} +1 -1
  96. package/dist/server/{index.server-zrh23kty.js → index.server-pyjzfjfn.js} +1 -1
  97. package/dist/server/{index.server-rga8sc7j.js → index.server-q1d48s9t.js} +40 -36
  98. package/dist/server/{index.server-46cjwcqw.js → index.server-qv0kkre4.js} +5 -5
  99. package/dist/server/{index.server-yhzydqxe.js → index.server-r82zjq88.js} +5 -5
  100. package/dist/server/{index.server-9ykk1kbg.js → index.server-rbd5ys4z.js} +1 -1
  101. package/dist/server/{index.server-tcay903b.js → index.server-tnecnach.js} +4 -4
  102. package/dist/server/{index.server-h89zk5ev.js → index.server-wasj5rbh.js} +8 -8
  103. package/dist/server/{index.server-9ra3xv88.js → index.server-x66zvjfc.js} +9 -9
  104. package/dist/server/index.server-xanq9ppe.js +119 -0
  105. package/dist/server/{index.server-6sh11ap6.js → index.server-y4kfz0er.js} +1 -1
  106. package/dist/server/{index.server-n82rcv0m.js → index.server-z721a5gp.js} +4 -4
  107. package/dist/server/{index.server-mm1xa3kr.js → index.server-zdhv33ph.js} +51 -20
  108. package/dist/server/{index.server-t3hknp1c.js → index.server-zm04d9eq.js} +4 -4
  109. package/dist/server/{index.server-nx9c2ep1.js → index.server-zncgb7mw.js} +2 -2
  110. package/package.json +10 -130
  111. package/src/components/focus-trap/index.ts +1 -0
  112. package/src/components/icons/index.ts +82 -40
  113. package/src/components/table/table.css +11 -0
  114. package/src/components/table/table.examples.json +3 -3
  115. package/src/components/table/table.schema.json +9 -0
  116. package/src/components/table/table.schema.ts +11 -0
  117. package/src/components/table/table.svelte +58 -14
  118. package/src/components/table/table.types.ts +27 -1
  119. package/src/index.ts +0 -34
  120. package/src/styles/components.css +0 -4
  121. package/dist/components/chat/adapter/chat-adapter.d.ts +0 -123
  122. package/dist/components/chat/adapter/index.d.ts +0 -8
  123. package/dist/components/chat/artifact/artifact-panel.svelte.d.ts +0 -15
  124. package/dist/components/chat/artifact/artifact-viewer.svelte.d.ts +0 -10
  125. package/dist/components/chat/artifact/chat-artifact-layout.svelte.d.ts +0 -23
  126. package/dist/components/chat/artifact/index.d.ts +0 -3
  127. package/dist/components/chat/builders.d.ts +0 -25
  128. package/dist/components/chat/chat.css +0 -16
  129. package/dist/components/chat/chat.css.d.ts +0 -1
  130. package/dist/components/chat/chat.schema.d.ts +0 -3
  131. package/dist/components/chat/chat.schema.js +0 -366
  132. package/dist/components/chat/chat.svelte.d.ts +0 -31
  133. package/dist/components/chat/chat.types.d.ts +0 -268
  134. package/dist/components/chat/chat.variables.d.ts +0 -2
  135. package/dist/components/chat/chat.variables.js +0 -61
  136. package/dist/components/chat/container/chat-events.d.ts +0 -22
  137. package/dist/components/chat/container/chat-history-trigger.svelte.d.ts +0 -15
  138. package/dist/components/chat/container/chat-jump-controls.svelte.d.ts +0 -24
  139. package/dist/components/chat/container/chat-participant-typing.svelte.d.ts +0 -31
  140. package/dist/components/chat/container/chat-search-bar.svelte.d.ts +0 -38
  141. package/dist/components/chat/container/chat-status-announcer.svelte.d.ts +0 -21
  142. package/dist/components/chat/container/chat.svelte.d.ts +0 -17
  143. package/dist/components/chat/container/index.d.ts +0 -12
  144. package/dist/components/chat/container/scroll-utilities.d.ts +0 -119
  145. package/dist/components/chat/container/use-chat-disclosure-state.svelte.d.ts +0 -58
  146. package/dist/components/chat/container/use-chat-keyboard-nav.svelte.d.ts +0 -57
  147. package/dist/components/chat/container/use-chat-message-groups.svelte.d.ts +0 -74
  148. package/dist/components/chat/container/use-chat-read-receipts.svelte.d.ts +0 -51
  149. package/dist/components/chat/container/use-chat-scroll-state.svelte.d.ts +0 -111
  150. package/dist/components/chat/container/use-chat-search.svelte.d.ts +0 -82
  151. package/dist/components/chat/container/use-chat-typing-indicator.svelte.d.ts +0 -76
  152. package/dist/components/chat/container/use-chat-unread-state.svelte.d.ts +0 -80
  153. package/dist/components/chat/container/use-chat-virtualizer.svelte.d.ts +0 -47
  154. package/dist/components/chat/conversation-model.d.ts +0 -16
  155. package/dist/components/chat/export/conversation-export-actions.svelte.d.ts +0 -17
  156. package/dist/components/chat/export/index.d.ts +0 -8
  157. package/dist/components/chat/index.d.ts +0 -25
  158. package/dist/components/chat/index.js +0 -11319
  159. package/dist/components/chat/input/attachment-kind.d.ts +0 -10
  160. package/dist/components/chat/input/chat-attachment-preview.svelte.d.ts +0 -8
  161. package/dist/components/chat/input/chat-attachment-serialization.d.ts +0 -9
  162. package/dist/components/chat/input/chat-attachment.d.ts +0 -11
  163. package/dist/components/chat/input/chat-input.svelte.d.ts +0 -79
  164. package/dist/components/chat/input/index.d.ts +0 -5
  165. package/dist/components/chat/message/chat-date-separator.svelte.d.ts +0 -12
  166. package/dist/components/chat/message/chat-message-parts-renderer.svelte.d.ts +0 -4
  167. package/dist/components/chat/message/chat-message-parts.d.ts +0 -96
  168. package/dist/components/chat/message/chat-message.svelte.d.ts +0 -91
  169. package/dist/components/chat/message/chat-read-receipt.svelte.d.ts +0 -27
  170. package/dist/components/chat/message/image-lightbox.svelte.d.ts +0 -17
  171. package/dist/components/chat/message/index.d.ts +0 -6
  172. package/dist/components/chat/message/markdown-preview.svelte.d.ts +0 -8
  173. package/dist/components/chat/message/message-attachments.svelte.d.ts +0 -17
  174. package/dist/components/chat/message/message-content.svelte.d.ts +0 -18
  175. package/dist/components/chat/message/parts/image-part.svelte.d.ts +0 -17
  176. package/dist/components/chat/message/parts/markdown-part.svelte.d.ts +0 -8
  177. package/dist/components/chat/message/parts/reasoning-part.svelte.d.ts +0 -12
  178. package/dist/components/chat/message/parts/step-part.svelte.d.ts +0 -8
  179. package/dist/components/chat/message/parts/suggestion-part.svelte.d.ts +0 -18
  180. package/dist/components/chat/message/parts/tool-approval-part.svelte.d.ts +0 -12
  181. package/dist/components/chat/message/parts/tool-call-part.svelte.d.ts +0 -12
  182. package/dist/components/chat/message/parts/tool-result-part.svelte.d.ts +0 -8
  183. package/dist/components/chat/message/tool-call-group.svelte.d.ts +0 -15
  184. package/dist/components/chat/message/tool-payload-code.svelte.d.ts +0 -9
  185. package/dist/components/chat/utilities/conversation.d.ts +0 -12
  186. package/dist/components/chat/utilities/index.d.ts +0 -9
  187. package/dist/components/chat/utilities/types.d.ts +0 -262
  188. package/dist/components/chat/utilities/utilities.d.ts +0 -140
  189. package/dist/components/chat-composer-popover/chat-composer-popover-filter.d.ts +0 -11
  190. package/dist/components/chat-composer-popover/chat-composer-popover.css +0 -7
  191. package/dist/components/chat-composer-popover/chat-composer-popover.css.d.ts +0 -1
  192. package/dist/components/chat-composer-popover/chat-composer-popover.schema.d.ts +0 -3
  193. package/dist/components/chat-composer-popover/chat-composer-popover.schema.js +0 -150
  194. package/dist/components/chat-composer-popover/chat-composer-popover.svelte.d.ts +0 -46
  195. package/dist/components/chat-composer-popover/chat-composer-popover.types.d.ts +0 -77
  196. package/dist/components/chat-composer-popover/chat-composer-popover.variables.d.ts +0 -2
  197. package/dist/components/chat-composer-popover/chat-composer-popover.variables.js +0 -61
  198. package/dist/components/chat-composer-popover/index.d.ts +0 -6
  199. package/dist/components/chat-composer-popover/index.js +0 -3285
  200. package/dist/components/chat-conversation-header/chat-conversation-header.css +0 -51
  201. package/dist/components/chat-conversation-header/chat-conversation-header.css.d.ts +0 -1
  202. package/dist/components/chat-conversation-header/chat-conversation-header.schema.d.ts +0 -3
  203. package/dist/components/chat-conversation-header/chat-conversation-header.schema.js +0 -94
  204. package/dist/components/chat-conversation-header/chat-conversation-header.svelte.d.ts +0 -19
  205. package/dist/components/chat-conversation-header/chat-conversation-header.types.d.ts +0 -18
  206. package/dist/components/chat-conversation-header/chat-conversation-header.variables.d.ts +0 -2
  207. package/dist/components/chat-conversation-header/chat-conversation-header.variables.js +0 -61
  208. package/dist/components/chat-conversation-header/index.d.ts +0 -5
  209. package/dist/components/chat-conversation-header/index.js +0 -4278
  210. package/dist/components/chat-conversation-list/chat-conversation-list.css +0 -127
  211. package/dist/components/chat-conversation-list/chat-conversation-list.css.d.ts +0 -1
  212. package/dist/components/chat-conversation-list/chat-conversation-list.schema.d.ts +0 -3
  213. package/dist/components/chat-conversation-list/chat-conversation-list.schema.js +0 -105
  214. package/dist/components/chat-conversation-list/chat-conversation-list.svelte.d.ts +0 -21
  215. package/dist/components/chat-conversation-list/chat-conversation-list.types.d.ts +0 -17
  216. package/dist/components/chat-conversation-list/chat-conversation-list.variables.d.ts +0 -2
  217. package/dist/components/chat-conversation-list/chat-conversation-list.variables.js +0 -61
  218. package/dist/components/chat-conversation-list/conversation-summary.d.ts +0 -30
  219. package/dist/components/chat-conversation-list/index.d.ts +0 -6
  220. package/dist/components/chat-conversation-list/index.js +0 -536
  221. package/dist/server/components/chat/index.js +0 -131
  222. package/dist/server/components/chat-composer-popover/index.js +0 -26
  223. package/dist/server/components/chat-conversation-header/index.js +0 -41
  224. package/dist/server/components/chat-conversation-list/index.js +0 -19
  225. package/dist/server/index.server-2bbwajb2.js +0 -54
  226. package/dist/server/index.server-2hqrv7ca.js +0 -9
  227. package/dist/server/index.server-67qgdypc.js +0 -9
  228. package/dist/server/index.server-6hnfzc7f.js +0 -263
  229. package/dist/server/index.server-8rmtb8vx.js +0 -175
  230. package/dist/server/index.server-a59y47rw.js +0 -59
  231. package/dist/server/index.server-bfkka7x4.js +0 -2
  232. package/dist/server/index.server-czf35aba.js +0 -4241
  233. package/dist/server/index.server-kb6w1a7c.js +0 -27
  234. package/dist/server/index.server-mzj20rfz.js +0 -77
  235. package/dist/server/index.server-nphtb2ey.js +0 -76
  236. package/dist/server/index.server-qkfd0qa7.js +0 -2
  237. package/dist/server/index.server-rf67m8v5.js +0 -2
  238. package/dist/server/index.server-rqe5bqgm.js +0 -37
  239. package/dist/server/index.server-xtjjmsyq.js +0 -315
  240. package/dist/server/index.server-yq9evnp4.js +0 -38
  241. package/dist/server/index.server-z1qvwaem.js +0 -74
  242. package/dist/server/index.server-z7hxtqs1.js +0 -83
  243. package/src/components/chat/adapter/chat-adapter.ts +0 -132
  244. package/src/components/chat/adapter/index.ts +0 -15
  245. package/src/components/chat/artifact/artifact-panel.svelte +0 -112
  246. package/src/components/chat/artifact/artifact-viewer.svelte +0 -101
  247. package/src/components/chat/artifact/chat-artifact-layout.svelte +0 -56
  248. package/src/components/chat/artifact/index.ts +0 -3
  249. package/src/components/chat/builders.ts +0 -464
  250. package/src/components/chat/chat.css +0 -16
  251. package/src/components/chat/chat.examples.json +0 -67
  252. package/src/components/chat/chat.schema.json +0 -290
  253. package/src/components/chat/chat.schema.ts +0 -335
  254. package/src/components/chat/chat.svelte +0 -67
  255. package/src/components/chat/chat.types.ts +0 -284
  256. package/src/components/chat/chat.variables.json +0 -1
  257. package/src/components/chat/chat.variables.ts +0 -3
  258. package/src/components/chat/container/chat-events.ts +0 -26
  259. package/src/components/chat/container/chat-history-trigger.svelte +0 -95
  260. package/src/components/chat/container/chat-jump-controls.svelte +0 -191
  261. package/src/components/chat/container/chat-participant-typing.svelte +0 -128
  262. package/src/components/chat/container/chat-search-bar.svelte +0 -219
  263. package/src/components/chat/container/chat-status-announcer.svelte +0 -22
  264. package/src/components/chat/container/chat.svelte +0 -1879
  265. package/src/components/chat/container/index.ts +0 -64
  266. package/src/components/chat/container/scroll-utilities.ts +0 -204
  267. package/src/components/chat/container/use-chat-disclosure-state.svelte.ts +0 -62
  268. package/src/components/chat/container/use-chat-keyboard-nav.svelte.ts +0 -153
  269. package/src/components/chat/container/use-chat-message-groups.svelte.ts +0 -146
  270. package/src/components/chat/container/use-chat-read-receipts.svelte.ts +0 -62
  271. package/src/components/chat/container/use-chat-scroll-state.svelte.ts +0 -292
  272. package/src/components/chat/container/use-chat-search.svelte.ts +0 -116
  273. package/src/components/chat/container/use-chat-typing-indicator.svelte.ts +0 -153
  274. package/src/components/chat/container/use-chat-unread-state.svelte.ts +0 -170
  275. package/src/components/chat/container/use-chat-virtualizer.svelte.ts +0 -260
  276. package/src/components/chat/conversation-model.ts +0 -56
  277. package/src/components/chat/export/conversation-export-actions.svelte +0 -174
  278. package/src/components/chat/export/index.ts +0 -9
  279. package/src/components/chat/index.ts +0 -160
  280. package/src/components/chat/input/attachment-kind.ts +0 -28
  281. package/src/components/chat/input/chat-attachment-preview.svelte +0 -223
  282. package/src/components/chat/input/chat-attachment-serialization.ts +0 -63
  283. package/src/components/chat/input/chat-attachment.ts +0 -12
  284. package/src/components/chat/input/chat-input.svelte +0 -810
  285. package/src/components/chat/input/index.ts +0 -9
  286. package/src/components/chat/message/chat-date-separator.svelte +0 -87
  287. package/src/components/chat/message/chat-message-parts-renderer.svelte +0 -139
  288. package/src/components/chat/message/chat-message-parts.ts +0 -163
  289. package/src/components/chat/message/chat-message.svelte +0 -861
  290. package/src/components/chat/message/chat-read-receipt.svelte +0 -85
  291. package/src/components/chat/message/image-lightbox.svelte +0 -255
  292. package/src/components/chat/message/index.ts +0 -6
  293. package/src/components/chat/message/markdown-preview.svelte +0 -77
  294. package/src/components/chat/message/message-attachments.svelte +0 -178
  295. package/src/components/chat/message/message-content.svelte +0 -132
  296. package/src/components/chat/message/parts/image-part.svelte +0 -11
  297. package/src/components/chat/message/parts/markdown-part.svelte +0 -17
  298. package/src/components/chat/message/parts/reasoning-part.svelte +0 -274
  299. package/src/components/chat/message/parts/step-part.svelte +0 -127
  300. package/src/components/chat/message/parts/suggestion-part.svelte +0 -83
  301. package/src/components/chat/message/parts/tool-approval-part.svelte +0 -298
  302. package/src/components/chat/message/parts/tool-call-part.svelte +0 -19
  303. package/src/components/chat/message/parts/tool-result-part.svelte +0 -65
  304. package/src/components/chat/message/tool-call-group.svelte +0 -274
  305. package/src/components/chat/message/tool-payload-code.svelte +0 -35
  306. package/src/components/chat/utilities/conversation.ts +0 -44
  307. package/src/components/chat/utilities/index.ts +0 -33
  308. package/src/components/chat/utilities/types.ts +0 -288
  309. package/src/components/chat/utilities/utilities.ts +0 -507
  310. package/src/components/chat-composer-popover/chat-composer-popover-filter.ts +0 -68
  311. package/src/components/chat-composer-popover/chat-composer-popover.css +0 -7
  312. package/src/components/chat-composer-popover/chat-composer-popover.examples.json +0 -13
  313. package/src/components/chat-composer-popover/chat-composer-popover.schema.json +0 -90
  314. package/src/components/chat-composer-popover/chat-composer-popover.schema.ts +0 -95
  315. package/src/components/chat-composer-popover/chat-composer-popover.svelte +0 -234
  316. package/src/components/chat-composer-popover/chat-composer-popover.types.ts +0 -88
  317. package/src/components/chat-composer-popover/chat-composer-popover.variables.json +0 -1
  318. package/src/components/chat-composer-popover/chat-composer-popover.variables.ts +0 -3
  319. package/src/components/chat-composer-popover/index.ts +0 -19
  320. package/src/components/chat-conversation-header/chat-conversation-header.css +0 -51
  321. package/src/components/chat-conversation-header/chat-conversation-header.examples.json +0 -13
  322. package/src/components/chat-conversation-header/chat-conversation-header.schema.json +0 -34
  323. package/src/components/chat-conversation-header/chat-conversation-header.schema.ts +0 -38
  324. package/src/components/chat-conversation-header/chat-conversation-header.svelte +0 -49
  325. package/src/components/chat-conversation-header/chat-conversation-header.types.ts +0 -20
  326. package/src/components/chat-conversation-header/chat-conversation-header.variables.json +0 -1
  327. package/src/components/chat-conversation-header/chat-conversation-header.variables.ts +0 -3
  328. package/src/components/chat-conversation-header/index.ts +0 -9
  329. package/src/components/chat-conversation-list/chat-conversation-list.css +0 -127
  330. package/src/components/chat-conversation-list/chat-conversation-list.examples.json +0 -13
  331. package/src/components/chat-conversation-list/chat-conversation-list.schema.json +0 -45
  332. package/src/components/chat-conversation-list/chat-conversation-list.schema.ts +0 -52
  333. package/src/components/chat-conversation-list/chat-conversation-list.svelte +0 -75
  334. package/src/components/chat-conversation-list/chat-conversation-list.types.ts +0 -18
  335. package/src/components/chat-conversation-list/chat-conversation-list.variables.json +0 -1
  336. package/src/components/chat-conversation-list/chat-conversation-list.variables.ts +0 -3
  337. package/src/components/chat-conversation-list/conversation-summary.ts +0 -88
  338. package/src/components/chat-conversation-list/index.ts +0 -11
@@ -0,0 +1,119 @@
1
+ import {
2
+ setTableContext
3
+ } from "./index.server-7pdq2w0a.js";
4
+ import {
5
+ useResizeObserver
6
+ } from "./index.server-9w7qdn8h.js";
7
+ import {
8
+ classNames
9
+ } from "./index.server-z7nvkz8v.js";
10
+
11
+ // src/components/table/table.svelte
12
+ import * as $ from "svelte/internal/server";
13
+ function Table($$renderer, $$props) {
14
+ $$renderer.component(($$renderer2) => {
15
+ let {
16
+ sort = undefined,
17
+ caption,
18
+ stickyHeader = false,
19
+ density = "comfortable",
20
+ selectable = false,
21
+ scrollable = false,
22
+ scrollContainerProps,
23
+ class: className,
24
+ children,
25
+ $$slots,
26
+ $$events,
27
+ ...rest
28
+ } = $$props;
29
+ const wrapperClassName = $.derived(() => scrollContainerProps?.class);
30
+ const wrapperAriaLabelledBy = $.derived(() => normalizeOptionalAttribute(scrollContainerProps?.["aria-labelledby"]));
31
+ const explicitWrapperAriaLabel = $.derived(() => normalizeOptionalAttribute(scrollContainerProps?.["aria-label"]));
32
+ const explicitWrapperRole = $.derived(() => normalizeOptionalAttribute(scrollContainerProps?.role));
33
+ const normalizedCaption = $.derived(() => normalizeOptionalAttribute(caption));
34
+ const wrapperAriaLabel = $.derived(() => explicitWrapperAriaLabel() ?? (wrapperAriaLabelledBy() ? undefined : normalizedCaption() ? `${normalizedCaption()} table scroll area` : undefined));
35
+ const wrapperRole = $.derived(() => explicitWrapperRole() ?? (wrapperAriaLabel() || wrapperAriaLabelledBy() ? "region" : undefined));
36
+ const wrapperTabindex = $.derived(() => normalizeOptionalTabindex(scrollContainerProps?.tabindex) ?? 0);
37
+ function normalizeOptionalAttribute(value) {
38
+ return typeof value === "string" && value.trim().length > 0 ? value.trim() : undefined;
39
+ }
40
+ function normalizeOptionalTabindex(value) {
41
+ if (typeof value === "number" && Number.isInteger(value))
42
+ return value;
43
+ if (typeof value !== "string")
44
+ return;
45
+ const normalizedValue = value.trim();
46
+ if (!/^-?\d+$/.test(normalizedValue))
47
+ return;
48
+ return Number(normalizedValue);
49
+ }
50
+ let captionHeight = 0;
51
+ const measureCaption = useResizeObserver((entries) => {
52
+ const entry = entries[0];
53
+ if (!entry)
54
+ return;
55
+ captionHeight = entry.borderBoxSize?.[0]?.blockSize ?? entry.contentRect.height;
56
+ }, { box: "border-box", enabled: () => stickyHeader });
57
+ function onsortchange(column) {
58
+ if (!sort || sort.column !== column) {
59
+ sort = { column, direction: "ascending" };
60
+ return;
61
+ }
62
+ sort = {
63
+ column,
64
+ direction: sort.direction === "ascending" ? "descending" : "ascending"
65
+ };
66
+ }
67
+ setTableContext({
68
+ get sort() {
69
+ return sort;
70
+ },
71
+ get selectionEnabled() {
72
+ return selectable;
73
+ },
74
+ onsortchange
75
+ });
76
+ function table($$renderer3) {
77
+ $$renderer3.push(`<table${$.attributes({
78
+ ...rest,
79
+ class: $.clsx(classNames("cinder-table", className)),
80
+ "data-cinder-sticky-header": stickyHeader || undefined,
81
+ "data-cinder-density": density,
82
+ "data-cinder-selectable": selectable || undefined
83
+ }, undefined, undefined, {
84
+ "--cinder-table-caption-height": normalizedCaption() ? `${captionHeight}px` : undefined
85
+ })}>`);
86
+ if (normalizedCaption()) {
87
+ $$renderer3.push("<!--[0-->");
88
+ $$renderer3.push(`<caption class="cinder-table__caption">${$.escape(normalizedCaption())}</caption>`);
89
+ } else {
90
+ $$renderer3.push("<!--[-1-->");
91
+ }
92
+ $$renderer3.push(`<!--]-->`);
93
+ children($$renderer3);
94
+ $$renderer3.push(`<!----></table>`);
95
+ }
96
+ if (scrollable) {
97
+ $$renderer2.push("<!--[0-->");
98
+ $$renderer2.push(`<div${$.attributes({
99
+ ...scrollContainerProps,
100
+ class: $.clsx(classNames("cinder-table-scroll", wrapperClassName())),
101
+ role: wrapperRole(),
102
+ "aria-label": wrapperAriaLabel(),
103
+ "aria-labelledby": wrapperAriaLabelledBy(),
104
+ tabindex: wrapperTabindex()
105
+ })}>`);
106
+ table($$renderer2);
107
+ $$renderer2.push(`<!----></div>`);
108
+ } else {
109
+ $$renderer2.push("<!--[-1-->");
110
+ table($$renderer2);
111
+ }
112
+ $$renderer2.push(`<!--]-->`);
113
+ $.bind_props($$props, { sort });
114
+ }, Table);
115
+ }
116
+
117
+ export { Table };
118
+
119
+ //# debugId=1DFB296CFE8432E764756E2164756E21
@@ -3,7 +3,7 @@ import {
3
3
  } from "./index.server-6zgzghtm.js";
4
4
  import {
5
5
  overflowFade
6
- } from "./index.server-1vsv7ngz.js";
6
+ } from "./index.server-3g76h7z7.js";
7
7
  import {
8
8
  useReducedMotion
9
9
  } from "./index.server-8hdvr9bt.js";
@@ -1,10 +1,10 @@
1
- import {
2
- handleRovingKeydown
3
- } from "./index.server-0a8m173j.js";
4
1
  import {
5
2
  Choice_grid_item,
6
3
  setChoiceGridContext
7
4
  } from "./index.server-g3gfbp7a.js";
5
+ import {
6
+ handleRovingKeydown
7
+ } from "./index.server-0a8m173j.js";
8
8
  import {
9
9
  createMultiSelection,
10
10
  createSingleSelection
@@ -189,4 +189,4 @@ var ChoiceGrid = Object.assign(Choice_grid, {
189
189
  var choice_grid_default = ChoiceGrid;
190
190
  export { ChoiceGrid, choice_grid_default };
191
191
 
192
- //# debugId=D6837FEDB68C178064756E2164756E21
192
+ //# debugId=C34D4D6DE6932D7464756E2164756E21
@@ -22,19 +22,13 @@ function Chevron_down($$renderer, $$props) {
22
22
  ]));
23
23
  }
24
24
 
25
- // ../../node_modules/lucide-svelte/dist/icons/rotate-ccw.svelte
25
+ // ../../node_modules/lucide-svelte/dist/icons/chevron-left.svelte
26
26
  import * as $2 from "svelte/internal/server";
27
- function Rotate_ccw($$renderer, $$props) {
27
+ function Chevron_left($$renderer, $$props) {
28
28
  const $$sanitized_props = $2.sanitize_props($$props);
29
- const iconNode = [
30
- [
31
- "path",
32
- { d: "M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8" }
33
- ],
34
- ["path", { d: "M3 3v5h5" }]
35
- ];
29
+ const iconNode = [["path", { d: "m15 18-6-6 6-6" }]];
36
30
  Icon($$renderer, $2.spread_props([
37
- { name: "rotate-ccw" },
31
+ { name: "chevron-left" },
38
32
  $$sanitized_props,
39
33
  {
40
34
  iconNode,
@@ -48,13 +42,13 @@ function Rotate_ccw($$renderer, $$props) {
48
42
  ]));
49
43
  }
50
44
 
51
- // ../../node_modules/lucide-svelte/dist/icons/chevron-left.svelte
45
+ // ../../node_modules/lucide-svelte/dist/icons/chevron-right.svelte
52
46
  import * as $3 from "svelte/internal/server";
53
- function Chevron_left($$renderer, $$props) {
47
+ function Chevron_right($$renderer, $$props) {
54
48
  const $$sanitized_props = $3.sanitize_props($$props);
55
- const iconNode = [["path", { d: "m15 18-6-6 6-6" }]];
49
+ const iconNode = [["path", { d: "m9 18 6-6-6-6" }]];
56
50
  Icon($$renderer, $3.spread_props([
57
- { name: "chevron-left" },
51
+ { name: "chevron-right" },
58
52
  $$sanitized_props,
59
53
  {
60
54
  iconNode,
@@ -68,13 +62,24 @@ function Chevron_left($$renderer, $$props) {
68
62
  ]));
69
63
  }
70
64
 
71
- // ../../node_modules/lucide-svelte/dist/icons/chevron-right.svelte
65
+ // ../../node_modules/lucide-svelte/dist/icons/file-text.svelte
72
66
  import * as $4 from "svelte/internal/server";
73
- function Chevron_right($$renderer, $$props) {
67
+ function File_text($$renderer, $$props) {
74
68
  const $$sanitized_props = $4.sanitize_props($$props);
75
- const iconNode = [["path", { d: "m9 18 6-6-6-6" }]];
69
+ const iconNode = [
70
+ [
71
+ "path",
72
+ {
73
+ d: "M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z"
74
+ }
75
+ ],
76
+ ["path", { d: "M14 2v4a2 2 0 0 0 2 2h4" }],
77
+ ["path", { d: "M10 9H8" }],
78
+ ["path", { d: "M16 13H8" }],
79
+ ["path", { d: "M16 17H8" }]
80
+ ];
76
81
  Icon($$renderer, $4.spread_props([
77
- { name: "chevron-right" },
82
+ { name: "file-text" },
78
83
  $$sanitized_props,
79
84
  {
80
85
  iconNode,
@@ -88,6 +93,32 @@ function Chevron_right($$renderer, $$props) {
88
93
  ]));
89
94
  }
90
95
 
91
- export { Chevron_down, Chevron_left, Chevron_right, Rotate_ccw };
96
+ // ../../node_modules/lucide-svelte/dist/icons/rotate-ccw.svelte
97
+ import * as $5 from "svelte/internal/server";
98
+ function Rotate_ccw($$renderer, $$props) {
99
+ const $$sanitized_props = $5.sanitize_props($$props);
100
+ const iconNode = [
101
+ [
102
+ "path",
103
+ { d: "M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8" }
104
+ ],
105
+ ["path", { d: "M3 3v5h5" }]
106
+ ];
107
+ Icon($$renderer, $5.spread_props([
108
+ { name: "rotate-ccw" },
109
+ $$sanitized_props,
110
+ {
111
+ iconNode,
112
+ children: ($$renderer2) => {
113
+ $$renderer2.push(`<!--[-->`);
114
+ $5.slot($$renderer2, $$props, "default", {}, null);
115
+ $$renderer2.push(`<!--]-->`);
116
+ },
117
+ $$slots: { default: true }
118
+ }
119
+ ]));
120
+ }
121
+
122
+ export { Chevron_down, Chevron_left, Chevron_right, File_text, Rotate_ccw };
92
123
 
93
- //# debugId=72554F71BDFC3FCA64756E2164756E21
124
+ //# debugId=9E68BBCD003D85E964756E2164756E21
@@ -1,9 +1,9 @@
1
+ import {
2
+ overflowFade
3
+ } from "./index.server-3g76h7z7.js";
1
4
  import {
2
5
  restoreFocusTo
3
6
  } from "./index.server-zwjp26z8.js";
4
- import {
5
- overflowFade
6
- } from "./index.server-1vsv7ngz.js";
7
7
  import {
8
8
  lockBodyScroll,
9
9
  pushEscapeHandler
@@ -134,4 +134,4 @@ function Modal($$renderer, $$props) {
134
134
 
135
135
  export { Modal };
136
136
 
137
- //# debugId=EBD7DEFE0FF4F3A864756E2164756E21
137
+ //# debugId=469CD37BEBB4EBC364756E2164756E21
@@ -9,10 +9,10 @@ import {
9
9
  } from "./index.server-d146g8pr.js";
10
10
  import {
11
11
  Segmented_control
12
- } from "./index.server-mr68brd6.js";
12
+ } from "./index.server-jgdtsvz2.js";
13
13
  import {
14
14
  Segment
15
- } from "./index.server-e89qfamd.js";
15
+ } from "./index.server-mknhgg07.js";
16
16
  import {
17
17
  Input
18
18
  } from "./index.server-8xvc73zh.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lostgradient/cinder",
3
- "version": "0.15.0",
3
+ "version": "0.16.1",
4
4
  "description": "A Svelte 5 component library and design system focused on accessibility, theming, and per-component tree-shaking.",
5
5
  "keywords": [
6
6
  "svelte",
@@ -63,6 +63,14 @@
63
63
  "import": "./src/styles/base-guard.ts",
64
64
  "default": "./dist/styles/base-guard.js"
65
65
  },
66
+ "./icons": {
67
+ "types": "./dist/components/icons/index.d.ts",
68
+ "browser": "./src/components/icons/index.ts",
69
+ "node": "./dist/server/components/icons/index.js",
70
+ "svelte": "./src/components/icons/index.ts",
71
+ "import": "./src/components/icons/index.ts",
72
+ "default": "./dist/components/icons/index.js"
73
+ },
66
74
  "./highlighters/shiki": {
67
75
  "types": "./dist/highlighters/shiki/index.d.ts",
68
76
  "browser": "./src/highlighters/shiki/index.ts",
@@ -935,134 +943,6 @@
935
943
  "import": "./src/components/carousel/carousel.examples.json",
936
944
  "default": "./src/components/carousel/carousel.examples.json"
937
945
  },
938
- "./chat": {
939
- "types": "./dist/components/chat/index.d.ts",
940
- "browser": "./src/components/chat/index.ts",
941
- "node": "./dist/server/components/chat/index.js",
942
- "svelte": "./src/components/chat/index.ts",
943
- "import": "./src/components/chat/index.ts",
944
- "default": "./dist/components/chat/index.js"
945
- },
946
- "./chat/schema": {
947
- "types": "./dist/components/chat/chat.schema.d.ts",
948
- "browser": "./src/components/chat/chat.schema.ts",
949
- "node": "./dist/components/chat/chat.schema.js",
950
- "svelte": "./src/components/chat/chat.schema.ts",
951
- "import": "./src/components/chat/chat.schema.ts",
952
- "default": "./dist/components/chat/chat.schema.js"
953
- },
954
- "./chat/variables": {
955
- "types": "./dist/components/chat/chat.variables.d.ts",
956
- "browser": "./src/components/chat/chat.variables.ts",
957
- "node": "./dist/components/chat/chat.variables.js",
958
- "svelte": "./src/components/chat/chat.variables.ts",
959
- "import": "./src/components/chat/chat.variables.ts",
960
- "default": "./dist/components/chat/chat.variables.js"
961
- },
962
- "./chat/styles": {
963
- "types": "./dist/components/chat/chat.css.d.ts",
964
- "default": "./dist/components/chat/chat.css"
965
- },
966
- "./chat/examples": {
967
- "import": "./src/components/chat/chat.examples.json",
968
- "default": "./src/components/chat/chat.examples.json"
969
- },
970
- "./chat-composer-popover": {
971
- "types": "./dist/components/chat-composer-popover/index.d.ts",
972
- "browser": "./src/components/chat-composer-popover/index.ts",
973
- "node": "./dist/server/components/chat-composer-popover/index.js",
974
- "svelte": "./src/components/chat-composer-popover/index.ts",
975
- "import": "./src/components/chat-composer-popover/index.ts",
976
- "default": "./dist/components/chat-composer-popover/index.js"
977
- },
978
- "./chat-composer-popover/schema": {
979
- "types": "./dist/components/chat-composer-popover/chat-composer-popover.schema.d.ts",
980
- "browser": "./src/components/chat-composer-popover/chat-composer-popover.schema.ts",
981
- "node": "./dist/components/chat-composer-popover/chat-composer-popover.schema.js",
982
- "svelte": "./src/components/chat-composer-popover/chat-composer-popover.schema.ts",
983
- "import": "./src/components/chat-composer-popover/chat-composer-popover.schema.ts",
984
- "default": "./dist/components/chat-composer-popover/chat-composer-popover.schema.js"
985
- },
986
- "./chat-composer-popover/variables": {
987
- "types": "./dist/components/chat-composer-popover/chat-composer-popover.variables.d.ts",
988
- "browser": "./src/components/chat-composer-popover/chat-composer-popover.variables.ts",
989
- "node": "./dist/components/chat-composer-popover/chat-composer-popover.variables.js",
990
- "svelte": "./src/components/chat-composer-popover/chat-composer-popover.variables.ts",
991
- "import": "./src/components/chat-composer-popover/chat-composer-popover.variables.ts",
992
- "default": "./dist/components/chat-composer-popover/chat-composer-popover.variables.js"
993
- },
994
- "./chat-composer-popover/styles": {
995
- "types": "./dist/components/chat-composer-popover/chat-composer-popover.css.d.ts",
996
- "default": "./dist/components/chat-composer-popover/chat-composer-popover.css"
997
- },
998
- "./chat-composer-popover/examples": {
999
- "import": "./src/components/chat-composer-popover/chat-composer-popover.examples.json",
1000
- "default": "./src/components/chat-composer-popover/chat-composer-popover.examples.json"
1001
- },
1002
- "./chat-conversation-header": {
1003
- "types": "./dist/components/chat-conversation-header/index.d.ts",
1004
- "browser": "./src/components/chat-conversation-header/index.ts",
1005
- "node": "./dist/server/components/chat-conversation-header/index.js",
1006
- "svelte": "./src/components/chat-conversation-header/index.ts",
1007
- "import": "./src/components/chat-conversation-header/index.ts",
1008
- "default": "./dist/components/chat-conversation-header/index.js"
1009
- },
1010
- "./chat-conversation-header/schema": {
1011
- "types": "./dist/components/chat-conversation-header/chat-conversation-header.schema.d.ts",
1012
- "browser": "./src/components/chat-conversation-header/chat-conversation-header.schema.ts",
1013
- "node": "./dist/components/chat-conversation-header/chat-conversation-header.schema.js",
1014
- "svelte": "./src/components/chat-conversation-header/chat-conversation-header.schema.ts",
1015
- "import": "./src/components/chat-conversation-header/chat-conversation-header.schema.ts",
1016
- "default": "./dist/components/chat-conversation-header/chat-conversation-header.schema.js"
1017
- },
1018
- "./chat-conversation-header/variables": {
1019
- "types": "./dist/components/chat-conversation-header/chat-conversation-header.variables.d.ts",
1020
- "browser": "./src/components/chat-conversation-header/chat-conversation-header.variables.ts",
1021
- "node": "./dist/components/chat-conversation-header/chat-conversation-header.variables.js",
1022
- "svelte": "./src/components/chat-conversation-header/chat-conversation-header.variables.ts",
1023
- "import": "./src/components/chat-conversation-header/chat-conversation-header.variables.ts",
1024
- "default": "./dist/components/chat-conversation-header/chat-conversation-header.variables.js"
1025
- },
1026
- "./chat-conversation-header/styles": {
1027
- "types": "./dist/components/chat-conversation-header/chat-conversation-header.css.d.ts",
1028
- "default": "./dist/components/chat-conversation-header/chat-conversation-header.css"
1029
- },
1030
- "./chat-conversation-header/examples": {
1031
- "import": "./src/components/chat-conversation-header/chat-conversation-header.examples.json",
1032
- "default": "./src/components/chat-conversation-header/chat-conversation-header.examples.json"
1033
- },
1034
- "./chat-conversation-list": {
1035
- "types": "./dist/components/chat-conversation-list/index.d.ts",
1036
- "browser": "./src/components/chat-conversation-list/index.ts",
1037
- "node": "./dist/server/components/chat-conversation-list/index.js",
1038
- "svelte": "./src/components/chat-conversation-list/index.ts",
1039
- "import": "./src/components/chat-conversation-list/index.ts",
1040
- "default": "./dist/components/chat-conversation-list/index.js"
1041
- },
1042
- "./chat-conversation-list/schema": {
1043
- "types": "./dist/components/chat-conversation-list/chat-conversation-list.schema.d.ts",
1044
- "browser": "./src/components/chat-conversation-list/chat-conversation-list.schema.ts",
1045
- "node": "./dist/components/chat-conversation-list/chat-conversation-list.schema.js",
1046
- "svelte": "./src/components/chat-conversation-list/chat-conversation-list.schema.ts",
1047
- "import": "./src/components/chat-conversation-list/chat-conversation-list.schema.ts",
1048
- "default": "./dist/components/chat-conversation-list/chat-conversation-list.schema.js"
1049
- },
1050
- "./chat-conversation-list/variables": {
1051
- "types": "./dist/components/chat-conversation-list/chat-conversation-list.variables.d.ts",
1052
- "browser": "./src/components/chat-conversation-list/chat-conversation-list.variables.ts",
1053
- "node": "./dist/components/chat-conversation-list/chat-conversation-list.variables.js",
1054
- "svelte": "./src/components/chat-conversation-list/chat-conversation-list.variables.ts",
1055
- "import": "./src/components/chat-conversation-list/chat-conversation-list.variables.ts",
1056
- "default": "./dist/components/chat-conversation-list/chat-conversation-list.variables.js"
1057
- },
1058
- "./chat-conversation-list/styles": {
1059
- "types": "./dist/components/chat-conversation-list/chat-conversation-list.css.d.ts",
1060
- "default": "./dist/components/chat-conversation-list/chat-conversation-list.css"
1061
- },
1062
- "./chat-conversation-list/examples": {
1063
- "import": "./src/components/chat-conversation-list/chat-conversation-list.examples.json",
1064
- "default": "./src/components/chat-conversation-list/chat-conversation-list.examples.json"
1065
- },
1066
946
  "./checkbox": {
1067
947
  "types": "./dist/components/checkbox/index.d.ts",
1068
948
  "browser": "./src/components/checkbox/index.ts",
@@ -6549,7 +6429,6 @@
6549
6429
  "@types/unist": "^3.0.0",
6550
6430
  "ajv": "^8",
6551
6431
  "comlink": "^4.4.2",
6552
- "conversationalist": "^0.2.1",
6553
6432
  "diff-match-patch": "^1.0.5",
6554
6433
  "esm-env": "^1.2.0",
6555
6434
  "hast-util-sanitize": "^5.0.0",
@@ -6570,6 +6449,7 @@
6570
6449
  "zod": "4.4.1"
6571
6450
  },
6572
6451
  "devDependencies": {
6452
+ "@changesets/get-release-plan": "4.0.16",
6573
6453
  "@changesets/parse": "0.4.3",
6574
6454
  "@playwright/test": "1.60.0",
6575
6455
  "@testing-library/jest-dom": "^6.9.1",
@@ -1,6 +1,7 @@
1
1
  import FocusTrap from './focus-trap.svelte';
2
2
 
3
3
  export default FocusTrap;
4
+ export { createBodyScrollLock } from '../../utilities/attachments.ts';
4
5
  export type { FocusTrapOptions, FocusTrapProps } from './focus-trap.types.ts';
5
6
  export { createFocusTrap } from './focus-trap.utilities.svelte.ts';
6
7
  export { FocusTrap };
@@ -1,46 +1,88 @@
1
1
  import type { IconProps } from 'lucide-svelte';
2
+ import ArrowUpIcon from 'lucide-svelte/icons/arrow-up';
3
+ import BoldIcon from 'lucide-svelte/icons/bold';
4
+ import CheckIcon from 'lucide-svelte/icons/check';
5
+ import CheckCheckIcon from 'lucide-svelte/icons/check-check';
6
+ import ChevronDownIcon from 'lucide-svelte/icons/chevron-down';
7
+ import ChevronLeftIcon from 'lucide-svelte/icons/chevron-left';
8
+ import ChevronRightIcon from 'lucide-svelte/icons/chevron-right';
9
+ import ChevronUpIcon from 'lucide-svelte/icons/chevron-up';
10
+ import CircleAlertIcon from 'lucide-svelte/icons/circle-alert';
11
+ import CodeIcon from 'lucide-svelte/icons/code';
12
+ import CopyIcon from 'lucide-svelte/icons/copy';
13
+ import FileCodeIcon from 'lucide-svelte/icons/file-code';
14
+ import FileTextIcon from 'lucide-svelte/icons/file-text';
15
+ import FolderGit2Icon from 'lucide-svelte/icons/folder-git-2';
16
+ import GitBranchIcon from 'lucide-svelte/icons/git-branch';
17
+ import Heading1Icon from 'lucide-svelte/icons/heading-1';
18
+ import Heading2Icon from 'lucide-svelte/icons/heading-2';
19
+ import Heading3Icon from 'lucide-svelte/icons/heading-3';
20
+ import ItalicIcon from 'lucide-svelte/icons/italic';
21
+ import LinkIcon from 'lucide-svelte/icons/link';
22
+ import ListIcon from 'lucide-svelte/icons/list';
23
+ import ListOrderedIcon from 'lucide-svelte/icons/list-ordered';
24
+ import MessageCircleIcon from 'lucide-svelte/icons/message-circle';
25
+ import MessageSquareIcon from 'lucide-svelte/icons/message-square';
26
+ import MoreHorizontalIcon from 'lucide-svelte/icons/more-horizontal';
27
+ import PaperclipIcon from 'lucide-svelte/icons/paperclip';
28
+ import PencilIcon from 'lucide-svelte/icons/pencil';
29
+ import PilcrowIcon from 'lucide-svelte/icons/pilcrow';
30
+ import PlusIcon from 'lucide-svelte/icons/plus';
31
+ import QuoteIcon from 'lucide-svelte/icons/quote';
32
+ import Redo2Icon from 'lucide-svelte/icons/redo-2';
33
+ import RefreshCwIcon from 'lucide-svelte/icons/refresh-cw';
34
+ import RotateCcwIcon from 'lucide-svelte/icons/rotate-ccw';
35
+ import SearchIcon from 'lucide-svelte/icons/search';
36
+ import SquareIcon from 'lucide-svelte/icons/square';
37
+ import StrikethroughIcon from 'lucide-svelte/icons/strikethrough';
38
+ import Trash2Icon from 'lucide-svelte/icons/trash-2';
39
+ import Undo2Icon from 'lucide-svelte/icons/undo-2';
40
+ import UnlinkIcon from 'lucide-svelte/icons/unlink';
41
+ import XIcon from 'lucide-svelte/icons/x';
2
42
  import type { ComponentType, SvelteComponent } from 'svelte';
3
43
 
4
- export {
5
- ArrowUp,
6
- Bold,
7
- Check,
8
- ChevronDown,
9
- ChevronLeft,
10
- ChevronRight,
11
- ChevronUp,
12
- Code,
13
- Copy,
14
- FileCode,
15
- FileText,
16
- FolderGit2,
17
- GitBranch,
18
- Heading1,
19
- Heading2,
20
- Heading3,
21
- Italic,
22
- Link,
23
- List,
24
- ListOrdered,
25
- MessageCircle,
26
- MessageSquare,
27
- MoreHorizontal,
28
- Paperclip,
29
- Pencil,
30
- Pilcrow,
31
- Plus,
32
- Quote,
33
- Redo2,
34
- RefreshCw,
35
- RotateCcw,
36
- Search,
37
- Square,
38
- Strikethrough,
39
- Trash2,
40
- Undo2,
41
- Unlink,
42
- X,
43
- } from 'lucide-svelte';
44
+ // Local aliases keep Bun's split client/server builds from tree-shaking the
45
+ // imported Svelte component bindings while retaining dangling re-exports.
46
+ export const ArrowUp = ArrowUpIcon;
47
+ export const Bold = BoldIcon;
48
+ export const Check = CheckIcon;
49
+ export const CheckCheck = CheckCheckIcon;
50
+ export const ChevronDown = ChevronDownIcon;
51
+ export const ChevronLeft = ChevronLeftIcon;
52
+ export const ChevronRight = ChevronRightIcon;
53
+ export const ChevronUp = ChevronUpIcon;
54
+ export const CircleAlert = CircleAlertIcon;
55
+ export const Code = CodeIcon;
56
+ export const Copy = CopyIcon;
57
+ export const FileCode = FileCodeIcon;
58
+ export const FileText = FileTextIcon;
59
+ export const FolderGit2 = FolderGit2Icon;
60
+ export const GitBranch = GitBranchIcon;
61
+ export const Heading1 = Heading1Icon;
62
+ export const Heading2 = Heading2Icon;
63
+ export const Heading3 = Heading3Icon;
64
+ export const Italic = ItalicIcon;
65
+ export const Link = LinkIcon;
66
+ export const List = ListIcon;
67
+ export const ListOrdered = ListOrderedIcon;
68
+ export const MessageCircle = MessageCircleIcon;
69
+ export const MessageSquare = MessageSquareIcon;
70
+ export const MoreHorizontal = MoreHorizontalIcon;
71
+ export const Paperclip = PaperclipIcon;
72
+ export const Pencil = PencilIcon;
73
+ export const Pilcrow = PilcrowIcon;
74
+ export const Plus = PlusIcon;
75
+ export const Quote = QuoteIcon;
76
+ export const Redo2 = Redo2Icon;
77
+ export const RefreshCw = RefreshCwIcon;
78
+ export const RotateCcw = RotateCcwIcon;
79
+ export const Search = SearchIcon;
80
+ export const Square = SquareIcon;
81
+ export const Strikethrough = StrikethroughIcon;
82
+ export const Trash2 = Trash2Icon;
83
+ export const Undo2 = Undo2Icon;
84
+ export const Unlink = UnlinkIcon;
85
+ export const X = XIcon;
44
86
 
45
87
  export type { IconProps } from 'lucide-svelte';
46
88
 
@@ -36,6 +36,11 @@
36
36
  min-inline-size: max-content;
37
37
  }
38
38
 
39
+ .cinder-table-scroll:focus-visible {
40
+ outline: var(--cinder-ring-width) solid transparent;
41
+ box-shadow: var(--_cinder-focus-ring-shadow);
42
+ }
43
+
39
44
  .cinder-table__caption {
40
45
  caption-side: top;
41
46
  text-align: left;
@@ -163,6 +168,12 @@
163
168
  }
164
169
 
165
170
  @media (forced-colors: active) {
171
+ .cinder-table-scroll:focus-visible {
172
+ outline: var(--cinder-ring-width) solid ButtonText;
173
+ outline-offset: 3px;
174
+ box-shadow: none;
175
+ }
176
+
166
177
  .cinder-table__sort-button:focus-visible {
167
178
  outline: var(--cinder-ring-width) solid ButtonText;
168
179
  /* 2px is correct here: sort-button has border:none so there is no
@@ -5,9 +5,9 @@
5
5
  "examples": [
6
6
  {
7
7
  "id": "basic",
8
- "title": "Basic table",
9
- "description": "Header row plus three body rows; semantic <table> markup.",
10
- "code": "<script lang=\"ts\">\n import { Table } from '@lostgradient/cinder/table';\n const people = [\n { name: 'Ada Lovelace', role: 'Mathematician', commits: 142 },\n { name: 'Grace Hopper', role: 'Computer Scientist', commits: 98 },\n { name: 'Alan Turing', role: 'Cryptanalyst', commits: 76 },\n ];\n</script>\n\n<Table caption=\"Recent contributors\">\n <Table.Header>\n <Table.Row>\n <Table.HeaderCell>Name</Table.HeaderCell>\n <Table.HeaderCell>Role</Table.HeaderCell>\n <Table.HeaderCell align=\"right\">Commits</Table.HeaderCell>\n </Table.Row>\n </Table.Header>\n <Table.Body>\n {#each people as person (person.name)}\n <Table.Row>\n <Table.Cell>{person.name}</Table.Cell>\n <Table.Cell>{person.role}</Table.Cell>\n <Table.Cell align=\"right\">{person.commits}</Table.Cell>\n </Table.Row>\n {/each}\n </Table.Body>\n</Table>\n"
8
+ "title": "Scrollable table",
9
+ "description": "Hand-composed cells inside the public horizontal scroll wrapper for dense tables.",
10
+ "code": "<script lang=\"ts\">\n import { Table } from '@lostgradient/cinder/table';\n const people = [\n {\n name: 'Ada Lovelace',\n role: 'Mathematician and analytical engine collaborator',\n commits: 142,\n },\n {\n name: 'Grace Hopper',\n role: 'Computer scientist, compiler builder, and systems educator',\n commits: 98,\n },\n {\n name: 'Alan Turing',\n role: 'Cryptanalyst, logician, and theoretical computer scientist',\n commits: 76,\n },\n ];\n</script>\n\n<Table caption=\"Recent contributors\" scrollable>\n <Table.Header>\n <Table.Row>\n <Table.HeaderCell>Name</Table.HeaderCell>\n <Table.HeaderCell>Role</Table.HeaderCell>\n <Table.HeaderCell align=\"right\">Commits</Table.HeaderCell>\n </Table.Row>\n </Table.Header>\n <Table.Body>\n {#each people as person (person.name)}\n <Table.Row>\n <Table.Cell>{person.name}</Table.Cell>\n <Table.Cell>{person.role}</Table.Cell>\n <Table.Cell align=\"right\">{person.commits}</Table.Cell>\n </Table.Row>\n {/each}\n </Table.Body>\n</Table>\n"
11
11
  },
12
12
  {
13
13
  "id": "empty",