@webority/ui-react 0.128.0 → 0.130.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/README.md +1 -1
- package/dist/canvas-kit/kit.js +29757 -25503
- package/dist/canvas-kit/manifest.json +3343 -275
- package/dist/canvas-kit/release.json +6 -6
- package/dist/components/AppAccountSwitcher.js +1 -0
- 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 -0
- package/dist/components/AppAutocomplete.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/AppButton.js +1 -1
- package/dist/components/AppCalendar.js +1 -1
- package/dist/components/AppCard.js +1 -1
- package/dist/components/AppCell.js +1 -0
- 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/AppChoiceCard.js +1 -1
- package/dist/components/AppChoiceChip.js +1 -1
- package/dist/components/AppColorField.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/AppConfirmProvider.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/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/AppErrorBoundary.js +1 -0
- package/dist/components/AppFileAttachment.js +1 -1
- package/dist/components/AppFilePicker.js +1 -1
- package/dist/components/AppFileTiles.js +1 -1
- package/dist/components/AppFilterBar.js +1 -1
- package/dist/components/AppFloatingButton.js +1 -0
- package/dist/components/AppImagePicker.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/AppKanban.js +1 -1
- package/dist/components/AppKpiTile.js +1 -1
- package/dist/components/AppLeadPopup.js +1 -0
- package/dist/components/AppLink.js +1 -1
- package/dist/components/AppMarkdown.js +1 -1
- package/dist/components/AppMentionInput.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/AppNavList.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/AppPhoneNumberInput.js +1 -1
- package/dist/components/AppPopover.js +1 -1
- package/dist/components/AppProgress.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/AppRepeater.js +1 -1
- package/dist/components/AppResourceCard.js +1 -1
- package/dist/components/AppRichText.js +1 -1
- package/dist/components/AppRouteError.js +1 -1
- package/dist/components/AppScoreScale.js +1 -1
- package/dist/components/AppSearch.js +1 -1
- package/dist/components/AppSectionHero.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/AppShell.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/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/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/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/AppTooltip.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/components/iconCatalogNames.g.js +1 -1
- package/dist/components/iconGlyphs.g.js +1 -1
- package/dist/components/iconVariants.g.js +1 -1
- package/dist/components/useWuiControl.js +1 -1
- package/dist/guidance.json +273 -47
- package/dist/lib/CheckField.js +1 -1
- package/dist/lib/DiscardPrompt.js +1 -1
- package/dist/lib/FileItemRow.js +1 -1
- package/dist/lib/buttonClass.js +1 -0
- package/dist/lib/fieldState.js +1 -0
- package/dist/lib/fillLabel.js +1 -0
- package/dist/lib/labelWithHelp.js +1 -0
- package/dist/lib/linkTarget.js +1 -0
- package/dist/lib/sectionShell.js +1 -1
- package/dist/lib/vocabulary.js +1 -0
- package/dist/markdown-core/dist/links.js +1 -1
- package/dist/types/components/AppAccountSwitcher.d.ts +41 -0
- package/dist/types/components/AppActionIcon.d.ts +3 -12
- package/dist/types/components/AppAsyncBlock.d.ts +24 -0
- package/dist/types/components/AppAuthLayout.d.ts +45 -0
- package/dist/types/components/AppAutocomplete.d.ts +23 -3
- package/dist/types/components/AppAvatar.d.ts +6 -0
- package/dist/types/components/AppAvatarGroup.d.ts +6 -0
- package/dist/types/components/AppBanner.d.ts +8 -2
- package/dist/types/components/AppButton.d.ts +9 -4
- package/dist/types/components/AppCalendar.d.ts +3 -1
- package/dist/types/components/AppCard.d.ts +16 -4
- package/dist/types/components/AppCell.d.ts +36 -0
- package/dist/types/components/AppChart.d.ts +14 -0
- package/dist/types/components/AppChartCard.d.ts +60 -0
- package/dist/types/components/AppCheckbox.d.ts +23 -1
- package/dist/types/components/AppChoiceCard.d.ts +21 -0
- package/dist/types/components/AppChoiceChip.d.ts +21 -0
- package/dist/types/components/AppColorField.d.ts +45 -6
- package/dist/types/components/AppCommandPalette.d.ts +6 -0
- package/dist/types/components/AppCommentThread.d.ts +102 -3
- package/dist/types/components/AppCompareTable.d.ts +24 -0
- package/dist/types/components/AppConfirmDialog.d.ts +10 -10
- package/dist/types/components/AppConfirmProvider.d.ts +5 -6
- package/dist/types/components/AppConsentBanner.d.ts +3 -3
- package/dist/types/components/AppContextMenu.d.ts +2 -2
- package/dist/types/components/AppCopyButton.d.ts +8 -2
- package/dist/types/components/AppCountrySelect.d.ts +6 -1
- package/dist/types/components/AppDataTable.d.ts +1 -1
- package/dist/types/components/AppDatePicker.d.ts +26 -2
- package/dist/types/components/AppDateRangePicker.d.ts +32 -2
- package/dist/types/components/AppDescriptions.d.ts +4 -1
- package/dist/types/components/AppDrawer.d.ts +6 -0
- package/dist/types/components/AppDropZone.d.ts +26 -2
- package/dist/types/components/AppDropdown.d.ts +7 -7
- package/dist/types/components/AppDueDate.d.ts +42 -0
- package/dist/types/components/AppEmptyState.d.ts +3 -3
- package/dist/types/components/AppErrorBoundary.d.ts +39 -0
- package/dist/types/components/AppFileAttachment.d.ts +54 -1
- package/dist/types/components/AppFilePicker.d.ts +80 -5
- package/dist/types/components/AppFileTiles.d.ts +6 -3
- package/dist/types/components/AppFilterBar.d.ts +73 -0
- package/dist/types/components/AppFloatingButton.d.ts +70 -0
- package/dist/types/components/AppImagePicker.d.ts +64 -4
- package/dist/types/components/AppInlineEdit.d.ts +6 -0
- package/dist/types/components/AppInput.d.ts +38 -3
- package/dist/types/components/AppKanban.d.ts +32 -0
- package/dist/types/components/AppLeadPopup.d.ts +122 -0
- package/dist/types/components/AppLink.d.ts +3 -0
- package/dist/types/components/AppMentionInput.d.ts +18 -1
- package/dist/types/components/AppMetricStrip.d.ts +2 -0
- package/dist/types/components/AppModal.d.ts +9 -3
- package/dist/types/components/AppMultiSelect.d.ts +20 -3
- package/dist/types/components/AppNotificationCenter.d.ts +2 -0
- package/dist/types/components/AppNumberInput.d.ts +25 -3
- package/dist/types/components/AppOnboardingChecklist.d.ts +3 -3
- package/dist/types/components/AppOtpInput.d.ts +31 -2
- package/dist/types/components/AppPhoneNumberInput.d.ts +25 -1
- package/dist/types/components/AppPopover.d.ts +5 -5
- package/dist/types/components/AppRadio.d.ts +23 -1
- package/dist/types/components/AppRadioGroup.d.ts +26 -2
- package/dist/types/components/AppRating.d.ts +42 -3
- package/dist/types/components/AppRepeater.d.ts +3 -3
- package/dist/types/components/AppResourceCard.d.ts +2 -2
- package/dist/types/components/AppRichText.d.ts +10 -3
- package/dist/types/components/AppRouteError.d.ts +54 -0
- package/dist/types/components/AppScoreScale.d.ts +9 -3
- package/dist/types/components/AppSearch.d.ts +17 -2
- package/dist/types/components/AppSectionLeadCapture.d.ts +50 -2
- package/dist/types/components/AppSectionLogos.d.ts +2 -0
- package/dist/types/components/AppSegmented.d.ts +27 -3
- package/dist/types/components/AppSelect.d.ts +23 -3
- package/dist/types/components/AppShell.d.ts +151 -4
- package/dist/types/components/AppSlider.d.ts +29 -1
- package/dist/types/components/AppSortableList.d.ts +5 -0
- package/dist/types/components/AppSparkline.d.ts +24 -0
- package/dist/types/components/AppSplash.d.ts +2 -2
- package/dist/types/components/AppSplitButton.d.ts +10 -4
- package/dist/types/components/AppSplitView.d.ts +68 -0
- package/dist/types/components/AppStepper.d.ts +6 -0
- package/dist/types/components/AppSwitch.d.ts +24 -2
- package/dist/types/components/AppTablePagination.d.ts +44 -2
- package/dist/types/components/AppTableToolbar.d.ts +30 -0
- package/dist/types/components/AppTagInput.d.ts +20 -3
- package/dist/types/components/AppTextarea.d.ts +21 -1
- package/dist/types/components/AppTimePicker.d.ts +19 -2
- package/dist/types/components/AppTimeline.d.ts +8 -0
- package/dist/types/components/AppToast.d.ts +6 -0
- package/dist/types/components/AppToolbar.d.ts +3 -3
- package/dist/types/components/AppTooltip.d.ts +7 -4
- package/dist/types/components/AppUpdateBar.d.ts +20 -2
- package/dist/types/components/AppWhatsNew.d.ts +2 -0
- package/dist/types/components/AppWorkspaceSwitcher.d.ts +18 -0
- package/dist/types/components/iconGlyphs.g.d.ts +1 -0
- package/dist/types/components/iconVariants.g.d.ts +5 -0
- package/dist/types/components/useWuiControl.d.ts +3 -1
- package/dist/types/index.d.ts +6 -0
- package/dist/types/lib/FileItemRow.d.ts +9 -2
- package/dist/types/lib/buttonClass.d.ts +9 -0
- package/dist/types/lib/fieldState.d.ts +3 -0
- package/dist/types/lib/fillLabel.d.ts +1 -0
- package/dist/types/lib/labelWithHelp.d.ts +10 -0
- package/dist/types/lib/linkTarget.d.ts +30 -0
- package/dist/types/lib/sectionShell.d.ts +0 -1
- package/dist/types/lib/vocabulary.d.ts +3 -0
- package/dist/ui-react.js +1 -1
- package/dist/web-core/dist/query/listQuery.js +1 -0
- package/package.json +8 -7
|
@@ -15,10 +15,14 @@
|
|
|
15
15
|
* @param {import('react').ReactNode} [props.children] Custom body, overriding title/description.
|
|
16
16
|
* @param {import('react').ReactNode} props.title
|
|
17
17
|
* @param {import('react').ReactNode} [props.description]
|
|
18
|
+
* @param {import('react').ReactNode} [props.help] Content for the info-tip drawn after the card text.
|
|
19
|
+
* @param {string} [props.helpLabel] aria-label of the info-tip button. Default "More information".
|
|
18
20
|
* @param {string} [props.checkIcon]
|
|
19
21
|
* @param {number} [props.checkSize]
|
|
20
22
|
* @param {boolean} [props.hideCheck]
|
|
21
23
|
* @param {boolean} [props.disabled]
|
|
24
|
+
* @param {boolean} [props.readOnly] Shows the value but blocks editing. The value still posts.
|
|
25
|
+
* @param {boolean} [props.loading] Shows a busy state and blocks input while data loads.
|
|
22
26
|
* @param {'sm'|'md'|'lg'} [props.size]
|
|
23
27
|
* @param {'inline'|'stacked'} [props.layout]
|
|
24
28
|
* @param {'filled'} [props.selectedStyle] `filled` fills the checked card's icon disc with primary.
|
|
@@ -55,6 +59,13 @@ export default function AppChoiceCard(props: {
|
|
|
55
59
|
title: import('react').ReactNode;
|
|
56
60
|
/** Secondary text under the title. */
|
|
57
61
|
description?: import('react').ReactNode;
|
|
62
|
+
/** Content for an info-tip drawn after the card text. */
|
|
63
|
+
help?: import('react').ReactNode;
|
|
64
|
+
/**
|
|
65
|
+
* aria-label for the info-tip button.
|
|
66
|
+
* @default "More information"
|
|
67
|
+
*/
|
|
68
|
+
helpLabel?: string;
|
|
58
69
|
/**
|
|
59
70
|
* Icon name for the selected tick.
|
|
60
71
|
* @default "check"
|
|
@@ -75,6 +86,16 @@ export default function AppChoiceCard(props: {
|
|
|
75
86
|
* @default false
|
|
76
87
|
*/
|
|
77
88
|
disabled?: boolean;
|
|
89
|
+
/**
|
|
90
|
+
* Shows the value but blocks editing. The value still posts.
|
|
91
|
+
* @default false
|
|
92
|
+
*/
|
|
93
|
+
readOnly?: boolean;
|
|
94
|
+
/**
|
|
95
|
+
* Shows a busy state and blocks input while data loads.
|
|
96
|
+
* @default false
|
|
97
|
+
*/
|
|
98
|
+
loading?: boolean;
|
|
78
99
|
/**
|
|
79
100
|
* Card size: padding, gap, icon disc, type and the tick offset step together.
|
|
80
101
|
* @default "md"
|
|
@@ -10,9 +10,13 @@
|
|
|
10
10
|
* @param {(e: import('react').ChangeEvent<HTMLInputElement>) => void} props.onChange
|
|
11
11
|
* @param {import('react').ReactNode} props.children
|
|
12
12
|
* @param {import('react').ReactNode} [props.count]
|
|
13
|
+
* @param {import('react').ReactNode} [props.help] Content for an info-tip drawn beside the chip, as its sibling.
|
|
14
|
+
* @param {string} [props.helpLabel] aria-label of the info-tip button. Default "More information".
|
|
13
15
|
* @param {'sm'|'md'|'lg'} [props.size]
|
|
14
16
|
* @param {'soft'|'solid'} [props.variant]
|
|
15
17
|
* @param {boolean} [props.disabled]
|
|
18
|
+
* @param {boolean} [props.readOnly] Shows the value but blocks editing. The value still posts.
|
|
19
|
+
* @param {boolean} [props.loading] Shows a busy state and blocks input while data loads.
|
|
16
20
|
* @param {string} [props.className]
|
|
17
21
|
*/
|
|
18
22
|
export default function AppChoiceChip(props: {
|
|
@@ -33,6 +37,13 @@ export default function AppChoiceChip(props: {
|
|
|
33
37
|
children: import('react').ReactNode;
|
|
34
38
|
/** A matching-row count, such as Active 12. Shown as a small badge that inverts when the chip is selected. */
|
|
35
39
|
count?: import('react').ReactNode;
|
|
40
|
+
/** Content for an info-tip drawn beside the chip, as its sibling. */
|
|
41
|
+
help?: import('react').ReactNode;
|
|
42
|
+
/**
|
|
43
|
+
* aria-label for the info-tip button.
|
|
44
|
+
* @default "More information"
|
|
45
|
+
*/
|
|
46
|
+
helpLabel?: string;
|
|
36
47
|
/**
|
|
37
48
|
* Pill size: padding, gap and font step together.
|
|
38
49
|
* @default "md"
|
|
@@ -48,6 +59,16 @@ export default function AppChoiceChip(props: {
|
|
|
48
59
|
* @default false
|
|
49
60
|
*/
|
|
50
61
|
disabled?: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Shows the value but blocks editing. The value still posts.
|
|
64
|
+
* @default false
|
|
65
|
+
*/
|
|
66
|
+
readOnly?: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* Shows a busy state and blocks input while data loads.
|
|
69
|
+
* @default false
|
|
70
|
+
*/
|
|
71
|
+
loading?: boolean;
|
|
51
72
|
/**
|
|
52
73
|
* Extra class names added to the chip.
|
|
53
74
|
* @default ""
|
|
@@ -11,25 +11,32 @@
|
|
|
11
11
|
*
|
|
12
12
|
* @param {object} props
|
|
13
13
|
* @param {string} [props.value]
|
|
14
|
+
* @param {string} [props.defaultValue] The starting value of an uncontrolled field.
|
|
14
15
|
* @param {(hex: string) => void} props.onChange
|
|
15
16
|
* @param {import('react').ReactNode} [props.label]
|
|
16
17
|
* @param {boolean} [props.required]
|
|
17
18
|
* @param {boolean} [props.optional] Ends the label with "(optional)". Required wins when both are set.
|
|
18
19
|
* @param {string} [props.error]
|
|
19
|
-
* @param {string} [props.
|
|
20
|
+
* @param {string} [props.helperText]
|
|
21
|
+
* @param {import('react').ReactNode} [props.help]
|
|
22
|
+
* @param {string} [props.helpLabel]
|
|
23
|
+
* @param {string} [props.colourLabel] Default "Colour".
|
|
24
|
+
* @param {string} [props.colourPickerLabel] Default "{label}, colour picker". The {label} token is the field label.
|
|
25
|
+
* @param {string} [props.optionalLabel] Default "(optional)".
|
|
20
26
|
* @param {string} [props.name]
|
|
21
27
|
* @param {string} [props.id]
|
|
22
28
|
* @param {boolean} [props.disabled]
|
|
29
|
+
* @param {boolean} [props.readOnly] Shows the value but blocks editing. The value still posts.
|
|
30
|
+
* @param {boolean} [props.loading] Shows a busy state and blocks input while data loads.
|
|
23
31
|
* @param {"sm"|"md"|"lg"} [props.size]
|
|
24
32
|
* @param {string} [props.className]
|
|
25
33
|
* @param {string} [props.fieldClassName]
|
|
26
34
|
*/
|
|
27
35
|
export default function AppColorField(props: {
|
|
28
|
-
/**
|
|
29
|
-
* Hex colour, for example #4F46E5.
|
|
30
|
-
* @default "#000000"
|
|
31
|
-
*/
|
|
36
|
+
/** Hex colour, for example #4F46E5. */
|
|
32
37
|
value?: string;
|
|
38
|
+
/** The starting value of an uncontrolled field. */
|
|
39
|
+
defaultValue?: string;
|
|
33
40
|
onChange: (hex: string) => void;
|
|
34
41
|
/** The field label. */
|
|
35
42
|
label?: import('react').ReactNode;
|
|
@@ -46,7 +53,29 @@ export default function AppColorField(props: {
|
|
|
46
53
|
/** Error message shown under the field. */
|
|
47
54
|
error?: string;
|
|
48
55
|
/** Helper text shown under the field. */
|
|
49
|
-
|
|
56
|
+
helperText?: string;
|
|
57
|
+
/** The content of the info-tip beside the label, opened by a button. */
|
|
58
|
+
help?: import('react').ReactNode;
|
|
59
|
+
/**
|
|
60
|
+
* The accessible name of the info-tip button.
|
|
61
|
+
* @default "More information"
|
|
62
|
+
*/
|
|
63
|
+
helpLabel?: string;
|
|
64
|
+
/**
|
|
65
|
+
* Replaces the built-in English text, for other languages.
|
|
66
|
+
* @default "Colour"
|
|
67
|
+
*/
|
|
68
|
+
colourLabel?: string;
|
|
69
|
+
/**
|
|
70
|
+
* Replaces the built-in English text, for other languages. {label} is the field label.
|
|
71
|
+
* @default "{label}, colour picker"
|
|
72
|
+
*/
|
|
73
|
+
colourPickerLabel?: string;
|
|
74
|
+
/**
|
|
75
|
+
* Replaces the built-in English text, for other languages.
|
|
76
|
+
* @default "(optional)"
|
|
77
|
+
*/
|
|
78
|
+
optionalLabel?: string;
|
|
50
79
|
/** Form field name on the text box, the control that posts. */
|
|
51
80
|
name?: string;
|
|
52
81
|
/** Element id of the hex text box. Defaults to a generated id, not name. */
|
|
@@ -56,6 +85,16 @@ export default function AppColorField(props: {
|
|
|
56
85
|
* @default false
|
|
57
86
|
*/
|
|
58
87
|
disabled?: boolean;
|
|
88
|
+
/**
|
|
89
|
+
* Shows the value but blocks editing. The value still posts.
|
|
90
|
+
* @default false
|
|
91
|
+
*/
|
|
92
|
+
readOnly?: boolean;
|
|
93
|
+
/**
|
|
94
|
+
* Shows a busy state and blocks input while data loads.
|
|
95
|
+
* @default false
|
|
96
|
+
*/
|
|
97
|
+
loading?: boolean;
|
|
59
98
|
/**
|
|
60
99
|
* Control size. sm and lg resize the swatch and the hex box together.
|
|
61
100
|
* @default "md"
|
|
@@ -45,6 +45,7 @@ import "@webority/ui-elements/elements/command-palette";
|
|
|
45
45
|
* @param {import('react').ReactNode} [props.emptyText]
|
|
46
46
|
* @param {import('react').ReactNode} [props.footer]
|
|
47
47
|
* @param {string} [props.ariaLabel]
|
|
48
|
+
* @param {string} [props.resultsLabel] Default "Results".
|
|
48
49
|
* @param {boolean} [props.highlight]
|
|
49
50
|
* @param {string} [props.id]
|
|
50
51
|
* @param {string} [props.className]
|
|
@@ -138,6 +139,11 @@ export default function AppCommandPalette(props: {
|
|
|
138
139
|
* @default "Search"
|
|
139
140
|
*/
|
|
140
141
|
ariaLabel?: string;
|
|
142
|
+
/**
|
|
143
|
+
* Replaces the built-in English text, for other languages.
|
|
144
|
+
* @default "Results"
|
|
145
|
+
*/
|
|
146
|
+
resultsLabel?: string;
|
|
141
147
|
/**
|
|
142
148
|
* Bold the query inside each string label, case-insensitively. A label given as a node renders as it is.
|
|
143
149
|
* @default true
|
|
@@ -31,11 +31,12 @@ export type CommentThreadItem = {
|
|
|
31
31
|
*/
|
|
32
32
|
internal?: boolean;
|
|
33
33
|
/**
|
|
34
|
-
* Files shown under the body.
|
|
34
|
+
* Files shown under the body. `to` is an in-app route (a viewer page) routed through `linkComponent`; `href` stays a download link.
|
|
35
35
|
*/
|
|
36
36
|
attachments?: {
|
|
37
37
|
name: string;
|
|
38
|
-
href
|
|
38
|
+
href?: string;
|
|
39
|
+
to?: string;
|
|
39
40
|
sizeBytes?: number;
|
|
40
41
|
}[];
|
|
41
42
|
/**
|
|
@@ -82,7 +83,7 @@ export type CommentThreadItem = {
|
|
|
82
83
|
* @property {boolean} [edited] Shows "Edited" beside the time.
|
|
83
84
|
* @property {boolean} [mine] The viewer's own comment.
|
|
84
85
|
* @property {boolean} [internal] An internal note, marked with a badge.
|
|
85
|
-
* @property {{ name: string, href
|
|
86
|
+
* @property {{ name: string, href?: string, to?: string, sizeBytes?: number }[]} [attachments] Files shown under the body. `to` is an in-app route (a viewer page) routed through `linkComponent`; `href` stays a download link.
|
|
86
87
|
* @property {boolean} [deleted] Shows "This comment was deleted." in place of the body; replies stay.
|
|
87
88
|
* @property {boolean} [canEdit] This person may edit it.
|
|
88
89
|
* @property {boolean} [canDelete] This person may delete it.
|
|
@@ -110,7 +111,24 @@ export type CommentThreadItem = {
|
|
|
110
111
|
* @param {string} [props.postLabel] The post button's text; without it "Comment".
|
|
111
112
|
* @param {number} [props.composerRows] The composer box's rows; without it 3 stacked and 1 inline.
|
|
112
113
|
* @param {boolean} [props.readOnly]
|
|
114
|
+
* @param {import('react').ElementType} [props.linkComponent] Router link (e.g. react-router Link) for in-app destinations; it receives `to` instead of `href`. Absolute, `#` and scheme hrefs stay plain anchors. Keeps the library router-agnostic.
|
|
113
115
|
* @param {string} [props.label]
|
|
116
|
+
* @param {string} [props.internalLabel] Default "Internal note".
|
|
117
|
+
* @param {string} [props.attachmentsLabel] Default "Attachments".
|
|
118
|
+
* @param {string} [props.composerLabel] Name of the new-comment box. Default "Add a comment".
|
|
119
|
+
* @param {string} [props.noCommentsText] Shown when there are no comments. Default "No comments yet."
|
|
120
|
+
* @param {string} [props.reactionsLabel] Name of a comment's reaction group. Default "Reactions".
|
|
121
|
+
* @param {string} [props.repliesToLabel] Name of a reply list; `{name}` is the author. Default "Replies to {name}".
|
|
122
|
+
* @param {string} [props.editedLabel] Marks an edited comment. Default "Edited".
|
|
123
|
+
* @param {string} [props.deletedText] Shown in place of a deleted comment. Default "This comment was deleted."
|
|
124
|
+
* @param {string} [props.replyLabel] The Reply action. Default "Reply".
|
|
125
|
+
* @param {string} [props.editLabel] The Edit action. Default "Edit".
|
|
126
|
+
* @param {string} [props.deleteLabel] The Delete action and its confirm button. Default "Delete".
|
|
127
|
+
* @param {string} [props.deleteConfirmText] The question before a delete. Default "Delete this comment?"
|
|
128
|
+
* @param {string} [props.cancelLabel] Cancels a delete. Default "Cancel".
|
|
129
|
+
* @param {string} [props.addReactionLabel] Name of the add-reaction button. Default "Add a reaction".
|
|
130
|
+
* @param {string} [props.chooseReactionLabel] Name of the reaction panel. Default "Choose a reaction".
|
|
131
|
+
* @param {string} [props.peopleLabel] Name of the mention menu in the composer. Default "People".
|
|
114
132
|
* @param {string} [props.id]
|
|
115
133
|
* @param {string} [props.className]
|
|
116
134
|
*/
|
|
@@ -176,11 +194,92 @@ export default function AppCommentThread(props: {
|
|
|
176
194
|
* @default false
|
|
177
195
|
*/
|
|
178
196
|
readOnly?: boolean;
|
|
197
|
+
linkComponent?: import('react').ElementType;
|
|
179
198
|
/**
|
|
180
199
|
* The list's accessible name.
|
|
181
200
|
* @default "Comments"
|
|
182
201
|
*/
|
|
183
202
|
label?: string;
|
|
203
|
+
/**
|
|
204
|
+
* Replaces the built-in English text, for other languages.
|
|
205
|
+
* @default "Internal note"
|
|
206
|
+
*/
|
|
207
|
+
internalLabel?: string;
|
|
208
|
+
/**
|
|
209
|
+
* Replaces the built-in English text, for other languages.
|
|
210
|
+
* @default "Attachments"
|
|
211
|
+
*/
|
|
212
|
+
attachmentsLabel?: string;
|
|
213
|
+
/**
|
|
214
|
+
* Name of the new-comment box. Replaces the built-in English text, for other languages.
|
|
215
|
+
* @default "Add a comment"
|
|
216
|
+
*/
|
|
217
|
+
composerLabel?: string;
|
|
218
|
+
/**
|
|
219
|
+
* Shown when there are no comments. Replaces the built-in English text, for other languages.
|
|
220
|
+
* @default "No comments yet."
|
|
221
|
+
*/
|
|
222
|
+
noCommentsText?: string;
|
|
223
|
+
/**
|
|
224
|
+
* Name of a comment's reaction group. Replaces the built-in English text, for other languages.
|
|
225
|
+
* @default "Reactions"
|
|
226
|
+
*/
|
|
227
|
+
reactionsLabel?: string;
|
|
228
|
+
/**
|
|
229
|
+
* Name of a reply list; {name} is the author. Replaces the built-in English text, for other languages.
|
|
230
|
+
* @default "Replies to {name}"
|
|
231
|
+
*/
|
|
232
|
+
repliesToLabel?: string;
|
|
233
|
+
/**
|
|
234
|
+
* Marks an edited comment. Replaces the built-in English text, for other languages.
|
|
235
|
+
* @default "Edited"
|
|
236
|
+
*/
|
|
237
|
+
editedLabel?: string;
|
|
238
|
+
/**
|
|
239
|
+
* Shown in place of a deleted comment. Replaces the built-in English text, for other languages.
|
|
240
|
+
* @default "This comment was deleted."
|
|
241
|
+
*/
|
|
242
|
+
deletedText?: string;
|
|
243
|
+
/**
|
|
244
|
+
* The Reply action. Replaces the built-in English text, for other languages.
|
|
245
|
+
* @default "Reply"
|
|
246
|
+
*/
|
|
247
|
+
replyLabel?: string;
|
|
248
|
+
/**
|
|
249
|
+
* The Edit action. Replaces the built-in English text, for other languages.
|
|
250
|
+
* @default "Edit"
|
|
251
|
+
*/
|
|
252
|
+
editLabel?: string;
|
|
253
|
+
/**
|
|
254
|
+
* The Delete action and its confirm button. Replaces the built-in English text, for other languages.
|
|
255
|
+
* @default "Delete"
|
|
256
|
+
*/
|
|
257
|
+
deleteLabel?: string;
|
|
258
|
+
/**
|
|
259
|
+
* The question before a delete. Replaces the built-in English text, for other languages.
|
|
260
|
+
* @default "Delete this comment?"
|
|
261
|
+
*/
|
|
262
|
+
deleteConfirmText?: string;
|
|
263
|
+
/**
|
|
264
|
+
* Cancels a delete. Replaces the built-in English text, for other languages.
|
|
265
|
+
* @default "Cancel"
|
|
266
|
+
*/
|
|
267
|
+
cancelLabel?: string;
|
|
268
|
+
/**
|
|
269
|
+
* Name of the add-reaction button. Replaces the built-in English text, for other languages.
|
|
270
|
+
* @default "Add a reaction"
|
|
271
|
+
*/
|
|
272
|
+
addReactionLabel?: string;
|
|
273
|
+
/**
|
|
274
|
+
* Name of the reaction panel. Replaces the built-in English text, for other languages.
|
|
275
|
+
* @default "Choose a reaction"
|
|
276
|
+
*/
|
|
277
|
+
chooseReactionLabel?: string;
|
|
278
|
+
/**
|
|
279
|
+
* Name of the mention menu in the composer. Replaces the built-in English text, for other languages.
|
|
280
|
+
* @default "People"
|
|
281
|
+
*/
|
|
282
|
+
peopleLabel?: string;
|
|
184
283
|
/** The root's id. Generated when omitted. */
|
|
185
284
|
id?: string;
|
|
186
285
|
/**
|
|
@@ -20,6 +20,10 @@
|
|
|
20
20
|
* @param {boolean} [props.stickyFirstColumn] With mobile="scroll".
|
|
21
21
|
* @param {boolean} [props.stickyHeader]
|
|
22
22
|
* @param {"comfortable"|"relaxed"} [props.density]
|
|
23
|
+
* @param {string} [props.yesLabel] Default "Yes".
|
|
24
|
+
* @param {string} [props.noLabel] Default "No".
|
|
25
|
+
* @param {string} [props.warningLabel] Default "Warning".
|
|
26
|
+
* @param {string} [props.partialLabel] Default "Partial".
|
|
23
27
|
* @param {string} [props.className]
|
|
24
28
|
*/
|
|
25
29
|
export default function AppCompareTable(props: {
|
|
@@ -64,6 +68,26 @@ export default function AppCompareTable(props: {
|
|
|
64
68
|
* @default "comfortable"
|
|
65
69
|
*/
|
|
66
70
|
density?: "comfortable" | "relaxed";
|
|
71
|
+
/**
|
|
72
|
+
* Replaces the built-in English text, for other languages.
|
|
73
|
+
* @default "Yes"
|
|
74
|
+
*/
|
|
75
|
+
yesLabel?: string;
|
|
76
|
+
/**
|
|
77
|
+
* Replaces the built-in English text, for other languages.
|
|
78
|
+
* @default "No"
|
|
79
|
+
*/
|
|
80
|
+
noLabel?: string;
|
|
81
|
+
/**
|
|
82
|
+
* Replaces the built-in English text, for other languages.
|
|
83
|
+
* @default "Warning"
|
|
84
|
+
*/
|
|
85
|
+
warningLabel?: string;
|
|
86
|
+
/**
|
|
87
|
+
* Replaces the built-in English text, for other languages.
|
|
88
|
+
* @default "Partial"
|
|
89
|
+
*/
|
|
90
|
+
partialLabel?: string;
|
|
67
91
|
/**
|
|
68
92
|
* Extra classes on the root.
|
|
69
93
|
* @default ""
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
* @param {boolean} props.open
|
|
6
6
|
* @param {string} props.title
|
|
7
7
|
* @param {'default'|'plain'} [props.variant] default keeps the illustration and equal-width actions; plain drops the illustration, starts the text at the edge and sizes the actions small, right-aligned.
|
|
8
|
-
* @param {import('react').ReactNode} [props.
|
|
9
|
-
* @param {import('react').ReactNode} [props.children] Extra content drawn between the
|
|
8
|
+
* @param {import('react').ReactNode} [props.description]
|
|
9
|
+
* @param {import('react').ReactNode} [props.children] Extra content drawn between the description and the confirm-phrase field, such as a reason select or a note box.
|
|
10
10
|
* @param {string} [props.confirmLabel]
|
|
11
11
|
* @param {string} [props.cancelLabel]
|
|
12
|
-
* @param {
|
|
13
|
-
* @param {"
|
|
12
|
+
* @param {string} [props.typePhraseLabel] Default "Type {phrase} to confirm". Replaces the built-in English text, for other languages; {phrase} is filled with the confirm phrase.
|
|
13
|
+
* @param {"danger"|"success"|"warning"|"info"|"primary"} [props.tone] "danger" styles the confirm button as destructive and draws the delete glyph.
|
|
14
14
|
* @param {string} [props.image]
|
|
15
15
|
* @param {string | import('react').ReactNode} [props.icon] Overrides the tone's glyph; a string is an icon name.
|
|
16
16
|
* @param {number} [props.iconSize]
|
|
@@ -34,7 +34,7 @@ export default function AppConfirmDialog(props: {
|
|
|
34
34
|
*/
|
|
35
35
|
variant?: 'default' | 'plain';
|
|
36
36
|
/** The text that explains what the user is confirming. */
|
|
37
|
-
|
|
37
|
+
description?: import('react').ReactNode;
|
|
38
38
|
children?: import('react').ReactNode;
|
|
39
39
|
/**
|
|
40
40
|
* The confirm button's text.
|
|
@@ -47,12 +47,12 @@ export default function AppConfirmDialog(props: {
|
|
|
47
47
|
*/
|
|
48
48
|
cancelLabel?: string;
|
|
49
49
|
/**
|
|
50
|
-
*
|
|
51
|
-
* @default
|
|
50
|
+
* Replaces the built-in English text, for other languages. {phrase} is filled with the confirm phrase.
|
|
51
|
+
* @default "Type {phrase} to confirm"
|
|
52
52
|
*/
|
|
53
|
-
|
|
54
|
-
/** The status icon
|
|
55
|
-
tone?: "
|
|
53
|
+
typePhraseLabel?: string;
|
|
54
|
+
/** The status icon, and the confirm button's colour when danger: the danger tone styles Confirm as destructive and draws the delete icon. Unset, the icon is info. */
|
|
55
|
+
tone?: "danger" | "success" | "warning" | "info" | "primary";
|
|
56
56
|
/** URL of a custom illustration that replaces the tone artwork. Any source size is fine: the theme boxes it to the same footprint. It is decorative, so the title and message carry the meaning. */
|
|
57
57
|
image?: string;
|
|
58
58
|
/** Replaces the tone's glyph. A string is an icon name; a node is drawn as given. An image still wins over it. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Mount once near the root. A descendant calls `useConfirm()` and awaits the result:
|
|
3
|
-
* `const confirm = useConfirm(); if (!(await confirm({ title: "Delete?",
|
|
3
|
+
* `const confirm = useConfirm(); if (!(await confirm({ title: "Delete?", tone: "danger" }))) return;`
|
|
4
4
|
* The promise resolves true on confirm, and false on Cancel, Escape, the backdrop or unmount.
|
|
5
5
|
*
|
|
6
6
|
* @param {{ children: import('react').ReactNode }} props
|
|
@@ -9,18 +9,17 @@ export default function AppConfirmProvider(props: {
|
|
|
9
9
|
children: import('react').ReactNode;
|
|
10
10
|
}): import("react").JSX.Element;
|
|
11
11
|
/**
|
|
12
|
-
* @returns {(options: { title: import('react').ReactNode,
|
|
13
|
-
* confirmLabel?: string, cancelLabel?: string,
|
|
12
|
+
* @returns {(options: { title: import('react').ReactNode, description?: import('react').ReactNode,
|
|
13
|
+
* confirmLabel?: string, cancelLabel?: string, tone?: "danger" | "success" | "warning" | "info" | "primary",
|
|
14
14
|
* icon?: string | import('react').ReactNode, confirmPhrase?: string,
|
|
15
15
|
* onRun?: () => Promise<void> }) => Promise<boolean>}
|
|
16
16
|
*/
|
|
17
17
|
export declare function useConfirm(): (options: {
|
|
18
18
|
title: import('react').ReactNode;
|
|
19
|
-
|
|
19
|
+
description?: import('react').ReactNode;
|
|
20
20
|
confirmLabel?: string;
|
|
21
21
|
cancelLabel?: string;
|
|
22
|
-
|
|
23
|
-
tone?: string;
|
|
22
|
+
tone?: "danger" | "success" | "warning" | "info" | "primary";
|
|
24
23
|
icon?: string | import('react').ReactNode;
|
|
25
24
|
confirmPhrase?: string;
|
|
26
25
|
onRun?: () => Promise<void>;
|
|
@@ -23,7 +23,7 @@ import "@webority/ui-elements/elements/consent-banner";
|
|
|
23
23
|
* ```
|
|
24
24
|
*
|
|
25
25
|
* @param {object} props
|
|
26
|
-
* @param {string} [props.
|
|
26
|
+
* @param {string} [props.title]
|
|
27
27
|
* @param {string} [props.description]
|
|
28
28
|
* @param {string} [props.policyHref]
|
|
29
29
|
* @param {string} [props.policyLabel]
|
|
@@ -39,10 +39,10 @@ import "@webority/ui-elements/elements/consent-banner";
|
|
|
39
39
|
*/
|
|
40
40
|
export default function AppConsentBanner(props: {
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
42
|
+
* Title, and the dialog's accessible name.
|
|
43
43
|
* @default "Cookies on this site"
|
|
44
44
|
*/
|
|
45
|
-
|
|
45
|
+
title?: string;
|
|
46
46
|
/** The explanation above the buttons. */
|
|
47
47
|
description?: string;
|
|
48
48
|
/** Link to the cookie policy; no link when omitted. */
|
|
@@ -19,7 +19,7 @@ import "@webority/ui-elements/elements/context-menu";
|
|
|
19
19
|
* the parity check reads the first signature it finds as the component's public props.
|
|
20
20
|
*
|
|
21
21
|
* @param {object} props
|
|
22
|
-
* @param {{ key: string, label?: string, icon?: string|import('react').ReactNode, image?: string, hint?: string, shortcut?: string, checked?: boolean, to?: string, onClick?: () => void,
|
|
22
|
+
* @param {{ key: string, label?: string, icon?: string|import('react').ReactNode, image?: string, hint?: string, shortcut?: string, checked?: boolean, to?: string, onClick?: () => void, tone?: 'danger', disabled?: boolean, divider?: boolean, searchable?: boolean, searchPlaceholder?: string, items?: object[] }[]} [props.items]
|
|
23
23
|
* A row's `shortcut` is the key that runs it, such as "E": a key chip at the row's end and `aria-keyshortcuts`. The page binds the key itself.
|
|
24
24
|
* @param {string} [props.target]
|
|
25
25
|
* @param {string} [props.trigger] A CSS selector inside the region; a click or Enter on a match opens the menu under it.
|
|
@@ -50,7 +50,7 @@ export default function AppContextMenu(props: {
|
|
|
50
50
|
checked?: boolean;
|
|
51
51
|
to?: string;
|
|
52
52
|
onClick?: () => void;
|
|
53
|
-
|
|
53
|
+
tone?: 'danger';
|
|
54
54
|
disabled?: boolean;
|
|
55
55
|
divider?: boolean;
|
|
56
56
|
searchable?: boolean;
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
* @param {string} [props.copiedLabel]
|
|
12
12
|
* @param {boolean} [props.iconOnly]
|
|
13
13
|
* @param {"sm"|"md"|"lg"} [props.size]
|
|
14
|
-
* @param {"
|
|
14
|
+
* @param {"primary"|"success"|"warning"|"danger"|"info"|"neutral"} [props.tone]
|
|
15
|
+
* @param {"solid"|"soft"|"outline"|"ghost"|"link"|"glass"} [props.variant]
|
|
15
16
|
* @param {() => void} [props.onCopied] Callback fired on successful copy
|
|
16
17
|
* @param {string} [props.className]
|
|
17
18
|
* @param {string} [props.tooltip]
|
|
@@ -40,11 +41,16 @@ export default function AppCopyButton(props: {
|
|
|
40
41
|
* @default "md"
|
|
41
42
|
*/
|
|
42
43
|
size?: "sm" | "md" | "lg";
|
|
44
|
+
/**
|
|
45
|
+
* Semantic colour.
|
|
46
|
+
* @default "primary"
|
|
47
|
+
*/
|
|
48
|
+
tone?: "primary" | "success" | "warning" | "danger" | "info" | "neutral";
|
|
43
49
|
/**
|
|
44
50
|
* Button variant.
|
|
45
51
|
* @default "ghost"
|
|
46
52
|
*/
|
|
47
|
-
variant?: "
|
|
53
|
+
variant?: "solid" | "soft" | "outline" | "ghost" | "link" | "glass";
|
|
48
54
|
onCopied?: () => void;
|
|
49
55
|
/**
|
|
50
56
|
* Custom className.
|
|
@@ -61,10 +61,15 @@ declare const AppCountrySelect: import("react").ForwardRefExoticComponent<{
|
|
|
61
61
|
* @default false
|
|
62
62
|
*/
|
|
63
63
|
optional?: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* Replaces the built-in English text, for other languages.
|
|
66
|
+
* @default "(optional)"
|
|
67
|
+
*/
|
|
68
|
+
optionalLabel?: string;
|
|
64
69
|
/** Error message shown under the field; marks the control invalid. */
|
|
65
70
|
error?: string;
|
|
66
71
|
/** Help text shown under the field when there is no error. */
|
|
67
|
-
|
|
72
|
+
helperText?: string;
|
|
68
73
|
/** Help content shown in an info tip beside the label. */
|
|
69
74
|
help?: import('react').ReactNode;
|
|
70
75
|
/**
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
* @param {number} [props.sourceCount]
|
|
19
19
|
* @param {(row: object) => import('react').ReactNode} [props.rowActions]
|
|
20
20
|
* @param {string} [props.rowActionsLabel]
|
|
21
|
-
* @param {object} [props.pagination]
|
|
21
|
+
* @param {object} [props.pagination] Add summary: true to draw "Showing x to y of z" at the start of the footer.
|
|
22
22
|
* @param {string} [props.ariaLabel]
|
|
23
23
|
* @param {string} [props.className]
|
|
24
24
|
* @param {string} [props.wrapperClassName]
|
|
@@ -15,8 +15,13 @@ declare const AppDatePicker: import("react").ForwardRefExoticComponent<{
|
|
|
15
15
|
* @default false
|
|
16
16
|
*/
|
|
17
17
|
optional?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Replaces the built-in English text, for other languages.
|
|
20
|
+
* @default "(optional)"
|
|
21
|
+
*/
|
|
22
|
+
optionalLabel?: string;
|
|
18
23
|
/** Help text shown under the control. */
|
|
19
|
-
|
|
24
|
+
helperText?: string;
|
|
20
25
|
/** An error message shown under the control. */
|
|
21
26
|
error?: string;
|
|
22
27
|
/** The form field name the ISO date posts under. */
|
|
@@ -32,6 +37,25 @@ declare const AppDatePicker: import("react").ForwardRefExoticComponent<{
|
|
|
32
37
|
placeholder?: string;
|
|
33
38
|
/** Disables the control. */
|
|
34
39
|
disabled?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Shows the value but blocks editing. The value still posts.
|
|
42
|
+
* @default false
|
|
43
|
+
*/
|
|
44
|
+
readOnly?: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Shows a busy state and blocks input while data loads.
|
|
47
|
+
* @default false
|
|
48
|
+
*/
|
|
49
|
+
loading?: boolean;
|
|
50
|
+
/** The starting value of an uncontrolled field. */
|
|
51
|
+
defaultValue?: string;
|
|
52
|
+
/** The content of the info-tip beside the label, opened by a button. */
|
|
53
|
+
help?: import('react').ReactNode;
|
|
54
|
+
/**
|
|
55
|
+
* The accessible name of the info-tip button.
|
|
56
|
+
* @default "More information"
|
|
57
|
+
*/
|
|
58
|
+
helpLabel?: string;
|
|
35
59
|
/** Control height tier, matching AppInput. */
|
|
36
60
|
size?: 'sm' | 'md' | 'lg';
|
|
37
61
|
/** First weekday of the calendar, 0 Sunday to 6 Saturday. Unset, it follows the theme's --wui-first-day token, which is 1 (Monday) unless the product sets it. */
|
|
@@ -51,7 +75,7 @@ declare const AppDatePicker: import("react").ForwardRefExoticComponent<{
|
|
|
51
75
|
*/
|
|
52
76
|
className?: string;
|
|
53
77
|
/**
|
|
54
|
-
* Classes for the field wrapper that holds the label,
|
|
78
|
+
* Classes for the field wrapper that holds the label, helper text and error.
|
|
55
79
|
* @default ""
|
|
56
80
|
*/
|
|
57
81
|
fieldClassName?: string;
|