uitheme-web 1.2.0 → 2.0.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.
Files changed (51) hide show
  1. package/README.md +56 -314
  2. package/dist/chunk-4UXANDJ5.cjs +26 -0
  3. package/dist/chunk-C4YNAGUP.js +26 -0
  4. package/dist/chunk-CTNYTI5Q.js +1 -0
  5. package/dist/{chunk-WFG34KG5.js → chunk-CY5E6WU4.js} +3 -3
  6. package/dist/chunk-CYGYUQUK.cjs +1 -0
  7. package/dist/chunk-EKVKQZNN.js +12 -0
  8. package/dist/chunk-EQPK72XK.js +14 -0
  9. package/dist/{chunk-W4YFUPGE.cjs → chunk-I5GA5T23.cjs} +3 -3
  10. package/dist/chunk-KQSBORXP.cjs +12 -0
  11. package/dist/chunk-NDNCNR4X.js +1 -0
  12. package/dist/chunk-SO3CO44A.js +1 -0
  13. package/dist/{constants-DmZ7yAIL.d.cts → constants-9M8X-rnX.d.cts} +2 -68
  14. package/dist/{constants-DmZ7yAIL.d.ts → constants-PAa1nGZ0.d.ts} +2 -68
  15. package/dist/controller-83zmHd-p.d.cts +76 -0
  16. package/dist/controller-DnMwV2nl.d.ts +76 -0
  17. package/dist/core/index.cjs +1 -1
  18. package/dist/core/index.d.cts +7 -5
  19. package/dist/core/index.d.ts +7 -5
  20. package/dist/core/index.js +1 -1
  21. package/dist/index-Dn3XRBX1.d.ts +106 -0
  22. package/dist/index-DqlTGyMr.d.cts +106 -0
  23. package/dist/next/index.cjs +2 -0
  24. package/dist/next/index.d.cts +4 -0
  25. package/dist/next/index.d.ts +4 -0
  26. package/dist/next/index.js +2 -0
  27. package/dist/nuxt.d.ts +10 -0
  28. package/dist/nuxt.js +34 -0
  29. package/dist/react/index.cjs +11 -89
  30. package/dist/react/index.d.cts +23 -279
  31. package/dist/react/index.d.ts +23 -279
  32. package/dist/react/index.js +11 -89
  33. package/dist/server/index.cjs +14 -0
  34. package/dist/server/index.d.cts +11 -0
  35. package/dist/server/index.d.ts +11 -0
  36. package/dist/server/index.js +14 -0
  37. package/dist/tanstack/index.cjs +1 -1
  38. package/dist/tanstack/index.d.cts +5 -3
  39. package/dist/tanstack/index.d.ts +5 -3
  40. package/dist/tanstack/index.js +1 -1
  41. package/dist/types-CrR56NLm.d.cts +79 -0
  42. package/dist/types-CrR56NLm.d.ts +79 -0
  43. package/dist/types-Dd4EU8V9.d.ts +96 -0
  44. package/dist/vue/bootstrap.d.ts +13 -0
  45. package/dist/vue/bootstrap.js +1 -0
  46. package/dist/vue/index.d.ts +39 -0
  47. package/dist/vue/index.js +1 -0
  48. package/package.json +68 -17
  49. package/dist/chunk-DFJEYTIW.js +0 -12
  50. package/dist/chunk-V3LMT5IJ.cjs +0 -12
  51. package/dist/cli/index.js +0 -39
@@ -1,255 +1,15 @@
1
1
  export { p as preloadThemeLogo } from '../logo-DtwtRv4y.cjs';
