@krizaka/ui 3.54.0 → 3.59.0

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 (814) hide show
  1. package/README.md +1 -0
  2. package/dist/{RotatingWord-D9s7FXFD.d.ts → RotatingWord-COSabR2c.d.ts} +2 -1
  3. package/dist/account-menu.d.ts +8 -3
  4. package/dist/account-menu.js +8 -1
  5. package/dist/account-menu.js.map +1 -1
  6. package/dist/account-settings.d.ts +153 -61
  7. package/dist/account-settings.js +243 -160
  8. package/dist/account-settings.js.map +1 -1
  9. package/dist/achievement.d.ts +2 -1
  10. package/dist/action-bar.d.ts +3 -2
  11. package/dist/activity-feed.d.ts +2 -1
  12. package/dist/agenda.d.ts +2 -1
  13. package/dist/alert.d.ts +2 -1
  14. package/dist/anatomy-plate.d.ts +6 -2
  15. package/dist/anatomy-plate.js +4 -0
  16. package/dist/anatomy-plate.js.map +1 -1
  17. package/dist/app-header/search.d.ts +64 -0
  18. package/dist/app-header/search.js +70 -0
  19. package/dist/app-header/search.js.map +1 -0
  20. package/dist/app-header.d.ts +89 -4
  21. package/dist/app-header.js +63 -5
  22. package/dist/app-header.js.map +1 -1
  23. package/dist/app-shell.d.ts +26 -25
  24. package/dist/app-shell.js +31 -40
  25. package/dist/app-shell.js.map +1 -1
  26. package/dist/argument-card.d.ts +3 -2
  27. package/dist/argument-card.js +3 -3
  28. package/dist/audio-player.d.ts +2 -1
  29. package/dist/auth-layout.d.ts +11 -10
  30. package/dist/avatar/defaults.d.ts +2 -1
  31. package/dist/avatar.d.ts +2 -1
  32. package/dist/badge.d.ts +2 -1
  33. package/dist/bird-plate.d.ts +7 -3
  34. package/dist/bird-plate.js +2 -2
  35. package/dist/bird-plate.js.map +1 -1
  36. package/dist/blocks.css +235 -27
  37. package/dist/button.d.ts +2 -1
  38. package/dist/captcha.d.ts +2 -1
  39. package/dist/captcha.js +1 -0
  40. package/dist/captcha.js.map +1 -1
  41. package/dist/card-grid.d.ts +2 -1
  42. package/dist/card.d.ts +2 -1
  43. package/dist/catalogue-page.d.ts +82 -2
  44. package/dist/catalogue-page.js +156 -13
  45. package/dist/catalogue-page.js.map +1 -1
  46. package/dist/changelog-page.d.ts +2 -1
  47. package/dist/chapter.d.ts +2 -1
  48. package/dist/chat.d.ts +14 -13
  49. package/dist/chat.js +2 -2
  50. package/dist/chat.js.map +1 -1
  51. package/dist/checkbox.d.ts +2 -1
  52. package/dist/checkbox.js +1 -1
  53. package/dist/checkbox.js.map +1 -1
  54. package/dist/chip-link.d.ts +2 -1
  55. package/dist/chip-row.d.ts +8 -7
  56. package/dist/chip.d.ts +55 -1
  57. package/dist/chip.js +14 -98
  58. package/dist/chip.js.map +1 -1
  59. package/dist/choice-grid.d.ts +3 -2
  60. package/dist/choice-grid.js +28 -88
  61. package/dist/choice-grid.js.map +1 -1
  62. package/dist/chunk-27AWSJTK.js +46 -0
  63. package/dist/chunk-27AWSJTK.js.map +1 -0
  64. package/dist/{chunk-YGIN2YIY.js → chunk-3X3OF4TI.js} +2 -2
  65. package/dist/chunk-3X3OF4TI.js.map +1 -0
  66. package/dist/{chunk-KBQD6HE3.js → chunk-4GQH27IT.js} +3 -3
  67. package/dist/{chunk-KBQD6HE3.js.map → chunk-4GQH27IT.js.map} +1 -1
  68. package/dist/{chunk-YHKTYFOQ.js → chunk-5LANVCK7.js} +383 -107
  69. package/dist/chunk-5LANVCK7.js.map +1 -0
  70. package/dist/{chunk-KDXRYUD3.js → chunk-5QEXOGO2.js} +3 -1
  71. package/dist/{chunk-KDXRYUD3.js.map → chunk-5QEXOGO2.js.map} +1 -1
  72. package/dist/chunk-5VEVYDVC.js +11 -0
  73. package/dist/chunk-5VEVYDVC.js.map +1 -0
  74. package/dist/chunk-7J2L4HOD.js +340 -0
  75. package/dist/chunk-7J2L4HOD.js.map +1 -0
  76. package/dist/chunk-BDIU5LZB.js +18 -0
  77. package/dist/chunk-BDIU5LZB.js.map +1 -0
  78. package/dist/chunk-BQ4EOR2O.js +177 -0
  79. package/dist/chunk-BQ4EOR2O.js.map +1 -0
  80. package/dist/chunk-CSRKYZ53.js +39 -0
  81. package/dist/chunk-CSRKYZ53.js.map +1 -0
  82. package/dist/chunk-F6JTHPHE.js +399 -0
  83. package/dist/chunk-F6JTHPHE.js.map +1 -0
  84. package/dist/chunk-HEKDKM5Y.js +128 -0
  85. package/dist/chunk-HEKDKM5Y.js.map +1 -0
  86. package/dist/chunk-KGLRZMCY.js +16 -0
  87. package/dist/chunk-KGLRZMCY.js.map +1 -0
  88. package/dist/chunk-KID32IRJ.js +18 -0
  89. package/dist/chunk-KID32IRJ.js.map +1 -0
  90. package/dist/chunk-OGWB76BR.js +90 -0
  91. package/dist/chunk-OGWB76BR.js.map +1 -0
  92. package/dist/{chunk-4LYKBSOG.js → chunk-USPOIQV5.js} +2 -2
  93. package/dist/chunk-USPOIQV5.js.map +1 -0
  94. package/dist/chunk-UYGUSYIC.js +173 -0
  95. package/dist/chunk-UYGUSYIC.js.map +1 -0
  96. package/dist/{chunk-7NRSPHAF.js → chunk-VB7MWE2N.js} +2 -2
  97. package/dist/{chunk-7NRSPHAF.js.map → chunk-VB7MWE2N.js.map} +1 -1
  98. package/dist/chunk-WOZP3JLW.js +51 -0
  99. package/dist/chunk-WOZP3JLW.js.map +1 -0
  100. package/dist/chunk-XVXFMVG3.js +27 -0
  101. package/dist/chunk-XVXFMVG3.js.map +1 -0
  102. package/dist/chunk-YCZ7N6Q6.js +385 -0
  103. package/dist/chunk-YCZ7N6Q6.js.map +1 -0
  104. package/dist/code-block.d.ts +2 -1
  105. package/dist/code-block.js +81 -98
  106. package/dist/code-block.js.map +1 -1
  107. package/dist/combobox.d.ts +20 -19
  108. package/dist/combobox.js +3 -2
  109. package/dist/command.d.ts +21 -20
  110. package/dist/comparison-table.d.ts +2 -1
  111. package/dist/component-page.d.ts +6 -2
  112. package/dist/component-page.js +5 -0
  113. package/dist/component-page.js.map +1 -1
  114. package/dist/confirm-button.d.ts +2 -1
  115. package/dist/contact-page.d.ts +2 -1
  116. package/dist/continue-prompt.d.ts +6 -2
  117. package/dist/continue-prompt.js +4 -0
  118. package/dist/continue-prompt.js.map +1 -1
  119. package/dist/countdown.d.ts +2 -1
  120. package/dist/cover-hero.d.ts +20 -19
  121. package/dist/cover-hero.js +25 -42
  122. package/dist/cover-hero.js.map +1 -1
  123. package/dist/cta-panel.d.ts +2 -1
  124. package/dist/dashboard-layout.d.ts +50 -2
  125. package/dist/dashboard-layout.js +66 -11
  126. package/dist/dashboard-layout.js.map +1 -1
  127. package/dist/data-table.d.ts +103 -4
  128. package/dist/data-table.js +23 -7
  129. package/dist/date-picker.d.ts +29 -28
  130. package/dist/date-picker.js +2 -2
  131. package/dist/date-picker.js.map +1 -1
  132. package/dist/decision-list.d.ts +2 -1
  133. package/dist/description-list.d.ts +2 -1
  134. package/dist/detail-layout.d.ts +147 -3
  135. package/dist/detail-layout.js +143 -17
  136. package/dist/detail-layout.js.map +1 -1
  137. package/dist/{dialog-D42QwYb_.d.ts → dialog-DpUwec2g.d.ts} +2 -1
  138. package/dist/dialog.d.ts +3 -2
  139. package/dist/docs-article-page.d.ts +2 -1
  140. package/dist/docs-hub-page.d.ts +2 -1
  141. package/dist/docs-layout.d.ts +2 -1
  142. package/dist/docs-nav.d.ts +3 -10
  143. package/dist/document-viewer.d.ts +5 -4
  144. package/dist/doodle.d.ts +32 -0
  145. package/dist/doodle.js +70 -0
  146. package/dist/doodle.js.map +1 -0
  147. package/dist/drop-overlay.d.ts +14 -5
  148. package/dist/drop-overlay.js +16 -6
  149. package/dist/drop-overlay.js.map +1 -1
  150. package/dist/dropdown-menu.d.ts +2 -1
  151. package/dist/dropdown-menu.js +13 -74
  152. package/dist/dropdown-menu.js.map +1 -1
  153. package/dist/elephant.d.ts +4 -1
  154. package/dist/elephant.js +4 -0
  155. package/dist/elephant.js.map +1 -1
  156. package/dist/empty-state.d.ts +2 -1
  157. package/dist/engine-flow.d.ts +2 -1
  158. package/dist/error-page.d.ts +2 -1
  159. package/dist/field.js +1 -1
  160. package/dist/field.js.map +1 -1
  161. package/dist/file-upload.d.ts +14 -13
  162. package/dist/filter-bar.d.ts +84 -11
  163. package/dist/filter-bar.js +6 -2
  164. package/dist/flock.d.ts +3 -2
  165. package/dist/footnote.d.ts +2 -1
  166. package/dist/force-update-screen.d.ts +13 -8
  167. package/dist/force-update-screen.js +4 -0
  168. package/dist/force-update-screen.js.map +1 -1
  169. package/dist/form/server.d.ts +2 -1
  170. package/dist/form.d.ts +2 -1
  171. package/dist/gallery-page.d.ts +6 -2
  172. package/dist/gallery-page.js +4 -0
  173. package/dist/gallery-page.js.map +1 -1
  174. package/dist/genui.d.ts +2 -1
  175. package/dist/genui.js +5 -5
  176. package/dist/{geometry-DX-W-Yyf.d.ts → geometry-DZ4Q3hDQ.d.ts} +2 -1
  177. package/dist/glossary-term.d.ts +2 -1
  178. package/dist/glossary.d.ts +2 -1
  179. package/dist/glow-card.d.ts +2 -1
  180. package/dist/goal-gauge.d.ts +2 -1
  181. package/dist/grade-stamp.d.ts +23 -0
  182. package/dist/grade-stamp.js +42 -0
  183. package/dist/grade-stamp.js.map +1 -0
  184. package/dist/how-it-works-page.d.ts +2 -1
  185. package/dist/image-cropper.d.ts +15 -6
  186. package/dist/image-cropper.js +4 -0
  187. package/dist/image-cropper.js.map +1 -1
  188. package/dist/index.d.ts +3 -2
  189. package/dist/index.js +4 -4
  190. package/dist/iso.d.ts +2 -1
  191. package/dist/kanban.d.ts +5 -1
  192. package/dist/kanban.js +4 -0
  193. package/dist/kanban.js.map +1 -1
  194. package/dist/kbd.d.ts +2 -1
  195. package/dist/kind-config-editor.d.ts +152 -0
  196. package/dist/kind-config-editor.js +574 -0
  197. package/dist/kind-config-editor.js.map +1 -0
  198. package/dist/kpi-explained.d.ts +2 -1
  199. package/dist/landing-page.d.ts +2 -1
  200. package/dist/landscape.d.ts +6 -2
  201. package/dist/landscape.js +4 -0
  202. package/dist/landscape.js.map +1 -1
  203. package/dist/language-switch/server.d.ts +2 -1
  204. package/dist/language-switch.d.ts +11 -10
  205. package/dist/legal-page.d.ts +2 -1
  206. package/dist/link-card.d.ts +2 -1
  207. package/dist/list.d.ts +2 -1
  208. package/dist/list.js +1 -1
  209. package/dist/loader.d.ts +2 -1
  210. package/dist/longform-page.d.ts +2 -1
  211. package/dist/maintenance-screen.d.ts +10 -5
  212. package/dist/maintenance-screen.js +4 -0
  213. package/dist/maintenance-screen.js.map +1 -1
  214. package/dist/map.d.ts +8 -7
  215. package/dist/map.js +30 -0
  216. package/dist/map.js.map +1 -1
  217. package/dist/markdown.d.ts +7 -2
  218. package/dist/markdown.js +12 -5
  219. package/dist/markdown.js.map +1 -1
  220. package/dist/marketing-layout.d.ts +5 -4
  221. package/dist/marquee.d.ts +2 -1
  222. package/dist/mascot-quote.d.ts +2 -1
  223. package/dist/mascot-state.d.ts +3 -2
  224. package/dist/mascots.d.ts +4 -3
  225. package/dist/match-dialog.d.ts +6 -2
  226. package/dist/match-dialog.js +4 -0
  227. package/dist/match-dialog.js.map +1 -1
  228. package/dist/media-capture.d.ts +11 -5
  229. package/dist/media-capture.js +4 -0
  230. package/dist/media-capture.js.map +1 -1
  231. package/dist/media-gallery.d.ts +2 -1
  232. package/dist/media-grid.d.ts +3 -10
  233. package/dist/meta-row.d.ts +2 -1
  234. package/dist/meter.d.ts +2 -1
  235. package/dist/meter.js +5 -121
  236. package/dist/meter.js.map +1 -1
  237. package/dist/motion.d.ts +3 -2
  238. package/dist/native/form.d.ts +2 -1
  239. package/dist/native/list.d.ts +2 -1
  240. package/dist/native/map.d.ts +2 -1
  241. package/dist/native/map.js +30 -0
  242. package/dist/native/map.js.map +1 -1
  243. package/dist/native/markdown.d.ts +11 -3
  244. package/dist/native/markdown.js +46 -7
  245. package/dist/native/markdown.js.map +1 -1
  246. package/dist/native/media-capture.d.ts +3 -1
  247. package/dist/native/media-capture.js +5 -0
  248. package/dist/native/media-capture.js.map +1 -1
  249. package/dist/native/media-picker.d.ts +2 -1
  250. package/dist/native/vertical-video.d.ts +10 -3
  251. package/dist/native/vertical-video.js +6 -0
  252. package/dist/native/vertical-video.js.map +1 -1
  253. package/dist/native/video-player.d.ts +2 -1
  254. package/dist/native.d.ts +323 -4
  255. package/dist/native.js +1974 -1348
  256. package/dist/native.js.map +1 -1
  257. package/dist/nav-bar/me.d.ts +33 -0
  258. package/dist/nav-bar/me.js +23 -0
  259. package/dist/nav-bar/me.js.map +1 -0
  260. package/dist/nav-bar.d.ts +61 -2
  261. package/dist/nav-bar.js +92 -48
  262. package/dist/nav-bar.js.map +1 -1
  263. package/dist/next-actions.d.ts +2 -1
  264. package/dist/notification-preferences.d.ts +152 -0
  265. package/dist/notification-preferences.js +78 -0
  266. package/dist/notification-preferences.js.map +1 -0
  267. package/dist/number-ticker.d.ts +2 -1
  268. package/dist/opening-hours.d.ts +2 -1
  269. package/dist/page-header.d.ts +2 -1
  270. package/dist/page-header.js +1 -1
  271. package/dist/page-header.js.map +1 -1
  272. package/dist/page-hero.d.ts +2 -1
  273. package/dist/page-index.d.ts +2 -1
  274. package/dist/page.d.ts +2 -1
  275. package/dist/pagination.d.ts +2 -1
  276. package/dist/photo-grid.d.ts +2 -1
  277. package/dist/pointer-light.d.ts +2 -1
  278. package/dist/pointer-light.js +5 -0
  279. package/dist/pointer-light.js.map +1 -1
  280. package/dist/popover.d.ts +2 -1
  281. package/dist/pricing-page.d.ts +2 -1
  282. package/dist/product-page.d.ts +6 -2
  283. package/dist/product-page.js +4 -0
  284. package/dist/product-page.js.map +1 -1
  285. package/dist/profile-card.d.ts +120 -1
  286. package/dist/profile-card.js +68 -21
  287. package/dist/profile-card.js.map +1 -1
  288. package/dist/progress.d.ts +2 -1
  289. package/dist/promise-card.d.ts +6 -2
  290. package/dist/promise-card.js +4 -0
  291. package/dist/promise-card.js.map +1 -1
  292. package/dist/quota-meter.d.ts +114 -0
  293. package/dist/quota-meter.js +58 -0
  294. package/dist/quota-meter.js.map +1 -0
  295. package/dist/radio-group.d.ts +2 -1
  296. package/dist/radio-group.js +7 -9
  297. package/dist/radio-group.js.map +1 -1
  298. package/dist/rail-nav.d.ts +35 -18
  299. package/dist/rail-nav.js +45 -56
  300. package/dist/rail-nav.js.map +1 -1
  301. package/dist/recipes.d.ts +2 -1
  302. package/dist/retro-tv.d.ts +31 -0
  303. package/dist/retro-tv.js +124 -0
  304. package/dist/retro-tv.js.map +1 -0
  305. package/dist/router.d.ts +13 -1
  306. package/dist/router.js +85 -8
  307. package/dist/router.js.map +1 -1
  308. package/dist/scroll-stage.d.ts +7 -2
  309. package/dist/scroll-stage.js +5 -0
  310. package/dist/scroll-stage.js.map +1 -1
  311. package/dist/search-field.d.ts +2 -1
  312. package/dist/search-field.js +1 -1
  313. package/dist/section-backdrop.d.ts +2 -1
  314. package/dist/separator.d.ts +2 -1
  315. package/dist/service-card.d.ts +9 -8
  316. package/dist/settings-layout.d.ts +2 -1
  317. package/dist/settings-layout.js +10 -324
  318. package/dist/settings-layout.js.map +1 -1
  319. package/dist/showcase.d.ts +11 -3
  320. package/dist/showcase.js +5 -0
  321. package/dist/showcase.js.map +1 -1
  322. package/dist/signature.d.ts +20 -0
  323. package/dist/signature.js +39 -0
  324. package/dist/signature.js.map +1 -0
  325. package/dist/site-cahier.d.ts +187 -0
  326. package/dist/site-cahier.js +844 -0
  327. package/dist/site-cahier.js.map +1 -0
  328. package/dist/site-footer.d.ts +2 -1
  329. package/dist/site-footer.js +1 -1
  330. package/dist/sites.d.ts +2 -1
  331. package/dist/sites.js +1 -1
  332. package/dist/sites.js.map +1 -1
  333. package/dist/skeleton.d.ts +2 -1
  334. package/dist/skip-link.d.ts +2 -1
  335. package/dist/slider.d.ts +2 -1
  336. package/dist/slot-picker.d.ts +86 -13
  337. package/dist/slot-picker.js +98 -16
  338. package/dist/slot-picker.js.map +1 -1
  339. package/dist/slot.d.ts +1 -1
  340. package/dist/specimen-tag.d.ts +2 -1
  341. package/dist/speed-lines.d.ts +19 -0
  342. package/dist/speed-lines.js +45 -0
  343. package/dist/speed-lines.js.map +1 -0
  344. package/dist/spinner.d.ts +2 -1
  345. package/dist/split-view.d.ts +2 -1
  346. package/dist/stage-banner.d.ts +2 -1
  347. package/dist/stat.d.ts +2 -1
  348. package/dist/stat.js +1 -1
  349. package/dist/stat.js.map +1 -1
  350. package/dist/status-chip.d.ts +44 -0
  351. package/dist/status-chip.js +137 -0
  352. package/dist/status-chip.js.map +1 -0
  353. package/dist/status-page.d.ts +6 -2
  354. package/dist/status-page.js +5 -0
  355. package/dist/status-page.js.map +1 -1
  356. package/dist/step-progress.d.ts +2 -1
  357. package/dist/step-showcase.d.ts +2 -1
  358. package/dist/stepper.d.ts +2 -1
  359. package/dist/sticky-action.d.ts +28 -5
  360. package/dist/sticky-action.js +10 -4
  361. package/dist/sticky-action.js.map +1 -1
  362. package/dist/stuck.d.ts +28 -0
  363. package/dist/stuck.js +26 -0
  364. package/dist/stuck.js.map +1 -0
  365. package/dist/swipe-deck.d.ts +11 -3
  366. package/dist/swipe-deck.js +5 -0
  367. package/dist/swipe-deck.js.map +1 -1
  368. package/dist/switch.d.ts +2 -1
  369. package/dist/switch.js +4 -32
  370. package/dist/switch.js.map +1 -1
  371. package/dist/tabs.d.ts +48 -8
  372. package/dist/tabs.js +62 -12
  373. package/dist/tabs.js.map +1 -1
  374. package/dist/tag-input.d.ts +2 -1
  375. package/dist/tag-input.js +3 -2
  376. package/dist/tag-input.js.map +1 -1
  377. package/dist/tag-selector.d.ts +30 -4
  378. package/dist/tag-selector.js +90 -8
  379. package/dist/tag-selector.js.map +1 -1
  380. package/dist/taped-photo.d.ts +2 -1
  381. package/dist/taped-photo.js +3 -20
  382. package/dist/taped-photo.js.map +1 -1
  383. package/dist/terminal-replay.d.ts +6 -2
  384. package/dist/terminal-replay.js +5 -1
  385. package/dist/terminal-replay.js.map +1 -1
  386. package/dist/text-style/server.d.ts +2 -1
  387. package/dist/text-style.d.ts +2 -1
  388. package/dist/theme.d.ts +21 -1
  389. package/dist/theme.js +37 -1
  390. package/dist/theme.js.map +1 -1
  391. package/dist/toast.d.ts +2 -1
  392. package/dist/toc.d.ts +2 -1
  393. package/dist/tooltip.d.ts +2 -1
  394. package/dist/tree-view.d.ts +2 -1
  395. package/dist/tree-view.js +4 -0
  396. package/dist/tree-view.js.map +1 -1
  397. package/dist/update-prompt.d.ts +16 -11
  398. package/dist/update-prompt.js +4 -0
  399. package/dist/update-prompt.js.map +1 -1
  400. package/dist/upload-queue.d.ts +2 -1
  401. package/dist/verified-badge.d.ts +2 -1
  402. package/dist/versus-card.d.ts +40 -0
  403. package/dist/versus-card.js +40 -0
  404. package/dist/versus-card.js.map +1 -0
  405. package/dist/vertical-video.d.ts +2 -1
  406. package/dist/video-player.d.ts +20 -19
  407. package/dist/video-player.js +7 -376
  408. package/dist/video-player.js.map +1 -1
  409. package/dist/video-trimmer.d.ts +8 -2
  410. package/dist/video-trimmer.js +4 -0
  411. package/dist/video-trimmer.js.map +1 -1
  412. package/dist/virtual.d.ts +8 -7
  413. package/dist/waveform.d.ts +2 -1
  414. package/package.json +249 -52
  415. package/registry/account-menu.json +9 -8
  416. package/registry/account-settings.json +258 -6
  417. package/registry/achievement.json +3 -4
  418. package/registry/action-bar.json +3 -3
  419. package/registry/action-sheet.json +1 -0
  420. package/registry/activity-feed.json +2 -1
  421. package/registry/agenda.json +1 -1
  422. package/registry/alert.json +1 -1
  423. package/registry/anatomy-plate.json +13 -5
  424. package/registry/app-header.json +470 -23
  425. package/registry/app-shell.json +2 -2
  426. package/registry/argument-card.json +1 -1
  427. package/registry/audio-player.json +1 -1
  428. package/registry/auth-layout.json +1 -1
  429. package/registry/avatar.json +3 -2
  430. package/registry/badge.json +2 -1
  431. package/registry/bird-plate.json +16 -2
  432. package/registry/button.json +7 -6
  433. package/registry/captcha.json +1 -1
  434. package/registry/card-grid.json +1 -1
  435. package/registry/card.json +7 -6
  436. package/registry/catalogue-page.json +117 -8
  437. package/registry/changelog-page.json +3 -5
  438. package/registry/chapter.json +1 -1
  439. package/registry/chat.json +3 -2
  440. package/registry/checkbox.json +4 -3
  441. package/registry/chip-link.json +2 -2
  442. package/registry/chip-row.json +2 -2
  443. package/registry/chip.json +388 -12
  444. package/registry/choice-grid.json +3 -4
  445. package/registry/code-block.json +1 -1
  446. package/registry/combobox.json +3 -2
  447. package/registry/command.json +2 -2
  448. package/registry/comparison-table.json +1 -1
  449. package/registry/component-page.json +14 -5
  450. package/registry/confirm-button.json +4 -4
  451. package/registry/contact-page.json +1 -1
  452. package/registry/continue-prompt.json +13 -5
  453. package/registry/countdown.json +4 -3
  454. package/registry/cover-hero.json +3 -4
  455. package/registry/cta-panel.json +1 -1
  456. package/registry/dashboard-layout.json +91 -5
  457. package/registry/data-table.json +215 -8
  458. package/registry/date-picker.json +5 -4
  459. package/registry/decision-list.json +1 -1
  460. package/registry/description-list.json +2 -1
  461. package/registry/detail-layout.json +226 -8
  462. package/registry/dialog.json +7 -6
  463. package/registry/docs-article-page.json +3 -4
  464. package/registry/docs-hub-page.json +1 -1
  465. package/registry/docs-layout.json +1 -1
  466. package/registry/docs-nav.json +1 -1
  467. package/registry/document-viewer.json +3 -5
  468. package/registry/doodle.json +302 -0
  469. package/registry/drop-overlay.json +30 -16
  470. package/registry/dropdown-menu.json +2 -2
  471. package/registry/elephant.json +15 -7
  472. package/registry/empty-state.json +2 -1
  473. package/registry/engine-flow.json +1 -1
  474. package/registry/error-page.json +3 -5
  475. package/registry/examples/account-settings/appearance.d.ts +4 -0
  476. package/registry/examples/account-settings/appearance.js +40 -0
  477. package/registry/examples/account-settings/appearance.tsx +30 -0
  478. package/registry/examples/app-header/family.d.ts +4 -0
  479. package/registry/examples/app-header/family.js +41 -0
  480. package/registry/examples/app-header/family.tsx +37 -0
  481. package/registry/examples/app-header/native/family.d.ts +4 -0
  482. package/registry/examples/app-header/native/family.dark.png +0 -0
  483. package/registry/examples/app-header/native/family.js +25 -0
  484. package/registry/examples/app-header/native/family.light.png +0 -0
  485. package/registry/examples/app-header/native/family.tsx +33 -0
  486. package/registry/examples/catalogue-page/clients.d.ts +4 -0
  487. package/registry/examples/catalogue-page/clients.js +49 -0
  488. package/registry/examples/catalogue-page/clients.tsx +61 -0
  489. package/registry/examples/chip/marker-picker.d.ts +4 -0
  490. package/registry/examples/chip/marker-picker.js +17 -0
  491. package/registry/examples/chip/marker-picker.tsx +17 -0
  492. package/registry/examples/chip/native/marker-picker.d.ts +4 -0
  493. package/registry/examples/chip/native/marker-picker.dark.png +0 -0
  494. package/registry/examples/chip/native/marker-picker.js +18 -0
  495. package/registry/examples/chip/native/marker-picker.light.png +0 -0
  496. package/registry/examples/chip/native/marker-picker.tsx +16 -0
  497. package/registry/examples/chip/native/tags.d.ts +4 -0
  498. package/registry/examples/chip/native/tags.dark.png +0 -0
  499. package/registry/examples/chip/native/tags.js +22 -0
  500. package/registry/examples/chip/native/tags.light.png +0 -0
  501. package/registry/examples/chip/native/tags.tsx +20 -0
  502. package/registry/examples/chip/tags.d.ts +4 -0
  503. package/registry/examples/chip/tags.js +26 -0
  504. package/registry/examples/chip/tags.tsx +23 -0
  505. package/registry/examples/dashboard-layout/today.d.ts +4 -0
  506. package/registry/examples/dashboard-layout/today.js +54 -0
  507. package/registry/examples/dashboard-layout/today.tsx +63 -0
  508. package/registry/examples/data-table/applicant-files.d.ts +4 -0
  509. package/registry/examples/data-table/applicant-files.js +24 -0
  510. package/registry/examples/data-table/applicant-files.tsx +23 -0
  511. package/registry/examples/data-table/bulk.d.ts +4 -0
  512. package/registry/examples/data-table/bulk.js +45 -0
  513. package/registry/examples/data-table/bulk.tsx +34 -0
  514. package/registry/examples/data-table/checks.d.ts +4 -0
  515. package/registry/examples/data-table/checks.js +25 -0
  516. package/registry/examples/data-table/checks.tsx +24 -0
  517. package/registry/examples/detail-layout/client.d.ts +4 -0
  518. package/registry/examples/detail-layout/client.js +40 -0
  519. package/registry/examples/detail-layout/client.tsx +39 -0
  520. package/registry/examples/detail-layout/new-invoice.d.ts +4 -0
  521. package/registry/examples/detail-layout/new-invoice.js +44 -0
  522. package/registry/examples/detail-layout/new-invoice.tsx +34 -0
  523. package/registry/examples/detail-layout/profile.d.ts +4 -0
  524. package/registry/examples/detail-layout/profile.js +26 -0
  525. package/registry/examples/detail-layout/profile.tsx +21 -0
  526. package/registry/examples/doodle/bird-sketch.d.ts +4 -0
  527. package/registry/examples/doodle/bird-sketch.js +11 -0
  528. package/registry/examples/doodle/bird-sketch.tsx +12 -0
  529. package/registry/examples/doodle/kinds.d.ts +4 -0
  530. package/registry/examples/doodle/kinds.js +17 -0
  531. package/registry/examples/doodle/kinds.tsx +14 -0
  532. package/registry/examples/doodle/margin-marks.d.ts +4 -0
  533. package/registry/examples/doodle/margin-marks.js +27 -0
  534. package/registry/examples/doodle/margin-marks.tsx +19 -0
  535. package/registry/examples/doodle/margin.d.ts +4 -0
  536. package/registry/examples/doodle/margin.js +17 -0
  537. package/registry/examples/doodle/margin.tsx +17 -0
  538. package/registry/examples/filter-bar/views.d.ts +4 -0
  539. package/registry/examples/filter-bar/views.js +39 -0
  540. package/registry/examples/filter-bar/views.tsx +30 -0
  541. package/registry/examples/grade-stamp/coverage.d.ts +4 -0
  542. package/registry/examples/grade-stamp/coverage.js +12 -0
  543. package/registry/examples/grade-stamp/coverage.tsx +8 -0
  544. package/registry/examples/grade-stamp/lighthouse.d.ts +4 -0
  545. package/registry/examples/grade-stamp/lighthouse.js +12 -0
  546. package/registry/examples/grade-stamp/lighthouse.tsx +14 -0
  547. package/registry/examples/kind-config-editor/derived.d.ts +4 -0
  548. package/registry/examples/kind-config-editor/derived.js +26 -0
  549. package/registry/examples/kind-config-editor/derived.tsx +16 -0
  550. package/registry/examples/kind-config-editor/native/status-set.d.ts +4 -0
  551. package/registry/examples/kind-config-editor/native/status-set.dark.png +0 -0
  552. package/registry/examples/kind-config-editor/native/status-set.js +22 -0
  553. package/registry/examples/kind-config-editor/native/status-set.light.png +0 -0
  554. package/registry/examples/kind-config-editor/native/status-set.tsx +19 -0
  555. package/registry/examples/kind-config-editor/native/tag-set.d.ts +4 -0
  556. package/registry/examples/kind-config-editor/native/tag-set.dark.png +0 -0
  557. package/registry/examples/kind-config-editor/native/tag-set.js +20 -0
  558. package/registry/examples/kind-config-editor/native/tag-set.light.png +0 -0
  559. package/registry/examples/kind-config-editor/native/tag-set.tsx +18 -0
  560. package/registry/examples/kind-config-editor/status-set.d.ts +4 -0
  561. package/registry/examples/kind-config-editor/status-set.js +29 -0
  562. package/registry/examples/kind-config-editor/status-set.tsx +25 -0
  563. package/registry/examples/kind-config-editor/tag-set.d.ts +4 -0
  564. package/registry/examples/kind-config-editor/tag-set.js +20 -0
  565. package/registry/examples/kind-config-editor/tag-set.tsx +18 -0
  566. package/registry/examples/markdown/native/basic.dark.png +0 -0
  567. package/registry/examples/markdown/native/basic.light.png +0 -0
  568. package/registry/examples/markdown/native/wide-table.d.ts +4 -0
  569. package/registry/examples/markdown/native/wide-table.dark.png +0 -0
  570. package/registry/examples/markdown/native/wide-table.js +23 -0
  571. package/registry/examples/markdown/native/wide-table.light.png +0 -0
  572. package/registry/examples/markdown/native/wide-table.tsx +22 -0
  573. package/registry/examples/markdown/wide-table.d.ts +4 -0
  574. package/registry/examples/markdown/wide-table.js +28 -0
  575. package/registry/examples/markdown/wide-table.tsx +23 -0
  576. package/registry/examples/nav-bar/family-product.js +2 -4
  577. package/registry/examples/nav-bar/family-product.tsx +3 -5
  578. package/registry/examples/notification-preferences/default.d.ts +4 -0
  579. package/registry/examples/notification-preferences/default.js +29 -0
  580. package/registry/examples/notification-preferences/default.tsx +28 -0
  581. package/registry/examples/profile-card/banner.d.ts +4 -0
  582. package/registry/examples/profile-card/banner.js +28 -0
  583. package/registry/examples/profile-card/banner.tsx +24 -0
  584. package/registry/examples/profile-card/native/banner.d.ts +4 -0
  585. package/registry/examples/profile-card/native/banner.dark.png +0 -0
  586. package/registry/examples/profile-card/native/banner.js +22 -0
  587. package/registry/examples/profile-card/native/banner.light.png +0 -0
  588. package/registry/examples/profile-card/native/banner.tsx +18 -0
  589. package/registry/examples/quota-meter/default.d.ts +4 -0
  590. package/registry/examples/quota-meter/default.js +26 -0
  591. package/registry/examples/quota-meter/default.tsx +20 -0
  592. package/registry/examples/quota-meter/full.d.ts +4 -0
  593. package/registry/examples/quota-meter/full.js +25 -0
  594. package/registry/examples/quota-meter/full.tsx +18 -0
  595. package/registry/examples/rail-nav/shortcuts.d.ts +4 -0
  596. package/registry/examples/rail-nav/shortcuts.js +49 -0
  597. package/registry/examples/rail-nav/shortcuts.tsx +40 -0
  598. package/registry/examples/retro-tv/cabinet.d.ts +4 -0
  599. package/registry/examples/retro-tv/cabinet.js +12 -0
  600. package/registry/examples/retro-tv/cabinet.tsx +7 -0
  601. package/registry/examples/retro-tv/portable.d.ts +4 -0
  602. package/registry/examples/retro-tv/portable.js +12 -0
  603. package/registry/examples/retro-tv/portable.tsx +7 -0
  604. package/registry/examples/signature/both.d.ts +4 -0
  605. package/registry/examples/signature/both.js +11 -0
  606. package/registry/examples/signature/both.tsx +6 -0
  607. package/registry/examples/signature/variants.d.ts +4 -0
  608. package/registry/examples/signature/variants.js +14 -0
  609. package/registry/examples/signature/variants.tsx +11 -0
  610. package/registry/examples/site-cahier/java-releases.d.ts +4 -0
  611. package/registry/examples/site-cahier/java-releases.js +33 -0
  612. package/registry/examples/site-cahier/java-releases.tsx +32 -0
  613. package/registry/examples/site-cahier/motion-lab.d.ts +4 -0
  614. package/registry/examples/site-cahier/motion-lab.js +32 -0
  615. package/registry/examples/site-cahier/motion-lab.tsx +29 -0
  616. package/registry/examples/site-cahier/ts-changelog.d.ts +4 -0
  617. package/registry/examples/site-cahier/ts-changelog.js +24 -0
  618. package/registry/examples/site-cahier/ts-changelog.tsx +20 -0
  619. package/registry/examples/site-cahier/ts-doc.d.ts +4 -0
  620. package/registry/examples/site-cahier/ts-doc.js +38 -0
  621. package/registry/examples/site-cahier/ts-doc.tsx +27 -0
  622. package/registry/examples/site-cahier/ui-home.d.ts +4 -0
  623. package/registry/examples/site-cahier/ui-home.js +46 -0
  624. package/registry/examples/site-cahier/ui-home.tsx +40 -0
  625. package/registry/examples/slot-picker/weeks.d.ts +4 -0
  626. package/registry/examples/slot-picker/weeks.js +45 -0
  627. package/registry/examples/slot-picker/weeks.tsx +28 -0
  628. package/registry/examples/speed-lines/hero.d.ts +4 -0
  629. package/registry/examples/speed-lines/hero.js +11 -0
  630. package/registry/examples/speed-lines/hero.tsx +12 -0
  631. package/registry/examples/speed-lines/streaks.d.ts +4 -0
  632. package/registry/examples/speed-lines/streaks.js +11 -0
  633. package/registry/examples/speed-lines/streaks.tsx +12 -0
  634. package/registry/examples/status-chip/default.d.ts +4 -0
  635. package/registry/examples/status-chip/default.js +35 -0
  636. package/registry/examples/status-chip/default.tsx +32 -0
  637. package/registry/examples/status-chip/native/default.d.ts +4 -0
  638. package/registry/examples/status-chip/native/default.dark.png +0 -0
  639. package/registry/examples/status-chip/native/default.js +26 -0
  640. package/registry/examples/status-chip/native/default.light.png +0 -0
  641. package/registry/examples/status-chip/native/default.tsx +20 -0
  642. package/registry/examples/stuck/card.d.ts +4 -0
  643. package/registry/examples/stuck/card.js +13 -0
  644. package/registry/examples/stuck/card.tsx +14 -0
  645. package/registry/examples/stuck/holds.d.ts +4 -0
  646. package/registry/examples/stuck/holds.js +12 -0
  647. package/registry/examples/stuck/holds.tsx +16 -0
  648. package/registry/examples/stuck/tag.d.ts +4 -0
  649. package/registry/examples/stuck/tag.js +12 -0
  650. package/registry/examples/stuck/tag.tsx +13 -0
  651. package/registry/examples/tabs/binder.d.ts +4 -0
  652. package/registry/examples/tabs/binder.js +22 -0
  653. package/registry/examples/tabs/binder.tsx +20 -0
  654. package/registry/examples/tabs/native/binder.d.ts +4 -0
  655. package/registry/examples/tabs/native/binder.dark.png +0 -0
  656. package/registry/examples/tabs/native/binder.js +26 -0
  657. package/registry/examples/tabs/native/binder.light.png +0 -0
  658. package/registry/examples/tabs/native/binder.tsx +22 -0
  659. package/registry/examples/tag-selector/creatable.d.ts +4 -0
  660. package/registry/examples/tag-selector/creatable.js +41 -0
  661. package/registry/examples/tag-selector/creatable.tsx +29 -0
  662. package/registry/examples/tag-selector/native/tags.d.ts +4 -0
  663. package/registry/examples/tag-selector/native/tags.dark.png +0 -0
  664. package/registry/examples/tag-selector/native/tags.js +19 -0
  665. package/registry/examples/tag-selector/native/tags.light.png +0 -0
  666. package/registry/examples/tag-selector/native/tags.tsx +19 -0
  667. package/registry/examples/versus-card/alternatives.d.ts +4 -0
  668. package/registry/examples/versus-card/alternatives.js +20 -0
  669. package/registry/examples/versus-card/alternatives.tsx +14 -0
  670. package/registry/examples/versus-card/releases.d.ts +4 -0
  671. package/registry/examples/versus-card/releases.js +35 -0
  672. package/registry/examples/versus-card/releases.tsx +29 -0
  673. package/registry/fab.json +1 -0
  674. package/registry/field.json +3 -2
  675. package/registry/file-upload.json +6 -11
  676. package/registry/filter-bar.json +209 -9
  677. package/registry/flock.json +3 -4
  678. package/registry/footnote.json +2 -3
  679. package/registry/force-update-screen.json +14 -5
  680. package/registry/form.json +5 -4
  681. package/registry/gallery-page.json +14 -5
  682. package/registry/genui.json +2 -2
  683. package/registry/glossary-term.json +1 -1
  684. package/registry/glossary.json +1 -1
  685. package/registry/glow-card.json +2 -2
  686. package/registry/goal-gauge.json +2 -1
  687. package/registry/grade-stamp.json +227 -0
  688. package/registry/header.json +1 -0
  689. package/registry/how-it-works-page.json +3 -5
  690. package/registry/image-cropper.json +13 -5
  691. package/registry/image-viewer.json +3 -4
  692. package/registry/index.json +612 -105
  693. package/registry/iso.json +1 -1
  694. package/registry/kanban.json +13 -5
  695. package/registry/kbd.json +1 -1
  696. package/registry/kind-config-editor.json +565 -0
  697. package/registry/kpi-explained.json +2 -2
  698. package/registry/landing-page.json +3 -5
  699. package/registry/landscape.json +13 -5
  700. package/registry/language-switch.json +1 -1
  701. package/registry/legal-page.json +1 -1
  702. package/registry/link-card.json +1 -1
  703. package/registry/list.json +2 -1
  704. package/registry/loader.json +2 -1
  705. package/registry/longform-page.json +1 -1
  706. package/registry/maintenance-screen.json +14 -5
  707. package/registry/map.json +3 -2
  708. package/registry/markdown.json +86 -9
  709. package/registry/marketing-layout.json +1 -1
  710. package/registry/marquee.json +1 -1
  711. package/registry/mascot-quote.json +1 -1
  712. package/registry/mascot-state.json +12 -11
  713. package/registry/mascots.json +2 -1
  714. package/registry/match-dialog.json +14 -5
  715. package/registry/media-capture.json +14 -5
  716. package/registry/media-gallery.json +3 -5
  717. package/registry/media-grid.json +1 -1
  718. package/registry/media-picker.json +2 -3
  719. package/registry/meta-row.json +2 -1
  720. package/registry/meter.json +4 -3
  721. package/registry/nav-bar.json +100 -9
  722. package/registry/next-actions.json +1 -1
  723. package/registry/notification-preferences.json +250 -0
  724. package/registry/number-ticker.json +2 -1
  725. package/registry/onboarding.json +1 -0
  726. package/registry/opening-hours.json +1 -1
  727. package/registry/otp-input.json +1 -0
  728. package/registry/page-header.json +2 -2
  729. package/registry/page-hero.json +1 -1
  730. package/registry/page-index.json +1 -1
  731. package/registry/page.json +3 -3
  732. package/registry/pagination.json +2 -1
  733. package/registry/permission-prompt.json +2 -2
  734. package/registry/photo-grid.json +4 -4
  735. package/registry/pointer-light.json +6 -2
  736. package/registry/popover.json +2 -2
  737. package/registry/pricing-page.json +4 -6
  738. package/registry/product-page.json +14 -5
  739. package/registry/profile-card.json +232 -8
  740. package/registry/progress.json +4 -3
  741. package/registry/promise-card.json +13 -5
  742. package/registry/pull-to-refresh.json +1 -0
  743. package/registry/quota-meter.json +308 -0
  744. package/registry/radio-group.json +4 -3
  745. package/registry/rail-nav.json +48 -10
  746. package/registry/recipes.json +1 -1
  747. package/registry/retro-tv.json +478 -0
  748. package/registry/router.json +3 -3
  749. package/registry/screen.json +1 -0
  750. package/registry/scroll-stage.json +14 -5
  751. package/registry/search-field.json +3 -2
  752. package/registry/section-backdrop.json +1 -1
  753. package/registry/segmented.json +1 -0
  754. package/registry/separator.json +2 -2
  755. package/registry/service-card.json +1 -1
  756. package/registry/settings-layout.json +2 -1
  757. package/registry/showcase.json +14 -5
  758. package/registry/signature.json +185 -0
  759. package/registry/site-cahier.json +548 -0
  760. package/registry/site-footer.json +3 -3
  761. package/registry/sites.json +2 -2
  762. package/registry/skeleton.json +2 -1
  763. package/registry/skip-link.json +1 -1
  764. package/registry/slider.json +5 -4
  765. package/registry/slot-picker.json +156 -10
  766. package/registry/slot.json +2 -2
  767. package/registry/specimen-tag.json +1 -1
  768. package/registry/speed-lines.json +174 -0
  769. package/registry/spinner.json +4 -3
  770. package/registry/splash-handoff.json +1 -0
  771. package/registry/split-view.json +1 -1
  772. package/registry/stage-banner.json +2 -3
  773. package/registry/stat.json +2 -2
  774. package/registry/status-chip.json +350 -0
  775. package/registry/status-page.json +13 -5
  776. package/registry/step-progress.json +2 -1
  777. package/registry/step-showcase.json +3 -5
  778. package/registry/stepper.json +2 -1
  779. package/registry/sticky-action.json +38 -8
  780. package/registry/stuck.json +219 -0
  781. package/registry/swipe-deck.json +14 -5
  782. package/registry/swipeable-row.json +1 -0
  783. package/registry/switch.json +3 -2
  784. package/registry/tab-bar.json +1 -0
  785. package/registry/tabs.json +154 -22
  786. package/registry/tag-input.json +1 -1
  787. package/registry/tag-selector.json +190 -12
  788. package/registry/taped-photo.json +1 -1
  789. package/registry/terminal-replay.json +14 -5
  790. package/registry/text-style.json +5 -5
  791. package/registry/theme.json +4 -3
  792. package/registry/toast.json +2 -1
  793. package/registry/toc.json +1 -1
  794. package/registry/tooltip.json +2 -2
  795. package/registry/tree-view.json +6 -2
  796. package/registry/txt.json +1 -0
  797. package/registry/update-prompt.json +14 -5
  798. package/registry/upload-queue.json +1 -1
  799. package/registry/verified-badge.json +6 -6
  800. package/registry/versus-card.json +194 -0
  801. package/registry/vertical-video.json +8 -3
  802. package/registry/video-player.json +5 -6
  803. package/registry/video-trimmer.json +13 -5
  804. package/registry/virtual.json +2 -2
  805. package/registry/waveform.json +4 -3
  806. package/dist/chunk-4LYKBSOG.js.map +0 -1
  807. package/dist/chunk-HHFWK2HH.js +0 -163
  808. package/dist/chunk-HHFWK2HH.js.map +0 -1
  809. package/dist/chunk-R3LTSMS5.js +0 -75
  810. package/dist/chunk-R3LTSMS5.js.map +0 -1
  811. package/dist/chunk-YGIN2YIY.js.map +0 -1
  812. package/dist/chunk-YHKTYFOQ.js.map +0 -1
  813. package/dist/chunk-ZQW7LF4Y.js +0 -179
  814. package/dist/chunk-ZQW7LF4Y.js.map +0 -1
