shadcn-glass-ui 1.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 (43) hide show
  1. package/CHANGELOG.md +227 -0
  2. package/LICENSE +201 -0
  3. package/README.md +693 -0
  4. package/dist/components.cjs +59 -0
  5. package/dist/components.d.ts +1413 -0
  6. package/dist/components.js +5 -0
  7. package/dist/hooks.cjs +6 -0
  8. package/dist/hooks.d.ts +225 -0
  9. package/dist/hooks.js +3 -0
  10. package/dist/index.cjs +138 -0
  11. package/dist/index.cjs.map +1 -0
  12. package/dist/index.d.ts +1761 -0
  13. package/dist/index.js +56 -0
  14. package/dist/index.js.map +1 -0
  15. package/dist/shadcn-glass-ui.css +3 -0
  16. package/dist/theme-context-BZoCplcU.js +66 -0
  17. package/dist/theme-context-BZoCplcU.js.map +1 -0
  18. package/dist/theme-context-DrLak65e.cjs +102 -0
  19. package/dist/theme-context-DrLak65e.cjs.map +1 -0
  20. package/dist/themes.cjs +7 -0
  21. package/dist/themes.d.ts +36 -0
  22. package/dist/themes.js +2 -0
  23. package/dist/trust-score-card-glass-DqaCKo1w.cjs +8225 -0
  24. package/dist/trust-score-card-glass-DqaCKo1w.cjs.map +1 -0
  25. package/dist/trust-score-card-glass-tJnNNzeS.js +7789 -0
  26. package/dist/trust-score-card-glass-tJnNNzeS.js.map +1 -0
  27. package/dist/use-focus-6xqfE5s6.cjs +130 -0
  28. package/dist/use-focus-6xqfE5s6.cjs.map +1 -0
  29. package/dist/use-focus-CX0TJJIj.js +118 -0
  30. package/dist/use-focus-CX0TJJIj.js.map +1 -0
  31. package/dist/use-wallpaper-tint-D1f3UGGs.cjs +162 -0
  32. package/dist/use-wallpaper-tint-D1f3UGGs.cjs.map +1 -0
  33. package/dist/use-wallpaper-tint-DUgmytlY.js +150 -0
  34. package/dist/use-wallpaper-tint-DUgmytlY.js.map +1 -0
  35. package/dist/utils-BNzkwPwE.cjs +14 -0
  36. package/dist/utils-BNzkwPwE.cjs.map +1 -0
  37. package/dist/utils-CGCOTvxT.js +8 -0
  38. package/dist/utils-CGCOTvxT.js.map +1 -0
  39. package/dist/utils.cjs +2 -0
  40. package/dist/utils.d.ts +10 -0
  41. package/dist/utils.js +2 -0
  42. package/dist/vite.svg +1 -0
  43. package/package.json +196 -0