2
- import { T as Theme, C as ColorTheme, i as ThemeAnimationOptions, j as ThemeAnimationType, g as SlideDirection } from '../constants-DmZ7yAIL.cjs';
3
- export { A as AnimationConfig, a as AnimationPosition, b as COLOR_STORAGE_KEY, c as COLOR_THEME_PREFIX, D as DEFAULT_BLUR_AMOUNT, d as DEFAULT_DURATION, e as DEFAULT_EASING, f as DEFAULT_STYLE_ID, G as GLOBAL_CLASS_NAME, S as STORAGE_KEY, h as TRANSITION_DIRECTIONS, k as ThemeConfig, l as ThemeLogoOptions, m as ThemeState, n as TransitionDirection, y as getSystemTheme, z as injectBaseStyles, B as prefersReducedMotion, E as resolveTheme, H as resolveThemeForServer, F as supportsViewTransitions } from '../constants-DmZ7yAIL.cjs';
4
- import * as React$1 from 'react';
5
- import React__default, { RefObject, ReactNode, JSX } from 'react';
6
- import * as SelectPrimitive from '@radix-ui/react-select';
2
+ import { c as Theme, C as ColorTheme, T as ThemeAnimationOptions, a as ThemeAnimationType } from '../types-CrR56NLm.cjs';
3
+ export { A as AnimationConfig, e as AnimationPosition, S as SlideDirection, f as TRANSITION_DIRECTIONS, d as ThemeConfig, g as ThemeControlTransitionProps, h as ThemeLogoOptions, b as ThemeState, i as TransitionDirection } from '../types-CrR56NLm.cjs';
4
+ export { C as COLOR_STORAGE_KEY, a as COLOR_THEME_PREFIX, D as DEFAULT_BLUR_AMOUNT, b as DEFAULT_DURATION, c as DEFAULT_EASING, d as DEFAULT_STYLE_ID, G as GLOBAL_CLASS_NAME, S as STORAGE_KEY, o as getSystemTheme, p as injectBaseStyles, q as prefersReducedMotion, s as resolveTheme, r as resolveThemeForServer, t as supportsViewTransitions } from '../constants-9M8X-rnX.cjs';
5
+ import { U as UseThemeProps, a as UseThemeReturn } from '../index-DqlTGyMr.cjs';
6
+ export { N as NextUIThemeContextType, b as NextUIThemeProvider, c as NextUIThemeProviderProps, u as useNextUITheme } from '../index-DqlTGyMr.cjs';
7
+ import React, { ReactNode } from 'react';
8
+ import { S as SystemThemeMode } from '../controller-83zmHd-p.cjs';
9
+ export { C as ColorThemeToggle, f as ThemeTransitionInput, g as ThemeTransitionOptions } from '../controller-83zmHd-p.cjs';
7
10
 
