@webority/ui-react 0.83.6 → 0.85.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/components/AppAccordion.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/AppAutocomplete.js +1 -1
- package/dist/components/AppAvatar.js +1 -1
- package/dist/components/AppAvatarGroup.js +1 -1
- package/dist/components/AppAvatarPicker.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/AppButtonGroup.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/AppChip.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/AppColorField.js +1 -1
- package/dist/components/AppColumnMenu.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/AppCountrySelect.js +1 -1
- package/dist/components/AppDashboardCell.js +1 -1
- package/dist/components/AppDashboardGrid.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/AppErrorSummary.js +1 -1
- package/dist/components/AppFileAttachment.js +1 -1
- package/dist/components/AppFilePicker.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/AppFormActions.js +1 -1
- package/dist/components/AppFormRow.js +1 -1
- package/dist/components/AppFormSection.js +1 -1
- package/dist/components/AppHoverCard.js +1 -1
- package/dist/components/AppIcon.js +1 -1
- package/dist/components/AppInfoList.js +1 -1
- package/dist/components/AppInfoTip.js +1 -1
- package/dist/components/AppInlineEdit.js +1 -1
- package/dist/components/AppInput.js +1 -1
- package/dist/components/AppInputGroup.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/AppLightbox.js +1 -1
- package/dist/components/AppLink.js +1 -1
- package/dist/components/AppLogoPicker.js +1 -1
- package/dist/components/AppMarkdown.js +1 -1
- package/dist/components/AppMentionInput.js +1 -1
- package/dist/components/AppMenubar.js +1 -1
- package/dist/components/AppMeter.js +1 -1
- package/dist/components/AppMetricStrip.js +1 -1
- package/dist/components/AppModal.js +1 -1
- package/dist/components/AppMultiSelect.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/AppOtpInput.js +1 -1
- package/dist/components/AppPageHeader.js +1 -1
- package/dist/components/AppPagination.js +1 -1
- package/dist/components/AppPhoneNumberInput.js +1 -1
- package/dist/components/AppPricingCard.js +1 -1
- package/dist/components/AppProgress.js +1 -1
- package/dist/components/AppQrCode.js +1 -1
- package/dist/components/AppRadio.js +1 -1
- package/dist/components/AppRadioGroup.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/AppRequiredMark.js +1 -1
- package/dist/components/AppResizable.js +1 -1
- package/dist/components/AppResizableHandle.js +1 -1
- package/dist/components/AppResizablePanel.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/AppRouteError.js +1 -1
- package/dist/components/AppScoreScale.js +1 -1
- package/dist/components/AppScrollbar.js +1 -1
- package/dist/components/AppSearch.js +1 -1
- package/dist/components/AppSectionCallToAction.js +1 -1
- package/dist/components/AppSectionFaq.js +1 -1
- package/dist/components/AppSectionFeatures.js +1 -1
- package/dist/components/AppSectionHero.js +1 -1
- package/dist/components/AppSectionLogos.js +1 -1
- package/dist/components/AppSectionPricing.js +1 -1
- package/dist/components/AppSectionTestimonials.js +1 -1
- package/dist/components/AppSegmented.js +1 -1
- package/dist/components/AppSelect.js +1 -1
- package/dist/components/AppSelectMini.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/AppSidebarMenu.js +1 -1
- package/dist/components/AppSkeleton.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/AppSpinner.js +1 -1
- package/dist/components/AppSplash.js +1 -1
- package/dist/components/AppSplitButton.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/AppTableEmptyState.js +1 -1
- package/dist/components/AppTablePagination.js +1 -1
- package/dist/components/AppTableToolbar.js +1 -1
- package/dist/components/AppTabs.js +1 -1
- package/dist/components/AppTagInput.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/AppToolbar.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/AppUpdateBar.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/lib/CheckField.js +1 -1
- package/dist/lib/wuiMarker.js +1 -0
- package/dist/types/components/AppAccordion.d.ts +1 -1
- package/dist/types/components/AppActionIcon.d.ts +1 -1
- package/dist/types/components/AppAlert.d.ts +1 -1
- package/dist/types/components/AppAsyncBlock.d.ts +1 -1
- package/dist/types/components/AppAvatar.d.ts +1 -1
- package/dist/types/components/AppAvatarGroup.d.ts +1 -8
- package/dist/types/components/AppAvatarPicker.d.ts +1 -1
- package/dist/types/components/AppBadge.d.ts +1 -1
- package/dist/types/components/AppBanner.d.ts +1 -1
- package/dist/types/components/AppBreadcrumbs.d.ts +1 -1
- package/dist/types/components/AppButton.d.ts +1 -1
- package/dist/types/components/AppButtonGroup.d.ts +1 -1
- package/dist/types/components/AppCard.d.ts +1 -1
- package/dist/types/components/AppCarousel.d.ts +1 -1
- package/dist/types/components/AppChartCard.d.ts +1 -1
- package/dist/types/components/AppChip.d.ts +1 -1
- package/dist/types/components/AppChipGroup.d.ts +1 -1
- package/dist/types/components/AppChoiceCard.d.ts +1 -4
- package/dist/types/components/AppChoiceChip.d.ts +1 -1
- package/dist/types/components/AppCodeBlock.d.ts +1 -1
- package/dist/types/components/AppColorField.d.ts +1 -1
- package/dist/types/components/AppColumnMenu.d.ts +1 -1
- package/dist/types/components/AppCommandPalette.d.ts +1 -1
- package/dist/types/components/AppCommentThread.d.ts +1 -1
- package/dist/types/components/AppCompareTable.d.ts +1 -1
- package/dist/types/components/AppConfirmDialog.d.ts +1 -20
- package/dist/types/components/AppConsentBanner.d.ts +1 -1
- package/dist/types/components/AppContextMenu.d.ts +1 -1
- package/dist/types/components/AppCopyButton.d.ts +1 -1
- package/dist/types/components/AppDashboardCell.d.ts +1 -1
- package/dist/types/components/AppDashboardGrid.d.ts +1 -1
- package/dist/types/components/AppDataTable.d.ts +1 -1
- package/dist/types/components/AppDescriptions.d.ts +1 -1
- package/dist/types/components/AppDrawer.d.ts +1 -1
- package/dist/types/components/AppDropZone.d.ts +1 -1
- package/dist/types/components/AppDropdown.d.ts +1 -1
- package/dist/types/components/AppDueDate.d.ts +1 -1
- package/dist/types/components/AppEmptyState.d.ts +1 -1
- package/dist/types/components/AppErrorSummary.d.ts +1 -1
- package/dist/types/components/AppFileAttachment.d.ts +1 -3
- package/dist/types/components/AppFilePicker.d.ts +1 -1
- package/dist/types/components/AppFilterBar.d.ts +1 -1
- package/dist/types/components/AppFloatingDock.d.ts +1 -1
- package/dist/types/components/AppFormActions.d.ts +1 -1
- package/dist/types/components/AppFormRow.d.ts +1 -1
- package/dist/types/components/AppFormSection.d.ts +1 -1
- package/dist/types/components/AppHoverCard.d.ts +1 -1
- package/dist/types/components/AppIcon.d.ts +1 -1
- package/dist/types/components/AppInfoList.d.ts +1 -1
- package/dist/types/components/AppInfoTip.d.ts +1 -8
- package/dist/types/components/AppInlineEdit.d.ts +1 -1
- package/dist/types/components/AppInputGroup.d.ts +1 -1
- package/dist/types/components/AppKanban.d.ts +1 -1
- package/dist/types/components/AppKbd.d.ts +1 -1
- package/dist/types/components/AppKpiTile.d.ts +1 -1
- package/dist/types/components/AppLightbox.d.ts +1 -1
- package/dist/types/components/AppLink.d.ts +1 -15
- package/dist/types/components/AppLogoPicker.d.ts +1 -33
- package/dist/types/components/AppMarkdown.d.ts +1 -1
- package/dist/types/components/AppMenubar.d.ts +1 -1
- package/dist/types/components/AppMeter.d.ts +1 -1
- package/dist/types/components/AppMetricStrip.d.ts +1 -1
- package/dist/types/components/AppModal.d.ts +1 -1
- package/dist/types/components/AppNavigationMenu.d.ts +1 -1
- package/dist/types/components/AppNotificationCenter.d.ts +1 -1
- package/dist/types/components/AppOnboardingChecklist.d.ts +1 -1
- package/dist/types/components/AppPageHeader.d.ts +1 -1
- package/dist/types/components/AppPagination.d.ts +1 -1
- package/dist/types/components/AppPricingCard.d.ts +1 -1
- package/dist/types/components/AppProgress.d.ts +1 -1
- package/dist/types/components/AppQrCode.d.ts +1 -1
- package/dist/types/components/AppRadioGroup.d.ts +1 -1
- package/dist/types/components/AppRating.d.ts +1 -1
- package/dist/types/components/AppRecordPager.d.ts +1 -1
- package/dist/types/components/AppRelativeTime.d.ts +1 -1
- package/dist/types/components/AppRepeater.d.ts +1 -1
- package/dist/types/components/AppRequiredMark.d.ts +1 -1
- package/dist/types/components/AppResizable.d.ts +1 -1
- package/dist/types/components/AppResizableHandle.d.ts +1 -1
- package/dist/types/components/AppResizablePanel.d.ts +1 -1
- package/dist/types/components/AppResourceCard.d.ts +1 -1
- package/dist/types/components/AppResult.d.ts +1 -1
- package/dist/types/components/AppRollingNumber.d.ts +1 -1
- package/dist/types/components/AppRouteError.d.ts +1 -1
- package/dist/types/components/AppScoreScale.d.ts +1 -1
- package/dist/types/components/AppScrollbar.d.ts +1 -1
- package/dist/types/components/AppSearch.d.ts +1 -2
- package/dist/types/components/AppSectionCallToAction.d.ts +1 -1
- package/dist/types/components/AppSectionFaq.d.ts +1 -1
- package/dist/types/components/AppSectionFeatures.d.ts +1 -1
- package/dist/types/components/AppSectionHero.d.ts +1 -1
- package/dist/types/components/AppSectionLogos.d.ts +1 -1
- package/dist/types/components/AppSectionPricing.d.ts +1 -1
- package/dist/types/components/AppSectionTestimonials.d.ts +1 -1
- package/dist/types/components/AppSegmented.d.ts +1 -1
- package/dist/types/components/AppSelectMini.d.ts +1 -15
- package/dist/types/components/AppShell.d.ts +10 -1
- package/dist/types/components/AppShortcutLegend.d.ts +1 -1
- package/dist/types/components/AppShowMore.d.ts +1 -1
- package/dist/types/components/AppSidebarMenu.d.ts +1 -22
- package/dist/types/components/AppSkeleton.d.ts +1 -1
- package/dist/types/components/AppSparkline.d.ts +1 -1
- package/dist/types/components/AppSpinner.d.ts +1 -1
- package/dist/types/components/AppSplash.d.ts +1 -1
- package/dist/types/components/AppSplitButton.d.ts +1 -1
- package/dist/types/components/AppSplitView.d.ts +1 -1
- package/dist/types/components/AppStatusBadge.d.ts +1 -1
- package/dist/types/components/AppStepper.d.ts +1 -1
- package/dist/types/components/AppTableEmptyState.d.ts +1 -1
- package/dist/types/components/AppTablePagination.d.ts +1 -1
- package/dist/types/components/AppTableToolbar.d.ts +1 -1
- package/dist/types/components/AppTabs.d.ts +1 -1
- package/dist/types/components/AppThemeToggle.d.ts +1 -1
- package/dist/types/components/AppTimeline.d.ts +1 -1
- package/dist/types/components/AppToast.d.ts +1 -1
- package/dist/types/components/AppToolbar.d.ts +1 -1
- package/dist/types/components/AppTruncate.d.ts +1 -1
- package/dist/types/components/AppUpdateBar.d.ts +1 -1
- package/dist/types/components/AppWhatsNew.d.ts +1 -1
- package/dist/types/components/AppWorkspaceSwitcher.d.ts +1 -1
- package/dist/types/lib/wuiMarker.d.ts +26 -0
- package/package.json +3 -3
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* @param {boolean} [props.indeterminate=false] Unknown-duration sweep; drops the value/label.
|
|
16
16
|
* @param {string} [props.className]
|
|
17
17
|
*/
|
|
18
|
-
export default function AppProgress(
|
|
18
|
+
export default function AppProgress(props: {
|
|
19
19
|
value: number;
|
|
20
20
|
max?: number;
|
|
21
21
|
tone?: 'info' | 'success' | 'warning' | 'danger' | 'neutral';
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
* @param {string} [props.className]
|
|
20
20
|
* @param {import('react').CSSProperties} [props.style]
|
|
21
21
|
*/
|
|
22
|
-
export default function AppQrCode(
|
|
22
|
+
export default function AppQrCode(props: {
|
|
23
23
|
value: string;
|
|
24
24
|
size?: number;
|
|
25
25
|
title?: string;
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
* @param {import('react').CSSProperties} [props.style] Inline style; lands on the group with `className`.
|
|
30
30
|
* @param {string} [props.fieldClassName] Class on the `.field` wrapper.
|
|
31
31
|
*/
|
|
32
|
-
export default function AppRadioGroup(
|
|
32
|
+
export default function AppRadioGroup(props: {
|
|
33
33
|
label: import('react').ReactNode;
|
|
34
34
|
options: {
|
|
35
35
|
value: string;
|
|
@@ -27,7 +27,7 @@ import "@webority/ui-elements/elements/rating";
|
|
|
27
27
|
* @param {string} [props.className] Class on the stars (the control).
|
|
28
28
|
* @param {string} [props.fieldClassName] Input only: class on the `.field` wrapper.
|
|
29
29
|
*/
|
|
30
|
-
export default function AppRating(
|
|
30
|
+
export default function AppRating(props: {
|
|
31
31
|
value?: number;
|
|
32
32
|
defaultValue?: number;
|
|
33
33
|
onChange?: (value: number) => void;
|
|
@@ -24,7 +24,7 @@ import "@webority/ui-elements/elements/record-pager";
|
|
|
24
24
|
* @param {boolean} [props.keys=false] J and K press next and previous.
|
|
25
25
|
* @param {string} [props.className]
|
|
26
26
|
*/
|
|
27
|
-
export default function AppRecordPager(
|
|
27
|
+
export default function AppRecordPager(props: {
|
|
28
28
|
index?: number;
|
|
29
29
|
total?: number;
|
|
30
30
|
prevHref?: string;
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* @param {'auto'|'top'|'bottom'|'start'|'end'} [props.tooltipPlacement='auto'] Preferred side of the exact-time tooltip.
|
|
12
12
|
* @param {string} [props.className]
|
|
13
13
|
*/
|
|
14
|
-
export default function AppRelativeTime(
|
|
14
|
+
export default function AppRelativeTime(props: {
|
|
15
15
|
value: string | number | Date;
|
|
16
16
|
tooltipPlacement?: 'auto' | 'top' | 'bottom' | 'start' | 'end';
|
|
17
17
|
className?: string;
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
* @param {boolean} [props.numbered=true] Show the row index.
|
|
31
31
|
* @param {string} [props.className]
|
|
32
32
|
*/
|
|
33
|
-
export default function AppRepeater(
|
|
33
|
+
export default function AppRepeater(props: {
|
|
34
34
|
rows: {
|
|
35
35
|
id?: string | number;
|
|
36
36
|
}[];
|
|
@@ -21,7 +21,7 @@ export declare const ResizableDirection: import("react").Context<string>;
|
|
|
21
21
|
* @param {import('react').ReactNode} [props.children] `AppResizablePanel`s with an `AppResizableHandle` between each pair.
|
|
22
22
|
* @param {string} [props.className]
|
|
23
23
|
*/
|
|
24
|
-
export default function AppResizable(
|
|
24
|
+
export default function AppResizable(props: {
|
|
25
25
|
direction?: 'horizontal' | 'vertical';
|
|
26
26
|
storageKey?: string;
|
|
27
27
|
onChange?: (sizes: number[]) => void;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* @param {string} [props.label='Resize panels'] Its accessible name; say what it resizes ("Resize the list").
|
|
8
8
|
* @param {string} [props.className]
|
|
9
9
|
*/
|
|
10
|
-
export default function AppResizableHandle(
|
|
10
|
+
export default function AppResizableHandle(props: {
|
|
11
11
|
label?: string;
|
|
12
12
|
className?: string;
|
|
13
13
|
}): import("react").JSX.Element;
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* @param {string} [props.className]
|
|
11
11
|
* @param {import('react').CSSProperties} [props.style]
|
|
12
12
|
*/
|
|
13
|
-
export default function AppResizablePanel(
|
|
13
|
+
export default function AppResizablePanel(props: {
|
|
14
14
|
defaultSize?: number;
|
|
15
15
|
minSize?: number;
|
|
16
16
|
maxSize?: number;
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* library router-agnostic.
|
|
18
18
|
* @param {string} [props.className]
|
|
19
19
|
*/
|
|
20
|
-
export default function AppResourceCard(
|
|
20
|
+
export default function AppResourceCard(props: {
|
|
21
21
|
icon: string;
|
|
22
22
|
title: string;
|
|
23
23
|
text?: string;
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* @param {1|2|3} [props.headingLevel=2] The title's heading level: 1 when the result is the whole page.
|
|
18
18
|
* @param {string} [props.className] Extra classes on the result container.
|
|
19
19
|
*/
|
|
20
|
-
export default function AppResult(
|
|
20
|
+
export default function AppResult(props: {
|
|
21
21
|
status?: 'success' | 'error' | 'warning' | 'info' | '403' | '404' | '500';
|
|
22
22
|
title: string;
|
|
23
23
|
subtitle?: import('react').ReactNode;
|
|
@@ -17,7 +17,7 @@ import "@webority/ui-elements/elements/rolling-number";
|
|
|
17
17
|
* @param {number} [props.duration=600] How long the roll takes, in milliseconds.
|
|
18
18
|
* @param {string} [props.className]
|
|
19
19
|
*/
|
|
20
|
-
export default function AppRollingNumber(
|
|
20
|
+
export default function AppRollingNumber(props: {
|
|
21
21
|
value?: number;
|
|
22
22
|
format?: 'number' | 'currency' | 'percent';
|
|
23
23
|
unit?: 'rupees' | 'paise';
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
* @param {import('react').ReactNode} [props.children] Extra content below the actions, such as a support link.
|
|
22
22
|
* @param {string} [props.className] Extra classes on the outer container.
|
|
23
23
|
*/
|
|
24
|
-
export default function AppRouteError(
|
|
24
|
+
export default function AppRouteError(props: {
|
|
25
25
|
kind?: 'error' | 'stale-build' | 'not-found';
|
|
26
26
|
homeHref?: string;
|
|
27
27
|
onRetry?: () => void;
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
* @param {string} [props.className] Class on the scale (the control).
|
|
23
23
|
* @param {string} [props.fieldClassName] Class on the `.field` wrapper.
|
|
24
24
|
*/
|
|
25
|
-
export default function AppScoreScale(
|
|
25
|
+
export default function AppScoreScale(props: {
|
|
26
26
|
value?: number | null;
|
|
27
27
|
onChange?: (value: number) => void;
|
|
28
28
|
min?: number;
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* scrolls. A number is treated as pixels.
|
|
14
14
|
* @param {object} [props.style] Extra inline styles, merged with maxHeight.
|
|
15
15
|
*/
|
|
16
|
-
export default function AppScrollbar(
|
|
16
|
+
export default function AppScrollbar(props: {
|
|
17
17
|
children: import('react').ReactNode;
|
|
18
18
|
className?: string;
|
|
19
19
|
maxHeight?: number | string;
|
|
@@ -15,8 +15,7 @@
|
|
|
15
15
|
* @param {string} [props.form] Id of the filter form this search joins, so it submits with the filters.
|
|
16
16
|
* @param {(event: import('react').KeyboardEvent<HTMLInputElement>) => void} [props.onKeyDown] Called for every key in the field, before a collapsible search folds on Escape.
|
|
17
17
|
*/
|
|
18
|
-
export default function AppSearch({
|
|
19
|
-
form, onKeyDown, ...rest }: {
|
|
18
|
+
export default function AppSearch(props: {
|
|
20
19
|
value: string;
|
|
21
20
|
onChange?: (value: string) => void;
|
|
22
21
|
placeholder?: string;
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* @param {"default"|"muted"} [props.variant="default"] The section's background around the panel.
|
|
13
13
|
* @param {string} [props.className]
|
|
14
14
|
*/
|
|
15
|
-
export default function AppSectionCallToAction(
|
|
15
|
+
export default function AppSectionCallToAction(props: {
|
|
16
16
|
title: import('react').ReactNode;
|
|
17
17
|
actions?: import('react').ReactNode;
|
|
18
18
|
as?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
* @param {import('react').ReactNode} [props.children] The `AppAccordion` of questions.
|
|
17
17
|
* @param {string} [props.className]
|
|
18
18
|
*/
|
|
19
|
-
export default function AppSectionFaq(
|
|
19
|
+
export default function AppSectionFaq(props: {
|
|
20
20
|
title: import('react').ReactNode;
|
|
21
21
|
as?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
22
22
|
eyebrow?: import('react').ReactNode;
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
* @param {"default"|"muted"} [props.variant="default"] The section's background.
|
|
19
19
|
* @param {string} [props.className]
|
|
20
20
|
*/
|
|
21
|
-
export default function AppSectionFeatures(
|
|
21
|
+
export default function AppSectionFeatures(props: {
|
|
22
22
|
title: import('react').ReactNode;
|
|
23
23
|
items?: {
|
|
24
24
|
key?: string;
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
* @param {import('react').ReactNode} [props.media] An `<img>` with `width` and `height`, beside the copy.
|
|
20
20
|
* @param {string} [props.className]
|
|
21
21
|
*/
|
|
22
|
-
export default function AppSectionHero(
|
|
22
|
+
export default function AppSectionHero(props: {
|
|
23
23
|
title: import('react').ReactNode;
|
|
24
24
|
as?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
25
25
|
eyebrow?: import('react').ReactNode;
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
* @param {"default"|"muted"} [props.variant="default"] The section's background.
|
|
20
20
|
* @param {string} [props.className]
|
|
21
21
|
*/
|
|
22
|
-
export default function AppSectionLogos(
|
|
22
|
+
export default function AppSectionLogos(props: {
|
|
23
23
|
title: import('react').ReactNode;
|
|
24
24
|
items?: {
|
|
25
25
|
key?: string;
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
* @param {import('react').ReactNode} [props.children] The `AppPricingCard` tiers.
|
|
17
17
|
* @param {string} [props.className]
|
|
18
18
|
*/
|
|
19
|
-
export default function AppSectionPricing(
|
|
19
|
+
export default function AppSectionPricing(props: {
|
|
20
20
|
title: import('react').ReactNode;
|
|
21
21
|
as?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
22
22
|
eyebrow?: import('react').ReactNode;
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
* @param {"default"|"muted"} [props.variant="default"] The section's background.
|
|
17
17
|
* @param {string} [props.className]
|
|
18
18
|
*/
|
|
19
|
-
export default function AppSectionTestimonials(
|
|
19
|
+
export default function AppSectionTestimonials(props: {
|
|
20
20
|
title: import('react').ReactNode;
|
|
21
21
|
items?: {
|
|
22
22
|
key?: string;
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
* @param {boolean} [props.labelVisible=false] Shows the field label above the control. The accessible name stays either way.
|
|
28
28
|
* @param {string} [props.className]
|
|
29
29
|
*/
|
|
30
|
-
export default function AppSegmented(
|
|
30
|
+
export default function AppSegmented(props: {
|
|
31
31
|
options: {
|
|
32
32
|
value: string;
|
|
33
33
|
label: string;
|
|
@@ -1,16 +1,2 @@
|
|
|
1
1
|
import "@webority/ui-elements/elements/select";
|
|
2
|
-
export default function AppSelectMini(
|
|
3
|
-
[x: string]: any;
|
|
4
|
-
ariaLabel: any;
|
|
5
|
-
className: any;
|
|
6
|
-
disabled: any;
|
|
7
|
-
icon: any;
|
|
8
|
-
id: any;
|
|
9
|
-
name: any;
|
|
10
|
-
onChange: any;
|
|
11
|
-
options?: any[];
|
|
12
|
-
placeholder?: string;
|
|
13
|
-
prefix: any;
|
|
14
|
-
size: any;
|
|
15
|
-
value: any;
|
|
16
|
-
}): import("react").JSX.Element;
|
|
2
|
+
export default function AppSelectMini(props: any): import("react").JSX.Element;
|
|
@@ -6,6 +6,15 @@ export type NavItemShape = {
|
|
|
6
6
|
* product with its own content-icon set (iconsax behind a product `Icon` seam) can use it.
|
|
7
7
|
*/
|
|
8
8
|
icon?: string | import('react').ReactNode;
|
|
9
|
+
/**
|
|
10
|
+
* The iconsax style of a named
|
|
11
|
+
* `icon`; a node icon draws its own look.
|
|
12
|
+
*/
|
|
13
|
+
iconVariant?: 'linear' | 'outline' | 'bold' | 'bulk' | 'broken' | 'twotone';
|
|
14
|
+
/**
|
|
15
|
+
* The icon's width and height in px.
|
|
16
|
+
*/
|
|
17
|
+
iconSize?: number;
|
|
9
18
|
/**
|
|
10
19
|
* With `children`, the label link goes here and the chevron alone opens the sub-list.
|
|
11
20
|
*/
|
|
@@ -206,7 +215,7 @@ export type SearchShape = {
|
|
|
206
215
|
* @param {SearchShape} [props.search] The topbar search.
|
|
207
216
|
* @param {string} [props.className]
|
|
208
217
|
*/
|
|
209
|
-
export default function AppShell(
|
|
218
|
+
export default function AppShell(props: {
|
|
210
219
|
groups: {
|
|
211
220
|
label?: string;
|
|
212
221
|
items: NavItemShape[];
|
|
@@ -22,7 +22,7 @@ import "@webority/ui-elements/elements/shortcuts";
|
|
|
22
22
|
* @param {string} [props.search] CSS selector of the field `/` focuses.
|
|
23
23
|
* @param {string} [props.className]
|
|
24
24
|
*/
|
|
25
|
-
export default function AppShortcutLegend(
|
|
25
|
+
export default function AppShortcutLegend(props: {
|
|
26
26
|
shortcuts?: {
|
|
27
27
|
key: string;
|
|
28
28
|
label: string;
|
|
@@ -18,7 +18,7 @@ import "@webority/ui-elements/elements/show-more";
|
|
|
18
18
|
* @param {string} [props.id] The root's id; the body's is `{id}-body`. Generated when omitted.
|
|
19
19
|
* @param {string} [props.className]
|
|
20
20
|
*/
|
|
21
|
-
export default function AppShowMore(
|
|
21
|
+
export default function AppShowMore(props: {
|
|
22
22
|
children: import('react').ReactNode;
|
|
23
23
|
lines?: number;
|
|
24
24
|
moreLabel?: string;
|
|
@@ -1,22 +1 @@
|
|
|
1
|
-
export default function AppSidebarMenu(
|
|
2
|
-
[x: string]: any;
|
|
3
|
-
ariaLabel: any;
|
|
4
|
-
backdrop?: boolean;
|
|
5
|
-
bodyClassName?: string;
|
|
6
|
-
children: any;
|
|
7
|
-
className?: string;
|
|
8
|
-
closeButton?: boolean;
|
|
9
|
-
closeLabel?: string;
|
|
10
|
-
footer: any;
|
|
11
|
-
header: any;
|
|
12
|
-
keyboard?: boolean;
|
|
13
|
-
maxWidth: any;
|
|
14
|
-
onHide: any;
|
|
15
|
-
responsive: any;
|
|
16
|
-
scroll?: boolean;
|
|
17
|
-
show: any;
|
|
18
|
-
side?: string;
|
|
19
|
-
title: any;
|
|
20
|
-
titleIcon: any;
|
|
21
|
-
width: any;
|
|
22
|
-
}): import("react").JSX.Element;
|
|
1
|
+
export default function AppSidebarMenu(props: any): import("react").JSX.Element;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @param {string} [props.className]
|
|
9
9
|
* @param {import('react').CSSProperties} [props.style]
|
|
10
10
|
*/
|
|
11
|
-
export default function AppSkeleton(
|
|
11
|
+
export default function AppSkeleton(props: {
|
|
12
12
|
width?: string | number;
|
|
13
13
|
height?: string | number;
|
|
14
14
|
radius?: string | number;
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* @param {number} [props.height=16] Height in px.
|
|
16
16
|
* @param {string} [props.className] Extra classes on the svg.
|
|
17
17
|
*/
|
|
18
|
-
export default function AppSparkline(
|
|
18
|
+
export default function AppSparkline(props: {
|
|
19
19
|
data: number[];
|
|
20
20
|
label?: string;
|
|
21
21
|
width?: number;
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* @param {string} [props.label='Loading'] Accessible name.
|
|
12
12
|
* @param {string} [props.className]
|
|
13
13
|
*/
|
|
14
|
-
export default function AppSpinner(
|
|
14
|
+
export default function AppSpinner(props: {
|
|
15
15
|
size?: 'sm' | 'md' | number;
|
|
16
16
|
label?: string;
|
|
17
17
|
className?: string;
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
* @param {string} [props.label='Loading'] Accessible name for the live region.
|
|
21
21
|
* @param {string} [props.className]
|
|
22
22
|
*/
|
|
23
|
-
export default function AppSplash(
|
|
23
|
+
export default function AppSplash(props: {
|
|
24
24
|
logo?: import('react').ReactNode;
|
|
25
25
|
initials?: string;
|
|
26
26
|
text?: string;
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
* @param {import('react').ElementType} [props.linkComponent] Component for items with `to` (e.g. a router Link).
|
|
25
25
|
* @param {string} [props.className]
|
|
26
26
|
*/
|
|
27
|
-
export default function AppSplitButton(
|
|
27
|
+
export default function AppSplitButton(props: {
|
|
28
28
|
label: string;
|
|
29
29
|
items?: {
|
|
30
30
|
key: string;
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
* @param {'sm'|'md'|'lg'|'xl'|'xxl'} [props.stackBelow='xl'] Below this tier the list and pane are two screens.
|
|
51
51
|
* @param {string} [props.className]
|
|
52
52
|
*/
|
|
53
|
-
export default function AppSplitView(
|
|
53
|
+
export default function AppSplitView(props: {
|
|
54
54
|
items?: {
|
|
55
55
|
key: string | number;
|
|
56
56
|
title: import('react').ReactNode;
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* @param {string} [props.tooltip] A collision-aware hover/focus tooltip (via AppTooltip / Popper) — flips to stay on-screen. Useful to spell out a terse status pill's full meaning.
|
|
11
11
|
* @param {"auto"|"top"|"bottom"|"start"|"end"} [props.tooltipPlacement="auto"] Preferred tooltip side; `auto` picks the side with the most room.
|
|
12
12
|
*/
|
|
13
|
-
export default function AppStatusBadge(
|
|
13
|
+
export default function AppStatusBadge(props: {
|
|
14
14
|
label?: import('react').ReactNode;
|
|
15
15
|
tone?: string;
|
|
16
16
|
className?: string;
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
* step; it receives `to` instead of `href`.
|
|
39
39
|
* @param {string} [props.className]
|
|
40
40
|
*/
|
|
41
|
-
export default function AppStepper(
|
|
41
|
+
export default function AppStepper(props: {
|
|
42
42
|
steps: {
|
|
43
43
|
key?: string;
|
|
44
44
|
label: string;
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* @param {import('react').ReactNode} [props.text]
|
|
10
10
|
* @param {import('react').ReactNode} [props.action]
|
|
11
11
|
*/
|
|
12
|
-
export default function AppTableEmptyState(
|
|
12
|
+
export default function AppTableEmptyState(props: {
|
|
13
13
|
icon?: string | import('react').ReactNode;
|
|
14
14
|
illustration?: string | import('react').ReactNode;
|
|
15
15
|
title: import('react').ReactNode;
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
* pages but doesn't expose page size.
|
|
22
22
|
* @param {string} [props.className] Merged with the component's own table-pagination class.
|
|
23
23
|
*/
|
|
24
|
-
export default function AppTablePagination(
|
|
24
|
+
export default function AppTablePagination(props: {
|
|
25
25
|
page: number;
|
|
26
26
|
totalPages: number;
|
|
27
27
|
pageSize: number;
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
* "All 1,284 selected" and Clear becomes "Clear selection". The screen resets it on any row change.
|
|
24
24
|
* @param {string} [props.className]
|
|
25
25
|
*/
|
|
26
|
-
export default function AppTableToolbar(
|
|
26
|
+
export default function AppTableToolbar(props: {
|
|
27
27
|
filters?: import('react').ReactNode;
|
|
28
28
|
actions?: import('react').ReactNode;
|
|
29
29
|
selectedCount?: number;
|
|
@@ -48,7 +48,7 @@ import "@webority/ui-elements/elements/overflow";
|
|
|
48
48
|
* @param {import('react').CSSProperties} [props.style]
|
|
49
49
|
* @param {"success"|"warning"|"danger"|"info"} [props.tone] Per-tab count-pill tint (set as `tabs[].tone`).
|
|
50
50
|
*/
|
|
51
|
-
export default function AppTabs(
|
|
51
|
+
export default function AppTabs(props: {
|
|
52
52
|
tabs: {
|
|
53
53
|
key: string;
|
|
54
54
|
label: import('react').ReactNode;
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
* @param {(mode: "light"|"dark"|"auto") => void} [props.onChange] Fires with the new mode once it is applied.
|
|
36
36
|
* @param {string} [props.className]
|
|
37
37
|
*/
|
|
38
|
-
export default function AppThemeToggle(
|
|
38
|
+
export default function AppThemeToggle(props: {
|
|
39
39
|
variant?: "icon" | "segmented";
|
|
40
40
|
effect?: "wave" | "circle" | "slide" | "blinds" | "fade" | "none";
|
|
41
41
|
includeAuto?: boolean;
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
* @param {import('react').CSSProperties} [props.style] Inline style on the list;
|
|
43
43
|
* the `size` var is merged into it.
|
|
44
44
|
*/
|
|
45
|
-
export default function AppTimeline(
|
|
45
|
+
export default function AppTimeline(props: {
|
|
46
46
|
items: {
|
|
47
47
|
key?: string;
|
|
48
48
|
icon?: string;
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
* stack always contrasts with the page. A per-toast `surface` option overrides it.
|
|
22
22
|
* @param {string} [props.className] Extra class on the container element.
|
|
23
23
|
*/
|
|
24
|
-
export default function AppToast(
|
|
24
|
+
export default function AppToast(props: {
|
|
25
25
|
position?: 'top-start' | 'top-center' | 'top-end' | 'middle-center' | 'bottom-start' | 'bottom-center' | 'bottom-end';
|
|
26
26
|
maxVisible?: number;
|
|
27
27
|
animation?: 'rise' | 'organic' | 'jelly' | 'spring';
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
* @param {boolean} [props.disabled=false] Disables the whole toolbar.
|
|
31
31
|
* @param {string} [props.className]
|
|
32
32
|
*/
|
|
33
|
-
export default function AppToolbar(
|
|
33
|
+
export default function AppToolbar(props: {
|
|
34
34
|
items: {
|
|
35
35
|
value: string;
|
|
36
36
|
title: string;
|
|
@@ -12,7 +12,7 @@ import "@webority/ui-elements/elements/truncate";
|
|
|
12
12
|
* @param {import('react').CSSProperties} [props.style]
|
|
13
13
|
* @param {string} [props.className]
|
|
14
14
|
*/
|
|
15
|
-
export default function AppTruncate(
|
|
15
|
+
export default function AppTruncate(props: {
|
|
16
16
|
children: import('react').ReactNode;
|
|
17
17
|
lines?: number;
|
|
18
18
|
width?: string;
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* @param {() => void} [props.onDismiss] Called after the bar is closed.
|
|
13
13
|
* @param {string} [props.className] Extra classes, such as `sticky-top`.
|
|
14
14
|
*/
|
|
15
|
-
export default function AppUpdateBar(
|
|
15
|
+
export default function AppUpdateBar(props: {
|
|
16
16
|
onReload?: () => void;
|
|
17
17
|
dismissible?: boolean;
|
|
18
18
|
onDismiss?: () => void;
|
|
@@ -24,7 +24,7 @@ import "@webority/ui-elements/elements/whats-new";
|
|
|
24
24
|
* @param {(through: string) => void} [props.onRead] Called with the newest entry's date when opening marks entries read.
|
|
25
25
|
* @param {string} [props.className]
|
|
26
26
|
*/
|
|
27
|
-
export default function AppWhatsNew(
|
|
27
|
+
export default function AppWhatsNew(props: {
|
|
28
28
|
entries?: {
|
|
29
29
|
id?: string;
|
|
30
30
|
date: string;
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
* @param {string} [props.ariaLabel] Accessible name for the trigger. Defaults to
|
|
38
38
|
* "Workspace <name>".
|
|
39
39
|
*/
|
|
40
|
-
export default function AppWorkspaceSwitcher(
|
|
40
|
+
export default function AppWorkspaceSwitcher(props: {
|
|
41
41
|
tenants?: {
|
|
42
42
|
id: string;
|
|
43
43
|
name: string;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/** The attribute every App* root writes, in every build: the manifest's component name. */
|
|
2
|
+
export declare const WUI_MARKER_ATTRIBUTE = "data-wui";
|
|
3
|
+
/** The attribute props mode adds: the plain props the component was given, as JSON. Written only when props mode is on. */
|
|
4
|
+
export declare const WUI_MARKER_PROPS_ATTRIBUTE = "data-wui-props";
|
|
5
|
+
/** The global the importer sets through an init script before the page loads. */
|
|
6
|
+
export declare const WUI_MARKERS_GLOBAL = "__WUI_MARKERS__";
|
|
7
|
+
/** The value of WUI_MARKERS_GLOBAL that turns props mode on. */
|
|
8
|
+
export declare const WUI_MARKERS_PROPS_MODE = "props";
|
|
9
|
+
/**
|
|
10
|
+
* True when props mode is on in this page.
|
|
11
|
+
* @returns {boolean}
|
|
12
|
+
*/
|
|
13
|
+
export declare function wuiMarkerPropsOn(): boolean;
|
|
14
|
+
/**
|
|
15
|
+
* The attributes an App* root spreads onto its host element, placed before the component's rest
|
|
16
|
+
* spread so a wrapper passing its own marker wins.
|
|
17
|
+
*
|
|
18
|
+
* In props mode the plain values the component was given ride along as JSON. The kit manifest stays
|
|
19
|
+
* the one list of which props are plain: the importer keeps only those, so nothing here repeats it.
|
|
20
|
+
* The props attribute is written even when empty, so a wrapper's marker never carries the inner
|
|
21
|
+
* component's props.
|
|
22
|
+
* @param {string} componentName The App* name, as the manifest names the component.
|
|
23
|
+
* @param {Record<string, unknown>} props The props the component was given. Content, handlers, aria-* and data-* are never serialised.
|
|
24
|
+
* @returns {Record<string, string>}
|
|
25
|
+
*/
|
|
26
|
+
export declare function wuiMarkerAttributes(componentName: string, props: Record<string, unknown>): Record<string, string>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webority/ui-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.85.0",
|
|
4
4
|
"description": "Webority shared React component library — App* primitives on react-bootstrap + the @webority/theme design system.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"type": "module",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
},
|
|
28
28
|
"sideEffects": false,
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@webority/theme": "0.
|
|
31
|
-
"@webority/ui-elements": "0.
|
|
30
|
+
"@webority/theme": "0.85.0",
|
|
31
|
+
"@webority/ui-elements": "0.85.0"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"@webority/analytics": "^0.25.0",
|