@webority/ui-react 0.148.0 → 0.150.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 (661) hide show
  1. package/dist/canvas-kit/kit.js +699 -161649
  2. package/dist/canvas-kit/manifest.json +192 -97
  3. package/dist/canvas-kit/release.json +6 -6
  4. package/dist/components/AppAccordion.js +1 -1
  5. package/dist/components/AppAccountSwitcher.js +1 -1
  6. package/dist/components/AppActionIcon.js +1 -1
  7. package/dist/components/AppAlert.js +1 -1
  8. package/dist/components/AppAsyncBlock.js +1 -1
  9. package/dist/components/AppAuthLayout.js +1 -1
  10. package/dist/components/AppAvatar.js +1 -1
  11. package/dist/components/AppAvatarGroup.js +1 -1
  12. package/dist/components/AppBadge.js +1 -1
  13. package/dist/components/AppBanner.js +1 -1
  14. package/dist/components/AppBreadcrumbs.js +1 -1
  15. package/dist/components/AppButton.js +1 -1
  16. package/dist/components/AppCalendar.js +1 -1
  17. package/dist/components/AppCard.js +1 -1
  18. package/dist/components/AppCarousel.js +1 -1
  19. package/dist/components/AppChart.js +1 -1
  20. package/dist/components/AppChartCard.js +1 -1
  21. package/dist/components/AppCheckbox.js +1 -1
  22. package/dist/components/AppChipGroup.js +1 -1
  23. package/dist/components/AppChoiceCard.js +1 -1
  24. package/dist/components/AppChoiceChip.js +1 -1
  25. package/dist/components/AppCodeBlock.js +1 -1
  26. package/dist/components/AppCommandPalette.js +1 -1
  27. package/dist/components/AppCommentThread.js +1 -1
  28. package/dist/components/AppCompareTable.js +1 -1
  29. package/dist/components/AppConfirmDialog.js +1 -1
  30. package/dist/components/AppConsentBanner.js +1 -1
  31. package/dist/components/AppContextMenu.js +1 -1
  32. package/dist/components/AppCopyButton.js +1 -1
  33. package/dist/components/AppDashboardCell.js +1 -1
  34. package/dist/components/AppDataTable.js +1 -1
  35. package/dist/components/AppDatePicker.js +1 -1
  36. package/dist/components/AppDateRangePicker.js +1 -1
  37. package/dist/components/AppDescriptions.js +1 -1
  38. package/dist/components/AppDrawer.js +1 -1
  39. package/dist/components/AppDropZone.js +1 -1
  40. package/dist/components/AppDropdown.js +1 -1
  41. package/dist/components/AppDueDate.js +1 -1
  42. package/dist/components/AppEmptyState.js +1 -1
  43. package/dist/components/AppFileAttachment.js +1 -1
  44. package/dist/components/AppFilePicker.js +1 -1
  45. package/dist/components/AppFileTiles.js +1 -1
  46. package/dist/components/AppFileViewer.js +1 -1
  47. package/dist/components/AppFilterBar.js +1 -1
  48. package/dist/components/AppFloatingDock.js +1 -1
  49. package/dist/components/AppHoverCard.js +1 -1
  50. package/dist/components/AppIcon.js +1 -1
  51. package/dist/components/AppImagePicker.js +1 -1
  52. package/dist/components/AppInlineEdit.js +1 -1
  53. package/dist/components/AppInput.js +1 -1
  54. package/dist/components/AppKanban.js +1 -1
  55. package/dist/components/AppKbd.js +1 -1
  56. package/dist/components/AppKpiTile.js +1 -1
  57. package/dist/components/AppLeadPopup.js +1 -1
  58. package/dist/components/AppLightbox.js +1 -1
  59. package/dist/components/AppLink.js +1 -1
  60. package/dist/components/AppMarkdown.js +1 -1
  61. package/dist/components/AppMentionInput.js +1 -1
  62. package/dist/components/AppMetricStrip.js +1 -1
  63. package/dist/components/AppModal.js +1 -1
  64. package/dist/components/AppNavList.js +1 -1
  65. package/dist/components/AppNavigationMenu.js +1 -1
  66. package/dist/components/AppNotificationCenter.js +1 -1
  67. package/dist/components/AppNumberInput.js +1 -1
  68. package/dist/components/AppOnboardingChecklist.js +1 -1
  69. package/dist/components/AppOrgTree.js +1 -1
  70. package/dist/components/AppOtpInput.js +1 -1
  71. package/dist/components/AppPageHeader.js +1 -1
  72. package/dist/components/AppPhoneNumberInput.js +1 -1
  73. package/dist/components/AppPopover.js +1 -1
  74. package/dist/components/AppQrCode.js +1 -1
  75. package/dist/components/AppRadio.js +1 -1
  76. package/dist/components/AppRating.js +1 -1
  77. package/dist/components/AppRecordPager.js +1 -1
  78. package/dist/components/AppRelativeTime.js +1 -1
  79. package/dist/components/AppRepeater.js +1 -1
  80. package/dist/components/AppResizable.js +1 -1
  81. package/dist/components/AppResourceCard.js +1 -1
  82. package/dist/components/AppResult.js +1 -1
  83. package/dist/components/AppRichText.js +1 -1
  84. package/dist/components/AppRollingNumber.js +1 -1
  85. package/dist/components/AppSearch.js +1 -1
  86. package/dist/components/AppSectionLeadCapture.js +1 -1
  87. package/dist/components/AppSectionLogos.js +1 -1
  88. package/dist/components/AppSegmented.js +1 -1
  89. package/dist/components/AppSelect.js +1 -1
  90. package/dist/components/AppSeoHead.js +1 -1
  91. package/dist/components/AppShell.js +1 -1
  92. package/dist/components/AppShortcutLegend.js +1 -1
  93. package/dist/components/AppShowMore.js +1 -1
  94. package/dist/components/AppSkeleton.js +1 -1
  95. package/dist/components/AppSkeletonLines.js +1 -1
  96. package/dist/components/AppSlider.js +1 -1
  97. package/dist/components/AppSortableList.js +1 -1
  98. package/dist/components/AppSparkline.js +1 -1
  99. package/dist/components/AppSplash.js +1 -1
  100. package/dist/components/AppSplitView.js +1 -1
  101. package/dist/components/AppStatusBadge.js +1 -1
  102. package/dist/components/AppStepper.js +1 -1
  103. package/dist/components/AppSwitch.js +1 -1
  104. package/dist/components/AppTablePagination.js +1 -1
  105. package/dist/components/AppTabs.js +1 -1
  106. package/dist/components/AppTextarea.js +1 -1
  107. package/dist/components/AppThemeToggle.js +1 -1
  108. package/dist/components/AppTimePicker.js +1 -1
  109. package/dist/components/AppTimeline.js +1 -1
  110. package/dist/components/AppToast.js +1 -1
  111. package/dist/components/AppTooltip.js +1 -1
  112. package/dist/components/AppTour.js +1 -1
  113. package/dist/components/AppTreeView.js +1 -1
  114. package/dist/components/AppTruncate.js +1 -1
  115. package/dist/components/AppWhatsNew.js +1 -1
  116. package/dist/components/AppWizard.js +1 -1
  117. package/dist/components/AppWorkspaceSwitcher.js +1 -1
  118. package/dist/components/ModalIcons.js +1 -1
  119. package/dist/components/assertValidValue.js +1 -1
  120. package/dist/components/iconCatalogFull/bold/a.g.js +1 -1
  121. package/dist/components/iconCatalogFull/bold/b.g.js +1 -1
  122. package/dist/components/iconCatalogFull/bold/c.g.js +1 -1
  123. package/dist/components/iconCatalogFull/bold/d.g.js +1 -1
  124. package/dist/components/iconCatalogFull/bold/e.g.js +1 -1
  125. package/dist/components/iconCatalogFull/bold/f.g.js +1 -1
  126. package/dist/components/iconCatalogFull/bold/g.g.js +1 -1
  127. package/dist/components/iconCatalogFull/bold/h.g.js +1 -1
  128. package/dist/components/iconCatalogFull/bold/i.g.js +1 -1
  129. package/dist/components/iconCatalogFull/bold/j.g.js +1 -1
  130. package/dist/components/iconCatalogFull/bold/k.g.js +1 -1
  131. package/dist/components/iconCatalogFull/bold/l.g.js +1 -1
  132. package/dist/components/iconCatalogFull/bold/m.g.js +1 -1
  133. package/dist/components/iconCatalogFull/bold/n.g.js +1 -1
  134. package/dist/components/iconCatalogFull/bold/o.g.js +1 -1
  135. package/dist/components/iconCatalogFull/bold/p.g.js +1 -1
  136. package/dist/components/iconCatalogFull/bold/q.g.js +1 -1
  137. package/dist/components/iconCatalogFull/bold/r.g.js +1 -1
  138. package/dist/components/iconCatalogFull/bold/s.g.js +1 -1
  139. package/dist/components/iconCatalogFull/bold/t.g.js +1 -1
  140. package/dist/components/iconCatalogFull/bold/u.g.js +1 -1
  141. package/dist/components/iconCatalogFull/bold/v.g.js +1 -1
  142. package/dist/components/iconCatalogFull/bold/w.g.js +1 -1
  143. package/dist/components/iconCatalogFull/bold/x.g.js +1 -1
  144. package/dist/components/iconCatalogFull/bold/y.g.js +1 -1
  145. package/dist/components/iconCatalogFull/bold/z.g.js +1 -1
  146. package/dist/components/iconCatalogFull/broken/a.g.js +1 -1
  147. package/dist/components/iconCatalogFull/broken/b.g.js +1 -1
  148. package/dist/components/iconCatalogFull/broken/c.g.js +1 -1
  149. package/dist/components/iconCatalogFull/broken/d.g.js +1 -1
  150. package/dist/components/iconCatalogFull/broken/e.g.js +1 -1
  151. package/dist/components/iconCatalogFull/broken/f.g.js +1 -1
  152. package/dist/components/iconCatalogFull/broken/g.g.js +1 -1
  153. package/dist/components/iconCatalogFull/broken/h.g.js +1 -1
  154. package/dist/components/iconCatalogFull/broken/i.g.js +1 -1
  155. package/dist/components/iconCatalogFull/broken/j.g.js +1 -1
  156. package/dist/components/iconCatalogFull/broken/k.g.js +1 -1
  157. package/dist/components/iconCatalogFull/broken/l.g.js +1 -1
  158. package/dist/components/iconCatalogFull/broken/m.g.js +1 -1
  159. package/dist/components/iconCatalogFull/broken/n.g.js +1 -1
  160. package/dist/components/iconCatalogFull/broken/o.g.js +1 -1
  161. package/dist/components/iconCatalogFull/broken/p.g.js +1 -1
  162. package/dist/components/iconCatalogFull/broken/q.g.js +1 -1
  163. package/dist/components/iconCatalogFull/broken/r.g.js +1 -1
  164. package/dist/components/iconCatalogFull/broken/s.g.js +1 -1
  165. package/dist/components/iconCatalogFull/broken/t.g.js +1 -1
  166. package/dist/components/iconCatalogFull/broken/u.g.js +1 -1
  167. package/dist/components/iconCatalogFull/broken/v.g.js +1 -1
  168. package/dist/components/iconCatalogFull/broken/w.g.js +1 -1
  169. package/dist/components/iconCatalogFull/broken/x.g.js +1 -1
  170. package/dist/components/iconCatalogFull/broken/y.g.js +1 -1
  171. package/dist/components/iconCatalogFull/broken/z.g.js +1 -1
  172. package/dist/components/iconCatalogFull/bulk/a.g.js +1 -1
  173. package/dist/components/iconCatalogFull/bulk/b.g.js +1 -1
  174. package/dist/components/iconCatalogFull/bulk/c.g.js +1 -1
  175. package/dist/components/iconCatalogFull/bulk/d.g.js +1 -1
  176. package/dist/components/iconCatalogFull/bulk/e.g.js +1 -1
  177. package/dist/components/iconCatalogFull/bulk/f.g.js +1 -1
  178. package/dist/components/iconCatalogFull/bulk/g.g.js +1 -1
  179. package/dist/components/iconCatalogFull/bulk/h.g.js +1 -1
  180. package/dist/components/iconCatalogFull/bulk/i.g.js +1 -1
  181. package/dist/components/iconCatalogFull/bulk/j.g.js +1 -1
  182. package/dist/components/iconCatalogFull/bulk/k.g.js +1 -1
  183. package/dist/components/iconCatalogFull/bulk/l.g.js +1 -1
  184. package/dist/components/iconCatalogFull/bulk/m.g.js +1 -1
  185. package/dist/components/iconCatalogFull/bulk/n.g.js +1 -1
  186. package/dist/components/iconCatalogFull/bulk/o.g.js +1 -1
  187. package/dist/components/iconCatalogFull/bulk/p.g.js +1 -1
  188. package/dist/components/iconCatalogFull/bulk/q.g.js +1 -1
  189. package/dist/components/iconCatalogFull/bulk/r.g.js +1 -1
  190. package/dist/components/iconCatalogFull/bulk/s.g.js +1 -1
  191. package/dist/components/iconCatalogFull/bulk/t.g.js +1 -1
  192. package/dist/components/iconCatalogFull/bulk/u.g.js +1 -1
  193. package/dist/components/iconCatalogFull/bulk/v.g.js +1 -1
  194. package/dist/components/iconCatalogFull/bulk/w.g.js +1 -1
  195. package/dist/components/iconCatalogFull/bulk/x.g.js +1 -1
  196. package/dist/components/iconCatalogFull/bulk/y.g.js +1 -1
  197. package/dist/components/iconCatalogFull/bulk/z.g.js +1 -1
  198. package/dist/components/iconCatalogFull/linear/a.g.js +1 -1
  199. package/dist/components/iconCatalogFull/linear/b.g.js +1 -1
  200. package/dist/components/iconCatalogFull/linear/c.g.js +1 -1
  201. package/dist/components/iconCatalogFull/linear/d.g.js +1 -1
  202. package/dist/components/iconCatalogFull/linear/e.g.js +1 -1
  203. package/dist/components/iconCatalogFull/linear/f.g.js +1 -1
  204. package/dist/components/iconCatalogFull/linear/g.g.js +1 -1
  205. package/dist/components/iconCatalogFull/linear/h.g.js +1 -1
  206. package/dist/components/iconCatalogFull/linear/i.g.js +1 -1
  207. package/dist/components/iconCatalogFull/linear/j.g.js +1 -1
  208. package/dist/components/iconCatalogFull/linear/k.g.js +1 -1
  209. package/dist/components/iconCatalogFull/linear/l.g.js +1 -1
  210. package/dist/components/iconCatalogFull/linear/m.g.js +1 -1
  211. package/dist/components/iconCatalogFull/linear/n.g.js +1 -1
  212. package/dist/components/iconCatalogFull/linear/o.g.js +1 -1
  213. package/dist/components/iconCatalogFull/linear/p.g.js +1 -1
  214. package/dist/components/iconCatalogFull/linear/q.g.js +1 -1
  215. package/dist/components/iconCatalogFull/linear/r.g.js +1 -1
  216. package/dist/components/iconCatalogFull/linear/s.g.js +1 -1
  217. package/dist/components/iconCatalogFull/linear/t.g.js +1 -1
  218. package/dist/components/iconCatalogFull/linear/u.g.js +1 -1
  219. package/dist/components/iconCatalogFull/linear/v.g.js +1 -1
  220. package/dist/components/iconCatalogFull/linear/w.g.js +1 -1
  221. package/dist/components/iconCatalogFull/linear/x.g.js +1 -1
  222. package/dist/components/iconCatalogFull/linear/y.g.js +1 -1
  223. package/dist/components/iconCatalogFull/linear/z.g.js +1 -1
  224. package/dist/components/iconCatalogFull/outline/a.g.js +1 -1
  225. package/dist/components/iconCatalogFull/outline/b.g.js +1 -1
  226. package/dist/components/iconCatalogFull/outline/c.g.js +1 -1
  227. package/dist/components/iconCatalogFull/outline/d.g.js +1 -1
  228. package/dist/components/iconCatalogFull/outline/e.g.js +1 -1
  229. package/dist/components/iconCatalogFull/outline/f.g.js +1 -1
  230. package/dist/components/iconCatalogFull/outline/g.g.js +1 -1
  231. package/dist/components/iconCatalogFull/outline/h.g.js +1 -1
  232. package/dist/components/iconCatalogFull/outline/i.g.js +1 -1
  233. package/dist/components/iconCatalogFull/outline/j.g.js +1 -1
  234. package/dist/components/iconCatalogFull/outline/k.g.js +1 -1
  235. package/dist/components/iconCatalogFull/outline/l.g.js +1 -1
  236. package/dist/components/iconCatalogFull/outline/m.g.js +1 -1
  237. package/dist/components/iconCatalogFull/outline/n.g.js +1 -1
  238. package/dist/components/iconCatalogFull/outline/o.g.js +1 -1
  239. package/dist/components/iconCatalogFull/outline/p.g.js +1 -1
  240. package/dist/components/iconCatalogFull/outline/q.g.js +1 -1
  241. package/dist/components/iconCatalogFull/outline/r.g.js +1 -1
  242. package/dist/components/iconCatalogFull/outline/s.g.js +1 -1
  243. package/dist/components/iconCatalogFull/outline/t.g.js +1 -1
  244. package/dist/components/iconCatalogFull/outline/u.g.js +1 -1
  245. package/dist/components/iconCatalogFull/outline/v.g.js +1 -1
  246. package/dist/components/iconCatalogFull/outline/w.g.js +1 -1
  247. package/dist/components/iconCatalogFull/outline/x.g.js +1 -1
  248. package/dist/components/iconCatalogFull/outline/y.g.js +1 -1
  249. package/dist/components/iconCatalogFull/outline/z.g.js +1 -1
  250. package/dist/components/iconCatalogFull/twotone/a.g.js +1 -1
  251. package/dist/components/iconCatalogFull/twotone/b.g.js +1 -1
  252. package/dist/components/iconCatalogFull/twotone/c.g.js +1 -1
  253. package/dist/components/iconCatalogFull/twotone/d.g.js +1 -1
  254. package/dist/components/iconCatalogFull/twotone/e.g.js +1 -1
  255. package/dist/components/iconCatalogFull/twotone/f.g.js +1 -1
  256. package/dist/components/iconCatalogFull/twotone/g.g.js +1 -1
  257. package/dist/components/iconCatalogFull/twotone/h.g.js +1 -1
  258. package/dist/components/iconCatalogFull/twotone/i.g.js +1 -1
  259. package/dist/components/iconCatalogFull/twotone/j.g.js +1 -1
  260. package/dist/components/iconCatalogFull/twotone/k.g.js +1 -1
  261. package/dist/components/iconCatalogFull/twotone/l.g.js +1 -1
  262. package/dist/components/iconCatalogFull/twotone/m.g.js +1 -1
  263. package/dist/components/iconCatalogFull/twotone/n.g.js +1 -1
  264. package/dist/components/iconCatalogFull/twotone/o.g.js +1 -1
  265. package/dist/components/iconCatalogFull/twotone/p.g.js +1 -1
  266. package/dist/components/iconCatalogFull/twotone/q.g.js +1 -1
  267. package/dist/components/iconCatalogFull/twotone/r.g.js +1 -1
  268. package/dist/components/iconCatalogFull/twotone/s.g.js +1 -1
  269. package/dist/components/iconCatalogFull/twotone/t.g.js +1 -1
  270. package/dist/components/iconCatalogFull/twotone/u.g.js +1 -1
  271. package/dist/components/iconCatalogFull/twotone/v.g.js +1 -1
  272. package/dist/components/iconCatalogFull/twotone/w.g.js +1 -1
  273. package/dist/components/iconCatalogFull/twotone/x.g.js +1 -1
  274. package/dist/components/iconCatalogFull/twotone/y.g.js +1 -1
  275. package/dist/components/iconCatalogFull/twotone/z.g.js +1 -1
  276. package/dist/components/iconGlyphs.g.js +1 -1
  277. package/dist/components/iconVariants.g.js +1 -1
  278. package/dist/components/textOf.js +1 -0
  279. package/dist/components/toastStore.js +1 -1
  280. package/dist/components/useNodeLabels.js +1 -1
  281. package/dist/components/useWuiControl.js +1 -1
  282. package/dist/guidance.json +17 -14
  283. package/dist/lib/CheckField.js +1 -1
  284. package/dist/lib/FileItemRow.js +1 -1
  285. package/dist/lib/FocusPanel.js +1 -1
  286. package/dist/lib/TargetLink.js +1 -0
  287. package/dist/lib/buttonClass.js +1 -1
  288. package/dist/lib/emptyIllustration.js +1 -1
  289. package/dist/lib/fileItem.js +1 -1
  290. package/dist/lib/flagStyles.js +1 -1
  291. package/dist/lib/initials.js +1 -1
  292. package/dist/lib/linkTarget.js +1 -1
  293. package/dist/lib/pageScrollLock.js +1 -1
  294. package/dist/lib/qrCode.js +1 -1
  295. package/dist/lib/sectionShell.js +1 -1
  296. package/dist/lib/svgNodes.js +1 -0
  297. package/dist/lib/useElementEntry.js +1 -0
  298. package/dist/lib/useFileDrop.js +1 -1
  299. package/dist/lib/useTableView.js +1 -1
  300. package/dist/lib/wuiMarker.js +1 -1
  301. package/dist/markdown-core/dist/parse.js +3 -3
  302. package/dist/types/components/AppAccordion.d.ts +31 -34
  303. package/dist/types/components/AppAccountSwitcher.d.ts +29 -30
  304. package/dist/types/components/AppActionIcon.d.ts +39 -57
  305. package/dist/types/components/AppAlert.d.ts +35 -50
  306. package/dist/types/components/AppAsyncBlock.d.ts +23 -46
  307. package/dist/types/components/AppAuthLayout.d.ts +9 -22
  308. package/dist/types/components/AppAvatar.d.ts +26 -43
  309. package/dist/types/components/AppAvatarGroup.d.ts +11 -16
  310. package/dist/types/components/AppBadge.d.ts +13 -19
  311. package/dist/types/components/AppBanner.d.ts +18 -21
  312. package/dist/types/components/AppBreadcrumbs.d.ts +24 -20
  313. package/dist/types/components/AppButton.d.ts +65 -55
  314. package/dist/types/components/AppButtonGroup.d.ts +24 -22
  315. package/dist/types/components/AppCalendar.d.ts +35 -31
  316. package/dist/types/components/AppCard.d.ts +47 -67
  317. package/dist/types/components/AppCarousel.d.ts +35 -51
  318. package/dist/types/components/AppCell.d.ts +22 -21
  319. package/dist/types/components/AppChart.d.ts +93 -54
  320. package/dist/types/components/AppChartCard.d.ts +46 -58
  321. package/dist/types/components/AppCheckbox.d.ts +33 -18
  322. package/dist/types/components/AppChip.d.ts +32 -43
  323. package/dist/types/components/AppChipGroup.d.ts +17 -22
  324. package/dist/types/components/AppChoiceCard.d.ts +30 -54
  325. package/dist/types/components/AppChoiceChip.d.ts +42 -38
  326. package/dist/types/components/AppCodeBlock.d.ts +29 -28
  327. package/dist/types/components/AppColorField.d.ts +59 -57
  328. package/dist/types/components/AppColumnMenu.d.ts +21 -19
  329. package/dist/types/components/AppCommandPalette.d.ts +97 -102
  330. package/dist/types/components/AppCommentThread.d.ts +106 -181
  331. package/dist/types/components/AppCompareTable.d.ts +52 -57
  332. package/dist/types/components/AppConfirmDialog.d.ts +31 -46
  333. package/dist/types/components/AppConfirmProvider.d.ts +18 -21
  334. package/dist/types/components/AppConsentBanner.d.ts +43 -54
  335. package/dist/types/components/AppContextMenu.d.ts +63 -51
  336. package/dist/types/components/AppCopyButton.d.ts +26 -24
  337. package/dist/types/components/AppCountryFlag.d.ts +10 -8
  338. package/dist/types/components/AppDashboardCell.d.ts +14 -12
  339. package/dist/types/components/AppDashboardGrid.d.ts +9 -7
  340. package/dist/types/components/AppDataTable.d.ts +147 -144
  341. package/dist/types/components/AppDatePicker.d.ts +39 -28
  342. package/dist/types/components/AppDateRangePicker.d.ts +53 -40
  343. package/dist/types/components/AppDescriptions.d.ts +43 -38
  344. package/dist/types/components/AppDetailPane.d.ts +14 -19
  345. package/dist/types/components/AppDrawer.d.ts +46 -74
  346. package/dist/types/components/AppDropZone.d.ts +43 -47
  347. package/dist/types/components/AppDropdown.d.ts +59 -72
  348. package/dist/types/components/AppDueDate.d.ts +25 -39
  349. package/dist/types/components/AppEmptyState.d.ts +26 -36
  350. package/dist/types/components/AppErrorBoundary.d.ts +29 -29
  351. package/dist/types/components/AppErrorSummary.d.ts +27 -24
  352. package/dist/types/components/AppFileAttachment.d.ts +87 -70
  353. package/dist/types/components/AppFilePicker.d.ts +109 -95
  354. package/dist/types/components/AppFileTiles.d.ts +26 -23
  355. package/dist/types/components/AppFileViewer.d.ts +27 -21
  356. package/dist/types/components/AppFilterBar.d.ts +87 -84
  357. package/dist/types/components/AppFloatingButton.d.ts +37 -35
  358. package/dist/types/components/AppFloatingDock.d.ts +47 -41
  359. package/dist/types/components/AppFormActions.d.ts +21 -19
  360. package/dist/types/components/AppFormRow.d.ts +16 -19
  361. package/dist/types/components/AppFormSection.d.ts +24 -34
  362. package/dist/types/components/AppHoverCard.d.ts +28 -35
  363. package/dist/types/components/AppIcon.d.ts +29 -38
  364. package/dist/types/components/AppImagePicker.d.ts +54 -99
  365. package/dist/types/components/AppInfoTip.d.ts +17 -21
  366. package/dist/types/components/AppInlineEdit.d.ts +46 -51
  367. package/dist/types/components/AppInput.d.ts +82 -61
  368. package/dist/types/components/AppInputGroup.d.ts +22 -29
  369. package/dist/types/components/AppKanban.d.ts +110 -118
  370. package/dist/types/components/AppKbd.d.ts +12 -11
  371. package/dist/types/components/AppKpiTile.d.ts +45 -59
  372. package/dist/types/components/AppLeadPopup.d.ts +81 -38
  373. package/dist/types/components/AppLightbox.d.ts +44 -41
  374. package/dist/types/components/AppLink.d.ts +45 -42
  375. package/dist/types/components/AppMarkdown.d.ts +30 -37
  376. package/dist/types/components/AppMentionInput.d.ts +52 -40
  377. package/dist/types/components/AppMeter.d.ts +30 -33
  378. package/dist/types/components/AppMetricStrip.d.ts +29 -25
  379. package/dist/types/components/AppModal.d.ts +48 -51
  380. package/dist/types/components/AppNavList.d.ts +28 -27
  381. package/dist/types/components/AppNavigationMenu.d.ts +36 -33
  382. package/dist/types/components/AppNotificationCenter.d.ts +59 -92
  383. package/dist/types/components/AppNumberInput.d.ts +52 -30
  384. package/dist/types/components/AppOnboardingChecklist.d.ts +58 -48
  385. package/dist/types/components/AppOrgTree.d.ts +59 -29
  386. package/dist/types/components/AppOtpInput.d.ts +42 -25
  387. package/dist/types/components/AppPageHeader.d.ts +44 -66
  388. package/dist/types/components/AppPhoneNumberInput.d.ts +29 -27
  389. package/dist/types/components/AppPopover.d.ts +48 -37
  390. package/dist/types/components/AppPricingCard.d.ts +28 -37
  391. package/dist/types/components/AppProgress.d.ts +21 -29
  392. package/dist/types/components/AppQrCode.d.ts +19 -24
  393. package/dist/types/components/AppRadio.d.ts +24 -18
  394. package/dist/types/components/AppRadioGroup.d.ts +38 -61
  395. package/dist/types/components/AppRating.d.ts +38 -62
  396. package/dist/types/components/AppRecordPager.d.ts +28 -37
  397. package/dist/types/components/AppRelativeTime.d.ts +13 -16
  398. package/dist/types/components/AppRepeater.d.ts +41 -49
  399. package/dist/types/components/AppRequiredMark.d.ts +4 -4
  400. package/dist/types/components/AppResizable.d.ts +16 -17
  401. package/dist/types/components/AppResizableHandle.d.ts +5 -12
  402. package/dist/types/components/AppResizablePanel.d.ts +7 -20
  403. package/dist/types/components/AppResourceCard.d.ts +9 -21
  404. package/dist/types/components/AppResult.d.ts +23 -31
  405. package/dist/types/components/AppRichText.d.ts +46 -21
  406. package/dist/types/components/AppRollingNumber.d.ts +18 -25
  407. package/dist/types/components/AppRouteError.d.ts +32 -50
  408. package/dist/types/components/AppRowSwitch.d.ts +4 -9
  409. package/dist/types/components/AppScoreScale.d.ts +44 -42
  410. package/dist/types/components/AppScrollbar.d.ts +11 -16
  411. package/dist/types/components/AppSearch.d.ts +39 -37
  412. package/dist/types/components/AppSectionCallToAction.d.ts +28 -24
  413. package/dist/types/components/AppSectionFaq.d.ts +34 -32
  414. package/dist/types/components/AppSectionFeatures.d.ts +21 -30
  415. package/dist/types/components/AppSectionHero.d.ts +16 -24
  416. package/dist/types/components/AppSectionLeadCapture.d.ts +33 -51
  417. package/dist/types/components/AppSectionLogos.d.ts +25 -30
  418. package/dist/types/components/AppSectionPricing.d.ts +15 -20
  419. package/dist/types/components/AppSectionTestimonials.d.ts +26 -32
  420. package/dist/types/components/AppSegmented.d.ts +40 -55
  421. package/dist/types/components/AppSelect.d.ts +179 -116
  422. package/dist/types/components/AppSeoHead.d.ts +15 -21
  423. package/dist/types/components/AppShell.d.ts +206 -334
  424. package/dist/types/components/AppShortcutLegend.d.ts +32 -39
  425. package/dist/types/components/AppShowMore.d.ts +22 -29
  426. package/dist/types/components/AppSkeleton.d.ts +17 -26
  427. package/dist/types/components/AppSkeletonLines.d.ts +12 -16
  428. package/dist/types/components/AppSlider.d.ts +74 -48
  429. package/dist/types/components/AppSortableList.d.ts +47 -21
  430. package/dist/types/components/AppSparkline.d.ts +34 -33
  431. package/dist/types/components/AppSpinner.d.ts +18 -17
  432. package/dist/types/components/AppSplash.d.ts +24 -32
  433. package/dist/types/components/AppSplitButton.d.ts +41 -53
  434. package/dist/types/components/AppSplitView.d.ts +75 -97
  435. package/dist/types/components/AppStatusBadge.d.ts +19 -19
  436. package/dist/types/components/AppStepper.d.ts +57 -61
  437. package/dist/types/components/AppSwitch.d.ts +24 -27
  438. package/dist/types/components/AppTablePagination.d.ts +34 -55
  439. package/dist/types/components/AppTableToolbar.d.ts +31 -44
  440. package/dist/types/components/AppTabs.d.ts +62 -75
  441. package/dist/types/components/AppTextarea.d.ts +35 -51
  442. package/dist/types/components/AppThemeToggle.d.ts +60 -53
  443. package/dist/types/components/AppTimePicker.d.ts +29 -28
  444. package/dist/types/components/AppTimeline.d.ts +59 -60
  445. package/dist/types/components/AppToast.d.ts +26 -27
  446. package/dist/types/components/AppToolbar.d.ts +46 -52
  447. package/dist/types/components/AppTooltip.d.ts +26 -30
  448. package/dist/types/components/AppTour.d.ts +57 -41
  449. package/dist/types/components/AppTreeView.d.ts +53 -30
  450. package/dist/types/components/AppTruncate.d.ts +16 -21
  451. package/dist/types/components/AppUpdateBar.d.ts +21 -26
  452. package/dist/types/components/AppWhatsNew.d.ts +40 -48
  453. package/dist/types/components/AppWizard.d.ts +64 -48
  454. package/dist/types/components/AppWorkspaceSwitcher.d.ts +56 -60
  455. package/dist/types/components/ModalIcons.d.ts +17 -38
  456. package/dist/types/components/assertValidValue.d.ts +1 -5
  457. package/dist/types/components/iconCatalogFull/bold/a.g.d.ts +2 -77
  458. package/dist/types/components/iconCatalogFull/bold/b.g.d.ts +2 -83
  459. package/dist/types/components/iconCatalogFull/bold/c.g.d.ts +2 -113
  460. package/dist/types/components/iconCatalogFull/bold/d.g.d.ts +2 -55
  461. package/dist/types/components/iconCatalogFull/bold/e.g.d.ts +2 -35
  462. package/dist/types/components/iconCatalogFull/bold/f.g.d.ts +2 -43
  463. package/dist/types/components/iconCatalogFull/bold/g.g.d.ts +2 -42
  464. package/dist/types/components/iconCatalogFull/bold/h.g.d.ts +2 -42
  465. package/dist/types/components/iconCatalogFull/bold/i.g.d.ts +2 -19
  466. package/dist/types/components/iconCatalogFull/bold/j.g.d.ts +2 -5
  467. package/dist/types/components/iconCatalogFull/bold/k.g.d.ts +2 -8
  468. package/dist/types/components/iconCatalogFull/bold/l.g.d.ts +2 -40
  469. package/dist/types/components/iconCatalogFull/bold/m.g.d.ts +2 -99
  470. package/dist/types/components/iconCatalogFull/bold/n.g.d.ts +2 -21
  471. package/dist/types/components/iconCatalogFull/bold/o.g.d.ts +2 -8
  472. package/dist/types/components/iconCatalogFull/bold/p.g.d.ts +2 -49
  473. package/dist/types/components/iconCatalogFull/bold/q.g.d.ts +2 -9
  474. package/dist/types/components/iconCatalogFull/bold/r.g.d.ts +2 -48
  475. package/dist/types/components/iconCatalogFull/bold/s.g.d.ts +2 -107
  476. package/dist/types/components/iconCatalogFull/bold/t.g.d.ts +2 -64
  477. package/dist/types/components/iconCatalogFull/bold/u.g.d.ts +2 -17
  478. package/dist/types/components/iconCatalogFull/bold/v.g.d.ts +2 -28
  479. package/dist/types/components/iconCatalogFull/bold/w.g.d.ts +2 -29
  480. package/dist/types/components/iconCatalogFull/bold/x.g.d.ts +2 -5
  481. package/dist/types/components/iconCatalogFull/bold/y.g.d.ts +2 -3
  482. package/dist/types/components/iconCatalogFull/bold/z.g.d.ts +2 -4
  483. package/dist/types/components/iconCatalogFull/broken/a.g.d.ts +2 -77
  484. package/dist/types/components/iconCatalogFull/broken/b.g.d.ts +2 -83
  485. package/dist/types/components/iconCatalogFull/broken/c.g.d.ts +2 -113
  486. package/dist/types/components/iconCatalogFull/broken/d.g.d.ts +2 -55
  487. package/dist/types/components/iconCatalogFull/broken/e.g.d.ts +2 -35
  488. package/dist/types/components/iconCatalogFull/broken/f.g.d.ts +2 -43
  489. package/dist/types/components/iconCatalogFull/broken/g.g.d.ts +2 -42
  490. package/dist/types/components/iconCatalogFull/broken/h.g.d.ts +2 -42
  491. package/dist/types/components/iconCatalogFull/broken/i.g.d.ts +2 -19
  492. package/dist/types/components/iconCatalogFull/broken/j.g.d.ts +2 -5
  493. package/dist/types/components/iconCatalogFull/broken/k.g.d.ts +2 -8
  494. package/dist/types/components/iconCatalogFull/broken/l.g.d.ts +2 -40
  495. package/dist/types/components/iconCatalogFull/broken/m.g.d.ts +2 -99
  496. package/dist/types/components/iconCatalogFull/broken/n.g.d.ts +2 -21
  497. package/dist/types/components/iconCatalogFull/broken/o.g.d.ts +2 -8
  498. package/dist/types/components/iconCatalogFull/broken/p.g.d.ts +2 -49
  499. package/dist/types/components/iconCatalogFull/broken/q.g.d.ts +2 -9
  500. package/dist/types/components/iconCatalogFull/broken/r.g.d.ts +2 -48
  501. package/dist/types/components/iconCatalogFull/broken/s.g.d.ts +2 -107
  502. package/dist/types/components/iconCatalogFull/broken/t.g.d.ts +2 -64
  503. package/dist/types/components/iconCatalogFull/broken/u.g.d.ts +2 -17
  504. package/dist/types/components/iconCatalogFull/broken/v.g.d.ts +2 -28
  505. package/dist/types/components/iconCatalogFull/broken/w.g.d.ts +2 -29
  506. package/dist/types/components/iconCatalogFull/broken/x.g.d.ts +2 -5
  507. package/dist/types/components/iconCatalogFull/broken/y.g.d.ts +2 -3
  508. package/dist/types/components/iconCatalogFull/broken/z.g.d.ts +2 -4
  509. package/dist/types/components/iconCatalogFull/bulk/a.g.d.ts +2 -77
  510. package/dist/types/components/iconCatalogFull/bulk/b.g.d.ts +2 -83
  511. package/dist/types/components/iconCatalogFull/bulk/c.g.d.ts +2 -113
  512. package/dist/types/components/iconCatalogFull/bulk/d.g.d.ts +2 -55
  513. package/dist/types/components/iconCatalogFull/bulk/e.g.d.ts +2 -35
  514. package/dist/types/components/iconCatalogFull/bulk/f.g.d.ts +2 -43
  515. package/dist/types/components/iconCatalogFull/bulk/g.g.d.ts +2 -42
  516. package/dist/types/components/iconCatalogFull/bulk/h.g.d.ts +2 -42
  517. package/dist/types/components/iconCatalogFull/bulk/i.g.d.ts +2 -19
  518. package/dist/types/components/iconCatalogFull/bulk/j.g.d.ts +2 -5
  519. package/dist/types/components/iconCatalogFull/bulk/k.g.d.ts +2 -8
  520. package/dist/types/components/iconCatalogFull/bulk/l.g.d.ts +2 -40
  521. package/dist/types/components/iconCatalogFull/bulk/m.g.d.ts +2 -99
  522. package/dist/types/components/iconCatalogFull/bulk/n.g.d.ts +2 -21
  523. package/dist/types/components/iconCatalogFull/bulk/o.g.d.ts +2 -8
  524. package/dist/types/components/iconCatalogFull/bulk/p.g.d.ts +2 -49
  525. package/dist/types/components/iconCatalogFull/bulk/q.g.d.ts +2 -9
  526. package/dist/types/components/iconCatalogFull/bulk/r.g.d.ts +2 -48
  527. package/dist/types/components/iconCatalogFull/bulk/s.g.d.ts +2 -107
  528. package/dist/types/components/iconCatalogFull/bulk/t.g.d.ts +2 -64
  529. package/dist/types/components/iconCatalogFull/bulk/u.g.d.ts +2 -17
  530. package/dist/types/components/iconCatalogFull/bulk/v.g.d.ts +2 -28
  531. package/dist/types/components/iconCatalogFull/bulk/w.g.d.ts +2 -29
  532. package/dist/types/components/iconCatalogFull/bulk/x.g.d.ts +2 -5
  533. package/dist/types/components/iconCatalogFull/bulk/y.g.d.ts +2 -3
  534. package/dist/types/components/iconCatalogFull/bulk/z.g.d.ts +2 -4
  535. package/dist/types/components/iconCatalogFull/linear/a.g.d.ts +2 -77
  536. package/dist/types/components/iconCatalogFull/linear/b.g.d.ts +2 -83
  537. package/dist/types/components/iconCatalogFull/linear/c.g.d.ts +2 -113
  538. package/dist/types/components/iconCatalogFull/linear/d.g.d.ts +2 -55
  539. package/dist/types/components/iconCatalogFull/linear/e.g.d.ts +2 -35
  540. package/dist/types/components/iconCatalogFull/linear/f.g.d.ts +2 -43
  541. package/dist/types/components/iconCatalogFull/linear/g.g.d.ts +2 -42
  542. package/dist/types/components/iconCatalogFull/linear/h.g.d.ts +2 -42
  543. package/dist/types/components/iconCatalogFull/linear/i.g.d.ts +2 -19
  544. package/dist/types/components/iconCatalogFull/linear/j.g.d.ts +2 -5
  545. package/dist/types/components/iconCatalogFull/linear/k.g.d.ts +2 -8
  546. package/dist/types/components/iconCatalogFull/linear/l.g.d.ts +2 -40
  547. package/dist/types/components/iconCatalogFull/linear/m.g.d.ts +2 -99
  548. package/dist/types/components/iconCatalogFull/linear/n.g.d.ts +2 -21
  549. package/dist/types/components/iconCatalogFull/linear/o.g.d.ts +2 -8
  550. package/dist/types/components/iconCatalogFull/linear/p.g.d.ts +2 -49
  551. package/dist/types/components/iconCatalogFull/linear/q.g.d.ts +2 -9
  552. package/dist/types/components/iconCatalogFull/linear/r.g.d.ts +2 -48
  553. package/dist/types/components/iconCatalogFull/linear/s.g.d.ts +2 -107
  554. package/dist/types/components/iconCatalogFull/linear/t.g.d.ts +2 -64
  555. package/dist/types/components/iconCatalogFull/linear/u.g.d.ts +2 -17
  556. package/dist/types/components/iconCatalogFull/linear/v.g.d.ts +2 -28
  557. package/dist/types/components/iconCatalogFull/linear/w.g.d.ts +2 -29
  558. package/dist/types/components/iconCatalogFull/linear/x.g.d.ts +2 -5
  559. package/dist/types/components/iconCatalogFull/linear/y.g.d.ts +2 -3
  560. package/dist/types/components/iconCatalogFull/linear/z.g.d.ts +2 -4
  561. package/dist/types/components/iconCatalogFull/outline/a.g.d.ts +2 -77
  562. package/dist/types/components/iconCatalogFull/outline/b.g.d.ts +2 -83
  563. package/dist/types/components/iconCatalogFull/outline/c.g.d.ts +2 -113
  564. package/dist/types/components/iconCatalogFull/outline/d.g.d.ts +2 -55
  565. package/dist/types/components/iconCatalogFull/outline/e.g.d.ts +2 -35
  566. package/dist/types/components/iconCatalogFull/outline/f.g.d.ts +2 -43
  567. package/dist/types/components/iconCatalogFull/outline/g.g.d.ts +2 -42
  568. package/dist/types/components/iconCatalogFull/outline/h.g.d.ts +2 -42
  569. package/dist/types/components/iconCatalogFull/outline/i.g.d.ts +2 -19
  570. package/dist/types/components/iconCatalogFull/outline/j.g.d.ts +2 -5
  571. package/dist/types/components/iconCatalogFull/outline/k.g.d.ts +2 -8
  572. package/dist/types/components/iconCatalogFull/outline/l.g.d.ts +2 -40
  573. package/dist/types/components/iconCatalogFull/outline/m.g.d.ts +2 -99
  574. package/dist/types/components/iconCatalogFull/outline/n.g.d.ts +2 -21
  575. package/dist/types/components/iconCatalogFull/outline/o.g.d.ts +2 -8
  576. package/dist/types/components/iconCatalogFull/outline/p.g.d.ts +2 -49
  577. package/dist/types/components/iconCatalogFull/outline/q.g.d.ts +2 -9
  578. package/dist/types/components/iconCatalogFull/outline/r.g.d.ts +2 -48
  579. package/dist/types/components/iconCatalogFull/outline/s.g.d.ts +2 -107
  580. package/dist/types/components/iconCatalogFull/outline/t.g.d.ts +2 -64
  581. package/dist/types/components/iconCatalogFull/outline/u.g.d.ts +2 -17
  582. package/dist/types/components/iconCatalogFull/outline/v.g.d.ts +2 -28
  583. package/dist/types/components/iconCatalogFull/outline/w.g.d.ts +2 -29
  584. package/dist/types/components/iconCatalogFull/outline/x.g.d.ts +2 -5
  585. package/dist/types/components/iconCatalogFull/outline/y.g.d.ts +2 -3
  586. package/dist/types/components/iconCatalogFull/outline/z.g.d.ts +2 -4
  587. package/dist/types/components/iconCatalogFull/twotone/a.g.d.ts +2 -77
  588. package/dist/types/components/iconCatalogFull/twotone/b.g.d.ts +2 -83
  589. package/dist/types/components/iconCatalogFull/twotone/c.g.d.ts +2 -113
  590. package/dist/types/components/iconCatalogFull/twotone/d.g.d.ts +2 -55
  591. package/dist/types/components/iconCatalogFull/twotone/e.g.d.ts +2 -35
  592. package/dist/types/components/iconCatalogFull/twotone/f.g.d.ts +2 -43
  593. package/dist/types/components/iconCatalogFull/twotone/g.g.d.ts +2 -42
  594. package/dist/types/components/iconCatalogFull/twotone/h.g.d.ts +2 -42
  595. package/dist/types/components/iconCatalogFull/twotone/i.g.d.ts +2 -19
  596. package/dist/types/components/iconCatalogFull/twotone/j.g.d.ts +2 -5
  597. package/dist/types/components/iconCatalogFull/twotone/k.g.d.ts +2 -8
  598. package/dist/types/components/iconCatalogFull/twotone/l.g.d.ts +2 -40
  599. package/dist/types/components/iconCatalogFull/twotone/m.g.d.ts +2 -99
  600. package/dist/types/components/iconCatalogFull/twotone/n.g.d.ts +2 -21
  601. package/dist/types/components/iconCatalogFull/twotone/o.g.d.ts +2 -8
  602. package/dist/types/components/iconCatalogFull/twotone/p.g.d.ts +2 -49
  603. package/dist/types/components/iconCatalogFull/twotone/q.g.d.ts +2 -9
  604. package/dist/types/components/iconCatalogFull/twotone/r.g.d.ts +2 -48
  605. package/dist/types/components/iconCatalogFull/twotone/s.g.d.ts +2 -107
  606. package/dist/types/components/iconCatalogFull/twotone/t.g.d.ts +2 -64
  607. package/dist/types/components/iconCatalogFull/twotone/u.g.d.ts +2 -17
  608. package/dist/types/components/iconCatalogFull/twotone/v.g.d.ts +2 -28
  609. package/dist/types/components/iconCatalogFull/twotone/w.g.d.ts +2 -29
  610. package/dist/types/components/iconCatalogFull/twotone/x.g.d.ts +2 -5
  611. package/dist/types/components/iconCatalogFull/twotone/y.g.d.ts +2 -3
  612. package/dist/types/components/iconCatalogFull/twotone/z.g.d.ts +2 -4
  613. package/dist/types/components/iconCatalogLoaders.g.d.ts +10 -171
  614. package/dist/types/components/iconGlyphs.g.d.ts +2 -238
  615. package/dist/types/components/iconVariants.g.d.ts +2 -1167
  616. package/dist/types/components/renderIconProp.d.ts +10 -9
  617. package/dist/types/components/textOf.d.ts +3 -0
  618. package/dist/types/components/toast.d.ts +13 -5
  619. package/dist/types/components/toastStore.d.ts +33 -4
  620. package/dist/types/components/useNodeLabels.d.ts +12 -12
  621. package/dist/types/components/useWuiControl.d.ts +73 -49
  622. package/dist/types/components/warnUnknownProps.d.ts +3 -3
  623. package/dist/types/components/withTooltip.d.ts +3 -1
  624. package/dist/types/index.d.ts +177 -164
  625. package/dist/types/lib/CheckField.d.ts +19 -1
  626. package/dist/types/lib/DiscardPrompt.d.ts +10 -12
  627. package/dist/types/lib/FieldMessage.d.ts +8 -12
  628. package/dist/types/lib/FileItemRow.d.ts +19 -23
  629. package/dist/types/lib/FocusPanel.d.ts +5 -3
  630. package/dist/types/lib/TargetLink.d.ts +9 -0
  631. package/dist/types/lib/buttonClass.d.ts +0 -4
  632. package/dist/types/lib/devWarn.d.ts +2 -2
  633. package/dist/types/lib/emptyIllustration.d.ts +9 -18
  634. package/dist/types/lib/emptyValue.d.ts +2 -6
  635. package/dist/types/lib/fieldState.d.ts +3 -1
  636. package/dist/types/lib/fileItem.d.ts +16 -7
  637. package/dist/types/lib/fillLabel.d.ts +1 -1
  638. package/dist/types/lib/flagStyles.d.ts +1 -1
  639. package/dist/types/lib/focusField.d.ts +2 -2
  640. package/dist/types/lib/initials.d.ts +3 -4
  641. package/dist/types/lib/labelWithHelp.d.ts +2 -6
  642. package/dist/types/lib/linkTarget.d.ts +33 -19
  643. package/dist/types/lib/navMatch.d.ts +7 -10
  644. package/dist/types/lib/pageWindow.d.ts +7 -8
  645. package/dist/types/lib/qrCode.d.ts +17 -37
  646. package/dist/types/lib/sectionShell.d.ts +39 -31
  647. package/dist/types/lib/shellCookie.d.ts +3 -3
  648. package/dist/types/lib/shortcutChip.d.ts +4 -3
  649. package/dist/types/lib/svgNodes.d.ts +4 -0
  650. package/dist/types/lib/useCommandPaletteShortcut.d.ts +3 -3
  651. package/dist/types/lib/useElementEntry.d.ts +16 -0
  652. package/dist/types/lib/useFileDrop.d.ts +23 -16
  653. package/dist/types/lib/useFloatingStack.d.ts +5 -4
  654. package/dist/types/lib/useListShortcuts.d.ts +9 -7
  655. package/dist/types/lib/usePagination.d.ts +8 -6
  656. package/dist/types/lib/useTableView.d.ts +17 -19
  657. package/dist/types/lib/wuiMarker.d.ts +12 -10
  658. package/dist/types/reactAugmentations.d.ts +22 -0
  659. package/dist/ui-react.js +1 -1
  660. package/dist/web-core/dist/query/listQuery.js +1 -1
  661. package/package.json +15 -12
