@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.cjs CHANGED
@@ -46,6 +46,16 @@ __export(index_exports, {
46
46
  Checkbox: () => Checkbox2,
47
47
  CodeBlock: () => CodeBlock,
48
48
  Container: () => Container,
49
+ Dialog: () => Dialog,
50
+ DialogClose: () => DialogClose,
51
+ DialogContent: () => DialogContent,
52
+ DialogDescription: () => DialogDescription,
53
+ DialogFooter: () => DialogFooter,
54
+ DialogHeader: () => DialogHeader,
55
+ DialogOverlay: () => DialogOverlay,
56
+ DialogPortal: () => DialogPortal,
57
+ DialogTitle: () => DialogTitle,
58
+ DialogTrigger: () => DialogTrigger,
49
59
  FeatureList: () => FeatureList,
50
60
  Field: () => Field,
51
61
  FieldContent: () => FieldContent,
@@ -618,15 +628,73 @@ var Alert2 = React9.forwardRef(
618
628
  );
619
629
  Alert2.displayName = "Alert";
620
630
 
631
+ // src/components/dialog/Dialog.tsx
632
+ var React10 = __toESM(require("react"), 1);
633
+ var DialogPrimitive = __toESM(require("@radix-ui/react-dialog"), 1);
634
+ var import_lucide_react = require("lucide-react");
635
+ var import_jsx_runtime11 = require("react/jsx-runtime");
636
+ var Dialog = DialogPrimitive.Root;
637
+ var DialogTrigger = DialogPrimitive.Trigger;
638
+ var DialogPortal = DialogPrimitive.Portal;
639
+ var DialogClose = DialogPrimitive.Close;
640
+ var DialogOverlay = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
641
+ DialogPrimitive.Overlay,
642
+ {
643
+ ref,
644
+ className: cn(
645
+ "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",
646
+ className
647
+ ),
648
+ ...props
649
+ }
650
+ ));
651
+ DialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
652
+ var DialogContent = React10.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(DialogPortal, { children: [
653
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(DialogOverlay, {}),
654
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
655
+ DialogPrimitive.Content,
656
+ {
657
+ ref,
658
+ className: cn(
659
+ "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%]",
660
+ className
661
+ ),
662
+ ...props,
663
+ children: [
664
+ children,
665
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(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: [
666
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_lucide_react.X, { className: "size-4" }),
667
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "sr-only", children: "Close" })
668
+ ] })
669
+ ]
670
+ }
671
+ )
672
+ ] }));
673
+ DialogContent.displayName = DialogPrimitive.Content.displayName;
674
+ var DialogHeader = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: cn("flex flex-col gap-1.5 text-center sm:text-left", className), ...props });
675
+ DialogHeader.displayName = "DialogHeader";
676
+ var DialogFooter = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
677
+ "div",
678
+ {
679
+ className: cn("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", className),
680
+ ...props
681
+ }
682
+ );
683
+ DialogFooter.displayName = "DialogFooter";
684
+ var DialogTitle = React10.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(DialogPrimitive.Title, { ref, asChild: true, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Typography, { variant: "h5", color: "default", as: "h2", className, children }) }));
685
+ DialogTitle.displayName = DialogPrimitive.Title.displayName;
686
+ var DialogDescription = React10.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(DialogPrimitive.Description, { ref, asChild: true, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Typography, { variant: "small", color: "muted", className, children }) }));
687
+ DialogDescription.displayName = DialogPrimitive.Description.displayName;
688
+
621
689
  // src/components/input/Input.tsx
622
- var React11 = __toESM(require("react"), 1);
690
+ var React12 = __toESM(require("react"), 1);
623
691
 
624
692
  // src/primitives/input.tsx
625
- var React10 = __toESM(require("react"), 1);
626
- var import_jsx_runtime11 = require("react/jsx-runtime");
627
- var Input = React10.forwardRef(
693
+ var React11 = __toESM(require("react"), 1);
694
+ var import_jsx_runtime12 = require("react/jsx-runtime");
695
+ var Input = React11.forwardRef(
628
696
  ({ className, type, ...props }, ref) => {
629
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
697
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
630
698
  "input",
631
699
  {
632
700
  type,
@@ -643,14 +711,14 @@ var Input = React10.forwardRef(
643
711
  Input.displayName = "Input";
644
712
 
645
713
  // src/components/input/Input.tsx
646
- var import_jsx_runtime12 = require("react/jsx-runtime");
647
- var Input2 = React11.forwardRef(
714
+ var import_jsx_runtime13 = require("react/jsx-runtime");
715
+ var Input2 = React12.forwardRef(
648
716
  ({ className, icon, actionButton, label, description, error, id, disabled, ...props }, ref) => {
649
- const generatedId = React11.useId();
717
+ const generatedId = React12.useId();
650
718
  const inputId = id || generatedId;
651
719
  const errorId = `${inputId}-error`;
652
720
  const descriptionId = `${inputId}-description`;
653
- const inputElement = /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
721
+ const inputElement = /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
654
722
  Input,
655
723
  {
656
724
  ref,
@@ -670,8 +738,8 @@ var Input2 = React11.forwardRef(
670
738
  }
671
739
  );
672
740
  if (!icon && !actionButton) {
673
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "flex flex-col gap-2", children: [
674
- label && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
741
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: "flex flex-col gap-2", children: [
742
+ label && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
675
743
  "label",
676
744
  {
677
745
  htmlFor: inputId,
@@ -684,9 +752,9 @@ var Input2 = React11.forwardRef(
684
752
  }
685
753
  ),
686
754
  inputElement,
687
- (description || error) && /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "flex flex-col gap-1", children: [
688
- description && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Typography, { variant: "xs", color: "muted", id: descriptionId, children: description }),
689
- error && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
755
+ (description || error) && /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: "flex flex-col gap-1", children: [
756
+ description && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Typography, { variant: "xs", color: "muted", id: descriptionId, children: description }),
757
+ error && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
690
758
  Typography,
691
759
  {
692
760
  variant: "xs",
@@ -698,8 +766,8 @@ var Input2 = React11.forwardRef(
698
766
  ] })
699
767
  ] });
700
768
  }
701
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "flex flex-col gap-2", children: [
702
- label && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
769
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: "flex flex-col gap-2", children: [
770
+ label && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
703
771
  "label",
704
772
  {
705
773
  htmlFor: inputId,
@@ -711,14 +779,14 @@ var Input2 = React11.forwardRef(
711
779
  children: label
712
780
  }
713
781
  ),
714
- /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "relative w-full", children: [
715
- icon && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "absolute left-3 top-1/2 -translate-y-1/2", children: icon }),
782
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: "relative w-full", children: [
783
+ icon && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "absolute left-3 top-1/2 -translate-y-1/2", children: icon }),
716
784
  inputElement,
717
- actionButton && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "absolute right-2 top-1/2 -translate-y-1/2", children: actionButton })
785
+ actionButton && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "absolute right-2 top-1/2 -translate-y-1/2", children: actionButton })
718
786
  ] }),
719
- (description || error) && /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "flex flex-col gap-1", children: [
720
- description && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Typography, { variant: "xs", color: "muted", id: descriptionId, children: description }),
721
- error && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Typography, { variant: "xs", id: errorId, className: "text-berget-destructive-foreground", children: error })
787
+ (description || error) && /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: "flex flex-col gap-1", children: [
788
+ description && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Typography, { variant: "xs", color: "muted", id: descriptionId, children: description }),
789
+ error && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Typography, { variant: "xs", id: errorId, className: "text-berget-destructive-foreground", children: error })
722
790
  ] })
723
791
  ] });
724
792
  }
