@bergetai/ui 0.13.5 → 0.13.6

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.js CHANGED
@@ -3238,9 +3238,150 @@ var ItemSeparator2 = React18.forwardRef(({ className, ...props }, ref) => {
3238
3238
  });
3239
3239
  ItemSeparator2.displayName = "ItemSeparator";
3240
3240
 
3241
+ // src/components/empty/Empty.tsx
3242
+ import * as React19 from "react";
3243
+
3244
+ // src/primitives/empty.tsx
3245
+ import { cva as cva11 } from "class-variance-authority";
3246
+ import { cn as cn15 } from "cn";
3247
+ import { jsx as jsx32 } from "react/jsx-runtime";
3248
+ function Empty({ className, ...props }) {
3249
+ return /* @__PURE__ */ jsx32(
3250
+ "div",
3251
+ {
3252
+ "data-slot": "empty",
3253
+ className: cn15(
3254
+ "flex w-full min-w-0 flex-1 flex-col items-center justify-center gap-4 rounded-xl border-dashed p-6 text-center text-balance",
3255
+ className
3256
+ ),
3257
+ ...props
3258
+ }
3259
+ );
3260
+ }
3261
+ function EmptyHeader({ className, ...props }) {
3262
+ return /* @__PURE__ */ jsx32(
3263
+ "div",
3264
+ {
3265
+ "data-slot": "empty-header",
3266
+ className: cn15("flex max-w-sm flex-col items-center gap-2", className),
3267
+ ...props
3268
+ }
3269
+ );
3270
+ }
3271
+ var emptyMediaVariants = cva11(
3272
+ "mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0",
3273
+ {
3274
+ variants: {
3275
+ variant: {
3276
+ default: "bg-transparent",
3277
+ icon: "flex size-8 shrink-0 items-center justify-center rounded-lg bg-muted text-foreground [&_svg:not([class*='size-'])]:size-4"
3278
+ }
3279
+ },
3280
+ defaultVariants: {
3281
+ variant: "default"
3282
+ }
3283
+ }
3284
+ );
3285
+ function EmptyMedia({
3286
+ className,
3287
+ variant = "default",
3288
+ ...props
3289
+ }) {
3290
+ return /* @__PURE__ */ jsx32(
3291
+ "div",
3292
+ {
3293
+ "data-slot": "empty-icon",
3294
+ "data-variant": variant,
3295
+ className: cn15(emptyMediaVariants({ variant, className })),
3296
+ ...props
3297
+ }
3298
+ );
3299
+ }
3300
+ function EmptyTitle({ className, ...props }) {
3301
+ return /* @__PURE__ */ jsx32(
3302
+ "div",
3303
+ {
3304
+ "data-slot": "empty-title",
3305
+ className: cn15(
3306
+ "text-sm font-medium tracking-tight",
3307
+ className
3308
+ ),
3309
+ ...props
3310
+ }
3311
+ );
3312
+ }
3313
+ function EmptyDescription({ className, ...props }) {
3314
+ return /* @__PURE__ */ jsx32(
3315
+ "div",
3316
+ {
3317
+ "data-slot": "empty-description",
3318
+ className: cn15(
3319
+ "text-sm/relaxed text-muted-foreground [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",
3320
+ className
3321
+ ),
3322
+ ...props
3323
+ }
3324
+ );
3325
+ }
3326
+ function EmptyContent({ className, ...props }) {
3327
+ return /* @__PURE__ */ jsx32(
3328
+ "div",
3329
+ {
3330
+ "data-slot": "empty-content",
3331
+ className: cn15(
3332
+ "flex w-full max-w-sm min-w-0 flex-col items-center gap-2.5 text-sm text-balance",
3333
+ className
3334
+ ),
3335
+ ...props
3336
+ }
3337
+ );
3338
+ }
3339
+
3340
+ // src/components/empty/Empty.tsx
3341
+ import { jsx as jsx33 } from "react/jsx-runtime";
3342
+ function Empty2({ className, ...props }) {
3343
+ return /* @__PURE__ */ jsx33(Empty, { className, ...props });
3344
+ }
3345
+ var EmptyMedia2 = React19.forwardRef(({ className, ...props }, ref) => {
3346
+ return /* @__PURE__ */ jsx33(
3347
+ EmptyMedia,
3348
+ {
3349
+ ref,
3350
+ className: cn(
3351
+ "data-[variant=icon]:bg-berget-empty-media-icon-bg data-[variant=icon]:text-berget-empty-media-icon-fg",
3352
+ className
3353
+ ),
3354
+ ...props
3355
+ }
3356
+ );
3357
+ });
3358
+ EmptyMedia2.displayName = "EmptyMedia";
3359
+ var EmptyTitle2 = React19.forwardRef(({ className, ...props }, ref) => {
3360
+ return /* @__PURE__ */ jsx33(
3361
+ EmptyTitle,
3362
+ {
3363
+ ref,
3364
+ className: cn("text-base text-berget-empty-title-fg", className),
3365
+ ...props
3366
+ }
3367
+ );
3368
+ });
3369
+ EmptyTitle2.displayName = "EmptyTitle";
3370
+ var EmptyDescription2 = React19.forwardRef(({ className, ...props }, ref) => {
3371
+ return /* @__PURE__ */ jsx33(
3372
+ EmptyDescription,
3373
+ {
3374
+ ref,
3375
+ className: cn("text-berget-empty-description-fg", className),
3376
+ ...props
3377
+ }
3378
+ );
3379
+ });
3380
+ EmptyDescription2.displayName = "EmptyDescription";
3381
+
3241
3382
  // src/components/search-input/SearchInput.tsx
3242
3383
  import { Search } from "lucide-react";
