@molecule/app-ui-react 4.15.0 → 4.15.2
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 +728 -386
- package/dist/components/Badge.d.ts +40 -3
- package/dist/components/Badge.d.ts.map +1 -1
- package/dist/components/Badge.js.map +1 -1
- package/dist/components/Button.d.ts +48 -3
- package/dist/components/Button.d.ts.map +1 -1
- package/dist/components/Button.js +1 -1
- package/dist/components/Button.js.map +1 -1
- package/dist/components/Card.d.ts +235 -9
- package/dist/components/Card.d.ts.map +1 -1
- package/dist/components/Card.js +2 -3
- package/dist/components/Card.js.map +1 -1
- package/dist/components/EmptyState.d.ts +11 -3
- package/dist/components/EmptyState.d.ts.map +1 -1
- package/dist/components/EmptyState.js.map +1 -1
- package/dist/components/Form.d.ts +44 -3
- package/dist/components/Form.d.ts.map +1 -1
- package/dist/components/Form.js +34 -36
- package/dist/components/Form.js.map +1 -1
- package/dist/components/Input.d.ts +61 -3
- package/dist/components/Input.d.ts.map +1 -1
- package/dist/components/Input.js +5 -4
- package/dist/components/Input.js.map +1 -1
- package/dist/components/Layout.d.ts +123 -6
- package/dist/components/Layout.d.ts.map +1 -1
- package/dist/components/Layout.js +25 -21
- package/dist/components/Layout.js.map +1 -1
- package/dist/components/OptimisticToggleButton.d.ts +1 -1
- package/dist/components/OptimisticToggleButton.d.ts.map +1 -1
- package/dist/components/PageHeader.d.ts +14 -2
- package/dist/components/PageHeader.d.ts.map +1 -1
- package/dist/components/PageHeader.js.map +1 -1
- package/dist/components/PageShell.d.ts +12 -3
- package/dist/components/PageShell.d.ts.map +1 -1
- package/dist/components/PageShell.js.map +1 -1
- package/dist/kit.native.d.ts.map +1 -1
- package/dist/kit.native.js +2 -1
- package/dist/kit.native.js.map +1 -1
- package/dist/kit.web.d.ts.map +1 -1
- package/dist/kit.web.js +2 -1
- package/dist/kit.web.js.map +1 -1
- package/dist/types.d.ts +34 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/utilities/accessibleKit.d.ts +4 -0
- package/dist/utilities/accessibleKit.d.ts.map +1 -0
- package/dist/utilities/accessibleKit.js +31 -0
- package/dist/utilities/accessibleKit.js.map +1 -0
- package/dist/utilities/fieldAttributes.d.ts +10 -0
- package/dist/utilities/fieldAttributes.d.ts.map +1 -0
- package/dist/utilities/fieldAttributes.js +21 -0
- package/dist/utilities/fieldAttributes.js.map +1 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@ AUTO-GENERATED — DO NOT EDIT THIS FILE.
|
|
|
3
3
|
Generated by `mlcl sync-docs` from the package's src/index.ts JSDoc + mlcl/registry.json.
|
|
4
4
|
Edits here are overwritten on the next commit (molecule's pre-commit hook regenerates).
|
|
5
5
|
To change this document, edit the module-level JSDoc in src/index.ts.
|
|
6
|
-
Generated: 2026-
|
|
6
|
+
Generated: 2026-12-01T18:58:28.151Z
|
|
7
7
|
-->
|
|
8
8
|
|
|
9
9
|
# @molecule/app-ui-react
|
|
@@ -86,6 +86,19 @@ npm install -D @types/react @types/react-dom
|
|
|
86
86
|
|
|
87
87
|
### Interfaces
|
|
88
88
|
|
|
89
|
+
#### `KitFieldChangeEvent`
|
|
90
|
+
|
|
91
|
+
Both targets expose the field's string value during the callback.
|
|
92
|
+
|
|
93
|
+
```typescript
|
|
94
|
+
interface KitFieldChangeEvent extends KitEvent {
|
|
95
|
+
/** The edited field, or its value snapshot on a device. */
|
|
96
|
+
readonly target: EventTarget & { value: string }
|
|
97
|
+
/** The field handling the change. */
|
|
98
|
+
readonly currentTarget: KitFieldChangeEvent['target']
|
|
99
|
+
}
|
|
100
|
+
```
|
|
101
|
+
|
|
89
102
|
#### `CSSProperties`
|
|
90
103
|
|
|
91
104
|
Framework-agnostic CSS properties.
|
|
@@ -109,7 +122,7 @@ both satisfy this type. A handler that needs a member only one of them has (`nat
|
|
|
109
122
|
|
|
110
123
|
```typescript
|
|
111
124
|
interface KitEvent {
|
|
112
|
-
/** The element the event started on
|
|
125
|
+
/** The element the event started on. */
|
|
113
126
|
readonly target: EventTarget | null
|
|
114
127
|
/** The element of the component the handler was passed to. */
|
|
115
128
|
readonly currentTarget: EventTarget | null
|
|
@@ -333,7 +346,7 @@ interface TextareaElementProps extends HTMLElementProps {
|
|
|
333
346
|
minLength?: number
|
|
334
347
|
wrap?: 'hard' | 'soft' | 'off'
|
|
335
348
|
/** Web change event. {@link TextareaProps.onValueChange} also works on native. */
|
|
336
|
-
onChange?:
|
|
349
|
+
onChange?: EventHandler<KitFieldChangeEvent>
|
|
337
350
|
onInput?: FormEventHandler
|
|
338
351
|
}
|
|
339
352
|
```
|
|
@@ -349,7 +362,7 @@ interface SelectElementProps extends HTMLElementProps {
|
|
|
349
362
|
autoFocus?: boolean
|
|
350
363
|
multiple?: boolean
|
|
351
364
|
/** Web change event. {@link SelectProps.onValueChange} also works on native. */
|
|
352
|
-
onChange?:
|
|
365
|
+
onChange?: EventHandler<KitFieldChangeEvent>
|
|
353
366
|
}
|
|
354
367
|
```
|
|
355
368
|
|
|
@@ -370,126 +383,6 @@ interface FormElementProps extends HTMLElementProps {
|
|
|
370
383
|
}
|
|
371
384
|
```
|
|
372
385
|
|
|
373
|
-
#### `ButtonProps`
|
|
374
|
-
|
|
375
|
-
Props for the Button component.
|
|
376
|
-
|
|
377
|
-
```typescript
|
|
378
|
-
interface ButtonProps extends ButtonElementProps {
|
|
379
|
-
/**
|
|
380
|
-
* Button content.
|
|
381
|
-
*/
|
|
382
|
-
children?: Children
|
|
383
|
-
|
|
384
|
-
/**
|
|
385
|
-
* Visual variant.
|
|
386
|
-
*/
|
|
387
|
-
variant?: ButtonVariant
|
|
388
|
-
|
|
389
|
-
/**
|
|
390
|
-
* Color scheme.
|
|
391
|
-
*/
|
|
392
|
-
color?: ColorVariant
|
|
393
|
-
|
|
394
|
-
/**
|
|
395
|
-
* Button size.
|
|
396
|
-
*/
|
|
397
|
-
size?: ButtonSize
|
|
398
|
-
|
|
399
|
-
/**
|
|
400
|
-
* Whether the button is in a loading state.
|
|
401
|
-
*/
|
|
402
|
-
loading?: boolean
|
|
403
|
-
|
|
404
|
-
/**
|
|
405
|
-
* Loading text to display.
|
|
406
|
-
*/
|
|
407
|
-
loadingText?: string
|
|
408
|
-
|
|
409
|
-
/**
|
|
410
|
-
* Whether the button takes full width.
|
|
411
|
-
*/
|
|
412
|
-
fullWidth?: boolean
|
|
413
|
-
|
|
414
|
-
/**
|
|
415
|
-
* Icon to display before the label.
|
|
416
|
-
*/
|
|
417
|
-
leftIcon?: Children
|
|
418
|
-
|
|
419
|
-
/**
|
|
420
|
-
* Icon to display after the label.
|
|
421
|
-
*/
|
|
422
|
-
rightIcon?: Children
|
|
423
|
-
}
|
|
424
|
-
```
|
|
425
|
-
|
|
426
|
-
#### `InputProps`
|
|
427
|
-
|
|
428
|
-
Props for the Input component (text field, email, password, etc.).
|
|
429
|
-
|
|
430
|
-
Ref element: the native `<input>`.
|
|
431
|
-
|
|
432
|
-
```typescript
|
|
433
|
-
interface InputProps extends InputElementProps, Pick<TextFieldProps, 'onValueChange'> {
|
|
434
|
-
/**
|
|
435
|
-
* Input type.
|
|
436
|
-
*/
|
|
437
|
-
type?: InputType
|
|
438
|
-
|
|
439
|
-
/**
|
|
440
|
-
* Input size.
|
|
441
|
-
*/
|
|
442
|
-
size?: Size
|
|
443
|
-
|
|
444
|
-
/**
|
|
445
|
-
* Horizontal text alignment inside the input (see
|
|
446
|
-
* {@link InputClassOptions.align}). Defaults to the bond's own style.
|
|
447
|
-
*/
|
|
448
|
-
align?: 'left' | 'center'
|
|
449
|
-
|
|
450
|
-
/**
|
|
451
|
-
* Label text.
|
|
452
|
-
*/
|
|
453
|
-
label?: string
|
|
454
|
-
|
|
455
|
-
/**
|
|
456
|
-
* Error message.
|
|
457
|
-
*/
|
|
458
|
-
error?: string
|
|
459
|
-
|
|
460
|
-
/**
|
|
461
|
-
* Hint/help text.
|
|
462
|
-
*/
|
|
463
|
-
hint?: string
|
|
464
|
-
|
|
465
|
-
/**
|
|
466
|
-
* Element to display on the left.
|
|
467
|
-
*/
|
|
468
|
-
leftElement?: Children
|
|
469
|
-
|
|
470
|
-
/**
|
|
471
|
-
* Element to display on the right.
|
|
472
|
-
*/
|
|
473
|
-
rightElement?: Children
|
|
474
|
-
|
|
475
|
-
/**
|
|
476
|
-
* Whether to show a clear button.
|
|
477
|
-
*/
|
|
478
|
-
clearable?: boolean
|
|
479
|
-
|
|
480
|
-
/**
|
|
481
|
-
* Called when the clear button is clicked.
|
|
482
|
-
*/
|
|
483
|
-
onClear?: () => void
|
|
484
|
-
|
|
485
|
-
/**
|
|
486
|
-
* Accessible label for the clear button.
|
|
487
|
-
* @default 'Clear'
|
|
488
|
-
*/
|
|
489
|
-
clearLabel?: string
|
|
490
|
-
}
|
|
491
|
-
```
|
|
492
|
-
|
|
493
386
|
#### `TextareaProps`
|
|
494
387
|
|
|
495
388
|
Props for the Textarea component.
|
|
@@ -905,171 +798,6 @@ interface AvatarProps extends HTMLElementProps {
|
|
|
905
798
|
}
|
|
906
799
|
```
|
|
907
800
|
|
|
908
|
-
#### `BadgeProps`
|
|
909
|
-
|
|
910
|
-
Props for the Badge component (status labels, counts, tags).
|
|
911
|
-
|
|
912
|
-
```typescript
|
|
913
|
-
interface BadgeProps extends HTMLElementProps {
|
|
914
|
-
/**
|
|
915
|
-
* Badge content.
|
|
916
|
-
*/
|
|
917
|
-
children?: Children
|
|
918
|
-
|
|
919
|
-
/**
|
|
920
|
-
* Badge color.
|
|
921
|
-
*/
|
|
922
|
-
color?: ColorVariant
|
|
923
|
-
|
|
924
|
-
/**
|
|
925
|
-
* Badge variant.
|
|
926
|
-
*/
|
|
927
|
-
variant?: 'solid' | 'outline' | 'subtle'
|
|
928
|
-
|
|
929
|
-
/**
|
|
930
|
-
* Badge size.
|
|
931
|
-
*/
|
|
932
|
-
size?: Size
|
|
933
|
-
|
|
934
|
-
/**
|
|
935
|
-
* Whether the badge is rounded.
|
|
936
|
-
*/
|
|
937
|
-
rounded?: boolean
|
|
938
|
-
}
|
|
939
|
-
```
|
|
940
|
-
|
|
941
|
-
#### `CardProps`
|
|
942
|
-
|
|
943
|
-
Props for the Card container component (elevated, outlined, or filled surface).
|
|
944
|
-
|
|
945
|
-
```typescript
|
|
946
|
-
interface CardProps extends HTMLElementProps {
|
|
947
|
-
/**
|
|
948
|
-
* Card content.
|
|
949
|
-
*/
|
|
950
|
-
children?: Children
|
|
951
|
-
|
|
952
|
-
/**
|
|
953
|
-
* Card variant.
|
|
954
|
-
*/
|
|
955
|
-
variant?: 'elevated' | 'outlined' | 'filled'
|
|
956
|
-
|
|
957
|
-
/**
|
|
958
|
-
* Whether the card is interactive (clickable).
|
|
959
|
-
*/
|
|
960
|
-
interactive?: boolean
|
|
961
|
-
|
|
962
|
-
/**
|
|
963
|
-
* Padding size.
|
|
964
|
-
*/
|
|
965
|
-
padding?: Size | 'none'
|
|
966
|
-
}
|
|
967
|
-
```
|
|
968
|
-
|
|
969
|
-
#### `ContainerProps`
|
|
970
|
-
|
|
971
|
-
Props for the Container layout component.
|
|
972
|
-
|
|
973
|
-
```typescript
|
|
974
|
-
interface ContainerProps extends HTMLElementProps {
|
|
975
|
-
/**
|
|
976
|
-
* Container content.
|
|
977
|
-
*/
|
|
978
|
-
children?: Children
|
|
979
|
-
|
|
980
|
-
/**
|
|
981
|
-
* Maximum width.
|
|
982
|
-
*/
|
|
983
|
-
maxWidth?: 'sm' | 'md' | 'lg' | 'xl' | '2xl' | 'full' | string
|
|
984
|
-
|
|
985
|
-
/**
|
|
986
|
-
* Whether to center the container.
|
|
987
|
-
*/
|
|
988
|
-
centered?: boolean
|
|
989
|
-
|
|
990
|
-
/**
|
|
991
|
-
* Horizontal padding.
|
|
992
|
-
*/
|
|
993
|
-
paddingX?: Size | string
|
|
994
|
-
}
|
|
995
|
-
```
|
|
996
|
-
|
|
997
|
-
#### `FlexProps`
|
|
998
|
-
|
|
999
|
-
Flex container props.
|
|
1000
|
-
|
|
1001
|
-
```typescript
|
|
1002
|
-
interface FlexProps extends HTMLElementProps {
|
|
1003
|
-
/**
|
|
1004
|
-
* Flex content.
|
|
1005
|
-
*/
|
|
1006
|
-
children?: Children
|
|
1007
|
-
|
|
1008
|
-
/**
|
|
1009
|
-
* Flex direction.
|
|
1010
|
-
*/
|
|
1011
|
-
direction?: 'row' | 'column' | 'row-reverse' | 'column-reverse'
|
|
1012
|
-
|
|
1013
|
-
/**
|
|
1014
|
-
* Justify content.
|
|
1015
|
-
*/
|
|
1016
|
-
justify?: 'start' | 'end' | 'center' | 'between' | 'around' | 'evenly'
|
|
1017
|
-
|
|
1018
|
-
/**
|
|
1019
|
-
* Align items.
|
|
1020
|
-
*/
|
|
1021
|
-
align?: 'start' | 'end' | 'center' | 'baseline' | 'stretch'
|
|
1022
|
-
|
|
1023
|
-
/**
|
|
1024
|
-
* Flex wrap.
|
|
1025
|
-
*/
|
|
1026
|
-
wrap?: 'wrap' | 'nowrap' | 'wrap-reverse'
|
|
1027
|
-
|
|
1028
|
-
/**
|
|
1029
|
-
* Gap between items.
|
|
1030
|
-
*/
|
|
1031
|
-
gap?: Size | string | number
|
|
1032
|
-
}
|
|
1033
|
-
```
|
|
1034
|
-
|
|
1035
|
-
#### `GridProps`
|
|
1036
|
-
|
|
1037
|
-
Grid container props.
|
|
1038
|
-
|
|
1039
|
-
```typescript
|
|
1040
|
-
interface GridProps extends HTMLElementProps {
|
|
1041
|
-
/**
|
|
1042
|
-
* Grid content.
|
|
1043
|
-
*/
|
|
1044
|
-
children?: Children
|
|
1045
|
-
|
|
1046
|
-
/**
|
|
1047
|
-
* Number of columns.
|
|
1048
|
-
*/
|
|
1049
|
-
columns?: number | string
|
|
1050
|
-
|
|
1051
|
-
/**
|
|
1052
|
-
* Number of rows.
|
|
1053
|
-
*/
|
|
1054
|
-
rows?: number | string
|
|
1055
|
-
|
|
1056
|
-
/**
|
|
1057
|
-
* Gap between items.
|
|
1058
|
-
*/
|
|
1059
|
-
gap?: Size | string | number
|
|
1060
|
-
|
|
1061
|
-
/**
|
|
1062
|
-
* Column gap.
|
|
1063
|
-
*/
|
|
1064
|
-
columnGap?: Size | string | number
|
|
1065
|
-
|
|
1066
|
-
/**
|
|
1067
|
-
* Row gap.
|
|
1068
|
-
*/
|
|
1069
|
-
rowGap?: Size | string | number
|
|
1070
|
-
}
|
|
1071
|
-
```
|
|
1072
|
-
|
|
1073
801
|
#### `SpacerProps`
|
|
1074
802
|
|
|
1075
803
|
Props for the Spacer layout component (adds whitespace between elements).
|
|
@@ -1088,67 +816,6 @@ interface SpacerProps extends BaseProps {
|
|
|
1088
816
|
}
|
|
1089
817
|
```
|
|
1090
818
|
|
|
1091
|
-
#### `FormProps`
|
|
1092
|
-
|
|
1093
|
-
Props for the Form component (wraps inputs with submission handling and validation).
|
|
1094
|
-
|
|
1095
|
-
```typescript
|
|
1096
|
-
interface FormProps extends FormElementProps {
|
|
1097
|
-
/**
|
|
1098
|
-
* Form content.
|
|
1099
|
-
*/
|
|
1100
|
-
children?: Children
|
|
1101
|
-
|
|
1102
|
-
/**
|
|
1103
|
-
* Submit handler with form data.
|
|
1104
|
-
*/
|
|
1105
|
-
onFormSubmit?: (data: Record<string, unknown>) => void | Promise<void>
|
|
1106
|
-
|
|
1107
|
-
/**
|
|
1108
|
-
* Whether the form is submitting.
|
|
1109
|
-
*/
|
|
1110
|
-
submitting?: boolean
|
|
1111
|
-
}
|
|
1112
|
-
```
|
|
1113
|
-
|
|
1114
|
-
#### `FormFieldProps`
|
|
1115
|
-
|
|
1116
|
-
Form field wrapper props.
|
|
1117
|
-
|
|
1118
|
-
```typescript
|
|
1119
|
-
interface FormFieldProps extends HTMLElementProps {
|
|
1120
|
-
/**
|
|
1121
|
-
* Field content.
|
|
1122
|
-
*/
|
|
1123
|
-
children?: Children
|
|
1124
|
-
|
|
1125
|
-
/**
|
|
1126
|
-
* Field label.
|
|
1127
|
-
*/
|
|
1128
|
-
label?: string
|
|
1129
|
-
|
|
1130
|
-
/**
|
|
1131
|
-
* Field name.
|
|
1132
|
-
*/
|
|
1133
|
-
name?: string
|
|
1134
|
-
|
|
1135
|
-
/**
|
|
1136
|
-
* Error message.
|
|
1137
|
-
*/
|
|
1138
|
-
error?: string
|
|
1139
|
-
|
|
1140
|
-
/**
|
|
1141
|
-
* Hint/help text.
|
|
1142
|
-
*/
|
|
1143
|
-
hint?: string
|
|
1144
|
-
|
|
1145
|
-
/**
|
|
1146
|
-
* Whether the field is required.
|
|
1147
|
-
*/
|
|
1148
|
-
required?: boolean
|
|
1149
|
-
}
|
|
1150
|
-
```
|
|
1151
|
-
|
|
1152
819
|
#### `AlertProps`
|
|
1153
820
|
|
|
1154
821
|
Props for the Alert component.
|
|
@@ -2296,15 +1963,6 @@ interface TooltipProps
|
|
|
2296
1963
|
|
|
2297
1964
|
### Types
|
|
2298
1965
|
|
|
2299
|
-
#### `Children`
|
|
2300
|
-
|
|
2301
|
-
Framework-agnostic child content.
|
|
2302
|
-
Use `unknown` to allow any framework's node type (ReactNode, VNode, etc.).
|
|
2303
|
-
|
|
2304
|
-
```typescript
|
|
2305
|
-
type Children = unknown
|
|
2306
|
-
```
|
|
2307
|
-
|
|
2308
1966
|
#### `EventHandler`
|
|
2309
1967
|
|
|
2310
1968
|
Framework-agnostic event handler. An unannotated handler's event is `E`. It is declared as a
|
|
@@ -2433,6 +2091,118 @@ as a token" case).
|
|
|
2433
2091
|
type ShellSidebarWidth = 'sm' | 'md' | 'lg' | number
|
|
2434
2092
|
```
|
|
2435
2093
|
|
|
2094
|
+
#### `Children`
|
|
2095
|
+
|
|
2096
|
+
Content accepted by the React renderer.
|
|
2097
|
+
|
|
2098
|
+
```typescript
|
|
2099
|
+
type Children = ReactNode
|
|
2100
|
+
```
|
|
2101
|
+
|
|
2102
|
+
#### `BadgeProps`
|
|
2103
|
+
|
|
2104
|
+
Badge with React children.
|
|
2105
|
+
|
|
2106
|
+
```typescript
|
|
2107
|
+
type BadgeProps = WithNodes<Core.BadgeProps, 'children'>
|
|
2108
|
+
```
|
|
2109
|
+
|
|
2110
|
+
#### `ButtonProps`
|
|
2111
|
+
|
|
2112
|
+
Button content, icons and shared activation handlers.
|
|
2113
|
+
|
|
2114
|
+
```typescript
|
|
2115
|
+
type ButtonProps = WithNodes<Core.ButtonProps, 'children' | 'leftIcon' | 'rightIcon'>
|
|
2116
|
+
```
|
|
2117
|
+
|
|
2118
|
+
#### `CardProps`
|
|
2119
|
+
|
|
2120
|
+
Card with React children.
|
|
2121
|
+
|
|
2122
|
+
```typescript
|
|
2123
|
+
type CardProps = WithNodes<Core.CardProps, 'children'>
|
|
2124
|
+
```
|
|
2125
|
+
|
|
2126
|
+
#### `CardSectionProps`
|
|
2127
|
+
|
|
2128
|
+
Content for a card header, title, description, body or footer.
|
|
2129
|
+
|
|
2130
|
+
```typescript
|
|
2131
|
+
type CardSectionProps = WithNodes<Core.CardSectionProps, 'children'>
|
|
2132
|
+
```
|
|
2133
|
+
|
|
2134
|
+
#### `ContainerProps`
|
|
2135
|
+
|
|
2136
|
+
Width-constrained container with React children.
|
|
2137
|
+
|
|
2138
|
+
```typescript
|
|
2139
|
+
type ContainerProps = WithNodes<Core.ContainerProps, 'children'>
|
|
2140
|
+
```
|
|
2141
|
+
|
|
2142
|
+
#### `EmptyStateProps`
|
|
2143
|
+
|
|
2144
|
+
Empty state with a React illustration and action.
|
|
2145
|
+
|
|
2146
|
+
```typescript
|
|
2147
|
+
type EmptyStateProps = WithNodes<Core.EmptyStateProps, 'icon' | 'action'>
|
|
2148
|
+
```
|
|
2149
|
+
|
|
2150
|
+
#### `FlexProps`
|
|
2151
|
+
|
|
2152
|
+
Flex layout with React children.
|
|
2153
|
+
|
|
2154
|
+
```typescript
|
|
2155
|
+
type FlexProps = WithNodes<Core.FlexProps, 'children'>
|
|
2156
|
+
```
|
|
2157
|
+
|
|
2158
|
+
#### `FormFieldProps`
|
|
2159
|
+
|
|
2160
|
+
Labeled wrapper for a field and its validation message.
|
|
2161
|
+
|
|
2162
|
+
```typescript
|
|
2163
|
+
type FormFieldProps = WithNodes<Core.FormFieldProps, 'children'>
|
|
2164
|
+
```
|
|
2165
|
+
|
|
2166
|
+
#### `FormProps`
|
|
2167
|
+
|
|
2168
|
+
Form with React children and shared submit handlers.
|
|
2169
|
+
|
|
2170
|
+
```typescript
|
|
2171
|
+
type FormProps = WithNodes<Core.FormProps, 'children'>
|
|
2172
|
+
```
|
|
2173
|
+
|
|
2174
|
+
#### `GridProps`
|
|
2175
|
+
|
|
2176
|
+
Grid layout with React children.
|
|
2177
|
+
|
|
2178
|
+
```typescript
|
|
2179
|
+
type GridProps = WithNodes<Core.GridProps, 'children'>
|
|
2180
|
+
```
|
|
2181
|
+
|
|
2182
|
+
#### `InputProps`
|
|
2183
|
+
|
|
2184
|
+
Text input with React adornments and typed field events.
|
|
2185
|
+
|
|
2186
|
+
```typescript
|
|
2187
|
+
type InputProps = WithNodes<Core.InputProps, 'leftElement' | 'rightElement'>
|
|
2188
|
+
```
|
|
2189
|
+
|
|
2190
|
+
#### `PageHeaderProps`
|
|
2191
|
+
|
|
2192
|
+
Page header with a React action slot.
|
|
2193
|
+
|
|
2194
|
+
```typescript
|
|
2195
|
+
type PageHeaderProps = WithNodes<Core.PageHeaderProps, 'actions'>
|
|
2196
|
+
```
|
|
2197
|
+
|
|
2198
|
+
#### `PageShellProps`
|
|
2199
|
+
|
|
2200
|
+
Page shell with sidebar, top bar and main content.
|
|
2201
|
+
|
|
2202
|
+
```typescript
|
|
2203
|
+
type PageShellProps = WithNodes<Core.PageShellProps, 'children' | 'sidebar' | 'topbar'>
|
|
2204
|
+
```
|
|
2205
|
+
|
|
2436
2206
|
### Functions
|
|
2437
2207
|
|
|
2438
2208
|
#### `AuthGuard(props)`
|
|
@@ -2967,7 +2737,48 @@ function cn(...inputs: (string | undefined | null | false)[]): string
|
|
|
2967
2737
|
Badge component.
|
|
2968
2738
|
|
|
2969
2739
|
```typescript
|
|
2970
|
-
const Badge:
|
|
2740
|
+
const Badge: ForwardRefExoticComponent<
|
|
2741
|
+
{
|
|
2742
|
+
children?: ReactNode
|
|
2743
|
+
color?: ColorVariant | undefined
|
|
2744
|
+
variant?: 'solid' | 'outline' | 'subtle' | undefined
|
|
2745
|
+
size?: Size | undefined
|
|
2746
|
+
rounded?: boolean | undefined
|
|
2747
|
+
id?: string | undefined
|
|
2748
|
+
title?: string | undefined
|
|
2749
|
+
tabIndex?: number | undefined
|
|
2750
|
+
role?: ElementRole | undefined
|
|
2751
|
+
'aria-label'?: string | undefined
|
|
2752
|
+
'aria-labelledby'?: string | undefined
|
|
2753
|
+
'aria-describedby'?: string | undefined
|
|
2754
|
+
'aria-hidden'?: boolean | undefined
|
|
2755
|
+
'aria-disabled'?: boolean | undefined
|
|
2756
|
+
'aria-expanded'?: boolean | undefined
|
|
2757
|
+
'aria-selected'?: boolean | undefined
|
|
2758
|
+
'aria-checked'?: boolean | 'mixed' | undefined
|
|
2759
|
+
'aria-pressed'?: boolean | 'mixed' | undefined
|
|
2760
|
+
'aria-invalid'?: boolean | undefined
|
|
2761
|
+
'aria-required'?: boolean | undefined
|
|
2762
|
+
'aria-readonly'?: boolean | undefined
|
|
2763
|
+
'aria-busy'?: boolean | undefined
|
|
2764
|
+
'aria-live'?: 'off' | 'polite' | 'assertive' | undefined
|
|
2765
|
+
onClick?: MouseEventHandler | undefined
|
|
2766
|
+
onDoubleClick?: MouseEventHandler | undefined
|
|
2767
|
+
onMouseEnter?: MouseEventHandler | undefined
|
|
2768
|
+
onMouseLeave?: MouseEventHandler | undefined
|
|
2769
|
+
onFocus?: FocusEventHandler | undefined
|
|
2770
|
+
onBlur?: FocusEventHandler | undefined
|
|
2771
|
+
onKeyDown?: KeyboardEventHandler | undefined
|
|
2772
|
+
onKeyUp?: KeyboardEventHandler | undefined
|
|
2773
|
+
onKeyPress?: KeyboardEventHandler | undefined
|
|
2774
|
+
className?: string | undefined
|
|
2775
|
+
style?: CSSProperties | undefined
|
|
2776
|
+
testId?: string | undefined
|
|
2777
|
+
automationId?: string | undefined
|
|
2778
|
+
disabled?: boolean | undefined
|
|
2779
|
+
lang?: string | undefined
|
|
2780
|
+
} & RefAttributes<HTMLSpanElement>
|
|
2781
|
+
>
|
|
2971
2782
|
```
|
|
2972
2783
|
|
|
2973
2784
|
#### `Button`
|
|
@@ -2981,7 +2792,56 @@ does not queue clicks; an app that must preserve every intent needs its own
|
|
|
2981
2792
|
serial action queue.
|
|
2982
2793
|
|
|
2983
2794
|
```typescript
|
|
2984
|
-
const Button:
|
|
2795
|
+
const Button: ForwardRefExoticComponent<
|
|
2796
|
+
{
|
|
2797
|
+
children?: ReactNode
|
|
2798
|
+
variant?: ButtonVariant | undefined
|
|
2799
|
+
color?: ColorVariant | undefined
|
|
2800
|
+
size?: ButtonSize | undefined
|
|
2801
|
+
loading?: boolean | undefined
|
|
2802
|
+
loadingText?: string | undefined
|
|
2803
|
+
fullWidth?: boolean | undefined
|
|
2804
|
+
leftIcon?: ReactNode
|
|
2805
|
+
rightIcon?: ReactNode
|
|
2806
|
+
type?: 'button' | 'submit' | 'reset' | undefined
|
|
2807
|
+
name?: string | undefined
|
|
2808
|
+
value?: string | undefined
|
|
2809
|
+
form?: string | undefined
|
|
2810
|
+
id?: string | undefined
|
|
2811
|
+
title?: string | undefined
|
|
2812
|
+
tabIndex?: number | undefined
|
|
2813
|
+
role?: ElementRole | undefined
|
|
2814
|
+
'aria-label'?: string | undefined
|
|
2815
|
+
'aria-labelledby'?: string | undefined
|
|
2816
|
+
'aria-describedby'?: string | undefined
|
|
2817
|
+
'aria-hidden'?: boolean | undefined
|
|
2818
|
+
'aria-disabled'?: boolean | undefined
|
|
2819
|
+
'aria-expanded'?: boolean | undefined
|
|
2820
|
+
'aria-selected'?: boolean | undefined
|
|
2821
|
+
'aria-checked'?: boolean | 'mixed' | undefined
|
|
2822
|
+
'aria-pressed'?: boolean | 'mixed' | undefined
|
|
2823
|
+
'aria-invalid'?: boolean | undefined
|
|
2824
|
+
'aria-required'?: boolean | undefined
|
|
2825
|
+
'aria-readonly'?: boolean | undefined
|
|
2826
|
+
'aria-busy'?: boolean | undefined
|
|
2827
|
+
'aria-live'?: 'off' | 'polite' | 'assertive' | undefined
|
|
2828
|
+
onClick?: MouseEventHandler | undefined
|
|
2829
|
+
onDoubleClick?: MouseEventHandler | undefined
|
|
2830
|
+
onMouseEnter?: MouseEventHandler | undefined
|
|
2831
|
+
onMouseLeave?: MouseEventHandler | undefined
|
|
2832
|
+
onFocus?: FocusEventHandler | undefined
|
|
2833
|
+
onBlur?: FocusEventHandler | undefined
|
|
2834
|
+
onKeyDown?: KeyboardEventHandler | undefined
|
|
2835
|
+
onKeyUp?: KeyboardEventHandler | undefined
|
|
2836
|
+
onKeyPress?: KeyboardEventHandler | undefined
|
|
2837
|
+
className?: string | undefined
|
|
2838
|
+
style?: CSSProperties | undefined
|
|
2839
|
+
testId?: string | undefined
|
|
2840
|
+
automationId?: string | undefined
|
|
2841
|
+
disabled?: boolean | undefined
|
|
2842
|
+
lang?: string | undefined
|
|
2843
|
+
} & RefAttributes<HTMLButtonElement>
|
|
2844
|
+
>
|
|
2985
2845
|
```
|
|
2986
2846
|
|
|
2987
2847
|
#### `Card`
|
|
@@ -2989,8 +2849,46 @@ const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<
|
|
|
2989
2849
|
Card component.
|
|
2990
2850
|
|
|
2991
2851
|
```typescript
|
|
2992
|
-
const Card:
|
|
2993
|
-
|
|
2852
|
+
const Card: ForwardRefExoticComponent<
|
|
2853
|
+
{
|
|
2854
|
+
children?: ReactNode
|
|
2855
|
+
variant?: 'elevated' | 'outlined' | 'filled' | undefined
|
|
2856
|
+
interactive?: boolean | undefined
|
|
2857
|
+
padding?: (Size | 'none') | undefined
|
|
2858
|
+
id?: string | undefined
|
|
2859
|
+
title?: string | undefined
|
|
2860
|
+
tabIndex?: number | undefined
|
|
2861
|
+
role?: ElementRole | undefined
|
|
2862
|
+
'aria-label'?: string | undefined
|
|
2863
|
+
'aria-labelledby'?: string | undefined
|
|
2864
|
+
'aria-describedby'?: string | undefined
|
|
2865
|
+
'aria-hidden'?: boolean | undefined
|
|
2866
|
+
'aria-disabled'?: boolean | undefined
|
|
2867
|
+
'aria-expanded'?: boolean | undefined
|
|
2868
|
+
'aria-selected'?: boolean | undefined
|
|
2869
|
+
'aria-checked'?: boolean | 'mixed' | undefined
|
|
2870
|
+
'aria-pressed'?: boolean | 'mixed' | undefined
|
|
2871
|
+
'aria-invalid'?: boolean | undefined
|
|
2872
|
+
'aria-required'?: boolean | undefined
|
|
2873
|
+
'aria-readonly'?: boolean | undefined
|
|
2874
|
+
'aria-busy'?: boolean | undefined
|
|
2875
|
+
'aria-live'?: 'off' | 'polite' | 'assertive' | undefined
|
|
2876
|
+
onClick?: MouseEventHandler | undefined
|
|
2877
|
+
onDoubleClick?: MouseEventHandler | undefined
|
|
2878
|
+
onMouseEnter?: MouseEventHandler | undefined
|
|
2879
|
+
onMouseLeave?: MouseEventHandler | undefined
|
|
2880
|
+
onFocus?: FocusEventHandler | undefined
|
|
2881
|
+
onBlur?: FocusEventHandler | undefined
|
|
2882
|
+
onKeyDown?: KeyboardEventHandler | undefined
|
|
2883
|
+
onKeyUp?: KeyboardEventHandler | undefined
|
|
2884
|
+
onKeyPress?: KeyboardEventHandler | undefined
|
|
2885
|
+
className?: string | undefined
|
|
2886
|
+
style?: CSSProperties | undefined
|
|
2887
|
+
testId?: string | undefined
|
|
2888
|
+
automationId?: string | undefined
|
|
2889
|
+
disabled?: boolean | undefined
|
|
2890
|
+
lang?: string | undefined
|
|
2891
|
+
} & { 'data-mol-id'?: string } & RefAttributes<HTMLDivElement>
|
|
2994
2892
|
>
|
|
2995
2893
|
```
|
|
2996
2894
|
|
|
@@ -2999,8 +2897,46 @@ const Card: React.ForwardRefExoticComponent<
|
|
|
2999
2897
|
Card header component.
|
|
3000
2898
|
|
|
3001
2899
|
```typescript
|
|
3002
|
-
const CardHeader:
|
|
3003
|
-
|
|
2900
|
+
const CardHeader: ForwardRefExoticComponent<
|
|
2901
|
+
{
|
|
2902
|
+
[x: `data-${string}`]: string | number | boolean | undefined
|
|
2903
|
+
title?: string | undefined
|
|
2904
|
+
style?: CSSProperties | undefined
|
|
2905
|
+
children?: ReactNode
|
|
2906
|
+
id?: string | undefined
|
|
2907
|
+
lang?: string | undefined
|
|
2908
|
+
className?: string | undefined
|
|
2909
|
+
role?: ElementRole | undefined
|
|
2910
|
+
'aria-label'?: string | undefined
|
|
2911
|
+
'aria-labelledby'?: string | undefined
|
|
2912
|
+
'aria-describedby'?: string | undefined
|
|
2913
|
+
'aria-hidden'?: AriaBoolean | undefined
|
|
2914
|
+
'aria-disabled'?: AriaBoolean | undefined
|
|
2915
|
+
'aria-expanded'?: AriaBoolean | undefined
|
|
2916
|
+
'aria-selected'?: AriaBoolean | undefined
|
|
2917
|
+
'aria-checked'?: (AriaBoolean | 'mixed') | undefined
|
|
2918
|
+
'aria-pressed'?: (AriaBoolean | 'mixed') | undefined
|
|
2919
|
+
'aria-busy'?: AriaBoolean | undefined
|
|
2920
|
+
'aria-live'?: 'off' | 'polite' | 'assertive' | undefined
|
|
2921
|
+
'aria-valuenow'?: number | undefined
|
|
2922
|
+
'aria-valuemin'?: number | undefined
|
|
2923
|
+
'aria-valuemax'?: number | undefined
|
|
2924
|
+
'aria-valuetext'?: string | undefined
|
|
2925
|
+
'aria-current'?: (AriaBoolean | 'page' | 'step' | 'location' | 'date' | 'time') | undefined
|
|
2926
|
+
'aria-controls'?: string | undefined
|
|
2927
|
+
'aria-haspopup'?: (AriaBoolean | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog') | undefined
|
|
2928
|
+
'aria-modal'?: AriaBoolean | undefined
|
|
2929
|
+
'aria-invalid'?: AriaBoolean | undefined
|
|
2930
|
+
'aria-required'?: AriaBoolean | undefined
|
|
2931
|
+
'aria-readonly'?: AriaBoolean | undefined
|
|
2932
|
+
'aria-orientation'?: 'horizontal' | 'vertical' | undefined
|
|
2933
|
+
'aria-sort'?: 'none' | 'ascending' | 'descending' | 'other' | undefined
|
|
2934
|
+
'aria-level'?: number | undefined
|
|
2935
|
+
'aria-rowcount'?: number | undefined
|
|
2936
|
+
'aria-colcount'?: number | undefined
|
|
2937
|
+
'aria-rowindex'?: number | undefined
|
|
2938
|
+
'aria-colindex'?: number | undefined
|
|
2939
|
+
} & RefAttributes<HTMLDivElement>
|
|
3004
2940
|
>
|
|
3005
2941
|
```
|
|
3006
2942
|
|
|
@@ -3009,8 +2945,46 @@ const CardHeader: React.ForwardRefExoticComponent<
|
|
|
3009
2945
|
Card title component.
|
|
3010
2946
|
|
|
3011
2947
|
```typescript
|
|
3012
|
-
const CardTitle:
|
|
3013
|
-
|
|
2948
|
+
const CardTitle: ForwardRefExoticComponent<
|
|
2949
|
+
{
|
|
2950
|
+
[x: `data-${string}`]: string | number | boolean | undefined
|
|
2951
|
+
title?: string | undefined
|
|
2952
|
+
style?: CSSProperties | undefined
|
|
2953
|
+
children?: ReactNode
|
|
2954
|
+
id?: string | undefined
|
|
2955
|
+
lang?: string | undefined
|
|
2956
|
+
className?: string | undefined
|
|
2957
|
+
role?: ElementRole | undefined
|
|
2958
|
+
'aria-label'?: string | undefined
|
|
2959
|
+
'aria-labelledby'?: string | undefined
|
|
2960
|
+
'aria-describedby'?: string | undefined
|
|
2961
|
+
'aria-hidden'?: AriaBoolean | undefined
|
|
2962
|
+
'aria-disabled'?: AriaBoolean | undefined
|
|
2963
|
+
'aria-expanded'?: AriaBoolean | undefined
|
|
2964
|
+
'aria-selected'?: AriaBoolean | undefined
|
|
2965
|
+
'aria-checked'?: (AriaBoolean | 'mixed') | undefined
|
|
2966
|
+
'aria-pressed'?: (AriaBoolean | 'mixed') | undefined
|
|
2967
|
+
'aria-busy'?: AriaBoolean | undefined
|
|
2968
|
+
'aria-live'?: 'off' | 'polite' | 'assertive' | undefined
|
|
2969
|
+
'aria-valuenow'?: number | undefined
|
|
2970
|
+
'aria-valuemin'?: number | undefined
|
|
2971
|
+
'aria-valuemax'?: number | undefined
|
|
2972
|
+
'aria-valuetext'?: string | undefined
|
|
2973
|
+
'aria-current'?: (AriaBoolean | 'page' | 'step' | 'location' | 'date' | 'time') | undefined
|
|
2974
|
+
'aria-controls'?: string | undefined
|
|
2975
|
+
'aria-haspopup'?: (AriaBoolean | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog') | undefined
|
|
2976
|
+
'aria-modal'?: AriaBoolean | undefined
|
|
2977
|
+
'aria-invalid'?: AriaBoolean | undefined
|
|
2978
|
+
'aria-required'?: AriaBoolean | undefined
|
|
2979
|
+
'aria-readonly'?: AriaBoolean | undefined
|
|
2980
|
+
'aria-orientation'?: 'horizontal' | 'vertical' | undefined
|
|
2981
|
+
'aria-sort'?: 'none' | 'ascending' | 'descending' | 'other' | undefined
|
|
2982
|
+
'aria-level'?: number | undefined
|
|
2983
|
+
'aria-rowcount'?: number | undefined
|
|
2984
|
+
'aria-colcount'?: number | undefined
|
|
2985
|
+
'aria-rowindex'?: number | undefined
|
|
2986
|
+
'aria-colindex'?: number | undefined
|
|
2987
|
+
} & RefAttributes<HTMLHeadingElement>
|
|
3014
2988
|
>
|
|
3015
2989
|
```
|
|
3016
2990
|
|
|
@@ -3019,8 +2993,46 @@ const CardTitle: React.ForwardRefExoticComponent<
|
|
|
3019
2993
|
Card description component.
|
|
3020
2994
|
|
|
3021
2995
|
```typescript
|
|
3022
|
-
const CardDescription:
|
|
3023
|
-
|
|
2996
|
+
const CardDescription: ForwardRefExoticComponent<
|
|
2997
|
+
{
|
|
2998
|
+
[x: `data-${string}`]: string | number | boolean | undefined
|
|
2999
|
+
title?: string | undefined
|
|
3000
|
+
style?: CSSProperties | undefined
|
|
3001
|
+
children?: ReactNode
|
|
3002
|
+
id?: string | undefined
|
|
3003
|
+
lang?: string | undefined
|
|
3004
|
+
className?: string | undefined
|
|
3005
|
+
role?: ElementRole | undefined
|
|
3006
|
+
'aria-label'?: string | undefined
|
|
3007
|
+
'aria-labelledby'?: string | undefined
|
|
3008
|
+
'aria-describedby'?: string | undefined
|
|
3009
|
+
'aria-hidden'?: AriaBoolean | undefined
|
|
3010
|
+
'aria-disabled'?: AriaBoolean | undefined
|
|
3011
|
+
'aria-expanded'?: AriaBoolean | undefined
|
|
3012
|
+
'aria-selected'?: AriaBoolean | undefined
|
|
3013
|
+
'aria-checked'?: (AriaBoolean | 'mixed') | undefined
|
|
3014
|
+
'aria-pressed'?: (AriaBoolean | 'mixed') | undefined
|
|
3015
|
+
'aria-busy'?: AriaBoolean | undefined
|
|
3016
|
+
'aria-live'?: 'off' | 'polite' | 'assertive' | undefined
|
|
3017
|
+
'aria-valuenow'?: number | undefined
|
|
3018
|
+
'aria-valuemin'?: number | undefined
|
|
3019
|
+
'aria-valuemax'?: number | undefined
|
|
3020
|
+
'aria-valuetext'?: string | undefined
|
|
3021
|
+
'aria-current'?: (AriaBoolean | 'page' | 'step' | 'location' | 'date' | 'time') | undefined
|
|
3022
|
+
'aria-controls'?: string | undefined
|
|
3023
|
+
'aria-haspopup'?: (AriaBoolean | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog') | undefined
|
|
3024
|
+
'aria-modal'?: AriaBoolean | undefined
|
|
3025
|
+
'aria-invalid'?: AriaBoolean | undefined
|
|
3026
|
+
'aria-required'?: AriaBoolean | undefined
|
|
3027
|
+
'aria-readonly'?: AriaBoolean | undefined
|
|
3028
|
+
'aria-orientation'?: 'horizontal' | 'vertical' | undefined
|
|
3029
|
+
'aria-sort'?: 'none' | 'ascending' | 'descending' | 'other' | undefined
|
|
3030
|
+
'aria-level'?: number | undefined
|
|
3031
|
+
'aria-rowcount'?: number | undefined
|
|
3032
|
+
'aria-colcount'?: number | undefined
|
|
3033
|
+
'aria-rowindex'?: number | undefined
|
|
3034
|
+
'aria-colindex'?: number | undefined
|
|
3035
|
+
} & RefAttributes<HTMLParagraphElement>
|
|
3024
3036
|
>
|
|
3025
3037
|
```
|
|
3026
3038
|
|
|
@@ -3029,8 +3041,46 @@ const CardDescription: React.ForwardRefExoticComponent<
|
|
|
3029
3041
|
Card content component.
|
|
3030
3042
|
|
|
3031
3043
|
```typescript
|
|
3032
|
-
const CardContent:
|
|
3033
|
-
|
|
3044
|
+
const CardContent: ForwardRefExoticComponent<
|
|
3045
|
+
{
|
|
3046
|
+
[x: `data-${string}`]: string | number | boolean | undefined
|
|
3047
|
+
title?: string | undefined
|
|
3048
|
+
style?: CSSProperties | undefined
|
|
3049
|
+
children?: ReactNode
|
|
3050
|
+
id?: string | undefined
|
|
3051
|
+
lang?: string | undefined
|
|
3052
|
+
className?: string | undefined
|
|
3053
|
+
role?: ElementRole | undefined
|
|
3054
|
+
'aria-label'?: string | undefined
|
|
3055
|
+
'aria-labelledby'?: string | undefined
|
|
3056
|
+
'aria-describedby'?: string | undefined
|
|
3057
|
+
'aria-hidden'?: AriaBoolean | undefined
|
|
3058
|
+
'aria-disabled'?: AriaBoolean | undefined
|
|
3059
|
+
'aria-expanded'?: AriaBoolean | undefined
|
|
3060
|
+
'aria-selected'?: AriaBoolean | undefined
|
|
3061
|
+
'aria-checked'?: (AriaBoolean | 'mixed') | undefined
|
|
3062
|
+
'aria-pressed'?: (AriaBoolean | 'mixed') | undefined
|
|
3063
|
+
'aria-busy'?: AriaBoolean | undefined
|
|
3064
|
+
'aria-live'?: 'off' | 'polite' | 'assertive' | undefined
|
|
3065
|
+
'aria-valuenow'?: number | undefined
|
|
3066
|
+
'aria-valuemin'?: number | undefined
|
|
3067
|
+
'aria-valuemax'?: number | undefined
|
|
3068
|
+
'aria-valuetext'?: string | undefined
|
|
3069
|
+
'aria-current'?: (AriaBoolean | 'page' | 'step' | 'location' | 'date' | 'time') | undefined
|
|
3070
|
+
'aria-controls'?: string | undefined
|
|
3071
|
+
'aria-haspopup'?: (AriaBoolean | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog') | undefined
|
|
3072
|
+
'aria-modal'?: AriaBoolean | undefined
|
|
3073
|
+
'aria-invalid'?: AriaBoolean | undefined
|
|
3074
|
+
'aria-required'?: AriaBoolean | undefined
|
|
3075
|
+
'aria-readonly'?: AriaBoolean | undefined
|
|
3076
|
+
'aria-orientation'?: 'horizontal' | 'vertical' | undefined
|
|
3077
|
+
'aria-sort'?: 'none' | 'ascending' | 'descending' | 'other' | undefined
|
|
3078
|
+
'aria-level'?: number | undefined
|
|
3079
|
+
'aria-rowcount'?: number | undefined
|
|
3080
|
+
'aria-colcount'?: number | undefined
|
|
3081
|
+
'aria-rowindex'?: number | undefined
|
|
3082
|
+
'aria-colindex'?: number | undefined
|
|
3083
|
+
} & RefAttributes<HTMLDivElement>
|
|
3034
3084
|
>
|
|
3035
3085
|
```
|
|
3036
3086
|
|
|
@@ -3039,8 +3089,46 @@ const CardContent: React.ForwardRefExoticComponent<
|
|
|
3039
3089
|
Card footer component.
|
|
3040
3090
|
|
|
3041
3091
|
```typescript
|
|
3042
|
-
const CardFooter:
|
|
3043
|
-
|
|
3092
|
+
const CardFooter: ForwardRefExoticComponent<
|
|
3093
|
+
{
|
|
3094
|
+
[x: `data-${string}`]: string | number | boolean | undefined
|
|
3095
|
+
title?: string | undefined
|
|
3096
|
+
style?: CSSProperties | undefined
|
|
3097
|
+
children?: ReactNode
|
|
3098
|
+
id?: string | undefined
|
|
3099
|
+
lang?: string | undefined
|
|
3100
|
+
className?: string | undefined
|
|
3101
|
+
role?: ElementRole | undefined
|
|
3102
|
+
'aria-label'?: string | undefined
|
|
3103
|
+
'aria-labelledby'?: string | undefined
|
|
3104
|
+
'aria-describedby'?: string | undefined
|
|
3105
|
+
'aria-hidden'?: AriaBoolean | undefined
|
|
3106
|
+
'aria-disabled'?: AriaBoolean | undefined
|
|
3107
|
+
'aria-expanded'?: AriaBoolean | undefined
|
|
3108
|
+
'aria-selected'?: AriaBoolean | undefined
|
|
3109
|
+
'aria-checked'?: (AriaBoolean | 'mixed') | undefined
|
|
3110
|
+
'aria-pressed'?: (AriaBoolean | 'mixed') | undefined
|
|
3111
|
+
'aria-busy'?: AriaBoolean | undefined
|
|
3112
|
+
'aria-live'?: 'off' | 'polite' | 'assertive' | undefined
|
|
3113
|
+
'aria-valuenow'?: number | undefined
|
|
3114
|
+
'aria-valuemin'?: number | undefined
|
|
3115
|
+
'aria-valuemax'?: number | undefined
|
|
3116
|
+
'aria-valuetext'?: string | undefined
|
|
3117
|
+
'aria-current'?: (AriaBoolean | 'page' | 'step' | 'location' | 'date' | 'time') | undefined
|
|
3118
|
+
'aria-controls'?: string | undefined
|
|
3119
|
+
'aria-haspopup'?: (AriaBoolean | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog') | undefined
|
|
3120
|
+
'aria-modal'?: AriaBoolean | undefined
|
|
3121
|
+
'aria-invalid'?: AriaBoolean | undefined
|
|
3122
|
+
'aria-required'?: AriaBoolean | undefined
|
|
3123
|
+
'aria-readonly'?: AriaBoolean | undefined
|
|
3124
|
+
'aria-orientation'?: 'horizontal' | 'vertical' | undefined
|
|
3125
|
+
'aria-sort'?: 'none' | 'ascending' | 'descending' | 'other' | undefined
|
|
3126
|
+
'aria-level'?: number | undefined
|
|
3127
|
+
'aria-rowcount'?: number | undefined
|
|
3128
|
+
'aria-colcount'?: number | undefined
|
|
3129
|
+
'aria-rowindex'?: number | undefined
|
|
3130
|
+
'aria-colindex'?: number | undefined
|
|
3131
|
+
} & RefAttributes<HTMLDivElement>
|
|
3044
3132
|
>
|
|
3045
3133
|
```
|
|
3046
3134
|
|
|
@@ -3088,8 +3176,18 @@ Displays a centered placeholder with an optional icon, title, description,
|
|
|
3088
3176
|
and a primary action when a list or section has no content.
|
|
3089
3177
|
|
|
3090
3178
|
```typescript
|
|
3091
|
-
const EmptyState:
|
|
3092
|
-
|
|
3179
|
+
const EmptyState: ForwardRefExoticComponent<
|
|
3180
|
+
{
|
|
3181
|
+
icon?: ReactNode
|
|
3182
|
+
title: string
|
|
3183
|
+
description?: string | undefined
|
|
3184
|
+
action?: ReactNode
|
|
3185
|
+
className?: string | undefined
|
|
3186
|
+
style?: CSSProperties | undefined
|
|
3187
|
+
testId?: string | undefined
|
|
3188
|
+
automationId?: string | undefined
|
|
3189
|
+
disabled?: boolean | undefined
|
|
3190
|
+
} & RefAttributes<HTMLDivElement>
|
|
3093
3191
|
>
|
|
3094
3192
|
```
|
|
3095
3193
|
|
|
@@ -3133,7 +3231,47 @@ Form field wrapper component.
|
|
|
3133
3231
|
|
|
3134
3232
|
```typescript
|
|
3135
3233
|
const FormField: React.ForwardRefExoticComponent<
|
|
3136
|
-
|
|
3234
|
+
{
|
|
3235
|
+
children?: React.ReactNode
|
|
3236
|
+
label?: string | undefined
|
|
3237
|
+
name?: string | undefined
|
|
3238
|
+
error?: string | undefined
|
|
3239
|
+
hint?: string | undefined
|
|
3240
|
+
required?: boolean | undefined
|
|
3241
|
+
id?: string | undefined
|
|
3242
|
+
title?: string | undefined
|
|
3243
|
+
tabIndex?: number | undefined
|
|
3244
|
+
role?: ElementRole | undefined
|
|
3245
|
+
'aria-label'?: string | undefined
|
|
3246
|
+
'aria-labelledby'?: string | undefined
|
|
3247
|
+
'aria-describedby'?: string | undefined
|
|
3248
|
+
'aria-hidden'?: boolean | undefined
|
|
3249
|
+
'aria-disabled'?: boolean | undefined
|
|
3250
|
+
'aria-expanded'?: boolean | undefined
|
|
3251
|
+
'aria-selected'?: boolean | undefined
|
|
3252
|
+
'aria-checked'?: boolean | 'mixed' | undefined
|
|
3253
|
+
'aria-pressed'?: boolean | 'mixed' | undefined
|
|
3254
|
+
'aria-invalid'?: boolean | undefined
|
|
3255
|
+
'aria-required'?: boolean | undefined
|
|
3256
|
+
'aria-readonly'?: boolean | undefined
|
|
3257
|
+
'aria-busy'?: boolean | undefined
|
|
3258
|
+
'aria-live'?: 'off' | 'polite' | 'assertive' | undefined
|
|
3259
|
+
onClick?: MouseEventHandler | undefined
|
|
3260
|
+
onDoubleClick?: MouseEventHandler | undefined
|
|
3261
|
+
onMouseEnter?: MouseEventHandler | undefined
|
|
3262
|
+
onMouseLeave?: MouseEventHandler | undefined
|
|
3263
|
+
onFocus?: FocusEventHandler | undefined
|
|
3264
|
+
onBlur?: FocusEventHandler | undefined
|
|
3265
|
+
onKeyDown?: KeyboardEventHandler | undefined
|
|
3266
|
+
onKeyUp?: KeyboardEventHandler | undefined
|
|
3267
|
+
onKeyPress?: KeyboardEventHandler | undefined
|
|
3268
|
+
className?: string | undefined
|
|
3269
|
+
style?: CSSProperties | undefined
|
|
3270
|
+
testId?: string | undefined
|
|
3271
|
+
automationId?: string | undefined
|
|
3272
|
+
disabled?: boolean | undefined
|
|
3273
|
+
lang?: string | undefined
|
|
3274
|
+
} & React.RefAttributes<HTMLDivElement>
|
|
3137
3275
|
>
|
|
3138
3276
|
```
|
|
3139
3277
|
|
|
@@ -3160,7 +3298,68 @@ const Label: React.ForwardRefExoticComponent<
|
|
|
3160
3298
|
Input component.
|
|
3161
3299
|
|
|
3162
3300
|
```typescript
|
|
3163
|
-
const Input:
|
|
3301
|
+
const Input: ForwardRefExoticComponent<
|
|
3302
|
+
{
|
|
3303
|
+
onChange?: EventHandler<KitFieldChangeEvent> | undefined
|
|
3304
|
+
type?: InputType | undefined
|
|
3305
|
+
size?: Size | undefined
|
|
3306
|
+
align?: 'left' | 'center' | undefined
|
|
3307
|
+
label?: string | undefined
|
|
3308
|
+
error?: string | undefined
|
|
3309
|
+
hint?: string | undefined
|
|
3310
|
+
leftElement?: ReactNode
|
|
3311
|
+
rightElement?: ReactNode
|
|
3312
|
+
clearable?: boolean | undefined
|
|
3313
|
+
onClear?: (() => void) | undefined
|
|
3314
|
+
clearLabel?: string | undefined
|
|
3315
|
+
name?: string | undefined
|
|
3316
|
+
value?: (string | number | readonly string[]) | undefined
|
|
3317
|
+
defaultValue?: (string | number | readonly string[]) | undefined
|
|
3318
|
+
placeholder?: string | undefined
|
|
3319
|
+
required?: boolean | undefined
|
|
3320
|
+
readOnly?: boolean | undefined
|
|
3321
|
+
autoFocus?: boolean | undefined
|
|
3322
|
+
autoComplete?: string | undefined
|
|
3323
|
+
maxLength?: number | undefined
|
|
3324
|
+
minLength?: number | undefined
|
|
3325
|
+
pattern?: string | undefined
|
|
3326
|
+
onInput?: FormEventHandler | undefined
|
|
3327
|
+
id?: string | undefined
|
|
3328
|
+
title?: string | undefined
|
|
3329
|
+
tabIndex?: number | undefined
|
|
3330
|
+
role?: ElementRole | undefined
|
|
3331
|
+
'aria-label'?: string | undefined
|
|
3332
|
+
'aria-labelledby'?: string | undefined
|
|
3333
|
+
'aria-describedby'?: string | undefined
|
|
3334
|
+
'aria-hidden'?: boolean | undefined
|
|
3335
|
+
'aria-disabled'?: boolean | undefined
|
|
3336
|
+
'aria-expanded'?: boolean | undefined
|
|
3337
|
+
'aria-selected'?: boolean | undefined
|
|
3338
|
+
'aria-checked'?: boolean | 'mixed' | undefined
|
|
3339
|
+
'aria-pressed'?: boolean | 'mixed' | undefined
|
|
3340
|
+
'aria-invalid'?: boolean | undefined
|
|
3341
|
+
'aria-required'?: boolean | undefined
|
|
3342
|
+
'aria-readonly'?: boolean | undefined
|
|
3343
|
+
'aria-busy'?: boolean | undefined
|
|
3344
|
+
'aria-live'?: 'off' | 'polite' | 'assertive' | undefined
|
|
3345
|
+
onClick?: MouseEventHandler | undefined
|
|
3346
|
+
onDoubleClick?: MouseEventHandler | undefined
|
|
3347
|
+
onMouseEnter?: MouseEventHandler | undefined
|
|
3348
|
+
onMouseLeave?: MouseEventHandler | undefined
|
|
3349
|
+
onFocus?: FocusEventHandler | undefined
|
|
3350
|
+
onBlur?: FocusEventHandler | undefined
|
|
3351
|
+
onKeyDown?: KeyboardEventHandler | undefined
|
|
3352
|
+
onKeyUp?: KeyboardEventHandler | undefined
|
|
3353
|
+
onKeyPress?: KeyboardEventHandler | undefined
|
|
3354
|
+
className?: string | undefined
|
|
3355
|
+
style?: CSSProperties | undefined
|
|
3356
|
+
testId?: string | undefined
|
|
3357
|
+
automationId?: string | undefined
|
|
3358
|
+
disabled?: boolean | undefined
|
|
3359
|
+
lang?: string | undefined
|
|
3360
|
+
onValueChange?: ((value: string) => void) | undefined
|
|
3361
|
+
} & RefAttributes<HTMLInputElement>
|
|
3362
|
+
>
|
|
3164
3363
|
```
|
|
3165
3364
|
|
|
3166
3365
|
#### `Container`
|
|
@@ -3168,8 +3367,46 @@ const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HT
|
|
|
3168
3367
|
Container component.
|
|
3169
3368
|
|
|
3170
3369
|
```typescript
|
|
3171
|
-
const Container:
|
|
3172
|
-
|
|
3370
|
+
const Container: ForwardRefExoticComponent<
|
|
3371
|
+
{
|
|
3372
|
+
children?: ReactNode
|
|
3373
|
+
maxWidth?: 'sm' | 'md' | 'lg' | 'xl' | '2xl' | 'full' | string | undefined
|
|
3374
|
+
centered?: boolean | undefined
|
|
3375
|
+
paddingX?: (Size | string) | undefined
|
|
3376
|
+
id?: string | undefined
|
|
3377
|
+
title?: string | undefined
|
|
3378
|
+
tabIndex?: number | undefined
|
|
3379
|
+
role?: ElementRole | undefined
|
|
3380
|
+
'aria-label'?: string | undefined
|
|
3381
|
+
'aria-labelledby'?: string | undefined
|
|
3382
|
+
'aria-describedby'?: string | undefined
|
|
3383
|
+
'aria-hidden'?: boolean | undefined
|
|
3384
|
+
'aria-disabled'?: boolean | undefined
|
|
3385
|
+
'aria-expanded'?: boolean | undefined
|
|
3386
|
+
'aria-selected'?: boolean | undefined
|
|
3387
|
+
'aria-checked'?: boolean | 'mixed' | undefined
|
|
3388
|
+
'aria-pressed'?: boolean | 'mixed' | undefined
|
|
3389
|
+
'aria-invalid'?: boolean | undefined
|
|
3390
|
+
'aria-required'?: boolean | undefined
|
|
3391
|
+
'aria-readonly'?: boolean | undefined
|
|
3392
|
+
'aria-busy'?: boolean | undefined
|
|
3393
|
+
'aria-live'?: 'off' | 'polite' | 'assertive' | undefined
|
|
3394
|
+
onClick?: MouseEventHandler | undefined
|
|
3395
|
+
onDoubleClick?: MouseEventHandler | undefined
|
|
3396
|
+
onMouseEnter?: MouseEventHandler | undefined
|
|
3397
|
+
onMouseLeave?: MouseEventHandler | undefined
|
|
3398
|
+
onFocus?: FocusEventHandler | undefined
|
|
3399
|
+
onBlur?: FocusEventHandler | undefined
|
|
3400
|
+
onKeyDown?: KeyboardEventHandler | undefined
|
|
3401
|
+
onKeyUp?: KeyboardEventHandler | undefined
|
|
3402
|
+
onKeyPress?: KeyboardEventHandler | undefined
|
|
3403
|
+
className?: string | undefined
|
|
3404
|
+
style?: CSSProperties | undefined
|
|
3405
|
+
testId?: string | undefined
|
|
3406
|
+
automationId?: string | undefined
|
|
3407
|
+
disabled?: boolean | undefined
|
|
3408
|
+
lang?: string | undefined
|
|
3409
|
+
} & RefAttributes<HTMLDivElement>
|
|
3173
3410
|
>
|
|
3174
3411
|
```
|
|
3175
3412
|
|
|
@@ -3178,7 +3415,49 @@ const Container: React.ForwardRefExoticComponent<
|
|
|
3178
3415
|
Flex container component.
|
|
3179
3416
|
|
|
3180
3417
|
```typescript
|
|
3181
|
-
const Flex:
|
|
3418
|
+
const Flex: ForwardRefExoticComponent<
|
|
3419
|
+
{
|
|
3420
|
+
children?: ReactNode
|
|
3421
|
+
direction?: 'row' | 'column' | 'row-reverse' | 'column-reverse' | undefined
|
|
3422
|
+
justify?: 'start' | 'end' | 'center' | 'between' | 'around' | 'evenly' | undefined
|
|
3423
|
+
align?: 'start' | 'end' | 'center' | 'baseline' | 'stretch' | undefined
|
|
3424
|
+
wrap?: 'wrap' | 'nowrap' | 'wrap-reverse' | undefined
|
|
3425
|
+
gap?: (Size | string | number) | undefined
|
|
3426
|
+
id?: string | undefined
|
|
3427
|
+
title?: string | undefined
|
|
3428
|
+
tabIndex?: number | undefined
|
|
3429
|
+
role?: ElementRole | undefined
|
|
3430
|
+
'aria-label'?: string | undefined
|
|
3431
|
+
'aria-labelledby'?: string | undefined
|
|
3432
|
+
'aria-describedby'?: string | undefined
|
|
3433
|
+
'aria-hidden'?: boolean | undefined
|
|
3434
|
+
'aria-disabled'?: boolean | undefined
|
|
3435
|
+
'aria-expanded'?: boolean | undefined
|
|
3436
|
+
'aria-selected'?: boolean | undefined
|
|
3437
|
+
'aria-checked'?: boolean | 'mixed' | undefined
|
|
3438
|
+
'aria-pressed'?: boolean | 'mixed' | undefined
|
|
3439
|
+
'aria-invalid'?: boolean | undefined
|
|
3440
|
+
'aria-required'?: boolean | undefined
|
|
3441
|
+
'aria-readonly'?: boolean | undefined
|
|
3442
|
+
'aria-busy'?: boolean | undefined
|
|
3443
|
+
'aria-live'?: 'off' | 'polite' | 'assertive' | undefined
|
|
3444
|
+
onClick?: MouseEventHandler | undefined
|
|
3445
|
+
onDoubleClick?: MouseEventHandler | undefined
|
|
3446
|
+
onMouseEnter?: MouseEventHandler | undefined
|
|
3447
|
+
onMouseLeave?: MouseEventHandler | undefined
|
|
3448
|
+
onFocus?: FocusEventHandler | undefined
|
|
3449
|
+
onBlur?: FocusEventHandler | undefined
|
|
3450
|
+
onKeyDown?: KeyboardEventHandler | undefined
|
|
3451
|
+
onKeyUp?: KeyboardEventHandler | undefined
|
|
3452
|
+
onKeyPress?: KeyboardEventHandler | undefined
|
|
3453
|
+
className?: string | undefined
|
|
3454
|
+
style?: CSSProperties | undefined
|
|
3455
|
+
testId?: string | undefined
|
|
3456
|
+
automationId?: string | undefined
|
|
3457
|
+
disabled?: boolean | undefined
|
|
3458
|
+
lang?: string | undefined
|
|
3459
|
+
} & RefAttributes<HTMLDivElement>
|
|
3460
|
+
>
|
|
3182
3461
|
```
|
|
3183
3462
|
|
|
3184
3463
|
#### `Grid`
|
|
@@ -3186,7 +3465,49 @@ const Flex: React.ForwardRefExoticComponent<FlexProps & React.RefAttributes<HTML
|
|
|
3186
3465
|
Grid container component.
|
|
3187
3466
|
|
|
3188
3467
|
```typescript
|
|
3189
|
-
const Grid:
|
|
3468
|
+
const Grid: ForwardRefExoticComponent<
|
|
3469
|
+
{
|
|
3470
|
+
children?: ReactNode
|
|
3471
|
+
columns?: number | string | undefined
|
|
3472
|
+
rows?: number | string | undefined
|
|
3473
|
+
gap?: (Size | string | number) | undefined
|
|
3474
|
+
columnGap?: (Size | string | number) | undefined
|
|
3475
|
+
rowGap?: (Size | string | number) | undefined
|
|
3476
|
+
id?: string | undefined
|
|
3477
|
+
title?: string | undefined
|
|
3478
|
+
tabIndex?: number | undefined
|
|
3479
|
+
role?: ElementRole | undefined
|
|
3480
|
+
'aria-label'?: string | undefined
|
|
3481
|
+
'aria-labelledby'?: string | undefined
|
|
3482
|
+
'aria-describedby'?: string | undefined
|
|
3483
|
+
'aria-hidden'?: boolean | undefined
|
|
3484
|
+
'aria-disabled'?: boolean | undefined
|
|
3485
|
+
'aria-expanded'?: boolean | undefined
|
|
3486
|
+
'aria-selected'?: boolean | undefined
|
|
3487
|
+
'aria-checked'?: boolean | 'mixed' | undefined
|
|
3488
|
+
'aria-pressed'?: boolean | 'mixed' | undefined
|
|
3489
|
+
'aria-invalid'?: boolean | undefined
|
|
3490
|
+
'aria-required'?: boolean | undefined
|
|
3491
|
+
'aria-readonly'?: boolean | undefined
|
|
3492
|
+
'aria-busy'?: boolean | undefined
|
|
3493
|
+
'aria-live'?: 'off' | 'polite' | 'assertive' | undefined
|
|
3494
|
+
onClick?: MouseEventHandler | undefined
|
|
3495
|
+
onDoubleClick?: MouseEventHandler | undefined
|
|
3496
|
+
onMouseEnter?: MouseEventHandler | undefined
|
|
3497
|
+
onMouseLeave?: MouseEventHandler | undefined
|
|
3498
|
+
onFocus?: FocusEventHandler | undefined
|
|
3499
|
+
onBlur?: FocusEventHandler | undefined
|
|
3500
|
+
onKeyDown?: KeyboardEventHandler | undefined
|
|
3501
|
+
onKeyUp?: KeyboardEventHandler | undefined
|
|
3502
|
+
onKeyPress?: KeyboardEventHandler | undefined
|
|
3503
|
+
className?: string | undefined
|
|
3504
|
+
style?: CSSProperties | undefined
|
|
3505
|
+
testId?: string | undefined
|
|
3506
|
+
automationId?: string | undefined
|
|
3507
|
+
disabled?: boolean | undefined
|
|
3508
|
+
lang?: string | undefined
|
|
3509
|
+
} & RefAttributes<HTMLDivElement>
|
|
3510
|
+
>
|
|
3190
3511
|
```
|
|
3191
3512
|
|
|
3192
3513
|
#### `Spacer`
|
|
@@ -3194,7 +3515,7 @@ const Grid: React.ForwardRefExoticComponent<GridProps & React.RefAttributes<HTML
|
|
|
3194
3515
|
Spacer component.
|
|
3195
3516
|
|
|
3196
3517
|
```typescript
|
|
3197
|
-
const Spacer:
|
|
3518
|
+
const Spacer: ForwardRefExoticComponent<SpacerProps & RefAttributes<HTMLDivElement>>
|
|
3198
3519
|
```
|
|
3199
3520
|
|
|
3200
3521
|
#### `Modal`
|
|
@@ -3235,7 +3556,17 @@ action buttons for a consistent page heading area.
|
|
|
3235
3556
|
|
|
3236
3557
|
```typescript
|
|
3237
3558
|
const PageHeader: React.ForwardRefExoticComponent<
|
|
3238
|
-
|
|
3559
|
+
{
|
|
3560
|
+
title: string
|
|
3561
|
+
description?: string | undefined
|
|
3562
|
+
actions?: React.ReactNode
|
|
3563
|
+
breadcrumbs?: Array<{ label: string; href?: string }> | undefined
|
|
3564
|
+
className?: string | undefined
|
|
3565
|
+
style?: CSSProperties | undefined
|
|
3566
|
+
testId?: string | undefined
|
|
3567
|
+
automationId?: string | undefined
|
|
3568
|
+
disabled?: boolean | undefined
|
|
3569
|
+
} & React.RefAttributes<HTMLDivElement>
|
|
3239
3570
|
>
|
|
3240
3571
|
```
|
|
3241
3572
|
|
|
@@ -3247,8 +3578,19 @@ Provides the top-level layout for authenticated pages with an optional
|
|
|
3247
3578
|
collapsible sidebar, a top bar, and a scrollable main content area.
|
|
3248
3579
|
|
|
3249
3580
|
```typescript
|
|
3250
|
-
const PageShell:
|
|
3251
|
-
|
|
3581
|
+
const PageShell: ForwardRefExoticComponent<
|
|
3582
|
+
{
|
|
3583
|
+
sidebar?: ReactNode
|
|
3584
|
+
topbar?: ReactNode
|
|
3585
|
+
sidebarCollapsed?: boolean | undefined
|
|
3586
|
+
onSidebarToggle?: (() => void) | undefined
|
|
3587
|
+
children?: ReactNode
|
|
3588
|
+
className?: string | undefined
|
|
3589
|
+
style?: CSSProperties | undefined
|
|
3590
|
+
testId?: string | undefined
|
|
3591
|
+
automationId?: string | undefined
|
|
3592
|
+
disabled?: boolean | undefined
|
|
3593
|
+
} & RefAttributes<HTMLDivElement>
|
|
3252
3594
|
>
|
|
3253
3595
|
```
|
|
3254
3596
|
|
|
@@ -3470,7 +3812,7 @@ Peer dependencies:
|
|
|
3470
3812
|
- `@molecule/app-i18n` ^1.3.0
|
|
3471
3813
|
- `@molecule/app-icons` ^1.0.1
|
|
3472
3814
|
- `@molecule/app-react` ^4.17.0 || ^5.0.0
|
|
3473
|
-
- `@molecule/app-ui` ^1.
|
|
3815
|
+
- `@molecule/app-ui` ^1.18.0
|
|
3474
3816
|
- `@molecule/app-ui-react-native` ^2.3.0 _(optional)_
|
|
3475
3817
|
- `react` ^18.0.0 || ^19.0.0
|
|
3476
3818
|
- `react-dom` ^18.0.0 || ^19.0.0
|