@postenbring/hedwig-react 0.0.58 → 0.0.60

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/dist/_tsup-dts-rollup.d.mts +81 -82
  2. package/dist/_tsup-dts-rollup.d.ts +81 -82
  3. package/dist/{chunk-WDD7QJP6.mjs → chunk-2E6XPNPX.mjs} +7 -2
  4. package/dist/chunk-2E6XPNPX.mjs.map +1 -0
  5. package/dist/chunk-2YL2MVWN.mjs +1 -0
  6. package/dist/{chunk-T3ADJNOV.mjs → chunk-37WVYY6X.mjs} +1 -1
  7. package/dist/chunk-37WVYY6X.mjs.map +1 -0
  8. package/dist/{chunk-CA226LBE.mjs → chunk-5MDJP43L.mjs} +5 -5
  9. package/dist/chunk-6QV3OV66.mjs +1 -0
  10. package/dist/chunk-DY7LD3X3.mjs +1 -0
  11. package/dist/{chunk-QGMW5QJ3.mjs → chunk-Q3GMWURJ.mjs} +6 -6
  12. package/dist/{chunk-UTVSGTRJ.mjs → chunk-XMB45ILT.mjs} +2 -2
  13. package/dist/chunk-XMB45ILT.mjs.map +1 -0
  14. package/dist/{list → description-list}/description-list.js +1 -1
  15. package/dist/description-list/description-list.js.map +1 -0
  16. package/dist/{list → description-list}/description-list.mjs +1 -1
  17. package/dist/description-list/description-list.mjs.map +1 -0
  18. package/dist/description-list/index.d.mts +2 -0
  19. package/dist/description-list/index.d.ts +2 -0
  20. package/dist/description-list/index.js +82 -0
  21. package/dist/description-list/index.js.map +1 -0
  22. package/dist/description-list/index.mjs +9 -0
  23. package/dist/description-list/index.mjs.map +1 -0
  24. package/dist/form/fieldset/fieldset.js.map +1 -1
  25. package/dist/form/fieldset/fieldset.mjs +1 -1
  26. package/dist/form/fieldset/index.js.map +1 -1
  27. package/dist/form/fieldset/index.mjs +1 -1
  28. package/dist/form/index.js.map +1 -1
  29. package/dist/form/index.mjs +7 -7
  30. package/dist/index-no-css.d.mts +2 -2
  31. package/dist/index-no-css.d.ts +2 -2
  32. package/dist/index-no-css.js +93 -88
  33. package/dist/index-no-css.js.map +1 -1
  34. package/dist/index-no-css.mjs +25 -24
  35. package/dist/index.d.mts +2 -2
  36. package/dist/index.d.ts +2 -2
  37. package/dist/index.js +93 -88
  38. package/dist/index.js.map +1 -1
  39. package/dist/index.mjs +25 -24
  40. package/dist/index.mjs.map +1 -1
  41. package/dist/list/index.d.mts +0 -2
  42. package/dist/list/index.d.ts +0 -2
  43. package/dist/list/index.js +7 -35
  44. package/dist/list/index.js.map +1 -1
  45. package/dist/list/index.mjs +1 -5
  46. package/dist/navbar/index.js +16 -1
  47. package/dist/navbar/index.js.map +1 -1
  48. package/dist/navbar/index.mjs +3 -3
  49. package/dist/navbar/navbar-expandable-menu.js +16 -1
  50. package/dist/navbar/navbar-expandable-menu.js.map +1 -1
  51. package/dist/navbar/navbar-expandable-menu.mjs +1 -1
  52. package/dist/tabs/index.mjs +2 -2
  53. package/package.json +4 -3
  54. package/dist/chunk-E2LKLNGA.mjs +0 -1
  55. package/dist/chunk-KOAR6LZG.mjs +0 -1
  56. package/dist/chunk-T3ADJNOV.mjs.map +0 -1
  57. package/dist/chunk-UTVSGTRJ.mjs.map +0 -1
  58. package/dist/chunk-WDD7QJP6.mjs.map +0 -1
  59. package/dist/list/description-list.js.map +0 -1
  60. /package/dist/{chunk-E2LKLNGA.mjs.map → chunk-2YL2MVWN.mjs.map} +0 -0
  61. /package/dist/{chunk-CA226LBE.mjs.map → chunk-5MDJP43L.mjs.map} +0 -0
  62. /package/dist/{chunk-KOAR6LZG.mjs.map → chunk-6QV3OV66.mjs.map} +0 -0
  63. /package/dist/{list/description-list.mjs.map → chunk-DY7LD3X3.mjs.map} +0 -0
  64. /package/dist/{chunk-QGMW5QJ3.mjs.map → chunk-Q3GMWURJ.mjs.map} +0 -0
  65. /package/dist/{list → description-list}/description-list.d.mts +0 -0
  66. /package/dist/{list → description-list}/description-list.d.ts +0 -0
