@bergetai/ui 0.14.2 → 0.16.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 (660) hide show
  1. package/README.md +32 -46
  2. package/dist/_virtual/_rolldown/runtime.cjs +23 -0
  3. package/dist/components/alert/Alert.cjs +31 -0
  4. package/dist/components/alert/Alert.cjs.map +1 -0
  5. package/dist/components/alert/Alert.d.cts +14 -0
  6. package/dist/components/alert/Alert.d.cts.map +1 -0
  7. package/dist/components/alert/Alert.d.mts +14 -0
  8. package/dist/components/alert/Alert.d.mts.map +1 -0
  9. package/dist/components/alert/Alert.mjs +27 -0
  10. package/dist/components/alert/Alert.mjs.map +1 -0
  11. package/dist/components/alert/index.d.cts +3 -0
  12. package/dist/components/alert/index.d.mts +3 -0
  13. package/dist/components/alert-dialog/AlertDialog.cjs +95 -0
  14. package/dist/components/alert-dialog/AlertDialog.cjs.map +1 -0
  15. package/dist/components/alert-dialog/AlertDialog.d.cts +46 -0
  16. package/dist/components/alert-dialog/AlertDialog.d.cts.map +1 -0
  17. package/dist/components/alert-dialog/AlertDialog.d.mts +46 -0
  18. package/dist/components/alert-dialog/AlertDialog.d.mts.map +1 -0
  19. package/dist/components/alert-dialog/AlertDialog.mjs +83 -0
  20. package/dist/components/alert-dialog/AlertDialog.mjs.map +1 -0
  21. package/dist/components/alert-dialog/index.d.cts +2 -0
  22. package/dist/components/alert-dialog/index.d.mts +2 -0
  23. package/dist/components/badge/Badge.cjs +57 -0
  24. package/dist/components/badge/Badge.cjs.map +1 -0
  25. package/dist/components/badge/Badge.d.cts +16 -0
  26. package/dist/components/badge/Badge.d.cts.map +1 -0
  27. package/dist/components/badge/Badge.d.mts +16 -0
  28. package/dist/components/badge/Badge.d.mts.map +1 -0
  29. package/dist/components/badge/Badge.mjs +55 -0
  30. package/dist/components/badge/Badge.mjs.map +1 -0
  31. package/dist/components/badge/index.d.cts +2 -0
  32. package/dist/components/badge/index.d.mts +2 -0
  33. package/dist/components/berget-logo/BergetLogo.cjs +87 -0
  34. package/dist/components/berget-logo/BergetLogo.cjs.map +1 -0
  35. package/dist/components/berget-logo/BergetLogo.d.cts +14 -0
  36. package/dist/components/berget-logo/BergetLogo.d.cts.map +1 -0
  37. package/dist/components/berget-logo/BergetLogo.d.mts +14 -0
  38. package/dist/components/berget-logo/BergetLogo.d.mts.map +1 -0
  39. package/dist/components/berget-logo/BergetLogo.mjs +85 -0
  40. package/dist/components/berget-logo/BergetLogo.mjs.map +1 -0
  41. package/dist/components/berget-logo/index.d.cts +2 -0
  42. package/dist/components/berget-logo/index.d.mts +2 -0
  43. package/dist/components/box/Box.cjs +67 -0
  44. package/dist/components/box/Box.cjs.map +1 -0
  45. package/dist/components/box/Box.d.cts +21 -0
  46. package/dist/components/box/Box.d.cts.map +1 -0
  47. package/dist/components/box/Box.d.mts +21 -0
  48. package/dist/components/box/Box.d.mts.map +1 -0
  49. package/dist/components/box/Box.mjs +64 -0
  50. package/dist/components/box/Box.mjs.map +1 -0
  51. package/dist/components/box/index.d.cts +2 -0
  52. package/dist/components/box/index.d.mts +2 -0
  53. package/dist/components/bubble/index.d.cts +2 -0
  54. package/dist/components/bubble/index.d.mts +2 -0
  55. package/dist/components/button/Button.cjs +75 -0
  56. package/dist/components/button/Button.cjs.map +1 -0
  57. package/dist/components/button/Button.d.cts +19 -0
  58. package/dist/components/button/Button.d.cts.map +1 -0
  59. package/dist/components/button/Button.d.mts +19 -0
  60. package/dist/components/button/Button.d.mts.map +1 -0
  61. package/dist/components/button/Button.mjs +74 -0
  62. package/dist/components/button/Button.mjs.map +1 -0
  63. package/dist/components/button/index.d.cts +3 -0
  64. package/dist/components/button/index.d.mts +3 -0
  65. package/dist/components/card/Card.cjs +36 -0
  66. package/dist/components/card/Card.cjs.map +1 -0
  67. package/dist/components/card/Card.d.cts +15 -0
  68. package/dist/components/card/Card.d.cts.map +1 -0
  69. package/dist/components/card/Card.d.mts +15 -0
  70. package/dist/components/card/Card.d.mts.map +1 -0
  71. package/dist/components/card/Card.mjs +28 -0
  72. package/dist/components/card/Card.mjs.map +1 -0
  73. package/dist/components/card/index.d.cts +3 -0
  74. package/dist/components/card/index.d.mts +3 -0
  75. package/dist/components/checkbox/Checkbox.cjs +87 -0
  76. package/dist/components/checkbox/Checkbox.cjs.map +1 -0
  77. package/dist/components/checkbox/Checkbox.d.cts +18 -0
  78. package/dist/components/checkbox/Checkbox.d.cts.map +1 -0
  79. package/dist/components/checkbox/Checkbox.d.mts +18 -0
  80. package/dist/components/checkbox/Checkbox.d.mts.map +1 -0
  81. package/dist/components/checkbox/Checkbox.mjs +84 -0
  82. package/dist/components/checkbox/Checkbox.mjs.map +1 -0
  83. package/dist/components/checkbox/index.d.cts +2 -0
  84. package/dist/components/checkbox/index.d.mts +2 -0
  85. package/dist/components/code-block/CodeBlock.cjs +58 -0
  86. package/dist/components/code-block/CodeBlock.cjs.map +1 -0
  87. package/dist/components/code-block/CodeBlock.d.cts +10 -0
  88. package/dist/components/code-block/CodeBlock.d.cts.map +1 -0
  89. package/dist/components/code-block/CodeBlock.d.mts +10 -0
  90. package/dist/components/code-block/CodeBlock.d.mts.map +1 -0
  91. package/dist/components/code-block/CodeBlock.mjs +58 -0
  92. package/dist/components/code-block/CodeBlock.mjs.map +1 -0
  93. package/dist/components/container/Container.cjs +50 -0
  94. package/dist/components/container/Container.cjs.map +1 -0
  95. package/dist/components/container/Container.d.cts +17 -0
  96. package/dist/components/container/Container.d.cts.map +1 -0
  97. package/dist/components/container/Container.d.mts +17 -0
  98. package/dist/components/container/Container.d.mts.map +1 -0
  99. package/dist/components/container/Container.mjs +47 -0
  100. package/dist/components/container/Container.mjs.map +1 -0
  101. package/dist/components/container/index.d.cts +2 -0
  102. package/dist/components/container/index.d.mts +2 -0
  103. package/dist/components/country-select/CountrySelect.cjs +95 -0
  104. package/dist/components/country-select/CountrySelect.cjs.map +1 -0
  105. package/dist/components/country-select/CountrySelect.d.cts +16 -0
  106. package/dist/components/country-select/CountrySelect.d.cts.map +1 -0
  107. package/dist/components/country-select/CountrySelect.d.mts +16 -0
  108. package/dist/components/country-select/CountrySelect.d.mts.map +1 -0
  109. package/dist/components/country-select/CountrySelect.mjs +93 -0
  110. package/dist/components/country-select/CountrySelect.mjs.map +1 -0
  111. package/dist/components/country-select/countries.cjs +409 -0
  112. package/dist/components/country-select/countries.cjs.map +1 -0
  113. package/dist/components/country-select/countries.d.cts +17 -0
  114. package/dist/components/country-select/countries.d.cts.map +1 -0
  115. package/dist/components/country-select/countries.d.mts +17 -0
  116. package/dist/components/country-select/countries.d.mts.map +1 -0
  117. package/dist/components/country-select/countries.mjs +405 -0
  118. package/dist/components/country-select/countries.mjs.map +1 -0
  119. package/dist/components/country-select/index.d.cts +3 -0
  120. package/dist/components/country-select/index.d.mts +3 -0
  121. package/dist/components/dialog/Dialog.cjs +85 -0
  122. package/dist/components/dialog/Dialog.cjs.map +1 -0
  123. package/dist/components/dialog/Dialog.d.cts +35 -0
  124. package/dist/components/dialog/Dialog.d.cts.map +1 -0
  125. package/dist/components/dialog/Dialog.d.mts +35 -0
  126. package/dist/components/dialog/Dialog.d.mts.map +1 -0
  127. package/dist/components/dialog/Dialog.mjs +74 -0
  128. package/dist/components/dialog/Dialog.mjs.map +1 -0
  129. package/dist/components/dialog/index.d.cts +2 -0
  130. package/dist/components/dialog/index.d.mts +2 -0
  131. package/dist/components/divider/Divider.cjs +72 -0
  132. package/dist/components/divider/Divider.cjs.map +1 -0
  133. package/dist/components/divider/Divider.mjs +70 -0
  134. package/dist/components/divider/Divider.mjs.map +1 -0
  135. package/dist/components/dropdown-menu/DropdownMenu.cjs +101 -0
  136. package/dist/components/dropdown-menu/DropdownMenu.cjs.map +1 -0
  137. package/dist/components/dropdown-menu/DropdownMenu.d.cts +62 -0
  138. package/dist/components/dropdown-menu/DropdownMenu.d.cts.map +1 -0
  139. package/dist/components/dropdown-menu/DropdownMenu.d.mts +62 -0
  140. package/dist/components/dropdown-menu/DropdownMenu.d.mts.map +1 -0
  141. package/dist/components/dropdown-menu/DropdownMenu.mjs +85 -0
  142. package/dist/components/dropdown-menu/DropdownMenu.mjs.map +1 -0
  143. package/dist/components/dropdown-menu/index.d.cts +3 -0
  144. package/dist/components/dropdown-menu/index.d.mts +3 -0
  145. package/dist/components/empty/Empty.cjs +51 -0
  146. package/dist/components/empty/Empty.cjs.map +1 -0
  147. package/dist/components/empty/Empty.d.cts +17 -0
  148. package/dist/components/empty/Empty.d.cts.map +1 -0
  149. package/dist/components/empty/Empty.d.mts +17 -0
  150. package/dist/components/empty/Empty.d.mts.map +1 -0
  151. package/dist/components/empty/Empty.mjs +44 -0
  152. package/dist/components/empty/Empty.mjs.map +1 -0
  153. package/dist/components/empty/index.d.cts +3 -0
  154. package/dist/components/empty/index.d.mts +3 -0
  155. package/dist/components/field/index.d.cts +2 -0
  156. package/dist/components/field/index.d.mts +2 -0
  157. package/dist/components/fog-illustration/FogIllustration.cjs +342 -0
  158. package/dist/components/fog-illustration/FogIllustration.cjs.map +1 -0
  159. package/dist/components/fog-illustration/FogIllustration.d.cts +35 -0
  160. package/dist/components/fog-illustration/FogIllustration.d.cts.map +1 -0
  161. package/dist/components/fog-illustration/FogIllustration.d.mts +35 -0
  162. package/dist/components/fog-illustration/FogIllustration.d.mts.map +1 -0
  163. package/dist/components/fog-illustration/FogIllustration.mjs +341 -0
  164. package/dist/components/fog-illustration/FogIllustration.mjs.map +1 -0
  165. package/dist/components/grid/Grid.cjs +51 -0
  166. package/dist/components/grid/Grid.cjs.map +1 -0
  167. package/dist/components/grid/Grid.d.cts +25 -0
  168. package/dist/components/grid/Grid.d.cts.map +1 -0
  169. package/dist/components/grid/Grid.d.mts +25 -0
  170. package/dist/components/grid/Grid.d.mts.map +1 -0
  171. package/dist/components/grid/Grid.mjs +48 -0
  172. package/dist/components/grid/Grid.mjs.map +1 -0
  173. package/dist/components/grid/index.d.cts +2 -0
  174. package/dist/components/grid/index.d.mts +2 -0
  175. package/dist/components/icon/Icon.cjs +30 -0
  176. package/dist/components/icon/Icon.cjs.map +1 -0
  177. package/dist/components/icon/Icon.d.cts +14 -0
  178. package/dist/components/icon/Icon.d.cts.map +1 -0
  179. package/dist/components/icon/Icon.d.mts +14 -0
  180. package/dist/components/icon/Icon.d.mts.map +1 -0
  181. package/dist/components/icon/Icon.mjs +28 -0
  182. package/dist/components/icon/Icon.mjs.map +1 -0
  183. package/dist/components/icon/index.d.cts +2 -0
  184. package/dist/components/icon/index.d.mts +2 -0
  185. package/dist/components/input/index.d.cts +2 -0
  186. package/dist/components/input/index.d.mts +2 -0
  187. package/dist/components/input-group/InputGroup.cjs +41 -0
  188. package/dist/components/input-group/InputGroup.cjs.map +1 -0
  189. package/dist/components/input-group/InputGroup.d.cts +33 -0
  190. package/dist/components/input-group/InputGroup.d.cts.map +1 -0
  191. package/dist/components/input-group/InputGroup.d.mts +33 -0
  192. package/dist/components/input-group/InputGroup.d.mts.map +1 -0
  193. package/dist/components/input-group/InputGroup.mjs +36 -0
  194. package/dist/components/input-group/InputGroup.mjs.map +1 -0
  195. package/dist/components/input-group/index.d.cts +3 -0
  196. package/dist/components/input-group/index.d.mts +3 -0
  197. package/dist/components/item/Item.cjs +65 -0
  198. package/dist/components/item/Item.cjs.map +1 -0
  199. package/dist/components/item/Item.d.cts +24 -0
  200. package/dist/components/item/Item.d.cts.map +1 -0
  201. package/dist/components/item/Item.d.mts +24 -0
  202. package/dist/components/item/Item.d.mts.map +1 -0
  203. package/dist/components/item/Item.mjs +54 -0
  204. package/dist/components/item/Item.mjs.map +1 -0
  205. package/dist/components/item/index.d.cts +3 -0
  206. package/dist/components/item/index.d.mts +3 -0
  207. package/dist/components/label/index.d.cts +2 -0
  208. package/dist/components/label/index.d.mts +2 -0
  209. package/dist/components/language-select/LanguageSelect.cjs +48 -0
  210. package/dist/components/language-select/LanguageSelect.cjs.map +1 -0
  211. package/dist/components/language-select/LanguageSelect.d.cts +17 -0
  212. package/dist/components/language-select/LanguageSelect.d.cts.map +1 -0
  213. package/dist/components/language-select/LanguageSelect.d.mts +17 -0
  214. package/dist/components/language-select/LanguageSelect.d.mts.map +1 -0
  215. package/dist/components/language-select/LanguageSelect.mjs +46 -0
  216. package/dist/components/language-select/LanguageSelect.mjs.map +1 -0
  217. package/dist/components/language-select/index.d.cts +2 -0
  218. package/dist/components/language-select/index.d.mts +2 -0
  219. package/dist/components/link/Link.cjs +71 -0
  220. package/dist/components/link/Link.cjs.map +1 -0
  221. package/dist/components/link/Link.d.cts +18 -0
  222. package/dist/components/link/Link.d.cts.map +1 -0
  223. package/dist/components/link/Link.d.mts +18 -0
  224. package/dist/components/link/Link.d.mts.map +1 -0
  225. package/dist/components/link/Link.mjs +68 -0
  226. package/dist/components/link/Link.mjs.map +1 -0
  227. package/dist/components/link/index.d.cts +2 -0
  228. package/dist/components/link/index.d.mts +2 -0
  229. package/dist/components/list/List.cjs +71 -0
  230. package/dist/components/list/List.cjs.map +1 -0
  231. package/dist/components/list/List.d.cts +24 -0
  232. package/dist/components/list/List.d.cts.map +1 -0
  233. package/dist/components/list/List.d.mts +24 -0
  234. package/dist/components/list/List.d.mts.map +1 -0
  235. package/dist/components/list/List.mjs +66 -0
  236. package/dist/components/list/List.mjs.map +1 -0
  237. package/dist/components/list/index.d.cts +2 -0
  238. package/dist/components/list/index.d.mts +2 -0
  239. package/dist/components/message/index.d.cts +2 -0
  240. package/dist/components/message/index.d.mts +2 -0
  241. package/dist/components/message-scroller/index.d.cts +2 -0
  242. package/dist/components/message-scroller/index.d.mts +2 -0
  243. package/dist/components/model-card/ModelCard.cjs +108 -0
  244. package/dist/components/model-card/ModelCard.cjs.map +1 -0
  245. package/dist/components/model-card/ModelCard.d.cts +58 -0
  246. package/dist/components/model-card/ModelCard.d.cts.map +1 -0
  247. package/dist/components/model-card/ModelCard.d.mts +58 -0
  248. package/dist/components/model-card/ModelCard.d.mts.map +1 -0
  249. package/dist/components/model-card/ModelCard.mjs +106 -0
  250. package/dist/components/model-card/ModelCard.mjs.map +1 -0
  251. package/dist/components/model-card/index.d.cts +3 -0
  252. package/dist/components/model-card/index.d.mts +3 -0
  253. package/dist/components/model-logo/ModelLogo.cjs +98 -0
  254. package/dist/components/model-logo/ModelLogo.cjs.map +1 -0
  255. package/dist/components/model-logo/ModelLogo.d.cts +32 -0
  256. package/dist/components/model-logo/ModelLogo.d.cts.map +1 -0
  257. package/dist/components/model-logo/ModelLogo.d.mts +32 -0
  258. package/dist/components/model-logo/ModelLogo.d.mts.map +1 -0
  259. package/dist/components/model-logo/ModelLogo.mjs +95 -0
  260. package/dist/components/model-logo/ModelLogo.mjs.map +1 -0
  261. package/dist/components/model-logo/index.d.cts +2 -0
  262. package/dist/components/model-logo/index.d.mts +2 -0
  263. package/dist/components/navigation-menu/NavigationMenu.cjs +65 -0
  264. package/dist/components/navigation-menu/NavigationMenu.cjs.map +1 -0
  265. package/dist/components/navigation-menu/NavigationMenu.d.cts +11 -0
  266. package/dist/components/navigation-menu/NavigationMenu.d.cts.map +1 -0
  267. package/dist/components/navigation-menu/NavigationMenu.d.mts +11 -0
  268. package/dist/components/navigation-menu/NavigationMenu.d.mts.map +1 -0
  269. package/dist/components/navigation-menu/NavigationMenu.mjs +57 -0
  270. package/dist/components/navigation-menu/NavigationMenu.mjs.map +1 -0
  271. package/dist/components/navigation-menu/index.d.cts +3 -0
  272. package/dist/components/navigation-menu/index.d.mts +3 -0
  273. package/dist/components/neural-flow/NeuralFlow.cjs +1038 -0
  274. package/dist/components/neural-flow/NeuralFlow.cjs.map +1 -0
  275. package/dist/components/neural-flow/NeuralFlow.d.cts +47 -0
  276. package/dist/components/neural-flow/NeuralFlow.d.cts.map +1 -0
  277. package/dist/components/neural-flow/NeuralFlow.d.mts +47 -0
  278. package/dist/components/neural-flow/NeuralFlow.d.mts.map +1 -0
  279. package/dist/components/neural-flow/NeuralFlow.mjs +1032 -0
  280. package/dist/components/neural-flow/NeuralFlow.mjs.map +1 -0
  281. package/dist/components/neural-flow/index.d.cts +2 -0
  282. package/dist/components/neural-flow/index.d.mts +2 -0
  283. package/dist/components/neural-flow/mnist-samples.cjs +73 -0
  284. package/dist/components/neural-flow/mnist-samples.cjs.map +1 -0
  285. package/dist/components/neural-flow/mnist-samples.mjs +73 -0
  286. package/dist/components/neural-flow/mnist-samples.mjs.map +1 -0
  287. package/dist/components/neural-flow/sparse-weights.cjs +21 -0
  288. package/dist/components/neural-flow/sparse-weights.cjs.map +1 -0
  289. package/dist/components/neural-flow/sparse-weights.mjs +21 -0
  290. package/dist/components/neural-flow/sparse-weights.mjs.map +1 -0
  291. package/dist/components/progress/Progress.cjs +25 -0
  292. package/dist/components/progress/Progress.cjs.map +1 -0
  293. package/dist/components/progress/Progress.d.cts +8 -0
  294. package/dist/components/progress/Progress.d.cts.map +1 -0
  295. package/dist/components/progress/Progress.d.mts +8 -0
  296. package/dist/components/progress/Progress.d.mts.map +1 -0
  297. package/dist/components/progress/Progress.mjs +19 -0
  298. package/dist/components/progress/Progress.mjs.map +1 -0
  299. package/dist/components/progress/index.d.cts +3 -0
  300. package/dist/components/progress/index.d.mts +3 -0
  301. package/dist/components/search-input/SearchInput.cjs +28 -0
  302. package/dist/components/search-input/SearchInput.cjs.map +1 -0
  303. package/dist/components/search-input/SearchInput.d.cts +10 -0
  304. package/dist/components/search-input/SearchInput.d.cts.map +1 -0
  305. package/dist/components/search-input/SearchInput.d.mts +10 -0
  306. package/dist/components/search-input/SearchInput.d.mts.map +1 -0
  307. package/dist/components/search-input/SearchInput.mjs +26 -0
  308. package/dist/components/search-input/SearchInput.mjs.map +1 -0
  309. package/dist/components/search-input/index.d.cts +2 -0
  310. package/dist/components/search-input/index.d.mts +2 -0
  311. package/dist/components/select/index.d.cts +2 -0
  312. package/dist/components/select/index.d.mts +2 -0
  313. package/dist/components/sidebar/Sidebar.cjs +203 -0
  314. package/dist/components/sidebar/Sidebar.cjs.map +1 -0
  315. package/dist/components/sidebar/Sidebar.d.cts +69 -0
  316. package/dist/components/sidebar/Sidebar.d.cts.map +1 -0
  317. package/dist/components/sidebar/Sidebar.d.mts +69 -0
  318. package/dist/components/sidebar/Sidebar.d.mts.map +1 -0
  319. package/dist/components/sidebar/Sidebar.mjs +150 -0
  320. package/dist/components/sidebar/Sidebar.mjs.map +1 -0
  321. package/dist/components/sidebar/index.d.cts +3 -0
  322. package/dist/components/sidebar/index.d.mts +3 -0
  323. package/dist/components/skeleton/Skeleton.cjs +20 -0
  324. package/dist/components/skeleton/Skeleton.cjs.map +1 -0
  325. package/dist/components/skeleton/Skeleton.d.cts +7 -0
  326. package/dist/components/skeleton/Skeleton.d.cts.map +1 -0
  327. package/dist/components/skeleton/Skeleton.d.mts +7 -0
  328. package/dist/components/skeleton/Skeleton.d.mts.map +1 -0
  329. package/dist/components/skeleton/Skeleton.mjs +18 -0
  330. package/dist/components/skeleton/Skeleton.mjs.map +1 -0
  331. package/dist/components/skeleton/index.d.cts +2 -0
  332. package/dist/components/skeleton/index.d.mts +2 -0
  333. package/dist/components/slider/Slider.cjs +23 -0
  334. package/dist/components/slider/Slider.cjs.map +1 -0
  335. package/dist/components/slider/Slider.d.cts +20 -0
  336. package/dist/components/slider/Slider.d.cts.map +1 -0
  337. package/dist/components/slider/Slider.d.mts +20 -0
  338. package/dist/components/slider/Slider.d.mts.map +1 -0
  339. package/dist/components/slider/Slider.mjs +23 -0
  340. package/dist/components/slider/Slider.mjs.map +1 -0
  341. package/dist/components/slider/index.d.cts +2 -0
  342. package/dist/components/slider/index.d.mts +2 -0
  343. package/dist/components/switch/Switch.cjs +85 -0
  344. package/dist/components/switch/Switch.cjs.map +1 -0
  345. package/dist/components/switch/Switch.d.cts +21 -0
  346. package/dist/components/switch/Switch.d.cts.map +1 -0
  347. package/dist/components/switch/Switch.d.mts +21 -0
  348. package/dist/components/switch/Switch.d.mts.map +1 -0
  349. package/dist/components/switch/Switch.mjs +81 -0
  350. package/dist/components/switch/Switch.mjs.map +1 -0
  351. package/dist/components/switch/index.d.cts +2 -0
  352. package/dist/components/switch/index.d.mts +2 -0
  353. package/dist/components/table/Table.cjs +67 -0
  354. package/dist/components/table/Table.cjs.map +1 -0
  355. package/dist/components/table/Table.d.cts +13 -0
  356. package/dist/components/table/Table.d.cts.map +1 -0
  357. package/dist/components/table/Table.d.mts +13 -0
  358. package/dist/components/table/Table.d.mts.map +1 -0
  359. package/dist/components/table/Table.mjs +58 -0
  360. package/dist/components/table/Table.mjs.map +1 -0
  361. package/dist/components/table/index.d.cts +2 -0
  362. package/dist/components/table/index.d.mts +2 -0
  363. package/dist/components/text-area/index.d.cts +2 -0
  364. package/dist/components/text-area/index.d.mts +2 -0
  365. package/dist/components/theme-provider/ThemeProvider.cjs +81 -0
  366. package/dist/components/theme-provider/ThemeProvider.cjs.map +1 -0
  367. package/dist/components/theme-provider/ThemeProvider.d.cts +21 -0
  368. package/dist/components/theme-provider/ThemeProvider.d.cts.map +1 -0
  369. package/dist/components/theme-provider/ThemeProvider.d.mts +21 -0
  370. package/dist/components/theme-provider/ThemeProvider.d.mts.map +1 -0
  371. package/dist/components/theme-provider/ThemeProvider.mjs +78 -0
  372. package/dist/components/theme-provider/ThemeProvider.mjs.map +1 -0
  373. package/dist/components/theme-provider/ThemeToggle.cjs +56 -0
  374. package/dist/components/theme-provider/ThemeToggle.cjs.map +1 -0
  375. package/dist/components/theme-provider/ThemeToggle.d.cts +12 -0
  376. package/dist/components/theme-provider/ThemeToggle.d.cts.map +1 -0
  377. package/dist/components/theme-provider/ThemeToggle.d.mts +12 -0
  378. package/dist/components/theme-provider/ThemeToggle.d.mts.map +1 -0
  379. package/dist/components/theme-provider/ThemeToggle.mjs +54 -0
  380. package/dist/components/theme-provider/ThemeToggle.mjs.map +1 -0
  381. package/dist/components/theme-provider/index.d.cts +3 -0
  382. package/dist/components/theme-provider/index.d.mts +3 -0
  383. package/dist/components/tooltip/Tooltip.cjs +28 -0
  384. package/dist/components/tooltip/Tooltip.cjs.map +1 -0
  385. package/dist/components/tooltip/Tooltip.d.cts +14 -0
  386. package/dist/components/tooltip/Tooltip.d.cts.map +1 -0
  387. package/dist/components/tooltip/Tooltip.d.mts +14 -0
  388. package/dist/components/tooltip/Tooltip.d.mts.map +1 -0
  389. package/dist/components/tooltip/Tooltip.mjs +23 -0
  390. package/dist/components/tooltip/Tooltip.mjs.map +1 -0
  391. package/dist/components/tooltip/index.d.cts +3 -0
  392. package/dist/components/tooltip/index.d.mts +3 -0
  393. package/dist/components/typography/Typography.cjs +69 -0
  394. package/dist/components/typography/Typography.cjs.map +1 -0
  395. package/dist/components/typography/Typography.d.cts +14 -0
  396. package/dist/components/typography/Typography.d.cts.map +1 -0
  397. package/dist/components/typography/Typography.d.mts +14 -0
  398. package/dist/components/typography/Typography.d.mts.map +1 -0
  399. package/dist/components/typography/Typography.mjs +67 -0
  400. package/dist/components/typography/Typography.mjs.map +1 -0
  401. package/dist/components/typography/index.d.cts +2 -0
  402. package/dist/components/typography/index.d.mts +2 -0
  403. package/dist/components/window-frame/WindowFrame.cjs +47 -0
  404. package/dist/components/window-frame/WindowFrame.cjs.map +1 -0
  405. package/dist/components/window-frame/WindowFrame.d.cts +19 -0
  406. package/dist/components/window-frame/WindowFrame.d.cts.map +1 -0
  407. package/dist/components/window-frame/WindowFrame.d.mts +19 -0
  408. package/dist/components/window-frame/WindowFrame.d.mts.map +1 -0
  409. package/dist/components/window-frame/WindowFrame.mjs +46 -0
  410. package/dist/components/window-frame/WindowFrame.mjs.map +1 -0
  411. package/dist/components/window-frame/index.d.cts +2 -0
  412. package/dist/components/window-frame/index.d.mts +2 -0
  413. package/dist/hooks/use-mobile.cjs +23 -0
  414. package/dist/hooks/use-mobile.cjs.map +1 -0
  415. package/dist/hooks/use-mobile.mjs +21 -0
  416. package/dist/hooks/use-mobile.mjs.map +1 -0
  417. package/dist/index.cjs +280 -5937
  418. package/dist/index.d.cts +101 -840
  419. package/dist/index.d.mts +101 -0
  420. package/dist/index.mjs +58 -0
  421. package/dist/lib/shiki-theme.cjs +10 -0
  422. package/dist/lib/shiki-theme.cjs.map +1 -0
  423. package/dist/lib/shiki-theme.d.cts +4 -0
  424. package/dist/lib/shiki-theme.d.cts.map +1 -0
  425. package/dist/lib/shiki-theme.d.mts +4 -0
  426. package/dist/lib/shiki-theme.d.mts.map +1 -0
  427. package/dist/lib/shiki-theme.mjs +11 -0
  428. package/dist/lib/shiki-theme.mjs.map +1 -0
  429. package/dist/lib/shiki.cjs +31 -0
  430. package/dist/lib/shiki.cjs.map +1 -0
  431. package/dist/lib/shiki.d.cts +6 -0
  432. package/dist/lib/shiki.d.cts.map +1 -0
  433. package/dist/lib/shiki.d.mts +6 -0
  434. package/dist/lib/shiki.d.mts.map +1 -0
  435. package/dist/lib/shiki.mjs +30 -0
  436. package/dist/lib/shiki.mjs.map +1 -0
  437. package/dist/lib/terminal.d.cts +12 -0
  438. package/dist/lib/terminal.d.cts.map +1 -0
  439. package/dist/lib/terminal.d.mts +12 -0
  440. package/dist/lib/terminal.d.mts.map +1 -0
  441. package/dist/lib/utils.cjs +43 -0
  442. package/dist/lib/utils.cjs.map +1 -0
  443. package/dist/lib/utils.mjs +41 -0
  444. package/dist/lib/utils.mjs.map +1 -0
  445. package/dist/neural-flow.cjs +3 -1015
  446. package/dist/neural-flow.d.cts +3 -47
  447. package/dist/neural-flow.d.mts +3 -0
  448. package/dist/neural-flow.mjs +1 -0
  449. package/dist/primitives/alert.cjs +43 -0
  450. package/dist/primitives/alert.cjs.map +1 -0
  451. package/dist/primitives/alert.d.cts +8 -0
  452. package/dist/primitives/alert.d.cts.map +1 -0
  453. package/dist/primitives/alert.d.mts +8 -0
  454. package/dist/primitives/alert.d.mts.map +1 -0
  455. package/dist/primitives/alert.mjs +39 -0
  456. package/dist/primitives/alert.mjs.map +1 -0
  457. package/dist/primitives/bubble.cjs +80 -0
  458. package/dist/primitives/bubble.cjs.map +1 -0
  459. package/dist/primitives/bubble.d.cts +19 -0
  460. package/dist/primitives/bubble.d.cts.map +1 -0
  461. package/dist/primitives/bubble.d.mts +19 -0
  462. package/dist/primitives/bubble.d.mts.map +1 -0
  463. package/dist/primitives/bubble.mjs +75 -0
  464. package/dist/primitives/bubble.mjs.map +1 -0
  465. package/dist/primitives/button.cjs +47 -0
  466. package/dist/primitives/button.cjs.map +1 -0
  467. package/dist/primitives/button.d.cts +11 -0
  468. package/dist/primitives/button.d.cts.map +1 -0
  469. package/dist/primitives/button.d.mts +11 -0
  470. package/dist/primitives/button.d.mts.map +1 -0
  471. package/dist/primitives/button.mjs +46 -0
  472. package/dist/primitives/button.mjs.map +1 -0
  473. package/dist/primitives/card.cjs +67 -0
  474. package/dist/primitives/card.cjs.map +1 -0
  475. package/dist/primitives/card.d.cts +11 -0
  476. package/dist/primitives/card.d.cts.map +1 -0
  477. package/dist/primitives/card.d.mts +11 -0
  478. package/dist/primitives/card.d.mts.map +1 -0
  479. package/dist/primitives/card.mjs +59 -0
  480. package/dist/primitives/card.mjs.map +1 -0
  481. package/dist/primitives/checkbox.cjs +22 -0
  482. package/dist/primitives/checkbox.cjs.map +1 -0
  483. package/dist/primitives/checkbox.mjs +22 -0
  484. package/dist/primitives/checkbox.mjs.map +1 -0
  485. package/dist/primitives/command.cjs +69 -0
  486. package/dist/primitives/command.cjs.map +1 -0
  487. package/dist/primitives/command.mjs +62 -0
  488. package/dist/primitives/command.mjs.map +1 -0
  489. package/dist/primitives/dropdown-menu.cjs +155 -0
  490. package/dist/primitives/dropdown-menu.cjs.map +1 -0
  491. package/dist/primitives/dropdown-menu.d.cts +30 -0
  492. package/dist/primitives/dropdown-menu.d.cts.map +1 -0
  493. package/dist/primitives/dropdown-menu.d.mts +30 -0
  494. package/dist/primitives/dropdown-menu.d.mts.map +1 -0
  495. package/dist/primitives/dropdown-menu.mjs +139 -0
  496. package/dist/primitives/dropdown-menu.mjs.map +1 -0
  497. package/dist/primitives/empty.cjs +67 -0
  498. package/dist/primitives/empty.cjs.map +1 -0
  499. package/dist/primitives/empty.d.cts +8 -0
  500. package/dist/primitives/empty.d.cts.map +1 -0
  501. package/dist/primitives/empty.d.mts +8 -0
  502. package/dist/primitives/empty.d.mts.map +1 -0
  503. package/dist/primitives/empty.mjs +62 -0
  504. package/dist/primitives/empty.mjs.map +1 -0
  505. package/dist/primitives/field.cjs +121 -0
  506. package/dist/primitives/field.cjs.map +1 -0
  507. package/dist/primitives/field.d.cts +27 -0
  508. package/dist/primitives/field.d.cts.map +1 -0
  509. package/dist/primitives/field.d.mts +27 -0
  510. package/dist/primitives/field.d.mts.map +1 -0
  511. package/dist/primitives/field.mjs +112 -0
  512. package/dist/primitives/field.mjs.map +1 -0
  513. package/dist/primitives/input-group.cjs +88 -0
  514. package/dist/primitives/input-group.cjs.map +1 -0
  515. package/dist/primitives/input-group.d.cts +21 -0
  516. package/dist/primitives/input-group.d.cts.map +1 -0
  517. package/dist/primitives/input-group.d.mts +21 -0
  518. package/dist/primitives/input-group.d.mts.map +1 -0
  519. package/dist/primitives/input-group.mjs +81 -0
  520. package/dist/primitives/input-group.mjs.map +1 -0
  521. package/dist/primitives/input.cjs +20 -0
  522. package/dist/primitives/input.cjs.map +1 -0
  523. package/dist/primitives/input.d.cts +6 -0
  524. package/dist/primitives/input.d.cts.map +1 -0
  525. package/dist/primitives/input.d.mts +6 -0
  526. package/dist/primitives/input.d.mts.map +1 -0
  527. package/dist/primitives/input.mjs +18 -0
  528. package/dist/primitives/input.mjs.map +1 -0
  529. package/dist/primitives/item.cjs +135 -0
  530. package/dist/primitives/item.cjs.map +1 -0
  531. package/dist/primitives/item.d.cts +18 -0
  532. package/dist/primitives/item.d.cts.map +1 -0
  533. package/dist/primitives/item.d.mts +18 -0
  534. package/dist/primitives/item.d.mts.map +1 -0
  535. package/dist/primitives/item.mjs +124 -0
  536. package/dist/primitives/item.mjs.map +1 -0
  537. package/dist/primitives/label.cjs +18 -0
  538. package/dist/primitives/label.cjs.map +1 -0
  539. package/dist/primitives/label.d.cts +6 -0
  540. package/dist/primitives/label.d.cts.map +1 -0
  541. package/dist/primitives/label.d.mts +6 -0
  542. package/dist/primitives/label.d.mts.map +1 -0
  543. package/dist/primitives/label.mjs +16 -0
  544. package/dist/primitives/label.mjs.map +1 -0
  545. package/dist/primitives/message-scroller.cjs +69 -0
  546. package/dist/primitives/message-scroller.cjs.map +1 -0
  547. package/dist/primitives/message-scroller.d.cts +13 -0
  548. package/dist/primitives/message-scroller.d.cts.map +1 -0
  549. package/dist/primitives/message-scroller.d.mts +13 -0
  550. package/dist/primitives/message-scroller.d.mts.map +1 -0
  551. package/dist/primitives/message-scroller.mjs +62 -0
  552. package/dist/primitives/message-scroller.mjs.map +1 -0
  553. package/dist/primitives/message.cjs +58 -0
  554. package/dist/primitives/message.cjs.map +1 -0
  555. package/dist/primitives/message.d.cts +13 -0
  556. package/dist/primitives/message.d.cts.map +1 -0
  557. package/dist/primitives/message.d.mts +13 -0
  558. package/dist/primitives/message.d.mts.map +1 -0
  559. package/dist/primitives/message.mjs +51 -0
  560. package/dist/primitives/message.mjs.map +1 -0
  561. package/dist/primitives/navigation-menu.cjs +44 -0
  562. package/dist/primitives/navigation-menu.cjs.map +1 -0
  563. package/dist/primitives/navigation-menu.d.cts +9 -0
  564. package/dist/primitives/navigation-menu.d.cts.map +1 -0
  565. package/dist/primitives/navigation-menu.d.mts +9 -0
  566. package/dist/primitives/navigation-menu.d.mts.map +1 -0
  567. package/dist/primitives/navigation-menu.mjs +41 -0
  568. package/dist/primitives/navigation-menu.mjs.map +1 -0
  569. package/dist/primitives/popover.cjs +40 -0
  570. package/dist/primitives/popover.cjs.map +1 -0
  571. package/dist/primitives/popover.mjs +36 -0
  572. package/dist/primitives/popover.mjs.map +1 -0
  573. package/dist/primitives/progress.cjs +50 -0
  574. package/dist/primitives/progress.cjs.map +1 -0
  575. package/dist/primitives/progress.d.cts +10 -0
  576. package/dist/primitives/progress.d.cts.map +1 -0
  577. package/dist/primitives/progress.d.mts +10 -0
  578. package/dist/primitives/progress.d.mts.map +1 -0
  579. package/dist/primitives/progress.mjs +46 -0
  580. package/dist/primitives/progress.mjs.map +1 -0
  581. package/dist/primitives/select.cjs +111 -0
  582. package/dist/primitives/select.cjs.map +1 -0
  583. package/dist/primitives/select.d.cts +18 -0
  584. package/dist/primitives/select.d.cts.map +1 -0
  585. package/dist/primitives/select.d.mts +18 -0
  586. package/dist/primitives/select.d.mts.map +1 -0
  587. package/dist/primitives/select.mjs +100 -0
  588. package/dist/primitives/select.mjs.map +1 -0
  589. package/dist/primitives/separator.cjs +17 -0
  590. package/dist/primitives/separator.cjs.map +1 -0
  591. package/dist/primitives/separator.d.cts +6 -0
  592. package/dist/primitives/separator.d.cts.map +1 -0
  593. package/dist/primitives/separator.d.mts +6 -0
  594. package/dist/primitives/separator.d.mts.map +1 -0
  595. package/dist/primitives/separator.mjs +17 -0
  596. package/dist/primitives/separator.mjs.map +1 -0
  597. package/dist/primitives/sheet.cjs +78 -0
  598. package/dist/primitives/sheet.cjs.map +1 -0
  599. package/dist/primitives/sheet.mjs +72 -0
  600. package/dist/primitives/sheet.mjs.map +1 -0
  601. package/dist/primitives/sidebar.cjs +413 -0
  602. package/dist/primitives/sidebar.cjs.map +1 -0
  603. package/dist/primitives/sidebar.d.cts +66 -0
  604. package/dist/primitives/sidebar.d.cts.map +1 -0
  605. package/dist/primitives/sidebar.d.mts +66 -0
  606. package/dist/primitives/sidebar.d.mts.map +1 -0
  607. package/dist/primitives/sidebar.mjs +388 -0
  608. package/dist/primitives/sidebar.mjs.map +1 -0
  609. package/dist/primitives/skeleton.cjs +15 -0
  610. package/dist/primitives/skeleton.cjs.map +1 -0
  611. package/dist/primitives/skeleton.mjs +15 -0
  612. package/dist/primitives/skeleton.mjs.map +1 -0
  613. package/dist/primitives/slider.cjs +35 -0
  614. package/dist/primitives/slider.cjs.map +1 -0
  615. package/dist/primitives/slider.d.cts +6 -0
  616. package/dist/primitives/slider.d.cts.map +1 -0
  617. package/dist/primitives/slider.d.mts +6 -0
  618. package/dist/primitives/slider.d.mts.map +1 -0
  619. package/dist/primitives/slider.mjs +35 -0
  620. package/dist/primitives/slider.mjs.map +1 -0
  621. package/dist/primitives/table.cjs +78 -0
  622. package/dist/primitives/table.cjs.map +1 -0
  623. package/dist/primitives/table.mjs +69 -0
  624. package/dist/primitives/table.mjs.map +1 -0
  625. package/dist/primitives/textarea.cjs +18 -0
  626. package/dist/primitives/textarea.cjs.map +1 -0
  627. package/dist/primitives/textarea.d.cts +6 -0
  628. package/dist/primitives/textarea.d.cts.map +1 -0
  629. package/dist/primitives/textarea.d.mts +6 -0
  630. package/dist/primitives/textarea.d.mts.map +1 -0
  631. package/dist/primitives/textarea.mjs +16 -0
  632. package/dist/primitives/textarea.mjs.map +1 -0
  633. package/dist/primitives/tooltip.cjs +46 -0
  634. package/dist/primitives/tooltip.cjs.map +1 -0
  635. package/dist/primitives/tooltip.d.cts +9 -0
  636. package/dist/primitives/tooltip.d.cts.map +1 -0
  637. package/dist/primitives/tooltip.d.mts +9 -0
  638. package/dist/primitives/tooltip.d.mts.map +1 -0
  639. package/dist/primitives/tooltip.mjs +43 -0
  640. package/dist/primitives/tooltip.mjs.map +1 -0
  641. package/dist/shiki.cjs +6 -80
  642. package/dist/shiki.d.cts +3 -10
  643. package/dist/shiki.d.mts +3 -0
  644. package/dist/shiki.mjs +3 -0
  645. package/dist/styles/index.css +11 -0
  646. package/package.json +20 -13
  647. package/dist/chunk-3LBFYXI6.js +0 -42
  648. package/dist/chunk-3LBFYXI6.js.map +0 -1
  649. package/dist/index.cjs.map +0 -1
  650. package/dist/index.d.ts +0 -840
  651. package/dist/index.js +0 -5685
  652. package/dist/index.js.map +0 -1
  653. package/dist/neural-flow.cjs.map +0 -1
  654. package/dist/neural-flow.d.ts +0 -47
  655. package/dist/neural-flow.js +0 -978
  656. package/dist/neural-flow.js.map +0 -1
  657. package/dist/shiki.cjs.map +0 -1
  658. package/dist/shiki.d.ts +0 -10
  659. package/dist/shiki.js +0 -11
  660. package/dist/shiki.js.map +0 -1
