@obosbbl/grunnmuren-react 3.4.2 → 3.4.4

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/index.d.mts CHANGED
@@ -1,980 +1,875 @@
1
- import { BreadcrumbProps as BreadcrumbProps$1, BreadcrumbsProps as BreadcrumbsProps$1, ButtonProps as ButtonProps$1, CellProps, CheckboxGroupProps as CheckboxGroupProps$1, CheckboxProps as CheckboxProps$1, ColumnProps, ColumnResizerProps, ComboBoxProps, ContextValue, DialogProps as DialogProps$1, DialogTriggerProps as DialogTriggerProps$1, DisclosureGroup, DisclosureGroupProps, DisclosureProps as DisclosureProps$1, FileTriggerProps, Form, Group, HeadingProps as ListBoxHeadingProps, LabelProps, LinkProps as LinkProps$1, ListBoxItemProps, ListBoxSectionProps, ModalOverlayProps, NumberFieldProps as NumberFieldProps$1, RadioGroupProps as RadioGroupProps$1, RadioProps as RadioProps$1, ResizableTableContainerProps, RouterProvider, RowProps, SelectProps as SelectProps$1, TabListProps as TabListProps$1, TabPanelProps as TabPanelProps$1, TabProps as TabProps$1, TableBodyProps as TableBodyProps$1, TableHeaderProps as TableHeaderProps$1, TableProps as TableProps$1, TabsProps as TabsProps$1, TagGroupProps as TagGroupProps$1, TagListProps as TagListProps$1, TagProps as TagProps$1, TextFieldProps as TextFieldProps$1, TextProps } from "react-aria-components";
2
- import * as cva$1 from "cva";
3
- import { VariantProps } from "cva";
4
- import * as react from "react";
5
- import { ComponentProps, Dispatch, HTMLAttributes, HTMLProps, JSX, ReactNode, Ref, RefAttributes, RefObject, SetStateAction } from "react";
6
- import * as react_jsx_runtime0 from "react/jsx-runtime";
7
- import { DateFormatterOptions } from "react-aria";
8
- import { DisclosureState } from "react-stately";
9
- import { EmblaViewportRefType } from "embla-carousel-react";
10
- import { FormValidationProps } from "@react-stately/form";
11
-
12
- //#region src/disclosure/disclosure.d.ts
1
+ import { DisclosureProps as DisclosureProps$1, ButtonProps as ButtonProps$1, LinkProps as LinkProps$1, 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 as ModalOverlayProps$1, NumberFieldProps as NumberFieldProps$1, RadioProps as RadioProps$1, RadioGroupProps as RadioGroupProps$1, SelectProps as SelectProps$1, ColumnResizerProps, TableProps as TableProps$1, TableBodyProps as TableBodyProps$1, CellProps, ColumnProps, ResizableTableContainerProps, 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
+ export { ListBoxItemProps as ComboboxItemProps, DisclosureGroup, DisclosureGroupProps, Form, Group, LabelProps, ListBoxItemProps as SelectItemProps } from 'react-aria-components';
3
+ import * as react_jsx_runtime from 'react/jsx-runtime';
4
+ import * as react from 'react';
5
+ import { RefAttributes, HTMLAttributes, HTMLProps, ComponentProps, Ref, ReactNode, RefObject, Dispatch, SetStateAction, JSX } from 'react';
6
+ import * as cva from 'cva';
7
+ import { VariantProps } from 'cva';
8
+ import { DisclosureState } from 'react-stately';
9
+ import { EmblaViewportRefType } from 'embla-carousel-react';
10
+ import { DateFormatterOptions } from 'react-aria';
11
+ import { FormValidationProps } from '@react-stately/form';
12
+
13
13
  declare const disclosureButtonVariants: (props?: ({
14
- withChevron?: boolean | undefined;
15
- isIconOnly?: boolean | undefined;
14
+ withChevron?: boolean | undefined;
15
+ isIconOnly?: boolean | undefined;
16
16
  } & ({
17
- class?: cva$1.ClassValue;
18
- className?: never;
17
+ class?: cva.ClassValue;
18
+ className?: never;
19
19
  } | {
20
- class?: never;
21
- className?: cva$1.ClassValue;
20
+ class?: never;
21
+ className?: cva.ClassValue;
22
22
  })) | undefined) => string;
23
23
  type DisclosureButtonProps = Omit<ButtonProps$1, 'children'> & VariantProps<typeof disclosureButtonVariants> & {
24
- children?: React.ReactNode;
24
+ children?: React.ReactNode;
25
25
  } & RefAttributes<HTMLButtonElement>;
26
- declare const DisclosureButton: ({
27
- className,
28
- withChevron,
29
- isIconOnly,
30
- children,
31
- ref: _ref,
32
- ...restProps
33
- }: DisclosureButtonProps) => react_jsx_runtime0.JSX.Element;
26
+ declare const DisclosureButton: ({ className, withChevron, isIconOnly, children, ref: _ref, ...restProps }: DisclosureButtonProps) => react_jsx_runtime.JSX.Element;
34
27
  type DisclosureProps = DisclosureProps$1 & RefAttributes<HTMLDivElement> & {
35
- className?: string;
28
+ className?: string;
36
29
  };
37
30
  declare const DisclosureStateContext: react.Context<DisclosureState | null>;
38
- declare const Disclosure: ({
39
- ref: _ref,
40
- ..._props
41
- }: DisclosureProps) => react_jsx_runtime0.JSX.Element;
31
+ declare const Disclosure: ({ ref: _ref, ..._props }: DisclosureProps) => react_jsx_runtime.JSX.Element;
42
32
  type DisclosurePanelProps = Omit<HTMLAttributes<HTMLDivElement>, 'role'> & {
43
- children: React.ReactNode;
44
- role?: 'group' | 'region' | 'none';
33
+ children: React.ReactNode;
34
+ role?: 'group' | 'region' | 'none';
45
35
  } & RefAttributes<HTMLDivElement>;
46
- declare const DisclosurePanel: ({
47
- ref,
48
- children,
49
- ...props
50
- }: DisclosurePanelProps) => react_jsx_runtime0.JSX.Element;
51
- //#endregion
52
- //#region src/accordion/accordion.d.ts
36
+ declare const DisclosurePanel: ({ ref, children, ...props }: DisclosurePanelProps) => react_jsx_runtime.JSX.Element;
37
+
53
38
  type AccordionProps = HTMLProps<HTMLDivElement> & {
54
- children: React.ReactNode;
39
+ children: React.ReactNode;
55
40
  };
56
41
  type AccordionItemProps = DisclosureProps & {
57
- children?: React.ReactNode; /** @deprecated use isExpanded instead */
58
- isOpen?: boolean; /** @deprecated use defaultExpanded instead */
59
- defaultOpen?: boolean; /** @deprecated use onExpandedChange instead */
60
- onOpenChange?: (isOpen: boolean) => void;
61
- };
62
- declare function Accordion(props: AccordionProps): react_jsx_runtime0.JSX.Element;
63
- declare function AccordionItem(props: AccordionItemProps): react_jsx_runtime0.JSX.Element;
64
- //#endregion
65
- //#region src/alertbox/alertbox.d.ts
42
+ children?: React.ReactNode;
43
+ /** @deprecated use isExpanded instead */
44
+ isOpen?: boolean;
45
+ /** @deprecated use defaultExpanded instead */
46
+ defaultOpen?: boolean;
47
+ /** @deprecated use onExpandedChange instead */
48
+ onOpenChange?: (isOpen: boolean) => void;
49
+ };
50
+ declare function Accordion(props: AccordionProps): react_jsx_runtime.JSX.Element;
51
+ declare function AccordionItem(props: AccordionItemProps): react_jsx_runtime.JSX.Element;
52
+
66
53
  declare const alertVariants: (props?: ({
67
- variant?: "info" | "success" | "warning" | "danger" | undefined;
54
+ variant?: "info" | "success" | "warning" | "danger" | undefined;
68
55
  } & ({
69
- class?: cva$1.ClassValue;
70
- className?: never;
56
+ class?: cva.ClassValue;
57
+ className?: never;
71
58
  } | {
72
- class?: never;
73
- className?: cva$1.ClassValue;
59
+ class?: never;
60
+ className?: cva.ClassValue;
74
61
  })) | undefined) => string;
75
62
  type Props = VariantProps<typeof alertVariants> & {
76
- children: React.ReactNode;
77
- /**
78
- * The ARIA role for the alertbox.
79
- */
80
- role: 'alert' | 'status' | 'none'; /** Additional CSS className for the element. */
81
- className?: string; /** 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. */
82
- icon?: React.ComponentType;
83
- /**
84
- * Controls if the alert is expandable or not
85
- * @default false
86
- */
87
- isExpandable?: boolean;
88
- /**
89
- * Controls if the alert can be dismissed with a close button.
90
- * @default false
91
- */
92
- isDismissable?: boolean;
93
- /**
94
- * Controls if the alert is rendered or not.
95
- * This is used to control the open/closed state of the component; make the component "controlled".
96
- * @default false
97
- */
98
- isDismissed?: boolean;
99
- /**
100
- * Callback that should be triggered when a dismissable alert is closed.
101
- * This is used to control the open/closed state of the component; make the component "controlled".
102
- */
103
- onDismiss?: () => void;
104
- };
105
- declare const Alertbox: ({
106
- children,
107
- role,
108
- className,
109
- icon,
110
- variant,
111
- isDismissable,
112
- isDismissed,
113
- onDismiss,
114
- isExpandable
115
- }: Props) => react_jsx_runtime0.JSX.Element | undefined;
116
- //#endregion
117
- //#region src/avatar/avatar.d.ts
63
+ children: React.ReactNode;
64
+ /**
65
+ * The ARIA role for the alertbox.
66
+ */
67
+ role: 'alert' | 'status' | 'none';
68
+ /** Additional CSS className for the element. */
69
+ className?: string;
70
+ /** 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. */
71
+ icon?: React.ComponentType;
72
+ /**
73
+ * Controls if the alert is expandable or not
74
+ * @default false
75
+ */
76
+ isExpandable?: boolean;
77
+ /**
78
+ * Controls if the alert can be dismissed with a close button.
79
+ * @default false
80
+ */
81
+ isDismissable?: boolean;
82
+ /**
83
+ * Controls if the alert is rendered or not.
84
+ * This is used to control the open/closed state of the component; make the component "controlled".
85
+ * @default false
86
+ */
87
+ isDismissed?: boolean;
88
+ /**
89
+ * Callback that should be triggered when a dismissable alert is closed.
90
+ * This is used to control the open/closed state of the component; make the component "controlled".
91
+ */
92
+ onDismiss?: () => void;
93
+ };
94
+ declare const Alertbox: ({ children, role, className, icon, variant, isDismissable, isDismissed, onDismiss, isExpandable, }: Props) => react_jsx_runtime.JSX.Element | undefined;
95
+
118
96
  type AvatarProps = ComponentProps<'img'>;
