@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,29 +1,30 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
* The React counterpart of `<app-spinner>`.
|
|
4
|
-
*
|
|
5
|
-
* For a whole section that is loading, prefer `AppSkeleton` — a content-shaped
|
|
6
|
-
* placeholder reads better than a spinner above the fold.
|
|
7
|
-
*
|
|
8
|
-
* @param {object} props
|
|
9
|
-
* @param {'sm'|'md'|number} [props.size]
|
|
10
|
-
* @param {string} [props.label]
|
|
11
|
-
* @param {string} [props.className]
|
|
12
|
-
*/
|
|
13
|
-
export default function AppSpinner(props: {
|
|
1
|
+
import type { ComponentPropsWithoutRef, JSX } from "react";
|
|
2
|
+
export interface AppSpinnerProps extends ComponentPropsWithoutRef<"span"> {
|
|
14
3
|
/**
|
|
15
4
|
* A preset (sm or md), or an exact diameter in px; the border scales with it. Pass any positive number so the spinner matches what it sits in.
|
|
16
5
|
* @default "md"
|
|
17
6
|
*/
|
|
18
|
-
size?:
|
|
7
|
+
size?: "sm" | "md" | number | `${number}` | undefined;
|
|
19
8
|
/**
|
|
20
9
|
* Accessible name.
|
|
21
10
|
* @default "Loading"
|
|
22
11
|
*/
|
|
23
|
-
label?: string;
|
|
12
|
+
label?: string | undefined;
|
|
24
13
|
/**
|
|
25
14
|
* Extra class names for the spinner element.
|
|
26
15
|
* @default ""
|
|
27
16
|
*/
|
|
28
|
-
className?: string;
|
|
29
|
-
}
|
|
17
|
+
className?: string | undefined;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* A themed loading spinner — Bootstrap's `.spinner-border`, tinted by the theme.
|
|
21
|
+
* The React counterpart of `<app-spinner>`.
|
|
22
|
+
*
|
|
23
|
+
* For a whole section that is loading, prefer `AppSkeleton` — a content-shaped
|
|
24
|
+
* placeholder reads better than a spinner above the fold.
|
|
25
|
+
*
|
|
26
|
+
* @param props.size
|
|
27
|
+
* @param props.label
|
|
28
|
+
* @param props.className
|
|
29
|
+
*/
|
|
30
|
+
export default function AppSpinner(props: AppSpinnerProps): JSX.Element;
|
|
@@ -1,52 +1,44 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
* the first route can render — the thing `ApplicationNavigator` returns while
|
|
4
|
-
* `authStatus` is still unresolved.
|
|
5
|
-
*
|
|
6
|
-
* Without it the app flashes the login screen at an already-authenticated user for
|
|
7
|
-
* the length of one session check.
|
|
8
|
-
*
|
|
9
|
-
* The indicator is indeterminate, not a progress value: boot has no measurable
|
|
10
|
-
* percentage, and something that appears to measure one would be lying. Pick its
|
|
11
|
-
* style with `variant` (a sweeping bar, a spinning ring, or bouncing dots).
|
|
12
|
-
*
|
|
13
|
-
* @param {object} props
|
|
14
|
-
* @param {import('react').ReactNode} [props.logo]
|
|
15
|
-
* @param {string} [props.initials]
|
|
16
|
-
* @param {string} [props.description]
|
|
17
|
-
* @param {string} [props.subtext]
|
|
18
|
-
* @param {'bar'|'ring'|'dots'} [props.variant]
|
|
19
|
-
* @param {'sm'|'md'|'lg'|number} [props.size]
|
|
20
|
-
* @param {string} [props.label]
|
|
21
|
-
* @param {string} [props.className]
|
|
22
|
-
*/
|
|
23
|
-
export default function AppSplash(props: {
|
|
1
|
+
import type { ComponentPropsWithoutRef, ReactNode } from "react";
|
|
2
|
+
export interface AppSplashProps extends ComponentPropsWithoutRef<"div"> {
|
|
24
3
|
/** The brand mark, an image or an SVG. It takes the place of the initials. */
|
|
25
|
-
logo?:
|
|
4
|
+
logo?: ReactNode | undefined;
|
|
26
5
|
/** The fallback mark shown when there is no logo. */
|
|
27
|
-
initials?: string;
|
|
6
|
+
initials?: string | undefined;
|
|
28
7
|
/** One line of text under the mark, for example Signing you in. */
|
|
29
|
-
description?: string;
|
|
8
|
+
description?: string | undefined;
|
|
30
9
|
/** A quieter second line under the text. */
|
|
31
|
-
subtext?: string;
|
|
10
|
+
subtext?: string | undefined;
|
|
32
11
|
/**
|
|
33
12
|
* The indeterminate boot indicator: a sweeping bar, a spinning ring or bouncing dots. Boot has no measurable percentage, so the indicator never shows progress.
|
|
34
13
|
* @default "bar"
|
|
35
14
|
*/
|
|
36
|
-
variant?:
|
|
15
|
+
variant?: "bar" | "ring" | "dots" | undefined;
|
|
37
16
|
/**
|
|
38
17
|
* The mark size, a preset or an exact diameter in px. The presets are 44, 56 and 72 px.
|
|
39
18
|
* @default "md"
|
|
40
19
|
*/
|
|
41
|
-
size?:
|
|
20
|
+
size?: "sm" | "md" | "lg" | number | undefined;
|
|
42
21
|
/**
|
|
43
22
|
* The accessible name for the live region.
|
|
44
23
|
* @default "Loading"
|
|
45
24
|
*/
|
|
46
|
-
label?: string;
|
|
25
|
+
label?: string | undefined;
|
|
47
26
|
/**
|
|
48
27
|
* Extra classes on the root.
|
|
49
28
|
* @default ""
|
|
50
29
|
*/
|
|
51
|
-
className?: string;
|
|
52
|
-
}
|
|
30
|
+
className?: string | undefined;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* The full-viewport boot screen shown while the app resolves its session, before
|
|
34
|
+
* the first route can render — the thing `ApplicationNavigator` returns while
|
|
35
|
+
* `authStatus` is still unresolved.
|
|
36
|
+
*
|
|
37
|
+
* Without it the app flashes the login screen at an already-authenticated user for
|
|
38
|
+
* the length of one session check.
|
|
39
|
+
*
|
|
40
|
+
* The indicator is indeterminate, not a progress value: boot has no measurable
|
|
41
|
+
* percentage, and something that appears to measure one would be lying. Pick its
|
|
42
|
+
* style with `variant` (a sweeping bar, a spinning ring, or bouncing dots).
|
|
43
|
+
*/
|
|
44
|
+
export default function AppSplash(props: AppSplashProps): ReactNode;
|
|
@@ -1,98 +1,86 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
* @param {'primary'|'success'|'warning'|'danger'|'info'|'neutral'} [props.tone]
|
|
16
|
-
* @param {'solid'|'soft'|'outline'|'ghost'|'link'|'glass'} [props.variant]
|
|
17
|
-
* @param {'sm'|'md'|'lg'} [props.size]
|
|
18
|
-
* @param {boolean} [props.disabled]
|
|
19
|
-
* @param {boolean} [props.loading]
|
|
20
|
-
* @param {string} [props.leftIcon]
|
|
21
|
-
* @param {string} [props.shortcut]
|
|
22
|
-
* @param {string} [props.menuLabel]
|
|
23
|
-
* @param {'start'|'end'} [props.align]
|
|
24
|
-
* @param {import('react').ElementType} [props.linkComponent] Component for items with `to` (e.g. a router Link).
|
|
25
|
-
* @param {string} [props.className]
|
|
26
|
-
*/
|
|
27
|
-
export default function AppSplitButton(props: {
|
|
1
|
+
import type { ComponentPropsWithoutRef, ReactNode } from "react";
|
|
2
|
+
import type { AppLinkComponent } from "../lib/linkTarget.ts";
|
|
3
|
+
export interface AppSplitButtonItem {
|
|
4
|
+
key: string;
|
|
5
|
+
label?: string | undefined;
|
|
6
|
+
icon?: string | ReactNode | undefined;
|
|
7
|
+
image?: string | undefined;
|
|
8
|
+
to?: string | undefined;
|
|
9
|
+
onClick?: (() => void) | undefined;
|
|
10
|
+
tone?: "danger" | undefined;
|
|
11
|
+
shortcut?: string | undefined;
|
|
12
|
+
divider?: boolean | undefined;
|
|
13
|
+
}
|
|
14
|
+
export interface AppSplitButtonProps extends Omit<ComponentPropsWithoutRef<"div">, "onClick"> {
|
|
28
15
|
/** The main button's text, also the group's accessible name. */
|
|
29
16
|
label: string;
|
|
30
17
|
/**
|
|
31
18
|
* The menu, as the dropdown takes it. Each item needs a unique `key`. An item with divider true draws a separator.
|
|
32
19
|
* @default []
|
|
33
20
|
*/
|
|
34
|
-
items?:
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
icon?: string | import('react').ReactNode;
|
|
38
|
-
image?: string;
|
|
39
|
-
to?: string;
|
|
40
|
-
onClick?: () => void;
|
|
41
|
-
tone?: 'danger';
|
|
42
|
-
shortcut?: string;
|
|
43
|
-
divider?: boolean;
|
|
44
|
-
}[];
|
|
45
|
-
onClick?: () => void;
|
|
21
|
+
items?: AppSplitButtonItem[] | undefined;
|
|
22
|
+
/** Called when the main button is pressed. */
|
|
23
|
+
onClick?: (() => void) | undefined;
|
|
46
24
|
/** Makes the main button a link. */
|
|
47
|
-
href?: string;
|
|
25
|
+
href?: string | undefined;
|
|
48
26
|
/**
|
|
49
27
|
* The main button's type.
|
|
50
28
|
* @default "button"
|
|
51
29
|
*/
|
|
52
|
-
type?:
|
|
30
|
+
type?: "button" | "submit" | "reset" | undefined;
|
|
53
31
|
/**
|
|
54
32
|
* Both halves share it.
|
|
55
33
|
* @default "primary"
|
|
56
34
|
*/
|
|
57
|
-
tone?:
|
|
35
|
+
tone?: "primary" | "success" | "warning" | "danger" | "info" | "neutral" | undefined;
|
|
58
36
|
/**
|
|
59
37
|
* Both halves share it.
|
|
60
38
|
* @default "solid"
|
|
61
39
|
*/
|
|
62
|
-
variant?:
|
|
40
|
+
variant?: "solid" | "soft" | "outline" | "ghost" | "link" | "glass" | undefined;
|
|
63
41
|
/**
|
|
64
42
|
* The size of both halves.
|
|
65
43
|
* @default "md"
|
|
66
44
|
*/
|
|
67
|
-
size?:
|
|
45
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
68
46
|
/**
|
|
69
47
|
* Disables both halves.
|
|
70
48
|
* @default false
|
|
71
49
|
*/
|
|
72
|
-
disabled?: boolean;
|
|
50
|
+
disabled?: boolean | undefined;
|
|
73
51
|
/**
|
|
74
52
|
* Shows the spinner on the main button and disables both halves.
|
|
75
53
|
* @default false
|
|
76
54
|
*/
|
|
77
|
-
loading?: boolean;
|
|
55
|
+
loading?: boolean | undefined;
|
|
78
56
|
/** The icon name before the main label. */
|
|
79
|
-
leftIcon?: string;
|
|
57
|
+
leftIcon?: string | undefined;
|
|
80
58
|
/** The key that runs the main action, drawn as a key chip after the label. */
|
|
81
|
-
shortcut?: string;
|
|
59
|
+
shortcut?: string | undefined;
|
|
82
60
|
/**
|
|
83
61
|
* The accessible name of the chevron.
|
|
84
62
|
* @default "More actions"
|
|
85
63
|
*/
|
|
86
|
-
menuLabel?: string;
|
|
64
|
+
menuLabel?: string | undefined;
|
|
87
65
|
/**
|
|
88
66
|
* Which edge the menu lines up with.
|
|
89
67
|
* @default "end"
|
|
90
68
|
*/
|
|
91
|
-
align?:
|
|
92
|
-
|
|
69
|
+
align?: "start" | "end" | undefined;
|
|
70
|
+
/** The product's router link, which receives `to`, for items with `to`. */
|
|
71
|
+
linkComponent?: AppLinkComponent | undefined;
|
|
93
72
|
/**
|
|
94
73
|
* Extra CSS classes added to the group.
|
|
95
74
|
* @default ""
|
|
96
75
|
*/
|
|
97
|
-
className?: string;
|
|
98
|
-
}
|
|
76
|
+
className?: string | undefined;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* A button with a menu of related actions beside it: the main action runs on one click, the
|
|
80
|
+
* chevron opens the rest ("Save" and "Save and close", "Reply" and "Reply all"). The main button
|
|
81
|
+
* is an `AppButton` (so `shortcut`, `loading` and `leftIcon` work as there) and the menu is an
|
|
82
|
+
* `AppDropdown`, with the same keyboard behaviour: Enter or Space on the chevron opens it, arrows
|
|
83
|
+
* move, Esc closes and returns focus to the chevron. The two halves are one `role="group"` named
|
|
84
|
+
* by `label`. Razor counterpart: `<app-split-button>` with `<app-split-button-item>` children.
|
|
85
|
+
*/
|
|
86
|
+
export default function AppSplitButton(props: AppSplitButtonProps): React.JSX.Element;
|
|
@@ -1,185 +1,163 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
* meta?: import('react').ReactNode, trailing?: import('react').ReactNode, badge?: string|number }[]} [props.items]
|
|
21
|
-
* @param {string|number} [props.currentKey]
|
|
22
|
-
* @param {(key: string|number) => void} [props.onSelect] Called with an item's key when it is opened in place.
|
|
23
|
-
* @param {boolean} [props.selectable]
|
|
24
|
-
* @param {(string|number)[]} [props.selectedKeys]
|
|
25
|
-
* @param {(key: string|number) => void} [props.onToggle] Called when an item's checkbox changes.
|
|
26
|
-
* @param {(checked: boolean) => void} [props.onToggleAll] Called when the select-all box changes.
|
|
27
|
-
* @param {import('react').ReactNode} [props.bulkActions]
|
|
28
|
-
* @param {import('react').ReactNode} [props.header]
|
|
29
|
-
* @param {import('react').ReactNode} [props.chips]
|
|
30
|
-
* @param {import('react').ReactNode} [props.pane]
|
|
31
|
-
* @param {import('react').ReactNode} [props.paneHeader]
|
|
32
|
-
* @param {boolean} [props.pager]
|
|
33
|
-
* @param {{ key: string, label: string, onPress: (currentKey?: string|number) => void }[]} [props.shortcuts]
|
|
34
|
-
* @param {boolean} [props.shortcutsEnabled]
|
|
35
|
-
* @param {import('react').ReactNode} [props.empty]
|
|
36
|
-
* @param {boolean} [props.loading]
|
|
37
|
-
* @param {3|4|5|6|7|8} [props.listWidth]
|
|
38
|
-
* @param {'sm'|'md'|'lg'|'xl'|'xxl'} [props.stackBelow]
|
|
39
|
-
* @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.
|
|
40
|
-
* @param {string} [props.loadingLabel] Default "Loading".
|
|
41
|
-
* @param {string} [props.itemsLabel] Default "Items".
|
|
42
|
-
* @param {string} [props.selectItemLabel] Default "Select {title}".
|
|
43
|
-
* @param {string} [props.selectAllLabel] Default "Select all items".
|
|
44
|
-
* @param {string} [props.readingPaneLabel] Default "Reading pane".
|
|
45
|
-
* @param {string} [props.previousItemLabel] Default "Previous item".
|
|
46
|
-
* @param {string} [props.nextItemLabel] Default "Next item".
|
|
47
|
-
* @param {string} [props.openLabel] Default "Open".
|
|
48
|
-
* @param {string} [props.moveLabel] Default "Move".
|
|
49
|
-
* @param {string} [props.selectedLabel] Default "{count} selected".
|
|
50
|
-
* @param {string} [props.untitledItemLabel] Default "item".
|
|
51
|
-
* @param {string} [props.className]
|
|
52
|
-
*/
|
|
53
|
-
export default function AppSplitView(props: {
|
|
1
|
+
import type { ComponentPropsWithoutRef, ReactNode } from "react";
|
|
2
|
+
import { type AppLinkComponent } from "../lib/linkTarget.ts";
|
|
3
|
+
type StackTier = "sm" | "md" | "lg" | "xl" | "xxl";
|
|
4
|
+
type ListWidth = 3 | 4 | 5 | 6 | 7 | 8;
|
|
5
|
+
type ItemKey = string | number;
|
|
6
|
+
export interface AppSplitViewItem {
|
|
7
|
+
key: ItemKey;
|
|
8
|
+
title: ReactNode;
|
|
9
|
+
href?: string | undefined;
|
|
10
|
+
meta?: ReactNode | undefined;
|
|
11
|
+
trailing?: ReactNode | undefined;
|
|
12
|
+
badge?: string | number | undefined;
|
|
13
|
+
}
|
|
14
|
+
export interface AppSplitViewShortcut {
|
|
15
|
+
key: string;
|
|
16
|
+
label: string;
|
|
17
|
+
onPress?: ((currentKey?: ItemKey) => void) | undefined;
|
|
18
|
+
}
|
|
19
|
+
export interface AppSplitViewProps extends Omit<ComponentPropsWithoutRef<"div">, "onSelect" | "onToggle"> {
|
|
54
20
|
/**
|
|
55
21
|
* The list. meta is the line under the title (sender, excerpt), trailing sits at the end (a date), badge is a short count or label. Keep links and buttons out of all three: the item is itself a link (with href) or a button. Each item needs a unique `key`, a string or a number.
|
|
56
22
|
* @default []
|
|
57
23
|
*/
|
|
58
|
-
items?:
|
|
59
|
-
key: string | number;
|
|
60
|
-
title: import('react').ReactNode;
|
|
61
|
-
href?: string;
|
|
62
|
-
meta?: import('react').ReactNode;
|
|
63
|
-
trailing?: import('react').ReactNode;
|
|
64
|
-
badge?: string | number;
|
|
65
|
-
}[];
|
|
24
|
+
items?: AppSplitViewItem[] | undefined;
|
|
66
25
|
/** The key of the open item. It gets aria-current and the subtle primary background. */
|
|
67
|
-
currentKey?:
|
|
68
|
-
|
|
26
|
+
currentKey?: ItemKey | undefined;
|
|
27
|
+
/** Called with an item's key when it is opened in place. */
|
|
28
|
+
onSelect?: ((key: ItemKey) => void) | undefined;
|
|
69
29
|
/**
|
|
70
30
|
* A checkbox on each item and a select-all box in the header.
|
|
71
31
|
* @default false
|
|
72
32
|
*/
|
|
73
|
-
selectable?: boolean;
|
|
33
|
+
selectable?: boolean | undefined;
|
|
74
34
|
/** The keys of the ticked items. Each key is a string or a number, and the component reads it as a set. */
|
|
75
|
-
selectedKeys?:
|
|
76
|
-
|
|
77
|
-
|
|
35
|
+
selectedKeys?: ItemKey[] | undefined;
|
|
36
|
+
/** Called when an item's checkbox changes. */
|
|
37
|
+
onToggle?: ((key: ItemKey) => void) | undefined;
|
|
38
|
+
/** Called when the select-all box changes. */
|
|
39
|
+
onToggleAll?: ((checked: boolean) => void) | undefined;
|
|
78
40
|
/** Buttons shown in place of the header while items are ticked, beside "N selected". */
|
|
79
|
-
bulkActions?:
|
|
41
|
+
bulkActions?: ReactNode | undefined;
|
|
80
42
|
/** The list header: a count, a sort label, a filter trigger. */
|
|
81
|
-
header?:
|
|
43
|
+
header?: ReactNode | undefined;
|
|
82
44
|
/** A row under the header for the active filters. */
|
|
83
|
-
chips?:
|
|
45
|
+
chips?: ReactNode | undefined;
|
|
84
46
|
/** The open item's content. */
|
|
85
|
-
pane?:
|
|
47
|
+
pane?: ReactNode | undefined;
|
|
86
48
|
/** Above the pane, before the pager: the open item's title or status, and a link back to the list for phones. */
|
|
87
|
-
paneHeader?:
|
|
49
|
+
paneHeader?: ReactNode | undefined;
|
|
88
50
|
/**
|
|
89
51
|
* The record pager at the end of the pane header: "3 of 12" over the items on screen, and previous and next, which open the item before or after the open one as a click on it would. Turn it off to put your own pager in paneHeader for a paged list whose total is larger than the items on screen.
|
|
90
52
|
* @default true
|
|
91
53
|
*/
|
|
92
|
-
pager?: boolean;
|
|
54
|
+
pager?: boolean | undefined;
|
|
93
55
|
/** Extra single-key shortcuts (archive, approve), listed in the ? sheet. J, K, Enter, ? (and X with selectable) are built in and win over an extra with the same key. Each shortcut needs a `key`, a single key such as e. */
|
|
94
|
-
shortcuts?:
|
|
95
|
-
key: string;
|
|
96
|
-
label: string;
|
|
97
|
-
onPress: (currentKey?: string | number) => void;
|
|
98
|
-
}[];
|
|
56
|
+
shortcuts?: AppSplitViewShortcut[] | undefined;
|
|
99
57
|
/**
|
|
100
58
|
* The keyboard shortcuts and their legend. They listen while focus is in the view, or nowhere for the first view on the page.
|
|
101
59
|
* @default true
|
|
102
60
|
*/
|
|
103
|
-
shortcutsEnabled?: boolean;
|
|
61
|
+
shortcutsEnabled?: boolean | undefined;
|
|
104
62
|
/**
|
|
105
63
|
* Shown when there are no items.
|
|
106
64
|
* @default "Nothing here yet."
|
|
107
65
|
*/
|
|
108
|
-
empty?:
|
|
66
|
+
empty?: ReactNode | undefined;
|
|
109
67
|
/**
|
|
110
68
|
* Placeholder items instead of the list.
|
|
111
69
|
* @default false
|
|
112
70
|
*/
|
|
113
|
-
loading?: boolean;
|
|
71
|
+
loading?: boolean | undefined;
|
|
114
72
|
/**
|
|
115
73
|
* The list's share of 12 columns when side by side.
|
|
116
74
|
* @default 5
|
|
117
75
|
*/
|
|
118
|
-
listWidth?:
|
|
76
|
+
listWidth?: ListWidth | undefined;
|
|
119
77
|
/**
|
|
120
78
|
* Below this tier the list and pane are two screens.
|
|
121
79
|
* @default "xl"
|
|
122
80
|
*/
|
|
123
|
-
stackBelow?:
|
|
124
|
-
|
|
81
|
+
stackBelow?: StackTier | undefined;
|
|
82
|
+
/** 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. */
|
|
83
|
+
linkComponent?: AppLinkComponent | undefined;
|
|
125
84
|
/**
|
|
126
85
|
* Replaces the built-in English text, for other languages.
|
|
127
86
|
* @default "Loading"
|
|
128
87
|
*/
|
|
129
|
-
loadingLabel?: string;
|
|
88
|
+
loadingLabel?: string | undefined;
|
|
130
89
|
/**
|
|
131
90
|
* Replaces the built-in English text, for other languages.
|
|
132
91
|
* @default "Items"
|
|
133
92
|
*/
|
|
134
|
-
itemsLabel?: string;
|
|
93
|
+
itemsLabel?: string | undefined;
|
|
135
94
|
/**
|
|
136
95
|
* Replaces the built-in English text, for other languages. The token {title} is the item's title.
|
|
137
96
|
* @default "Select {title}"
|
|
138
97
|
*/
|
|
139
|
-
selectItemLabel?: string;
|
|
98
|
+
selectItemLabel?: string | undefined;
|
|
140
99
|
/**
|
|
141
100
|
* Replaces the built-in English text, for other languages.
|
|
142
101
|
* @default "Select all items"
|
|
143
102
|
*/
|
|
144
|
-
selectAllLabel?: string;
|
|
103
|
+
selectAllLabel?: string | undefined;
|
|
145
104
|
/**
|
|
146
105
|
* Replaces the built-in English text, for other languages.
|
|
147
106
|
* @default "Reading pane"
|
|
148
107
|
*/
|
|
149
|
-
readingPaneLabel?: string;
|
|
108
|
+
readingPaneLabel?: string | undefined;
|
|
150
109
|
/**
|
|
151
110
|
* Replaces the built-in English text, for other languages.
|
|
152
111
|
* @default "Previous item"
|
|
153
112
|
*/
|
|
154
|
-
previousItemLabel?: string;
|
|
113
|
+
previousItemLabel?: string | undefined;
|
|
155
114
|
/**
|
|
156
115
|
* Replaces the built-in English text, for other languages.
|
|
157
116
|
* @default "Next item"
|
|
158
117
|
*/
|
|
159
|
-
nextItemLabel?: string;
|
|
118
|
+
nextItemLabel?: string | undefined;
|
|
160
119
|
/**
|
|
161
120
|
* Replaces the built-in English text, for other languages.
|
|
162
121
|
* @default "Open"
|
|
163
122
|
*/
|
|
164
|
-
openLabel?: string;
|
|
123
|
+
openLabel?: string | undefined;
|
|
165
124
|
/**
|
|
166
125
|
* Replaces the built-in English text, for other languages.
|
|
167
126
|
* @default "Move"
|
|
168
127
|
*/
|
|
169
|
-
moveLabel?: string;
|
|
128
|
+
moveLabel?: string | undefined;
|
|
170
129
|
/**
|
|
171
130
|
* Replaces the built-in English text, for other languages. The token {count} is the number of ticked items.
|
|
172
131
|
* @default "{count} selected"
|
|
173
132
|
*/
|
|
174
|
-
selectedLabel?: string;
|
|
133
|
+
selectedLabel?: string | undefined;
|
|
175
134
|
/**
|
|
176
135
|
* Replaces the built-in English text, for other languages. Read in place of a title that is not text.
|
|
177
136
|
* @default "item"
|
|
178
137
|
*/
|
|
179
|
-
untitledItemLabel?: string;
|
|
138
|
+
untitledItemLabel?: string | undefined;
|
|
180
139
|
/**
|
|
181
140
|
* Extra classes on the root element.
|
|
182
141
|
* @default ""
|
|
183
142
|
*/
|
|
184
|
-
className?: string;
|
|
185
|
-
}
|
|
143
|
+
className?: string | undefined;
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* A list beside a reading pane: a queue on the left, the open item on the right, for inbox,
|
|
147
|
+
* approval and drafts screens that should not change page for every item. The open item carries
|
|
148
|
+
* `aria-current="true"` and the subtle primary background, the same treatment as the open row of
|
|
149
|
+
* `AppDataTable`. J and K move between items, Enter opens the focused one, X ticks it (with
|
|
150
|
+
* `selectable`), `?` lists every shortcut (the list footer is an `AppShortcutLegend`). The pane
|
|
151
|
+
* header carries an `AppRecordPager` ("3 of 12", previous and next) for the open item.
|
|
152
|
+
*
|
|
153
|
+
* Below `stackBelow` the list and the pane are two screens: the list shows until an item is open
|
|
154
|
+
* (`currentKey` set), then the pane does. There an item with an `href` follows it, so the item's own
|
|
155
|
+
* route renders the pane screen; put a link back to the list in `paneHeader`. At or above it a click
|
|
156
|
+
* calls `onSelect` instead (Ctrl/Cmd or middle click still opens the `href` in a new tab).
|
|
157
|
+
*
|
|
158
|
+
* Both columns scroll inside a height-capped box (`--wui-split-height` sets the cap). Razor
|
|
159
|
+
* counterpart: `<app-split-view>` with `<app-split-item>` children, whose `pane-src` loads each item
|
|
160
|
+
* into the pane without a page load.
|
|
161
|
+
*/
|
|
162
|
+
export default function AppSplitView(props: AppSplitViewProps): React.JSX.Element;
|
|
163
|
+
export {};
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
* its own status enum to these); the library owns only the presentation. Renders a
|
|
4
|
-
* hyphen when there is no label.
|
|
5
|
-
*
|
|
6
|
-
* @param {object} props
|
|
7
|
-
* @param {import('react').ReactNode} [props.label]
|
|
8
|
-
* @param {string} [props.tone]
|
|
9
|
-
* @param {string} [props.className]
|
|
10
|
-
* @param {string} [props.tooltip]
|
|
11
|
-
* @param {"auto"|"top"|"bottom"|"start"|"end"} [props.tooltipPlacement]
|
|
12
|
-
*/
|
|
13
|
-
export default function AppStatusBadge(props: {
|
|
1
|
+
import type { ComponentPropsWithoutRef, ReactNode } from "react";
|
|
2
|
+
export interface AppStatusBadgeProps extends ComponentPropsWithoutRef<"span"> {
|
|
14
3
|
/** The status text, as a string or a React node. When it is empty the badge draws a plain hyphen. */
|
|
15
|
-
label?:
|
|
4
|
+
label?: ReactNode | undefined;
|
|
16
5
|
/**
|
|
17
6
|
* The tone class suffix: neutral, primary, success, warning, danger or info.
|
|
18
7
|
* @default "neutral"
|
|
19
8
|
*/
|
|
20
|
-
tone?: string;
|
|
9
|
+
tone?: string | undefined;
|
|
10
|
+
/**
|
|
11
|
+
* Draws a 1px border in the tone's own colour, so the pill stands off a white row.
|
|
12
|
+
* @default false
|
|
13
|
+
*/
|
|
14
|
+
bordered?: boolean | undefined;
|
|
21
15
|
/**
|
|
22
16
|
* Extra classes on the pill, appended after the tone class.
|
|
23
17
|
* @default ""
|
|
24
18
|
*/
|
|
25
|
-
className?: string;
|
|
19
|
+
className?: string | undefined;
|
|
26
20
|
/** A hover and focus tooltip that flips to stay on screen. Use it to spell out a terse status. */
|
|
27
|
-
tooltip?: string;
|
|
21
|
+
tooltip?: string | undefined;
|
|
28
22
|
/**
|
|
29
23
|
* The preferred tooltip side. Auto picks the side with the most room.
|
|
30
24
|
* @default "auto"
|
|
31
25
|
*/
|
|
32
|
-
tooltipPlacement?: "auto" | "top" | "bottom" | "start" | "end";
|
|
33
|
-
}
|
|
26
|
+
tooltipPlacement?: "auto" | "top" | "bottom" | "start" | "end" | undefined;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Status pill. Decoupled: the caller supplies the display `label` + `tone` (an app maps
|
|
30
|
+
* its own status enum to these); the library owns only the presentation. Renders a
|
|
31
|
+
* hyphen when there is no label.
|
|
32
|
+
*/
|
|
33
|
+
export default function AppStatusBadge(props: AppStatusBadgeProps): ReactNode;
|