@alextheman/components 6.2.3 → 6.4.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.cts CHANGED
@@ -1,7 +1,7 @@
1
- import * as react_jsx_runtime2 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
2
2
  import { CollapseProps } from "@mui/material/Collapse";
3
3
  import { PaletteMode, SxProps, Theme } from "@mui/material/styles";
4
- import * as react0 from "react";
4
+ import * as react from "react";
5
5
  import { CSSProperties, ComponentProps, ComponentPropsWithRef, ComponentPropsWithoutRef, ComponentType, Dispatch, ElementType, JSX, MouseEvent, MouseEventHandler, ReactNode, Ref, SetStateAction } from "react";
6
6
  import Button$1, { ButtonOwnProps, ButtonProps } from "@mui/material/Button";
7
7
  import { LinkProps } from "@mui/material/Link";
@@ -15,20 +15,44 @@ import { TypographyProps } from "@mui/material/Typography";
15
15
  import { LiveProvider } from "react-live";
16
16
  import { SwitchProps } from "@mui/material/Switch";
17
17
 
18
+ //#region src/components/Artwork.d.ts
19
+ declare function Artwork(): react_jsx_runtime0.JSX.Element;
20
+ //#endregion
18
21
  //#region src/components/CollapsableItem.d.ts
19
22
  interface CollapsableItemProps {
23
+ /** Whether the item should initially be open or not. */
20
24
  isInitiallyOpen?: boolean;
25
+ /** A callback function to execute when the item is open. */
21
26
  onOpen?: () => void;
27
+ /** A callback function to execute when the item is closed. */
22
28
  onClose?: () => void;
29
+ /** The components to render when the item is open. */
23
30
  children: ReactNode;
31
+ /** Styling for the button. */
24
32
  buttonStyles?: SxProps;
33
+ /** The children to pass to the button. */
25
34
  buttonContents: ReactNode;
35
+ /** The specific button component to use. */
26
36
  buttonComponent?: ElementType;
37
+ /** The icon to show next to the button when open. */
27
38
  openIcon?: ReactNode;
39
+ /** The icon to show next to the button when closed. */
28
40
  closedIcon?: ReactNode;
41
+ /** Props to pass to collapse. */
29
42
  collapseProps?: Omit<CollapseProps, "in">;
43
+ /**
44
+ * Whether or not to use the default button styling.
45
+ *
46
+ * Defaults to `true` if `buttonComponent` is `ButtonBase`,
47
+ * otherwise defaults to `false`.
48
+ */
30
49
  useDefaultStyling?: boolean;
31
50
  }
51
+ /**
52
+ * Shows a display area that can be opened to show the children components, or hidden away.
53
+ *
54
+ * @param props - Props to pass to CollapsableItem
55
+ */
32
56
  declare function CollapsableItem({
33
57
  isInitiallyOpen,
34
58
  onOpen,
@@ -41,10 +65,10 @@ declare function CollapsableItem({
41
65
  openIcon,
42
66
  closedIcon,
43
67
  useDefaultStyling
44
- }: CollapsableItemProps): react_jsx_runtime2.JSX.Element;
68
+ }: CollapsableItemProps): react_jsx_runtime0.JSX.Element;
45
69
  //#endregion
46
70
  //#region src/components/DarkModeToggle.d.ts
47
- declare function DarkModeToggle(): react_jsx_runtime2.JSX.Element;
71
+ declare function DarkModeToggle(): react_jsx_runtime0.JSX.Element;
48
72
  //#endregion
49
73
  //#region src/components/DropdownMenu.d.ts