119
- declare const Avatar: ({
120
- src,
121
- alt,
122
- className,
123
- onError,
124
- loading,
125
- ...rest
126
- }: AvatarProps) => react_jsx_runtime0.JSX.Element;
127
- //#endregion
128
- //#region src/backlink/backlink.d.ts
97
+ declare const Avatar: ({ src, alt, className, onError, loading, ...rest }: AvatarProps) => react_jsx_runtime.JSX.Element;
98
+
129
99
  type ButtonOrLinkProps$1 = {
130
- children?: React.ReactNode; /** Additional CSS className for the element. */
131
- className?: string; /** Determines whether to use an anchor or a button for the Backlink */
132
- href?: LinkProps$1['href'];
133
- /** To add a permanent underline on the link (not only on hover)
134
- * @default false
135
- */
136
- withUnderline?: boolean; /** Ref to the element. */
137
- ref?: Ref<HTMLAnchorElement | HTMLButtonElement>;
100
+ children?: React.ReactNode;
101
+ /** Additional CSS className for the element. */
102
+ className?: string;
103
+ /** Determines whether to use an anchor or a button for the Backlink */
104
+ href?: LinkProps$1['href'];
105
+ /** To add a permanent underline on the link (not only on hover)
106
+ * @default false
107
+ */
108
+ withUnderline?: boolean;
109
+ /** Ref to the element. */
110
+ ref?: Ref<HTMLAnchorElement | HTMLButtonElement>;
138
111
  };
139
112
  type BacklinkProps = (ButtonProps$1 | LinkProps$1) & ButtonOrLinkProps$1;
140
- declare function Backlink(props: BacklinkProps): react_jsx_runtime0.JSX.Element;
141
- //#endregion
142
- //#region src/badge/badge.d.ts
113
+ declare function Backlink(props: BacklinkProps): react_jsx_runtime.JSX.Element;
114
+
143
115
  type BadgeProps = VariantProps<typeof badgeVariants> & {
144
- children?: React.ReactNode; /** Additional CSS className for the element. */
145
- className?: string; /** Ref to the element. */
146
- ref?: Ref<HTMLSpanElement>;
116
+ children?: React.ReactNode;
117
+ /** Additional CSS className for the element. */
118
+ className?: string;
119
+ /** Ref to the element. */
120
+ ref?: Ref<HTMLSpanElement>;
147
121
  };
148
122
  declare const badgeVariants: (props?: ({
149
- color?: "gray-dark" | "mint" | "sky" | "white" | "blue-dark" | "green-dark" | undefined;
150
- size?: "small" | "medium" | "large" | undefined;
123
+ color?: "gray-dark" | "mint" | "sky" | "white" | "blue-dark" | "green-dark" | undefined;
124
+ size?: "small" | "medium" | "large" | undefined;
151
125
  } & ({
152
- class?: cva$1.ClassValue;
153
- className?: never;
126
+ class?: cva.ClassValue;
127
+ className?: never;
154
128
  } | {
155
- class?: never;
156
- className?: cva$1.ClassValue;
129
+ class?: never;
130
+ className?: cva.ClassValue;
157
131
  })) | undefined) => string;
158
- declare function Badge(props: BadgeProps): react_jsx_runtime0.JSX.Element;
159
- //#endregion
160
- //#region src/link/link.d.ts
132
+ declare function Badge(props: BadgeProps): react_jsx_runtime.JSX.Element;
133
+
161
134
  declare const linkVariants: (props?: (((VariantProps<(props?: ({
162
- animateIcon?: "right" | "left" | "down" | "up" | "up-right" | undefined;
135
+ animateIcon?: "right" | "left" | "down" | "up" | "up-right" | undefined;
163
136
  } & ({
164
- class?: cva$1.ClassValue;
165
- className?: never;
137
+ class?: cva.ClassValue;
138
+ className?: never;
166
139
  } | {
167
- class?: never;
168
- className?: cva$1.ClassValue;
140
+ class?: never;
141
+ className?: cva.ClassValue;
169
142
  })) | undefined) => string> & VariantProps<(props?: ({
170
- class?: cva$1.ClassValue;
171
- className?: never;
143
+ class?: cva.ClassValue;
144
+ className?: never;
172
145
  } | {
173
- class?: never;
174
- className?: cva$1.ClassValue;
146
+ class?: never;
147
+ className?: cva.ClassValue;
175
148
  }) | undefined) => string>) | undefined) & ({
176
- class?: cva$1.ClassValue;
177
- className?: never;
149
+ class?: cva.ClassValue;
150
+ className?: never;
178
151
  } | {
179
- class?: never;
180
- className?: cva$1.ClassValue;
152
+ class?: never;
153
+ className?: cva.ClassValue;
181
154
  })) | undefined) => string;
182
155
  type LinkProps = VariantProps<typeof linkVariants> & LinkProps$1 & React.RefAttributes<HTMLAnchorElement> & {
183
- children?: React.ReactNode; /** @private Internal use */
184
- '~iconRight'?: React.ReactNode;
185
- };
186
- declare const Link: ({
187
- animateIcon,
188
- children,
189
- className,
190
- "~iconRight": iconRight,
191
- ...props
192
- }: LinkProps) => react_jsx_runtime0.JSX.Element;
193
- //#endregion
194
- //#region src/breadcrumbs/breadcrumb.d.ts
156
+ children?: React.ReactNode;
157
+ /** @private Internal use */
158
+ '~iconRight'?: React.ReactNode;
159
+ };
160
+ declare const Link: ({ animateIcon, children, className, "~iconRight": iconRight, ...props }: LinkProps) => react_jsx_runtime.JSX.Element;
161
+
195
162
  type BreadcrumbProps = {
196
- /** Additional CSS className for the element. */className?: string;
197
- children?: React.ReactNode; /** Additional style properties for the element. */
198
- style?: React.CSSProperties; /** The URL to navigate to when clicking the breadcrumb. */
199
- href?: LinkProps['href']; /** Ref to the element. */
200
- ref?: Ref<HTMLLIElement>;
163
+ /** Additional CSS className for the element. */
164
+ className?: string;
165
+ children?: React.ReactNode;
166
+ /** Additional style properties for the element. */
167
+ style?: React.CSSProperties;
168
+ /** The URL to navigate to when clicking the breadcrumb. */
169
+ href?: LinkProps['href'];
170
+ /** Ref to the element. */
171
+ ref?: Ref<HTMLLIElement>;
201
172
  } & Omit<BreadcrumbProps$1, 'className' | 'style'>;
202
- declare function Breadcrumb(props: BreadcrumbProps): react_jsx_runtime0.JSX.Element;
203
- //#endregion
204
- //#region src/breadcrumbs/breadcrumbs.d.ts
173
+ declare function Breadcrumb(props: BreadcrumbProps): react_jsx_runtime.JSX.Element;
174
+
205
175
  type BreadcrumbsProps = {
206
- /** Additional CSS className for the element. */className?: string; /** Additional style properties for the element. */
207
- style?: React.CSSProperties; /** Ref to the element. */
208
- ref?: Ref<HTMLOListElement>;
176
+ /** Additional CSS className for the element. */
177
+ className?: string;
178
+ /** Additional style properties for the element. */
179
+ style?: React.CSSProperties;
180
+ /** Ref to the element. */
181
+ ref?: Ref<HTMLOListElement>;
209
182
  } & Omit<BreadcrumbsProps$1<BreadcrumbProps>, 'className' | 'style'>;
210
- declare function Breadcrumbs(props: BreadcrumbsProps): react_jsx_runtime0.JSX.Element;
211
- //#endregion
212
- //#region src/button/button.d.ts
183
+ declare function Breadcrumbs(props: BreadcrumbsProps): react_jsx_runtime.JSX.Element;
184
+
213
185
  /**
214
186
  * Figma: https://www.figma.com/file/9OvSg0ZXI5E1eQYi7AWiWn/Grunnmuren-2.0-%E2%94%82-Designsystem?node-id=30%3A2574&mode=dev
215
187
  */
216
188
  declare const buttonVariants: (props?: (((VariantProps<(props?: ({
217
- animateIcon?: "right" | "left" | "down" | "up" | "up-right" | undefined;
189
+ animateIcon?: "right" | "left" | "down" | "up" | "up-right" | undefined;
218
190
  } & ({
219
- class?: cva$1.ClassValue;
220
- className?: never;
191
+ class?: cva.ClassValue;
192
+ className?: never;
221
193
  } | {
222
- class?: never;
223
- className?: cva$1.ClassValue;
194
+ class?: never;
195
+ className?: cva.ClassValue;
224
196
  })) | undefined) => string> & VariantProps<(props?: ({
225
- variant?: "primary" | "secondary" | "tertiary" | undefined;
226
- color?: "mint" | "white" | "blue" | undefined;
227
- isIconOnly?: boolean | undefined;
228
- isPending?: boolean | undefined;
197
+ variant?: "primary" | "secondary" | "tertiary" | undefined;
198
+ color?: "blue" | "mint" | "white" | undefined;
199
+ isIconOnly?: boolean | undefined;
200
+ isPending?: boolean | undefined;
229
201
  } & ({
230
- class?: cva$1.ClassValue;
231
- className?: never;
202
+ class?: cva.ClassValue;
203
+ className?: never;
232
204
  } | {
233
- class?: never;
234
- className?: cva$1.ClassValue;
205
+ class?: never;
206
+ className?: cva.ClassValue;
235
207
  })) | undefined) => string>) | undefined) & ({
236
- class?: cva$1.ClassValue;
237
- className?: never;
208
+ class?: cva.ClassValue;
209
+ className?: never;
238
210
  } | {
239
- class?: never;
240
- className?: cva$1.ClassValue;
211
+ class?: never;
212
+ className?: cva.ClassValue;
241
213
  })) | undefined) => string;
242
214
  type ButtonOrLinkProps = VariantProps<typeof buttonVariants> & {
243
- children?: React.ReactNode;
244
- href?: LinkProps$1['href']; /** Additional style properties for the element. */
245
- style?: React.CSSProperties; /** Ref to the element. */
246
- ref?: Ref<HTMLButtonElement | HTMLAnchorElement>;
215
+ children?: React.ReactNode;
216
+ href?: LinkProps$1['href'];
217
+ /** Additional style properties for the element. */
218
+ style?: React.CSSProperties;
219
+ /** Ref to the element. */
220
+ ref?: Ref<HTMLButtonElement | HTMLAnchorElement>;
247
221
  };
248
222
  type ButtonProps = (ButtonProps$1 | LinkProps$1) & ButtonOrLinkProps;
249
223
  declare const ButtonContext: react.Context<ContextValue<ButtonProps, HTMLButtonElement | HTMLAnchorElement>>;
