@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
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "remix/component/jsx-runtime";
2
2
  import { bg, border, fg, outline } from "@sdxc/u/color";
3
3
  import { opacity, rounded } from "@sdxc/u/effects";
4
- import { cursor, raw, userSelect } from "@sdxc/u/general";
4
+ import { cursor, raw, userSelect, mergeMix } from "@sdxc/u/general";
5
5
  import { flex, gap, inlineFlex, items } from "@sdxc/u/layout";
6
6
  import { p, pb, pi } from "@sdxc/u/size";
7
7
  import { active, disabled, hover, when } from "@sdxc/u/state";
@@ -61,7 +61,7 @@ export function Menubar(handle) {
61
61
  return () => {
62
62
  let { mix, ...rest } = handle.props;
63
63
  warnIfNoAccessibleLabel(handle.props, 'Menubar: needs an "aria-label" or "aria-labelledby" identifying this menu bar for assistive technology.');
64
- return (_jsx("div", { ...rest, mix: [
64
+ return (_jsx("div", { ...rest, mix: mergeMix([
65
65
  attrs({ role: DEFAULT_ROLE }),
66
66
  flex(),
67
67
  items("center"),
@@ -70,8 +70,7 @@ export function Menubar(handle) {
70
70
  border({ color: "neutral", width: 1 }),
71
71
  bg("neutral.tint"),
72
72
  p(surfacePadding(1)),
73
- mix,
74
- ] }));
73
+ ], mix) }));
75
74
  };
76
75
  }
77
76
  /**
@@ -94,7 +93,7 @@ Menubar.Trigger = function MenubarTrigger(handle) {
94
93
  let resolvedType = type ?? DEFAULT_TRIGGER_TYPE;
95
94
  let resolvedCommand = command ?? DEFAULT_TRIGGER_COMMAND;
96
95
  warnIfNoAccessibleName(handle.props, children, "Menubar.Trigger: a trigger with no visible text needs an `aria-label` describing it — assistive technology has no accessible name to announce otherwise.");
97
- return (_jsx("button", { type: resolvedType, command: resolvedCommand, ...rest, mix: [
96
+ return (_jsx("button", { type: resolvedType, command: resolvedCommand, ...rest, mix: mergeMix([
98
97
  interactiveTransition(),
99
98
  attrs({ role: DEFAULT_TRIGGER_ROLE, "aria-haspopup": "menu" }),
100
99
  inlineFlex(),
@@ -113,7 +112,6 @@ Menubar.Trigger = function MenubarTrigger(handle) {
113
112
  weight(500),
114
113
  userSelect(),
115
114
  text("sm"),
116
- mix,
117
- ], children: children }));
115
+ ], mix), children: children }));
118
116
  };
119
117
  };
@@ -8,7 +8,7 @@
8
8
  * @copyright Sergio Xalambrí 2026
9
9
  */
10
10
  import { createElement, createMixin, on } from "remix/component";
11
- import { whileLive } from "./while-live.js";
11
+ import { whileLive } from "../../mixins/while-live.js";
12
12
  /**
13
13
  * Attribute every reorderable row carries its stable identity on, read by
14
14
  * {@link dragReorder} to resolve the row under the pointer and shared by
@@ -8,7 +8,7 @@
8
8
  * @copyright Sergio Xalambrí 2026
9
9
  */
10
10
  import { createElement, createMixin, on } from "remix/component";
11
- import { whileLive } from "./while-live.js";
11
+ import { whileLive } from "../../mixins/while-live.js";
12
12
  /**
13
13
  * `data-*` attribute {@link dropZone} toggles on its host while a file
14
14
  * drag from outside the page hovers over it, so a DropZone's styling can
@@ -8,8 +8,8 @@
8
8
  * @copyright Sergio Xalambrí 2026
9
9
  */
10
10
  import { createElement, createMixin, on } from "remix/component";
11
- import { DISABLED_SELECTOR } from "../utils/disabled-selector.js";
12
- import { whileLive } from "./while-live.js";
11
+ import { whileLive } from "../../mixins/while-live.js";
12
+ import { DISABLED_SELECTOR } from "../../utils/disabled-selector.js";
13
13
  /**
14
14
  * Attribute every GridList row exposes its {@link SelectionModel.Key} on;
15
15
  * `gridListKeys()` correlates a row with the key `SelectionModel` tracks its
@@ -12,8 +12,8 @@
12
12
  * @copyright Sergio Xalambrí 2026
13
13
  */
14
14
  import { createMixin, ref } from "remix/component";
15
- import { DISABLED_SELECTOR } from "../utils/disabled-selector.js";
16
- import { focusItem as focusTrigger, isPrintableKey, labelFor, queryItems as queryMenuItems, setRovingTabindex, } from "../utils/keyboard-nav.js";
15
+ import { DISABLED_SELECTOR } from "../../utils/disabled-selector.js";
16
+ import { focusItem as focusTrigger, isPrintableKey, labelFor, queryItems as queryMenuItems, setRovingTabindex, } from "../../utils/keyboard-nav.js";
17
17
  /**
18
18
  * Selector matching a top-level trigger's role, evaluated against the row's
19
19
  * direct children only.
@@ -13,9 +13,9 @@
13
13
  * @copyright Sergio Xalambrí 2026
14
14
  */
15
15
  import { createElement, createMixin, on } from "remix/component";
16
- import { isNewPrimaryPress } from "../utils/is-new-primary-press.js";
17
- import { trackHostNode } from "./track-host-node.js";
18
- import { whileLive } from "./while-live.js";
16
+ import { trackHostNode } from "../../mixins/track-host-node.js";
17
+ import { whileLive } from "../../mixins/while-live.js";
18
+ import { isNewPrimaryPress } from "../../utils/is-new-primary-press.js";
19
19
  /**
20
20
  * Attribute a Resizable panel group's own host element carries.
21
21
  * `resizeHandle()` walks up to the nearest ancestor carrying it to find the
@@ -10,8 +10,8 @@
10
10
  * @copyright Sergio Xalambrí 2026
11
11
  */
12
12
  import { createElement, createMixin, on } from "remix/component";
13
- import { isPrintableKey, labelFor, setRovingTabindex } from "../utils/keyboard-nav.js";
14
- import { whileLive } from "./while-live.js";
13
+ import { whileLive } from "../../mixins/while-live.js";
14
+ import { isPrintableKey, labelFor, setRovingTabindex } from "../../utils/keyboard-nav.js";
15
15
  /**
16
16
  * Attribute every Tree row exposes itself on; its value doubles as the
17
17
  * `SelectionModel.Key` {@link treeKeys} toggles, ranges over, and mirrors
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "remix/component/jsx-runtime";
2
2
  import { bg, border, fg, outline, outlineStyle } from "@sdxc/u/color";
3
3
  import { opacity, rounded } from "@sdxc/u/effects";
4
- import { cursor, pseudoContent, touchAction, userSelect } from "@sdxc/u/general";
4
+ import { cursor, pseudoContent, touchAction, userSelect, mergeMix } from "@sdxc/u/general";
5
5
  import { basis, flex, flexCol, flexRow, grow, items, justify, relative, shrink, } from "@sdxc/u/layout";
6
6
  import { overflow } from "@sdxc/u/overflow";
7
7
  import { bs, is, maxBs, maxIs, minBs, minIs } from "@sdxc/u/size";
@@ -48,7 +48,7 @@ export function Resizable(handle) {
48
48
  let { orientation, mix, ...rest } = handle.props;
49
49
  let resolvedOrientation = orientation ?? DEFAULT_ORIENTATION;
50
50
  handle.context.set({ orientation: resolvedOrientation });
51
- return (_jsx("div", { "data-orientation": resolvedOrientation, ...rest, mix: [
51
+ return (_jsx("div", { "data-orientation": resolvedOrientation, ...rest, mix: mergeMix([
52
52
  flex(),
53
53
  flexRow(),
54
54
  is("full"),
@@ -58,8 +58,7 @@ export function Resizable(handle) {
58
58
  rounded("lg"),
59
59
  border({ color: "neutral", width: 1 }),
60
60
  bg("neutral.tint"),
61
- mix,
62
- ] }));
61
+ ], mix) }));
63
62
  };
64
63
  }
65
64
  /**
@@ -83,7 +82,7 @@ Resizable.Panel = function ResizablePanel(handle) {
83
82
  "--ui-resizable-panel-min-size": minSize == null ? null : `${minSize}%`,
84
83
  "--ui-resizable-panel-max-size": maxSize == null ? null : `${maxSize}%`,
85
84
  });
86
- return (_jsx("div", { "data-orientation": context.orientation, "data-default-size": defaultSize, "data-min-size": minSize, "data-max-size": maxSize, ...rest, style: resolvedStyle, mix: [
85
+ return (_jsx("div", { "data-orientation": context.orientation, "data-default-size": defaultSize, "data-min-size": minSize, "data-max-size": maxSize, ...rest, style: resolvedStyle, mix: mergeMix([
87
86
  grow(),
88
87
  shrink(1),
89
88
  basis("var(--ui-resizable-panel-size, 0%)"),
@@ -98,8 +97,7 @@ Resizable.Panel = function ResizablePanel(handle) {
98
97
  maxBs("var(--ui-resizable-panel-max-size, 100%)"),
99
98
  ]),
100
99
  overflow("auto"),
101
- mix,
102
- ] }));
100
+ ], mix) }));
103
101
  };
104
102
  };
105
103
  /**
@@ -121,7 +119,7 @@ Resizable.Handle = function ResizableHandle(handle) {
121
119
  if (import.meta.env?.DEV && !rest["aria-label"] && !rest["aria-labelledby"]) {
122
120
  console.warn("Resizable.Handle: a resize handle with no `aria-label` or `aria-labelledby` needs one describing what it resizes — assistive technology has no accessible name to announce otherwise.");
123
121
  }
124
- return (_jsx("div", { "data-orientation": context.orientation, "aria-orientation": context.orientation, ...rest, mix: [
122
+ return (_jsx("div", { "data-orientation": context.orientation, "aria-orientation": context.orientation, ...rest, mix: mergeMix([
125
123
  attrs({ role: DEFAULT_HANDLE_ROLE, tabIndex: DEFAULT_HANDLE_TAB_INDEX }),
126
124
  relative(),
127
125
  flex(),
@@ -150,7 +148,6 @@ Resizable.Handle = function ResizableHandle(handle) {
150
148
  * over the panels' edges, leaving the layout and the drawn line unchanged.
151
149
  */
152
150
  hitArea(),
153
- mix,
154
- ] }));
151
+ ], mix) }));
155
152
  };
