@webority/ui-react 0.95.0 → 0.98.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.
Files changed (81) hide show
  1. package/dist/canvas-kit/kit.js +15958 -15679
  2. package/dist/canvas-kit/manifest.json +249 -79
  3. package/dist/canvas-kit/release.json +6 -6
  4. package/dist/components/AppAutocomplete.js +1 -1
  5. package/dist/components/AppAvatarGroup.js +1 -1
  6. package/dist/components/AppButton.js +1 -1
  7. package/dist/components/AppCountryFlag.js +1 -0
  8. package/dist/components/AppCountrySelect.js +1 -1
  9. package/dist/components/AppDataTable.js +1 -1
  10. package/dist/components/AppInput.js +1 -1
  11. package/dist/components/AppNumberInput.js +1 -1
  12. package/dist/components/AppSegmented.js +1 -1
  13. package/dist/components/AppSelect.js +1 -1
  14. package/dist/components/AppTabs.js +1 -1
  15. package/dist/components/AppTooltip.js +1 -1
  16. package/dist/components/iconCatalogNames.g.js +1 -1
  17. package/dist/components/iconGlyphs.g.js +1 -1
  18. package/dist/components/iconVariants.g.js +1 -1
  19. package/dist/guidance.json +26 -1
  20. package/dist/lib/wuiMarker.js +1 -1
  21. package/dist/types/components/AppAutocomplete.d.ts +2 -0
  22. package/dist/types/components/AppAvatar.d.ts +4 -1
  23. package/dist/types/components/AppAvatarPicker.d.ts +8 -2
  24. package/dist/types/components/AppBadge.d.ts +4 -1
  25. package/dist/types/components/AppBanner.d.ts +4 -1
  26. package/dist/types/components/AppBreadcrumbs.d.ts +4 -1
  27. package/dist/types/components/AppButton.d.ts +3 -3
  28. package/dist/types/components/AppButtonGroup.d.ts +4 -1
  29. package/dist/types/components/AppCalendar.d.ts +4 -1
  30. package/dist/types/components/AppCard.d.ts +16 -4
  31. package/dist/types/components/AppCarousel.d.ts +4 -1
  32. package/dist/types/components/AppChart.d.ts +4 -1
  33. package/dist/types/components/AppChartCard.d.ts +4 -1
  34. package/dist/types/components/AppCheckbox.d.ts +4 -1
  35. package/dist/types/components/AppChip.d.ts +4 -1
  36. package/dist/types/components/AppCountryFlag.d.ts +22 -0
  37. package/dist/types/components/AppCountrySelect.d.ts +2 -0
  38. package/dist/types/components/AppDataTable.d.ts +4 -0
  39. package/dist/types/components/AppFormActions.d.ts +4 -1
  40. package/dist/types/components/AppFormRow.d.ts +4 -1
  41. package/dist/types/components/AppFormSection.d.ts +4 -1
  42. package/dist/types/components/AppHoverCard.d.ts +4 -1
  43. package/dist/types/components/AppInfoList.d.ts +4 -1
  44. package/dist/types/components/AppInlineEdit.d.ts +8 -2
  45. package/dist/types/components/AppInput.d.ts +13 -2
  46. package/dist/types/components/AppInputGroup.d.ts +4 -1
  47. package/dist/types/components/AppKanban.d.ts +4 -1
  48. package/dist/types/components/AppKbd.d.ts +4 -1
  49. package/dist/types/components/AppKpiTile.d.ts +28 -7
  50. package/dist/types/components/AppLightbox.d.ts +4 -1
  51. package/dist/types/components/AppMarkdown.d.ts +4 -1
  52. package/dist/types/components/AppMentionInput.d.ts +8 -2
  53. package/dist/types/components/AppMenubar.d.ts +4 -1
  54. package/dist/types/components/AppMeter.d.ts +4 -1
  55. package/dist/types/components/AppNumberInput.d.ts +13 -2
  56. package/dist/types/components/AppOnboardingChecklist.d.ts +4 -1
  57. package/dist/types/components/AppOtpInput.d.ts +8 -2
  58. package/dist/types/components/AppPageHeader.d.ts +4 -1
  59. package/dist/types/components/AppPopover.d.ts +4 -1
  60. package/dist/types/components/AppPricingCard.d.ts +8 -2
  61. package/dist/types/components/AppProgress.d.ts +4 -1
  62. package/dist/types/components/AppRadio.d.ts +4 -1
  63. package/dist/types/components/AppRadioGroup.d.ts +8 -2
  64. package/dist/types/components/AppRating.d.ts +8 -2
  65. package/dist/types/components/AppRecordPager.d.ts +4 -1
  66. package/dist/types/components/AppRelativeTime.d.ts +4 -1
  67. package/dist/types/components/AppSegmented.d.ts +3 -3
  68. package/dist/types/components/AppSelect.d.ts +2 -0
  69. package/dist/types/components/AppSplash.d.ts +4 -1
  70. package/dist/types/components/AppSplitButton.d.ts +11 -5
  71. package/dist/types/components/AppSplitView.d.ts +8 -2
  72. package/dist/types/components/AppStatusBadge.d.ts +8 -2
  73. package/dist/types/components/AppStepper.d.ts +4 -1
  74. package/dist/types/components/iconGlyphs.g.d.ts +2 -0
  75. package/dist/types/components/iconVariants.g.d.ts +10 -0
  76. package/dist/types/index.d.ts +1 -0
  77. package/dist/types/lib/wuiMarker.d.ts +3 -1
  78. package/dist/ui-react.js +1 -1
  79. package/package.json +7 -7
  80. package/dist/components/warnDeprecatedValue.js +0 -1
  81. package/dist/types/components/warnDeprecatedValue.d.ts +0 -10