250
- declare function Button({
251
- ref,
252
- ...props
253
- }: ButtonProps): react_jsx_runtime0.JSX.Element;
254
- //#endregion
255
- //#region src/card/card.d.ts
224
+ declare function Button({ ref, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
225
+
256
226
  type CardProps = VariantProps<typeof cardVariants> & HTMLAttributes<HTMLDivElement> & {
257
- children?: React.ReactNode;
227
+ children?: React.ReactNode;
258
228
  };
259
229
  declare const cardVariants: (props?: ({
260
- variant?: "subtle" | "outlined" | undefined;
261
- layout?: "horizontal" | "vertical" | undefined;
230
+ variant?: "subtle" | "outlined" | undefined;
231
+ layout?: "horizontal" | "vertical" | undefined;
262
232
  } & ({
263
- class?: cva$1.ClassValue;
264
- className?: never;
233
+ class?: cva.ClassValue;
234
+ className?: never;
265
235
  } | {
266
- class?: never;
267
- className?: cva$1.ClassValue;
236
+ class?: never;
237
+ className?: cva.ClassValue;
268
238
  })) | undefined) => string;
269
- declare const Card: ({
270
- children,
271
- className,
272
- variant,
273
- layout,
274
- ...restProps
275
- }: CardProps) => react_jsx_runtime0.JSX.Element;
239
+ declare const Card: ({ children, className, variant, layout, ...restProps }: CardProps) => react_jsx_runtime.JSX.Element;
276
240
  type CardLinkWrapperProps = {
277
- children?: React.ReactNode;
278
- className?: string;
279
- } & { [K in keyof Omit<LinkProps$1, 'className' | 'children'>]?: never };
241
+ children?: React.ReactNode;
242
+ className?: string;
243
+ } & {
244
+ [K in keyof Omit<LinkProps$1, 'className' | 'children'>]?: never;
245
+ };
280
246
  type CardLinkProps = (Omit<LinkProps$1, 'href'> & Required<Pick<LinkProps$1, 'href'>>) | CardLinkWrapperProps;
281
247
  /**
282
248
  * A component that creates a clickable area on a card.
283
249
  * It can be used either as a wrapper around a link or as a standalone link.
284
250
  */
285
- declare const CardLink: ({
286
- className: _className,
287
- href,
288
- ...restProps
289
- }: CardLinkProps) => react_jsx_runtime0.JSX.Element;
290
- //#endregion
291
- //#region src/carousel/carousel.d.ts
251
+ declare const CardLink: ({ className: _className, href, ...restProps }: CardLinkProps) => react_jsx_runtime.JSX.Element;
252
+
292
253
  type CarouselProps = Omit<HTMLProps<HTMLDivElement>, 'onChange' | 'onSelect'> & {
293
- children?: React.ReactNode;
294
- /**
295
- * Alignment of the items relative to the carousel viewport.
296
- * @default 'center'
297
- */
298
- align?: 'start' | 'center' | 'end'; /** Delay in milliseconds between each automatic transition of the carousel. Any interaction with the carousel will immediately stop the autoplay. */
299
- autoPlayDelay?: number;
300
- /**
301
- * The initial snapped index of the carousel.
302
- * @default 0
303
- */
304
- initialIndex?: number;
305
- /**
306
- * Whether the carousel infinitely loops.
307
- * @default false
308
- */
309
- loop?: boolean;
310
- /**
311
- * Orientation of the carousel.
312
- * @default 'horizontal'
313
- */
314
- orientation?: 'horizontal' | 'vertical';
315
- /**
316
- * Callback invoked when the snapped index changes.
317
- */
318
- onSelect?: (index: number) => void;
319
- /**
320
- * Callback invoked after the carousel scrolling "settles". Think of this as the debounced version of `onSelect`.
321
- */
322
- onSettled?: (index: number) => void;
323
- /**
324
- * Whether the carousel should scroll with regular mouse/trackpad scroll gestures, in addition to swipe gestures.
325
- * @default false
326
- */
327
- scrollGestures?: boolean;
328
- };
329
- declare const Carousel: ({
330
- autoPlayDelay,
331
- align,
332
- children,
333
- initialIndex,
334
- orientation,
335
- onSelect,
336
- onSettled,
337
- loop,
338
- scrollGestures,
339
- ref,
340
- ...rest
341
- }: CarouselProps) => react_jsx_runtime0.JSX.Element;
254
+ children?: React.ReactNode;
255
+ /**
256
+ * Alignment of the items relative to the carousel viewport.
257
+ * @default 'center'
258
+ */
259
+ align?: 'start' | 'center' | 'end';
260
+ /** Delay in milliseconds between each automatic transition of the carousel. Any interaction with the carousel will immediately stop the autoplay. */
261
+ autoPlayDelay?: number;
262
+ /**
263
+ * The initial snapped index of the carousel.
264
+ * @default 0
265
+ */
266
+ initialIndex?: number;
267
+ /**
268
+ * Whether the carousel infinitely loops.
269
+ * @default false
270
+ */
271
+ loop?: boolean;
272
+ /**
273
+ * Orientation of the carousel.
274
+ * @default 'horizontal'
275
+ */
276
+ orientation?: 'horizontal' | 'vertical';
277
+ /**
278
+ * Callback invoked when the snapped index changes.
279
+ */
280
+ onSelect?: (index: number) => void;
281
+ /**
282
+ * Callback invoked after the carousel scrolling "settles". Think of this as the debounced version of `onSelect`.
283
+ */
284
+ onSettled?: (index: number) => void;
285
+ /**
286
+ * Whether the carousel should scroll with regular mouse/trackpad scroll gestures, in addition to swipe gestures.
287
+ * @default false
288
+ */
289
+ scrollGestures?: boolean;
290
+ };
291
+ declare const Carousel: ({ autoPlayDelay, align, children, initialIndex, orientation, onSelect, onSettled, loop, scrollGestures, ref, ...rest }: CarouselProps) => react_jsx_runtime.JSX.Element;
342
292
  type CarouselContextValue = {
343
- slidesInView: number[];
344
- orientation: 'horizontal' | 'vertical';
345
- /**
346
- * @private
347
- */
348
- '~emblaRef': EmblaViewportRefType | null;
293
+ slidesInView: number[];
294
+ orientation: 'horizontal' | 'vertical';
295
+ /**
296
+ * @private
297
+ */
298
+ '~emblaRef': EmblaViewportRefType | null;
349
299
  };
350
300
  declare const CarouselContext: react.Context<CarouselContextValue>;
351
301
  type CarouselItemsContainer = HTMLProps<HTMLDivElement> & {
352
- children: React.ReactNode;
302
+ children: React.ReactNode;
353
303
  };
354
- declare const CarouselItemsContainer: ({
355
- children,
356
- className,
357
- ...rest
358
- }: CarouselItemsContainer) => react_jsx_runtime0.JSX.Element;
304
+ declare const CarouselItemsContainer: ({ children, className, ...rest }: CarouselItemsContainer) => react_jsx_runtime.JSX.Element;
359
305
  type CarouselItemsProps = HTMLProps<HTMLDivElement> & {
360
- /** The <CarouselItem/> components to be displayed within the carousel. */children: React.ReactNode;
306
+ /** The <CarouselItem/> components to be displayed within the carousel. */
307
+ children: React.ReactNode;
361
308
  };
362
- declare const CarouselItems: ({
363
- className,
364
- children
365
- }: CarouselItemsProps) => react_jsx_runtime0.JSX.Element;
309
+ declare const CarouselItems: ({ className, children }: CarouselItemsProps) => react_jsx_runtime.JSX.Element;
366
310
  type CarouselControlsProps = HTMLProps<HTMLDivElement> & {
367
- /** The <CarouselItem/> components to be displayed within the carousel. */children: React.ReactNode;
311
+ /** The <CarouselItem/> components to be displayed within the carousel. */
312
+ children: React.ReactNode;
368
313
  };
369
314
  /**
370
315
  * This is internal for now, but we will expose it in the future when we support more flexible positioning of prev/next and other actions.
371
316
  * It is used to render the prev/next buttons in the carousel for now.
372
317
  */
373
- declare const CarouselControls: ({
374
- children,
375
- className,
376
- ...rest
377
- }: CarouselControlsProps) => react_jsx_runtime0.JSX.Element;
318
+ declare const CarouselControls: ({ children, className, ...rest }: CarouselControlsProps) => react_jsx_runtime.JSX.Element;
378
319
  type CarouselButtonProps = ButtonProps & {
379
- slot: 'next' | 'prev';
380
- };
381
- declare const CarouselButton: ({
382
- className,
383
- isIconOnly,
384
- slot,
385
- ...rest
386
- }: CarouselButtonProps) => react_jsx_runtime0.JSX.Element;
320
+ slot: 'next' | 'prev';
321
+ };
322
+ declare const CarouselButton: ({ className, isIconOnly, slot, ...rest }: CarouselButtonProps) => react_jsx_runtime.JSX.Element;
387
323
  type CarouselItemProps = HTMLProps<HTMLDivElement> & {
388
- /** The component/components to display as the <CarouselItem/>. */children: React.ReactNode;
389
- };
390
- declare const CarouselItem: ({
391
- className,
392
- children,
393
- ...rest
394
- }: CarouselItemProps) => react_jsx_runtime0.JSX.Element;
395
- //#endregion
396
- //#region src/checkbox/checkbox.d.ts
324
+ /** The component/components to display as the <CarouselItem/>. */
325
+ children: React.ReactNode;
326
+ };
327
+ declare const CarouselItem: ({ className, children, ...rest }: CarouselItemProps) => react_jsx_runtime.JSX.Element;
328
+
397
329
  type CheckboxProps = {
398
- children: React.ReactNode; /** Additional CSS className for the element. */
399
- className?: string; /** Help text for the form control. */
400
- description?: React.ReactNode; /** Error message for the form control. Automatically sets `isInvalid` to true */
401
- errorMessage?: React.ReactNode; /** Additional style properties for the element. */
402
- style?: React.CSSProperties; /** Ref for the element. */
403
- ref?: Ref<HTMLLabelElement>;
330
+ children: React.ReactNode;
331
+ /** Additional CSS className for the element. */
332
+ className?: string;
333
+ /** Help text for the form control. */
334
+ description?: React.ReactNode;
335
+ /** Error message for the form control. Automatically sets `isInvalid` to true */
336
+ errorMessage?: React.ReactNode;
337
+ /** Additional style properties for the element. */
338
+ style?: React.CSSProperties;
339
+ /** Ref for the element. */
340
+ ref?: Ref<HTMLLabelElement>;
404
341
  } & Omit<CheckboxProps$1, 'isDisabled' | 'style' | 'children' | 'isIndeterminate' | 'isReadOnly'>;
