@viglet/viglet-design-system 2026.3.9 → 2026.3.11

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 (259) hide show
  1. package/README.md +528 -44
  2. package/consumers.json +186 -0
  3. package/dist/badge-locale-CJkHDlPg.cjs +1 -0
  4. package/dist/badge-locale-DxDp8Q3S.js +397 -0
  5. package/dist/bento/bento-actions-menu.d.ts +8 -0
  6. package/dist/bento/bento-actions-menu.d.ts.map +1 -1
  7. package/dist/bento/bento-back-to-top.d.ts +9 -1
  8. package/dist/bento/bento-back-to-top.d.ts.map +1 -1
  9. package/dist/bento/bento-command-palette.d.ts +56 -9
  10. package/dist/bento/bento-command-palette.d.ts.map +1 -1
  11. package/dist/bento/bento-data-table.d.ts +81 -0
  12. package/dist/bento/bento-data-table.d.ts.map +1 -0
  13. package/dist/bento/bento-diff.d.ts +41 -0
  14. package/dist/bento/bento-diff.d.ts.map +1 -0
  15. package/dist/bento/bento-empty-state.d.ts +8 -1
  16. package/dist/bento/bento-empty-state.d.ts.map +1 -1
  17. package/dist/bento/bento-entity-shell.d.ts.map +1 -1
  18. package/dist/bento/bento-filter-bar.d.ts +60 -0
  19. package/dist/bento/bento-filter-bar.d.ts.map +1 -0
  20. package/dist/bento/bento-form-section.d.ts +14 -1
  21. package/dist/bento/bento-form-section.d.ts.map +1 -1
  22. package/dist/bento/bento-inline-edit.d.ts.map +1 -1
  23. package/dist/bento/bento-nav-rail.d.ts +13 -13
  24. package/dist/bento/bento-nav-rail.d.ts.map +1 -1
  25. package/dist/bento/bento-nav.d.ts +10 -2
  26. package/dist/bento/bento-nav.d.ts.map +1 -1
  27. package/dist/bento/bento-palette-trigger.d.ts +18 -0
  28. package/dist/bento/bento-palette-trigger.d.ts.map +1 -0
  29. package/dist/bento/bento-section-chrome.d.ts +19 -39
  30. package/dist/bento/bento-section-chrome.d.ts.map +1 -1
  31. package/dist/bento/bento-shell-shortcuts.d.ts +67 -0
  32. package/dist/bento/bento-shell-shortcuts.d.ts.map +1 -0
  33. package/dist/bento/bento-shell.d.ts +53 -0
  34. package/dist/bento/bento-shell.d.ts.map +1 -0
  35. package/dist/bento/bento-shortcuts-dialog.d.ts +9 -7
  36. package/dist/bento/bento-shortcuts-dialog.d.ts.map +1 -1
  37. package/dist/bento/bento-status-marker.d.ts +5 -2
  38. package/dist/bento/bento-status-marker.d.ts.map +1 -1
  39. package/dist/bento/bento-tile.d.ts.map +1 -1
  40. package/dist/bento/bento-user-menu.d.ts +9 -8
  41. package/dist/bento/bento-user-menu.d.ts.map +1 -1
  42. package/dist/bento/bento-version-rail.d.ts +31 -0
  43. package/dist/bento/bento-version-rail.d.ts.map +1 -0
  44. package/dist/bento/index.d.ts +15 -6
  45. package/dist/bento/index.d.ts.map +1 -1
  46. package/dist/bento.cjs +5 -1
  47. package/dist/bento.css +70 -4
  48. package/dist/bento.es.js +1778 -701
  49. package/dist/catalogue.json +5283 -0
  50. package/dist/components/app-footer.d.ts +7 -0
  51. package/dist/components/app-footer.d.ts.map +1 -1
  52. package/dist/components/app-switcher.d.ts.map +1 -1
  53. package/dist/components/backend-status.d.ts +19 -11
  54. package/dist/components/backend-status.d.ts.map +1 -1
  55. package/dist/components/badge-colorful.d.ts +13 -0
  56. package/dist/components/badge-colorful.d.ts.map +1 -1
  57. package/dist/components/badge-locale.d.ts +7 -0
  58. package/dist/components/badge-locale.d.ts.map +1 -1
  59. package/dist/components/error-boundary.d.ts +15 -13
  60. package/dist/components/error-boundary.d.ts.map +1 -1
  61. package/dist/components/language-select.d.ts +8 -0
  62. package/dist/components/language-select.d.ts.map +1 -1
  63. package/dist/components/login/login.d.ts +27 -0
  64. package/dist/components/login/login.d.ts.map +1 -1
  65. package/dist/components/mode-toggle.d.ts +9 -0
  66. package/dist/components/mode-toggle.d.ts.map +1 -1
  67. package/dist/components/nav-secondary.d.ts +7 -0
  68. package/dist/components/nav-secondary.d.ts.map +1 -1
  69. package/dist/components/router/dialog.delete.d.ts +8 -0
  70. package/dist/components/router/dialog.delete.d.ts.map +1 -1
  71. package/dist/components/router/gradient-button-link.d.ts +6 -0
  72. package/dist/components/router/gradient-button-link.d.ts.map +1 -1
  73. package/dist/components/router/index.d.ts +0 -11
  74. package/dist/components/router/index.d.ts.map +1 -1
  75. package/dist/components/router/loading-provider.d.ts +4 -0
  76. package/dist/components/router/loading-provider.d.ts.map +1 -1
  77. package/dist/components/startup-first/startup-first.d.ts +29 -0
  78. package/dist/components/startup-first/startup-first.d.ts.map +1 -1
  79. package/dist/components/ui/accordion.d.ts +17 -0
  80. package/dist/components/ui/accordion.d.ts.map +1 -1
  81. package/dist/components/ui/avatar.d.ts +14 -0
  82. package/dist/components/ui/avatar.d.ts.map +1 -1
  83. package/dist/components/ui/badge.d.ts +6 -0
  84. package/dist/components/ui/badge.d.ts.map +1 -1
  85. package/dist/components/ui/breadcrumb.d.ts +25 -0
  86. package/dist/components/ui/breadcrumb.d.ts.map +1 -1
  87. package/dist/components/ui/button.d.ts +15 -1
  88. package/dist/components/ui/button.d.ts.map +1 -1
  89. package/dist/components/ui/card.d.ts +27 -0
  90. package/dist/components/ui/card.d.ts.map +1 -1
  91. package/dist/components/ui/checkbox.d.ts +4 -0
  92. package/dist/components/ui/checkbox.d.ts.map +1 -1
  93. package/dist/components/ui/dialog.d.ts +36 -0
  94. package/dist/components/ui/dialog.d.ts.map +1 -1
  95. package/dist/components/ui/drawer.d.ts +35 -0
  96. package/dist/components/ui/drawer.d.ts.map +1 -1
  97. package/dist/components/ui/dropdown-menu.d.ts +53 -0
  98. package/dist/components/ui/dropdown-menu.d.ts.map +1 -1
  99. package/dist/components/ui/floating-formulas-bg.d.ts +8 -0
  100. package/dist/components/ui/floating-formulas-bg.d.ts.map +1 -1
  101. package/dist/components/ui/form-actions.d.ts +7 -0
  102. package/dist/components/ui/form-actions.d.ts.map +1 -1
  103. package/dist/components/ui/form-item-two-columns.d.ts +7 -0
  104. package/dist/components/ui/form-item-two-columns.d.ts.map +1 -1
  105. package/dist/components/ui/form.d.ts +25 -0
  106. package/dist/components/ui/form.d.ts.map +1 -1
  107. package/dist/components/ui/glass-card.d.ts +18 -14
  108. package/dist/components/ui/glass-card.d.ts.map +1 -1
  109. package/dist/components/ui/gradient-button.d.ts +15 -1
  110. package/dist/components/ui/gradient-button.d.ts.map +1 -1
  111. package/dist/components/ui/gradient-switch.d.ts +6 -0
  112. package/dist/components/ui/gradient-switch.d.ts.map +1 -1
  113. package/dist/components/ui/hover-card.d.ts +14 -0
  114. package/dist/components/ui/hover-card.d.ts.map +1 -1
  115. package/dist/components/ui/icon-picker-dialog.d.ts.map +1 -1
  116. package/dist/components/ui/index.d.ts +6 -4
  117. package/dist/components/ui/index.d.ts.map +1 -1
  118. package/dist/components/ui/input.d.ts +6 -0
  119. package/dist/components/ui/input.d.ts.map +1 -1
  120. package/dist/components/ui/label.d.ts +4 -0
  121. package/dist/components/ui/label.d.ts.map +1 -1
  122. package/dist/components/ui/navigation-menu.d.ts +41 -0
  123. package/dist/components/ui/navigation-menu.d.ts.map +1 -1
  124. package/dist/components/ui/pagination.d.ts +25 -0
  125. package/dist/components/ui/pagination.d.ts.map +1 -1
  126. package/dist/components/ui/popover.d.ts +24 -0
  127. package/dist/components/ui/popover.d.ts.map +1 -1
  128. package/dist/components/ui/progress.d.ts +4 -0
  129. package/dist/components/ui/progress.d.ts.map +1 -1
  130. package/dist/components/ui/pulse-ring.d.ts +9 -11
  131. package/dist/components/ui/pulse-ring.d.ts.map +1 -1
  132. package/dist/components/ui/resizable.d.ts +11 -0
  133. package/dist/components/ui/resizable.d.ts.map +1 -1
  134. package/dist/components/ui/section-card.d.ts +9 -0
  135. package/dist/components/ui/section-card.d.ts.map +1 -1
  136. package/dist/components/ui/select.d.ts +36 -0
  137. package/dist/components/ui/select.d.ts.map +1 -1
  138. package/dist/components/ui/separator.d.ts +4 -0
  139. package/dist/components/ui/separator.d.ts.map +1 -1
  140. package/dist/components/ui/sheet.d.ts +29 -0
  141. package/dist/components/ui/sheet.d.ts.map +1 -1
  142. package/dist/components/ui/sidebar.d.ts +83 -0
  143. package/dist/components/ui/sidebar.d.ts.map +1 -1
  144. package/dist/components/ui/skeleton.d.ts +4 -0
  145. package/dist/components/ui/skeleton.d.ts.map +1 -1
  146. package/dist/components/ui/slider.d.ts +4 -0
  147. package/dist/components/ui/slider.d.ts.map +1 -1
  148. package/dist/components/ui/sonner.d.ts +16 -0
  149. package/dist/components/ui/sonner.d.ts.map +1 -1
  150. package/dist/components/ui/stepper.d.ts +8 -0
  151. package/dist/components/ui/stepper.d.ts.map +1 -1
  152. package/dist/components/ui/sticky-save-bar.d.ts +7 -0
  153. package/dist/components/ui/sticky-save-bar.d.ts.map +1 -1
  154. package/dist/components/ui/switch.d.ts +4 -0
  155. package/dist/components/ui/switch.d.ts.map +1 -1
  156. package/dist/components/ui/table.d.ts +31 -0
  157. package/dist/components/ui/table.d.ts.map +1 -1
  158. package/dist/components/ui/tabs.d.ts +16 -0
  159. package/dist/components/ui/tabs.d.ts.map +1 -1
  160. package/dist/components/ui/textarea.d.ts +4 -0
  161. package/dist/components/ui/textarea.d.ts.map +1 -1
  162. package/dist/components/ui/toggle-group.d.ts +7 -0
  163. package/dist/components/ui/toggle-group.d.ts.map +1 -1
  164. package/dist/components/ui/toggle.d.ts +4 -0
  165. package/dist/components/ui/toggle.d.ts.map +1 -1
  166. package/dist/components/ui/tooltip.d.ts +18 -0
  167. package/dist/components/ui/tooltip.d.ts.map +1 -1
  168. package/dist/components/ui/user-avatar.d.ts +2 -1
  169. package/dist/components/ui/user-avatar.d.ts.map +1 -1
  170. package/dist/components/ui/viglet-assistant.d.ts +103 -0
  171. package/dist/components/ui/viglet-assistant.d.ts.map +1 -0
  172. package/dist/components/ui/viglet-avatar.d.ts +44 -0
  173. package/dist/components/ui/viglet-avatar.d.ts.map +1 -0
  174. package/dist/contexts/breadcrumb.context.d.ts +7 -0
  175. package/dist/contexts/breadcrumb.context.d.ts.map +1 -1
  176. package/dist/contexts/user.context.d.ts +8 -0
  177. package/dist/contexts/user.context.d.ts.map +1 -1
  178. package/dist/exports.json +359 -30
  179. package/dist/floating-formulas-bg.cjs +1 -1
  180. package/dist/floating-formulas-bg.es.js +56 -55
  181. package/dist/hooks/index.d.ts +1 -0
  182. package/dist/hooks/index.d.ts.map +1 -1
  183. package/dist/hooks/use-assistant-notifications.d.ts +15 -0
  184. package/dist/hooks/use-assistant-notifications.d.ts.map +1 -0
  185. package/dist/i18n/index.d.ts +168 -0
  186. package/dist/i18n/index.d.ts.map +1 -1
  187. package/dist/i18n/locales/en/assistant.json.d.ts +25 -0
  188. package/dist/i18n/locales/en/bento.json.d.ts +48 -2
  189. package/dist/i18n/locales/en/common.json.d.ts +6 -1
  190. package/dist/i18n/locales/en/language.json.d.ts +8 -0
  191. package/dist/i18n/locales/pt/assistant.json.d.ts +25 -0
  192. package/dist/i18n/locales/pt/bento.json.d.ts +48 -2
  193. package/dist/i18n/locales/pt/common.json.d.ts +6 -1
  194. package/dist/i18n/locales/pt/language.json.d.ts +8 -0
  195. package/dist/i18n.cjs +1 -1
  196. package/dist/i18n.es.js +572 -2
  197. package/dist/index.cjs +1 -1
  198. package/dist/index.d.ts +0 -1
  199. package/dist/index.d.ts.map +1 -1
  200. package/dist/index.es.js +2280 -733
  201. package/dist/lib/busy.d.ts +26 -0
  202. package/dist/lib/busy.d.ts.map +1 -0
  203. package/dist/lib/corner-slot.d.ts +15 -0
  204. package/dist/lib/corner-slot.d.ts.map +1 -0
  205. package/dist/{loading-provider-BWWhhfEn.js → loading-provider-ClDkFPuv.js} +84 -81
  206. package/dist/loading-provider-DGuCfsl9.cjs +1 -0
  207. package/dist/preset.css +7 -10
  208. package/dist/router.cjs +1 -1
  209. package/dist/router.es.js +2 -776
  210. package/dist/user.context-Cr3GAQ_r.js +762 -0
  211. package/dist/user.context-hbdvmXOn.cjs +1 -0
  212. package/dist/utils-Fk5jmzzb.js +41 -0
  213. package/dist/utils-Oagwe_oa.cjs +1 -0
  214. package/dist/viglet-design-system.css +1 -1
  215. package/dist/vite/boot-loader.d.ts +33 -2
  216. package/dist/vite/boot-loader.d.ts.map +1 -1
  217. package/dist/vite.cjs +16 -5
  218. package/dist/vite.es.js +27 -14
  219. package/docs/BENTO-AUTHORING.md +81 -11
  220. package/docs/reference/grounds.dc.html +9 -9
  221. package/package.json +16 -4
  222. package/scripts/consumer-entries.mjs +209 -0
  223. package/scripts/lib/contrast.mjs +301 -0
  224. package/scripts/mcp.mjs +300 -0
  225. package/scripts/page-lint.mjs +428 -0
  226. package/scripts/page-reference.mjs +54 -10
  227. package/dist/badge-locale-CoEEv7s5.js +0 -581
  228. package/dist/badge-locale-hQyWhAKe.cjs +0 -7
  229. package/dist/breadcrumb.context-KQut7j8U.js +0 -917
  230. package/dist/breadcrumb.context-Vwc3lAlf.cjs +0 -1
  231. package/dist/components/router/blank-slate.d.ts +0 -21
  232. package/dist/components/router/blank-slate.d.ts.map +0 -1
  233. package/dist/components/router/grid.list.d.ts +0 -39
  234. package/dist/components/router/grid.list.d.ts.map +0 -1
  235. package/dist/components/router/internal.sidebar.d.ts +0 -61
  236. package/dist/components/router/internal.sidebar.d.ts.map +0 -1
  237. package/dist/components/router/nav-main.d.ts +0 -25
  238. package/dist/components/router/nav-main.d.ts.map +0 -1
  239. package/dist/components/router/nav-user.d.ts +0 -24
  240. package/dist/components/router/nav-user.d.ts.map +0 -1
  241. package/dist/components/router/page-content.d.ts +0 -12
  242. package/dist/components/router/page-content.d.ts.map +0 -1
  243. package/dist/components/router/page-header.d.ts +0 -23
  244. package/dist/components/router/page-header.d.ts.map +0 -1
  245. package/dist/components/router/page.d.ts +0 -22
  246. package/dist/components/router/page.d.ts.map +0 -1
  247. package/dist/components/router/sticky.page.header.d.ts +0 -85
  248. package/dist/components/router/sticky.page.header.d.ts.map +0 -1
  249. package/dist/components/router/sub.page.d.ts +0 -50
  250. package/dist/components/router/sub.page.d.ts.map +0 -1
  251. package/dist/components/router/sub.page.header.d.ts +0 -37
  252. package/dist/components/router/sub.page.header.d.ts.map +0 -1
  253. package/dist/i18n-DD3rQOWi.js +0 -426
  254. package/dist/i18n-DrBq-qJJ.cjs +0 -1
  255. package/dist/lib/react-markers.d.ts +0 -17
  256. package/dist/lib/react-markers.d.ts.map +0 -1
  257. package/dist/loading-provider-CmeMqLGk.cjs +0 -1
  258. package/dist/user.context-B9vIBzY5.cjs +0 -1
  259. package/dist/user.context-D1PxP4D4.js +0 -512
