@nswds/app 1.34.0 → 1.36.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,3153 +1,1827 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime'
2
- import * as React$1 from 'react'
3
- import React__default, { Dispatch, SetStateAction, ReactNode } from 'react'
4
- import * as AccordionPrimitive from '@radix-ui/react-accordion'
5
- import * as class_variance_authority_types from 'class-variance-authority/types'
6
- import { VariantProps } from 'class-variance-authority'
7
- import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio'
8
- import * as AvatarPrimitive from '@radix-ui/react-avatar'
9
- import * as url from 'url'
10
- import * as Headless from '@headlessui/react'
11
- import * as CheckboxPrimitive from '@radix-ui/react-checkbox'
12
- import * as CollapsiblePrimitive from '@radix-ui/react-collapsible'
13
- import { Command as Command$1 } from 'cmdk'
14
- import * as DialogPrimitive from '@radix-ui/react-dialog'
15
- import * as ContextMenuPrimitive from '@radix-ui/react-context-menu'
16
- import { Drawer as Drawer$1 } from 'vaul'
17
- import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu'
18
- import * as react_hook_form from 'react-hook-form'
19
- import { FieldValues, FieldPath, ControllerProps } from 'react-hook-form'
20
- import * as LabelPrimitive from '@radix-ui/react-label'
21
- import { Slot } from '@radix-ui/react-slot'
22
- import * as MenubarPrimitive from '@radix-ui/react-menubar'
23
- import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu'
24
- import * as PopoverPrimitive from '@radix-ui/react-popover'
25
- import * as ProgressPrimitive from '@radix-ui/react-progress'
26
- import * as RadioGroupPrimitive from '@radix-ui/react-radio-group'
27
- import * as ResizablePrimitive from 'react-resizable-panels'
28
- import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area'
29
- import * as SelectPrimitive from '@radix-ui/react-select'
30
- import * as SeparatorPrimitive from '@radix-ui/react-separator'
31
- import * as zustand_middleware from 'zustand/middleware'
32
- import * as zustand from 'zustand'
33
- import * as SliderPrimitive from '@radix-ui/react-slider'
34
- import { ToasterProps } from 'sonner'
35
- import * as SwitchPrimitive from '@radix-ui/react-switch'
36
- import * as TabsPrimitive from '@radix-ui/react-tabs'
37
- import { ThemeProviderProps } from 'next-themes'
38
- import * as TogglePrimitive from '@radix-ui/react-toggle'
39
- import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group'
40
- import * as TooltipPrimitive from '@radix-ui/react-tooltip'
41
- import * as RechartsPrimitive from 'recharts'
42
- import * as tailwind_variants from 'tailwind-variants'
43
- import { VariantProps as VariantProps$1 } from 'tailwind-variants'
44
- import { ClassValue } from 'clsx'
45
- import * as _sindresorhus_slugify from '@sindresorhus/slugify'
46
-
47
- declare function Accordion({
48
- ...props
49
- }: React$1.ComponentProps<typeof AccordionPrimitive.Root>): react_jsx_runtime.JSX.Element
50
- declare function AccordionItem({
51
- className,
52
- ...props
53
- }: React$1.ComponentProps<typeof AccordionPrimitive.Item>): react_jsx_runtime.JSX.Element
54
- declare function AccordionTrigger({
55
- className,
56
- children,
57
- ...props
58
- }: React$1.ComponentProps<typeof AccordionPrimitive.Trigger>): react_jsx_runtime.JSX.Element
59
- declare function AccordionContent({
60
- className,
61
- children,
62
- ...props
63
- }: React$1.ComponentProps<typeof AccordionPrimitive.Content>): react_jsx_runtime.JSX.Element
64
-
65
- declare const alertVariants: (
66
- props?:
67
- | ({
68
- variant?: 'default' | 'destructive' | null | undefined
69
- } & class_variance_authority_types.ClassProp)
70
- | undefined,
71
- ) => string
72
- declare function Alert({
73
- className,
74
- variant,
75
- ...props
76
- }: React$1.ComponentProps<'div'> &
77
- VariantProps<typeof alertVariants>): react_jsx_runtime.JSX.Element
78
- declare function AlertTitle({
79
- className,
80
- ...props
81
- }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element
82
- declare function AlertDescription({
83
- className,
84
- ...props
85
- }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element
86
-
87
- declare function AspectRatio({
88
- ...props
89
- }: React.ComponentProps<typeof AspectRatioPrimitive.Root>): react_jsx_runtime.JSX.Element
90
-
91
- declare function Avatar({
92
- className,
93
- ...props
94
- }: React$1.ComponentProps<typeof AvatarPrimitive.Root>): react_jsx_runtime.JSX.Element
95
- declare function AvatarImage({
96
- className,
97
- ...props
98
- }: React$1.ComponentProps<typeof AvatarPrimitive.Image>): react_jsx_runtime.JSX.Element
99
- declare function AvatarFallback({
100
- className,
101
- ...props
102
- }: React$1.ComponentProps<typeof AvatarPrimitive.Fallback>): react_jsx_runtime.JSX.Element
103
-
104
- declare const badgeVariants: (
105
- props?:
106
- | ({
107
- variant?: 'solid' | 'soft' | 'surface' | 'outline' | null | undefined
108
- color?:
109
- | 'primary/grey'
110
- | 'light'
111
- | 'primary/white'
112
- | 'white'
113
- | 'grey'
114
- | 'primary'
115
- | 'secondary'
116
- | 'tertiary'
117
- | 'accent'
118
- | 'danger'
119
- | 'success'
120
- | 'warning'
121
- | 'info'
122
- | null
123
- | undefined
124
- size?: 'default' | 'sm' | 'lg' | null | undefined
125
- } & class_variance_authority_types.ClassProp)
126
- | undefined,
127
- ) => string
128
- declare function Badge({
129
- variant,
130
- color,
131
- size,
132
- className,
133
- ...props
134
- }: VariantProps<typeof badgeVariants> &
135
- React__default.ComponentPropsWithoutRef<'span'>): react_jsx_runtime.JSX.Element
136
- declare const BadgeButton: React__default.ForwardRefExoticComponent<
137
- (VariantProps<
138
- (
139
- props?:
140
- | ({
141
- variant?: 'solid' | 'soft' | 'surface' | 'outline' | null | undefined
142
- color?:
143
- | 'primary/grey'
144
- | 'light'
145
- | 'primary/white'
146
- | 'white'
147
- | 'grey'
148
- | 'primary'
149
- | 'secondary'
150
- | 'tertiary'
151
- | 'accent'
152
- | 'danger'
153
- | 'success'
154
- | 'warning'
155
- | 'info'
156
- | null
157
- | undefined
158
- size?: 'default' | 'sm' | 'lg' | null | undefined
159
- } & class_variance_authority_types.ClassProp)
160
- | undefined,
161
- ) => string
162
- > &
163
- ({
164
- className?: string
165
- children: React__default.ReactNode
166
- } & (
167
- | Omit<Headless.ButtonProps<'button'>, 'className' | 'as'>
168
- | Omit<
169
- Omit<
170
- {
171
- href: string | url.UrlObject
172
- as?: string | url.UrlObject
173
- replace?: boolean
174
- scroll?: boolean
175
- shallow?: boolean
176
- passHref?: boolean
177
- prefetch?: boolean | null
178
- locale?: string | false
179
- legacyBehavior?: boolean
180
- onMouseEnter?: React__default.MouseEventHandler<HTMLAnchorElement>
181
- onTouchStart?: React__default.TouchEventHandler<HTMLAnchorElement>
182
- onClick?: React__default.MouseEventHandler<HTMLAnchorElement>
183
- onNavigate?: (event: { preventDefault: () => void }) => void
184
- } & Omit<
185
- React__default.DetailedHTMLProps<
186
- React__default.AnchorHTMLAttributes<HTMLAnchorElement>,
187
- HTMLAnchorElement
188
- >,
189
- 'ref'
190
- > &
191
- React__default.RefAttributes<HTMLAnchorElement>,
192
- 'ref'
193
- >,
194
- 'className'
195
- >
196
- ))) &
197
- React__default.RefAttributes<HTMLElement>
198
- >
199
-
200
- type IconProps = React.HTMLAttributes<SVGElement>
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as React$1 from 'react';
3
+ import React__default, { Dispatch, SetStateAction, ReactNode } from 'react';
4
+ import * as AccordionPrimitive from '@radix-ui/react-accordion';
5
+ import * as class_variance_authority_types from 'class-variance-authority/types';
6
+ import { VariantProps } from 'class-variance-authority';
7
+ import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
8
+ import * as AvatarPrimitive from '@radix-ui/react-avatar';
9
+ import * as url from 'url';
10
+ import * as Headless from '@headlessui/react';
11
+ import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
12
+ import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
13
+ import { Command as Command$1 } from 'cmdk';
14
+ import * as DialogPrimitive from '@radix-ui/react-dialog';
15
+ import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
16
+ import { Drawer as Drawer$1 } from 'vaul';
17
+ import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
18
+ import * as react_hook_form from 'react-hook-form';
19
+ import { FieldValues, FieldPath, ControllerProps } from 'react-hook-form';
20
+ import * as LabelPrimitive from '@radix-ui/react-label';
21
+ import { Slot } from '@radix-ui/react-slot';
22
+ import * as MenubarPrimitive from '@radix-ui/react-menubar';
23
+ import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
24
+ import * as PopoverPrimitive from '@radix-ui/react-popover';
25
+ import * as ProgressPrimitive from '@radix-ui/react-progress';
26
+ import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
27
+ import * as ResizablePrimitive from 'react-resizable-panels';
28
+ import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
29
+ import * as SelectPrimitive from '@radix-ui/react-select';
30
+ import * as SeparatorPrimitive from '@radix-ui/react-separator';
31
+ import * as zustand_middleware from 'zustand/middleware';
32
+ import * as zustand from 'zustand';
33
+ import * as SliderPrimitive from '@radix-ui/react-slider';
34
+ import { ToasterProps } from 'sonner';
35
+ import * as SwitchPrimitive from '@radix-ui/react-switch';
36
+ import * as TabsPrimitive from '@radix-ui/react-tabs';
37
+ import { ThemeProviderProps } from 'next-themes';
38
+ import * as TogglePrimitive from '@radix-ui/react-toggle';
39
+ import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
40
+ import * as TooltipPrimitive from '@radix-ui/react-tooltip';
41
+ import * as RechartsPrimitive from 'recharts';
42
+ import * as tailwind_variants from 'tailwind-variants';
43
+ import { VariantProps as VariantProps$1 } from 'tailwind-variants';
44
+ import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
45
+ import { DayPicker, DayButton } from 'react-day-picker';
46
+ import useEmblaCarousel, { UseEmblaCarouselType } from 'embla-carousel-react';
47
+ import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
48
+ import { OTPInput } from 'input-otp';
49
+ import { ClassValue } from 'clsx';
50
+ import * as _sindresorhus_slugify from '@sindresorhus/slugify';
51
+
52
+ declare function Accordion({ ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Root>): react_jsx_runtime.JSX.Element;
53
+ declare function AccordionItem({ className, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Item>): react_jsx_runtime.JSX.Element;
54
+ declare function AccordionTrigger({ className, children, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
55
+ declare function AccordionContent({ className, children, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Content>): react_jsx_runtime.JSX.Element;
56
+
57
+ declare const alertVariants: (props?: ({
58
+ variant?: "default" | "destructive" | null | undefined;
59
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
60
+ declare function Alert({ className, variant, ...props }: React$1.ComponentProps<'div'> & VariantProps<typeof alertVariants>): react_jsx_runtime.JSX.Element;
61
+ declare function AlertTitle({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
62
+ declare function AlertDescription({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
63
+
64
+ declare function AspectRatio({ ...props }: React.ComponentProps<typeof AspectRatioPrimitive.Root>): react_jsx_runtime.JSX.Element;
65
+
66
+ declare function Avatar({ className, ...props }: React$1.ComponentProps<typeof AvatarPrimitive.Root>): react_jsx_runtime.JSX.Element;
67
+ declare function AvatarImage({ className, ...props }: React$1.ComponentProps<typeof AvatarPrimitive.Image>): react_jsx_runtime.JSX.Element;
68
+ declare function AvatarFallback({ className, ...props }: React$1.ComponentProps<typeof AvatarPrimitive.Fallback>): react_jsx_runtime.JSX.Element;
69
+
70
+ declare const badgeVariants: (props?: ({
71
+ variant?: "solid" | "soft" | "surface" | "outline" | null | undefined;
72
+ color?: "primary/grey" | "light" | "primary/white" | "white" | "grey" | "primary" | "secondary" | "tertiary" | "accent" | "danger" | "success" | "warning" | "info" | null | undefined;
73
+ size?: "default" | "sm" | "lg" | null | undefined;
74
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
75
+ declare function Badge({ variant, color, size, className, ...props }: VariantProps<typeof badgeVariants> & React__default.ComponentPropsWithoutRef<'span'>): react_jsx_runtime.JSX.Element;
76
+ declare const BadgeButton: React__default.ForwardRefExoticComponent<(VariantProps<(props?: ({
77
+ variant?: "solid" | "soft" | "surface" | "outline" | null | undefined;
78
+ color?: "primary/grey" | "light" | "primary/white" | "white" | "grey" | "primary" | "secondary" | "tertiary" | "accent" | "danger" | "success" | "warning" | "info" | null | undefined;
79
+ size?: "default" | "sm" | "lg" | null | undefined;
80
+ } & class_variance_authority_types.ClassProp) | undefined) => string> & ({
81
+ className?: string;
82
+ children: React__default.ReactNode;
83
+ } & (Omit<Headless.ButtonProps<"button">, "className" | "as"> | Omit<Omit<{
84
+ href: string | url.UrlObject;
85
+ as?: string | url.UrlObject;
86
+ replace?: boolean;
87
+ scroll?: boolean;
88
+ shallow?: boolean;
89
+ passHref?: boolean;
90
+ prefetch?: boolean | null;
91
+ locale?: string | false;
92
+ legacyBehavior?: boolean;
93
+ onMouseEnter?: React__default.MouseEventHandler<HTMLAnchorElement>;
94
+ onTouchStart?: React__default.TouchEventHandler<HTMLAnchorElement>;
95
+ onClick?: React__default.MouseEventHandler<HTMLAnchorElement>;
96
+ onNavigate?: (event: {
97
+ preventDefault: () => void;
98
+ }) => void;
99
+ } & Omit<React__default.DetailedHTMLProps<React__default.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & React__default.RefAttributes<HTMLAnchorElement>, "ref">, "className">))) & React__default.RefAttributes<HTMLElement>>;
100
+
101
+ type IconProps = React.HTMLAttributes<SVGElement>;
201
102
  interface LayoutProps {
202
- children: React.ReactNode
203
- sitename?: string
204
- toc?: boolean
205
- }
206
- type Format = 'hex' | 'oklch' | 'hsl' | 'rgb'
207
- type Variant = 'shades' | 'theme'
208
- type Output = 'css' | 'ts' | 'scss' | 'less' | 'tailwind' | 'json' | 'json-DTFM' | 'js'
209
- type ViewMode = 'grid' | 'list'
210
- type DataType = 'css' | 'scss' | 'less' | 'tailwind' | 'json' | 'json-DTFM' | 'js'
211
- type ThemeCategory = 'brand' | 'aboriginal'
212
- type ThemeOption = string
103
+ children: React.ReactNode;
104
+ sitename?: string;
105
+ toc?: boolean;
106
+ }
107
+ type Format = 'hex' | 'oklch' | 'hsl' | 'rgb';
108
+ type Variant = 'shades' | 'theme';
109
+ type Output = 'css' | 'ts' | 'scss' | 'less' | 'tailwind' | 'json' | 'json-DTFM' | 'js';
110
+ type ViewMode = 'grid' | 'list';
111
+ type DataType = 'css' | 'scss' | 'less' | 'tailwind' | 'json' | 'json-DTFM' | 'js';
112
+ type ThemeCategory = 'brand' | 'aboriginal';
113
+ type ThemeOption = string;
213
114
  type ColorProperty = {
214
- value:
215
- | string
216
- | {
217
- colorSpace: string
218
- channels: number[]
219
- alpha: number
220
- }
221
- type: 'color'
222
- }
115
+ value: string | {
116
+ colorSpace: string;
117
+ channels: number[];
118
+ alpha: number;
119
+ };
120
+ type: 'color';
121
+ };
223
122
  type Palette = {
224
- baseColors: string[]
225
- name: string
226
- themeColor?: string
227
- }
123
+ baseColors: string[];
124
+ name: string;
125
+ themeColor?: string;
126
+ };
228
127
  interface ColourScaleProps {
229
- colorsToUse: ColorData[]
128
+ colorsToUse: ColorData[];
230
129
  }
231
130
  type colorCategories = {
232
- name: string
233
- colors: {
234
- token: string
235
- oklch: string
236
- hex: string
237
- rgb: string
238
- hsl: string
239
- name?: string
240
- }[]
241
- }
131
+ name: string;
132
+ colors: {
133
+ token: string;
134
+ oklch: string;
135
+ hex: string;
136
+ rgb: string;
137
+ hsl: string;
138
+ name?: string;
139
+ }[];
140
+ };
242
141
  type ColorThemes = {
243
- [key: string]: {
244
- [key: string]: colorCategories
245
- }
246
- }
142
+ [key: string]: {
143
+ [key: string]: colorCategories;
144
+ };
145
+ };
247
146
  type ColorTheme = {
248
- [key: string]: {
249
- name: string
250
- colors: {
251
- token: string
252
- oklch: string
253
- hex: string
254
- rgb: string
255
- hsl: string
256
- name?: string
257
- }[]
258
- }
259
- }
147
+ [key: string]: {
148
+ name: string;
149
+ colors: {
150
+ token: string;
151
+ oklch: string;
152
+ hex: string;
153
+ rgb: string;
154
+ hsl: string;
155
+ name?: string;
156
+ }[];
157
+ };
158
+ };
260
159
  interface ColorCardProps {
261
- name: string
262
- token: string
263
- hex: string
264
- rgb: string
265
- hsl: string
266
- oklch: string
267
- format: 'hex' | 'rgb' | 'hsl' | 'oklch'
268
- viewMode: 'grid' | 'list'
160
+ name: string;
161
+ token: string;
162
+ hex: string;
163
+ rgb: string;
164
+ hsl: string;
165
+ oklch: string;
166
+ format: 'hex' | 'rgb' | 'hsl' | 'oklch';
167
+ viewMode: 'grid' | 'list';
269
168
  }
270
169
  interface ViewToggleProps {
271
- viewMode: ViewMode
272
- setViewMode: (mode: ViewMode) => void
170
+ viewMode: ViewMode;
171
+ setViewMode: (mode: ViewMode) => void;
273
172
  }
274
173
  interface Color {
275
- token: string
276
- oklch: string
277
- hex: string
278
- rgb: string
279
- hsl: string
280
- name?: string
174
+ token: string;
175
+ oklch: string;
176
+ hex: string;
177
+ rgb: string;
178
+ hsl: string;
179
+ name?: string;
281
180
  }
282
181
  interface ColorData {
283
- oklch: string
284
- hex: string
285
- rgb: string
286
- hsl: string
287
- [key: string]: string
182
+ oklch: string;
183
+ hex: string;
184
+ rgb: string;
185
+ hsl: string;
186
+ [key: string]: string;
288
187
  }
289
188
  interface ColorsDisplayProps {
290
- colorCategories?: colorCategories[]
291
- baseColors?: string[]
292
- themeColor?: string | undefined
293
- colorsToUse: ColorData[]
294
- paletteName: string
295
- variant: Variant
296
- format: Format
297
- viewMode: ViewMode
189
+ colorCategories?: colorCategories[];
190
+ baseColors?: string[];
191
+ themeColor?: string | undefined;
192
+ colorsToUse: ColorData[];
193
+ paletteName: string;
194
+ variant: Variant;
195
+ format: Format;
196
+ viewMode: ViewMode;
298
197
  }
299
198
  interface ColorSwatchesProps {
300
- theme: Color[]
301
- format: Format
302
- viewMode: ViewMode
199
+ theme: Color[];
200
+ format: Format;
201
+ viewMode: ViewMode;
303
202
  }
304
203
  interface ColourOutputProps {
305
- colorCategories: colorCategories[]
306
- colorsToUse: ColorData[]
307
- paletteName: string
308
- format: Format
309
- output: Output
310
- variant: Variant
204
+ colorCategories: colorCategories[];
205
+ colorsToUse: ColorData[];
206
+ paletteName: string;
207
+ format: Format;
208
+ output: Output;
209
+ variant: Variant;
311
210
  }
312
211
  interface ThemeSelectorProps {
313
- themeCategory: ThemeCategory
314
- setThemeCategory: (category: ThemeCategory) => void
315
- primaryColor: string
316
- setPrimaryColor: (color: string) => void
317
- accentColor: string
318
- setAccentColor: (color: string) => void
319
- greyColor: string
320
- setGreyColor: (color: string) => void
321
- availableAccentColors: string[]
322
- colorThemes: ColorThemes
212
+ themeCategory: ThemeCategory;
213
+ setThemeCategory: (category: ThemeCategory) => void;
214
+ primaryColor: string;
215
+ setPrimaryColor: (color: string) => void;
216
+ accentColor: string;
217
+ setAccentColor: (color: string) => void;
218
+ greyColor: string;
219
+ setGreyColor: (color: string) => void;
220
+ availableAccentColors: string[];
221
+ colorThemes: ColorThemes;
323
222
  }
324
223
  interface DesignTokensShades {
325
- [paletteName: string]: {
326
- [shade: string]: {
327
- $type: 'color'
328
- $value:
329
- | string
330
- | {
331
- colorSpace: string
332
- channels: number[]
333
- alpha: number
334
- }
335
- }
336
- }
224
+ [paletteName: string]: {
225
+ [shade: string]: {
226
+ $type: 'color';
227
+ $value: string | {
228
+ colorSpace: string;
229
+ channels: number[];
230
+ alpha: number;
231
+ };
232
+ };
233
+ };
337
234
  }
338
235
  interface StructuredColor {
339
- colorSpace: string
340
- channels: number[]
341
- alpha: number
236
+ colorSpace: string;
237
+ channels: number[];
238
+ alpha: number;
342
239
  }
343
240
  interface DesignTokensTheme {
344
- [paletteName: string]: {
345
- value: string | StructuredColor
346
- type: 'color'
347
- variants: Record<
348
- string,
349
- {
350
- value: string | StructuredColor
351
- type: 'color'
352
- }
353
- >
354
- }
241
+ [paletteName: string]: {
242
+ value: string | StructuredColor;
243
+ type: 'color';
244
+ variants: Record<string, {
245
+ value: string | StructuredColor;
246
+ type: 'color';
247
+ }>;
248
+ };
355
249
  }
356
250
  interface FormatToggleProps {
357
- format: Format
358
- setFormat: (format: Format) => void
251
+ format: Format;
252
+ setFormat: (format: Format) => void;
359
253
  }
360
254
  interface DataTypeSelectProps {
361
- dataType: DataType
362
- setDataType: (format: DataType) => void
255
+ dataType: DataType;
256
+ setDataType: (format: DataType) => void;
363
257
  }
364
258
  type TableOfContentsItem = {
365
- id: string
366
- children: TableOfContentsItem[]
367
- title: string
368
- }
259
+ id: string;
260
+ children: TableOfContentsItem[];
261
+ level: number;
262
+ title: string;
263
+ };
369
264
  type TableOfContentsProps = {
370
- tableOfContents: TableOfContentsItem[]
371
- }
265
+ tableOfContents: TableOfContentsItem[];
266
+ };
372
267
  interface TocContextType {
373
- toc: boolean
374
- setToc: Dispatch<SetStateAction<boolean>>
268
+ toc: boolean;
269
+ setToc: Dispatch<SetStateAction<boolean>>;
375
270
  }
376
271
  type SimpleNode = {
377
- type: string
378
- attributes: {
379
- content?: string
380
- [key: string]: string | number | boolean | undefined
381
- }
382
- children?: SimpleNode[]
383
- }
272
+ type: string;
273
+ attributes: {
274
+ content?: string;
275
+ [key: string]: string | number | boolean | undefined;
276
+ };
277
+ children?: SimpleNode[];
278
+ };
384
279
  type HeadingNode = {
385
- level: number
386
- id: string
387
- title: string
388
- children: HeadingNode[]
389
- }
280
+ level: number;
281
+ id: string;
282
+ title: string;
283
+ children: HeadingNode[];
284
+ };
390
285
  type Link$1 = {
391
- href: string
392
- title: string
393
- links?: Link$1[]
394
- }
286
+ href: string;
287
+ title: string;
288
+ links?: Link$1[];
289
+ };
395
290
  type NavigationLink = {
396
- id?: string
397
- title: string
398
- href: string
399
- links?: NavigationLink[]
400
- }
291
+ id?: string;
292
+ title: string;
293
+ href: string;
294
+ links?: NavigationLink[];
295
+ };
401
296
  type NavigationSection = {
402
- title: string
403
- href?: string
404
- links?: NavigationLink[]
405
- }
297
+ title: string;
298
+ href?: string;
299
+ links?: NavigationLink[];
300
+ };
406
301
  interface PrevNextLinksProps {
407
- navigation: NavigationSection[]
302
+ navigation: NavigationSection[];
408
303
  }
409
304
  type SidebarLinkProps = {
410
- link: Link$1
411
- pathname: string
412
- onLinkClick?: React.MouseEventHandler<HTMLAnchorElement>
413
- depth: number
414
- }
305
+ link: Link$1;
306
+ pathname: string;
307
+ onLinkClick?: React.MouseEventHandler<HTMLAnchorElement>;
308
+ depth: number;
309
+ };
415
310
  interface BreadcrumbsProps {
416
- homeLabel?: string
417
- /**
418
- * Custom labels for specific paths
419
- * e.g. { "/dashboard": "Control Panel", "/users/[id]": "User Profile" }
420
- */
421
- pathLabels?: Record<string, string>
422
- /**
423
- * Whether to show the home breadcrumb
424
- */
425
- showHome?: boolean
426
- /**
427
- * Whether to transform path segments to title case (e.g., "my-page" -> "My Page")
428
- */
429
- transformLabel?: boolean
430
- /**
431
- * Maximum number of items to show before collapsing into dropdown
432
- */
433
- maxItems?: number
434
- /**
435
- * Force showing breadcrumbs even on home page
436
- */
437
- forceShow?: boolean
438
- /**
439
- * Override the current path (for demonstration purposes)
440
- */
441
- demoPath?: string
442
- }
443
- type View = 'desktop' | 'tablet' | 'mobile'
444
- declare const languages: readonly [
445
- 'bash',
446
- 'css',
447
- 'javascript',
448
- 'js',
449
- 'json',
450
- 'jsx',
451
- 'ts',
452
- 'tsx',
453
- 'typescript',
454
- 'html',
455
- ]
456
- type Language = (typeof languages)[number]
457
- type IFrameData = number | IFrameOptions
311
+ homeLabel?: string;
312
+ /**
313
+ * Custom labels for specific paths
314
+ * e.g. { "/dashboard": "Control Panel", "/users/[id]": "User Profile" }
315
+ */
316
+ pathLabels?: Record<string, string>;
317
+ /**
318
+ * Whether to show the home breadcrumb
319
+ */
320
+ showHome?: boolean;
321
+ /**
322
+ * Whether to transform path segments to title case (e.g., "my-page" -> "My Page")
323
+ */
324
+ transformLabel?: boolean;
325
+ /**
326
+ * Maximum number of items to show before collapsing into dropdown
327
+ */
328
+ maxItems?: number;
329
+ /**
330
+ * Force showing breadcrumbs even on home page
331
+ */
332
+ forceShow?: boolean;
333
+ /**
334
+ * Override the current path (for demonstration purposes)
335
+ */
336
+ demoPath?: string;
337
+ }
338
+ type View = 'desktop' | 'tablet' | 'mobile';
339
+ declare const languages: readonly ["bash", "css", "javascript", "js", "json", "jsx", "ts", "tsx", "typescript", "html"];
340
+ type Language = (typeof languages)[number];
341
+ type IFrameData = number | IFrameOptions;
458
342
  interface IFrameOptions {
459
- src: string
460
- width?: number | undefined
461
- height: number
462
- noPadding?: boolean
343
+ src: string;
344
+ width?: number | undefined;
345
+ height: number;
346
+ noPadding?: boolean;
463
347
  }
464
348
  interface BaseCodeData<T extends 'single' | 'variant'> {
465
- type: T
466
- githubSlug: string
467
- component: React.ReactNode
349
+ type: T;
350
+ githubSlug: string;
351
+ component: React.ReactNode;
468
352
  }
469
353
  interface VariantCodeData<V extends Variants> extends BaseCodeData<'variant'> {
470
- variant: V
471
- code: CodeVariant<V>
472
- labels?: Record<string, string>
473
- iframe?: IFrameData | IFrameMap<V>
354
+ variant: V;
355
+ code: CodeVariant<V>;
356
+ labels?: Record<string, string>;
357
+ iframe?: IFrameData | IFrameMap<V>;
474
358
  }
475
359
  interface SingleCodeData extends BaseCodeData<'single'> {
476
- code: Code$1
477
- iframe?: IFrameData
360
+ code: Code$1;
361
+ iframe?: IFrameData;
478
362
  }
479
363
  interface CodeItem {
480
- fileName: string
481
- language: Language
482
- code: string
483
- }
484
- type Variants = string
485
- type CodeVariant<V extends Variants> = Record<V, Code$1>
486
- type Code$1 = CodeItem | [CodeItem, ...CodeItem[]]
487
- type CodeData<V extends Variants = Variants> = SingleCodeData | VariantCodeData<V>
364
+ fileName: string;
365
+ language: Language;
366
+ code: string;
367
+ }
368
+ type Variants = string;
369
+ type CodeVariant<V extends Variants> = Record<V, Code$1>;
370
+ type Code$1 = CodeItem | [CodeItem, ...CodeItem[]];
371
+ type CodeData<V extends Variants = Variants> = SingleCodeData | VariantCodeData<V>;
488
372
  interface CodeDemoProps {
489
- data: CodeData
490
- hide?: {
491
- rtl?: boolean
492
- darkMode?: boolean
493
- themeSelector?: boolean
494
- }
373
+ data: CodeData;
374
+ hide?: {
375
+ rtl?: boolean;
376
+ darkMode?: boolean;
377
+ themeSelector?: boolean;
378
+ };
495
379
  }
496
380
  interface CodeHighlightProps extends React.ComponentProps<'pre'> {
497
- code: string
498
- language: Language
499
- withCopy?: boolean
381
+ code: string;
382
+ language: Language;
383
+ withCopy?: boolean;
500
384
  }
501
385
  type ThemeMessage = {
502
- type: 'nswds-theme'
503
- payload: {
504
- [key: string]: string
505
- }
506
- }
386
+ type: 'nswds-theme';
387
+ payload: {
388
+ [key: string]: string;
389
+ };
390
+ };
507
391
  type IFrameProps = {
508
- iframe: IFrameData
509
- isRTL: boolean
510
- isDarkMode: boolean | null
511
- sandbox?: string
512
- }
392
+ iframe: IFrameData;
393
+ isRTL: boolean;
394
+ isDarkMode: boolean | null;
395
+ sandbox?: string;
396
+ };
513
397
  interface ThemeSelectorDropDownProps {
514
- themeCategory: ThemeCategory
515
- setThemeCategory: (category: ThemeCategory) => void
516
- primaryColor: string
517
- setPrimaryColor: (color: string) => void
518
- accentColor: string
519
- setAccentColor: (color: string) => void
520
- greyColor: string
521
- setGreyColor: (color: string) => void
522
- }
523
- type IFrameMap<V extends Variants = Variants> = Record<V, IFrameOptions>
398
+ themeCategory: ThemeCategory;
399
+ setThemeCategory: (category: ThemeCategory) => void;
400
+ primaryColor: string;
401
+ setPrimaryColor: (color: string) => void;
402
+ accentColor: string;
403
+ setAccentColor: (color: string) => void;
404
+ greyColor: string;
405
+ setGreyColor: (color: string) => void;
406
+ }
407
+ type IFrameMap<V extends Variants = Variants> = Record<V, IFrameOptions>;
524
408
  interface TypeSpecs {
525
- size: string
526
- lineHeight: string
527
- letterSpacing: string
409
+ size: string;
410
+ lineHeight: string;
411
+ letterSpacing: string;
528
412
  }
