@bergetai/ui 0.1.90 → 0.1.92

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -1,10 +1,11 @@
1
1
  import * as React$1 from 'react';
2
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
3
  import * as class_variance_authority_types from 'class-variance-authority/types';
3
4
  import { VariantProps } from 'class-variance-authority';
5
+ import * as DialogPrimitive from '@radix-ui/react-dialog';
4
6
  import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
5
7
  import * as SwitchPrimitives from '@radix-ui/react-switch';
6
8
  import * as LabelPrimitive from '@radix-ui/react-label';
7
- import * as react_jsx_runtime from 'react/jsx-runtime';
8
9
  import { LucideProps, LucideIcon } from 'lucide-react';
9
10
 
10
11
  type Theme = 'dark' | 'light' | 'system';
@@ -41,18 +42,17 @@ interface ButtonProps$1 extends React$1.ButtonHTMLAttributes<HTMLButtonElement>,
41
42
  }
42
43
  declare const Button$1: React$1.ForwardRefExoticComponent<ButtonProps$1 & React$1.RefAttributes<HTMLButtonElement>>;
43
44
 
44
- type PrimitiveButtonProps = React$1.ComponentProps<typeof Button$1>;
45
- /** Custom variants that extend the upstream shadcn primitive. */
45
+ /** Variants exposed by the Berget wrapper. */
46
46
  type CustomVariant = 'default' | 'primary' | 'destructive' | 'outline' | 'ghost' | 'link';
