@postenbring/hedwig-react 4.2.2 → 4.3.1

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 (49) hide show
  1. package/dist/chunk-5J5LYE6Z.mjs +1 -0
  2. package/dist/chunk-6D5VE3DW.mjs +44 -0
  3. package/dist/chunk-6D5VE3DW.mjs.map +1 -0
  4. package/dist/chunk-FTVKPZCX.mjs +37 -0
  5. package/dist/chunk-FTVKPZCX.mjs.map +1 -0
  6. package/dist/chunk-HA3LRSDK.mjs +21 -0
  7. package/dist/chunk-HA3LRSDK.mjs.map +1 -0
  8. package/dist/chunk-XSID7YR7.mjs +1 -0
  9. package/dist/chunk-XSID7YR7.mjs.map +1 -0
  10. package/dist/form/index.d.ts +1 -0
  11. package/dist/form/index.d.ts.map +1 -1
  12. package/dist/form/index.js +82 -5
  13. package/dist/form/index.js.map +1 -1
  14. package/dist/form/index.mjs +16 -1
  15. package/dist/form/suggestions/index.d.ts +7 -0
  16. package/dist/form/suggestions/index.d.ts.map +1 -0
  17. package/dist/form/suggestions/index.js +131 -0
  18. package/dist/form/suggestions/index.js.map +1 -0
  19. package/dist/form/suggestions/index.mjs +19 -0
  20. package/dist/form/suggestions/index.mjs.map +1 -0
  21. package/dist/form/suggestions/suggestions-item.d.ts +45 -0
  22. package/dist/form/suggestions/suggestions-item.d.ts.map +1 -0
  23. package/dist/form/suggestions/suggestions-item.js +83 -0
  24. package/dist/form/suggestions/suggestions-item.js.map +1 -0
  25. package/dist/form/suggestions/suggestions-item.mjs +10 -0
  26. package/dist/form/suggestions/suggestions-item.mjs.map +1 -0
  27. package/dist/form/suggestions/suggestions-wrapper.d.ts +41 -0
  28. package/dist/form/suggestions/suggestions-wrapper.d.ts.map +1 -0
  29. package/dist/form/suggestions/suggestions-wrapper.js +66 -0
  30. package/dist/form/suggestions/suggestions-wrapper.js.map +1 -0
  31. package/dist/form/suggestions/suggestions-wrapper.mjs +8 -0
  32. package/dist/form/suggestions/suggestions-wrapper.mjs.map +1 -0
  33. package/dist/form/suggestions/suggestions.d.ts +57 -0
  34. package/dist/form/suggestions/suggestions.d.ts.map +1 -0
  35. package/dist/form/suggestions/suggestions.js +123 -0
  36. package/dist/form/suggestions/suggestions.js.map +1 -0
  37. package/dist/form/suggestions/suggestions.mjs +10 -0
  38. package/dist/form/suggestions/suggestions.mjs.map +1 -0
  39. package/dist/index.js +356 -279
  40. package/dist/index.js.map +1 -1
  41. package/dist/index.mjs +24 -9
  42. package/package.json +7 -7
  43. package/src/form/index.tsx +1 -0
  44. package/src/form/suggestions/index.tsx +6 -0
  45. package/src/form/suggestions/suggestions-item.tsx +70 -0
  46. package/src/form/suggestions/suggestions-wrapper.tsx +50 -0
  47. package/src/form/suggestions/suggestions.tsx +89 -0
  48. package/dist/chunk-CVE23PMJ.mjs +0 -1
  49. /package/dist/{chunk-CVE23PMJ.mjs.map → chunk-5J5LYE6Z.mjs.map} +0 -0
package/dist/index.js CHANGED
@@ -135,6 +135,10 @@ __export(index_exports, {
135
135
  Stack: () => Stack,
136
136
  StepIndicator: () => StepIndicator,
137
137
  StyledHtml: () => StyledHtml,
138
+ Suggestions: () => Suggestions,
139
+ SuggestionsItem: () => SuggestionsItem,
140
+ SuggestionsItemAction: () => SuggestionsItemAction,
141
+ SuggestionsWrapper: () => SuggestionsWrapper,
138
142
  Table: () => Table,
139
143
  Tabs: () => Tabs,
140
144
  TabsContent: () => TabsContent,
@@ -1842,11 +1846,80 @@ var Select = (0, import_react34.forwardRef)(
1842
1846
  );
1843
1847
  Select.displayName = "Select";
1844
1848
 
1845
- // src/form/textarea/textarea.tsx
1849
+ // src/form/suggestions/suggestions.tsx
1850
+ var import_react37 = require("react");
1851
+ var import_typed_classname31 = require("@postenbring/hedwig-css/typed-classname");
1852
+
1853
+ // src/form/suggestions/suggestions-wrapper.tsx
1846
1854
  var import_react35 = require("react");
1847
1855
  var import_typed_classname29 = require("@postenbring/hedwig-css/typed-classname");
1848
1856
  var import_jsx_runtime33 = require("react/jsx-runtime");
1849
- var Textarea = (0, import_react35.forwardRef)(function Textarea2(_a, ref) {
1857
+ var SuggestionsWrapper = (0, import_react35.forwardRef)(
1858
+ (_a, ref) => {
1859
+ var _b = _a, { as: Tag = "div", className } = _b, rest = __objRest(_b, ["as", "className"]);
1860
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Tag, __spreadValues({ className: (0, import_typed_classname29.clsx)("hds-suggestions-wrapper", className), ref }, rest));
1861
+ }
1862
+ );
1863
+ SuggestionsWrapper.displayName = "Suggestions.Wrapper";
1864
+
1865
+ // src/form/suggestions/suggestions-item.tsx
1866
+ var import_react36 = require("react");
1867
+ var import_typed_classname30 = require("@postenbring/hedwig-css/typed-classname");
1868
+ var import_react_slot10 = require("@radix-ui/react-slot");
1869
+ var import_jsx_runtime34 = require("react/jsx-runtime");
1870
+ var SuggestionsItem = (0, import_react36.forwardRef)(
1871
+ (_a, ref) => {
1872
+ var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
1873
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("li", __spreadValues({ className: (0, import_typed_classname30.clsx)("hds-suggestions-item", className), ref }, rest));
1874
+ }
1875
+ );
1876
+ SuggestionsItem.displayName = "Suggestions.Item";
1877
+ var SuggestionsItemAction = (0, import_react36.forwardRef)(
1878
+ (_a, ref) => {
1879
+ var _b = _a, { asChild, className } = _b, rest = __objRest(_b, ["asChild", "className"]);
1880
+ const Component = asChild ? import_react_slot10.Slot : "a";
1881
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
1882
+ Component,
1883
+ __spreadValues({
1884
+ className: (0, import_typed_classname30.clsx)("hds-suggestions-item__action", className),
1885
+ ref
1886
+ }, rest)
1887
+ );
1888
+ }
1889
+ );
1890
+ SuggestionsItemAction.displayName = "Suggestions.ItemAction";
1891
+
1892
+ // src/form/suggestions/suggestions.tsx
1893
+ var import_jsx_runtime35 = require("react/jsx-runtime");
1894
+ var Suggestions = (0, import_react37.forwardRef)(
1895
+ (_a, ref) => {
1896
+ var _b = _a, { as = "ul", size = "default", className } = _b, rest = __objRest(_b, ["as", "size", "className"]);
1897
+ const classes = (0, import_typed_classname31.clsx)(
1898
+ "hds-suggestions",
1899
+ size !== "default" && `hds-suggestions--${size}`,
1900
+ className
1901
+ );
1902
+ return as === "ol" ? /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
1903
+ "ol",
1904
+ __spreadValues({
1905
+ className: classes,
1906
+ ref
1907
+ }, rest)
1908
+ ) : /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("ul", __spreadValues({ className: classes, ref }, rest));
1909
+ }
1910
+ );
1911
+ Suggestions.displayName = "Suggestions";
1912
+ SuggestionsItem.displayName = "Suggestions.Item";
1913
+ SuggestionsItemAction.displayName = "Suggestions.ItemAction";
1914
+ Suggestions.Item = SuggestionsItem;
1915
+ Suggestions.ItemAction = SuggestionsItemAction;
1916
+ Suggestions.Wrapper = SuggestionsWrapper;
1917
+
1918
+ // src/form/textarea/textarea.tsx
1919
+ var import_react38 = require("react");
1920
+ var import_typed_classname32 = require("@postenbring/hedwig-css/typed-classname");
1921
+ var import_jsx_runtime36 = require("react/jsx-runtime");
1922
+ var Textarea = (0, import_react38.forwardRef)(function Textarea2(_a, ref) {
1850
1923
  var _b = _a, {
1851
1924
  className,
1852
1925
  size,
@@ -1874,10 +1947,10 @@ var Textarea = (0, import_react35.forwardRef)(function Textarea2(_a, ref) {
1874
1947
  "readOnly",
1875
1948
  "data-color"
1876
1949
  ]);
1877
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
1950
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
1878
1951
  InputGroup,
1879
1952
  {
1880
- className: (0, import_typed_classname29.clsx)("hds-textarea", className),
1953
+ className: (0, import_typed_classname32.clsx)("hds-textarea", className),
1881
1954
  disabled,
1882
1955
  validationMessage,
1883
1956
  validationMessageProps,
@@ -1889,40 +1962,40 @@ var Textarea = (0, import_react35.forwardRef)(function Textarea2(_a, ref) {
1889
1962
  style,
1890
1963
  size,
1891
1964
  "data-color": dataColor,
1892
- children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("textarea", __spreadValues({ disabled, readOnly, ref }, rest))
1965
+ children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("textarea", __spreadValues({ disabled, readOnly, ref }, rest))
1893
1966
  }
1894
1967
  );
1895
1968
  });
1896
1969
  Textarea.displayName = "Textarea";
1897
1970
 
1898
1971
  // src/footer/footer.tsx
1899
- var import_react36 = require("react");
1900
- var import_typed_classname30 = require("@postenbring/hedwig-css/typed-classname");
1901
- var import_react_slot10 = require("@radix-ui/react-slot");
1902
- var import_jsx_runtime34 = require("react/jsx-runtime");
1903
- var FooterLogo = (0, import_react36.forwardRef)(
1972
+ var import_react39 = require("react");
1973
+ var import_typed_classname33 = require("@postenbring/hedwig-css/typed-classname");
1974
+ var import_react_slot11 = require("@radix-ui/react-slot");
1975
+ var import_jsx_runtime37 = require("react/jsx-runtime");
1976
+ var FooterLogo = (0, import_react39.forwardRef)(
1904
1977
  (_a, ref) => {
1905
1978
  var _b = _a, { children, className, asChild } = _b, rest = __objRest(_b, ["children", "className", "asChild"]);
1906
- const Component = asChild ? import_react_slot10.Slot : "div";
1907
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Component, __spreadProps(__spreadValues({ className: (0, import_typed_classname30.clsx)(`hds-footer__logo`, className), ref }, rest), { children }));
1979
+ const Component = asChild ? import_react_slot11.Slot : "div";
1980
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Component, __spreadProps(__spreadValues({ className: (0, import_typed_classname33.clsx)(`hds-footer__logo`, className), ref }, rest), { children }));
1908
1981
  }
1909
1982
  );
1910
1983
  FooterLogo.displayName = "Footer.Logo";
1911
- var FooterButtonLink = (0, import_react36.forwardRef)(
1984
+ var FooterButtonLink = (0, import_react39.forwardRef)(
1912
1985
  (_a, ref) => {
1913
1986
  var _b = _a, { children, className, asChild } = _b, rest = __objRest(_b, ["children", "className", "asChild"]);
1914
- const Component = asChild ? import_react_slot10.Slot : "a";
1915
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Button, { asChild: true, variant: "secondary", className: (0, import_typed_classname30.clsx)(className), children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Component, __spreadProps(__spreadValues({ ref }, rest), { children })) });
1987
+ const Component = asChild ? import_react_slot11.Slot : "a";
1988
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Button, { asChild: true, variant: "secondary", className: (0, import_typed_classname33.clsx)(className), children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Component, __spreadProps(__spreadValues({ ref }, rest), { children })) });
1916
1989
  }
