@nizivo/react 0.0.0-stage → 0.2.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 (461) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +120 -2
  3. package/THIRD_PARTY_NOTICES +68 -0
  4. package/dist/_engines/react-aria/dialog.client.js +126 -0
  5. package/dist/_engines/react-aria/dom-allowlist.js +19 -0
  6. package/dist/_engines/react-aria/dom.js +31 -0
  7. package/dist/_engines/react-aria/drawer.client.js +8 -0
  8. package/dist/_engines/react-aria/file-upload.client.js +50 -0
  9. package/dist/_engines/react-aria/locale.client.js +13 -0
  10. package/dist/_engines/react-aria/menu.client.js +229 -0
  11. package/dist/_engines/react-aria/open-state.client.js +53 -0
  12. package/dist/_engines/react-aria/outside-press.client.js +61 -0
  13. package/dist/_engines/react-aria/overlay.client.js +46 -0
  14. package/dist/_engines/react-aria/popover.client.js +148 -0
  15. package/dist/_engines/react-aria/popup.client.js +153 -0
  16. package/dist/_engines/react-aria/select.client.js +180 -0
  17. package/dist/_engines/react-aria/tabs.client.js +95 -0
  18. package/dist/_engines/react-aria/toast.client.js +38 -0
  19. package/dist/_engines/react-aria/tooltip.client.js +72 -0
  20. package/dist/_internal/cx.js +11 -0
  21. package/dist/_internal/data-status.d.ts +3 -0
  22. package/dist/_internal/data-status.js +13 -0
  23. package/dist/_internal/engine-part.d.ts +1 -0
  24. package/dist/_internal/field.js +20 -0
  25. package/dist/_internal/glyphs.js +87 -0
  26. package/dist/_internal/keys.js +62 -0
  27. package/dist/_internal/modal.client.js +54 -0
  28. package/dist/_internal/nested-focus.js +33 -0
  29. package/dist/_internal/overlay.d.ts +9 -0
  30. package/dist/_virtual/_rolldown/runtime.js +13 -0
  31. package/dist/alert/alert-dismiss.client.d.ts +32 -0
  32. package/dist/alert/alert-dismiss.client.js +38 -0
  33. package/dist/alert/alert.d.ts +28 -0
  34. package/dist/alert/alert.js +44 -0
  35. package/dist/alert/index.d.ts +3 -0
  36. package/dist/alert/index.js +3 -0
  37. package/dist/app-shell/app-shell.d.ts +24 -0
  38. package/dist/app-shell/app-shell.js +56 -0
  39. package/dist/app-shell/index.d.ts +2 -0
  40. package/dist/app-shell/index.js +1 -0
  41. package/dist/augment.d.ts +13 -0
  42. package/dist/augment.js +0 -0
  43. package/dist/avatar/avatar.d.ts +96 -0
  44. package/dist/avatar/avatar.js +94 -0
  45. package/dist/avatar/index.d.ts +2 -0
  46. package/dist/avatar/index.js +1 -0
  47. package/dist/badge/badge.d.ts +19 -0
  48. package/dist/badge/badge.js +22 -0
  49. package/dist/badge/index.d.ts +2 -0
  50. package/dist/badge/index.js +1 -0
  51. package/dist/banner/banner-dismiss.client.d.ts +32 -0
  52. package/dist/banner/banner-dismiss.client.js +38 -0
  53. package/dist/banner/banner.d.ts +34 -0
  54. package/dist/banner/banner.js +47 -0
  55. package/dist/banner/index.d.ts +3 -0
  56. package/dist/banner/index.js +3 -0
  57. package/dist/breadcrumb/breadcrumb.d.ts +46 -0
  58. package/dist/breadcrumb/breadcrumb.js +46 -0
  59. package/dist/breadcrumb/breadcrumb.parts.d.ts +6 -0
  60. package/dist/breadcrumb/breadcrumb.parts.js +9 -0
  61. package/dist/breadcrumb/index.d.ts +3 -0
  62. package/dist/breadcrumb/index.js +3 -0
  63. package/dist/button/button.d.ts +55 -0
  64. package/dist/button/button.js +62 -0
  65. package/dist/button/index.d.ts +2 -0
  66. package/dist/button/index.js +1 -0
  67. package/dist/card/card.d.ts +64 -0
  68. package/dist/card/card.js +62 -0
  69. package/dist/card/card.parts.d.ts +6 -0
  70. package/dist/card/card.parts.js +14 -0
  71. package/dist/card/index.d.ts +3 -0
  72. package/dist/card/index.js +3 -0
  73. package/dist/checkbox/checkbox.client.d.ts +37 -0
  74. package/dist/checkbox/checkbox.client.js +81 -0
  75. package/dist/checkbox/index.d.ts +2 -0
  76. package/dist/checkbox/index.js +1 -0
  77. package/dist/chip-group/chip-group.client.d.ts +88 -0
  78. package/dist/chip-group/chip-group.client.js +157 -0
  79. package/dist/chip-group/index.d.ts +2 -0
  80. package/dist/chip-group/index.js +1 -0
  81. package/dist/choice-card/choice-card.client.d.ts +66 -0
  82. package/dist/choice-card/choice-card.client.js +138 -0
  83. package/dist/choice-card/index.d.ts +2 -0
  84. package/dist/choice-card/index.js +1 -0
  85. package/dist/config/config.client.d.ts +24 -0
  86. package/dist/config/config.client.js +33 -0
  87. package/dist/config/index.d.ts +2 -0
  88. package/dist/config/index.js +1 -0
  89. package/dist/container/container.d.ts +13 -0
  90. package/dist/container/container.js +16 -0
  91. package/dist/container/index.d.ts +2 -0
  92. package/dist/container/index.js +1 -0
  93. package/dist/contracts/details.d.ts +13 -0
  94. package/dist/contracts/details.js +9 -0
  95. package/dist/contracts/index.d.ts +5 -0
  96. package/dist/contracts/index.js +5 -0
  97. package/dist/contracts/merge-props.d.ts +16 -0
  98. package/dist/contracts/merge-props.js +76 -0
  99. package/dist/contracts/render.d.ts +17 -0
  100. package/dist/contracts/render.js +43 -0
  101. package/dist/contracts/state.d.ts +42 -0
  102. package/dist/contracts/state.js +42 -0
  103. package/dist/css/alert.css +2 -0
  104. package/dist/css/app-shell.css +2 -0
  105. package/dist/css/avatar.css +2 -0
  106. package/dist/css/badge.css +2 -0
  107. package/dist/css/banner.css +2 -0
  108. package/dist/css/base.css +2 -0
  109. package/dist/css/breadcrumb.css +2 -0
  110. package/dist/css/button.css +2 -0
  111. package/dist/css/card.css +2 -0
  112. package/dist/css/checkbox.css +2 -0
  113. package/dist/css/chip-group.css +2 -0
  114. package/dist/css/choice-card.css +2 -0
  115. package/dist/css/container.css +2 -0
  116. package/dist/css/delta.css +2 -0
  117. package/dist/css/dialog.css +2 -0
  118. package/dist/css/drawer.css +2 -0
  119. package/dist/css/empty-state.css +2 -0
  120. package/dist/css/field.css +2 -0
  121. package/dist/css/fieldset.css +2 -0
  122. package/dist/css/file-upload.css +2 -0
  123. package/dist/css/form.css +2 -0
  124. package/dist/css/grid.css +2 -0
  125. package/dist/css/heading.css +2 -0
  126. package/dist/css/icon-button.css +2 -0
  127. package/dist/css/image.css +2 -0
  128. package/dist/css/inline-error.css +2 -0
  129. package/dist/css/inline.css +2 -0
  130. package/dist/css/input.css +2 -0
  131. package/dist/css/kbd.css +2 -0
  132. package/dist/css/kpi-tile.css +2 -0
  133. package/dist/css/menu.css +2 -0
  134. package/dist/css/meter.css +2 -0
  135. package/dist/css/metric.css +2 -0
  136. package/dist/css/mobile-tab-bar.css +2 -0
  137. package/dist/css/mobile-top-bar.css +2 -0
  138. package/dist/css/motion.css +2 -0
  139. package/dist/css/native-select.css +2 -0
  140. package/dist/css/nav-item.css +2 -0
  141. package/dist/css/number-value.css +2 -0
  142. package/dist/css/page-header.css +2 -0
  143. package/dist/css/pagination.css +2 -0
  144. package/dist/css/password-input.css +2 -0
  145. package/dist/css/popover.css +2 -0
  146. package/dist/css/progress-bar.css +2 -0
  147. package/dist/css/progress-ring.css +2 -0
  148. package/dist/css/radio-group.css +2 -0
  149. package/dist/css/ranked-list.css +2 -0
  150. package/dist/css/search-field.css +2 -0
  151. package/dist/css/segmented-control.css +2 -0
  152. package/dist/css/select.css +2 -0
  153. package/dist/css/separator.css +2 -0
  154. package/dist/css/sidebar.css +2 -0
  155. package/dist/css/skeleton.css +2 -0
  156. package/dist/css/split.css +2 -0
  157. package/dist/css/stack.css +2 -0
  158. package/dist/css/sticky-bar.css +2 -0
  159. package/dist/css/switch.css +2 -0
  160. package/dist/css/tab-nav.css +2 -0
  161. package/dist/css/table-selection.css +2 -0
  162. package/dist/css/table.css +2 -0
  163. package/dist/css/tabs.css +2 -0
  164. package/dist/css/text.css +2 -0
  165. package/dist/css/textarea.css +2 -0
  166. package/dist/css/toast.css +2 -0
  167. package/dist/css/tooltip.css +2 -0
  168. package/dist/css/top-bar.css +2 -0
  169. package/dist/css/trend-card.css +2 -0
  170. package/dist/delta/delta.d.ts +32 -0
  171. package/dist/delta/delta.js +50 -0
  172. package/dist/delta/index.d.ts +2 -0
  173. package/dist/delta/index.js +1 -0
  174. package/dist/dialog/dialog.client.d.ts +25 -0
  175. package/dist/dialog/dialog.client.js +145 -0
  176. package/dist/dialog/dialog.contract.d.ts +97 -0
  177. package/dist/dialog/dialog.parts.d.ts +6 -0
  178. package/dist/dialog/dialog.parts.js +15 -0
  179. package/dist/dialog/index.d.ts +5 -0
  180. package/dist/dialog/index.js +3 -0
  181. package/dist/drawer/drawer.client.d.ts +25 -0
  182. package/dist/drawer/drawer.client.js +154 -0
  183. package/dist/drawer/drawer.contract.d.ts +98 -0
  184. package/dist/drawer/drawer.parts.d.ts +6 -0
  185. package/dist/drawer/drawer.parts.js +16 -0
  186. package/dist/drawer/index.d.ts +5 -0
  187. package/dist/drawer/index.js +3 -0
  188. package/dist/empty-state/empty-state.d.ts +18 -0
  189. package/dist/empty-state/empty-state.js +32 -0
  190. package/dist/empty-state/index.d.ts +2 -0
  191. package/dist/empty-state/index.js +1 -0
  192. package/dist/field/field-scope.client.d.ts +50 -0
  193. package/dist/field/field-scope.client.js +212 -0
  194. package/dist/field/field-static.d.ts +122 -0
  195. package/dist/field/field-static.js +159 -0
  196. package/dist/field/field.d.ts +5 -0
  197. package/dist/field/field.js +53 -0
  198. package/dist/field/index.d.ts +4 -0
  199. package/dist/field/index.js +4 -0
  200. package/dist/fieldset/fieldset.d.ts +36 -0
  201. package/dist/fieldset/fieldset.js +63 -0
  202. package/dist/fieldset/index.d.ts +2 -0
  203. package/dist/fieldset/index.js +1 -0
  204. package/dist/file-upload/file-upload.client.d.ts +9 -0
  205. package/dist/file-upload/file-upload.client.js +406 -0
  206. package/dist/file-upload/file-upload.contract.d.ts +112 -0
  207. package/dist/file-upload/index.d.ts +3 -0
  208. package/dist/file-upload/index.js +1 -0
  209. package/dist/file-upload/seam.d.ts +1 -0
  210. package/dist/form/form.client.d.ts +38 -0
  211. package/dist/form/form.client.js +127 -0
  212. package/dist/form/form.d.ts +36 -0
  213. package/dist/form/form.js +29 -0
  214. package/dist/form/index.d.ts +4 -0
  215. package/dist/form/index.js +4 -0
  216. package/dist/form/submit-button.client.d.ts +20 -0
  217. package/dist/form/submit-button.client.js +19 -0
  218. package/dist/grid/grid.d.ts +38 -0
  219. package/dist/grid/grid.js +28 -0
  220. package/dist/grid/index.d.ts +2 -0
  221. package/dist/grid/index.js +1 -0
  222. package/dist/heading/heading.d.ts +30 -0
  223. package/dist/heading/heading.js +26 -0
  224. package/dist/heading/index.d.ts +2 -0
  225. package/dist/heading/index.js +1 -0
  226. package/dist/i18n/format-label.d.ts +24 -0
  227. package/dist/i18n/format-label.js +19 -0
  228. package/dist/i18n/index.d.ts +2 -0
  229. package/dist/i18n/index.js +1 -0
  230. package/dist/icon-button/icon-button-static.d.ts +23 -0
  231. package/dist/icon-button/icon-button-static.js +83 -0
  232. package/dist/icon-button/icon-button.client.js +29 -0
  233. package/dist/icon-button/icon-button.contract.d.ts +89 -0
  234. package/dist/icon-button/icon-button.d.ts +5 -0
  235. package/dist/icon-button/icon-button.js +21 -0
  236. package/dist/icon-button/index.d.ts +4 -0
  237. package/dist/icon-button/index.js +3 -0
  238. package/dist/image/image.d.ts +28 -0
  239. package/dist/image/image.js +24 -0
  240. package/dist/image/index.d.ts +2 -0
  241. package/dist/image/index.js +1 -0
  242. package/dist/index.d.ts +174 -0
  243. package/dist/index.js +96 -0
  244. package/dist/inline/index.d.ts +2 -0
  245. package/dist/inline/index.js +1 -0
  246. package/dist/inline/inline.d.ts +16 -0
  247. package/dist/inline/inline.js +14 -0
  248. package/dist/inline-error/index.d.ts +2 -0
  249. package/dist/inline-error/index.js +1 -0
  250. package/dist/inline-error/inline-error.d.ts +17 -0
  251. package/dist/inline-error/inline-error.js +33 -0
  252. package/dist/input/index.d.ts +2 -0
  253. package/dist/input/index.js +1 -0
  254. package/dist/input/input.client.d.ts +39 -0
  255. package/dist/input/input.client.js +82 -0
  256. package/dist/kbd/index.d.ts +2 -0
  257. package/dist/kbd/index.js +1 -0
  258. package/dist/kbd/kbd.d.ts +19 -0
  259. package/dist/kbd/kbd.js +68 -0
  260. package/dist/kpi-tile/index.d.ts +2 -0
  261. package/dist/kpi-tile/index.js +1 -0
  262. package/dist/kpi-tile/kpi-tile.d.ts +30 -0
  263. package/dist/kpi-tile/kpi-tile.js +48 -0
  264. package/dist/locales/en-US.d.ts +77 -0
  265. package/dist/locales/en-US.js +83 -0
  266. package/dist/menu/index.d.ts +5 -0
  267. package/dist/menu/index.js +3 -0
  268. package/dist/menu/menu.client.d.ts +14 -0
  269. package/dist/menu/menu.client.js +152 -0
  270. package/dist/menu/menu.contract.d.ts +152 -0
  271. package/dist/menu/menu.parts.d.ts +6 -0
  272. package/dist/menu/menu.parts.js +17 -0
  273. package/dist/meter/index.d.ts +2 -0
  274. package/dist/meter/index.js +1 -0
  275. package/dist/meter/meter.d.ts +43 -0
  276. package/dist/meter/meter.js +59 -0
  277. package/dist/metric/index.d.ts +2 -0
  278. package/dist/metric/index.js +1 -0
  279. package/dist/metric/metric.d.ts +72 -0
  280. package/dist/metric/metric.js +116 -0
  281. package/dist/mobile-tab-bar/index.d.ts +4 -0
  282. package/dist/mobile-tab-bar/index.js +4 -0
  283. package/dist/mobile-tab-bar/mobile-tab-bar-inset.client.js +38 -0
  284. package/dist/mobile-tab-bar/mobile-tab-bar-more.client.d.ts +26 -0
  285. package/dist/mobile-tab-bar/mobile-tab-bar-more.client.js +60 -0
  286. package/dist/mobile-tab-bar/mobile-tab-bar.d.ts +39 -0
  287. package/dist/mobile-tab-bar/mobile-tab-bar.js +54 -0
  288. package/dist/mobile-tab-bar/mobile-tab-bar.parts.d.ts +6 -0
  289. package/dist/mobile-tab-bar/mobile-tab-bar.parts.js +9 -0
  290. package/dist/mobile-top-bar/index.d.ts +2 -0
  291. package/dist/mobile-top-bar/index.js +1 -0
  292. package/dist/mobile-top-bar/mobile-top-bar.d.ts +17 -0
  293. package/dist/mobile-top-bar/mobile-top-bar.js +31 -0
  294. package/dist/motion/count-up.client.d.ts +39 -0
  295. package/dist/motion/count-up.client.js +109 -0
  296. package/dist/motion/index.d.ts +2 -0
  297. package/dist/motion/index.js +1 -0
  298. package/dist/native-select/index.d.ts +2 -0
  299. package/dist/native-select/index.js +1 -0
  300. package/dist/native-select/native-select.d.ts +43 -0
  301. package/dist/native-select/native-select.js +56 -0
  302. package/dist/nav-item/index.d.ts +2 -0
  303. package/dist/nav-item/index.js +1 -0
  304. package/dist/nav-item/nav-item.d.ts +35 -0
  305. package/dist/nav-item/nav-item.js +50 -0
  306. package/dist/number-value/index.d.ts +2 -0
  307. package/dist/number-value/index.js +1 -0
  308. package/dist/number-value/number-value.d.ts +25 -0
  309. package/dist/number-value/number-value.js +26 -0
  310. package/dist/page-header/index.d.ts +2 -0
  311. package/dist/page-header/index.js +1 -0
  312. package/dist/page-header/page-header.d.ts +19 -0
  313. package/dist/page-header/page-header.js +39 -0
  314. package/dist/pagination/index.d.ts +2 -0
  315. package/dist/pagination/index.js +1 -0
  316. package/dist/pagination/pagination.d.ts +74 -0
  317. package/dist/pagination/pagination.js +136 -0
  318. package/dist/password-input/index.d.ts +2 -0
  319. package/dist/password-input/index.js +1 -0
  320. package/dist/password-input/password-input.client.d.ts +52 -0
  321. package/dist/password-input/password-input.client.js +106 -0
  322. package/dist/popover/index.d.ts +5 -0
  323. package/dist/popover/index.js +3 -0
  324. package/dist/popover/popover.client.d.ts +20 -0
  325. package/dist/popover/popover.client.js +113 -0
  326. package/dist/popover/popover.contract.d.ts +88 -0
  327. package/dist/popover/popover.parts.d.ts +6 -0
  328. package/dist/popover/popover.parts.js +13 -0
  329. package/dist/progress-bar/index.d.ts +2 -0
  330. package/dist/progress-bar/index.js +1 -0
  331. package/dist/progress-bar/progress-bar.d.ts +34 -0
  332. package/dist/progress-bar/progress-bar.js +55 -0
  333. package/dist/progress-ring/index.d.ts +2 -0
  334. package/dist/progress-ring/index.js +1 -0
  335. package/dist/progress-ring/progress-ring.d.ts +38 -0
  336. package/dist/progress-ring/progress-ring.js +67 -0
  337. package/dist/radio-group/index.d.ts +3 -0
  338. package/dist/radio-group/index.js +3 -0
  339. package/dist/radio-group/radio-group.client.d.ts +22 -0
  340. package/dist/radio-group/radio-group.client.js +70 -0
  341. package/dist/radio-group/radio-group.d.ts +28 -0
  342. package/dist/radio-group/radio-group.js +35 -0
  343. package/dist/ranked-list/index.d.ts +3 -0
  344. package/dist/ranked-list/index.js +3 -0
  345. package/dist/ranked-list/ranked-list.d.ts +85 -0
  346. package/dist/ranked-list/ranked-list.js +153 -0
  347. package/dist/ranked-list/ranked-list.parts.d.ts +6 -0
  348. package/dist/ranked-list/ranked-list.parts.js +10 -0
  349. package/dist/search-field/index.d.ts +2 -0
  350. package/dist/search-field/index.js +1 -0
  351. package/dist/search-field/search-field.client.d.ts +55 -0
  352. package/dist/search-field/search-field.client.js +136 -0
  353. package/dist/segmented-control/index.d.ts +3 -0
  354. package/dist/segmented-control/index.js +3 -0
  355. package/dist/segmented-control/segmented-control.client.d.ts +61 -0
  356. package/dist/segmented-control/segmented-control.client.js +156 -0
  357. package/dist/segmented-control/segmented-control.parts.d.ts +6 -0
  358. package/dist/segmented-control/segmented-control.parts.js +9 -0
  359. package/dist/select/index.d.ts +5 -0
  360. package/dist/select/index.js +3 -0
  361. package/dist/select/select.client.d.ts +12 -0
  362. package/dist/select/select.client.js +152 -0
  363. package/dist/select/select.contract.d.ts +119 -0
  364. package/dist/select/select.parts.d.ts +6 -0
  365. package/dist/select/select.parts.js +15 -0
  366. package/dist/separator/index.d.ts +2 -0
  367. package/dist/separator/index.js +1 -0
  368. package/dist/separator/separator.d.ts +26 -0
  369. package/dist/separator/separator.js +23 -0
  370. package/dist/sidebar/index.d.ts +4 -0
  371. package/dist/sidebar/index.js +4 -0
  372. package/dist/sidebar/sidebar-item.client.d.ts +10 -0
  373. package/dist/sidebar/sidebar-item.client.js +55 -0
  374. package/dist/sidebar/sidebar.d.ts +45 -0
  375. package/dist/sidebar/sidebar.js +62 -0
  376. package/dist/sidebar/sidebar.parts.d.ts +6 -0
  377. package/dist/sidebar/sidebar.parts.js +11 -0
  378. package/dist/skeleton/index.d.ts +2 -0
  379. package/dist/skeleton/index.js +1 -0
  380. package/dist/skeleton/skeleton.d.ts +20 -0
  381. package/dist/skeleton/skeleton.js +19 -0
  382. package/dist/split/index.d.ts +3 -0
  383. package/dist/split/index.js +3 -0
  384. package/dist/split/split.d.ts +28 -0
  385. package/dist/split/split.js +33 -0
  386. package/dist/split/split.parts.d.ts +6 -0
  387. package/dist/split/split.parts.js +10 -0
  388. package/dist/stack/index.d.ts +2 -0
  389. package/dist/stack/index.js +1 -0
  390. package/dist/stack/stack.d.ts +17 -0
  391. package/dist/stack/stack.js +14 -0
  392. package/dist/sticky-bar/index.d.ts +2 -0
  393. package/dist/sticky-bar/index.js +1 -0
  394. package/dist/sticky-bar/sticky-bar.d.ts +16 -0
  395. package/dist/sticky-bar/sticky-bar.js +26 -0
  396. package/dist/styles.css +595 -0
  397. package/dist/switch/index.d.ts +2 -0
  398. package/dist/switch/index.js +1 -0
  399. package/dist/switch/switch.client.d.ts +33 -0
  400. package/dist/switch/switch.client.js +63 -0
  401. package/dist/tab-nav/index.d.ts +3 -0
  402. package/dist/tab-nav/index.js +3 -0
  403. package/dist/tab-nav/tab-nav.d.ts +36 -0
  404. package/dist/tab-nav/tab-nav.js +47 -0
  405. package/dist/tab-nav/tab-nav.parts.d.ts +6 -0
  406. package/dist/tab-nav/tab-nav.parts.js +9 -0
  407. package/dist/table/index.d.ts +3 -0
  408. package/dist/table/index.js +3 -0
  409. package/dist/table/table.d.ts +101 -0
  410. package/dist/table/table.js +121 -0
  411. package/dist/table/table.parts.d.ts +6 -0
  412. package/dist/table/table.parts.js +18 -0
  413. package/dist/table-selection/index.d.ts +3 -0
  414. package/dist/table-selection/index.js +3 -0
  415. package/dist/table-selection/table-selection.client.d.ts +14 -0
  416. package/dist/table-selection/table-selection.client.js +84 -0
  417. package/dist/table-selection/table-selection.d.ts +34 -0
  418. package/dist/table-selection/table-selection.js +50 -0
  419. package/dist/tabs/index.d.ts +4 -0
  420. package/dist/tabs/index.js +3 -0
  421. package/dist/tabs/tabs.client.d.ts +8 -0
  422. package/dist/tabs/tabs.client.js +68 -0
  423. package/dist/tabs/tabs.contract.d.ts +89 -0
  424. package/dist/tabs/tabs.parts.d.ts +6 -0
  425. package/dist/tabs/tabs.parts.js +11 -0
  426. package/dist/text/index.d.ts +2 -0
  427. package/dist/text/index.js +1 -0
  428. package/dist/text/text.d.ts +32 -0
  429. package/dist/text/text.js +17 -0
  430. package/dist/textarea/index.d.ts +2 -0
  431. package/dist/textarea/index.js +1 -0
  432. package/dist/textarea/textarea.client.d.ts +18 -0
  433. package/dist/textarea/textarea.client.js +31 -0
  434. package/dist/theme-script/index.d.ts +2 -0
  435. package/dist/theme-script/index.js +1 -0
  436. package/dist/theme-script/theme-script.d.ts +43 -0
  437. package/dist/theme-script/theme-script.js +46 -0
  438. package/dist/toast/index.d.ts +4 -0
  439. package/dist/toast/index.js +3 -0
  440. package/dist/toast/seam.d.ts +2 -0
  441. package/dist/toast/store.d.ts +19 -0
  442. package/dist/toast/store.js +136 -0
  443. package/dist/toast/toast.contract.d.ts +56 -0
  444. package/dist/toast/toaster.client.d.ts +10 -0
  445. package/dist/toast/toaster.client.js +305 -0
  446. package/dist/tooltip/index.d.ts +5 -0
  447. package/dist/tooltip/index.js +3 -0
  448. package/dist/tooltip/tooltip.client.d.ts +12 -0
  449. package/dist/tooltip/tooltip.client.js +51 -0
  450. package/dist/tooltip/tooltip.contract.d.ts +60 -0
  451. package/dist/tooltip/tooltip.parts.d.ts +6 -0
  452. package/dist/tooltip/tooltip.parts.js +10 -0
  453. package/dist/top-bar/index.d.ts +2 -0
  454. package/dist/top-bar/index.js +1 -0
  455. package/dist/top-bar/top-bar.d.ts +17 -0
  456. package/dist/top-bar/top-bar.js +35 -0
  457. package/dist/trend-card/index.d.ts +2 -0
  458. package/dist/trend-card/index.js +1 -0
  459. package/dist/trend-card/trend-card.d.ts +34 -0
  460. package/dist/trend-card/trend-card.js +74 -0
  461. package/package.json +447 -3
