@sdxc/ui 2026.11.26 → 2026.11.29

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 (418) hide show
  1. package/README.md +265 -162
  2. package/dist/app/app-shell.d.ts +85 -50
  3. package/dist/app/app-shell.js +419 -222
  4. package/dist/app/auto-refresh.d.ts +68 -51
  5. package/dist/app/auto-refresh.js +193 -61
  6. package/dist/app/board.d.ts +40 -17
  7. package/dist/app/board.js +173 -88
  8. package/dist/app/chart.d.ts +10 -63
  9. package/dist/app/chart.js +22 -29
  10. package/dist/app/code-view.d.ts +12 -11
  11. package/dist/app/code-view.js +83 -19
  12. package/dist/app/command-palette.d.ts +61 -33
  13. package/dist/app/command-palette.js +178 -32
  14. package/dist/app/contribution-graph.d.ts +30 -14
  15. package/dist/app/contribution-graph.js +87 -26
  16. package/dist/app/danger-zone.d.ts +40 -35
  17. package/dist/app/danger-zone.js +177 -34
  18. package/dist/app/detail-sheet.d.ts +42 -51
  19. package/dist/app/detail-sheet.js +156 -37
  20. package/dist/app/diff.d.ts +6 -5
  21. package/dist/app/diff.js +9 -6
  22. package/dist/app/drop-zone.d.ts +3 -13
  23. package/dist/app/drop-zone.js +2 -2
  24. package/dist/app/editor-layout.d.ts +69 -47
  25. package/dist/app/editor-layout.js +256 -115
  26. package/dist/app/empty.d.ts +16 -12
  27. package/dist/app/empty.js +45 -19
  28. package/dist/app/file-trigger.d.ts +5 -13
  29. package/dist/app/file-trigger.js +3 -4
  30. package/dist/app/filter-bar.d.ts +182 -120
  31. package/dist/app/filter-bar.js +509 -161
  32. package/dist/app/filter-menu.d.ts +51 -33
  33. package/dist/app/filter-menu.js +105 -40
  34. package/dist/app/gantt.d.ts +67 -27
  35. package/dist/app/gantt.js +320 -163
  36. package/dist/app/grid-list.d.ts +2 -15
  37. package/dist/app/grid-list.js +3 -3
  38. package/dist/app/merge-box.d.ts +58 -52
  39. package/dist/app/merge-box.js +107 -46
  40. package/dist/app/mixins/optimistic-toggle-sync.d.ts +2 -2
  41. package/dist/app/mixins/optimistic-toggle-sync.js +3 -2
  42. package/dist/app/mixins/range-picker-keys.d.ts +1 -1
  43. package/dist/app/mixins/range-picker-keys.js +1 -1
  44. package/dist/app/mixins/save-bar-sync.d.ts +1 -1
  45. package/dist/app/mixins/save-bar-sync.js +3 -2
  46. package/dist/app/mixins/split-view.d.ts +3 -1
  47. package/dist/app/mixins/split-view.js +16 -8
  48. package/dist/app/optimistic-toggle.d.ts +65 -37
  49. package/dist/app/optimistic-toggle.js +38 -15
  50. package/dist/app/page-header.d.ts +80 -58
  51. package/dist/app/page-header.js +329 -154
  52. package/dist/app/profile-picker.d.ts +31 -24
  53. package/dist/app/profile-picker.js +134 -58
  54. package/dist/app/range-picker.d.ts +62 -59
  55. package/dist/app/range-picker.js +124 -37
  56. package/dist/app/review-thread.d.ts +69 -66
  57. package/dist/app/review-thread.js +203 -53
  58. package/dist/app/save-bar.d.ts +56 -27
  59. package/dist/app/save-bar.js +66 -14
  60. package/dist/app/selection-bar.d.ts +64 -66
  61. package/dist/app/selection-bar.js +157 -56
  62. package/dist/app/settings-layout.d.ts +65 -52
  63. package/dist/app/settings-layout.js +198 -71
  64. package/dist/app/settings-section.d.ts +86 -93
  65. package/dist/app/settings-section.js +297 -120
  66. package/dist/app/shortcut-list.d.ts +19 -8
  67. package/dist/app/shortcut-list.js +50 -9
  68. package/dist/app/sparkline.d.ts +14 -16
  69. package/dist/app/sparkline.js +20 -7
  70. package/dist/app/split-view.d.ts +66 -42
  71. package/dist/app/split-view.js +235 -128
  72. package/dist/app/stat-card.d.ts +16 -4
  73. package/dist/app/stat-card.js +57 -21
  74. package/dist/app/status-strip.d.ts +24 -25
  75. package/dist/app/status-strip.js +82 -25
  76. package/dist/app/tab-bar.d.ts +15 -7
  77. package/dist/app/tab-bar.js +74 -37
  78. package/dist/app/table.d.ts +37 -38
  79. package/dist/app/table.js +101 -45
  80. package/dist/app/view-options.d.ts +100 -76
  81. package/dist/app/view-options.js +263 -129
  82. package/dist/audio/media-tile.d.ts +33 -21
  83. package/dist/audio/media-tile.js +139 -79
  84. package/dist/audio/player-bar.d.ts +24 -43
  85. package/dist/audio/player-bar.js +183 -118
  86. package/dist/audio/queue-list.d.ts +40 -36
  87. package/dist/audio/queue-list.js +172 -73
  88. package/dist/audio/track-list.d.ts +53 -54
  89. package/dist/audio/track-list.js +127 -35
  90. package/dist/blog/archive-list.d.ts +158 -0
  91. package/dist/blog/archive-list.js +353 -0
  92. package/dist/blog/article-layout.d.ts +81 -0
  93. package/dist/blog/article-layout.js +211 -0
  94. package/dist/blog/author-card.d.ts +99 -0
  95. package/dist/blog/author-card.js +184 -0
  96. package/dist/blog/blog-masthead.d.ts +55 -0
  97. package/dist/blog/blog-masthead.js +143 -0
  98. package/dist/blog/index.d.ts +21 -0
  99. package/dist/blog/index.js +21 -0
  100. package/dist/blog/link-host.d.ts +47 -0
  101. package/dist/blog/link-host.js +61 -0
  102. package/dist/blog/newsletter-form.d.ts +66 -0
  103. package/dist/blog/newsletter-form.js +100 -0
  104. package/dist/blog/post-byline.d.ts +96 -0
  105. package/dist/blog/post-byline.js +180 -0
  106. package/dist/blog/post-entry.d.ts +153 -0
  107. package/dist/blog/post-entry.js +402 -0
  108. package/dist/blog/post-stream.d.ts +92 -0
  109. package/dist/blog/post-stream.js +163 -0
  110. package/dist/blog/series-nav.d.ts +144 -0
  111. package/dist/blog/series-nav.js +275 -0
  112. package/dist/blog/tag-cloud.d.ts +103 -0
  113. package/dist/blog/tag-cloud.js +138 -0
  114. package/dist/blog/tag-list.d.ts +91 -0
  115. package/dist/blog/tag-list.js +92 -0
  116. package/dist/blog/widget.d.ts +68 -0
  117. package/dist/blog/widget.js +61 -0
  118. package/dist/chat/activity.d.ts +47 -15
  119. package/dist/chat/activity.js +124 -46
  120. package/dist/chat/mention-menu.d.ts +6 -7
  121. package/dist/chat/mention-menu.js +4 -4
  122. package/dist/chat/message-group.d.ts +17 -4
  123. package/dist/chat/message-group.js +29 -6
  124. package/dist/color/color-field.d.ts +41 -68
  125. package/dist/color/color-field.js +21 -38
  126. package/dist/color/color-picker.d.ts +10 -61
  127. package/dist/color/color-picker.js +7 -15
  128. package/dist/color/color-swatch-picker.d.ts +0 -11
  129. package/dist/color/color-swatch-picker.js +2 -3
  130. package/dist/color/color-wheel.d.ts +3 -13
  131. package/dist/color/color-wheel.js +1 -2
  132. package/dist/commerce/cart-drawer.d.ts +41 -24
  133. package/dist/commerce/cart-drawer.js +129 -58
  134. package/dist/commerce/cart-line.d.ts +34 -19
  135. package/dist/commerce/cart-line.js +94 -28
  136. package/dist/commerce/checkout-layout.d.ts +23 -19
  137. package/dist/commerce/checkout-layout.js +53 -24
  138. package/dist/commerce/facet-filters.d.ts +57 -59
  139. package/dist/commerce/facet-filters.js +219 -129
  140. package/dist/commerce/item-options-dialog.d.ts +69 -40
  141. package/dist/commerce/item-options-dialog.js +231 -104
  142. package/dist/commerce/menu-item-card.d.ts +36 -20
  143. package/dist/commerce/menu-item-card.js +114 -61
  144. package/dist/commerce/option-group.d.ts +46 -27
  145. package/dist/commerce/option-group.js +123 -52
  146. package/dist/commerce/order-summary.d.ts +41 -26
  147. package/dist/commerce/order-summary.js +103 -49
  148. package/dist/commerce/order-tracker.d.ts +32 -16
  149. package/dist/commerce/order-tracker.js +91 -66
  150. package/dist/commerce/price.d.ts +41 -25
  151. package/dist/commerce/price.js +131 -68
  152. package/dist/commerce/product-card.d.ts +66 -36
  153. package/dist/commerce/product-card.js +215 -100
  154. package/dist/commerce/product-gallery.d.ts +72 -38
  155. package/dist/commerce/product-gallery.js +187 -82
  156. package/dist/commerce/promo-code.d.ts +73 -37
  157. package/dist/commerce/promo-code.js +172 -77
  158. package/dist/commerce/question-list.d.ts +43 -35
  159. package/dist/commerce/question-list.js +146 -72
  160. package/dist/commerce/shipping-estimate.d.ts +68 -33
  161. package/dist/commerce/shipping-estimate.js +149 -25
  162. package/dist/commerce/sort-select.d.ts +33 -22
  163. package/dist/commerce/sort-select.js +55 -26
  164. package/dist/commerce/variant-picker.d.ts +25 -23
  165. package/dist/commerce/variant-picker.js +103 -29
  166. package/dist/{docs → components}/anchor-heading.d.ts +1 -1
  167. package/dist/{docs → components}/anchor-heading.js +1 -1
  168. package/dist/components/autocomplete.d.ts +19 -21
  169. package/dist/components/autocomplete.js +57 -21
  170. package/dist/components/banner.d.ts +48 -37
  171. package/dist/components/banner.js +69 -27
  172. package/dist/components/button.d.ts +2 -18
  173. package/dist/components/button.js +4 -3
  174. package/dist/components/callout.d.ts +52 -0
  175. package/dist/components/callout.js +77 -0
  176. package/dist/components/checkbox.d.ts +3 -12
  177. package/dist/components/checkbox.js +1 -2
  178. package/dist/components/code-block.d.ts +110 -0
  179. package/dist/{docs → components}/code-block.js +92 -23
  180. package/dist/components/confirm.d.ts +63 -130
  181. package/dist/components/confirm.js +133 -52
  182. package/dist/{docs → components}/copy-button.d.ts +1 -1
  183. package/dist/{docs → components}/copy-button.js +3 -3
  184. package/dist/components/date-field.d.ts +40 -60
  185. package/dist/components/date-field.js +23 -36
  186. package/dist/components/date-picker.d.ts +11 -67
  187. package/dist/components/date-picker.js +4 -15
  188. package/dist/components/date-range-picker.d.ts +20 -91
  189. package/dist/components/date-range-picker.js +13 -27
  190. package/dist/components/dialog-dismiss.d.ts +1 -1
  191. package/dist/components/dialog-dismiss.js +1 -1
  192. package/dist/components/field-parts.d.ts +158 -0
  193. package/dist/components/field-parts.js +237 -0
  194. package/dist/components/filter-links.d.ts +107 -0
  195. package/dist/components/filter-links.js +120 -0
  196. package/dist/components/form.d.ts +3 -1
  197. package/dist/components/form.js +3 -1
  198. package/dist/components/index.d.ts +14 -7
  199. package/dist/components/index.js +14 -7
  200. package/dist/components/lightbox.js +12 -6
  201. package/dist/components/listbox.d.ts +0 -9
  202. package/dist/components/listbox.js +2 -2
  203. package/dist/components/media-grid.d.ts +15 -16
  204. package/dist/components/media-grid.js +75 -34
  205. package/dist/components/pager.d.ts +103 -0
  206. package/dist/components/pager.js +187 -0
  207. package/dist/components/property-list.d.ts +38 -39
  208. package/dist/components/property-list.js +149 -96
  209. package/dist/components/radio-group.d.ts +0 -11
  210. package/dist/components/radio-group.js +5 -6
  211. package/dist/components/range-calendar.d.ts +2 -14
  212. package/dist/components/range-calendar.js +2 -2
  213. package/dist/components/range-months.d.ts +12 -2
  214. package/dist/components/range-months.js +32 -16
  215. package/dist/components/rating-input.d.ts +14 -6
  216. package/dist/components/rating-input.js +26 -12
  217. package/dist/components/rating.d.ts +13 -8
  218. package/dist/components/rating.js +19 -5
  219. package/dist/components/review-card.d.ts +51 -26
  220. package/dist/components/review-card.js +173 -40
  221. package/dist/components/search-field.js +18 -8
  222. package/dist/components/section-bar.d.ts +23 -15
  223. package/dist/components/section-bar.js +59 -37
  224. package/dist/components/sidebar.d.ts +27 -0
  225. package/dist/components/sidebar.js +49 -20
  226. package/dist/{docs → components}/table-of-contents.d.ts +1 -1
  227. package/dist/{docs → components}/table-of-contents.js +3 -3
  228. package/dist/components/text-field.d.ts +54 -81
  229. package/dist/components/text-field.js +30 -44
  230. package/dist/components/time-field.d.ts +45 -65
  231. package/dist/components/time-field.js +23 -35
  232. package/dist/components/timeline.d.ts +80 -86
  233. package/dist/components/timeline.js +383 -170
  234. package/dist/components/typeset.d.ts +5 -0
  235. package/dist/components/typeset.js +17 -2
  236. package/dist/docs/code-tabs.d.ts +50 -24
  237. package/dist/docs/code-tabs.js +91 -25
  238. package/dist/docs/docs-feedback.d.ts +70 -27
  239. package/dist/docs/docs-feedback.js +156 -27
  240. package/dist/docs/docs-footer.d.ts +36 -22
  241. package/dist/docs/docs-footer.js +76 -23
  242. package/dist/docs/docs-hub.d.ts +103 -73
  243. package/dist/docs/docs-hub.js +333 -83
  244. package/dist/docs/docs-layout.d.ts +111 -42
  245. package/dist/docs/docs-layout.js +371 -97
  246. package/dist/docs/docs-nav-tools.d.ts +11 -7
  247. package/dist/docs/docs-nav-tools.js +4 -3
  248. package/dist/docs/docs-nav.d.ts +53 -17
  249. package/dist/docs/docs-nav.js +125 -14
  250. package/dist/docs/docs-not-found.d.ts +61 -35
  251. package/dist/docs/docs-not-found.js +198 -52
  252. package/dist/docs/docs-page-header.d.ts +47 -30
  253. package/dist/docs/docs-page-header.js +114 -31
  254. package/dist/docs/docs-pager.d.ts +43 -27
  255. package/dist/docs/docs-pager.js +73 -23
  256. package/dist/docs/file-tree.d.ts +16 -6
  257. package/dist/docs/file-tree.js +19 -4
  258. package/dist/docs/index.d.ts +0 -7
  259. package/dist/docs/index.js +0 -7
  260. package/dist/docs/install-command.d.ts +7 -6
  261. package/dist/docs/install-command.js +8 -10
  262. package/dist/docs/mixins/docs-nav-tools.js +1 -1
  263. package/dist/docs/next-steps.d.ts +56 -23
  264. package/dist/docs/next-steps.js +121 -35
  265. package/dist/docs/page-actions.d.ts +68 -46
  266. package/dist/docs/page-actions.js +129 -21
  267. package/dist/docs/steps.d.ts +14 -11
  268. package/dist/docs/steps.js +36 -18
  269. package/dist/docs/ui-label.d.ts +7 -6
  270. package/dist/docs/ui-label.js +21 -8
  271. package/dist/finance/ledger.d.ts +33 -29
  272. package/dist/finance/ledger.js +190 -43
  273. package/dist/finance/payment-card.d.ts +43 -31
  274. package/dist/finance/payment-card.js +170 -67
  275. package/dist/landing/author-band.d.ts +57 -54
  276. package/dist/landing/author-band.js +218 -64
  277. package/dist/landing/case-study.d.ts +57 -57
  278. package/dist/landing/case-study.js +148 -17
  279. package/dist/landing/changelog-strip.d.ts +56 -36
  280. package/dist/landing/changelog-strip.js +176 -68
  281. package/dist/landing/closing-cta.d.ts +21 -41
  282. package/dist/landing/closing-cta.js +13 -19
  283. package/dist/landing/code-stage.d.ts +55 -47
  284. package/dist/landing/code-stage.js +198 -67
  285. package/dist/landing/contributor-wall.d.ts +4 -4
  286. package/dist/landing/contributor-wall.js +4 -4
  287. package/dist/landing/curriculum.d.ts +74 -45
  288. package/dist/landing/curriculum.js +220 -62
  289. package/dist/landing/drawn-chart.d.ts +18 -10
  290. package/dist/landing/drawn-chart.js +57 -26
  291. package/dist/landing/episode-player.d.ts +69 -43
  292. package/dist/landing/episode-player.js +213 -48
  293. package/dist/landing/event-ticker.d.ts +13 -7
  294. package/dist/landing/event-ticker.js +67 -32
  295. package/dist/landing/fan-out-diagram.d.ts +19 -8
  296. package/dist/landing/fan-out-diagram.js +60 -19
  297. package/dist/landing/faq-band.d.ts +30 -48
  298. package/dist/landing/faq-band.js +37 -30
  299. package/dist/landing/feature-band.d.ts +48 -76
  300. package/dist/landing/feature-band.js +71 -49
  301. package/dist/landing/flow-diagram.d.ts +16 -8
  302. package/dist/landing/flow-diagram.js +50 -18
  303. package/dist/landing/install-tabs.d.ts +16 -14
  304. package/dist/landing/install-tabs.js +87 -39
  305. package/dist/landing/landing-header.d.ts +75 -66
  306. package/dist/landing/landing-header.js +284 -57
  307. package/dist/landing/landing-hero.d.ts +59 -87
  308. package/dist/landing/landing-hero.js +157 -128
  309. package/dist/landing/landing-section.d.ts +0 -9
  310. package/dist/landing/landing-section.js +1 -2
  311. package/dist/landing/logo-cloud.d.ts +26 -9
  312. package/dist/landing/logo-cloud.js +62 -18
  313. package/dist/landing/phone-fan.d.ts +15 -7
  314. package/dist/landing/phone-fan.js +60 -17
  315. package/dist/landing/price-list.d.ts +29 -22
  316. package/dist/landing/price-list.js +175 -77
  317. package/dist/landing/pricing-band.d.ts +46 -53
  318. package/dist/landing/pricing-band.js +167 -51
  319. package/dist/landing/product-frame.d.ts +44 -42
  320. package/dist/landing/product-frame.js +182 -85
  321. package/dist/landing/proof-strip.d.ts +7 -2
  322. package/dist/landing/proof-strip.js +7 -2
  323. package/dist/landing/rails.d.ts +1 -1
  324. package/dist/landing/rails.js +1 -1
  325. package/dist/landing/segmented-stage.d.ts +19 -8
  326. package/dist/landing/segmented-stage.js +60 -16
  327. package/dist/landing/sequence-diagram.d.ts +18 -8
  328. package/dist/landing/sequence-diagram.js +49 -18
  329. package/dist/landing/site-footer.d.ts +89 -68
  330. package/dist/landing/site-footer.js +344 -111
  331. package/dist/landing/site-header.d.ts +118 -80
  332. package/dist/landing/site-header.js +482 -67
  333. package/dist/landing/sponsor-wall.d.ts +34 -15
  334. package/dist/landing/sponsor-wall.js +111 -34
  335. package/dist/landing/stat-strip.d.ts +7 -9
  336. package/dist/landing/stat-strip.js +57 -22
  337. package/dist/landing/step-list.d.ts +18 -21
  338. package/dist/landing/step-list.js +132 -38
  339. package/dist/landing/tabbed-stage.d.ts +23 -15
  340. package/dist/landing/tabbed-stage.js +103 -21
  341. package/dist/landing/testimonial-band.d.ts +58 -61
  342. package/dist/landing/testimonial-band.js +209 -71
  343. package/dist/landing/typed-terminal.d.ts +9 -6
  344. package/dist/landing/typed-terminal.js +16 -5
  345. package/dist/landing/usage-estimate.d.ts +83 -74
  346. package/dist/landing/usage-estimate.js +254 -113
  347. package/dist/landing/utils/has-parts.d.ts +17 -0
  348. package/dist/landing/utils/has-parts.js +24 -0
  349. package/dist/map/map-canvas.d.ts +15 -16
  350. package/dist/map/map-canvas.js +40 -24
  351. package/dist/map/map.d.ts +42 -33
  352. package/dist/map/map.js +149 -38
  353. package/dist/mixins/aria-checked.d.ts +1 -4
  354. package/dist/mixins/aria-checked.js +1 -4
  355. package/dist/mixins/clear-field.d.ts +2 -4
  356. package/dist/mixins/clear-field.js +2 -4
  357. package/dist/mixins/index.d.ts +2 -0
  358. package/dist/mixins/index.js +2 -0
  359. package/dist/schedule/agenda.d.ts +69 -41
  360. package/dist/schedule/agenda.js +273 -134
  361. package/dist/schedule/day-strip.d.ts +38 -26
  362. package/dist/schedule/day-strip.js +119 -88
  363. package/dist/test/map.d.ts +1 -1
  364. package/dist/test/map.js +1 -6
  365. package/dist/test/reels.js +1 -1
  366. package/dist/test/stories.js +2 -2
  367. package/dist/travel/boarding-pass.d.ts +94 -70
  368. package/dist/travel/boarding-pass.js +341 -144
  369. package/dist/travel/car-offer.d.ts +109 -49
  370. package/dist/travel/car-offer.js +424 -64
  371. package/dist/travel/fare-options.d.ts +58 -34
  372. package/dist/travel/fare-options.js +210 -69
  373. package/dist/travel/flight-itinerary.d.ts +62 -55
  374. package/dist/travel/flight-itinerary.js +230 -55
  375. package/dist/travel/flight-option.d.ts +65 -33
  376. package/dist/travel/flight-option.js +250 -69
  377. package/dist/travel/flight-segment.d.ts +121 -70
  378. package/dist/travel/flight-segment.js +358 -96
  379. package/dist/travel/package-savings.d.ts +79 -39
  380. package/dist/travel/package-savings.js +309 -65
  381. package/dist/travel/price-breakdown.d.ts +30 -22
  382. package/dist/travel/price-breakdown.js +72 -17
  383. package/dist/travel/rating-breakdown.d.ts +25 -18
  384. package/dist/travel/rating-breakdown.js +60 -23
  385. package/dist/travel/seat-map.d.ts +29 -22
  386. package/dist/travel/seat-map.js +140 -78
  387. package/dist/travel/trip-timeline.d.ts +77 -39
  388. package/dist/travel/trip-timeline.js +316 -107
  389. package/dist/utils/eyebrow.d.ts +2 -2
  390. package/dist/utils/eyebrow.js +3 -3
  391. package/dist/utils/index.d.ts +0 -1
  392. package/dist/utils/index.js +0 -1
  393. package/dist/video/episode-list.d.ts +22 -14
  394. package/dist/video/episode-list.js +89 -53
  395. package/dist/video/reel-feed.d.ts +21 -15
  396. package/dist/video/reel-feed.js +59 -24
  397. package/dist/video/story-viewer.d.ts +6 -5
  398. package/dist/video/story-viewer.js +84 -53
  399. package/dist/video/title-hero.d.ts +8 -8
  400. package/dist/video/title-hero.js +48 -34
  401. package/dist/video/video-card.d.ts +34 -20
  402. package/dist/video/video-card.js +119 -76
  403. package/dist/video/video-player.d.ts +17 -14
  404. package/dist/video/video-player.js +68 -30
  405. package/dist/video/video-shelf.d.ts +26 -14
  406. package/dist/video/video-shelf.js +88 -50
  407. package/package.json +4 -2
  408. package/dist/docs/callout.d.ts +0 -46
  409. package/dist/docs/callout.js +0 -61
  410. package/dist/docs/code-block.d.ts +0 -74
  411. package/dist/utils/field-parts.d.ts +0 -26
  412. package/dist/utils/field-parts.js +0 -12
  413. /package/dist/{docs/mixins → mixins}/copy-feedback.d.ts +0 -0
  414. /package/dist/{docs/mixins → mixins}/copy-feedback.js +0 -0
  415. /package/dist/{docs/mixins → mixins}/toc-spy.d.ts +0 -0
  416. /package/dist/{docs/mixins → mixins}/toc-spy.js +0 -0
  417. /package/dist/{docs/utils → utils}/reveal-in-scroller.d.ts +0 -0
  418. /package/dist/{docs/utils → utils}/reveal-in-scroller.js +0 -0