1917
1990
  );
1918
1991
  FooterButtonLink.displayName = "FooterButton";
1919
- var FooterLinkSections = (0, import_react36.forwardRef)(
1992
+ var FooterLinkSections = (0, import_react39.forwardRef)(
1920
1993
  (_a, ref) => {
1921
1994
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
1922
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_jsx_runtime34.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
1995
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_jsx_runtime37.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
1923
1996
  Accordion,
1924
1997
  __spreadProps(__spreadValues({
1925
- className: (0, import_typed_classname30.clsx)("hds-footer__link-sections", className),
1998
+ className: (0, import_typed_classname33.clsx)("hds-footer__link-sections", className),
1926
1999
  ref
1927
2000
  }, rest), {
1928
2001
  children
@@ -1931,40 +2004,40 @@ var FooterLinkSections = (0, import_react36.forwardRef)(
1931
2004
  }
1932
2005
  );
1933
2006
  FooterLinkSections.displayName = "Footer.LinkSections";
1934
- var FooterLinkSection = (0, import_react36.forwardRef)(
2007
+ var FooterLinkSection = (0, import_react39.forwardRef)(
1935
2008
  (_a, ref) => {
1936
2009
  var _b = _a, { heading, children, className } = _b, rest = __objRest(_b, ["heading", "children", "className"]);
1937
- const linkListChildren = /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(LinkList, { children });
1938
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_jsx_runtime34.Fragment, { children: [
1939
- /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
2010
+ const linkListChildren = /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(LinkList, { children });
2011
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_jsx_runtime37.Fragment, { children: [
2012
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
1940
2013
  Accordion.Item,
1941
2014
  __spreadProps(__spreadValues({
1942
- className: (0, import_typed_classname30.clsx)(`hds-footer__link-section`, className),
2015
+ className: (0, import_typed_classname33.clsx)(`hds-footer__link-section`, className),
1943
2016
  ref
1944
2017
  }, rest), {
1945
2018
  children: [
1946
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Accordion.Header, { children: heading }),
1947
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Accordion.Content, { children: linkListChildren })
2019
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Accordion.Header, { children: heading }),
2020
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Accordion.Content, { children: linkListChildren })
1948
2021
  ]
1949
2022
  })
1950
2023
  ),
1951
- /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: (0, import_typed_classname30.clsx)(`hds-footer__link-section`, className), children: [
1952
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("h2", { children: heading }),
2024
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: (0, import_typed_classname33.clsx)(`hds-footer__link-section`, className), children: [
2025
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("h2", { children: heading }),
1953
2026
  linkListChildren
1954
2027
  ] })
1955
2028
  ] });
1956
2029
  }
1957
2030
  );
1958
2031
  FooterLinkSection.displayName = "Footer.LinkSection";
