remoraid 2.43.2 → 2.45.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.
@@ -1,7 +1,6 @@
1
- import { PropsWithChildren as PropsWithChildren6, ReactNode as ReactNode6 } from "react";
1
+ import { PropsWithChildren as PropsWithChildren7, ReactNode as ReactNode7 } from "react";
2
2
  import { MantineBreakpoint, MantineColorScheme, MantineSize, MantineTheme } from "@mantine/core";
3
3
  import { Icon as Icon2, IconProps as IconProps2 } from "@tabler/icons-react";
4
- import { ImageProps } from "next/image";
5
4
  import React2, { Dispatch, MouseEventHandler, ReactElement, SetStateAction } from "react";
6
5
  import { PartialDeep } from "type-fest";
7
6
  import { AlertProps, TransitionProps } from "@mantine/core";
@@ -62,7 +61,6 @@ interface NavigationElementButton extends NavigationElementBase {
62
61
  onClick: MouseEventHandler;
63
62
  }
64
63
  type NavigationElement = NavigationElementButton | NavigationElementAnchor;
65
- type AppLogo = (props: Omit<ImageProps, "src" | "alt">) => ReactElement;
66
64
  type NavbarMobileVariant = null;
67
65
  type AppShellFooterVariant = FooterVariant | null;
68
66
  type AppShellNavbarVariant = NavbarVariant | null;
@@ -73,7 +71,7 @@ interface StaticRemoraidAppContext {
73
71
  navbarVariant: AppShellNavbarVariant;
74
72
  navbarMobileVariant: AppShellNavbarMobileVariant;
75
73
  footerVariant: AppShellFooterVariant;
76
- logo?: Icon2 | ImageProps["src"] | ReactElement;
74
+ logo?: Icon2 | ReactElement;
77
75
  auth?: RemoraidAuthContext;
78
76
  }
79
77
  type CustomAppVariables = { [K in Exclude<string, keyof StaticRemoraidAppContext>] : any };
@@ -200,6 +198,11 @@ interface HydrationStatus {
200
198
  hasHydrated: boolean;
201
199
  ensureHydration: <T>(v: T) => T | undefined;
202
200
  }
201
+ interface RouterAdapter {
202
+ pathname: string;
203
+ push: (href: string) => void;
204
+ replace?: (href: string) => void;
205
+ }
203
206
  declare enum LayoutType {
204
207
  Frame = "frame"
205
208
  }