50
74
  interface DropdownMenuProps {
@@ -58,15 +82,6 @@ interface DropdownMenuProps {
58
82
  onClose?: () => void;
59
83
  }
60
84
  /**
61
- * @param root0
62
- * @param root0.children
63
- * @param root0.button
64
- * @param root0.buttonChildren
65
- * @param root0.buttonProps
66
- * @param root0.isOpenIcon
67
- * @param root0.isClosedIcon
68
- * @param root0.onOpen
69
- * @param root0.onClose
70
85
  * @deprecated This component does not support the new context-based pattern and individual DropdownMenuItem components. Please use DropdownMenu2 instead.
71
86
  */
72
87
  declare function DropdownMenu({
@@ -78,21 +93,29 @@ declare function DropdownMenu({
78
93
  isClosedIcon,
79
94
  onOpen,
80
95
  onClose
81
- }: DropdownMenuProps): react_jsx_runtime2.JSX.Element;
96
+ }: DropdownMenuProps): react_jsx_runtime0.JSX.Element;
82
97
  //#endregion
83
98
  //#region src/components/ExternalLink.d.ts
84
99
  interface ExternalLinkProps extends Omit<LinkProps, "to" | "target" | "rel"> {
100
+ /** The URL of the place you want to navigate to. */
85
101
  href: `https://${string}` | `http://${string}` | (string & {});
86
102
  to?: never;
103
+ /** The readable content to display on the link. */
87
104
  children: ReactNode;
105
+ /** An optional ref to allow it to be used with polymorphic components. */
88
106
  ref?: Ref<HTMLAnchorElement>;
89
107
  }
108
+ /**
109
+ * A stylised link that is best used when you want to navigate to a different domain.
110
+ *
111
+ * Opens the destination in a new tab and applies recommended security defaults automatically.
112
+ */
90
113
  declare function ExternalLink({
91
114
  href,
92
115
  children,
93
116
  ref,
94
117
  ...linkProps
95
- }: ExternalLinkProps): react_jsx_runtime2.JSX.Element;
118
+ }: ExternalLinkProps): react_jsx_runtime0.JSX.Element;
96
119
  //#endregion
97
120
  //#region src/components/FileInput.d.ts
98
121
  declare const FileType: {
@@ -108,10 +131,10 @@ declare const FileType: {
108
131
  };
109
132
  type FileType = (typeof FileType)[keyof typeof FileType];
110
133
  interface FileInputProps extends ButtonOwnProps {
111
- onFileInput: (allowedFiles: File[]) => void;
134
+ onFileInput: (allowedFiles: Array<File>) => void;
112
135
  label?: string;
113
136
  multiple?: boolean;
114
- accept?: string[];
137
+ accept?: Array<string>;
115
138
  useDropzone?: boolean;
116
139
  }
117
140
  declare function FileInput({
@@ -121,18 +144,18 @@ declare function FileInput({
121
144
  accept,
122
145
  useDropzone,
123
146
  ...buttonProps
124
- }: FileInputProps): react_jsx_runtime2.JSX.Element;
147
+ }: FileInputProps): react_jsx_runtime0.JSX.Element;
125
148
  //#endregion
126
149
  //#region src/components/FileInputList.d.ts
127
150
  interface FileInputListProps extends Omit<FileInputProps, "onFileInput"> {
128
- files: File[];
129
- setFiles: Dispatch<SetStateAction<File[]>>;
151
+ files: Array<File>;
152
+ setFiles: Dispatch<SetStateAction<Array<File>>>;
130
153
  }
131
154
  declare function FileInputList({
132
155
  files,
133
156
  setFiles,
134
157
  ...fileInputProps
135
- }: FileInputListProps): react_jsx_runtime2.JSX.Element;
158
+ }: FileInputListProps): react_jsx_runtime0.JSX.Element;
136
159
  //#endregion
137
160
  //#region src/components/IconWithPopover.d.ts
138
161
  interface IconWithPopoverProps {
@@ -150,21 +173,31 @@ declare function IconWithPopover({
150
173
  onClose,
151
174
  iconProps,
152
175
  children
153
- }: IconWithPopoverProps): react_jsx_runtime2.JSX.Element;
176
+ }: IconWithPopoverProps): react_jsx_runtime0.JSX.Element;
154
177
  //#endregion
155
178
  //#region src/components/InternalLink.d.ts