@@ -580,19 +580,45 @@ var CardComponent = Card;
580
580
  CardComponent.Media = CardMediaComponent;
581
581
  CardComponent.Body = CardBodyComponent;
582
582
 
583
+ // src/description-list/description-list.tsx
584
+ var import_typed_classname10 = require("@postenbring/hedwig-css/typed-classname");
585
+ var import_jsx_runtime10 = require("react/jsx-runtime");
586
+ function DescriptionList(_a) {
587
+ var _b = _a, {
588
+ variant = "vertical",
589
+ className
590
+ } = _b, rest = __objRest(_b, [
591
+ "variant",
592
+ "className"
593
+ ]);
594
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
595
+ "dl",
596
+ __spreadValues({
597
+ className: (0, import_typed_classname10.clsx)(
598
+ "hds-description-list",
599
+ {
600
+ "hds-description-list--horizontal": variant === "horizontal"
601
+ },
602
+ className
603
+ )
604
+ }, rest)
605
+ );
606
+ }
607
+ DescriptionList.displayName = "DescriptionList";
608
+
583
609
  // src/form/fieldset/fieldset.tsx
584
610
  var import_react9 = require("react");
585
- var import_typed_classname11 = require("@postenbring/hedwig-css/typed-classname");
611
+ var import_typed_classname12 = require("@postenbring/hedwig-css/typed-classname");
586
612
 
587
613
  // src/form/error-message/error-message.tsx