47
- interface ButtonProps extends Omit<PrimitiveButtonProps, 'variant'> {
47
+ /** Props for the Berget Button wrapper. */
48
+ interface ButtonProps extends Omit<React$1.ComponentProps<typeof Button$1>, 'variant' | 'ref'> {
48
49
  /** Visual style variant. `primary` is Berget-specific. */
49
50
  variant?: CustomVariant;
50
- /** Show a loading spinner. Hides text content on icon-only buttons. */
51
- isLoading?: boolean;
52
51
  /** Full width or auto width. */
53
52
  width?: 'default' | 'full';
53
+ ref?: React$1.Ref<HTMLButtonElement>;
54
54
  }
55
- declare const Button: React$1.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
55
+ declare function Button({ className, variant, size, asChild, width, type, ref, children, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
56
56
 
57
57
  declare const typographyVariants: (props?: ({
58
58
  variant?: "small" | "xs" | "body" | "code" | "h1" | "h2" | "h3" | "h4" | "h5" | "large" | "mono" | null | undefined;
@@ -100,6 +100,23 @@ declare const Alert: React$1.ForwardRefExoticComponent<AlertProps & React$1.RefA
100
100
  type AlertTitleProps = React$1.HTMLAttributes<HTMLHeadingElement>;
101
101
  type AlertDescriptionProps = React$1.HTMLAttributes<HTMLParagraphElement>;
102
102
 
103
+ declare const Dialog: React$1.FC<DialogPrimitive.DialogProps>;
104
+ declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
105
+ declare const DialogPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
106
+ declare const DialogClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
107
+ declare const DialogOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
108
+ declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
109
+ declare const DialogHeader: {
110
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
111
+ displayName: string;
112
+ };
113
+ declare const DialogFooter: {
114
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
115
+ displayName: string;
116
+ };
117
+ declare const DialogTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
118
+ declare const DialogDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
119
+
103
120
  interface InputProps extends React$1.InputHTMLAttributes<HTMLInputElement> {
104
121
  icon?: React$1.ReactNode;
105
122
  actionButton?: React$1.ReactNode;
@@ -205,7 +222,7 @@ declare function FieldError({ className, children, errors, ...props }: React.Com
205
222
  }): react_jsx_runtime.JSX.Element | null;
206
223
 
207
224
  declare const linkVariants: (props?: ({
208
- variant?: "default" | "secondary" | "ghost" | "code" | "primary" | "muted" | null | undefined;
225
+ variant?: "default" | "secondary" | "ghost" | "primary" | "code" | "muted" | null | undefined;
209
226
  size?: "sm" | "lg" | "default" | null | undefined;
210
227
  } & class_variance_authority_types.ClassProp) | undefined) => string;
211
228
  interface LinkProps extends React$1.AnchorHTMLAttributes<HTMLAnchorElement>, VariantProps<typeof linkVariants> {
@@ -217,26 +234,6 @@ interface LinkProps extends React$1.AnchorHTMLAttributes<HTMLAnchorElement>, Var
217
234
  }
218
235
  declare const Link: React$1.ForwardRefExoticComponent<LinkProps & React$1.RefAttributes<HTMLAnchorElement>>;
219
236
 
220
- declare const sectionVariants: (props?: ({
221
- padding?: "sm" | "md" | "lg" | "none" | "xl" | null | undefined;
222
- background?: "muted" | "transparent" | null | undefined;
223
- } & class_variance_authority_types.ClassProp) | undefined) => string;
224
- interface SectionProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof sectionVariants> {
225
- children: React$1.ReactNode;
226
- }
227
- declare const Section: React$1.ForwardRefExoticComponent<SectionProps & React$1.RefAttributes<HTMLElement>>;
228
-
229
- interface SectionHeaderProps extends React$1.HTMLAttributes<HTMLDivElement> {
230
- title: string;
231
- description?: string;
232
- descriptionVariant?: 'h2' | 'h3' | 'h4' | 'large' | 'body';
233
- tagline?: string;
234
- action?: React$1.ReactNode;
235
- headingLevel?: 'h1' | 'h2' | 'h3' | 'h4';
236
- id?: string;
237
- }
238
- declare const SectionHeader: React$1.ForwardRefExoticComponent<SectionHeaderProps & React$1.RefAttributes<HTMLDivElement>>;
239
-
240
237
  declare const containerVariants: (props?: ({
241
238
  size?: "sm" | "md" | "lg" | "full" | "xl" | null | undefined;
242
239
  padding?: "sm" | "md" | "lg" | "none" | null | undefined;
@@ -311,140 +308,6 @@ interface LanguageSelectProps {
311
308
  }
312
309
  declare const LanguageSelect: React$1.ForwardRefExoticComponent<LanguageSelectProps & React$1.RefAttributes<HTMLButtonElement>>;
313
310
 
314
- declare const headerVariants: (props?: ({
315
- variant?: "default" | "transparent" | null | undefined;
316
- } & class_variance_authority_types.ClassProp) | undefined) => string;
317
- interface HeaderLink {
318
- label: string;
319
- href: string;
320
- icon?: LucideIcon;
321
- active?: boolean;
322
- }
323
- interface HeaderProps extends React$1.HTMLAttributes<HTMLElement>, VariantProps<typeof headerVariants> {
324
- logo?: React$1.ReactNode;
325
- links: HeaderLink[];
326
- languageOptions: LanguageSelectOption[];
327
- loginButton?: React$1.ReactNode;
328
- ctaButton?: React$1.ReactNode;
329
- currentLanguage?: string;
330
- onLanguageChange?: (value: string) => void;
331
- }
332
- declare const Header: React$1.ForwardRefExoticComponent<HeaderProps & React$1.RefAttributes<HTMLElement>>;
333
-
334
- declare const featureCardVariants: (props?: ({
335
- variant?: "highlight" | "glass" | "solid" | null | undefined;
336
- } & class_variance_authority_types.ClassProp) | undefined) => string;
337
- interface FeatureCardProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof featureCardVariants> {
338
- /**
339
- * Icon to display
340
- */
341
- icon?: LucideIcon;
342
- /**
343
- * Custom color for the icon (e.g., "#52B788" or "text-[#52B788]")
344
- */
345
- iconColor?: string;
346
- /**
347
- * Title of the feature
348
- */
349
- title: string;
350
- /**
351
- * Description of the feature
352
- */
353
- description: string;
354
- /**
355
- * Optional badge text
356
- */
357
- badge?: string;
358
- /**
359
- * Optional link text
360
- */
361
- linkText?: string;
362
- /**
363
- * Optional link href
364
- */
365
- linkHref?: string;
366
- /**
367
- * Optional list items to display below description
368
- */
369
- items?: string[];
370
- /**
371
- * Number of columns in the grid
372
- * @default 3
373
- */
374
- columns?: 1 | 2 | 3 | 4;
375
- }
376
- /**
377
- * Feature Card Component
378
- *
379
- * Feature card with icon, badge, title, description, and optional list items.
380
- * Based on Card highlight variant.
381
- *
382
- * **Use Cases:**
383
- * - Feature showcases
384
- * - Product highlights
385
- * - Service descriptions
386
- * - Benefits sections
387
- *
388
- * @example
389
- * ```tsx
390
- * <FeatureCard
391
- * icon={Cpu}
392
- * title="Dedicated Inference"
393
- * description="Run and scale any model, including your own fine-tuned models on dedicated capacity."
394
- * badge="Coming Soon"
395
- * items={[
396
- * "Customizable instances",
397
- * "High-demand workloads",
398
- * "Dedicated resources"
399
- * ]}
400
- * />
401
- * ```
402
- */
403
- declare const FeatureCard: React$1.ForwardRefExoticComponent<FeatureCardProps & React$1.RefAttributes<HTMLDivElement>>;
404
- interface FeatureCardsProps {
405
- /**
406
- * Array of feature cards to display
407
- */
408
- features: FeatureCardProps[];
409
- /**
410
- * Number of columns in the grid
411
- * @default 3
412
- */
413
- columns?: 1 | 2 | 3 | 4;
414
- /**
415
- * Additional CSS classes
416
- */
417
- className?: string;
418
- }
419
- /**
420
- * Feature Cards Component
421
- *
422
- * Displays multiple feature cards in a responsive grid layout.
423
- * Perfect for feature showcases, product highlights, and benefits sections.
424
- *
425
- * @example
426
- * ```tsx
427
- * const features = [
428
- * {
429
- * icon: Cpu,
430
- * title: "Dedicated Inference",
431
- * description: "Run and scale any model on dedicated capacity.",
432
- * badge: "Coming Soon",
433
- * items: ["Customizable instances", "High-demand workloads", "Dedicated resources"]
434
- * },
435
- * {
436
- * icon: Zap,
437
- * title: "Lightning Fast",
438
- * description: "Optimized for speed and performance.",
439
- * badge: "New"
440
- * },
441
- * ]
442
- *
443
- * <FeatureCards features={features} columns={3} />
444
- * ```
445
- */
446
- declare const FeatureCards: React$1.ForwardRefExoticComponent<FeatureCardsProps & React$1.RefAttributes<HTMLDivElement>>;
447
-
448
311
  interface ListProps extends React$1.HTMLAttributes<HTMLDivElement> {
449
312
  children: React$1.ReactNode;
450
313
  }
@@ -556,4 +419,20 @@ interface TerminalExample {
556
419
  }[];
557
420
  }
558
421
 
559
- export { Alert, AlertDescription, type AlertDescriptionProps, type AlertProps, AlertTitle, type AlertTitleProps, Badge, type BadgeProps, BergetLogo, type BergetLogoProps, BergetLogo as BergetLogotype, type BergetLogoProps as BergetLogotypeProps, BergetLogo as BergetSymbol, type BergetLogoProps as BergetSymbolProps, Box, type BoxProps, type SpacingScale as BoxSpacingScale, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, type CardProps, CardTitle, Checkbox, type CheckboxProps, CodeBlock, type CodeBlockProps, Container, type ContainerProps, FeatureCard, type FeatureCardProps, FeatureCards, type FeatureCardsProps, FeatureList, type FeatureListProps, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Grid, type GridColsScale, type GridProps, type GridRowsScale, type SpacingScale$1 as GridSpacingScale, Header, type HeaderLink, type HeaderProps, HeroBlock, type HeroBlockProps, Icon, type IconProps, Input, type InputProps, Label, LanguageSelect, type LanguageSelectOption, type LanguageSelectProps, Link, type LinkProps, List, ListHeader, type ListHeaderProps, ListItem, type ListItemProps, type ListProps, Section, SectionHeader, type SectionHeaderProps, type SectionProps, Select, type SelectOption, type SelectProps, Switch, type SwitchProps, type TerminalExample, TextArea, type TextAreaProps, type Theme, ThemeProvider, type ThemeProviderProps, ThemeToggle, type ThemeToggleProps, Typography, type TypographyProps, alertVariants, badgeVariants, boxVariants, buttonVariants, cardVariants, checkboxVariants, containerVariants, gridVariants, linkVariants, sectionVariants, selectVariants, switchRootVariants, switchThumbVariants, textAreaVariants, typographyVariants, useTheme };
422
+ interface WindowTab {
423
+ id: string;
424
+ label: string;
425
+ }
426
+ interface WindowFrameProps extends React$1.HTMLAttributes<HTMLDivElement> {
427
+ /** Window title shown in the title bar when no tabs are provided */
428
+ title?: string;
429
+ /** Optional tabs for switching content */
430
+ tabs?: WindowTab[];
431
+ /** Controlled active tab ID */
432
+ activeTab?: string;
433
+ /** Callback when a tab is selected */
434
+ onTabChange?: (tabId: string) => void;
435
+ }
436
+ declare const WindowFrame: React$1.ForwardRefExoticComponent<WindowFrameProps & React$1.RefAttributes<HTMLDivElement>>;
437
+
438
+ export { Alert, AlertDescription, type AlertDescriptionProps, type AlertProps, AlertTitle, type AlertTitleProps, Badge, type BadgeProps, BergetLogo, type BergetLogoProps, Box, type BoxProps, type SpacingScale as BoxSpacingScale, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, type CardProps, CardTitle, Checkbox, type CheckboxProps, CodeBlock, type CodeBlockProps, Container, type ContainerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, FeatureList, type FeatureListProps, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Grid, type GridColsScale, type GridProps, type GridRowsScale, type SpacingScale$1 as GridSpacingScale, HeroBlock, type HeroBlockProps, Icon, type IconProps, Input, type InputProps, Label, LanguageSelect, type LanguageSelectOption, type LanguageSelectProps, Link, type LinkProps, List, ListHeader, type ListHeaderProps, ListItem, type ListItemProps, type ListProps, Select, type SelectOption, type SelectProps, Switch, type SwitchProps, type TerminalExample, TextArea, type TextAreaProps, type Theme, ThemeProvider, type ThemeProviderProps, ThemeToggle, type ThemeToggleProps, Typography, type TypographyProps, WindowFrame, type WindowFrameProps, type WindowTab, alertVariants, badgeVariants, boxVariants, buttonVariants, cardVariants, checkboxVariants, containerVariants, gridVariants, linkVariants, selectVariants, switchRootVariants, switchThumbVariants, textAreaVariants, typographyVariants, useTheme };
package/dist/index.d.ts CHANGED
@@ -1,10 +1,11 @@
1
1
  import * as React$1 from 'react';
2
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
3
  import * as class_variance_authority_types from 'class-variance-authority/types';
3
4
  import { VariantProps } from 'class-variance-authority';
5
+ import * as DialogPrimitive from '@radix-ui/react-dialog';
4
6
  import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
5
7
  import * as SwitchPrimitives from '@radix-ui/react-switch';
6
8
  import * as LabelPrimitive from '@radix-ui/react-label';
7
- import * as react_jsx_runtime from 'react/jsx-runtime';
8
9
  import { LucideProps, LucideIcon } from 'lucide-react';
9
10
 
10
11
  type Theme = 'dark' | 'light' | 'system';
@@ -41,18 +42,17 @@ interface ButtonProps$1 extends React$1.ButtonHTMLAttributes<HTMLButtonElement>,
41
42
  }
42
43
  declare const Button$1: React$1.ForwardRefExoticComponent<ButtonProps$1 & React$1.RefAttributes<HTMLButtonElement>>;
43
44
 
44
- type PrimitiveButtonProps = React$1.ComponentProps<typeof Button$1>;
45
- /** Custom variants that extend the upstream shadcn primitive. */
45
+ /** Variants exposed by the Berget wrapper. */
46
46
  type CustomVariant = 'default' | 'primary' | 'destructive' | 'outline' | 'ghost' | 'link';
47
- interface ButtonProps extends Omit<PrimitiveButtonProps, 'variant'> {
47
+ /** Props for the Berget Button wrapper. */
48
+ interface ButtonProps extends Omit<React$1.ComponentProps<typeof Button$1>, 'variant' | 'ref'> {
48
49
  /** Visual style variant. `primary` is Berget-specific. */
49
50
  variant?: CustomVariant;
50
- /** Show a loading spinner. Hides text content on icon-only buttons. */
51
- isLoading?: boolean;
52
51
  /** Full width or auto width. */
53
52
  width?: 'default' | 'full';
53
+ ref?: React$1.Ref<HTMLButtonElement>;
54
54
  }
55
- declare const Button: React$1.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
55
+ declare function Button({ className, variant, size, asChild, width, type, ref, children, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
56
56
 
57
57
  declare const typographyVariants: (props?: ({
58
58
  variant?: "small" | "xs" | "body" | "code" | "h1" | "h2" | "h3" | "h4" | "h5" | "large" | "mono" | null | undefined;
@@ -100,6 +100,23 @@ declare const Alert: React$1.ForwardRefExoticComponent<AlertProps & React$1.RefA
100
100
  type AlertTitleProps = React$1.HTMLAttributes<HTMLHeadingElement>;
101
101
  type AlertDescriptionProps = React$1.HTMLAttributes<HTMLParagraphElement>;
102
102
 
103
+ declare const Dialog: React$1.FC<DialogPrimitive.DialogProps>;
104
+ declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
105
+ declare const DialogPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
106
+ declare const DialogClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
107
+ declare const DialogOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
108
+ declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
109
+ declare const DialogHeader: {
110
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
111
+ displayName: string;
112
+ };
113
+ declare const DialogFooter: {
114
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
115
+ displayName: string;
116
+ };
117
+ declare const DialogTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
118
+ declare const DialogDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
119
+
103
120
  interface InputProps extends React$1.InputHTMLAttributes<HTMLInputElement> {
104
121
  icon?: React$1.ReactNode;
105
122
  actionButton?: React$1.ReactNode;
@@ -205,7 +222,7 @@ declare function FieldError({ className, children, errors, ...props }: React.Com
205
222
  }): react_jsx_runtime.JSX.Element | null;
206
223
 
207
224
  declare const linkVariants: (props?: ({
208
- variant?: "default" | "secondary" | "ghost" | "code" | "primary" | "muted" | null | undefined;
225
+ variant?: "default" | "secondary" | "ghost" | "primary" | "code" | "muted" | null | undefined;
209
226
  size?: "sm" | "lg" | "default" | null | undefined;
210
227
  } & class_variance_authority_types.ClassProp) | undefined) => string;
211
228
  interface LinkProps extends React$1.AnchorHTMLAttributes<HTMLAnchorElement>, VariantProps<typeof linkVariants> {
@@ -217,26 +234,6 @@ interface LinkProps extends React$1.AnchorHTMLAttributes<HTMLAnchorElement>, Var
217
234
  }
218
235
  declare const Link: React$1.ForwardRefExoticComponent<LinkProps & React$1.RefAttributes<HTMLAnchorElement>>;
219
236
 
220
- declare const sectionVariants: (props?: ({
221
- padding?: "sm" | "md" | "lg" | "none" | "xl" | null | undefined;
222
- background?: "muted" | "transparent" | null | undefined;
223
- } & class_variance_authority_types.ClassProp) | undefined) => string;
224
- interface SectionProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof sectionVariants> {
225
- children: React$1.ReactNode;
226
- }
227
- declare const Section: React$1.ForwardRefExoticComponent<SectionProps & React$1.RefAttributes<HTMLElement>>;
228
-
229
- interface SectionHeaderProps extends React$1.HTMLAttributes<HTMLDivElement> {
230
- title: string;
231
- description?: string;
232
- descriptionVariant?: 'h2' | 'h3' | 'h4' | 'large' | 'body';
233
- tagline?: string;
234
- action?: React$1.ReactNode;
235
- headingLevel?: 'h1' | 'h2' | 'h3' | 'h4';
236
- id?: string;
237
- }
238
- declare const SectionHeader: React$1.ForwardRefExoticComponent<SectionHeaderProps & React$1.RefAttributes<HTMLDivElement>>;
239
-
240
237
  declare const containerVariants: (props?: ({
241
238
  size?: "sm" | "md" | "lg" | "full" | "xl" | null | undefined;
242
239
  padding?: "sm" | "md" | "lg" | "none" | null | undefined;
@@ -311,140 +308,6 @@ interface LanguageSelectProps {
311
308
  }
312
309
  declare const LanguageSelect: React$1.ForwardRefExoticComponent<LanguageSelectProps & React$1.RefAttributes<HTMLButtonElement>>;
313
310
 
314
- declare const headerVariants: (props?: ({
315
- variant?: "default" | "transparent" | null | undefined;
316
- } & class_variance_authority_types.ClassProp) | undefined) => string;
317
- interface HeaderLink {
318
- label: string;
319
- href: string;
320
- icon?: LucideIcon;
321
- active?: boolean;
322
- }
323
- interface HeaderProps extends React$1.HTMLAttributes<HTMLElement>, VariantProps<typeof headerVariants> {
324
- logo?: React$1.ReactNode;
325
- links: HeaderLink[];
326
- languageOptions: LanguageSelectOption[];
327
- loginButton?: React$1.ReactNode;
328
- ctaButton?: React$1.ReactNode;
329
- currentLanguage?: string;
330
- onLanguageChange?: (value: string) => void;
331
- }
332
- declare const Header: React$1.ForwardRefExoticComponent<HeaderProps & React$1.RefAttributes<HTMLElement>>;
333
-
334
- declare const featureCardVariants: (props?: ({
335
- variant?: "highlight" | "glass" | "solid" | null | undefined;
336
- } & class_variance_authority_types.ClassProp) | undefined) => string;
337
- interface FeatureCardProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof featureCardVariants> {
338
- /**
339
- * Icon to display
340
- */
341
- icon?: LucideIcon;
342
- /**
343
- * Custom color for the icon (e.g., "#52B788" or "text-[#52B788]")
344
- */
345
- iconColor?: string;
346
- /**
347
- * Title of the feature
348
- */
349
- title: string;
350
- /**
351
- * Description of the feature
352
- */
353
- description: string;
354
- /**
355
- * Optional badge text
356
- */
357
- badge?: string;
358
- /**
359
- * Optional link text
360
- */
361
- linkText?: string;
362
- /**
363
- * Optional link href
364
- */
365
- linkHref?: string;
366
- /**
367
- * Optional list items to display below description
368
- */
369
- items?: string[];
370
- /**
371
- * Number of columns in the grid
372
- * @default 3
373
- */
374
- columns?: 1 | 2 | 3 | 4;
375
- }
376
- /**
377
- * Feature Card Component
378
- *
379
- * Feature card with icon, badge, title, description, and optional list items.
380
- * Based on Card highlight variant.
381
- *
382
- * **Use Cases:**
383
- * - Feature showcases
384
- * - Product highlights
385
- * - Service descriptions
386
- * - Benefits sections
387
- *
388
- * @example
389
- * ```tsx
390
- * <FeatureCard
391
- * icon={Cpu}
392
- * title="Dedicated Inference"
393
- * description="Run and scale any model, including your own fine-tuned models on dedicated capacity."
394
- * badge="Coming Soon"
395
- * items={[
396
- * "Customizable instances",
397
- * "High-demand workloads",
398
- * "Dedicated resources"
399
- * ]}
400
- * />
401
- * ```
402
- */
403
- declare const FeatureCard: React$1.ForwardRefExoticComponent<FeatureCardProps & React$1.RefAttributes<HTMLDivElement>>;
404
- interface FeatureCardsProps {
405
- /**
406
- * Array of feature cards to display
407
- */
408
- features: FeatureCardProps[];
409
- /**
410
- * Number of columns in the grid
411
- * @default 3
412
- */
413
- columns?: 1 | 2 | 3 | 4;
414
- /**
415
- * Additional CSS classes
416
- */
417
- className?: string;
418
- }
419
- /**
420
- * Feature Cards Component
421
- *
422
- * Displays multiple feature cards in a responsive grid layout.
423
- * Perfect for feature showcases, product highlights, and benefits sections.
424
- *
425
- * @example
426
- * ```tsx
427
- * const features = [
428
- * {
429
- * icon: Cpu,
430
- * title: "Dedicated Inference",
431
- * description: "Run and scale any model on dedicated capacity.",
432
- * badge: "Coming Soon",
433
- * items: ["Customizable instances", "High-demand workloads", "Dedicated resources"]
434
- * },
435
- * {
436
- * icon: Zap,
437
- * title: "Lightning Fast",
438
- * description: "Optimized for speed and performance.",
439
- * badge: "New"
440
- * },
441
- * ]
442
- *
443
- * <FeatureCards features={features} columns={3} />
444
- * ```
445
- */
446
- declare const FeatureCards: React$1.ForwardRefExoticComponent<FeatureCardsProps & React$1.RefAttributes<HTMLDivElement>>;
447
-
448
311
  interface ListProps extends React$1.HTMLAttributes<HTMLDivElement> {
449
312
  children: React$1.ReactNode;
450
313
  }
@@ -556,4 +419,20 @@ interface TerminalExample {
556
419
  }[];
557
420
  }
558
421
 
559
- export { Alert, AlertDescription, type AlertDescriptionProps, type AlertProps, AlertTitle, type AlertTitleProps, Badge, type BadgeProps, BergetLogo, type BergetLogoProps, BergetLogo as BergetLogotype, type BergetLogoProps as BergetLogotypeProps, BergetLogo as BergetSymbol, type BergetLogoProps as BergetSymbolProps, Box, type BoxProps, type SpacingScale as BoxSpacingScale, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, type CardProps, CardTitle, Checkbox, type CheckboxProps, CodeBlock, type CodeBlockProps, Container, type ContainerProps, FeatureCard, type FeatureCardProps, FeatureCards, type FeatureCardsProps, FeatureList, type FeatureListProps, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Grid, type GridColsScale, type GridProps, type GridRowsScale, type SpacingScale$1 as GridSpacingScale, Header, type HeaderLink, type HeaderProps, HeroBlock, type HeroBlockProps, Icon, type IconProps, Input, type InputProps, Label, LanguageSelect, type LanguageSelectOption, type LanguageSelectProps, Link, type LinkProps, List, ListHeader, type ListHeaderProps, ListItem, type ListItemProps, type ListProps, Section, SectionHeader, type SectionHeaderProps, type SectionProps, Select, type SelectOption, type SelectProps, Switch, type SwitchProps, type TerminalExample, TextArea, type TextAreaProps, type Theme, ThemeProvider, type ThemeProviderProps, ThemeToggle, type ThemeToggleProps, Typography, type TypographyProps, alertVariants, badgeVariants, boxVariants, buttonVariants, cardVariants, checkboxVariants, containerVariants, gridVariants, linkVariants, sectionVariants, selectVariants, switchRootVariants, switchThumbVariants, textAreaVariants, typographyVariants, useTheme };
422
+ interface WindowTab {
423
+ id: string;
424
+ label: string;
425
+ }
426
+ interface WindowFrameProps extends React$1.HTMLAttributes<HTMLDivElement> {
427
+ /** Window title shown in the title bar when no tabs are provided */
428
+ title?: string;
429
+ /** Optional tabs for switching content */
430
+ tabs?: WindowTab[];
431
+ /** Controlled active tab ID */
432
+ activeTab?: string;
433
+ /** Callback when a tab is selected */
434
+ onTabChange?: (tabId: string) => void;
435
+ }
436
+ declare const WindowFrame: React$1.ForwardRefExoticComponent<WindowFrameProps & React$1.RefAttributes<HTMLDivElement>>;
437
+
438
+ export { Alert, AlertDescription, type AlertDescriptionProps, type AlertProps, AlertTitle, type AlertTitleProps, Badge, type BadgeProps, BergetLogo, type BergetLogoProps, Box, type BoxProps, type SpacingScale as BoxSpacingScale, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, type CardProps, CardTitle, Checkbox, type CheckboxProps, CodeBlock, type CodeBlockProps, Container, type ContainerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, FeatureList, type FeatureListProps, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Grid, type GridColsScale, type GridProps, type GridRowsScale, type SpacingScale$1 as GridSpacingScale, HeroBlock, type HeroBlockProps, Icon, type IconProps, Input, type InputProps, Label, LanguageSelect, type LanguageSelectOption, type LanguageSelectProps, Link, type LinkProps, List, ListHeader, type ListHeaderProps, ListItem, type ListItemProps, type ListProps, Select, type SelectOption, type SelectProps, Switch, type SwitchProps, type TerminalExample, TextArea, type TextAreaProps, type Theme, ThemeProvider, type ThemeProviderProps, ThemeToggle, type ThemeToggleProps, Typography, type TypographyProps, WindowFrame, type WindowFrameProps, type WindowTab, alertVariants, badgeVariants, boxVariants, buttonVariants, cardVariants, checkboxVariants, containerVariants, gridVariants, linkVariants, selectVariants, switchRootVariants, switchThumbVariants, textAreaVariants, typographyVariants, useTheme };