@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
@@ -2148,6 +2148,10 @@ var init_AddressLookup = __esm({
2148
2148
  );
2149
2149
  const handleSelected = (selected) => {
2150
2150
  setError(null);
2151
+ const isEmpty = typeof selected === "string" ? selected === "" : !selected.id && !selected.value;
2152
+ if (isEmpty) {
2153
+ return Promise.resolve();
2154
+ }
2151
2155
  if (typeof selected === "string" || !selected.id) {
2152
2156
  setError(new Error("Selected option missing id"));
2153
2157
  return Promise.resolve();
@@ -2195,19 +2199,98 @@ var init_AddressLookup2 = __esm({
2195
2199
  }
2196
2200
  });
2197
2201
 
2202
+ // src/components/Text/Text.tsx
2203
+ var import_dedupe14, import_Text, import_jsx_runtime15, getElementType, Text;
2204
+ var init_Text = __esm({
2205
+ "src/components/Text/Text.tsx"() {
2206
+ "use strict";
2207
+ import_dedupe14 = __toESM(require("classnames/dedupe"));
2208
+ import_Text = require("@simplybusiness/mobius/src/components/Text/Text.css");
2209
+ import_jsx_runtime15 = require("react/jsx-runtime");
2210
+ getElementType = (variant, elementType) => {
2211
+ if (variant) {
2212
+ return ["h1", "h2", "h3", "h4"].includes(variant) ? variant : "p";
2213
+ }
2214
+ return elementType || "p";
2215
+ };
2216
+ Text = ({ ref, elementType: Component = "p", ...props }) => {
2217
+ const { variant, className, spacing, ...otherProps } = props;
2218
+ const elementType = getElementType(variant, Component);
2219
+ const variantType = variant || elementType;
2220
+ const classes = (0, import_dedupe14.default)(
2221
+ "mobius",
2222
+ "mobius-text",
2223
+ { [`--is-${variantType}`]: variantType },
2224
+ { [`--has-line-height-${spacing}`]: spacing },
2225
+ className
2226
+ );
2227
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Component, { ref, ...otherProps, className: classes });
2228
+ };
2229
+ Text.displayName = "Text";
2230
+ }
2231
+ });
2232
+
2233
+ // src/components/TextOrHTML/TextOrHTML.tsx
2234
+ var import_react15, import_jsx_runtime16, isHTML, TextOrHTML;
2235
+ var init_TextOrHTML = __esm({
2236
+ "src/components/TextOrHTML/TextOrHTML.tsx"() {
2237
+ "use strict";
2238
+ import_react15 = require("react");
2239
+ init_Text();
2240
+ import_jsx_runtime16 = require("react/jsx-runtime");
2241
+ isHTML = (text) => /^\s*<[a-z]/i.test(text);
2242
+ TextOrHTML = ({
2243
+ ref,
2244
+ text,
2245
+ htmlClassName,
2246
+ htmlElementType,
2247
+ textWrapper = false,
2248
+ autoDetect = false,
2249
+ ...textProps
2250
+ }) => {
2251
+ const textIsHTML = autoDetect && isHTML(text);
2252
+ const shouldWrapInText = autoDetect ? textWrapper || !textIsHTML : textWrapper;
2253
+ const resolvedElementType = htmlElementType ?? (textIsHTML ? "div" : "span");
2254
+ const DangerousComponent = resolvedElementType;
2255
+ const dangerousHTML = (0, import_react15.useMemo)(() => ({ __html: text }), [text]);
2256
+ const dangerousElement = /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
2257
+ DangerousComponent,
2258
+ {
2259
+ className: htmlClassName,
2260
+ dangerouslySetInnerHTML: dangerousHTML
2261
+ }
2262
+ );
2263
+ if (shouldWrapInText) {
2264
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Text, { ref, ...textProps, children: dangerousElement });
2265
+ }
2266
+ return dangerousElement;
2267
+ };
2268
+ TextOrHTML.displayName = "TextOrHTML";
2269
+ }
2270
+ });
2271
+
2272
+ // src/components/TextOrHTML/index.tsx
2273
+ var init_TextOrHTML2 = __esm({
2274
+ "src/components/TextOrHTML/index.tsx"() {
2275
+ "use strict";
2276
+ init_TextOrHTML();
2277
+ }
2278
+ });
2279
+
2198
2280
  // src/components/Alert/Alert.tsx
2199
2281
  function isAlertVariant(value) {
2200
2282
  return value === "info" || value === "success" || value === "warning" || value === "error";
2201
2283
  }