@@ -0,0 +1,89 @@
1
+ import { RenderProp } from "../contracts/render.js";
2
+ import { ButtonVariant, ControlSize } from "../augment.js";
3
+ import { Align } from "../contracts/state.js";
4
+ import { TooltipSide } from "../tooltip/tooltip.contract.js";
5
+ import { ComponentPropsWithRef, ReactNode } from "react";
6
+ //#region src/icon-button/icon-button.contract.d.ts
7
+ export interface IconButtonState {
8
+ variant: ButtonVariant;
9
+ size: ControlSize;
10
+ pending: boolean;
11
+ disabled: boolean;
12
+ /** `true` or `false` for a toggle (`pressed` given); `undefined` for a plain action. */
13
+ pressed: boolean | undefined;
14
+ }
15
+ /** Where the tooltip goes and when it opens; `tooltip={{ side: 'bottom' }}`. */
16
+ export interface IconButtonTooltipOptions {
17
+ /** @default 'top' */
18
+ side?: TooltipSide;
19
+ /** @default 'center' */
20
+ align?: Align;
21
+ /** Hover delay in ms; keyboard focus opens it at once. @default 400 */
22
+ delay?: number;
23
+ }
24
+ export interface IconButtonProps extends Omit<ComponentPropsWithRef<"button">, "children" | "aria-label" | "aria-pressed"> {
25
+ /**
26
+ * The action, in words: the button's accessible name (`aria-label`) and the tooltip text. Required,
27
+ * because the glyph alone names nothing. Keep it constant for a toggle (`"Bold"`, not "Bold on");
28
+ * `pressed` carries the state. An `aria-labelledby` you pass names the button instead, and the
29
+ * tooltip still shows `label`.
30
+ */
31
+ label: string;
32
+ /** The glyph, decorative (`aria-hidden`): 16 px at `sm`, 20 px at `md`, 24 px at `lg`. */
33
+ icon: ReactNode;
34
+ /** Figma "Variant". @default 'secondary' */
35
+ variant?: ButtonVariant;
36
+ /** 32 / 40 / 48 px square. @default 'md' */
37
+ size?: ControlSize;
38
+ /**
39
+ * Makes it a toggle button: `aria-pressed` is written as given, so `false` is an unpressed toggle.
40
+ * Leave it out for a plain action.
41
+ */
42
+ pressed?: boolean;
43
+ /**
44
+ * An action is in flight: the spinner replaces the glyph, and the button stays focusable with
45
+ * `aria-disabled` and swallows clicks. The spinner turns once per `--nz-duration-spin` and stops
46
+ * under Reduced motion; an icon-only button has no room for the "Loading…" text Button shows then,
47
+ * so show the progress in words next to it when the wait is long (for example a status line).
48
+ * @default false
49
+ */
50
+ pending?: boolean;
51
+ /** Replaces the internal spinner glyph. */
52
+ pendingIndicator?: ReactNode;
53
+ /**
54
+ * Pairs the button with a Tooltip that shows `label` ("Icon-only buttons have an aria-label and a
55
+ * Tooltip", Figma). The tooltip is a client leaf; `false` renders the button with no client code
56
+ * running. Pass options to place it. Where visible text already names the action and the page
57
+ * should ship no JavaScript for the button, use `IconButtonStatic`: under Turbopack and `next dev`
58
+ * this module's import of the leaf ships the tooltip chain even with `tooltip={false}`.
59
+ * @default true
60
+ */
61
+ tooltip?: boolean | IconButtonTooltipOptions;
62
+ /**
63
+ * A keyboard shortcut shown in the tooltip after the label, with `Kbd` (`"mod+b"` is ⌘B on Apple
64
+ * platforms, Ctrl+B elsewhere). The app implements the shortcut; the button announces it through
65
+ * `aria-keyshortcuts` (`"Meta+B Control+B"`), with or without the tooltip.
66
+ */
67
+ shortcut?: string;
68
+ /** Composition, for example `render={<Link href="/settings" />}`. */
69
+ render?: RenderProp<IconButtonState>;
70
+ }
71
+ /**
72
+ * IconButtonStatic's props: IconButton's, without the tooltip. `aria-label` is always required; an
73
+ * `aria-labelledby` pointing at visible text may be added, and then names the button, with
74
+ * `aria-label` as the fallback.
75
+ */
76
+ export interface IconButtonStaticProps extends Omit<IconButtonProps, "label" | "tooltip" | "shortcut"> {
77
+ /** The action, in words: the button's accessible name. Required, because the glyph alone names nothing. */
78
+ "aria-label": string;
79
+ /** IconButtonStatic has no tooltip and no `label`: name it with `aria-label`. */
80
+ label?: never;
81
+ /** IconButtonStatic has no tooltip: use `IconButton` for one. */
82
+ tooltip?: never;
83
+ /**
84
+ * IconButtonStatic has no tooltip to show a shortcut in: pass `aria-keyshortcuts`
85
+ * (`"Meta+B Control+B"`) to announce one, or use `IconButton` with `shortcut`.
86
+ */
87
+ shortcut?: never;
88
+ }
89
+ //#endregion
@@ -0,0 +1,5 @@
1
+ import { IconButtonProps } from "./icon-button.contract.js";
2
+ import { ReactElement } from "react";
3
+ //#region src/icon-button/icon-button.d.ts
4
+ export declare function IconButton({ tooltip, shortcut, ...props }: IconButtonProps): ReactElement;
5
+ //#endregion
@@ -0,0 +1,21 @@
1
+ import { iconButtonElement, warnUnnamed } from "./icon-button-static.js";
2
+ import { ariaKeyShortcuts } from "../_internal/keys.js";
3
+ import { IconButtonTooltip } from "./icon-button.client.js";
4
+ import { jsx } from "react/jsx-runtime";
5
+ //#region src/icon-button/icon-button.tsx
6
+ function IconButton({ tooltip = true, shortcut, ...props }) {
7
+ warnUnnamed(props.label, props["aria-labelledby"]);
8
+ const keyshortcuts = shortcut === void 0 ? void 0 : ariaKeyShortcuts(shortcut);
9
+ const button = keyshortcuts === void 0 || props["aria-keyshortcuts"] !== void 0 ? props : {
10
+ ...props,
11
+ "aria-keyshortcuts": keyshortcuts
12
+ };
13
+ if (tooltip === false) return iconButtonElement(button);
14
+ return /* @__PURE__ */ jsx(IconButtonTooltip, {
15
+ ...button,
16
+ tooltip: tooltip === true ? {} : tooltip,
17
+ ...shortcut === void 0 ? {} : { shortcut }
18
+ });
19
+ }
20
+ //#endregion
21
+ export { IconButton };
@@ -0,0 +1,4 @@
1
+ import { IconButtonProps, IconButtonState, IconButtonStaticProps, IconButtonTooltipOptions } from "./icon-button.contract.js";
2
+ import { IconButton } from "./icon-button.js";
3
+ import { IconButtonStatic } from "./icon-button-static.js";
4
+ export { IconButton, type IconButtonProps, type IconButtonState, IconButtonStatic, type IconButtonStaticProps, type IconButtonTooltipOptions };
@@ -0,0 +1,3 @@
1
+ import { IconButtonStatic } from "./icon-button-static.js";
2
+ import { IconButton } from "./icon-button.js";
3
+ export { IconButton, IconButtonStatic };
@@ -0,0 +1,28 @@
1
+ import { RenderProp } from "../contracts/render.js";
2
+ import { ComponentPropsWithRef, ReactElement } from "react";
3
+ //#region src/image/image.d.ts
4
+ /** Aspect-ratio presets, emitted as `data-ratio` and cropped with `object-fit` (§14.3). */
5
+ export type ImageRatio = "1/1" | "4/5" | "3/2" | "16/9";
6
+ export interface ImageState {
7
+ ratio: ImageRatio | undefined;
8
+ priority: boolean;
9
+ }
10
+ export interface ImageProps extends Omit<ComponentPropsWithRef<"img">, "src" | "alt" | "width" | "height" | "children"> {
11
+ src: string;
12
+ /** Required. `alt=""` marks a decorative image. */
13
+ alt: string;
14
+ /** Intrinsic width in px. Required with `height`, so the box is reserved before the image loads. */
15
+ width: number;
16
+ height: number;
17
+ ratio?: ImageRatio;
18
+ /** An above-the-fold image: eager loading and `fetchpriority="high"`. @default false */
19
+ priority?: boolean;
20
+ /**
21
+ * A framework image component, for example `render={<NextImage src={hero} alt="" />}`; it receives
22
+ * every prop, including `className` and `data-slot`.
23
+ */
24
+ render?: RenderProp<ImageState>;
25
+ }
26
+ /** An `<img>` that never writes an inline `style`, so it renders under a strict CSP (§19.3). */
27
+ export declare function Image({ src, alt, width, height, ratio, priority, loading, fetchPriority, decoding, render, className, ...rest }: ImageProps): ReactElement;
28
+ //#endregion
@@ -0,0 +1,24 @@
1
+ import { cx } from "../_internal/cx.js";
2
+ import { renderElement } from "../contracts/render.js";
3
+ //#region src/image/image.tsx
4
+ /** An `<img>` that never writes an inline `style`, so it renders under a strict CSP (§19.3). */
5
+ function Image({ src, alt, width, height, ratio, priority = false, loading, fetchPriority, decoding, render, className, ...rest }) {
6
+ return renderElement("img", render, {
7
+ ratio,
8
+ priority
9
+ }, {
10
+ "data-slot": "image",
11
+ "data-ratio": ratio,
12
+ ...rest,
13
+ className: cx("nz-image", className),
14
+ src,
15
+ alt,
16
+ width,
17
+ height,
18
+ loading: priority ? "eager" : loading ?? "lazy",
19
+ fetchPriority: priority ? "high" : fetchPriority,
20
+ decoding: decoding ?? "async"
21
+ });
22
+ }
23
+ //#endregion
24
+ export { Image };
@@ -0,0 +1,2 @@
1
+ import { Image, ImageProps, ImageRatio, ImageState } from "./image.js";
2
+ export { Image, type ImageProps, type ImageRatio, type ImageState };
@@ -0,0 +1 @@
1
+ export { Image } from "./image.js";
@@ -0,0 +1,174 @@
1
+ import { Alert, AlertProps, AlertState, AlertTone } from "./alert/alert.js";
2
+ import { AlertDismiss, AlertDismissLabels, AlertDismissProps } from "./alert/alert-dismiss.client.js";
3
+ import "./alert/index.js";
4
+ import { AppShell, AppShellLabels, AppShellProps } from "./app-shell/app-shell.js";
5
+ import "./app-shell/index.js";
6
+ import { Avatar, AvatarGroup, AvatarGroupLabels, AvatarGroupProps, AvatarGroupState, AvatarProps, AvatarSize, AvatarState } from "./avatar/avatar.js";
7
+ import "./avatar/index.js";
8
+ import { Badge, BadgeProps, BadgeState, BadgeTone } from "./badge/badge.js";
9
+ import "./badge/index.js";
10
+ import { Banner, BannerProps, BannerState, BannerTone } from "./banner/banner.js";
11
+ import { BannerDismiss, BannerDismissLabels, BannerDismissProps } from "./banner/banner-dismiss.client.js";
12
+ import "./banner/index.js";
13
+ import { BreadcrumbItem, BreadcrumbItemProps, BreadcrumbItemState, BreadcrumbLabels, BreadcrumbRoot, BreadcrumbRootProps } from "./breadcrumb/breadcrumb.js";
14
+ import { breadcrumb_parts_d_exports } from "./breadcrumb/breadcrumb.parts.js";
15
+ import "./breadcrumb/index.js";
16
+ import { Button, ButtonLabels, ButtonProps, ButtonState } from "./button/button.js";
17
+ import "./button/index.js";
18
+ import { CardAction, CardActionProps, CardBody, CardBodyProps, CardDescription, CardDescriptionProps, CardElevation, CardFooter, CardFooterProps, CardHeader, CardHeaderProps, CardPadding, CardRoot, CardRootProps, CardRootState, CardTitle, CardTitleLevel, CardTitleProps, CardTone } from "./card/card.js";
19
+ import { card_parts_d_exports } from "./card/card.parts.js";
20
+ import "./card/index.js";
21
+ import { OpenReason } from "./contracts/details.js";
22
+ import { Checkbox, CheckboxChangeReason, CheckboxCheckedState, CheckboxProps, CheckboxState } from "./checkbox/checkbox.client.js";
23
+ import "./checkbox/index.js";
24
+ import { Chip, ChipGroup, ChipGroupChangeReason, ChipGroupLabels, ChipGroupProps, ChipGroupState, ChipGroupValue, ChipProps, ChipState } from "./chip-group/chip-group.client.js";
25
+ import "./chip-group/index.js";
26
+ import { ChoiceCard, ChoiceCardChangeReason, ChoiceCardGroup, ChoiceCardGroupProps, ChoiceCardGroupState, ChoiceCardProps, ChoiceCardState } from "./choice-card/choice-card.client.js";
27
+ import "./choice-card/index.js";
28
+ import { DialogBodyProps, DialogCloseProps, DialogCloseState, DialogDescriptionProps, DialogFooterProps, DialogLabels, DialogPopupProps, DialogPopupState, DialogRole, DialogRootProps, DialogSize, DialogTitleLevel, DialogTitleProps, DialogTriggerProps, DialogTriggerState } from "./dialog/dialog.contract.js";
29
+ import { DialogBody, DialogClose, DialogDescription, DialogFooter, DialogPopup, DialogRoot, DialogTitle, DialogTrigger } from "./dialog/dialog.client.js";
30
+ import { dialog_parts_d_exports } from "./dialog/dialog.parts.js";
31
+ import "./dialog/index.js";
32
+ import { DrawerBodyProps, DrawerCloseProps, DrawerCloseState, DrawerDescriptionProps, DrawerFooterProps, DrawerHeaderProps, DrawerLabels, DrawerPopupProps, DrawerPopupState, DrawerRootProps, DrawerSide, DrawerTitleLevel, DrawerTitleProps, DrawerTriggerProps, DrawerTriggerState } from "./drawer/drawer.contract.js";
33
+ import { DrawerBody, DrawerClose, DrawerDescription, DrawerFooter, DrawerHeader, DrawerPopup, DrawerRoot, DrawerTitle, DrawerTrigger } from "./drawer/drawer.client.js";
34
+ import { drawer_parts_d_exports } from "./drawer/drawer.parts.js";
35
+ import "./drawer/index.js";
36
+ import { FileUploadFile, FileUploadItem, FileUploadLabels, FileUploadProps, FileUploadRejection, FileUploadRejectionReason, FileUploadStatus } from "./file-upload/file-upload.contract.js";
37
+ import { FileUpload } from "./file-upload/file-upload.client.js";
38
+ import "./file-upload/index.js";
39
+ import { Form, FormErrorValue, FormErrors, FormLabels, FormProps } from "./form/form.client.js";
40
+ import { SubmitButton, SubmitButtonProps } from "./form/submit-button.client.js";
41
+ import { FormMessage, FormMessageProps, FormMessageState, FormMessageTone } from "./form/form.js";
42
+ import "./form/index.js";
43
+ import { Metric, MetricDataProps, MetricLabels, MetricProps, MetricSize, MetricState, metricLabels } from "./metric/metric.js";
44
+ import "./metric/index.js";
45
+ import { MobileTabBarItem, MobileTabBarItemProps, MobileTabBarItemState, MobileTabBarLabels, MobileTabBarRoot, MobileTabBarRootProps } from "./mobile-tab-bar/mobile-tab-bar.js";
46
+ import { MobileTabBarMore, MobileTabBarMoreLabels, MobileTabBarMoreProps } from "./mobile-tab-bar/mobile-tab-bar-more.client.js";
47
+ import { mobile_tab_bar_parts_d_exports } from "./mobile-tab-bar/mobile-tab-bar.parts.js";
48
+ import "./mobile-tab-bar/index.js";
49
+ import { Pagination, PaginationChangeReason, PaginationLabels, PaginationLinkState, PaginationProps, PaginationSize, PaginationSlot, PaginationState } from "./pagination/pagination.js";
50
+ import "./pagination/index.js";
51
+ import { PasswordInput, PasswordInputLabels, PasswordInputProps, PasswordInputState, PasswordInputVisibleReason } from "./password-input/password-input.client.js";
52
+ import "./password-input/index.js";
53
+ import { PopoverCloseProps, PopoverCloseState, PopoverDescriptionProps, PopoverLabels, PopoverPopupProps, PopoverPopupState, PopoverRootProps, PopoverSide, PopoverTitleLevel, PopoverTitleProps, PopoverTriggerProps, PopoverTriggerState } from "./popover/popover.contract.js";
54
+ import { PopoverClose, PopoverDescription, PopoverPopup, PopoverRoot, PopoverTitle, PopoverTrigger } from "./popover/popover.client.js";
55
+ import { popover_parts_d_exports } from "./popover/popover.parts.js";
56
+ import "./popover/index.js";
57
+ import { RankedListAction, RankedListActionProps, RankedListItem, RankedListItemProps, RankedListItemState, RankedListLabels, RankedListRoot, RankedListRootProps, RankedListRootState, RankedListTitleLevel } from "./ranked-list/ranked-list.js";
58
+ import { ranked_list_parts_d_exports } from "./ranked-list/ranked-list.parts.js";
59
+ import "./ranked-list/index.js";
60
+ import { SearchField, SearchFieldLabels, SearchFieldProps, SearchFieldState } from "./search-field/search-field.client.js";
61
+ import "./search-field/index.js";
62
+ import { SidebarContent, SidebarContentProps, SidebarFooter, SidebarFooterProps, SidebarHeader, SidebarHeaderProps, SidebarLabels, SidebarRoot, SidebarRootProps } from "./sidebar/sidebar.js";
63
+ import { NavItem, NavItemProps, NavItemState } from "./nav-item/nav-item.js";
64
+ import { SidebarItem, SidebarItemProps } from "./sidebar/sidebar-item.client.js";
65
+ import { sidebar_parts_d_exports } from "./sidebar/sidebar.parts.js";
66
+ import "./sidebar/index.js";
67
+ import { TableSelection, TableSelectionProps } from "./table-selection/table-selection.client.js";
68
+ import { TableSelectAll, TableSelectAllProps, TableSelectRow, TableSelectRowProps, TableSelectionLabels } from "./table-selection/table-selection.js";
69
+ import "./table-selection/index.js";
70
+ import { Politeness, ToastAction, ToastOptions, ToastTone, ToasterLabels, ToasterProps } from "./toast/toast.contract.js";
71
+ import { Toaster } from "./toast/toaster.client.js";
72
+ import { announce, toast } from "./toast/store.js";
73
+ import "./toast/index.js";
74
+ import { Container, ContainerProps } from "./container/container.js";
75
+ import "./container/index.js";
76
+ import { Delta, DeltaProps, DeltaState, DeltaTone, DeltaTrend } from "./delta/delta.js";
77
+ import "./delta/index.js";
78
+ import { EmptyState, EmptyStateProps, EmptyStateTitleLevel } from "./empty-state/empty-state.js";
79
+ import "./empty-state/index.js";
80
+ import { FieldControlProps, FieldIds, FieldProps, FieldState, FieldStatic, FieldStaticProps, FieldStaticWiring, FieldValidateOn, FieldValidityKey } from "./field/field-static.js";
81
+ import { Field } from "./field/field.js";
82
+ import { FieldControl, FieldControlElementProps, FieldControlOptions, FieldValidatable, useFieldControl } from "./field/field-scope.client.js";
83
+ import "./field/index.js";
84
+ import { Fieldset, FieldsetProps, FieldsetState } from "./fieldset/fieldset.js";
85
+ import "./fieldset/index.js";
86
+ import { LayoutGap, Stack, StackProps, StackState } from "./stack/stack.js";
87
+ import { Grid, GridItem, GridItemProps, GridItemState, GridProps, GridResponsiveSpan, GridSpan, GridState } from "./grid/grid.js";
88
+ import "./grid/index.js";
89
+ import { Text, TextProps, TextState, TextTone, TextVariant } from "./text/text.js";
90
+ import { Heading, HeadingLevel, HeadingProps, HeadingState, HeadingVariant } from "./heading/heading.js";
91
+ import "./heading/index.js";
92
+ import { TooltipLabels, TooltipPopupProps, TooltipPopupState, TooltipRootProps, TooltipSide, TooltipTriggerProps, TooltipTriggerState } from "./tooltip/tooltip.contract.js";
93
+ import { IconButtonProps, IconButtonState, IconButtonStaticProps, IconButtonTooltipOptions } from "./icon-button/icon-button.contract.js";
94
+ import { IconButton } from "./icon-button/icon-button.js";
95
+ import { IconButtonStatic } from "./icon-button/icon-button-static.js";
96
+ import "./icon-button/index.js";
97
+ import { Image, ImageProps, ImageRatio, ImageState } from "./image/image.js";
98
+ import "./image/index.js";
99
+ import { Inline, InlineProps, InlineState } from "./inline/inline.js";
100
+ import "./inline/index.js";
101
+ import { InlineError, InlineErrorProps } from "./inline-error/inline-error.js";
102
+ import "./inline-error/index.js";
103
+ import { Input, InputProps, InputState, InputType } from "./input/input.client.js";
104
+ import "./input/index.js";
105
+ import { Kbd, KbdPlatform, KbdProps } from "./kbd/kbd.js";
106
+ import "./kbd/index.js";
107
+ import { KpiTile, KpiTileProps, KpiTileState, KpiTileTone } from "./kpi-tile/kpi-tile.js";
108
+ import "./kpi-tile/index.js";
109
+ import { MenuCheckboxItemProps, MenuCheckedReason, MenuGroupLabelProps, MenuGroupProps, MenuItemProps, MenuItemState, MenuItemTone, MenuLabels, MenuPopupProps, MenuPopupState, MenuRadioGroupProps, MenuRadioItemProps, MenuRootProps, MenuSeparatorProps, MenuSide, MenuTriggerProps, MenuTriggerState } from "./menu/menu.contract.js";
110
+ import { MenuCheckboxItem, MenuGroup, MenuGroupLabel, MenuItem, MenuPopup, MenuRadioGroup, MenuRadioItem, MenuRoot, MenuSeparator, MenuTrigger } from "./menu/menu.client.js";
111
+ import { menu_parts_d_exports } from "./menu/menu.parts.js";
112
+ import "./menu/index.js";
113
+ import { Meter, MeterProps, MeterState, MeterTone } from "./meter/meter.js";
114
+ import "./meter/index.js";
115
+ import { MobileTopBar, MobileTopBarProps } from "./mobile-top-bar/mobile-top-bar.js";
116
+ import "./mobile-top-bar/index.js";
117
+ import { CountUp, CountUpOptions, CountUpProps, CountUpState, useCountUp } from "./motion/count-up.client.js";
118
+ import "./motion/index.js";
119
+ import { NativeSelect, NativeSelectProps, NativeSelectState } from "./native-select/native-select.js";
120
+ import "./native-select/index.js";
121
+ import "./nav-item/index.js";
122
+ import { NumberValue, NumberValueProps, NumberValueState, formatNumber } from "./number-value/number-value.js";
123
+ import "./number-value/index.js";
124
+ import { PageHeader, PageHeaderProps, PageHeaderTitleLevel } from "./page-header/page-header.js";
125
+ import "./page-header/index.js";
126
+ import { ProgressBar, ProgressBarProps, ProgressBarState, ProgressBarTone } from "./progress-bar/progress-bar.js";
127
+ import "./progress-bar/index.js";
128
+ import { ProgressRing, ProgressRingProps, ProgressRingSize, ProgressRingState, ProgressRingTone } from "./progress-ring/progress-ring.js";
129
+ import "./progress-ring/index.js";
130
+ import { RadioGroup, RadioGroupChangeReason, RadioGroupProps } from "./radio-group/radio-group.js";
131
+ import { Radio, RadioProps, RadioState } from "./radio-group/radio-group.client.js";
132
+ import "./radio-group/index.js";
133
+ import { SegmentedControlChangeReason, SegmentedControlItem, SegmentedControlItemProps, SegmentedControlItemState, SegmentedControlRoot, SegmentedControlRootProps, SegmentedControlRootState } from "./segmented-control/segmented-control.client.js";
134
+ import { segmented_control_parts_d_exports } from "./segmented-control/segmented-control.parts.js";
135
+ import "./segmented-control/index.js";
136
+ import { SelectGroupLabelProps, SelectGroupProps, SelectItemProps, SelectItemState, SelectLabels, SelectPopupProps, SelectPopupState, SelectRootProps, SelectRootState, SelectSeparatorProps, SelectTriggerProps, SelectTriggerState, SelectValueProps, SelectValueReason, SelectValueState } from "./select/select.contract.js";
137
+ import { SelectGroup, SelectGroupLabel, SelectItem, SelectPopup, SelectRoot, SelectSeparator, SelectTrigger, SelectValue } from "./select/select.client.js";
138
+ import { select_parts_d_exports } from "./select/select.parts.js";
139
+ import "./select/index.js";
140
+ import { Separator, SeparatorProps, SeparatorState } from "./separator/separator.js";
141
+ import "./separator/index.js";
142
+ import { Skeleton, SkeletonProps, SkeletonShape, SkeletonState } from "./skeleton/skeleton.js";
143
+ import "./skeleton/index.js";
144
+ import { SplitAside, SplitAsideProps, SplitAsideWidth, SplitMain, SplitMainProps, SplitRoot, SplitRootProps } from "./split/split.js";
145
+ import { split_parts_d_exports } from "./split/split.parts.js";
146
+ import "./split/index.js";
147
+ import "./stack/index.js";
148
+ import { StickyBar, StickyBarProps } from "./sticky-bar/sticky-bar.js";
149
+ import "./sticky-bar/index.js";
150
+ import { Switch, SwitchChangeReason, SwitchProps, SwitchState } from "./switch/switch.client.js";
151
+ import "./switch/index.js";
152
+ import { TabNavLink, TabNavLinkProps, TabNavLinkState, TabNavRoot, TabNavRootProps } from "./tab-nav/tab-nav.js";
153
+ import { tab_nav_parts_d_exports } from "./tab-nav/tab-nav.parts.js";
154
+ import "./tab-nav/index.js";
155
+ import { TableBody, TableCaption, TableCaptionProps, TableCell, TableCellProps, TableCellState, TableContainer, TableContainerProps, TableFooter, TableHead, TableHeadProps, TableHeadState, TableHeader, TableRoot, TableRootProps, TableRow, TableRowLink, TableRowLinkProps, TableRowProps, TableRowState, TableSectionProps, TableSort, TableSortButton, TableSortButtonProps } from "./table/table.js";
156
+ import { table_parts_d_exports } from "./table/table.parts.js";
157
+ import "./table/index.js";
158
+ import { TabsActivationMode, TabsListProps, TabsListState, TabsPanelProps, TabsPanelState, TabsRootProps, TabsRootState, TabsTabProps, TabsTabState, TabsValueReason } from "./tabs/tabs.contract.js";
159
+ import { TabsList, TabsPanel, TabsRoot, TabsTab } from "./tabs/tabs.client.js";
160
+ import { tabs_parts_d_exports } from "./tabs/tabs.parts.js";
161
+ import "./tabs/index.js";
162
+ import "./text/index.js";
163
+ import { Textarea, TextareaProps } from "./textarea/textarea.client.js";
164
+ import "./textarea/index.js";
165
+ import { ThemeScript, ThemeScriptProps, themeScript } from "./theme-script/theme-script.js";
166
+ import "./theme-script/index.js";
167
+ import { TooltipPopup, TooltipRoot, TooltipTrigger } from "./tooltip/tooltip.client.js";
168
+ import { tooltip_parts_d_exports } from "./tooltip/tooltip.parts.js";
169
+ import "./tooltip/index.js";
170
+ import { TopBar, TopBarProps } from "./top-bar/top-bar.js";
171
+ import "./top-bar/index.js";
172
+ import { TrendCard, TrendCardProps, TrendCardState } from "./trend-card/trend-card.js";
173
+ import "./trend-card/index.js";
174
+ export { Alert, AlertDismiss, type AlertDismissLabels, type AlertDismissProps, type AlertProps, type AlertState, type AlertTone, AppShell, type AppShellLabels, type AppShellProps, Avatar, AvatarGroup, type AvatarGroupLabels, type AvatarGroupProps, type AvatarGroupState, type AvatarProps, type AvatarSize, type AvatarState, Badge, type BadgeProps, type BadgeState, type BadgeTone, Banner, BannerDismiss, type BannerDismissLabels, type BannerDismissProps, type BannerProps, type BannerState, type BannerTone, breadcrumb_parts_d_exports as Breadcrumb, BreadcrumbItem, type BreadcrumbItemProps, type BreadcrumbItemState, type BreadcrumbLabels, BreadcrumbRoot, type BreadcrumbRootProps, Button, type ButtonLabels, type ButtonProps, type ButtonState, card_parts_d_exports as Card, CardAction, type CardActionProps, CardBody, type CardBodyProps, CardDescription, type CardDescriptionProps, type CardElevation, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardPadding, CardRoot, type CardRootProps, type CardRootState, CardTitle, type CardTitleLevel, type CardTitleProps, type CardTone, Checkbox, type CheckboxChangeReason, type CheckboxCheckedState, type CheckboxProps, type CheckboxState, Chip, ChipGroup, type ChipGroupChangeReason, type ChipGroupLabels, type ChipGroupProps, type ChipGroupState, type ChipGroupValue, type ChipProps, type ChipState, ChoiceCard, type ChoiceCardChangeReason, ChoiceCardGroup, type ChoiceCardGroupProps, type ChoiceCardGroupState, type ChoiceCardProps, type ChoiceCardState, Container, type ContainerProps, CountUp, type CountUpOptions, type CountUpProps, type CountUpState, Delta, type DeltaProps, type DeltaState, type DeltaTone, type DeltaTrend, dialog_parts_d_exports as Dialog, DialogBody, type DialogBodyProps, DialogClose, type DialogCloseProps, type DialogCloseState, DialogDescription, type DialogDescriptionProps, DialogFooter, type DialogFooterProps, type DialogLabels, DialogPopup, type DialogPopupProps, type DialogPopupState, type DialogRole, DialogRoot, type DialogRootProps, type DialogSize, DialogTitle, type DialogTitleLevel, type DialogTitleProps, DialogTrigger, type DialogTriggerProps, type DialogTriggerState, drawer_parts_d_exports as Drawer, DrawerBody, type DrawerBodyProps, DrawerClose, type DrawerCloseProps, type DrawerCloseState, DrawerDescription, type DrawerDescriptionProps, DrawerFooter, type DrawerFooterProps, DrawerHeader, type DrawerHeaderProps, type DrawerLabels, DrawerPopup, type DrawerPopupProps, type DrawerPopupState, DrawerRoot, type DrawerRootProps, type DrawerSide, DrawerTitle, type DrawerTitleLevel, type DrawerTitleProps, DrawerTrigger, type DrawerTriggerProps, type DrawerTriggerState, EmptyState, type EmptyStateProps, type EmptyStateTitleLevel, Field, type FieldControl, type FieldControlElementProps, type FieldControlOptions, type FieldControlProps, type FieldIds, type FieldProps, type FieldState, FieldStatic, type FieldStaticProps, type FieldStaticWiring, type FieldValidatable, type FieldValidateOn, type FieldValidityKey, Fieldset, type FieldsetProps, type FieldsetState, FileUpload, type FileUploadFile, type FileUploadItem, type FileUploadLabels, type FileUploadProps, type FileUploadRejection, type FileUploadRejectionReason, type FileUploadStatus, Form, type FormErrorValue, type FormErrors, type FormLabels, FormMessage, type FormMessageProps, type FormMessageState, type FormMessageTone, type FormProps, Grid, GridItem, type GridItemProps, type GridItemState, type GridProps, type GridResponsiveSpan, type GridSpan, type GridState, Heading, type HeadingLevel, type HeadingProps, type HeadingState, type HeadingVariant, IconButton, type IconButtonProps, type IconButtonState, IconButtonStatic, type IconButtonStaticProps, type IconButtonTooltipOptions, Image, type ImageProps, type ImageRatio, type ImageState, Inline, InlineError, type InlineErrorProps, type InlineProps, type InlineState, Input, type InputProps, type InputState, type InputType, Kbd, type KbdPlatform, type KbdProps, KpiTile, type KpiTileProps, type KpiTileState, type KpiTileTone, type LayoutGap, menu_parts_d_exports as Menu, MenuCheckboxItem, type MenuCheckboxItemProps, type MenuCheckedReason, MenuGroup, MenuGroupLabel, type MenuGroupLabelProps, type MenuGroupProps, MenuItem, type MenuItemProps, type MenuItemState, type MenuItemTone, type MenuLabels, MenuPopup, type MenuPopupProps, type MenuPopupState, MenuRadioGroup, type MenuRadioGroupProps, MenuRadioItem, type MenuRadioItemProps, MenuRoot, type MenuRootProps, MenuSeparator, type MenuSeparatorProps, type MenuSide, MenuTrigger, type MenuTriggerProps, type MenuTriggerState, Meter, type MeterProps, type MeterState, type MeterTone, Metric, type MetricDataProps, type MetricLabels, type MetricProps, type MetricSize, type MetricState, mobile_tab_bar_parts_d_exports as MobileTabBar, MobileTabBarItem, type MobileTabBarItemProps, type MobileTabBarItemState, type MobileTabBarLabels, MobileTabBarMore, type MobileTabBarMoreLabels, type MobileTabBarMoreProps, MobileTabBarRoot, type MobileTabBarRootProps, MobileTopBar, type MobileTopBarProps, NativeSelect, type NativeSelectProps, type NativeSelectState, NavItem, type NavItemProps, type NavItemState, NumberValue, type NumberValueProps, type NumberValueState, type OpenReason, PageHeader, type PageHeaderProps, type PageHeaderTitleLevel, Pagination, type PaginationChangeReason, type PaginationLabels, type PaginationLinkState, type PaginationProps, type PaginationSize, type PaginationSlot, type PaginationState, PasswordInput, type PasswordInputLabels, type PasswordInputProps, type PasswordInputState, type PasswordInputVisibleReason, type Politeness, popover_parts_d_exports as Popover, PopoverClose, type PopoverCloseProps, type PopoverCloseState, PopoverDescription, type PopoverDescriptionProps, type PopoverLabels, PopoverPopup, type PopoverPopupProps, type PopoverPopupState, PopoverRoot, type PopoverRootProps, type PopoverSide, PopoverTitle, type PopoverTitleLevel, type PopoverTitleProps, PopoverTrigger, type PopoverTriggerProps, type PopoverTriggerState, ProgressBar, type ProgressBarProps, type ProgressBarState, type ProgressBarTone, ProgressRing, type ProgressRingProps, type ProgressRingSize, type ProgressRingState, type ProgressRingTone, Radio, RadioGroup, type RadioGroupChangeReason, type RadioGroupProps, type RadioProps, type RadioState, ranked_list_parts_d_exports as RankedList, RankedListAction, type RankedListActionProps, RankedListItem, type RankedListItemProps, type RankedListItemState, type RankedListLabels, RankedListRoot, type RankedListRootProps, type RankedListRootState, type RankedListTitleLevel, SearchField, type SearchFieldLabels, type SearchFieldProps, type SearchFieldState, segmented_control_parts_d_exports as SegmentedControl, type SegmentedControlChangeReason, SegmentedControlItem, type SegmentedControlItemProps, type SegmentedControlItemState, SegmentedControlRoot, type SegmentedControlRootProps, type SegmentedControlRootState, select_parts_d_exports as Select, SelectGroup, SelectGroupLabel, type SelectGroupLabelProps, type SelectGroupProps, SelectItem, type SelectItemProps, type SelectItemState, type SelectLabels, SelectPopup, type SelectPopupProps, type SelectPopupState, SelectRoot, type SelectRootProps, type SelectRootState, SelectSeparator, type SelectSeparatorProps, SelectTrigger, type SelectTriggerProps, type SelectTriggerState, SelectValue, type SelectValueProps, type SelectValueReason, type SelectValueState, Separator, type SeparatorProps, type SeparatorState, sidebar_parts_d_exports as Sidebar, SidebarContent, type SidebarContentProps, SidebarFooter, type SidebarFooterProps, SidebarHeader, type SidebarHeaderProps, SidebarItem, type SidebarItemProps, type SidebarLabels, SidebarRoot, type SidebarRootProps, Skeleton, type SkeletonProps, type SkeletonShape, type SkeletonState, split_parts_d_exports as Split, SplitAside, type SplitAsideProps, type SplitAsideWidth, SplitMain, type SplitMainProps, SplitRoot, type SplitRootProps, Stack, type StackProps, type StackState, StickyBar, type StickyBarProps, SubmitButton, type SubmitButtonProps, Switch, type SwitchChangeReason, type SwitchProps, type SwitchState, tab_nav_parts_d_exports as TabNav, TabNavLink, type TabNavLinkProps, type TabNavLinkState, TabNavRoot, type TabNavRootProps, table_parts_d_exports as Table, TableBody, TableCaption, type TableCaptionProps, TableCell, type TableCellProps, type TableCellState, TableContainer, type TableContainerProps, TableFooter, TableHead, type TableHeadProps, type TableHeadState, TableHeader, TableRoot, type TableRootProps, TableRow, TableRowLink, type TableRowLinkProps, type TableRowProps, type TableRowState, type TableSectionProps, TableSelectAll, type TableSelectAllProps, TableSelectRow, type TableSelectRowProps, TableSelection, type TableSelectionLabels, type TableSelectionProps, type TableSort, TableSortButton, type TableSortButtonProps, tabs_parts_d_exports as Tabs, type TabsActivationMode, TabsList, type TabsListProps, type TabsListState, TabsPanel, type TabsPanelProps, type TabsPanelState, TabsRoot, type TabsRootProps, type TabsRootState, TabsTab, type TabsTabProps, type TabsTabState, type TabsValueReason, Text, type TextProps, type TextState, type TextTone, type TextVariant, Textarea, type TextareaProps, ThemeScript, type ThemeScriptProps, type ToastAction, type ToastOptions, type ToastTone, Toaster, type ToasterLabels, type ToasterProps, tooltip_parts_d_exports as Tooltip, type TooltipLabels, TooltipPopup, type TooltipPopupProps, type TooltipPopupState, TooltipRoot, type TooltipRootProps, type TooltipSide, TooltipTrigger, type TooltipTriggerProps, type TooltipTriggerState, TopBar, type TopBarProps, TrendCard, type TrendCardProps, type TrendCardState, announce, formatNumber, metricLabels, themeScript, toast, useCountUp, useFieldControl };
package/dist/index.js ADDED
@@ -0,0 +1,96 @@
1
+ import { Alert } from "./alert/alert.js";
2
+ import { AlertDismiss } from "./alert/alert-dismiss.client.js";
3
+ import { AppShell } from "./app-shell/app-shell.js";
4
+ import { Avatar, AvatarGroup } from "./avatar/avatar.js";
5
+ import { Badge } from "./badge/badge.js";
6
+ import { Banner } from "./banner/banner.js";
7
+ import { BannerDismiss } from "./banner/banner-dismiss.client.js";
8
+ import { BreadcrumbItem, BreadcrumbRoot } from "./breadcrumb/breadcrumb.js";
9
+ import { breadcrumb_parts_exports } from "./breadcrumb/breadcrumb.parts.js";
10
+ import { Button } from "./button/button.js";
11
+ import { CardAction, CardBody, CardDescription, CardFooter, CardHeader, CardRoot, CardTitle } from "./card/card.js";
12
+ import { card_parts_exports } from "./card/card.parts.js";
13
+ import { InlineError } from "./inline-error/inline-error.js";
14
+ import { FieldStatic } from "./field/field-static.js";
15
+ import { useFieldControl } from "./field/field-scope.client.js";
16
+ import { Checkbox } from "./checkbox/checkbox.client.js";
17
+ import { Chip, ChipGroup } from "./chip-group/chip-group.client.js";
18
+ import { ChoiceCard, ChoiceCardGroup } from "./choice-card/choice-card.client.js";
19
+ import { Container } from "./container/container.js";
20
+ import { Delta } from "./delta/delta.js";
21
+ import { DialogBody, DialogClose, DialogDescription, DialogFooter, DialogPopup, DialogRoot, DialogTitle, DialogTrigger } from "./dialog/dialog.client.js";
22
+ import { dialog_parts_exports } from "./dialog/dialog.parts.js";
23
+ import { DrawerBody, DrawerClose, DrawerDescription, DrawerFooter, DrawerHeader, DrawerPopup, DrawerRoot, DrawerTitle, DrawerTrigger } from "./drawer/drawer.client.js";
24
+ import { drawer_parts_exports } from "./drawer/drawer.parts.js";
25
+ import { EmptyState } from "./empty-state/empty-state.js";
26
+ import { Field } from "./field/field.js";
27
+ import { Fieldset } from "./fieldset/fieldset.js";
28
+ import { IconButtonStatic } from "./icon-button/icon-button-static.js";
29
+ import { ProgressBar } from "./progress-bar/progress-bar.js";
30
+ import { FileUpload } from "./file-upload/file-upload.client.js";
31
+ import { Form } from "./form/form.client.js";
32
+ import { SubmitButton } from "./form/submit-button.client.js";
33
+ import { FormMessage } from "./form/form.js";
34
+ import { Grid, GridItem } from "./grid/grid.js";
35
+ import { Heading } from "./heading/heading.js";
36
+ import { Kbd } from "./kbd/kbd.js";
37
+ import { TooltipPopup, TooltipRoot, TooltipTrigger } from "./tooltip/tooltip.client.js";
38
+ import { IconButton } from "./icon-button/icon-button.js";
39
+ import { Image } from "./image/image.js";
40
+ import { Inline } from "./inline/inline.js";
41
+ import { Input } from "./input/input.client.js";
42
+ import { NumberValue, formatNumber } from "./number-value/number-value.js";
43
+ import { Skeleton } from "./skeleton/skeleton.js";
44
+ import { Metric, metricLabels } from "./metric/metric.js";
45
+ import { KpiTile } from "./kpi-tile/kpi-tile.js";
46
+ import { MenuCheckboxItem, MenuGroup, MenuGroupLabel, MenuItem, MenuPopup, MenuRadioGroup, MenuRadioItem, MenuRoot, MenuSeparator, MenuTrigger } from "./menu/menu.client.js";
47
+ import { menu_parts_exports } from "./menu/menu.parts.js";
48
+ import { Meter } from "./meter/meter.js";
49
+ import { MobileTabBarItem, MobileTabBarRoot } from "./mobile-tab-bar/mobile-tab-bar.js";
50
+ import { MobileTabBarMore } from "./mobile-tab-bar/mobile-tab-bar-more.client.js";
51
+ import { mobile_tab_bar_parts_exports } from "./mobile-tab-bar/mobile-tab-bar.parts.js";
52
+ import { MobileTopBar } from "./mobile-top-bar/mobile-top-bar.js";
53
+ import { CountUp, useCountUp } from "./motion/count-up.client.js";
54
+ import { NativeSelect } from "./native-select/native-select.js";
55
+ import { NavItem } from "./nav-item/nav-item.js";
56
+ import { PageHeader } from "./page-header/page-header.js";
57
+ import { Pagination } from "./pagination/pagination.js";
58
+ import { PasswordInput } from "./password-input/password-input.client.js";
59
+ import { PopoverClose, PopoverDescription, PopoverPopup, PopoverRoot, PopoverTitle, PopoverTrigger } from "./popover/popover.client.js";
60
+ import { popover_parts_exports } from "./popover/popover.parts.js";
61
+ import { ProgressRing } from "./progress-ring/progress-ring.js";
62
+ import { Radio } from "./radio-group/radio-group.client.js";
63
+ import { RadioGroup } from "./radio-group/radio-group.js";
64
+ import { RankedListAction, RankedListItem, RankedListRoot } from "./ranked-list/ranked-list.js";
65
+ import { ranked_list_parts_exports } from "./ranked-list/ranked-list.parts.js";
66
+ import { SearchField } from "./search-field/search-field.client.js";
67
+ import { SegmentedControlItem, SegmentedControlRoot } from "./segmented-control/segmented-control.client.js";
68
+ import { segmented_control_parts_exports } from "./segmented-control/segmented-control.parts.js";
69
+ import { SelectGroup, SelectGroupLabel, SelectItem, SelectPopup, SelectRoot, SelectSeparator, SelectTrigger, SelectValue } from "./select/select.client.js";
70
+ import { select_parts_exports } from "./select/select.parts.js";
71
+ import { Separator } from "./separator/separator.js";
72
+ import { SidebarContent, SidebarFooter, SidebarHeader, SidebarRoot } from "./sidebar/sidebar.js";
73
+ import { SidebarItem } from "./sidebar/sidebar-item.client.js";
74
+ import { sidebar_parts_exports } from "./sidebar/sidebar.parts.js";
75
+ import { SplitAside, SplitMain, SplitRoot } from "./split/split.js";
76
+ import { split_parts_exports } from "./split/split.parts.js";
77
+ import { Stack } from "./stack/stack.js";
78
+ import { StickyBar } from "./sticky-bar/sticky-bar.js";
79
+ import { Switch } from "./switch/switch.client.js";
80
+ import { TabNavLink, TabNavRoot } from "./tab-nav/tab-nav.js";
81
+ import { tab_nav_parts_exports } from "./tab-nav/tab-nav.parts.js";
82
+ import { TableBody, TableCaption, TableCell, TableContainer, TableFooter, TableHead, TableHeader, TableRoot, TableRow, TableRowLink, TableSortButton } from "./table/table.js";
83
+ import { table_parts_exports } from "./table/table.parts.js";
84
+ import { TableSelection } from "./table-selection/table-selection.client.js";
85
+ import { TableSelectAll, TableSelectRow } from "./table-selection/table-selection.js";
86
+ import { TabsList, TabsPanel, TabsRoot, TabsTab } from "./tabs/tabs.client.js";
87
+ import { tabs_parts_exports } from "./tabs/tabs.parts.js";
88
+ import { Text } from "./text/text.js";
89
+ import { Textarea } from "./textarea/textarea.client.js";
90
+ import { ThemeScript, themeScript } from "./theme-script/theme-script.js";
91
+ import { announce, toast } from "./toast/store.js";
92
+ import { Toaster } from "./toast/toaster.client.js";
93
+ import { tooltip_parts_exports } from "./tooltip/tooltip.parts.js";
94
+ import { TopBar } from "./top-bar/top-bar.js";
95
+ import { TrendCard } from "./trend-card/trend-card.js";
96
+ export { Alert, AlertDismiss, AppShell, Avatar, AvatarGroup, Badge, Banner, BannerDismiss, breadcrumb_parts_exports as Breadcrumb, BreadcrumbItem, BreadcrumbRoot, Button, card_parts_exports as Card, CardAction, CardBody, CardDescription, CardFooter, CardHeader, CardRoot, CardTitle, Checkbox, Chip, ChipGroup, ChoiceCard, ChoiceCardGroup, Container, CountUp, Delta, dialog_parts_exports as Dialog, DialogBody, DialogClose, DialogDescription, DialogFooter, DialogPopup, DialogRoot, DialogTitle, DialogTrigger, drawer_parts_exports as Drawer, DrawerBody, DrawerClose, DrawerDescription, DrawerFooter, DrawerHeader, DrawerPopup, DrawerRoot, DrawerTitle, DrawerTrigger, EmptyState, Field, FieldStatic, Fieldset, FileUpload, Form, FormMessage, Grid, GridItem, Heading, IconButton, IconButtonStatic, Image, Inline, InlineError, Input, Kbd, KpiTile, menu_parts_exports as Menu, MenuCheckboxItem, MenuGroup, MenuGroupLabel, MenuItem, MenuPopup, MenuRadioGroup, MenuRadioItem, MenuRoot, MenuSeparator, MenuTrigger, Meter, Metric, mobile_tab_bar_parts_exports as MobileTabBar, MobileTabBarItem, MobileTabBarMore, MobileTabBarRoot, MobileTopBar, NativeSelect, NavItem, NumberValue, PageHeader, Pagination, PasswordInput, popover_parts_exports as Popover, PopoverClose, PopoverDescription, PopoverPopup, PopoverRoot, PopoverTitle, PopoverTrigger, ProgressBar, ProgressRing, Radio, RadioGroup, ranked_list_parts_exports as RankedList, RankedListAction, RankedListItem, RankedListRoot, SearchField, segmented_control_parts_exports as SegmentedControl, SegmentedControlItem, SegmentedControlRoot, select_parts_exports as Select, SelectGroup, SelectGroupLabel, SelectItem, SelectPopup, SelectRoot, SelectSeparator, SelectTrigger, SelectValue, Separator, sidebar_parts_exports as Sidebar, SidebarContent, SidebarFooter, SidebarHeader, SidebarItem, SidebarRoot, Skeleton, split_parts_exports as Split, SplitAside, SplitMain, SplitRoot, Stack, StickyBar, SubmitButton, Switch, tab_nav_parts_exports as TabNav, TabNavLink, TabNavRoot, table_parts_exports as Table, TableBody, TableCaption, TableCell, TableContainer, TableFooter, TableHead, TableHeader, TableRoot, TableRow, TableRowLink, TableSelectAll, TableSelectRow, TableSelection, TableSortButton, tabs_parts_exports as Tabs, TabsList, TabsPanel, TabsRoot, TabsTab, Text, Textarea, ThemeScript, Toaster, tooltip_parts_exports as Tooltip, TooltipPopup, TooltipRoot, TooltipTrigger, TopBar, TrendCard, announce, formatNumber, metricLabels, themeScript, toast, useCountUp, useFieldControl };
@@ -0,0 +1,2 @@
1
+ import { Inline, InlineProps, InlineState } from "./inline.js";
2
+ export { Inline, type InlineProps, type InlineState };
@@ -0,0 +1 @@
1
+ export { Inline } from "./inline.js";
@@ -0,0 +1,16 @@
1
+ import { RenderProp } from "../contracts/render.js";
2
+ import { LayoutGap } from "../stack/stack.js";
3
+ import { ComponentPropsWithRef, ReactElement } from "react";
4
+ //#region src/inline/inline.d.ts
5
+ export interface InlineState {
6
+ gap: LayoutGap | undefined;
7
+ }
8
+ export interface InlineProps extends ComponentPropsWithRef<"div"> {
9
+ /** Space between children, on both axes when they wrap. Absent, there is none. */
10
+ gap?: LayoutGap;
11
+ /** Another element, for example `render={<ul />}` for a list. */
12
+ render?: RenderProp<InlineState>;
13
+ }
14
+ /** Children in a row, centred on the cross axis, wrapping onto new lines when they do not fit. */
15
+ export declare function Inline({ gap, render, className, ...rest }: InlineProps): ReactElement;
16
+ //#endregion
@@ -0,0 +1,14 @@
1
+ import { cx } from "../_internal/cx.js";
2
+ import { renderElement } from "../contracts/render.js";
3
+ //#region src/inline/inline.tsx
4
+ /** Children in a row, centred on the cross axis, wrapping onto new lines when they do not fit. */
5
+ function Inline({ gap, render, className, ...rest }) {
6
+ return renderElement("div", render, { gap }, {
7
+ "data-slot": "inline",
8
+ "data-gap": gap,
9
+ ...rest,
10
+ className: cx("nz-inline", className)
11
+ });
12
+ }
13
+ //#endregion
14
+ export { Inline };
@@ -0,0 +1,2 @@
1
+ import { InlineError, InlineErrorProps } from "./inline-error.js";
2
+ export { InlineError, type InlineErrorProps };
@@ -0,0 +1 @@
1
+ export { InlineError } from "./inline-error.js";
@@ -0,0 +1,17 @@
1
+ import { RenderProp } from "../contracts/render.js";
2
+ import { ComponentPropsWithRef, ReactElement, ReactNode } from "react";
3
+ //#region src/inline-error/inline-error.d.ts
4
+ export interface InlineErrorProps extends ComponentPropsWithRef<"div"> {
5
+ /**
6
+ * The error mark, decorative: the message carries the meaning, and the mark keeps the error from
7
+ * being colour-only (§15.1). Defaults to the internal `circle-x` glyph; pass your icon set's glyph
8
+ * to replace it.
9
+ */
10
+ icon?: ReactNode;
11
+ /** A recovery control after the message, for example `<Button size="sm">Retry</Button>` (§16.5). */
12
+ action?: ReactNode;
13
+ render?: RenderProp<Record<string, never>>;
14
+ }
15
+ /** One error look for fields and data widgets: icon + text, never colour alone. Not a live region. */
16
+ export declare function InlineError({ icon, action, render, className, children, ...rest }: InlineErrorProps): ReactElement;
17
+ //#endregion
@@ -0,0 +1,33 @@
1
+ import { cx } from "../_internal/cx.js";
2
+ import { renderElement } from "../contracts/render.js";
3
+ import { CircleXGlyph } from "../_internal/glyphs.js";
4
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
5
+ //#region src/inline-error/inline-error.tsx
6
+ /** One error look for fields and data widgets: icon + text, never colour alone. Not a live region. */
7
+ function InlineError({ icon, action, render, className, children, ...rest }) {
8
+ return renderElement("div", render, {}, {
9
+ "data-slot": "inline-error",
10
+ ...rest,
11
+ className: cx("nz-inline-error", className),
12
+ children: /* @__PURE__ */ jsxs(Fragment, { children: [
13
+ /* @__PURE__ */ jsx("span", {
14
+ className: "nz-inline-error-icon",
15
+ "data-slot": "inline-error-icon",
16
+ "aria-hidden": "true",
17
+ children: icon ?? /* @__PURE__ */ jsx(CircleXGlyph, {})
18
+ }),
19
+ /* @__PURE__ */ jsx("span", {
20
+ className: "nz-inline-error-message",
21
+ "data-slot": "inline-error-message",
22
+ children
23
+ }),
24
+ action != null && /* @__PURE__ */ jsx("span", {
25
+ className: "nz-inline-error-action",
26
+ "data-slot": "inline-error-action",
27
+ children: action
28
+ })
29
+ ] })
30
+ });
31
+ }
32
+ //#endregion
33
+ export { InlineError };
@@ -0,0 +1,2 @@
1
+ import { Input, InputProps, InputState, InputType } from "./input.client.js";
2
+ export { Input, type InputProps, type InputState, type InputType };
@@ -0,0 +1 @@
1
+ export { Input } from "./input.client.js";