@sdxc/ui 2026.10.29 → 2026.11.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 (411) hide show
  1. package/README.md +187 -113
  2. package/dist/{behaviors → app/behaviors}/drag-session.js +1 -1
  3. package/dist/{behaviors → app/behaviors}/toaster.js +1 -1
  4. package/dist/{components → app}/chart.d.ts +1 -1
  5. package/dist/{components → app}/chart.js +18 -34
  6. package/dist/{components → app}/context-menu.d.ts +2 -2
  7. package/dist/{components → app}/context-menu.js +8 -7
  8. package/dist/{components → app}/drop-indicator.js +3 -3
  9. package/dist/{components → app}/drop-zone.js +3 -3
  10. package/dist/{components → app}/empty.d.ts +1 -1
  11. package/dist/{components → app}/empty.js +11 -21
  12. package/dist/{components → app}/file-trigger.js +2 -2
  13. package/dist/{components → app}/grid-list.d.ts +1 -1
  14. package/dist/{components → app}/grid-list.js +16 -18
  15. package/dist/app/index.d.ts +41 -0
  16. package/dist/app/index.js +41 -0
  17. package/dist/{components → app}/menubar.js +5 -7
  18. package/dist/{mixins → app/mixins}/drag-reorder.js +1 -1
  19. package/dist/{mixins → app/mixins}/drop-zone.js +1 -1
  20. package/dist/{mixins → app/mixins}/grid-list-keys.js +2 -2
  21. package/dist/{mixins → app/mixins}/menubar-keys.js +2 -2
  22. package/dist/{mixins → app/mixins}/resize-handle.js +3 -3
  23. package/dist/{mixins/treeKeys.js → app/mixins/tree-keys.js} +2 -2
  24. package/dist/{components → app}/resizable.js +7 -10
  25. package/dist/{components → app}/shortcut-list.js +4 -3
  26. package/dist/{components → app}/skeleton.js +3 -3
  27. package/dist/{styles → app/styles}/chart-palette.d.ts +1 -1
  28. package/dist/{styles → app/styles}/graphic-host.d.ts +1 -1
  29. package/dist/{styles → app/styles}/legend-toggle.d.ts +1 -1
  30. package/dist/{components → app}/table.js +12 -15
  31. package/dist/{components → app}/toast.js +18 -24
  32. package/dist/{components → app}/toolbar.js +3 -3
  33. package/dist/{components → app}/tree.d.ts +1 -1
  34. package/dist/{components → app}/tree.js +10 -14
  35. package/dist/{utils → app/utils}/chart-path.d.ts +1 -1
  36. package/dist/{utils → app/utils}/chart-path.js +2 -2
  37. package/dist/{utils → app/utils}/chart-scale.js +1 -1
  38. package/dist/behaviors/index.d.ts +0 -5
  39. package/dist/behaviors/index.js +0 -5
  40. package/dist/{components → chat}/attachment.d.ts +1 -1
  41. package/dist/{components → chat}/attachment.js +17 -23
  42. package/dist/{behaviors → chat/behaviors}/scroll-follow-model.js +1 -1
  43. package/dist/{components → chat}/bubble.js +14 -14
  44. package/dist/chat/index.d.ts +16 -0
  45. package/dist/chat/index.js +16 -0
  46. package/dist/{components → chat}/marker.js +6 -8
  47. package/dist/{components → chat}/message-scroller.d.ts +1 -1
  48. package/dist/{components → chat}/message-scroller.js +12 -18
  49. package/dist/{components → chat}/message.js +10 -12
  50. package/dist/{mixins → chat/mixins}/message-follow.js +2 -2
  51. package/dist/{components → color}/color-area.js +7 -10
  52. package/dist/{components → color}/color-field.js +7 -6
  53. package/dist/{components → color}/color-picker.d.ts +1 -1
  54. package/dist/{components → color}/color-picker.js +9 -12
  55. package/dist/{components → color}/color-slider.js +10 -13
  56. package/dist/{components → color}/color-swatch-picker.js +4 -5
  57. package/dist/{components → color}/color-swatch.js +3 -4
  58. package/dist/{components → color}/color-wheel.js +5 -6
  59. package/dist/color/index.d.ts +21 -0
  60. package/dist/color/index.js +21 -0
  61. package/dist/{mixins → color/mixins}/color-area-drag.d.ts +1 -1
  62. package/dist/{mixins → color/mixins}/color-area-drag.js +2 -2
  63. package/dist/{mixins → color/mixins}/color-preview.js +1 -1
  64. package/dist/{mixins → color/mixins}/color-wheel-drag.js +1 -1
  65. package/dist/{styles → color/styles}/rtl-aware-gradient-direction.d.ts +1 -1
  66. package/dist/components/accordion.d.ts +3 -3
  67. package/dist/components/accordion.js +19 -15
  68. package/dist/components/alert-dialog.js +5 -4
  69. package/dist/components/alert.js +10 -20
  70. package/dist/components/aspect-ratio.js +3 -4
  71. package/dist/components/avatar.d.ts +6 -6
  72. package/dist/components/avatar.js +56 -8
  73. package/dist/components/badge.js +11 -9
  74. package/dist/components/breadcrumbs.js +7 -9
  75. package/dist/components/button.d.ts +8 -6
  76. package/dist/components/button.js +22 -14
  77. package/dist/components/calendar.js +13 -24
  78. package/dist/components/card.js +9 -11
  79. package/dist/components/carousel.d.ts +1 -1
  80. package/dist/components/carousel.js +12 -20
  81. package/dist/components/checkbox-group.js +3 -3
  82. package/dist/components/checkbox.js +2 -2
  83. package/dist/components/combobox.js +6 -6
  84. package/dist/components/command.js +10 -14
  85. package/dist/components/cta-group.d.ts +30 -14
  86. package/dist/components/cta-group.js +29 -10
  87. package/dist/components/date-field.js +2 -1
  88. package/dist/components/date-picker.js +4 -5
  89. package/dist/components/date-range-picker.js +3 -2
  90. package/dist/components/description.js +2 -1
  91. package/dist/components/dialog-dismiss.d.ts +18 -0
  92. package/dist/components/dialog-dismiss.js +15 -0
  93. package/dist/components/dialog.js +11 -15
  94. package/dist/components/disclosure.js +10 -14
  95. package/dist/components/drawer.js +3 -4
  96. package/dist/components/field-error.js +3 -3
  97. package/dist/components/form.js +2 -1
  98. package/dist/components/group.js +3 -3
  99. package/dist/components/header.js +3 -3
  100. package/dist/components/heading-scope.js +2 -1
  101. package/dist/components/heading.d.ts +4 -4
  102. package/dist/components/heading.js +7 -7
  103. package/dist/components/highlight.js +17 -12
  104. package/dist/components/hover-card.js +6 -8
  105. package/dist/components/image-placeholder.js +13 -19
  106. package/dist/components/index.d.ts +6 -38
  107. package/dist/components/index.js +6 -38
  108. package/dist/components/input.js +3 -4
  109. package/dist/components/item.js +10 -19
  110. package/dist/components/keyboard.js +3 -3
  111. package/dist/components/label.js +2 -1
  112. package/dist/components/link-button.d.ts +7 -5
  113. package/dist/components/link-button.js +16 -11
  114. package/dist/components/link.js +3 -4
  115. package/dist/components/listbox.js +6 -11
  116. package/dist/components/menu.js +5 -6
  117. package/dist/components/meter.js +5 -6
  118. package/dist/components/modal.js +9 -11
  119. package/dist/components/nav-link.d.ts +1 -1
  120. package/dist/components/nav-link.js +3 -4
  121. package/dist/components/navigation-menu.js +17 -23
  122. package/dist/components/number-field.js +8 -10
  123. package/dist/components/otp-field.js +2 -1
  124. package/dist/components/overlay-arrow.js +3 -4
  125. package/dist/components/pagination.js +8 -10
  126. package/dist/components/popover.js +3 -4
  127. package/dist/components/progress-bar.js +5 -5
  128. package/dist/components/radio-group.js +5 -7
  129. package/dist/components/range-calendar.js +3 -3
  130. package/dist/components/scroll-area.js +4 -5
  131. package/dist/components/search-field.js +8 -11
  132. package/dist/components/section.js +2 -1
  133. package/dist/components/select.js +10 -22
  134. package/dist/components/selection-indicator.js +3 -3
  135. package/dist/components/sentinel-row.js +3 -3
  136. package/dist/components/separator.js +3 -3
  137. package/dist/components/shared-element.js +2 -1
  138. package/dist/components/sheet.js +6 -7
  139. package/dist/components/sidebar.js +48 -76
  140. package/dist/components/slider.js +8 -10
  141. package/dist/components/spinner.js +3 -3
  142. package/dist/components/switch.js +3 -3
  143. package/dist/components/tabs.js +9 -12
  144. package/dist/components/tag-group.js +7 -9
  145. package/dist/components/text-field.js +2 -1
  146. package/dist/components/text.js +2 -1
  147. package/dist/components/textarea.js +3 -4
  148. package/dist/components/time-field.js +2 -1
  149. package/dist/components/toggle-button.js +5 -7
  150. package/dist/components/tooltip.js +3 -3
  151. package/dist/components/typeset.js +128 -123
  152. package/dist/components/youtube-embed.js +2 -1
  153. package/dist/docs/anchor-heading.d.ts +41 -0
  154. package/dist/docs/anchor-heading.js +62 -0
  155. package/dist/docs/callout.d.ts +46 -0
  156. package/dist/docs/callout.js +61 -0
  157. package/dist/docs/code-block.d.ts +74 -0
  158. package/dist/docs/code-block.js +322 -0
  159. package/dist/docs/code-tabs-sync.d.ts +26 -0
  160. package/dist/docs/code-tabs-sync.js +12 -0
  161. package/dist/docs/code-tabs.d.ts +53 -0
  162. package/dist/docs/code-tabs.js +102 -0
  163. package/dist/docs/copy-button.d.ts +31 -0
  164. package/dist/docs/copy-button.js +49 -0
  165. package/dist/docs/docs-feedback.d.ts +55 -0
  166. package/dist/docs/docs-feedback.js +72 -0
  167. package/dist/docs/docs-footer.d.ts +40 -0
  168. package/dist/docs/docs-footer.js +45 -0
  169. package/dist/docs/docs-hub.d.ts +93 -0
  170. package/dist/docs/docs-hub.js +142 -0
  171. package/dist/docs/docs-layout.d.ts +90 -0
  172. package/dist/docs/docs-layout.js +166 -0
  173. package/dist/docs/docs-nav-tools.d.ts +25 -0
  174. package/dist/docs/docs-nav-tools.js +14 -0
  175. package/dist/docs/docs-nav.d.ts +53 -0
  176. package/dist/docs/docs-nav.js +76 -0
  177. package/dist/docs/docs-not-found.d.ts +68 -0
  178. package/dist/docs/docs-not-found.js +100 -0
  179. package/dist/docs/docs-page-header.d.ts +55 -0
  180. package/dist/docs/docs-page-header.js +54 -0
  181. package/dist/docs/docs-pager.d.ts +46 -0
  182. package/dist/docs/docs-pager.js +74 -0
  183. package/dist/docs/file-tree.d.ts +57 -0
  184. package/dist/docs/file-tree.js +142 -0
  185. package/dist/docs/index.d.ts +38 -0
  186. package/dist/docs/index.js +38 -0
  187. package/dist/docs/install-command.d.ts +54 -0
  188. package/dist/docs/install-command.js +33 -0
  189. package/dist/docs/mixins/code-tabs-sync.d.ts +47 -0
  190. package/dist/docs/mixins/code-tabs-sync.js +137 -0
  191. package/dist/docs/mixins/copy-feedback.d.ts +25 -0
  192. package/dist/docs/mixins/copy-feedback.js +49 -0
  193. package/dist/docs/mixins/copy-from-url.d.ts +27 -0
  194. package/dist/docs/mixins/copy-from-url.js +95 -0
  195. package/dist/docs/mixins/docs-nav-tools.d.ts +27 -0
  196. package/dist/docs/mixins/docs-nav-tools.js +97 -0
  197. package/dist/docs/mixins/toc-spy.d.ts +30 -0
  198. package/dist/docs/mixins/toc-spy.js +165 -0
  199. package/dist/docs/next-steps.d.ts +45 -0
  200. package/dist/docs/next-steps.js +79 -0
  201. package/dist/docs/page-actions.d.ts +77 -0
  202. package/dist/docs/page-actions.js +78 -0
  203. package/dist/docs/plan-notice.d.ts +28 -0
  204. package/dist/docs/plan-notice.js +33 -0
  205. package/dist/docs/props-table.d.ts +64 -0
  206. package/dist/docs/props-table.js +147 -0
  207. package/dist/docs/steps.d.ts +51 -0
  208. package/dist/docs/steps.js +112 -0
  209. package/dist/docs/table-of-contents.d.ts +49 -0
  210. package/dist/docs/table-of-contents.js +139 -0
  211. package/dist/docs/ui-label.d.ts +51 -0
  212. package/dist/docs/ui-label.js +64 -0
  213. package/dist/docs/utils/docs-tree.d.ts +81 -0
  214. package/dist/docs/utils/docs-tree.js +57 -0
  215. package/dist/docs/utils/reveal-in-scroller.d.ts +19 -0
  216. package/dist/docs/utils/reveal-in-scroller.js +43 -0
  217. package/dist/landing/accent-text.d.ts +47 -0
  218. package/dist/landing/accent-text.js +107 -0
  219. package/dist/landing/animations/entrance.d.ts +40 -0
  220. package/dist/landing/animations/entrance.js +52 -0
  221. package/dist/landing/announcement-chip.d.ts +45 -0
  222. package/dist/landing/announcement-chip.js +36 -0
  223. package/dist/landing/author-band.d.ts +78 -0
  224. package/dist/landing/author-band.js +190 -0
  225. package/dist/landing/bento.d.ts +99 -0
  226. package/dist/landing/bento.js +138 -0
  227. package/dist/landing/changelog-strip.d.ts +74 -0
  228. package/dist/landing/changelog-strip.js +201 -0
  229. package/dist/{patterns → landing}/check-row.js +5 -7
  230. package/dist/{patterns → landing}/closing-cta.d.ts +4 -4
  231. package/dist/{patterns → landing}/closing-cta.js +8 -8
  232. package/dist/landing/code-stage.d.ts +93 -0
  233. package/dist/landing/code-stage.js +434 -0
  234. package/dist/landing/crosshair.d.ts +44 -0
  235. package/dist/landing/crosshair.js +48 -0
  236. package/dist/landing/curriculum.d.ts +79 -0
  237. package/dist/landing/curriculum.js +194 -0
  238. package/dist/landing/drawn-chart.d.ts +74 -0
  239. package/dist/landing/drawn-chart.js +377 -0
  240. package/dist/landing/event-ticker.d.ts +71 -0
  241. package/dist/landing/event-ticker.js +331 -0
  242. package/dist/landing/fan-out-diagram.d.ts +70 -0
  243. package/dist/landing/fan-out-diagram.js +481 -0
  244. package/dist/{patterns → landing}/faq-band.d.ts +7 -5
  245. package/dist/{patterns → landing}/faq-band.js +11 -12
  246. package/dist/landing/feature-band.d.ts +108 -0
  247. package/dist/landing/feature-band.js +67 -0
  248. package/dist/landing/feature.d.ts +148 -0
  249. package/dist/landing/feature.js +219 -0
  250. package/dist/landing/flow-diagram.d.ts +62 -0
  251. package/dist/landing/flow-diagram.js +240 -0
  252. package/dist/{patterns → landing}/icon-well.d.ts +17 -7
  253. package/dist/landing/icon-well.js +31 -0
  254. package/dist/landing/index.d.ts +52 -0
  255. package/dist/landing/index.js +52 -0
  256. package/dist/{patterns → landing}/install-tabs.js +4 -5
  257. package/dist/landing/landing-header.d.ts +103 -0
  258. package/dist/landing/landing-header.js +110 -0
  259. package/dist/landing/landing-hero.d.ts +119 -0
  260. package/dist/landing/landing-hero.js +172 -0
  261. package/dist/landing/landing-section.d.ts +110 -0
  262. package/dist/landing/landing-section.js +183 -0
  263. package/dist/landing/logo-cloud.d.ts +56 -0
  264. package/dist/landing/logo-cloud.js +160 -0
  265. package/dist/landing/logo-sentence.d.ts +38 -0
  266. package/dist/landing/logo-sentence.js +51 -0
  267. package/dist/landing/marquee.d.ts +44 -0
  268. package/dist/landing/marquee.js +97 -0
  269. package/dist/landing/motion-loop.d.ts +43 -0
  270. package/dist/landing/motion-loop.js +42 -0
  271. package/dist/landing/pricing-band.d.ts +94 -0
  272. package/dist/landing/pricing-band.js +151 -0
  273. package/dist/landing/product-frame.d.ts +108 -0
  274. package/dist/landing/product-frame.js +202 -0
  275. package/dist/{patterns → landing}/proof-strip.d.ts +4 -4
  276. package/dist/{patterns → landing}/proof-strip.js +3 -3
  277. package/dist/landing/rails.d.ts +45 -0
  278. package/dist/landing/rails.js +69 -0
  279. package/dist/landing/rotating-text.d.ts +44 -0
  280. package/dist/landing/rotating-text.js +67 -0
  281. package/dist/landing/segmented-stage.d.ts +75 -0
  282. package/dist/landing/segmented-stage.js +141 -0
  283. package/dist/landing/sequence-diagram.d.ts +65 -0
  284. package/dist/landing/sequence-diagram.js +348 -0
  285. package/dist/landing/site-footer.d.ts +100 -0
  286. package/dist/landing/site-footer.js +274 -0
  287. package/dist/landing/site-header.d.ts +126 -0
  288. package/dist/landing/site-header.js +595 -0
  289. package/dist/{components → landing}/split.d.ts +14 -4
  290. package/dist/{components → landing}/split.js +30 -21
  291. package/dist/landing/sponsor-wall.d.ts +81 -0
  292. package/dist/landing/sponsor-wall.js +241 -0
  293. package/dist/{components → landing}/stat-strip.d.ts +31 -4
  294. package/dist/landing/stat-strip.js +105 -0
  295. package/dist/landing/step-list.d.ts +73 -0
  296. package/dist/landing/step-list.js +182 -0
  297. package/dist/landing/styles/card-grid.d.ts +115 -0
  298. package/dist/landing/styles/card-grid.js +295 -0
  299. package/dist/{patterns → landing}/tabbed-stage.d.ts +26 -8
  300. package/dist/landing/tabbed-stage.js +233 -0
  301. package/dist/landing/testimonial-band.d.ts +110 -0
  302. package/dist/landing/testimonial-band.js +164 -0
  303. package/dist/landing/typed-terminal.d.ts +62 -0
  304. package/dist/landing/typed-terminal.js +233 -0
  305. package/dist/landing/utils/pause-toggle.d.ts +37 -0
  306. package/dist/landing/utils/pause-toggle.js +71 -0
  307. package/dist/mixins/copy-to-clipboard.d.ts +6 -0
  308. package/dist/mixins/copy-to-clipboard.js +17 -1
  309. package/dist/mixins/dialog-dismiss.d.ts +21 -0
  310. package/dist/mixins/dialog-dismiss.js +62 -0
  311. package/dist/mixins/index.d.ts +2 -15
  312. package/dist/mixins/index.js +2 -15
  313. package/dist/styles/index.d.ts +2 -5
  314. package/dist/styles/index.js +2 -5
  315. package/dist/styles/landing.d.ts +200 -0
  316. package/dist/styles/landing.js +516 -0
  317. package/dist/styles/surface-control.d.ts +18 -0
  318. package/dist/styles/surface-control.js +31 -0
  319. package/dist/utils/eyebrow.d.ts +39 -0
  320. package/dist/utils/eyebrow.js +21 -0
  321. package/dist/utils/index.d.ts +1 -5
  322. package/dist/utils/index.js +1 -5
  323. package/package.json +14 -4
  324. package/src/theme.css +87 -22
  325. package/dist/components/feature.d.ts +0 -102
  326. package/dist/components/feature.js +0 -151
  327. package/dist/components/logo-cloud.d.ts +0 -42
  328. package/dist/components/logo-cloud.js +0 -41
  329. package/dist/components/marketing-header.d.ts +0 -71
  330. package/dist/components/marketing-header.js +0 -81
  331. package/dist/components/marketing-section.d.ts +0 -81
  332. package/dist/components/marketing-section.js +0 -103
  333. package/dist/components/stat-strip.js +0 -64
  334. package/dist/patterns/accent-text.d.ts +0 -30
  335. package/dist/patterns/accent-text.js +0 -17
  336. package/dist/patterns/announcement-chip.d.ts +0 -41
  337. package/dist/patterns/announcement-chip.js +0 -49
  338. package/dist/patterns/bento.d.ts +0 -67
  339. package/dist/patterns/bento.js +0 -95
  340. package/dist/patterns/code-stage.d.ts +0 -63
  341. package/dist/patterns/code-stage.js +0 -82
  342. package/dist/patterns/feature-band.d.ts +0 -85
  343. package/dist/patterns/feature-band.js +0 -50
  344. package/dist/patterns/icon-well.js +0 -38
  345. package/dist/patterns/index.d.ts +0 -23
  346. package/dist/patterns/index.js +0 -23
  347. package/dist/patterns/landing-hero.d.ts +0 -93
  348. package/dist/patterns/landing-hero.js +0 -126
  349. package/dist/patterns/product-frame.d.ts +0 -60
  350. package/dist/patterns/product-frame.js +0 -70
  351. package/dist/patterns/step-list.d.ts +0 -45
  352. package/dist/patterns/step-list.js +0 -84
  353. package/dist/patterns/tabbed-stage.js +0 -77
  354. package/dist/styles/marketing.d.ts +0 -120
  355. package/dist/styles/marketing.js +0 -225
  356. package/dist/utils/semantic-color-panel.d.ts +0 -35
  357. package/dist/utils/semantic-color-panel.js +0 -28
  358. /package/dist/{behaviors → app/behaviors}/drag-session.d.ts +0 -0
  359. /package/dist/{behaviors → app/behaviors}/resize-session.d.ts +0 -0
  360. /package/dist/{behaviors → app/behaviors}/resize-session.js +0 -0
  361. /package/dist/{behaviors → app/behaviors}/selection-model.d.ts +0 -0
  362. /package/dist/{behaviors → app/behaviors}/selection-model.js +0 -0
  363. /package/dist/{behaviors → app/behaviors}/toaster.d.ts +0 -0
  364. /package/dist/{components → app}/drop-indicator.d.ts +0 -0
  365. /package/dist/{components → app}/drop-zone.d.ts +0 -0
  366. /package/dist/{components → app}/file-trigger.d.ts +0 -0
  367. /package/dist/{components → app}/menubar.d.ts +0 -0
  368. /package/dist/{mixins → app/mixins}/chart-tooltip.d.ts +0 -0
  369. /package/dist/{mixins → app/mixins}/chart-tooltip.js +0 -0
  370. /package/dist/{mixins → app/mixins}/context-menu.d.ts +0 -0
  371. /package/dist/{mixins → app/mixins}/context-menu.js +0 -0
  372. /package/dist/{mixins → app/mixins}/drag-reorder.d.ts +0 -0
  373. /package/dist/{mixins → app/mixins}/drop-zone.d.ts +0 -0
  374. /package/dist/{mixins → app/mixins}/grid-list-keys.d.ts +0 -0
  375. /package/dist/{mixins → app/mixins}/menubar-keys.d.ts +0 -0
  376. /package/dist/{mixins → app/mixins}/resize-handle.d.ts +0 -0
  377. /package/dist/{mixins/treeKeys.d.ts → app/mixins/tree-keys.d.ts} +0 -0
  378. /package/dist/{components → app}/resizable.d.ts +0 -0
  379. /package/dist/{components → app}/shortcut-list.d.ts +0 -0
  380. /package/dist/{components → app}/skeleton.d.ts +0 -0
  381. /package/dist/{styles → app/styles}/chart-palette.js +0 -0
  382. /package/dist/{styles → app/styles}/graphic-host.js +0 -0
  383. /package/dist/{styles → app/styles}/legend-toggle.js +0 -0
  384. /package/dist/{components → app}/table.d.ts +0 -0
  385. /package/dist/{components → app}/toast.d.ts +0 -0
  386. /package/dist/{components → app}/toolbar.d.ts +0 -0
  387. /package/dist/{utils → app/utils}/chart-marker-indices.d.ts +0 -0
  388. /package/dist/{utils → app/utils}/chart-marker-indices.js +0 -0
  389. /package/dist/{utils → app/utils}/chart-scale.d.ts +0 -0
  390. /package/dist/{behaviors → chat/behaviors}/scroll-follow-model.d.ts +0 -0
  391. /package/dist/{components → chat}/bubble.d.ts +0 -0
  392. /package/dist/{components → chat}/marker.d.ts +0 -0
  393. /package/dist/{components → chat}/message.d.ts +0 -0
  394. /package/dist/{mixins → chat/mixins}/attachment-trigger.d.ts +0 -0
  395. /package/dist/{mixins → chat/mixins}/attachment-trigger.js +0 -0
  396. /package/dist/{mixins → chat/mixins}/message-follow.d.ts +0 -0
  397. /package/dist/{components → color}/color-area.d.ts +0 -0
  398. /package/dist/{components → color}/color-field.d.ts +0 -0
  399. /package/dist/{components → color}/color-slider.d.ts +0 -0
  400. /package/dist/{components → color}/color-swatch-picker.d.ts +0 -0
  401. /package/dist/{components → color}/color-swatch.d.ts +0 -0
  402. /package/dist/{components → color}/color-wheel.d.ts +0 -0
  403. /package/dist/{mixins → color/mixins}/color-channel-sync.d.ts +0 -0
  404. /package/dist/{mixins → color/mixins}/color-channel-sync.js +0 -0
  405. /package/dist/{mixins → color/mixins}/color-preview.d.ts +0 -0
  406. /package/dist/{mixins → color/mixins}/color-wheel-drag.d.ts +0 -0
  407. /package/dist/{styles → color/styles}/rtl-aware-gradient-direction.js +0 -0
  408. /package/dist/{utils → color/utils}/hue-spectrum.d.ts +0 -0
  409. /package/dist/{utils → color/utils}/hue-spectrum.js +0 -0
  410. /package/dist/{patterns → landing}/check-row.d.ts +0 -0
  411. /package/dist/{patterns → landing}/install-tabs.d.ts +0 -0