@@ -1,121 +1,138 @@
1
- export type AttachmentFile = {
2
- name: string;
3
- url?: string;
4
- to?: string;
5
- sizeBytes?: number;
6
- progress?: number;
7
- error?: string;
8
- };
9
- /** @typedef {{ name: string, url?: string, to?: string, sizeBytes?: number, progress?: number, error?: string }} AttachmentFile
10
- * `to` is an in-app route for the file viewer page, routed through linkComponent; url stays a plain link.
11
- */
1
+ import { type ComponentPropsWithoutRef, type JSX } from "react";
2
+ import { type AppLinkComponent } from "../lib/linkTarget.ts";
12
3
  /**
13
- * Compact attachment field — a browse row that swaps to a preview (image thumbnail or a
14
- * file-type icon) plus filename/size once a file is chosen (× to remove). Self-manages the
15
- * preview object URL and validates type + size, reporting the choice via onChange.
16
- *
17
- * Handles both images and any other file type (PDF, doc, zip) — narrow it with `accept`.
18
- * With `multiple`, several files stack in a list and each removes on its own; `value` is then
19
- * an array and `onChange` receives the updated array.
20
- *
21
- * Distinct from AppFilePicker (a tall visual image dropzone): this is for attaching a file
22
- * to something (a ticket, a message) where the file's name/size matters more than a big preview.
23
- *
24
- * @param {object} props
25
- * @param {string} [props.label]
26
- * @param {File|AttachmentFile|Array<File|AttachmentFile>|null} [props.value]
27
- * @param {string} [props.name]
28
- * @param {(file: File|null) => void | (files: File[]) => void} props.onChange single-mode → File|null; multiple → File[]
29
- * @param {boolean} [props.multiple]
30
- * @param {string} [props.accept]
31
- * @param {number} [props.maxSizeMb]
32
- * @param {boolean} [props.optional]
33
- * @param {boolean} [props.validate]
34
- * @param {string} [props.error]
35
- * @param {string} [props.id]
36
- * @param {import('react').ElementType} [props.linkComponent] Router link (e.g. react-router Link) for in-app destinations; it receives `to` instead of `href`. Absolute, `#` and scheme hrefs stay plain anchors. Keeps the library router-agnostic.
37
- * @param {string} [props.browseLabel] Default "Browse".
38
- * @param {string} [props.removeLabel] Default "Remove attachment".
39
- * @param {string} [props.uploadingLabel] Default "Uploading {name}".
40
- * @param {string} [props.maxSizeText] Default "Up to {size} MB".
41
- * @param {string} [props.typesAndMaxSizeText] Default "{types}, up to {size} MB". The limits line when both a type list and a size limit exist.
42
- * @param {string} [props.removeFileLabel] Default "Remove {name}". The remove button's accessible name on a file row.
43
- * @param {string} [props.optionalLabel] Default "(optional)".
44
- * @param {string} [props.dropTitle] Replaces the drop row's title. Default: "Add a file", "Add an image", "Add files" or "Add images", chosen from accept and multiple.
4
+ * `to` is an in-app route for the file viewer page, routed through linkComponent; url stays a plain link.
45
5
  */