405
- declare function Checkbox(props: CheckboxProps): react_jsx_runtime0.JSX.Element;
406
- //#endregion
407
- //#region src/checkbox/checkbox-group.d.ts
342
+ declare function Checkbox(props: CheckboxProps): react_jsx_runtime.JSX.Element;
343
+
408
344
  type CheckboxGroupProps = {
409
- children: React.ReactNode; /** Additional CSS className for the element. */
410
- className?: string; /** Help text for the form control. */
411
- description?: React.ReactNode; /** Error message for the form control. Automatically sets `isInvalid` to true */
412
- errorMessage?: React.ReactNode; /** Label for the form control. */
413
- label?: React.ReactNode; /** Additional style properties for the element. */
414
- style?: React.CSSProperties; /** Ref to the element. */
415
- ref?: Ref<HTMLDivElement>;
345
+ children: React.ReactNode;
346
+ /** Additional CSS className for the element. */
347
+ className?: string;
348
+ /** Help text for the form control. */
349
+ description?: React.ReactNode;
350
+ /** Error message for the form control. Automatically sets `isInvalid` to true */
351
+ errorMessage?: React.ReactNode;
352
+ /** Label for the form control. */
353
+ label?: React.ReactNode;
354
+ /** Additional style properties for the element. */
355
+ style?: React.CSSProperties;
356
+ /** Ref to the element. */
357
+ ref?: Ref<HTMLDivElement>;
416
358
  } & Omit<CheckboxGroupProps$1, 'className' | 'isReadOnly' | 'isDisabled' | 'children' | 'style' | 'orientation'>;
417
- declare function CheckboxGroup(props: CheckboxGroupProps): react_jsx_runtime0.JSX.Element;
418
- //#endregion
419
- //#region src/internals/listbox.d.ts
420
- declare const ListBoxItem: (props: ListBoxItemProps) => react_jsx_runtime0.JSX.Element;
359
+ declare function CheckboxGroup(props: CheckboxGroupProps): react_jsx_runtime.JSX.Element;
360
+
361
+ declare const ListBoxItem: (props: ListBoxItemProps) => react_jsx_runtime.JSX.Element;
421
362
  /**
422
363
  * This component can be used to group items in a listbox
423
364
  */
424
- declare const ListBoxSection: <T extends object>({
425
- className,
426
- ...restProps
427
- }: ListBoxSectionProps<T>) => react_jsx_runtime0.JSX.Element;
365
+ declare const ListBoxSection: <T extends object>({ className, ...restProps }: ListBoxSectionProps<T>) => react_jsx_runtime.JSX.Element;
428
366
  /**
429
367
  * This component can be used to label grouped items in a `ListBoxSection` with a heading
430
368
  */
431
- declare const ListBoxHeader: (props: ListBoxHeadingProps) => react_jsx_runtime0.JSX.Element;
432
- //#endregion
433
- //#region src/combobox/combobox.d.ts
369
+ declare const ListBoxHeader: (props: HeadingProps$1) => react_jsx_runtime.JSX.Element;
370
+
434
371
  type ComboboxProps<T extends object> = {
435
- children: React.ReactNode; /** Additional CSS className for the element. */
436
- className?: string; /** Help text for the form control. */
437
- description?: React.ReactNode; /** Error message for the form control. Automatically sets `isInvalid` to true */
438
- errorMessage?: React.ReactNode;
439
- /**
440
- * Display the dropdown button trigger in a pending state
441
- * @default false
442
- */
443
- isPending?: boolean; /** Label for the form control. */
444
- label?: React.ReactNode; /** Placeholder text. Only visible when the input value is empty. */
445
- placeholder?: string; /** Additional style properties for the element. */
446
- style?: React.CSSProperties; /** Ref for the input element. */
447
- ref?: Ref<HTMLInputElement>;
372
+ children: React.ReactNode;
373
+ /** Additional CSS className for the element. */
374
+ className?: string;
375
+ /** Help text for the form control. */
376
+ description?: React.ReactNode;
377
+ /** Error message for the form control. Automatically sets `isInvalid` to true */
378
+ errorMessage?: React.ReactNode;
379
+ /**
380
+ * Display the dropdown button trigger in a pending state
381
+ * @default false
382
+ */
383
+ isPending?: boolean;
384
+ /** Label for the form control. */
385
+ label?: React.ReactNode;
386
+ /** Placeholder text. Only visible when the input value is empty. */
387
+ placeholder?: string;
388
+ /** Additional style properties for the element. */
389
+ style?: React.CSSProperties;
390
+ /** Ref for the input element. */
391
+ ref?: Ref<HTMLInputElement>;
448
392
  } & Omit<ComboBoxProps<T>, 'className' | 'isReadOnly' | 'isDisabled' | 'children' | 'style'>;
449
- declare function Combobox<T extends object>(props: ComboboxProps<T>): react_jsx_runtime0.JSX.Element;
450
- //#endregion
451
- //#region src/content/content.d.ts
393
+ declare function Combobox<T extends object>(props: ComboboxProps<T>): react_jsx_runtime.JSX.Element;
394
+
452
395
  type HeadingProps = Omit<HTMLProps<HTMLHeadingElement>, 'size'> & VariantProps<typeof headingVariants> & {
453
- children?: React.ReactNode; /** The semantic level of the heading */
454
- level: 1 | 2 | 3 | 4 | 5 | 6; /** @private Used internally for slotted components */
455
- _innerWrapper?: (children: React.ReactNode) => React.ReactNode; /** @private Used internally for slotted components */
456
- _outerWrapper?: (children: React.ReactNode) => React.ReactNode; /** Ref for the element. */
457
- ref?: Ref<HTMLHeadingElement>;
396
+ children?: React.ReactNode;
397
+ /** The semantic level of the heading */
398
+ level: 1 | 2 | 3 | 4 | 5 | 6;
399
+ /** @private Used internally for slotted components */
400
+ _innerWrapper?: (children: React.ReactNode) => React.ReactNode;
401
+ /** @private Used internally for slotted components */
402
+ _outerWrapper?: (children: React.ReactNode) => React.ReactNode;
403
+ /** Ref for the element. */
404
+ ref?: Ref<HTMLHeadingElement>;
458
405
  };
459
406
  declare const HeadingContext: react.Context<ContextValue<Partial<HeadingProps>, HTMLHeadingElement>>;
460
407
  declare const headingVariants: (props?: ({
461
- size?: "s" | "xl" | "l" | "m" | "xs" | undefined;
408
+ size?: "s" | "xl" | "l" | "m" | "xs" | undefined;
462
409
  } & ({
463
- class?: cva$1.ClassValue;
464
- className?: never;
410
+ class?: cva.ClassValue;
411
+ className?: never;
465
412
  } | {
466
- class?: never;
467
- className?: cva$1.ClassValue;
413
+ class?: never;
414
+ className?: cva.ClassValue;
468
415
  })) | undefined) => string;
469
- declare const Heading: ({
470
- ref,
471
- ...props
472
- }: HeadingProps) => string | number | bigint | boolean | react_jsx_runtime0.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;
416
+ 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;
473
417
  declare const ContentContext: react.Context<ContextValue<Partial<ContentProps>, HTMLDivElement>>;
474
418
  type ContentProps = HTMLProps<HTMLDivElement> & {
475
- children: React.ReactNode; /** @private Used internally for slotted components */
476
- _outerWrapper?: (children: React.ReactNode) => React.ReactNode; /** Ref for the element. */
477
- ref?: Ref<HTMLDivElement>;
478
- };
479
- declare const Content: ({
480
- ref,
481
- ...props
482
- }: ContentProps) => string | number | bigint | boolean | react_jsx_runtime0.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;
419
+ children: React.ReactNode;
420
+ /** @private Used internally for slotted components */
421
+ _outerWrapper?: (children: React.ReactNode) => React.ReactNode;
422
+ /** Ref for the element. */
423
+ ref?: Ref<HTMLDivElement>;
424
+ };
425
+ 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;
483
426
  type MediaProps = HTMLProps<HTMLDivElement> & VariantProps<typeof mediaVariant> & {
484
- children: React.ReactNode; /** Ref for the element. */
485
- ref?: Ref<HTMLDivElement>;
427
+ children: React.ReactNode;
428
+ /** Ref for the element. */
429
+ ref?: Ref<HTMLDivElement>;
486
430
  };
487
431
  declare const mediaVariant: (props?: ({
488
- fit?: "contain" | "cover" | undefined;
432
+ fit?: "cover" | "contain" | undefined;
489
433
  } & ({
490
- class?: cva$1.ClassValue;
491
- className?: never;
434
+ class?: cva.ClassValue;
435
+ className?: never;
492
436
  } | {
493
- class?: never;
494
- className?: cva$1.ClassValue;
437
+ class?: never;
438
+ className?: cva.ClassValue;
495
439
  })) | undefined) => string;
496
440
  declare const MediaContext: react.Context<ContextValue<Partial<MediaProps>, HTMLDivElement>>;
497
- declare const Media: ({
498
- ref,
499
- ...props
500
- }: MediaProps) => react_jsx_runtime0.JSX.Element;
441
+ declare const Media: ({ ref, ...props }: MediaProps) => react_jsx_runtime.JSX.Element;
501
442
  type FooterProps = HTMLProps<HTMLDivElement> & {
502
- children: React.ReactNode;
443
+ children: React.ReactNode;
503
444
  };
504
445
  type CaptionProps = HTMLProps<HTMLDivElement> & {
505
- children: React.ReactNode;
506
- };
507
- declare const Caption: ({
508
- className,
509
- ...restProps
510
- }: CaptionProps) => react_jsx_runtime0.JSX.Element;
511
- declare const Footer: (props: FooterProps) => react_jsx_runtime0.JSX.Element;
512
- //#endregion
513
- //#region src/date-formatter/date-formatter.d.ts
446
+ children: React.ReactNode;
447
+ };
448
+ declare const Caption: ({ className, ...restProps }: CaptionProps) => react_jsx_runtime.JSX.Element;
449
+ declare const Footer: (props: FooterProps) => react_jsx_runtime.JSX.Element;
450
+
514
451
  type DateFormatterProps = {
515
- value: Date | string;
516
- options?: DateFormatterOptions; /** Callback to customize the rendering of the date */
517
- children?: (formattedDate: string) => ReactNode;
452
+ value: Date | string;
453
+ options?: DateFormatterOptions;
454
+ /** Callback to customize the rendering of the date */
455
+ children?: (formattedDate: string) => ReactNode;
518
456
  };
519
457
  /**
520
458
  * A React component that wraps https://react-spectrum.adobe.com/react-aria/useDateFormatter.html
521
459
  * By default it sets the timeZone to `Europe/Berlin` to prevent the server's timezone from affecting
522
460
  * the localized format
523
461
  */
