@sdxc/ui 2026.10.30 → 2026.11.3

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 (549) hide show
  1. package/README.md +187 -113
  2. package/dist/app/app-shell-toggle.d.ts +31 -0
  3. package/dist/app/app-shell-toggle.js +43 -0
  4. package/dist/app/app-shell.d.ts +131 -0
  5. package/dist/app/app-shell.js +542 -0
  6. package/dist/app/auto-refresh.d.ts +104 -0
  7. package/dist/app/auto-refresh.js +126 -0
  8. package/dist/{behaviors → app/behaviors}/drag-session.js +1 -1
  9. package/dist/app/behaviors/refresh-schedule.d.ts +53 -0
  10. package/dist/app/behaviors/refresh-schedule.js +95 -0
  11. package/dist/app/behaviors/shortcuts.d.ts +175 -0
  12. package/dist/app/behaviors/shortcuts.js +401 -0
  13. package/dist/{behaviors → app/behaviors}/toaster.d.ts +31 -2
  14. package/dist/{behaviors → app/behaviors}/toaster.js +63 -6
  15. package/dist/{components → app}/chart.d.ts +63 -9
  16. package/dist/{components → app}/chart.js +222 -40
  17. package/dist/app/command-palette.d.ts +132 -0
  18. package/dist/app/command-palette.js +181 -0
  19. package/dist/{components → app}/context-menu.d.ts +2 -2
  20. package/dist/{components → app}/context-menu.js +8 -7
  21. package/dist/app/danger-zone.d.ts +66 -0
  22. package/dist/app/danger-zone.js +66 -0
  23. package/dist/app/detail-sheet.d.ts +119 -0
  24. package/dist/app/detail-sheet.js +173 -0
  25. package/dist/{components → app}/drop-indicator.js +3 -3
  26. package/dist/{components → app}/drop-zone.d.ts +2 -1
  27. package/dist/{components → app}/drop-zone.js +7 -4
  28. package/dist/app/editor-layout.d.ts +69 -0
  29. package/dist/app/editor-layout.js +143 -0
  30. package/dist/app/empty.d.ts +128 -0
  31. package/dist/app/empty.js +248 -0
  32. package/dist/{components → app}/file-trigger.js +2 -2
  33. package/dist/app/filter-bar.d.ts +169 -0
  34. package/dist/app/filter-bar.js +346 -0
  35. package/dist/{components → app}/grid-list.d.ts +1 -1
  36. package/dist/{components → app}/grid-list.js +16 -18
  37. package/dist/app/index.d.ts +92 -0
  38. package/dist/app/index.js +92 -0
  39. package/dist/app/keyboard-help.d.ts +66 -0
  40. package/dist/app/keyboard-help.js +56 -0
  41. package/dist/{components → app}/menubar.js +5 -7
  42. package/dist/app/mixins/app-shell-controls.d.ts +46 -0
  43. package/dist/app/mixins/app-shell-controls.js +131 -0
  44. package/dist/app/mixins/auto-refresh.d.ts +29 -0
  45. package/dist/app/mixins/auto-refresh.js +66 -0
  46. package/dist/app/mixins/command-palette.d.ts +56 -0
  47. package/dist/app/mixins/command-palette.js +297 -0
  48. package/dist/app/mixins/copy-permalink.d.ts +26 -0
  49. package/dist/app/mixins/copy-permalink.js +54 -0
  50. package/dist/app/mixins/detail-sheet-keys.d.ts +28 -0
  51. package/dist/app/mixins/detail-sheet-keys.js +88 -0
  52. package/dist/{mixins → app/mixins}/drag-reorder.js +1 -1
  53. package/dist/{mixins → app/mixins}/drop-zone.js +1 -1
  54. package/dist/app/mixins/escape-link.d.ts +17 -0
  55. package/dist/app/mixins/escape-link.js +35 -0
  56. package/dist/{mixins → app/mixins}/grid-list-keys.js +2 -2
  57. package/dist/app/mixins/keyboard-help.d.ts +38 -0
  58. package/dist/app/mixins/keyboard-help.js +51 -0
  59. package/dist/{mixins → app/mixins}/menubar-keys.js +2 -2
  60. package/dist/app/mixins/optimistic-toggle-sync.d.ts +80 -0
  61. package/dist/app/mixins/optimistic-toggle-sync.js +153 -0
  62. package/dist/app/mixins/range-picker-keys.d.ts +18 -0
  63. package/dist/app/mixins/range-picker-keys.js +94 -0
  64. package/dist/{mixins → app/mixins}/resize-handle.js +3 -3
  65. package/dist/app/mixins/row-navigation.d.ts +85 -0
  66. package/dist/app/mixins/row-navigation.js +208 -0
  67. package/dist/app/mixins/save-bar-sync.d.ts +27 -0
  68. package/dist/app/mixins/save-bar-sync.js +106 -0
  69. package/dist/app/mixins/save-shortcut.d.ts +47 -0
  70. package/dist/app/mixins/save-shortcut.js +101 -0
  71. package/dist/app/mixins/save-status-sync.d.ts +77 -0
  72. package/dist/app/mixins/save-status-sync.js +159 -0
  73. package/dist/app/mixins/selection-bar-sync.d.ts +32 -0
  74. package/dist/app/mixins/selection-bar-sync.js +151 -0
  75. package/dist/app/mixins/split-view.d.ts +66 -0
  76. package/dist/app/mixins/split-view.js +319 -0
  77. package/dist/app/mixins/status-strip-keys.d.ts +17 -0
  78. package/dist/app/mixins/status-strip-keys.js +79 -0
  79. package/dist/app/mixins/submit-on-change.d.ts +16 -0
  80. package/dist/app/mixins/submit-on-change.js +28 -0
  81. package/dist/app/mixins/table-selection.d.ts +39 -0
  82. package/dist/app/mixins/table-selection.js +272 -0
  83. package/dist/app/mixins/toast-queue.d.ts +36 -0
  84. package/dist/app/mixins/toast-queue.js +77 -0
  85. package/dist/app/mixins/toast-stack.d.ts +20 -0
  86. package/dist/app/mixins/toast-stack.js +55 -0
  87. package/dist/{mixins/treeKeys.js → app/mixins/tree-keys.js} +2 -2
  88. package/dist/app/optimistic-toggle.d.ts +48 -0
  89. package/dist/app/optimistic-toggle.js +38 -0
  90. package/dist/app/page-header.d.ts +71 -0
  91. package/dist/app/page-header.js +249 -0
  92. package/dist/app/range-picker.d.ts +102 -0
  93. package/dist/app/range-picker.js +118 -0
  94. package/dist/{components → app}/resizable.js +7 -10
  95. package/dist/app/save-bar.d.ts +54 -0
  96. package/dist/app/save-bar.js +64 -0
  97. package/dist/app/save-status.d.ts +50 -0
  98. package/dist/app/save-status.js +54 -0
  99. package/dist/app/selection-bar.d.ts +101 -0
  100. package/dist/app/selection-bar.js +157 -0
  101. package/dist/app/settings-layout.d.ts +70 -0
  102. package/dist/app/settings-layout.js +112 -0
  103. package/dist/app/settings-section.d.ts +140 -0
  104. package/dist/app/settings-section.js +182 -0
  105. package/dist/{components → app}/shortcut-list.js +4 -3
  106. package/dist/app/skeleton.d.ts +79 -0
  107. package/dist/app/skeleton.js +185 -0
  108. package/dist/app/sparkline.d.ts +61 -0
  109. package/dist/app/sparkline.js +145 -0
  110. package/dist/app/split-view.d.ts +154 -0
  111. package/dist/app/split-view.js +272 -0
  112. package/dist/app/stat-card.d.ts +109 -0
  113. package/dist/app/stat-card.js +379 -0
  114. package/dist/app/status-strip.d.ts +70 -0
  115. package/dist/app/status-strip.js +155 -0
  116. package/dist/app/styles/action-row.d.ts +41 -0
  117. package/dist/app/styles/action-row.js +59 -0
  118. package/dist/{styles → app/styles}/chart-palette.d.ts +1 -1
  119. package/dist/{styles → app/styles}/graphic-host.d.ts +1 -1
  120. package/dist/{styles → app/styles}/legend-toggle.d.ts +1 -1
  121. package/dist/app/styles/stat-delta.d.ts +29 -0
  122. package/dist/app/styles/stat-delta.js +36 -0
  123. package/dist/app/styles/toast-stack.d.ts +21 -0
  124. package/dist/app/styles/toast-stack.js +54 -0
  125. package/dist/app/table.d.ts +327 -0
  126. package/dist/app/table.js +839 -0
  127. package/dist/{components → app}/toast.d.ts +105 -5
  128. package/dist/{components → app}/toast.js +101 -35
  129. package/dist/app/toasts.d.ts +49 -0
  130. package/dist/app/toasts.js +103 -0
  131. package/dist/{components → app}/toolbar.js +3 -3
  132. package/dist/{components → app}/tree.d.ts +1 -1
  133. package/dist/{components → app}/tree.js +10 -14
  134. package/dist/app/utils/app-shell-cookie.d.ts +21 -0
  135. package/dist/app/utils/app-shell-cookie.js +33 -0
  136. package/dist/{utils → app/utils}/chart-marker-indices.d.ts +9 -5
  137. package/dist/{utils → app/utils}/chart-marker-indices.js +9 -8
  138. package/dist/{utils → app/utils}/chart-path.d.ts +15 -11
  139. package/dist/{utils → app/utils}/chart-path.js +48 -20
  140. package/dist/{utils → app/utils}/chart-scale.js +1 -1
  141. package/dist/app/utils/edited-time.d.ts +19 -0
  142. package/dist/app/utils/edited-time.js +35 -0
  143. package/dist/app/utils/key-target.d.ts +23 -0
  144. package/dist/app/utils/key-target.js +48 -0
  145. package/dist/app/utils/search-params.d.ts +69 -0
  146. package/dist/app/utils/search-params.js +132 -0
  147. package/dist/app/utils/shortcut-groups.d.ts +21 -0
  148. package/dist/app/utils/shortcut-groups.js +53 -0
  149. package/dist/app/utils/split-view-layout.d.ts +48 -0
  150. package/dist/app/utils/split-view-layout.js +71 -0
  151. package/dist/app/view-options.d.ts +99 -0
  152. package/dist/app/view-options.js +182 -0
  153. package/dist/behaviors/index.d.ts +0 -5
  154. package/dist/behaviors/index.js +0 -5
  155. package/dist/{components → chat}/attachment.d.ts +1 -1
  156. package/dist/{components → chat}/attachment.js +17 -23
  157. package/dist/{behaviors → chat/behaviors}/scroll-follow-model.js +1 -1
  158. package/dist/{components → chat}/bubble.js +14 -14
  159. package/dist/chat/index.d.ts +16 -0
  160. package/dist/chat/index.js +16 -0
  161. package/dist/{components → chat}/marker.js +6 -8
  162. package/dist/{components → chat}/message-scroller.d.ts +1 -1
  163. package/dist/{components → chat}/message-scroller.js +12 -18
  164. package/dist/{components → chat}/message.js +10 -12
  165. package/dist/{mixins → chat/mixins}/message-follow.js +2 -2
  166. package/dist/{components → color}/color-area.js +7 -10
  167. package/dist/{components → color}/color-field.js +7 -6
  168. package/dist/{components → color}/color-picker.d.ts +1 -1
  169. package/dist/{components → color}/color-picker.js +9 -12
  170. package/dist/{components → color}/color-slider.js +10 -13
  171. package/dist/{components → color}/color-swatch-picker.js +4 -5
  172. package/dist/{components → color}/color-swatch.js +3 -4
  173. package/dist/{components → color}/color-wheel.js +5 -6
  174. package/dist/color/index.d.ts +21 -0
  175. package/dist/color/index.js +21 -0
  176. package/dist/{mixins → color/mixins}/color-area-drag.d.ts +1 -1
  177. package/dist/{mixins → color/mixins}/color-area-drag.js +2 -2
  178. package/dist/{mixins → color/mixins}/color-preview.js +1 -1
  179. package/dist/{mixins → color/mixins}/color-wheel-drag.js +1 -1
  180. package/dist/{styles → color/styles}/rtl-aware-gradient-direction.d.ts +1 -1
  181. package/dist/components/accordion.d.ts +3 -3
  182. package/dist/components/accordion.js +19 -15
  183. package/dist/components/alert-dialog.js +5 -4
  184. package/dist/components/alert.js +10 -20
  185. package/dist/components/aspect-ratio.js +3 -4
  186. package/dist/components/avatar.d.ts +6 -6
  187. package/dist/components/avatar.js +56 -8
  188. package/dist/components/badge.js +11 -9
  189. package/dist/components/banner.d.ts +61 -0
  190. package/dist/components/banner.js +101 -0
  191. package/dist/components/breadcrumbs.js +7 -9
  192. package/dist/components/button.d.ts +8 -6
  193. package/dist/components/button.js +22 -14
  194. package/dist/components/calendar.js +13 -24
  195. package/dist/components/card.js +9 -11
  196. package/dist/components/carousel.d.ts +1 -1
  197. package/dist/components/carousel.js +12 -20
  198. package/dist/components/checkbox-group.js +3 -3
  199. package/dist/components/checkbox.js +2 -2
  200. package/dist/components/combobox.js +6 -6
  201. package/dist/components/command.js +10 -14
  202. package/dist/components/confirm.d.ts +54 -5
  203. package/dist/components/confirm.js +44 -5
  204. package/dist/components/cta-group.d.ts +30 -14
  205. package/dist/components/cta-group.js +29 -10
  206. package/dist/components/date-field.js +2 -1
  207. package/dist/components/date-picker.js +4 -5
  208. package/dist/components/date-range-picker.js +3 -2
  209. package/dist/components/description.js +2 -1
  210. package/dist/components/dialog-dismiss.d.ts +18 -0
  211. package/dist/components/dialog-dismiss.js +15 -0
  212. package/dist/components/dialog.js +11 -15
  213. package/dist/components/disclosure.js +10 -14
  214. package/dist/components/drawer.js +3 -4
  215. package/dist/components/field-error.js +3 -3
  216. package/dist/components/form.js +2 -1
  217. package/dist/components/group.d.ts +14 -0
  218. package/dist/components/group.js +68 -13
  219. package/dist/components/header.js +3 -3
  220. package/dist/components/heading-scope.js +2 -1
  221. package/dist/components/heading.d.ts +4 -4
  222. package/dist/components/heading.js +7 -7
  223. package/dist/components/highlight.js +17 -12
  224. package/dist/components/hover-card.js +6 -8
  225. package/dist/components/image-placeholder.js +13 -19
  226. package/dist/components/index.d.ts +11 -38
  227. package/dist/components/index.js +11 -38
  228. package/dist/components/input.js +12 -7
  229. package/dist/components/item.js +10 -19
  230. package/dist/components/keyboard.js +3 -3
  231. package/dist/components/label.js +2 -1
  232. package/dist/components/link-button.d.ts +7 -5
  233. package/dist/components/link-button.js +24 -13
  234. package/dist/components/link.js +3 -4
  235. package/dist/components/listbox.js +6 -11
  236. package/dist/components/menu.js +5 -6
  237. package/dist/components/meter.js +5 -6
  238. package/dist/components/modal.js +9 -11
  239. package/dist/components/nav-link.d.ts +1 -1
  240. package/dist/components/nav-link.js +3 -4
  241. package/dist/components/navigation-menu.js +17 -23
  242. package/dist/components/number-field.js +8 -10
  243. package/dist/components/otp-field.js +2 -1
  244. package/dist/components/overlay-arrow.js +3 -4
  245. package/dist/components/pagination.js +8 -10
  246. package/dist/components/popover.js +3 -4
  247. package/dist/components/progress-bar.js +5 -5
  248. package/dist/components/property-list.d.ts +76 -0
  249. package/dist/components/property-list.js +175 -0
  250. package/dist/components/radio-group.js +5 -7
  251. package/dist/components/range-calendar.js +3 -3
  252. package/dist/components/relative-time.d.ts +72 -0
  253. package/dist/components/relative-time.js +45 -0
  254. package/dist/components/scroll-area.js +4 -5
  255. package/dist/components/search-field.js +8 -11
  256. package/dist/components/section.js +2 -1
  257. package/dist/components/select.js +10 -22
  258. package/dist/components/selection-indicator.js +3 -3
  259. package/dist/components/sentinel-row.js +3 -3
  260. package/dist/components/separator.js +3 -3
  261. package/dist/components/shared-element.js +2 -1
  262. package/dist/components/sheet.js +6 -7
  263. package/dist/components/sidebar.js +48 -76
  264. package/dist/components/slider.js +8 -10
  265. package/dist/components/spinner.js +3 -3
  266. package/dist/components/status-dot.d.ts +62 -0
  267. package/dist/components/status-dot.js +99 -0
  268. package/dist/components/switch.js +3 -3
  269. package/dist/components/tabs.js +9 -12
  270. package/dist/components/tag-group.js +7 -9
  271. package/dist/components/text-field.d.ts +17 -2
  272. package/dist/components/text-field.js +14 -4
  273. package/dist/components/text.js +2 -1
  274. package/dist/components/textarea.js +3 -4
  275. package/dist/components/time-field.js +2 -1
  276. package/dist/components/timeline.d.ts +67 -0
  277. package/dist/components/timeline.js +159 -0
  278. package/dist/components/toggle-button.js +5 -7
  279. package/dist/components/tooltip.js +3 -3
  280. package/dist/components/typeset.d.ts +2 -1
  281. package/dist/components/typeset.js +131 -123
  282. package/dist/components/youtube-embed.js +2 -1
  283. package/dist/docs/anchor-heading.d.ts +41 -0
  284. package/dist/docs/anchor-heading.js +62 -0
  285. package/dist/docs/callout.d.ts +46 -0
  286. package/dist/docs/callout.js +61 -0
  287. package/dist/docs/code-block.d.ts +74 -0
  288. package/dist/docs/code-block.js +322 -0
  289. package/dist/docs/code-tabs-sync.d.ts +26 -0
  290. package/dist/docs/code-tabs-sync.js +12 -0
  291. package/dist/docs/code-tabs.d.ts +53 -0
  292. package/dist/docs/code-tabs.js +102 -0
  293. package/dist/docs/copy-button.d.ts +31 -0
  294. package/dist/docs/copy-button.js +49 -0
  295. package/dist/docs/docs-feedback.d.ts +67 -0
  296. package/dist/docs/docs-feedback.js +74 -0
  297. package/dist/docs/docs-footer.d.ts +40 -0
  298. package/dist/docs/docs-footer.js +45 -0
  299. package/dist/docs/docs-hub.d.ts +93 -0
  300. package/dist/docs/docs-hub.js +142 -0
  301. package/dist/docs/docs-layout.d.ts +90 -0
  302. package/dist/docs/docs-layout.js +166 -0
  303. package/dist/docs/docs-nav-tools.d.ts +25 -0
  304. package/dist/docs/docs-nav-tools.js +14 -0
  305. package/dist/docs/docs-nav.d.ts +57 -0
  306. package/dist/docs/docs-nav.js +76 -0
  307. package/dist/docs/docs-not-found.d.ts +68 -0
  308. package/dist/docs/docs-not-found.js +100 -0
  309. package/dist/docs/docs-page-header.d.ts +55 -0
  310. package/dist/docs/docs-page-header.js +54 -0
  311. package/dist/docs/docs-pager.d.ts +50 -0
  312. package/dist/docs/docs-pager.js +75 -0
  313. package/dist/docs/file-tree.d.ts +57 -0
  314. package/dist/docs/file-tree.js +142 -0
  315. package/dist/docs/index.d.ts +38 -0
  316. package/dist/docs/index.js +38 -0
  317. package/dist/docs/install-command.d.ts +54 -0
  318. package/dist/docs/install-command.js +33 -0
  319. package/dist/docs/mixins/code-tabs-sync.d.ts +47 -0
  320. package/dist/docs/mixins/code-tabs-sync.js +137 -0
  321. package/dist/docs/mixins/copy-feedback.d.ts +25 -0
  322. package/dist/docs/mixins/copy-feedback.js +49 -0
  323. package/dist/docs/mixins/copy-from-url.d.ts +27 -0
  324. package/dist/docs/mixins/copy-from-url.js +95 -0
  325. package/dist/docs/mixins/docs-nav-tools.d.ts +27 -0
  326. package/dist/docs/mixins/docs-nav-tools.js +124 -0
  327. package/dist/docs/mixins/toc-spy.d.ts +30 -0
  328. package/dist/docs/mixins/toc-spy.js +165 -0
  329. package/dist/docs/next-steps.d.ts +45 -0
  330. package/dist/docs/next-steps.js +80 -0
  331. package/dist/docs/page-actions.d.ts +77 -0
  332. package/dist/docs/page-actions.js +78 -0
  333. package/dist/docs/plan-notice.d.ts +28 -0
  334. package/dist/docs/plan-notice.js +33 -0
  335. package/dist/docs/props-table.d.ts +64 -0
  336. package/dist/docs/props-table.js +147 -0
  337. package/dist/docs/steps.d.ts +51 -0
  338. package/dist/docs/steps.js +112 -0
  339. package/dist/docs/table-of-contents.d.ts +49 -0
  340. package/dist/docs/table-of-contents.js +139 -0
  341. package/dist/docs/ui-label.d.ts +51 -0
  342. package/dist/docs/ui-label.js +64 -0
  343. package/dist/docs/utils/docs-tree.d.ts +81 -0
  344. package/dist/docs/utils/docs-tree.js +57 -0
  345. package/dist/docs/utils/reveal-in-scroller.d.ts +19 -0
  346. package/dist/docs/utils/reveal-in-scroller.js +43 -0
  347. package/dist/landing/accent-text.d.ts +47 -0
  348. package/dist/landing/accent-text.js +107 -0
  349. package/dist/landing/animations/entrance.d.ts +40 -0
  350. package/dist/landing/animations/entrance.js +52 -0
  351. package/dist/landing/announcement-chip.d.ts +45 -0
  352. package/dist/landing/announcement-chip.js +36 -0
  353. package/dist/landing/author-band.d.ts +78 -0
  354. package/dist/landing/author-band.js +190 -0
  355. package/dist/landing/bento.d.ts +99 -0
  356. package/dist/landing/bento.js +138 -0
  357. package/dist/landing/changelog-strip.d.ts +74 -0
  358. package/dist/landing/changelog-strip.js +201 -0
  359. package/dist/{patterns → landing}/check-row.js +5 -7
  360. package/dist/{patterns → landing}/closing-cta.d.ts +4 -4
  361. package/dist/{patterns → landing}/closing-cta.js +8 -8
  362. package/dist/landing/code-stage.d.ts +93 -0
  363. package/dist/landing/code-stage.js +434 -0
  364. package/dist/landing/crosshair.d.ts +44 -0
  365. package/dist/landing/crosshair.js +48 -0
  366. package/dist/landing/curriculum.d.ts +79 -0
  367. package/dist/landing/curriculum.js +194 -0
  368. package/dist/landing/drawn-chart.d.ts +74 -0
  369. package/dist/landing/drawn-chart.js +377 -0
  370. package/dist/landing/event-ticker.d.ts +71 -0
  371. package/dist/landing/event-ticker.js +331 -0
  372. package/dist/landing/fan-out-diagram.d.ts +70 -0
  373. package/dist/landing/fan-out-diagram.js +481 -0
  374. package/dist/{patterns → landing}/faq-band.d.ts +5 -5
  375. package/dist/{patterns → landing}/faq-band.js +13 -14
  376. package/dist/landing/feature-band.d.ts +108 -0
  377. package/dist/landing/feature-band.js +67 -0
  378. package/dist/landing/feature.d.ts +148 -0
  379. package/dist/landing/feature.js +219 -0
  380. package/dist/landing/flow-diagram.d.ts +62 -0
  381. package/dist/landing/flow-diagram.js +240 -0
  382. package/dist/{patterns → landing}/icon-well.d.ts +17 -7
  383. package/dist/landing/icon-well.js +31 -0
  384. package/dist/landing/index.d.ts +52 -0
  385. package/dist/landing/index.js +52 -0
  386. package/dist/{patterns → landing}/install-tabs.js +4 -5
  387. package/dist/landing/landing-header.d.ts +103 -0
  388. package/dist/landing/landing-header.js +110 -0
  389. package/dist/landing/landing-hero.d.ts +119 -0
  390. package/dist/landing/landing-hero.js +172 -0
  391. package/dist/{components/marketing-section.d.ts → landing/landing-section.d.ts} +38 -15
  392. package/dist/landing/landing-section.js +183 -0
  393. package/dist/landing/logo-cloud.d.ts +56 -0
  394. package/dist/landing/logo-cloud.js +160 -0
  395. package/dist/landing/logo-sentence.d.ts +38 -0
  396. package/dist/landing/logo-sentence.js +51 -0
  397. package/dist/landing/marquee.d.ts +44 -0
  398. package/dist/landing/marquee.js +97 -0
  399. package/dist/landing/motion-loop.d.ts +43 -0
  400. package/dist/landing/motion-loop.js +42 -0
  401. package/dist/landing/pricing-band.d.ts +94 -0
  402. package/dist/landing/pricing-band.js +151 -0
  403. package/dist/landing/product-frame.d.ts +108 -0
  404. package/dist/landing/product-frame.js +202 -0
  405. package/dist/{patterns → landing}/proof-strip.d.ts +4 -4
  406. package/dist/{patterns → landing}/proof-strip.js +3 -3
  407. package/dist/landing/rails.d.ts +45 -0
  408. package/dist/landing/rails.js +69 -0
  409. package/dist/landing/rotating-text.d.ts +44 -0
  410. package/dist/landing/rotating-text.js +67 -0
  411. package/dist/landing/segmented-stage.d.ts +75 -0
  412. package/dist/landing/segmented-stage.js +141 -0
  413. package/dist/landing/sequence-diagram.d.ts +65 -0
  414. package/dist/landing/sequence-diagram.js +348 -0
  415. package/dist/landing/site-footer.d.ts +100 -0
  416. package/dist/landing/site-footer.js +274 -0
  417. package/dist/landing/site-header.d.ts +126 -0
  418. package/dist/landing/site-header.js +595 -0
  419. package/dist/{components → landing}/split.d.ts +12 -5
  420. package/dist/{components → landing}/split.js +26 -18
  421. package/dist/landing/sponsor-wall.d.ts +81 -0
  422. package/dist/landing/sponsor-wall.js +241 -0
  423. package/dist/{components → landing}/stat-strip.d.ts +31 -7
  424. package/dist/landing/stat-strip.js +105 -0
  425. package/dist/landing/step-list.d.ts +73 -0
  426. package/dist/landing/step-list.js +182 -0
  427. package/dist/landing/styles/card-grid.d.ts +115 -0
  428. package/dist/landing/styles/card-grid.js +295 -0
  429. package/dist/{patterns → landing}/tabbed-stage.d.ts +26 -8
  430. package/dist/landing/tabbed-stage.js +233 -0
  431. package/dist/landing/testimonial-band.d.ts +110 -0
  432. package/dist/landing/testimonial-band.js +164 -0
  433. package/dist/landing/typed-terminal.d.ts +62 -0
  434. package/dist/landing/typed-terminal.js +233 -0
  435. package/dist/landing/utils/pause-toggle.d.ts +37 -0
  436. package/dist/landing/utils/pause-toggle.js +71 -0
  437. package/dist/mixins/confirm-phrase.d.ts +19 -0
  438. package/dist/mixins/confirm-phrase.js +56 -0
  439. package/dist/mixins/copy-to-clipboard.d.ts +6 -0
  440. package/dist/mixins/copy-to-clipboard.js +17 -1
  441. package/dist/mixins/dialog-dismiss.d.ts +21 -0
  442. package/dist/mixins/dialog-dismiss.js +62 -0
  443. package/dist/mixins/index.d.ts +4 -15
  444. package/dist/mixins/index.js +4 -15
  445. package/dist/mixins/viewer-time.d.ts +20 -0
  446. package/dist/mixins/viewer-time.js +40 -0
  447. package/dist/styles/index.d.ts +3 -5
  448. package/dist/styles/index.js +3 -5
  449. package/dist/styles/landing.d.ts +200 -0
  450. package/dist/styles/landing.js +516 -0
  451. package/dist/styles/segmented-control.d.ts +49 -0
  452. package/dist/styles/segmented-control.js +71 -0
  453. package/dist/styles/surface-control.d.ts +18 -0
  454. package/dist/styles/surface-control.js +31 -0
  455. package/dist/test/table.d.ts +65 -0
  456. package/dist/test/table.js +108 -0
  457. package/dist/utils/eyebrow.d.ts +39 -0
  458. package/dist/utils/eyebrow.js +21 -0
  459. package/dist/utils/index.d.ts +2 -5
  460. package/dist/utils/index.js +2 -5
  461. package/dist/utils/relative-time.d.ts +44 -0
  462. package/dist/utils/relative-time.js +69 -0
  463. package/package.json +16 -6
  464. package/src/theme.css +87 -22
  465. package/dist/components/empty.d.ts +0 -91
  466. package/dist/components/empty.js +0 -151
  467. package/dist/components/feature.d.ts +0 -102
  468. package/dist/components/feature.js +0 -150
  469. package/dist/components/logo-cloud.d.ts +0 -42
  470. package/dist/components/logo-cloud.js +0 -41
  471. package/dist/components/marketing-header.d.ts +0 -71
  472. package/dist/components/marketing-header.js +0 -81
  473. package/dist/components/marketing-section.js +0 -117
  474. package/dist/components/skeleton.d.ts +0 -36
  475. package/dist/components/skeleton.js +0 -38
  476. package/dist/components/stat-strip.js +0 -65
  477. package/dist/components/table.d.ts +0 -152
  478. package/dist/components/table.js +0 -238
  479. package/dist/patterns/accent-text.d.ts +0 -30
  480. package/dist/patterns/accent-text.js +0 -17
  481. package/dist/patterns/announcement-chip.d.ts +0 -41
  482. package/dist/patterns/announcement-chip.js +0 -49
  483. package/dist/patterns/bento.d.ts +0 -68
  484. package/dist/patterns/bento.js +0 -94
  485. package/dist/patterns/code-stage.d.ts +0 -63
  486. package/dist/patterns/code-stage.js +0 -82
  487. package/dist/patterns/feature-band.d.ts +0 -85
  488. package/dist/patterns/feature-band.js +0 -50
  489. package/dist/patterns/icon-well.js +0 -38
  490. package/dist/patterns/index.d.ts +0 -23
  491. package/dist/patterns/index.js +0 -23
  492. package/dist/patterns/landing-hero.d.ts +0 -93
  493. package/dist/patterns/landing-hero.js +0 -126
  494. package/dist/patterns/product-frame.d.ts +0 -60
  495. package/dist/patterns/product-frame.js +0 -70
  496. package/dist/patterns/step-list.d.ts +0 -47
  497. package/dist/patterns/step-list.js +0 -85
  498. package/dist/patterns/tabbed-stage.js +0 -77
  499. package/dist/styles/marketing.d.ts +0 -120
  500. package/dist/styles/marketing.js +0 -225
  501. package/dist/utils/semantic-color-panel.d.ts +0 -35
  502. package/dist/utils/semantic-color-panel.js +0 -28
  503. /package/dist/{behaviors → app/behaviors}/drag-session.d.ts +0 -0
  504. /package/dist/{behaviors → app/behaviors}/resize-session.d.ts +0 -0
  505. /package/dist/{behaviors → app/behaviors}/resize-session.js +0 -0
  506. /package/dist/{behaviors → app/behaviors}/selection-model.d.ts +0 -0
  507. /package/dist/{behaviors → app/behaviors}/selection-model.js +0 -0
  508. /package/dist/{components → app}/drop-indicator.d.ts +0 -0
  509. /package/dist/{components → app}/file-trigger.d.ts +0 -0
  510. /package/dist/{components → app}/menubar.d.ts +0 -0
  511. /package/dist/{mixins → app/mixins}/chart-tooltip.d.ts +0 -0
  512. /package/dist/{mixins → app/mixins}/chart-tooltip.js +0 -0
  513. /package/dist/{mixins → app/mixins}/context-menu.d.ts +0 -0
  514. /package/dist/{mixins → app/mixins}/context-menu.js +0 -0
  515. /package/dist/{mixins → app/mixins}/drag-reorder.d.ts +0 -0
  516. /package/dist/{mixins → app/mixins}/drop-zone.d.ts +0 -0
  517. /package/dist/{mixins → app/mixins}/grid-list-keys.d.ts +0 -0
  518. /package/dist/{mixins → app/mixins}/menubar-keys.d.ts +0 -0
  519. /package/dist/{mixins → app/mixins}/resize-handle.d.ts +0 -0
  520. /package/dist/{mixins/treeKeys.d.ts → app/mixins/tree-keys.d.ts} +0 -0
  521. /package/dist/{components → app}/resizable.d.ts +0 -0
  522. /package/dist/{components → app}/shortcut-list.d.ts +0 -0
  523. /package/dist/{styles → app/styles}/chart-palette.js +0 -0
  524. /package/dist/{styles → app/styles}/graphic-host.js +0 -0
  525. /package/dist/{styles → app/styles}/legend-toggle.js +0 -0
  526. /package/dist/{components → app}/toolbar.d.ts +0 -0
  527. /package/dist/{utils → app/utils}/chart-scale.d.ts +0 -0
  528. /package/dist/{behaviors → chat/behaviors}/scroll-follow-model.d.ts +0 -0
  529. /package/dist/{components → chat}/bubble.d.ts +0 -0
  530. /package/dist/{components → chat}/marker.d.ts +0 -0
  531. /package/dist/{components → chat}/message.d.ts +0 -0
  532. /package/dist/{mixins → chat/mixins}/attachment-trigger.d.ts +0 -0
  533. /package/dist/{mixins → chat/mixins}/attachment-trigger.js +0 -0
  534. /package/dist/{mixins → chat/mixins}/message-follow.d.ts +0 -0
  535. /package/dist/{components → color}/color-area.d.ts +0 -0
  536. /package/dist/{components → color}/color-field.d.ts +0 -0
  537. /package/dist/{components → color}/color-slider.d.ts +0 -0
  538. /package/dist/{components → color}/color-swatch-picker.d.ts +0 -0
  539. /package/dist/{components → color}/color-swatch.d.ts +0 -0
  540. /package/dist/{components → color}/color-wheel.d.ts +0 -0
  541. /package/dist/{mixins → color/mixins}/color-channel-sync.d.ts +0 -0
  542. /package/dist/{mixins → color/mixins}/color-channel-sync.js +0 -0
  543. /package/dist/{mixins → color/mixins}/color-preview.d.ts +0 -0
  544. /package/dist/{mixins → color/mixins}/color-wheel-drag.d.ts +0 -0
  545. /package/dist/{styles → color/styles}/rtl-aware-gradient-direction.js +0 -0
  546. /package/dist/{utils → color/utils}/hue-spectrum.d.ts +0 -0
  547. /package/dist/{utils → color/utils}/hue-spectrum.js +0 -0
  548. /package/dist/{patterns → landing}/check-row.d.ts +0 -0
  549. /package/dist/{patterns → landing}/install-tabs.d.ts +0 -0