8
- /** System theme resolution mode */
9
- type SystemThemeMode = 'css' | 'js';
10
- /**
11
- * Props for the useTheme hook
12
- */
13
- type UseThemeProps = ThemeAnimationOptions & {
14
- /** Animation duration in milliseconds */
15
- duration?: number;
16
- /** CSS easing function */
17
- easing?: string;
18
- /** Type of animation to use */
19
- animationType?: ThemeAnimationType;
20
- /** Reveal edge feather in CSS pixels, capped at 20 (0 uses a sharp circle). */
21
- blurAmount?: number;
22
- /** Legacy style ID, retained for compatibility with the native animation path. */
23
- styleId?: string;
24
- /** Available themes */
25
- themes?: Theme[];
26
- /** Available color themes */
27
- colorThemes?: ColorTheme[];
28
- /** Default theme on first load */
29
- defaultTheme?: Theme;
30
- /** Default color theme on first load */
31
- defaultColorTheme?: ColorTheme;
32
- /** Class name for dark mode */
33
- globalClassName?: string;
34
- /** Prefix for color theme classes */
35
- colorThemePrefix?: string;
36
- /** Storage key for theme */
37
- storageKey?: string;
38
- /** Storage key for color theme */
39
- colorStorageKey?: string;
40
- /** Controlled theme value */
41
- theme?: Theme;
42
- /** Controlled color theme value */
43
- colorTheme?: ColorTheme;
44
- /** Callback when theme changes */
45
- onThemeChange?: (theme: Theme) => void;
46
- /** Callback when color theme changes */
47
- onColorThemeChange?: (colorTheme: ColorTheme) => void;
48
- /** Direction for slide animation */
49
- slideDirection?: SlideDirection;
50
- /** Custom X start position for slide */
51
- slideFromX?: number;
52
- /** Custom Y start position for slide */
53
- slideFromY?: number;
54
- /** X end position for slide */
55
- slideToX?: number;
56
- /** Y end position for slide */
57
- slideToY?: number;
58
- /**
59
- * Server-provided initial theme (from cookie).
60
- * When set, used as the initial useState value instead of reading localStorage.
61
- */
62
- initialTheme?: Theme;
63
- /**
64
- * Server-provided initial color theme (from cookie).
65
- * When set, used as the initial useState value instead of reading localStorage.
66
- */
67
- initialColorTheme?: ColorTheme;
68
- /**
69
- * How to handle 'system' theme resolution.
70
- * - 'css': Apply 'system' class on <html>, let CSS @media queries handle dark mode
71
- * - 'js': Resolve via matchMedia in JS (current behavior)
72
- * @default 'js'
73
- */
74
- systemThemeMode?: SystemThemeMode;
75
- };
76
- /** Per-call animation controls shared by all providers. */
77
- interface ThemeTransitionOptions {
78
- /** Skip the view transition (also automatically skipped for reduced motion). */
79
- animationOff?: boolean;
80
- /** Trigger element; its viewport rectangle is read synchronously. */
81
- element?: Element | null;
82
- /** Viewport-relative CSS pixels. Never multiply these coordinates by DPR. */
83
- origin?: {
84
- x: number;
85
- y: number;
86
- };
87
- }
88
- /** Boolean arguments remain supported for backward compatibility. */
89
- type ThemeTransitionInput = boolean | ThemeTransitionOptions;
90
- type ColorThemeToggle = (options?: ThemeTransitionInput | Pick<React.MouseEvent<HTMLElement>, 'currentTarget' | 'detail'>) => Promise<void>;
91
- interface UseThemeReturn {
92
- /** Ref to attach to the trigger button */
93
- ref: RefObject<HTMLButtonElement | null>;
94
- /** Current theme value */
95
- theme: Theme;
96
- /** Current color theme value */
97
- colorTheme: ColorTheme;
98
- /** Resolved theme (light or dark) */
99
- resolvedTheme: 'light' | 'dark';
100
- /** Set theme without animation */
101
- setTheme: (theme: Theme) => void;
102
- /** Set color theme without animation */
103
- setColorTheme: (colorTheme: ColorTheme) => void;
104
- /** Switch theme with animation */
105
- switchTheme: (theme: Theme, options?: ThemeTransitionInput) => Promise<void>;
106
- /** Switch color theme with animation */
107
- switchColorTheme: (colorTheme: string, options?: ThemeTransitionInput) => Promise<void>;
108
- /** Toggle between light and dark */
109
- toggleTheme: (options?: ThemeTransitionInput) => Promise<void>;
110
- /** Switch to light theme with animation */
111
- toggleLightTheme: (options?: ThemeTransitionInput) => Promise<void>;
112
- /** Switch to dark theme with animation */
113
- toggleDarkTheme: (options?: ThemeTransitionInput) => Promise<void>;
114
- /** Cycle through color themes */
115
- toggleColorTheme: ColorThemeToggle;
116
- /** Create a toggle function for a specific color theme */
117
- createColorThemeToggle: (targetColorTheme: string) => ColorThemeToggle;
118
- /** Check if a color theme is active */
119
- isColorThemeActive: (targetColorTheme: string) => boolean;
120
- }
121
- /**
122
- * Props for UIThemeSwitcher component
123
- */
124
- type UIThemeSwitcherProps = ThemeAnimationOptions & {
125
- /** Available themes */
126
- themes?: Theme[];
127
- /** Current theme (controlled) */
128
- currentTheme?: Theme;
129
- /** Callback when theme changes */
130
- onThemeChange?: (theme: Theme) => void;
131
- /** Animation type */
132
- animationType?: ThemeAnimationType;
133
- /** Animation duration */
134
- duration?: number;
135
- /** Additional CSS class */
136
- className?: string;
137
- /** Button size */
138
- size?: 'sm' | 'md' | 'lg';
139
- /** Button variant */
140
- variant?: 'default' | 'outline' | 'ghost';
141
- /** Custom icons for themes */
142
- icons?: {
143
- light?: React.ReactNode;
144
- dark?: React.ReactNode;
145
- system?: React.ReactNode;
146
- };
147
- };
148
- /**
149
- * Props for UIThemeSelector component
150
- */
151
- type UIThemeSelectorProps = ThemeAnimationOptions & {
152
- /** Available themes */
153
- themes?: Theme[];
154
- /** Available color themes */
155
- colorThemes?: ColorTheme[];
156
- /** Current theme (controlled) */
157
- currentTheme?: Theme;
158
- /** Current color theme (controlled) */
159
- currentColorTheme?: ColorTheme;
160
- /** Callback when theme changes */
161
- onThemeChange?: (theme: Theme) => void;
162
- /** Callback when color theme changes */
163
- onColorThemeChange?: (colorTheme: ColorTheme) => void;
164
- /** Animation type */
165
- animationType?: ThemeAnimationType;
166
- /** Animation duration */
167
- duration?: number;
168
- /** Additional CSS class */
169
- className?: string;
170
- /** Placeholder text */
171
- placeholder?: string;
172
- /** Label for theme selector */
173
- themeLabel?: string;
174
- /** Label for color theme selector */
175
- colorThemeLabel?: string;
176
- };
177
-
178
- /**
179
- * React hook for theme switching with View Transitions API animations
180
- * @param props - Configuration options for the theme animation
181
- * @returns Theme state and control functions
182
- */
183
11
  declare const useTheme: (props?: UseThemeProps) => UseThemeReturn;
