@webority/ui-react 0.149.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 -161657
- package/dist/canvas-kit/manifest.json +182 -94
- 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 +16 -13
- 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 +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 +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,97 +1,81 @@
|
|
|
1
|
-
import "
|
|
2
|
-
|
|
3
|
-
* A row of slides you can step through, drag or swipe: previous and next buttons, a dot per page, and
|
|
4
|
-
* optional auto-advance that can always be stopped. Each child is one slide.
|
|
5
|
-
*
|
|
6
|
-
* With `autoplay` it advances every that many milliseconds and shows a visible Pause / Play button
|
|
7
|
-
* before the slides. It holds while the pointer is over it or focus is inside, while the tab is hidden,
|
|
8
|
-
* and not at all when the user prefers reduced motion (the button is hidden then). It wraps to the
|
|
9
|
-
* first slide; the buttons wrap only with `loop`. The slides are named "2 of 5", and the page that
|
|
10
|
-
* comes into view is announced politely when the user, not the autoplay, moved it. The focused slide
|
|
11
|
-
* row also takes Left, Right, Home and End.
|
|
12
|
-
*
|
|
13
|
-
* `perView` shows several slides at once (its `Md` and `Lg` forms apply from those breakpoints), and
|
|
14
|
-
* the dots then stand for pages of slides. Wraps the shared `<wui-carousel>` element, which owns the
|
|
15
|
-
* stepping and the autoplay; the Razor `<app-carousel>` renders the same markup.
|
|
16
|
-
*
|
|
17
|
-
* @param {object} props
|
|
18
|
-
* @param {string} props.label
|
|
19
|
-
* @param {number} [props.autoplay]
|
|
20
|
-
* @param {boolean} [props.loop]
|
|
21
|
-
* @param {number} [props.perView]
|
|
22
|
-
* @param {number} [props.perViewMd]
|
|
23
|
-
* @param {number} [props.perViewLg]
|
|
24
|
-
* @param {boolean} [props.arrows]
|
|
25
|
-
* @param {boolean} [props.dots]
|
|
26
|
-
* @param {string} [props.previousLabel]
|
|
27
|
-
* @param {string} [props.nextLabel]
|
|
28
|
-
* @param {string} [props.dotLabel]
|
|
29
|
-
* @param {string} [props.pauseLabel]
|
|
30
|
-
* @param {string} [props.playLabel]
|
|
31
|
-
* @param {string} [props.className]
|
|
32
|
-
* @param {import('react').CSSProperties} [props.style]
|
|
33
|
-
* @param {import('react').ReactNode} props.children The slides.
|
|
34
|
-
*/
|
|
35
|
-
export default function AppCarousel(props: {
|
|
1
|
+
import type { ComponentPropsWithoutRef, CSSProperties, ReactNode } from "react";
|
|
2
|
+
export interface AppCarouselProps extends ComponentPropsWithoutRef<"div"> {
|
|
36
3
|
/** What the slides are ("Customer stories"): the carousel's accessible name. */
|
|
37
4
|
label: string;
|
|
38
5
|
/** Milliseconds between automatic steps (5000 is typical). Omit for none. */
|
|
39
|
-
autoplay?: number;
|
|
6
|
+
autoplay?: number | undefined;
|
|
40
7
|
/**
|
|
41
8
|
* The previous and next buttons wrap around at the ends.
|
|
42
9
|
* @default false
|
|
43
10
|
*/
|
|
44
|
-
loop?: boolean;
|
|
11
|
+
loop?: boolean | undefined;
|
|
45
12
|
/**
|
|
46
13
|
* Slides in view on a phone.
|
|
47
14
|
* @default 1
|
|
48
15
|
*/
|
|
49
|
-
perView?: number;
|
|
16
|
+
perView?: number | undefined;
|
|
50
17
|
/** Slides in view from the md breakpoint. Defaults to `perView`. */
|
|
51
|
-
perViewMd?: number;
|
|
18
|
+
perViewMd?: number | undefined;
|
|
52
19
|
/** Slides in view from the lg breakpoint. Defaults to `perViewMd`. */
|
|
53
|
-
perViewLg?: number;
|
|
20
|
+
perViewLg?: number | undefined;
|
|
54
21
|
/**
|
|
55
22
|
* Show the previous and next buttons.
|
|
56
23
|
* @default true
|
|
57
24
|
*/
|
|
58
|
-
arrows?: boolean;
|
|
25
|
+
arrows?: boolean | undefined;
|
|
59
26
|
/**
|
|
60
27
|
* Show the page dots.
|
|
61
28
|
* @default true
|
|
62
29
|
*/
|
|
63
|
-
dots?: boolean;
|
|
30
|
+
dots?: boolean | undefined;
|
|
64
31
|
/**
|
|
65
32
|
* The previous button's name.
|
|
66
33
|
* @default "Previous slide"
|
|
67
34
|
*/
|
|
68
|
-
previousLabel?: string;
|
|
35
|
+
previousLabel?: string | undefined;
|
|
69
36
|
/**
|
|
70
37
|
* The next button's name.
|
|
71
38
|
* @default "Next slide"
|
|
72
39
|
*/
|
|
73
|
-
nextLabel?: string;
|
|
40
|
+
nextLabel?: string | undefined;
|
|
74
41
|
/**
|
|
75
42
|
* The words before the slide number in each dot's name.
|
|
76
43
|
* @default "Go to slide"
|
|
77
44
|
*/
|
|
78
|
-
dotLabel?: string;
|
|
45
|
+
dotLabel?: string | undefined;
|
|
79
46
|
/**
|
|
80
47
|
* The pause button's text and name while playing.
|
|
81
48
|
* @default "Pause"
|
|
82
49
|
*/
|
|
83
|
-
pauseLabel?: string;
|
|
50
|
+
pauseLabel?: string | undefined;
|
|
84
51
|
/**
|
|
85
52
|
* The pause button's text and name while paused.
|
|
86
53
|
* @default "Play"
|
|
87
54
|
*/
|
|
88
|
-
playLabel?: string;
|
|
55
|
+
playLabel?: string | undefined;
|
|
89
56
|
/**
|
|
90
57
|
* Extra classes on the element.
|
|
91
58
|
* @default ""
|
|
92
59
|
*/
|
|
93
|
-
className?: string;
|
|
60
|
+
className?: string | undefined;
|
|
94
61
|
/** Merged after the per-view custom properties. */
|
|
95
|
-
style?:
|
|
96
|
-
|
|
97
|
-
|
|
62
|
+
style?: CSSProperties | undefined;
|
|
63
|
+
/** The slides. */
|
|
64
|
+
children: ReactNode;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* A row of slides you can step through, drag or swipe: previous and next buttons, a dot per page, and
|
|
68
|
+
* optional auto-advance that can always be stopped. Each child is one slide.
|
|
69
|
+
*
|
|
70
|
+
* With `autoplay` it advances every that many milliseconds and shows a visible Pause / Play button
|
|
71
|
+
* before the slides. It holds while the pointer is over it or focus is inside, while the tab is hidden,
|
|
72
|
+
* and not at all when the user prefers reduced motion (the button is hidden then). It wraps to the
|
|
73
|
+
* first slide; the buttons wrap only with `loop`. The slides are named "2 of 5", and the page that
|
|
74
|
+
* comes into view is announced politely when the user, not the autoplay, moved it. The focused slide
|
|
75
|
+
* row also takes Left, Right, Home and End.
|
|
76
|
+
*
|
|
77
|
+
* `perView` shows several slides at once (its `Md` and `Lg` forms apply from those breakpoints), and
|
|
78
|
+
* the dots then stand for pages of slides. Wraps the shared `<wui-carousel>` element, which owns the
|
|
79
|
+
* stepping and the autoplay; the Razor `<app-carousel>` renders the same markup.
|
|
80
|
+
*/
|
|
81
|
+
export default function AppCarousel(props: AppCarouselProps): React.JSX.Element;
|
|
@@ -1,36 +1,37 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
* `mono` sets the primary in monospace; `numeric` right-aligns both lines with tabular digits. An empty primary
|
|
4
|
-
* reads "-", and a blank secondary draws no second line. The Razor `<app-cell>` renders the same markup and classes.
|
|
5
|
-
*
|
|
6
|
-
* @param {object} props
|
|
7
|
-
* @param {string|number|React.ReactNode} [props.primary] The main value. Empty draws the placeholder "-"; 0 draws "0".
|
|
8
|
-
* @param {string|React.ReactNode} [props.secondary] The quieter detail line under the primary. Omitted when empty.
|
|
9
|
-
* @param {string} [props.href] Makes the primary a link to this address.
|
|
10
|
-
* @param {boolean} [props.mono] Sets the primary line in monospace.
|
|
11
|
-
* @param {boolean} [props.numeric] Right-aligns both lines with tabular digits.
|
|
12
|
-
* @param {string} [props.className] Extra class on the cell root.
|
|
13
|
-
*/
|
|
14
|
-
export default function AppCell(props: {
|
|
1
|
+
import type React from "react";
|
|
2
|
+
export interface AppCellProps extends Omit<React.ComponentPropsWithoutRef<"div">, "className"> {
|
|
15
3
|
/** The main value on the first line. Empty draws the placeholder -; 0 draws 0. */
|
|
16
|
-
primary?:
|
|
4
|
+
primary?: React.ReactNode | undefined;
|
|
17
5
|
/** The quieter detail line under the primary. Omitted when empty. */
|
|
18
|
-
secondary?:
|
|
6
|
+
secondary?: React.ReactNode | undefined;
|
|
19
7
|
/** Makes the primary a link to this address. */
|
|
20
|
-
href?: string;
|
|
8
|
+
href?: string | undefined;
|
|
21
9
|
/**
|
|
22
10
|
* Sets the primary line in monospace.
|
|
23
11
|
* @default false
|
|
24
12
|
*/
|
|
25
|
-
mono?: boolean;
|
|
13
|
+
mono?: boolean | undefined;
|
|
26
14
|
/**
|
|
27
15
|
* Right-aligns both lines with tabular digits.
|
|
28
16
|
* @default false
|
|
29
17
|
*/
|
|
30
|
-
numeric?: boolean;
|
|
18
|
+
numeric?: boolean | undefined;
|
|
31
19
|
/**
|
|
32
20
|
* Extra class on the cell root.
|
|
33
21
|
* @default ""
|
|
34
22
|
*/
|
|
35
|
-
className?: string;
|
|
36
|
-
}
|
|
23
|
+
className?: string | undefined;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* A table cell with a primary line over a quieter secondary line. A link `href` makes the primary an anchor;
|
|
27
|
+
* `mono` sets the primary in monospace; `numeric` right-aligns both lines with tabular digits. An empty primary
|
|
28
|
+
* reads "-", and a blank secondary draws no second line. The Razor `<app-cell>` renders the same markup and classes.
|
|
29
|
+
*
|
|
30
|
+
* @param props.primary The main value. Empty draws the placeholder "-"; 0 draws "0".
|
|
31
|
+
* @param props.secondary The quieter detail line under the primary. Omitted when empty.
|
|
32
|
+
* @param props.href Makes the primary a link to this address.
|
|
33
|
+
* @param props.mono Sets the primary line in monospace.
|
|
34
|
+
* @param props.numeric Right-aligns both lines with tabular digits.
|
|
35
|
+
* @param props.className Extra class on the cell root.
|
|
36
|
+
*/
|
|
37
|
+
export default function AppCell(props: AppCellProps): React.JSX.Element;
|
|
@@ -1,133 +1,172 @@
|
|
|
1
|
-
|
|
1
|
+
import type { ComponentPropsWithoutRef, CSSProperties } from "react";
|
|
2
|
+
export type ChartType = "line" | "area" | "column" | "bar" | "donut" | "heatmap" | "calendar" | "funnel" | "gauge" | "waterfall" | "treemap" | "sankey" | "scatter" | "bubble" | "multiples";
|
|
3
|
+
export type ChartStack = "none" | "stacked" | "percent";
|
|
4
|
+
export type ChartState = "ready" | "loading" | "empty" | "error";
|
|
5
|
+
export type ChartRenderer = "auto" | "svg" | "canvas";
|
|
6
|
+
export type ChartView = "chart" | "table";
|
|
7
|
+
export interface ChartSelectDetail {
|
|
8
|
+
series: string;
|
|
9
|
+
label: string;
|
|
10
|
+
x: unknown;
|
|
11
|
+
value: number | null;
|
|
12
|
+
row: Record<string, unknown>;
|
|
13
|
+
index: number;
|
|
14
|
+
}
|
|
15
|
+
export interface ChartLegendChangeDetail {
|
|
16
|
+
visible: Record<string, boolean>;
|
|
17
|
+
}
|
|
18
|
+
export interface ChartReadyDetail {
|
|
19
|
+
renderer: string;
|
|
20
|
+
}
|
|
21
|
+
export interface AppChartProps extends Omit<ComponentPropsWithoutRef<"div">, "onSelect"> {
|
|
2
22
|
/** `column` is vertical bars, `bar` horizontal. `multiples` draws each series as its own small chart under one shared x axis. */
|
|
3
|
-
type:
|
|
23
|
+
type: ChartType;
|
|
4
24
|
/** Required. Names the chart for assistive tech and names exported files. An empty string counts as not given. */
|
|
5
25
|
title: string;
|
|
6
26
|
/** One sentence a screen reader hears before the automatic summary. */
|
|
7
|
-
description?: string;
|
|
27
|
+
description?: string | undefined;
|
|
8
28
|
/** One row per x position, slice, cell, stage, flow or point: what a row is depends on the type. */
|
|
9
29
|
data: Record<string, string | number | null>[];
|
|
10
30
|
/** The column holding the x value. `time` takes epoch ms, an ISO instant or a "YYYY-MM-DD" day; `value` (scatter and bubble) is a number. A calendar is always `time`, a scatter and a bubble always `value`. */
|
|
11
31
|
x: {
|
|
12
32
|
key: string;
|
|
13
|
-
kind?:
|
|
14
|
-
format?:
|
|
15
|
-
label?: string;
|
|
16
|
-
labelFit?:
|
|
33
|
+
kind?: "category" | "time" | "value" | undefined;
|
|
34
|
+
format?: Record<string, unknown> | undefined;
|
|
35
|
+
label?: string | undefined;
|
|
36
|
+
labelFit?: "auto" | "all" | "rotate" | "ellipsis" | undefined;
|
|
17
37
|
};
|
|
18
38
|
/** The value columns, in the order they take colours: at most 8. Every type but line, area, column, bar and multiples takes one. */
|
|
19
39
|
series: {
|
|
20
40
|
key: string;
|
|
21
41
|
label: string;
|
|
22
|
-
format?:
|
|
42
|
+
format?: Record<string, unknown> | undefined;
|
|
23
43
|
}[];
|
|
24
44
|
/** The second dimension: a heatmap's rows, a treemap's parents, a scatter or bubble's colour groups (at most 3). Required for a heatmap and a treemap. */
|
|
25
45
|
group?: {
|
|
26
46
|
key: string;
|
|
27
|
-
label?: string;
|
|
28
|
-
};
|
|
47
|
+
label?: string | undefined;
|
|
48
|
+
} | undefined;
|
|
29
49
|
/** Where each sankey flow ends; `x` is where it starts. Required for a sankey. */
|
|
30
50
|
to?: {
|
|
31
51
|
key: string;
|
|
32
|
-
label?: string;
|
|
33
|
-
};
|
|
52
|
+
label?: string | undefined;
|
|
53
|
+
} | undefined;
|
|
34
54
|
/** A bubble's area. Required for a bubble. */
|
|
35
55
|
size?: {
|
|
36
56
|
key: string;
|
|
37
|
-
label?: string;
|
|
38
|
-
format?:
|
|
39
|
-
};
|
|
57
|
+
label?: string | undefined;
|
|
58
|
+
format?: Record<string, unknown> | undefined;
|
|
59
|
+
} | undefined;
|
|
40
60
|
/** A scatter or bubble's straight trend line through the visible points. */
|
|
41
|
-
trend?: boolean;
|
|
61
|
+
trend?: boolean | undefined;
|
|
42
62
|
/** A zoom slider under a line or area. On by default above 5,000 rows. */
|
|
43
|
-
zoom?: boolean;
|
|
63
|
+
zoom?: boolean | undefined;
|
|
44
64
|
/** A gauge's named stretches of its scale, each up to a value. */
|
|
45
65
|
bands?: {
|
|
46
66
|
upTo: number;
|
|
47
67
|
label: string;
|
|
48
|
-
}[];
|
|
68
|
+
}[] | undefined;
|
|
49
69
|
/**
|
|
50
70
|
* For area, column and bar.
|
|
51
71
|
* @default "none"
|
|
52
72
|
*/
|
|
53
|
-
stack?:
|
|
73
|
+
stack?: ChartStack | undefined;
|
|
54
74
|
/** The one value axis. There is no second axis: show another measure as its own chart. */
|
|
55
75
|
y?: {
|
|
56
|
-
label?: string;
|
|
57
|
-
format?:
|
|
58
|
-
min?: number;
|
|
59
|
-
max?: number;
|
|
60
|
-
|
|
76
|
+
label?: string | undefined;
|
|
77
|
+
format?: Record<string, unknown> | undefined;
|
|
78
|
+
min?: number | undefined;
|
|
79
|
+
max?: number | undefined;
|
|
80
|
+
wholeNumbers?: boolean | undefined;
|
|
81
|
+
} | undefined;
|
|
61
82
|
/** A dashed reference line. */
|
|
62
83
|
target?: {
|
|
63
84
|
value: number;
|
|
64
85
|
label: string;
|
|
65
|
-
};
|
|
86
|
+
} | undefined;
|
|
66
87
|
/** Caption under the total in the centre of a donut. Default Total. Donut only. */
|
|
67
|
-
centerLabel?: string;
|
|
88
|
+
centerLabel?: string | undefined;
|
|
68
89
|
/**
|
|
69
90
|
* Print each bar's value on it. Column and bar only.
|
|
70
91
|
* @default false
|
|
71
92
|
*/
|
|
72
|
-
valueLabels?: boolean;
|
|
93
|
+
valueLabels?: boolean | undefined;
|
|
73
94
|
/**
|
|
74
95
|
* In px, the axis labels included. A value that is not above 0 draws at the default.
|
|
75
96
|
* @default 320
|
|
76
97
|
*/
|
|
77
|
-
height?: number;
|
|
98
|
+
height?: number | undefined;
|
|
78
99
|
/**
|
|
79
100
|
* `loading` after a first draw keeps that picture on screen, dimmed.
|
|
80
101
|
* @default "ready"
|
|
81
102
|
*/
|
|
82
|
-
state?:
|
|
103
|
+
state?: ChartState | undefined;
|
|
83
104
|
/**
|
|
84
105
|
* The chart is loading: the same as state `loading`. Wins over `state`.
|
|
85
106
|
* @default false
|
|
86
107
|
*/
|
|
87
|
-
loading?: boolean;
|
|
108
|
+
loading?: boolean | undefined;
|
|
88
109
|
/** The curated message to show when the chart failed: the same as state `error` with this text. Wins over `loading` and `state`, and replaces `errorText`. */
|
|
89
|
-
error?: string;
|
|
110
|
+
error?: string | undefined;
|
|
90
111
|
/** Replaces the default empty message. */
|
|
91
|
-
emptyText?: string;
|
|
112
|
+
emptyText?: string | undefined;
|
|
92
113
|
/** Replaces the default error message. Say what the person can do. */
|
|
93
|
-
errorText?: string;
|
|
114
|
+
errorText?: string | undefined;
|
|
94
115
|
/**
|
|
95
116
|
* Replaces the default loading message, the text read aloud while the chart loads.
|
|
96
117
|
* @default "Loading chart"
|
|
97
118
|
*/
|
|
98
|
-
loadingText?: string;
|
|
119
|
+
loadingText?: string | undefined;
|
|
99
120
|
/**
|
|
100
121
|
* `auto` draws SVG, and canvas above 5,000 points.
|
|
101
122
|
* @default "auto"
|
|
102
123
|
*/
|
|
103
|
-
renderer?:
|
|
124
|
+
renderer?: ChartRenderer | undefined;
|
|
104
125
|
/** IANA time zone dates are read and shown in, for example America/New_York. Unset, it is India Standard Time (Asia/Kolkata). */
|
|
105
|
-
timeZone?: string;
|
|
126
|
+
timeZone?: string | undefined;
|
|
106
127
|
/**
|
|
107
128
|
* `table` shows the data table in the chart's place.
|
|
108
129
|
* @default "chart"
|
|
109
130
|
*/
|
|
110
|
-
view?:
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
index: number;
|
|
118
|
-
}) => void;
|
|
119
|
-
onLegendChange?: (detail: {
|
|
120
|
-
visible: Record<string, boolean>;
|
|
121
|
-
}) => void;
|
|
122
|
-
onReady?: (detail: {
|
|
123
|
-
renderer: string;
|
|
124
|
-
}) => void;
|
|
131
|
+
view?: ChartView | undefined;
|
|
132
|
+
/** A mark was clicked, or Enter was pressed on the focused point. */
|
|
133
|
+
onSelect?: ((detail: ChartSelectDetail) => void) | undefined;
|
|
134
|
+
/** A legend button was pressed. */
|
|
135
|
+
onLegendChange?: ((detail: ChartLegendChangeDetail) => void) | undefined;
|
|
136
|
+
/** The first picture has finished drawing. */
|
|
137
|
+
onReady?: ((detail: ChartReadyDetail) => void) | undefined;
|
|
125
138
|
/**
|
|
126
139
|
* Extra classes on the element.
|
|
127
140
|
* @default ""
|
|
128
141
|
*/
|
|
129
|
-
className?: string;
|
|
142
|
+
className?: string | undefined;
|
|
130
143
|
/** Inline style on the element. */
|
|
131
|
-
style?:
|
|
132
|
-
}
|
|
144
|
+
style?: CSSProperties | undefined;
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* Draws a line, area, column, horizontal bar, donut, heatmap, calendar heatmap, funnel, gauge,
|
|
148
|
+
* waterfall, treemap, sankey, scatter, bubble or small-multiples chart from rows of data. The chart is the
|
|
149
|
+
* shared `<wui-chart>` element, the same one the Razor `<app-chart>` uses, with its drawing engine
|
|
150
|
+
* loaded the first time a chart mounts: a page without a chart never downloads it.
|
|
151
|
+
*
|
|
152
|
+
* You describe the chart; you never touch the engine. Every chart comes with a legend that shows
|
|
153
|
+
* and hides series, tooltips, arrow-key movement between points (each value read aloud), a real
|
|
154
|
+
* data table behind the picture, a screen-reader summary, light and dark colours from the theme,
|
|
155
|
+
* resize, and PNG and CSV export through the element (see AppChartCard for the buttons).
|
|
156
|
+
*
|
|
157
|
+
* Money is rupees (or the currency of the format), or paise when `format.unit` says so. Dates show in the time zone of the chart, IST by default. A `percent` value is a
|
|
158
|
+
* ratio: 0.125 shows as 12.5%.
|
|
159
|
+
*
|
|
160
|
+
* ```jsx
|
|
161
|
+
* <AppChart
|
|
162
|
+
* type="column"
|
|
163
|
+
* title="Revenue by month"
|
|
164
|
+
* data={[{ month: "Aug", revenue: 4120000 }, { month: "Sep", revenue: 4630000 }]}
|
|
165
|
+
* x={{ key: "month" }}
|
|
166
|
+
* series={[{ key: "revenue", label: "Revenue", format: { style: "currency" } }]}
|
|
167
|
+
* onSelect={(detail) => console.log(detail.x, detail.value)}
|
|
168
|
+
* />
|
|
169
|
+
* ```
|
|
170
|
+
*/
|
|
171
|
+
declare const AppChart: import("react").ForwardRefExoticComponent<AppChartProps & import("react").RefAttributes<HTMLElement>>;
|
|
133
172
|
export default AppChart;
|
|
@@ -1,110 +1,98 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* download the chart as a PNG or the data as a CSV. Put an `AppChart` inside as `children`.
|
|
5
|
-
*
|
|
6
|
-
* The card has no date-range picker: a dashboard sets the range once, in its filter row, for
|
|
7
|
-
* every card on it.
|
|
8
|
-
*
|
|
9
|
-
* The Chart / Table switch follows the chart's own `view`: a chart that opens in `table` starts the switch
|
|
10
|
-
* on Table, and a chart that is replaced (a skeleton giving way to the chart, say) keeps the view the
|
|
11
|
-
* person chose unless the new chart sets its own.
|
|
12
|
-
*
|
|
13
|
-
* When the chart is in its error state the card shows a Try again button, if you pass `onRetry`.
|
|
14
|
-
* The chart only says what went wrong; fetching again is yours, so `onRetry` is where you do it.
|
|
15
|
-
*
|
|
16
|
-
* ```jsx
|
|
17
|
-
* <AppChartCard title="Revenue by month" subtitle="In rupees, 12 months to 30-Sep-2026" onRetry={reload}>
|
|
18
|
-
* <AppChart type="column" title="Revenue by month" data={rows} x={{ key: "month" }} series={series} />
|
|
19
|
-
* </AppChartCard>
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @param {object} props
|
|
23
|
-
* @param {string} props.title
|
|
24
|
-
* @param {string} [props.subtitle]
|
|
25
|
-
* @param {boolean} [props.toolbar]
|
|
26
|
-
* @param {() => void} [props.onRetry] Adds a Try again button that shows while the chart is in its error state.
|
|
27
|
-
* @param {import('react').ReactNode} [props.footer]
|
|
28
|
-
* @param {import('react').ReactNode} props.children The chart.
|
|
29
|
-
* @param {string} [props.className]
|
|
30
|
-
* @param {string} [props.legendLabel] Default "Show legend".
|
|
31
|
-
* @param {string} [props.legendTitle] Default "Show or hide the legend".
|
|
32
|
-
* @param {string} [props.viewLabel] Default "View".
|
|
33
|
-
* @param {string} [props.chartViewLabel] Default "Chart".
|
|
34
|
-
* @param {string} [props.tableViewLabel] Default "Table".
|
|
35
|
-
* @param {string} [props.moreActionsLabel] Default "More actions".
|
|
36
|
-
* @param {string} [props.moreActionsForLabel] Default "More actions for {title}".
|
|
37
|
-
* @param {string} [props.downloadPngLabel] Default "Download PNG".
|
|
38
|
-
* @param {string} [props.downloadCsvLabel] Default "Download CSV".
|
|
39
|
-
* @param {string} [props.retryLabel] Default "Try again".
|
|
40
|
-
*/
|
|
41
|
-
export default function AppChartCard(props: {
|
|
1
|
+
import type { ComponentPropsWithoutRef, JSX, ReactNode } from "react";
|
|
2
|
+
import { type AppCardProps } from "./AppCard.tsx";
|
|
3
|
+
export interface AppChartCardProps extends Omit<ComponentPropsWithoutRef<"div">, "title" | "onClick"> {
|
|
42
4
|
/** The card's heading. Also names the menu button for assistive tech. */
|
|
43
5
|
title: string;
|
|
44
6
|
/** A muted line under the title: the unit or the period. */
|
|
45
|
-
subtitle?: string;
|
|
7
|
+
subtitle?: string | undefined;
|
|
46
8
|
/**
|
|
47
9
|
* Show the view controls.
|
|
48
10
|
* @default true
|
|
49
11
|
*/
|
|
50
|
-
toolbar?: boolean;
|
|
51
|
-
|
|
12
|
+
toolbar?: boolean | undefined;
|
|
13
|
+
/** Passed to the card, which makes the whole card a button. */
|
|
14
|
+
onClick?: AppCardProps["onClick"] | undefined;
|
|
15
|
+
/** Adds a Try again button that shows while the chart is in its error state. */
|
|
16
|
+
onRetry?: (() => void) | undefined;
|
|
52
17
|
/** A row under the chart: a source, an updated-at time, a link. */
|
|
53
|
-
footer?:
|
|
54
|
-
|
|
18
|
+
footer?: ReactNode | undefined;
|
|
19
|
+
/** The chart. */
|
|
20
|
+
children: ReactNode;
|
|
55
21
|
/**
|
|
56
22
|
* Extra classes on the card.
|
|
57
23
|
* @default ""
|
|
58
24
|
*/
|
|
59
|
-
className?: string;
|
|
25
|
+
className?: string | undefined;
|
|
60
26
|
/**
|
|
61
27
|
* Replaces the built-in English text, for other languages.
|
|
62
28
|
* @default "Show legend"
|
|
63
29
|
*/
|
|
64
|
-
legendLabel?: string;
|
|
30
|
+
legendLabel?: string | undefined;
|
|
65
31
|
/**
|
|
66
32
|
* Replaces the built-in English text, for other languages.
|
|
67
33
|
* @default "Show or hide the legend"
|
|
68
34
|
*/
|
|
69
|
-
legendTitle?: string;
|
|
35
|
+
legendTitle?: string | undefined;
|
|
70
36
|
/**
|
|
71
37
|
* Replaces the built-in English text, for other languages.
|
|
72
38
|
* @default "View"
|
|
73
39
|
*/
|
|
74
|
-
viewLabel?: string;
|
|
40
|
+
viewLabel?: string | undefined;
|
|
75
41
|
/**
|
|
76
42
|
* Replaces the built-in English text, for other languages.
|
|
77
43
|
* @default "Chart"
|
|
78
44
|
*/
|
|
79
|
-
chartViewLabel?: string;
|
|
45
|
+
chartViewLabel?: string | undefined;
|
|
80
46
|
/**
|
|
81
47
|
* Replaces the built-in English text, for other languages.
|
|
82
48
|
* @default "Table"
|
|
83
49
|
*/
|
|
84
|
-
tableViewLabel?: string;
|
|
50
|
+
tableViewLabel?: string | undefined;
|
|
85
51
|
/**
|
|
86
52
|
* Replaces the built-in English text, for other languages.
|
|
87
53
|
* @default "More actions"
|
|
88
54
|
*/
|
|
89
|
-
moreActionsLabel?: string;
|
|
55
|
+
moreActionsLabel?: string | undefined;
|
|
90
56
|
/**
|
|
91
57
|
* Replaces the built-in English text, for other languages. The token {title} is filled with the card's title.
|
|
92
58
|
* @default "More actions for {title}"
|
|
93
59
|
*/
|
|
94
|
-
moreActionsForLabel?: string;
|
|
60
|
+
moreActionsForLabel?: string | undefined;
|
|
95
61
|
/**
|
|
96
62
|
* Replaces the built-in English text, for other languages.
|
|
97
63
|
* @default "Download PNG"
|
|
98
64
|
*/
|
|
99
|
-
downloadPngLabel?: string;
|
|
65
|
+
downloadPngLabel?: string | undefined;
|
|
100
66
|
/**
|
|
101
67
|
* Replaces the built-in English text, for other languages.
|
|
102
68
|
* @default "Download CSV"
|
|
103
69
|
*/
|
|
104
|
-
downloadCsvLabel?: string;
|
|
70
|
+
downloadCsvLabel?: string | undefined;
|
|
105
71
|
/**
|
|
106
72
|
* Replaces the built-in English text, for other languages.
|
|
107
73
|
* @default "Try again"
|
|
108
74
|
*/
|
|
109
|
-
retryLabel?: string;
|
|
110
|
-
}
|
|
75
|
+
retryLabel?: string | undefined;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* A card around a chart: a title, a subtitle that says what the numbers are, and the view
|
|
79
|
+
* controls, which are all the card adds. A legend button, a Chart / Table switch, and a menu to
|
|
80
|
+
* download the chart as a PNG or the data as a CSV. Put an `AppChart` inside as `children`.
|
|
81
|
+
*
|
|
82
|
+
* The card has no date-range picker: a dashboard sets the range once, in its filter row, for
|
|
83
|
+
* every card on it.
|
|
84
|
+
*
|
|
85
|
+
* The Chart / Table switch follows the chart's own `view`: a chart that opens in `table` starts the switch
|
|
86
|
+
* on Table, and a chart that is replaced (a skeleton giving way to the chart, say) keeps the view the
|
|
87
|
+
* person chose unless the new chart sets its own.
|
|
88
|
+
*
|
|
89
|
+
* When the chart is in its error state the card shows a Try again button, if you pass `onRetry`.
|
|
90
|
+
* The chart only says what went wrong; fetching again is yours, so `onRetry` is where you do it.
|
|
91
|
+
*
|
|
92
|
+
* ```jsx
|
|
93
|
+
* <AppChartCard title="Revenue by month" subtitle="In rupees, 12 months to 30-Sep-2026" onRetry={reload}>
|
|
94
|
+
* <AppChart type="column" title="Revenue by month" data={rows} x={{ key: "month" }} series={series} />
|
|
95
|
+
* </AppChartCard>
|
|
96
|
+
* ```
|
|
97
|
+
*/
|
|
98
|
+
export default function AppChartCard(props: AppChartCardProps): JSX.Element;
|
|
@@ -1,49 +1,64 @@
|
|
|
1
|
-
|
|
1
|
+
import { type ChangeEvent, type ComponentPropsWithoutRef, type ForwardRefExoticComponent, type ReactNode, type RefAttributes } from "react";
|
|
2
|
+
export interface AppCheckboxProps extends Omit<ComponentPropsWithoutRef<"input">, "size"> {
|
|
2
3
|
/** The text beside the box. Clicking it ticks the box. */
|
|
3
|
-
label?:
|
|
4
|
+
label?: ReactNode | undefined;
|
|
4
5
|
/** The input's id. A unique id is generated when none is given. */
|
|
5
|
-
id?: string;
|
|
6
|
+
id?: string | undefined;
|
|
6
7
|
/** The form field name, sent with the value on submit. */
|
|
7
|
-
name?: string;
|
|
8
|
+
name?: string | undefined;
|
|
8
9
|
/** Controlled ticked state; pair with `onChange`. */
|
|
9
|
-
checked?: boolean;
|
|
10
|
+
checked?: boolean | undefined;
|
|
10
11
|
/** Starting state when the checkbox is uncontrolled. */
|
|
11
|
-
defaultChecked?: boolean;
|
|
12
|
+
defaultChecked?: boolean | undefined;
|
|
12
13
|
/** Locks the checkbox and dims it. */
|
|
13
|
-
disabled?: boolean;
|
|
14
|
+
disabled?: boolean | undefined;
|
|
14
15
|
/**
|
|
15
16
|
* Shows the value but blocks editing. The value still posts.
|
|
16
17
|
* @default false
|
|
17
18
|
*/
|
|
18
|
-
readOnly?: boolean;
|
|
19
|
+
readOnly?: boolean | undefined;
|
|
19
20
|
/**
|
|
20
21
|
* Shows a busy state and blocks input while data loads.
|
|
21
22
|
* @default false
|
|
22
23
|
*/
|
|
23
|
-
loading?: boolean;
|
|
24
|
+
loading?: boolean | undefined;
|
|
24
25
|
/**
|
|
25
26
|
* The control size: sm, md or lg.
|
|
26
27
|
* @default "md"
|
|
27
28
|
*/
|
|
28
|
-
size?: "sm" | "md" | "lg";
|
|
29
|
-
onChange?: (event:
|
|
29
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
30
|
+
onChange?: ((event: ChangeEvent<HTMLInputElement>) => void) | undefined;
|
|
30
31
|
/** Error message, rendered below the control. Replaces the helper text. */
|
|
31
|
-
error?:
|
|
32
|
+
error?: ReactNode | undefined;
|
|
32
33
|
/** Helper text below the control. Hidden while an error is shown. */
|
|
33
|
-
helperText?:
|
|
34
|
+
helperText?: ReactNode | undefined;
|
|
34
35
|
/** Content for the info-tip after the label. Shown only when a label is set. */
|
|
35
|
-
help?:
|
|
36
|
+
help?: ReactNode | undefined;
|
|
36
37
|
/**
|
|
37
38
|
* aria-label for the info-tip button.
|
|
38
39
|
* @default "More information"
|
|
39
40
|
*/
|
|
40
|
-
helpLabel?: string;
|
|
41
|
+
helpLabel?: string | undefined;
|
|
41
42
|
/** circle draws a round box with the tick inside, for a task that is completed. Omit it for the square box. */
|
|
42
|
-
shape?:
|
|
43
|
+
shape?: "circle" | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* Draws only the control: no field wrapper, label row or message line. Name it with aria-label, aria-labelledby or a label the page draws, because the component draws none.
|
|
46
|
+
* @default false
|
|
47
|
+
*/
|
|
48
|
+
controlOnly?: boolean | undefined;
|
|
43
49
|
/**
|
|
44
50
|
* Extra classes on the element.
|
|
45
51
|
* @default ""
|
|
46
52
|
*/
|
|
47
|
-
className?: string;
|
|
48
|
-
}
|
|
53
|
+
className?: string | undefined;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Shared checkbox on Bootstrap `.form-check` markup (Razor <app-checkbox> matches).
|
|
57
|
+
* Theme restyles `.form-check-input` as the one selection glyph; table row-select
|
|
58
|
+
* uses the `.wui-check` alias of the same skin.
|
|
59
|
+
*
|
|
60
|
+
* The label is bound with id/htmlFor rather than react-bootstrap's `label` prop:
|
|
61
|
+
* that rendered a <label> with no `for`, so clicking the text did nothing.
|
|
62
|
+
*/
|
|
63
|
+
declare const AppCheckbox: ForwardRefExoticComponent<AppCheckboxProps & RefAttributes<HTMLInputElement>>;
|
|
49
64
|
export default AppCheckbox;
|