@octoguide/mui-ui-toolkit 0.6.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -65,6 +65,7 @@ __export(index_exports, {
65
65
  H4: () => H4,
66
66
  H5: () => H5,
67
67
  H6: () => H6,
68
+ IconText: () => IconText,
68
69
  InternalLinkItem: () => InternalLinkItem,
69
70
  Link: () => Link,
70
71
  LogoLink: () => LogoLink,
@@ -1730,13 +1731,81 @@ function Grid({ container, spacing, ...props }) {
1730
1731
  }
1731
1732
  Grid.displayName = "ToolkitGrid";
1732
1733
 
1734
+ // src/components/IconText/IconText.tsx
1735
+ var import_react4 = __toESM(require("react"));
1736
+
1737
+ // src/components/IconText/IconText.styles.tsx
1738
+ var import_styles8 = require("@mui/material/styles");
1739
+ var import_material10 = require("@mui/material");
1740
+ var StyledIconTextRoot = (0, import_styles8.styled)("div")(
1741
+ ({ $inheritFontFamily }) => ({
1742
+ display: "flex",
1743
+ alignItems: "center",
1744
+ backgroundColor: "inherit",
1745
+ color: "inherit",
1746
+ fontSize: "inherit",
1747
+ fontWeight: "inherit",
1748
+ textAlign: "inherit",
1749
+ textTransform: "inherit",
1750
+ ...$inheritFontFamily && {
1751
+ fontFamily: "inherit",
1752
+ lineHeight: "inherit"
1753
+ }
1754
+ })
1755
+ );
1756
+ var StyledIconTextSymbol = (0, import_styles8.styled)(import_material10.SvgIcon, {
1757
+ shouldForwardProp: (prop) => prop !== "$position"
1758
+ })(({ theme, $position }) => ({
1759
+ flexShrink: 0,
1760
+ marginRight: $position === "front" ? theme.spacing(1) : 0,
1761
+ marginLeft: $position === "end" ? theme.spacing(1) : 0
1762
+ }));
1763
+
1764
+ // src/components/IconText/IconText.tsx
1765
+ var import_jsx_runtime13 = require("react/jsx-runtime");
1766
+ var IconText = import_react4.default.forwardRef(
1767
+ function IconText2({
1768
+ symbol,
1769
+ symbolPosition = "front",
1770
+ symbolProps,
1771
+ inheritFontFamily = false,
1772
+ children,
1773
+ ...rest
1774
+ }, ref) {
1775
+ const icon = /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1776
+ StyledIconTextSymbol,
1777
+ {
1778
+ $position: symbolPosition,
1779
+ viewBox: symbol.viewBox ?? "0 0 24 24",
1780
+ "aria-hidden": "true",
1781
+ ...symbolProps,
1782
+ children: symbol.content && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("g", { dangerouslySetInnerHTML: { __html: symbol.content } })
1783
+ }
1784
+ );
1785
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
1786
+ StyledIconTextRoot,
1787
+ {
1788
+ ref,
1789
+ $inheritFontFamily: inheritFontFamily,
1790
+ ...getCleanProps(rest),
1791
+ children: [
1792
+ symbolPosition === "front" && icon,
1793
+ children,
1794
+ symbolPosition === "end" && icon
1795
+ ]
1796
+ }
1797
+ );
1798
+ }
1799
+ );
1800
+ IconText.displayName = "ToolkitIconText";
1801
+
1733
1802
  // src/components/InternalLinkItem/InternalLinkItem.tsx
1734
1803
  var import_ChevronRight = __toESM(require("@mui/icons-material/ChevronRight"));
1735
1804
 
1736
1805
  // src/components/InternalLinkItem/InternalLinkItem.styles.tsx
1737
1806
  var import_Box2 = __toESM(require("@mui/material/Box"));
