@obosbbl/grunnmuren-react 3.0.15 → 3.1.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/dist/__stories__/form-validation.stories.cjs +488 -0
- package/dist/__stories__/form-validation.stories.d.cts +11 -0
- package/dist/__stories__/form-validation.stories.d.ts +11 -0
- package/dist/__stories__/form-validation.stories.js +482 -0
- package/dist/__stories__/home.stories.cjs +32 -0
- package/dist/__stories__/home.stories.d.cts +10 -0
- package/dist/__stories__/home.stories.d.ts +10 -0
- package/dist/__stories__/home.stories.js +29 -0
- package/dist/__stories__/icons.stories.cjs +47 -0
- package/dist/__stories__/icons.stories.d.cts +8 -0
- package/dist/__stories__/icons.stories.d.ts +8 -0
- package/dist/__stories__/icons.stories.js +24 -0
- package/dist/__stories__/typography.stories.cjs +224 -0
- package/dist/__stories__/typography.stories.d.cts +14 -0
- package/dist/__stories__/typography.stories.d.ts +14 -0
- package/dist/__stories__/typography.stories.js +214 -0
- package/dist/index.d.mts +466 -481
- package/dist/index.mjs +1608 -1562
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -1,61 +1,118 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DisclosureProps as DisclosureProps$1, ButtonProps as ButtonProps$1, DisclosureGroupProps, LinkProps, BreadcrumbProps as BreadcrumbProps$1, BreadcrumbsProps as BreadcrumbsProps$1, ContextValue, CheckboxProps as CheckboxProps$1, CheckboxGroupProps as CheckboxGroupProps$1, HeadingProps as HeadingProps$1, ListBoxItemProps, ListBoxSectionProps, ComboBoxProps, FileTriggerProps as FileTriggerProps$1, RouterProvider, TextProps, LabelProps, DialogProps as DialogProps$1, DialogTriggerProps as DialogTriggerProps$1, ModalOverlayProps, NumberFieldProps as NumberFieldProps$1, RadioProps as RadioProps$1, RadioGroupProps as RadioGroupProps$1, SelectProps as SelectProps$1, TableProps as TableProps$1, TableBodyProps as TableBodyProps$1, CellProps, ColumnProps, TableHeaderProps as TableHeaderProps$1, RowProps, TabProps as TabProps$1, TabListProps as TabListProps$1, TabPanelProps as TabPanelProps$1, TabsProps as TabsProps$1, TagGroupProps as TagGroupProps$1, TagListProps as TagListProps$1, TagProps as TagProps$1, TextFieldProps as TextFieldProps$1 } from 'react-aria-components';
|
|
2
2
|
export { ListBoxItemProps as ComboboxItemProps, Form, Group, LabelProps, ListBoxItemProps as SelectItemProps, DisclosureGroup as UNSAFE_DisclosureGroup, DisclosureGroupProps as UNSAFE_DisclosureGroupProps } from 'react-aria-components';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import * as react from 'react';
|
|
5
|
-
import { Ref, HTMLProps,
|
|
5
|
+
import { RefAttributes, HTMLAttributes, ComponentProps, Ref, HTMLProps, JSX, ReactNode, RefObject, Dispatch, SetStateAction } from 'react';
|
|
6
6
|
import * as cva from 'cva';
|
|
7
7
|
import { VariantProps } from 'cva';
|
|
8
|
-
import { DateFormatterOptions } from 'react-aria';
|
|
9
8
|
import { DisclosureState } from 'react-stately';
|
|
9
|
+
import { DateFormatterOptions } from 'react-aria';
|
|
10
10
|
import { FormValidationProps } from '@react-stately/form';
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
12
|
+
declare const disclosureButtonVariants: (props?: ({
|
|
13
|
+
withChevron?: boolean | undefined;
|
|
14
|
+
isIconOnly?: boolean | undefined;
|
|
15
|
+
} & ({
|
|
16
|
+
class?: cva.ClassValue;
|
|
17
|
+
className?: never;
|
|
18
|
+
} | {
|
|
19
|
+
class?: never;
|
|
20
|
+
className?: cva.ClassValue;
|
|
21
|
+
})) | undefined) => string;
|
|
22
|
+
type DisclosureButtonProps = Omit<ButtonProps$1, 'children' | 'aria-expanded' | 'aria-controls'> & VariantProps<typeof disclosureButtonVariants> & {
|
|
20
23
|
children: React.ReactNode;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
locale?: Locale;
|
|
26
|
-
/** The router to use for client side navigation */
|
|
27
|
-
navigate?: RouterProviderProps['navigate'];
|
|
28
|
-
/** Converts a router-specific href to a native HTML href, e.g. prepending a base path */
|
|
29
|
-
useHref?: RouterProviderProps['useHref'];
|
|
24
|
+
} & RefAttributes<HTMLButtonElement>;
|
|
25
|
+
declare const DisclosureButton: ({ className, withChevron, isIconOnly, children, ref: _ref, ...restProps }: DisclosureButtonProps) => react_jsx_runtime.JSX.Element;
|
|
26
|
+
type DisclosureProps = DisclosureProps$1 & RefAttributes<HTMLDivElement> & {
|
|
27
|
+
className?: string;
|
|
30
28
|
};
|
|
31
|
-
declare
|
|
29
|
+
declare const DisclosureStateContext: react.Context<DisclosureState | null>;
|
|
30
|
+
declare const Disclosure: ({ ref: _ref, children, ..._props }: DisclosureProps) => react_jsx_runtime.JSX.Element;
|
|
31
|
+
type DisclosurePanelProps = Omit<HTMLAttributes<HTMLDivElement>, 'role'> & {
|
|
32
|
+
children: React.ReactNode;
|
|
33
|
+
role?: 'group' | 'region' | 'none';
|
|
34
|
+
} & RefAttributes<HTMLDivElement>;
|
|
35
|
+
declare const DisclosurePanel: ({ ref, children, ...props }: DisclosurePanelProps) => react_jsx_runtime.JSX.Element;
|
|
32
36
|
|
|
33
|
-
type AccordionProps = {
|
|
37
|
+
type AccordionProps = DisclosureGroupProps & {
|
|
34
38
|
children: React.ReactNode;
|
|
35
|
-
/**
|
|
36
|
-
|
|
37
|
-
/** Additional style properties for the element. */
|
|
38
|
-
style?: React.CSSProperties;
|
|
39
|
-
/** Ref to the element. */
|
|
40
|
-
ref?: Ref<HTMLDivElement>;
|
|
39
|
+
/** Whether multiple accordion items can be expanded at the same time. Default is true */
|
|
40
|
+
allowsMultipleExpanded?: boolean;
|
|
41
41
|
};
|
|
42
|
-
type AccordionItemProps = {
|
|
42
|
+
type AccordionItemProps = DisclosureProps & {
|
|
43
43
|
children?: React.ReactNode;
|
|
44
|
-
/**
|
|
45
|
-
className?: string;
|
|
46
|
-
/** Additional style properties for the element. */
|
|
47
|
-
style?: React.CSSProperties;
|
|
48
|
-
/** Whether the accordion is open (controlled) */
|
|
44
|
+
/** @deprecated use isExpanded instead */
|
|
49
45
|
isOpen?: boolean;
|
|
50
|
-
/**
|
|
46
|
+
/** @deprecated use defaultExpanded instead */
|
|
51
47
|
defaultOpen?: boolean;
|
|
52
|
-
/**
|
|
48
|
+
/** @deprecated use onExpandedChange instead */
|
|
53
49
|
onOpenChange?: (isOpen: boolean) => void;
|
|
54
|
-
ref?: Ref<HTMLDivElement>;
|
|
55
50
|
};
|
|
56
51
|
declare function Accordion(props: AccordionProps): react_jsx_runtime.JSX.Element;
|
|
57
52
|
declare function AccordionItem(props: AccordionItemProps): react_jsx_runtime.JSX.Element;
|
|
58
53
|
|
|
54
|
+
declare const alertVariants: (props?: ({
|
|
55
|
+
variant?: "info" | "success" | "warning" | "danger" | undefined;
|
|
56
|
+
} & ({
|
|
57
|
+
class?: cva.ClassValue;
|
|
58
|
+
className?: never;
|
|
59
|
+
} | {
|
|
60
|
+
class?: never;
|
|
61
|
+
className?: cva.ClassValue;
|
|
62
|
+
})) | undefined) => string;
|
|
63
|
+
type Props = VariantProps<typeof alertVariants> & {
|
|
64
|
+
children: React.ReactNode;
|
|
65
|
+
/**
|
|
66
|
+
* The ARIA role for the alertbox.
|
|
67
|
+
*/
|
|
68
|
+
role: 'alert' | 'status' | 'none';
|
|
69
|
+
/** Additional CSS className for the element. */
|
|
70
|
+
className?: string;
|
|
71
|
+
/** Overrides the default icon for the alertbox variant. Should be used sparingly as the default icons are visually connected to the color of the variant. */
|
|
72
|
+
icon?: React.ComponentType;
|
|
73
|
+
/**
|
|
74
|
+
* Controls if the alert is expandable or not
|
|
75
|
+
* @default false
|
|
76
|
+
*/
|
|
77
|
+
isExpandable?: boolean;
|
|
78
|
+
/**
|
|
79
|
+
* Controls if the alert can be dismissed with a close button.
|
|
80
|
+
* @default false
|
|
81
|
+
*/
|
|
82
|
+
isDismissable?: boolean;
|
|
83
|
+
/**
|
|
84
|
+
* Controls if the alert is rendered or not.
|
|
85
|
+
* This is used to control the open/closed state of the component; make the component "controlled".
|
|
86
|
+
* @default false
|
|
87
|
+
*/
|
|
88
|
+
isDismissed?: boolean;
|
|
89
|
+
/**
|
|
90
|
+
* Callback that should be triggered when a dismissable alert is closed.
|
|
91
|
+
* This is used to control the open/closed state of the component; make the component "controlled".
|
|
92
|
+
*/
|
|
93
|
+
onDismiss?: () => void;
|
|
94
|
+
};
|
|
95
|
+
declare const Alertbox: ({ children, role, className, icon, variant, isDismissable, isDismissed, onDismiss, isExpandable, }: Props) => react_jsx_runtime.JSX.Element | undefined;
|
|
96
|
+
|
|
97
|
+
type AvatarProps = ComponentProps<'img'>;
|
|
98
|
+
declare const Avatar: ({ src, alt, className, onError, loading, ...rest }: AvatarProps) => react_jsx_runtime.JSX.Element;
|
|
99
|
+
|
|
100
|
+
type ButtonOrLinkProps$1 = {
|
|
101
|
+
children?: React.ReactNode;
|
|
102
|
+
/** Additional CSS className for the element. */
|
|
103
|
+
className?: string;
|
|
104
|
+
/** Determines whether to use an anchor or a button for the Backlink */
|
|
105
|
+
href?: LinkProps['href'];
|
|
106
|
+
/** To add a permanent underline on the link (not only on hover)
|
|
107
|
+
* @default false
|
|
108
|
+
*/
|
|
109
|
+
withUnderline?: boolean;
|
|
110
|
+
/** Ref to the element. */
|
|
111
|
+
ref?: Ref<HTMLAnchorElement | HTMLButtonElement>;
|
|
112
|
+
};
|
|
113
|
+
type BacklinkProps = (ButtonProps$1 | LinkProps) & ButtonOrLinkProps$1;
|
|
114
|
+
declare function Backlink(props: BacklinkProps): react_jsx_runtime.JSX.Element;
|
|
115
|
+
|
|
59
116
|
type BadgeProps = VariantProps<typeof badgeVariants> & {
|
|
60
117
|
children?: React.ReactNode;
|
|
61
118
|
/** Additional CSS className for the element. */
|
|
@@ -75,12 +132,35 @@ declare const badgeVariants: (props?: ({
|
|
|
75
132
|
})) | undefined) => string;
|
|
76
133
|
declare function Badge(props: BadgeProps): react_jsx_runtime.JSX.Element;
|
|
77
134
|
|
|
135
|
+
type BreadcrumbProps = {
|
|
136
|
+
/** Additional CSS className for the element. */
|
|
137
|
+
className?: string;
|
|
138
|
+
children?: React.ReactNode;
|
|
139
|
+
/** Additional style properties for the element. */
|
|
140
|
+
style?: React.CSSProperties;
|
|
141
|
+
/** The URL to navigate to when clicking the breadcrumb. */
|
|
142
|
+
href?: LinkProps['href'];
|
|
143
|
+
/** Ref to the element. */
|
|
144
|
+
ref?: Ref<HTMLLIElement>;
|
|
145
|
+
} & Omit<BreadcrumbProps$1, 'className' | 'style'>;
|
|
146
|
+
declare function Breadcrumb(props: BreadcrumbProps): react_jsx_runtime.JSX.Element;
|
|
147
|
+
|
|
148
|
+
type BreadcrumbsProps = {
|
|
149
|
+
/** Additional CSS className for the element. */
|
|
150
|
+
className?: string;
|
|
151
|
+
/** Additional style properties for the element. */
|
|
152
|
+
style?: React.CSSProperties;
|
|
153
|
+
/** Ref to the element. */
|
|
154
|
+
ref?: Ref<HTMLOListElement>;
|
|
155
|
+
} & Omit<BreadcrumbsProps$1<BreadcrumbProps>, 'className' | 'style'>;
|
|
156
|
+
declare function Breadcrumbs(props: BreadcrumbsProps): react_jsx_runtime.JSX.Element;
|
|
157
|
+
|
|
78
158
|
/**
|
|
79
159
|
* Figma: https://www.figma.com/file/9OvSg0ZXI5E1eQYi7AWiWn/Grunnmuren-2.0-%E2%94%82-Designsystem?node-id=30%3A2574&mode=dev
|
|
80
160
|
*/
|
|
81
161
|
declare const buttonVariants: (props?: ({
|
|
82
162
|
variant?: "primary" | "secondary" | "tertiary" | undefined;
|
|
83
|
-
color?: "
|
|
163
|
+
color?: "blue" | "mint" | "white" | undefined;
|
|
84
164
|
isIconOnly?: boolean | undefined;
|
|
85
165
|
isPending?: boolean | undefined;
|
|
86
166
|
} & ({
|
|
@@ -90,7 +170,7 @@ declare const buttonVariants: (props?: ({
|
|
|
90
170
|
class?: never;
|
|
91
171
|
className?: cva.ClassValue;
|
|
92
172
|
})) | undefined) => string;
|
|
93
|
-
type ButtonOrLinkProps
|
|
173
|
+
type ButtonOrLinkProps = VariantProps<typeof buttonVariants> & {
|
|
94
174
|
children?: React.ReactNode;
|
|
95
175
|
href?: LinkProps['href'];
|
|
96
176
|
/** Additional style properties for the element. */
|
|
@@ -98,10 +178,69 @@ type ButtonOrLinkProps$1 = VariantProps<typeof buttonVariants> & {
|
|
|
98
178
|
/** Ref to the element. */
|
|
99
179
|
ref?: Ref<HTMLButtonElement | HTMLAnchorElement>;
|
|
100
180
|
};
|
|
101
|
-
type ButtonProps = (ButtonProps$1 | LinkProps) & ButtonOrLinkProps
|
|
181
|
+
type ButtonProps = (ButtonProps$1 | LinkProps) & ButtonOrLinkProps;
|
|
102
182
|
declare const ButtonContext: react.Context<ContextValue<ButtonProps, HTMLButtonElement | HTMLAnchorElement>>;
|
|
103
183
|
declare function Button({ ref, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
|
|
104
184
|
|
|
185
|
+
type CardProps = VariantProps<typeof cardVariants> & HTMLAttributes<HTMLDivElement> & {
|
|
186
|
+
children?: React.ReactNode;
|
|
187
|
+
};
|
|
188
|
+
declare const cardVariants: (props?: ({
|
|
189
|
+
variant?: "subtle" | "outlined" | undefined;
|
|
190
|
+
layout?: "vertical" | "horizontal" | undefined;
|
|
191
|
+
} & ({
|
|
192
|
+
class?: cva.ClassValue;
|
|
193
|
+
className?: never;
|
|
194
|
+
} | {
|
|
195
|
+
class?: never;
|
|
196
|
+
className?: cva.ClassValue;
|
|
197
|
+
})) | undefined) => string;
|
|
198
|
+
declare const Card: ({ children, className, variant, layout, ...restProps }: CardProps) => react_jsx_runtime.JSX.Element;
|
|
199
|
+
type CardLinkWrapperProps = {
|
|
200
|
+
children?: React.ReactNode;
|
|
201
|
+
className?: string;
|
|
202
|
+
} & {
|
|
203
|
+
[K in keyof Omit<LinkProps, 'className' | 'children'>]?: never;
|
|
204
|
+
};
|
|
205
|
+
type CardLinkProps = (Omit<LinkProps, 'href'> & Required<Pick<LinkProps, 'href'>>) | CardLinkWrapperProps;
|
|
206
|
+
/**
|
|
207
|
+
* A component that creates a clickable area on a card.
|
|
208
|
+
* It can be used either as a wrapper around a link or as a standalone link.
|
|
209
|
+
*/
|
|
210
|
+
declare const CardLink: ({ className: _className, href, ...restProps }: CardLinkProps) => react_jsx_runtime.JSX.Element;
|
|
211
|
+
|
|
212
|
+
type CarouselProps = Omit<HTMLProps<HTMLDivElement>, 'onChange'> & {
|
|
213
|
+
/** The <CarouselItem/> components to be displayed within the carousel. */
|
|
214
|
+
children: React.ReactNode;
|
|
215
|
+
/**
|
|
216
|
+
* Callback that is triggered when a user navigates to new item in the Carousel.
|
|
217
|
+
* The argument to the callback is an object containing `index` of the new item scrolled into view and the `id` of that item (if set on the `<CarouselItem>`)
|
|
218
|
+
* It also provides `prevIndex` which is the index of the previous item that was in view
|
|
219
|
+
* And `prevId`, which is the id of the previous item that was in view (if set on the `<CarouselItem>`)
|
|
220
|
+
* @param item { index: number; id?: string; prevIndex: number; prevId?: string }
|
|
221
|
+
*/
|
|
222
|
+
onChange?: (item: CarouselItem) => void;
|
|
223
|
+
};
|
|
224
|
+
declare const Carousel: ({ className, children, onChange, ...rest }: CarouselProps) => react_jsx_runtime.JSX.Element;
|
|
225
|
+
type CarouselItemsProps = HTMLProps<HTMLDivElement> & {
|
|
226
|
+
/** The <CarouselItem/> components to be displayed within the carousel. */
|
|
227
|
+
children: React.ReactNode;
|
|
228
|
+
};
|
|
229
|
+
declare const CarouselItems: ({ className, children }: CarouselItemsProps) => react_jsx_runtime.JSX.Element;
|
|
230
|
+
type CarouselItemProps = HTMLProps<HTMLDivElement> & {
|
|
231
|
+
/** The component/components to display as the <CarouselItem/>. */
|
|
232
|
+
children: JSX.Element | JSX.Element[];
|
|
233
|
+
};
|
|
234
|
+
type CarouselItem = Pick<CarouselItemProps, 'id'> & {
|
|
235
|
+
/** The index of the item that is currently in view */
|
|
236
|
+
index: number;
|
|
237
|
+
/** The index of the previous item that was in view */
|
|
238
|
+
prevIndex: number;
|
|
239
|
+
/** The id of the previous item that was in view */
|
|
240
|
+
prevId?: CarouselItemProps['id'];
|
|
241
|
+
};
|
|
242
|
+
declare const CarouselItem: ({ className, children, id }: CarouselItemProps) => react_jsx_runtime.JSX.Element;
|
|
243
|
+
|
|
105
244
|
type CheckboxProps = {
|
|
106
245
|
children: React.ReactNode;
|
|
107
246
|
/** Additional CSS className for the element. */
|
|
@@ -168,219 +307,38 @@ type ComboboxProps<T extends object> = {
|
|
|
168
307
|
} & Omit<ComboBoxProps<T>, 'className' | 'isReadOnly' | 'isDisabled' | 'children' | 'style'>;
|
|
169
308
|
declare function Combobox<T extends object>(props: ComboboxProps<T>): react_jsx_runtime.JSX.Element;
|
|
170
309
|
|
|
171
|
-
type
|
|
310
|
+
type HeadingProps = Omit<HTMLProps<HTMLHeadingElement>, 'size'> & VariantProps<typeof headingVariants> & {
|
|
311
|
+
children?: React.ReactNode;
|
|
312
|
+
/** The semantic level of the heading */
|
|
313
|
+
level: 1 | 2 | 3 | 4 | 5 | 6;
|
|
314
|
+
/** @private Used internally for slotted components */
|
|
315
|
+
_innerWrapper?: (children: React.ReactNode) => React.ReactNode;
|
|
316
|
+
/** @private Used internally for slotted components */
|
|
317
|
+
_outerWrapper?: (children: React.ReactNode) => React.ReactNode;
|
|
318
|
+
/** Ref for the element. */
|
|
319
|
+
ref?: Ref<HTMLHeadingElement>;
|
|
320
|
+
};
|
|
321
|
+
declare const HeadingContext: react.Context<ContextValue<Partial<HeadingProps>, HTMLHeadingElement>>;
|
|
322
|
+
declare const headingVariants: (props?: ({
|
|
323
|
+
size?: "s" | "xl" | "l" | "m" | "xs" | undefined;
|
|
324
|
+
} & ({
|
|
325
|
+
class?: cva.ClassValue;
|
|
326
|
+
className?: never;
|
|
327
|
+
} | {
|
|
328
|
+
class?: never;
|
|
329
|
+
className?: cva.ClassValue;
|
|
330
|
+
})) | undefined) => string;
|
|
331
|
+
declare const Heading: ({ ref, ...props }: HeadingProps) => string | number | bigint | boolean | react_jsx_runtime.JSX.Element | Iterable<react.ReactNode> | Promise<string | number | bigint | boolean | react.ReactPortal | react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | Iterable<react.ReactNode> | null | undefined> | null | undefined;
|
|
332
|
+
declare const ContentContext: react.Context<ContextValue<Partial<ContentProps>, HTMLDivElement>>;
|
|
333
|
+
type ContentProps = HTMLProps<HTMLDivElement> & {
|
|
172
334
|
children: React.ReactNode;
|
|
173
|
-
/**
|
|
174
|
-
|
|
175
|
-
/** Help text for the form control. */
|
|
176
|
-
description?: React.ReactNode;
|
|
177
|
-
/** Error message for the form control. Automatically sets `isInvalid` to true */
|
|
178
|
-
errorMessage?: React.ReactNode;
|
|
179
|
-
/** Label for the form control. */
|
|
180
|
-
label?: React.ReactNode;
|
|
181
|
-
/** Additional style properties for the element. */
|
|
182
|
-
style?: React.CSSProperties;
|
|
335
|
+
/** @private Used internally for slotted components */
|
|
336
|
+
_outerWrapper?: (children: React.ReactNode) => React.ReactNode;
|
|
183
337
|
/** Ref for the element. */
|
|
184
338
|
ref?: Ref<HTMLDivElement>;
|
|
185
|
-
}
|
|
186
|
-
declare
|
|
187
|
-
|
|
188
|
-
type RadioProps = {
|
|
189
|
-
children: React.ReactNode;
|
|
190
|
-
/** Additional CSS className for the element. */
|
|
191
|
-
className?: string;
|
|
192
|
-
/** Help text for the form control. */
|
|
193
|
-
description?: React.ReactNode;
|
|
194
|
-
/** Additional style properties for the element. */
|
|
195
|
-
style?: React.CSSProperties;
|
|
196
|
-
/** Ref for the element. */
|
|
197
|
-
ref?: Ref<HTMLLabelElement>;
|
|
198
|
-
} & Omit<RadioProps$1, 'isDisabled' | 'children' | 'style'>;
|
|
199
|
-
declare function Radio(props: RadioProps): react_jsx_runtime.JSX.Element;
|
|
200
|
-
|
|
201
|
-
type SelectProps<T extends object> = {
|
|
202
|
-
children: React.ReactNode;
|
|
203
|
-
/** Additional CSS className for the element. */
|
|
204
|
-
className?: string;
|
|
205
|
-
/** Help text for the form control. */
|
|
206
|
-
description?: React.ReactNode;
|
|
207
|
-
/** Error message for the form control. Automatically sets `isInvalid` to true */
|
|
208
|
-
errorMessage?: React.ReactNode;
|
|
209
|
-
/** Label for the form control. */
|
|
210
|
-
label?: React.ReactNode;
|
|
211
|
-
/** Placeholder text. Only visible when the input value is empty. */
|
|
212
|
-
placeholder?: string;
|
|
213
|
-
/** Additional style properties for the element. */
|
|
214
|
-
style?: React.CSSProperties;
|
|
215
|
-
/** Ref for the button element. */
|
|
216
|
-
ref?: Ref<HTMLButtonElement>;
|
|
217
|
-
} & Omit<SelectProps$1<T>, 'className' | 'isReadOnly' | 'isDisabled' | 'children' | 'style'>;
|
|
218
|
-
declare function Select<T extends object>(props: SelectProps<T>): react_jsx_runtime.JSX.Element;
|
|
219
|
-
|
|
220
|
-
type TextAreaProps = {
|
|
221
|
-
/** Additional CSS className for the element. */
|
|
222
|
-
className?: string;
|
|
223
|
-
/** Help text for the form control. */
|
|
224
|
-
description?: React.ReactNode;
|
|
225
|
-
/** Error message for the form control. Automatically sets `isInvalid` to true */
|
|
226
|
-
errorMessage?: React.ReactNode;
|
|
227
|
-
/** Label for the form control. */
|
|
228
|
-
label?: React.ReactNode;
|
|
229
|
-
/** Placeholder text. Only visible when the input value is empty. */
|
|
230
|
-
placeholder?: string;
|
|
231
|
-
/** Additional style properties for the element. */
|
|
232
|
-
style?: React.CSSProperties;
|
|
233
|
-
/**
|
|
234
|
-
* The number of visible text lines for the control.
|
|
235
|
-
* @default 2
|
|
236
|
-
*/
|
|
237
|
-
rows?: number;
|
|
238
|
-
/** Ref for the textarea element. */
|
|
239
|
-
ref?: Ref<HTMLTextAreaElement>;
|
|
240
|
-
} & Omit<TextFieldProps$1, 'className' | 'isReadOnly' | 'isDisabled' | 'children' | 'style'>;
|
|
241
|
-
declare function TextArea(props: TextAreaProps): react_jsx_runtime.JSX.Element;
|
|
242
|
-
|
|
243
|
-
type TextFieldProps = {
|
|
244
|
-
/** Additional CSS className for the element. */
|
|
245
|
-
className?: string;
|
|
246
|
-
/** Help text for the form control. */
|
|
247
|
-
description?: React.ReactNode;
|
|
248
|
-
/** Error message for the form control. Automatically sets `isInvalid` to true */
|
|
249
|
-
errorMessage?: React.ReactNode;
|
|
250
|
-
/** Element to be rendered in the left side of the input. */
|
|
251
|
-
leftAddon?: React.ReactNode;
|
|
252
|
-
/** Label for the form control. */
|
|
253
|
-
label?: React.ReactNode;
|
|
254
|
-
/** Element to be rendered in the right side of the input. */
|
|
255
|
-
rightAddon?: React.ReactNode;
|
|
256
|
-
/** Placeholder text. Only visible when the input value is empty. */
|
|
257
|
-
placeholder?: string;
|
|
258
|
-
/**
|
|
259
|
-
* Text alignment of the input
|
|
260
|
-
* @default left
|
|
261
|
-
*/
|
|
262
|
-
textAlign?: 'left' | 'right';
|
|
263
|
-
/** Additional style properties for the element. */
|
|
264
|
-
style?: React.CSSProperties;
|
|
265
|
-
/** Add a divider between the left/right addons and the input, a value of 0 will be ignored */
|
|
266
|
-
withAddonDivider?: boolean;
|
|
267
|
-
/** Defines the number of characters and determines the width of the input element */
|
|
268
|
-
size?: number;
|
|
269
|
-
/** Ref for the input element. */
|
|
270
|
-
ref?: Ref<HTMLInputElement>;
|
|
271
|
-
} & Omit<TextFieldProps$1, 'className' | 'isReadOnly' | 'isDisabled' | 'children' | 'style'>;
|
|
272
|
-
declare function TextField(props: TextFieldProps): react_jsx_runtime.JSX.Element;
|
|
273
|
-
|
|
274
|
-
type NumberFieldProps = {
|
|
275
|
-
/** Additional CSS className for the element. */
|
|
276
|
-
className?: string;
|
|
277
|
-
/** Help text for the form control. */
|
|
278
|
-
description?: React.ReactNode;
|
|
279
|
-
/** Error message for the form control. Automatically sets `isInvalid` to true */
|
|
280
|
-
errorMessage?: React.ReactNode;
|
|
281
|
-
/** Element to be rendered in the left side of the input. */
|
|
282
|
-
leftAddon?: React.ReactNode;
|
|
283
|
-
/** Label for the form control. */
|
|
284
|
-
label?: React.ReactNode;
|
|
285
|
-
/** Element to be rendered in the right side of the input. */
|
|
286
|
-
rightAddon?: React.ReactNode;
|
|
287
|
-
/** Placeholder text. Only visible when the input value is empty. */
|
|
288
|
-
placeholder?: string;
|
|
289
|
-
/**
|
|
290
|
-
* Text alignment of the input
|
|
291
|
-
* @default left
|
|
292
|
-
*/
|
|
293
|
-
textAlign?: 'left' | 'right';
|
|
294
|
-
/** Additional style properties for the element. */
|
|
295
|
-
style?: React.CSSProperties;
|
|
296
|
-
/** Add a divider between the left/right addons and the input */
|
|
297
|
-
withAddonDivider?: boolean;
|
|
298
|
-
/** Defines the number of characters and determines the width of the input element, a value of 0 will be ignored */
|
|
299
|
-
size?: number;
|
|
300
|
-
/** Defines the maximum numeric value */
|
|
301
|
-
maxValue?: number;
|
|
302
|
-
/** Defines the minimum numeric value */
|
|
303
|
-
minValue?: number;
|
|
304
|
-
/** Ref for the input element. */
|
|
305
|
-
ref?: Ref<HTMLInputElement>;
|
|
306
|
-
} & Omit<NumberFieldProps$1, 'className' | 'isReadOnly' | 'isDisabled' | 'children' | 'style' | 'hideStepper'>;
|
|
307
|
-
declare function NumberField(props: NumberFieldProps): react_jsx_runtime.JSX.Element;
|
|
308
|
-
|
|
309
|
-
declare const alertVariants: (props?: ({
|
|
310
|
-
variant?: "info" | "success" | "warning" | "danger" | undefined;
|
|
311
|
-
} & ({
|
|
312
|
-
class?: cva.ClassValue;
|
|
313
|
-
className?: never;
|
|
314
|
-
} | {
|
|
315
|
-
class?: never;
|
|
316
|
-
className?: cva.ClassValue;
|
|
317
|
-
})) | undefined) => string;
|
|
318
|
-
type Props = VariantProps<typeof alertVariants> & {
|
|
319
|
-
children: React.ReactNode;
|
|
320
|
-
/**
|
|
321
|
-
* The ARIA role for the alertbox.
|
|
322
|
-
*/
|
|
323
|
-
role: 'alert' | 'status' | 'none';
|
|
324
|
-
/** Additional CSS className for the element. */
|
|
325
|
-
className?: string;
|
|
326
|
-
/** Overrides the default icon for the alertbox variant. Should be used sparingly as the default icons are visually connected to the color of the variant. */
|
|
327
|
-
icon?: React.ComponentType;
|
|
328
|
-
/**
|
|
329
|
-
* Controls if the alert is expandable or not
|
|
330
|
-
* @default false
|
|
331
|
-
*/
|
|
332
|
-
isExpandable?: boolean;
|
|
333
|
-
/**
|
|
334
|
-
* Controls if the alert can be dismissed with a close button.
|
|
335
|
-
* @default false
|
|
336
|
-
*/
|
|
337
|
-
isDismissable?: boolean;
|
|
338
|
-
/**
|
|
339
|
-
* Controls if the alert is rendered or not.
|
|
340
|
-
* This is used to control the open/closed state of the component; make the component "controlled".
|
|
341
|
-
* @default false
|
|
342
|
-
*/
|
|
343
|
-
isDismissed?: boolean;
|
|
344
|
-
/**
|
|
345
|
-
* Callback that should be triggered when a dismissable alert is closed.
|
|
346
|
-
* This is used to control the open/closed state of the component; make the component "controlled".
|
|
347
|
-
*/
|
|
348
|
-
onDismiss?: () => void;
|
|
349
|
-
};
|
|
350
|
-
declare const Alertbox: ({ children, role, className, icon, variant, isDismissable, isDismissed, onDismiss, isExpandable, }: Props) => react_jsx_runtime.JSX.Element | undefined;
|
|
351
|
-
|
|
352
|
-
type HeadingProps = Omit<HTMLProps<HTMLHeadingElement>, 'size'> & VariantProps<typeof headingVariants> & {
|
|
353
|
-
children?: React.ReactNode;
|
|
354
|
-
/** The semantic level of the heading */
|
|
355
|
-
level: 1 | 2 | 3 | 4 | 5 | 6;
|
|
356
|
-
/** @private Used internally for slotted components */
|
|
357
|
-
_innerWrapper?: (children: React.ReactNode) => React.ReactNode;
|
|
358
|
-
/** @private Used internally for slotted components */
|
|
359
|
-
_outerWrapper?: (children: React.ReactNode) => React.ReactNode;
|
|
360
|
-
/** Ref for the element. */
|
|
361
|
-
ref?: Ref<HTMLHeadingElement>;
|
|
362
|
-
};
|
|
363
|
-
declare const HeadingContext: react.Context<ContextValue<Partial<HeadingProps>, HTMLHeadingElement>>;
|
|
364
|
-
declare const headingVariants: (props?: ({
|
|
365
|
-
size?: "s" | "xl" | "l" | "m" | "xs" | undefined;
|
|
366
|
-
} & ({
|
|
367
|
-
class?: cva.ClassValue;
|
|
368
|
-
className?: never;
|
|
369
|
-
} | {
|
|
370
|
-
class?: never;
|
|
371
|
-
className?: cva.ClassValue;
|
|
372
|
-
})) | undefined) => string;
|
|
373
|
-
declare const Heading: ({ ref, ...props }: HeadingProps) => string | number | bigint | boolean | Iterable<react.ReactNode> | Promise<string | number | bigint | boolean | react.ReactPortal | react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | Iterable<react.ReactNode> | null | undefined> | react_jsx_runtime.JSX.Element | null | undefined;
|
|
374
|
-
declare const ContentContext: react.Context<ContextValue<Partial<ContentProps>, HTMLDivElement>>;
|
|
375
|
-
type ContentProps = HTMLProps<HTMLDivElement> & {
|
|
376
|
-
children: React.ReactNode;
|
|
377
|
-
/** @private Used internally for slotted components */
|
|
378
|
-
_outerWrapper?: (children: React.ReactNode) => React.ReactNode;
|
|
379
|
-
/** Ref for the element. */
|
|
380
|
-
ref?: Ref<HTMLDivElement>;
|
|
381
|
-
};
|
|
382
|
-
declare const Content: ({ ref, ...props }: ContentProps) => string | number | bigint | boolean | Iterable<react.ReactNode> | Promise<string | number | bigint | boolean | react.ReactPortal | react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | Iterable<react.ReactNode> | null | undefined> | react_jsx_runtime.JSX.Element | null | undefined;
|
|
383
|
-
type MediaProps = HTMLProps<HTMLDivElement> & VariantProps<typeof mediaVariant> & {
|
|
339
|
+
};
|
|
340
|
+
declare const Content: ({ ref, ...props }: ContentProps) => string | number | bigint | boolean | react_jsx_runtime.JSX.Element | Iterable<react.ReactNode> | Promise<string | number | bigint | boolean | react.ReactPortal | react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | Iterable<react.ReactNode> | null | undefined> | null | undefined;
|
|
341
|
+
type MediaProps = HTMLProps<HTMLDivElement> & VariantProps<typeof mediaVariant> & {
|
|
384
342
|
children: React.ReactNode;
|
|
385
343
|
/** Ref for the element. */
|
|
386
344
|
ref?: Ref<HTMLDivElement>;
|
|
@@ -405,72 +363,6 @@ type CaptionProps = HTMLProps<HTMLDivElement> & {
|
|
|
405
363
|
declare const Caption: ({ className, ...restProps }: CaptionProps) => react_jsx_runtime.JSX.Element;
|
|
406
364
|
declare const Footer: (props: FooterProps) => react_jsx_runtime.JSX.Element;
|
|
407
365
|
|
|
408
|
-
type BreadcrumbProps = {
|
|
409
|
-
/** Additional CSS className for the element. */
|
|
410
|
-
className?: string;
|
|
411
|
-
children?: React.ReactNode;
|
|
412
|
-
/** Additional style properties for the element. */
|
|
413
|
-
style?: React.CSSProperties;
|
|
414
|
-
/** The URL to navigate to when clicking the breadcrumb. */
|
|
415
|
-
href?: LinkProps['href'];
|
|
416
|
-
/** Ref to the element. */
|
|
417
|
-
ref?: Ref<HTMLLIElement>;
|
|
418
|
-
} & Omit<BreadcrumbProps$1, 'className' | 'style'>;
|
|
419
|
-
declare function Breadcrumb(props: BreadcrumbProps): react_jsx_runtime.JSX.Element;
|
|
420
|
-
|
|
421
|
-
type BreadcrumbsProps = {
|
|
422
|
-
/** Additional CSS className for the element. */
|
|
423
|
-
className?: string;
|
|
424
|
-
/** Additional style properties for the element. */
|
|
425
|
-
style?: React.CSSProperties;
|
|
426
|
-
/** Ref to the element. */
|
|
427
|
-
ref?: Ref<HTMLOListElement>;
|
|
428
|
-
} & Omit<BreadcrumbsProps$1<BreadcrumbProps>, 'className' | 'style'>;
|
|
429
|
-
declare function Breadcrumbs(props: BreadcrumbsProps): react_jsx_runtime.JSX.Element;
|
|
430
|
-
|
|
431
|
-
type ButtonOrLinkProps = {
|
|
432
|
-
children?: React.ReactNode;
|
|
433
|
-
/** Additional CSS className for the element. */
|
|
434
|
-
className?: string;
|
|
435
|
-
/** Determines whether to use an anchor or a button for the Backlink */
|
|
436
|
-
href?: LinkProps['href'];
|
|
437
|
-
/** To add a permanent underline on the link (not only on hover)
|
|
438
|
-
* @default false
|
|
439
|
-
*/
|
|
440
|
-
withUnderline?: boolean;
|
|
441
|
-
/** Ref to the element. */
|
|
442
|
-
ref?: Ref<HTMLAnchorElement | HTMLButtonElement>;
|
|
443
|
-
};
|
|
444
|
-
type BacklinkProps = (ButtonProps$1 | LinkProps) & ButtonOrLinkProps;
|
|
445
|
-
declare function Backlink(props: BacklinkProps): react_jsx_runtime.JSX.Element;
|
|
446
|
-
|
|
447
|
-
type CardProps = VariantProps<typeof cardVariants> & HTMLAttributes<HTMLDivElement> & {
|
|
448
|
-
children?: React.ReactNode;
|
|
449
|
-
};
|
|
450
|
-
declare const cardVariants: (props?: ({
|
|
451
|
-
variant?: "subtle" | "outlined" | undefined;
|
|
452
|
-
layout?: "horizontal" | "vertical" | undefined;
|
|
453
|
-
} & ({
|
|
454
|
-
class?: cva.ClassValue;
|
|
455
|
-
className?: never;
|
|
456
|
-
} | {
|
|
457
|
-
class?: never;
|
|
458
|
-
className?: cva.ClassValue;
|
|
459
|
-
})) | undefined) => string;
|
|
460
|
-
declare const Card: ({ children, className, variant, layout, ...restProps }: CardProps) => react_jsx_runtime.JSX.Element;
|
|
461
|
-
type CardLinkWrapperProps = {
|
|
462
|
-
children?: React.ReactNode;
|
|
463
|
-
className?: string;
|
|
464
|
-
} & {
|
|
465
|
-
[K in keyof Omit<LinkProps, 'className' | 'children'>]?: never;
|
|
466
|
-
};
|
|
467
|
-
type CardLinkProps = (Omit<LinkProps, 'href'> & Required<Pick<LinkProps, 'href'>>) | CardLinkWrapperProps;
|
|
468
|
-
/**
|
|
469
|
-
* A component that creates a clickable area on a card.
|
|
470
|
-
* It can be used either as a wrapper around a link or as a standalone link.
|
|
471
|
-
*/
|
|
472
|
-
declare const CardLink: ({ className: _className, href, ...restProps }: CardLinkProps) => react_jsx_runtime.JSX.Element;
|
|
473
|
-
|
|
474
366
|
type DateFormatterProps = {
|
|
475
367
|
value: Date | string;
|
|
476
368
|
options?: DateFormatterOptions;
|
|
@@ -484,47 +376,6 @@ type DateFormatterProps = {
|
|
|
484
376
|
*/
|
|
485
377
|
declare const DateFormatter: ({ options: _options, value, children: render, }: DateFormatterProps) => ReactNode;
|
|
486
378
|
|
|
487
|
-
type VideoLoopProps = {
|
|
488
|
-
/** The video url */
|
|
489
|
-
src: string;
|
|
490
|
-
/** The video format */
|
|
491
|
-
format: string;
|
|
492
|
-
/**
|
|
493
|
-
* The content of the video must have a text description, so that it is accessible to screen readers.
|
|
494
|
-
* You can either provide just a caption, just an alt text, or both a caption and an alt text.
|
|
495
|
-
* Make sure the alt text doesn't repeat too much of the caption text, if so just a caption is sufficent.
|
|
496
|
-
* Think of this just as an alt text, but for a muted video - this text will not be visible, but read by screen readers.
|
|
497
|
-
* */
|
|
498
|
-
alt?: string;
|
|
499
|
-
className?: string;
|
|
500
|
-
};
|
|
501
|
-
declare const VideoLoop: ({ src, format, alt, className }: VideoLoopProps) => react_jsx_runtime.JSX.Element;
|
|
502
|
-
|
|
503
|
-
declare const disclosureButtonVariants: (props?: ({
|
|
504
|
-
withChevron?: boolean | undefined;
|
|
505
|
-
isIconOnly?: boolean | undefined;
|
|
506
|
-
} & ({
|
|
507
|
-
class?: cva.ClassValue;
|
|
508
|
-
className?: never;
|
|
509
|
-
} | {
|
|
510
|
-
class?: never;
|
|
511
|
-
className?: cva.ClassValue;
|
|
512
|
-
})) | undefined) => string;
|
|
513
|
-
type DisclosureButtonProps = Omit<ButtonProps$1, 'children' | 'aria-expanded' | 'aria-controls'> & VariantProps<typeof disclosureButtonVariants> & {
|
|
514
|
-
children: React.ReactNode;
|
|
515
|
-
} & RefAttributes<HTMLButtonElement>;
|
|
516
|
-
declare const DisclosureButton: ({ className, withChevron, isIconOnly, children, ref: _ref, ...restProps }: DisclosureButtonProps) => react_jsx_runtime.JSX.Element;
|
|
517
|
-
type DisclosureProps = DisclosureProps$1 & RefAttributes<HTMLDivElement> & {
|
|
518
|
-
className?: string;
|
|
519
|
-
};
|
|
520
|
-
declare const DisclosureStateContext: react.Context<DisclosureState | null>;
|
|
521
|
-
declare const Disclosure: ({ ref: _ref, children, ..._props }: DisclosureProps) => react_jsx_runtime.JSX.Element;
|
|
522
|
-
type DisclosurePanelProps = Omit<HTMLAttributes<HTMLDivElement>, 'role'> & {
|
|
523
|
-
children: React.ReactNode;
|
|
524
|
-
role?: 'group' | 'region' | 'none';
|
|
525
|
-
} & RefAttributes<HTMLDivElement>;
|
|
526
|
-
declare const DisclosurePanel: ({ ref, children, ...props }: DisclosurePanelProps) => react_jsx_runtime.JSX.Element;
|
|
527
|
-
|
|
528
379
|
type FileTriggerProps = Partial<FormValidationProps<File>> & FileTriggerProps$1 & Omit<HTMLAttributes<HTMLInputElement>, 'onSelect' | 'onChange' | 'required' | 'className'> & {
|
|
529
380
|
ref?: RefObject<HTMLInputElement | null>;
|
|
530
381
|
isInvalid?: boolean;
|
|
@@ -542,6 +393,41 @@ type FileUploadProps = Omit<FileTriggerProps, 'onSelect'> & {
|
|
|
542
393
|
};
|
|
543
394
|
declare const FileUpload: ({ children, files: _files, onChange, validate, isInvalid: _isInvalid, errorMessage, isRequired, allowsMultiple, ref, ...fileTriggerProps }: FileUploadProps) => react_jsx_runtime.JSX.Element;
|
|
544
395
|
|
|
396
|
+
type Locale = 'nb' | 'sv' | 'en';
|
|
397
|
+
/**
|
|
398
|
+
* Returns the locale set in `<GrunnmurenProvider />`
|
|
399
|
+
*/
|
|
400
|
+
declare function _useLocale(): Locale;
|
|
401
|
+
|
|
402
|
+
type RouterProviderProps = React.ComponentProps<typeof RouterProvider>;
|
|
403
|
+
type GrunnmurenProviderProps = {
|
|
404
|
+
children: React.ReactNode;
|
|
405
|
+
/**
|
|
406
|
+
* The locale to apply to the children.
|
|
407
|
+
* @default nb
|
|
408
|
+
*/
|
|
409
|
+
locale?: Locale;
|
|
410
|
+
/** The router to use for client side navigation */
|
|
411
|
+
navigate?: RouterProviderProps['navigate'];
|
|
412
|
+
/** Converts a router-specific href to a native HTML href, e.g. prepending a base path */
|
|
413
|
+
useHref?: RouterProviderProps['useHref'];
|
|
414
|
+
};
|
|
415
|
+
declare function GrunnmurenProvider({ children, locale, navigate, useHref, }: GrunnmurenProviderProps): react_jsx_runtime.JSX.Element;
|
|
416
|
+
|
|
417
|
+
type HeroProps = HTMLProps<HTMLDivElement> & VariantProps<typeof variants> & {
|
|
418
|
+
children: React.ReactNode;
|
|
419
|
+
};
|
|
420
|
+
declare const variants: (props?: ({
|
|
421
|
+
variant?: "standard" | "full-bleed" | "two-column" | undefined;
|
|
422
|
+
} & ({
|
|
423
|
+
class?: cva.ClassValue;
|
|
424
|
+
className?: never;
|
|
425
|
+
} | {
|
|
426
|
+
class?: never;
|
|
427
|
+
className?: cva.ClassValue;
|
|
428
|
+
})) | undefined) => string;
|
|
429
|
+
declare const Hero: ({ variant, className, children, ...rest }: HeroProps) => react_jsx_runtime.JSX.Element;
|
|
430
|
+
|
|
545
431
|
type DescriptionProps = TextProps;
|
|
546
432
|
declare function Description(props: DescriptionProps): react_jsx_runtime.JSX.Element;
|
|
547
433
|
|
|
@@ -550,8 +436,24 @@ declare function ErrorMessage(props: ErrorMessageProps): react_jsx_runtime.JSX.E
|
|
|
550
436
|
|
|
551
437
|
declare function Label(props: LabelProps): react_jsx_runtime.JSX.Element;
|
|
552
438
|
|
|
553
|
-
type
|
|
554
|
-
|
|
439
|
+
type CustomLinkProps = LinkProps & {
|
|
440
|
+
children: ReactNode;
|
|
441
|
+
};
|
|
442
|
+
/**
|
|
443
|
+
* A basic link component that extends react-aria-components Link with consistent styling.
|
|
444
|
+
* Provides accessible focus styles and maintains design system consistency.
|
|
445
|
+
*/
|
|
446
|
+
declare const CustomLink: ({ children, className, ...restProps }: CustomLinkProps) => react_jsx_runtime.JSX.Element;
|
|
447
|
+
|
|
448
|
+
type LinkListProps = React.HTMLProps<HTMLDivElement> & {
|
|
449
|
+
children: JSX.Element | JSX.Element[];
|
|
450
|
+
};
|
|
451
|
+
declare const LinkList: ({ className, children, ...restProps }: LinkListProps) => react_jsx_runtime.JSX.Element;
|
|
452
|
+
type LinkListItemProps = LinkProps & {
|
|
453
|
+
children: ReactNode;
|
|
454
|
+
isExternal?: boolean;
|
|
455
|
+
};
|
|
456
|
+
declare const LinkListItem: ({ children, isExternal, className, ...restProps }: LinkListItemProps) => react_jsx_runtime.JSX.Element;
|
|
555
457
|
|
|
556
458
|
type DialogTriggerProps = DialogTriggerProps$1;
|
|
557
459
|
declare const DialogTrigger: (props: DialogTriggerProps) => react_jsx_runtime.JSX.Element;
|
|
@@ -562,99 +464,127 @@ type DialogProps = DialogProps$1 & {
|
|
|
562
464
|
};
|
|
563
465
|
declare const Dialog: ({ className, children, ...restProps }: DialogProps) => react_jsx_runtime.JSX.Element;
|
|
564
466
|
|
|
565
|
-
type
|
|
467
|
+
type NumberFieldProps = {
|
|
468
|
+
/** Additional CSS className for the element. */
|
|
469
|
+
className?: string;
|
|
470
|
+
/** Help text for the form control. */
|
|
471
|
+
description?: React.ReactNode;
|
|
472
|
+
/** Error message for the form control. Automatically sets `isInvalid` to true */
|
|
473
|
+
errorMessage?: React.ReactNode;
|
|
474
|
+
/** Element to be rendered in the left side of the input. */
|
|
475
|
+
leftAddon?: React.ReactNode;
|
|
476
|
+
/** Label for the form control. */
|
|
477
|
+
label?: React.ReactNode;
|
|
478
|
+
/** Element to be rendered in the right side of the input. */
|
|
479
|
+
rightAddon?: React.ReactNode;
|
|
480
|
+
/** Placeholder text. Only visible when the input value is empty. */
|
|
481
|
+
placeholder?: string;
|
|
566
482
|
/**
|
|
567
|
-
*
|
|
483
|
+
* Text alignment of the input
|
|
484
|
+
* @default left
|
|
568
485
|
*/
|
|
486
|
+
textAlign?: 'left' | 'right';
|
|
487
|
+
/** Additional style properties for the element. */
|
|
488
|
+
style?: React.CSSProperties;
|
|
489
|
+
/** Add a divider between the left/right addons and the input */
|
|
490
|
+
withAddonDivider?: boolean;
|
|
491
|
+
/** Defines the number of characters and determines the width of the input element, a value of 0 will be ignored */
|
|
492
|
+
size?: number;
|
|
493
|
+
/** Defines the maximum numeric value */
|
|
494
|
+
maxValue?: number;
|
|
495
|
+
/** Defines the minimum numeric value */
|
|
496
|
+
minValue?: number;
|
|
497
|
+
/** Ref for the input element. */
|
|
498
|
+
ref?: Ref<HTMLInputElement>;
|
|
499
|
+
} & Omit<NumberFieldProps$1, 'className' | 'isReadOnly' | 'isDisabled' | 'children' | 'style' | 'hideStepper'>;
|
|
500
|
+
declare function NumberField(props: NumberFieldProps): react_jsx_runtime.JSX.Element;
|
|
501
|
+
|
|
502
|
+
type RadioProps = {
|
|
503
|
+
children: React.ReactNode;
|
|
504
|
+
/** Additional CSS className for the element. */
|
|
505
|
+
className?: string;
|
|
506
|
+
/** Help text for the form control. */
|
|
507
|
+
description?: React.ReactNode;
|
|
508
|
+
/** Additional style properties for the element. */
|
|
509
|
+
style?: React.CSSProperties;
|
|
510
|
+
/** Ref for the element. */
|
|
511
|
+
ref?: Ref<HTMLLabelElement>;
|
|
512
|
+
} & Omit<RadioProps$1, 'isDisabled' | 'children' | 'style'>;
|
|
513
|
+
declare function Radio(props: RadioProps): react_jsx_runtime.JSX.Element;
|
|
514
|
+
|
|
515
|
+
type RadioGroupProps = {
|
|
516
|
+
children: React.ReactNode;
|
|
517
|
+
/** Additional CSS className for the element. */
|
|
518
|
+
className?: string;
|
|
519
|
+
/** Help text for the form control. */
|
|
520
|
+
description?: React.ReactNode;
|
|
521
|
+
/** Error message for the form control. Automatically sets `isInvalid` to true */
|
|
522
|
+
errorMessage?: React.ReactNode;
|
|
523
|
+
/** Label for the form control. */
|
|
524
|
+
label?: React.ReactNode;
|
|
525
|
+
/** Additional style properties for the element. */
|
|
526
|
+
style?: React.CSSProperties;
|
|
527
|
+
/** Ref for the element. */
|
|
528
|
+
ref?: Ref<HTMLDivElement>;
|
|
529
|
+
} & Omit<RadioGroupProps$1, 'className' | 'isReadOnly' | 'isDisabled' | 'children' | 'style' | 'orientation'>;
|
|
530
|
+
declare function RadioGroup(props: RadioGroupProps): react_jsx_runtime.JSX.Element;
|
|
531
|
+
|
|
532
|
+
type SelectProps<T extends object> = {
|
|
533
|
+
children: React.ReactNode;
|
|
534
|
+
/** Additional CSS className for the element. */
|
|
569
535
|
className?: string;
|
|
536
|
+
/** Help text for the form control. */
|
|
537
|
+
description?: React.ReactNode;
|
|
538
|
+
/** Error message for the form control. Automatically sets `isInvalid` to true */
|
|
539
|
+
errorMessage?: React.ReactNode;
|
|
540
|
+
/** Label for the form control. */
|
|
541
|
+
label?: React.ReactNode;
|
|
542
|
+
/** Placeholder text. Only visible when the input value is empty. */
|
|
543
|
+
placeholder?: string;
|
|
544
|
+
/** Additional style properties for the element. */
|
|
545
|
+
style?: React.CSSProperties;
|
|
546
|
+
/** Ref for the button element. */
|
|
547
|
+
ref?: Ref<HTMLButtonElement>;
|
|
548
|
+
} & Omit<SelectProps$1<T>, 'className' | 'isReadOnly' | 'isDisabled' | 'children' | 'style'>;
|
|
549
|
+
declare function Select<T extends object>(props: SelectProps<T>): react_jsx_runtime.JSX.Element;
|
|
550
|
+
|
|
551
|
+
type TableProps = Omit<TableProps$1, 'aria-label' | 'aria-labelledby'> & RefAttributes<HTMLTableElement> & {
|
|
570
552
|
/**
|
|
571
|
-
*
|
|
572
|
-
|
|
573
|
-
onRemove?: (key: React.Key) => void;
|
|
574
|
-
/**
|
|
575
|
-
* The selection mode for the tag group
|
|
576
|
-
* @default "single"
|
|
577
|
-
*/
|
|
578
|
-
selectionMode?: 'single' | 'multiple';
|
|
579
|
-
};
|
|
580
|
-
type TagListProps = Omit<TagListProps$1<object>, 'className'> & RefAttributes<HTMLDivElement> & {
|
|
581
|
-
/**
|
|
582
|
-
* CSS classes to apply to the tag list
|
|
553
|
+
* Visual variant of the table
|
|
554
|
+
* @default 'default'
|
|
583
555
|
*/
|
|
584
|
-
|
|
556
|
+
variant?: 'default' | 'zebra-striped';
|
|
557
|
+
} & ({
|
|
558
|
+
'aria-label': string;
|
|
559
|
+
'aria-labelledby'?: never;
|
|
560
|
+
} | {
|
|
561
|
+
'aria-label'?: never;
|
|
562
|
+
'aria-labelledby': string;
|
|
563
|
+
});
|
|
564
|
+
type TableHeaderProps = TableHeaderProps$1<object> & RefAttributes<HTMLTableSectionElement>;
|
|
565
|
+
type TableColumnProps = ColumnProps & RefAttributes<HTMLTableCellElement> & {
|
|
566
|
+
children: React.ReactNode;
|
|
585
567
|
};
|
|
586
|
-
type
|
|
568
|
+
type TableBodyProps = TableBodyProps$1<object> & RefAttributes<HTMLTableSectionElement>;
|
|
569
|
+
type TableRowProps = RowProps<object> & RefAttributes<HTMLTableRowElement>;
|
|
570
|
+
type TableCellProps = CellProps & RefAttributes<HTMLTableCellElement> & {
|
|
587
571
|
children: React.ReactNode;
|
|
588
|
-
/**
|
|
589
|
-
* CSS classes to apply to the tag
|
|
590
|
-
*/
|
|
591
|
-
className?: string;
|
|
592
572
|
};
|
|
593
573
|
/**
|
|
594
|
-
* A
|
|
574
|
+
* A container component for displaying tabular data with horizontal scrolling support.
|
|
595
575
|
*/
|
|
596
|
-
declare function
|
|
576
|
+
declare function Table(props: TableProps): react_jsx_runtime.JSX.Element;
|
|
597
577
|
/**
|
|
598
|
-
*
|
|
578
|
+
* Container for table column headers.
|
|
599
579
|
*/
|
|
600
|
-
declare function
|
|
580
|
+
declare function TableHeader({ className, children, ...restProps }: TableHeaderProps): react_jsx_runtime.JSX.Element;
|
|
581
|
+
declare function TableColumn(props: TableColumnProps): react_jsx_runtime.JSX.Element;
|
|
601
582
|
/**
|
|
602
|
-
*
|
|
583
|
+
* Container for table rows.
|
|
603
584
|
*/
|
|
604
|
-
declare function
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
children: React.ReactNode;
|
|
608
|
-
};
|
|
609
|
-
declare const variants: (props?: ({
|
|
610
|
-
variant?: "standard" | "full-bleed" | "two-column" | undefined;
|
|
611
|
-
} & ({
|
|
612
|
-
class?: cva.ClassValue;
|
|
613
|
-
className?: never;
|
|
614
|
-
} | {
|
|
615
|
-
class?: never;
|
|
616
|
-
className?: cva.ClassValue;
|
|
617
|
-
})) | undefined) => string;
|
|
618
|
-
declare const Hero: ({ variant, className, children }: HeroProps) => react_jsx_runtime.JSX.Element;
|
|
619
|
-
|
|
620
|
-
type CarouselProps = {
|
|
621
|
-
/** The <CarouselItem/> components to be displayed within the carousel. */
|
|
622
|
-
children: React.ReactNode;
|
|
623
|
-
/** Additional CSS className for the element. */
|
|
624
|
-
className?: string;
|
|
625
|
-
/**
|
|
626
|
-
* Callback that is triggered when a user navigates to new item in the Carousel.
|
|
627
|
-
* The argument to the callback is an object containing `index` of the new item scrolled into view and the `id` of that item (if set on the `<CarouselItem>`)
|
|
628
|
-
* It also provides `prevIndex` which is the index of the previous item that was in view
|
|
629
|
-
* And `prevId`, which is the id of the previous item that was in view (if set on the `<CarouselItem>`)
|
|
630
|
-
* @param item { index: number; id?: string; prevIndex: number; prevId?: string }
|
|
631
|
-
*/
|
|
632
|
-
onChange?: (item: CarouselItem) => void;
|
|
633
|
-
};
|
|
634
|
-
declare const Carousel: ({ className, children, onChange }: CarouselProps) => react_jsx_runtime.JSX.Element;
|
|
635
|
-
type CarouselItemsProps = {
|
|
636
|
-
/** The <CarouselItem/> components to be displayed within the carousel. */
|
|
637
|
-
children: React.ReactNode;
|
|
638
|
-
/** Additional CSS className for the element. */
|
|
639
|
-
className?: string;
|
|
640
|
-
};
|
|
641
|
-
declare const CarouselItems: ({ className, children }: CarouselItemsProps) => react_jsx_runtime.JSX.Element;
|
|
642
|
-
type CarouselItemProps = {
|
|
643
|
-
/** The component/components to display as the <CarouselItem/>. */
|
|
644
|
-
children: JSX.Element | JSX.Element[];
|
|
645
|
-
/** Additional CSS className for the element. */
|
|
646
|
-
className?: string;
|
|
647
|
-
id?: string;
|
|
648
|
-
};
|
|
649
|
-
type CarouselItem = Pick<CarouselItemProps, 'id'> & {
|
|
650
|
-
/** The index of the item that is currently in view */
|
|
651
|
-
index: number;
|
|
652
|
-
/** The index of the previous item that was in view */
|
|
653
|
-
prevIndex: number;
|
|
654
|
-
/** The id of the previous item that was in view */
|
|
655
|
-
prevId?: CarouselItemProps['id'];
|
|
656
|
-
};
|
|
657
|
-
declare const CarouselItem: ({ className, children, id }: CarouselItemProps) => react_jsx_runtime.JSX.Element;
|
|
585
|
+
declare function TableBody({ className, children, ...restProps }: TableBodyProps): react_jsx_runtime.JSX.Element;
|
|
586
|
+
declare function TableRow(props: TableRowProps): react_jsx_runtime.JSX.Element;
|
|
587
|
+
declare function TableCell(props: TableCellProps): react_jsx_runtime.JSX.Element;
|
|
658
588
|
|
|
659
589
|
type TabsProps = Omit<TabsProps$1, 'className'> & RefAttributes<HTMLDivElement> & {
|
|
660
590
|
/**
|
|
@@ -701,61 +631,116 @@ declare function Tab(props: TabProps): react_jsx_runtime.JSX.Element;
|
|
|
701
631
|
*/
|
|
702
632
|
declare function TabPanel(props: TabPanelProps): react_jsx_runtime.JSX.Element;
|
|
703
633
|
|
|
704
|
-
type
|
|
634
|
+
type TagGroupProps = Omit<TagGroupProps$1, 'className'> & RefAttributes<HTMLDivElement> & {
|
|
705
635
|
/**
|
|
706
|
-
*
|
|
707
|
-
* @default 'default'
|
|
636
|
+
* CSS classes to apply to the tag group
|
|
708
637
|
*/
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
children: React.ReactNode;
|
|
638
|
+
className?: string;
|
|
639
|
+
/**
|
|
640
|
+
* The function to call when the tag is removed
|
|
641
|
+
*/
|
|
642
|
+
onRemove?: (key: React.Key) => void;
|
|
643
|
+
/**
|
|
644
|
+
* The selection mode for the tag group
|
|
645
|
+
* @default "single"
|
|
646
|
+
*/
|
|
647
|
+
selectionMode?: 'single' | 'multiple';
|
|
720
648
|
};
|
|
721
|
-
type
|
|
722
|
-
|
|
723
|
-
|
|
649
|
+
type TagListProps = Omit<TagListProps$1<object>, 'className'> & RefAttributes<HTMLDivElement> & {
|
|
650
|
+
/**
|
|
651
|
+
* CSS classes to apply to the tag list
|
|
652
|
+
*/
|
|
653
|
+
className?: string;
|
|
654
|
+
};
|
|
655
|
+
type TagProps = Omit<TagProps$1, 'className'> & RefAttributes<HTMLDivElement> & {
|
|
724
656
|
children: React.ReactNode;
|
|
657
|
+
/**
|
|
658
|
+
* CSS classes to apply to the tag
|
|
659
|
+
*/
|
|
660
|
+
className?: string;
|
|
725
661
|
};
|
|
726
662
|
/**
|
|
727
|
-
* A
|
|
663
|
+
* A group component for Tag components that enables selection and organization of options.
|
|
728
664
|
*/
|
|
729
|
-
declare function
|
|
665
|
+
declare function TagGroup(props: TagGroupProps): react_jsx_runtime.JSX.Element;
|
|
730
666
|
/**
|
|
731
|
-
*
|
|
667
|
+
* A container component for Tag components within a TagGroup.
|
|
732
668
|
*/
|
|
733
|
-
declare function
|
|
734
|
-
declare function TableColumn(props: TableColumnProps): react_jsx_runtime.JSX.Element;
|
|
669
|
+
declare function TagList(props: TagListProps): react_jsx_runtime.JSX.Element;
|
|
735
670
|
/**
|
|
736
|
-
*
|
|
671
|
+
* Interactive tag component for selections, filtering, and categorization.
|
|
737
672
|
*/
|
|
738
|
-
declare function
|
|
739
|
-
declare function TableRow(props: TableRowProps): react_jsx_runtime.JSX.Element;
|
|
740
|
-
declare function TableCell(props: TableCellProps): react_jsx_runtime.JSX.Element;
|
|
673
|
+
declare function Tag(props: TagProps): react_jsx_runtime.JSX.Element;
|
|
741
674
|
|
|
742
|
-
type
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
/**
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
675
|
+
type TextAreaProps = {
|
|
676
|
+
/** Additional CSS className for the element. */
|
|
677
|
+
className?: string;
|
|
678
|
+
/** Help text for the form control. */
|
|
679
|
+
description?: React.ReactNode;
|
|
680
|
+
/** Error message for the form control. Automatically sets `isInvalid` to true */
|
|
681
|
+
errorMessage?: React.ReactNode;
|
|
682
|
+
/** Label for the form control. */
|
|
683
|
+
label?: React.ReactNode;
|
|
684
|
+
/** Placeholder text. Only visible when the input value is empty. */
|
|
685
|
+
placeholder?: string;
|
|
686
|
+
/** Additional style properties for the element. */
|
|
687
|
+
style?: React.CSSProperties;
|
|
688
|
+
/**
|
|
689
|
+
* The number of visible text lines for the control.
|
|
690
|
+
* @default 2
|
|
691
|
+
*/
|
|
692
|
+
rows?: number;
|
|
693
|
+
/** Ref for the textarea element. */
|
|
694
|
+
ref?: Ref<HTMLTextAreaElement>;
|
|
695
|
+
} & Omit<TextFieldProps$1, 'className' | 'isReadOnly' | 'isDisabled' | 'children' | 'style'>;
|
|
696
|
+
declare function TextArea(props: TextAreaProps): react_jsx_runtime.JSX.Element;
|
|
750
697
|
|
|
751
|
-
type
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
698
|
+
type TextFieldProps = {
|
|
699
|
+
/** Additional CSS className for the element. */
|
|
700
|
+
className?: string;
|
|
701
|
+
/** Help text for the form control. */
|
|
702
|
+
description?: React.ReactNode;
|
|
703
|
+
/** Error message for the form control. Automatically sets `isInvalid` to true */
|
|
704
|
+
errorMessage?: React.ReactNode;
|
|
705
|
+
/** Element to be rendered in the left side of the input. */
|
|
706
|
+
leftAddon?: React.ReactNode;
|
|
707
|
+
/** Label for the form control. */
|
|
708
|
+
label?: React.ReactNode;
|
|
709
|
+
/** Element to be rendered in the right side of the input. */
|
|
710
|
+
rightAddon?: React.ReactNode;
|
|
711
|
+
/** Placeholder text. Only visible when the input value is empty. */
|
|
712
|
+
placeholder?: string;
|
|
713
|
+
/**
|
|
714
|
+
* Text alignment of the input
|
|
715
|
+
* @default left
|
|
716
|
+
*/
|
|
717
|
+
textAlign?: 'left' | 'right';
|
|
718
|
+
/** Additional style properties for the element. */
|
|
719
|
+
style?: React.CSSProperties;
|
|
720
|
+
/** Add a divider between the left/right addons and the input, a value of 0 will be ignored */
|
|
721
|
+
withAddonDivider?: boolean;
|
|
722
|
+
/** Defines the number of characters and determines the width of the input element */
|
|
723
|
+
size?: number;
|
|
724
|
+
/** Ref for the input element. */
|
|
725
|
+
ref?: Ref<HTMLInputElement>;
|
|
726
|
+
} & Omit<TextFieldProps$1, 'className' | 'isReadOnly' | 'isDisabled' | 'children' | 'style'>;
|
|
727
|
+
declare function TextField(props: TextFieldProps): react_jsx_runtime.JSX.Element;
|
|
728
|
+
|
|
729
|
+
type VideoLoopProps = {
|
|
730
|
+
/** The video url */
|
|
731
|
+
src: string;
|
|
732
|
+
/** The video format */
|
|
733
|
+
format: string;
|
|
734
|
+
/**
|
|
735
|
+
* The content of the video must have a text description, so that it is accessible to screen readers.
|
|
736
|
+
* You can either provide just a caption, just an alt text, or both a caption and an alt text.
|
|
737
|
+
* Make sure the alt text doesn't repeat too much of the caption text, if so just a caption is sufficent.
|
|
738
|
+
* Think of this just as an alt text, but for a muted video - this text will not be visible, but read by screen readers.
|
|
739
|
+
* */
|
|
740
|
+
alt?: string;
|
|
741
|
+
className?: string;
|
|
758
742
|
};
|
|
759
|
-
declare const
|
|
743
|
+
declare const VideoLoop: ({ src, format, alt, className }: VideoLoopProps) => react_jsx_runtime.JSX.Element;
|
|
760
744
|
|
|
761
|
-
export { Accordion, AccordionItem,
|
|
745
|
+
export { Accordion, AccordionItem, Alertbox, Avatar, Backlink, Badge, Breadcrumb, Breadcrumbs, Button, ButtonContext, Caption, Card, CardLink, Checkbox, CheckboxGroup, Combobox, ListBoxHeader as ComboboxHeader, ListBoxItem as ComboboxItem, ListBoxSection as ComboboxSection, Content, ContentContext, DateFormatter, Description, DisclosureStateContext, ErrorMessage, Footer, GrunnmurenProvider, Heading, HeadingContext, Label, Media, MediaContext, NumberField, Radio, RadioGroup, Select, ListBoxHeader as SelectHeader, ListBoxItem as SelectItem, ListBoxSection as SelectSection, Tag, TagGroup, TagList, TextArea, TextField, Carousel as UNSAFE_Carousel, CarouselItem as UNSAFE_CarouselItem, CarouselItems as UNSAFE_CarouselItems, Dialog as UNSAFE_Dialog, DialogTrigger as UNSAFE_DialogTrigger, Disclosure as UNSAFE_Disclosure, DisclosureButton as UNSAFE_DisclosureButton, DisclosurePanel as UNSAFE_DisclosurePanel, FileUpload as UNSAFE_FileUpload, Hero as UNSAFE_Hero, CustomLink as UNSAFE_Link, LinkList as UNSAFE_LinkList, LinkListItem as UNSAFE_LinkListItem, Modal as UNSAFE_Modal, Tab as UNSAFE_Tab, TabList as UNSAFE_TabList, TabPanel as UNSAFE_TabPanel, Table as UNSAFE_Table, TableBody as UNSAFE_TableBody, TableCell as UNSAFE_TableCell, TableColumn as UNSAFE_TableColumn, TableHeader as UNSAFE_TableHeader, TableRow as UNSAFE_TableRow, Tabs as UNSAFE_Tabs, VideoLoop, _useLocale as useLocale };
|
|
746
|
+
export type { AccordionItemProps, AccordionProps, Props as AlertboxProps, AvatarProps, BacklinkProps, BadgeProps, BreadcrumbProps, BreadcrumbsProps, ButtonProps, CaptionProps, CardLinkProps, CardProps, CheckboxGroupProps, CheckboxProps, ComboboxProps, ContentProps, DateFormatterProps, DescriptionProps, ErrorMessageProps, FooterProps, GrunnmurenProviderProps, HeadingProps, Locale, MediaProps, NumberFieldProps, RadioGroupProps, RadioProps, SelectProps, TagGroupProps, TagListProps, TagProps, TextAreaProps, TextFieldProps, CarouselItemProps as UNSAFE_CarouselItemProps, CarouselItemsProps as UNSAFE_CarouselItemsProps, CarouselProps as UNSAFE_CarouselProps, DialogProps as UNSAFE_DialogProps, DialogTriggerProps as UNSAFE_DialogTriggerProps, DisclosureButtonProps as UNSAFE_DisclosureButtonProps, DisclosurePanelProps as UNSAFE_DisclosurePanelProps, DisclosureProps as UNSAFE_DisclosureProps, FileUploadProps as UNSAFE_FileUploadProps, HeroProps as UNSAFE_HeroProps, LinkListItemProps as UNSAFE_LinkListItemProps, LinkListProps as UNSAFE_LinkListProps, CustomLinkProps as UNSAFE_LinkProps, ModalProps as UNSAFE_ModalProps, TabListProps as UNSAFE_TabListProps, TabPanelProps as UNSAFE_TabPanelProps, TabProps as UNSAFE_TabProps, TableBodyProps as UNSAFE_TableBodyProps, TableCellProps as UNSAFE_TableCellProps, TableColumnProps as UNSAFE_TableColumnProps, TableHeaderProps as UNSAFE_TableHeaderProps, TableProps as UNSAFE_TableProps, TableRowProps as UNSAFE_TableRowProps, TabsProps as UNSAFE_TabsProps };
|