@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,54 +1,47 @@
|
|
|
1
|
-
import "
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
* one only lists a key the page binds itself (with `useListShortcuts`). `items` and `search` add
|
|
10
|
-
* the list keys: J and K move focus through the elements matching `items`, X ticks the checkbox
|
|
11
|
-
* in the focused item's row, `/` focuses `search`. Keys typed into a field, held with Ctrl, Cmd or
|
|
12
|
-
* Alt, or pressed while `<html data-wui-shortcuts="off">` is set do nothing. Inside an element
|
|
13
|
-
* marked `data-shortcut-scope` the keys count while focus is in it (or, with nothing focused, in
|
|
14
|
-
* the first scope on the page). Wraps `<wui-shortcuts>`, which Razor `<app-shortcut-legend>`
|
|
15
|
-
* renders too. A phone has no keyboard, so leave the legend out of phone-only screens.
|
|
16
|
-
*
|
|
17
|
-
* @param {object} props
|
|
18
|
-
* @param {{ key: string, label: string, group?: string, onPress?: (itemKey: string|null) => void }[]} [props.shortcuts] Rows sharing a group sit under that heading, groups in first-seen order.
|
|
19
|
-
* @param {string} [props.items]
|
|
20
|
-
* @param {string} [props.search]
|
|
21
|
-
* @param {boolean} [props.open] Controlled open state.
|
|
22
|
-
* @param {(open: boolean) => void} [props.onOpenChange]
|
|
23
|
-
* @param {boolean} [props.trigger] false renders no button; the sheet opens from "?", `open`, or any element with data-wui-shortcuts-open="#<id>". Default true.
|
|
24
|
-
* @param {string} [props.className]
|
|
25
|
-
*/
|
|
26
|
-
export default function AppShortcutLegend(props: {
|
|
1
|
+
import { type ComponentPropsWithoutRef, type JSX } from "react";
|
|
2
|
+
export interface AppShortcutRow {
|
|
3
|
+
key: string;
|
|
4
|
+
label: string;
|
|
5
|
+
group?: string | undefined;
|
|
6
|
+
onPress?: ((itemKey: string | null) => void) | undefined;
|
|
7
|
+
}
|
|
8
|
+
export interface AppShortcutLegendProps extends ComponentPropsWithoutRef<"div"> {
|
|
27
9
|
/**
|
|
28
10
|
* The rows of the sheet, in order; the ? row is always last.
|
|
29
11
|
* @default []
|
|
30
12
|
*/
|
|
31
|
-
shortcuts?:
|
|
32
|
-
key: string;
|
|
33
|
-
label: string;
|
|
34
|
-
group?: string;
|
|
35
|
-
onPress?: (itemKey: string | null) => void;
|
|
36
|
-
}[];
|
|
13
|
+
shortcuts?: AppShortcutRow[] | undefined;
|
|
37
14
|
/** CSS selector of the items that J and K move between, inside the scope. */
|
|
38
|
-
items?: string;
|
|
15
|
+
items?: string | undefined;
|
|
39
16
|
/** CSS selector of the field that / focuses. */
|
|
40
|
-
search?: string;
|
|
17
|
+
search?: string | undefined;
|
|
41
18
|
/** Controlled open state of the sheet. */
|
|
42
|
-
open?: boolean;
|
|
43
|
-
onOpenChange?: (open: boolean) => void;
|
|
19
|
+
open?: boolean | undefined;
|
|
20
|
+
onOpenChange?: ((open: boolean) => void) | undefined;
|
|
44
21
|
/**
|
|
45
22
|
* false renders no button; the sheet opens from ?, open, or a data-wui-shortcuts-open element.
|
|
46
23
|
* @default true
|
|
47
24
|
*/
|
|
48
|
-
trigger?: boolean;
|
|
25
|
+
trigger?: boolean | undefined;
|
|
49
26
|
/**
|
|
50
27
|
* Extra classes on the legend root.
|
|
51
28
|
* @default ""
|
|
52
29
|
*/
|
|
53
|
-
className?: string;
|
|
54
|
-
}
|
|
30
|
+
className?: string | undefined;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* The keyboard shortcut list of a screen: a "? Keyboard shortcuts" button that opens a sheet of
|
|
34
|
+
* every shortcut, also opened with `?` and closed with Esc or a click outside. Put it under a
|
|
35
|
+
* list people work through, and show each key on its action too (`shortcut` on AppButton,
|
|
36
|
+
* AppTooltip and AppDropdown items).
|
|
37
|
+
*
|
|
38
|
+
* Each entry with `onPress` is a working shortcut: pressing its key calls it. An entry without
|
|
39
|
+
* one only lists a key the page binds itself (with `useListShortcuts`). `items` and `search` add
|
|
40
|
+
* the list keys: J and K move focus through the elements matching `items`, X ticks the checkbox
|
|
41
|
+
* in the focused item's row, `/` focuses `search`. Keys typed into a field, held with Ctrl, Cmd or
|
|
42
|
+
* Alt, or pressed while `<html data-wui-shortcuts="off">` is set do nothing. Inside an element
|
|
43
|
+
* marked `data-shortcut-scope` the keys count while focus is in it (or, with nothing focused, in
|
|
44
|
+
* the first scope on the page). Wraps `<wui-shortcuts>`, which Razor `<app-shortcut-legend>`
|
|
45
|
+
* renders too. A phone has no keyboard, so leave the legend out of phone-only screens.
|
|
46
|
+
*/
|
|
47
|
+
export default function AppShortcutLegend(props: AppShortcutLegendProps): JSX.Element;
|
|
@@ -1,50 +1,43 @@
|
|
|
1
|
-
import "
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
* overflows `lines`. The clamp is visual: the full text stays in the page for screen readers, and
|
|
6
|
-
* the toggle announces its state (`aria-expanded`). Without script the text shows in full. Wraps
|
|
7
|
-
* `<wui-show-more>`, which Razor `<app-show-more>` renders too.
|
|
8
|
-
*
|
|
9
|
-
* Open and close state belongs to the element; `defaultExpanded` only sets where it starts, and a
|
|
10
|
-
* change of it after mount is ignored. Listen for `wui:show-more:toggle` on the root to follow it.
|
|
11
|
-
*
|
|
12
|
-
* @param {object} props
|
|
13
|
-
* @param {import('react').ReactNode} props.children The text (or markup) to clamp.
|
|
14
|
-
* @param {number} [props.lines]
|
|
15
|
-
* @param {string} [props.moreLabel]
|
|
16
|
-
* @param {string} [props.lessLabel]
|
|
17
|
-
* @param {boolean} [props.defaultExpanded]
|
|
18
|
-
* @param {string} [props.id]
|
|
19
|
-
* @param {string} [props.className]
|
|
20
|
-
*/
|
|
21
|
-
export default function AppShowMore(props: {
|
|
22
|
-
children: import('react').ReactNode;
|
|
1
|
+
import { type ComponentPropsWithoutRef, type JSX, type ReactNode } from "react";
|
|
2
|
+
export interface AppShowMoreProps extends ComponentPropsWithoutRef<"div"> {
|
|
3
|
+
/** The text (or markup) to clamp. */
|
|
4
|
+
children: ReactNode;
|
|
23
5
|
/**
|
|
24
6
|
* How many lines show while the text is collapsed.
|
|
25
7
|
* @default 3
|
|
26
8
|
*/
|
|
27
|
-
lines?: number;
|
|
9
|
+
lines?: number | undefined;
|
|
28
10
|
/**
|
|
29
11
|
* The toggle's text while collapsed.
|
|
30
12
|
* @default "Show more"
|
|
31
13
|
*/
|
|
32
|
-
moreLabel?: string;
|
|
14
|
+
moreLabel?: string | undefined;
|
|
33
15
|
/**
|
|
34
16
|
* The toggle's text while expanded.
|
|
35
17
|
* @default "Show less"
|
|
36
18
|
*/
|
|
37
|
-
lessLabel?: string;
|
|
19
|
+
lessLabel?: string | undefined;
|
|
38
20
|
/**
|
|
39
21
|
* Start with the whole text showing; a change after mount is ignored.
|
|
40
22
|
* @default false
|
|
41
23
|
*/
|
|
42
|
-
defaultExpanded?: boolean;
|
|
24
|
+
defaultExpanded?: boolean | undefined;
|
|
43
25
|
/** The root's id; the text body's id is the root id plus -body. Generated when omitted. */
|
|
44
|
-
id?: string;
|
|
26
|
+
id?: string | undefined;
|
|
45
27
|
/**
|
|
46
28
|
* Extra classes on the root.
|
|
47
29
|
* @default ""
|
|
48
30
|
*/
|
|
49
|
-
className?: string;
|
|
50
|
-
}
|
|
31
|
+
className?: string | undefined;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* A long text block clamped to a few lines with a Show more toggle, for a description or a note
|
|
35
|
+
* that would otherwise push the rest of a detail page down. The toggle shows only when the text
|
|
36
|
+
* overflows `lines`. The clamp is visual: the full text stays in the page for screen readers, and
|
|
37
|
+
* the toggle announces its state (`aria-expanded`). Without script the text shows in full. Wraps
|
|
38
|
+
* `<wui-show-more>`, which Razor `<app-show-more>` renders too.
|
|
39
|
+
*
|
|
40
|
+
* Open and close state belongs to the element; `defaultExpanded` only sets where it starts, and a
|
|
41
|
+
* change of it after mount is ignored. Listen for `wui:show-more:toggle` on the root to follow it.
|
|
42
|
+
*/
|
|
43
|
+
export default function AppShowMore(props: AppShowMoreProps): JSX.Element;
|
|
@@ -1,50 +1,41 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*
|
|
4
|
-
* @param {object} props
|
|
5
|
-
* @param {string|number} [props.width]
|
|
6
|
-
* @param {string|number} [props.height]
|
|
7
|
-
* @param {string|number} [props.radius]
|
|
8
|
-
* @param {string} [props.className]
|
|
9
|
-
* @param {import('react').CSSProperties} [props.style]
|
|
10
|
-
*/
|
|
11
|
-
export default function AppSkeleton(props: {
|
|
1
|
+
import type { ComponentPropsWithoutRef, CSSProperties, JSX } from "react";
|
|
2
|
+
export interface AppSkeletonProps extends ComponentPropsWithoutRef<"span"> {
|
|
12
3
|
/**
|
|
13
4
|
* Width of the bar: a number is px, a string is any CSS length.
|
|
14
5
|
* @default "100%"
|
|
15
6
|
*/
|
|
16
|
-
width?: string | number;
|
|
7
|
+
width?: string | number | undefined;
|
|
17
8
|
/**
|
|
18
9
|
* Height of the bar: a number is px, a string is any CSS length.
|
|
19
10
|
* @default 14
|
|
20
11
|
*/
|
|
21
|
-
height?: string | number;
|
|
12
|
+
height?: string | number | undefined;
|
|
22
13
|
/**
|
|
23
14
|
* Corner radius of the bar: a number is px, a string is any CSS length.
|
|
24
15
|
* @default 6
|
|
25
16
|
*/
|
|
26
|
-
radius?: string | number;
|
|
17
|
+
radius?: string | number | undefined;
|
|
27
18
|
/**
|
|
28
19
|
* Extra class names added to the bar.
|
|
29
20
|
* @default ""
|
|
30
21
|
*/
|
|
31
|
-
className?: string;
|
|
32
|
-
style?:
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
* @param {object} props
|
|
36
|
-
* @param {number} [props.rows]
|
|
37
|
-
* @param {number} [props.cols]
|
|
38
|
-
*/
|
|
39
|
-
export declare function AppSkeletonRows({ rows, cols }: {
|
|
22
|
+
className?: string | undefined;
|
|
23
|
+
style?: CSSProperties | undefined;
|
|
24
|
+
}
|
|
25
|
+
export interface AppSkeletonRowsProps {
|
|
40
26
|
/**
|
|
41
27
|
* Number of placeholder rows to draw.
|
|
42
28
|
* @default 4
|
|
43
29
|
*/
|
|
44
|
-
rows?: number;
|
|
30
|
+
rows?: number | undefined;
|
|
45
31
|
/**
|
|
46
32
|
* Number of placeholder cells in each row.
|
|
47
33
|
* @default 5
|
|
48
34
|
*/
|
|
49
|
-
cols?: number;
|
|
50
|
-
}
|
|
35
|
+
cols?: number | undefined;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* First-load shimmer placeholder.
|
|
39
|
+
*/
|
|
40
|
+
export default function AppSkeleton(props: AppSkeletonProps): JSX.Element;
|
|
41
|
+
export declare function AppSkeletonRows({ rows, cols }: AppSkeletonRowsProps): JSX.Element[];
|
|
@@ -1,28 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
* is full width except the last, which takes `lastLineWidth`, so the block reads as a paragraph.
|
|
4
|
-
*
|
|
5
|
-
* @param {object} props
|
|
6
|
-
* @param {number} [props.lines] How many lines, an integer from 1 to 12.
|
|
7
|
-
* @param {string} [props.lastLineWidth] Width of the last line as any CSS length.
|
|
8
|
-
* @param {string} [props.className]
|
|
9
|
-
* @param {import('react').CSSProperties} [props.style]
|
|
10
|
-
*/
|
|
11
|
-
export default function AppSkeletonLines(props: {
|
|
1
|
+
import type { ComponentPropsWithoutRef, CSSProperties, JSX } from "react";
|
|
2
|
+
export interface AppSkeletonLinesProps extends ComponentPropsWithoutRef<"div"> {
|
|
12
3
|
/**
|
|
13
4
|
* How many lines to draw, an integer from 1 to 12. Any other value renders the default and warns.
|
|
14
5
|
* @default 3
|
|
15
6
|
*/
|
|
16
|
-
lines?: number;
|
|
7
|
+
lines?: number | undefined;
|
|
17
8
|
/**
|
|
18
9
|
* Width of the last line as a CSS length string, such as 60% or 12rem. The other lines are full width.
|
|
19
10
|
* @default "60%"
|
|
20
11
|
*/
|
|
21
|
-
lastLineWidth?: string;
|
|
12
|
+
lastLineWidth?: string | undefined;
|
|
22
13
|
/**
|
|
23
14
|
* Extra class names added to the wrapper.
|
|
24
15
|
* @default ""
|
|
25
16
|
*/
|
|
26
|
-
className?: string;
|
|
27
|
-
style?:
|
|
28
|
-
}
|
|
17
|
+
className?: string | undefined;
|
|
18
|
+
style?: CSSProperties | undefined;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Placeholder lines while text loads: a column of skeleton bars, each one text line tall. Every line
|
|
22
|
+
* is full width except the last, which takes `lastLineWidth`, so the block reads as a paragraph.
|
|
23
|
+
*/
|
|
24
|
+
export default function AppSkeletonLines(props: AppSkeletonLinesProps): JSX.Element;
|
|
@@ -1,106 +1,132 @@
|
|
|
1
|
-
import "
|
|
2
|
-
|
|
3
|
-
/** Current value (single mode). */
|
|
4
|
-
value?: number;
|
|
5
|
-
/** Range start (range mode). */
|
|
6
|
-
start?: number;
|
|
7
|
-
/** Range end (range mode). */
|
|
8
|
-
end?: number;
|
|
9
|
-
/**
|
|
10
|
-
* Enables dual-thumb range mode.
|
|
11
|
-
* @default false
|
|
12
|
-
*/
|
|
13
|
-
range?: boolean;
|
|
14
|
-
onChange?: (value: number | {
|
|
15
|
-
start: any;
|
|
16
|
-
end: any;
|
|
17
|
-
}) => void;
|
|
1
|
+
import { type CSSProperties, type ReactNode } from "react";
|
|
2
|
+
interface AppSliderBaseProps {
|
|
18
3
|
/**
|
|
19
4
|
* Lowest value the slider can take.
|
|
20
5
|
* @default 0
|
|
21
6
|
*/
|
|
22
|
-
min?: number;
|
|
7
|
+
min?: number | undefined;
|
|
23
8
|
/**
|
|
24
9
|
* Highest value the slider can take.
|
|
25
10
|
* @default 100
|
|
26
11
|
*/
|
|
27
|
-
max?: number;
|
|
12
|
+
max?: number | undefined;
|
|
28
13
|
/**
|
|
29
14
|
* Distance between two allowed values.
|
|
30
15
|
* @default 1
|
|
31
16
|
*/
|
|
32
|
-
step?: number;
|
|
17
|
+
step?: number | undefined;
|
|
33
18
|
/** Visible label above the control. */
|
|
34
|
-
label?: string;
|
|
19
|
+
label?: string | undefined;
|
|
35
20
|
/**
|
|
36
21
|
* Marks the field as required.
|
|
37
22
|
* @default false
|
|
38
23
|
*/
|
|
39
|
-
required?: boolean;
|
|
24
|
+
required?: boolean | undefined;
|
|
40
25
|
/**
|
|
41
26
|
* Ends the label with (optional) when the field is not required. Required wins when both are set.
|
|
42
27
|
* @default false
|
|
43
28
|
*/
|
|
44
|
-
optional?: boolean;
|
|
29
|
+
optional?: boolean | undefined;
|
|
45
30
|
/** Helper text under the control. */
|
|
46
|
-
helperText?: string;
|
|
31
|
+
helperText?: string | undefined;
|
|
47
32
|
/** Error text under the control; sets aria-invalid. */
|
|
48
|
-
error?: string;
|
|
33
|
+
error?: string | undefined;
|
|
49
34
|
/** Form field name (single mode). */
|
|
50
|
-
name?: string;
|
|
35
|
+
name?: string | undefined;
|
|
51
36
|
/** Form field name for range start. */
|
|
52
|
-
startName?: string;
|
|
37
|
+
startName?: string | undefined;
|
|
53
38
|
/** Form field name for range end. */
|
|
54
|
-
endName?: string;
|
|
39
|
+
endName?: string | undefined;
|
|
55
40
|
/** Disables the control. */
|
|
56
|
-
disabled?: boolean;
|
|
41
|
+
disabled?: boolean | undefined;
|
|
57
42
|
/**
|
|
58
43
|
* Shows the value but blocks editing. The value still posts.
|
|
59
44
|
* @default false
|
|
60
45
|
*/
|
|
61
|
-
readOnly?: boolean;
|
|
46
|
+
readOnly?: boolean | undefined;
|
|
62
47
|
/**
|
|
63
48
|
* Shows a busy state and blocks input while data loads.
|
|
64
49
|
* @default false
|
|
65
50
|
*/
|
|
66
|
-
loading?: boolean;
|
|
67
|
-
/** The starting value of an uncontrolled field. */
|
|
68
|
-
defaultValue?: number;
|
|
69
|
-
/** The starting start of an uncontrolled range. */
|
|
70
|
-
defaultStart?: number;
|
|
71
|
-
/** The starting end of an uncontrolled range. */
|
|
72
|
-
defaultEnd?: number;
|
|
51
|
+
loading?: boolean | undefined;
|
|
73
52
|
/** Control size tier. */
|
|
74
|
-
size?:
|
|
53
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
75
54
|
/** Shows a label with the current value or values. */
|
|
76
|
-
showValue?: boolean;
|
|
55
|
+
showValue?: boolean | undefined;
|
|
77
56
|
/** Suffix for the value label, for example %. */
|
|
78
|
-
unit?: string;
|
|
57
|
+
unit?: string | undefined;
|
|
79
58
|
/** Element id; a generated id is used when omitted. */
|
|
80
|
-
id?: string;
|
|
59
|
+
id?: string | undefined;
|
|
81
60
|
/** Accessible name when no visible label is used. */
|
|
82
|
-
ariaLabel?: string;
|
|
61
|
+
ariaLabel?: string | undefined;
|
|
83
62
|
/**
|
|
84
63
|
* Class applied to the control element.
|
|
85
64
|
* @default ""
|
|
86
65
|
*/
|
|
87
|
-
className?: string;
|
|
66
|
+
className?: string | undefined;
|
|
88
67
|
/**
|
|
89
68
|
* Class applied to the wrapper field element.
|
|
90
69
|
* @default ""
|
|
91
70
|
*/
|
|
92
|
-
fieldClassName?: string;
|
|
71
|
+
fieldClassName?: string | undefined;
|
|
72
|
+
style?: CSSProperties | undefined;
|
|
93
73
|
/** The content of the info-tip beside the label, opened by a button. */
|
|
94
|
-
help?:
|
|
74
|
+
help?: ReactNode | undefined;
|
|
95
75
|
/**
|
|
96
76
|
* The accessible name of the info-tip button.
|
|
97
77
|
* @default "More information"
|
|
98
78
|
*/
|
|
99
|
-
helpLabel?: string;
|
|
79
|
+
helpLabel?: string | undefined;
|
|
100
80
|
/**
|
|
101
81
|
* Replaces the built-in English text, for other languages.
|
|
102
82
|
* @default "(optional)"
|
|
103
83
|
*/
|
|
104
|
-
optionalLabel?: string;
|
|
105
|
-
}
|
|
84
|
+
optionalLabel?: string | undefined;
|
|
85
|
+
}
|
|
86
|
+
/** Single-thumb mode (the default): `value` and `onChange` take a number. */
|
|
87
|
+
export interface AppSliderSingleProps extends AppSliderBaseProps {
|
|
88
|
+
/**
|
|
89
|
+
* Enables dual-thumb range mode.
|
|
90
|
+
* @default false
|
|
91
|
+
*/
|
|
92
|
+
range?: false | undefined;
|
|
93
|
+
/** Current value (single mode). */
|
|
94
|
+
value?: number | undefined;
|
|
95
|
+
/** The starting value of an uncontrolled field. */
|
|
96
|
+
defaultValue?: number | undefined;
|
|
97
|
+
/** Receives the number when the slider commits. */
|
|
98
|
+
onChange?: ((value: number) => void) | undefined;
|
|
99
|
+
}
|
|
100
|
+
/** Dual-thumb mode: `start`/`end` and `onChange` take `{ start, end }`. */
|
|
101
|
+
export interface AppSliderRangeProps extends AppSliderBaseProps {
|
|
102
|
+
/**
|
|
103
|
+
* Enables dual-thumb range mode.
|
|
104
|
+
* @default false
|
|
105
|
+
*/
|
|
106
|
+
range: true;
|
|
107
|
+
/** Range start (range mode). */
|
|
108
|
+
start?: number | undefined;
|
|
109
|
+
/** Range end (range mode). */
|
|
110
|
+
end?: number | undefined;
|
|
111
|
+
/** The starting start of an uncontrolled range. */
|
|
112
|
+
defaultStart?: number | undefined;
|
|
113
|
+
/** The starting end of an uncontrolled range. */
|
|
114
|
+
defaultEnd?: number | undefined;
|
|
115
|
+
/** Receives `{ start, end }` when the slider commits. */
|
|
116
|
+
onChange?: ((value: {
|
|
117
|
+
start: number;
|
|
118
|
+
end: number;
|
|
119
|
+
}) => void) | undefined;
|
|
120
|
+
}
|
|
121
|
+
export type AppSliderProps = AppSliderSingleProps | AppSliderRangeProps;
|
|
122
|
+
/**
|
|
123
|
+
* Thin React wrapper over the shared `<wui-slider>` element (single or dual-thumb slider).
|
|
124
|
+
*
|
|
125
|
+
* Single-thumb mode (default): `value` + `onChange` with a number.
|
|
126
|
+
* Dual-thumb mode (range): `start`/`end` + `onChange` callback receives `{ start, end }`.
|
|
127
|
+
*
|
|
128
|
+
* Wraps it in the standard `.field` shell: label / required mark / helper text / error.
|
|
129
|
+
* The shell is omitted entirely when there is nothing to render around the control.
|
|
130
|
+
*/
|
|
131
|
+
declare const AppSlider: import("react").ForwardRefExoticComponent<AppSliderProps & import("react").RefAttributes<HTMLElement>>;
|
|
106
132
|
export default AppSlider;
|
|
@@ -1,53 +1,79 @@
|
|
|
1
|
-
import "
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
|
+
export interface AppSortableItem {
|
|
3
|
+
id: string;
|
|
4
|
+
label: string;
|
|
5
|
+
content?: ReactNode | undefined;
|
|
6
|
+
disabled?: boolean | undefined;
|
|
7
|
+
}
|
|
8
|
+
export interface AppSortableChangeDetail {
|
|
9
|
+
id: string;
|
|
10
|
+
fromIndex: number;
|
|
11
|
+
toIndex: number;
|
|
12
|
+
/** The list the item left. */
|
|
13
|
+
from: HTMLElement;
|
|
14
|
+
/** The list the item entered. */
|
|
15
|
+
to: HTMLElement;
|
|
16
|
+
ids: string[];
|
|
17
|
+
}
|
|
18
|
+
export interface AppSortableListProps {
|
|
19
|
+
/**
|
|
20
|
+
* The items, in the order shown. Each has an id, a label and optionally content and a disabled flag.
|
|
21
|
+
* @default []
|
|
22
|
+
*/
|
|
23
|
+
items?: AppSortableItem[] | undefined;
|
|
24
|
+
/** Called with this list's new id order after a drop. */
|
|
25
|
+
onReorder?: ((ids: string[], detail: AppSortableChangeDetail) => void) | undefined;
|
|
11
26
|
/** Names the list for assistive tech; also used in announcements when an item moves between lists. */
|
|
12
|
-
ariaLabel
|
|
27
|
+
ariaLabel?: string | undefined;
|
|
13
28
|
/**
|
|
14
29
|
* Drag only from the handle. Without it an item can also be dragged from its body (links, buttons and inputs inside it keep working).
|
|
15
30
|
* @default false
|
|
16
31
|
*/
|
|
17
|
-
handle?: boolean;
|
|
32
|
+
handle?: boolean | undefined;
|
|
18
33
|
/** Name shared by lists that accept each other's items. */
|
|
19
|
-
group?: string;
|
|
34
|
+
group?: string | undefined;
|
|
20
35
|
/** Form field name; posts the order as one hidden input per item. */
|
|
21
|
-
name?: string;
|
|
36
|
+
name?: string | undefined;
|
|
22
37
|
/**
|
|
23
38
|
* No item can be picked up.
|
|
24
39
|
* @default false
|
|
25
40
|
*/
|
|
26
|
-
disabled?: boolean;
|
|
41
|
+
disabled?: boolean | undefined;
|
|
27
42
|
/**
|
|
28
43
|
* Direction the items run; horizontal also covers a wrapping row.
|
|
29
44
|
* @default "vertical"
|
|
30
45
|
*/
|
|
31
|
-
orientation?:
|
|
46
|
+
orientation?: "vertical" | "horizontal" | undefined;
|
|
32
47
|
/**
|
|
33
48
|
* always shows every handle; hover shows it on item hover, handle focus, while lifted, and always on touch screens. Hover also turns the handle on.
|
|
34
49
|
* @default "always"
|
|
35
50
|
*/
|
|
36
|
-
handleDisplay?:
|
|
51
|
+
handleDisplay?: "always" | "hover" | undefined;
|
|
37
52
|
/**
|
|
38
53
|
* False draws no border, fill or padding around each item.
|
|
39
54
|
* @default true
|
|
40
55
|
*/
|
|
41
|
-
bordered?: boolean;
|
|
56
|
+
bordered?: boolean | undefined;
|
|
42
57
|
/**
|
|
43
58
|
* Extra class names for the list element.
|
|
44
59
|
* @default ""
|
|
45
60
|
*/
|
|
46
|
-
className?: string;
|
|
61
|
+
className?: string | undefined;
|
|
47
62
|
/**
|
|
48
63
|
* Replaces the built-in English text, for other languages. {name} is the item's label.
|
|
49
64
|
* @default "Reorder {name}"
|
|
50
65
|
*/
|
|
51
|
-
reorderLabel?: string;
|
|
52
|
-
}
|
|
66
|
+
reorderLabel?: string | undefined;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* A list whose items the person reorders: drag with a mouse or a finger (the list scrolls when
|
|
70
|
+
* the pointer nears its edge), or with the keyboard (focus an item's handle, Space to lift,
|
|
71
|
+
* arrow keys to move, Space to drop, Escape to cancel). Every move is announced to screen readers.
|
|
72
|
+
* Thin wrapper over the shared `<wui-sortable>` element; the list is controlled, so `items`
|
|
73
|
+
* is the truth and `onReorder` reports the new order.
|
|
74
|
+
*
|
|
75
|
+
* Lists that share a `group` accept each other's items by pointer drag. Each list then reports
|
|
76
|
+
* its own new order, so the parent moves the item from one `items` array to the other.
|
|
77
|
+
*/
|
|
78
|
+
declare const AppSortableList: import("react").ForwardRefExoticComponent<AppSortableListProps & import("react").RefAttributes<HTMLElement>>;
|
|
53
79
|
export default AppSortableList;
|
|
@@ -1,62 +1,63 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
* or `aria-hidden="true"` when the figure sits beside the trend in text.
|
|
6
|
-
*
|
|
7
|
-
* ```jsx
|
|
8
|
-
* <AppSparkline data={[12, 15, 14, 19]} label="Signups" />
|
|
9
|
-
* ```
|
|
10
|
-
*
|
|
11
|
-
* @param {object} props
|
|
12
|
-
* @param {number[]} props.data
|
|
13
|
-
* @param {string} [props.label]
|
|
14
|
-
* @param {number} [props.width]
|
|
15
|
-
* @param {number} [props.height]
|
|
16
|
-
* @param {string} [props.className]
|
|
17
|
-
* @param {string} [props.trendLabel] Default "Trend".
|
|
18
|
-
* @param {string} [props.namedTrendLabel] Default "{label} trend".
|
|
19
|
-
* @param {string} [props.oneValueText] Default "{name} has one value, {value}.".
|
|
20
|
-
* @param {string} [props.rangeText] Default "{name} from {from} to {to} across {count} points.".
|
|
21
|
-
*/
|
|
22
|
-
export default function AppSparkline(props: {
|
|
23
|
-
/** The values, in order. A value that is not a finite number (null, NaN, a string) is left out, and a series with none left draws nothing. */
|
|
24
|
-
data: number[];
|
|
1
|
+
import type { ComponentPropsWithoutRef, JSX } from "react";
|
|
2
|
+
export interface AppSparklineProps extends Omit<ComponentPropsWithoutRef<"svg">, "width" | "height"> {
|
|
3
|
+
/** The values, in order. A value that is not a finite number (null, NaN, a string) is left out, and no data or a series with none left draws nothing. */
|
|
4
|
+
data?: readonly unknown[] | undefined;
|
|
25
5
|
/** What the trend measures; it starts the text alternative. */
|
|
26
|
-
label?: string;
|
|
6
|
+
label?: string | undefined;
|
|
27
7
|
/**
|
|
28
8
|
* Width in px.
|
|
29
9
|
* @default 48
|
|
30
10
|
*/
|
|
31
|
-
width?: number;
|
|
11
|
+
width?: number | undefined;
|
|
32
12
|
/**
|
|
33
13
|
* Height in px.
|
|
34
14
|
* @default 16
|
|
35
15
|
*/
|
|
36
|
-
height?: number;
|
|
16
|
+
height?: number | undefined;
|
|
37
17
|
/**
|
|
38
18
|
* Extra classes on the svg.
|
|
39
19
|
* @default ""
|
|
40
20
|
*/
|
|
41
|
-
className?: string;
|
|
21
|
+
className?: string | undefined;
|
|
42
22
|
/**
|
|
43
23
|
* Replaces the built-in English text, for other languages.
|
|
44
24
|
* @default "Trend"
|
|
45
25
|
*/
|
|
46
|
-
trendLabel?: string;
|
|
26
|
+
trendLabel?: string | undefined;
|
|
47
27
|
/**
|
|
48
28
|
* Replaces the built-in English text, for other languages. The token {label} is the label prop.
|
|
49
29
|
* @default "{label} trend"
|
|
50
30
|
*/
|
|
51
|
-
namedTrendLabel?: string;
|
|
31
|
+
namedTrendLabel?: string | undefined;
|
|
52
32
|
/**
|
|
53
33
|
* Replaces the built-in English text, for other languages. The tokens are {name} (the trend name) and {value} (the one value).
|
|
54
34
|
* @default "{name} has one value, {value}."
|
|
55
35
|
*/
|
|
56
|
-
oneValueText?: string;
|
|
36
|
+
oneValueText?: string | undefined;
|
|
57
37
|
/**
|
|
58
38
|
* Replaces the built-in English text, for other languages. The tokens are {name} (the trend name), {from} and {to} (the first and last values) and {count} (the number of points).
|
|
59
39
|
* @default "{name} from {from} to {to} across {count} points."
|
|
60
40
|
*/
|
|
61
|
-
rangeText?: string;
|
|
62
|
-
}
|
|
41
|
+
rangeText?: string | undefined;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* A small inline trend line: no axes, no tooltip, no chart engine. Drawn as plain SVG, so a
|
|
45
|
+
* table cell or a tile can hold one without loading anything. It is a picture of a trend, so it
|
|
46
|
+
* carries a text alternative that says where the line starts and ends. Pass your own `aria-label` to replace it,
|
|
47
|
+
* or `aria-hidden="true"` when the figure sits beside the trend in text.
|
|
48
|
+
*
|
|
49
|
+
* ```jsx
|
|
50
|
+
* <AppSparkline data={[12, 15, 14, 19]} label="Signups" />
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* @param props.data
|
|
54
|
+
* @param props.label
|
|
55
|
+
* @param props.width
|
|
56
|
+
* @param props.height
|
|
57
|
+
* @param props.className
|
|
58
|
+
* @param props.trendLabel Default "Trend".
|
|
59
|
+
* @param props.namedTrendLabel Default "{label} trend".
|
|
60
|
+
* @param props.oneValueText Default "{name} has one value, {value}.".
|
|
61
|
+
* @param props.rangeText Default "{name} from {from} to {to} across {count} points.".
|
|
62
|
+
*/
|
|
63
|
+
export default function AppSparkline(props: AppSparklineProps): JSX.Element | null;
|