1738
- var import_styles8 = require("@mui/material/styles");
1739
- var StyledWrapper = (0, import_styles8.styled)("div")(({ theme }) => ({
1807
+ var import_styles9 = require("@mui/material/styles");
1808
+ var StyledWrapper = (0, import_styles9.styled)("div")(({ theme }) => ({
1740
1809
  "& > a, & > div": {
1741
1810
  textDecoration: "none",
1742
1811
  color: theme.tokens.colors.textPrimary,
@@ -1745,7 +1814,7 @@ var StyledWrapper = (0, import_styles8.styled)("div")(({ theme }) => ({
1745
1814
  }
1746
1815
  }
1747
1816
  }));
1748
- var StyledListItemContainer = (0, import_styles8.styled)(import_Box2.default)(({ theme }) => ({
1817
+ var StyledListItemContainer = (0, import_styles9.styled)(import_Box2.default)(({ theme }) => ({
1749
1818
  width: "100%",
1750
1819
  minHeight: "66px",
1751
1820
  borderTop: `1px solid ${theme.tokens.colors.divider}`,
@@ -1788,19 +1857,19 @@ var StyledListItemContainer = (0, import_styles8.styled)(import_Box2.default)(({
1788
1857
  outlineStyle: "solid"
1789
1858
  }
1790
1859
  }));
1791
- var StyledLeftIconWrapper = (0, import_styles8.styled)("span")({
1860
+ var StyledLeftIconWrapper = (0, import_styles9.styled)("span")({
1792
1861
  display: "flex",
1793
1862
  paddingLeft: "4px"
1794
1863
  });
1795
- var StyledRightIconWrapper = (0, import_styles8.styled)("span")({
1864
+ var StyledRightIconWrapper = (0, import_styles9.styled)("span")({
1796
1865
  display: "flex",
1797
1866
  paddingRight: "4px"
1798
1867
  });
1799
- var StyledLabelContainer = (0, import_styles8.styled)("div")({
1868
+ var StyledLabelContainer = (0, import_styles9.styled)("div")({
1800
1869
  flex: 1,
1801
1870
  padding: "12px 8px"
1802
1871
  });
1803
- var StyledLabel = (0, import_styles8.styled)("p")(({ theme }) => ({
1872
+ var StyledLabel = (0, import_styles9.styled)("p")(({ theme }) => ({
1804
1873
  fontFamily: theme.tokens.typography.fontFamilyBase,
1805
1874
  fontSize: theme.tokens.typography.fontSizeLg,
1806
1875
  lineHeight: "20px",
@@ -1808,7 +1877,7 @@ var StyledLabel = (0, import_styles8.styled)("p")(({ theme }) => ({
1808
1877
  margin: 0,
1809
1878
  textDecoration: "none"
1810
1879
  }));
1811
- var StyledCaption = (0, import_styles8.styled)("p")(({ theme }) => ({
1880
+ var StyledCaption = (0, import_styles9.styled)("p")(({ theme }) => ({
1812
1881
  fontFamily: theme.tokens.typography.fontFamilyBase,
1813
1882
  color: theme.tokens.colors.textSecondary,
1814
1883
  fontSize: theme.tokens.typography.fontSizeLg,
@@ -1819,7 +1888,7 @@ var StyledCaption = (0, import_styles8.styled)("p")(({ theme }) => ({
1819
1888
  }));
1820
1889
 
1821
1890
  // src/components/InternalLinkItem/InternalLinkItem.tsx
1822
- var import_jsx_runtime13 = require("react/jsx-runtime");
1891
+ var import_jsx_runtime14 = require("react/jsx-runtime");
1823
1892
  function InternalLinkItem({
1824
1893
  link,
1825
1894
  icon,
@@ -1828,19 +1897,19 @@ function InternalLinkItem({
1828
1897
  component,
1829
1898
  ...restProps
1830
1899
  }) {
1831
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(StyledWrapper, { "data-component-id": "internalLinkItem", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
1900
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(StyledWrapper, { "data-component-id": "internalLinkItem", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
1832
1901
  StyledListItemContainer,
1833
1902
  {
1834
1903
  component: component ?? "a",
1835
1904
  href: link,
1836
1905
  ...getCleanProps(restProps),
1837
1906
  children: [
1838
- icon && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(StyledLeftIconWrapper, { "data-testid": "icon_container", children: icon }),
1839
- /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(StyledLabelContainer, { children: [
1840
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(StyledLabel, { className: "itemLabel", children: label }),
1841
- caption && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(StyledCaption, { children: caption })
1907
+ icon && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(StyledLeftIconWrapper, { "data-testid": "icon_container", children: icon }),
1908
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(StyledLabelContainer, { children: [
1909
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(StyledLabel, { className: "itemLabel", children: label }),
1910
+ caption && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(StyledCaption, { children: caption })
1842
1911
  ] }),
1843
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(StyledRightIconWrapper, { className: "iconColor", "data-testid": "icon_action_container", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_ChevronRight.default, { fontSize: "small" }) })
1912
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(StyledRightIconWrapper, { className: "iconColor", "data-testid": "icon_action_container", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_ChevronRight.default, { fontSize: "small" }) })
1844
1913
  ]
1845
1914
  }
1846
1915
  ) });
@@ -1848,14 +1917,14 @@ function InternalLinkItem({
1848
1917
  InternalLinkItem.displayName = "ToolkitInternalLinkItem";
1849
1918
 
1850
1919
  // src/components/Link/Link.tsx
1851
- var import_react4 = __toESM(require("react"));
1920
+ var import_react5 = __toESM(require("react"));
1852
1921
  var import_OpenInNew = __toESM(require("@mui/icons-material/OpenInNew"));
1853
1922
  var import_SvgIcon = __toESM(require("@mui/material/SvgIcon"));
1854
1923
 
1855
1924
  // src/components/Link/Link.styles.tsx
1856
1925
  var import_Box3 = __toESM(require("@mui/material/Box"));
1857
- var import_styles9 = require("@mui/material/styles");
1858
- var StyledScreenReaderOnly = (0, import_styles9.styled)("span")({
1926
+ var import_styles10 = require("@mui/material/styles");
1927
+ var StyledScreenReaderOnly = (0, import_styles10.styled)("span")({
1859
1928
  position: "absolute",
1860
1929
  width: "1px",
1861
1930
  height: "1px",
@@ -1866,17 +1935,17 @@ var StyledScreenReaderOnly = (0, import_styles9.styled)("span")({
1866
1935
  whiteSpace: "nowrap",
1867
1936
  border: 0
1868
1937
  });
1869
- var StyledIconSpan = (0, import_styles9.styled)("span", {
1870
- shouldForwardProp: (prop) => prop !== "iconright"
1871
- })(({ iconright }) => ({
1938
+ var StyledIconSpan = (0, import_styles10.styled)("span", {
1939
+ shouldForwardProp: (prop) => prop !== "iconRight"
1940
+ })(({ iconRight }) => ({
1872
1941
  display: "inline-flex",
1873
1942
  alignItems: "center",
1874
- paddingLeft: iconright ? "4px" : void 0,
1875
- paddingRight: iconright ? void 0 : "4px"
1943
+ paddingLeft: iconRight ? "4px" : void 0,
1944
+ paddingRight: iconRight ? void 0 : "4px"
1876
1945
  }));
1877
- var StyledAnchor = (0, import_styles9.styled)(import_Box3.default, {
1878
- shouldForwardProp: (prop) => !["tint", "isOnDarkBg", "standalonelink", "iconright"].includes(prop)
1879
- })(({ theme, tint = "primary", isOnDarkBg, standalonelink, iconright }) => {
1946
+ var StyledAnchor = (0, import_styles10.styled)(import_Box3.default, {
1947
+ shouldForwardProp: (prop) => !["tint", "isOnDarkBg", "standalonelink", "iconRight"].includes(prop)
1948
+ })(({ theme, tint = "primary", isOnDarkBg, standalonelink, iconRight }) => {
1880
1949
  const resolvedTint = isOnDarkBg ? "white" : tint;
1881
1950
  const baseColors = {
1882
1951
  primary: theme.tokens.colors.primary,
@@ -1895,7 +1964,7 @@ var StyledAnchor = (0, import_styles9.styled)(import_Box3.default, {
1895
1964
  return {
1896
1965
  display: "inline-flex",
1897
1966
  alignItems: "center",
1898
- flexDirection: iconright ? "row-reverse" : void 0,
1967
+ flexDirection: iconRight ? "row-reverse" : void 0,
1899
1968
  verticalAlign: "bottom",
1900
1969
  fontFamily: theme.tokens.typography.fontFamilyBase,
1901
1970
  textDecoration: "underline",
@@ -1916,12 +1985,12 @@ var StyledAnchor = (0, import_styles9.styled)(import_Box3.default, {
1916
1985
  textDecoration: "underline",
1917
1986
  color: baseColor,
1918
1987
  outline: "none",
1919
- boxShadow: `0 0 0 3px ${(0, import_styles9.alpha)(baseColor, 0.35)}`,
1988
+ boxShadow: `0 0 0 3px ${(0, import_styles10.alpha)(baseColor, 0.35)}`,
1920
1989
  "& svg": { color: baseColor }
1921
1990
  },
1922
1991
  "&:active": {
1923
1992
  color: hoverColor,
1924
- boxShadow: `0 0 0 3px ${(0, import_styles9.alpha)(isOnDarkBg ? baseColor : hoverColor, 0.65)}`,
1993
+ boxShadow: `0 0 0 3px ${(0, import_styles10.alpha)(isOnDarkBg ? baseColor : hoverColor, 0.65)}`,
1925
1994
  textDecoration: "none",
1926
1995
  "& svg": { color: hoverColor }
1927
1996
  },
@@ -1933,14 +2002,14 @@ var StyledAnchor = (0, import_styles9.styled)(import_Box3.default, {
1933
2002
  });
1934
2003
 
1935
2004
  // src/components/Link/Link.tsx
1936
- var import_jsx_runtime14 = require("react/jsx-runtime");
2005
+ var import_jsx_runtime15 = require("react/jsx-runtime");
1937
2006
  var Variant = {
1938
2007
  standard: "standard",
1939
2008
  external: "external",
1940
2009
  file: "file"
1941
2010
  };
1942
2011
  function DocumentIcon() {
1943
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_SvgIcon.default, { viewBox: "0 0 384 512", fontSize: "inherit", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
2012
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_SvgIcon.default, { viewBox: "0 0 384 512", fontSize: "inherit", children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1944
2013
  "path",
1945
2014
  {
1946
2015
  fillRule: "evenodd",
@@ -1958,7 +2027,7 @@ function getIcon(variant, icon) {
1958
2027
  return icon;
1959
2028
  }
1960
2029
  }
1961
- var Link = import_react4.default.forwardRef(function Link2({
2030
+ var Link = import_react5.default.forwardRef(function Link2({
1962
2031
  children,
1963
2032
  variant = "standard",
1964
2033
  icon,
@@ -1973,9 +2042,9 @@ var Link = import_react4.default.forwardRef(function Link2({
1973
2042
  }, ref) {
1974
2043
  const Icon = getIcon(variant, icon);
1975
2044
  const target = variant !== Variant.standard ? "_blank" : targetProp;
1976
- const iconright = variant === Variant.external ? true : !!iconToRight;
2045
+ const iconRight = variant === Variant.external ? true : !!iconToRight;
1977
2046
  const urlProp = component ? { to: href } : { href };
1978
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
2047
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
1979
2048
  StyledAnchor,
1980
2049
  {
1981
2050
  component: component ?? "a",
@@ -1985,13 +2054,13 @@ var Link = import_react4.default.forwardRef(function Link2({
1985
2054
  tint: color,
1986
2055
  isOnDarkBg,
1987
2056
  target,
1988
- iconright,
2057
+ iconRight,
1989
2058
  standalonelink: !!standalone,
1990
2059
  ref,
1991
2060
  children: [
1992
- Icon && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(StyledIconSpan, { iconright, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Icon, { fontSize: "inherit" }) }),
2061
+ Icon && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(StyledIconSpan, { iconRight, children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Icon, { fontSize: "inherit" }) }),
1993
2062
  children,
1994
- variant === Variant.external && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(StyledScreenReaderOnly, { children: ", opens in a new tab" })
2063
+ variant === Variant.external && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(StyledScreenReaderOnly, { children: ", opens in a new tab" })
1995
2064
  ]
1996
2065
  }
1997
2066
  );
@@ -1999,12 +2068,12 @@ var Link = import_react4.default.forwardRef(function Link2({
1999
2068
  Link.displayName = "ToolkitLink";
2000
2069
 
2001
2070
  // src/components/LogoLink/LogoLink.tsx
2002
- var import_react5 = __toESM(require("react"));
2071
+ var import_react6 = __toESM(require("react"));
2003
2072
 
2004
2073
  // src/components/LogoLink/LogoLink.styles.tsx
2005
2074
  var import_Box4 = __toESM(require("@mui/material/Box"));
2006
- var import_styles10 = require("@mui/material/styles");
2007
- var StyledLogoLink = (0, import_styles10.styled)(import_Box4.default, {
2075
+ var import_styles11 = require("@mui/material/styles");
2076
+ var StyledLogoLink = (0, import_styles11.styled)(import_Box4.default, {
2008
2077
  shouldForwardProp: (prop) => prop !== "isSmall"
2009
2078
  })(({ theme, isSmall }) => ({
2010
2079
  display: "inline-flex",
@@ -2021,7 +2090,7 @@ var StyledLogoLink = (0, import_styles10.styled)(import_Box4.default, {
2021
2090
  color: theme.tokens.colors.primaryDark
2022
2091
  }
2023
2092
  }));
2024
- var StyledLogoSpan = (0, import_styles10.styled)("span")(({ theme }) => ({
2093
+ var StyledLogoSpan = (0, import_styles11.styled)("span")(({ theme }) => ({
2025
2094
  padding: "0 10px 0 15px",
2026
2095
  backgroundColor: theme.tokens.colors.primary,
2027
2096
  height: "100%",
@@ -2039,9 +2108,9 @@ var StyledLogoSpan = (0, import_styles10.styled)("span")(({ theme }) => ({
2039
2108
  }));
2040
2109
 
2041
2110
  // src/components/LogoLink/LogoLink.tsx
2042
- var import_jsx_runtime15 = require("react/jsx-runtime");
2043
- var LogoLink = import_react5.default.forwardRef(function LogoLink2({ children, href = "/", isSmall, title = "Home", component, ...restProps }, ref) {
2044
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
2111
+ var import_jsx_runtime16 = require("react/jsx-runtime");
2112
+ var LogoLink = import_react6.default.forwardRef(function LogoLink2({ children, href = "/", isSmall, title = "Home", component, ...restProps }, ref) {
2113
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
2045
2114
  StyledLogoLink,
2046
2115
  {
2047
2116
  component: component ?? "a",
@@ -2051,14 +2120,14 @@ var LogoLink = import_react5.default.forwardRef(function LogoLink2({ children, h
2051
2120
  "data-component-id": "LogoLink",
2052
2121
  ...getCleanProps(restProps),
2053
2122
  ref,
2054
- children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(StyledLogoSpan, { children })
2123
+ children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(StyledLogoSpan, { children })
2055
2124
  }
2056
2125
  );
2057
2126
  });
2058
2127
  LogoLink.displayName = "ToolkitLogoLink";
2059
2128
 
2060
2129
  // src/components/PageSpinner/PageSpinner.tsx
2061
- var import_react6 = __toESM(require("react"));
2130
+ var import_react7 = __toESM(require("react"));
2062
2131
  var import_Portal = __toESM(require("@mui/material/Portal"));
2063
2132
  var import_CircularProgress2 = __toESM(require("@mui/material/CircularProgress"));
2064
2133
  var import_utils = require("@mui/material/utils");
@@ -2219,21 +2288,21 @@ function setA11yMessage(messageText, messageTone, messageRole, clearAfter = 5e3)
2219
2288
  }
2220
2289
 
2221
2290
  // src/components/PageSpinner/PageSpinner.styles.tsx
2222
- var import_styles11 = require("@mui/material/styles");
2223
2291
  var import_styles12 = require("@mui/material/styles");
2292
+ var import_styles13 = require("@mui/material/styles");
2224
2293
  var PAGE_SPINNER_Z_INDEX = 1400;
2225
- var StyledPageSpinnerRoot = (0, import_styles11.styled)("div")(() => ({
2294
+ var StyledPageSpinnerRoot = (0, import_styles12.styled)("div")(() => ({
2226
2295
  position: "relative"
2227
2296
  }));
2228
- var StyledOverlay = (0, import_styles11.styled)("div", {
2297
+ var StyledOverlay = (0, import_styles12.styled)("div", {
2229
2298
  shouldForwardProp: (prop) => prop !== "$darkBg"
2230
2299
  })(({ theme, $darkBg = false }) => ({
2231
2300
  position: "fixed",
2232
2301
  inset: 0,
2233
2302
  zIndex: PAGE_SPINNER_Z_INDEX,
2234
- backgroundColor: $darkBg ? (0, import_styles12.alpha)(theme.tokens.colors.textPrimary, 0.9) : (0, import_styles12.alpha)(theme.palette.common.white, 0.9)
2303
+ backgroundColor: $darkBg ? (0, import_styles13.alpha)(theme.tokens.colors.textPrimary, 0.9) : (0, import_styles13.alpha)(theme.palette.common.white, 0.9)
2235
2304
  }));
2236
- var StyledSpinnerCentre = (0, import_styles11.styled)("div")(() => ({
2305
+ var StyledSpinnerCentre = (0, import_styles12.styled)("div")(() => ({
2237
2306
  position: "fixed",
2238
2307
  top: "50%",
2239
2308
  left: "50%",
@@ -2244,7 +2313,7 @@ var StyledSpinnerCentre = (0, import_styles11.styled)("div")(() => ({
2244
2313
  alignItems: "center",
2245
2314
  gap: "16px"
2246
2315
  }));
2247
- var StyledSpinnerMessage = (0, import_styles11.styled)("p", {
2316
+ var StyledSpinnerMessage = (0, import_styles12.styled)("p", {
2248
2317
  shouldForwardProp: (prop) => prop !== "$darkBg"
2249
2318
  })(({ theme, $darkBg = false }) => ({
2250
2319
  margin: 0,
@@ -2255,7 +2324,7 @@ var StyledSpinnerMessage = (0, import_styles11.styled)("p", {
2255
2324
  color: $darkBg ? theme.palette.common.white : theme.tokens.colors.textPrimary,
2256
2325
  textAlign: "center"
2257
2326
  }));
2258
- var StyledScreenReaderOnly2 = (0, import_styles11.styled)("span")(() => ({
2327
+ var StyledScreenReaderOnly2 = (0, import_styles12.styled)("span")(() => ({
2259
2328
  position: "absolute",
2260
2329
  width: "1px",
2261
2330
  height: "1px",
@@ -2268,9 +2337,9 @@ var StyledScreenReaderOnly2 = (0, import_styles11.styled)("span")(() => ({
2268
2337
  }));
2269
2338
 
2270
2339
  // src/components/PageSpinner/PageSpinner.tsx
2271
- var import_jsx_runtime16 = require("react/jsx-runtime");
2340
+ var import_jsx_runtime17 = require("react/jsx-runtime");
2272
2341
  var ARIA_REANNOUNCE_INTERVAL = 3e4;
2273
- var PageSpinner = import_react6.default.forwardRef(
2342
+ var PageSpinner = import_react7.default.forwardRef(
2274
2343
  function PageSpinner2({
2275
2344
  message = "Processing, please wait",
2276
2345
  customMessageLayout,
@@ -2280,14 +2349,14 @@ var PageSpinner = import_react6.default.forwardRef(
2280
2349
  messageTone = "assertive",
2281
2350
  ...restProps
2282
2351
  }, ref) {
2283
- const internalRef = (0, import_react6.useRef)(null);
2352
+ const internalRef = (0, import_react7.useRef)(null);
2284
2353
  const mergedRef = (0, import_utils.useForkRef)(ref, internalRef);
2285
- (0, import_react6.useEffect)(() => {
2354
+ (0, import_react7.useEffect)(() => {
2286
2355
  const blockKeyDown = (e) => e.preventDefault();
2287
2356
  document.addEventListener("keydown", blockKeyDown);
2288
2357
  return () => document.removeEventListener("keydown", blockKeyDown);
2289
2358
  }, [rootNode]);
2290
- (0, import_react6.useEffect)(() => {
2359
+ (0, import_react7.useEffect)(() => {
2291
2360
  const ariaRole = messageTone === "polite" ? "status" : "alert";
2292
2361
  setA11yMessage(message, messageTone, ariaRole);
2293
2362
  const interval = setInterval(() => {
@@ -2302,7 +2371,7 @@ var PageSpinner = import_react6.default.forwardRef(
2302
2371
  backgroundScrollTether(false);
2303
2372
  };
2304
2373
  }, [message, rootNode, messageTone]);
2305
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_Portal.default, { container: rootNode, children: /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
2374
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_Portal.default, { container: rootNode, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
2306
2375
  StyledPageSpinnerRoot,
2307
2376
  {
2308
2377
  "data-component-id": "PageSpinner",
@@ -2310,9 +2379,9 @@ var PageSpinner = import_react6.default.forwardRef(
2310
2379
  ref: mergedRef,
2311
2380
  ...getCleanProps(restProps),
2312
2381
  children: [
2313
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(StyledOverlay, { $darkBg: isOnDarkBg }),
2314
- /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(StyledSpinnerCentre, { children: [
2315
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
2382
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(StyledOverlay, { $darkBg: isOnDarkBg }),
2383
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(StyledSpinnerCentre, { children: [
2384
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
2316
2385
  import_CircularProgress2.default,
2317
2386
  {
2318
2387
  size: 60,
@@ -2320,8 +2389,8 @@ var PageSpinner = import_react6.default.forwardRef(
2320
2389
  "aria-hidden": "true"
2321
2390
  }
2322
2391
  ),
2323
- customMessageLayout ?? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(StyledSpinnerMessage, { $darkBg: isOnDarkBg, children: message }),
2324
- srText && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(StyledScreenReaderOnly2, { children: srText })
2392
+ customMessageLayout ?? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(StyledSpinnerMessage, { $darkBg: isOnDarkBg, children: message }),
2393
+ srText && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(StyledScreenReaderOnly2, { children: srText })
2325
2394
  ] })
2326
2395
  ]
2327
2396
  }
@@ -2331,11 +2400,11 @@ var PageSpinner = import_react6.default.forwardRef(
2331
2400
  PageSpinner.displayName = "ToolkitPageSpinner";
2332
2401
 
2333
2402
  // src/components/Pagination/Pagination.tsx
2334
- var import_react7 = __toESM(require("react"));
2403
+ var import_react8 = __toESM(require("react"));
2335
2404
  var import_Pagination = __toESM(require("@mui/material/Pagination"));
2336
2405
 
2337
2406
  // src/components/Pagination/Pagination.styles.tsx
2338
- var import_styles13 = require("@mui/material/styles");
2407
+ var import_styles14 = require("@mui/material/styles");
2339
2408
  var import_PaginationItem = __toESM(require("@mui/material/PaginationItem"));
2340
2409
  function getColorValue(theme, color) {
2341
2410
  switch (color) {
@@ -2355,58 +2424,58 @@ function getColorValue(theme, color) {
2355
2424
  return theme.tokens.colors.textPrimary;
2356
2425
  }
2357
2426
  }
2358
- var StyledPaginationItem = (0, import_styles13.styled)(import_PaginationItem.default, {
2427
+ var StyledPaginationItem = (0, import_styles14.styled)(import_PaginationItem.default, {
2359
2428
  shouldForwardProp: (prop) => prop !== "$variant" && prop !== "$color"
2360
2429
  })(({ theme, $variant, $color }) => {
2361
2430
  const colorValue = getColorValue(theme, $color);
2362
2431
  if ($variant === "text") {
2363
2432
  return {
2364
2433
  "&.Mui-selected": {
2365
- backgroundColor: (0, import_styles13.alpha)(colorValue, 0.08),
2434
+ backgroundColor: (0, import_styles14.alpha)(colorValue, 0.08),
2366
2435
  color: colorValue,
2367
2436
  "&:hover": {
2368
- backgroundColor: (0, import_styles13.alpha)(colorValue, 0.16)
2437
+ backgroundColor: (0, import_styles14.alpha)(colorValue, 0.16)
2369
2438
  }
2370
2439
  }
2371
2440
  };
2372
2441
  }
2373
2442
  if ($variant === "outlined") {
2374
2443
  return {
2375
- border: `1px solid ${(0, import_styles13.alpha)(colorValue, 0.24)}`,
2444
+ border: `1px solid ${(0, import_styles14.alpha)(colorValue, 0.24)}`,
2376
2445
  "&.Mui-selected": {
2377
- border: `1px solid ${(0, import_styles13.alpha)(colorValue, 0.8)}`,
2446
+ border: `1px solid ${(0, import_styles14.alpha)(colorValue, 0.8)}`,
2378
2447
  color: colorValue,
2379
- backgroundColor: (0, import_styles13.alpha)(colorValue, 0.08),
2448
+ backgroundColor: (0, import_styles14.alpha)(colorValue, 0.08),
2380
2449
  "&:hover": {
2381
- backgroundColor: (0, import_styles13.alpha)(colorValue, 0.16)
2450
+ backgroundColor: (0, import_styles14.alpha)(colorValue, 0.16)
2382
2451
  }
2383
2452
  }
2384
2453
  };
2385
2454
  }
2386
2455
  return {
2387
2456
  "&.Mui-selected": {
2388
- backgroundColor: (0, import_styles13.alpha)(colorValue, 0.16),
2457
+ backgroundColor: (0, import_styles14.alpha)(colorValue, 0.16),
2389
2458
  color: colorValue,
2390
2459
  "&:hover": {
2391
- backgroundColor: (0, import_styles13.alpha)(colorValue, 0.32)
2460
+ backgroundColor: (0, import_styles14.alpha)(colorValue, 0.32)
2392
2461
  }
2393
2462
  },
2394
2463
  "&:hover": {
2395
- backgroundColor: (0, import_styles13.alpha)(colorValue, 0.08)
2464
+ backgroundColor: (0, import_styles14.alpha)(colorValue, 0.08)
2396
2465
  }
2397
2466
  };
2398
2467
  });
2399
2468
 
2400
2469
  // src/components/Pagination/Pagination.tsx
2401
- var import_jsx_runtime17 = require("react/jsx-runtime");
2402
- var Pagination = import_react7.default.forwardRef(
2470
+ var import_jsx_runtime18 = require("react/jsx-runtime");
2471
+ var Pagination = import_react8.default.forwardRef(
2403
2472
  function Pagination2({ variant = "text", shape = "circular", color = "default", ...restProps }, ref) {
2404
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
2473
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
2405
2474
  import_Pagination.default,
2406
2475
  {
2407
2476
  ref,
2408
2477
  "data-component-id": "Pagination",
2409
- renderItem: (item) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
2478
+ renderItem: (item) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
2410
2479
  StyledPaginationItem,
2411
2480
  {
2412
2481
  $variant: variant,
@@ -2423,11 +2492,11 @@ var Pagination = import_react7.default.forwardRef(
2423
2492
  Pagination.displayName = "ToolkitPagination";
2424
2493
 
2425
2494
  // src/components/Paragraph/Paragraph.tsx
2426
- var import_react8 = __toESM(require("react"));
2495
+ var import_react9 = __toESM(require("react"));
2427
2496
 
2428
2497
  // src/components/Paragraph/Paragraph.styles.tsx
2429
- var import_styles14 = require("@mui/material/styles");
2430
- var StyledParagraph = (0, import_styles14.styled)("p", {
2498
+ var import_styles15 = require("@mui/material/styles");
2499
+ var StyledParagraph = (0, import_styles15.styled)("p", {
2431
2500
  shouldForwardProp: (prop) => prop !== "$variant" && prop !== "$isOnDarkBg"
2432
2501
  })(({ theme, $variant = "regular", $isOnDarkBg = false }) => ({
2433
2502
  margin: 0,
@@ -2460,10 +2529,10 @@ var StyledParagraph = (0, import_styles14.styled)("p", {
2460
2529
  }));
2461
2530
 
2462
2531
  // src/components/Paragraph/Paragraph.tsx
2463
- var import_jsx_runtime18 = require("react/jsx-runtime");
2464
- var Paragraph = import_react8.default.forwardRef(
2532
+ var import_jsx_runtime19 = require("react/jsx-runtime");
2533
+ var Paragraph = import_react9.default.forwardRef(
2465
2534
  function Paragraph2({ children, variant = "regular", isOnDarkBg = false, ...restProps }, ref) {
2466
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
2535
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
2467
2536
  StyledParagraph,
2468
2537
  {
2469
2538
  $variant: variant,
@@ -2479,15 +2548,15 @@ var Paragraph = import_react8.default.forwardRef(
2479
2548
  Paragraph.displayName = "ToolkitParagraph";
2480
2549
 
2481
2550
  // src/components/Password/Password.tsx
2482
- var import_react9 = __toESM(require("react"));
2551
+ var import_react10 = __toESM(require("react"));
2483
2552
 
2484
2553
  // src/components/Password/PasswordRule.tsx
2485
2554
  var import_CheckCircle = __toESM(require("@mui/icons-material/CheckCircle"));
2486
2555
  var import_Cancel = __toESM(require("@mui/icons-material/Cancel"));
2487
2556
 
2488
2557
  // src/components/Password/PasswordRule.styles.tsx
2489
- var import_styles15 = require("@mui/material/styles");
2490
- var StyledPasswordRule = (0, import_styles15.styled)("div")(({ theme }) => ({
2558
+ var import_styles16 = require("@mui/material/styles");
2559
+ var StyledPasswordRule = (0, import_styles16.styled)("div")(({ theme }) => ({
2491
2560
  display: "flex",
2492
2561
  alignItems: "center",
2493
2562
  gap: theme.tokens.spacing.xs,
@@ -2499,15 +2568,15 @@ var StyledPasswordRule = (0, import_styles15.styled)("div")(({ theme }) => ({
2499
2568
  color: theme.tokens.colors.error
2500
2569
  }
2501
2570
  }));
2502
- var StyledPasswordRuleIcon = (0, import_styles15.styled)("span")({
2571
+ var StyledPasswordRuleIcon = (0, import_styles16.styled)("span")({
2503
2572
  display: "inline-flex",
2504
2573
  alignItems: "center",
2505
2574
  flexShrink: 0
2506
2575
  });
2507
- var StyledPasswordRuleText = (0, import_styles15.styled)("span")(({ theme }) => ({
2576
+ var StyledPasswordRuleText = (0, import_styles16.styled)("span")(({ theme }) => ({
2508
2577
  fontSize: theme.tokens.typography.fontSizeSm
2509
2578
  }));
2510
- var StyledScreenReaderOnly3 = (0, import_styles15.styled)("span")({
2579
+ var StyledScreenReaderOnly3 = (0, import_styles16.styled)("span")({
2511
2580
  position: "absolute",
2512
2581
  width: 1,
2513
2582
  height: 1,
@@ -2520,24 +2589,24 @@ var StyledScreenReaderOnly3 = (0, import_styles15.styled)("span")({
2520
2589
  });
2521
2590
 
2522
2591
  // src/components/Password/PasswordRule.tsx
2523
- var import_jsx_runtime19 = require("react/jsx-runtime");
2524
- var PasswordRule = ({ valid = false, rule = "", idx }) => /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
2592
+ var import_jsx_runtime20 = require("react/jsx-runtime");
2593
+ var PasswordRule = ({ valid = false, rule = "", idx }) => /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
2525
2594
  StyledPasswordRule,
2526
2595
  {
2527
2596
  className: valid ? "PasswordRule--valid" : "PasswordRule--invalid",
2528
2597
  "data-testid": `password-rule-${idx}`,
2529
2598
  children: [
2530
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(StyledPasswordRuleIcon, { children: valid ? /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_CheckCircle.default, { fontSize: "small", "aria-hidden": "true" }) : /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_Cancel.default, { fontSize: "small", "aria-hidden": "true" }) }),
2531
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(StyledPasswordRuleText, { children: rule }),
2532
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(StyledScreenReaderOnly3, { children: valid ? "supplied" : "not supplied" })
2599
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(StyledPasswordRuleIcon, { children: valid ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_CheckCircle.default, { fontSize: "small", "aria-hidden": "true" }) : /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_Cancel.default, { fontSize: "small", "aria-hidden": "true" }) }),
2600
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(StyledPasswordRuleText, { children: rule }),
2601
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(StyledScreenReaderOnly3, { children: valid ? "supplied" : "not supplied" })
2533
2602
  ]
2534
2603
  }
2535
2604
  );
2536
2605
  PasswordRule.displayName = "ToolkitPasswordRule";
2537
2606
 
2538
2607
  // src/components/Password/PasswordCriteria.styles.tsx
2539
- var import_styles16 = require("@mui/material/styles");
2540
- var StyledPasswordCriteriaContainer = (0, import_styles16.styled)("div")(
2608
+ var import_styles17 = require("@mui/material/styles");
2609
+ var StyledPasswordCriteriaContainer = (0, import_styles17.styled)("div")(
2541
2610
  ({ theme, $show }) => ({
2542
2611
  display: $show ? "block" : "none",
2543
2612
  position: "absolute",
@@ -2548,7 +2617,7 @@ var StyledPasswordCriteriaContainer = (0, import_styles16.styled)("div")(
2548
2617
  marginTop: theme.tokens.spacing.xs
2549
2618
  })
2550
2619
  );
2551
- var StyledPasswordRuleTitle = (0, import_styles16.styled)("div")(({ theme }) => ({
2620
+ var StyledPasswordRuleTitle = (0, import_styles17.styled)("div")(({ theme }) => ({
2552
2621
  color: theme.tokens.colors.textPrimary,
2553
2622
  fontSize: theme.tokens.typography.fontSizeSm,
2554
2623
  fontWeight: theme.tokens.typography.fontWeightMedium,
@@ -2558,7 +2627,7 @@ var StyledPasswordRuleTitle = (0, import_styles16.styled)("div")(({ theme }) =>
2558
2627
  }));
2559
2628
 
2560
2629
  // src/components/Password/PasswordCriteria.tsx
2561
- var import_jsx_runtime20 = require("react/jsx-runtime");
2630
+ var import_jsx_runtime21 = require("react/jsx-runtime");
2562
2631
  var PasswordRules = [
2563
2632
  { key: "minLength", rule: "Minimum 8 characters" },
2564
2633
  { key: "lowercase", rule: "At least one lowercase letter" },
@@ -2573,20 +2642,20 @@ var passwordValidator = (value) => ({
2573
2642
  digit: /[0-9]/.test(value),
2574
2643
  special: /[^A-Za-z0-9]/.test(value)
2575
2644
  });
2576
- var PasswordCriteria = ({ show = false, value = "" }) => {
2645
+ var PasswordCriteria = ({ show = false, value = "", id = "passwordCriteria" }) => {
2577
2646
  const validity = passwordValidator(value);
2578
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
2647
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
2579
2648
  StyledPasswordCriteriaContainer,
2580
2649
  {
2581
2650
  $show: show,
2582
2651
  "aria-hidden": !show,
2583
- id: "passwordCriteria",
2652
+ id,
2584
2653
  "data-testid": "password-criteria",
2585
2654
  role: "status",
2586
2655
  "aria-live": "polite",
2587
- children: /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(Card, { compact: true, children: [
2588
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(StyledPasswordRuleTitle, { children: "Password must contain:" }),
2589
- PasswordRules.map((item, idx) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(PasswordRule, { valid: validity[item.key], rule: item.rule, idx }, item.key))
2656
+ children: /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(Card, { compact: true, children: [
2657
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(StyledPasswordRuleTitle, { children: "Password must contain:" }),
2658
+ PasswordRules.map((item, idx) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(PasswordRule, { valid: validity[item.key], rule: item.rule, idx }, item.key))
2590
2659
  ] })
2591
2660
  }
2592
2661
  );
@@ -2594,18 +2663,18 @@ var PasswordCriteria = ({ show = false, value = "" }) => {
2594
2663
  PasswordCriteria.displayName = "ToolkitPasswordCriteria";
2595
2664
 
2596
2665
  // src/components/Password/Password.styles.tsx
2597
- var import_styles17 = require("@mui/material/styles");
2598
- var StyledPasswordRoot = (0, import_styles17.styled)("div")({
2666
+ var import_styles18 = require("@mui/material/styles");
2667
+ var StyledPasswordRoot = (0, import_styles18.styled)("div")({
2599
2668
  position: "relative"
2600
2669
  });
2601
- var StyledPasswordInputWrapper = (0, import_styles17.styled)("div")({
2670
+ var StyledPasswordInputWrapper = (0, import_styles18.styled)("div")({
2602
2671
  display: "flex",
2603
2672
  position: "relative"
2604
2673
  });
2605
2674
 
2606
2675
  // src/components/Password/Password.tsx
2607
- var import_jsx_runtime21 = require("react/jsx-runtime");
2608
- var Password = import_react9.default.forwardRef(
2676
+ var import_jsx_runtime22 = require("react/jsx-runtime");
2677
+ var Password = import_react10.default.forwardRef(
2609
2678
  function Password2({
2610
2679
  isInvalid,
2611
2680
  value: initialValue,
@@ -2618,8 +2687,8 @@ var Password = import_react9.default.forwardRef(
2618
2687
  id,
2619
2688
  ...rest
2620
2689
  }, ref) {
2621
- const [value, setValue] = (0, import_react9.useState)(initialValue ?? "");
2622
- const [showCriteria, setShowCriteria] = (0, import_react9.useState)(false);
2690
+ const [value, setValue] = (0, import_react10.useState)(initialValue ?? "");
2691
+ const [showCriteria, setShowCriteria] = (0, import_react10.useState)(false);
2623
2692
  const handleFocus = () => {
2624
2693
  setShowCriteria(true);
2625
2694
  };
@@ -2634,9 +2703,10 @@ var Password = import_react9.default.forwardRef(
2634
2703
  const isCriteriaMet = Object.values(validity).every(Boolean);
2635
2704
  onChange?.(event, isCriteriaMet);
2636
2705
  };
2706
+ const criteriaId = id ? `${id}-criteria` : "passwordCriteria";
2637
2707
  const cleanRest = getCleanProps(rest);
2638
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(StyledPasswordRoot, { className, ...cleanRest, children: [
2639
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(StyledPasswordInputWrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
2708
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(StyledPasswordRoot, { className, ...cleanRest, children: [
2709
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(StyledPasswordInputWrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
2640
2710
  TextField,
2641
2711
  {
2642
2712
  ref,
@@ -2646,24 +2716,26 @@ var Password = import_react9.default.forwardRef(
2646
2716
  showPasswordToggle: true,
2647
2717
  value,
2648
2718
  error: isInvalid,
2649
- "aria-describedby": ariaDescribedby ?? "passwordCriteria",
2650
- "aria-labelledby": ariaLabelledby,
2719
+ inputProps: {
2720
+ "aria-describedby": ariaDescribedby ?? criteriaId,
2721
+ "aria-labelledby": ariaLabelledby
2722
+ },
2651
2723
  onFocus: handleFocus,
2652
2724
  onBlur: handleBlur,
2653
2725
  onChange: handleChange
2654
2726
  }
2655
2727
  ) }),
2656
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(PasswordCriteria, { show: showCriteria, value })
2728
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(PasswordCriteria, { show: showCriteria, value, id: criteriaId })
2657
2729
  ] });
2658
2730
  }
2659
2731
  );
2660
2732
  Password.displayName = "ToolkitPassword";
2661
2733
 
2662
2734
  // src/components/Spinner/Spinner.tsx
2663
- var import_react10 = __toESM(require("react"));
2735
+ var import_react11 = __toESM(require("react"));
2664
2736
 
2665
2737
  // src/components/Spinner/Spinner.styles.tsx
2666
- var import_styles18 = require("@mui/material/styles");
2738
+ var import_styles19 = require("@mui/material/styles");
2667
2739
  var spinnerSizing = {
2668
2740
  xs: 20,
2669
2741
  sm: 24,
@@ -2671,7 +2743,7 @@ var spinnerSizing = {
2671
2743
  lg: 56,
2672
2744
  xl: 72
2673
2745
  };
2674
- var StyledSpinnerContainer = (0, import_styles18.styled)("div", {
2746
+ var StyledSpinnerContainer = (0, import_styles19.styled)("div", {
2675
2747
  shouldForwardProp: (prop) => prop !== "$inline"
2676
2748
  })({}, ({ $inline }) => ({
2677
2749
  flex: "0 1 100%",
@@ -2679,7 +2751,7 @@ var StyledSpinnerContainer = (0, import_styles18.styled)("div", {
2679
2751
  flexDirection: $inline ? "row" : "column",
2680
2752
  alignItems: "center"
2681
2753
  }));
2682
- var StyledSpinnerIconContainer = (0, import_styles18.styled)("div", {
2754
+ var StyledSpinnerIconContainer = (0, import_styles19.styled)("div", {
2683
2755
  shouldForwardProp: (prop) => prop !== "$size" && prop !== "$darkBg"
2684
2756
  })(({ $size }) => {
2685
2757
  const size = spinnerSizing[$size];
@@ -2689,12 +2761,12 @@ var StyledSpinnerIconContainer = (0, import_styles18.styled)("div", {
2689
2761
  height: size
2690
2762
  };
2691
2763
  });
2692
- var StyledSpinnerBackground = (0, import_styles18.styled)("div", {
2764
+ var StyledSpinnerBackground = (0, import_styles19.styled)("div", {
2693
2765
  shouldForwardProp: (prop) => prop !== "$size" && prop !== "$darkBg"
2694
2766
  })(({ theme, $size, $darkBg }) => {
2695
2767
  const size = spinnerSizing[$size];
2696
2768
  const lineWidth = Math.round(size / 12);
2697
- const borderColor = $darkBg ? (0, import_styles18.alpha)(theme.palette.common.white, 0.2) : (0, import_styles18.alpha)(theme.tokens.colors.textPrimary, 0.1);
2769
+ const borderColor = $darkBg ? (0, import_styles19.alpha)(theme.palette.common.white, 0.2) : (0, import_styles19.alpha)(theme.tokens.colors.textPrimary, 0.1);
2698
2770
  return {
2699
2771
  position: "absolute",
2700
2772
  width: size,
@@ -2703,7 +2775,7 @@ var StyledSpinnerBackground = (0, import_styles18.styled)("div", {
2703
2775
  border: `${lineWidth}px solid ${borderColor}`
2704
2776
  };
2705
2777
  });
2706
- var StyledSpinner = (0, import_styles18.styled)("div", {
2778
+ var StyledSpinner = (0, import_styles19.styled)("div", {
2707
2779
  shouldForwardProp: (prop) => prop !== "$size" && prop !== "$darkBg"
2708
2780
  })(({ theme, $size, $darkBg }) => {
2709
2781
  const size = spinnerSizing[$size];
@@ -2726,7 +2798,7 @@ var StyledSpinner = (0, import_styles18.styled)("div", {
2726
2798
  animation: `toolkit-spin ${animationSpeed} infinite linear`
2727
2799
  };
2728
2800
  });
2729
- var StyledSpinnerMessage2 = (0, import_styles18.styled)("span", {
2801
+ var StyledSpinnerMessage2 = (0, import_styles19.styled)("span", {
2730
2802
  shouldForwardProp: (prop) => prop !== "$darkBg" && prop !== "$inline"
2731
2803
  })(({ theme, $darkBg, $inline }) => ({
2732
2804
  fontFamily: theme.tokens.typography.fontFamilyBase,
@@ -2735,7 +2807,7 @@ var StyledSpinnerMessage2 = (0, import_styles18.styled)("span", {
2735
2807
  marginTop: $inline ? 0 : theme.spacing(1),
2736
2808
  marginLeft: $inline ? theme.spacing(1) : 0
2737
2809
  }));
2738
- var StyledScreenReaderOnly4 = (0, import_styles18.styled)("span")({
2810
+ var StyledScreenReaderOnly4 = (0, import_styles19.styled)("span")({
2739
2811
  position: "absolute",
2740
2812
  width: 1,
2741
2813
  height: 1,
@@ -2748,10 +2820,10 @@ var StyledScreenReaderOnly4 = (0, import_styles18.styled)("span")({
2748
2820
  });
2749
2821
 
2750
2822
  // src/components/Spinner/Spinner.tsx
2751
- var import_jsx_runtime22 = require("react/jsx-runtime");
2752
- var Spinner = import_react10.default.forwardRef(
2823
+ var import_jsx_runtime23 = require("react/jsx-runtime");
2824
+ var Spinner = import_react11.default.forwardRef(
2753
2825
  function Spinner2({ size = "sm", message, isOnDarkBg = false, srText, isInline = false, ...restProps }, ref) {
2754
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
2826
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
2755
2827
  StyledSpinnerContainer,
2756
2828
  {
2757
2829
  ref,
@@ -2759,12 +2831,12 @@ var Spinner = import_react10.default.forwardRef(
2759
2831
  "data-component-id": "Spinner",
2760
2832
  ...getCleanProps(restProps),
2761
2833
  children: [
2762
- /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(StyledSpinnerIconContainer, { $size: size, "aria-hidden": "true", children: [
2763
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(StyledSpinnerBackground, { $size: size, $darkBg: isOnDarkBg, "aria-hidden": "true" }),
2764
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(StyledSpinner, { $size: size, $darkBg: isOnDarkBg, "aria-hidden": "true" })
2834
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(StyledSpinnerIconContainer, { $size: size, "aria-hidden": "true", children: [
2835
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(StyledSpinnerBackground, { $size: size, $darkBg: isOnDarkBg, "aria-hidden": "true" }),
2836
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(StyledSpinner, { $size: size, $darkBg: isOnDarkBg, "aria-hidden": "true" })
2765
2837
  ] }),
2766
- message && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(StyledSpinnerMessage2, { $darkBg: isOnDarkBg, $inline: isInline, children: message }),
2767
- srText && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(StyledScreenReaderOnly4, { children: srText })
2838
+ message && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(StyledSpinnerMessage2, { $darkBg: isOnDarkBg, $inline: isInline, children: message }),
2839
+ srText && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(StyledScreenReaderOnly4, { children: srText })
2768
2840
  ]
2769
2841
  }
2770
2842
  );
@@ -2776,14 +2848,14 @@ Spinner.displayName = "ToolkitSpinner";
2776
2848
  var import_FormHelperText = __toESM(require("@mui/material/FormHelperText"));
2777
2849
 
2778
2850
  // src/components/Toggle/Toggle.styles.tsx
2779
- var import_styles19 = require("@mui/material/styles");
2780
- var StyledFieldset = (0, import_styles19.styled)("fieldset")(({ theme }) => ({
2851
+ var import_styles20 = require("@mui/material/styles");
2852
+ var StyledFieldset = (0, import_styles20.styled)("fieldset")(({ theme }) => ({
2781
2853
  border: "none",
2782
2854
  margin: 0,
2783
2855
  padding: 0,
2784
2856
  minWidth: 0
2785
2857
  }));
2786
- var StyledLegend = (0, import_styles19.styled)("legend")(({ theme }) => ({
2858
+ var StyledLegend = (0, import_styles20.styled)("legend")(({ theme }) => ({
2787
2859
  fontFamily: theme.tokens.typography.fontFamilyBase,
2788
2860
  fontSize: theme.tokens.typography.fontSizeLg,
2789
2861
  fontWeight: theme.tokens.typography.fontWeightRegular,
@@ -2791,7 +2863,7 @@ var StyledLegend = (0, import_styles19.styled)("legend")(({ theme }) => ({
2791
2863
  marginBottom: theme.spacing(1),
2792
2864
  padding: 0
2793
2865
  }));
2794
- var StyledToggleWrapper = (0, import_styles19.styled)("div")(({ theme }) => ({
2866
+ var StyledToggleWrapper = (0, import_styles20.styled)("div")(({ theme }) => ({
2795
2867
  display: "flex",
2796
2868
  flexDirection: "row",
2797
2869
  width: theme.spacing(15),
@@ -2800,7 +2872,7 @@ var StyledToggleWrapper = (0, import_styles19.styled)("div")(({ theme }) => ({
2800
2872
  border: `1px solid ${theme.tokens.colors.border}`,
2801
2873
  borderRadius: theme.tokens.borderRadius.md
2802
2874
  }));
2803
- var StyledSwitch = (0, import_styles19.styled)("label", {
2875
+ var StyledSwitch = (0, import_styles20.styled)("label", {
2804
2876
  shouldForwardProp: (prop) => prop !== "selected" && prop !== "controlType"
2805
2877
  })(({ theme, selected, controlType }) => ({
2806
2878
  position: "relative",
@@ -2890,7 +2962,7 @@ var StyledSwitch = (0, import_styles19.styled)("label", {
2890
2962
  }));
2891
2963
 
2892
2964
  // src/components/Toggle/Toggle.tsx
2893
- var import_jsx_runtime23 = require("react/jsx-runtime");
2965
+ var import_jsx_runtime24 = require("react/jsx-runtime");
2894
2966
  function Toggle({
2895
2967
  name,
2896
2968
  checked = false,
@@ -2901,18 +2973,18 @@ function Toggle({
2901
2973
  onBlur,
2902
2974
  ...restProps
2903
2975
  }) {
2904
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(StyledFieldset, { "data-component-id": "toggle", ...getCleanProps(restProps), children: [
2905
- label && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(StyledLegend, { children: label }),
2906
- description && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_FormHelperText.default, { children: description }),
2907
- /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(StyledToggleWrapper, { children: [
2908
- /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
2976
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(StyledFieldset, { "data-component-id": "toggle", ...getCleanProps(restProps), children: [
2977
+ label && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(StyledLegend, { children: label }),
2978
+ description && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_FormHelperText.default, { children: description }),
2979
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(StyledToggleWrapper, { children: [
2980
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
2909
2981
  StyledSwitch,
2910
2982
  {
2911
2983
  htmlFor: `${name}off`,
2912
2984
  selected: !checked,
2913
2985
  controlType: "off",
2914
2986
  children: [
2915
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
2987
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2916
2988
  "input",
2917
2989
  {
2918
2990
  checked: !checked,
@@ -2928,14 +3000,14 @@ function Toggle({
2928
3000
  ]
2929
3001
  }
2930
3002
  ),
2931
- /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
3003
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
2932
3004
  StyledSwitch,
2933
3005
  {
2934
3006
  htmlFor: `${name}on`,
2935
3007
  selected: checked,
2936
3008
  controlType: "on",
2937
3009
  children: [
2938
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
3010
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2939
3011
  "input",
2940
3012
  {
2941
3013
  checked,
@@ -2952,47 +3024,47 @@ function Toggle({
2952
3024
  }
2953
3025
  )
2954
3026
  ] }),
2955
- error && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_FormHelperText.default, { error: true, children: error })
3027
+ error && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_FormHelperText.default, { error: true, children: error })
2956
3028
  ] });
2957
3029
  }
2958
3030
  Toggle.displayName = "ToolkitToggle";
2959
3031
 
2960
3032
  // src/components/Table/Table.tsx
2961
- var import_material10 = require("@mui/material");
2962
- var import_styles20 = require("@mui/material/styles");
2963
- var import_jsx_runtime24 = require("react/jsx-runtime");
2964
- var StyledTableContainer = (0, import_styles20.styled)(import_material10.TableContainer)(() => ({
3033
+ var import_material11 = require("@mui/material");
3034
+ var import_styles21 = require("@mui/material/styles");
3035
+ var import_jsx_runtime25 = require("react/jsx-runtime");
3036
+ var StyledTableContainer = (0, import_styles21.styled)(import_material11.TableContainer)(() => ({
2965
3037
  overflowX: "auto"
2966
3038
  }));
2967
- var StyledHeadCell = (0, import_styles20.styled)(import_material10.TableCell)(({ theme }) => ({
3039
+ var StyledHeadCell = (0, import_styles21.styled)(import_material11.TableCell)(({ theme }) => ({
2968
3040
  fontWeight: theme.tokens.components.table.headerFontWeight,
2969
3041
  backgroundColor: theme.tokens.components.table.headerBackground,
2970
3042
  borderBottomWidth: theme.tokens.components.table.borderWidth,
2971
3043
  borderBottomColor: theme.tokens.components.table.borderColor
2972
3044
  }));
2973
3045
  function Table(props) {
2974
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_material10.Table, { ...props });
3046
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_material11.Table, { ...props });
2975
3047
  }
2976
3048
  function TableHead(props) {
2977
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_material10.TableHead, { ...props });
3049
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_material11.TableHead, { ...props });
2978
3050
  }
2979
3051
  function TableBody(props) {
2980
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_material10.TableBody, { ...props });
3052
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_material11.TableBody, { ...props });
2981
3053
  }
2982
3054
  function TableRow(props) {
2983
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_material10.TableRow, { ...props });
3055
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_material11.TableRow, { ...props });
2984
3056
  }
2985
3057
  function TableCell(props) {
2986
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_material10.TableCell, { ...props });
3058
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_material11.TableCell, { ...props });
2987
3059
  }
2988
3060
  function TableHeadCell(props) {
2989
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(StyledHeadCell, { component: "th", scope: "col", ...props });
3061
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(StyledHeadCell, { component: "th", scope: "col", ...props });
2990
3062
  }
2991
3063
  function TableContainer(props) {
2992
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(StyledTableContainer, { ...props });
3064
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(StyledTableContainer, { ...props });
2993
3065
  }
2994
- var TablePagination = import_material10.TablePagination;
2995
- var TableSortLabel = import_material10.TableSortLabel;
3066
+ var TablePagination = import_material11.TablePagination;
3067
+ var TableSortLabel = import_material11.TableSortLabel;
2996
3068
  Table.displayName = "ToolkitTable";
2997
3069
  TableHead.displayName = "ToolkitTableHead";
2998
3070
  TableBody.displayName = "ToolkitTableBody";
@@ -3002,144 +3074,144 @@ TableHeadCell.displayName = "ToolkitTableHeadCell";
3002
3074
  TableContainer.displayName = "ToolkitTableContainer";
3003
3075
 
3004
3076
  // src/foundation/H1/H1.tsx
3005
- var import_react11 = __toESM(require("react"));
3006
- var import_material11 = require("@mui/material");
3007
- var import_jsx_runtime25 = require("react/jsx-runtime");
3008
- var H1 = import_react11.default.forwardRef(
3077
+ var import_react12 = __toESM(require("react"));
3078
+ var import_material12 = require("@mui/material");
3079
+ var import_jsx_runtime26 = require("react/jsx-runtime");
3080
+ var H1 = import_react12.default.forwardRef(
3009
3081
  function H12({ color = "text.primary", children, ...props }, ref) {
3010
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_material11.Typography, { ref, variant: "h1", color, ...props, children });
3082
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_material12.Typography, { ref, variant: "h1", color, ...props, children });
3011
3083
  }
3012
3084
  );
3013
3085
  H1.displayName = "ToolkitH1";
3014
3086
 
3015
3087
  // src/foundation/H2/H2.tsx
3016
- var import_react12 = __toESM(require("react"));
3017
- var import_material12 = require("@mui/material");
3018
- var import_jsx_runtime26 = require("react/jsx-runtime");
3019
- var H2 = import_react12.default.forwardRef(
3088
+ var import_react13 = __toESM(require("react"));
3089
+ var import_material13 = require("@mui/material");
3090
+ var import_jsx_runtime27 = require("react/jsx-runtime");
3091
+ var H2 = import_react13.default.forwardRef(
3020
3092
  function H22({ color = "text.primary", children, ...props }, ref) {
3021
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_material12.Typography, { ref, variant: "h2", color, ...props, children });
3093
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_material13.Typography, { ref, variant: "h2", color, ...props, children });
3022
3094
  }
3023
3095
  );
3024
3096
  H2.displayName = "ToolkitH2";
3025
3097
 
3026
3098
  // src/foundation/H3/H3.tsx
3027
- var import_react13 = __toESM(require("react"));
3028
- var import_material13 = require("@mui/material");
3029
- var import_jsx_runtime27 = require("react/jsx-runtime");
3030
- var H3 = import_react13.default.forwardRef(
3099
+ var import_react14 = __toESM(require("react"));
3100
+ var import_material14 = require("@mui/material");
3101
+ var import_jsx_runtime28 = require("react/jsx-runtime");
3102
+ var H3 = import_react14.default.forwardRef(
3031
3103
  function H32({ color = "text.primary", children, ...props }, ref) {
3032
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_material13.Typography, { ref, variant: "h3", color, ...props, children });
3104
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_material14.Typography, { ref, variant: "h3", color, ...props, children });
3033
3105
  }
3034
3106
  );
3035
3107
  H3.displayName = "ToolkitH3";
3036
3108
 
3037
3109
  // src/foundation/H4/H4.tsx
3038
- var import_react14 = __toESM(require("react"));
3039
- var import_material14 = require("@mui/material");
3040
- var import_jsx_runtime28 = require("react/jsx-runtime");
3041
- var H4 = import_react14.default.forwardRef(
3110
+ var import_react15 = __toESM(require("react"));
3111
+ var import_material15 = require("@mui/material");
3112
+ var import_jsx_runtime29 = require("react/jsx-runtime");
3113
+ var H4 = import_react15.default.forwardRef(
3042
3114
  function H42({ color = "text.primary", children, ...props }, ref) {
3043
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_material14.Typography, { ref, variant: "h4", color, ...props, children });
3115
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_material15.Typography, { ref, variant: "h4", color, ...props, children });
3044
3116
  }
3045
3117
  );
3046
3118
  H4.displayName = "ToolkitH4";
3047
3119
 
3048
3120
  // src/foundation/H5/H5.tsx
3049
- var import_react15 = __toESM(require("react"));
3050
- var import_material15 = require("@mui/material");
3051
- var import_jsx_runtime29 = require("react/jsx-runtime");
3052
- var H5 = import_react15.default.forwardRef(
3121
+ var import_react16 = __toESM(require("react"));
3122
+ var import_material16 = require("@mui/material");
3123
+ var import_jsx_runtime30 = require("react/jsx-runtime");
3124
+ var H5 = import_react16.default.forwardRef(
3053
3125
  function H52({ color = "text.primary", children, ...props }, ref) {
3054
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_material15.Typography, { ref, variant: "h5", color, ...props, children });
3126
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_material16.Typography, { ref, variant: "h5", color, ...props, children });
3055
3127
  }
3056
3128
  );
3057
3129
  H5.displayName = "ToolkitH5";
3058
3130
 
3059
3131
  // src/foundation/H6/H6.tsx
3060
- var import_react16 = __toESM(require("react"));
3061
- var import_material16 = require("@mui/material");
3062
- var import_jsx_runtime30 = require("react/jsx-runtime");
3063
- var H6 = import_react16.default.forwardRef(
3132
+ var import_react17 = __toESM(require("react"));
3133
+ var import_material17 = require("@mui/material");
3134
+ var import_jsx_runtime31 = require("react/jsx-runtime");
3135
+ var H6 = import_react17.default.forwardRef(
3064
3136
  function H62({ color = "text.primary", children, ...props }, ref) {
3065
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_material16.Typography, { ref, variant: "h6", color, ...props, children });
3137
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_material17.Typography, { ref, variant: "h6", color, ...props, children });
3066
3138
  }
3067
3139
  );
3068
3140
  H6.displayName = "ToolkitH6";
3069
3141
 
3070
3142
  // src/foundation/Subtitle1/Subtitle1.tsx
3071
- var import_react17 = __toESM(require("react"));
3072
- var import_material17 = require("@mui/material");
3073
- var import_jsx_runtime31 = require("react/jsx-runtime");
3074
- var Subtitle1 = import_react17.default.forwardRef(
3143
+ var import_react18 = __toESM(require("react"));
3144
+ var import_material18 = require("@mui/material");
3145
+ var import_jsx_runtime32 = require("react/jsx-runtime");
3146
+ var Subtitle1 = import_react18.default.forwardRef(
3075
3147
  function Subtitle12({ color = "text.primary", children, ...props }, ref) {
3076
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_material17.Typography, { ref, variant: "subtitle1", color, ...props, children });
3148
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_material18.Typography, { ref, variant: "subtitle1", color, ...props, children });
3077
3149
  }
3078
3150
  );
3079
3151
  Subtitle1.displayName = "ToolkitSubtitle1";
3080
3152
 
3081
3153
  // src/foundation/Subtitle2/Subtitle2.tsx
3082
- var import_react18 = __toESM(require("react"));
3083
- var import_material18 = require("@mui/material");
3084
- var import_jsx_runtime32 = require("react/jsx-runtime");
3085
- var Subtitle2 = import_react18.default.forwardRef(
3154
+ var import_react19 = __toESM(require("react"));
3155
+ var import_material19 = require("@mui/material");
3156
+ var import_jsx_runtime33 = require("react/jsx-runtime");
3157
+ var Subtitle2 = import_react19.default.forwardRef(
3086
3158
  function Subtitle22({ color = "text.primary", children, ...props }, ref) {
3087
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_material18.Typography, { ref, variant: "subtitle2", color, ...props, children });
3159
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_material19.Typography, { ref, variant: "subtitle2", color, ...props, children });
3088
3160
  }
3089
3161
  );
3090
3162
  Subtitle2.displayName = "ToolkitSubtitle2";
3091
3163
 
3092
3164
  // src/foundation/Body1/Body1.tsx
3093
- var import_react19 = __toESM(require("react"));
3094
- var import_material19 = require("@mui/material");
3095
- var import_jsx_runtime33 = require("react/jsx-runtime");
3096
- var Body1 = import_react19.default.forwardRef(
3165
+ var import_react20 = __toESM(require("react"));
3166
+ var import_material20 = require("@mui/material");
3167
+ var import_jsx_runtime34 = require("react/jsx-runtime");
3168
+ var Body1 = import_react20.default.forwardRef(
3097
3169
  function Body12({ color = "text.primary", children, ...props }, ref) {
3098
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_material19.Typography, { ref, variant: "body1", color, ...props, children });
3170
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_material20.Typography, { ref, variant: "body1", color, ...props, children });
3099
3171
  }
3100
3172
  );
3101
3173
  Body1.displayName = "ToolkitBody1";
3102
3174
 
3103
3175
  // src/foundation/Body2/Body2.tsx
3104
- var import_react20 = __toESM(require("react"));
3105
- var import_material20 = require("@mui/material");
3106
- var import_jsx_runtime34 = require("react/jsx-runtime");
3107
- var Body2 = import_react20.default.forwardRef(
3176
+ var import_react21 = __toESM(require("react"));
3177
+ var import_material21 = require("@mui/material");
3178
+ var import_jsx_runtime35 = require("react/jsx-runtime");
3179
+ var Body2 = import_react21.default.forwardRef(
3108
3180
  function Body22({ color = "text.primary", children, ...props }, ref) {
3109
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_material20.Typography, { ref, variant: "body2", color, ...props, children });
3181
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_material21.Typography, { ref, variant: "body2", color, ...props, children });
3110
3182
  }
3111
3183
  );
3112
3184
  Body2.displayName = "ToolkitBody2";
3113
3185
 
3114
3186
  // src/foundation/Caption/Caption.tsx
3115
- var import_react21 = __toESM(require("react"));
3116
- var import_material21 = require("@mui/material");
3117
- var import_jsx_runtime35 = require("react/jsx-runtime");
3118
- var Caption = import_react21.default.forwardRef(
3187
+ var import_react22 = __toESM(require("react"));
3188
+ var import_material22 = require("@mui/material");
3189
+ var import_jsx_runtime36 = require("react/jsx-runtime");
3190
+ var Caption = import_react22.default.forwardRef(
3119
3191
  function Caption2({ color = "text.primary", children, ...props }, ref) {
3120
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_material21.Typography, { ref, variant: "caption", color, ...props, children });
3192
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_material22.Typography, { ref, variant: "caption", color, ...props, children });
3121
3193
  }
3122
3194
  );
3123
3195
  Caption.displayName = "ToolkitCaption";
3124
3196
 
3125
3197
  // src/foundation/Overline/Overline.tsx
3126
- var import_react22 = __toESM(require("react"));
3127
- var import_material22 = require("@mui/material");
3128
- var import_jsx_runtime36 = require("react/jsx-runtime");
3129
- var Overline = import_react22.default.forwardRef(
3198
+ var import_react23 = __toESM(require("react"));
3199
+ var import_material23 = require("@mui/material");
3200
+ var import_jsx_runtime37 = require("react/jsx-runtime");
3201
+ var Overline = import_react23.default.forwardRef(
3130
3202
  function Overline2({ color = "text.primary", children, ...props }, ref) {
3131
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_material22.Typography, { ref, variant: "overline", color, ...props, children });
3203
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material23.Typography, { ref, variant: "overline", color, ...props, children });
3132
3204
  }
3133
3205
  );
3134
3206
  Overline.displayName = "ToolkitOverline";
3135
3207
 
3136
3208
  // src/foundation/TypographyButton/TypographyButton.tsx
3137
- var import_react23 = __toESM(require("react"));
3138
- var import_material23 = require("@mui/material");
3139
- var import_jsx_runtime37 = require("react/jsx-runtime");
3140
- var TypographyButton = import_react23.default.forwardRef(
3209
+ var import_react24 = __toESM(require("react"));
3210
+ var import_material24 = require("@mui/material");
3211
+ var import_jsx_runtime38 = require("react/jsx-runtime");
3212
+ var TypographyButton = import_react24.default.forwardRef(
3141
3213
  function TypographyButton2({ color = "text.primary", children, ...props }, ref) {
3142
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material23.Typography, { ref, variant: "button", color, ...props, children });
3214
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_material24.Typography, { ref, variant: "button", color, ...props, children });
3143
3215
  }
3144
3216
  );
3145
3217
  TypographyButton.displayName = "ToolkitTypographyButton";
@@ -3180,6 +3252,7 @@ TypographyButton.displayName = "ToolkitTypographyButton";
3180
3252
  H4,
3181
3253
  H5,
3182
3254
  H6,
3255
+ IconText,
3183
3256
  InternalLinkItem,
3184
3257
  Link,
3185
3258
  LogoLink,