@bergetai/ui 0.1.91 → 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.js CHANGED
@@ -528,15 +528,73 @@ var Alert2 = React9.forwardRef(
528
528
  );
529
529
  Alert2.displayName = "Alert";
530
530
 
531
+ // src/components/dialog/Dialog.tsx
532
+ import * as React10 from "react";
533
+ import * as DialogPrimitive from "@radix-ui/react-dialog";
534
+ import { X } from "lucide-react";
535
+ import { jsx as jsx11, jsxs as jsxs3 } from "react/jsx-runtime";
536
+ var Dialog = DialogPrimitive.Root;
537
+ var DialogTrigger = DialogPrimitive.Trigger;
538
+ var DialogPortal = DialogPrimitive.Portal;
539
+ var DialogClose = DialogPrimitive.Close;
540
+ var DialogOverlay = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx11(
541
+ DialogPrimitive.Overlay,
542
+ {
543
+ ref,
544
+ className: cn(
545
+ "fixed inset-0 z-50 bg-berget-dialog-overlay-bg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
546
+ className
547
+ ),
548
+ ...props
549
+ }
550
+ ));
551
+ DialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
552
+ var DialogContent = React10.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs3(DialogPortal, { children: [
553
+ /* @__PURE__ */ jsx11(DialogOverlay, {}),
554
+ /* @__PURE__ */ jsxs3(
555
+ DialogPrimitive.Content,
556
+ {
557
+ ref,
558
+ className: cn(
559
+ "fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-berget-dialog-bg border-berget-dialog-border rounded-berget-sm p-6 shadow-berget-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%]",
560
+ className
561
+ ),
562
+ ...props,
563
+ children: [
564
+ children,
565
+ /* @__PURE__ */ jsxs3(DialogPrimitive.Close, { className: "absolute right-4 top-4 rounded-berget-xs opacity-70 ring-offset-berget-dialog-bg transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-berget-focus-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-berget-muted data-[state=open]:text-berget-muted-foreground", children: [
566
+ /* @__PURE__ */ jsx11(X, { className: "size-4" }),
567
+ /* @__PURE__ */ jsx11("span", { className: "sr-only", children: "Close" })
568
+ ] })
569
+ ]
570
+ }
571
+ )
572
+ ] }));
573
+ DialogContent.displayName = DialogPrimitive.Content.displayName;
574
+ var DialogHeader = ({ className, ...props }) => /* @__PURE__ */ jsx11("div", { className: cn("flex flex-col gap-1.5 text-center sm:text-left", className), ...props });
575
+ DialogHeader.displayName = "DialogHeader";
576
+ var DialogFooter = ({ className, ...props }) => /* @__PURE__ */ jsx11(
577
+ "div",
578
+ {
579
+ className: cn("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", className),
580
+ ...props
581
+ }
582
+ );
583
+ DialogFooter.displayName = "DialogFooter";
584
+ var DialogTitle = React10.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx11(DialogPrimitive.Title, { ref, asChild: true, ...props, children: /* @__PURE__ */ jsx11(Typography, { variant: "h5", color: "default", as: "h2", className, children }) }));
585
+ DialogTitle.displayName = DialogPrimitive.Title.displayName;
586
+ var DialogDescription = React10.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx11(DialogPrimitive.Description, { ref, asChild: true, ...props, children: /* @__PURE__ */ jsx11(Typography, { variant: "small", color: "muted", className, children }) }));
587
+ DialogDescription.displayName = DialogPrimitive.Description.displayName;
588
+
531
589
  // src/components/input/Input.tsx
532
- import * as React11 from "react";
590
+ import * as React12 from "react";
533
591
 
534
592
  // src/primitives/input.tsx
