@simplybusiness/mobius 10.1.1 → 10.2.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.
Files changed (115) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/cjs/components/AddressLookup/AddressLookup.js +540 -526
  3. package/dist/cjs/components/AddressLookup/AddressLookup.js.map +4 -4
  4. package/dist/cjs/components/AddressLookup/index.js +540 -526
  5. package/dist/cjs/components/AddressLookup/index.js.map +4 -4
  6. package/dist/cjs/components/Alert/Alert.js +79 -11
  7. package/dist/cjs/components/Alert/Alert.js.map +4 -4
  8. package/dist/cjs/components/Alert/index.js +79 -11
  9. package/dist/cjs/components/Alert/index.js.map +4 -4
  10. package/dist/cjs/components/Checkbox/Checkbox.js +506 -492
  11. package/dist/cjs/components/Checkbox/Checkbox.js.map +4 -4
  12. package/dist/cjs/components/Checkbox/CheckboxGroup.js +506 -492
  13. package/dist/cjs/components/Checkbox/CheckboxGroup.js.map +4 -4
  14. package/dist/cjs/components/Checkbox/index.js +485 -471
  15. package/dist/cjs/components/Checkbox/index.js.map +4 -4
  16. package/dist/cjs/components/Combobox/Combobox.js +540 -526
  17. package/dist/cjs/components/Combobox/Combobox.js.map +4 -4
  18. package/dist/cjs/components/Combobox/index.js +540 -526
  19. package/dist/cjs/components/Combobox/index.js.map +4 -4
  20. package/dist/cjs/components/DateField/DateField.js +527 -513
  21. package/dist/cjs/components/DateField/DateField.js.map +4 -4
  22. package/dist/cjs/components/DateField/index.js +527 -513
  23. package/dist/cjs/components/DateField/index.js.map +4 -4
  24. package/dist/cjs/components/ErrorMessage/ErrorMessage.js +527 -513
  25. package/dist/cjs/components/ErrorMessage/ErrorMessage.js.map +4 -4
  26. package/dist/cjs/components/ErrorMessage/index.js +527 -513
  27. package/dist/cjs/components/ErrorMessage/index.js.map +4 -4
  28. package/dist/cjs/components/ExpandableText/ExpandableText.js +527 -513
  29. package/dist/cjs/components/ExpandableText/ExpandableText.js.map +4 -4
  30. package/dist/cjs/components/ExpandableText/index.js +527 -513
  31. package/dist/cjs/components/ExpandableText/index.js.map +4 -4
  32. package/dist/cjs/components/MaskedField/MaskedField.js +537 -523
  33. package/dist/cjs/components/MaskedField/MaskedField.js.map +4 -4
  34. package/dist/cjs/components/MaskedField/index.js +537 -523
  35. package/dist/cjs/components/MaskedField/index.js.map +4 -4
  36. package/dist/cjs/components/NumberField/NumberField.js +528 -514
  37. package/dist/cjs/components/NumberField/NumberField.js.map +4 -4
  38. package/dist/cjs/components/NumberField/index.js +528 -514
  39. package/dist/cjs/components/NumberField/index.js.map +4 -4
  40. package/dist/cjs/components/PasswordField/PasswordField.js +524 -510
  41. package/dist/cjs/components/PasswordField/PasswordField.js.map +4 -4
  42. package/dist/cjs/components/PasswordField/ShowHideButton.js +523 -509
  43. package/dist/cjs/components/PasswordField/ShowHideButton.js.map +4 -4
  44. package/dist/cjs/components/PasswordField/index.js +524 -510
  45. package/dist/cjs/components/PasswordField/index.js.map +4 -4
  46. package/dist/cjs/components/Radio/Radio.js +506 -492
  47. package/dist/cjs/components/Radio/Radio.js.map +4 -4
  48. package/dist/cjs/components/Radio/RadioGroup.js +505 -491
  49. package/dist/cjs/components/Radio/RadioGroup.js.map +4 -4
  50. package/dist/cjs/components/Radio/index.js +484 -470
  51. package/dist/cjs/components/Radio/index.js.map +4 -4
  52. package/dist/cjs/components/Select/Select.js +511 -497
  53. package/dist/cjs/components/Select/Select.js.map +4 -4
  54. package/dist/cjs/components/Select/index.js +511 -497
  55. package/dist/cjs/components/Select/index.js.map +4 -4
  56. package/dist/cjs/components/TextArea/TextArea.js +521 -507
  57. package/dist/cjs/components/TextArea/TextArea.js.map +4 -4
  58. package/dist/cjs/components/TextArea/index.js +521 -507
  59. package/dist/cjs/components/TextArea/index.js.map +4 -4
  60. package/dist/cjs/components/TextField/TextField.js +537 -523
  61. package/dist/cjs/components/TextField/TextField.js.map +4 -4
  62. package/dist/cjs/components/TextField/index.js +537 -523
  63. package/dist/cjs/components/TextField/index.js.map +4 -4
  64. package/dist/cjs/components/index.js +567 -553
  65. package/dist/cjs/components/index.js.map +4 -4
  66. package/dist/cjs/index.js +567 -553
  67. package/dist/cjs/index.js.map +4 -4
  68. package/dist/cjs/meta.json +1372 -1305
  69. package/dist/esm/{chunk-FTSJNY4J.js → chunk-N5WGQAHM.js} +14 -2
  70. package/dist/esm/chunk-N5WGQAHM.js.map +7 -0
  71. package/dist/esm/{chunk-C4BILMFX.js → chunk-RR4UQSOZ.js} +5 -1
  72. package/dist/esm/chunk-RR4UQSOZ.js.map +7 -0
  73. package/dist/esm/components/AddressLookup/AddressLookup.js +2 -2
  74. package/dist/esm/components/AddressLookup/index.js +2 -2
  75. package/dist/esm/components/Alert/Alert.js +4 -1
  76. package/dist/esm/components/Alert/index.js +4 -1
  77. package/dist/esm/components/Checkbox/Checkbox.js +2 -2
  78. package/dist/esm/components/Checkbox/CheckboxGroup.js +2 -2
  79. package/dist/esm/components/Checkbox/index.js +2 -2
  80. package/dist/esm/components/Combobox/Combobox.js +2 -2
  81. package/dist/esm/components/Combobox/index.js +2 -2
  82. package/dist/esm/components/DateField/DateField.js +2 -2
  83. package/dist/esm/components/DateField/index.js +2 -2
  84. package/dist/esm/components/ErrorMessage/ErrorMessage.js +2 -2
  85. package/dist/esm/components/ErrorMessage/index.js +2 -2
  86. package/dist/esm/components/ExpandableText/ExpandableText.js +2 -2
  87. package/dist/esm/components/ExpandableText/index.js +2 -2
  88. package/dist/esm/components/MaskedField/MaskedField.js +2 -2
  89. package/dist/esm/components/MaskedField/index.js +2 -2
  90. package/dist/esm/components/NumberField/NumberField.js +2 -2
  91. package/dist/esm/components/NumberField/index.js +2 -2
  92. package/dist/esm/components/PasswordField/PasswordField.js +2 -2
  93. package/dist/esm/components/PasswordField/ShowHideButton.js +2 -2
  94. package/dist/esm/components/PasswordField/index.js +2 -2
  95. package/dist/esm/components/Radio/Radio.js +2 -2
  96. package/dist/esm/components/Radio/RadioGroup.js +2 -2
  97. package/dist/esm/components/Radio/index.js +2 -2
  98. package/dist/esm/components/Select/Select.js +2 -2
  99. package/dist/esm/components/Select/index.js +2 -2
  100. package/dist/esm/components/TextArea/TextArea.js +2 -2
  101. package/dist/esm/components/TextArea/index.js +2 -2
  102. package/dist/esm/components/TextField/TextField.js +2 -2
  103. package/dist/esm/components/TextField/index.js +2 -2
  104. package/dist/esm/components/index.js +2 -2
  105. package/dist/esm/index.js +2 -2
  106. package/dist/esm/meta.json +164 -131
  107. package/dist/tsconfig.build.tsbuildinfo +1 -1
  108. package/package.json +1 -1
  109. package/src/components/AddressLookup/AddressLookup.test.tsx +76 -0
  110. package/src/components/AddressLookup/AddressLookup.tsx +9 -0
  111. package/src/components/Alert/Alert.tsx +10 -1
  112. package/src/components/Drawer/Drawer.css +24 -3
  113. package/src/components/Modal/Modal.css +42 -3
  114. package/dist/esm/chunk-C4BILMFX.js.map +0 -7
  115. package/dist/esm/chunk-FTSJNY4J.js.map +0 -7
@@ -1950,6 +1950,10 @@ var init_AddressLookup = __esm({
1950
1950
  );
1951
1951
  const handleSelected = (selected) => {
1952
1952
  setError(null);
1953
+ const isEmpty = typeof selected === "string" ? selected === "" : !selected.id && !selected.value;
1954
+ if (isEmpty) {
1955
+ return Promise.resolve();
1956
+ }
1953
1957
  if (typeof selected === "string" || !selected.id) {
1954
1958
  setError(new Error("Selected option missing id"));
1955
1959
  return Promise.resolve();
@@ -1997,19 +2001,98 @@ var init_AddressLookup2 = __esm({
1997
2001
  }
1998
2002
  });
1999
2003
 
2004
+ // src/components/Text/Text.tsx
2005
+ var import_dedupe10, import_Text, import_jsx_runtime12, getElementType, Text;
2006
+ var init_Text = __esm({
2007
+ "src/components/Text/Text.tsx"() {
2008
+ "use strict";
2009
+ import_dedupe10 = __toESM(require("classnames/dedupe"));
2010
+ import_Text = require("@simplybusiness/mobius/src/components/Text/Text.css");
2011
+ import_jsx_runtime12 = require("react/jsx-runtime");
2012
+ getElementType = (variant, elementType) => {
2013
+ if (variant) {
2014
+ return ["h1", "h2", "h3", "h4"].includes(variant) ? variant : "p";
2015
+ }
2016
+ return elementType || "p";
2017
+ };
2018
+ Text = ({ ref, elementType: Component = "p", ...props }) => {
2019
+ const { variant, className, spacing, ...otherProps } = props;
2020
+ const elementType = getElementType(variant, Component);
2021
+ const variantType = variant || elementType;
2022
+ const classes = (0, import_dedupe10.default)(
2023
+ "mobius",
2024
+ "mobius-text",
2025
+ { [`--is-${variantType}`]: variantType },
2026
+ { [`--has-line-height-${spacing}`]: spacing },
2027
+ className
2028
+ );
2029
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Component, { ref, ...otherProps, className: classes });
2030
+ };
2031
+ Text.displayName = "Text";
2032
+ }
2033
+ });
2034
+
2035
+ // src/components/TextOrHTML/TextOrHTML.tsx
2036
+ var import_react14, import_jsx_runtime13, isHTML, TextOrHTML;
2037
+ var init_TextOrHTML = __esm({
2038
+ "src/components/TextOrHTML/TextOrHTML.tsx"() {
2039
+ "use strict";
2040
+ import_react14 = require("react");
2041
+ init_Text();
2042
+ import_jsx_runtime13 = require("react/jsx-runtime");
2043
+ isHTML = (text) => /^\s*<[a-z]/i.test(text);
2044
+ TextOrHTML = ({
2045
+ ref,
2046
+ text,
2047
+ htmlClassName,
2048
+ htmlElementType,
2049
+ textWrapper = false,
2050
+ autoDetect = false,
2051
+ ...textProps
2052
+ }) => {
2053
+ const textIsHTML = autoDetect && isHTML(text);
2054
+ const shouldWrapInText = autoDetect ? textWrapper || !textIsHTML : textWrapper;
2055
+ const resolvedElementType = htmlElementType ?? (textIsHTML ? "div" : "span");
2056
+ const DangerousComponent = resolvedElementType;
2057
+ const dangerousHTML = (0, import_react14.useMemo)(() => ({ __html: text }), [text]);
2058
+ const dangerousElement = /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
2059
+ DangerousComponent,
2060
+ {
2061
+ className: htmlClassName,
2062
+ dangerouslySetInnerHTML: dangerousHTML
2063
+ }
2064
+ );
2065
+ if (shouldWrapInText) {
2066
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Text, { ref, ...textProps, children: dangerousElement });
2067
+ }
2068
+ return dangerousElement;
2069
+ };
2070
+ TextOrHTML.displayName = "TextOrHTML";
2071
+ }
2072
+ });
2073
+
2074
+ // src/components/TextOrHTML/index.tsx
2075
+ var init_TextOrHTML2 = __esm({
2076
+ "src/components/TextOrHTML/index.tsx"() {
2077
+ "use strict";
2078
+ init_TextOrHTML();
2079
+ }
2080
+ });
2081
+
2000
2082
  // src/components/Alert/Alert.tsx
2001
2083
  function isAlertVariant(value) {
2002
2084
  return value === "info" || value === "success" || value === "warning" || value === "error";
2003
2085
  }