156
153
  };
@@ -1,9 +1,10 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "remix/component/jsx-runtime";
2
2
  import { fg } from "@sdxc/u/color";
3
+ import { mergeMix } from "@sdxc/u/general";
3
4
  import { contents, flex, gap, grid, gridTemplate, items, justify } from "@sdxc/u/layout";
4
5
  import { m } from "@sdxc/u/size";
5
6
  import { pretty, text, weight } from "@sdxc/u/typography";
6
- import { Keyboard } from "./keyboard.js";
7
+ import { Keyboard } from "../components/keyboard.js";
7
8
  /**
8
9
  * Renders the list's host `<dl>`, a two-column grid whose first column takes the actions
9
10
  * and whose second sizes itself to the widest run of caps.
@@ -19,7 +20,7 @@ import { Keyboard } from "./keyboard.js";
19
20
  export function ShortcutList(handle) {
20
21
  return () => {
21
22
  let { children, mix, ...rest } = handle.props;
22
- return (_jsx("dl", { ...rest, "data-slot": "shortcut-list", mix: [m(0), grid(), gap(2, 4), items("center"), gridTemplate({ columns: "1fr auto" }), mix], children: children }));
23
+ return (_jsx("dl", { ...rest, "data-slot": "shortcut-list", mix: mergeMix([m(0), grid(), gap(2, 4), items("center"), gridTemplate({ columns: "1fr auto" })], mix), children: children }));
23
24
  };
24
25
  }
25
26
  /**
@@ -34,6 +35,6 @@ export function ShortcutList(handle) {
34
35
  ShortcutList.Item = function ShortcutListItem(handle) {
35
36
  return () => {
36
37
  let { children, keys, mix, ...rest } = handle.props;
37
- return (_jsxs("div", { ...rest, "data-slot": "shortcut", mix: [contents(), mix], children: [_jsx("dt", { mix: [text("sm"), fg("neutral"), pretty()], children: children }), _jsx("dd", { mix: [m(0), flex(), gap(1), items("center"), justify("end")], children: keys.map((key, index) => (_jsx(Keyboard, { mix: [m(0), weight("medium")], children: key }, `${index}-${key}`))) })] }));
38
+ return (_jsxs("div", { ...rest, "data-slot": "shortcut", mix: mergeMix(contents(), mix), children: [_jsx("dt", { mix: [text("sm"), fg("neutral"), pretty()], children: children }), _jsx("dd", { mix: [m(0), flex(), gap(1), items("center"), justify("end")], children: keys.map((key, index) => (_jsx(Keyboard, { mix: [m(0), weight("medium")], children: key }, `${index}-${key}`))) })] }));
38
39
  };
39
40
  };
@@ -1,6 +1,7 @@
1
1
  import { jsx as _jsx } from "remix/component/jsx-runtime";
2
2
  import { bg } from "@sdxc/u/color";
3
3
  import { rounded } from "@sdxc/u/effects";
4
+ import { mergeMix } from "@sdxc/u/general";
4
5
  import { bs, is } from "@sdxc/u/size";
5
6
  import { attrs } from "remix/component";
6
7
  /**
@@ -26,13 +27,12 @@ const DEFAULT_ARIA_HIDDEN = "true";
26
27
  export function Skeleton(handle) {
27
28
  return () => {
28
29
  let { mix, ...rest } = handle.props;
29
- return (_jsx("div", { ...rest, mix: [
30
+ return (_jsx("div", { ...rest, mix: mergeMix([
30
31
  attrs({ "aria-hidden": DEFAULT_ARIA_HIDDEN }),
31
32
  bs("var(--ui-skeleton-block-size, 1rem)"),
32
33
  is("full"),
33
34
  rounded("md"),
34
35
  bg("neutral.border"),
35
- mix,
36
- ] }));
36
+ ], mix) }));
37
37
  };
38
38
  }
@@ -9,7 +9,7 @@
9
9
  * @copyright Sergio Xalambrí 2026
10
10
  */
