@amsterdam/design-system-react 0.11.1 → 0.12.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 +63 -11
- package/dist/index.cjs.js +741 -248
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +291 -130
- package/dist/index.esm.js +737 -247
- package/dist/index.esm.js.map +1 -1
- package/package.json +31 -27
package/dist/index.cjs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,173 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
-
import { PropsWithChildren, HTMLAttributes,
|
|
2
|
+
import { PropsWithChildren, HTMLAttributes, ImgHTMLAttributes, InputHTMLAttributes, AnchorHTMLAttributes, OptgroupHTMLAttributes, OptionHTMLAttributes, SelectHTMLAttributes, ReactNode, ButtonHTMLAttributes, TextareaHTMLAttributes, TableHTMLAttributes, SVGProps, ForwardRefExoticComponent, RefAttributes, DialogHTMLAttributes, MouseEvent, BlockquoteHTMLAttributes, OlHTMLAttributes, LiHTMLAttributes, LabelHTMLAttributes } from 'react';
|
|
3
|
+
|
|
4
|
+
type ActionGroupProps = PropsWithChildren<HTMLAttributes<HTMLDivElement>>;
|
|
5
|
+
declare const ActionGroup: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
|
|
6
|
+
children?: react.ReactNode | undefined;
|
|
7
|
+
} & react.RefAttributes<HTMLDivElement>>;
|
|
8
|
+
|
|
9
|
+
type GridCellSpanAllProp = {
|
|
10
|
+
/** Lets the cell span the full width of all grid variants. */
|
|
11
|
+
span: 'all';
|
|
12
|
+
start?: never;
|
|
13
|
+
};
|
|
14
|
+
type GridCellSpanAndStartProps = {
|
|
15
|
+
/** The amount of grid columns the cell spans. */
|
|
16
|
+
span?: GridColumnNumber | GridColumnNumbers;
|
|
17
|
+
/** The index of the grid column the cell starts at. */
|
|
18
|
+
start?: GridColumnNumber | GridColumnNumbers;
|
|
19
|
+
};
|
|
20
|
+
type GridCellProps = {
|
|
21
|
+
/** The HTML element to use. */
|
|
22
|
+
as?: 'article' | 'div' | 'section';
|
|
23
|
+
} & (GridCellSpanAllProp | GridCellSpanAndStartProps) & PropsWithChildren<HTMLAttributes<HTMLElement>>;
|
|
24
|
+
|
|
25
|
+
type GridColumnNumber = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
26
|
+
type GridColumnNumbers = {
|
|
27
|
+
narrow: 1 | 2 | 3 | 4;
|
|
28
|
+
medium: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;
|
|
29
|
+
wide: GridColumnNumber;
|
|
30
|
+
};
|
|
31
|
+
type GridPaddingSize = 'small' | 'medium' | 'large';
|
|
32
|
+
type GridPaddingVerticalProp = {
|
|
33
|
+
paddingBottom?: never;
|
|
34
|
+
paddingTop?: never;
|
|
35
|
+
/** The amount of space above and below. */
|
|
36
|
+
paddingVertical?: GridPaddingSize;
|
|
37
|
+
};
|
|
38
|
+
type GridPaddingTopAndBottomProps = {
|
|
39
|
+
/** The amount of space below. */
|
|
40
|
+
paddingBottom?: GridPaddingSize;
|
|
41
|
+
/** The amount of space above. */
|
|
42
|
+
paddingTop?: GridPaddingSize;
|
|
43
|
+
paddingVertical?: never;
|
|
44
|
+
};
|
|
45
|
+
type GridProps = {
|
|
46
|
+
/** The amount of space between rows. */
|
|
47
|
+
gapVertical?: 'none' | 'small' | 'large';
|
|
48
|
+
} & (GridPaddingVerticalProp | GridPaddingTopAndBottomProps) & PropsWithChildren<HTMLAttributes<HTMLDivElement>>;
|
|
49
|
+
declare const Grid: react.ForwardRefExoticComponent<GridProps & react.RefAttributes<HTMLDivElement>> & {
|
|
50
|
+
Cell: react.ForwardRefExoticComponent<GridCellProps & react.RefAttributes<unknown>>;
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
type BreakoutCellSpanAllProp = {
|
|
54
|
+
/** Lets the cell span the full width of all grid variants. */
|
|
55
|
+
colSpan: 'all';
|
|
56
|
+
colStart?: never;
|
|
57
|
+
/** The content of this cell.
|
|
58
|
+
* The Cell containing the Spotlight expands horizontally and vertically to cover the adjacent gaps and margins.
|
|
59
|
+
* The Cell containing the Image aligns itself to the bottom of the row, in case it is less tall than the text. */
|
|
60
|
+
has?: 'spotlight';
|
|
61
|
+
};
|
|
62
|
+
type BreakoutCellSpanAndStartProps = {
|
|
63
|
+
/** The amount of grid columns the cell spans. */
|
|
64
|
+
colSpan?: 'all' | GridColumnNumber | GridColumnNumbers;
|
|
65
|
+
/** The index of the grid column the cell starts at. */
|
|
66
|
+
colStart?: GridColumnNumber | GridColumnNumbers;
|
|
67
|
+
has?: 'figure';
|
|
68
|
+
};
|
|
69
|
+
type BreakoutCellRowSpanAndStartProps = {
|
|
70
|
+
/** The amount of grid rows the cell spans. */
|
|
71
|
+
rowSpan?: BreakoutRowNumber | BreakoutRowNumbers;
|
|
72
|
+
/** The index of the grid row the cell starts at. */
|
|
73
|
+
rowStart?: BreakoutRowNumber | BreakoutRowNumbers;
|
|
74
|
+
};
|
|
75
|
+
type BreakoutCellProps = {
|
|
76
|
+
/** The HTML element to use. */
|
|
77
|
+
as?: 'article' | 'div' | 'section';
|
|
78
|
+
} & (BreakoutCellSpanAllProp | BreakoutCellSpanAndStartProps) & BreakoutCellRowSpanAndStartProps & PropsWithChildren<HTMLAttributes<HTMLElement>>;
|
|
79
|
+
|
|
80
|
+
type BreakoutRowNumber = 1 | 2 | 3 | 4;
|
|
81
|
+
type BreakoutRowNumbers = {
|
|
82
|
+
narrow: BreakoutRowNumber;
|
|
83
|
+
medium: BreakoutRowNumber;
|
|
84
|
+
wide: BreakoutRowNumber;
|
|
85
|
+
};
|
|
86
|
+
type BreakoutProps = GridProps;
|
|
87
|
+
declare const Breakout: react.ForwardRefExoticComponent<GridProps & react.RefAttributes<HTMLDivElement>> & {
|
|
88
|
+
Cell: react.ForwardRefExoticComponent<BreakoutCellProps & react.RefAttributes<unknown>>;
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
type HintAndOptionalProps = {
|
|
92
|
+
/** Show a custom hint text. */
|
|
93
|
+
hint?: string;
|
|
94
|
+
/** Appends the text '(niet verplicht)' to the label or legend if no hint is provided. Use when the associated inputs are optional. */
|
|
95
|
+
optional?: boolean;
|
|
96
|
+
};
|
|
97
|
+
type HintProps = PropsWithChildren<HTMLAttributes<HTMLElement>> & HintAndOptionalProps;
|
|
98
|
+
declare const Hint: react.ForwardRefExoticComponent<HTMLAttributes<HTMLElement> & {
|
|
99
|
+
children?: react.ReactNode | undefined;
|
|
100
|
+
} & HintAndOptionalProps & react.RefAttributes<HTMLElement>>;
|
|
101
|
+
|
|
102
|
+
type Ratio = 'x-tall' | 'tall' | 'square' | 'wide' | 'x-wide' | '2x-wide';
|
|
103
|
+
type AspectRatioProps = {
|
|
104
|
+
/** The dimensions. */
|
|
105
|
+
ratio?: Ratio;
|
|
106
|
+
} & PropsWithChildren<HTMLAttributes<HTMLDivElement>>;
|
|
107
|
+
declare const AspectRatio: react.ForwardRefExoticComponent<{
|
|
108
|
+
/** The dimensions. */
|
|
109
|
+
ratio?: Ratio;
|
|
110
|
+
} & HTMLAttributes<HTMLDivElement> & {
|
|
111
|
+
children?: react.ReactNode | undefined;
|
|
112
|
+
} & react.RefAttributes<HTMLDivElement>>;
|
|
113
|
+
|
|
114
|
+
type ImageProps = {
|
|
115
|
+
/** Whether to display the image exactly as large as its container. This will clip the image if necessary. */
|
|
116
|
+
cover?: boolean;
|
|
117
|
+
} & ImgHTMLAttributes<HTMLImageElement>;
|
|
118
|
+
declare const Image: react.ForwardRefExoticComponent<{
|
|
119
|
+
/** Whether to display the image exactly as large as its container. This will clip the image if necessary. */
|
|
120
|
+
cover?: boolean;
|
|
121
|
+
} & ImgHTMLAttributes<HTMLImageElement> & react.RefAttributes<HTMLImageElement>>;
|
|
122
|
+
|
|
123
|
+
type ImageSliderImageProps = ImageProps & {
|
|
124
|
+
/** Specify the aspect ratio to use for the images. */
|
|
125
|
+
aspectRatio: Ratio;
|
|
126
|
+
};
|
|
127
|
+
type ImageSliderProps = {
|
|
128
|
+
/** Display buttons to navigate to the previous or next image. */
|
|
129
|
+
controls?: boolean;
|
|
130
|
+
/** Label for the image if you need to translate the alt text. */
|
|
131
|
+
imageLabel?: string;
|
|
132
|
+
/** The set of images to display. */
|
|
133
|
+
images: ImageSliderImageProps[];
|
|
134
|
+
/** The label for the ‘next’ button */
|
|
135
|
+
nextLabel?: string;
|
|
136
|
+
/** The label for the ‘previous’ button */
|
|
137
|
+
previousLabel?: string;
|
|
138
|
+
} & HTMLAttributes<HTMLDivElement>;
|
|
139
|
+
declare const ImageSlider: react.ForwardRefExoticComponent<{
|
|
140
|
+
/** Display buttons to navigate to the previous or next image. */
|
|
141
|
+
controls?: boolean;
|
|
142
|
+
/** Label for the image if you need to translate the alt text. */
|
|
143
|
+
imageLabel?: string;
|
|
144
|
+
/** The set of images to display. */
|
|
145
|
+
images: ImageSliderImageProps[];
|
|
146
|
+
/** The label for the ‘next’ button */
|
|
147
|
+
nextLabel?: string;
|
|
148
|
+
/** The label for the ‘previous’ button */
|
|
149
|
+
previousLabel?: string;
|
|
150
|
+
} & HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>> & {
|
|
151
|
+
Item: react.ForwardRefExoticComponent<{
|
|
152
|
+
slideId: number;
|
|
153
|
+
} & HTMLAttributes<HTMLDivElement> & {
|
|
154
|
+
children?: react.ReactNode | undefined;
|
|
155
|
+
} & react.RefAttributes<HTMLDivElement>>;
|
|
156
|
+
};
|
|
157
|
+
|
|
158
|
+
type ImageSliderItemProps = {
|
|
159
|
+
/** The identifier of the item. Must match the key or order of the slides (starting at 0). */
|
|
160
|
+
slideId: number;
|
|
161
|
+
} & PropsWithChildren<HTMLAttributes<HTMLDivElement>>;
|
|
162
|
+
|
|
163
|
+
type PasswordInputProps = {
|
|
164
|
+
/** Whether the value fails a validation rule. */
|
|
165
|
+
invalid?: boolean;
|
|
166
|
+
} & Omit<InputHTMLAttributes<HTMLInputElement>, 'aria-invalid' | 'autoCapitalize' | 'autoCorrect' | 'spellCheck' | 'type'>;
|
|
167
|
+
declare const PasswordInput: react.ForwardRefExoticComponent<{
|
|
168
|
+
/** Whether the value fails a validation rule. */
|
|
169
|
+
invalid?: boolean;
|
|
170
|
+
} & Omit<InputHTMLAttributes<HTMLInputElement>, "aria-invalid" | "autoCapitalize" | "autoCorrect" | "spellCheck" | "type"> & react.RefAttributes<HTMLInputElement>>;
|
|
3
171
|
|
|
4
172
|
type HeadingProps = {
|
|
5
173
|
/** Changes the text colour for readability on a dark background. */
|
|
@@ -28,6 +196,7 @@ type FormErrorListProps = {
|
|
|
28
196
|
/**
|
|
29
197
|
* The text following the error count.
|
|
30
198
|
* This is used to show the error count in the document title.
|
|
199
|
+
* @default { plural: 'invoerfouten', singular: 'invoerfout' }
|
|
31
200
|
*/
|
|
32
201
|
errorCountLabel?: {
|
|
33
202
|
plural: string;
|
|
@@ -35,13 +204,20 @@ type FormErrorListProps = {
|
|
|
35
204
|
};
|
|
36
205
|
/** The list of error messages to display. */
|
|
37
206
|
errors: FormError[];
|
|
38
|
-
/**
|
|
207
|
+
/**
|
|
208
|
+
* Whether the component receives focus on first render
|
|
209
|
+
* @default true
|
|
210
|
+
*/
|
|
39
211
|
focusOnRender?: boolean;
|
|
40
|
-
/**
|
|
212
|
+
/**
|
|
213
|
+
* The text for the Heading.
|
|
214
|
+
* @default Verbeter de fouten voor u verder gaat
|
|
215
|
+
*/
|
|
41
216
|
heading?: string;
|
|
42
217
|
/**
|
|
43
218
|
* The hierarchical level of the Heading within the document.
|
|
44
219
|
* Note: this intentionally does not change the font size.
|
|
220
|
+
* @default 2
|
|
45
221
|
*/
|
|
46
222
|
headingLevel?: HeadingProps['level'];
|
|
47
223
|
} & HTMLAttributes<HTMLDivElement>;
|
|
@@ -49,6 +225,7 @@ declare const FormErrorList: react.ForwardRefExoticComponent<{
|
|
|
49
225
|
/**
|
|
50
226
|
* The text following the error count.
|
|
51
227
|
* This is used to show the error count in the document title.
|
|
228
|
+
* @default { plural: 'invoerfouten', singular: 'invoerfout' }
|
|
52
229
|
*/
|
|
53
230
|
errorCountLabel?: {
|
|
54
231
|
plural: string;
|
|
@@ -56,13 +233,20 @@ declare const FormErrorList: react.ForwardRefExoticComponent<{
|
|
|
56
233
|
};
|
|
57
234
|
/** The list of error messages to display. */
|
|
58
235
|
errors: FormError[];
|
|
59
|
-
/**
|
|
236
|
+
/**
|
|
237
|
+
* Whether the component receives focus on first render
|
|
238
|
+
* @default true
|
|
239
|
+
*/
|
|
60
240
|
focusOnRender?: boolean;
|
|
61
|
-
/**
|
|
241
|
+
/**
|
|
242
|
+
* The text for the Heading.
|
|
243
|
+
* @default Verbeter de fouten voor u verder gaat
|
|
244
|
+
*/
|
|
62
245
|
heading?: string;
|
|
63
246
|
/**
|
|
64
247
|
* The hierarchical level of the Heading within the document.
|
|
65
248
|
* Note: this intentionally does not change the font size.
|
|
249
|
+
* @default 2
|
|
66
250
|
*/
|
|
67
251
|
headingLevel?: HeadingProps["level"];
|
|
68
252
|
} & HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
|
|
@@ -205,13 +389,17 @@ declare const CharacterCount: react.ForwardRefExoticComponent<HTMLAttributes<HTM
|
|
|
205
389
|
maxLength: number;
|
|
206
390
|
} & react.RefAttributes<HTMLDivElement>>;
|
|
207
391
|
|
|
392
|
+
declare const descriptionListTermsWidths: readonly ["sm", "md", "lg"];
|
|
393
|
+
type DescriptionListTermsWidth = (typeof descriptionListTermsWidths)[number];
|
|
208
394
|
type DescriptionListProps = {
|
|
209
395
|
/** Changes the text colour for readability on a dark background. */
|
|
210
396
|
inverseColor?: boolean;
|
|
397
|
+
termsWidth?: DescriptionListTermsWidth;
|
|
211
398
|
} & PropsWithChildren<HTMLAttributes<HTMLDListElement>>;
|
|
212
399
|
declare const DescriptionList: react.ForwardRefExoticComponent<{
|
|
213
400
|
/** Changes the text colour for readability on a dark background. */
|
|
214
401
|
inverseColor?: boolean;
|
|
402
|
+
termsWidth?: DescriptionListTermsWidth;
|
|
215
403
|
} & HTMLAttributes<HTMLDListElement> & {
|
|
216
404
|
children?: react.ReactNode | undefined;
|
|
217
405
|
} & react.RefAttributes<HTMLDListElement>> & {
|
|
@@ -295,14 +483,18 @@ declare const Row: react.ForwardRefExoticComponent<{
|
|
|
295
483
|
} & react.RefAttributes<unknown>>;
|
|
296
484
|
|
|
297
485
|
type RadioProps = {
|
|
486
|
+
/** An icon to display instead of the default icon. */
|
|
487
|
+
icon?: ReactNode;
|
|
298
488
|
/** Whether the value fails a validation rule. */
|
|
299
489
|
invalid?: boolean;
|
|
300
490
|
} & PropsWithChildren<Omit<InputHTMLAttributes<HTMLInputElement>, 'aria-invalid' | 'type'>>;
|
|
301
491
|
declare const Radio: react.ForwardRefExoticComponent<{
|
|
492
|
+
/** An icon to display instead of the default icon. */
|
|
493
|
+
icon?: ReactNode;
|
|
302
494
|
/** Whether the value fails a validation rule. */
|
|
303
495
|
invalid?: boolean;
|
|
304
496
|
} & Omit<InputHTMLAttributes<HTMLInputElement>, "aria-invalid" | "type"> & {
|
|
305
|
-
children?:
|
|
497
|
+
children?: ReactNode | undefined;
|
|
306
498
|
} & react.RefAttributes<HTMLInputElement>>;
|
|
307
499
|
|
|
308
500
|
type TabsProps = {
|
|
@@ -410,7 +602,7 @@ type FieldSetProps = PropsWithChildren<HTMLAttributes<HTMLFieldSetElement>> & {
|
|
|
410
602
|
invalid?: boolean;
|
|
411
603
|
/** The text for the caption. */
|
|
412
604
|
legend: string;
|
|
413
|
-
};
|
|
605
|
+
} & HintProps;
|
|
414
606
|
declare const FieldSet: react.ForwardRefExoticComponent<HTMLAttributes<HTMLFieldSetElement> & {
|
|
415
607
|
children?: react.ReactNode | undefined;
|
|
416
608
|
} & {
|
|
@@ -418,6 +610,9 @@ declare const FieldSet: react.ForwardRefExoticComponent<HTMLAttributes<HTMLField
|
|
|
418
610
|
invalid?: boolean;
|
|
419
611
|
/** The text for the caption. */
|
|
420
612
|
legend: string;
|
|
613
|
+
} & HTMLAttributes<HTMLElement> & {
|
|
614
|
+
hint?: string;
|
|
615
|
+
optional?: boolean;
|
|
421
616
|
} & react.RefAttributes<HTMLFieldSetElement>>;
|
|
422
617
|
|
|
423
618
|
type LinkListProps = PropsWithChildren<HTMLAttributes<HTMLUListElement>>;
|
|
@@ -426,19 +621,21 @@ declare const LinkList: react.ForwardRefExoticComponent<HTMLAttributes<HTMLUList
|
|
|
426
621
|
} & react.RefAttributes<HTMLUListElement>> & {
|
|
427
622
|
Link: react.ForwardRefExoticComponent<{
|
|
428
623
|
icon?: Function;
|
|
429
|
-
|
|
624
|
+
contrastColor?: boolean;
|
|
625
|
+
inverseColor?: boolean;
|
|
430
626
|
size?: "small" | "large";
|
|
431
627
|
} & react.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
432
628
|
children?: react.ReactNode | undefined;
|
|
433
629
|
} & react.RefAttributes<HTMLAnchorElement>>;
|
|
434
630
|
};
|
|
435
631
|
|
|
436
|
-
type BackgroundName = 'default' | 'light' | 'dark';
|
|
437
632
|
type LinkListLinkProps = {
|
|
438
633
|
/** An icon to display instead of the default chevron. Don’t mix custom icons with chevrons in one list. */
|
|
439
634
|
icon?: Function;
|
|
440
|
-
/**
|
|
441
|
-
|
|
635
|
+
/** Changes the text colour for readability on a light background. */
|
|
636
|
+
contrastColor?: boolean;
|
|
637
|
+
/** Changes the text colour for readability on a dark background. */
|
|
638
|
+
inverseColor?: boolean;
|
|
442
639
|
/** The size of the text. Use the same size for all items in the list. */
|
|
443
640
|
size?: 'small' | 'large';
|
|
444
641
|
} & PropsWithChildren<AnchorHTMLAttributes<HTMLAnchorElement>>;
|
|
@@ -496,11 +693,13 @@ declare const MegaMenu: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivEl
|
|
|
496
693
|
|
|
497
694
|
type MegaMenuListCategoryProps = PropsWithChildren<HTMLAttributes<HTMLDivElement>>;
|
|
498
695
|
|
|
499
|
-
type IconButtonProps = {
|
|
696
|
+
type IconButtonProps$1 = {
|
|
500
697
|
/** The accessible text for the button. Will be announced by screen readers. Should describe the button’s action. */
|
|
501
698
|
label: string;
|
|
502
|
-
/**
|
|
503
|
-
|
|
699
|
+
/** Changes the text colour for readability on a light (but not white) background. */
|
|
700
|
+
contrastColor?: boolean;
|
|
701
|
+
/** Changes the text colour for readability on a dark background. */
|
|
702
|
+
inverseColor?: boolean;
|
|
504
703
|
/** The size of the icon. Corresponds with the text levels. */
|
|
505
704
|
size?: 'level-3' | 'level-4' | 'level-5' | 'level-6';
|
|
506
705
|
/** The component rendering the icon’s markup. */
|
|
@@ -509,8 +708,10 @@ type IconButtonProps = {
|
|
|
509
708
|
declare const IconButton: react.ForwardRefExoticComponent<{
|
|
510
709
|
/** The accessible text for the button. Will be announced by screen readers. Should describe the button’s action. */
|
|
511
710
|
label: string;
|
|
512
|
-
/**
|
|
513
|
-
|
|
711
|
+
/** Changes the text colour for readability on a light (but not white) background. */
|
|
712
|
+
contrastColor?: boolean;
|
|
713
|
+
/** Changes the text colour for readability on a dark background. */
|
|
714
|
+
inverseColor?: boolean;
|
|
514
715
|
/** The size of the icon. Corresponds with the text levels. */
|
|
515
716
|
size?: "level-3" | "level-4" | "level-5" | "level-6";
|
|
516
717
|
/** The component rendering the icon’s markup. */
|
|
@@ -602,70 +803,66 @@ declare const SearchField: react.ForwardRefExoticComponent<HTMLAttributes<HTMLFo
|
|
|
602
803
|
};
|
|
603
804
|
|
|
604
805
|
type DialogProps = {
|
|
605
|
-
/** The button(s) in the footer. Start with a primary button. */
|
|
606
|
-
actions?: ReactNode;
|
|
607
806
|
/** The label for the button that dismisses the Dialog. */
|
|
608
807
|
closeButtonLabel?: string;
|
|
808
|
+
/** Content for the footer, often one Button or an Action Group containing more of them. */
|
|
809
|
+
footer?: ReactNode;
|
|
609
810
|
/** The text for the Heading. */
|
|
610
811
|
heading: string;
|
|
611
812
|
} & PropsWithChildren<DialogHTMLAttributes<HTMLDialogElement>>;
|
|
612
|
-
declare const closeDialog: (event: MouseEvent<HTMLButtonElement>) => void | undefined;
|
|
613
|
-
declare const openDialog: (id: string) => void;
|
|
614
813
|
declare const Dialog: react.ForwardRefExoticComponent<{
|
|
615
|
-
/** The button(s) in the footer. Start with a primary button. */
|
|
616
|
-
actions?: ReactNode;
|
|
617
814
|
/** The label for the button that dismisses the Dialog. */
|
|
618
815
|
closeButtonLabel?: string;
|
|
816
|
+
/** Content for the footer, often one Button or an Action Group containing more of them. */
|
|
817
|
+
footer?: ReactNode;
|
|
619
818
|
/** The text for the Heading. */
|
|
620
819
|
heading: string;
|
|
621
820
|
} & DialogHTMLAttributes<HTMLDialogElement> & {
|
|
622
821
|
children?: ReactNode | undefined;
|
|
623
|
-
} & react.RefAttributes<HTMLDialogElement
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
cover?: boolean;
|
|
628
|
-
} & ImgHTMLAttributes<HTMLImageElement>;
|
|
629
|
-
declare const Image: react.ForwardRefExoticComponent<{
|
|
630
|
-
/** Whether to display the image exactly as large as its container. This will clip the image if necessary. */
|
|
631
|
-
cover?: boolean;
|
|
632
|
-
} & ImgHTMLAttributes<HTMLImageElement> & react.RefAttributes<HTMLImageElement>>;
|
|
822
|
+
} & react.RefAttributes<HTMLDialogElement>> & {
|
|
823
|
+
close: (event: MouseEvent<HTMLButtonElement>) => void | undefined;
|
|
824
|
+
open: (id: string) => void;
|
|
825
|
+
};
|
|
633
826
|
|
|
634
827
|
type PaginationProps = {
|
|
635
828
|
/** The maximum amount of pages shown. Minimum value: 5. */
|
|
636
829
|
maxVisiblePages?: number;
|
|
637
|
-
/** The
|
|
638
|
-
nextAriaLabel?: string;
|
|
639
|
-
/** The label for the link to the next page. */
|
|
830
|
+
/** The visible label for the next page-button. */
|
|
640
831
|
nextLabel?: string;
|
|
832
|
+
/** The accessible name for the next page-button. */
|
|
833
|
+
nextVisuallyHiddenLabel?: string;
|
|
641
834
|
/** A function to run when the page number changes. */
|
|
642
835
|
onPageChange?: (page: number) => void;
|
|
643
836
|
/** The current page number. */
|
|
644
837
|
page?: number;
|
|
645
|
-
/** The
|
|
646
|
-
previousAriaLabel?: string;
|
|
647
|
-
/** The label for the link to the previous page. */
|
|
838
|
+
/** The visible label for the previous page-button. */
|
|
648
839
|
previousLabel?: string;
|
|
840
|
+
/** The accessible name for the previous page-button. */
|
|
841
|
+
previousVisuallyHiddenLabel?: string;
|
|
649
842
|
/** The total amount of pages. */
|
|
650
843
|
totalPages: number;
|
|
844
|
+
/** The accessible name for the Pagination component. */
|
|
845
|
+
visuallyHiddenLabel?: string;
|
|
651
846
|
} & HTMLAttributes<HTMLElement>;
|
|
652
847
|
declare const Pagination: react.ForwardRefExoticComponent<{
|
|
653
848
|
/** The maximum amount of pages shown. Minimum value: 5. */
|
|
654
849
|
maxVisiblePages?: number;
|
|
655
|
-
/** The
|
|
656
|
-
nextAriaLabel?: string;
|
|
657
|
-
/** The label for the link to the next page. */
|
|
850
|
+
/** The visible label for the next page-button. */
|
|
658
851
|
nextLabel?: string;
|
|
852
|
+
/** The accessible name for the next page-button. */
|
|
853
|
+
nextVisuallyHiddenLabel?: string;
|
|
659
854
|
/** A function to run when the page number changes. */
|
|
660
855
|
onPageChange?: (page: number) => void;
|
|
661
856
|
/** The current page number. */
|
|
662
857
|
page?: number;
|
|
663
|
-
/** The
|
|
664
|
-
previousAriaLabel?: string;
|
|
665
|
-
/** The label for the link to the previous page. */
|
|
858
|
+
/** The visible label for the previous page-button. */
|
|
666
859
|
previousLabel?: string;
|
|
860
|
+
/** The accessible name for the previous page-button. */
|
|
861
|
+
previousVisuallyHiddenLabel?: string;
|
|
667
862
|
/** The total amount of pages. */
|
|
668
863
|
totalPages: number;
|
|
864
|
+
/** The accessible name for the Pagination component. */
|
|
865
|
+
visuallyHiddenLabel?: string;
|
|
669
866
|
} & HTMLAttributes<HTMLElement> & react.RefAttributes<HTMLElement>>;
|
|
670
867
|
|
|
671
868
|
type ScreenMaxWidth = 'wide' | 'x-wide';
|
|
@@ -764,18 +961,6 @@ declare const Alert: react.ForwardRefExoticComponent<{
|
|
|
764
961
|
children?: react.ReactNode | undefined;
|
|
765
962
|
} & react.RefAttributes<HTMLDivElement>>;
|
|
766
963
|
|
|
767
|
-
type Ratio = 'x-tall' | 'tall' | 'square' | 'wide' | 'x-wide' | '2x-wide';
|
|
768
|
-
type AspectRatioProps = {
|
|
769
|
-
/** The dimensions. */
|
|
770
|
-
ratio?: Ratio;
|
|
771
|
-
} & PropsWithChildren<HTMLAttributes<HTMLDivElement>>;
|
|
772
|
-
declare const AspectRatio: react.ForwardRefExoticComponent<{
|
|
773
|
-
/** The dimensions. */
|
|
774
|
-
ratio?: Ratio;
|
|
775
|
-
} & HTMLAttributes<HTMLDivElement> & {
|
|
776
|
-
children?: react.ReactNode | undefined;
|
|
777
|
-
} & react.RefAttributes<HTMLDivElement>>;
|
|
778
|
-
|
|
779
964
|
type FooterProps = PropsWithChildren<HTMLAttributes<HTMLElement>>;
|
|
780
965
|
declare const Footer: react.ForwardRefExoticComponent<HTMLAttributes<HTMLElement> & {
|
|
781
966
|
children?: react.ReactNode | undefined;
|
|
@@ -895,31 +1080,65 @@ declare const Breadcrumb: react.ForwardRefExoticComponent<HTMLAttributes<HTMLEle
|
|
|
895
1080
|
Link: react.ForwardRefExoticComponent<BreadcrumbLinkProps & react.RefAttributes<HTMLAnchorElement>>;
|
|
896
1081
|
};
|
|
897
1082
|
|
|
898
|
-
type LinkOnBackground = 'default' | 'light' | 'dark';
|
|
899
1083
|
type LinkVariant = 'standalone' | 'inline';
|
|
900
1084
|
type LinkProps = {
|
|
901
|
-
/**
|
|
902
|
-
|
|
1085
|
+
/** Changes the text colour for readability on a light background. */
|
|
1086
|
+
contrastColor?: boolean;
|
|
1087
|
+
/** Changes the text colour for readability on a dark background. */
|
|
1088
|
+
inverseColor?: boolean;
|
|
903
1089
|
/** Whether the link is inline or stands alone. */
|
|
904
1090
|
variant?: LinkVariant;
|
|
905
1091
|
} & Omit<AnchorHTMLAttributes<HTMLAnchorElement>, 'placeholder'>;
|
|
906
1092
|
declare const Link: react.ForwardRefExoticComponent<{
|
|
907
|
-
/**
|
|
908
|
-
|
|
1093
|
+
/** Changes the text colour for readability on a light background. */
|
|
1094
|
+
contrastColor?: boolean;
|
|
1095
|
+
/** Changes the text colour for readability on a dark background. */
|
|
1096
|
+
inverseColor?: boolean;
|
|
909
1097
|
/** Whether the link is inline or stands alone. */
|
|
910
1098
|
variant?: LinkVariant;
|
|
911
1099
|
} & Omit<AnchorHTMLAttributes<HTMLAnchorElement>, "placeholder"> & react.RefAttributes<HTMLAnchorElement>>;
|
|
912
1100
|
|
|
1101
|
+
type IconProps = {
|
|
1102
|
+
/** The size of the icon. Corresponds with the text levels. */
|
|
1103
|
+
size?: 'level-3' | 'level-4' | 'level-5' | 'level-6';
|
|
1104
|
+
/** Whether the icon container should be made square. */
|
|
1105
|
+
square?: boolean;
|
|
1106
|
+
/** The component rendering the icon’s markup. */
|
|
1107
|
+
svg: Function;
|
|
1108
|
+
} & HTMLAttributes<HTMLSpanElement>;
|
|
1109
|
+
declare const Icon: react.ForwardRefExoticComponent<{
|
|
1110
|
+
/** The size of the icon. Corresponds with the text levels. */
|
|
1111
|
+
size?: "level-3" | "level-4" | "level-5" | "level-6";
|
|
1112
|
+
/** Whether the icon container should be made square. */
|
|
1113
|
+
square?: boolean;
|
|
1114
|
+
/** The component rendering the icon’s markup. */
|
|
1115
|
+
svg: Function;
|
|
1116
|
+
} & HTMLAttributes<HTMLSpanElement> & react.RefAttributes<HTMLElement>>;
|
|
1117
|
+
|
|
1118
|
+
type IconBeforeProp = {
|
|
1119
|
+
/** Shows the icon before the label. Requires a value for `icon`. Cannot be used together with `iconOnly`. */
|
|
1120
|
+
iconBefore?: boolean;
|
|
1121
|
+
iconOnly?: never;
|
|
1122
|
+
};
|
|
1123
|
+
type IconOnlyProp = {
|
|
1124
|
+
iconBefore?: never;
|
|
1125
|
+
/** Shows the icon without the label. Requires a value for `icon`. Cannot be used together with `iconBefore`. */
|
|
1126
|
+
iconOnly?: boolean;
|
|
1127
|
+
};
|
|
1128
|
+
type IconButtonProps = {
|
|
1129
|
+
/** Adds an icon to the button, showing it after the label. */
|
|
1130
|
+
icon: IconProps['svg'];
|
|
1131
|
+
} & (IconBeforeProp | IconOnlyProp);
|
|
1132
|
+
type TextButtonProps = {
|
|
1133
|
+
icon?: never;
|
|
1134
|
+
iconBefore?: never;
|
|
1135
|
+
iconOnly?: never;
|
|
1136
|
+
};
|
|
913
1137
|
type ButtonProps = {
|
|
914
1138
|
/** The level of prominence. Use a primary button only once per page or section. */
|
|
915
1139
|
variant?: 'primary' | 'secondary' | 'tertiary';
|
|
916
|
-
} & PropsWithChildren<ButtonHTMLAttributes<HTMLButtonElement>>;
|
|
917
|
-
declare const Button: react.ForwardRefExoticComponent<
|
|
918
|
-
/** The level of prominence. Use a primary button only once per page or section. */
|
|
919
|
-
variant?: "primary" | "secondary" | "tertiary";
|
|
920
|
-
} & ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
921
|
-
children?: react.ReactNode | undefined;
|
|
922
|
-
} & react.RefAttributes<HTMLButtonElement>>;
|
|
1140
|
+
} & (IconButtonProps | TextButtonProps) & PropsWithChildren<ButtonHTMLAttributes<HTMLButtonElement>>;
|
|
1141
|
+
declare const Button: react.ForwardRefExoticComponent<ButtonProps & react.RefAttributes<HTMLButtonElement>>;
|
|
923
1142
|
|
|
924
1143
|
type ParagraphProps = {
|
|
925
1144
|
/** Changes the text colour for readability on a dark background. */
|
|
@@ -938,6 +1157,9 @@ declare const Paragraph: react.ForwardRefExoticComponent<{
|
|
|
938
1157
|
|
|
939
1158
|
declare const Label: react.ForwardRefExoticComponent<LabelHTMLAttributes<HTMLLabelElement> & {
|
|
940
1159
|
children?: react.ReactNode | undefined;
|
|
1160
|
+
} & react.HTMLAttributes<HTMLElement> & {
|
|
1161
|
+
hint?: string;
|
|
1162
|
+
optional?: boolean;
|
|
941
1163
|
} & react.RefAttributes<HTMLLabelElement>>;
|
|
942
1164
|
|
|
943
1165
|
type UnorderedListProps = {
|
|
@@ -965,23 +1187,6 @@ declare const UnorderedList: react.ForwardRefExoticComponent<{
|
|
|
965
1187
|
|
|
966
1188
|
type UnorderedListItemProps = PropsWithChildren<LiHTMLAttributes<HTMLLIElement>>;
|
|
967
1189
|
|
|
968
|
-
type IconProps = {
|
|
969
|
-
/** The size of the icon. Corresponds with the text levels. */
|
|
970
|
-
size?: 'level-3' | 'level-4' | 'level-5' | 'level-6';
|
|
971
|
-
/** Whether the icon container should be made square. */
|
|
972
|
-
square?: boolean;
|
|
973
|
-
/** The component rendering the icon’s markup. */
|
|
974
|
-
svg: Function;
|
|
975
|
-
} & HTMLAttributes<HTMLSpanElement>;
|
|
976
|
-
declare const Icon: react.ForwardRefExoticComponent<{
|
|
977
|
-
/** The size of the icon. Corresponds with the text levels. */
|
|
978
|
-
size?: "level-3" | "level-4" | "level-5" | "level-6";
|
|
979
|
-
/** Whether the icon container should be made square. */
|
|
980
|
-
square?: boolean;
|
|
981
|
-
/** The component rendering the icon’s markup. */
|
|
982
|
-
svg: Function;
|
|
983
|
-
} & HTMLAttributes<HTMLSpanElement> & react.RefAttributes<HTMLElement>>;
|
|
984
|
-
|
|
985
1190
|
type AccordionProps = {
|
|
986
1191
|
/** The hierarchical level of the Accordion Section heading(s) within the document. */
|
|
987
1192
|
headingLevel: HeadingProps['level'];
|
|
@@ -1011,48 +1216,4 @@ type AccordionSectionProps = {
|
|
|
1011
1216
|
expanded?: boolean;
|
|
1012
1217
|
} & PropsWithChildren<HTMLAttributes<HTMLElement>>;
|
|
1013
1218
|
|
|
1014
|
-
type
|
|
1015
|
-
/** Lets the cell span the full width of all grid variants. */
|
|
1016
|
-
span: 'all';
|
|
1017
|
-
start?: never;
|
|
1018
|
-
};
|
|
1019
|
-
type GridCellSpanAndStartProps = {
|
|
1020
|
-
/** The amount of grid columns the cell spans. */
|
|
1021
|
-
span?: GridColumnNumber | GridColumnNumbers;
|
|
1022
|
-
/** The index of the grid column the cell starts at. */
|
|
1023
|
-
start?: GridColumnNumber | GridColumnNumbers;
|
|
1024
|
-
};
|
|
1025
|
-
type GridCellProps = {
|
|
1026
|
-
/** The HTML element to use. */
|
|
1027
|
-
as?: 'article' | 'div' | 'section';
|
|
1028
|
-
} & (GridCellSpanAllProp | GridCellSpanAndStartProps) & PropsWithChildren<HTMLAttributes<HTMLElement>>;
|
|
1029
|
-
|
|
1030
|
-
type GridColumnNumber = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
1031
|
-
type GridColumnNumbers = {
|
|
1032
|
-
narrow: GridColumnNumber;
|
|
1033
|
-
medium: GridColumnNumber;
|
|
1034
|
-
wide: GridColumnNumber;
|
|
1035
|
-
};
|
|
1036
|
-
type GridPaddingSize = 'small' | 'medium' | 'large';
|
|
1037
|
-
type GridPaddingVerticalProp = {
|
|
1038
|
-
paddingBottom?: never;
|
|
1039
|
-
paddingTop?: never;
|
|
1040
|
-
/** The amount of space above and below. */
|
|
1041
|
-
paddingVertical?: GridPaddingSize;
|
|
1042
|
-
};
|
|
1043
|
-
type GridPaddingTopAndBottomProps = {
|
|
1044
|
-
/** The amount of space below. */
|
|
1045
|
-
paddingBottom?: GridPaddingSize;
|
|
1046
|
-
/** The amount of space above. */
|
|
1047
|
-
paddingTop?: GridPaddingSize;
|
|
1048
|
-
paddingVertical?: never;
|
|
1049
|
-
};
|
|
1050
|
-
type GridProps = {
|
|
1051
|
-
/** The amount of space between rows. */
|
|
1052
|
-
gapVertical?: 'none' | 'small' | 'large';
|
|
1053
|
-
} & (GridPaddingVerticalProp | GridPaddingTopAndBottomProps) & PropsWithChildren<HTMLAttributes<HTMLDivElement>>;
|
|
1054
|
-
declare const Grid: react.ForwardRefExoticComponent<GridProps & react.RefAttributes<HTMLDivElement>> & {
|
|
1055
|
-
Cell: react.ForwardRefExoticComponent<GridCellProps & react.RefAttributes<unknown>>;
|
|
1056
|
-
};
|
|
1057
|
-
|
|
1058
|
-
export { Accordion, type AccordionProps, type AccordionSectionProps, Alert, type AlertProps, AspectRatio, type AspectRatioProps, Avatar, type AvatarProps, Badge, type BadgeProps, Blockquote, type BlockquoteProps, Breadcrumb, type BreadcrumbLinkProps, type BreadcrumbProps, Button, type ButtonProps, Card, type CardHeadingGroupProps, type CardLinkProps, type CardProps, CharacterCount, type CharacterCountProps, Checkbox, type CheckboxProps, Column, type ColumnProps, DateInput, type DateInputProps, DescriptionList, type DescriptionListDetailsProps, type DescriptionListProps, type DescriptionListTermProps, Dialog, type DialogProps, ErrorMessage, type ErrorMessageProps, Field, type FieldProps, FieldSet, type FieldSetProps, FileInput, type FileInputProps, Footer, type FooterBottomProps, type FooterProps, type FooterTopProps, type FormError, FormErrorList, type FormErrorListProps, Grid, type GridCellProps, type GridColumnNumber, type GridColumnNumbers, type GridProps, Header, type HeaderProps, Heading, type HeadingProps, Icon, IconButton, type IconButtonProps, type IconProps, Image, type ImageProps, Label, Link, LinkList, type LinkListLinkProps, type LinkListProps, type LinkProps, Logo, type LogoBrand, type LogoProps, Mark, type MarkProps, MegaMenu, type MegaMenuListCategoryProps, type MegaMenuProps, OrderedList, type OrderedListItemProps, type OrderedListProps, Overlap, type OverlapProps, PageHeading, type PageHeadingProps, PageMenu, type PageMenuLinkProps, type PageMenuProps, Pagination, type PaginationProps, Paragraph, type ParagraphProps, Radio, type RadioProps, type Ratio, Row, type RowProps, Screen, type ScreenProps, SearchField, type SearchFieldProps, Select, type SelectOptionProps, type SelectProps, SkipLink, type SkipLinkProps, Spotlight, type SpotlightProps, Switch, type SwitchProps, Table, TableOfContents, type TableOfContentsLinkProps, type TableOfContentsListProps, type TableOfContentsProps, type TableProps, Tabs, type TabsButtonProps, type TabsListProps, type TabsPanelProps, type TabsProps, TextArea, type TextAreaProps, TextInput, type TextInputProps, TimeInput, type TimeInputProps, TopTaskLink, UnorderedList, type UnorderedListItemProps, type UnorderedListProps, closeDialog, openDialog };
|
|
1219
|
+
export { Accordion, type AccordionProps, type AccordionSectionProps, ActionGroup, type ActionGroupProps, Alert, type AlertProps, AspectRatio, type AspectRatioProps, Avatar, type AvatarProps, Badge, type BadgeProps, Blockquote, type BlockquoteProps, Breadcrumb, type BreadcrumbLinkProps, type BreadcrumbProps, Breakout, type BreakoutCellProps, type BreakoutProps, Button, type ButtonProps, Card, type CardHeadingGroupProps, type CardLinkProps, type CardProps, CharacterCount, type CharacterCountProps, Checkbox, type CheckboxProps, Column, type ColumnProps, DateInput, type DateInputProps, DescriptionList, type DescriptionListDetailsProps, type DescriptionListProps, type DescriptionListTermProps, Dialog, type DialogProps, ErrorMessage, type ErrorMessageProps, Field, type FieldProps, FieldSet, type FieldSetProps, FileInput, type FileInputProps, Footer, type FooterBottomProps, type FooterProps, type FooterTopProps, type FormError, FormErrorList, type FormErrorListProps, Grid, type GridCellProps, type GridColumnNumber, type GridColumnNumbers, type GridProps, Header, type HeaderProps, Heading, type HeadingProps, Hint, type HintProps, Icon, IconButton, type IconButtonProps$1 as IconButtonProps, type IconProps, Image, type ImageProps, ImageSlider, type ImageSliderItemProps, type ImageSliderProps, Label, Link, LinkList, type LinkListLinkProps, type LinkListProps, type LinkProps, Logo, type LogoBrand, type LogoProps, Mark, type MarkProps, MegaMenu, type MegaMenuListCategoryProps, type MegaMenuProps, OrderedList, type OrderedListItemProps, type OrderedListProps, Overlap, type OverlapProps, PageHeading, type PageHeadingProps, PageMenu, type PageMenuLinkProps, type PageMenuProps, Pagination, type PaginationProps, Paragraph, type ParagraphProps, PasswordInput, type PasswordInputProps, Radio, type RadioProps, type Ratio, Row, type RowProps, Screen, type ScreenProps, SearchField, type SearchFieldProps, Select, type SelectOptionProps, type SelectProps, SkipLink, type SkipLinkProps, Spotlight, type SpotlightProps, Switch, type SwitchProps, Table, TableOfContents, type TableOfContentsLinkProps, type TableOfContentsListProps, type TableOfContentsProps, type TableProps, Tabs, type TabsButtonProps, type TabsListProps, type TabsPanelProps, type TabsProps, TextArea, type TextAreaProps, TextInput, type TextInputProps, TimeInput, type TimeInputProps, TopTaskLink, UnorderedList, type UnorderedListItemProps, type UnorderedListProps };
|