184
12
 
185
- /**
186
- * Context type for the Next.js UI Theme Provider
187
- */
188
- interface NextUIThemeContextType extends UseThemeReturn {
189
- /** System theme preference */
190
- systemTheme: 'light' | 'dark';
191
- /** Legacy convenience wrapper; does not mutate the shared ref. */
192
- switchThemeFromElement: (theme: Theme, element: Element) => Promise<void>;
193
- }
194
- /**
195
- * Props for the Next.js UI Theme Provider
196
- */
197
- type NextUIThemeProviderProps = ThemeAnimationOptions & {
198
- /** React children to wrap with theme context */
199
- children: ReactNode;
200
- /** Available theme options */
201
- themes?: Theme[];
202
- /** Available color theme options */
203
- colorThemes?: ColorTheme[];
204
- /** Default theme to use */
205
- defaultTheme?: Theme;
206
- /** Default color theme to use */
207
- defaultColorTheme?: ColorTheme;
208
- /** Animation type for theme transitions */
209
- animationType?: ThemeAnimationType;
210
- /** Animation duration in milliseconds */
211
- duration?: number;
212
- /** Storage key for theme preference */
213
- storageKey?: string;
214
- /** Storage key for color theme preference */
215
- colorStorageKey?: string;
216
- /** HTML attribute to use for theme ('class' or 'data-theme') */
217
- attribute?: 'class' | 'data-theme';
218
- /** Class name for dark theme (when using 'class' attribute) */
219
- globalClassName?: string;
220
- /** Prefix for color theme classes */
221
- colorThemePrefix?: string;
222
- /** CSP nonce for inline script (SSR apps) */
223
- nonce?: string;
224
- /** Skip animation during initial hydration */
225
- disableAnimationOnInit?: boolean;
226
- /** Disable flash prevention script (for SPAs without SSR) */
227
- disablePreHydrationScript?: boolean;
228
- };
229
- /**
230
- * Next.js UI Theme Provider - Universal React theme management with animations
231
- *
232
- * This provider works with Next.js and provides flash prevention
233
- * via pre-hydration script injection.
234
- *
235
- * Features:
236
- * - Pre-hydration script for flash prevention (SSR apps)
237
- * - Animated theme transitions via View Transitions API
238
- * - Multi-dimensional theming (theme + colorTheme)
239
- * - System theme detection
240
- * - CSP support via nonce prop
241
- *
242
- * @param props - Provider configuration options
243
- */
244
- declare const NextUIThemeProvider: React__default.FC<NextUIThemeProviderProps>;
245
- /**
246
- * Hook to consume the Next.js UI Theme context
247
- *
248
- * @returns Theme context value with all theme state and methods
249
- * @throws Error if used outside of NextUIThemeProvider
250
- */
251
- declare const useNextUITheme: () => NextUIThemeContextType;
252
-
253
13
  /**
254
14
  * Context type for the TanStack Start UI Theme Provider
255
15
  */