156
- interface InternalLinkProps extends Omit<LinkProps, "href"> {
179
+ interface InternalLinkProps extends Omit<LinkProps, "href" | "component"> {
157
180
  to: `/${string}` | `~/${string}` | (string & {});
181
+ component?: ElementType;
158
182
  href?: never;
159
183
  children: ReactNode;
160
184
  ref?: Ref<HTMLAnchorElement>;
161
185
  }
186
+ /**
187
+ * A stylised link for navigating within your application.
188
+ *
189
+ * Uses the app router for client-side navigation and opens the destination in the same tab.
190
+ *
191
+ * Defaults to a React Router implementation but can be overridden via the `component` prop.
192
+ *
193
+ */
162
194
  declare function InternalLink({
163
195
  to,
196
+ component,
164
197
  children,
165
198
  ref,
166
199
  ...linkProps
167
- }: InternalLinkProps): react_jsx_runtime2.JSX.Element;
200
+ }: InternalLinkProps): react_jsx_runtime0.JSX.Element;
168
201
  //#endregion
169
202
  //#region src/components/ListItemInternalLink.d.ts
170
203
  interface ListItemInternalLinkProps extends Omit<ListItemButtonProps, "href"> {
@@ -174,7 +207,7 @@ interface ListItemInternalLinkProps extends Omit<ListItemButtonProps, "href"> {
174
207
  declare function ListItemInternalLink({
175
208
  children,
176
209
  ...listItemButtonProps
177
- }: ListItemInternalLinkProps): react_jsx_runtime2.JSX.Element;
210
+ }: ListItemInternalLinkProps): react_jsx_runtime0.JSX.Element;
178
211
  //#endregion
179
212
  //#region src/types/ContextHookOptions.d.ts
180
213
  interface ContextHookOptions<S extends boolean = true> {
@@ -204,7 +237,7 @@ declare function DropdownMenu2({
204
237
  buttonProps,
205
238
  openIcon,
206
239
  closedIcon
207
- }: DropdownMenu2Props): react_jsx_runtime2.JSX.Element;
240
+ }: DropdownMenu2Props): react_jsx_runtime0.JSX.Element;
208
241
  //#endregion
209
242
  //#region src/providers/DropdownMenu2/DropdownMenuExternalLink.d.ts
210
243
  interface DropdownMenuExternalLinkProps extends MenuItemOwnProps {
@@ -219,7 +252,7 @@ declare function DropdownMenuExternalLink({
219
252
  children,
220
253
  onClick,
221
254
  ...menuItemProps
222
- }: DropdownMenuExternalLinkProps): react_jsx_runtime2.JSX.Element;
255
+ }: DropdownMenuExternalLinkProps): react_jsx_runtime0.JSX.Element;
223
256
  //#endregion
224
257
  //#region src/providers/DropdownMenu2/DropdownMenuInternalLink.d.ts
225
258
  interface DropdownMenuInternalLinkProps extends MenuItemOwnProps {
@@ -234,7 +267,7 @@ declare function DropdownMenuInternalLink({
234
267
  children,
235
268
  onClick,
236
269
  ...menuItemProps
237
- }: DropdownMenuInternalLinkProps): react_jsx_runtime2.JSX.Element;
270
+ }: DropdownMenuInternalLinkProps): react_jsx_runtime0.JSX.Element;
238
271
  //#endregion
239
272
  //#region src/providers/DropdownMenu2/DropdownMenuItem.d.ts
240
273
  type DropdownMenuItemProps<RootComponent extends ElementType = typeof Button$1> = {
@@ -249,7 +282,7 @@ declare function DropdownMenuItem<RootComponent extends ElementType>({
249
282
  ref,
250
283
  onClick,
251
284
  ...menuItemProps
252
- }: DropdownMenuItemProps<RootComponent>): react_jsx_runtime2.JSX.Element;
285
+ }: DropdownMenuItemProps<RootComponent>): react_jsx_runtime0.JSX.Element;
253
286
  //#endregion
254
287
  //#region src/providers/LoaderProvider/LoaderProvider.d.ts