@@ -2,7 +2,7 @@ import { jsx as _jsx } from "remix/component/jsx-runtime";
2
2
  import { ChevronRightIcon } from "@sdxc/icons";
3
3
  import { bg, fg, outline } from "@sdxc/u/color";
4
4
  import { opacity, rounded, transition, transitionDuration } from "@sdxc/u/effects";
5
- import { cursor, listStyle, raw } from "@sdxc/u/general";
5
+ import { cursor, listStyle, raw, mergeMix } from "@sdxc/u/general";
6
6
  import { center, hidden, hstack, interpolateSize, shrink, vstack } from "@sdxc/u/layout";
7
7
  import { clip } from "@sdxc/u/overflow";
8
8
  import { media } from "@sdxc/u/responsive";
@@ -11,10 +11,10 @@ import { detailsContent, when } from "@sdxc/u/state";
11
11
  import { rotate } from "@sdxc/u/transform";
12
12
  import { text } from "@sdxc/u/typography";
13
13
  import { attrs } from "remix/component";
14
+ import { SentinelRow } from "../components/sentinel-row.js";
14
15
  import { interactiveTransition } from "../styles/interactive-transition.js";
15
16
  import { panelChrome } from "../styles/panel-chrome.js";
16
17
  import { warnIfNoAccessibleLabel } from "../utils/warn-if-no-accessible-name.js";
