@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.
- package/dist/canvas-kit/kit.js +699 -161649
- package/dist/canvas-kit/manifest.json +192 -97
- package/dist/canvas-kit/release.json +6 -6
- package/dist/components/AppAccordion.js +1 -1
- package/dist/components/AppAccountSwitcher.js +1 -1
- package/dist/components/AppActionIcon.js +1 -1
- package/dist/components/AppAlert.js +1 -1
- package/dist/components/AppAsyncBlock.js +1 -1
- package/dist/components/AppAuthLayout.js +1 -1
- package/dist/components/AppAvatar.js +1 -1
- package/dist/components/AppAvatarGroup.js +1 -1
- package/dist/components/AppBadge.js +1 -1
- package/dist/components/AppBanner.js +1 -1
- package/dist/components/AppBreadcrumbs.js +1 -1
- package/dist/components/AppButton.js +1 -1
- package/dist/components/AppCalendar.js +1 -1
- package/dist/components/AppCard.js +1 -1
- package/dist/components/AppCarousel.js +1 -1
- package/dist/components/AppChart.js +1 -1
- package/dist/components/AppChartCard.js +1 -1
- package/dist/components/AppCheckbox.js +1 -1
- package/dist/components/AppChipGroup.js +1 -1
- package/dist/components/AppChoiceCard.js +1 -1
- package/dist/components/AppChoiceChip.js +1 -1
- package/dist/components/AppCodeBlock.js +1 -1
- package/dist/components/AppCommandPalette.js +1 -1
- package/dist/components/AppCommentThread.js +1 -1
- package/dist/components/AppCompareTable.js +1 -1
- package/dist/components/AppConfirmDialog.js +1 -1
- package/dist/components/AppConsentBanner.js +1 -1
- package/dist/components/AppContextMenu.js +1 -1
- package/dist/components/AppCopyButton.js +1 -1
- package/dist/components/AppDashboardCell.js +1 -1
- package/dist/components/AppDataTable.js +1 -1
- package/dist/components/AppDatePicker.js +1 -1
- package/dist/components/AppDateRangePicker.js +1 -1
- package/dist/components/AppDescriptions.js +1 -1
- package/dist/components/AppDrawer.js +1 -1
- package/dist/components/AppDropZone.js +1 -1
- package/dist/components/AppDropdown.js +1 -1
- package/dist/components/AppDueDate.js +1 -1
- package/dist/components/AppEmptyState.js +1 -1
- package/dist/components/AppFileAttachment.js +1 -1
- package/dist/components/AppFilePicker.js +1 -1
- package/dist/components/AppFileTiles.js +1 -1
- package/dist/components/AppFileViewer.js +1 -1
- package/dist/components/AppFilterBar.js +1 -1
- package/dist/components/AppFloatingDock.js +1 -1
- package/dist/components/AppHoverCard.js +1 -1
- package/dist/components/AppIcon.js +1 -1
- package/dist/components/AppImagePicker.js +1 -1
- package/dist/components/AppInlineEdit.js +1 -1
- package/dist/components/AppInput.js +1 -1
- package/dist/components/AppKanban.js +1 -1
- package/dist/components/AppKbd.js +1 -1
- package/dist/components/AppKpiTile.js +1 -1
- package/dist/components/AppLeadPopup.js +1 -1
- package/dist/components/AppLightbox.js +1 -1
- package/dist/components/AppLink.js +1 -1
- package/dist/components/AppMarkdown.js +1 -1
- package/dist/components/AppMentionInput.js +1 -1
- package/dist/components/AppMetricStrip.js +1 -1
- package/dist/components/AppModal.js +1 -1
- package/dist/components/AppNavList.js +1 -1
- package/dist/components/AppNavigationMenu.js +1 -1
- package/dist/components/AppNotificationCenter.js +1 -1
- package/dist/components/AppNumberInput.js +1 -1
- package/dist/components/AppOnboardingChecklist.js +1 -1
- package/dist/components/AppOrgTree.js +1 -1
- package/dist/components/AppOtpInput.js +1 -1
- package/dist/components/AppPageHeader.js +1 -1
- package/dist/components/AppPhoneNumberInput.js +1 -1
- package/dist/components/AppPopover.js +1 -1
- package/dist/components/AppQrCode.js +1 -1
- package/dist/components/AppRadio.js +1 -1
- package/dist/components/AppRating.js +1 -1
- package/dist/components/AppRecordPager.js +1 -1
- package/dist/components/AppRelativeTime.js +1 -1
- package/dist/components/AppRepeater.js +1 -1
- package/dist/components/AppResizable.js +1 -1
- package/dist/components/AppResourceCard.js +1 -1
- package/dist/components/AppResult.js +1 -1
- package/dist/components/AppRichText.js +1 -1
- package/dist/components/AppRollingNumber.js +1 -1
- package/dist/components/AppSearch.js +1 -1
- package/dist/components/AppSectionLeadCapture.js +1 -1
- package/dist/components/AppSectionLogos.js +1 -1
- package/dist/components/AppSegmented.js +1 -1
- package/dist/components/AppSelect.js +1 -1
- package/dist/components/AppSeoHead.js +1 -1
- package/dist/components/AppShell.js +1 -1
- package/dist/components/AppShortcutLegend.js +1 -1
- package/dist/components/AppShowMore.js +1 -1
- package/dist/components/AppSkeleton.js +1 -1
- package/dist/components/AppSkeletonLines.js +1 -1
- package/dist/components/AppSlider.js +1 -1
- package/dist/components/AppSortableList.js +1 -1
- package/dist/components/AppSparkline.js +1 -1
- package/dist/components/AppSplash.js +1 -1
- package/dist/components/AppSplitView.js +1 -1
- package/dist/components/AppStatusBadge.js +1 -1
- package/dist/components/AppStepper.js +1 -1
- package/dist/components/AppSwitch.js +1 -1
- package/dist/components/AppTablePagination.js +1 -1
- package/dist/components/AppTabs.js +1 -1
- package/dist/components/AppTextarea.js +1 -1
- package/dist/components/AppThemeToggle.js +1 -1
- package/dist/components/AppTimePicker.js +1 -1
- package/dist/components/AppTimeline.js +1 -1
- package/dist/components/AppToast.js +1 -1
- package/dist/components/AppTooltip.js +1 -1
- package/dist/components/AppTour.js +1 -1
- package/dist/components/AppTreeView.js +1 -1
- package/dist/components/AppTruncate.js +1 -1
- package/dist/components/AppWhatsNew.js +1 -1
- package/dist/components/AppWizard.js +1 -1
- package/dist/components/AppWorkspaceSwitcher.js +1 -1
- package/dist/components/ModalIcons.js +1 -1
- package/dist/components/assertValidValue.js +1 -1
- package/dist/components/iconCatalogFull/bold/a.g.js +1 -1
- package/dist/components/iconCatalogFull/bold/b.g.js +1 -1
- package/dist/components/iconCatalogFull/bold/c.g.js +1 -1
- package/dist/components/iconCatalogFull/bold/d.g.js +1 -1
- package/dist/components/iconCatalogFull/bold/e.g.js +1 -1
- package/dist/components/iconCatalogFull/bold/f.g.js +1 -1
- package/dist/components/iconCatalogFull/bold/g.g.js +1 -1
- package/dist/components/iconCatalogFull/bold/h.g.js +1 -1
- package/dist/components/iconCatalogFull/bold/i.g.js +1 -1
- package/dist/components/iconCatalogFull/bold/j.g.js +1 -1
- package/dist/components/iconCatalogFull/bold/k.g.js +1 -1
- package/dist/components/iconCatalogFull/bold/l.g.js +1 -1
- package/dist/components/iconCatalogFull/bold/m.g.js +1 -1
- package/dist/components/iconCatalogFull/bold/n.g.js +1 -1
- package/dist/components/iconCatalogFull/bold/o.g.js +1 -1
- package/dist/components/iconCatalogFull/bold/p.g.js +1 -1
- package/dist/components/iconCatalogFull/bold/q.g.js +1 -1
- package/dist/components/iconCatalogFull/bold/r.g.js +1 -1
- package/dist/components/iconCatalogFull/bold/s.g.js +1 -1
- package/dist/components/iconCatalogFull/bold/t.g.js +1 -1
- package/dist/components/iconCatalogFull/bold/u.g.js +1 -1
- package/dist/components/iconCatalogFull/bold/v.g.js +1 -1
- package/dist/components/iconCatalogFull/bold/w.g.js +1 -1
- package/dist/components/iconCatalogFull/bold/x.g.js +1 -1
- package/dist/components/iconCatalogFull/bold/y.g.js +1 -1
- package/dist/components/iconCatalogFull/bold/z.g.js +1 -1
- package/dist/components/iconCatalogFull/broken/a.g.js +1 -1
- package/dist/components/iconCatalogFull/broken/b.g.js +1 -1
- package/dist/components/iconCatalogFull/broken/c.g.js +1 -1
- package/dist/components/iconCatalogFull/broken/d.g.js +1 -1
- package/dist/components/iconCatalogFull/broken/e.g.js +1 -1
- package/dist/components/iconCatalogFull/broken/f.g.js +1 -1
- package/dist/components/iconCatalogFull/broken/g.g.js +1 -1
- package/dist/components/iconCatalogFull/broken/h.g.js +1 -1
- package/dist/components/iconCatalogFull/broken/i.g.js +1 -1
- package/dist/components/iconCatalogFull/broken/j.g.js +1 -1
- package/dist/components/iconCatalogFull/broken/k.g.js +1 -1
- package/dist/components/iconCatalogFull/broken/l.g.js +1 -1
- package/dist/components/iconCatalogFull/broken/m.g.js +1 -1
- package/dist/components/iconCatalogFull/broken/n.g.js +1 -1
- package/dist/components/iconCatalogFull/broken/o.g.js +1 -1
- package/dist/components/iconCatalogFull/broken/p.g.js +1 -1
- package/dist/components/iconCatalogFull/broken/q.g.js +1 -1
- package/dist/components/iconCatalogFull/broken/r.g.js +1 -1
- package/dist/components/iconCatalogFull/broken/s.g.js +1 -1
- package/dist/components/iconCatalogFull/broken/t.g.js +1 -1
- package/dist/components/iconCatalogFull/broken/u.g.js +1 -1
- package/dist/components/iconCatalogFull/broken/v.g.js +1 -1
- package/dist/components/iconCatalogFull/broken/w.g.js +1 -1
- package/dist/components/iconCatalogFull/broken/x.g.js +1 -1
- package/dist/components/iconCatalogFull/broken/y.g.js +1 -1
- package/dist/components/iconCatalogFull/broken/z.g.js +1 -1
- package/dist/components/iconCatalogFull/bulk/a.g.js +1 -1
- package/dist/components/iconCatalogFull/bulk/b.g.js +1 -1
- package/dist/components/iconCatalogFull/bulk/c.g.js +1 -1
- package/dist/components/iconCatalogFull/bulk/d.g.js +1 -1
- package/dist/components/iconCatalogFull/bulk/e.g.js +1 -1
- package/dist/components/iconCatalogFull/bulk/f.g.js +1 -1
- package/dist/components/iconCatalogFull/bulk/g.g.js +1 -1
- package/dist/components/iconCatalogFull/bulk/h.g.js +1 -1
- package/dist/components/iconCatalogFull/bulk/i.g.js +1 -1
- package/dist/components/iconCatalogFull/bulk/j.g.js +1 -1
- package/dist/components/iconCatalogFull/bulk/k.g.js +1 -1
- package/dist/components/iconCatalogFull/bulk/l.g.js +1 -1
- package/dist/components/iconCatalogFull/bulk/m.g.js +1 -1
- package/dist/components/iconCatalogFull/bulk/n.g.js +1 -1
- package/dist/components/iconCatalogFull/bulk/o.g.js +1 -1
- package/dist/components/iconCatalogFull/bulk/p.g.js +1 -1
- package/dist/components/iconCatalogFull/bulk/q.g.js +1 -1
- package/dist/components/iconCatalogFull/bulk/r.g.js +1 -1
- package/dist/components/iconCatalogFull/bulk/s.g.js +1 -1
- package/dist/components/iconCatalogFull/bulk/t.g.js +1 -1
- package/dist/components/iconCatalogFull/bulk/u.g.js +1 -1
- package/dist/components/iconCatalogFull/bulk/v.g.js +1 -1
- package/dist/components/iconCatalogFull/bulk/w.g.js +1 -1
- package/dist/components/iconCatalogFull/bulk/x.g.js +1 -1
- package/dist/components/iconCatalogFull/bulk/y.g.js +1 -1
- package/dist/components/iconCatalogFull/bulk/z.g.js +1 -1
- package/dist/components/iconCatalogFull/linear/a.g.js +1 -1
- package/dist/components/iconCatalogFull/linear/b.g.js +1 -1
- package/dist/components/iconCatalogFull/linear/c.g.js +1 -1
- package/dist/components/iconCatalogFull/linear/d.g.js +1 -1
- package/dist/components/iconCatalogFull/linear/e.g.js +1 -1
- package/dist/components/iconCatalogFull/linear/f.g.js +1 -1
- package/dist/components/iconCatalogFull/linear/g.g.js +1 -1
- package/dist/components/iconCatalogFull/linear/h.g.js +1 -1
- package/dist/components/iconCatalogFull/linear/i.g.js +1 -1
- package/dist/components/iconCatalogFull/linear/j.g.js +1 -1
- package/dist/components/iconCatalogFull/linear/k.g.js +1 -1
- package/dist/components/iconCatalogFull/linear/l.g.js +1 -1
- package/dist/components/iconCatalogFull/linear/m.g.js +1 -1
- package/dist/components/iconCatalogFull/linear/n.g.js +1 -1
- package/dist/components/iconCatalogFull/linear/o.g.js +1 -1
- package/dist/components/iconCatalogFull/linear/p.g.js +1 -1
- package/dist/components/iconCatalogFull/linear/q.g.js +1 -1
- package/dist/components/iconCatalogFull/linear/r.g.js +1 -1
- package/dist/components/iconCatalogFull/linear/s.g.js +1 -1
- package/dist/components/iconCatalogFull/linear/t.g.js +1 -1
- package/dist/components/iconCatalogFull/linear/u.g.js +1 -1
- package/dist/components/iconCatalogFull/linear/v.g.js +1 -1
- package/dist/components/iconCatalogFull/linear/w.g.js +1 -1
- package/dist/components/iconCatalogFull/linear/x.g.js +1 -1
- package/dist/components/iconCatalogFull/linear/y.g.js +1 -1
- package/dist/components/iconCatalogFull/linear/z.g.js +1 -1
- package/dist/components/iconCatalogFull/outline/a.g.js +1 -1
- package/dist/components/iconCatalogFull/outline/b.g.js +1 -1
- package/dist/components/iconCatalogFull/outline/c.g.js +1 -1
- package/dist/components/iconCatalogFull/outline/d.g.js +1 -1
- package/dist/components/iconCatalogFull/outline/e.g.js +1 -1
- package/dist/components/iconCatalogFull/outline/f.g.js +1 -1
- package/dist/components/iconCatalogFull/outline/g.g.js +1 -1
- package/dist/components/iconCatalogFull/outline/h.g.js +1 -1
- package/dist/components/iconCatalogFull/outline/i.g.js +1 -1
- package/dist/components/iconCatalogFull/outline/j.g.js +1 -1
- package/dist/components/iconCatalogFull/outline/k.g.js +1 -1
- package/dist/components/iconCatalogFull/outline/l.g.js +1 -1
- package/dist/components/iconCatalogFull/outline/m.g.js +1 -1
- package/dist/components/iconCatalogFull/outline/n.g.js +1 -1
- package/dist/components/iconCatalogFull/outline/o.g.js +1 -1
- package/dist/components/iconCatalogFull/outline/p.g.js +1 -1
- package/dist/components/iconCatalogFull/outline/q.g.js +1 -1
- package/dist/components/iconCatalogFull/outline/r.g.js +1 -1
- package/dist/components/iconCatalogFull/outline/s.g.js +1 -1
- package/dist/components/iconCatalogFull/outline/t.g.js +1 -1
- package/dist/components/iconCatalogFull/outline/u.g.js +1 -1
- package/dist/components/iconCatalogFull/outline/v.g.js +1 -1
- package/dist/components/iconCatalogFull/outline/w.g.js +1 -1
- package/dist/components/iconCatalogFull/outline/x.g.js +1 -1
- package/dist/components/iconCatalogFull/outline/y.g.js +1 -1
- package/dist/components/iconCatalogFull/outline/z.g.js +1 -1
- package/dist/components/iconCatalogFull/twotone/a.g.js +1 -1
- package/dist/components/iconCatalogFull/twotone/b.g.js +1 -1
- package/dist/components/iconCatalogFull/twotone/c.g.js +1 -1
- package/dist/components/iconCatalogFull/twotone/d.g.js +1 -1
- package/dist/components/iconCatalogFull/twotone/e.g.js +1 -1
- package/dist/components/iconCatalogFull/twotone/f.g.js +1 -1
- package/dist/components/iconCatalogFull/twotone/g.g.js +1 -1
- package/dist/components/iconCatalogFull/twotone/h.g.js +1 -1
- package/dist/components/iconCatalogFull/twotone/i.g.js +1 -1
- package/dist/components/iconCatalogFull/twotone/j.g.js +1 -1
- package/dist/components/iconCatalogFull/twotone/k.g.js +1 -1
- package/dist/components/iconCatalogFull/twotone/l.g.js +1 -1
- package/dist/components/iconCatalogFull/twotone/m.g.js +1 -1
- package/dist/components/iconCatalogFull/twotone/n.g.js +1 -1
- package/dist/components/iconCatalogFull/twotone/o.g.js +1 -1
- package/dist/components/iconCatalogFull/twotone/p.g.js +1 -1
- package/dist/components/iconCatalogFull/twotone/q.g.js +1 -1
- package/dist/components/iconCatalogFull/twotone/r.g.js +1 -1
- package/dist/components/iconCatalogFull/twotone/s.g.js +1 -1
- package/dist/components/iconCatalogFull/twotone/t.g.js +1 -1
- package/dist/components/iconCatalogFull/twotone/u.g.js +1 -1
- package/dist/components/iconCatalogFull/twotone/v.g.js +1 -1
- package/dist/components/iconCatalogFull/twotone/w.g.js +1 -1
- package/dist/components/iconCatalogFull/twotone/x.g.js +1 -1
- package/dist/components/iconCatalogFull/twotone/y.g.js +1 -1
- package/dist/components/iconCatalogFull/twotone/z.g.js +1 -1
- package/dist/components/iconGlyphs.g.js +1 -1
- package/dist/components/iconVariants.g.js +1 -1
- package/dist/components/textOf.js +1 -0
- package/dist/components/toastStore.js +1 -1
- package/dist/components/useNodeLabels.js +1 -1
- package/dist/components/useWuiControl.js +1 -1
- package/dist/guidance.json +17 -14
- package/dist/lib/CheckField.js +1 -1
- package/dist/lib/FileItemRow.js +1 -1
- package/dist/lib/FocusPanel.js +1 -1
- package/dist/lib/TargetLink.js +1 -0
- package/dist/lib/buttonClass.js +1 -1
- package/dist/lib/emptyIllustration.js +1 -1
- package/dist/lib/fileItem.js +1 -1
- package/dist/lib/flagStyles.js +1 -1
- package/dist/lib/initials.js +1 -1
- package/dist/lib/linkTarget.js +1 -1
- package/dist/lib/pageScrollLock.js +1 -1
- package/dist/lib/qrCode.js +1 -1
- package/dist/lib/sectionShell.js +1 -1
- package/dist/lib/svgNodes.js +1 -0
- package/dist/lib/useElementEntry.js +1 -0
- package/dist/lib/useFileDrop.js +1 -1
- package/dist/lib/useTableView.js +1 -1
- package/dist/lib/wuiMarker.js +1 -1
- package/dist/markdown-core/dist/parse.js +3 -3
- package/dist/types/components/AppAccordion.d.ts +31 -34
- package/dist/types/components/AppAccountSwitcher.d.ts +29 -30
- package/dist/types/components/AppActionIcon.d.ts +39 -57
- package/dist/types/components/AppAlert.d.ts +35 -50
- package/dist/types/components/AppAsyncBlock.d.ts +23 -46
- package/dist/types/components/AppAuthLayout.d.ts +9 -22
- package/dist/types/components/AppAvatar.d.ts +26 -43
- package/dist/types/components/AppAvatarGroup.d.ts +11 -16
- package/dist/types/components/AppBadge.d.ts +13 -19
- package/dist/types/components/AppBanner.d.ts +18 -21
- package/dist/types/components/AppBreadcrumbs.d.ts +24 -20
- package/dist/types/components/AppButton.d.ts +65 -55
- package/dist/types/components/AppButtonGroup.d.ts +24 -22
- package/dist/types/components/AppCalendar.d.ts +35 -31
- package/dist/types/components/AppCard.d.ts +47 -67
- package/dist/types/components/AppCarousel.d.ts +35 -51
- package/dist/types/components/AppCell.d.ts +22 -21
- package/dist/types/components/AppChart.d.ts +93 -54
- package/dist/types/components/AppChartCard.d.ts +46 -58
- package/dist/types/components/AppCheckbox.d.ts +33 -18
- package/dist/types/components/AppChip.d.ts +32 -43
- package/dist/types/components/AppChipGroup.d.ts +17 -22
- package/dist/types/components/AppChoiceCard.d.ts +30 -54
- package/dist/types/components/AppChoiceChip.d.ts +42 -38
- package/dist/types/components/AppCodeBlock.d.ts +29 -28
- package/dist/types/components/AppColorField.d.ts +59 -57
- package/dist/types/components/AppColumnMenu.d.ts +21 -19
- package/dist/types/components/AppCommandPalette.d.ts +97 -102
- package/dist/types/components/AppCommentThread.d.ts +106 -181
- package/dist/types/components/AppCompareTable.d.ts +52 -57
- package/dist/types/components/AppConfirmDialog.d.ts +31 -46
- package/dist/types/components/AppConfirmProvider.d.ts +18 -21
- package/dist/types/components/AppConsentBanner.d.ts +43 -54
- package/dist/types/components/AppContextMenu.d.ts +63 -51
- package/dist/types/components/AppCopyButton.d.ts +26 -24
- package/dist/types/components/AppCountryFlag.d.ts +10 -8
- package/dist/types/components/AppDashboardCell.d.ts +14 -12
- package/dist/types/components/AppDashboardGrid.d.ts +9 -7
- package/dist/types/components/AppDataTable.d.ts +147 -144
- package/dist/types/components/AppDatePicker.d.ts +39 -28
- package/dist/types/components/AppDateRangePicker.d.ts +53 -40
- package/dist/types/components/AppDescriptions.d.ts +43 -38
- package/dist/types/components/AppDetailPane.d.ts +14 -19
- package/dist/types/components/AppDrawer.d.ts +46 -74
- package/dist/types/components/AppDropZone.d.ts +43 -47
- package/dist/types/components/AppDropdown.d.ts +59 -72
- package/dist/types/components/AppDueDate.d.ts +25 -39
- package/dist/types/components/AppEmptyState.d.ts +26 -36
- package/dist/types/components/AppErrorBoundary.d.ts +29 -29
- package/dist/types/components/AppErrorSummary.d.ts +27 -24
- package/dist/types/components/AppFileAttachment.d.ts +87 -70
- package/dist/types/components/AppFilePicker.d.ts +109 -95
- package/dist/types/components/AppFileTiles.d.ts +26 -23
- package/dist/types/components/AppFileViewer.d.ts +27 -21
- package/dist/types/components/AppFilterBar.d.ts +87 -84
- package/dist/types/components/AppFloatingButton.d.ts +37 -35
- package/dist/types/components/AppFloatingDock.d.ts +47 -41
- package/dist/types/components/AppFormActions.d.ts +21 -19
- package/dist/types/components/AppFormRow.d.ts +16 -19
- package/dist/types/components/AppFormSection.d.ts +24 -34
- package/dist/types/components/AppHoverCard.d.ts +28 -35
- package/dist/types/components/AppIcon.d.ts +29 -38
- package/dist/types/components/AppImagePicker.d.ts +54 -99
- package/dist/types/components/AppInfoTip.d.ts +17 -21
- package/dist/types/components/AppInlineEdit.d.ts +46 -51
- package/dist/types/components/AppInput.d.ts +82 -61
- package/dist/types/components/AppInputGroup.d.ts +22 -29
- package/dist/types/components/AppKanban.d.ts +110 -118
- package/dist/types/components/AppKbd.d.ts +12 -11
- package/dist/types/components/AppKpiTile.d.ts +45 -59
- package/dist/types/components/AppLeadPopup.d.ts +81 -38
- package/dist/types/components/AppLightbox.d.ts +44 -41
- package/dist/types/components/AppLink.d.ts +45 -42
- package/dist/types/components/AppMarkdown.d.ts +30 -37
- package/dist/types/components/AppMentionInput.d.ts +52 -40
- package/dist/types/components/AppMeter.d.ts +30 -33
- package/dist/types/components/AppMetricStrip.d.ts +29 -25
- package/dist/types/components/AppModal.d.ts +48 -51
- package/dist/types/components/AppNavList.d.ts +28 -27
- package/dist/types/components/AppNavigationMenu.d.ts +36 -33
- package/dist/types/components/AppNotificationCenter.d.ts +59 -92
- package/dist/types/components/AppNumberInput.d.ts +52 -30
- package/dist/types/components/AppOnboardingChecklist.d.ts +58 -48
- package/dist/types/components/AppOrgTree.d.ts +59 -29
- package/dist/types/components/AppOtpInput.d.ts +42 -25
- package/dist/types/components/AppPageHeader.d.ts +44 -66
- package/dist/types/components/AppPhoneNumberInput.d.ts +29 -27
- package/dist/types/components/AppPopover.d.ts +48 -37
- package/dist/types/components/AppPricingCard.d.ts +28 -37
- package/dist/types/components/AppProgress.d.ts +21 -29
- package/dist/types/components/AppQrCode.d.ts +19 -24
- package/dist/types/components/AppRadio.d.ts +24 -18
- package/dist/types/components/AppRadioGroup.d.ts +38 -61
- package/dist/types/components/AppRating.d.ts +38 -62
- package/dist/types/components/AppRecordPager.d.ts +28 -37
- package/dist/types/components/AppRelativeTime.d.ts +13 -16
- package/dist/types/components/AppRepeater.d.ts +41 -49
- package/dist/types/components/AppRequiredMark.d.ts +4 -4
- package/dist/types/components/AppResizable.d.ts +16 -17
- package/dist/types/components/AppResizableHandle.d.ts +5 -12
- package/dist/types/components/AppResizablePanel.d.ts +7 -20
- package/dist/types/components/AppResourceCard.d.ts +9 -21
- package/dist/types/components/AppResult.d.ts +23 -31
- package/dist/types/components/AppRichText.d.ts +46 -21
- package/dist/types/components/AppRollingNumber.d.ts +18 -25
- package/dist/types/components/AppRouteError.d.ts +32 -50
- package/dist/types/components/AppRowSwitch.d.ts +4 -9
- package/dist/types/components/AppScoreScale.d.ts +44 -42
- package/dist/types/components/AppScrollbar.d.ts +11 -16
- package/dist/types/components/AppSearch.d.ts +39 -37
- package/dist/types/components/AppSectionCallToAction.d.ts +28 -24
- package/dist/types/components/AppSectionFaq.d.ts +34 -32
- package/dist/types/components/AppSectionFeatures.d.ts +21 -30
- package/dist/types/components/AppSectionHero.d.ts +16 -24
- package/dist/types/components/AppSectionLeadCapture.d.ts +33 -51
- package/dist/types/components/AppSectionLogos.d.ts +25 -30
- package/dist/types/components/AppSectionPricing.d.ts +15 -20
- package/dist/types/components/AppSectionTestimonials.d.ts +26 -32
- package/dist/types/components/AppSegmented.d.ts +40 -55
- package/dist/types/components/AppSelect.d.ts +179 -116
- package/dist/types/components/AppSeoHead.d.ts +15 -21
- package/dist/types/components/AppShell.d.ts +206 -334
- package/dist/types/components/AppShortcutLegend.d.ts +32 -39
- package/dist/types/components/AppShowMore.d.ts +22 -29
- package/dist/types/components/AppSkeleton.d.ts +17 -26
- package/dist/types/components/AppSkeletonLines.d.ts +12 -16
- package/dist/types/components/AppSlider.d.ts +74 -48
- package/dist/types/components/AppSortableList.d.ts +47 -21
- package/dist/types/components/AppSparkline.d.ts +34 -33
- package/dist/types/components/AppSpinner.d.ts +18 -17
- package/dist/types/components/AppSplash.d.ts +24 -32
- package/dist/types/components/AppSplitButton.d.ts +41 -53
- package/dist/types/components/AppSplitView.d.ts +75 -97
- package/dist/types/components/AppStatusBadge.d.ts +19 -19
- package/dist/types/components/AppStepper.d.ts +57 -61
- package/dist/types/components/AppSwitch.d.ts +24 -27
- package/dist/types/components/AppTablePagination.d.ts +34 -55
- package/dist/types/components/AppTableToolbar.d.ts +31 -44
- package/dist/types/components/AppTabs.d.ts +62 -75
- package/dist/types/components/AppTextarea.d.ts +35 -51
- package/dist/types/components/AppThemeToggle.d.ts +60 -53
- package/dist/types/components/AppTimePicker.d.ts +29 -28
- package/dist/types/components/AppTimeline.d.ts +59 -60
- package/dist/types/components/AppToast.d.ts +26 -27
- package/dist/types/components/AppToolbar.d.ts +46 -52
- package/dist/types/components/AppTooltip.d.ts +26 -30
- package/dist/types/components/AppTour.d.ts +57 -41
- package/dist/types/components/AppTreeView.d.ts +53 -30
- package/dist/types/components/AppTruncate.d.ts +16 -21
- package/dist/types/components/AppUpdateBar.d.ts +21 -26
- package/dist/types/components/AppWhatsNew.d.ts +40 -48
- package/dist/types/components/AppWizard.d.ts +64 -48
- package/dist/types/components/AppWorkspaceSwitcher.d.ts +56 -60
- package/dist/types/components/ModalIcons.d.ts +17 -38
- package/dist/types/components/assertValidValue.d.ts +1 -5
- package/dist/types/components/iconCatalogFull/bold/a.g.d.ts +2 -77
- package/dist/types/components/iconCatalogFull/bold/b.g.d.ts +2 -83
- package/dist/types/components/iconCatalogFull/bold/c.g.d.ts +2 -113
- package/dist/types/components/iconCatalogFull/bold/d.g.d.ts +2 -55
- package/dist/types/components/iconCatalogFull/bold/e.g.d.ts +2 -35
- package/dist/types/components/iconCatalogFull/bold/f.g.d.ts +2 -43
- package/dist/types/components/iconCatalogFull/bold/g.g.d.ts +2 -42
- package/dist/types/components/iconCatalogFull/bold/h.g.d.ts +2 -42
- package/dist/types/components/iconCatalogFull/bold/i.g.d.ts +2 -19
- package/dist/types/components/iconCatalogFull/bold/j.g.d.ts +2 -5
- package/dist/types/components/iconCatalogFull/bold/k.g.d.ts +2 -8
- package/dist/types/components/iconCatalogFull/bold/l.g.d.ts +2 -40
- package/dist/types/components/iconCatalogFull/bold/m.g.d.ts +2 -99
- package/dist/types/components/iconCatalogFull/bold/n.g.d.ts +2 -21
- package/dist/types/components/iconCatalogFull/bold/o.g.d.ts +2 -8
- package/dist/types/components/iconCatalogFull/bold/p.g.d.ts +2 -49
- package/dist/types/components/iconCatalogFull/bold/q.g.d.ts +2 -9
- package/dist/types/components/iconCatalogFull/bold/r.g.d.ts +2 -48
- package/dist/types/components/iconCatalogFull/bold/s.g.d.ts +2 -107
- package/dist/types/components/iconCatalogFull/bold/t.g.d.ts +2 -64
- package/dist/types/components/iconCatalogFull/bold/u.g.d.ts +2 -17
- package/dist/types/components/iconCatalogFull/bold/v.g.d.ts +2 -28
- package/dist/types/components/iconCatalogFull/bold/w.g.d.ts +2 -29
- package/dist/types/components/iconCatalogFull/bold/x.g.d.ts +2 -5
- package/dist/types/components/iconCatalogFull/bold/y.g.d.ts +2 -3
- package/dist/types/components/iconCatalogFull/bold/z.g.d.ts +2 -4
- package/dist/types/components/iconCatalogFull/broken/a.g.d.ts +2 -77
- package/dist/types/components/iconCatalogFull/broken/b.g.d.ts +2 -83
- package/dist/types/components/iconCatalogFull/broken/c.g.d.ts +2 -113
- package/dist/types/components/iconCatalogFull/broken/d.g.d.ts +2 -55
- package/dist/types/components/iconCatalogFull/broken/e.g.d.ts +2 -35
- package/dist/types/components/iconCatalogFull/broken/f.g.d.ts +2 -43
- package/dist/types/components/iconCatalogFull/broken/g.g.d.ts +2 -42
- package/dist/types/components/iconCatalogFull/broken/h.g.d.ts +2 -42
- package/dist/types/components/iconCatalogFull/broken/i.g.d.ts +2 -19
- package/dist/types/components/iconCatalogFull/broken/j.g.d.ts +2 -5
- package/dist/types/components/iconCatalogFull/broken/k.g.d.ts +2 -8
- package/dist/types/components/iconCatalogFull/broken/l.g.d.ts +2 -40
- package/dist/types/components/iconCatalogFull/broken/m.g.d.ts +2 -99
- package/dist/types/components/iconCatalogFull/broken/n.g.d.ts +2 -21
- package/dist/types/components/iconCatalogFull/broken/o.g.d.ts +2 -8
- package/dist/types/components/iconCatalogFull/broken/p.g.d.ts +2 -49
- package/dist/types/components/iconCatalogFull/broken/q.g.d.ts +2 -9
- package/dist/types/components/iconCatalogFull/broken/r.g.d.ts +2 -48
- package/dist/types/components/iconCatalogFull/broken/s.g.d.ts +2 -107
- package/dist/types/components/iconCatalogFull/broken/t.g.d.ts +2 -64
- package/dist/types/components/iconCatalogFull/broken/u.g.d.ts +2 -17
- package/dist/types/components/iconCatalogFull/broken/v.g.d.ts +2 -28
- package/dist/types/components/iconCatalogFull/broken/w.g.d.ts +2 -29
- package/dist/types/components/iconCatalogFull/broken/x.g.d.ts +2 -5
- package/dist/types/components/iconCatalogFull/broken/y.g.d.ts +2 -3
- package/dist/types/components/iconCatalogFull/broken/z.g.d.ts +2 -4
- package/dist/types/components/iconCatalogFull/bulk/a.g.d.ts +2 -77
- package/dist/types/components/iconCatalogFull/bulk/b.g.d.ts +2 -83
- package/dist/types/components/iconCatalogFull/bulk/c.g.d.ts +2 -113
- package/dist/types/components/iconCatalogFull/bulk/d.g.d.ts +2 -55
- package/dist/types/components/iconCatalogFull/bulk/e.g.d.ts +2 -35
- package/dist/types/components/iconCatalogFull/bulk/f.g.d.ts +2 -43
- package/dist/types/components/iconCatalogFull/bulk/g.g.d.ts +2 -42
- package/dist/types/components/iconCatalogFull/bulk/h.g.d.ts +2 -42
- package/dist/types/components/iconCatalogFull/bulk/i.g.d.ts +2 -19
- package/dist/types/components/iconCatalogFull/bulk/j.g.d.ts +2 -5
- package/dist/types/components/iconCatalogFull/bulk/k.g.d.ts +2 -8
- package/dist/types/components/iconCatalogFull/bulk/l.g.d.ts +2 -40
- package/dist/types/components/iconCatalogFull/bulk/m.g.d.ts +2 -99
- package/dist/types/components/iconCatalogFull/bulk/n.g.d.ts +2 -21
- package/dist/types/components/iconCatalogFull/bulk/o.g.d.ts +2 -8
- package/dist/types/components/iconCatalogFull/bulk/p.g.d.ts +2 -49
- package/dist/types/components/iconCatalogFull/bulk/q.g.d.ts +2 -9
- package/dist/types/components/iconCatalogFull/bulk/r.g.d.ts +2 -48
- package/dist/types/components/iconCatalogFull/bulk/s.g.d.ts +2 -107
- package/dist/types/components/iconCatalogFull/bulk/t.g.d.ts +2 -64
- package/dist/types/components/iconCatalogFull/bulk/u.g.d.ts +2 -17
- package/dist/types/components/iconCatalogFull/bulk/v.g.d.ts +2 -28
- package/dist/types/components/iconCatalogFull/bulk/w.g.d.ts +2 -29
- package/dist/types/components/iconCatalogFull/bulk/x.g.d.ts +2 -5
- package/dist/types/components/iconCatalogFull/bulk/y.g.d.ts +2 -3
- package/dist/types/components/iconCatalogFull/bulk/z.g.d.ts +2 -4
- package/dist/types/components/iconCatalogFull/linear/a.g.d.ts +2 -77
- package/dist/types/components/iconCatalogFull/linear/b.g.d.ts +2 -83
- package/dist/types/components/iconCatalogFull/linear/c.g.d.ts +2 -113
- package/dist/types/components/iconCatalogFull/linear/d.g.d.ts +2 -55
- package/dist/types/components/iconCatalogFull/linear/e.g.d.ts +2 -35
- package/dist/types/components/iconCatalogFull/linear/f.g.d.ts +2 -43
- package/dist/types/components/iconCatalogFull/linear/g.g.d.ts +2 -42
- package/dist/types/components/iconCatalogFull/linear/h.g.d.ts +2 -42
- package/dist/types/components/iconCatalogFull/linear/i.g.d.ts +2 -19
- package/dist/types/components/iconCatalogFull/linear/j.g.d.ts +2 -5
- package/dist/types/components/iconCatalogFull/linear/k.g.d.ts +2 -8
- package/dist/types/components/iconCatalogFull/linear/l.g.d.ts +2 -40
- package/dist/types/components/iconCatalogFull/linear/m.g.d.ts +2 -99
- package/dist/types/components/iconCatalogFull/linear/n.g.d.ts +2 -21
- package/dist/types/components/iconCatalogFull/linear/o.g.d.ts +2 -8
- package/dist/types/components/iconCatalogFull/linear/p.g.d.ts +2 -49
- package/dist/types/components/iconCatalogFull/linear/q.g.d.ts +2 -9
- package/dist/types/components/iconCatalogFull/linear/r.g.d.ts +2 -48
- package/dist/types/components/iconCatalogFull/linear/s.g.d.ts +2 -107
- package/dist/types/components/iconCatalogFull/linear/t.g.d.ts +2 -64
- package/dist/types/components/iconCatalogFull/linear/u.g.d.ts +2 -17
- package/dist/types/components/iconCatalogFull/linear/v.g.d.ts +2 -28
- package/dist/types/components/iconCatalogFull/linear/w.g.d.ts +2 -29
- package/dist/types/components/iconCatalogFull/linear/x.g.d.ts +2 -5
- package/dist/types/components/iconCatalogFull/linear/y.g.d.ts +2 -3
- package/dist/types/components/iconCatalogFull/linear/z.g.d.ts +2 -4
- package/dist/types/components/iconCatalogFull/outline/a.g.d.ts +2 -77
- package/dist/types/components/iconCatalogFull/outline/b.g.d.ts +2 -83
- package/dist/types/components/iconCatalogFull/outline/c.g.d.ts +2 -113
- package/dist/types/components/iconCatalogFull/outline/d.g.d.ts +2 -55
- package/dist/types/components/iconCatalogFull/outline/e.g.d.ts +2 -35
- package/dist/types/components/iconCatalogFull/outline/f.g.d.ts +2 -43
- package/dist/types/components/iconCatalogFull/outline/g.g.d.ts +2 -42
- package/dist/types/components/iconCatalogFull/outline/h.g.d.ts +2 -42
- package/dist/types/components/iconCatalogFull/outline/i.g.d.ts +2 -19
- package/dist/types/components/iconCatalogFull/outline/j.g.d.ts +2 -5
- package/dist/types/components/iconCatalogFull/outline/k.g.d.ts +2 -8
- package/dist/types/components/iconCatalogFull/outline/l.g.d.ts +2 -40
- package/dist/types/components/iconCatalogFull/outline/m.g.d.ts +2 -99
- package/dist/types/components/iconCatalogFull/outline/n.g.d.ts +2 -21
- package/dist/types/components/iconCatalogFull/outline/o.g.d.ts +2 -8
- package/dist/types/components/iconCatalogFull/outline/p.g.d.ts +2 -49
- package/dist/types/components/iconCatalogFull/outline/q.g.d.ts +2 -9
- package/dist/types/components/iconCatalogFull/outline/r.g.d.ts +2 -48
- package/dist/types/components/iconCatalogFull/outline/s.g.d.ts +2 -107
- package/dist/types/components/iconCatalogFull/outline/t.g.d.ts +2 -64
- package/dist/types/components/iconCatalogFull/outline/u.g.d.ts +2 -17
- package/dist/types/components/iconCatalogFull/outline/v.g.d.ts +2 -28
- package/dist/types/components/iconCatalogFull/outline/w.g.d.ts +2 -29
- package/dist/types/components/iconCatalogFull/outline/x.g.d.ts +2 -5
- package/dist/types/components/iconCatalogFull/outline/y.g.d.ts +2 -3
- package/dist/types/components/iconCatalogFull/outline/z.g.d.ts +2 -4
- package/dist/types/components/iconCatalogFull/twotone/a.g.d.ts +2 -77
- package/dist/types/components/iconCatalogFull/twotone/b.g.d.ts +2 -83
- package/dist/types/components/iconCatalogFull/twotone/c.g.d.ts +2 -113
- package/dist/types/components/iconCatalogFull/twotone/d.g.d.ts +2 -55
- package/dist/types/components/iconCatalogFull/twotone/e.g.d.ts +2 -35
- package/dist/types/components/iconCatalogFull/twotone/f.g.d.ts +2 -43
- package/dist/types/components/iconCatalogFull/twotone/g.g.d.ts +2 -42
- package/dist/types/components/iconCatalogFull/twotone/h.g.d.ts +2 -42
- package/dist/types/components/iconCatalogFull/twotone/i.g.d.ts +2 -19
- package/dist/types/components/iconCatalogFull/twotone/j.g.d.ts +2 -5
- package/dist/types/components/iconCatalogFull/twotone/k.g.d.ts +2 -8
- package/dist/types/components/iconCatalogFull/twotone/l.g.d.ts +2 -40
- package/dist/types/components/iconCatalogFull/twotone/m.g.d.ts +2 -99
- package/dist/types/components/iconCatalogFull/twotone/n.g.d.ts +2 -21
- package/dist/types/components/iconCatalogFull/twotone/o.g.d.ts +2 -8
- package/dist/types/components/iconCatalogFull/twotone/p.g.d.ts +2 -49
- package/dist/types/components/iconCatalogFull/twotone/q.g.d.ts +2 -9
- package/dist/types/components/iconCatalogFull/twotone/r.g.d.ts +2 -48
- package/dist/types/components/iconCatalogFull/twotone/s.g.d.ts +2 -107
- package/dist/types/components/iconCatalogFull/twotone/t.g.d.ts +2 -64
- package/dist/types/components/iconCatalogFull/twotone/u.g.d.ts +2 -17
- package/dist/types/components/iconCatalogFull/twotone/v.g.d.ts +2 -28
- package/dist/types/components/iconCatalogFull/twotone/w.g.d.ts +2 -29
- package/dist/types/components/iconCatalogFull/twotone/x.g.d.ts +2 -5
- package/dist/types/components/iconCatalogFull/twotone/y.g.d.ts +2 -3
- package/dist/types/components/iconCatalogFull/twotone/z.g.d.ts +2 -4
- package/dist/types/components/iconCatalogLoaders.g.d.ts +10 -171
- package/dist/types/components/iconGlyphs.g.d.ts +2 -238
- package/dist/types/components/iconVariants.g.d.ts +2 -1167
- package/dist/types/components/renderIconProp.d.ts +10 -9
- package/dist/types/components/textOf.d.ts +3 -0
- package/dist/types/components/toast.d.ts +13 -5
- package/dist/types/components/toastStore.d.ts +33 -4
- package/dist/types/components/useNodeLabels.d.ts +12 -12
- package/dist/types/components/useWuiControl.d.ts +73 -49
- package/dist/types/components/warnUnknownProps.d.ts +3 -3
- package/dist/types/components/withTooltip.d.ts +3 -1
- package/dist/types/index.d.ts +177 -164
- package/dist/types/lib/CheckField.d.ts +19 -1
- package/dist/types/lib/DiscardPrompt.d.ts +10 -12
- package/dist/types/lib/FieldMessage.d.ts +8 -12
- package/dist/types/lib/FileItemRow.d.ts +19 -23
- package/dist/types/lib/FocusPanel.d.ts +5 -3
- package/dist/types/lib/TargetLink.d.ts +9 -0
- package/dist/types/lib/buttonClass.d.ts +0 -4
- package/dist/types/lib/devWarn.d.ts +2 -2
- package/dist/types/lib/emptyIllustration.d.ts +9 -18
- package/dist/types/lib/emptyValue.d.ts +2 -6
- package/dist/types/lib/fieldState.d.ts +3 -1
- package/dist/types/lib/fileItem.d.ts +16 -7
- package/dist/types/lib/fillLabel.d.ts +1 -1
- package/dist/types/lib/flagStyles.d.ts +1 -1
- package/dist/types/lib/focusField.d.ts +2 -2
- package/dist/types/lib/initials.d.ts +3 -4
- package/dist/types/lib/labelWithHelp.d.ts +2 -6
- package/dist/types/lib/linkTarget.d.ts +33 -19
- package/dist/types/lib/navMatch.d.ts +7 -10
- package/dist/types/lib/pageWindow.d.ts +7 -8
- package/dist/types/lib/qrCode.d.ts +17 -37
- package/dist/types/lib/sectionShell.d.ts +39 -31
- package/dist/types/lib/shellCookie.d.ts +3 -3
- package/dist/types/lib/shortcutChip.d.ts +4 -3
- package/dist/types/lib/svgNodes.d.ts +4 -0
- package/dist/types/lib/useCommandPaletteShortcut.d.ts +3 -3
- package/dist/types/lib/useElementEntry.d.ts +16 -0
- package/dist/types/lib/useFileDrop.d.ts +23 -16
- package/dist/types/lib/useFloatingStack.d.ts +5 -4
- package/dist/types/lib/useListShortcuts.d.ts +9 -7
- package/dist/types/lib/usePagination.d.ts +8 -6
- package/dist/types/lib/useTableView.d.ts +17 -19
- package/dist/types/lib/wuiMarker.d.ts +12 -10
- package/dist/types/reactAugmentations.d.ts +22 -0
- package/dist/ui-react.js +1 -1
- package/dist/web-core/dist/query/listQuery.js +1 -1
- package/package.json +15 -12
|
@@ -1,53 +1,46 @@
|
|
|
1
|
-
import "
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* typography: paragraphs, quotes, headings, bullet and numbered lists, tables, rules, code blocks,
|
|
5
|
-
* bold, italics, strikethrough and inline code. It never renders HTML: raw markup shows as text, and
|
|
6
|
-
* an image shows as its alt text in brackets. `links` decides which links open; any other link shows
|
|
7
|
-
* its label as text.
|
|
8
|
-
*
|
|
9
|
-
* The root is the shared `<wui-markdown>` element that Razor `<app-markdown>` writes, so both draw the same markup.
|
|
10
|
-
*
|
|
11
|
-
* @param {object} props
|
|
12
|
-
* @param {string} [props.value]
|
|
13
|
-
* @param {(href: string) => string|null|undefined} [props.resolveLink] Maps a `scheme:kind/id` link
|
|
14
|
-
* to an in-app route such as "/support?ticket=3f2a", or null to show its label as text.
|
|
15
|
-
* @param {(inner: string) => boolean} [props.isCitation] Which `[inner]` runs are citations. Without it no run is one.
|
|
16
|
-
* @param {(text: string) => Array<{ kind: "text" | "sub" | "sup", text: string }>} [props.figureText] Splits plain text into runs. A "sub" or "sup" run draws as its own sub or sup element. Without it, text draws as written. Code spans and code blocks are never split.
|
|
17
|
-
* @param {(citation: string) => void} [props.onOpenCitation] Opens a citation chip. Without it the chip is not a button.
|
|
18
|
-
* @param {import('react').ElementType} [props.linkComponent] A router link. It receives `to` for an
|
|
19
|
-
* in-app route. Without it an in-app route renders as a plain anchor.
|
|
20
|
-
* @param {"app"|"web"|"page"} [props.links] "app" opens only routes from `resolveLink`; "web" (default) also opens web, mail and phone addresses; "page" also opens a relative address and a web address on this site, in the same tab, and asks `resolveLink` for every address; an absolute web address it returns opens in a new tab when it leaves this site.
|
|
21
|
-
* @param {string} [props.base] An https origin such as "https://example.com" that a relative link resolves against, so "/pricing" opens "https://example.com/pricing". Any other value is ignored with a dev warning.
|
|
22
|
-
* @param {"outline"|"text"} [props.headings] "text" draws a heading as a bold line that stays out of the page outline; "outline" (default) draws an h2.
|
|
23
|
-
* @param {string} [props.className]
|
|
24
|
-
*/
|
|
25
|
-
export default function AppMarkdown(props: {
|
|
1
|
+
import type * as React from "react";
|
|
2
|
+
import type { AppLinkComponent } from "../lib/linkTarget.ts";
|
|
3
|
+
export interface AppMarkdownProps extends Omit<React.ComponentPropsWithoutRef<"div">, "children"> {
|
|
26
4
|
/** The Markdown source. Missing text renders nothing. */
|
|
27
|
-
value?: string;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
5
|
+
value?: string | undefined;
|
|
6
|
+
/** Maps a `scheme:kind/id` link to an in-app route such as "/support?ticket=3f2a", or null to show its label as text. */
|
|
7
|
+
resolveLink?: ((href: string) => string | null | undefined) | undefined;
|
|
8
|
+
/** Which `[inner]` runs are citations. Without it no run is one. */
|
|
9
|
+
isCitation?: ((inner: string) => boolean) | undefined;
|
|
10
|
+
/** Splits plain text into runs. A "sub" or "sup" run draws as its own sub or sup element. Without it, text draws as written. Code spans and code blocks are never split. */
|
|
11
|
+
figureText?: ((text: string) => Array<{
|
|
31
12
|
kind: "text" | "sub" | "sup";
|
|
32
13
|
text: string;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
|
|
14
|
+
}>) | undefined;
|
|
15
|
+
/** Opens a citation chip. Without it the chip is not a button. */
|
|
16
|
+
onOpenCitation?: ((citation: string) => void) | undefined;
|
|
17
|
+
/** A router link. It receives `to` for an in-app route. Without it an in-app route renders as a plain anchor. */
|
|
18
|
+
linkComponent?: AppLinkComponent | undefined;
|
|
36
19
|
/**
|
|
37
20
|
* App opens only routes from resolveLink. Web also opens web, mail and phone addresses in a new tab. Page also opens a relative address and a web address on this site, in the same tab, and asks resolveLink for every address; an absolute web address it returns opens in a new tab when it leaves this site.
|
|
38
21
|
* @default "web"
|
|
39
22
|
*/
|
|
40
|
-
links?: "app" | "web" | "page";
|
|
23
|
+
links?: "app" | "web" | "page" | undefined;
|
|
41
24
|
/** An https origin such as https://example.com that a relative link resolves against: /pricing opens https://example.com/pricing. Any other value (a path, a query, credentials, http) is ignored with a dev warning. */
|
|
42
|
-
base?: string;
|
|
25
|
+
base?: string | null | undefined;
|
|
43
26
|
/**
|
|
44
27
|
* Outline draws a heading as an h2 in the page outline. Text draws it as a bold line that stays out of the outline.
|
|
45
28
|
* @default "outline"
|
|
46
29
|
*/
|
|
47
|
-
headings?: "outline" | "text";
|
|
30
|
+
headings?: "outline" | "text" | undefined;
|
|
48
31
|
/**
|
|
49
32
|
* Extra classes on the root element.
|
|
50
33
|
* @default ""
|
|
51
34
|
*/
|
|
52
|
-
className?: string;
|
|
53
|
-
}
|
|
35
|
+
className?: string | undefined;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Markdown a person or the server wrote (a brief, a comment, a work-item text), shown with the kit's
|
|
39
|
+
* typography: paragraphs, quotes, headings, bullet and numbered lists, tables, rules, code blocks,
|
|
40
|
+
* bold, italics, strikethrough and inline code. It never renders HTML: raw markup shows as text, and
|
|
41
|
+
* an image shows as its alt text in brackets. `links` decides which links open; any other link shows
|
|
42
|
+
* its label as text.
|
|
43
|
+
*
|
|
44
|
+
* The root is the shared `<wui-markdown>` element that Razor `<app-markdown>` writes, so both draw the same markup.
|
|
45
|
+
*/
|
|
46
|
+
export default function AppMarkdown(props: AppMarkdownProps): React.JSX.Element;
|
|
@@ -1,99 +1,111 @@
|
|
|
1
|
-
import "
|
|
2
|
-
|
|
1
|
+
import type * as React from "react";
|
|
2
|
+
export interface MentionPerson {
|
|
3
|
+
value: string;
|
|
4
|
+
label: string;
|
|
5
|
+
description?: string | undefined;
|
|
6
|
+
src?: string | undefined;
|
|
7
|
+
}
|
|
8
|
+
export interface AppMentionInputProps extends Omit<React.HTMLAttributes<HTMLElement>, "defaultValue" | "onChange" | "onSubmit" | "placeholder"> {
|
|
3
9
|
/** The stored value, plain text with each mention written as @[Asha Rao](u-12). */
|
|
4
|
-
value?: string;
|
|
5
|
-
|
|
10
|
+
value?: string | undefined;
|
|
11
|
+
/** Called on every edit with the stored value and the people it mentions, each once. */
|
|
12
|
+
onChange?: ((value: string, meta: {
|
|
6
13
|
mentions: {
|
|
7
14
|
id: string;
|
|
8
15
|
label: string;
|
|
9
16
|
}[];
|
|
10
|
-
}) => void;
|
|
17
|
+
}) => void) | undefined;
|
|
11
18
|
/** The people to offer when the person types @. */
|
|
12
|
-
people?:
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}[];
|
|
18
|
-
loadPeople?: (query: string, opts?: {
|
|
19
|
-
signal?: AbortSignal;
|
|
20
|
-
}) => Promise<{
|
|
21
|
-
value: string;
|
|
22
|
-
label: string;
|
|
23
|
-
description?: string;
|
|
24
|
-
src?: string;
|
|
25
|
-
}[]>;
|
|
19
|
+
people?: MentionPerson[] | undefined;
|
|
20
|
+
/** Look people up as the person types after "@" (instead of `people`). */
|
|
21
|
+
loadPeople?: ((query: string, opts?: {
|
|
22
|
+
signal?: AbortSignal | undefined;
|
|
23
|
+
}) => Promise<MentionPerson[]>) | undefined;
|
|
26
24
|
/**
|
|
27
25
|
* How many letters after @ before the lookup runs.
|
|
28
26
|
* @default 1
|
|
29
27
|
*/
|
|
30
|
-
minChars?: number;
|
|
28
|
+
minChars?: number | undefined;
|
|
31
29
|
/**
|
|
32
30
|
* Milliseconds to wait for typing to pause before the lookup runs.
|
|
33
31
|
* @default 250
|
|
34
32
|
*/
|
|
35
|
-
debounce?: number;
|
|
36
|
-
|
|
33
|
+
debounce?: number | undefined;
|
|
34
|
+
/** Ctrl or Cmd+Enter in the box (send a comment). */
|
|
35
|
+
onSubmit?: (() => void) | undefined;
|
|
37
36
|
/**
|
|
38
37
|
* The number of visible lines.
|
|
39
38
|
* @default 3
|
|
40
39
|
*/
|
|
41
|
-
rows?: number;
|
|
40
|
+
rows?: number | undefined;
|
|
42
41
|
/** Placeholder text shown while the box is empty. */
|
|
43
|
-
placeholder?: string;
|
|
42
|
+
placeholder?: string | undefined;
|
|
44
43
|
/**
|
|
45
44
|
* Turns the box off.
|
|
46
45
|
* @default false
|
|
47
46
|
*/
|
|
48
|
-
disabled?: boolean;
|
|
47
|
+
disabled?: boolean | undefined;
|
|
49
48
|
/**
|
|
50
49
|
* Shows the value but blocks editing. The value still posts.
|
|
51
50
|
* @default false
|
|
52
51
|
*/
|
|
53
|
-
readOnly?: boolean;
|
|
52
|
+
readOnly?: boolean | undefined;
|
|
54
53
|
/**
|
|
55
54
|
* Shows a busy state and blocks input while data loads.
|
|
56
55
|
* @default false
|
|
57
56
|
*/
|
|
58
|
-
loading?: boolean;
|
|
57
|
+
loading?: boolean | undefined;
|
|
59
58
|
/**
|
|
60
59
|
* The control size: sm, md or lg.
|
|
61
60
|
* @default "md"
|
|
62
61
|
*/
|
|
63
|
-
size?: "sm" | "md" | "lg";
|
|
62
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
64
63
|
/** The starting value of an uncontrolled field. */
|
|
65
|
-
defaultValue?: string;
|
|
64
|
+
defaultValue?: string | undefined;
|
|
66
65
|
/** Posts the stored value under this name in a form. */
|
|
67
|
-
name?: string;
|
|
66
|
+
name?: string | undefined;
|
|
68
67
|
/** The element id. The text box is the id plus -text, which is the label's target. */
|
|
69
|
-
id?: string;
|
|
68
|
+
id?: string | undefined;
|
|
70
69
|
/** Shown above the box. A string label also names the box. */
|
|
71
|
-
label?:
|
|
70
|
+
label?: React.ReactNode | undefined;
|
|
72
71
|
/** An error message shown under the box. */
|
|
73
|
-
error?: string;
|
|
72
|
+
error?: string | undefined;
|
|
74
73
|
/** Helper text shown under the box when there is no error. */
|
|
75
|
-
helperText?: string;
|
|
74
|
+
helperText?: string | undefined;
|
|
76
75
|
/**
|
|
77
76
|
* Marks the field as required.
|
|
78
77
|
* @default false
|
|
79
78
|
*/
|
|
80
|
-
required?: boolean;
|
|
79
|
+
required?: boolean | undefined;
|
|
81
80
|
/** Help content shown in an info tip beside the label. */
|
|
82
|
-
help?:
|
|
81
|
+
help?: React.ReactNode | undefined;
|
|
83
82
|
/**
|
|
84
83
|
* The accessible name of that info tip.
|
|
85
84
|
* @default "More information"
|
|
86
85
|
*/
|
|
87
|
-
helpLabel?: string;
|
|
86
|
+
helpLabel?: string | undefined;
|
|
88
87
|
/**
|
|
89
88
|
* Extra classes on the element.
|
|
90
89
|
* @default ""
|
|
91
90
|
*/
|
|
92
|
-
className?: string;
|
|
91
|
+
className?: string | undefined;
|
|
93
92
|
/**
|
|
94
93
|
* Extra classes on the field wrapper.
|
|
95
94
|
* @default ""
|
|
96
95
|
*/
|
|
97
|
-
fieldClassName?: string;
|
|
98
|
-
}
|
|
96
|
+
fieldClassName?: string | undefined;
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* A text box where "@" opens a list of people to mention. Up and Down choose, Enter or Tab
|
|
100
|
+
* mention, Escape closes the list; the person reads "@Asha Rao" in the text. Typing inside a
|
|
101
|
+
* mention turns it back into plain text, and Backspace just after one removes it whole.
|
|
102
|
+
*
|
|
103
|
+
* The value is plain text with each mention stored as `@[Asha Rao](u-12)`: never HTML, so it can
|
|
104
|
+
* be saved and shown anywhere without escaping worries. Show a saved value with `AppCommentThread`,
|
|
105
|
+
* or read it with `parseMentionValue` and `mentionedIds` from `@webority/ui-react`
|
|
106
|
+
* (the server's twin is `MentionText` in Webority.Ui.Razor).
|
|
107
|
+
*
|
|
108
|
+
* Wraps the shared `<wui-mention-input>` element; Razor `<app-mention-input>` renders the same box.
|
|
109
|
+
*/
|
|
110
|
+
declare const AppMentionInput: React.ForwardRefExoticComponent<AppMentionInputProps & React.RefAttributes<HTMLElement>>;
|
|
99
111
|
export default AppMentionInput;
|
|
@@ -1,64 +1,61 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
* @param {'high'|'low'} [props.optimum]
|
|
13
|
-
* @param {number} [props.low]
|
|
14
|
-
* @param {number} [props.high]
|
|
15
|
-
* @param {'sm'|'md'} [props.size]
|
|
16
|
-
* @param {string} [props.label]
|
|
17
|
-
* @param {boolean} [props.showLabel]
|
|
18
|
-
* @param {string} [props.className]
|
|
19
|
-
*/
|
|
20
|
-
export default function AppMeter(props: {
|
|
21
|
-
/** The measurement, from min to max. It is clamped into range. */
|
|
22
|
-
value: number;
|
|
1
|
+
import type * as React from "react";
|
|
2
|
+
declare const OPTIMUMS: readonly ["high", "low"];
|
|
3
|
+
declare const SIZES: readonly ["sm", "md"];
|
|
4
|
+
type Tone = "info" | "success" | "warning" | "danger" | "neutral";
|
|
5
|
+
type Optimum = (typeof OPTIMUMS)[number];
|
|
6
|
+
export interface AppMeterProps extends Omit<React.ComponentPropsWithoutRef<"div">, "children"> {
|
|
7
|
+
/**
|
|
8
|
+
* The measurement, from min to max. It is clamped into range.
|
|
9
|
+
* @default 0
|
|
10
|
+
*/
|
|
11
|
+
value?: number | undefined;
|
|
23
12
|
/**
|
|
24
13
|
* The low end of the range.
|
|
25
14
|
* @default 0
|
|
26
15
|
*/
|
|
27
|
-
min?: number;
|
|
16
|
+
min?: number | undefined;
|
|
28
17
|
/**
|
|
29
18
|
* The high end of the range.
|
|
30
19
|
* @default 100
|
|
31
20
|
*/
|
|
32
|
-
max?: number;
|
|
21
|
+
max?: number | undefined;
|
|
33
22
|
/**
|
|
34
23
|
* The fill colour when no thresholds are set.
|
|
35
24
|
* @default "info"
|
|
36
25
|
*/
|
|
37
|
-
tone?:
|
|
26
|
+
tone?: Tone | undefined;
|
|
38
27
|
/**
|
|
39
28
|
* Which end is good. High means bigger is better.
|
|
40
29
|
* @default "high"
|
|
41
30
|
*/
|
|
42
|
-
optimum?:
|
|
31
|
+
optimum?: Optimum | undefined;
|
|
43
32
|
/** A value at or below this is the low zone. */
|
|
44
|
-
low?: number;
|
|
33
|
+
low?: number | undefined;
|
|
45
34
|
/** A value at or above this is the high zone. */
|
|
46
|
-
high?: number;
|
|
35
|
+
high?: number | undefined;
|
|
47
36
|
/**
|
|
48
37
|
* The bar thickness.
|
|
49
38
|
* @default "md"
|
|
50
39
|
*/
|
|
51
|
-
size?:
|
|
40
|
+
size?: (typeof SIZES)[number] | undefined;
|
|
52
41
|
/** The accessible name of the bar. It is also shown above the bar when showLabel is set. */
|
|
53
|
-
label?: string;
|
|
42
|
+
label?: string | undefined;
|
|
54
43
|
/**
|
|
55
44
|
* Shows the label text above the bar.
|
|
56
45
|
* @default false
|
|
57
46
|
*/
|
|
58
|
-
showLabel?: boolean;
|
|
47
|
+
showLabel?: boolean | undefined;
|
|
59
48
|
/**
|
|
60
49
|
* Extra classes on the component.
|
|
61
50
|
* @default ""
|
|
62
51
|
*/
|
|
63
|
-
className?: string;
|
|
64
|
-
}
|
|
52
|
+
className?: string | undefined;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* A meter — a scalar measurement within a known range (disk usage, a score, remaining quota).
|
|
56
|
+
* Unlike AppProgress (a task advancing over time) this is `role="meter"`; given `low`/`high`
|
|
57
|
+
* thresholds it auto-tones green/amber/red by which end is `optimum`. It shares AppProgress's
|
|
58
|
+
* bar, and renders identically to the Razor `<app-meter>`.
|
|
59
|
+
*/
|
|
60
|
+
export default function AppMeter(props: AppMeterProps): React.ReactElement;
|
|
61
|
+
export {};
|
|
@@ -1,33 +1,37 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
export
|
|
13
|
-
/**
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
href?: string;
|
|
19
|
-
tone?: 'neutral' | 'success' | 'warning' | 'danger' | 'info';
|
|
20
|
-
}[];
|
|
1
|
+
import type * as React from "react";
|
|
2
|
+
import { type AppLinkComponent } from "../lib/linkTarget.ts";
|
|
3
|
+
declare const COLUMNS: readonly [3, 4, 5];
|
|
4
|
+
declare const SIZES: readonly ["sm", "md"];
|
|
5
|
+
export interface MetricStripItem {
|
|
6
|
+
label: React.ReactNode;
|
|
7
|
+
value: React.ReactNode;
|
|
8
|
+
note?: string | undefined;
|
|
9
|
+
href?: string | undefined;
|
|
10
|
+
tone?: "neutral" | "success" | "warning" | "danger" | "info" | undefined;
|
|
11
|
+
}
|
|
12
|
+
export interface AppMetricStripProps extends Omit<React.ComponentPropsWithoutRef<"div">, "children"> {
|
|
13
|
+
/**
|
|
14
|
+
* The values in the strip, three to five of them.
|
|
15
|
+
* @default []
|
|
16
|
+
*/
|
|
17
|
+
items?: MetricStripItem[] | undefined;
|
|
21
18
|
/**
|
|
22
19
|
* How many values sit in a row.
|
|
23
20
|
* @default 4
|
|
24
21
|
*/
|
|
25
|
-
columns?:
|
|
22
|
+
columns?: (typeof COLUMNS)[number] | undefined;
|
|
26
23
|
/**
|
|
27
24
|
* The value and label scale.
|
|
28
25
|
* @default "md"
|
|
29
26
|
*/
|
|
30
|
-
size?:
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
27
|
+
size?: (typeof SIZES)[number] | undefined;
|
|
28
|
+
/** 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. */
|
|
29
|
+
linkComponent?: AppLinkComponent | undefined;
|
|
30
|
+
className?: string | undefined;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* A row of three to five linked values, each with a label and a note, with no card chrome.
|
|
34
|
+
* The Razor `<app-metric-strip>` renders the same markup and classes.
|
|
35
|
+
*/
|
|
36
|
+
export default function AppMetricStrip(props: AppMetricStripProps): React.JSX.Element;
|
|
37
|
+
export {};
|
|
@@ -1,96 +1,93 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
* @param {import('react').ReactNode} [props.subtitle]
|
|
9
|
-
* @param {string} [props.headerIcon]
|
|
10
|
-
* @param {'neutral'|'danger'|'success'|'warning'} [props.tone]
|
|
11
|
-
* @param {boolean} [props.dismissible]
|
|
12
|
-
* @param {() => void} props.onClose
|
|
13
|
-
* @param {() => void} [props.onBack] Shows a back arrow before the title and runs this when it is pressed.
|
|
14
|
-
* @param {string} [props.backLabel] The back arrow's accessible name.
|
|
15
|
-
* @param {import('react').ReactNode} [props.headerActions] Actions drawn beside the title, before the close button; not drawn while the header is hidden.
|
|
16
|
-
* @param {import('react').ReactNode} [props.footer] A footer control marked `data-wui-dismiss` (a Cancel button) closes the modal the way the close disc does: it asks first while `dirty` and `confirmDiscard` are set, then calls onClose. Give such a control no onClick of its own.
|
|
17
|
-
* @param {'sm'|'md'|'lg'|'xl'|'fullscreen'|number} [props.size]
|
|
18
|
-
* @param {'center'|'top'} [props.placement]
|
|
19
|
-
* @param {boolean} [props.hideHeader]
|
|
20
|
-
* @param {string} [props.ariaLabel]
|
|
21
|
-
* @param {string} [props.closeLabel] Default "Close".
|
|
22
|
-
* @param {boolean} [props.staticBackdrop] Defaults to true: Escape and an outside click leave the modal open. Pass false to let them close it.
|
|
23
|
-
* @param {string} [props.confirmDiscard]
|
|
24
|
-
* @param {boolean} [props.dirty]
|
|
25
|
-
* @param {string} [props.className]
|
|
26
|
-
* @param {import('react').ReactNode} props.children
|
|
27
|
-
*/
|
|
28
|
-
export default function AppModal(props: {
|
|
1
|
+
import type * as React from "react";
|
|
2
|
+
import type { ComponentPropsWithoutRef, ReactNode, Ref } from "react";
|
|
3
|
+
type AppModalTone = "neutral" | "danger" | "success" | "warning";
|
|
4
|
+
type AppModalPlacement = "center" | "top";
|
|
5
|
+
type AppModalSizePreset = "sm" | "md" | "lg" | "xl";
|
|
6
|
+
type AppModalSize = AppModalSizePreset | "fullscreen" | number;
|
|
7
|
+
export interface AppModalProps extends Omit<ComponentPropsWithoutRef<"div">, "title"> {
|
|
29
8
|
/** Whether the dialog is shown. */
|
|
30
9
|
open: boolean;
|
|
31
10
|
/** A small kicker label above the title. */
|
|
32
|
-
eyebrow?:
|
|
11
|
+
eyebrow?: ReactNode | undefined;
|
|
33
12
|
/** The dialog title, shown in the header. */
|
|
34
|
-
title?:
|
|
13
|
+
title?: ReactNode | undefined;
|
|
35
14
|
/** A quieter line under the title. */
|
|
36
|
-
subtitle?:
|
|
15
|
+
subtitle?: ReactNode | undefined;
|
|
37
16
|
/** A library icon name drawn in the header. */
|
|
38
|
-
headerIcon?: string;
|
|
17
|
+
headerIcon?: string | undefined;
|
|
39
18
|
/**
|
|
40
19
|
* Tints the header icon and eyebrow to signal intent, such as a destructive or a success dialog.
|
|
41
20
|
* @default "neutral"
|
|
42
21
|
*/
|
|
43
|
-
tone?:
|
|
22
|
+
tone?: AppModalTone | undefined;
|
|
44
23
|
/**
|
|
45
|
-
* Shows the close button in the header.
|
|
24
|
+
* Shows the close button in the header. For a forced-choice dialog, pair false with staticBackdrop and closeOnEscape false.
|
|
46
25
|
* @default true
|
|
47
26
|
*/
|
|
48
|
-
dismissible?: boolean;
|
|
27
|
+
dismissible?: boolean | undefined;
|
|
28
|
+
/** Called when the dialog asks to close. */
|
|
49
29
|
onClose: () => void;
|
|
50
|
-
|
|
30
|
+
/** Called once the close animation has finished and the dialog has left the page. */
|
|
31
|
+
onExited?: ((node: HTMLElement) => void) | undefined;
|
|
32
|
+
/** Shows a back arrow before the title and runs this when it is pressed. */
|
|
33
|
+
onBack?: (() => void) | undefined;
|
|
51
34
|
/**
|
|
52
35
|
* The accessible name of the back arrow shown when onBack is set.
|
|
53
36
|
* @default "Back"
|
|
54
37
|
*/
|
|
55
|
-
backLabel?: string;
|
|
38
|
+
backLabel?: string | undefined;
|
|
56
39
|
/** Actions drawn beside the title, before the close button, such as Previous and Next. Not drawn while hideHeader is set. */
|
|
57
|
-
headerActions?:
|
|
40
|
+
headerActions?: ReactNode | undefined;
|
|
58
41
|
/** Content pinned at the bottom, usually the action buttons. */
|
|
59
|
-
footer?:
|
|
42
|
+
footer?: ReactNode | undefined;
|
|
60
43
|
/**
|
|
61
44
|
* The card width: a preset, fullscreen for the whole viewport with header and footer pinned, or a number for an exact max width in pixels.
|
|
62
45
|
* @default "md"
|
|
63
46
|
*/
|
|
64
|
-
size?:
|
|
47
|
+
size?: AppModalSize | undefined;
|
|
65
48
|
/**
|
|
66
49
|
* Vertical placement of the card: centred, or pinned near the top of the viewport.
|
|
67
50
|
* @default "center"
|
|
68
51
|
*/
|
|
69
|
-
placement?:
|
|
52
|
+
placement?: AppModalPlacement | undefined;
|
|
70
53
|
/**
|
|
71
54
|
* Hides the header, leaving the body and footer.
|
|
72
55
|
* @default false
|
|
73
56
|
*/
|
|
74
|
-
hideHeader?: boolean;
|
|
57
|
+
hideHeader?: boolean | undefined;
|
|
75
58
|
/** The accessible name when the title is not plain text, or when the header is hidden. */
|
|
76
|
-
ariaLabel?: string;
|
|
59
|
+
ariaLabel?: string | undefined;
|
|
77
60
|
/**
|
|
78
61
|
* The close button's accessible name, for other languages.
|
|
79
62
|
* @default "Close"
|
|
80
63
|
*/
|
|
81
|
-
closeLabel?: string;
|
|
64
|
+
closeLabel?: string | undefined;
|
|
82
65
|
/**
|
|
83
|
-
*
|
|
66
|
+
* Covers outside clicks only: by default an outside click leaves the pop-up open. false lets an outside click close it.
|
|
84
67
|
* @default true
|
|
85
68
|
*/
|
|
86
|
-
staticBackdrop?: boolean;
|
|
69
|
+
staticBackdrop?: boolean | undefined;
|
|
70
|
+
/**
|
|
71
|
+
* Escape closes the modal through onClose, asking first when confirmDiscard applies. Set false for a dialog that must not close from the keyboard.
|
|
72
|
+
* @default true
|
|
73
|
+
*/
|
|
74
|
+
closeOnEscape?: boolean | undefined;
|
|
87
75
|
/** Asks before closing while dirty, with this text and Discard and Keep editing in the footer. */
|
|
88
|
-
confirmDiscard?: string;
|
|
76
|
+
confirmDiscard?: string | undefined;
|
|
89
77
|
/**
|
|
90
78
|
* True while a field differs from its loaded value. The caller owns it.
|
|
91
79
|
* @default false
|
|
92
80
|
*/
|
|
93
|
-
dirty?: boolean;
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
81
|
+
dirty?: boolean | undefined;
|
|
82
|
+
/** Extra classes on the content card. */
|
|
83
|
+
className?: string | undefined;
|
|
84
|
+
children: ReactNode;
|
|
85
|
+
ref?: Ref<unknown> | undefined;
|
|
86
|
+
"data-wui"?: string | undefined;
|
|
87
|
+
"data-wui-props"?: string | undefined;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* The single dialog primitive. Wraps react-bootstrap Modal with `.wui-modal-*` chrome.
|
|
91
|
+
*/
|
|
92
|
+
export default function AppModal(props: AppModalProps): React.JSX.Element;
|
|
93
|
+
export {};
|
|
@@ -1,3 +1,29 @@
|
|
|
1
|
+
import type { JSX, ReactNode } from "react";
|
|
2
|
+
import { type AppLinkComponent } from "../lib/linkTarget.ts";
|
|
3
|
+
type NavListTone = "primary" | "info" | "success" | "warning" | "danger" | "neutral";
|
|
4
|
+
export interface NavListItem {
|
|
5
|
+
key: string | number;
|
|
6
|
+
label?: ReactNode | undefined;
|
|
7
|
+
to?: string | undefined;
|
|
8
|
+
icon?: string | undefined;
|
|
9
|
+
dotTone?: NavListTone | undefined;
|
|
10
|
+
count?: number | undefined;
|
|
11
|
+
active?: boolean | undefined;
|
|
12
|
+
divider?: boolean | undefined;
|
|
13
|
+
}
|
|
14
|
+
export interface AppNavListProps {
|
|
15
|
+
/** The accessible name of the navigation landmark. */
|
|
16
|
+
label: string;
|
|
17
|
+
/**
|
|
18
|
+
* The rows, top to bottom. A row with a target is a link; without one it is a button. A divider item draws a hairline between groups.
|
|
19
|
+
* @default []
|
|
20
|
+
*/
|
|
21
|
+
items?: NavListItem[] | undefined;
|
|
22
|
+
/** The product's router link, such as react-router's Link, which receives `to`. */
|
|
23
|
+
linkComponent?: AppLinkComponent | undefined;
|
|
24
|
+
className?: string | undefined;
|
|
25
|
+
[attribute: `data-${string}`]: unknown;
|
|
26
|
+
}
|
|
1
27
|
/**
|
|
2
28
|
* A page-level rail of links. Each row has an icon or a colour dot, a label, a count on the right when it is above zero,
|
|
3
29
|
* and a tinted current row. A row with `to` is a link (through `linkComponent` when given); without it the row is a
|
|
@@ -5,31 +31,6 @@
|
|
|
5
31
|
*
|
|
6
32
|
* NOTE: the exported component must stay the FIRST destructured function in this file.
|
|
7
33
|
* The parity check reads the first signature it finds as the component's public props.
|
|
8
|
-
*
|
|
9
|
-
* @param {object} props
|
|
10
|
-
* @param {string} props.label Accessible name of the nav element.
|
|
11
|
-
* @param {{ key: string|number, label?: import('react').ReactNode, to?: string, icon?: string,
|
|
12
|
-
* dotTone?: "primary"|"info"|"success"|"warning"|"danger"|"neutral", count?: number, active?: boolean, divider?: boolean }[]} [props.items]
|
|
13
|
-
* @param {import('react').ElementType} [props.linkComponent] Component for `to` rows (e.g. Link).
|
|
14
|
-
* @param {string} [props.className]
|
|
15
34
|
*/
|
|
16
|
-
export default function AppNavList(props:
|
|
17
|
-
|
|
18
|
-
label: string;
|
|
19
|
-
/**
|
|
20
|
-
* The rows, top to bottom. A row with a target is a link; without one it is a button. A divider item draws a hairline between groups.
|
|
21
|
-
* @default []
|
|
22
|
-
*/
|
|
23
|
-
items?: {
|
|
24
|
-
key: string | number;
|
|
25
|
-
label?: import('react').ReactNode;
|
|
26
|
-
to?: string;
|
|
27
|
-
icon?: string;
|
|
28
|
-
dotTone?: "primary" | "info" | "success" | "warning" | "danger" | "neutral";
|
|
29
|
-
count?: number;
|
|
30
|
-
active?: boolean;
|
|
31
|
-
divider?: boolean;
|
|
32
|
-
}[];
|
|
33
|
-
linkComponent?: import('react').ElementType;
|
|
34
|
-
className?: string;
|
|
35
|
-
}): import("react").JSX.Element;
|
|
35
|
+
export default function AppNavList(props: AppNavListProps): JSX.Element;
|
|
36
|
+
export {};
|