524
- declare const DateFormatter: ({
525
- options: _options,
526
- value,
527
- children: render
528
- }: DateFormatterProps) => ReactNode;
529
- //#endregion
530
- //#region src/file-upload/file-trigger.d.ts
531
- type FileTriggerProps$1 = Partial<FormValidationProps<File>> & FileTriggerProps & Omit<HTMLAttributes<HTMLInputElement>, 'onSelect' | 'onChange' | 'required' | 'className'> & {
532
- ref?: RefObject<HTMLInputElement | null>;
533
- isInvalid?: boolean;
534
- isRequired?: boolean;
535
- };
536
- //#endregion
537
- //#region src/file-upload/file-upload.d.ts
538
- type FileUploadProps = Omit<FileTriggerProps$1, 'onSelect'> & {
539
- children: ReactNode;
540
- files?: File[];
541
- onChange?: Dispatch<SetStateAction<File[]>>;
542
- validate?: (files: File) => true | string;
543
- isRequired?: boolean;
544
- isInvalid?: boolean;
545
- errorMessage?: string;
546
- };
547
- declare const FileUpload: ({
548
- children,
549
- files: _files,
550
- onChange,
551
- validate,
552
- isInvalid: _isInvalid,
553
- errorMessage,
554
- isRequired,
555
- allowsMultiple,
556
- ref,
557
- ...fileTriggerProps
558
- }: FileUploadProps) => react_jsx_runtime0.JSX.Element;
559
- //#endregion
560
- //#region src/use-locale.d.ts
462
+ declare const DateFormatter: ({ options: _options, value, children: render }: DateFormatterProps) => ReactNode;
463
+
464
+ type FileTriggerProps = Partial<FormValidationProps<File>> & FileTriggerProps$1 & Omit<HTMLAttributes<HTMLInputElement>, 'onSelect' | 'onChange' | 'required' | 'className'> & {
465
+ ref?: RefObject<HTMLInputElement | null>;
466
+ isInvalid?: boolean;
467
+ isRequired?: boolean;
468
+ };
469
+
470
+ type FileUploadProps = Omit<FileTriggerProps, 'onSelect'> & {
471
+ children: ReactNode;
472
+ files?: File[];
473
+ onChange?: Dispatch<SetStateAction<File[]>>;
474
+ validate?: (files: File) => true | string;
475
+ isRequired?: boolean;
476
+ isInvalid?: boolean;
477
+ errorMessage?: string;
478
+ };
479
+ declare const FileUpload: ({ children, files: _files, onChange, validate, isInvalid: _isInvalid, errorMessage, isRequired, allowsMultiple, ref, ...fileTriggerProps }: FileUploadProps) => react_jsx_runtime.JSX.Element;
480
+
561
481
  type Locale = 'nb' | 'sv' | 'en';
562
482
  /**
563
483
  * Returns the locale set in `<GrunnmurenProvider />`
564
484
  */
565
485
  declare function _useLocale(): Locale;
566
- //#endregion
567
- //#region src/grunnmuren-provider.d.ts
486
+
568
487
  type RouterProviderProps = React.ComponentProps<typeof RouterProvider>;
569
488
  type GrunnmurenProviderProps = {
570
- children: React.ReactNode;
571
- /**
572
- * The locale to apply to the children.
573
- * @default nb
574
- */
575
- locale?: Locale; /** The router to use for client side navigation */
576
- navigate?: RouterProviderProps['navigate']; /** Converts a router-specific href to a native HTML href, e.g. prepending a base path */
577
- useHref?: RouterProviderProps['useHref'];
578
- };
579
- declare function GrunnmurenProvider({
580
- children,
581
- locale,
582
- navigate,
583
- useHref
584
- }: GrunnmurenProviderProps): react_jsx_runtime0.JSX.Element;
585
- //#endregion
586
- //#region src/hero/hero.d.ts
489
+ children: React.ReactNode;
490
+ /**
491
+ * The locale to apply to the children.
492
+ * @default nb
493
+ */
494
+ locale?: Locale;
495
+ /** The router to use for client side navigation */
496
+ navigate?: RouterProviderProps['navigate'];
497
+ /** Converts a router-specific href to a native HTML href, e.g. prepending a base path */
498
+ useHref?: RouterProviderProps['useHref'];
499
+ };
500
+ declare function GrunnmurenProvider({ children, locale, navigate, useHref, }: GrunnmurenProviderProps): react_jsx_runtime.JSX.Element;
501
+
587
502
  type HeroProps = HTMLProps<HTMLDivElement> & VariantProps<typeof variants> & {
588
- children: React.ReactNode;
503
+ children: React.ReactNode;
589
504
  };
590
505
  type HeroContextValue = {
591
- variant: HeroProps['variant'];
506
+ variant: HeroProps['variant'];
592
507
  };
593
508
  declare const HeroContext: react.Context<HeroContextValue | null>;
594
509
  declare const variants: (props?: ({
595
- variant?: "standard" | "full-bleed" | "two-column" | undefined;
510
+ variant?: "standard" | "full-bleed" | "two-column" | undefined;
596
511
  } & ({
597
- class?: cva$1.ClassValue;
598
- className?: never;
512
+ class?: cva.ClassValue;
513
+ className?: never;
599
514
  } | {
600
- class?: never;
601
- className?: cva$1.ClassValue;
515
+ class?: never;
516
+ className?: cva.ClassValue;
602
517
  })) | undefined) => string;
603
- declare const Hero: ({
604
- variant,
605
- className,
606
- children,
607
- ...rest
608
- }: HeroProps) => react_jsx_runtime0.JSX.Element;
609
- //#endregion
610
- //#region src/label/description.d.ts
518
+ declare const Hero: ({ variant, className, children, ...rest }: HeroProps) => react_jsx_runtime.JSX.Element;
519
+
611
520
  type DescriptionProps = TextProps;
612
- declare function Description(props: DescriptionProps): react_jsx_runtime0.JSX.Element;
613
- //#endregion
614
- //#region src/label/error-message.d.ts
521
+ declare function Description(props: DescriptionProps): react_jsx_runtime.JSX.Element;
522
+
615
523
  type ErrorMessageProps = TextProps;
616
- declare function ErrorMessage(props: ErrorMessageProps): react_jsx_runtime0.JSX.Element;
617
- //#endregion
618
- //#region src/label/label.d.ts
619
- declare function Label(props: LabelProps): react_jsx_runtime0.JSX.Element;
620
- //#endregion
621
- //#region src/link-list/link-list.d.ts
524
+ declare function ErrorMessage(props: ErrorMessageProps): react_jsx_runtime.JSX.Element;
525
+
526
+ declare function Label(props: LabelProps): react_jsx_runtime.JSX.Element;
527
+
622
528
  declare const linkListContainerVariants: (props?: ({
623
- layout?: "grid" | "stack" | undefined;
529
+ layout?: "stack" | "grid" | undefined;
624
530
  } & ({
625
- class?: cva$1.ClassValue;
626
- className?: never;
531
+ class?: cva.ClassValue;
532
+ className?: never;
627
533
  } | {
628
- class?: never;
629
- className?: cva$1.ClassValue;
534
+ class?: never;
535
+ className?: cva.ClassValue;
630
536
  })) | undefined) => string;
631
537
  type LinkListContainerProps = VariantProps<typeof linkListContainerVariants> & React.HTMLProps<HTMLDivElement> & {
632
- children: JSX.Element | JSX.Element[];
538
+ children: JSX.Element | JSX.Element[];
633
539
  };
634
- declare const LinkListContainer: ({
635
- className,
636
- layout,
637
- ...props
638
- }: LinkListContainerProps) => react_jsx_runtime0.JSX.Element;
540
+ declare const LinkListContainer: ({ className, layout, ...props }: LinkListContainerProps) => react_jsx_runtime.JSX.Element;
639
541
  type LinkListProps = React.HTMLProps<HTMLUListElement> & {
640
- children: JSX.Element | JSX.Element[];
542
+ children: JSX.Element | JSX.Element[];
641
543
  };
642
- declare const LinkList: ({
643
- className,
644
- ...restProps
645
- }: LinkListProps) => react_jsx_runtime0.JSX.Element;
544
+ declare const LinkList: ({ className, ...restProps }: LinkListProps) => react_jsx_runtime.JSX.Element;
646
545
  type LinkListItemProps = React.HTMLProps<HTMLLIElement> & {
647
- children: ReactNode;
648
- };
649
- declare const LinkListItem: ({
650
- children,
651
- className,
652
- ...props
653
- }: LinkListItemProps) => react_jsx_runtime0.JSX.Element;
654
- //#endregion
655
- //#region src/modal/modal.d.ts
546
+ children: ReactNode;
547
+ };
548
+ declare const LinkListItem: ({ children, className, ...props }: LinkListItemProps) => react_jsx_runtime.JSX.Element;
549
+
656
550
  type DialogTriggerProps = DialogTriggerProps$1;
657
- declare const DialogTrigger: (props: DialogTriggerProps) => react_jsx_runtime0.JSX.Element;
658
- type ModalOverlayProps$1 = Omit<ModalOverlayProps, 'isDismissable'> & {
659
- /** @default 10 Controls the z-index of the modal overlay */zIndex?: number; /** @default true Makes the modal dismissable */
660
- isDismissable?: boolean;
661
- };
662
- type ModalProps = ModalOverlayProps$1;
663
- declare const Modal: ({
664
- isDismissable,
665
- isOpen,
666
- onOpenChange,
667
- defaultOpen,
668
- className,
669
- zIndex,
670
- ...restProps
671
- }: ModalProps) => react_jsx_runtime0.JSX.Element;
551
+ declare const DialogTrigger: (props: DialogTriggerProps) => react_jsx_runtime.JSX.Element;
552
+ type ModalOverlayProps = Omit<ModalOverlayProps$1, 'isDismissable' | 'style'> & {
553
+ /** Additional style properties for the element. */
554
+ style?: React.CSSProperties;
555
+ /** @default 10 Controls the z-index of the modal overlay */
556
+ zIndex?: number;
557
+ /** @default true Makes the modal dismissable */
558
+ isDismissable?: boolean;
559
+ };
560
+ type ModalProps = ModalOverlayProps;
561
+ declare const Modal: ({ isDismissable, isOpen, onOpenChange, defaultOpen, className, zIndex, ...restProps }: ModalProps) => react_jsx_runtime.JSX.Element;
672
562
  type DialogProps = DialogProps$1 & {
673
- children: React.ReactNode;
674
- };
675
- declare const Dialog: ({
676
- className,
677
- children,
678
- ...restProps
679
- }: DialogProps) => react_jsx_runtime0.JSX.Element;
680
- //#endregion
681
- //#region src/numberfield/numberfield.d.ts
563
+ children: React.ReactNode;
564
+ };
565
+ declare const Dialog: ({ className, children, ...restProps }: DialogProps) => react_jsx_runtime.JSX.Element;
566
+
682
567
  type NumberFieldProps = {
683
- /** Additional CSS className for the element. */className?: string; /** Help text for the form control. */
684
- description?: React.ReactNode; /** Error message for the form control. Automatically sets `isInvalid` to true */
685
- errorMessage?: React.ReactNode; /** Element to be rendered in the left side of the input. */
686
- leftAddon?: React.ReactNode; /** Label for the form control. */
687
- label?: React.ReactNode; /** Element to be rendered in the right side of the input. */
688
- rightAddon?: React.ReactNode; /** Placeholder text. Only visible when the input value is empty. */
689
- placeholder?: string;
690
- /**
691
- * Text alignment of the input
692
- * @default left
693
- */
694
- textAlign?: 'left' | 'right'; /** Additional style properties for the element. */
695
- style?: React.CSSProperties; /** Add a divider between the left/right addons and the input */
696
- withAddonDivider?: boolean; /** Defines the number of characters and determines the width of the input element, a value of 0 will be ignored */
697
- size?: number; /** Defines the maximum numeric value */
698
- maxValue?: number; /** Defines the minimum numeric value */
699
- minValue?: number; /** Ref for the input element. */
700
- ref?: Ref<HTMLInputElement>;
568
+ /** Additional CSS className for the element. */
569
+ className?: string;
570
+ /** Help text for the form control. */
571
+ description?: React.ReactNode;
572
+ /** Error message for the form control. Automatically sets `isInvalid` to true */
573
+ errorMessage?: React.ReactNode;
574
+ /** Element to be rendered in the left side of the input. */
575
+ leftAddon?: React.ReactNode;
576
+ /** Label for the form control. */
577
+ label?: React.ReactNode;
578
+ /** Element to be rendered in the right side of the input. */
579
+ rightAddon?: React.ReactNode;
580
+ /** Placeholder text. Only visible when the input value is empty. */
581
+ placeholder?: string;
582
+ /**
583
+ * Text alignment of the input
584
+ * @default left
585
+ */
586
+ textAlign?: 'left' | 'right';
587
+ /** Additional style properties for the element. */
588
+ style?: React.CSSProperties;
589
+ /** Add a divider between the left/right addons and the input */
590
+ withAddonDivider?: boolean;
591
+ /** Defines the number of characters and determines the width of the input element, a value of 0 will be ignored */
592
+ size?: number;
593
+ /** Defines the maximum numeric value */
594
+ maxValue?: number;
595
+ /** Defines the minimum numeric value */
596
+ minValue?: number;
597
+ /** Ref for the input element. */
598
+ ref?: Ref<HTMLInputElement>;
701
599
  } & Omit<NumberFieldProps$1, 'className' | 'isReadOnly' | 'isDisabled' | 'children' | 'style' | 'hideStepper'>;