17
- import { SentinelRow } from "./sentinel-row.js";
18
18
  /** `role="tree"` applied to {@link Tree} through {@link attrs} unless a consumer supplies its own `role`. */
19
19
  const DEFAULT_ROLE = "tree";
20
20
  /**
@@ -89,7 +89,7 @@ export function Tree(handle) {
89
89
  return () => {
90
90
  let { children, mix, ...rest } = handle.props;
91
91
  warnIfNoAccessibleLabel(handle.props, 'Tree: needs an "aria-label" or "aria-labelledby" describing its contents for assistive technology.');
92
- return (_jsx("div", { ...rest, mix: [
92
+ return (_jsx("div", { ...rest, mix: mergeMix([
93
93
  attrs({ role: DEFAULT_ROLE }),
94
94
  panelChrome(),
95
95
  when("&:focus-visible", outline({ color: "brand.ring", offset: 2 })),
@@ -98,8 +98,7 @@ export function Tree(handle) {
98
98
  pi(1),
99
99
  outline("none"),
100
100
  when("&[data-empty]", [center(), pb(8), fg("neutral.muted")]),
101
- mix,
102
- ], children: children }));
101
+ ], mix), children: children }));
103
102
  };
104
103
  }
105
104
  /**
@@ -133,7 +132,7 @@ function TreeItem(handle) {
133
132
  let ambient = readAmbientDepth(handle);
134
133
  let depth = ambient === undefined ? DEFAULT_DEPTH : ambient + 1;
135
134
  handle.context.set({ depth });
136
- return (_jsx("details", { ...rest, id: id, "data-rmx-key": id, mix: [
135
+ return (_jsx("details", { ...rest, id: id, "data-rmx-key": id, mix: mergeMix([
137
136
  attrs({ role: DEFAULT_ITEM_ROLE }),
138
137
  interpolateSize(),
139
138
  detailsContent([
@@ -153,8 +152,7 @@ function TreeItem(handle) {
153
152
  when("&[open]::details-content", bs("auto")),
154
153
  when(`&[open] > summary [data-slot="${DEFAULT_EXPAND_BUTTON_SLOT}"]`, rotate(90)),
155
154
  media("(prefers-reduced-motion: reduce)", detailsContent(transitionDuration("0s"))),
156
- mix,
157
- ], children: children }));
155
+ ], mix), children: children }));
158
156
  };
159
157
  }
160
158
  Tree.Item = TreeItem;
@@ -179,7 +177,7 @@ Tree.ItemContent = function TreeItemContent(handle) {
179
177
  return () => {
180
178
  let { children, mix, ...rest } = handle.props;
181
179
  let depth = readAmbientDepth(handle) ?? DEFAULT_DEPTH;
182
- return (_jsx("summary", { ...rest, mix: [
180
+ return (_jsx("summary", { ...rest, mix: mergeMix([
183
181
  interactiveTransition(),
184
182
  attrs({ role: DEFAULT_CONTENT_ROLE, "aria-level": depth + 1 }),
185
183
  hstack({ gap: 2, align: "center" }),
@@ -209,8 +207,7 @@ Tree.ItemContent = function TreeItemContent(handle) {
209
207
  when("&:focus", bg("neutral.bg-tint-hover")),
210
208
  when('&[aria-selected="true"]', bg("brand.tint")),
211
209
  when('&[aria-disabled="true"]', opacity(50)),
212
- mix,
213
- ], children: children }));
210
+ ], mix), children: children }));
214
211
  };
215
212
  };
216
213
  /**
@@ -243,7 +240,7 @@ Tree.LoadMoreItem = SentinelRow;
243
240
  Tree.ExpandButton = function TreeExpandButton(handle) {
244
241
  return () => {
245
242
  let { children, mix, ...rest } = handle.props;
246
- return (_jsx("span", { ...rest, mix: [
243
+ return (_jsx("span", { ...rest, mix: mergeMix([
247
244
  attrs({ "data-slot": DEFAULT_EXPAND_BUTTON_SLOT, "aria-hidden": "true" }),
248
245
  center(),
249
246
  is(5),
@@ -253,7 +250,6 @@ Tree.ExpandButton = function TreeExpandButton(handle) {
253
250
  transition("transform, background-color"),
254
251
  shrink(),
255
252
  media("(prefers-reduced-motion: reduce)", transitionDuration("0s")),
256
- mix,
257
- ], children: children ?? _jsx(ChevronRightIcon, { size: 16 }) }));
253
+ ], mix), children: children ?? _jsx(ChevronRightIcon, { size: 16 }) }));
258
254
  };
259
255
  };
@@ -10,7 +10,7 @@
10
10
  * @author [Sergio Xalambrí](https://sergiodxa.com)
11
11
  * @copyright Sergio Xalambrí 2026
12
12
  */
