@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
@@ -6,21 +6,18 @@
6
6
  * @author [Sergio Xalambrí](https://sergiodxa.com)
7
7
  * @copyright Sergio Xalambrí 2026
8
8
  */
9
- export * from "./chart-marker-indices.js";
10
- export * from "./chart-path.js";
11
- export * from "./chart-scale.js";
12
9
  export * from "./color-math.js";
13
10
  export * from "./command-event.js";
14
11
  export * from "./css-styles.js";
15
12
  export * from "./decorative-icon.js";
16
13
  export * from "./disabled-selector.js";
17
14
  export * from "./dispatch-change.js";
15
+ export * from "./eyebrow.js";
18
16
  export * from "./field-parts.js";
19
17
  export * from "./full-turn-radians.js";
20
18
  export * from "./geometry.js";
21
19
  export * from "./glyph-edges.js";
22
20
  export * from "./has-accessible-text.js";
23
- export * from "./hue-spectrum.js";
24
21
  export * from "./is-new-primary-press.js";
25
22
  export * from "./key-combo.js";
26
23
  export * from "./keyboard-nav.js";
@@ -33,6 +30,5 @@ export * from "./resolve-field-wiring.js";
33
30
  export * from "./resolve-fill-percent.js";
34
31
  export * from "./round-precision.js";
35
32
  export * from "./semantic-color.js";
36
- export * from "./semantic-color-panel.js";
37
33
  export * from "./warn-if-no-accessible-name.js";
38
34
  export * from "./write-cookie.js";
package/package.json CHANGED
@@ -1,16 +1,25 @@
1
1
  {
2
2
  "name": "@sdxc/ui",
3
- "version": "2026.10.30",
3
+ "version": "2026.11.1",
4
4
  "description": "Styled, accessible remix/component components rendered as server HTML",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "sideEffects": false,
8
8
  "exports": {
9
9
  ".": "./dist/index.js",
10
+ "./landing": "./dist/landing/index.js",
11
+ "./landing/*": "./dist/landing/*.js",
12
+ "./docs": "./dist/docs/index.js",
13
+ "./docs/*": "./dist/docs/*.js",
14
+ "./chat": "./dist/chat/index.js",
15
+ "./chat/*": "./dist/chat/*.js",
16
+ "./color": "./dist/color/index.js",
17
+ "./color/*": "./dist/color/*.js",
18
+ "./app": "./dist/app/index.js",
19
+ "./app/*": "./dist/app/*.js",
10
20
  "./animations": "./dist/animations/index.js",
11
21
  "./behaviors": "./dist/behaviors/index.js",
12
22
  "./mixins": "./dist/mixins/index.js",
13
- "./patterns": "./dist/patterns/index.js",
14
23
  "./styles": "./dist/styles/index.js",
15
24
  "./utils": "./dist/utils/index.js",
16
25
  "./reset.css": "./src/reset.css",
@@ -19,15 +28,16 @@
19
28
  },
20
29
  "dependencies": {
21
30
  "@remix-run/ui": "0.12.1",
31
+ "@sdxc/highlight": "2026.11.1",
22
32
  "@sdxc/icons": "2026.10.24",
23
33
  "@sdxc/iife": "2026.10.23",
24
- "@sdxc/u": "2026.10.24",
34
+ "@sdxc/u": "2026.11.1",
25
35
  "@sdxc/uuid": "2026.10.13"
26
36
  },
27
37
  "peerDependencies": {
28
38
  "remix": "3.1.0"
29
39
  },
30
- "gitHead": "b76637cea65a8310f966862a15bcaeb5a657d7b0",
40
+ "gitHead": "f7be74972f816014332c35618b88f529c0bad397",
31
41
  "publishConfig": {
32
42
  "access": "public"
33
43
  },
package/src/theme.css CHANGED
@@ -28,11 +28,13 @@
28
28
  * tone of whatever sits behind it; high contrast turns it into a solid line.
29
29
  * - `--ui-image-outline`, the inset hairline that keeps an image's edge
30
30
  * visible against a background of the same tone.
31
- * - `--ui-marketing-*` layout and display tokens (measure, gutter, section
32
- * space steps, display tracking/weight/leading, lead measure/size, chapter
33
- * size, logo height, header height, CTA radius) plus `--ui-font-display`
34
- * for landing bands. Apps override per brand; brand colors stay on the
35
- * existing `--ui-color-*` / `--ui-*-*` scales.
31
+ * - `--ui-surface-raised` and the `--ui-shadow-surface` / `-stage` / `-control`
32
+ * edges a frame, card or CTA sits on, lifted a step above the page in dark.
33
+ * - `--ui-landing-*` layout and display tokens (measure, gutter, fluid
34
+ * section space steps, display and chapter type, lead, logo height, header
35
+ * space, CTA radius and weight, surface radius, hairline) plus
36
+ * `--ui-font-display` for landing bands. Apps override per brand; brand
37
+ * colors stay on the existing `--ui-color-*` / `--ui-*-*` scales.
36
38
  *
37
39
  * Dark Mode:
38
40
  * - Add .dark class to <html> for forced dark mode
@@ -99,25 +101,46 @@
99
101
  /* Images: an inset hairline that holds the edge against a same-tone background */
100
102
  --ui-image-outline: rgb(0 0 0 / 0.1);
101
103
 
104
+ /* Raised surfaces: frames, cards and code that sit above a band, and their edges */
105
+ --ui-surface-raised: white;
106
+ --ui-shadow-surface: 0 0 0 1px rgb(0 0 0 / 0.06), 0 1px 2px rgb(0 0 0 / 0.05);
107
+ --ui-shadow-stage: 0 0 0 1px rgb(0 0 0 / 0.06), 0 12px 32px -12px rgb(0 0 0 / 0.18);
108
+ --ui-shadow-control:
109
+ 0 1px 3px rgb(0 0 0 / 0.04), inset 0 1px 0 rgb(255 255 255 / 0.12),
110
+ inset 0 0 0 1px rgb(0 0 0 / 0.06);
111
+
102
112
  /*
103
- * Marketing layout: measure, gutters, band spacing, and display type for
104
- * landing bands. Apps override per brand; 72rem matches a 1152px content
105
- * column (override to 76rem where a wider frame is already shipping).
113
+ * Landing layout: measure, gutters, band spacing, and display type for
114
+ * landing bands. Sizes and spacing are fluid in the band's container width
115
+ * (`cqi`), so a phone gets the tight end and a desktop band the generous one.
116
+ * Apps override per brand; 72rem matches a 1152px content column.
106
117
  */
107
- --ui-marketing-measure: 72rem;
108
- --ui-marketing-gutter: 1rem;
109
- --ui-marketing-section-space: 6rem;
110
- --ui-marketing-section-space-compact: 4rem;
111
- --ui-marketing-section-space-hero: 8rem;
112
- --ui-marketing-display-tracking: -0.04em;
113
- --ui-marketing-display-weight: 500;
114
- --ui-marketing-display-leading: 1;
115
- --ui-marketing-lead-measure: 40rem;
116
- --ui-marketing-lead-size: 1.125rem;
117
- --ui-marketing-chapter-size: 2.75rem;
118
- --ui-marketing-logo-height: 1rem;
119
- --ui-marketing-header-height: 4rem;
120
- --ui-marketing-cta-radius: 0.5rem;
118
+ --ui-landing-measure: 72rem;
119
+ --ui-landing-gutter: 1rem;
120
+ --ui-landing-section-space: clamp(5rem, 3.86rem + 4.85cqi, 7.5rem);
121
+ --ui-landing-section-space-compact: clamp(3rem, 2.32rem + 2.91cqi, 4.5rem);
122
+ --ui-landing-section-space-hero: clamp(3.5rem, 1.45rem + 8.73cqi, 8rem);
123
+ --ui-landing-section-space-cta: clamp(5rem, 4.09rem + 3.88cqi, 7rem);
124
+ --ui-landing-header-space: clamp(2.5rem, 1.82rem + 2.91cqi, 4rem);
125
+ --ui-landing-display-tracking: -0.035em;
126
+ --ui-landing-display-weight: 500;
127
+ --ui-landing-display-max: 4.5rem;
128
+ --ui-landing-chapter-size: clamp(1.75rem, 1.18rem + 2.42cqi, 3rem);
129
+ --ui-landing-chapter-leading: 1.1;
130
+ --ui-landing-chapter-tracking: -0.025em;
131
+ --ui-landing-lead-measure: 40rem;
132
+ --ui-landing-lead-size: 1.125rem;
133
+ --ui-landing-lead-leading: 2rem;
134
+ --ui-landing-lead-weight: 400;
135
+ --ui-landing-hero-lead-size: clamp(1.0625rem, 0.98rem + 0.4cqi, 1.25rem);
136
+ --ui-landing-hero-lead-leading: 1.55;
137
+ --ui-landing-logo-height: 1.75rem;
138
+ --ui-landing-logo-height-lg: 2.25rem;
139
+ --ui-landing-header-height: 4rem;
140
+ --ui-landing-cta-radius: 0.5rem;
141
+ --ui-landing-cta-weight: 600;
142
+ --ui-landing-radius-surface: 1rem;
143
+ --ui-landing-hairline: color-mix(in oklch, var(--ui-neutral-fg-emphasis) 6%, transparent);
121
144
  --ui-font-display: var(--ui-font-sans);
122
145
  }
123
146
 
@@ -228,6 +251,46 @@
228
251
  }