702
- declare function NumberField(props: NumberFieldProps): react_jsx_runtime0.JSX.Element;
703
- //#endregion
704
- //#region src/radiogroup/radio.d.ts
600
+ declare function NumberField(props: NumberFieldProps): react_jsx_runtime.JSX.Element;
601
+
705
602
  type RadioProps = {
706
- children: React.ReactNode; /** Additional CSS className for the element. */
707
- className?: string; /** Help text for the form control. */
708
- description?: React.ReactNode; /** Additional style properties for the element. */
709
- style?: React.CSSProperties; /** Ref for the element. */
710
- ref?: Ref<HTMLLabelElement>;
603
+ children: React.ReactNode;
604
+ /** Additional CSS className for the element. */
605
+ className?: string;
606
+ /** Help text for the form control. */
607
+ description?: React.ReactNode;
608
+ /** Additional style properties for the element. */
609
+ style?: React.CSSProperties;
610
+ /** Ref for the element. */
611
+ ref?: Ref<HTMLLabelElement>;
711
612
  } & Omit<RadioProps$1, 'isDisabled' | 'children' | 'style'>;
712
- declare function Radio(props: RadioProps): react_jsx_runtime0.JSX.Element;
713
- //#endregion
714
- //#region src/radiogroup/radio-group.d.ts
613
+ declare function Radio(props: RadioProps): react_jsx_runtime.JSX.Element;
614
+
715
615
  type RadioGroupProps = {
716
- children: React.ReactNode; /** Additional CSS className for the element. */
717
- className?: string; /** Help text for the form control. */
718
- description?: React.ReactNode; /** Error message for the form control. Automatically sets `isInvalid` to true */
719
- errorMessage?: React.ReactNode; /** Label for the form control. */
720
- label?: React.ReactNode; /** Additional style properties for the element. */
721
- style?: React.CSSProperties; /** Ref for the element. */
722
- ref?: Ref<HTMLDivElement>;
616
+ children: React.ReactNode;
617
+ /** Additional CSS className for the element. */
618
+ className?: string;
619
+ /** Help text for the form control. */
620
+ description?: React.ReactNode;
621
+ /** Error message for the form control. Automatically sets `isInvalid` to true */
622
+ errorMessage?: React.ReactNode;
623
+ /** Label for the form control. */
624
+ label?: React.ReactNode;
625
+ /** Additional style properties for the element. */
626
+ style?: React.CSSProperties;
627
+ /** Ref for the element. */
628
+ ref?: Ref<HTMLDivElement>;
723
629
  } & Omit<RadioGroupProps$1, 'className' | 'isReadOnly' | 'isDisabled' | 'children' | 'style' | 'orientation'>;
724
- declare function RadioGroup(props: RadioGroupProps): react_jsx_runtime0.JSX.Element;
725
- //#endregion
726
- //#region src/select/select.d.ts
630
+ declare function RadioGroup(props: RadioGroupProps): react_jsx_runtime.JSX.Element;
631
+
727
632
  type SelectProps<T extends object> = {
728
- children: React.ReactNode; /** Additional CSS className for the element. */
729
- className?: string; /** Help text for the form control. */
730
- description?: React.ReactNode; /** Error message for the form control. Automatically sets `isInvalid` to true */
731
- errorMessage?: React.ReactNode; /** Label for the form control. */
732
- label?: React.ReactNode; /** Placeholder text. Only visible when the input value is empty. */
733
- placeholder?: string; /** Additional style properties for the element. */
734
- style?: React.CSSProperties; /** Ref for the button element. */
735
- ref?: Ref<HTMLButtonElement>;
633
+ children: React.ReactNode;
634
+ /** Additional CSS className for the element. */
635
+ className?: string;
636
+ /** Help text for the form control. */
637
+ description?: React.ReactNode;
638
+ /** Error message for the form control. Automatically sets `isInvalid` to true */
639
+ errorMessage?: React.ReactNode;
640
+ /** Label for the form control. */
641
+ label?: React.ReactNode;
642
+ /** Placeholder text. Only visible when the input value is empty. */
643
+ placeholder?: string;
644
+ /** Additional style properties for the element. */
645
+ style?: React.CSSProperties;
646
+ /** Ref for the button element. */
647
+ ref?: Ref<HTMLButtonElement>;
736
648
  } & Omit<SelectProps$1<T>, 'className' | 'isReadOnly' | 'isDisabled' | 'children' | 'style'>;
737
- declare function Select<T extends object>(props: SelectProps<T>): react_jsx_runtime0.JSX.Element;
738
- //#endregion
739
- //#region src/stepper/stepper.d.ts
649
+ declare function Select<T extends object>(props: SelectProps<T>): react_jsx_runtime.JSX.Element;
650
+
740
651
  type StepperProps = HTMLAttributes<HTMLDivElement> & {
741
- children: React.ReactNode; /** The active step, zero indexed. */
742
- activeStep: number; /** Handler that is called when the step changes. */
743
- onStepChange?: (step: number) => void;
744
- };
745
- declare const Stepper: ({
746
- children,
747
- activeStep,
748
- onStepChange,
749
- ...restProps
750
- }: StepperProps) => react_jsx_runtime0.JSX.Element;
652
+ children: React.ReactNode;
653
+ /** The active step, zero indexed. */
654
+ activeStep: number;
655
+ /** Handler that is called when the step changes. */
656
+ onStepChange?: (step: number) => void;
657
+ };
658
+ declare const Stepper: ({ children, activeStep, onStepChange, ...restProps }: StepperProps) => react_jsx_runtime.JSX.Element;
751
659
  type StepProps = HTMLProps<HTMLLIElement> & {
752
- /**
753
- * The state fo the step, whether the step is completed or not.
754
- */
755
- state?: 'completed';
756
- /**
757
- * Whether the step is disabled.
758
- * @default false
759
- */
760
- isDisabled?: boolean; /** The current progress of the step, between 0 and 100. */
761
- progress?: number; /** @private */
762
- '~stepIndex'?: number;
763
- };
764
- declare const Step: ({
765
- isDisabled,
766
- state,
767
- children,
768
- "~stepIndex": stepIndex,
769
- progress,
770
- ...restProps
771
- }: StepProps) => react_jsx_runtime0.JSX.Element;
772
- //#endregion
773
- //#region src/table/table.d.ts
660
+ /**
661
+ * The state fo the step, whether the step is completed or not.
662
+ */
663
+ state?: 'completed';
664
+ /**
665
+ * Whether the step is disabled.
666
+ * @default false
667
+ */
668
+ isDisabled?: boolean;
669
+ /** The current progress of the step, between 0 and 100. */
670
+ progress?: number;
671
+ /** @private */
672
+ '~stepIndex'?: number;
673
+ };
674
+ declare const Step: ({ isDisabled, state, children, "~stepIndex": stepIndex, progress, ...restProps }: StepProps) => react_jsx_runtime.JSX.Element;
675
+
774
676
  type TableProps = Omit<TableProps$1, 'aria-label' | 'aria-labelledby'> & RefAttributes<HTMLTableElement> & {
775
- /**
776
- * Visual variant of the table
777
- * @default 'default'
778
- */
779
- variant?: 'default' | 'zebra-striped';
677
+ /**
678
+ * Visual variant of the table
679
+ * @default 'default'
680
+ */
681
+ variant?: 'default' | 'zebra-striped';
780
682
  } & ({
781
- 'aria-label': string;
782
- 'aria-labelledby'?: never;
683
+ 'aria-label': string;
684
+ 'aria-labelledby'?: never;
783
685
  } | {
784
- 'aria-label'?: never;
785
- 'aria-labelledby': string;
686
+ 'aria-label'?: never;
687
+ 'aria-labelledby': string;
786
688
  });
787
689
  type TableHeaderProps = TableHeaderProps$1<object> & RefAttributes<HTMLTableSectionElement>;
788
690
  type TableColumnProps = ColumnProps & RefAttributes<HTMLTableCellElement> & {
789
- children: React.ReactNode;
691
+ children: React.ReactNode;
790
692
  };
791
693
  type TableBodyProps = TableBodyProps$1<object> & RefAttributes<HTMLTableSectionElement>;
792
694
  type TableRowProps = RowProps<object> & RefAttributes<HTMLTableRowElement>;
793
695
  type TableCellProps = CellProps & RefAttributes<HTMLTableCellElement> & {
794
- children: React.ReactNode;
696
+ children: React.ReactNode;
795
697
  };
796
698
  /**
797
699
  * A container component for displaying tabular data with horizontal scrolling support.
798
700
  */
799
- declare function Table(props: TableProps): react_jsx_runtime0.JSX.Element;
701
+ declare function Table(props: TableProps): react_jsx_runtime.JSX.Element;
800
702
  /**
801
703
  * Container for table column headers.
802
704
  */