13
- import type { Point } from "./geometry.js";
13
+ import type { Point } from "../../utils/geometry.js";
14
14
  export type { Point };
15
15
  /**
16
16
  * Builds the `d` attribute for a connected polyline through `points`: a
@@ -10,8 +10,8 @@
10
10
  * @author [Sergio Xalambrí](https://sergiodxa.com)
11
11
  * @copyright Sergio Xalambrí 2026
12
12
  */
13
- import { FULL_TURN_RADIANS } from "./full-turn-radians.js";
14
- import { roundChannel } from "./round-precision.js";
13
+ import { FULL_TURN_RADIANS } from "../../utils/full-turn-radians.js";
14
+ import { roundChannel } from "../../utils/round-precision.js";
15
15
  /**
16
16
  * Builds the `d` attribute for a connected polyline through `points`: a
17
17
  * single move-to for the first point, followed by one line-to per remaining
@@ -9,7 +9,7 @@
9
9
  * @author [Sergio Xalambrí](https://sergiodxa.com)
10
10
  * @copyright Sergio Xalambrí 2026
11
11
  */
12
- import { FULL_TURN_RADIANS } from "./full-turn-radians.js";
12
+ import { FULL_TURN_RADIANS } from "../../utils/full-turn-radians.js";
13
13
  /**
14
14
  * Thresholds {@link niceStep} compares a candidate step's residual against
15
15
  * to choose a multiplier of 1, 2, 5, or 10 — the geometric midpoints between
@@ -8,9 +8,4 @@
8
8
  */