@@ -270,9 +273,16 @@ declare function HydrationStatusProvider({ children }: PropsWithChildren4<Hydrat
270
273
  declare const defaultLayoutsContext: LayoutsContext;
271
274
  declare const useLayouts: () => LayoutsContext;
272
275
  interface LayoutsProviderProps {}
276
+ import { PropsWithChildren as PropsWithChildren6, ReactNode as ReactNode6 } from "react";
277
+ interface RouterProviderProps {
278
+ router?: RouterAdapter;
279
+ }
280
+ declare const useRemoraidRouter: () => RouterAdapter;
281
+ declare function RouterProvider2({ children, router }: PropsWithChildren6<RouterProviderProps>): ReactNode6;
273
282
  interface RemoraidProviderProps {
274
283
  theme?: ThemeProviderProps["theme"];
275
284
  initialUserExperience?: UserExperienceProviderProps<CoreUserExperience>["initialValue"];
285
+ router?: RouterProviderProps["router"];
276
286
  componentsProps?: {
277
287
  ThemeProvider?: Partial<ThemeProviderProps>
278
288
  CoreUserExperienceProvider?: Partial<UserExperienceProviderProps<CoreUserExperience>>
@@ -280,21 +290,22 @@ interface RemoraidProviderProps {
280
290
  CookiesProvider?: Partial<ReactCookieProps>
281
291
  HydrationStatusProviderProps?: Partial<HydrationStatusProviderProps>
282
292
  LayoutsProviderProps?: Partial<LayoutsProviderProps>
293
+ RouterProvider?: Partial<RouterProviderProps>
283
294
  };
284
295
  }
285
- declare function RemoraidProvider({ children, theme, initialUserExperience, componentsProps }: PropsWithChildren6<RemoraidProviderProps>): ReactNode6;
296
+ declare function RemoraidProvider({ children, theme, initialUserExperience, router, componentsProps }: PropsWithChildren7<RemoraidProviderProps>): ReactNode7;
286
297
  import { BoxProps as BoxProps2 } from "@mantine/core";
287
- import { ComponentProps as ComponentProps7, PropsWithChildren as PropsWithChildren12, ReactNode as ReactNode21 } from "react";
288
- import { PropsWithChildren as PropsWithChildren7, ReactNode as ReactNode7 } from "react";
298
+ import { ComponentProps as ComponentProps7, PropsWithChildren as PropsWithChildren13, ReactNode as ReactNode22 } from "react";
299
+ import { PropsWithChildren as PropsWithChildren8, ReactNode as ReactNode8 } from "react";
289
300
  import { SetOptional } from "type-fest";
290
301
  declare const defaultAppContext: RemoraidAppContext<CustomAppVariables>;
291
302
  declare const useRemoraidApp: () => RemoraidAppContext<CustomAppVariables>;
292
303
  interface AppProviderProps<V extends CustomAppVariables> {
293
304
  appContext: SetOptional<RemoraidAppContext<V>, "navbarVariant" | "footerVariant" | "navbarMobileVariant">;
294
305
  }
295
- declare function AppProvider2<V extends CustomAppVariables>({ appContext: appContextProp, children }: PropsWithChildren7<AppProviderProps<V>>): ReactNode7;
296
- import { ComponentProps as ComponentProps4, ReactNode as ReactNode17 } from "react";
297
- import { ReactNode as ReactNode16 } from "react";
306
+ declare function AppProvider2<V extends CustomAppVariables>({ appContext: appContextProp, children }: PropsWithChildren8<AppProviderProps<V>>): ReactNode8;
307
+ import { ComponentProps as ComponentProps4, ReactNode as ReactNode18 } from "react";
308
+ import { ReactNode as ReactNode17 } from "react";
298
309
  import { MantineBreakpoint as MantineBreakpoint3, PaperProps } from "@mantine/core";
299
310
  import { MenuProps, TransitionProps as TransitionProps2 } from "@mantine/core";
300
311
  import { ReactElement as ReactElement2 } from "react";
@@ -309,7 +320,7 @@ interface NavigationMenuProps {
309
320
  }
310
321
  import { ActionIconProps, ActionIconVariant, ButtonProps, ButtonVariant, MantineBreakpoint as MantineBreakpoint2, MantineColor, MantineSize as MantineSize3, TooltipProps, TransitionProps as TransitionProps3 } from "@mantine/core";
311
322
  import { Icon as Icon4, IconProps as IconProps3 } from "@tabler/icons-react";
312
- import { MouseEventHandler as MouseEventHandler2, ReactElement as ReactElement4, ReactNode as ReactNode9 } from "react";
323
+ import { MouseEventHandler as MouseEventHandler2, ReactElement as ReactElement4, ReactNode as ReactNode10 } from "react";
313
324
  import { MantineSize as MantineSize2 } from "@mantine/core";
314
325
  import { ComponentProps, ElementType, ReactElement as ReactElement3 } from "react";
315
326
  import { Icon as Icon3 } from "@tabler/icons-react";
@@ -354,6 +365,7 @@ declare const asElementOrPropsOfType: <
354
365
  declare const getDefaultButtonIconSize: (buttonSize: MantineSize2) => RemoraidIconSize;
355
366
  declare const scrollToWidget: (widgetId: string) => void;
356
367
  declare const isIcon: (value: unknown) => value is Icon3;
368
+ declare const defaultRemoraidButtonSize = "sm";
357
369
  type RemoraidButtonDefaultResponsivity = true;
358
370
  interface ExplicitRemoraidButtonProps<Responsive extends boolean> {
359
371
  responsive: Responsive;
@@ -379,8 +391,7 @@ interface ExplicitRemoraidButtonProps<Responsive extends boolean> {
379
391
  };
380
392
  }
381
393
  type RemoraidButtonProps<Responsive extends boolean = RemoraidButtonDefaultResponsivity> = OptionalIfExtends<ExplicitRemoraidButtonProps<Responsive>, "responsive", true, Responsive>;
382
- declare function RemoraidButton<Responsive extends boolean = RemoraidButtonDefaultResponsivity>({ label, responsive: responsiveProp, breakpoint: breakpointProp, collapsed: collapsedProp, size, color, onClick, loading, variant, mounted, icon: iconProp, iconSize: iconSizeProp, clickTransformation, componentsProps }: RemoraidButtonProps<Responsive>): ReactNode9;
383
- import { ImageProps as ImageProps2 } from "next/image";
394
+ declare function RemoraidButton<Responsive extends boolean = RemoraidButtonDefaultResponsivity>({ label, responsive: responsiveProp, breakpoint: breakpointProp, collapsed: collapsedProp, size, color, onClick, loading, variant, mounted, icon: iconProp, iconSize: iconSizeProp, clickTransformation, componentsProps }: RemoraidButtonProps<Responsive>): ReactNode10;
384
395
  interface NavbarMinimalContentProps {
385
396
  orientation: NavbarOrientation;
386
397
  maxElements?: number;
@@ -389,12 +400,11 @@ interface NavbarMinimalContentProps {
389
400
  container?: Partial<PaperProps>
390
401
  button?: Partial<RemoraidButtonProps<true>> | Partial<RemoraidButtonProps<false>>
391
402
  logoButton?: Partial<RemoraidButtonProps<true>> | Partial<RemoraidButtonProps<false>>
392
- logo?: Partial<ImageProps2>
393
403
  NavigationMenu?: Partial<NavigationMenuProps>
394
404
  };
395
405
  }
396
406
  import { ContainerProps, MantineSize as MantineSize4 } from "@mantine/core";
397
- import { PropsWithChildren as PropsWithChildren8, ReactNode as ReactNode11 } from "react";
407
+ import { PropsWithChildren as PropsWithChildren9, ReactNode as ReactNode12 } from "react";
398
408
  interface PageContainerProps {
399
409
  p?: MantineSize4 | number;
400
410
  hidden?: boolean;
@@ -402,8 +412,8 @@ interface PageContainerProps {
402
412
  container?: ContainerProps
403
413
  };
404
414
  }
405
- declare function PageContainer2({ children, p, hidden, componentsProps }: PropsWithChildren8<PageContainerProps>): ReactNode11;
406
- import { PropsWithChildren as PropsWithChildren9, ReactNode as ReactNode12 } from "react";
415
+ declare function PageContainer2({ children, p, hidden, componentsProps }: PropsWithChildren9<PageContainerProps>): ReactNode12;
416
+ import { PropsWithChildren as PropsWithChildren10, ReactNode as ReactNode13 } from "react";
407
417
  import { BoxProps } from "@mantine/core";
408
418
  declare const useFrameLayoutElement: () => LayoutElementContext<LayoutType.Frame> | null;
409
419
  interface FrameLayoutElementProps {
@@ -417,12 +427,12 @@ interface FrameLayoutElementProps {
417
427
  PageContainer?: Partial<PageContainerProps>
418
428
  };
419
429
  }
420
- declare function Element2({ section, includeContainer, includePageContainer, layoutId, hidden, componentsProps, children }: PropsWithChildren9<FrameLayoutElementProps>): ReactNode12;
421
- import { ComponentProps as ComponentProps3, PropsWithChildren as PropsWithChildren10, ReactNode as ReactNode15 } from "react";
430
+ declare function Element2({ section, includeContainer, includePageContainer, layoutId, hidden, componentsProps, children }: PropsWithChildren10<FrameLayoutElementProps>): ReactNode13;
431
+ import { ComponentProps as ComponentProps3, PropsWithChildren as PropsWithChildren11, ReactNode as ReactNode16 } from "react";
422
432
  import { Box } from "@mantine/core";
423
433
  import { ActionIcon as ActionIcon2, ActionIconProps as ActionIconProps2, TooltipProps as TooltipProps2, TransitionProps as TransitionProps4 } from "@mantine/core";
424
434
  import { Icon as Icon5, IconProps as IconProps4 } from "@tabler/icons-react";
425
- import { ComponentProps as ComponentProps2, ReactNode as ReactNode13 } from "react";
435
+ import { ComponentProps as ComponentProps2, ReactNode as ReactNode14 } from "react";
426
436
  interface ControlButtonProps {
427
437
  icon: Icon5;
428
438
  mounted?: boolean;
@@ -439,8 +449,8 @@ interface ControlButtonProps {
439
449
  icon?: Partial<IconProps4>
440
450
  };
441
451
  }
442
- declare function ControlButton({ icon: Icon5, mounted, size, iconSize, onClick, order, color, tooltip, componentsProps }: ControlButtonProps): ReactNode13;
443
- import { ReactNode as ReactNode14, Ref, RefObject } from "react";
452
+ declare function ControlButton({ icon: Icon5, mounted, size, iconSize, onClick, order, color, tooltip, componentsProps }: ControlButtonProps): ReactNode14;
453
+ import { ReactNode as ReactNode15, Ref, RefObject } from "react";
444
454
  import { GroupProps, MantineSize as MantineSize5, PaperProps as PaperProps2, TransitionProps as TransitionProps5 } from "@mantine/core";
445
455
  import { IconProps as IconProps5 } from "@tabler/icons-react";
446
456
  interface ControlsProps {
@@ -457,7 +467,7 @@ interface ControlsProps {
457
467
  gripIcon?: Partial<IconProps5>
458
468
  };
459
469
  }
460
- declare function Controls({ groupRef, mounted, dragContainerRef, gutter, iconSize, additionalButtons: additionalButtonsProp, componentsProps, children: childrenProp }: PropsWithChildrenOfType<typeof ControlButton, ControlsProps>): ReactNode14;
470
+ declare function Controls({ groupRef, mounted, dragContainerRef, gutter, iconSize, additionalButtons: additionalButtonsProp, componentsProps, children: childrenProp }: PropsWithChildrenOfType<typeof ControlButton, ControlsProps>): ReactNode15;
461
471
  type PinnableDefaultLayoutType = LayoutType.Frame;
462
472
  interface ExplicitPinnableProps<T extends LayoutType> {
463
473
  layoutType: T;
@@ -475,7 +485,7 @@ interface ExplicitPinnableProps<T extends LayoutType> {
475
485
  };
476
486
  }
477
487
  type PinnableProps<T extends LayoutType = PinnableDefaultLayoutType> = OptionalIfExtends<ExplicitPinnableProps<T>, "layoutType", PinnableDefaultLayoutType, T>;
478
- declare function Pinnable2<T extends LayoutType = PinnableDefaultLayoutType>({ layoutType: layoutTypeProp, section, initialValue, layoutId, controlsContainer, hidden, onPinnedValueChange, componentsProps, children }: PropsWithChildren10<PinnableProps<T>>): ReactNode15;
488
+ declare function Pinnable2<T extends LayoutType = PinnableDefaultLayoutType>({ layoutType: layoutTypeProp, section, initialValue, layoutId, controlsContainer, hidden, onPinnedValueChange, componentsProps, children }: PropsWithChildren11<PinnableProps<T>>): ReactNode16;
479
489
  interface NavbarMinimalProps {
480
490
  pinnable?: boolean;
481
491
  componentsProps?: {
@@ -485,7 +495,7 @@ interface NavbarMinimalProps {
485
495
  Pinnable?: Partial<PinnableProps>
486
496
  };
487
497
  }
488
- declare function NavbarMinimal({ pinnable, componentsProps }: NavbarMinimalProps): ReactNode16;
498
+ declare function NavbarMinimal({ pinnable, componentsProps }: NavbarMinimalProps): ReactNode17;
489
499
  declare const supportedNavbarPositions: Record<Exclude<AppShellNavbarVariant, null>, NavbarPosition[]>;
490
500
  declare const defaultNavbarPositions: Record<Exclude<AppShellNavbarVariant, null>, NavbarPosition>;
491
501
  declare const getDefaultNavigationElements: ({ colorScheme, setColorScheme, auth }: Partial<DefaultNavigationElementsDependencies>) => NavigationElement[];
@@ -494,14 +504,14 @@ interface NavbarProps {
494
504
  NavbarMinimal?: Partial<NavbarMinimalProps>
495
505
  };
496
506
  }
497
- declare function Navbar({ componentsProps }: NavbarProps): ReactNode17;
507
+ declare function Navbar({ componentsProps }: NavbarProps): ReactNode18;
498
508
  interface Navbar extends React.FC<ComponentProps4<typeof Navbar>> {
499
509
  NavbarMinimal: typeof NavbarMinimal;
500
510
  }
501
511
  declare const _default: Navbar;
502
- import { ComponentProps as ComponentProps5, ReactNode as ReactNode19 } from "react";
512
+ import { ComponentProps as ComponentProps5, ReactNode as ReactNode20 } from "react";
503
513
  import { Icon as Icon6, IconProps as IconProps6 } from "@tabler/icons-react";
504
- import { ReactNode as ReactNode18 } from "react";
514
+ import { ReactNode as ReactNode19 } from "react";
505
515
  interface FooterMinimalProps {
506
516
  icon?: Icon6;
507
517
  componentsProps?: {
@@ -510,7 +520,7 @@ interface FooterMinimalProps {
510
520
  icon?: Partial<IconProps6>
511
521
  };
512
522
  }
513
- declare function FooterMinimal({ icon: Icon6, componentsProps }: FooterMinimalProps): ReactNode18;
523
+ declare function FooterMinimal({ icon: Icon6, componentsProps }: FooterMinimalProps): ReactNode19;
514
524
  declare const supportedFooterPositions: Record<Exclude<AppShellFooterVariant, null>, FooterPosition[]>;
515
525
  declare const defaultFooterPositions: Record<Exclude<AppShellFooterVariant, null>, FooterPosition>;
516
526
  interface FooterProps {
@@ -518,13 +528,13 @@ interface FooterProps {
518
528
  FooterMinimal?: Partial<FooterMinimalProps>
519
529
  };
520
530
  }
521
- declare function Footer({ componentsProps }: FooterProps): ReactNode19;
531
+ declare function Footer({ componentsProps }: FooterProps): ReactNode20;
522
532
  interface Footer extends React.FC<ComponentProps5<typeof Footer>> {
523
533
  FooterMinimal: typeof FooterMinimal;
524
534
  }
525
535
  declare const _default2: Footer;
526
536
  import { GroupProps as GroupProps2, MantineSize as MantineSize6, ScrollAreaProps, StackProps } from "@mantine/core";
527
- import { ComponentProps as ComponentProps6, PropsWithChildren as PropsWithChildren11, ReactNode as ReactNode20 } from "react";
537
+ import { ComponentProps as ComponentProps6, PropsWithChildren as PropsWithChildren12, ReactNode as ReactNode21 } from "react";
528
538
  declare const useFrameLayout: () => LayoutContext<LayoutType.Frame> | null;
529
539
  interface FrameLayoutProps {
530
540
  layoutId: string;
@@ -543,7 +553,7 @@ interface FrameLayoutProps {
543
553
  ScrollArea?: Partial<ScrollAreaProps>
544
554
  };
545
555
  }
546
- declare function FrameLayout({ layoutId, includeScrollArea, gutter, componentsProps, children }: PropsWithChildren11<FrameLayoutProps>): ReactNode20;
556
+ declare function FrameLayout({ layoutId, includeScrollArea, gutter, componentsProps, children }: PropsWithChildren12<FrameLayoutProps>): ReactNode21;
547
557
  interface FrameLayout extends React.FC<ComponentProps6<typeof FrameLayout>> {
548
558
  Element: typeof Element2;
549
559
  }
@@ -562,9 +572,9 @@ interface AppShellProps<V extends CustomAppVariables> {
562
572
  AppShellUserExperienceProvider?: Partial<UserExperienceProviderProps<AppShellUserExperience>>
563
573
  };
564
574
  }
565
- declare function AppShell<V extends CustomAppVariables>({ gutter, appContext, initialUserExperience, componentsProps, children }: PropsWithChildren12<AppShellProps<V>>): ReactNode21;
575
+ declare function AppShell<V extends CustomAppVariables>({ gutter, appContext, initialUserExperience, componentsProps, children }: PropsWithChildren13<AppShellProps<V>>): ReactNode22;
566
576
  interface AppShell {
567
- <V extends CustomAppVariables>(props: ComponentProps7<typeof AppShell<V>>): ReactNode21;
577
+ <V extends CustomAppVariables>(props: ComponentProps7<typeof AppShell<V>>): ReactNode22;
568
578
  _default: typeof _default;
569
579
  _default2: typeof _default2;
570
580
  }
@@ -572,7 +582,7 @@ declare const _default4: AppShell;
572
582
  declare const defaultAppShellUserExperience: AppShellUserExperience;
573
583
  declare const defaultAppShellUserExperienceCookieName = "remoraid-app-shell-user-experience";
574
584
  declare const useAppShellUserExperience: () => UserExperienceContext<AppShellUserExperience>;
575
- import { Context as Context2, PropsWithChildren as PropsWithChildren14, ReactNode as ReactNode23 } from "react";
585
+ import { Context as Context2, PropsWithChildren as PropsWithChildren15, ReactNode as ReactNode24 } from "react";
576
586
  import { PartialDeep as PartialDeep3 } from "type-fest";
577
587
  declare const createUserExperienceContext: <T extends UserExperience>(defaultUserExperience: T) => Context2<UserExperienceContext<T>>;
578
588
  interface UserExperienceProviderWrapperProps<T extends UserExperience> {
@@ -582,14 +592,14 @@ interface UserExperienceProviderWrapperProps<T extends UserExperience> {
582
592
  isValidUserExperience: (x: unknown) => x is T;
583
593
  initialValue?: T extends PrimitiveUserExperience | PrimitiveUserExperience[] ? never : PartialDeep3<T>;
584
594
  }
585
- declare function UserExperienceProviderWrapper<T extends UserExperience>({ children, context, cookieName, defaultUserExperience, isValidUserExperience, initialValue }: PropsWithChildren14<UserExperienceProviderWrapperProps<T>>): ReactNode23;
595
+ declare function UserExperienceProviderWrapper<T extends UserExperience>({ children, context, cookieName, defaultUserExperience, isValidUserExperience, initialValue }: PropsWithChildren15<UserExperienceProviderWrapperProps<T>>): ReactNode24;
586
596
  declare const defaultUserExperience: CoreUserExperience;
587
597
  declare const defaultUserExperienceCookieName = "remoraid-core-user-experience";
588
598
  declare const useRemoraidUserExperience: () => UserExperienceContext<CoreUserExperience>;
589
- import { ChipProps, FlexProps as FlexProps2, MenuProps as MenuProps2, TextProps } from "@mantine/core";
590
- import { ReactNode as ReactNode26 } from "react";
599
+ import { ChipProps, DividerProps, FlexProps as FlexProps2, MenuProps as MenuProps2, TextProps } from "@mantine/core";
600
+ import { ReactNode as ReactNode27 } from "react";
591
601
  import { ChipGroupProps, FlexProps, MantineSize as MantineSize7, ScrollAreaProps as ScrollAreaProps2 } from "@mantine/core";
592
- import { PropsWithChildren as PropsWithChildren16, ReactNode as ReactNode25, RefObject as RefObject2 } from "react";
602
+ import { PropsWithChildren as PropsWithChildren17, ReactNode as ReactNode26, RefObject as RefObject2 } from "react";
593
603
  interface ScrollableChipGroupProps {
594
604
  value: string[];
595
605
  ref?: RefObject2<HTMLDivElement | null>;
@@ -601,7 +611,7 @@ interface ScrollableChipGroupProps {
601
611
  ScrollArea?: Partial<ScrollAreaProps2>
602
612
  };
603
613
  }
604
- declare function ScrollableChipGroup2({ value, ref, onChange, gap, componentsProps, children }: PropsWithChildren16<ScrollableChipGroupProps>): ReactNode25;
614
+ declare function ScrollableChipGroup2({ value, ref, onChange, gap, componentsProps, children }: PropsWithChildren17<ScrollableChipGroupProps>): ReactNode26;
605
615
  interface WidgetSelectionHeaderProps {
606
616
  title?: string;
607
617
  pinnableSection?: FrameLayoutSection.Top | FrameLayoutSection.Bottom | null;
@@ -611,16 +621,17 @@ interface WidgetSelectionHeaderProps {
611
621
  container?: Partial<FlexProps2>
612
622
  widgetMenu?: Partial<MenuProps2>
613
623
  title?: Partial<TextProps>
624
+ divider?: Partial<DividerProps>
614
625
  ScrollableChipGroup?: Partial<ScrollableChipGroupProps>
615
626
  Chip?: Partial<ChipProps>
616
627
  Pinnable?: Partial<PinnableProps>
617
628
  };
618
629
  }
619
- declare function WidgetSelectionHeader({ title, pinnableSection, initiallyPinned, disabledWidgets, componentsProps }: WidgetSelectionHeaderProps): ReactNode26;
630
+ declare function WidgetSelectionHeader({ title, pinnableSection, initiallyPinned, disabledWidgets, componentsProps }: WidgetSelectionHeaderProps): ReactNode27;
620
631
  import { BadgeProps as BadgeProps2, GroupProps as GroupProps3, HoverCardProps, MantineBreakpoint as MantineBreakpoint4, MantineSize as MantineSize8, StackProps as StackProps2, TransitionProps as TransitionProps7 } from "@mantine/core";
621
- import { ReactNode as ReactNode28 } from "react";
632
+ import { ReactNode as ReactNode29 } from "react";
622
633
  import { BadgeProps, TooltipProps as TooltipProps3, TransitionProps as TransitionProps6 } from "@mantine/core";
623
- import { ReactNode as ReactNode27 } from "react";
634
+ import { ReactNode as ReactNode28 } from "react";
624
635
  interface BadgeMinimalProps {
625
636
  label: string;
626
637
  tooltip?: string;
@@ -631,7 +642,7 @@ interface BadgeMinimalProps {
631
642
  tooltip?: TooltipProps3
632
643
  };
633
644
  }
634
- declare function BadgeMinimal({ label, tooltip, mounted, componentsProps }: BadgeMinimalProps): ReactNode27;
645
+ declare function BadgeMinimal({ label, tooltip, mounted, componentsProps }: BadgeMinimalProps): ReactNode28;
635
646
  interface BadgeGroupProps {
636
647
  badges: ElementOrPropsOfType<typeof BadgeMinimal>[];
637
648
  gap?: MantineSize8 | number;
@@ -644,9 +655,9 @@ interface BadgeGroupProps {
644
655
  cumulativeBadgeTransition?: Partial<TransitionProps7>
645
656
  };
646
657
  }
647
- declare function BadgeGroup({ badges: badgesProp, gap, breakpoint: breakpointProp, componentsProps }: BadgeGroupProps): ReactNode28;
658
+ declare function BadgeGroup({ badges: badgesProp, gap, breakpoint: breakpointProp, componentsProps }: BadgeGroupProps): ReactNode29;
648
659
  import { MantineSize as MantineSize9, Paper, TransitionProps as TransitionProps8 } from "@mantine/core";
649
- import { ComponentProps as ComponentProps8, PropsWithChildren as PropsWithChildren17, ReactNode as ReactNode29 } from "react";
660
+ import { ComponentProps as ComponentProps8, PropsWithChildren as PropsWithChildren18, ReactNode as ReactNode30 } from "react";
650
661
  interface WidgetWrapperProps {
651
662
  config: WidgetConfiguration;
652
663
  mt?: MantineSize9 | number;
@@ -660,9 +671,9 @@ interface WidgetWrapperProps {
660
671
  Pinnable?: Partial<PinnableProps>
661
672
  };
662
673
  }
663
- declare function WidgetWrapper({ config, mt, withCloseButton, pinnableSection, componentsProps, children }: PropsWithChildren17<WidgetWrapperProps>): ReactNode29;
664
- import { MantineSize as MantineSize10, LoaderProps, DividerProps, StackProps as StackProps3, TitleProps, ScrollAreaAutosizeProps, TextProps as TextProps2 } from "@mantine/core";
665
- import { PropsWithChildren as PropsWithChildren18, ReactNode as ReactNode30 } from "react";
674
+ declare function WidgetWrapper({ config, mt, withCloseButton, pinnableSection, componentsProps, children }: PropsWithChildren18<WidgetWrapperProps>): ReactNode30;
675
+ import { MantineSize as MantineSize10, LoaderProps, DividerProps as DividerProps2, StackProps as StackProps3, TitleProps, ScrollAreaAutosizeProps, TextProps as TextProps2 } from "@mantine/core";
676
+ import { PropsWithChildren as PropsWithChildren19, ReactNode as ReactNode31 } from "react";
666
677
  interface WidgetProps {
667
678
  id: string;
668
679
  title?: string;
@@ -687,13 +698,13 @@ interface WidgetProps {
687
698
  title?: Partial<TitleProps>
688
699
  description?: Partial<TextProps2>
689
700
  badgeGroup?: Partial<BadgeGroupProps>
690
- divider?: Partial<DividerProps>
701
+ divider?: Partial<DividerProps2>
691
702
  alertsContainer?: Partial<StackProps3>
692
703
  };
693
704
  }
694
- declare function Widget({ id, title, description, config, badges: badgesProp, buttons: buttonsProp, alerts: alertsProp, gaps, loading, mt, pinnableSection, componentsProps, children }: PropsWithChildren18<WidgetProps>): ReactNode30;
705
+ declare function Widget({ id, title, description, config, badges: badgesProp, buttons: buttonsProp, alerts: alertsProp, gaps, loading, mt, pinnableSection, componentsProps, children }: PropsWithChildren19<WidgetProps>): ReactNode31;
695
706
  import { ContainerProps as ContainerProps2, StackProps as StackProps4 } from "@mantine/core";
696
- import { PropsWithChildren as PropsWithChildren19, ReactNode as ReactNode31 } from "react";
707
+ import { PropsWithChildren as PropsWithChildren20, ReactNode as ReactNode32 } from "react";
697
708
  declare const usePage: () => PageConfiguration | null;
698
709
  interface PageProps {
699
710
  name?: string;
@@ -705,16 +716,16 @@ interface PageProps {
705
716
  Stack?: Partial<StackProps4>
706
717
  };
707
718
  }
708
- declare function Page({ children, name, config, gap, componentsProps }: PropsWithChildren19<PageProps>): ReactNode31;
709
- import { PropsWithChildren as PropsWithChildren20, ReactNode as ReactNode32 } from "react";
719
+ declare function Page({ children, name, config, gap, componentsProps }: PropsWithChildren20<PageProps>): ReactNode32;
720
+ import { PropsWithChildren as PropsWithChildren21, ReactNode as ReactNode33 } from "react";
710
721
  interface NotFoundPageProps {
711
722
  message?: string;
712
723
  componentsProps?: {
713
724
  page?: PageProps
714
725
  };
715
726
  }
716
- declare function NotFoundPage({ children, message, componentsProps }: PropsWithChildren20<NotFoundPageProps>): ReactNode32;
717
- import { PropsWithChildren as PropsWithChildren21, ReactNode as ReactNode33 } from "react";
727
+ declare function NotFoundPage({ children, message, componentsProps }: PropsWithChildren21<NotFoundPageProps>): ReactNode33;
728
+ import { PropsWithChildren as PropsWithChildren22, ReactNode as ReactNode34 } from "react";
718
729
  declare enum EnvironmentShellVariant {
719
730
  Alert = "alert",
720
731
  Error = "error",
@@ -730,9 +741,9 @@ interface EnvironmentShellProps {
730
741
  alertContainer: Partial<PageContainerProps>
731
742
  };
732
743
  }
733
- declare function EnvironmentShell({ environment, variant, message, includeAlertContainer, componentsProps, children }: PropsWithChildren21<EnvironmentShellProps>): ReactNode33;
734
- import { PropsWithChildren as PropsWithChildren22, ReactNode as ReactNode35 } from "react";
735
- import { ReactNode as ReactNode34 } from "react";
744
+ declare function EnvironmentShell({ environment, variant, message, includeAlertContainer, componentsProps, children }: PropsWithChildren22<EnvironmentShellProps>): ReactNode34;
745
+ import { PropsWithChildren as PropsWithChildren23, ReactNode as ReactNode36 } from "react";
746
+ import { ReactNode as ReactNode35 } from "react";
736
747
  import { GroupProps as GroupProps4 } from "@mantine/core";
737
748
  interface SettingsWidgetSaveButtonProps {
738
749
  onSaveChanges: () => void;
@@ -742,7 +753,7 @@ interface SettingsWidgetSaveButtonProps {
742
753
  button?: Partial<RemoraidButtonProps>
743
754
  };
744
755
  }
745
- declare function SaveButton2({ onSaveChanges, insideContainer, componentsProps }: SettingsWidgetSaveButtonProps): ReactNode34;
756
+ declare function SaveButton2({ onSaveChanges, insideContainer, componentsProps }: SettingsWidgetSaveButtonProps): ReactNode35;
746
757
  declare const defaultSettingsWidgetContext: {};
747
758
  declare const useSettingsWidgetContext: () => SettingsWidgetContext;
748
759
  interface SettingsWidgetProps {
@@ -751,17 +762,17 @@ interface SettingsWidgetProps {
751
762
  custom?: boolean;
752
763
  widgetProps?: Partial<WidgetProps>;
753
764
  }
754
- declare function SettingsWidget({ children, onRestoreDefaultValues, unsavedChanges, custom, widgetProps }: PropsWithChildren22<SettingsWidgetProps>): ReactNode35;
755
- interface SettingsWidget extends React.FC<PropsWithChildren22<SettingsWidgetProps>> {
765
+ declare function SettingsWidget({ children, onRestoreDefaultValues, unsavedChanges, custom, widgetProps }: PropsWithChildren23<SettingsWidgetProps>): ReactNode36;
766
+ interface SettingsWidget extends React.FC<PropsWithChildren23<SettingsWidgetProps>> {
756
767
  SaveButton: typeof SaveButton2;
757
768
  }
758
769
  declare const _default5: SettingsWidget;
759
- import { ComponentProps as ComponentProps9, ReactNode as ReactNode37 } from "react";
760
- import { PropsWithChildren as PropsWithChildren23, ReactNode as ReactNode36 } from "react";
770
+ import { ComponentProps as ComponentProps9, ReactNode as ReactNode38 } from "react";
771
+ import { PropsWithChildren as PropsWithChildren24, ReactNode as ReactNode37 } from "react";
761
772
  interface SettingsTableRowProps {
762
773
  label: string;
763
774
  }
764
- declare function Row2({ children, label }: PropsWithChildren23<SettingsTableRowProps>): ReactNode36;
775
+ declare function Row2({ children, label }: PropsWithChildren24<SettingsTableRowProps>): ReactNode37;
765
776
  declare const defaultSettingsTableOptions: {
766
777
  leftColumnWidth: string
767
778
  };
@@ -769,12 +780,12 @@ declare const useSettingsTableOptions: () => SettingsTableOptions;
769
780
  interface SettingsTableProps {
770
781
  leftColumnWidth?: string | number;
771
782
  }
772
- declare function SettingsTable({ leftColumnWidth, children: childrenProp }: PropsWithChildrenOfType<typeof Row2, SettingsTableProps>): ReactNode37;
783
+ declare function SettingsTable({ leftColumnWidth, children: childrenProp }: PropsWithChildrenOfType<typeof Row2, SettingsTableProps>): ReactNode38;
773
784
  interface SettingsTable extends React.FC<ComponentProps9<typeof SettingsTable>> {
774
785
  Row: typeof Row2;
775
786
  }
776
787
  declare const _default6: SettingsTable;
777
- import { ComponentProps as ComponentProps10, ReactNode as ReactNode38 } from "react";
788
+ import { ComponentProps as ComponentProps10, ReactNode as ReactNode39 } from "react";
778
789
  declare const defaultNavbarSettingsWidgetId = "navbar-settings";
779
790
  interface NavbarSettingsWidgetProps {
780
791
  additionalRows?: (ComponentProps10<typeof _default6.Row> | ElementOfType<typeof _default6.Row>)[];
@@ -783,8 +794,8 @@ interface NavbarSettingsWidgetProps {
783
794
  table: Partial<SettingsTableRowProps>
784
795
  };
785
796
  }
786
- declare function NavbarSettingsWidget({ additionalRows: additionalRowsProp, widgetProps, componentsProps }: NavbarSettingsWidgetProps): ReactNode38;
787
- import { ComponentProps as ComponentProps11, ReactNode as ReactNode39 } from "react";
797
+ declare function NavbarSettingsWidget({ additionalRows: additionalRowsProp, widgetProps, componentsProps }: NavbarSettingsWidgetProps): ReactNode39;
798
+ import { ComponentProps as ComponentProps11, ReactNode as ReactNode40 } from "react";
788
799
  declare const defaultFooterSettingsWidgetId = "footer-settings";
789
800
  interface FooterSettingsWidgetProps {
790
801
  additionalRows?: (ComponentProps11<typeof _default6.Row> | ElementOfType<typeof _default6.Row>)[];
@@ -793,8 +804,8 @@ interface FooterSettingsWidgetProps {
793
804
  table: Partial<SettingsTableRowProps>
794
805
  };
795
806
  }
796
- declare function FooterSettingsWidget({ additionalRows: additionalRowsProp, widgetProps, componentsProps }: FooterSettingsWidgetProps): ReactNode39;
797
- import { PropsWithChildren as PropsWithChildren24, ReactNode as ReactNode40 } from "react";
807
+ declare function FooterSettingsWidget({ additionalRows: additionalRowsProp, widgetProps, componentsProps }: FooterSettingsWidgetProps): ReactNode40;
808
+ import { PropsWithChildren as PropsWithChildren25, ReactNode as ReactNode41 } from "react";
798
809
  declare const createContextCluster: <
799
810
  Context,
800
811
  StaticID extends string = never
@@ -809,14 +820,14 @@ interface ContextClusterProviderProps<
809
820
  declare function ContextClusterProvider<
810
821
  Context,
811
822
  StaticID extends string = never
812
- >({ cluster, values, children }: PropsWithChildren24<ContextClusterProviderProps<Context, StaticID>>): ReactNode40;
823
+ >({ cluster, values, children }: PropsWithChildren25<ContextClusterProviderProps<Context, StaticID>>): ReactNode41;
813
824
  import { BoxProps as BoxProps3, InputWrapperProps, ScrollAreaProps as ScrollAreaProps3 } from "@mantine/core";
814
- import { PropsWithChildren as PropsWithChildren25, ReactNode as ReactNode41 } from "react";
825
+ import { PropsWithChildren as PropsWithChildren26, ReactNode as ReactNode42 } from "react";
815
826
  interface InputWrapperScrollAreaProps {
816
827
  label?: string;
817
828
  mah?: number;
818
829
  description?: string;
819
- error?: ReactNode41;
830
+ error?: ReactNode42;
820
831
  required?: boolean;
821
832
  componentsProps?: {
822
833
  container?: Partial<InputWrapperProps>
@@ -824,5 +835,5 @@ interface InputWrapperScrollAreaProps {
824
835
  childrenContainer?: Partial<BoxProps3>
825
836
  };
826
837
  }
827
- declare function InputWrapperScrollArea({ children, label, mah, description, error, required, componentsProps }: PropsWithChildren25<InputWrapperScrollAreaProps>): ReactNode41;
828
- export { useWidgets, useWidget, useSettingsWidgetContext as useSettingsWidgetOptions, useSettingsTableOptions, useRemoraidUserExperience, useRemoraidTheme, useRemoraidApp, usePage, useLayouts, useHydrationStatus, useHydratedMantineColorScheme, useFrameLayoutElement, useFrameLayout, useAppShellUserExperience, supportedNavbarPositions, supportedFooterPositions, scrollToWidget, remoraidAppShellLayoutId, isValidElementOfType, isIcon, getElementTypeName, getDefaultWidgetContext, getDefaultNavigationElements, getDefaultButtonIconSize, getCssVars, defaultUserExperienceCookieName, defaultUserExperience, defaultTransitionDurations, defaultSettingsWidgetContext as defaultSettingsWidgetOptions, defaultSettingsTableOptions, defaultNavbarSettingsWidgetId, defaultNavbarPositions, defaultLayoutsContext, defaultFooterSettingsWidgetId, defaultFooterPositions, defaultAppShellUserExperienceCookieName, defaultAppShellUserExperience, defaultAppContext, createUserExperienceContext, createRemoraidTheme, createContextCluster, co, asElementOrPropsOfType, asElementOfType, asChildrenOfType, WidgetsProviderProps, WidgetsContext, WidgetWrapperProps, WidgetWrapper, WidgetSelectionHeaderProps, WidgetSelectionHeader, WidgetProps, WidgetContext, WidgetConfiguration, Widget, UserExperienceProviderWrapperProps, UserExperienceProviderWrapper, UserExperienceProviderProps, UserExperienceContext, UserExperience, TransitionDuration, ThemeProviderProps, StaticRemoraidAppContext, SettingsWidgetSaveButtonProps, SettingsWidgetProps, SettingsWidgetContext, _default5 as SettingsWidget, SettingsTableRowProps, SettingsTableOptions, _default6 as SettingsTable, ScrollableChipGroupProps, ScrollableChipGroup2 as ScrollableChipGroup, RemoraidUser, RemoraidThemeDependencies, RemoraidThemeCallback, RemoraidTheme, RemoraidProviderProps, RemoraidProvider, RemoraidIconSize, RemoraidButtonProps, RemoraidButtonDefaultResponsivity, RemoraidButton, RemoraidBreakpoint, RemoraidAuthContext, RemoraidAppContext, PropsWithChildrenOfType, PrimitiveUserExperience, PinnableProps, PinnableDefaultLayoutType, Pinnable2 as Pinnable, PageProps, PageContainerProps, PageContainer2 as PageContainer, PageConfiguration, Page, OptionalIfExtends, Optional, NotFoundPageProps, NotFoundPage, NavigationMenuProps, NavigationElementType, NavigationElementButton, NavigationElementBase, NavigationElementAnchor, NavigationElement, NavbarVariant, NavbarSettingsWidgetProps, NavbarSettingsWidget, NavbarProps, NavbarPosition, NavbarOrientation, NavbarMode, NavbarMobileVariant, NavbarMobilePosition, NavbarMinimalProps, NavbarMinimalContentProps, _default as Navbar, LayoutsProviderProps, LayoutsContext, LayoutType, LayoutSection, LayoutElementContext, LayoutContext, InputWrapperScrollAreaProps, InputWrapperScrollArea, HydrationStatusProviderProps, HydrationStatusProvider, HydrationStatus, FrameLayoutSection, FrameLayoutProps, FrameLayoutElementProps, _default3 as FrameLayout, FooterVariant, FooterSettingsWidgetProps, FooterSettingsWidget, FooterProps, FooterPosition, FooterMinimalProps, _default2 as Footer, EnvironmentShellVariant, EnvironmentShellProps, EnvironmentShell, ElementOrPropsOfType, ElementOfType, DefaultNavigationElementsDependencies, CustomAppVariables, CoreUserExperience, ControlsProps, Controls, ControlButtonProps, ControlButton, ContextClusterProviderProps, ContextClusterProvider, ContextCluster, Common, ClickTransformation, ChildrenOfType, BadgeMinimalProps, BadgeMinimal, BadgeGroupProps, BadgeGroup, AppShellUserExperience, AppShellProps, AppShellNavbarVariant, AppShellNavbarMobileVariant, AppShellFooterVariant, _default4 as AppShell, AppProviderProps, AppProvider2 as AppProvider, AppLogo, AlertMinimalProps, AlertMinimal, AlertCategory };
838
+ declare function InputWrapperScrollArea({ children, label, mah, description, error, required, componentsProps }: PropsWithChildren26<InputWrapperScrollAreaProps>): ReactNode42;
839
+ export { useWidgets, useWidget, useSettingsWidgetContext as useSettingsWidgetOptions, useSettingsTableOptions, useRemoraidUserExperience, useRemoraidTheme, useRemoraidRouter, useRemoraidApp, usePage, useLayouts, useHydrationStatus, useHydratedMantineColorScheme, useFrameLayoutElement, useFrameLayout, useAppShellUserExperience, supportedNavbarPositions, supportedFooterPositions, scrollToWidget, remoraidAppShellLayoutId, isValidElementOfType, isIcon, getElementTypeName, getDefaultWidgetContext, getDefaultNavigationElements, getDefaultButtonIconSize, getCssVars, defaultUserExperienceCookieName, defaultUserExperience, defaultTransitionDurations, defaultSettingsWidgetContext as defaultSettingsWidgetOptions, defaultSettingsTableOptions, defaultRemoraidButtonSize, defaultNavbarSettingsWidgetId, defaultNavbarPositions, defaultLayoutsContext, defaultFooterSettingsWidgetId, defaultFooterPositions, defaultAppShellUserExperienceCookieName, defaultAppShellUserExperience, defaultAppContext, createUserExperienceContext, createRemoraidTheme, createContextCluster, co, asElementOrPropsOfType, asElementOfType, asChildrenOfType, WidgetsProviderProps, WidgetsContext, WidgetWrapperProps, WidgetWrapper, WidgetSelectionHeaderProps, WidgetSelectionHeader, WidgetProps, WidgetContext, WidgetConfiguration, Widget, UserExperienceProviderWrapperProps, UserExperienceProviderWrapper, UserExperienceProviderProps, UserExperienceContext, UserExperience, TransitionDuration, ThemeProviderProps, StaticRemoraidAppContext, SettingsWidgetSaveButtonProps, SettingsWidgetProps, SettingsWidgetContext, _default5 as SettingsWidget, SettingsTableRowProps, SettingsTableOptions, _default6 as SettingsTable, ScrollableChipGroupProps, ScrollableChipGroup2 as ScrollableChipGroup, RouterProviderProps, RouterProvider2 as RouterProvider, RouterAdapter, RemoraidUser, RemoraidThemeDependencies, RemoraidThemeCallback, RemoraidTheme, RemoraidProviderProps, RemoraidProvider, RemoraidIconSize, RemoraidButtonProps, RemoraidButtonDefaultResponsivity, RemoraidButton, RemoraidBreakpoint, RemoraidAuthContext, RemoraidAppContext, PropsWithChildrenOfType, PrimitiveUserExperience, PinnableProps, PinnableDefaultLayoutType, Pinnable2 as Pinnable, PageProps, PageContainerProps, PageContainer2 as PageContainer, PageConfiguration, Page, OptionalIfExtends, Optional, NotFoundPageProps, NotFoundPage, NavigationMenuProps, NavigationElementType, NavigationElementButton, NavigationElementBase, NavigationElementAnchor, NavigationElement, NavbarVariant, NavbarSettingsWidgetProps, NavbarSettingsWidget, NavbarProps, NavbarPosition, NavbarOrientation, NavbarMode, NavbarMobileVariant, NavbarMobilePosition, NavbarMinimalProps, NavbarMinimalContentProps, _default as Navbar, LayoutsProviderProps, LayoutsContext, LayoutType, LayoutSection, LayoutElementContext, LayoutContext, InputWrapperScrollAreaProps, InputWrapperScrollArea, HydrationStatusProviderProps, HydrationStatusProvider, HydrationStatus, FrameLayoutSection, FrameLayoutProps, FrameLayoutElementProps, _default3 as FrameLayout, FooterVariant, FooterSettingsWidgetProps, FooterSettingsWidget, FooterProps, FooterPosition, FooterMinimalProps, _default2 as Footer, EnvironmentShellVariant, EnvironmentShellProps, EnvironmentShell, ElementOrPropsOfType, ElementOfType, DefaultNavigationElementsDependencies, CustomAppVariables, CoreUserExperience, ControlsProps, Controls, ControlButtonProps, ControlButton, ContextClusterProviderProps, ContextClusterProvider, ContextCluster, Common, ClickTransformation, ChildrenOfType, BadgeMinimalProps, BadgeMinimal, BadgeGroupProps, BadgeGroup, AppShellUserExperience, AppShellProps, AppShellNavbarVariant, AppShellNavbarMobileVariant, AppShellFooterVariant, _default4 as AppShell, AppProviderProps, AppProvider2 as AppProvider, AlertMinimalProps, AlertMinimal, AlertCategory };