255
288
  interface LoaderProviderBaseProps<DataType> {
@@ -282,20 +315,22 @@ type LoaderProviderProps<T> = LoaderContextValue<T> & {
282
315
  /**
283
316
  * A provider for a context that deals with state management when fetching data from an API.
284
317
  * This may be used over Loader if you require more control over the placement of the error message and data display.
318
+ *
285
319
  * @template DataType - The type of data being loaded.
286
- * @param root0 - Props to pass to LoaderProvider.
287
- * @param root0.children - The components that may receive access to the LoaderContext value.
288
- * @param root0.loadingComponent - The component to show when the data is being fetched.
289
- * @param root0.isLoading - The current loading status (true if loading, false if not)
290
- * @param root0.error - The error given if the request gave an error.
291
- * @param root0.errorComponent - The component to show if an error has been thrown. Note that this may not be provided unless the error prop has also been provided.
292
- * @param root0.logError - An option to log the error to the console. Note that this may not be provided unless the error prop has also been provided.
320
+ *
321
+ * @param props - Props to pass to LoaderProvider.
322
+ * @param props.children - The components that may receive access to the LoaderContext value.
323
+ * @param props.loadingComponent - The component to show when the data is being fetched.
324
+ * @param props.isLoading - The current loading status (true if loading, false if not)
325
+ * @param props.error - The error given if the request gave an error.
326
+ * @param props.errorComponent - The component to show if an error has been thrown. Note that this may not be provided unless the error prop has also been provided.
327
+ * @param props.logError - An option to log the error to the console. Note that this may not be provided unless the error prop has also been provided.
293
328
  */
294
329
  declare function LoaderProvider<DataType>({
295
330
  children,
296
331
  loadingComponent,
297
332
  ...contextProps
298
- }: LoaderProviderProps<DataType>): react_jsx_runtime2.JSX.Element;
333
+ }: LoaderProviderProps<DataType>): react_jsx_runtime0.JSX.Element;
299
334
  //#endregion
300
335
  //#region src/providers/LoaderProvider/LoaderData.d.ts
301
336
  interface LoaderDataProps<T> {
@@ -311,18 +346,20 @@ interface LoaderDataProps<T> {
311
346
  }
312
347
  /**
313
348
  * The component responsible for showing the data provided by LoaderProvider.
349
+ *
314
350
  * @template DataType - The type of data being loaded.
315
- * @param root0 - Props to pass to LoaderData.
316
- * @param root0.children - The elements to show after data has been loaded.
351
+ *
352
+ * @param props - Props to pass to LoaderData.
353
+ * @param props.children - The elements to show after data has been loaded.
317
354
  * This is best provided as a function with a data argument that guarantees the data will not be undefined by the time you receive it here.
318
- * @param root0.dataParser - A parser for the data.
319
- * @param root0.loadingComponent - The component to show when the data is being fetched.
355
+ * @param props.dataParser - A parser for the data.
356
+ * @param props.loadingComponent - The component to show when the data is being fetched.
320
357
  */
321
358
  declare function LoaderData<DataType>({
322
359
  children,
323
360
  dataParser: loaderDataParser,
324
361
  loadingComponent
325
- }: LoaderDataProps<DataType>): react_jsx_runtime2.JSX.Element;
362
+ }: LoaderDataProps<DataType>): react_jsx_runtime0.JSX.Element;
326
363
  //#endregion
327
364
  //#region src/providers/LoaderProvider/LoaderError.d.ts