@@ -0,0 +1,1761 @@
1
+ import { ButtonHTMLAttributes } from 'react';
2
+ import { ClassProp } from 'class-variance-authority/types';
3
+ import { ClassValue } from 'clsx';
4
+ import { FC } from 'react';
5
+ import { FocusEvent as FocusEvent_2 } from 'react';
6
+ import { ForwardRefExoticComponent } from 'react';
7
+ import { HTMLAttributes } from 'react';
8
+ import { InputHTMLAttributes } from 'react';
9
+ import { JSX } from 'react/jsx-runtime';
10
+ import { KeyboardEvent as KeyboardEvent_2 } from 'react';
11
+ import { LucideIcon } from 'lucide-react';
12
+ import { MouseEvent as MouseEvent_2 } from 'react';
13
+ import * as React_2 from 'react';
14
+ import { ReactNode } from 'react';
15
+ import { RefAttributes } from 'react';
16
+ import { VariantProps } from 'class-variance-authority';
17
+
18
+ export declare const AICardGlass: ForwardRefExoticComponent<AICardGlassProps & RefAttributes<HTMLDivElement>>;
19
+
20
+ declare interface AICardGlassProps extends React.HTMLAttributes<HTMLDivElement> {
21
+ readonly onGenerate?: () => void;
22
+ readonly features?: readonly string[];
23
+ readonly estimatedTime?: string;
24
+ }
25
+
26
+ export declare const AlertGlass: ForwardRefExoticComponent<AlertGlassProps & RefAttributes<HTMLDivElement>>;
27
+
28
+ export declare interface AlertGlassProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'style' | 'title'>, VariantProps<typeof alertVariants> {
29
+ readonly title?: string;
30
+ readonly children: ReactNode;
31
+ readonly dismissible?: boolean;
32
+ readonly onDismiss?: () => void;
33
+ }
34
+
35
+ export declare type AlertType = AlertVariant;
36
+
37
+ /**
38
+ * AlertGlass CVA Variants
39
+ * Extracted for Fast Refresh compatibility
40
+ */
41
+ export declare type AlertVariant = 'default' | 'destructive' | 'success' | 'warning' | 'info' | 'error';
42
+
43
+ export declare const alertVariants: (props?: ({
44
+ variant?: "default" | "destructive" | "success" | "warning" | "info" | "error" | null | undefined;
45
+ } & ClassProp) | undefined) => string;
46
+
47
+ export declare const AvatarGlass: ForwardRefExoticComponent<AvatarGlassProps & RefAttributes<HTMLDivElement>>;
48
+
49
+ /**
50
+ * Props for the AvatarGlass component
51
+ *
52
+ * A glass-themed avatar component with status indicators and size variants.
53
+ * Displays user initials with theme-aware styling and optional status badge.
54
+ *
55
+ * @example
56
+ * ```tsx
57
+ * // Basic avatar
58
+ * <AvatarGlass name="John Doe" />
59
+ *
60
+ * // With status indicator
61
+ * <AvatarGlass name="Jane Smith" status="online" size="lg" />
62
+ *
63
+ * // Different sizes
64
+ * <AvatarGlass name="Alex" size="sm" />
65
+ * <AvatarGlass name="Sam" size="xl" />
66
+ *
67
+ * // As a link (asChild pattern)
68
+ * <AvatarGlass asChild name="Sarah Connor" status="online">
69
+ * <a href="/profile/sarah">View Profile</a>
70
+ * </AvatarGlass>
71
+ * ```
72
+ */
73
+ export declare interface AvatarGlassProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'style'>, VariantProps<typeof avatarSizes> {
74
+ /**
75
+ * Render as child element instead of div (polymorphic rendering).
76
+ * Useful for making avatars clickable links.
77
+ * @default false
78
+ * @example
79
+ * ```tsx
80
+ * <AvatarGlass asChild name="John">
81
+ * <a href="/profile">View Profile</a>
82
+ * </AvatarGlass>
83
+ * ```
84
+ */
85
+ readonly asChild?: boolean;
86
+ /**
87
+ * Full name of the user. Automatically generates initials (first 2 letters).
88
+ * @example "John Doe" → "JD"
89
+ */
90
+ readonly name: string;
91
+ /**
92
+ * Optional status indicator with glow effect
93
+ * @default undefined
94
+ */
95
+ readonly status?: AvatarStatus;
96
+ /**
97
+ * Size variant of the avatar
98
+ * @default "md"
99
+ */
100
+ readonly size?: 'sm' | 'md' | 'lg' | 'xl';
101
+ }
102
+
103
+ /**
104
+ * AvatarGlass CVA Variants
105
+ * Extracted for Fast Refresh compatibility
106
+ */
107
+ export declare type AvatarSize = 'sm' | 'md' | 'lg' | 'xl';
108
+
109
+ export declare const avatarSizes: (props?: ({
110
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
111
+ } & ClassProp) | undefined) => string;
112
+
113
+ /**
114
+ * Avatar status indicator type
115
+ */
116
+ export declare type AvatarStatus = 'online' | 'offline' | 'busy' | 'away';
117
+
118
+ export declare const BadgeGlass: ForwardRefExoticComponent<BadgeGlassProps & RefAttributes<HTMLSpanElement>>;
119
+
120
+ export declare interface BadgeGlassProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, 'style'>, VariantProps<typeof badgeVariants> {
121
+ readonly children: ReactNode;
122
+ readonly variant?: BadgeVariant;
123
+ readonly dot?: boolean;
124
+ }
125
+
126
+ export declare type BadgeSize = 'sm' | 'md' | 'lg';
127
+
128
+ /**
129
+ * BadgeGlass CVA Variants
130
+ * Extracted for Fast Refresh compatibility
131
+ */
132
+ export declare type BadgeVariant = 'default' | 'secondary' | 'destructive' | 'outline' | 'success' | 'warning' | 'info';
133
+
134
+ export declare const badgeVariants: (props?: ({
135
+ size?: "sm" | "md" | "lg" | null | undefined;
136
+ } & ClassProp) | undefined) => string;
137
+
138
+ export declare const BaseProgressGlass: ForwardRefExoticComponent<BaseProgressGlassProps & RefAttributes<HTMLDivElement>>;
139
+
140
+ declare interface BaseProgressGlassProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children'> {
141
+ readonly value?: number;
142
+ readonly max?: number;
143
+ readonly children?: ReactNode | ((percentage: number) => ReactNode);
144
+ }
145
+
146
+ declare type Breakpoint = keyof typeof BREAKPOINTS;
147
+
148
+ /**
149
+ * Tailwind CSS breakpoints
150
+ * @see https://tailwindcss.com/docs/responsive-design
151
+ */
152
+ declare const BREAKPOINTS: {
153
+ readonly xs: 0;
154
+ readonly sm: 640;
155
+ readonly md: 768;
156
+ readonly lg: 1024;
157
+ readonly xl: 1280;
158
+ readonly '2xl': 1536;
159
+ };
160
+
161
+ export declare const ButtonGlass: ForwardRefExoticComponent<ButtonGlassProps & RefAttributes<HTMLButtonElement>>;
162
+
163
+ /**
164
+ * Props for the ButtonGlass component
165
+ *
166
+ * A glass-themed button with ripple effects, loading states, and icon support.
167
+ * Features theme-aware styling and hover animations.
168
+ *
169
+ * @example
170
+ * ```tsx
171
+ * // Basic button
172
+ * <ButtonGlass variant="primary">Click me</ButtonGlass>
173
+ *
174
+ * // With icon
175
+ * <ButtonGlass icon={Check} iconPosition="left">Save</ButtonGlass>
176
+ *
177
+ * // Loading state
178
+ * <ButtonGlass loading>Processing...</ButtonGlass>
179
+ *
180
+ * // Different variants
181
+ * <ButtonGlass variant="ghost">Cancel</ButtonGlass>
182
+ * <ButtonGlass variant="success">Confirm</ButtonGlass>
183
+ *
184
+ * // As a link (asChild pattern)
185
+ * <ButtonGlass asChild variant="primary">
186
+ * <a href="/dashboard">Go to Dashboard</a>
187
+ * </ButtonGlass>
188
+ *
189
+ * // With Next.js Link
190
+ * <ButtonGlass asChild variant="ghost">
191
+ * <Link href="/settings">Settings</Link>
192
+ * </ButtonGlass>
193
+ * ```
194
+ */
195
+ export declare interface ButtonGlassProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'style'>, VariantProps<typeof buttonGlassVariants> {
196
+ /**
197
+ * Render as child element instead of button (polymorphic rendering).
198
+ * Useful for rendering buttons as links or other interactive elements.
199
+ *
200
+ * **Note:** When using `asChild`, decorative effects (ripple, shine, glow)
201
+ * are disabled to maintain compatibility with Radix UI Slot.
202
+ * Only styles and event handlers are passed to the child element.
203
+ *
204
+ * @default false
205
+ * @example
206
+ * ```tsx
207
+ * <ButtonGlass asChild>
208
+ * <a href="/about">About Us</a>
209
+ * </ButtonGlass>
210
+ * ```
211
+ */
212
+ readonly asChild?: boolean;
213
+ /**
214
+ * Visual style variant of the button
215
+ * @default "primary"
216
+ */
217
+ readonly variant?: ButtonGlassVariant;
218
+ /**
219
+ * Show loading spinner and disable interactions
220
+ * @default false
221
+ */
222
+ readonly loading?: boolean;
223
+ /**
224
+ * Icon component from lucide-react to display
225
+ * @example icon={Check}
226
+ */
227
+ readonly icon?: LucideIcon;
228
+ /**
229
+ * Position of the icon relative to button text
230
+ * @default "left"
231
+ */
232
+ readonly iconPosition?: 'left' | 'right';
233
+ /**
234
+ * Size variant of the button
235
+ * @default "md"
236
+ */
237
+ readonly size?: 'sm' | 'md' | 'lg' | 'icon';
238
+ }
239
+
240
+ export declare type ButtonGlassSize = 'sm' | 'md' | 'lg' | 'xl' | 'icon';
241
+
242
+ /**
243
+ * ButtonGlass CVA Variants
244
+ * Extracted for Fast Refresh compatibility
245
+ */
246
+ export declare type ButtonGlassVariant = 'primary' | 'secondary' | 'ghost' | 'destructive' | 'success' | 'text';
247
+
248
+ export declare const buttonGlassVariants: (props?: ({
249
+ variant?: "destructive" | "success" | "text" | "secondary" | "primary" | "ghost" | null | undefined;
250
+ size?: "sm" | "md" | "lg" | "xl" | "icon" | null | undefined;
251
+ } & ClassProp) | undefined) => string;
252
+
253
+ export declare const cardIntensity: (props?: ({
254
+ intensity?: "medium" | "strong" | "subtle" | null | undefined;
255
+ hover?: boolean | null | undefined;
256
+ padding?: "default" | "none" | "compact" | "featured" | null | undefined;
257
+ } & ClassProp) | undefined) => string;
258
+
259
+ export declare const CareerStatsGlass: ForwardRefExoticComponent<CareerStatsGlassProps & RefAttributes<HTMLDivElement>>;
260
+
261
+ declare interface CareerStatsGlassProps extends React.HTMLAttributes<HTMLDivElement> {
262
+ readonly totalCommits?: number;
263
+ readonly totalPRs?: number;
264
+ readonly totalRepos?: number;
265
+ readonly years?: readonly YearData[];
266
+ }
267
+
268
+ export declare const CareerStatsHeaderGlass: ForwardRefExoticComponent<CareerStatsHeaderGlassProps & RefAttributes<HTMLDivElement>>;
269
+
270
+ declare interface CareerStatsHeaderGlassProps extends HTMLAttributes<HTMLDivElement> {
271
+ /** Total commits count */
272
+ readonly totalCommits: number;
273
+ /** Total pull requests count */
274
+ readonly totalPRs: number;
275
+ /** Total repositories count */
276
+ readonly totalRepos: number;
277
+ /** Header title */
278
+ readonly title?: string;
279
+ /** Stats wrap on mobile */
280
+ readonly wrapStats?: boolean;
281
+ }
282
+
283
+ export declare const CheckboxGlass: ForwardRefExoticComponent<CheckboxGlassProps & RefAttributes<HTMLInputElement>>;
284
+
285
+ export declare interface CheckboxGlassProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'onChange'> {
286
+ readonly checked: boolean;
287
+ readonly onChange?: (checked: boolean) => void;
288
+ readonly label?: string;
289
+ }
290
+
291
+ declare type CircularMetricColor = 'emerald' | 'amber' | 'blue' | 'red';
292
+
293
+ /**
294
+ * CircularMetricGlass - Compact circular progress metric display
295
+ *
296
+ * Designed for mobile layouts where rectangular MetricCardGlass is too wide.
297
+ * Shows a circular progress indicator with percentage inside and label below.
298
+ *
299
+ * @example
300
+ * ```tsx
301
+ * <CircularMetricGlass label="Reg" value={84} color="emerald" />
302
+ * ```
303
+ */
304
+ export declare const CircularMetricGlass: ForwardRefExoticComponent<CircularMetricGlassProps & RefAttributes<HTMLDivElement>>;
305
+
306
+ declare interface CircularMetricGlassProps extends React.HTMLAttributes<HTMLDivElement> {
307
+ /** Metric label (e.g., "Reg", "Imp") */
308
+ readonly label: string;
309
+ /** Metric value (0-100) */
310
+ readonly value: number;
311
+ /** Metric color */
312
+ readonly color?: CircularMetricColor;
313
+ /** Size variant */
314
+ readonly size?: 'sm' | 'md';
315
+ }
316
+
317
+ export declare const CircularProgressGlass: ForwardRefExoticComponent<CircularProgressGlassProps & RefAttributes<HTMLDivElement>>;
318
+
319
+ declare interface CircularProgressGlassProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children'>, VariantProps<typeof circularProgressVariants> {
320
+ /** Progress value (0-100) for determinate variant */
321
+ readonly value?: number;
322
+ /** Variant type */
323
+ readonly variant?: 'determinate' | 'indeterminate';
324
+ /** Stroke width in pixels */
325
+ readonly thickness?: number;
326
+ /** Background track width in pixels */
327
+ readonly trackWidth?: number;
328
+ /** Progress color gradient */
329
+ readonly color?: CircularProgressGradient;
330
+ /** Track color (background circle) */
331
+ readonly trackColor?: string;
332
+ /** Show percentage label in center */
333
+ readonly showLabel?: boolean;
334
+ /** Custom label text (overrides percentage) */
335
+ readonly label?: string;
336
+ /** Custom color for the center label text */
337
+ readonly labelColor?: string;
338
+ /** Show glow effect */
339
+ readonly showGlow?: boolean;
340
+ /** Glow intensity */
341
+ readonly glowIntensity?: 'low' | 'medium' | 'high';
342
+ /** Stroke linecap style */
343
+ readonly strokeLinecap?: 'round' | 'butt' | 'square';
344
+ /** Animation duration in seconds */
345
+ readonly animationDuration?: number;
346
+ }
347
+
348
+ declare type CircularProgressGradient = 'violet' | 'blue' | 'cyan' | 'amber' | 'emerald' | 'rose';
349
+
350
+ declare const circularProgressVariants: (props?: ({
351
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
352
+ } & ClassProp) | undefined) => string;
353
+
354
+ /**
355
+ * Combine class names with Tailwind merge support (shadcn standard)
356
+ * @param inputs - Array of class values
357
+ * @returns Merged class string
358
+ */
359
+ export declare const cn: (...inputs: ClassValue[]) => string;
360
+
361
+ export declare const ComboBoxGlass: <T = string>(props: ComboBoxGlassProps<T> & {
362
+ ref?: React.ForwardedRef<HTMLButtonElement>;
363
+ }) => ReturnType<typeof ComboBoxGlassInner>;
364
+
365
+ declare function ComboBoxGlassInner<T = string>({ options, value, onChange, placeholder, emptyText, searchPlaceholder, glassVariant, disabled, className, popoverClassName, clearable, side, align, label, error, success, required, size, searchable, icon: TriggerIcon, }: ComboBoxGlassProps<T>, ref: React.ForwardedRef<HTMLButtonElement>): JSX.Element;
366
+
367
+ declare namespace ComboBoxGlassInner {
368
+ var displayName: string;
369
+ }
370
+
371
+ declare interface ComboBoxGlassProps<T = string> {
372
+ /** Available options */
373
+ readonly options: readonly ComboBoxOption<T>[];
374
+ /** Currently selected value */
375
+ readonly value?: T;
376
+ /** Callback when value changes */
377
+ readonly onChange?: (value: T | undefined) => void;
378
+ /** Placeholder text for trigger button */
379
+ readonly placeholder?: string;
380
+ /** Text shown when no results found */
381
+ readonly emptyText?: string;
382
+ /** Placeholder for search input */
383
+ readonly searchPlaceholder?: string;
384
+ /** Glass variant style */
385
+ readonly glassVariant?: GlassVariant;
386
+ /** Disabled state */
387
+ readonly disabled?: boolean;
388
+ /** Custom className for container */
389
+ readonly className?: string;
390
+ /** Custom className for popover content */
391
+ readonly popoverClassName?: string;
392
+ /** Allow clearing selection */
393
+ readonly clearable?: boolean;
394
+ /** Popover side */
395
+ readonly side?: 'top' | 'right' | 'bottom' | 'left';
396
+ /** Popover alignment */
397
+ readonly align?: 'start' | 'center' | 'end';
398
+ /** Label text displayed above the field */
399
+ readonly label?: string;
400
+ /** Error message - displays in red below the field */
401
+ readonly error?: string;
402
+ /** Success message - displays in green if no error */
403
+ readonly success?: string;
404
+ /** Shows required asterisk (*) next to label */
405
+ readonly required?: boolean;
406
+ /** Size variant (affects trigger button height and padding) */
407
+ readonly size?: InputGlassSize;
408
+ /** Enable/disable search functionality */
409
+ readonly searchable?: boolean;
410
+ /** Optional icon for trigger button (displayed before text) */
411
+ readonly icon?: LucideIcon;
412
+ }
413
+
414
+ declare interface ComboBoxOption<T = string> {
415
+ readonly value: T;
416
+ readonly label: string;
417
+ readonly disabled?: boolean;
418
+ /** Optional icon component for the option */
419
+ readonly icon?: LucideIcon;
420
+ }
421
+
422
+ export declare const ContributionMetricsGlass: ForwardRefExoticComponent<ContributionMetricsGlassProps & RefAttributes<HTMLDivElement>>;
423
+
424
+ declare interface ContributionMetricsGlassProps extends HTMLAttributes<HTMLDivElement> {
425
+ /** User's commit count */
426
+ readonly userCommits: number;
427
+ /** User's contribution percentage */
428
+ readonly userContribution: number;
429
+ /** Total project commits (calculated if not provided) */
430
+ readonly totalProjectCommits?: number;
431
+ /** Estimated lines of code */
432
+ readonly estimatedLines?: number;
433
+ /** Grid layout (1 or 2 columns) */
434
+ readonly columns?: 1 | 2;
435
+ }
436
+
437
+ /**
438
+ * DropdownGlass CVA Variants
439
+ * Extracted for Fast Refresh compatibility
440
+ */
441
+ export declare type DropdownAlign = 'left' | 'right';
442
+
443
+ export declare const dropdownAlign: (props?: ({
444
+ align?: "left" | "right" | null | undefined;
445
+ } & ClassProp) | undefined) => string;
446
+
447
+ export declare const DropdownGlass: React_2.ForwardRefExoticComponent<DropdownGlassProps & React_2.RefAttributes<HTMLDivElement>>;
448
+
449
+ export declare interface DropdownGlassProps {
450
+ readonly trigger: React_2.ReactNode;
451
+ readonly items: readonly DropdownItem[];
452
+ readonly align?: 'left' | 'right';
453
+ readonly className?: string;
454
+ }
455
+
456
+ export declare interface DropdownItem {
457
+ readonly label?: string;
458
+ readonly icon?: LucideIcon;
459
+ readonly onClick?: () => void;
460
+ readonly danger?: boolean;
461
+ readonly divider?: boolean;
462
+ }
463
+
464
+ export declare const ExpandableHeaderGlass: ForwardRefExoticComponent<ExpandableHeaderGlassProps & RefAttributes<HTMLButtonElement>>;
465
+
466
+ declare interface ExpandableHeaderGlassProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'title'> {
467
+ /** Header title */
468
+ readonly title: ReactNode;
469
+ /** Leading icon component */
470
+ readonly icon?: LucideIcon;
471
+ /** Icon color (CSS variable or color value) */
472
+ readonly iconColor?: string;
473
+ /** Expanded state */
474
+ readonly expanded: boolean;
475
+ /** Toggle callback */
476
+ readonly onToggle?: () => void;
477
+ }
478
+
479
+ export declare const FlagAlertGlass: ForwardRefExoticComponent<FlagAlertGlassProps & RefAttributes<HTMLDivElement>>;
480
+
481
+ declare interface FlagAlertGlassProps extends React.HTMLAttributes<HTMLDivElement> {
482
+ readonly type?: FlagType;
483
+ readonly title: string;
484
+ readonly description?: string;
485
+ }
486
+
487
+ declare interface FlagData {
488
+ readonly type: FlagType;
489
+ readonly title: string;
490
+ readonly description?: string;
491
+ }
492
+
493
+ export declare const FlagsSectionGlass: ForwardRefExoticComponent<FlagsSectionGlassProps & RefAttributes<HTMLDivElement>>;
494
+
495
+ declare interface FlagsSectionGlassProps extends React.HTMLAttributes<HTMLDivElement> {
496
+ readonly flags?: readonly FlagData[];
497
+ readonly expanded?: boolean;
498
+ readonly onToggle?: () => void;
499
+ }
500
+
501
+ declare type FlagType = "warning" | "danger";
502
+
503
+ /**
504
+ * FormFieldWrapper component
505
+ *
506
+ * Provides consistent structure for form fields with labels and validation messages.
507
+ * Used by InputGlass, SliderGlass, and other form components.
508
+ *
509
+ * @example
510
+ * ```tsx
511
+ * // Basic usage
512
+ * <FormFieldWrapper label="Email" htmlFor="email-input">
513
+ * <input id="email-input" type="email" />
514
+ * </FormFieldWrapper>
515
+ *
516
+ * // With validation
517
+ * <FormFieldWrapper
518
+ * label="Username"
519
+ * error="Username is required"
520
+ * required
521
+ * htmlFor="username"
522
+ * >
523
+ * <input id="username" />
524
+ * </FormFieldWrapper>
525
+ *
526
+ * // Success state
527
+ * <FormFieldWrapper
528
+ * label="Password"
529
+ * success="Strong password"
530
+ * htmlFor="password"
531
+ * >
532
+ * <input id="password" type="password" />
533
+ * </FormFieldWrapper>
534
+ * ```
535
+ */
536
+ export declare const FormFieldWrapper: ForwardRefExoticComponent<FormFieldWrapperProps & RefAttributes<HTMLDivElement>>;
537
+
538
+ /**
539
+ * Props for the FormFieldWrapper component
540
+ */
541
+ declare interface FormFieldWrapperProps extends HTMLAttributes<HTMLDivElement> {
542
+ /**
543
+ * Label text displayed above the field
544
+ */
545
+ label?: string;
546
+ /**
547
+ * Error message - takes priority over success
548
+ * Displays in red below the field
549
+ */
550
+ error?: string;
551
+ /**
552
+ * Success message - displays in green if no error
553
+ * Displays below the field
554
+ */
555
+ success?: string;
556
+ /**
557
+ * ID to link label with input via htmlFor
558
+ * Should match the input's id attribute
559
+ */
560
+ htmlFor?: string;
561
+ /**
562
+ * Shows red asterisk (*) next to label
563
+ * @default false
564
+ */
565
+ required?: boolean;
566
+ /**
567
+ * The form control element(s) to wrap
568
+ */
569
+ children: ReactNode;
570
+ }
571
+
572
+ export declare function getNextTheme(current: Theme): Theme;
573
+
574
+ export declare function getThemeConfig(theme: Theme): ThemeConfig;
575
+
576
+ export declare const GlassCard: ForwardRefExoticComponent<GlassCardProps & RefAttributes<HTMLDivElement>>;
577
+
578
+ /**
579
+ * Props for the GlassCard component
580
+ *
581
+ * @example
582
+ * ```tsx
583
+ * // Basic card
584
+ * <GlassCard intensity="medium">Content</GlassCard>
585
+ *
586
+ * // As a clickable link
587
+ * <GlassCard asChild intensity="medium">
588
+ * <a href="/details">View Details</a>
589
+ * </GlassCard>
590
+ * ```
591
+ */
592
+ export declare interface GlassCardProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'style'>, VariantProps<typeof cardIntensity> {
593
+ /**
594
+ * Render as child element instead of div (polymorphic rendering).
595
+ * Useful for making cards clickable links or custom interactive elements.
596
+ * @default false
597
+ * @example
598
+ * ```tsx
599
+ * <GlassCard asChild>
600
+ * <a href="/article">Article Content</a>
601
+ * </GlassCard>
602
+ * ```
603
+ */
604
+ readonly asChild?: boolean;
605
+ readonly children: ReactNode;
606
+ readonly glow?: GlowType;
607
+ readonly padding?: PaddingType;
608
+ }
609
+
610
+ declare type GlassVariant = 'glass' | 'frosted' | 'fluted' | 'crystal';
611
+
612
+ /**
613
+ * GlassCard CVA Variants
614
+ * Extracted for Fast Refresh compatibility
615
+ */
616
+ export declare type GlowType = 'blue' | 'violet' | 'cyan' | null;
617
+
618
+ export declare const HeaderBrandingGlass: ForwardRefExoticComponent<HeaderBrandingGlassProps & RefAttributes<HTMLDivElement>>;
619
+
620
+ declare interface HeaderBrandingGlassProps extends HTMLAttributes<HTMLDivElement> {
621
+ /** Logo icon component */
622
+ readonly logoIcon: LucideIcon;
623
+ /** Main title */
624
+ readonly title: string;
625
+ /** Subtitle (hidden on mobile) */
626
+ readonly subtitle?: string;
627
+ /** Logo click handler */
628
+ readonly onLogoClick?: () => void;
629
+ /** Logo aria label */
630
+ readonly logoAriaLabel?: string;
631
+ }
632
+
633
+ export declare const HeaderNavGlass: ForwardRefExoticComponent<HeaderNavGlassProps & RefAttributes<HTMLElement>>;
634
+
635
+ declare interface HeaderNavGlassProps extends React.HTMLAttributes<HTMLElement> {
636
+ readonly username?: string;
637
+ readonly onSearch?: (value: string) => void;
638
+ readonly onThemeToggle?: () => void;
639
+ }
640
+
641
+ export declare const IconButtonGlass: ForwardRefExoticComponent<IconButtonGlassProps & RefAttributes<HTMLButtonElement>>;
642
+
643
+ declare interface IconButtonGlassProps extends ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof iconButtonVariants> {
644
+ /** Lucide icon component */
645
+ readonly icon: LucideIcon;
646
+ /** Icon size in pixels (default: 20) */
647
+ readonly iconSize?: number;
648
+ /** Accessible label for screen readers */
649
+ readonly 'aria-label': string;
650
+ }
651
+
652
+ declare const iconButtonVariants: (props?: ({
653
+ size?: "sm" | "md" | "lg" | "touch" | null | undefined;
654
+ variant?: "ghost" | "subtle" | "gradient" | null | undefined;
655
+ } & ClassProp) | undefined) => string;
656
+
657
+ export declare const InputGlass: ForwardRefExoticComponent<InputGlassProps & RefAttributes<HTMLInputElement>>;
658
+
659
+ /**
660
+ * Props for the InputGlass component
661
+ *
662
+ * A glass-themed input field with labels, validation states, and icon support.
663
+ * Features focus glow effects and theme-aware styling.
664
+ *
665
+ * @example
666
+ * ```tsx
667
+ * // Basic input with label
668
+ * <InputGlass label="Email" placeholder="you@example.com" />
669
+ *
670
+ * // With validation states
671
+ * <InputGlass label="Username" error="Username is required" />
672
+ * <InputGlass label="Password" success="Strong password" type="password" />
673
+ *
674
+ * // With icon
675
+ * <InputGlass icon={Search} placeholder="Search..." />
676
+ * <InputGlass icon={Mail} iconPosition="right" />
677
+ * ```
678
+ */
679
+ export declare interface InputGlassProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size'>, VariantProps<typeof inputVariants> {
680
+ /**
681
+ * Label text displayed above the input field
682
+ */
683
+ readonly label?: string;
684
+ /**
685
+ * Error message to display below the input (red styling)
686
+ */
687
+ readonly error?: string;
688
+ /**
689
+ * Success message to display below the input (green styling)
690
+ */
691
+ readonly success?: string;
692
+ /**
693
+ * Icon component from lucide-react to display
694
+ * @example icon={Search}
695
+ */
696
+ readonly icon?: LucideIcon;
697
+ /**
698
+ * Position of the icon relative to input text
699
+ * @default "left"
700
+ */
701
+ readonly iconPosition?: 'left' | 'right';
702
+ /**
703
+ * @deprecated Use `size` prop instead. Will be removed in v4.0
704
+ * @default "md"
705
+ */
706
+ readonly inputSize?: 'sm' | 'md' | 'lg';
707
+ }
708
+
709
+ /**
710
+ * InputGlass CVA Variants
711
+ * Extracted for Fast Refresh compatibility
712
+ */
713
+ export declare type InputGlassSize = 'sm' | 'md' | 'lg';
714
+
715
+ export declare const inputVariants: (props?: ({
716
+ size?: "sm" | "md" | "lg" | null | undefined;
717
+ } & ClassProp) | undefined) => string;
718
+
719
+ export declare type IntensityType = 'subtle' | 'medium' | 'strong';
720
+
721
+ /**
722
+ * InteractiveCard component
723
+ *
724
+ * Provides consistent hover animations and glass effects for card components.
725
+ * Replaces ~80 lines of duplicated hover state management across 4+ components.
726
+ *
727
+ * @example
728
+ * ```tsx
729
+ * // Basic usage
730
+ * <InteractiveCard>
731
+ * <h3>Card Title</h3>
732
+ * <p>Card content</p>
733
+ * </InteractiveCard>
734
+ *
735
+ * // With hover effects
736
+ * <InteractiveCard
737
+ * hoverLift
738
+ * hoverGlow="var(--glow-primary)"
739
+ * hoverBg="var(--card-hover-bg)"
740
+ * hoverBorderColor="var(--card-hover-border)"
741
+ * >
742
+ * <MetricContent />
743
+ * </InteractiveCard>
744
+ *
745
+ * // Custom blur and rounding
746
+ * <InteractiveCard
747
+ * blur="md"
748
+ * rounded="rounded-3xl"
749
+ * baseBg="var(--metric-emerald-bg)"
750
+ * >
751
+ * <StatusCard />
752
+ * </InteractiveCard>
753
+ * ```
754
+ */
755
+ export declare const InteractiveCard: ForwardRefExoticComponent<InteractiveCardProps & RefAttributes<HTMLDivElement>>;
756
+
757
+ /**
758
+ * Props for the InteractiveCard component
759
+ */
760
+ declare interface InteractiveCardProps extends HTMLAttributes<HTMLDivElement> {
761
+ /**
762
+ * Enable hover lift effect (translateY -2px)
763
+ * @default true
764
+ */
765
+ hoverLift?: boolean;
766
+ /**
767
+ * CSS variable for hover glow effect
768
+ * @example 'var(--glow-primary)'
769
+ */
770
+ hoverGlow?: string;
771
+ /**
772
+ * CSS variable for hover background
773
+ * @example 'var(--card-hover-bg)'
774
+ */
775
+ hoverBg?: string;
776
+ /**
777
+ * CSS variable for base background
778
+ * @default 'var(--card-bg)'
779
+ */
780
+ baseBg?: string;
781
+ /**
782
+ * CSS variable for border color
783
+ * @default 'var(--card-border)'
784
+ */
785
+ borderColor?: string;
786
+ /**
787
+ * CSS variable for hover border color
788
+ */
789
+ hoverBorderColor?: string;
790
+ /**
791
+ * Blur level for glass effect
792
+ * @default 'sm'
793
+ */
794
+ blur?: 'sm' | 'md' | 'lg' | 'xl';
795
+ /**
796
+ * Disable all hover interactions
797
+ * @default false
798
+ */
799
+ disabled?: boolean;
800
+ /**
801
+ * Border radius class
802
+ * @default 'rounded-2xl'
803
+ */
804
+ rounded?: 'rounded-xl' | 'rounded-2xl' | 'rounded-3xl';
805
+ /**
806
+ * Transition speed
807
+ * @default 'var(--transition-slow)'
808
+ */
809
+ transition?: string;
810
+ }
811
+
812
+ export declare const LanguageBarGlass: ForwardRefExoticComponent<LanguageBarGlassProps & RefAttributes<HTMLDivElement>>;
813
+
814
+ declare interface LanguageBarGlassProps extends React.HTMLAttributes<HTMLDivElement> {
815
+ readonly languages: readonly LanguageData[];
816
+ readonly showLegend?: boolean;
817
+ }
818
+
819
+ declare interface LanguageData {
820
+ readonly name: string;
821
+ readonly percent: number;
822
+ readonly color?: string;
823
+ }
824
+
825
+ export declare const MetricCardGlass: ForwardRefExoticComponent<MetricCardGlassProps & RefAttributes<HTMLDivElement>>;
826
+
827
+ declare interface MetricCardGlassProps extends React.HTMLAttributes<HTMLDivElement> {
828
+ readonly label: string;
829
+ readonly value: number;
830
+ readonly color?: MetricColor;
831
+ }
832
+
833
+ declare type MetricColor = "emerald" | "amber" | "blue" | "red";
834
+
835
+ declare interface MetricData {
836
+ readonly label: string;
837
+ readonly value: number;
838
+ readonly color: MetricColor;
839
+ }
840
+
841
+ declare interface MetricData_2 {
842
+ readonly label: string;
843
+ readonly value: number;
844
+ readonly color: MetricColor;
845
+ }
846
+
847
+ export declare const MetricsGridGlass: ForwardRefExoticComponent<MetricsGridGlassProps & RefAttributes<HTMLDivElement>>;
848
+
849
+ declare interface MetricsGridGlassProps extends HTMLAttributes<HTMLDivElement> {
850
+ /** Array of metrics to display */
851
+ readonly metrics: readonly MetricData[];
852
+ /** Number of columns on desktop (1-6) */
853
+ readonly columns?: 1 | 2 | 3 | 4 | 5 | 6;
854
+ /** Gap size */
855
+ readonly gap?: 'sm' | 'md' | 'lg';
856
+ }
857
+
858
+ declare interface ModalBodyProps {
859
+ children: ReactNode;
860
+ className?: string;
861
+ }
862
+
863
+ declare interface ModalCloseProps {
864
+ className?: string;
865
+ }
866
+
867
+ declare interface ModalContentProps {
868
+ children: ReactNode;
869
+ className?: string;
870
+ }
871
+
872
+ declare interface ModalDescriptionProps {
873
+ children: ReactNode;
874
+ className?: string;
875
+ }
876
+
877
+ declare interface ModalFooterProps {
878
+ children: ReactNode;
879
+ className?: string;
880
+ }
881
+
882
+ /**
883
+ * ModalGlass - Compound Component API
884
+ *
885
+ * @example
886
+ * ```tsx
887
+ * <ModalGlass.Root open={open} onOpenChange={setOpen}>
888
+ * <ModalGlass.Overlay />
889
+ * <ModalGlass.Content>
890
+ * <ModalGlass.Header>
891
+ * <ModalGlass.Title>Confirm</ModalGlass.Title>
892
+ * <ModalGlass.Description>Are you sure?</ModalGlass.Description>
893
+ * <ModalGlass.Close />
894
+ * </ModalGlass.Header>
895
+ * <ModalGlass.Body>
896
+ * <p>Body content</p>
897
+ * </ModalGlass.Body>
898
+ * <ModalGlass.Footer>
899
+ * <ButtonGlass>Cancel</ButtonGlass>
900
+ * </ModalGlass.Footer>
901
+ * </ModalGlass.Content>
902
+ * </ModalGlass.Root>
903
+ * ```
904
+ */
905
+ export declare const ModalGlass: {
906
+ Root: FC<ModalRootProps>;
907
+ Overlay: FC<ModalOverlayProps>;
908
+ Content: ForwardRefExoticComponent<ModalContentProps & RefAttributes<HTMLDivElement>>;
909
+ Header: FC<ModalHeaderProps>;
910
+ Body: FC<ModalBodyProps>;
911
+ Footer: FC<ModalFooterProps>;
912
+ Title: FC<ModalTitleProps>;
913
+ Description: FC<ModalDescriptionProps>;
914
+ Close: FC<ModalCloseProps>;
915
+ };
916
+
917
+ declare interface ModalHeaderProps {
918
+ children: ReactNode;
919
+ className?: string;
920
+ }
921
+
922
+ declare interface ModalOverlayProps {
923
+ className?: string;
924
+ }
925
+
926
+ declare interface ModalRootProps extends React.HTMLAttributes<HTMLDivElement> {
927
+ /** Open state */
928
+ open: boolean;
929
+ /** Callback when open state changes */
930
+ onOpenChange?: (open: boolean) => void;
931
+ /** Size variant */
932
+ size?: ModalSize;
933
+ /** Child components */
934
+ children: ReactNode;
935
+ }
936
+
937
+ /**
938
+ * ModalGlass CVA Variants
939
+ * Extracted for Fast Refresh compatibility
940
+ */
941
+ export declare type ModalSize = 'sm' | 'md' | 'lg' | 'xl' | 'full';
942
+
943
+ export declare const modalSizes: (props?: ({
944
+ size?: "sm" | "md" | "lg" | "xl" | "full" | null | undefined;
945
+ } & ClassProp) | undefined) => string;
946
+
947
+ declare interface ModalTitleProps {
948
+ children: ReactNode;
949
+ className?: string;
950
+ }
951
+
952
+ export declare const NotificationGlass: ForwardRefExoticComponent<NotificationGlassProps & RefAttributes<HTMLDivElement>>;
953
+
954
+ export declare interface NotificationGlassProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'title' | 'style'>, VariantProps<typeof notificationVariants> {
955
+ readonly title: string;
956
+ readonly message: string;
957
+ /** Notification variant (shadcn/ui compatible) */
958
+ readonly variant?: 'default' | 'destructive' | 'success' | 'warning';
959
+ /** @deprecated Use variant prop instead. Will be removed in next major version. */
960
+ readonly type?: NotificationType;
961
+ readonly onClose: () => void;
962
+ }
963
+
964
+ /**
965
+ * NotificationGlass CVA Variants
966
+ * Extracted for Fast Refresh compatibility
967
+ */
968
+ export declare type NotificationType = 'info' | 'success' | 'warning' | 'error';
969
+
970
+ export declare const notificationVariants: (props?: ({
971
+ type?: "success" | "warning" | "info" | "error" | null | undefined;
972
+ } & ClassProp) | undefined) => string;
973
+
974
+ declare type OwnershipFilter = 'your' | 'contrib' | 'all';
975
+
976
+ export declare type PaddingType = 'none' | 'compact' | 'default' | 'featured';
977
+
978
+ export declare const PopoverGlass: React_2.ForwardRefExoticComponent<PopoverGlassProps & React_2.RefAttributes<HTMLDivElement>>;
979
+
980
+ declare interface PopoverGlassProps {
981
+ /** The trigger element that opens the popover */
982
+ readonly trigger: React_2.ReactNode;
983
+ /** The content to display inside the popover */
984
+ readonly children: React_2.ReactNode;
985
+ /** The preferred side of the trigger to render against */
986
+ readonly side?: 'top' | 'right' | 'bottom' | 'left';
987
+ /** The preferred alignment against the trigger */
988
+ readonly align?: 'start' | 'center' | 'end';
989
+ /** The distance in pixels from the trigger */
990
+ readonly sideOffset?: number;
991
+ /** Controlled open state */
992
+ readonly open?: boolean;
993
+ /** Callback when open state changes */
994
+ readonly onOpenChange?: (open: boolean) => void;
995
+ /** Whether to show the arrow pointer */
996
+ readonly showArrow?: boolean;
997
+ /** Additional class name for the content wrapper */
998
+ readonly className?: string;
999
+ }
1000
+
1001
+ export declare const ProfileAvatarGlass: ForwardRefExoticComponent<ProfileAvatarGlassProps & RefAttributes<HTMLDivElement>>;
1002
+
1003
+ declare interface ProfileAvatarGlassProps extends React.HTMLAttributes<HTMLDivElement> {
1004
+ readonly initials: string;
1005
+ readonly size?: ProfileAvatarSize;
1006
+ readonly status?: ProfileAvatarStatus;
1007
+ readonly glowing?: boolean;
1008
+ }
1009
+
1010
+ declare type ProfileAvatarSize = "sm" | "md" | "lg" | "xl";
1011
+
1012
+ declare type ProfileAvatarStatus = "online" | "offline" | "busy" | "away";
1013
+
1014
+ export declare const ProfileHeaderGlass: ForwardRefExoticComponent<ProfileHeaderGlassProps & RefAttributes<HTMLDivElement>>;
1015
+
1016
+ declare interface ProfileHeaderGlassProps extends React.HTMLAttributes<HTMLDivElement> {
1017
+ readonly name?: string;
1018
+ readonly username?: string;
1019
+ readonly joinDate?: string;
1020
+ readonly stats?: ProfileStats;
1021
+ readonly languages?: readonly LanguageData[];
1022
+ readonly onAIGenerate?: () => void;
1023
+ }
1024
+
1025
+ declare interface ProfileStats {
1026
+ readonly repos?: number;
1027
+ readonly followers?: number;
1028
+ readonly following?: number;
1029
+ }
1030
+
1031
+ export declare const ProgressGlass: ForwardRefExoticComponent<ProgressGlassProps & RefAttributes<HTMLDivElement>>;
1032
+
1033
+ export declare interface ProgressGlassProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'style'>, VariantProps<typeof progressSizes> {
1034
+ readonly value: number;
1035
+ readonly gradient?: ProgressGradient;
1036
+ readonly showLabel?: boolean;
1037
+ }
1038
+
1039
+ export declare type ProgressGradient = 'violet' | 'blue' | 'cyan' | 'amber' | 'emerald' | 'rose';
1040
+
1041
+ /**
1042
+ * ProgressGlass CVA Variants
1043
+ * Extracted for Fast Refresh compatibility
1044
+ */
1045
+ export declare type ProgressSize = 'sm' | 'md' | 'lg' | 'xl';
1046
+
1047
+ export declare const progressSizes: (props?: ({
1048
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
1049
+ } & ClassProp) | undefined) => string;
1050
+
1051
+ export declare const ProjectsListGlass: ForwardRefExoticComponent<ProjectsListGlassProps & RefAttributes<HTMLDivElement>>;
1052
+
1053
+ declare interface ProjectsListGlassProps extends React.HTMLAttributes<HTMLDivElement> {
1054
+ /** List of repositories to display */
1055
+ readonly repositories: readonly Repository[];
1056
+ /** Show only flagged (non-green) repositories */
1057
+ readonly showFlaggedOnly?: boolean;
1058
+ /** Filter by creation year */
1059
+ readonly selectedYear?: number | null;
1060
+ /** Callback to clear all filters */
1061
+ readonly onClearFilters?: () => void;
1062
+ /** Custom title (overrides auto-generated) */
1063
+ readonly title?: string;
1064
+ /** Current ownership filter */
1065
+ readonly ownershipFilter?: OwnershipFilter;
1066
+ /** Callback when ownership filter changes */
1067
+ readonly onOwnershipChange?: (filter: OwnershipFilter) => void;
1068
+ /** Current sort field */
1069
+ readonly sortBy?: SortField;
1070
+ /** Current sort order */
1071
+ readonly sortOrder?: SortOrder;
1072
+ /** Callback when sort changes */
1073
+ readonly onSortChange?: (field: SortField, order: SortOrder) => void;
1074
+ /** Show header controls (sort dropdown, ownership filter). Default: true when callbacks provided */
1075
+ readonly showControls?: boolean;
1076
+ }
1077
+
1078
+ export declare const RainbowProgressGlass: ForwardRefExoticComponent<RainbowProgressGlassProps & RefAttributes<HTMLDivElement>>;
1079
+
1080
+ declare interface RainbowProgressGlassProps extends React.HTMLAttributes<HTMLDivElement> {
1081
+ readonly value: number;
1082
+ readonly size?: RainbowProgressSize;
1083
+ readonly showGlow?: boolean;
1084
+ }
1085
+
1086
+ declare type RainbowProgressSize = "sm" | "md" | "lg" | "xl";
1087
+
1088
+ declare interface Repository {
1089
+ readonly name: string;
1090
+ readonly languages: string;
1091
+ readonly commits: number;
1092
+ readonly contribution: number;
1093
+ readonly stars?: number;
1094
+ readonly flagType?: RepositoryFlagType;
1095
+ readonly issues?: readonly string[];
1096
+ readonly createdYear?: number;
1097
+ /** Ownership type for Your/Contrib filtering */
1098
+ readonly ownership?: 'your' | 'contrib';
1099
+ }
1100
+
1101
+ export declare const RepositoryCardGlass: ForwardRefExoticComponent<RepositoryCardGlassProps & RefAttributes<HTMLDivElement>>;
1102
+
1103
+ declare interface RepositoryCardGlassProps extends React.HTMLAttributes<HTMLDivElement> {
1104
+ readonly name: string;
1105
+ readonly languages: string;
1106
+ readonly commits: number;
1107
+ readonly contribution: number;
1108
+ readonly stars?: number;
1109
+ readonly flagType?: RepositoryFlagType;
1110
+ readonly issues?: readonly string[];
1111
+ readonly expanded?: boolean;
1112
+ readonly onToggle?: () => void;
1113
+ readonly onGitHubClick?: () => void;
1114
+ readonly onAIAnalysisClick?: () => void;
1115
+ }
1116
+
1117
+ declare type RepositoryFlagType = "green" | "yellow" | "red";
1118
+
1119
+ declare type RepositoryFlagType_2 = 'green' | 'yellow' | 'red';
1120
+
1121
+ export declare const RepositoryHeaderGlass: ForwardRefExoticComponent<RepositoryHeaderGlassProps & RefAttributes<HTMLDivElement>>;
1122
+
1123
+ declare interface RepositoryHeaderGlassProps extends HTMLAttributes<HTMLDivElement> {
1124
+ /** Repository name */
1125
+ readonly name: string;
1126
+ /** Flag/status type */
1127
+ readonly flagType?: RepositoryFlagType_2;
1128
+ /** Star count */
1129
+ readonly stars?: number;
1130
+ /** Is expanded state */
1131
+ readonly expanded?: boolean;
1132
+ /** Abbreviated star count for mobile (1.2k instead of 1234) */
1133
+ readonly abbreviatedStars?: boolean;
1134
+ }
1135
+
1136
+ export declare const RepositoryMetadataGlass: ForwardRefExoticComponent<RepositoryMetadataGlassProps & RefAttributes<HTMLDivElement>>;
1137
+
1138
+ declare interface RepositoryMetadataGlassProps extends HTMLAttributes<HTMLDivElement> {
1139
+ /** Programming languages used */
1140
+ readonly languages: string;
1141
+ /** Number of commits */
1142
+ readonly commits: number;
1143
+ /** Contribution percentage */
1144
+ readonly contribution: number;
1145
+ /** Stacked layout for mobile */
1146
+ readonly stacked?: boolean;
1147
+ }
1148
+
1149
+ export declare const SearchBoxGlass: ForwardRefExoticComponent<SearchBoxGlassProps & RefAttributes<HTMLInputElement>>;
1150
+
1151
+ declare interface SearchBoxGlassProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'onSubmit' | 'onChange'> {
1152
+ /** Callback when search is submitted (Enter key or button click) */
1153
+ readonly onSubmit?: (value: string) => void;
1154
+ /** Initial search value */
1155
+ readonly defaultValue?: string;
1156
+ /** Controlled value */
1157
+ readonly value?: string;
1158
+ /** Controlled change handler */
1159
+ readonly onChange?: (value: string) => void;
1160
+ /** Compact variant for mobile (icon only button) */
1161
+ readonly variant?: 'default' | 'compact';
1162
+ /** Input width class (default: w-48) */
1163
+ readonly inputWidth?: string;
1164
+ }
1165
+
1166
+ export declare const SegmentedControlGlass: ForwardRefExoticComponent<SegmentedControlGlassProps & RefAttributes<HTMLDivElement>>;
1167
+
1168
+ declare interface SegmentedControlGlassProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange"> {
1169
+ readonly options: readonly SegmentOption[];
1170
+ readonly value: string;
1171
+ readonly onChange?: (value: string) => void;
1172
+ }
1173
+
1174
+ declare interface SegmentOption {
1175
+ readonly value: string;
1176
+ readonly label: string;
1177
+ }
1178
+
1179
+ /**
1180
+ * Alert CVA Variants (shadcn/ui)
1181
+ * Extracted for Fast Refresh compatibility
1182
+ */
1183
+ export declare const shadcnAlertVariants: (props?: ({
1184
+ variant?: "default" | "destructive" | null | undefined;
1185
+ } & ClassProp) | undefined) => string;
1186
+
1187
+ /**
1188
+ * Badge CVA Variants (shadcn/ui)
1189
+ * Extracted for Fast Refresh compatibility
1190
+ */
1191
+ export declare const shadcnBadgeVariants: (props?: ({
1192
+ variant?: "default" | "destructive" | "secondary" | "outline" | null | undefined;
1193
+ } & ClassProp) | undefined) => string;
1194
+
1195
+ /**
1196
+ * Button CVA Variants (shadcn/ui)
1197
+ * Extracted for Fast Refresh compatibility
1198
+ */
1199
+ export declare const shadcnButtonVariants: (props?: ({
1200
+ variant?: "default" | "destructive" | "link" | "secondary" | "outline" | "ghost" | null | undefined;
1201
+ size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
1202
+ } & ClassProp) | undefined) => string;
1203
+
1204
+ export declare const SkeletonGlass: ForwardRefExoticComponent<SkeletonGlassProps & RefAttributes<HTMLDivElement>>;
1205
+
1206
+ export declare interface SkeletonGlassProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof skeletonVariants> {
1207
+ readonly width?: string | number;
1208
+ readonly height?: string | number;
1209
+ }
1210
+
1211
+ /**
1212
+ * SkeletonGlass CVA Variants
1213
+ * Extracted for Fast Refresh compatibility
1214
+ */
1215
+ export declare type SkeletonVariant = 'text' | 'title' | 'avatar' | 'thumbnail' | 'card';
1216
+
1217
+ export declare const skeletonVariants: (props?: ({
1218
+ variant?: "title" | "text" | "avatar" | "thumbnail" | "card" | null | undefined;
1219
+ } & ClassProp) | undefined) => string;
1220
+
1221
+ export declare const SliderGlass: ForwardRefExoticComponent<SliderGlassProps & RefAttributes<HTMLInputElement>>;
1222
+
1223
+ export declare interface SliderGlassProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'onChange' | 'value'> {
1224
+ readonly value: number;
1225
+ readonly onChange: (value: number) => void;
1226
+ readonly min?: number;
1227
+ readonly max?: number;
1228
+ readonly step?: number;
1229
+ readonly showValue?: boolean;
1230
+ readonly label?: string;
1231
+ readonly error?: string;
1232
+ readonly success?: string;
1233
+ }
1234
+
1235
+ export declare const SortDropdownGlass: ForwardRefExoticComponent<SortDropdownGlassProps & RefAttributes<HTMLDivElement>>;
1236
+
1237
+ declare interface SortDropdownGlassProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'> {
1238
+ /** Current sort field */
1239
+ readonly sortBy: SortField;
1240
+ /** Current sort order */
1241
+ readonly sortOrder: SortOrder;
1242
+ /** Callback when sort changes */
1243
+ readonly onSortChange: (field: SortField, order: SortOrder) => void;
1244
+ /** Available sort options (default: all) */
1245
+ readonly options?: readonly SortField[];
1246
+ /** Compact mode for mobile */
1247
+ readonly compact?: boolean;
1248
+ }
1249
+
1250
+ declare type SortField = 'commits' | 'stars' | 'name' | 'contribution';
1251
+
1252
+ declare type SortOrder = 'asc' | 'desc';
1253
+
1254
+ export declare const StatItemGlass: ForwardRefExoticComponent<StatItemGlassProps & RefAttributes<HTMLSpanElement>>;
1255
+
1256
+ declare interface StatItemGlassProps extends HTMLAttributes<HTMLSpanElement>, VariantProps<typeof statItemVariants> {
1257
+ /** Lucide icon component */
1258
+ readonly icon: LucideIcon;
1259
+ /** Stat value (number or formatted string) */
1260
+ readonly value: number | string;
1261
+ /** Stat label */
1262
+ readonly label: string;
1263
+ /** Icon size in pixels */
1264
+ readonly iconSize?: number;
1265
+ /** Abbreviated format for mobile (1.2k instead of 1234) */
1266
+ readonly abbreviated?: boolean;
1267
+ }
1268
+
1269
+ declare const statItemVariants: (props?: ({
1270
+ size?: "sm" | "md" | "lg" | null | undefined;
1271
+ layout?: "horizontal" | "vertical" | null | undefined;
1272
+ } & ClassProp) | undefined) => string;
1273
+
1274
+ export declare const StatusIndicatorGlass: ForwardRefExoticComponent<StatusIndicatorGlassProps & RefAttributes<HTMLDivElement>>;
1275
+
1276
+ declare interface StatusIndicatorGlassProps extends React.HTMLAttributes<HTMLDivElement> {
1277
+ readonly type?: StatusType;
1278
+ readonly size?: StatusSize;
1279
+ }
1280
+
1281
+ declare type StatusSize = "normal" | "large";
1282
+
1283
+ export declare const statusSizes: (props?: ({
1284
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
1285
+ } & ClassProp) | undefined) => string;
1286
+
1287
+ declare type StatusType = "green" | "yellow" | "red";
1288
+
1289
+ export declare interface TabItem {
1290
+ readonly id: string;
1291
+ readonly label: string;
1292
+ }
1293
+
1294
+ declare interface TabsContentProps {
1295
+ /** Value of the tab this content belongs to */
1296
+ value: string;
1297
+ /** Content to display when tab is active */
1298
+ children: ReactNode;
1299
+ /** Optional className */
1300
+ className?: string;
1301
+ }
1302
+
1303
+ /**
1304
+ * TabsGlass - Compound Component API
1305
+ *
1306
+ * @example
1307
+ * ```tsx
1308
+ * <TabsGlass.Root value={activeTab} onValueChange={setActiveTab}>
1309
+ * <TabsGlass.List>
1310
+ * <TabsGlass.Trigger value="tab1">Overview</TabsGlass.Trigger>
1311
+ * <TabsGlass.Trigger value="tab2">Analytics</TabsGlass.Trigger>
1312
+ * </TabsGlass.List>
1313
+ * <TabsGlass.Content value="tab1">
1314
+ * <p>Overview content</p>
1315
+ * </TabsGlass.Content>
1316
+ * <TabsGlass.Content value="tab2">
1317
+ * <p>Analytics content</p>
1318
+ * </TabsGlass.Content>
1319
+ * </TabsGlass.Root>
1320
+ * ```
1321
+ *
1322
+ * @since v1.0.0 - Legacy API removed (tabs/activeTab/onChange props)
1323
+ */
1324
+ export declare const TabsGlass: {
1325
+ Root: FC<TabsRootProps>;
1326
+ List: ForwardRefExoticComponent<TabsListProps & RefAttributes<HTMLDivElement>>;
1327
+ Trigger: ForwardRefExoticComponent<TabsTriggerProps & RefAttributes<HTMLButtonElement>>;
1328
+ Content: FC<TabsContentProps>;
1329
+ };
1330
+
1331
+ declare interface TabsListProps extends React.HTMLAttributes<HTMLDivElement> {
1332
+ children: ReactNode;
1333
+ className?: string;
1334
+ }
1335
+
1336
+ declare interface TabsRootProps {
1337
+ /** Current active tab value */
1338
+ value: string;
1339
+ /** Callback when tab value changes */
1340
+ onValueChange?: (value: string) => void;
1341
+ /** Child components */
1342
+ children: ReactNode;
1343
+ /** Optional className for container */
1344
+ className?: string;
1345
+ }
1346
+
1347
+ declare interface TabsTriggerProps {
1348
+ /** Value of this tab */
1349
+ value: string;
1350
+ /** Tab label/content */
1351
+ children: ReactNode;
1352
+ /** Optional className */
1353
+ className?: string;
1354
+ /** Disabled state */
1355
+ disabled?: boolean;
1356
+ }
1357
+
1358
+ export declare type Theme = "light" | "aurora" | "glass";
1359
+
1360
+ export declare const THEME_CONFIG: Record<Theme, ThemeConfig>;
1361
+
1362
+ export declare interface ThemeConfig {
1363
+ readonly label: string;
1364
+ readonly icon: LucideIcon;
1365
+ }
1366
+
1367
+ export declare interface ThemeContextValue {
1368
+ readonly theme: Theme;
1369
+ readonly setTheme: (theme: Theme) => void;
1370
+ readonly cycleTheme: () => void;
1371
+ }
1372
+
1373
+ export declare function ThemeProvider({ children, defaultTheme, storageKey, }: ThemeProviderProps): JSX.Element;
1374
+
1375
+ declare interface ThemeProviderProps {
1376
+ readonly children: ReactNode;
1377
+ readonly defaultTheme?: Theme;
1378
+ readonly storageKey?: string;
1379
+ }
1380
+
1381
+ export declare const THEMES: readonly Theme[];
1382
+
1383
+ export declare const ThemeToggleGlass: ForwardRefExoticComponent<ThemeToggleGlassProps & RefAttributes<HTMLButtonElement>>;
1384
+
1385
+ declare interface ThemeToggleGlassProps extends ButtonHTMLAttributes<HTMLButtonElement> {
1386
+ /** Custom theme toggle handler (overrides default cycleTheme) */
1387
+ readonly onToggle?: () => void;
1388
+ /** Icon size in pixels (default: 20) */
1389
+ readonly iconSize?: number;
1390
+ /** Show icon only (hide label on mobile) */
1391
+ readonly iconOnly?: boolean;
1392
+ }
1393
+
1394
+ export declare const ToggleGlass: ForwardRefExoticComponent<ToggleGlassProps & RefAttributes<HTMLButtonElement>>;
1395
+
1396
+ export declare interface ToggleGlassProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'onChange'>, VariantProps<typeof toggleSizes> {
1397
+ readonly checked: boolean;
1398
+ readonly onChange?: (checked: boolean) => void;
1399
+ readonly label?: string;
1400
+ }
1401
+
1402
+ /**
1403
+ * ToggleGlass CVA Variants
1404
+ * Extracted for Fast Refresh compatibility
1405
+ */
1406
+ export declare type ToggleGlassSize = 'sm' | 'md' | 'lg';
1407
+
1408
+ export declare const toggleSizes: (props?: ({
1409
+ size?: "sm" | "md" | "lg" | null | undefined;
1410
+ } & ClassProp) | undefined) => string;
1411
+
1412
+ export declare const TooltipGlass: ForwardRefExoticComponent<TooltipGlassProps & RefAttributes<HTMLDivElement>>;
1413
+
1414
+ export declare interface TooltipGlassProps extends VariantProps<typeof tooltipPositions> {
1415
+ readonly children: ReactNode;
1416
+ readonly content: string;
1417
+ readonly position?: TooltipPosition;
1418
+ readonly className?: string;
1419
+ }
1420
+
1421
+ /**
1422
+ * TooltipGlass CVA Variants
1423
+ * Extracted for Fast Refresh compatibility
1424
+ */
1425
+ export declare type TooltipPosition = 'top' | 'bottom' | 'left' | 'right';
1426
+
1427
+ export declare const tooltipPositions: (props?: ({
1428
+ position?: "bottom" | "left" | "right" | "top" | null | undefined;
1429
+ } & ClassProp) | undefined) => string;
1430
+
1431
+ /**
1432
+ * TouchTarget wrapper component
1433
+ *
1434
+ * Ensures interactive elements meet accessibility standards for touch devices.
1435
+ * Automatically applies minimum dimensions and optional centering.
1436
+ *
1437
+ * @example
1438
+ * ```tsx
1439
+ * // Basic usage with default 44px minimum
1440
+ * <TouchTarget>
1441
+ * <button className="w-8 h-8">×</button>
1442
+ * </TouchTarget>
1443
+ *
1444
+ * // Material Design 48px minimum
1445
+ * <TouchTarget minSize={48}>
1446
+ * <Checkbox />
1447
+ * </TouchTarget>
1448
+ *
1449
+ * // Custom alignment
1450
+ * <TouchTarget center={false} className="justify-start">
1451
+ * <IconButton />
1452
+ * </TouchTarget>
1453
+ * ```
1454
+ */
1455
+ export declare const TouchTarget: ForwardRefExoticComponent<TouchTargetProps & RefAttributes<HTMLDivElement>>;
1456
+
1457
+ /**
1458
+ * Props for the TouchTarget component
1459
+ */
1460
+ declare interface TouchTargetProps extends HTMLAttributes<HTMLDivElement> {
1461
+ /**
1462
+ * Child element(s) to wrap with touch target
1463
+ */
1464
+ children: ReactNode;
1465
+ /**
1466
+ * Minimum touch target size in pixels
1467
+ * @default 44 - Apple HIG minimum
1468
+ */
1469
+ minSize?: 44 | 48;
1470
+ /**
1471
+ * Center content within touch target
1472
+ * @default true
1473
+ */
1474
+ center?: boolean;
1475
+ }
1476
+
1477
+ export declare const TrustScoreCardGlass: ForwardRefExoticComponent<TrustScoreCardGlassProps & RefAttributes<HTMLDivElement>>;
1478
+
1479
+ declare interface TrustScoreCardGlassProps extends React.HTMLAttributes<HTMLDivElement> {
1480
+ readonly score?: number;
1481
+ readonly metrics?: readonly MetricData_2[];
1482
+ }
1483
+
1484
+ export declare const TrustScoreDisplayGlass: ForwardRefExoticComponent<TrustScoreDisplayGlassProps & RefAttributes<HTMLDivElement>>;
1485
+
1486
+ declare interface TrustScoreDisplayGlassProps extends HTMLAttributes<HTMLDivElement> {
1487
+ /** Score value (0-100) */
1488
+ readonly score: number;
1489
+ /** Maximum score (default: 100) */
1490
+ readonly maxScore?: number;
1491
+ /** Title text */
1492
+ readonly title?: string;
1493
+ /** Show icon */
1494
+ readonly showIcon?: boolean;
1495
+ /** Size variant */
1496
+ readonly size?: 'sm' | 'md' | 'lg';
1497
+ }
1498
+
1499
+ /**
1500
+ * Hook for managing focus state with optional focus-visible support.
1501
+ *
1502
+ * @example Basic usage
1503
+ * ```tsx
1504
+ * const { isFocused, focusProps } = useFocus();
1505
+ *
1506
+ * return (
1507
+ * <input
1508
+ * {...focusProps}
1509
+ * style={{
1510
+ * borderColor: isFocused ? 'violet' : 'gray',
1511
+ * }}
1512
+ * />
1513
+ * );
1514
+ * ```
1515
+ *
1516
+ * @example Focus-visible for keyboard navigation
1517
+ * ```tsx
1518
+ * const { isFocusVisible, focusProps } = useFocus({ focusVisible: true });
1519
+ *
1520
+ * return (
1521
+ * <button
1522
+ * {...focusProps}
1523
+ * style={{
1524
+ * outline: isFocusVisible ? '2px solid violet' : 'none',
1525
+ * }}
1526
+ * >
1527
+ * Click or Tab to me
1528
+ * </button>
1529
+ * );
1530
+ * ```
1531
+ */
1532
+ export declare function useFocus(options?: UseFocusOptions): UseFocusReturn;
1533
+
1534
+ declare interface UseFocusOptions {
1535
+ /** Callback when focus state changes */
1536
+ onFocusChange?: (isFocused: boolean) => void;
1537
+ /** Include focus-visible behavior (keyboard focus only) */
1538
+ focusVisible?: boolean;
1539
+ /** Callback for keyboard events while focused */
1540
+ onKeyDown?: (e: KeyboardEvent_2) => void;
1541
+ }
1542
+
1543
+ declare interface UseFocusReturn {
1544
+ /** Current focus state */
1545
+ isFocused: boolean;
1546
+ /** True only when focused via keyboard (if focusVisible enabled) */
1547
+ isFocusVisible: boolean;
1548
+ /** Props to spread on the target element */
1549
+ focusProps: {
1550
+ onFocus: (e: FocusEvent_2) => void;
1551
+ onBlur: (e: FocusEvent_2) => void;
1552
+ onKeyDown?: (e: KeyboardEvent_2) => void;
1553
+ };
1554
+ /** Manually set focus state */
1555
+ setIsFocused: (value: boolean) => void;
1556
+ /** Reference to track if last focus was from keyboard */
1557
+ focusRef: React.RefObject<boolean>;
1558
+ }
1559
+
1560
+ /**
1561
+ * Hook for managing hover state with optional delays and focus support.
1562
+ *
1563
+ * @example
1564
+ * ```tsx
1565
+ * const { isHovered, hoverProps } = useHover();
1566
+ *
1567
+ * return (
1568
+ * <div
1569
+ * {...hoverProps}
1570
+ * style={{ opacity: isHovered ? 1 : 0.8 }}
1571
+ * >
1572
+ * Hover me
1573
+ * </div>
1574
+ * );
1575
+ * ```
1576
+ *
1577
+ * @example With options
1578
+ * ```tsx
1579
+ * const { isHovered, hoverProps } = useHover({
1580
+ * enterDelay: 100,
1581
+ * leaveDelay: 200,
1582
+ * includeFocus: true,
1583
+ * onHoverChange: (hover) => console.log('Hovered:', hover),
1584
+ * });
1585
+ * ```
1586
+ */
1587
+ export declare function useHover(options?: UseHoverOptions): UseHoverReturn;
1588
+
1589
+ declare interface UseHoverOptions {
1590
+ /** Delay before hover state becomes true (ms) */
1591
+ enterDelay?: number;
1592
+ /** Delay before hover state becomes false (ms) */
1593
+ leaveDelay?: number;
1594
+ /** Include focus events for accessibility */
1595
+ includeFocus?: boolean;
1596
+ /** Callback when hover state changes */
1597
+ onHoverChange?: (isHovered: boolean) => void;
1598
+ }
1599
+
1600
+ declare interface UseHoverReturn {
1601
+ /** Current hover state */
1602
+ isHovered: boolean;
1603
+ /** Props to spread on the target element */
1604
+ hoverProps: {
1605
+ onMouseEnter: (e: MouseEvent_2) => void;
1606
+ onMouseLeave: (e: MouseEvent_2) => void;
1607
+ onFocus?: (e: FocusEvent_2) => void;
1608
+ onBlur?: (e: FocusEvent_2) => void;
1609
+ };
1610
+ /** Manually set hover state */
1611
+ setIsHovered: (value: boolean) => void;
1612
+ }
1613
+
1614
+ /**
1615
+ * Hook to detect current responsive breakpoint
1616
+ *
1617
+ * @returns Responsive state with current breakpoint and device type flags
1618
+ *
1619
+ * @example
1620
+ * ```tsx
1621
+ * const { isMobile, isTablet, isDesktop, currentBreakpoint } = useResponsive();
1622
+ *
1623
+ * return (
1624
+ * <div className={isMobile ? 'flex-col' : 'flex-row'}>
1625
+ * {currentBreakpoint === 'lg' && <Sidebar />}
1626
+ * </div>
1627
+ * );
1628
+ * ```
1629
+ */
1630
+ export declare function useResponsive(): UseResponsiveReturn;
1631
+
1632
+ declare interface UseResponsiveReturn {
1633
+ /** Window width is less than 768px (mobile) */
1634
+ isMobile: boolean;
1635
+ /** Window width is >= 768px and < 1024px (tablet) */
1636
+ isTablet: boolean;
1637
+ /** Window width is >= 1024px (desktop) */
1638
+ isDesktop: boolean;
1639
+ /** Current active breakpoint */
1640
+ currentBreakpoint: Breakpoint;
1641
+ /** Current window width in pixels */
1642
+ width: number;
1643
+ }
1644
+
1645
+ export declare const UserInfoGlass: ForwardRefExoticComponent<UserInfoGlassProps & RefAttributes<HTMLDivElement>>;
1646
+
1647
+ declare interface UserInfoGlassProps extends HTMLAttributes<HTMLDivElement> {
1648
+ /** Full name */
1649
+ readonly name: string;
1650
+ /** Username (without @) */
1651
+ readonly username: string;
1652
+ /** Join date string (e.g., "Jan 2023") */
1653
+ readonly joinDate: string;
1654
+ /** Username link URL (default: #) */
1655
+ readonly profileUrl?: string;
1656
+ /** Layout orientation */
1657
+ readonly layout?: 'vertical' | 'horizontal';
1658
+ }
1659
+
1660
+ export declare const UserStatsLineGlass: ForwardRefExoticComponent<UserStatsLineGlassProps & RefAttributes<HTMLDivElement>>;
1661
+
1662
+ declare interface UserStatsLineGlassProps extends HTMLAttributes<HTMLDivElement> {
1663
+ /** Number of repositories */
1664
+ readonly repos: number;
1665
+ /** Number of followers */
1666
+ readonly followers: number;
1667
+ /** Number of following */
1668
+ readonly following: number;
1669
+ /** Wrap stats on mobile */
1670
+ readonly wrap?: boolean;
1671
+ /** Abbreviated numbers for mobile (1.2k instead of 1234) */
1672
+ readonly abbreviated?: boolean;
1673
+ }
1674
+
1675
+ export declare function useTheme(): ThemeContextValue;
1676
+
1677
+ /**
1678
+ * Hook to extract and use wallpaper tint color
1679
+ *
1680
+ * @example
1681
+ * ```tsx
1682
+ * const { tintColor, isLoading } = useWallpaperTint({
1683
+ * imageUrl: '/path/to/background.jpg',
1684
+ * });
1685
+ *
1686
+ * // Use tintColor in CSS variables
1687
+ * <div style={{ '--wallpaper-tint': tintColor }}>
1688
+ * <GlassCard />
1689
+ * </div>
1690
+ * ```
1691
+ */
1692
+ export declare const useWallpaperTint: (options?: WallpaperTintOptions) => WallpaperTintResult;
1693
+
1694
+ declare interface WallpaperTintOptions {
1695
+ /**
1696
+ * The image URL to sample for tint color
1697
+ */
1698
+ imageUrl?: string;
1699
+ /**
1700
+ * Debounce delay in milliseconds
1701
+ * @default 300
1702
+ */
1703
+ debounceMs?: number;
1704
+ /**
1705
+ * Number of sample points to take from the image
1706
+ * @default 10
1707
+ */
1708
+ sampleSize?: number;
1709
+ /**
1710
+ * Whether to enable the tint extraction
1711
+ * @default true
1712
+ */
1713
+ enabled?: boolean;
1714
+ }
1715
+
1716
+ declare interface WallpaperTintResult {
1717
+ /**
1718
+ * The extracted tint color in RGB format
1719
+ * Example: "120, 80, 200"
1720
+ */
1721
+ tintColor: string | null;
1722
+ /**
1723
+ * Whether the tint extraction is in progress
1724
+ */
1725
+ isLoading: boolean;
1726
+ /**
1727
+ * Error message if extraction failed
1728
+ */
1729
+ error: string | null;
1730
+ /**
1731
+ * Re-extract the tint color from the current image
1732
+ */
1733
+ refresh: () => void;
1734
+ }
1735
+
1736
+ export declare const YearCardGlass: ForwardRefExoticComponent<YearCardGlassProps & RefAttributes<HTMLDivElement>>;
1737
+
1738
+ declare interface YearCardGlassProps extends React.HTMLAttributes<HTMLDivElement> {
1739
+ readonly year: string | number;
1740
+ readonly emoji: string;
1741
+ readonly label: string;
1742
+ readonly commits: string;
1743
+ readonly progress: number;
1744
+ readonly isExpanded?: boolean;
1745
+ readonly gradient?: ProgressGradient;
1746
+ readonly prs?: number;
1747
+ readonly repos?: number;
1748
+ readonly onShowYear?: () => void;
1749
+ }
1750
+
1751
+ declare interface YearData {
1752
+ readonly year: string | number;
1753
+ readonly emoji: string;
1754
+ readonly label: string;
1755
+ readonly commits: string;
1756
+ readonly progress: number;
1757
+ readonly prs?: number;
1758
+ readonly repos?: number;
1759
+ }
1760
+
1761
+ export { }