1959
- var Footer = (0, import_react36.forwardRef)(
2032
+ var Footer = (0, import_react39.forwardRef)(
1960
2033
  (_a, ref) => {
1961
2034
  var _b = _a, { children, className, variant, asChild } = _b, rest = __objRest(_b, ["children", "className", "variant", "asChild"]);
1962
- const Component = asChild ? import_react_slot10.Slot : "footer";
1963
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2035
+ const Component = asChild ? import_react_slot11.Slot : "footer";
2036
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
1964
2037
  Component,
1965
2038
  __spreadProps(__spreadValues({
1966
2039
  "data-color-scheme": "dark",
1967
- className: (0, import_typed_classname30.clsx)(
2040
+ className: (0, import_typed_classname33.clsx)(
1968
2041
  `hds-footer`,
1969
2042
  variant === "slim" && "hds-footer--slim",
1970
2043
  className
@@ -1984,10 +2057,10 @@ Footer.LinkSection = FooterLinkSection;
1984
2057
 
1985
2058
  // src/help-text/help-text.tsx
1986
2059
  var Popover = __toESM(require("@radix-ui/react-popover"));
1987
- var import_typed_classname31 = require("@postenbring/hedwig-css/typed-classname");
1988
- var import_react37 = require("react");
1989
- var import_jsx_runtime35 = require("react/jsx-runtime");
1990
- var HelpText = (0, import_react37.forwardRef)(
2060
+ var import_typed_classname34 = require("@postenbring/hedwig-css/typed-classname");
2061
+ var import_react40 = require("react");
2062
+ var import_jsx_runtime38 = require("react/jsx-runtime");
2063
+ var HelpText = (0, import_react40.forwardRef)(
1991
2064
  (_a, ref) => {
1992
2065
  var _b = _a, { children, className, helpText, title, side = "top", align = "start", boxProps } = _b, rest = __objRest(_b, ["children", "className", "helpText", "title", "side", "align", "boxProps"]);
1993
2066
  return (
@@ -1995,24 +2068,24 @@ var HelpText = (0, import_react37.forwardRef)(
1995
2068
  // In the future we can use the native popover api, but as of writing, though all browsers support it
1996
2069
  // it's not far enough back to be used in production
1997
2070
  // https://caniuse.com/mdn-html_elements_input_popovertarget
1998
- /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(Popover.Root, { children: [
1999
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Popover.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2071
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(Popover.Root, { children: [
2072
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Popover.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
2000
2073
  "button",
2001
2074
  __spreadProps(__spreadValues({
2002
2075
  ref,
2003
- className: (0, import_typed_classname31.clsx)("hds-help-text-button", className),
2076
+ className: (0, import_typed_classname34.clsx)("hds-help-text-button", className),
2004
2077
  title,
2005
2078
  type: "button"
2006
2079
  }, rest), {
2007
2080
  children
2008
2081
  })
2009
2082
  ) }),
2010
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Popover.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Popover.Content, { asChild: true, side, align, children: /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
2083
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Popover.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Popover.Content, { asChild: true, side, align, children: /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
2011
2084
  Box,
2012
2085
  __spreadProps(__spreadValues({}, boxProps), {
2013
- className: (0, import_typed_classname31.clsx)("hds-help-text-box", boxProps == null ? void 0 : boxProps.className),
2086
+ className: (0, import_typed_classname34.clsx)("hds-help-text-box", boxProps == null ? void 0 : boxProps.className),
2014
2087
  children: [
2015
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Popover.Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Box.CloseButton, {}) }),
2088
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Popover.Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Box.CloseButton, {}) }),
2016
2089
  helpText
2017
2090
  ]
2018
2091
  })
@@ -2024,18 +2097,18 @@ var HelpText = (0, import_react37.forwardRef)(
2024
2097
  HelpText.displayName = "HelpText";
2025
2098
 
2026
2099
  // src/layout/container/container.tsx
2027
- var import_typed_classname32 = require("@postenbring/hedwig-css/typed-classname");
2028
- var import_react_slot11 = require("@radix-ui/react-slot");
2029
- var import_react38 = require("react");
2030
- var import_jsx_runtime36 = require("react/jsx-runtime");
2031
- var Container = (0, import_react38.forwardRef)(
2100
+ var import_typed_classname35 = require("@postenbring/hedwig-css/typed-classname");
2101
+ var import_react_slot12 = require("@radix-ui/react-slot");
2102
+ var import_react41 = require("react");
2103
+ var import_jsx_runtime39 = require("react/jsx-runtime");
2104
+ var Container = (0, import_react41.forwardRef)(
2032
2105
  (_a, ref) => {
2033
2106
  var _b = _a, { as: Tag = "div", asChild, className, children, variant } = _b, rest = __objRest(_b, ["as", "asChild", "className", "children", "variant"]);
2034
- const Component = asChild ? import_react_slot11.Slot : Tag;
2035
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
2107
+ const Component = asChild ? import_react_slot12.Slot : Tag;
2108
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
2036
2109
  Component,
2037
2110
  __spreadProps(__spreadValues({}, rest), {
2038
- className: (0, import_typed_classname32.clsx)(
2111
+ className: (0, import_typed_classname35.clsx)(
2039
2112
  "hds-container",
2040
2113
  { "hds-container--slim": variant === "slim" },
2041
2114
  className
@@ -2049,9 +2122,9 @@ var Container = (0, import_react38.forwardRef)(
2049
2122
  Container.displayName = "Container";
2050
2123
 
2051
2124
  // src/layout/grid/grid.tsx
2052
- var import_typed_classname33 = require("@postenbring/hedwig-css/typed-classname");
2053
- var import_react_slot12 = require("@radix-ui/react-slot");
2054
- var import_react39 = require("react");
2125
+ var import_typed_classname36 = require("@postenbring/hedwig-css/typed-classname");
2126
+ var import_react_slot13 = require("@radix-ui/react-slot");
2127
+ var import_react42 = require("react");
2055
2128
 
2056
2129
  // src/layout/responsive.ts
2057
2130
  function getResponsiveProps(variable, inputValues, valueTransformer = (value) => String(value)) {
@@ -2072,17 +2145,17 @@ function getSpacingVariable(size) {
2072
2145
  }
2073
2146
 
2074
2147
  // src/layout/grid/grid.tsx
2075
- var import_jsx_runtime37 = require("react/jsx-runtime");
2076
- var GridItem = (0, import_react39.forwardRef)(
2148
+ var import_jsx_runtime40 = require("react/jsx-runtime");
2149
+ var GridItem = (0, import_react42.forwardRef)(
2077
2150
  (_a, ref) => {
2078
2151
  var _b = _a, { children, asChild, className, span, center, style: _style } = _b, rest = __objRest(_b, ["children", "asChild", "className", "span", "center", "style"]);
2079
- const Component = asChild ? import_react_slot12.Slot : "div";
2152
+ const Component = asChild ? import_react_slot13.Slot : "div";
2080
2153
  const style = __spreadValues(__spreadValues(__spreadValues({}, _style), getResponsiveProps("--hds-grid-item-span", span)), getResponsiveProps("--hds-grid-item-center", center, (value) => value ? "1" : "0"));
2081
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
2154
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
2082
2155
  Component,
2083
2156
  __spreadProps(__spreadValues({
2084
2157
  style,
2085
- className: (0, import_typed_classname33.clsx)("hds-grid__item", className),
2158
+ className: (0, import_typed_classname36.clsx)("hds-grid__item", className),
2086
2159
  ref
2087
2160
  }, rest), {
2088
2161
  children
@@ -2091,16 +2164,16 @@ var GridItem = (0, import_react39.forwardRef)(
2091
2164
  }
2092
2165
  );
2093
2166
  GridItem.displayName = "Grid.Item";
2094
- var Grid = (0, import_react39.forwardRef)(
2167
+ var Grid = (0, import_react42.forwardRef)(
2095
2168
  (_a, ref) => {
2096
2169
  var _b = _a, { children, asChild, className, span, center, style: _style, gap, gapX, gapY } = _b, rest = __objRest(_b, ["children", "asChild", "className", "span", "center", "style", "gap", "gapX", "gapY"]);
2097
- const Component = asChild ? import_react_slot12.Slot : "div";
2170
+ const Component = asChild ? import_react_slot13.Slot : "div";
2098
2171
  const style = __spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues({}, _style), getResponsiveProps("--hds-grid-gap", gap, getSpacingVariable)), getResponsiveProps("--hds-grid-gap-x", gapX, getSpacingVariable)), getResponsiveProps("--hds-grid-gap-y", gapY, getSpacingVariable)), getResponsiveProps("--hds-grid-span", span)), getResponsiveProps("--hds-grid-center", center, (value) => value ? "1" : "0"));
2099
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
2172
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
2100
2173
  Component,
2101
2174
  __spreadProps(__spreadValues({
2102
2175
  style,
2103
- className: (0, import_typed_classname33.clsx)("hds-grid", className),
2176
+ className: (0, import_typed_classname36.clsx)("hds-grid", className),
2104
2177
  ref
2105
2178
  }, rest), {
2106
2179
  children
@@ -2113,11 +2186,11 @@ Grid.Item = GridItem;
2113
2186
 
2114
2187
  // src/layout/stack/stack.tsx
2115
2188
  var React4 = require("react");
2116
- var import_typed_classname34 = require("@postenbring/hedwig-css/typed-classname");
2117
- var import_react40 = require("react");
2118
- var import_react_slot13 = require("@radix-ui/react-slot");
2119
- var import_jsx_runtime38 = require("react/jsx-runtime");
2120
- var Stack = (0, import_react40.forwardRef)(
2189
+ var import_typed_classname37 = require("@postenbring/hedwig-css/typed-classname");
2190
+ var import_react43 = require("react");
2191
+ var import_react_slot14 = require("@radix-ui/react-slot");
2192
+ var import_jsx_runtime41 = require("react/jsx-runtime");
2193
+ var Stack = (0, import_react43.forwardRef)(
2121
2194
  (_a, ref) => {
2122
2195
  var _b = _a, {
2123
2196
  children,
@@ -2144,13 +2217,13 @@ var Stack = (0, import_react40.forwardRef)(
2144
2217
  "align",
2145
2218
  "justify"
2146
2219
  ]);
2147
- const Component = asChild ? import_react_slot13.Slot : "div";
2220
+ const Component = asChild ? import_react_slot14.Slot : "div";
2148
2221
  const style = __spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues({}, _style), getResponsiveProps("--hds-stack-gap", gap, getSpacingVariable)), getResponsiveProps("--hds-stack-gap-x", gapX, getSpacingVariable)), getResponsiveProps("--hds-stack-gap-y", gapY, getSpacingVariable)), getResponsiveProps("--hds-stack-direction", direction)), getResponsiveProps("--hds-stack-wrap", wrap, (value) => value ? "wrap" : "nowrap")), getResponsiveProps("--hds-stack-align", align)), getResponsiveProps("--hds-stack-justify", justify));
2149
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
2222
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
2150
2223
  Component,
2151
2224
  __spreadProps(__spreadValues({
2152
2225
  style,
2153
- className: (0, import_typed_classname34.clsx)("hds-stack", className),
2226
+ className: (0, import_typed_classname37.clsx)("hds-stack", className),
2154
2227
  ref
2155
2228
  }, rest), {
2156
2229
  children
@@ -2159,59 +2232,59 @@ var Stack = (0, import_react40.forwardRef)(
2159
2232
  }
2160
2233
  );
2161
2234
  Stack.displayName = "Stack";
2162
- var HStack = (0, import_react40.forwardRef)((props, ref) => {
2163
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Stack, __spreadProps(__spreadValues({ ref }, props), { direction: "row" }));
2235
+ var HStack = (0, import_react43.forwardRef)((props, ref) => {
2236
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Stack, __spreadProps(__spreadValues({ ref }, props), { direction: "row" }));
2164
2237
  });
2165
2238
  HStack.displayName = "HStack";
2166
- var VStack = (0, import_react40.forwardRef)((props, ref) => {
2167
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Stack, __spreadProps(__spreadValues({ ref }, props), { direction: "column" }));
2239
+ var VStack = (0, import_react43.forwardRef)((props, ref) => {
2240
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Stack, __spreadProps(__spreadValues({ ref }, props), { direction: "column" }));
2168
2241
  });
2169
2242
  VStack.displayName = "VStack";
2170
2243
 
2171
2244
  // src/message/message.tsx
2172
- var import_react41 = require("react");
2173
- var import_typed_classname35 = require("@postenbring/hedwig-css/typed-classname");
2174
- var import_react_slot14 = require("@radix-ui/react-slot");
2175
- var import_jsx_runtime39 = require("react/jsx-runtime");
2176
- var MessageTitle = (0, import_react41.forwardRef)(
2245
+ var import_react44 = require("react");
2246
+ var import_typed_classname38 = require("@postenbring/hedwig-css/typed-classname");
2247
+ var import_react_slot15 = require("@radix-ui/react-slot");
2248
+ var import_jsx_runtime42 = require("react/jsx-runtime");
2249
+ var MessageTitle = (0, import_react44.forwardRef)(
2177
2250
  (_a, ref) => {
2178
2251
  var _b = _a, { asChild, className } = _b, rest = __objRest(_b, ["asChild", "className"]);
2179
- const Component = asChild ? import_react_slot14.Slot : "div";
2180
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
2252
+ const Component = asChild ? import_react_slot15.Slot : "div";
2253
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2181
2254
  Component,
2182
2255
  __spreadValues({
2183
- className: (0, import_typed_classname35.clsx)("hds-message__title", className),
2256
+ className: (0, import_typed_classname38.clsx)("hds-message__title", className),
2184
2257
  ref
2185
2258
  }, rest)
2186
2259
  );
2187
2260
  }
2188
2261
  );
2189
2262
  MessageTitle.displayName = "Message.Title";
2190
- var MessageDescription = (0, import_react41.forwardRef)(
2263
+ var MessageDescription = (0, import_react44.forwardRef)(
2191
2264
  (_a, ref) => {
2192
2265
  var _b = _a, { asChild, className } = _b, rest = __objRest(_b, ["asChild", "className"]);
2193
- const Component = asChild ? import_react_slot14.Slot : "div";
2194
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
2266
+ const Component = asChild ? import_react_slot15.Slot : "div";
2267
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2195
2268
  Component,
2196
2269
  __spreadValues({
2197
- className: (0, import_typed_classname35.clsx)("hds-message__description", className),
2270
+ className: (0, import_typed_classname38.clsx)("hds-message__description", className),
2198
2271
  ref
2199
2272
  }, rest)
2200
2273
  );
2201
2274
  }
2202
2275
  );
2203
2276
  MessageDescription.displayName = "Message.Description";
2204
- var Message = (0, import_react41.forwardRef)(
2277
+ var Message = (0, import_react44.forwardRef)(
2205
2278
  (_a, ref) => {
2206
2279
  var _b = _a, { children, className, variant = "success", icon, iconClassName } = _b, rest = __objRest(_b, ["children", "className", "variant", "icon", "iconClassName"]);
2207
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
2280
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
2208
2281
  Box,
2209
2282
  __spreadProps(__spreadValues(__spreadProps(__spreadValues({}, variant === "warning" ? { "data-color-scheme": "light" } : {}), {
2210
- className: (0, import_typed_classname35.clsx)(`hds-message`, `hds-message--${variant}`, className),
2283
+ className: (0, import_typed_classname38.clsx)(`hds-message`, `hds-message--${variant}`, className),
2211
2284
  ref
2212
2285
  }), rest), {
2213
2286
  children: [
2214
- variant === "neutral" && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: (0, import_typed_classname35.clsx)("hds-message--neutral__icon", iconClassName), children: icon }),
2287
+ variant === "neutral" && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: (0, import_typed_classname38.clsx)("hds-message--neutral__icon", iconClassName), children: icon }),
2215
2288
  children
2216
2289
  ]
2217
2290
  })
@@ -2223,56 +2296,56 @@ Message.Title = MessageTitle;
2223
2296
  Message.Description = MessageDescription;
2224
2297
 
2225
2298
  // src/modal/modal.tsx
2226
- var import_react42 = require("react");
2227
- var import_typed_classname36 = require("@postenbring/hedwig-css/typed-classname");
2228
- var import_react_slot15 = require("@radix-ui/react-slot");
2229
- var import_jsx_runtime40 = require("react/jsx-runtime");
2230
- var ModalHeader = (0, import_react42.forwardRef)(
2299
+ var import_react45 = require("react");
2300
+ var import_typed_classname39 = require("@postenbring/hedwig-css/typed-classname");
2301
+ var import_react_slot16 = require("@radix-ui/react-slot");
2302
+ var import_jsx_runtime43 = require("react/jsx-runtime");
2303
+ var ModalHeader = (0, import_react45.forwardRef)(
2231
2304
  (_a, ref) => {
2232
2305
  var _b = _a, { asChild, className } = _b, rest = __objRest(_b, ["asChild", "className"]);
2233
- const Component = asChild ? import_react_slot15.Slot : "h1";
2234
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
2306
+ const Component = asChild ? import_react_slot16.Slot : "h1";
2307
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
2235
2308
  Component,
2236
2309
  __spreadValues({
2237
- className: (0, import_typed_classname36.clsx)("hds-modal__header", className),
2310
+ className: (0, import_typed_classname39.clsx)("hds-modal__header", className),
2238
2311
  ref
2239
2312
  }, rest)
2240
2313
  );
2241
2314
  }
2242
2315
  );
2243
2316
  ModalHeader.displayName = "Modal.Header";
2244
- var ModalContent = (0, import_react42.forwardRef)(
2317
+ var ModalContent = (0, import_react45.forwardRef)(
2245
2318
  (_a, ref) => {
2246
2319
  var _b = _a, { asChild, className } = _b, rest = __objRest(_b, ["asChild", "className"]);
2247
- const Component = asChild ? import_react_slot15.Slot : "div";
2248
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
2320
+ const Component = asChild ? import_react_slot16.Slot : "div";
2321
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
2249
2322
  Component,
2250
2323
  __spreadValues({
2251
- className: (0, import_typed_classname36.clsx)("hds-modal__content", className),
2324
+ className: (0, import_typed_classname39.clsx)("hds-modal__content", className),
2252
2325
  ref
2253
2326
  }, rest)
2254
2327
  );
2255
2328
  }
2256
2329
  );
2257
2330
  ModalContent.displayName = "Modal.Content";
2258
- var ModalFooter = (0, import_react42.forwardRef)(
2331
+ var ModalFooter = (0, import_react45.forwardRef)(
2259
2332
  (_a, ref) => {
2260
2333
  var _b = _a, { asChild, className } = _b, rest = __objRest(_b, ["asChild", "className"]);
2261
- const Component = asChild ? import_react_slot15.Slot : "footer";
2262
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
2334
+ const Component = asChild ? import_react_slot16.Slot : "footer";
2335
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
2263
2336
  Component,
2264
2337
  __spreadValues({
2265
- className: (0, import_typed_classname36.clsx)("hds-modal__footer", className),
2338
+ className: (0, import_typed_classname39.clsx)("hds-modal__footer", className),
2266
2339
  ref
2267
2340
  }, rest)
2268
2341
  );
2269
2342
  }
2270
2343
  );
2271
2344
  ModalFooter.displayName = "Modal.Footer";
2272
- var Modal = (0, import_react42.forwardRef)(
2345
+ var Modal = (0, import_react45.forwardRef)(
2273
2346
  (_a, ref) => {
2274
2347
  var _b = _a, { children, className, open, closeOnBackdropClick, onClick } = _b, rest = __objRest(_b, ["children", "className", "open", "closeOnBackdropClick", "onClick"]);
2275
- const modalRef = (0, import_react42.useRef)(null);
2348
+ const modalRef = (0, import_react45.useRef)(null);
2276
2349
  const mergedRef = useMergeRefs([modalRef, ref]);
2277
2350
  function onCloseButtonClick() {
2278
2351
  var _a2;
@@ -2280,7 +2353,7 @@ var Modal = (0, import_react42.forwardRef)(
2280
2353
  return false;
2281
2354
  }
2282
2355
  useScrollLock(modalRef, "hds-modal-scroll-lock");
2283
- (0, import_react42.useEffect)(() => {
2356
+ (0, import_react45.useEffect)(() => {
2284
2357
  if (modalRef.current && open !== void 0) {
2285
2358
  if (open && !modalRef.current.open) {
2286
2359
  modalRef.current.showModal();
@@ -2295,16 +2368,16 @@ var Modal = (0, import_react42.forwardRef)(
2295
2368
  }
2296
2369
  onClick == null ? void 0 : onClick(e);
2297
2370
  }
2298
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
2371
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
2299
2372
  Box,
2300
2373
  {
2301
2374
  asChild: true,
2302
- className: (0, import_typed_classname36.clsx)("hds-modal", className),
2375
+ className: (0, import_typed_classname39.clsx)("hds-modal", className),
2303
2376
  closeable: true,
2304
2377
  onClick: onDialogClick,
2305
2378
  onClose: onCloseButtonClick,
2306
2379
  variant: "white",
2307
- children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("dialog", __spreadProps(__spreadValues({ ref: mergedRef }, rest), { children }))
2380
+ children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("dialog", __spreadProps(__spreadValues({ ref: mergedRef }, rest), { children }))
2308
2381
  }
2309
2382
  );
2310
2383
  }
@@ -2314,7 +2387,7 @@ Modal.Header = ModalHeader;
2314
2387
  Modal.Content = ModalContent;
2315
2388
  Modal.Footer = ModalFooter;
2316
2389
  function useScrollLock(modalRef, bodyClass) {
2317
- (0, import_react42.useEffect)(() => {
2390
+ (0, import_react45.useEffect)(() => {
2318
2391
  if (!modalRef.current) return;
2319
2392
  if (modalRef.current.open) document.body.classList.add(bodyClass);
2320
2393
  const observer = new MutationObserver(() => {
@@ -2334,18 +2407,18 @@ function useScrollLock(modalRef, bodyClass) {
2334
2407
  }
2335
2408
 
2336
2409
  // src/navbar/navbar.tsx
2337
- var import_react44 = require("react");
2338
- var import_typed_classname38 = require("@postenbring/hedwig-css/typed-classname");
2339
- var import_react_slot16 = require("@radix-ui/react-slot");
2410
+ var import_react47 = require("react");
2411
+ var import_typed_classname41 = require("@postenbring/hedwig-css/typed-classname");
2412
+ var import_react_slot17 = require("@radix-ui/react-slot");
2340
2413
 
2341
2414
  // src/navbar/navbar-expandable-menu.tsx
2342
- var import_react43 = require("react");
2343
- var import_typed_classname37 = require("@postenbring/hedwig-css/typed-classname");
2415
+ var import_react46 = require("react");
2416
+ var import_typed_classname40 = require("@postenbring/hedwig-css/typed-classname");
2344
2417
 
2345
2418
  // src/navbar/icons.tsx
2346
- var import_jsx_runtime41 = require("react/jsx-runtime");
2419
+ var import_jsx_runtime44 = require("react/jsx-runtime");
2347
2420
  function CloseIcon2() {
2348
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("svg", { "aria-hidden": true, xmlns: "http://www.w3.org/2000/svg", width: 32, height: 32, viewBox: "0 0 32 32", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
2421
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("svg", { "aria-hidden": true, xmlns: "http://www.w3.org/2000/svg", width: 32, height: 32, viewBox: "0 0 32 32", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
2349
2422
  "path",
2350
2423
  {
2351
2424
  d: "M17.5469 16.3333L22.375 11.5521L23.3594 10.5677C23.5 10.4271 23.5 10.1927 23.3594 10.0052L22.3281 8.97394C22.1406 8.83331 21.9062 8.83331 21.7656 8.97394L16 14.7864L10.1875 8.97394C10.0469 8.83331 9.8125 8.83331 9.625 8.97394L8.59375 10.0052C8.45312 10.1927 8.45312 10.4271 8.59375 10.5677L14.4062 16.3333L8.59375 22.1458C8.45312 22.2864 8.45312 22.5208 8.59375 22.7083L9.625 23.7396C9.8125 23.8802 10.0469 23.8802 10.1875 23.7396L16 17.9271L20.7812 22.7552L21.7656 23.7396C21.9062 23.8802 22.1406 23.8802 22.3281 23.7396L23.3594 22.7083C23.5 22.5208 23.5 22.2864 23.3594 22.1458L17.5469 16.3333Z",
@@ -2354,7 +2427,7 @@ function CloseIcon2() {
2354
2427
  ) });
2355
2428
  }
2356
2429
  function MenuIcon() {
2357
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("svg", { "aria-hidden": true, xmlns: "http://www.w3.org/2000/svg", width: 32, height: 32, children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
2430
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("svg", { "aria-hidden": true, xmlns: "http://www.w3.org/2000/svg", width: 32, height: 32, children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
2358
2431
  "path",
2359
2432
  {
2360
2433
  fill: "currentColor",
@@ -2364,35 +2437,35 @@ function MenuIcon() {
2364
2437
  }
2365
2438
 
2366
2439
  // src/navbar/navbar-expandable-menu.tsx
2367
- var import_jsx_runtime42 = require("react/jsx-runtime");
2368
- var ExpandableMenuContext = (0, import_react43.createContext)(null);
2440
+ var import_jsx_runtime45 = require("react/jsx-runtime");
2441
+ var ExpandableMenuContext = (0, import_react46.createContext)(null);
2369
2442
  var useNavbarExpendableMenuContext = () => {
2370
- const value = (0, import_react43.useContext)(ExpandableMenuContext);
2443
+ const value = (0, import_react46.useContext)(ExpandableMenuContext);
2371
2444
  if (value === null) {
2372
2445
  throw new Error("useNavbarExpendableMenuContext must be used within a Navbar.ExpandableMenu");
2373
2446
  }
2374
2447
  return value;
2375
2448
  };
2376
2449
  function NavbarExpandableMenu({ children }) {
2377
- const contentId = (0, import_react43.useId)();
2378
- const [open, setOpen] = (0, import_react43.useState)(false);
2379
- (0, import_react43.useEffect)(() => {
2450
+ const contentId = (0, import_react46.useId)();
2451
+ const [open, setOpen] = (0, import_react46.useState)(false);
2452
+ (0, import_react46.useEffect)(() => {
2380
2453
  if (open) {
2381
2454
  window.scrollTo(0, 0);
2382
- document.body.classList.add((0, import_typed_classname37.clsx)("hds-navbar-scroll-lock"));
2455
+ document.body.classList.add((0, import_typed_classname40.clsx)("hds-navbar-scroll-lock"));
2383
2456
  const releaseFocusTrap2 = focusTrap(
2384
- document.getElementsByClassName((0, import_typed_classname37.clsx)("hds-navbar"))[0]
2457
+ document.getElementsByClassName((0, import_typed_classname40.clsx)("hds-navbar"))[0]
2385
2458
  );
2386
2459
  return () => {
2387
- document.body.classList.remove((0, import_typed_classname37.clsx)("hds-navbar-scroll-lock"));
2460
+ document.body.classList.remove((0, import_typed_classname40.clsx)("hds-navbar-scroll-lock"));
2388
2461
  releaseFocusTrap2();
2389
2462
  };
2390
2463
  }
2391
2464
  }, [open]);
2392
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(ExpandableMenuContext.Provider, { value: { contentId, open, setOpen }, children });
2465
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(ExpandableMenuContext.Provider, { value: { contentId, open, setOpen }, children });
2393
2466
  }
2394
2467
  NavbarExpandableMenu.displayName = "NavbarExpandableMenu";
2395
- var NavbarExpandableMenuTrigger = (0, import_react43.forwardRef)(
2468
+ var NavbarExpandableMenuTrigger = (0, import_react46.forwardRef)(
2396
2469
  (_a, ref) => {
2397
2470
  var _b = _a, {
2398
2471
  whenClosedText,
@@ -2413,13 +2486,13 @@ var NavbarExpandableMenuTrigger = (0, import_react43.forwardRef)(
2413
2486
  function toggleOpen() {
2414
2487
  setOpen(!open);
2415
2488
  }
2416
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
2489
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
2417
2490
  "button",
2418
2491
  __spreadProps(__spreadValues({
2419
2492
  "aria-expanded": open,
2420
2493
  "aria-controls": contentId,
2421
2494
  "aria-label": open ? whenOpenHelperTitle : whenClosedHelperTitle,
2422
- className: (0, import_typed_classname37.clsx)(
2495
+ className: (0, import_typed_classname40.clsx)(
2423
2496
  "hds-navbar__item",
2424
2497
  className,
2425
2498
  open ? "hds-navbar__item--open" : "hds-navbar__item--closed"
@@ -2431,53 +2504,53 @@ var NavbarExpandableMenuTrigger = (0, import_react43.forwardRef)(
2431
2504
  style: __spreadValues({ position: "relative" }, style)
2432
2505
  }, rest), {
2433
2506
  children: [
2434
- /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("span", { className: "hds-navbar__item-responsive-text", children: [
2435
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { "aria-hidden": !open, className: (0, import_typed_classname37.clsx)("hds-navbar__item-whenopentext"), children: whenOpenText }),
2436
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { "aria-hidden": open, className: (0, import_typed_classname37.clsx)("hds-navbar__item-whenclosedtext"), children: whenClosedText })
2507
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("span", { className: "hds-navbar__item-responsive-text", children: [
2508
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("span", { "aria-hidden": !open, className: (0, import_typed_classname40.clsx)("hds-navbar__item-whenopentext"), children: whenOpenText }),
2509
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("span", { "aria-hidden": open, className: (0, import_typed_classname40.clsx)("hds-navbar__item-whenclosedtext"), children: whenClosedText })
2437
2510
  ] }),
2438
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { style: { width: 32, height: 32 }, children: open ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(CloseIcon2, {}) : /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(MenuIcon, {}) })
2511
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("span", { style: { width: 32, height: 32 }, children: open ? /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CloseIcon2, {}) : /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(MenuIcon, {}) })
2439
2512
  ]
2440
2513
  })
2441
2514
  );
2442
2515
  }
2443
2516
  );
2444
2517
  NavbarExpandableMenuTrigger.displayName = "Navbar.ExpandableMenuTrigger";
2445
- var NavbarExpandableMenuContent = (0, import_react43.forwardRef)((_a, ref) => {
2518
+ var NavbarExpandableMenuContent = (0, import_react46.forwardRef)((_a, ref) => {
2446
2519
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
2447
2520
  const { contentId, open } = useNavbarExpendableMenuContext();
2448
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2521
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
2449
2522
  "section",
2450
2523
  __spreadProps(__spreadValues(__spreadProps(__spreadValues({}, rest), {
2451
2524
  id: contentId,
2452
- className: (0, import_typed_classname37.clsx)("hds-navbar__expandable-menu-content", className),
2525
+ className: (0, import_typed_classname40.clsx)("hds-navbar__expandable-menu-content", className),
2453
2526
  "data-state": open ? "open" : "closed"
2454
2527
  }), { inert: inertPropValue(!open) }), {
2455
2528
  ref,
2456
- children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: (0, import_typed_classname37.clsx)("hds-navbar__expandable-menu-content-inner"), children })
2529
+ children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: (0, import_typed_classname40.clsx)("hds-navbar__expandable-menu-content-inner"), children })
2457
2530
  })
2458
2531
  );
2459
2532
  });
2460
2533
  NavbarExpandableMenuContent.displayName = "Navbar.ExpandableMenuContent";
2461
2534
 
2462
2535
  // src/navbar/navbar.tsx
2463
- var import_jsx_runtime43 = require("react/jsx-runtime");
2464
- var NavbarLogo = (0, import_react44.forwardRef)(
2536
+ var import_jsx_runtime46 = require("react/jsx-runtime");
2537
+ var NavbarLogo = (0, import_react47.forwardRef)(
2465
2538
  (_a, ref) => {
2466
2539
  var _b = _a, { children, className, asChild } = _b, rest = __objRest(_b, ["children", "className", "asChild"]);
2467
- const Component = asChild ? import_react_slot16.Slot : "div";
2468
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Component, __spreadProps(__spreadValues({ className: (0, import_typed_classname38.clsx)(`hds-navbar__logo`, className), ref }, rest), { children }));
2540
+ const Component = asChild ? import_react_slot17.Slot : "div";
2541
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Component, __spreadProps(__spreadValues({ className: (0, import_typed_classname41.clsx)(`hds-navbar__logo`, className), ref }, rest), { children }));
2469
2542
  }
2470
2543
  );
2471
2544
  NavbarLogo.displayName = "Navbar.Logo";
2472
- var NavbarLogoAndServiceText = (0, import_react44.forwardRef)(
2545
+ var NavbarLogoAndServiceText = (0, import_react47.forwardRef)(
2473
2546
  (_a, ref) => {
2474
2547
  var _b = _a, { children, asChild, variant, className } = _b, rest = __objRest(_b, ["children", "asChild", "variant", "className"]);
2475
- const Component = asChild ? import_react_slot16.Slot : "div";
2476
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
2548
+ const Component = asChild ? import_react_slot17.Slot : "div";
2549
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
2477
2550
  Component,
2478
2551
  __spreadProps(__spreadValues({
2479
2552
  ref,
2480
- className: (0, import_typed_classname38.clsx)(
2553
+ className: (0, import_typed_classname41.clsx)(
2481
2554
  "hds-navbar__logo-and-service-text",
2482
2555
  `hds-navbar__logo-and-service-text--${variant}`,
2483
2556
  className
@@ -2489,29 +2562,29 @@ var NavbarLogoAndServiceText = (0, import_react44.forwardRef)(
2489
2562
  }
2490
2563
  );
2491
2564
  NavbarLogoAndServiceText.displayName = "Navbar.NavbarLogoAndText";
2492
- var NavbarItemIcon = (0, import_react44.forwardRef)(
2565
+ var NavbarItemIcon = (0, import_react47.forwardRef)(
2493
2566
  (_a, ref) => {
2494
2567
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
2495
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_react_slot16.Slot, __spreadProps(__spreadValues({ className: (0, import_typed_classname38.clsx)("hds-navbar__item-icon", className), ref }, rest), { children }));
2568
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_react_slot17.Slot, __spreadProps(__spreadValues({ className: (0, import_typed_classname41.clsx)("hds-navbar__item-icon", className), ref }, rest), { children }));
2496
2569
  }
2497
2570
  );
2498
2571
  NavbarItemIcon.displayName = "Navbar.ItemIcon";
2499
- var NavbarItem = (0, import_react44.forwardRef)(
2572
+ var NavbarItem = (0, import_react47.forwardRef)(
2500
2573
  (_a, ref) => {
2501
2574
  var _b = _a, { asChild, children, className } = _b, rest = __objRest(_b, ["asChild", "children", "className"]);
2502
- const Component = asChild ? import_react_slot16.Slot : "div";
2503
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Component, __spreadProps(__spreadValues({ className: (0, import_typed_classname38.clsx)("hds-navbar__item", className), ref }, rest), { children }));
2575
+ const Component = asChild ? import_react_slot17.Slot : "div";
2576
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Component, __spreadProps(__spreadValues({ className: (0, import_typed_classname41.clsx)("hds-navbar__item", className), ref }, rest), { children }));
2504
2577
  }
2505
2578
  );
2506
2579
  NavbarItem.displayName = "Navbar.Item";
2507
- var NavbarButtonItem = (0, import_react44.forwardRef)(
2580
+ var NavbarButtonItem = (0, import_react47.forwardRef)(
2508
2581
  (_a, ref) => {
2509
2582
  var _b = _a, { asChild, children, className } = _b, rest = __objRest(_b, ["asChild", "children", "className"]);
2510
- const Component = asChild ? import_react_slot16.Slot : "button";
2511
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
2583
+ const Component = asChild ? import_react_slot17.Slot : "button";
2584
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
2512
2585
  Component,
2513
2586
  __spreadProps(__spreadValues({
2514
- className: (0, import_typed_classname38.clsx)("hds-navbar__item", className),
2587
+ className: (0, import_typed_classname41.clsx)("hds-navbar__item", className),
2515
2588
  ref,
2516
2589
  type: "button"
2517
2590
  }, rest), {
@@ -2521,36 +2594,36 @@ var NavbarButtonItem = (0, import_react44.forwardRef)(
2521
2594
  }
2522
2595
  );
2523
2596
  NavbarButtonItem.displayName = "Navbar.ButtonItem";
2524
- var NavbarLinkItem = (0, import_react44.forwardRef)(
2597
+ var NavbarLinkItem = (0, import_react47.forwardRef)(
2525
2598
  (_a, ref) => {
2526
2599
  var _b = _a, { asChild, children, className } = _b, rest = __objRest(_b, ["asChild", "children", "className"]);
2527
- const Component = asChild ? import_react_slot16.Slot : "a";
2528
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Component, __spreadProps(__spreadValues({ className: (0, import_typed_classname38.clsx)("hds-navbar__item", className), ref }, rest), { children }));
2600
+ const Component = asChild ? import_react_slot17.Slot : "a";
2601
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Component, __spreadProps(__spreadValues({ className: (0, import_typed_classname41.clsx)("hds-navbar__item", className), ref }, rest), { children }));
2529
2602
  }
2530
2603
  );
2531
2604
  NavbarLinkItem.displayName = "Navbar.LinkItem";
2532
- var NavbarNavigation = (0, import_react44.forwardRef)(
2605
+ var NavbarNavigation = (0, import_react47.forwardRef)(
2533
2606
  (_a, ref) => {
2534
2607
  var _b = _a, { asChild, className } = _b, rest = __objRest(_b, ["asChild", "className"]);
2535
- const Component = asChild ? import_react_slot16.Slot : "div";
2536
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
2608
+ const Component = asChild ? import_react_slot17.Slot : "div";
2609
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
2537
2610
  Component,
2538
2611
  __spreadValues({
2539
- className: (0, import_typed_classname38.clsx)("hds-navbar__navigation", className),
2612
+ className: (0, import_typed_classname41.clsx)("hds-navbar__navigation", className),
2540
2613
  ref
2541
2614
  }, rest)
2542
2615
  );
2543
2616
  }
2544
2617
  );
2545
2618
  NavbarNavigation.displayName = "Navbar.Navigation";
2546
- var Navbar = (0, import_react44.forwardRef)(
2619
+ var Navbar = (0, import_react47.forwardRef)(
2547
2620
  (_a, ref) => {
2548
2621
  var _b = _a, { asChild, children, className, variant } = _b, rest = __objRest(_b, ["asChild", "children", "className", "variant"]);
2549
- const Component = asChild ? import_react_slot16.Slot : "header";
2550
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
2622
+ const Component = asChild ? import_react_slot17.Slot : "header";
2623
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
2551
2624
  Component,
2552
2625
  __spreadProps(__spreadValues({
2553
- className: (0, import_typed_classname38.clsx)("hds-navbar", variant && `hds-navbar--${variant}`, className),
2626
+ className: (0, import_typed_classname41.clsx)("hds-navbar", variant && `hds-navbar--${variant}`, className),
2554
2627
  ref
2555
2628
  }, rest), {
2556
2629
  children
@@ -2571,17 +2644,17 @@ Navbar.ItemIcon = NavbarItemIcon;
2571
2644
  Navbar.Navigation = NavbarNavigation;
2572
2645
 
2573
2646
  // src/show-more/show-more.tsx
2574
- var import_typed_classname39 = require("@postenbring/hedwig-css/typed-classname");
2575
- var import_react45 = require("react");
2576
- var import_jsx_runtime44 = require("react/jsx-runtime");
2577
- var ShowMoreButton = (0, import_react45.forwardRef)(
2647
+ var import_typed_classname42 = require("@postenbring/hedwig-css/typed-classname");
2648
+ var import_react48 = require("react");
2649
+ var import_jsx_runtime47 = require("react/jsx-runtime");
2650
+ var ShowMoreButton = (0, import_react48.forwardRef)(
2578
2651
  (_a, ref) => {
2579
2652
  var _b = _a, { text, variant, expanded, className } = _b, rest = __objRest(_b, ["text", "variant", "expanded", "className"]);
2580
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
2653
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
2581
2654
  "button",
2582
2655
  __spreadProps(__spreadValues({
2583
2656
  ref,
2584
- className: (0, import_typed_classname39.clsx)(
2657
+ className: (0, import_typed_classname42.clsx)(
2585
2658
  "hds-show-more",
2586
2659
  variant === "show-more-show-less" && "hds-show-more--show-less",
2587
2660
  className
@@ -2591,7 +2664,7 @@ var ShowMoreButton = (0, import_react45.forwardRef)(
2591
2664
  }, rest), {
2592
2665
  children: [
2593
2666
  text,
2594
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { className: (0, import_typed_classname39.clsx)("hds-show-more__icon") })
2667
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", { className: (0, import_typed_classname42.clsx)("hds-show-more__icon") })
2595
2668
  ]
2596
2669
  })
2597
2670
  );
@@ -2600,11 +2673,11 @@ var ShowMoreButton = (0, import_react45.forwardRef)(
2600
2673
  ShowMoreButton.displayName = "ShowMoreButton";
2601
2674
 
2602
2675
  // src/skeleton/skeleton.tsx
2603
- var import_typed_classname40 = require("@postenbring/hedwig-css/typed-classname");
2604
- var import_react_slot17 = require("@radix-ui/react-slot");
2605
- var import_react46 = require("react");
2606
- var import_jsx_runtime45 = require("react/jsx-runtime");
2607
- var Skeleton = (0, import_react46.forwardRef)(
2676
+ var import_typed_classname43 = require("@postenbring/hedwig-css/typed-classname");
2677
+ var import_react_slot18 = require("@radix-ui/react-slot");
2678
+ var import_react49 = require("react");
2679
+ var import_jsx_runtime48 = require("react/jsx-runtime");
2680
+ var Skeleton = (0, import_react49.forwardRef)(
2608
2681
  (_a, ref) => {
2609
2682
  var _b = _a, {
2610
2683
  as: Tag = "div",
@@ -2627,11 +2700,11 @@ var Skeleton = (0, import_react46.forwardRef)(
2627
2700
  "className",
2628
2701
  "style"
2629
2702
  ]);
2630
- const Component = asChild ? import_react_slot17.Slot : Tag;
2631
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
2703
+ const Component = asChild ? import_react_slot18.Slot : Tag;
2704
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
2632
2705
  Component,
2633
2706
  __spreadProps(__spreadValues(__spreadProps(__spreadValues({
2634
- className: (0, import_typed_classname40.clsx)(
2707
+ className: (0, import_typed_classname43.clsx)(
2635
2708
  "hds-skeleton",
2636
2709
  `hds-skeleton--${variant}`,
2637
2710
  !animation && `hds-skeleton--no-animation`,
@@ -2650,19 +2723,19 @@ var Skeleton = (0, import_react46.forwardRef)(
2650
2723
  Skeleton.displayName = "Skeleton";
2651
2724
 
2652
2725
  // src/spinner/spinner.tsx
2653
- var import_react47 = require("react");
2654
- var import_typed_classname41 = require("@postenbring/hedwig-css/typed-classname");
2655
- var import_jsx_runtime46 = require("react/jsx-runtime");
2656
- var Spinner = (0, import_react47.forwardRef)(
2726
+ var import_react50 = require("react");
2727
+ var import_typed_classname44 = require("@postenbring/hedwig-css/typed-classname");
2728
+ var import_jsx_runtime49 = require("react/jsx-runtime");
2729
+ var Spinner = (0, import_react50.forwardRef)(
2657
2730
  (_a, ref) => {
2658
2731
  var _b = _a, { size = "medium", title = "", delay = false, className, style: _style } = _b, rest = __objRest(_b, ["size", "title", "delay", "className", "style"]);
2659
2732
  const style = __spreadValues(__spreadValues({}, _style), typeof delay === "string" && { "--hds-spinner-delay": delay });
2660
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
2733
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
2661
2734
  "div",
2662
2735
  __spreadValues({
2663
2736
  title,
2664
2737
  style,
2665
- className: (0, import_typed_classname41.clsx)(
2738
+ className: (0, import_typed_classname44.clsx)(
2666
2739
  "hds-spinner",
2667
2740
  `hds-spinner--${size}`,
2668
2741
  delay && "hds-spinner--delay",
@@ -2676,10 +2749,10 @@ var Spinner = (0, import_react47.forwardRef)(
2676
2749
  Spinner.displayName = "Spinner";
2677
2750
 
2678
2751
  // src/step-indicator/step-indicator.tsx
2679
- var import_typed_classname42 = require("@postenbring/hedwig-css/typed-classname");
2680
- var import_react48 = require("react");
2681
- var import_jsx_runtime47 = require("react/jsx-runtime");
2682
- var StepIndicator = (0, import_react48.forwardRef)(
2752
+ var import_typed_classname45 = require("@postenbring/hedwig-css/typed-classname");
2753
+ var import_react51 = require("react");
2754
+ var import_jsx_runtime50 = require("react/jsx-runtime");
2755
+ var StepIndicator = (0, import_react51.forwardRef)(
2683
2756
  (_a, ref) => {
2684
2757
  var _b = _a, {
2685
2758
  activeStep,
@@ -2698,27 +2771,27 @@ var StepIndicator = (0, import_react48.forwardRef)(
2698
2771
  "title",
2699
2772
  "titleAs"
2700
2773
  ]);
2701
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
2774
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
2702
2775
  "div",
2703
2776
  __spreadProps(__spreadValues({
2704
2777
  ref,
2705
- className: (0, import_typed_classname42.clsx)("hds-step-indicator", className),
2778
+ className: (0, import_typed_classname45.clsx)("hds-step-indicator", className),
2706
2779
  lang
2707
2780
  }, rest), {
2708
2781
  children: [
2709
- /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: (0, import_typed_classname42.clsx)("hds-step-indicator__header"), children: [
2710
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", { className: (0, import_typed_classname42.clsx)("hds-step-indicator__left-label"), children: label }),
2711
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", { children: stepLabelTranslations[lang](activeStep, totalSteps) })
2782
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: (0, import_typed_classname45.clsx)("hds-step-indicator__header"), children: [
2783
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("span", { className: (0, import_typed_classname45.clsx)("hds-step-indicator__left-label"), children: label }),
2784
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("span", { children: stepLabelTranslations[lang](activeStep, totalSteps) })
2712
2785
  ] }),
2713
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: (0, import_typed_classname42.clsx)("hds-step-indicator__steps"), children: Array.from({ length: totalSteps }, (_, i) => /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
2786
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: (0, import_typed_classname45.clsx)("hds-step-indicator__steps"), children: Array.from({ length: totalSteps }, (_, i) => /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
2714
2787
  "div",
2715
2788
  {
2716
- className: (0, import_typed_classname42.clsx)("hds-step-indicator__step"),
2789
+ className: (0, import_typed_classname45.clsx)("hds-step-indicator__step"),
2717
2790
  "data-state": getStepState(i + 1, activeStep)
2718
2791
  },
2719
2792
  i
2720
2793
  )) }),
2721
- title ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(TitleComponent, { className: (0, import_typed_classname42.clsx)("hds-step-indicator__title"), children: title }) : null
2794
+ title ? /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(TitleComponent, { className: (0, import_typed_classname45.clsx)("hds-step-indicator__title"), children: title }) : null
2722
2795
  ]
2723
2796
  })
2724
2797
  );
@@ -2742,18 +2815,18 @@ function getStepState(renderedStep, activeStep) {
2742
2815
  }
2743
2816
 
2744
2817
  // src/styled-html/styled-html.tsx
2745
- var import_react49 = require("react");
2746
- var import_typed_classname43 = require("@postenbring/hedwig-css/typed-classname");
2747
- var import_react_slot18 = require("@radix-ui/react-slot");
2748
- var import_jsx_runtime48 = require("react/jsx-runtime");
2749
- var StyledHtml = (0, import_react49.forwardRef)(
2818
+ var import_react52 = require("react");
2819
+ var import_typed_classname46 = require("@postenbring/hedwig-css/typed-classname");
2820
+ var import_react_slot19 = require("@radix-ui/react-slot");
2821
+ var import_jsx_runtime51 = require("react/jsx-runtime");
2822
+ var StyledHtml = (0, import_react52.forwardRef)(
2750
2823
  (_a, ref) => {
2751
2824
  var _b = _a, { asChild, children, size, className } = _b, rest = __objRest(_b, ["asChild", "children", "size", "className"]);
2752
- const Component = asChild ? import_react_slot18.Slot : "div";
2753
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
2825
+ const Component = asChild ? import_react_slot19.Slot : "div";
2826
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
2754
2827
  Component,
2755
2828
  __spreadProps(__spreadValues({
2756
- className: (0, import_typed_classname43.clsx)(
2829
+ className: (0, import_typed_classname46.clsx)(
2757
2830
  `hds-styled-html`,
2758
2831
  size === "small" && "hds-styled-html--small",
2759
2832
  className
@@ -2768,20 +2841,20 @@ var StyledHtml = (0, import_react49.forwardRef)(
2768
2841
  StyledHtml.displayName = "StyledHtml";
2769
2842
 
2770
2843
  // src/table/table.tsx
2771
- var import_typed_classname44 = require("@postenbring/hedwig-css/typed-classname");
2772
- var import_react50 = require("react");
2773
- var import_jsx_runtime49 = require("react/jsx-runtime");
2774
- var Table = (0, import_react50.forwardRef)(
2844
+ var import_typed_classname47 = require("@postenbring/hedwig-css/typed-classname");
2845
+ var import_react53 = require("react");
2846
+ var import_jsx_runtime52 = require("react/jsx-runtime");
2847
+ var Table = (0, import_react53.forwardRef)(
2775
2848
  (_a, ref) => {
2776
2849
  var _b = _a, { children, className, size, caption, description } = _b, rest = __objRest(_b, ["children", "className", "size", "caption", "description"]);
2777
- const descriptionId = (0, import_react50.useId)();
2778
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_jsx_runtime49.Fragment, { children: [
2779
- /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
2850
+ const descriptionId = (0, import_react53.useId)();
2851
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_jsx_runtime52.Fragment, { children: [
2852
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(
2780
2853
  "table",
2781
2854
  __spreadProps(__spreadValues({
2782
2855
  "aria-describedby": description ? descriptionId : void 0,
2783
2856
  ref,
2784
- className: (0, import_typed_classname44.clsx)(
2857
+ className: (0, import_typed_classname47.clsx)(
2785
2858
  "hds-table",
2786
2859
  {
2787
2860
  "hds-table--compressed": size === "compressed",
@@ -2791,27 +2864,27 @@ var Table = (0, import_react50.forwardRef)(
2791
2864
  )
2792
2865
  }, rest), {
2793
2866
  children: [
2794
- caption ? /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("caption", { children: caption }) : null,
2867
+ caption ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("caption", { children: caption }) : null,
2795
2868
  children
2796
2869
  ]
2797
2870
  })
2798
2871
  ),
2799
- description ? /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("p", { className: (0, import_typed_classname44.clsx)("hds-table-description"), id: descriptionId, children: description }) : null
2872
+ description ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("p", { className: (0, import_typed_classname47.clsx)("hds-table-description"), id: descriptionId, children: description }) : null
2800
2873
  ] });
2801
2874
  }
2802
2875
  );
2803
2876
  Table.displayName = "Table";
2804
2877
 
2805
2878
  // src/tabs/tabs.tsx
2806
- var import_react54 = require("react");
2807
- var import_typed_classname47 = require("@postenbring/hedwig-css/typed-classname");
2808
- var import_react_slot20 = require("@radix-ui/react-slot");
2879
+ var import_react57 = require("react");
2880
+ var import_typed_classname50 = require("@postenbring/hedwig-css/typed-classname");
2881
+ var import_react_slot21 = require("@radix-ui/react-slot");
2809
2882
 
2810
2883
  // src/tabs/context.ts
2811
- var import_react51 = require("react");
2812
- var TabsContext = (0, import_react51.createContext)(null);
2884
+ var import_react54 = require("react");
2885
+ var TabsContext = (0, import_react54.createContext)(null);
2813
2886
  function useTabsContext() {
2814
- const context = (0, import_react51.useContext)(TabsContext);
2887
+ const context = (0, import_react54.useContext)(TabsContext);
2815
2888
  if (!context) {
2816
2889
  throw new Error(
2817
2890
  "Tabs context required. Did you use `<Tabs.List />`, `<Tabs.Tab />`, or `<Tabs.Content />` outside of <Tabs/>?"
@@ -2821,25 +2894,25 @@ function useTabsContext() {
2821
2894
  }
2822
2895
 
2823
2896
  // src/tabs/tabs-content.tsx
2824
- var import_react52 = require("react");
2825
- var import_typed_classname45 = require("@postenbring/hedwig-css/typed-classname");
2826
- var import_react_slot19 = require("@radix-ui/react-slot");
2827
- var import_jsx_runtime50 = require("react/jsx-runtime");
2828
- var TabsContents = (0, import_react52.forwardRef)(
2897
+ var import_react55 = require("react");
2898
+ var import_typed_classname48 = require("@postenbring/hedwig-css/typed-classname");
2899
+ var import_react_slot20 = require("@radix-ui/react-slot");
2900
+ var import_jsx_runtime53 = require("react/jsx-runtime");
2901
+ var TabsContents = (0, import_react55.forwardRef)(
2829
2902
  (_a, ref) => {
2830
2903
  var _b = _a, { asChild, children } = _b, rest = __objRest(_b, ["asChild", "children"]);
2831
- const Component = asChild ? import_react_slot19.Slot : "div";
2832
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Component, __spreadProps(__spreadValues({ ref, className: (0, import_typed_classname45.clsx)("hds-tabs__contents") }, rest), { children }));
2904
+ const Component = asChild ? import_react_slot20.Slot : "div";
2905
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Component, __spreadProps(__spreadValues({ ref, className: (0, import_typed_classname48.clsx)("hds-tabs__contents") }, rest), { children }));
2833
2906
  }
2834
2907
  );
2835
2908
  TabsContents.displayName = "Tabs.Contents";
2836
- var TabsContent = (0, import_react52.forwardRef)(
2909
+ var TabsContent = (0, import_react55.forwardRef)(
2837
2910
  (_a, ref) => {
2838
2911
  var _b = _a, { asChild, forTabId, children } = _b, rest = __objRest(_b, ["asChild", "forTabId", "children"]);
2839
2912
  const context = useTabsContext();
2840
- const Component = asChild ? import_react_slot19.Slot : "div";
2913
+ const Component = asChild ? import_react_slot20.Slot : "div";
2841
2914
  if (context.activeTabId === forTabId) {
2842
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Component, __spreadProps(__spreadValues({}, rest), { ref, children }));
2915
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Component, __spreadProps(__spreadValues({}, rest), { ref, children }));
2843
2916
  }
2844
2917
  return null;
2845
2918
  }
@@ -2847,21 +2920,21 @@ var TabsContent = (0, import_react52.forwardRef)(
2847
2920
  TabsContent.displayName = "Tabs.Content";
2848
2921
 
2849
2922
  // src/tabs/tabs-list.tsx
2850
- var import_react53 = require("react");
2851
- var import_typed_classname46 = require("@postenbring/hedwig-css/typed-classname");
2852
- var import_jsx_runtime51 = require("react/jsx-runtime");
2853
- var TabsList = (0, import_react53.forwardRef)(
2923
+ var import_react56 = require("react");
2924
+ var import_typed_classname49 = require("@postenbring/hedwig-css/typed-classname");
2925
+ var import_jsx_runtime54 = require("react/jsx-runtime");
2926
+ var TabsList = (0, import_react56.forwardRef)(
2854
2927
  (_a, ref) => {
2855
2928
  var _b = _a, { children, direction = "horizontal", className } = _b, rest = __objRest(_b, ["children", "direction", "className"]);
2856
2929
  const { activeTabId } = useTabsContext();
2857
- const tabsListRef = (0, import_react53.useRef)(null);
2930
+ const tabsListRef = (0, import_react56.useRef)(null);
2858
2931
  const mergedRef = useMergeRefs([tabsListRef, ref]);
2859
2932
  const { width: tabsWidth } = useResize(tabsListRef);
2860
2933
  const isClientSide = useHydrated();
2861
2934
  const { innerWidth } = isClientSide ? window : { innerWidth: 1e3 };
2862
2935
  const wideEnough = innerWidth >= tabsWidth;
2863
- const previousTabId = (0, import_react53.useRef)(activeTabId);
2864
- (0, import_react53.useEffect)(() => {
2936
+ const previousTabId = (0, import_react56.useRef)(activeTabId);
2937
+ (0, import_react56.useEffect)(() => {
2865
2938
  const tabList = tabsListRef.current;
2866
2939
  const activeTab = tabList == null ? void 0 : tabList.querySelector(`[data-tabid="${activeTabId}"]`);
2867
2940
  if (!activeTab || !tabList) return;
@@ -2885,10 +2958,10 @@ var TabsList = (0, import_react53.forwardRef)(
2885
2958
  }
2886
2959
  previousTabId.current = activeTabId;
2887
2960
  }, [activeTabId, innerWidth]);
2888
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
2961
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
2889
2962
  "div",
2890
2963
  __spreadProps(__spreadValues({
2891
- className: (0, import_typed_classname46.clsx)(
2964
+ className: (0, import_typed_classname49.clsx)(
2892
2965
  "hds-tabs__list",
2893
2966
  direction === "horizontal" ? {
2894
2967
  "hds-tabs__list--horizontal": wideEnough,
@@ -2907,7 +2980,7 @@ var TabsList = (0, import_react53.forwardRef)(
2907
2980
  }
2908
2981
  );
2909
2982
  TabsList.displayName = "Tabs.List";
2910
- var TabsTab = (0, import_react53.forwardRef)(
2983
+ var TabsTab = (0, import_react56.forwardRef)(
2911
2984
  (_a, ref) => {
2912
2985
  var _b = _a, { children, tabId, className, onClick } = _b, rest = __objRest(_b, ["children", "tabId", "className", "onClick"]);
2913
2986
  const context = useTabsContext();
@@ -2916,10 +2989,10 @@ var TabsTab = (0, import_react53.forwardRef)(
2916
2989
  context.toggleActiveTabId(tabId);
2917
2990
  onClick == null ? void 0 : onClick(e);
2918
2991
  };
2919
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
2992
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
2920
2993
  "button",
2921
2994
  __spreadProps(__spreadValues({
2922
- className: (0, import_typed_classname46.clsx)(
2995
+ className: (0, import_typed_classname49.clsx)(
2923
2996
  "hds-tabs__tab",
2924
2997
  { "hds-tabs__tab--active": context.activeTabId === tabId },
2925
2998
  className
@@ -2938,13 +3011,13 @@ var TabsTab = (0, import_react53.forwardRef)(
2938
3011
  TabsTab.displayName = "Tabs.Tab";
2939
3012
 
2940
3013
  // src/tabs/tabs.tsx
2941
- var import_jsx_runtime52 = require("react/jsx-runtime");
2942
- var Tabs = (0, import_react54.forwardRef)(
3014
+ var import_jsx_runtime55 = require("react/jsx-runtime");
3015
+ var Tabs = (0, import_react57.forwardRef)(
2943
3016
  (_a, ref) => {
2944
3017
  var _b = _a, { asChild, defaultTab, children } = _b, rest = __objRest(_b, ["asChild", "defaultTab", "children"]);
2945
- const [activeTabId, setActiveTabId] = (0, import_react54.useState)(defaultTab);
2946
- const Component = asChild ? import_react_slot20.Slot : "div";
2947
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Component, __spreadProps(__spreadValues({ className: (0, import_typed_classname47.clsx)("hds-tabs"), ref }, rest), { children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(TabsContext.Provider, { value: { activeTabId, toggleActiveTabId: setActiveTabId }, children }) }));
3018
+ const [activeTabId, setActiveTabId] = (0, import_react57.useState)(defaultTab);
3019
+ const Component = asChild ? import_react_slot21.Slot : "div";
3020
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Component, __spreadProps(__spreadValues({ className: (0, import_typed_classname50.clsx)("hds-tabs"), ref }, rest), { children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(TabsContext.Provider, { value: { activeTabId, toggleActiveTabId: setActiveTabId }, children }) }));
2948
3021
  }
2949
3022
  );
2950
3023
  Tabs.displayName = "Tabs";
@@ -2954,10 +3027,10 @@ Tabs.Contents = TabsContents;
2954
3027
  Tabs.Content = TabsContent;
2955
3028
 
2956
3029
  // src/text/text.tsx
2957
- var import_react55 = require("react");
2958
- var import_typed_classname48 = require("@postenbring/hedwig-css/typed-classname");
2959
- var import_react_slot21 = require("@radix-ui/react-slot");
2960
- var import_jsx_runtime53 = require("react/jsx-runtime");
3030
+ var import_react58 = require("react");
3031
+ var import_typed_classname51 = require("@postenbring/hedwig-css/typed-classname");
3032
+ var import_react_slot22 = require("@radix-ui/react-slot");
3033
+ var import_jsx_runtime56 = require("react/jsx-runtime");
2961
3034
  var defaultHTMLTag = {
2962
3035
  "h1-display": "h1",
2963
3036
  h1: "h1",
@@ -2973,7 +3046,7 @@ var defaultHTMLTag = {
2973
3046
  caption: "p",
2974
3047
  "caption-title": "p"
2975
3048
  };
2976
- var Text = (0, import_react55.forwardRef)(
3049
+ var Text = (0, import_react58.forwardRef)(
2977
3050
  (_a, ref) => {
2978
3051
  var _b = _a, {
2979
3052
  as: Tag,
@@ -2992,12 +3065,12 @@ var Text = (0, import_react55.forwardRef)(
2992
3065
  "children",
2993
3066
  "className"
2994
3067
  ]);
2995
- const Component = asChild ? import_react_slot21.Slot : Tag != null ? Tag : defaultHTMLTag[variant];
3068
+ const Component = asChild ? import_react_slot22.Slot : Tag != null ? Tag : defaultHTMLTag[variant];
2996
3069
  const sizeModifier = size !== "fluid" && variant !== "caption" && variant !== "caption-title" && size;
2997
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
3070
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
2998
3071
  Component,
2999
3072
  __spreadProps(__spreadValues({
3000
- className: (0, import_typed_classname48.clsx)(
3073
+ className: (0, import_typed_classname51.clsx)(
3001
3074
  `hds-text-${variant}`,
3002
3075
  sizeModifier && `hds-text--${sizeModifier}`,
3003
3076
  spacing && "hds-text--spacing",
@@ -3013,16 +3086,16 @@ var Text = (0, import_react55.forwardRef)(
3013
3086
  Text.displayName = "Text";
3014
3087
 
3015
3088
  // src/warning-banner/warning-banner.tsx
3016
- var import_react56 = require("react");
3017
- var import_typed_classname49 = require("@postenbring/hedwig-css/typed-classname");
3018
- var import_jsx_runtime54 = require("react/jsx-runtime");
3019
- var WarningBanner = (0, import_react56.forwardRef)(
3089
+ var import_react59 = require("react");
3090
+ var import_typed_classname52 = require("@postenbring/hedwig-css/typed-classname");
3091
+ var import_jsx_runtime57 = require("react/jsx-runtime");
3092
+ var WarningBanner = (0, import_react59.forwardRef)(
3020
3093
  (_a, ref) => {
3021
3094
  var _b = _a, { title, description, className } = _b, rest = __objRest(_b, ["title", "description", "className"]);
3022
- const descriptionId = (0, import_react56.useId)();
3095
+ const descriptionId = (0, import_react59.useId)();
3023
3096
  const expandable = !!description;
3024
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", __spreadProps(__spreadValues({}, rest), { className: (0, import_typed_classname49.clsx)("hds-warning-banner", className), ref, children: [
3025
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
3097
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", __spreadProps(__spreadValues({}, rest), { className: (0, import_typed_classname52.clsx)("hds-warning-banner", className), ref, children: [
3098
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
3026
3099
  WarningBannerTitle,
3027
3100
  {
3028
3101
  variant: expandable ? "expandable" : "default",
@@ -3030,22 +3103,22 @@ var WarningBanner = (0, import_react56.forwardRef)(
3030
3103
  children: title
3031
3104
  }
3032
3105
  ),
3033
- expandable ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(WarningBannerDescription, { id: descriptionId, children: description }) : null
3106
+ expandable ? /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(WarningBannerDescription, { id: descriptionId, children: description }) : null
3034
3107
  ] }));
3035
3108
  }
3036
3109
  );
3037
3110
  WarningBanner.displayName = "WarningBanner";
3038
- var WarningBannerTitle = (0, import_react56.forwardRef)((_a, ref) => {
3111
+ var WarningBannerTitle = (0, import_react59.forwardRef)((_a, ref) => {
3039
3112
  var _b = _a, { variant, descriptionId, children, className } = _b, rest = __objRest(_b, ["variant", "descriptionId", "children", "className"]);
3040
- const [open, setOpen] = (0, import_react56.useState)(false);
3113
+ const [open, setOpen] = (0, import_react59.useState)(false);
3041
3114
  if (variant === "expandable") {
3042
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
3115
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
3043
3116
  "button",
3044
3117
  __spreadProps(__spreadValues({}, rest), {
3045
3118
  "aria-expanded": open,
3046
3119
  "aria-controls": descriptionId,
3047
3120
  "data-state": open ? "open" : "closed",
3048
- className: (0, import_typed_classname49.clsx)(
3121
+ className: (0, import_typed_classname52.clsx)(
3049
3122
  "hds-warning-banner__title",
3050
3123
  "hds-warning-banner__title-trigger",
3051
3124
  className
@@ -3055,28 +3128,28 @@ var WarningBannerTitle = (0, import_react56.forwardRef)((_a, ref) => {
3055
3128
  },
3056
3129
  ref,
3057
3130
  type: "button",
3058
- children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { children })
3131
+ children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { children })
3059
3132
  })
3060
3133
  );
3061
3134
  }
3062
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
3135
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
3063
3136
  "p",
3064
3137
  __spreadProps(__spreadValues({}, rest), {
3065
- className: (0, import_typed_classname49.clsx)("hds-warning-banner__title", className),
3138
+ className: (0, import_typed_classname52.clsx)("hds-warning-banner__title", className),
3066
3139
  ref,
3067
3140
  children
3068
3141
  })
3069
3142
  );
3070
3143
  });
3071
3144
  WarningBannerTitle.displayName = "WarningBannerTitle";
3072
- var WarningBannerDescription = (0, import_react56.forwardRef)(
3145
+ var WarningBannerDescription = (0, import_react59.forwardRef)(
3073
3146
  (_a, ref) => {
3074
3147
  var _b = _a, { className, id } = _b, rest = __objRest(_b, ["className", "id"]);
3075
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
3148
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
3076
3149
  "p",
3077
3150
  __spreadValues({
3078
3151
  id,
3079
- className: (0, import_typed_classname49.clsx)("hds-warning-banner__description", className),
3152
+ className: (0, import_typed_classname52.clsx)("hds-warning-banner__description", className),
3080
3153
  ref
3081
3154
  }, rest)
3082
3155
  );
@@ -3161,6 +3234,10 @@ WarningBannerDescription.displayName = "WarningBannerDescription";
3161
3234
  Stack,
3162
3235
  StepIndicator,
3163
3236
  StyledHtml,
3237
+ Suggestions,
3238
+ SuggestionsItem,
3239
+ SuggestionsItemAction,
3240
+ SuggestionsWrapper,
3164
3241
  Table,
3165
3242
  Tabs,
3166
3243
  TabsContent,