@amsterdam/design-system-react 0.11.0 → 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 +749 -245
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +291 -128
- package/dist/index.esm.js +745 -246
- 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,68 +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
813
|
declare const Dialog: react.ForwardRefExoticComponent<{
|
|
613
|
-
/** The button(s) in the footer. Start with a primary button. */
|
|
614
|
-
actions?: ReactNode;
|
|
615
814
|
/** The label for the button that dismisses the Dialog. */
|
|
616
815
|
closeButtonLabel?: string;
|
|
816
|
+
/** Content for the footer, often one Button or an Action Group containing more of them. */
|
|
817
|
+
footer?: ReactNode;
|
|
617
818
|
/** The text for the Heading. */
|
|
618
819
|
heading: string;
|
|
619
820
|
} & DialogHTMLAttributes<HTMLDialogElement> & {
|
|
620
821
|
children?: ReactNode | undefined;
|
|
621
|
-
} & react.RefAttributes<HTMLDialogElement
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
cover?: boolean;
|
|
626
|
-
} & ImgHTMLAttributes<HTMLImageElement>;
|
|
627
|
-
declare const Image: react.ForwardRefExoticComponent<{
|
|
628
|
-
/** Whether to display the image exactly as large as its container. This will clip the image if necessary. */
|
|
629
|
-
cover?: boolean;
|
|
630
|
-
} & ImgHTMLAttributes<HTMLImageElement> & react.RefAttributes<HTMLImageElement>>;
|
|
822
|
+
} & react.RefAttributes<HTMLDialogElement>> & {
|
|
823
|
+
close: (event: MouseEvent<HTMLButtonElement>) => void | undefined;
|
|
824
|
+
open: (id: string) => void;
|
|
825
|
+
};
|
|
631
826
|
|
|
632
827
|
type PaginationProps = {
|
|
633
828
|
/** The maximum amount of pages shown. Minimum value: 5. */
|
|
634
829
|
maxVisiblePages?: number;
|
|
635
|
-
/** The
|
|
636
|
-
nextAriaLabel?: string;
|
|
637
|
-
/** The label for the link to the next page. */
|
|
830
|
+
/** The visible label for the next page-button. */
|
|
638
831
|
nextLabel?: string;
|
|
832
|
+
/** The accessible name for the next page-button. */
|
|
833
|
+
nextVisuallyHiddenLabel?: string;
|
|
639
834
|
/** A function to run when the page number changes. */
|
|
640
835
|
onPageChange?: (page: number) => void;
|
|
641
836
|
/** The current page number. */
|
|
642
837
|
page?: number;
|
|
643
|
-
/** The
|
|
644
|
-
previousAriaLabel?: string;
|
|
645
|
-
/** The label for the link to the previous page. */
|
|
838
|
+
/** The visible label for the previous page-button. */
|
|
646
839
|
previousLabel?: string;
|
|
840
|
+
/** The accessible name for the previous page-button. */
|
|
841
|
+
previousVisuallyHiddenLabel?: string;
|
|
647
842
|
/** The total amount of pages. */
|
|
648
843
|
totalPages: number;
|
|
844
|
+
/** The accessible name for the Pagination component. */
|
|
845
|
+
visuallyHiddenLabel?: string;
|
|
649
846
|
} & HTMLAttributes<HTMLElement>;
|
|
650
847
|
declare const Pagination: react.ForwardRefExoticComponent<{
|
|
651
848
|
/** The maximum amount of pages shown. Minimum value: 5. */
|
|
652
849
|
maxVisiblePages?: number;
|
|
653
|
-
/** The
|
|
654
|
-
nextAriaLabel?: string;
|
|
655
|
-
/** The label for the link to the next page. */
|
|
850
|
+
/** The visible label for the next page-button. */
|
|
656
851
|
nextLabel?: string;
|
|
852
|
+
/** The accessible name for the next page-button. */
|
|
853
|
+
nextVisuallyHiddenLabel?: string;
|
|
657
854
|
/** A function to run when the page number changes. */
|
|
658
855
|
onPageChange?: (page: number) => void;
|
|
659
856
|
/** The current page number. */
|
|
660
857
|
page?: number;
|
|
661
|
-
/** The
|
|
662
|
-
previousAriaLabel?: string;
|
|
663
|
-
/** The label for the link to the previous page. */
|
|
858
|
+
/** The visible label for the previous page-button. */
|
|
664
859
|
previousLabel?: string;
|
|
860
|
+
/** The accessible name for the previous page-button. */
|
|
861
|
+
previousVisuallyHiddenLabel?: string;
|
|
665
862
|
/** The total amount of pages. */
|
|
666
863
|
totalPages: number;
|
|
864
|
+
/** The accessible name for the Pagination component. */
|
|
865
|
+
visuallyHiddenLabel?: string;
|
|
667
866
|
} & HTMLAttributes<HTMLElement> & react.RefAttributes<HTMLElement>>;
|
|
668
867
|
|
|
669
868
|
type ScreenMaxWidth = 'wide' | 'x-wide';
|
|
@@ -762,18 +961,6 @@ declare const Alert: react.ForwardRefExoticComponent<{
|
|
|
762
961
|
children?: react.ReactNode | undefined;
|
|
763
962
|
} & react.RefAttributes<HTMLDivElement>>;
|
|
764
963
|
|
|
765
|
-
type Ratio = 'x-tall' | 'tall' | 'square' | 'wide' | 'x-wide' | '2x-wide';
|
|
766
|
-
type AspectRatioProps = {
|
|
767
|
-
/** The dimensions. */
|
|
768
|
-
ratio?: Ratio;
|
|
769
|
-
} & PropsWithChildren<HTMLAttributes<HTMLDivElement>>;
|
|
770
|
-
declare const AspectRatio: react.ForwardRefExoticComponent<{
|
|
771
|
-
/** The dimensions. */
|
|
772
|
-
ratio?: Ratio;
|
|
773
|
-
} & HTMLAttributes<HTMLDivElement> & {
|
|
774
|
-
children?: react.ReactNode | undefined;
|
|
775
|
-
} & react.RefAttributes<HTMLDivElement>>;
|
|
776
|
-
|
|
777
964
|
type FooterProps = PropsWithChildren<HTMLAttributes<HTMLElement>>;
|
|
778
965
|
declare const Footer: react.ForwardRefExoticComponent<HTMLAttributes<HTMLElement> & {
|
|
779
966
|
children?: react.ReactNode | undefined;
|
|
@@ -893,31 +1080,65 @@ declare const Breadcrumb: react.ForwardRefExoticComponent<HTMLAttributes<HTMLEle
|
|
|
893
1080
|
Link: react.ForwardRefExoticComponent<BreadcrumbLinkProps & react.RefAttributes<HTMLAnchorElement>>;
|
|
894
1081
|
};
|
|
895
1082
|
|
|
896
|
-
type LinkOnBackground = 'default' | 'light' | 'dark';
|
|
897
1083
|
type LinkVariant = 'standalone' | 'inline';
|
|
898
1084
|
type LinkProps = {
|
|
899
|
-
/**
|
|
900
|
-
|
|
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;
|
|
901
1089
|
/** Whether the link is inline or stands alone. */
|
|
902
1090
|
variant?: LinkVariant;
|
|
903
1091
|
} & Omit<AnchorHTMLAttributes<HTMLAnchorElement>, 'placeholder'>;
|
|
904
1092
|
declare const Link: react.ForwardRefExoticComponent<{
|
|
905
|
-
/**
|
|
906
|
-
|
|
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;
|
|
907
1097
|
/** Whether the link is inline or stands alone. */
|
|
908
1098
|
variant?: LinkVariant;
|
|
909
1099
|
} & Omit<AnchorHTMLAttributes<HTMLAnchorElement>, "placeholder"> & react.RefAttributes<HTMLAnchorElement>>;
|
|
910
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
|
+
};
|
|
911
1137
|
type ButtonProps = {
|
|
912
1138
|
/** The level of prominence. Use a primary button only once per page or section. */
|
|
913
1139
|
variant?: 'primary' | 'secondary' | 'tertiary';
|
|
914
|
-
} & PropsWithChildren<ButtonHTMLAttributes<HTMLButtonElement>>;
|
|
915
|
-
declare const Button: react.ForwardRefExoticComponent<
|
|
916
|
-
/** The level of prominence. Use a primary button only once per page or section. */
|
|
917
|
-
variant?: "primary" | "secondary" | "tertiary";
|
|
918
|
-
} & ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
919
|
-
children?: react.ReactNode | undefined;
|
|
920
|
-
} & react.RefAttributes<HTMLButtonElement>>;
|
|
1140
|
+
} & (IconButtonProps | TextButtonProps) & PropsWithChildren<ButtonHTMLAttributes<HTMLButtonElement>>;
|
|
1141
|
+
declare const Button: react.ForwardRefExoticComponent<ButtonProps & react.RefAttributes<HTMLButtonElement>>;
|
|
921
1142
|
|
|
922
1143
|
type ParagraphProps = {
|
|
923
1144
|
/** Changes the text colour for readability on a dark background. */
|
|
@@ -936,6 +1157,9 @@ declare const Paragraph: react.ForwardRefExoticComponent<{
|
|
|
936
1157
|
|
|
937
1158
|
declare const Label: react.ForwardRefExoticComponent<LabelHTMLAttributes<HTMLLabelElement> & {
|
|
938
1159
|
children?: react.ReactNode | undefined;
|
|
1160
|
+
} & react.HTMLAttributes<HTMLElement> & {
|
|
1161
|
+
hint?: string;
|
|
1162
|
+
optional?: boolean;
|
|
939
1163
|
} & react.RefAttributes<HTMLLabelElement>>;
|
|
940
1164
|
|
|
941
1165
|
type UnorderedListProps = {
|
|
@@ -963,23 +1187,6 @@ declare const UnorderedList: react.ForwardRefExoticComponent<{
|
|
|
963
1187
|
|
|
964
1188
|
type UnorderedListItemProps = PropsWithChildren<LiHTMLAttributes<HTMLLIElement>>;
|
|
965
1189
|
|
|
966
|
-
type IconProps = {
|
|
967
|
-
/** The size of the icon. Corresponds with the text levels. */
|
|
968
|
-
size?: 'level-3' | 'level-4' | 'level-5' | 'level-6';
|
|
969
|
-
/** Whether the icon container should be made square. */
|
|
970
|
-
square?: boolean;
|
|
971
|
-
/** The component rendering the icon’s markup. */
|
|
972
|
-
svg: Function;
|
|
973
|
-
} & HTMLAttributes<HTMLSpanElement>;
|
|
974
|
-
declare const Icon: react.ForwardRefExoticComponent<{
|
|
975
|
-
/** The size of the icon. Corresponds with the text levels. */
|
|
976
|
-
size?: "level-3" | "level-4" | "level-5" | "level-6";
|
|
977
|
-
/** Whether the icon container should be made square. */
|
|
978
|
-
square?: boolean;
|
|
979
|
-
/** The component rendering the icon’s markup. */
|
|
980
|
-
svg: Function;
|
|
981
|
-
} & HTMLAttributes<HTMLSpanElement> & react.RefAttributes<HTMLElement>>;
|
|
982
|
-
|
|
983
1190
|
type AccordionProps = {
|
|
984
1191
|
/** The hierarchical level of the Accordion Section heading(s) within the document. */
|
|
985
1192
|
headingLevel: HeadingProps['level'];
|
|
@@ -1009,48 +1216,4 @@ type AccordionSectionProps = {
|
|
|
1009
1216
|
expanded?: boolean;
|
|
1010
1217
|
} & PropsWithChildren<HTMLAttributes<HTMLElement>>;
|
|
1011
1218
|
|
|
1012
|
-
type
|
|
1013
|
-
/** Lets the cell span the full width of all grid variants. */
|
|
1014
|
-
span: 'all';
|
|
1015
|
-
start?: never;
|
|
1016
|
-
};
|
|
1017
|
-
type GridCellSpanAndStartProps = {
|
|
1018
|
-
/** The amount of grid columns the cell spans. */
|
|
1019
|
-
span?: GridColumnNumber | GridColumnNumbers;
|
|
1020
|
-
/** The index of the grid column the cell starts at. */
|
|
1021
|
-
start?: GridColumnNumber | GridColumnNumbers;
|
|
1022
|
-
};
|
|
1023
|
-
type GridCellProps = {
|
|
1024
|
-
/** The HTML element to use. */
|
|
1025
|
-
as?: 'article' | 'div' | 'section';
|
|
1026
|
-
} & (GridCellSpanAllProp | GridCellSpanAndStartProps) & PropsWithChildren<HTMLAttributes<HTMLElement>>;
|
|
1027
|
-
|
|
1028
|
-
type GridColumnNumber = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
1029
|
-
type GridColumnNumbers = {
|
|
1030
|
-
narrow: GridColumnNumber;
|
|
1031
|
-
medium: GridColumnNumber;
|
|
1032
|
-
wide: GridColumnNumber;
|
|
1033
|
-
};
|
|
1034
|
-
type GridPaddingSize = 'small' | 'medium' | 'large';
|
|
1035
|
-
type GridPaddingVerticalProp = {
|
|
1036
|
-
paddingBottom?: never;
|
|
1037
|
-
paddingTop?: never;
|
|
1038
|
-
/** The amount of space above and below. */
|
|
1039
|
-
paddingVertical?: GridPaddingSize;
|
|
1040
|
-
};
|
|
1041
|
-
type GridPaddingTopAndBottomProps = {
|
|
1042
|
-
/** The amount of space below. */
|
|
1043
|
-
paddingBottom?: GridPaddingSize;
|
|
1044
|
-
/** The amount of space above. */
|
|
1045
|
-
paddingTop?: GridPaddingSize;
|
|
1046
|
-
paddingVertical?: never;
|
|
1047
|
-
};
|
|
1048
|
-
type GridProps = {
|
|
1049
|
-
/** The amount of space between rows. */
|
|
1050
|
-
gapVertical?: 'none' | 'small' | 'large';
|
|
1051
|
-
} & (GridPaddingVerticalProp | GridPaddingTopAndBottomProps) & PropsWithChildren<HTMLAttributes<HTMLDivElement>>;
|
|
1052
|
-
declare const Grid: react.ForwardRefExoticComponent<GridProps & react.RefAttributes<HTMLDivElement>> & {
|
|
1053
|
-
Cell: react.ForwardRefExoticComponent<GridCellProps & react.RefAttributes<unknown>>;
|
|
1054
|
-
};
|
|
1055
|
-
|
|
1056
|
-
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 };
|
|
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 };
|