9
9
  export * from "./announcer.js";
10
10
  export * from "./calendar-model.js";
11
- export * from "./drag-session.js";
12
11
  export * from "./filter-model.js";
13
- export * from "./resize-session.js";
14
- export * from "./scroll-follow-model.js";
15
- export * from "./selection-model.js";
16
- export * from "./toaster.js";
@@ -8,9 +8,4 @@
8
8
  */
9
9
  export * from "./announcer.js";
10
10
  export * from "./calendar-model.js";
11
- export * from "./drag-session.js";
12
11
  export * from "./filter-model.js";
13
- export * from "./resize-session.js";
14
- export * from "./scroll-follow-model.js";
15
- export * from "./selection-model.js";
16
- export * from "./toaster.js";
@@ -8,7 +8,7 @@
8
8
  * @copyright Sergio Xalambrí 2026
9
9
  */
10
10
  import type { Handle, Props as TagProps, RemixNode } from "remix/component";
11
- import { Button } from "./button.js";
11
+ import { Button } from "../components/button.js";
12
12
  /**
13
13
  * Prop types for {@link Attachment} and its compound parts.
14
14
  */
@@ -2,7 +2,7 @@ import { jsx as _jsx } from "remix/component/jsx-runtime";
2
2
  import { iife } from "@sdxc/iife";
3
3
  import { bg, border, fg, outline } from "@sdxc/u/color";
4
4
  import { rounded, transition } from "@sdxc/u/effects";
5
- import { raw } from "@sdxc/u/general";
5
+ import { raw, mergeMix } from "@sdxc/u/general";
6
6
  import { basis, block, container, flex, flexCol, gap, grow, hstack, items, justify, relative, shrink, vstack, } from "@sdxc/u/layout";
7
7
  import { overflow, overflowX } from "@sdxc/u/overflow";
8
8
  import { media } from "@sdxc/u/responsive";
@@ -12,7 +12,7 @@ import { text, textAlign, truncate, weight } from "@sdxc/u/typography";
12
12
  import { attrs } from "remix/component";
13
13
  import { shimmer } from "../animations/keyframes.js";
14
14
  import { scrollFade } from "../animations/scroll.js";
15
- import { Button } from "./button.js";
15
+ import { Button } from "../components/button.js";
16
16
  const DEFAULT_STATE = "idle";