803
- declare function TableHeader({
804
- className,
805
- children,
806
- ...restProps
807
- }: TableHeaderProps): react_jsx_runtime0.JSX.Element;
808
- declare function TableColumn(props: TableColumnProps): react_jsx_runtime0.JSX.Element;
705
+ declare function TableHeader({ className, children, ...restProps }: TableHeaderProps): react_jsx_runtime.JSX.Element;
706
+ declare function TableColumn(props: TableColumnProps): react_jsx_runtime.JSX.Element;
809
707
  type TableColumnResizerProps = ColumnResizerProps;
810
- declare const TableColumnResizer: ({
811
- className,
812
- ...restProps
813
- }: TableColumnResizerProps) => react_jsx_runtime0.JSX.Element;
708
+ declare const TableColumnResizer: ({ className, ...restProps }: TableColumnResizerProps) => react_jsx_runtime.JSX.Element;
814
709
  /**
815
710
  * Container for table rows.
816
711
  */
817
- declare function TableBody({
818
- className,
819
- children,
820
- ...restProps
821
- }: TableBodyProps): react_jsx_runtime0.JSX.Element;
822
- declare function TableRow(props: TableRowProps): react_jsx_runtime0.JSX.Element;
823
- declare function TableCell(props: TableCellProps): react_jsx_runtime0.JSX.Element;
712
+ declare function TableBody({ className, children, ...restProps }: TableBodyProps): react_jsx_runtime.JSX.Element;
713
+ declare function TableRow(props: TableRowProps): react_jsx_runtime.JSX.Element;
714
+ declare function TableCell(props: TableCellProps): react_jsx_runtime.JSX.Element;
824
715
  type TableContainerProps = ResizableTableContainerProps;
825
- declare const TableContainer: ({
826
- className,
827
- ...restProps
828
- }: ResizableTableContainerProps) => react_jsx_runtime0.JSX.Element;
829
- //#endregion
830
- //#region src/tabs/tabs.d.ts
716
+ declare const TableContainer: ({ className, ...restProps }: ResizableTableContainerProps) => react_jsx_runtime.JSX.Element;
717
+
831
718
  type TabsProps = Omit<TabsProps$1, 'className'> & RefAttributes<HTMLDivElement> & {
832
- /**
833
- * CSS classes to apply to the tabs container
834
- */
835
- className?: string;
836
- orientation?: 'horizontal' | 'vertical';
719
+ /**
720
+ * CSS classes to apply to the tabs container
721
+ */
722
+ className?: string;
723
+ orientation?: 'horizontal' | 'vertical';
837
724
  };
838
725
  type TabListProps = Omit<TabListProps$1<object>, 'className'> & RefAttributes<HTMLDivElement> & {
839
- /**
840
- * CSS classes to apply to the tab list
841
- */
842
- className?: string;
726
+ /**
727
+ * CSS classes to apply to the tab list
728
+ */
729
+ className?: string;
843
730
  };
844
731
  type TabProps = Omit<TabProps$1, 'className'> & RefAttributes<HTMLDivElement> & {
845
- children: React.ReactNode;
846
- /**
847
- * CSS classes to apply to the tab
848
- */
849
- className?: string;
732
+ children: React.ReactNode;
733
+ /**
734
+ * CSS classes to apply to the tab
735
+ */
736
+ className?: string;
850
737
  };
851
738
  type TabPanelProps = Omit<TabPanelProps$1, 'className'> & RefAttributes<HTMLDivElement> & {
852
- children: React.ReactNode;
853
- /**
854
- * CSS classes to apply to the tab panel
855
- */
856
- className?: string;
739
+ children: React.ReactNode;
740
+ /**
741
+ * CSS classes to apply to the tab panel
742
+ */
743
+ className?: string;
857
744
  };
858
745
  /**
859
746
  * A container component that organizes content into multiple sections
860
747
  * and allows users to navigate between them.
861
748
  */
862
- declare function Tabs(props: TabsProps): react_jsx_runtime0.JSX.Element;
749
+ declare function Tabs(props: TabsProps): react_jsx_runtime.JSX.Element;
863
750
  /**
864
751
  * A container component for Tab components within Tabs.
865
752
  */
866
- declare function TabList({
867
- className,
868
- children,
869
- ...restProps
870
- }: TabListProps): react_jsx_runtime0.JSX.Element;
753
+ declare function TabList({ className, children, ...restProps }: TabListProps): react_jsx_runtime.JSX.Element;
871
754
  /**
872
755
  * An individual tab that can be selected to display its associated content.
873
756
  */
874
- declare function Tab(props: TabProps): react_jsx_runtime0.JSX.Element;
757
+ declare function Tab(props: TabProps): react_jsx_runtime.JSX.Element;
875
758
  /**
876
759
  * The content area that displays the selected tab's content.
877
760
  */
878
- declare function TabPanel(props: TabPanelProps): react_jsx_runtime0.JSX.Element;
879
- //#endregion
880
- //#region src/tag-group/tag-group.d.ts
761
+ declare function TabPanel(props: TabPanelProps): react_jsx_runtime.JSX.Element;
762
+
881
763
  type TagGroupProps = Omit<TagGroupProps$1, 'className'> & RefAttributes<HTMLDivElement> & {
882
- /**
883
- * CSS classes to apply to the tag group
884
- */
885
- className?: string;
886
- /**
887
- * The function to call when the tag is removed
888
- */
889
- onRemove?: (key: React.Key) => void;
890
- /**
891
- * The selection mode for the tag group
892
- * @default "single"
893
- */
894
- selectionMode?: 'single' | 'multiple';
764
+ /**
765
+ * CSS classes to apply to the tag group
766
+ */
767
+ className?: string;
768
+ /**
769
+ * The function to call when the tag is removed
770
+ */
771
+ onRemove?: (key: React.Key) => void;
772
+ /**
773
+ * The selection mode for the tag group
774
+ * @default "single"
775
+ */
776
+ selectionMode?: 'single' | 'multiple';
895
777
  };
896
778
  type TagListProps = Omit<TagListProps$1<object>, 'className'> & RefAttributes<HTMLDivElement> & {
897
- /**
898
- * CSS classes to apply to the tag list
899
- */
900
- className?: string;
779
+ /**
780
+ * CSS classes to apply to the tag list
781
+ */
782
+ className?: string;
901
783
  };
902
784
  type TagProps = Omit<TagProps$1, 'className'> & RefAttributes<HTMLDivElement> & {
903
- children: React.ReactNode;
904
- /**
905
- * CSS classes to apply to the tag
906
- */
907
- className?: string;
785
+ children: React.ReactNode;
786
+ /**
787
+ * CSS classes to apply to the tag
788
+ */
789
+ className?: string;
908
790
  };
909
791
  /**
910
792
  * A group component for Tag components that enables selection and organization of options.
911
793
  */
912
- declare function TagGroup(props: TagGroupProps): react_jsx_runtime0.JSX.Element;
794
+ declare function TagGroup(props: TagGroupProps): react_jsx_runtime.JSX.Element;
913
795
  /**
914
796
  * A container component for Tag components within a TagGroup.
915
797
  */
916
- declare function TagList(props: TagListProps): react_jsx_runtime0.JSX.Element;
798
+ declare function TagList(props: TagListProps): react_jsx_runtime.JSX.Element;
917
799
  /**
918
800
  * Interactive tag component for selections, filtering, and categorization.
919
801
  */
920
- declare function Tag(props: TagProps): react_jsx_runtime0.JSX.Element;
921
- //#endregion
922
- //#region src/textarea/textarea.d.ts
802
+ declare function Tag(props: TagProps): react_jsx_runtime.JSX.Element;
803
+
923
804
  type TextAreaProps = {
924
- /** Additional CSS className for the element. */className?: string; /** Help text for the form control. */
925
- description?: React.ReactNode; /** Error message for the form control. Automatically sets `isInvalid` to true */
926
- errorMessage?: React.ReactNode; /** Label for the form control. */
927
- label?: React.ReactNode; /** Placeholder text. Only visible when the input value is empty. */
928
- placeholder?: string; /** Additional style properties for the element. */
929
- style?: React.CSSProperties;
930
- /**
931
- * The number of visible text lines for the control.
932
- * @default 2
933
- */
934
- rows?: number; /** Ref for the textarea element. */
935
- ref?: Ref<HTMLTextAreaElement>;
805
+ /** Additional CSS className for the element. */
806
+ className?: string;
807
+ /** Help text for the form control. */
808
+ description?: React.ReactNode;
809
+ /** Error message for the form control. Automatically sets `isInvalid` to true */
810
+ errorMessage?: React.ReactNode;
811
+ /** Label for the form control. */
812
+ label?: React.ReactNode;
813
+ /** Placeholder text. Only visible when the input value is empty. */
814
+ placeholder?: string;
815
+ /** Additional style properties for the element. */
816
+ style?: React.CSSProperties;
817
+ /**
818
+ * The number of visible text lines for the control.
819
+ * @default 2
820
+ */
821
+ rows?: number;
822
+ /** Ref for the textarea element. */
823
+ ref?: Ref<HTMLTextAreaElement>;
936
824
  } & Omit<TextFieldProps$1, 'className' | 'isReadOnly' | 'isDisabled' | 'children' | 'style'>;
937
- declare function TextArea(props: TextAreaProps): react_jsx_runtime0.JSX.Element;
938
- //#endregion
939
- //#region src/textfield/textfield.d.ts
825
+ declare function TextArea(props: TextAreaProps): react_jsx_runtime.JSX.Element;
826
+
940
827
  type TextFieldProps = {
941
- /** Additional CSS className for the element. */className?: string; /** Help text for the form control. */
942
- description?: React.ReactNode; /** Error message for the form control. Automatically sets `isInvalid` to true */
943
- errorMessage?: React.ReactNode; /** Element to be rendered in the left side of the input. */
944
- leftAddon?: React.ReactNode; /** Label for the form control. */
945
- label?: React.ReactNode; /** Element to be rendered in the right side of the input. */
946
- rightAddon?: React.ReactNode; /** Placeholder text. Only visible when the input value is empty. */
947
- placeholder?: string;
948
- /**
949
- * Text alignment of the input
950
- * @default left
951
- */
952
- textAlign?: 'left' | 'right'; /** Additional style properties for the element. */
953
- style?: React.CSSProperties; /** Add a divider between the left/right addons and the input, a value of 0 will be ignored */
954
- withAddonDivider?: boolean; /** Defines the number of characters and determines the width of the input element */
955
- size?: number; /** Ref for the input element. */
956
- ref?: Ref<HTMLInputElement>;
828
+ /** Additional CSS className for the element. */
829
+ className?: string;
830
+ /** Help text for the form control. */
831
+ description?: React.ReactNode;
832
+ /** Error message for the form control. Automatically sets `isInvalid` to true */
833
+ errorMessage?: React.ReactNode;
834
+ /** Element to be rendered in the left side of the input. */
835
+ leftAddon?: React.ReactNode;
836
+ /** Label for the form control. */
837
+ label?: React.ReactNode;
838
+ /** Element to be rendered in the right side of the input. */
839
+ rightAddon?: React.ReactNode;
840
+ /** Placeholder text. Only visible when the input value is empty. */
841
+ placeholder?: string;
842
+ /**
843
+ * Text alignment of the input
844
+ * @default left
845
+ */
846
+ textAlign?: 'left' | 'right';
847
+ /** Additional style properties for the element. */
848
+ style?: React.CSSProperties;
849
+ /** Add a divider between the left/right addons and the input, a value of 0 will be ignored */
850
+ withAddonDivider?: boolean;
851
+ /** Defines the number of characters and determines the width of the input element */
852
+ size?: number;
853
+ /** Ref for the input element. */
854
+ ref?: Ref<HTMLInputElement>;
957
855
  } & Omit<TextFieldProps$1, 'className' | 'isReadOnly' | 'isDisabled' | 'children' | 'style'>;