@@ -0,0 +1,62 @@
1
+ /**
2
+ * A small coloured dot that names a record's state beside its label, plus a dot cluster that
3
+ * summarises a set of states as `n/N`. The tone comes from a semantic role, and only an
4
+ * in-progress state pulses, so a list polled every few seconds stays still between changes.
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
+ import type { SemanticColor } from "../utils/semantic-color.js";
11
+ /**
12
+ * Prop types for {@link StatusDot} and its compound parts.
13
+ */
14
+ export declare namespace StatusDot {
15
+ /**
16
+ * The role a state reads in: up or ok is `success`, degraded or pending is `warning`, down
17
+ * or failed is `danger`, paused or unknown is `neutral`, in progress is `brand`.
18
+ */
19
+ type Color = SemanticColor;
20
+ /**
21
+ * Every native `<span>` attribute plus the dot's tone. Children are the visible label; a dot
22
+ * without one needs `aria-label` naming the state.
23
+ */
24
+ interface Props extends TagProps<"span"> {
25
+ /** Semantic role of the state. Defaults to {@link DEFAULT_COLOR}. */
26
+ color?: Color;
27
+ /**
28
+ * Marks a state still in progress (queued, deploying, checking): the dot pulses until the
29
+ * state settles, and holds still for visitors who prefer reduced motion.
30
+ */
31
+ pulse?: boolean;
32
+ /** The state's name, such as "Up" or "Deploying". */
33
+ children?: RemixNode;
34
+ }
35
+ /**
36
+ * Every native `<span>` attribute plus the states to draw and the count they summarise.
37
+ */
38
+ interface SummaryProps extends TagProps<"span"> {
39
+ /** One dot per chosen state, drawn overlapping in this order; an empty list shows `n/N` alone. */
40
+ colors?: Color[];
41
+ /** How many states are chosen, the `n` of `n/N`. */
42
+ count: number;
43
+ /** How many states exist, the `N` of `n/N`. */
44
+ total: number;
45
+ /** What the summary announces in full, such as "4 of 5 statuses shown". */
46
+ label: string;
47
+ }
48
+ }
49
+ /**
50
+ * Renders a dot and its label. With a label the dot is `aria-hidden`, since the text already
51
+ * names the state; without one the host becomes `role="img"` and its `aria-label` is the name.
52
+ *
53
+ * @param handle Runtime handle carrying the host `<span>`'s props.
54
+ * @returns The render function producing the dot's markup.
55
+ * @example <StatusDot color="success">{t("monitor.up")}</StatusDot>
56
+ * @example <StatusDot color="brand" pulse>{t("deploy.building")}</StatusDot>
57
+ * @example <StatusDot color="danger" aria-label={t("monitor.down")} />
58
+ */
59
+ export declare function StatusDot(handle: Handle<StatusDot.Props>): () => import("remix/component").RemixElement;
60
+ export declare namespace StatusDot {
61
+ var Summary: (handle: Handle<StatusDot.SummaryProps>) => () => import("remix/component").RemixElement;
62
+ }
@@ -0,0 +1,99 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "remix/component/jsx-runtime";
2
+ import { visuallyHidden } from "@sdxc/u/a11y";
3
+ import { animationHost, keyframes } from "@sdxc/u/animation";
4
+ import { bg, fg } from "@sdxc/u/color";
5
+ import { rounded } from "@sdxc/u/effects";
6
+ import { mergeMix, raw } from "@sdxc/u/general";
7
+ import { inlineFlex, items, relative, shrink } from "@sdxc/u/layout";
8
+ import { motionSafe } from "@sdxc/u/responsive";
9
+ import { bs, is } from "@sdxc/u/size";
10
+ import { when } from "@sdxc/u/state";
11
+ import { fontSize, nowrap, tabularNums } from "@sdxc/u/typography";
12
+ /** Semantic role a dot takes when `color` is omitted: a state the page cannot name yet. */
13
+ const DEFAULT_COLOR = "neutral";
14
+ /** Dot diameter, overridable through `--ui-status-dot-size`. */
15
+ const DOT_SIZE = "var(--ui-status-dot-size, 0.5rem)";
16
+ /**
17
+ * Renders a dot and its label. With a label the dot is `aria-hidden`, since the text already
18
+ * names the state; without one the host becomes `role="img"` and its `aria-label` is the name.
19
+ *
20
+ * @param handle Runtime handle carrying the host `<span>`'s props.
21
+ * @returns The render function producing the dot's markup.
22
+ * @example <StatusDot color="success">{t("monitor.up")}</StatusDot>
23
+ * @example <StatusDot color="brand" pulse>{t("deploy.building")}</StatusDot>
24
+ * @example <StatusDot color="danger" aria-label={t("monitor.down")} />
25
+ */
26
+ export function StatusDot(handle) {
27
+ return () => {
28
+ let { color, pulse, children, mix, ...rest } = handle.props;
29
+ let labelled = children !== undefined && children !== null && children !== false;
30
+ return (_jsxs("span", { role: labelled ? undefined : "img", ...rest, "data-slot": "status-dot", "data-color": color ?? DEFAULT_COLOR, "data-pulse": pulse ? "" : undefined, mix: mergeMix([inlineFlex(), items("center"), raw({ gap: "0.5em" }), fontSize("sm"), nowrap()], mix), children: [_jsx(Dot, { pulse: pulse }), labelled ? _jsx("span", { "data-slot": "status-dot-label", children: children }) : null] }));
31
+ };
32
+ }
33
+ /**
34
+ * Draws one `aria-hidden` circle coloured by the nearest `data-color`, its own or its host's.
35
+ * The pulse is a ring that grows and fades from the dot, so the dot itself keeps its colour
36
+ * steady for anyone reading it.
37
+ *
38
+ * @param handle Runtime handle carrying the dot's tone and motion.
39
+ * @returns The render function producing the circle.
40
+ */
41
+ function Dot(handle) {
42
+ return () => {
43
+ let { pulse, overlap, color } = handle.props;
44
+ return (_jsx("span", { "aria-hidden": "true", "data-slot": "status-dot-dot", "data-color": color, mix: [
45
+ relative(),
46
+ shrink(0),
47
+ is(DOT_SIZE),
48
+ bs(DOT_SIZE),
49
+ rounded("full"),
50
+ bg("neutral.strong"),
51
+ when(':is([data-color="success"] > &, &[data-color="success"])', bg("success.solid")),
52
+ when(':is([data-color="warning"] > &, &[data-color="warning"])', bg("warning.solid")),
53
+ when(':is([data-color="danger"] > &, &[data-color="danger"])', bg("danger.solid")),
54
+ when(':is([data-color="brand"] > &, &[data-color="brand"])', bg("brand.solid")),
55
+ overlap
56
+ ? raw({
57
+ boxShadow: "0 0 0 2px var(--ui-bg, Canvas)",
58
+ "&:not(:first-child)": { marginInlineStart: "-0.1875rem" },
59
+ })
60
+ : undefined,
61
+ pulse
62
+ ? [
63
+ keyframes("ui-status-dot-pulse", {
64
+ from: { opacity: 0.6, transform: "scale(1)" },
65
+ to: { opacity: 0, transform: "scale(2.5)" },
66
+ }),
67
+ when("&::after", raw({
68
+ content: '""',
69
+ position: "absolute",
70
+ inset: 0,
71
+ borderRadius: "inherit",
72
+ backgroundColor: "inherit",
73
+ opacity: 0,
74
+ })),
75
+ motionSafe(when("&::after", animationHost("ui-status-dot-pulse", {
76
+ duration: "1.6s",
77
+ easing: "cubic-bezier(0, 0, 0.2, 1)",
78
+ iterationCount: "infinite",
79
+ }))),
80
+ ]
81
+ : undefined,
82
+ ] }));
83
+ };
84
+ }
85
+ /**
86
+ * Renders a compact summary of several states, overlapping dots followed by `n/N`, for a
87
+ * filter trigger that shows which statuses are on. The figures are visual; `label` is what
88
+ * assistive technology reads.
89
+ *
90
+ * @param handle Runtime handle carrying the host `<span>`'s props.
91
+ * @returns The render function producing the summary's markup.
92
+ * @example <StatusDot.Summary colors={["success", "warning"]} count={2} total={5} label={t("filters.statusCount", { count: 2, total: 5 })} />
93
+ */
94
+ StatusDot.Summary = function StatusDotSummary(handle) {
95
+ return () => {
96
+ let { colors, count, total, label, mix, ...rest } = handle.props;
97
+ return (_jsxs("span", { ...rest, "data-slot": "status-dot-summary", mix: mergeMix([inlineFlex(), items("center"), raw({ gap: "0.375em" }), fontSize("sm"), nowrap()], mix), children: [_jsx("span", { "aria-hidden": "true", mix: [inlineFlex(), items("center")], children: (colors ?? []).map((color, index) => (_jsx(Dot, { color: color, overlap: true }, index))) }), _jsxs("span", { "aria-hidden": "true", mix: [tabularNums(), fg("neutral.muted")], children: [count, "/", total] }), _jsx("span", { mix: [visuallyHidden()], children: label })] }));
98
+ };
99
+ };
@@ -1,5 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "remix/component/jsx-runtime";
2
2
  import { absolute, appearance, before, bg, bs, cursor, focusVisible, hstack, inlineBlock, insBs, insIs, is, m, media, opacity, outline, pseudoContent, verticalAlign, relative, rounded, scaleProperty, shadow, shrink, transition, transitionDuration, when, } from "@sdxc/u";