@@ -268,15 +28,15 @@ type TanStackUIThemeProviderProps = ThemeAnimationOptions & {
268
28
  /** React children to wrap with theme context */
269
29
  children: ReactNode;
270
30
  /** Available theme options */
271
- themes?: Theme[];
31
+ themes?: readonly Theme[];
272
32
  /** Available color theme options */
273
- colorThemes?: ColorTheme[];
33
+ colorThemes?: readonly ColorTheme[];
274
34
  /** Default theme to use */
275
35
  defaultTheme?: Theme;
276
36
  /** Default color theme to use */
277
37
  defaultColorTheme?: ColorTheme;
278
38
  /** Animation type for theme transitions */
279
- animationType?: ThemeAnimationType;
39
+ animationType?: ThemeAnimationType | `${ThemeAnimationType}`;
280
40
  /** Animation duration in milliseconds */
281
41
  duration?: number;
282
42
  /** Storage key for theme preference */
@@ -370,7 +130,7 @@ interface TanStackStartThemeScriptProps {
370
130
  * }
371
131
  * ```
372
132
  */
373
- declare const TanStackStartThemeScript: React__default.FC<TanStackStartThemeScriptProps>;
133
+ declare const TanStackStartThemeScript: React.FC<TanStackStartThemeScriptProps>;
374
134
  /**
375
135
  * Custom hook to detect hydration state
376
136
  * Compatible with TanStack Start's isomorphic model
@@ -395,7 +155,7 @@ declare const TanStackStartThemeScript: React__default.FC<TanStackStartThemeScri
395
155
  *
396
156
  * @param props - Provider configuration options
397
157
  */
398
- declare const TanStackUIThemeProvider: React__default.FC<TanStackUIThemeProviderProps>;
158
+ declare const TanStackUIThemeProvider: React.FC<TanStackUIThemeProviderProps>;
399
159
  /**
400
160
  * Hook to consume the TanStack UI Theme context
401
161
  *
@@ -420,15 +180,15 @@ type ViteUIThemeProviderProps = ThemeAnimationOptions & {
420
180
  /** React children to wrap with theme context */
421
181
  children: ReactNode;
422
182
  /** Available theme options */
423
- themes?: Theme[];
183
+ themes?: readonly Theme[];
424
184
  /** Available color theme options */
425
- colorThemes?: ColorTheme[];
185
+ colorThemes?: readonly ColorTheme[];
426
186
  /** Default theme to use */
427
187
  defaultTheme?: Theme;
428
188
  /** Default color theme to use */
429
189
  defaultColorTheme?: ColorTheme;
430
190
  /** Animation type for theme transitions */
431
- animationType?: ThemeAnimationType;
191
+ animationType?: ThemeAnimationType | `${ThemeAnimationType}`;
432
192
  /** Animation duration in milliseconds */
433
193
  duration?: number;
434
194
  /** Attribute to use for theme ('class' or 'data-theme') */
@@ -455,7 +215,7 @@ type ViteUIThemeProviderProps = ThemeAnimationOptions & {
455
215
  *
456
216
  * @param props - Provider configuration options
457
217
  */
458
- declare const ViteUIThemeProvider: React__default.FC<ViteUIThemeProviderProps>;
218
+ declare const ViteUIThemeProvider: React.FC<ViteUIThemeProviderProps>;
459
219
  /**
460
220
  * Hook to consume the Vite UI Theme context
461
221
  *
@@ -478,15 +238,15 @@ type UIThemeProviderProps = ThemeAnimationOptions & {
478
238
  /** React children to wrap with theme context */
479
239
  children: ReactNode;
480
240
  /** Available theme options */
481
- themes?: Theme[];
241
+ themes?: readonly Theme[];
482
242
  /** Available color theme options */
483
- colorThemes?: ColorTheme[];
243
+ colorThemes?: readonly ColorTheme[];
484
244
  /** Default theme to use */
485
245
  defaultTheme?: Theme;
486
246
  /** Default color theme to use */
487
247
  defaultColorTheme?: ColorTheme;
488
248
  /** Animation type for theme transitions */
489
- animationType?: ThemeAnimationType;
249
+ animationType?: ThemeAnimationType | `${ThemeAnimationType}`;
490
250
  /** Animation duration in milliseconds */
491
251
  duration?: number;
492
252
  /** Storage key for theme */
@@ -502,7 +262,7 @@ type UIThemeProviderProps = ThemeAnimationOptions & {
502
262
  *
503
263
  * @param props - Provider configuration options
504
264
  */
505
- declare const UIThemeProvider: React__default.FC<UIThemeProviderProps>;
265
+ declare const UIThemeProvider: React.FC<UIThemeProviderProps>;
506
266
  /**
507
267
  * Hook to consume the UI Theme context
508
268
  *
@@ -511,23 +271,7 @@ declare const UIThemeProvider: React__default.FC<UIThemeProviderProps>;
511
271
  */
512
272
  declare const useUITheme: () => UIThemeContextType;
513
273
 
514
- declare const UIThemeSwitcher: (props: UIThemeSwitcherProps) => JSX.Element;
515
-
516
- declare const UIThemeSelector: (props: UIThemeSelectorProps) => React$1.JSX.Element;
517
-
518
- declare function UISelect({ ...props }: React$1.ComponentProps<typeof SelectPrimitive.Root>): React$1.JSX.Element;
519
- declare function UISelectGroup({ ...props }: React$1.ComponentProps<typeof SelectPrimitive.Group>): React$1.JSX.Element;
520
- declare function UISelectValue({ ...props }: React$1.ComponentProps<typeof SelectPrimitive.Value>): React$1.JSX.Element;
521
- declare const UISelectTrigger: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & {
522
- size?: "sm" | "default";
523
- } & React$1.RefAttributes<HTMLButtonElement>>;
524
- declare function UISelectContent({ className, children, position, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Content>): React$1.JSX.Element;
525
- declare function UISelectLabel({ className, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Label>): React$1.JSX.Element;
526
- declare function UISelectItem({ className, children, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Item>): React$1.JSX.Element;
527
- declare function UISelectSeparator({ className, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Separator>): React$1.JSX.Element;
528
- declare function UISelectScrollUpButton({ className, ...props }: React$1.ComponentProps<typeof SelectPrimitive.ScrollUpButton>): React$1.JSX.Element;
529
- declare function UISelectScrollDownButton({ className, ...props }: React$1.ComponentProps<typeof SelectPrimitive.ScrollDownButton>): React$1.JSX.Element;
530
-
531
274
  declare const useHydrated: () => boolean;
532
275
 
533
- export { ColorTheme, type ColorThemeToggle, type NextUIThemeContextType, NextUIThemeProvider, type NextUIThemeProviderProps, SlideDirection, type SystemThemeMode, TanStackStartThemeScript, type TanStackStartThemeScriptProps, type TanStackUIThemeContextType, TanStackUIThemeProvider, type TanStackUIThemeProviderProps, Theme, ThemeAnimationOptions, ThemeAnimationType, type ThemeTransitionInput, type ThemeTransitionOptions, UISelect, UISelectContent, UISelectGroup, UISelectItem, UISelectLabel, UISelectScrollDownButton, UISelectScrollUpButton, UISelectSeparator, UISelectTrigger, UISelectValue, type UIThemeContextType, UIThemeProvider, type UIThemeProviderProps, UIThemeSelector, type UIThemeSelectorProps, UIThemeSwitcher, type UIThemeSwitcherProps, type UseThemeProps, type UseThemeReturn, type ViteUIThemeContextType, ViteUIThemeProvider, type ViteUIThemeProviderProps, useHydrated, useNextUITheme, useTanStackUITheme, useTheme, useUITheme, useViteUITheme };
276
+ export { ColorTheme, SystemThemeMode, TanStackStartThemeScript, TanStackUIThemeProvider, Theme, ThemeAnimationOptions, ThemeAnimationType, UIThemeProvider, UseThemeProps, UseThemeReturn, ViteUIThemeProvider, useHydrated, useTanStackUITheme, useTheme, useUITheme, useViteUITheme };
277
+ export type { TanStackStartThemeScriptProps, TanStackUIThemeContextType, TanStackUIThemeProviderProps, UIThemeContextType, UIThemeProviderProps, ViteUIThemeContextType, ViteUIThemeProviderProps };