11
11
  import type { ElementProps, MixinDescriptor } from "remix/component";
12
- import type { CSSStyles } from "../utils/css-styles.js";
12
+ import type { CSSStyles } from "../../utils/css-styles.js";
13
13
  /**
14
14
  * Number of categorical color slots a chart's `--ui-chart-*` palette spans.
15
15
  * A series, wedge, or bar whose position in its own list outgrows this
@@ -8,7 +8,7 @@
8
8
  * @copyright Sergio Xalambrí 2026
9
9
  */
10
10
  import type { ElementProps, MixinDescriptor } from "remix/component";
11
- import type { CSSStyles } from "../utils/css-styles.js";
11
+ import type { CSSStyles } from "../../utils/css-styles.js";
12
12
  /**
13
13
  * A shrink-resistant, nudged-down, current-colored mixin for a leading
14
14
  * graphic slot, keeping an icon and a loading graphic laid out identically.
@@ -7,7 +7,7 @@
7
7
  * @copyright Sergio Xalambrí 2026
8
8
  */
9
9
  import type { ElementProps, MixinDescriptor } from "remix/component";
10
- import type { CSSStyles } from "../utils/css-styles.js";
10
+ import type { CSSStyles } from "../../utils/css-styles.js";
11
11
  /**
12
12
  * Composes the categorical legend-toggle visibility rules as a `css()`
13
13
  * mixin covering every {@link CHART_COLOR_SLOT_COUNT} color slot. The
@@ -1,6 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "remix/component/jsx-runtime";
2
2
  import { ArrowDownIcon, ArrowUpDownIcon, ArrowUpIcon } from "@sdxc/icons";
3
3
  import { bg, borderEdge, center, container, cursor, fg, flex, fontSize, gap, hover, is, items, justify, opacity, outline, overflow, p, pb, pi, raw, relative, shrink, tabularNums, textAlign, textDecoration, userSelect, virtualize, weight, when, } from "@sdxc/u";
4
+ import { mergeMix } from "@sdxc/u/general";
4
5
  import { attrs } from "remix/component";
5
6
  import { interactiveTransition } from "../styles/interactive-transition.js";
6
7
  import { warnIfNoAccessibleLabel } from "../utils/warn-if-no-accessible-name.js";
@@ -47,7 +48,7 @@ export function Table(handle) {
47
48
  return () => {
48
49
  let { mix, ...rest } = handle.props;
49
50
  warnIfNoAccessibleLabel(handle.props, 'Table: needs an "aria-label" or "aria-labelledby" describing its contents for assistive technology.');
50
- return (_jsx("table", { ...rest, "data-slot": "table", mix: [is("100%"), raw({ borderCollapse: "collapse" }), fontSize("sm"), mix] }));
51
+ return (_jsx("table", { ...rest, "data-slot": "table", mix: mergeMix([is("100%"), raw({ borderCollapse: "collapse" }), fontSize("sm")], mix) }));
51
52
  };
52
53
  }
53
54
  /**
@@ -65,7 +66,7 @@ export function Table(handle) {
65
66
  Table.Container = function TableContainer(handle) {
66
67
  return () => {
67
68
  let { mix, ...rest } = handle.props;
68
- return (_jsx("div", { ...rest, "data-slot": "container", mix: [relative(), is("100%"), overflow("auto"), container(CONTAINER_NAME), mix] }));
69
+ return (_jsx("div", { ...rest, "data-slot": "container", mix: mergeMix([relative(), is("100%"), overflow("auto"), container(CONTAINER_NAME)], mix) }));
69
70
  };
70
71
  };
71
72
  /**
@@ -84,7 +85,7 @@ Table.Container = function TableContainer(handle) {
84
85
  Table.Header = function TableHeader(handle) {
85
86
  return () => {
86
87
  let { mix, ...rest } = handle.props;
87
- return (_jsx("thead", { ...rest, "data-slot": "header", mix: [borderEdge("block-end", { color: "neutral", width: 1 }), mix] }));
88
+ return (_jsx("thead", { ...rest, "data-slot": "header", mix: mergeMix(borderEdge("block-end", { color: "neutral", width: 1 }), mix) }));
88
89
  };
89
90
  };
90
91
  /**
@@ -106,11 +107,10 @@ Table.Header = function TableHeader(handle) {
106
107
  Table.Body = function TableBody(handle) {
107
108
  return () => {
108
109
  let { mix, ...rest } = handle.props;
109
- return (_jsx("tbody", { ...rest, "data-slot": "body", mix: [
110
+ return (_jsx("tbody", { ...rest, "data-slot": "body", mix: mergeMix([
110
111
  virtualize("auto var(--ui-table-body-intrinsic-size, 32rem)"),
111
112
  when("& > :not([hidden]) ~ :not([hidden])", borderEdge("block-start", { color: "neutral", width: 1 })),
112
- mix,
113
- ] }));
113
+ ], mix) }));
114
114
  };
115
115
  };
116
116
  /**
@@ -133,7 +133,7 @@ Table.Column = function TableColumn(handle) {
133
133
  return () => {
134
134
  let { align, numeric, href, sortDirection, parts, children, mix, ...rest } = handle.props;
135
135
  let resolvedAlign = align ?? (numeric ? DEFAULT_NUMERIC_ALIGN : DEFAULT_ALIGN);
136
- return (_jsx("th", { ...rest, "data-align": resolvedAlign, "data-numeric": numeric ? "" : undefined, "aria-sort": href ? (sortDirection ?? "none") : undefined, "data-slot": "column", mix: [
136
+ return (_jsx("th", { ...rest, "data-align": resolvedAlign, "data-numeric": numeric ? "" : undefined, "aria-sort": href ? (sortDirection ?? "none") : undefined, "data-slot": "column", mix: mergeMix([
137
137
  attrs({ scope: "col" }),
138
138
  href ? undefined : [pi("1rem"), pb("0.75rem")],
139
139
  textAlign("start"),
@@ -143,8 +143,7 @@ Table.Column = function TableColumn(handle) {
143
143
  when('&[data-align="end"]', textAlign("end")),
144
144
  when("&[aria-sort]", when("&:hover", bg("neutral.tint"))),
145
145
  when("&[aria-sort]", [cursor("pointer"), userSelect()]),
146
- mix,
147
- ], children: href ? (_jsxs("a", { href: href, mix: [
146
+ ], mix), children: href ? (_jsxs("a", { href: href, mix: [
148
147
  when("&:focus-visible", outline({ color: "brand.ring", offset: -2 })),
149
148
  flex(),
150
149
  justify(JUSTIFY_BY_ALIGN[resolvedAlign]),
@@ -178,12 +177,11 @@ Table.Column = function TableColumn(handle) {
178
177
  Table.Row = function TableRow(handle) {
179
178
  return () => {
180
179
  let { mix, ...rest } = handle.props;
181
- return (_jsx("tr", { ...rest, "data-slot": "row", mix: [
180
+ return (_jsx("tr", { ...rest, "data-slot": "row", mix: mergeMix([
182
181
  interactiveTransition(),
183
182
  hover(bg("neutral.tint")),
184
183
  when('&[aria-selected="true"]', bg("brand.tint")),
185
- mix,
186
- ] }));
184
+ ], mix) }));
187
185
  };
188
186
  };
189
187
  /**
@@ -200,13 +198,12 @@ Table.Row = function TableRow(handle) {
200
198
  Table.Cell = function TableCell(handle) {
201
199
  return () => {
202
200
  let { numeric, mix, ...rest } = handle.props;
203
- return (_jsx("td", { ...rest, "data-numeric": numeric ? "" : undefined, "data-slot": "cell", mix: [
201
+ return (_jsx("td", { ...rest, "data-numeric": numeric ? "" : undefined, "data-slot": "cell", mix: mergeMix([
204
202
  pi("1rem"),
205
203
  pb("0.75rem"),
206
204
  fg("neutral.emphasis"),
207
205
  when("&[data-numeric]", [tabularNums(), textAlign("end")]),
208
- mix,
209
- ] }));
206
+ ], mix) }));
210
207
  };
211
208
  };
212
209
  /**
@@ -2,7 +2,7 @@ import { jsx as _jsx } from "remix/component/jsx-runtime";
2
2
  import { XIcon } from "@sdxc/icons";
3
3
  import { bg, border, colorMix, fg } from "@sdxc/u/color";
4
4
  import { backdropBlur, backdropSaturate, rounded, shadow, transition } from "@sdxc/u/effects";
5
- import { pointerEvents, raw } from "@sdxc/u/general";
5
+ import { pointerEvents, raw, mergeMix } from "@sdxc/u/general";
6
6
  import { absolute, basis, fixed, flex, flexCol, gap, grow, inlineFlex, insBe, insBs, insIe, insIs, items, justify, relative, shrink, } from "@sdxc/u/layout";
7
7
  import { media, supports } from "@sdxc/u/responsive";
8
8
  import { is, bs, maxIs, minIs, pb, pi, pie } from "@sdxc/u/size";
@@ -10,9 +10,9 @@ import { active, data, hover, when } from "@sdxc/u/state";
10
10
  import { translateX } from "@sdxc/u/transform";
11
11
  import { balance, fontSize, leading, pretty, weight } from "@sdxc/u/typography";
12
12
  import { attrs } from "remix/component";
13
- import { graphicHostStyle } from "../styles/graphic-host.js";
14
13
  import { hitArea } from "../styles/hit-area.js";
15
14
  import { warnIfNoAccessibleLabel } from "../utils/warn-if-no-accessible-name.js";
15
+ import { graphicHostStyle } from "./styles/graphic-host.js";
16
16
  /**
17
17
  * `role` applied to {@link Toast} through {@link attrs} unless a consumer
18
18
  * supplies its own, announcing the panel as a status update that assistive
@@ -87,7 +87,7 @@ export function Toast(handle) {
87
87
  return () => {
88
88
  let { color = DEFAULT_COLOR, live = DEFAULT_LIVE, "aria-live": ariaLiveProp, children, mix, ...rest } = handle.props;
89
89
  let ariaLive = ariaLiveProp ?? (live === "off" ? undefined : live);
90
- return (_jsx("div", { ...rest, "aria-live": ariaLive, "data-color": color, "data-slot": "toast", mix: [
90
+ return (_jsx("div", { ...rest, "aria-live": ariaLive, "data-color": color, "data-slot": "toast", mix: mergeMix([
91
91
  attrs({ role: DEFAULT_ROLE, "aria-atomic": DEFAULT_ARIA_ATOMIC }),
92
92
  relative(),
93
93
  flex(),
@@ -137,8 +137,7 @@ export function Toast(handle) {
137
137
  backdropBlur("md"),
138
138
  backdropSaturate(1.4),
139
139
  ])),
140
- mix,
141
- ], children: children }));
140
+ ], mix), children: children }));
142
141
  };
143
142
  }
144
143
  /**
@@ -152,7 +151,7 @@ export function Toast(handle) {
152
151
  Toast.Icon = function ToastIcon(handle) {
153
152
  return () => {
154
153
  let { children, mix, ...rest } = handle.props;
155
- return (_jsx("div", { ...rest, "data-slot": "icon", mix: [attrs({ "aria-hidden": DEFAULT_GRAPHIC_ARIA_HIDDEN }), graphicHostStyle(), mix], children: children }));
154
+ return (_jsx("div", { ...rest, "data-slot": "icon", mix: mergeMix([attrs({ "aria-hidden": DEFAULT_GRAPHIC_ARIA_HIDDEN }), graphicHostStyle()], mix), children: children }));
156
155
  };
157
156
  };
158
157
  /**
@@ -166,7 +165,7 @@ Toast.Icon = function ToastIcon(handle) {
166
165
  Toast.Loader = function ToastLoader(handle) {
167
166
  return () => {
168
167
  let { children, mix, ...rest } = handle.props;
169
- return (_jsx("div", { ...rest, "data-slot": "loader", mix: [attrs({ "aria-hidden": DEFAULT_GRAPHIC_ARIA_HIDDEN }), graphicHostStyle(), mix], children: children }));
168
+ return (_jsx("div", { ...rest, "data-slot": "loader", mix: mergeMix([attrs({ "aria-hidden": DEFAULT_GRAPHIC_ARIA_HIDDEN }), graphicHostStyle()], mix), children: children }));
170
169
  };
171
170
  };
172
171
  /**
@@ -180,7 +179,7 @@ Toast.Loader = function ToastLoader(handle) {
180
179
  Toast.Content = function ToastContent(handle) {
181
180
  return () => {
182
181
  let { children, mix, ...rest } = handle.props;
183
- return (_jsx("div", { ...rest, "data-slot": "content", mix: [flex(), flexCol(), gap("0.25rem"), minIs(0), grow(), shrink(1), basis("0%"), mix], children: children }));
182
+ return (_jsx("div", { ...rest, "data-slot": "content", mix: mergeMix([flex(), flexCol(), gap("0.25rem"), minIs(0), grow(), shrink(1), basis("0%")], mix), children: children }));
184
183
  };
185
184
  };
186
185
  /**
@@ -194,7 +193,7 @@ Toast.Content = function ToastContent(handle) {
194
193
  Toast.Title = function ToastTitle(handle) {
195
194
  return () => {
196
195
  let { children, mix, ...rest } = handle.props;
197
- return (_jsx("h3", { ...rest, "data-slot": "title", mix: [weight(500), leading(1), fontSize("sm"), balance(), mix], children: children }));
196
+ return (_jsx("h3", { ...rest, "data-slot": "title", mix: mergeMix([weight(500), leading(1), fontSize("sm"), balance()], mix), children: children }));
198
197
  };
199
198
  };
200
199
  /**
@@ -208,12 +207,11 @@ Toast.Title = function ToastTitle(handle) {
208
207
  Toast.Description = function ToastDescription(handle) {
209
208
  return () => {
210
209
  let { children, mix, ...rest } = handle.props;
211
- return (_jsx("p", { ...rest, "data-slot": "description", mix: [
210
+ return (_jsx("p", { ...rest, "data-slot": "description", mix: mergeMix([
212
211
  fontSize("sm"),
213
212
  pretty(),
214
213
  fg(colorMix("oklab", { color: "currentcolor", weight: 70 }, "transparent")),
215
- mix,
216
- ], children: children }));
214
+ ], mix), children: children }));
217
215
  };
218
216
  };
219
217
  /**
@@ -230,7 +228,7 @@ Toast.Action = function ToastAction(handle) {
230
228
  return () => {
231
229
  let { type, children, mix, ...rest } = handle.props;
232
230
  let resolvedType = type ?? DEFAULT_BUTTON_TYPE;
233
- return (_jsx("button", { type: resolvedType, ...rest, "data-slot": "action", mix: [
231
+ return (_jsx("button", { type: resolvedType, ...rest, "data-slot": "action", mix: mergeMix([
234
232
  inlineFlex(),
235
233
  items("center"),
236
234
  justify("center"),
@@ -246,8 +244,7 @@ Toast.Action = function ToastAction(handle) {
246
244
  fontSize("xs"),
247
245
  hover(bg(colorMix("oklab", { color: "currentcolor", weight: 10 }, "transparent"))),
248
246
  active(bg(colorMix("oklab", { color: "currentcolor", weight: 20 }, "transparent"))),
249
- mix,
250
- ], children: children }));
247
+ ], mix), children: children }));
251
248
  };
252
249
  };
253
250
  /**
@@ -264,7 +261,7 @@ Toast.Cancel = function ToastCancel(handle) {
264
261
  return () => {
265
262
  let { type, children, mix, ...rest } = handle.props;
266
263
  let resolvedType = type ?? DEFAULT_BUTTON_TYPE;
267
- return (_jsx("button", { type: resolvedType, ...rest, "data-slot": "cancel", mix: [
264
+ return (_jsx("button", { type: resolvedType, ...rest, "data-slot": "cancel", mix: mergeMix([
268
265
  inlineFlex(),
269
266
  items("center"),
270
267
  justify("center"),
@@ -279,8 +276,7 @@ Toast.Cancel = function ToastCancel(handle) {
279
276
  shrink(),
280
277
  transition("color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter"),
281
278
  fontSize("xs"),
282
- mix,
283
- ], children: children }));
279
+ ], mix), children: children }));
284
280
  };
285
281
  };
286
282
  /**
@@ -296,7 +292,7 @@ Toast.Cancel = function ToastCancel(handle) {
296
292
  Toast.Close = function ToastClose(handle) {
297
293
  return () => {
298
294
  let { mix, ...rest } = handle.props;
299
- return (_jsx("button", { type: "button", ...rest, "data-slot": "close", mix: [
295
+ return (_jsx("button", { type: "button", ...rest, "data-slot": "close", mix: mergeMix([
300
296
  absolute(),
301
297
  inlineFlex(),
302
298
  items("center"),
@@ -310,8 +306,7 @@ Toast.Close = function ToastClose(handle) {
310
306
  insBs("0.5rem"),
311
307
  insIe("0.5rem"),
312
308
  hitArea(),
313
- mix,
314
- ], children: _jsx(XIcon, { size: 16 }) }));
309
+ ], mix), children: _jsx(XIcon, { size: 16 }) }));
315
310
  };
316
311
  };
317
312
  /**
@@ -345,7 +340,7 @@ Toast.Region = function ToastRegion(handle) {
345
340
  let { placement, children, mix, ...rest } = handle.props;
346
341
  let resolvedPlacement = placement ?? DEFAULT_PLACEMENT;
347
342
  warnIfNoAccessibleLabel(handle.props, 'Toast.Region: needs an "aria-label" or "aria-labelledby" identifying this landmark for assistive technology.');
348
- return (_jsx("div", { ...rest, "data-placement": resolvedPlacement, "data-slot": "region", mix: [
343
+ return (_jsx("div", { ...rest, "data-placement": resolvedPlacement, "data-slot": "region", mix: mergeMix([
349
344
  attrs({ role: DEFAULT_REGION_ROLE }),
350
345
  fixed(),
351
346
  flex(),
@@ -362,7 +357,6 @@ Toast.Region = function ToastRegion(handle) {
362
357
  when('&[data-placement$="start"]', insIs("0")),
363
358
  when('&[data-placement$="end"]', insIe("0")),
364
359
  when('&[data-placement$="center"]', [insIs("50%"), translateX("-50%")]),
365
- mix,
366
- ], children: children }));
360
+ ], mix), children: children }));
367
361
  };
368
362
  };
@@ -1,6 +1,7 @@
1
1
  import { jsx as _jsx } from "remix/component/jsx-runtime";
2
2
  import { bg, border } from "@sdxc/u/color";
3
3
  import { rounded } from "@sdxc/u/effects";
4
+ import { mergeMix } from "@sdxc/u/general";
4
5
  import { flexCol, hstack, items } from "@sdxc/u/layout";
5
6
  import { pb, pi } from "@sdxc/u/size";
6
7
  import { when } from "@sdxc/u/state";
@@ -39,7 +40,7 @@ const DEFAULT_ORIENTATION = "horizontal";
39
40
  export function Toolbar(handle) {
40
41
  return () => {
41
42
  let { mix, ...rest } = handle.props;
42
- return (_jsx("div", { ...rest, mix: [
43
+ return (_jsx("div", { ...rest, mix: mergeMix([
43
44
  attrs({ role: DEFAULT_ROLE, "aria-orientation": DEFAULT_ORIENTATION }),
44
45
  hstack({ gap: 2, align: "center" }),
45
46
  rounded("lg"),
@@ -48,7 +49,6 @@ export function Toolbar(handle) {
48
49
  pb(2),
49
50
  pi(2),
50
51
  when('&[aria-orientation="vertical"]', [flexCol(), items("start")]),
51
- mix,
52
- ] }));
52
+ ], mix) }));
53
53
  };
54
54
  }
@@ -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 { SentinelRow } from "./sentinel-row.js";
14
+ import { SentinelRow } from "../components/sentinel-row.js";
15
15
  /**
16
16
  * Prop and context types for {@link Tree} and its compound parts.
17
17
  */