@webority/ui-react 0.149.0 → 0.152.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 -161657
- package/dist/canvas-kit/manifest.json +800 -119
- 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/AppForm.js +1 -0
- 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 +174 -27
- 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 +35 -20
- package/dist/types/components/AppButton.d.ts +66 -56
- 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 +59 -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 +19 -13
- package/dist/types/components/AppDashboardGrid.d.ts +15 -12
- 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 +78 -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/AppForm.d.ts +23 -0
- 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 +115 -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 +46 -43
- 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 +42 -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 +186 -118
- package/dist/types/components/AppSeoHead.d.ts +15 -21
- package/dist/types/components/AppShell.d.ts +212 -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 +180 -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/api/idempotencyKey.js +1 -0
- package/dist/web-core/dist/query/listQuery.js +1 -1
- package/package.json +16 -12
|
@@ -1,502 +1,380 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
* product with its own content-icon set (iconsax behind a
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
matchAlso?: string[];
|
|
57
|
-
/**
|
|
58
|
-
* Also show this item in the phone bottom tab bar.
|
|
59
|
-
*/
|
|
60
|
-
tab?: boolean;
|
|
61
|
-
/**
|
|
62
|
-
* A shorter label for the tab bar.
|
|
63
|
-
*/
|
|
64
|
-
tabLabel?: string;
|
|
65
|
-
/**
|
|
66
|
-
* Sub-items — the row becomes an expandable parent.
|
|
67
|
-
*/
|
|
68
|
-
children?: NavItemShape[];
|
|
69
|
-
/**
|
|
70
|
-
* A sub-heading row in a group, drawn with no link. Shown only while a link follows it.
|
|
71
|
-
*/
|
|
72
|
-
header?: string;
|
|
73
|
-
};
|
|
74
|
-
export type UserMenuShape = {
|
|
75
|
-
/**
|
|
76
|
-
* The person's full name; the avatar's initials come from it.
|
|
77
|
-
*/
|
|
1
|
+
import type * as React from "react";
|
|
2
|
+
import { type AppLinkComponent } from "../lib/linkTarget.ts";
|
|
3
|
+
import { type IconVariant } from "./AppIcon.tsx";
|
|
4
|
+
export interface NavItemShape {
|
|
5
|
+
key?: string | undefined;
|
|
6
|
+
/** Every row but a header row has one. */
|
|
7
|
+
label?: string | undefined;
|
|
8
|
+
/**
|
|
9
|
+
* Library icon name, or a node, so a product with its own content-icon set (iconsax behind a
|
|
10
|
+
* product `Icon` seam) can use it.
|
|
11
|
+
*/
|
|
12
|
+
icon?: string | React.ReactNode | undefined;
|
|
13
|
+
/** The iconsax style of a named `icon`; a node icon draws its own look. Default "twotone". */
|
|
14
|
+
iconVariant?: IconVariant | undefined;
|
|
15
|
+
/** The icon's width and height in px. Default 22. */
|
|
16
|
+
iconSize?: number | undefined;
|
|
17
|
+
/** With `children`, the label link goes here and the chevron alone opens the sub-list. */
|
|
18
|
+
href?: string | undefined;
|
|
19
|
+
/** A count or short status at the row's end. */
|
|
20
|
+
badge?: React.ReactNode | undefined;
|
|
21
|
+
/** Tints the badge for an alert count. */
|
|
22
|
+
badgeTone?: "danger" | "success" | "warning" | undefined;
|
|
23
|
+
/** The badge's hover text, e.g. 3 invoices overdue. */
|
|
24
|
+
badgeTitle?: string | undefined;
|
|
25
|
+
/** An ISO date (yyyy-MM-dd, India time). A green "New" pill shows after the label through that day, and none after it. */
|
|
26
|
+
newUntil?: string | undefined;
|
|
27
|
+
/** A right-aligned secondary glyph (lock, external arrow, new dot). */
|
|
28
|
+
trailingIcon?: string | React.ReactNode | undefined;
|
|
29
|
+
/** Unset: decided from `currentPath`. true / false force it. */
|
|
30
|
+
active?: boolean | undefined;
|
|
31
|
+
/** How `href` is matched against `currentPath` (default prefix). */
|
|
32
|
+
match?: "prefix" | "exact" | undefined;
|
|
33
|
+
/** Extra path prefixes that also make this item the current page. */
|
|
34
|
+
matchAlso?: string[] | undefined;
|
|
35
|
+
/** Also show this item in the phone bottom tab bar. */
|
|
36
|
+
tab?: boolean | undefined;
|
|
37
|
+
/** A shorter label for the tab bar. */
|
|
38
|
+
tabLabel?: string | undefined;
|
|
39
|
+
/** Sub-items: the row becomes an expandable parent. */
|
|
40
|
+
children?: NavItemShape[] | undefined;
|
|
41
|
+
/** A sub-heading row in a group, drawn with no link. Shown only while a link follows it. */
|
|
42
|
+
header?: string | undefined;
|
|
43
|
+
}
|
|
44
|
+
/** A link pinned in the sidebar footer: a flat nav row, with no sub-items, tab bar entry or header. */
|
|
45
|
+
export type NavFooterItemShape = Omit<NavItemShape, "children" | "tab" | "tabLabel" | "header">;
|
|
46
|
+
/** A group of nav items. A `collapsible` group with a `key` folds from its heading; its folded state is remembered in `foldedCookie`. */
|
|
47
|
+
export interface NavGroupShape {
|
|
48
|
+
key?: string | undefined;
|
|
49
|
+
label?: string | undefined;
|
|
50
|
+
collapsible?: boolean | undefined;
|
|
51
|
+
items: NavItemShape[];
|
|
52
|
+
after?: React.ReactNode | undefined;
|
|
53
|
+
}
|
|
54
|
+
export interface UserMenuShape {
|
|
55
|
+
/** The person's full name; the avatar's initials come from it. */
|
|
78
56
|
name: string;
|
|
79
|
-
/**
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
/**
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
/**
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
/**
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
/**
|
|
101
|
-
|
|
102
|
-
*/
|
|
103
|
-
logoutAction?: string;
|
|
104
|
-
/**
|
|
105
|
-
* Default "Sign out".
|
|
106
|
-
*/
|
|
107
|
-
logoutLabel?: string;
|
|
108
|
-
/**
|
|
109
|
-
* Under the name, role and roles lines (an email, an account id, a role badge).
|
|
110
|
-
*/
|
|
111
|
-
head?: import('react').ReactNode;
|
|
112
|
-
/**
|
|
113
|
-
* Between the head and the items: an account or workspace switcher.
|
|
114
|
-
*/
|
|
115
|
-
section?: import('react').ReactNode;
|
|
116
|
-
/**
|
|
117
|
-
* 'item' (default) is a danger row; 'button' is a full-width soft danger button in its own foot.
|
|
118
|
-
*/
|
|
119
|
-
logoutVariant?: 'item' | 'button';
|
|
57
|
+
/** A second line: job title or signed-in role. */
|
|
58
|
+
role?: string | undefined;
|
|
59
|
+
/** Portal role display names, shown under the job title as "Role:" or "Roles:". */
|
|
60
|
+
roles?: string[] | undefined;
|
|
61
|
+
/** Leave the job title off the topbar trigger; the opened menu still shows it. */
|
|
62
|
+
noTriggerRole?: boolean | undefined;
|
|
63
|
+
/** Profile photo URL. */
|
|
64
|
+
photo?: string | undefined;
|
|
65
|
+
profileHref?: string | undefined;
|
|
66
|
+
/** Default "My profile". */
|
|
67
|
+
profileLabel?: string | undefined;
|
|
68
|
+
/** Sign-out handler (a button). */
|
|
69
|
+
onLogout?: (() => void) | undefined;
|
|
70
|
+
/** Or a URL a sign-out form POSTs to. */
|
|
71
|
+
logoutAction?: string | undefined;
|
|
72
|
+
/** Default "Sign out". */
|
|
73
|
+
logoutLabel?: string | undefined;
|
|
74
|
+
/** Under the name, role and roles lines (an email, an account id, a role badge). */
|
|
75
|
+
head?: React.ReactNode | undefined;
|
|
76
|
+
/** Between the head and the items: an account or workspace switcher. */
|
|
77
|
+
section?: React.ReactNode | undefined;
|
|
78
|
+
/** 'item' (default) is a danger row; 'button' is a full-width soft danger button in its own foot. */
|
|
79
|
+
logoutVariant?: "item" | "button" | undefined;
|
|
120
80
|
items?: {
|
|
121
81
|
key: string;
|
|
122
|
-
label?:
|
|
123
|
-
icon?: string;
|
|
124
|
-
href?: string;
|
|
125
|
-
onClick?: () => void;
|
|
126
|
-
divider?: boolean;
|
|
127
|
-
}[];
|
|
128
|
-
}
|
|
129
|
-
export
|
|
130
|
-
/**
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
unread?: number;
|
|
134
|
-
/**
|
|
135
|
-
* The list; undefined until loaded.
|
|
136
|
-
*/
|
|
82
|
+
label?: React.ReactNode | undefined;
|
|
83
|
+
icon?: string | undefined;
|
|
84
|
+
href?: string | undefined;
|
|
85
|
+
onClick?: (() => void) | undefined;
|
|
86
|
+
divider?: boolean | undefined;
|
|
87
|
+
}[] | undefined;
|
|
88
|
+
}
|
|
89
|
+
export interface NotificationsShape {
|
|
90
|
+
/** Unread count on the bell (99+ above 99). */
|
|
91
|
+
unread?: number | undefined;
|
|
92
|
+
/** The list; undefined until loaded. */
|
|
137
93
|
items?: {
|
|
138
|
-
id?: string;
|
|
94
|
+
id?: string | undefined;
|
|
139
95
|
title: string;
|
|
140
|
-
time?: string;
|
|
141
|
-
href?: string;
|
|
142
|
-
read?: boolean;
|
|
143
|
-
icon?: string;
|
|
144
|
-
}[];
|
|
145
|
-
loading?: boolean;
|
|
146
|
-
/**
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
96
|
+
time?: string | undefined;
|
|
97
|
+
href?: string | undefined;
|
|
98
|
+
read?: boolean | undefined;
|
|
99
|
+
icon?: string | undefined;
|
|
100
|
+
}[] | undefined;
|
|
101
|
+
loading?: boolean | undefined;
|
|
102
|
+
/** Called as the panel opens: load or refresh `items` here. */
|
|
103
|
+
onOpen?: (() => void) | undefined;
|
|
104
|
+
/** Shows "Mark all read". */
|
|
105
|
+
onMarkAllRead?: (() => void) | undefined;
|
|
106
|
+
viewAllHref?: string | undefined;
|
|
107
|
+
/** Default "Notifications". */
|
|
108
|
+
label?: string | undefined;
|
|
109
|
+
/** Default "You are all caught up.". */
|
|
110
|
+
emptyText?: string | undefined;
|
|
111
|
+
}
|
|
112
|
+
export interface SearchHit {
|
|
113
|
+
title: string;
|
|
114
|
+
href: string;
|
|
115
|
+
subtitle?: string | undefined;
|
|
116
|
+
icon?: string | undefined;
|
|
117
|
+
}
|
|
118
|
+
export interface SearchResultGroup {
|
|
119
|
+
label?: string | undefined;
|
|
120
|
+
hits: SearchHit[];
|
|
121
|
+
}
|
|
122
|
+
export interface SearchShape {
|
|
123
|
+
/** Controlled text. */
|
|
168
124
|
value: string;
|
|
169
125
|
onChange: (value: string) => void;
|
|
170
|
-
/**
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
/**
|
|
184
|
-
* A suggestion was picked; preventDefault the event to route yourself.
|
|
185
|
-
*/
|
|
186
|
-
onSelect?: (hit: object, event: Event) => void;
|
|
187
|
-
/**
|
|
188
|
-
* Enter with no suggestion chosen.
|
|
189
|
-
*/
|
|
190
|
-
onSubmit?: (value: string) => void;
|
|
191
|
-
/**
|
|
192
|
-
* The field got focus (a click, Tab, or the "/" shortcut).
|
|
193
|
-
*/
|
|
194
|
-
onFocus?: (event: FocusEvent) => void;
|
|
195
|
-
/**
|
|
196
|
-
* Default "Search"; also the field's accessible name.
|
|
197
|
-
*/
|
|
198
|
-
placeholder?: string;
|
|
199
|
-
};
|
|
200
|
-
/**
|
|
201
|
-
* The persistent frame every authenticated portal sits inside — a sidebar of
|
|
202
|
-
* navigation, a sticky topbar, the routed content, an optional footer, and on a phone
|
|
203
|
-
* a bottom tab bar.
|
|
204
|
-
*
|
|
205
|
-
* Slot-based, not copy-own: what every product shares is the *structure* — the
|
|
206
|
-
* breakpoint the sidebar collapses at, the drawer and its scrim, the 72px topbar,
|
|
207
|
-
* the icon rail, the tab bar. What differs is only the content, which arrives as props.
|
|
208
|
-
* The Razor `<app-shell>` renders the same markup and classes.
|
|
209
|
-
*
|
|
210
|
-
* Router-agnostic: pass `linkComponent` (react-router's `Link`) and nav items get
|
|
211
|
-
* `to`; without it they render as plain `<a href>`, which is what Razor emits. Pass
|
|
212
|
-
* `currentPath` (the router location) to let the shell pick the active item; without it
|
|
213
|
-
* each item's `active` decides, as before.
|
|
214
|
-
*
|
|
215
|
-
* @param {object} props
|
|
216
|
-
* @param {{ key?: string, label?: string, collapsible?: boolean, items: NavItemShape[], after?: import('react').ReactNode }[]} [props.groups]
|
|
217
|
-
* A `collapsible` group with a `key` folds from its heading; its folded state is remembered in `foldedCookie`.
|
|
218
|
-
* @param {import('react').ReactNode} [props.brand]
|
|
219
|
-
* @param {string} [props.logoLight] Image URL of the full logo shown on the open sidebar. Ship it pre-trimmed; the library fixes only its height.
|
|
220
|
-
* @param {string} [props.logoDark] Dark-mode twin of `logoLight`, swapped in under data-theme dark. Needs `logoLight`.
|
|
221
|
-
* @param {string} [props.markLight] Image URL of the square mark shown on the collapsed rail.
|
|
222
|
-
* @param {string} [props.markDark] Dark-mode twin of `markLight`.
|
|
223
|
-
* @param {string} [props.brandName] The brand name, read by screen readers from the logo, or from the mark when there is no logo.
|
|
224
|
-
* @param {string} [props.brandHref] Makes the logo row a link to this address, through linkComponent when one is passed, and a tap on it closes the phone drawer. The link wraps the logo, mark and brand node, so brand must hold no link of its own. Needs brandLabel or brandName, and a brand, logo or mark to link.
|
|
225
|
-
* @param {string} [props.brandLabel] The brand link's accessible name, such as "Acme home". Used only with brandHref; defaults to brandName.
|
|
226
|
-
* @param {import('react').ReactNode} [props.sidebarStart]
|
|
227
|
-
* @param {import('react').ReactNode} [props.sidebarStartCompact]
|
|
228
|
-
* @param {import('react').ReactNode} [props.sidebarFooter]
|
|
229
|
-
* @param {import('react').ReactNode} [props.topbarStart]
|
|
230
|
-
* @param {import('react').ReactNode} [props.topbarEnd]
|
|
231
|
-
* @param {import('react').ReactNode} [props.footer]
|
|
232
|
-
* @param {import('react').ReactNode} [props.launcher]
|
|
233
|
-
* @param {import('react').ReactNode} props.children The routed page.
|
|
234
|
-
* @param {boolean} [props.collapsed]
|
|
235
|
-
* @param {(collapsed: boolean) => void} [props.onCollapsedChange]
|
|
236
|
-
* @param {boolean} [props.noSidebar]
|
|
237
|
-
* @param {'side'|'top'} [props.nav] 'top': from lg up the groups' items ride in the top bar after brand through the navigation menu and no sidebar is drawn; below lg the drawer and the phone tab bar stay.
|
|
238
|
-
* @param {'comfortable'|'compact'} [props.density]
|
|
239
|
-
* @param {number} [props.itemHeight]
|
|
240
|
-
* @param {'linear'|'outline'|'bold'|'bulk'|'broken'|'twotone'} [props.iconVariant='twotone']
|
|
241
|
-
* @param {'neutral'|'primary'} [props.topbarTone]
|
|
242
|
-
* @param {string} [props.navLabel]
|
|
243
|
-
* @param {string} [props.currentPath]
|
|
244
|
-
* @param {boolean} [props.rememberCollapsed]
|
|
245
|
-
* @param {string} [props.collapsedCookie]
|
|
246
|
-
* @param {string} [props.foldedCookie]
|
|
247
|
-
* @param {string} [props.tabBarLabel]
|
|
248
|
-
* @param {string} [props.moreLabel]
|
|
249
|
-
* @param {string} [props.skipLabel] Default "Skip to content".
|
|
250
|
-
* @param {string} [props.openNavLabel] Default "Open navigation".
|
|
251
|
-
* @param {string} [props.closeNavLabel] Default "Close navigation".
|
|
252
|
-
* @param {string} [props.expandNavLabel] Default "Expand navigation".
|
|
253
|
-
* @param {string} [props.collapseNavLabel] Default "Collapse navigation".
|
|
254
|
-
* @param {string} [props.newLabel] Default "New".
|
|
255
|
-
* @param {string} [props.togglePagesLabel] Default "Show or hide {name} pages".
|
|
256
|
-
* @param {string} [props.accountMenuLabel] Default "Account menu for {name}".
|
|
257
|
-
* @param {string} [props.roleLabel] Default "Role:".
|
|
258
|
-
* @param {string} [props.rolesLabel] Default "Roles:".
|
|
259
|
-
* @param {string} [props.unreadLabel] Default "Unread".
|
|
260
|
-
* @param {string} [props.markAllReadLabel] Default "Mark all read".
|
|
261
|
-
* @param {string} [props.viewAllLabel] Default "View all".
|
|
262
|
-
* @param {string} [props.loadingNotificationsText] Default "Loading…".
|
|
263
|
-
* @param {string} [props.noUnreadText] Default "No unread notifications".
|
|
264
|
-
* @param {string} [props.unreadNotificationsText] Default "{count} unread notifications".
|
|
265
|
-
* @param {string} [props.unreadBellLabel] Default "{label}, {count} unread".
|
|
266
|
-
* @param {string} [props.searchResultsLabel] Default "Search results".
|
|
267
|
-
* @param {string} [props.noResultsText] Default "No results".
|
|
268
|
-
* @param {string} [props.noResultsForText] Default "No results for “{value}”".
|
|
269
|
-
* @param {string} [props.resultsCountText] Default "{count} results".
|
|
270
|
-
* @param {string} [props.resultCountText] Default "{count} result".
|
|
271
|
-
* @param {UserMenuShape} [props.userMenu]
|
|
272
|
-
* @param {NotificationsShape} [props.notifications]
|
|
273
|
-
* @param {SearchShape} [props.search]
|
|
274
|
-
* @param {string} [props.className]
|
|
275
|
-
*/
|
|
276
|
-
export default function AppShell(props: {
|
|
126
|
+
/** Suggestion groups; null hides the list. */
|
|
127
|
+
results?: SearchResultGroup[] | null | undefined;
|
|
128
|
+
loading?: boolean | undefined;
|
|
129
|
+
/** A suggestion was picked; preventDefault the event to route yourself. */
|
|
130
|
+
onSelect?: ((hit: SearchHit, event: React.MouseEvent<HTMLAnchorElement>) => void) | undefined;
|
|
131
|
+
/** Enter with no suggestion chosen. */
|
|
132
|
+
onSubmit?: ((value: string) => void) | undefined;
|
|
133
|
+
/** The field got focus (a click, Tab, or the "/" shortcut). */
|
|
134
|
+
onFocus?: ((event: React.FocusEvent<HTMLInputElement>) => void) | undefined;
|
|
135
|
+
/** Default "Search"; also the field's accessible name. */
|
|
136
|
+
placeholder?: string | undefined;
|
|
137
|
+
}
|
|
138
|
+
export interface AppShellProps extends Omit<React.ComponentPropsWithoutRef<"div">, "children" | "className" | "style"> {
|
|
277
139
|
/**
|
|
278
140
|
* Nav groups, in order. Groups after the first are separated by a rule. A group with no items is not rendered, and neither is its after.
|
|
279
141
|
* @default []
|
|
280
142
|
*/
|
|
281
|
-
groups?:
|
|
282
|
-
key?: string;
|
|
283
|
-
label?: string;
|
|
284
|
-
collapsible?: boolean;
|
|
285
|
-
items: NavItemShape[];
|
|
286
|
-
after?: import('react').ReactNode;
|
|
287
|
-
}[];
|
|
143
|
+
groups?: NavGroupShape[] | undefined;
|
|
288
144
|
/** The logo row at the top of the sidebar. */
|
|
289
|
-
brand?:
|
|
145
|
+
brand?: React.ReactNode | undefined;
|
|
290
146
|
/** Image URL of the full logo shown on the open sidebar. Ship it pre-trimmed; the library fixes only its height. */
|
|
291
|
-
logoLight?: string;
|
|
147
|
+
logoLight?: string | undefined;
|
|
292
148
|
/** Dark-mode twin of logoLight, swapped in under data-theme dark. Needs logoLight. */
|
|
293
|
-
logoDark?: string;
|
|
149
|
+
logoDark?: string | undefined;
|
|
294
150
|
/** Image URL of the square mark shown on the collapsed rail. Without one, the logo is clipped to a square. */
|
|
295
|
-
markLight?: string;
|
|
151
|
+
markLight?: string | undefined;
|
|
296
152
|
/** Dark-mode twin of markLight. */
|
|
297
|
-
markDark?: string;
|
|
153
|
+
markDark?: string | undefined;
|
|
298
154
|
/** The brand name, read by screen readers from the logo, or from the mark when there is no logo. */
|
|
299
|
-
brandName?: string;
|
|
155
|
+
brandName?: string | undefined;
|
|
300
156
|
/** Makes the logo row a link to this address, through linkComponent when one is passed. The link wraps the logo, mark and brand, so brand must hold no link of its own. Needs brandLabel or brandName. */
|
|
301
|
-
brandHref?: string;
|
|
157
|
+
brandHref?: string | undefined;
|
|
302
158
|
/** The brand link's accessible name, such as Acme home. Used only with brandHref; defaults to brandName. */
|
|
303
|
-
brandLabel?: string;
|
|
159
|
+
brandLabel?: string | undefined;
|
|
304
160
|
/** Between the brand row and the nav, such as a workspace switcher or an environment badge. Hidden on the collapsed rail. */
|
|
305
|
-
sidebarStart?:
|
|
161
|
+
sidebarStart?: React.ReactNode | undefined;
|
|
306
162
|
/** The same slot for the collapsed rail, typically a compact monogram control. Shown only on the desktop collapsed rail. */
|
|
307
|
-
sidebarStartCompact?:
|
|
163
|
+
sidebarStartCompact?: React.ReactNode | undefined;
|
|
308
164
|
/** Pinned below the scrolling nav. */
|
|
309
|
-
sidebarFooter?:
|
|
165
|
+
sidebarFooter?: React.ReactNode | undefined;
|
|
166
|
+
/** Nav links pinned in the sidebar footer, matched and marked active with the menu links. Flat links only: no children, no tab, no header. */
|
|
167
|
+
sidebarFooterItems?: NavFooterItemShape[] | undefined;
|
|
310
168
|
/** Leading topbar slot, such as the page title or crumbs. */
|
|
311
|
-
topbarStart?:
|
|
169
|
+
topbarStart?: React.ReactNode | undefined;
|
|
312
170
|
/** Trailing topbar slot for page actions. The bell and account menu follow it. */
|
|
313
|
-
topbarEnd?:
|
|
171
|
+
topbarEnd?: React.ReactNode | undefined;
|
|
314
172
|
/** Content shown below the page, in the content column. */
|
|
315
|
-
footer?:
|
|
173
|
+
footer?: React.ReactNode | undefined;
|
|
316
174
|
/** A floating button pinned to the bottom end corner over the page, such as an assistant launcher. On a phone it sits above the tab bar. */
|
|
317
|
-
launcher?:
|
|
318
|
-
|
|
175
|
+
launcher?: React.ReactNode | undefined;
|
|
176
|
+
/** The routed page. */
|
|
177
|
+
children: React.ReactNode;
|
|
319
178
|
/** Controlled rail state. Omit it to let the shell own the state. */
|
|
320
|
-
collapsed?: boolean;
|
|
321
|
-
onCollapsedChange?: (collapsed: boolean) => void;
|
|
179
|
+
collapsed?: boolean | undefined;
|
|
180
|
+
onCollapsedChange?: ((collapsed: boolean) => void) | undefined;
|
|
322
181
|
/**
|
|
323
182
|
* Full-width layout with no side nav, for a focused wizard. There is no tab bar either.
|
|
324
183
|
* @default false
|
|
325
184
|
*/
|
|
326
|
-
noSidebar?: boolean;
|
|
185
|
+
noSidebar?: boolean | undefined;
|
|
327
186
|
/**
|
|
328
187
|
* Where the primary navigation sits: a sidebar, or from lg up the top bar.
|
|
329
188
|
* @default "side"
|
|
330
189
|
*/
|
|
331
|
-
nav?:
|
|
190
|
+
nav?: "side" | "top" | undefined;
|
|
332
191
|
/**
|
|
333
192
|
* Compact sets the content's top padding to 12px.
|
|
334
193
|
* @default "comfortable"
|
|
335
194
|
*/
|
|
336
|
-
density?:
|
|
195
|
+
density?: "comfortable" | "compact" | undefined;
|
|
337
196
|
/** The height of every sidebar row in px, in place of the density's row height. Unset, the rows keep the density's height. A value above zero applies on every pointer, touch included. */
|
|
338
|
-
itemHeight?: number;
|
|
197
|
+
itemHeight?: number | undefined;
|
|
339
198
|
/**
|
|
340
199
|
* The iconsax style of every sidebar icon. A row's own iconVariant overrides it; bulk is the filled look. Unset, icons draw in the twotone style.
|
|
341
200
|
* @default "twotone"
|
|
342
201
|
*/
|
|
343
|
-
iconVariant?:
|
|
202
|
+
iconVariant?: IconVariant | undefined;
|
|
344
203
|
/**
|
|
345
204
|
* The top bar's colour. Primary paints the bar in the primary colour, with the ink that reads on it. The search field keeps its own surface.
|
|
346
205
|
* @default "neutral"
|
|
347
206
|
*/
|
|
348
|
-
topbarTone?:
|
|
207
|
+
topbarTone?: "neutral" | "primary" | undefined;
|
|
349
208
|
/**
|
|
350
209
|
* Accessible name of the sidebar navigation.
|
|
351
210
|
* @default "Main navigation"
|
|
352
211
|
*/
|
|
353
|
-
navLabel?: string;
|
|
212
|
+
navLabel?: string | undefined;
|
|
213
|
+
/** Router component for nav and brand links (react-router's `Link`); receives `to`. Without it they render as plain `<a href>`. */
|
|
214
|
+
linkComponent?: AppLinkComponent | undefined;
|
|
354
215
|
/** The current location. Rows without active are matched against it. */
|
|
355
|
-
currentPath?: string;
|
|
216
|
+
currentPath?: string | undefined;
|
|
356
217
|
/**
|
|
357
218
|
* Remembers the uncontrolled rail state in a cookie.
|
|
358
219
|
* @default false
|
|
359
220
|
*/
|
|
360
|
-
rememberCollapsed?: boolean;
|
|
221
|
+
rememberCollapsed?: boolean | undefined;
|
|
361
222
|
/**
|
|
362
223
|
* The cookie rememberCollapsed uses.
|
|
363
224
|
* @default "wui-shell-collapsed"
|
|
364
225
|
*/
|
|
365
|
-
collapsedCookie?: string;
|
|
226
|
+
collapsedCookie?: string | undefined;
|
|
366
227
|
/**
|
|
367
228
|
* The cookie that remembers the folded collapsible groups, as their keys joined by dots.
|
|
368
229
|
* @default "wui-nav-folded"
|
|
369
230
|
*/
|
|
370
|
-
foldedCookie?: string;
|
|
231
|
+
foldedCookie?: string | undefined;
|
|
371
232
|
/**
|
|
372
233
|
* Accessible name of the phone tab bar.
|
|
373
234
|
* @default "Quick navigation"
|
|
374
235
|
*/
|
|
375
|
-
tabBarLabel?: string;
|
|
236
|
+
tabBarLabel?: string | undefined;
|
|
376
237
|
/**
|
|
377
238
|
* Label of the tab bar button that opens the drawer.
|
|
378
239
|
* @default "More"
|
|
379
240
|
*/
|
|
380
|
-
moreLabel?: string;
|
|
241
|
+
moreLabel?: string | undefined;
|
|
381
242
|
/**
|
|
382
243
|
* Replaces the built-in English text, for other languages.
|
|
383
244
|
* @default "Skip to content"
|
|
384
245
|
*/
|
|
385
|
-
skipLabel?: string;
|
|
246
|
+
skipLabel?: string | undefined;
|
|
386
247
|
/**
|
|
387
248
|
* Replaces the built-in English text, for other languages.
|
|
388
249
|
* @default "Open navigation"
|
|
389
250
|
*/
|
|
390
|
-
openNavLabel?: string;
|
|
251
|
+
openNavLabel?: string | undefined;
|
|
391
252
|
/**
|
|
392
253
|
* Replaces the built-in English text, for other languages.
|
|
393
254
|
* @default "Close navigation"
|
|
394
255
|
*/
|
|
395
|
-
closeNavLabel?: string;
|
|
256
|
+
closeNavLabel?: string | undefined;
|
|
396
257
|
/**
|
|
397
258
|
* Replaces the built-in English text, for other languages.
|
|
398
259
|
* @default "Expand navigation"
|
|
399
260
|
*/
|
|
400
|
-
expandNavLabel?: string;
|
|
261
|
+
expandNavLabel?: string | undefined;
|
|
401
262
|
/**
|
|
402
263
|
* Replaces the built-in English text, for other languages.
|
|
403
264
|
* @default "Collapse navigation"
|
|
404
265
|
*/
|
|
405
|
-
collapseNavLabel?: string;
|
|
266
|
+
collapseNavLabel?: string | undefined;
|
|
406
267
|
/**
|
|
407
268
|
* Replaces the built-in English text, for other languages.
|
|
408
269
|
* @default "New"
|
|
409
270
|
*/
|
|
410
|
-
newLabel?: string;
|
|
271
|
+
newLabel?: string | undefined;
|
|
411
272
|
/**
|
|
412
273
|
* Replaces the built-in English text, for other languages. {name} is the nav item's label.
|
|
413
274
|
* @default "Show or hide {name} pages"
|
|
414
275
|
*/
|
|
415
|
-
togglePagesLabel?: string;
|
|
276
|
+
togglePagesLabel?: string | undefined;
|
|
416
277
|
/**
|
|
417
278
|
* Replaces the built-in English text, for other languages. {name} is the signed-in person's name.
|
|
418
279
|
* @default "Account menu for {name}"
|
|
419
280
|
*/
|
|
420
|
-
accountMenuLabel?: string;
|
|
281
|
+
accountMenuLabel?: string | undefined;
|
|
421
282
|
/**
|
|
422
283
|
* Replaces the built-in English text, for other languages.
|
|
423
284
|
* @default "Role:"
|
|
424
285
|
*/
|
|
425
|
-
roleLabel?: string;
|
|
286
|
+
roleLabel?: string | undefined;
|
|
426
287
|
/**
|
|
427
288
|
* Replaces the built-in English text, for other languages.
|
|
428
289
|
* @default "Roles:"
|
|
429
290
|
*/
|
|
430
|
-
rolesLabel?: string;
|
|
291
|
+
rolesLabel?: string | undefined;
|
|
431
292
|
/**
|
|
432
293
|
* Replaces the built-in English text, for other languages.
|
|
433
294
|
* @default "Unread"
|
|
434
295
|
*/
|
|
435
|
-
unreadLabel?: string;
|
|
296
|
+
unreadLabel?: string | undefined;
|
|
436
297
|
/**
|
|
437
298
|
* Replaces the built-in English text, for other languages.
|
|
438
299
|
* @default "Mark all read"
|
|
439
300
|
*/
|
|
440
|
-
markAllReadLabel?: string;
|
|
301
|
+
markAllReadLabel?: string | undefined;
|
|
441
302
|
/**
|
|
442
303
|
* Replaces the built-in English text, for other languages.
|
|
443
304
|
* @default "View all"
|
|
444
305
|
*/
|
|
445
|
-
viewAllLabel?: string;
|
|
306
|
+
viewAllLabel?: string | undefined;
|
|
446
307
|
/**
|
|
447
308
|
* Replaces the built-in English text, for other languages.
|
|
448
309
|
* @default "Loading…"
|
|
449
310
|
*/
|
|
450
|
-
loadingNotificationsText?: string;
|
|
311
|
+
loadingNotificationsText?: string | undefined;
|
|
451
312
|
/**
|
|
452
313
|
* Replaces the built-in English text, for other languages. Read aloud when the unread count drops to zero.
|
|
453
314
|
* @default "No unread notifications"
|
|
454
315
|
*/
|
|
455
|
-
noUnreadText?: string;
|
|
316
|
+
noUnreadText?: string | undefined;
|
|
456
317
|
/**
|
|
457
318
|
* Replaces the built-in English text, for other languages. {count} is the unread count.
|
|
458
319
|
* @default "{count} unread notifications"
|
|
459
320
|
*/
|
|
460
|
-
unreadNotificationsText?: string;
|
|
321
|
+
unreadNotificationsText?: string | undefined;
|
|
461
322
|
/**
|
|
462
323
|
* Replaces the built-in English text, for other languages. {label} is the bell's label and {count} the unread count.
|
|
463
324
|
* @default "{label}, {count} unread"
|
|
464
325
|
*/
|
|
465
|
-
unreadBellLabel?: string;
|
|
326
|
+
unreadBellLabel?: string | undefined;
|
|
466
327
|
/**
|
|
467
328
|
* Replaces the built-in English text, for other languages.
|
|
468
329
|
* @default "Search results"
|
|
469
330
|
*/
|
|
470
|
-
searchResultsLabel?: string;
|
|
331
|
+
searchResultsLabel?: string | undefined;
|
|
471
332
|
/**
|
|
472
333
|
* Replaces the built-in English text, for other languages.
|
|
473
334
|
* @default "No results"
|
|
474
335
|
*/
|
|
475
|
-
noResultsText?: string;
|
|
336
|
+
noResultsText?: string | undefined;
|
|
476
337
|
/**
|
|
477
338
|
* Replaces the built-in English text, for other languages. {value} is the search text.
|
|
478
339
|
* @default "No results for “{value}”"
|
|
479
340
|
*/
|
|
480
|
-
noResultsForText?: string;
|
|
341
|
+
noResultsForText?: string | undefined;
|
|
481
342
|
/**
|
|
482
343
|
* Replaces the built-in English text, for other languages. {count} is the number of results.
|
|
483
344
|
* @default "{count} results"
|
|
484
345
|
*/
|
|
485
|
-
resultsCountText?: string;
|
|
346
|
+
resultsCountText?: string | undefined;
|
|
486
347
|
/**
|
|
487
348
|
* Replaces the built-in English text, for other languages. {count} is the number of results (one).
|
|
488
349
|
* @default "{count} result"
|
|
489
350
|
*/
|
|
490
|
-
resultCountText?: string;
|
|
351
|
+
resultCountText?: string | undefined;
|
|
491
352
|
/** The account menu at the end of the topbar. */
|
|
492
|
-
userMenu?: UserMenuShape;
|
|
353
|
+
userMenu?: UserMenuShape | undefined;
|
|
493
354
|
/** The notification bell. */
|
|
494
|
-
notifications?: NotificationsShape;
|
|
355
|
+
notifications?: NotificationsShape | undefined;
|
|
495
356
|
/** The topbar search. Its onChange, onSelect, onSubmit and onFocus handlers are passed in code; onFocus runs when the field gets focus, for example to open a command palette. */
|
|
496
|
-
search?: SearchShape;
|
|
357
|
+
search?: SearchShape | undefined;
|
|
497
358
|
/**
|
|
498
359
|
* Extra classes on the shell root.
|
|
499
360
|
* @default ""
|
|
500
361
|
*/
|
|
501
|
-
className?: string;
|
|
502
|
-
|
|
362
|
+
className?: string | undefined;
|
|
363
|
+
style?: React.CSSProperties | undefined;
|
|
364
|
+
}
|
|
365
|
+
/**
|
|
366
|
+
* The persistent frame every authenticated portal sits inside: a sidebar of
|
|
367
|
+
* navigation, a sticky topbar, the routed content, an optional footer, and on a phone
|
|
368
|
+
* a bottom tab bar.
|
|
369
|
+
*
|
|
370
|
+
* Slot-based, not copy-own. What every product shares is the *structure*: the
|
|
371
|
+
* breakpoint the sidebar collapses at, the drawer and its scrim, the 72px topbar,
|
|
372
|
+
* the icon rail, the tab bar. What differs is only the content, which arrives as props.
|
|
373
|
+
* The Razor `<app-shell>` renders the same markup and classes.
|
|
374
|
+
*
|
|
375
|
+
* Router-agnostic: pass `linkComponent` (react-router's `Link`) and nav items get
|
|
376
|
+
* `to`; without it they render as plain `<a href>`, which is what Razor emits. Pass
|
|
377
|
+
* `currentPath` (the router location) to let the shell pick the active item; without it
|
|
378
|
+
* each item's `active` decides, as before.
|
|
379
|
+
*/
|
|
380
|
+
export default function AppShell(props: AppShellProps): React.JSX.Element;
|