@sdxc/ui 2026.10.30 → 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 (410) 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 +5 -5
  245. package/dist/{patterns → landing}/faq-band.js +13 -14
  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/{components/marketing-section.d.ts → landing/landing-section.d.ts} +38 -15
  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 +12 -5
  290. package/dist/{components → landing}/split.js +26 -18
  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 -7
  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 -150
  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.js +0 -117
  332. package/dist/components/stat-strip.js +0 -65
  333. package/dist/patterns/accent-text.d.ts +0 -30
  334. package/dist/patterns/accent-text.js +0 -17
  335. package/dist/patterns/announcement-chip.d.ts +0 -41
  336. package/dist/patterns/announcement-chip.js +0 -49
  337. package/dist/patterns/bento.d.ts +0 -68
  338. package/dist/patterns/bento.js +0 -94
  339. package/dist/patterns/code-stage.d.ts +0 -63
  340. package/dist/patterns/code-stage.js +0 -82
  341. package/dist/patterns/feature-band.d.ts +0 -85
  342. package/dist/patterns/feature-band.js +0 -50
  343. package/dist/patterns/icon-well.js +0 -38
  344. package/dist/patterns/index.d.ts +0 -23
  345. package/dist/patterns/index.js +0 -23
  346. package/dist/patterns/landing-hero.d.ts +0 -93
  347. package/dist/patterns/landing-hero.js +0 -126
  348. package/dist/patterns/product-frame.d.ts +0 -60
  349. package/dist/patterns/product-frame.js +0 -70
  350. package/dist/patterns/step-list.d.ts +0 -47
  351. package/dist/patterns/step-list.js +0 -85
  352. package/dist/patterns/tabbed-stage.js +0 -77
  353. package/dist/styles/marketing.d.ts +0 -120
  354. package/dist/styles/marketing.js +0 -225
  355. package/dist/utils/semantic-color-panel.d.ts +0 -35
  356. package/dist/utils/semantic-color-panel.js +0 -28
  357. /package/dist/{behaviors → app/behaviors}/drag-session.d.ts +0 -0
  358. /package/dist/{behaviors → app/behaviors}/resize-session.d.ts +0 -0
  359. /package/dist/{behaviors → app/behaviors}/resize-session.js +0 -0
  360. /package/dist/{behaviors → app/behaviors}/selection-model.d.ts +0 -0
  361. /package/dist/{behaviors → app/behaviors}/selection-model.js +0 -0
  362. /package/dist/{behaviors → app/behaviors}/toaster.d.ts +0 -0
  363. /package/dist/{components → app}/drop-indicator.d.ts +0 -0
  364. /package/dist/{components → app}/drop-zone.d.ts +0 -0
  365. /package/dist/{components → app}/file-trigger.d.ts +0 -0
  366. /package/dist/{components → app}/menubar.d.ts +0 -0
  367. /package/dist/{mixins → app/mixins}/chart-tooltip.d.ts +0 -0
  368. /package/dist/{mixins → app/mixins}/chart-tooltip.js +0 -0
  369. /package/dist/{mixins → app/mixins}/context-menu.d.ts +0 -0
  370. /package/dist/{mixins → app/mixins}/context-menu.js +0 -0
  371. /package/dist/{mixins → app/mixins}/drag-reorder.d.ts +0 -0
  372. /package/dist/{mixins → app/mixins}/drop-zone.d.ts +0 -0
  373. /package/dist/{mixins → app/mixins}/grid-list-keys.d.ts +0 -0
  374. /package/dist/{mixins → app/mixins}/menubar-keys.d.ts +0 -0
  375. /package/dist/{mixins → app/mixins}/resize-handle.d.ts +0 -0
  376. /package/dist/{mixins/treeKeys.d.ts → app/mixins/tree-keys.d.ts} +0 -0
  377. /package/dist/{components → app}/resizable.d.ts +0 -0
  378. /package/dist/{components → app}/shortcut-list.d.ts +0 -0
  379. /package/dist/{components → app}/skeleton.d.ts +0 -0
  380. /package/dist/{styles → app/styles}/chart-palette.js +0 -0
  381. /package/dist/{styles → app/styles}/graphic-host.js +0 -0
  382. /package/dist/{styles → app/styles}/legend-toggle.js +0 -0
  383. /package/dist/{components → app}/table.d.ts +0 -0
  384. /package/dist/{components → app}/toast.d.ts +0 -0
  385. /package/dist/{components → app}/toolbar.d.ts +0 -0
  386. /package/dist/{utils → app/utils}/chart-marker-indices.d.ts +0 -0
  387. /package/dist/{utils → app/utils}/chart-marker-indices.js +0 -0
  388. /package/dist/{utils → app/utils}/chart-scale.d.ts +0 -0
  389. /package/dist/{behaviors → chat/behaviors}/scroll-follow-model.d.ts +0 -0
  390. /package/dist/{components → chat}/bubble.d.ts +0 -0
  391. /package/dist/{components → chat}/marker.d.ts +0 -0
  392. /package/dist/{components → chat}/message.d.ts +0 -0
  393. /package/dist/{mixins → chat/mixins}/attachment-trigger.d.ts +0 -0
  394. /package/dist/{mixins → chat/mixins}/attachment-trigger.js +0 -0
  395. /package/dist/{mixins → chat/mixins}/message-follow.d.ts +0 -0
  396. /package/dist/{components → color}/color-area.d.ts +0 -0
  397. /package/dist/{components → color}/color-field.d.ts +0 -0
  398. /package/dist/{components → color}/color-slider.d.ts +0 -0
  399. /package/dist/{components → color}/color-swatch-picker.d.ts +0 -0
  400. /package/dist/{components → color}/color-swatch.d.ts +0 -0
  401. /package/dist/{components → color}/color-wheel.d.ts +0 -0
  402. /package/dist/{mixins → color/mixins}/color-channel-sync.d.ts +0 -0
  403. /package/dist/{mixins → color/mixins}/color-channel-sync.js +0 -0
  404. /package/dist/{mixins → color/mixins}/color-preview.d.ts +0 -0
  405. /package/dist/{mixins → color/mixins}/color-wheel-drag.d.ts +0 -0
  406. /package/dist/{styles → color/styles}/rtl-aware-gradient-direction.js +0 -0
  407. /package/dist/{utils → color/utils}/hue-spectrum.d.ts +0 -0
  408. /package/dist/{utils → color/utils}/hue-spectrum.js +0 -0
  409. /package/dist/{patterns → landing}/check-row.d.ts +0 -0
  410. /package/dist/{patterns → landing}/install-tabs.d.ts +0 -0