@@ -2,7 +2,7 @@
2
2
  "format": "webority-guidance/1",
3
3
  "package": {
4
4
  "name": "@webority/ui-react",
5
- "version": "0.95.0"
5
+ "version": "0.98.0"
6
6
  },
7
7
  "components": [
8
8
  {
@@ -2430,6 +2430,31 @@
2430
2430
  ]
2431
2431
  }
2432
2432
  },
2433
+ {
2434
+ "name": "AppCountryFlag",
2435
+ "usage": {
2436
+ "when": [
2437
+ "A country beside its name in a list, a table cell or a profile.",
2438
+ "A country column in a table."
2439
+ ],
2440
+ "whenNot": [
2441
+ {
2442
+ "text": "Picking a country.",
2443
+ "instead": "AppCountrySelect"
2444
+ },
2445
+ {
2446
+ "text": "A phone number with its country.",
2447
+ "instead": "AppPhoneNumberInput"
2448
+ }
2449
+ ],
2450
+ "do": [],
2451
+ "dont": [],
2452
+ "a11y": [
2453
+ "Decorative by default: the country name in the text beside it carries the meaning.",
2454
+ "Give label when the flag stands alone, so assistive tech reads the country."
2455
+ ]
2456
+ }
2457
+ },
2433
2458
  {
2434
2459
  "name": "AppCountrySelect",
2435
2460
  "usage": {
@@ -1 +1 @@
1
- var e=`data-wui`,t=`data-wui-props`,n=`data-canvas`,r=`__WUI_MARKERS__`,i=`props`,a=new Set([`children`,`className`,`style`,`id`,`key`,`ref`,`as`,`linkComponent`,`src`]),o=e=>typeof e==`string`||typeof e==`number`||typeof e==`boolean`;function s(){return globalThis[r]===i}function c(r,i){let c={[e]:r},l=i?.[n];if(typeof l==`string`&&l!==``&&(c[n]=l),!s())return c;let u={};for(let[e,t]of Object.entries(i||{}))a.has(e)||e.startsWith(`aria-`)||e.startsWith(`data-`)||/^on[A-Z]/.test(e)||o(t)&&(u[e]=t);return c[t]=JSON.stringify(u),c}export{n as WUI_CANVAS_KEY_ATTRIBUTE,r as WUI_MARKERS_GLOBAL,i as WUI_MARKERS_PROPS_MODE,e as WUI_MARKER_ATTRIBUTE,t as WUI_MARKER_PROPS_ATTRIBUTE,c as wuiMarkerAttributes,s as wuiMarkerPropsOn};
1
+ var e=`data-wui`,t=`data-wui-props`,n=`data-canvas`,r=`data-canvas-at`,i=`__WUI_MARKERS__`,a=`props`,o=new Set([`children`,`className`,`style`,`id`,`key`,`ref`,`as`,`linkComponent`,`src`]),s=e=>typeof e==`string`||typeof e==`number`||typeof e==`boolean`;function c(){return globalThis[i]===a}function l(i,a){let l={[e]:i},u=a?.[n];typeof u==`string`&&u!==``&&(l[n]=u);let d=a?.[r];if(typeof d==`string`&&d!==``&&(l[r]=d),!c())return l;let f={};for(let[e,t]of Object.entries(a||{}))o.has(e)||e.startsWith(`aria-`)||e.startsWith(`data-`)||/^on[A-Z]/.test(e)||s(t)&&(f[e]=t);return l[t]=JSON.stringify(f),l}export{r as WUI_CANVAS_AT_ATTRIBUTE,n as WUI_CANVAS_KEY_ATTRIBUTE,i as WUI_MARKERS_GLOBAL,a as WUI_MARKERS_PROPS_MODE,e as WUI_MARKER_ATTRIBUTE,t as WUI_MARKER_PROPS_ATTRIBUTE,l as wuiMarkerAttributes,c as wuiMarkerPropsOn};
@@ -32,6 +32,8 @@ declare const AppAutocomplete: import("react").ForwardRefExoticComponent<{
32
32
  * @default false
33
33
  */
34
34
  disabled?: boolean;
35
+ /** Shows the list open, for a design preview or a controlled caller. */
36
+ open?: boolean;
35
37
  /** The control size. Leave it out for the default size. */
36
38
  size?: 'sm' | 'lg';
37
39
  /**
@@ -72,6 +72,9 @@ export default function AppAvatar(props: {
72
72
  * @default "auto"
73
73
  */
74
74
  tooltipPlacement?: "auto" | "top" | "bottom" | "start" | "end";
75
- /** Extra classes on the avatar. */
75
+ /**
76
+ * Extra classes on the avatar.
77
+ * @default ""
78
+ */
76
79
  className?: string;
77
80
  }): any;
@@ -78,9 +78,15 @@ export default function AppAvatarPicker(props: {
78
78
  disabled?: boolean;
79
79
  /** The accessible name of the photo button. Defaults to the words of the action. */
80
80
  ariaLabel?: string;
81
- /** Extra class on the picker (the photo and its actions). */
81
+ /**
82
+ * Extra class on the picker (the photo and its actions).
83
+ * @default ""
84
+ */
82
85
  className?: string;
83
- /** Extra class on the field wrapper. */
86
+ /**
87
+ * Extra class on the field wrapper.
88
+ * @default ""
89
+ */
84
90
  fieldClassName?: string;
85
91
  style?: object;
86
92
  }): import("react").JSX.Element;
@@ -29,6 +29,9 @@ export default function AppBadge(props: {
29
29
  * @default "auto"
30
30
  */
31
31
  tooltipPlacement?: "auto" | "top" | "bottom" | "start" | "end";
32
- /** Extra classes on the badge. */
32
+ /**
33
+ * Extra classes on the badge.
34
+ * @default ""
35
+ */
33
36
  className?: string;
34
37
  }): any;
@@ -27,6 +27,9 @@ export default function AppBanner(props: {
27
27
  */
28
28
  dismissible?: boolean;
29
29
  onDismiss?: () => void;
30
- /** Extra classes on the banner. */
30
+ /**
31
+ * Extra classes on the banner.
32
+ * @default ""
33
+ */
31
34
  className?: string;
32
35
  }): import("react").JSX.Element;
@@ -26,6 +26,9 @@ export default function AppBreadcrumbs(props: {
26
26
  icon?: string | import('react').ReactNode;
27
27
  }[];
28
28
  linkComponent?: import('react').ElementType;
29
- /** Extra classes on the trail. */
29
+ /**
30
+ * Extra classes on the trail.
31
+ * @default ""
32
+ */
30
33
  className?: string;
31
34
  }): import("react").JSX.Element;