588
- var import_typed_classname10 = require("@postenbring/hedwig-css/typed-classname");
589
- var import_jsx_runtime10 = require("react/jsx-runtime");
614
+ var import_typed_classname11 = require("@postenbring/hedwig-css/typed-classname");
615
+ var import_jsx_runtime11 = require("react/jsx-runtime");
590
616
  function ErrorMessage({ children, id, className }) {
591
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
617
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
592
618
  "div",
593
619
  {
594
620
  "aria-live": "assertive",
595
- className: (0, import_typed_classname10.clsx)("hds-error-message", className),
621
+ className: (0, import_typed_classname11.clsx)("hds-error-message", className),
596
622
  id,
597
623
  children
598
624
  }
@@ -600,7 +626,7 @@ function ErrorMessage({ children, id, className }) {
600
626
  }
601
627
 
602
628
  // src/form/fieldset/fieldset.tsx
603
- var import_jsx_runtime11 = require("react/jsx-runtime");
629
+ var import_jsx_runtime12 = require("react/jsx-runtime");
604
630
  var Fieldset = (0, import_react9.forwardRef)(function Fieldset2(_a, ref) {
605
631
  var _b = _a, {
606
632
  className,
@@ -619,20 +645,20 @@ var Fieldset = (0, import_react9.forwardRef)(function Fieldset2(_a, ref) {
619
645
  "children"
620
646
  ]);
621
647
  const errorMessageId = (0, import_react9.useId)();
622
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
648
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
623
649
  "fieldset",
624
650
  __spreadProps(__spreadValues({
625
651
  "aria-describedby": errorMessage ? errorMessageId : void 0,
626
652
  "aria-invalid": errorMessage ? true : void 0,
627
- className: (0, import_typed_classname11.clsx)("hds-fieldset", className),
653
+ className: (0, import_typed_classname12.clsx)("hds-fieldset", className),
628
654
  ref,
629
655
  style
630
656
  }, rest), {
631
657
  children: [
632
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
658
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
633
659
  "legend",
634
660
  __spreadProps(__spreadValues({
635
- className: (0, import_typed_classname11.clsx)(
661
+ className: (0, import_typed_classname12.clsx)(
636
662
  "hds-fieldset__legend",
637
663
  { [`hds-fieldset__legend--${legendSize}`]: legendSize },
638
664
  legendClassName
@@ -641,8 +667,8 @@ var Fieldset = (0, import_react9.forwardRef)(function Fieldset2(_a, ref) {
641
667
  children: legend
642
668
  })
643
669
  ),
644
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: (0, import_typed_classname11.clsx)("hds-fieldset__input-wrapper"), children }),
645
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(ErrorMessage, { id: errorMessageId, children: errorMessage })
670
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: (0, import_typed_classname12.clsx)("hds-fieldset__input-wrapper"), children }),
671
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(ErrorMessage, { id: errorMessageId, children: errorMessage })
646
672
  ]
647
673
  })
648
674
  );
@@ -650,12 +676,12 @@ var Fieldset = (0, import_react9.forwardRef)(function Fieldset2(_a, ref) {
650
676
 
651
677
  // src/form/input/input.tsx
652
678
  var import_react11 = require("react");
653
- var import_typed_classname13 = require("@postenbring/hedwig-css/typed-classname");
679
+ var import_typed_classname14 = require("@postenbring/hedwig-css/typed-classname");
654
680
 
655
681
  // src/form/input-group/input-group.tsx
656
682
  var import_react10 = require("react");
657
- var import_typed_classname12 = require("@postenbring/hedwig-css/typed-classname");
658
- var import_jsx_runtime12 = require("react/jsx-runtime");
683
+ var import_typed_classname13 = require("@postenbring/hedwig-css/typed-classname");
684
+ var import_jsx_runtime13 = require("react/jsx-runtime");
659
685
  var InputGroup = (0, import_react10.forwardRef)(function InputGroup2(_a, ref) {
660
686
  var _b = _a, {
661
687
  id,
@@ -693,13 +719,13 @@ var InputGroup = (0, import_react10.forwardRef)(function InputGroup2(_a, ref) {
693
719
  "aria-invalid": errorMessage ? true : void 0,
694
720
  id: id != null ? id : inputId
695
721
  }, input.props), {
696
- className: (0, import_typed_classname12.clsx)("hds-input-group__input", input.props.className)
722
+ className: (0, import_typed_classname13.clsx)("hds-input-group__input", input.props.className)
697
723
  }));
698
724
  };
699
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
725
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
700
726
  "div",
701
727
  __spreadProps(__spreadValues({
702
- className: (0, import_typed_classname12.clsx)(
728
+ className: (0, import_typed_classname13.clsx)(
703
729
  "hds-input-group",
704
730
  {
705
731
  [`hds-input-group--${variant}`]: variant,
@@ -711,38 +737,38 @@ var InputGroup = (0, import_react10.forwardRef)(function InputGroup2(_a, ref) {
711
737
  style
712
738
  }, rest), {
713
739
  children: [
714
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
740
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
715
741
  "label",
716
742
  __spreadProps(__spreadValues({
717
- className: (0, import_typed_classname12.clsx)("hds-input-group__label", labelClassName)
743
+ className: (0, import_typed_classname13.clsx)("hds-input-group__label", labelClassName)
718
744
  }, labelProps), {
719
745
  htmlFor: id != null ? id : inputId,
720
746
  children: label
721
747
  })
722
748
  ),
723
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
749
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
724
750
  "div",
725
751
  {
726
- className: (0, import_typed_classname12.clsx)("hds-input-group__input-wrapper"),
752
+ className: (0, import_typed_classname13.clsx)("hds-input-group__input-wrapper"),
727
753
  "data-disabled": disabled,
728
754
  "data-readonly": readOnly,
729
755
  children: renderInput()
730
756
  }
731
757
  ),
732
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(ErrorMessage, { id: errorMessageId, children: errorMessage })
758
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(ErrorMessage, { id: errorMessageId, children: errorMessage })
733
759
  ]
734
760
  })
735
761
  );
736
762
  });
737
763
 
738
764
  // src/form/input/input.tsx
739
- var import_jsx_runtime13 = require("react/jsx-runtime");
765
+ var import_jsx_runtime14 = require("react/jsx-runtime");
740
766
  var Input = (0, import_react11.forwardRef)(function Input2(_a, ref) {
741
767
  var _b = _a, { className, variant, errorMessage, labelProps, label, id, style, disabled, readOnly } = _b, rest = __objRest(_b, ["className", "variant", "errorMessage", "labelProps", "label", "id", "style", "disabled", "readOnly"]);
742
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
768
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
743
769
  InputGroup,
744
770
  {
745
- className: (0, import_typed_classname13.clsx)("hds-input", className),
771
+ className: (0, import_typed_classname14.clsx)("hds-input", className),
746
772
  disabled,
747
773
  errorMessage,
748
774
  id,
@@ -751,7 +777,7 @@ var Input = (0, import_react11.forwardRef)(function Input2(_a, ref) {
751
777
  readOnly,
752
778
  style,
753
779
  variant,
754
- children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("input", __spreadProps(__spreadValues({}, rest), { disabled, readOnly, ref }))
780
+ children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("input", __spreadProps(__spreadValues({}, rest), { disabled, readOnly, ref }))
755
781
  }
756
782
  );
757
783
  });
@@ -759,14 +785,14 @@ Input.displayName = "Input";
759
785
 
760
786
  // src/form/select/select.tsx
761
787
  var import_react12 = require("react");
762
- var import_typed_classname14 = require("@postenbring/hedwig-css/typed-classname");
763
- var import_jsx_runtime14 = require("react/jsx-runtime");
788
+ var import_typed_classname15 = require("@postenbring/hedwig-css/typed-classname");
789
+ var import_jsx_runtime15 = require("react/jsx-runtime");
764
790
  var Select = (0, import_react12.forwardRef)(function Select2(_a, ref) {
765
791
  var _b = _a, { className, variant, errorMessage, labelProps, label, id, style, disabled, children } = _b, rest = __objRest(_b, ["className", "variant", "errorMessage", "labelProps", "label", "id", "style", "disabled", "children"]);
766
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
792
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
767
793
  InputGroup,
768
794
  {
769
- className: (0, import_typed_classname14.clsx)("hds-select", className),
795
+ className: (0, import_typed_classname15.clsx)("hds-select", className),
770
796
  disabled,
771
797
  errorMessage,
772
798
  id,
@@ -774,7 +800,7 @@ var Select = (0, import_react12.forwardRef)(function Select2(_a, ref) {
774
800
  labelProps,
775
801
  style,
776
802
  variant,
777
- children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("select", __spreadProps(__spreadValues({}, rest), { disabled, ref, children }))
803
+ children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("select", __spreadProps(__spreadValues({}, rest), { disabled, ref, children }))
778
804
  }
779
805
  );
780
806
  });
@@ -782,14 +808,14 @@ Select.displayName = "Select";
782
808
 
783
809
  // src/form/textarea/textarea.tsx
784
810
  var import_react13 = require("react");
785
- var import_typed_classname15 = require("@postenbring/hedwig-css/typed-classname");
786
- var import_jsx_runtime15 = require("react/jsx-runtime");
811
+ var import_typed_classname16 = require("@postenbring/hedwig-css/typed-classname");
812
+ var import_jsx_runtime16 = require("react/jsx-runtime");
787
813
  var Textarea = (0, import_react13.forwardRef)(function Textarea2(_a, ref) {
788
814
  var _b = _a, { className, variant, errorMessage, labelProps, label, id, style, disabled, readOnly } = _b, rest = __objRest(_b, ["className", "variant", "errorMessage", "labelProps", "label", "id", "style", "disabled", "readOnly"]);
789
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
815
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
790
816
  InputGroup,
791
817
  {
792
- className: (0, import_typed_classname15.clsx)("hds-textarea", className),
818
+ className: (0, import_typed_classname16.clsx)("hds-textarea", className),
793
819
  disabled,
794
820
  errorMessage,
795
821
  id,
@@ -798,7 +824,7 @@ var Textarea = (0, import_react13.forwardRef)(function Textarea2(_a, ref) {
798
824
  readOnly,
799
825
  style,
800
826
  variant,
801
- children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("textarea", __spreadProps(__spreadValues({}, rest), { disabled, readOnly, ref }))
827
+ children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("textarea", __spreadProps(__spreadValues({}, rest), { disabled, readOnly, ref }))
802
828
  }
803
829
  );
804
830
  });
@@ -806,15 +832,15 @@ Textarea.displayName = "Textarea";
806
832
 
807
833
  // src/form/checkbox/checkbox.tsx
808
834
  var import_react14 = require("react");
809
- var import_typed_classname16 = require("@postenbring/hedwig-css/typed-classname");
810
- var import_jsx_runtime16 = require("react/jsx-runtime");
835
+ var import_typed_classname17 = require("@postenbring/hedwig-css/typed-classname");
836
+ var import_jsx_runtime17 = require("react/jsx-runtime");
811
837
  var Checkbox = (0, import_react14.forwardRef)(
812
838
  (_a, ref) => {
813
839
  var _b = _a, { variant = "plain", hasError, title, children, className } = _b, rest = __objRest(_b, ["variant", "hasError", "title", "children", "className"]);
814
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
840
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
815
841
  "div",
816
842
  {
817
- className: (0, import_typed_classname16.clsx)(
843
+ className: (0, import_typed_classname17.clsx)(
818
844
  "hds-checkbox",
819
845
  {
820
846
  [`hds-checkbox--${variant}`]: variant === "bounding-box",
@@ -823,10 +849,10 @@ var Checkbox = (0, import_react14.forwardRef)(
823
849
  className
824
850
  ),
825
851
  children: [
826
- /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("label", { children: [
827
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("input", __spreadProps(__spreadValues({}, rest), { "aria-invalid": hasError ? true : void 0, ref, type: "checkbox" })),
828
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { "aria-hidden": true, className: "hds-checkbox__checkmark" }),
829
- title ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("p", { className: "hds-checkbox__title", children: title }) : children
852
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("label", { children: [
853
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("input", __spreadProps(__spreadValues({}, rest), { "aria-invalid": hasError ? true : void 0, ref, type: "checkbox" })),
854
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { "aria-hidden": true, className: "hds-checkbox__checkmark" }),
855
+ title ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("p", { className: "hds-checkbox__title", children: title }) : children
830
856
  ] }),
831
857
  title ? children : null
832
858
  ]
@@ -838,15 +864,15 @@ Checkbox.displayName = "Checkbox";
838
864
 
839
865
  // src/form/radiobutton/radiobutton.tsx
840
866
  var import_react15 = require("react");
841
- var import_typed_classname17 = require("@postenbring/hedwig-css/typed-classname");
842
- var import_jsx_runtime17 = require("react/jsx-runtime");
867
+ var import_typed_classname18 = require("@postenbring/hedwig-css/typed-classname");
868
+ var import_jsx_runtime18 = require("react/jsx-runtime");
843
869
  var Radiobutton = (0, import_react15.forwardRef)(
844
870
  (_a, ref) => {
845
871
  var _b = _a, { variant = "plain", hasError, title, children, className } = _b, rest = __objRest(_b, ["variant", "hasError", "title", "children", "className"]);
846
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
872
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
847
873
  "div",
848
874
  {
849
- className: (0, import_typed_classname17.clsx)(
875
+ className: (0, import_typed_classname18.clsx)(
850
876
  "hds-radiobutton",
851
877
  {
852
878
  [`hds-radiobutton--${variant}`]: variant === "bounding-box",
@@ -855,10 +881,10 @@ var Radiobutton = (0, import_react15.forwardRef)(
855
881
  className
856
882
  ),
857
883
  children: [
858
- /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("label", { children: [
859
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("input", __spreadProps(__spreadValues({}, rest), { ref, type: "radio" })),
860
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { "aria-hidden": true, className: "hds-radiobutton__checkmark" }),
861
- title ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("p", { className: "hds-radiobutton__title", children: title }) : children
884
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("label", { children: [
885
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("input", __spreadProps(__spreadValues({}, rest), { ref, type: "radio" })),
886
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { "aria-hidden": true, className: "hds-radiobutton__checkmark" }),
887
+ title ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("p", { className: "hds-radiobutton__title", children: title }) : children
862
888
  ] }),
863
889
  title ? children : null
864
890
  ]
@@ -869,16 +895,16 @@ var Radiobutton = (0, import_react15.forwardRef)(
869
895
  Radiobutton.displayName = "Radiobutton";
870
896
 
871
897
  // src/layout/container/container.tsx
872
- var import_typed_classname18 = require("@postenbring/hedwig-css/typed-classname");
898
+ var import_typed_classname19 = require("@postenbring/hedwig-css/typed-classname");
873
899
  var import_react16 = require("react");
874
- var import_jsx_runtime18 = require("react/jsx-runtime");
900
+ var import_jsx_runtime19 = require("react/jsx-runtime");
875
901
  var Container = (0, import_react16.forwardRef)(
876
902
  (_a, ref) => {
877
903
  var _b = _a, { as: Component = "div", className, children, variant } = _b, rest = __objRest(_b, ["as", "className", "children", "variant"]);
878
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
904
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
879
905
  Component,
880
906
  __spreadProps(__spreadValues({}, rest), {
881
- className: (0, import_typed_classname18.clsx)(
907
+ className: (0, import_typed_classname19.clsx)(
882
908
  "hds-container",
883
909
  { "hds-container--slim": variant === "slim" },
884
910
  className
@@ -892,16 +918,16 @@ var Container = (0, import_react16.forwardRef)(
892
918
  Container.displayName = "Container";
893
919
 
894
920
  // src/link/link.tsx
895
- var import_typed_classname19 = require("@postenbring/hedwig-css/typed-classname");
921
+ var import_typed_classname20 = require("@postenbring/hedwig-css/typed-classname");
896
922
  var import_react17 = require("react");
897
- var import_jsx_runtime19 = require("react/jsx-runtime");
923
+ var import_jsx_runtime20 = require("react/jsx-runtime");
898
924
  var Link = (0, import_react17.forwardRef)(
899
925
  (_a, ref) => {
900
926
  var _b = _a, { as: Component = "a", children, variant = "underline", size = "medium", className } = _b, rest = __objRest(_b, ["as", "children", "variant", "size", "className"]);
901
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
927
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
902
928
  Component,
903
929
  __spreadProps(__spreadValues({
904
- className: (0, import_typed_classname19.clsx)(
930
+ className: (0, import_typed_classname20.clsx)(
905
931
  "hds-link",
906
932
  variant !== "underline" && `hds-link--${variant}`,
907
933
  size !== "medium" && `hds-link--${size}`,
@@ -916,32 +942,6 @@ var Link = (0, import_react17.forwardRef)(
916
942
  );
917
943
  Link.displayName = "Link";
918
944
 
919
- // src/list/description-list.tsx
920
- var import_typed_classname20 = require("@postenbring/hedwig-css/typed-classname");
921
- var import_jsx_runtime20 = require("react/jsx-runtime");
922
- function DescriptionList(_a) {
923
- var _b = _a, {
924
- variant = "vertical",
925
- className
926
- } = _b, rest = __objRest(_b, [
927
- "variant",
928
- "className"
929
- ]);
930
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
931
- "dl",
932
- __spreadValues({
933
- className: (0, import_typed_classname20.clsx)(
934
- "hds-description-list",
935
- {
936
- "hds-description-list--horizontal": variant === "horizontal"
937
- },
938
- className
939
- )
940
- }, rest)
941
- );
942
- }
943
- DescriptionList.displayName = "DescriptionList";
944
-
945
945
  // src/list/list.tsx
946
946
  var import_typed_classname21 = require("@postenbring/hedwig-css/typed-classname");
947
947
  var import_jsx_runtime21 = require("react/jsx-runtime");
@@ -1238,6 +1238,7 @@ NavbarNavigation.displayName = "Navbar.Navigation";
1238
1238
  var import_react22 = require("react");
1239
1239
  var import_client = require("react-dom/client");
1240
1240
  var import_typed_classname26 = require("@postenbring/hedwig-css/typed-classname");
1241
+ var import_focus_trap_react = __toESM(require("focus-trap-react"));
1241
1242
 
1242
1243
  // src/navbar/icons.tsx
1243
1244
  var import_jsx_runtime26 = require("react/jsx-runtime");
@@ -1279,7 +1280,11 @@ function NavbarExpandableMenu({ children }) {
1279
1280
  document.body.classList.remove((0, import_typed_classname26.clsx)("hds-navbar-scroll-lock"));
1280
1281
  }
1281
1282
  };
1282
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(navbarContext.Provider, { value: [open, toggleOpen], children });
1283
+ const navbarElement = document.getElementsByClassName((0, import_typed_classname26.clsx)("hds-navbar"))[0];
1284
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(navbarContext.Provider, { value: [open, toggleOpen], children: [
1285
+ open ? /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_focus_trap_react.default, { containerElements: [navbarElement] }) : null,
1286
+ children
1287
+ ] });
1283
1288
  }
1284
1289
  NavbarExpandableMenu.displayName = "NavbarExpandableMenu";
1285
1290
  function RenderButton(_a) {