package/dist/index.d.ts DELETED
@@ -1,840 +0,0 @@
1
- import * as React$1 from 'react';
2
- import * as react_jsx_runtime from 'react/jsx-runtime';
3
- import * as class_variance_authority_types from 'class-variance-authority/types';
4
- import { Button as Button$2 } from '@base-ui/react/button';
5
- import * as class_variance_authority from 'class-variance-authority';
6
- import { VariantProps } from 'class-variance-authority';
7
- import * as _base_ui_react from '@base-ui/react';
8
- import { Progress as Progress$2 } from '@base-ui/react/progress';
9
- import { Dialog as Dialog$1 } from '@base-ui/react/dialog';
10
- import { AlertDialog as AlertDialog$1 } from '@base-ui/react/alert-dialog';
11
- import { Menu } from '@base-ui/react/menu';
12
- import { Tooltip as Tooltip$1 } from '@base-ui/react/tooltip';
13
- import { NavigationMenu as NavigationMenu$1 } from '@base-ui/react/navigation-menu';
14
- import { useRender } from '@base-ui/react/use-render';
15
- import { Separator as Separator$1 } from '@base-ui/react/separator';
16
- import { Checkbox as Checkbox$1 } from '@base-ui/react/checkbox';
17
- import { Switch as Switch$1 } from '@base-ui/react/switch';
18
- import { Select as Select$1 } from '@base-ui/react/select';
19
- import { LucideProps, LucideIcon } from 'lucide-react';
20
-
21
- type Theme = 'dark' | 'light' | 'system';
22
- interface ThemeState {
23
- theme: Theme;
24
- resolvedTheme: 'dark' | 'light';
25
- }
26
- interface ThemeProviderContextValue extends ThemeState {
27
- setTheme: (theme: Theme) => void;
28
- }
29
- interface ThemeProviderProps {
30
- children: React$1.ReactNode;
31
- /** Explicitly set and lock the theme ('light' or 'dark').
32
- * When provided, `setTheme` is a no-op and localStorage is ignored. */
33
- theme?: 'light' | 'dark';
34
- }
35
- declare const ThemeProvider: React$1.NamedExoticComponent<ThemeProviderProps>;
36
- declare function useTheme(): ThemeProviderContextValue;
37
-
38
- interface ThemeToggleProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
39
- /** Accessible label for the toggle button */
40
- label?: string;
41
- /** Force a specific size class */
42
- size?: 'sm' | 'md' | 'lg';
43
- }
44
- declare const ThemeToggle: React$1.ForwardRefExoticComponent<ThemeToggleProps & React$1.RefAttributes<HTMLButtonElement>>;
45
-
46
- declare const buttonVariants: (props?: ({
47
- variant?: "link" | "default" | "outline" | "secondary" | "ghost" | "destructive" | null | undefined;
48
- size?: "sm" | "lg" | "default" | "xs" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
49
- } & class_variance_authority_types.ClassProp) | undefined) => string;
50
- declare function Button$1({ className, variant, size, ...props }: Button$2.Props & VariantProps<typeof buttonVariants>): react_jsx_runtime.JSX.Element;
51
-
52
- /** Variants exposed by the Berget wrapper. */
53
- type CustomVariant = 'default' | 'primary' | 'destructive' | 'outline' | 'ghost' | 'link';
54
- /** Props for the Berget Button wrapper. */
55
- interface ButtonProps extends Omit<React$1.ComponentProps<typeof Button$1>, 'variant' | 'ref'> {
56
- /** Visual style variant. `primary` is Berget-specific. */
57
- variant?: CustomVariant;
58
- /** Full width or auto width. */
59
- width?: 'default' | 'full';
60
- /** Render as a different element/component. Replaces the Radix `asChild` prop. */
61
- asChild?: boolean;
62
- ref?: React$1.Ref<HTMLButtonElement>;
63
- }
64
- declare function Button({ className, variant, size, asChild, width, type, ref, children, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
65
-
66
- declare const typographyVariants: (props?: ({
67
- variant?: "small" | "caption" | "xs" | "body" | "code" | "h1" | "h2" | "h3" | "h4" | "h5" | "hero" | "large" | "mono" | null | undefined;
68
- color?: "default" | "primary" | "muted" | "dim" | null | undefined;
69
- } & class_variance_authority_types.ClassProp) | undefined) => string;
70
- interface TypographyProps extends Omit<React$1.HTMLAttributes<HTMLElement>, 'color'>, VariantProps<typeof typographyVariants> {
71
- as?: React$1.ElementType;
72
- }
73
- declare const Typography: React$1.ForwardRefExoticComponent<TypographyProps & React$1.RefAttributes<HTMLElement>>;
74
-
75
- declare function CardHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
76
- declare function CardTitle({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
77
- declare function CardDescription({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
78
- declare function CardAction({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
79
- declare function CardContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
80
- declare function CardFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
81
-
82
- declare const cardVariants: (props?: ({
83
- variant?: "outlined" | "filled" | null | undefined;
84
- } & class_variance_authority_types.ClassProp) | undefined) => string;
85
- interface CardProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardVariants> {
86
- /** Spacing scale of the card. `sm` uses a compact 16px spacing, `default` 24px. */
87
- size?: 'default' | 'sm';
88
- }
89
- declare const Card: React$1.ForwardRefExoticComponent<CardProps & React$1.RefAttributes<HTMLDivElement>>;
90
-
91
- declare const badgeVariants: (props?: ({
92
- variant?: "default" | "tag" | "semantic" | null | undefined;
93
- status?: "default" | "error" | "active" | "info" | "success" | "warning" | "tagDefault" | "tagActive" | "tagGhost" | null | undefined;
94
- size?: "sm" | "md" | null | undefined;
95
- } & class_variance_authority_types.ClassProp) | undefined) => string;
96
- interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
97
- icon?: React$1.ReactNode;
98
- iconGap?: number;
99
- }
100
- declare const Badge: React$1.ForwardRefExoticComponent<BadgeProps & React$1.RefAttributes<HTMLDivElement>>;
101
-
102
- /**
103
- * Model families with a bundled brand mark, keyed by the `owned_by` values
104
- * returned by `GET /v1/models` (normalized: lowercase, aliases below).
105
- */
106
- type ModelLogoProvider = 'qwen' | 'mistral' | 'kimi' | 'google' | 'zai' | 'berget';
107
- /** Fallback model categories for models without a brand mark, matching
108
- * the `model_type` values in `GET /v1/models` (plus `vision`, which lives
109
- * in per-model capabilities). */
110
- type ModelCategory = 'text' | 'speech-to-text' | 'embedding' | 'rerank' | 'system-one' | 'vision';
111
- declare const categoryLabels: Record<ModelCategory, string>;
112
- interface ModelLogoProps extends React$1.SVGAttributes<SVGSVGElement> {
113
- /**
114
- * Model family to render a brand mark for. Accepts the `owned_by` values
115
- * from `GET /v1/models` (e.g. `'moonshotai'`) case-insensitively.
116
- */
117
- provider?: string;
118
- /** Fallback category when `provider` is missing or unknown. */
119
- category?: ModelCategory;
120
- /** Size (width and height) in pixels. */
121
- size?: number;
122
- }
123
- /**
124
- * ModelLogo — brand mark for a supported model family, falling back to a
125
- * category icon for everything else. Renders nothing if no `provider` and
126
- * no `category` match.
127
- */
128
- declare const ModelLogo: React$1.ForwardRefExoticComponent<ModelLogoProps & React$1.RefAttributes<SVGSVGElement>>;
129
-
130
- /**
131
- * ModelCard — a whole-card link tile for presenting AI models in a grid:
132
- * provider mark, category eyebrow, model name, optional lifecycle tab,
133
- * per-unit price columns, and fine-print capability facts.
134
- *
135
- * Presentational only: all copy is passed in as props; the card itself
136
- * owns no strings and no domain types.
137
- */
138
- /** Lifecycle status shown as a corner tab on the card. */
139
- type ModelLifecycle = 'preview' | 'active' | 'deprecated';
140
-
141
- interface ModelCardProps extends Omit<React$1.ComponentProps<'a'>, 'title' | 'children'> {
142
- /** Provider mark, rendered in a bordered square at the top of the card. */
143
- icon?: React$1.ReactNode;
144
- /**
145
- * Model family for the icon square — resolved to a bundled brand mark
146
- * (e.g. `'mistralai'`, `'moonshotai'`, `'berget'`). Ignored when `icon`
147
- * is set.
148
- */
149
- provider?: string;
150
- /** Fallback category for the icon square when no brand mark exists
151
- * (maps to the `model_type` values from `GET /v1/models`). */
152
- category?: ModelCategory;
153
- /** Small category label above the title (rendered uppercase). */
154
- eyebrow?: string;
155
- /** The model name — rendered as an `h3` and truncated when too long. */
156
- title: React$1.ReactNode;
157
- /**
158
- * Lifecycle status rendered as a corner tab: `preview` (yellow),
159
- * `active` (green), `deprecated` (gray).
160
- */
161
- lifecycle?: ModelLifecycle;
162
- /** Secondary line under the title, e.g. the provider name. */
163
- description?: React$1.ReactNode;
164
- /** Label-above-value columns, e.g. per-million-token input/output prices. */
165
- columns?: {
166
- label: React$1.ReactNode;
167
- value: React$1.ReactNode;
168
- }[];
169
- /**
170
- * Fine-print capability facts rendered in one uppercase row with
171
- * square separators drawn by the card, e.g. ['Vision', '262K context'].
172
- */
173
- meta?: React$1.ReactNode[];
174
- /** Link target for the whole card. */
175
- href: string;
176
- /** Opens the link in a new tab (adds `target`/`rel`). */
177
- external?: boolean;
178
- /** Extra content rendered at the bottom of the card. */
179
- children?: React$1.ReactNode;
180
- }
181
- declare const ModelCard: React$1.ForwardRefExoticComponent<Omit<ModelCardProps, "ref"> & React$1.RefAttributes<HTMLAnchorElement>>;
182
-
183
- declare function AlertTitle({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
184
- declare function AlertDescription({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
185
-
186
- declare const alertVariants: (props?: ({
187
- variant?: "default" | "destructive" | "info" | "success" | "warning" | null | undefined;
188
- } & class_variance_authority_types.ClassProp) | undefined) => string;
189
- interface AlertProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof alertVariants> {
190
- }
191
- declare const Alert: React$1.ForwardRefExoticComponent<AlertProps & React$1.RefAttributes<HTMLDivElement>>;
192
- type AlertTitleProps = React$1.HTMLAttributes<HTMLHeadingElement>;
193
- type AlertDescriptionProps = React$1.HTMLAttributes<HTMLParagraphElement>;
194
-
195
- type SkeletonProps = React$1.ComponentProps<'div'>;
196
- declare const Skeleton: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
197
-
198
- declare function Progress$1({ className, children, value, ...props }: Progress$2.Root.Props): react_jsx_runtime.JSX.Element;
199
- declare function ProgressTrack({ className, ...props }: Progress$2.Track.Props): react_jsx_runtime.JSX.Element;
200
- declare function ProgressIndicator({ className, ...props }: Progress$2.Indicator.Props): react_jsx_runtime.JSX.Element;
201
- declare function ProgressLabel({ className, ...props }: Progress$2.Label.Props): react_jsx_runtime.JSX.Element;
202
- declare function ProgressValue({ className, ...props }: Progress$2.Value.Props): react_jsx_runtime.JSX.Element;
203
-
204
- type ProgressProps = React$1.ComponentProps<typeof Progress$1>;
205
- declare const Progress: React$1.ForwardRefExoticComponent<Omit<_base_ui_react.ProgressRootProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
206
-
207
- declare const Dialog: <Payload>(props: Dialog$1.Root.Props<Payload>) => React$1.JSX.Element;
208
- type DialogTriggerProps = Omit<Dialog$1.Trigger.Props, 'className' | 'render'> & {
209
- className?: string;
210
- /** Render as a different element/component. Replaces the Radix `asChild` prop. */
211
- asChild?: boolean;
212
- };
213
- declare const DialogTrigger: React$1.ForwardRefExoticComponent<Omit<DialogTriggerProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
214
- declare const DialogPortal: React$1.ForwardRefExoticComponent<Omit<_base_ui_react.AlertDialogPortalProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
215
- declare const DialogClose: React$1.ForwardRefExoticComponent<Omit<_base_ui_react.AlertDialogCloseProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
216
- declare const DialogOverlay: React$1.ForwardRefExoticComponent<Omit<Omit<_base_ui_react.AlertDialogBackdropProps, "className"> & {
217
- className?: string;
218
- }, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
219
- declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<Omit<_base_ui_react.AlertDialogPopupProps, "className"> & {
220
- className?: string;
221
- }, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
222
- declare const DialogHeader: {
223
- ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
224
- displayName: string;
225
- };
226
- declare const DialogFooter: {
227
- ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
228
- displayName: string;
229
- };
230
- declare const DialogTitle: React$1.ForwardRefExoticComponent<Omit<Omit<_base_ui_react.AlertDialogTitleProps, "className"> & {
231
- className?: string;
232
- }, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
233
- declare const DialogDescription: React$1.ForwardRefExoticComponent<Omit<Omit<_base_ui_react.AlertDialogDescriptionProps, "className"> & {
234
- className?: string;
235
- }, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
236
-
237
- declare const AlertDialog: typeof AlertDialog$1.Root;
238
- type AlertDialogTriggerProps = Omit<AlertDialog$1.Trigger.Props, 'className' | 'render'> & {
239
- className?: string;
240
- /** Render as a different element/component. Replaces the Radix `asChild` prop. */
241
- asChild?: boolean;
242
- };
243
- declare const AlertDialogTrigger: React$1.ForwardRefExoticComponent<Omit<AlertDialogTriggerProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
244
- declare const AlertDialogPortal: React$1.ForwardRefExoticComponent<Omit<_base_ui_react.AlertDialogPortalProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
245
- declare const AlertDialogOverlay: React$1.ForwardRefExoticComponent<Omit<Omit<_base_ui_react.AlertDialogBackdropProps, "className"> & {
246
- className?: string;
247
- }, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
248
- declare const AlertDialogContent: React$1.ForwardRefExoticComponent<Omit<Omit<_base_ui_react.AlertDialogPopupProps, "className"> & {
249
- className?: string;
250
- }, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
251
- declare const AlertDialogHeader: {
252
- ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
253
- displayName: string;
254
- };
255
- declare const AlertDialogFooter: {
256
- ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
257
- displayName: string;
258
- };
259
- declare const AlertDialogTitle: React$1.ForwardRefExoticComponent<Omit<Omit<_base_ui_react.AlertDialogTitleProps, "className"> & {
260
- className?: string;
261
- }, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
262
- declare const AlertDialogDescription: React$1.ForwardRefExoticComponent<Omit<Omit<_base_ui_react.AlertDialogDescriptionProps, "className"> & {
263
- className?: string;
264
- }, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
265
- /** Action button — compose with `<Button>` via `asChild` for consistent styling. */
266
- declare const AlertDialogAction: React$1.ForwardRefExoticComponent<Omit<Omit<_base_ui_react.AlertDialogCloseProps, "className" | "render"> & {
267
- className?: string;
268
- /** Render as a different element/component. Replaces the Radix `asChild` prop. */
269
- asChild?: boolean;
270
- }, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
271
- /** Cancel button — composes with `<Button>` via `asChild`. Includes `mt-2 sm:mt-0` for footer spacing. */
272
- declare const AlertDialogCancel: React$1.ForwardRefExoticComponent<Omit<Omit<_base_ui_react.AlertDialogCloseProps, "className" | "render"> & {
273
- className?: string;
274
- /** Render as a different element/component. Replaces the Radix `asChild` prop. */
275
- asChild?: boolean;
276
- }, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
277
-
278
- declare function DropdownMenu({ ...props }: Menu.Root.Props): react_jsx_runtime.JSX.Element;
279
- declare function DropdownMenuPortal({ ...props }: Menu.Portal.Props): react_jsx_runtime.JSX.Element;
280
- declare function DropdownMenuTrigger$1({ ...props }: Menu.Trigger.Props): react_jsx_runtime.JSX.Element;
281
- declare function DropdownMenuGroup({ ...props }: Menu.Group.Props): react_jsx_runtime.JSX.Element;
282
- declare function DropdownMenuLabel$1({ className, inset, ...props }: Menu.GroupLabel.Props & {
283
- inset?: boolean;
284
- }): react_jsx_runtime.JSX.Element;
285
- declare function DropdownMenuItem$1({ className, inset, variant, ...props }: Menu.Item.Props & {
286
- inset?: boolean;
287
- variant?: "default" | "destructive";
288
- }): react_jsx_runtime.JSX.Element;
289
- declare function DropdownMenuSub({ ...props }: Menu.SubmenuRoot.Props): react_jsx_runtime.JSX.Element;
290
- declare function DropdownMenuSubTrigger$1({ className, inset, children, ...props }: Menu.SubmenuTrigger.Props & {
291
- inset?: boolean;
292
- }): react_jsx_runtime.JSX.Element;
293
- declare function DropdownMenuCheckboxItem$1({ className, children, checked, inset, ...props }: Menu.CheckboxItem.Props & {
294
- inset?: boolean;
295
- }): react_jsx_runtime.JSX.Element;
296
- declare function DropdownMenuRadioGroup({ ...props }: Menu.RadioGroup.Props): react_jsx_runtime.JSX.Element;
297
- declare function DropdownMenuRadioItem$1({ className, children, inset, ...props }: Menu.RadioItem.Props & {
298
- inset?: boolean;
299
- }): react_jsx_runtime.JSX.Element;
300
- declare function DropdownMenuSeparator$1({ className, ...props }: Menu.Separator.Props): react_jsx_runtime.JSX.Element;
301
- declare function DropdownMenuShortcut$1({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
302
-
303
- type DropdownMenuTriggerProps = Omit<React$1.ComponentProps<typeof DropdownMenuTrigger$1>, 'className' | 'render'> & {
304
- className?: string;
305
- /** Render as a different element/component. Replaces the Radix `asChild` prop. */
306
- asChild?: boolean;
307
- };
308
- declare const DropdownMenuTrigger: React$1.ForwardRefExoticComponent<Omit<DropdownMenuTriggerProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
309
- type DropdownMenuSubTriggerProps = Omit<React$1.ComponentProps<typeof DropdownMenuSubTrigger$1>, 'className' | 'render'> & {
310
- className?: string;
311
- inset?: boolean;
312
- /** Render as a different element/component. Replaces the Radix `asChild` prop. */
313
- asChild?: boolean;
314
- };
315
- declare const DropdownMenuSubTrigger: React$1.ForwardRefExoticComponent<Omit<DropdownMenuSubTriggerProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
316
- declare const DropdownMenuSubContent: React$1.ForwardRefExoticComponent<Omit<_base_ui_react.ContextMenuPopupProps & Pick<_base_ui_react.MenuPositionerProps, "align" | "alignOffset" | "side" | "sideOffset">, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
317
- declare const DropdownMenuContent: React$1.ForwardRefExoticComponent<Omit<_base_ui_react.ContextMenuPopupProps & Pick<_base_ui_react.MenuPositionerProps, "align" | "alignOffset" | "side" | "sideOffset">, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
318
- type DropdownMenuItemProps = Omit<React$1.ComponentProps<typeof DropdownMenuItem$1>, 'className' | 'render' | 'label'> & {
319
- className?: string;
320
- inset?: boolean;
321
- /** Typeahead label. Replaces the Radix `textValue` prop. */
322
- textValue?: string;
323
- /** Render as a different element/component. Replaces the Radix `asChild` prop. */
324
- asChild?: boolean;
325
- };
326
- declare const DropdownMenuItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuItemProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
327
- type DropdownMenuCheckboxItemProps = Omit<React$1.ComponentProps<typeof DropdownMenuCheckboxItem$1>, 'className' | 'render' | 'label'> & {
328
- className?: string;
329
- /** Typeahead label. Replaces the Radix `textValue` prop. */
330
- textValue?: string;
331
- /** Render as a different element/component. Replaces the Radix `asChild` prop. */
332
- asChild?: boolean;
333
- };
334
- declare const DropdownMenuCheckboxItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuCheckboxItemProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
335
- type DropdownMenuRadioItemProps = Omit<React$1.ComponentProps<typeof DropdownMenuRadioItem$1>, 'className' | 'render' | 'label'> & {
336
- className?: string;
337
- /** Typeahead label. Replaces the Radix `textValue` prop. */
338
- textValue?: string;
339
- /** Render as a different element/component. Replaces the Radix `asChild` prop. */
340
- asChild?: boolean;
341
- };
342
- declare const DropdownMenuRadioItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuRadioItemProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
343
- type DropdownMenuLabelProps = Omit<React$1.ComponentProps<typeof DropdownMenuLabel$1>, 'className' | 'render'> & {
344
- className?: string;
345
- inset?: boolean;
346
- /** Render as a different element/component. Replaces the Radix `asChild` prop. */
347
- asChild?: boolean;
348
- };
349
- declare const DropdownMenuLabel: React$1.ForwardRefExoticComponent<Omit<DropdownMenuLabelProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
350
- type DropdownMenuSeparatorProps = Omit<React$1.ComponentProps<typeof DropdownMenuSeparator$1>, 'className'> & {
351
- className?: string;
352
- };
353
- declare const DropdownMenuSeparator: React$1.ForwardRefExoticComponent<Omit<DropdownMenuSeparatorProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
354
- type DropdownMenuShortcutProps = React$1.ComponentProps<typeof DropdownMenuShortcut$1>;
355
- declare const DropdownMenuShortcut: {
356
- ({ className, ...props }: DropdownMenuShortcutProps): react_jsx_runtime.JSX.Element;
357
- displayName: string;
358
- };
359
-
360
- declare function TooltipProvider({ delay, ...props }: Tooltip$1.Provider.Props): react_jsx_runtime.JSX.Element;
361
- declare function Tooltip({ ...props }: Tooltip$1.Root.Props): react_jsx_runtime.JSX.Element;
362
- declare function TooltipTrigger$1({ ...props }: Tooltip$1.Trigger.Props): react_jsx_runtime.JSX.Element;
363
- declare function TooltipContent$1({ className, side, sideOffset, align, alignOffset, children, ...props }: Tooltip$1.Popup.Props & Pick<Tooltip$1.Positioner.Props, "align" | "alignOffset" | "side" | "sideOffset">): react_jsx_runtime.JSX.Element;
364
-
365
- type TooltipTriggerProps = Omit<React$1.ComponentProps<typeof TooltipTrigger$1>, 'className' | 'render'> & {
366
- className?: string;
367
- /** Render as a different element/component. Replaces the Base UI `render` prop. */
368
- asChild?: boolean;
369
- };
370
- declare const TooltipTrigger: React$1.ForwardRefExoticComponent<Omit<TooltipTriggerProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
371
- type TooltipContentProps = React$1.ComponentProps<typeof TooltipContent$1>;
372
- declare const TooltipContent: React$1.ForwardRefExoticComponent<Omit<_base_ui_react.TooltipPopupProps & Pick<_base_ui_react.TooltipPositionerProps, "align" | "alignOffset" | "side" | "sideOffset">, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
373
-
374
- declare function NavigationMenuList({ className, ...props }: React.ComponentPropsWithRef<typeof NavigationMenu$1.List>): react_jsx_runtime.JSX.Element;
375
- declare function NavigationMenuItem({ className, ...props }: React.ComponentPropsWithRef<typeof NavigationMenu$1.Item>): react_jsx_runtime.JSX.Element;
376
- declare function NavigationMenuContent({ className, ...props }: NavigationMenu$1.Content.Props): react_jsx_runtime.JSX.Element;
377
- declare function NavigationMenuIndicator({ className, ...props }: React.ComponentPropsWithRef<typeof NavigationMenu$1.Icon>): react_jsx_runtime.JSX.Element;
378
-
379
- declare function NavigationMenu({ align, className, children, ...props }: NavigationMenu$1.Root.Props & Pick<NavigationMenu$1.Positioner.Props, 'align'>): react_jsx_runtime.JSX.Element;
380
- declare const navigationMenuTriggerStyle: (props?: class_variance_authority_types.ClassProp | undefined) => string;
381
- declare function NavigationMenuTrigger({ className, children, ...props }: NavigationMenu$1.Trigger.Props): react_jsx_runtime.JSX.Element;
382
- declare function NavigationMenuLink({ className, ...props }: NavigationMenu$1.Link.Props): react_jsx_runtime.JSX.Element;
383
- declare function NavigationMenuPositioner({ className, side, sideOffset, align, alignOffset, ...props }: NavigationMenu$1.Positioner.Props): react_jsx_runtime.JSX.Element;
384
-
385
- declare function Input({ className, type, ...props }: React$1.ComponentProps<"input">): react_jsx_runtime.JSX.Element;
386
-
387
- declare function Separator({ className, orientation, ...props }: Separator$1.Props): react_jsx_runtime.JSX.Element;
388
-
389
- type SidebarContextProps = {
390
- state: "expanded" | "collapsed";
391
- open: boolean;
392
- setOpen: (open: boolean) => void;
393
- openMobile: boolean;
394
- setOpenMobile: (open: boolean) => void;
395
- isMobile: boolean;
396
- toggleSidebar: () => void;
397
- };
398
- declare function useSidebar(): SidebarContextProps;
399
- declare function SidebarProvider$1({ defaultOpen, open: openProp, onOpenChange: setOpenProp, className, style, children, ...props }: React$1.ComponentProps<"div"> & {
400
- defaultOpen?: boolean;
401
- open?: boolean;
402
- onOpenChange?: (open: boolean) => void;
403
- }): react_jsx_runtime.JSX.Element;
404
- declare function Sidebar({ side, variant, collapsible, className, children, dir, ...props }: React$1.ComponentProps<"div"> & {
405
- side?: "left" | "right";
406
- variant?: "sidebar" | "floating" | "inset";
407
- collapsible?: "offcanvas" | "icon" | "none";
408
- }): react_jsx_runtime.JSX.Element;
409
- declare function SidebarTrigger({ className, onClick, ...props }: React$1.ComponentProps<typeof Button$1>): react_jsx_runtime.JSX.Element;
410
- declare function SidebarRail({ className, ...props }: React$1.ComponentProps<"button">): react_jsx_runtime.JSX.Element;
411
- declare function SidebarInset$1({ className, ...props }: React$1.ComponentProps<"main">): react_jsx_runtime.JSX.Element;
412
- declare function SidebarInput({ className, ...props }: React$1.ComponentProps<typeof Input>): react_jsx_runtime.JSX.Element;
413
- declare function SidebarHeader$1({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
414
- declare function SidebarFooter$1({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
415
- declare function SidebarSeparator({ className, ...props }: React$1.ComponentProps<typeof Separator>): react_jsx_runtime.JSX.Element;
416
- declare function SidebarContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
417
- declare function SidebarGroup$1({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
418
- declare function SidebarGroupLabel$1({ className, render, ...props }: useRender.ComponentProps<"div"> & React$1.ComponentProps<"div">): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
419
- declare function SidebarGroupAction({ className, render, ...props }: useRender.ComponentProps<"button"> & React$1.ComponentProps<"button">): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
420
- declare function SidebarGroupContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
421
- declare function SidebarMenu({ className, ...props }: React$1.ComponentProps<"ul">): react_jsx_runtime.JSX.Element;
422
- declare function SidebarMenuItem({ className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
423
- declare const sidebarMenuButtonVariants: (props?: ({
424
- variant?: "default" | "outline" | null | undefined;
425
- size?: "sm" | "lg" | "default" | null | undefined;
426
- } & class_variance_authority_types.ClassProp) | undefined) => string;
427
- declare function SidebarMenuButton$1({ render, isActive, variant, size, tooltip, className, ...props }: useRender.ComponentProps<"button"> & React$1.ComponentProps<"button"> & {
428
- isActive?: boolean;
429
- tooltip?: string | React$1.ComponentProps<typeof TooltipContent$1>;
430
- } & VariantProps<typeof sidebarMenuButtonVariants>): react_jsx_runtime.JSX.Element;
431
- declare function SidebarMenuAction({ className, render, showOnHover, ...props }: useRender.ComponentProps<"button"> & React$1.ComponentProps<"button"> & {
432
- showOnHover?: boolean;
433
- }): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
434
- declare function SidebarMenuBadge({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
435
- declare function SidebarMenuSkeleton({ className, showIcon, ...props }: React$1.ComponentProps<"div"> & {
436
- showIcon?: boolean;
437
- }): react_jsx_runtime.JSX.Element;
438
- declare function SidebarMenuSub({ className, ...props }: React$1.ComponentProps<"ul">): react_jsx_runtime.JSX.Element;
439
- declare function SidebarMenuSubItem({ className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
440
- declare function SidebarMenuSubButton$1({ render, size, isActive, className, ...props }: useRender.ComponentProps<"a"> & React$1.ComponentProps<"a"> & {
441
- size?: "sm" | "md";
442
- isActive?: boolean;
443
- }): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
444
-
445
- /** Group label, indented to line up with the menu-button icons
446
- * (group p-2 + label px-3 = same 20px as group p-2 + button px-3) and
447
- * set in small uppercase type with wide tracking. */
448
- declare function SidebarGroupLabel({ className, ...props }: React$1.ComponentProps<typeof SidebarGroupLabel$1>): react_jsx_runtime.JSX.Element;
449
- /** Provider with the Berget icon-rail width (60px = 10px gutters + 40px
450
- * buttons). Consumers can still override via `style`. */
451
- declare function SidebarProvider({ className, style, ...props }: React$1.ComponentProps<typeof SidebarProvider$1>): react_jsx_runtime.JSX.Element;
452
- /** Inset with min-w-0 so the content column can shrink below its min-content
453
- * width. Without it (flex items default to min-width:auto), wide content — a
454
- * nowrap table, a code block — makes the inset refuse to yield space: the
455
- * sidebar's gap spacer collapses and the inset (and its sticky page header)
456
- * slides under the fixed sidebar, painting over it on scroll. A scroll
457
- * wrapper on the wide child alone is not sufficient — block-level
458
- * overflow-x-auto still propagates min-content up to the flex item.
459
- * Upstream shadcn-ui/ui#11370; no-op for pages that don't overflow. */
460
- declare function SidebarInset({ className, ...props }: React$1.ComponentProps<typeof SidebarInset$1>): react_jsx_runtime.JSX.Element;
461
- /** Group with 10px horizontal gutters in icon mode (10 + 40 + 10 = 60px). */
462
- declare function SidebarGroup({ className, ...props }: React$1.ComponentProps<typeof SidebarGroup$1>): react_jsx_runtime.JSX.Element;
463
- /** Footer with a top border mirroring the sidebar header's bottom border, and
464
- * the same 10px icon-mode gutters as SidebarGroup (its menu sits outside a
465
- * group). */
466
- declare function SidebarFooter({ className, ...props }: React$1.ComponentProps<typeof SidebarFooter$1>): react_jsx_runtime.JSX.Element;
467
- /** Header without the primitive's block padding (its p-2 becomes py-0) and
468
- * with a bottom border matching the default page-header border; vertical
469
- * rhythm is consumer-controlled (e.g. a h-20 brand bar). Horizontal padding
470
- * is dropped in icon mode so rail content (logo slots etc.) can center
471
- * against the full 60px rail width. */
472
- declare function SidebarHeader({ className, ...props }: React$1.ComponentProps<typeof SidebarHeader$1>): react_jsx_runtime.JSX.Element;
473
- /** Berget brand slot for the sidebar header. Fades between the full logo
474
- * (expanded) and the symbol (collapsed icon rail).
475
- *
476
- * Implementation notes — all load-bearing:
477
- * - The symbol glides instead of popping: at pl-5 its box sits pixel-perfect
478
- * under the leading glyph of the full logo (both 35.5x32 at x=20), and its
479
- * padding-left animates to pl-3 (centered in the 60px rail) over 200ms
480
- * linear — exactly matching the sidebar width transition. The mark never
481
- * jumps: collapse fades the logotype out while the symbol glides into its
482
- * gliding position; expand reverses it.
483
- * - Both layers stay mounted: display isn't animatable, so unmounting the
484
- * symbol on expand would blink it off in one frame while the logotype is
485
- * still fading in. visibility+opacity handle hiding instead; visibility is
486
- * discretely animatable, deferring its flip until the fade completes,
487
- * and removing the hidden layer from the accessibility tree.
488
- * - The row is overflow-hidden and the logo shrink-0: when the rail narrows,
489
- * the fading full logo is clipped at the moving edge instead of being
490
- * squeezed (the SVG viewBox would otherwise scale it down).
491
- * - px-5 aligns the logo's left edge with the 20px content line of the
492
- * expanded sidebar (menu icons and group-label text both sit at 20px).
493
- * The fading full logo clips under the shrinking rail edge while fading.
494
- *
495
- * Renders its own SidebarHeader (px-0 — the row owns all horizontal padding,
496
- * so its position can't jump when the header's icon-mode padding lands).
497
- */
498
- declare function SidebarLogo(): react_jsx_runtime.JSX.Element;
499
- /** Page header for use inside <SidebarInset>. Its height (60px content + 1px)
500
- * keeps the bottom border on the same line as the sidebar header's border —
501
- * both occupy the 60-61px row, making the collapsed brand cell a 60x60
502
- * square. Compose the SidebarTrigger and a title inside. */
503
- declare function SidebarPageHeader({ className, ...props }: React$1.ComponentProps<'header'>): react_jsx_runtime.JSX.Element;
504
- type SidebarMenuButtonProps = React$1.ComponentProps<typeof SidebarMenuButton$1>;
505
- type SidebarMenuSubButtonProps = React$1.ComponentProps<typeof SidebarMenuSubButton$1>;
506
- declare function SidebarMenuButton({ className, ...props }: SidebarMenuButtonProps): react_jsx_runtime.JSX.Element;
507
- declare function SidebarMenuSubButton({ className, ...props }: SidebarMenuSubButtonProps): react_jsx_runtime.JSX.Element;
508
-
509
- declare const Table: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableElement> & React$1.RefAttributes<HTMLTableElement>>;
510
- declare const TableHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
511
- declare const TableBody: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
512
- declare const TableFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
513
- declare const TableRow: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableRowElement> & React$1.RefAttributes<HTMLTableRowElement>>;
514
- declare const TableHead: React$1.ForwardRefExoticComponent<React$1.ThHTMLAttributes<HTMLTableCellElement> & React$1.RefAttributes<HTMLTableCellElement>>;
515
- declare const TableCell: React$1.ForwardRefExoticComponent<React$1.TdHTMLAttributes<HTMLTableCellElement> & React$1.RefAttributes<HTMLTableCellElement>>;
516
- declare const TableCaption: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableCaptionElement> & React$1.RefAttributes<HTMLTableCaptionElement>>;
517
-
518
- declare function ItemGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
519
- declare const itemVariants: (props?: ({
520
- variant?: "default" | "outline" | "muted" | null | undefined;
521
- size?: "sm" | "default" | "xs" | null | undefined;
522
- } & class_variance_authority_types.ClassProp) | undefined) => string;
523
- declare function Item$1({ className, variant, size, render, ...props }: useRender.ComponentProps<"div"> & VariantProps<typeof itemVariants>): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
524
- declare function ItemContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
525
- declare function ItemActions({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
526
- declare function ItemHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
527
- declare function ItemFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
528
-
529
- interface ItemProps extends React$1.ComponentProps<typeof Item$1> {
530
- variant?: VariantProps<typeof Item$1>['variant'];
531
- size?: VariantProps<typeof Item$1>['size'];
532
- /** Render as a different element/component. Replaces the Radix `asChild` prop. */
533
- asChild?: boolean;
534
- }
535
- declare function Item({ className, asChild, children, ...props }: ItemProps): react_jsx_runtime.JSX.Element;
536
-
537
- /** ItemMedia — override icon background. */
538
- declare const ItemMedia: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
539
- variant?: "default" | "icon" | "image" | null | undefined;
540
- } & class_variance_authority_types.ClassProp) | undefined) => string>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
541
- /** ItemTitle — override to use semantic foreground. */
542
- declare const ItemTitle: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
543
- /** ItemDescription — override muted text colour. */
544
- declare const ItemDescription: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLParagraphElement> & React$1.HTMLAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
545
- /** ItemSeparator — override colour. */
546
- declare const ItemSeparator: React$1.ForwardRefExoticComponent<Omit<_base_ui_react.SeparatorProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
547
-
548
- declare function Empty$1({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
549
- declare function EmptyHeader({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
550
- declare function EmptyContent({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
551
-
552
- type EmptyProps = React$1.ComponentProps<typeof Empty$1>;
553
- /** Empty — pass-through; the primitive contains no Berget-incompatible styling. */
554
- declare function Empty({ className, ...props }: EmptyProps): react_jsx_runtime.JSX.Element;
555
-
556
- /** EmptyMedia — override icon-variant background/foreground with Berget tokens. */
557
- declare const EmptyMedia: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & class_variance_authority.VariantProps<(props?: ({
558
- variant?: "default" | "icon" | null | undefined;
559
- } & class_variance_authority_types.ClassProp) | undefined) => string>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
560
- /** EmptyTitle — explicit semantic foreground + larger size (primitive defaults to text-sm). */
561
- declare const EmptyTitle: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
562
- /** EmptyDescription — override muted text colour. */
563
- declare const EmptyDescription: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLParagraphElement> & React$1.HTMLAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
564
-
565
- type SearchInputProps = React$1.ComponentProps<'input'>;
566
- declare const SearchInput: {
567
- ({ type, placeholder, className, ref, ...props }: SearchInputProps): react_jsx_runtime.JSX.Element;
568
- displayName: string;
569
- };
570
-
571
- declare const checkboxVariants: (props?: ({
572
- variant?: "default" | "error" | "success" | null | undefined;
573
- size?: "sm" | "lg" | "default" | null | undefined;
574
- } & class_variance_authority_types.ClassProp) | undefined) => string;
575
- interface CheckboxProps extends Omit<React$1.ComponentPropsWithoutRef<typeof Checkbox$1.Root>, 'className'>, VariantProps<typeof checkboxVariants> {
576
- label?: string;
577
- description?: string;
578
- error?: string;
579
- className?: string;
580
- }
581
- declare const Checkbox: React$1.ForwardRefExoticComponent<CheckboxProps & React$1.RefAttributes<HTMLElement>>;
582
-
583
- declare const switchRootVariants: (props?: ({
584
- variant?: "default" | "primary" | "subtle" | null | undefined;
585
- size?: "sm" | "lg" | "default" | null | undefined;
586
- } & class_variance_authority_types.ClassProp) | undefined) => string;
587
- declare const switchThumbVariants: (props?: ({
588
- size?: "sm" | "lg" | "default" | null | undefined;
589
- } & class_variance_authority_types.ClassProp) | undefined) => string;
590
- interface SwitchProps extends Omit<Switch$1.Root.Props, 'className'>, VariantProps<typeof switchRootVariants> {
591
- label?: string;
592
- description?: string;
593
- error?: string;
594
- className?: string;
595
- }
596
- declare const Switch: React$1.ForwardRefExoticComponent<Omit<SwitchProps, "ref"> & React$1.RefAttributes<HTMLElement>>;
597
-
598
- declare const Select: typeof Select$1.Root;
599
- declare function SelectGroup({ className, ...props }: Select$1.Group.Props): react_jsx_runtime.JSX.Element;
600
- declare function SelectValue({ className, ...props }: Select$1.Value.Props): react_jsx_runtime.JSX.Element;
601
- declare function SelectTrigger({ className, size, children, ...props }: Select$1.Trigger.Props & {
602
- size?: "sm" | "default";
603
- }): react_jsx_runtime.JSX.Element;
604
- declare function SelectContent({ className, children, side, sideOffset, align, alignOffset, alignItemWithTrigger, ...props }: Select$1.Popup.Props & Pick<Select$1.Positioner.Props, "align" | "alignOffset" | "side" | "sideOffset" | "alignItemWithTrigger">): react_jsx_runtime.JSX.Element;
605
- declare function SelectLabel({ className, ...props }: Select$1.GroupLabel.Props): react_jsx_runtime.JSX.Element;
606
- declare function SelectItem({ className, children, ...props }: Select$1.Item.Props): react_jsx_runtime.JSX.Element;
607
- declare function SelectSeparator({ className, ...props }: Select$1.Separator.Props): react_jsx_runtime.JSX.Element;
608
- declare function SelectScrollUpButton({ className, ...props }: React$1.ComponentProps<typeof Select$1.ScrollUpArrow>): react_jsx_runtime.JSX.Element;
609
- declare function SelectScrollDownButton({ className, ...props }: React$1.ComponentProps<typeof Select$1.ScrollDownArrow>): react_jsx_runtime.JSX.Element;
610
-
611
- /**
612
- * List of countries supported by Odoo Fiscal Localization
613
- * Source: https://www.odoo.com/documentation/saas-15.3/applications/finance/accounting/fiscal_localizations/overview/localizations_list.html
614
- */
615
- interface Country {
616
- code: string;
617
- name: string;
618
- flag: string;
619
- }
620
- declare const COUNTRIES: Country[];
621
- declare const getCountryByCode: (code: string) => Country | undefined;
622
- declare const getCountryByName: (name: string) => Country | undefined;
623
- declare const EU_COUNTRY_CODES: readonly ["AT", "BE", "BG", "HR", "CY", "CZ", "DK", "EE", "FI", "FR", "DE", "GR", "HU", "IE", "IT", "LV", "LT", "LU", "MT", "NL", "PL", "PT", "RO", "SK", "SI", "ES", "SE"];
624
- declare const isEUCountry: (countryCode: string) => boolean;
625
-
626
- interface CountrySelectProps {
627
- value?: string | null;
628
- onValueChange?: (code: string) => void;
629
- placeholder?: string;
630
- disabled?: boolean;
631
- className?: string;
632
- align?: 'center' | 'start' | 'end';
633
- sideOffset?: number;
634
- }
635
- declare const CountrySelect: React$1.ForwardRefExoticComponent<CountrySelectProps & React$1.RefAttributes<HTMLButtonElement>>;
636
-
637
- declare function Textarea({ className, ...props }: React$1.ComponentProps<"textarea">): react_jsx_runtime.JSX.Element;
638
-
639
- declare function Label({ className, ...props }: React$1.ComponentProps<"label">): react_jsx_runtime.JSX.Element;
640
-
641
- declare function FieldSet({ className, ...props }: React.ComponentProps<"fieldset">): react_jsx_runtime.JSX.Element;
642
- declare function FieldLegend({ className, variant, ...props }: React.ComponentProps<"legend"> & {
643
- variant?: "legend" | "label";
644
- }): react_jsx_runtime.JSX.Element;
645
- declare function FieldGroup({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
646
- declare const fieldVariants: (props?: ({
647
- orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
648
- } & class_variance_authority_types.ClassProp) | undefined) => string;
649
- declare function Field({ className, orientation, ...props }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>): react_jsx_runtime.JSX.Element;
650
- declare function FieldContent({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
651
- declare function FieldLabel({ className, ...props }: React.ComponentProps<typeof Label>): react_jsx_runtime.JSX.Element;
652
- declare function FieldTitle({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
653
- declare function FieldDescription({ className, ...props }: React.ComponentProps<"p">): react_jsx_runtime.JSX.Element;
654
- declare function FieldSeparator({ children, className, ...props }: React.ComponentProps<"div"> & {
655
- children?: React.ReactNode;
656
- }): react_jsx_runtime.JSX.Element;
657
- declare function FieldError({ className, children, errors, ...props }: React.ComponentProps<"div"> & {
658
- errors?: Array<{
659
- message?: string;
660
- } | undefined>;
661
- }): react_jsx_runtime.JSX.Element | null;
662
-
663
- declare const linkVariants: (props?: ({
664
- variant?: "default" | "secondary" | "ghost" | "code" | "primary" | "muted" | null | undefined;
665
- size?: "sm" | "lg" | "default" | null | undefined;
666
- } & class_variance_authority_types.ClassProp) | undefined) => string;
667
- interface LinkProps extends React$1.AnchorHTMLAttributes<HTMLAnchorElement>, VariantProps<typeof linkVariants> {
668
- children: React$1.ReactNode;
669
- external?: boolean;
670
- icon?: React$1.ReactNode;
671
- showExternalIcon?: boolean;
672
- disabled?: boolean;
673
- }
674
- declare const Link: React$1.ForwardRefExoticComponent<LinkProps & React$1.RefAttributes<HTMLAnchorElement>>;
675
-
676
- declare const containerVariants: (props?: ({
677
- size?: "sm" | "md" | "lg" | "full" | "xl" | null | undefined;
678
- padding?: "sm" | "md" | "lg" | "none" | null | undefined;
679
- } & class_variance_authority_types.ClassProp) | undefined) => string;
680
- interface ContainerProps extends useRender.ComponentProps<'div'>, VariantProps<typeof containerVariants> {
681
- children?: React$1.ReactNode;
682
- /** Render as a different element/component. Replaces the Radix `asChild` prop. */
683
- asChild?: boolean;
684
- }
685
- declare const Container: React$1.ForwardRefExoticComponent<Omit<ContainerProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
686
-
687
- declare const gridVariants: (props?: ({
688
- align?: "end" | "start" | "center" | "stretch" | null | undefined;
689
- justify?: "end" | "start" | "center" | "between" | "around" | "evenly" | null | undefined;
690
- } & class_variance_authority_types.ClassProp) | undefined) => string;
691
- type SpacingScale$1 = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 8 | 10 | 12 | 16 | 20 | 24 | 32 | 40 | 48 | 56 | 64 | 72 | 80 | 96;
692
- type GridColsScale = 1 | 2 | 3 | 4 | 6 | 12;
693
- type GridRowsScale = 1 | 2 | 3 | 4 | 5 | 6;
694
- interface GridProps extends useRender.ComponentProps<'div'>, VariantProps<typeof gridVariants> {
695
- children?: React$1.ReactNode;
696
- cols?: GridColsScale;
697
- rows?: GridRowsScale;
698
- gap?: SpacingScale$1;
699
- gapX?: SpacingScale$1;
700
- gapY?: SpacingScale$1;
701
- /** Render as a different element/component. Replaces the Radix `asChild` prop. */
702
- asChild?: boolean;
703
- }
704
- declare const Grid: React$1.ForwardRefExoticComponent<Omit<GridProps, "ref"> & React$1.RefAttributes<HTMLElement>>;
705
-
706
- declare const boxVariants: (props?: ({
707
- direction?: "row" | "column" | "column-reverse" | "row-reverse" | null | undefined;
708
- align?: "end" | "start" | "center" | "baseline" | "stretch" | null | undefined;
709
- justify?: "end" | "start" | "center" | "between" | "around" | "evenly" | null | undefined;
710
- wrap?: "wrap" | "nowrap" | "wrap-reverse" | null | undefined;
711
- } & class_variance_authority_types.ClassProp) | undefined) => string;
712
- type SpacingScale = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 8 | 10 | 12 | 16 | 20 | 24 | 32 | 40 | 48 | 56 | 64 | 72 | 80 | 96;
713
- interface BoxProps extends useRender.ComponentProps<'div'>, VariantProps<typeof boxVariants> {
714
- children?: React$1.ReactNode;
715
- gap?: SpacingScale;
716
- /** Render as a different element/component. Replaces the Radix `asChild` prop. */
717
- asChild?: boolean;
718
- }
719
- declare const Box: React$1.ForwardRefExoticComponent<Omit<BoxProps, "ref"> & React$1.RefAttributes<HTMLElement>>;
720
-
721
- interface BergetLogoProps extends React$1.SVGAttributes<SVGSVGElement> {
722
- /** Shape variant */
723
- variant?: 'logotype' | 'symbol';
724
- /** Fill color — `auto` follows the theme via CSS variables */
725
- color?: 'white' | 'black' | 'auto';
726
- /** Size (height) in pixels */
727
- size?: number;
728
- }
729
- declare const BergetLogo: React$1.ForwardRefExoticComponent<BergetLogoProps & React$1.RefAttributes<SVGSVGElement>>;
730
-
731
- interface IconProps extends Omit<LucideProps, 'size'> {
732
- icon: LucideIcon;
733
- size: 12 | 16 | 24 | 32;
734
- className?: string;
735
- 'aria-label'?: string;
736
- 'aria-hidden'?: boolean;
737
- }
738
- declare const Icon: React$1.ForwardRefExoticComponent<Omit<IconProps, "ref"> & React$1.RefAttributes<SVGSVGElement>>;
739
-
740
- interface LanguageSelectOption {
741
- value: string;
742
- label: string;
743
- disabled?: boolean;
744
- }
745
- interface LanguageSelectProps {
746
- options: LanguageSelectOption[];
747
- value?: string;
748
- onValueChange?: (value: string) => void;
749
- className?: string;
750
- }
751
- declare const LanguageSelect: React$1.ForwardRefExoticComponent<LanguageSelectProps & React$1.RefAttributes<HTMLButtonElement>>;
752
-
753
- interface ListProps extends React$1.HTMLAttributes<HTMLDivElement> {
754
- children: React$1.ReactNode;
755
- }
756
- declare const List: React$1.ForwardRefExoticComponent<ListProps & React$1.RefAttributes<HTMLDivElement>>;
757
- interface ListItemProps extends React$1.HTMLAttributes<HTMLDivElement> {
758
- icon?: React$1.ReactNode;
759
- children: React$1.ReactNode;
760
- interactive?: boolean;
761
- }
762
- declare const ListItem: React$1.ForwardRefExoticComponent<ListItemProps & React$1.RefAttributes<HTMLDivElement>>;
763
- interface ListHeaderProps extends React$1.HTMLAttributes<HTMLDivElement> {
764
- children: React$1.ReactNode;
765
- }
766
- declare const ListHeader: React$1.ForwardRefExoticComponent<ListHeaderProps & React$1.RefAttributes<HTMLDivElement>>;
767
- interface FeatureListProps extends React$1.HTMLAttributes<HTMLUListElement> {
768
- items: string[];
769
- variant?: 'bullet' | 'checkmark';
770
- }
771
- declare const FeatureList: React$1.ForwardRefExoticComponent<FeatureListProps & React$1.RefAttributes<HTMLUListElement>>;
772
-
773
- interface CodeBlockProps {
774
- code: string;
775
- language?: string;
776
- title?: string;
777
- className?: string;
778
- }
779
- declare function CodeBlock({ code, language, title, className }: CodeBlockProps): react_jsx_runtime.JSX.Element;
780
-
781
- interface TerminalExample {
782
- title: string;
783
- description: string;
784
- commands: {
785
- command: string;
786
- output?: string[];
787
- delay?: number;
788
- }[];
789
- }
790
-
791
- interface WindowTab {
792
- id: string;
793
- label: string;
794
- }
795
- interface WindowFrameProps extends React$1.HTMLAttributes<HTMLDivElement> {
796
- /** Window title shown in the title bar when no tabs are provided */
797
- title?: string;
798
- /** Optional tabs for switching content */
799
- tabs?: WindowTab[];
800
- /** Controlled active tab ID */
801
- activeTab?: string;
802
- /** Callback when a tab is selected */
803
- onTabChange?: (tabId: string) => void;
804
- }
805
- declare const WindowFrame: React$1.ForwardRefExoticComponent<WindowFrameProps & React$1.RefAttributes<HTMLDivElement>>;
806
-
807
- /**
808
- * FogIllustration — a volumetric fog raymarcher rendered as chunky
809
- * 1-bit dither in a given palette.
810
- *
811
- * Two GPU passes: the scene is raymarched at low internal resolution
812
- * (ridged fbm ground, drifting fog volumes, air haze — the fog hides
813
- * the low resolution), then a full-resolution pass thresholds the
814
- * scene against a Bayer matrix with hash jitter: ink dots on milk,
815
- * with moss-tinted dots where fog dominates.
816
- *
817
- * The canvas fills its parent element; give the parent a size.
818
- * Pauses under prefers-reduced-motion after one frame.
819
- */
820
- type FogPalette = {
821
- /** Dark terrain and dither ink. */
822
- ink: string;
823
- /** Background the dots sit on. */
824
- milk: string;
825
- /** Tint for dots where fog dominates. */
826
- moss: string;
827
- };
828
- /** The Berget brand palette, as rendered sRGB. */
829
- declare const FOG_BRAND_PALETTE: FogPalette;
830
- interface FogIllustrationProps {
831
- /** Colors as hex strings. Unset keys fall back to the brand palette. */
832
- palette?: Partial<FogPalette>;
833
- /** Flight speed multiplier @default 1 */
834
- speed?: number;
835
- /** Additional CSS classes for the canvas element */
836
- className?: string;
837
- }
838
- declare const FogIllustration: ({ palette, speed, className }: FogIllustrationProps) => react_jsx_runtime.JSX.Element;
839
-
840
- export { Alert, AlertDescription, type AlertDescriptionProps, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, type AlertProps, AlertTitle, type AlertTitleProps, Badge, type BadgeProps, BergetLogo, type BergetLogoProps, Box, type BoxProps, type SpacingScale as BoxSpacingScale, Button, type ButtonProps, COUNTRIES, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, type CardProps, CardTitle, Checkbox, type CheckboxProps, CodeBlock, type CodeBlockProps, Container, type ContainerProps, type Country, CountrySelect, type CountrySelectProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EU_COUNTRY_CODES, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, type EmptyProps, EmptyTitle, FOG_BRAND_PALETTE, FeatureList, type FeatureListProps, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, FogIllustration, type FogIllustrationProps, type FogPalette, Grid, type GridColsScale, type GridProps, type GridRowsScale, type SpacingScale$1 as GridSpacingScale, Icon, type IconProps, Input, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, type ItemProps, ItemSeparator, ItemTitle, Label, LanguageSelect, type LanguageSelectOption, type LanguageSelectProps, Link, type LinkProps, List, ListHeader, type ListHeaderProps, ListItem, type ListItemProps, type ListProps, ModelCard, type ModelCardProps, type ModelCategory, type ModelLifecycle, ModelLogo, type ModelLogoProps, type ModelLogoProvider, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuPositioner, NavigationMenuTrigger, Progress, ProgressIndicator, ProgressLabel, type ProgressProps, ProgressTrack, ProgressValue, SearchInput, type SearchInputProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarLogo, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarPageHeader, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, type SkeletonProps, Switch, type SwitchProps, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, type TerminalExample, Textarea, type Theme, ThemeProvider, type ThemeProviderProps, ThemeToggle, type ThemeToggleProps, Tooltip, TooltipContent, type TooltipContentProps, TooltipProvider, TooltipTrigger, type TooltipTriggerProps, Typography, type TypographyProps, WindowFrame, type WindowFrameProps, type WindowTab, alertVariants, badgeVariants, boxVariants, buttonVariants, cardVariants, categoryLabels, checkboxVariants, containerVariants, getCountryByCode, getCountryByName, gridVariants, isEUCountry, linkVariants, navigationMenuTriggerStyle, switchRootVariants, switchThumbVariants, typographyVariants, useSidebar, useTheme };