@obosbbl/grunnmuren-react 3.4.1 → 3.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1,873 +1,980 @@
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
-
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
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.ClassValue;
18
- className?: never;
17
+ class?: cva$1.ClassValue;
18
+ className?: never;
19
19
  } | {
20
- class?: never;
21
- className?: cva.ClassValue;
20
+ class?: never;
21
+ className?: cva$1.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: ({ className, withChevron, isIconOnly, children, ref: _ref, ...restProps }: DisclosureButtonProps) => react_jsx_runtime.JSX.Element;
26
+ declare const DisclosureButton: ({
27
+ className,
28
+ withChevron,
29
+ isIconOnly,
30
+ children,
31
+ ref: _ref,
32
+ ...restProps
33
+ }: DisclosureButtonProps) => react_jsx_runtime0.JSX.Element;
27
34
  type DisclosureProps = DisclosureProps$1 & RefAttributes<HTMLDivElement> & {
28
- className?: string;
35
+ className?: string;
29
36
  };
30
37
  declare const DisclosureStateContext: react.Context<DisclosureState | null>;
31
- declare const Disclosure: ({ ref: _ref, ..._props }: DisclosureProps) => react_jsx_runtime.JSX.Element;
38
+ declare const Disclosure: ({
39
+ ref: _ref,
40
+ ..._props
41
+ }: DisclosureProps) => react_jsx_runtime0.JSX.Element;
32
42
  type DisclosurePanelProps = Omit<HTMLAttributes<HTMLDivElement>, 'role'> & {
33
- children: React.ReactNode;
34
- role?: 'group' | 'region' | 'none';
43
+ children: React.ReactNode;
44
+ role?: 'group' | 'region' | 'none';
35
45
  } & RefAttributes<HTMLDivElement>;
36
- declare const DisclosurePanel: ({ ref, children, ...props }: DisclosurePanelProps) => react_jsx_runtime.JSX.Element;
37
-
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
38
53
  type AccordionProps = HTMLProps<HTMLDivElement> & {
39
- children: React.ReactNode;
54
+ children: React.ReactNode;
40
55
  };
41
56
  type AccordionItemProps = DisclosureProps & {
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
-
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
53
66
  declare const alertVariants: (props?: ({
54
- variant?: "info" | "success" | "warning" | "danger" | undefined;
67
+ variant?: "info" | "success" | "warning" | "danger" | undefined;
55
68
  } & ({
56
- class?: cva.ClassValue;
57
- className?: never;
69
+ class?: cva$1.ClassValue;
70
+ className?: never;
58
71
  } | {
59
- class?: never;
60
- className?: cva.ClassValue;
72
+ class?: never;
73
+ className?: cva$1.ClassValue;
61
74
  })) | undefined) => string;
62
75
  type Props = VariantProps<typeof alertVariants> & {
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
-
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
96
118
  type AvatarProps = ComponentProps<'img'>;
97
- declare const Avatar: ({ src, alt, className, onError, loading, ...rest }: AvatarProps) => react_jsx_runtime.JSX.Element;
98
-
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
99
129
  type ButtonOrLinkProps$1 = {
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>;
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>;
111
138
  };
112
139
  type BacklinkProps = (ButtonProps$1 | LinkProps$1) & ButtonOrLinkProps$1;
113
- declare function Backlink(props: BacklinkProps): react_jsx_runtime.JSX.Element;
114
-
140
+ declare function Backlink(props: BacklinkProps): react_jsx_runtime0.JSX.Element;
141
+ //#endregion
142
+ //#region src/badge/badge.d.ts
115
143
  type BadgeProps = VariantProps<typeof badgeVariants> & {
116
- children?: React.ReactNode;
117
- /** Additional CSS className for the element. */
118
- className?: string;
119
- /** Ref to the element. */
120
- ref?: Ref<HTMLSpanElement>;
144
+ children?: React.ReactNode; /** Additional CSS className for the element. */
145
+ className?: string; /** Ref to the element. */
146
+ ref?: Ref<HTMLSpanElement>;
121
147
  };
122
148
  declare const badgeVariants: (props?: ({
123
- color?: "gray-dark" | "mint" | "sky" | "white" | "blue-dark" | "green-dark" | undefined;
124
- size?: "small" | "medium" | "large" | undefined;
149
+ color?: "gray-dark" | "mint" | "sky" | "white" | "blue-dark" | "green-dark" | undefined;
150
+ size?: "small" | "medium" | "large" | undefined;
125
151
  } & ({
126
- class?: cva.ClassValue;
127
- className?: never;
152
+ class?: cva$1.ClassValue;
153
+ className?: never;
128
154
  } | {
129
- class?: never;
130
- className?: cva.ClassValue;
155
+ class?: never;
156
+ className?: cva$1.ClassValue;
131
157
  })) | undefined) => string;
132
- declare function Badge(props: BadgeProps): react_jsx_runtime.JSX.Element;
133
-
158
+ declare function Badge(props: BadgeProps): react_jsx_runtime0.JSX.Element;
159
+ //#endregion
160
+ //#region src/link/link.d.ts
134
161
  declare const linkVariants: (props?: (((VariantProps<(props?: ({
135
- animateIcon?: "right" | "left" | "down" | "up" | "up-right" | undefined;
162
+ animateIcon?: "right" | "left" | "down" | "up" | "up-right" | undefined;
136
163
  } & ({
137
- class?: cva.ClassValue;
138
- className?: never;
164
+ class?: cva$1.ClassValue;
165
+ className?: never;
139
166
  } | {
140
- class?: never;
141
- className?: cva.ClassValue;
167
+ class?: never;
168
+ className?: cva$1.ClassValue;
142
169
  })) | undefined) => string> & VariantProps<(props?: ({
143
- class?: cva.ClassValue;
144
- className?: never;
170
+ class?: cva$1.ClassValue;
171
+ className?: never;
145
172
  } | {
146
- class?: never;
147
- className?: cva.ClassValue;
173
+ class?: never;
174
+ className?: cva$1.ClassValue;
148
175
  }) | undefined) => string>) | undefined) & ({
149
- class?: cva.ClassValue;
150
- className?: never;
176
+ class?: cva$1.ClassValue;
177
+ className?: never;
151
178
  } | {
152
- class?: never;
153
- className?: cva.ClassValue;
179
+ class?: never;
180
+ className?: cva$1.ClassValue;
154
181
  })) | undefined) => string;
155
182
  type LinkProps = VariantProps<typeof linkVariants> & LinkProps$1 & React.RefAttributes<HTMLAnchorElement> & {
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
-
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
162
195
  type BreadcrumbProps = {
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>;
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>;
172
201
  } & Omit<BreadcrumbProps$1, 'className' | 'style'>;
173
- declare function Breadcrumb(props: BreadcrumbProps): react_jsx_runtime.JSX.Element;
174
-
202
+ declare function Breadcrumb(props: BreadcrumbProps): react_jsx_runtime0.JSX.Element;
203
+ //#endregion
204
+ //#region src/breadcrumbs/breadcrumbs.d.ts
175
205
  type BreadcrumbsProps = {
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>;
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>;
182
209
  } & Omit<BreadcrumbsProps$1<BreadcrumbProps>, 'className' | 'style'>;
183
- declare function Breadcrumbs(props: BreadcrumbsProps): react_jsx_runtime.JSX.Element;
184
-
210
+ declare function Breadcrumbs(props: BreadcrumbsProps): react_jsx_runtime0.JSX.Element;
211
+ //#endregion
212
+ //#region src/button/button.d.ts
185
213
  /**
186
214
  * Figma: https://www.figma.com/file/9OvSg0ZXI5E1eQYi7AWiWn/Grunnmuren-2.0-%E2%94%82-Designsystem?node-id=30%3A2574&mode=dev
187
215
  */
188
216
  declare const buttonVariants: (props?: (((VariantProps<(props?: ({
189
- animateIcon?: "right" | "left" | "down" | "up" | "up-right" | undefined;
217
+ animateIcon?: "right" | "left" | "down" | "up" | "up-right" | undefined;
190
218
  } & ({
191
- class?: cva.ClassValue;
192
- className?: never;
219
+ class?: cva$1.ClassValue;
220
+ className?: never;
193
221
  } | {
194
- class?: never;
195
- className?: cva.ClassValue;
222
+ class?: never;
223
+ className?: cva$1.ClassValue;
196
224
  })) | undefined) => string> & VariantProps<(props?: ({
197
- variant?: "primary" | "secondary" | "tertiary" | undefined;
198
- color?: "blue" | "mint" | "white" | undefined;
199
- isIconOnly?: boolean | undefined;
200
- isPending?: boolean | undefined;
225
+ variant?: "primary" | "secondary" | "tertiary" | undefined;
226
+ color?: "mint" | "white" | "blue" | undefined;
227
+ isIconOnly?: boolean | undefined;
228
+ isPending?: boolean | undefined;
201
229
  } & ({
202
- class?: cva.ClassValue;
203
- className?: never;
230
+ class?: cva$1.ClassValue;
231
+ className?: never;
204
232
  } | {
205
- class?: never;
206
- className?: cva.ClassValue;
233
+ class?: never;
234
+ className?: cva$1.ClassValue;
207
235
  })) | undefined) => string>) | undefined) & ({
208
- class?: cva.ClassValue;
209
- className?: never;
236
+ class?: cva$1.ClassValue;
237
+ className?: never;
210
238
  } | {
211
- class?: never;
212
- className?: cva.ClassValue;
239
+ class?: never;
240
+ className?: cva$1.ClassValue;
213
241
  })) | undefined) => string;
214
242
  type ButtonOrLinkProps = VariantProps<typeof buttonVariants> & {
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>;
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>;
221
247
  };
222
248
  type ButtonProps = (ButtonProps$1 | LinkProps$1) & ButtonOrLinkProps;
223
249
  declare const ButtonContext: react.Context<ContextValue<ButtonProps, HTMLButtonElement | HTMLAnchorElement>>;
224
- declare function Button({ ref, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
225
-
250
+ declare function Button({
251
+ ref,
252
+ ...props
253
+ }: ButtonProps): react_jsx_runtime0.JSX.Element;
254
+ //#endregion
255
+ //#region src/card/card.d.ts
226
256
  type CardProps = VariantProps<typeof cardVariants> & HTMLAttributes<HTMLDivElement> & {
227
- children?: React.ReactNode;
257
+ children?: React.ReactNode;
228
258
  };
229
259
  declare const cardVariants: (props?: ({
230
- variant?: "subtle" | "outlined" | undefined;
231
- layout?: "vertical" | "horizontal" | undefined;
260
+ variant?: "subtle" | "outlined" | undefined;
261
+ layout?: "horizontal" | "vertical" | undefined;
232
262
  } & ({
233
- class?: cva.ClassValue;
234
- className?: never;
263
+ class?: cva$1.ClassValue;
264
+ className?: never;
235
265
  } | {
236
- class?: never;
237
- className?: cva.ClassValue;
266
+ class?: never;
267
+ className?: cva$1.ClassValue;
238
268
  })) | undefined) => string;
239
- declare const Card: ({ children, className, variant, layout, ...restProps }: CardProps) => react_jsx_runtime.JSX.Element;
269
+ declare const Card: ({
270
+ children,
271
+ className,
272
+ variant,
273
+ layout,
274
+ ...restProps
275
+ }: CardProps) => react_jsx_runtime0.JSX.Element;
240
276
  type CardLinkWrapperProps = {
241
- children?: React.ReactNode;
242
- className?: string;
243
- } & {
244
- [K in keyof Omit<LinkProps$1, 'className' | 'children'>]?: never;
245
- };
277
+ children?: React.ReactNode;
278
+ className?: string;
279
+ } & { [K in keyof Omit<LinkProps$1, 'className' | 'children'>]?: never };
246
280
  type CardLinkProps = (Omit<LinkProps$1, 'href'> & Required<Pick<LinkProps$1, 'href'>>) | CardLinkWrapperProps;
247
281
  /**
248
282
  * A component that creates a clickable area on a card.
249
283
  * It can be used either as a wrapper around a link or as a standalone link.
250
284
  */
251
- declare const CardLink: ({ className: _className, href, ...restProps }: CardLinkProps) => react_jsx_runtime.JSX.Element;
252
-
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
253
292
  type CarouselProps = Omit<HTMLProps<HTMLDivElement>, 'onChange' | 'onSelect'> & {
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;
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;
292
342
  type CarouselContextValue = {
293
- slidesInView: number[];
294
- orientation: 'horizontal' | 'vertical';
295
- /**
296
- * @private
297
- */
298
- '~emblaRef': EmblaViewportRefType | null;
343
+ slidesInView: number[];
344
+ orientation: 'horizontal' | 'vertical';
345
+ /**
346
+ * @private
347
+ */
348
+ '~emblaRef': EmblaViewportRefType | null;
299
349
  };
300
350
  declare const CarouselContext: react.Context<CarouselContextValue>;
301
351
  type CarouselItemsContainer = HTMLProps<HTMLDivElement> & {
302
- children: React.ReactNode;
352
+ children: React.ReactNode;
303
353
  };
304
- declare const CarouselItemsContainer: ({ children, className, ...rest }: CarouselItemsContainer) => react_jsx_runtime.JSX.Element;
354
+ declare const CarouselItemsContainer: ({
355
+ children,
356
+ className,
357
+ ...rest
358
+ }: CarouselItemsContainer) => react_jsx_runtime0.JSX.Element;
305
359
  type CarouselItemsProps = HTMLProps<HTMLDivElement> & {
306
- /** The <CarouselItem/> components to be displayed within the carousel. */
307
- children: React.ReactNode;
360
+ /** The <CarouselItem/> components to be displayed within the carousel. */children: React.ReactNode;
308
361
  };
309
- declare const CarouselItems: ({ className, children }: CarouselItemsProps) => react_jsx_runtime.JSX.Element;
362
+ declare const CarouselItems: ({
363
+ className,
364
+ children
365
+ }: CarouselItemsProps) => react_jsx_runtime0.JSX.Element;
310
366
  type CarouselControlsProps = HTMLProps<HTMLDivElement> & {
311
- /** The <CarouselItem/> components to be displayed within the carousel. */
312
- children: React.ReactNode;
367
+ /** The <CarouselItem/> components to be displayed within the carousel. */children: React.ReactNode;
313
368
  };
314
369
  /**
315
370
  * 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.
316
371
  * It is used to render the prev/next buttons in the carousel for now.
317
372
  */
318
- declare const CarouselControls: ({ children, className, ...rest }: CarouselControlsProps) => react_jsx_runtime.JSX.Element;
373
+ declare const CarouselControls: ({
374
+ children,
375
+ className,
376
+ ...rest
377
+ }: CarouselControlsProps) => react_jsx_runtime0.JSX.Element;
319
378
  type CarouselButtonProps = ButtonProps & {
320
- slot: 'next' | 'prev';
321
- };
322
- declare const CarouselButton: ({ className, isIconOnly, slot, ...rest }: CarouselButtonProps) => react_jsx_runtime.JSX.Element;
379
+ slot: 'next' | 'prev';
380
+ };
381
+ declare const CarouselButton: ({
382
+ className,
383
+ isIconOnly,
384
+ slot,
385
+ ...rest
386
+ }: CarouselButtonProps) => react_jsx_runtime0.JSX.Element;
323
387
  type CarouselItemProps = HTMLProps<HTMLDivElement> & {
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
-
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
329
397
  type CheckboxProps = {
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>;
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>;
341
404
  } & Omit<CheckboxProps$1, 'isDisabled' | 'style' | 'children' | 'isIndeterminate' | 'isReadOnly'>;
342
- declare function Checkbox(props: CheckboxProps): react_jsx_runtime.JSX.Element;
343
-
405
+ declare function Checkbox(props: CheckboxProps): react_jsx_runtime0.JSX.Element;
406
+ //#endregion
407
+ //#region src/checkbox/checkbox-group.d.ts
344
408
  type CheckboxGroupProps = {
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>;
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>;
358
416
  } & Omit<CheckboxGroupProps$1, 'className' | 'isReadOnly' | 'isDisabled' | 'children' | 'style' | 'orientation'>;
359
- declare function CheckboxGroup(props: CheckboxGroupProps): react_jsx_runtime.JSX.Element;
360
-
361
- declare const ListBoxItem: (props: ListBoxItemProps) => react_jsx_runtime.JSX.Element;
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;
362
421
  /**
363
422
  * This component can be used to group items in a listbox
364
423
  */
365
- declare const ListBoxSection: <T extends object>({ className, ...restProps }: ListBoxSectionProps<T>) => react_jsx_runtime.JSX.Element;
424
+ declare const ListBoxSection: <T extends object>({
425
+ className,
426
+ ...restProps
427
+ }: ListBoxSectionProps<T>) => react_jsx_runtime0.JSX.Element;
366
428
  /**
367
429
  * This component can be used to label grouped items in a `ListBoxSection` with a heading
368
430
  */
369
- declare const ListBoxHeader: (props: HeadingProps$1) => react_jsx_runtime.JSX.Element;
370
-
431
+ declare const ListBoxHeader: (props: ListBoxHeadingProps) => react_jsx_runtime0.JSX.Element;
432
+ //#endregion
433
+ //#region src/combobox/combobox.d.ts
371
434
  type ComboboxProps<T extends object> = {
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>;
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>;
392
448
  } & Omit<ComboBoxProps<T>, 'className' | 'isReadOnly' | 'isDisabled' | 'children' | 'style'>;
393
- declare function Combobox<T extends object>(props: ComboboxProps<T>): react_jsx_runtime.JSX.Element;
394
-
449
+ declare function Combobox<T extends object>(props: ComboboxProps<T>): react_jsx_runtime0.JSX.Element;
450
+ //#endregion
451
+ //#region src/content/content.d.ts
395
452
  type HeadingProps = Omit<HTMLProps<HTMLHeadingElement>, 'size'> & VariantProps<typeof headingVariants> & {
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>;
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>;
405
458
  };
406
459
  declare const HeadingContext: react.Context<ContextValue<Partial<HeadingProps>, HTMLHeadingElement>>;
407
460
  declare const headingVariants: (props?: ({
408
- size?: "s" | "xl" | "l" | "m" | "xs" | undefined;
461
+ size?: "s" | "xl" | "l" | "m" | "xs" | undefined;
409
462
  } & ({
410
- class?: cva.ClassValue;
411
- className?: never;
463
+ class?: cva$1.ClassValue;
464
+ className?: never;
412
465
  } | {
413
- class?: never;
414
- className?: cva.ClassValue;
466
+ class?: never;
467
+ className?: cva$1.ClassValue;
415
468
  })) | undefined) => string;
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;
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;
417
473
  declare const ContentContext: react.Context<ContextValue<Partial<ContentProps>, HTMLDivElement>>;
418
474
  type ContentProps = HTMLProps<HTMLDivElement> & {
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;
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;
426
483
  type MediaProps = HTMLProps<HTMLDivElement> & VariantProps<typeof mediaVariant> & {
427
- children: React.ReactNode;
428
- /** Ref for the element. */
429
- ref?: Ref<HTMLDivElement>;
484
+ children: React.ReactNode; /** Ref for the element. */
485
+ ref?: Ref<HTMLDivElement>;
430
486
  };
431
487
  declare const mediaVariant: (props?: ({
432
- fit?: "cover" | "contain" | undefined;
488
+ fit?: "contain" | "cover" | undefined;
433
489
  } & ({
434
- class?: cva.ClassValue;
435
- className?: never;
490
+ class?: cva$1.ClassValue;
491
+ className?: never;
436
492
  } | {
437
- class?: never;
438
- className?: cva.ClassValue;
493
+ class?: never;
494
+ className?: cva$1.ClassValue;
439
495
  })) | undefined) => string;
440
496
  declare const MediaContext: react.Context<ContextValue<Partial<MediaProps>, HTMLDivElement>>;
441
- declare const Media: ({ ref, ...props }: MediaProps) => react_jsx_runtime.JSX.Element;
497
+ declare const Media: ({
498
+ ref,
499
+ ...props
500
+ }: MediaProps) => react_jsx_runtime0.JSX.Element;
442
501
  type FooterProps = HTMLProps<HTMLDivElement> & {
443
- children: React.ReactNode;
502
+ children: React.ReactNode;
444
503
  };
445
504
  type CaptionProps = HTMLProps<HTMLDivElement> & {
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
-
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
451
514
  type DateFormatterProps = {
452
- value: Date | string;
453
- options?: DateFormatterOptions;
454
- /** Callback to customize the rendering of the date */
455
- children?: (formattedDate: string) => ReactNode;
515
+ value: Date | string;
516
+ options?: DateFormatterOptions; /** Callback to customize the rendering of the date */
517
+ children?: (formattedDate: string) => ReactNode;
456
518
  };
457
519
  /**
458
520
  * A React component that wraps https://react-spectrum.adobe.com/react-aria/useDateFormatter.html
459
521
  * By default it sets the timeZone to `Europe/Berlin` to prevent the server's timezone from affecting
460
522
  * the localized format
461
523
  */
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
-
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
481
561
  type Locale = 'nb' | 'sv' | 'en';
482
562
  /**
483
563
  * Returns the locale set in `<GrunnmurenProvider />`
484
564
  */
485
565
  declare function _useLocale(): Locale;
486
-
566
+ //#endregion
567
+ //#region src/grunnmuren-provider.d.ts
487
568
  type RouterProviderProps = React.ComponentProps<typeof RouterProvider>;
488
569
  type GrunnmurenProviderProps = {
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
-
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
502
587
  type HeroProps = HTMLProps<HTMLDivElement> & VariantProps<typeof variants> & {
503
- children: React.ReactNode;
588
+ children: React.ReactNode;
504
589
  };
505
590
  type HeroContextValue = {
506
- variant: HeroProps['variant'];
591
+ variant: HeroProps['variant'];
507
592
  };
508
593
  declare const HeroContext: react.Context<HeroContextValue | null>;
509
594
  declare const variants: (props?: ({
510
- variant?: "standard" | "full-bleed" | "two-column" | undefined;
595
+ variant?: "standard" | "full-bleed" | "two-column" | undefined;
511
596
  } & ({
512
- class?: cva.ClassValue;
513
- className?: never;
597
+ class?: cva$1.ClassValue;
598
+ className?: never;
514
599
  } | {
515
- class?: never;
516
- className?: cva.ClassValue;
600
+ class?: never;
601
+ className?: cva$1.ClassValue;
517
602
  })) | undefined) => string;
518
- declare const Hero: ({ variant, className, children, ...rest }: HeroProps) => react_jsx_runtime.JSX.Element;
519
-
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
520
611
  type DescriptionProps = TextProps;
521
- declare function Description(props: DescriptionProps): react_jsx_runtime.JSX.Element;
522
-
612
+ declare function Description(props: DescriptionProps): react_jsx_runtime0.JSX.Element;
613
+ //#endregion
614
+ //#region src/label/error-message.d.ts
523
615
  type ErrorMessageProps = TextProps;
524
- declare function ErrorMessage(props: ErrorMessageProps): react_jsx_runtime.JSX.Element;
525
-
526
- declare function Label(props: LabelProps): react_jsx_runtime.JSX.Element;
527
-
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
528
622
  declare const linkListContainerVariants: (props?: ({
529
- layout?: "stack" | "grid" | undefined;
623
+ layout?: "grid" | "stack" | undefined;
530
624
  } & ({
531
- class?: cva.ClassValue;
532
- className?: never;
625
+ class?: cva$1.ClassValue;
626
+ className?: never;
533
627
  } | {
534
- class?: never;
535
- className?: cva.ClassValue;
628
+ class?: never;
629
+ className?: cva$1.ClassValue;
536
630
  })) | undefined) => string;
537
631
  type LinkListContainerProps = VariantProps<typeof linkListContainerVariants> & React.HTMLProps<HTMLDivElement> & {
538
- children: JSX.Element | JSX.Element[];
632
+ children: JSX.Element | JSX.Element[];
539
633
  };
540
- declare const LinkListContainer: ({ className, layout, ...props }: LinkListContainerProps) => react_jsx_runtime.JSX.Element;
634
+ declare const LinkListContainer: ({
635
+ className,
636
+ layout,
637
+ ...props
638
+ }: LinkListContainerProps) => react_jsx_runtime0.JSX.Element;
541
639
  type LinkListProps = React.HTMLProps<HTMLUListElement> & {
542
- children: JSX.Element | JSX.Element[];
640
+ children: JSX.Element | JSX.Element[];
543
641
  };
544
- declare const LinkList: ({ className, ...restProps }: LinkListProps) => react_jsx_runtime.JSX.Element;
642
+ declare const LinkList: ({
643
+ className,
644
+ ...restProps
645
+ }: LinkListProps) => react_jsx_runtime0.JSX.Element;
545
646
  type LinkListItemProps = React.HTMLProps<HTMLLIElement> & {
546
- children: ReactNode;
547
- };
548
- declare const LinkListItem: ({ children, className, ...props }: LinkListItemProps) => react_jsx_runtime.JSX.Element;
549
-
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
550
656
  type DialogTriggerProps = DialogTriggerProps$1;
551
- declare const DialogTrigger: (props: DialogTriggerProps) => react_jsx_runtime.JSX.Element;
552
- type ModalOverlayProps = Omit<ModalOverlayProps$1, 'isDismissable'> & {
553
- /** @default 10 Controls the z-index of the modal overlay */
554
- zIndex?: number;
555
- /** @default true Makes the modal dismissable */
556
- isDismissable?: boolean;
557
- };
558
- type ModalProps = ModalOverlayProps;
559
- declare const Modal: ({ isDismissable, isOpen, onOpenChange, defaultOpen, className, zIndex, ...restProps }: ModalProps) => react_jsx_runtime.JSX.Element;
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;
560
672
  type DialogProps = DialogProps$1 & {
561
- children: React.ReactNode;
562
- };
563
- declare const Dialog: ({ className, children, ...restProps }: DialogProps) => react_jsx_runtime.JSX.Element;
564
-
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
565
682
  type NumberFieldProps = {
566
- /** Additional CSS className for the element. */
567
- className?: string;
568
- /** Help text for the form control. */
569
- description?: React.ReactNode;
570
- /** Error message for the form control. Automatically sets `isInvalid` to true */
571
- errorMessage?: React.ReactNode;
572
- /** Element to be rendered in the left side of the input. */
573
- leftAddon?: React.ReactNode;
574
- /** Label for the form control. */
575
- label?: React.ReactNode;
576
- /** Element to be rendered in the right side of the input. */
577
- rightAddon?: React.ReactNode;
578
- /** Placeholder text. Only visible when the input value is empty. */
579
- placeholder?: string;
580
- /**
581
- * Text alignment of the input
582
- * @default left
583
- */
584
- textAlign?: 'left' | 'right';
585
- /** Additional style properties for the element. */
586
- style?: React.CSSProperties;
587
- /** Add a divider between the left/right addons and the input */
588
- withAddonDivider?: boolean;
589
- /** Defines the number of characters and determines the width of the input element, a value of 0 will be ignored */
590
- size?: number;
591
- /** Defines the maximum numeric value */
592
- maxValue?: number;
593
- /** Defines the minimum numeric value */
594
- minValue?: number;
595
- /** Ref for the input element. */
596
- ref?: Ref<HTMLInputElement>;
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>;
597
701
  } & Omit<NumberFieldProps$1, 'className' | 'isReadOnly' | 'isDisabled' | 'children' | 'style' | 'hideStepper'>;
598
- declare function NumberField(props: NumberFieldProps): react_jsx_runtime.JSX.Element;
599
-
702
+ declare function NumberField(props: NumberFieldProps): react_jsx_runtime0.JSX.Element;
703
+ //#endregion
704
+ //#region src/radiogroup/radio.d.ts
600
705
  type RadioProps = {
601
- children: React.ReactNode;
602
- /** Additional CSS className for the element. */
603
- className?: string;
604
- /** Help text for the form control. */
605
- description?: React.ReactNode;
606
- /** Additional style properties for the element. */
607
- style?: React.CSSProperties;
608
- /** Ref for the element. */
609
- ref?: Ref<HTMLLabelElement>;
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>;
610
711
  } & Omit<RadioProps$1, 'isDisabled' | 'children' | 'style'>;
611
- declare function Radio(props: RadioProps): react_jsx_runtime.JSX.Element;
612
-
712
+ declare function Radio(props: RadioProps): react_jsx_runtime0.JSX.Element;
713
+ //#endregion
714
+ //#region src/radiogroup/radio-group.d.ts
613
715
  type RadioGroupProps = {
614
- children: React.ReactNode;
615
- /** Additional CSS className for the element. */
616
- className?: string;
617
- /** Help text for the form control. */
618
- description?: React.ReactNode;
619
- /** Error message for the form control. Automatically sets `isInvalid` to true */
620
- errorMessage?: React.ReactNode;
621
- /** Label for the form control. */
622
- label?: React.ReactNode;
623
- /** Additional style properties for the element. */
624
- style?: React.CSSProperties;
625
- /** Ref for the element. */
626
- ref?: Ref<HTMLDivElement>;
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>;
627
723
  } & Omit<RadioGroupProps$1, 'className' | 'isReadOnly' | 'isDisabled' | 'children' | 'style' | 'orientation'>;
628
- declare function RadioGroup(props: RadioGroupProps): react_jsx_runtime.JSX.Element;
629
-
724
+ declare function RadioGroup(props: RadioGroupProps): react_jsx_runtime0.JSX.Element;
725
+ //#endregion
726
+ //#region src/select/select.d.ts
630
727
  type SelectProps<T extends object> = {
631
- children: React.ReactNode;
632
- /** Additional CSS className for the element. */
633
- className?: string;
634
- /** Help text for the form control. */
635
- description?: React.ReactNode;
636
- /** Error message for the form control. Automatically sets `isInvalid` to true */
637
- errorMessage?: React.ReactNode;
638
- /** Label for the form control. */
639
- label?: React.ReactNode;
640
- /** Placeholder text. Only visible when the input value is empty. */
641
- placeholder?: string;
642
- /** Additional style properties for the element. */
643
- style?: React.CSSProperties;
644
- /** Ref for the button element. */
645
- ref?: Ref<HTMLButtonElement>;
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>;
646
736
  } & Omit<SelectProps$1<T>, 'className' | 'isReadOnly' | 'isDisabled' | 'children' | 'style'>;
647
- declare function Select<T extends object>(props: SelectProps<T>): react_jsx_runtime.JSX.Element;
648
-
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
740
  type StepperProps = HTMLAttributes<HTMLDivElement> & {
650
- children: React.ReactNode;
651
- /** The active step, zero indexed. */
652
- activeStep: number;
653
- /** Handler that is called when the step changes. */
654
- onStepChange?: (step: number) => void;
655
- };
656
- declare const Stepper: ({ children, activeStep, onStepChange, ...restProps }: StepperProps) => react_jsx_runtime.JSX.Element;
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;
657
751
  type StepProps = HTMLProps<HTMLLIElement> & {
658
- /**
659
- * The state fo the step, whether the step is completed or not.
660
- */
661
- state?: 'completed';
662
- /**
663
- * Whether the step is disabled.
664
- * @default false
665
- */
666
- isDisabled?: boolean;
667
- /** The current progress of the step, between 0 and 100. */
668
- progress?: number;
669
- /** @private */
670
- '~stepIndex'?: number;
671
- };
672
- declare const Step: ({ isDisabled, state, children, "~stepIndex": stepIndex, progress, ...restProps }: StepProps) => react_jsx_runtime.JSX.Element;
673
-
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
674
774
  type TableProps = Omit<TableProps$1, 'aria-label' | 'aria-labelledby'> & RefAttributes<HTMLTableElement> & {
675
- /**
676
- * Visual variant of the table
677
- * @default 'default'
678
- */
679
- variant?: 'default' | 'zebra-striped';
775
+ /**
776
+ * Visual variant of the table
777
+ * @default 'default'
778
+ */
779
+ variant?: 'default' | 'zebra-striped';
680
780
  } & ({
681
- 'aria-label': string;
682
- 'aria-labelledby'?: never;
781
+ 'aria-label': string;
782
+ 'aria-labelledby'?: never;
683
783
  } | {
684
- 'aria-label'?: never;
685
- 'aria-labelledby': string;
784
+ 'aria-label'?: never;
785
+ 'aria-labelledby': string;
686
786
  });
687
787
  type TableHeaderProps = TableHeaderProps$1<object> & RefAttributes<HTMLTableSectionElement>;
688
788
  type TableColumnProps = ColumnProps & RefAttributes<HTMLTableCellElement> & {
689
- children: React.ReactNode;
789
+ children: React.ReactNode;
690
790
  };
691
791
  type TableBodyProps = TableBodyProps$1<object> & RefAttributes<HTMLTableSectionElement>;
692
792
  type TableRowProps = RowProps<object> & RefAttributes<HTMLTableRowElement>;
693
793
  type TableCellProps = CellProps & RefAttributes<HTMLTableCellElement> & {
694
- children: React.ReactNode;
794
+ children: React.ReactNode;
695
795
  };
696
796
  /**
697
797
  * A container component for displaying tabular data with horizontal scrolling support.
698
798
  */
699
- declare function Table(props: TableProps): react_jsx_runtime.JSX.Element;
799
+ declare function Table(props: TableProps): react_jsx_runtime0.JSX.Element;
700
800
  /**
701
801
  * Container for table column headers.
702
802
  */
703
- declare function TableHeader({ className, children, ...restProps }: TableHeaderProps): react_jsx_runtime.JSX.Element;
704
- declare function TableColumn(props: TableColumnProps): react_jsx_runtime.JSX.Element;
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
809
  type TableColumnResizerProps = ColumnResizerProps;
706
- declare const TableColumnResizer: ({ className, ...restProps }: TableColumnResizerProps) => react_jsx_runtime.JSX.Element;
810
+ declare const TableColumnResizer: ({
811
+ className,
812
+ ...restProps
813
+ }: TableColumnResizerProps) => react_jsx_runtime0.JSX.Element;
707
814
  /**
708
815
  * Container for table rows.
709
816
  */
710
- declare function TableBody({ className, children, ...restProps }: TableBodyProps): react_jsx_runtime.JSX.Element;
711
- declare function TableRow(props: TableRowProps): react_jsx_runtime.JSX.Element;
712
- declare function TableCell(props: TableCellProps): react_jsx_runtime.JSX.Element;
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;
713
824
  type TableContainerProps = ResizableTableContainerProps;
714
- declare const TableContainer: ({ className, ...restProps }: ResizableTableContainerProps) => react_jsx_runtime.JSX.Element;
715
-
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
831
  type TabsProps = Omit<TabsProps$1, 'className'> & RefAttributes<HTMLDivElement> & {
717
- /**
718
- * CSS classes to apply to the tabs container
719
- */
720
- className?: string;
721
- orientation?: 'horizontal' | 'vertical';
832
+ /**
833
+ * CSS classes to apply to the tabs container
834
+ */
835
+ className?: string;
836
+ orientation?: 'horizontal' | 'vertical';
722
837
  };
723
838
  type TabListProps = Omit<TabListProps$1<object>, 'className'> & RefAttributes<HTMLDivElement> & {
724
- /**
725
- * CSS classes to apply to the tab list
726
- */
727
- className?: string;
839
+ /**
840
+ * CSS classes to apply to the tab list
841
+ */
842
+ className?: string;
728
843
  };
729
844
  type TabProps = Omit<TabProps$1, 'className'> & RefAttributes<HTMLDivElement> & {
730
- children: React.ReactNode;
731
- /**
732
- * CSS classes to apply to the tab
733
- */
734
- className?: string;
845
+ children: React.ReactNode;
846
+ /**
847
+ * CSS classes to apply to the tab
848
+ */
849
+ className?: string;
735
850
  };
736
851
  type TabPanelProps = Omit<TabPanelProps$1, 'className'> & RefAttributes<HTMLDivElement> & {
737
- children: React.ReactNode;
738
- /**
739
- * CSS classes to apply to the tab panel
740
- */
741
- className?: string;
852
+ children: React.ReactNode;
853
+ /**
854
+ * CSS classes to apply to the tab panel
855
+ */
856
+ className?: string;
742
857
  };
743
858
  /**
744
859
  * A container component that organizes content into multiple sections
745
860
  * and allows users to navigate between them.
746
861
  */
747
- declare function Tabs(props: TabsProps): react_jsx_runtime.JSX.Element;
862
+ declare function Tabs(props: TabsProps): react_jsx_runtime0.JSX.Element;
748
863
  /**
749
864
  * A container component for Tab components within Tabs.
750
865
  */
751
- declare function TabList({ className, children, ...restProps }: TabListProps): react_jsx_runtime.JSX.Element;
866
+ declare function TabList({
867
+ className,
868
+ children,
869
+ ...restProps
870
+ }: TabListProps): react_jsx_runtime0.JSX.Element;
752
871
  /**
753
872
  * An individual tab that can be selected to display its associated content.
754
873
  */
755
- declare function Tab(props: TabProps): react_jsx_runtime.JSX.Element;
874
+ declare function Tab(props: TabProps): react_jsx_runtime0.JSX.Element;
756
875
  /**
757
876
  * The content area that displays the selected tab's content.
758
877
  */
759
- declare function TabPanel(props: TabPanelProps): react_jsx_runtime.JSX.Element;
760
-
878
+ declare function TabPanel(props: TabPanelProps): react_jsx_runtime0.JSX.Element;
879
+ //#endregion
880
+ //#region src/tag-group/tag-group.d.ts
761
881
  type TagGroupProps = Omit<TagGroupProps$1, 'className'> & RefAttributes<HTMLDivElement> & {
762
- /**
763
- * CSS classes to apply to the tag group
764
- */
765
- className?: string;
766
- /**
767
- * The function to call when the tag is removed
768
- */
769
- onRemove?: (key: React.Key) => void;
770
- /**
771
- * The selection mode for the tag group
772
- * @default "single"
773
- */
774
- selectionMode?: 'single' | 'multiple';
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';
775
895
  };
776
896
  type TagListProps = Omit<TagListProps$1<object>, 'className'> & RefAttributes<HTMLDivElement> & {
777
- /**
778
- * CSS classes to apply to the tag list
779
- */
780
- className?: string;
897
+ /**
898
+ * CSS classes to apply to the tag list
899
+ */
900
+ className?: string;
781
901
  };
782
902
  type TagProps = Omit<TagProps$1, 'className'> & RefAttributes<HTMLDivElement> & {
783
- children: React.ReactNode;
784
- /**
785
- * CSS classes to apply to the tag
786
- */
787
- className?: string;
903
+ children: React.ReactNode;
904
+ /**
905
+ * CSS classes to apply to the tag
906
+ */
907
+ className?: string;
788
908
  };
789
909
  /**
790
910
  * A group component for Tag components that enables selection and organization of options.
791
911
  */
792
- declare function TagGroup(props: TagGroupProps): react_jsx_runtime.JSX.Element;
912
+ declare function TagGroup(props: TagGroupProps): react_jsx_runtime0.JSX.Element;
793
913
  /**
794
914
  * A container component for Tag components within a TagGroup.
795
915
  */
796
- declare function TagList(props: TagListProps): react_jsx_runtime.JSX.Element;
916
+ declare function TagList(props: TagListProps): react_jsx_runtime0.JSX.Element;
797
917
  /**
798
918
  * Interactive tag component for selections, filtering, and categorization.
799
919
  */
800
- declare function Tag(props: TagProps): react_jsx_runtime.JSX.Element;
801
-
920
+ declare function Tag(props: TagProps): react_jsx_runtime0.JSX.Element;
921
+ //#endregion
922
+ //#region src/textarea/textarea.d.ts
802
923
  type TextAreaProps = {
803
- /** Additional CSS className for the element. */
804
- className?: string;
805
- /** Help text for the form control. */
806
- description?: React.ReactNode;
807
- /** Error message for the form control. Automatically sets `isInvalid` to true */
808
- errorMessage?: React.ReactNode;
809
- /** Label for the form control. */
810
- label?: React.ReactNode;
811
- /** Placeholder text. Only visible when the input value is empty. */
812
- placeholder?: string;
813
- /** Additional style properties for the element. */
814
- style?: React.CSSProperties;
815
- /**
816
- * The number of visible text lines for the control.
817
- * @default 2
818
- */
819
- rows?: number;
820
- /** Ref for the textarea element. */
821
- ref?: Ref<HTMLTextAreaElement>;
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>;
822
936
  } & Omit<TextFieldProps$1, 'className' | 'isReadOnly' | 'isDisabled' | 'children' | 'style'>;
823
- declare function TextArea(props: TextAreaProps): react_jsx_runtime.JSX.Element;
824
-
937
+ declare function TextArea(props: TextAreaProps): react_jsx_runtime0.JSX.Element;
938
+ //#endregion
939
+ //#region src/textfield/textfield.d.ts
825
940
  type TextFieldProps = {
826
- /** Additional CSS className for the element. */
827
- className?: string;
828
- /** Help text for the form control. */
829
- description?: React.ReactNode;
830
- /** Error message for the form control. Automatically sets `isInvalid` to true */
831
- errorMessage?: React.ReactNode;
832
- /** Element to be rendered in the left side of the input. */
833
- leftAddon?: React.ReactNode;
834
- /** Label for the form control. */
835
- label?: React.ReactNode;
836
- /** Element to be rendered in the right side of the input. */
837
- rightAddon?: React.ReactNode;
838
- /** Placeholder text. Only visible when the input value is empty. */
839
- placeholder?: string;
840
- /**
841
- * Text alignment of the input
842
- * @default left
843
- */
844
- textAlign?: 'left' | 'right';
845
- /** Additional style properties for the element. */
846
- style?: React.CSSProperties;
847
- /** Add a divider between the left/right addons and the input, a value of 0 will be ignored */
848
- withAddonDivider?: boolean;
849
- /** Defines the number of characters and determines the width of the input element */
850
- size?: number;
851
- /** Ref for the input element. */
852
- ref?: Ref<HTMLInputElement>;
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>;
853
957
  } & Omit<TextFieldProps$1, 'className' | 'isReadOnly' | 'isDisabled' | 'children' | 'style'>;
854
- declare function TextField(props: TextFieldProps): react_jsx_runtime.JSX.Element;
855
-
958
+ declare function TextField(props: TextFieldProps): react_jsx_runtime0.JSX.Element;
959
+ //#endregion
960
+ //#region src/video-loop/video-loop.d.ts
856
961
  type VideoLoopProps = {
857
- /** The video url */
858
- src: string;
859
- /** The video format */
860
- format: string;
861
- /**
862
- * The content of the video must have a text description, so that it is accessible to screen readers.
863
- * You can either provide just a caption, just an alt text, or both a caption and an alt text.
864
- * Make sure the alt text doesn't repeat too much of the caption text, if so just a caption is sufficent.
865
- * Think of this just as an alt text, but for a muted video - this text will not be visible, but read by screen readers.
866
- * */
867
- alt?: string;
868
- className?: string;
869
- };
870
- declare const VideoLoop: ({ src, format, alt, className }: VideoLoopProps) => react_jsx_runtime.JSX.Element;
871
-
872
- 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 };
873
- 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 };
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 };