958
- declare function TextField(props: TextFieldProps): react_jsx_runtime0.JSX.Element;
959
- //#endregion
960
- //#region src/video-loop/video-loop.d.ts
856
+ declare function TextField(props: TextFieldProps): react_jsx_runtime.JSX.Element;
857
+
961
858
  type VideoLoopProps = {
962
- /** The video url */src: string; /** The video format */
963
- format: string;
964
- /**
965
- * The content of the video must have a text description, so that it is accessible to screen readers.
966
- * You can either provide just a caption, just an alt text, or both a caption and an alt text.
967
- * Make sure the alt text doesn't repeat too much of the caption text, if so just a caption is sufficent.
968
- * Think of this just as an alt text, but for a muted video - this text will not be visible, but read by screen readers.
969
- * */
970
- alt?: string;
971
- className?: string;
972
- };
973
- declare const VideoLoop: ({
974
- src,
975
- format,
976
- alt,
977
- className
978
- }: VideoLoopProps) => react_jsx_runtime0.JSX.Element;
979
- //#endregion
980
- export { Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, Alertbox, type Props as AlertboxProps, Avatar, type AvatarProps, Backlink, type BacklinkProps, Badge, type BadgeProps, Breadcrumb, type BreadcrumbProps, Breadcrumbs, type BreadcrumbsProps, Button, ButtonContext, type ButtonProps, Caption, type CaptionProps, Card, CardLink, type CardLinkProps, type CardProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, Combobox, ListBoxHeader as ComboboxHeader, ListBoxHeader as SelectHeader, ListBoxItem as ComboboxItem, ListBoxItem as SelectItem, type ListBoxItemProps as ComboboxItemProps, type ListBoxItemProps as SelectItemProps, type ComboboxProps, ListBoxSection as ComboboxSection, ListBoxSection as SelectSection, Content, ContentContext, type ContentProps, DateFormatter, type DateFormatterProps, Description, type DescriptionProps, Disclosure, DisclosureButton, type DisclosureButtonProps, DisclosureGroup, type DisclosureGroupProps, DisclosurePanel, type DisclosurePanelProps, type DisclosureProps, DisclosureStateContext, ErrorMessage, type ErrorMessageProps, Footer, type FooterProps, Form, Group, GrunnmurenProvider, type GrunnmurenProviderProps, Heading, HeadingContext, type HeadingProps, Label, type LabelProps, LinkList, LinkListContainer, type LinkListContainerProps, LinkListItem, type LinkListItemProps, type LinkListProps, type Locale, Media, MediaContext, type MediaProps, NumberField, type NumberFieldProps, Radio, RadioGroup, type RadioGroupProps, type RadioProps, Select, type SelectProps, Tag, TagGroup, type TagGroupProps, TagList, type TagListProps, type TagProps, TextArea, type TextAreaProps, TextField, type TextFieldProps, Carousel as UNSAFE_Carousel, CarouselButton as UNSAFE_CarouselButton, type CarouselButtonProps as UNSAFE_CarouselButtonProps, CarouselContext as UNSAFE_CarouselContext, type CarouselContextValue as UNSAFE_CarouselContextValue, CarouselControls as UNSAFE_CarouselControls, type CarouselControlsProps as UNSAFE_CarouselControlsProps, CarouselItem as UNSAFE_CarouselItem, type CarouselItemProps as UNSAFE_CarouselItemProps, CarouselItems as UNSAFE_CarouselItems, CarouselItemsContainer as UNSAFE_CarouselItemsContainer, type CarouselItemsContainer as UNSAFE_CarouselItemsContainerProps, type CarouselItemsProps as UNSAFE_CarouselItemsProps, type CarouselProps as UNSAFE_CarouselProps, Dialog as UNSAFE_Dialog, type DialogProps as UNSAFE_DialogProps, DialogTrigger as UNSAFE_DialogTrigger, type DialogTriggerProps as UNSAFE_DialogTriggerProps, FileUpload as UNSAFE_FileUpload, type FileUploadProps as UNSAFE_FileUploadProps, Hero as UNSAFE_Hero, HeroContext as UNSAFE_HeroContext, type HeroContextValue as UNSAFE_HeroContextValue, type HeroProps as UNSAFE_HeroProps, Link as UNSAFE_Link, type LinkProps as UNSAFE_LinkProps, Modal as UNSAFE_Modal, type ModalProps as UNSAFE_ModalProps, Step as UNSAFE_Step, type StepProps as UNSAFE_StepProps, Stepper as UNSAFE_Stepper, type StepperProps as UNSAFE_StepperProps, Tab as UNSAFE_Tab, TabList as UNSAFE_TabList, type TabListProps as UNSAFE_TabListProps, TabPanel as UNSAFE_TabPanel, type TabPanelProps as UNSAFE_TabPanelProps, type TabProps as UNSAFE_TabProps, Table as UNSAFE_Table, TableBody as UNSAFE_TableBody, type TableBodyProps as UNSAFE_TableBodyProps, TableCell as UNSAFE_TableCell, type TableCellProps as UNSAFE_TableCellProps, TableColumn as UNSAFE_TableColumn, type TableColumnProps as UNSAFE_TableColumnProps, TableColumnResizer as UNSAFE_TableColumnResizer, type TableColumnResizerProps as UNSAFE_TableColumnResizerProps, TableContainer as UNSAFE_TableContainer, type TableContainerProps as UNSAFE_TableContainerProps, TableHeader as UNSAFE_TableHeader, type TableHeaderProps as UNSAFE_TableHeaderProps, type TableProps as UNSAFE_TableProps, TableRow as UNSAFE_TableRow, type TableRowProps as UNSAFE_TableRowProps, Tabs as UNSAFE_Tabs, type TabsProps as UNSAFE_TabsProps, VideoLoop, _useLocale as useLocale };
859
+ /** The video url */
860
+ src: string;
861
+ /** The video format */
862
+ format: string;
863
+ /**
864
+ * The content of the video must have a text description, so that it is accessible to screen readers.
865
+ * You can either provide just a caption, just an alt text, or both a caption and an alt text.
866
+ * Make sure the alt text doesn't repeat too much of the caption text, if so just a caption is sufficent.
867
+ * Think of this just as an alt text, but for a muted video - this text will not be visible, but read by screen readers.
868
+ * */
869
+ alt?: string;
870
+ className?: string;
871
+ };
872
+ declare const VideoLoop: ({ src, format, alt, className }: VideoLoopProps) => react_jsx_runtime.JSX.Element;
873
+
874
+ 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, Disclosure, DisclosureButton, DisclosurePanel, DisclosureStateContext, ErrorMessage, Footer, GrunnmurenProvider, Heading, HeadingContext, Label, LinkList, LinkListContainer, LinkListItem, Media, MediaContext, NumberField, Radio, RadioGroup, Select, ListBoxHeader as SelectHeader, ListBoxItem as SelectItem, ListBoxSection as SelectSection, Tag, TagGroup, TagList, TextArea, TextField, Carousel as UNSAFE_Carousel, CarouselButton as UNSAFE_CarouselButton, CarouselContext as UNSAFE_CarouselContext, CarouselControls as UNSAFE_CarouselControls, CarouselItem as UNSAFE_CarouselItem, CarouselItems as UNSAFE_CarouselItems, CarouselItemsContainer as UNSAFE_CarouselItemsContainer, CarouselItemsContainer as UNSAFE_CarouselItemsContainerProps, Dialog as UNSAFE_Dialog, DialogTrigger as UNSAFE_DialogTrigger, FileUpload as UNSAFE_FileUpload, Hero as UNSAFE_Hero, HeroContext as UNSAFE_HeroContext, Link as UNSAFE_Link, Modal as UNSAFE_Modal, Step as UNSAFE_Step, Stepper as UNSAFE_Stepper, 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, TableColumnResizer as UNSAFE_TableColumnResizer, TableContainer as UNSAFE_TableContainer, TableHeader as UNSAFE_TableHeader, TableRow as UNSAFE_TableRow, Tabs as UNSAFE_Tabs, VideoLoop, _useLocale as useLocale };
875
+ export type { AccordionItemProps, AccordionProps, Props as AlertboxProps, AvatarProps, BacklinkProps, BadgeProps, BreadcrumbProps, BreadcrumbsProps, ButtonProps, CaptionProps, CardLinkProps, CardProps, CheckboxGroupProps, CheckboxProps, ComboboxProps, ContentProps, DateFormatterProps, DescriptionProps, DisclosureButtonProps, DisclosurePanelProps, DisclosureProps, ErrorMessageProps, FooterProps, GrunnmurenProviderProps, HeadingProps, LinkListContainerProps, LinkListItemProps, LinkListProps, Locale, MediaProps, NumberFieldProps, RadioGroupProps, RadioProps, SelectProps, TagGroupProps, TagListProps, TagProps, TextAreaProps, TextFieldProps, CarouselButtonProps as UNSAFE_CarouselButtonProps, CarouselContextValue as UNSAFE_CarouselContextValue, CarouselControlsProps as UNSAFE_CarouselControlsProps, CarouselItemProps as UNSAFE_CarouselItemProps, CarouselItemsProps as UNSAFE_CarouselItemsProps, CarouselProps as UNSAFE_CarouselProps, DialogProps as UNSAFE_DialogProps, DialogTriggerProps as UNSAFE_DialogTriggerProps, FileUploadProps as UNSAFE_FileUploadProps, HeroContextValue as UNSAFE_HeroContextValue, HeroProps as UNSAFE_HeroProps, LinkProps as UNSAFE_LinkProps, ModalProps as UNSAFE_ModalProps, StepProps as UNSAFE_StepProps, StepperProps as UNSAFE_StepperProps, TabListProps as UNSAFE_TabListProps, TabPanelProps as UNSAFE_TabPanelProps, TabProps as UNSAFE_TabProps, TableBodyProps as UNSAFE_TableBodyProps, TableCellProps as UNSAFE_TableCellProps, TableColumnProps as UNSAFE_TableColumnProps, TableColumnResizerProps as UNSAFE_TableColumnResizerProps, TableContainerProps as UNSAFE_TableContainerProps, TableHeaderProps as UNSAFE_TableHeaderProps, TableProps as UNSAFE_TableProps, TableRowProps as UNSAFE_TableRowProps, TabsProps as UNSAFE_TabsProps };