328
365
  interface LoaderErrorBaseProps {
@@ -347,12 +384,13 @@ interface LoaderErrorPropsWithNullable extends LoaderErrorBaseProps {
347
384
  type LoaderErrorProps = LoaderErrorPropsWithUndefinedOrNull | LoaderErrorPropsWithNullable;
348
385
  /**
349
386
  * The component responsible for showing any errors provided by LoaderProvider.
350
- * @param root0 - The props to be passed to LoaderError.
351
- * @param root0.children - The component to show if an error has been thrown.
352
- * @param root0.undefinedComponent - The component to show if no error was thrown but the data is undefined.
353
- * @param root0.nullComponent - The component to show if no error was thrown but the data is null.
354
- * @param root0.nullableComponent - The component to show if no error was thrown but the data is nullable (undefined or null).
355
- * @param root0.logError - An option to log the error to the console.
387
+ *
388
+ * @param props - The props to be passed to LoaderError.
389
+ * @param props.children - The component to show if an error has been thrown.
390
+ * @param props.undefinedComponent - The component to show if no error was thrown but the data is undefined.
391
+ * @param props.nullComponent - The component to show if no error was thrown but the data is null.
392
+ * @param props.nullableComponent - The component to show if no error was thrown but the data is nullable (undefined or null).
393
+ * @param props.logError - An option to log the error to the console.
356
394
  */
357
395
  declare function LoaderError({
358
396
  children,
@@ -360,7 +398,7 @@ declare function LoaderError({
360
398
  nullComponent,
361
399
  nullableComponent,
362
400
  logError: propsLogError
363
- }: LoaderErrorProps): string | number | bigint | boolean | react_jsx_runtime2.JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react0.ReactPortal | react0.ReactElement<unknown, string | react0.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | null | undefined;
401
+ }: LoaderErrorProps): string | number | bigint | boolean | react_jsx_runtime0.JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react.ReactPortal | react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | null | undefined;
364
402
  //#endregion
365
403
  //#region src/providers/ModeProvider.d.ts
366
404
  interface ModeContextValue {
@@ -377,7 +415,7 @@ interface ModeProviderProps {
377
415
  declare function ModeProvider({
378
416
  children,
379
417
  mode: modeProp
380
- }: ModeProviderProps): react_jsx_runtime2.JSX.Element;
418
+ }: ModeProviderProps): react_jsx_runtime0.JSX.Element;
381
419
  //#endregion
382
420
  //#region src/providers/ScreenSizeProvider.d.ts
383
421
  interface ScreenSizeProps {
@@ -397,7 +435,7 @@ declare function ScreenSizeProvider({
397
435
  children,
398
436
  largeScreenWidth,
399
437
  largeScreenHeight
400
- }: ScreenSizeProps): react_jsx_runtime2.JSX.Element;
438
+ }: ScreenSizeProps): react_jsx_runtime0.JSX.Element;
401
439
  //#endregion
402
440
  //#region src/providers/SnackbarProvider.d.ts
403
441
  interface SnackbarProviderProps {
@@ -413,22 +451,24 @@ declare function useSnackbar<Strict extends boolean = true>({
413
451
  declare function SnackbarProvider({
414
452
  children,
415
453
  autoHideDuration
416
- }: SnackbarProviderProps): react_jsx_runtime2.JSX.Element;
454
+ }: SnackbarProviderProps): react_jsx_runtime0.JSX.Element;
417
455
  //#endregion
418
456
  //#region src/components/Loader.d.ts
419
457
  type LoaderProps<DataType> = Omit<LoaderProviderProps<DataType>, "children" | "logError"> & Omit<LoaderErrorProps, "errorComponent" | "children"> & Omit<LoaderDataProps<DataType>, "showOnError" | "onUndefined" | "onNull" | "onNullable">;
420
458
  /**
421
459
  * An in-line component that deals with state management when fetching data from an API.
422
460
  * This may be used over LoaderProvider if you don't require as much control over the placement of the error message and data display.
461
+ *
423
462
  * @template DataType - The type of data being loaded.
424
- * @param root0 - Props to pass to Loader.
425
- * @param root0.children - The elements to show after data has been loaded.
426
- * @param root0.errorComponent - The component to show if an error has been thrown. Note that this may not be provided unless the error prop has also been provided.
427
- * @param root0.undefinedComponent - The component to show if no error was thrown but the data is undefined.
428
- * @param root0.nullComponent - The component to show if no error was thrown but the data is null.
429
- * @param root0.nullableComponent - The component to show if no error was thrown but the data is nullable (undefined or null).
430
- * @param root0.loadingComponent - The component to show when the data is being fetched.
431
- * @param root0.logError - An option to log the error to the console.
463
+ *
464
+ * @param props - Props to pass to Loader.
465
+ * @param props.children - The elements to show after data has been loaded.
466
+ * @param props.errorComponent - The component to show if an error has been thrown. Note that this may not be provided unless the error prop has also been provided.
467
+ * @param props.undefinedComponent - The component to show if no error was thrown but the data is undefined.
468
+ * @param props.nullComponent - The component to show if no error was thrown but the data is null.
469
+ * @param props.nullableComponent - The component to show if no error was thrown but the data is nullable (undefined or null).
470
+ * @param props.loadingComponent - The component to show when the data is being fetched.
471
+ * @param props.logError - An option to log the error to the console.
432
472
  */
433
473
  declare function Loader<DataType>({
434
474
  children,
@@ -439,7 +479,7 @@ declare function Loader<DataType>({
439
479
  logError,
440
480
  loadingComponent,
441
481
  ...loaderProviderProps
442
- }: LoaderProps<DataType>): react_jsx_runtime2.JSX.Element;
482
+ }: LoaderProps<DataType>): react_jsx_runtime0.JSX.Element;
443
483
  //#endregion
444
484
  //#region src/components/NavigationBottom.d.ts
445
485
  interface NavItemBottom {
@@ -450,25 +490,25 @@ interface NavItemBottom {
450
490
  }
451
491
  interface NavigationBottomProps {
452
492
  children: ReactNode;
453
- navItems: NavItemBottom[];
493
+ navItems: Array<NavItemBottom>;
454
494
  }
455
495
  declare function NavigationBottom({
456
496
  children,
457
497
  navItems
458
- }: NavigationBottomProps): react_jsx_runtime2.JSX.Element;
498
+ }: NavigationBottomProps): react_jsx_runtime0.JSX.Element;
459
499
  //#endregion
460
500
  //#region src/components/NavigationDrawer.d.ts
461
501
  interface NavMenuItem {
462
502
  category: string;
463
- options: {
503
+ options: Array<{
464
504
  label: string;
465
505
  to: string;
466
506
  icon?: ReactNode;
467
- }[];
507
+ }>;
468
508
  }
469
509
  interface NavigationDrawerProps {
470
510
  title: string;
471
- navItems: NavMenuItem[];
511
+ navItems: Array<NavMenuItem>;
472
512
  headerElements?: ReactNode;
473
513
  children: ReactNode;
474
514
  }
@@ -477,7 +517,7 @@ declare function NavigationDrawer({
477
517
  navItems,
478
518
  children,
479
519
  headerElements
480
- }: NavigationDrawerProps): react_jsx_runtime2.JSX.Element;
520
+ }: NavigationDrawerProps): react_jsx_runtime0.JSX.Element;
481
521
  //#endregion