3
+ import { mergeMix } from "@sdxc/u/general";
3
4
  import { attrs } from "remix/component";
4
5
  import { durations, easings } from "../animations/tokens.js";
5
6
  /**
@@ -32,7 +33,7 @@ export function Switch(handle) {
32
33
  let { mix, children, ...rest } = handle.props;
33
34
  let track = (_jsx("input", { ...rest, type: "checkbox",
34
35
  // oxlint-disable-next-line jsx-a11y/role-has-required-aria-props -- The host is a native checkbox, so its own checkedness supplies the switch's checked state; see the note above for why authoring one would be worse than omitting it.
35
- role: "switch", mix: [
36
+ role: "switch", mix: mergeMix([
36
37
  attrs({ switch: DEFAULT_SWITCH_ATTRIBUTE }),
37
38
  appearance(),
38
39
  relative(),
@@ -69,8 +70,7 @@ export function Switch(handle) {
69
70
  when("&:checked", before(insIs("calc(var(--ui-switch-track-inline-size, 2.75rem) - var(--ui-switch-thumb-size, 1.25rem) - var(--ui-switch-thumb-inset, 0.125rem))"))),
70
71
  when("&:active", before(scaleProperty("0.95"))),
71
72
  media("(prefers-reduced-motion: reduce)", before(transitionDuration("0s"))),
72
- mix,
73
- ] }));
73
+ ], mix) }));
74
74
  if (children === undefined)
75
75
  return track;
76
76
  return (_jsxs("label", { mix: [
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "remix/component/jsx-runtime";
2
2
  import { bg, borderEdge, fg, outline, outlineStyle } from "@sdxc/u/color";
3
3
  import { opacity, transition } from "@sdxc/u/effects";
4
- import { cursor, raw } from "@sdxc/u/general";
4
+ import { cursor, raw, mergeMix } from "@sdxc/u/general";
5
5
  import { absolute, basis, flexCol, flexRow, grow, hstack, insBe, insIs, inset, relative, shrink, vstack, } from "@sdxc/u/layout";
6
6
  import { bs, is, mbe, mie, pb, pi } from "@sdxc/u/size";
7
7
  import { after, data, when } from "@sdxc/u/state";
@@ -62,7 +62,7 @@ export function Tabs(handle) {
62
62
  let { orientation, mix, ...rest } = handle.props;
63
63
  let resolvedOrientation = orientation ?? DEFAULT_ORIENTATION;
64
64
  handle.context.set({ orientation: resolvedOrientation });
65
- return (_jsx("div", { "data-orientation": resolvedOrientation, ...rest, mix: [vstack(), data("orientation", "vertical", flexRow()), mix] }));
65
+ return (_jsx("div", { "data-orientation": resolvedOrientation, ...rest, mix: mergeMix([vstack(), data("orientation", "vertical", flexRow())], mix) }));
66
66
  };
67
67
  }
68
68
  /**
@@ -123,7 +123,7 @@ Tabs.List = function TabsList(handle) {
123
123
  let indicatorMix = activeIndex !== undefined && tabSize !== undefined
124
124
  ? tabIndicatorMix(context.orientation, activeIndex, tabSize)
125
125
  : undefined;
126
- return (_jsx("div", { "data-orientation": context.orientation, "aria-orientation": context.orientation, ...rest, mix: [
126
+ return (_jsx("div", { "data-orientation": context.orientation, "aria-orientation": context.orientation, ...rest, mix: mergeMix([
127
127
  attrs({ role: DEFAULT_LIST_ROLE }),
128
128
  relative(),
129
129
  hstack({ gap: LIST_GAP }),
@@ -155,8 +155,7 @@ Tabs.List = function TabsList(handle) {
155
155
  ]),
156
156
  ]),
157
157
  indicatorMix,
158
- mix,
159
- ] }));
158
+ ], mix) }));
160
159
  };
161
160
  };
162
161
  /**
@@ -177,7 +176,7 @@ Tabs.Tab = function TabsTab(handle) {
177
176
  return () => {
178
177
  let { mix, ...rest } = handle.props;
179
178
  let context = handle.context.get(Tabs);
180
- return (_jsx("a", { "data-orientation": context.orientation, ...rest, mix: [
179
+ return (_jsx("a", { "data-orientation": context.orientation, ...rest, mix: mergeMix([
181
180
  interactiveTransition(),
182
181
  attrs({ role: DEFAULT_TAB_ROLE }),
183
182
  when("&:focus-visible", outline({ color: "brand.ring", offset: 2 })),
@@ -199,8 +198,7 @@ Tabs.Tab = function TabsTab(handle) {
199
198
  borderEdge("block-end", { width: "0" }),
200
199
  borderEdge("inline-end", { color: "transparent", width: 2 }),
201
200
  ]),
202
- mix,
203
- ] }));
201
+ ], mix) }));
204
202
  };
205
203
  };
206
204
  /**
@@ -218,7 +216,7 @@ Tabs.Tab = function TabsTab(handle) {
218
216
  Tabs.Panels = function TabsPanels(handle) {
219
217
  return () => {
220
218
  let { mix, ...rest } = handle.props;
221
- return _jsx("div", { ...rest, mix: [grow(), shrink(1), basis("0%"), mix] });
219
+ return _jsx("div", { ...rest, mix: mergeMix([grow(), shrink(1), basis("0%")], mix) });
222
220
  };
223
221
  };
224
222
  /**
@@ -234,13 +232,12 @@ Tabs.Panels = function TabsPanels(handle) {
234
232
  Tabs.Panel = function TabsPanel(handle) {
235
233
  return () => {
236
234
  let { mix, ...rest } = handle.props;
237
- return (_jsx("div", { ...rest, mix: [
235
+ return (_jsx("div", { ...rest, mix: mergeMix([
238
236
  attrs({ role: DEFAULT_PANEL_ROLE, tabIndex: DEFAULT_PANEL_TAB_INDEX }),
239
237
  when("&:focus-visible", outline({ color: "brand.ring", offset: 2 })),
240
238
  pb(4),
241
239
  pi(4),
242
240
  outlineStyle("none"),
243
- mix,
244
- ] }));
241
+ ], mix) }));
245
242
  };
246
243
  };
@@ -2,7 +2,7 @@ import { jsx as _jsx } from "remix/component/jsx-runtime";
2
2
  import { XIcon } from "@sdxc/icons";
3
3
  import { bg, fg, outline, outlineColor } from "@sdxc/u/color";
4
4
  import { opacity, rounded } from "@sdxc/u/effects";
5
- import { cursor, listStyle, vars } from "@sdxc/u/general";
5
+ import { cursor, listStyle, vars, mergeMix } from "@sdxc/u/general";
6
6
  import { flex, flexWrap, gap, inlineFlex, items, vstack } from "@sdxc/u/layout";
7
7
  import { bs, is, m, mie, p, pb, pi } from "@sdxc/u/size";
8
8
  import { active, data, hover, when } from "@sdxc/u/state";
@@ -38,7 +38,7 @@ export function TagGroup(handle) {
38
38
  return () => {
39
39
  let { mix, ...rest } = handle.props;
40
40
  warnIfNoAccessibleLabel(handle.props, 'TagGroup: a group with no "aria-label" or "aria-labelledby" needs one describing the set of tags — assistive technology has no accessible name to announce otherwise.');
41
- return (_jsx("div", { ...rest, "data-slot": "tag-group", mix: [attrs({ role: DEFAULT_ROLE }), vstack({ gap: 1 }), mix] }));
41
+ return (_jsx("div", { ...rest, "data-slot": "tag-group", mix: mergeMix([attrs({ role: DEFAULT_ROLE }), vstack({ gap: 1 })], mix) }));
42
42
  };
43
43
  }
44
44
  /**
@@ -57,7 +57,7 @@ export function TagGroup(handle) {
57
57
  TagGroup.List = function TagGroupList(handle) {
58
58
  return () => {
59
59
  let { mix, ...rest } = handle.props;
60
- return (_jsx("ul", { ...rest, "data-slot": "list", mix: [flex(), flexWrap("wrap"), gap(2), m(0), p(0), listStyle(), mix] }));
60
+ return (_jsx("ul", { ...rest, "data-slot": "list", mix: mergeMix([flex(), flexWrap("wrap"), gap(2), m(0), p(0), listStyle()], mix) }));
61
61
  };
62
62
  };
63
63
  /**
@@ -79,7 +79,7 @@ TagGroup.Tag = function TagGroupTag(handle) {
79
79
  let { color, size, mix, ...rest } = handle.props;
80
80
  let resolvedColor = color ?? DEFAULT_COLOR;
81
81
  let resolvedSize = size ?? DEFAULT_SIZE;
82
- return (_jsx("li", { ...rest, "data-color": resolvedColor, "data-size": resolvedSize, "data-slot": "tag", mix: [
82
+ return (_jsx("li", { ...rest, "data-color": resolvedColor, "data-size": resolvedSize, "data-slot": "tag", mix: mergeMix([
83
83
  when("&:focus-visible", [
84
84
  outline({ color: "brand.ring", offset: 2 }),
85
85
  data("color", "neutral", outline("neutral.ring")),
@@ -105,8 +105,7 @@ TagGroup.Tag = function TagGroupTag(handle) {
105
105
  text("sm"),
106
106
  data("size", "sm", text("xs")),
107
107
  data("color", "neutral", [bg("neutral.bg-tint-hover"), fg("neutral")]),
108
- mix,
109
- ] }));
108
+ ], mix) }));
110
109
  };
111
110
  };
112
111
  /**
@@ -131,7 +130,7 @@ TagGroup.Tag = function TagGroupTag(handle) {
131
130
  TagGroup.Remove = function TagGroupRemove(handle) {
132
131
  return () => {
133
132
  let { mix, ...rest } = handle.props;
134
- return (_jsx(Button, { ...rest, type: "submit", variant: "ghost", "data-slot": "remove", mix: [
133
+ return (_jsx(Button, { ...rest, type: "submit", variant: "ghost", "data-slot": "remove", mix: mergeMix([
135
134
  /**
136
135
  * The control shrinks through Button's own icon-only measure, so it sits inside
137
136
  * the pill's line instead of stretching the tag to a full button row, while
@@ -156,7 +155,6 @@ TagGroup.Remove = function TagGroupRemove(handle) {
156
155
  when('[data-color="success"] &:focus-visible', outlineColor("success")),
157
156
  when('[data-color="danger"] &:focus-visible', outlineColor("danger")),
158
157
  when('[data-color="warning"] &:focus-visible', outlineColor("warning")),
159
- mix,
160
- ], children: _jsx(XIcon, { size: 12 }) }));
158
+ ], mix), children: _jsx(XIcon, { size: 12 }) }));
161
159
  };
162
160
  };
@@ -31,13 +31,18 @@ export declare namespace TextField {
31
31
  * Per-part styling for the elements this convenience wrapper composes in
32
32
  * one call, layered after each part's own built-in styling.
33
33
  */