@@ -31,4 +31,5 @@ type DecisionListProps = React.HTMLAttributes<HTMLOListElement> & {
31
31
  /** Numbered decisions: chose, then refused · because · what it costs, side by side. */
32
32
  declare function DecisionList({ decisions, labels, reveal, className, ...props }: DecisionListProps): React.JSX.Element;
33
33
 
34
- export { type Decision, DecisionList, type DecisionListProps };
34
+ export { DecisionList };
35
+ export type { Decision, DecisionListProps };
@@ -102,4 +102,5 @@ type KeyValueGridProps = Omit<DescriptionListProps, "layout"> & {
102
102
  /** Key figures as a grid of cards that wraps with the width: a job's numbers, an account's limits. */
103
103
  declare function KeyValueGrid({ minWidth, style, ...props }: KeyValueGridProps): React.JSX.Element;
104
104
 
105
- export { type DescriptionItem, DescriptionList, type DescriptionListProps, KeyValueGrid, type KeyValueGridProps, descriptionList };
105
+ export { DescriptionList, KeyValueGrid, descriptionList };
106
+ export type { DescriptionItem, DescriptionListProps, KeyValueGridProps };
@@ -7,6 +7,7 @@ declare const detailLayout: tailwind_variants.TVReturnType<{
7
7
  root?: tailwind_variants.ClassValue;
8
8
  back?: tailwind_variants.ClassValue;
9
9
  header?: tailwind_variants.ClassValue;
10
+ banner?: tailwind_variants.ClassValue;
10
11
  media?: tailwind_variants.ClassValue;
11
12
  text?: tailwind_variants.ClassValue;
12
13
  eyebrow?: tailwind_variants.ClassValue;
@@ -17,6 +18,21 @@ declare const detailLayout: tailwind_variants.TVReturnType<{
17
18
  columns?: tailwind_variants.ClassValue;
18
19
  main?: tailwind_variants.ClassValue;
19
20
  aside?: tailwind_variants.ClassValue;
21
+ section?: tailwind_variants.ClassValue;
22
+ sectionTab?: tailwind_variants.ClassValue;
23
+ sectionHead?: tailwind_variants.ClassValue;
24
+ sectionTitle?: tailwind_variants.ClassValue;
25
+ notes?: tailwind_variants.ClassValue;
26
+ note?: tailwind_variants.ClassValue;
27
+ noteNum?: tailwind_variants.ClassValue;
28
+ noteBody?: tailwind_variants.ClassValue;
29
+ noteMeta?: tailwind_variants.ClassValue;
30
+ steps?: tailwind_variants.ClassValue;
31
+ step?: tailwind_variants.ClassValue;
32
+ stepHead?: tailwind_variants.ClassValue;
33
+ stepNum?: tailwind_variants.ClassValue;
34
+ stepTitle?: tailwind_variants.ClassValue;
35
+ totals?: tailwind_variants.ClassValue;
20
36
  };
21
37
  };
22
38
  } | {
@@ -25,6 +41,7 @@ declare const detailLayout: tailwind_variants.TVReturnType<{
25
41
  root?: tailwind_variants.ClassValue;
26
42
  back?: tailwind_variants.ClassValue;
27
43
  header?: tailwind_variants.ClassValue;
44
+ banner?: tailwind_variants.ClassValue;
28
45
  media?: tailwind_variants.ClassValue;
29
46
  text?: tailwind_variants.ClassValue;
30
47
  eyebrow?: tailwind_variants.ClassValue;
@@ -35,12 +52,28 @@ declare const detailLayout: tailwind_variants.TVReturnType<{
35
52
  columns?: tailwind_variants.ClassValue;
36
53
  main?: tailwind_variants.ClassValue;
37
54
  aside?: tailwind_variants.ClassValue;
55
+ section?: tailwind_variants.ClassValue;
56
+ sectionTab?: tailwind_variants.ClassValue;
57
+ sectionHead?: tailwind_variants.ClassValue;
58
+ sectionTitle?: tailwind_variants.ClassValue;
59
+ notes?: tailwind_variants.ClassValue;
60
+ note?: tailwind_variants.ClassValue;
61
+ noteNum?: tailwind_variants.ClassValue;
62
+ noteBody?: tailwind_variants.ClassValue;
63
+ noteMeta?: tailwind_variants.ClassValue;
64
+ steps?: tailwind_variants.ClassValue;
65
+ step?: tailwind_variants.ClassValue;
66
+ stepHead?: tailwind_variants.ClassValue;
67
+ stepNum?: tailwind_variants.ClassValue;
68
+ stepTitle?: tailwind_variants.ClassValue;
69
+ totals?: tailwind_variants.ClassValue;
38
70
  };
39
71
  };
40
72
  } | {}, {
41
73
  root: string;
42
74
  back: string;
43
75
  header: string;
76
+ banner: string;
44
77
  media: string;
45
78
  text: string;
46
79
  eyebrow: string;
@@ -51,12 +84,28 @@ declare const detailLayout: tailwind_variants.TVReturnType<{
51
84
  columns: string;
52
85
  main: string;
53
86
  aside: string;
87
+ section: string;
88
+ sectionTab: string;
89
+ sectionHead: string;
90
+ sectionTitle: string;
91
+ notes: string;
92
+ note: string;
93
+ noteNum: string;
94
+ noteBody: string;
95
+ noteMeta: string;
96
+ steps: string;
97
+ step: string;
98
+ stepHead: string;
99
+ stepNum: string;
100
+ stepTitle: string;
101
+ totals: string;
54
102
  }, undefined, {
55
103
  [key: string]: {
56
104
  [key: string]: tailwind_variants.ClassValue | {
57
105
  root?: tailwind_variants.ClassValue;
58
106
  back?: tailwind_variants.ClassValue;
59
107
  header?: tailwind_variants.ClassValue;
108
+ banner?: tailwind_variants.ClassValue;
60
109
  media?: tailwind_variants.ClassValue;
61
110
  text?: tailwind_variants.ClassValue;
62
111
  eyebrow?: tailwind_variants.ClassValue;
@@ -67,12 +116,28 @@ declare const detailLayout: tailwind_variants.TVReturnType<{
67
116
  columns?: tailwind_variants.ClassValue;
68
117
  main?: tailwind_variants.ClassValue;
69
118
  aside?: tailwind_variants.ClassValue;
119
+ section?: tailwind_variants.ClassValue;
120
+ sectionTab?: tailwind_variants.ClassValue;
121
+ sectionHead?: tailwind_variants.ClassValue;
122
+ sectionTitle?: tailwind_variants.ClassValue;
123
+ notes?: tailwind_variants.ClassValue;
124
+ note?: tailwind_variants.ClassValue;
125
+ noteNum?: tailwind_variants.ClassValue;
126
+ noteBody?: tailwind_variants.ClassValue;
127
+ noteMeta?: tailwind_variants.ClassValue;
128
+ steps?: tailwind_variants.ClassValue;
129
+ step?: tailwind_variants.ClassValue;
130
+ stepHead?: tailwind_variants.ClassValue;
131
+ stepNum?: tailwind_variants.ClassValue;
132
+ stepTitle?: tailwind_variants.ClassValue;
133
+ totals?: tailwind_variants.ClassValue;
70
134
  };
71
135
  };
72
136
  } | {}, {
73
137
  root: string;
74
138
  back: string;
75
139
  header: string;
140
+ banner: string;
76
141
  media: string;
77
142
  text: string;
78
143
  eyebrow: string;
@@ -83,10 +148,26 @@ declare const detailLayout: tailwind_variants.TVReturnType<{
83
148
  columns: string;
84
149
  main: string;
85
150
  aside: string;
151
+ section: string;
152
+ sectionTab: string;
153
+ sectionHead: string;
154
+ sectionTitle: string;
155
+ notes: string;
156
+ note: string;
157
+ noteNum: string;
158
+ noteBody: string;
159
+ noteMeta: string;
160
+ steps: string;
161
+ step: string;
162
+ stepHead: string;
163
+ stepNum: string;
164
+ stepTitle: string;
165
+ totals: string;
86
166
  }, tailwind_variants.TVReturnTypeLike<unknown, {
87
167
  root: string;
88
168
  back: string;
89
169
  header: string;
170
+ banner: string;
90
171
  media: string;
91
172
  text: string;
92
173
  eyebrow: string;
@@ -97,12 +178,32 @@ declare const detailLayout: tailwind_variants.TVReturnType<{
97
178
  columns: string;
98
179
  main: string;
99
180
  aside: string;
181
+ section: string;
182
+ sectionTab: string;
183
+ sectionHead: string;
184
+ sectionTitle: string;
185
+ notes: string;
186
+ note: string;
187
+ noteNum: string;
188
+ noteBody: string;
189
+ noteMeta: string;
190
+ steps: string;
191
+ step: string;
192
+ stepHead: string;
193
+ stepNum: string;
194
+ stepTitle: string;
195
+ totals: string;
100
196
  }>>;
101
197
  type DetailLayoutProps = Omit<React.ComponentProps<"div">, "title"> & {
102
198
  /** The way back to the list: your router's link (`<Link href="/videos">Videos</Link>`), drawn with its arrow. */
103
199
  back?: React.ReactNode;
104
- /** A thumbnail, a cover or an avatar beside the name. */
200
+ /** A thumbnail, a cover or an avatar beside the name; with `cover`, the avatar overlapping the cover. */
105
201
  media?: React.ReactNode;
202
+ /**
203
+ * A person's or a place's page (a client, a shop, a creator): the header becomes a `ProfileBanner` — this cover (an
204
+ * `<img alt="">`, or `true` for a tint of the brand's accent), `media` as the avatar overlapping it, then the name and the actions.
205
+ */
206
+ cover?: React.ReactNode;
106
207
  /** A mono line above the name (the object's kind, its id). */
107
208
  eyebrow?: React.ReactNode;
108
209
  /** The object's name: the `h1`. */
@@ -117,10 +218,53 @@ type DetailLayoutProps = Omit<React.ComponentProps<"div">, "title"> & {
117
218
  tabs?: React.ReactNode;
118
219
  /** The side panel: details, related objects, activity (under the content on a phone). */
119
220
  aside?: React.ReactNode;
221
+ /** A notes column (`DetailNotes`) at the top of the side panel, before `aside`. */
222
+ notes?: React.ReactNode;
120
223
  /** The content (the current tab). */
121
224
  children: React.ReactNode;
122
225
  };
123
226
  /** One object's page: header (back, media, name, status, facts, actions), tabs, content and a side panel. */
124
- declare function DetailLayout({ back, media, eyebrow, title, status, meta, actions, tabs, aside, className, children, ...props }: DetailLayoutProps): React.JSX.Element;
227
+ declare function DetailLayout({ back, media, cover, eyebrow, title, status, meta, actions, tabs, aside, notes, className, children, ...props }: DetailLayoutProps): React.JSX.Element;
228
+ type DetailSectionProps = Omit<React.ComponentProps<"section">, "title"> & {
229
+ /** The binder tab: names the section (`Invoices`). */
230
+ title: React.ReactNode;
231
+ /** On the right of the title: one action (`See all`). */
232
+ action?: React.ReactNode;
233
+ /** The title's level. @default 2 */
234
+ level?: 2 | 3;
235
+ };
236
+ /** A binder section of the main column: a titled region on a card, its name on a tab at the top-left corner. */
237
+ declare function DetailSection({ title, action, level, className, children, id, ...props }: DetailSectionProps): React.JSX.Element;
238
+ type DetailNote = {
239
+ id: string;
240
+ body: React.ReactNode; /** Who and when (`Eric · Oct 19`). */
241
+ meta?: React.ReactNode;
242
+ };
243
+ type DetailNotesProps = Omit<React.ComponentProps<"section">, "title"> & {
244
+ /** The column's name (`Notes`). */
245
+ title: React.ReactNode;
246
+ /** The notes, oldest first. */
247
+ notes: readonly DetailNote[];
248
+ /** Said when there is none. */
249
+ emptyLabel: string;
250
+ /** Under the list: the add field (a `Field` and a `Button`, a small form). */
251
+ add?: React.ReactNode;
252
+ };
253
+ /** The notes column of a person's or an object's page: numbered notes and an add field. */
254
+ declare function DetailNotes({ title, notes, emptyLabel, add, className, ...props }: DetailNotesProps): React.JSX.Element;
255
+ type FormStepData = {
256
+ id: string;
257
+ title: React.ReactNode;
258
+ children: React.ReactNode;
259
+ };
260
+ type FormStepsProps = Omit<React.ComponentProps<"ol">, "children"> & {
261
+ /** The steps in order: an id, a title and their fields. */
262
+ steps: readonly FormStepData[];
263
+ };
264
+ /** The numbered steps of a long form (a new invoice: client, lines, terms): an ordered list, each step a named region. */
265
+ declare function FormSteps({ steps, className, ...props }: FormStepsProps): React.JSX.Element;
266
+ /** The totals card of a form's side panel (`aside`): sticky with the panel on a desktop, under the steps on a phone. Plain primary at `lg` inside. */
267
+ declare function FormTotals({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
125
268
 
126
- export { DetailLayout, type DetailLayoutProps, detailLayout };
269
+ export { DetailLayout, DetailNotes, DetailSection, FormSteps, FormTotals, detailLayout };
270
+ export type { DetailLayoutProps, DetailNote, DetailNotesProps, DetailSectionProps, FormStepData, FormStepsProps };
@@ -1,11 +1,69 @@
1
+ import {
2
+ cn
3
+ } from "./chunk-S6NYGOJT.js";
4
+
1
5
  // src/detail-layout/detail-layout.tsx
6
+ import * as React from "react";
7
+ import { tv as tv2 } from "tailwind-variants";
8
+
9
+ // src/profile-card/banner.tsx
2
10
  import { tv } from "tailwind-variants";
11
+
12
+ // src/story-variant.ts
13
+ var brandClass = (brand) => brand ? `brand-${brand}` : void 0;
14
+
15
+ // src/profile-card/banner.tsx
3
16
  import { jsx, jsxs } from "react/jsx-runtime";
4
- var detailLayout = tv({
17
+ var profileBanner = tv({
18
+ slots: {
19
+ root: "relative flex w-full min-w-0 flex-col",
20
+ // The brand's accent, as a calm tint, when there is no picture; a picture fills it (`object-cover`).
21
+ cover: "relative h-28 w-full overflow-hidden rounded-xl bg-accent-soft bg-linear-to-br from-accent/30 via-accent-soft to-surface-2 sm:h-44 [&>img]:block [&>img]:h-full [&>img]:w-full [&>img]:object-cover",
22
+ scrim: "pointer-events-none absolute inset-0 bg-linear-to-t from-surface-0/70 via-transparent to-transparent",
23
+ body: "relative flex min-w-0 flex-col gap-3 px-1 sm:flex-row sm:items-end sm:justify-between sm:px-2",
24
+ identity: "flex min-w-0 items-end gap-4",
25
+ // The avatar overlaps the cover's lower edge by the same share at every width; the ring is the page's colour.
26
+ avatar: "relative -mt-10 h-20 w-20 shrink-0 overflow-hidden rounded-2xl bg-surface-3 ring-4 ring-surface-0 sm:-mt-14 sm:h-28 sm:w-28 [&>*]:h-full! [&>*]:w-full! [&_img]:h-full [&_img]:w-full [&_img]:object-cover",
27
+ text: "flex min-w-0 flex-1 flex-col gap-1 pb-1",
28
+ eyebrow: "font-mono text-[11px] font-semibold text-fg-accent",
29
+ titleRow: "flex min-w-0 flex-wrap items-center gap-2",
30
+ title: "min-w-0 font-display text-xl font-extrabold tracking-tight break-words text-fg sm:text-3xl",
31
+ meta: "flex flex-wrap items-center gap-x-3 gap-y-1 text-sm text-fg-secondary",
32
+ actions: "flex shrink-0 flex-wrap items-center gap-2 sm:justify-end sm:pb-1"
33
+ }
34
+ });
35
+ var s = profileBanner();
36
+ function ProfileBanner({ banner, avatar, eyebrow, title, titleAs: Title = "h1", status, meta, actions, brand, className, ...props }) {
37
+ return /* @__PURE__ */ jsxs("section", { className: s.root({ className: cn(brandClass(brand), className) }), ...props, children: [
38
+ /* @__PURE__ */ jsxs("div", { "data-cover": "", className: s.cover(), children: [
39
+ banner,
40
+ banner ? /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: s.scrim() }) : null
41
+ ] }),
42
+ /* @__PURE__ */ jsxs("div", { className: s.body(), children: [
43
+ /* @__PURE__ */ jsxs("div", { className: s.identity(), children: [
44
+ /* @__PURE__ */ jsx("div", { "data-avatar": "", className: s.avatar(), children: avatar }),
45
+ /* @__PURE__ */ jsxs("div", { className: s.text(), children: [
46
+ eyebrow && /* @__PURE__ */ jsx("p", { className: s.eyebrow(), children: eyebrow }),
47
+ /* @__PURE__ */ jsxs("div", { className: s.titleRow(), children: [
48
+ /* @__PURE__ */ jsx(Title, { className: s.title(), children: title }),
49
+ status
50
+ ] }),
51
+ meta && /* @__PURE__ */ jsx("div", { className: s.meta(), children: meta })
52
+ ] })
53
+ ] }),
54
+ actions && /* @__PURE__ */ jsx("div", { className: s.actions(), children: actions })
55
+ ] })
56
+ ] });
57
+ }
58
+
59
+ // src/detail-layout/detail-layout.tsx
60
+ import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
61
+ var detailLayout = tv2({
5
62
  slots: {
6
63
  root: "flex w-full flex-col gap-6",
7
64
  back: "inline-flex w-fit items-center gap-1.5 rounded-md text-sm font-medium text-fg-secondary no-underline hover:text-fg focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring",
8
65
  header: "flex flex-col gap-4 border-b border-border-subtle pb-5 sm:flex-row sm:items-start",
66
+ banner: "border-b border-border-subtle pb-5",
9
67
  media: "shrink-0 overflow-hidden rounded-xl [&>img]:block [&>img]:h-full [&>img]:w-full [&>img]:object-cover",
10
68
  text: "flex min-w-0 flex-1 flex-col gap-2",
11
69
  eyebrow: "font-mono text-[11px] font-semibold text-fg-accent",
@@ -15,34 +73,102 @@ var detailLayout = tv({
15
73
  actions: "flex shrink-0 flex-wrap items-center gap-2",
16
74
  columns: "grid grid-cols-1 gap-6 lg:grid-cols-[minmax(0,1fr)_20rem] lg:gap-8",
17
75
  main: "flex min-w-0 flex-col gap-5",
18
- aside: "flex min-w-0 flex-col gap-4 lg:sticky lg:top-20 lg:self-start"
76
+ aside: "flex min-w-0 flex-col gap-4 lg:sticky lg:top-20 lg:self-start",
77
+ section: "flex min-w-0 flex-col gap-3 rounded-xl rounded-tl-none border border-border-default bg-surface-1 p-4 sm:p-5",
78
+ sectionTab: "-mb-3 -mt-4 w-fit rounded-t-md border border-b-0 border-border-default bg-surface-2 px-3 py-1 text-xs font-bold text-fg-secondary sm:-mt-5",
79
+ sectionHead: "flex items-center justify-between gap-3",
80
+ sectionTitle: "m-0 text-sm font-semibold text-fg",
81
+ notes: "m-0 flex list-none flex-col gap-3 p-0 [counter-reset:note]",
82
+ note: "flex gap-3 text-sm text-fg [counter-increment:note]",
83
+ noteNum: "mt-0.5 grid size-6 shrink-0 place-items-center rounded-full bg-surface-3 text-xs font-bold tabular-nums text-fg-secondary",
84
+ noteBody: "flex min-w-0 flex-col gap-0.5",
85
+ noteMeta: "text-xs text-fg-secondary",
86
+ steps: "m-0 flex list-none flex-col gap-8 p-0",
87
+ step: "flex min-w-0 flex-col gap-3",
88
+ stepHead: "flex items-center gap-3",
89
+ stepNum: "grid size-8 shrink-0 place-items-center rounded-full bg-accent text-sm font-extrabold tabular-nums text-on-accent",
90
+ stepTitle: "m-0 text-base font-semibold text-fg",
91
+ totals: "flex flex-col gap-4 rounded-xl border border-border-default bg-surface-1 p-4"
19
92
  }
20
93
  });
21
- var s = detailLayout();
22
- function DetailLayout({ back, media, eyebrow, title, status, meta, actions, tabs, aside, className, children, ...props }) {
23
- return /* @__PURE__ */ jsxs("div", { className: s.root({ className }), ...props, children: [
24
- back && /* @__PURE__ */ jsx("div", { className: s.back(), children: back }),
25
- /* @__PURE__ */ jsxs("div", { className: s.header(), children: [
26
- media && /* @__PURE__ */ jsx("div", { className: s.media(), children: media }),
27
- /* @__PURE__ */ jsxs("div", { className: s.text(), children: [
28
- eyebrow && /* @__PURE__ */ jsx("p", { className: s.eyebrow(), children: eyebrow }),
29
- /* @__PURE__ */ jsxs("div", { className: s.titleRow(), children: [
30
- /* @__PURE__ */ jsx("h1", { className: s.title(), children: title }),
94
+ var s2 = detailLayout();
95
+ function DetailLayout({ back, media, cover, eyebrow, title, status, meta, actions, tabs, aside, notes, className, children, ...props }) {
96
+ const side = notes || aside;
97
+ return /* @__PURE__ */ jsxs2("div", { className: s2.root({ className }), ...props, children: [
98
+ back && /* @__PURE__ */ jsx2("div", { className: s2.back(), children: back }),
99
+ cover ? /* @__PURE__ */ jsx2(ProfileBanner, { className: s2.banner(), banner: cover === true ? void 0 : cover, avatar: media, eyebrow, title, status, meta, actions }) : /* @__PURE__ */ jsxs2("div", { className: s2.header(), children: [
100
+ media && /* @__PURE__ */ jsx2("div", { className: s2.media(), children: media }),
101
+ /* @__PURE__ */ jsxs2("div", { className: s2.text(), children: [
102
+ eyebrow && /* @__PURE__ */ jsx2("p", { className: s2.eyebrow(), children: eyebrow }),
103
+ /* @__PURE__ */ jsxs2("div", { className: s2.titleRow(), children: [
104
+ /* @__PURE__ */ jsx2("h1", { className: s2.title(), children: title }),
31
105
  status
32
106
  ] }),
33
- meta && /* @__PURE__ */ jsx("div", { className: s.meta(), children: meta })
107
+ meta && /* @__PURE__ */ jsx2("div", { className: s2.meta(), children: meta })
34
108
  ] }),
35
- actions && /* @__PURE__ */ jsx("div", { className: s.actions(), children: actions })
109
+ actions && /* @__PURE__ */ jsx2("div", { className: s2.actions(), children: actions })
36
110
  ] }),
37
111
  tabs,
38
- /* @__PURE__ */ jsxs("div", { className: aside ? s.columns() : void 0, children: [
39
- /* @__PURE__ */ jsx("div", { className: s.main(), children }),
40
- aside && /* @__PURE__ */ jsx("aside", { className: s.aside(), children: aside })
112
+ /* @__PURE__ */ jsxs2("div", { className: side ? s2.columns() : void 0, children: [
113
+ /* @__PURE__ */ jsx2("div", { className: s2.main(), children }),
114
+ side && /* @__PURE__ */ jsxs2("aside", { className: s2.aside(), children: [
115
+ notes,
116
+ aside
117
+ ] })
41
118
  ] })
42
119
  ] });
43
120
  }
121
+ function DetailSection({ title, action, level = 2, className, children, id, ...props }) {
122
+ const H = level === 2 ? "h2" : "h3";
123
+ const auto = React.useId();
124
+ const titleId = `${id ?? auto}-title`;
125
+ return /* @__PURE__ */ jsxs2("section", { id, "aria-labelledby": titleId, className: s2.section({ className }), ...props, children: [
126
+ /* @__PURE__ */ jsxs2("div", { className: s2.sectionHead(), children: [
127
+ /* @__PURE__ */ jsx2(H, { id: titleId, className: s2.sectionTitle(), children: title }),
128
+ action
129
+ ] }),
130
+ children
131
+ ] });
132
+ }
133
+ function DetailNotes({ title, notes, emptyLabel, add, className, ...props }) {
134
+ const id = React.useId();
135
+ return /* @__PURE__ */ jsxs2("section", { "aria-labelledby": id, className: s2.section({ className }), ...props, children: [
136
+ /* @__PURE__ */ jsx2("h2", { id, className: s2.sectionTitle(), children: title }),
137
+ notes.length === 0 ? /* @__PURE__ */ jsx2("p", { className: s2.noteMeta(), children: emptyLabel }) : /* @__PURE__ */ jsx2("ol", { className: s2.notes(), children: notes.map((n, i) => /* @__PURE__ */ jsxs2("li", { className: s2.note(), children: [
138
+ /* @__PURE__ */ jsx2("span", { className: s2.noteNum(), "aria-hidden": "true", children: i + 1 }),
139
+ /* @__PURE__ */ jsxs2("span", { className: s2.noteBody(), children: [
140
+ /* @__PURE__ */ jsx2("span", { children: n.body }),
141
+ n.meta && /* @__PURE__ */ jsx2("span", { className: s2.noteMeta(), children: n.meta })
142
+ ] })
143
+ ] }, n.id)) }),
144
+ add
145
+ ] });
146
+ }
147
+ function FormSteps({ steps, className, ...props }) {
148
+ const base = React.useId();
149
+ return /* @__PURE__ */ jsx2("ol", { className: s2.steps({ className }), ...props, children: steps.map((st, i) => /* @__PURE__ */ jsxs2("li", { className: s2.step(), children: [
150
+ /* @__PURE__ */ jsxs2("div", { className: s2.stepHead(), children: [
151
+ /* @__PURE__ */ jsx2("span", { className: s2.stepNum(), "aria-hidden": "true", children: i + 1 }),
152
+ /* @__PURE__ */ jsxs2("h2", { id: `${base}-${st.id}`, className: s2.stepTitle(), children: [
153
+ /* @__PURE__ */ jsxs2("span", { className: "sr-only", children: [
154
+ i + 1,
155
+ ". "
156
+ ] }),
157
+ st.title
158
+ ] })
159
+ ] }),
160
+ /* @__PURE__ */ jsx2("div", { role: "group", "aria-labelledby": `${base}-${st.id}`, className: "flex min-w-0 flex-col gap-4", children: st.children })
161
+ ] }, st.id)) });
162
+ }
163
+ function FormTotals({ className, ...props }) {
164
+ return /* @__PURE__ */ jsx2("div", { className: s2.totals({ className }), ...props });
165
+ }
44
166
  export {
45
167
  DetailLayout,
168
+ DetailNotes,
169
+ DetailSection,
170
+ FormSteps,
171
+ FormTotals,
46
172
  detailLayout
47
173
  };
48
174
  //# sourceMappingURL=detail-layout.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/detail-layout/detail-layout.tsx"],"sourcesContent":["// Server-safe. The page of one object, read from the products' detail screens (a video, a job, an account, a pack):\n// its header — the way back, a media or an avatar, the name, its facts and status, the actions — then its tabs, the\n// content, and a side panel (details, related, activity) that goes under the content on a phone.\nimport type * as React from \"react\";\nimport { tv } from \"tailwind-variants\";\n\nexport const detailLayout = tv({\n slots: {\n root: \"flex w-full flex-col gap-6\",\n back: \"inline-flex w-fit items-center gap-1.5 rounded-md text-sm font-medium text-fg-secondary no-underline hover:text-fg focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring\",\n header: \"flex flex-col gap-4 border-b border-border-subtle pb-5 sm:flex-row sm:items-start\",\n media: \"shrink-0 overflow-hidden rounded-xl [&>img]:block [&>img]:h-full [&>img]:w-full [&>img]:object-cover\",\n text: \"flex min-w-0 flex-1 flex-col gap-2\",\n eyebrow: \"font-mono text-[11px] font-semibold text-fg-accent\",\n titleRow: \"flex flex-wrap items-center gap-2\",\n title: \"min-w-0 font-display text-2xl font-extrabold tracking-tight text-fg break-words\",\n meta: \"flex flex-wrap items-center gap-x-3 gap-y-1 text-sm text-fg-secondary\",\n actions: \"flex shrink-0 flex-wrap items-center gap-2\",\n columns: \"grid grid-cols-1 gap-6 lg:grid-cols-[minmax(0,1fr)_20rem] lg:gap-8\",\n main: \"flex min-w-0 flex-col gap-5\",\n aside: \"flex min-w-0 flex-col gap-4 lg:sticky lg:top-20 lg:self-start\",\n },\n});\nconst s = detailLayout();\n\nexport type DetailLayoutProps = Omit<React.ComponentProps<\"div\">, \"title\"> & {\n /** The way back to the list: your router's link (`<Link href=\"/videos\">Videos</Link>`), drawn with its arrow. */\n back?: React.ReactNode;\n /** A thumbnail, a cover or an avatar beside the name. */\n media?: React.ReactNode;\n /** A mono line above the name (the object's kind, its id). */\n eyebrow?: React.ReactNode;\n /** The object's name: the `h1`. */\n title: React.ReactNode;\n /** Beside the name: its status (a Badge). */\n status?: React.ReactNode;\n /** Under the name: its facts (the author, a date, a count — `Facts` or plain text). */\n meta?: React.ReactNode;\n /** The object's actions (edit, publish, a DropdownMenu). */\n actions?: React.ReactNode;\n /** Under the header: the object's tabs (`Tabs.List` of @krizaka/ui/tabs, inside your `Tabs.Root` around the layout). */\n tabs?: React.ReactNode;\n /** The side panel: details, related objects, activity (under the content on a phone). */\n aside?: React.ReactNode;\n /** The content (the current tab). */\n children: React.ReactNode;\n};\n\n/** One object's page: header (back, media, name, status, facts, actions), tabs, content and a side panel. */\nexport function DetailLayout({ back, media, eyebrow, title, status, meta, actions, tabs, aside, className, children, ...props }: DetailLayoutProps) {\n return (\n <div className={s.root({ className })} {...props}>\n {back && <div className={s.back()}>{back}</div>}\n <div className={s.header()}>\n {media && <div className={s.media()}>{media}</div>}\n <div className={s.text()}>\n {eyebrow && <p className={s.eyebrow()}>{eyebrow}</p>}\n <div className={s.titleRow()}>\n <h1 className={s.title()}>{title}</h1>\n {status}\n </div>\n {meta && <div className={s.meta()}>{meta}</div>}\n </div>\n {actions && <div className={s.actions()}>{actions}</div>}\n </div>\n {tabs}\n <div className={aside ? s.columns() : undefined}>\n <div className={s.main()}>{children}</div>\n {aside && <aside className={s.aside()}>{aside}</aside>}\n </div>\n </div>\n );\n}\n"],"mappings":";AAIA,SAAS,UAAU;AAgDJ,cAKL,YALK;AA9CR,IAAM,eAAe,GAAG;AAAA,EAC7B,OAAO;AAAA,IACL,MAAM;AAAA,IACN,MAAM;AAAA,IACN,QAAQ;AAAA,IACR,OAAO;AAAA,IACP,MAAM;AAAA,IACN,SAAS;AAAA,IACT,UAAU;AAAA,IACV,OAAO;AAAA,IACP,MAAM;AAAA,IACN,SAAS;AAAA,IACT,SAAS;AAAA,IACT,MAAM;AAAA,IACN,OAAO;AAAA,EACT;AACF,CAAC;AACD,IAAM,IAAI,aAAa;AA0BhB,SAAS,aAAa,EAAE,MAAM,OAAO,SAAS,OAAO,QAAQ,MAAM,SAAS,MAAM,OAAO,WAAW,UAAU,GAAG,MAAM,GAAsB;AAClJ,SACE,qBAAC,SAAI,WAAW,EAAE,KAAK,EAAE,UAAU,CAAC,GAAI,GAAG,OACxC;AAAA,YAAQ,oBAAC,SAAI,WAAW,EAAE,KAAK,GAAI,gBAAK;AAAA,IACzC,qBAAC,SAAI,WAAW,EAAE,OAAO,GACtB;AAAA,eAAS,oBAAC,SAAI,WAAW,EAAE,MAAM,GAAI,iBAAM;AAAA,MAC5C,qBAAC,SAAI,WAAW,EAAE,KAAK,GACpB;AAAA,mBAAW,oBAAC,OAAE,WAAW,EAAE,QAAQ,GAAI,mBAAQ;AAAA,QAChD,qBAAC,SAAI,WAAW,EAAE,SAAS,GACzB;AAAA,8BAAC,QAAG,WAAW,EAAE,MAAM,GAAI,iBAAM;AAAA,UAChC;AAAA,WACH;AAAA,QACC,QAAQ,oBAAC,SAAI,WAAW,EAAE,KAAK,GAAI,gBAAK;AAAA,SAC3C;AAAA,MACC,WAAW,oBAAC,SAAI,WAAW,EAAE,QAAQ,GAAI,mBAAQ;AAAA,OACpD;AAAA,IACC;AAAA,IACD,qBAAC,SAAI,WAAW,QAAQ,EAAE,QAAQ,IAAI,QACpC;AAAA,0BAAC,SAAI,WAAW,EAAE,KAAK,GAAI,UAAS;AAAA,MACnC,SAAS,oBAAC,WAAM,WAAW,EAAE,MAAM,GAAI,iBAAM;AAAA,OAChD;AAAA,KACF;AAEJ;","names":[]}
1
+ {"version":3,"sources":["../src/detail-layout/detail-layout.tsx","../src/profile-card/banner.tsx","../src/story-variant.ts"],"sourcesContent":["// Server-safe. The page of one object, read from the products' detail screens (a video, a job, an account, a pack):\n// its header — the way back, a media or an avatar, the name, its facts and status, the actions — then its tabs, the\n// content, and a side panel (details, related, activity) that goes under the content on a phone.\nimport * as React from \"react\";\nimport { tv } from \"tailwind-variants\";\n\nimport { ProfileBanner } from \"../profile-card/banner\";\n\nexport const detailLayout = tv({\n slots: {\n root: \"flex w-full flex-col gap-6\",\n back: \"inline-flex w-fit items-center gap-1.5 rounded-md text-sm font-medium text-fg-secondary no-underline hover:text-fg focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring\",\n header: \"flex flex-col gap-4 border-b border-border-subtle pb-5 sm:flex-row sm:items-start\",\n banner: \"border-b border-border-subtle pb-5\",\n media: \"shrink-0 overflow-hidden rounded-xl [&>img]:block [&>img]:h-full [&>img]:w-full [&>img]:object-cover\",\n text: \"flex min-w-0 flex-1 flex-col gap-2\",\n eyebrow: \"font-mono text-[11px] font-semibold text-fg-accent\",\n titleRow: \"flex flex-wrap items-center gap-2\",\n title: \"min-w-0 font-display text-2xl font-extrabold tracking-tight text-fg break-words\",\n meta: \"flex flex-wrap items-center gap-x-3 gap-y-1 text-sm text-fg-secondary\",\n actions: \"flex shrink-0 flex-wrap items-center gap-2\",\n columns: \"grid grid-cols-1 gap-6 lg:grid-cols-[minmax(0,1fr)_20rem] lg:gap-8\",\n main: \"flex min-w-0 flex-col gap-5\",\n aside: \"flex min-w-0 flex-col gap-4 lg:sticky lg:top-20 lg:self-start\",\n section: \"flex min-w-0 flex-col gap-3 rounded-xl rounded-tl-none border border-border-default bg-surface-1 p-4 sm:p-5\",\n sectionTab: \"-mb-3 -mt-4 w-fit rounded-t-md border border-b-0 border-border-default bg-surface-2 px-3 py-1 text-xs font-bold text-fg-secondary sm:-mt-5\",\n sectionHead: \"flex items-center justify-between gap-3\",\n sectionTitle: \"m-0 text-sm font-semibold text-fg\",\n notes: \"m-0 flex list-none flex-col gap-3 p-0 [counter-reset:note]\",\n note: \"flex gap-3 text-sm text-fg [counter-increment:note]\",\n noteNum: \"mt-0.5 grid size-6 shrink-0 place-items-center rounded-full bg-surface-3 text-xs font-bold tabular-nums text-fg-secondary\",\n noteBody: \"flex min-w-0 flex-col gap-0.5\",\n noteMeta: \"text-xs text-fg-secondary\",\n steps: \"m-0 flex list-none flex-col gap-8 p-0\",\n step: \"flex min-w-0 flex-col gap-3\",\n stepHead: \"flex items-center gap-3\",\n stepNum: \"grid size-8 shrink-0 place-items-center rounded-full bg-accent text-sm font-extrabold tabular-nums text-on-accent\",\n stepTitle: \"m-0 text-base font-semibold text-fg\",\n totals: \"flex flex-col gap-4 rounded-xl border border-border-default bg-surface-1 p-4\",\n },\n});\nconst s = detailLayout();\n\nexport type DetailLayoutProps = Omit<React.ComponentProps<\"div\">, \"title\"> & {\n /** The way back to the list: your router's link (`<Link href=\"/videos\">Videos</Link>`), drawn with its arrow. */\n back?: React.ReactNode;\n /** A thumbnail, a cover or an avatar beside the name; with `cover`, the avatar overlapping the cover. */\n media?: React.ReactNode;\n /**\n * A person's or a place's page (a client, a shop, a creator): the header becomes a `ProfileBanner` — this cover (an\n * `<img alt=\"\">`, or `true` for a tint of the brand's accent), `media` as the avatar overlapping it, then the name and the actions.\n */\n cover?: React.ReactNode;\n /** A mono line above the name (the object's kind, its id). */\n eyebrow?: React.ReactNode;\n /** The object's name: the `h1`. */\n title: React.ReactNode;\n /** Beside the name: its status (a Badge). */\n status?: React.ReactNode;\n /** Under the name: its facts (the author, a date, a count — `Facts` or plain text). */\n meta?: React.ReactNode;\n /** The object's actions (edit, publish, a DropdownMenu). */\n actions?: React.ReactNode;\n /** Under the header: the object's tabs (`Tabs.List` of @krizaka/ui/tabs, inside your `Tabs.Root` around the layout). */\n tabs?: React.ReactNode;\n /** The side panel: details, related objects, activity (under the content on a phone). */\n aside?: React.ReactNode;\n /** A notes column (`DetailNotes`) at the top of the side panel, before `aside`. */\n notes?: React.ReactNode;\n /** The content (the current tab). */\n children: React.ReactNode;\n};\n\n/** One object's page: header (back, media, name, status, facts, actions), tabs, content and a side panel. */\nexport function DetailLayout({ back, media, cover, eyebrow, title, status, meta, actions, tabs, aside, notes, className, children, ...props }: DetailLayoutProps) {\n const side = notes || aside;\n return (\n <div className={s.root({ className })} {...props}>\n {back && <div className={s.back()}>{back}</div>}\n {cover ? (\n <ProfileBanner className={s.banner()} banner={cover === true ? undefined : cover} avatar={media} eyebrow={eyebrow} title={title} status={status} meta={meta} actions={actions} />\n ) : (\n <div className={s.header()}>\n {media && <div className={s.media()}>{media}</div>}\n <div className={s.text()}>\n {eyebrow && <p className={s.eyebrow()}>{eyebrow}</p>}\n <div className={s.titleRow()}>\n <h1 className={s.title()}>{title}</h1>\n {status}\n </div>\n {meta && <div className={s.meta()}>{meta}</div>}\n </div>\n {actions && <div className={s.actions()}>{actions}</div>}\n </div>\n )}\n {tabs}\n <div className={side ? s.columns() : undefined}>\n <div className={s.main()}>{children}</div>\n {side && (\n <aside className={s.aside()}>\n {notes}\n {aside}\n </aside>\n )}\n </div>\n </div>\n );\n}\n\nexport type DetailSectionProps = Omit<React.ComponentProps<\"section\">, \"title\"> & {\n /** The binder tab: names the section (`Invoices`). */\n title: React.ReactNode;\n /** On the right of the title: one action (`See all`). */\n action?: React.ReactNode;\n /** The title's level. @default 2 */\n level?: 2 | 3;\n};\n\n/** A binder section of the main column: a titled region on a card, its name on a tab at the top-left corner. */\nexport function DetailSection({ title, action, level = 2, className, children, id, ...props }: DetailSectionProps) {\n const H = level === 2 ? \"h2\" : \"h3\";\n const auto = React.useId();\n const titleId = `${id ?? auto}-title`;\n return (\n <section id={id} aria-labelledby={titleId} className={s.section({ className })} {...props}>\n <div className={s.sectionHead()}>\n <H id={titleId} className={s.sectionTitle()}>\n {title}\n </H>\n {action}\n </div>\n {children}\n </section>\n );\n}\n\nexport type DetailNote = { id: string; body: React.ReactNode; /** Who and when (`Eric · Oct 19`). */ meta?: React.ReactNode };\n\nexport type DetailNotesProps = Omit<React.ComponentProps<\"section\">, \"title\"> & {\n /** The column's name (`Notes`). */\n title: React.ReactNode;\n /** The notes, oldest first. */\n notes: readonly DetailNote[];\n /** Said when there is none. */\n emptyLabel: string;\n /** Under the list: the add field (a `Field` and a `Button`, a small form). */\n add?: React.ReactNode;\n};\n\n/** The notes column of a person's or an object's page: numbered notes and an add field. */\nexport function DetailNotes({ title, notes, emptyLabel, add, className, ...props }: DetailNotesProps) {\n const id = React.useId();\n return (\n <section aria-labelledby={id} className={s.section({ className })} {...props}>\n <h2 id={id} className={s.sectionTitle()}>\n {title}\n </h2>\n {notes.length === 0 ? (\n <p className={s.noteMeta()}>{emptyLabel}</p>\n ) : (\n <ol className={s.notes()}>\n {notes.map((n, i) => (\n <li key={n.id} className={s.note()}>\n <span className={s.noteNum()} aria-hidden=\"true\">\n {i + 1}\n </span>\n <span className={s.noteBody()}>\n <span>{n.body}</span>\n {n.meta && <span className={s.noteMeta()}>{n.meta}</span>}\n </span>\n </li>\n ))}\n </ol>\n )}\n {add}\n </section>\n );\n}\n\nexport type FormStepData = { id: string; title: React.ReactNode; children: React.ReactNode };\n\nexport type FormStepsProps = Omit<React.ComponentProps<\"ol\">, \"children\"> & {\n /** The steps in order: an id, a title and their fields. */\n steps: readonly FormStepData[];\n};\n\n/** The numbered steps of a long form (a new invoice: client, lines, terms): an ordered list, each step a named region. */\nexport function FormSteps({ steps, className, ...props }: FormStepsProps) {\n const base = React.useId();\n return (\n <ol className={s.steps({ className })} {...props}>\n {steps.map((st, i) => (\n <li key={st.id} className={s.step()}>\n <div className={s.stepHead()}>\n <span className={s.stepNum()} aria-hidden=\"true\">\n {i + 1}\n </span>\n <h2 id={`${base}-${st.id}`} className={s.stepTitle()}>\n <span className=\"sr-only\">{i + 1}. </span>\n {st.title}\n </h2>\n </div>\n <div role=\"group\" aria-labelledby={`${base}-${st.id}`} className=\"flex min-w-0 flex-col gap-4\">\n {st.children}\n </div>\n </li>\n ))}\n </ol>\n );\n}\n\n/** The totals card of a form's side panel (`aside`): sticky with the panel on a desktop, under the steps on a phone. Plain primary at `lg` inside. */\nexport function FormTotals({ className, ...props }: React.ComponentProps<\"div\">) {\n return <div className={s.totals({ className })} {...props} />;\n}\n","// Server-safe: no hook. The top of a page about one person or place — a client, a shop, a creator, a building\n// (extracted from Orochia's ProfileHero, #650, #515): a slim cover, the avatar overlapping its lower edge, then the\n// eyebrow, the name (the page's h1), its facts and the actions. No text ever sits on the cover: the words are under it,\n// so a photo never costs their contrast (a scrim fades the photo's foot into the page all the same).\nimport type * as React from \"react\";\nimport { tv } from \"tailwind-variants\";\n\nimport { cn } from \"../cn\";\nimport { brandClass } from \"../story-variant\";\n\nexport const profileBanner = tv({\n slots: {\n root: \"relative flex w-full min-w-0 flex-col\",\n // The brand's accent, as a calm tint, when there is no picture; a picture fills it (`object-cover`).\n cover:\n \"relative h-28 w-full overflow-hidden rounded-xl bg-accent-soft bg-linear-to-br from-accent/30 via-accent-soft to-surface-2 sm:h-44 \" +\n \"[&>img]:block [&>img]:h-full [&>img]:w-full [&>img]:object-cover\",\n scrim: \"pointer-events-none absolute inset-0 bg-linear-to-t from-surface-0/70 via-transparent to-transparent\",\n body: \"relative flex min-w-0 flex-col gap-3 px-1 sm:flex-row sm:items-end sm:justify-between sm:px-2\",\n identity: \"flex min-w-0 items-end gap-4\",\n // The avatar overlaps the cover's lower edge by the same share at every width; the ring is the page's colour.\n avatar:\n \"relative -mt-10 h-20 w-20 shrink-0 overflow-hidden rounded-2xl bg-surface-3 ring-4 ring-surface-0 sm:-mt-14 sm:h-28 sm:w-28 \" +\n \"[&>*]:h-full! [&>*]:w-full! [&_img]:h-full [&_img]:w-full [&_img]:object-cover\",\n text: \"flex min-w-0 flex-1 flex-col gap-1 pb-1\",\n eyebrow: \"font-mono text-[11px] font-semibold text-fg-accent\",\n titleRow: \"flex min-w-0 flex-wrap items-center gap-2\",\n title: \"min-w-0 font-display text-xl font-extrabold tracking-tight break-words text-fg sm:text-3xl\",\n meta: \"flex flex-wrap items-center gap-x-3 gap-y-1 text-sm text-fg-secondary\",\n actions: \"flex shrink-0 flex-wrap items-center gap-2 sm:justify-end sm:pb-1\",\n },\n});\nconst s = profileBanner();\n\nexport type ProfileBannerProps = Omit<React.ComponentProps<\"section\">, \"title\"> & {\n /** The cover: an `<img alt=\"\">` (decorative) or your framework's image. Absent: a tint of the brand's accent. */\n banner?: React.ReactNode;\n /** The avatar overlapping the cover: `Avatar` with the family's default (`defaultAvatar: { brand, seed }`, #598) when there is no photo. */\n avatar: React.ReactNode;\n /** A mono line above the name: what it is (« Client », « Shop »), an id. */\n eyebrow?: React.ReactNode;\n /** The name: the page's heading. */\n title: React.ReactNode;\n /**\n * The level of the name.\n * @default \"h1\"\n */\n titleAs?: \"h1\" | \"h2\";\n /** Beside the name: a status (`Badge`), a verified mark. */\n status?: React.ReactNode;\n /** Under the name: its facts (a handle, a city, « client since 2024 »). */\n meta?: React.ReactNode;\n /** The actions (message, book, edit): at the right from `sm`, under the name on a phone. */\n actions?: React.ReactNode;\n /** A brand scope (`akinaza` → `.brand-akinaza`): the default cover takes that brand's accent. */\n brand?: string;\n};\n\n/** A person's or a place's banner: cover, overlapping avatar, eyebrow, name (h1), facts and actions — the words never on the cover. */\nexport function ProfileBanner({ banner, avatar, eyebrow, title, titleAs: Title = \"h1\", status, meta, actions, brand, className, ...props }: ProfileBannerProps) {\n return (\n <section className={s.root({ className: cn(brandClass(brand), className) })} {...props}>\n <div data-cover=\"\" className={s.cover()}>\n {banner}\n {banner ? <span aria-hidden className={s.scrim()} /> : null}\n </div>\n <div className={s.body()}>\n <div className={s.identity()}>\n <div data-avatar=\"\" className={s.avatar()}>\n {avatar}\n </div>\n <div className={s.text()}>\n {eyebrow && <p className={s.eyebrow()}>{eyebrow}</p>}\n <div className={s.titleRow()}>\n <Title className={s.title()}>{title}</Title>\n {status}\n </div>\n {meta && <div className={s.meta()}>{meta}</div>}\n </div>\n </div>\n {actions && <div className={s.actions()}>{actions}</div>}\n </div>\n </section>\n );\n}\n","// The two looks of the storytelling kit (story.css), shared by its entries. Server-safe.\n\n/** The look of the storytelling kit: `default` (sober, for any app) or `arcade` (the opt-in cabinet flavour). */\nexport type StoryVariant = \"default\" | \"arcade\";\n\n/** The class a storytelling component adds for its look (`kzs-arcade` for the arcade flavour). */\nexport const storyVariantClass = (variant: StoryVariant | undefined) => (variant === \"arcade\" ? \"kzs-arcade\" : undefined);\n\n/** The class of a brand scope (`brand-orochia`): the accent and the gradient become that brand's. */\nexport const brandClass = (brand: string | undefined) => (brand ? `brand-${brand}` : undefined);\n"],"mappings":"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","names":["tv","jsx","jsxs","tv","s"]}
@@ -164,4 +164,5 @@ type SheetProps = DistributiveOmit<DialogContentProps, "placement">;
164
164
  /** A sheet is a dialog anchored at the bottom (centred from `sm` up): `Dialog.Content placement="bottom"`. */
165
165
  declare function Sheet(props: SheetProps): React.JSX.Element;
166
166
 
167
- export { type DialogContentProps as D, Sheet as S, Dialog as a, DialogBody as b, DialogContent as c, DialogDescription as d, DialogFooter as e, DialogHeader as f, DialogTitle as g, type DialogVariants as h, type SheetProps as i, dialog as j };
167
+ export { Sheet as S, Dialog as a, DialogBody as b, DialogContent as c, DialogDescription as d, DialogFooter as e, DialogHeader as f, DialogTitle as g, dialog as j };
168
+ export type { DialogContentProps as D, DialogVariants as h, SheetProps as i };
package/dist/dialog.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- export { a as Dialog, b as DialogBody, c as DialogContent, D as DialogContentProps, d as DialogDescription, e as DialogFooter, f as DialogHeader, g as DialogTitle, h as DialogVariants, S as Sheet, i as SheetProps, j as dialog } from './dialog-D42QwYb_.js';
2
+ export { a as Dialog, b as DialogBody, c as DialogContent, D as DialogContentProps, d as DialogDescription, e as DialogFooter, f as DialogHeader, g as DialogTitle, h as DialogVariants, S as Sheet, i as SheetProps, j as dialog } from './dialog-DpUwec2g.js';
3
3
  import 'tailwind-variants';
4
4
  import 'radix-ui';
5
5
 
@@ -33,4 +33,5 @@ type AlertDialogProps = {
33
33
  };
34
34
  declare function AlertDialog({ open: openProp, defaultOpen, onOpenChange, trigger, title, description, children, confirmLabel, cancelLabel, tone, onConfirm, container, className, }: AlertDialogProps): React.JSX.Element;
35
35
 
36
- export { AlertDialog, type AlertDialogProps };
36
+ export { AlertDialog };
37
+ export type { AlertDialogProps };
@@ -51,4 +51,5 @@ type DocsArticlePageProps = Omit<React.HTMLAttributes<HTMLElement>, "title"> & {
51
51
  /** A documentation article: pages · breadcrumb, title, lead, facts, the reading column · contents; previous and next. */
52
52
  declare function DocsArticlePage({ sidebar, sidebarLabel, breadcrumb, breadcrumbLabel, title, lead, facts, toc, pager, linkAs, children, ...props }: DocsArticlePageProps): React.JSX.Element;
53
53
 
54
- export { DocsArticlePage, type DocsArticlePageProps };
54
+ export { DocsArticlePage };
55
+ export type { DocsArticlePageProps };
@@ -75,4 +75,5 @@ type DocsHubPageProps = Omit<React.HTMLAttributes<HTMLElement>, "title"> & {
75
75
  /** A documentation hub: search first, the collections in their brand, quick starts, popular and new pages. */
76
76
  declare function DocsHubPage({ eyebrow, title, lead, search, searchHints, collectionsTitle, collections, quickstarts, popular, whatsNew, promise, linkAs, linksLayout, ...props }: DocsHubPageProps): React.JSX.Element;
77
77
 
78
- export { type DocsCollection, type DocsHubLink, DocsHubPage, type DocsHubPageProps };
78
+ export { DocsHubPage };
79
+ export type { DocsCollection, DocsHubLink, DocsHubPageProps };
@@ -75,4 +75,5 @@ type DocsLayoutProps = React.ComponentProps<"div"> & {
75
75
  /** A documentation page: pages · article · contents, in the site's frame. */
76
76
  declare function DocsLayout({ sidebar, sidebarLabel, toc, className, children, ...props }: DocsLayoutProps): React.JSX.Element;
77
77
 
78
- export { DocsLayout, type DocsLayoutProps, docsLayout };
78
+ export { DocsLayout, docsLayout };
79
+ export type { DocsLayoutProps };
@@ -1,13 +1,5 @@
1
1
  import * as React from 'react';
2
-
3
- /** The app's link component (Next's `Link`, React Router's `Link`…): receives `href`, `className` and the children. */
4
- type LinkComponent = React.ElementType<{
5
- href: string;
6
- className?: string;
7
- children?: React.ReactNode;
8
- "aria-label"?: string;
9
- "aria-describedby"?: string;
10
- }>;
2
+ import { L as LinkComponent } from './block-link-BAg4eoZk.js';
11
3
 
12
4
  type DocsNavGroup = {
13
5
  /** A stable key. */
@@ -33,4 +25,5 @@ type DocsNavProps = Omit<React.HTMLAttributes<HTMLElement>, "children"> & {
33
25
  /** The pages of the documentation in groups; the group of the current page is open, the others fold. */
34
26
  declare function DocsNav({ label, groups, current, linkAs, className, ...props }: DocsNavProps): React.JSX.Element;
35
27
 
36
- export { DocsNav, type DocsNavGroup, type DocsNavProps };
28
+ export { DocsNav };
29
+ export type { DocsNavGroup, DocsNavProps };
@@ -43,9 +43,9 @@ declare function locateQuote(pages: readonly PageText[], quote: string, hintPage
43
43
  declare const documentViewer: tailwind_variants.TVReturnType<{
44
44
  [key: string]: {
45
45
  [key: string]: tailwind_variants.ClassValue | {
46
- page?: tailwind_variants.ClassValue;
47
46
  root?: tailwind_variants.ClassValue;
48
47
  pages?: tailwind_variants.ClassValue;
48
+ page?: tailwind_variants.ClassValue;
49
49
  canvas?: tailwind_variants.ClassValue;
50
50
  caption?: tailwind_variants.ClassValue;
51
51
  box?: tailwind_variants.ClassValue;
@@ -56,9 +56,9 @@ declare const documentViewer: tailwind_variants.TVReturnType<{
56
56
  } | {
57
57
  [x: string]: {
58
58
  [x: string]: tailwind_variants.ClassValue | {
59
- page?: tailwind_variants.ClassValue;
60
59
  root?: tailwind_variants.ClassValue;
61
60
  pages?: tailwind_variants.ClassValue;
61
+ page?: tailwind_variants.ClassValue;
62
62
  canvas?: tailwind_variants.ClassValue;
63
63
  caption?: tailwind_variants.ClassValue;
64
64
  box?: tailwind_variants.ClassValue;
@@ -78,9 +78,9 @@ declare const documentViewer: tailwind_variants.TVReturnType<{
78
78
  }, undefined, {
79
79
  [key: string]: {
80
80
  [key: string]: tailwind_variants.ClassValue | {
81
- page?: tailwind_variants.ClassValue;
82
81
  root?: tailwind_variants.ClassValue;
83
82
  pages?: tailwind_variants.ClassValue;
83
+ page?: tailwind_variants.ClassValue;
84
84
  canvas?: tailwind_variants.ClassValue;
85
85
  caption?: tailwind_variants.ClassValue;
86
86
  box?: tailwind_variants.ClassValue;
@@ -197,4 +197,5 @@ type DocumentViewerProps = Omit<React.ComponentProps<"div">, "children" | "onCha
197
197
  /** A PDF with its passages lit — see the file's header. Client. */
198
198
  declare function DocumentViewer({ src, loadPdfjs, workerSrc, highlights, activeId, onActiveChange, onLocate, onLoad, labels, className, ...props }: DocumentViewerProps): React.JSX.Element;
199
199
 
200
- export { type Box, type DocumentHighlight, DocumentViewer, type DocumentViewerLabels, type DocumentViewerProps, type Located, type PageText, type PdfDocument, type PdfPage, type PdfjsModule, type TextItem, documentViewer, documentViewerLabels, fold, locateQuote };
200
+ export { DocumentViewer, documentViewer, documentViewerLabels, fold, locateQuote };
201
+ export type { Box, DocumentHighlight, DocumentViewerLabels, DocumentViewerProps, Located, PageText, PdfDocument, PdfPage, PdfjsModule, TextItem };