17
17
  /**
18
18
  * Named container {@link Attachment} declares on its own host, so
@@ -74,7 +74,7 @@ export function Attachment(handle) {
74
74
  let { state, children, mix, ...rest } = handle.props;
75
75
  let resolvedState = state ?? DEFAULT_STATE;
76
76
  let isBusy = resolvedState === "uploading" || resolvedState === "processing";
77
- return (_jsx("div", { ...rest, "data-slot": "attachment", "data-state": resolvedState, "aria-busy": isBusy ? "true" : undefined, mix: [
77
+ return (_jsx("div", { ...rest, "data-slot": "attachment", "data-state": resolvedState, "aria-busy": isBusy ? "true" : undefined, mix: mergeMix([
78
78
  relative(),
79
79
  rounded("lg"),
80
80
  border({ width: 1 }),
@@ -89,8 +89,7 @@ export function Attachment(handle) {
89
89
  bg("danger.tint"),
90
90
  fg("danger.emphasis"),
91
91
  ]),
92
- mix,
93
- ], children: _jsx("div", { "data-slot": "body", mix: [
92
+ ], mix), children: _jsx("div", { "data-slot": "body", mix: [
94
93
  hstack({ gap: 3, align: "center" }),
95
94
  when(NARROW_CONTAINER_QUERY, [flexCol(), items("stretch")]),
96
95
  ], children: children }) }));
@@ -111,7 +110,7 @@ export function Attachment(handle) {
111
110
  Attachment.Media = function AttachmentMedia(handle) {
112
111
  return () => {
113
112
  let { children, mix, ...rest } = handle.props;
114
- return (_jsx("div", { ...rest, "data-slot": "media", mix: [
113
+ return (_jsx("div", { ...rest, "data-slot": "media", mix: mergeMix([
115
114
  flex(),
116
115
  shrink(0),
117
116
  items("center"),
@@ -125,8 +124,7 @@ Attachment.Media = function AttachmentMedia(handle) {
125
124
  when("& > svg", [is(5), bs(5)]),
126
125
  when("& > img", [is("full"), bs("full"), fit("cover")]),
127
126
  when(NARROW_CONTAINER_QUERY, [is("full"), bs("auto"), aspect(4, 3), rounded("lg")]),
128
- mix,
129
- ], children: children }));
127
+ ], mix), children: children }));
130
128
  };
131
129
  };
132
130
  /**
@@ -145,15 +143,14 @@ Attachment.Media = function AttachmentMedia(handle) {
145
143
  Attachment.Content = function AttachmentContent(handle) {
146
144
  return () => {
147
145
  let { children, mix, ...rest } = handle.props;
148
- return (_jsx("div", { ...rest, "data-slot": "content", mix: [
146
+ return (_jsx("div", { ...rest, "data-slot": "content", mix: mergeMix([
149
147
  vstack({ gap: 0.5 }),
150
148
  minIs(0),
151
149
  grow(),
152
150
  shrink(1),
153
151
  basis("0%"),
154
152
  when(NARROW_CONTAINER_QUERY, textAlign("center")),
155
- mix,
156
- ], children: children }));
153
+ ], mix), children: children }));
157
154
  };
158
155
  };
159
156
  /**
@@ -171,7 +168,7 @@ Attachment.Content = function AttachmentContent(handle) {
171
168
  Attachment.Title = function AttachmentTitle(handle) {
172
169
  return () => {
173
170
  let { state, children, mix, ...rest } = handle.props;
174
- return (_jsx("p", { ...rest, "data-slot": "title", "data-state": state, mix: [
171
+ return (_jsx("p", { ...rest, "data-slot": "title", "data-state": state, mix: mergeMix([
175
172
  weight("semibold"),
176
173
  truncate(),
177
174
  text("sm"),
@@ -181,8 +178,7 @@ Attachment.Title = function AttachmentTitle(handle) {
181
178
  * as a loading cue and would leave every finished upload unnamed.
182
179
  */
183
180
  shimmer({ when: TITLE_SHIMMER_WHEN, outsideGate: "visible" }),
184
- mix,
185
- ], children: children }));
181
+ ], mix), children: children }));
186
182
  };
187
183
  };
188
184
  /**
@@ -200,7 +196,7 @@ Attachment.Title = function AttachmentTitle(handle) {
200
196
  Attachment.Description = function AttachmentDescription(handle) {
201
197
  return () => {
202
198
  let { children, mix, ...rest } = handle.props;
203
- return (_jsx("p", { ...rest, "data-slot": "description", mix: [truncate(), fg("neutral.muted"), text("xs"), mix], children: children }));
199
+ return (_jsx("p", { ...rest, "data-slot": "description", mix: mergeMix([truncate(), fg("neutral.muted"), text("xs")], mix), children: children }));
204
200
  };
205
201
  };
206
202
  /**
@@ -219,7 +215,7 @@ Attachment.Description = function AttachmentDescription(handle) {
219
215
  Attachment.Actions = function AttachmentActions(handle) {
220
216
  return () => {
221
217
  let { children, mix, ...rest } = handle.props;
222
- return (_jsx("div", { ...rest, "data-slot": "actions", mix: [flex(), shrink(0), items("center"), gap(1), mix], children: children }));
218
+ return (_jsx("div", { ...rest, "data-slot": "actions", mix: mergeMix([flex(), shrink(0), items("center"), gap(1)], mix), children: children }));
223
219
  };
224
220
  };
225
221
  /**
@@ -241,7 +237,7 @@ Attachment.Actions = function AttachmentActions(handle) {
241
237
  Attachment.Action = function AttachmentAction(handle) {
242
238
  return () => {
243
239
  let { color, variant, size, mix, ...rest } = handle.props;
244
- return (_jsx(Button, { color: color ?? DEFAULT_ACTION_COLOR, variant: variant ?? DEFAULT_ACTION_VARIANT, size: size ?? DEFAULT_ACTION_SIZE, ...rest, "data-slot": "action", mix: [shrink(0), mix] }));
240
+ return (_jsx(Button, { color: color ?? DEFAULT_ACTION_COLOR, variant: variant ?? DEFAULT_ACTION_VARIANT, size: size ?? DEFAULT_ACTION_SIZE, ...rest, "data-slot": "action", mix: mergeMix(shrink(0), mix) }));
245
241
  };
246
242
  };
247
243
  /**
@@ -285,15 +281,14 @@ Attachment.Trigger = function AttachmentTrigger(handle) {
285
281
  if (import.meta.env?.DEV && !isConfigured) {
286
282
  console.warn('Attachment.Trigger: rendered with neither "href" nor "commandfor" — nothing will happen once `attachmentTrigger()` handles an activation.');
287
283
  }
288
- return (_jsx("div", { ...rest, role: resolvedRole, tabIndex: resolvedTabIndex, "data-slot": "trigger", mix: [
284
+ return (_jsx("div", { ...rest, role: resolvedRole, tabIndex: resolvedTabIndex, "data-slot": "trigger", mix: mergeMix([
289
285
  attrs({ href, commandfor, command, target }),
290
286
  relative(),
291
287
  block(),
292
288
  rounded("inherit"),
293
289
  when("&[role]:hover", bg("neutral.bg-tint-hover")),
294
290
  when("&[role]:focus-visible", outline({ color: "brand.ring", offset: 2 })),
295
- mix,
296
- ], children: children }));
291
+ ], mix), children: children }));
297
292
  };
298
293
  };
299
294
  /**
@@ -313,7 +308,7 @@ Attachment.Trigger = function AttachmentTrigger(handle) {
313
308
  Attachment.Group = function AttachmentGroup(handle) {
314
309
  return () => {
315
310
  let { children, mix, ...rest } = handle.props;
316
- return (_jsx("div", { ...rest, "data-slot": "group", mix: [
311
+ return (_jsx("div", { ...rest, "data-slot": "group", mix: mergeMix([
317
312
  attrs({ tabIndex: DEFAULT_GROUP_TAB_INDEX }),
318
313
  flex(),
319
314
  gap(3),
@@ -327,7 +322,6 @@ Attachment.Group = function AttachmentGroup(handle) {
327
322
  when("& > *", [shrink(0), raw({ scrollSnapAlign: "start" })]),
328
323
  media("(prefers-reduced-motion: no-preference)", raw({ scrollBehavior: "smooth" })),
329
324
  scrollFade({ axis: "inline", size: GROUP_SCROLL_FADE_SIZE }),
330
- mix,
331
- ], children: children }));
325
+ ], mix), children: children }));
332
326
  };
333
327
  };
@@ -8,7 +8,7 @@
8
8
  * @copyright Sergio Xalambrí 2026
9
9
  */
10
10
  import { TypedEventTarget } from "remix/component";
11
- import { dispatchChange } from "../utils/dispatch-change.js";
11
+ import { dispatchChange } from "../../utils/dispatch-change.js";
12
12
  const DEFAULT_PINNED = true;