3243
- import { jsx as jsx32, jsxs as jsxs15 } from "react/jsx-runtime";
3384
+ import { jsx as jsx34, jsxs as jsxs15 } from "react/jsx-runtime";
3244
3385
  var SearchInput = ({
3245
3386
  type = "search",
3246
3387
  placeholder = "Search...",
@@ -3248,14 +3389,14 @@ var SearchInput = ({
3248
3389
  ref,
3249
3390
  ...props
3250
3391
  }) => /* @__PURE__ */ jsxs15("div", { className: "relative flex w-full items-center", "data-slot": "search-input", children: [
3251
- /* @__PURE__ */ jsx32(
3392
+ /* @__PURE__ */ jsx34(
3252
3393
  Search,
3253
3394
  {
3254
3395
  "aria-hidden": "true",
3255
3396
  className: "pointer-events-none absolute left-2.5 size-4 text-berget-muted-foreground"
3256
3397
  }
3257
3398
  ),
3258
- /* @__PURE__ */ jsx32(
3399
+ /* @__PURE__ */ jsx34(
3259
3400
  Input,
3260
3401
  {
3261
3402
  ref,
@@ -3269,32 +3410,32 @@ var SearchInput = ({
3269
3410
  SearchInput.displayName = "SearchInput";
3270
3411
 
3271
3412
  // src/components/checkbox/Checkbox.tsx
3272
- import * as React19 from "react";
3413
+ import * as React20 from "react";
3273
3414
  import { Checkbox as CheckboxPrimitive2 } from "@base-ui/react/checkbox";
3274
3415
  import { Check } from "lucide-react";
3275
- import { cva as cva11 } from "class-variance-authority";
3416
+ import { cva as cva12 } from "class-variance-authority";
3276
3417
 
3277
3418
  // src/primitives/checkbox.tsx
3278
3419
  import { Checkbox as CheckboxPrimitive } from "@base-ui/react/checkbox";
3279
- import { cn as cn15 } from "cn";
3420
+ import { cn as cn16 } from "cn";
3280
3421
  import { CheckIcon as CheckIcon2 } from "lucide-react";
3281
- import { jsx as jsx33 } from "react/jsx-runtime";
3422
+ import { jsx as jsx35 } from "react/jsx-runtime";
3282
3423
  function Checkbox({ className, ...props }) {
3283
- return /* @__PURE__ */ jsx33(
3424
+ return /* @__PURE__ */ jsx35(
3284
3425
  CheckboxPrimitive.Root,
3285
3426
  {
3286
3427
  "data-slot": "checkbox",
3287
- className: cn15(
3428
+ className: cn16(
3288
3429
  "peer relative flex size-4 shrink-0 cursor-pointer items-center justify-center rounded-[4px] border border-input transition-colors outline-none group-has-disabled/field:opacity-50 group-has-[:focus-visible]/field-label:ring-0 group-has-[:focus-visible]/field-label:not-data-checked:border-input after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground group-has-[:focus-visible]/field-label:data-checked:border-primary dark:data-checked:bg-primary",
3289
3430
  className
3290
3431
  ),
3291
3432
  ...props,
3292
- children: /* @__PURE__ */ jsx33(
3433
+ children: /* @__PURE__ */ jsx35(
3293
3434
  CheckboxPrimitive.Indicator,
3294
3435
  {
3295
3436
  "data-slot": "checkbox-indicator",
3296
3437
  className: "grid place-content-center text-current transition-none [&>svg]:size-3.5",
3297
- children: /* @__PURE__ */ jsx33(
3438
+ children: /* @__PURE__ */ jsx35(
3298
3439
  CheckIcon2,
3299
3440
  {}
3300
3441
  )
@@ -3305,8 +3446,8 @@ function Checkbox({ className, ...props }) {
3305
3446
  }
3306
3447
 
3307
3448
  // src/components/checkbox/Checkbox.tsx
3308
- import { jsx as jsx34, jsxs as jsxs16 } from "react/jsx-runtime";
3309
- var checkboxVariants = cva11(
3449
+ import { jsx as jsx36, jsxs as jsxs16 } from "react/jsx-runtime";
3450
+ var checkboxVariants = cva12(
3310
3451
  "inline-flex items-center justify-center rounded-berget-xs transition-all duration-200 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50",
3311
3452
  {
3312
3453
  variants: {
@@ -3327,7 +3468,7 @@ var checkboxVariants = cva11(
3327
3468
  }
3328
3469
  }
3329
3470
  );
3330
- var Checkbox2 = React19.forwardRef(
3471
+ var Checkbox2 = React20.forwardRef(
3331
3472
  ({
3332
3473
  "aria-label": ariaLabel,
3333
3474
  className,
@@ -3340,11 +3481,11 @@ var Checkbox2 = React19.forwardRef(
3340
3481
  disabled,
3341
3482
  ...props
3342
3483
  }, ref) => {
3343
- const generatedId = React19.useId();
3484
+ const generatedId = React20.useId();
3344
3485
  const checkboxId = id || generatedId;
3345
3486
  const errorId = `${checkboxId}-error`;
3346
3487
  return /* @__PURE__ */ jsxs16("div", { className: "flex items-start gap-3", children: [
3347
- /* @__PURE__ */ jsx34("div", { className: "relative flex items-start pt-0.5", children: /* @__PURE__ */ jsx34(
3488
+ /* @__PURE__ */ jsx36("div", { className: "relative flex items-start pt-0.5", children: /* @__PURE__ */ jsx36(
3348
3489
  Checkbox,
3349
3490
  {
3350
3491
  ref,
@@ -3360,7 +3501,7 @@ var Checkbox2 = React19.forwardRef(
3360
3501
  className
3361
3502
  ),
3362
3503
  ...props,
3363
- children: /* @__PURE__ */ jsx34(CheckboxPrimitive2.Indicator, { children: /* @__PURE__ */ jsx34(
3504
+ children: /* @__PURE__ */ jsx36(CheckboxPrimitive2.Indicator, { children: /* @__PURE__ */ jsx36(
3364
3505
  Check,
3365
3506
  {
3366
3507
  className: "h-4 w-4 text-current stroke-current",
@@ -3370,7 +3511,7 @@ var Checkbox2 = React19.forwardRef(
3370
3511
  }
3371
3512
  ) }),
3372
3513
  (label || description || error) && /* @__PURE__ */ jsxs16("div", { className: "flex flex-col gap-1", children: [
3373
- label && /* @__PURE__ */ jsx34(
3514
+ label && /* @__PURE__ */ jsx36(
3374
3515
  "label",
3375
3516
  {
3376
3517
  htmlFor: checkboxId,
@@ -3382,8 +3523,8 @@ var Checkbox2 = React19.forwardRef(
3382
3523
  children: label
3383
3524
  }
3384
3525
  ),
3385
- description && /* @__PURE__ */ jsx34(Typography, { variant: "xs", color: "muted", children: description }),
3386
- error && /* @__PURE__ */ jsx34(Typography, { variant: "xs", id: errorId, className: "text-berget-destructive-foreground", children: error })
3526
+ description && /* @__PURE__ */ jsx36(Typography, { variant: "xs", color: "muted", children: description }),
3527
+ error && /* @__PURE__ */ jsx36(Typography, { variant: "xs", id: errorId, className: "text-berget-destructive-foreground", children: error })
3387
3528
  ] })
3388
3529
  ] });
3389
3530
  }
@@ -3391,11 +3532,11 @@ var Checkbox2 = React19.forwardRef(
3391
3532
  Checkbox2.displayName = "Checkbox";
3392
3533
 
3393
3534
  // src/components/switch/Switch.tsx
3394
- import * as React20 from "react";
3535
+ import * as React21 from "react";
3395
3536
  import { Switch as SwitchPrimitives } from "@base-ui/react/switch";
3396
- import { cva as cva12 } from "class-variance-authority";
3397
- import { jsx as jsx35, jsxs as jsxs17 } from "react/jsx-runtime";
3398
- var switchRootVariants = cva12(
3537
+ import { cva as cva13 } from "class-variance-authority";
3538
+ import { jsx as jsx37, jsxs as jsxs17 } from "react/jsx-runtime";
3539
+ var switchRootVariants = cva13(
3399
3540
  "peer inline-flex shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-berget-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50",
3400
3541
  {
3401
3542
  variants: {
@@ -3416,7 +3557,7 @@ var switchRootVariants = cva12(
3416
3557
  }
3417
3558
  }
3418
3559
  );
3419
- var switchThumbVariants = cva12(
3560
+ var switchThumbVariants = cva13(
3420
3561
  "pointer-events-none block rounded-full ring-0 transition-transform shadow-berget-sm bg-berget-foreground",
3421
3562
  {
3422
3563
  variants: {
@@ -3431,7 +3572,7 @@ var switchThumbVariants = cva12(
3431
3572
  }
3432
3573
  }
3433
3574
  );
3434
- var Switch = React20.forwardRef(
3575
+ var Switch = React21.forwardRef(
3435
3576
  ({
3436
3577
  "aria-label": ariaLabel,
3437
3578
  className,
@@ -3444,11 +3585,11 @@ var Switch = React20.forwardRef(
3444
3585
  disabled,
3445
3586
  ...props
3446
3587
  }, ref) => {
3447
- const generatedId = React20.useId();
3588
+ const generatedId = React21.useId();
3448
3589
  const switchId = id || generatedId;
3449
3590
  const errorId = `${switchId}-error`;
3450
3591
  return /* @__PURE__ */ jsxs17("div", { className: "flex items-center gap-3", children: [
3451
- /* @__PURE__ */ jsx35(
3592
+ /* @__PURE__ */ jsx37(
3452
3593
  SwitchPrimitives.Root,
3453
3594
  {
3454
3595
  ref,
@@ -3463,11 +3604,11 @@ var Switch = React20.forwardRef(
3463
3604
  className
3464
3605
  ),
3465
3606
  ...props,
3466
- children: /* @__PURE__ */ jsx35(SwitchPrimitives.Thumb, { className: cn(switchThumbVariants({ size })) })
3607
+ children: /* @__PURE__ */ jsx37(SwitchPrimitives.Thumb, { className: cn(switchThumbVariants({ size })) })
3467
3608
  }
3468
3609
  ),
3469
3610
  (label || description || error) && /* @__PURE__ */ jsxs17("div", { className: "flex flex-col gap-1", children: [
3470
- label && /* @__PURE__ */ jsx35(
3611
+ label && /* @__PURE__ */ jsx37(
3471
3612
  "label",
3472
3613
  {
3473
3614
  htmlFor: switchId,
@@ -3478,8 +3619,8 @@ var Switch = React20.forwardRef(
3478
3619
  children: label
3479
3620
  }
3480
3621
  ),
3481
- description && /* @__PURE__ */ jsx35(Typography, { variant: "xs", color: "muted", children: description }),
3482
- error && /* @__PURE__ */ jsx35(Typography, { variant: "xs", id: errorId, className: "text-berget-destructive-foreground", children: error })
3622
+ description && /* @__PURE__ */ jsx37(Typography, { variant: "xs", color: "muted", children: description }),
3623
+ error && /* @__PURE__ */ jsx37(Typography, { variant: "xs", id: errorId, className: "text-berget-destructive-foreground", children: error })
3483
3624
  ] })
3484
3625
  ] });
3485
3626
  }
@@ -3488,26 +3629,26 @@ Switch.displayName = "Switch";
3488
3629
 
3489
3630
  // src/primitives/select.tsx
3490
3631
  import { Select as SelectPrimitive } from "@base-ui/react/select";
3491
- import { cn as cn16 } from "cn";
3632
+ import { cn as cn17 } from "cn";
3492
3633
  import { ChevronDownIcon as ChevronDownIcon2, CheckIcon as CheckIcon3, ChevronUpIcon } from "lucide-react";
3493
- import { jsx as jsx36, jsxs as jsxs18 } from "react/jsx-runtime";
3634
+ import { jsx as jsx38, jsxs as jsxs18 } from "react/jsx-runtime";
3494
3635
  var Select = SelectPrimitive.Root;
3495
3636
  function SelectGroup({ className, ...props }) {
3496
- return /* @__PURE__ */ jsx36(
3637
+ return /* @__PURE__ */ jsx38(
3497
3638
  SelectPrimitive.Group,
3498
3639
  {
3499
3640
  "data-slot": "select-group",
3500
- className: cn16("scroll-my-1 p-1", className),
3641
+ className: cn17("scroll-my-1 p-1", className),
3501
3642
  ...props
3502
3643
  }
3503
3644
  );
3504
3645
  }
3505
3646
  function SelectValue({ className, ...props }) {
3506
- return /* @__PURE__ */ jsx36(
3647
+ return /* @__PURE__ */ jsx38(
3507
3648
  SelectPrimitive.Value,
3508
3649
  {
3509
3650
  "data-slot": "select-value",
3510
- className: cn16("flex flex-1 text-left", className),
3651
+ className: cn17("flex flex-1 text-left", className),
3511
3652
  ...props
3512
3653
  }
3513
3654
  );
@@ -3523,17 +3664,17 @@ function SelectTrigger({
3523
3664
  {
3524
3665
  "data-slot": "select-trigger",
3525
3666
  "data-size": size,
3526
- className: cn16(
3667
+ className: cn17(
3527
3668
  "flex w-fit cursor-pointer items-center justify-between gap-1.5 rounded-lg border border-input bg-input/30 py-2 pr-2 pl-2.5 text-sm whitespace-nowrap transition-colors outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 data-placeholder:text-muted-foreground data-[size=default]:h-8 data-[size=sm]:h-7 data-[size=sm]:rounded-[min(var(--radius-md),10px)] *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-1.5 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
3528
3669
  className
3529
3670
  ),
3530
3671
  ...props,
3531
3672
  children: [
3532
3673
  children,
3533
- /* @__PURE__ */ jsx36(
3674
+ /* @__PURE__ */ jsx38(
3534
3675
  SelectPrimitive.Icon,
3535
3676
  {
3536
- render: /* @__PURE__ */ jsx36(ChevronDownIcon2, { className: "pointer-events-none size-4 text-muted-foreground" })
3677
+ render: /* @__PURE__ */ jsx38(ChevronDownIcon2, { className: "pointer-events-none size-4 text-muted-foreground" })
3537
3678
  }
3538
3679
  )
3539
3680
  ]
@@ -3550,7 +3691,7 @@ function SelectContent({
3550
3691
  alignItemWithTrigger = true,
3551
3692
  ...props
3552
3693
  }) {
3553
- return /* @__PURE__ */ jsx36(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsx36(
3694
+ return /* @__PURE__ */ jsx38(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsx38(
3554
3695
  SelectPrimitive.Positioner,
3555
3696
  {
3556
3697
  side,
@@ -3564,12 +3705,12 @@ function SelectContent({
3564
3705
  {
3565
3706
  "data-slot": "select-content",
3566
3707
  "data-align-trigger": alignItemWithTrigger,
3567
- className: cn16("relative isolate z-50 max-h-(--available-height) w-(--anchor-width) min-w-36 origin-(--transform-origin) overflow-x-hidden overflow-y-auto rounded-lg bg-popover text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[align-trigger=true]:animate-none data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", className),
3708
+ className: cn17("relative isolate z-50 max-h-(--available-height) w-(--anchor-width) min-w-36 origin-(--transform-origin) overflow-x-hidden overflow-y-auto rounded-lg bg-popover text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[align-trigger=true]:animate-none data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", className),
3568
3709
  ...props,
3569
3710
  children: [
3570
- /* @__PURE__ */ jsx36(SelectScrollUpButton, {}),
3571
- /* @__PURE__ */ jsx36(SelectPrimitive.List, { children }),
3572
- /* @__PURE__ */ jsx36(SelectScrollDownButton, {})
3711
+ /* @__PURE__ */ jsx38(SelectScrollUpButton, {}),
3712
+ /* @__PURE__ */ jsx38(SelectPrimitive.List, { children }),
3713
+ /* @__PURE__ */ jsx38(SelectScrollDownButton, {})
3573
3714
  ]
3574
3715
  }
3575
3716
  )
@@ -3580,11 +3721,11 @@ function SelectLabel({
3580
3721
  className,
3581
3722
  ...props
3582
3723
  }) {
3583
- return /* @__PURE__ */ jsx36(
3724
+ return /* @__PURE__ */ jsx38(
3584
3725
  SelectPrimitive.GroupLabel,
3585
3726
  {
3586
3727
  "data-slot": "select-label",
3587
- className: cn16("px-1.5 py-1 text-xs text-muted-foreground", className),
3728
+ className: cn17("px-1.5 py-1 text-xs text-muted-foreground", className),
3588
3729
  ...props
3589
3730
  }
3590
3731
  );
@@ -3598,18 +3739,18 @@ function SelectItem({
3598
3739
  SelectPrimitive.Item,
3599
3740
  {
3600
3741
  "data-slot": "select-item",
3601
- className: cn16(
3742
+ className: cn17(
3602
3743
  "relative flex w-full cursor-default items-center gap-1.5 rounded-md py-1 pr-8 pl-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",
3603
3744
  className
3604
3745
  ),
3605
3746
  ...props,
3606
3747
  children: [
3607
- /* @__PURE__ */ jsx36(SelectPrimitive.ItemText, { className: "flex flex-1 shrink-0 gap-2 whitespace-nowrap", children }),
3608
- /* @__PURE__ */ jsx36(
3748
+ /* @__PURE__ */ jsx38(SelectPrimitive.ItemText, { className: "flex flex-1 shrink-0 gap-2 whitespace-nowrap", children }),
3749
+ /* @__PURE__ */ jsx38(
3609
3750
  SelectPrimitive.ItemIndicator,
3610
3751
  {
3611
- render: /* @__PURE__ */ jsx36("span", { className: "pointer-events-none absolute right-2 flex size-4 items-center justify-center" }),
3612
- children: /* @__PURE__ */ jsx36(CheckIcon3, { className: "pointer-events-none" })
3752
+ render: /* @__PURE__ */ jsx38("span", { className: "pointer-events-none absolute right-2 flex size-4 items-center justify-center" }),
3753
+ children: /* @__PURE__ */ jsx38(CheckIcon3, { className: "pointer-events-none" })
3613
3754
  }
3614
3755
  )
3615
3756
  ]
@@ -3620,11 +3761,11 @@ function SelectSeparator({
3620
3761
  className,
3621
3762
  ...props
3622
3763
  }) {
3623
- return /* @__PURE__ */ jsx36(
3764
+ return /* @__PURE__ */ jsx38(
3624
3765
  SelectPrimitive.Separator,
3625
3766
  {
3626
3767
  "data-slot": "select-separator",
3627
- className: cn16("pointer-events-none -mx-1 my-1 h-px bg-border", className),
3768
+ className: cn17("pointer-events-none -mx-1 my-1 h-px bg-border", className),
3628
3769
  ...props
3629
3770
  }
3630
3771
  );
@@ -3633,16 +3774,16 @@ function SelectScrollUpButton({
3633
3774
  className,
3634
3775
  ...props
3635
3776
  }) {
3636
- return /* @__PURE__ */ jsx36(
3777
+ return /* @__PURE__ */ jsx38(
3637
3778
  SelectPrimitive.ScrollUpArrow,
3638
3779
  {
3639
3780
  "data-slot": "select-scroll-up-button",
3640
- className: cn16(
3781
+ className: cn17(
3641
3782
  "top-0 z-10 flex w-full cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4",
3642
3783
  className
3643
3784
  ),
3644
3785
  ...props,
3645
- children: /* @__PURE__ */ jsx36(
3786
+ children: /* @__PURE__ */ jsx38(
3646
3787
  ChevronUpIcon,
3647
3788
  {}
3648
3789
  )
@@ -3653,16 +3794,16 @@ function SelectScrollDownButton({
3653
3794
  className,
3654
3795
  ...props
3655
3796
  }) {
3656
- return /* @__PURE__ */ jsx36(
3797
+ return /* @__PURE__ */ jsx38(
3657
3798
  SelectPrimitive.ScrollDownArrow,
3658
3799
  {
3659
3800
  "data-slot": "select-scroll-down-button",
3660
- className: cn16(
3801
+ className: cn17(
3661
3802
  "bottom-0 z-10 flex w-full cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4",
3662
3803
  className
3663
3804
  ),
3664
3805
  ...props,
3665
- children: /* @__PURE__ */ jsx36(
3806
+ children: /* @__PURE__ */ jsx38(
3666
3807
  ChevronDownIcon2,
3667
3808
  {}
3668
3809
  )
@@ -3671,19 +3812,19 @@ function SelectScrollDownButton({
3671
3812
  }
3672
3813
 
3673
3814
  // src/components/country-select/CountrySelect.tsx
3674
- import * as React22 from "react";
3815
+ import * as React23 from "react";
3675
3816
  import { ChevronDown as ChevronDown2, Globe } from "lucide-react";
3676
3817
 
3677
3818
  // src/components/icon/Icon.tsx
3678
- import * as React21 from "react";
3679
- import { jsx as jsx37 } from "react/jsx-runtime";
3819
+ import * as React22 from "react";
3820
+ import { jsx as jsx39 } from "react/jsx-runtime";
3680
3821
  var iconStrokeMap = {
3681
3822
  12: 1.4,
3682
3823
  16: 1.4,
3683
3824
  24: 1.6,
3684
3825
  32: 1.8
3685
3826
  };
3686
- var Icon = React21.forwardRef(
3827
+ var Icon = React22.forwardRef(
3687
3828
  ({
3688
3829
  icon: IconComponent,
3689
3830
  size,
@@ -3695,7 +3836,7 @@ var Icon = React21.forwardRef(
3695
3836
  const strokeWidth = iconStrokeMap[size];
3696
3837
  const sizeClass = size === 12 ? "w-3 h-3" : size === 16 ? "w-4 h-4" : size === 24 ? "w-6 h-6" : "w-8 h-8";
3697
3838
  const ariaAttributes = ariaLabel ? { "aria-label": ariaLabel } : { "aria-hidden": ariaHidden };
3698
- return /* @__PURE__ */ jsx37(
3839
+ return /* @__PURE__ */ jsx39(
3699
3840
  IconComponent,
3700
3841
  {
3701
3842
  ref,
@@ -3711,13 +3852,13 @@ Icon.displayName = "Icon";
3711
3852
 
3712
3853
  // src/primitives/popover.tsx
3713
3854
  import { Popover as PopoverPrimitive } from "@base-ui/react/popover";
3714
- import { cn as cn17 } from "cn";
3715
- import { jsx as jsx38 } from "react/jsx-runtime";
3855
+ import { cn as cn18 } from "cn";
3856
+ import { jsx as jsx40 } from "react/jsx-runtime";
3716
3857
  function Popover({ ...props }) {
3717
- return /* @__PURE__ */ jsx38(PopoverPrimitive.Root, { "data-slot": "popover", ...props });
3858
+ return /* @__PURE__ */ jsx40(PopoverPrimitive.Root, { "data-slot": "popover", ...props });
3718
3859
  }
3719
3860
  function PopoverTrigger({ ...props }) {
3720
- return /* @__PURE__ */ jsx38(PopoverPrimitive.Trigger, { "data-slot": "popover-trigger", ...props });
3861
+ return /* @__PURE__ */ jsx40(PopoverPrimitive.Trigger, { "data-slot": "popover-trigger", ...props });
3721
3862
  }
3722
3863
  function PopoverContent({
3723
3864
  className,
@@ -3727,7 +3868,7 @@ function PopoverContent({
3727
3868
  sideOffset = 4,
3728
3869
  ...props
3729
3870
  }) {
3730
- return /* @__PURE__ */ jsx38(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx38(
3871
+ return /* @__PURE__ */ jsx40(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx40(
3731
3872
  PopoverPrimitive.Positioner,
3732
3873
  {
3733
3874
  align,
@@ -3735,11 +3876,11 @@ function PopoverContent({
3735
3876
  side,
3736
3877
  sideOffset,
3737
3878
  className: "isolate z-50",
3738
- children: /* @__PURE__ */ jsx38(
3879
+ children: /* @__PURE__ */ jsx40(
3739
3880
  PopoverPrimitive.Popup,
3740
3881
  {
3741
3882
  "data-slot": "popover-content",
3742
- className: cn17(
3883
+ className: cn18(
3743
3884
  "z-50 flex w-72 origin-(--transform-origin) flex-col gap-2.5 rounded-lg bg-popover p-2.5 text-sm text-popover-foreground shadow-md ring-1 ring-foreground/10 outline-hidden duration-100 data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",
3744
3885
  className
3745
3886
  ),
@@ -3752,27 +3893,27 @@ function PopoverContent({
3752
3893
 
3753
3894
  // src/primitives/command.tsx
3754
3895
  import { Command as CommandPrimitive } from "cmdk";
3755
- import { cn as cn21 } from "cn";
3896
+ import { cn as cn22 } from "cn";
3756
3897
 
3757
3898
  // src/primitives/dialog.tsx
3758
3899
  import { Dialog as DialogPrimitive2 } from "@base-ui/react/dialog";
3759
- import { cn as cn18 } from "cn";
3900
+ import { cn as cn19 } from "cn";
3760
3901
  import { XIcon as XIcon2 } from "lucide-react";
3761
- import { jsx as jsx39, jsxs as jsxs19 } from "react/jsx-runtime";
3902
+ import { jsx as jsx41, jsxs as jsxs19 } from "react/jsx-runtime";
3762
3903
 
3763
3904
  // src/primitives/input-group.tsx
3764
- import { cva as cva13 } from "class-variance-authority";
3765
- import { cn as cn20 } from "cn";
3905
+ import { cva as cva14 } from "class-variance-authority";
3906
+ import { cn as cn21 } from "cn";
3766
3907
 
3767
3908
  // src/primitives/textarea.tsx
3768
- import { cn as cn19 } from "cn";
3769
- import { jsx as jsx40 } from "react/jsx-runtime";
3909
+ import { cn as cn20 } from "cn";
3910
+ import { jsx as jsx42 } from "react/jsx-runtime";
3770
3911
  function Textarea({ className, ...props }) {
3771
- return /* @__PURE__ */ jsx40(
3912
+ return /* @__PURE__ */ jsx42(
3772
3913
  "textarea",
3773
3914
  {
3774
3915
  "data-slot": "textarea",
3775
- className: cn19(
3916
+ className: cn20(
3776
3917
  "flex field-sizing-content min-h-16 w-full rounded-lg border border-input bg-input/30 px-2.5 py-2 text-base transition-colors outline-none placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40",
3777
3918
  className
3778
3919
  ),
@@ -3782,14 +3923,14 @@ function Textarea({ className, ...props }) {
3782
3923
  }
3783
3924
 
3784
3925
  // src/primitives/input-group.tsx
3785
- import { jsx as jsx41 } from "react/jsx-runtime";
3926
+ import { jsx as jsx43 } from "react/jsx-runtime";
3786
3927
  function InputGroup({ className, ...props }) {
3787
- return /* @__PURE__ */ jsx41(
3928
+ return /* @__PURE__ */ jsx43(
3788
3929
  "div",
3789
3930
  {
3790
3931
  "data-slot": "input-group",
3791
3932
  role: "group",
3792
- className: cn20(
3933
+ className: cn21(
3793
3934
  "group/input-group relative flex h-8 w-full min-w-0 items-center rounded-lg border border-input transition-colors outline-none in-data-[slot=combobox-content]:focus-within:border-inherit in-data-[slot=combobox-content]:focus-within:ring-0 has-disabled:bg-input/50 has-disabled:opacity-50 has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-3 has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot][aria-invalid=true]]:border-destructive has-[[data-slot][aria-invalid=true]]:ring-3 has-[[data-slot][aria-invalid=true]]:ring-destructive/20 has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>textarea]:h-auto dark:bg-input/30 dark:has-disabled:bg-input/80 dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40 has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pr-1.5 has-[>[data-align=inline-start]]:[&>input]:pl-1.5",
3794
3935
  className
3795
3936
  ),
@@ -3797,7 +3938,7 @@ function InputGroup({ className, ...props }) {
3797
3938
  }
3798
3939
  );
3799
3940
  }
3800
- var inputGroupAddonVariants = cva13(
3941
+ var inputGroupAddonVariants = cva14(
3801
3942
  "flex h-auto cursor-text items-center justify-center gap-2 py-1.5 text-sm font-medium text-muted-foreground select-none group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-[calc(var(--radius)-5px)] [&>svg:not([class*='size-'])]:size-4",
3802
3943
  {
3803
3944
  variants: {
@@ -3818,13 +3959,13 @@ function InputGroupAddon({
3818
3959
  align = "inline-start",
3819
3960
  ...props
3820
3961
  }) {
3821
- return /* @__PURE__ */ jsx41(
3962
+ return /* @__PURE__ */ jsx43(
3822
3963
  "div",
3823
3964
  {
3824
3965
  role: "group",
3825
3966
  "data-slot": "input-group-addon",
3826
3967
  "data-align": align,
3827
- className: cn20(inputGroupAddonVariants({ align }), className),
3968
+ className: cn21(inputGroupAddonVariants({ align }), className),
3828
3969
  onClick: (e) => {
3829
3970
  if (e.target.closest("button")) {
3830
3971
  return;
@@ -3835,7 +3976,7 @@ function InputGroupAddon({
3835
3976
  }
3836
3977
  );
3837
3978
  }
3838
- var inputGroupButtonVariants = cva13(
3979
+ var inputGroupButtonVariants = cva14(
3839
3980
  "flex items-center gap-2 text-sm shadow-none",
3840
3981
  {
3841
3982
  variants: {
@@ -3854,16 +3995,16 @@ var inputGroupButtonVariants = cva13(
3854
3995
 
3855
3996
  // src/primitives/command.tsx
3856
3997
  import { SearchIcon, CheckIcon as CheckIcon4 } from "lucide-react";
3857
- import { jsx as jsx42, jsxs as jsxs20 } from "react/jsx-runtime";
3998
+ import { jsx as jsx44, jsxs as jsxs20 } from "react/jsx-runtime";
3858
3999
  function Command({
3859
4000
  className,
3860
4001
  ...props
3861
4002
  }) {
3862
- return /* @__PURE__ */ jsx42(
4003
+ return /* @__PURE__ */ jsx44(
3863
4004
  CommandPrimitive,
3864
4005
  {
3865
4006
  "data-slot": "command",
3866
- className: cn21(
4007
+ className: cn22(
3867
4008
  "flex size-full flex-col overflow-hidden rounded-xl! bg-popover p-1 text-popover-foreground",
3868
4009
  className
3869
4010
  ),
@@ -3875,30 +4016,30 @@ function CommandInput({
3875
4016
  className,
3876
4017
  ...props
3877
4018
  }) {
3878
- return /* @__PURE__ */ jsx42("div", { "data-slot": "command-input-wrapper", className: "p-1 pb-0", children: /* @__PURE__ */ jsxs20(InputGroup, { className: "h-8! rounded-lg! border-input/30 bg-input/30 shadow-none! *:data-[slot=input-group-addon]:pl-2!", children: [
3879
- /* @__PURE__ */ jsx42(
4019
+ return /* @__PURE__ */ jsx44("div", { "data-slot": "command-input-wrapper", className: "p-1 pb-0", children: /* @__PURE__ */ jsxs20(InputGroup, { className: "h-8! rounded-lg! border-input/30 bg-input/30 shadow-none! *:data-[slot=input-group-addon]:pl-2!", children: [
4020
+ /* @__PURE__ */ jsx44(
3880
4021
  CommandPrimitive.Input,
3881
4022
  {
3882
4023
  "data-slot": "command-input",
3883
- className: cn21(
4024
+ className: cn22(
3884
4025
  "w-full text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50",
3885
4026
  className
3886
4027
  ),
3887
4028
  ...props
3888
4029
  }
3889
4030
  ),
3890
- /* @__PURE__ */ jsx42(InputGroupAddon, { children: /* @__PURE__ */ jsx42(SearchIcon, { className: "size-4 shrink-0 opacity-50" }) })
4031
+ /* @__PURE__ */ jsx44(InputGroupAddon, { children: /* @__PURE__ */ jsx44(SearchIcon, { className: "size-4 shrink-0 opacity-50" }) })
3891
4032
  ] }) });
3892
4033
  }
3893
4034
  function CommandList({
3894
4035
  className,
3895
4036
  ...props
3896
4037
  }) {
3897
- return /* @__PURE__ */ jsx42(
4038
+ return /* @__PURE__ */ jsx44(
3898
4039
  CommandPrimitive.List,
3899
4040
  {
3900
4041
  "data-slot": "command-list",
3901
- className: cn21(
4042
+ className: cn22(
3902
4043
  "no-scrollbar max-h-72 scroll-py-1 overflow-x-hidden overflow-y-auto outline-none",
3903
4044
  className
3904
4045
  ),
@@ -3910,11 +4051,11 @@ function CommandEmpty({
3910
4051
  className,
3911
4052
  ...props
3912
4053
  }) {
3913
- return /* @__PURE__ */ jsx42(
4054
+ return /* @__PURE__ */ jsx44(
3914
4055
  CommandPrimitive.Empty,
3915
4056
  {
3916
4057
  "data-slot": "command-empty",
3917
- className: cn21("py-6 text-center text-sm", className),
4058
+ className: cn22("py-6 text-center text-sm", className),
3918
4059
  ...props
3919
4060
  }
3920
4061
  );
@@ -3923,11 +4064,11 @@ function CommandGroup({
3923
4064
  className,
3924
4065
  ...props
3925
4066
  }) {
3926
- return /* @__PURE__ */ jsx42(
4067
+ return /* @__PURE__ */ jsx44(
3927
4068
  CommandPrimitive.Group,
3928
4069
  {
3929
4070
  "data-slot": "command-group",
3930
- className: cn21(
4071
+ className: cn22(
3931
4072
  "overflow-hidden p-1 text-foreground **:[[cmdk-group-heading]]:px-2 **:[[cmdk-group-heading]]:py-1.5 **:[[cmdk-group-heading]]:text-xs **:[[cmdk-group-heading]]:font-medium **:[[cmdk-group-heading]]:text-muted-foreground",
3932
4073
  className
3933
4074
  ),
@@ -3944,14 +4085,14 @@ function CommandItem({
3944
4085
  CommandPrimitive.Item,
3945
4086
  {
3946
4087
  "data-slot": "command-item",
3947
- className: cn21(
4088
+ className: cn22(
3948
4089
  "group/command-item relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none in-data-[slot=dialog-content]:rounded-lg! data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 data-selected:bg-muted data-selected:text-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 data-selected:*:[svg]:text-foreground",
3949
4090
  className
3950
4091
  ),
3951
4092
  ...props,
3952
4093
  children: [
3953
4094
  children,
3954
- /* @__PURE__ */ jsx42(CheckIcon4, { className: "ml-auto opacity-0 group-has-data-[slot=command-shortcut]/command-item:hidden group-data-[checked=true]/command-item:opacity-100" })
4095
+ /* @__PURE__ */ jsx44(CheckIcon4, { className: "ml-auto opacity-0 group-has-data-[slot=command-shortcut]/command-item:hidden group-data-[checked=true]/command-item:opacity-100" })
3955
4096
  ]
3956
4097
  }
3957
4098
  );
@@ -4099,8 +4240,8 @@ var isEUCountry = (countryCode) => {
4099
4240
  };
4100
4241
 
4101
4242
  // src/components/country-select/CountrySelect.tsx
4102
- import { Fragment as Fragment2, jsx as jsx43, jsxs as jsxs21 } from "react/jsx-runtime";
4103
- var CountrySelect = React22.forwardRef(
4243
+ import { Fragment as Fragment2, jsx as jsx45, jsxs as jsxs21 } from "react/jsx-runtime";
4244
+ var CountrySelect = React23.forwardRef(
4104
4245
  ({
4105
4246
  value,
4106
4247
  onValueChange,
@@ -4110,14 +4251,14 @@ var CountrySelect = React22.forwardRef(
4110
4251
  align = "center",
4111
4252
  sideOffset = 4
4112
4253
  }, ref) => {
4113
- const [open, setOpen] = React22.useState(false);
4114
- const selectedCountry = React22.useMemo(() => COUNTRIES.find((c) => c.code === value), [value]);
4254
+ const [open, setOpen] = React23.useState(false);
4255
+ const selectedCountry = React23.useMemo(() => COUNTRIES.find((c) => c.code === value), [value]);
4115
4256
  return /* @__PURE__ */ jsxs21(Popover, { open, onOpenChange: setOpen, children: [
4116
4257
  /* @__PURE__ */ jsxs21(
4117
4258
  PopoverTrigger,
4118
4259
  {
4119
4260
  ref,
4120
- render: /* @__PURE__ */ jsx43(
4261
+ render: /* @__PURE__ */ jsx45(
4121
4262
  "button",
4122
4263
  {
4123
4264
  type: "button",
@@ -4139,16 +4280,16 @@ var CountrySelect = React22.forwardRef(
4139
4280
  }
4140
4281
  ),
4141
4282
  children: [
4142
- /* @__PURE__ */ jsx43("div", { className: "flex items-center gap-2 min-w-0 flex-1", children: selectedCountry ? /* @__PURE__ */ jsxs21(Fragment2, { children: [
4143
- /* @__PURE__ */ jsx43("span", { className: "text-xl flex-shrink-0", children: selectedCountry.flag }),
4144
- /* @__PURE__ */ jsx43("span", { className: "truncate", children: selectedCountry.name }),
4283
+ /* @__PURE__ */ jsx45("div", { className: "flex items-center gap-2 min-w-0 flex-1", children: selectedCountry ? /* @__PURE__ */ jsxs21(Fragment2, { children: [
4284
+ /* @__PURE__ */ jsx45("span", { className: "text-xl flex-shrink-0", children: selectedCountry.flag }),
4285
+ /* @__PURE__ */ jsx45("span", { className: "truncate", children: selectedCountry.name }),
4145
4286
  /* @__PURE__ */ jsxs21("span", { className: "text-berget-muted-foreground text-xs flex-shrink-0", children: [
4146
4287
  "(",
4147
4288
  selectedCountry.code,
4148
4289
  ")"
4149
4290
  ] })
4150
4291
  ] }) : /* @__PURE__ */ jsxs21(Fragment2, { children: [
4151
- /* @__PURE__ */ jsx43(
4292
+ /* @__PURE__ */ jsx45(
4152
4293
  Icon,
4153
4294
  {
4154
4295
  icon: Globe,
@@ -4156,9 +4297,9 @@ var CountrySelect = React22.forwardRef(
4156
4297
  className: "flex-shrink-0 text-berget-muted-foreground"
4157
4298
  }
4158
4299
  ),
4159
- /* @__PURE__ */ jsx43("span", { className: "text-berget-muted-foreground truncate", children: placeholder })
4300
+ /* @__PURE__ */ jsx45("span", { className: "text-berget-muted-foreground truncate", children: placeholder })
4160
4301
  ] }) }),
4161
- /* @__PURE__ */ jsx43(
4302
+ /* @__PURE__ */ jsx45(
4162
4303
  Icon,
4163
4304
  {
4164
4305
  icon: ChevronDown2,
@@ -4173,17 +4314,17 @@ var CountrySelect = React22.forwardRef(
4173
4314
  ]
4174
4315
  }
4175
4316
  ),
4176
- /* @__PURE__ */ jsx43(
4317
+ /* @__PURE__ */ jsx45(
4177
4318
  PopoverContent,
4178
4319
  {
4179
4320
  align,
4180
4321
  sideOffset,
4181
4322
  className: "w-[var(--radix-popover-trigger-width)] p-0",
4182
4323
  children: /* @__PURE__ */ jsxs21(Command, { children: [
4183
- /* @__PURE__ */ jsx43(CommandInput, { placeholder: "Search country..." }),
4324
+ /* @__PURE__ */ jsx45(CommandInput, { placeholder: "Search country..." }),
4184
4325
  /* @__PURE__ */ jsxs21(CommandList, { children: [
4185
- /* @__PURE__ */ jsx43(CommandEmpty, { children: "No countries found." }),
4186
- /* @__PURE__ */ jsx43(CommandGroup, { children: COUNTRIES.map((country) => /* @__PURE__ */ jsxs21(
4326
+ /* @__PURE__ */ jsx45(CommandEmpty, { children: "No countries found." }),
4327
+ /* @__PURE__ */ jsx45(CommandGroup, { children: COUNTRIES.map((country) => /* @__PURE__ */ jsxs21(
4187
4328
  CommandItem,
4188
4329
  {
4189
4330
  value: `${country.name} ${country.code}`,
@@ -4197,12 +4338,12 @@ var CountrySelect = React22.forwardRef(
4197
4338
  value === country.code && "bg-berget-brand-granite-800/40"
4198
4339
  ),
4199
4340
  children: [
4200
- /* @__PURE__ */ jsx43("span", { className: "text-xl flex-shrink-0", children: country.flag }),
4341
+ /* @__PURE__ */ jsx45("span", { className: "text-xl flex-shrink-0", children: country.flag }),
4201
4342
  /* @__PURE__ */ jsxs21("div", { className: "flex-1 min-w-0", children: [
4202
- /* @__PURE__ */ jsx43("div", { className: "text-sm truncate", children: country.name }),
4203
- /* @__PURE__ */ jsx43("div", { className: "text-xs text-berget-muted-foreground", children: country.code })
4343
+ /* @__PURE__ */ jsx45("div", { className: "text-sm truncate", children: country.name }),
4344
+ /* @__PURE__ */ jsx45("div", { className: "text-xs text-berget-muted-foreground", children: country.code })
4204
4345
  ] }),
4205
- value === country.code && /* @__PURE__ */ jsx43("div", { className: "w-2 h-2 rounded-full bg-berget-brand-granite-400 flex-shrink-0" })
4346
+ value === country.code && /* @__PURE__ */ jsx45("div", { className: "w-2 h-2 rounded-full bg-berget-brand-granite-400 flex-shrink-0" })
4206
4347
  ]
4207
4348
  },
4208
4349
  country.code
@@ -4217,14 +4358,14 @@ var CountrySelect = React22.forwardRef(
4217
4358
  CountrySelect.displayName = "CountrySelect";
4218
4359
 
4219
4360
  // src/primitives/label.tsx
4220
- import { cn as cn22 } from "cn";
4221
- import { jsx as jsx44 } from "react/jsx-runtime";
4361
+ import { cn as cn23 } from "cn";
4362
+ import { jsx as jsx46 } from "react/jsx-runtime";
4222
4363
  function Label({ className, ...props }) {
4223
- return /* @__PURE__ */ jsx44(
4364
+ return /* @__PURE__ */ jsx46(
4224
4365
  "label",
4225
4366
  {
4226
4367
  "data-slot": "label",
4227
- className: cn22(
4368
+ className: cn23(
4228
4369
  "flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",
4229
4370
  className
4230
4371
  ),
@@ -4235,15 +4376,15 @@ function Label({ className, ...props }) {
4235
4376
 
4236
4377
  // src/primitives/field.tsx
4237
4378
  import { useMemo as useMemo4 } from "react";
4238
- import { cva as cva14 } from "class-variance-authority";
4239
- import { cn as cn23 } from "cn";
4240
- import { jsx as jsx45, jsxs as jsxs22 } from "react/jsx-runtime";
4379
+ import { cva as cva15 } from "class-variance-authority";
4380
+ import { cn as cn24 } from "cn";
4381
+ import { jsx as jsx47, jsxs as jsxs22 } from "react/jsx-runtime";
4241
4382
  function FieldSet({ className, ...props }) {
4242
- return /* @__PURE__ */ jsx45(
4383
+ return /* @__PURE__ */ jsx47(
4243
4384
  "fieldset",
4244
4385
  {
4245
4386
  "data-slot": "field-set",
4246
- className: cn23(
4387
+ className: cn24(
4247
4388
  "flex flex-col gap-4 has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3",
4248
4389
  className
4249
4390
  ),
@@ -4256,12 +4397,12 @@ function FieldLegend({
4256
4397
  variant = "legend",
4257
4398
  ...props
4258
4399
  }) {
4259
- return /* @__PURE__ */ jsx45(
4400
+ return /* @__PURE__ */ jsx47(
4260
4401
  "legend",
4261
4402
  {
4262
4403
  "data-slot": "field-legend",
4263
4404
  "data-variant": variant,
4264
- className: cn23(
4405
+ className: cn24(
4265
4406
  "mb-1.5 font-medium data-[variant=label]:text-sm data-[variant=legend]:text-base",
4266
4407
  className
4267
4408
  ),
@@ -4270,11 +4411,11 @@ function FieldLegend({
4270
4411
  );
4271
4412
  }
4272
4413
  function FieldGroup({ className, ...props }) {
4273
- return /* @__PURE__ */ jsx45(
4414
+ return /* @__PURE__ */ jsx47(
4274
4415
  "div",
4275
4416
  {
4276
4417
  "data-slot": "field-group",
4277
- className: cn23(
4418
+ className: cn24(
4278
4419
  "group/field-group @container/field-group flex w-full flex-col gap-5 data-[slot=checkbox-group]:gap-3 *:data-[slot=field-group]:gap-4",
4279
4420
  className
4280
4421
  ),
@@ -4282,7 +4423,7 @@ function FieldGroup({ className, ...props }) {
4282
4423
  }
4283
4424
  );
4284
4425
  }
4285
- var fieldVariants = cva14(
4426
+ var fieldVariants = cva15(
4286
4427
  "group/field flex w-full gap-2 data-[invalid=true]:text-destructive",
4287
4428
  {
4288
4429
  variants: {
@@ -4302,23 +4443,23 @@ function Field({
4302
4443
  orientation = "vertical",
4303
4444
  ...props
4304
4445
  }) {
4305
- return /* @__PURE__ */ jsx45(
4446
+ return /* @__PURE__ */ jsx47(
4306
4447
  "div",
4307
4448
  {
4308
4449
  role: "group",
4309
4450
  "data-slot": "field",
4310
4451
  "data-orientation": orientation,
4311
- className: cn23(fieldVariants({ orientation }), className),
4452
+ className: cn24(fieldVariants({ orientation }), className),
4312
4453
  ...props
4313
4454
  }
4314
4455
  );
4315
4456
  }
4316
4457
  function FieldContent({ className, ...props }) {
4317
- return /* @__PURE__ */ jsx45(
4458
+ return /* @__PURE__ */ jsx47(
4318
4459
  "div",
4319
4460
  {
4320
4461
  "data-slot": "field-content",
4321
- className: cn23(
4462
+ className: cn24(
4322
4463
  "group/field-content flex flex-1 flex-col gap-0.5 leading-snug",
4323
4464
  className
4324
4465
  ),
@@ -4330,11 +4471,11 @@ function FieldLabel({
4330
4471
  className,
4331
4472
  ...props
4332
4473
  }) {
4333
- return /* @__PURE__ */ jsx45(
4474
+ return /* @__PURE__ */ jsx47(
4334
4475
  Label,
4335
4476
  {
4336
4477
  "data-slot": "field-label",
4337
- className: cn23(
4478
+ className: cn24(
4338
4479
  "group/field-label peer/field-label flex w-fit gap-2 leading-snug group-data-[disabled=true]/field:opacity-50 has-data-checked:border-primary/30 has-data-checked:bg-primary/5 has-[>[data-slot=field]]:rounded-lg has-[>[data-slot=field]]:border has-[>[data-slot=field]]:not-has-[:disabled,[data-disabled]]:hover:bg-muted/50 has-[>[data-slot=field]]:has-[:focus-visible]:border-ring has-[>[data-slot=field]]:has-[:focus-visible]:ring-3 has-[>[data-slot=field]]:has-[:focus-visible]:ring-ring/50 *:data-[slot=field]:p-2.5 dark:has-data-checked:border-primary/20 dark:has-data-checked:bg-primary/10",
4339
4480
  "has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col",
4340
4481
  className
@@ -4344,11 +4485,11 @@ function FieldLabel({
4344
4485
  );
4345
4486
  }
4346
4487
  function FieldTitle({ className, ...props }) {
4347
- return /* @__PURE__ */ jsx45(
4488
+ return /* @__PURE__ */ jsx47(
4348
4489
  "div",
4349
4490
  {
4350
4491
  "data-slot": "field-label",
4351
- className: cn23(
4492
+ className: cn24(
4352
4493
  "flex w-fit items-center gap-2 text-sm font-medium group-data-[disabled=true]/field:opacity-50",
4353
4494
  className
4354
4495
  ),
@@ -4357,11 +4498,11 @@ function FieldTitle({ className, ...props }) {
4357
4498
  );
4358
4499
  }
4359
4500
  function FieldDescription({ className, ...props }) {
4360
- return /* @__PURE__ */ jsx45(
4501
+ return /* @__PURE__ */ jsx47(
4361
4502
  "p",
4362
4503
  {
4363
4504
  "data-slot": "field-description",
4364
- className: cn23(
4505
+ className: cn24(
4365
4506
  "text-left text-sm leading-normal font-normal text-muted-foreground group-has-data-horizontal/field:text-balance [[data-variant=legend]+&]:-mt-1.5",
4366
4507
  "last:mt-0 nth-last-2:-mt-1",
4367
4508
  "[&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",
@@ -4381,14 +4522,14 @@ function FieldSeparator({
4381
4522
  {
4382
4523
  "data-slot": "field-separator",
4383
4524
  "data-content": !!children,
4384
- className: cn23(
4525
+ className: cn24(
4385
4526
  "relative -my-2 h-5 text-sm group-data-[variant=outline]/field-group:-mb-2",
4386
4527
  className
4387
4528
  ),
4388
4529
  ...props,
4389
4530
  children: [
4390
- /* @__PURE__ */ jsx45(Separator, { className: "absolute inset-0 top-1/2" }),
4391
- children && /* @__PURE__ */ jsx45(
4531
+ /* @__PURE__ */ jsx47(Separator, { className: "absolute inset-0 top-1/2" }),
4532
+ children && /* @__PURE__ */ jsx47(
4392
4533
  "span",
4393
4534
  {
4394
4535
  className: "relative mx-auto block w-fit bg-background px-2 text-muted-foreground",
@@ -4419,19 +4560,19 @@ function FieldError({
4419
4560
  if (uniqueErrors?.length == 1) {
4420
4561
  return uniqueErrors[0]?.message;
4421
4562
  }
4422
- return /* @__PURE__ */ jsx45("ul", { className: "ml-4 flex list-disc flex-col gap-1", children: uniqueErrors.map(
4423
- (error, index) => error?.message && /* @__PURE__ */ jsx45("li", { children: error.message }, index)
4563
+ return /* @__PURE__ */ jsx47("ul", { className: "ml-4 flex list-disc flex-col gap-1", children: uniqueErrors.map(
4564
+ (error, index) => error?.message && /* @__PURE__ */ jsx47("li", { children: error.message }, index)
4424
4565
  ) });
4425
4566
  }, [children, errors]);
4426
4567
  if (!content) {
4427
4568
  return null;
4428
4569
  }
4429
- return /* @__PURE__ */ jsx45(
4570
+ return /* @__PURE__ */ jsx47(
4430
4571
  "div",
4431
4572
  {
4432
4573
  role: "alert",
4433
4574
  "data-slot": "field-error",
4434
- className: cn23("text-sm font-normal text-destructive", className),
4575
+ className: cn24("text-sm font-normal text-destructive", className),
4435
4576
  ...props,
4436
4577
  children: content
4437
4578
  }
@@ -4439,11 +4580,11 @@ function FieldError({
4439
4580
  }
4440
4581
 
4441
4582
  // src/components/link/Link.tsx
4442
- import * as React23 from "react";
4443
- import { cva as cva15 } from "class-variance-authority";
4583
+ import * as React24 from "react";
4584
+ import { cva as cva16 } from "class-variance-authority";
4444
4585
  import { ExternalLink } from "lucide-react";
4445
- import { jsx as jsx46, jsxs as jsxs23 } from "react/jsx-runtime";
4446
- var linkVariants = cva15(
4586
+ import { jsx as jsx48, jsxs as jsxs23 } from "react/jsx-runtime";
4587
+ var linkVariants = cva16(
4447
4588
  "inline-flex cursor-pointer items-center gap-2 transition-all duration-200 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:pointer-events-none disabled:opacity-50",
4448
4589
  {
4449
4590
  variants: {
@@ -4467,7 +4608,7 @@ var linkVariants = cva15(
4467
4608
  }
4468
4609
  }
4469
4610
  );
4470
- var Link = React23.forwardRef(
4611
+ var Link = React24.forwardRef(
4471
4612
  ({
4472
4613
  className,
4473
4614
  variant,
@@ -4496,8 +4637,8 @@ var Link = React23.forwardRef(
4496
4637
  },
4497
4638
  children: [
4498
4639
  children,
4499
- icon && /* @__PURE__ */ jsx46("span", { className: "inline-flex items-center", children: icon }),
4500
- showExternalIcon && isExternal && !disabled && /* @__PURE__ */ jsx46("span", { className: "inline-flex items-center ml-1 opacity-60", "aria-hidden": "true", children: /* @__PURE__ */ jsx46(Icon, { icon: ExternalLink, size: 16 }) })
4640
+ icon && /* @__PURE__ */ jsx48("span", { className: "inline-flex items-center", children: icon }),
4641
+ showExternalIcon && isExternal && !disabled && /* @__PURE__ */ jsx48("span", { className: "inline-flex items-center ml-1 opacity-60", "aria-hidden": "true", children: /* @__PURE__ */ jsx48(Icon, { icon: ExternalLink, size: 16 }) })
4501
4642
  ]
4502
4643
  }
4503
4644
  );
@@ -4506,11 +4647,11 @@ var Link = React23.forwardRef(
4506
4647
  Link.displayName = "Link";
4507
4648
 
4508
4649
  // src/components/container/Container.tsx
4509
- import * as React24 from "react";
4650
+ import * as React25 from "react";
4510
4651
  import { mergeProps as mergeProps3 } from "@base-ui/react/merge-props";
4511
4652
  import { useRender as useRender3 } from "@base-ui/react/use-render";
4512
- import { cva as cva16 } from "class-variance-authority";
4513
- var containerVariants = cva16("w-full mx-auto", {
4653
+ import { cva as cva17 } from "class-variance-authority";
4654
+ var containerVariants = cva17("w-full mx-auto", {
4514
4655
  variants: {
4515
4656
  size: {
4516
4657
  sm: "max-w-3xl",
@@ -4531,7 +4672,7 @@ var containerVariants = cva16("w-full mx-auto", {
4531
4672
  padding: "md"
4532
4673
  }
4533
4674
  });
4534
- var Container = React24.forwardRef(
4675
+ var Container = React25.forwardRef(
4535
4676
  ({ className, size, padding, asChild = false, children, ...props }, ref) => {
4536
4677
  return useRender3({
4537
4678
  ref,
@@ -4550,11 +4691,11 @@ var Container = React24.forwardRef(
4550
4691
  Container.displayName = "Container";
4551
4692
 
4552
4693
  // src/components/grid/Grid.tsx
4553
- import * as React25 from "react";
4554
- import { cva as cva17 } from "class-variance-authority";
4694
+ import * as React26 from "react";
4695
+ import { cva as cva18 } from "class-variance-authority";
4555
4696
  import { mergeProps as mergeProps4 } from "@base-ui/react/merge-props";
4556
4697
  import { useRender as useRender4 } from "@base-ui/react/use-render";
4557
- var gridVariants = cva17("grid", {
4698
+ var gridVariants = cva18("grid", {
4558
4699
  variants: {
4559
4700
  align: {
4560
4701
  start: "items-start",
@@ -4576,7 +4717,7 @@ var gridVariants = cva17("grid", {
4576
4717
  justify: "start"
4577
4718
  }
4578
4719
  });
4579
- var Grid = React25.forwardRef(
4720
+ var Grid = React26.forwardRef(
4580
4721
  ({ className, align, justify, cols, rows, gap, gapX, gapY, asChild = false, children, ...props }, ref) => {
4581
4722
  return useRender4({
4582
4723
  ref,
@@ -4603,11 +4744,11 @@ var Grid = React25.forwardRef(
4603
4744
  Grid.displayName = "Grid";
4604
4745
 
4605
4746
  // src/components/box/Box.tsx
4606
- import * as React26 from "react";
4607
- import { cva as cva18 } from "class-variance-authority";
4747
+ import * as React27 from "react";
4748
+ import { cva as cva19 } from "class-variance-authority";
4608
4749
  import { mergeProps as mergeProps5 } from "@base-ui/react/merge-props";
4609
4750
  import { useRender as useRender5 } from "@base-ui/react/use-render";
4610
- var boxVariants = cva18("flex", {
4751
+ var boxVariants = cva19("flex", {
4611
4752
  variants: {
4612
4753
  direction: {
4613
4754
  row: "flex-row",
@@ -4643,7 +4784,7 @@ var boxVariants = cva18("flex", {
4643
4784
  wrap: "nowrap"
4644
4785
  }
4645
4786
  });
4646
- var Box = React26.forwardRef(
4787
+ var Box = React27.forwardRef(
4647
4788
  ({ className, direction, align, justify, wrap, gap, asChild = false, children, ...props }, ref) => {
4648
4789
  return useRender5({
4649
4790
  ref,
@@ -4666,22 +4807,22 @@ var Box = React26.forwardRef(
4666
4807
  Box.displayName = "Box";
4667
4808
 
4668
4809
  // src/components/language-select/LanguageSelect.tsx
4669
- import * as React27 from "react";
4810
+ import * as React28 from "react";
4670
4811
  import { Globe as Globe2 } from "lucide-react";
4671
- import { jsx as jsx47, jsxs as jsxs24 } from "react/jsx-runtime";
4672
- var LanguageSelect = React27.forwardRef(
4812
+ import { jsx as jsx49, jsxs as jsxs24 } from "react/jsx-runtime";
4813
+ var LanguageSelect = React28.forwardRef(
4673
4814
  ({ className, options, value, onValueChange }, ref) => {
4674
4815
  return /* @__PURE__ */ jsxs24(DropdownMenu, { children: [
4675
- /* @__PURE__ */ jsx47(DropdownMenuTrigger2, { ref, asChild: true, children: /* @__PURE__ */ jsxs24(Button2, { variant: "outline", size: "icon", className, "aria-label": "Select language", children: [
4676
- /* @__PURE__ */ jsx47("span", { className: "sr-only", children: "Select language" }),
4677
- /* @__PURE__ */ jsx47(Icon, { icon: Globe2, size: 16, "aria-hidden": true })
4816
+ /* @__PURE__ */ jsx49(DropdownMenuTrigger2, { ref, asChild: true, children: /* @__PURE__ */ jsxs24(Button2, { variant: "outline", size: "icon", className, "aria-label": "Select language", children: [
4817
+ /* @__PURE__ */ jsx49("span", { className: "sr-only", children: "Select language" }),
4818
+ /* @__PURE__ */ jsx49(Icon, { icon: Globe2, size: 16, "aria-hidden": true })
4678
4819
  ] }) }),
4679
- /* @__PURE__ */ jsx47(DropdownMenuContent2, { align: "start", children: /* @__PURE__ */ jsx47(
4820
+ /* @__PURE__ */ jsx49(DropdownMenuContent2, { align: "start", children: /* @__PURE__ */ jsx49(
4680
4821
  DropdownMenuRadioGroup,
4681
4822
  {
4682
4823
  value,
4683
4824
  onValueChange: onValueChange ? (v) => onValueChange(v) : void 0,
4684
- children: options.map((option) => /* @__PURE__ */ jsx47(
4825
+ children: options.map((option) => /* @__PURE__ */ jsx49(
4685
4826
  DropdownMenuRadioItem2,
4686
4827
  {
4687
4828
  value: option.value,
@@ -4699,13 +4840,13 @@ var LanguageSelect = React27.forwardRef(
4699
4840
  LanguageSelect.displayName = "LanguageSelect";
4700
4841
 
4701
4842
  // src/components/list/List.tsx
4702
- import * as React29 from "react";
4843
+ import * as React30 from "react";
4703
4844
 
4704
4845
  // src/components/divider/Divider.tsx
4705
- import * as React28 from "react";
4706
- import { cva as cva19 } from "class-variance-authority";
4707
- import { jsx as jsx48, jsxs as jsxs25 } from "react/jsx-runtime";
4708
- var dividerVariants = cva19("", {
4846
+ import * as React29 from "react";
4847
+ import { cva as cva20 } from "class-variance-authority";
4848
+ import { jsx as jsx50, jsxs as jsxs25 } from "react/jsx-runtime";
4849
+ var dividerVariants = cva20("", {
4709
4850
  variants: {
4710
4851
  variant: {
4711
4852
  default: "bg-berget-separator",
@@ -4725,7 +4866,7 @@ var dividerVariants = cva19("", {
4725
4866
  size: "thin"
4726
4867
  }
4727
4868
  });
4728
- var Divider = React28.forwardRef(
4869
+ var Divider = React29.forwardRef(
4729
4870
  ({
4730
4871
  className,
4731
4872
  orientation = "horizontal",
@@ -4737,15 +4878,15 @@ var Divider = React28.forwardRef(
4737
4878
  }, ref) => {
4738
4879
  if (label) {
4739
4880
  return /* @__PURE__ */ jsxs25("div", { ref, className: cn("flex items-center w-full", className), ...props, children: [
4740
- labelPosition !== "right" && /* @__PURE__ */ jsx48(
4881
+ labelPosition !== "right" && /* @__PURE__ */ jsx50(
4741
4882
  Separator,
4742
4883
  {
4743
4884
  orientation: "horizontal",
4744
4885
  className: cn(dividerVariants({ variant, size }), "flex-1")
4745
4886
  }
4746
4887
  ),
4747
- /* @__PURE__ */ jsx48(Typography, { variant: "small", color: "muted", className: "px-4 whitespace-nowrap", children: label }),
4748
- labelPosition !== "left" && /* @__PURE__ */ jsx48(
4888
+ /* @__PURE__ */ jsx50(Typography, { variant: "small", color: "muted", className: "px-4 whitespace-nowrap", children: label }),
4889
+ labelPosition !== "left" && /* @__PURE__ */ jsx50(
4749
4890
  Separator,
4750
4891
  {
4751
4892
  orientation: "horizontal",
@@ -4754,7 +4895,7 @@ var Divider = React28.forwardRef(
4754
4895
  )
4755
4896
  ] });
4756
4897
  }
4757
- return /* @__PURE__ */ jsx48(
4898
+ return /* @__PURE__ */ jsx50(
4758
4899
  Separator,
4759
4900
  {
4760
4901
  ref,
@@ -4772,18 +4913,18 @@ Divider.displayName = "Divider";
4772
4913
 
4773
4914
  // src/components/list/List.tsx
4774
4915
  import { Check as Check2 } from "lucide-react";
4775
- import { jsx as jsx49, jsxs as jsxs26 } from "react/jsx-runtime";
4776
- var List = React29.forwardRef(
4916
+ import { jsx as jsx51, jsxs as jsxs26 } from "react/jsx-runtime";
4917
+ var List = React30.forwardRef(
4777
4918
  ({ className, children, ...props }, ref) => {
4778
- const childrenArray = React29.Children.toArray(children);
4779
- return /* @__PURE__ */ jsx49("div", { ref, className: cn("flex flex-col", className), ...props, children: childrenArray.map((child, index) => /* @__PURE__ */ jsxs26(React29.Fragment, { children: [
4919
+ const childrenArray = React30.Children.toArray(children);
4920
+ return /* @__PURE__ */ jsx51("div", { ref, className: cn("flex flex-col", className), ...props, children: childrenArray.map((child, index) => /* @__PURE__ */ jsxs26(React30.Fragment, { children: [
4780
4921
  child,
4781
- index < childrenArray.length - 1 && /* @__PURE__ */ jsx49(Divider, { variant: "subtle" })
4922
+ index < childrenArray.length - 1 && /* @__PURE__ */ jsx51(Divider, { variant: "subtle" })
4782
4923
  ] }, index)) });
4783
4924
  }
4784
4925
  );
4785
4926
  List.displayName = "List";
4786
- var ListItem = React29.forwardRef(
4927
+ var ListItem = React30.forwardRef(
4787
4928
  ({ className, icon, children, interactive = true, ...props }, ref) => /* @__PURE__ */ jsxs26(
4788
4929
  "div",
4789
4930
  {
@@ -4795,15 +4936,15 @@ var ListItem = React29.forwardRef(
4795
4936
  ),
4796
4937
  ...props,
4797
4938
  children: [
4798
- icon && /* @__PURE__ */ jsx49("div", { className: "flex-shrink-0 flex items-center justify-center", children: icon }),
4799
- /* @__PURE__ */ jsx49("div", { className: "flex-1 min-w-0", children })
4939
+ icon && /* @__PURE__ */ jsx51("div", { className: "flex-shrink-0 flex items-center justify-center", children: icon }),
4940
+ /* @__PURE__ */ jsx51("div", { className: "flex-1 min-w-0", children })
4800
4941
  ]
4801
4942
  }
4802
4943
  )
4803
4944
  );
4804
4945
  ListItem.displayName = "ListItem";
4805
- var ListHeader = React29.forwardRef(
4806
- ({ className, children, ...props }, ref) => /* @__PURE__ */ jsx49(
4946
+ var ListHeader = React30.forwardRef(
4947
+ ({ className, children, ...props }, ref) => /* @__PURE__ */ jsx51(
4807
4948
  "div",
4808
4949
  {
4809
4950
  ref,
@@ -4814,11 +4955,11 @@ var ListHeader = React29.forwardRef(
4814
4955
  )
4815
4956
  );
4816
4957
  ListHeader.displayName = "ListHeader";
4817
- var FeatureList = React29.forwardRef(
4958
+ var FeatureList = React30.forwardRef(
4818
4959
  ({ items, variant = "bullet", className, ...props }, ref) => {
4819
- return /* @__PURE__ */ jsx49("ul", { ref, className: cn("flex flex-col gap-fluid-md", className), ...props, children: items.map((item, index) => /* @__PURE__ */ jsxs26("li", { className: "flex items-start gap-fluid-md", children: [
4820
- variant === "bullet" ? /* @__PURE__ */ jsx49("span", { className: "w-1.5 h-1.5 rounded-full bg-berget-icon-muted flex-shrink-0 mt-2" }) : /* @__PURE__ */ jsx49("div", { className: "flex-shrink-0 mt-0.5", children: /* @__PURE__ */ jsx49(Icon, { icon: Check2, size: 24, className: "text-berget-logo-light" }) }),
4821
- /* @__PURE__ */ jsx49(Typography, { variant: "body", color: "muted", children: item })
4960
+ return /* @__PURE__ */ jsx51("ul", { ref, className: cn("flex flex-col gap-fluid-md", className), ...props, children: items.map((item, index) => /* @__PURE__ */ jsxs26("li", { className: "flex items-start gap-fluid-md", children: [
4961
+ variant === "bullet" ? /* @__PURE__ */ jsx51("span", { className: "w-1.5 h-1.5 rounded-full bg-berget-icon-muted flex-shrink-0 mt-2" }) : /* @__PURE__ */ jsx51("div", { className: "flex-shrink-0 mt-0.5", children: /* @__PURE__ */ jsx51(Icon, { icon: Check2, size: 24, className: "text-berget-logo-light" }) }),
4962
+ /* @__PURE__ */ jsx51(Typography, { variant: "body", color: "muted", children: item })
4822
4963
  ] }, index)) });
4823
4964
  }
4824
4965
  );
@@ -4827,7 +4968,7 @@ FeatureList.displayName = "FeatureList";
4827
4968
  // src/components/code-block/CodeBlock.tsx
4828
4969
  import { useState as useState5, useEffect as useEffect4, useCallback as useCallback4 } from "react";
4829
4970
  import { Copy, Check as Check3 } from "lucide-react";
4830
- import { jsx as jsx50, jsxs as jsxs27 } from "react/jsx-runtime";
4971
+ import { jsx as jsx52, jsxs as jsxs27 } from "react/jsx-runtime";
4831
4972
  function CodeBlock({ code, language = "text", title, className }) {
4832
4973
  const [html, setHtml] = useState5(null);
4833
4974
  const [copied, setCopied] = useState5(false);
@@ -4843,13 +4984,13 @@ function CodeBlock({ code, language = "text", title, className }) {
4843
4984
  setCopied(true);
4844
4985
  setTimeout(() => setCopied(false), 2e3);
4845
4986
  }, [code]);
4846
- const copyButton = /* @__PURE__ */ jsx50(
4987
+ const copyButton = /* @__PURE__ */ jsx52(
4847
4988
  "button",
4848
4989
  {
4849
4990
  onClick: handleCopy,
4850
4991
  className: "flex items-center justify-center w-6 h-6 text-berget-muted-foreground hover:text-berget-foreground transition-colors",
4851
4992
  "aria-label": "Copy code",
4852
- children: copied ? /* @__PURE__ */ jsx50(Check3, { className: "w-3.5 h-3.5" }) : /* @__PURE__ */ jsx50(Copy, { className: "w-3.5 h-3.5" })
4993
+ children: copied ? /* @__PURE__ */ jsx52(Check3, { className: "w-3.5 h-3.5" }) : /* @__PURE__ */ jsx52(Copy, { className: "w-3.5 h-3.5" })
4853
4994
  }
4854
4995
  );
4855
4996
  return /* @__PURE__ */ jsxs27(
@@ -4860,25 +5001,25 @@ function CodeBlock({ code, language = "text", title, className }) {
4860
5001
  className
4861
5002
  ),
4862
5003
  children: [
4863
- title && /* @__PURE__ */ jsx50("div", { className: "!h-10 flex items-center !px-4 !text-xs !leading-normal border-b border-berget-border bg-berget-codeblock-header-bg", children: /* @__PURE__ */ jsx50("span", { className: "text-berget-muted-foreground", children: title }) }),
4864
- /* @__PURE__ */ jsx50("div", { className: "absolute right-2 top-2 z-10", children: copyButton }),
4865
- html ? /* @__PURE__ */ jsx50(
5004
+ title && /* @__PURE__ */ jsx52("div", { className: "!h-10 flex items-center !px-4 !text-xs !leading-normal border-b border-berget-border bg-berget-codeblock-header-bg", children: /* @__PURE__ */ jsx52("span", { className: "text-berget-muted-foreground", children: title }) }),
5005
+ /* @__PURE__ */ jsx52("div", { className: "absolute right-2 top-2 z-10", children: copyButton }),
5006
+ html ? /* @__PURE__ */ jsx52(
4866
5007
  "div",
4867
5008
  {
4868
5009
  className: "[&_.shiki]:!p-4 [&_.shiki]:!m-0 [&_.shiki]:overflow-x-auto [&_.shiki]:!text-sm [&_.shiki]:!leading-relaxed [&_.shiki]:bg-transparent",
4869
5010
  dangerouslySetInnerHTML: { __html: html }
4870
5011
  }
4871
- ) : /* @__PURE__ */ jsx50("pre", { className: "!p-4 !m-0 overflow-x-auto !text-sm !leading-relaxed text-berget-muted-foreground", children: /* @__PURE__ */ jsx50("code", { children: code }) })
5012
+ ) : /* @__PURE__ */ jsx52("pre", { className: "!p-4 !m-0 overflow-x-auto !text-sm !leading-relaxed text-berget-muted-foreground", children: /* @__PURE__ */ jsx52("code", { children: code }) })
4872
5013
  ]
4873
5014
  }
4874
5015
  );
4875
5016
  }
4876
5017
 
4877
5018
  // src/components/window-frame/WindowFrame.tsx
4878
- import * as React30 from "react";
5019
+ import * as React31 from "react";
4879
5020
  import { useState as useState6 } from "react";
4880
- import { jsx as jsx51, jsxs as jsxs28 } from "react/jsx-runtime";
4881
- var WindowFrame = React30.forwardRef(
5021
+ import { jsx as jsx53, jsxs as jsxs28 } from "react/jsx-runtime";
5022
+ var WindowFrame = React31.forwardRef(
4882
5023
  ({ title = "window", tabs, activeTab, onTabChange, children, className, ...props }, ref) => {
4883
5024
  const [internalActive, setInternalActive] = useState6(tabs?.[0]?.id ?? "");
4884
5025
  const currentTab = activeTab ?? internalActive;
@@ -4901,11 +5042,11 @@ var WindowFrame = React30.forwardRef(
4901
5042
  children: [
4902
5043
  /* @__PURE__ */ jsxs28("div", { className: "flex items-center gap-2 px-4 py-3 border-b border-berget-brand-granite-700 bg-berget-brand-granite-900", children: [
4903
5044
  /* @__PURE__ */ jsxs28("div", { className: "flex items-center gap-2 flex-shrink-0", children: [
4904
- /* @__PURE__ */ jsx51("div", { className: "w-3 h-3 rounded-full bg-berget-brand-muscaria-400" }),
4905
- /* @__PURE__ */ jsx51("div", { className: "w-3 h-3 rounded-full bg-berget-brand-chanterelle-200" }),
4906
- /* @__PURE__ */ jsx51("div", { className: "w-3 h-3 rounded-full bg-berget-brand-moss-400" })
5045
+ /* @__PURE__ */ jsx53("div", { className: "w-3 h-3 rounded-full bg-berget-brand-muscaria-400" }),
5046
+ /* @__PURE__ */ jsx53("div", { className: "w-3 h-3 rounded-full bg-berget-brand-chanterelle-200" }),
5047
+ /* @__PURE__ */ jsx53("div", { className: "w-3 h-3 rounded-full bg-berget-brand-moss-400" })
4907
5048
  ] }),
4908
- tabs && tabs.length > 0 ? /* @__PURE__ */ jsx51("div", { className: "ml-4 flex items-center gap-1", children: tabs.map((tab) => /* @__PURE__ */ jsx51(
5049
+ tabs && tabs.length > 0 ? /* @__PURE__ */ jsx53("div", { className: "ml-4 flex items-center gap-1", children: tabs.map((tab) => /* @__PURE__ */ jsx53(
4909
5050
  "button",
4910
5051
  {
4911
5052
  type: "button",
@@ -4917,9 +5058,9 @@ var WindowFrame = React30.forwardRef(
4917
5058
  children: tab.label
4918
5059
  },
4919
5060
  tab.id
4920
- )) }) : /* @__PURE__ */ jsx51("span", { className: "ml-4 text-sm font-mono text-berget-brand-moss-400", children: title })
5061
+ )) }) : /* @__PURE__ */ jsx53("span", { className: "ml-4 text-sm font-mono text-berget-brand-moss-400", children: title })
4921
5062
  ] }),
4922
- /* @__PURE__ */ jsx51("div", { children })
5063
+ /* @__PURE__ */ jsx53("div", { children })
4923
5064
  ]
4924
5065
  }
4925
5066
  );
@@ -4929,7 +5070,7 @@ WindowFrame.displayName = "WindowFrame";
4929
5070
 
4930
5071
  // src/components/fog-illustration/FogIllustration.tsx
4931
5072
  import { useEffect as useEffect5, useRef } from "react";
4932
- import { jsx as jsx52 } from "react/jsx-runtime";
5073
+ import { jsx as jsx54 } from "react/jsx-runtime";
4933
5074
  var FOG_BRAND_PALETTE = {
4934
5075
  ink: "#171a1a",
4935
5076
  milk: "#f7f5ed",
@@ -5242,7 +5383,7 @@ var FogIllustration = ({ palette, speed = 1, className }) => {
5242
5383
  gl.deleteFramebuffer(fbo);
5243
5384
  };
5244
5385
  }, []);
5245
- return /* @__PURE__ */ jsx52("canvas", { ref, "aria-hidden": "true", className: cn("size-full", className) });
5386
+ return /* @__PURE__ */ jsx54("canvas", { ref, "aria-hidden": "true", className: cn("size-full", className) });
5246
5387
  };
5247
5388
  export {
5248
5389
  Alert2 as Alert,
@@ -5301,6 +5442,12 @@ export {
5301
5442
  DropdownMenuSubTrigger2 as DropdownMenuSubTrigger,
5302
5443
  DropdownMenuTrigger2 as DropdownMenuTrigger,
5303
5444
  EU_COUNTRY_CODES,
5445
+ Empty2 as Empty,
5446
+ EmptyContent,
5447
+ EmptyDescription2 as EmptyDescription,
5448
+ EmptyHeader,
5449
+ EmptyMedia2 as EmptyMedia,
5450
+ EmptyTitle2 as EmptyTitle,
5304
5451
  FOG_BRAND_PALETTE,
5305
5452
  FeatureList,
5306
5453
  Field,