@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,296 +1,221 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import type * as React from "react";
|
|
2
|
+
import { type AppLinkComponent } from "../lib/linkTarget.ts";
|
|
3
|
+
/** A file shown under a comment's body. */
|
|
4
|
+
export interface CommentAttachment {
|
|
5
|
+
name: string;
|
|
6
|
+
href?: string | undefined;
|
|
7
|
+
/** An in-app route (a viewer page) routed through `linkComponent`; `href` stays a download link. */
|
|
8
|
+
to?: string | undefined;
|
|
9
|
+
sizeBytes?: number | undefined;
|
|
10
|
+
}
|
|
11
|
+
export interface CommentReaction {
|
|
12
|
+
emoji: string;
|
|
13
|
+
count: number;
|
|
14
|
+
mine?: boolean | undefined;
|
|
15
|
+
}
|
|
16
|
+
export interface CommentThreadItem {
|
|
17
|
+
/** The comment's public id. */
|
|
5
18
|
id: string;
|
|
6
|
-
/**
|
|
7
|
-
* Who wrote it; `src` is a photo URL.
|
|
8
|
-
*/
|
|
19
|
+
/** Who wrote it; `src` is a photo URL. */
|
|
9
20
|
author: {
|
|
10
21
|
name: string;
|
|
11
|
-
src?: string;
|
|
22
|
+
src?: string | undefined;
|
|
12
23
|
};
|
|
13
|
-
/**
|
|
14
|
-
* When it was written: an ISO instant with its zone, epoch ms or a Date. Shown in IST.
|
|
15
|
-
*/
|
|
24
|
+
/** When it was written: an ISO instant with its zone, epoch ms or a Date. Shown in IST. */
|
|
16
25
|
at: string | number | Date;
|
|
17
|
-
/**
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
*/
|
|
45
|
-
deleted?: boolean;
|
|
46
|
-
/**
|
|
47
|
-
* This person may edit it.
|
|
48
|
-
*/
|
|
49
|
-
canEdit?: boolean;
|
|
50
|
-
/**
|
|
51
|
-
* This person may delete it.
|
|
52
|
-
*/
|
|
53
|
-
canDelete?: boolean;
|
|
54
|
-
reactions?: {
|
|
55
|
-
emoji: string;
|
|
56
|
-
count: number;
|
|
57
|
-
mine?: boolean;
|
|
58
|
-
}[];
|
|
59
|
-
/**
|
|
60
|
-
* Replies, oldest first. Replies to a reply are not nested.
|
|
61
|
-
*/
|
|
62
|
-
replies?: CommentThreadItem[];
|
|
63
|
-
};
|
|
64
|
-
/**
|
|
65
|
-
* A discussion: comments with their author, time in IST, replies one level deep, reactions and
|
|
66
|
-
* mentions. People reply, edit and delete in place (Delete asks first), react from a small panel,
|
|
67
|
-
* and write with "@" to mention someone (see `AppMentionInput`). Ctrl or Cmd+Enter sends a box,
|
|
68
|
-
* Escape closes it and returns focus. Changes are announced to screen readers.
|
|
69
|
-
*
|
|
70
|
-
* The comments are yours: each callback persists a change and the thread waits for it, then you
|
|
71
|
-
* pass the updated `comments` back. Throw (or reject) with a message written for the person and it
|
|
72
|
-
* shows where they acted. Bodies are stored mention values (`Thanks @[Asha Rao](u-12)`). They render
|
|
73
|
-
* as text by default and as Markdown when `markdown` is set; never as HTML.
|
|
74
|
-
*
|
|
75
|
-
* Wraps the shared `<wui-comment-thread>` element, which owns the boxes, keys and states; Razor
|
|
76
|
-
* `<app-comment-thread>` renders the same markup.
|
|
77
|
-
*
|
|
78
|
-
* @typedef {object} CommentThreadItem
|
|
79
|
-
* @property {string} id The comment's public id.
|
|
80
|
-
* @property {{ name: string, src?: string }} author Who wrote it; `src` is a photo URL.
|
|
81
|
-
* @property {string | number | Date} at When it was written: an ISO instant with its zone, epoch ms or a Date. Shown in IST.
|
|
82
|
-
* @property {string} [value] The stored body, with mentions as `@[Label](id)`.
|
|
83
|
-
* @property {boolean} [edited] Shows "Edited" beside the time.
|
|
84
|
-
* @property {boolean} [mine] The viewer's own comment.
|
|
85
|
-
* @property {boolean} [internal] An internal note, marked with a badge.
|
|
86
|
-
* @property {{ name: string, href?: string, to?: string, sizeBytes?: number }[]} [attachments] Files shown under the body. `to` is an in-app route (a viewer page) routed through `linkComponent`; `href` stays a download link.
|
|
87
|
-
* @property {boolean} [deleted] Shows "This comment was deleted." in place of the body; replies stay.
|
|
88
|
-
* @property {boolean} [canEdit] This person may edit it.
|
|
89
|
-
* @property {boolean} [canDelete] This person may delete it.
|
|
90
|
-
* @property {{ emoji: string, count: number, mine?: boolean }[]} [reactions]
|
|
91
|
-
* @property {CommentThreadItem[]} [replies] Replies, oldest first. Replies to a reply are not nested.
|
|
92
|
-
*
|
|
93
|
-
* @param {object} props
|
|
94
|
-
* @param {CommentThreadItem[]} [props.comments]
|
|
95
|
-
* @param {(body: string) => unknown | Promise<unknown>} [props.onPost] A new comment.
|
|
96
|
-
* @param {(parentId: string, body: string) => unknown | Promise<unknown>} [props.onReply]
|
|
97
|
-
* @param {(commentId: string, body: string) => unknown | Promise<unknown>} [props.onEdit]
|
|
98
|
-
* @param {(commentId: string) => unknown | Promise<unknown>} [props.onDelete]
|
|
99
|
-
* @param {(commentId: string, emoji: string) => unknown | Promise<unknown>} [props.onReact] Toggle
|
|
100
|
-
* this person's reaction.
|
|
101
|
-
* @param {{ value: string, label: string, description?: string, src?: string }[]} [props.people]
|
|
102
|
-
* @param {(query: string) => Promise<{ value: string, label: string, description?: string, src?: string }[]>} [props.loadPeople]
|
|
103
|
-
* Look people up instead of `people`.
|
|
104
|
-
* @param {string[]} [props.reactionChoices]
|
|
105
|
-
* @param {boolean} [props.allowReplies] False leaves out the Reply action and the reply box; existing replies still show.
|
|
106
|
-
* @param {boolean} [props.allowReactions] False leaves out the reaction panel and the reaction chips.
|
|
107
|
-
* @param {string} [props.composerPlaceholder] The composer box's placeholder; without it the standard one.
|
|
108
|
-
* @param {"list"|"conversation"} [props.variant] `conversation` adds the conversation class to the root; `list` is the default.
|
|
109
|
-
* @param {"stacked"|"inline"} [props.composer] The box under the list, or one row with the author's avatar, the box and the post button.
|
|
110
|
-
* @param {string} [props.author] The name for the inline composer's avatar; ignored when stacked.
|
|
111
|
-
* @param {string} [props.postLabel] The post button's text; without it "Comment".
|
|
112
|
-
* @param {number} [props.composerRows] The composer box's rows; without it 3 stacked and 1 inline.
|
|
113
|
-
* @param {boolean} [props.readOnly]
|
|
114
|
-
* @param {boolean} [props.markdown] Draws each comment body as Markdown through the shared Markdown element, which never renders raw HTML. A mention then reads as plain "@Name" text. Default false: plain text.
|
|
115
|
-
* @param {import('react').ElementType} [props.linkComponent] Router link (e.g. react-router Link) for in-app destinations; it receives `to` instead of `href`. Absolute, `#` and scheme hrefs stay plain anchors. Keeps the library router-agnostic.
|
|
116
|
-
* @param {string} [props.label]
|
|
117
|
-
* @param {string} [props.internalLabel] Default "Internal note".
|
|
118
|
-
* @param {string} [props.attachmentsLabel] Default "Attachments".
|
|
119
|
-
* @param {string} [props.composerLabel] Name of the new-comment box. Default "Add a comment".
|
|
120
|
-
* @param {string} [props.noCommentsText] Shown when there are no comments. Default "No comments yet."
|
|
121
|
-
* @param {string} [props.reactionsLabel] Name of a comment's reaction group. Default "Reactions".
|
|
122
|
-
* @param {string} [props.repliesToLabel] Name of a reply list; `{name}` is the author. Default "Replies to {name}".
|
|
123
|
-
* @param {string} [props.editedLabel] Marks an edited comment. Default "Edited".
|
|
124
|
-
* @param {string} [props.deletedText] Shown in place of a deleted comment. Default "This comment was deleted."
|
|
125
|
-
* @param {string} [props.replyLabel] The Reply action. Default "Reply".
|
|
126
|
-
* @param {string} [props.editLabel] The Edit action. Default "Edit".
|
|
127
|
-
* @param {string} [props.deleteLabel] The Delete action and its confirm button. Default "Delete".
|
|
128
|
-
* @param {string} [props.deleteConfirmText] The question before a delete. Default "Delete this comment?"
|
|
129
|
-
* @param {string} [props.cancelLabel] Cancels a delete. Default "Cancel".
|
|
130
|
-
* @param {string} [props.addReactionLabel] Name of the add-reaction button. Default "Add a reaction".
|
|
131
|
-
* @param {string} [props.chooseReactionLabel] Name of the reaction panel. Default "Choose a reaction".
|
|
132
|
-
* @param {string} [props.peopleLabel] Name of the mention menu in the composer. Default "People".
|
|
133
|
-
* @param {string} [props.id]
|
|
134
|
-
* @param {string} [props.className]
|
|
135
|
-
*/
|
|
136
|
-
export default function AppCommentThread(props: {
|
|
26
|
+
/** The stored body, with mentions as `@[Label](id)`. */
|
|
27
|
+
value?: string | undefined;
|
|
28
|
+
/** Shows "Edited" beside the time. */
|
|
29
|
+
edited?: boolean | undefined;
|
|
30
|
+
/** The viewer's own comment. */
|
|
31
|
+
mine?: boolean | undefined;
|
|
32
|
+
/** An internal note, marked with a badge. */
|
|
33
|
+
internal?: boolean | undefined;
|
|
34
|
+
/** Files shown under the body. */
|
|
35
|
+
attachments?: CommentAttachment[] | undefined;
|
|
36
|
+
/** Shows "This comment was deleted." in place of the body; replies stay. */
|
|
37
|
+
deleted?: boolean | undefined;
|
|
38
|
+
/** This person may edit it. */
|
|
39
|
+
canEdit?: boolean | undefined;
|
|
40
|
+
/** This person may delete it. */
|
|
41
|
+
canDelete?: boolean | undefined;
|
|
42
|
+
reactions?: CommentReaction[] | undefined;
|
|
43
|
+
/** Replies, oldest first. Replies to a reply are not nested. */
|
|
44
|
+
replies?: CommentThreadItem[] | undefined;
|
|
45
|
+
}
|
|
46
|
+
export interface CommentPerson {
|
|
47
|
+
value: string;
|
|
48
|
+
label: string;
|
|
49
|
+
description?: string | undefined;
|
|
50
|
+
src?: string | undefined;
|
|
51
|
+
}
|
|
52
|
+
export interface AppCommentThreadProps extends React.ComponentPropsWithoutRef<"div"> {
|
|
137
53
|
/**
|
|
138
54
|
* Top-level comments, oldest first.
|
|
139
55
|
* @default []
|
|
140
56
|
*/
|
|
141
|
-
comments?: CommentThreadItem[];
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
57
|
+
comments?: CommentThreadItem[] | undefined;
|
|
58
|
+
/** A new comment. */
|
|
59
|
+
onPost?: ((body: string) => unknown) | undefined;
|
|
60
|
+
onReply?: ((parentId: string, body: string) => unknown) | undefined;
|
|
61
|
+
onEdit?: ((commentId: string, body: string) => unknown) | undefined;
|
|
62
|
+
onDelete?: ((commentId: string) => unknown) | undefined;
|
|
63
|
+
/** Toggle this person's reaction. */
|
|
64
|
+
onReact?: ((commentId: string, emoji: string) => unknown) | undefined;
|
|
147
65
|
/** The people the boxes offer after @. */
|
|
148
|
-
people?:
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
description?: string;
|
|
152
|
-
src?: string;
|
|
153
|
-
}[];
|
|
154
|
-
loadPeople?: (query: string) => Promise<{
|
|
155
|
-
value: string;
|
|
156
|
-
label: string;
|
|
157
|
-
description?: string;
|
|
158
|
-
src?: string;
|
|
159
|
-
}[]>;
|
|
66
|
+
people?: CommentPerson[] | undefined;
|
|
67
|
+
/** Look people up instead of `people`. */
|
|
68
|
+
loadPeople?: ((query: string) => Promise<CommentPerson[]>) | undefined;
|
|
160
69
|
/** The reactions the panel offers. Without it the panel offers a thumbs up, heart, party, smile, eyes and folded hands. */
|
|
161
|
-
reactionChoices?: string[];
|
|
70
|
+
reactionChoices?: string[] | undefined;
|
|
162
71
|
/**
|
|
163
72
|
* False leaves out the Reply action and the reply box; existing replies still show.
|
|
164
73
|
* @default true
|
|
165
74
|
*/
|
|
166
|
-
allowReplies?: boolean;
|
|
75
|
+
allowReplies?: boolean | undefined;
|
|
167
76
|
/**
|
|
168
77
|
* False leaves out the reaction panel and the reaction chips.
|
|
169
78
|
* @default true
|
|
170
79
|
*/
|
|
171
|
-
allowReactions?: boolean;
|
|
80
|
+
allowReactions?: boolean | undefined;
|
|
172
81
|
/** The composer box's placeholder. Without it the standard placeholder asks for a comment and names @ mentions. */
|
|
173
|
-
composerPlaceholder?: string;
|
|
82
|
+
composerPlaceholder?: string | undefined;
|
|
174
83
|
/**
|
|
175
84
|
* list: every comment down one column. conversation: chat bubbles, this person's own on the right.
|
|
176
85
|
* @default "list"
|
|
177
86
|
*/
|
|
178
|
-
variant?: "list" | "conversation";
|
|
87
|
+
variant?: "list" | "conversation" | undefined;
|
|
179
88
|
/**
|
|
180
89
|
* stacked: the box under the list. inline: one row with the author's avatar, the box and the post button.
|
|
181
90
|
* @default "stacked"
|
|
182
91
|
*/
|
|
183
|
-
composer?: "stacked" | "inline";
|
|
92
|
+
composer?: "stacked" | "inline" | undefined;
|
|
184
93
|
/** The name for the inline composer's avatar. Ignored when stacked. */
|
|
185
|
-
author?: string;
|
|
94
|
+
author?: string | undefined;
|
|
186
95
|
/**
|
|
187
96
|
* The post button's text.
|
|
188
97
|
* @default "Comment"
|
|
189
98
|
*/
|
|
190
|
-
postLabel?: string;
|
|
99
|
+
postLabel?: string | undefined;
|
|
191
100
|
/** The composer box's rows. Without it, 3 stacked and 1 inline. */
|
|
192
|
-
composerRows?: number;
|
|
101
|
+
composerRows?: number | undefined;
|
|
193
102
|
/**
|
|
194
103
|
* Show the thread without the box, actions or reacting.
|
|
195
104
|
* @default false
|
|
196
105
|
*/
|
|
197
|
-
readOnly?: boolean;
|
|
106
|
+
readOnly?: boolean | undefined;
|
|
198
107
|
/**
|
|
199
108
|
* Draws each comment body as Markdown (bold, italics, lists, links, code); raw HTML shows as text and a mention reads as plain @Name. Unset, bodies show as plain text.
|
|
200
109
|
* @default false
|
|
201
110
|
*/
|
|
202
|
-
markdown?: boolean;
|
|
203
|
-
|
|
111
|
+
markdown?: boolean | undefined;
|
|
112
|
+
/** Router link (e.g. react-router Link) for in-app destinations; it receives `to` instead of `href`. Absolute, `#` and scheme hrefs stay plain anchors. Keeps the library router-agnostic. */
|
|
113
|
+
linkComponent?: AppLinkComponent | undefined;
|
|
204
114
|
/**
|
|
205
115
|
* The list's accessible name.
|
|
206
116
|
* @default "Comments"
|
|
207
117
|
*/
|
|
208
|
-
label?: string;
|
|
118
|
+
label?: string | undefined;
|
|
209
119
|
/**
|
|
210
120
|
* Replaces the built-in English text, for other languages.
|
|
211
121
|
* @default "Internal note"
|
|
212
122
|
*/
|
|
213
|
-
internalLabel?: string;
|
|
123
|
+
internalLabel?: string | undefined;
|
|
214
124
|
/**
|
|
215
125
|
* Replaces the built-in English text, for other languages.
|
|
216
126
|
* @default "Attachments"
|
|
217
127
|
*/
|
|
218
|
-
attachmentsLabel?: string;
|
|
128
|
+
attachmentsLabel?: string | undefined;
|
|
219
129
|
/**
|
|
220
130
|
* Name of the new-comment box. Replaces the built-in English text, for other languages.
|
|
221
131
|
* @default "Add a comment"
|
|
222
132
|
*/
|
|
223
|
-
composerLabel?: string;
|
|
133
|
+
composerLabel?: string | undefined;
|
|
224
134
|
/**
|
|
225
135
|
* Shown when there are no comments. Replaces the built-in English text, for other languages.
|
|
226
136
|
* @default "No comments yet."
|
|
227
137
|
*/
|
|
228
|
-
noCommentsText?: string;
|
|
138
|
+
noCommentsText?: string | undefined;
|
|
229
139
|
/**
|
|
230
140
|
* Name of a comment's reaction group. Replaces the built-in English text, for other languages.
|
|
231
141
|
* @default "Reactions"
|
|
232
142
|
*/
|
|
233
|
-
reactionsLabel?: string;
|
|
143
|
+
reactionsLabel?: string | undefined;
|
|
234
144
|
/**
|
|
235
145
|
* Name of a reply list; {name} is the author. Replaces the built-in English text, for other languages.
|
|
236
146
|
* @default "Replies to {name}"
|
|
237
147
|
*/
|
|
238
|
-
repliesToLabel?: string;
|
|
148
|
+
repliesToLabel?: string | undefined;
|
|
239
149
|
/**
|
|
240
150
|
* Marks an edited comment. Replaces the built-in English text, for other languages.
|
|
241
151
|
* @default "Edited"
|
|
242
152
|
*/
|
|
243
|
-
editedLabel?: string;
|
|
153
|
+
editedLabel?: string | undefined;
|
|
244
154
|
/**
|
|
245
155
|
* Shown in place of a deleted comment. Replaces the built-in English text, for other languages.
|
|
246
156
|
* @default "This comment was deleted."
|
|
247
157
|
*/
|
|
248
|
-
deletedText?: string;
|
|
158
|
+
deletedText?: string | undefined;
|
|
249
159
|
/**
|
|
250
160
|
* The Reply action. Replaces the built-in English text, for other languages.
|
|
251
161
|
* @default "Reply"
|
|
252
162
|
*/
|
|
253
|
-
replyLabel?: string;
|
|
163
|
+
replyLabel?: string | undefined;
|
|
254
164
|
/**
|
|
255
165
|
* The Edit action. Replaces the built-in English text, for other languages.
|
|
256
166
|
* @default "Edit"
|
|
257
167
|
*/
|
|
258
|
-
editLabel?: string;
|
|
168
|
+
editLabel?: string | undefined;
|
|
259
169
|
/**
|
|
260
170
|
* The Delete action and its confirm button. Replaces the built-in English text, for other languages.
|
|
261
171
|
* @default "Delete"
|
|
262
172
|
*/
|
|
263
|
-
deleteLabel?: string;
|
|
173
|
+
deleteLabel?: string | undefined;
|
|
264
174
|
/**
|
|
265
175
|
* The question before a delete. Replaces the built-in English text, for other languages.
|
|
266
176
|
* @default "Delete this comment?"
|
|
267
177
|
*/
|
|
268
|
-
deleteConfirmText?: string;
|
|
178
|
+
deleteConfirmText?: string | undefined;
|
|
269
179
|
/**
|
|
270
180
|
* Cancels a delete. Replaces the built-in English text, for other languages.
|
|
271
181
|
* @default "Cancel"
|
|
272
182
|
*/
|
|
273
|
-
cancelLabel?: string;
|
|
183
|
+
cancelLabel?: string | undefined;
|
|
274
184
|
/**
|
|
275
185
|
* Name of the add-reaction button. Replaces the built-in English text, for other languages.
|
|
276
186
|
* @default "Add a reaction"
|
|
277
187
|
*/
|
|
278
|
-
addReactionLabel?: string;
|
|
188
|
+
addReactionLabel?: string | undefined;
|
|
279
189
|
/**
|
|
280
190
|
* Name of the reaction panel. Replaces the built-in English text, for other languages.
|
|
281
191
|
* @default "Choose a reaction"
|
|
282
192
|
*/
|
|
283
|
-
chooseReactionLabel?: string;
|
|
193
|
+
chooseReactionLabel?: string | undefined;
|
|
284
194
|
/**
|
|
285
195
|
* Name of the mention menu in the composer. Replaces the built-in English text, for other languages.
|
|
286
196
|
* @default "People"
|
|
287
197
|
*/
|
|
288
|
-
peopleLabel?: string;
|
|
198
|
+
peopleLabel?: string | undefined;
|
|
289
199
|
/** The root's id. Generated when omitted. */
|
|
290
|
-
id?: string;
|
|
200
|
+
id?: string | undefined;
|
|
291
201
|
/**
|
|
292
202
|
* Extra classes on the root.
|
|
293
203
|
* @default ""
|
|
294
204
|
*/
|
|
295
|
-
className?: string;
|
|
296
|
-
}
|
|
205
|
+
className?: string | undefined;
|
|
206
|
+
}
|
|
207
|
+
/**
|
|
208
|
+
* A discussion: comments with their author, time in IST, replies one level deep, reactions and
|
|
209
|
+
* mentions. People reply, edit and delete in place (Delete asks first), react from a small panel,
|
|
210
|
+
* and write with "@" to mention someone (see `AppMentionInput`). Ctrl or Cmd+Enter sends a box,
|
|
211
|
+
* Escape closes it and returns focus. Changes are announced to screen readers.
|
|
212
|
+
*
|
|
213
|
+
* The comments are yours: each callback persists a change and the thread waits for it, then you
|
|
214
|
+
* pass the updated `comments` back. Throw (or reject) with a message written for the person and it
|
|
215
|
+
* shows where they acted. Bodies are stored mention values (`Thanks @[Asha Rao](u-12)`). They render
|
|
216
|
+
* as text by default and as Markdown when `markdown` is set; never as HTML.
|
|
217
|
+
*
|
|
218
|
+
* Wraps the shared `<wui-comment-thread>` element, which owns the boxes, keys and states; Razor
|
|
219
|
+
* `<app-comment-thread>` renders the same markup.
|
|
220
|
+
*/
|
|
221
|
+
export default function AppCommentThread(props: AppCommentThreadProps): React.JSX.Element;
|
|
@@ -1,96 +1,91 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
* @param {string} [props.noLabel] Default "No".
|
|
25
|
-
* @param {string} [props.warningLabel] Default "Warning".
|
|
26
|
-
* @param {string} [props.partialLabel] Default "Partial".
|
|
27
|
-
* @param {string} [props.className]
|
|
28
|
-
*/
|
|
29
|
-
export default function AppCompareTable(props: {
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ReactNode } from "react";
|
|
2
|
+
type CompareState = "yes" | "no" | "warn" | "partial";
|
|
3
|
+
export interface CompareColumn {
|
|
4
|
+
label: string;
|
|
5
|
+
highlight?: boolean | undefined;
|
|
6
|
+
align?: "start" | "center" | undefined;
|
|
7
|
+
nowrap?: boolean | undefined;
|
|
8
|
+
}
|
|
9
|
+
export interface CompareStateCell {
|
|
10
|
+
state: CompareState;
|
|
11
|
+
text?: ReactNode | undefined;
|
|
12
|
+
}
|
|
13
|
+
export interface CompareCodeCell {
|
|
14
|
+
code: string;
|
|
15
|
+
}
|
|
16
|
+
export type CompareValue = boolean | ReactNode | CompareStateCell | CompareCodeCell;
|
|
17
|
+
export interface CompareRow {
|
|
18
|
+
key?: string | undefined;
|
|
19
|
+
label: string;
|
|
20
|
+
group?: string | undefined;
|
|
21
|
+
values: CompareValue[];
|
|
22
|
+
}
|
|
23
|
+
export interface AppCompareTableProps extends ComponentPropsWithoutRef<"div"> {
|
|
30
24
|
/** The columns, including the leading capability-name column, whose label is normally empty. */
|
|
31
|
-
columns:
|
|
32
|
-
label: string;
|
|
33
|
-
highlight?: boolean;
|
|
34
|
-
align?: "start" | "center";
|
|
35
|
-
nowrap?: boolean;
|
|
36
|
-
}[];
|
|
25
|
+
columns: CompareColumn[];
|
|
37
26
|
/** One row per capability. */
|
|
38
|
-
rows:
|
|
39
|
-
key?: string;
|
|
40
|
-
label: string;
|
|
41
|
-
group?: string;
|
|
42
|
-
values: (boolean | import('react').ReactNode | {
|
|
43
|
-
state: "yes" | "no" | "warn" | "partial";
|
|
44
|
-
text?: import('react').ReactNode;
|
|
45
|
-
} | {
|
|
46
|
-
code: string;
|
|
47
|
-
})[];
|
|
48
|
-
}[];
|
|
27
|
+
rows: CompareRow[];
|
|
49
28
|
/** Accessible description of what is being compared. */
|
|
50
|
-
caption?: string;
|
|
29
|
+
caption?: string | undefined;
|
|
51
30
|
/**
|
|
52
31
|
* Under 576px of table width: stack (default) turns each row into a card; scroll keeps the columns and scrolls sideways.
|
|
53
32
|
* @default "stack"
|
|
54
33
|
*/
|
|
55
|
-
mobile?: "stack" | "scroll";
|
|
34
|
+
mobile?: "stack" | "scroll" | undefined;
|
|
56
35
|
/**
|
|
57
36
|
* With mobile scroll: the first column stays in place while the rest scrolls.
|
|
58
37
|
* @default false
|
|
59
38
|
*/
|
|
60
|
-
stickyFirstColumn?: boolean;
|
|
39
|
+
stickyFirstColumn?: boolean | undefined;
|
|
61
40
|
/**
|
|
62
41
|
* The header row stays on screen while a long table scrolls past it.
|
|
63
42
|
* @default false
|
|
64
43
|
*/
|
|
65
|
-
stickyHeader?: boolean;
|
|
44
|
+
stickyHeader?: boolean | undefined;
|
|
66
45
|
/**
|
|
67
46
|
* relaxed sets a 16px body and 32px side padding for marketing tables.
|
|
68
47
|
* @default "comfortable"
|
|
69
48
|
*/
|
|
70
|
-
density?: "comfortable" | "relaxed";
|
|
49
|
+
density?: "comfortable" | "relaxed" | undefined;
|
|
71
50
|
/**
|
|
72
51
|
* Replaces the built-in English text, for other languages.
|
|
73
52
|
* @default "Yes"
|
|
74
53
|
*/
|
|
75
|
-
yesLabel?: string;
|
|
54
|
+
yesLabel?: string | undefined;
|
|
76
55
|
/**
|
|
77
56
|
* Replaces the built-in English text, for other languages.
|
|
78
57
|
* @default "No"
|
|
79
58
|
*/
|
|
80
|
-
noLabel?: string;
|
|
59
|
+
noLabel?: string | undefined;
|
|
81
60
|
/**
|
|
82
61
|
* Replaces the built-in English text, for other languages.
|
|
83
62
|
* @default "Warning"
|
|
84
63
|
*/
|
|
85
|
-
warningLabel?: string;
|
|
64
|
+
warningLabel?: string | undefined;
|
|
86
65
|
/**
|
|
87
66
|
* Replaces the built-in English text, for other languages.
|
|
88
67
|
* @default "Partial"
|
|
89
68
|
*/
|
|
90
|
-
partialLabel?: string;
|
|
69
|
+
partialLabel?: string | undefined;
|
|
91
70
|
/**
|
|
92
71
|
* Extra classes on the root.
|
|
93
72
|
* @default ""
|
|
94
73
|
*/
|
|
95
|
-
className?: string;
|
|
96
|
-
}
|
|
74
|
+
className?: string | undefined;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* A feature-comparison table: one row per capability, one column per option, with the
|
|
78
|
+
* recommended column tinted so it reads without a legend.
|
|
79
|
+
*
|
|
80
|
+
* A cell value is a tick (`true`), a dash (`false`), a state (`{ state, text? }` with
|
|
81
|
+
* state yes, no, warn or partial, drawn as an icon beside its text), a reference code
|
|
82
|
+
* (`{ code }`), or any node, drawn as written so `<sub>`, links and commas work.
|
|
83
|
+
*
|
|
84
|
+
* Under 576px of container width the table stacks by default: each row becomes a card with
|
|
85
|
+
* its label as the title and each cell under its column name. `mobile="scroll"` keeps the
|
|
86
|
+
* table whole and scrolls it sideways in a focusable region named by the caption.
|
|
87
|
+
*
|
|
88
|
+
* For tabular DATA (sortable, paginated rows of records) use `AppDataTable`.
|
|
89
|
+
*/
|
|
90
|
+
export default function AppCompareTable(props: AppCompareTableProps): import("react").JSX.Element;
|
|
91
|
+
export {};
|