2004
- var import_icons3, import_dedupe10, import_Alert, import_jsx_runtime12, Alert;
2086
+ var import_icons3, import_dedupe11, import_Alert, import_jsx_runtime14, Alert;
2005
2087
  var init_Alert = __esm({
2006
2088
  "src/components/Alert/Alert.tsx"() {
2007
2089
  "use strict";
2008
2090
  import_icons3 = require("@simplybusiness/icons");
2009
- import_dedupe10 = __toESM(require("classnames/dedupe"));
2091
+ import_dedupe11 = __toESM(require("classnames/dedupe"));
2010
2092
  init_Icon2();
2093
+ init_TextOrHTML2();
2011
2094
  import_Alert = require("@simplybusiness/mobius/src/components/Alert/Alert.css");
2012
- import_jsx_runtime12 = require("react/jsx-runtime");
2095
+ import_jsx_runtime14 = require("react/jsx-runtime");
2013
2096
  Alert = ({ ref, ...props }) => {
2014
2097
  const {
2015
2098
  elementType: Element = "div",
@@ -2022,7 +2105,7 @@ var init_Alert = __esm({
2022
2105
  if (!show) return null;
2023
2106
  const variant = variantProp && isAlertVariant(variantProp) ? variantProp : "info";
2024
2107
  const colorValue = variant === "success" ? `var(--color-valid)` : `var(--color-${variant})`;
2025
- const classes = (0, import_dedupe10.default)(
2108
+ const classes = (0, import_dedupe11.default)(
2026
2109
  "mobius",
2027
2110
  "mobius-alert",
2028
2111
  {
@@ -2040,14 +2123,23 @@ var init_Alert = __esm({
2040
2123
  warning: import_icons3.warning,
2041
2124
  error: import_icons3.error
2042
2125
  };
2043
- const headerClasses = (0, import_dedupe10.default)("mobius", "mobius-alert__header");
2044
- const iconClasses = (0, import_dedupe10.default)("mobius", "mobius-alert__icon");
2045
- const contentClasses = (0, import_dedupe10.default)("mobius", "mobius-alert__content");
2046
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(Element, { ref, role: "alert", ...otherProps, className: classes, children: [
2047
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: iconClasses, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Icon, { icon: icon[variant], color: colorValue }) }),
2048
- /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { children: [
2049
- header && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("p", { className: headerClasses, children: header }),
2050
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: contentClasses, children })
2126
+ const headerClasses = (0, import_dedupe11.default)("mobius", "mobius-alert__header");
2127
+ const iconClasses = (0, import_dedupe11.default)("mobius", "mobius-alert__icon");
2128
+ const contentClasses = (0, import_dedupe11.default)("mobius", "mobius-alert__content");
2129
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(Element, { ref, role: "alert", ...otherProps, className: classes, children: [
2130
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: iconClasses, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Icon, { icon: icon[variant], color: colorValue }) }),
2131
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { children: [
2132
+ header && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
2133
+ TextOrHTML,
2134
+ {
2135
+ autoDetect: true,
2136
+ htmlElementType: "span",
2137
+ className: headerClasses,
2138
+ htmlClassName: headerClasses,
2139
+ text: header
2140
+ }
2141
+ ),
2142
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: contentClasses, children })
2051
2143
  ] })
2052
2144
  ] });
2053
2145
  };
@@ -2064,14 +2156,14 @@ var init_Alert2 = __esm({
2064
2156
  });
2065
2157
 
2066
2158
  // src/components/Box/Box.tsx
2067
- var import_dedupe11, import_Box, import_jsx_runtime13, Box;
2159
+ var import_dedupe12, import_Box, import_jsx_runtime15, Box;
2068
2160
  var init_Box = __esm({
2069
2161
  "src/components/Box/Box.tsx"() {
2070
2162
  "use strict";
2071
- import_dedupe11 = __toESM(require("classnames/dedupe"));
2163
+ import_dedupe12 = __toESM(require("classnames/dedupe"));
2072
2164
  init_utils();
2073
2165
  import_Box = require("@simplybusiness/mobius/src/components/Box/Box.css");
2074
- import_jsx_runtime13 = require("react/jsx-runtime");
2166
+ import_jsx_runtime15 = require("react/jsx-runtime");
2075
2167
  Box = ({ ref, ...props }) => {
2076
2168
  const {
2077
2169
  elementType: Element = "div",
@@ -2097,7 +2189,7 @@ var init_Box = __esm({
2097
2189
  style,
2098
2190
  ...otherProps
2099
2191
  } = props;
2100
- const classes = (0, import_dedupe11.default)("mobius", "mobius-box", otherProps.className);
2192
+ const classes = (0, import_dedupe12.default)("mobius", "mobius-box", otherProps.className);
2101
2193
  const styleProps = filterUndefinedProps({
2102
2194
  padding: getSpacingValue(padding),
2103
2195
  paddingInline: getSpacingValue(paddingInline || paddingX),
@@ -2114,7 +2206,7 @@ var init_Box = __esm({
2114
2206
  height,
2115
2207
  ...style
2116
2208
  });
2117
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Element, { ref, style: styleProps, ...otherProps, className: classes });
2209
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Element, { ref, style: styleProps, ...otherProps, className: classes });
2118
2210
  };
2119
2211
  Box.displayName = "Box";
2120
2212
  }
@@ -2129,27 +2221,27 @@ var init_Box2 = __esm({
2129
2221
  });
2130
2222
 
2131
2223
  // src/components/Breadcrumbs/Breadcrumbs.tsx
2132
- var import_react14, import_dedupe12, import_Breadcrumbs, import_jsx_runtime14, Breadcrumbs;
2224
+ var import_react15, import_dedupe13, import_Breadcrumbs, import_jsx_runtime16, Breadcrumbs;
2133
2225
  var init_Breadcrumbs = __esm({
2134
2226
  "src/components/Breadcrumbs/Breadcrumbs.tsx"() {
2135
2227
  "use strict";
2136
2228
  "use client";
2137
- import_react14 = require("react");
2138
- import_dedupe12 = __toESM(require("classnames/dedupe"));
2229
+ import_react15 = require("react");
2230
+ import_dedupe13 = __toESM(require("classnames/dedupe"));
2139
2231
  import_Breadcrumbs = require("@simplybusiness/mobius/src/components/Breadcrumbs/Breadcrumbs.css");
2140
- import_jsx_runtime14 = require("react/jsx-runtime");
2232
+ import_jsx_runtime16 = require("react/jsx-runtime");
2141
2233
  Breadcrumbs = ({ ref, ...props }) => {
2142
2234
  const { "aria-label": ariaLabel = "Breadcrumbs" } = props;
2143
2235
  const { navProps } = { navProps: { "aria-label": ariaLabel } };
2144
2236
  const { children, ...otherProps } = props;
2145
- const childArray = import_react14.Children.toArray(children);
2146
- const classes = (0, import_dedupe12.default)(
2237
+ const childArray = import_react15.Children.toArray(children);
2238
+ const classes = (0, import_dedupe13.default)(
2147
2239
  "mobius",
2148
2240
  "mobius-breadcrumb",
2149
2241
  otherProps.className
2150
2242
  );
2151
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("nav", { ref, ...otherProps, ...navProps, className: classes, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("ul", { children: childArray.map(
2152
- (child, i) => (0, import_react14.cloneElement)(
2243
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("nav", { ref, ...otherProps, ...navProps, className: classes, children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("ul", { children: childArray.map(
2244
+ (child, i) => (0, import_react15.cloneElement)(
2153
2245
  child,
2154
2246
  {
2155
2247
  key: i,
@@ -2163,22 +2255,22 @@ var init_Breadcrumbs = __esm({
2163
2255
  });
2164
2256
 
2165
2257
  // src/components/Breadcrumbs/BreadcrumbItem.tsx
2166
- var import_react15, import_dedupe13, import_jsx_runtime15, BreadcrumbItem;
2258
+ var import_react16, import_dedupe14, import_jsx_runtime17, BreadcrumbItem;
2167
2259
  var init_BreadcrumbItem = __esm({
2168
2260
  "src/components/Breadcrumbs/BreadcrumbItem.tsx"() {
2169
2261
  "use strict";
2170
2262
  "use client";
2171
- import_react15 = require("react");
2172
- import_dedupe13 = __toESM(require("classnames/dedupe"));
2263
+ import_react16 = require("react");
2264
+ import_dedupe14 = __toESM(require("classnames/dedupe"));
2173
2265
  init_Box2();
2174
- import_jsx_runtime15 = require("react/jsx-runtime");
2266
+ import_jsx_runtime17 = require("react/jsx-runtime");
2175
2267
  BreadcrumbItem = ({ ref, ...props }) => {
2176
2268
  const {
2177
2269
  isDisabled = false,
2178
2270
  isCurrent = false,
2179
2271
  "aria-current": ariaCurrent = "page",
2180
2272
  children,
2181
- separator = /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Box, { className: "mobius-breadcrumb__separator", "aria-hidden": "true", children: ">" }),
2273
+ separator = /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Box, { className: "mobius-breadcrumb__separator", "aria-hidden": "true", children: ">" }),
2182
2274
  ...otherProps
2183
2275
  } = props;
2184
2276
  const { itemProps } = {
@@ -2188,14 +2280,14 @@ var init_BreadcrumbItem = __esm({
2188
2280
  ...otherProps
2189
2281
  }
2190
2282
  };
2191
- const classes = (0, import_dedupe13.default)(
2283
+ const classes = (0, import_dedupe14.default)(
2192
2284
  "mobius",
2193
2285
  "mobius-breadcrumb__item",
2194
2286
  props.className
2195
2287
  );
2196
- const child = typeof children === "string" ? /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { ...itemProps, children }) : import_react15.Children.only(children);
2197
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("li", { className: classes, children: [
2198
- (0, import_react15.cloneElement)(child, {
2288
+ const child = typeof children === "string" ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { ...itemProps, children }) : import_react16.Children.only(children);
2289
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("li", { className: classes, children: [
2290
+ (0, import_react16.cloneElement)(child, {
2199
2291
  ...child.props,
2200
2292
  ...itemProps,
2201
2293
  ref
@@ -2217,19 +2309,19 @@ var init_Breadcrumbs2 = __esm({
2217
2309
  });
2218
2310
 
2219
2311
  // src/components/Button/Loading.tsx
2220
- var import_icons4, import_jsx_runtime16, Loading;
2312
+ var import_icons4, import_jsx_runtime18, Loading;
2221
2313
  var init_Loading = __esm({
2222
2314
  "src/components/Button/Loading.tsx"() {
2223
2315
  "use strict";
2224
2316
  import_icons4 = require("@simplybusiness/icons");
2225
2317
  init_Icon2();
2226
2318
  init_VisuallyHidden2();
2227
- import_jsx_runtime16 = require("react/jsx-runtime");
2319
+ import_jsx_runtime18 = require("react/jsx-runtime");
2228
2320
  Loading = (props) => {
2229
2321
  const { children } = props;
2230
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(import_jsx_runtime16.Fragment, { children: [
2231
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "mobius-button__icon-wrapper", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Icon, { icon: import_icons4.loading, spin: true, size: "md" }) }),
2232
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(VisuallyHidden, { className: "mobius-button__loading-text", children: "Loading" }),
2322
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_jsx_runtime18.Fragment, { children: [
2323
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "mobius-button__icon-wrapper", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Icon, { icon: import_icons4.loading, spin: true, size: "md" }) }),
2324
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(VisuallyHidden, { className: "mobius-button__loading-text", children: "Loading" }),
2233
2325
  children
2234
2326
  ] });
2235
2327
  };
@@ -2237,33 +2329,33 @@ var init_Loading = __esm({
2237
2329
  });
2238
2330
 
2239
2331
  // src/components/Button/Success.tsx
2240
- var import_icons5, import_jsx_runtime17, Success;
2332
+ var import_icons5, import_jsx_runtime19, Success;
2241
2333
  var init_Success = __esm({
2242
2334
  "src/components/Button/Success.tsx"() {
2243
2335
  "use strict";
2244
2336
  import_icons5 = require("@simplybusiness/icons");
2245
2337
  init_Icon2();
2246
2338
  init_VisuallyHidden2();
2247
- import_jsx_runtime17 = require("react/jsx-runtime");
2248
- Success = () => /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_jsx_runtime17.Fragment, { children: [
2249
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "mobius-button__icon-wrapper", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Icon, { icon: import_icons5.tick, size: "md" }) }),
2250
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(VisuallyHidden, { className: "mobius-button__success-text", children: "Success" })
2339
+ import_jsx_runtime19 = require("react/jsx-runtime");
2340
+ Success = () => /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_jsx_runtime19.Fragment, { children: [
2341
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "mobius-button__icon-wrapper", children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Icon, { icon: import_icons5.tick, size: "md" }) }),
2342
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(VisuallyHidden, { className: "mobius-button__success-text", children: "Success" })
2251
2343
  ] });
2252
2344
  }
2253
2345
  });
2254
2346
 
2255
2347
  // src/components/Button/Button.tsx
2256
- var import_dedupe14, import_Button, import_jsx_runtime18, Button;
2348
+ var import_dedupe15, import_Button, import_jsx_runtime20, Button;
2257
2349
  var init_Button = __esm({
2258
2350
  "src/components/Button/Button.tsx"() {
2259
2351
  "use strict";
2260
2352
  "use client";
2261
- import_dedupe14 = __toESM(require("classnames/dedupe"));
2353
+ import_dedupe15 = __toESM(require("classnames/dedupe"));
2262
2354
  init_Loading();
2263
2355
  init_useButton2();
2264
2356
  init_Success();
2265
2357
  import_Button = require("@simplybusiness/mobius/src/components/Button/Button.css");
2266
- import_jsx_runtime18 = require("react/jsx-runtime");
2358
+ import_jsx_runtime20 = require("react/jsx-runtime");
2267
2359
  Button = ({ ref, ...props }) => {
2268
2360
  const {
2269
2361
  children,
@@ -2278,7 +2370,7 @@ var init_Button = __esm({
2278
2370
  ...otherProps
2279
2371
  } = props;
2280
2372
  const { buttonProps } = useButton(props);
2281
- otherProps.className = (0, import_dedupe14.default)(
2373
+ otherProps.className = (0, import_dedupe15.default)(
2282
2374
  "mobius",
2283
2375
  "mobius-button",
2284
2376
  `--variant-${variant}`,
@@ -2290,9 +2382,9 @@ var init_Button = __esm({
2290
2382
  },
2291
2383
  otherProps.className
2292
2384
  );
2293
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(Component, { ref, ...buttonProps, ...otherProps, children: [
2294
- isLoading ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Loading, { children }) : children,
2295
- isSuccess && !isLoading && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Success, {})
2385
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(Component, { ref, ...buttonProps, ...otherProps, children: [
2386
+ isLoading ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Loading, { children }) : children,
2387
+ isSuccess && !isLoading && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Success, {})
2296
2388
  ] });
2297
2389
  };
2298
2390
  Button.displayName = "Button";
@@ -2308,16 +2400,16 @@ var init_Button2 = __esm({
2308
2400
  });
2309
2401
 
2310
2402
  // src/components/Stack/Stack.tsx
2311
- var import_dedupe15, import_Stack, import_jsx_runtime19, Stack;
2403
+ var import_dedupe16, import_Stack, import_jsx_runtime21, Stack;
2312
2404
  var init_Stack = __esm({
2313
2405
  "src/components/Stack/Stack.tsx"() {
2314
2406
  "use strict";
2315
- import_dedupe15 = __toESM(require("classnames/dedupe"));
2407
+ import_dedupe16 = __toESM(require("classnames/dedupe"));
2316
2408
  import_Stack = require("@simplybusiness/mobius/src/components/Stack/Stack.css");
2317
- import_jsx_runtime19 = require("react/jsx-runtime");
2409
+ import_jsx_runtime21 = require("react/jsx-runtime");
2318
2410
  Stack = ({ ref, ...props }) => {
2319
2411
  const { elementType: Element = "div", gap, ...otherProps } = props;
2320
- const classes = (0, import_dedupe15.default)(
2412
+ const classes = (0, import_dedupe16.default)(
2321
2413
  "mobius",
2322
2414
  "mobius-stack",
2323
2415
  {
@@ -2325,7 +2417,7 @@ var init_Stack = __esm({
2325
2417
  },
2326
2418
  otherProps.className
2327
2419
  );
2328
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Element, { ref, ...otherProps, className: classes });
2420
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Element, { ref, ...otherProps, className: classes });
2329
2421
  };
2330
2422
  Stack.displayName = "Stack";
2331
2423
  }
@@ -2340,13 +2432,13 @@ var init_Stack2 = __esm({
2340
2432
  });
2341
2433
 
2342
2434
  // src/components/Checkbox/Checkbox.tsx
2343
- var import_react16, import_dedupe16, import_icons6, import_Checkbox, import_jsx_runtime20, Checkbox;
2435
+ var import_react17, import_dedupe17, import_icons6, import_Checkbox, import_jsx_runtime22, Checkbox;
2344
2436
  var init_Checkbox = __esm({
2345
2437
  "src/components/Checkbox/Checkbox.tsx"() {
2346
2438
  "use strict";
2347
2439
  "use client";
2348
- import_react16 = require("react");
2349
- import_dedupe16 = __toESM(require("classnames/dedupe"));
2440
+ import_react17 = require("react");
2441
+ import_dedupe17 = __toESM(require("classnames/dedupe"));
2350
2442
  import_icons6 = require("@simplybusiness/icons");
2351
2443
  init_ErrorMessage2();
2352
2444
  init_spaceDelimitedList();
@@ -2354,7 +2446,7 @@ var init_Checkbox = __esm({
2354
2446
  init_Icon2();
2355
2447
  init_Stack2();
2356
2448
  import_Checkbox = require("@simplybusiness/mobius/src/components/Checkbox/Checkbox.css");
2357
- import_jsx_runtime20 = require("react/jsx-runtime");
2449
+ import_jsx_runtime22 = require("react/jsx-runtime");
2358
2450
  Checkbox = ({ ref, ...props }) => {
2359
2451
  const {
2360
2452
  id,
@@ -2374,18 +2466,18 @@ var init_Checkbox = __esm({
2374
2466
  ["aria-describedby"]: ariaDescribedBy,
2375
2467
  ...rest
2376
2468
  } = props;
2377
- const [checked, setChecked] = (0, import_react16.useState)(defaultSelected);
2378
- const fallbackRef = (0, import_react16.useRef)(null);
2469
+ const [checked, setChecked] = (0, import_react17.useState)(defaultSelected);
2470
+ const fallbackRef = (0, import_react17.useRef)(null);
2379
2471
  const refObj = ref || fallbackRef;
2380
- const inputId = (0, import_react16.useId)();
2472
+ const inputId = (0, import_react17.useId)();
2381
2473
  const isControlled = typeof selected === "boolean";
2382
- (0, import_react16.useEffect)(() => {
2474
+ (0, import_react17.useEffect)(() => {
2383
2475
  if (isControlled) {
2384
2476
  setChecked(selected);
2385
2477
  }
2386
2478
  }, [selected, isControlled]);
2387
2479
  const validationClasses = useValidationClasses({ isInvalid });
2388
- const sharedClasses = (0, import_dedupe16.default)(
2480
+ const sharedClasses = (0, import_dedupe17.default)(
2389
2481
  {
2390
2482
  "--is-disabled": isDisabled,
2391
2483
  "--is-selected": checked,
@@ -2394,31 +2486,31 @@ var init_Checkbox = __esm({
2394
2486
  },
2395
2487
  validationClasses
2396
2488
  );
2397
- const wrapperClasses = (0, import_dedupe16.default)(
2489
+ const wrapperClasses = (0, import_dedupe17.default)(
2398
2490
  "mobius",
2399
2491
  "mobius-checkbox",
2400
2492
  sharedClasses,
2401
2493
  className
2402
2494
  );
2403
- const labelClasses = (0, import_dedupe16.default)("mobius-checkbox__label", sharedClasses);
2404
- const inputClasses = (0, import_dedupe16.default)("mobius-checkbox__input", sharedClasses);
2405
- const iconClasses = (0, import_dedupe16.default)("mobius-checkbox__icon", sharedClasses);
2406
- const errorMessageId = (0, import_react16.useId)();
2495
+ const labelClasses = (0, import_dedupe17.default)("mobius-checkbox__label", sharedClasses);
2496
+ const inputClasses = (0, import_dedupe17.default)("mobius-checkbox__input", sharedClasses);
2497
+ const iconClasses = (0, import_dedupe17.default)("mobius-checkbox__icon", sharedClasses);
2498
+ const errorMessageId = (0, import_react17.useId)();
2407
2499
  const shouldErrorMessageShow = errorMessage ? errorMessageId : void 0;
2408
2500
  const describedBy = spaceDelimitedList([
2409
2501
  shouldErrorMessageShow,
2410
2502
  ariaDescribedBy
2411
2503
  ]);
2412
- const labelId = (0, import_react16.useId)();
2504
+ const labelId = (0, import_react17.useId)();
2413
2505
  const handleChange = (event) => {
2414
2506
  setChecked(!checked);
2415
2507
  if (onChange) {
2416
2508
  onChange(event, isLastItem);
2417
2509
  }
2418
2510
  };
2419
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(Stack, { gap: "xs", className: wrapperClasses, children: [
2420
- /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("label", { className: labelClasses, children: [
2421
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
2511
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(Stack, { gap: "xs", className: wrapperClasses, children: [
2512
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("label", { className: labelClasses, children: [
2513
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
2422
2514
  "input",
2423
2515
  {
2424
2516
  "aria-describedby": describedBy,
@@ -2439,7 +2531,7 @@ var init_Checkbox = __esm({
2439
2531
  ...rest
2440
2532
  }
2441
2533
  ),
2442
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
2534
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
2443
2535
  Icon,
2444
2536
  {
2445
2537
  icon: checked ? import_icons6.squareTick : import_icons6.square,
@@ -2447,9 +2539,9 @@ var init_Checkbox = __esm({
2447
2539
  className: iconClasses
2448
2540
  }
2449
2541
  ),
2450
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { id: labelId, className: "mobius-checkbox__visible-label", children: label })
2542
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("span", { id: labelId, className: "mobius-checkbox__visible-label", children: label })
2451
2543
  ] }),
2452
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(ErrorMessage, { id: errorMessageId, errorMessage })
2544
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(ErrorMessage, { id: errorMessageId, errorMessage })
2453
2545
  ] });
2454
2546
  };
2455
2547
  Checkbox.displayName = "Checkbox";
@@ -2457,18 +2549,18 @@ var init_Checkbox = __esm({
2457
2549
  });
2458
2550
 
2459
2551
  // src/components/Label/Label.tsx
2460
- var import_dedupe17, import_Label, import_jsx_runtime21, Label;
2552
+ var import_dedupe18, import_Label, import_jsx_runtime23, Label;
2461
2553
  var init_Label = __esm({
2462
2554
  "src/components/Label/Label.tsx"() {
2463
2555
  "use strict";
2464
- import_dedupe17 = __toESM(require("classnames/dedupe"));
2556
+ import_dedupe18 = __toESM(require("classnames/dedupe"));
2465
2557
  import_Label = require("@simplybusiness/mobius/src/components/Label/Label.css");
2466
- import_jsx_runtime21 = require("react/jsx-runtime");
2558
+ import_jsx_runtime23 = require("react/jsx-runtime");
2467
2559
  Label = ({ ref, ...props }) => {
2468
2560
  const { elementType: Element = "label", children, ...otherProps } = props;
2469
- const classes = (0, import_dedupe17.default)("mobius", "mobius-label", props.className);
2561
+ const classes = (0, import_dedupe18.default)("mobius", "mobius-label", props.className);
2470
2562
  otherProps.className = classes;
2471
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Element, { ref, ...otherProps, className: classes, children });
2563
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Element, { ref, ...otherProps, className: classes, children });
2472
2564
  };
2473
2565
  Label.displayName = "Label";
2474
2566
  }
@@ -2483,20 +2575,20 @@ var init_Label2 = __esm({
2483
2575
  });
2484
2576
 
2485
2577
  // src/components/Checkbox/CheckboxGroup.tsx
2486
- var import_dedupe18, import_react17, import_CheckboxGroup, import_jsx_runtime22, CheckboxGroup;
2578
+ var import_dedupe19, import_react18, import_CheckboxGroup, import_jsx_runtime24, CheckboxGroup;
2487
2579
  var init_CheckboxGroup = __esm({
2488
2580
  "src/components/Checkbox/CheckboxGroup.tsx"() {
2489
2581
  "use strict";
2490
2582
  "use client";
2491
- import_dedupe18 = __toESM(require("classnames/dedupe"));
2492
- import_react17 = require("react");
2583
+ import_dedupe19 = __toESM(require("classnames/dedupe"));
2584
+ import_react18 = require("react");
2493
2585
  init_hooks();
2494
2586
  init_spaceDelimitedList();
2495
2587
  init_ErrorMessage2();
2496
2588
  init_Label2();
2497
2589
  init_Checkbox();
2498
2590
  import_CheckboxGroup = require("@simplybusiness/mobius/src/components/Checkbox/CheckboxGroup.css");
2499
- import_jsx_runtime22 = require("react/jsx-runtime");
2591
+ import_jsx_runtime24 = require("react/jsx-runtime");
2500
2592
  CheckboxGroup = ({ ref, ...props }) => {
2501
2593
  const {
2502
2594
  label,
@@ -2514,10 +2606,10 @@ var init_CheckboxGroup = __esm({
2514
2606
  lastItemDisables = false,
2515
2607
  ...rest
2516
2608
  } = props;
2517
- const [selected, setSelected] = (0, import_react17.useState)(defaultValue);
2518
- const isInitializedRef = (0, import_react17.useRef)(false);
2519
- const prevDefaultValueRef = (0, import_react17.useRef)(defaultValue);
2520
- (0, import_react17.useEffect)(() => {
2609
+ const [selected, setSelected] = (0, import_react18.useState)(defaultValue);
2610
+ const isInitializedRef = (0, import_react18.useRef)(false);
2611
+ const prevDefaultValueRef = (0, import_react18.useRef)(defaultValue);
2612
+ (0, import_react18.useEffect)(() => {
2521
2613
  const hasChanged = defaultValue.length !== prevDefaultValueRef.current.length || defaultValue.some(
2522
2614
  (val, index) => val !== prevDefaultValueRef.current[index]
2523
2615
  );
@@ -2527,7 +2619,7 @@ var init_CheckboxGroup = __esm({
2527
2619
  isInitializedRef.current = true;
2528
2620
  }
2529
2621
  }, [defaultValue]);
2530
- const checkboxGroupClasses = (0, import_dedupe18.default)(
2622
+ const checkboxGroupClasses = (0, import_dedupe19.default)(
2531
2623
  "mobius",
2532
2624
  "mobius-checkbox-group",
2533
2625
  className,
@@ -2539,19 +2631,19 @@ var init_CheckboxGroup = __esm({
2539
2631
  }
2540
2632
  );
2541
2633
  const validationClasses = useValidationClasses({ isInvalid });
2542
- const labelClasses = (0, import_dedupe18.default)(
2634
+ const labelClasses = (0, import_dedupe19.default)(
2543
2635
  {
2544
2636
  "--is-disabled": isDisabled
2545
2637
  },
2546
2638
  validationClasses
2547
2639
  );
2548
- const errorMessageId = (0, import_react17.useId)();
2640
+ const errorMessageId = (0, import_react18.useId)();
2549
2641
  const shouldErrorMessageShow = errorMessage ? errorMessageId : void 0;
2550
2642
  const describedBy = spaceDelimitedList([
2551
2643
  shouldErrorMessageShow,
2552
2644
  props["aria-describedby"]
2553
2645
  ]);
2554
- const labelId = (0, import_react17.useId)();
2646
+ const labelId = (0, import_react18.useId)();
2555
2647
  const handleChange = (event, isLastItem = false) => {
2556
2648
  const {
2557
2649
  target: { value, checked }
@@ -2569,12 +2661,12 @@ var init_CheckboxGroup = __esm({
2569
2661
  setSelected(newValue);
2570
2662
  onChange?.(newValue);
2571
2663
  };
2572
- const childrenArray = import_react17.Children.toArray(children);
2664
+ const childrenArray = import_react18.Children.toArray(children);
2573
2665
  const lastCheckbox = childrenArray.filter(
2574
- (child) => (0, import_react17.isValidElement)(child) && child.type === Checkbox
2666
+ (child) => (0, import_react18.isValidElement)(child) && child.type === Checkbox
2575
2667
  ).pop();
2576
2668
  const lastCheckboxIsChecked = lastCheckbox && selected.includes(lastCheckbox.props.value);
2577
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
2669
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
2578
2670
  "div",
2579
2671
  {
2580
2672
  ...rest,
@@ -2583,16 +2675,16 @@ var init_CheckboxGroup = __esm({
2583
2675
  className: checkboxGroupClasses,
2584
2676
  role: "group",
2585
2677
  style: {
2586
- "--checkbox-items-per-row": itemsPerRow || import_react17.Children.count(children)
2678
+ "--checkbox-items-per-row": itemsPerRow || import_react18.Children.count(children)
2587
2679
  },
2588
2680
  children: [
2589
- label && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Label, { elementType: "span", id: labelId, className: labelClasses, children: label }),
2590
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { className: "mobius-checkbox-group__wrapper", children: childrenArray.map((child) => {
2591
- if ((0, import_react17.isValidElement)(child)) {
2681
+ label && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Label, { elementType: "span", id: labelId, className: labelClasses, children: label }),
2682
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: "mobius-checkbox-group__wrapper", children: childrenArray.map((child) => {
2683
+ if ((0, import_react18.isValidElement)(child)) {
2592
2684
  const isLastItem = child === lastCheckbox;
2593
2685
  const isChildDisabled = isDisabled || lastItemDisables && lastCheckboxIsChecked && !isLastItem;
2594
2686
  const childProps = child.props;
2595
- return (0, import_react17.cloneElement)(
2687
+ return (0, import_react18.cloneElement)(
2596
2688
  child,
2597
2689
  {
2598
2690
  isDisabled: isChildDisabled,
@@ -2608,7 +2700,7 @@ var init_CheckboxGroup = __esm({
2608
2700
  }
2609
2701
  return child;
2610
2702
  }) }),
2611
- errorMessage && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(ErrorMessage, { id: errorMessageId, errorMessage })
2703
+ errorMessage && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(ErrorMessage, { id: errorMessageId, errorMessage })
2612
2704
  ]
2613
2705
  }
2614
2706
  );
@@ -2635,23 +2727,23 @@ var init_Checkbox2 = __esm({
2635
2727
  });
2636
2728
 
2637
2729
  // src/components/Container/Container.tsx
2638
- var import_dedupe19, import_Container, import_jsx_runtime23, Container;
2730
+ var import_dedupe20, import_Container, import_jsx_runtime25, Container;
2639
2731
  var init_Container = __esm({
2640
2732
  "src/components/Container/Container.tsx"() {
2641
2733
  "use strict";
2642
- import_dedupe19 = __toESM(require("classnames/dedupe"));
2734
+ import_dedupe20 = __toESM(require("classnames/dedupe"));
2643
2735
  init_utils();
2644
2736
  import_Container = require("@simplybusiness/mobius/src/components/Container/Container.css");
2645
- import_jsx_runtime23 = require("react/jsx-runtime");
2737
+ import_jsx_runtime25 = require("react/jsx-runtime");
2646
2738
  Container = ({ ref, ...props }) => {
2647
2739
  const { elementType: Element = "div", size = "md", ...otherProps } = props;
2648
- const classes = (0, import_dedupe19.default)(
2740
+ const classes = (0, import_dedupe20.default)(
2649
2741
  "mobius",
2650
2742
  "mobius-container",
2651
2743
  sizeClasses(size),
2652
2744
  otherProps.className
2653
2745
  );
2654
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Element, { ref, ...otherProps, className: classes });
2746
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Element, { ref, ...otherProps, className: classes });
2655
2747
  };
2656
2748
  Container.displayName = "Container";
2657
2749
  }
@@ -2704,17 +2796,17 @@ var init_validation = __esm({
2704
2796
  });
2705
2797
 
2706
2798
  // src/components/DateField/DateField.tsx
2707
- var import_dedupe20, import_react18, import_jsx_runtime24, MIN_MAX_ERROR, DateField;
2799
+ var import_dedupe21, import_react19, import_jsx_runtime26, MIN_MAX_ERROR, DateField;
2708
2800
  var init_DateField = __esm({
2709
2801
  "src/components/DateField/DateField.tsx"() {
2710
2802
  "use strict";
2711
2803
  "use client";
2712
- import_dedupe20 = __toESM(require("classnames/dedupe"));
2713
- import_react18 = require("react");
2804
+ import_dedupe21 = __toESM(require("classnames/dedupe"));
2805
+ import_react19 = require("react");
2714
2806
  init_mergeRefs();
2715
2807
  init_TextField2();
2716
2808
  init_validation();
2717
- import_jsx_runtime24 = require("react/jsx-runtime");
2809
+ import_jsx_runtime26 = require("react/jsx-runtime");
2718
2810
  MIN_MAX_ERROR = '"min" value should not be greater than "max" value.';
2719
2811
  DateField = ({ ref, ...props }) => {
2720
2812
  const {
@@ -2727,10 +2819,10 @@ var init_DateField = __esm({
2727
2819
  value,
2728
2820
  ...otherProps
2729
2821
  } = props;
2730
- const [error3, setError] = (0, import_react18.useState)(errorMessage);
2731
- const [isInvalid, setIsInvalid] = (0, import_react18.useState)(void 0);
2732
- const localRef = (0, import_react18.useRef)(null);
2733
- const classes = (0, import_dedupe20.default)("mobius-date-field", className);
2822
+ const [error3, setError] = (0, import_react19.useState)(errorMessage);
2823
+ const [isInvalid, setIsInvalid] = (0, import_react19.useState)(void 0);
2824
+ const localRef = (0, import_react19.useRef)(null);
2825
+ const classes = (0, import_dedupe21.default)("mobius-date-field", className);
2734
2826
  const formattedMin = min ? convertToDateFormat(min, format) : void 0;
2735
2827
  const formattedMax = max ? convertToDateFormat(max, format) : void 0;
2736
2828
  const formattedDefaultValue = defaultValue ? convertToDateFormat(defaultValue, format) : void 0;
@@ -2743,7 +2835,7 @@ var init_DateField = __esm({
2743
2835
  setError(props.errorMessage);
2744
2836
  setIsInvalid(false);
2745
2837
  };
2746
- (0, import_react18.useEffect)(() => {
2838
+ (0, import_react19.useEffect)(() => {
2747
2839
  if (!isValidDate(min, format)) {
2748
2840
  setInvalidState(`Invalid min date: ${min}`);
2749
2841
  return;
@@ -2776,7 +2868,7 @@ var init_DateField = __esm({
2776
2868
  validate();
2777
2869
  otherProps.onBlur?.(event);
2778
2870
  };
2779
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2871
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2780
2872
  TextField,
2781
2873
  {
2782
2874
  ref: mergeRefs([localRef, ref]),
@@ -2807,23 +2899,23 @@ var init_DateField2 = __esm({
2807
2899
  });
2808
2900
 
2809
2901
  // src/components/Drawer/Content.tsx
2810
- var import_jsx_runtime25, Content;
2902
+ var import_jsx_runtime27, Content;
2811
2903
  var init_Content = __esm({
2812
2904
  "src/components/Drawer/Content.tsx"() {
2813
2905
  "use strict";
2814
- import_jsx_runtime25 = require("react/jsx-runtime");
2815
- Content = ({ ref, children, ...otherProps }) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { ref, ...otherProps, className: "mobius-drawer__content", children });
2906
+ import_jsx_runtime27 = require("react/jsx-runtime");
2907
+ Content = ({ ref, children, ...otherProps }) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { ref, ...otherProps, className: "mobius-drawer__content", children });
2816
2908
  Content.displayName = "Content";
2817
2909
  }
2818
2910
  });
2819
2911
 
2820
2912
  // src/components/Drawer/DrawerContext.tsx
2821
- var import_react19, DrawerContext;
2913
+ var import_react20, DrawerContext;
2822
2914
  var init_DrawerContext = __esm({
2823
2915
  "src/components/Drawer/DrawerContext.tsx"() {
2824
2916
  "use strict";
2825
- import_react19 = require("react");
2826
- DrawerContext = (0, import_react19.createContext)({
2917
+ import_react20 = require("react");
2918
+ DrawerContext = (0, import_react20.createContext)({
2827
2919
  onClose: () => {
2828
2920
  },
2829
2921
  closeLabel: void 0,
@@ -2833,19 +2925,19 @@ var init_DrawerContext = __esm({
2833
2925
  });
2834
2926
 
2835
2927
  // src/components/Drawer/Drawer.tsx
2836
- var import_dedupe21, import_react20, import_Drawer, import_jsx_runtime26, TRANSITION_CSS_VARIABLE, Drawer;
2928
+ var import_dedupe22, import_react21, import_Drawer, import_jsx_runtime28, TRANSITION_CSS_VARIABLE, Drawer;
2837
2929
  var init_Drawer = __esm({
2838
2930
  "src/components/Drawer/Drawer.tsx"() {
2839
2931
  "use strict";
2840
2932
  "use client";
2841
- import_dedupe21 = __toESM(require("classnames/dedupe"));
2842
- import_react20 = require("react");
2933
+ import_dedupe22 = __toESM(require("classnames/dedupe"));
2934
+ import_react21 = require("react");
2843
2935
  init_hooks();
2844
2936
  init_utils();
2845
2937
  init_VisuallyHidden2();
2846
2938
  init_DrawerContext();
2847
2939
  import_Drawer = require("@simplybusiness/mobius/src/components/Drawer/Drawer.css");
2848
- import_jsx_runtime26 = require("react/jsx-runtime");
2940
+ import_jsx_runtime28 = require("react/jsx-runtime");
2849
2941
  TRANSITION_CSS_VARIABLE = "--drawer-transition-duration";
2850
2942
  Drawer = ({ ref, ...props }) => {
2851
2943
  const {
@@ -2858,8 +2950,8 @@ var init_Drawer = __esm({
2858
2950
  onClose,
2859
2951
  children
2860
2952
  } = props;
2861
- const dialogRef = (0, import_react20.useRef)(null);
2862
- const [shouldTransition, setShouldTransition] = (0, import_react20.useState)(false);
2953
+ const dialogRef = (0, import_react21.useRef)(null);
2954
+ const [shouldTransition, setShouldTransition] = (0, import_react21.useState)(false);
2863
2955
  const { close } = useDialog({
2864
2956
  ref: dialogRef,
2865
2957
  isOpen,
@@ -2870,9 +2962,9 @@ var init_Drawer = __esm({
2870
2962
  CSSVariable: TRANSITION_CSS_VARIABLE
2871
2963
  }
2872
2964
  });
2873
- const hiddenId = `dialog-screen-reader-announce-${(0, import_react20.useId)()}`;
2874
- const headerId = `dialog-header-${(0, import_react20.useId)()}`;
2875
- const dialogClasses = (0, import_dedupe21.default)(
2965
+ const hiddenId = `dialog-screen-reader-announce-${(0, import_react21.useId)()}`;
2966
+ const headerId = `dialog-header-${(0, import_react21.useId)()}`;
2967
+ const dialogClasses = (0, import_dedupe22.default)(
2876
2968
  "mobius",
2877
2969
  "mobius-drawer",
2878
2970
  `--${direction}`,
@@ -2881,10 +2973,10 @@ var init_Drawer = __esm({
2881
2973
  "--should-transition": shouldTransition
2882
2974
  }
2883
2975
  );
2884
- (0, import_react20.useEffect)(() => {
2976
+ (0, import_react21.useEffect)(() => {
2885
2977
  setShouldTransition(supportsDialog());
2886
2978
  }, []);
2887
- const contextValue = (0, import_react20.useMemo)(
2979
+ const contextValue = (0, import_react21.useMemo)(
2888
2980
  () => ({
2889
2981
  onClose: close,
2890
2982
  closeLabel,
@@ -2892,18 +2984,18 @@ var init_Drawer = __esm({
2892
2984
  }),
2893
2985
  [close, closeLabel, headerId]
2894
2986
  );
2895
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
2987
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
2896
2988
  "dialog",
2897
2989
  {
2898
- id: (0, import_react20.useId)(),
2990
+ id: (0, import_react21.useId)(),
2899
2991
  ref: mergeRefs([dialogRef, ref]),
2900
2992
  onCancel: close,
2901
2993
  className: dialogClasses,
2902
2994
  "aria-describedby": hiddenId,
2903
2995
  "aria-labelledby": headerId,
2904
2996
  children: [
2905
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(VisuallyHidden, { children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { id: hiddenId, children: announce }) }),
2906
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(DrawerContext.Provider, { value: contextValue, children })
2997
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(VisuallyHidden, { children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { id: hiddenId, children: announce }) }),
2998
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(DrawerContext.Provider, { value: contextValue, children })
2907
2999
  ]
2908
3000
  }
2909
3001
  );
@@ -2913,21 +3005,21 @@ var init_Drawer = __esm({
2913
3005
  });
2914
3006
 
2915
3007
  // src/components/Drawer/useDrawer.ts
2916
- var import_react21, useDrawer;
3008
+ var import_react22, useDrawer;
2917
3009
  var init_useDrawer = __esm({
2918
3010
  "src/components/Drawer/useDrawer.ts"() {
2919
3011
  "use strict";
2920
- import_react21 = require("react");
3012
+ import_react22 = require("react");
2921
3013
  init_DrawerContext();
2922
3014
  useDrawer = () => {
2923
- const { onClose, closeLabel, headerId } = (0, import_react21.useContext)(DrawerContext);
3015
+ const { onClose, closeLabel, headerId } = (0, import_react22.useContext)(DrawerContext);
2924
3016
  return { onClose, closeLabel, headerId };
2925
3017
  };
2926
3018
  }
2927
3019
  });
2928
3020
 
2929
3021
  // src/components/Drawer/Header.tsx
2930
- var import_icons7, import_jsx_runtime27, Header;
3022
+ var import_icons7, import_jsx_runtime29, Header;
2931
3023
  var init_Header = __esm({
2932
3024
  "src/components/Drawer/Header.tsx"() {
2933
3025
  "use strict";
@@ -2935,12 +3027,12 @@ var init_Header = __esm({
2935
3027
  init_Button2();
2936
3028
  init_Icon2();
2937
3029
  init_useDrawer();
2938
- import_jsx_runtime27 = require("react/jsx-runtime");
3030
+ import_jsx_runtime29 = require("react/jsx-runtime");
2939
3031
  Header = ({ ref, children, ...otherProps }) => {
2940
3032
  const { onClose, closeLabel, headerId } = useDrawer();
2941
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("header", { ref, ...otherProps, className: "mobius-drawer__header", children: [
2942
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("h2", { id: headerId, children }),
2943
- /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
3033
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("header", { ref, ...otherProps, className: "mobius-drawer__header", children: [
3034
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("h2", { id: headerId, children }),
3035
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
2944
3036
  Button,
2945
3037
  {
2946
3038
  "aria-label": "Close",
@@ -2949,7 +3041,7 @@ var init_Header = __esm({
2949
3041
  className: "mobius-drawer__close",
2950
3042
  size: "sm",
2951
3043
  children: [
2952
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Icon, { icon: import_icons7.cross }),
3044
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Icon, { icon: import_icons7.cross }),
2953
3045
  " ",
2954
3046
  closeLabel
2955
3047
  ]
@@ -2978,17 +3070,17 @@ var init_Drawer2 = __esm({
2978
3070
  });
2979
3071
 
2980
3072
  // src/components/DropdownMenu/DropdownMenu.tsx
2981
- var import_react22, import_react_accessible_dropdown_menu_hook, import_dedupe22, import_DropdownMenu, import_jsx_runtime28, DropdownMenu;
3073
+ var import_react23, import_react_accessible_dropdown_menu_hook, import_dedupe23, import_DropdownMenu, import_jsx_runtime30, DropdownMenu;
2982
3074
  var init_DropdownMenu = __esm({
2983
3075
  "src/components/DropdownMenu/DropdownMenu.tsx"() {
2984
3076
  "use strict";
2985
3077
  "use client";
2986
- import_react22 = require("react");
3078
+ import_react23 = require("react");
2987
3079
  import_react_accessible_dropdown_menu_hook = __toESM(require("react-accessible-dropdown-menu-hook"));
2988
- import_dedupe22 = __toESM(require("classnames/dedupe"));
3080
+ import_dedupe23 = __toESM(require("classnames/dedupe"));
2989
3081
  init_Button2();
2990
3082
  import_DropdownMenu = require("@simplybusiness/mobius/src/components/DropdownMenu/DropdownMenu.css");
2991
- import_jsx_runtime28 = require("react/jsx-runtime");
3083
+ import_jsx_runtime30 = require("react/jsx-runtime");
2992
3084
  DropdownMenu = ({ ref, ...props }) => {
2993
3085
  const {
2994
3086
  elementType: Element = "nav",
@@ -2997,21 +3089,21 @@ var init_DropdownMenu = __esm({
2997
3089
  children,
2998
3090
  ...otherProps
2999
3091
  } = props;
3000
- const [activeId, setActiveId] = (0, import_react22.useState)(null);
3001
- const numberOfItems = import_react22.Children.count(children);
3092
+ const [activeId, setActiveId] = (0, import_react23.useState)(null);
3093
+ const numberOfItems = import_react23.Children.count(children);
3002
3094
  const {
3003
3095
  buttonProps,
3004
3096
  itemProps,
3005
3097
  isOpen: open,
3006
3098
  setIsOpen
3007
3099
  } = (0, import_react_accessible_dropdown_menu_hook.default)(numberOfItems);
3008
- const classes = (0, import_dedupe22.default)(
3100
+ const classes = (0, import_dedupe23.default)(
3009
3101
  "mobius",
3010
3102
  "mobius-dropdown-menu",
3011
3103
  otherProps.className
3012
3104
  );
3013
- const triggerClasses = (0, import_dedupe22.default)("mobius", "mobius-dropdown-menu__trigger");
3014
- const listClasses = (0, import_dedupe22.default)("mobius", "mobius-dropdown-menu__list", {
3105
+ const triggerClasses = (0, import_dedupe23.default)("mobius", "mobius-dropdown-menu__trigger");
3106
+ const listClasses = (0, import_dedupe23.default)("mobius", "mobius-dropdown-menu__list", {
3015
3107
  "--is-open": open
3016
3108
  });
3017
3109
  const handleChildClick = ({ onClick }, index) => {
@@ -3021,16 +3113,16 @@ var init_DropdownMenu = __esm({
3021
3113
  onClick();
3022
3114
  }
3023
3115
  };
3024
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(Element, { ref, ...otherProps, className: classes, children: [
3025
- trigger ? (0, import_react22.cloneElement)(trigger, {
3116
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(Element, { ref, ...otherProps, className: classes, children: [
3117
+ trigger ? (0, import_react23.cloneElement)(trigger, {
3026
3118
  className: triggerClasses,
3027
3119
  open,
3028
3120
  label,
3029
3121
  ...buttonProps
3030
- }) : /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Button, { className: triggerClasses, ...buttonProps, children: label }),
3031
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("ul", { className: listClasses, role: "menu", children: import_react22.Children.map(children, (child, index) => {
3032
- if ((0, import_react22.isValidElement)(child)) {
3033
- return (0, import_react22.cloneElement)(child, {
3122
+ }) : /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Button, { className: triggerClasses, ...buttonProps, children: label }),
3123
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("ul", { className: listClasses, role: "menu", children: import_react23.Children.map(children, (child, index) => {
3124
+ if ((0, import_react23.isValidElement)(child)) {
3125
+ return (0, import_react23.cloneElement)(child, {
3034
3126
  onClick: () => handleChildClick(child.props, index),
3035
3127
  active: index === activeId,
3036
3128
  ...itemProps[index]
@@ -3045,13 +3137,13 @@ var init_DropdownMenu = __esm({
3045
3137
  });
3046
3138
 
3047
3139
  // src/components/DropdownMenu/Item.tsx
3048
- var import_react23, import_dedupe23, import_jsx_runtime29, Item;
3140
+ var import_react24, import_dedupe24, import_jsx_runtime31, Item;
3049
3141
  var init_Item = __esm({
3050
3142
  "src/components/DropdownMenu/Item.tsx"() {
3051
3143
  "use strict";
3052
- import_react23 = require("react");
3053
- import_dedupe23 = __toESM(require("classnames/dedupe"));
3054
- import_jsx_runtime29 = require("react/jsx-runtime");
3144
+ import_react24 = require("react");
3145
+ import_dedupe24 = __toESM(require("classnames/dedupe"));
3146
+ import_jsx_runtime31 = require("react/jsx-runtime");
3055
3147
  Item = ({ ref, ...props }) => {
3056
3148
  const {
3057
3149
  elementType: Element = "li",
@@ -3060,26 +3152,26 @@ var init_Item = __esm({
3060
3152
  children,
3061
3153
  ...otherProps
3062
3154
  } = props;
3063
- const classes = (0, import_dedupe23.default)(
3155
+ const classes = (0, import_dedupe24.default)(
3064
3156
  "mobius",
3065
3157
  "mobius-dropdown-menu__item",
3066
3158
  { "--is-active": active },
3067
3159
  otherProps.className
3068
3160
  );
3069
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Element, { ref, onClick, ...otherProps, children: import_react23.Children.map(children, (child) => {
3070
- if ((0, import_react23.isValidElement)(child)) {
3071
- const childClasses = (0, import_dedupe23.default)(
3161
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Element, { ref, onClick, ...otherProps, children: import_react24.Children.map(children, (child) => {
3162
+ if ((0, import_react24.isValidElement)(child)) {
3163
+ const childClasses = (0, import_dedupe24.default)(
3072
3164
  child.props.className,
3073
3165
  classes
3074
3166
  );
3075
- return (0, import_react23.cloneElement)(
3167
+ return (0, import_react24.cloneElement)(
3076
3168
  child,
3077
3169
  {
3078
3170
  className: childClasses
3079
3171
  }
3080
3172
  );
3081
3173
  }
3082
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("span", { className: classes, children: child });
3174
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("span", { className: classes, children: child });
3083
3175
  }) });
3084
3176
  };
3085
3177
  Item.displayName = "DropdownMenu.Item";
@@ -3104,23 +3196,23 @@ var init_DropdownMenu2 = __esm({
3104
3196
  });
3105
3197
 
3106
3198
  // src/components/Fieldset/Fieldset.tsx
3107
- var import_dedupe24, import_react24, import_Fieldset, import_jsx_runtime30, useFieldset, Fieldset;
3199
+ var import_dedupe25, import_react25, import_Fieldset, import_jsx_runtime32, useFieldset, Fieldset;
3108
3200
  var init_Fieldset = __esm({
3109
3201
  "src/components/Fieldset/Fieldset.tsx"() {
3110
3202
  "use strict";
3111
3203
  "use client";
3112
- import_dedupe24 = __toESM(require("classnames/dedupe"));
3113
- import_react24 = require("react");
3204
+ import_dedupe25 = __toESM(require("classnames/dedupe"));
3205
+ import_react25 = require("react");
3114
3206
  init_Flex2();
3115
3207
  import_Fieldset = require("@simplybusiness/mobius/src/components/Fieldset/Fieldset.css");
3116
- import_jsx_runtime30 = require("react/jsx-runtime");
3208
+ import_jsx_runtime32 = require("react/jsx-runtime");
3117
3209
  useFieldset = (props) => {
3118
3210
  const { legend } = props;
3119
3211
  let legendProps = {};
3120
3212
  let containerProps = {
3121
3213
  role: "group"
3122
3214
  };
3123
- const legendId = (0, import_react24.useId)();
3215
+ const legendId = (0, import_react25.useId)();
3124
3216
  if (legend) {
3125
3217
  legendProps = {
3126
3218
  ...legendProps,
@@ -3140,14 +3232,14 @@ var init_Fieldset = __esm({
3140
3232
  const {
3141
3233
  children,
3142
3234
  legend,
3143
- legendComponent = /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("legend", {}),
3235
+ legendComponent = /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("legend", {}),
3144
3236
  ...otherProps
3145
3237
  } = props;
3146
3238
  const { legendProps, containerProps } = useFieldset(props);
3147
- const classes = (0, import_dedupe24.default)("mobius", "mobius-fieldset", props.className);
3239
+ const classes = (0, import_dedupe25.default)("mobius", "mobius-fieldset", props.className);
3148
3240
  legendProps.className = "mobius-fieldset__legend";
3149
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(Flex, { ...containerProps, ...otherProps, className: classes, children: [
3150
- legend && (0, import_react24.cloneElement)(legendComponent, { ...legendProps }, [legend]),
3241
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(Flex, { ...containerProps, ...otherProps, className: classes, children: [
3242
+ legend && (0, import_react25.cloneElement)(legendComponent, { ...legendProps }, [legend]),
3151
3243
  children
3152
3244
  ] });
3153
3245
  };
@@ -3164,13 +3256,13 @@ var init_Fieldset2 = __esm({
3164
3256
  });
3165
3257
 
3166
3258
  // src/components/Grid/Grid.tsx
3167
- var import_dedupe25, import_jsx_runtime31, Grid;
3259
+ var import_dedupe26, import_jsx_runtime33, Grid;
3168
3260
  var init_Grid = __esm({
3169
3261
  "src/components/Grid/Grid.tsx"() {
3170
3262
  "use strict";
3171
- import_dedupe25 = __toESM(require("classnames/dedupe"));
3263
+ import_dedupe26 = __toESM(require("classnames/dedupe"));
3172
3264
  init_utils();
3173
- import_jsx_runtime31 = require("react/jsx-runtime");
3265
+ import_jsx_runtime33 = require("react/jsx-runtime");
3174
3266
  Grid = ({ ref: _ref, ...props }) => {
3175
3267
  const {
3176
3268
  columns = 12,
@@ -3185,7 +3277,7 @@ var init_Grid = __esm({
3185
3277
  style,
3186
3278
  ...rest
3187
3279
  } = props;
3188
- const classes = (0, import_dedupe25.default)("mobius", "mobius-grid", className);
3280
+ const classes = (0, import_dedupe26.default)("mobius", "mobius-grid", className);
3189
3281
  const styles = filterUndefinedProps({
3190
3282
  boxSizing: "border-box",
3191
3283
  display: "grid",
@@ -3199,22 +3291,22 @@ var init_Grid = __esm({
3199
3291
  justifyItems,
3200
3292
  ...style
3201
3293
  });
3202
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { style: styles, className: classes, ...rest });
3294
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { style: styles, className: classes, ...rest });
3203
3295
  };
3204
3296
  Grid.displayName = "Grid";
3205
3297
  }
3206
3298
  });
3207
3299
 
3208
3300
  // src/components/Grid/Item.tsx
3209
- var import_react25, import_dedupe26, import_jsx_runtime32, getBreakpointMap, DEFAULT_SPAN, GridItem;
3301
+ var import_react26, import_dedupe27, import_jsx_runtime34, getBreakpointMap, DEFAULT_SPAN, GridItem;
3210
3302
  var init_Item2 = __esm({
3211
3303
  "src/components/Grid/Item.tsx"() {
3212
3304
  "use strict";
3213
3305
  "use client";
3214
- import_react25 = require("react");
3215
- import_dedupe26 = __toESM(require("classnames/dedupe"));
3306
+ import_react26 = require("react");
3307
+ import_dedupe27 = __toESM(require("classnames/dedupe"));
3216
3308
  init_hooks();
3217
- import_jsx_runtime32 = require("react/jsx-runtime");
3309
+ import_jsx_runtime34 = require("react/jsx-runtime");
3218
3310
  getBreakpointMap = (config) => Object.entries(config).reduce(
3219
3311
  (prev, [key, value]) => {
3220
3312
  const previous = Object.values(prev);
@@ -3249,9 +3341,9 @@ var init_Item2 = __esm({
3249
3341
  xl,
3250
3342
  xxl
3251
3343
  });
3252
- const [responsiveSpan, setResponsiveSpan] = (0, import_react25.useState)();
3253
- const classes = (0, import_dedupe26.default)("mobius-grid__item", className);
3254
- (0, import_react25.useEffect)(() => {
3344
+ const [responsiveSpan, setResponsiveSpan] = (0, import_react26.useState)();
3345
+ const classes = (0, import_dedupe27.default)("mobius-grid__item", className);
3346
+ (0, import_react26.useEffect)(() => {
3255
3347
  setResponsiveSpan(breakpointMap[breakpointSize]);
3256
3348
  }, [breakpointSize, breakpointMap]);
3257
3349
  const styles = {
@@ -3259,7 +3351,7 @@ var init_Item2 = __esm({
3259
3351
  alignSelf,
3260
3352
  justifySelf
3261
3353
  };
3262
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { style: { ...styles }, className: classes, ...rest });
3354
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { style: { ...styles }, className: classes, ...rest });
3263
3355
  };
3264
3356
  GridItem.displayName = "GridItem";
3265
3357
  }
@@ -3280,20 +3372,20 @@ var init_Grid2 = __esm({
3280
3372
  });
3281
3373
 
3282
3374
  // src/components/Image/Image.tsx
3283
- var import_dedupe27, import_jsx_runtime33, Image;
3375
+ var import_dedupe28, import_jsx_runtime35, Image;
3284
3376
  var init_Image = __esm({
3285
3377
  "src/components/Image/Image.tsx"() {
3286
3378
  "use strict";
3287
- import_dedupe27 = __toESM(require("classnames/dedupe"));
3288
- import_jsx_runtime33 = require("react/jsx-runtime");
3379
+ import_dedupe28 = __toESM(require("classnames/dedupe"));
3380
+ import_jsx_runtime35 = require("react/jsx-runtime");
3289
3381
  Image = ({
3290
3382
  ref,
3291
3383
  alt,
3292
3384
  elementType: Component = "img",
3293
3385
  ...otherProps
3294
3386
  }) => {
3295
- const classes = (0, import_dedupe27.default)("mobius", "mobius-image", otherProps.className);
3296
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Component, { alt, ref, ...otherProps, className: classes });
3387
+ const classes = (0, import_dedupe28.default)("mobius", "mobius-image", otherProps.className);
3388
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Component, { alt, ref, ...otherProps, className: classes });
3297
3389
  };
3298
3390
  Image.displayName = "Image";
3299
3391
  }
@@ -3308,13 +3400,13 @@ var init_Image2 = __esm({
3308
3400
  });
3309
3401
 
3310
3402
  // src/components/Link/Link.tsx
3311
- var import_dedupe28, import_Link, import_jsx_runtime34, Link;
3403
+ var import_dedupe29, import_Link, import_jsx_runtime36, Link;
3312
3404
  var init_Link = __esm({
3313
3405
  "src/components/Link/Link.tsx"() {
3314
3406
  "use strict";
3315
- import_dedupe28 = __toESM(require("classnames/dedupe"));
3407
+ import_dedupe29 = __toESM(require("classnames/dedupe"));
3316
3408
  import_Link = require("@simplybusiness/mobius/src/components/Link/Link.css");
3317
- import_jsx_runtime34 = require("react/jsx-runtime");
3409
+ import_jsx_runtime36 = require("react/jsx-runtime");
3318
3410
  Link = ({ ref, ...props }) => {
3319
3411
  const {
3320
3412
  isDisabled = false,
@@ -3328,7 +3420,7 @@ var init_Link = __esm({
3328
3420
  pointerEvents: "none"
3329
3421
  };
3330
3422
  const styles = { ...style, ...isDisabled && disabledStyles };
3331
- const classes = (0, import_dedupe28.default)(
3423
+ const classes = (0, import_dedupe29.default)(
3332
3424
  "mobius",
3333
3425
  "mobius-link",
3334
3426
  className,
@@ -3337,7 +3429,7 @@ var init_Link = __esm({
3337
3429
  "--is-disabled": isDisabled
3338
3430
  }
3339
3431
  );
3340
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3432
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3341
3433
  Component,
3342
3434
  {
3343
3435
  ref,
@@ -3362,12 +3454,12 @@ var init_Link2 = __esm({
3362
3454
  });
3363
3455
 
3364
3456
  // src/components/LinkButton/LinkButton.tsx
3365
- var import_dedupe29, import_jsx_runtime35;
3457
+ var import_dedupe30, import_jsx_runtime37;
3366
3458
  var init_LinkButton = __esm({
3367
3459
  "src/components/LinkButton/LinkButton.tsx"() {
3368
3460
  "use strict";
3369
- import_dedupe29 = __toESM(require("classnames/dedupe"));
3370
- import_jsx_runtime35 = require("react/jsx-runtime");
3461
+ import_dedupe30 = __toESM(require("classnames/dedupe"));
3462
+ import_jsx_runtime37 = require("react/jsx-runtime");
3371
3463
  }
3372
3464
  });
3373
3465
 
@@ -3380,14 +3472,14 @@ var init_LinkButton2 = __esm({
3380
3472
  });
3381
3473
 
3382
3474
  // src/components/List/List.tsx
3383
- var import_react26, import_dedupe30, import_List, import_jsx_runtime36, List;
3475
+ var import_react27, import_dedupe31, import_List, import_jsx_runtime38, List;
3384
3476
  var init_List = __esm({
3385
3477
  "src/components/List/List.tsx"() {
3386
3478
  "use strict";
3387
- import_react26 = require("react");
3388
- import_dedupe30 = __toESM(require("classnames/dedupe"));
3479
+ import_react27 = require("react");
3480
+ import_dedupe31 = __toESM(require("classnames/dedupe"));
3389
3481
  import_List = require("@simplybusiness/mobius/src/components/List/List.css");
3390
- import_jsx_runtime36 = require("react/jsx-runtime");
3482
+ import_jsx_runtime38 = require("react/jsx-runtime");
3391
3483
  List = ({ ref, ...props }) => {
3392
3484
  const Component = props.isOrdered ? "ol" : "ul";
3393
3485
  const { children, icon, ...otherProps } = props;
@@ -3396,7 +3488,7 @@ var init_List = __esm({
3396
3488
  ...restProps,
3397
3489
  reversed: isReversed
3398
3490
  };
3399
- const classes = (0, import_dedupe30.default)(
3491
+ const classes = (0, import_dedupe31.default)(
3400
3492
  "mobius",
3401
3493
  "mobius-list",
3402
3494
  {
@@ -3405,9 +3497,9 @@ var init_List = __esm({
3405
3497
  },
3406
3498
  otherProps.className
3407
3499
  );
3408
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Component, { ref, ...mappedProps, className: classes, children: import_react26.Children.map(children, (child) => {
3409
- if ((0, import_react26.isValidElement)(child)) {
3410
- return (0, import_react26.cloneElement)(child, {
3500
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Component, { ref, ...mappedProps, className: classes, children: import_react27.Children.map(children, (child) => {
3501
+ if ((0, import_react27.isValidElement)(child)) {
3502
+ return (0, import_react27.cloneElement)(child, {
3411
3503
  parentIcon: icon
3412
3504
  });
3413
3505
  }
@@ -3419,16 +3511,16 @@ var init_List = __esm({
3419
3511
  });
3420
3512
 
3421
3513
  // src/components/List/ListItem.tsx
3422
- var import_dedupe31, import_jsx_runtime37, ListItem;
3514
+ var import_dedupe32, import_jsx_runtime39, ListItem;
3423
3515
  var init_ListItem = __esm({
3424
3516
  "src/components/List/ListItem.tsx"() {
3425
3517
  "use strict";
3426
- import_dedupe31 = __toESM(require("classnames/dedupe"));
3427
- import_jsx_runtime37 = require("react/jsx-runtime");
3518
+ import_dedupe32 = __toESM(require("classnames/dedupe"));
3519
+ import_jsx_runtime39 = require("react/jsx-runtime");
3428
3520
  ListItem = ({ ref, ...props }) => {
3429
3521
  const { parentIcon, icon, children, ...otherProps } = props;
3430
3522
  const iconContent = icon || parentIcon;
3431
- const classes = (0, import_dedupe31.default)(
3523
+ const classes = (0, import_dedupe32.default)(
3432
3524
  "mobius",
3433
3525
  "mobius-list__item",
3434
3526
  {
@@ -3436,15 +3528,15 @@ var init_ListItem = __esm({
3436
3528
  },
3437
3529
  props.className
3438
3530
  );
3439
- const contentClasses = (0, import_dedupe31.default)("mobius", "mobius-list__item-content");
3440
- const iconClasses = (0, import_dedupe31.default)("mobius", "mobius-list__icon");
3531
+ const contentClasses = (0, import_dedupe32.default)("mobius", "mobius-list__item-content");
3532
+ const iconClasses = (0, import_dedupe32.default)("mobius", "mobius-list__icon");
3441
3533
  if (iconContent) {
3442
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("li", { ref, ...otherProps, className: classes, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("span", { className: contentClasses, children: [
3443
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("span", { className: iconClasses, children: iconContent }),
3534
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("li", { ref, ...otherProps, className: classes, children: /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("span", { className: contentClasses, children: [
3535
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("span", { className: iconClasses, children: iconContent }),
3444
3536
  children
3445
3537
  ] }) });
3446
3538
  }
3447
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("li", { ref, ...otherProps, className: classes, children });
3539
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("li", { ref, ...otherProps, className: classes, children });
3448
3540
  };
3449
3541
  ListItem.displayName = "ListItem";
3450
3542
  }
@@ -3460,23 +3552,23 @@ var init_List2 = __esm({
3460
3552
  });
3461
3553
 
3462
3554
  // src/components/LoadingIndicator/LoadingIndicator.tsx
3463
- var import_dedupe32, import_icons8, import_LoadingIndicator, import_jsx_runtime38, LoadingIndicator;
3555
+ var import_dedupe33, import_icons8, import_LoadingIndicator, import_jsx_runtime40, LoadingIndicator;
3464
3556
  var init_LoadingIndicator = __esm({
3465
3557
  "src/components/LoadingIndicator/LoadingIndicator.tsx"() {
3466
3558
  "use strict";
3467
- import_dedupe32 = __toESM(require("classnames/dedupe"));
3559
+ import_dedupe33 = __toESM(require("classnames/dedupe"));
3468
3560
  import_icons8 = require("@simplybusiness/icons");
3469
3561
  init_Icon2();
3470
3562
  import_LoadingIndicator = require("@simplybusiness/mobius/src/components/LoadingIndicator/LoadingIndicator.css");
3471
- import_jsx_runtime38 = require("react/jsx-runtime");
3563
+ import_jsx_runtime40 = require("react/jsx-runtime");
3472
3564
  LoadingIndicator = ({ ref, ...props }) => {
3473
3565
  const { icon = import_icons8.loading, ...otherProps } = props;
3474
- const classes = (0, import_dedupe32.default)(
3566
+ const classes = (0, import_dedupe33.default)(
3475
3567
  "mobius",
3476
3568
  "mobius-loading-indicator",
3477
3569
  otherProps.className
3478
3570
  );
3479
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Icon, { icon, spin: true, ref, ...otherProps, className: classes });
3571
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Icon, { icon, spin: true, ref, ...otherProps, className: classes });
3480
3572
  };
3481
3573
  LoadingIndicator.displayName = "LoadingIndicator";
3482
3574
  }
@@ -3491,16 +3583,16 @@ var init_LoadingIndicator2 = __esm({
3491
3583
  });
3492
3584
 
3493
3585
  // src/components/Logo/Logo.tsx
3494
- var import_dedupe33, import_jsx_runtime39, Logo;
3586
+ var import_dedupe34, import_jsx_runtime41, Logo;
3495
3587
  var init_Logo = __esm({
3496
3588
  "src/components/Logo/Logo.tsx"() {
3497
3589
  "use strict";
3498
- import_dedupe33 = __toESM(require("classnames/dedupe"));
3499
- import_jsx_runtime39 = require("react/jsx-runtime");
3590
+ import_dedupe34 = __toESM(require("classnames/dedupe"));
3591
+ import_jsx_runtime41 = require("react/jsx-runtime");
3500
3592
  Logo = ({ ref, ...props }) => {
3501
3593
  const { className, width, height, ...otherProps } = props;
3502
- const classes = (0, import_dedupe33.default)("mobius", "mobius-logo", className);
3503
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
3594
+ const classes = (0, import_dedupe34.default)("mobius", "mobius-logo", className);
3595
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
3504
3596
  "svg",
3505
3597
  {
3506
3598
  width,
@@ -3510,7 +3602,7 @@ var init_Logo = __esm({
3510
3602
  viewBox: "0 0 144 37",
3511
3603
  ...otherProps,
3512
3604
  children: [
3513
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
3605
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
3514
3606
  "linearGradient",
3515
3607
  {
3516
3608
  id: "logo-gradient",
@@ -3519,27 +3611,27 @@ var init_Logo = __esm({
3519
3611
  y1: "76.042%",
3520
3612
  y2: "26.973%",
3521
3613
  children: [
3522
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("stop", { stopColor: "#4632D8", offset: "0%" }),
3523
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("stop", { stopColor: "#9084E8", offset: "100%" })
3614
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("stop", { stopColor: "#4632D8", offset: "0%" }),
3615
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("stop", { stopColor: "#9084E8", offset: "100%" })
3524
3616
  ]
3525
3617
  }
3526
3618
  ) }),
3527
- /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("g", { children: [
3528
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3619
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("g", { children: [
3620
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3529
3621
  "path",
3530
3622
  {
3531
3623
  fill: "#0E0A2B",
3532
3624
  d: "M68.788 11.307c0-2.486-2.027-3.345-3.833-4.1-1.332-.562-2.471-1.036-2.471-2.072 0-.873.77-1.42 1.968-1.42 1.051 0 1.806.444 2.294.725.193.103.474.222.755.133.192-.06.34-.207.459-.444l.34-.621c.266-.474.163-.888-.281-1.2-.533-.384-1.88-1.05-3.537-1.05-2.738 0-4.647 1.643-4.647 4.01 0 2.413 2.012 3.301 3.788 4.07 1.347.593 2.516 1.096 2.516 2.161 0 .873-.754 1.45-1.924 1.45-1.287 0-2.22-.65-2.678-.961l-.03-.015c-.533-.296-.903-.237-1.228.192l-.415.607c-.444.607-.148.992.134 1.228.828.637 2.427 1.392 4.203 1.392 2.708 0 4.587-1.673 4.587-4.085zm4.44 2.975V6.186c0-.577-.31-.888-.873-.888h-.843c-.563 0-.874.311-.874.888v8.096c0 .577.296.888.874.888h.843c.563 0 .873-.311.873-.888zM71.482 4.203h.755c.518 0 .814-.281.814-.8v-.517c0-.518-.296-.814-.814-.814h-.755c-.518 0-.8.281-.8.814v.518c.016.518.297.8.8.8zM92.645 24.48h.755c.518 0 .814-.282.814-.8v-.518c0-.518-.296-.814-.814-.814h-.755c-.518 0-.799.282-.799.814v.518c0 .518.281.8.8.8zm-6.26-19.42c-1.539 0-2.397.962-2.945 1.895-.444-1.243-1.435-1.895-2.871-1.895-1.362 0-2.146.888-2.723 1.806v-.68c0-.578-.311-.889-.873-.889h-.74c-.563 0-.873.311-.873.888v8.096c0 .577.295.888.873.888h.843c.577 0 .873-.311.873-.888V10.73c0-2.25.888-3.271 2.058-3.271 1.006 0 1.198.71 1.198 1.85v4.987c0 .578.311.888.888.888h.844c.577 0 .873-.31.873-.888v-3.551c0-2.25.873-3.271 2.013-3.271 1.036 0 1.243.74 1.243 1.85v4.987c0 .577.31.888.888.888h.814c.577 0 .888-.31.888-.888V8.835c0-2.5-1.095-3.774-3.27-3.774zm10.804 10.33c2.679 0 4.558-2.13 4.558-5.164 0-3.094-1.776-5.166-4.425-5.166-1.761 0-2.708 1.036-3.049 1.51v-.533c0-.459-.34-.755-.873-.755h-.607c-.562 0-.888.326-.888.888v11.9c0 .576.311.887.888.887h.814c.578 0 .888-.31.888-.888v-3.404c0-.207-.014-.4-.014-.532.325.429 1.184 1.258 2.708 1.258zm-2.768-5.105c0-1.362.622-2.975 2.368-2.975 1.377 0 2.309 1.184 2.309 2.945 0 1.746-.947 2.916-2.338 2.916-1.54 0-2.339-1.45-2.339-2.886zm12.965 4.07v-.652c0-.444-.252-.725-.681-.784-.34-.03-.68-.192-.68-1.066v-9.47c0-.563-.326-.888-.874-.888h-.843c-.563 0-.874.31-.874.888v9.679c0 1.258.34 2.16 1.021 2.678.637.489 1.466.533 2.013.533.607 0 .918-.325.918-.917zm9.457-9.073h-.962c-.518 0-.844.237-.977.726l-1.717 4.972c-.089.311-.192.71-.251.977-.074-.281-.193-.71-.296-1.021l-1.835-4.943c-.163-.489-.489-.71-.977-.71h-1.036c-.415 0-.622.162-.71.295-.09.134-.163.385.014.755l3.685 8.57-.34.813c-.252.592-.77 1.229-1.45 1.229-.267 0-.474-.09-.652-.163h-.014c-.43-.104-.755.074-.962.488l-.163.415c-.119.251-.148.517-.06.725.075.192.237.34.474.429.326.118.814.296 1.391.296 1.628 0 2.975-.977 3.597-2.605l3.996-10.226c.103-.296.088-.563-.045-.755-.163-.163-.4-.267-.71-.267zM67.634 28.297c.977-.592 1.54-1.658 1.54-2.886 0-2.176-1.688-3.567-4.293-3.567h-4.04c-.562 0-.873.311-.873.888v11.899c0 .577.296.888.873.888h4.1c1.346 0 2.5-.34 3.33-.962.932-.71 1.42-1.761 1.42-3.049.03-1.524-.784-2.767-2.057-3.211zm-5.017-.962v-3.212h2.25c1.02 0 1.628.592 1.628 1.584 0 .991-.607 1.643-1.57 1.643h-2.308v-.015zm4.396 4.01c0 1.155-.71 1.865-1.865 1.865h-2.53v-3.714h2.53c1.14.014 1.865.74 1.865 1.85zm12.638-5.712h-.814c-.577 0-.888.31-.888.888v3.655c0 2.176-1.361 3.182-2.634 3.182-1.006 0-1.406-.547-1.406-1.88v-4.942c0-.578-.31-.888-.888-.888h-.814c-.562 0-.888.325-.888.888v5.431c0 2.516 1.17 3.774 3.463 3.774a3.937 3.937 0 003.286-1.761v.651c0 .577.296.888.873.888h.74c.577 0 .888-.31.888-.888v-8.095c-.03-.578-.355-.903-.918-.903zm6.956 3.937c-.917-.311-1.702-.592-1.702-1.184 0-.74.77-.859 1.229-.859.784 0 1.406.281 1.805.474.548.237.947.118 1.184-.34l.193-.341c.251-.518.133-.947-.326-1.184-.326-.178-1.288-.71-2.753-.71-2.279 0-3.803 1.213-3.803 3.004 0 2.042 1.731 2.65 3.137 3.138.903.325 1.687.592 1.687 1.169 0 .547-.488.902-1.258.902-.917 0-1.613-.37-2.057-.621l-.059-.03c-.533-.28-.903-.207-1.213.222l-.222.34c-.178.252-.237.504-.178.726.044.207.192.37.4.488a5.774 5.774 0 003.285 1.007c2.235 0 3.789-1.273 3.789-3.079-.03-2.042-1.761-2.649-3.138-3.122zm6.897-3.937h-.844c-.562 0-.873.31-.873.888v8.095c0 .577.296.888.873.888h.844c.577 0 .873-.31.873-.888v-8.095c0-.563-.31-.888-.873-.888zm9.324-.237c-1.924 0-2.93 1.154-3.36 1.806v-.681c0-.577-.31-.888-.873-.888h-.74c-.563 0-.873.31-.873.888v8.095c0 .577.296.888.873.888h.843c.578 0 .874-.31.874-.888v-3.744c0-1.79 1.14-3.078 2.708-3.078 1.021 0 1.436.547 1.436 1.88v4.942c0 .577.31.888.887.888h.814c.578 0 .888-.31.888-.888v-5.431c0-2.516-1.169-3.789-3.477-3.789zm10.448 0c-2.96 0-5.032 2.131-5.032 5.165 0 2.99 2.235 5.165 5.313 5.165 1.48 0 2.635-.533 3.345-.977.444-.266.562-.695.296-1.198l-.222-.385c-.266-.459-.651-.563-1.184-.31h-.015a3.885 3.885 0 01-2.042.606c-1.54 0-2.634-.962-2.812-2.472h5.816a.935.935 0 00.933-.917c.014-2.827-1.717-4.677-4.396-4.677zm-.044 2.013c1.065 0 1.79.77 1.864 1.968h-4.1c.253-1.213 1.096-1.968 2.236-1.968zm10.152 2.16c-.917-.31-1.702-.591-1.702-1.183 0-.74.77-.859 1.229-.859.784 0 1.406.281 1.805.474.548.237.947.118 1.184-.34l.192-.341c.252-.518.134-.947-.325-1.184-.326-.178-1.288-.71-2.753-.71-2.279 0-3.803 1.213-3.803 3.004 0 2.042 1.731 2.65 3.137 3.138.903.325 1.687.592 1.687 1.169 0 .547-.488.902-1.258.902-.917 0-1.613-.37-2.057-.621l-.059-.03c-.533-.28-.903-.207-1.214.222l-.222.34c-.177.252-.236.504-.177.726.044.207.192.37.4.488a5.774 5.774 0 003.285 1.007c2.235 0 3.789-1.273 3.789-3.079-.015-2.042-1.747-2.649-3.138-3.122zm8.791 0c-.917-.31-1.702-.591-1.702-1.183 0-.74.77-.859 1.229-.859.784 0 1.406.281 1.805.474.548.237.947.118 1.184-.34l.192-.341c.252-.518.134-.947-.325-1.184-.326-.178-1.288-.71-2.753-.71-2.279 0-3.803 1.213-3.803 3.004 0 2.042 1.731 2.65 3.137 3.138.903.325 1.687.592 1.687 1.169 0 .547-.488.902-1.258.902-.917 0-1.613-.37-2.057-.621l-.059-.03c-.533-.28-.903-.207-1.214.222l-.222.34c-.177.252-.236.504-.177.726.044.207.192.37.4.488a5.774 5.774 0 003.285 1.007c2.235 0 3.789-1.273 3.789-3.079-.015-2.042-1.747-2.649-3.138-3.122z"
3533
3625
  }
3534
3626
  ),
3535
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3627
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3536
3628
  "path",
3537
3629
  {
3538
3630
  fill: "url(#logo-gradient)",
3539
3631
  d: "M22.747 22.288c.607 1.214.918 2.59.918 4.144 0 1.45-.267 2.827-.8 4.1a10.018 10.018 0 01-2.279 3.36c-.991.961-2.235 1.73-3.744 2.278-1.51.563-3.167.829-4.988.829-2.264 0-4.35-.385-6.29-1.14-1.938-.77-3.492-1.598-4.676-2.5-.31-.252-.548-.504-.696-.77a1.332 1.332 0 01-.177-.71.718.718 0 010-.252c.03-.37.207-.785.547-1.199l1.14-1.598c.4-.548.829-.844 1.288-.918a.896.896 0 01.222-.03c.4 0 .873.163 1.39.474 2.487 1.776 4.914 2.679 7.252 2.679 1.643 0 2.96-.385 3.922-1.14.962-.755 1.45-1.746 1.45-2.96 0-.725-.192-1.39-.562-1.983a5.347 5.347 0 00-1.539-1.569 18.207 18.207 0 00-2.235-1.287 56.102 56.102 0 00-2.649-1.214c-.917-.4-1.835-.814-2.752-1.258a19.282 19.282 0 01-2.62-1.539 14.014 14.014 0 01-2.22-1.924c-.666-.695-1.169-1.539-1.554-2.545-.37-.992-.562-2.087-.562-3.271 0-2.042.533-3.863 1.598-5.446 1.066-1.584 2.516-2.797 4.336-3.641C8.303.414 10.345 0 12.624 0c1.91 0 3.685.281 5.358.844 1.657.562 2.96 1.198 3.892 1.88.68.473 1.006 1.035 1.006 1.671 0 .385-.118.785-.37 1.2l-.917 1.657c-.385.74-.903 1.11-1.554 1.11-.4 0-.83-.133-1.318-.4a42.421 42.421 0 00-1.687-.947c-.473-.237-1.14-.488-1.998-.71a9.458 9.458 0 00-2.56-.356c-1.672 0-3.004.37-3.981 1.11-.992.74-1.48 1.717-1.48 2.946 0 .902.31 1.701.932 2.412.622.695 1.421 1.302 2.398 1.79.977.489 2.057.977 3.256 1.466a54.048 54.048 0 013.552 1.628 20.795 20.795 0 013.24 2.042c.948.755 1.732 1.732 2.354 2.945zm31.257 2.945c0 3.197-1.155 6.083-3.256 8.14-2.265 2.205-5.506 3.36-9.368 3.36H30.71c-2.443 0-4.278-1.836-4.278-4.278V4.53c0-1.2.43-2.28 1.214-3.064C28.43.681 29.51.252 30.709.252h9.013c3.419 0 6.32 1.095 8.377 3.182 1.909 1.923 2.945 4.558 2.945 7.429 0 2.294-.622 4.203-1.91 5.816 1.377.77 2.487 1.776 3.286 2.99 1.066 1.583 1.584 3.448 1.584 5.564zm-12.106-7.68c.044-.03 4.913-3.02 4.913-6.675 0-1.761-.607-3.345-1.717-4.455-1.568-1.584-3.788-1.924-5.372-1.924H30.68v28h10.7c2.738 0 4.958-.754 6.408-2.16 1.273-1.243 1.983-3.049 1.983-5.106 0-1.272-.296-2.353-.858-3.196v-.03c-1.362-2.353-6.838-3.774-6.897-3.789l-.844-.222.726-.444z"
3540
3632
  }
3541
3633
  ),
3542
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3634
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3543
3635
  "path",
3544
3636
  {
3545
3637
  fill: "#0E0A2B",
@@ -3564,23 +3656,23 @@ var init_Logo2 = __esm({
3564
3656
  });
3565
3657
 
3566
3658
  // src/components/Modal/Content.tsx
3567
- var import_jsx_runtime40, Content2;
3659
+ var import_jsx_runtime42, Content2;
3568
3660
  var init_Content2 = __esm({
3569
3661
  "src/components/Modal/Content.tsx"() {
3570
3662
  "use strict";
3571
- import_jsx_runtime40 = require("react/jsx-runtime");
3572
- Content2 = ({ ref, children, ...otherProps }) => /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { ref, ...otherProps, className: "mobius-modal__content", children });
3663
+ import_jsx_runtime42 = require("react/jsx-runtime");
3664
+ Content2 = ({ ref, children, ...otherProps }) => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { ref, ...otherProps, className: "mobius-modal__content", children });
3573
3665
  Content2.displayName = "Content";
3574
3666
  }
3575
3667
  });
3576
3668
 
3577
3669
  // src/components/Modal/ModalContext.tsx
3578
- var import_react27, ModalContext;
3670
+ var import_react28, ModalContext;
3579
3671
  var init_ModalContext = __esm({
3580
3672
  "src/components/Modal/ModalContext.tsx"() {
3581
3673
  "use strict";
3582
- import_react27 = require("react");
3583
- ModalContext = (0, import_react27.createContext)({
3674
+ import_react28 = require("react");
3675
+ ModalContext = (0, import_react28.createContext)({
3584
3676
  onClose: () => {
3585
3677
  },
3586
3678
  closeLabel: void 0
@@ -3589,21 +3681,21 @@ var init_ModalContext = __esm({
3589
3681
  });
3590
3682
 
3591
3683
  // src/components/Modal/useModal.ts
3592
- var import_react28, useModal;
3684
+ var import_react29, useModal;
3593
3685
  var init_useModal = __esm({
3594
3686
  "src/components/Modal/useModal.ts"() {
3595
3687
  "use strict";
3596
- import_react28 = require("react");
3688
+ import_react29 = require("react");
3597
3689
  init_ModalContext();
3598
3690
  useModal = () => {
3599
- const { onClose, closeLabel } = (0, import_react28.useContext)(ModalContext);
3691
+ const { onClose, closeLabel } = (0, import_react29.useContext)(ModalContext);
3600
3692
  return { onClose, closeLabel };
3601
3693
  };
3602
3694
  }
3603
3695
  });
3604
3696
 
3605
3697
  // src/components/Modal/Header.tsx
3606
- var import_icons9, import_jsx_runtime41, Header2;
3698
+ var import_icons9, import_jsx_runtime43, Header2;
3607
3699
  var init_Header2 = __esm({
3608
3700
  "src/components/Modal/Header.tsx"() {
3609
3701
  "use strict";
@@ -3611,12 +3703,12 @@ var init_Header2 = __esm({
3611
3703
  init_Button2();
3612
3704
  init_Icon2();
3613
3705
  init_useModal();
3614
- import_jsx_runtime41 = require("react/jsx-runtime");
3706
+ import_jsx_runtime43 = require("react/jsx-runtime");
3615
3707
  Header2 = ({ ref, children, ...otherProps }) => {
3616
3708
  const { onClose, closeLabel } = useModal();
3617
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("header", { ref, ...otherProps, className: "mobius-modal__header", children: [
3709
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("header", { ref, ...otherProps, className: "mobius-modal__header", children: [
3618
3710
  children,
3619
- /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
3711
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
3620
3712
  Button,
3621
3713
  {
3622
3714
  "aria-label": "Close",
@@ -3624,7 +3716,7 @@ var init_Header2 = __esm({
3624
3716
  onPress: onClose,
3625
3717
  className: "mobius-modal__close",
3626
3718
  children: [
3627
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Icon, { icon: import_icons9.cross }),
3719
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Icon, { icon: import_icons9.cross }),
3628
3720
  " ",
3629
3721
  closeLabel
3630
3722
  ]
@@ -3637,19 +3729,19 @@ var init_Header2 = __esm({
3637
3729
  });
3638
3730
 
3639
3731
  // src/components/Modal/Modal.tsx
3640
- var import_dedupe34, import_react29, import_Modal, import_jsx_runtime42, TRANSITION_CSS_VARIABLE2, Modal;
3732
+ var import_dedupe35, import_react30, import_Modal, import_jsx_runtime44, TRANSITION_CSS_VARIABLE2, Modal;
3641
3733
  var init_Modal = __esm({
3642
3734
  "src/components/Modal/Modal.tsx"() {
3643
3735
  "use strict";
3644
3736
  "use client";
3645
- import_dedupe34 = __toESM(require("classnames/dedupe"));
3646
- import_react29 = require("react");
3737
+ import_dedupe35 = __toESM(require("classnames/dedupe"));
3738
+ import_react30 = require("react");
3647
3739
  init_hooks();
3648
3740
  init_utils();
3649
3741
  init_polyfill_tests();
3650
3742
  init_ModalContext();
3651
3743
  import_Modal = require("@simplybusiness/mobius/src/components/Modal/Modal.css");
3652
- import_jsx_runtime42 = require("react/jsx-runtime");
3744
+ import_jsx_runtime44 = require("react/jsx-runtime");
3653
3745
  TRANSITION_CSS_VARIABLE2 = "--modal-transition-duration";
3654
3746
  Modal = ({ ref, ...props }) => {
3655
3747
  const {
@@ -3663,11 +3755,11 @@ var init_Modal = __esm({
3663
3755
  animation,
3664
3756
  ...rest
3665
3757
  } = props;
3666
- const [shouldTransition, setShouldTransition] = (0, import_react29.useState)(false);
3667
- (0, import_react29.useEffect)(() => {
3758
+ const [shouldTransition, setShouldTransition] = (0, import_react30.useState)(false);
3759
+ (0, import_react30.useEffect)(() => {
3668
3760
  setShouldTransition(supportsDialog());
3669
3761
  }, []);
3670
- const dialogRef = (0, import_react29.useRef)(null);
3762
+ const dialogRef = (0, import_react30.useRef)(null);
3671
3763
  const { close } = useDialog({
3672
3764
  ref: dialogRef,
3673
3765
  isOpen,
@@ -3678,7 +3770,7 @@ var init_Modal = __esm({
3678
3770
  CSSVariable: TRANSITION_CSS_VARIABLE2
3679
3771
  }
3680
3772
  });
3681
- const modalClasses = (0, import_dedupe34.default)(
3773
+ const modalClasses = (0, import_dedupe35.default)(
3682
3774
  "mobius",
3683
3775
  "mobius-modal",
3684
3776
  {
@@ -3691,21 +3783,21 @@ var init_Modal = __esm({
3691
3783
  },
3692
3784
  className
3693
3785
  );
3694
- const contextValue = (0, import_react29.useMemo)(
3786
+ const contextValue = (0, import_react30.useMemo)(
3695
3787
  () => ({
3696
3788
  onClose: close,
3697
3789
  closeLabel
3698
3790
  }),
3699
3791
  [close, closeLabel]
3700
3792
  );
3701
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3793
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
3702
3794
  "dialog",
3703
3795
  {
3704
3796
  ref: mergeRefs([dialogRef, ref]),
3705
3797
  onCancel: close,
3706
3798
  className: modalClasses,
3707
3799
  ...rest,
3708
- children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(ModalContext.Provider, { value: contextValue, children })
3800
+ children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(ModalContext.Provider, { value: contextValue, children })
3709
3801
  }
3710
3802
  );
3711
3803
  };
@@ -3730,16 +3822,16 @@ var init_Modal2 = __esm({
3730
3822
  });
3731
3823
 
3732
3824
  // src/components/NumberField/NumberField.tsx
3733
- var import_dedupe35, import_react30, import_NumberField, import_jsx_runtime43, NumberField;
3825
+ var import_dedupe36, import_react31, import_NumberField, import_jsx_runtime45, NumberField;
3734
3826
  var init_NumberField = __esm({
3735
3827
  "src/components/NumberField/NumberField.tsx"() {
3736
3828
  "use strict";
3737
3829
  "use client";
3738
- import_dedupe35 = __toESM(require("classnames/dedupe"));
3739
- import_react30 = require("react");
3830
+ import_dedupe36 = __toESM(require("classnames/dedupe"));
3831
+ import_react31 = require("react");
3740
3832
  init_TextField2();
3741
3833
  import_NumberField = require("@simplybusiness/mobius/src/components/NumberField/NumberField.css");
3742
- import_jsx_runtime43 = require("react/jsx-runtime");
3834
+ import_jsx_runtime45 = require("react/jsx-runtime");
3743
3835
  NumberField = ({ ref, ...props }) => {
3744
3836
  const {
3745
3837
  minValue,
@@ -3755,15 +3847,15 @@ var init_NumberField = __esm({
3755
3847
  onBlur: customOnBlur,
3756
3848
  ...rest
3757
3849
  } = otherProps;
3758
- const focusedInputRef = (0, import_react30.useRef)(null);
3759
- const wheelHandler = (0, import_react30.useCallback)((ev) => ev.preventDefault(), []);
3760
- (0, import_react30.useEffect)(() => {
3850
+ const focusedInputRef = (0, import_react31.useRef)(null);
3851
+ const wheelHandler = (0, import_react31.useCallback)((ev) => ev.preventDefault(), []);
3852
+ (0, import_react31.useEffect)(() => {
3761
3853
  return () => {
3762
3854
  focusedInputRef.current?.removeEventListener("wheel", wheelHandler);
3763
3855
  focusedInputRef.current = null;
3764
3856
  };
3765
3857
  }, [wheelHandler]);
3766
- const containerClasses = (0, import_dedupe35.default)("mobius-number-field", className, {
3858
+ const containerClasses = (0, import_dedupe36.default)("mobius-number-field", className, {
3767
3859
  "--hide-spin-buttons": hideSpinButtons
3768
3860
  });
3769
3861
  const handleBeforeInput = (event) => {
@@ -3807,7 +3899,7 @@ var init_NumberField = __esm({
3807
3899
  },
3808
3900
  onBlur: (e) => handleBlur(e)
3809
3901
  };
3810
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
3902
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
3811
3903
  TextField,
3812
3904
  {
3813
3905
  ...forwardedProps,
@@ -3835,18 +3927,18 @@ var init_NumberField2 = __esm({
3835
3927
  });
3836
3928
 
3837
3929
  // src/components/Option/Option.tsx
3838
- var import_jsx_runtime44, Option2;
3930
+ var import_jsx_runtime46, Option2;
3839
3931
  var init_Option2 = __esm({
3840
3932
  "src/components/Option/Option.tsx"() {
3841
3933
  "use strict";
3842
- import_jsx_runtime44 = require("react/jsx-runtime");
3934
+ import_jsx_runtime46 = require("react/jsx-runtime");
3843
3935
  Option2 = ({ ref, ...props }) => {
3844
3936
  const { isDisabled, ...rest } = props;
3845
3937
  const mappedProps = {
3846
3938
  ...rest,
3847
3939
  disabled: isDisabled
3848
3940
  };
3849
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("option", { ...mappedProps, ref });
3941
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("option", { ...mappedProps, ref });
3850
3942
  };
3851
3943
  Option2.displayName = "Option";
3852
3944
  }
@@ -3861,17 +3953,17 @@ var init_Option3 = __esm({
3861
3953
  });
3862
3954
 
3863
3955
  // src/components/PasswordField/ShowHideButton.tsx
3864
- var import_icons10, import_jsx_runtime45, ShowHideButton;
3956
+ var import_icons10, import_jsx_runtime47, ShowHideButton;
3865
3957
  var init_ShowHideButton = __esm({
3866
3958
  "src/components/PasswordField/ShowHideButton.tsx"() {
3867
3959
  "use strict";
3868
3960
  import_icons10 = require("@simplybusiness/icons");
3869
3961
  init_src();
3870
- import_jsx_runtime45 = require("react/jsx-runtime");
3962
+ import_jsx_runtime47 = require("react/jsx-runtime");
3871
3963
  ShowHideButton = ({
3872
3964
  show = false,
3873
3965
  onClick
3874
- }) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
3966
+ }) => /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
3875
3967
  "button",
3876
3968
  {
3877
3969
  className: "mobius-password-field__show-button",
@@ -3882,35 +3974,35 @@ var init_ShowHideButton = __esm({
3882
3974
  },
3883
3975
  "aria-label": `${show ? "Hide" : "Show"} password`,
3884
3976
  "data-testid": "show-hide-button",
3885
- children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Icon, { icon: show ? import_icons10.eyeSlash : import_icons10.eye, "aria-hidden": "true" })
3977
+ children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Icon, { icon: show ? import_icons10.eyeSlash : import_icons10.eye, "aria-hidden": "true" })
3886
3978
  }
3887
3979
  );
3888
3980
  }
3889
3981
  });
3890
3982
 
3891
3983
  // src/components/PasswordField/PasswordField.tsx
3892
- var import_dedupe36, import_react31, import_PasswordField, import_jsx_runtime46, PasswordField;
3984
+ var import_dedupe37, import_react32, import_PasswordField, import_jsx_runtime48, PasswordField;
3893
3985
  var init_PasswordField = __esm({
3894
3986
  "src/components/PasswordField/PasswordField.tsx"() {
3895
3987
  "use strict";
3896
3988
  "use client";
3897
- import_dedupe36 = __toESM(require("classnames/dedupe"));
3898
- import_react31 = require("react");
3989
+ import_dedupe37 = __toESM(require("classnames/dedupe"));
3990
+ import_react32 = require("react");
3899
3991
  init_mergeRefs();
3900
3992
  init_TextField2();
3901
3993
  init_ShowHideButton();
3902
3994
  import_PasswordField = require("@simplybusiness/mobius/src/components/PasswordField/PasswordField.css");
3903
- import_jsx_runtime46 = require("react/jsx-runtime");
3995
+ import_jsx_runtime48 = require("react/jsx-runtime");
3904
3996
  PasswordField = ({
3905
3997
  ref,
3906
3998
  className,
3907
3999
  autoComplete = "current-password",
3908
4000
  ...props
3909
4001
  }) => {
3910
- const [show, setShow] = (0, import_react31.useState)(false);
4002
+ const [show, setShow] = (0, import_react32.useState)(false);
3911
4003
  const type = show ? "text" : "password";
3912
- const classes = (0, import_dedupe36.default)("mobius-password-field", className);
3913
- const localRef = (0, import_react31.useRef)(null);
4004
+ const classes = (0, import_dedupe37.default)("mobius-password-field", className);
4005
+ const localRef = (0, import_react32.useRef)(null);
3914
4006
  const handleShowHideButtonClick = () => {
3915
4007
  const selectionStart = localRef.current?.selectionStart;
3916
4008
  const selectionEnd = localRef.current?.selectionEnd;
@@ -3922,7 +4014,7 @@ var init_PasswordField = __esm({
3922
4014
  }
3923
4015
  });
3924
4016
  };
3925
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
4017
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
3926
4018
  TextField,
3927
4019
  {
3928
4020
  ref: mergeRefs([localRef, ref]),
@@ -3930,7 +4022,7 @@ var init_PasswordField = __esm({
3930
4022
  ...props,
3931
4023
  autoComplete,
3932
4024
  type,
3933
- suffixInside: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(ShowHideButton, { onClick: handleShowHideButtonClick, show })
4025
+ suffixInside: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(ShowHideButton, { onClick: handleShowHideButtonClick, show })
3934
4026
  }
3935
4027
  );
3936
4028
  };
@@ -3947,17 +4039,17 @@ var init_PasswordField2 = __esm({
3947
4039
  });
3948
4040
 
3949
4041
  // src/components/Popover/Popover.tsx
3950
- var import_react32, import_icons11, import_dedupe37, import_react33, import_mobius_hooks6, import_Popover, import_jsx_runtime47;
4042
+ var import_react33, import_icons11, import_dedupe38, import_react34, import_mobius_hooks6, import_Popover, import_jsx_runtime49;
3951
4043
  var init_Popover = __esm({
3952
4044
  "src/components/Popover/Popover.tsx"() {
3953
4045
  "use strict";
3954
- import_react32 = require("@floating-ui/react");
4046
+ import_react33 = require("@floating-ui/react");
3955
4047
  import_icons11 = require("@simplybusiness/icons");
3956
- import_dedupe37 = __toESM(require("classnames/dedupe"));
3957
- import_react33 = require("react");
4048
+ import_dedupe38 = __toESM(require("classnames/dedupe"));
4049
+ import_react34 = require("react");
3958
4050
  import_mobius_hooks6 = require("@simplybusiness/mobius-hooks");
3959
4051
  import_Popover = require("@simplybusiness/mobius/src/components/Popover/Popover.css");
3960
- import_jsx_runtime47 = require("react/jsx-runtime");
4052
+ import_jsx_runtime49 = require("react/jsx-runtime");
3961
4053
  }
3962
4054
  });
3963
4055
 
@@ -3981,17 +4073,17 @@ function warnAboutInvalidValues(value, minValue, maxValue) {
3981
4073
  console.warn("Progress value is greater than maxValue");
3982
4074
  }
3983
4075
  }
3984
- var import_dedupe38, import_react34, import_Progress, import_jsx_runtime48, sanitizedValue, getLabelComponent, DEFAULT_VALUE, DEFAULT_MIN_VALUE, DEFAULT_MAX_VALUE, Progress;
4076
+ var import_dedupe39, import_react35, import_Progress, import_jsx_runtime50, sanitizedValue, getLabelComponent, DEFAULT_VALUE, DEFAULT_MIN_VALUE, DEFAULT_MAX_VALUE, Progress;
3985
4077
  var init_Progress = __esm({
3986
4078
  "src/components/Progress/Progress.tsx"() {
3987
4079
  "use strict";
3988
4080
  "use client";
3989
- import_dedupe38 = __toESM(require("classnames/dedupe"));
3990
- import_react34 = require("react");
4081
+ import_dedupe39 = __toESM(require("classnames/dedupe"));
4082
+ import_react35 = require("react");
3991
4083
  init_Label2();
3992
4084
  init_VisuallyHidden2();
3993
4085
  import_Progress = require("@simplybusiness/mobius/src/components/Progress/Progress.css");
3994
- import_jsx_runtime48 = require("react/jsx-runtime");
4086
+ import_jsx_runtime50 = require("react/jsx-runtime");
3995
4087
  sanitizedValue = (value, defaultValue) => {
3996
4088
  if (value === void 0 || Number.isNaN(value)) {
3997
4089
  return defaultValue;
@@ -4000,7 +4092,7 @@ var init_Progress = __esm({
4000
4092
  };
4001
4093
  getLabelComponent = (label, progressLabelId, showLabel) => {
4002
4094
  if (showLabel) {
4003
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4095
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
4004
4096
  Label,
4005
4097
  {
4006
4098
  id: progressLabelId,
@@ -4010,7 +4102,7 @@ var init_Progress = __esm({
4010
4102
  }
4011
4103
  );
4012
4104
  }
4013
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(VisuallyHidden, { children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4105
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(VisuallyHidden, { children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
4014
4106
  Label,
4015
4107
  {
4016
4108
  id: progressLabelId,
@@ -4024,8 +4116,8 @@ var init_Progress = __esm({
4024
4116
  DEFAULT_MIN_VALUE = 0;
4025
4117
  DEFAULT_MAX_VALUE = 100;
4026
4118
  Progress = ({ ref, ...props }) => {
4027
- const progressId = (0, import_react34.useId)();
4028
- const progressLabelId = (0, import_react34.useId)();
4119
+ const progressId = (0, import_react35.useId)();
4120
+ const progressLabelId = (0, import_react35.useId)();
4029
4121
  const {
4030
4122
  id,
4031
4123
  label,
@@ -4050,7 +4142,7 @@ var init_Progress = __esm({
4050
4142
  100
4051
4143
  );
4052
4144
  const barWidth = `${percentage}%`;
4053
- const classes = (0, import_dedupe38.default)("mobius", "mobius-progress", className, {
4145
+ const classes = (0, import_dedupe39.default)("mobius", "mobius-progress", className, {
4054
4146
  "--is-primary": variant === "primary",
4055
4147
  "--is-secondary": variant === "secondary"
4056
4148
  });
@@ -4060,7 +4152,7 @@ var init_Progress = __esm({
4060
4152
  progressBarProps["aria-valuenow"] = value.toString();
4061
4153
  progressBarProps["aria-valuetext"] = valueFormatter instanceof Function ? valueFormatter(value, minValue, maxValue) : barWidth;
4062
4154
  const labelComponent = getLabelComponent(label, progressLabelId, showLabel);
4063
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
4155
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
4064
4156
  "div",
4065
4157
  {
4066
4158
  id: id || progressId,
@@ -4071,8 +4163,8 @@ var init_Progress = __esm({
4071
4163
  "aria-labelledby": progressLabelId,
4072
4164
  children: [
4073
4165
  labelComponent,
4074
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "mobius-progress__track", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "mobius-progress__bar", style: { width: barWidth } }) }),
4075
- showValueLabel && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Label, { "data-testid": "value-label", elementType: "span", children: progressBarProps["aria-valuetext"] })
4166
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "mobius-progress__track", children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "mobius-progress__bar", style: { width: barWidth } }) }),
4167
+ showValueLabel && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Label, { "data-testid": "value-label", elementType: "span", children: progressBarProps["aria-valuetext"] })
4076
4168
  ]
4077
4169
  }
4078
4170
  );
@@ -4090,17 +4182,17 @@ var init_Progress2 = __esm({
4090
4182
  });
4091
4183
 
4092
4184
  // src/components/Radio/Radio.tsx
4093
- var import_dedupe39, import_react35, import_Radio, import_jsx_runtime49, Radio;
4185
+ var import_dedupe40, import_react36, import_Radio, import_jsx_runtime51, Radio;
4094
4186
  var init_Radio = __esm({
4095
4187
  "src/components/Radio/Radio.tsx"() {
4096
4188
  "use strict";
4097
4189
  "use client";
4098
- import_dedupe39 = __toESM(require("classnames/dedupe"));
4099
- import_react35 = require("react");
4190
+ import_dedupe40 = __toESM(require("classnames/dedupe"));
4191
+ import_react36 = require("react");
4100
4192
  init_ErrorMessage2();
4101
4193
  init_Label2();
4102
4194
  import_Radio = require("@simplybusiness/mobius/src/components/Radio/Radio.css");
4103
- import_jsx_runtime49 = require("react/jsx-runtime");
4195
+ import_jsx_runtime51 = require("react/jsx-runtime");
4104
4196
  Radio = ({ ref, ...props }) => {
4105
4197
  const {
4106
4198
  children,
@@ -4124,19 +4216,19 @@ var init_Radio = __esm({
4124
4216
  const isMultiline = label && children;
4125
4217
  const isControlled = selected !== void 0;
4126
4218
  const isChecked = isControlled ? selected === value : defaultChecked;
4127
- const contentRef = (0, import_react35.useRef)(null);
4128
- const prevOverflowRef = (0, import_react35.useRef)({
4219
+ const contentRef = (0, import_react36.useRef)(null);
4220
+ const prevOverflowRef = (0, import_react36.useRef)({
4129
4221
  vertical: false,
4130
4222
  horizontal: false
4131
4223
  });
4132
- const hasIconFirst = (0, import_react35.useMemo)(() => {
4133
- if (!children || import_react35.Children.count(children) === 0) return false;
4134
- const firstChild = import_react35.Children.toArray(children)[0];
4135
- if (!(0, import_react35.isValidElement)(firstChild)) return false;
4224
+ const hasIconFirst = (0, import_react36.useMemo)(() => {
4225
+ if (!children || import_react36.Children.count(children) === 0) return false;
4226
+ const firstChild = import_react36.Children.toArray(children)[0];
4227
+ if (!(0, import_react36.isValidElement)(firstChild)) return false;
4136
4228
  const props2 = firstChild.props;
4137
4229
  return "icon" in props2 && props2.icon !== void 0;
4138
4230
  }, [children]);
4139
- (0, import_react35.useLayoutEffect)(() => {
4231
+ (0, import_react36.useLayoutEffect)(() => {
4140
4232
  if (!contentRef.current || !onOverflow) return;
4141
4233
  if (orientation === "vertical") {
4142
4234
  return;
@@ -4165,13 +4257,13 @@ var init_Radio = __esm({
4165
4257
  "--is-multiline": !!isMultiline,
4166
4258
  "--is-required": isRequired
4167
4259
  };
4168
- const containerClasses = (0, import_dedupe39.default)(
4260
+ const containerClasses = (0, import_dedupe40.default)(
4169
4261
  "mobius-radio__label",
4170
4262
  radioClasses,
4171
4263
  className,
4172
4264
  { "--has-icon-first": hasIconFirst }
4173
4265
  );
4174
- const inputClasses = (0, import_dedupe39.default)("mobius-radio__input", radioClasses);
4266
+ const inputClasses = (0, import_dedupe40.default)("mobius-radio__input", radioClasses);
4175
4267
  const { "aria-describedby": _ariaDescribedBy, ...rest } = otherProps;
4176
4268
  const handleChange = (event) => {
4177
4269
  if (setSelected) {
@@ -4185,9 +4277,9 @@ var init_Radio = __esm({
4185
4277
  onChange(adaptedEvent);
4186
4278
  }
4187
4279
  };
4188
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_jsx_runtime49.Fragment, { children: [
4189
- /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(Label, { className: containerClasses, children: [
4190
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
4280
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_jsx_runtime51.Fragment, { children: [
4281
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(Label, { className: containerClasses, children: [
4282
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
4191
4283
  "input",
4192
4284
  {
4193
4285
  "aria-describedby": otherProps["aria-describedby"],
@@ -4204,12 +4296,12 @@ var init_Radio = __esm({
4204
4296
  ...rest
4205
4297
  }
4206
4298
  ),
4207
- isMultiline ? /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { ref: contentRef, className: "mobius-radio__content--multiline", children: [
4208
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "mobius-radio__content-first-line", children: label }),
4209
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "mobius-radio__extra-content", children })
4210
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { ref: contentRef, className: "mobius-radio__content", children: label || children })
4299
+ isMultiline ? /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { ref: contentRef, className: "mobius-radio__content--multiline", children: [
4300
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "mobius-radio__content-first-line", children: label }),
4301
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "mobius-radio__extra-content", children })
4302
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { ref: contentRef, className: "mobius-radio__content", children: label || children })
4211
4303
  ] }),
4212
- errorMessage && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(ErrorMessage, { errorMessage })
4304
+ errorMessage && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(ErrorMessage, { errorMessage })
4213
4305
  ] });
4214
4306
  };
4215
4307
  Radio.displayName = "Radio";
@@ -4217,19 +4309,19 @@ var init_Radio = __esm({
4217
4309
  });
4218
4310
 
4219
4311
  // src/components/Radio/RadioGroup.tsx
4220
- var import_dedupe40, import_react36, import_jsx_runtime50, getDefaultVal, RadioGroup;
4312
+ var import_dedupe41, import_react37, import_jsx_runtime52, getDefaultVal, RadioGroup;
4221
4313
  var init_RadioGroup = __esm({
4222
4314
  "src/components/Radio/RadioGroup.tsx"() {
4223
4315
  "use strict";
4224
4316
  "use client";
4225
- import_dedupe40 = __toESM(require("classnames/dedupe"));
4226
- import_react36 = require("react");
4317
+ import_dedupe41 = __toESM(require("classnames/dedupe"));
4318
+ import_react37 = require("react");
4227
4319
  init_hooks();
4228
4320
  init_spaceDelimitedList();
4229
4321
  init_ErrorMessage2();
4230
4322
  init_Label2();
4231
4323
  init_Stack2();
4232
- import_jsx_runtime50 = require("react/jsx-runtime");
4324
+ import_jsx_runtime52 = require("react/jsx-runtime");
4233
4325
  getDefaultVal = (children, defaultValue) => {
4234
4326
  if (Array.isArray(children) && defaultValue) {
4235
4327
  const option = children?.find((item) => item.props.value === defaultValue);
@@ -4257,15 +4349,15 @@ var init_RadioGroup = __esm({
4257
4349
  ...rest
4258
4350
  } = props;
4259
4351
  const defaultSelected = getDefaultVal(children, value || defaultValue);
4260
- const [selected, setSelected] = (0, import_react36.useState)(defaultSelected);
4261
- const overflowsRef = (0, import_react36.useRef)({});
4262
- const [hasOverflow, setHasOverflow] = (0, import_react36.useState)(false);
4263
- (0, import_react36.useEffect)(() => {
4352
+ const [selected, setSelected] = (0, import_react37.useState)(defaultSelected);
4353
+ const overflowsRef = (0, import_react37.useRef)({});
4354
+ const [hasOverflow, setHasOverflow] = (0, import_react37.useState)(false);
4355
+ (0, import_react37.useEffect)(() => {
4264
4356
  if (value !== void 0) {
4265
4357
  setSelected(value);
4266
4358
  }
4267
4359
  }, [value]);
4268
- const handleOverflow = (0, import_react36.useCallback)(
4360
+ const handleOverflow = (0, import_react37.useCallback)(
4269
4361
  (radioValue, overflow) => {
4270
4362
  overflowsRef.current = {
4271
4363
  ...overflowsRef.current,
@@ -4289,26 +4381,26 @@ var init_RadioGroup = __esm({
4289
4381
  [`--is-${effectiveOrientation}`]: true,
4290
4382
  [className || ""]: true
4291
4383
  };
4292
- const radioGroupClasses = (0, import_dedupe40.default)(
4384
+ const radioGroupClasses = (0, import_dedupe41.default)(
4293
4385
  "mobius",
4294
4386
  "mobius-radio-group",
4295
4387
  radioClasses,
4296
4388
  validationClasses
4297
4389
  );
4298
- const radioWrapperClasses = (0, import_dedupe40.default)("mobius-radio__wrapper", {
4390
+ const radioWrapperClasses = (0, import_dedupe41.default)("mobius-radio__wrapper", {
4299
4391
  [`--is-${effectiveOrientation}`]: true
4300
4392
  });
4301
- const labelClasses = (0, import_dedupe40.default)(radioClasses, validationClasses);
4302
- const errorMessageId = (0, import_react36.useId)();
4303
- const defaultNameAttrId = (0, import_react36.useId)();
4393
+ const labelClasses = (0, import_dedupe41.default)(radioClasses, validationClasses);
4394
+ const errorMessageId = (0, import_react37.useId)();
4395
+ const defaultNameAttrId = (0, import_react37.useId)();
4304
4396
  const nameAttribute = name || defaultNameAttrId;
4305
4397
  const shouldErrorMessageShow = errorMessage ? errorMessageId : void 0;
4306
4398
  const describedBy = spaceDelimitedList([
4307
4399
  shouldErrorMessageShow,
4308
4400
  props["aria-describedby"]
4309
4401
  ]);
4310
- const labelId = (0, import_react36.useId)();
4311
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
4402
+ const labelId = (0, import_react37.useId)();
4403
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
4312
4404
  "div",
4313
4405
  {
4314
4406
  ...rest,
@@ -4324,12 +4416,12 @@ var init_RadioGroup = __esm({
4324
4416
  ref,
4325
4417
  className: radioGroupClasses,
4326
4418
  role: "radiogroup",
4327
- children: /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(Stack, { gap: "xs", children: [
4328
- label && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Label, { htmlFor: name, id: labelId, className: labelClasses, children: label }),
4329
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: radioWrapperClasses, children: import_react36.Children.map(children, (child) => {
4330
- if ((0, import_react36.isValidElement)(child)) {
4419
+ children: /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(Stack, { gap: "xs", children: [
4420
+ label && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Label, { htmlFor: name, id: labelId, className: labelClasses, children: label }),
4421
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { className: radioWrapperClasses, children: import_react37.Children.map(children, (child) => {
4422
+ if ((0, import_react37.isValidElement)(child)) {
4331
4423
  const childValue = child.props.value;
4332
- return (0, import_react36.cloneElement)(
4424
+ return (0, import_react37.cloneElement)(
4333
4425
  child,
4334
4426
  {
4335
4427
  orientation: effectiveOrientation,
@@ -4347,7 +4439,7 @@ var init_RadioGroup = __esm({
4347
4439
  }
4348
4440
  return child;
4349
4441
  }) }),
4350
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(ErrorMessage, { id: errorMessageId, errorMessage })
4442
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(ErrorMessage, { id: errorMessageId, errorMessage })
4351
4443
  ] })
4352
4444
  }
4353
4445
  );
@@ -4366,47 +4458,47 @@ var init_Radio2 = __esm({
4366
4458
  });
4367
4459
 
4368
4460
  // src/components/Segment/SegmentGroup.tsx
4369
- var import_dedupe41, import_jsx_runtime51, SegmentGroup;
4461
+ var import_dedupe42, import_jsx_runtime53, SegmentGroup;
4370
4462
  var init_SegmentGroup = __esm({
4371
4463
  "src/components/Segment/SegmentGroup.tsx"() {
4372
4464
  "use strict";
4373
- import_dedupe41 = __toESM(require("classnames/dedupe"));
4374
- import_jsx_runtime51 = require("react/jsx-runtime");
4465
+ import_dedupe42 = __toESM(require("classnames/dedupe"));
4466
+ import_jsx_runtime53 = require("react/jsx-runtime");
4375
4467
  SegmentGroup = (props) => {
4376
4468
  const { children, horizontal, gap, className, ...rest } = props;
4377
4469
  const gapClass = gap ? `gap-${gap}` : "";
4378
- const classes = (0, import_dedupe41.default)(
4470
+ const classes = (0, import_dedupe42.default)(
4379
4471
  "mobius",
4380
4472
  "mobius-segment-group",
4381
4473
  className,
4382
4474
  { "--is-horizontal": horizontal },
4383
4475
  gapClass
4384
4476
  );
4385
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: classes, ...rest, children });
4477
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { className: classes, ...rest, children });
4386
4478
  };
4387
4479
  SegmentGroup.displayName = "SegmentGroup";
4388
4480
  }
4389
4481
  });
4390
4482
 
4391
4483
  // src/components/Segment/Segment.tsx
4392
- var import_dedupe42, import_Segment, import_jsx_runtime52, Segment;
4484
+ var import_dedupe43, import_Segment, import_jsx_runtime54, Segment;
4393
4485
  var init_Segment = __esm({
4394
4486
  "src/components/Segment/Segment.tsx"() {
4395
4487
  "use strict";
4396
- import_dedupe42 = __toESM(require("classnames/dedupe"));
4488
+ import_dedupe43 = __toESM(require("classnames/dedupe"));
4397
4489
  import_Segment = require("@simplybusiness/mobius/src/components/Segment/Segment.css");
4398
- import_jsx_runtime52 = require("react/jsx-runtime");
4490
+ import_jsx_runtime54 = require("react/jsx-runtime");
4399
4491
  Segment = (props) => {
4400
4492
  const { heading, children, colour, inverted, className, ...rest } = props;
4401
- const classes = (0, import_dedupe42.default)(
4493
+ const classes = (0, import_dedupe43.default)(
4402
4494
  "mobius",
4403
4495
  "mobius-segment",
4404
4496
  colour,
4405
4497
  { inverted },
4406
4498
  className
4407
4499
  );
4408
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("div", { className: classes, ...rest, children: [
4409
- heading && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { className: "mobius-segment__heading", children: heading }),
4500
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: classes, ...rest, children: [
4501
+ heading && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "mobius-segment__heading", children: heading }),
4410
4502
  children
4411
4503
  ] });
4412
4504
  };
@@ -4424,14 +4516,14 @@ var init_Segment2 = __esm({
4424
4516
  });
4425
4517
 
4426
4518
  // src/components/Select/Select.tsx
4427
- var import_icons12, import_dedupe43, import_react37, import_Select, import_jsx_runtime53, Select;
4519
+ var import_icons12, import_dedupe44, import_react38, import_Select, import_jsx_runtime55, Select;
4428
4520
  var init_Select = __esm({
4429
4521
  "src/components/Select/Select.tsx"() {
4430
4522
  "use strict";
4431
4523
  "use client";
4432
4524
  import_icons12 = require("@simplybusiness/icons");
4433
- import_dedupe43 = __toESM(require("classnames/dedupe"));
4434
- import_react37 = require("react");
4525
+ import_dedupe44 = __toESM(require("classnames/dedupe"));
4526
+ import_react38 = require("react");
4435
4527
  init_hooks();
4436
4528
  init_useLabel2();
4437
4529
  init_spaceDelimitedList();
@@ -4440,7 +4532,7 @@ var init_Select = __esm({
4440
4532
  init_Label2();
4441
4533
  init_Stack2();
4442
4534
  import_Select = require("@simplybusiness/mobius/src/components/Select/Select.css");
4443
- import_jsx_runtime53 = require("react/jsx-runtime");
4535
+ import_jsx_runtime55 = require("react/jsx-runtime");
4444
4536
  Select = ({ ref, ...props }) => {
4445
4537
  const {
4446
4538
  label,
@@ -4461,24 +4553,24 @@ var init_Select = __esm({
4461
4553
  "--is-required": typeof isRequired === "boolean" && isRequired,
4462
4554
  "--is-optional": typeof isRequired === "boolean" && !isRequired
4463
4555
  };
4464
- const sharedClasses = (0, import_dedupe43.default)(validationClasses, stateClasses);
4465
- const wrapperClasses = (0, import_dedupe43.default)(
4556
+ const sharedClasses = (0, import_dedupe44.default)(validationClasses, stateClasses);
4557
+ const wrapperClasses = (0, import_dedupe44.default)(
4466
4558
  "mobius-select__wrapper",
4467
4559
  sharedClasses,
4468
4560
  otherProps.className
4469
4561
  );
4470
- const selectClasses = (0, import_dedupe43.default)(
4562
+ const selectClasses = (0, import_dedupe44.default)(
4471
4563
  "mobius-select",
4472
4564
  sharedClasses,
4473
4565
  otherProps.className
4474
4566
  );
4475
- const labelClasses = (0, import_dedupe43.default)(
4567
+ const labelClasses = (0, import_dedupe44.default)(
4476
4568
  "mobius-label",
4477
4569
  sharedClasses,
4478
4570
  otherProps.className
4479
4571
  );
4480
- const iconClasses = (0, import_dedupe43.default)("mobius-select__icon", sharedClasses);
4481
- const errorMessageId = (0, import_react37.useId)();
4572
+ const iconClasses = (0, import_dedupe44.default)("mobius-select__icon", sharedClasses);
4573
+ const errorMessageId = (0, import_react38.useId)();
4482
4574
  const shouldErrorMessageShow = errorMessage ? errorMessageId : void 0;
4483
4575
  const describedBy = spaceDelimitedList([
4484
4576
  shouldErrorMessageShow,
@@ -4489,10 +4581,10 @@ var init_Select = __esm({
4489
4581
  onChange(e);
4490
4582
  }
4491
4583
  };
4492
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(Stack, { className: "mobius mobius-select__outer", gap: "xs", children: [
4493
- label && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Label, { ...labelProps, className: labelClasses, children: label }),
4494
- /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { className: wrapperClasses, children: [
4495
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
4584
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(Stack, { className: "mobius mobius-select__outer", gap: "xs", children: [
4585
+ label && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Label, { ...labelProps, className: labelClasses, children: label }),
4586
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: wrapperClasses, children: [
4587
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
4496
4588
  "select",
4497
4589
  {
4498
4590
  ...otherProps,
@@ -4508,9 +4600,9 @@ var init_Select = __esm({
4508
4600
  onChange: handleChange
4509
4601
  }
4510
4602
  ),
4511
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("span", { className: iconClasses, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Icon, { icon: import_icons12.chevronDown }) })
4603
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("span", { className: iconClasses, children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Icon, { icon: import_icons12.chevronDown }) })
4512
4604
  ] }),
4513
- errorMessage && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(ErrorMessage, { id: errorMessageId, errorMessage })
4605
+ errorMessage && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(ErrorMessage, { id: errorMessageId, errorMessage })
4514
4606
  ] });
4515
4607
  };
4516
4608
  Select.displayName = "Select";
@@ -4526,15 +4618,15 @@ var init_Select2 = __esm({
4526
4618
  });
4527
4619
 
4528
4620
  // src/components/Slider/Slider.tsx
4529
- var import_dedupe44, import_react38, import_Slider, import_jsx_runtime54;
4621
+ var import_dedupe45, import_react39, import_Slider, import_jsx_runtime56;
4530
4622
  var init_Slider = __esm({
4531
4623
  "src/components/Slider/Slider.tsx"() {
4532
4624
  "use strict";
4533
4625
  "use client";
4534
- import_dedupe44 = __toESM(require("classnames/dedupe"));
4535
- import_react38 = require("react");
4626
+ import_dedupe45 = __toESM(require("classnames/dedupe"));
4627
+ import_react39 = require("react");
4536
4628
  import_Slider = require("@simplybusiness/mobius/src/components/Slider/Slider.css");
4537
- import_jsx_runtime54 = require("react/jsx-runtime");
4629
+ import_jsx_runtime56 = require("react/jsx-runtime");
4538
4630
  }
4539
4631
  });
4540
4632
 
@@ -4547,19 +4639,19 @@ var init_Slider2 = __esm({
4547
4639
  });
4548
4640
 
4549
4641
  // src/components/SVG/SVG.tsx
4550
- var import_react39, import_dedupe45, import_jsx_runtime55, SVG;
4642
+ var import_react40, import_dedupe46, import_jsx_runtime57, SVG;
4551
4643
  var init_SVG = __esm({
4552
4644
  "src/components/SVG/SVG.tsx"() {
4553
4645
  "use strict";
4554
- import_react39 = require("react");
4555
- import_dedupe45 = __toESM(require("classnames/dedupe"));
4556
- import_jsx_runtime55 = require("react/jsx-runtime");
4646
+ import_react40 = require("react");
4647
+ import_dedupe46 = __toESM(require("classnames/dedupe"));
4648
+ import_jsx_runtime57 = require("react/jsx-runtime");
4557
4649
  SVG = ({ ref, ...props }) => {
4558
4650
  const { children, className, ...otherProps } = props;
4559
- const classes = (0, import_dedupe45.default)("mobius", "mobius-svg", className);
4560
- const svgNode = import_react39.Children.only(children);
4651
+ const classes = (0, import_dedupe46.default)("mobius", "mobius-svg", className);
4652
+ const svgNode = import_react40.Children.only(children);
4561
4653
  const { children: svgChildren, viewBox, xmlns } = svgNode.props;
4562
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
4654
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
4563
4655
  "svg",
4564
4656
  {
4565
4657
  viewBox,
@@ -4584,16 +4676,16 @@ var init_SVG2 = __esm({
4584
4676
  });
4585
4677
 
4586
4678
  // src/components/Switch/Switch.tsx
4587
- var import_react40, import_dedupe46, import_Switch, import_jsx_runtime56, Switch;
4679
+ var import_react41, import_dedupe47, import_Switch, import_jsx_runtime58, Switch;
4588
4680
  var init_Switch = __esm({
4589
4681
  "src/components/Switch/Switch.tsx"() {
4590
4682
  "use strict";
4591
4683
  "use client";
4592
- import_react40 = require("react");
4593
- import_dedupe46 = __toESM(require("classnames/dedupe"));
4684
+ import_react41 = require("react");
4685
+ import_dedupe47 = __toESM(require("classnames/dedupe"));
4594
4686
  init_VisuallyHidden2();
4595
4687
  import_Switch = require("@simplybusiness/mobius/src/components/Switch/Switch.css");
4596
- import_jsx_runtime56 = require("react/jsx-runtime");
4688
+ import_jsx_runtime58 = require("react/jsx-runtime");
4597
4689
  Switch = ({ ref, ...props }) => {
4598
4690
  const {
4599
4691
  checked = false,
@@ -4602,11 +4694,11 @@ var init_Switch = __esm({
4602
4694
  isDisabled = false,
4603
4695
  ...otherProps
4604
4696
  } = props;
4605
- const [enabled, setEnabled] = (0, import_react40.useState)(checked);
4606
- (0, import_react40.useEffect)(() => {
4697
+ const [enabled, setEnabled] = (0, import_react41.useState)(checked);
4698
+ (0, import_react41.useEffect)(() => {
4607
4699
  setEnabled(checked);
4608
4700
  }, [checked]);
4609
- const classes = (0, import_dedupe46.default)(
4701
+ const classes = (0, import_dedupe47.default)(
4610
4702
  "mobius",
4611
4703
  "mobius-switch",
4612
4704
  {
@@ -4621,9 +4713,9 @@ var init_Switch = __esm({
4621
4713
  onChange(event);
4622
4714
  }
4623
4715
  };
4624
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("label", { ref, className: classes, children: [
4625
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(VisuallyHidden, { children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { children: enabled ? "On" : "Off" }) }),
4626
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
4716
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("label", { ref, className: classes, children: [
4717
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(VisuallyHidden, { children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("span", { children: enabled ? "On" : "Off" }) }),
4718
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
4627
4719
  "input",
4628
4720
  {
4629
4721
  type: "checkbox",
@@ -4634,7 +4726,7 @@ var init_Switch = __esm({
4634
4726
  ...otherProps
4635
4727
  }
4636
4728
  ),
4637
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { className: "mobius-switch__slider" })
4729
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("span", { className: "mobius-switch__slider" })
4638
4730
  ] });
4639
4731
  };
4640
4732
  Switch.displayName = "Switch";
@@ -4650,114 +4742,114 @@ var init_Switch2 = __esm({
4650
4742
  });
4651
4743
 
4652
4744
  // src/components/Table/Table.tsx
4653
- var import_dedupe47, import_Table, import_jsx_runtime57, Table;
4745
+ var import_dedupe48, import_Table, import_jsx_runtime59, Table;
4654
4746
  var init_Table = __esm({
4655
4747
  "src/components/Table/Table.tsx"() {
4656
4748
  "use strict";
4657
- import_dedupe47 = __toESM(require("classnames/dedupe"));
4749
+ import_dedupe48 = __toESM(require("classnames/dedupe"));
4658
4750
  import_Table = require("@simplybusiness/mobius/src/components/Table/Table.css");
4659
- import_jsx_runtime57 = require("react/jsx-runtime");
4751
+ import_jsx_runtime59 = require("react/jsx-runtime");
4660
4752
  Table = ({ ref, ...props }) => {
4661
- const classes = (0, import_dedupe47.default)("mobius", "mobius-table", props.className);
4662
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("table", { ref, ...props, className: classes });
4753
+ const classes = (0, import_dedupe48.default)("mobius", "mobius-table", props.className);
4754
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("table", { ref, ...props, className: classes });
4663
4755
  };
4664
4756
  Table.displayName = "Table";
4665
4757
  }
4666
4758
  });
4667
4759
 
4668
4760
  // src/components/Table/Head.tsx
4669
- var import_dedupe48, import_jsx_runtime58, Head;
4761
+ var import_dedupe49, import_jsx_runtime60, Head;
4670
4762
  var init_Head = __esm({
4671
4763
  "src/components/Table/Head.tsx"() {
4672
4764
  "use strict";
4673
- import_dedupe48 = __toESM(require("classnames/dedupe"));
4674
- import_jsx_runtime58 = require("react/jsx-runtime");
4765
+ import_dedupe49 = __toESM(require("classnames/dedupe"));
4766
+ import_jsx_runtime60 = require("react/jsx-runtime");
4675
4767
  Head = ({ ref, ...props }) => {
4676
- const classes = (0, import_dedupe48.default)("mobius", "mobius-table__head", props.className);
4677
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("thead", { ref, ...props, className: classes });
4768
+ const classes = (0, import_dedupe49.default)("mobius", "mobius-table__head", props.className);
4769
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("thead", { ref, ...props, className: classes });
4678
4770
  };
4679
4771
  Head.displayName = "Table.Head";
4680
4772
  }
4681
4773
  });
4682
4774
 
4683
4775
  // src/components/Table/Body.tsx
4684
- var import_dedupe49, import_jsx_runtime59, Body;
4776
+ var import_dedupe50, import_jsx_runtime61, Body;
4685
4777
  var init_Body = __esm({
4686
4778
  "src/components/Table/Body.tsx"() {
4687
4779
  "use strict";
4688
- import_dedupe49 = __toESM(require("classnames/dedupe"));
4689
- import_jsx_runtime59 = require("react/jsx-runtime");
4780
+ import_dedupe50 = __toESM(require("classnames/dedupe"));
4781
+ import_jsx_runtime61 = require("react/jsx-runtime");
4690
4782
  Body = ({ ref, ...props }) => {
4691
- const classes = (0, import_dedupe49.default)("mobius", "mobius-table__body", props.className);
4692
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("tbody", { ref, ...props, className: classes });
4783
+ const classes = (0, import_dedupe50.default)("mobius", "mobius-table__body", props.className);
4784
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("tbody", { ref, ...props, className: classes });
4693
4785
  };
4694
4786
  Body.displayName = "Table.Body";
4695
4787
  }
4696
4788
  });
4697
4789
 
4698
4790
  // src/components/Table/Foot.tsx
4699
- var import_dedupe50, import_jsx_runtime60, Foot;
4791
+ var import_dedupe51, import_jsx_runtime62, Foot;
4700
4792
  var init_Foot = __esm({
4701
4793
  "src/components/Table/Foot.tsx"() {
4702
4794
  "use strict";
4703
- import_dedupe50 = __toESM(require("classnames/dedupe"));
4704
- import_jsx_runtime60 = require("react/jsx-runtime");
4795
+ import_dedupe51 = __toESM(require("classnames/dedupe"));
4796
+ import_jsx_runtime62 = require("react/jsx-runtime");
4705
4797
  Foot = ({ ref, ...props }) => {
4706
- const classes = (0, import_dedupe50.default)("mobius", "mobius-table__foot", props.className);
4707
- return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("tfoot", { ref, ...props, className: classes });
4798
+ const classes = (0, import_dedupe51.default)("mobius", "mobius-table__foot", props.className);
4799
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("tfoot", { ref, ...props, className: classes });
4708
4800
  };
4709
4801
  Foot.displayName = "Table.Foot";
4710
4802
  }
4711
4803
  });
4712
4804
 
4713
4805
  // src/components/Table/Row.tsx
4714
- var import_dedupe51, import_jsx_runtime61, Row;
4806
+ var import_dedupe52, import_jsx_runtime63, Row;
4715
4807
  var init_Row = __esm({
4716
4808
  "src/components/Table/Row.tsx"() {
4717
4809
  "use strict";
4718
- import_dedupe51 = __toESM(require("classnames/dedupe"));
4719
- import_jsx_runtime61 = require("react/jsx-runtime");
4810
+ import_dedupe52 = __toESM(require("classnames/dedupe"));
4811
+ import_jsx_runtime63 = require("react/jsx-runtime");
4720
4812
  Row = ({ ref, ...props }) => {
4721
- const classes = (0, import_dedupe51.default)("mobius", "mobius-table__row", props.className);
4722
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("tr", { ref, ...props, className: classes });
4813
+ const classes = (0, import_dedupe52.default)("mobius", "mobius-table__row", props.className);
4814
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("tr", { ref, ...props, className: classes });
4723
4815
  };
4724
4816
  Row.displayName = "Table.Row";
4725
4817
  }
4726
4818
  });
4727
4819
 
4728
4820
  // src/components/Table/HeaderCell.tsx
4729
- var import_dedupe52, import_jsx_runtime62, HeaderCell;
4821
+ var import_dedupe53, import_jsx_runtime64, HeaderCell;
4730
4822
  var init_HeaderCell = __esm({
4731
4823
  "src/components/Table/HeaderCell.tsx"() {
4732
4824
  "use strict";
4733
- import_dedupe52 = __toESM(require("classnames/dedupe"));
4734
- import_jsx_runtime62 = require("react/jsx-runtime");
4825
+ import_dedupe53 = __toESM(require("classnames/dedupe"));
4826
+ import_jsx_runtime64 = require("react/jsx-runtime");
4735
4827
  HeaderCell = ({ ref, ...props }) => {
4736
- const classes = (0, import_dedupe52.default)(
4828
+ const classes = (0, import_dedupe53.default)(
4737
4829
  "mobius",
4738
4830
  "mobius-table__head-cell",
4739
4831
  props.className
4740
4832
  );
4741
- return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("th", { ...props, ref, className: classes });
4833
+ return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("th", { ...props, ref, className: classes });
4742
4834
  };
4743
4835
  HeaderCell.displayName = "Table.HeaderCell";
4744
4836
  }
4745
4837
  });
4746
4838
 
4747
4839
  // src/components/Table/Cell.tsx
4748
- var import_dedupe53, import_jsx_runtime63, Cell;
4840
+ var import_dedupe54, import_jsx_runtime65, Cell;
4749
4841
  var init_Cell = __esm({
4750
4842
  "src/components/Table/Cell.tsx"() {
4751
4843
  "use strict";
4752
- import_dedupe53 = __toESM(require("classnames/dedupe"));
4753
- import_jsx_runtime63 = require("react/jsx-runtime");
4844
+ import_dedupe54 = __toESM(require("classnames/dedupe"));
4845
+ import_jsx_runtime65 = require("react/jsx-runtime");
4754
4846
  Cell = ({ ref, ...props }) => {
4755
- const classes = (0, import_dedupe53.default)(
4847
+ const classes = (0, import_dedupe54.default)(
4756
4848
  "mobius",
4757
4849
  "mobius-table__body-cell",
4758
4850
  props.className
4759
4851
  );
4760
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("td", { ref, ...props, className: classes });
4852
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("td", { ref, ...props, className: classes });
4761
4853
  };
4762
4854
  Cell.displayName = "Table.Cell";
4763
4855
  }
@@ -4787,37 +4879,6 @@ var init_Table2 = __esm({
4787
4879
  }
4788
4880
  });
4789
4881
 
4790
- // src/components/Text/Text.tsx
4791
- var import_dedupe54, import_Text, import_jsx_runtime64, getElementType, Text;
4792
- var init_Text = __esm({
4793
- "src/components/Text/Text.tsx"() {
4794
- "use strict";
4795
- import_dedupe54 = __toESM(require("classnames/dedupe"));
4796
- import_Text = require("@simplybusiness/mobius/src/components/Text/Text.css");
4797
- import_jsx_runtime64 = require("react/jsx-runtime");
4798
- getElementType = (variant, elementType) => {
4799
- if (variant) {
4800
- return ["h1", "h2", "h3", "h4"].includes(variant) ? variant : "p";
4801
- }
4802
- return elementType || "p";
4803
- };
4804
- Text = ({ ref, elementType: Component = "p", ...props }) => {
4805
- const { variant, className, spacing, ...otherProps } = props;
4806
- const elementType = getElementType(variant, Component);
4807
- const variantType = variant || elementType;
4808
- const classes = (0, import_dedupe54.default)(
4809
- "mobius",
4810
- "mobius-text",
4811
- { [`--is-${variantType}`]: variantType },
4812
- { [`--has-line-height-${spacing}`]: spacing },
4813
- className
4814
- );
4815
- return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Component, { ref, ...otherProps, className: classes });
4816
- };
4817
- Text.displayName = "Text";
4818
- }
4819
- });
4820
-
4821
4882
  // src/components/Text/index.tsx
4822
4883
  var init_Text2 = __esm({
4823
4884
  "src/components/Text/index.tsx"() {
@@ -4827,12 +4888,12 @@ var init_Text2 = __esm({
4827
4888
  });
4828
4889
 
4829
4890
  // src/components/TextAreaInput/TextAreaInput.tsx
4830
- var import_dedupe55, import_jsx_runtime65, TextAreaInput;
4891
+ var import_dedupe55, import_jsx_runtime66, TextAreaInput;
4831
4892
  var init_TextAreaInput = __esm({
4832
4893
  "src/components/TextAreaInput/TextAreaInput.tsx"() {
4833
4894
  "use strict";
4834
4895
  import_dedupe55 = __toESM(require("classnames/dedupe"));
4835
- import_jsx_runtime65 = require("react/jsx-runtime");
4896
+ import_jsx_runtime66 = require("react/jsx-runtime");
4836
4897
  TextAreaInput = ({ ref, ...props }) => {
4837
4898
  const { isSelected, isDisabled, isReadOnly, isRequired, ...otherProps } = props;
4838
4899
  const classes = (0, import_dedupe55.default)(
@@ -4845,7 +4906,7 @@ var init_TextAreaInput = __esm({
4845
4906
  },
4846
4907
  otherProps.className
4847
4908
  );
4848
- return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
4909
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
4849
4910
  "textarea",
4850
4911
  {
4851
4912
  ref,
@@ -4869,7 +4930,7 @@ var init_TextAreaInput2 = __esm({
4869
4930
  });
4870
4931
 
4871
4932
  // src/components/TextArea/TextArea.tsx
4872
- var import_dedupe56, import_TextArea, import_jsx_runtime66, TextArea;
4933
+ var import_dedupe56, import_TextArea, import_jsx_runtime67, TextArea;
4873
4934
  var init_TextArea = __esm({
4874
4935
  "src/components/TextArea/TextArea.tsx"() {
4875
4936
  "use strict";
@@ -4881,7 +4942,7 @@ var init_TextArea = __esm({
4881
4942
  init_Stack2();
4882
4943
  init_TextAreaInput2();
4883
4944
  import_TextArea = require("@simplybusiness/mobius/src/components/TextArea/TextArea.css");
4884
- import_jsx_runtime66 = require("react/jsx-runtime");
4945
+ import_jsx_runtime67 = require("react/jsx-runtime");
4885
4946
  TextArea = ({ ref, ...props }) => {
4886
4947
  const {
4887
4948
  isDisabled,
@@ -4901,9 +4962,9 @@ var init_TextArea = __esm({
4901
4962
  },
4902
4963
  validationClasses
4903
4964
  );
4904
- return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(Stack, { className: classes, gap: "xs", children: [
4905
- label && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Label, { ...labelProps, className: labelClasses, children: props.label }),
4906
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
4965
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(Stack, { className: classes, gap: "xs", children: [
4966
+ label && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Label, { ...labelProps, className: labelClasses, children: props.label }),
4967
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
4907
4968
  TextAreaInput,
4908
4969
  {
4909
4970
  ...otherProps,
@@ -4914,7 +4975,7 @@ var init_TextArea = __esm({
4914
4975
  "aria-invalid": errorMessage != null
4915
4976
  }
4916
4977
  ),
4917
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(ErrorMessage, { ...errorMessageProps, errorMessage })
4978
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(ErrorMessage, { ...errorMessageProps, errorMessage })
4918
4979
  ] });
4919
4980
  };
4920
4981
  TextArea.displayName = "TextArea";
@@ -4929,53 +4990,6 @@ var init_TextArea2 = __esm({
4929
4990
  }
4930
4991
  });
4931
4992
 
4932
- // src/components/TextOrHTML/TextOrHTML.tsx
4933
- var import_react41, import_jsx_runtime67, isHTML, TextOrHTML;
4934
- var init_TextOrHTML = __esm({
4935
- "src/components/TextOrHTML/TextOrHTML.tsx"() {
4936
- "use strict";
4937
- import_react41 = require("react");
4938
- init_Text();
4939
- import_jsx_runtime67 = require("react/jsx-runtime");
4940
- isHTML = (text) => /^\s*<[a-z]/i.test(text);
4941
- TextOrHTML = ({
4942
- ref,
4943
- text,
4944
- htmlClassName,
4945
- htmlElementType,
4946
- textWrapper = false,
4947
- autoDetect = false,
4948
- ...textProps
4949
- }) => {
4950
- const textIsHTML = autoDetect && isHTML(text);
4951
- const shouldWrapInText = autoDetect ? textWrapper || !textIsHTML : textWrapper;
4952
- const resolvedElementType = htmlElementType ?? (textIsHTML ? "div" : "span");
4953
- const DangerousComponent = resolvedElementType;
4954
- const dangerousHTML = (0, import_react41.useMemo)(() => ({ __html: text }), [text]);
4955
- const dangerousElement = /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
4956
- DangerousComponent,
4957
- {
4958
- className: htmlClassName,
4959
- dangerouslySetInnerHTML: dangerousHTML
4960
- }
4961
- );
4962
- if (shouldWrapInText) {
4963
- return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Text, { ref, ...textProps, children: dangerousElement });
4964
- }
4965
- return dangerousElement;
4966
- };
4967
- TextOrHTML.displayName = "TextOrHTML";
4968
- }
4969
- });
4970
-
4971
- // src/components/TextOrHTML/index.tsx
4972
- var init_TextOrHTML2 = __esm({
4973
- "src/components/TextOrHTML/index.tsx"() {
4974
- "use strict";
4975
- init_TextOrHTML();
4976
- }
4977
- });
4978
-
4979
4993
  // src/components/Title/Title.tsx
4980
4994
  var import_dedupe57, import_Title, import_jsx_runtime68, Title;
4981
4995
  var init_Title = __esm({