482
522
  //#region src/components/PopoverText.d.ts
483
523
  interface PopoverTextProps extends TypographyProps {
@@ -487,7 +527,7 @@ declare function PopoverText({
487
527
  text,
488
528
  sx,
489
529
  ...typographyProps
490
- }: PopoverTextProps): react_jsx_runtime2.JSX.Element;
530
+ }: PopoverTextProps): react_jsx_runtime0.JSX.Element;
491
531
  //#endregion
492
532
  //#region src/components/ReactPlayground.d.ts
493
533
  interface ReactPlaygroundProps extends ComponentProps<typeof LiveProvider> {
@@ -497,7 +537,7 @@ declare function ReactPlayground({
497
537
  code,
498
538
  previewStyles,
499
539
  ...liveProviderProps
500
- }: ReactPlaygroundProps): react_jsx_runtime2.JSX.Element;
540
+ }: ReactPlaygroundProps): react_jsx_runtime0.JSX.Element;
501
541
  //#endregion
502
542
  //#region src/components/SkeletonRow.d.ts
503
543
  interface SkeletonRowProps {
@@ -505,7 +545,7 @@ interface SkeletonRowProps {
505
545
  }
506
546
  declare function SkeletonRow({
507
547
  columns
508
- }: SkeletonRowProps): react_jsx_runtime2.JSX.Element;
548
+ }: SkeletonRowProps): react_jsx_runtime0.JSX.Element;
509
549
  //#endregion
510
550
  //#region src/components/SubmitButton.d.ts
511
551
  interface SubmitButtonProps extends Omit<ButtonProps, "type"> {
@@ -516,7 +556,7 @@ declare function SubmitButton({
516
556
  disableClean,
517
557
  label,
518
558
  ...buttonProps
519
- }: SubmitButtonProps): react_jsx_runtime2.JSX.Element;
559
+ }: SubmitButtonProps): react_jsx_runtime0.JSX.Element;
520
560
  //#endregion
521
561
  //#region src/components/SwitchWithIcons.d.ts