@@ -726,17 +794,17 @@ var Input2 = React11.forwardRef(
726
794
  Input2.displayName = "Input";
727
795
 
728
796
  // src/components/checkbox/Checkbox.tsx
729
- var React13 = __toESM(require("react"), 1);
797
+ var React14 = __toESM(require("react"), 1);
730
798
  var CheckboxPrimitive2 = __toESM(require("@radix-ui/react-checkbox"), 1);
731
- var import_lucide_react2 = require("lucide-react");
799
+ var import_lucide_react3 = require("lucide-react");
732
800
  var import_class_variance_authority7 = require("class-variance-authority");
733
801
 
734
802
  // src/primitives/checkbox.tsx
735
- var React12 = __toESM(require("react"), 1);
803
+ var React13 = __toESM(require("react"), 1);
736
804
  var CheckboxPrimitive = __toESM(require("@radix-ui/react-checkbox"), 1);
737
- var import_lucide_react = require("lucide-react");
738
- var import_jsx_runtime13 = require("react/jsx-runtime");
739
- var Checkbox = React12.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
805
+ var import_lucide_react2 = require("lucide-react");
806
+ var import_jsx_runtime14 = require("react/jsx-runtime");
807
+ var Checkbox = React13.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
740
808
  CheckboxPrimitive.Root,
741
809
  {
742
810
  ref,
@@ -745,23 +813,23 @@ var Checkbox = React12.forwardRef(({ className, children, ...props }, ref) => /*
745
813
  className
746
814
  ),
747
815
  ...props,
748
- children: children ?? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(CheckboxPrimitive.Indicator, { className: cn("grid place-content-center"), children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_lucide_react.Check, { className: "h-4 w-4" }) })
816
+ children: children ?? /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(CheckboxPrimitive.Indicator, { className: cn("grid place-content-center"), children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_lucide_react2.Check, { className: "h-4 w-4" }) })
749
817
  }
750
818
  ));
751
819
  Checkbox.displayName = CheckboxPrimitive.Root.displayName;
752
- var CheckboxIndicator = React12.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
820
+ var CheckboxIndicator = React13.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
753
821
  CheckboxPrimitive.Indicator,
754
822
  {
755
823
  ref,
756
824
  className: cn("grid place-content-center", className),
757
825
  ...props,
758
- children: children ?? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_lucide_react.Check, { className: "h-4 w-4" })
826
+ children: children ?? /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_lucide_react2.Check, { className: "h-4 w-4" })
759
827
  }
760
828
  ));
761
829
  CheckboxIndicator.displayName = CheckboxPrimitive.Indicator.displayName;
762
830
 
763
831
  // src/components/checkbox/Checkbox.tsx
764
- var import_jsx_runtime14 = require("react/jsx-runtime");
832
+ var import_jsx_runtime15 = require("react/jsx-runtime");
765
833
  var checkboxVariants = (0, import_class_variance_authority7.cva)(
766
834
  "inline-flex items-center justify-center rounded-md transition-all duration-200 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50",
767
835
  {
@@ -783,13 +851,13 @@ var checkboxVariants = (0, import_class_variance_authority7.cva)(
783
851
  }
784
852
  }
785
853
  );
786
- var Checkbox2 = React13.forwardRef(
854
+ var Checkbox2 = React14.forwardRef(
787
855
  ({ className, variant, size, label, description, error, id, disabled, ...props }, ref) => {
788
- const generatedId = React13.useId();
856
+ const generatedId = React14.useId();
789
857
  const checkboxId = id || generatedId;
790
858
  const errorId = `${checkboxId}-error`;
791
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "flex items-start gap-3", children: [
792
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "relative flex items-start pt-0.5", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
859
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "flex items-start gap-3", children: [
860
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: "relative flex items-start pt-0.5", children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
793
861
  Checkbox,
794
862
  {
795
863
  ref,
@@ -804,8 +872,8 @@ var Checkbox2 = React13.forwardRef(
804
872
  className
805
873
  ),
806
874
  ...props,
807
- children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(CheckboxPrimitive2.Indicator, { children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
808
- import_lucide_react2.Check,
875
+ children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(CheckboxPrimitive2.Indicator, { children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
876
+ import_lucide_react3.Check,
809
877
  {
810
878
  className: "h-4 w-4 text-current stroke-current",
811
879
  style: { color: "currentColor", stroke: "currentColor" }
@@ -813,8 +881,8 @@ var Checkbox2 = React13.forwardRef(
813
881
  ) })
814
882
  }
815
883
  ) }),
816
- (label || description || error) && /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "flex flex-col gap-1", children: [
817
- label && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
884
+ (label || description || error) && /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "flex flex-col gap-1", children: [
885
+ label && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
818
886
  "label",
819
887
  {
820
888
  htmlFor: checkboxId,
@@ -826,8 +894,8 @@ var Checkbox2 = React13.forwardRef(
826
894
  children: label
827
895
  }
828
896
  ),
829
- description && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Typography, { variant: "xs", color: "muted", children: description }),
830
- error && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Typography, { variant: "xs", id: errorId, className: "text-berget-destructive-foreground", children: error })
897
+ description && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Typography, { variant: "xs", color: "muted", children: description }),
898
+ error && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Typography, { variant: "xs", id: errorId, className: "text-berget-destructive-foreground", children: error })
831
899
  ] })
832
900
  ] });
833
901
  }
@@ -835,10 +903,10 @@ var Checkbox2 = React13.forwardRef(
835
903
  Checkbox2.displayName = "Checkbox";
836
904
 
837
905
  // src/components/switch/Switch.tsx
838
- var React14 = __toESM(require("react"), 1);
906
+ var React15 = __toESM(require("react"), 1);
839
907
  var SwitchPrimitives = __toESM(require("@radix-ui/react-switch"), 1);
840
908
  var import_class_variance_authority8 = require("class-variance-authority");
841
- var import_jsx_runtime15 = require("react/jsx-runtime");
909
+ var import_jsx_runtime16 = require("react/jsx-runtime");
842
910
  var switchRootVariants = (0, import_class_variance_authority8.cva)(
843
911
  "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",
844
912
  {
@@ -875,13 +943,13 @@ var switchThumbVariants = (0, import_class_variance_authority8.cva)(
875
943
  }
876
944
  }
877
945
  );
878
- var Switch = React14.forwardRef(
946
+ var Switch = React15.forwardRef(
879
947
  ({ className, variant, size, label, description, error, id, disabled, ...props }, ref) => {
880
- const generatedId = React14.useId();
948
+ const generatedId = React15.useId();
881
949
  const switchId = id || generatedId;
882
950
  const errorId = `${switchId}-error`;
883
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "flex items-center gap-3", children: [
884
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
951
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "flex items-center gap-3", children: [
952
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
885
953
  SwitchPrimitives.Root,
886
954
  {
887
955
  ref,
@@ -895,11 +963,11 @@ var Switch = React14.forwardRef(
895
963
  className
896
964
  ),
897
965
  ...props,
898
- children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(SwitchPrimitives.Thumb, { className: cn(switchThumbVariants({ size })) })
966
+ children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(SwitchPrimitives.Thumb, { className: cn(switchThumbVariants({ size })) })
899
967
  }
900
968
  ),
901
- (label || description || error) && /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "flex flex-col gap-1", children: [
902
- label && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
969
+ (label || description || error) && /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "flex flex-col gap-1", children: [
970
+ label && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
903
971
  "label",
904
972
  {
905
973
  htmlFor: switchId,
@@ -910,8 +978,8 @@ var Switch = React14.forwardRef(
910
978
  children: label
911
979
  }
912
980
  ),
913
- description && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Typography, { variant: "xs", color: "muted", children: description }),
914
- error && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Typography, { variant: "xs", id: errorId, className: "text-berget-destructive-foreground", children: error })
981
+ description && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Typography, { variant: "xs", color: "muted", children: description }),
982
+ error && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Typography, { variant: "xs", id: errorId, className: "text-berget-destructive-foreground", children: error })
915
983
  ] })
916
984
  ] });
917
985
  }
@@ -919,17 +987,17 @@ var Switch = React14.forwardRef(
919
987
  Switch.displayName = "Switch";
920
988
 
921
989
  // src/components/select/Select.tsx
922
- var React16 = __toESM(require("react"), 1);
990
+ var React17 = __toESM(require("react"), 1);
923
991
  var import_class_variance_authority9 = require("class-variance-authority");
924
992
 
925
993
  // src/primitives/select.tsx
926
- var React15 = __toESM(require("react"), 1);
994
+ var React16 = __toESM(require("react"), 1);
927
995
  var SelectPrimitive = __toESM(require("@radix-ui/react-select"), 1);
928
- var import_lucide_react3 = require("lucide-react");
929
- var import_jsx_runtime16 = require("react/jsx-runtime");
996
+ var import_lucide_react4 = require("lucide-react");
997
+ var import_jsx_runtime17 = require("react/jsx-runtime");
930
998
  var Select = SelectPrimitive.Root;
931
999
  var SelectValue = SelectPrimitive.Value;
932
- var SelectTrigger = React15.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
1000
+ var SelectTrigger = React16.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
933
1001
  SelectPrimitive.Trigger,
934
1002
  {
935
1003
  ref,
@@ -940,32 +1008,32 @@ var SelectTrigger = React15.forwardRef(({ className, children, ...props }, ref)
940
1008
  ...props,
941
1009
  children: [
942
1010
  children,
943
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react3.ChevronDown, { className: "h-4 w-4 opacity-50" }) })
1011
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_lucide_react4.ChevronDown, { className: "h-4 w-4 opacity-50" }) })
944
1012
  ]
945
1013
  }
946
1014
  ));
947
1015
  SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
948
- var SelectScrollUpButton = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1016
+ var SelectScrollUpButton = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
949
1017
  SelectPrimitive.ScrollUpButton,
950
1018
  {
951
1019
  ref,
952
1020
  className: cn("flex cursor-default items-center justify-center py-1", className),
953
1021
  ...props,
954
- children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react3.ChevronUp, { className: "h-4 w-4" })
1022
+ children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_lucide_react4.ChevronUp, { className: "h-4 w-4" })
955
1023
  }
956
1024
  ));
957
1025
  SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
958
- var SelectScrollDownButton = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1026
+ var SelectScrollDownButton = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
959
1027
  SelectPrimitive.ScrollDownButton,
960
1028
  {
961
1029
  ref,
962
1030
  className: cn("flex cursor-default items-center justify-center py-1", className),
963
1031
  ...props,
964
- children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react3.ChevronDown, { className: "h-4 w-4" })
1032
+ children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_lucide_react4.ChevronDown, { className: "h-4 w-4" })
965
1033
  }
966
1034
  ));
967
1035
  SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
968
- var SelectContent = React15.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(SelectPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
1036
+ var SelectContent = React16.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(SelectPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
969
1037
  SelectPrimitive.Content,
970
1038
  {
971
1039
  ref,
@@ -977,8 +1045,8 @@ var SelectContent = React15.forwardRef(({ className, children, position = "poppe
977
1045
  position,
978
1046
  ...props,
979
1047
  children: [
980
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(SelectScrollUpButton, {}),
981
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1048
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(SelectScrollUpButton, {}),
1049
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
982
1050
  SelectPrimitive.Viewport,
983
1051
  {
984
1052
  className: cn(
@@ -988,12 +1056,12 @@ var SelectContent = React15.forwardRef(({ className, children, position = "poppe
988
1056
  children
989
1057
  }
990
1058
  ),
991
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(SelectScrollDownButton, {})
1059
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(SelectScrollDownButton, {})
992
1060
  ]
993
1061
  }
994
1062
  ) }));
995
1063
  SelectContent.displayName = SelectPrimitive.Content.displayName;
996
- var SelectLabel = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1064
+ var SelectLabel = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
997
1065
  SelectPrimitive.Label,
998
1066
  {
999
1067
  ref,
@@ -1002,7 +1070,7 @@ var SelectLabel = React15.forwardRef(({ className, ...props }, ref) => /* @__PUR
1002
1070
  }
1003
1071
  ));
1004
1072
  SelectLabel.displayName = SelectPrimitive.Label.displayName;
1005
- var SelectItem = React15.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
1073
+ var SelectItem = React16.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
1006
1074
  SelectPrimitive.Item,
1007
1075
  {
1008
1076
  ref,
@@ -1012,13 +1080,13 @@ var SelectItem = React15.forwardRef(({ className, children, ...props }, ref) =>
1012
1080
  ),
1013
1081
  ...props,
1014
1082
  children: [
1015
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react3.Check, { className: "h-4 w-4" }) }) }),
1016
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(SelectPrimitive.ItemText, { children })
1083
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_lucide_react4.Check, { className: "h-4 w-4" }) }) }),
1084
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(SelectPrimitive.ItemText, { children })
1017
1085
  ]
1018
1086
  }
1019
1087
  ));
1020
1088
  SelectItem.displayName = SelectPrimitive.Item.displayName;
1021
- var SelectSeparator = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1089
+ var SelectSeparator = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1022
1090
  SelectPrimitive.Separator,
1023
1091
  {
1024
1092
  ref,
@@ -1029,7 +1097,7 @@ var SelectSeparator = React15.forwardRef(({ className, ...props }, ref) => /* @_
1029
1097
  SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
1030
1098
 
1031
1099
  // src/components/select/Select.tsx
1032
- var import_jsx_runtime17 = require("react/jsx-runtime");
1100
+ var import_jsx_runtime18 = require("react/jsx-runtime");
1033
1101
  var selectVariants = (0, import_class_variance_authority9.cva)(
1034
1102
  "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",
1035
1103
  {
@@ -1052,7 +1120,7 @@ var selectVariants = (0, import_class_variance_authority9.cva)(
1052
1120
  }
1053
1121
  }
1054
1122
  );
1055
- var Select2 = React16.forwardRef(
1123
+ var Select2 = React17.forwardRef(
1056
1124
  ({
1057
1125
  className,
1058
1126
  variant,
@@ -1070,12 +1138,12 @@ var Select2 = React16.forwardRef(
1070
1138
  name,
1071
1139
  required
1072
1140
  }, ref) => {
1073
- const generatedId = React16.useId();
1141
+ const generatedId = React17.useId();
1074
1142
  const selectId = id || generatedId;
1075
1143
  const errorId = `${selectId}-error`;
1076
1144
  const descriptionId = `${selectId}-description`;
1077
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: "flex flex-col gap-2", children: [
1078
- label && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1145
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "flex flex-col gap-2", children: [
1146
+ label && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1079
1147
  "label",
1080
1148
  {
1081
1149
  htmlFor: selectId,
@@ -1087,7 +1155,7 @@ var Select2 = React16.forwardRef(
1087
1155
  children: label
1088
1156
  }
1089
1157
  ),
1090
- /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
1158
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
1091
1159
  Select,
1092
1160
  {
1093
1161
  value,
@@ -1097,7 +1165,7 @@ var Select2 = React16.forwardRef(
1097
1165
  name,
1098
1166
  required,
1099
1167
  children: [
1100
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1168
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1101
1169
  SelectTrigger,
1102
1170
  {
1103
1171
  ref,
@@ -1109,30 +1177,30 @@ var Select2 = React16.forwardRef(
1109
1177
  error && "border-berget-destructive-foreground/50 bg-berget-destructive",
1110
1178
  className
1111
1179
  ),
1112
- children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(SelectValue, { placeholder })
1180
+ children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(SelectValue, { placeholder })
1113
1181
  }
1114
1182
  ),
1115
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(SelectContent, { children: options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(SelectItem, { value: option.value, disabled: option.disabled, children: option.label }, option.value)) })
1183
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(SelectContent, { children: options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(SelectItem, { value: option.value, disabled: option.disabled, children: option.label }, option.value)) })
1116
1184
  ]
1117
1185
  }
1118
1186
  ),
1119
- description && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Typography, { variant: "xs", color: "muted", id: descriptionId, children: description }),
1120
- error && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Typography, { variant: "xs", id: errorId, className: "text-berget-destructive-foreground", children: error })
1187
+ description && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Typography, { variant: "xs", color: "muted", id: descriptionId, children: description }),
1188
+ error && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Typography, { variant: "xs", id: errorId, className: "text-berget-destructive-foreground", children: error })
1121
1189
  ] });
1122
1190
  }
1123
1191
  );
1124
1192
  Select2.displayName = "Select";
1125
1193
 
1126
1194
  // src/components/text-area/TextArea.tsx
1127
- var React18 = __toESM(require("react"), 1);
1195
+ var React19 = __toESM(require("react"), 1);
1128
1196
  var import_class_variance_authority10 = require("class-variance-authority");
1129
1197
 
1130
1198
  // src/primitives/textarea.tsx
1131
- var React17 = __toESM(require("react"), 1);
1132
- var import_jsx_runtime18 = require("react/jsx-runtime");
1133
- var Textarea = React17.forwardRef(
1199
+ var React18 = __toESM(require("react"), 1);
1200
+ var import_jsx_runtime19 = require("react/jsx-runtime");
1201
+ var Textarea = React18.forwardRef(
1134
1202
  ({ className, ...props }, ref) => {
1135
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1203
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1136
1204
  "textarea",
1137
1205
  {
1138
1206
  className: cn(
@@ -1148,7 +1216,7 @@ var Textarea = React17.forwardRef(
1148
1216
  Textarea.displayName = "Textarea";
1149
1217
 
1150
1218
  // src/components/text-area/TextArea.tsx
1151
- var import_jsx_runtime19 = require("react/jsx-runtime");
1219
+ var import_jsx_runtime20 = require("react/jsx-runtime");
1152
1220
  var textAreaVariants = (0, import_class_variance_authority10.cva)(
1153
1221
  "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",
1154
1222
  {
@@ -1171,7 +1239,7 @@ var textAreaVariants = (0, import_class_variance_authority10.cva)(
1171
1239
  }
1172
1240
  }
1173
1241
  );
1174
- var TextArea = React18.forwardRef(
1242
+ var TextArea = React19.forwardRef(
1175
1243
  ({
1176
1244
  className,
1177
1245
  variant,
@@ -1191,13 +1259,13 @@ var TextArea = React18.forwardRef(
1191
1259
  actionButton,
1192
1260
  ...props
1193
1261
  }, ref) => {
1194
- const generatedId = React18.useId();
1262
+ const generatedId = React19.useId();
1195
1263
  const textareaId = id || generatedId;
1196
1264
  const errorId = `${textareaId}-error`;
1197
1265
  const descriptionId = `${textareaId}-description`;
1198
1266
  const characterCount = typeof value === "string" ? value.length : 0;
1199
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { className: "flex flex-col gap-2", children: [
1200
- label && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1267
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "flex flex-col gap-2", children: [
1268
+ label && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1201
1269
  "label",
1202
1270
  {
1203
1271
  htmlFor: textareaId,
@@ -1209,9 +1277,9 @@ var TextArea = React18.forwardRef(
1209
1277
  children: label
1210
1278
  }
1211
1279
  ),
1212
- /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { className: "relative", children: [
1213
- icon && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "absolute left-2 top-1/2 -translate-y-1/2", children: icon }),
1214
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1280
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "relative", children: [
1281
+ icon && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "absolute left-2 top-1/2 -translate-y-1/2", children: icon }),
1282
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1215
1283
  Textarea,
1216
1284
  {
1217
1285
  ref,
@@ -1236,13 +1304,13 @@ var TextArea = React18.forwardRef(
1236
1304
  ...props
1237
1305
  }
1238
1306
  ),
1239
- secondaryIcon && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "absolute right-12 top-1/2 -translate-y-1/2", children: secondaryIcon }),
1240
- actionButton && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "absolute right-2 top-1/2 -translate-y-1/2", children: actionButton })
1307
+ secondaryIcon && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "absolute right-12 top-1/2 -translate-y-1/2", children: secondaryIcon }),
1308
+ actionButton && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "absolute right-2 top-1/2 -translate-y-1/2", children: actionButton })
1241
1309
  ] }),
1242
- (description || error || showCount && maxLength) && /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { className: "flex items-center justify-between gap-2", children: [
1243
- description && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Typography, { variant: "xs", color: "muted", id: descriptionId, children: description }),
1244
- (error || showCount && maxLength) && /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { className: "flex items-center gap-2 ml-auto", children: [
1245
- showCount && maxLength && /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
1310
+ (description || error || showCount && maxLength) && /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "flex items-center justify-between gap-2", children: [
1311
+ description && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Typography, { variant: "xs", color: "muted", id: descriptionId, children: description }),
1312
+ (error || showCount && maxLength) && /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "flex items-center gap-2 ml-auto", children: [
1313
+ showCount && maxLength && /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
1246
1314
  Typography,
1247
1315
  {
1248
1316
  variant: "xs",
@@ -1256,7 +1324,7 @@ var TextArea = React18.forwardRef(
1256
1324
  ]
1257
1325
  }
1258
1326
  ),
1259
- error && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1327
+ error && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1260
1328
  Typography,
1261
1329
  {
1262
1330
  variant: "xs",
@@ -1273,14 +1341,14 @@ var TextArea = React18.forwardRef(
1273
1341
  TextArea.displayName = "TextArea";
1274
1342
 
1275
1343
  // src/primitives/label.tsx
1276
- var React19 = __toESM(require("react"), 1);
1344
+ var React20 = __toESM(require("react"), 1);
1277
1345
  var LabelPrimitive = __toESM(require("@radix-ui/react-label"), 1);
1278
1346
  var import_class_variance_authority11 = require("class-variance-authority");
1279
- var import_jsx_runtime20 = require("react/jsx-runtime");
1347
+ var import_jsx_runtime21 = require("react/jsx-runtime");
1280
1348
  var labelVariants = (0, import_class_variance_authority11.cva)(
1281
1349
  "text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
1282
1350
  );
1283
- var Label2 = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(LabelPrimitive.Root, { ref, className: cn(labelVariants(), className), ...props }));
1351
+ var Label2 = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(LabelPrimitive.Root, { ref, className: cn(labelVariants(), className), ...props }));
1284
1352
  Label2.displayName = LabelPrimitive.Root.displayName;
1285
1353
 
1286
1354
  // src/primitives/field.tsx
@@ -1288,10 +1356,10 @@ var import_react = require("react");
1288
1356
  var import_class_variance_authority12 = require("class-variance-authority");
1289
1357
 
1290
1358
  // src/primitives/separator.tsx
1291
- var React20 = __toESM(require("react"), 1);
1359
+ var React21 = __toESM(require("react"), 1);
1292
1360
  var SeparatorPrimitive = __toESM(require("@radix-ui/react-separator"), 1);
1293
- var import_jsx_runtime21 = require("react/jsx-runtime");
1294
- var Separator2 = React20.forwardRef(({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1361
+ var import_jsx_runtime22 = require("react/jsx-runtime");
1362
+ var Separator2 = React21.forwardRef(({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1295
1363
  SeparatorPrimitive.Root,
1296
1364
  {
1297
1365
  ref,
@@ -1308,9 +1376,9 @@ var Separator2 = React20.forwardRef(({ className, orientation = "horizontal", de
1308
1376
  Separator2.displayName = SeparatorPrimitive.Root.displayName;
1309
1377
 
1310
1378
  // src/primitives/field.tsx
1311
- var import_jsx_runtime22 = require("react/jsx-runtime");
1379
+ var import_jsx_runtime23 = require("react/jsx-runtime");
1312
1380
  function FieldSet({ className, ...props }) {
1313
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1381
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1314
1382
  "fieldset",
1315
1383
  {
1316
1384
  "data-slot": "field-set",
@@ -1328,7 +1396,7 @@ function FieldLegend({
1328
1396
  variant = "legend",
1329
1397
  ...props
1330
1398
  }) {
1331
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1399
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1332
1400
  "legend",
1333
1401
  {
1334
1402
  "data-slot": "field-legend",
@@ -1344,7 +1412,7 @@ function FieldLegend({
1344
1412
  );
1345
1413
  }
1346
1414
  function FieldGroup({ className, ...props }) {
1347
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1415
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1348
1416
  "div",
1349
1417
  {
1350
1418
  "data-slot": "field-group",
@@ -1384,7 +1452,7 @@ function Field({
1384
1452
  orientation = "vertical",
1385
1453
  ...props
1386
1454
  }) {
1387
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1455
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1388
1456
  "div",
1389
1457
  {
1390
1458
  role: "group",
@@ -1396,7 +1464,7 @@ function Field({
1396
1464
  );
1397
1465
  }
1398
1466
  function FieldContent({ className, ...props }) {
1399
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1467
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1400
1468
  "div",
1401
1469
  {
1402
1470
  "data-slot": "field-content",
@@ -1406,7 +1474,7 @@ function FieldContent({ className, ...props }) {
1406
1474
  );
1407
1475
  }
1408
1476
  function FieldLabel({ className, ...props }) {
1409
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1477
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1410
1478
  Label2,
1411
1479
  {
1412
1480
  "data-slot": "field-label",
@@ -1421,7 +1489,7 @@ function FieldLabel({ className, ...props }) {
1421
1489
  );
1422
1490
  }
1423
1491
  function FieldTitle({ className, ...props }) {
1424
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1492
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1425
1493
  "div",
1426
1494
  {
1427
1495
  "data-slot": "field-label",
@@ -1434,7 +1502,7 @@ function FieldTitle({ className, ...props }) {
1434
1502
  );
1435
1503
  }
1436
1504
  function FieldDescription({ className, ...props }) {
1437
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1505
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1438
1506
  "p",
1439
1507
  {
1440
1508
  "data-slot": "field-description",
@@ -1453,7 +1521,7 @@ function FieldSeparator({
1453
1521
  className,
1454
1522
  ...props
1455
1523
  }) {
1456
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
1524
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
1457
1525
  "div",
1458
1526
  {
1459
1527
  "data-slot": "field-separator",
@@ -1464,8 +1532,8 @@ function FieldSeparator({
1464
1532
  ),
1465
1533
  ...props,
1466
1534
  children: [
1467
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Separator2, { className: "absolute inset-0 top-1/2" }),
1468
- children && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1535
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Separator2, { className: "absolute inset-0 top-1/2" }),
1536
+ children && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1469
1537
  "span",
1470
1538
  {
1471
1539
  className: "bg-berget-background text-berget-muted-foreground relative mx-auto block w-fit px-2",
@@ -1493,12 +1561,12 @@ function FieldError({
1493
1561
  if (errors?.length === 1 && errors[0]?.message) {
1494
1562
  return errors[0].message;
1495
1563
  }
1496
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("ul", { className: "ml-4 flex list-disc flex-col gap-1", children: errors.map((error, index) => error?.message && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("li", { children: error.message }, index)) });
1564
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("ul", { className: "ml-4 flex list-disc flex-col gap-1", children: errors.map((error, index) => error?.message && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("li", { children: error.message }, index)) });
1497
1565
  }, [children, errors]);
1498
1566
  if (!content) {
1499
1567
  return null;
1500
1568
  }
1501
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1569
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1502
1570
  "div",
1503
1571
  {
1504
1572
  role: "alert",
@@ -1511,18 +1579,18 @@ function FieldError({
1511
1579
  }
1512
1580
 
1513
1581
  // src/components/link/Link.tsx
1514
- var React22 = __toESM(require("react"), 1);
1582
+ var React23 = __toESM(require("react"), 1);
1515
1583
  var import_class_variance_authority13 = require("class-variance-authority");
1516
1584
 
1517
1585
  // src/components/icon/Icon.tsx
1518
- var React21 = __toESM(require("react"), 1);
1519
- var import_jsx_runtime23 = require("react/jsx-runtime");
1586
+ var React22 = __toESM(require("react"), 1);
1587
+ var import_jsx_runtime24 = require("react/jsx-runtime");
1520
1588
  var iconStrokeMap = {
1521
1589
  16: 1.4,
1522
1590
  24: 1.6,
1523
1591
  32: 1.8
1524
1592
  };
1525
- var Icon2 = React21.forwardRef(
1593
+ var Icon2 = React22.forwardRef(
1526
1594
  ({
1527
1595
  icon: IconComponent,
1528
1596
  size,
@@ -1534,7 +1602,7 @@ var Icon2 = React21.forwardRef(
1534
1602
  const strokeWidth = iconStrokeMap[size];
1535
1603
  const sizeClass = size === 16 ? "w-4 h-4" : size === 24 ? "w-6 h-6" : "w-8 h-8";
1536
1604
  const ariaAttributes = ariaLabel ? { "aria-label": ariaLabel } : { "aria-hidden": ariaHidden };
1537
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1605
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1538
1606
  IconComponent,
1539
1607
  {
1540
1608
  ref,
@@ -1549,8 +1617,8 @@ var Icon2 = React21.forwardRef(
1549
1617
  Icon2.displayName = "Icon";
1550
1618
 
1551
1619
  // src/components/link/Link.tsx
1552
- var import_lucide_react4 = require("lucide-react");
1553
- var import_jsx_runtime24 = require("react/jsx-runtime");
1620
+ var import_lucide_react5 = require("lucide-react");
1621
+ var import_jsx_runtime25 = require("react/jsx-runtime");
1554
1622
  var linkVariants = (0, import_class_variance_authority13.cva)(
1555
1623
  "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",
1556
1624
  {
@@ -1575,7 +1643,7 @@ var linkVariants = (0, import_class_variance_authority13.cva)(
1575
1643
  }
1576
1644
  }
1577
1645
  );
1578
- var Link = React22.forwardRef(
1646
+ var Link = React23.forwardRef(
1579
1647
  ({
1580
1648
  className,
1581
1649
  variant,
@@ -1588,7 +1656,7 @@ var Link = React22.forwardRef(
1588
1656
  ...props
1589
1657
  }, ref) => {
1590
1658
  const isExternal = external || typeof props.href === "string" && (props.href.startsWith("http://") || props.href.startsWith("https://") || props.href.startsWith("mailto:") || props.href.startsWith("tel:"));
1591
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
1659
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
1592
1660
  "a",
1593
1661
  {
1594
1662
  ref,
@@ -1604,8 +1672,8 @@ var Link = React22.forwardRef(
1604
1672
  },
1605
1673
  children: [
1606
1674
  children,
1607
- icon && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { className: "inline-flex items-center", children: icon }),
1608
- showExternalIcon && isExternal && !disabled && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { className: "inline-flex items-center ml-1 opacity-60", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Icon2, { icon: import_lucide_react4.ExternalLink, size: 16 }) })
1675
+ icon && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: "inline-flex items-center", children: icon }),
1676
+ showExternalIcon && isExternal && !disabled && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: "inline-flex items-center ml-1 opacity-60", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Icon2, { icon: import_lucide_react5.ExternalLink, size: 16 }) })
1609
1677
  ]
1610
1678
  }
1611
1679
  );
@@ -1614,10 +1682,10 @@ var Link = React22.forwardRef(
1614
1682
  Link.displayName = "Link";
1615
1683
 
1616
1684
  // src/components/container/Container.tsx
1617
- var React23 = __toESM(require("react"), 1);
1685
+ var React24 = __toESM(require("react"), 1);
1618
1686
  var import_react_slot2 = require("@radix-ui/react-slot");
1619
1687
  var import_class_variance_authority14 = require("class-variance-authority");
1620
- var import_jsx_runtime25 = require("react/jsx-runtime");
1688
+ var import_jsx_runtime26 = require("react/jsx-runtime");
1621
1689
  var containerVariants = (0, import_class_variance_authority14.cva)("w-full mx-auto", {
1622
1690
  variants: {
1623
1691
  size: {
@@ -1639,10 +1707,10 @@ var containerVariants = (0, import_class_variance_authority14.cva)("w-full mx-au
1639
1707
  padding: "md"
1640
1708
  }
1641
1709
  });
1642
- var Container = React23.forwardRef(
1710
+ var Container = React24.forwardRef(
1643
1711
  ({ className, size, padding, asChild = false, children, ...props }, ref) => {
1644
1712
  const Component = asChild ? import_react_slot2.Slot : "div";
1645
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1713
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1646
1714
  Component,
1647
1715
  {
1648
1716
  ref,
@@ -1656,10 +1724,10 @@ var Container = React23.forwardRef(
1656
1724
  Container.displayName = "Container";
1657
1725
 
1658
1726
  // src/components/grid/Grid.tsx
1659
- var React24 = __toESM(require("react"), 1);
1727
+ var React25 = __toESM(require("react"), 1);
1660
1728
  var import_class_variance_authority15 = require("class-variance-authority");
1661
1729
  var import_react_slot3 = require("@radix-ui/react-slot");
1662
- var import_jsx_runtime26 = require("react/jsx-runtime");
1730
+ var import_jsx_runtime27 = require("react/jsx-runtime");
1663
1731
  var gridVariants = (0, import_class_variance_authority15.cva)("grid", {
1664
1732
  variants: {
1665
1733
  align: {
@@ -1682,10 +1750,10 @@ var gridVariants = (0, import_class_variance_authority15.cva)("grid", {
1682
1750
  justify: "start"
1683
1751
  }
1684
1752
  });
1685
- var Grid = React24.forwardRef(
1753
+ var Grid = React25.forwardRef(
1686
1754
  ({ className, align, justify, cols, rows, gap, gapX, gapY, asChild = false, children, ...props }, ref) => {
1687
1755
  const Component = asChild ? import_react_slot3.Slot : "div";
1688
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1756
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1689
1757
  Component,
1690
1758
  {
1691
1759
  ref,
@@ -1707,10 +1775,10 @@ var Grid = React24.forwardRef(
1707
1775
  Grid.displayName = "Grid";
1708
1776
 
1709
1777
  // src/components/box/Box.tsx
1710
- var React25 = __toESM(require("react"), 1);
1778
+ var React26 = __toESM(require("react"), 1);
1711
1779
  var import_class_variance_authority16 = require("class-variance-authority");
1712
1780
  var import_react_slot4 = require("@radix-ui/react-slot");
1713
- var import_jsx_runtime27 = require("react/jsx-runtime");
1781
+ var import_jsx_runtime28 = require("react/jsx-runtime");
1714
1782
  var boxVariants = (0, import_class_variance_authority16.cva)("flex", {
1715
1783
  variants: {
1716
1784
  direction: {
@@ -1747,10 +1815,10 @@ var boxVariants = (0, import_class_variance_authority16.cva)("flex", {
1747
1815
  wrap: "nowrap"
1748
1816
  }
1749
1817
  });
1750
- var Box = React25.forwardRef(
1818
+ var Box = React26.forwardRef(
1751
1819
  ({ className, direction, align, justify, wrap, gap, asChild = false, children, ...props }, ref) => {
1752
1820
  const Component = asChild ? import_react_slot4.Slot : "div";
1753
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1821
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1754
1822
  Component,
1755
1823
  {
1756
1824
  ref,
@@ -1768,16 +1836,16 @@ var Box = React25.forwardRef(
1768
1836
  Box.displayName = "Box";
1769
1837
 
1770
1838
  // src/components/berget-logo/BergetLogo.tsx
1771
- var React26 = __toESM(require("react"), 1);
1772
- var import_jsx_runtime28 = require("react/jsx-runtime");
1773
- var BergetLogo = React26.forwardRef(
1839
+ var React27 = __toESM(require("react"), 1);
1840
+ var import_jsx_runtime29 = require("react/jsx-runtime");
1841
+ var BergetLogo = React27.forwardRef(
1774
1842
  ({ variant = "logotype", color = "auto", size = 48, className, ...props }, ref) => {
1775
1843
  const fillColor = color === "auto" ? "var(--berget-logo-light)" : color === "white" ? "var(--berget-logo-light)" : "var(--berget-logo-dark)";
1776
1844
  if (variant === "symbol") {
1777
1845
  const aspectRatio2 = 463 / 419;
1778
1846
  const width2 = size * aspectRatio2;
1779
1847
  const height2 = size;
1780
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1848
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1781
1849
  "svg",
1782
1850
  {
1783
1851
  ref,
@@ -1790,7 +1858,7 @@ var BergetLogo = React26.forwardRef(
1790
1858
  "aria-label": "Berget symbol",
1791
1859
  className: cn("inline-block", className),
1792
1860
  ...props,
1793
- children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1861
+ children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1794
1862
  "path",
1795
1863
  {
1796
1864
  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",
@@ -1803,7 +1871,7 @@ var BergetLogo = React26.forwardRef(
1803
1871
  const aspectRatio = 793.63 / 204.37;
1804
1872
  const width = size * aspectRatio;
1805
1873
  const height = size;
1806
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
1874
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
1807
1875
  "svg",
1808
1876
  {
1809
1877
  ref,
@@ -1817,59 +1885,59 @@ var BergetLogo = React26.forwardRef(
1817
1885
  className: cn("inline-block", className),
1818
1886
  ...props,
1819
1887
  children: [
1820
- /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("g", { style: { fill: fillColor }, children: [
1821
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1888
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("g", { style: { fill: fillColor }, children: [
1889
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1822
1890
  "path",
1823
1891
  {
1824
1892
  className: "berget-logotype-fill",
1825
1893
  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"
1826
1894
  }
1827
1895
  ),
1828
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1896
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1829
1897
  "path",
1830
1898
  {
1831
1899
  className: "berget-logotype-fill",
1832
1900
  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"
1833
1901
  }
1834
1902
  ),
1835
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1903
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1836
1904
  "path",
1837
1905
  {
1838
1906
  className: "berget-logotype-fill",
1839
1907
  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"
1840
1908
  }
1841
1909
  ),
1842
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1910
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1843
1911
  "path",
1844
1912
  {
1845
1913
  className: "berget-logotype-fill",
1846
1914
  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"
1847
1915
  }
1848
1916
  ),
1849
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1917
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1850
1918
  "path",
1851
1919
  {
1852
1920
  className: "berget-logotype-fill",
1853
1921
  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"
1854
1922
  }
1855
1923
  ),
1856
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1924
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1857
1925
  "path",
1858
1926
  {
1859
1927
  className: "berget-logotype-fill",
1860
1928
  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"
1861
1929
  }
1862
1930
  ),
1863
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1931
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1864
1932
  "path",
1865
1933
  {
1866
1934
  className: "berget-logotype-fill",
1867
1935
  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"
1868
1936
  }
1869
1937
  ),
1870
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("path", { className: "berget-logotype-fill", d: "M778.48,172.54v-96.04h15.15v96.04h-15.15Z" })
1938
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("path", { className: "berget-logotype-fill", d: "M778.48,172.54v-96.04h15.15v96.04h-15.15Z" })
1871
1939
  ] }),
1872
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1940
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1873
1941
  "path",
1874
1942
  {
1875
1943
  style: { fill: fillColor },
@@ -1884,13 +1952,13 @@ var BergetLogo = React26.forwardRef(
1884
1952
  BergetLogo.displayName = "BergetLogo";
1885
1953
 
1886
1954
  // src/components/language-select/LanguageSelect.tsx
1887
- var React27 = __toESM(require("react"), 1);
1955
+ var React28 = __toESM(require("react"), 1);
1888
1956
  var SelectPrimitive2 = __toESM(require("@radix-ui/react-select"), 1);
1889
- var import_lucide_react5 = require("lucide-react");
1890
- var import_jsx_runtime29 = require("react/jsx-runtime");
1891
- var LanguageSelect = React27.forwardRef(({ className, options, value, onValueChange }, ref) => {
1892
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(SelectPrimitive2.Root, { value, onValueChange, children: [
1893
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1957
+ var import_lucide_react6 = require("lucide-react");
1958
+ var import_jsx_runtime30 = require("react/jsx-runtime");
1959
+ var LanguageSelect = React28.forwardRef(({ className, options, value, onValueChange }, ref) => {
1960
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(SelectPrimitive2.Root, { value, onValueChange, children: [
1961
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
1894
1962
  SelectPrimitive2.Trigger,
1895
1963
  {
1896
1964
  ref,
@@ -1912,10 +1980,10 @@ var LanguageSelect = React27.forwardRef(({ className, options, value, onValueCha
1912
1980
  "disabled:cursor-not-allowed disabled:opacity-50",
1913
1981
  className
1914
1982
  ),
1915
- children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Icon2, { icon: import_lucide_react5.Globe, size: 16 })
1983
+ children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Icon2, { icon: import_lucide_react6.Globe, size: 16 })
1916
1984
  }
1917
1985
  ),
1918
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(SelectPrimitive2.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1986
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(SelectPrimitive2.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
1919
1987
  SelectPrimitive2.Content,
1920
1988
  {
1921
1989
  className: cn(
@@ -1943,7 +2011,7 @@ var LanguageSelect = React27.forwardRef(({ className, options, value, onValueCha
1943
2011
  "origin-[--radix-select-content-transform-origin]"
1944
2012
  ),
1945
2013
  position: "popper",
1946
- children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(SelectPrimitive2.Viewport, { className: "p-1", children: options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2014
+ children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(SelectPrimitive2.Viewport, { className: "p-1", children: options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
1947
2015
  SelectPrimitive2.Item,
1948
2016
  {
1949
2017
  value: option.value,
@@ -1960,7 +2028,7 @@ var LanguageSelect = React27.forwardRef(({ className, options, value, onValueCha
1960
2028
  // Disabled state
1961
2029
  "data-[disabled]:pointer-events-none data-[disabled]:opacity-50"
1962
2030
  ),
1963
- children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(SelectPrimitive2.ItemText, { children: option.label })
2031
+ children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(SelectPrimitive2.ItemText, { children: option.label })
1964
2032
  },
1965
2033
  option.value
1966
2034
  )) })
@@ -1971,12 +2039,12 @@ var LanguageSelect = React27.forwardRef(({ className, options, value, onValueCha
1971
2039
  LanguageSelect.displayName = "LanguageSelect";
1972
2040
 
1973
2041
  // src/components/list/List.tsx
1974
- var React29 = __toESM(require("react"), 1);
2042
+ var React30 = __toESM(require("react"), 1);
1975
2043
 
1976
2044
  // src/components/divider/Divider.tsx
1977
- var React28 = __toESM(require("react"), 1);
2045
+ var React29 = __toESM(require("react"), 1);
1978
2046
  var import_class_variance_authority17 = require("class-variance-authority");
1979
- var import_jsx_runtime30 = require("react/jsx-runtime");
2047
+ var import_jsx_runtime31 = require("react/jsx-runtime");
1980
2048
  var dividerVariants = (0, import_class_variance_authority17.cva)("", {
1981
2049
  variants: {
1982
2050
  variant: {
@@ -1997,7 +2065,7 @@ var dividerVariants = (0, import_class_variance_authority17.cva)("", {
1997
2065
  size: "thin"
1998
2066
  }
1999
2067
  });
2000
- var Divider = React28.forwardRef(
2068
+ var Divider = React29.forwardRef(
2001
2069
  ({
2002
2070
  className,
2003
2071
  orientation = "horizontal",
@@ -2008,16 +2076,16 @@ var Divider = React28.forwardRef(
2008
2076
  ...props
2009
2077
  }, ref) => {
2010
2078
  if (label) {
2011
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { ref, className: cn("flex items-center w-full", className), ...props, children: [
2012
- labelPosition !== "right" && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2079
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("div", { ref, className: cn("flex items-center w-full", className), ...props, children: [
2080
+ labelPosition !== "right" && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2013
2081
  Separator2,
2014
2082
  {
2015
2083
  orientation: "horizontal",
2016
2084
  className: cn(dividerVariants({ variant, size }), "flex-1")
2017
2085
  }
2018
2086
  ),
2019
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Typography, { variant: "small", color: "muted", className: "px-4 whitespace-nowrap", children: label }),
2020
- labelPosition !== "left" && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2087
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Typography, { variant: "small", color: "muted", className: "px-4 whitespace-nowrap", children: label }),
2088
+ labelPosition !== "left" && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2021
2089
  Separator2,
2022
2090
  {
2023
2091
  orientation: "horizontal",
@@ -2026,7 +2094,7 @@ var Divider = React28.forwardRef(
2026
2094
  )
2027
2095
  ] });
2028
2096
  }
2029
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2097
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2030
2098
  Separator2,
2031
2099
  {
2032
2100
  ref,
@@ -2043,20 +2111,20 @@ var Divider = React28.forwardRef(
2043
2111
  Divider.displayName = "Divider";
2044
2112
 
2045
2113
  // src/components/list/List.tsx
2046
- var import_lucide_react6 = require("lucide-react");
2047
- var import_jsx_runtime31 = require("react/jsx-runtime");
2048
- var List = React29.forwardRef(
2114
+ var import_lucide_react7 = require("lucide-react");
2115
+ var import_jsx_runtime32 = require("react/jsx-runtime");
2116
+ var List = React30.forwardRef(
2049
2117
  ({ className, children, ...props }, ref) => {
2050
- const childrenArray = React29.Children.toArray(children);
2051
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { ref, className: cn("flex flex-col", className), ...props, children: childrenArray.map((child, index) => /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(React29.Fragment, { children: [
2118
+ const childrenArray = React30.Children.toArray(children);
2119
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { ref, className: cn("flex flex-col", className), ...props, children: childrenArray.map((child, index) => /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(React30.Fragment, { children: [
2052
2120
  child,
2053
- index < childrenArray.length - 1 && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Divider, { variant: "subtle" })
2121
+ index < childrenArray.length - 1 && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Divider, { variant: "subtle" })
2054
2122
  ] }, index)) });
2055
2123
  }
2056
2124
  );
2057
2125
  List.displayName = "List";
2058
- var ListItem = React29.forwardRef(
2059
- ({ className, icon, children, interactive = true, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
2126
+ var ListItem = React30.forwardRef(
2127
+ ({ className, icon, children, interactive = true, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
2060
2128
  "div",
2061
2129
  {
2062
2130
  ref,
@@ -2067,15 +2135,15 @@ var ListItem = React29.forwardRef(
2067
2135
  ),
2068
2136
  ...props,
2069
2137
  children: [
2070
- icon && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { className: "flex-shrink-0 flex items-center justify-center", children: icon }),
2071
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { className: "flex-1 min-w-0", children })
2138
+ icon && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: "flex-shrink-0 flex items-center justify-center", children: icon }),
2139
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: "flex-1 min-w-0", children })
2072
2140
  ]
2073
2141
  }
2074
2142
  )
2075
2143
  );
2076
2144
  ListItem.displayName = "ListItem";
2077
- var ListHeader = React29.forwardRef(
2078
- ({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2145
+ var ListHeader = React30.forwardRef(
2146
+ ({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
2079
2147
  "div",
2080
2148
  {
2081
2149
  ref,
@@ -2086,20 +2154,20 @@ var ListHeader = React29.forwardRef(
2086
2154
  )
2087
2155
  );
2088
2156
  ListHeader.displayName = "ListHeader";
2089
- var FeatureList = React29.forwardRef(
2157
+ var FeatureList = React30.forwardRef(
2090
2158
  ({ items, variant = "bullet", className, ...props }, ref) => {
2091
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("ul", { ref, className: cn("flex flex-col gap-fluid-md", className), ...props, children: items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("li", { className: "flex items-start gap-fluid-md", children: [
2092
- variant === "bullet" ? /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("span", { className: "w-1.5 h-1.5 rounded-full bg-berget-icon-muted flex-shrink-0 mt-2" }) : /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { className: "flex-shrink-0 mt-0.5", children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Icon2, { icon: import_lucide_react6.Check, size: 24, className: "text-berget-logo-light" }) }),
2093
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Typography, { variant: "body", color: "muted", children: item })
2159
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("ul", { ref, className: cn("flex flex-col gap-fluid-md", className), ...props, children: items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("li", { className: "flex items-start gap-fluid-md", children: [
2160
+ variant === "bullet" ? /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { className: "w-1.5 h-1.5 rounded-full bg-berget-icon-muted flex-shrink-0 mt-2" }) : /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: "flex-shrink-0 mt-0.5", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Icon2, { icon: import_lucide_react7.Check, size: 24, className: "text-berget-logo-light" }) }),
2161
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Typography, { variant: "body", color: "muted", children: item })
2094
2162
  ] }, index)) });
2095
2163
  }
2096
2164
  );
2097
2165
  FeatureList.displayName = "FeatureList";
2098
2166
 
2099
2167
  // src/components/hero-block/HeroBlock.tsx
2100
- var React30 = __toESM(require("react"), 1);
2168
+ var React31 = __toESM(require("react"), 1);
2101
2169
  var import_class_variance_authority18 = require("class-variance-authority");
2102
- var import_jsx_runtime32 = require("react/jsx-runtime");
2170
+ var import_jsx_runtime33 = require("react/jsx-runtime");
2103
2171
  var heroBlockVariants = (0, import_class_variance_authority18.cva)(
2104
2172
  "relative overflow-hidden min-h-[40dvh] flex items-center py-fluid-2xl",
2105
2173
  {
@@ -2120,7 +2188,7 @@ var heroBlockVariants = (0, import_class_variance_authority18.cva)(
2120
2188
  }
2121
2189
  }
2122
2190
  );
2123
- var HeroBlock = React30.forwardRef(
2191
+ var HeroBlock = React31.forwardRef(
2124
2192
  ({
2125
2193
  className,
2126
2194
  variant,
@@ -2132,26 +2200,26 @@ var HeroBlock = React30.forwardRef(
2132
2200
  actions,
2133
2201
  ...props
2134
2202
  }, ref) => {
2135
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
2203
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
2136
2204
  "div",
2137
2205
  {
2138
2206
  ref,
2139
2207
  className: cn(heroBlockVariants({ variant, withPattern }), className),
2140
2208
  ...props,
2141
- children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: "mx-auto px-4 sm:px-6 lg:px-8", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "mx-auto text-center max-w-4xl", children: [
2142
- tagline && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
2209
+ children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { className: "mx-auto px-4 sm:px-6 lg:px-8", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: "mx-auto text-center max-w-4xl", children: [
2210
+ tagline && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
2143
2211
  Badge,
2144
2212
  {
2145
2213
  variant: "default",
2146
- icon: TaglineIcon ? /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Icon2, { icon: TaglineIcon, size: 16 }) : void 0,
2214
+ icon: TaglineIcon ? /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Icon2, { icon: TaglineIcon, size: 16 }) : void 0,
2147
2215
  iconGap: 2,
2148
2216
  className: "mb-fluid-md",
2149
2217
  children: tagline
2150
2218
  }
2151
2219
  ),
2152
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Typography, { variant: "h1", className: "mb-fluid-md", children: title }),
2153
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Typography, { variant: "h3", color: "muted", className: "mb-fluid-lg", children: description }),
2154
- actions && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: "flex flex-wrap gap-fluid-md justify-center", children: actions })
2220
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Typography, { variant: "h1", className: "mb-fluid-md", children: title }),
2221
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Typography, { variant: "h3", color: "muted", className: "mb-fluid-lg", children: description }),
2222
+ actions && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { className: "flex flex-wrap gap-fluid-md justify-center", children: actions })
2155
2223
  ] }) })
2156
2224
  }
2157
2225
  );
@@ -2161,7 +2229,7 @@ HeroBlock.displayName = "HeroBlock";
2161
2229
 
2162
2230
  // src/components/code-block/CodeBlock.tsx
2163
2231
  var import_react2 = require("react");
2164
- var import_lucide_react7 = require("lucide-react");
2232
+ var import_lucide_react8 = require("lucide-react");
2165
2233
 
2166
2234
  // src/lib/shiki.ts
2167
2235
  var import_core2 = require("shiki/core");
@@ -2202,7 +2270,7 @@ function getHighlighter() {
2202
2270
  }
2203
2271
 
2204
2272
  // src/components/code-block/CodeBlock.tsx
2205
- var import_jsx_runtime33 = require("react/jsx-runtime");
2273
+ var import_jsx_runtime34 = require("react/jsx-runtime");
2206
2274
  function CodeBlock({ code, language = "text", title, className }) {
2207
2275
  const [html, setHtml] = (0, import_react2.useState)(null);
2208
2276
  const [copied, setCopied] = (0, import_react2.useState)(false);
@@ -2218,16 +2286,16 @@ function CodeBlock({ code, language = "text", title, className }) {
2218
2286
  setCopied(true);
2219
2287
  setTimeout(() => setCopied(false), 2e3);
2220
2288
  }, [code]);
2221
- const copyButton = /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
2289
+ const copyButton = /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2222
2290
  "button",
2223
2291
  {
2224
2292
  onClick: handleCopy,
2225
2293
  className: "flex items-center justify-center w-6 h-6 text-berget-muted-foreground hover:text-berget-foreground transition-colors",
2226
2294
  "aria-label": "Copy code",
2227
- children: copied ? /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_lucide_react7.Check, { className: "w-3.5 h-3.5" }) : /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_lucide_react7.Copy, { className: "w-3.5 h-3.5" })
2295
+ children: copied ? /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_lucide_react8.Check, { className: "w-3.5 h-3.5" }) : /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_lucide_react8.Copy, { className: "w-3.5 h-3.5" })
2228
2296
  }
2229
2297
  );
2230
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
2298
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
2231
2299
  "div",
2232
2300
  {
2233
2301
  className: cn(
@@ -2235,25 +2303,25 @@ function CodeBlock({ code, language = "text", title, className }) {
2235
2303
  className
2236
2304
  ),
2237
2305
  children: [
2238
- title && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("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__ */ (0, import_jsx_runtime33.jsx)("span", { className: "text-berget-muted-foreground", children: title }) }),
2239
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { className: "absolute right-2 top-2 z-10", children: copyButton }),
2240
- html ? /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
2306
+ title && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("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__ */ (0, import_jsx_runtime34.jsx)("span", { className: "text-berget-muted-foreground", children: title }) }),
2307
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: "absolute right-2 top-2 z-10", children: copyButton }),
2308
+ html ? /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2241
2309
  "div",