46
- export default function AppFileAttachment(props: {
6
+ export interface AttachmentFile {
7
+ name?: string | undefined;
8
+ url?: string | undefined;
9
+ to?: string | undefined;
10
+ sizeBytes?: number | undefined;
11
+ progress?: number | undefined;
12
+ error?: string | undefined;
13
+ }
14
+ interface AppFileAttachmentBaseProps extends Omit<ComponentPropsWithoutRef<"input">, "value" | "onChange" | "name" | "id" | "accept" | "multiple"> {
47
15
  /**
48
16
  * The label shown above the field.
49
17
  * @default "Attachment"
50
18
  */
51
- label?: string;
52
- /** A picked File, or an existing or uploading file: sizeBytes is its size in bytes, progress runs 0 to 100 while it uploads, error says why it failed. With multiple, an array of these. */
53
- value?: File | AttachmentFile | Array<File | AttachmentFile> | null;
19
+ label?: string | undefined;
54
20
  /** Form field name, so an uncontrolled form can post the file. */
55
- name?: string;
56
- onChange: (file: File | null) => void | ((files: File[]) => void);
57
- /**
58
- * Lets the person attach several files. They stack in a list and each one removes on its own.
59
- * @default false
60
- */
61
- multiple?: boolean;
21
+ name?: string | undefined;
62
22
  /** The file types the field takes, as an accept list. Defaults to images; pass for example image/*,application/pdf for mixed. An empty string accepts any file type, and the format line then names no types. */
63
- accept?: string;
23
+ accept?: string | undefined;
64
24
  /** The size limit in megabytes. Defaults to the shared limit. 0 means no size limit: nothing is rejected for its size, and the format line names no size. */
65
- maxSizeMb?: number;
25
+ maxSizeMb?: number | undefined;
66
26
  /**
67
27
  * Adds (optional) after the label.
68
28
  * @default false
69
29
  */
70
- optional?: boolean;
30
+ optional?: boolean | undefined;
71
31
  /**
72
32
  * Checks each pick against accept and maxSizeMb and shows the field's own message for a rejected file. Set false when the page validates the files itself and shows its own message through error, so every pick reaches onChange and the person never sees two messages in two voices for one problem. accept and maxSizeMb still set the picker filter and the format line.
73
33
  * @default true
74
34
  */
75
- validate?: boolean;
35
+ validate?: boolean | undefined;
76
36
  /** A message from the page, shown below the field beside the field's own validation messages. */
77
- error?: string;
37
+ error?: string | undefined;
78
38
  /** DOM id of the file input; the label and the drop row point at it. Pass one when rows share a name. */
79
- id?: string;
80
- linkComponent?: import('react').ElementType;
39
+ id?: string | undefined;
40
+ linkComponent?: AppLinkComponent | undefined;
81
41
  /**
82
42
  * Replaces the built-in English text, for other languages.
83
43
  * @default "Browse"
84
44
  */
85
- browseLabel?: string;
45
+ browseLabel?: string | undefined;
86
46
  /**
87
47
  * Replaces the built-in English text, for other languages.
88
48
  * @default "Remove attachment"
89
49
  */
90
- removeLabel?: string;
50
+ removeLabel?: string | undefined;
91
51
  /**
92
52
  * Replaces the built-in English text, for other languages. Token: {name}, the file name.
93
53
  * @default "Uploading {name}"
94
54
  */
95
- uploadingLabel?: string;
55
+ uploadingLabel?: string | undefined;
96
56
  /**
97
57
  * Replaces the built-in English text, for other languages. Token: {size}, the size limit in megabytes.
98
58
  * @default "Up to {size} MB"
99
59
  */
100
- maxSizeText?: string;
60
+ maxSizeText?: string | undefined;
101
61
  /**
102
62
  * Replaces the built-in English text, for other languages. Tokens: {types}, the accepted types, and {size}, the size limit in megabytes.
103
63
  * @default "{types}, up to {size} MB"
104
64
  */
105
- typesAndMaxSizeText?: string;
65
+ typesAndMaxSizeText?: string | undefined;
106
66
  /**
107
67
  * Replaces the built-in English text, for other languages. Token: {name}, the file name.
108
68
  * @default "Remove {name}"
109
69
  */
110
- removeFileLabel?: string;
70
+ removeFileLabel?: string | undefined;
111
71
  /**
112
72
  * Replaces the built-in English text, for other languages.
113
73
  * @default "(optional)"
114
74
  */
115
- optionalLabel?: string;
75
+ optionalLabel?: string | undefined;
116
76
  /**
117
77
  * Replaces the drop row's title, for other languages. Default text depends on accept and multiple.
118
78
  * @default "Add a file, Add an image, Add files or Add images, chosen from accept and multiple"
119
79
  */
120
- dropTitle?: string;
121
- }): import("react").JSX.Element;
80
+ dropTitle?: string | undefined;
81
+ }
82
+ export interface AppFileAttachmentSingleProps extends AppFileAttachmentBaseProps {
83
+ /**
84
+ * Lets the person attach several files. They stack in a list and each one removes on its own.
85
+ * @default false
86
+ */
87
+ multiple?: false | undefined;
88
+ /** A picked File, or an existing or uploading file: sizeBytes is its size in bytes, progress runs 0 to 100 while it uploads, error says why it failed. With multiple, an array of these. */
89
+ value?: File | AttachmentFile | null | undefined;
90
+ onChange: (value: File | null) => void;
91
+ }
92
+ export interface AppFileAttachmentMultipleProps extends AppFileAttachmentBaseProps {
93
+ /**
94
+ * Lets the person attach several files. They stack in a list and each one removes on its own.
95
+ * @default false
96
+ */
97
+ multiple: true;
98
+ /** A picked File, or an existing or uploading file: sizeBytes is its size in bytes, progress runs 0 to 100 while it uploads, error says why it failed. With multiple, an array of these. */
99
+ value?: File | AttachmentFile | (File | AttachmentFile)[] | null | undefined;
100
+ onChange: (value: (File | AttachmentFile)[]) => void;
101
+ }
102
+ export type AppFileAttachmentProps = AppFileAttachmentSingleProps | AppFileAttachmentMultipleProps;
103
+ /**
104
+ * Compact attachment field: a browse row that swaps to a preview (image thumbnail or a
105
+ * file-type icon) plus filename/size once a file is chosen (× to remove). Self-manages the
106
+ * preview object URL and validates type + size, reporting the choice via onChange.
107
+ *
108
+ * Handles both images and any other file type (PDF, doc, zip): narrow it with `accept`.
109
+ * With `multiple`, several files stack in a list and each removes on its own; `value` is then
110
+ * an array and `onChange` receives the updated array.
111
+ *
112
+ * Distinct from AppFilePicker (a tall visual image dropzone): this is for attaching a file
113
+ * to something (a ticket, a message) where the file's name/size matters more than a big preview.
114
+ *
115
+ * @param props
116
+ * @param [props.label]
117
+ * @param [props.value]
118
+ * @param [props.name]
119
+ * @param props.onChange single-mode → File|null; multiple → File[]
120
+ * @param [props.multiple]
121
+ * @param [props.accept]
122
+ * @param [props.maxSizeMb]
123
+ * @param [props.optional]
124
+ * @param [props.validate]
125
+ * @param [props.error]
126
+ * @param [props.id]
127
+ * @param [props.linkComponent] Router link (e.g. react-router Link) for in-app destinations; it receives `to` instead of `href`. Absolute, `#` and scheme hrefs stay plain anchors. Keeps the library router-agnostic.
128
+ * @param [props.browseLabel] Default "Browse".
129
+ * @param [props.removeLabel] Default "Remove attachment".
130
+ * @param [props.uploadingLabel] Default "Uploading {name}".
131
+ * @param [props.maxSizeText] Default "Up to {size} MB".
132
+ * @param [props.typesAndMaxSizeText] Default "{types}, up to {size} MB". The limits line when both a type list and a size limit exist.
133
+ * @param [props.removeFileLabel] Default "Remove {name}". The remove button's accessible name on a file row.
134
+ * @param [props.optionalLabel] Default "(optional)".
135
+ * @param [props.dropTitle] Replaces the drop row's title. Default: "Add a file", "Add an image", "Add files" or "Add images", chosen from accept and multiple.
136
+ */
137
+ export default function AppFileAttachment(props: AppFileAttachmentProps): JSX.Element;
138
+ export {};
@@ -1,175 +1,189 @@
1
- /**
2
- * File picker — a drag-and-drop dropzone. In single mode it swaps to a large preview once a
3
- * file is chosen (hover to change, × to remove). With `multiple`, the dropzone stays put and
4
- * picked files stack in a list inside it, below the prompt (image thumbnail or file-type icon +
5
- * name/size, each removable). Accepts freshly-picked Files or existing `{ url, name }` values; reports the
6
- * choice via onChange: a File|null in single mode, a File[] in multiple mode.
7
- *
8
- * Not just images: widen `accept` (e.g. "image/*,application/pdf") and non-image files show a
9
- * file-type icon instead of a thumbnail. A single PDF shows its first page instead, drawn by the
10
- * lazily loaded viewer entry; the icon stays if the page cannot be drawn.
11
- *
12
- * @param {object} props
13
- * @param {string} [props.label] The visible label. Without it no label element is drawn, so the required mark, the optional text and the info-tip are not drawn either.
14
- * @param {File|{ url: string, name?: string }|Array<File|{ url: string, name?: string }>|null} [props.value]
15
- * @param {string} [props.name]
16
- * @param {string} [props.id]
17
- * @param {(file: File|null) => void | (files: File[]) => void} props.onChange single → File|null; multiple → File[]
18
- * @param {boolean} [props.multiple]
19
- * @param {"dropzone" | "button"} [props.variant] dropzone (default) | button: a small outline button that opens the file dialog; no previews.
20
- * @param {string} [props.buttonLabel] The button form's text.
21
- * @param {string} [props.browseLabel] Replaces the built-in English text, for other languages. Default "Click to upload".
22
- * @param {string} [props.dropLabel] Replaces the built-in English text, for other languages. Default "or drag & drop"; follows the browse text in the dropzone.
23
- * @param {string} [props.maxSizeText] Replaces the built-in English text, for other languages. Default "up to {size} MB", where {size} is the limit in MB; follows the accepted types in the hint.
24
- * @param {string} [props.optionalLabel] Replaces the built-in English text, for other languages. Default "(optional)".
25
- * @param {string} [props.changeImageLabel] Replaces the built-in English text, for other languages. Default "Change image".
26
- * @param {string} [props.changeFileLabel] Replaces the built-in English text, for other languages. Default "Change file".
27
- * @param {string} [props.maxFilesText] Replaces the built-in English text, for other languages. Default "Up to {count} files.", where {count} is the cap.
28
- * @param {string} [props.removeFileLabel] Replaces the built-in English text, for other languages. Default "Remove {name}", where {name} is the file name; the label of a file's remove button in multiple mode.
29
- * @param {number} [props.maxFiles]
30
- * @param {string} [props.accept]
31
- * @param {number} [props.maxSizeMb]
32
- * @param {boolean} [props.required]
33
- * @param {boolean} [props.optional] Ends the label with "(optional)". Required wins when both are set.
34
- * @param {string} [props.error]
35
- * @param {string} [props.helperText]
36
- * @param {boolean} [props.loading]
37
- * @param {boolean} [props.readOnly] Shows the value but blocks picking, dropping, changing and removing. The control takes aria-readonly.
38
- * @param {"sm"|"md"|"lg"} [props.size] The control height: sm, md or lg. The button form takes it too; an unset size keeps the small button.
39
- * @param {boolean} [props.disabled] Locks the picker and keeps it out of the form post.
40
- * @param {import('react').ReactNode} [props.help] The content of the info-tip beside the label.
41
- * @param {string} [props.helpLabel] The accessible name of the info-tip button.
42
- * @param {string} [props.className]
43
- * @param {string} [props.fieldClassName]
44
- * @param {object} [props.style] Inline style; lands on the control with `className`.
45
- */
46
- export default function AppFilePicker(props: {
1
+ import { type ComponentPropsWithoutRef, type CSSProperties, type JSX, type ReactNode } from "react";
2
+ export interface AppFilePickerExisting {
3
+ url: string;
4
+ name?: string | undefined;
5
+ }
6
+ interface AppFilePickerBaseProps extends Omit<ComponentPropsWithoutRef<"input">, "value" | "onChange" | "size" | "multiple"> {
47
7
  /** The label shown above the field. */
48
- label?: string;
49
- /** The chosen file or files: a File, an object with a url and an optional name, an array of those, or null. */
50
- value?: File | {
51
- url: string;
52
- name?: string;
53
- } | Array<File | {
54
- url: string;
55
- name?: string;
56
- }> | null;
8
+ label?: string | undefined;
57
9
  /** Form field name. */
58
- name?: string;
10
+ name?: string | undefined;
59
11
  /** DOM id for the file input and its labels' for target. */
60
- id?: string;
61
- onChange: (file: File | null) => void | ((files: File[]) => void);
62
- /**
63
- * Lets the person pick several files. They stack in a list inside the dropzone.
64
- * @default false
65
- */
66
- multiple?: boolean;
12
+ id?: string | undefined;
67
13
  /**
68
14
  * dropzone is the tall drop target. button is a small outline button that opens the file dialog, with no preview and no list.
69
15
  * @default "dropzone"
70
16
  */
71
- variant?: "dropzone" | "button";
17
+ variant?: "dropzone" | "button" | undefined;
72
18
  /**
73
19
  * The button form's text.
74
20
  * @default "Add file"
75
21
  */
76
- buttonLabel?: string;
22
+ buttonLabel?: string | undefined;
77
23
  /**
78
24
  * Replaces the built-in English text, for other languages.
79
25
  * @default "Click to upload"
80
26
  */
81
- browseLabel?: string;
27
+ browseLabel?: string | undefined;
82
28
  /**
83
29
  * Follows the browse text in the dropzone. Replaces the built-in English text, for other languages.
84
30
  * @default "or drag & drop"
85
31
  */
86
- dropLabel?: string;
32
+ dropLabel?: string | undefined;
87
33
  /**
88
34
  * The size cap in the format line; {size} is the limit in MB. Replaces the built-in English text, for other languages.
89
35
  * @default "up to {size} MB"
90
36
  */
91
- maxSizeText?: string;
37
+ maxSizeText?: string | undefined;
92
38
  /**
93
39
  * Replaces the built-in English text, for other languages.
94
40
  * @default "(optional)"
95
41
  */
96
- optionalLabel?: string;
42
+ optionalLabel?: string | undefined;
97
43
  /**
98
44
  * Replaces the built-in English text, for other languages.
99
45
  * @default "Change image"
100
46
  */
101
- changeImageLabel?: string;
47
+ changeImageLabel?: string | undefined;
102
48
  /**
103
49
  * Replaces the built-in English text, for other languages.
104
50
  * @default "Change file"
105
51
  */
106
- changeFileLabel?: string;
52
+ changeFileLabel?: string | undefined;
107
53
  /**
108
54
  * Replaces the built-in English text, for other languages. {count} is replaced with the cap.
109
55
  * @default "Up to {count} files."
110
56
  */
111
- maxFilesText?: string;
57
+ maxFilesText?: string | undefined;
112
58
  /**
113
59
  * Replaces the built-in English text, for other languages. Token: {name}, the file name.
114
60
  * @default "Remove {name}"
115
61
  */
116
- removeFileLabel?: string;
62
+ removeFileLabel?: string | undefined;
117
63
  /** Cap on total files in multiple mode. */
118
- maxFiles?: number;
64
+ maxFiles?: number | undefined;
119
65
  /**
120
66
  * Accepted file types (the accept attribute). Widen it, for example image/*,application/pdf, and non-image files show a file-type icon instead of a thumbnail.
121
67
  * @default ".jpg,.jpeg,.png"
122
68
  */
123
- accept?: string;
69
+ accept?: string | undefined;
124
70
  /** The size limit in megabytes. Defaults to the shared limit. 0 means no size limit: nothing is rejected for its size, and the format line names no size. */
125
- maxSizeMb?: number;
71
+ maxSizeMb?: number | undefined;
126
72
  /** Marks the field as required in its label. */
127
- required?: boolean;
73
+ required?: boolean | undefined;
128
74
  /**
129
75
  * Ends the label with (optional) when the field is not required. Required wins when both are set.
130
76
  * @default false
131
77
  */
132
- optional?: boolean;
78
+ optional?: boolean | undefined;
133
79
  /** A message from the page, shown below the control. */
134
- error?: string;
80
+ error?: string | undefined;
135
81
  /** Helper text below the control. An error (the page's or a rejected pick's) replaces it while it shows. */
136
- helperText?: string;
82
+ helperText?: string | undefined;
83
+ /** The content of the info-tip beside the label, opened by a button. */
84
+ help?: ReactNode | undefined;
85
+ /**
86
+ * The accessible name of the info-tip button.
87
+ * @default "More information"
88
+ */
89
+ helpLabel?: string | undefined;
137
90
  /**
138
91
  * Spinner over the control and picking blocked, for example while the chosen file uploads.
139
92
  * @default false
140
93
  */
141
- loading?: boolean;
94
+ loading?: boolean | undefined;
142
95
  /**
143
96
  * Shows the value but blocks picking, dropping, changing and removing.
144
97
  * @default false
145
98
  */
146
- readOnly?: boolean;
99
+ readOnly?: boolean | undefined;
147
100
  /**
148
101
  * The control height: sm, md or lg. The button form takes it too; an unset size keeps the small button.
149
102
  * @default "md"
150
103
  */
151
- size?: "sm" | "md" | "lg";
104
+ size?: "sm" | "md" | "lg" | undefined;
152
105
  /**
153
106
  * Locks the picker and keeps it out of the form post.
154
107
  * @default false
155
108
  */
156
- disabled?: boolean;
157
- /** The content of the info-tip beside the label, opened by a button. */
158
- help?: import('react').ReactNode;
159
- /**
160
- * The accessible name of the info-tip button.
161
- * @default "More information"
162
- */
163
- helpLabel?: string;
109
+ disabled?: boolean | undefined;
164
110
  /**
165
111
  * Class to apply to the control element: the preview or dropzone shell.
166
112
  * @default ""
167
113
  */
168
- className?: string;
114
+ className?: string | undefined;
169
115
  /**
170
116
  * Class to apply to the wrapper field div, for example a file-w-* width preset.
171
117
  * @default ""
172
118
  */
173
- fieldClassName?: string;
174
- style?: object;
175
- }): import("react").JSX.Element;
119
+ fieldClassName?: string | undefined;
120
+ style?: CSSProperties | undefined;
121
+ }
122
+ export interface AppFilePickerSingleProps extends AppFilePickerBaseProps {
123
+ /**
124
+ * Lets the person pick several files. They stack in a list inside the dropzone.
125
+ * @default false
126
+ */
127
+ multiple?: false | undefined;
128
+ /** The chosen file or files: a File, an object with a url and an optional name, an array of those, or null. */
129
+ value?: File | AppFilePickerExisting | null | undefined;
130
+ onChange: (value: File | null) => void;
131
+ }
132
+ export interface AppFilePickerMultipleProps extends AppFilePickerBaseProps {
133
+ /**
134
+ * Lets the person pick several files. They stack in a list inside the dropzone.
135
+ * @default false
136
+ */
137
+ multiple: true;
138
+ /** The chosen file or files: a File, an object with a url and an optional name, an array of those, or null. */
139
+ value?: File | AppFilePickerExisting | (File | AppFilePickerExisting)[] | null | undefined;
140
+ onChange: (value: (File | AppFilePickerExisting)[]) => void;
141
+ }
142
+ export type AppFilePickerProps = AppFilePickerSingleProps | AppFilePickerMultipleProps;
143
+ /**
144
+ * File picker — a drag-and-drop dropzone. In single mode it swaps to a large preview once a
145
+ * file is chosen (hover to change, × to remove). With `multiple`, the dropzone stays put and
146
+ * picked files stack in a list inside it, below the prompt (image thumbnail or file-type icon +
147
+ * name/size, each removable). Accepts freshly-picked Files or existing `{ url, name }` values; reports the
148
+ * choice via onChange: a File|null in single mode, a File[] in multiple mode.
149
+ *
150
+ * Not just images: widen `accept` (e.g. "image/*,application/pdf") and non-image files show a
151
+ * file-type icon instead of a thumbnail. A single PDF shows its first page instead, drawn by the
152
+ * lazily loaded viewer entry; the icon stays if the page cannot be drawn.
153
+ *
154
+ * @param props
155
+ * @param [props.label] The visible label. Without it no label element is drawn, so the required mark, the optional text and the info-tip are not drawn either.
156
+ * @param [props.value]
157
+ * @param [props.name]
158
+ * @param [props.id]
159
+ * @param props.onChange single → File|null; multiple → File[]
160
+ * @param [props.multiple]
161
+ * @param [props.variant] dropzone (default) | button: a small outline button that opens the file dialog; no previews.
162
+ * @param [props.buttonLabel] The button form's text.
163
+ * @param [props.browseLabel] Replaces the built-in English text, for other languages. Default "Click to upload".
164
+ * @param [props.dropLabel] Replaces the built-in English text, for other languages. Default "or drag & drop"; follows the browse text in the dropzone.
165
+ * @param [props.maxSizeText] Replaces the built-in English text, for other languages. Default "up to {size} MB", where {size} is the limit in MB; follows the accepted types in the hint.
166
+ * @param [props.optionalLabel] Replaces the built-in English text, for other languages. Default "(optional)".
167
+ * @param [props.changeImageLabel] Replaces the built-in English text, for other languages. Default "Change image".
168
+ * @param [props.changeFileLabel] Replaces the built-in English text, for other languages. Default "Change file".
169
+ * @param [props.maxFilesText] Replaces the built-in English text, for other languages. Default "Up to {count} files.", where {count} is the cap.
170
+ * @param [props.removeFileLabel] Replaces the built-in English text, for other languages. Default "Remove {name}", where {name} is the file name; the label of a file's remove button in multiple mode.
171
+ * @param [props.maxFiles]
172
+ * @param [props.accept]
173
+ * @param [props.maxSizeMb]
174
+ * @param [props.required]
175
+ * @param [props.optional] Ends the label with "(optional)". Required wins when both are set.
176
+ * @param [props.error]
177
+ * @param [props.helperText]
178
+ * @param [props.loading]
179
+ * @param [props.readOnly] Shows the value but blocks picking, dropping, changing and removing. The control takes aria-readonly.
180
+ * @param [props.size] The control height: sm, md or lg. The button form takes it too; an unset size keeps the small button.
181
+ * @param [props.disabled] Locks the picker and keeps it out of the form post.
182
+ * @param [props.help] The content of the info-tip beside the label.
183
+ * @param [props.helpLabel] The accessible name of the info-tip button.
184
+ * @param [props.className]
185
+ * @param [props.fieldClassName]
186
+ * @param [props.style] Inline style; lands on the control with `className`.
187
+ */
188
+ export default function AppFilePicker(props: AppFilePickerProps): JSX.Element;
189
+ export {};
@@ -1,33 +1,36 @@
1
- /**
2
- * A read-only grid of files: a type tile, the name, then the size and a meta line. A file with an
3
- * `href` is a link to it; a file with `to` is an in-app link, routed through `linkComponent`.
4
- *
5
- * @param {object} props
6
- * @param {string} props.label Accessible name of the list.
7
- * @param {{ key: string|number, name: string, href?: string, to?: string, sizeBytes?: number,
8
- * meta?: import('react').ReactNode }[]} [props.files]
9
- * @param {import('react').ElementType} [props.linkComponent] Router link (e.g. react-router Link) for in-app destinations; it receives `to` instead of `href`. Absolute, `#` and scheme hrefs stay plain anchors. Keeps the library router-agnostic.
10
- * @param {string} [props.className]
11
- */
12
- export default function AppFileTiles(props: {
1
+ import type { ComponentPropsWithoutRef, ReactElement, ReactNode } from "react";
2
+ import { type AppLinkComponent } from "../lib/linkTarget.ts";
3
+ export interface AppFileTilesFile {
4
+ key: string | number;
5
+ name: string;
6
+ href?: string | undefined;
7
+ to?: string | undefined;
8
+ sizeBytes?: number | undefined;
9
+ meta?: ReactNode | undefined;
10
+ }
11
+ export interface AppFileTilesProps extends ComponentPropsWithoutRef<"ul"> {
13
12
  /** Accessible name of the list. */
14
13
  label: string;
15
14
  /**
16
15
  * The files, each { key, name, href, to, sizeBytes, meta }. name's extension makes the type tile; href makes the tile a link; to is an in-app route, through linkComponent when one is given, otherwise a plain link; sizeBytes is the size in bytes; meta is text after the size.
17
16
  * @default []
18
17
  */
19
- files?: {
20
- key: string | number;
21
- name: string;
22
- href?: string;
23
- to?: string;
24
- sizeBytes?: number;
25
- meta?: import('react').ReactNode;
26
- }[];
27
- linkComponent?: import('react').ElementType;
18
+ files?: AppFileTilesFile[] | undefined;
19
+ linkComponent?: AppLinkComponent | undefined;
28
20
  /**
29
21
  * Extra class names added to the list.
30
22
  * @default ""
31
23
  */
32
- className?: string;
33
- }): import("react").JSX.Element;
24
+ className?: string | undefined;
25
+ }
26
+ /**
27
+ * A read-only grid of files: a type tile, the name, then the size and a meta line. A file with an
28
+ * `href` is a link to it; a file with `to` is an in-app link, routed through `linkComponent`.
29
+ *
30
+ * @param props
31
+ * @param props.label Accessible name of the list.
32
+ * @param [props.files]
33
+ * @param [props.linkComponent] Router link (e.g. react-router Link) for in-app destinations; it receives `to` instead of `href`. Absolute, `#` and scheme hrefs stay plain anchors. Keeps the library router-agnostic.
34
+ * @param [props.className]
35
+ */
36
+ export default function AppFileTiles(props: AppFileTilesProps): ReactElement;
@@ -1,46 +1,52 @@
1
- import "@webority/ui-elements/file-viewer";
2
- declare const AppFileViewer: import("react").ForwardRefExoticComponent<{
1
+ import { type ComponentPropsWithoutRef, type CSSProperties, type ReactNode } from "react";
2
+ export interface AppFileViewerElement extends HTMLElement {
3
+ prefs: Record<string, unknown>;
4
+ readonly actionsContainer: HTMLElement | null;
5
+ seekTo(seconds: number): boolean;
6
+ }
7
+ export interface AppFileViewerProps extends Omit<ComponentPropsWithoutRef<"div">, "onLoad" | "onError"> {
3
8
  /** The file's URL. Changing it opens the new file. Without one the viewer draws its frame with a "No file to show." message. */
4
- src?: string;
9
+ src?: string | undefined;
5
10
  /** The name shown in the toolbar and used for printing and download. Defaults to the last part of src. */
6
- name?: string;
11
+ name?: string | undefined;
7
12
  /** The file's MIME type. Defaults to a guess from the extension of name or src. */
8
- type?: string;
13
+ type?: string | undefined;
9
14
  /** The view settings to start from, when your app stores them itself (for example against the signed-in person). Read when a file opens. With it, the browser stores nothing; save what onPrefsChange hands you and pass it back next time. */
10
- prefs?: object;
11
- onPrefsChange?: (prefs: object) => void;
15
+ prefs?: Record<string, unknown> | undefined;
16
+ onPrefsChange?: ((prefs: Record<string, unknown>) => void) | undefined;
12
17
  /** Remembers the view settings (zoom, two-page view, thumbnails) in this browser under this key. Without it they last for the viewer's life. */
13
- viewKey?: string;
18
+ viewKey?: string | undefined;
14
19
  /**
15
20
  * Shows a download button in the toolbar.
16
21
  * @default false
17
22
  */
18
- download?: boolean;
23
+ download?: boolean | undefined;
19
24
  /**
20
25
  * Shows the print button for a PDF or an image. Pass false to hide it.
21
26
  * @default true
22
27
  */
23
- print?: boolean;
28
+ print?: boolean | undefined;
24
29
  /** URL of a hosted pdf.js worker, for a site whose content security policy refuses blob: workers. Defaults to the bundled copy. */
25
- workerSrc?: string;
30
+ workerSrc?: string | undefined;
26
31
  /** A WebVTT captions file for a video; adds a captions button to the player. */
27
- captions?: string;
32
+ captions?: string | undefined;
28
33
  /** Folder holding pdf.js's cmaps/, standard_fonts/ and wasm/, which unusual PDFs need (Asian text, fonts a file does not embed, some scanned images). */
29
- assetBase?: string;
34
+ assetBase?: string | undefined;
30
35
  /** Your own controls, shown at the end of the toolbar. Hidden in full screen. */
31
- actions?: import('react').ReactNode;
32
- onLoad?: (detail: {
36
+ actions?: ReactNode | undefined;
37
+ onLoad?: ((detail: {
33
38
  kind: string;
34
39
  pages: number;
35
- }) => void;
36
- onError?: (detail: {
40
+ }) => void) | undefined;
41
+ onError?: ((detail: {
37
42
  message: string;
38
- }) => void;
43
+ }) => void) | undefined;
39
44
  /**
40
45
  * Extra classes on the element.
41
46
  * @default ""
42
47
  */
43
- className?: string;
44
- style?: import('react').CSSProperties;
45
- } & import("react").RefAttributes<HTMLElement>>;
48
+ className?: string | undefined;
49
+ style?: CSSProperties | undefined;
50
+ }
51
+ declare const AppFileViewer: import("react").ForwardRefExoticComponent<AppFileViewerProps & import("react").RefAttributes<AppFileViewerElement>>;
46
52
  export default AppFileViewer;