13
13
  const DEFAULT_ALIGN = "start";
14
14
  const DEFAULT_SMOOTH = true;
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "remix/component/jsx-runtime";
2
2
  import { bg, border, fg } from "@sdxc/u/color";
3
3
  import { rounded } from "@sdxc/u/effects";
4
- import { raw, vars } from "@sdxc/u/general";
4
+ import { raw, vars, mergeMix } from "@sdxc/u/general";
5
5
  import { block, flex, flexWrap, gap, items, vstack } from "@sdxc/u/layout";
6
6
  import { maxIs, mie, mis, pb, pbe, pi, width } from "@sdxc/u/size";
7
7
  import { data, when } from "@sdxc/u/state";
@@ -45,7 +45,7 @@ export function Bubble(handle) {
45
45
  let { variant, align, children, mix, ...rest } = handle.props;
46
46
  let resolvedVariant = variant ?? DEFAULT_VARIANT;
47
47
  let resolvedAlign = align ?? DEFAULT_ALIGN;
48
- return (_jsx("div", { ...rest, "data-slot": "bubble", "data-variant": resolvedVariant, "data-align": resolvedAlign, mix: [
48
+ return (_jsx("div", { ...rest, "data-slot": "bubble", "data-variant": resolvedVariant, "data-align": resolvedAlign, mix: mergeMix([
49
49
  block(),
50
50
  rounded("xl"),
51
51
  border({ width: 1 }),
@@ -63,7 +63,11 @@ export function Bubble(handle) {
63
63
  ]),
64
64
  data("variant", "default", [bg("brand.solid"), fg("brand.onSolid")]),
65
65
  data("variant", "secondary", [bg("neutral.solid"), fg("neutral.onSolid")]),
66
- data("variant", "muted", [bg("neutral.tint"), fg("neutral.emphasis"), border("neutral")]),
66
+ data("variant", "muted", [
67
+ bg("neutral.tint"),
68
+ fg("neutral.emphasis"),
69
+ border("neutral"),
70
+ ]),
67
71
  data("variant", "tinted", [bg("brand.tint"), fg("brand.emphasis"), border("brand")]),
68
72
  data("variant", "outline", [
69
73
  fg("neutral.emphasis"),
@@ -76,8 +80,7 @@ export function Bubble(handle) {
76
80
  border("transparent"),
77
81
  ]),
78
82
  data("variant", "destructive", [bg("danger.solid"), fg("danger.onSolid")]),
79
- mix,
80
- ], children: children }));
83
+ ], mix), children: children }));
81
84
  };
82
85
  }
83
86
  /**
@@ -111,7 +114,7 @@ export function Bubble(handle) {
111
114
  Bubble.Content = function BubbleContent(handle) {
112
115
  return () => {
113
116
  let { children, mix, ...rest } = handle.props;
114
- return (_jsx("div", { ...rest, "data-slot": "content", mix: [
117
+ return (_jsx("div", { ...rest, "data-slot": "content", mix: mergeMix([
115
118
  pb(2.5),
116
119
  pi(3.5),
117
120
  raw({
@@ -121,8 +124,7 @@ Bubble.Content = function BubbleContent(handle) {
121
124
  }),
122
125
  wordBreak("break-word"),
123
126
  pretty(),
124
- mix,
125
- ], children: children }));
127
+ ], mix), children: children }));
126
128
  };
127
129
  };
128
130
  /**
@@ -157,7 +159,7 @@ Bubble.Content = function BubbleContent(handle) {
157
159
  Bubble.Reactions = function BubbleReactions(handle) {
158
160
  return () => {
159
161
  let { children, mix, ...rest } = handle.props;
160
- return (_jsx("div", { ...rest, "data-slot": "reactions", mix: [
162
+ return (_jsx("div", { ...rest, "data-slot": "reactions", mix: mergeMix([
161
163
  attrs({ role: DEFAULT_REACTIONS_ROLE }),
162
164
  flex(),
163
165
  flexWrap("wrap"),
@@ -171,8 +173,7 @@ Bubble.Reactions = function BubbleReactions(handle) {
171
173
  pi(3.5),
172
174
  pbe(2.5),
173
175
  raw({ justifyContent: "var(--ui-bubble-reactions-justify, flex-start)" }),
174
- mix,
175
- ], children: children }));
176
+ ], mix), children: children }));
176
177
  };
177
178
  };
178
179
  /**
@@ -191,7 +192,7 @@ Bubble.Reactions = function BubbleReactions(handle) {
191
192
  Bubble.Group = function BubbleGroup(handle) {
192
193
  return () => {
193
194
  let { children, mix, ...rest } = handle.props;
194
- return (_jsx("div", { ...rest, "data-slot": "group", mix: [
195
+ return (_jsx("div", { ...rest, "data-slot": "group", mix: mergeMix([
195
196
  vstack({ gap: 0.5 }),
196
197
  when('& > [data-slot="bubble"]:not(:first-child)', [
197
198
  raw({
@@ -205,7 +206,6 @@ Bubble.Group = function BubbleGroup(handle) {
205
206
  borderEndEndRadius: "var(--ui-radius-xs, 0.125rem)",
206
207
  }),
207
208
  ]),
208
- mix,
209
- ], children: children }));
209
+ ], mix), children: children }));
210
210
  };
211
211
  };
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Barrel for `@sdxc/ui/chat`: the message log, its rows, bubbles, markers and
3
+ * attachments, with the helpers only they use. Each component also imports on its own
4
+ * as `@sdxc/ui/chat/<module>`.
5
+ *
6
+ * @author [Sergio Xalambrí](https://sergiodxa.com)
7
+ * @copyright Sergio Xalambrí 2026
8
+ */
9
+ export * from "./attachment.js";
10
+ export * from "./behaviors/scroll-follow-model.js";
11
+ export * from "./bubble.js";
12
+ export * from "./marker.js";
13
+ export * from "./message-scroller.js";
14
+ export * from "./message.js";
15
+ export * from "./mixins/attachment-trigger.js";
16
+ export * from "./mixins/message-follow.js";
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Barrel for `@sdxc/ui/chat`: the message log, its rows, bubbles, markers and
3
+ * attachments, with the helpers only they use. Each component also imports on its own
4
+ * as `@sdxc/ui/chat/<module>`.
5
+ *
6
+ * @author [Sergio Xalambrí](https://sergiodxa.com)
7
+ * @copyright Sergio Xalambrí 2026
8
+ */
9
+ export * from "./attachment.js";
10
+ export * from "./behaviors/scroll-follow-model.js";
11
+ export * from "./bubble.js";
12
+ export * from "./marker.js";
13
+ export * from "./message-scroller.js";
14
+ export * from "./message.js";
15
+ export * from "./mixins/attachment-trigger.js";
16
+ export * from "./mixins/message-follow.js";
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "remix/component/jsx-runtime";
2
2
  import { bg, border, fg } from "@sdxc/u/color";
3
3
  import { rounded } from "@sdxc/u/effects";
4
- import { pseudoContent } from "@sdxc/u/general";
4
+ import { pseudoContent, mergeMix } from "@sdxc/u/general";
5
5
  import { basis, center, gap, grow, inlineFlex, items, shrink } from "@sdxc/u/layout";
6
6
  import { bs, is, minIs, pb, pi } from "@sdxc/u/size";
7
7
  import { data, when } from "@sdxc/u/state";
@@ -60,7 +60,7 @@ export function Marker(handle) {
60
60
  let { variant, color, children, mix, ...rest } = handle.props;
61
61
  let resolvedVariant = variant ?? DEFAULT_VARIANT;
62
62
  let resolvedColor = color ?? DEFAULT_COLOR;
63
- return (_jsx("div", { "data-variant": resolvedVariant, "data-color": resolvedColor, ...rest, mix: [
63
+ return (_jsx("div", { "data-variant": resolvedVariant, "data-color": resolvedColor, ...rest, mix: mergeMix([
64
64
  resolvedVariant === "separator"
65
65
  ? attrs({
66
66
  role: DEFAULT_SEPARATOR_ROLE,
@@ -111,8 +111,7 @@ export function Marker(handle) {
111
111
  bs("var(--ui-separator-thickness, 1px)"),
112
112
  bg("neutral.border"),
113
113
  ])),
114
- mix,
115
- ], children: children }));
114
+ ], mix), children: children }));
116
115
  };
117
116
  }