2242
2310
  {
2243
2311
  className: "[&_.shiki]:!p-4 [&_.shiki]:!m-0 [&_.shiki]:overflow-x-auto [&_.shiki]:!text-sm [&_.shiki]:!leading-relaxed [&_.shiki]:bg-transparent",
2244
2312
  dangerouslySetInnerHTML: { __html: html }
2245
2313
  }
2246
- ) : /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("pre", { className: "!p-4 !m-0 overflow-x-auto !text-sm !leading-relaxed text-berget-muted-foreground", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("code", { children: code }) })
2314
+ ) : /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("pre", { className: "!p-4 !m-0 overflow-x-auto !text-sm !leading-relaxed text-berget-muted-foreground", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("code", { children: code }) })
2247
2315
  ]
2248
2316
  }
2249
2317
  );
2250
2318
  }
2251
2319
 
2252
2320
  // src/components/window-frame/WindowFrame.tsx
2253
- var React31 = __toESM(require("react"), 1);
2321
+ var React32 = __toESM(require("react"), 1);
2254
2322
  var import_react3 = require("react");
2255
- var import_jsx_runtime34 = require("react/jsx-runtime");
2256
- var WindowFrame = React31.forwardRef(
2323
+ var import_jsx_runtime35 = require("react/jsx-runtime");
2324
+ var WindowFrame = React32.forwardRef(
2257
2325
  ({ title = "window", tabs, activeTab, onTabChange, children, className, ...props }, ref) => {
2258
2326
  const [internalActive, setInternalActive] = (0, import_react3.useState)(tabs?.[0]?.id ?? "");
2259
2327
  const currentTab = activeTab ?? internalActive;
@@ -2264,7 +2332,7 @@ var WindowFrame = React31.forwardRef(
2264
2332
  setInternalActive(id);
2265
2333
  }
2266
2334
  };
2267
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
2335
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
2268
2336
  "div",
2269
2337
  {
2270
2338
  ref,
@@ -2274,13 +2342,13 @@ var WindowFrame = React31.forwardRef(
2274
2342
  ),
2275
2343
  ...props,
2276
2344
  children: [
2277
- /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: "flex items-center gap-2 px-4 py-3 border-b border-berget-brand-granite-700 bg-berget-brand-granite-900", children: [
2278
- /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: "flex items-center gap-2 flex-shrink-0", children: [
2279
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: "w-3 h-3 rounded-full bg-[#FF5F56]" }),
2280
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: "w-3 h-3 rounded-full bg-[#FFBD2E]" }),
2281
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: "w-3 h-3 rounded-full bg-[#27C93F]" })
2345
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "flex items-center gap-2 px-4 py-3 border-b border-berget-brand-granite-700 bg-berget-brand-granite-900", children: [
2346
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "flex items-center gap-2 flex-shrink-0", children: [
2347
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "w-3 h-3 rounded-full bg-[#FF5F56]" }),
2348
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "w-3 h-3 rounded-full bg-[#FFBD2E]" }),
2349
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "w-3 h-3 rounded-full bg-[#27C93F]" })
2282
2350
  ] }),