522
562
  interface SwitchWithIconsProps extends Omit<SwitchProps, "icon" | "checkedIcon"> {
@@ -535,10 +575,10 @@ declare function SwitchWithIcons({
535
575
  uncheckedIcon: UncheckedIcon,
536
576
  uncheckedIconStyles,
537
577
  ...switchProps
538
- }: SwitchWithIconsProps): react_jsx_runtime2.JSX.Element;
578
+ }: SwitchWithIconsProps): react_jsx_runtime0.JSX.Element;
539
579
  //#endregion
540
580
  //#region src/hooks/useHash.d.ts
541
581
  declare function useHash<S extends string>(initialHash: S | undefined): [S, Dispatch<SetStateAction<S>>];
542
582
  //#endregion
543
- export { CollapsableItem, type CollapsableItemProps, ContextHookOptions, DarkModeToggle, DropdownMenu, DropdownMenu2, type DropdownMenu2Props, DropdownMenuExternalLink, type DropdownMenuExternalLinkProps, DropdownMenuInternalLink, type DropdownMenuInternalLinkProps, DropdownMenuItem, type DropdownMenuItemProps, type DropdownMenuProps, ExternalLink, type ExternalLinkProps, FileInput, FileInputList, type FileInputListProps, type FileInputProps, FileType, IconWithPopover, type IconWithPopoverProps, InternalLink, type InternalLinkProps, ListItemInternalLink, type ListItemInternalLinkProps, Loader, LoaderData, type LoaderDataProps, LoaderError, type LoaderErrorBaseProps, type LoaderErrorProps, type LoaderErrorPropsWithNullable, type LoaderErrorPropsWithUndefinedOrNull, type LoaderProps, LoaderProvider, type LoaderProviderBaseProps, type LoaderProviderProps, type LoaderProviderPropsWithError, type LoaderProviderPropsWithNoError, ModeProvider, type ModeProviderProps, type NavItemBottom, type NavMenuItem, NavigationBottom, type NavigationBottomProps, NavigationDrawer, type NavigationDrawerProps, PopoverText, type PopoverTextProps, ReactPlayground, type ReactPlaygroundProps, type ScreenSizeContextValue, type ScreenSizeProps, ScreenSizeProvider, SkeletonRow, type SkeletonRowProps, SnackbarProvider, type SnackbarProviderProps, SubmitButton, type SubmitButtonProps, SwitchWithIcons, type SwitchWithIconsProps, useDropdownMenu, useHash, useMode, useScreenSize, useSnackbar };
583
+ export { Artwork, CollapsableItem, type CollapsableItemProps, ContextHookOptions, DarkModeToggle, DropdownMenu, DropdownMenu2, type DropdownMenu2Props, DropdownMenuExternalLink, type DropdownMenuExternalLinkProps, DropdownMenuInternalLink, type DropdownMenuInternalLinkProps, DropdownMenuItem, type DropdownMenuItemProps, type DropdownMenuProps, ExternalLink, type ExternalLinkProps, FileInput, FileInputList, type FileInputListProps, type FileInputProps, FileType, IconWithPopover, type IconWithPopoverProps, InternalLink, type InternalLinkProps, ListItemInternalLink, type ListItemInternalLinkProps, Loader, LoaderData, type LoaderDataProps, LoaderError, type LoaderErrorBaseProps, type LoaderErrorProps, type LoaderErrorPropsWithNullable, type LoaderErrorPropsWithUndefinedOrNull, type LoaderProps, LoaderProvider, type LoaderProviderBaseProps, type LoaderProviderProps, type LoaderProviderPropsWithError, type LoaderProviderPropsWithNoError, ModeProvider, type ModeProviderProps, type NavItemBottom, type NavMenuItem, NavigationBottom, type NavigationBottomProps, NavigationDrawer, type NavigationDrawerProps, PopoverText, type PopoverTextProps, ReactPlayground, type ReactPlaygroundProps, type ScreenSizeContextValue, type ScreenSizeProps, ScreenSizeProvider, SkeletonRow, type SkeletonRowProps, SnackbarProvider, type SnackbarProviderProps, SubmitButton, type SubmitButtonProps, SwitchWithIcons, type SwitchWithIconsProps, useDropdownMenu, useHash, useMode, useScreenSize, useSnackbar };
544
584
  //# sourceMappingURL=index.d.cts.map