@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,150 +1,153 @@
|
|
|
1
|
-
import "@webority/
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
*
|
|
24
|
-
* @param {object} props
|
|
25
|
-
* @param {{ key: string, label: string, type: 'enum'|'multiEnum'|'dateRange'|'text',
|
|
26
|
-
* options?: { value: string, label: string }[], allLabel?: string, required?: boolean, presets?: string[] }[]} props.facets
|
|
27
|
-
* @param {Record<string, string|string[]|{ from: string, to: string }>} props.value
|
|
28
|
-
* @param {(key: string, value: string|string[]|{ from: string, to: string }) => void} props.onChange
|
|
29
|
-
* Called with the facet key and its new value. Clear all calls it once per active facet, with the empty value.
|
|
30
|
-
* @param {number} [props.inline]
|
|
31
|
-
* @param {boolean} [props.floating]
|
|
32
|
-
* @param {boolean} [props.apply]
|
|
33
|
-
* @param {"sm"|"md"} [props.size]
|
|
34
|
-
* @param {string} [props.className]
|
|
35
|
-
* @param {string} [props.clearAllLabel] Default "Clear all".
|
|
36
|
-
* @param {string} [props.filtersLabel] Default "Filters".
|
|
37
|
-
* @param {string} [props.filtersActiveLabel] Default "Filters, {count} active". Names the Filters button while filters are active; {count} is the active count.
|
|
38
|
-
* @param {string} [props.keepOpenLabel] Default "Keep open".
|
|
39
|
-
* @param {string} [props.appliesAtOnceText] Default "Changes apply at once.".
|
|
40
|
-
* @param {string} [props.applyLabel] Default "Apply".
|
|
41
|
-
* @param {string} [props.anyLabel] Default "Any".
|
|
42
|
-
* @param {string} [props.removeChipLabel] Default "Remove {facet} filter {value}". Names a chip's remove button; {facet} is the facet label, {value} the chip text.
|
|
43
|
-
* @param {string} [props.dateFromText] Default "From {date}". A date range chip with only a start date.
|
|
44
|
-
* @param {string} [props.dateUntilText] Default "Until {date}". A date range chip with only an end date.
|
|
45
|
-
* @param {string} [props.dateRangeText] Default "{from} to {to}". A date range chip with both dates.
|
|
46
|
-
*/
|
|
47
|
-
export default function AppFilterBar(props: {
|
|
1
|
+
import { type ListFilterValue } from "@webority/web-core/query";
|
|
2
|
+
import { type ComponentPropsWithoutRef, type JSX } from "react";
|
|
3
|
+
import { type AppDateRangePickerProps } from "./AppDateRangePicker.tsx";
|
|
4
|
+
export interface AppFilterOption {
|
|
5
|
+
value: string;
|
|
6
|
+
label: string;
|
|
7
|
+
}
|
|
8
|
+
export interface AppFilterDateRange {
|
|
9
|
+
from: string;
|
|
10
|
+
to: string;
|
|
11
|
+
}
|
|
12
|
+
export type AppFilterValue = string | string[] | AppFilterDateRange;
|
|
13
|
+
export interface AppFilterFacet {
|
|
14
|
+
key: string;
|
|
15
|
+
label: string;
|
|
16
|
+
type: "enum" | "multiEnum" | "dateRange" | "text";
|
|
17
|
+
options?: AppFilterOption[] | undefined;
|
|
18
|
+
allLabel?: string | undefined;
|
|
19
|
+
required?: boolean | undefined;
|
|
20
|
+
presets?: AppDateRangePickerProps["presets"] | undefined;
|
|
21
|
+
}
|
|
22
|
+
export interface AppFilterBarProps extends Omit<ComponentPropsWithoutRef<"div">, "onChange"> {
|
|
48
23
|
/** The facets to draw, one filter control each. A facet with no options draws nothing. */
|
|
49
|
-
facets:
|
|
50
|
-
key: string;
|
|
51
|
-
label: string;
|
|
52
|
-
type: 'enum' | 'multiEnum' | 'dateRange' | 'text';
|
|
53
|
-
options?: {
|
|
54
|
-
value: string;
|
|
55
|
-
label: string;
|
|
56
|
-
}[];
|
|
57
|
-
allLabel?: string;
|
|
58
|
-
required?: boolean;
|
|
59
|
-
presets?: string[];
|
|
60
|
-
}[];
|
|
24
|
+
facets: AppFilterFacet[];
|
|
61
25
|
/** The current filters, keyed by facet key: a string, a list of strings, or a { from, to } date range. */
|
|
62
|
-
value: Record<string,
|
|
63
|
-
|
|
64
|
-
to: string;
|
|
65
|
-
}>;
|
|
66
|
-
onChange: (key: string, value: string | string[] | {
|
|
67
|
-
from: string;
|
|
68
|
-
to: string;
|
|
69
|
-
}) => void;
|
|
26
|
+
value: Readonly<Record<string, ListFilterValue>>;
|
|
27
|
+
onChange: (key: string, value: AppFilterValue) => void;
|
|
70
28
|
/**
|
|
71
29
|
* How many facets stay in the row; the rest fold into the Filters button.
|
|
72
30
|
* @default 3
|
|
73
31
|
*/
|
|
74
|
-
inline?: number;
|
|
32
|
+
inline?: number | undefined;
|
|
75
33
|
/**
|
|
76
34
|
* A floating panel: hover, click or F opens the facets in a non-modal panel under the Filters button, with a chip summary in the row.
|
|
77
35
|
* @default false
|
|
78
36
|
*/
|
|
79
|
-
floating?: boolean;
|
|
37
|
+
floating?: boolean | undefined;
|
|
80
38
|
/**
|
|
81
39
|
* Hold search and date range edits until Apply (or Enter in a search box), as the Razor app-filter-bar does; other choices still apply when they change. Apply shows only when a text or dateRange facet is present, and never with floating.
|
|
82
40
|
* @default false
|
|
83
41
|
*/
|
|
84
|
-
apply?: boolean;
|
|
42
|
+
apply?: boolean | undefined;
|
|
85
43
|
/**
|
|
86
44
|
* Control height. md draws every control and button at the 36px field height; sm is the compact toolbar height.
|
|
87
45
|
* @default "sm"
|
|
88
46
|
*/
|
|
89
|
-
size?: "sm" | "md";
|
|
47
|
+
size?: "sm" | "md" | undefined;
|
|
90
48
|
/**
|
|
91
49
|
* Extra classes on the filter bar.
|
|
92
50
|
* @default ""
|
|
93
51
|
*/
|
|
94
|
-
className?: string;
|
|
52
|
+
className?: string | undefined;
|
|
95
53
|
/**
|
|
96
54
|
* Replaces the built-in English text, for other languages.
|
|
97
55
|
* @default "Clear all"
|
|
98
56
|
*/
|
|
99
|
-
clearAllLabel?: string;
|
|
57
|
+
clearAllLabel?: string | undefined;
|
|
100
58
|
/**
|
|
101
59
|
* Replaces the built-in English text, for other languages.
|
|
102
60
|
* @default "Filters"
|
|
103
61
|
*/
|
|
104
|
-
filtersLabel?: string;
|
|
62
|
+
filtersLabel?: string | undefined;
|
|
105
63
|
/**
|
|
106
64
|
* Replaces the built-in English text, for other languages. {count} is the number of active filters.
|
|
107
65
|
* @default "Filters, {count} active"
|
|
108
66
|
*/
|
|
109
|
-
filtersActiveLabel?: string;
|
|
67
|
+
filtersActiveLabel?: string | undefined;
|
|
110
68
|
/**
|
|
111
69
|
* Replaces the built-in English text, for other languages.
|
|
112
70
|
* @default "Keep open"
|
|
113
71
|
*/
|
|
114
|
-
keepOpenLabel?: string;
|
|
72
|
+
keepOpenLabel?: string | undefined;
|
|
115
73
|
/**
|
|
116
74
|
* Replaces the built-in English text, for other languages.
|
|
117
75
|
* @default "Changes apply at once."
|
|
118
76
|
*/
|
|
119
|
-
appliesAtOnceText?: string;
|
|
77
|
+
appliesAtOnceText?: string | undefined;
|
|
120
78
|
/**
|
|
121
79
|
* Replaces the built-in English text, for other languages.
|
|
122
80
|
* @default "Apply"
|
|
123
81
|
*/
|
|
124
|
-
applyLabel?: string;
|
|
82
|
+
applyLabel?: string | undefined;
|
|
125
83
|
/**
|
|
126
84
|
* Replaces the built-in English text, for other languages.
|
|
127
85
|
* @default "Any"
|
|
128
86
|
*/
|
|
129
|
-
anyLabel?: string;
|
|
87
|
+
anyLabel?: string | undefined;
|
|
130
88
|
/**
|
|
131
89
|
* Replaces the built-in English text, for other languages. {facet} is the facet label and {value} the chip text.
|
|
132
90
|
* @default "Remove {facet} filter {value}"
|
|
133
91
|
*/
|
|
134
|
-
removeChipLabel?: string;
|
|
92
|
+
removeChipLabel?: string | undefined;
|
|
135
93
|
/**
|
|
136
94
|
* Replaces the built-in English text, for other languages. {date} is the start date of a date range chip.
|
|
137
95
|
* @default "From {date}"
|
|
138
96
|
*/
|
|
139
|
-
dateFromText?: string;
|
|
97
|
+
dateFromText?: string | undefined;
|
|
140
98
|
/**
|
|
141
99
|
* Replaces the built-in English text, for other languages. {date} is the end date of a date range chip.
|
|
142
100
|
* @default "Until {date}"
|
|
143
101
|
*/
|
|
144
|
-
dateUntilText?: string;
|
|
102
|
+
dateUntilText?: string | undefined;
|
|
145
103
|
/**
|
|
146
104
|
* Replaces the built-in English text, for other languages. {from} and {to} are the start and end dates of a date range chip.
|
|
147
105
|
* @default "{from} to {to}"
|
|
148
106
|
*/
|
|
149
|
-
dateRangeText?: string;
|
|
150
|
-
}
|
|
107
|
+
dateRangeText?: string | undefined;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* The filters above a list, driven by one facet list: a control per facet, then a removable chip for
|
|
111
|
+
* each active filter and a Clear all button. Built for `AppTableToolbar`'s `filters` slot and
|
|
112
|
+
* `useListQuery` from `@webority/web-core`: `<AppFilterBar facets={facets} value={query.filters} onChange={setFilter} />`.
|
|
113
|
+
*
|
|
114
|
+
* `value` is an object keyed by facet key. A facet's value is a string for `enum` and `text`, an array
|
|
115
|
+
* of strings for `multiEnum`, and `{ from, to }` (yyyy-MM-dd strings) for `dateRange`; the empty value
|
|
116
|
+
* is "", [] and `{ from: "", to: "" }`. An `enum` shows as segments (with an "All" segment, renamed by `allLabel`) up to three
|
|
117
|
+
* options and as a clearable select beyond that. A `required` enum always holds one of its options: it has no All segment or empty choice, its select cannot be cleared, and it draws no chip and is left out of Clear all and the Filters count. A `text` facet has no chip: its box shows the text
|
|
118
|
+
* and clears itself. The controls, chips and Clear all share one row, the search box wider and
|
|
119
|
+
* selects and date ranges narrow; it wraps only when full, and each facet takes its own line on a phone.
|
|
120
|
+
*
|
|
121
|
+
* Only the first `inline` facets sit in the row. The rest go in a panel behind a "Filters (n)" button,
|
|
122
|
+
* n counting the active ones among them (no number while none is active); a folded facet's chip stays in
|
|
123
|
+
* the row, and an inline facet's chip is hidden on a desktop, where its control already shows the value.
|
|
124
|
+
* The panel is a `<details>` that closes on an outside click or Escape. On a phone every facet folds
|
|
125
|
+
* into that one button and the panel becomes a sheet from the bottom edge. The button and Clear all
|
|
126
|
+
* never wrap.
|
|
127
|
+
*
|
|
128
|
+
* With `apply`, a search box or date range waits for Apply, or Enter in a search box, before it calls `onChange`; other choices still apply as they change.
|
|
129
|
+
* With `size` "md", every control and button in the bar draws at the 36px field height; the default "sm" is the compact toolbar height.
|
|
130
|
+
*
|
|
131
|
+
* @param props
|
|
132
|
+
* @param props.facets
|
|
133
|
+
* @param props.value
|
|
134
|
+
* @param props.onChange
|
|
135
|
+
* Called with the facet key and its new value. Clear all calls it once per active facet, with the empty value.
|
|
136
|
+
* @param [props.inline]
|
|
137
|
+
* @param [props.floating]
|
|
138
|
+
* @param [props.apply]
|
|
139
|
+
* @param [props.size]
|
|
140
|
+
* @param [props.className]
|
|
141
|
+
* @param [props.clearAllLabel] Default "Clear all".
|
|
142
|
+
* @param [props.filtersLabel] Default "Filters".
|
|
143
|
+
* @param [props.filtersActiveLabel] Default "Filters, {count} active". Names the Filters button while filters are active; {count} is the active count.
|
|
144
|
+
* @param [props.keepOpenLabel] Default "Keep open".
|
|
145
|
+
* @param [props.appliesAtOnceText] Default "Changes apply at once.".
|
|
146
|
+
* @param [props.applyLabel] Default "Apply".
|
|
147
|
+
* @param [props.anyLabel] Default "Any".
|
|
148
|
+
* @param [props.removeChipLabel] Default "Remove {facet} filter {value}". Names a chip's remove button; {facet} is the facet label, {value} the chip text.
|
|
149
|
+
* @param [props.dateFromText] Default "From {date}". A date range chip with only a start date.
|
|
150
|
+
* @param [props.dateUntilText] Default "Until {date}". A date range chip with only an end date.
|
|
151
|
+
* @param [props.dateRangeText] Default "{from} to {to}". A date range chip with both dates.
|
|
152
|
+
*/
|
|
153
|
+
export default function AppFilterBar(props: AppFilterBarProps): JSX.Element;
|
|
@@ -1,70 +1,72 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
* the tooltip and the accessible name, and the button shows no text, so the label is required.
|
|
4
|
-
*
|
|
5
|
-
* When stacked, `className` and `style` land on the stack item; when not stacked, they land on
|
|
6
|
-
* the button, because the caller places it.
|
|
7
|
-
*
|
|
8
|
-
* @param {object} props
|
|
9
|
-
* @param {string|import('react').ReactNode} props.icon AppIcon name or a node. Required.
|
|
10
|
-
* @param {string} props.label Accessible name and tooltip. Required.
|
|
11
|
-
* @param {() => void} [props.onClick]
|
|
12
|
-
* @param {"end"|"start"} [props.position="end"] Bottom corner of the stack.
|
|
13
|
-
* @param {"primary"|"secondary"} [props.order="primary"] Slot in the stack: primary sits in the corner, secondary stacks above it.
|
|
14
|
-
* @param {"sm"|"md"|"lg"} [props.size="md"] 40px, 48px, 56px circle.
|
|
15
|
-
* @param {"primary"|"success"|"warning"|"danger"|"info"|"neutral"} [props.tone="primary"]
|
|
16
|
-
* @param {"solid"|"soft"|"outline"|"ghost"|"link"|"glass"} [props.variant="solid"]
|
|
17
|
-
* Any AppButton tone and variant.
|
|
18
|
-
* @param {boolean} [props.stacked=true] false renders the bare button with no portal and no stack item (caller places it).
|
|
19
|
-
* @param {boolean} [props.disabled=false]
|
|
20
|
-
* @param {string} [props.className]
|
|
21
|
-
* @param {import('react').CSSProperties} [props.style]
|
|
22
|
-
*/
|
|
23
|
-
export default function AppFloatingButton(props: {
|
|
1
|
+
import type { ComponentPropsWithoutRef, CSSProperties, JSX, ReactNode } from "react";
|
|
2
|
+
export interface AppFloatingButtonProps extends ComponentPropsWithoutRef<"button"> {
|
|
24
3
|
/** AppIcon name, or a node. */
|
|
25
|
-
icon: string |
|
|
4
|
+
icon: string | ReactNode;
|
|
26
5
|
/** Accessible name and tooltip; the button shows no text. */
|
|
27
6
|
label: string;
|
|
28
|
-
onClick?: () => void;
|
|
7
|
+
onClick?: (() => void) | undefined;
|
|
29
8
|
/**
|
|
30
9
|
* Bottom corner of the stack.
|
|
31
10
|
* @default "end"
|
|
32
11
|
*/
|
|
33
|
-
position?: "end" | "start";
|
|
12
|
+
position?: "end" | "start" | undefined;
|
|
34
13
|
/**
|
|
35
14
|
* Slot in the stack: primary sits in the corner, secondary stacks above it.
|
|
36
15
|
* @default "primary"
|
|
37
16
|
*/
|
|
38
|
-
order?: "primary" | "secondary";
|
|
17
|
+
order?: "primary" | "secondary" | undefined;
|
|
39
18
|
/**
|
|
40
19
|
* Circle size: 40px, 48px or 56px.
|
|
41
20
|
* @default "md"
|
|
42
21
|
*/
|
|
43
|
-
size?: "sm" | "md" | "lg";
|
|
22
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
44
23
|
/**
|
|
45
24
|
* Button tone.
|
|
46
25
|
* @default "primary"
|
|
47
26
|
*/
|
|
48
|
-
tone?: "primary" | "success" | "warning" | "danger" | "info" | "neutral";
|
|
27
|
+
tone?: "primary" | "success" | "warning" | "danger" | "info" | "neutral" | undefined;
|
|
49
28
|
/**
|
|
50
29
|
* Button variant.
|
|
51
30
|
* @default "solid"
|
|
52
31
|
*/
|
|
53
|
-
variant?: "solid" | "soft" | "outline" | "ghost" | "link" | "glass";
|
|
32
|
+
variant?: "solid" | "soft" | "outline" | "ghost" | "link" | "glass" | undefined;
|
|
54
33
|
/**
|
|
55
34
|
* False renders the bare button with no stack item; the caller places it.
|
|
56
35
|
* @default true
|
|
57
36
|
*/
|
|
58
|
-
stacked?: boolean;
|
|
37
|
+
stacked?: boolean | undefined;
|
|
59
38
|
/**
|
|
60
39
|
* Disables the button.
|
|
61
40
|
* @default false
|
|
62
41
|
*/
|
|
63
|
-
disabled?: boolean;
|
|
42
|
+
disabled?: boolean | undefined;
|
|
64
43
|
/**
|
|
65
44
|
* Custom className; on the stack item when stacked, on the button when not.
|
|
66
45
|
* @default ""
|
|
67
46
|
*/
|
|
68
|
-
className?: string;
|
|
69
|
-
style?:
|
|
70
|
-
}
|
|
47
|
+
className?: string | undefined;
|
|
48
|
+
style?: CSSProperties | undefined;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* An icon-only circle that sits in the shared floating stack in a bottom corner. The label is
|
|
52
|
+
* the tooltip and the accessible name, and the button shows no text, so the label is required.
|
|
53
|
+
*
|
|
54
|
+
* When stacked, `className` and `style` land on the stack item; when not stacked, they land on
|
|
55
|
+
* the button, because the caller places it.
|
|
56
|
+
*
|
|
57
|
+
* @param props
|
|
58
|
+
* @param props.icon AppIcon name or a node. Required.
|
|
59
|
+
* @param props.label Accessible name and tooltip. Required.
|
|
60
|
+
* @param [props.onClick]
|
|
61
|
+
* @param [props.position="end"] Bottom corner of the stack.
|
|
62
|
+
* @param [props.order="primary"] Slot in the stack: primary sits in the corner, secondary stacks above it.
|
|
63
|
+
* @param [props.size="md"] 40px, 48px, 56px circle.
|
|
64
|
+
* @param [props.tone="primary"]
|
|
65
|
+
* @param [props.variant="solid"]
|
|
66
|
+
* Any AppButton tone and variant.
|
|
67
|
+
* @param [props.stacked=true] false renders the bare button with no portal and no stack item (caller places it).
|
|
68
|
+
* @param [props.disabled=false]
|
|
69
|
+
* @param [props.className]
|
|
70
|
+
* @param [props.style]
|
|
71
|
+
*/
|
|
72
|
+
export default function AppFloatingButton(props: AppFloatingButtonProps): JSX.Element | null;
|
|
@@ -1,4 +1,41 @@
|
|
|
1
|
-
import "
|
|
1
|
+
import type { ComponentPropsWithoutRef, JSX, ReactNode } from "react";
|
|
2
|
+
import { type AppLinkComponent } from "../lib/linkTarget.ts";
|
|
3
|
+
export interface AppFloatingDockItem {
|
|
4
|
+
key?: string | undefined;
|
|
5
|
+
title: string;
|
|
6
|
+
icon: string | ReactNode;
|
|
7
|
+
href?: string | undefined;
|
|
8
|
+
to?: string | undefined;
|
|
9
|
+
onClick?: (() => void) | undefined;
|
|
10
|
+
}
|
|
11
|
+
export interface AppFloatingDockProps extends ComponentPropsWithoutRef<"div"> {
|
|
12
|
+
/**
|
|
13
|
+
* The dock items, left to right. title is the accessible name and the hover tooltip.
|
|
14
|
+
* @default []
|
|
15
|
+
*/
|
|
16
|
+
items?: AppFloatingDockItem[] | undefined;
|
|
17
|
+
/** The product's router link, which receives `to`. */
|
|
18
|
+
linkComponent?: AppLinkComponent | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* Accessible name for the dock landmark.
|
|
21
|
+
* @default "Quick navigation"
|
|
22
|
+
*/
|
|
23
|
+
ariaLabel?: string | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* Set false to render a static dock, with no hover effect.
|
|
26
|
+
* @default true
|
|
27
|
+
*/
|
|
28
|
+
magnify?: boolean | undefined;
|
|
29
|
+
/** Item scale at the cursor's center. The element default is 1.6. */
|
|
30
|
+
maxScale?: number | undefined;
|
|
31
|
+
/** Falloff distance for the magnification, in pixels. The element default is 100. */
|
|
32
|
+
radius?: number | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* Extra classes on the dock.
|
|
35
|
+
* @default ""
|
|
36
|
+
*/
|
|
37
|
+
className?: string | undefined;
|
|
38
|
+
}
|
|
2
39
|
/**
|
|
3
40
|
* A macOS-style floating dock — a pill of icon links whose items magnify as the pointer
|
|
4
41
|
* approaches them. Marketing / landing-page chrome, not a replacement for `AppShell`
|
|
@@ -13,44 +50,13 @@ import "@webority/ui-elements/elements/dock";
|
|
|
13
50
|
* when one is provided, otherwise a plain `<a href>`. An item with `onClick` and no
|
|
14
51
|
* href/to renders a `<button>`. The library never imports a router.
|
|
15
52
|
*
|
|
16
|
-
* @param
|
|
17
|
-
* @param
|
|
18
|
-
*
|
|
19
|
-
* @param
|
|
20
|
-
* @param
|
|
21
|
-
* @param
|
|
22
|
-
* @param
|
|
23
|
-
* @param
|
|
24
|
-
* @param {string} [props.className]
|
|
53
|
+
* @param props
|
|
54
|
+
* @param props.items
|
|
55
|
+
* @param [props.linkComponent] Component for `to` items (e.g. Link).
|
|
56
|
+
* @param [props.ariaLabel]
|
|
57
|
+
* @param [props.magnify]
|
|
58
|
+
* @param [props.maxScale]
|
|
59
|
+
* @param [props.radius]
|
|
60
|
+
* @param [props.className]
|
|
25
61
|
*/
|
|
26
|
-
export default function AppFloatingDock(props:
|
|
27
|
-
/** The dock items, left to right. title is the accessible name and the hover tooltip. */
|
|
28
|
-
items: {
|
|
29
|
-
key?: string;
|
|
30
|
-
title: string;
|
|
31
|
-
icon: string | import('react').ReactNode;
|
|
32
|
-
href?: string;
|
|
33
|
-
to?: string;
|
|
34
|
-
onClick?: () => void;
|
|
35
|
-
}[];
|
|
36
|
-
linkComponent?: import('react').ElementType;
|
|
37
|
-
/**
|
|
38
|
-
* Accessible name for the dock landmark.
|
|
39
|
-
* @default "Quick navigation"
|
|
40
|
-
*/
|
|
41
|
-
ariaLabel?: string;
|
|
42
|
-
/**
|
|
43
|
-
* Set false to render a static dock, with no hover effect.
|
|
44
|
-
* @default true
|
|
45
|
-
*/
|
|
46
|
-
magnify?: boolean;
|
|
47
|
-
/** Item scale at the cursor's center. The element default is 1.6. */
|
|
48
|
-
maxScale?: number;
|
|
49
|
-
/** Falloff distance for the magnification, in pixels. The element default is 100. */
|
|
50
|
-
radius?: number;
|
|
51
|
-
/**
|
|
52
|
-
* Extra classes on the dock.
|
|
53
|
-
* @default ""
|
|
54
|
-
*/
|
|
55
|
-
className?: string;
|
|
56
|
-
}): import("react").JSX.Element;
|
|
62
|
+
export default function AppFloatingDock(props: AppFloatingDockProps): JSX.Element;
|
|
@@ -1,31 +1,33 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* Typically holds submit/cancel buttons; can be fixed to the viewport bottom
|
|
5
|
-
* with a top border and surface background. Supports alignment: trailing
|
|
6
|
-
* (end, default), leading (start), or space-between for a submit/cancel pair.
|
|
7
|
-
*
|
|
8
|
-
* @param {object} props
|
|
9
|
-
* @param {import('react').ReactNode} props.children The action buttons.
|
|
10
|
-
* @param {boolean} [props.sticky]
|
|
11
|
-
* @param {"end"|"start"|"between"} [props.align]
|
|
12
|
-
* @param {string} [props.className]
|
|
13
|
-
*/
|
|
14
|
-
export default function AppFormActions(props: {
|
|
15
|
-
children: import('react').ReactNode;
|
|
1
|
+
import type { ComponentPropsWithoutRef, ReactElement, ReactNode } from "react";
|
|
2
|
+
export interface AppFormActionsProps extends ComponentPropsWithoutRef<"div"> {
|
|
3
|
+
children: ReactNode;
|
|
16
4
|
/**
|
|
17
5
|
* Sticks the actions to the bottom of the viewport with a border and background.
|
|
18
6
|
* @default false
|
|
19
7
|
*/
|
|
20
|
-
sticky?: boolean;
|
|
8
|
+
sticky?: boolean | undefined;
|
|
21
9
|
/**
|
|
22
10
|
* Alignment of the children: end, start or between.
|
|
23
11
|
* @default "end"
|
|
24
12
|
*/
|
|
25
|
-
align?: "end" | "start" | "between";
|
|
13
|
+
align?: "end" | "start" | "between" | undefined;
|
|
26
14
|
/**
|
|
27
15
|
* Extra class names added to the root element.
|
|
28
16
|
* @default ""
|
|
29
17
|
*/
|
|
30
|
-
className?: string;
|
|
31
|
-
}
|
|
18
|
+
className?: string | undefined;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Form action footer — a sticky or inline controls row at a form's end.
|
|
22
|
+
*
|
|
23
|
+
* Typically holds submit/cancel buttons; can be fixed to the viewport bottom
|
|
24
|
+
* with a top border and surface background. Supports alignment: trailing
|
|
25
|
+
* (end, default), leading (start), or space-between for a submit/cancel pair.
|
|
26
|
+
*
|
|
27
|
+
* @param props
|
|
28
|
+
* @param props.children The action buttons.
|
|
29
|
+
* @param [props.sticky]
|
|
30
|
+
* @param [props.align]
|
|
31
|
+
* @param [props.className]
|
|
32
|
+
*/
|
|
33
|
+
export default function AppFormActions(props: AppFormActionsProps): ReactElement;
|
|
@@ -1,31 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
* Automatically collapses to 1 column below the md breakpoint unless `collapse` is false. Uses theme gap
|
|
6
|
-
* tokens for consistent field spacing.
|
|
7
|
-
*
|
|
8
|
-
* @param {object} props
|
|
9
|
-
* @param {import('react').ReactNode} props.children Field components (AppInput, AppSelect, etc.).
|
|
10
|
-
* @param {1|2|3|4|5|6|7|8|9|10|11|12} [props.columns]
|
|
11
|
-
* @param {boolean} [props.collapse]
|
|
12
|
-
* @param {string} [props.className]
|
|
13
|
-
*/
|
|
14
|
-
export default function AppFormRow(props: {
|
|
15
|
-
children: import('react').ReactNode;
|
|
1
|
+
import type { ComponentPropsWithoutRef, JSX, ReactNode } from "react";
|
|
2
|
+
export interface AppFormRowProps extends Omit<ComponentPropsWithoutRef<"div">, "children" | "className"> {
|
|
3
|
+
/** Field components (AppInput, AppSelect, etc.). */
|
|
4
|
+
children: ReactNode;
|
|
16
5
|
/**
|
|
17
6
|
* Number of columns, 1 to 12.
|
|
18
7
|
* @default 2
|
|
19
8
|
*/
|
|
20
|
-
columns?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
9
|
+
columns?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | undefined;
|
|
21
10
|
/**
|
|
22
11
|
* Stack to one column below the md breakpoint; false keeps the set columns at every width.
|
|
23
12
|
* @default true
|
|
24
13
|
*/
|
|
25
|
-
collapse?: boolean;
|
|
14
|
+
collapse?: boolean | undefined;
|
|
26
15
|
/**
|
|
27
16
|
* Extra class names added to the root element.
|
|
28
17
|
* @default ""
|
|
29
18
|
*/
|
|
30
|
-
className?: string;
|
|
31
|
-
}
|
|
19
|
+
className?: string | undefined;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Form row: a grid of input columns, responsive.
|
|
23
|
+
*
|
|
24
|
+
* Wraps form fields in a CSS grid with configurable columns (1 to 12).
|
|
25
|
+
* Automatically collapses to 1 column below the md breakpoint unless `collapse` is false. Uses theme gap
|
|
26
|
+
* tokens for consistent field spacing.
|
|
27
|
+
*/
|
|
28
|
+
export default function AppFormRow(props: AppFormRowProps): JSX.Element;
|
|
@@ -1,65 +1,55 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
* breaking large forms into digestible chunks. The body receives the fields; the
|
|
6
|
-
* heading is outside so it stacks above the first field without wrapping it.
|
|
7
|
-
* Consecutive sections are set apart by space and a light rule.
|
|
8
|
-
*
|
|
9
|
-
* @param {object} props
|
|
10
|
-
* @param {import('react').ReactNode} props.children The form fields.
|
|
11
|
-
* @param {import('react').ReactNode} [props.title]
|
|
12
|
-
* @param {import('react').ReactNode} [props.description]
|
|
13
|
-
* @param {'stacked'|'side'} [props.layout]
|
|
14
|
-
* @param {'top'|'start'} [props.labels]
|
|
15
|
-
* @param {'comfortable'|'compact'} [props.density]
|
|
16
|
-
* @param {2|3|4} [props.headingLevel]
|
|
17
|
-
* @param {'body'|'display'} [props.titleFont]
|
|
18
|
-
* @param {number} [props.titleSize] The title's font size in px.
|
|
19
|
-
* @param {'line'|'none'} [props.rule] The hairline between consecutive sections.
|
|
20
|
-
* @param {string} [props.className]
|
|
21
|
-
*/
|
|
22
|
-
export default function AppFormSection(props: {
|
|
23
|
-
children: import('react').ReactNode;
|
|
1
|
+
import type { ComponentPropsWithoutRef, ReactNode } from "react";
|
|
2
|
+
export interface AppFormSectionProps extends Omit<ComponentPropsWithoutRef<"section">, "children" | "className" | "title"> {
|
|
3
|
+
/** The form fields. */
|
|
4
|
+
children: ReactNode;
|
|
24
5
|
/** Section heading (h3). */
|
|
25
|
-
title?:
|
|
6
|
+
title?: ReactNode | undefined;
|
|
26
7
|
/** Intro text below the title (optional). */
|
|
27
|
-
description?:
|
|
8
|
+
description?: ReactNode | undefined;
|
|
28
9
|
/**
|
|
29
10
|
* side puts the title and description in a column beside the fields from lg up; below that it stacks.
|
|
30
11
|
* @default "stacked"
|
|
31
12
|
*/
|
|
32
|
-
layout?:
|
|
13
|
+
layout?: "stacked" | "side" | undefined;
|
|
33
14
|
/**
|
|
34
15
|
* start puts each field's label beside its control (one field per row) from md up; below that labels sit on top.
|
|
35
16
|
* @default "top"
|
|
36
17
|
*/
|
|
37
|
-
labels?:
|
|
18
|
+
labels?: "top" | "start" | undefined;
|
|
38
19
|
/**
|
|
39
20
|
* compact uses 32px controls and tighter gaps, for admin screens and dialogs.
|
|
40
21
|
* @default "comfortable"
|
|
41
22
|
*/
|
|
42
|
-
density?:
|
|
23
|
+
density?: "comfortable" | "compact" | undefined;
|
|
43
24
|
/**
|
|
44
25
|
* Heading level of the section title, so it nests under the page or drawer heading.
|
|
45
26
|
* @default 3
|
|
46
27
|
*/
|
|
47
|
-
headingLevel?: 2 | 3 | 4;
|
|
28
|
+
headingLevel?: 2 | 3 | 4 | undefined;
|
|
48
29
|
/**
|
|
49
30
|
* display sets the title in the display face; body keeps the text face.
|
|
50
31
|
* @default "body"
|
|
51
32
|
*/
|
|
52
|
-
titleFont?:
|
|
33
|
+
titleFont?: "body" | "display" | undefined;
|
|
53
34
|
/** The title's font size in px; unset keeps the theme's 15px. */
|
|
54
|
-
titleSize?: number;
|
|
35
|
+
titleSize?: number | undefined;
|
|
55
36
|
/**
|
|
56
37
|
* none drops the hairline between consecutive sections and keeps the space.
|
|
57
38
|
* @default "line"
|
|
58
39
|
*/
|
|
59
|
-
rule?:
|
|
40
|
+
rule?: "line" | "none" | undefined;
|
|
60
41
|
/**
|
|
61
42
|
* Extra class names added to the root element.
|
|
62
43
|
* @default ""
|
|
63
44
|
*/
|
|
64
|
-
className?: string;
|
|
65
|
-
}
|
|
45
|
+
className?: string | undefined;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Form section — a logical group within a form, with an optional title and description.
|
|
49
|
+
*
|
|
50
|
+
* Wraps a set of related fields with a section heading and intro text. Useful for
|
|
51
|
+
* breaking large forms into digestible chunks. The body receives the fields; the
|
|
52
|
+
* heading is outside so it stacks above the first field without wrapping it.
|
|
53
|
+
* Consecutive sections are set apart by space and a light rule.
|
|
54
|
+
*/
|
|
55
|
+
export default function AppFormSection(props: AppFormSectionProps): import("react").JSX.Element;
|