529
413
  interface HeadingTypeProps {
530
- trim: 'normal' | 'start' | 'end' | 'both'
531
- size: 1 | 2 | 3 | 4 | 5 | 6
532
- level: 1 | 2 | 3 | 4 | 5 | 6
533
- display: boolean
414
+ trim: 'normal' | 'start' | 'end' | 'both';
415
+ size: 1 | 2 | 3 | 4 | 5 | 6;
416
+ level: 1 | 2 | 3 | 4 | 5 | 6;
417
+ display: boolean;
534
418
  }
535
419
  interface TextTypeProps {
536
- trim: 'normal' | 'start' | 'end' | 'both'
537
- size: 1 | 2 | 3 | 4
538
- level: 1 | 2 | 3 | 4
539
- label: boolean
540
- }
541
- type TypeExampleProps =
542
- | {
543
- name: string
544
- specs: TypeSpecs
545
- typeProps: HeadingTypeProps
546
- }
547
- | {
548
- name: string
549
- specs: TypeSpecs
550
- typeProps: TextTypeProps
551
- }
552
- type FormStatus$1 = 'completed' | 'saved' | 'in-progress' | 'error' | 'not-started' | 'cannot-start'
553
-
554
- declare function BaseColorSwatches({
555
- baseColors,
556
- format,
557
- }: {
558
- baseColors: string[] | undefined
559
- format: Format
560
- }): react_jsx_runtime.JSX.Element
561
-
562
- declare function Breadcrumb({
563
- ...props
564
- }: React$1.ComponentProps<'nav'>): react_jsx_runtime.JSX.Element
565
- declare function BreadcrumbList({
566
- className,
567
- ...props
568
- }: React$1.ComponentProps<'ol'>): react_jsx_runtime.JSX.Element
569
- declare function BreadcrumbItem({
570
- className,
571
- ...props
572
- }: React$1.ComponentProps<'li'>): react_jsx_runtime.JSX.Element
573
- declare function BreadcrumbLink({
574
- asChild,
575
- className,
576
- ...props
577
- }: React$1.ComponentProps<'a'> & {
578
- asChild?: boolean
579
- }): react_jsx_runtime.JSX.Element
580
- declare function BreadcrumbPage({
581
- className,
582
- ...props
583
- }: React$1.ComponentProps<'span'>): react_jsx_runtime.JSX.Element
584
- declare function BreadcrumbSeparator({
585
- children,
586
- className,
587
- ...props
588
- }: React$1.ComponentProps<'li'>): react_jsx_runtime.JSX.Element
589
- declare function BreadcrumbEllipsis({
590
- className,
591
- ...props
592
- }: React$1.ComponentProps<'span'>): react_jsx_runtime.JSX.Element
593
-
594
- declare function Breadcrumbs({
595
- homeLabel,
596
- pathLabels,
597
- showHome,
598
- transformLabel,
599
- maxItems,
600
- forceShow,
601
- demoPath,
602
- }: BreadcrumbsProps): react_jsx_runtime.JSX.Element | null
603
-
604
- declare const Link: React__default.ForwardRefExoticComponent<
605
- {
606
- href: string | url.UrlObject
607
- as?: string | url.UrlObject
608
- replace?: boolean
609
- scroll?: boolean
610
- shallow?: boolean
611
- passHref?: boolean
612
- prefetch?: boolean | null
613
- locale?: string | false
614
- legacyBehavior?: boolean
615
- onMouseEnter?: React__default.MouseEventHandler<HTMLAnchorElement>
616
- onTouchStart?: React__default.TouchEventHandler<HTMLAnchorElement>
617
- onClick?: React__default.MouseEventHandler<HTMLAnchorElement>
618
- onNavigate?: (event: { preventDefault: () => void }) => void
619
- } & Omit<
620
- React__default.DetailedHTMLProps<
621
- React__default.AnchorHTMLAttributes<HTMLAnchorElement>,
622
- HTMLAnchorElement
623
- >,
624
- 'ref'
625
- > &
626
- React__default.RefAttributes<HTMLAnchorElement>
627
- >
628
-
629
- declare const buttonVariants: (
630
- props?:
631
- | ({
632
- variant?: 'solid' | 'soft' | 'surface' | 'outline' | 'ghost' | null | undefined
633
- color?:
634
- | 'primary/grey'
635
- | 'light'
636
- | 'primary/white'
637
- | 'white'
638
- | 'grey'
639
- | 'primary'
640
- | 'secondary'
641
- | 'tertiary'
642
- | 'accent'
643
- | 'danger'
644
- | null
645
- | undefined
646
- size?: 'default' | 'icon' | 'sm' | 'lg' | null | undefined
647
- } & class_variance_authority_types.ClassProp)
648
- | undefined,
649
- ) => string
420
+ trim: 'normal' | 'start' | 'end' | 'both';
421
+ size: 1 | 2 | 3 | 4;
422
+ level: 1 | 2 | 3 | 4;
423
+ label: boolean;
424
+ }
425
+ type TypeExampleProps = {
426
+ name: string;
427
+ specs: TypeSpecs;
428
+ typeProps: HeadingTypeProps;
429
+ } | {
430
+ name: string;
431
+ specs: TypeSpecs;
432
+ typeProps: TextTypeProps;
433
+ };
434
+ type FormStatus$1 = 'completed' | 'saved' | 'in-progress' | 'error' | 'not-started' | 'cannot-start';
435
+
436
+ declare function BaseColorSwatches({ baseColors, format, }: {
437
+ baseColors: string[] | undefined;
438
+ format: Format;
439
+ }): react_jsx_runtime.JSX.Element;
440
+
441
+ declare function Breadcrumb({ ...props }: React$1.ComponentProps<'nav'>): react_jsx_runtime.JSX.Element;
442
+ declare function BreadcrumbList({ className, ...props }: React$1.ComponentProps<'ol'>): react_jsx_runtime.JSX.Element;
443
+ declare function BreadcrumbItem({ className, ...props }: React$1.ComponentProps<'li'>): react_jsx_runtime.JSX.Element;
444
+ declare function BreadcrumbLink({ asChild, className, ...props }: React$1.ComponentProps<'a'> & {
445
+ asChild?: boolean;
446
+ }): react_jsx_runtime.JSX.Element;
447
+ declare function BreadcrumbPage({ className, ...props }: React$1.ComponentProps<'span'>): react_jsx_runtime.JSX.Element;
448
+ declare function BreadcrumbSeparator({ children, className, ...props }: React$1.ComponentProps<'li'>): react_jsx_runtime.JSX.Element;
449
+ declare function BreadcrumbEllipsis({ className, ...props }: React$1.ComponentProps<'span'>): react_jsx_runtime.JSX.Element;
450
+
451
+ declare function Breadcrumbs({ homeLabel, pathLabels, showHome, transformLabel, maxItems, forceShow, demoPath, }: BreadcrumbsProps): react_jsx_runtime.JSX.Element | null;
452
+
453
+ declare const Link: React__default.ForwardRefExoticComponent<{
454
+ href: string | url.UrlObject;
455
+ as?: string | url.UrlObject;
456
+ replace?: boolean;
457
+ scroll?: boolean;
458
+ shallow?: boolean;
459
+ passHref?: boolean;
460
+ prefetch?: boolean | null;
461
+ locale?: string | false;
462
+ legacyBehavior?: boolean;
463
+ onMouseEnter?: React__default.MouseEventHandler<HTMLAnchorElement>;
464
+ onTouchStart?: React__default.TouchEventHandler<HTMLAnchorElement>;
465
+ onClick?: React__default.MouseEventHandler<HTMLAnchorElement>;
466
+ onNavigate?: (event: {
467
+ preventDefault: () => void;
468
+ }) => void;
469
+ } & Omit<React__default.DetailedHTMLProps<React__default.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & React__default.RefAttributes<HTMLAnchorElement>>;
470
+
471
+ declare const buttonVariants: (props?: ({
472
+ variant?: "solid" | "soft" | "surface" | "outline" | "ghost" | null | undefined;
473
+ color?: "primary/grey" | "light" | "primary/white" | "white" | "grey" | "primary" | "secondary" | "tertiary" | "accent" | "danger" | null | undefined;
474
+ size?: "default" | "icon" | "sm" | "lg" | null | undefined;
475
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
650
476
  type ButtonProps = VariantProps<typeof buttonVariants> & {
651
- className?: string
652
- children: React__default.ReactNode
653
- } & (
654
- | Omit<Headless.ButtonProps, 'as' | 'className'>
655
- | Omit<React__default.ComponentPropsWithoutRef<typeof Link>, 'className'>
656
- )
657
- declare const Button: React__default.ForwardRefExoticComponent<
658
- ButtonProps & React__default.RefAttributes<HTMLElement>
659
- >
477
+ className?: string;
478
+ children: React__default.ReactNode;
479
+ } & (Omit<Headless.ButtonProps, 'as' | 'className'> | Omit<React__default.ComponentPropsWithoutRef<typeof Link>, 'className'>);
480
+ declare const Button: React__default.ForwardRefExoticComponent<ButtonProps & React__default.RefAttributes<HTMLElement>>;
660
481
  /**
661
482
  * Expand the hit area to at least 44×44px on touch devices
662
483
  */
663
- declare function TouchTarget({
664
- children,
665
- }: {
666
- children: React__default.ReactNode
667
- }): react_jsx_runtime.JSX.Element
668
-
669
- declare function Card({
670
- className,
671
- ...props
672
- }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element
673
- declare function CardHeader({
674
- className,
675
- ...props
676
- }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element
677
- declare function CardTitle({
678
- className,
679
- ...props
680
- }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element
681
- declare function CardDescription({
682
- className,
683
- ...props
684
- }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element
685
- declare function CardAction({
686
- className,
687
- ...props
688
- }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element
689
- declare function CardContent({
690
- className,
691
- ...props
692
- }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element
693
- declare function CardFooter({
694
- className,
695
- ...props
696
- }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element
697
-
698
- declare function Checkbox({
699
- className,
700
- ...props
701
- }: React$1.ComponentProps<typeof CheckboxPrimitive.Root>): react_jsx_runtime.JSX.Element
702
-
703
- declare function CodeDemo({ data, hide }: CodeDemoProps): react_jsx_runtime.JSX.Element
704
-
705
- declare function CodeHighlight({
706
- code,
707
- language,
708
- className,
709
- withCopy,
710
- ...props
711
- }: CodeHighlightProps): react_jsx_runtime.JSX.Element
712
-
713
- declare function Collapsible({
714
- ...props
715
- }: React.ComponentProps<typeof CollapsiblePrimitive.Root>): react_jsx_runtime.JSX.Element
716
- declare function CollapsibleTrigger({
717
- ...props
718
- }: React.ComponentProps<
719
- typeof CollapsiblePrimitive.CollapsibleTrigger
720
- >): react_jsx_runtime.JSX.Element
721
- declare function CollapsibleContent({
722
- ...props
723
- }: React.ComponentProps<
724
- typeof CollapsiblePrimitive.CollapsibleContent
725
- >): react_jsx_runtime.JSX.Element
726
-
727
- declare function ColorCard({
728
- name,
729
- token,
730
- hex,
731
- rgb,
732
- hsl,
733
- oklch,
734
- format,
735
- viewMode,
736
- }: ColorCardProps): react_jsx_runtime.JSX.Element
737
-
738
- declare function ColourScale({ colorsToUse }: ColourScaleProps): react_jsx_runtime.JSX.Element
739
-
740
- declare function ColorSwatches({
741
- theme,
742
- format,
743
- viewMode,
744
- }: ColorSwatchesProps): react_jsx_runtime.JSX.Element
745
-
746
- declare function Dialog({
747
- ...props
748
- }: React$1.ComponentProps<typeof DialogPrimitive.Root>): react_jsx_runtime.JSX.Element
749
- declare function DialogTrigger({
750
- ...props
751
- }: React$1.ComponentProps<typeof DialogPrimitive.Trigger>): react_jsx_runtime.JSX.Element
752
- declare function DialogPortal({
753
- ...props
754
- }: React$1.ComponentProps<typeof DialogPrimitive.Portal>): react_jsx_runtime.JSX.Element
755
- declare function DialogClose({
756
- ...props
757
- }: React$1.ComponentProps<typeof DialogPrimitive.Close>): react_jsx_runtime.JSX.Element
758
- declare function DialogOverlay({
759
- className,
760
- ...props
761
- }: React$1.ComponentProps<typeof DialogPrimitive.Overlay>): react_jsx_runtime.JSX.Element
762
- declare function DialogContent({
763
- className,
764
- children,
765
- ...props
766
- }: React$1.ComponentProps<typeof DialogPrimitive.Content>): react_jsx_runtime.JSX.Element
767
- declare function DialogHeader({
768
- className,
769
- ...props
770
- }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element
771
- declare function DialogFooter({
772
- className,
773
- ...props
774
- }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element
775
- declare function DialogTitle({
776
- className,
777
- ...props
778
- }: React$1.ComponentProps<typeof DialogPrimitive.Title>): react_jsx_runtime.JSX.Element
779
- declare function DialogDescription({
780
- className,
781
- ...props
782
- }: React$1.ComponentProps<typeof DialogPrimitive.Description>): react_jsx_runtime.JSX.Element
783
-
784
- declare function Command({
785
- className,
786
- ...props
787
- }: React$1.ComponentProps<typeof Command$1>): react_jsx_runtime.JSX.Element
788
- declare function CommandDialog({
789
- title,
790
- description,
791
- children,
792
- ...props
793
- }: React$1.ComponentProps<typeof Dialog> & {
794
- title?: string
795
- description?: string
796
- }): react_jsx_runtime.JSX.Element
797
- declare function CommandInput({
798
- className,
799
- ...props
800
- }: React$1.ComponentProps<typeof Command$1.Input>): react_jsx_runtime.JSX.Element
801
- declare function CommandList({
802
- className,
803
- ...props
804
- }: React$1.ComponentProps<typeof Command$1.List>): react_jsx_runtime.JSX.Element
805
- declare function CommandEmpty({
806
- ...props
807
- }: React$1.ComponentProps<typeof Command$1.Empty>): react_jsx_runtime.JSX.Element
808
- declare function CommandGroup({
809
- className,
810
- ...props
811
- }: React$1.ComponentProps<typeof Command$1.Group>): react_jsx_runtime.JSX.Element
812
- declare function CommandSeparator({
813
- className,
814
- ...props
815
- }: React$1.ComponentProps<typeof Command$1.Separator>): react_jsx_runtime.JSX.Element
816
- declare function CommandItem({
817
- className,
818
- ...props
819
- }: React$1.ComponentProps<typeof Command$1.Item>): react_jsx_runtime.JSX.Element
820
- declare function CommandShortcut({
821
- className,
822
- ...props
823
- }: React$1.ComponentProps<'span'>): react_jsx_runtime.JSX.Element
824
-
825
- declare function ContextMenu({
826
- ...props
827
- }: React$1.ComponentProps<typeof ContextMenuPrimitive.Root>): react_jsx_runtime.JSX.Element
828
- declare function ContextMenuTrigger({
829
- ...props
830
- }: React$1.ComponentProps<typeof ContextMenuPrimitive.Trigger>): react_jsx_runtime.JSX.Element
831
- declare function ContextMenuGroup({
832
- ...props
833
- }: React$1.ComponentProps<typeof ContextMenuPrimitive.Group>): react_jsx_runtime.JSX.Element
834
- declare function ContextMenuPortal({
835
- ...props
836
- }: React$1.ComponentProps<typeof ContextMenuPrimitive.Portal>): react_jsx_runtime.JSX.Element
837
- declare function ContextMenuSub({
838
- ...props
839
- }: React$1.ComponentProps<typeof ContextMenuPrimitive.Sub>): react_jsx_runtime.JSX.Element
840
- declare function ContextMenuRadioGroup({
841
- ...props
842
- }: React$1.ComponentProps<typeof ContextMenuPrimitive.RadioGroup>): react_jsx_runtime.JSX.Element
843
- declare function ContextMenuSubTrigger({
844
- className,
845
- inset,
846
- children,
847
- ...props
848
- }: React$1.ComponentProps<typeof ContextMenuPrimitive.SubTrigger> & {
849
- inset?: boolean
850
- }): react_jsx_runtime.JSX.Element
851
- declare function ContextMenuSubContent({
852
- className,
853
- ...props
854
- }: React$1.ComponentProps<typeof ContextMenuPrimitive.SubContent>): react_jsx_runtime.JSX.Element
855
- declare function ContextMenuContent({
856
- className,
857
- ...props
858
- }: React$1.ComponentProps<typeof ContextMenuPrimitive.Content>): react_jsx_runtime.JSX.Element
859
- declare function ContextMenuItem({
860
- className,
861
- inset,
862
- variant,
863
- ...props
864
- }: React$1.ComponentProps<typeof ContextMenuPrimitive.Item> & {
865
- inset?: boolean
866
- variant?: 'default' | 'destructive'
867
- }): react_jsx_runtime.JSX.Element
868
- declare function ContextMenuCheckboxItem({
869
- className,
870
- children,
871
- checked,
872
- ...props
873
- }: React$1.ComponentProps<typeof ContextMenuPrimitive.CheckboxItem>): react_jsx_runtime.JSX.Element
874
- declare function ContextMenuRadioItem({
875
- className,
876
- children,
877
- ...props
878
- }: React$1.ComponentProps<typeof ContextMenuPrimitive.RadioItem>): react_jsx_runtime.JSX.Element
879
- declare function ContextMenuLabel({
880
- className,
881
- inset,
882
- ...props
883
- }: React$1.ComponentProps<typeof ContextMenuPrimitive.Label> & {
884
- inset?: boolean
885
- }): react_jsx_runtime.JSX.Element
886
- declare function ContextMenuSeparator({
887
- className,
888
- ...props
889
- }: React$1.ComponentProps<typeof ContextMenuPrimitive.Separator>): react_jsx_runtime.JSX.Element
890
- declare function ContextMenuShortcut({
891
- className,
892
- ...props
893
- }: React$1.ComponentProps<'span'>): react_jsx_runtime.JSX.Element
894
-
895
- declare function Drawer({
896
- ...props
897
- }: React$1.ComponentProps<typeof Drawer$1.Root>): react_jsx_runtime.JSX.Element
898
- declare function DrawerTrigger({
899
- ...props
900
- }: React$1.ComponentProps<typeof Drawer$1.Trigger>): react_jsx_runtime.JSX.Element
901
- declare function DrawerPortal({
902
- ...props
903
- }: React$1.ComponentProps<typeof Drawer$1.Portal>): react_jsx_runtime.JSX.Element
904
- declare function DrawerClose({
905
- ...props
906
- }: React$1.ComponentProps<typeof Drawer$1.Close>): react_jsx_runtime.JSX.Element
907
- declare function DrawerOverlay({
908
- className,
909
- ...props
910
- }: React$1.ComponentProps<typeof Drawer$1.Overlay>): react_jsx_runtime.JSX.Element
911
- declare function DrawerContent({
912
- className,
913
- children,
914
- ...props
915
- }: React$1.ComponentProps<typeof Drawer$1.Content>): react_jsx_runtime.JSX.Element
916
- declare function DrawerHeader({
917
- className,
918
- ...props
919
- }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element
920
- declare function DrawerFooter({
921
- className,
922
- ...props
923
- }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element
924
- declare function DrawerTitle({
925
- className,
926
- ...props
927
- }: React$1.ComponentProps<typeof Drawer$1.Title>): react_jsx_runtime.JSX.Element
928
- declare function DrawerDescription({
929
- className,
930
- ...props
931
- }: React$1.ComponentProps<typeof Drawer$1.Description>): react_jsx_runtime.JSX.Element
932
-
933
- declare function DropdownMenu({
934
- ...props
935
- }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Root>): react_jsx_runtime.JSX.Element
936
- declare function DropdownMenuPortal({
937
- ...props
938
- }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Portal>): react_jsx_runtime.JSX.Element
939
- declare function DropdownMenuTrigger({
940
- ...props
941
- }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): react_jsx_runtime.JSX.Element
942
- declare function DropdownMenuContent({
943
- className,
944
- sideOffset,
945
- ...props
946
- }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Content>): react_jsx_runtime.JSX.Element
947
- declare function DropdownMenuGroup({
948
- ...props
949
- }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Group>): react_jsx_runtime.JSX.Element
950
- declare function DropdownMenuItem({
951
- className,
952
- inset,
953
- variant,
954
- ...props
955
- }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Item> & {
956
- inset?: boolean
957
- variant?: 'default' | 'destructive'
958
- }): react_jsx_runtime.JSX.Element
959
- declare function DropdownMenuCheckboxItem({
960
- className,
961
- children,
962
- checked,
963
- ...props
964
- }: React$1.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>): react_jsx_runtime.JSX.Element
965
- declare function DropdownMenuRadioGroup({
966
- ...props
967
- }: React$1.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>): react_jsx_runtime.JSX.Element
968
- declare function DropdownMenuRadioItem({
969
- className,
970
- children,
971
- ...props
972
- }: React$1.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>): react_jsx_runtime.JSX.Element
973
- declare function DropdownMenuLabel({
974
- className,
975
- inset,
976
- ...props
977
- }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
978
- inset?: boolean
979
- }): react_jsx_runtime.JSX.Element
980
- declare function DropdownMenuSeparator({
981
- className,
982
- ...props
983
- }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Separator>): react_jsx_runtime.JSX.Element
984
- declare function DropdownMenuShortcut({
985
- className,
986
- ...props
987
- }: React$1.ComponentProps<'span'>): react_jsx_runtime.JSX.Element
988
- declare function DropdownMenuSub({
989
- ...props
990
- }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Sub>): react_jsx_runtime.JSX.Element
991
- declare function DropdownMenuSubTrigger({
992
- className,
993
- inset,
994
- children,
995
- ...props
996
- }: React$1.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {
997
- inset?: boolean
998
- }): react_jsx_runtime.JSX.Element
999
- declare function DropdownMenuSubContent({
1000
- className,
1001
- ...props
1002
- }: React$1.ComponentProps<typeof DropdownMenuPrimitive.SubContent>): react_jsx_runtime.JSX.Element
484
+ declare function TouchTarget({ children }: {
485
+ children: React__default.ReactNode;
486
+ }): react_jsx_runtime.JSX.Element;
487
+
488
+ declare function Card({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
489
+ declare function CardHeader({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
490
+ declare function CardTitle({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
491
+ declare function CardDescription({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
492
+ declare function CardAction({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
493
+ declare function CardContent({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
494
+ declare function CardFooter({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
495
+
496
+ declare function Checkbox({ className, ...props }: React$1.ComponentProps<typeof CheckboxPrimitive.Root>): react_jsx_runtime.JSX.Element;
497
+
498
+ declare function CodeDemo({ data, hide }: CodeDemoProps): react_jsx_runtime.JSX.Element;
499
+
500
+ declare function CodeHighlight({ code, language, className, withCopy, ...props }: CodeHighlightProps): react_jsx_runtime.JSX.Element;
501
+
502
+ declare function Collapsible({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.Root>): react_jsx_runtime.JSX.Element;
503
+ declare function CollapsibleTrigger({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleTrigger>): react_jsx_runtime.JSX.Element;
504
+ declare function CollapsibleContent({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>): react_jsx_runtime.JSX.Element;
505
+
506
+ declare function ColorCard({ name, token, hex, rgb, hsl, oklch, format, viewMode }: ColorCardProps): react_jsx_runtime.JSX.Element;
507
+
508
+ declare function ColourScale({ colorsToUse }: ColourScaleProps): react_jsx_runtime.JSX.Element;
509
+
510
+ declare function ColorSwatches({ theme, format, viewMode }: ColorSwatchesProps): react_jsx_runtime.JSX.Element;
511
+
512
+ declare function Dialog({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Root>): react_jsx_runtime.JSX.Element;
513
+ declare function DialogTrigger({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
514
+ declare function DialogPortal({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Portal>): react_jsx_runtime.JSX.Element;
515
+ declare function DialogClose({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Close>): react_jsx_runtime.JSX.Element;
516
+ declare function DialogOverlay({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Overlay>): react_jsx_runtime.JSX.Element;
517
+ declare function DialogContent({ className, children, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Content>): react_jsx_runtime.JSX.Element;
518
+ declare function DialogHeader({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
519
+ declare function DialogFooter({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
520
+ declare function DialogTitle({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Title>): react_jsx_runtime.JSX.Element;
521
+ declare function DialogDescription({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Description>): react_jsx_runtime.JSX.Element;
522
+
523
+ declare function Command({ className, ...props }: React$1.ComponentProps<typeof Command$1>): react_jsx_runtime.JSX.Element;
524
+ declare function CommandDialog({ title, description, children, ...props }: React$1.ComponentProps<typeof Dialog> & {
525
+ title?: string;
526
+ description?: string;
527
+ }): react_jsx_runtime.JSX.Element;
528
+ declare function CommandInput({ className, ...props }: React$1.ComponentProps<typeof Command$1.Input>): react_jsx_runtime.JSX.Element;
529
+ declare function CommandList({ className, ...props }: React$1.ComponentProps<typeof Command$1.List>): react_jsx_runtime.JSX.Element;
530
+ declare function CommandEmpty({ ...props }: React$1.ComponentProps<typeof Command$1.Empty>): react_jsx_runtime.JSX.Element;
531
+ declare function CommandGroup({ className, ...props }: React$1.ComponentProps<typeof Command$1.Group>): react_jsx_runtime.JSX.Element;
532
+ declare function CommandSeparator({ className, ...props }: React$1.ComponentProps<typeof Command$1.Separator>): react_jsx_runtime.JSX.Element;
533
+ declare function CommandItem({ className, ...props }: React$1.ComponentProps<typeof Command$1.Item>): react_jsx_runtime.JSX.Element;
534
+ declare function CommandShortcut({ className, ...props }: React$1.ComponentProps<'span'>): react_jsx_runtime.JSX.Element;
535
+
536
+ declare function ContextMenu({ ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Root>): react_jsx_runtime.JSX.Element;
537
+ declare function ContextMenuTrigger({ ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
538
+ declare function ContextMenuGroup({ ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Group>): react_jsx_runtime.JSX.Element;
539
+ declare function ContextMenuPortal({ ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Portal>): react_jsx_runtime.JSX.Element;
540
+ declare function ContextMenuSub({ ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Sub>): react_jsx_runtime.JSX.Element;
541
+ declare function ContextMenuRadioGroup({ ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.RadioGroup>): react_jsx_runtime.JSX.Element;
542
+ declare function ContextMenuSubTrigger({ className, inset, children, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.SubTrigger> & {
543
+ inset?: boolean;
544
+ }): react_jsx_runtime.JSX.Element;
545
+ declare function ContextMenuSubContent({ className, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.SubContent>): react_jsx_runtime.JSX.Element;
546
+ declare function ContextMenuContent({ className, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Content>): react_jsx_runtime.JSX.Element;
547
+ declare function ContextMenuItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Item> & {
548
+ inset?: boolean;
549
+ variant?: 'default' | 'destructive';
550
+ }): react_jsx_runtime.JSX.Element;
551
+ declare function ContextMenuCheckboxItem({ className, children, checked, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.CheckboxItem>): react_jsx_runtime.JSX.Element;
552
+ declare function ContextMenuRadioItem({ className, children, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.RadioItem>): react_jsx_runtime.JSX.Element;
553
+ declare function ContextMenuLabel({ className, inset, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Label> & {
554
+ inset?: boolean;
555
+ }): react_jsx_runtime.JSX.Element;
556
+ declare function ContextMenuSeparator({ className, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Separator>): react_jsx_runtime.JSX.Element;
557
+ declare function ContextMenuShortcut({ className, ...props }: React$1.ComponentProps<'span'>): react_jsx_runtime.JSX.Element;
558
+
559
+ declare function Drawer({ ...props }: React$1.ComponentProps<typeof Drawer$1.Root>): react_jsx_runtime.JSX.Element;
560
+ declare function DrawerTrigger({ ...props }: React$1.ComponentProps<typeof Drawer$1.Trigger>): react_jsx_runtime.JSX.Element;
561
+ declare function DrawerPortal({ ...props }: React$1.ComponentProps<typeof Drawer$1.Portal>): react_jsx_runtime.JSX.Element;
562
+ declare function DrawerClose({ ...props }: React$1.ComponentProps<typeof Drawer$1.Close>): react_jsx_runtime.JSX.Element;
563
+ declare function DrawerOverlay({ className, ...props }: React$1.ComponentProps<typeof Drawer$1.Overlay>): react_jsx_runtime.JSX.Element;
564
+ declare function DrawerContent({ className, children, ...props }: React$1.ComponentProps<typeof Drawer$1.Content>): react_jsx_runtime.JSX.Element;
565
+ declare function DrawerHeader({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
566
+ declare function DrawerFooter({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
567
+ declare function DrawerTitle({ className, ...props }: React$1.ComponentProps<typeof Drawer$1.Title>): react_jsx_runtime.JSX.Element;
568
+ declare function DrawerDescription({ className, ...props }: React$1.ComponentProps<typeof Drawer$1.Description>): react_jsx_runtime.JSX.Element;
569
+
570
+ declare function DropdownMenu({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Root>): react_jsx_runtime.JSX.Element;
571
+ declare function DropdownMenuPortal({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Portal>): react_jsx_runtime.JSX.Element;
572
+ declare function DropdownMenuTrigger({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
573
+ declare function DropdownMenuContent({ className, sideOffset, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Content>): react_jsx_runtime.JSX.Element;
574
+ declare function DropdownMenuGroup({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Group>): react_jsx_runtime.JSX.Element;
575
+ declare function DropdownMenuItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Item> & {
576
+ inset?: boolean;
577
+ variant?: 'default' | 'destructive';
578
+ }): react_jsx_runtime.JSX.Element;
579
+ declare function DropdownMenuCheckboxItem({ className, children, checked, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>): react_jsx_runtime.JSX.Element;
580
+ declare function DropdownMenuRadioGroup({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>): react_jsx_runtime.JSX.Element;
581
+ declare function DropdownMenuRadioItem({ className, children, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>): react_jsx_runtime.JSX.Element;
582
+ declare function DropdownMenuLabel({ className, inset, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
583
+ inset?: boolean;
584
+ }): react_jsx_runtime.JSX.Element;
585
+ declare function DropdownMenuSeparator({ className, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Separator>): react_jsx_runtime.JSX.Element;
586
+ declare function DropdownMenuShortcut({ className, ...props }: React$1.ComponentProps<'span'>): react_jsx_runtime.JSX.Element;
587
+ declare function DropdownMenuSub({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Sub>): react_jsx_runtime.JSX.Element;
588
+ declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {
589
+ inset?: boolean;
590
+ }): react_jsx_runtime.JSX.Element;
591
+ declare function DropdownMenuSubContent({ className, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.SubContent>): react_jsx_runtime.JSX.Element;
1003
592
 
1004
593
  interface DynamicFaviconProps {
1005
- lightModeFavicon: string
1006
- darkModeFavicon: string
594
+ lightModeFavicon: string;
595
+ darkModeFavicon: string;
1007
596
  }
1008
- declare function DynamicFavicon({ lightModeFavicon, darkModeFavicon }: DynamicFaviconProps): null
1009
-
1010
- declare const ExpandableSearch: React$1.ForwardRefExoticComponent<
1011
- React$1.HTMLAttributes<HTMLFormElement> & {
1012
- onAction?: (value: string) => void
1013
- defaultValue?: string
1014
- } & React$1.RefAttributes<HTMLFormElement>
1015
- >
1016
- declare const ExpandableSearchField: React$1.ForwardRefExoticComponent<
1017
- React$1.InputHTMLAttributes<HTMLInputElement> & React$1.RefAttributes<HTMLInputElement>
1018
- >
1019
-
1020
- declare function FooterSocialLink({
1021
- href,
1022
- icon: Icon,
1023
- children,
1024
- }: {
1025
- href: string
1026
- icon: React.ComponentType<{
1027
- className?: string
1028
- }>
1029
- children: React.ReactNode
1030
- }): react_jsx_runtime.JSX.Element
1031
- declare function FooterAcknowledgement(): react_jsx_runtime.JSX.Element
1032
- declare function FooterSmallPrint({
1033
- socialLinks,
1034
- department,
1035
- }: {
1036
- socialLinks?: Array<{
1037
- name: string
1038
- href: string
1039
- icon: React.ComponentType<{
1040
- className?: string
1041
- }>
1042
- }>
1043
- department?: string
1044
- }): react_jsx_runtime.JSX.Element
1045
- declare function FooterLegalLinks({
1046
- legalLinks,
1047
- }: {
1048
- legalLinks: Array<{
1049
- name: string
1050
- href: string
1051
- }>
1052
- }): react_jsx_runtime.JSX.Element
1053
- declare function Footer({
1054
- legalLinks,
1055
- department,
1056
- socialLinks,
1057
- }: {
1058
- legalLinks: Array<{
1059
- name: string
1060
- href: string
1061
- }>
1062
- department?: string
1063
- socialLinks?: Array<{
1064
- name: string
1065
- href: string
597
+ declare function DynamicFavicon({ lightModeFavicon, darkModeFavicon }: DynamicFaviconProps): null;
598
+
599
+ declare const ExpandableSearch: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLFormElement> & {
600
+ onAction?: (value: string) => void;
601
+ defaultValue?: string;
602
+ } & React$1.RefAttributes<HTMLFormElement>>;
603
+ declare const ExpandableSearchField: React$1.ForwardRefExoticComponent<React$1.InputHTMLAttributes<HTMLInputElement> & React$1.RefAttributes<HTMLInputElement>>;
604
+
605
+ declare function FooterSocialLink({ href, icon: Icon, children, }: {
606
+ href: string;
1066
607
  icon: React.ComponentType<{
1067
- className?: string
1068
- }>
1069
- }>
1070
- }): react_jsx_runtime.JSX.Element
1071
-
1072
- declare const Form: <
1073
- TFieldValues extends FieldValues,
1074
- TContext = any,
1075
- TTransformedValues = TFieldValues,
1076
- >(
1077
- props: react_hook_form.FormProviderProps<TFieldValues, TContext, TTransformedValues>,
1078
- ) => React$1.JSX.Element
1079
- declare const FormField: <
1080
- TFieldValues extends FieldValues = FieldValues,
1081
- TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>,
1082
- >({
1083
- ...props
1084
- }: ControllerProps<TFieldValues, TName>) => react_jsx_runtime.JSX.Element
608
+ className?: string;
609
+ }>;
610
+ children: React.ReactNode;
611
+ }): react_jsx_runtime.JSX.Element;
612
+ declare function FooterAcknowledgement(): react_jsx_runtime.JSX.Element;
613
+ declare function FooterSmallPrint({ socialLinks, department, }: {
614
+ socialLinks?: Array<{
615
+ name: string;
616
+ href: string;
617
+ icon: React.ComponentType<{
618
+ className?: string;
619
+ }>;
620
+ }>;
621
+ department?: string;
622
+ }): react_jsx_runtime.JSX.Element;
623
+ declare function FooterLegalLinks({ legalLinks }: {
624
+ legalLinks: Array<{
625
+ name: string;
626
+ href: string;
627
+ }>;
628
+ }): react_jsx_runtime.JSX.Element;
629
+ declare function Footer({ legalLinks, department, socialLinks, }: {
630
+ legalLinks: Array<{
631
+ name: string;
632
+ href: string;
633
+ }>;
634
+ department?: string;
635
+ socialLinks?: Array<{
636
+ name: string;
637
+ href: string;
638
+ icon: React.ComponentType<{
639
+ className?: string;
640
+ }>;
641
+ }>;
642
+ }): react_jsx_runtime.JSX.Element;
643
+
644
+ declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: react_hook_form.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React$1.JSX.Element;
645
+ declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => react_jsx_runtime.JSX.Element;
1085
646
  declare const useFormField: () => {
1086
- invalid: boolean
1087
- isDirty: boolean
1088
- isTouched: boolean
1089
- isValidating: boolean
1090
- error?: react_hook_form.FieldError
1091
- id: string
1092
- name: string
1093
- formItemId: string
1094
- formDescriptionId: string
1095
- formMessageId: string
1096
- }
1097
- declare function FormItem({
1098
- className,
1099
- ...props
1100
- }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element
1101
- declare function FormLabel({
1102
- className,
1103
- ...props
1104
- }: React$1.ComponentProps<typeof LabelPrimitive.Root>): react_jsx_runtime.JSX.Element
1105
- declare function FormControl({
1106
- ...props
1107
- }: React$1.ComponentProps<typeof Slot>): react_jsx_runtime.JSX.Element
1108
- declare function FormDescription({
1109
- className,
1110
- ...props
1111
- }: React$1.ComponentProps<'p'>): react_jsx_runtime.JSX.Element
1112
- declare function FormMessage({
1113
- className,
1114
- ...props
1115
- }: React$1.ComponentProps<'p'>): react_jsx_runtime.JSX.Element | null
1116
-
1117
- declare function FormatToggle({
1118
- format,
1119
- setFormat,
1120
- }: FormatToggleProps): react_jsx_runtime.JSX.Element
1121
-
1122
- type BaseProps$1 = React.ComponentPropsWithoutRef<'h1'>
1123
- type HeadingProps =
1124
- | ({
1125
- display?: false
1126
- size?: 1 | 2 | 3 | 4 | 5 | 6
1127
- trim?: 'normal' | 'start' | 'end' | 'both'
1128
- level?: 1 | 2 | 3 | 4 | 5 | 6
1129
- } & BaseProps$1)
1130
- | ({
1131
- display: true
1132
- size?: 1 | 2 | 3 | 4
1133
- level?: 1 | 2 | 3 | 4 | 5 | 6
1134
- trim?: 'normal' | 'start' | 'end' | 'both'
1135
- } & BaseProps$1)
1136
- declare function Heading({
1137
- className,
1138
- trim,
1139
- size,
1140
- level,
1141
- display,
1142
- ...props
1143
- }: HeadingProps): react_jsx_runtime.JSX.Element
1144
-
1145
- declare function Header({
1146
- children,
1147
- sitename,
1148
- navigation,
1149
- version,
1150
- hide,
1151
- }: {
1152
- children?: React.ReactNode
1153
- sitename?: string
1154
- navigation: NavigationSection[]
1155
- version?: boolean
1156
- hide?: {
1157
- search?: boolean
1158
- themeSwitcher?: boolean
1159
- github?: boolean
1160
- shadow?: boolean
1161
- }
1162
- }): react_jsx_runtime.JSX.Element
647
+ invalid: boolean;
648
+ isDirty: boolean;
649
+ isTouched: boolean;
650
+ isValidating: boolean;
651
+ error?: react_hook_form.FieldError;
652
+ id: string;
653
+ name: string;
654
+ formItemId: string;
655
+ formDescriptionId: string;
656
+ formMessageId: string;
657
+ };
658
+ declare function FormItem({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
659
+ declare function FormLabel({ className, ...props }: React$1.ComponentProps<typeof LabelPrimitive.Root>): react_jsx_runtime.JSX.Element;
660
+ declare function FormControl({ ...props }: React$1.ComponentProps<typeof Slot>): react_jsx_runtime.JSX.Element;
661
+ declare function FormDescription({ className, ...props }: React$1.ComponentProps<'p'>): react_jsx_runtime.JSX.Element;
662
+ declare function FormMessage({ className, ...props }: React$1.ComponentProps<'p'>): react_jsx_runtime.JSX.Element | null;
663
+
664
+ declare function FormatToggle({ format, setFormat }: FormatToggleProps): react_jsx_runtime.JSX.Element;
665
+
666
+ type BaseProps$1 = React.ComponentPropsWithoutRef<'h1'>;
667
+ type HeadingProps = ({
668
+ display?: false;
669
+ size?: 1 | 2 | 3 | 4 | 5 | 6;
670
+ trim?: 'normal' | 'start' | 'end' | 'both';
671
+ level?: 1 | 2 | 3 | 4 | 5 | 6;
672
+ } & BaseProps$1) | ({
673
+ display: true;
674
+ size?: 1 | 2 | 3 | 4;
675
+ level?: 1 | 2 | 3 | 4 | 5 | 6;
676
+ trim?: 'normal' | 'start' | 'end' | 'both';
677
+ } & BaseProps$1);
678
+ declare function Heading({ className, trim, size, level, display, ...props }: HeadingProps): react_jsx_runtime.JSX.Element;
679
+
680
+ declare function Header({ children, sitename, navigation, version, hide, }: {
681
+ children?: React.ReactNode;
682
+ sitename?: string;
683
+ navigation: NavigationSection[];
684
+ version?: boolean;
685
+ hide?: {
686
+ search?: boolean;
687
+ themeSwitcher?: boolean;
688
+ github?: boolean;
689
+ shadow?: boolean;
690
+ };
691
+ }): react_jsx_runtime.JSX.Element;
1163
692
 
1164
693
  declare const Icons: {
1165
- account_circle: (props: IconProps) => react_jsx_runtime.JSX.Element
1166
- add: (props: IconProps) => react_jsx_runtime.JSX.Element
1167
- attach_file: (props: IconProps) => react_jsx_runtime.JSX.Element
1168
- calendar_month: (props: IconProps) => react_jsx_runtime.JSX.Element
1169
- calendar_today: (props: IconProps) => react_jsx_runtime.JSX.Element
1170
- cancel: (props: IconProps) => react_jsx_runtime.JSX.Element
1171
- check_circle: (props: IconProps) => react_jsx_runtime.JSX.Element
1172
- check: (props: IconProps) => react_jsx_runtime.JSX.Element
1173
- chevron_down: (props: IconProps) => react_jsx_runtime.JSX.Element
1174
- chevron_left: (props: IconProps) => react_jsx_runtime.JSX.Element
1175
- chevron_right: (props: IconProps) => react_jsx_runtime.JSX.Element
1176
- chevron_up: (props: IconProps) => react_jsx_runtime.JSX.Element
1177
- circle: (props: IconProps) => react_jsx_runtime.JSX.Element
1178
- close: (props: IconProps) => react_jsx_runtime.JSX.Element
1179
- collapse_all: (props: IconProps) => react_jsx_runtime.JSX.Element
1180
- computer: (props: IconProps) => react_jsx_runtime.JSX.Element
1181
- contrast: (props: IconProps) => react_jsx_runtime.JSX.Element
1182
- copy: (props: IconProps) => react_jsx_runtime.JSX.Element
1183
- dark_mode: (props: IconProps) => react_jsx_runtime.JSX.Element
1184
- delete: (props: IconProps) => react_jsx_runtime.JSX.Element
1185
- desktop: (props: IconProps) => react_jsx_runtime.JSX.Element
1186
- display_settings: (props: IconProps) => react_jsx_runtime.JSX.Element
1187
- dock_to_left: (props: IconProps) => react_jsx_runtime.JSX.Element
1188
- dock_to_right: (props: IconProps) => react_jsx_runtime.JSX.Element
1189
- double_arrow_left: (props: IconProps) => react_jsx_runtime.JSX.Element
1190
- double_arrow_right: (props: IconProps) => react_jsx_runtime.JSX.Element
1191
- download: (props: IconProps) => react_jsx_runtime.JSX.Element
1192
- drag_indicator: (props: IconProps) => react_jsx_runtime.JSX.Element
1193
- east: (props: IconProps) => react_jsx_runtime.JSX.Element
1194
- error: (props: IconProps) => react_jsx_runtime.JSX.Element
1195
- exclamation: (props: IconProps) => react_jsx_runtime.JSX.Element
1196
- eye: (props: IconProps) => react_jsx_runtime.JSX.Element
1197
- favorite: (props: IconProps) => react_jsx_runtime.JSX.Element
1198
- format_align_center: (props: IconProps) => react_jsx_runtime.JSX.Element
1199
- format_align_justify: (props: IconProps) => react_jsx_runtime.JSX.Element
1200
- format_align_left: (props: IconProps) => react_jsx_runtime.JSX.Element
1201
- format_align_right: (props: IconProps) => react_jsx_runtime.JSX.Element
1202
- format_bold: (props: IconProps) => react_jsx_runtime.JSX.Element
1203
- format_color_text: (props: IconProps) => react_jsx_runtime.JSX.Element
1204
- format_h1: (props: IconProps) => react_jsx_runtime.JSX.Element
1205
- format_h2: (props: IconProps) => react_jsx_runtime.JSX.Element
1206
- format_h3: (props: IconProps) => react_jsx_runtime.JSX.Element
1207
- format_h4: (props: IconProps) => react_jsx_runtime.JSX.Element
1208
- format_italic: (props: IconProps) => react_jsx_runtime.JSX.Element
1209
- format_list_bulleted: (props: IconProps) => react_jsx_runtime.JSX.Element
1210
- format_list_numbered: (props: IconProps) => react_jsx_runtime.JSX.Element
1211
- format_quote: (props: IconProps) => react_jsx_runtime.JSX.Element
1212
- format_size: (props: IconProps) => react_jsx_runtime.JSX.Element
1213
- format_underlined: (props: IconProps) => react_jsx_runtime.JSX.Element
1214
- grid_on: (props: IconProps) => react_jsx_runtime.JSX.Element
1215
- grid_view: (props: IconProps) => react_jsx_runtime.JSX.Element
1216
- help: (props: IconProps) => react_jsx_runtime.JSX.Element
1217
- info: (props: IconProps) => react_jsx_runtime.JSX.Element
1218
- language: (props: IconProps) => react_jsx_runtime.JSX.Element
1219
- laptop: (props: IconProps) => react_jsx_runtime.JSX.Element
1220
- light_mode: (props: IconProps) => react_jsx_runtime.JSX.Element
1221
- link: (props: IconProps) => react_jsx_runtime.JSX.Element
1222
- list: (props: IconProps) => react_jsx_runtime.JSX.Element
1223
- login: (props: IconProps) => react_jsx_runtime.JSX.Element
1224
- logout: (props: IconProps) => react_jsx_runtime.JSX.Element
1225
- mail: (props: IconProps) => react_jsx_runtime.JSX.Element
1226
- menu: (props: IconProps) => react_jsx_runtime.JSX.Element
1227
- more_horiz: (props: IconProps) => react_jsx_runtime.JSX.Element
1228
- more_vert: (props: IconProps) => react_jsx_runtime.JSX.Element
1229
- north: (props: IconProps) => react_jsx_runtime.JSX.Element
1230
- notifications: (props: IconProps) => react_jsx_runtime.JSX.Element
1231
- open_in_new: (props: IconProps) => react_jsx_runtime.JSX.Element
1232
- palette: (props: IconProps) => react_jsx_runtime.JSX.Element
1233
- person: (props: IconProps) => react_jsx_runtime.JSX.Element
1234
- print: (props: IconProps) => react_jsx_runtime.JSX.Element
1235
- progress_activity: (props: IconProps) => react_jsx_runtime.JSX.Element
1236
- remove: (props: IconProps) => react_jsx_runtime.JSX.Element
1237
- search: (props: IconProps) => react_jsx_runtime.JSX.Element
1238
- sentiment_dissatisfied: (props: IconProps) => react_jsx_runtime.JSX.Element
1239
- sentiment_neutral: (props: IconProps) => react_jsx_runtime.JSX.Element
1240
- sentiment_satisfied: (props: IconProps) => react_jsx_runtime.JSX.Element
1241
- sentiment_very_dissatisfied: (props: IconProps) => react_jsx_runtime.JSX.Element
1242
- sentiment_very_satisfied: (props: IconProps) => react_jsx_runtime.JSX.Element
1243
- settings_brightness: (props: IconProps) => react_jsx_runtime.JSX.Element
1244
- settings: (props: IconProps) => react_jsx_runtime.JSX.Element
1245
- share: (props: IconProps) => react_jsx_runtime.JSX.Element
1246
- side_navigation: (props: IconProps) => react_jsx_runtime.JSX.Element
1247
- smartphone: (props: IconProps) => react_jsx_runtime.JSX.Element
1248
- south: (props: IconProps) => react_jsx_runtime.JSX.Element
1249
- tablet: (props: IconProps) => react_jsx_runtime.JSX.Element
1250
- toc: (props: IconProps) => react_jsx_runtime.JSX.Element
1251
- unfold_less: (props: IconProps) => react_jsx_runtime.JSX.Element
1252
- unfold_more: (props: IconProps) => react_jsx_runtime.JSX.Element
1253
- upload: (props: IconProps) => react_jsx_runtime.JSX.Element
1254
- view_column: (props: IconProps) => react_jsx_runtime.JSX.Element
1255
- view_list: (props: IconProps) => react_jsx_runtime.JSX.Element
1256
- warning: (props: IconProps) => react_jsx_runtime.JSX.Element
1257
- west: (props: IconProps) => react_jsx_runtime.JSX.Element
1258
- }
1259
-
1260
- declare function Input({
1261
- className,
1262
- type,
1263
- ...props
1264
- }: React$1.ComponentProps<'input'>): react_jsx_runtime.JSX.Element
1265
-
1266
- declare function Label({
1267
- className,
1268
- ...props
1269
- }: React$1.ComponentProps<typeof LabelPrimitive.Root>): react_jsx_runtime.JSX.Element
694
+ account_circle: (props: IconProps) => react_jsx_runtime.JSX.Element;
695
+ add: (props: IconProps) => react_jsx_runtime.JSX.Element;
696
+ attach_file: (props: IconProps) => react_jsx_runtime.JSX.Element;
697
+ calendar_month: (props: IconProps) => react_jsx_runtime.JSX.Element;
698
+ calendar_today: (props: IconProps) => react_jsx_runtime.JSX.Element;
699
+ cancel: (props: IconProps) => react_jsx_runtime.JSX.Element;
700
+ check_circle: (props: IconProps) => react_jsx_runtime.JSX.Element;
701
+ check: (props: IconProps) => react_jsx_runtime.JSX.Element;
702
+ chevron_down: (props: IconProps) => react_jsx_runtime.JSX.Element;
703
+ chevron_left: (props: IconProps) => react_jsx_runtime.JSX.Element;
704
+ chevron_right: (props: IconProps) => react_jsx_runtime.JSX.Element;
705
+ chevron_up: (props: IconProps) => react_jsx_runtime.JSX.Element;
706
+ circle: (props: IconProps) => react_jsx_runtime.JSX.Element;
707
+ close: (props: IconProps) => react_jsx_runtime.JSX.Element;
708
+ collapse_all: (props: IconProps) => react_jsx_runtime.JSX.Element;
709
+ computer: (props: IconProps) => react_jsx_runtime.JSX.Element;
710
+ contrast: (props: IconProps) => react_jsx_runtime.JSX.Element;
711
+ copy: (props: IconProps) => react_jsx_runtime.JSX.Element;
712
+ dark_mode: (props: IconProps) => react_jsx_runtime.JSX.Element;
713
+ delete: (props: IconProps) => react_jsx_runtime.JSX.Element;
714
+ desktop: (props: IconProps) => react_jsx_runtime.JSX.Element;
715
+ display_settings: (props: IconProps) => react_jsx_runtime.JSX.Element;
716
+ dock_to_left: (props: IconProps) => react_jsx_runtime.JSX.Element;
717
+ dock_to_right: (props: IconProps) => react_jsx_runtime.JSX.Element;
718
+ double_arrow_left: (props: IconProps) => react_jsx_runtime.JSX.Element;
719
+ double_arrow_right: (props: IconProps) => react_jsx_runtime.JSX.Element;
720
+ download: (props: IconProps) => react_jsx_runtime.JSX.Element;
721
+ drag_indicator: (props: IconProps) => react_jsx_runtime.JSX.Element;
722
+ east: (props: IconProps) => react_jsx_runtime.JSX.Element;
723
+ error: (props: IconProps) => react_jsx_runtime.JSX.Element;
724
+ exclamation: (props: IconProps) => react_jsx_runtime.JSX.Element;
725
+ eye: (props: IconProps) => react_jsx_runtime.JSX.Element;
726
+ favorite: (props: IconProps) => react_jsx_runtime.JSX.Element;
727
+ format_align_center: (props: IconProps) => react_jsx_runtime.JSX.Element;
728
+ format_align_justify: (props: IconProps) => react_jsx_runtime.JSX.Element;
729
+ format_align_left: (props: IconProps) => react_jsx_runtime.JSX.Element;
730
+ format_align_right: (props: IconProps) => react_jsx_runtime.JSX.Element;
731
+ format_bold: (props: IconProps) => react_jsx_runtime.JSX.Element;
732
+ format_color_text: (props: IconProps) => react_jsx_runtime.JSX.Element;
733
+ format_h1: (props: IconProps) => react_jsx_runtime.JSX.Element;
734
+ format_h2: (props: IconProps) => react_jsx_runtime.JSX.Element;
735
+ format_h3: (props: IconProps) => react_jsx_runtime.JSX.Element;
736
+ format_h4: (props: IconProps) => react_jsx_runtime.JSX.Element;
737
+ format_italic: (props: IconProps) => react_jsx_runtime.JSX.Element;
738
+ format_list_bulleted: (props: IconProps) => react_jsx_runtime.JSX.Element;
739
+ format_list_numbered: (props: IconProps) => react_jsx_runtime.JSX.Element;
740
+ format_quote: (props: IconProps) => react_jsx_runtime.JSX.Element;
741
+ format_size: (props: IconProps) => react_jsx_runtime.JSX.Element;
742
+ format_underlined: (props: IconProps) => react_jsx_runtime.JSX.Element;
743
+ grid_on: (props: IconProps) => react_jsx_runtime.JSX.Element;
744
+ grid_view: (props: IconProps) => react_jsx_runtime.JSX.Element;
745
+ help: (props: IconProps) => react_jsx_runtime.JSX.Element;
746
+ info: (props: IconProps) => react_jsx_runtime.JSX.Element;
747
+ language: (props: IconProps) => react_jsx_runtime.JSX.Element;
748
+ laptop: (props: IconProps) => react_jsx_runtime.JSX.Element;
749
+ light_mode: (props: IconProps) => react_jsx_runtime.JSX.Element;
750
+ link: (props: IconProps) => react_jsx_runtime.JSX.Element;
751
+ list: (props: IconProps) => react_jsx_runtime.JSX.Element;
752
+ login: (props: IconProps) => react_jsx_runtime.JSX.Element;
753
+ logout: (props: IconProps) => react_jsx_runtime.JSX.Element;
754
+ mail: (props: IconProps) => react_jsx_runtime.JSX.Element;
755
+ menu: (props: IconProps) => react_jsx_runtime.JSX.Element;
756
+ more_horiz: (props: IconProps) => react_jsx_runtime.JSX.Element;
757
+ more_vert: (props: IconProps) => react_jsx_runtime.JSX.Element;
758
+ north: (props: IconProps) => react_jsx_runtime.JSX.Element;
759
+ notifications: (props: IconProps) => react_jsx_runtime.JSX.Element;
760
+ open_in_new: (props: IconProps) => react_jsx_runtime.JSX.Element;
761
+ palette: (props: IconProps) => react_jsx_runtime.JSX.Element;
762
+ person: (props: IconProps) => react_jsx_runtime.JSX.Element;
763
+ print: (props: IconProps) => react_jsx_runtime.JSX.Element;
764
+ progress_activity: (props: IconProps) => react_jsx_runtime.JSX.Element;
765
+ remove: (props: IconProps) => react_jsx_runtime.JSX.Element;
766
+ search: (props: IconProps) => react_jsx_runtime.JSX.Element;
767
+ sentiment_dissatisfied: (props: IconProps) => react_jsx_runtime.JSX.Element;
768
+ sentiment_neutral: (props: IconProps) => react_jsx_runtime.JSX.Element;
769
+ sentiment_satisfied: (props: IconProps) => react_jsx_runtime.JSX.Element;
770
+ sentiment_very_dissatisfied: (props: IconProps) => react_jsx_runtime.JSX.Element;
771
+ sentiment_very_satisfied: (props: IconProps) => react_jsx_runtime.JSX.Element;
772
+ settings_brightness: (props: IconProps) => react_jsx_runtime.JSX.Element;
773
+ settings: (props: IconProps) => react_jsx_runtime.JSX.Element;
774
+ share: (props: IconProps) => react_jsx_runtime.JSX.Element;
775
+ side_navigation: (props: IconProps) => react_jsx_runtime.JSX.Element;
776
+ smartphone: (props: IconProps) => react_jsx_runtime.JSX.Element;
777
+ south: (props: IconProps) => react_jsx_runtime.JSX.Element;
778
+ tablet: (props: IconProps) => react_jsx_runtime.JSX.Element;
779
+ toc: (props: IconProps) => react_jsx_runtime.JSX.Element;
780
+ unfold_less: (props: IconProps) => react_jsx_runtime.JSX.Element;
781
+ unfold_more: (props: IconProps) => react_jsx_runtime.JSX.Element;
782
+ upload: (props: IconProps) => react_jsx_runtime.JSX.Element;
783
+ view_column: (props: IconProps) => react_jsx_runtime.JSX.Element;
784
+ view_list: (props: IconProps) => react_jsx_runtime.JSX.Element;
785
+ warning: (props: IconProps) => react_jsx_runtime.JSX.Element;
786
+ west: (props: IconProps) => react_jsx_runtime.JSX.Element;
787
+ };
788
+
789
+ declare function Input({ className, type, ...props }: React$1.ComponentProps<'input'>): react_jsx_runtime.JSX.Element;
790
+
791
+ declare function Label({ className, ...props }: React$1.ComponentProps<typeof LabelPrimitive.Root>): react_jsx_runtime.JSX.Element;
1270
792
 
1271
793
  interface ListProps extends React$1.HTMLAttributes<HTMLElement> {
1272
- asChild?: boolean
1273
- variant?: 'disc' | 'decimal' | 'icon' | 'none'
1274
- size?: 'sm' | 'md' | 'lg'
1275
- gap?: 'sm' | 'md' | 'lg'
1276
- }
1277
- type ListComponent = React$1.ForwardRefExoticComponent<
1278
- ListProps & React$1.RefAttributes<HTMLUListElement>
1279
- > & {
1280
- Item: typeof ListItem
1281
- }
794
+ asChild?: boolean;
795
+ variant?: 'disc' | 'decimal' | 'icon' | 'none';
796
+ size?: 'sm' | 'md' | 'lg';
797
+ gap?: 'sm' | 'md' | 'lg';
798
+ }
799
+ type ListComponent = React$1.ForwardRefExoticComponent<ListProps & React$1.RefAttributes<HTMLUListElement>> & {
800
+ Item: typeof ListItem;
801
+ };
1282
802
  interface ListItemProps extends React$1.LiHTMLAttributes<HTMLLIElement> {
1283
- icon?: React$1.ReactNode
1284
- }
1285
- declare const ListItem: React$1.ForwardRefExoticComponent<
1286
- ListItemProps & React$1.RefAttributes<HTMLLIElement>
1287
- >
1288
- declare const _List: ListComponent
1289
-
1290
- declare function Logo(props: React.ComponentPropsWithoutRef<'svg'>): react_jsx_runtime.JSX.Element
1291
-
1292
- declare function Masthead(): react_jsx_runtime.JSX.Element
1293
-
1294
- declare function Menubar({
1295
- className,
1296
- ...props
1297
- }: React$1.ComponentProps<typeof MenubarPrimitive.Root>): react_jsx_runtime.JSX.Element
1298
- declare function MenubarMenu({
1299
- ...props
1300
- }: React$1.ComponentProps<typeof MenubarPrimitive.Menu>): react_jsx_runtime.JSX.Element
1301
- declare function MenubarGroup({
1302
- ...props
1303
- }: React$1.ComponentProps<typeof MenubarPrimitive.Group>): react_jsx_runtime.JSX.Element
1304
- declare function MenubarPortal({
1305
- ...props
1306
- }: React$1.ComponentProps<typeof MenubarPrimitive.Portal>): react_jsx_runtime.JSX.Element
1307
- declare function MenubarRadioGroup({
1308
- ...props
1309
- }: React$1.ComponentProps<typeof MenubarPrimitive.RadioGroup>): react_jsx_runtime.JSX.Element
1310
- declare function MenubarTrigger({
1311
- className,
1312
- ...props
1313
- }: React$1.ComponentProps<typeof MenubarPrimitive.Trigger>): react_jsx_runtime.JSX.Element
1314
- declare function MenubarContent({
1315
- className,
1316
- align,
1317
- alignOffset,
1318
- sideOffset,
1319
- ...props
1320
- }: React$1.ComponentProps<typeof MenubarPrimitive.Content>): react_jsx_runtime.JSX.Element
1321
- declare function MenubarItem({
1322
- className,
1323
- inset,
1324
- variant,
1325
- ...props
1326
- }: React$1.ComponentProps<typeof MenubarPrimitive.Item> & {
1327
- inset?: boolean
1328
- variant?: 'default' | 'destructive'
1329
- }): react_jsx_runtime.JSX.Element
1330
- declare function MenubarCheckboxItem({
1331
- className,
1332
- children,
1333
- checked,
1334
- ...props
1335
- }: React$1.ComponentProps<typeof MenubarPrimitive.CheckboxItem>): react_jsx_runtime.JSX.Element
1336
- declare function MenubarRadioItem({
1337
- className,
1338
- children,
1339
- ...props
1340
- }: React$1.ComponentProps<typeof MenubarPrimitive.RadioItem>): react_jsx_runtime.JSX.Element
1341
- declare function MenubarLabel({
1342
- className,
1343
- inset,
1344
- ...props
1345
- }: React$1.ComponentProps<typeof MenubarPrimitive.Label> & {
1346
- inset?: boolean
1347
- }): react_jsx_runtime.JSX.Element
1348
- declare function MenubarSeparator({
1349
- className,
1350
- ...props
1351
- }: React$1.ComponentProps<typeof MenubarPrimitive.Separator>): react_jsx_runtime.JSX.Element
1352
- declare function MenubarShortcut({
1353
- className,
1354
- ...props
1355
- }: React$1.ComponentProps<'span'>): react_jsx_runtime.JSX.Element
1356
- declare function MenubarSub({
1357
- ...props
1358
- }: React$1.ComponentProps<typeof MenubarPrimitive.Sub>): react_jsx_runtime.JSX.Element
1359
- declare function MenubarSubTrigger({
1360
- className,
1361
- inset,
1362
- children,
1363
- ...props
1364
- }: React$1.ComponentProps<typeof MenubarPrimitive.SubTrigger> & {
1365
- inset?: boolean
1366
- }): react_jsx_runtime.JSX.Element
1367
- declare function MenubarSubContent({
1368
- className,
1369
- ...props
1370
- }: React$1.ComponentProps<typeof MenubarPrimitive.SubContent>): react_jsx_runtime.JSX.Element
803
+ icon?: React$1.ReactNode;
804
+ }
805
+ declare const ListItem: React$1.ForwardRefExoticComponent<ListItemProps & React$1.RefAttributes<HTMLLIElement>>;
806
+ declare const _List: ListComponent;
807
+
808
+ declare function Logo(props: React.ComponentPropsWithoutRef<'svg'>): react_jsx_runtime.JSX.Element;
809
+
810
+ declare function Masthead(): react_jsx_runtime.JSX.Element;
811
+
812
+ declare function Menubar({ className, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Root>): react_jsx_runtime.JSX.Element;
813
+ declare function MenubarMenu({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Menu>): react_jsx_runtime.JSX.Element;
814
+ declare function MenubarGroup({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Group>): react_jsx_runtime.JSX.Element;
815
+ declare function MenubarPortal({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Portal>): react_jsx_runtime.JSX.Element;
816
+ declare function MenubarRadioGroup({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.RadioGroup>): react_jsx_runtime.JSX.Element;
817
+ declare function MenubarTrigger({ className, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
818
+ declare function MenubarContent({ className, align, alignOffset, sideOffset, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Content>): react_jsx_runtime.JSX.Element;
819
+ declare function MenubarItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Item> & {
820
+ inset?: boolean;
821
+ variant?: 'default' | 'destructive';
822
+ }): react_jsx_runtime.JSX.Element;
823
+ declare function MenubarCheckboxItem({ className, children, checked, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.CheckboxItem>): react_jsx_runtime.JSX.Element;
824
+ declare function MenubarRadioItem({ className, children, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.RadioItem>): react_jsx_runtime.JSX.Element;
825
+ declare function MenubarLabel({ className, inset, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Label> & {
826
+ inset?: boolean;
827
+ }): react_jsx_runtime.JSX.Element;
828
+ declare function MenubarSeparator({ className, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Separator>): react_jsx_runtime.JSX.Element;
829
+ declare function MenubarShortcut({ className, ...props }: React$1.ComponentProps<'span'>): react_jsx_runtime.JSX.Element;
830
+ declare function MenubarSub({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Sub>): react_jsx_runtime.JSX.Element;
831
+ declare function MenubarSubTrigger({ className, inset, children, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.SubTrigger> & {
832
+ inset?: boolean;
833
+ }): react_jsx_runtime.JSX.Element;
834
+ declare function MenubarSubContent({ className, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.SubContent>): react_jsx_runtime.JSX.Element;
1371
835
 
1372
836
  interface NavigationProps {
1373
- navigation: NavigationSection[]
1374
- }
1375
- declare function MainNavigation({ navigation }: NavigationProps): react_jsx_runtime.JSX.Element
1376
- declare function TopLevel({ title, href }: Link$1): react_jsx_runtime.JSX.Element
1377
- declare function MegaMenu({ title, href, links }: Link$1): react_jsx_runtime.JSX.Element
1378
-
1379
- declare function Navigation({
1380
- className,
1381
- onLinkClick,
1382
- navigation,
1383
- }: {
1384
- className?: string
1385
- onLinkClick?: React__default.MouseEventHandler<HTMLAnchorElement>
1386
- navigation: NavigationSection[]
1387
- }): react_jsx_runtime.JSX.Element
1388
-
1389
- declare function NavigationMenu({
1390
- className,
1391
- children,
1392
- viewport,
1393
- ...props
1394
- }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Root> & {
1395
- viewport?: boolean
1396
- }): react_jsx_runtime.JSX.Element
1397
- declare function NavigationMenuList({
1398
- className,
1399
- ...props
1400
- }: React$1.ComponentProps<typeof NavigationMenuPrimitive.List>): react_jsx_runtime.JSX.Element
1401
- declare function NavigationMenuItem({
1402
- className,
1403
- ...props
1404
- }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Item>): react_jsx_runtime.JSX.Element
1405
- declare const navigationMenuTriggerStyle: (
1406
- props?: class_variance_authority_types.ClassProp | undefined,
1407
- ) => string
1408
- declare function NavigationMenuTrigger({
1409
- className,
1410
- children,
1411
- ...props
1412
- }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Trigger>): react_jsx_runtime.JSX.Element
1413
- declare function NavigationMenuContent({
1414
- className,
1415
- ...props
1416
- }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Content>): react_jsx_runtime.JSX.Element
1417
- declare function NavigationMenuViewport({
1418
- className,
1419
- ...props
1420
- }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Viewport>): react_jsx_runtime.JSX.Element
1421
- declare function NavigationMenuLink({
1422
- className,
1423
- ...props
1424
- }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Link>): react_jsx_runtime.JSX.Element
1425
- declare function NavigationMenuIndicator({
1426
- className,
1427
- ...props
1428
- }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Indicator>): react_jsx_runtime.JSX.Element
1429
-
1430
- declare function Pagination({
1431
- className,
1432
- ...props
1433
- }: React$1.ComponentProps<'nav'>): react_jsx_runtime.JSX.Element
1434
- declare function PaginationContent({
1435
- className,
1436
- ...props
1437
- }: React$1.ComponentProps<'ul'>): react_jsx_runtime.JSX.Element
1438
- declare function PaginationItem({
1439
- ...props
1440
- }: React$1.ComponentProps<'li'>): react_jsx_runtime.JSX.Element
837
+ navigation: NavigationSection[];
838
+ }
839
+ declare function MainNavigation({ navigation }: NavigationProps): react_jsx_runtime.JSX.Element;
840
+ declare function TopLevel({ title, href }: Link$1): react_jsx_runtime.JSX.Element;
841
+ declare function MegaMenu({ title, href, links }: Link$1): react_jsx_runtime.JSX.Element;
842
+
843
+ declare function Navigation({ className, onLinkClick, navigation, }: {
844
+ className?: string;
845
+ onLinkClick?: React__default.MouseEventHandler<HTMLAnchorElement>;
846
+ navigation: NavigationSection[];
847
+ }): react_jsx_runtime.JSX.Element;
848
+
849
+ declare function NavigationMenu({ className, children, viewport, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Root> & {
850
+ viewport?: boolean;
851
+ }): react_jsx_runtime.JSX.Element;
852
+ declare function NavigationMenuList({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.List>): react_jsx_runtime.JSX.Element;
853
+ declare function NavigationMenuItem({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Item>): react_jsx_runtime.JSX.Element;
854
+ declare const navigationMenuTriggerStyle: (props?: class_variance_authority_types.ClassProp | undefined) => string;
855
+ declare function NavigationMenuTrigger({ className, children, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
856
+ declare function NavigationMenuContent({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Content>): react_jsx_runtime.JSX.Element;
857
+ declare function NavigationMenuViewport({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Viewport>): react_jsx_runtime.JSX.Element;
858
+ declare function NavigationMenuLink({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Link>): react_jsx_runtime.JSX.Element;
859
+ declare function NavigationMenuIndicator({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Indicator>): react_jsx_runtime.JSX.Element;
860
+
861
+ declare function Pagination({ className, ...props }: React$1.ComponentProps<'nav'>): react_jsx_runtime.JSX.Element;
862
+ declare function PaginationContent({ className, ...props }: React$1.ComponentProps<'ul'>): react_jsx_runtime.JSX.Element;
863
+ declare function PaginationItem({ ...props }: React$1.ComponentProps<'li'>): react_jsx_runtime.JSX.Element;
1441
864
  type PaginationLinkProps = {
1442
- isActive?: boolean
1443
- } & Pick<React$1.ComponentProps<typeof Button>, 'size'> &
1444
- React$1.ComponentProps<'a'>
1445
- declare function PaginationLink({
1446
- className,
1447
- isActive,
1448
- size,
1449
- ...props
1450
- }: PaginationLinkProps): react_jsx_runtime.JSX.Element
1451
- declare function PaginationPrevious({
1452
- className,
1453
- ...props
1454
- }: React$1.ComponentProps<typeof PaginationLink>): react_jsx_runtime.JSX.Element
1455
- declare function PaginationNext({
1456
- className,
1457
- ...props
1458
- }: React$1.ComponentProps<typeof PaginationLink>): react_jsx_runtime.JSX.Element
1459
- declare function PaginationEllipsis({
1460
- className,
1461
- ...props
1462
- }: React$1.ComponentProps<'span'>): react_jsx_runtime.JSX.Element
1463
-
1464
- declare function Popover({
1465
- ...props
1466
- }: React$1.ComponentProps<typeof PopoverPrimitive.Root>): react_jsx_runtime.JSX.Element
1467
- declare function PopoverTrigger({
1468
- ...props
1469
- }: React$1.ComponentProps<typeof PopoverPrimitive.Trigger>): react_jsx_runtime.JSX.Element
1470
- declare function PopoverContent({
1471
- className,
1472
- align,
1473
- sideOffset,
1474
- ...props
1475
- }: React$1.ComponentProps<typeof PopoverPrimitive.Content>): react_jsx_runtime.JSX.Element
1476
- declare function PopoverAnchor({
1477
- ...props
1478
- }: React$1.ComponentProps<typeof PopoverPrimitive.Anchor>): react_jsx_runtime.JSX.Element
1479
-
1480
- declare function PrevNextLinksPageLink({
1481
- title,
1482
- href,
1483
- dir,
1484
- ...props
1485
- }: Omit<React.ComponentPropsWithoutRef<'div'>, 'dir' | 'title'> & {
1486
- title: string
1487
- href: string
1488
- dir?: 'previous' | 'next'
1489
- }): react_jsx_runtime.JSX.Element
1490
- declare function PrevNextLinks({
1491
- navigation,
1492
- }: PrevNextLinksProps): react_jsx_runtime.JSX.Element | null
1493
-
1494
- declare function PreWithCopy(
1495
- props: React.HTMLAttributes<HTMLPreElement>,
1496
- ): react_jsx_runtime.JSX.Element
1497
-
1498
- declare function Progress({
1499
- className,
1500
- value,
1501
- ...props
1502
- }: React$1.ComponentProps<typeof ProgressPrimitive.Root>): react_jsx_runtime.JSX.Element
1503
-
1504
- declare function RadioGroup({
1505
- className,
1506
- ...props
1507
- }: React$1.ComponentProps<typeof RadioGroupPrimitive.Root>): react_jsx_runtime.JSX.Element
1508
- declare function RadioGroupItem({
1509
- className,
1510
- ...props
1511
- }: React$1.ComponentProps<typeof RadioGroupPrimitive.Item>): react_jsx_runtime.JSX.Element
1512
-
1513
- declare function ResizablePanelGroup({
1514
- className,
1515
- ...props
1516
- }: React$1.ComponentProps<typeof ResizablePrimitive.PanelGroup>): react_jsx_runtime.JSX.Element
1517
- declare function ResizablePanel({
1518
- ...props
1519
- }: React$1.ComponentProps<typeof ResizablePrimitive.Panel>): react_jsx_runtime.JSX.Element
1520
- declare function ResizableHandle({
1521
- withHandle,
1522
- className,
1523
- ...props
1524
- }: React$1.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {
1525
- withHandle?: boolean
1526
- }): react_jsx_runtime.JSX.Element
1527
-
1528
- declare function ScrollArea({
1529
- className,
1530
- children,
1531
- ...props
1532
- }: React$1.ComponentProps<typeof ScrollAreaPrimitive.Root>): react_jsx_runtime.JSX.Element
1533
- declare function ScrollBar({
1534
- className,
1535
- orientation,
1536
- ...props
1537
- }: React$1.ComponentProps<
1538
- typeof ScrollAreaPrimitive.ScrollAreaScrollbar
1539
- >): react_jsx_runtime.JSX.Element
1540
-
1541
- declare function Select({
1542
- ...props
1543
- }: React$1.ComponentProps<typeof SelectPrimitive.Root>): react_jsx_runtime.JSX.Element
1544
- declare function SelectGroup({
1545
- ...props
1546
- }: React$1.ComponentProps<typeof SelectPrimitive.Group>): react_jsx_runtime.JSX.Element
1547
- declare function SelectValue({
1548
- ...props
1549
- }: React$1.ComponentProps<typeof SelectPrimitive.Value>): react_jsx_runtime.JSX.Element
1550
- declare function SelectTrigger({
1551
- className,
1552
- size,
1553
- children,
1554
- ...props
1555
- }: React$1.ComponentProps<typeof SelectPrimitive.Trigger> & {
1556
- size?: 'sm' | 'default'
1557
- }): react_jsx_runtime.JSX.Element
1558
- declare function SelectContent({
1559
- className,
1560
- children,
1561
- position,
1562
- ...props
1563
- }: React$1.ComponentProps<typeof SelectPrimitive.Content>): react_jsx_runtime.JSX.Element
1564
- declare function SelectLabel({
1565
- className,
1566
- ...props
1567
- }: React$1.ComponentProps<typeof SelectPrimitive.Label>): react_jsx_runtime.JSX.Element
1568
- declare function SelectItem({
1569
- className,
1570
- children,
1571
- ...props
1572
- }: React$1.ComponentProps<typeof SelectPrimitive.Item>): react_jsx_runtime.JSX.Element
1573
- declare function SelectSeparator({
1574
- className,
1575
- ...props
1576
- }: React$1.ComponentProps<typeof SelectPrimitive.Separator>): react_jsx_runtime.JSX.Element
1577
- declare function SelectScrollUpButton({
1578
- className,
1579
- ...props
1580
- }: React$1.ComponentProps<typeof SelectPrimitive.ScrollUpButton>): react_jsx_runtime.JSX.Element
1581
- declare function SelectScrollDownButton({
1582
- className,
1583
- ...props
1584
- }: React$1.ComponentProps<typeof SelectPrimitive.ScrollDownButton>): react_jsx_runtime.JSX.Element
1585
-
1586
- declare function Separator({
1587
- className,
1588
- orientation,
1589
- decorative,
1590
- ...props
1591
- }: React$1.ComponentProps<typeof SeparatorPrimitive.Root>): react_jsx_runtime.JSX.Element
1592
-
1593
- declare function Sheet({
1594
- ...props
1595
- }: React$1.ComponentProps<typeof DialogPrimitive.Root>): react_jsx_runtime.JSX.Element
1596
- declare function SheetTrigger({
1597
- ...props
1598
- }: React$1.ComponentProps<typeof DialogPrimitive.Trigger>): react_jsx_runtime.JSX.Element
1599
- declare function SheetClose({
1600
- ...props
1601
- }: React$1.ComponentProps<typeof DialogPrimitive.Close>): react_jsx_runtime.JSX.Element
1602
- declare function SheetContent({
1603
- className,
1604
- children,
1605
- side,
1606
- ...props
1607
- }: React$1.ComponentProps<typeof DialogPrimitive.Content> & {
1608
- side?: 'top' | 'right' | 'bottom' | 'left'
1609
- }): react_jsx_runtime.JSX.Element
1610
- declare function SheetHeader({
1611
- className,
1612
- ...props
1613
- }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element
1614
- declare function SheetFooter({
1615
- className,
1616
- ...props
1617
- }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element
1618
- declare function SheetTitle({
1619
- className,
1620
- ...props
1621
- }: React$1.ComponentProps<typeof DialogPrimitive.Title>): react_jsx_runtime.JSX.Element
1622
- declare function SheetDescription({
1623
- className,
1624
- ...props
1625
- }: React$1.ComponentProps<typeof DialogPrimitive.Description>): react_jsx_runtime.JSX.Element
1626
-
1627
- declare function SidebarNavigation({
1628
- className,
1629
- onLinkClick,
1630
- navigation,
1631
- }: {
1632
- className?: string
1633
- onLinkClick?: React$1.MouseEventHandler<HTMLAnchorElement>
1634
- navigation: NavigationSection[]
1635
- }): react_jsx_runtime.JSX.Element
1636
- declare function SidebarLink({
1637
- link,
1638
- pathname,
1639
- onLinkClick,
1640
- depth,
1641
- }: SidebarLinkProps): react_jsx_runtime.JSX.Element
1642
-
1643
- type FormStatus = 'completed' | 'saved' | 'in-progress' | 'error' | 'not-started' | 'cannot-start'
865
+ isActive?: boolean;
866
+ } & Pick<React$1.ComponentProps<typeof Button>, 'size'> & React$1.ComponentProps<'a'>;
867
+ declare function PaginationLink({ className, isActive, size, ...props }: PaginationLinkProps): react_jsx_runtime.JSX.Element;
868
+ declare function PaginationPrevious({ className, ...props }: React$1.ComponentProps<typeof PaginationLink>): react_jsx_runtime.JSX.Element;
869
+ declare function PaginationNext({ className, ...props }: React$1.ComponentProps<typeof PaginationLink>): react_jsx_runtime.JSX.Element;
870
+ declare function PaginationEllipsis({ className, ...props }: React$1.ComponentProps<'span'>): react_jsx_runtime.JSX.Element;
871
+
872
+ declare function Popover({ ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Root>): react_jsx_runtime.JSX.Element;
873
+ declare function PopoverTrigger({ ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
874
+ declare function PopoverContent({ className, align, sideOffset, ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Content>): react_jsx_runtime.JSX.Element;
875
+ declare function PopoverAnchor({ ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Anchor>): react_jsx_runtime.JSX.Element;
876
+
877
+ declare function PrevNextLinksPageLink({ title, href, dir, ...props }: Omit<React.ComponentPropsWithoutRef<'div'>, 'dir' | 'title'> & {
878
+ title: string;
879
+ href: string;
880
+ dir?: 'previous' | 'next';
881
+ }): react_jsx_runtime.JSX.Element;
882
+ declare function PrevNextLinks({ navigation }: PrevNextLinksProps): react_jsx_runtime.JSX.Element | null;
883
+
884
+ declare function PreWithCopy(props: React.HTMLAttributes<HTMLPreElement>): react_jsx_runtime.JSX.Element;
885
+
886
+ declare function Progress({ className, value, ...props }: React$1.ComponentProps<typeof ProgressPrimitive.Root>): react_jsx_runtime.JSX.Element;
887
+
888
+ declare function RadioGroup({ className, ...props }: React$1.ComponentProps<typeof RadioGroupPrimitive.Root>): react_jsx_runtime.JSX.Element;
889
+ declare function RadioGroupItem({ className, ...props }: React$1.ComponentProps<typeof RadioGroupPrimitive.Item>): react_jsx_runtime.JSX.Element;
890
+
891
+ declare function ResizablePanelGroup({ className, ...props }: React$1.ComponentProps<typeof ResizablePrimitive.PanelGroup>): react_jsx_runtime.JSX.Element;
892
+ declare function ResizablePanel({ ...props }: React$1.ComponentProps<typeof ResizablePrimitive.Panel>): react_jsx_runtime.JSX.Element;
893
+ declare function ResizableHandle({ withHandle, className, ...props }: React$1.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {
894
+ withHandle?: boolean;
895
+ }): react_jsx_runtime.JSX.Element;
896
+
897
+ declare function ScrollArea({ className, children, ...props }: React$1.ComponentProps<typeof ScrollAreaPrimitive.Root>): react_jsx_runtime.JSX.Element;
898
+ declare function ScrollBar({ className, orientation, ...props }: React$1.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>): react_jsx_runtime.JSX.Element;
899
+
900
+ declare function Select({ ...props }: React$1.ComponentProps<typeof SelectPrimitive.Root>): react_jsx_runtime.JSX.Element;
901
+ declare function SelectGroup({ ...props }: React$1.ComponentProps<typeof SelectPrimitive.Group>): react_jsx_runtime.JSX.Element;
902
+ declare function SelectValue({ ...props }: React$1.ComponentProps<typeof SelectPrimitive.Value>): react_jsx_runtime.JSX.Element;
903
+ declare function SelectTrigger({ className, size, children, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Trigger> & {
904
+ size?: 'sm' | 'default';
905
+ }): react_jsx_runtime.JSX.Element;
906
+ declare function SelectContent({ className, children, position, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Content>): react_jsx_runtime.JSX.Element;
907
+ declare function SelectLabel({ className, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Label>): react_jsx_runtime.JSX.Element;
908
+ declare function SelectItem({ className, children, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Item>): react_jsx_runtime.JSX.Element;
909
+ declare function SelectSeparator({ className, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Separator>): react_jsx_runtime.JSX.Element;
910
+ declare function SelectScrollUpButton({ className, ...props }: React$1.ComponentProps<typeof SelectPrimitive.ScrollUpButton>): react_jsx_runtime.JSX.Element;
911
+ declare function SelectScrollDownButton({ className, ...props }: React$1.ComponentProps<typeof SelectPrimitive.ScrollDownButton>): react_jsx_runtime.JSX.Element;
912
+
913
+ declare function Separator({ className, orientation, decorative, ...props }: React$1.ComponentProps<typeof SeparatorPrimitive.Root>): react_jsx_runtime.JSX.Element;
914
+
915
+ declare function Sheet({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Root>): react_jsx_runtime.JSX.Element;
916
+ declare function SheetTrigger({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
917
+ declare function SheetClose({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Close>): react_jsx_runtime.JSX.Element;
918
+ declare function SheetContent({ className, children, side, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Content> & {
919
+ side?: 'top' | 'right' | 'bottom' | 'left';
920
+ }): react_jsx_runtime.JSX.Element;
921
+ declare function SheetHeader({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
922
+ declare function SheetFooter({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
923
+ declare function SheetTitle({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Title>): react_jsx_runtime.JSX.Element;
924
+ declare function SheetDescription({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Description>): react_jsx_runtime.JSX.Element;
925
+
926
+ declare function SidebarNavigation({ className, onLinkClick, navigation, }: {
927
+ className?: string;
928
+ onLinkClick?: React$1.MouseEventHandler<HTMLAnchorElement>;
929
+ navigation: NavigationSection[];
930
+ }): react_jsx_runtime.JSX.Element;
931
+ declare function SidebarLink({ link, pathname, onLinkClick, depth }: SidebarLinkProps): react_jsx_runtime.JSX.Element;
932
+
933
+ type FormStatus = 'completed' | 'saved' | 'in-progress' | 'error' | 'not-started' | 'cannot-start';
1644
934
 
1645
935
  interface FormStore<FD extends Record<string, unknown>> {
1646
- formData: FD
1647
- formStatus: Record<keyof FD & string, FormStatus>
1648
- isLoading: boolean
1649
- updateFormData: <K extends keyof FD>(page: K, data: Partial<FD[K]>) => void
1650
- updateFormStatus: (page: keyof FD & string, status: FormStatus) => void
1651
- resetForm: () => void
1652
- setIsLoading: (loading: boolean) => void
936
+ formData: FD;
937
+ formStatus: Record<keyof FD & string, FormStatus>;
938
+ isLoading: boolean;
939
+ updateFormData: <K extends keyof FD>(page: K, data: Partial<FD[K]>) => void;
940
+ updateFormStatus: (page: keyof FD & string, status: FormStatus) => void;
941
+ resetForm: () => void;
942
+ setIsLoading: (loading: boolean) => void;
1653
943
  }
1654
944
  declare function createFormStore<FD extends Record<string, unknown>>(opts: {
1655
- storageKey: string
1656
- initialFormData: FD
1657
- initialFormStatus: Record<keyof FD & string, FormStatus>
1658
- }): zustand.UseBoundStore<
1659
- Omit<zustand.StoreApi<FormStore<FD>>, 'persist'> & {
945
+ storageKey: string;
946
+ initialFormData: FD;
947
+ initialFormStatus: Record<keyof FD & string, FormStatus>;
948
+ }): zustand.UseBoundStore<Omit<zustand.StoreApi<FormStore<FD>>, "persist"> & {
1660
949
  persist: {
1661
- setOptions: (
1662
- options: Partial<zustand_middleware.PersistOptions<FormStore<FD>, unknown>>,
1663
- ) => void
1664
- clearStorage: () => void
1665
- rehydrate: () => Promise<void> | void
1666
- hasHydrated: () => boolean
1667
- onHydrate: (fn: (state: FormStore<FD>) => void) => () => void
1668
- onFinishHydration: (fn: (state: FormStore<FD>) => void) => () => void
1669
- getOptions: () => Partial<zustand_middleware.PersistOptions<FormStore<FD>, unknown>>
1670
- }
1671
- }
1672
- >
950
+ setOptions: (options: Partial<zustand_middleware.PersistOptions<FormStore<FD>, unknown>>) => void;
951
+ clearStorage: () => void;
952
+ rehydrate: () => Promise<void> | void;
953
+ hasHydrated: () => boolean;
954
+ onHydrate: (fn: (state: FormStore<FD>) => void) => () => void;
955
+ onFinishHydration: (fn: (state: FormStore<FD>) => void) => () => void;
956
+ getOptions: () => Partial<zustand_middleware.PersistOptions<FormStore<FD>, unknown>>;
957
+ };
958
+ }>;
1673
959
  type FormStatusHook = () => {
1674
- formStatus: Record<string, FormStatus>
1675
- }
960
+ formStatus: Record<string, FormStatus>;
961
+ };
1676
962
 
1677
- type StepStatus =
1678
- | 'completed'
1679
- | 'saved'
1680
- | 'in-progress'
1681
- | 'error'
1682
- | 'not-started'
1683
- | 'cannot-start'
1684
- | 'default'
1685
- | undefined
963
+ type StepStatus = 'completed' | 'saved' | 'in-progress' | 'error' | 'not-started' | 'cannot-start' | 'default' | undefined;
1686
964
  interface StepNavigationProps {
1687
- className?: string
1688
- navigation: NavigationSection[]
1689
- useFormStore: FormStatusHook
1690
- getStatus?: (id: string, storeStatus: Record<string, string>) => StepStatus
1691
- onLinkClick?: React.MouseEventHandler<HTMLAnchorElement>
965
+ className?: string;
966
+ navigation: NavigationSection[];
967
+ useFormStore: FormStatusHook;
968
+ getStatus?: (id: string, storeStatus: Record<string, string>) => StepStatus;
969
+ onLinkClick?: React.MouseEventHandler<HTMLAnchorElement>;
1692
970
  }
1693
- declare function StepNavigation({
1694
- className,
1695
- navigation,
1696
- useFormStore,
1697
- getStatus,
1698
- }: StepNavigationProps): react_jsx_runtime.JSX.Element
971
+ declare function StepNavigation({ className, navigation, useFormStore, getStatus, }: StepNavigationProps): react_jsx_runtime.JSX.Element;
1699
972
 
1700
973
  interface Step {
1701
- title: string
1702
- description?: string
1703
- href: string
1704
- status?:
1705
- | 'default'
1706
- | 'completed'
1707
- | 'saved'
1708
- | 'in-progress'
1709
- | 'error'
1710
- | 'not-started'
1711
- | 'cannot-start'
974
+ title: string;
975
+ description?: string;
976
+ href: string;
977
+ status?: 'default' | 'completed' | 'saved' | 'in-progress' | 'error' | 'not-started' | 'cannot-start';
1712
978
  }
1713
979
  interface StepIndicatorProps extends React$1.HTMLAttributes<HTMLUListElement> {
1714
- array: Step[]
1715
- onLinkClick?: React$1.MouseEventHandler<HTMLAnchorElement>
980
+ array: Step[];
981
+ onLinkClick?: React$1.MouseEventHandler<HTMLAnchorElement>;
1716
982
  }
1717
- declare const StepIndicator: React$1.ForwardRefExoticComponent<
1718
- StepIndicatorProps & React$1.RefAttributes<HTMLUListElement>
1719
- >
1720
-
1721
- declare function SiteSearch({
1722
- navigation,
1723
- }: {
1724
- navigation: NavigationSection[]
1725
- }): react_jsx_runtime.JSX.Element
1726
-
1727
- declare function Skeleton({
1728
- className,
1729
- ...props
1730
- }: React.ComponentProps<'div'>): react_jsx_runtime.JSX.Element
1731
-
1732
- declare function Slider({
1733
- className,
1734
- defaultValue,
1735
- value,
1736
- min,
1737
- max,
1738
- ...props
1739
- }: React$1.ComponentProps<typeof SliderPrimitive.Root>): react_jsx_runtime.JSX.Element
983
+ declare const StepIndicator: React$1.ForwardRefExoticComponent<StepIndicatorProps & React$1.RefAttributes<HTMLUListElement>>;
984
+
985
+ declare function SiteSearch({ navigation }: {
986
+ navigation: NavigationSection[];
987
+ }): react_jsx_runtime.JSX.Element;
988
+
989
+ declare function Skeleton({ className, ...props }: React.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
990
+
991
+ declare function Slider({ className, defaultValue, value, min, max, ...props }: React$1.ComponentProps<typeof SliderPrimitive.Root>): react_jsx_runtime.JSX.Element;
1740
992
 
1741
993
  declare const Social: {
1742
- Facebook: (props: IconProps) => react_jsx_runtime.JSX.Element
1743
- Github: (props: IconProps) => react_jsx_runtime.JSX.Element
1744
- Instagram: (props: IconProps) => react_jsx_runtime.JSX.Element
1745
- LinkedIn: (props: IconProps) => react_jsx_runtime.JSX.Element
1746
- X: (props: IconProps) => react_jsx_runtime.JSX.Element
1747
- YouTube: (props: IconProps) => react_jsx_runtime.JSX.Element
1748
- }
994
+ Facebook: (props: IconProps) => react_jsx_runtime.JSX.Element;
995
+ Github: (props: IconProps) => react_jsx_runtime.JSX.Element;
996
+ Instagram: (props: IconProps) => react_jsx_runtime.JSX.Element;
997
+ LinkedIn: (props: IconProps) => react_jsx_runtime.JSX.Element;
998
+ X: (props: IconProps) => react_jsx_runtime.JSX.Element;
999
+ YouTube: (props: IconProps) => react_jsx_runtime.JSX.Element;
1000
+ };
1749
1001
 
1750
- declare const Toaster: ({ ...props }: ToasterProps) => react_jsx_runtime.JSX.Element
1002
+ declare const Toaster: ({ ...props }: ToasterProps) => react_jsx_runtime.JSX.Element;
1751
1003
 
1752
1004
  declare const theme: {
1753
- size: {
1754
- xs: string
1755
- sm: string
1756
- md: string
1757
- lg: string
1758
- xl: string
1759
- }
1760
- }
1005
+ size: {
1006
+ xs: string;
1007
+ sm: string;
1008
+ md: string;
1009
+ lg: string;
1010
+ xl: string;
1011
+ };
1012
+ };
1761
1013
  type SpinnerProps = {
1762
- className?: string
1763
- size?: keyof typeof theme.size
1764
- } & React$1.HTMLAttributes<HTMLSpanElement>
1765
- declare function Spinner({ className, size, ...props }: SpinnerProps): react_jsx_runtime.JSX.Element
1766
-
1767
- declare function Switch({
1768
- className,
1769
- ...props
1770
- }: React$1.ComponentProps<typeof SwitchPrimitive.Root>): react_jsx_runtime.JSX.Element
1771
-
1772
- declare function Table({
1773
- className,
1774
- ...props
1775
- }: React$1.ComponentProps<'table'>): react_jsx_runtime.JSX.Element
1776
- declare function TableHeader({
1777
- className,
1778
- ...props
1779
- }: React$1.ComponentProps<'thead'>): react_jsx_runtime.JSX.Element
1780
- declare function TableBody({
1781
- className,
1782
- ...props
1783
- }: React$1.ComponentProps<'tbody'>): react_jsx_runtime.JSX.Element
1784
- declare function TableFooter({
1785
- className,
1786
- ...props
1787
- }: React$1.ComponentProps<'tfoot'>): react_jsx_runtime.JSX.Element
1788
- declare function TableRow({
1789
- className,
1790
- ...props
1791
- }: React$1.ComponentProps<'tr'>): react_jsx_runtime.JSX.Element
1792
- declare function TableHead({
1793
- className,
1794
- ...props
1795
- }: React$1.ComponentProps<'th'>): react_jsx_runtime.JSX.Element
1796
- declare function TableCell({
1797
- className,
1798
- ...props
1799
- }: React$1.ComponentProps<'td'>): react_jsx_runtime.JSX.Element
1800
- declare function TableCaption({
1801
- className,
1802
- ...props
1803
- }: React$1.ComponentProps<'caption'>): react_jsx_runtime.JSX.Element
1804
-
1805
- declare function TableOfContents({
1806
- tableOfContents,
1807
- }: TableOfContentsProps): react_jsx_runtime.JSX.Element
1808
-
1809
- declare function Tabs({
1810
- className,
1811
- ...props
1812
- }: React$1.ComponentProps<typeof TabsPrimitive.Root>): react_jsx_runtime.JSX.Element
1813
- declare function TabsList({
1814
- className,
1815
- ...props
1816
- }: React$1.ComponentProps<typeof TabsPrimitive.List>): react_jsx_runtime.JSX.Element
1817
- declare function TabsTrigger({
1818
- className,
1819
- ...props
1820
- }: React$1.ComponentProps<typeof TabsPrimitive.Trigger>): react_jsx_runtime.JSX.Element
1821
- declare function TabsContent({
1822
- className,
1823
- ...props
1824
- }: React$1.ComponentProps<typeof TabsPrimitive.Content>): react_jsx_runtime.JSX.Element
1825
-
1826
- type BaseProps = React.ComponentPropsWithoutRef<'p'>
1827
- type TextProps =
1828
- | ({
1829
- label?: false
1830
- size?: 1 | 2 | 3 | 4
1831
- trim?: 'normal' | 'start' | 'end' | 'both'
1832
- } & BaseProps)
1833
- | ({
1834
- label: true
1835
- size?: 1 | 2 | 3 | 4
1836
- trim?: 'normal' | 'start' | 'end' | 'both'
1837
- } & BaseProps)
1838
- declare function Text({
1839
- className,
1840
- trim,
1841
- size,
1842
- label,
1843
- ...props
1844
- }: TextProps): react_jsx_runtime.JSX.Element
1845
- declare function TextLink({
1846
- className,
1847
- ...props
1848
- }: React.ComponentPropsWithoutRef<typeof Link>): react_jsx_runtime.JSX.Element
1849
- declare function Strong({
1850
- className,
1851
- ...props
1852
- }: React.ComponentPropsWithoutRef<'strong'>): react_jsx_runtime.JSX.Element
1853
- declare function Code({
1854
- className,
1855
- ...props
1856
- }: React.ComponentPropsWithoutRef<'code'>): react_jsx_runtime.JSX.Element
1857
-
1858
- declare function Textarea({
1859
- className,
1860
- ...props
1861
- }: React$1.ComponentProps<'textarea'>): react_jsx_runtime.JSX.Element
1862
-
1863
- declare function ThemeColorPalette(): react_jsx_runtime.JSX.Element
1864
-
1865
- declare function ThemeProvider({
1866
- children,
1867
- ...props
1868
- }: ThemeProviderProps): react_jsx_runtime.JSX.Element
1869
-
1870
- declare function ThemeSelector({
1871
- themeCategory,
1872
- setThemeCategory,
1873
- primaryColor,
1874
- setPrimaryColor,
1875
- accentColor,
1876
- setAccentColor,
1877
- greyColor,
1878
- setGreyColor,
1879
- availableAccentColors,
1880
- colorThemes,
1881
- }: ThemeSelectorProps): react_jsx_runtime.JSX.Element
1882
-
1883
- declare function ThemeSwitcher(): react_jsx_runtime.JSX.Element
1884
-
1885
- declare const TocContext: React$1.Context<TocContextType>
1886
- declare function TocProvider({ children }: { children: ReactNode }): react_jsx_runtime.JSX.Element
1887
- declare function useToc(): TocContextType
1888
-
1889
- declare const toggleVariants: (
1890
- props?:
1891
- | ({
1892
- variant?: 'outline' | 'ghost' | null | undefined
1893
- size?: 'default' | 'sm' | 'lg' | null | undefined
1894
- } & class_variance_authority_types.ClassProp)
1895
- | undefined,
1896
- ) => string
1897
- declare function Toggle({
1898
- className,
1899
- variant,
1900
- size,
1901
- ...props
1902
- }: React$1.ComponentProps<typeof TogglePrimitive.Root> &
1903
- VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element
1904
-
1905
- declare function ToggleGroup({
1906
- className,
1907
- variant,
1908
- size,
1909
- children,
1910
- ...props
1911
- }: React$1.ComponentProps<typeof ToggleGroupPrimitive.Root> &
1912
- VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element
1913
- declare function ToggleGroupItem({
1914
- className,
1915
- children,
1916
- variant,
1917
- size,
1918
- ...props
1919
- }: React$1.ComponentProps<typeof ToggleGroupPrimitive.Item> &
1920
- VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element
1921
-
1922
- declare function TooltipProvider({
1923
- delayDuration,
1924
- ...props
1925
- }: React$1.ComponentProps<typeof TooltipPrimitive.Provider>): react_jsx_runtime.JSX.Element
1926
- declare function Tooltip$1({
1927
- ...props
1928
- }: React$1.ComponentProps<typeof TooltipPrimitive.Root>): react_jsx_runtime.JSX.Element
1929
- declare function TooltipTrigger({
1930
- ...props
1931
- }: React$1.ComponentProps<typeof TooltipPrimitive.Trigger>): react_jsx_runtime.JSX.Element
1932
- declare function TooltipContent({
1933
- className,
1934
- sideOffset,
1935
- children,
1936
- ...props
1937
- }: React$1.ComponentProps<typeof TooltipPrimitive.Content>): react_jsx_runtime.JSX.Element
1938
-
1939
- declare function ViewToggle({
1940
- viewMode,
1941
- setViewMode,
1942
- }: ViewToggleProps): react_jsx_runtime.JSX.Element
1014
+ className?: string;
1015
+ size?: keyof typeof theme.size;
1016
+ } & React$1.HTMLAttributes<HTMLSpanElement>;
1017
+ declare function Spinner({ className, size, ...props }: SpinnerProps): react_jsx_runtime.JSX.Element;
1018
+
1019
+ declare function Switch({ className, ...props }: React$1.ComponentProps<typeof SwitchPrimitive.Root>): react_jsx_runtime.JSX.Element;
1020
+
1021
+ declare function Table({ className, ...props }: React$1.ComponentProps<'table'>): react_jsx_runtime.JSX.Element;
1022
+ declare function TableHeader({ className, ...props }: React$1.ComponentProps<'thead'>): react_jsx_runtime.JSX.Element;
1023
+ declare function TableBody({ className, ...props }: React$1.ComponentProps<'tbody'>): react_jsx_runtime.JSX.Element;
1024
+ declare function TableFooter({ className, ...props }: React$1.ComponentProps<'tfoot'>): react_jsx_runtime.JSX.Element;
1025
+ declare function TableRow({ className, ...props }: React$1.ComponentProps<'tr'>): react_jsx_runtime.JSX.Element;
1026
+ declare function TableHead({ className, ...props }: React$1.ComponentProps<'th'>): react_jsx_runtime.JSX.Element;
1027
+ declare function TableCell({ className, ...props }: React$1.ComponentProps<'td'>): react_jsx_runtime.JSX.Element;
1028
+ declare function TableCaption({ className, ...props }: React$1.ComponentProps<'caption'>): react_jsx_runtime.JSX.Element;
1029
+
1030
+ declare function TableOfContents({ tableOfContents }: TableOfContentsProps): react_jsx_runtime.JSX.Element;
1031
+
1032
+ declare function Tabs({ className, ...props }: React$1.ComponentProps<typeof TabsPrimitive.Root>): react_jsx_runtime.JSX.Element;
1033
+ declare function TabsList({ className, ...props }: React$1.ComponentProps<typeof TabsPrimitive.List>): react_jsx_runtime.JSX.Element;
1034
+ declare function TabsTrigger({ className, ...props }: React$1.ComponentProps<typeof TabsPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
1035
+ declare function TabsContent({ className, ...props }: React$1.ComponentProps<typeof TabsPrimitive.Content>): react_jsx_runtime.JSX.Element;
1036
+
1037
+ type BaseProps = React.ComponentPropsWithoutRef<'p'>;
1038
+ type TextProps = ({
1039
+ label?: false;
1040
+ size?: 1 | 2 | 3 | 4;
1041
+ trim?: 'normal' | 'start' | 'end' | 'both';
1042
+ } & BaseProps) | ({
1043
+ label: true;
1044
+ size?: 1 | 2 | 3 | 4;
1045
+ trim?: 'normal' | 'start' | 'end' | 'both';
1046
+ } & BaseProps);
1047
+ declare function Text({ className, trim, size, label, ...props }: TextProps): react_jsx_runtime.JSX.Element;
1048
+ declare function TextLink({ className, ...props }: React.ComponentPropsWithoutRef<typeof Link>): react_jsx_runtime.JSX.Element;
1049
+ declare function Strong({ className, ...props }: React.ComponentPropsWithoutRef<'strong'>): react_jsx_runtime.JSX.Element;
1050
+ declare function Code({ className, ...props }: React.ComponentPropsWithoutRef<'code'>): react_jsx_runtime.JSX.Element;
1051
+
1052
+ declare function Textarea({ className, ...props }: React$1.ComponentProps<'textarea'>): react_jsx_runtime.JSX.Element;
1053
+
1054
+ declare function ThemeColorPalette(): react_jsx_runtime.JSX.Element;
1055
+
1056
+ declare function ThemeProvider({ children, ...props }: ThemeProviderProps): react_jsx_runtime.JSX.Element;
1057
+
1058
+ declare function ThemeSelector({ themeCategory, setThemeCategory, primaryColor, setPrimaryColor, accentColor, setAccentColor, greyColor, setGreyColor, availableAccentColors, colorThemes, }: ThemeSelectorProps): react_jsx_runtime.JSX.Element;
1059
+
1060
+ declare function ThemeSwitcher(): react_jsx_runtime.JSX.Element;
1061
+
1062
+ declare const TocContext: React$1.Context<TocContextType>;
1063
+ declare function TocProvider({ children }: {
1064
+ children: ReactNode;
1065
+ }): react_jsx_runtime.JSX.Element;
1066
+ declare function useToc(): TocContextType;
1067
+
1068
+ declare const toggleVariants: (props?: ({
1069
+ variant?: "outline" | "ghost" | null | undefined;
1070
+ size?: "default" | "sm" | "lg" | null | undefined;
1071
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
1072
+ declare function Toggle({ className, variant, size, ...props }: React$1.ComponentProps<typeof TogglePrimitive.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
1073
+
1074
+ declare function ToggleGroup({ className, variant, size, children, ...props }: React$1.ComponentProps<typeof ToggleGroupPrimitive.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
1075
+ declare function ToggleGroupItem({ className, children, variant, size, ...props }: React$1.ComponentProps<typeof ToggleGroupPrimitive.Item> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
1076
+
1077
+ declare function TooltipProvider({ delayDuration, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Provider>): react_jsx_runtime.JSX.Element;
1078
+ declare function Tooltip$1({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Root>): react_jsx_runtime.JSX.Element;
1079
+ declare function TooltipTrigger({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
1080
+ declare function TooltipContent({ className, sideOffset, children, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Content>): react_jsx_runtime.JSX.Element;
1081
+
1082
+ declare function ViewToggle({ viewMode, setViewMode }: ViewToggleProps): react_jsx_runtime.JSX.Element;
1943
1083
 
1944
1084
  declare const THEMES: {
1945
- readonly light: ''
1946
- readonly dark: '.dark'
1947
- }
1085
+ readonly light: "";
1086
+ readonly dark: ".dark";
1087
+ };
1948
1088
  type ChartConfig = {
1949
- [k in string]: {
1950
- label?: React$1.ReactNode
1951
- icon?: React$1.ComponentType
1952
- } & (
1953
- | {
1954
- color?: string
1955
- theme?: never
1956
- }
1957
- | {
1958
- color?: never
1959
- theme: Record<keyof typeof THEMES, string>
1960
- }
1961
- )
1962
- }
1963
- declare function ChartContainer({
1964
- id,
1965
- className,
1966
- children,
1967
- config,
1968
- ...props
1969
- }: React$1.ComponentProps<'div'> & {
1970
- config: ChartConfig
1971
- children: React$1.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>['children']
1972
- }): react_jsx_runtime.JSX.Element
1973
- declare const ChartStyle: ({
1974
- id,
1975
- config,
1976
- }: {
1977
- id: string
1978
- config: ChartConfig
1979
- }) => react_jsx_runtime.JSX.Element | null
1980
- declare const ChartTooltip: typeof RechartsPrimitive.Tooltip
1981
- declare function ChartTooltipContent({
1982
- active,
1983
- payload,
1984
- className,
1985
- indicator,
1986
- hideLabel,
1987
- hideIndicator,
1988
- label,
1989
- labelFormatter,
1990
- labelClassName,
1991
- formatter,
1992
- color,
1993
- nameKey,
1994
- labelKey,
1995
- }: React$1.ComponentProps<typeof RechartsPrimitive.Tooltip> &
1996
- React$1.ComponentProps<'div'> & {
1997
- hideLabel?: boolean
1998
- hideIndicator?: boolean
1999
- indicator?: 'line' | 'dot' | 'dashed'
2000
- nameKey?: string
2001
- labelKey?: string
2002
- }): react_jsx_runtime.JSX.Element | null
2003
- declare const ChartLegend: typeof RechartsPrimitive.Legend
2004
- declare function ChartLegendContent({
2005
- className,
2006
- hideIcon,
2007
- payload,
2008
- verticalAlign,
2009
- nameKey,
2010
- }: React$1.ComponentProps<'div'> &
2011
- Pick<RechartsPrimitive.LegendProps, 'payload' | 'verticalAlign'> & {
2012
- hideIcon?: boolean
2013
- nameKey?: string
2014
- }): react_jsx_runtime.JSX.Element | null
2015
-
2016
- type ColorUtility = 'bg' | 'stroke' | 'fill' | 'text'
1089
+ [k in string]: {
1090
+ label?: React$1.ReactNode;
1091
+ icon?: React$1.ComponentType;
1092
+ } & ({
1093
+ color?: string;
1094
+ theme?: never;
1095
+ } | {
1096
+ color?: never;
1097
+ theme: Record<keyof typeof THEMES, string>;
1098
+ });
1099
+ };
1100
+ declare function ChartContainer({ id, className, children, config, ...props }: React$1.ComponentProps<'div'> & {
1101
+ config: ChartConfig;
1102
+ children: React$1.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>['children'];
1103
+ }): react_jsx_runtime.JSX.Element;
1104
+ declare const ChartStyle: ({ id, config }: {
1105
+ id: string;
1106
+ config: ChartConfig;
1107
+ }) => react_jsx_runtime.JSX.Element | null;
1108
+ declare const ChartTooltip: typeof RechartsPrimitive.Tooltip;
1109
+ declare function ChartTooltipContent({ active, payload, className, indicator, hideLabel, hideIndicator, label, labelFormatter, labelClassName, formatter, color, nameKey, labelKey, }: React$1.ComponentProps<typeof RechartsPrimitive.Tooltip> & React$1.ComponentProps<'div'> & {
1110
+ hideLabel?: boolean;
1111
+ hideIndicator?: boolean;
1112
+ indicator?: 'line' | 'dot' | 'dashed';
1113
+ nameKey?: string;
1114
+ labelKey?: string;
1115
+ }): react_jsx_runtime.JSX.Element | null;
1116
+ declare const ChartLegend: typeof RechartsPrimitive.Legend;
1117
+ declare function ChartLegendContent({ className, hideIcon, payload, verticalAlign, nameKey, }: React$1.ComponentProps<'div'> & Pick<RechartsPrimitive.LegendProps, 'payload' | 'verticalAlign'> & {
1118
+ hideIcon?: boolean;
1119
+ nameKey?: string;
1120
+ }): react_jsx_runtime.JSX.Element | null;
1121
+
1122
+ type ColorUtility = 'bg' | 'stroke' | 'fill' | 'text';
2017
1123
  declare const chartColors: {
2018
- readonly blue: {
2019
- readonly bg: 'bg-blue-500'
2020
- readonly stroke: 'stroke-blue-500'
2021
- readonly fill: 'fill-blue-500'
2022
- readonly text: 'text-blue-500'
2023
- }
2024
- readonly emerald: {
2025
- readonly bg: 'bg-emerald-500'
2026
- readonly stroke: 'stroke-emerald-500'
2027
- readonly fill: 'fill-emerald-500'
2028
- readonly text: 'text-emerald-500'
2029
- }
2030
- readonly violet: {
2031
- readonly bg: 'bg-violet-500'
2032
- readonly stroke: 'stroke-violet-500'
2033
- readonly fill: 'fill-violet-500'
2034
- readonly text: 'text-violet-500'
2035
- }
2036
- readonly amber: {
2037
- readonly bg: 'bg-amber-500'
2038
- readonly stroke: 'stroke-amber-500'
2039
- readonly fill: 'fill-amber-500'
2040
- readonly text: 'text-amber-500'
2041
- }
2042
- readonly gray: {
2043
- readonly bg: 'bg-gray-500'
2044
- readonly stroke: 'stroke-gray-500'
2045
- readonly fill: 'fill-gray-500'
2046
- readonly text: 'text-gray-500'
2047
- }
2048
- readonly cyan: {
2049
- readonly bg: 'bg-cyan-500'
2050
- readonly stroke: 'stroke-cyan-500'
2051
- readonly fill: 'fill-cyan-500'
2052
- readonly text: 'text-cyan-500'
2053
- }
2054
- readonly pink: {
2055
- readonly bg: 'bg-pink-500'
2056
- readonly stroke: 'stroke-pink-500'
2057
- readonly fill: 'fill-pink-500'
2058
- readonly text: 'text-pink-500'
2059
- }
2060
- readonly lime: {
2061
- readonly bg: 'bg-lime-500'
2062
- readonly stroke: 'stroke-lime-500'
2063
- readonly fill: 'fill-lime-500'
2064
- readonly text: 'text-lime-500'
2065
- }
2066
- readonly fuchsia: {
2067
- readonly bg: 'bg-fuchsia-500'
2068
- readonly stroke: 'stroke-fuchsia-500'
2069
- readonly fill: 'fill-fuchsia-500'
2070
- readonly text: 'text-fuchsia-500'
2071
- }
2072
- }
2073
- type AvailableChartColorsKeys = keyof typeof chartColors
2074
- declare const AvailableChartColors: AvailableChartColorsKeys[]
2075
- declare const constructCategoryColors: (
2076
- categories: string[],
2077
- colors: AvailableChartColorsKeys[],
2078
- ) => Map<string, AvailableChartColorsKeys>
2079
- declare const getColorClassName: (color: AvailableChartColorsKeys, type: ColorUtility) => string
2080
- declare const getYAxisDomain: (
2081
- autoMinValue: boolean,
2082
- minValue: number | undefined,
2083
- maxValue: number | undefined,
2084
- ) => (string | number)[]
2085
- declare function hasOnlyOneValueForKey(array: any[], keyToCheck: string): boolean
2086
-
2087
- type TooltipProps$5 = Pick<ChartTooltipProps$4, 'active' | 'payload' | 'label'>
1124
+ readonly blue: {
1125
+ readonly bg: "bg-blue-500";
1126
+ readonly stroke: "stroke-blue-500";
1127
+ readonly fill: "fill-blue-500";
1128
+ readonly text: "text-blue-500";
1129
+ };
1130
+ readonly emerald: {
1131
+ readonly bg: "bg-emerald-500";
1132
+ readonly stroke: "stroke-emerald-500";
1133
+ readonly fill: "fill-emerald-500";
1134
+ readonly text: "text-emerald-500";
1135
+ };
1136
+ readonly violet: {
1137
+ readonly bg: "bg-violet-500";
1138
+ readonly stroke: "stroke-violet-500";
1139
+ readonly fill: "fill-violet-500";
1140
+ readonly text: "text-violet-500";
1141
+ };
1142
+ readonly amber: {
1143
+ readonly bg: "bg-amber-500";
1144
+ readonly stroke: "stroke-amber-500";
1145
+ readonly fill: "fill-amber-500";
1146
+ readonly text: "text-amber-500";
1147
+ };
1148
+ readonly gray: {
1149
+ readonly bg: "bg-gray-500";
1150
+ readonly stroke: "stroke-gray-500";
1151
+ readonly fill: "fill-gray-500";
1152
+ readonly text: "text-gray-500";
1153
+ };
1154
+ readonly cyan: {
1155
+ readonly bg: "bg-cyan-500";
1156
+ readonly stroke: "stroke-cyan-500";
1157
+ readonly fill: "fill-cyan-500";
1158
+ readonly text: "text-cyan-500";
1159
+ };
1160
+ readonly pink: {
1161
+ readonly bg: "bg-pink-500";
1162
+ readonly stroke: "stroke-pink-500";
1163
+ readonly fill: "fill-pink-500";
1164
+ readonly text: "text-pink-500";
1165
+ };
1166
+ readonly lime: {
1167
+ readonly bg: "bg-lime-500";
1168
+ readonly stroke: "stroke-lime-500";
1169
+ readonly fill: "fill-lime-500";
1170
+ readonly text: "text-lime-500";
1171
+ };
1172
+ readonly fuchsia: {
1173
+ readonly bg: "bg-fuchsia-500";
1174
+ readonly stroke: "stroke-fuchsia-500";
1175
+ readonly fill: "fill-fuchsia-500";
1176
+ readonly text: "text-fuchsia-500";
1177
+ };
1178
+ };
1179
+ type AvailableChartColorsKeys = keyof typeof chartColors;
1180
+ declare const AvailableChartColors: AvailableChartColorsKeys[];
1181
+ declare const constructCategoryColors: (categories: string[], colors: AvailableChartColorsKeys[]) => Map<string, AvailableChartColorsKeys>;
1182
+ declare const getColorClassName: (color: AvailableChartColorsKeys, type: ColorUtility) => string;
1183
+ declare const getYAxisDomain: (autoMinValue: boolean, minValue: number | undefined, maxValue: number | undefined) => (string | number)[];
1184
+ declare function hasOnlyOneValueForKey(array: any[], keyToCheck: string): boolean;
1185
+
1186
+ type TooltipProps$5 = Pick<ChartTooltipProps$4, 'active' | 'payload' | 'label'>;
2088
1187
  type PayloadItem$4 = {
2089
- category: string
2090
- value: number
2091
- index: string
2092
- color: AvailableChartColorsKeys
2093
- type?: string
2094
- payload: any
2095
- }
1188
+ category: string;
1189
+ value: number;
1190
+ index: string;
1191
+ color: AvailableChartColorsKeys;
1192
+ type?: string;
1193
+ payload: any;
1194
+ };
2096
1195
  interface ChartTooltipProps$4 {
2097
- active: boolean | undefined
2098
- payload: PayloadItem$4[]
2099
- label: string
2100
- valueFormatter: (value: number) => string
1196
+ active: boolean | undefined;
1197
+ payload: PayloadItem$4[];
1198
+ label: string;
1199
+ valueFormatter: (value: number) => string;
2101
1200
  }
2102
1201
  type BaseEventProps$4 = {
2103
- eventType: 'dot' | 'category'
2104
- categoryClicked: string
2105
- [key: string]: number | string
2106
- }
2107
- type AreaChartEventProps = BaseEventProps$4 | null | undefined
1202
+ eventType: 'dot' | 'category';
1203
+ categoryClicked: string;
1204
+ [key: string]: number | string;
1205
+ };
1206
+ type AreaChartEventProps = BaseEventProps$4 | null | undefined;
2108
1207
  interface AreaChartProps extends React__default.HTMLAttributes<HTMLDivElement> {
2109
- data: Record<string, any>[]
2110
- index: string
2111
- categories: string[]
2112
- colors?: AvailableChartColorsKeys[]
2113
- valueFormatter?: (value: number) => string
2114
- startEndOnly?: boolean
2115
- showXAxis?: boolean
2116
- showYAxis?: boolean
2117
- showGridLines?: boolean
2118
- yAxisWidth?: number
2119
- intervalType?: 'preserveStartEnd' | 'equidistantPreserveStart'
2120
- showTooltip?: boolean
2121
- showLegend?: boolean
2122
- autoMinValue?: boolean
2123
- minValue?: number
2124
- maxValue?: number
2125
- allowDecimals?: boolean
2126
- onValueChange?: (value: AreaChartEventProps) => void
2127
- enableLegendSlider?: boolean
2128
- tickGap?: number
2129
- connectNulls?: boolean
2130
- xAxisLabel?: string
2131
- yAxisLabel?: string
2132
- type?: 'default' | 'stacked' | 'percent'
2133
- legendPosition?: 'left' | 'center' | 'right'
2134
- fill?: 'gradient' | 'solid' | 'none'
2135
- tooltipCallback?: (tooltipCallbackContent: TooltipProps$5) => void
2136
- customTooltip?: React__default.ComponentType<TooltipProps$5>
2137
- }
2138
- declare const AreaChart: React__default.ForwardRefExoticComponent<
2139
- AreaChartProps & React__default.RefAttributes<HTMLDivElement>
2140
- >
2141
-
2142
- type TooltipProps$4 = Pick<ChartTooltipProps$3, 'active' | 'payload' | 'label'>
1208
+ data: Record<string, any>[];
1209
+ index: string;
1210
+ categories: string[];
1211
+ colors?: AvailableChartColorsKeys[];
1212
+ valueFormatter?: (value: number) => string;
1213
+ startEndOnly?: boolean;
1214
+ showXAxis?: boolean;
1215
+ showYAxis?: boolean;
1216
+ showGridLines?: boolean;
1217
+ yAxisWidth?: number;
1218
+ intervalType?: 'preserveStartEnd' | 'equidistantPreserveStart';
1219
+ showTooltip?: boolean;
1220
+ showLegend?: boolean;
1221
+ autoMinValue?: boolean;
1222
+ minValue?: number;
1223
+ maxValue?: number;
1224
+ allowDecimals?: boolean;
1225
+ onValueChange?: (value: AreaChartEventProps) => void;
1226
+ enableLegendSlider?: boolean;
1227
+ tickGap?: number;
1228
+ connectNulls?: boolean;
1229
+ xAxisLabel?: string;
1230
+ yAxisLabel?: string;
1231
+ type?: 'default' | 'stacked' | 'percent';
1232
+ legendPosition?: 'left' | 'center' | 'right';
1233
+ fill?: 'gradient' | 'solid' | 'none';
1234
+ tooltipCallback?: (tooltipCallbackContent: TooltipProps$5) => void;
1235
+ customTooltip?: React__default.ComponentType<TooltipProps$5>;
1236
+ }
1237
+ declare const AreaChart: React__default.ForwardRefExoticComponent<AreaChartProps & React__default.RefAttributes<HTMLDivElement>>;
1238
+
1239
+ type TooltipProps$4 = Pick<ChartTooltipProps$3, 'active' | 'payload' | 'label'>;
2143
1240
  type PayloadItem$3 = {
2144
- category: string
2145
- value: number
2146
- index: string
2147
- color: AvailableChartColorsKeys
2148
- type?: string
2149
- payload: any
2150
- }
1241
+ category: string;
1242
+ value: number;
1243
+ index: string;
1244
+ color: AvailableChartColorsKeys;
1245
+ type?: string;
1246
+ payload: any;
1247
+ };
2151
1248
  interface ChartTooltipProps$3 {
2152
- active: boolean | undefined
2153
- payload: PayloadItem$3[]
2154
- label: string
2155
- valueFormatter: (value: number) => string
1249
+ active: boolean | undefined;
1250
+ payload: PayloadItem$3[];
1251
+ label: string;
1252
+ valueFormatter: (value: number) => string;
2156
1253
  }
2157
1254
  type BaseEventProps$3 = {
2158
- eventType: 'category' | 'bar'
2159
- categoryClicked: string
2160
- [key: string]: number | string
2161
- }
2162
- type BarChartEventProps = BaseEventProps$3 | null | undefined
1255
+ eventType: 'category' | 'bar';
1256
+ categoryClicked: string;
1257
+ [key: string]: number | string;
1258
+ };
1259
+ type BarChartEventProps = BaseEventProps$3 | null | undefined;
2163
1260
  interface BarChartProps$1 extends React__default.HTMLAttributes<HTMLDivElement> {
2164
- data: Record<string, any>[]
2165
- index: string
2166
- categories: string[]
2167
- colors?: AvailableChartColorsKeys[]
2168
- valueFormatter?: (value: number) => string
2169
- startEndOnly?: boolean
2170
- showXAxis?: boolean
2171
- showYAxis?: boolean
2172
- showGridLines?: boolean
2173
- yAxisWidth?: number
2174
- intervalType?: 'preserveStartEnd' | 'equidistantPreserveStart'
2175
- showTooltip?: boolean
2176
- showLegend?: boolean
2177
- autoMinValue?: boolean
2178
- minValue?: number
2179
- maxValue?: number
2180
- allowDecimals?: boolean
2181
- onValueChange?: (value: BarChartEventProps) => void
2182
- enableLegendSlider?: boolean
2183
- tickGap?: number
2184
- barCategoryGap?: string | number
2185
- xAxisLabel?: string
2186
- yAxisLabel?: string
2187
- layout?: 'vertical' | 'horizontal'
2188
- type?: 'default' | 'stacked' | 'percent'
2189
- legendPosition?: 'left' | 'center' | 'right'
2190
- tooltipCallback?: (tooltipCallbackContent: TooltipProps$4) => void
2191
- customTooltip?: React__default.ComponentType<TooltipProps$4>
2192
- }
2193
- declare const BarChart: React__default.ForwardRefExoticComponent<
2194
- BarChartProps$1 & React__default.RefAttributes<HTMLDivElement>
2195
- >
1261
+ data: Record<string, any>[];
1262
+ index: string;
1263
+ categories: string[];
1264
+ colors?: AvailableChartColorsKeys[];
1265
+ valueFormatter?: (value: number) => string;
1266
+ startEndOnly?: boolean;
1267
+ showXAxis?: boolean;
1268
+ showYAxis?: boolean;
1269
+ showGridLines?: boolean;
1270
+ yAxisWidth?: number;
1271
+ intervalType?: 'preserveStartEnd' | 'equidistantPreserveStart';
1272
+ showTooltip?: boolean;
1273
+ showLegend?: boolean;
1274
+ autoMinValue?: boolean;
1275
+ minValue?: number;
1276
+ maxValue?: number;
1277
+ allowDecimals?: boolean;
1278
+ onValueChange?: (value: BarChartEventProps) => void;
1279
+ enableLegendSlider?: boolean;
1280
+ tickGap?: number;
1281
+ barCategoryGap?: string | number;
1282
+ xAxisLabel?: string;
1283
+ yAxisLabel?: string;
1284
+ layout?: 'vertical' | 'horizontal';
1285
+ type?: 'default' | 'stacked' | 'percent';
1286
+ legendPosition?: 'left' | 'center' | 'right';
1287
+ tooltipCallback?: (tooltipCallbackContent: TooltipProps$4) => void;
1288
+ customTooltip?: React__default.ComponentType<TooltipProps$4>;
1289
+ }
1290
+ declare const BarChart: React__default.ForwardRefExoticComponent<BarChartProps$1 & React__default.RefAttributes<HTMLDivElement>>;
2196
1291
 
2197
1292
  type Bar<T> = T & {
2198
- key?: string
2199
- href?: string
2200
- value: number
2201
- name: string
2202
- }
1293
+ key?: string;
1294
+ href?: string;
1295
+ value: number;
1296
+ name: string;
1297
+ };
2203
1298
  interface BarListProps<T = unknown> extends React__default.HTMLAttributes<HTMLDivElement> {
2204
- data: Bar<T>[]
2205
- valueFormatter?: (value: number) => string
2206
- showAnimation?: boolean
2207
- onValueChange?: (payload: Bar<T>) => void
2208
- sortOrder?: 'ascending' | 'descending' | 'none'
1299
+ data: Bar<T>[];
1300
+ valueFormatter?: (value: number) => string;
1301
+ showAnimation?: boolean;
1302
+ onValueChange?: (payload: Bar<T>) => void;
1303
+ sortOrder?: 'ascending' | 'descending' | 'none';
2209
1304
  }
2210
- declare function BarListInner<T>(
2211
- {
2212
- data,
2213
- valueFormatter,
2214
- showAnimation,
2215
- onValueChange,
2216
- sortOrder,
2217
- className,
2218
- ...props
2219
- }: BarListProps<T>,
2220
- forwardedRef: React__default.ForwardedRef<HTMLDivElement>,
2221
- ): react_jsx_runtime.JSX.Element
1305
+ declare function BarListInner<T>({ data, valueFormatter, showAnimation, onValueChange, sortOrder, className, ...props }: BarListProps<T>, forwardedRef: React__default.ForwardedRef<HTMLDivElement>): react_jsx_runtime.JSX.Element;
2222
1306
  declare namespace BarListInner {
2223
- var displayName: string
1307
+ var displayName: string;
2224
1308
  }
2225
- declare const BarList: <T>(
2226
- p: BarListProps<T> & {
2227
- ref?: React__default.ForwardedRef<HTMLDivElement>
2228
- },
2229
- ) => ReturnType<typeof BarListInner>
1309
+ declare const BarList: <T>(p: BarListProps<T> & {
1310
+ ref?: React__default.ForwardedRef<HTMLDivElement>;
1311
+ }) => ReturnType<typeof BarListInner>;
2230
1312
 
2231
1313
  interface CategoryBarProps extends React__default.HTMLAttributes<HTMLDivElement> {
2232
- values: number[]
2233
- colors?: AvailableChartColorsKeys[]
2234
- marker?: {
2235
- value: number
2236
- tooltip?: string
2237
- showAnimation?: boolean
2238
- }
2239
- showLabels?: boolean
2240
- }
2241
- declare const CategoryBar: React__default.ForwardRefExoticComponent<
2242
- CategoryBarProps & React__default.RefAttributes<HTMLDivElement>
2243
- >
2244
-
2245
- type TooltipProps$3 = Pick<ChartTooltipProps$2, 'active' | 'payload' | 'label'>
1314
+ values: number[];
1315
+ colors?: AvailableChartColorsKeys[];
1316
+ marker?: {
1317
+ value: number;
1318
+ tooltip?: string;
1319
+ showAnimation?: boolean;
1320
+ };
1321
+ showLabels?: boolean;
1322
+ }
1323
+ declare const CategoryBar: React__default.ForwardRefExoticComponent<CategoryBarProps & React__default.RefAttributes<HTMLDivElement>>;
1324
+
1325
+ type TooltipProps$3 = Pick<ChartTooltipProps$2, 'active' | 'payload' | 'label'>;
2246
1326
  type PayloadItem$2 = {
2247
- category: string
2248
- value: number
2249
- index: string
2250
- barColor: AvailableChartColorsKeys
2251
- lineColor: AvailableChartColorsKeys
2252
- chartType: 'bar' | 'line'
2253
- type: string
2254
- payload: any
2255
- }
1327
+ category: string;
1328
+ value: number;
1329
+ index: string;
1330
+ barColor: AvailableChartColorsKeys;
1331
+ lineColor: AvailableChartColorsKeys;
1332
+ chartType: 'bar' | 'line';
1333
+ type: string;
1334
+ payload: any;
1335
+ };
2256
1336
  interface ChartTooltipProps$2 {
2257
- active: boolean | undefined
2258
- payload: PayloadItem$2[]
2259
- label: string
2260
- barValueFormatter?: (value: number) => string
2261
- lineValueFormatter?: (value: number) => string
1337
+ active: boolean | undefined;
1338
+ payload: PayloadItem$2[];
1339
+ label: string;
1340
+ barValueFormatter?: (value: number) => string;
1341
+ lineValueFormatter?: (value: number) => string;
2262
1342
  }
2263
1343
  type BaseEventProps$2 = {
2264
- eventType: 'category' | 'bar' | 'dot'
2265
- categoryClicked: string
2266
- [key: string]: number | string
2267
- }
2268
- type ComboChartEventProps = BaseEventProps$2 | null | undefined
1344
+ eventType: 'category' | 'bar' | 'dot';
1345
+ categoryClicked: string;
1346
+ [key: string]: number | string;
1347
+ };
1348
+ type ComboChartEventProps = BaseEventProps$2 | null | undefined;
2269
1349
  type ChartSeries = {
2270
- categories: string[]
2271
- colors?: AvailableChartColorsKeys[]
2272
- valueFormatter?: (value: number) => string
2273
- showYAxis?: boolean
2274
- yAxisWidth?: number
2275
- allowDecimals?: boolean
2276
- yAxisLabel?: string
2277
- autoMinValue?: boolean
2278
- minValue?: number
2279
- maxValue?: number
2280
- }
1350
+ categories: string[];
1351
+ colors?: AvailableChartColorsKeys[];
1352
+ valueFormatter?: (value: number) => string;
1353
+ showYAxis?: boolean;
1354
+ yAxisWidth?: number;
1355
+ allowDecimals?: boolean;
1356
+ yAxisLabel?: string;
1357
+ autoMinValue?: boolean;
1358
+ minValue?: number;
1359
+ maxValue?: number;
1360
+ };
2281
1361
  interface ComboChartProps extends React__default.HTMLAttributes<HTMLDivElement> {
2282
- data: Record<string, any>[]
2283
- index: string
2284
- startEndOnly?: boolean
2285
- showXAxis?: boolean
2286
- xAxisLabel?: string
2287
- showGridLines?: boolean
2288
- intervalType?: 'preserveStartEnd' | 'equidistantPreserveStart'
2289
- showLegend?: boolean
2290
- showTooltip?: boolean
2291
- onValueChange?: (value: ComboChartEventProps) => void
2292
- enableLegendSlider?: boolean
2293
- legendPosition?: 'left' | 'center' | 'right'
2294
- tickGap?: number
2295
- enableBiaxial?: boolean
2296
- tooltipCallback?: (tooltipCallbackContent: TooltipProps$3) => void
2297
- customTooltip?: React__default.ComponentType<TooltipProps$3>
2298
- barSeries: ChartSeries & {
2299
- type?: 'default' | 'stacked'
2300
- }
2301
- lineSeries?: ChartSeries & {
2302
- connectNulls?: boolean
2303
- }
2304
- }
2305
- declare const ComboChart: React__default.ForwardRefExoticComponent<
2306
- ComboChartProps & React__default.RefAttributes<HTMLDivElement>
2307
- >
2308
-
2309
- type TooltipProps$2 = Pick<ChartTooltipProps$1, 'active' | 'payload'>
1362
+ data: Record<string, any>[];
1363
+ index: string;
1364
+ startEndOnly?: boolean;
1365
+ showXAxis?: boolean;
1366
+ xAxisLabel?: string;
1367
+ showGridLines?: boolean;
1368
+ intervalType?: 'preserveStartEnd' | 'equidistantPreserveStart';
1369
+ showLegend?: boolean;
1370
+ showTooltip?: boolean;
1371
+ onValueChange?: (value: ComboChartEventProps) => void;
1372
+ enableLegendSlider?: boolean;
1373
+ legendPosition?: 'left' | 'center' | 'right';
1374
+ tickGap?: number;
1375
+ enableBiaxial?: boolean;
1376
+ tooltipCallback?: (tooltipCallbackContent: TooltipProps$3) => void;
1377
+ customTooltip?: React__default.ComponentType<TooltipProps$3>;
1378
+ barSeries: ChartSeries & {
1379
+ type?: 'default' | 'stacked';
1380
+ };
1381
+ lineSeries?: ChartSeries & {
1382
+ connectNulls?: boolean;
1383
+ };
1384
+ }
1385
+ declare const ComboChart: React__default.ForwardRefExoticComponent<ComboChartProps & React__default.RefAttributes<HTMLDivElement>>;
1386
+
1387
+ type TooltipProps$2 = Pick<ChartTooltipProps$1, 'active' | 'payload'>;
2310
1388
  type PayloadItem$1 = {
2311
- category: string
2312
- value: number
2313
- color: AvailableChartColorsKeys
2314
- }
1389
+ category: string;
1390
+ value: number;
1391
+ color: AvailableChartColorsKeys;
1392
+ };
2315
1393
  interface ChartTooltipProps$1 {
2316
- active: boolean | undefined
2317
- payload: PayloadItem$1[]
2318
- valueFormatter: (value: number) => string
1394
+ active: boolean | undefined;
1395
+ payload: PayloadItem$1[];
1396
+ valueFormatter: (value: number) => string;
2319
1397
  }
2320
- type DonutChartVariant = 'donut' | 'pie'
1398
+ type DonutChartVariant = 'donut' | 'pie';
2321
1399
  type BaseEventProps$1 = {
2322
- eventType: 'sector'
2323
- categoryClicked: string
2324
- [key: string]: number | string
2325
- }
2326
- type DonutChartEventProps = BaseEventProps$1 | null | undefined
1400
+ eventType: 'sector';
1401
+ categoryClicked: string;
1402
+ [key: string]: number | string;
1403
+ };
1404
+ type DonutChartEventProps = BaseEventProps$1 | null | undefined;
2327
1405
  interface DonutChartProps extends React__default.HTMLAttributes<HTMLDivElement> {
2328
- data: Record<string, any>[]
2329
- category: string
2330
- value: string
2331
- colors?: AvailableChartColorsKeys[]
2332
- variant?: DonutChartVariant
2333
- valueFormatter?: (value: number) => string
2334
- label?: string
2335
- showLabel?: boolean
2336
- showTooltip?: boolean
2337
- onValueChange?: (value: DonutChartEventProps) => void
2338
- tooltipCallback?: (tooltipCallbackContent: TooltipProps$2) => void
2339
- customTooltip?: React__default.ComponentType<TooltipProps$2>
2340
- }
2341
- declare const DonutChart: React__default.ForwardRefExoticComponent<
2342
- DonutChartProps & React__default.RefAttributes<HTMLDivElement>
2343
- >
2344
-
2345
- type TooltipProps$1 = Pick<ChartTooltipProps, 'active' | 'payload' | 'label'>
1406
+ data: Record<string, any>[];
1407
+ category: string;
1408
+ value: string;
1409
+ colors?: AvailableChartColorsKeys[];
1410
+ variant?: DonutChartVariant;
1411
+ valueFormatter?: (value: number) => string;
1412
+ label?: string;
1413
+ showLabel?: boolean;
1414
+ showTooltip?: boolean;
1415
+ onValueChange?: (value: DonutChartEventProps) => void;
1416
+ tooltipCallback?: (tooltipCallbackContent: TooltipProps$2) => void;
1417
+ customTooltip?: React__default.ComponentType<TooltipProps$2>;
1418
+ }
1419
+ declare const DonutChart: React__default.ForwardRefExoticComponent<DonutChartProps & React__default.RefAttributes<HTMLDivElement>>;
1420
+
1421
+ type TooltipProps$1 = Pick<ChartTooltipProps, 'active' | 'payload' | 'label'>;
2346
1422
  type PayloadItem = {
2347
- category: string
2348
- value: number
2349
- index: string
2350
- color: AvailableChartColorsKeys
2351
- type?: string
2352
- payload: any
2353
- }
1423
+ category: string;
1424
+ value: number;
1425
+ index: string;
1426
+ color: AvailableChartColorsKeys;
1427
+ type?: string;
1428
+ payload: any;
1429
+ };
2354
1430
  interface ChartTooltipProps {
2355
- active: boolean | undefined
2356
- payload: PayloadItem[]
2357
- label: string
2358
- valueFormatter: (value: number) => string
1431
+ active: boolean | undefined;
1432
+ payload: PayloadItem[];
1433
+ label: string;
1434
+ valueFormatter: (value: number) => string;
2359
1435
  }
2360
1436
  type BaseEventProps = {
2361
- eventType: 'dot' | 'category'
2362
- categoryClicked: string
2363
- [key: string]: number | string
2364
- }
2365
- type LineChartEventProps = BaseEventProps | null | undefined
1437
+ eventType: 'dot' | 'category';
1438
+ categoryClicked: string;
1439
+ [key: string]: number | string;
1440
+ };
1441
+ type LineChartEventProps = BaseEventProps | null | undefined;
2366
1442
  interface LineChartProps extends React__default.HTMLAttributes<HTMLDivElement> {
2367
- data: Record<string, any>[]
2368
- index: string
2369
- categories: string[]
2370
- colors?: AvailableChartColorsKeys[]
2371
- valueFormatter?: (value: number) => string
2372
- startEndOnly?: boolean
2373
- showXAxis?: boolean
2374
- showYAxis?: boolean
2375
- showGridLines?: boolean
2376
- yAxisWidth?: number
2377
- intervalType?: 'preserveStartEnd' | 'equidistantPreserveStart'
2378
- showTooltip?: boolean
2379
- showLegend?: boolean
2380
- autoMinValue?: boolean
2381
- minValue?: number
2382
- maxValue?: number
2383
- allowDecimals?: boolean
2384
- onValueChange?: (value: LineChartEventProps) => void
2385
- enableLegendSlider?: boolean
2386
- tickGap?: number
2387
- connectNulls?: boolean
2388
- xAxisLabel?: string
2389
- yAxisLabel?: string
2390
- legendPosition?: 'left' | 'center' | 'right'
2391
- tooltipCallback?: (tooltipCallbackContent: TooltipProps$1) => void
2392
- customTooltip?: React__default.ComponentType<TooltipProps$1>
2393
- }
2394
- declare const LineChart: React__default.ForwardRefExoticComponent<
2395
- LineChartProps & React__default.RefAttributes<HTMLDivElement>
2396
- >
2397
-
2398
- declare const progressBarVariants: tailwind_variants.TVReturnType<
2399
- {
1443
+ data: Record<string, any>[];
1444
+ index: string;
1445
+ categories: string[];
1446
+ colors?: AvailableChartColorsKeys[];
1447
+ valueFormatter?: (value: number) => string;
1448
+ startEndOnly?: boolean;
1449
+ showXAxis?: boolean;
1450
+ showYAxis?: boolean;
1451
+ showGridLines?: boolean;
1452
+ yAxisWidth?: number;
1453
+ intervalType?: 'preserveStartEnd' | 'equidistantPreserveStart';
1454
+ showTooltip?: boolean;
1455
+ showLegend?: boolean;
1456
+ autoMinValue?: boolean;
1457
+ minValue?: number;
1458
+ maxValue?: number;
1459
+ allowDecimals?: boolean;
1460
+ onValueChange?: (value: LineChartEventProps) => void;
1461
+ enableLegendSlider?: boolean;
1462
+ tickGap?: number;
1463
+ connectNulls?: boolean;
1464
+ xAxisLabel?: string;
1465
+ yAxisLabel?: string;
1466
+ legendPosition?: 'left' | 'center' | 'right';
1467
+ tooltipCallback?: (tooltipCallbackContent: TooltipProps$1) => void;
1468
+ customTooltip?: React__default.ComponentType<TooltipProps$1>;
1469
+ }
1470
+ declare const LineChart: React__default.ForwardRefExoticComponent<LineChartProps & React__default.RefAttributes<HTMLDivElement>>;
1471
+
1472
+ declare const progressBarVariants: tailwind_variants.TVReturnType<{
2400
1473
  variant: {
2401
- default: {
2402
- background: string
2403
- bar: string
2404
- }
2405
- neutral: {
2406
- background: string
2407
- bar: string
2408
- }
2409
- warning: {
2410
- background: string
2411
- bar: string
2412
- }
2413
- error: {
2414
- background: string
2415
- bar: string
2416
- }
2417
- success: {
2418
- background: string
2419
- bar: string
2420
- }
2421
- }
2422
- },
2423
- {
2424
- background: string
2425
- bar: string
2426
- },
2427
- undefined,
2428
- {
1474
+ default: {
1475
+ background: string;
1476
+ bar: string;
1477
+ };
1478
+ neutral: {
1479
+ background: string;
1480
+ bar: string;
1481
+ };
1482
+ warning: {
1483
+ background: string;
1484
+ bar: string;
1485
+ };
1486
+ error: {
1487
+ background: string;
1488
+ bar: string;
1489
+ };
1490
+ success: {
1491
+ background: string;
1492
+ bar: string;
1493
+ };
1494
+ };
1495
+ }, {
1496
+ background: string;
1497
+ bar: string;
1498
+ }, undefined, {
2429
1499
  variant: {
2430
- default: {
2431
- background: string
2432
- bar: string
2433
- }
2434
- neutral: {
2435
- background: string
2436
- bar: string
2437
- }
2438
- warning: {
2439
- background: string
2440
- bar: string
2441
- }
2442
- error: {
2443
- background: string
2444
- bar: string
2445
- }
2446
- success: {
2447
- background: string
2448
- bar: string
2449
- }
2450
- }
2451
- },
2452
- {
2453
- background: string
2454
- bar: string
2455
- },
2456
- tailwind_variants.TVReturnType<
2457
- {
2458
- variant: {
2459
1500
  default: {
2460
- background: string
2461
- bar: string
2462
- }
1501
+ background: string;
1502
+ bar: string;
1503
+ };
2463
1504
  neutral: {
2464
- background: string
2465
- bar: string
2466
- }
1505
+ background: string;
1506
+ bar: string;
1507
+ };
2467
1508
  warning: {
2468
- background: string
2469
- bar: string
2470
- }
1509
+ background: string;
1510
+ bar: string;
1511
+ };
2471
1512
  error: {
2472
- background: string
2473
- bar: string
2474
- }
1513
+ background: string;
1514
+ bar: string;
1515
+ };
2475
1516
  success: {
2476
- background: string
2477
- bar: string
2478
- }
2479
- }
2480
- },
2481
- {
2482
- background: string
2483
- bar: string
2484
- },
2485
- undefined,
2486
- unknown,
2487
- unknown,
2488
- undefined
2489
- >
2490
- >
2491
- interface ProgressBarProps
2492
- extends React__default.HTMLProps<HTMLDivElement>,
2493
- VariantProps$1<typeof progressBarVariants> {
2494
- value?: number
2495
- max?: number
2496
- showAnimation?: boolean
2497
- label?: string
2498
- }
2499
- declare const ProgressBar: React__default.ForwardRefExoticComponent<
2500
- Omit<ProgressBarProps, 'ref'> & React__default.RefAttributes<HTMLDivElement>
2501
- >
2502
-
2503
- declare const progressCircleVariants: tailwind_variants.TVReturnType<
2504
- {
1517
+ background: string;
1518
+ bar: string;
1519
+ };
1520
+ };
1521
+ }, {
1522
+ background: string;
1523
+ bar: string;
1524
+ }, tailwind_variants.TVReturnType<{
1525
+ variant: {
1526
+ default: {
1527
+ background: string;
1528
+ bar: string;
1529
+ };
1530
+ neutral: {
1531
+ background: string;
1532
+ bar: string;
1533
+ };
1534
+ warning: {
1535
+ background: string;
1536
+ bar: string;
1537
+ };
1538
+ error: {
1539
+ background: string;
1540
+ bar: string;
1541
+ };
1542
+ success: {
1543
+ background: string;
1544
+ bar: string;
1545
+ };
1546
+ };
1547
+ }, {
1548
+ background: string;
1549
+ bar: string;
1550
+ }, undefined, unknown, unknown, undefined>>;
1551
+ interface ProgressBarProps extends React__default.HTMLProps<HTMLDivElement>, VariantProps$1<typeof progressBarVariants> {
1552
+ value?: number;
1553
+ max?: number;
1554
+ showAnimation?: boolean;
1555
+ label?: string;
1556
+ }
1557
+ declare const ProgressBar: React__default.ForwardRefExoticComponent<Omit<ProgressBarProps, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
1558
+
1559
+ declare const progressCircleVariants: tailwind_variants.TVReturnType<{
2505
1560
  variant: {
2506
- default: {
2507
- background: string
2508
- circle: string
2509
- }
2510
- neutral: {
2511
- background: string
2512
- circle: string
2513
- }
2514
- warning: {
2515
- background: string
2516
- circle: string
2517
- }
2518
- error: {
2519
- background: string
2520
- circle: string
2521
- }
2522
- success: {
2523
- background: string
2524
- circle: string
2525
- }
2526
- }
2527
- },
2528
- {
2529
- background: string
2530
- circle: string
2531
- },
2532
- undefined,
2533
- {
1561
+ default: {
1562
+ background: string;
1563
+ circle: string;
1564
+ };
1565
+ neutral: {
1566
+ background: string;
1567
+ circle: string;
1568
+ };
1569
+ warning: {
1570
+ background: string;
1571
+ circle: string;
1572
+ };
1573
+ error: {
1574
+ background: string;
1575
+ circle: string;
1576
+ };
1577
+ success: {
1578
+ background: string;
1579
+ circle: string;
1580
+ };
1581
+ };
1582
+ }, {
1583
+ background: string;
1584
+ circle: string;
1585
+ }, undefined, {
2534
1586
  variant: {
2535
- default: {
2536
- background: string
2537
- circle: string
2538
- }
2539
- neutral: {
2540
- background: string
2541
- circle: string
2542
- }
2543
- warning: {
2544
- background: string
2545
- circle: string
2546
- }
2547
- error: {
2548
- background: string
2549
- circle: string
2550
- }
2551
- success: {
2552
- background: string
2553
- circle: string
2554
- }
2555
- }
2556
- },
2557
- {
2558
- background: string
2559
- circle: string
2560
- },
2561
- tailwind_variants.TVReturnType<
2562
- {
2563
- variant: {
2564
1587
  default: {
2565
- background: string
2566
- circle: string
2567
- }
1588
+ background: string;
1589
+ circle: string;
1590
+ };
2568
1591
  neutral: {
2569
- background: string
2570
- circle: string
2571
- }
1592
+ background: string;
1593
+ circle: string;
1594
+ };
2572
1595
  warning: {
2573
- background: string
2574
- circle: string
2575
- }
1596
+ background: string;
1597
+ circle: string;
1598
+ };
2576
1599
  error: {
2577
- background: string
2578
- circle: string
2579
- }
1600
+ background: string;
1601
+ circle: string;
1602
+ };
2580
1603
  success: {
2581
- background: string
2582
- circle: string
2583
- }
2584
- }
2585
- },
2586
- {
2587
- background: string
2588
- circle: string
2589
- },
2590
- undefined,
2591
- unknown,
2592
- unknown,
2593
- undefined
2594
- >
2595
- >
2596
- interface ProgressCircleProps
2597
- extends Omit<React__default.SVGProps<SVGSVGElement>, 'value'>,
2598
- VariantProps$1<typeof progressCircleVariants> {
2599
- value?: number
2600
- max?: number
2601
- showAnimation?: boolean
2602
- radius?: number
2603
- strokeWidth?: number
2604
- children?: React__default.ReactNode
2605
- }
2606
- declare const ProgressCircle: React__default.ForwardRefExoticComponent<
2607
- Omit<ProgressCircleProps, 'ref'> & React__default.RefAttributes<SVGSVGElement>
2608
- >
1604
+ background: string;
1605
+ circle: string;
1606
+ };
1607
+ };
1608
+ }, {
1609
+ background: string;
1610
+ circle: string;
1611
+ }, tailwind_variants.TVReturnType<{
1612
+ variant: {
1613
+ default: {
1614
+ background: string;
1615
+ circle: string;
1616
+ };
1617
+ neutral: {
1618
+ background: string;
1619
+ circle: string;
1620
+ };
1621
+ warning: {
1622
+ background: string;
1623
+ circle: string;
1624
+ };
1625
+ error: {
1626
+ background: string;
1627
+ circle: string;
1628
+ };
1629
+ success: {
1630
+ background: string;
1631
+ circle: string;
1632
+ };
1633
+ };
1634
+ }, {
1635
+ background: string;
1636
+ circle: string;
1637
+ }, undefined, unknown, unknown, undefined>>;
1638
+ interface ProgressCircleProps extends Omit<React__default.SVGProps<SVGSVGElement>, 'value'>, VariantProps$1<typeof progressCircleVariants> {
1639
+ value?: number;
1640
+ max?: number;
1641
+ showAnimation?: boolean;
1642
+ radius?: number;
1643
+ strokeWidth?: number;
1644
+ children?: React__default.ReactNode;
1645
+ }
1646
+ declare const ProgressCircle: React__default.ForwardRefExoticComponent<Omit<ProgressCircleProps, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
2609
1647
 
2610
1648
  interface SparkAreaChartProps extends React__default.HTMLAttributes<HTMLDivElement> {
2611
- data: Record<string, any>[]
2612
- categories: string[]
2613
- index: string
2614
- colors?: AvailableChartColorsKeys[]
2615
- autoMinValue?: boolean
2616
- minValue?: number
2617
- maxValue?: number
2618
- connectNulls?: boolean
2619
- type?: 'default' | 'stacked' | 'percent'
2620
- fill?: 'gradient' | 'solid' | 'none'
2621
- }
2622
- declare const SparkAreaChart: React__default.ForwardRefExoticComponent<
2623
- SparkAreaChartProps & React__default.RefAttributes<HTMLDivElement>
2624
- >
1649
+ data: Record<string, any>[];
1650
+ categories: string[];
1651
+ index: string;
1652
+ colors?: AvailableChartColorsKeys[];
1653
+ autoMinValue?: boolean;
1654
+ minValue?: number;
1655
+ maxValue?: number;
1656
+ connectNulls?: boolean;
1657
+ type?: 'default' | 'stacked' | 'percent';
1658
+ fill?: 'gradient' | 'solid' | 'none';
1659
+ }
1660
+ declare const SparkAreaChart: React__default.ForwardRefExoticComponent<SparkAreaChartProps & React__default.RefAttributes<HTMLDivElement>>;
2625
1661
  interface SparkLineChartProps extends React__default.HTMLAttributes<HTMLDivElement> {
2626
- data: Record<string, any>[]
2627
- categories: string[]
2628
- index: string
2629
- colors?: AvailableChartColorsKeys[]
2630
- autoMinValue?: boolean
2631
- minValue?: number
2632
- maxValue?: number
2633
- connectNulls?: boolean
2634
- }
2635
- declare const SparkLineChart: React__default.ForwardRefExoticComponent<
2636
- SparkLineChartProps & React__default.RefAttributes<HTMLDivElement>
2637
- >
1662
+ data: Record<string, any>[];
1663
+ categories: string[];
1664
+ index: string;
1665
+ colors?: AvailableChartColorsKeys[];
1666
+ autoMinValue?: boolean;
1667
+ minValue?: number;
1668
+ maxValue?: number;
1669
+ connectNulls?: boolean;
1670
+ }
1671
+ declare const SparkLineChart: React__default.ForwardRefExoticComponent<SparkLineChartProps & React__default.RefAttributes<HTMLDivElement>>;
2638
1672
  interface BarChartProps extends React__default.HTMLAttributes<HTMLDivElement> {
2639
- data: Record<string, any>[]
2640
- index: string
2641
- categories: string[]
2642
- colors?: AvailableChartColorsKeys[]
2643
- autoMinValue?: boolean
2644
- minValue?: number
2645
- maxValue?: number
2646
- barCategoryGap?: string | number
2647
- type?: 'default' | 'stacked' | 'percent'
2648
- }
2649
- declare const SparkBarChart: React__default.ForwardRefExoticComponent<
2650
- BarChartProps & React__default.RefAttributes<HTMLDivElement>
2651
- >
1673
+ data: Record<string, any>[];
1674
+ index: string;
1675
+ categories: string[];
1676
+ colors?: AvailableChartColorsKeys[];
1677
+ autoMinValue?: boolean;
1678
+ minValue?: number;
1679
+ maxValue?: number;
1680
+ barCategoryGap?: string | number;
1681
+ type?: 'default' | 'stacked' | 'percent';
1682
+ }
1683
+ declare const SparkBarChart: React__default.ForwardRefExoticComponent<BarChartProps & React__default.RefAttributes<HTMLDivElement>>;
2652
1684
 
2653
1685
  interface TrackerBlockProps {
2654
- key?: string | number
2655
- color?: string
2656
- tooltip?: string
2657
- hoverEffect?: boolean
2658
- defaultBackgroundColor?: string
1686
+ key?: string | number;
1687
+ color?: string;
1688
+ tooltip?: string;
1689
+ hoverEffect?: boolean;
1690
+ defaultBackgroundColor?: string;
2659
1691
  }
2660
1692
  interface TrackerProps extends React__default.HTMLAttributes<HTMLDivElement> {
2661
- data: TrackerBlockProps[]
2662
- defaultBackgroundColor?: string
2663
- hoverEffect?: boolean
2664
- }
2665
- declare const Tracker: React__default.ForwardRefExoticComponent<
2666
- TrackerProps & React__default.RefAttributes<HTMLDivElement>
2667
- >
2668
-
2669
- interface TooltipProps
2670
- extends Omit<TooltipPrimitive.TooltipContentProps, 'content' | 'onClick'>,
2671
- Pick<TooltipPrimitive.TooltipProps, 'open' | 'defaultOpen' | 'onOpenChange' | 'delayDuration'> {
2672
- content: React__default.ReactNode
2673
- onClick?: React__default.MouseEventHandler<HTMLButtonElement>
2674
- side?: 'bottom' | 'left' | 'top' | 'right'
2675
- showArrow?: boolean
2676
- }
2677
- declare const Tooltip: React__default.ForwardRefExoticComponent<
2678
- TooltipProps & React__default.RefAttributes<HTMLDivElement>
2679
- >
2680
-
2681
- declare function useIsMobile(): boolean
2682
-
2683
- declare function useDisableToc(): void
2684
-
2685
- declare const useOnWindowResize: (handler: () => void) => void
2686
-
2687
- declare function usePageHeadings(): HeadingNode[]
2688
-
2689
- declare function cn(...inputs: ClassValue[]): string
2690
- declare function truncate(text: string, maxLength: number): string
2691
- declare function kebabCase(str: string): string
2692
- declare function camelCase(str: string): string
2693
- declare function humaniseVariant(key: string): string
2694
- declare const focusInput: string[]
2695
- declare const hasErrorInput: string[]
2696
- declare const focusRing: string[]
2697
-
2698
- declare function getNodeText(node: HTMLElement | SimpleNode): string
2699
- declare function domToSimple(node: Node): SimpleNode
2700
- declare function getHeadings(slugify?: _sindresorhus_slugify.CountableSlugify): HeadingNode[]
2701
-
2702
- declare const shades: string[]
2703
- declare const darkenColor: (color: string, factor?: number) => string
2704
- declare const lightenColor: (color: string, factor?: number) => string
2705
- declare const addStartStopToColorArray: (colorArray: string[]) => string[]
2706
- declare const interpolateColors: (color1: string, color2: string, steps: number) => ColorData[]
2707
- declare const GenerateInterpolatedColors: (colorArray: string[]) => ColorData[]
2708
- declare const getSurroundingColors: (colors: ColorData[], themeColor: string) => ColorData[]
2709
- declare const colorDataArray: (
2710
- colorsToUse: ColorData[],
2711
- paletteName: string,
2712
- format: Format,
2713
- output: Output,
2714
- variant: Variant,
2715
- ) => string[]
2716
- declare function createColorArray(
2717
- colorArray: ColorData[],
2718
- name: string,
2719
- type: string,
2720
- ): {
2721
- name: string
2722
- colors: {
2723
- name?: string | undefined
2724
- oklch: string
2725
- hex: string
2726
- rgb: string
2727
- hsl: string
2728
- token: string
2729
- }[]
2730
- }[]
2731
- declare const isLightColor: (hexColor: string) => boolean
2732
- declare const renderColorOutput: (
2733
- colorsToUse: ColorData[],
2734
- paletteName: string,
2735
- format: Format,
2736
- output: Output,
2737
- variant: Variant,
2738
- ) => string
2739
- declare const renderColorOutputToDTFM: (
2740
- colorsToUse: ColorData[],
2741
- paletteName: string,
2742
- format: Format,
2743
- variant: Variant,
2744
- ) => string
2745
- declare const themeIndices: number[]
2746
- declare const themeTokens: number[]
2747
- declare const generateColorThemes: (colors: ColorThemes) => ColorThemes
2748
- declare function oklchConverter(hex: string): string
2749
- declare const getColorValue: (
2750
- color: {
2751
- oklch: string
2752
- hex: string
2753
- rgb: string
2754
- hsl: string
2755
- },
2756
- colorFormat: 'oklch' | 'rgb' | 'hsl' | 'hex',
2757
- ) => string
2758
- declare const createColorData: (baseColors: string[], format: Format) => (string | null)[]
2759
-
2760
- declare const brand: Record<string, string[]>
2761
- declare const aboriginal: Record<string, string[]>
2762
- declare const semantic: Record<string, string[]>
2763
- declare const allPalettes: Palette[]
2764
- declare const colors: ColorThemes
2765
- declare const colorThemes: ColorThemes
2766
-
2767
- export {
2768
- Accordion,
2769
- AccordionContent,
2770
- AccordionItem,
2771
- AccordionTrigger,
2772
- Alert,
2773
- AlertDescription,
2774
- AlertTitle,
2775
- AreaChart,
2776
- type AreaChartEventProps,
2777
- AspectRatio,
2778
- AvailableChartColors,
2779
- type AvailableChartColorsKeys,
2780
- Avatar,
2781
- AvatarFallback,
2782
- AvatarImage,
2783
- Badge,
2784
- BadgeButton,
2785
- BarChart,
2786
- type BarChartEventProps,
2787
- BarList,
2788
- type BarListProps,
2789
- type BaseCodeData,
2790
- BaseColorSwatches,
2791
- Breadcrumb,
2792
- BreadcrumbEllipsis,
2793
- BreadcrumbItem,
2794
- BreadcrumbLink,
2795
- BreadcrumbList,
2796
- BreadcrumbPage,
2797
- BreadcrumbSeparator,
2798
- Breadcrumbs,
2799
- type BreadcrumbsProps,
2800
- Button,
2801
- Card,
2802
- CardAction,
2803
- CardContent,
2804
- CardDescription,
2805
- CardFooter,
2806
- CardHeader,
2807
- CardTitle,
2808
- CategoryBar,
2809
- type CategoryBarProps,
2810
- ChartContainer,
2811
- ChartLegend,
2812
- ChartLegendContent,
2813
- ChartStyle,
2814
- ChartTooltip,
2815
- ChartTooltipContent,
2816
- Checkbox,
2817
- Code,
2818
- type CodeData,
2819
- CodeDemo,
2820
- type CodeDemoProps,
2821
- CodeHighlight,
2822
- type CodeHighlightProps,
2823
- type CodeItem,
2824
- type CodeVariant,
2825
- Collapsible,
2826
- CollapsibleContent,
2827
- CollapsibleTrigger,
2828
- type Color,
2829
- ColorCard,
2830
- type ColorCardProps,
2831
- type ColorData,
2832
- type ColorProperty,
2833
- ColorSwatches,
2834
- type ColorSwatchesProps,
2835
- type ColorTheme,
2836
- type ColorThemes,
2837
- type ColorUtility,
2838
- type ColorsDisplayProps,
2839
- type ColourOutputProps,
2840
- ColourScale,
2841
- type ColourScaleProps,
2842
- ComboChart,
2843
- type ComboChartEventProps,
2844
- Command,
2845
- CommandDialog,
2846
- CommandEmpty,
2847
- CommandGroup,
2848
- CommandInput,
2849
- CommandItem,
2850
- CommandList,
2851
- CommandSeparator,
2852
- CommandShortcut,
2853
- ContextMenu,
2854
- ContextMenuCheckboxItem,
2855
- ContextMenuContent,
2856
- ContextMenuGroup,
2857
- ContextMenuItem,
2858
- ContextMenuLabel,
2859
- ContextMenuPortal,
2860
- ContextMenuRadioGroup,
2861
- ContextMenuRadioItem,
2862
- ContextMenuSeparator,
2863
- ContextMenuShortcut,
2864
- ContextMenuSub,
2865
- ContextMenuSubContent,
2866
- ContextMenuSubTrigger,
2867
- ContextMenuTrigger,
2868
- type DataType,
2869
- type DataTypeSelectProps,
2870
- type DesignTokensShades,
2871
- type DesignTokensTheme,
2872
- Dialog,
2873
- DialogClose,
2874
- DialogContent,
2875
- DialogDescription,
2876
- DialogFooter,
2877
- DialogHeader,
2878
- DialogOverlay,
2879
- DialogPortal,
2880
- DialogTitle,
2881
- DialogTrigger,
2882
- DonutChart,
2883
- type DonutChartEventProps,
2884
- Drawer,
2885
- DrawerClose,
2886
- DrawerContent,
2887
- DrawerDescription,
2888
- DrawerFooter,
2889
- DrawerHeader,
2890
- DrawerOverlay,
2891
- DrawerPortal,
2892
- DrawerTitle,
2893
- DrawerTrigger,
2894
- DropdownMenu,
2895
- DropdownMenuCheckboxItem,
2896
- DropdownMenuContent,
2897
- DropdownMenuGroup,
2898
- DropdownMenuItem,
2899
- DropdownMenuLabel,
2900
- DropdownMenuPortal,
2901
- DropdownMenuRadioGroup,
2902
- DropdownMenuRadioItem,
2903
- DropdownMenuSeparator,
2904
- DropdownMenuShortcut,
2905
- DropdownMenuSub,
2906
- DropdownMenuSubContent,
2907
- DropdownMenuSubTrigger,
2908
- DropdownMenuTrigger,
2909
- DynamicFavicon,
2910
- ExpandableSearch,
2911
- ExpandableSearchField,
2912
- Footer,
2913
- FooterAcknowledgement,
2914
- FooterLegalLinks,
2915
- FooterSmallPrint,
2916
- FooterSocialLink,
2917
- Form,
2918
- FormControl,
2919
- FormDescription,
2920
- FormField,
2921
- FormItem,
2922
- FormLabel,
2923
- FormMessage,
2924
- type FormStatus$1 as FormStatus,
2925
- type FormStatusHook,
2926
- type FormStore,
2927
- type Format,
2928
- FormatToggle,
2929
- type FormatToggleProps,
2930
- GenerateInterpolatedColors,
2931
- Header,
2932
- Heading,
2933
- type HeadingNode,
2934
- type HeadingTypeProps,
2935
- type IFrameData,
2936
- type IFrameMap,
2937
- type IFrameOptions,
2938
- type IFrameProps,
2939
- type IconProps,
2940
- Icons,
2941
- Input,
2942
- Label,
2943
- type Language,
2944
- type LayoutProps,
2945
- LineChart,
2946
- type LineChartEventProps,
2947
- Link,
2948
- _List as List,
2949
- Logo,
2950
- MainNavigation,
2951
- Masthead,
2952
- MegaMenu,
2953
- Menubar,
2954
- MenubarCheckboxItem,
2955
- MenubarContent,
2956
- MenubarGroup,
2957
- MenubarItem,
2958
- MenubarLabel,
2959
- MenubarMenu,
2960
- MenubarPortal,
2961
- MenubarRadioGroup,
2962
- MenubarRadioItem,
2963
- MenubarSeparator,
2964
- MenubarShortcut,
2965
- MenubarSub,
2966
- MenubarSubContent,
2967
- MenubarSubTrigger,
2968
- MenubarTrigger,
2969
- Navigation,
2970
- type NavigationLink,
2971
- NavigationMenu,
2972
- NavigationMenuContent,
2973
- NavigationMenuIndicator,
2974
- NavigationMenuItem,
2975
- NavigationMenuLink,
2976
- NavigationMenuList,
2977
- NavigationMenuTrigger,
2978
- NavigationMenuViewport,
2979
- type NavigationSection,
2980
- type Output,
2981
- Pagination,
2982
- PaginationContent,
2983
- PaginationEllipsis,
2984
- PaginationItem,
2985
- PaginationLink,
2986
- PaginationNext,
2987
- PaginationPrevious,
2988
- type Palette,
2989
- Popover,
2990
- PopoverAnchor,
2991
- PopoverContent,
2992
- PopoverTrigger,
2993
- PreWithCopy,
2994
- PrevNextLinks,
2995
- PrevNextLinksPageLink,
2996
- type PrevNextLinksProps,
2997
- Progress,
2998
- ProgressBar,
2999
- type ProgressBarProps,
3000
- ProgressCircle,
3001
- type ProgressCircleProps,
3002
- RadioGroup,
3003
- RadioGroupItem,
3004
- ResizableHandle,
3005
- ResizablePanel,
3006
- ResizablePanelGroup,
3007
- ScrollArea,
3008
- ScrollBar,
3009
- Select,
3010
- SelectContent,
3011
- SelectGroup,
3012
- SelectItem,
3013
- SelectLabel,
3014
- SelectScrollDownButton,
3015
- SelectScrollUpButton,
3016
- SelectSeparator,
3017
- SelectTrigger,
3018
- SelectValue,
3019
- Separator,
3020
- Sheet,
3021
- SheetClose,
3022
- SheetContent,
3023
- SheetDescription,
3024
- SheetFooter,
3025
- SheetHeader,
3026
- SheetTitle,
3027
- SheetTrigger,
3028
- SidebarLink,
3029
- type SidebarLinkProps,
3030
- SidebarNavigation,
3031
- type SimpleNode,
3032
- type SingleCodeData,
3033
- SiteSearch,
3034
- Skeleton,
3035
- Slider,
3036
- Social,
3037
- SparkAreaChart,
3038
- SparkBarChart,
3039
- SparkLineChart,
3040
- Spinner,
3041
- StepIndicator,
3042
- StepNavigation,
3043
- Strong,
3044
- type StructuredColor,
3045
- Switch,
3046
- Table,
3047
- TableBody,
3048
- TableCaption,
3049
- TableCell,
3050
- TableFooter,
3051
- TableHead,
3052
- TableHeader,
3053
- TableOfContents,
3054
- type TableOfContentsItem,
3055
- type TableOfContentsProps,
3056
- TableRow,
3057
- Tabs,
3058
- TabsContent,
3059
- TabsList,
3060
- TabsTrigger,
3061
- Text,
3062
- TextLink,
3063
- type TextTypeProps,
3064
- Textarea,
3065
- type ThemeCategory,
3066
- ThemeColorPalette,
3067
- type ThemeMessage,
3068
- type ThemeOption,
3069
- ThemeProvider,
3070
- ThemeSelector,
3071
- type ThemeSelectorDropDownProps,
3072
- type ThemeSelectorProps,
3073
- ThemeSwitcher,
3074
- Toaster,
3075
- TocContext,
3076
- type TocContextType,
3077
- TocProvider,
3078
- Toggle,
3079
- ToggleGroup,
3080
- ToggleGroupItem,
3081
- Tooltip$1 as Tooltip,
3082
- TooltipContent,
3083
- type TooltipProps$5 as TooltipProps,
3084
- TooltipProvider,
3085
- TooltipTrigger,
3086
- TopLevel,
3087
- TouchTarget,
3088
- Tracker,
3089
- type TrackerBlockProps,
3090
- Tooltip as TremorTooltip,
3091
- type TypeExampleProps,
3092
- type TypeSpecs,
3093
- type Variant,
3094
- type VariantCodeData,
3095
- type Variants,
3096
- type View,
3097
- type ViewMode,
3098
- ViewToggle,
3099
- type ViewToggleProps,
3100
- aboriginal,
3101
- addStartStopToColorArray,
3102
- allPalettes,
3103
- badgeVariants,
3104
- brand,
3105
- buttonVariants,
3106
- camelCase,
3107
- chartColors,
3108
- cn,
3109
- type colorCategories,
3110
- colorDataArray,
3111
- colorThemes,
3112
- colors,
3113
- constructCategoryColors,
3114
- createColorArray,
3115
- createColorData,
3116
- createFormStore,
3117
- darkenColor,
3118
- domToSimple,
3119
- focusInput,
3120
- focusRing,
3121
- generateColorThemes,
3122
- getColorClassName,
3123
- getColorValue,
3124
- getHeadings,
3125
- getNodeText,
3126
- getSurroundingColors,
3127
- getYAxisDomain,
3128
- hasErrorInput,
3129
- hasOnlyOneValueForKey,
3130
- humaniseVariant,
3131
- interpolateColors,
3132
- isLightColor,
3133
- kebabCase,
3134
- languages,
3135
- lightenColor,
3136
- navigationMenuTriggerStyle,
3137
- oklchConverter,
3138
- progressBarVariants,
3139
- renderColorOutput,
3140
- renderColorOutputToDTFM,
3141
- semantic,
3142
- shades,
3143
- themeIndices,
3144
- themeTokens,
3145
- toggleVariants,
3146
- truncate,
3147
- useDisableToc,
3148
- useFormField,
3149
- useIsMobile,
3150
- useOnWindowResize,
3151
- usePageHeadings,
3152
- useToc,
3153
- }
1693
+ data: TrackerBlockProps[];
1694
+ defaultBackgroundColor?: string;
1695
+ hoverEffect?: boolean;
1696
+ }
1697
+ declare const Tracker: React__default.ForwardRefExoticComponent<TrackerProps & React__default.RefAttributes<HTMLDivElement>>;
1698
+
1699
+ interface TooltipProps extends Omit<TooltipPrimitive.TooltipContentProps, 'content' | 'onClick'>, Pick<TooltipPrimitive.TooltipProps, 'open' | 'defaultOpen' | 'onOpenChange' | 'delayDuration'> {
1700
+ content: React__default.ReactNode;
1701
+ onClick?: React__default.MouseEventHandler<HTMLButtonElement>;
1702
+ side?: 'bottom' | 'left' | 'top' | 'right';
1703
+ showArrow?: boolean;
1704
+ }
1705
+ declare const Tooltip: React__default.ForwardRefExoticComponent<TooltipProps & React__default.RefAttributes<HTMLDivElement>>;
1706
+
1707
+ declare function AlertDialog({ ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Root>): react_jsx_runtime.JSX.Element;
1708
+ declare function AlertDialogTrigger({ ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
1709
+ declare function AlertDialogPortal({ ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Portal>): react_jsx_runtime.JSX.Element;
1710
+ declare function AlertDialogOverlay({ className, ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Overlay>): react_jsx_runtime.JSX.Element;
1711
+ declare function AlertDialogContent({ className, ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Content>): react_jsx_runtime.JSX.Element;
1712
+ declare function AlertDialogHeader({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
1713
+ declare function AlertDialogFooter({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
1714
+ declare function AlertDialogTitle({ className, ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Title>): react_jsx_runtime.JSX.Element;
1715
+ declare function AlertDialogDescription({ className, ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Description>): react_jsx_runtime.JSX.Element;
1716
+ declare function AlertDialogAction({ className, ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Action>): react_jsx_runtime.JSX.Element;
1717
+ declare function AlertDialogCancel({ className, ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Cancel>): react_jsx_runtime.JSX.Element;
1718
+
1719
+ type ButtonColor = React$1.ComponentProps<typeof Button>['color'];
1720
+ declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, ...props }: React$1.ComponentProps<typeof DayPicker> & {
1721
+ buttonVariant?: React$1.ComponentProps<typeof Button>['variant'];
1722
+ buttonColor?: ButtonColor;
1723
+ }): react_jsx_runtime.JSX.Element;
1724
+ declare function CalendarDayButton({ className, day, modifiers, children, color, ...props }: React$1.ComponentProps<typeof DayButton> & {
1725
+ color: ButtonColor;
1726
+ }): react_jsx_runtime.JSX.Element;
1727
+
1728
+ type CarouselApi = UseEmblaCarouselType[1];
1729
+ type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
1730
+ type CarouselOptions = UseCarouselParameters[0];
1731
+ type CarouselPlugin = UseCarouselParameters[1];
1732
+ type CarouselProps = {
1733
+ opts?: CarouselOptions;
1734
+ plugins?: CarouselPlugin;
1735
+ orientation?: 'horizontal' | 'vertical';
1736
+ setApi?: (api: CarouselApi) => void;
1737
+ };
1738
+ declare function Carousel({ orientation, opts, setApi, plugins, className, children, ...props }: React$1.ComponentProps<'div'> & CarouselProps): react_jsx_runtime.JSX.Element;
1739
+ declare function CarouselContent({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
1740
+ declare function CarouselItem({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
1741
+ declare function CarouselPrevious({ className, variant, size, ...props }: React$1.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
1742
+ declare function CarouselNext({ className, variant, size, ...props }: React$1.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
1743
+
1744
+ declare function HoverCard({ ...props }: React$1.ComponentProps<typeof HoverCardPrimitive.Root>): react_jsx_runtime.JSX.Element;
1745
+ declare function HoverCardTrigger({ ...props }: React$1.ComponentProps<typeof HoverCardPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
1746
+ declare function HoverCardContent({ className, align, sideOffset, ...props }: React$1.ComponentProps<typeof HoverCardPrimitive.Content>): react_jsx_runtime.JSX.Element;
1747
+
1748
+ declare function InputOTP({ className, containerClassName, ...props }: React$1.ComponentProps<typeof OTPInput> & {
1749
+ containerClassName?: string;
1750
+ }): react_jsx_runtime.JSX.Element;
1751
+ declare function InputOTPGroup({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
1752
+ declare function InputOTPSlot({ index, className, ...props }: React$1.ComponentProps<'div'> & {
1753
+ index: number;
1754
+ }): react_jsx_runtime.JSX.Element;
1755
+ declare function InputOTPSeparator({ ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
1756
+
1757
+ declare function Prose<T extends React.ElementType = 'div'>({ as, className, ...props }: React.ComponentPropsWithoutRef<T> & {
1758
+ as?: T;
1759
+ }): react_jsx_runtime.JSX.Element;
1760
+
1761
+ declare function useIsMobile(): boolean;
1762
+
1763
+ declare function useDisableToc(): void;
1764
+
1765
+ declare const useOnWindowResize: (handler: () => void) => void;
1766
+
1767
+ declare function usePageHeadings(): HeadingNode[];
1768
+
1769
+ declare function useActiveSectionObserver(tableOfContents: TableOfContentsItem[]): string | null;
1770
+
1771
+ declare function useSelectorHeight(selector?: string): number;
1772
+
1773
+ declare function cn(...inputs: ClassValue[]): string;
1774
+ declare function truncate(text: string, maxLength: number): string;
1775
+ declare function kebabCase(str: string): string;
1776
+ declare function camelCase(str: string): string;
1777
+ declare function humaniseVariant(key: string): string;
1778
+ declare const focusInput: string[];
1779
+ declare const hasErrorInput: string[];
1780
+ declare const focusRing: string[];
1781
+
1782
+ declare function getNodeText(node: HTMLElement | SimpleNode): string;
1783
+ declare function domToSimple(node: Node): SimpleNode;
1784
+ declare function getHeadings(slugify?: _sindresorhus_slugify.CountableSlugify): HeadingNode[];
1785
+
1786
+ declare const shades: string[];
1787
+ declare const darkenColor: (color: string, factor?: number) => string;
1788
+ declare const lightenColor: (color: string, factor?: number) => string;
1789
+ declare const addStartStopToColorArray: (colorArray: string[]) => string[];
1790
+ declare const interpolateColors: (color1: string, color2: string, steps: number) => ColorData[];
1791
+ declare const GenerateInterpolatedColors: (colorArray: string[]) => ColorData[];
1792
+ declare const getSurroundingColors: (colors: ColorData[], themeColor: string) => ColorData[];
1793
+ declare const colorDataArray: (colorsToUse: ColorData[], paletteName: string, format: Format, output: Output, variant: Variant) => string[];
1794
+ declare function createColorArray(colorArray: ColorData[], name: string, type: string): {
1795
+ name: string;
1796
+ colors: {
1797
+ name?: string | undefined;
1798
+ oklch: string;
1799
+ hex: string;
1800
+ rgb: string;
1801
+ hsl: string;
1802
+ token: string;
1803
+ }[];
1804
+ }[];
1805
+ declare const isLightColor: (hexColor: string) => boolean;
1806
+ declare const renderColorOutput: (colorsToUse: ColorData[], paletteName: string, format: Format, output: Output, variant: Variant) => string;
1807
+ declare const renderColorOutputToDTFM: (colorsToUse: ColorData[], paletteName: string, format: Format, variant: Variant) => string;
1808
+ declare const themeIndices: number[];
1809
+ declare const themeTokens: number[];
1810
+ declare const generateColorThemes: (colors: ColorThemes) => ColorThemes;
1811
+ declare function oklchConverter(hex: string): string;
1812
+ declare const getColorValue: (color: {
1813
+ oklch: string;
1814
+ hex: string;
1815
+ rgb: string;
1816
+ hsl: string;
1817
+ }, colorFormat: "oklch" | "rgb" | "hsl" | "hex") => string;
1818
+ declare const createColorData: (baseColors: string[], format: Format) => (string | null)[];
1819
+
1820
+ declare const brand: Record<string, string[]>;
1821
+ declare const aboriginal: Record<string, string[]>;
1822
+ declare const semantic: Record<string, string[]>;
1823
+ declare const allPalettes: Palette[];
1824
+ declare const colors: ColorThemes;
1825
+ declare const colorThemes: ColorThemes;
1826
+
1827
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AreaChart, type AreaChartEventProps, AspectRatio, AvailableChartColors, type AvailableChartColorsKeys, Avatar, AvatarFallback, AvatarImage, Badge, BadgeButton, BarChart, type BarChartEventProps, BarList, type BarListProps, type BaseCodeData, BaseColorSwatches, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Breadcrumbs, type BreadcrumbsProps, Button, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, CategoryBar, type CategoryBarProps, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Code, type CodeData, CodeDemo, type CodeDemoProps, CodeHighlight, type CodeHighlightProps, type CodeItem, type CodeVariant, Collapsible, CollapsibleContent, CollapsibleTrigger, type Color, ColorCard, type ColorCardProps, type ColorData, type ColorProperty, ColorSwatches, type ColorSwatchesProps, type ColorTheme, type ColorThemes, type ColorUtility, type ColorsDisplayProps, type ColourOutputProps, ColourScale, type ColourScaleProps, ComboChart, type ComboChartEventProps, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, type DataType, type DataTypeSelectProps, type DesignTokensShades, type DesignTokensTheme, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DonutChart, type DonutChartEventProps, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, DynamicFavicon, ExpandableSearch, ExpandableSearchField, Footer, FooterAcknowledgement, FooterLegalLinks, FooterSmallPrint, FooterSocialLink, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, type FormStatus$1 as FormStatus, type FormStatusHook, type FormStore, type Format, FormatToggle, type FormatToggleProps, GenerateInterpolatedColors, Header, Heading, type HeadingNode, type HeadingTypeProps, HoverCard, HoverCardContent, HoverCardTrigger, type IFrameData, type IFrameMap, type IFrameOptions, type IFrameProps, type IconProps, Icons, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Label, type Language, type LayoutProps, LineChart, type LineChartEventProps, Link, _List as List, Logo, MainNavigation, Masthead, MegaMenu, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Navigation, type NavigationLink, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, type NavigationSection, type Output, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, type Palette, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PreWithCopy, PrevNextLinks, PrevNextLinksPageLink, type PrevNextLinksProps, Progress, ProgressBar, type ProgressBarProps, ProgressCircle, type ProgressCircleProps, Prose, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, SidebarLink, type SidebarLinkProps, SidebarNavigation, type SimpleNode, type SingleCodeData, SiteSearch, Skeleton, Slider, Social, SparkAreaChart, SparkBarChart, SparkLineChart, Spinner, StepIndicator, StepNavigation, Strong, type StructuredColor, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableOfContents, type TableOfContentsItem, type TableOfContentsProps, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Text, TextLink, type TextTypeProps, Textarea, type ThemeCategory, ThemeColorPalette, type ThemeMessage, type ThemeOption, ThemeProvider, ThemeSelector, type ThemeSelectorDropDownProps, type ThemeSelectorProps, ThemeSwitcher, Toaster, TocContext, type TocContextType, TocProvider, Toggle, ToggleGroup, ToggleGroupItem, Tooltip$1 as Tooltip, TooltipContent, type TooltipProps$5 as TooltipProps, TooltipProvider, TooltipTrigger, TopLevel, TouchTarget, Tracker, type TrackerBlockProps, Tooltip as TremorTooltip, type TypeExampleProps, type TypeSpecs, type Variant, type VariantCodeData, type Variants, type View, type ViewMode, ViewToggle, type ViewToggleProps, aboriginal, addStartStopToColorArray, allPalettes, badgeVariants, brand, buttonVariants, camelCase, chartColors, cn, type colorCategories, colorDataArray, colorThemes, colors, constructCategoryColors, createColorArray, createColorData, createFormStore, darkenColor, domToSimple, focusInput, focusRing, generateColorThemes, getColorClassName, getColorValue, getHeadings, getNodeText, getSurroundingColors, getYAxisDomain, hasErrorInput, hasOnlyOneValueForKey, humaniseVariant, interpolateColors, isLightColor, kebabCase, languages, lightenColor, navigationMenuTriggerStyle, oklchConverter, progressBarVariants, renderColorOutput, renderColorOutputToDTFM, semantic, shades, themeIndices, themeTokens, toggleVariants, truncate, useActiveSectionObserver, useDisableToc, useFormField, useIsMobile, useOnWindowResize, usePageHeadings, useSelectorHeight, useToc };