remoraid 2.5.6 → 2.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { PropsWithChildren as PropsWithChildren3, ReactNode as ReactNode4 } from "react";
1
+ import { PropsWithChildren as PropsWithChildren4, ReactNode as ReactNode5 } from "react";
2
2
  import { AlertProps, IndicatorProps, MantineBreakpoint, MantineColorScheme, MantineSize, MantineTheme, ScrollAreaProps } from "@mantine/core";
3
3
  import { Icon, IconProps } from "@tabler/icons-react";
4
4
  import { ImageProps } from "next/image";
@@ -59,7 +59,6 @@ declare enum RemoraidIconSize {
59
59
  Medium = "medium"
60
60
  }
61
61
  interface RemoraidTheme {
62
- complete: true;
63
62
  transitionDurations: Record<TransitionDuration, number>;
64
63
  breakpoints: Record<RemoraidBreakpoint, MantineBreakpoint>;
65
64
  scrollAreaProps: ScrollAreaProps;
@@ -71,8 +70,11 @@ interface RemoraidTheme {
71
70
  primaryColor?: string;
72
71
  spacingPx?: Record<MantineSize, number>;
73
72
  }
74
- type RemoraidThemeCallback = (mantineTheme: MantineTheme, colorScheme: MantineColorScheme) => RemoraidTheme;
75
- type PartialRemoraidTheme = Omit<Partial<RemoraidTheme>, "complete">;
73
+ interface RemoraidThemeDependencies {
74
+ mantineTheme: MantineTheme;
75
+ colorScheme: MantineColorScheme;
76
+ }
77
+ type RemoraidThemeCallback = (dependencies: Partial<RemoraidThemeDependencies>) => Partial<RemoraidTheme>;
76
78
  type AppShellLogo = (props: Omit<ImageProps, "src" | "alt">) => ReactNode;
77
79
  interface NavbarProps {
78
80
  settings?: Partial<NavbarSettings>;
@@ -99,6 +101,10 @@ interface SettingsWidgetContext {
99
101
  unsavedChanges?: boolean;
100
102
  custom?: boolean;
101
103
  }
104
+ interface HydrationStatus {
105
+ hasHydrated: boolean;
106
+ ensureHydration: <T>(v: T) => T | undefined;
107
+ }
102
108
  interface WidgetsContext {
103
109
  widgets: {
104
110
  [index: string]: {
@@ -120,41 +126,52 @@ interface WidgetsContext {
120
126
  }
121
127
  declare const useWidgets: () => WidgetsContext;
122
128
  interface WidgetsProviderProps {}
123
- import { MantineColorScheme as MantineColorScheme2, MantineTheme as MantineTheme2 } from "@mantine/core";
124
- declare const createRemoraidTheme: (customTheme?: Partial<RemoraidTheme>, mantineTheme?: MantineTheme2, colorScheme?: MantineColorScheme2) => RemoraidTheme;
129
+ declare const createRemoraidTheme: (customTheme?: Partial<RemoraidTheme>, dependencies?: Partial<RemoraidThemeDependencies>) => RemoraidTheme;
125
130
  declare const useRemoraidTheme: () => RemoraidTheme;
126
131
  interface ThemeProviderProps {
127
- theme?: RemoraidTheme | RemoraidThemeCallback | PartialRemoraidTheme;
132
+ theme?: RemoraidTheme | RemoraidThemeCallback;
128
133
  }
129
134
  import { ReactCookieProps } from "react-cookie";
135
+ import { MantineColorScheme as MantineColorScheme2 } from "@mantine/core";
136
+ import { PropsWithChildren as PropsWithChildren3, ReactNode as ReactNode4 } from "react";
137
+ declare const useHydrationStatus: () => HydrationStatus;
138
+ declare const useHydratedMantineColorScheme: () => {
139
+ colorScheme?: MantineColorScheme2
140
+ setColorScheme?: (value: MantineColorScheme2) => void
141
+ clearColorScheme?: () => void
142
+ toggleColorScheme?: () => void
143
+ };
144
+ interface HydrationStatusProviderProps {}
145
+ declare function HydrationStatusProvider({ children }: PropsWithChildren3<HydrationStatusProviderProps>): ReactNode4;
130
146
  interface RemoraidProviderProps {
131
- theme?: RemoraidTheme | RemoraidThemeCallback | PartialRemoraidTheme;
132
- initialUserExperience?: Partial<CoreUserExperience>;
147
+ theme?: ThemeProviderProps["theme"];
148
+ initialUserExperience?: UserExperienceProviderProps<CoreUserExperience>["initialValue"];
133
149
  componentsProps?: {
134
- ThemeProvider?: ThemeProviderProps
135
- CoreUserExperienceProvider?: UserExperienceProviderProps<CoreUserExperience>
136
- WidgetsProvider?: WidgetsProviderProps
137
- CookiesProvider?: ReactCookieProps
150
+ ThemeProvider?: Partial<ThemeProviderProps>
151
+ CoreUserExperienceProvider?: Partial<UserExperienceProviderProps<CoreUserExperience>>
152
+ WidgetsProvider?: Partial<WidgetsProviderProps>
153
+ CookiesProvider?: Partial<ReactCookieProps>
154
+ HydrationStatusProviderProps?: Partial<HydrationStatusProviderProps>
138
155
  };
139
156
  }
140
- declare function RemoraidProvider({ children, theme, initialUserExperience, componentsProps }: PropsWithChildren3<RemoraidProviderProps>): ReactNode4;
141
- import { PropsWithChildren as PropsWithChildren4, ReactNode as ReactNode5 } from "react";
157
+ declare function RemoraidProvider({ children, theme, initialUserExperience, componentsProps }: PropsWithChildren4<RemoraidProviderProps>): ReactNode5;
158
+ import { PropsWithChildren as PropsWithChildren5, ReactNode as ReactNode6 } from "react";
142
159
  interface AppShellProps {
143
160
  logo: AppShellLogo;
144
161
  navigablePages: RemoraidAppContext["navigablePages"];
145
- navbar: NavbarProps;
162
+ navbar?: NavbarProps;
146
163
  user?: RemoraidUser;
147
164
  }
148
- declare function AppShell({ children, logo, navbar, user, navigablePages }: PropsWithChildren4<AppShellProps>): ReactNode5;
149
- import { PropsWithChildren as PropsWithChildren5, ReactNode as ReactNode6 } from "react";
165
+ declare function AppShell({ children, logo, navbar, user, navigablePages }: PropsWithChildren5<AppShellProps>): ReactNode6;
166
+ import { PropsWithChildren as PropsWithChildren6, ReactNode as ReactNode7 } from "react";
150
167
  declare const defaultAppContext: RemoraidAppContext;
151
168
  declare const useRemoraidApp: () => RemoraidAppContext;
152
169
  interface AppProviderProps {
153
170
  navigablePages: RemoraidAppContext["navigablePages"];
154
171
  user?: RemoraidUser;
155
172
  }
156
- declare function AppProvider({ children, navigablePages, user }: PropsWithChildren5<AppProviderProps>): ReactNode6;
157
- import { Context, PropsWithChildren as PropsWithChildren6, ReactNode as ReactNode7 } from "react";
173
+ declare function AppProvider({ children, navigablePages, user }: PropsWithChildren6<AppProviderProps>): ReactNode7;
174
+ import { Context, PropsWithChildren as PropsWithChildren7, ReactNode as ReactNode8 } from "react";
158
175
  declare const createUserExperienceContext: <T extends UserExperience>(defaultUserExperience: T) => Context<UserExperienceContext<T>>;
159
176
  interface UserExperienceProviderWrapperProps<T extends UserExperience> {
160
177
  context: Context<UserExperienceContext<T>>;
@@ -163,28 +180,28 @@ interface UserExperienceProviderWrapperProps<T extends UserExperience> {
163
180
  isValidUserExperience: (x: unknown) => x is T;
164
181
  initialValue?: Partial<T>;
165
182
  }
166
- declare function UserExperienceProviderWrapper<T extends UserExperience>({ children, context, cookieName, defaultUserExperience, isValidUserExperience, initialValue }: PropsWithChildren6<UserExperienceProviderWrapperProps<T>>): ReactNode7;
183
+ declare function UserExperienceProviderWrapper<T extends UserExperience>({ children, context, cookieName, defaultUserExperience, isValidUserExperience, initialValue }: PropsWithChildren7<UserExperienceProviderWrapperProps<T>>): ReactNode8;
167
184
  declare const defaultNavbarSettings: Record<NavbarVariant, NavbarSettings>;
168
185
  declare const defaultUserExperience: CoreUserExperience;
169
186
  declare const defaultUserExperienceCookieName = "remoraid-core-user-experience";
170
187
  declare const useRemoraidUserExperience: () => UserExperienceContext<CoreUserExperience>;
171
188
  import { MantineSize as MantineSize2 } from "@mantine/core";
172
- import { ReactNode as ReactNode9 } from "react";
189
+ import { ReactNode as ReactNode10 } from "react";
173
190
  interface WidgetSelectionHeaderProps {
174
191
  title?: string;
175
192
  disabledWidgets?: string[];
176
193
  mt?: MantineSize2 | number;
177
194
  }
178
- declare function WidgetSelectionHeader({ title, disabledWidgets, mt }: WidgetSelectionHeaderProps): ReactNode9;
179
- import { ReactNode as ReactNode10 } from "react";
195
+ declare function WidgetSelectionHeader({ title, disabledWidgets, mt }: WidgetSelectionHeaderProps): ReactNode10;
196
+ import { ReactNode as ReactNode11 } from "react";
180
197
  interface CloseButtonProps {
181
198
  widgetId: string;
182
199
  }
183
- declare function CloseButton2({ widgetId }: CloseButtonProps): ReactNode10;
200
+ declare function CloseButton2({ widgetId }: CloseButtonProps): ReactNode11;
184
201
  import { BadgeProps as BadgeProps2, MantineBreakpoint as MantineBreakpoint2, MantineSize as MantineSize3, TooltipProps as TooltipProps2 } from "@mantine/core";
185
- import { ReactNode as ReactNode12 } from "react";
202
+ import { ReactNode as ReactNode13 } from "react";
186
203
  import { BadgeProps, TooltipProps, TransitionProps } from "@mantine/core";
187
- import { ReactNode as ReactNode11 } from "react";
204
+ import { ReactNode as ReactNode12 } from "react";
188
205
  interface BadgeMinimalProps {
189
206
  label: string;
190
207
  tooltip?: string;
@@ -195,9 +212,9 @@ interface BadgeMinimalProps {
195
212
  tooltip?: TooltipProps
196
213
  };
197
214
  }
198
- declare function BadgeMinimal(props: BadgeMinimalProps): ReactNode11;
215
+ declare function BadgeMinimal(props: BadgeMinimalProps): ReactNode12;
199
216
  interface BadgeGroupProps {
200
- badges: (BadgeMinimalProps | ReactNode12)[];
217
+ badges: (BadgeMinimalProps | ReactNode13)[];
201
218
  gap?: MantineSize3 | number;
202
219
  breakpoint?: MantineBreakpoint2;
203
220
  componentsProps?: {
@@ -205,9 +222,9 @@ interface BadgeGroupProps {
205
222
  cumulativeBadge?: Partial<Omit<BadgeProps2, "hiddenFrom" | "circle">>
206
223
  };
207
224
  }
208
- declare function BadgeGroup({ badges, gap, breakpoint, componentsProps }: BadgeGroupProps): ReactNode12;
225
+ declare function BadgeGroup({ badges, gap, breakpoint, componentsProps }: BadgeGroupProps): ReactNode13;
209
226
  import { AlertProps as AlertProps2, MantineSize as MantineSize4, TransitionProps as TransitionProps2 } from "@mantine/core";
210
- import { PropsWithChildren as PropsWithChildren8, ReactNode as ReactNode13 } from "react";
227
+ import { PropsWithChildren as PropsWithChildren9, ReactNode as ReactNode14 } from "react";
211
228
  interface AlertMinimalProps {
212
229
  category: AlertCategory;
213
230
  title?: string;
@@ -221,10 +238,10 @@ interface AlertMinimalProps {
221
238
  transition?: Omit<TransitionProps2, "mounted">
222
239
  };
223
240
  }
224
- declare function AlertMinimal({ children, title, category, text, onClose, mounted, mt, mb, componentsProps }: PropsWithChildren8<AlertMinimalProps>): ReactNode13;
241
+ declare function AlertMinimal({ children, title, category, text, onClose, mounted, mt, mb, componentsProps }: PropsWithChildren9<AlertMinimalProps>): ReactNode14;
225
242
  import { ActionIconProps, ActionIconVariant, ButtonProps, ButtonVariant, MantineBreakpoint as MantineBreakpoint3, MantineColor, MantineSize as MantineSize5, TooltipProps as TooltipProps3 } from "@mantine/core";
226
243
  import { Icon as Icon2, IconProps as IconProps2 } from "@tabler/icons-react";
227
- import { ReactNode as ReactNode14 } from "react";
244
+ import { ReactNode as ReactNode15 } from "react";
228
245
  import { ReactElement } from "react";
229
246
  type Common<
230
247
  A,
@@ -248,14 +265,14 @@ interface RemoraidButtonProps {
248
265
  componentsProps?: {
249
266
  tooltip?: Partial<TooltipProps3>
250
267
  icon?: Partial<IconProps2>
251
- button: Omit<Partial<Common<ButtonProps, ActionIconProps>>, "variant" | "onClick" | "size" | "color" | "loading">
268
+ button?: Omit<Partial<Common<ButtonProps, ActionIconProps>>, "variant" | "onClick" | "size" | "color" | "loading">
252
269
  Button?: Partial<ButtonProps>
253
270
  ActionIcon?: Partial<ActionIconProps>
254
271
  };
255
272
  }
256
- declare function RemoraidButton({ label, responsive, breakpoint, collapsed, size, color, onClick, loading, variant, componentsProps,...props }: RemoraidButtonProps): ReactNode14;
273
+ declare function RemoraidButton({ label, responsive, breakpoint, collapsed, size, color, onClick, loading, variant, componentsProps,...props }: RemoraidButtonProps): ReactNode15;
257
274
  import { MantineSize as MantineSize6, PaperProps, TransitionProps as TransitionProps3 } from "@mantine/core";
258
- import { PropsWithChildren as PropsWithChildren9, ReactNode as ReactNode15 } from "react";
275
+ import { PropsWithChildren as PropsWithChildren10, ReactNode as ReactNode16 } from "react";
259
276
  interface WidgetWrapperComponentsProps {
260
277
  container?: Partial<PaperProps>;
261
278
  transition?: Partial<Omit<TransitionProps3, "mounted">>;
@@ -266,13 +283,13 @@ interface WidgetWrapperProps {
266
283
  withCloseButton?: boolean;
267
284
  componentsProps?: WidgetWrapperComponentsProps;
268
285
  }
269
- declare function WidgetWrapper({ children, config, mt, withCloseButton, componentsProps }: PropsWithChildren9<WidgetWrapperProps>): ReactNode15;
270
- interface WidgetWrapper extends React.FC<PropsWithChildren9<WidgetWrapperProps>> {
286
+ declare function WidgetWrapper({ children, config, mt, withCloseButton, componentsProps }: PropsWithChildren10<WidgetWrapperProps>): ReactNode16;
287
+ interface WidgetWrapper extends React.FC<PropsWithChildren10<WidgetWrapperProps>> {
271
288
  CloseButton: typeof CloseButton2;
272
289
  }
273
290
  declare const _default: WidgetWrapper;
274
291
  import { MantineSize as MantineSize7, LoaderProps } from "@mantine/core";
275
- import { PropsWithChildren as PropsWithChildren10, ReactNode as ReactNode16 } from "react";
292
+ import { PropsWithChildren as PropsWithChildren11, ReactNode as ReactNode17 } from "react";
276
293
  interface WidgetComponentsProps extends WidgetWrapperComponentsProps {
277
294
  wrapper?: Partial<Omit<WidgetWrapperProps, "widgetId">>;
278
295
  loader?: Partial<LoaderProps>;
@@ -282,9 +299,9 @@ interface WidgetProps {
282
299
  id: string;
283
300
  title: string;
284
301
  config?: Partial<Omit<WidgetConfiguration, "widgetId">>;
285
- badges?: (BadgeMinimalProps | ReactNode16)[];
286
- buttons?: (RemoraidButtonProps | ReactNode16)[];
287
- alerts?: (AlertMinimalProps | ReactNode16)[];
302
+ badges?: (BadgeMinimalProps | ReactNode17)[];
303
+ buttons?: (RemoraidButtonProps | ReactNode17)[];
304
+ alerts?: (AlertMinimalProps | ReactNode17)[];
288
305
  gaps?: MantineSize7 | number | {
289
306
  badges?: MantineSize7 | number
290
307
  buttons?: MantineSize7 | number
@@ -294,9 +311,10 @@ interface WidgetProps {
294
311
  mt?: MantineSize7 | number;
295
312
  componentsProps?: WidgetComponentsProps;
296
313
  }
297
- declare function Widget({ children, id, config, title, badges, buttons, alerts, gaps, loading, mt, componentsProps }: PropsWithChildren10<WidgetProps>): ReactNode16;
314
+ declare function Widget({ children, id, config, title, badges, buttons, alerts, gaps, loading, mt, componentsProps }: PropsWithChildren11<WidgetProps>): ReactNode17;
298
315
  import { ContainerProps, MantineSize as MantineSize8 } from "@mantine/core";
299
- import { PropsWithChildren as PropsWithChildren11, ReactNode as ReactNode17 } from "react";
316
+ import { PropsWithChildren as PropsWithChildren12, ReactNode as ReactNode18 } from "react";
317
+ declare const usePage: () => PageConfiguration | null;
300
318
  interface PageProps {
301
319
  name?: string;
302
320
  config?: Partial<Omit<PageConfiguration, "name">>;
@@ -305,26 +323,26 @@ interface PageProps {
305
323
  container?: ContainerProps
306
324
  };
307
325
  }
308
- declare function Page({ children, name, config, pt, componentsProps }: PropsWithChildren11<PageProps>): ReactNode17;
326
+ declare function Page({ children, name, config, pt, componentsProps }: PropsWithChildren12<PageProps>): ReactNode18;
309
327
  import { ContainerProps as ContainerProps2, MantineSize as MantineSize9 } from "@mantine/core";
310
- import { PropsWithChildren as PropsWithChildren12, ReactNode as ReactNode18 } from "react";
328
+ import { PropsWithChildren as PropsWithChildren13, ReactNode as ReactNode19 } from "react";
311
329
  interface PageContainerProps {
312
330
  pt?: MantineSize9 | number;
313
331
  componentsProps?: {
314
332
  container?: ContainerProps2
315
333
  };
316
334
  }
317
- declare function PageContainer({ children, pt, componentsProps }: PropsWithChildren12<PageContainerProps>): ReactNode18;
318
- import { PropsWithChildren as PropsWithChildren13, ReactNode as ReactNode19 } from "react";
335
+ declare function PageContainer({ children, pt, componentsProps }: PropsWithChildren13<PageContainerProps>): ReactNode19;
336
+ import { PropsWithChildren as PropsWithChildren14, ReactNode as ReactNode20 } from "react";
319
337
  interface NotFoundPageProps {
320
338
  message?: string;
321
339
  componentsProps?: {
322
340
  page?: PageProps
323
341
  };
324
342
  }
325
- declare function NotFoundPage({ children, message, componentsProps }: PropsWithChildren13<NotFoundPageProps>): ReactNode19;
343
+ declare function NotFoundPage({ children, message, componentsProps }: PropsWithChildren14<NotFoundPageProps>): ReactNode20;
326
344
  import { ContainerProps as ContainerProps3, MantineSize as MantineSize10 } from "@mantine/core";
327
- import { PropsWithChildren as PropsWithChildren14, ReactNode as ReactNode20 } from "react";
345
+ import { PropsWithChildren as PropsWithChildren15, ReactNode as ReactNode21 } from "react";
328
346
  interface EnvironmentShellProps {
329
347
  environment: Record<string, string | undefined>;
330
348
  message?: string;
@@ -335,9 +353,9 @@ interface EnvironmentShellProps {
335
353
  container?: ContainerProps3
336
354
  };
337
355
  }
338
- declare function EnvironmentShell({ children, environment, message, m, mt, withContainer, componentsProps }: PropsWithChildren14<EnvironmentShellProps>): ReactNode20;
339
- import { PropsWithChildren as PropsWithChildren15, ReactNode as ReactNode22 } from "react";
340
- import { ReactNode as ReactNode21 } from "react";
356
+ declare function EnvironmentShell({ children, environment, message, m, mt, withContainer, componentsProps }: PropsWithChildren15<EnvironmentShellProps>): ReactNode21;
357
+ import { PropsWithChildren as PropsWithChildren16, ReactNode as ReactNode23 } from "react";
358
+ import { ReactNode as ReactNode22 } from "react";
341
359
  import { GroupProps } from "@mantine/core";
342
360
  interface SettingsWidgetSaveButtonProps {
343
361
  onSaveChanges: () => void;
@@ -347,7 +365,7 @@ interface SettingsWidgetSaveButtonProps {
347
365
  button?: Partial<RemoraidButtonProps>
348
366
  };
349
367
  }
350
- declare function SaveButton2({ onSaveChanges, insideContainer, componentsProps }: SettingsWidgetSaveButtonProps): ReactNode21;
368
+ declare function SaveButton2({ onSaveChanges, insideContainer, componentsProps }: SettingsWidgetSaveButtonProps): ReactNode22;
351
369
  declare const defaultSettingsWidgetContext: {};
352
370
  declare const useSettingsWidgetContext: () => SettingsWidgetContext;
353
371
  interface SettingsWidgetProps {
@@ -356,17 +374,17 @@ interface SettingsWidgetProps {
356
374
  custom?: boolean;
357
375
  widgetProps?: Partial<WidgetProps>;
358
376
  }
359
- declare function SettingsWidget({ children, onRestoreDefaultValues, unsavedChanges, custom, widgetProps }: PropsWithChildren15<SettingsWidgetProps>): ReactNode22;
360
- interface SettingsWidget extends React.FC<PropsWithChildren15<SettingsWidgetProps>> {
377
+ declare function SettingsWidget({ children, onRestoreDefaultValues, unsavedChanges, custom, widgetProps }: PropsWithChildren16<SettingsWidgetProps>): ReactNode23;
378
+ interface SettingsWidget extends React.FC<PropsWithChildren16<SettingsWidgetProps>> {
361
379
  SaveButton: typeof SaveButton2;
362
380
  }
363
381
  declare const _default2: SettingsWidget;
364
- import { ReactNode as ReactNode24 } from "react";
365
- import { PropsWithChildren as PropsWithChildren16, ReactNode as ReactNode23 } from "react";
382
+ import { ReactNode as ReactNode25 } from "react";
383
+ import { PropsWithChildren as PropsWithChildren17, ReactNode as ReactNode24 } from "react";
366
384
  interface SettingsTableRowProps {
367
385
  label: string;
368
386
  }
369
- declare function Row2({ children, label }: PropsWithChildren16<SettingsTableRowProps>): ReactNode23;
387
+ declare function Row2({ children, label }: PropsWithChildren17<SettingsTableRowProps>): ReactNode24;
370
388
  declare const defaultSettingsTableOptions: {
371
389
  leftColumnWidth: string
372
390
  };
@@ -375,12 +393,12 @@ interface SettingsTableProps {
375
393
  children: OnlyChildrenOf<typeof Row2, SettingsTableRowProps>;
376
394
  leftColumnWidth?: string | number;
377
395
  }
378
- declare function SettingsTable({ children, leftColumnWidth }: SettingsTableProps): ReactNode24;
396
+ declare function SettingsTable({ children, leftColumnWidth }: SettingsTableProps): ReactNode25;
379
397
  interface SettingsTable extends React.FC<SettingsTableProps> {
380
398
  Row: typeof Row2;
381
399
  }
382
400
  declare const _default3: SettingsTable;
383
- import { ReactElement as ReactElement2, ReactNode as ReactNode25 } from "react";
401
+ import { ReactElement as ReactElement2, ReactNode as ReactNode26 } from "react";
384
402
  declare const defaultNavbarSettingsWidgetId = "navbar-settings";
385
403
  interface NavbarSettingsWidgetProps {
386
404
  additionalRows?: ReactElement2<SettingsTableRowProps, typeof _default3.Row>[];
@@ -389,5 +407,19 @@ interface NavbarSettingsWidgetProps {
389
407
  table: Partial<Omit<SettingsTableProps, "children">>
390
408
  };
391
409
  }
392
- declare function NavbarSettingsWidget({ additionalRows, widgetProps, componentsProps }: NavbarSettingsWidgetProps): ReactNode25;
393
- export { useWidgets, useSettingsWidgetContext as useSettingsWidgetOptions, useSettingsTableOptions, useRemoraidUserExperience, useRemoraidTheme, useRemoraidApp, defaultUserExperienceCookieName, defaultUserExperience, defaultSettingsWidgetContext as defaultSettingsWidgetOptions, defaultSettingsTableOptions, defaultNavbarSettingsWidgetId, defaultNavbarSettings, defaultAppContext, createUserExperienceContext, createRemoraidTheme, WidgetsProviderProps, WidgetWrapperProps, _default as WidgetWrapper, WidgetSelectionHeaderProps, WidgetSelectionHeader, WidgetProps, WidgetConfiguration, Widget, UserExperienceProviderWrapperProps, UserExperienceProviderWrapper, UserExperienceProviderProps, UserExperienceContext, UserExperience, TransitionDuration, ThemeProviderProps, SettingsWidgetSaveButtonProps, SettingsWidgetProps, SettingsWidgetContext, _default2 as SettingsWidget, SettingsTableRowProps, SettingsTableOptions, _default3 as SettingsTable, RemoraidUser, RemoraidThemeCallback, RemoraidTheme, RemoraidProviderProps, RemoraidProvider, RemoraidIconSize, RemoraidButtonProps, RemoraidButton, RemoraidBreakpoint, RemoraidAppContext, PartialRemoraidTheme, PageProps, PageContainerProps, PageContainer, PageConfiguration, Page, NotFoundPageProps, NotFoundPage, NavbarVariant, NavbarSettingsWidgetProps, NavbarSettingsWidget, NavbarSettings, NavbarProps, EnvironmentShellProps, EnvironmentShell, CoreUserExperience, CloseButtonProps, BadgeMinimalProps, BadgeMinimal, BadgeGroupProps, BadgeGroup, AppShellProps, AppShellLogo, AppShell, AppProvider, AlertMinimalProps, AlertMinimal, AlertCategory };
410
+ declare function NavbarSettingsWidget({ additionalRows, widgetProps, componentsProps }: NavbarSettingsWidgetProps): ReactNode26;
411
+ import { Chip, ChipGroupProps, ChipProps, FlexProps, MantineSize as MantineSize11, ScrollAreaProps as ScrollAreaProps2 } from "@mantine/core";
412
+ import { ReactNode as ReactNode27 } from "react";
413
+ interface ScrollbleChipGroupProps {
414
+ value: string[];
415
+ onChange?: (value: string[]) => void;
416
+ gap?: MantineSize11 | number;
417
+ componentsProps?: {
418
+ chipGroup?: Partial<ChipGroupProps<true>>
419
+ scrollArea?: Partial<ScrollAreaProps2>
420
+ container?: Partial<FlexProps>
421
+ };
422
+ children?: OnlyChildrenOf<typeof Chip, ChipProps>;
423
+ }
424
+ declare function ScrollableChipGroup({ value, onChange, gap, componentsProps, children }: ScrollbleChipGroupProps): ReactNode27;
425
+ export { useWidgets, useSettingsWidgetContext as useSettingsWidgetOptions, useSettingsTableOptions, useRemoraidUserExperience, useRemoraidTheme, useRemoraidApp, usePage, useHydrationStatus, useHydratedMantineColorScheme, defaultUserExperienceCookieName, defaultUserExperience, defaultSettingsWidgetContext as defaultSettingsWidgetOptions, defaultSettingsTableOptions, defaultNavbarSettingsWidgetId, defaultNavbarSettings, defaultAppContext, createUserExperienceContext, createRemoraidTheme, WidgetsProviderProps, WidgetWrapperProps, _default as WidgetWrapper, WidgetSelectionHeaderProps, WidgetSelectionHeader, WidgetProps, WidgetConfiguration, Widget, UserExperienceProviderWrapperProps, UserExperienceProviderWrapper, UserExperienceProviderProps, UserExperienceContext, UserExperience, TransitionDuration, ThemeProviderProps, SettingsWidgetSaveButtonProps, SettingsWidgetProps, SettingsWidgetContext, _default2 as SettingsWidget, SettingsTableRowProps, SettingsTableOptions, _default3 as SettingsTable, ScrollbleChipGroupProps, ScrollableChipGroup, RemoraidUser, RemoraidThemeDependencies, RemoraidThemeCallback, RemoraidTheme, RemoraidProviderProps, RemoraidProvider, RemoraidIconSize, RemoraidButtonProps, RemoraidButton, RemoraidBreakpoint, RemoraidAppContext, PageProps, PageContainerProps, PageContainer, PageConfiguration, Page, NotFoundPageProps, NotFoundPage, NavbarVariant, NavbarSettingsWidgetProps, NavbarSettingsWidget, NavbarSettings, NavbarProps, HydrationStatusProviderProps, HydrationStatusProvider, HydrationStatus, EnvironmentShellProps, EnvironmentShell, CoreUserExperience, CloseButtonProps, BadgeMinimalProps, BadgeMinimal, BadgeGroupProps, BadgeGroup, AppShellProps, AppShellLogo, AppShell, AppProvider, AlertMinimalProps, AlertMinimal, AlertCategory };