535
- import * as React10 from "react";
536
- import { jsx as jsx11 } from "react/jsx-runtime";
537
- var Input = React10.forwardRef(
593
+ import * as React11 from "react";
594
+ import { jsx as jsx12 } from "react/jsx-runtime";
595
+ var Input = React11.forwardRef(
538
596
  ({ className, type, ...props }, ref) => {
539
- return /* @__PURE__ */ jsx11(
597
+ return /* @__PURE__ */ jsx12(
540
598
  "input",
541
599
  {
542
600
  type,
@@ -553,14 +611,14 @@ var Input = React10.forwardRef(
553
611
  Input.displayName = "Input";
554
612
 
555
613
  // src/components/input/Input.tsx
556
- import { jsx as jsx12, jsxs as jsxs3 } from "react/jsx-runtime";
557
- var Input2 = React11.forwardRef(
614
+ import { jsx as jsx13, jsxs as jsxs4 } from "react/jsx-runtime";
615
+ var Input2 = React12.forwardRef(
558
616
  ({ className, icon, actionButton, label, description, error, id, disabled, ...props }, ref) => {
559
- const generatedId = React11.useId();
617
+ const generatedId = React12.useId();
560
618
  const inputId = id || generatedId;
561
619
  const errorId = `${inputId}-error`;
562
620
  const descriptionId = `${inputId}-description`;
563
- const inputElement = /* @__PURE__ */ jsx12(
621
+ const inputElement = /* @__PURE__ */ jsx13(
564
622
  Input,
565
623
  {
566
624
  ref,
@@ -580,8 +638,8 @@ var Input2 = React11.forwardRef(
580
638
  }
581
639
  );
582
640
  if (!icon && !actionButton) {
583
- return /* @__PURE__ */ jsxs3("div", { className: "flex flex-col gap-2", children: [
584
- label && /* @__PURE__ */ jsx12(
641
+ return /* @__PURE__ */ jsxs4("div", { className: "flex flex-col gap-2", children: [
642
+ label && /* @__PURE__ */ jsx13(
585
643
  "label",
586
644
  {
587
645
  htmlFor: inputId,
@@ -594,9 +652,9 @@ var Input2 = React11.forwardRef(
594
652
  }
595
653
  ),
596
654
  inputElement,
597
- (description || error) && /* @__PURE__ */ jsxs3("div", { className: "flex flex-col gap-1", children: [
598
- description && /* @__PURE__ */ jsx12(Typography, { variant: "xs", color: "muted", id: descriptionId, children: description }),
599
- error && /* @__PURE__ */ jsx12(
655
+ (description || error) && /* @__PURE__ */ jsxs4("div", { className: "flex flex-col gap-1", children: [
656
+ description && /* @__PURE__ */ jsx13(Typography, { variant: "xs", color: "muted", id: descriptionId, children: description }),
657
+ error && /* @__PURE__ */ jsx13(
600
658
  Typography,
601
659
  {
602
660
  variant: "xs",
@@ -608,8 +666,8 @@ var Input2 = React11.forwardRef(
608
666
  ] })
609
667
  ] });
610
668
  }
611
- return /* @__PURE__ */ jsxs3("div", { className: "flex flex-col gap-2", children: [
612
- label && /* @__PURE__ */ jsx12(
669
+ return /* @__PURE__ */ jsxs4("div", { className: "flex flex-col gap-2", children: [
670
+ label && /* @__PURE__ */ jsx13(
613
671
  "label",
614
672
  {
615
673
  htmlFor: inputId,
@@ -621,14 +679,14 @@ var Input2 = React11.forwardRef(
621
679
  children: label
622
680
  }
623
681
  ),
624
- /* @__PURE__ */ jsxs3("div", { className: "relative w-full", children: [
625
- icon && /* @__PURE__ */ jsx12("div", { className: "absolute left-3 top-1/2 -translate-y-1/2", children: icon }),
682
+ /* @__PURE__ */ jsxs4("div", { className: "relative w-full", children: [
683
+ icon && /* @__PURE__ */ jsx13("div", { className: "absolute left-3 top-1/2 -translate-y-1/2", children: icon }),
626
684
  inputElement,
627
- actionButton && /* @__PURE__ */ jsx12("div", { className: "absolute right-2 top-1/2 -translate-y-1/2", children: actionButton })
685
+ actionButton && /* @__PURE__ */ jsx13("div", { className: "absolute right-2 top-1/2 -translate-y-1/2", children: actionButton })
628
686
  ] }),
629
- (description || error) && /* @__PURE__ */ jsxs3("div", { className: "flex flex-col gap-1", children: [
630
- description && /* @__PURE__ */ jsx12(Typography, { variant: "xs", color: "muted", id: descriptionId, children: description }),
631
- error && /* @__PURE__ */ jsx12(Typography, { variant: "xs", id: errorId, className: "text-berget-destructive-foreground", children: error })
687
+ (description || error) && /* @__PURE__ */ jsxs4("div", { className: "flex flex-col gap-1", children: [
688
+ description && /* @__PURE__ */ jsx13(Typography, { variant: "xs", color: "muted", id: descriptionId, children: description }),
689
+ error && /* @__PURE__ */ jsx13(Typography, { variant: "xs", id: errorId, className: "text-berget-destructive-foreground", children: error })
632
690
  ] })
633
691
  ] });
634
692
  }
@@ -636,17 +694,17 @@ var Input2 = React11.forwardRef(
636
694
  Input2.displayName = "Input";
637
695
 
638
696
  // src/components/checkbox/Checkbox.tsx
639
- import * as React13 from "react";
697
+ import * as React14 from "react";
640
698
  import * as CheckboxPrimitive2 from "@radix-ui/react-checkbox";
641
699
  import { Check as Check2 } from "lucide-react";
642
700
  import { cva as cva7 } from "class-variance-authority";
643
701
 
644
702
  // src/primitives/checkbox.tsx
645
- import * as React12 from "react";
703
+ import * as React13 from "react";
646
704
  import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
647
705
  import { Check } from "lucide-react";
648
- import { jsx as jsx13 } from "react/jsx-runtime";
649
- var Checkbox = React12.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx13(
706
+ import { jsx as jsx14 } from "react/jsx-runtime";
707
+ var Checkbox = React13.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx14(
650
708
  CheckboxPrimitive.Root,
651
709
  {
652
710
  ref,
@@ -655,23 +713,23 @@ var Checkbox = React12.forwardRef(({ className, children, ...props }, ref) => /*
655
713
  className
656
714
  ),
657
715
  ...props,
658
- children: children ?? /* @__PURE__ */ jsx13(CheckboxPrimitive.Indicator, { className: cn("grid place-content-center"), children: /* @__PURE__ */ jsx13(Check, { className: "h-4 w-4" }) })
716
+ children: children ?? /* @__PURE__ */ jsx14(CheckboxPrimitive.Indicator, { className: cn("grid place-content-center"), children: /* @__PURE__ */ jsx14(Check, { className: "h-4 w-4" }) })
659
717
  }
660
718
  ));
661
719
  Checkbox.displayName = CheckboxPrimitive.Root.displayName;
662
- var CheckboxIndicator = React12.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx13(
720
+ var CheckboxIndicator = React13.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx14(
663
721
  CheckboxPrimitive.Indicator,
664
722
  {
665
723
  ref,
666
724
  className: cn("grid place-content-center", className),
667
725
  ...props,
668
- children: children ?? /* @__PURE__ */ jsx13(Check, { className: "h-4 w-4" })
726
+ children: children ?? /* @__PURE__ */ jsx14(Check, { className: "h-4 w-4" })
669
727
  }
670
728
  ));
671
729
  CheckboxIndicator.displayName = CheckboxPrimitive.Indicator.displayName;
672
730
 
673
731
  // src/components/checkbox/Checkbox.tsx
674
- import { jsx as jsx14, jsxs as jsxs4 } from "react/jsx-runtime";
732
+ import { jsx as jsx15, jsxs as jsxs5 } from "react/jsx-runtime";
675
733
  var checkboxVariants = cva7(
676
734
  "inline-flex items-center justify-center rounded-md transition-all duration-200 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50",
677
735
  {
@@ -693,13 +751,13 @@ var checkboxVariants = cva7(
693
751
  }
694
752
  }
695
753
  );
696
- var Checkbox2 = React13.forwardRef(
754
+ var Checkbox2 = React14.forwardRef(
697
755
  ({ className, variant, size, label, description, error, id, disabled, ...props }, ref) => {
698
- const generatedId = React13.useId();
756
+ const generatedId = React14.useId();
699
757
  const checkboxId = id || generatedId;
700
758
  const errorId = `${checkboxId}-error`;
701
- return /* @__PURE__ */ jsxs4("div", { className: "flex items-start gap-3", children: [
702
- /* @__PURE__ */ jsx14("div", { className: "relative flex items-start pt-0.5", children: /* @__PURE__ */ jsx14(
759
+ return /* @__PURE__ */ jsxs5("div", { className: "flex items-start gap-3", children: [
760
+ /* @__PURE__ */ jsx15("div", { className: "relative flex items-start pt-0.5", children: /* @__PURE__ */ jsx15(
703
761
  Checkbox,
704
762
  {
705
763
  ref,
@@ -714,7 +772,7 @@ var Checkbox2 = React13.forwardRef(
714
772
  className
715
773
  ),
716
774
  ...props,
717
- children: /* @__PURE__ */ jsx14(CheckboxPrimitive2.Indicator, { children: /* @__PURE__ */ jsx14(
775
+ children: /* @__PURE__ */ jsx15(CheckboxPrimitive2.Indicator, { children: /* @__PURE__ */ jsx15(
718
776
  Check2,
719
777
  {
720
778
  className: "h-4 w-4 text-current stroke-current",
@@ -723,8 +781,8 @@ var Checkbox2 = React13.forwardRef(
723
781
  ) })
724
782
  }
725
783
  ) }),
726
- (label || description || error) && /* @__PURE__ */ jsxs4("div", { className: "flex flex-col gap-1", children: [
727
- label && /* @__PURE__ */ jsx14(
784
+ (label || description || error) && /* @__PURE__ */ jsxs5("div", { className: "flex flex-col gap-1", children: [
785
+ label && /* @__PURE__ */ jsx15(
728
786
  "label",
729
787
  {
730
788
  htmlFor: checkboxId,
@@ -736,8 +794,8 @@ var Checkbox2 = React13.forwardRef(
736
794
  children: label
737
795
  }
738
796
  ),
739
- description && /* @__PURE__ */ jsx14(Typography, { variant: "xs", color: "muted", children: description }),
740
- error && /* @__PURE__ */ jsx14(Typography, { variant: "xs", id: errorId, className: "text-berget-destructive-foreground", children: error })
797
+ description && /* @__PURE__ */ jsx15(Typography, { variant: "xs", color: "muted", children: description }),
798
+ error && /* @__PURE__ */ jsx15(Typography, { variant: "xs", id: errorId, className: "text-berget-destructive-foreground", children: error })
741
799
  ] })
742
800
  ] });
743
801
  }
@@ -745,10 +803,10 @@ var Checkbox2 = React13.forwardRef(
745
803
  Checkbox2.displayName = "Checkbox";
746
804
 
747
805
  // src/components/switch/Switch.tsx
748
- import * as React14 from "react";
806
+ import * as React15 from "react";
749
807
  import * as SwitchPrimitives from "@radix-ui/react-switch";
750
808
  import { cva as cva8 } from "class-variance-authority";
751
- import { jsx as jsx15, jsxs as jsxs5 } from "react/jsx-runtime";
809
+ import { jsx as jsx16, jsxs as jsxs6 } from "react/jsx-runtime";
752
810
  var switchRootVariants = cva8(
753
811
  "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",
754
812
  {
@@ -785,13 +843,13 @@ var switchThumbVariants = cva8(
785
843
  }
786
844
  }
787
845
  );
788
- var Switch = React14.forwardRef(
846
+ var Switch = React15.forwardRef(
789
847
  ({ className, variant, size, label, description, error, id, disabled, ...props }, ref) => {
790
- const generatedId = React14.useId();
848
+ const generatedId = React15.useId();
791
849
  const switchId = id || generatedId;
792
850
  const errorId = `${switchId}-error`;
793
- return /* @__PURE__ */ jsxs5("div", { className: "flex items-center gap-3", children: [
794
- /* @__PURE__ */ jsx15(
851
+ return /* @__PURE__ */ jsxs6("div", { className: "flex items-center gap-3", children: [
852
+ /* @__PURE__ */ jsx16(
795
853
  SwitchPrimitives.Root,
796
854
  {
797
855
  ref,
@@ -805,11 +863,11 @@ var Switch = React14.forwardRef(
805
863
  className
806
864
  ),
807
865
  ...props,
808
- children: /* @__PURE__ */ jsx15(SwitchPrimitives.Thumb, { className: cn(switchThumbVariants({ size })) })
866
+ children: /* @__PURE__ */ jsx16(SwitchPrimitives.Thumb, { className: cn(switchThumbVariants({ size })) })
809
867
  }
810
868
  ),
811
- (label || description || error) && /* @__PURE__ */ jsxs5("div", { className: "flex flex-col gap-1", children: [
812
- label && /* @__PURE__ */ jsx15(
869
+ (label || description || error) && /* @__PURE__ */ jsxs6("div", { className: "flex flex-col gap-1", children: [
870
+ label && /* @__PURE__ */ jsx16(
813
871
  "label",
814
872
  {
815
873
  htmlFor: switchId,
@@ -820,8 +878,8 @@ var Switch = React14.forwardRef(
820
878
  children: label
821
879
  }
822
880
  ),
823
- description && /* @__PURE__ */ jsx15(Typography, { variant: "xs", color: "muted", children: description }),
824
- error && /* @__PURE__ */ jsx15(Typography, { variant: "xs", id: errorId, className: "text-berget-destructive-foreground", children: error })
881
+ description && /* @__PURE__ */ jsx16(Typography, { variant: "xs", color: "muted", children: description }),
882
+ error && /* @__PURE__ */ jsx16(Typography, { variant: "xs", id: errorId, className: "text-berget-destructive-foreground", children: error })
825
883
  ] })
826
884
  ] });
827
885
  }
@@ -829,17 +887,17 @@ var Switch = React14.forwardRef(
829
887
  Switch.displayName = "Switch";
830
888
 
831
889
  // src/components/select/Select.tsx
832
- import * as React16 from "react";
890
+ import * as React17 from "react";
833
891
  import { cva as cva9 } from "class-variance-authority";
834
892
 
835
893
  // src/primitives/select.tsx
836
- import * as React15 from "react";
894
+ import * as React16 from "react";
837
895
  import * as SelectPrimitive from "@radix-ui/react-select";
838
896
  import { Check as Check3, ChevronDown, ChevronUp } from "lucide-react";
839
- import { jsx as jsx16, jsxs as jsxs6 } from "react/jsx-runtime";
897
+ import { jsx as jsx17, jsxs as jsxs7 } from "react/jsx-runtime";
840
898
  var Select = SelectPrimitive.Root;
841
899
  var SelectValue = SelectPrimitive.Value;
842
- var SelectTrigger = React15.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs6(
900
+ var SelectTrigger = React16.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs7(
843
901
  SelectPrimitive.Trigger,
844
902
  {
845
903
  ref,
@@ -850,32 +908,32 @@ var SelectTrigger = React15.forwardRef(({ className, children, ...props }, ref)
850
908
  ...props,
851
909
  children: [
852
910
  children,
853
- /* @__PURE__ */ jsx16(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ jsx16(ChevronDown, { className: "h-4 w-4 opacity-50" }) })
911
+ /* @__PURE__ */ jsx17(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ jsx17(ChevronDown, { className: "h-4 w-4 opacity-50" }) })
854
912
  ]
855
913
  }
856
914
  ));
857
915
  SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
858
- var SelectScrollUpButton = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx16(
916
+ var SelectScrollUpButton = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx17(
859
917
  SelectPrimitive.ScrollUpButton,
860
918
  {
861
919
  ref,
862
920
  className: cn("flex cursor-default items-center justify-center py-1", className),
863
921
  ...props,
864
- children: /* @__PURE__ */ jsx16(ChevronUp, { className: "h-4 w-4" })
922
+ children: /* @__PURE__ */ jsx17(ChevronUp, { className: "h-4 w-4" })
865
923
  }
866
924
  ));
867
925
  SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
868
- var SelectScrollDownButton = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx16(
926
+ var SelectScrollDownButton = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx17(
869
927
  SelectPrimitive.ScrollDownButton,
870
928
  {
871
929
  ref,
872
930
  className: cn("flex cursor-default items-center justify-center py-1", className),
873
931
  ...props,
874
- children: /* @__PURE__ */ jsx16(ChevronDown, { className: "h-4 w-4" })
932
+ children: /* @__PURE__ */ jsx17(ChevronDown, { className: "h-4 w-4" })
875
933
  }
876
934
  ));
877
935
  SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
878
- var SelectContent = React15.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ jsx16(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsxs6(
936
+ var SelectContent = React16.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ jsx17(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsxs7(
879
937
  SelectPrimitive.Content,
880
938
  {
881
939
  ref,
@@ -887,8 +945,8 @@ var SelectContent = React15.forwardRef(({ className, children, position = "poppe
887
945
  position,
888
946
  ...props,
889
947
  children: [
890
- /* @__PURE__ */ jsx16(SelectScrollUpButton, {}),
891
- /* @__PURE__ */ jsx16(
948
+ /* @__PURE__ */ jsx17(SelectScrollUpButton, {}),
949
+ /* @__PURE__ */ jsx17(
892
950
  SelectPrimitive.Viewport,
893
951
  {
894
952
  className: cn(
@@ -898,12 +956,12 @@ var SelectContent = React15.forwardRef(({ className, children, position = "poppe
898
956
  children
899
957
  }
900
958
  ),
901
- /* @__PURE__ */ jsx16(SelectScrollDownButton, {})
959
+ /* @__PURE__ */ jsx17(SelectScrollDownButton, {})
902
960
  ]
903
961
  }
904
962
  ) }));
905
963
  SelectContent.displayName = SelectPrimitive.Content.displayName;
906
- var SelectLabel = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx16(
964
+ var SelectLabel = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx17(
907
965
  SelectPrimitive.Label,
908
966
  {
909
967
  ref,
@@ -912,7 +970,7 @@ var SelectLabel = React15.forwardRef(({ className, ...props }, ref) => /* @__PUR
912
970
  }
913
971
  ));
914
972
  SelectLabel.displayName = SelectPrimitive.Label.displayName;
915
- var SelectItem = React15.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs6(
973
+ var SelectItem = React16.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs7(
916
974
  SelectPrimitive.Item,
917
975
  {
918
976
  ref,
@@ -922,13 +980,13 @@ var SelectItem = React15.forwardRef(({ className, children, ...props }, ref) =>
922
980
  ),
923
981
  ...props,
924
982
  children: [
925
- /* @__PURE__ */ jsx16("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx16(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx16(Check3, { className: "h-4 w-4" }) }) }),
926
- /* @__PURE__ */ jsx16(SelectPrimitive.ItemText, { children })
983
+ /* @__PURE__ */ jsx17("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx17(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx17(Check3, { className: "h-4 w-4" }) }) }),
984
+ /* @__PURE__ */ jsx17(SelectPrimitive.ItemText, { children })
927
985
  ]
928
986
  }
929
987
  ));
930
988
  SelectItem.displayName = SelectPrimitive.Item.displayName;
931
- var SelectSeparator = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx16(
989
+ var SelectSeparator = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx17(
932
990
  SelectPrimitive.Separator,
933
991
  {
934
992
  ref,
@@ -939,7 +997,7 @@ var SelectSeparator = React15.forwardRef(({ className, ...props }, ref) => /* @_
939
997
  SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
940
998
 
941
999
  // src/components/select/Select.tsx
942
- import { jsx as jsx17, jsxs as jsxs7 } from "react/jsx-runtime";
1000
+ import { jsx as jsx18, jsxs as jsxs8 } from "react/jsx-runtime";
943
1001
  var selectVariants = cva9(
944
1002
  "flex w-full items-center justify-between rounded-berget-xs border bg-card px-4 py-3 text-sm transition-colors duration-200 focus-visible:outline-none focus-visible:ring-0 focus-visible:ring-offset-0 focus-visible:border-berget-form-focus-border disabled:cursor-not-allowed disabled:opacity-50",
945
1003
  {
@@ -962,7 +1020,7 @@ var selectVariants = cva9(
962
1020
  }
963
1021
  }
964
1022
  );
965
- var Select2 = React16.forwardRef(
1023
+ var Select2 = React17.forwardRef(
966
1024
  ({
967
1025
  className,
968
1026
  variant,
@@ -980,12 +1038,12 @@ var Select2 = React16.forwardRef(
980
1038
  name,
981
1039
  required
982
1040
  }, ref) => {
983
- const generatedId = React16.useId();
1041
+ const generatedId = React17.useId();
984
1042
  const selectId = id || generatedId;
985
1043
  const errorId = `${selectId}-error`;
986
1044
  const descriptionId = `${selectId}-description`;
987
- return /* @__PURE__ */ jsxs7("div", { className: "flex flex-col gap-2", children: [
988
- label && /* @__PURE__ */ jsx17(
1045
+ return /* @__PURE__ */ jsxs8("div", { className: "flex flex-col gap-2", children: [
1046
+ label && /* @__PURE__ */ jsx18(
989
1047
  "label",
990
1048
  {
991
1049
  htmlFor: selectId,
@@ -997,7 +1055,7 @@ var Select2 = React16.forwardRef(
997
1055
  children: label
998
1056
  }
999
1057
  ),
1000
- /* @__PURE__ */ jsxs7(
1058
+ /* @__PURE__ */ jsxs8(
1001
1059
  Select,
1002
1060
  {
1003
1061
  value,
@@ -1007,7 +1065,7 @@ var Select2 = React16.forwardRef(
1007
1065
  name,
1008
1066
  required,
1009
1067
  children: [
1010
- /* @__PURE__ */ jsx17(
1068
+ /* @__PURE__ */ jsx18(
1011
1069
  SelectTrigger,
1012
1070
  {
1013
1071
  ref,
@@ -1019,30 +1077,30 @@ var Select2 = React16.forwardRef(
1019
1077
  error && "border-berget-destructive-foreground/50 bg-berget-destructive",
1020
1078
  className
1021
1079
  ),
1022
- children: /* @__PURE__ */ jsx17(SelectValue, { placeholder })
1080
+ children: /* @__PURE__ */ jsx18(SelectValue, { placeholder })
1023
1081
  }
1024
1082
  ),
1025
- /* @__PURE__ */ jsx17(SelectContent, { children: options.map((option) => /* @__PURE__ */ jsx17(SelectItem, { value: option.value, disabled: option.disabled, children: option.label }, option.value)) })
1083
+ /* @__PURE__ */ jsx18(SelectContent, { children: options.map((option) => /* @__PURE__ */ jsx18(SelectItem, { value: option.value, disabled: option.disabled, children: option.label }, option.value)) })
1026
1084
  ]
1027
1085
  }
1028
1086
  ),
1029
- description && /* @__PURE__ */ jsx17(Typography, { variant: "xs", color: "muted", id: descriptionId, children: description }),
1030
- error && /* @__PURE__ */ jsx17(Typography, { variant: "xs", id: errorId, className: "text-berget-destructive-foreground", children: error })
1087
+ description && /* @__PURE__ */ jsx18(Typography, { variant: "xs", color: "muted", id: descriptionId, children: description }),
1088
+ error && /* @__PURE__ */ jsx18(Typography, { variant: "xs", id: errorId, className: "text-berget-destructive-foreground", children: error })
1031
1089
  ] });
1032
1090
  }
1033
1091
  );
1034
1092
  Select2.displayName = "Select";
1035
1093
 
1036
1094
  // src/components/text-area/TextArea.tsx
1037
- import * as React18 from "react";
1095
+ import * as React19 from "react";
1038
1096
  import { cva as cva10 } from "class-variance-authority";
1039
1097
 
1040
1098
  // src/primitives/textarea.tsx
1041
- import * as React17 from "react";
1042
- import { jsx as jsx18 } from "react/jsx-runtime";
1043
- var Textarea = React17.forwardRef(
1099
+ import * as React18 from "react";
1100
+ import { jsx as jsx19 } from "react/jsx-runtime";
1101
+ var Textarea = React18.forwardRef(
1044
1102
  ({ className, ...props }, ref) => {
1045
- return /* @__PURE__ */ jsx18(
1103
+ return /* @__PURE__ */ jsx19(
1046
1104
  "textarea",
1047
1105
  {
1048
1106
  className: cn(
@@ -1058,7 +1116,7 @@ var Textarea = React17.forwardRef(
1058
1116
  Textarea.displayName = "Textarea";
1059
1117
 
1060
1118
  // src/components/text-area/TextArea.tsx
1061
- import { jsx as jsx19, jsxs as jsxs8 } from "react/jsx-runtime";
1119
+ import { jsx as jsx20, jsxs as jsxs9 } from "react/jsx-runtime";
1062
1120
  var textAreaVariants = cva10(
1063
1121
  "rounded-berget-xs bg-card px-4 py-3 transition-colors duration-200 focus-visible:border-berget-form-focus-border focus-visible:ring-0 focus-visible:ring-offset-0 resize-y",
1064
1122
  {
@@ -1081,7 +1139,7 @@ var textAreaVariants = cva10(
1081
1139
  }
1082
1140
  }
1083
1141
  );
1084
- var TextArea = React18.forwardRef(
1142
+ var TextArea = React19.forwardRef(
1085
1143
  ({
1086
1144
  className,
1087
1145
  variant,
@@ -1101,13 +1159,13 @@ var TextArea = React18.forwardRef(
1101
1159
  actionButton,
1102
1160
  ...props
1103
1161
  }, ref) => {
1104
- const generatedId = React18.useId();
1162
+ const generatedId = React19.useId();
1105
1163
  const textareaId = id || generatedId;
1106
1164
  const errorId = `${textareaId}-error`;
1107
1165
  const descriptionId = `${textareaId}-description`;
1108
1166
  const characterCount = typeof value === "string" ? value.length : 0;
1109
- return /* @__PURE__ */ jsxs8("div", { className: "flex flex-col gap-2", children: [
1110
- label && /* @__PURE__ */ jsx19(
1167
+ return /* @__PURE__ */ jsxs9("div", { className: "flex flex-col gap-2", children: [
1168
+ label && /* @__PURE__ */ jsx20(
1111
1169
  "label",
1112
1170
  {
1113
1171
  htmlFor: textareaId,
@@ -1119,9 +1177,9 @@ var TextArea = React18.forwardRef(
1119
1177
  children: label
1120
1178
  }
1121
1179
  ),
1122
- /* @__PURE__ */ jsxs8("div", { className: "relative", children: [
1123
- icon && /* @__PURE__ */ jsx19("div", { className: "absolute left-2 top-1/2 -translate-y-1/2", children: icon }),
1124
- /* @__PURE__ */ jsx19(
1180
+ /* @__PURE__ */ jsxs9("div", { className: "relative", children: [
1181
+ icon && /* @__PURE__ */ jsx20("div", { className: "absolute left-2 top-1/2 -translate-y-1/2", children: icon }),
1182
+ /* @__PURE__ */ jsx20(
1125
1183
  Textarea,
1126
1184
  {
1127
1185
  ref,
@@ -1146,13 +1204,13 @@ var TextArea = React18.forwardRef(
1146
1204
  ...props
1147
1205
  }
1148
1206
  ),
1149
- secondaryIcon && /* @__PURE__ */ jsx19("div", { className: "absolute right-12 top-1/2 -translate-y-1/2", children: secondaryIcon }),
1150
- actionButton && /* @__PURE__ */ jsx19("div", { className: "absolute right-2 top-1/2 -translate-y-1/2", children: actionButton })
1207
+ secondaryIcon && /* @__PURE__ */ jsx20("div", { className: "absolute right-12 top-1/2 -translate-y-1/2", children: secondaryIcon }),
1208
+ actionButton && /* @__PURE__ */ jsx20("div", { className: "absolute right-2 top-1/2 -translate-y-1/2", children: actionButton })
1151
1209
  ] }),
1152
- (description || error || showCount && maxLength) && /* @__PURE__ */ jsxs8("div", { className: "flex items-center justify-between gap-2", children: [
1153
- description && /* @__PURE__ */ jsx19(Typography, { variant: "xs", color: "muted", id: descriptionId, children: description }),
1154
- (error || showCount && maxLength) && /* @__PURE__ */ jsxs8("div", { className: "flex items-center gap-2 ml-auto", children: [
1155
- showCount && maxLength && /* @__PURE__ */ jsxs8(
1210
+ (description || error || showCount && maxLength) && /* @__PURE__ */ jsxs9("div", { className: "flex items-center justify-between gap-2", children: [
1211
+ description && /* @__PURE__ */ jsx20(Typography, { variant: "xs", color: "muted", id: descriptionId, children: description }),
1212
+ (error || showCount && maxLength) && /* @__PURE__ */ jsxs9("div", { className: "flex items-center gap-2 ml-auto", children: [
1213
+ showCount && maxLength && /* @__PURE__ */ jsxs9(
1156
1214
  Typography,
1157
1215
  {
1158
1216
  variant: "xs",
@@ -1166,7 +1224,7 @@ var TextArea = React18.forwardRef(
1166
1224
  ]
1167
1225
  }
1168
1226
  ),
1169
- error && /* @__PURE__ */ jsx19(
1227
+ error && /* @__PURE__ */ jsx20(
1170
1228
  Typography,
1171
1229
  {
1172
1230
  variant: "xs",
@@ -1183,14 +1241,14 @@ var TextArea = React18.forwardRef(
1183
1241
  TextArea.displayName = "TextArea";
1184
1242
 
1185
1243
  // src/primitives/label.tsx
1186
- import * as React19 from "react";
1244
+ import * as React20 from "react";
1187
1245
  import * as LabelPrimitive from "@radix-ui/react-label";
1188
1246
  import { cva as cva11 } from "class-variance-authority";
1189
- import { jsx as jsx20 } from "react/jsx-runtime";
1247
+ import { jsx as jsx21 } from "react/jsx-runtime";
1190
1248
  var labelVariants = cva11(
1191
1249
  "text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
1192
1250
  );
1193
- var Label2 = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx20(LabelPrimitive.Root, { ref, className: cn(labelVariants(), className), ...props }));
1251
+ var Label2 = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx21(LabelPrimitive.Root, { ref, className: cn(labelVariants(), className), ...props }));
1194
1252
  Label2.displayName = LabelPrimitive.Root.displayName;
1195
1253
 
1196
1254
  // src/primitives/field.tsx
@@ -1198,10 +1256,10 @@ import { useMemo as useMemo2 } from "react";
1198
1256
  import { cva as cva12 } from "class-variance-authority";
1199
1257
 
1200
1258
  // src/primitives/separator.tsx
1201
- import * as React20 from "react";
1259
+ import * as React21 from "react";
1202
1260
  import * as SeparatorPrimitive from "@radix-ui/react-separator";
1203
- import { jsx as jsx21 } from "react/jsx-runtime";
1204
- var Separator2 = React20.forwardRef(({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ jsx21(
1261
+ import { jsx as jsx22 } from "react/jsx-runtime";
1262
+ var Separator2 = React21.forwardRef(({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ jsx22(
1205
1263
  SeparatorPrimitive.Root,
1206
1264
  {
1207
1265
  ref,
@@ -1218,9 +1276,9 @@ var Separator2 = React20.forwardRef(({ className, orientation = "horizontal", de
1218
1276
  Separator2.displayName = SeparatorPrimitive.Root.displayName;
1219
1277
 
1220
1278
  // src/primitives/field.tsx
1221
- import { jsx as jsx22, jsxs as jsxs9 } from "react/jsx-runtime";
1279
+ import { jsx as jsx23, jsxs as jsxs10 } from "react/jsx-runtime";
1222
1280
  function FieldSet({ className, ...props }) {
1223
- return /* @__PURE__ */ jsx22(
1281
+ return /* @__PURE__ */ jsx23(
1224
1282
  "fieldset",
1225
1283
  {
1226
1284
  "data-slot": "field-set",
@@ -1238,7 +1296,7 @@ function FieldLegend({
1238
1296
  variant = "legend",
1239
1297
  ...props
1240
1298
  }) {
1241
- return /* @__PURE__ */ jsx22(
1299
+ return /* @__PURE__ */ jsx23(
1242
1300
  "legend",
1243
1301
  {
1244
1302
  "data-slot": "field-legend",
@@ -1254,7 +1312,7 @@ function FieldLegend({
1254
1312
  );
1255
1313
  }
1256
1314
  function FieldGroup({ className, ...props }) {
1257
- return /* @__PURE__ */ jsx22(
1315
+ return /* @__PURE__ */ jsx23(
1258
1316
  "div",
1259
1317
  {
1260
1318
  "data-slot": "field-group",
@@ -1294,7 +1352,7 @@ function Field({
1294
1352
  orientation = "vertical",
1295
1353
  ...props
1296
1354
  }) {
1297
- return /* @__PURE__ */ jsx22(
1355
+ return /* @__PURE__ */ jsx23(
1298
1356
  "div",
1299
1357
  {
1300
1358
  role: "group",
@@ -1306,7 +1364,7 @@ function Field({
1306
1364
  );
1307
1365
  }
1308
1366
  function FieldContent({ className, ...props }) {
1309
- return /* @__PURE__ */ jsx22(
1367
+ return /* @__PURE__ */ jsx23(
1310
1368
  "div",
1311
1369
  {
1312
1370
  "data-slot": "field-content",
@@ -1316,7 +1374,7 @@ function FieldContent({ className, ...props }) {
1316
1374
  );
1317
1375
  }
1318
1376
  function FieldLabel({ className, ...props }) {
1319
- return /* @__PURE__ */ jsx22(
1377
+ return /* @__PURE__ */ jsx23(
1320
1378
  Label2,
1321
1379
  {
1322
1380
  "data-slot": "field-label",
@@ -1331,7 +1389,7 @@ function FieldLabel({ className, ...props }) {
1331
1389
  );
1332
1390
  }
1333
1391
  function FieldTitle({ className, ...props }) {
1334
- return /* @__PURE__ */ jsx22(
1392
+ return /* @__PURE__ */ jsx23(
1335
1393
  "div",
1336
1394
  {
1337
1395
  "data-slot": "field-label",
@@ -1344,7 +1402,7 @@ function FieldTitle({ className, ...props }) {
1344
1402
  );
1345
1403
  }
1346
1404
  function FieldDescription({ className, ...props }) {
1347
- return /* @__PURE__ */ jsx22(
1405
+ return /* @__PURE__ */ jsx23(
1348
1406
  "p",
1349
1407
  {
1350
1408
  "data-slot": "field-description",
@@ -1363,7 +1421,7 @@ function FieldSeparator({
1363
1421
  className,
1364
1422
  ...props
1365
1423
  }) {
1366
- return /* @__PURE__ */ jsxs9(
1424
+ return /* @__PURE__ */ jsxs10(
1367
1425
  "div",
1368
1426
  {
1369
1427
  "data-slot": "field-separator",
@@ -1374,8 +1432,8 @@ function FieldSeparator({
1374
1432
  ),
1375
1433
  ...props,
1376
1434
  children: [
1377
- /* @__PURE__ */ jsx22(Separator2, { className: "absolute inset-0 top-1/2" }),
1378
- children && /* @__PURE__ */ jsx22(
1435
+ /* @__PURE__ */ jsx23(Separator2, { className: "absolute inset-0 top-1/2" }),
1436
+ children && /* @__PURE__ */ jsx23(
1379
1437
  "span",
1380
1438
  {
1381
1439
  className: "bg-berget-background text-berget-muted-foreground relative mx-auto block w-fit px-2",
@@ -1403,12 +1461,12 @@ function FieldError({
1403
1461
  if (errors?.length === 1 && errors[0]?.message) {
1404
1462
  return errors[0].message;
1405
1463
  }
1406
- return /* @__PURE__ */ jsx22("ul", { className: "ml-4 flex list-disc flex-col gap-1", children: errors.map((error, index) => error?.message && /* @__PURE__ */ jsx22("li", { children: error.message }, index)) });
1464
+ return /* @__PURE__ */ jsx23("ul", { className: "ml-4 flex list-disc flex-col gap-1", children: errors.map((error, index) => error?.message && /* @__PURE__ */ jsx23("li", { children: error.message }, index)) });
1407
1465
  }, [children, errors]);
1408
1466
  if (!content) {
1409
1467
  return null;
1410
1468
  }
1411
- return /* @__PURE__ */ jsx22(
1469
+ return /* @__PURE__ */ jsx23(
1412
1470
  "div",
1413
1471
  {
1414
1472
  role: "alert",
@@ -1421,18 +1479,18 @@ function FieldError({
1421
1479
  }
1422
1480
 
1423
1481
  // src/components/link/Link.tsx
1424
- import * as React22 from "react";
1482
+ import * as React23 from "react";
1425
1483
  import { cva as cva13 } from "class-variance-authority";
1426
1484
 
1427
1485
  // src/components/icon/Icon.tsx
1428
- import * as React21 from "react";
1429
- import { jsx as jsx23 } from "react/jsx-runtime";
1486
+ import * as React22 from "react";
1487
+ import { jsx as jsx24 } from "react/jsx-runtime";
1430
1488
  var iconStrokeMap = {
1431
1489
  16: 1.4,
1432
1490
  24: 1.6,
1433
1491
  32: 1.8
1434
1492
  };
1435
- var Icon2 = React21.forwardRef(
1493
+ var Icon2 = React22.forwardRef(
1436
1494
  ({
1437
1495
  icon: IconComponent,
1438
1496
  size,
@@ -1444,7 +1502,7 @@ var Icon2 = React21.forwardRef(
1444
1502
  const strokeWidth = iconStrokeMap[size];
1445
1503
  const sizeClass = size === 16 ? "w-4 h-4" : size === 24 ? "w-6 h-6" : "w-8 h-8";
1446
1504
  const ariaAttributes = ariaLabel ? { "aria-label": ariaLabel } : { "aria-hidden": ariaHidden };
1447
- return /* @__PURE__ */ jsx23(
1505
+ return /* @__PURE__ */ jsx24(
1448
1506
  IconComponent,
1449
1507
  {
1450
1508
  ref,
@@ -1460,7 +1518,7 @@ Icon2.displayName = "Icon";
1460
1518
 
1461
1519
  // src/components/link/Link.tsx
1462
1520
  import { ExternalLink } from "lucide-react";
1463
- import { jsx as jsx24, jsxs as jsxs10 } from "react/jsx-runtime";
1521
+ import { jsx as jsx25, jsxs as jsxs11 } from "react/jsx-runtime";
1464
1522
  var linkVariants = cva13(
1465
1523
  "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",
1466
1524
  {
@@ -1485,7 +1543,7 @@ var linkVariants = cva13(
1485
1543
  }
1486
1544
  }
1487
1545
  );
1488
- var Link = React22.forwardRef(
1546
+ var Link = React23.forwardRef(
1489
1547
  ({
1490
1548
  className,
1491
1549
  variant,
@@ -1498,7 +1556,7 @@ var Link = React22.forwardRef(
1498
1556
  ...props
1499
1557
  }, ref) => {
1500
1558
  const isExternal = external || typeof props.href === "string" && (props.href.startsWith("http://") || props.href.startsWith("https://") || props.href.startsWith("mailto:") || props.href.startsWith("tel:"));
1501
- return /* @__PURE__ */ jsxs10(
1559
+ return /* @__PURE__ */ jsxs11(
1502
1560
  "a",
1503
1561
  {
1504
1562
  ref,
@@ -1514,8 +1572,8 @@ var Link = React22.forwardRef(
1514
1572
  },
1515
1573
  children: [
1516
1574
  children,
1517
- icon && /* @__PURE__ */ jsx24("span", { className: "inline-flex items-center", children: icon }),
1518
- showExternalIcon && isExternal && !disabled && /* @__PURE__ */ jsx24("span", { className: "inline-flex items-center ml-1 opacity-60", "aria-hidden": "true", children: /* @__PURE__ */ jsx24(Icon2, { icon: ExternalLink, size: 16 }) })
1575
+ icon && /* @__PURE__ */ jsx25("span", { className: "inline-flex items-center", children: icon }),
1576
+ showExternalIcon && isExternal && !disabled && /* @__PURE__ */ jsx25("span", { className: "inline-flex items-center ml-1 opacity-60", "aria-hidden": "true", children: /* @__PURE__ */ jsx25(Icon2, { icon: ExternalLink, size: 16 }) })
1519
1577
  ]
1520
1578
  }
1521
1579
  );
@@ -1524,10 +1582,10 @@ var Link = React22.forwardRef(
1524
1582
  Link.displayName = "Link";
1525
1583
 
1526
1584
  // src/components/container/Container.tsx
1527
- import * as React23 from "react";
1585
+ import * as React24 from "react";
1528
1586
  import { Slot as Slot2 } from "@radix-ui/react-slot";
1529
1587
  import { cva as cva14 } from "class-variance-authority";
1530
- import { jsx as jsx25 } from "react/jsx-runtime";
1588
+ import { jsx as jsx26 } from "react/jsx-runtime";
1531
1589
  var containerVariants = cva14("w-full mx-auto", {
1532
1590
  variants: {
1533
1591
  size: {
@@ -1549,10 +1607,10 @@ var containerVariants = cva14("w-full mx-auto", {
1549
1607
  padding: "md"
1550
1608
  }
1551
1609
  });
1552
- var Container = React23.forwardRef(
1610
+ var Container = React24.forwardRef(
1553
1611
  ({ className, size, padding, asChild = false, children, ...props }, ref) => {
1554
1612
  const Component = asChild ? Slot2 : "div";
1555
- return /* @__PURE__ */ jsx25(
1613
+ return /* @__PURE__ */ jsx26(
1556
1614
  Component,
1557
1615
  {
1558
1616
  ref,
@@ -1566,10 +1624,10 @@ var Container = React23.forwardRef(
1566
1624
  Container.displayName = "Container";
1567
1625
 
1568
1626
  // src/components/grid/Grid.tsx
1569
- import * as React24 from "react";
1627
+ import * as React25 from "react";
1570
1628
  import { cva as cva15 } from "class-variance-authority";
1571
1629
  import { Slot as Slot3 } from "@radix-ui/react-slot";
1572
- import { jsx as jsx26 } from "react/jsx-runtime";
1630
+ import { jsx as jsx27 } from "react/jsx-runtime";
1573
1631
  var gridVariants = cva15("grid", {
1574
1632
  variants: {
1575
1633
  align: {
@@ -1592,10 +1650,10 @@ var gridVariants = cva15("grid", {
1592
1650
  justify: "start"
1593
1651
  }
1594
1652
  });
1595
- var Grid = React24.forwardRef(
1653
+ var Grid = React25.forwardRef(
1596
1654
  ({ className, align, justify, cols, rows, gap, gapX, gapY, asChild = false, children, ...props }, ref) => {
1597
1655
  const Component = asChild ? Slot3 : "div";
1598
- return /* @__PURE__ */ jsx26(
1656
+ return /* @__PURE__ */ jsx27(
1599
1657
  Component,
1600
1658
  {
1601
1659
  ref,
@@ -1617,10 +1675,10 @@ var Grid = React24.forwardRef(
1617
1675
  Grid.displayName = "Grid";
1618
1676
 
1619
1677
  // src/components/box/Box.tsx
1620
- import * as React25 from "react";
1678
+ import * as React26 from "react";
1621
1679
  import { cva as cva16 } from "class-variance-authority";
1622
1680
  import { Slot as Slot4 } from "@radix-ui/react-slot";
1623
- import { jsx as jsx27 } from "react/jsx-runtime";
1681
+ import { jsx as jsx28 } from "react/jsx-runtime";
1624
1682
  var boxVariants = cva16("flex", {
1625
1683
  variants: {
1626
1684
  direction: {
@@ -1657,10 +1715,10 @@ var boxVariants = cva16("flex", {
1657
1715
  wrap: "nowrap"
1658
1716
  }
1659
1717
  });
1660
- var Box = React25.forwardRef(
1718
+ var Box = React26.forwardRef(
1661
1719
  ({ className, direction, align, justify, wrap, gap, asChild = false, children, ...props }, ref) => {
1662
1720
  const Component = asChild ? Slot4 : "div";
1663
- return /* @__PURE__ */ jsx27(
1721
+ return /* @__PURE__ */ jsx28(
1664
1722
  Component,
1665
1723
  {
1666
1724
  ref,
@@ -1678,16 +1736,16 @@ var Box = React25.forwardRef(
1678
1736
  Box.displayName = "Box";
1679
1737
 
1680
1738
  // src/components/berget-logo/BergetLogo.tsx
1681
- import * as React26 from "react";
1682
- import { jsx as jsx28, jsxs as jsxs11 } from "react/jsx-runtime";
1683
- var BergetLogo = React26.forwardRef(
1739
+ import * as React27 from "react";
1740
+ import { jsx as jsx29, jsxs as jsxs12 } from "react/jsx-runtime";
1741
+ var BergetLogo = React27.forwardRef(
1684
1742
  ({ variant = "logotype", color = "auto", size = 48, className, ...props }, ref) => {
1685
1743
  const fillColor = color === "auto" ? "var(--berget-logo-light)" : color === "white" ? "var(--berget-logo-light)" : "var(--berget-logo-dark)";
1686
1744
  if (variant === "symbol") {
1687
1745
  const aspectRatio2 = 463 / 419;
1688
1746
  const width2 = size * aspectRatio2;
1689
1747
  const height2 = size;
1690
- return /* @__PURE__ */ jsx28(
1748
+ return /* @__PURE__ */ jsx29(
1691
1749
  "svg",
1692
1750
  {
1693
1751
  ref,
@@ -1700,7 +1758,7 @@ var BergetLogo = React26.forwardRef(
1700
1758
  "aria-label": "Berget symbol",
1701
1759
  className: cn("inline-block", className),
1702
1760
  ...props,
1703
- children: /* @__PURE__ */ jsx28(
1761
+ children: /* @__PURE__ */ jsx29(
1704
1762
  "path",
1705
1763
  {
1706
1764
  d: "M208.739 17L255.261 17L446 403L398 403L313.5 255L261.5 176L233.163 96.1677L237.815 98.6522H226.185L230.837 96.1677L113 331L64.5 403L18 403L208.739 17Z",
@@ -1713,7 +1771,7 @@ var BergetLogo = React26.forwardRef(
1713
1771
  const aspectRatio = 793.63 / 204.37;
1714
1772
  const width = size * aspectRatio;
1715
1773
  const height = size;
1716
- return /* @__PURE__ */ jsxs11(
1774
+ return /* @__PURE__ */ jsxs12(
1717
1775
  "svg",
1718
1776
  {
1719
1777
  ref,
@@ -1727,59 +1785,59 @@ var BergetLogo = React26.forwardRef(
1727
1785
  className: cn("inline-block", className),
1728
1786
  ...props,
1729
1787
  children: [
1730
- /* @__PURE__ */ jsxs11("g", { style: { fill: fillColor }, children: [
1731
- /* @__PURE__ */ jsx28(
1788
+ /* @__PURE__ */ jsxs12("g", { style: { fill: fillColor }, children: [
1789
+ /* @__PURE__ */ jsx29(
1732
1790
  "path",
1733
1791
  {
1734
1792
  className: "berget-logotype-fill",
1735
1793
  d: "M268.78,172.54v-96.04h37.74c10.39,0,18.26,2.33,23.6,7,5.33,4.67,8.01,10.52,8.01,17.56,0,6.13-1.72,11-5.15,14.61-3.43,3.61-7.58,6.06-12.44,7.34,3.81.73,7.22,2.2,10.22,4.39,3.01,2.2,5.36,4.94,7.08,8.23,1.72,3.29,2.58,6.86,2.58,10.7,0,4.94-1.27,9.4-3.79,13.38-2.53,3.98-6.22,7.11-11.08,9.4-4.86,2.29-10.82,3.43-17.87,3.43h-38.89ZM283.93,117.66h20.74c5.81,0,10.24-1.3,13.29-3.91,3.05-2.61,4.58-6.19,4.58-10.77s-1.51-8.05-4.51-10.7c-3-2.65-7.55-3.98-13.65-3.98h-20.45v29.36ZM283.93,160.61h21.74c6.1,0,10.84-1.37,14.22-4.11,3.38-2.75,5.08-6.59,5.08-11.53s-1.76-8.85-5.29-11.73-8.29-4.32-14.3-4.32h-21.45v31.69Z"
1736
1794
  }
1737
1795
  ),
1738
- /* @__PURE__ */ jsx28(
1796
+ /* @__PURE__ */ jsx29(
1739
1797
  "path",
1740
1798
  {
1741
1799
  className: "berget-logotype-fill",
1742
1800
  d: "M382.45,174.19c-6.96,0-13.13-1.49-18.52-4.46-5.39-2.97-9.6-7.11-12.65-12.42-3.05-5.3-4.57-11.48-4.57-18.52s1.5-13.4,4.5-18.79,7.19-9.61,12.58-12.62c5.39-3.02,11.65-4.53,18.81-4.53s13,1.48,18.15,4.46c5.15,2.97,9.16,6.93,12.01,11.87,2.86,4.94,4.29,10.38,4.29,16.33,0,.92-.02,1.9-.07,2.95-.05,1.05-.12,2.22-.22,3.5h-55.19c.48,6.59,2.75,11.59,6.79,15.02,4.05,3.43,8.75,5.14,14.09,5.14,4.29,0,7.89-.93,10.79-2.81,2.91-1.88,5.08-4.41,6.51-7.61h15.16c-1.91,6.4-5.7,11.75-11.37,16.05-5.68,4.3-12.71,6.45-21.09,6.45ZM382.45,114.78c-5.05,0-9.54,1.44-13.44,4.32-3.91,2.88-6.29,7.2-7.15,12.97h40.04c-.29-5.3-2.24-9.51-5.87-12.62-3.62-3.11-8.15-4.67-13.58-4.67Z"
1743
1801
  }
1744
1802
  ),
1745
- /* @__PURE__ */ jsx28(
1803
+ /* @__PURE__ */ jsx29(
1746
1804
  "path",
1747
1805
  {
1748
1806
  className: "berget-logotype-fill",
1749
1807
  d: "M425.62,172.54v-68.05h13.59l1.29,12.9c2.47-4.48,5.93-8.03,10.37-10.63,4.43-2.61,9.79-3.91,16.08-3.91v15.23h-4.15c-4.19,0-7.93.67-11.22,1.99-3.29,1.33-5.91,3.57-7.86,6.72-1.96,3.16-2.93,7.53-2.93,13.1v32.65h-15.16Z"
1750
1808
  }
1751
1809
  ),
1752
- /* @__PURE__ */ jsx28(
1810
+ /* @__PURE__ */ jsx29(
1753
1811
  "path",
1754
1812
  {
1755
1813
  className: "berget-logotype-fill",
1756
1814
  d: "M500.25,151.69c-3.72,0-7.14-.41-10.29-1.24l-6.15,5.76c1.05.64,2.34,1.19,3.86,1.65,1.52.46,3.66.87,6.43,1.23,2.76.37,6.53.73,11.29,1.1,9.43.82,16.25,3,20.44,6.52,4.2,3.52,6.29,8.21,6.29,14.06,0,4.02-1.12,7.84-3.35,11.45-2.24,3.61-5.72,6.54-10.44,8.78s-10.74,3.36-18.09,3.36c-9.91,0-17.94-1.8-24.09-5.42-6.15-3.62-9.22-9.08-9.22-16.4,0-2.84.78-5.65,2.35-8.44,1.57-2.79,4.08-5.42,7.51-7.89-2-.83-3.74-1.72-5.22-2.68-1.48-.96-2.79-1.94-3.94-2.95v-3.29l12.3-12.07c-5.53-4.57-8.29-10.56-8.29-17.97,0-4.48,1.12-8.58,3.36-12.28,2.24-3.7,5.5-6.65,9.79-8.85,4.29-2.2,9.43-3.29,15.44-3.29,4.01,0,7.72.55,11.15,1.64h26.45v9.6l-12.58.69c2.28,3.75,3.43,7.91,3.43,12.49s-1.13,8.69-3.36,12.35c-2.24,3.66-5.48,6.59-9.72,8.78-4.25,2.2-9.37,3.29-15.37,3.29ZM481.24,181.19c0,3.93,1.81,6.88,5.44,8.85,3.62,1.97,8.15,2.95,13.58,2.95s9.48-1.07,12.72-3.22c3.24-2.15,4.86-5,4.86-8.57,0-2.65-1.09-4.92-3.29-6.79-2.19-1.87-6.34-3.04-12.44-3.5-4.57-.27-8.63-.68-12.15-1.23-3.34,1.74-5.63,3.61-6.86,5.63-1.25,2.01-1.86,3.98-1.86,5.9ZM500.25,140.3c4.38,0,7.93-1.12,10.66-3.36,2.71-2.24,4.07-5.42,4.07-9.53s-1.36-7.41-4.07-9.6c-2.72-2.2-6.27-3.29-10.66-3.29s-8.08,1.1-10.79,3.29c-2.71,2.2-4.08,5.4-4.08,9.6s1.36,7.3,4.08,9.53c2.71,2.24,6.31,3.36,10.79,3.36Z"
1757
1815
  }
1758
1816
  ),
1759
- /* @__PURE__ */ jsx28(
1817
+ /* @__PURE__ */ jsx29(
1760
1818
  "path",
1761
1819
  {
1762
1820
  className: "berget-logotype-fill",
1763
1821
  d: "M574.61,174.19c-6.96,0-13.13-1.49-18.52-4.46-5.39-2.97-9.6-7.11-12.65-12.42-3.05-5.3-4.57-11.48-4.57-18.52s1.5-13.4,4.5-18.79c3-5.4,7.19-9.61,12.58-12.62c5.39-3.02,11.65-4.53,18.81-4.53s13,1.48,18.15,4.46c5.15,2.97,9.16,6.93,12.01,11.87,2.86,4.94,4.29,10.38,4.29,16.33,0,.92-.02,1.9-.07,2.95-.05,1.05-.12,2.22-.22,3.5h-55.19c.48,6.59,2.75,11.59,6.79,15.02,4.05,3.43,8.75,5.14,14.09,5.14,4.29,0,7.89-.93,10.79-2.81s5.08-4.41,6.51-7.61h15.16c-1.91,6.4-5.7,11.75-11.37,16.05-5.68,4.3-12.71,6.45-21.09,6.45ZM574.61,114.78c-5.05,0-9.54,1.44-13.44,4.32-3.91,2.88-6.29,7.2-7.15,12.97h40.04c-.29-5.3-2.24-9.51-5.87-12.62-3.62-3.11-8.15-4.67-13.58-4.67Z"
1764
1822
  }
1765
1823
  ),
1766
- /* @__PURE__ */ jsx28(
1824
+ /* @__PURE__ */ jsx29(
1767
1825
  "path",
1768
1826
  {
1769
1827
  className: "berget-logotype-fill",
1770
1828
  d: "M646.23,172.54c-6.96,0-12.49-1.62-16.59-4.87-4.1-3.25-6.15-9.03-6.15-17.36v-33.61h-12.16v-12.21h12.16l1.86-17.29h13.29v17.29h20.02v12.21h-20.02v33.61c0,3.75.84,6.33,2.51,7.75,1.67,1.42,4.55,2.13,8.65,2.13h8.14v12.35h-11.72Z"
1771
1829
  }
1772
1830
  ),
1773
- /* @__PURE__ */ jsx28(
1831
+ /* @__PURE__ */ jsx29(
1774
1832
  "path",
1775
1833
  {
1776
1834
  className: "berget-logotype-fill",
1777
1835
  d: "M684.4,172.54l36.89-96.04h16.59l36.6,96.04h-16.01l-8.58-23.46h-40.88l-8.58,23.46h-16.01ZM713.28,137.56h32.31l-16.16-43.77-16.16,43.77Z"
1778
1836
  }
1779
1837
  ),
1780
- /* @__PURE__ */ jsx28("path", { className: "berget-logotype-fill", d: "M778.48,172.54v-96.04h15.15v96.04h-15.15Z" })
1838
+ /* @__PURE__ */ jsx29("path", { className: "berget-logotype-fill", d: "M778.48,172.54v-96.04h15.15v96.04h-15.15Z" })
1781
1839
  ] }),
1782
- /* @__PURE__ */ jsx28(
1840
+ /* @__PURE__ */ jsx29(
1783
1841
  "path",
1784
1842
  {
1785
1843
  style: { fill: fillColor },
@@ -1794,13 +1852,13 @@ var BergetLogo = React26.forwardRef(
1794
1852
  BergetLogo.displayName = "BergetLogo";
1795
1853
 
1796
1854
  // src/components/language-select/LanguageSelect.tsx
1797
- import * as React27 from "react";
1855
+ import * as React28 from "react";
1798
1856
  import * as SelectPrimitive2 from "@radix-ui/react-select";
1799
1857
  import { Globe } from "lucide-react";
1800
- import { jsx as jsx29, jsxs as jsxs12 } from "react/jsx-runtime";
1801
- var LanguageSelect = React27.forwardRef(({ className, options, value, onValueChange }, ref) => {
1802
- return /* @__PURE__ */ jsxs12(SelectPrimitive2.Root, { value, onValueChange, children: [
1803
- /* @__PURE__ */ jsx29(
1858
+ import { jsx as jsx30, jsxs as jsxs13 } from "react/jsx-runtime";
1859
+ var LanguageSelect = React28.forwardRef(({ className, options, value, onValueChange }, ref) => {
1860
+ return /* @__PURE__ */ jsxs13(SelectPrimitive2.Root, { value, onValueChange, children: [
1861
+ /* @__PURE__ */ jsx30(
1804
1862
  SelectPrimitive2.Trigger,
1805
1863
  {
1806
1864
  ref,
@@ -1822,10 +1880,10 @@ var LanguageSelect = React27.forwardRef(({ className, options, value, onValueCha
1822
1880
  "disabled:cursor-not-allowed disabled:opacity-50",
1823
1881
  className
1824
1882
  ),
1825
- children: /* @__PURE__ */ jsx29(Icon2, { icon: Globe, size: 16 })
1883
+ children: /* @__PURE__ */ jsx30(Icon2, { icon: Globe, size: 16 })
1826
1884
  }
1827
1885
  ),
1828
- /* @__PURE__ */ jsx29(SelectPrimitive2.Portal, { children: /* @__PURE__ */ jsx29(
1886
+ /* @__PURE__ */ jsx30(SelectPrimitive2.Portal, { children: /* @__PURE__ */ jsx30(
1829
1887
  SelectPrimitive2.Content,
1830
1888
  {
1831
1889
  className: cn(
@@ -1853,7 +1911,7 @@ var LanguageSelect = React27.forwardRef(({ className, options, value, onValueCha
1853
1911
  "origin-[--radix-select-content-transform-origin]"
1854
1912
  ),
1855
1913
  position: "popper",
1856
- children: /* @__PURE__ */ jsx29(SelectPrimitive2.Viewport, { className: "p-1", children: options.map((option) => /* @__PURE__ */ jsx29(
1914
+ children: /* @__PURE__ */ jsx30(SelectPrimitive2.Viewport, { className: "p-1", children: options.map((option) => /* @__PURE__ */ jsx30(
1857
1915
  SelectPrimitive2.Item,
1858
1916
  {
1859
1917
  value: option.value,
@@ -1870,7 +1928,7 @@ var LanguageSelect = React27.forwardRef(({ className, options, value, onValueCha
1870
1928
  // Disabled state
1871
1929
  "data-[disabled]:pointer-events-none data-[disabled]:opacity-50"
1872
1930
  ),
1873
- children: /* @__PURE__ */ jsx29(SelectPrimitive2.ItemText, { children: option.label })
1931
+ children: /* @__PURE__ */ jsx30(SelectPrimitive2.ItemText, { children: option.label })
1874
1932
  },
1875
1933
  option.value
1876
1934
  )) })
@@ -1881,12 +1939,12 @@ var LanguageSelect = React27.forwardRef(({ className, options, value, onValueCha
1881
1939
  LanguageSelect.displayName = "LanguageSelect";
1882
1940
 
1883
1941
  // src/components/list/List.tsx
1884
- import * as React29 from "react";
1942
+ import * as React30 from "react";
1885
1943
 
1886
1944
  // src/components/divider/Divider.tsx
1887
- import * as React28 from "react";
1945
+ import * as React29 from "react";
1888
1946
  import { cva as cva17 } from "class-variance-authority";
1889
- import { jsx as jsx30, jsxs as jsxs13 } from "react/jsx-runtime";
1947
+ import { jsx as jsx31, jsxs as jsxs14 } from "react/jsx-runtime";
1890
1948
  var dividerVariants = cva17("", {
1891
1949
  variants: {
1892
1950
  variant: {
@@ -1907,7 +1965,7 @@ var dividerVariants = cva17("", {
1907
1965
  size: "thin"
1908
1966
  }
1909
1967
  });
1910
- var Divider = React28.forwardRef(
1968
+ var Divider = React29.forwardRef(
1911
1969
  ({
1912
1970
  className,
1913
1971
  orientation = "horizontal",
@@ -1918,16 +1976,16 @@ var Divider = React28.forwardRef(
1918
1976
  ...props
1919
1977
  }, ref) => {
1920
1978
  if (label) {
1921
- return /* @__PURE__ */ jsxs13("div", { ref, className: cn("flex items-center w-full", className), ...props, children: [
1922
- labelPosition !== "right" && /* @__PURE__ */ jsx30(
1979
+ return /* @__PURE__ */ jsxs14("div", { ref, className: cn("flex items-center w-full", className), ...props, children: [
1980
+ labelPosition !== "right" && /* @__PURE__ */ jsx31(
1923
1981
  Separator2,
1924
1982
  {
1925
1983
  orientation: "horizontal",
1926
1984
  className: cn(dividerVariants({ variant, size }), "flex-1")
1927
1985
  }
1928
1986
  ),
1929
- /* @__PURE__ */ jsx30(Typography, { variant: "small", color: "muted", className: "px-4 whitespace-nowrap", children: label }),
1930
- labelPosition !== "left" && /* @__PURE__ */ jsx30(
1987
+ /* @__PURE__ */ jsx31(Typography, { variant: "small", color: "muted", className: "px-4 whitespace-nowrap", children: label }),
1988
+ labelPosition !== "left" && /* @__PURE__ */ jsx31(
1931
1989
  Separator2,
1932
1990
  {
1933
1991
  orientation: "horizontal",
@@ -1936,7 +1994,7 @@ var Divider = React28.forwardRef(
1936
1994
  )
1937
1995
  ] });
1938
1996
  }
1939
- return /* @__PURE__ */ jsx30(
1997
+ return /* @__PURE__ */ jsx31(
1940
1998
  Separator2,
1941
1999
  {
1942
2000
  ref,
@@ -1954,19 +2012,19 @@ Divider.displayName = "Divider";
1954
2012
 
1955
2013
  // src/components/list/List.tsx
1956
2014
  import { Check as Check4 } from "lucide-react";
1957
- import { jsx as jsx31, jsxs as jsxs14 } from "react/jsx-runtime";
1958
- var List = React29.forwardRef(
2015
+ import { jsx as jsx32, jsxs as jsxs15 } from "react/jsx-runtime";
2016
+ var List = React30.forwardRef(
1959
2017
  ({ className, children, ...props }, ref) => {
1960
- const childrenArray = React29.Children.toArray(children);
1961
- return /* @__PURE__ */ jsx31("div", { ref, className: cn("flex flex-col", className), ...props, children: childrenArray.map((child, index) => /* @__PURE__ */ jsxs14(React29.Fragment, { children: [
2018
+ const childrenArray = React30.Children.toArray(children);
2019
+ return /* @__PURE__ */ jsx32("div", { ref, className: cn("flex flex-col", className), ...props, children: childrenArray.map((child, index) => /* @__PURE__ */ jsxs15(React30.Fragment, { children: [
1962
2020
  child,
1963
- index < childrenArray.length - 1 && /* @__PURE__ */ jsx31(Divider, { variant: "subtle" })
2021
+ index < childrenArray.length - 1 && /* @__PURE__ */ jsx32(Divider, { variant: "subtle" })
1964
2022
  ] }, index)) });
1965
2023
  }
1966
2024
  );
1967
2025
  List.displayName = "List";
1968
- var ListItem = React29.forwardRef(
1969
- ({ className, icon, children, interactive = true, ...props }, ref) => /* @__PURE__ */ jsxs14(
2026
+ var ListItem = React30.forwardRef(
2027
+ ({ className, icon, children, interactive = true, ...props }, ref) => /* @__PURE__ */ jsxs15(
1970
2028
  "div",
1971
2029
  {
1972
2030
  ref,
@@ -1977,15 +2035,15 @@ var ListItem = React29.forwardRef(
1977
2035
  ),
1978
2036
  ...props,
1979
2037
  children: [
1980
- icon && /* @__PURE__ */ jsx31("div", { className: "flex-shrink-0 flex items-center justify-center", children: icon }),
1981
- /* @__PURE__ */ jsx31("div", { className: "flex-1 min-w-0", children })
2038
+ icon && /* @__PURE__ */ jsx32("div", { className: "flex-shrink-0 flex items-center justify-center", children: icon }),
2039
+ /* @__PURE__ */ jsx32("div", { className: "flex-1 min-w-0", children })
1982
2040
  ]
1983
2041
  }
1984
2042
  )
1985
2043
  );
1986
2044
  ListItem.displayName = "ListItem";
1987
- var ListHeader = React29.forwardRef(
1988
- ({ className, children, ...props }, ref) => /* @__PURE__ */ jsx31(
2045
+ var ListHeader = React30.forwardRef(
2046
+ ({ className, children, ...props }, ref) => /* @__PURE__ */ jsx32(
1989
2047
  "div",
1990
2048
  {
1991
2049
  ref,
@@ -1996,20 +2054,20 @@ var ListHeader = React29.forwardRef(
1996
2054
  )
1997
2055
  );
1998
2056
  ListHeader.displayName = "ListHeader";
1999
- var FeatureList = React29.forwardRef(
2057
+ var FeatureList = React30.forwardRef(
2000
2058
  ({ items, variant = "bullet", className, ...props }, ref) => {
2001
- return /* @__PURE__ */ jsx31("ul", { ref, className: cn("flex flex-col gap-fluid-md", className), ...props, children: items.map((item, index) => /* @__PURE__ */ jsxs14("li", { className: "flex items-start gap-fluid-md", children: [
2002
- variant === "bullet" ? /* @__PURE__ */ jsx31("span", { className: "w-1.5 h-1.5 rounded-full bg-berget-icon-muted flex-shrink-0 mt-2" }) : /* @__PURE__ */ jsx31("div", { className: "flex-shrink-0 mt-0.5", children: /* @__PURE__ */ jsx31(Icon2, { icon: Check4, size: 24, className: "text-berget-logo-light" }) }),
2003
- /* @__PURE__ */ jsx31(Typography, { variant: "body", color: "muted", children: item })
2059
+ return /* @__PURE__ */ jsx32("ul", { ref, className: cn("flex flex-col gap-fluid-md", className), ...props, children: items.map((item, index) => /* @__PURE__ */ jsxs15("li", { className: "flex items-start gap-fluid-md", children: [
2060
+ variant === "bullet" ? /* @__PURE__ */ jsx32("span", { className: "w-1.5 h-1.5 rounded-full bg-berget-icon-muted flex-shrink-0 mt-2" }) : /* @__PURE__ */ jsx32("div", { className: "flex-shrink-0 mt-0.5", children: /* @__PURE__ */ jsx32(Icon2, { icon: Check4, size: 24, className: "text-berget-logo-light" }) }),
2061
+ /* @__PURE__ */ jsx32(Typography, { variant: "body", color: "muted", children: item })
2004
2062
  ] }, index)) });
2005
2063
  }
2006
2064
  );
2007
2065
  FeatureList.displayName = "FeatureList";
2008
2066
 
2009
2067
  // src/components/hero-block/HeroBlock.tsx
2010
- import * as React30 from "react";
2068
+ import * as React31 from "react";
2011
2069
  import { cva as cva18 } from "class-variance-authority";
2012
- import { jsx as jsx32, jsxs as jsxs15 } from "react/jsx-runtime";
2070
+ import { jsx as jsx33, jsxs as jsxs16 } from "react/jsx-runtime";
2013
2071
  var heroBlockVariants = cva18(
2014
2072
  "relative overflow-hidden min-h-[40dvh] flex items-center py-fluid-2xl",
2015
2073
  {
@@ -2030,7 +2088,7 @@ var heroBlockVariants = cva18(
2030
2088
  }
2031
2089
  }
2032
2090
  );
2033
- var HeroBlock = React30.forwardRef(
2091
+ var HeroBlock = React31.forwardRef(
2034
2092
  ({
2035
2093
  className,
2036
2094
  variant,
@@ -2042,26 +2100,26 @@ var HeroBlock = React30.forwardRef(
2042
2100
  actions,
2043
2101
  ...props
2044
2102
  }, ref) => {
2045
- return /* @__PURE__ */ jsx32(
2103
+ return /* @__PURE__ */ jsx33(
2046
2104
  "div",
2047
2105
  {
2048
2106
  ref,
2049
2107
  className: cn(heroBlockVariants({ variant, withPattern }), className),
2050
2108
  ...props,
2051
- children: /* @__PURE__ */ jsx32("div", { className: "mx-auto px-4 sm:px-6 lg:px-8", children: /* @__PURE__ */ jsxs15("div", { className: "mx-auto text-center max-w-4xl", children: [
2052
- tagline && /* @__PURE__ */ jsx32(
2109
+ children: /* @__PURE__ */ jsx33("div", { className: "mx-auto px-4 sm:px-6 lg:px-8", children: /* @__PURE__ */ jsxs16("div", { className: "mx-auto text-center max-w-4xl", children: [
2110
+ tagline && /* @__PURE__ */ jsx33(
2053
2111
  Badge,
2054
2112
  {
2055
2113
  variant: "default",
2056
- icon: TaglineIcon ? /* @__PURE__ */ jsx32(Icon2, { icon: TaglineIcon, size: 16 }) : void 0,
2114
+ icon: TaglineIcon ? /* @__PURE__ */ jsx33(Icon2, { icon: TaglineIcon, size: 16 }) : void 0,
2057
2115
  iconGap: 2,
2058
2116
  className: "mb-fluid-md",
2059
2117
  children: tagline
2060
2118
  }
2061
2119
  ),
2062
- /* @__PURE__ */ jsx32(Typography, { variant: "h1", className: "mb-fluid-md", children: title }),
2063
- /* @__PURE__ */ jsx32(Typography, { variant: "h3", color: "muted", className: "mb-fluid-lg", children: description }),
2064
- actions && /* @__PURE__ */ jsx32("div", { className: "flex flex-wrap gap-fluid-md justify-center", children: actions })
2120
+ /* @__PURE__ */ jsx33(Typography, { variant: "h1", className: "mb-fluid-md", children: title }),
2121
+ /* @__PURE__ */ jsx33(Typography, { variant: "h3", color: "muted", className: "mb-fluid-lg", children: description }),
2122
+ actions && /* @__PURE__ */ jsx33("div", { className: "flex flex-wrap gap-fluid-md justify-center", children: actions })
2065
2123
  ] }) })
2066
2124
  }
2067
2125
  );
@@ -2072,7 +2130,7 @@ HeroBlock.displayName = "HeroBlock";
2072
2130
  // src/components/code-block/CodeBlock.tsx
2073
2131
  import { useState as useState2, useEffect as useEffect2, useCallback as useCallback3 } from "react";
2074
2132
  import { Copy, Check as Check5 } from "lucide-react";
2075
- import { jsx as jsx33, jsxs as jsxs16 } from "react/jsx-runtime";
2133
+ import { jsx as jsx34, jsxs as jsxs17 } from "react/jsx-runtime";
2076
2134
  function CodeBlock({ code, language = "text", title, className }) {
2077
2135
  const [html, setHtml] = useState2(null);
2078
2136
  const [copied, setCopied] = useState2(false);
@@ -2088,16 +2146,16 @@ function CodeBlock({ code, language = "text", title, className }) {
2088
2146
  setCopied(true);
2089
2147
  setTimeout(() => setCopied(false), 2e3);
2090
2148
  }, [code]);
2091
- const copyButton = /* @__PURE__ */ jsx33(
2149
+ const copyButton = /* @__PURE__ */ jsx34(
2092
2150
  "button",
2093
2151
  {
2094
2152
  onClick: handleCopy,
2095
2153
  className: "flex items-center justify-center w-6 h-6 text-berget-muted-foreground hover:text-berget-foreground transition-colors",
2096
2154
  "aria-label": "Copy code",
2097
- children: copied ? /* @__PURE__ */ jsx33(Check5, { className: "w-3.5 h-3.5" }) : /* @__PURE__ */ jsx33(Copy, { className: "w-3.5 h-3.5" })
2155
+ children: copied ? /* @__PURE__ */ jsx34(Check5, { className: "w-3.5 h-3.5" }) : /* @__PURE__ */ jsx34(Copy, { className: "w-3.5 h-3.5" })
2098
2156
  }
2099
2157
  );
2100
- return /* @__PURE__ */ jsxs16(
2158
+ return /* @__PURE__ */ jsxs17(
2101
2159
  "div",
2102
2160
  {
2103
2161
  className: cn(
@@ -2105,25 +2163,25 @@ function CodeBlock({ code, language = "text", title, className }) {
2105
2163
  className
2106
2164
  ),
2107
2165
  children: [
2108
- title && /* @__PURE__ */ jsx33("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__ */ jsx33("span", { className: "text-berget-muted-foreground", children: title }) }),
2109
- /* @__PURE__ */ jsx33("div", { className: "absolute right-2 top-2 z-10", children: copyButton }),
2110
- html ? /* @__PURE__ */ jsx33(
2166
+ title && /* @__PURE__ */ jsx34("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__ */ jsx34("span", { className: "text-berget-muted-foreground", children: title }) }),
2167
+ /* @__PURE__ */ jsx34("div", { className: "absolute right-2 top-2 z-10", children: copyButton }),
2168
+ html ? /* @__PURE__ */ jsx34(
2111
2169
  "div",
2112
2170
  {
2113
2171
  className: "[&_.shiki]:!p-4 [&_.shiki]:!m-0 [&_.shiki]:overflow-x-auto [&_.shiki]:!text-sm [&_.shiki]:!leading-relaxed [&_.shiki]:bg-transparent",
2114
2172
  dangerouslySetInnerHTML: { __html: html }
2115
2173
  }
2116
- ) : /* @__PURE__ */ jsx33("pre", { className: "!p-4 !m-0 overflow-x-auto !text-sm !leading-relaxed text-berget-muted-foreground", children: /* @__PURE__ */ jsx33("code", { children: code }) })
2174
+ ) : /* @__PURE__ */ jsx34("pre", { className: "!p-4 !m-0 overflow-x-auto !text-sm !leading-relaxed text-berget-muted-foreground", children: /* @__PURE__ */ jsx34("code", { children: code }) })
2117
2175
  ]
2118
2176
  }
2119
2177
  );
2120
2178
  }
2121
2179
 
2122
2180
  // src/components/window-frame/WindowFrame.tsx
2123
- import * as React31 from "react";
2181
+ import * as React32 from "react";
2124
2182
  import { useState as useState3 } from "react";
2125
- import { jsx as jsx34, jsxs as jsxs17 } from "react/jsx-runtime";
2126
- var WindowFrame = React31.forwardRef(
2183
+ import { jsx as jsx35, jsxs as jsxs18 } from "react/jsx-runtime";
2184
+ var WindowFrame = React32.forwardRef(
2127
2185
  ({ title = "window", tabs, activeTab, onTabChange, children, className, ...props }, ref) => {
2128
2186
  const [internalActive, setInternalActive] = useState3(tabs?.[0]?.id ?? "");
2129
2187
  const currentTab = activeTab ?? internalActive;
@@ -2134,7 +2192,7 @@ var WindowFrame = React31.forwardRef(
2134
2192
  setInternalActive(id);
2135
2193
  }
2136
2194
  };
2137
- return /* @__PURE__ */ jsxs17(
2195
+ return /* @__PURE__ */ jsxs18(
2138
2196
  "div",
2139
2197
  {
2140
2198
  ref,
@@ -2144,13 +2202,13 @@ var WindowFrame = React31.forwardRef(
2144
2202
  ),
2145
2203
  ...props,
2146
2204
  children: [
2147
- /* @__PURE__ */ jsxs17("div", { className: "flex items-center gap-2 px-4 py-3 border-b border-berget-brand-granite-700 bg-berget-brand-granite-900", children: [
2148
- /* @__PURE__ */ jsxs17("div", { className: "flex items-center gap-2 flex-shrink-0", children: [
2149
- /* @__PURE__ */ jsx34("div", { className: "w-3 h-3 rounded-full bg-[#FF5F56]" }),
2150
- /* @__PURE__ */ jsx34("div", { className: "w-3 h-3 rounded-full bg-[#FFBD2E]" }),
2151
- /* @__PURE__ */ jsx34("div", { className: "w-3 h-3 rounded-full bg-[#27C93F]" })
2205
+ /* @__PURE__ */ jsxs18("div", { className: "flex items-center gap-2 px-4 py-3 border-b border-berget-brand-granite-700 bg-berget-brand-granite-900", children: [
2206
+ /* @__PURE__ */ jsxs18("div", { className: "flex items-center gap-2 flex-shrink-0", children: [
2207
+ /* @__PURE__ */ jsx35("div", { className: "w-3 h-3 rounded-full bg-[#FF5F56]" }),
2208
+ /* @__PURE__ */ jsx35("div", { className: "w-3 h-3 rounded-full bg-[#FFBD2E]" }),
2209
+ /* @__PURE__ */ jsx35("div", { className: "w-3 h-3 rounded-full bg-[#27C93F]" })
2152
2210
  ] }),
2153
- tabs && tabs.length > 0 ? /* @__PURE__ */ jsx34("div", { className: "ml-4 flex items-center gap-1", children: tabs.map((tab) => /* @__PURE__ */ jsx34(
2211
+ tabs && tabs.length > 0 ? /* @__PURE__ */ jsx35("div", { className: "ml-4 flex items-center gap-1", children: tabs.map((tab) => /* @__PURE__ */ jsx35(
2154
2212
  "button",
2155
2213
  {
2156
2214
  type: "button",
@@ -2162,9 +2220,9 @@ var WindowFrame = React31.forwardRef(
2162
2220
  children: tab.label
2163
2221
  },
2164
2222
  tab.id
2165
- )) }) : /* @__PURE__ */ jsx34("span", { className: "ml-4 text-sm font-mono text-berget-brand-moss-400", children: title })
2223
+ )) }) : /* @__PURE__ */ jsx35("span", { className: "ml-4 text-sm font-mono text-berget-brand-moss-400", children: title })
2166
2224
  ] }),
2167
- /* @__PURE__ */ jsx34("div", { children })
2225
+ /* @__PURE__ */ jsx35("div", { children })
2168
2226
  ]
2169
2227
  }
2170
2228
  );
@@ -2188,6 +2246,16 @@ export {
2188
2246
  Checkbox2 as Checkbox,
2189
2247
  CodeBlock,
2190
2248
  Container,
2249
+ Dialog,
2250
+ DialogClose,
2251
+ DialogContent,
2252
+ DialogDescription,
2253
+ DialogFooter,
2254
+ DialogHeader,
2255
+ DialogOverlay,
2256
+ DialogPortal,
2257
+ DialogTitle,
2258
+ DialogTrigger,
2191
2259
  FeatureList,
2192
2260
  Field,
2193
2261
  FieldContent,