2202
- var import_icons3, import_dedupe14, import_Alert, import_jsx_runtime15, Alert;
2284
+ var import_icons3, import_dedupe15, import_Alert, import_jsx_runtime17, Alert;
2203
2285
  var init_Alert = __esm({
2204
2286
  "src/components/Alert/Alert.tsx"() {
2205
2287
  "use strict";
2206
2288
  import_icons3 = require("@simplybusiness/icons");
2207
- import_dedupe14 = __toESM(require("classnames/dedupe"));
2289
+ import_dedupe15 = __toESM(require("classnames/dedupe"));
2208
2290
  init_Icon2();
2291
+ init_TextOrHTML2();
2209
2292
  import_Alert = require("@simplybusiness/mobius/src/components/Alert/Alert.css");
2210
- import_jsx_runtime15 = require("react/jsx-runtime");
2293
+ import_jsx_runtime17 = require("react/jsx-runtime");
2211
2294
  Alert = ({ ref, ...props }) => {
2212
2295
  const {
2213
2296
  elementType: Element = "div",
@@ -2220,7 +2303,7 @@ var init_Alert = __esm({
2220
2303
  if (!show) return null;
2221
2304
  const variant = variantProp && isAlertVariant(variantProp) ? variantProp : "info";
2222
2305
  const colorValue = variant === "success" ? `var(--color-valid)` : `var(--color-${variant})`;
2223
- const classes = (0, import_dedupe14.default)(
2306
+ const classes = (0, import_dedupe15.default)(
2224
2307
  "mobius",
2225
2308
  "mobius-alert",
2226
2309
  {
@@ -2238,14 +2321,23 @@ var init_Alert = __esm({
2238
2321
  warning: import_icons3.warning,
2239
2322
  error: import_icons3.error
2240
2323
  };
2241
- const headerClasses = (0, import_dedupe14.default)("mobius", "mobius-alert__header");
2242
- const iconClasses = (0, import_dedupe14.default)("mobius", "mobius-alert__icon");
2243
- const contentClasses = (0, import_dedupe14.default)("mobius", "mobius-alert__content");
2244
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(Element, { ref, role: "alert", ...otherProps, className: classes, children: [
2245
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: iconClasses, children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Icon, { icon: icon[variant], color: colorValue }) }),
2246
- /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { children: [
2247
- header && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("p", { className: headerClasses, children: header }),
2248
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: contentClasses, children })
2324
+ const headerClasses = (0, import_dedupe15.default)("mobius", "mobius-alert__header");
2325
+ const iconClasses = (0, import_dedupe15.default)("mobius", "mobius-alert__icon");
2326
+ const contentClasses = (0, import_dedupe15.default)("mobius", "mobius-alert__content");
2327
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(Element, { ref, role: "alert", ...otherProps, className: classes, children: [
2328
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { className: iconClasses, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Icon, { icon: icon[variant], color: colorValue }) }),
2329
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { children: [
2330
+ header && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
2331
+ TextOrHTML,
2332
+ {
2333
+ autoDetect: true,
2334
+ htmlElementType: "span",
2335
+ className: headerClasses,
2336
+ htmlClassName: headerClasses,
2337
+ text: header
2338
+ }
2339
+ ),
2340
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: contentClasses, children })
2249
2341
  ] })
2250
2342
  ] });
2251
2343
  };
@@ -2262,14 +2354,14 @@ var init_Alert2 = __esm({
2262
2354
  });
2263
2355
 
2264
2356
  // src/components/Box/Box.tsx
2265
- var import_dedupe15, import_Box, import_jsx_runtime16, Box;
2357
+ var import_dedupe16, import_Box, import_jsx_runtime18, Box;
2266
2358
  var init_Box = __esm({
2267
2359
  "src/components/Box/Box.tsx"() {
2268
2360
  "use strict";
2269
- import_dedupe15 = __toESM(require("classnames/dedupe"));
2361
+ import_dedupe16 = __toESM(require("classnames/dedupe"));
2270
2362
  init_utils();
2271
2363
  import_Box = require("@simplybusiness/mobius/src/components/Box/Box.css");
2272
- import_jsx_runtime16 = require("react/jsx-runtime");
2364
+ import_jsx_runtime18 = require("react/jsx-runtime");
2273
2365
  Box = ({ ref, ...props }) => {
2274
2366
  const {
2275
2367
  elementType: Element = "div",
@@ -2295,7 +2387,7 @@ var init_Box = __esm({
2295
2387
  style,
2296
2388
  ...otherProps
2297
2389
  } = props;
2298
- const classes = (0, import_dedupe15.default)("mobius", "mobius-box", otherProps.className);
2390
+ const classes = (0, import_dedupe16.default)("mobius", "mobius-box", otherProps.className);
2299
2391
  const styleProps = filterUndefinedProps({
2300
2392
  padding: getSpacingValue(padding),
2301
2393
  paddingInline: getSpacingValue(paddingInline || paddingX),
@@ -2312,7 +2404,7 @@ var init_Box = __esm({
2312
2404
  height,
2313
2405
  ...style
2314
2406
  });
2315
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Element, { ref, style: styleProps, ...otherProps, className: classes });
2407
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Element, { ref, style: styleProps, ...otherProps, className: classes });
2316
2408
  };
2317
2409
  Box.displayName = "Box";
2318
2410
  }
@@ -2327,27 +2419,27 @@ var init_Box2 = __esm({
2327
2419
  });
2328
2420
 
2329
2421
  // src/components/Breadcrumbs/Breadcrumbs.tsx
2330
- var import_react15, import_dedupe16, import_Breadcrumbs, import_jsx_runtime17, Breadcrumbs;
2422
+ var import_react16, import_dedupe17, import_Breadcrumbs, import_jsx_runtime19, Breadcrumbs;
2331
2423
  var init_Breadcrumbs = __esm({
2332
2424
  "src/components/Breadcrumbs/Breadcrumbs.tsx"() {
2333
2425
  "use strict";
2334
2426
  "use client";
2335
- import_react15 = require("react");
2336
- import_dedupe16 = __toESM(require("classnames/dedupe"));
2427
+ import_react16 = require("react");
2428
+ import_dedupe17 = __toESM(require("classnames/dedupe"));
2337
2429
  import_Breadcrumbs = require("@simplybusiness/mobius/src/components/Breadcrumbs/Breadcrumbs.css");
2338
- import_jsx_runtime17 = require("react/jsx-runtime");
2430
+ import_jsx_runtime19 = require("react/jsx-runtime");
2339
2431
  Breadcrumbs = ({ ref, ...props }) => {
2340
2432
  const { "aria-label": ariaLabel = "Breadcrumbs" } = props;
2341
2433
  const { navProps } = { navProps: { "aria-label": ariaLabel } };
2342
2434
  const { children, ...otherProps } = props;
2343
- const childArray = import_react15.Children.toArray(children);
2344
- const classes = (0, import_dedupe16.default)(
2435
+ const childArray = import_react16.Children.toArray(children);
2436
+ const classes = (0, import_dedupe17.default)(
2345
2437
  "mobius",
2346
2438
  "mobius-breadcrumb",
2347
2439
  otherProps.className
2348
2440
  );
2349
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("nav", { ref, ...otherProps, ...navProps, className: classes, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("ul", { children: childArray.map(
2350
- (child, i) => (0, import_react15.cloneElement)(
2441
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("nav", { ref, ...otherProps, ...navProps, className: classes, children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("ul", { children: childArray.map(
2442
+ (child, i) => (0, import_react16.cloneElement)(
2351
2443
  child,
2352
2444
  {
2353
2445
  key: i,
@@ -2361,22 +2453,22 @@ var init_Breadcrumbs = __esm({
2361
2453
  });
2362
2454
 
2363
2455
  // src/components/Breadcrumbs/BreadcrumbItem.tsx
2364
- var import_react16, import_dedupe17, import_jsx_runtime18, BreadcrumbItem;
2456
+ var import_react17, import_dedupe18, import_jsx_runtime20, BreadcrumbItem;
2365
2457
  var init_BreadcrumbItem = __esm({
2366
2458
  "src/components/Breadcrumbs/BreadcrumbItem.tsx"() {
2367
2459
  "use strict";
2368
2460
  "use client";
2369
- import_react16 = require("react");
2370
- import_dedupe17 = __toESM(require("classnames/dedupe"));
2461
+ import_react17 = require("react");
2462
+ import_dedupe18 = __toESM(require("classnames/dedupe"));
2371
2463
  init_Box2();
2372
- import_jsx_runtime18 = require("react/jsx-runtime");
2464
+ import_jsx_runtime20 = require("react/jsx-runtime");
2373
2465
  BreadcrumbItem = ({ ref, ...props }) => {
2374
2466
  const {
2375
2467
  isDisabled = false,
2376
2468
  isCurrent = false,
2377
2469
  "aria-current": ariaCurrent = "page",
2378
2470
  children,
2379
- separator = /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Box, { className: "mobius-breadcrumb__separator", "aria-hidden": "true", children: ">" }),
2471
+ separator = /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Box, { className: "mobius-breadcrumb__separator", "aria-hidden": "true", children: ">" }),
2380
2472
  ...otherProps
2381
2473
  } = props;
2382
2474
  const { itemProps } = {
@@ -2386,14 +2478,14 @@ var init_BreadcrumbItem = __esm({
2386
2478
  ...otherProps
2387
2479
  }
2388
2480
  };
2389
- const classes = (0, import_dedupe17.default)(
2481
+ const classes = (0, import_dedupe18.default)(
2390
2482
  "mobius",
2391
2483
  "mobius-breadcrumb__item",
2392
2484
  props.className
2393
2485
  );
2394
- const child = typeof children === "string" ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { ...itemProps, children }) : import_react16.Children.only(children);
2395
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("li", { className: classes, children: [
2396
- (0, import_react16.cloneElement)(child, {
2486
+ const child = typeof children === "string" ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { ...itemProps, children }) : import_react17.Children.only(children);
2487
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("li", { className: classes, children: [
2488
+ (0, import_react17.cloneElement)(child, {
2397
2489
  ...child.props,
2398
2490
  ...itemProps,
2399
2491
  ref
@@ -2415,19 +2507,19 @@ var init_Breadcrumbs2 = __esm({
2415
2507
  });
2416
2508
 
2417
2509
  // src/components/Button/Loading.tsx
2418
- var import_icons4, import_jsx_runtime19, Loading;
2510
+ var import_icons4, import_jsx_runtime21, Loading;
2419
2511
  var init_Loading = __esm({
2420
2512
  "src/components/Button/Loading.tsx"() {
2421
2513
  "use strict";
2422
2514
  import_icons4 = require("@simplybusiness/icons");
2423
2515
  init_Icon2();
2424
2516
  init_VisuallyHidden2();
2425
- import_jsx_runtime19 = require("react/jsx-runtime");
2517
+ import_jsx_runtime21 = require("react/jsx-runtime");
2426
2518
  Loading = (props) => {
2427
2519
  const { children } = props;
2428
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_jsx_runtime19.Fragment, { children: [
2429
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "mobius-button__icon-wrapper", children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Icon, { icon: import_icons4.loading, spin: true, size: "md" }) }),
2430
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(VisuallyHidden, { className: "mobius-button__loading-text", children: "Loading" }),
2520
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(import_jsx_runtime21.Fragment, { children: [
2521
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: "mobius-button__icon-wrapper", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Icon, { icon: import_icons4.loading, spin: true, size: "md" }) }),
2522
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(VisuallyHidden, { className: "mobius-button__loading-text", children: "Loading" }),
2431
2523
  children
2432
2524
  ] });
2433
2525
  };
@@ -2435,33 +2527,33 @@ var init_Loading = __esm({
2435
2527
  });
2436
2528
 
2437
2529
  // src/components/Button/Success.tsx
2438
- var import_icons5, import_jsx_runtime20, Success;
2530
+ var import_icons5, import_jsx_runtime22, Success;
2439
2531
  var init_Success = __esm({
2440
2532
  "src/components/Button/Success.tsx"() {
2441
2533
  "use strict";
2442
2534
  import_icons5 = require("@simplybusiness/icons");
2443
2535
  init_Icon2();
2444
2536
  init_VisuallyHidden2();
2445
- import_jsx_runtime20 = require("react/jsx-runtime");
2446
- Success = () => /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_jsx_runtime20.Fragment, { children: [
2447
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "mobius-button__icon-wrapper", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Icon, { icon: import_icons5.tick, size: "md" }) }),
2448
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(VisuallyHidden, { className: "mobius-button__success-text", children: "Success" })
2537
+ import_jsx_runtime22 = require("react/jsx-runtime");
2538
+ Success = () => /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(import_jsx_runtime22.Fragment, { children: [
2539
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { className: "mobius-button__icon-wrapper", children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Icon, { icon: import_icons5.tick, size: "md" }) }),
2540
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(VisuallyHidden, { className: "mobius-button__success-text", children: "Success" })
2449
2541
  ] });
2450
2542
  }
2451
2543
  });
2452
2544
 
2453
2545
  // src/components/Button/Button.tsx
2454
- var import_dedupe18, import_Button, import_jsx_runtime21, Button;
2546
+ var import_dedupe19, import_Button, import_jsx_runtime23, Button;
2455
2547
  var init_Button = __esm({
2456
2548
  "src/components/Button/Button.tsx"() {
2457
2549
  "use strict";
2458
2550
  "use client";
2459
- import_dedupe18 = __toESM(require("classnames/dedupe"));
2551
+ import_dedupe19 = __toESM(require("classnames/dedupe"));
2460
2552
  init_Loading();
2461
2553
  init_useButton2();
2462
2554
  init_Success();
2463
2555
  import_Button = require("@simplybusiness/mobius/src/components/Button/Button.css");
2464
- import_jsx_runtime21 = require("react/jsx-runtime");
2556
+ import_jsx_runtime23 = require("react/jsx-runtime");
2465
2557
  Button = ({ ref, ...props }) => {
2466
2558
  const {
2467
2559
  children,
@@ -2476,7 +2568,7 @@ var init_Button = __esm({
2476
2568
  ...otherProps
2477
2569
  } = props;
2478
2570
  const { buttonProps } = useButton(props);
2479
- otherProps.className = (0, import_dedupe18.default)(
2571
+ otherProps.className = (0, import_dedupe19.default)(
2480
2572
  "mobius",
2481
2573
  "mobius-button",
2482
2574
  `--variant-${variant}`,
@@ -2488,9 +2580,9 @@ var init_Button = __esm({
2488
2580
  },
2489
2581
  otherProps.className
2490
2582
  );
2491
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(Component, { ref, ...buttonProps, ...otherProps, children: [
2492
- isLoading ? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Loading, { children }) : children,
2493
- isSuccess && !isLoading && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Success, {})
2583
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(Component, { ref, ...buttonProps, ...otherProps, children: [
2584
+ isLoading ? /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Loading, { children }) : children,
2585
+ isSuccess && !isLoading && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Success, {})
2494
2586
  ] });
2495
2587
  };
2496
2588
  Button.displayName = "Button";
@@ -2506,23 +2598,23 @@ var init_Button2 = __esm({
2506
2598
  });
2507
2599
 
2508
2600
  // src/components/Container/Container.tsx
2509
- var import_dedupe19, import_Container, import_jsx_runtime22, Container;
2601
+ var import_dedupe20, import_Container, import_jsx_runtime24, Container;
2510
2602
  var init_Container = __esm({
2511
2603
  "src/components/Container/Container.tsx"() {
2512
2604
  "use strict";
2513
- import_dedupe19 = __toESM(require("classnames/dedupe"));
2605
+ import_dedupe20 = __toESM(require("classnames/dedupe"));
2514
2606
  init_utils();
2515
2607
  import_Container = require("@simplybusiness/mobius/src/components/Container/Container.css");
2516
- import_jsx_runtime22 = require("react/jsx-runtime");
2608
+ import_jsx_runtime24 = require("react/jsx-runtime");
2517
2609
  Container = ({ ref, ...props }) => {
2518
2610
  const { elementType: Element = "div", size = "md", ...otherProps } = props;
2519
- const classes = (0, import_dedupe19.default)(
2611
+ const classes = (0, import_dedupe20.default)(
2520
2612
  "mobius",
2521
2613
  "mobius-container",
2522
2614
  sizeClasses(size),
2523
2615
  otherProps.className
2524
2616
  );
2525
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Element, { ref, ...otherProps, className: classes });
2617
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Element, { ref, ...otherProps, className: classes });
2526
2618
  };
2527
2619
  Container.displayName = "Container";
2528
2620
  }
@@ -2575,17 +2667,17 @@ var init_validation = __esm({
2575
2667
  });
2576
2668
 
2577
2669
  // src/components/DateField/DateField.tsx
2578
- var import_dedupe20, import_react17, import_jsx_runtime23, MIN_MAX_ERROR, DateField;
2670
+ var import_dedupe21, import_react18, import_jsx_runtime25, MIN_MAX_ERROR, DateField;
2579
2671
  var init_DateField = __esm({
2580
2672
  "src/components/DateField/DateField.tsx"() {
2581
2673
  "use strict";
2582
2674
  "use client";
2583
- import_dedupe20 = __toESM(require("classnames/dedupe"));
2584
- import_react17 = require("react");
2675
+ import_dedupe21 = __toESM(require("classnames/dedupe"));
2676
+ import_react18 = require("react");
2585
2677
  init_mergeRefs();
2586
2678
  init_TextField2();
2587
2679
  init_validation();
2588
- import_jsx_runtime23 = require("react/jsx-runtime");
2680
+ import_jsx_runtime25 = require("react/jsx-runtime");
2589
2681
  MIN_MAX_ERROR = '"min" value should not be greater than "max" value.';
2590
2682
  DateField = ({ ref, ...props }) => {
2591
2683
  const {
@@ -2598,10 +2690,10 @@ var init_DateField = __esm({
2598
2690
  value,
2599
2691
  ...otherProps
2600
2692
  } = props;
2601
- const [error3, setError] = (0, import_react17.useState)(errorMessage);
2602
- const [isInvalid, setIsInvalid] = (0, import_react17.useState)(void 0);
2603
- const localRef = (0, import_react17.useRef)(null);
2604
- const classes = (0, import_dedupe20.default)("mobius-date-field", className);
2693
+ const [error3, setError] = (0, import_react18.useState)(errorMessage);
2694
+ const [isInvalid, setIsInvalid] = (0, import_react18.useState)(void 0);
2695
+ const localRef = (0, import_react18.useRef)(null);
2696
+ const classes = (0, import_dedupe21.default)("mobius-date-field", className);
2605
2697
  const formattedMin = min ? convertToDateFormat(min, format) : void 0;
2606
2698
  const formattedMax = max ? convertToDateFormat(max, format) : void 0;
2607
2699
  const formattedDefaultValue = defaultValue ? convertToDateFormat(defaultValue, format) : void 0;
@@ -2614,7 +2706,7 @@ var init_DateField = __esm({
2614
2706
  setError(props.errorMessage);
2615
2707
  setIsInvalid(false);
2616
2708
  };
2617
- (0, import_react17.useEffect)(() => {
2709
+ (0, import_react18.useEffect)(() => {
2618
2710
  if (!isValidDate(min, format)) {
2619
2711
  setInvalidState(`Invalid min date: ${min}`);
2620
2712
  return;
@@ -2647,7 +2739,7 @@ var init_DateField = __esm({
2647
2739
  validate();
2648
2740
  otherProps.onBlur?.(event);
2649
2741
  };
2650
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
2742
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2651
2743
  TextField,
2652
2744
  {
2653
2745
  ref: mergeRefs([localRef, ref]),
@@ -2678,23 +2770,23 @@ var init_DateField2 = __esm({
2678
2770
  });
2679
2771
 
2680
2772
  // src/components/Drawer/Content.tsx
2681
- var import_jsx_runtime24, Content;
2773
+ var import_jsx_runtime26, Content;
2682
2774
  var init_Content = __esm({
2683
2775
  "src/components/Drawer/Content.tsx"() {
2684
2776
  "use strict";
2685
- import_jsx_runtime24 = require("react/jsx-runtime");
2686
- Content = ({ ref, children, ...otherProps }) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { ref, ...otherProps, className: "mobius-drawer__content", children });
2777
+ import_jsx_runtime26 = require("react/jsx-runtime");
2778
+ Content = ({ ref, children, ...otherProps }) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { ref, ...otherProps, className: "mobius-drawer__content", children });
2687
2779
  Content.displayName = "Content";
2688
2780
  }
2689
2781
  });
2690
2782
 
2691
2783
  // src/components/Drawer/DrawerContext.tsx
2692
- var import_react18, DrawerContext;
2784
+ var import_react19, DrawerContext;
2693
2785
  var init_DrawerContext = __esm({
2694
2786
  "src/components/Drawer/DrawerContext.tsx"() {
2695
2787
  "use strict";
2696
- import_react18 = require("react");
2697
- DrawerContext = (0, import_react18.createContext)({
2788
+ import_react19 = require("react");
2789
+ DrawerContext = (0, import_react19.createContext)({
2698
2790
  onClose: () => {
2699
2791
  },
2700
2792
  closeLabel: void 0,
@@ -2704,19 +2796,19 @@ var init_DrawerContext = __esm({
2704
2796
  });
2705
2797
 
2706
2798
  // src/components/Drawer/Drawer.tsx
2707
- var import_dedupe21, import_react19, import_Drawer, import_jsx_runtime25, TRANSITION_CSS_VARIABLE, Drawer;
2799
+ var import_dedupe22, import_react20, import_Drawer, import_jsx_runtime27, TRANSITION_CSS_VARIABLE, Drawer;
2708
2800
  var init_Drawer = __esm({
2709
2801
  "src/components/Drawer/Drawer.tsx"() {
2710
2802
  "use strict";
2711
2803
  "use client";
2712
- import_dedupe21 = __toESM(require("classnames/dedupe"));
2713
- import_react19 = require("react");
2804
+ import_dedupe22 = __toESM(require("classnames/dedupe"));
2805
+ import_react20 = require("react");
2714
2806
  init_hooks();
2715
2807
  init_utils();
2716
2808
  init_VisuallyHidden2();
2717
2809
  init_DrawerContext();
2718
2810
  import_Drawer = require("@simplybusiness/mobius/src/components/Drawer/Drawer.css");
2719
- import_jsx_runtime25 = require("react/jsx-runtime");
2811
+ import_jsx_runtime27 = require("react/jsx-runtime");
2720
2812
  TRANSITION_CSS_VARIABLE = "--drawer-transition-duration";
2721
2813
  Drawer = ({ ref, ...props }) => {
2722
2814
  const {
@@ -2729,8 +2821,8 @@ var init_Drawer = __esm({
2729
2821
  onClose,
2730
2822
  children
2731
2823
  } = props;
2732
- const dialogRef = (0, import_react19.useRef)(null);
2733
- const [shouldTransition, setShouldTransition] = (0, import_react19.useState)(false);
2824
+ const dialogRef = (0, import_react20.useRef)(null);
2825
+ const [shouldTransition, setShouldTransition] = (0, import_react20.useState)(false);
2734
2826
  const { close } = useDialog({
2735
2827
  ref: dialogRef,
2736
2828
  isOpen,
@@ -2741,9 +2833,9 @@ var init_Drawer = __esm({
2741
2833
  CSSVariable: TRANSITION_CSS_VARIABLE
2742
2834
  }
2743
2835
  });
2744
- const hiddenId = `dialog-screen-reader-announce-${(0, import_react19.useId)()}`;
2745
- const headerId = `dialog-header-${(0, import_react19.useId)()}`;
2746
- const dialogClasses = (0, import_dedupe21.default)(
2836
+ const hiddenId = `dialog-screen-reader-announce-${(0, import_react20.useId)()}`;
2837
+ const headerId = `dialog-header-${(0, import_react20.useId)()}`;
2838
+ const dialogClasses = (0, import_dedupe22.default)(
2747
2839
  "mobius",
2748
2840
  "mobius-drawer",
2749
2841
  `--${direction}`,
@@ -2752,10 +2844,10 @@ var init_Drawer = __esm({
2752
2844
  "--should-transition": shouldTransition
2753
2845
  }
2754
2846
  );
2755
- (0, import_react19.useEffect)(() => {
2847
+ (0, import_react20.useEffect)(() => {
2756
2848
  setShouldTransition(supportsDialog());
2757
2849
  }, []);
2758
- const contextValue = (0, import_react19.useMemo)(
2850
+ const contextValue = (0, import_react20.useMemo)(
2759
2851
  () => ({
2760
2852
  onClose: close,
2761
2853
  closeLabel,
@@ -2763,18 +2855,18 @@ var init_Drawer = __esm({
2763
2855
  }),
2764
2856
  [close, closeLabel, headerId]
2765
2857
  );
2766
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
2858
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
2767
2859
  "dialog",
2768
2860
  {
2769
- id: (0, import_react19.useId)(),
2861
+ id: (0, import_react20.useId)(),
2770
2862
  ref: mergeRefs([dialogRef, ref]),
2771
2863
  onCancel: close,
2772
2864
  className: dialogClasses,
2773
2865
  "aria-describedby": hiddenId,
2774
2866
  "aria-labelledby": headerId,
2775
2867
  children: [
2776
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(VisuallyHidden, { children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { id: hiddenId, children: announce }) }),
2777
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(DrawerContext.Provider, { value: contextValue, children })
2868
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(VisuallyHidden, { children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { id: hiddenId, children: announce }) }),
2869
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(DrawerContext.Provider, { value: contextValue, children })
2778
2870
  ]
2779
2871
  }
2780
2872
  );
@@ -2784,21 +2876,21 @@ var init_Drawer = __esm({
2784
2876
  });
2785
2877
 
2786
2878
  // src/components/Drawer/useDrawer.ts
2787
- var import_react20, useDrawer;
2879
+ var import_react21, useDrawer;
2788
2880
  var init_useDrawer = __esm({
2789
2881
  "src/components/Drawer/useDrawer.ts"() {
2790
2882
  "use strict";
2791
- import_react20 = require("react");
2883
+ import_react21 = require("react");
2792
2884
  init_DrawerContext();
2793
2885
  useDrawer = () => {
2794
- const { onClose, closeLabel, headerId } = (0, import_react20.useContext)(DrawerContext);
2886
+ const { onClose, closeLabel, headerId } = (0, import_react21.useContext)(DrawerContext);
2795
2887
  return { onClose, closeLabel, headerId };
2796
2888
  };
2797
2889
  }
2798
2890
  });
2799
2891
 
2800
2892
  // src/components/Drawer/Header.tsx
2801
- var import_icons6, import_jsx_runtime26, Header;
2893
+ var import_icons6, import_jsx_runtime28, Header;
2802
2894
  var init_Header = __esm({
2803
2895
  "src/components/Drawer/Header.tsx"() {
2804
2896
  "use strict";
@@ -2806,12 +2898,12 @@ var init_Header = __esm({
2806
2898
  init_Button2();
2807
2899
  init_Icon2();
2808
2900
  init_useDrawer();
2809
- import_jsx_runtime26 = require("react/jsx-runtime");
2901
+ import_jsx_runtime28 = require("react/jsx-runtime");
2810
2902
  Header = ({ ref, children, ...otherProps }) => {
2811
2903
  const { onClose, closeLabel, headerId } = useDrawer();
2812
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("header", { ref, ...otherProps, className: "mobius-drawer__header", children: [
2813
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("h2", { id: headerId, children }),
2814
- /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
2904
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("header", { ref, ...otherProps, className: "mobius-drawer__header", children: [
2905
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("h2", { id: headerId, children }),
2906
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
2815
2907
  Button,
2816
2908
  {
2817
2909
  "aria-label": "Close",
@@ -2820,7 +2912,7 @@ var init_Header = __esm({
2820
2912
  className: "mobius-drawer__close",
2821
2913
  size: "sm",
2822
2914
  children: [
2823
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Icon, { icon: import_icons6.cross }),
2915
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Icon, { icon: import_icons6.cross }),
2824
2916
  " ",
2825
2917
  closeLabel
2826
2918
  ]
@@ -2849,17 +2941,17 @@ var init_Drawer2 = __esm({
2849
2941
  });
2850
2942
 
2851
2943
  // src/components/DropdownMenu/DropdownMenu.tsx
2852
- var import_react21, import_react_accessible_dropdown_menu_hook, import_dedupe22, import_DropdownMenu, import_jsx_runtime27, DropdownMenu;
2944
+ var import_react22, import_react_accessible_dropdown_menu_hook, import_dedupe23, import_DropdownMenu, import_jsx_runtime29, DropdownMenu;
2853
2945
  var init_DropdownMenu = __esm({
2854
2946
  "src/components/DropdownMenu/DropdownMenu.tsx"() {
2855
2947
  "use strict";
2856
2948
  "use client";
2857
- import_react21 = require("react");
2949
+ import_react22 = require("react");
2858
2950
  import_react_accessible_dropdown_menu_hook = __toESM(require("react-accessible-dropdown-menu-hook"));
2859
- import_dedupe22 = __toESM(require("classnames/dedupe"));
2951
+ import_dedupe23 = __toESM(require("classnames/dedupe"));
2860
2952
  init_Button2();
2861
2953
  import_DropdownMenu = require("@simplybusiness/mobius/src/components/DropdownMenu/DropdownMenu.css");
2862
- import_jsx_runtime27 = require("react/jsx-runtime");
2954
+ import_jsx_runtime29 = require("react/jsx-runtime");
2863
2955
  DropdownMenu = ({ ref, ...props }) => {
2864
2956
  const {
2865
2957
  elementType: Element = "nav",
@@ -2868,21 +2960,21 @@ var init_DropdownMenu = __esm({
2868
2960
  children,
2869
2961
  ...otherProps
2870
2962
  } = props;
2871
- const [activeId, setActiveId] = (0, import_react21.useState)(null);
2872
- const numberOfItems = import_react21.Children.count(children);
2963
+ const [activeId, setActiveId] = (0, import_react22.useState)(null);
2964
+ const numberOfItems = import_react22.Children.count(children);
2873
2965
  const {
2874
2966
  buttonProps,
2875
2967
  itemProps,
2876
2968
  isOpen: open,
2877
2969
  setIsOpen
2878
2970
  } = (0, import_react_accessible_dropdown_menu_hook.default)(numberOfItems);
2879
- const classes = (0, import_dedupe22.default)(
2971
+ const classes = (0, import_dedupe23.default)(
2880
2972
  "mobius",
2881
2973
  "mobius-dropdown-menu",
2882
2974
  otherProps.className
2883
2975
  );
2884
- const triggerClasses = (0, import_dedupe22.default)("mobius", "mobius-dropdown-menu__trigger");
2885
- const listClasses = (0, import_dedupe22.default)("mobius", "mobius-dropdown-menu__list", {
2976
+ const triggerClasses = (0, import_dedupe23.default)("mobius", "mobius-dropdown-menu__trigger");
2977
+ const listClasses = (0, import_dedupe23.default)("mobius", "mobius-dropdown-menu__list", {
2886
2978
  "--is-open": open
2887
2979
  });
2888
2980
  const handleChildClick = ({ onClick }, index) => {
@@ -2892,16 +2984,16 @@ var init_DropdownMenu = __esm({
2892
2984
  onClick();
2893
2985
  }
2894
2986
  };
2895
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(Element, { ref, ...otherProps, className: classes, children: [
2896
- trigger ? (0, import_react21.cloneElement)(trigger, {
2987
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(Element, { ref, ...otherProps, className: classes, children: [
2988
+ trigger ? (0, import_react22.cloneElement)(trigger, {
2897
2989
  className: triggerClasses,
2898
2990
  open,
2899
2991
  label,
2900
2992
  ...buttonProps
2901
- }) : /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Button, { className: triggerClasses, ...buttonProps, children: label }),
2902
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("ul", { className: listClasses, role: "menu", children: import_react21.Children.map(children, (child, index) => {
2903
- if ((0, import_react21.isValidElement)(child)) {
2904
- return (0, import_react21.cloneElement)(child, {
2993
+ }) : /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Button, { className: triggerClasses, ...buttonProps, children: label }),
2994
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("ul", { className: listClasses, role: "menu", children: import_react22.Children.map(children, (child, index) => {
2995
+ if ((0, import_react22.isValidElement)(child)) {
2996
+ return (0, import_react22.cloneElement)(child, {
2905
2997
  onClick: () => handleChildClick(child.props, index),
2906
2998
  active: index === activeId,
2907
2999
  ...itemProps[index]
@@ -2916,13 +3008,13 @@ var init_DropdownMenu = __esm({
2916
3008
  });
2917
3009
 
2918
3010
  // src/components/DropdownMenu/Item.tsx
2919
- var import_react22, import_dedupe23, import_jsx_runtime28, Item;
3011
+ var import_react23, import_dedupe24, import_jsx_runtime30, Item;
2920
3012
  var init_Item = __esm({
2921
3013
  "src/components/DropdownMenu/Item.tsx"() {
2922
3014
  "use strict";
2923
- import_react22 = require("react");
2924
- import_dedupe23 = __toESM(require("classnames/dedupe"));
2925
- import_jsx_runtime28 = require("react/jsx-runtime");
3015
+ import_react23 = require("react");
3016
+ import_dedupe24 = __toESM(require("classnames/dedupe"));
3017
+ import_jsx_runtime30 = require("react/jsx-runtime");
2926
3018
  Item = ({ ref, ...props }) => {
2927
3019
  const {
2928
3020
  elementType: Element = "li",
@@ -2931,26 +3023,26 @@ var init_Item = __esm({
2931
3023
  children,
2932
3024
  ...otherProps
2933
3025
  } = props;
2934
- const classes = (0, import_dedupe23.default)(
3026
+ const classes = (0, import_dedupe24.default)(
2935
3027
  "mobius",
2936
3028
  "mobius-dropdown-menu__item",
2937
3029
  { "--is-active": active },
2938
3030
  otherProps.className
2939
3031
  );
2940
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Element, { ref, onClick, ...otherProps, children: import_react22.Children.map(children, (child) => {
2941
- if ((0, import_react22.isValidElement)(child)) {
2942
- const childClasses = (0, import_dedupe23.default)(
3032
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Element, { ref, onClick, ...otherProps, children: import_react23.Children.map(children, (child) => {
3033
+ if ((0, import_react23.isValidElement)(child)) {
3034
+ const childClasses = (0, import_dedupe24.default)(
2943
3035
  child.props.className,
2944
3036
  classes
2945
3037
  );
2946
- return (0, import_react22.cloneElement)(
3038
+ return (0, import_react23.cloneElement)(
2947
3039
  child,
2948
3040
  {
2949
3041
  className: childClasses
2950
3042
  }
2951
3043
  );
2952
3044
  }
2953
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: classes, children: child });
3045
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { className: classes, children: child });
2954
3046
  }) });
2955
3047
  };
2956
3048
  Item.displayName = "DropdownMenu.Item";
@@ -2975,23 +3067,23 @@ var init_DropdownMenu2 = __esm({
2975
3067
  });
2976
3068
 
2977
3069
  // src/components/Fieldset/Fieldset.tsx
2978
- var import_dedupe24, import_react23, import_Fieldset, import_jsx_runtime29, useFieldset, Fieldset;
3070
+ var import_dedupe25, import_react24, import_Fieldset, import_jsx_runtime31, useFieldset, Fieldset;
2979
3071
  var init_Fieldset = __esm({
2980
3072
  "src/components/Fieldset/Fieldset.tsx"() {
2981
3073
  "use strict";
2982
3074
  "use client";
2983
- import_dedupe24 = __toESM(require("classnames/dedupe"));
2984
- import_react23 = require("react");
3075
+ import_dedupe25 = __toESM(require("classnames/dedupe"));
3076
+ import_react24 = require("react");
2985
3077
  init_Flex2();
2986
3078
  import_Fieldset = require("@simplybusiness/mobius/src/components/Fieldset/Fieldset.css");
2987
- import_jsx_runtime29 = require("react/jsx-runtime");
3079
+ import_jsx_runtime31 = require("react/jsx-runtime");
2988
3080
  useFieldset = (props) => {
2989
3081
  const { legend } = props;
2990
3082
  let legendProps = {};
2991
3083
  let containerProps = {
2992
3084
  role: "group"
2993
3085
  };
2994
- const legendId = (0, import_react23.useId)();
3086
+ const legendId = (0, import_react24.useId)();
2995
3087
  if (legend) {
2996
3088
  legendProps = {
2997
3089
  ...legendProps,
@@ -3011,14 +3103,14 @@ var init_Fieldset = __esm({
3011
3103
  const {
3012
3104
  children,
3013
3105
  legend,
3014
- legendComponent = /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("legend", {}),
3106
+ legendComponent = /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("legend", {}),
3015
3107
  ...otherProps
3016
3108
  } = props;
3017
3109
  const { legendProps, containerProps } = useFieldset(props);
3018
- const classes = (0, import_dedupe24.default)("mobius", "mobius-fieldset", props.className);
3110
+ const classes = (0, import_dedupe25.default)("mobius", "mobius-fieldset", props.className);
3019
3111
  legendProps.className = "mobius-fieldset__legend";
3020
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(Flex, { ...containerProps, ...otherProps, className: classes, children: [
3021
- legend && (0, import_react23.cloneElement)(legendComponent, { ...legendProps }, [legend]),
3112
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(Flex, { ...containerProps, ...otherProps, className: classes, children: [
3113
+ legend && (0, import_react24.cloneElement)(legendComponent, { ...legendProps }, [legend]),
3022
3114
  children
3023
3115
  ] });
3024
3116
  };
@@ -3035,13 +3127,13 @@ var init_Fieldset2 = __esm({
3035
3127
  });
3036
3128
 
3037
3129
  // src/components/Grid/Grid.tsx
3038
- var import_dedupe25, import_jsx_runtime30, Grid;
3130
+ var import_dedupe26, import_jsx_runtime32, Grid;
3039
3131
  var init_Grid = __esm({
3040
3132
  "src/components/Grid/Grid.tsx"() {
3041
3133
  "use strict";
3042
- import_dedupe25 = __toESM(require("classnames/dedupe"));
3134
+ import_dedupe26 = __toESM(require("classnames/dedupe"));
3043
3135
  init_utils();
3044
- import_jsx_runtime30 = require("react/jsx-runtime");
3136
+ import_jsx_runtime32 = require("react/jsx-runtime");
3045
3137
  Grid = ({ ref: _ref, ...props }) => {
3046
3138
  const {
3047
3139
  columns = 12,
@@ -3056,7 +3148,7 @@ var init_Grid = __esm({
3056
3148
  style,
3057
3149
  ...rest
3058
3150
  } = props;
3059
- const classes = (0, import_dedupe25.default)("mobius", "mobius-grid", className);
3151
+ const classes = (0, import_dedupe26.default)("mobius", "mobius-grid", className);
3060
3152
  const styles = filterUndefinedProps({
3061
3153
  boxSizing: "border-box",
3062
3154
  display: "grid",
@@ -3070,22 +3162,22 @@ var init_Grid = __esm({
3070
3162
  justifyItems,
3071
3163
  ...style
3072
3164
  });
3073
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { style: styles, className: classes, ...rest });
3165
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { style: styles, className: classes, ...rest });
3074
3166
  };
3075
3167
  Grid.displayName = "Grid";
3076
3168
  }
3077
3169
  });
3078
3170
 
3079
3171
  // src/components/Grid/Item.tsx
3080
- var import_react24, import_dedupe26, import_jsx_runtime31, getBreakpointMap, DEFAULT_SPAN, GridItem;
3172
+ var import_react25, import_dedupe27, import_jsx_runtime33, getBreakpointMap, DEFAULT_SPAN, GridItem;
3081
3173
  var init_Item2 = __esm({
3082
3174
  "src/components/Grid/Item.tsx"() {
3083
3175
  "use strict";
3084
3176
  "use client";
3085
- import_react24 = require("react");
3086
- import_dedupe26 = __toESM(require("classnames/dedupe"));
3177
+ import_react25 = require("react");
3178
+ import_dedupe27 = __toESM(require("classnames/dedupe"));
3087
3179
  init_hooks();
3088
- import_jsx_runtime31 = require("react/jsx-runtime");
3180
+ import_jsx_runtime33 = require("react/jsx-runtime");
3089
3181
  getBreakpointMap = (config) => Object.entries(config).reduce(
3090
3182
  (prev, [key, value]) => {
3091
3183
  const previous = Object.values(prev);
@@ -3120,9 +3212,9 @@ var init_Item2 = __esm({
3120
3212
  xl,
3121
3213
  xxl
3122
3214
  });
3123
- const [responsiveSpan, setResponsiveSpan] = (0, import_react24.useState)();
3124
- const classes = (0, import_dedupe26.default)("mobius-grid__item", className);
3125
- (0, import_react24.useEffect)(() => {
3215
+ const [responsiveSpan, setResponsiveSpan] = (0, import_react25.useState)();
3216
+ const classes = (0, import_dedupe27.default)("mobius-grid__item", className);
3217
+ (0, import_react25.useEffect)(() => {
3126
3218
  setResponsiveSpan(breakpointMap[breakpointSize]);
3127
3219
  }, [breakpointSize, breakpointMap]);
3128
3220
  const styles = {
@@ -3130,7 +3222,7 @@ var init_Item2 = __esm({
3130
3222
  alignSelf,
3131
3223
  justifySelf
3132
3224
  };
3133
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { style: { ...styles }, className: classes, ...rest });
3225
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { style: { ...styles }, className: classes, ...rest });
3134
3226
  };
3135
3227
  GridItem.displayName = "GridItem";
3136
3228
  }
@@ -3151,20 +3243,20 @@ var init_Grid2 = __esm({
3151
3243
  });
3152
3244
 
3153
3245
  // src/components/Image/Image.tsx
3154
- var import_dedupe27, import_jsx_runtime32, Image;
3246
+ var import_dedupe28, import_jsx_runtime34, Image;
3155
3247
  var init_Image = __esm({
3156
3248
  "src/components/Image/Image.tsx"() {
3157
3249
  "use strict";
3158
- import_dedupe27 = __toESM(require("classnames/dedupe"));
3159
- import_jsx_runtime32 = require("react/jsx-runtime");
3250
+ import_dedupe28 = __toESM(require("classnames/dedupe"));
3251
+ import_jsx_runtime34 = require("react/jsx-runtime");
3160
3252
  Image = ({
3161
3253
  ref,
3162
3254
  alt,
3163
3255
  elementType: Component = "img",
3164
3256
  ...otherProps
3165
3257
  }) => {
3166
- const classes = (0, import_dedupe27.default)("mobius", "mobius-image", otherProps.className);
3167
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Component, { alt, ref, ...otherProps, className: classes });
3258
+ const classes = (0, import_dedupe28.default)("mobius", "mobius-image", otherProps.className);
3259
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Component, { alt, ref, ...otherProps, className: classes });
3168
3260
  };
3169
3261
  Image.displayName = "Image";
3170
3262
  }
@@ -3179,13 +3271,13 @@ var init_Image2 = __esm({
3179
3271
  });
3180
3272
 
3181
3273
  // src/components/Link/Link.tsx
3182
- var import_dedupe28, import_Link, import_jsx_runtime33, Link;
3274
+ var import_dedupe29, import_Link, import_jsx_runtime35, Link;
3183
3275
  var init_Link = __esm({
3184
3276
  "src/components/Link/Link.tsx"() {
3185
3277
  "use strict";
3186
- import_dedupe28 = __toESM(require("classnames/dedupe"));
3278
+ import_dedupe29 = __toESM(require("classnames/dedupe"));
3187
3279
  import_Link = require("@simplybusiness/mobius/src/components/Link/Link.css");
3188
- import_jsx_runtime33 = require("react/jsx-runtime");
3280
+ import_jsx_runtime35 = require("react/jsx-runtime");
3189
3281
  Link = ({ ref, ...props }) => {
3190
3282
  const {
3191
3283
  isDisabled = false,
@@ -3199,7 +3291,7 @@ var init_Link = __esm({
3199
3291
  pointerEvents: "none"
3200
3292
  };
3201
3293
  const styles = { ...style, ...isDisabled && disabledStyles };
3202
- const classes = (0, import_dedupe28.default)(
3294
+ const classes = (0, import_dedupe29.default)(
3203
3295
  "mobius",
3204
3296
  "mobius-link",
3205
3297
  className,
@@ -3208,7 +3300,7 @@ var init_Link = __esm({
3208
3300
  "--is-disabled": isDisabled
3209
3301
  }
3210
3302
  );
3211
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
3303
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
3212
3304
  Component,
3213
3305
  {
3214
3306
  ref,
@@ -3233,12 +3325,12 @@ var init_Link2 = __esm({
3233
3325
  });
3234
3326
 
3235
3327
  // src/components/LinkButton/LinkButton.tsx
3236
- var import_dedupe29, import_jsx_runtime34;
3328
+ var import_dedupe30, import_jsx_runtime36;
3237
3329
  var init_LinkButton = __esm({
3238
3330
  "src/components/LinkButton/LinkButton.tsx"() {
3239
3331
  "use strict";
3240
- import_dedupe29 = __toESM(require("classnames/dedupe"));
3241
- import_jsx_runtime34 = require("react/jsx-runtime");
3332
+ import_dedupe30 = __toESM(require("classnames/dedupe"));
3333
+ import_jsx_runtime36 = require("react/jsx-runtime");
3242
3334
  }
3243
3335
  });
3244
3336
 
@@ -3251,14 +3343,14 @@ var init_LinkButton2 = __esm({
3251
3343
  });
3252
3344
 
3253
3345
  // src/components/List/List.tsx
3254
- var import_react25, import_dedupe30, import_List, import_jsx_runtime35, List;
3346
+ var import_react26, import_dedupe31, import_List, import_jsx_runtime37, List;
3255
3347
  var init_List = __esm({
3256
3348
  "src/components/List/List.tsx"() {
3257
3349
  "use strict";
3258
- import_react25 = require("react");
3259
- import_dedupe30 = __toESM(require("classnames/dedupe"));
3350
+ import_react26 = require("react");
3351
+ import_dedupe31 = __toESM(require("classnames/dedupe"));
3260
3352
  import_List = require("@simplybusiness/mobius/src/components/List/List.css");
3261
- import_jsx_runtime35 = require("react/jsx-runtime");
3353
+ import_jsx_runtime37 = require("react/jsx-runtime");
3262
3354
  List = ({ ref, ...props }) => {
3263
3355
  const Component = props.isOrdered ? "ol" : "ul";
3264
3356
  const { children, icon, ...otherProps } = props;
@@ -3267,7 +3359,7 @@ var init_List = __esm({
3267
3359
  ...restProps,
3268
3360
  reversed: isReversed
3269
3361
  };
3270
- const classes = (0, import_dedupe30.default)(
3362
+ const classes = (0, import_dedupe31.default)(
3271
3363
  "mobius",
3272
3364
  "mobius-list",
3273
3365
  {
@@ -3276,9 +3368,9 @@ var init_List = __esm({
3276
3368
  },
3277
3369
  otherProps.className
3278
3370
  );
3279
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Component, { ref, ...mappedProps, className: classes, children: import_react25.Children.map(children, (child) => {
3280
- if ((0, import_react25.isValidElement)(child)) {
3281
- return (0, import_react25.cloneElement)(child, {
3371
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Component, { ref, ...mappedProps, className: classes, children: import_react26.Children.map(children, (child) => {
3372
+ if ((0, import_react26.isValidElement)(child)) {
3373
+ return (0, import_react26.cloneElement)(child, {
3282
3374
  parentIcon: icon
3283
3375
  });
3284
3376
  }
@@ -3290,16 +3382,16 @@ var init_List = __esm({
3290
3382
  });
3291
3383
 
3292
3384
  // src/components/List/ListItem.tsx
3293
- var import_dedupe31, import_jsx_runtime36, ListItem;
3385
+ var import_dedupe32, import_jsx_runtime38, ListItem;
3294
3386
  var init_ListItem = __esm({
3295
3387
  "src/components/List/ListItem.tsx"() {
3296
3388
  "use strict";
3297
- import_dedupe31 = __toESM(require("classnames/dedupe"));
3298
- import_jsx_runtime36 = require("react/jsx-runtime");
3389
+ import_dedupe32 = __toESM(require("classnames/dedupe"));
3390
+ import_jsx_runtime38 = require("react/jsx-runtime");
3299
3391
  ListItem = ({ ref, ...props }) => {
3300
3392
  const { parentIcon, icon, children, ...otherProps } = props;
3301
3393
  const iconContent = icon || parentIcon;
3302
- const classes = (0, import_dedupe31.default)(
3394
+ const classes = (0, import_dedupe32.default)(
3303
3395
  "mobius",
3304
3396
  "mobius-list__item",
3305
3397
  {
@@ -3307,15 +3399,15 @@ var init_ListItem = __esm({
3307
3399
  },
3308
3400
  props.className
3309
3401
  );
3310
- const contentClasses = (0, import_dedupe31.default)("mobius", "mobius-list__item-content");
3311
- const iconClasses = (0, import_dedupe31.default)("mobius", "mobius-list__icon");
3402
+ const contentClasses = (0, import_dedupe32.default)("mobius", "mobius-list__item-content");
3403
+ const iconClasses = (0, import_dedupe32.default)("mobius", "mobius-list__icon");
3312
3404
  if (iconContent) {
3313
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("li", { ref, ...otherProps, className: classes, children: /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("span", { className: contentClasses, children: [
3314
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("span", { className: iconClasses, children: iconContent }),
3405
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("li", { ref, ...otherProps, className: classes, children: /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("span", { className: contentClasses, children: [
3406
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("span", { className: iconClasses, children: iconContent }),
3315
3407
  children
3316
3408
  ] }) });
3317
3409
  }
3318
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("li", { ref, ...otherProps, className: classes, children });
3410
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("li", { ref, ...otherProps, className: classes, children });
3319
3411
  };
3320
3412
  ListItem.displayName = "ListItem";
3321
3413
  }
@@ -3331,23 +3423,23 @@ var init_List2 = __esm({
3331
3423
  });
3332
3424
 
3333
3425
  // src/components/LoadingIndicator/LoadingIndicator.tsx
3334
- var import_dedupe32, import_icons7, import_LoadingIndicator, import_jsx_runtime37, LoadingIndicator;
3426
+ var import_dedupe33, import_icons7, import_LoadingIndicator, import_jsx_runtime39, LoadingIndicator;
3335
3427
  var init_LoadingIndicator = __esm({
3336
3428
  "src/components/LoadingIndicator/LoadingIndicator.tsx"() {
3337
3429
  "use strict";
3338
- import_dedupe32 = __toESM(require("classnames/dedupe"));
3430
+ import_dedupe33 = __toESM(require("classnames/dedupe"));
3339
3431
  import_icons7 = require("@simplybusiness/icons");
3340
3432
  init_Icon2();
3341
3433
  import_LoadingIndicator = require("@simplybusiness/mobius/src/components/LoadingIndicator/LoadingIndicator.css");
3342
- import_jsx_runtime37 = require("react/jsx-runtime");
3434
+ import_jsx_runtime39 = require("react/jsx-runtime");
3343
3435
  LoadingIndicator = ({ ref, ...props }) => {
3344
3436
  const { icon = import_icons7.loading, ...otherProps } = props;
3345
- const classes = (0, import_dedupe32.default)(
3437
+ const classes = (0, import_dedupe33.default)(
3346
3438
  "mobius",
3347
3439
  "mobius-loading-indicator",
3348
3440
  otherProps.className
3349
3441
  );
3350
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Icon, { icon, spin: true, ref, ...otherProps, className: classes });
3442
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Icon, { icon, spin: true, ref, ...otherProps, className: classes });
3351
3443
  };
3352
3444
  LoadingIndicator.displayName = "LoadingIndicator";
3353
3445
  }
@@ -3362,16 +3454,16 @@ var init_LoadingIndicator2 = __esm({
3362
3454
  });
3363
3455
 
3364
3456
  // src/components/Logo/Logo.tsx
3365
- var import_dedupe33, import_jsx_runtime38, Logo;
3457
+ var import_dedupe34, import_jsx_runtime40, Logo;
3366
3458
  var init_Logo = __esm({
3367
3459
  "src/components/Logo/Logo.tsx"() {
3368
3460
  "use strict";
3369
- import_dedupe33 = __toESM(require("classnames/dedupe"));
3370
- import_jsx_runtime38 = require("react/jsx-runtime");
3461
+ import_dedupe34 = __toESM(require("classnames/dedupe"));
3462
+ import_jsx_runtime40 = require("react/jsx-runtime");
3371
3463
  Logo = ({ ref, ...props }) => {
3372
3464
  const { className, width, height, ...otherProps } = props;
3373
- const classes = (0, import_dedupe33.default)("mobius", "mobius-logo", className);
3374
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
3465
+ const classes = (0, import_dedupe34.default)("mobius", "mobius-logo", className);
3466
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
3375
3467
  "svg",
3376
3468
  {
3377
3469
  width,
@@ -3381,7 +3473,7 @@ var init_Logo = __esm({
3381
3473
  viewBox: "0 0 144 37",
3382
3474
  ...otherProps,
3383
3475
  children: [
3384
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
3476
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
3385
3477
  "linearGradient",
3386
3478
  {
3387
3479
  id: "logo-gradient",
@@ -3390,27 +3482,27 @@ var init_Logo = __esm({
3390
3482
  y1: "76.042%",
3391
3483
  y2: "26.973%",
3392
3484
  children: [
3393
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("stop", { stopColor: "#4632D8", offset: "0%" }),
3394
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("stop", { stopColor: "#9084E8", offset: "100%" })
3485
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("stop", { stopColor: "#4632D8", offset: "0%" }),
3486
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("stop", { stopColor: "#9084E8", offset: "100%" })
3395
3487
  ]
3396
3488
  }
3397
3489
  ) }),
3398
- /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("g", { children: [
3399
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3490
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("g", { children: [
3491
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3400
3492
  "path",
3401
3493
  {
3402
3494
  fill: "#0E0A2B",
3403
3495
  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"
3404
3496
  }
3405
3497
  ),
3406
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3498
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3407
3499
  "path",
3408
3500
  {
3409
3501
  fill: "url(#logo-gradient)",
3410
3502
  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"
3411
3503
  }
3412
3504
  ),
3413
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3505
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3414
3506
  "path",
3415
3507
  {
3416
3508
  fill: "#0E0A2B",
@@ -3435,23 +3527,23 @@ var init_Logo2 = __esm({
3435
3527
  });
3436
3528
 
3437
3529
  // src/components/Modal/Content.tsx
3438
- var import_jsx_runtime39, Content2;
3530
+ var import_jsx_runtime41, Content2;
3439
3531
  var init_Content2 = __esm({
3440
3532
  "src/components/Modal/Content.tsx"() {
3441
3533
  "use strict";
3442
- import_jsx_runtime39 = require("react/jsx-runtime");
3443
- Content2 = ({ ref, children, ...otherProps }) => /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { ref, ...otherProps, className: "mobius-modal__content", children });
3534
+ import_jsx_runtime41 = require("react/jsx-runtime");
3535
+ Content2 = ({ ref, children, ...otherProps }) => /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { ref, ...otherProps, className: "mobius-modal__content", children });
3444
3536
  Content2.displayName = "Content";
3445
3537
  }
3446
3538
  });
3447
3539
 
3448
3540
  // src/components/Modal/ModalContext.tsx
3449
- var import_react26, ModalContext;
3541
+ var import_react27, ModalContext;
3450
3542
  var init_ModalContext = __esm({
3451
3543
  "src/components/Modal/ModalContext.tsx"() {
3452
3544
  "use strict";
3453
- import_react26 = require("react");
3454
- ModalContext = (0, import_react26.createContext)({
3545
+ import_react27 = require("react");
3546
+ ModalContext = (0, import_react27.createContext)({
3455
3547
  onClose: () => {
3456
3548
  },
3457
3549
  closeLabel: void 0
@@ -3460,21 +3552,21 @@ var init_ModalContext = __esm({
3460
3552
  });
3461
3553
 
3462
3554
  // src/components/Modal/useModal.ts
3463
- var import_react27, useModal;
3555
+ var import_react28, useModal;
3464
3556
  var init_useModal = __esm({
3465
3557
  "src/components/Modal/useModal.ts"() {
3466
3558
  "use strict";
3467
- import_react27 = require("react");
3559
+ import_react28 = require("react");
3468
3560
  init_ModalContext();
3469
3561
  useModal = () => {
3470
- const { onClose, closeLabel } = (0, import_react27.useContext)(ModalContext);
3562
+ const { onClose, closeLabel } = (0, import_react28.useContext)(ModalContext);
3471
3563
  return { onClose, closeLabel };
3472
3564
  };
3473
3565
  }
3474
3566
  });
3475
3567
 
3476
3568
  // src/components/Modal/Header.tsx
3477
- var import_icons8, import_jsx_runtime40, Header2;
3569
+ var import_icons8, import_jsx_runtime42, Header2;
3478
3570
  var init_Header2 = __esm({
3479
3571
  "src/components/Modal/Header.tsx"() {
3480
3572
  "use strict";
@@ -3482,12 +3574,12 @@ var init_Header2 = __esm({
3482
3574
  init_Button2();
3483
3575
  init_Icon2();
3484
3576
  init_useModal();
3485
- import_jsx_runtime40 = require("react/jsx-runtime");
3577
+ import_jsx_runtime42 = require("react/jsx-runtime");
3486
3578
  Header2 = ({ ref, children, ...otherProps }) => {
3487
3579
  const { onClose, closeLabel } = useModal();
3488
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("header", { ref, ...otherProps, className: "mobius-modal__header", children: [
3580
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("header", { ref, ...otherProps, className: "mobius-modal__header", children: [
3489
3581
  children,
3490
- /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
3582
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
3491
3583
  Button,
3492
3584
  {
3493
3585
  "aria-label": "Close",
@@ -3495,7 +3587,7 @@ var init_Header2 = __esm({
3495
3587
  onPress: onClose,
3496
3588
  className: "mobius-modal__close",
3497
3589
  children: [
3498
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Icon, { icon: import_icons8.cross }),
3590
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Icon, { icon: import_icons8.cross }),
3499
3591
  " ",
3500
3592
  closeLabel
3501
3593
  ]
@@ -3508,19 +3600,19 @@ var init_Header2 = __esm({
3508
3600
  });
3509
3601
 
3510
3602
  // src/components/Modal/Modal.tsx
3511
- var import_dedupe34, import_react28, import_Modal, import_jsx_runtime41, TRANSITION_CSS_VARIABLE2, Modal;
3603
+ var import_dedupe35, import_react29, import_Modal, import_jsx_runtime43, TRANSITION_CSS_VARIABLE2, Modal;
3512
3604
  var init_Modal = __esm({
3513
3605
  "src/components/Modal/Modal.tsx"() {
3514
3606
  "use strict";
3515
3607
  "use client";
3516
- import_dedupe34 = __toESM(require("classnames/dedupe"));
3517
- import_react28 = require("react");
3608
+ import_dedupe35 = __toESM(require("classnames/dedupe"));
3609
+ import_react29 = require("react");
3518
3610
  init_hooks();
3519
3611
  init_utils();
3520
3612
  init_polyfill_tests();
3521
3613
  init_ModalContext();
3522
3614
  import_Modal = require("@simplybusiness/mobius/src/components/Modal/Modal.css");
3523
- import_jsx_runtime41 = require("react/jsx-runtime");
3615
+ import_jsx_runtime43 = require("react/jsx-runtime");
3524
3616
  TRANSITION_CSS_VARIABLE2 = "--modal-transition-duration";
3525
3617
  Modal = ({ ref, ...props }) => {
3526
3618
  const {
@@ -3534,11 +3626,11 @@ var init_Modal = __esm({
3534
3626
  animation,
3535
3627
  ...rest
3536
3628
  } = props;
3537
- const [shouldTransition, setShouldTransition] = (0, import_react28.useState)(false);
3538
- (0, import_react28.useEffect)(() => {
3629
+ const [shouldTransition, setShouldTransition] = (0, import_react29.useState)(false);
3630
+ (0, import_react29.useEffect)(() => {
3539
3631
  setShouldTransition(supportsDialog());
3540
3632
  }, []);
3541
- const dialogRef = (0, import_react28.useRef)(null);
3633
+ const dialogRef = (0, import_react29.useRef)(null);
3542
3634
  const { close } = useDialog({
3543
3635
  ref: dialogRef,
3544
3636
  isOpen,
@@ -3549,7 +3641,7 @@ var init_Modal = __esm({
3549
3641
  CSSVariable: TRANSITION_CSS_VARIABLE2
3550
3642
  }
3551
3643
  });
3552
- const modalClasses = (0, import_dedupe34.default)(
3644
+ const modalClasses = (0, import_dedupe35.default)(
3553
3645
  "mobius",
3554
3646
  "mobius-modal",
3555
3647
  {
@@ -3562,21 +3654,21 @@ var init_Modal = __esm({
3562
3654
  },
3563
3655
  className
3564
3656
  );
3565
- const contextValue = (0, import_react28.useMemo)(
3657
+ const contextValue = (0, import_react29.useMemo)(
3566
3658
  () => ({
3567
3659
  onClose: close,
3568
3660
  closeLabel
3569
3661
  }),
3570
3662
  [close, closeLabel]
3571
3663
  );
3572
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3664
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
3573
3665
  "dialog",
3574
3666
  {
3575
3667
  ref: mergeRefs([dialogRef, ref]),
3576
3668
  onCancel: close,
3577
3669
  className: modalClasses,
3578
3670
  ...rest,
3579
- children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(ModalContext.Provider, { value: contextValue, children })
3671
+ children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(ModalContext.Provider, { value: contextValue, children })
3580
3672
  }
3581
3673
  );
3582
3674
  };
@@ -3601,16 +3693,16 @@ var init_Modal2 = __esm({
3601
3693
  });
3602
3694
 
3603
3695
  // src/components/NumberField/NumberField.tsx
3604
- var import_dedupe35, import_react29, import_NumberField, import_jsx_runtime42, NumberField;
3696
+ var import_dedupe36, import_react30, import_NumberField, import_jsx_runtime44, NumberField;
3605
3697
  var init_NumberField = __esm({
3606
3698
  "src/components/NumberField/NumberField.tsx"() {
3607
3699
  "use strict";
3608
3700
  "use client";
3609
- import_dedupe35 = __toESM(require("classnames/dedupe"));
3610
- import_react29 = require("react");
3701
+ import_dedupe36 = __toESM(require("classnames/dedupe"));
3702
+ import_react30 = require("react");
3611
3703
  init_TextField2();
3612
3704
  import_NumberField = require("@simplybusiness/mobius/src/components/NumberField/NumberField.css");
3613
- import_jsx_runtime42 = require("react/jsx-runtime");
3705
+ import_jsx_runtime44 = require("react/jsx-runtime");
3614
3706
  NumberField = ({ ref, ...props }) => {
3615
3707
  const {
3616
3708
  minValue,
@@ -3626,15 +3718,15 @@ var init_NumberField = __esm({
3626
3718
  onBlur: customOnBlur,
3627
3719
  ...rest
3628
3720
  } = otherProps;
3629
- const focusedInputRef = (0, import_react29.useRef)(null);
3630
- const wheelHandler = (0, import_react29.useCallback)((ev) => ev.preventDefault(), []);
3631
- (0, import_react29.useEffect)(() => {
3721
+ const focusedInputRef = (0, import_react30.useRef)(null);
3722
+ const wheelHandler = (0, import_react30.useCallback)((ev) => ev.preventDefault(), []);
3723
+ (0, import_react30.useEffect)(() => {
3632
3724
  return () => {
3633
3725
  focusedInputRef.current?.removeEventListener("wheel", wheelHandler);
3634
3726
  focusedInputRef.current = null;
3635
3727
  };
3636
3728
  }, [wheelHandler]);
3637
- const containerClasses = (0, import_dedupe35.default)("mobius-number-field", className, {
3729
+ const containerClasses = (0, import_dedupe36.default)("mobius-number-field", className, {
3638
3730
  "--hide-spin-buttons": hideSpinButtons
3639
3731
  });
3640
3732
  const handleBeforeInput = (event) => {
@@ -3678,7 +3770,7 @@ var init_NumberField = __esm({
3678
3770
  },
3679
3771
  onBlur: (e) => handleBlur(e)
3680
3772
  };
3681
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3773
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
3682
3774
  TextField,
3683
3775
  {
3684
3776
  ...forwardedProps,
@@ -3706,18 +3798,18 @@ var init_NumberField2 = __esm({
3706
3798
  });
3707
3799
 
3708
3800
  // src/components/Option/Option.tsx
3709
- var import_jsx_runtime43, Option2;
3801
+ var import_jsx_runtime45, Option2;
3710
3802
  var init_Option2 = __esm({
3711
3803
  "src/components/Option/Option.tsx"() {
3712
3804
  "use strict";
3713
- import_jsx_runtime43 = require("react/jsx-runtime");
3805
+ import_jsx_runtime45 = require("react/jsx-runtime");
3714
3806
  Option2 = ({ ref, ...props }) => {
3715
3807
  const { isDisabled, ...rest } = props;
3716
3808
  const mappedProps = {
3717
3809
  ...rest,
3718
3810
  disabled: isDisabled
3719
3811
  };
3720
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("option", { ...mappedProps, ref });
3812
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("option", { ...mappedProps, ref });
3721
3813
  };
3722
3814
  Option2.displayName = "Option";
3723
3815
  }
@@ -3732,17 +3824,17 @@ var init_Option3 = __esm({
3732
3824
  });
3733
3825
 
3734
3826
  // src/components/PasswordField/ShowHideButton.tsx
3735
- var import_icons9, import_jsx_runtime44, ShowHideButton;
3827
+ var import_icons9, import_jsx_runtime46, ShowHideButton;
3736
3828
  var init_ShowHideButton = __esm({
3737
3829
  "src/components/PasswordField/ShowHideButton.tsx"() {
3738
3830
  "use strict";
3739
3831
  import_icons9 = require("@simplybusiness/icons");
3740
3832
  init_src();
3741
- import_jsx_runtime44 = require("react/jsx-runtime");
3833
+ import_jsx_runtime46 = require("react/jsx-runtime");
3742
3834
  ShowHideButton = ({
3743
3835
  show = false,
3744
3836
  onClick
3745
- }) => /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
3837
+ }) => /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
3746
3838
  "button",
3747
3839
  {
3748
3840
  className: "mobius-password-field__show-button",
@@ -3753,35 +3845,35 @@ var init_ShowHideButton = __esm({
3753
3845
  },
3754
3846
  "aria-label": `${show ? "Hide" : "Show"} password`,
3755
3847
  "data-testid": "show-hide-button",
3756
- children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Icon, { icon: show ? import_icons9.eyeSlash : import_icons9.eye, "aria-hidden": "true" })
3848
+ children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Icon, { icon: show ? import_icons9.eyeSlash : import_icons9.eye, "aria-hidden": "true" })
3757
3849
  }
3758
3850
  );
3759
3851
  }
3760
3852
  });
3761
3853
 
3762
3854
  // src/components/PasswordField/PasswordField.tsx
3763
- var import_dedupe36, import_react30, import_PasswordField, import_jsx_runtime45, PasswordField;
3855
+ var import_dedupe37, import_react31, import_PasswordField, import_jsx_runtime47, PasswordField;
3764
3856
  var init_PasswordField = __esm({
3765
3857
  "src/components/PasswordField/PasswordField.tsx"() {
3766
3858
  "use strict";
3767
3859
  "use client";
3768
- import_dedupe36 = __toESM(require("classnames/dedupe"));
3769
- import_react30 = require("react");
3860
+ import_dedupe37 = __toESM(require("classnames/dedupe"));
3861
+ import_react31 = require("react");
3770
3862
  init_mergeRefs();
3771
3863
  init_TextField2();
3772
3864
  init_ShowHideButton();
3773
3865
  import_PasswordField = require("@simplybusiness/mobius/src/components/PasswordField/PasswordField.css");
3774
- import_jsx_runtime45 = require("react/jsx-runtime");
3866
+ import_jsx_runtime47 = require("react/jsx-runtime");
3775
3867
  PasswordField = ({
3776
3868
  ref,
3777
3869
  className,
3778
3870
  autoComplete = "current-password",
3779
3871
  ...props
3780
3872
  }) => {
3781
- const [show, setShow] = (0, import_react30.useState)(false);
3873
+ const [show, setShow] = (0, import_react31.useState)(false);
3782
3874
  const type = show ? "text" : "password";
3783
- const classes = (0, import_dedupe36.default)("mobius-password-field", className);
3784
- const localRef = (0, import_react30.useRef)(null);
3875
+ const classes = (0, import_dedupe37.default)("mobius-password-field", className);
3876
+ const localRef = (0, import_react31.useRef)(null);
3785
3877
  const handleShowHideButtonClick = () => {
3786
3878
  const selectionStart = localRef.current?.selectionStart;
3787
3879
  const selectionEnd = localRef.current?.selectionEnd;
@@ -3793,7 +3885,7 @@ var init_PasswordField = __esm({
3793
3885
  }
3794
3886
  });
3795
3887
  };
3796
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
3888
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
3797
3889
  TextField,
3798
3890
  {
3799
3891
  ref: mergeRefs([localRef, ref]),
@@ -3801,7 +3893,7 @@ var init_PasswordField = __esm({
3801
3893
  ...props,
3802
3894
  autoComplete,
3803
3895
  type,
3804
- suffixInside: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(ShowHideButton, { onClick: handleShowHideButtonClick, show })
3896
+ suffixInside: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(ShowHideButton, { onClick: handleShowHideButtonClick, show })
3805
3897
  }
3806
3898
  );
3807
3899
  };
@@ -3818,17 +3910,17 @@ var init_PasswordField2 = __esm({
3818
3910
  });
3819
3911
 
3820
3912
  // src/components/Popover/Popover.tsx
3821
- var import_react31, import_icons10, import_dedupe37, import_react32, import_mobius_hooks6, import_Popover, import_jsx_runtime46;
3913
+ var import_react32, import_icons10, import_dedupe38, import_react33, import_mobius_hooks6, import_Popover, import_jsx_runtime48;
3822
3914
  var init_Popover = __esm({
3823
3915
  "src/components/Popover/Popover.tsx"() {
3824
3916
  "use strict";
3825
- import_react31 = require("@floating-ui/react");
3917
+ import_react32 = require("@floating-ui/react");
3826
3918
  import_icons10 = require("@simplybusiness/icons");
3827
- import_dedupe37 = __toESM(require("classnames/dedupe"));
3828
- import_react32 = require("react");
3919
+ import_dedupe38 = __toESM(require("classnames/dedupe"));
3920
+ import_react33 = require("react");
3829
3921
  import_mobius_hooks6 = require("@simplybusiness/mobius-hooks");
3830
3922
  import_Popover = require("@simplybusiness/mobius/src/components/Popover/Popover.css");
3831
- import_jsx_runtime46 = require("react/jsx-runtime");
3923
+ import_jsx_runtime48 = require("react/jsx-runtime");
3832
3924
  }
3833
3925
  });
3834
3926
 
@@ -3852,17 +3944,17 @@ function warnAboutInvalidValues(value, minValue, maxValue) {
3852
3944
  console.warn("Progress value is greater than maxValue");
3853
3945
  }
3854
3946
  }
3855
- var import_dedupe38, import_react33, import_Progress, import_jsx_runtime47, sanitizedValue, getLabelComponent, DEFAULT_VALUE, DEFAULT_MIN_VALUE, DEFAULT_MAX_VALUE, Progress;
3947
+ var import_dedupe39, import_react34, import_Progress, import_jsx_runtime49, sanitizedValue, getLabelComponent, DEFAULT_VALUE, DEFAULT_MIN_VALUE, DEFAULT_MAX_VALUE, Progress;
3856
3948
  var init_Progress = __esm({
3857
3949
  "src/components/Progress/Progress.tsx"() {
3858
3950
  "use strict";
3859
3951
  "use client";
3860
- import_dedupe38 = __toESM(require("classnames/dedupe"));
3861
- import_react33 = require("react");
3952
+ import_dedupe39 = __toESM(require("classnames/dedupe"));
3953
+ import_react34 = require("react");
3862
3954
  init_Label2();
3863
3955
  init_VisuallyHidden2();
3864
3956
  import_Progress = require("@simplybusiness/mobius/src/components/Progress/Progress.css");
3865
- import_jsx_runtime47 = require("react/jsx-runtime");
3957
+ import_jsx_runtime49 = require("react/jsx-runtime");
3866
3958
  sanitizedValue = (value, defaultValue) => {
3867
3959
  if (value === void 0 || Number.isNaN(value)) {
3868
3960
  return defaultValue;
@@ -3871,7 +3963,7 @@ var init_Progress = __esm({
3871
3963
  };
3872
3964
  getLabelComponent = (label, progressLabelId, showLabel) => {
3873
3965
  if (showLabel) {
3874
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
3966
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
3875
3967
  Label,
3876
3968
  {
3877
3969
  id: progressLabelId,
@@ -3881,7 +3973,7 @@ var init_Progress = __esm({
3881
3973
  }
3882
3974
  );
3883
3975
  }
3884
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(VisuallyHidden, { children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
3976
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(VisuallyHidden, { children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
3885
3977
  Label,
3886
3978
  {
3887
3979
  id: progressLabelId,
@@ -3895,8 +3987,8 @@ var init_Progress = __esm({
3895
3987
  DEFAULT_MIN_VALUE = 0;
3896
3988
  DEFAULT_MAX_VALUE = 100;
3897
3989
  Progress = ({ ref, ...props }) => {
3898
- const progressId = (0, import_react33.useId)();
3899
- const progressLabelId = (0, import_react33.useId)();
3990
+ const progressId = (0, import_react34.useId)();
3991
+ const progressLabelId = (0, import_react34.useId)();
3900
3992
  const {
3901
3993
  id,
3902
3994
  label,
@@ -3921,7 +4013,7 @@ var init_Progress = __esm({
3921
4013
  100
3922
4014
  );
3923
4015
  const barWidth = `${percentage}%`;
3924
- const classes = (0, import_dedupe38.default)("mobius", "mobius-progress", className, {
4016
+ const classes = (0, import_dedupe39.default)("mobius", "mobius-progress", className, {
3925
4017
  "--is-primary": variant === "primary",
3926
4018
  "--is-secondary": variant === "secondary"
3927
4019
  });
@@ -3931,7 +4023,7 @@ var init_Progress = __esm({
3931
4023
  progressBarProps["aria-valuenow"] = value.toString();
3932
4024
  progressBarProps["aria-valuetext"] = valueFormatter instanceof Function ? valueFormatter(value, minValue, maxValue) : barWidth;
3933
4025
  const labelComponent = getLabelComponent(label, progressLabelId, showLabel);
3934
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
4026
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
3935
4027
  "div",
3936
4028
  {
3937
4029
  id: id || progressId,
@@ -3942,8 +4034,8 @@ var init_Progress = __esm({
3942
4034
  "aria-labelledby": progressLabelId,
3943
4035
  children: [
3944
4036
  labelComponent,
3945
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "mobius-progress__track", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "mobius-progress__bar", style: { width: barWidth } }) }),
3946
- showValueLabel && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Label, { "data-testid": "value-label", elementType: "span", children: progressBarProps["aria-valuetext"] })
4037
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "mobius-progress__track", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "mobius-progress__bar", style: { width: barWidth } }) }),
4038
+ showValueLabel && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Label, { "data-testid": "value-label", elementType: "span", children: progressBarProps["aria-valuetext"] })
3947
4039
  ]
3948
4040
  }
3949
4041
  );
@@ -3961,17 +4053,17 @@ var init_Progress2 = __esm({
3961
4053
  });
3962
4054
 
3963
4055
  // src/components/Radio/Radio.tsx
3964
- var import_dedupe39, import_react34, import_Radio, import_jsx_runtime48, Radio;
4056
+ var import_dedupe40, import_react35, import_Radio, import_jsx_runtime50, Radio;
3965
4057
  var init_Radio = __esm({
3966
4058
  "src/components/Radio/Radio.tsx"() {
3967
4059
  "use strict";
3968
4060
  "use client";
3969
- import_dedupe39 = __toESM(require("classnames/dedupe"));
3970
- import_react34 = require("react");
4061
+ import_dedupe40 = __toESM(require("classnames/dedupe"));
4062
+ import_react35 = require("react");
3971
4063
  init_ErrorMessage2();
3972
4064
  init_Label2();
3973
4065
  import_Radio = require("@simplybusiness/mobius/src/components/Radio/Radio.css");
3974
- import_jsx_runtime48 = require("react/jsx-runtime");
4066
+ import_jsx_runtime50 = require("react/jsx-runtime");
3975
4067
  Radio = ({ ref, ...props }) => {
3976
4068
  const {
3977
4069
  children,
@@ -3995,19 +4087,19 @@ var init_Radio = __esm({
3995
4087
  const isMultiline = label && children;
3996
4088
  const isControlled = selected !== void 0;
3997
4089
  const isChecked = isControlled ? selected === value : defaultChecked;
3998
- const contentRef = (0, import_react34.useRef)(null);
3999
- const prevOverflowRef = (0, import_react34.useRef)({
4090
+ const contentRef = (0, import_react35.useRef)(null);
4091
+ const prevOverflowRef = (0, import_react35.useRef)({
4000
4092
  vertical: false,
4001
4093
  horizontal: false
4002
4094
  });
4003
- const hasIconFirst = (0, import_react34.useMemo)(() => {
4004
- if (!children || import_react34.Children.count(children) === 0) return false;
4005
- const firstChild = import_react34.Children.toArray(children)[0];
4006
- if (!(0, import_react34.isValidElement)(firstChild)) return false;
4095
+ const hasIconFirst = (0, import_react35.useMemo)(() => {
4096
+ if (!children || import_react35.Children.count(children) === 0) return false;
4097
+ const firstChild = import_react35.Children.toArray(children)[0];
4098
+ if (!(0, import_react35.isValidElement)(firstChild)) return false;
4007
4099
  const props2 = firstChild.props;
4008
4100
  return "icon" in props2 && props2.icon !== void 0;
4009
4101
  }, [children]);
4010
- (0, import_react34.useLayoutEffect)(() => {
4102
+ (0, import_react35.useLayoutEffect)(() => {
4011
4103
  if (!contentRef.current || !onOverflow) return;
4012
4104
  if (orientation === "vertical") {
4013
4105
  return;
@@ -4036,13 +4128,13 @@ var init_Radio = __esm({
4036
4128
  "--is-multiline": !!isMultiline,
4037
4129
  "--is-required": isRequired
4038
4130
  };
4039
- const containerClasses = (0, import_dedupe39.default)(
4131
+ const containerClasses = (0, import_dedupe40.default)(
4040
4132
  "mobius-radio__label",
4041
4133
  radioClasses,
4042
4134
  className,
4043
4135
  { "--has-icon-first": hasIconFirst }
4044
4136
  );
4045
- const inputClasses = (0, import_dedupe39.default)("mobius-radio__input", radioClasses);
4137
+ const inputClasses = (0, import_dedupe40.default)("mobius-radio__input", radioClasses);
4046
4138
  const { "aria-describedby": _ariaDescribedBy, ...rest } = otherProps;
4047
4139
  const handleChange = (event) => {
4048
4140
  if (setSelected) {
@@ -4056,9 +4148,9 @@ var init_Radio = __esm({
4056
4148
  onChange(adaptedEvent);
4057
4149
  }
4058
4150
  };
4059
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_jsx_runtime48.Fragment, { children: [
4060
- /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(Label, { className: containerClasses, children: [
4061
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4151
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(import_jsx_runtime50.Fragment, { children: [
4152
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(Label, { className: containerClasses, children: [
4153
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
4062
4154
  "input",
4063
4155
  {
4064
4156
  "aria-describedby": otherProps["aria-describedby"],
@@ -4075,12 +4167,12 @@ var init_Radio = __esm({
4075
4167
  ...rest
4076
4168
  }
4077
4169
  ),
4078
- isMultiline ? /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { ref: contentRef, className: "mobius-radio__content--multiline", children: [
4079
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "mobius-radio__content-first-line", children: label }),
4080
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "mobius-radio__extra-content", children })
4081
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { ref: contentRef, className: "mobius-radio__content", children: label || children })
4170
+ isMultiline ? /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { ref: contentRef, className: "mobius-radio__content--multiline", children: [
4171
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "mobius-radio__content-first-line", children: label }),
4172
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "mobius-radio__extra-content", children })
4173
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { ref: contentRef, className: "mobius-radio__content", children: label || children })
4082
4174
  ] }),
4083
- errorMessage && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(ErrorMessage, { errorMessage })
4175
+ errorMessage && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(ErrorMessage, { errorMessage })
4084
4176
  ] });
4085
4177
  };
4086
4178
  Radio.displayName = "Radio";
@@ -4088,19 +4180,19 @@ var init_Radio = __esm({
4088
4180
  });
4089
4181
 
4090
4182
  // src/components/Radio/RadioGroup.tsx
4091
- var import_dedupe40, import_react35, import_jsx_runtime49, getDefaultVal, RadioGroup;
4183
+ var import_dedupe41, import_react36, import_jsx_runtime51, getDefaultVal, RadioGroup;
4092
4184
  var init_RadioGroup = __esm({
4093
4185
  "src/components/Radio/RadioGroup.tsx"() {
4094
4186
  "use strict";
4095
4187
  "use client";
4096
- import_dedupe40 = __toESM(require("classnames/dedupe"));
4097
- import_react35 = require("react");
4188
+ import_dedupe41 = __toESM(require("classnames/dedupe"));
4189
+ import_react36 = require("react");
4098
4190
  init_hooks();
4099
4191
  init_spaceDelimitedList();
4100
4192
  init_ErrorMessage2();
4101
4193
  init_Label2();
4102
4194
  init_Stack2();
4103
- import_jsx_runtime49 = require("react/jsx-runtime");
4195
+ import_jsx_runtime51 = require("react/jsx-runtime");
4104
4196
  getDefaultVal = (children, defaultValue) => {
4105
4197
  if (Array.isArray(children) && defaultValue) {
4106
4198
  const option = children?.find((item) => item.props.value === defaultValue);
@@ -4128,15 +4220,15 @@ var init_RadioGroup = __esm({
4128
4220
  ...rest
4129
4221
  } = props;
4130
4222
  const defaultSelected = getDefaultVal(children, value || defaultValue);
4131
- const [selected, setSelected] = (0, import_react35.useState)(defaultSelected);
4132
- const overflowsRef = (0, import_react35.useRef)({});
4133
- const [hasOverflow, setHasOverflow] = (0, import_react35.useState)(false);
4134
- (0, import_react35.useEffect)(() => {
4223
+ const [selected, setSelected] = (0, import_react36.useState)(defaultSelected);
4224
+ const overflowsRef = (0, import_react36.useRef)({});
4225
+ const [hasOverflow, setHasOverflow] = (0, import_react36.useState)(false);
4226
+ (0, import_react36.useEffect)(() => {
4135
4227
  if (value !== void 0) {
4136
4228
  setSelected(value);
4137
4229
  }
4138
4230
  }, [value]);
4139
- const handleOverflow = (0, import_react35.useCallback)(
4231
+ const handleOverflow = (0, import_react36.useCallback)(
4140
4232
  (radioValue, overflow) => {
4141
4233
  overflowsRef.current = {
4142
4234
  ...overflowsRef.current,
@@ -4160,26 +4252,26 @@ var init_RadioGroup = __esm({
4160
4252
  [`--is-${effectiveOrientation}`]: true,
4161
4253
  [className || ""]: true
4162
4254
  };
4163
- const radioGroupClasses = (0, import_dedupe40.default)(
4255
+ const radioGroupClasses = (0, import_dedupe41.default)(
4164
4256
  "mobius",
4165
4257
  "mobius-radio-group",
4166
4258
  radioClasses,
4167
4259
  validationClasses
4168
4260
  );
4169
- const radioWrapperClasses = (0, import_dedupe40.default)("mobius-radio__wrapper", {
4261
+ const radioWrapperClasses = (0, import_dedupe41.default)("mobius-radio__wrapper", {
4170
4262
  [`--is-${effectiveOrientation}`]: true
4171
4263
  });
4172
- const labelClasses = (0, import_dedupe40.default)(radioClasses, validationClasses);
4173
- const errorMessageId = (0, import_react35.useId)();
4174
- const defaultNameAttrId = (0, import_react35.useId)();
4264
+ const labelClasses = (0, import_dedupe41.default)(radioClasses, validationClasses);
4265
+ const errorMessageId = (0, import_react36.useId)();
4266
+ const defaultNameAttrId = (0, import_react36.useId)();
4175
4267
  const nameAttribute = name || defaultNameAttrId;
4176
4268
  const shouldErrorMessageShow = errorMessage ? errorMessageId : void 0;
4177
4269
  const describedBy = spaceDelimitedList([
4178
4270
  shouldErrorMessageShow,
4179
4271
  props["aria-describedby"]
4180
4272
  ]);
4181
- const labelId = (0, import_react35.useId)();
4182
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
4273
+ const labelId = (0, import_react36.useId)();
4274
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
4183
4275
  "div",
4184
4276
  {
4185
4277
  ...rest,
@@ -4195,12 +4287,12 @@ var init_RadioGroup = __esm({
4195
4287
  ref,
4196
4288
  className: radioGroupClasses,
4197
4289
  role: "radiogroup",
4198
- children: /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(Stack, { gap: "xs", children: [
4199
- label && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Label, { htmlFor: name, id: labelId, className: labelClasses, children: label }),
4200
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: radioWrapperClasses, children: import_react35.Children.map(children, (child) => {
4201
- if ((0, import_react35.isValidElement)(child)) {
4290
+ children: /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(Stack, { gap: "xs", children: [
4291
+ label && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Label, { htmlFor: name, id: labelId, className: labelClasses, children: label }),
4292
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: radioWrapperClasses, children: import_react36.Children.map(children, (child) => {
4293
+ if ((0, import_react36.isValidElement)(child)) {
4202
4294
  const childValue = child.props.value;
4203
- return (0, import_react35.cloneElement)(
4295
+ return (0, import_react36.cloneElement)(
4204
4296
  child,
4205
4297
  {
4206
4298
  orientation: effectiveOrientation,
@@ -4218,7 +4310,7 @@ var init_RadioGroup = __esm({
4218
4310
  }
4219
4311
  return child;
4220
4312
  }) }),
4221
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(ErrorMessage, { id: errorMessageId, errorMessage })
4313
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(ErrorMessage, { id: errorMessageId, errorMessage })
4222
4314
  ] })
4223
4315
  }
4224
4316
  );
@@ -4237,47 +4329,47 @@ var init_Radio2 = __esm({
4237
4329
  });
4238
4330
 
4239
4331
  // src/components/Segment/SegmentGroup.tsx
4240
- var import_dedupe41, import_jsx_runtime50, SegmentGroup;
4332
+ var import_dedupe42, import_jsx_runtime52, SegmentGroup;
4241
4333
  var init_SegmentGroup = __esm({
4242
4334
  "src/components/Segment/SegmentGroup.tsx"() {
4243
4335
  "use strict";
4244
- import_dedupe41 = __toESM(require("classnames/dedupe"));
4245
- import_jsx_runtime50 = require("react/jsx-runtime");
4336
+ import_dedupe42 = __toESM(require("classnames/dedupe"));
4337
+ import_jsx_runtime52 = require("react/jsx-runtime");
4246
4338
  SegmentGroup = (props) => {
4247
4339
  const { children, horizontal, gap, className, ...rest } = props;
4248
4340
  const gapClass = gap ? `gap-${gap}` : "";
4249
- const classes = (0, import_dedupe41.default)(
4341
+ const classes = (0, import_dedupe42.default)(
4250
4342
  "mobius",
4251
4343
  "mobius-segment-group",
4252
4344
  className,
4253
4345
  { "--is-horizontal": horizontal },
4254
4346
  gapClass
4255
4347
  );
4256
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: classes, ...rest, children });
4348
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { className: classes, ...rest, children });
4257
4349
  };
4258
4350
  SegmentGroup.displayName = "SegmentGroup";
4259
4351
  }
4260
4352
  });
4261
4353
 
4262
4354
  // src/components/Segment/Segment.tsx
4263
- var import_dedupe42, import_Segment, import_jsx_runtime51, Segment;
4355
+ var import_dedupe43, import_Segment, import_jsx_runtime53, Segment;
4264
4356
  var init_Segment = __esm({
4265
4357
  "src/components/Segment/Segment.tsx"() {
4266
4358
  "use strict";
4267
- import_dedupe42 = __toESM(require("classnames/dedupe"));
4359
+ import_dedupe43 = __toESM(require("classnames/dedupe"));
4268
4360
  import_Segment = require("@simplybusiness/mobius/src/components/Segment/Segment.css");
4269
- import_jsx_runtime51 = require("react/jsx-runtime");
4361
+ import_jsx_runtime53 = require("react/jsx-runtime");
4270
4362
  Segment = (props) => {
4271
4363
  const { heading, children, colour, inverted, className, ...rest } = props;
4272
- const classes = (0, import_dedupe42.default)(
4364
+ const classes = (0, import_dedupe43.default)(
4273
4365
  "mobius",
4274
4366
  "mobius-segment",
4275
4367
  colour,
4276
4368
  { inverted },
4277
4369
  className
4278
4370
  );
4279
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: classes, ...rest, children: [
4280
- heading && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "mobius-segment__heading", children: heading }),
4371
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { className: classes, ...rest, children: [
4372
+ heading && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { className: "mobius-segment__heading", children: heading }),
4281
4373
  children
4282
4374
  ] });
4283
4375
  };
@@ -4295,14 +4387,14 @@ var init_Segment2 = __esm({
4295
4387
  });
4296
4388
 
4297
4389
  // src/components/Select/Select.tsx
4298
- var import_icons11, import_dedupe43, import_react36, import_Select, import_jsx_runtime52, Select;
4390
+ var import_icons11, import_dedupe44, import_react37, import_Select, import_jsx_runtime54, Select;
4299
4391
  var init_Select = __esm({
4300
4392
  "src/components/Select/Select.tsx"() {
4301
4393
  "use strict";
4302
4394
  "use client";
4303
4395
  import_icons11 = require("@simplybusiness/icons");
4304
- import_dedupe43 = __toESM(require("classnames/dedupe"));
4305
- import_react36 = require("react");
4396
+ import_dedupe44 = __toESM(require("classnames/dedupe"));
4397
+ import_react37 = require("react");
4306
4398
  init_hooks();
4307
4399
  init_useLabel2();
4308
4400
  init_spaceDelimitedList();
@@ -4311,7 +4403,7 @@ var init_Select = __esm({
4311
4403
  init_Label2();
4312
4404
  init_Stack2();
4313
4405
  import_Select = require("@simplybusiness/mobius/src/components/Select/Select.css");
4314
- import_jsx_runtime52 = require("react/jsx-runtime");
4406
+ import_jsx_runtime54 = require("react/jsx-runtime");
4315
4407
  Select = ({ ref, ...props }) => {
4316
4408
  const {
4317
4409
  label,
@@ -4332,24 +4424,24 @@ var init_Select = __esm({
4332
4424
  "--is-required": typeof isRequired === "boolean" && isRequired,
4333
4425
  "--is-optional": typeof isRequired === "boolean" && !isRequired
4334
4426
  };
4335
- const sharedClasses = (0, import_dedupe43.default)(validationClasses, stateClasses);
4336
- const wrapperClasses = (0, import_dedupe43.default)(
4427
+ const sharedClasses = (0, import_dedupe44.default)(validationClasses, stateClasses);
4428
+ const wrapperClasses = (0, import_dedupe44.default)(
4337
4429
  "mobius-select__wrapper",
4338
4430
  sharedClasses,
4339
4431
  otherProps.className
4340
4432
  );
4341
- const selectClasses = (0, import_dedupe43.default)(
4433
+ const selectClasses = (0, import_dedupe44.default)(
4342
4434
  "mobius-select",
4343
4435
  sharedClasses,
4344
4436
  otherProps.className
4345
4437
  );
4346
- const labelClasses = (0, import_dedupe43.default)(
4438
+ const labelClasses = (0, import_dedupe44.default)(
4347
4439
  "mobius-label",
4348
4440
  sharedClasses,
4349
4441
  otherProps.className
4350
4442
  );
4351
- const iconClasses = (0, import_dedupe43.default)("mobius-select__icon", sharedClasses);
4352
- const errorMessageId = (0, import_react36.useId)();
4443
+ const iconClasses = (0, import_dedupe44.default)("mobius-select__icon", sharedClasses);
4444
+ const errorMessageId = (0, import_react37.useId)();
4353
4445
  const shouldErrorMessageShow = errorMessage ? errorMessageId : void 0;
4354
4446
  const describedBy = spaceDelimitedList([
4355
4447
  shouldErrorMessageShow,
@@ -4360,10 +4452,10 @@ var init_Select = __esm({
4360
4452
  onChange(e);
4361
4453
  }
4362
4454
  };
4363
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(Stack, { className: "mobius mobius-select__outer", gap: "xs", children: [
4364
- label && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Label, { ...labelProps, className: labelClasses, children: label }),
4365
- /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("div", { className: wrapperClasses, children: [
4366
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
4455
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(Stack, { className: "mobius mobius-select__outer", gap: "xs", children: [
4456
+ label && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Label, { ...labelProps, className: labelClasses, children: label }),
4457
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: wrapperClasses, children: [
4458
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
4367
4459
  "select",
4368
4460
  {
4369
4461
  ...otherProps,
@@ -4379,9 +4471,9 @@ var init_Select = __esm({
4379
4471
  onChange: handleChange
4380
4472
  }
4381
4473
  ),
4382
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: iconClasses, children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Icon, { icon: import_icons11.chevronDown }) })
4474
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", { className: iconClasses, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Icon, { icon: import_icons11.chevronDown }) })
4383
4475
  ] }),
4384
- errorMessage && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(ErrorMessage, { id: errorMessageId, errorMessage })
4476
+ errorMessage && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(ErrorMessage, { id: errorMessageId, errorMessage })
4385
4477
  ] });
4386
4478
  };
4387
4479
  Select.displayName = "Select";
@@ -4397,15 +4489,15 @@ var init_Select2 = __esm({
4397
4489
  });
4398
4490
 
4399
4491
  // src/components/Slider/Slider.tsx
4400
- var import_dedupe44, import_react37, import_Slider, import_jsx_runtime53;
4492
+ var import_dedupe45, import_react38, import_Slider, import_jsx_runtime55;
4401
4493
  var init_Slider = __esm({
4402
4494
  "src/components/Slider/Slider.tsx"() {
4403
4495
  "use strict";
4404
4496
  "use client";
4405
- import_dedupe44 = __toESM(require("classnames/dedupe"));
4406
- import_react37 = require("react");
4497
+ import_dedupe45 = __toESM(require("classnames/dedupe"));
4498
+ import_react38 = require("react");
4407
4499
  import_Slider = require("@simplybusiness/mobius/src/components/Slider/Slider.css");
4408
- import_jsx_runtime53 = require("react/jsx-runtime");
4500
+ import_jsx_runtime55 = require("react/jsx-runtime");
4409
4501
  }
4410
4502
  });
4411
4503
 
@@ -4418,19 +4510,19 @@ var init_Slider2 = __esm({
4418
4510
  });
4419
4511
 
4420
4512
  // src/components/SVG/SVG.tsx
4421
- var import_react38, import_dedupe45, import_jsx_runtime54, SVG;
4513
+ var import_react39, import_dedupe46, import_jsx_runtime56, SVG;
4422
4514
  var init_SVG = __esm({
4423
4515
  "src/components/SVG/SVG.tsx"() {
4424
4516
  "use strict";
4425
- import_react38 = require("react");
4426
- import_dedupe45 = __toESM(require("classnames/dedupe"));
4427
- import_jsx_runtime54 = require("react/jsx-runtime");
4517
+ import_react39 = require("react");
4518
+ import_dedupe46 = __toESM(require("classnames/dedupe"));
4519
+ import_jsx_runtime56 = require("react/jsx-runtime");
4428
4520
  SVG = ({ ref, ...props }) => {
4429
4521
  const { children, className, ...otherProps } = props;
4430
- const classes = (0, import_dedupe45.default)("mobius", "mobius-svg", className);
4431
- const svgNode = import_react38.Children.only(children);
4522
+ const classes = (0, import_dedupe46.default)("mobius", "mobius-svg", className);
4523
+ const svgNode = import_react39.Children.only(children);
4432
4524
  const { children: svgChildren, viewBox, xmlns } = svgNode.props;
4433
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
4525
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
4434
4526
  "svg",
4435
4527
  {
4436
4528
  viewBox,
@@ -4455,16 +4547,16 @@ var init_SVG2 = __esm({
4455
4547
  });
4456
4548
 
4457
4549
  // src/components/Switch/Switch.tsx
4458
- var import_react39, import_dedupe46, import_Switch, import_jsx_runtime55, Switch;
4550
+ var import_react40, import_dedupe47, import_Switch, import_jsx_runtime57, Switch;
4459
4551
  var init_Switch = __esm({
4460
4552
  "src/components/Switch/Switch.tsx"() {
4461
4553
  "use strict";
4462
4554
  "use client";
4463
- import_react39 = require("react");
4464
- import_dedupe46 = __toESM(require("classnames/dedupe"));
4555
+ import_react40 = require("react");
4556
+ import_dedupe47 = __toESM(require("classnames/dedupe"));
4465
4557
  init_VisuallyHidden2();
4466
4558
  import_Switch = require("@simplybusiness/mobius/src/components/Switch/Switch.css");
4467
- import_jsx_runtime55 = require("react/jsx-runtime");
4559
+ import_jsx_runtime57 = require("react/jsx-runtime");
4468
4560
  Switch = ({ ref, ...props }) => {
4469
4561
  const {
4470
4562
  checked = false,
@@ -4473,11 +4565,11 @@ var init_Switch = __esm({
4473
4565
  isDisabled = false,
4474
4566
  ...otherProps
4475
4567
  } = props;
4476
- const [enabled, setEnabled] = (0, import_react39.useState)(checked);
4477
- (0, import_react39.useEffect)(() => {
4568
+ const [enabled, setEnabled] = (0, import_react40.useState)(checked);
4569
+ (0, import_react40.useEffect)(() => {
4478
4570
  setEnabled(checked);
4479
4571
  }, [checked]);
4480
- const classes = (0, import_dedupe46.default)(
4572
+ const classes = (0, import_dedupe47.default)(
4481
4573
  "mobius",
4482
4574
  "mobius-switch",
4483
4575
  {
@@ -4492,9 +4584,9 @@ var init_Switch = __esm({
4492
4584
  onChange(event);
4493
4585
  }
4494
4586
  };
4495
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("label", { ref, className: classes, children: [
4496
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(VisuallyHidden, { children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("span", { children: enabled ? "On" : "Off" }) }),
4497
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
4587
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("label", { ref, className: classes, children: [
4588
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(VisuallyHidden, { children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("span", { children: enabled ? "On" : "Off" }) }),
4589
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
4498
4590
  "input",
4499
4591
  {
4500
4592
  type: "checkbox",
@@ -4505,7 +4597,7 @@ var init_Switch = __esm({
4505
4597
  ...otherProps
4506
4598
  }
4507
4599
  ),
4508
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("span", { className: "mobius-switch__slider" })
4600
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("span", { className: "mobius-switch__slider" })
4509
4601
  ] });
4510
4602
  };
4511
4603
  Switch.displayName = "Switch";
@@ -4521,114 +4613,114 @@ var init_Switch2 = __esm({
4521
4613
  });
4522
4614
 
4523
4615
  // src/components/Table/Table.tsx
4524
- var import_dedupe47, import_Table, import_jsx_runtime56, Table;
4616
+ var import_dedupe48, import_Table, import_jsx_runtime58, Table;
4525
4617
  var init_Table = __esm({
4526
4618
  "src/components/Table/Table.tsx"() {
4527
4619
  "use strict";
4528
- import_dedupe47 = __toESM(require("classnames/dedupe"));
4620
+ import_dedupe48 = __toESM(require("classnames/dedupe"));
4529
4621
  import_Table = require("@simplybusiness/mobius/src/components/Table/Table.css");
4530
- import_jsx_runtime56 = require("react/jsx-runtime");
4622
+ import_jsx_runtime58 = require("react/jsx-runtime");
4531
4623
  Table = ({ ref, ...props }) => {
4532
- const classes = (0, import_dedupe47.default)("mobius", "mobius-table", props.className);
4533
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("table", { ref, ...props, className: classes });
4624
+ const classes = (0, import_dedupe48.default)("mobius", "mobius-table", props.className);
4625
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("table", { ref, ...props, className: classes });
4534
4626
  };
4535
4627
  Table.displayName = "Table";
4536
4628
  }
4537
4629
  });
4538
4630
 
4539
4631
  // src/components/Table/Head.tsx
4540
- var import_dedupe48, import_jsx_runtime57, Head;
4632
+ var import_dedupe49, import_jsx_runtime59, Head;
4541
4633
  var init_Head = __esm({
4542
4634
  "src/components/Table/Head.tsx"() {
4543
4635
  "use strict";
4544
- import_dedupe48 = __toESM(require("classnames/dedupe"));
4545
- import_jsx_runtime57 = require("react/jsx-runtime");
4636
+ import_dedupe49 = __toESM(require("classnames/dedupe"));
4637
+ import_jsx_runtime59 = require("react/jsx-runtime");
4546
4638
  Head = ({ ref, ...props }) => {
4547
- const classes = (0, import_dedupe48.default)("mobius", "mobius-table__head", props.className);
4548
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("thead", { ref, ...props, className: classes });
4639
+ const classes = (0, import_dedupe49.default)("mobius", "mobius-table__head", props.className);
4640
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("thead", { ref, ...props, className: classes });
4549
4641
  };
4550
4642
  Head.displayName = "Table.Head";
4551
4643
  }
4552
4644
  });
4553
4645
 
4554
4646
  // src/components/Table/Body.tsx
4555
- var import_dedupe49, import_jsx_runtime58, Body;
4647
+ var import_dedupe50, import_jsx_runtime60, Body;
4556
4648
  var init_Body = __esm({
4557
4649
  "src/components/Table/Body.tsx"() {
4558
4650
  "use strict";
4559
- import_dedupe49 = __toESM(require("classnames/dedupe"));
4560
- import_jsx_runtime58 = require("react/jsx-runtime");
4651
+ import_dedupe50 = __toESM(require("classnames/dedupe"));
4652
+ import_jsx_runtime60 = require("react/jsx-runtime");
4561
4653
  Body = ({ ref, ...props }) => {
4562
- const classes = (0, import_dedupe49.default)("mobius", "mobius-table__body", props.className);
4563
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("tbody", { ref, ...props, className: classes });
4654
+ const classes = (0, import_dedupe50.default)("mobius", "mobius-table__body", props.className);
4655
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("tbody", { ref, ...props, className: classes });
4564
4656
  };
4565
4657
  Body.displayName = "Table.Body";
4566
4658
  }
4567
4659
  });
4568
4660
 
4569
4661
  // src/components/Table/Foot.tsx
4570
- var import_dedupe50, import_jsx_runtime59, Foot;
4662
+ var import_dedupe51, import_jsx_runtime61, Foot;
4571
4663
  var init_Foot = __esm({
4572
4664
  "src/components/Table/Foot.tsx"() {
4573
4665
  "use strict";
4574
- import_dedupe50 = __toESM(require("classnames/dedupe"));
4575
- import_jsx_runtime59 = require("react/jsx-runtime");
4666
+ import_dedupe51 = __toESM(require("classnames/dedupe"));
4667
+ import_jsx_runtime61 = require("react/jsx-runtime");
4576
4668
  Foot = ({ ref, ...props }) => {
4577
- const classes = (0, import_dedupe50.default)("mobius", "mobius-table__foot", props.className);
4578
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("tfoot", { ref, ...props, className: classes });
4669
+ const classes = (0, import_dedupe51.default)("mobius", "mobius-table__foot", props.className);
4670
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("tfoot", { ref, ...props, className: classes });
4579
4671
  };
4580
4672
  Foot.displayName = "Table.Foot";
4581
4673
  }
4582
4674
  });
4583
4675
 
4584
4676
  // src/components/Table/Row.tsx
4585
- var import_dedupe51, import_jsx_runtime60, Row;
4677
+ var import_dedupe52, import_jsx_runtime62, Row;
4586
4678
  var init_Row = __esm({
4587
4679
  "src/components/Table/Row.tsx"() {
4588
4680
  "use strict";
4589
- import_dedupe51 = __toESM(require("classnames/dedupe"));
4590
- import_jsx_runtime60 = require("react/jsx-runtime");
4681
+ import_dedupe52 = __toESM(require("classnames/dedupe"));
4682
+ import_jsx_runtime62 = require("react/jsx-runtime");
4591
4683
  Row = ({ ref, ...props }) => {
4592
- const classes = (0, import_dedupe51.default)("mobius", "mobius-table__row", props.className);
4593
- return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("tr", { ref, ...props, className: classes });
4684
+ const classes = (0, import_dedupe52.default)("mobius", "mobius-table__row", props.className);
4685
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("tr", { ref, ...props, className: classes });
4594
4686
  };
4595
4687
  Row.displayName = "Table.Row";
4596
4688
  }
4597
4689
  });
4598
4690
 
4599
4691
  // src/components/Table/HeaderCell.tsx
4600
- var import_dedupe52, import_jsx_runtime61, HeaderCell;
4692
+ var import_dedupe53, import_jsx_runtime63, HeaderCell;
4601
4693
  var init_HeaderCell = __esm({
4602
4694
  "src/components/Table/HeaderCell.tsx"() {
4603
4695
  "use strict";
4604
- import_dedupe52 = __toESM(require("classnames/dedupe"));
4605
- import_jsx_runtime61 = require("react/jsx-runtime");
4696
+ import_dedupe53 = __toESM(require("classnames/dedupe"));
4697
+ import_jsx_runtime63 = require("react/jsx-runtime");
4606
4698
  HeaderCell = ({ ref, ...props }) => {
4607
- const classes = (0, import_dedupe52.default)(
4699
+ const classes = (0, import_dedupe53.default)(
4608
4700
  "mobius",
4609
4701
  "mobius-table__head-cell",
4610
4702
  props.className
4611
4703
  );
4612
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("th", { ...props, ref, className: classes });
4704
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("th", { ...props, ref, className: classes });
4613
4705
  };
4614
4706
  HeaderCell.displayName = "Table.HeaderCell";
4615
4707
  }
4616
4708
  });
4617
4709
 
4618
4710
  // src/components/Table/Cell.tsx
4619
- var import_dedupe53, import_jsx_runtime62, Cell;
4711
+ var import_dedupe54, import_jsx_runtime64, Cell;
4620
4712
  var init_Cell = __esm({
4621
4713
  "src/components/Table/Cell.tsx"() {
4622
4714
  "use strict";
4623
- import_dedupe53 = __toESM(require("classnames/dedupe"));
4624
- import_jsx_runtime62 = require("react/jsx-runtime");
4715
+ import_dedupe54 = __toESM(require("classnames/dedupe"));
4716
+ import_jsx_runtime64 = require("react/jsx-runtime");
4625
4717
  Cell = ({ ref, ...props }) => {
4626
- const classes = (0, import_dedupe53.default)(
4718
+ const classes = (0, import_dedupe54.default)(
4627
4719
  "mobius",
4628
4720
  "mobius-table__body-cell",
4629
4721
  props.className
4630
4722
  );
4631
- return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("td", { ref, ...props, className: classes });
4723
+ return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("td", { ref, ...props, className: classes });
4632
4724
  };
4633
4725
  Cell.displayName = "Table.Cell";
4634
4726
  }
@@ -4658,37 +4750,6 @@ var init_Table2 = __esm({
4658
4750
  }
4659
4751
  });
4660
4752
 
4661
- // src/components/Text/Text.tsx
4662
- var import_dedupe54, import_Text, import_jsx_runtime63, getElementType, Text;
4663
- var init_Text = __esm({
4664
- "src/components/Text/Text.tsx"() {
4665
- "use strict";
4666
- import_dedupe54 = __toESM(require("classnames/dedupe"));
4667
- import_Text = require("@simplybusiness/mobius/src/components/Text/Text.css");
4668
- import_jsx_runtime63 = require("react/jsx-runtime");
4669
- getElementType = (variant, elementType) => {
4670
- if (variant) {
4671
- return ["h1", "h2", "h3", "h4"].includes(variant) ? variant : "p";
4672
- }
4673
- return elementType || "p";
4674
- };
4675
- Text = ({ ref, elementType: Component = "p", ...props }) => {
4676
- const { variant, className, spacing, ...otherProps } = props;
4677
- const elementType = getElementType(variant, Component);
4678
- const variantType = variant || elementType;
4679
- const classes = (0, import_dedupe54.default)(
4680
- "mobius",
4681
- "mobius-text",
4682
- { [`--is-${variantType}`]: variantType },
4683
- { [`--has-line-height-${spacing}`]: spacing },
4684
- className
4685
- );
4686
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Component, { ref, ...otherProps, className: classes });
4687
- };
4688
- Text.displayName = "Text";
4689
- }
4690
- });
4691
-
4692
4753
  // src/components/Text/index.tsx
4693
4754
  var init_Text2 = __esm({
4694
4755
  "src/components/Text/index.tsx"() {
@@ -4698,12 +4759,12 @@ var init_Text2 = __esm({
4698
4759
  });
4699
4760
 
4700
4761
  // src/components/TextAreaInput/TextAreaInput.tsx
4701
- var import_dedupe55, import_jsx_runtime64, TextAreaInput;
4762
+ var import_dedupe55, import_jsx_runtime65, TextAreaInput;
4702
4763
  var init_TextAreaInput = __esm({
4703
4764
  "src/components/TextAreaInput/TextAreaInput.tsx"() {
4704
4765
  "use strict";
4705
4766
  import_dedupe55 = __toESM(require("classnames/dedupe"));
4706
- import_jsx_runtime64 = require("react/jsx-runtime");
4767
+ import_jsx_runtime65 = require("react/jsx-runtime");
4707
4768
  TextAreaInput = ({ ref, ...props }) => {
4708
4769
  const { isSelected, isDisabled, isReadOnly, isRequired, ...otherProps } = props;
4709
4770
  const classes = (0, import_dedupe55.default)(
@@ -4716,7 +4777,7 @@ var init_TextAreaInput = __esm({
4716
4777
  },
4717
4778
  otherProps.className
4718
4779
  );
4719
- return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
4780
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
4720
4781
  "textarea",
4721
4782
  {
4722
4783
  ref,
@@ -4740,7 +4801,7 @@ var init_TextAreaInput2 = __esm({
4740
4801
  });
4741
4802
 
4742
4803
  // src/components/TextArea/TextArea.tsx
4743
- var import_dedupe56, import_TextArea, import_jsx_runtime65, TextArea;
4804
+ var import_dedupe56, import_TextArea, import_jsx_runtime66, TextArea;
4744
4805
  var init_TextArea = __esm({
4745
4806
  "src/components/TextArea/TextArea.tsx"() {
4746
4807
  "use strict";
@@ -4752,7 +4813,7 @@ var init_TextArea = __esm({
4752
4813
  init_Stack2();
4753
4814
  init_TextAreaInput2();
4754
4815
  import_TextArea = require("@simplybusiness/mobius/src/components/TextArea/TextArea.css");
4755
- import_jsx_runtime65 = require("react/jsx-runtime");
4816
+ import_jsx_runtime66 = require("react/jsx-runtime");
4756
4817
  TextArea = ({ ref, ...props }) => {
4757
4818
  const {
4758
4819
  isDisabled,
@@ -4772,9 +4833,9 @@ var init_TextArea = __esm({
4772
4833
  },
4773
4834
  validationClasses
4774
4835
  );
4775
- return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(Stack, { className: classes, gap: "xs", children: [
4776
- label && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Label, { ...labelProps, className: labelClasses, children: props.label }),
4777
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
4836
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(Stack, { className: classes, gap: "xs", children: [
4837
+ label && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Label, { ...labelProps, className: labelClasses, children: props.label }),
4838
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
4778
4839
  TextAreaInput,
4779
4840
  {
4780
4841
  ...otherProps,
@@ -4785,7 +4846,7 @@ var init_TextArea = __esm({
4785
4846
  "aria-invalid": errorMessage != null
4786
4847
  }
4787
4848
  ),
4788
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(ErrorMessage, { ...errorMessageProps, errorMessage })
4849
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(ErrorMessage, { ...errorMessageProps, errorMessage })
4789
4850
  ] });
4790
4851
  };
4791
4852
  TextArea.displayName = "TextArea";
@@ -4800,53 +4861,6 @@ var init_TextArea2 = __esm({
4800
4861
  }
4801
4862
  });
4802
4863
 
4803
- // src/components/TextOrHTML/TextOrHTML.tsx
4804
- var import_react40, import_jsx_runtime66, isHTML, TextOrHTML;
4805
- var init_TextOrHTML = __esm({
4806
- "src/components/TextOrHTML/TextOrHTML.tsx"() {
4807
- "use strict";
4808
- import_react40 = require("react");
4809
- init_Text();
4810
- import_jsx_runtime66 = require("react/jsx-runtime");
4811
- isHTML = (text) => /^\s*<[a-z]/i.test(text);
4812
- TextOrHTML = ({
4813
- ref,
4814
- text,
4815
- htmlClassName,
4816
- htmlElementType,
4817
- textWrapper = false,
4818
- autoDetect = false,
4819
- ...textProps
4820
- }) => {
4821
- const textIsHTML = autoDetect && isHTML(text);
4822
- const shouldWrapInText = autoDetect ? textWrapper || !textIsHTML : textWrapper;
4823
- const resolvedElementType = htmlElementType ?? (textIsHTML ? "div" : "span");
4824
- const DangerousComponent = resolvedElementType;
4825
- const dangerousHTML = (0, import_react40.useMemo)(() => ({ __html: text }), [text]);
4826
- const dangerousElement = /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
4827
- DangerousComponent,
4828
- {
4829
- className: htmlClassName,
4830
- dangerouslySetInnerHTML: dangerousHTML
4831
- }
4832
- );
4833
- if (shouldWrapInText) {
4834
- return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Text, { ref, ...textProps, children: dangerousElement });
4835
- }
4836
- return dangerousElement;
4837
- };
4838
- TextOrHTML.displayName = "TextOrHTML";
4839
- }
4840
- });
4841
-
4842
- // src/components/TextOrHTML/index.tsx
4843
- var init_TextOrHTML2 = __esm({
4844
- "src/components/TextOrHTML/index.tsx"() {
4845
- "use strict";
4846
- init_TextOrHTML();
4847
- }
4848
- });
4849
-
4850
4864
  // src/components/Title/Title.tsx
4851
4865
  var import_dedupe57, import_Title, import_jsx_runtime67, Title;
4852
4866
  var init_Title = __esm({