@@ -9,6 +9,13 @@ interface AppFooterProps {
9
9
  version?: string;
10
10
  links?: FooterLink[];
11
11
  }
12
+ /**
13
+ * A page footer: a hairline, then the product's mark, name and version, and a
14
+ * few links that open in a new tab.
15
+ *
16
+ * It is `mt-auto`, so it expects a shell that is a flex column whose main grows.
17
+ * No bento shell mounts one yet, and a page does not grow a footer of its own.
18
+ */
12
19
  export declare function AppFooter({ logo, productName, version, links }: Readonly<AppFooterProps>): React.JSX.Element;
13
20
  export {};
14
21
  //# sourceMappingURL=app-footer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app-footer.d.ts","sourceRoot":"","sources":["../../src/components/app-footer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,UAAU,UAAU;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd;AAED,UAAU,cAAc;IACtB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,UAAU,EAAE,CAAC;CACtB;AAED,wBAAgB,SAAS,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,OAAO,EAAE,KAAU,EAAE,EAAE,QAAQ,CAAC,cAAc,CAAC,qBAoB7F"}
1
+ {"version":3,"file":"app-footer.d.ts","sourceRoot":"","sources":["../../src/components/app-footer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAA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CAAC,EAAE,MAAM,CAAC;IACpB;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,gFAAgF;IAChF,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;;;;;GAMG;AACH,wBAAgB,WAAW,CAAC,EAC1B,IAAI,EACJ,QAAQ,EACR,IAAI,EACJ,YAAqB,EACrB,UAAiC,EACjC,WAAkB,EAClB,YAAiB,GAClB,EAAE,QAAQ,CAAC,gBAAgB,CAAC,+BA+C5B"}
1
+ {"version":3,"file":"app-switcher.d.ts","sourceRoot":"","sources":["../../src/components/app-switcher.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,MAAM,WAAW,eAAe;IAC9B,qCAAqC;IACrC,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,kFAAkF;IAClF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,8DAA8D;IAC9D,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,4DAA4D;IAC5D,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,sCAAsC;IACtC,IAAI,EAAE,MAAM,CAAC;IACb,oEAAoE;IACpE,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,0DAA0D;IAC1D,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,gBAAgB;IAC/B,iCAAiC;IACjC,IAAI,EAAE,OAAO,CAAC;IACd,+EAA+E;IAC/E,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,oCAAoC;IACpC,IAAI,EAAE,eAAe,EAAE,CAAC;IACxB,qDAAqD;IACrD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,wCAAwC;IACxC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,gFAAgF;IAChF,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;;;;;GAMG;AACH,wBAAgB,WAAW,CAAC,EAC1B,IAAI,EACJ,QAAQ,EACR,IAAI,EACJ,YAAY,EACZ,UAAU,EACV,WAAkB,EAClB,YAAiB,GAClB,EAAE,QAAQ,CAAC,gBAAgB,CAAC,+BAuD5B"}
@@ -1,14 +1,3 @@
1
- /**
2
- * Centralized "is the backend reachable" indicator.
3
- *
4
- * - Wrap your app in `<BackendStatusProvider>` (with a health endpoint).
5
- * - From your axios interceptors, call `reportBackendOffline()` when a request
6
- * fails with no response, and `reportBackendOnline()` on any success.
7
- * - The provider polls the health endpoint while offline to detect recovery
8
- * and renders a sticky banner at the top of the viewport.
9
- *
10
- * @since 2026.2.29
11
- */
12
1
  type Status = "online" | "offline" | "checking";
13
2
  /** Call from an axios response error handler when `!error.response`. */
14
3
  export declare function reportBackendOffline(): void;
@@ -28,7 +17,26 @@ interface BackendStatusProviderProps {
28
17
  showBanner?: boolean;
29
18
  children: React.ReactNode;
30
19
  }
20
+ /**
21
+ * Tracks whether the backend is reachable, and shows a sticky banner while it is not.
22
+ *
23
+ * - Wrap the app in it once, with the health endpoint to poll.
24
+ * - From the axios interceptors, call `reportBackendOffline()` when a request
25
+ * fails with no response, and `reportBackendOnline()` on any success.
26
+ * - While offline it polls the health endpoint to notice the recovery.
27
+ *
28
+ * `useBackendStatus` reads the status and a `retry` anywhere beneath it.
29
+ *
30
+ * @since 2026.2.29
31
+ */
31
32
  export declare function BackendStatusProvider({ healthEndpoint, pollInterval, showBanner, children, }: Readonly<BackendStatusProviderProps>): import("react").JSX.Element;
33
+ /**
34
+ * The "server unavailable, retrying" banner, with a retry button, that
35
+ * `BackendStatusProvider` renders while the backend is unreachable.
36
+ *
37
+ * Mount it yourself only to place it elsewhere, with `showBanner={false}` on the
38
+ * provider, and always beneath that provider.
39
+ */
32
40
  export declare function BackendStatusBanner(): import("react").JSX.Element | null;
33
41
  export {};
34
42
  //# sourceMappingURL=backend-status.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"backend-status.d.ts","sourceRoot":"","sources":["../../src/components/backend-status.tsx"],"names":[],"mappings":"AAMA;;;;;;;;;;GAUG;AAEH,KAAK,MAAM,GAAG,QAAQ,GAAG,SAAS,GAAG,UAAU,CAAC;AA8BhD,wEAAwE;AACxE,wBAAgB,oBAAoB,IAAI,IAAI,CAE3C;AAED,kFAAkF;AAClF,wBAAgB,mBAAmB,IAAI,IAAI,CAE1C;AAID,UAAU,yBAAyB;IACjC,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB;AAID,wBAAgB,gBAAgB,IAAI,yBAAyB,CAM5D;AAID,UAAU,0BAA0B;IAClC,4EAA4E;IAC5E,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,8DAA8D;IAC9D,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,+DAA+D;IAC/D,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,wBAAgB,qBAAqB,CAAC,EACpC,cAA+B,EAC/B,YAAmB,EACnB,UAAiB,EACjB,QAAQ,GACT,EAAE,QAAQ,CAAC,0BAA0B,CAAC,+BA+BtC;AAID,wBAAgB,mBAAmB,uCAqClC"}
1
+ {"version":3,"file":"backend-status.d.ts","sourceRoot":"","sources":["../../src/components/backend-status.tsx"],"names":[],"mappings":"AAMA,KAAK,MAAM,GAAG,QAAQ,GAAG,SAAS,GAAG,UAAU,CAAC;AA8BhD,wEAAwE;AACxE,wBAAgB,oBAAoB,IAAI,IAAI,CAE3C;AAED,kFAAkF;AAClF,wBAAgB,mBAAmB,IAAI,IAAI,CAE1C;AAID,UAAU,yBAAyB;IACjC,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB;AAID,wBAAgB,gBAAgB,IAAI,yBAAyB,CAM5D;AAID,UAAU,0BAA0B;IAClC,4EAA4E;IAC5E,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,8DAA8D;IAC9D,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,+DAA+D;IAC/D,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,qBAAqB,CAAC,EACpC,cAA+B,EAC/B,YAAmB,EACnB,UAAiB,EACjB,QAAQ,GACT,EAAE,QAAQ,CAAC,0BAA0B,CAAC,+BA+BtC;AAID;;;;;;GAMG;AACH,wBAAgB,mBAAmB,uCAqClC"}
@@ -6,6 +6,19 @@ interface BadgeColorfulProps {
6
6
  className?: string;
7
7
  prefix?: React.ReactNode;
8
8
  }
9
+ /**
10
+ * A badge for an entity's name, in a colour hashed from that name, so the same
11
+ * entity wears the same colour everywhere it is listed. Given `href`, a click hands
12
+ * it to `onClick`, which is how a product navigates to the entity.
13
+ *
14
+ * `text` is an entity name out of the consumer's own content — `dialog.delete`
15
+ * passes `usage.name` straight in — so nothing here may treat it as markup or
16
+ * as a selector. It is rendered as a text node, and the per-instance colour it
17
+ * hashes to is carried by custom properties on the element rather than by a
18
+ * `<style>` element that spliced the name into `.dark [title="…"]`.
19
+ * `.vg-badge-colorful` in src/styles/index.css reads those properties and is
20
+ * what swaps them for dark mode.
21
+ */
9
22
  export declare const BadgeColorful: React.FC<BadgeColorfulProps>;
10
23
  export {};
11
24
  //# sourceMappingURL=badge-colorful.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"badge-colorful.d.ts","sourceRoot":"","sources":["../../src/components/badge-colorful.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,UAAU,kBAAkB;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA8CtD,CAAC"}
1
+ {"version":3,"file":"badge-colorful.d.ts","sourceRoot":"","sources":["../../src/components/badge-colorful.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,UAAU,kBAAkB;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAmCtD,CAAC"}
@@ -4,6 +4,13 @@ interface BadgeLocaleProps {
4
4
  className?: string;
5
5
  }
6
6
  export declare function getLocaleCountryCode(locale: string): string;
7
+ /**
8
+ * A badge showing a locale code beside its country's flag, or a globe where no
9
+ * flag loads.
10
+ *
11
+ * The flag comes from flagcdn.com. To let a reader choose a locale, use
12
+ * `LanguageSelect`, which shows this badge on every option.
13
+ */
7
14
  export declare const BadgeLocale: React.FC<BadgeLocaleProps>;
8
15
  export {};
9
16
  //# sourceMappingURL=badge-locale.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"badge-locale.d.ts","sourceRoot":"","sources":["../../src/components/badge-locale.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,UAAU,gBAAgB;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAkDD,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAkB3D;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA8BlD,CAAC"}
1
+ {"version":3,"file":"badge-locale.d.ts","sourceRoot":"","sources":["../../src/components/badge-locale.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,UAAU,gBAAgB;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAkDD,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAkB3D;AAED;;;;;;GAMG;AACH,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA8BlD,CAAC"}
@@ -1,17 +1,4 @@
1
1
  import { default as React, ErrorInfo, ReactNode } from 'react';
2
- /**
3
- * Top-level boundary that catches React render errors and displays a friendly
4
- * fallback with a reload button. Logs the stack trace to the console.
5
- *
6
- * Usage:
7
- * ```tsx
8
- * <ErrorBoundary>
9
- * <App />
10
- * </ErrorBoundary>
11
- * ```
12
- *
13
- * @since 2026.2.29
14
- */
15
2
  interface Props {
16
3
  children: ReactNode;
17
4
  /** Custom fallback. Receives the captured error and a `reset()` callback. */
@@ -24,6 +11,21 @@ interface State {
24
11
  hasError: boolean;
25
12
  error?: Error;
26
13
  }
14
+ /**
15
+ * Catches a render error anywhere beneath it and shows a fallback with a reload
16
+ * button in place of a blank page.
17
+ *
18
+ * Pass `fallback` to render your own; it receives the error and a `reset()`. The
19
+ * error and its component stack are logged to the console either way.
20
+ *
21
+ * ```tsx
22
+ * <ErrorBoundary>
23
+ * <App />
24
+ * </ErrorBoundary>
25
+ * ```
26
+ *
27
+ * @since 2026.2.29
28
+ */
27
29
  export declare class ErrorBoundary extends React.Component<Props, State> {
28
30
  state: State;
29
31
  static getDerivedStateFromError(error: Error): State;
@@ -1 +1 @@
1
- {"version":3,"file":"error-boundary.d.ts","sourceRoot":"","sources":["../../src/components/error-boundary.tsx"],"names":[],"mappings":"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,CAAC,KAAK,EAAE,KAAK,CAAC;IAC9D,KAAK,EAAE,KAAK,CAAuB;IAEnC,MAAM,CAAC,wBAAwB,CAAC,KAAK,EAAE,KAAK,GAAG,KAAK;IAIpD,iBAAiB,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,GAAG,IAAI;IAItD,KAAK,QAAO,IAAI,CAEd;IAEF,MAAM,IAAI,SAAS;CASpB"}
@@ -7,6 +7,14 @@ interface LanguageSelectProps {
7
7
  placeholder?: string;
8
8
  className?: string;
9
9
  }
10
+ /**
11
+ * A select for choosing the locale of a piece of content, each option shown with
12
+ * its flag badge.
13
+ *
14
+ * Pass the product's `locales`. `extraLocaleValues` adds codes that list does not
15
+ * name, so a stored value still shows as chosen. It sets a value; the reader's
16
+ * own interface language is `LanguageSwitcher`'s.
17
+ */
10
18
  export declare function LanguageSelect({ value, onValueChange, locales, extraLocaleValues, placeholder, className, }: Readonly<LanguageSelectProps>): import("react").JSX.Element;
11
19
  export {};
12
20
  //# sourceMappingURL=language-select.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"language-select.d.ts","sourceRoot":"","sources":["../../src/components/language-select.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAGjD,UAAU,mBAAmB;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,OAAO,EAAE,SAAS,EAAE,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,wBAAgB,cAAc,CAAC,EAC3B,KAAK,EACL,aAAa,EACb,OAAO,EACP,iBAAsB,EACtB,WAAW,EACX,SAAS,GACZ,EAAE,QAAQ,CAAC,mBAAmB,CAAC,+BAuD/B"}
1
+ {"version":3,"file":"language-select.d.ts","sourceRoot":"","sources":["../../src/components/language-select.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAGjD,UAAU,mBAAmB;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,OAAO,EAAE,SAAS,EAAE,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,EAC3B,KAAK,EACL,aAAa,EACb,OAAO,EACP,iBAAsB,EACtB,WAAW,EACX,SAAS,GACZ,EAAE,QAAQ,CAAC,mBAAmB,CAAC,+BAuD/B"}
@@ -34,6 +34,33 @@ declare function LoginFeaturePill({ icon, children, className, ...rest }: Readon
34
34
  declare function LoginCard({ children, className, ...rest }: Readonly<HTMLAttributes<HTMLDivElement>>): import("react").JSX.Element;
35
35
  /** Subtle footer line below the form. */
36
36
  declare function LoginFooter({ children, className, ...rest }: Readonly<HTMLAttributes<HTMLParagraphElement>>): import("react").JSX.Element;
37
+ /**
38
+ * The login screen, composed: an animated backdrop, the product's logo in a pulse
39
+ * ring, a title, tagline and feature pills, and a glass card holding the form.
40
+ *
41
+ * Compose it from the dot-notation children (`<Login.Background />`,
42
+ * `<Login.Logo>`, `<Login.Title>` and the rest). A product sets its palette once
43
+ * at the root with `color` / `colorDark`, and it cascades to every child that
44
+ * takes the accent: the backdrop, the card's shadow, the ring, the title
45
+ * gradient and the pills. The first-access screen before any user exists is
46
+ * `StartupFirst`, built the same way.
47
+ *
48
+ * Example:
49
+ * <Login color="#2563eb" colorDark="#60a5fa">
50
+ * <Login.Background withLightning />
51
+ * <Login.Content>
52
+ * <Login.Logo><ProductLogo size={52} /></Login.Logo>
53
+ * <Login.Title>Product name</Login.Title>
54
+ * <Login.Tagline>{t("login.heroTagline")}</Login.Tagline>
55
+ * <Login.Features>
56
+ * <Login.FeaturePill icon={<Search />}>Semantic search</Login.FeaturePill>
57
+ * <Login.FeaturePill icon={<Sparkles />}>AI</Login.FeaturePill>
58
+ * </Login.Features>
59
+ * <Login.Card><LoginForm /></Login.Card>
60
+ * <Login.Footer>Product name — what it is for</Login.Footer>
61
+ * </Login.Content>
62
+ * </Login>
63
+ */
37
64
  export declare const Login: typeof LoginRoot & {
38
65
  Background: typeof LoginBackground;
39
66
  Settings: typeof LoginSettings;
@@ -1 +1 @@
1
- {"version":3,"file":"login.d.ts","sourceRoot":"","sources":["../../../src/components/login/login.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtE,OAAO,EAAsB,KAAK,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAG9F,OAAO,aAAa,CAAC;AAiDrB,MAAM,WAAW,cAAe,SAAQ,cAAc,CAAC,cAAc,CAAC;IACpE,gFAAgF;IAChF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,sDAAsD;IACtD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,iBAAS,SAAS,CAAC,EACjB,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,IAAI,EACtD,EAAE,QAAQ,CAAC,cAAc,CAAC,+BA4B1B;AAED,yEAAyE;AACzE,iBAAS,eAAe,CAAC,KAAK,EAAE,QAAQ,CAAC,IAAI,CAAC,uBAAuB,EAAE,OAAO,GAAG,WAAW,CAAC,CAAC,+BAG7F;AAED,8EAA8E;AAC9E,iBAAS,aAAa,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,QAAQ,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC,+BAMhG;AAED,wEAAwE;AACxE,iBAAS,Y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@@
1
+ /**
2
+ * A header button opening a menu of the light, dark and system themes. It sets
3
+ * the theme through `ThemeProvider`, which has to be mounted above it.
4
+ */
1
5
  export declare function ModeToggle(): import("react").JSX.Element;
6
+ /**
7
+ * The theme control for a console sidebar on a small screen: one row that cycles
8
+ * through light, dark and system. Hidden from `md` up, where `ModeToggle` sits in
9
+ * the header.
10
+ */
2
11
  export declare function ModeToggleSidebar(): import("react").JSX.Element;
3
12
  //# sourceMappingURL=mode-toggle.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mode-toggle.d.ts","sourceRoot":"","sources":["../../src/components/mode-toggle.tsx"],"names":[],"mappings":"AAYA,wBAAgB,UAAU,gCA0BzB;AAQD,wBAAgB,iBAAiB,gCAwBhC"}
1
+ {"version":3,"file":"mode-toggle.d.ts","sourceRoot":"","sources":["../../src/components/mode-toggle.tsx"],"names":[],"mappings":"AAYA;;;GAGG;AACH,wBAAgB,UAAU,gCA0BzB;AAQD;;;;GAIG;AACH,wBAAgB,iBAAiB,gCAwBhC"}
@@ -1,6 +1,13 @@
1
1
  import { Icon } from '@tabler/icons-react';
2
2
  import { SidebarGroup } from './ui/sidebar';
3
3
  import * as React from "react";
4
+ /**
5
+ * A console sidebar group of plain links, each an icon and a title, such as help
6
+ * and documentation below the main nav.
7
+ *
8
+ * It renders inside `Sidebar`. A bento shell has no sidebar: its navigation is
9
+ * `BentoNavRail` and the command palette.
10
+ */
4
11
  export declare function NavSecondary({ items, ...props }: {
5
12
  items: {
6
13
  title: string;
@@ -1 +1 @@
1
- {"version":3,"file":"nav-secondary.d.ts","sourceRoot":"","sources":["../../src/components/nav-secondary.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,qBAAqB,CAAA;AAE/C,OAAO,EACL,YAAY,EAKb,MAAM,yBAAyB,CAAA;AAEhC,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,GAAG,KAAK,EACT,EAAE;IACD,KAAK,EAAE;QACL,KAAK,EAAE,MAAM,CAAA;QACb,GAAG,EAAE,MAAM,CAAA;QACX,IAAI,EAAE,IAAI,CAAA;KACX,EAAE,CAAA;CACJ,GAAG,KAAK,CAAC,wBAAwB,CAAC,OAAO,YAAY,CAAC,qBAmBtD"}
1
+ {"version":3,"file":"nav-secondary.d.ts","sourceRoot":"","sources":["../../src/components/nav-secondary.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,qBAAqB,CAAA;AAE/C,OAAO,EACL,YAAY,EAKb,MAAM,yBAAyB,CAAA;AAEhC;;;;;;GAMG;AACH,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,GAAG,KAAK,EACT,EAAE;IACD,KAAK,EAAE;QACL,KAAK,EAAE,MAAM,CAAA;QACb,GAAG,EAAE,MAAM,CAAA;QACX,IAAI,EAAE,IAAI,CAAA;KACX,EAAE,CAAA;CACJ,GAAG,KAAK,CAAC,wBAAwB,CAAC,OAAO,YAAY,CAAC,qBAmBtD"}
@@ -22,6 +22,14 @@ interface Props {
22
22
  description?: string;
23
23
  confirmLabel?: string;
24
24
  }
25
+ /**
26
+ * The confirmation before deleting something: the reader types its name to
27
+ * enable the delete, or is told what still uses it when `blockedBy` lists anything.
28
+ *
29
+ * Pass `trigger={null}` and drive `open` yourself to open it from a menu item.
30
+ * `BentoEntityShell` already mounts one behind its Delete action, so a detail
31
+ * screen built on it does not add its own.
32
+ */
25
33
  export declare const DialogDelete: React.FC<Props>;
26
34
  export {};
27
35
  //# sourceMappingURL=dialog.delete.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"dialog.delete.d.ts","sourceRoot":"","sources":["../../../src/components/router/dialog.delete.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,KAAK,QAAQ,EAAE,KAAK,cAAc,EAAY,MAAM,OAAO,CAA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3C;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,IAAI,CAAC;IACjC,SAAS,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAyHxC,CAAA"}
@@ -2,6 +2,12 @@ import { VariantProps } from 'class-variance-authority';
2
2
  import { To } from 'react-router-dom';
3
3
  import { gradientButtonVariants } from '../ui/gradient-button';
4
4
  import * as React from "react";
5
+ /**
6
+ * A router link that looks like a `GradientButton`, with its variants and sizes.
7
+ *
8
+ * Clicking it while already on the page it points at reloads that page. For an
9
+ * action that does not change the route, use `GradientButton` itself.
10
+ */
5
11
  declare function GradientButtonLink({ className, variant, size, to, onClick, children, }: Omit<React.ComponentProps<"a">, "href"> & VariantProps<typeof gradientButtonVariants> & {
6
12
  to: To;
7
13
  }): React.JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"gradient-button-link.d.ts","sourceRoot":"","sources":["../../../src/components/router/gradient-button-link.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAC5D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAW,KAAK,EAAE,EAAE,MAAM,kBAAkB,CAAA;AAGnD,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAA;AAE9D,iBAAS,kBAAkB,CAAC,EACxB,SAAS,EACT,OAAO,EACP,IAAI,EACJ,EAAE,EACF,OAAO,EACP,QAAQ,GACX,EAAE,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC,GACtC,YAAY,CAAC,OAAO,sBAAsB,CAAC,GAAG;IAC1C,EAAE,EAAE,EAAE,CAAA;CACT,qBAmBJ;AAED,OAAO,EAAE,kBAAkB,EAAE,CAAA"}
1
+ {"version":3,"file":"gradient-button-link.d.ts","sourceRoot":"","sources":["../../../src/components/router/gradient-button-link.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAC5D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAW,KAAK,EAAE,EAAE,MAAM,kBAAkB,CAAA;AAGnD,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAA;AAE9D;;;;;GAKG;AACH,iBAAS,kBAAkB,CAAC,EACxB,SAAS,EACT,OAAO,EACP,IAAI,EACJ,EAAE,EACF,OAAO,EACP,QAAQ,GACX,EAAE,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC,GACtC,YAAY,CAAC,OAAO,sBAAsB,CAAC,GAAG;IAC1C,EAAE,EAAE,EAAE,CAAA;CACT,qBAmBJ;AAED,OAAO,EAAE,kBAAkB,EAAE,CAAA"}
@@ -1,15 +1,4 @@
1
- export { BlankSlate } from './blank-slate';
2
1
  export { DialogDelete, type VigBlockedByItem } from './dialog.delete';
3
2
  export { GradientButtonLink } from './gradient-button-link';
4
- export { GridList, type ItemActionProps as VigGridItemActionProps } from './grid.list';
5
- export { InternalSidebar } from './internal.sidebar';
6
3
  export { LoadProvider } from './loading-provider';
7
- export { NavMain } from './nav-main';
8
- export { NavUser } from './nav-user';
9
- export { Page } from './page';
10
- export { PageContent } from './page-content';
11
- export { PageHeader } from './page-header';
12
- export { StickyPageHeader } from './sticky.page.header';
13
- export { SubPage } from './sub.page';
14
- export { SubPageHeader } from './sub.page.header';
15
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/router/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,KAAK,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACtE,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,QAAQ,EAAE,KAAK,eAAe,IAAI,sBAAsB,EAAE,MAAM,aAAa,CAAC;AACvF,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/router/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,KAAK,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACtE,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC"}
@@ -9,6 +9,10 @@ interface LoadProviderProps {
9
9
  tryAgainUrl?: string;
10
10
  children: React.ReactNode;
11
11
  }
12
+ /**
13
+ * A page's loading gate: a skeleton until `checkIsNotUndefined` has a value, an
14
+ * error slate with a retry link when `error` is set, and its children after that.
15
+ */
12
16
  export declare const LoadProvider: ({ checkIsNotUndefined, error, tryAgainUrl, children }: LoadProviderProps) => import("react").JSX.Element;
13
17
  export {};
14
18
  //# sourceMappingURL=loading-provider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"loading-provider.d.ts","sourceRoot":"","sources":["../../../src/components/router/loading-provider.tsx"],"names":[],"mappings":"AAKA,UAAU,iBAAiB;IACvB;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B;AAED,eAAO,MAAM,YAAY,GAAI,uDAK1B,iBAAiB,gCAmCnB,CAAC"}
1
+ {"version":3,"file":"loading-provider.d.ts","sourceRoot":"","sources":["../../../src/components/router/loading-provider.tsx"],"names":[],"mappings":"AAmDA,UAAU,iBAAiB;IACvB;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B;AAED;;;GAGG;AACH,eAAO,MAAM,YAAY,GAAI,uDAK1B,iBAAiB,gCAkCnB,CAAC"}
@@ -41,6 +41,35 @@ export interface StartupFirstHintProps extends HTMLAttributes<HTMLDivElement> {
41
41
  }
42
42
  /** Small tip callout used next to form fields. */
43
43
  declare function StartupFirstHint({ icon, children, className, ...rest }: Readonly<StartupFirstHintProps>): import("react").JSX.Element;
44
+ /**
45
+ * The first-access screen an administrator sees before any user exists: the
46
+ * login screen's backdrop, logo and glass card, with a step count and actions.
47
+ *
48
+ * It is composed like {@link Login}, so a product reuses the same palette,
49
+ * backdrop and card, and its content is all slots: the steps, fields and actions
50
+ * are the product's. `StartupFirst.Steps` counts screens; `Stepper` is a checklist
51
+ * within one.
52
+ *
53
+ * Example:
54
+ * <StartupFirst color="#2563eb" colorDark="#60a5fa">
55
+ * <StartupFirst.Background withOrbs withGrid />
56
+ * <StartupFirst.Content>
57
+ * <StartupFirst.Steps current={1} total={3} />
58
+ * <StartupFirst.Logo><ProductLogo size={80} /></StartupFirst.Logo>
59
+ * <StartupFirst.Title>Welcome</StartupFirst.Title>
60
+ * <StartupFirst.Description>
61
+ * Let's create your first administrator account.
62
+ * </StartupFirst.Description>
63
+ * <StartupFirst.Card>
64
+ * <SetupForm />
65
+ * </StartupFirst.Card>
66
+ * <StartupFirst.Actions>
67
+ * <Button variant="outline">Back</Button>
68
+ * <Button>Continue</Button>
69
+ * </StartupFirst.Actions>
70
+ * </StartupFirst.Content>
71
+ * </StartupFirst>
72
+ */
44
73
  export declare const StartupFirst: typeof StartupFirstRoot & {
45
74
  Background: typeof StartupFirstBackground;
46
75
  Content: typeof StartupFirstContent;
@@ -1 +1 @@
1
- {"version":3,"file":"startup-first.d.ts","sourceRoot":"","sources":["../../../src/components/startup-first/startup-first.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGtE,OAAO,EAAsB,KAAK,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAG9F,OAAO,qBAAqB,CAAC;AAwD7B,MAAM,WAAW,qBAAsB,SAAQ,cAAc,CAAC,cAAc,CAAC;IAC3E,gFAAgF;IAChF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,sDAAsD;IACtD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,iBAAS,gBAAgB,CAAC,EACxB,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,IAAI,EACtD,EAAE,QAAQ,CAAC,qBAAqB,CAAC,+BAqBjC;AAED,2DAA2D;AAC3D,iBAAS,sBAAsB,CAC7B,KAAK,EAAE,QAAQ,CAAC,IAAI,CAAC,uBAAuB,EAAE,OAAO,GAAG,WAAW,CAAC,CAAC,+BAItE;AAED,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AMnG;AAED,wDAAwD;AACxD,iBAAS,mBAAmB,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,QAAQ,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC,+BAMtG;AAED,gEAAgE;AAChE,iBAAS,kBAAkB,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,QAAQ,CAAC,cAAc,CAAC,oBAAoB,CAAC,CAAC,+BAQ3G;AAED,MAAM,WAAW,qBAAsB,SAAQ,cAAc,CAAC,cAAc,CAAC;IAC3E,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB;AACD,kDAAkD;AAClD,iBAAS,gBAAgB,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,QAAQ,CAAC,qBAAqB,CAAC,+BAUhG;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;CAWvB,CAAC"}
@@ -1,8 +1,25 @@
1
1
  import * as AccordionPrimitive from "@radix-ui/react-accordion";
2
2
  import * as React from "react";
3
+ /**
4
+ * A vertical stack of headed sections, each expanding to show its content: the
5
+ * Radix root, with `type` set to `single` or `multiple`.
6
+ *
7
+ * For one collapsible form section on its own, `SectionCard` collapses by itself.
8
+ */
3
9
  declare const Accordion: React.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & React.RefAttributes<HTMLDivElement>>;
10
+ /**
11
+ * One section of an `Accordion`, holding its trigger and content under a unique
12
+ * `value`.
13
+ */
4
14
  declare const AccordionItem: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
15
+ /**
16
+ * The header button that expands or collapses its `AccordionItem`, with a chevron
17
+ * that turns.
18
+ */
5
19
  declare const AccordionTrigger: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
20
+ /**
21
+ * The body of an `AccordionItem`, animated open and closed.
22
+ */
6
23
  declare const AccordionContent: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
7
24
  export { Accordion, AccordionContent, AccordionItem, AccordionTrigger };
8
25
  //# sourceMappingURL=accordion.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"accordion.d.ts","sourceRoot":"","sources":["../../../src/components/ui/accordion.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,kBAAkB,MAAM,2BAA2B,CAAA;AAE/D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,QAAA,MAAM,SAAS,8JAA0B,CAAA;AAEzC,QAAA,MAAM,aAAa,iKAKjB,CAAA;AAGF,QAAA,MAAM,gBAAgB,0KAiBpB,CAAA;AAGF,QAAA,MAAM,gBAAgB,oKAWpB,CAAA;AAGF,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,aAAa,EAAE,gBAAgB,EAAE,CAAA"}
1
+ {"version":3,"file":"accordion.d.ts","sourceRoot":"","sources":["../../../src/components/ui/accordion.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,kBAAkB,MAAM,2BAA2B,CAAA;AAE/D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B;;;;;GAKG;AACH,QAAA,MAAM,SAAS,8JAA0B,CAAA;AAEzC;;;GAGG;AACH,QAAA,MAAM,aAAa,iKAKjB,CAAA;AAGF;;;GAGG;AACH,QAAA,MAAM,gBAAgB,0KAiBpB,CAAA;AAGF;;GAEG;AACH,QAAA,MAAM,gBAAgB,oKAWpB,CAAA;AAGF,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,aAAa,EAAE,gBAAgB,EAAE,CAAA"}
@@ -1,7 +1,21 @@
1
1
  import * as React from "react";
2
2
  import * as AvatarPrimitive from "@radix-ui/react-avatar";
3
+ /**
4
+ * A round avatar frame holding an `AvatarImage` and the `AvatarFallback` shown
5
+ * until the image loads.
6
+ *
7
+ * A person's avatar, with their picture or their initials, is already built as
8
+ * `UserAvatar`, and the Viglet mascot is `VigletAvatar`.
9
+ */
3
10
  declare function Avatar({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Root>): React.JSX.Element;
11
+ /**
12
+ * The picture inside an `Avatar`, shown once it has loaded.
13
+ */
4
14
  declare function AvatarImage({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Image>): React.JSX.Element;
15
+ /**
16
+ * What an `Avatar` shows while its image loads or when it has none, usually
17
+ * initials.
18
+ */
5
19
  declare function AvatarFallback({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Fallback>): React.JSX.Element;
6
20
  export { Avatar, AvatarImage, AvatarFallback };
7
21
  //# sourceMappingURL=avatar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["../../../src/components/ui/avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAA;AAIzD,iBAAS,MAAM,CAAC,EACd,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,qBAWnD;AAED,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,qBAQpD;AAED,iBAAS,cAAc,CAAC,EACtB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,QAAQ,CAAC,qBAWvD;AAED,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,cAAc,EAAE,CAAA"}
1
+ {"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["../../../src/components/ui/avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAA;AAIzD;;;;;;GAMG;AACH,iBAAS,MAAM,CAAC,EACd,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,qBAWnD;AAED;;GAEG;AACH,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,qBAQpD;AAED;;;GAGG;AACH,iBAAS,cAAc,CAAC,EACtB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,QAAQ,CAAC,qBAWvD;AAED,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,cAAc,EAAE,CAAA"}
@@ -3,6 +3,12 @@ import * as React from "react";
3
3
  declare const badgeVariants: (props?: ({
4
4
  variant?: "default" | "secondary" | "destructive" | "outline" | null | undefined;
5
5
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
6
+ /**
7
+ * A small pill label in the primary, secondary, destructive or outline style.
8
+ *
9
+ * An entity name tinted with its own colour is `BadgeColorful`, a locale with its
10
+ * flag `BadgeLocale`, and a bento page's save state `BentoStatusMarker`.
11
+ */
6
12
  declare function Badge({ className, variant, asChild, ...props }: React.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
7
13
  asChild?: boolean;
8
14
  }): React.JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../../src/components/ui/badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAIjE,QAAA,MAAM,aAAa;;8EAmBlB,CAAA;AAED,iBAAS,KAAK,CAAC,EACb,SAAS,EACT,OAAO,EACP,OAAe,EACf,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,GAC7B,YAAY,CAAC,OAAO,aAAa,CAAC,GAAG;IAAE,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,qBAU3D;AAED,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,CAAA"}
1
+ {"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../../src/components/ui/badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAIjE,QAAA,MAAM,aAAa;;8EAmBlB,CAAA;AAED;;;;;GAKG;AACH,iBAAS,KAAK,CAAC,EACb,SAAS,EACT,OAAO,EACP,OAAe,EACf,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,GAC7B,YAAY,CAAC,OAAO,aAAa,CAAC,GAAG;IAAE,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,qBAU3D;AAED,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,CAAA"}
@@ -1,12 +1,37 @@
1
1
  import * as React from "react";
2
+ /**
3
+ * The breadcrumb trail's `nav` landmark, composed with `BreadcrumbList`,
4
+ * `BreadcrumbItem`, `BreadcrumbLink` and `BreadcrumbPage`.
5
+ *
6
+ * A console-era page fills it from `BreadcrumbProvider`. A bento page's way back is
7
+ * its hero's back link, and it has no trail.
8
+ */
2
9
  declare function Breadcrumb({ ...props }: React.ComponentProps<"nav">): React.JSX.Element;
10
+ /**
11
+ * The ordered list of crumbs inside a `Breadcrumb`.
12
+ */
3
13
  declare function BreadcrumbList({ className, ...props }: React.ComponentProps<"ol">): React.JSX.Element;
14
+ /**
15
+ * One crumb in a `BreadcrumbList`, holding a link or the current page.
16
+ */
4
17
  declare function BreadcrumbItem({ className, ...props }: React.ComponentProps<"li">): React.JSX.Element;
18
+ /**
19
+ * A crumb that navigates. Pass `asChild` to render the router's own link.
20
+ */
5
21
  declare function BreadcrumbLink({ asChild, className, ...props }: React.ComponentProps<"a"> & {
6
22
  asChild?: boolean;
7
23
  }): React.JSX.Element;
24
+ /**
25
+ * The current page's crumb, marked `aria-current` and not a link.
26
+ */
8
27
  declare function BreadcrumbPage({ className, ...props }: React.ComponentProps<"span">): React.JSX.Element;
28
+ /**
29
+ * The divider between two crumbs, a chevron unless you pass another.
30
+ */
9
31
  declare function BreadcrumbSeparator({ children, className, ...props }: React.ComponentProps<"li">): React.JSX.Element;
32
+ /**
33
+ * Stands in for the crumbs collapsed out of a long trail.
34
+ */
10
35
  declare function BreadcrumbEllipsis({ className, ...props }: React.ComponentProps<"span">): React.JSX.Element;
11
36
  export { Breadcrumb, BreadcrumbList, BreadcrumbItem, BreadcrumbLink, BreadcrumbPage, BreadcrumbSeparator, BreadcrumbEllipsis, };
12
37
  //# sourceMappingURL=breadcrumb.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"breadcrumb.d.ts","sourceRoot":"","sources":["../../../src/components/ui/breadcrumb.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAO9B,iBAAS,UAAU,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAS5D;AAED,iBAAS,cAAc,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,qBAW1E;AAED,iBAAS,cAAc,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,qBAQ1E;AAED,iBAAS,cAAc,CAAC,EACtB,OAAO,EACP,SAAS,EACT,GAAG,KAAK,EACT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GAEG;AACH,iBAAS,cAAc,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,qBAW5E;AAED;;GAEG;AACH,iBAAS,mBAAmB,CAAC,EAC3B,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,qBAY5B;AAED;;GAEG;AACH,iBAAS,kBAAkB,CAAC,EAC1B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,qBAc9B;AAED,OAAO,EACL,UAAU,EACV,cAAc,EACd,cAAc,EACd,cAAc,EACd,cAAc,EACd,mBAAmB,EACnB,kBAAkB,GACnB,CAAA"}
@@ -4,8 +4,22 @@ declare const buttonVariants: (props?: ({
4
4
  variant?: "link" | "default" | "secondary" | "destructive" | "outline" | "ghost" | null | undefined;
5
5
  size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
6
6
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
7
- declare function Button({ className, variant, size, asChild, ...props }: React.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
7
+ /**
8
+ * The neutral button, `bg-primary` by default, with destructive, outline,
9
+ * secondary, ghost and link variants.
10
+ *
11
+ * For an action in the brand accent gradient, as the bento forms use, reach for
12
+ * `GradientButton`, and for a route change `GradientButtonLink`. Pass `loading`
13
+ * while the action runs rather than `disabled`, which drops the focus.
14
+ */
15
+ declare function Button({ className, variant, size, asChild, loading, onClick, children, ...props }: React.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
8
16
  asChild?: boolean;
17
+ /**
18
+ * The action is running: the button says so, ignores a second press, and
19
+ * stays focusable, where `disabled` would drop the focus of the control just
20
+ * pressed (VDS143).
21
+ */
22
+ loading?: boolean;
9
23
  }): React.JSX.Element;
10
24
  export { Button, buttonVariants };
11
25
  //# sourceMappingURL=button.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/button.tsx"],"names":[],"mappings":"AACA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AACjE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,QAAA,MAAM,cAAc;;;8EA8BnB,CAAA;AAED,iBAAS,MAAM,CAAC,EACd,SAAS,EACT,OAAO,EACP,IAAI,EACJ,OAAe,EACf,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,GAC/B,YAAY,CAAC,OAAO,cAAc,CAAC,GAAG;IACpC,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,qBAUF;AAED,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,CAAA"}
1
+ {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/button.tsx"],"names":[],"mappings":"AACA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AACjE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAK9B,QAAA,MAAM,cAAc;;;8EA8BnB,CAAA;AAED;;;;;;;GAOG;AACH,iBAAS,MAAM,CAAC,EACd,SAAS,EACT,OAAO,EACP,IAAI,EACJ,OAAe,EACf,OAAe,EACf,OAAO,EACP,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,GAC/B,YAAY,CAAC,OAAO,cAAc,CAAC,GAAG;IACpC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,qBAkBF;AAED,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,CAAA"}
@@ -1,10 +1,37 @@
1
1
  import * as React from "react";
2
+ /**
3
+ * A plain bordered card on the card surface, composed with `CardHeader`,
4
+ * `CardContent` and `CardFooter`.
5
+ *
6
+ * Inside a bento shell a box of content is `BentoPanel`, and a login or hero
7
+ * surface is `GlassCard`.
8
+ */
2
9
  declare function Card({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
10
+ /**
11
+ * The top of a `Card`, holding its title and description, and a `CardAction` beside
12
+ * them.
13
+ */
3
14
  declare function CardHeader({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
15
+ /**
16
+ * A `Card`'s title. It renders a `div`, so give it a heading element or role where
17
+ * the outline needs one.
18
+ */
4
19
  declare function CardTitle({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
20
+ /**
21
+ * A muted line under a `Card`'s title.
22
+ */
5
23
  declare function CardDescription({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
24
+ /**
25
+ * A control placed at the top right of a `CardHeader`, beside the title.
26
+ */
6
27
  declare function CardAction({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
28
+ /**
29
+ * The padded body of a `Card`.
30
+ */
7
31
  declare function CardContent({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
32
+ /**
33
+ * The bottom row of a `Card`, for its actions.
34
+ */
8
35
  declare function CardFooter({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
9
36
  export { Card, CardHeader, CardFooter, CardTitle, CardAction, CardDescription, CardContent, };
10
37
  //# sourceMappingURL=card.d.ts.map