2283
- tabs && tabs.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: "ml-4 flex items-center gap-1", children: tabs.map((tab) => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2351
+ tabs && tabs.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "ml-4 flex items-center gap-1", children: tabs.map((tab) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2284
2352
  "button",
2285
2353
  {
2286
2354
  type: "button",
@@ -2292,9 +2360,9 @@ var WindowFrame = React31.forwardRef(
2292
2360
  children: tab.label
2293
2361
  },
2294
2362
  tab.id
2295
- )) }) : /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { className: "ml-4 text-sm font-mono text-berget-brand-moss-400", children: title })
2363
+ )) }) : /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("span", { className: "ml-4 text-sm font-mono text-berget-brand-moss-400", children: title })
2296
2364
  ] }),
2297
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { children })
2365
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { children })
2298
2366
  ]
2299
2367
  }
2300
2368
  );
@@ -2319,6 +2387,16 @@ WindowFrame.displayName = "WindowFrame";
2319
2387
  Checkbox,
2320
2388
  CodeBlock,
2321
2389
  Container,
2390
+ Dialog,
2391
+ DialogClose,
2392
+ DialogContent,
2393
+ DialogDescription,
2394
+ DialogFooter,
2395
+ DialogHeader,
2396
+ DialogOverlay,
2397
+ DialogPortal,
2398
+ DialogTitle,
2399
+ DialogTrigger,
2322
2400
  FeatureList,
2323
2401
  Field,
2324
2402
  FieldContent,