118
117
  /**
@@ -132,15 +131,14 @@ export function Marker(handle) {
132
131
  Marker.Icon = function MarkerIcon(handle) {
133
132
  return () => {
134
133
  let { children, mix, ...rest } = handle.props;
135
- return (_jsx("span", { ...rest, mix: [
134
+ return (_jsx("span", { ...rest, mix: mergeMix([
136
135
  attrs({ "aria-hidden": DEFAULT_ICON_ARIA_HIDDEN }),
137
136
  inlineFlex(),
138
137
  shrink(),
139
138
  items("center"),
140
139
  fg("currentcolor"),
141
140
  when("& > svg", [is("1em"), bs("1em")]),
142
- mix,
143
- ], children: children }));
141
+ ], mix), children: children }));
144
142
  };
145
143
  };
146
144
  /**
@@ -158,6 +156,6 @@ Marker.Icon = function MarkerIcon(handle) {
158
156
  Marker.Content = function MarkerContent(handle) {
159
157
  return () => {
160
158
  let { mix, ...rest } = handle.props;
161
- return _jsx("span", { ...rest, mix: [minIs(0), mix] });
159
+ return _jsx("span", { ...rest, mix: mergeMix(minIs(0), mix) });
162
160
  };
163
161
  };
@@ -11,7 +11,7 @@
11
11
  * @copyright Sergio Xalambrí 2026
12
12
  */
13
13
  import type { Handle, Props as TagProps, RemixNode } from "remix/component";
14
- import { Button } from "./button.js";
14
+ import { Button } from "../components/button.js";
15
15
  /**
16
16
  * Prop types for {@link MessageScroller} and its compound parts.
17
17
  */
@@ -1,15 +1,15 @@
1
1
  import { jsx as _jsx } from "remix/component/jsx-runtime";
2
2
  import { border } from "@sdxc/u/color";
3
3
  import { rounded, shadow } from "@sdxc/u/effects";
4
- import { raw } from "@sdxc/u/general";
4
+ import { raw, mergeMix } from "@sdxc/u/general";
5
5
  import { absolute, container, flex, flexCol, gap, insIe, insIs, inset, justify, relative, } from "@sdxc/u/layout";
6
6
  import { pb, pi } from "@sdxc/u/size";
7
7
  import { z } from "@sdxc/u/stacking";
8
8
  import { when } from "@sdxc/u/state";
9
9
  import { translateProperty } from "@sdxc/u/transform";
10
10
  import { attrs } from "remix/component";
11
- import { Button } from "./button.js";
12
- import { ScrollArea } from "./scroll-area.js";
11
+ import { Button } from "../components/button.js";
12
+ import { ScrollArea } from "../components/scroll-area.js";
13
13
  /**
14
14
  * Named container {@link MessageScroller} declares on its own host, so
15
15
  * {@link MessageScroller.Button} can size its own placement to the
@@ -73,13 +73,12 @@ const DEFAULT_BUTTON_HIDDEN = true;
73
73
  export function MessageScroller(handle) {
74
74
  return () => {
75
75
  let { children, mix, ...rest } = handle.props;
76
- return (_jsx("div", { ...rest, "data-slot": "message-scroller", mix: [
76
+ return (_jsx("div", { ...rest, "data-slot": "message-scroller", mix: mergeMix([
77
77
  rounded("lg"),
78
78
  border({ color: "neutral", width: 1 }),
79
79
  relative(),
80
80
  container(CONTAINER_NAME),
81
- mix,
82
- ], children: children }));
81
+ ], mix), children: children }));
83
82
  };
84
83
  }
85
84
  /**
@@ -115,15 +114,14 @@ MessageScroller.Viewport = function MessageScrollerViewport(handle) {
115
114
  MessageScroller.Content = function MessageScrollerContent(handle) {
116
115
  return () => {
117
116
  let { children, mix, ...rest } = handle.props;
118
- return (_jsx("div", { ...rest, "data-slot": "content", mix: [
117
+ return (_jsx("div", { ...rest, "data-slot": "content", mix: mergeMix([
119
118
  attrs({ role: DEFAULT_CONTENT_ROLE, "aria-relevant": DEFAULT_CONTENT_ARIA_RELEVANT }),
120
119
  flex(),
121
120
  flexCol(),
122
121
  gap(4),
123
122
  pb(4),
124
123
  pi(4),
125
- mix,
126
- ], children: children }));
124
+ ], mix), children: children }));
127
125
  };
128
126
  };
129
127
  /**
@@ -144,12 +142,9 @@ MessageScroller.Item = function MessageScrollerItem(handle) {
144
142
  if (import.meta.env?.DEV && !messageId) {
145
143
  console.warn('MessageScroller.Item: needs a "messageId" — a scroll-follow behavior matches rows against this instead of parsing rendered children.');
146
144
  }
147
- return (_jsx("div", { ...rest, "data-slot": "item", "data-message-id": messageId, "data-scroll-anchor": scrollAnchor || undefined, mix: [
148
- raw({
149
- scrollMarginBlockStart: "var(--ui-message-scroller-anchor-offset, 0px)",
150
- }),
151
- mix,
152
- ], children: children }));
145
+ return (_jsx("div", { ...rest, "data-slot": "item", "data-message-id": messageId, "data-scroll-anchor": scrollAnchor || undefined, mix: mergeMix(raw({
146
+ scrollMarginBlockStart: "var(--ui-message-scroller-anchor-offset, 0px)",
147
+ }), mix), children: children }));
153
148
  };
154
149
  };
155
150
  /**
@@ -167,7 +162,7 @@ MessageScroller.Item = function MessageScrollerItem(handle) {
167
162
  MessageScroller.Button = function MessageScrollerButton(handle) {
168
163
  return () => {
169
164
  let { hidden, color, variant, size, mix, ...rest } = handle.props;
170
- return (_jsx(Button, { ...rest, type: "button", color: color ?? DEFAULT_BUTTON_COLOR, variant: variant ?? DEFAULT_BUTTON_VARIANT, size: size ?? DEFAULT_BUTTON_SIZE, hidden: hidden ?? DEFAULT_BUTTON_HIDDEN, "data-slot": "jump-button", mix: [
165
+ return (_jsx(Button, { ...rest, type: "button", color: color ?? DEFAULT_BUTTON_COLOR, variant: variant ?? DEFAULT_BUTTON_VARIANT, size: size ?? DEFAULT_BUTTON_SIZE, hidden: hidden ?? DEFAULT_BUTTON_HIDDEN, "data-slot": "jump-button", mix: mergeMix([
171
166
  z(1),
172
167
  absolute(),
173
168
  inset("auto", "auto", "1rem", "50%"),
@@ -185,7 +180,6 @@ MessageScroller.Button = function MessageScrollerButton(handle) {
185
180
  insIe("1rem"),
186
181
  translateProperty("0 0"),
187
182
  ]),
188
- mix,
189
- ] }));
183
+ ], mix) }));
190
184
  };
191
185
  };