@@ -0,0 +1,331 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "remix/component/jsx-runtime";
2
+ import { keyframes } from "@sdxc/u/animation";
3
+ import { raw } from "@sdxc/u/general";
4
+ import { motionSafe } from "@sdxc/u/responsive";
5
+ import { landingSurface } from "../styles/landing.js";
6
+ import { MotionLoop } from "./motion-loop.js";
7
+ /** Length of one loop: the rows land, the feed holds, then it empties for the next loop. */
8
+ const CYCLE_SECONDS = 10;
9
+ /** Percent of the cycle at which the oldest row lands. */
10
+ const FIRST_ROW_AT = 6;
11
+ /** Most percent of the cycle between one row landing and the next. */
12
+ const MAX_ROW_GAP = 14;
13
+ /** Percent of the cycle the rows share, so a long feed still leaves time to hold. */
14
+ const ROWS_SPAN = 58;
15
+ /** Percent of the cycle a landing row takes to open to its full height. */
16
+ const EXPAND_SPAN = 3;
17
+ /** Percent of the cycle between a row landing and its `flipTo` status replacing the first. */
18
+ const FLIP_AFTER = 9;
19
+ /** Percent of the cycle the chips take to cross-fade. */
20
+ const FLIP_SPAN = 2;
21
+ /** Percent of the cycle at which every row fades out for the next loop. */
22
+ const RESET_AT = 94;
23
+ /** Name of the live dot's pulse, shared by every ticker since it reads no row data. */
24
+ const PULSE_KEYFRAMES = "ui-event-ticker-pulse";
25
+ /**
26
+ * Room the header keeps at its end for the pause toggle pinned to the surface's top
27
+ * corner, so a title that wraps on a phone stays clear of the button.
28
+ */
29
+ const PAUSE_CLEARANCE = "2.75rem";
30
+ /** The theme tone each status's chip and dot draw from. */
31
+ const STATUS_TONES = {
32
+ ok: "success",
33
+ warn: "warning",
34
+ fail: "danger",
35
+ pending: "neutral",
36
+ };
37
+ /**
38
+ * Renders the feed as an ordered list on a raised surface inside a {@link MotionLoop}.
39
+ * Each row opens in its turn at the top and pushes the older ones down; a hidden copy of
40
+ * the finished feed holds the surface's height, so the page never shifts while it loops.
41
+ * Without motion every row shows with its final status. Equal row counts share keyframes.
42
+ *
43
+ * @param handle Runtime handle carrying the host `<div>`'s props.
44
+ * @returns The render function producing the ticker's markup.
45
+ * @example
46
+ * <EventTicker
47
+ * aria-label="Recent checks"
48
+ * title="Checkout flow"
49
+ * rows={[{ time: "09:40", label: "Run passed", status: "ok" }]}
50
+ * statusLabels={{ ok: "Passed", warn: "Slow", fail: "Failed", pending: "Running" }}
51
+ * />
52
+ */
53
+ export function EventTicker(handle) {
54
+ return () => {
55
+ let { "aria-label": label, footnote, mix, pauseLabel, rows, statusLabels, title, ...rest } = handle.props;
56
+ let timing = timingFor(rows.length);
57
+ let newestFirst = rows.map((row, index) => ({ row, index })).reverse();
58
+ return (_jsx(MotionLoop, { ...rest, pauseLabel: pauseLabel, placement: "start-end", mix: mix, children: _jsxs("div", { "data-slot": "event-ticker", mix: [
59
+ landingSurface(),
60
+ raw({
61
+ display: "grid",
62
+ gap: "0.75rem",
63
+ padding: "clamp(1.25rem, 4cqi, 2rem)",
64
+ }),
65
+ title === undefined ? raw({ paddingBlockStart: "3.25rem" }) : [],
66
+ ], children: [title === undefined ? null : (_jsxs("div", { "data-slot": "event-ticker-header", mix: [
67
+ raw({
68
+ display: "flex",
69
+ alignItems: "center",
70
+ gap: "0.5rem",
71
+ minBlockSize: "2rem",
72
+ paddingInlineEnd: PAUSE_CLEARANCE,
73
+ }),
74
+ ], children: [_jsx("span", { "aria-hidden": "true", mix: [liveDot()] }), _jsx("span", { mix: [
75
+ raw({
76
+ fontSize: "0.9375rem",
77
+ lineHeight: "1.5rem",
78
+ fontWeight: "600",
79
+ color: "var(--ui-neutral-fg-emphasis)",
80
+ minInlineSize: "0",
81
+ }),
82
+ ], children: title })] })), _jsxs("div", { mix: [raw({ display: "grid", alignItems: "start" })], children: [_jsx("ol", { "aria-label": label, mix: [list()], children: newestFirst.map(({ row, index }) => (_jsx(RowItem, { row: row, index: index, timing: timing, statusLabels: statusLabels }, index))) }), _jsx("ol", { "aria-hidden": "true", inert: true, "data-slot": "event-ticker-sizer", mix: [
83
+ list(),
84
+ raw({ display: "none", visibility: "hidden" }),
85
+ motionSafe(raw({ display: "grid" })),
86
+ ], children: newestFirst.map(({ row, index }) => (_jsx(RowItem, { row: row, index: index, statusLabels: statusLabels }, index))) })] }), footnote === undefined ? null : (_jsx("div", { "data-slot": "event-ticker-footnote", mix: [
87
+ quiet(),
88
+ raw({
89
+ display: "flex",
90
+ flexWrap: "wrap",
91
+ alignItems: "center",
92
+ gap: "0.375rem",
93
+ paddingBlockStart: "0.25rem",
94
+ }),
95
+ ], children: footnote }))] }) }));
96
+ };
97
+ }
98
+ /** Spreads `count` rows over {@link ROWS_SPAN}, never further apart than {@link MAX_ROW_GAP}. */
99
+ function timingFor(count) {
100
+ return { count, gap: count > 0 ? Math.min(MAX_ROW_GAP, ROWS_SPAN / count) : MAX_ROW_GAP };
101
+ }
102
+ /** Percent of the cycle at which row `index` (counting from the oldest) lands. */
103
+ function landsAt(timing, index) {
104
+ return round(FIRST_ROW_AT + index * timing.gap);
105
+ }
106
+ /** Rounds a keyframe offset to two decimals, so generated stops stay readable. */
107
+ function round(value) {
108
+ return Math.round(value * 100) / 100;
109
+ }
110
+ /** The animation declarations every moving element shares: one linear loop of the cycle. */
111
+ function loop(name) {
112
+ return {
113
+ animationName: name,
114
+ animationDuration: `${CYCLE_SECONDS}s`,
115
+ animationTimingFunction: "linear",
116
+ animationIterationCount: "infinite",
117
+ animationFillMode: "both",
118
+ };
119
+ }
120
+ /**
121
+ * One event: its time, label and status chip over the detail line. A row with `flipTo`
122
+ * stacks both chips and both details in one cell and cross-fades them; at rest only the
123
+ * final pair shows and the first is hidden from assistive technology.
124
+ */
125
+ function RowItem(handle) {
126
+ return () => {
127
+ let { index, row, statusLabels, timing } = handle.props;
128
+ let flip = row.flipTo;
129
+ let flipAt = timing ? landsAt(timing, index) + FLIP_AFTER : 0;
130
+ let slot = timing ? `${timing.count}-${index}` : "";
131
+ let finalStatus = flip?.status ?? row.status;
132
+ return (_jsx("li", { "data-status": finalStatus, mix: [rowShell(timing, index)], children: _jsx("div", { mix: [raw({ minBlockSize: "0", overflow: "hidden" })], children: _jsxs("div", { mix: [rowGrid()], children: [_jsx("time", { mix: [
133
+ quiet(),
134
+ raw({ gridArea: "time", fontFamily: "var(--ui-font-mono)", whiteSpace: "nowrap" }),
135
+ ], children: row.time }), _jsx("span", { mix: [
136
+ raw({
137
+ gridArea: "label",
138
+ minInlineSize: "0",
139
+ fontSize: "0.875rem",
140
+ lineHeight: "1.25rem",
141
+ fontWeight: "500",
142
+ color: "var(--ui-neutral-fg-emphasis)",
143
+ overflowWrap: "anywhere",
144
+ }),
145
+ ], children: row.label }), _jsxs("span", { mix: [stack(), raw({ gridArea: "chip", justifyItems: "end" })], children: [flip ? (_jsx(Chip, { status: row.status, label: statusLabels[row.status], hidden: true, mix: [fading(`ui-event-ticker-from-${slot}`, timing, flipAt, true)] })) : null, _jsx(Chip, { status: finalStatus, label: statusLabels[finalStatus], mix: [flip ? fading(`ui-event-ticker-to-${slot}`, timing, flipAt, false) : []] })] }), _jsx(RowDetails, { row: row, timing: timing, flipAt: flipAt, slot: slot })] }) }) }));
146
+ };
147
+ }
148
+ /**
149
+ * The row's detail line, or the two lines a `flipTo` with its own detail cross-fades
150
+ * between. A row that has no detail before or after renders nothing.
151
+ */
152
+ function RowDetails(handle) {
153
+ return () => {
154
+ let { flipAt, row, slot, timing } = handle.props;
155
+ let flip = row.flipTo;
156
+ let flips = flip !== undefined && (flip.detail !== undefined || flip.code !== undefined);
157
+ let before = { status: row.status, detail: row.detail, code: row.code };
158
+ let after = flips && flip ? flip : before;
159
+ let hasBefore = before.detail !== undefined || before.code !== undefined;
160
+ let hasAfter = after.detail !== undefined || after.code !== undefined;
161
+ if (!hasBefore && !hasAfter)
162
+ return null;
163
+ let finalStatus = flip?.status ?? row.status;
164
+ return (_jsxs("span", { mix: [stack(), raw({ gridArea: "detail", justifyItems: "start" })], children: [flips && hasBefore ? (_jsx(DetailLine, { status: row.status, detail: before.detail, code: before.code, hidden: true, mix: [fading(`ui-event-ticker-detail-from-${slot}`, timing, flipAt, true)] })) : null, hasAfter ? (_jsx(DetailLine, { status: finalStatus, detail: after.detail, code: after.code, mix: [flips ? fading(`ui-event-ticker-detail-to-${slot}`, timing, flipAt, false) : []] })) : null] }));
165
+ };
166
+ }
167
+ /** A quieter line under the label, in mono for `code`, tinted in the danger tone on a failure. */
168
+ function DetailLine(handle) {
169
+ return () => {
170
+ let { code, detail, hidden, mix, status } = handle.props;
171
+ let tint = status === "fail"
172
+ ? raw({
173
+ paddingInline: "0.5rem",
174
+ paddingBlock: "0.125rem",
175
+ borderRadius: "0.375rem",
176
+ color: "var(--ui-danger-fg-emphasis)",
177
+ backgroundColor: "var(--ui-danger-bg-tint)",
178
+ })
179
+ : [];
180
+ return code !== undefined ? (_jsx("code", { "aria-hidden": hidden ? "true" : undefined, mix: [quiet(), layer(), raw({ fontFamily: "var(--ui-font-mono)" }), tint, mix ?? []], children: code })) : (_jsx("span", { "aria-hidden": hidden ? "true" : undefined, mix: [quiet(), layer(), tint, mix ?? []], children: detail }));
181
+ };
182
+ }
183
+ /** The list both the live feed and its sizing copy lay out with. */
184
+ function list() {
185
+ return raw({
186
+ gridArea: "1 / 1",
187
+ display: "grid",
188
+ margin: "0",
189
+ padding: "0",
190
+ listStyle: "none",
191
+ });
192
+ }
193
+ /**
194
+ * A row's collapsible shell, open by default. While animating it stays closed until the
195
+ * row lands, opens to its content's height, holds, and fades out at {@link RESET_AT},
196
+ * closing only once it is invisible.
197
+ */
198
+ function rowShell(timing, index) {
199
+ let shell = raw({ display: "grid", gridTemplateRows: "1fr" });
200
+ if (!timing)
201
+ return [shell];
202
+ let name = `ui-event-ticker-row-${timing.count}-${index}`;
203
+ let at = landsAt(timing, index);
204
+ let closed = { gridTemplateRows: "0fr", opacity: "0" };
205
+ let open = { gridTemplateRows: "1fr", opacity: "1" };
206
+ return [
207
+ shell,
208
+ keyframes(name, {
209
+ "0%": closed,
210
+ [`${at}%`]: closed,
211
+ [`${round(at + EXPAND_SPAN)}%`]: open,
212
+ [`${RESET_AT}%`]: open,
213
+ [`${RESET_AT + 3}%`]: { gridTemplateRows: "1fr", opacity: "0" },
214
+ "99%": { gridTemplateRows: "1fr", opacity: "0" },
215
+ "100%": closed,
216
+ }),
217
+ motionSafe(raw(loop(name))),
218
+ ];
219
+ }
220
+ /**
221
+ * Cross-fades one of a flip's two stacked layers at `at`: the first layer (`leaving`)
222
+ * shows until then, the second after. At rest the second shows and the first stays hidden.
223
+ */
224
+ function fading(name, timing, at, leaving) {
225
+ let rest = raw({ opacity: leaving ? "0" : "1" });
226
+ if (!timing)
227
+ return [rest];
228
+ let before = { opacity: leaving ? "1" : "0" };
229
+ let after = { opacity: leaving ? "0" : "1" };
230
+ return [
231
+ rest,
232
+ keyframes(name, {
233
+ "0%": before,
234
+ [`${at}%`]: before,
235
+ [`${round(at + FLIP_SPAN)}%`]: after,
236
+ "99%": after,
237
+ "100%": before,
238
+ }),
239
+ motionSafe(raw(loop(name))),
240
+ ];
241
+ }
242
+ /** A row's grid: time, label and chip on the first line, the detail under the label. */
243
+ function rowGrid() {
244
+ return raw({
245
+ display: "grid",
246
+ gridTemplateColumns: "auto minmax(0, 1fr) auto",
247
+ gridTemplateAreas: '"time label chip" ". detail detail"',
248
+ columnGap: "0.75rem",
249
+ rowGap: "0.25rem",
250
+ alignItems: "baseline",
251
+ paddingBlock: "0.625rem",
252
+ borderBlockEnd: "1px solid var(--ui-landing-hairline, var(--ui-neutral-border))",
253
+ });
254
+ }
255
+ /** Places a layer in its {@link stack}'s one cell. */
256
+ function layer() {
257
+ return raw({ gridArea: "layer" });
258
+ }
259
+ /** A single grid cell its children overlap in, so stacked layers share one box. */
260
+ function stack() {
261
+ return raw({ display: "grid", gridTemplateAreas: '"layer"', minInlineSize: "0" });
262
+ }
263
+ /** The pill a {@link Chip} draws in the tone {@link STATUS_TONES} gives `status`. */
264
+ function chip(status) {
265
+ let tone = STATUS_TONES[status];
266
+ return [
267
+ layer(),
268
+ raw({
269
+ display: "inline-flex",
270
+ alignItems: "center",
271
+ gap: "0.375rem",
272
+ paddingInline: "0.5rem",
273
+ paddingBlock: "0.125rem",
274
+ borderRadius: "9999px",
275
+ border: `1px solid var(--ui-${tone}-border)`,
276
+ fontSize: "0.75rem",
277
+ lineHeight: "1rem",
278
+ fontWeight: "600",
279
+ whiteSpace: "nowrap",
280
+ color: `var(--ui-${tone}-fg-emphasis)`,
281
+ backgroundColor: `var(--ui-${tone}-bg-tint)`,
282
+ }),
283
+ ];
284
+ }
285
+ /** A status chip: a dot in the status's solid tone, then its label. */
286
+ function Chip(handle) {
287
+ return () => {
288
+ let { hidden, label, mix, status } = handle.props;
289
+ return (_jsxs("span", { "data-slot": "event-ticker-chip", "aria-hidden": hidden ? "true" : undefined, mix: [chip(status), mix ?? []], children: [_jsx("span", { "aria-hidden": "true", mix: [
290
+ raw({
291
+ flexShrink: "0",
292
+ inlineSize: "0.375rem",
293
+ blockSize: "0.375rem",
294
+ borderRadius: "9999px",
295
+ backgroundColor: `var(--ui-${STATUS_TONES[status]}-bg-solid)`,
296
+ }),
297
+ ] }), label] }));
298
+ };
299
+ }
300
+ /** The header's live dot, which pulses while motion runs and holds solid otherwise. */
301
+ function liveDot() {
302
+ return [
303
+ keyframes(PULSE_KEYFRAMES, {
304
+ "0%": { boxShadow: "0 0 0 0 var(--ui-success-bg-tint)", opacity: "1" },
305
+ "50%": { boxShadow: "0 0 0 0.3125rem var(--ui-success-bg-tint)", opacity: "0.6" },
306
+ "100%": { boxShadow: "0 0 0 0 var(--ui-success-bg-tint)", opacity: "1" },
307
+ }),
308
+ raw({
309
+ flexShrink: "0",
310
+ inlineSize: "0.5rem",
311
+ blockSize: "0.5rem",
312
+ borderRadius: "9999px",
313
+ backgroundColor: "var(--ui-success-bg-solid)",
314
+ }),
315
+ motionSafe(raw({
316
+ animationName: PULSE_KEYFRAMES,
317
+ animationDuration: "2s",
318
+ animationTimingFunction: "ease-in-out",
319
+ animationIterationCount: "infinite",
320
+ })),
321
+ ];
322
+ }
323
+ /** The quieter ink a row's time and detail, and the footnote, are set in. */
324
+ function quiet() {
325
+ return raw({
326
+ fontSize: "0.8125rem",
327
+ lineHeight: "1.25rem",
328
+ color: "var(--ui-neutral-fg-muted)",
329
+ overflowWrap: "anywhere",
330
+ });
331
+ }
@@ -0,0 +1,70 @@
1
+ /**
2
+ * An animated picture of one thing serving many: a source sends one pulse down a trunk,
3
+ * a bus carries it to every target, and each target lights in turn, then loops. With
4
+ * `direction="in"` it mirrors to many targets feeding one source, such as regions voting.
5
+ *
6
+ * @author [Sergio Xalambrí](https://sergiodxa.com)
7
+ * @copyright Sergio Xalambrí 2026
8
+ */
9
+ import type { Handle, Props as TagProps, RemixNode } from "remix/component";
10
+ /**
11
+ * Prop types for {@link FanOutDiagram}.
12
+ */
13
+ export declare namespace FanOutDiagram {
14
+ /** Which way the pulse flows: from the source to every target, or from every target in. */
15
+ type Direction = "out" | "in";
16
+ /** The one end of the diagram, such as a feed fetch or an incident. */
17
+ interface Source {
18
+ /** Glyph inside the source's well, drawn in the brand ink. */
19
+ icon?: RemixNode;
20
+ title: RemixNode;
21
+ /** Quieter mono line under the title, such as a URL or a check name. */
22
+ detail?: RemixNode;
23
+ }
24
+ /** One of the many ends, such as a follower's queue or an alert channel. */
25
+ interface Target {
26
+ /** Glyph before the title. */
27
+ icon?: RemixNode;
28
+ title: RemixNode;
29
+ /** Line that fades in as the target lights, such as "+3 posts". */
30
+ detail?: RemixNode;
31
+ }
32
+ /**
33
+ * Props accepted by {@link FanOutDiagram}.
34
+ */
35
+ interface Props extends Omit<TagProps<"div">, "children"> {
36
+ /** Accessible name of the diagram's figure. Required — the library ships no copy. */
37
+ "aria-label": string;
38
+ /** Accessible name of the pause toggle. */
39
+ pauseLabel?: string;
40
+ source: Source;
41
+ /** Two to six targets, laid out in up to three columns. */
42
+ targets: readonly Target[];
43
+ /**
44
+ * `out` puts the source on top and flows down to the targets; `in` puts the targets
45
+ * on top and flows down into the source.
46
+ * @default "out"
47
+ */
48
+ direction?: Direction;
49
+ /** The result badge that appears once every target lit, such as "Delivered to 4". */
50
+ outcome?: RemixNode;
51
+ /** A note across from the outcome. */
52
+ footnote?: RemixNode;
53
+ }
54
+ }
55
+ /**
56
+ * Renders the source, its trunk and a list of targets on a raised surface inside a
57
+ * {@link MotionLoop}. Without motion every line shows filled and every target lit, so the
58
+ * static picture is the delivered state. Diagrams of the same shape and direction share keyframes.
59
+ *
60
+ * @param handle Runtime handle carrying the host `<div>`'s props.
61
+ * @returns The render function producing the diagram's markup.
62
+ * @example
63
+ * <FanOutDiagram
64
+ * aria-label="One fetch, every reader"
65
+ * source={{ icon: <RssIcon size={14} />, title: "Feed fetched", detail: "GET /feed.xml" }}
66
+ * targets={[{ title: "Ana", detail: "+3 posts" }, { title: "Ben", detail: "+3 posts" }]}
67
+ * outcome="Delivered to 2 readers"
68
+ * />
69
+ */
70
+ export declare function FanOutDiagram(handle: Handle<FanOutDiagram.Props>): () => import("remix/component").RemixElement;