@@ -4,7 +4,7 @@ export declare function buttonVariantClass(variant: any): string;
4
4
  *
5
5
  * @param {object} props
6
6
  * @param {import('react').ReactNode} props.children The label.
7
- * @param {"primary"|"secondary"|"outline"|"ghost"|"text"|"danger"|"success"|"secondary-danger"|"outline-danger"|"light"|"warning"|"neutral"|"outline-light"|"outline-secondary"|"subtle"} [props.variant]
7
+ * @param {"primary"|"secondary"|"outline"|"ghost"|"text"|"danger"|"success"|"secondary-danger"|"outline-danger"|"light"|"warning"|"neutral"|"outline-light"|"outline-secondary"} [props.variant]
8
8
  * @param {"sm"|"md"|"lg"} [props.size]
9
9
  * @param {"button"|"submit"|"reset"} [props.type]
10
10
  * @param {boolean} [props.loading]
@@ -27,10 +27,10 @@ export declare function buttonVariantClass(variant: any): string;
27
27
  export default function AppButton(props: {
28
28
  children: import('react').ReactNode;
29
29
  /**
30
- * Emphasis level. subtle is deprecated (use neutral) and is removed in 0.79.0.
30
+ * Emphasis level.
31
31
  * @default "primary"
32
32
  */
33
- variant?: "primary" | "secondary" | "outline" | "ghost" | "text" | "danger" | "success" | "secondary-danger" | "outline-danger" | "light" | "warning" | "neutral" | "outline-light" | "outline-secondary" | "subtle";
33
+ variant?: "primary" | "secondary" | "outline" | "ghost" | "text" | "danger" | "success" | "secondary-danger" | "outline-danger" | "light" | "warning" | "neutral" | "outline-light" | "outline-secondary";
34
34
  /**
35
35
  * Control size.
36
36
  * @default "md"
@@ -32,6 +32,9 @@ export default function AppButtonGroup(props: {
32
32
  * @default false
33
33
  */
34
34
  fullWidth?: boolean;
35
- /** Extra classes on the group. */
35
+ /**
36
+ * Extra classes on the group.
37
+ * @default ""
38
+ */
36
39
  className?: string;
37
40
  }): import("react").JSX.Element;