34
- type PartsProps = FieldPartsProps;
34
+ interface PartsProps extends FieldPartsProps {
35
+ /** Styling for the row joining the control to its addons, rendered only with a `prefix` or `suffix`. */
36
+ group?: TagProps<"div">["mix"];
37
+ prefix?: TagProps<"label">["mix"];
38
+ suffix?: TagProps<"label">["mix"];
39
+ }
35
40
  /**
36
41
  * Props accepted by {@link TextField}. `mix` styles the root element
37
42
  * grouping the field's parts; style the composed label, control,
38
43
  * description, and error individually through `parts` instead.
39
44
  */
40
- interface Props extends Omit<TagProps<"div">, "children"> {
45
+ interface Props extends Omit<TagProps<"div">, "children" | "prefix"> {
41
46
  /** Semantic color role for the control's focus ring. Defaults to `"neutral"` when omitted. */
42
47
  color?: Color;
43
48
  /**
@@ -52,6 +57,14 @@ export declare namespace TextField {
52
57
  * render no description.
53
58
  */
54
59
  description?: RemixNode;
60
+ /**
61
+ * Static text joined to the control's leading edge as one field — a currency, a
62
+ * domain. It describes the control through `aria-describedby`, stays out of its
63
+ * name, and focuses the control when clicked.
64
+ */
65
+ prefix?: RemixNode;
66
+ /** Static text joined to the control's trailing edge as one field — a unit, a domain suffix. */
67
+ suffix?: RemixNode;
55
68
  /**
56
69
  * Validation message rendered through {@link FieldError} beneath the
57
70
  * control, marking `aria-invalid` unless set explicitly. Falls back to
@@ -109,6 +122,8 @@ export declare namespace TextField {
109
122
  * description={t("form.password.hint")}
110
123
  * />
111
124
  * @example
125
+ * <TextField label={t("settings.slug.label")} name="slug" prefix="pulse.dev/" />
126
+ * @example
112
127
  * <TextField
113
128
  * label={t("form.username.label")}
114
129
  * name="username"
@@ -1,9 +1,11 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "remix/component/jsx-runtime";
2
+ import { mergeMix } from "@sdxc/u/general";
2
3
  import { fieldStackLayout } from "../styles/field-stack-layout.js";
3
4
  import { resolveFieldWiring } from "../utils/resolve-field-wiring.js";
4
5
  import { Description } from "./description.js";
5
6
  import { FieldError } from "./field-error.js";
6
7
  import { resolveFieldIssue } from "./form.js";
8
+ import { Group } from "./group.js";
7
9
  import { Input } from "./input.js";
8
10
  import { Label } from "./label.js";
9
11
  /** Native `<input>` `type` {@link TextField} falls back to when `type` is omitted. */
@@ -25,6 +27,8 @@ const DEFAULT_TYPE = "text";
25
27
  * description={t("form.password.hint")}
26
28
  * />
27
29
  * @example
30
+ * <TextField label={t("settings.slug.label")} name="slug" prefix="pulse.dev/" />
31
+ * @example
28
32
  * <TextField
29
33
  * label={t("form.username.label")}
30
34
  * name="username"
@@ -34,7 +38,7 @@ const DEFAULT_TYPE = "text";
34
38
  */
35
39
  export function TextField(handle) {
36
40
  return () => {
37
- let { color, label, description, errorMessage: errorMessageProp, autoFocus, type, name, value, defaultValue, placeholder, required, disabled, readOnly, autoComplete, pattern, minLength, maxLength, "aria-invalid": ariaInvalidProp, parts, mix, ...rest } = handle.props;
41
+ let { color, label, description, prefix, suffix, errorMessage: errorMessageProp, autoFocus, type, name, value, defaultValue, placeholder, required, disabled, readOnly, autoComplete, pattern, minLength, maxLength, "aria-invalid": ariaInvalidProp, parts, mix, ...rest } = handle.props;
38
42
  let resolvedType = type ?? DEFAULT_TYPE;
39
43
  let { errorMessage, isFirstInvalid } = resolveFieldIssue(handle, name, errorMessageProp);
40
44
  let resolvedAutoFocus = autoFocus ?? (isFirstInvalid || undefined);
@@ -44,8 +48,14 @@ export function TextField(handle) {
44
48
  description,
45
49
  ariaInvalid: ariaInvalidProp,
46
50
  });
47
- return (_jsxs("div", { ...rest, "data-slot": "text-field", mix: [fieldStackLayout(), mix], children: [_jsx(Label, { htmlFor: handle.id, mix: parts?.label, children: label }), _jsx(Input, { id: handle.id, type: resolvedType, name: name, value: value, defaultValue: defaultValue, placeholder: placeholder, required: required, disabled: disabled, readOnly: readOnly, autoComplete: autoComplete, pattern: pattern, minLength: minLength, maxLength: maxLength,
48
- // oxlint-disable-next-line jsx-a11y/no-autofocus -- Not a focus grab on page load: this only ever resolves true for the first field an enclosing Form reports as invalid, so a failed submit lands the user on the problem instead of leaving them to hunt for it.
49
- autoFocus: resolvedAutoFocus, "aria-invalid": resolvedInvalid, "aria-describedby": describedBy, color: resolvedColor, mix: parts?.input }), description ? (_jsx(Description, { id: descriptionId, mix: parts?.description, children: description })) : null, errorMessage ? (_jsx(FieldError, { id: errorId, mix: parts?.error, children: errorMessage })) : null] }));
51
+ let hasAddon = Boolean(prefix || suffix);
52
+ let labelId = hasAddon ? `${handle.id}-label` : undefined;
53
+ let prefixId = prefix ? `${handle.id}-prefix` : undefined;
54
+ let suffixId = suffix ? `${handle.id}-suffix` : undefined;
55
+ let controlDescribedBy = [prefixId, suffixId, describedBy].filter(Boolean).join(" ") || undefined;
56
+ let control = (_jsx(Input, { id: handle.id, type: resolvedType, name: name, value: value, defaultValue: defaultValue, placeholder: placeholder, required: required, disabled: disabled, readOnly: readOnly, autoComplete: autoComplete, pattern: pattern, minLength: minLength, maxLength: maxLength,
57
+ // oxlint-disable-next-line jsx-a11y/no-autofocus -- Not a focus grab on page load: this only ever resolves true for the first field an enclosing Form reports as invalid, so a failed submit lands the user on the problem instead of leaving them to hunt for it.
58
+ autoFocus: resolvedAutoFocus, "aria-invalid": resolvedInvalid, "aria-labelledby": labelId, "aria-describedby": controlDescribedBy, color: resolvedColor, mix: parts?.input }));
59
+ return (_jsxs("div", { ...rest, "data-slot": "text-field", mix: mergeMix(fieldStackLayout(), mix), children: [_jsx(Label, { id: labelId, htmlFor: handle.id, mix: parts?.label, children: label }), hasAddon ? (_jsxs(Group, { role: "presentation", mix: parts?.group, children: [prefix ? (_jsx(Group.Text, { id: prefixId, htmlFor: handle.id, mix: parts?.prefix, children: prefix })) : null, control, suffix ? (_jsx(Group.Text, { id: suffixId, htmlFor: handle.id, mix: parts?.suffix, children: suffix })) : null] })) : (control), description ? (_jsx(Description, { id: descriptionId, mix: parts?.description, children: description })) : null, errorMessage ? (_jsx(FieldError, { id: errorId, mix: parts?.error, children: errorMessage })) : null] }));
50
60
  };
51
61
  }
@@ -1,5 +1,6 @@
1
1
  import { jsx as _jsx } from "remix/component/jsx-runtime";
2
2
  import { fg } from "@sdxc/u/color";
3
+ import { mergeMix } from "@sdxc/u/general";
3
4
  import { pretty, text } from "@sdxc/u/typography";
4
5
  /**
5
6
  * Renders its children inside a `<span>` sized and colored as a small run of
@@ -14,6 +15,6 @@ import { pretty, text } from "@sdxc/u/typography";
14
15
  export function Text(handle) {
15
16
  return () => {
16
17
  let { mix, ...rest } = handle.props;
17
- return _jsx("span", { ...rest, mix: [fg("neutral"), text("sm"), pretty(), mix] });
18
+ return _jsx("span", { ...rest, mix: mergeMix([fg("neutral"), text("sm"), pretty()], mix) });
18
19
  };
19
20
  }
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "remix/component/jsx-runtime";
2
2
  import { border, bg, fg, outline } from "@sdxc/u/color";
3
3
  import { rounded, opacity } from "@sdxc/u/effects";
4
- import { cursor, raw } from "@sdxc/u/general";
4
+ import { cursor, raw, mergeMix } from "@sdxc/u/general";
5
5
  import { block } from "@sdxc/u/layout";
6
6
  import { is, bs, minBs, pi, pb } from "@sdxc/u/size";
7
7
  import { when, hover, invalid } from "@sdxc/u/state";
@@ -33,7 +33,7 @@ export function TextArea(handle) {
33
33
  return () => {
34
34
  let { color, mix, ...rest } = handle.props;
35
35
  let resolvedColor = color ?? DEFAULT_COLOR;
36
- return (_jsx("textarea", { ...rest, "data-color": resolvedColor, mix: [
36
+ return (_jsx("textarea", { ...rest, "data-color": resolvedColor, mix: mergeMix([
37
37
  interactiveTransition(),
38
38
  block(),
39
39
  is("full"),
@@ -76,7 +76,6 @@ export function TextArea(handle) {
76
76
  fieldSizing: "content",
77
77
  }),
78
78
  when("&:focus", outline("none")),
79
- mix,
80
- ] }));
79
+ ], mix) }));
81
80
  };
82
81
  }
@@ -1,4 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "remix/component/jsx-runtime";
2
+ import { mergeMix } from "@sdxc/u/general";
2
3
  import { tabularNums } from "@sdxc/u/typography";
3
4
  import { fieldStackLayout } from "../styles/field-stack-layout.js";
4
5
  import { resolveFieldWiring } from "../utils/resolve-field-wiring.js";
@@ -42,7 +43,7 @@ export function TimeField(handle) {
42
43
  description,
43
44
  ariaInvalid: ariaInvalidProp,
44
45
  });
45
- return (_jsxs("div", { ...rest, "data-slot": "time-field", mix: [fieldStackLayout(), mix], children: [_jsx(Label, { htmlFor: handle.id, mix: parts?.label, children: label }), _jsx(Input, { id: handle.id, type: "time", name: name, value: value, defaultValue: defaultValue, min: min, max: max, step: step, required: required, disabled: disabled, readOnly: readOnly, autoComplete: autoComplete,
46
+ return (_jsxs("div", { ...rest, "data-slot": "time-field", mix: mergeMix(fieldStackLayout(), mix), children: [_jsx(Label, { htmlFor: handle.id, mix: parts?.label, children: label }), _jsx(Input, { id: handle.id, type: "time", name: name, value: value, defaultValue: defaultValue, min: min, max: max, step: step, required: required, disabled: disabled, readOnly: readOnly, autoComplete: autoComplete,
46
47
  // oxlint-disable-next-line jsx-a11y/no-autofocus -- Not a focus grab on page load: this only ever resolves true for the first field an enclosing Form reports as invalid, so a failed submit lands the user on the problem instead of leaving them to hunt for it.
47
48
  autoFocus: resolvedAutoFocus, "aria-invalid": resolvedInvalid, "aria-describedby": describedBy, color: resolvedColor, mix: [tabularNums(), parts?.input] }), description ? (_jsx(Description, { id: descriptionId, mix: parts?.description, children: description })) : null, errorMessage ? (_jsx(FieldError, { id: errorId, mix: parts?.error, children: errorMessage })) : null] }));
48
49
  };
@@ -0,0 +1,67 @@
1
+ /**
2
+ * A record's activity as an ordered list: a 2px rail threading 16px event icons toned by
3
+ * what happened, one line per event (avatar, bold actor, muted verb, time), an optional
4
+ * comment card, and a native `<details>` folding a run of quiet events into "N more".
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 Timeline} and its compound parts.
12
+ */
13
+ export declare namespace Timeline {
14
+ /** The semantic role an event's icon is drawn in. */
15
+ type Tone = "neutral" | "brand" | "success" | "warning" | "danger";
16
+ /** Every native `<ol>` attribute. */
17
+ interface Props extends TagProps<"ol"> {
18
+ }
19
+ /** Every native `<li>` attribute, plus the event's parts. */
20
+ interface EventProps extends Omit<TagProps<"li">, "children"> {
21
+ /** A 16px glyph naming the kind of event, decorative beside the line's words. */
22
+ icon: RemixNode;
23
+ /** @default {@link DEFAULT_TONE} */
24
+ tone?: Tone;
25
+ /** A small avatar of the actor, shown before the name. */
26
+ avatar?: RemixNode;
27
+ /** Who did it, set in bold. */
28
+ actor?: RemixNode;
29
+ /** When it happened: a `RelativeTime` or plain text. */
30
+ time?: RemixNode;
31
+ /** A comment or other body, set as a card under the line. */
32
+ body?: RemixNode;
33
+ /** What happened, in muted text after the actor: "resolved the incident". */
34
+ children?: RemixNode;
35
+ }
36
+ /** Every native `<li>` attribute, plus the folded events. */
37
+ interface MoreProps extends Omit<TagProps<"li">, "children"> {
38
+ /** The disclosure's label, such as "4 more events". */
39
+ summary: RemixNode;
40
+ /** Starts unfolded. */
41
+ open?: boolean;
42
+ /** The folded {@link Timeline.Event} items. */
43
+ children: RemixNode;
44
+ }
45
+ }
46
+ /**
47
+ * Renders the `<ol>` and its rail. The rail is drawn once, behind every icon from the
48
+ * first to the last, so a folded run keeps the line continuous when it opens; icons sit on
49
+ * the page's background, `--ui-timeline-surface`, which masks the rail where they meet it.
50
+ *
51
+ * @param handle Runtime handle carrying the `<ol>`'s props.
52
+ * @returns The render function producing the list's markup.
53
+ * @example
54
+ * <Timeline>
55
+ * <Timeline.Event icon={<CircleDotIcon />} tone="danger" actor="Uptime" time={<RelativeTime date={opened} />}>
56
+ * opened the incident
57
+ * </Timeline.Event>
58
+ * <Timeline.Event icon={<MessageSquareIcon />} avatar={<Avatar size="xs" />} actor="Ana" body={<p>Rolling back.</p>}>
59
+ * commented
60
+ * </Timeline.Event>
61
+ * </Timeline>
62
+ */
63
+ export declare function Timeline(handle: Handle<Timeline.Props>): () => import("remix/component").RemixElement;
64
+ export declare namespace Timeline {
65
+ var Event: (handle: Handle<Timeline.EventProps>) => () => import("remix/component").RemixElement;
66
+ var More: (handle: Handle<Timeline.MoreProps>) => () => import("remix/component").RemixElement;
67
+ }