@@ -35,17 +35,18 @@ export declare namespace FilterMenu {
35
35
  /** Checked, or the current page for a link; selected items sort first. */
36
36
  selected?: boolean;
37
37
  };
38
- /** A titled run of items: stacked sections, or one tab each with `tabs`. */
38
+ /**
39
+ * A titled run of items: stacked sections, or one tab each with `tabs`. Groups stay data:
40
+ * the island filters, sorts and limits thousands of them in the browser.
41
+ */
39
42
  type Group = {
40
43
  /** The section heading, or the tab's name with `tabs`. */
41
44
  label: string;
42
45
  /** The group's choices, drawn in this order after the selected ones. */
43
46
  items: Item[];
44
47
  };
45
- /** Every string the menu shows. */
48
+ /** Every string the list draws or announces itself, while it filters in the browser. */
46
49
  type Labels = {
47
- /** The popover's heading and accessible name, such as "Switch branches/tags". */
48
- title?: string;
49
50
  /** The filter field's name and placeholder, such as "Filter branches". */
50
51
  filter: string;
51
52
  /** Said when nothing matches the filter, such as "Nothing to show". */
@@ -54,11 +55,11 @@ export declare namespace FilterMenu {
54
55
  more: string;
55
56
  /** The submit button a picker shows without script, such as "Save". */
56
57
  save: string;
57
- /** The accessible name of the tab strip, such as "Ref type". */
58
+ /** The accessible name of the tab strip, such as "Ref type"; the filter's by default. */
58
59
  tabs?: string;
59
60
  };
60
61
  /** Props the {@link FilterMenuList} island receives, all plain data. */
61
- type ListProps = {
62
+ type ListIslandProps = {
62
63
  /** Prefix for every id the list renders. */
63
64
  id: string;
64
65
  /** Whether rows are links, radios or checkboxes. */
@@ -80,10 +81,30 @@ export declare namespace FilterMenu {
80
81
  /** Every string the list shows. */
81
82
  labels: Labels;
82
83
  };
83
- /** Props {@link FilterMenu.Popover} accepts: everything but the trigger. */
84
- interface PopoverProps extends Omit<TagProps<"div">, "id" | "children" | "popover"> {
85
- /** The popover's id, which the trigger, or any `popovertarget`, opens. */
84
+ /** The menu's id, which its trigger and popover share. */
85
+ interface Props {
86
+ /** The popover's id; the trigger takes `${id}-trigger`. */
87
+ id: string;
88
+ children?: RemixNode;
89
+ }
90
+ /** What the menu shares with its trigger and popover. */
91
+ interface Context {
92
+ id: string;
93
+ }
94
+ /** Every native `<div>` attribute of the popover, plus the side it opens on. */
95
+ interface PopoverProps extends Omit<TagProps<"div">, "id" | "popover"> {
96
+ /** The popover's id; the enclosing {@link FilterMenu}'s by default. */
97
+ id?: string;
98
+ /** The trigger's side the popover opens on above phone widths. @default "bottom-start" */
99
+ placement?: Popover.Placement;
100
+ }
101
+ /** What the popover shares with its title and list. */
102
+ interface PopoverContext {
86
103
  id: string;
104
+ titleId: string;
105
+ }
106
+ /** Everything the list filters and posts; see {@link FilterMenuList}. */
107
+ interface ListProps {
87
108
  /** Whether rows are links, radios or checkboxes. */
88
109
  mode: Mode;
89
110
  /** Every choice, sent whole to the island so filtering never waits on the server. */
@@ -102,37 +123,34 @@ export declare namespace FilterMenu {
102
123
  query?: string;
103
124
  /** How many matches the list draws before one closing "more" row. @default 100 */
104
125
  limit?: number;
105
- /** A closing link or action, such as "View all branches". */
106
- footer?: RemixNode;
107
- /** The trigger's side the popover opens on above phone widths. @default "bottom-start" */
108
- placement?: Popover.Placement;
109
- /** Every string the menu shows, so it reads in any language. */
126
+ /** Every string the list shows, so it reads in any language. */
110
127
  labels: Labels;
111
128
  }
112
- /** Props {@link FilterMenu} accepts: the popover's, plus what its trigger shows. */
113
- interface Props extends PopoverProps {
114
- /** The trigger's content, such as a branch icon and the current branch's name. */
115
- trigger: RemixNode;
116
- }
117
129
  }
118
130
  /**
119
- * Renders a trigger and its native popover: links in `navigate` mode, a form posted to `action` by
120
- * its Save button in `single` and `multiple`. Mapping `@sdxc/ui/app/filter-menu` in the browser
121
- * entry runs {@link FilterMenuList}: typing filters, arrows walk, and closing a changed picker posts.
131
+ * Groups a {@link FilterMenu.Trigger} with its {@link FilterMenu.Popover} under one `id`,
132
+ * drawing nothing of its own. Mapping `@sdxc/ui/app/filter-menu` in the browser entry runs
133
+ * {@link FilterMenuList}: typing filters, arrows walk, and closing a changed picker posts.
122
134
  *
123
- * @param handle Runtime handle carrying the menu's props.
124
- * @returns The render function producing the trigger and popover.
125
- * @example
126
- * <FilterMenu id="ref-picker" mode="navigate" tabs trigger={<><GitBranchIcon /> main</>}
127
- * groups={[{ label: "Branches", items: branches }, { label: "Tags", items: tags }]}
128
- * filterAction="/delta/branches" footer={<a href="/delta/branches">View all branches</a>} labels={labels} />
135
+ * @param handle Runtime handle carrying the menu's id and parts.
136
+ * @returns The render function producing the parts.
129
137
  * @example
130
- * <FilterMenu id="labels" mode="multiple" name="label" action={`/issues/${id}/labels`}
131
- * trigger="Labels" groups={[{ label: "Labels", items: labels }]} labels={copy} />
138
+ * <FilterMenu id="ref-picker">
139
+ * <FilterMenu.Trigger><GitBranchIcon /> main</FilterMenu.Trigger>
140
+ * <FilterMenu.Popover>
141
+ * <FilterMenu.Title>Switch branches/tags</FilterMenu.Title>
142
+ * <FilterMenu.List mode="navigate" tabs groups={groups} filterAction="/delta/branches" labels={labels} />
143
+ * <FilterMenu.Footer><a href="/delta/branches">View all branches</a></FilterMenu.Footer>
144
+ * </FilterMenu.Popover>
145
+ * </FilterMenu>
132
146
  */
133
- export declare function FilterMenu(handle: Handle<FilterMenu.Props>): () => import("remix/component").RemixElement;
147
+ export declare function FilterMenu(handle: Handle<FilterMenu.Props, FilterMenu.Context>): () => import("remix/component").RemixElement;
134
148
  export declare namespace FilterMenu {
135
- var Popover: (handle: Handle<FilterMenu.PopoverProps>) => () => import("remix/component").RemixElement;
149
+ var Trigger: (handle: Handle<TagProps<"button">>) => () => import("remix/component").RemixElement;
150
+ var Popover: (handle: Handle<FilterMenu.PopoverProps, FilterMenu.PopoverContext>) => () => import("remix/component").RemixElement;
151
+ var Title: (handle: Handle<TagProps<"p">>) => () => import("remix/component").RemixElement;
152
+ var List: (handle: Handle<FilterMenu.ListProps>) => () => import("remix/component").RemixElement;
153
+ var Footer: (handle: Handle<TagProps<"div">>) => () => import("remix/component").RemixElement;
136
154
  }
137
155
  /**
138
156
  * Client island: the filter field, the tabs and the rows of a {@link FilterMenu}. It draws at
@@ -141,4 +159,4 @@ export declare namespace FilterMenu {
141
159
  *
142
160
  * @example <FilterMenuList id="labels" mode="multiple" name="label" groups={groups} filterForm="labels-filter-form" labels={labels} />
143
161
  */
144
- export declare const FilterMenuList: EntryComponent<FilterMenu.ListProps>;
162
+ export declare const FilterMenuList: EntryComponent<FilterMenu.ListIslandProps>;
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "remix/component/jsx-runtime";
1
+ import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "remix/component/jsx-runtime";
2
2
  import { CheckIcon, ChevronDownIcon } from "@sdxc/icons";
3
3
  import { visuallyHidden } from "@sdxc/u/a11y";
4
4
  import { accent, bg, borderEdge, fg, outline } from "@sdxc/u/color";
@@ -25,44 +25,66 @@ const DEFAULT_PLACEMENT = "bottom-start";
25
25
  /** The viewport width at and below which the popover is drawn as a bottom sheet. */
26
26
  const SHEET_QUERY = "(max-width: 40rem)";
27
27
  /**
28
- * Renders a trigger and its native popover: links in `navigate` mode, a form posted to `action` by
29
- * its Save button in `single` and `multiple`. Mapping `@sdxc/ui/app/filter-menu` in the browser
30
- * entry runs {@link FilterMenuList}: typing filters, arrows walk, and closing a changed picker posts.
28
+ * Groups a {@link FilterMenu.Trigger} with its {@link FilterMenu.Popover} under one `id`,
29
+ * drawing nothing of its own. Mapping `@sdxc/ui/app/filter-menu` in the browser entry runs
30
+ * {@link FilterMenuList}: typing filters, arrows walk, and closing a changed picker posts.
31
31
  *
32
- * @param handle Runtime handle carrying the menu's props.
33
- * @returns The render function producing the trigger and popover.
32
+ * @param handle Runtime handle carrying the menu's id and parts.
33
+ * @returns The render function producing the parts.
34
34
  * @example
35
- * <FilterMenu id="ref-picker" mode="navigate" tabs trigger={<><GitBranchIcon /> main</>}
36
- * groups={[{ label: "Branches", items: branches }, { label: "Tags", items: tags }]}
37
- * filterAction="/delta/branches" footer={<a href="/delta/branches">View all branches</a>} labels={labels} />
38
- * @example
39
- * <FilterMenu id="labels" mode="multiple" name="label" action={`/issues/${id}/labels`}
40
- * trigger="Labels" groups={[{ label: "Labels", items: labels }]} labels={copy} />
35
+ * <FilterMenu id="ref-picker">
36
+ * <FilterMenu.Trigger><GitBranchIcon /> main</FilterMenu.Trigger>
37
+ * <FilterMenu.Popover>
38
+ * <FilterMenu.Title>Switch branches/tags</FilterMenu.Title>
39
+ * <FilterMenu.List mode="navigate" tabs groups={groups} filterAction="/delta/branches" labels={labels} />
40
+ * <FilterMenu.Footer><a href="/delta/branches">View all branches</a></FilterMenu.Footer>
41
+ * </FilterMenu.Popover>
42
+ * </FilterMenu>
41
43
  */
42
44
  export function FilterMenu(handle) {
43
45
  return () => {
44
- let { trigger, ...rest } = handle.props;
45
- return (_jsxs(_Fragment, { children: [_jsxs(Button, { type: "button", variant: "outline", size: "sm", id: `${rest.id}-trigger`, popovertarget: rest.id, "aria-haspopup": "dialog", "data-slot": "filter-menu-trigger", mix: [minIs(0)], children: [_jsx("span", { mix: [inlineFlex(), items("center"), gap(1.5), minIs(0), truncate()], children: trigger }), _jsx(ChevronDownIcon, { size: 14, "aria-hidden": "true", mix: [shrink(0), fg("neutral.muted")] })] }), _jsx(FilterMenu.Popover, { ...rest })] }));
46
+ handle.context.set({ id: handle.props.id });
47
+ return _jsx(_Fragment, { children: handle.props.children });
46
48
  };
47
49
  }
48
50
  /**
49
- * Renders the popover alone, for a trigger the page already has, such as a property row's
50
- * edit button targeting `id`. It holds the heading, the filter, the list and the footer; at
51
- * phone widths the same element is drawn as a bottom sheet over a dimmed page.
51
+ * The outlined button that opens the menu's popover, its children truncated before a chevron:
52
+ * a branch icon and the current branch's name, say.
53
+ *
54
+ * @param handle Runtime handle carrying the button's props.
55
+ * @returns The render function producing the button.
56
+ * @example <FilterMenu.Trigger>Labels</FilterMenu.Trigger>
57
+ */
58
+ FilterMenu.Trigger = function FilterMenuTrigger(handle) {
59
+ return () => {
60
+ let { children, mix, ...rest } = handle.props;
61
+ let context = handle.context.get(FilterMenu);
62
+ let id = context?.id ?? "filter-menu";
63
+ return (_jsxs(Button, { type: "button", variant: "outline", size: "sm", id: `${id}-trigger`, popovertarget: id, "aria-haspopup": "dialog", "data-slot": "filter-menu-trigger", ...rest, mix: mergeMix([minIs(0)], mix), children: [_jsx("span", { mix: [inlineFlex(), items("center"), gap(1.5), minIs(0), truncate()], children: children }), _jsx(ChevronDownIcon, { size: 14, "aria-hidden": "true", mix: [shrink(0), fg("neutral.muted")] })] }));
64
+ };
65
+ };
66
+ /**
67
+ * The popover, stacking its {@link FilterMenu.Title}, {@link FilterMenu.List} and
68
+ * {@link FilterMenu.Footer} in the order given; at phone widths the same element is drawn as a
69
+ * bottom sheet over a dimmed page. Alone, with its own `id`, it serves a trigger the page
70
+ * already has. Name it with a title, or with `aria-label`.
52
71
  *
53
72
  * @param handle Runtime handle carrying the popover's props.
54
73
  * @returns The render function producing the popover.
55
74
  * @example
56
75
  * <button popovertarget="issue-labels">Labels</button>
57
- * <FilterMenu.Popover id="issue-labels" mode="multiple" name="label" groups={groups} labels={labels} />
76
+ * <FilterMenu.Popover id="issue-labels" aria-label="Labels">
77
+ * <FilterMenu.List mode="multiple" name="label" groups={groups} labels={labels} />
78
+ * </FilterMenu.Popover>
58
79
  */
59
80
  FilterMenu.Popover = function FilterMenuPopover(handle) {
60
81
  return () => {
61
- let { id, mode, groups, tabs, name, action, target, filterAction, query, limit, footer, placement, labels, mix, ...rest } = handle.props;
82
+ let { id: idProp, placement, children, mix, ...rest } = handle.props;
83
+ let menu = handle.context.get(FilterMenu);
84
+ let id = idProp ?? menu?.id ?? "filter-menu";
62
85
  let titleId = `${id}-title`;
63
- let filterForm = `${id}-filter-form`;
64
- let list = (_jsx(FilterMenuList, { id: id, mode: mode, name: name, groups: groups, tabs: tabs, limit: limit, query: query, filterForm: filterForm, searchable: filterAction !== undefined, labels: labels }));
65
- return (_jsxs(Popover, { id: id, placement: placement ?? DEFAULT_PLACEMENT, role: "dialog", "aria-labelledby": labels.title ? titleId : undefined, "aria-label": labels.title ? undefined : labels.filter, "data-slot": "filter-menu", "data-mode": mode, ...rest, mix: mergeMix([
86
+ handle.context.set({ id, titleId });
87
+ return (_jsx(Popover, { id: id, placement: placement ?? DEFAULT_PLACEMENT, role: "dialog", "aria-labelledby": rest["aria-label"] === undefined ? titleId : undefined, "data-slot": "filter-menu", ...rest, mix: mergeMix([
66
88
  p(0),
67
89
  is("20rem"),
68
90
  raw({ maxInlineSize: "calc(100vw - 2rem)" }),
@@ -87,23 +109,66 @@ FilterMenu.Popover = function FilterMenuPopover(handle) {
87
109
  paddingBlockEnd: "env(safe-area-inset-bottom)",
88
110
  })),
89
111
  media(SHEET_QUERY, when("&::backdrop", raw({ backgroundColor: "rgb(0 0 0 / 0.32)" }))),
90
- ], mix), children: [labels.title ? (_jsx("p", { id: titleId, "data-slot": "filter-menu-title", mix: [
91
- m(0),
92
- pi(3),
93
- pb(2),
94
- weight("semibold"),
95
- borderEdge("block-end", { width: 1, style: "solid", color: "neutral" }),
96
- ], children: labels.title })) : null, _jsx("form", { id: filterForm, method: "get", action: filterAction, hidden: true }), mode === "navigate" ? (list) : (_jsx("form", { method: "post", action: action, "data-rmx-target": target, "data-slot": "filter-menu-form", mix: [flexCol(), minBs(0), grow()], children: list })), footer ? (_jsx("div", { "data-slot": "filter-menu-footer", mix: [
97
- flex(),
98
- pi(3),
99
- pb(2),
100
- borderEdge("block-start", { width: 1, style: "solid", color: "neutral" }),
101
- when("& a", [
102
- fg("brand"),
103
- textDecoration("none"),
104
- hover(textDecoration("underline")),
105
- ]),
106
- ], children: footer })) : null] }));
112
+ ], mix), children: children }));
113
+ };
114
+ };
115
+ /**
116
+ * The popover's heading over a rule, which names it: "Switch branches/tags".
117
+ *
118
+ * @param handle Runtime handle carrying the paragraph's props.
119
+ * @returns The render function producing the title.
120
+ * @example <FilterMenu.Title>Apply labels</FilterMenu.Title>
121
+ */
122
+ FilterMenu.Title = function FilterMenuTitle(handle) {
123
+ return () => {
124
+ let { children, mix, ...rest } = handle.props;
125
+ let popover = handle.context.get(FilterMenu.Popover);
126
+ return (_jsx("p", { id: popover?.titleId, "data-slot": "filter-menu-title", ...rest, mix: mergeMix([
127
+ m(0),
128
+ pi(3),
129
+ pb(2),
130
+ weight("semibold"),
131
+ borderEdge("block-end", { width: 1, style: "solid", color: "neutral" }),
132
+ ], mix), children: children }));
133
+ };
134
+ };
135
+ /**
136
+ * The filter field, tabs and rows as the {@link FilterMenuList} island: links in `navigate`
137
+ * mode, else inside a form posted to `action` when the popover closes, or by its Save button
138
+ * without script.
139
+ *
140
+ * @param handle Runtime handle carrying the list's data.
141
+ * @returns The render function producing the list.
142
+ * @example <FilterMenu.List mode="single" name="assignee" action="/issues/7/assignee" groups={groups} labels={labels} />
143
+ */
144
+ FilterMenu.List = function FilterMenuListPart(handle) {
145
+ return () => {
146
+ let { mode, groups, tabs, name, action, target, filterAction, query, limit, labels } = handle.props;
147
+ let popover = handle.context.get(FilterMenu.Popover);
148
+ let id = popover?.id ?? "filter-menu";
149
+ let filterForm = `${id}-filter-form`;
150
+ let list = (_jsx(FilterMenuList, { id: id, mode: mode, name: name, groups: groups, tabs: tabs, limit: limit, query: query, filterForm: filterForm, searchable: filterAction !== undefined, labels: labels }));
151
+ return (_jsxs(_Fragment, { children: [_jsx("form", { id: filterForm, method: "get", action: filterAction, hidden: true }), mode === "navigate" ? (list) : (_jsx("form", { method: "post", action: action, "data-rmx-target": target, "data-slot": "filter-menu-form", mix: [flexCol(), minBs(0), grow()], children: list }))] }));
152
+ };
153
+ };
154
+ /**
155
+ * A closing link or action under a rule, such as "View all branches"; links in it take the
156
+ * brand colour.
157
+ *
158
+ * @param handle Runtime handle carrying the footer's props.
159
+ * @returns The render function producing the footer.
160
+ * @example <FilterMenu.Footer><a href="/branches">View all branches</a></FilterMenu.Footer>
161
+ */
162
+ FilterMenu.Footer = function FilterMenuFooter(handle) {
163
+ return () => {
164
+ let { children, mix, ...rest } = handle.props;
165
+ return (_jsx("div", { "data-slot": "filter-menu-footer", ...rest, mix: mergeMix([
166
+ flex(),
167
+ pi(3),
168
+ pb(2),
169
+ borderEdge("block-start", { width: 1, style: "solid", color: "neutral" }),
170
+ when("& a", [fg("brand"), textDecoration("none"), hover(textDecoration("underline"))]),
171
+ ], mix), children: children }));
107
172
  };
108
173
  };
109
174
  /**
@@ -315,7 +380,7 @@ export const FilterMenuList = clientEntry("@sdxc/ui/app/filter-menu#FilterMenuLi
315
380
  p(2),
316
381
  borderEdge("block-end", { width: 1, style: "solid", color: "neutral" }),
317
382
  when("&[hidden]", hidden()),
318
- ], children: _jsx(SearchField.Input, { id: inputId, name: searchable ? "q" : undefined, form: filterForm, defaultValue: query, autofocus: true, autocomplete: "off", "aria-label": labels.filter, "aria-autocomplete": "list", "aria-controls": listId, "aria-activedescendant": activeEntry?.controlId, placeholder: labels.filter }) }), tabs ? (_jsx(FilterMenuTabs, { id: id, groups: groups, tab: tab, filterForm: filterForm, label: labels.tabs ?? labels.title ?? labels.filter })) : null, _jsx("div", { id: listId, "data-slot": "filter-menu-items", mix: [
383
+ ], children: _jsx(SearchField.Input, { id: inputId, name: searchable ? "q" : undefined, form: filterForm, defaultValue: query, autofocus: true, autocomplete: "off", "aria-label": labels.filter, "aria-autocomplete": "list", "aria-controls": listId, "aria-activedescendant": activeEntry?.controlId, placeholder: labels.filter }) }), tabs ? (_jsx(FilterMenuTabs, { id: id, groups: groups, tab: tab, filterForm: filterForm, label: labels.tabs ?? labels.filter })) : null, _jsx("div", { id: listId, "data-slot": "filter-menu-items", mix: [
319
384
  grow(),
320
385
  minBs(0),
321
386
  overflowY("auto"),
@@ -7,7 +7,7 @@
7
7
  * @copyright Sergio Xalambrí 2026
8
8
  */
9
9
  import type { EntryComponent, Handle, Props as TagProps, RemixNode } from "remix/component";
10
- /** Prop types for {@link Gantt}, {@link Gantt.Group} and {@link Gantt.Item}. */
10
+ /** Prop types for {@link Gantt}, {@link Gantt.Group}, {@link Gantt.Item} and their parts. */
11
11
  export declare namespace Gantt {
12
12
  /** Every string the chart shows or announces; `{…}` marks where a value goes. */
13
13
  interface Labels {
@@ -19,7 +19,7 @@ export declare namespace Gantt {
19
19
  progress: string;
20
20
  /** A late bar's projection, such as "projected to finish {date}". */
21
21
  projected: string;
22
- /** What an item without dates says on the axis, such as "No dates". */
22
+ /** What a screen reader hears for an item without dates, such as "No dates". */
23
23
  unscheduled: string;
24
24
  }
25
25
  /** Props accepted by {@link Gantt}. */
@@ -34,10 +34,8 @@ export declare namespace Gantt {
34
34
  today?: string;
35
35
  /** Formats the month and day labels. @default "en" */
36
36
  locale?: string;
37
- /** The list column's heading row, such as Active and Closed tabs. */
38
- header?: RemixNode;
39
37
  labels: Labels;
40
- /** {@link Gantt.Group}s, in order. */
38
+ /** A {@link Gantt.Header} and the {@link Gantt.Group}s, in order. */
41
39
  children: RemixNode;
42
40
  }
43
41
  /** Context the chart hands its groups and items. */
@@ -47,24 +45,23 @@ export declare namespace Gantt {
47
45
  locale: string;
48
46
  labels: Labels;
49
47
  }
50
- /** Props accepted by {@link Gantt.Group}. */
51
- interface GroupProps extends Omit<TagProps<"section">, "title" | "children"> {
52
- /** The group's name, such as a quarter. */
53
- title: RemixNode;
54
- /** Controls at the group header's end, such as an "Add project" link. */
55
- actions?: RemixNode;
56
- /** {@link Gantt.Item}s. */
57
- children?: RemixNode;
48
+ /** Every native `<div>` attribute. */
49
+ interface HeaderProps extends TagProps<"div"> {
58
50
  }
59
- /** Props accepted by {@link Gantt.Item}. */
60
- interface ItemProps extends Omit<TagProps<"li">, "children"> {
61
- name: string;
62
- /** The project's page; the name in the list and on the bar both link to it. */
63
- href?: string;
64
- /** A 16px glyph before the name, in the list and on the bar. */
65
- icon?: RemixNode;
66
- /** Trailing details in the list row, such as the lead's avatar and a status. */
67
- meta?: RemixNode;
51
+ /** Every native `<section>` attribute. */
52
+ interface GroupProps extends TagProps<"section"> {
53
+ }
54
+ /** Every native `<div>` attribute. */
55
+ interface GroupHeaderProps extends TagProps<"div"> {
56
+ }
57
+ /** Every native `<h3>` attribute. */
58
+ interface GroupTitleProps extends TagProps<"h3"> {
59
+ }
60
+ /** Every native `<ul>` attribute. */
61
+ interface GroupItemsProps extends TagProps<"ul"> {
62
+ }
63
+ /** Every native `<li>` attribute, plus the schedule the row's bar is drawn from. */
64
+ interface ItemProps extends TagProps<"li"> {
68
65
  /** The first day, as `YYYY-MM-DD`; an item without `start` and `end` has no bar. */
69
66
  start?: string;
70
67
  /** The target day, as `YYYY-MM-DD`. */
@@ -73,8 +70,35 @@ export declare namespace Gantt {
73
70
  progress?: number;
74
71
  /** The day the work is projected to finish; past `end`, a hatched tail runs to it. */
75
72
  projectedEnd?: string;
76
- /** Drawn after the name on the bar, such as a burn-up sparkline. */
77
- trailing?: RemixNode;
73
+ }
74
+ /** The schedule an item resolves once for its name and bar. */
75
+ interface ItemContext {
76
+ /** Whether the item has a readable start and end, so it draws a bar. */
77
+ scheduled: boolean;
78
+ /** Days from the axis's first day to the bar's start. */
79
+ left: number;
80
+ /** The bar's length in days. */
81
+ length: number;
82
+ /** Days past the bar's end the hatched tail runs, or 0 when it is on time. */
83
+ late: number;
84
+ /** The bar's fill, from 0 to 100. */
85
+ percent: number;
86
+ /** The schedule written out for a screen reader. */
87
+ description: string;
88
+ }
89
+ /** Every native `<div>` attribute. */
90
+ interface ItemLabelProps extends TagProps<"div"> {
91
+ }
92
+ /** Every native `<span>` attribute. */
93
+ interface ItemSpanProps extends TagProps<"span"> {
94
+ }
95
+ /** Every native `<span>` attribute, plus where the name links. */
96
+ interface ItemNameProps extends TagProps<"span"> {
97
+ /** The project's page. */
98
+ href?: string;
99
+ }
100
+ /** Every native `<div>` attribute; the children label the bar. */
101
+ interface ItemBarProps extends TagProps<"div"> {
78
102
  }
79
103
  }
80
104
  /**
@@ -96,13 +120,29 @@ export declare function ganttDay(date: string): number;
96
120
  *
97
121
  * @example
98
122
  * <Gantt label="Gantt" start="2026-09-01" end="2027-03-31" today="2026-11-12" labels={labels}>
99
- * <Gantt.Group title="Q4 2026">
100
- * <Gantt.Item name="Checkout v2" href="/projects/checkout" start="2026-10-01" end="2026-12-15" progress={0.6} />
123
+ * <Gantt.Group>
124
+ * <Gantt.GroupHeader><Gantt.GroupTitle>Q4 2026</Gantt.GroupTitle></Gantt.GroupHeader>
125
+ * <Gantt.GroupItems>
126
+ * <Gantt.Item start="2026-10-01" end="2026-12-15" progress={0.6}>
127
+ * <Gantt.ItemLabel><Gantt.ItemName href="/projects/checkout">Checkout v2</Gantt.ItemName></Gantt.ItemLabel>
128
+ * <Gantt.ItemBar>Checkout v2</Gantt.ItemBar>
129
+ * </Gantt.Item>
130
+ * </Gantt.GroupItems>
101
131
  * </Gantt.Group>
102
132
  * </Gantt>
103
133
  */
104
134
  export declare function Gantt(handle: Handle<Gantt.Props, Gantt.Context>): () => import("remix/component").RemixElement;
105
135
  export declare namespace Gantt {
136
+ var Header: (handle: Handle<Gantt.HeaderProps>) => () => import("remix/component").RemixElement;
106
137
  var Group: (handle: Handle<Gantt.GroupProps>) => () => import("remix/component").RemixElement;
107
- var Item: (handle: Handle<Gantt.ItemProps>) => () => import("remix/component").RemixElement;
138
+ var GroupHeader: (handle: Handle<Gantt.GroupHeaderProps>) => () => import("remix/component").RemixElement;
139
+ var GroupTitle: (handle: Handle<Gantt.GroupTitleProps>) => () => import("remix/component").RemixElement;
140
+ var GroupItems: (handle: Handle<Gantt.GroupItemsProps>) => () => import("remix/component").RemixElement;
141
+ var Item: (handle: Handle<Gantt.ItemProps, Gantt.ItemContext>) => () => import("remix/component").RemixElement;
142
+ var ItemLabel: (handle: Handle<Gantt.ItemLabelProps>) => () => import("remix/component").RemixElement;
143
+ var ItemIcon: (handle: Handle<Gantt.ItemSpanProps>) => () => import("remix/component").RemixElement;
144
+ var ItemName: (handle: Handle<Gantt.ItemNameProps>) => () => import("remix/component").RemixElement;
145
+ var ItemMeta: (handle: Handle<Gantt.ItemSpanProps>) => () => import("remix/component").RemixElement;
146
+ var ItemBar: (handle: Handle<Gantt.ItemBarProps>) => () => import("remix/component").RemixElement;
147
+ var ItemTrailing: (handle: Handle<Gantt.ItemSpanProps>) => () => import("remix/component").RemixElement;
108
148
  }