@@ -39,7 +39,10 @@ declare const AppCalendar: import("react").ForwardRefExoticComponent<{
39
39
  end: string;
40
40
  title: string;
41
41
  }) => void;
42
- /** Extra classes on the element. */
42
+ /**
43
+ * Extra classes on the element.
44
+ * @default ""
45
+ */
43
46
  className?: string;
44
47
  /** Inline style on the element. */
45
48
  style?: import('react').CSSProperties;
@@ -40,7 +40,10 @@ export default function AppCard(props: {
40
40
  subtitle?: import('react').ReactNode;
41
41
  /** Leading header glyph: an icon name (or a node). */
42
42
  headerIcon?: string;
43
- /** Extra classes on the title. */
43
+ /**
44
+ * Extra classes on the title.
45
+ * @default ""
46
+ */
44
47
  titleClassName?: string;
45
48
  /**
46
49
  * Face of the title. `serif` draws it in the display typeface.
@@ -75,11 +78,20 @@ export default function AppCard(props: {
75
78
  padding?: "none" | "sm" | "md" | "lg";
76
79
  /** Cap and centre a standalone card. A preset (xs, sm, md, lg), a number of pixels or a CSS length. */
77
80
  maxWidth?: "xs" | "sm" | "md" | "lg" | number | string;
78
- /** Extra classes on the `.card` root. The padding hook: a class here can set `--wui-card-pad` to retune the inset (the Razor counterpart is a plain `class`). */
81
+ /**
82
+ * Extra classes on the `.card` root. The padding hook: a class here can set `--wui-card-pad` to retune the inset (the Razor counterpart is a plain `class`).
83
+ * @default ""
84
+ */
79
85
  className?: string;
80
- /** Extra classes on the card body. */
86
+ /**
87
+ * Extra classes on the card body.
88
+ * @default ""
89
+ */
81
90
  bodyClassName?: string;
82
- /** Extra classes on the card header. */
91
+ /**
92
+ * Extra classes on the card header.
93
+ * @default ""
94
+ */
83
95
  headerClassName?: string;
84
96
  /**
85
97
  * Wrap children in `.card-body`. False for a flush card.
@@ -86,7 +86,10 @@ export default function AppCarousel(props: {
86
86
  * @default "Play"
87
87
  */
88
88
  playLabel?: string;
89
- /** Extra classes on the element. */
89
+ /**
90
+ * Extra classes on the element.
91
+ * @default ""
92
+ */
90
93
  className?: string;
91
94
  /** Merged after the per-view custom properties. */
92
95
  style?: import('react').CSSProperties;
@@ -100,7 +100,10 @@ declare const AppChart: import("react").ForwardRefExoticComponent<{
100
100
  onReady?: (detail: {
101
101
  renderer: string;
102
102
  }) => void;
103
- /** Extra classes on the element. */
103
+ /**
104
+ * Extra classes on the element.
105
+ * @default ""
106
+ */
104
107
  className?: string;
105
108
  /** Inline style on the element. */
106
109
  style?: import('react').CSSProperties;
@@ -42,6 +42,9 @@ export default function AppChartCard(props: {
42
42
  /** A row under the chart: a source, an updated-at time, a link. */
43
43
  footer?: import('react').ReactNode;
44
44
  children: import('react').ReactNode;
45
- /** Extra classes on the card. */
45
+ /**
46
+ * Extra classes on the card.
47
+ * @default ""
48
+ */
46
49
  className?: string;
47
50
  }): import("react").JSX.Element;
@@ -16,7 +16,10 @@ declare const AppCheckbox: import("react").ForwardRefExoticComponent<{
16
16
  error?: string;
17
17
  /** Helper text below the control. Hidden while an error is shown. */
18
18
  hint?: string;
19
- /** Extra classes on the element. */
19
+ /**
20
+ * Extra classes on the element.
21
+ * @default ""
22
+ */
20
23
  className?: string;
21
24
  } & import("react").RefAttributes<HTMLInputElement>>;
22
25
  export default AppCheckbox;
@@ -55,6 +55,9 @@ export default function AppChip(props: {
55
55
  disabled?: boolean;
56
56
  /** aria-label for the dismiss button. */
57
57
  removeLabel?: string;
58
- /** Extra classes on the element. */
58
+ /**
59
+ * Extra classes on the element.
60
+ * @default ""
61
+ */
59
62
  className?: string;
60
63
  }): import("react").JSX.Element;
@@ -0,0 +1,22 @@
1
+ /**
2
+ * A country flag on its own: the flag the country select's options show, drawn from the theme's
3
+ * .wui-flag-<iso> artwork and sized to the text around it. Decorative by default, so the country
4
+ * name beside it carries the meaning; pass `label` when the flag stands alone and assistive tech
5
+ * should read the country.
6
+ *
7
+ * @param {object} props
8
+ * @param {string} props.country ISO 3166-1 alpha-2 code of the country, such as "IN".
9
+ * @param {string} [props.label] The country name, read by assistive tech when the flag stands alone.
10
+ * @param {string} [props.className]
11
+ */
12
+ export default function AppCountryFlag(props: {
13
+ /** ISO 3166-1 alpha-2 code of the country, such as IN. The flag follows the size of the text around it. */
14
+ country: string;
15
+ /** Names the flag for assistive tech. Without it the flag is decorative and hidden, so put the country name in the text beside it. */
16
+ label?: string;
17
+ /**
18
+ * Extra classes on the flag.
19
+ * @default ""
20
+ */
21
+ className?: string;
22
+ }): import("react").JSX.Element;
@@ -47,6 +47,8 @@ declare const AppCountrySelect: import("react").ForwardRefExoticComponent<{
47
47
  floatingLabel?: "off" | "border";
48
48
  /** Disables the control. */
49
49
  disabled?: boolean;
50
+ /** Shows the list open, for a design preview or a controlled caller. */
51
+ open?: boolean;
50
52
  /** The visible field label. */
51
53
  label?: import('react').ReactNode;
52
54
  /**
@@ -42,6 +42,8 @@
42
42
  * @param {(row: object) => 'success'|'warning'|'danger'|'info'|undefined} [props.rowStatus] A coloured
43
43
  * bar on the row's leading edge, e.g. danger for an overdue invoice. Undefined draws none.
44
44
  * @param {string|number} [props.activeRowKey]
45
+ * @param {string|number} [props.hoverRowKey] The key, as rowKey returns it, of a row drawn in its hover look without a
46
+ * pointer, for previews and design tools: the row carries the theme class wui-force-hover. Razor: class="wui-force-hover" on the <tr>.
45
47
  * @param {boolean} [props.selectable]
46
48
  * @param {Set<string|number>} [props.selectedIds]
47
49
  * @param {(row: object, index: number) => boolean} [props.isRowSelectable] A row it returns false for shows a disabled
@@ -188,6 +190,8 @@ export default function AppDataTable(props: {
188
190
  rowStatus?: (row: object) => 'success' | 'warning' | 'danger' | 'info' | undefined;
189
191
  /** The key, as rowKey returns it, of the row whose record is open, for example in a detail pane beside the table. That row gets aria-current and a subtle primary background, apart from the row status bar and selected rows. */
190
192
  activeRowKey?: string | number;
193
+ /** The key, as rowKey returns it, of a row drawn in its hover look without a pointer, for previews and design tools. The row carries the theme class wui-force-hover and otherwise looks and behaves as any other row. */
194
+ hoverRowKey?: string | number;
191
195
  /**
192
196
  * Renders a leading checkbox column. Fires a bubbling selectionchange with selected, total and keys when the ticked count changes.
193
197
  * @default false
@@ -23,6 +23,9 @@ export default function AppFormActions(props: {
23
23
  * @default "end"
24
24
  */
25
25
  align?: "end" | "start" | "between";
26
- /** Extra class names added to the root element. */
26
+ /**
27
+ * Extra class names added to the root element.
28
+ * @default ""
29
+ */
27
30
  className?: string;
28
31
  }): import("react").JSX.Element;
@@ -23,6 +23,9 @@ export default function AppFormRow(props: {
23
23
  * @default true
24
24
  */
25
25
  collapse?: boolean;
26
- /** Extra class names added to the root element. */
26
+ /**
27
+ * Extra class names added to the root element.
28
+ * @default ""
29
+ */
27
30
  className?: string;
28
31
  }): import("react").JSX.Element;
@@ -57,6 +57,9 @@ export default function AppFormSection(props: {
57
57
  * @default "line"
58
58
  */
59
59
  rule?: 'line' | 'none';
60
- /** Extra class names added to the root element. */
60
+ /**
61
+ * Extra class names added to the root element.
62
+ * @default ""
63
+ */
61
64
  className?: string;
62
65
  }): import("react").JSX.Element;
@@ -50,6 +50,9 @@ export default function AppHoverCard(props: {
50
50
  */
51
51
  closeDelay?: number;
52
52
  onOpenChange?: (open: boolean) => void;
53
- /** Extra class names added to the root element. */
53
+ /**
54
+ * Extra class names added to the root element.
55
+ * @default ""
56
+ */
54
57
  className?: string;
55
58
  }): import("react").JSX.Element;
@@ -21,6 +21,9 @@ export default function AppInfoList(props: {
21
21
  value: import('react').ReactNode;
22
22
  href?: string;
23
23
  }[];
24
- /** Extra classes on the list. */
24
+ /**
25
+ * Extra classes on the list.
26
+ * @default ""
27
+ */
25
28
  className?: string;
26
29
  }): import("react").JSX.Element;
@@ -45,7 +45,10 @@ export default function AppInlineEdit(props: {
45
45
  * @default "text"
46
46
  */
47
47
  type?: 'text' | 'number' | 'select' | 'date' | 'textarea';
48
- /** The choices of a select. */
48
+ /**
49
+ * The choices of a select.
50
+ * @default []
51
+ */
49
52
  options?: {
50
53
  value: string | number;
51
54
  label: string;
@@ -61,7 +64,10 @@ export default function AppInlineEdit(props: {
61
64
  * @default false
62
65
  */
63
66
  disabled?: boolean;
64
- /** Extra classes on the root element. */
67
+ /**
68
+ * Extra classes on the root element.
69
+ * @default ""
70
+ */
65
71
  className?: string;
66
72
  /** The root's id; the control and error ids derive from it. Generated when omitted. */
67
73
  id?: string;
@@ -46,15 +46,26 @@ declare const AppInput: import("react").ForwardRefExoticComponent<{
46
46
  value?: string | number;
47
47
  /** The starting value of an uncontrolled field. */
48
48
  defaultValue?: string | number;
49
- /** Extra classes on the control. */
49
+ /**
50
+ * Extra classes on the control.
51
+ * @default ""
52
+ */
50
53
  className?: string;
51
- /** Extra classes on the field wrapper. */
54
+ /**
55
+ * Extra classes on the field wrapper.
56
+ * @default ""
57
+ */
52
58
  fieldClassName?: string;
53
59
  /**
54
60
  * Disables the field.
55
61
  * @default false
56
62
  */
57
63
  disabled?: boolean;
64
+ /**
65
+ * Locks the field; the value still posts. A clearable field shows no clear button.
66
+ * @default false
67
+ */
68
+ readOnly?: boolean;
58
69
  /**
59
70
  * Shows a clear button while the field has a value.
60
71
  * @default false
@@ -37,6 +37,9 @@ export default function AppInputGroup(props: {
37
37
  * @default "md"
38
38
  */
39
39
  size?: 'sm' | 'md' | 'lg';
40
- /** Extra class on the root. */
40
+ /**
41
+ * Extra class on the root.
42
+ * @default ""
43
+ */
41
44
  className?: string;
42
45
  }): import("react").JSX.Element;
@@ -137,7 +137,10 @@ export default function AppKanban(props: {
137
137
  * @default "rupees"
138
138
  */
139
139
  summaryUnit?: 'rupees' | 'paise';
140
- /** Extra classes on the board. */
140
+ /**
141
+ * Extra classes on the board.
142
+ * @default ""
143
+ */
141
144
  className?: string;
142
145
  /** The board's id; the column, body and help ids derive from it. Generated when omitted. */
143
146
  id?: string;
@@ -11,6 +11,9 @@
11
11
  */
12
12
  export default function AppKbd(props: {
13
13
  children: string | number;
14
- /** Extra classes on the key chip. */
14
+ /**
15
+ * Extra classes on the key chip.
16
+ * @default ""
17
+ */
15
18
  className?: string;
16
19
  }): import("react").JSX.Element;
@@ -79,19 +79,40 @@ export default function AppKpiTile(props: {
79
79
  /** Renders the whole tile as a link to this address. */
80
80
  href?: string;
81
81
  linkComponent?: import('react').ElementType;
82
- /** Extra classes on the tile root. */
82
+ /**
83
+ * Extra classes on the tile root.
84
+ * @default ""
85
+ */
83
86
  className?: string;
84
87
  style?: import('react').CSSProperties;
85
- /** Extra classes on the icon chip. */
88
+ /**
89
+ * Extra classes on the icon chip.
90
+ * @default ""
91
+ */
86
92
  iconClassName?: string;
87
- /** Extra classes on the label. */
93
+ /**
94
+ * Extra classes on the label.
95
+ * @default ""
96
+ */
88
97
  labelClassName?: string;
89
- /** Extra classes on the value. */
98
+ /**
99
+ * Extra classes on the value.
100
+ * @default ""
101
+ */
90
102
  valueClassName?: string;
91
- /** Extra classes on the caption. */
103
+ /**
104
+ * Extra classes on the caption.
105
+ * @default ""
106
+ */
92
107
  captionClassName?: string;
93
- /** Extra classes on the delta. */
108
+ /**
109
+ * Extra classes on the delta.
110
+ * @default ""
111
+ */
94
112
  deltaClassName?: string;
95
- /** Extra classes on the sparkline. */
113
+ /**
114
+ * Extra classes on the sparkline.
115
+ * @default ""
116
+ */
96
117
  sparklineClassName?: string;
97
118
  }): import("react").JSX.Element;
@@ -44,6 +44,9 @@ export default function AppLightbox(props: {
44
44
  openIndex?: number;
45
45
  onChange?: (index: number) => void;
46
46
  onClose?: () => void;
47
- /** Extra classes on the gallery. */
47
+ /**
48
+ * Extra classes on the gallery.
49
+ * @default ""
50
+ */
48
51
  className?: string;
49
52
  }): import("react").JSX.Element;
@@ -21,6 +21,9 @@ export default function AppMarkdown(props: {
21
21
  value?: string;
22
22
  resolveLink?: (href: string) => string | null | undefined;
23
23
  linkComponent?: import('react').ElementType;
24
- /** Extra classes on the root element. */
24
+ /**
25
+ * Extra classes on the root element.
26
+ * @default ""
27
+ */
25
28
  className?: string;
26
29
  }): import("react").JSX.Element;
@@ -68,9 +68,15 @@ declare const AppMentionInput: import("react").ForwardRefExoticComponent<{
68
68
  * @default "More information"
69
69
  */
70
70
  helpLabel?: string;
71
- /** Extra classes on the element. */
71
+ /**
72
+ * Extra classes on the element.
73
+ * @default ""
74
+ */
72
75
  className?: string;
73
- /** Extra classes on the field wrapper. */
76
+ /**
77
+ * Extra classes on the field wrapper.
78
+ * @default ""
79
+ */
74
80
  fieldClassName?: string;
75
81
  } & import("react").RefAttributes<HTMLElement>>;
76
82
  export default AppMentionInput;
@@ -42,6 +42,9 @@ export default function AppMenubar(props: {
42
42
  */
43
43
  ariaLabel?: string;
44
44
  linkComponent?: import('react').ElementType;
45
- /** Extra classes on the bar. */
45
+ /**
46
+ * Extra classes on the bar.
47
+ * @default ""
48
+ */
46
49
  className?: string;
47
50
  }): import("react").JSX.Element;
@@ -56,6 +56,9 @@ export default function AppMeter(props: {
56
56
  * @default false
57
57
  */
58
58
  showLabel?: boolean;
59
- /** Extra classes on the component. */
59
+ /**
60
+ * Extra classes on the component.
61
+ * @default ""
62
+ */
60
63
  className?: string;
61
64
  }): import("react").JSX.Element;
@@ -47,14 +47,25 @@ declare const AppNumberInput: import("react").ForwardRefExoticComponent<{
47
47
  id?: string;
48
48
  /** The input's name, for forms. */
49
49
  name?: string;
50
- /** Extra classes on the input. */
50
+ /**
51
+ * Extra classes on the input.
52
+ * @default ""
53
+ */
51
54
  className?: string;
52
- /** Extra classes on the field wrapper. */
55
+ /**
56
+ * Extra classes on the field wrapper.
57
+ * @default ""
58
+ */
53
59
  fieldClassName?: string;
54
60
  /**
55
61
  * Disables the field and both steppers.
56
62
  * @default false
57
63
  */
58
64
  disabled?: boolean;
65
+ /**
66
+ * Locks the field and both steppers; the value still posts.
67
+ * @default false
68
+ */
69
+ readOnly?: boolean;
59
70
  } & import("react").RefAttributes<HTMLInputElement>>;
60
71
  export default AppNumberInput;
@@ -62,6 +62,9 @@ export default function AppOnboardingChecklist(props: {
62
62
  onRestore?: () => void;
63
63
  onCollapsedChange?: (collapsed: boolean) => void;
64
64
  linkComponent?: import('react').ElementType;
65
- /** Extra classes on the root element. */
65
+ /**
66
+ * Extra classes on the root element.
67
+ * @default ""
68
+ */
66
69
  className?: string;
67
70
  }): import("react").JSX.Element;