229
252
  }
230
253
 
254
+ /*
255
+ * Dark surfaces and landing lines, declared on the root alone: they inherit, so an
256
+ * inverse or brand band that re-points them on its own element reaches its children.
257
+ */
258
+ .dark {
259
+ /* Raised surfaces: one step above the page, edged by a top-lit hairline */
260
+ --ui-surface-raised: color-mix(
261
+ in oklch,
262
+ var(--ui-color-neutral-950),
263
+ var(--ui-color-neutral-900)
264
+ );
265
+ --ui-shadow-surface: inset 0 1px 0 rgb(255 255 255 / 0.06), 0 0 0 1px rgb(255 255 255 / 0.08);
266
+ --ui-shadow-stage:
267
+ inset 0 1px 0 rgb(255 255 255 / 0.06), 0 0 0 1px rgb(255 255 255 / 0.08),
268
+ 0 16px 40px -12px rgb(0 0 0 / 0.6);
269
+ --ui-shadow-control:
270
+ 0 1px 3px rgb(0 0 0 / 0.2), inset 0 1px 0 rgb(255 255 255 / 0.04),
271
+ inset 0 0 0 1px rgb(255 255 255 / 0.08);
272
+ --ui-landing-hairline: color-mix(in oklch, white 10%, transparent);
273
+ }
274
+
275
+ @media (prefers-color-scheme: dark) {
276
+ .system {
277
+ /* Raised surfaces: one step above the page, edged by a top-lit hairline */
278
+ --ui-surface-raised: color-mix(
279
+ in oklch,
280
+ var(--ui-color-neutral-950),
281
+ var(--ui-color-neutral-900)
282
+ );
283
+ --ui-shadow-surface: inset 0 1px 0 rgb(255 255 255 / 0.06), 0 0 0 1px rgb(255 255 255 / 0.08);
284
+ --ui-shadow-stage:
285
+ inset 0 1px 0 rgb(255 255 255 / 0.06), 0 0 0 1px rgb(255 255 255 / 0.08),
286
+ 0 16px 40px -12px rgb(0 0 0 / 0.6);
287
+ --ui-shadow-control:
288
+ 0 1px 3px rgb(0 0 0 / 0.2), inset 0 1px 0 rgb(255 255 255 / 0.04),
289
+ inset 0 0 0 1px rgb(255 255 255 / 0.08);
290
+ --ui-landing-hairline: color-mix(in oklch, white 10%, transparent);
291
+ }
292
+ }
293
+
231
294
  /*
232
295
  * High contrast: the resting border is already promoted, so its hover step follows it,
233
296
  * and an elevated surface's ring becomes a solid line in that promoted border color.
@@ -245,5 +308,7 @@
245
308
 
246
309
  --ui-shadow-ring: 0 0 0 1px var(--ui-neutral-border-strong);
247
310
  --ui-shadow-ring-hover: 0 0 0 1px var(--ui-neutral-border-strong);
311
+ --ui-shadow-surface: 0 0 0 1px var(--ui-neutral-border-strong);
312
+ --ui-landing-hairline: var(--ui-neutral-border-strong);
248
313
  }
249
314
  }
@@ -1,102 +0,0 @@
1
- /**
2
- * One marketing claim cell — icon, title, description, optional link chrome —
3
- * and an optional {@link Feature.Grid} that lays cells as a hairline-ruled
4
- * track via container queries. Default chrome stays light; pass
5
- * `variant="panel"` only when a filled panel is the right container for the
6
- * interaction.
7
- *
8
- * @author [Sergio Xalambrí](https://sergiodxa.com)
9
- * @copyright Sergio Xalambrí 2026
10
- */
11
- import type { Handle, Props as TagProps, RemixNode } from "remix/component";
12
- /**
13
- * Prop types for {@link Feature} and its compound parts.
14
- */
15
- export declare namespace Feature {
16
- /**
17
- * Cell chrome: a light claim with no fill, or a panel when the cell itself
18
- * is the interaction surface.
19
- */
20
- type Variant = "plain" | "panel";
21
- /**
22
- * How many cells a wide {@link Feature.Grid} puts on one row.
23
- */
24
- type Columns = 2 | 3;
25
- /**
26
- * Props accepted by {@link Feature}.
27
- */
28
- interface Props extends TagProps<"div"> {
29
- /** Cell chrome. Defaults to {@link DEFAULT_VARIANT}. */
30
- variant?: Variant;
31
- /**
32
- * Optional destination for the claim. When set with a trailing action
33
- * child, the cell can surface link chrome; the href itself is left for
34
- * the consumer's {@link LinkButton} or anchor.
35
- */
36
- href?: string;
37
- /**
38
- * Compound parts: {@link Feature.Icon}, {@link Feature.Title},
39
- * {@link Feature.Description}, {@link Feature.Action}, or other content.
40
- */
41
- children: RemixNode;
42
- }
43
- /**
44
- * Props accepted by {@link Feature.Icon}.
45
- */
46
- interface IconProps extends TagProps<"span"> {
47
- /** Glyph rendered inside the tinted icon well. */
48
- children: RemixNode;
49
- }
50
- /**
51
- * Props accepted by {@link Feature.Title}. The rendered tag follows the
52
- * nearest ambient heading level.
53
- */
54
- interface TitleProps extends TagProps<"h1"> {
55
- /** Title copy for the claim. */
56
- children: RemixNode;
57
- }
58
- /**
59
- * Props accepted by {@link Feature.Description}.
60
- */
61
- interface DescriptionProps extends TagProps<"div"> {
62
- /** Supporting copy for the claim. */
63
- children: RemixNode;
64
- }
65
- /**
66
- * Props accepted by {@link Feature.Action}.
67
- */
68
- interface ActionProps extends TagProps<"div"> {
69
- /** Trailing link or button chrome for the claim. */
70
- children: RemixNode;
71
- }
72
- /**
73
- * Props accepted by {@link Feature.Grid}.
74
- */
75
- interface GridProps extends TagProps<"div"> {
76
- /** Columns above the stack breakpoint. Defaults to {@link DEFAULT_COLUMNS}. */
77
- columns?: Columns;
78
- /** {@link Feature} cells to lay out. */
79
- children: RemixNode;
80
- }
81
- }
82
- /**
83
- * Renders one claim cell. Compose {@link Feature.Icon}, {@link Feature.Title},
84
- * {@link Feature.Description}, and {@link Feature.Action} inside it.
85
- *
86
- * @param handle Runtime handle carrying the host `<div>`'s props.
87
- * @returns The render function producing the cell's markup.
88
- * @example
89
- * <Feature>
90
- * <Feature.Icon><ZapIcon size={18} aria-hidden="true" /></Feature.Icon>
91
- * <Feature.Title>{t("feature.title")}</Feature.Title>
92
- * <Feature.Description>{t("feature.body")}</Feature.Description>
93
- * </Feature>
94
- */
95
- export declare function Feature(handle: Handle<Feature.Props>): () => import("remix/component").RemixElement;
96
- export declare namespace Feature {
97
- var Icon: (handle: Handle<Feature.IconProps>) => () => import("remix/component").RemixElement;
98
- var Title: (handle: Handle<Feature.TitleProps>) => () => import("remix/component").RemixElement;
99
- var Description: (handle: Handle<Feature.DescriptionProps>) => () => import("remix/component").RemixElement;
100
- var Action: (handle: Handle<Feature.ActionProps>) => () => import("remix/component").RemixElement;
101
- var Grid: (handle: Handle<Feature.GridProps>) => () => import("remix/component").RemixElement;
102
- }
@@ -1,150 +0,0 @@
1
- import { jsx as _jsx } from "remix/component/jsx-runtime";
2
- import { bg, border, fg } from "@sdxc/u/color";
3
- import { rounded } from "@sdxc/u/effects";
4
- import { raw } from "@sdxc/u/general";
5
- import { center, container, gap, grid, gridTemplate, hstack, inlineFlex, repeat, vstack, } from "@sdxc/u/layout";
6
- import { overflow } from "@sdxc/u/overflow";
7
- import { at } from "@sdxc/u/responsive";
8
- import { bs, is, m, mbs, p } from "@sdxc/u/size";
9
- import { when } from "@sdxc/u/state";
10
- import { leading, pretty, text, tracking, weight } from "@sdxc/u/typography";
11
- import { resolveHeadingLevel, TAG_BY_LEVEL } from "./heading-scope.js";
12
- /** Cell chrome {@link Feature} applies when `variant` is omitted. */
13
- const DEFAULT_VARIANT = "plain";
14
- /** How many cells a wide {@link Feature.Grid} puts on one row. */
15
- const DEFAULT_COLUMNS = 2;
16
- /**
17
- * Renders one claim cell. Compose {@link Feature.Icon}, {@link Feature.Title},
18
- * {@link Feature.Description}, and {@link Feature.Action} inside it.
19
- *
20
- * @param handle Runtime handle carrying the host `<div>`'s props.
21
- * @returns The render function producing the cell's markup.
22
- * @example
23
- * <Feature>
24
- * <Feature.Icon><ZapIcon size={18} aria-hidden="true" /></Feature.Icon>
25
- * <Feature.Title>{t("feature.title")}</Feature.Title>
26
- * <Feature.Description>{t("feature.body")}</Feature.Description>
27
- * </Feature>
28
- */
29
- export function Feature(handle) {
30
- return () => {
31
- let { href, mix, variant, ...rest } = handle.props;
32
- let resolvedVariant = variant ?? DEFAULT_VARIANT;
33
- return (_jsx("div", { ...rest, "data-variant": resolvedVariant, "data-href": href || undefined, "data-slot": "feature", mix: [
34
- vstack({ gap: 4, align: "stretch" }),
35
- bg(),
36
- p(8, 6),
37
- at("lg", p(10, 10)),
38
- when('&[data-variant="panel"]', [
39
- bg("neutral.tint"),
40
- border({ color: "neutral", width: 1, style: "solid" }),
41
- rounded("xl"),
42
- ]),
43
- mix,
44
- ] }));
45
- };
46
- }
47
- /**
48
- * Tinted rounded well that holds the claim's glyph.
49
- *
50
- * @param handle Runtime handle carrying the host `<span>`'s props.
51
- * @returns The render function producing the icon well.
52
- */
53
- Feature.Icon = function FeatureIcon(handle) {
54
- return () => {
55
- let { mix, ...rest } = handle.props;
56
- return (_jsx("span", { ...rest, "data-slot": "feature-icon", mix: [
57
- inlineFlex(),
58
- center(),
59
- is(10),
60
- bs(10),
61
- rounded("lg"),
62
- bg("brand.tint"),
63
- fg("brand"),
64
- border({ color: "brand", width: 1, style: "solid" }),
65
- mix,
66
- ] }));
67
- };
68
- };
69
- /**
70
- * Claim title at the ambient heading depth, sized for a feature cell.
71
- *
72
- * @param handle Runtime handle carrying the host heading's props.
73
- * @returns The render function producing the title.
74
- */
75
- Feature.Title = function FeatureTitle(handle) {
76
- return () => {
77
- let { mix, ...rest } = handle.props;
78
- let resolved = resolveHeadingLevel(handle);
79
- let Tag = TAG_BY_LEVEL[resolved];
80
- return (_jsx(Tag, { ...rest, "data-slot": "feature-title", "data-heading-level": resolved, mix: [m(0), text("xl"), weight("medium"), tracking("tight"), fg("neutral.emphasis"), mix] }));
81
- };
82
- };
83
- /**
84
- * Supporting copy under the claim title.
85
- *
86
- * @param handle Runtime handle carrying the host `<div>`'s props.
87
- * @returns The render function producing the description.
88
- */
89
- Feature.Description = function FeatureDescription(handle) {
90
- return () => {
91
- let { mix, ...rest } = handle.props;
92
- return (_jsx("div", { ...rest, "data-slot": "feature-description", mix: [vstack({ gap: 2 }), text("base"), leading("relaxed"), pretty(), fg("neutral"), mix] }));
93
- };
94
- };
95
- /**
96
- * Trailing action slot for a link or button under the claim body.
97
- *
98
- * @param handle Runtime handle carrying the host `<div>`'s props.
99
- * @returns The render function producing the action slot.
100
- */
101
- Feature.Action = function FeatureAction(handle) {
102
- return () => {
103
- let { mix, ...rest } = handle.props;
104
- return _jsx("div", { ...rest, "data-slot": "feature-action", mix: [mbs(2), hstack({ gap: 2 }), mix] });
105
- };
106
- };
107
- /**
108
- * Hairline-ruled grid of {@link Feature} cells. The host is the named sizing
109
- * container; an inner wrapper holds the grid and `@container` column tracks so
110
- * the query can restyle a descendant. Collapses to one column below `lg`
111
- * (48rem), matching the landing's original viewport threshold.
112
- *
113
- * @param handle Runtime handle carrying the host `<div>`'s props.
114
- * @returns The render function producing the grid.
115
- * @example
116
- * <Feature.Grid columns={3}>
117
- * <Feature>...</Feature>
118
- * <Feature>...</Feature>
119
- * <Feature>...</Feature>
120
- * </Feature.Grid>
121
- */
122
- Feature.Grid = function FeatureGrid(handle) {
123
- return () => {
124
- let { children, columns, mix, ...rest } = handle.props;
125
- let resolvedColumns = columns ?? DEFAULT_COLUMNS;
126
- return (_jsx("div", { ...rest, "data-columns": String(resolvedColumns), "data-slot": "feature-grid", mix: [container("ui-marketing-feature-grid"), mix], children: _jsx("div", { mix: [
127
- grid(),
128
- gap("1px"),
129
- rounded("xl"),
130
- overflow("hidden"),
131
- border({ color: "neutral", width: 1, style: "solid" }),
132
- raw({
133
- backgroundColor: "var(--ui-neutral-border)",
134
- textAlign: "start",
135
- }),
136
- gridTemplate({ columns: "minmax(0, 1fr)" }),
137
- at("lg", "ui-marketing-feature-grid", [
138
- gridTemplate({
139
- columns: repeat(resolvedColumns, "minmax(0, 1fr)"),
140
- }),
141
- resolvedColumns === 2
142
- ? when("& > :last-child:nth-child(odd)", raw({ gridColumn: "1 / -1" }))
143
- : [
144
- when("& > :last-child:nth-child(3n + 1)", raw({ gridColumn: "1 / -1" })),
145
- when("& > :last-child:nth-child(3n + 2)", raw({ gridColumn: "span 2" })),
146
- ],
147
- ]),
148
- ], children: children }) }));
149
- };
150
- };
@@ -1,42 +0,0 @@
1
- /**
2
- * A wrapping row of adopter marks for marketing proof strips. Each child is
3
- * forced to the marketing logo height with muted currentColor treatment so
4
- * the row reads as one quiet band.
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 LogoCloud}.
12
- */
13
- export declare namespace LogoCloud {
14
- /**
15
- * Props accepted by {@link LogoCloud}.
16
- */
17
- interface Props extends TagProps<"div"> {
18
- /**
19
- * Softens the whole row further through the muted foreground token.
20
- * Individual marks already carry `logoCloudMark()` opacity.
21
- */
22
- muted?: boolean;
23
- /**
24
- * Consumer-supplied marks — {@link Logo}, `<img>`, or inline SVG
25
- * children. The cloud applies mark sizing to each direct child.
26
- */
27
- children: RemixNode;
28
- }
29
- }
30
- /**
31
- * Lays logo children in a wrapping, centered row and forces each direct child
32
- * to the marketing logo height with muted currentColor treatment.
33
- *
34
- * @param handle Runtime handle carrying the host `<div>`'s props.
35
- * @returns The render function producing the cloud's markup.
36
- * @example
37
- * <LogoCloud muted>
38
- * <img src={acme} alt="" />
39
- * <img src={globex} alt="" />
40
- * </LogoCloud>
41
- */
42
- export declare function LogoCloud(handle: Handle<LogoCloud.Props>): () => import("remix/component").RemixElement;
@@ -1,41 +0,0 @@
1
- import { jsx as _jsx } from "remix/component/jsx-runtime";
2
- import { fg } from "@sdxc/u/color";
3
- import { opacity } from "@sdxc/u/effects";
4
- import { raw, var as varUtility } from "@sdxc/u/general";
5
- import { flexWrap, gap, inlineFlex, items, justify } from "@sdxc/u/layout";
6
- import { bs, is } from "@sdxc/u/size";
7
- import { when } from "@sdxc/u/state";
8
- /** Forced height each direct child mark settles at. */
9
- const LOGO_HEIGHT = varUtility("ui-marketing-logo-height", "1rem");
10
- /**
11
- * Lays logo children in a wrapping, centered row and forces each direct child
12
- * to the marketing logo height with muted currentColor treatment.
13
- *
14
- * @param handle Runtime handle carrying the host `<div>`'s props.
15
- * @returns The render function producing the cloud's markup.
16
- * @example
17
- * <LogoCloud muted>
18
- * <img src={acme} alt="" />
19
- * <img src={globex} alt="" />
20
- * </LogoCloud>
21
- */
22
- export function LogoCloud(handle) {
23
- return () => {
24
- let { mix, muted, ...rest } = handle.props;
25
- return (_jsx("div", { ...rest, "data-muted": muted ? "true" : undefined, "data-slot": "logo-cloud", mix: [
26
- inlineFlex(),
27
- flexWrap(),
28
- items("center"),
29
- justify("center"),
30
- gap(6),
31
- muted ? fg("neutral.muted") : fg("neutral"),
32
- when("& > *", [
33
- bs(LOGO_HEIGHT),
34
- is("auto"),
35
- opacity(65),
36
- raw({ objectFit: "contain", color: "currentColor" }),
37
- ]),
38
- mix,
39
- ] }));
40
- };
41
- }
@@ -1,71 +0,0 @@
1
- /**
2
- * Eyebrow, chapter title, and lead copy that open a marketing band. The title
3
- * uses display chapter typography; the lead stays on the marketing lead measure
4
- * so the claim reads first and the support follows.
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 MarketingHeader}.
12
- */
13
- export declare namespace MarketingHeader {
14
- /**
15
- * Whether the stack stretches start-aligned or centers as one statement.
16
- */
17
- type Align = "start" | "center";
18
- /**
19
- * How the optional eyebrow reads: a filled pill, a mono label, or a chip
20
- * with stronger tracking for short announcements.
21
- */
22
- type EyebrowVariant = "pill" | "mono" | "chip";
23
- /**
24
- * Per-part styling for the elements the header renders besides its host.
25
- */
26
- interface PartsProps {
27
- /** Styling for the optional eyebrow label. */
28
- eyebrow?: TagProps<"span">["mix"];
29
- /** Styling for the title {@link Heading}. */
30
- title?: TagProps<"h1">["mix"];
31
- /** Styling for the optional lead paragraph. */
32
- description?: TagProps<"p">["mix"];
33
- }
34
- /**
35
- * Props accepted by {@link MarketingHeader}.
36
- */
37
- interface Props extends TagProps<"header"> {
38
- /** Short label above the title. */
39
- eyebrow?: RemixNode;
40
- /**
41
- * Eyebrow chrome. Defaults to {@link DEFAULT_EYEBROW_VARIANT} when an
42
- * eyebrow is present.
43
- */
44
- eyebrowVariant?: EyebrowVariant;
45
- /** Supporting copy under the title. */
46
- description?: RemixNode;
47
- /** Stack alignment. Defaults to {@link DEFAULT_ALIGN}. */
48
- align?: Align;
49
- /** Per-part styling for eyebrow, title, and description. */
50
- parts?: PartsProps;
51
- /** Title copy — rendered through {@link Heading} at chapter display size. */
52
- children: RemixNode;
53
- }
54
- }
55
- /**
56
- * Renders an optional eyebrow, a chapter-sized {@link Heading} from `children`,
57
- * and an optional lead paragraph. Nest inside a {@link HeadingScope} so the
58
- * title picks up the band's outline depth.
59
- *
60
- * @param handle Runtime handle carrying the host `<header>`'s props.
61
- * @returns The render function producing the header's markup.
62
- * @example
63
- * <MarketingHeader eyebrow={t("badge")} description={t("lead")} align="center">
64
- * {t("title")}
65
- * </MarketingHeader>
66
- * @example
67
- * <MarketingHeader eyebrow={t("new")} eyebrowVariant="chip" description={t("lead")}>
68
- * {t("title")}
69
- * </MarketingHeader>
70
- */
71
- export declare function MarketingHeader(handle: Handle<MarketingHeader.Props>): () => import("remix/component").RemixElement;