@simplybusiness/mobius 10.1.0 → 10.1.2

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 (111) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/cjs/components/AddressLookup/AddressLookup.js +536 -526
  3. package/dist/cjs/components/AddressLookup/AddressLookup.js.map +4 -4
  4. package/dist/cjs/components/AddressLookup/index.js +536 -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 +502 -492
  11. package/dist/cjs/components/Checkbox/Checkbox.js.map +4 -4
  12. package/dist/cjs/components/Checkbox/CheckboxGroup.js +502 -492
  13. package/dist/cjs/components/Checkbox/CheckboxGroup.js.map +4 -4
  14. package/dist/cjs/components/Checkbox/index.js +481 -471
  15. package/dist/cjs/components/Checkbox/index.js.map +4 -4
  16. package/dist/cjs/components/Combobox/Combobox.js +536 -526
  17. package/dist/cjs/components/Combobox/Combobox.js.map +4 -4
  18. package/dist/cjs/components/Combobox/index.js +536 -526
  19. package/dist/cjs/components/Combobox/index.js.map +4 -4
  20. package/dist/cjs/components/DateField/DateField.js +523 -513
  21. package/dist/cjs/components/DateField/DateField.js.map +4 -4
  22. package/dist/cjs/components/DateField/index.js +523 -513
  23. package/dist/cjs/components/DateField/index.js.map +4 -4
  24. package/dist/cjs/components/ErrorMessage/ErrorMessage.js +523 -513
  25. package/dist/cjs/components/ErrorMessage/ErrorMessage.js.map +4 -4
  26. package/dist/cjs/components/ErrorMessage/index.js +523 -513
  27. package/dist/cjs/components/ErrorMessage/index.js.map +4 -4
  28. package/dist/cjs/components/ExpandableText/ExpandableText.js +523 -513
  29. package/dist/cjs/components/ExpandableText/ExpandableText.js.map +4 -4
  30. package/dist/cjs/components/ExpandableText/index.js +523 -513
  31. package/dist/cjs/components/ExpandableText/index.js.map +4 -4
  32. package/dist/cjs/components/MaskedField/MaskedField.js +533 -523
  33. package/dist/cjs/components/MaskedField/MaskedField.js.map +4 -4
  34. package/dist/cjs/components/MaskedField/index.js +533 -523
  35. package/dist/cjs/components/MaskedField/index.js.map +4 -4
  36. package/dist/cjs/components/NumberField/NumberField.js +524 -514
  37. package/dist/cjs/components/NumberField/NumberField.js.map +4 -4
  38. package/dist/cjs/components/NumberField/index.js +524 -514
  39. package/dist/cjs/components/NumberField/index.js.map +4 -4
  40. package/dist/cjs/components/PasswordField/PasswordField.js +520 -510
  41. package/dist/cjs/components/PasswordField/PasswordField.js.map +4 -4
  42. package/dist/cjs/components/PasswordField/ShowHideButton.js +519 -509
  43. package/dist/cjs/components/PasswordField/ShowHideButton.js.map +4 -4
  44. package/dist/cjs/components/PasswordField/index.js +520 -510
  45. package/dist/cjs/components/PasswordField/index.js.map +4 -4
  46. package/dist/cjs/components/Radio/Radio.js +502 -492
  47. package/dist/cjs/components/Radio/Radio.js.map +4 -4
  48. package/dist/cjs/components/Radio/RadioGroup.js +501 -491
  49. package/dist/cjs/components/Radio/RadioGroup.js.map +4 -4
  50. package/dist/cjs/components/Radio/index.js +480 -470
  51. package/dist/cjs/components/Radio/index.js.map +4 -4
  52. package/dist/cjs/components/Select/Select.js +507 -497
  53. package/dist/cjs/components/Select/Select.js.map +4 -4
  54. package/dist/cjs/components/Select/index.js +507 -497
  55. package/dist/cjs/components/Select/index.js.map +4 -4
  56. package/dist/cjs/components/TextArea/TextArea.js +517 -507
  57. package/dist/cjs/components/TextArea/TextArea.js.map +4 -4
  58. package/dist/cjs/components/TextArea/index.js +517 -507
  59. package/dist/cjs/components/TextArea/index.js.map +4 -4
  60. package/dist/cjs/components/TextField/TextField.js +533 -523
  61. package/dist/cjs/components/TextField/TextField.js.map +4 -4
  62. package/dist/cjs/components/TextField/index.js +533 -523
  63. package/dist/cjs/components/TextField/index.js.map +4 -4
  64. package/dist/cjs/components/index.js +563 -553
  65. package/dist/cjs/components/index.js.map +4 -4
  66. package/dist/cjs/index.js +563 -553
  67. package/dist/cjs/index.js.map +4 -4
  68. package/dist/cjs/meta.json +1340 -1273
  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-PB2OICEB.js} +1 -1
  72. package/dist/esm/components/AddressLookup/AddressLookup.js +2 -2
  73. package/dist/esm/components/AddressLookup/index.js +2 -2
  74. package/dist/esm/components/Alert/Alert.js +4 -1
  75. package/dist/esm/components/Alert/index.js +4 -1
  76. package/dist/esm/components/Checkbox/Checkbox.js +2 -2
  77. package/dist/esm/components/Checkbox/CheckboxGroup.js +2 -2
  78. package/dist/esm/components/Checkbox/index.js +2 -2
  79. package/dist/esm/components/Combobox/Combobox.js +2 -2
  80. package/dist/esm/components/Combobox/index.js +2 -2
  81. package/dist/esm/components/DateField/DateField.js +2 -2
  82. package/dist/esm/components/DateField/index.js +2 -2
  83. package/dist/esm/components/ErrorMessage/ErrorMessage.js +2 -2
  84. package/dist/esm/components/ErrorMessage/index.js +2 -2
  85. package/dist/esm/components/ExpandableText/ExpandableText.js +2 -2
  86. package/dist/esm/components/ExpandableText/index.js +2 -2
  87. package/dist/esm/components/MaskedField/MaskedField.js +2 -2
  88. package/dist/esm/components/MaskedField/index.js +2 -2
  89. package/dist/esm/components/NumberField/NumberField.js +2 -2
  90. package/dist/esm/components/NumberField/index.js +2 -2
  91. package/dist/esm/components/PasswordField/PasswordField.js +2 -2
  92. package/dist/esm/components/PasswordField/ShowHideButton.js +2 -2
  93. package/dist/esm/components/PasswordField/index.js +2 -2
  94. package/dist/esm/components/Radio/Radio.js +2 -2
  95. package/dist/esm/components/Radio/RadioGroup.js +2 -2
  96. package/dist/esm/components/Radio/index.js +2 -2
  97. package/dist/esm/components/Select/Select.js +2 -2
  98. package/dist/esm/components/Select/index.js +2 -2
  99. package/dist/esm/components/TextArea/TextArea.js +2 -2
  100. package/dist/esm/components/TextArea/index.js +2 -2
  101. package/dist/esm/components/TextField/TextField.js +2 -2
  102. package/dist/esm/components/TextField/index.js +2 -2
  103. package/dist/esm/components/index.js +2 -2
  104. package/dist/esm/index.js +2 -2
  105. package/dist/esm/meta.json +160 -127
  106. package/dist/tsconfig.build.tsbuildinfo +1 -1
  107. package/package.json +1 -1
  108. package/src/components/Alert/Alert.tsx +10 -1
  109. package/src/components/Button/Button.css +44 -14
  110. package/dist/esm/chunk-FTSJNY4J.js.map +0 -7
  111. /package/dist/esm/{chunk-C4BILMFX.js.map → chunk-PB2OICEB.js.map} +0 -0
package/dist/cjs/index.js CHANGED
@@ -2346,19 +2346,98 @@ var init_AddressLookup2 = __esm({
2346
2346
  }
2347
2347
  });
2348
2348
 
2349
+ // src/components/Text/Text.tsx
2350
+ var import_dedupe15, import_Text, import_jsx_runtime16, getElementType, Text;
2351
+ var init_Text = __esm({
2352
+ "src/components/Text/Text.tsx"() {
2353
+ "use strict";
2354
+ import_dedupe15 = __toESM(require("classnames/dedupe"));
2355
+ import_Text = require("@simplybusiness/mobius/src/components/Text/Text.css");
2356
+ import_jsx_runtime16 = require("react/jsx-runtime");
2357
+ getElementType = (variant, elementType) => {
2358
+ if (variant) {
2359
+ return ["h1", "h2", "h3", "h4"].includes(variant) ? variant : "p";
2360
+ }
2361
+ return elementType || "p";
2362
+ };
2363
+ Text = ({ ref, elementType: Component = "p", ...props }) => {
2364
+ const { variant, className, spacing, ...otherProps } = props;
2365
+ const elementType = getElementType(variant, Component);
2366
+ const variantType = variant || elementType;
2367
+ const classes = (0, import_dedupe15.default)(
2368
+ "mobius",
2369
+ "mobius-text",
2370
+ { [`--is-${variantType}`]: variantType },
2371
+ { [`--has-line-height-${spacing}`]: spacing },
2372
+ className
2373
+ );
2374
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Component, { ref, ...otherProps, className: classes });
2375
+ };
2376
+ Text.displayName = "Text";
2377
+ }
2378
+ });
2379
+
2380
+ // src/components/TextOrHTML/TextOrHTML.tsx
2381
+ var import_react15, import_jsx_runtime17, isHTML, TextOrHTML;
2382
+ var init_TextOrHTML = __esm({
2383
+ "src/components/TextOrHTML/TextOrHTML.tsx"() {
2384
+ "use strict";
2385
+ import_react15 = require("react");
2386
+ init_Text();
2387
+ import_jsx_runtime17 = require("react/jsx-runtime");
2388
+ isHTML = (text) => /^\s*<[a-z]/i.test(text);
2389
+ TextOrHTML = ({
2390
+ ref,
2391
+ text,
2392
+ htmlClassName,
2393
+ htmlElementType,
2394
+ textWrapper = false,
2395
+ autoDetect = false,
2396
+ ...textProps
2397
+ }) => {
2398
+ const textIsHTML = autoDetect && isHTML(text);
2399
+ const shouldWrapInText = autoDetect ? textWrapper || !textIsHTML : textWrapper;
2400
+ const resolvedElementType = htmlElementType ?? (textIsHTML ? "div" : "span");
2401
+ const DangerousComponent = resolvedElementType;
2402
+ const dangerousHTML = (0, import_react15.useMemo)(() => ({ __html: text }), [text]);
2403
+ const dangerousElement = /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
2404
+ DangerousComponent,
2405
+ {
2406
+ className: htmlClassName,
2407
+ dangerouslySetInnerHTML: dangerousHTML
2408
+ }
2409
+ );
2410
+ if (shouldWrapInText) {
2411
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Text, { ref, ...textProps, children: dangerousElement });
2412
+ }
2413
+ return dangerousElement;
2414
+ };
2415
+ TextOrHTML.displayName = "TextOrHTML";
2416
+ }
2417
+ });
2418
+
2419
+ // src/components/TextOrHTML/index.tsx
2420
+ var init_TextOrHTML2 = __esm({
2421
+ "src/components/TextOrHTML/index.tsx"() {
2422
+ "use strict";
2423
+ init_TextOrHTML();
2424
+ }
2425
+ });
2426
+
2349
2427
  // src/components/Alert/Alert.tsx
2350
2428
  function isAlertVariant(value) {
2351
2429
  return value === "info" || value === "success" || value === "warning" || value === "error";
2352
2430
  }
2353
- var import_icons4, import_dedupe15, import_Alert, import_jsx_runtime16, Alert;
2431
+ var import_icons4, import_dedupe16, import_Alert, import_jsx_runtime18, Alert;
2354
2432
  var init_Alert = __esm({
2355
2433
  "src/components/Alert/Alert.tsx"() {
2356
2434
  "use strict";
2357
2435
  import_icons4 = require("@simplybusiness/icons");
2358
- import_dedupe15 = __toESM(require("classnames/dedupe"));
2436
+ import_dedupe16 = __toESM(require("classnames/dedupe"));
2359
2437
  init_Icon2();
2438
+ init_TextOrHTML2();
2360
2439
  import_Alert = require("@simplybusiness/mobius/src/components/Alert/Alert.css");
2361
- import_jsx_runtime16 = require("react/jsx-runtime");
2440
+ import_jsx_runtime18 = require("react/jsx-runtime");
2362
2441
  Alert = ({ ref, ...props }) => {
2363
2442
  const {
2364
2443
  elementType: Element = "div",
@@ -2371,7 +2450,7 @@ var init_Alert = __esm({
2371
2450
  if (!show) return null;
2372
2451
  const variant = variantProp && isAlertVariant(variantProp) ? variantProp : "info";
2373
2452
  const colorValue = variant === "success" ? `var(--color-valid)` : `var(--color-${variant})`;
2374
- const classes = (0, import_dedupe15.default)(
2453
+ const classes = (0, import_dedupe16.default)(
2375
2454
  "mobius",
2376
2455
  "mobius-alert",
2377
2456
  {
@@ -2389,14 +2468,23 @@ var init_Alert = __esm({
2389
2468
  warning: import_icons4.warning,
2390
2469
  error: import_icons4.error
2391
2470
  };
2392
- const headerClasses = (0, import_dedupe15.default)("mobius", "mobius-alert__header");
2393
- const iconClasses = (0, import_dedupe15.default)("mobius", "mobius-alert__icon");
2394
- const contentClasses = (0, import_dedupe15.default)("mobius", "mobius-alert__content");
2395
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(Element, { ref, role: "alert", ...otherProps, className: classes, children: [
2396
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: iconClasses, children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Icon, { icon: icon[variant], color: colorValue }) }),
2397
- /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { children: [
2398
- header && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("p", { className: headerClasses, children: header }),
2399
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: contentClasses, children })
2471
+ const headerClasses = (0, import_dedupe16.default)("mobius", "mobius-alert__header");
2472
+ const iconClasses = (0, import_dedupe16.default)("mobius", "mobius-alert__icon");
2473
+ const contentClasses = (0, import_dedupe16.default)("mobius", "mobius-alert__content");
2474
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(Element, { ref, role: "alert", ...otherProps, className: classes, children: [
2475
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { className: iconClasses, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Icon, { icon: icon[variant], color: colorValue }) }),
2476
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { children: [
2477
+ header && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
2478
+ TextOrHTML,
2479
+ {
2480
+ autoDetect: true,
2481
+ htmlElementType: "span",
2482
+ className: headerClasses,
2483
+ htmlClassName: headerClasses,
2484
+ text: header
2485
+ }
2486
+ ),
2487
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: contentClasses, children })
2400
2488
  ] })
2401
2489
  ] });
2402
2490
  };
@@ -2413,14 +2501,14 @@ var init_Alert2 = __esm({
2413
2501
  });
2414
2502
 
2415
2503
  // src/components/Box/Box.tsx
2416
- var import_dedupe16, import_Box, import_jsx_runtime17, Box;
2504
+ var import_dedupe17, import_Box, import_jsx_runtime19, Box;
2417
2505
  var init_Box = __esm({
2418
2506
  "src/components/Box/Box.tsx"() {
2419
2507
  "use strict";
2420
- import_dedupe16 = __toESM(require("classnames/dedupe"));
2508
+ import_dedupe17 = __toESM(require("classnames/dedupe"));
2421
2509
  init_utils();
2422
2510
  import_Box = require("@simplybusiness/mobius/src/components/Box/Box.css");
2423
- import_jsx_runtime17 = require("react/jsx-runtime");
2511
+ import_jsx_runtime19 = require("react/jsx-runtime");
2424
2512
  Box = ({ ref, ...props }) => {
2425
2513
  const {
2426
2514
  elementType: Element = "div",
@@ -2446,7 +2534,7 @@ var init_Box = __esm({
2446
2534
  style,
2447
2535
  ...otherProps
2448
2536
  } = props;
2449
- const classes = (0, import_dedupe16.default)("mobius", "mobius-box", otherProps.className);
2537
+ const classes = (0, import_dedupe17.default)("mobius", "mobius-box", otherProps.className);
2450
2538
  const styleProps = filterUndefinedProps({
2451
2539
  padding: getSpacingValue(padding),
2452
2540
  paddingInline: getSpacingValue(paddingInline || paddingX),
@@ -2463,7 +2551,7 @@ var init_Box = __esm({
2463
2551
  height,
2464
2552
  ...style
2465
2553
  });
2466
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Element, { ref, style: styleProps, ...otherProps, className: classes });
2554
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Element, { ref, style: styleProps, ...otherProps, className: classes });
2467
2555
  };
2468
2556
  Box.displayName = "Box";
2469
2557
  }
@@ -2478,27 +2566,27 @@ var init_Box2 = __esm({
2478
2566
  });
2479
2567
 
2480
2568
  // src/components/Breadcrumbs/Breadcrumbs.tsx
2481
- var import_react15, import_dedupe17, import_Breadcrumbs, import_jsx_runtime18, Breadcrumbs;
2569
+ var import_react16, import_dedupe18, import_Breadcrumbs, import_jsx_runtime20, Breadcrumbs;
2482
2570
  var init_Breadcrumbs = __esm({
2483
2571
  "src/components/Breadcrumbs/Breadcrumbs.tsx"() {
2484
2572
  "use strict";
2485
2573
  "use client";
2486
- import_react15 = require("react");
2487
- import_dedupe17 = __toESM(require("classnames/dedupe"));
2574
+ import_react16 = require("react");
2575
+ import_dedupe18 = __toESM(require("classnames/dedupe"));
2488
2576
  import_Breadcrumbs = require("@simplybusiness/mobius/src/components/Breadcrumbs/Breadcrumbs.css");
2489
- import_jsx_runtime18 = require("react/jsx-runtime");
2577
+ import_jsx_runtime20 = require("react/jsx-runtime");
2490
2578
  Breadcrumbs = ({ ref, ...props }) => {
2491
2579
  const { "aria-label": ariaLabel = "Breadcrumbs" } = props;
2492
2580
  const { navProps } = { navProps: { "aria-label": ariaLabel } };
2493
2581
  const { children, ...otherProps } = props;
2494
- const childArray = import_react15.Children.toArray(children);
2495
- const classes = (0, import_dedupe17.default)(
2582
+ const childArray = import_react16.Children.toArray(children);
2583
+ const classes = (0, import_dedupe18.default)(
2496
2584
  "mobius",
2497
2585
  "mobius-breadcrumb",
2498
2586
  otherProps.className
2499
2587
  );
2500
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("nav", { ref, ...otherProps, ...navProps, className: classes, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("ul", { children: childArray.map(
2501
- (child, i) => (0, import_react15.cloneElement)(
2588
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("nav", { ref, ...otherProps, ...navProps, className: classes, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("ul", { children: childArray.map(
2589
+ (child, i) => (0, import_react16.cloneElement)(
2502
2590
  child,
2503
2591
  {
2504
2592
  key: i,
@@ -2512,22 +2600,22 @@ var init_Breadcrumbs = __esm({
2512
2600
  });
2513
2601
 
2514
2602
  // src/components/Breadcrumbs/BreadcrumbItem.tsx
2515
- var import_react16, import_dedupe18, import_jsx_runtime19, BreadcrumbItem;
2603
+ var import_react17, import_dedupe19, import_jsx_runtime21, BreadcrumbItem;
2516
2604
  var init_BreadcrumbItem = __esm({
2517
2605
  "src/components/Breadcrumbs/BreadcrumbItem.tsx"() {
2518
2606
  "use strict";
2519
2607
  "use client";
2520
- import_react16 = require("react");
2521
- import_dedupe18 = __toESM(require("classnames/dedupe"));
2608
+ import_react17 = require("react");
2609
+ import_dedupe19 = __toESM(require("classnames/dedupe"));
2522
2610
  init_Box2();
2523
- import_jsx_runtime19 = require("react/jsx-runtime");
2611
+ import_jsx_runtime21 = require("react/jsx-runtime");
2524
2612
  BreadcrumbItem = ({ ref, ...props }) => {
2525
2613
  const {
2526
2614
  isDisabled = false,
2527
2615
  isCurrent = false,
2528
2616
  "aria-current": ariaCurrent = "page",
2529
2617
  children,
2530
- separator = /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Box, { className: "mobius-breadcrumb__separator", "aria-hidden": "true", children: ">" }),
2618
+ separator = /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Box, { className: "mobius-breadcrumb__separator", "aria-hidden": "true", children: ">" }),
2531
2619
  ...otherProps
2532
2620
  } = props;
2533
2621
  const { itemProps } = {
@@ -2537,14 +2625,14 @@ var init_BreadcrumbItem = __esm({
2537
2625
  ...otherProps
2538
2626
  }
2539
2627
  };
2540
- const classes = (0, import_dedupe18.default)(
2628
+ const classes = (0, import_dedupe19.default)(
2541
2629
  "mobius",
2542
2630
  "mobius-breadcrumb__item",
2543
2631
  props.className
2544
2632
  );
2545
- const child = typeof children === "string" ? /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("span", { ...itemProps, children }) : import_react16.Children.only(children);
2546
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("li", { className: classes, children: [
2547
- (0, import_react16.cloneElement)(child, {
2633
+ const child = typeof children === "string" ? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", { ...itemProps, children }) : import_react17.Children.only(children);
2634
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("li", { className: classes, children: [
2635
+ (0, import_react17.cloneElement)(child, {
2548
2636
  ...child.props,
2549
2637
  ...itemProps,
2550
2638
  ref
@@ -2566,19 +2654,19 @@ var init_Breadcrumbs2 = __esm({
2566
2654
  });
2567
2655
 
2568
2656
  // src/components/Button/Loading.tsx
2569
- var import_icons5, import_jsx_runtime20, Loading;
2657
+ var import_icons5, import_jsx_runtime22, Loading;
2570
2658
  var init_Loading = __esm({
2571
2659
  "src/components/Button/Loading.tsx"() {
2572
2660
  "use strict";
2573
2661
  import_icons5 = require("@simplybusiness/icons");
2574
2662
  init_Icon2();
2575
2663
  init_VisuallyHidden2();
2576
- import_jsx_runtime20 = require("react/jsx-runtime");
2664
+ import_jsx_runtime22 = require("react/jsx-runtime");
2577
2665
  Loading = (props) => {
2578
2666
  const { children } = props;
2579
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_jsx_runtime20.Fragment, { children: [
2580
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "mobius-button__icon-wrapper", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Icon, { icon: import_icons5.loading, spin: true, size: "md" }) }),
2581
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(VisuallyHidden, { className: "mobius-button__loading-text", children: "Loading" }),
2667
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(import_jsx_runtime22.Fragment, { children: [
2668
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { className: "mobius-button__icon-wrapper", children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Icon, { icon: import_icons5.loading, spin: true, size: "md" }) }),
2669
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(VisuallyHidden, { className: "mobius-button__loading-text", children: "Loading" }),
2582
2670
  children
2583
2671
  ] });
2584
2672
  };
@@ -2586,33 +2674,33 @@ var init_Loading = __esm({
2586
2674
  });
2587
2675
 
2588
2676
  // src/components/Button/Success.tsx
2589
- var import_icons6, import_jsx_runtime21, Success;
2677
+ var import_icons6, import_jsx_runtime23, Success;
2590
2678
  var init_Success = __esm({
2591
2679
  "src/components/Button/Success.tsx"() {
2592
2680
  "use strict";
2593
2681
  import_icons6 = require("@simplybusiness/icons");
2594
2682
  init_Icon2();
2595
2683
  init_VisuallyHidden2();
2596
- import_jsx_runtime21 = require("react/jsx-runtime");
2597
- Success = () => /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(import_jsx_runtime21.Fragment, { children: [
2598
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: "mobius-button__icon-wrapper", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Icon, { icon: import_icons6.tick, size: "md" }) }),
2599
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(VisuallyHidden, { className: "mobius-button__success-text", children: "Success" })
2684
+ import_jsx_runtime23 = require("react/jsx-runtime");
2685
+ Success = () => /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(import_jsx_runtime23.Fragment, { children: [
2686
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: "mobius-button__icon-wrapper", children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Icon, { icon: import_icons6.tick, size: "md" }) }),
2687
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(VisuallyHidden, { className: "mobius-button__success-text", children: "Success" })
2600
2688
  ] });
2601
2689
  }
2602
2690
  });
2603
2691
 
2604
2692
  // src/components/Button/Button.tsx
2605
- var import_dedupe19, import_Button, import_jsx_runtime22, Button;
2693
+ var import_dedupe20, import_Button, import_jsx_runtime24, Button;
2606
2694
  var init_Button = __esm({
2607
2695
  "src/components/Button/Button.tsx"() {
2608
2696
  "use strict";
2609
2697
  "use client";
2610
- import_dedupe19 = __toESM(require("classnames/dedupe"));
2698
+ import_dedupe20 = __toESM(require("classnames/dedupe"));
2611
2699
  init_Loading();
2612
2700
  init_useButton2();
2613
2701
  init_Success();
2614
2702
  import_Button = require("@simplybusiness/mobius/src/components/Button/Button.css");
2615
- import_jsx_runtime22 = require("react/jsx-runtime");
2703
+ import_jsx_runtime24 = require("react/jsx-runtime");
2616
2704
  Button = ({ ref, ...props }) => {
2617
2705
  const {
2618
2706
  children,
@@ -2627,7 +2715,7 @@ var init_Button = __esm({
2627
2715
  ...otherProps
2628
2716
  } = props;
2629
2717
  const { buttonProps } = useButton(props);
2630
- otherProps.className = (0, import_dedupe19.default)(
2718
+ otherProps.className = (0, import_dedupe20.default)(
2631
2719
  "mobius",
2632
2720
  "mobius-button",
2633
2721
  `--variant-${variant}`,
@@ -2639,9 +2727,9 @@ var init_Button = __esm({
2639
2727
  },
2640
2728
  otherProps.className
2641
2729
  );
2642
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(Component, { ref, ...buttonProps, ...otherProps, children: [
2643
- isLoading ? /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Loading, { children }) : children,
2644
- isSuccess && !isLoading && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Success, {})
2730
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(Component, { ref, ...buttonProps, ...otherProps, children: [
2731
+ isLoading ? /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Loading, { children }) : children,
2732
+ isSuccess && !isLoading && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Success, {})
2645
2733
  ] });
2646
2734
  };
2647
2735
  Button.displayName = "Button";
@@ -2657,13 +2745,13 @@ var init_Button2 = __esm({
2657
2745
  });
2658
2746
 
2659
2747
  // src/components/Checkbox/Checkbox.tsx
2660
- var import_react17, import_dedupe20, import_icons7, import_Checkbox, import_jsx_runtime23, Checkbox;
2748
+ var import_react18, import_dedupe21, import_icons7, import_Checkbox, import_jsx_runtime25, Checkbox;
2661
2749
  var init_Checkbox = __esm({
2662
2750
  "src/components/Checkbox/Checkbox.tsx"() {
2663
2751
  "use strict";
2664
2752
  "use client";
2665
- import_react17 = require("react");
2666
- import_dedupe20 = __toESM(require("classnames/dedupe"));
2753
+ import_react18 = require("react");
2754
+ import_dedupe21 = __toESM(require("classnames/dedupe"));
2667
2755
  import_icons7 = require("@simplybusiness/icons");
2668
2756
  init_ErrorMessage2();
2669
2757
  init_spaceDelimitedList();
@@ -2671,7 +2759,7 @@ var init_Checkbox = __esm({
2671
2759
  init_Icon2();
2672
2760
  init_Stack2();
2673
2761
  import_Checkbox = require("@simplybusiness/mobius/src/components/Checkbox/Checkbox.css");
2674
- import_jsx_runtime23 = require("react/jsx-runtime");
2762
+ import_jsx_runtime25 = require("react/jsx-runtime");
2675
2763
  Checkbox = ({ ref, ...props }) => {
2676
2764
  const {
2677
2765
  id,
@@ -2691,18 +2779,18 @@ var init_Checkbox = __esm({
2691
2779
  ["aria-describedby"]: ariaDescribedBy,
2692
2780
  ...rest
2693
2781
  } = props;
2694
- const [checked, setChecked] = (0, import_react17.useState)(defaultSelected);
2695
- const fallbackRef = (0, import_react17.useRef)(null);
2782
+ const [checked, setChecked] = (0, import_react18.useState)(defaultSelected);
2783
+ const fallbackRef = (0, import_react18.useRef)(null);
2696
2784
  const refObj = ref || fallbackRef;
2697
- const inputId = (0, import_react17.useId)();
2785
+ const inputId = (0, import_react18.useId)();
2698
2786
  const isControlled = typeof selected === "boolean";
2699
- (0, import_react17.useEffect)(() => {
2787
+ (0, import_react18.useEffect)(() => {
2700
2788
  if (isControlled) {
2701
2789
  setChecked(selected);
2702
2790
  }
2703
2791
  }, [selected, isControlled]);
2704
2792
  const validationClasses = useValidationClasses({ isInvalid });
2705
- const sharedClasses = (0, import_dedupe20.default)(
2793
+ const sharedClasses = (0, import_dedupe21.default)(
2706
2794
  {
2707
2795
  "--is-disabled": isDisabled,
2708
2796
  "--is-selected": checked,
@@ -2711,31 +2799,31 @@ var init_Checkbox = __esm({
2711
2799
  },
2712
2800
  validationClasses
2713
2801
  );
2714
- const wrapperClasses = (0, import_dedupe20.default)(
2802
+ const wrapperClasses = (0, import_dedupe21.default)(
2715
2803
  "mobius",
2716
2804
  "mobius-checkbox",
2717
2805
  sharedClasses,
2718
2806
  className
2719
2807
  );
2720
- const labelClasses = (0, import_dedupe20.default)("mobius-checkbox__label", sharedClasses);
2721
- const inputClasses = (0, import_dedupe20.default)("mobius-checkbox__input", sharedClasses);
2722
- const iconClasses = (0, import_dedupe20.default)("mobius-checkbox__icon", sharedClasses);
2723
- const errorMessageId = (0, import_react17.useId)();
2808
+ const labelClasses = (0, import_dedupe21.default)("mobius-checkbox__label", sharedClasses);
2809
+ const inputClasses = (0, import_dedupe21.default)("mobius-checkbox__input", sharedClasses);
2810
+ const iconClasses = (0, import_dedupe21.default)("mobius-checkbox__icon", sharedClasses);
2811
+ const errorMessageId = (0, import_react18.useId)();
2724
2812
  const shouldErrorMessageShow = errorMessage ? errorMessageId : void 0;
2725
2813
  const describedBy = spaceDelimitedList([
2726
2814
  shouldErrorMessageShow,
2727
2815
  ariaDescribedBy
2728
2816
  ]);
2729
- const labelId = (0, import_react17.useId)();
2817
+ const labelId = (0, import_react18.useId)();
2730
2818
  const handleChange = (event) => {
2731
2819
  setChecked(!checked);
2732
2820
  if (onChange) {
2733
2821
  onChange(event, isLastItem);
2734
2822
  }
2735
2823
  };
2736
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(Stack, { gap: "xs", className: wrapperClasses, children: [
2737
- /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("label", { className: labelClasses, children: [
2738
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
2824
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(Stack, { gap: "xs", className: wrapperClasses, children: [
2825
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("label", { className: labelClasses, children: [
2826
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2739
2827
  "input",
2740
2828
  {
2741
2829
  "aria-describedby": describedBy,
@@ -2756,7 +2844,7 @@ var init_Checkbox = __esm({
2756
2844
  ...rest
2757
2845
  }
2758
2846
  ),
2759
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
2847
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2760
2848
  Icon,
2761
2849
  {
2762
2850
  icon: checked ? import_icons7.squareTick : import_icons7.square,
@@ -2764,9 +2852,9 @@ var init_Checkbox = __esm({
2764
2852
  className: iconClasses
2765
2853
  }
2766
2854
  ),
2767
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", { id: labelId, className: "mobius-checkbox__visible-label", children: label })
2855
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { id: labelId, className: "mobius-checkbox__visible-label", children: label })
2768
2856
  ] }),
2769
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(ErrorMessage, { id: errorMessageId, errorMessage })
2857
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(ErrorMessage, { id: errorMessageId, errorMessage })
2770
2858
  ] });
2771
2859
  };
2772
2860
  Checkbox.displayName = "Checkbox";
@@ -2774,20 +2862,20 @@ var init_Checkbox = __esm({
2774
2862
  });
2775
2863
 
2776
2864
  // src/components/Checkbox/CheckboxGroup.tsx
2777
- var import_dedupe21, import_react18, import_CheckboxGroup, import_jsx_runtime24, CheckboxGroup;
2865
+ var import_dedupe22, import_react19, import_CheckboxGroup, import_jsx_runtime26, CheckboxGroup;
2778
2866
  var init_CheckboxGroup = __esm({
2779
2867
  "src/components/Checkbox/CheckboxGroup.tsx"() {
2780
2868
  "use strict";
2781
2869
  "use client";
2782
- import_dedupe21 = __toESM(require("classnames/dedupe"));
2783
- import_react18 = require("react");
2870
+ import_dedupe22 = __toESM(require("classnames/dedupe"));
2871
+ import_react19 = require("react");
2784
2872
  init_hooks();
2785
2873
  init_spaceDelimitedList();
2786
2874
  init_ErrorMessage2();
2787
2875
  init_Label2();
2788
2876
  init_Checkbox();
2789
2877
  import_CheckboxGroup = require("@simplybusiness/mobius/src/components/Checkbox/CheckboxGroup.css");
2790
- import_jsx_runtime24 = require("react/jsx-runtime");
2878
+ import_jsx_runtime26 = require("react/jsx-runtime");
2791
2879
  CheckboxGroup = ({ ref, ...props }) => {
2792
2880
  const {
2793
2881
  label,
@@ -2805,10 +2893,10 @@ var init_CheckboxGroup = __esm({
2805
2893
  lastItemDisables = false,
2806
2894
  ...rest
2807
2895
  } = props;
2808
- const [selected, setSelected] = (0, import_react18.useState)(defaultValue);
2809
- const isInitializedRef = (0, import_react18.useRef)(false);
2810
- const prevDefaultValueRef = (0, import_react18.useRef)(defaultValue);
2811
- (0, import_react18.useEffect)(() => {
2896
+ const [selected, setSelected] = (0, import_react19.useState)(defaultValue);
2897
+ const isInitializedRef = (0, import_react19.useRef)(false);
2898
+ const prevDefaultValueRef = (0, import_react19.useRef)(defaultValue);
2899
+ (0, import_react19.useEffect)(() => {
2812
2900
  const hasChanged = defaultValue.length !== prevDefaultValueRef.current.length || defaultValue.some(
2813
2901
  (val, index) => val !== prevDefaultValueRef.current[index]
2814
2902
  );
@@ -2818,7 +2906,7 @@ var init_CheckboxGroup = __esm({
2818
2906
  isInitializedRef.current = true;
2819
2907
  }
2820
2908
  }, [defaultValue]);
2821
- const checkboxGroupClasses = (0, import_dedupe21.default)(
2909
+ const checkboxGroupClasses = (0, import_dedupe22.default)(
2822
2910
  "mobius",
2823
2911
  "mobius-checkbox-group",
2824
2912
  className,
@@ -2830,19 +2918,19 @@ var init_CheckboxGroup = __esm({
2830
2918
  }
2831
2919
  );
2832
2920
  const validationClasses = useValidationClasses({ isInvalid });
2833
- const labelClasses = (0, import_dedupe21.default)(
2921
+ const labelClasses = (0, import_dedupe22.default)(
2834
2922
  {
2835
2923
  "--is-disabled": isDisabled
2836
2924
  },
2837
2925
  validationClasses
2838
2926
  );
2839
- const errorMessageId = (0, import_react18.useId)();
2927
+ const errorMessageId = (0, import_react19.useId)();
2840
2928
  const shouldErrorMessageShow = errorMessage ? errorMessageId : void 0;
2841
2929
  const describedBy = spaceDelimitedList([
2842
2930
  shouldErrorMessageShow,
2843
2931
  props["aria-describedby"]
2844
2932
  ]);
2845
- const labelId = (0, import_react18.useId)();
2933
+ const labelId = (0, import_react19.useId)();
2846
2934
  const handleChange = (event, isLastItem = false) => {
2847
2935
  const {
2848
2936
  target: { value, checked }
@@ -2860,12 +2948,12 @@ var init_CheckboxGroup = __esm({
2860
2948
  setSelected(newValue);
2861
2949
  onChange?.(newValue);
2862
2950
  };
2863
- const childrenArray = import_react18.Children.toArray(children);
2951
+ const childrenArray = import_react19.Children.toArray(children);
2864
2952
  const lastCheckbox = childrenArray.filter(
2865
- (child) => (0, import_react18.isValidElement)(child) && child.type === Checkbox
2953
+ (child) => (0, import_react19.isValidElement)(child) && child.type === Checkbox
2866
2954
  ).pop();
2867
2955
  const lastCheckboxIsChecked = lastCheckbox && selected.includes(lastCheckbox.props.value);
2868
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
2956
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
2869
2957
  "div",
2870
2958
  {
2871
2959
  ...rest,
@@ -2874,16 +2962,16 @@ var init_CheckboxGroup = __esm({
2874
2962
  className: checkboxGroupClasses,
2875
2963
  role: "group",
2876
2964
  style: {
2877
- "--checkbox-items-per-row": itemsPerRow || import_react18.Children.count(children)
2965
+ "--checkbox-items-per-row": itemsPerRow || import_react19.Children.count(children)
2878
2966
  },
2879
2967
  children: [
2880
- label && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Label, { elementType: "span", id: labelId, className: labelClasses, children: label }),
2881
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: "mobius-checkbox-group__wrapper", children: childrenArray.map((child) => {
2882
- if ((0, import_react18.isValidElement)(child)) {
2968
+ label && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Label, { elementType: "span", id: labelId, className: labelClasses, children: label }),
2969
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { className: "mobius-checkbox-group__wrapper", children: childrenArray.map((child) => {
2970
+ if ((0, import_react19.isValidElement)(child)) {
2883
2971
  const isLastItem = child === lastCheckbox;
2884
2972
  const isChildDisabled = isDisabled || lastItemDisables && lastCheckboxIsChecked && !isLastItem;
2885
2973
  const childProps = child.props;
2886
- return (0, import_react18.cloneElement)(
2974
+ return (0, import_react19.cloneElement)(
2887
2975
  child,
2888
2976
  {
2889
2977
  isDisabled: isChildDisabled,
@@ -2899,7 +2987,7 @@ var init_CheckboxGroup = __esm({
2899
2987
  }
2900
2988
  return child;
2901
2989
  }) }),
2902
- errorMessage && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(ErrorMessage, { id: errorMessageId, errorMessage })
2990
+ errorMessage && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(ErrorMessage, { id: errorMessageId, errorMessage })
2903
2991
  ]
2904
2992
  }
2905
2993
  );
@@ -2926,23 +3014,23 @@ var init_Checkbox2 = __esm({
2926
3014
  });
2927
3015
 
2928
3016
  // src/components/Container/Container.tsx
2929
- var import_dedupe22, import_Container, import_jsx_runtime25, Container;
3017
+ var import_dedupe23, import_Container, import_jsx_runtime27, Container;
2930
3018
  var init_Container = __esm({
2931
3019
  "src/components/Container/Container.tsx"() {
2932
3020
  "use strict";
2933
- import_dedupe22 = __toESM(require("classnames/dedupe"));
3021
+ import_dedupe23 = __toESM(require("classnames/dedupe"));
2934
3022
  init_utils();
2935
3023
  import_Container = require("@simplybusiness/mobius/src/components/Container/Container.css");
2936
- import_jsx_runtime25 = require("react/jsx-runtime");
3024
+ import_jsx_runtime27 = require("react/jsx-runtime");
2937
3025
  Container = ({ ref, ...props }) => {
2938
3026
  const { elementType: Element = "div", size = "md", ...otherProps } = props;
2939
- const classes = (0, import_dedupe22.default)(
3027
+ const classes = (0, import_dedupe23.default)(
2940
3028
  "mobius",
2941
3029
  "mobius-container",
2942
3030
  sizeClasses(size),
2943
3031
  otherProps.className
2944
3032
  );
2945
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Element, { ref, ...otherProps, className: classes });
3033
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Element, { ref, ...otherProps, className: classes });
2946
3034
  };
2947
3035
  Container.displayName = "Container";
2948
3036
  }
@@ -2995,17 +3083,17 @@ var init_validation = __esm({
2995
3083
  });
2996
3084
 
2997
3085
  // src/components/DateField/DateField.tsx
2998
- var import_dedupe23, import_react19, import_jsx_runtime26, MIN_MAX_ERROR, DateField;
3086
+ var import_dedupe24, import_react20, import_jsx_runtime28, MIN_MAX_ERROR, DateField;
2999
3087
  var init_DateField = __esm({
3000
3088
  "src/components/DateField/DateField.tsx"() {
3001
3089
  "use strict";
3002
3090
  "use client";
3003
- import_dedupe23 = __toESM(require("classnames/dedupe"));
3004
- import_react19 = require("react");
3091
+ import_dedupe24 = __toESM(require("classnames/dedupe"));
3092
+ import_react20 = require("react");
3005
3093
  init_mergeRefs();
3006
3094
  init_TextField2();
3007
3095
  init_validation();
3008
- import_jsx_runtime26 = require("react/jsx-runtime");
3096
+ import_jsx_runtime28 = require("react/jsx-runtime");
3009
3097
  MIN_MAX_ERROR = '"min" value should not be greater than "max" value.';
3010
3098
  DateField = ({ ref, ...props }) => {
3011
3099
  const {
@@ -3018,10 +3106,10 @@ var init_DateField = __esm({
3018
3106
  value,
3019
3107
  ...otherProps
3020
3108
  } = props;
3021
- const [error3, setError] = (0, import_react19.useState)(errorMessage);
3022
- const [isInvalid, setIsInvalid] = (0, import_react19.useState)(void 0);
3023
- const localRef = (0, import_react19.useRef)(null);
3024
- const classes = (0, import_dedupe23.default)("mobius-date-field", className);
3109
+ const [error3, setError] = (0, import_react20.useState)(errorMessage);
3110
+ const [isInvalid, setIsInvalid] = (0, import_react20.useState)(void 0);
3111
+ const localRef = (0, import_react20.useRef)(null);
3112
+ const classes = (0, import_dedupe24.default)("mobius-date-field", className);
3025
3113
  const formattedMin = min ? convertToDateFormat(min, format) : void 0;
3026
3114
  const formattedMax = max ? convertToDateFormat(max, format) : void 0;
3027
3115
  const formattedDefaultValue = defaultValue ? convertToDateFormat(defaultValue, format) : void 0;
@@ -3034,7 +3122,7 @@ var init_DateField = __esm({
3034
3122
  setError(props.errorMessage);
3035
3123
  setIsInvalid(false);
3036
3124
  };
3037
- (0, import_react19.useEffect)(() => {
3125
+ (0, import_react20.useEffect)(() => {
3038
3126
  if (!isValidDate(min, format)) {
3039
3127
  setInvalidState(`Invalid min date: ${min}`);
3040
3128
  return;
@@ -3067,7 +3155,7 @@ var init_DateField = __esm({
3067
3155
  validate();
3068
3156
  otherProps.onBlur?.(event);
3069
3157
  };
3070
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
3158
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
3071
3159
  TextField,
3072
3160
  {
3073
3161
  ref: mergeRefs([localRef, ref]),
@@ -3098,23 +3186,23 @@ var init_DateField2 = __esm({
3098
3186
  });
3099
3187
 
3100
3188
  // src/components/Drawer/Content.tsx
3101
- var import_jsx_runtime27, Content;
3189
+ var import_jsx_runtime29, Content;
3102
3190
  var init_Content = __esm({
3103
3191
  "src/components/Drawer/Content.tsx"() {
3104
3192
  "use strict";
3105
- import_jsx_runtime27 = require("react/jsx-runtime");
3106
- Content = ({ ref, children, ...otherProps }) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { ref, ...otherProps, className: "mobius-drawer__content", children });
3193
+ import_jsx_runtime29 = require("react/jsx-runtime");
3194
+ Content = ({ ref, children, ...otherProps }) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { ref, ...otherProps, className: "mobius-drawer__content", children });
3107
3195
  Content.displayName = "Content";
3108
3196
  }
3109
3197
  });
3110
3198
 
3111
3199
  // src/components/Drawer/DrawerContext.tsx
3112
- var import_react20, DrawerContext;
3200
+ var import_react21, DrawerContext;
3113
3201
  var init_DrawerContext = __esm({
3114
3202
  "src/components/Drawer/DrawerContext.tsx"() {
3115
3203
  "use strict";
3116
- import_react20 = require("react");
3117
- DrawerContext = (0, import_react20.createContext)({
3204
+ import_react21 = require("react");
3205
+ DrawerContext = (0, import_react21.createContext)({
3118
3206
  onClose: () => {
3119
3207
  },
3120
3208
  closeLabel: void 0,
@@ -3124,19 +3212,19 @@ var init_DrawerContext = __esm({
3124
3212
  });
3125
3213
 
3126
3214
  // src/components/Drawer/Drawer.tsx
3127
- var import_dedupe24, import_react21, import_Drawer, import_jsx_runtime28, TRANSITION_CSS_VARIABLE, Drawer;
3215
+ var import_dedupe25, import_react22, import_Drawer, import_jsx_runtime30, TRANSITION_CSS_VARIABLE, Drawer;
3128
3216
  var init_Drawer = __esm({
3129
3217
  "src/components/Drawer/Drawer.tsx"() {
3130
3218
  "use strict";
3131
3219
  "use client";
3132
- import_dedupe24 = __toESM(require("classnames/dedupe"));
3133
- import_react21 = require("react");
3220
+ import_dedupe25 = __toESM(require("classnames/dedupe"));
3221
+ import_react22 = require("react");
3134
3222
  init_hooks();
3135
3223
  init_utils();
3136
3224
  init_VisuallyHidden2();
3137
3225
  init_DrawerContext();
3138
3226
  import_Drawer = require("@simplybusiness/mobius/src/components/Drawer/Drawer.css");
3139
- import_jsx_runtime28 = require("react/jsx-runtime");
3227
+ import_jsx_runtime30 = require("react/jsx-runtime");
3140
3228
  TRANSITION_CSS_VARIABLE = "--drawer-transition-duration";
3141
3229
  Drawer = ({ ref, ...props }) => {
3142
3230
  const {
@@ -3149,8 +3237,8 @@ var init_Drawer = __esm({
3149
3237
  onClose,
3150
3238
  children
3151
3239
  } = props;
3152
- const dialogRef = (0, import_react21.useRef)(null);
3153
- const [shouldTransition, setShouldTransition] = (0, import_react21.useState)(false);
3240
+ const dialogRef = (0, import_react22.useRef)(null);
3241
+ const [shouldTransition, setShouldTransition] = (0, import_react22.useState)(false);
3154
3242
  const { close } = useDialog({
3155
3243
  ref: dialogRef,
3156
3244
  isOpen,
@@ -3161,9 +3249,9 @@ var init_Drawer = __esm({
3161
3249
  CSSVariable: TRANSITION_CSS_VARIABLE
3162
3250
  }
3163
3251
  });
3164
- const hiddenId = `dialog-screen-reader-announce-${(0, import_react21.useId)()}`;
3165
- const headerId = `dialog-header-${(0, import_react21.useId)()}`;
3166
- const dialogClasses = (0, import_dedupe24.default)(
3252
+ const hiddenId = `dialog-screen-reader-announce-${(0, import_react22.useId)()}`;
3253
+ const headerId = `dialog-header-${(0, import_react22.useId)()}`;
3254
+ const dialogClasses = (0, import_dedupe25.default)(
3167
3255
  "mobius",
3168
3256
  "mobius-drawer",
3169
3257
  `--${direction}`,
@@ -3172,10 +3260,10 @@ var init_Drawer = __esm({
3172
3260
  "--should-transition": shouldTransition
3173
3261
  }
3174
3262
  );
3175
- (0, import_react21.useEffect)(() => {
3263
+ (0, import_react22.useEffect)(() => {
3176
3264
  setShouldTransition(supportsDialog());
3177
3265
  }, []);
3178
- const contextValue = (0, import_react21.useMemo)(
3266
+ const contextValue = (0, import_react22.useMemo)(
3179
3267
  () => ({
3180
3268
  onClose: close,
3181
3269
  closeLabel,
@@ -3183,18 +3271,18 @@ var init_Drawer = __esm({
3183
3271
  }),
3184
3272
  [close, closeLabel, headerId]
3185
3273
  );
3186
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
3274
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
3187
3275
  "dialog",
3188
3276
  {
3189
- id: (0, import_react21.useId)(),
3277
+ id: (0, import_react22.useId)(),
3190
3278
  ref: mergeRefs([dialogRef, ref]),
3191
3279
  onCancel: close,
3192
3280
  className: dialogClasses,
3193
3281
  "aria-describedby": hiddenId,
3194
3282
  "aria-labelledby": headerId,
3195
3283
  children: [
3196
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(VisuallyHidden, { children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { id: hiddenId, children: announce }) }),
3197
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(DrawerContext.Provider, { value: contextValue, children })
3284
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(VisuallyHidden, { children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { id: hiddenId, children: announce }) }),
3285
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(DrawerContext.Provider, { value: contextValue, children })
3198
3286
  ]
3199
3287
  }
3200
3288
  );
@@ -3204,21 +3292,21 @@ var init_Drawer = __esm({
3204
3292
  });
3205
3293
 
3206
3294
  // src/components/Drawer/useDrawer.ts
3207
- var import_react22, useDrawer;
3295
+ var import_react23, useDrawer;
3208
3296
  var init_useDrawer = __esm({
3209
3297
  "src/components/Drawer/useDrawer.ts"() {
3210
3298
  "use strict";
3211
- import_react22 = require("react");
3299
+ import_react23 = require("react");
3212
3300
  init_DrawerContext();
3213
3301
  useDrawer = () => {
3214
- const { onClose, closeLabel, headerId } = (0, import_react22.useContext)(DrawerContext);
3302
+ const { onClose, closeLabel, headerId } = (0, import_react23.useContext)(DrawerContext);
3215
3303
  return { onClose, closeLabel, headerId };
3216
3304
  };
3217
3305
  }
3218
3306
  });
3219
3307
 
3220
3308
  // src/components/Drawer/Header.tsx
3221
- var import_icons8, import_jsx_runtime29, Header;
3309
+ var import_icons8, import_jsx_runtime31, Header;
3222
3310
  var init_Header = __esm({
3223
3311
  "src/components/Drawer/Header.tsx"() {
3224
3312
  "use strict";
@@ -3226,12 +3314,12 @@ var init_Header = __esm({
3226
3314
  init_Button2();
3227
3315
  init_Icon2();
3228
3316
  init_useDrawer();
3229
- import_jsx_runtime29 = require("react/jsx-runtime");
3317
+ import_jsx_runtime31 = require("react/jsx-runtime");
3230
3318
  Header = ({ ref, children, ...otherProps }) => {
3231
3319
  const { onClose, closeLabel, headerId } = useDrawer();
3232
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("header", { ref, ...otherProps, className: "mobius-drawer__header", children: [
3233
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("h2", { id: headerId, children }),
3234
- /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
3320
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("header", { ref, ...otherProps, className: "mobius-drawer__header", children: [
3321
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("h2", { id: headerId, children }),
3322
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
3235
3323
  Button,
3236
3324
  {
3237
3325
  "aria-label": "Close",
@@ -3240,7 +3328,7 @@ var init_Header = __esm({
3240
3328
  className: "mobius-drawer__close",
3241
3329
  size: "sm",
3242
3330
  children: [
3243
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Icon, { icon: import_icons8.cross }),
3331
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Icon, { icon: import_icons8.cross }),
3244
3332
  " ",
3245
3333
  closeLabel
3246
3334
  ]
@@ -3270,17 +3358,17 @@ var init_Drawer2 = __esm({
3270
3358
  });
3271
3359
 
3272
3360
  // src/components/DropdownMenu/DropdownMenu.tsx
3273
- var import_react23, import_react_accessible_dropdown_menu_hook, import_dedupe25, import_DropdownMenu, import_jsx_runtime30, DropdownMenu;
3361
+ var import_react24, import_react_accessible_dropdown_menu_hook, import_dedupe26, import_DropdownMenu, import_jsx_runtime32, DropdownMenu;
3274
3362
  var init_DropdownMenu = __esm({
3275
3363
  "src/components/DropdownMenu/DropdownMenu.tsx"() {
3276
3364
  "use strict";
3277
3365
  "use client";
3278
- import_react23 = require("react");
3366
+ import_react24 = require("react");
3279
3367
  import_react_accessible_dropdown_menu_hook = __toESM(require("react-accessible-dropdown-menu-hook"));
3280
- import_dedupe25 = __toESM(require("classnames/dedupe"));
3368
+ import_dedupe26 = __toESM(require("classnames/dedupe"));
3281
3369
  init_Button2();
3282
3370
  import_DropdownMenu = require("@simplybusiness/mobius/src/components/DropdownMenu/DropdownMenu.css");
3283
- import_jsx_runtime30 = require("react/jsx-runtime");
3371
+ import_jsx_runtime32 = require("react/jsx-runtime");
3284
3372
  DropdownMenu = ({ ref, ...props }) => {
3285
3373
  const {
3286
3374
  elementType: Element = "nav",
@@ -3289,21 +3377,21 @@ var init_DropdownMenu = __esm({
3289
3377
  children,
3290
3378
  ...otherProps
3291
3379
  } = props;
3292
- const [activeId, setActiveId] = (0, import_react23.useState)(null);
3293
- const numberOfItems = import_react23.Children.count(children);
3380
+ const [activeId, setActiveId] = (0, import_react24.useState)(null);
3381
+ const numberOfItems = import_react24.Children.count(children);
3294
3382
  const {
3295
3383
  buttonProps,
3296
3384
  itemProps,
3297
3385
  isOpen: open,
3298
3386
  setIsOpen
3299
3387
  } = (0, import_react_accessible_dropdown_menu_hook.default)(numberOfItems);
3300
- const classes = (0, import_dedupe25.default)(
3388
+ const classes = (0, import_dedupe26.default)(
3301
3389
  "mobius",
3302
3390
  "mobius-dropdown-menu",
3303
3391
  otherProps.className
3304
3392
  );
3305
- const triggerClasses = (0, import_dedupe25.default)("mobius", "mobius-dropdown-menu__trigger");
3306
- const listClasses = (0, import_dedupe25.default)("mobius", "mobius-dropdown-menu__list", {
3393
+ const triggerClasses = (0, import_dedupe26.default)("mobius", "mobius-dropdown-menu__trigger");
3394
+ const listClasses = (0, import_dedupe26.default)("mobius", "mobius-dropdown-menu__list", {
3307
3395
  "--is-open": open
3308
3396
  });
3309
3397
  const handleChildClick = ({ onClick }, index) => {
@@ -3313,16 +3401,16 @@ var init_DropdownMenu = __esm({
3313
3401
  onClick();
3314
3402
  }
3315
3403
  };
3316
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(Element, { ref, ...otherProps, className: classes, children: [
3317
- trigger ? (0, import_react23.cloneElement)(trigger, {
3404
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(Element, { ref, ...otherProps, className: classes, children: [
3405
+ trigger ? (0, import_react24.cloneElement)(trigger, {
3318
3406
  className: triggerClasses,
3319
3407
  open,
3320
3408
  label,
3321
3409
  ...buttonProps
3322
- }) : /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Button, { className: triggerClasses, ...buttonProps, children: label }),
3323
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("ul", { className: listClasses, role: "menu", children: import_react23.Children.map(children, (child, index) => {
3324
- if ((0, import_react23.isValidElement)(child)) {
3325
- return (0, import_react23.cloneElement)(child, {
3410
+ }) : /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Button, { className: triggerClasses, ...buttonProps, children: label }),
3411
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("ul", { className: listClasses, role: "menu", children: import_react24.Children.map(children, (child, index) => {
3412
+ if ((0, import_react24.isValidElement)(child)) {
3413
+ return (0, import_react24.cloneElement)(child, {
3326
3414
  onClick: () => handleChildClick(child.props, index),
3327
3415
  active: index === activeId,
3328
3416
  ...itemProps[index]
@@ -3337,13 +3425,13 @@ var init_DropdownMenu = __esm({
3337
3425
  });
3338
3426
 
3339
3427
  // src/components/DropdownMenu/Item.tsx
3340
- var import_react24, import_dedupe26, import_jsx_runtime31, Item;
3428
+ var import_react25, import_dedupe27, import_jsx_runtime33, Item;
3341
3429
  var init_Item = __esm({
3342
3430
  "src/components/DropdownMenu/Item.tsx"() {
3343
3431
  "use strict";
3344
- import_react24 = require("react");
3345
- import_dedupe26 = __toESM(require("classnames/dedupe"));
3346
- import_jsx_runtime31 = require("react/jsx-runtime");
3432
+ import_react25 = require("react");
3433
+ import_dedupe27 = __toESM(require("classnames/dedupe"));
3434
+ import_jsx_runtime33 = require("react/jsx-runtime");
3347
3435
  Item = ({ ref, ...props }) => {
3348
3436
  const {
3349
3437
  elementType: Element = "li",
@@ -3352,26 +3440,26 @@ var init_Item = __esm({
3352
3440
  children,
3353
3441
  ...otherProps
3354
3442
  } = props;
3355
- const classes = (0, import_dedupe26.default)(
3443
+ const classes = (0, import_dedupe27.default)(
3356
3444
  "mobius",
3357
3445
  "mobius-dropdown-menu__item",
3358
3446
  { "--is-active": active },
3359
3447
  otherProps.className
3360
3448
  );
3361
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Element, { ref, onClick, ...otherProps, children: import_react24.Children.map(children, (child) => {
3362
- if ((0, import_react24.isValidElement)(child)) {
3363
- const childClasses = (0, import_dedupe26.default)(
3449
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Element, { ref, onClick, ...otherProps, children: import_react25.Children.map(children, (child) => {
3450
+ if ((0, import_react25.isValidElement)(child)) {
3451
+ const childClasses = (0, import_dedupe27.default)(
3364
3452
  child.props.className,
3365
3453
  classes
3366
3454
  );
3367
- return (0, import_react24.cloneElement)(
3455
+ return (0, import_react25.cloneElement)(
3368
3456
  child,
3369
3457
  {
3370
3458
  className: childClasses
3371
3459
  }
3372
3460
  );
3373
3461
  }
3374
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("span", { className: classes, children: child });
3462
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { className: classes, children: child });
3375
3463
  }) });
3376
3464
  };
3377
3465
  Item.displayName = "DropdownMenu.Item";
@@ -3396,23 +3484,23 @@ var init_DropdownMenu2 = __esm({
3396
3484
  });
3397
3485
 
3398
3486
  // src/components/Fieldset/Fieldset.tsx
3399
- var import_dedupe27, import_react25, import_Fieldset, import_jsx_runtime32, useFieldset, Fieldset;
3487
+ var import_dedupe28, import_react26, import_Fieldset, import_jsx_runtime34, useFieldset, Fieldset;
3400
3488
  var init_Fieldset = __esm({
3401
3489
  "src/components/Fieldset/Fieldset.tsx"() {
3402
3490
  "use strict";
3403
3491
  "use client";
3404
- import_dedupe27 = __toESM(require("classnames/dedupe"));
3405
- import_react25 = require("react");
3492
+ import_dedupe28 = __toESM(require("classnames/dedupe"));
3493
+ import_react26 = require("react");
3406
3494
  init_Flex2();
3407
3495
  import_Fieldset = require("@simplybusiness/mobius/src/components/Fieldset/Fieldset.css");
3408
- import_jsx_runtime32 = require("react/jsx-runtime");
3496
+ import_jsx_runtime34 = require("react/jsx-runtime");
3409
3497
  useFieldset = (props) => {
3410
3498
  const { legend } = props;
3411
3499
  let legendProps = {};
3412
3500
  let containerProps = {
3413
3501
  role: "group"
3414
3502
  };
3415
- const legendId = (0, import_react25.useId)();
3503
+ const legendId = (0, import_react26.useId)();
3416
3504
  if (legend) {
3417
3505
  legendProps = {
3418
3506
  ...legendProps,
@@ -3432,14 +3520,14 @@ var init_Fieldset = __esm({
3432
3520
  const {
3433
3521
  children,
3434
3522
  legend,
3435
- legendComponent = /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("legend", {}),
3523
+ legendComponent = /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("legend", {}),
3436
3524
  ...otherProps
3437
3525
  } = props;
3438
3526
  const { legendProps, containerProps } = useFieldset(props);
3439
- const classes = (0, import_dedupe27.default)("mobius", "mobius-fieldset", props.className);
3527
+ const classes = (0, import_dedupe28.default)("mobius", "mobius-fieldset", props.className);
3440
3528
  legendProps.className = "mobius-fieldset__legend";
3441
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(Flex, { ...containerProps, ...otherProps, className: classes, children: [
3442
- legend && (0, import_react25.cloneElement)(legendComponent, { ...legendProps }, [legend]),
3529
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(Flex, { ...containerProps, ...otherProps, className: classes, children: [
3530
+ legend && (0, import_react26.cloneElement)(legendComponent, { ...legendProps }, [legend]),
3443
3531
  children
3444
3532
  ] });
3445
3533
  };
@@ -3456,13 +3544,13 @@ var init_Fieldset2 = __esm({
3456
3544
  });
3457
3545
 
3458
3546
  // src/components/Grid/Grid.tsx
3459
- var import_dedupe28, import_jsx_runtime33, Grid;
3547
+ var import_dedupe29, import_jsx_runtime35, Grid;
3460
3548
  var init_Grid = __esm({
3461
3549
  "src/components/Grid/Grid.tsx"() {
3462
3550
  "use strict";
3463
- import_dedupe28 = __toESM(require("classnames/dedupe"));
3551
+ import_dedupe29 = __toESM(require("classnames/dedupe"));
3464
3552
  init_utils();
3465
- import_jsx_runtime33 = require("react/jsx-runtime");
3553
+ import_jsx_runtime35 = require("react/jsx-runtime");
3466
3554
  Grid = ({ ref: _ref, ...props }) => {
3467
3555
  const {
3468
3556
  columns = 12,
@@ -3477,7 +3565,7 @@ var init_Grid = __esm({
3477
3565
  style,
3478
3566
  ...rest
3479
3567
  } = props;
3480
- const classes = (0, import_dedupe28.default)("mobius", "mobius-grid", className);
3568
+ const classes = (0, import_dedupe29.default)("mobius", "mobius-grid", className);
3481
3569
  const styles = filterUndefinedProps({
3482
3570
  boxSizing: "border-box",
3483
3571
  display: "grid",
@@ -3491,22 +3579,22 @@ var init_Grid = __esm({
3491
3579
  justifyItems,
3492
3580
  ...style
3493
3581
  });
3494
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { style: styles, className: classes, ...rest });
3582
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { style: styles, className: classes, ...rest });
3495
3583
  };
3496
3584
  Grid.displayName = "Grid";
3497
3585
  }
3498
3586
  });
3499
3587
 
3500
3588
  // src/components/Grid/Item.tsx
3501
- var import_react26, import_dedupe29, import_jsx_runtime34, getBreakpointMap, DEFAULT_SPAN, GridItem;
3589
+ var import_react27, import_dedupe30, import_jsx_runtime36, getBreakpointMap, DEFAULT_SPAN, GridItem;
3502
3590
  var init_Item2 = __esm({
3503
3591
  "src/components/Grid/Item.tsx"() {
3504
3592
  "use strict";
3505
3593
  "use client";
3506
- import_react26 = require("react");
3507
- import_dedupe29 = __toESM(require("classnames/dedupe"));
3594
+ import_react27 = require("react");
3595
+ import_dedupe30 = __toESM(require("classnames/dedupe"));
3508
3596
  init_hooks();
3509
- import_jsx_runtime34 = require("react/jsx-runtime");
3597
+ import_jsx_runtime36 = require("react/jsx-runtime");
3510
3598
  getBreakpointMap = (config) => Object.entries(config).reduce(
3511
3599
  (prev, [key, value]) => {
3512
3600
  const previous = Object.values(prev);
@@ -3541,9 +3629,9 @@ var init_Item2 = __esm({
3541
3629
  xl,
3542
3630
  xxl
3543
3631
  });
3544
- const [responsiveSpan, setResponsiveSpan] = (0, import_react26.useState)();
3545
- const classes = (0, import_dedupe29.default)("mobius-grid__item", className);
3546
- (0, import_react26.useEffect)(() => {
3632
+ const [responsiveSpan, setResponsiveSpan] = (0, import_react27.useState)();
3633
+ const classes = (0, import_dedupe30.default)("mobius-grid__item", className);
3634
+ (0, import_react27.useEffect)(() => {
3547
3635
  setResponsiveSpan(breakpointMap[breakpointSize]);
3548
3636
  }, [breakpointSize, breakpointMap]);
3549
3637
  const styles = {
@@ -3551,7 +3639,7 @@ var init_Item2 = __esm({
3551
3639
  alignSelf,
3552
3640
  justifySelf
3553
3641
  };
3554
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { style: { ...styles }, className: classes, ...rest });
3642
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { style: { ...styles }, className: classes, ...rest });
3555
3643
  };
3556
3644
  GridItem.displayName = "GridItem";
3557
3645
  }
@@ -3572,20 +3660,20 @@ var init_Grid2 = __esm({
3572
3660
  });
3573
3661
 
3574
3662
  // src/components/Image/Image.tsx
3575
- var import_dedupe30, import_jsx_runtime35, Image;
3663
+ var import_dedupe31, import_jsx_runtime37, Image;
3576
3664
  var init_Image = __esm({
3577
3665
  "src/components/Image/Image.tsx"() {
3578
3666
  "use strict";
3579
- import_dedupe30 = __toESM(require("classnames/dedupe"));
3580
- import_jsx_runtime35 = require("react/jsx-runtime");
3667
+ import_dedupe31 = __toESM(require("classnames/dedupe"));
3668
+ import_jsx_runtime37 = require("react/jsx-runtime");
3581
3669
  Image = ({
3582
3670
  ref,
3583
3671
  alt,
3584
3672
  elementType: Component = "img",
3585
3673
  ...otherProps
3586
3674
  }) => {
3587
- const classes = (0, import_dedupe30.default)("mobius", "mobius-image", otherProps.className);
3588
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Component, { alt, ref, ...otherProps, className: classes });
3675
+ const classes = (0, import_dedupe31.default)("mobius", "mobius-image", otherProps.className);
3676
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Component, { alt, ref, ...otherProps, className: classes });
3589
3677
  };
3590
3678
  Image.displayName = "Image";
3591
3679
  }
@@ -3600,13 +3688,13 @@ var init_Image2 = __esm({
3600
3688
  });
3601
3689
 
3602
3690
  // src/components/Link/Link.tsx
3603
- var import_dedupe31, import_Link, import_jsx_runtime36, Link;
3691
+ var import_dedupe32, import_Link, import_jsx_runtime38, Link;
3604
3692
  var init_Link = __esm({
3605
3693
  "src/components/Link/Link.tsx"() {
3606
3694
  "use strict";
3607
- import_dedupe31 = __toESM(require("classnames/dedupe"));
3695
+ import_dedupe32 = __toESM(require("classnames/dedupe"));
3608
3696
  import_Link = require("@simplybusiness/mobius/src/components/Link/Link.css");
3609
- import_jsx_runtime36 = require("react/jsx-runtime");
3697
+ import_jsx_runtime38 = require("react/jsx-runtime");
3610
3698
  Link = ({ ref, ...props }) => {
3611
3699
  const {
3612
3700
  isDisabled = false,
@@ -3620,7 +3708,7 @@ var init_Link = __esm({
3620
3708
  pointerEvents: "none"
3621
3709
  };
3622
3710
  const styles = { ...style, ...isDisabled && disabledStyles };
3623
- const classes = (0, import_dedupe31.default)(
3711
+ const classes = (0, import_dedupe32.default)(
3624
3712
  "mobius",
3625
3713
  "mobius-link",
3626
3714
  className,
@@ -3629,7 +3717,7 @@ var init_Link = __esm({
3629
3717
  "--is-disabled": isDisabled
3630
3718
  }
3631
3719
  );
3632
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3720
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3633
3721
  Component,
3634
3722
  {
3635
3723
  ref,
@@ -3664,16 +3752,16 @@ function LinkButton({
3664
3752
  if (!href) {
3665
3753
  throw new Error("LinkButton requires a href prop");
3666
3754
  }
3667
- const classes = (0, import_dedupe32.default)("mobius", "mobius-link-button", className);
3668
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Button, { elementType, href, className: classes, ...rest, children });
3755
+ const classes = (0, import_dedupe33.default)("mobius", "mobius-link-button", className);
3756
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Button, { elementType, href, className: classes, ...rest, children });
3669
3757
  }
3670
- var import_dedupe32, import_jsx_runtime37;
3758
+ var import_dedupe33, import_jsx_runtime39;
3671
3759
  var init_LinkButton = __esm({
3672
3760
  "src/components/LinkButton/LinkButton.tsx"() {
3673
3761
  "use strict";
3674
- import_dedupe32 = __toESM(require("classnames/dedupe"));
3762
+ import_dedupe33 = __toESM(require("classnames/dedupe"));
3675
3763
  init_Button2();
3676
- import_jsx_runtime37 = require("react/jsx-runtime");
3764
+ import_jsx_runtime39 = require("react/jsx-runtime");
3677
3765
  }
3678
3766
  });
3679
3767
 
@@ -3686,14 +3774,14 @@ var init_LinkButton2 = __esm({
3686
3774
  });
3687
3775
 
3688
3776
  // src/components/List/List.tsx
3689
- var import_react27, import_dedupe33, import_List, import_jsx_runtime38, List;
3777
+ var import_react28, import_dedupe34, import_List, import_jsx_runtime40, List;
3690
3778
  var init_List = __esm({
3691
3779
  "src/components/List/List.tsx"() {
3692
3780
  "use strict";
3693
- import_react27 = require("react");
3694
- import_dedupe33 = __toESM(require("classnames/dedupe"));
3781
+ import_react28 = require("react");
3782
+ import_dedupe34 = __toESM(require("classnames/dedupe"));
3695
3783
  import_List = require("@simplybusiness/mobius/src/components/List/List.css");
3696
- import_jsx_runtime38 = require("react/jsx-runtime");
3784
+ import_jsx_runtime40 = require("react/jsx-runtime");
3697
3785
  List = ({ ref, ...props }) => {
3698
3786
  const Component = props.isOrdered ? "ol" : "ul";
3699
3787
  const { children, icon, ...otherProps } = props;
@@ -3702,7 +3790,7 @@ var init_List = __esm({
3702
3790
  ...restProps,
3703
3791
  reversed: isReversed
3704
3792
  };
3705
- const classes = (0, import_dedupe33.default)(
3793
+ const classes = (0, import_dedupe34.default)(
3706
3794
  "mobius",
3707
3795
  "mobius-list",
3708
3796
  {
@@ -3711,9 +3799,9 @@ var init_List = __esm({
3711
3799
  },
3712
3800
  otherProps.className
3713
3801
  );
3714
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Component, { ref, ...mappedProps, className: classes, children: import_react27.Children.map(children, (child) => {
3715
- if ((0, import_react27.isValidElement)(child)) {
3716
- return (0, import_react27.cloneElement)(child, {
3802
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Component, { ref, ...mappedProps, className: classes, children: import_react28.Children.map(children, (child) => {
3803
+ if ((0, import_react28.isValidElement)(child)) {
3804
+ return (0, import_react28.cloneElement)(child, {
3717
3805
  parentIcon: icon
3718
3806
  });
3719
3807
  }
@@ -3725,16 +3813,16 @@ var init_List = __esm({
3725
3813
  });
3726
3814
 
3727
3815
  // src/components/List/ListItem.tsx
3728
- var import_dedupe34, import_jsx_runtime39, ListItem;
3816
+ var import_dedupe35, import_jsx_runtime41, ListItem;
3729
3817
  var init_ListItem = __esm({
3730
3818
  "src/components/List/ListItem.tsx"() {
3731
3819
  "use strict";
3732
- import_dedupe34 = __toESM(require("classnames/dedupe"));
3733
- import_jsx_runtime39 = require("react/jsx-runtime");
3820
+ import_dedupe35 = __toESM(require("classnames/dedupe"));
3821
+ import_jsx_runtime41 = require("react/jsx-runtime");
3734
3822
  ListItem = ({ ref, ...props }) => {
3735
3823
  const { parentIcon, icon, children, ...otherProps } = props;
3736
3824
  const iconContent = icon || parentIcon;
3737
- const classes = (0, import_dedupe34.default)(
3825
+ const classes = (0, import_dedupe35.default)(
3738
3826
  "mobius",
3739
3827
  "mobius-list__item",
3740
3828
  {
@@ -3742,15 +3830,15 @@ var init_ListItem = __esm({
3742
3830
  },
3743
3831
  props.className
3744
3832
  );
3745
- const contentClasses = (0, import_dedupe34.default)("mobius", "mobius-list__item-content");
3746
- const iconClasses = (0, import_dedupe34.default)("mobius", "mobius-list__icon");
3833
+ const contentClasses = (0, import_dedupe35.default)("mobius", "mobius-list__item-content");
3834
+ const iconClasses = (0, import_dedupe35.default)("mobius", "mobius-list__icon");
3747
3835
  if (iconContent) {
3748
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("li", { ref, ...otherProps, className: classes, children: /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("span", { className: contentClasses, children: [
3749
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("span", { className: iconClasses, children: iconContent }),
3836
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("li", { ref, ...otherProps, className: classes, children: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("span", { className: contentClasses, children: [
3837
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: iconClasses, children: iconContent }),
3750
3838
  children
3751
3839
  ] }) });
3752
3840
  }
3753
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("li", { ref, ...otherProps, className: classes, children });
3841
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("li", { ref, ...otherProps, className: classes, children });
3754
3842
  };
3755
3843
  ListItem.displayName = "ListItem";
3756
3844
  }
@@ -3766,23 +3854,23 @@ var init_List2 = __esm({
3766
3854
  });
3767
3855
 
3768
3856
  // src/components/LoadingIndicator/LoadingIndicator.tsx
3769
- var import_dedupe35, import_icons9, import_LoadingIndicator, import_jsx_runtime40, LoadingIndicator;
3857
+ var import_dedupe36, import_icons9, import_LoadingIndicator, import_jsx_runtime42, LoadingIndicator;
3770
3858
  var init_LoadingIndicator = __esm({
3771
3859
  "src/components/LoadingIndicator/LoadingIndicator.tsx"() {
3772
3860
  "use strict";
3773
- import_dedupe35 = __toESM(require("classnames/dedupe"));
3861
+ import_dedupe36 = __toESM(require("classnames/dedupe"));
3774
3862
  import_icons9 = require("@simplybusiness/icons");
3775
3863
  init_Icon2();
3776
3864
  import_LoadingIndicator = require("@simplybusiness/mobius/src/components/LoadingIndicator/LoadingIndicator.css");
3777
- import_jsx_runtime40 = require("react/jsx-runtime");
3865
+ import_jsx_runtime42 = require("react/jsx-runtime");
3778
3866
  LoadingIndicator = ({ ref, ...props }) => {
3779
3867
  const { icon = import_icons9.loading, ...otherProps } = props;
3780
- const classes = (0, import_dedupe35.default)(
3868
+ const classes = (0, import_dedupe36.default)(
3781
3869
  "mobius",
3782
3870
  "mobius-loading-indicator",
3783
3871
  otherProps.className
3784
3872
  );
3785
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Icon, { icon, spin: true, ref, ...otherProps, className: classes });
3873
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Icon, { icon, spin: true, ref, ...otherProps, className: classes });
3786
3874
  };
3787
3875
  LoadingIndicator.displayName = "LoadingIndicator";
3788
3876
  }
@@ -3797,16 +3885,16 @@ var init_LoadingIndicator2 = __esm({
3797
3885
  });
3798
3886
 
3799
3887
  // src/components/Logo/Logo.tsx
3800
- var import_dedupe36, import_jsx_runtime41, Logo;
3888
+ var import_dedupe37, import_jsx_runtime43, Logo;
3801
3889
  var init_Logo = __esm({
3802
3890
  "src/components/Logo/Logo.tsx"() {
3803
3891
  "use strict";
3804
- import_dedupe36 = __toESM(require("classnames/dedupe"));
3805
- import_jsx_runtime41 = require("react/jsx-runtime");
3892
+ import_dedupe37 = __toESM(require("classnames/dedupe"));
3893
+ import_jsx_runtime43 = require("react/jsx-runtime");
3806
3894
  Logo = ({ ref, ...props }) => {
3807
3895
  const { className, width, height, ...otherProps } = props;
3808
- const classes = (0, import_dedupe36.default)("mobius", "mobius-logo", className);
3809
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
3896
+ const classes = (0, import_dedupe37.default)("mobius", "mobius-logo", className);
3897
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
3810
3898
  "svg",
3811
3899
  {
3812
3900
  width,
@@ -3816,7 +3904,7 @@ var init_Logo = __esm({
3816
3904
  viewBox: "0 0 144 37",
3817
3905
  ...otherProps,
3818
3906
  children: [
3819
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
3907
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
3820
3908
  "linearGradient",
3821
3909
  {
3822
3910
  id: "logo-gradient",
@@ -3825,27 +3913,27 @@ var init_Logo = __esm({
3825
3913
  y1: "76.042%",
3826
3914
  y2: "26.973%",
3827
3915
  children: [
3828
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("stop", { stopColor: "#4632D8", offset: "0%" }),
3829
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("stop", { stopColor: "#9084E8", offset: "100%" })
3916
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("stop", { stopColor: "#4632D8", offset: "0%" }),
3917
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("stop", { stopColor: "#9084E8", offset: "100%" })
3830
3918
  ]
3831
3919
  }
3832
3920
  ) }),
3833
- /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("g", { children: [
3834
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3921
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("g", { children: [
3922
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
3835
3923
  "path",
3836
3924
  {
3837
3925
  fill: "#0E0A2B",
3838
3926
  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"
3839
3927
  }
3840
3928
  ),
3841
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3929
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
3842
3930
  "path",
3843
3931
  {
3844
3932
  fill: "url(#logo-gradient)",
3845
3933
  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"
3846
3934
  }
3847
3935
  ),
3848
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3936
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
3849
3937
  "path",
3850
3938
  {
3851
3939
  fill: "#0E0A2B",
@@ -3870,23 +3958,23 @@ var init_Logo2 = __esm({
3870
3958
  });
3871
3959
 
3872
3960
  // src/components/Modal/Content.tsx
3873
- var import_jsx_runtime42, Content2;
3961
+ var import_jsx_runtime44, Content2;
3874
3962
  var init_Content2 = __esm({
3875
3963
  "src/components/Modal/Content.tsx"() {
3876
3964
  "use strict";
3877
- import_jsx_runtime42 = require("react/jsx-runtime");
3878
- Content2 = ({ ref, children, ...otherProps }) => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { ref, ...otherProps, className: "mobius-modal__content", children });
3965
+ import_jsx_runtime44 = require("react/jsx-runtime");
3966
+ Content2 = ({ ref, children, ...otherProps }) => /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { ref, ...otherProps, className: "mobius-modal__content", children });
3879
3967
  Content2.displayName = "Content";
3880
3968
  }
3881
3969
  });
3882
3970
 
3883
3971
  // src/components/Modal/ModalContext.tsx
3884
- var import_react28, ModalContext;
3972
+ var import_react29, ModalContext;
3885
3973
  var init_ModalContext = __esm({
3886
3974
  "src/components/Modal/ModalContext.tsx"() {
3887
3975
  "use strict";
3888
- import_react28 = require("react");
3889
- ModalContext = (0, import_react28.createContext)({
3976
+ import_react29 = require("react");
3977
+ ModalContext = (0, import_react29.createContext)({
3890
3978
  onClose: () => {
3891
3979
  },
3892
3980
  closeLabel: void 0
@@ -3895,21 +3983,21 @@ var init_ModalContext = __esm({
3895
3983
  });
3896
3984
 
3897
3985
  // src/components/Modal/useModal.ts
3898
- var import_react29, useModal;
3986
+ var import_react30, useModal;
3899
3987
  var init_useModal = __esm({
3900
3988
  "src/components/Modal/useModal.ts"() {
3901
3989
  "use strict";
3902
- import_react29 = require("react");
3990
+ import_react30 = require("react");
3903
3991
  init_ModalContext();
3904
3992
  useModal = () => {
3905
- const { onClose, closeLabel } = (0, import_react29.useContext)(ModalContext);
3993
+ const { onClose, closeLabel } = (0, import_react30.useContext)(ModalContext);
3906
3994
  return { onClose, closeLabel };
3907
3995
  };
3908
3996
  }
3909
3997
  });
3910
3998
 
3911
3999
  // src/components/Modal/Header.tsx
3912
- var import_icons10, import_jsx_runtime43, Header2;
4000
+ var import_icons10, import_jsx_runtime45, Header2;
3913
4001
  var init_Header2 = __esm({
3914
4002
  "src/components/Modal/Header.tsx"() {
3915
4003
  "use strict";
@@ -3917,12 +4005,12 @@ var init_Header2 = __esm({
3917
4005
  init_Button2();
3918
4006
  init_Icon2();
3919
4007
  init_useModal();
3920
- import_jsx_runtime43 = require("react/jsx-runtime");
4008
+ import_jsx_runtime45 = require("react/jsx-runtime");
3921
4009
  Header2 = ({ ref, children, ...otherProps }) => {
3922
4010
  const { onClose, closeLabel } = useModal();
3923
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("header", { ref, ...otherProps, className: "mobius-modal__header", children: [
4011
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("header", { ref, ...otherProps, className: "mobius-modal__header", children: [
3924
4012
  children,
3925
- /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
4013
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
3926
4014
  Button,
3927
4015
  {
3928
4016
  "aria-label": "Close",
@@ -3930,7 +4018,7 @@ var init_Header2 = __esm({
3930
4018
  onPress: onClose,
3931
4019
  className: "mobius-modal__close",
3932
4020
  children: [
3933
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Icon, { icon: import_icons10.cross }),
4021
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Icon, { icon: import_icons10.cross }),
3934
4022
  " ",
3935
4023
  closeLabel
3936
4024
  ]
@@ -3943,19 +4031,19 @@ var init_Header2 = __esm({
3943
4031
  });
3944
4032
 
3945
4033
  // src/components/Modal/Modal.tsx
3946
- var import_dedupe37, import_react30, import_Modal, import_jsx_runtime44, TRANSITION_CSS_VARIABLE2, Modal;
4034
+ var import_dedupe38, import_react31, import_Modal, import_jsx_runtime46, TRANSITION_CSS_VARIABLE2, Modal;
3947
4035
  var init_Modal = __esm({
3948
4036
  "src/components/Modal/Modal.tsx"() {
3949
4037
  "use strict";
3950
4038
  "use client";
3951
- import_dedupe37 = __toESM(require("classnames/dedupe"));
3952
- import_react30 = require("react");
4039
+ import_dedupe38 = __toESM(require("classnames/dedupe"));
4040
+ import_react31 = require("react");
3953
4041
  init_hooks();
3954
4042
  init_utils();
3955
4043
  init_polyfill_tests();
3956
4044
  init_ModalContext();
3957
4045
  import_Modal = require("@simplybusiness/mobius/src/components/Modal/Modal.css");
3958
- import_jsx_runtime44 = require("react/jsx-runtime");
4046
+ import_jsx_runtime46 = require("react/jsx-runtime");
3959
4047
  TRANSITION_CSS_VARIABLE2 = "--modal-transition-duration";
3960
4048
  Modal = ({ ref, ...props }) => {
3961
4049
  const {
@@ -3969,11 +4057,11 @@ var init_Modal = __esm({
3969
4057
  animation,
3970
4058
  ...rest
3971
4059
  } = props;
3972
- const [shouldTransition, setShouldTransition] = (0, import_react30.useState)(false);
3973
- (0, import_react30.useEffect)(() => {
4060
+ const [shouldTransition, setShouldTransition] = (0, import_react31.useState)(false);
4061
+ (0, import_react31.useEffect)(() => {
3974
4062
  setShouldTransition(supportsDialog());
3975
4063
  }, []);
3976
- const dialogRef = (0, import_react30.useRef)(null);
4064
+ const dialogRef = (0, import_react31.useRef)(null);
3977
4065
  const { close } = useDialog({
3978
4066
  ref: dialogRef,
3979
4067
  isOpen,
@@ -3984,7 +4072,7 @@ var init_Modal = __esm({
3984
4072
  CSSVariable: TRANSITION_CSS_VARIABLE2
3985
4073
  }
3986
4074
  });
3987
- const modalClasses = (0, import_dedupe37.default)(
4075
+ const modalClasses = (0, import_dedupe38.default)(
3988
4076
  "mobius",
3989
4077
  "mobius-modal",
3990
4078
  {
@@ -3997,21 +4085,21 @@ var init_Modal = __esm({
3997
4085
  },
3998
4086
  className
3999
4087
  );
4000
- const contextValue = (0, import_react30.useMemo)(
4088
+ const contextValue = (0, import_react31.useMemo)(
4001
4089
  () => ({
4002
4090
  onClose: close,
4003
4091
  closeLabel
4004
4092
  }),
4005
4093
  [close, closeLabel]
4006
4094
  );
4007
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
4095
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
4008
4096
  "dialog",
4009
4097
  {
4010
4098
  ref: mergeRefs([dialogRef, ref]),
4011
4099
  onCancel: close,
4012
4100
  className: modalClasses,
4013
4101
  ...rest,
4014
- children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(ModalContext.Provider, { value: contextValue, children })
4102
+ children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(ModalContext.Provider, { value: contextValue, children })
4015
4103
  }
4016
4104
  );
4017
4105
  };
@@ -4037,16 +4125,16 @@ var init_Modal2 = __esm({
4037
4125
  });
4038
4126
 
4039
4127
  // src/components/NumberField/NumberField.tsx
4040
- var import_dedupe38, import_react31, import_NumberField, import_jsx_runtime45, NumberField;
4128
+ var import_dedupe39, import_react32, import_NumberField, import_jsx_runtime47, NumberField;
4041
4129
  var init_NumberField = __esm({
4042
4130
  "src/components/NumberField/NumberField.tsx"() {
4043
4131
  "use strict";
4044
4132
  "use client";
4045
- import_dedupe38 = __toESM(require("classnames/dedupe"));
4046
- import_react31 = require("react");
4133
+ import_dedupe39 = __toESM(require("classnames/dedupe"));
4134
+ import_react32 = require("react");
4047
4135
  init_TextField2();
4048
4136
  import_NumberField = require("@simplybusiness/mobius/src/components/NumberField/NumberField.css");
4049
- import_jsx_runtime45 = require("react/jsx-runtime");
4137
+ import_jsx_runtime47 = require("react/jsx-runtime");
4050
4138
  NumberField = ({ ref, ...props }) => {
4051
4139
  const {
4052
4140
  minValue,
@@ -4062,15 +4150,15 @@ var init_NumberField = __esm({
4062
4150
  onBlur: customOnBlur,
4063
4151
  ...rest
4064
4152
  } = otherProps;
4065
- const focusedInputRef = (0, import_react31.useRef)(null);
4066
- const wheelHandler = (0, import_react31.useCallback)((ev) => ev.preventDefault(), []);
4067
- (0, import_react31.useEffect)(() => {
4153
+ const focusedInputRef = (0, import_react32.useRef)(null);
4154
+ const wheelHandler = (0, import_react32.useCallback)((ev) => ev.preventDefault(), []);
4155
+ (0, import_react32.useEffect)(() => {
4068
4156
  return () => {
4069
4157
  focusedInputRef.current?.removeEventListener("wheel", wheelHandler);
4070
4158
  focusedInputRef.current = null;
4071
4159
  };
4072
4160
  }, [wheelHandler]);
4073
- const containerClasses = (0, import_dedupe38.default)("mobius-number-field", className, {
4161
+ const containerClasses = (0, import_dedupe39.default)("mobius-number-field", className, {
4074
4162
  "--hide-spin-buttons": hideSpinButtons
4075
4163
  });
4076
4164
  const handleBeforeInput = (event) => {
@@ -4114,7 +4202,7 @@ var init_NumberField = __esm({
4114
4202
  },
4115
4203
  onBlur: (e) => handleBlur(e)
4116
4204
  };
4117
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
4205
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
4118
4206
  TextField,
4119
4207
  {
4120
4208
  ...forwardedProps,
@@ -4142,18 +4230,18 @@ var init_NumberField2 = __esm({
4142
4230
  });
4143
4231
 
4144
4232
  // src/components/Option/Option.tsx
4145
- var import_jsx_runtime46, Option2;
4233
+ var import_jsx_runtime48, Option2;
4146
4234
  var init_Option2 = __esm({
4147
4235
  "src/components/Option/Option.tsx"() {
4148
4236
  "use strict";
4149
- import_jsx_runtime46 = require("react/jsx-runtime");
4237
+ import_jsx_runtime48 = require("react/jsx-runtime");
4150
4238
  Option2 = ({ ref, ...props }) => {
4151
4239
  const { isDisabled, ...rest } = props;
4152
4240
  const mappedProps = {
4153
4241
  ...rest,
4154
4242
  disabled: isDisabled
4155
4243
  };
4156
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("option", { ...mappedProps, ref });
4244
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("option", { ...mappedProps, ref });
4157
4245
  };
4158
4246
  Option2.displayName = "Option";
4159
4247
  }
@@ -4168,17 +4256,17 @@ var init_Option3 = __esm({
4168
4256
  });
4169
4257
 
4170
4258
  // src/components/PasswordField/ShowHideButton.tsx
4171
- var import_icons11, import_jsx_runtime47, ShowHideButton;
4259
+ var import_icons11, import_jsx_runtime49, ShowHideButton;
4172
4260
  var init_ShowHideButton = __esm({
4173
4261
  "src/components/PasswordField/ShowHideButton.tsx"() {
4174
4262
  "use strict";
4175
4263
  import_icons11 = require("@simplybusiness/icons");
4176
4264
  init_src();
4177
- import_jsx_runtime47 = require("react/jsx-runtime");
4265
+ import_jsx_runtime49 = require("react/jsx-runtime");
4178
4266
  ShowHideButton = ({
4179
4267
  show = false,
4180
4268
  onClick
4181
- }) => /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
4269
+ }) => /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
4182
4270
  "button",
4183
4271
  {
4184
4272
  className: "mobius-password-field__show-button",
@@ -4189,35 +4277,35 @@ var init_ShowHideButton = __esm({
4189
4277
  },
4190
4278
  "aria-label": `${show ? "Hide" : "Show"} password`,
4191
4279
  "data-testid": "show-hide-button",
4192
- children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Icon, { icon: show ? import_icons11.eyeSlash : import_icons11.eye, "aria-hidden": "true" })
4280
+ children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Icon, { icon: show ? import_icons11.eyeSlash : import_icons11.eye, "aria-hidden": "true" })
4193
4281
  }
4194
4282
  );
4195
4283
  }
4196
4284
  });
4197
4285
 
4198
4286
  // src/components/PasswordField/PasswordField.tsx
4199
- var import_dedupe39, import_react32, import_PasswordField, import_jsx_runtime48, PasswordField;
4287
+ var import_dedupe40, import_react33, import_PasswordField, import_jsx_runtime50, PasswordField;
4200
4288
  var init_PasswordField = __esm({
4201
4289
  "src/components/PasswordField/PasswordField.tsx"() {
4202
4290
  "use strict";
4203
4291
  "use client";
4204
- import_dedupe39 = __toESM(require("classnames/dedupe"));
4205
- import_react32 = require("react");
4292
+ import_dedupe40 = __toESM(require("classnames/dedupe"));
4293
+ import_react33 = require("react");
4206
4294
  init_mergeRefs();
4207
4295
  init_TextField2();
4208
4296
  init_ShowHideButton();
4209
4297
  import_PasswordField = require("@simplybusiness/mobius/src/components/PasswordField/PasswordField.css");
4210
- import_jsx_runtime48 = require("react/jsx-runtime");
4298
+ import_jsx_runtime50 = require("react/jsx-runtime");
4211
4299
  PasswordField = ({
4212
4300
  ref,
4213
4301
  className,
4214
4302
  autoComplete = "current-password",
4215
4303
  ...props
4216
4304
  }) => {
4217
- const [show, setShow] = (0, import_react32.useState)(false);
4305
+ const [show, setShow] = (0, import_react33.useState)(false);
4218
4306
  const type = show ? "text" : "password";
4219
- const classes = (0, import_dedupe39.default)("mobius-password-field", className);
4220
- const localRef = (0, import_react32.useRef)(null);
4307
+ const classes = (0, import_dedupe40.default)("mobius-password-field", className);
4308
+ const localRef = (0, import_react33.useRef)(null);
4221
4309
  const handleShowHideButtonClick = () => {
4222
4310
  const selectionStart = localRef.current?.selectionStart;
4223
4311
  const selectionEnd = localRef.current?.selectionEnd;
@@ -4229,7 +4317,7 @@ var init_PasswordField = __esm({
4229
4317
  }
4230
4318
  });
4231
4319
  };
4232
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4320
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
4233
4321
  TextField,
4234
4322
  {
4235
4323
  ref: mergeRefs([localRef, ref]),
@@ -4237,7 +4325,7 @@ var init_PasswordField = __esm({
4237
4325
  ...props,
4238
4326
  autoComplete,
4239
4327
  type,
4240
- suffixInside: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(ShowHideButton, { onClick: handleShowHideButtonClick, show })
4328
+ suffixInside: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(ShowHideButton, { onClick: handleShowHideButtonClick, show })
4241
4329
  }
4242
4330
  );
4243
4331
  };
@@ -4254,39 +4342,39 @@ var init_PasswordField2 = __esm({
4254
4342
  });
4255
4343
 
4256
4344
  // src/components/Popover/Popover.tsx
4257
- var import_react33, import_icons12, import_dedupe40, import_react34, import_mobius_hooks6, import_Popover, import_jsx_runtime49, OFFSET_FROM_CONTENT_DEFAULT, Popover;
4345
+ var import_react34, import_icons12, import_dedupe41, import_react35, import_mobius_hooks6, import_Popover, import_jsx_runtime51, OFFSET_FROM_CONTENT_DEFAULT, Popover;
4258
4346
  var init_Popover = __esm({
4259
4347
  "src/components/Popover/Popover.tsx"() {
4260
4348
  "use strict";
4261
- import_react33 = require("@floating-ui/react");
4349
+ import_react34 = require("@floating-ui/react");
4262
4350
  import_icons12 = require("@simplybusiness/icons");
4263
- import_dedupe40 = __toESM(require("classnames/dedupe"));
4264
- import_react34 = require("react");
4351
+ import_dedupe41 = __toESM(require("classnames/dedupe"));
4352
+ import_react35 = require("react");
4265
4353
  import_mobius_hooks6 = require("@simplybusiness/mobius-hooks");
4266
4354
  init_Button2();
4267
4355
  init_Icon2();
4268
4356
  import_Popover = require("@simplybusiness/mobius/src/components/Popover/Popover.css");
4269
- import_jsx_runtime49 = require("react/jsx-runtime");
4357
+ import_jsx_runtime51 = require("react/jsx-runtime");
4270
4358
  OFFSET_FROM_CONTENT_DEFAULT = 10;
4271
4359
  Popover = (props) => {
4272
4360
  const { trigger, children, onOpen, onClose, className } = props;
4273
- const arrowRef = (0, import_react34.useRef)(null);
4274
- const floatingContainerRef = (0, import_react34.useRef)(null);
4275
- const [isOpen, setIsOpen] = (0, import_react34.useState)(false);
4276
- const { refs, floatingStyles, context } = (0, import_react33.useFloating)({
4361
+ const arrowRef = (0, import_react35.useRef)(null);
4362
+ const floatingContainerRef = (0, import_react35.useRef)(null);
4363
+ const [isOpen, setIsOpen] = (0, import_react35.useState)(false);
4364
+ const { refs, floatingStyles, context } = (0, import_react34.useFloating)({
4277
4365
  open: isOpen,
4278
4366
  onOpenChange: setIsOpen,
4279
- whileElementsMounted: import_react33.autoUpdate,
4367
+ whileElementsMounted: import_react34.autoUpdate,
4280
4368
  middleware: [
4281
- (0, import_react33.arrow)({
4369
+ (0, import_react34.arrow)({
4282
4370
  element: arrowRef
4283
4371
  }),
4284
- (0, import_react33.offset)(OFFSET_FROM_CONTENT_DEFAULT),
4285
- (0, import_react33.shift)(),
4286
- (0, import_react33.flip)()
4372
+ (0, import_react34.offset)(OFFSET_FROM_CONTENT_DEFAULT),
4373
+ (0, import_react34.shift)(),
4374
+ (0, import_react34.flip)()
4287
4375
  ]
4288
4376
  });
4289
- const dismiss = (0, import_react33.useDismiss)(context, {
4377
+ const dismiss = (0, import_react34.useDismiss)(context, {
4290
4378
  bubbles: true,
4291
4379
  outsidePress: (event) => {
4292
4380
  const toggle = refs.reference.current;
@@ -4297,20 +4385,20 @@ var init_Popover = __esm({
4297
4385
  return true;
4298
4386
  }
4299
4387
  });
4300
- const { getReferenceProps, getFloatingProps } = (0, import_react33.useInteractions)([dismiss]);
4301
- const containerClasses = (0, import_dedupe40.default)(
4388
+ const { getReferenceProps, getFloatingProps } = (0, import_react34.useInteractions)([dismiss]);
4389
+ const containerClasses = (0, import_dedupe41.default)(
4302
4390
  "mobius",
4303
4391
  "mobius-popover__container",
4304
4392
  className
4305
4393
  );
4306
- const setFloatingRef = (0, import_react34.useCallback)(
4394
+ const setFloatingRef = (0, import_react35.useCallback)(
4307
4395
  (node) => {
4308
4396
  refs.setFloating(node);
4309
4397
  floatingContainerRef.current = node;
4310
4398
  },
4311
4399
  [refs]
4312
4400
  );
4313
- (0, import_react34.useEffect)(() => {
4401
+ (0, import_react35.useEffect)(() => {
4314
4402
  const el = floatingContainerRef.current;
4315
4403
  if (!el) return;
4316
4404
  const preventLabelActivation = (e) => {
@@ -4331,9 +4419,9 @@ var init_Popover = __esm({
4331
4419
  setIsOpen(true);
4332
4420
  onOpen?.();
4333
4421
  };
4334
- const triggerComponent = (0, import_react34.cloneElement)(trigger, {
4422
+ const triggerComponent = (0, import_react35.cloneElement)(trigger, {
4335
4423
  ref: refs.setReference,
4336
- className: (0, import_dedupe40.default)(
4424
+ className: (0, import_dedupe41.default)(
4337
4425
  trigger.props.className,
4338
4426
  "mobius-popover__toggle"
4339
4427
  ),
@@ -4347,9 +4435,9 @@ var init_Popover = __esm({
4347
4435
  e.stopPropagation();
4348
4436
  }
4349
4437
  });
4350
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_jsx_runtime49.Fragment, { children: [
4438
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_jsx_runtime51.Fragment, { children: [
4351
4439
  triggerComponent,
4352
- isOpen && /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
4440
+ isOpen && /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
4353
4441
  "div",
4354
4442
  {
4355
4443
  className: containerClasses,
@@ -4357,8 +4445,8 @@ var init_Popover = __esm({
4357
4445
  style: floatingStyles,
4358
4446
  ...getFloatingProps(),
4359
4447
  children: [
4360
- /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "mobius-popover", children: [
4361
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("header", { className: "mobius-popover__header", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
4448
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "mobius-popover", children: [
4449
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("header", { className: "mobius-popover__header", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
4362
4450
  Button,
4363
4451
  {
4364
4452
  type: "button",
@@ -4366,7 +4454,7 @@ var init_Popover = __esm({
4366
4454
  onClick: toggleVisibility,
4367
4455
  "aria-label": "Close",
4368
4456
  variant: "ghost",
4369
- children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
4457
+ children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
4370
4458
  Icon,
4371
4459
  {
4372
4460
  icon: import_icons12.cross,
@@ -4376,10 +4464,10 @@ var init_Popover = __esm({
4376
4464
  )
4377
4465
  }
4378
4466
  ) }),
4379
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "mobius-popover__body", children })
4467
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "mobius-popover__body", children })
4380
4468
  ] }),
4381
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
4382
- import_react33.FloatingArrow,
4469
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
4470
+ import_react34.FloatingArrow,
4383
4471
  {
4384
4472
  ref: arrowRef,
4385
4473
  context,
@@ -4415,17 +4503,17 @@ function warnAboutInvalidValues(value, minValue, maxValue) {
4415
4503
  console.warn("Progress value is greater than maxValue");
4416
4504
  }
4417
4505
  }
4418
- var import_dedupe41, import_react35, import_Progress, import_jsx_runtime50, sanitizedValue, getLabelComponent, DEFAULT_VALUE, DEFAULT_MIN_VALUE, DEFAULT_MAX_VALUE, Progress;
4506
+ var import_dedupe42, import_react36, import_Progress, import_jsx_runtime52, sanitizedValue, getLabelComponent, DEFAULT_VALUE, DEFAULT_MIN_VALUE, DEFAULT_MAX_VALUE, Progress;
4419
4507
  var init_Progress = __esm({
4420
4508
  "src/components/Progress/Progress.tsx"() {
4421
4509
  "use strict";
4422
4510
  "use client";
4423
- import_dedupe41 = __toESM(require("classnames/dedupe"));
4424
- import_react35 = require("react");
4511
+ import_dedupe42 = __toESM(require("classnames/dedupe"));
4512
+ import_react36 = require("react");
4425
4513
  init_Label2();
4426
4514
  init_VisuallyHidden2();
4427
4515
  import_Progress = require("@simplybusiness/mobius/src/components/Progress/Progress.css");
4428
- import_jsx_runtime50 = require("react/jsx-runtime");
4516
+ import_jsx_runtime52 = require("react/jsx-runtime");
4429
4517
  sanitizedValue = (value, defaultValue) => {
4430
4518
  if (value === void 0 || Number.isNaN(value)) {
4431
4519
  return defaultValue;
@@ -4434,7 +4522,7 @@ var init_Progress = __esm({
4434
4522
  };
4435
4523
  getLabelComponent = (label, progressLabelId, showLabel) => {
4436
4524
  if (showLabel) {
4437
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
4525
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
4438
4526
  Label,
4439
4527
  {
4440
4528
  id: progressLabelId,
@@ -4444,7 +4532,7 @@ var init_Progress = __esm({
4444
4532
  }
4445
4533
  );
4446
4534
  }
4447
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(VisuallyHidden, { children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
4535
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(VisuallyHidden, { children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
4448
4536
  Label,
4449
4537
  {
4450
4538
  id: progressLabelId,
@@ -4458,8 +4546,8 @@ var init_Progress = __esm({
4458
4546
  DEFAULT_MIN_VALUE = 0;
4459
4547
  DEFAULT_MAX_VALUE = 100;
4460
4548
  Progress = ({ ref, ...props }) => {
4461
- const progressId = (0, import_react35.useId)();
4462
- const progressLabelId = (0, import_react35.useId)();
4549
+ const progressId = (0, import_react36.useId)();
4550
+ const progressLabelId = (0, import_react36.useId)();
4463
4551
  const {
4464
4552
  id,
4465
4553
  label,
@@ -4484,7 +4572,7 @@ var init_Progress = __esm({
4484
4572
  100
4485
4573
  );
4486
4574
  const barWidth = `${percentage}%`;
4487
- const classes = (0, import_dedupe41.default)("mobius", "mobius-progress", className, {
4575
+ const classes = (0, import_dedupe42.default)("mobius", "mobius-progress", className, {
4488
4576
  "--is-primary": variant === "primary",
4489
4577
  "--is-secondary": variant === "secondary"
4490
4578
  });
@@ -4494,7 +4582,7 @@ var init_Progress = __esm({
4494
4582
  progressBarProps["aria-valuenow"] = value.toString();
4495
4583
  progressBarProps["aria-valuetext"] = valueFormatter instanceof Function ? valueFormatter(value, minValue, maxValue) : barWidth;
4496
4584
  const labelComponent = getLabelComponent(label, progressLabelId, showLabel);
4497
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
4585
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(
4498
4586
  "div",
4499
4587
  {
4500
4588
  id: id || progressId,
@@ -4505,8 +4593,8 @@ var init_Progress = __esm({
4505
4593
  "aria-labelledby": progressLabelId,
4506
4594
  children: [
4507
4595
  labelComponent,
4508
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "mobius-progress__track", children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "mobius-progress__bar", style: { width: barWidth } }) }),
4509
- showValueLabel && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Label, { "data-testid": "value-label", elementType: "span", children: progressBarProps["aria-valuetext"] })
4596
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { className: "mobius-progress__track", children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { className: "mobius-progress__bar", style: { width: barWidth } }) }),
4597
+ showValueLabel && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Label, { "data-testid": "value-label", elementType: "span", children: progressBarProps["aria-valuetext"] })
4510
4598
  ]
4511
4599
  }
4512
4600
  );
@@ -4524,17 +4612,17 @@ var init_Progress2 = __esm({
4524
4612
  });
4525
4613
 
4526
4614
  // src/components/Radio/Radio.tsx
4527
- var import_dedupe42, import_react36, import_Radio, import_jsx_runtime51, Radio;
4615
+ var import_dedupe43, import_react37, import_Radio, import_jsx_runtime53, Radio;
4528
4616
  var init_Radio = __esm({
4529
4617
  "src/components/Radio/Radio.tsx"() {
4530
4618
  "use strict";
4531
4619
  "use client";
4532
- import_dedupe42 = __toESM(require("classnames/dedupe"));
4533
- import_react36 = require("react");
4620
+ import_dedupe43 = __toESM(require("classnames/dedupe"));
4621
+ import_react37 = require("react");
4534
4622
  init_ErrorMessage2();
4535
4623
  init_Label2();
4536
4624
  import_Radio = require("@simplybusiness/mobius/src/components/Radio/Radio.css");
4537
- import_jsx_runtime51 = require("react/jsx-runtime");
4625
+ import_jsx_runtime53 = require("react/jsx-runtime");
4538
4626
  Radio = ({ ref, ...props }) => {
4539
4627
  const {
4540
4628
  children,
@@ -4558,19 +4646,19 @@ var init_Radio = __esm({
4558
4646
  const isMultiline = label && children;
4559
4647
  const isControlled = selected !== void 0;
4560
4648
  const isChecked = isControlled ? selected === value : defaultChecked;
4561
- const contentRef = (0, import_react36.useRef)(null);
4562
- const prevOverflowRef = (0, import_react36.useRef)({
4649
+ const contentRef = (0, import_react37.useRef)(null);
4650
+ const prevOverflowRef = (0, import_react37.useRef)({
4563
4651
  vertical: false,
4564
4652
  horizontal: false
4565
4653
  });
4566
- const hasIconFirst = (0, import_react36.useMemo)(() => {
4567
- if (!children || import_react36.Children.count(children) === 0) return false;
4568
- const firstChild = import_react36.Children.toArray(children)[0];
4569
- if (!(0, import_react36.isValidElement)(firstChild)) return false;
4654
+ const hasIconFirst = (0, import_react37.useMemo)(() => {
4655
+ if (!children || import_react37.Children.count(children) === 0) return false;
4656
+ const firstChild = import_react37.Children.toArray(children)[0];
4657
+ if (!(0, import_react37.isValidElement)(firstChild)) return false;
4570
4658
  const props2 = firstChild.props;
4571
4659
  return "icon" in props2 && props2.icon !== void 0;
4572
4660
  }, [children]);
4573
- (0, import_react36.useLayoutEffect)(() => {
4661
+ (0, import_react37.useLayoutEffect)(() => {
4574
4662
  if (!contentRef.current || !onOverflow) return;
4575
4663
  if (orientation === "vertical") {
4576
4664
  return;
@@ -4599,13 +4687,13 @@ var init_Radio = __esm({
4599
4687
  "--is-multiline": !!isMultiline,
4600
4688
  "--is-required": isRequired
4601
4689
  };
4602
- const containerClasses = (0, import_dedupe42.default)(
4690
+ const containerClasses = (0, import_dedupe43.default)(
4603
4691
  "mobius-radio__label",
4604
4692
  radioClasses,
4605
4693
  className,
4606
4694
  { "--has-icon-first": hasIconFirst }
4607
4695
  );
4608
- const inputClasses = (0, import_dedupe42.default)("mobius-radio__input", radioClasses);
4696
+ const inputClasses = (0, import_dedupe43.default)("mobius-radio__input", radioClasses);
4609
4697
  const { "aria-describedby": _ariaDescribedBy, ...rest } = otherProps;
4610
4698
  const handleChange = (event) => {
4611
4699
  if (setSelected) {
@@ -4619,9 +4707,9 @@ var init_Radio = __esm({
4619
4707
  onChange(adaptedEvent);
4620
4708
  }
4621
4709
  };
4622
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_jsx_runtime51.Fragment, { children: [
4623
- /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(Label, { className: containerClasses, children: [
4624
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
4710
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_jsx_runtime53.Fragment, { children: [
4711
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(Label, { className: containerClasses, children: [
4712
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
4625
4713
  "input",
4626
4714
  {
4627
4715
  "aria-describedby": otherProps["aria-describedby"],
@@ -4638,12 +4726,12 @@ var init_Radio = __esm({
4638
4726
  ...rest
4639
4727
  }
4640
4728
  ),
4641
- isMultiline ? /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { ref: contentRef, className: "mobius-radio__content--multiline", children: [
4642
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "mobius-radio__content-first-line", children: label }),
4643
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "mobius-radio__extra-content", children })
4644
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { ref: contentRef, className: "mobius-radio__content", children: label || children })
4729
+ isMultiline ? /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { ref: contentRef, className: "mobius-radio__content--multiline", children: [
4730
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { className: "mobius-radio__content-first-line", children: label }),
4731
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { className: "mobius-radio__extra-content", children })
4732
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { ref: contentRef, className: "mobius-radio__content", children: label || children })
4645
4733
  ] }),
4646
- errorMessage && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(ErrorMessage, { errorMessage })
4734
+ errorMessage && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(ErrorMessage, { errorMessage })
4647
4735
  ] });
4648
4736
  };
4649
4737
  Radio.displayName = "Radio";
@@ -4651,19 +4739,19 @@ var init_Radio = __esm({
4651
4739
  });
4652
4740
 
4653
4741
  // src/components/Radio/RadioGroup.tsx
4654
- var import_dedupe43, import_react37, import_jsx_runtime52, getDefaultVal, RadioGroup;
4742
+ var import_dedupe44, import_react38, import_jsx_runtime54, getDefaultVal, RadioGroup;
4655
4743
  var init_RadioGroup = __esm({
4656
4744
  "src/components/Radio/RadioGroup.tsx"() {
4657
4745
  "use strict";
4658
4746
  "use client";
4659
- import_dedupe43 = __toESM(require("classnames/dedupe"));
4660
- import_react37 = require("react");
4747
+ import_dedupe44 = __toESM(require("classnames/dedupe"));
4748
+ import_react38 = require("react");
4661
4749
  init_hooks();
4662
4750
  init_spaceDelimitedList();
4663
4751
  init_ErrorMessage2();
4664
4752
  init_Label2();
4665
4753
  init_Stack2();
4666
- import_jsx_runtime52 = require("react/jsx-runtime");
4754
+ import_jsx_runtime54 = require("react/jsx-runtime");
4667
4755
  getDefaultVal = (children, defaultValue) => {
4668
4756
  if (Array.isArray(children) && defaultValue) {
4669
4757
  const option = children?.find((item) => item.props.value === defaultValue);
@@ -4691,15 +4779,15 @@ var init_RadioGroup = __esm({
4691
4779
  ...rest
4692
4780
  } = props;
4693
4781
  const defaultSelected = getDefaultVal(children, value || defaultValue);
4694
- const [selected, setSelected] = (0, import_react37.useState)(defaultSelected);
4695
- const overflowsRef = (0, import_react37.useRef)({});
4696
- const [hasOverflow, setHasOverflow] = (0, import_react37.useState)(false);
4697
- (0, import_react37.useEffect)(() => {
4782
+ const [selected, setSelected] = (0, import_react38.useState)(defaultSelected);
4783
+ const overflowsRef = (0, import_react38.useRef)({});
4784
+ const [hasOverflow, setHasOverflow] = (0, import_react38.useState)(false);
4785
+ (0, import_react38.useEffect)(() => {
4698
4786
  if (value !== void 0) {
4699
4787
  setSelected(value);
4700
4788
  }
4701
4789
  }, [value]);
4702
- const handleOverflow = (0, import_react37.useCallback)(
4790
+ const handleOverflow = (0, import_react38.useCallback)(
4703
4791
  (radioValue, overflow) => {
4704
4792
  overflowsRef.current = {
4705
4793
  ...overflowsRef.current,
@@ -4723,26 +4811,26 @@ var init_RadioGroup = __esm({
4723
4811
  [`--is-${effectiveOrientation}`]: true,
4724
4812
  [className || ""]: true
4725
4813
  };
4726
- const radioGroupClasses = (0, import_dedupe43.default)(
4814
+ const radioGroupClasses = (0, import_dedupe44.default)(
4727
4815
  "mobius",
4728
4816
  "mobius-radio-group",
4729
4817
  radioClasses,
4730
4818
  validationClasses
4731
4819
  );
4732
- const radioWrapperClasses = (0, import_dedupe43.default)("mobius-radio__wrapper", {
4820
+ const radioWrapperClasses = (0, import_dedupe44.default)("mobius-radio__wrapper", {
4733
4821
  [`--is-${effectiveOrientation}`]: true
4734
4822
  });
4735
- const labelClasses = (0, import_dedupe43.default)(radioClasses, validationClasses);
4736
- const errorMessageId = (0, import_react37.useId)();
4737
- const defaultNameAttrId = (0, import_react37.useId)();
4823
+ const labelClasses = (0, import_dedupe44.default)(radioClasses, validationClasses);
4824
+ const errorMessageId = (0, import_react38.useId)();
4825
+ const defaultNameAttrId = (0, import_react38.useId)();
4738
4826
  const nameAttribute = name || defaultNameAttrId;
4739
4827
  const shouldErrorMessageShow = errorMessage ? errorMessageId : void 0;
4740
4828
  const describedBy = spaceDelimitedList([
4741
4829
  shouldErrorMessageShow,
4742
4830
  props["aria-describedby"]
4743
4831
  ]);
4744
- const labelId = (0, import_react37.useId)();
4745
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
4832
+ const labelId = (0, import_react38.useId)();
4833
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
4746
4834
  "div",
4747
4835
  {
4748
4836
  ...rest,
@@ -4758,12 +4846,12 @@ var init_RadioGroup = __esm({
4758
4846
  ref,
4759
4847
  className: radioGroupClasses,
4760
4848
  role: "radiogroup",
4761
- children: /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(Stack, { gap: "xs", children: [
4762
- label && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Label, { htmlFor: name, id: labelId, className: labelClasses, children: label }),
4763
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { className: radioWrapperClasses, children: import_react37.Children.map(children, (child) => {
4764
- if ((0, import_react37.isValidElement)(child)) {
4849
+ children: /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(Stack, { gap: "xs", children: [
4850
+ label && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Label, { htmlFor: name, id: labelId, className: labelClasses, children: label }),
4851
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: radioWrapperClasses, children: import_react38.Children.map(children, (child) => {
4852
+ if ((0, import_react38.isValidElement)(child)) {
4765
4853
  const childValue = child.props.value;
4766
- return (0, import_react37.cloneElement)(
4854
+ return (0, import_react38.cloneElement)(
4767
4855
  child,
4768
4856
  {
4769
4857
  orientation: effectiveOrientation,
@@ -4781,7 +4869,7 @@ var init_RadioGroup = __esm({
4781
4869
  }
4782
4870
  return child;
4783
4871
  }) }),
4784
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(ErrorMessage, { id: errorMessageId, errorMessage })
4872
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(ErrorMessage, { id: errorMessageId, errorMessage })
4785
4873
  ] })
4786
4874
  }
4787
4875
  );
@@ -4800,47 +4888,47 @@ var init_Radio2 = __esm({
4800
4888
  });
4801
4889
 
4802
4890
  // src/components/Segment/SegmentGroup.tsx
4803
- var import_dedupe44, import_jsx_runtime53, SegmentGroup;
4891
+ var import_dedupe45, import_jsx_runtime55, SegmentGroup;
4804
4892
  var init_SegmentGroup = __esm({
4805
4893
  "src/components/Segment/SegmentGroup.tsx"() {
4806
4894
  "use strict";
4807
- import_dedupe44 = __toESM(require("classnames/dedupe"));
4808
- import_jsx_runtime53 = require("react/jsx-runtime");
4895
+ import_dedupe45 = __toESM(require("classnames/dedupe"));
4896
+ import_jsx_runtime55 = require("react/jsx-runtime");
4809
4897
  SegmentGroup = (props) => {
4810
4898
  const { children, horizontal, gap, className, ...rest } = props;
4811
4899
  const gapClass = gap ? `gap-${gap}` : "";
4812
- const classes = (0, import_dedupe44.default)(
4900
+ const classes = (0, import_dedupe45.default)(
4813
4901
  "mobius",
4814
4902
  "mobius-segment-group",
4815
4903
  className,
4816
4904
  { "--is-horizontal": horizontal },
4817
4905
  gapClass
4818
4906
  );
4819
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { className: classes, ...rest, children });
4907
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: classes, ...rest, children });
4820
4908
  };
4821
4909
  SegmentGroup.displayName = "SegmentGroup";
4822
4910
  }
4823
4911
  });
4824
4912
 
4825
4913
  // src/components/Segment/Segment.tsx
4826
- var import_dedupe45, import_Segment, import_jsx_runtime54, Segment;
4914
+ var import_dedupe46, import_Segment, import_jsx_runtime56, Segment;
4827
4915
  var init_Segment = __esm({
4828
4916
  "src/components/Segment/Segment.tsx"() {
4829
4917
  "use strict";
4830
- import_dedupe45 = __toESM(require("classnames/dedupe"));
4918
+ import_dedupe46 = __toESM(require("classnames/dedupe"));
4831
4919
  import_Segment = require("@simplybusiness/mobius/src/components/Segment/Segment.css");
4832
- import_jsx_runtime54 = require("react/jsx-runtime");
4920
+ import_jsx_runtime56 = require("react/jsx-runtime");
4833
4921
  Segment = (props) => {
4834
4922
  const { heading, children, colour, inverted, className, ...rest } = props;
4835
- const classes = (0, import_dedupe45.default)(
4923
+ const classes = (0, import_dedupe46.default)(
4836
4924
  "mobius",
4837
4925
  "mobius-segment",
4838
4926
  colour,
4839
4927
  { inverted },
4840
4928
  className
4841
4929
  );
4842
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: classes, ...rest, children: [
4843
- heading && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "mobius-segment__heading", children: heading }),
4930
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: classes, ...rest, children: [
4931
+ heading && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "mobius-segment__heading", children: heading }),
4844
4932
  children
4845
4933
  ] });
4846
4934
  };
@@ -4858,14 +4946,14 @@ var init_Segment2 = __esm({
4858
4946
  });
4859
4947
 
4860
4948
  // src/components/Select/Select.tsx
4861
- var import_icons13, import_dedupe46, import_react38, import_Select, import_jsx_runtime55, Select;
4949
+ var import_icons13, import_dedupe47, import_react39, import_Select, import_jsx_runtime57, Select;
4862
4950
  var init_Select = __esm({
4863
4951
  "src/components/Select/Select.tsx"() {
4864
4952
  "use strict";
4865
4953
  "use client";
4866
4954
  import_icons13 = require("@simplybusiness/icons");
4867
- import_dedupe46 = __toESM(require("classnames/dedupe"));
4868
- import_react38 = require("react");
4955
+ import_dedupe47 = __toESM(require("classnames/dedupe"));
4956
+ import_react39 = require("react");
4869
4957
  init_hooks();
4870
4958
  init_useLabel2();
4871
4959
  init_spaceDelimitedList();
@@ -4874,7 +4962,7 @@ var init_Select = __esm({
4874
4962
  init_Label2();
4875
4963
  init_Stack2();
4876
4964
  import_Select = require("@simplybusiness/mobius/src/components/Select/Select.css");
4877
- import_jsx_runtime55 = require("react/jsx-runtime");
4965
+ import_jsx_runtime57 = require("react/jsx-runtime");
4878
4966
  Select = ({ ref, ...props }) => {
4879
4967
  const {
4880
4968
  label,
@@ -4895,24 +4983,24 @@ var init_Select = __esm({
4895
4983
  "--is-required": typeof isRequired === "boolean" && isRequired,
4896
4984
  "--is-optional": typeof isRequired === "boolean" && !isRequired
4897
4985
  };
4898
- const sharedClasses = (0, import_dedupe46.default)(validationClasses, stateClasses);
4899
- const wrapperClasses = (0, import_dedupe46.default)(
4986
+ const sharedClasses = (0, import_dedupe47.default)(validationClasses, stateClasses);
4987
+ const wrapperClasses = (0, import_dedupe47.default)(
4900
4988
  "mobius-select__wrapper",
4901
4989
  sharedClasses,
4902
4990
  otherProps.className
4903
4991
  );
4904
- const selectClasses = (0, import_dedupe46.default)(
4992
+ const selectClasses = (0, import_dedupe47.default)(
4905
4993
  "mobius-select",
4906
4994
  sharedClasses,
4907
4995
  otherProps.className
4908
4996
  );
4909
- const labelClasses = (0, import_dedupe46.default)(
4997
+ const labelClasses = (0, import_dedupe47.default)(
4910
4998
  "mobius-label",
4911
4999
  sharedClasses,
4912
5000
  otherProps.className
4913
5001
  );
4914
- const iconClasses = (0, import_dedupe46.default)("mobius-select__icon", sharedClasses);
4915
- const errorMessageId = (0, import_react38.useId)();
5002
+ const iconClasses = (0, import_dedupe47.default)("mobius-select__icon", sharedClasses);
5003
+ const errorMessageId = (0, import_react39.useId)();
4916
5004
  const shouldErrorMessageShow = errorMessage ? errorMessageId : void 0;
4917
5005
  const describedBy = spaceDelimitedList([
4918
5006
  shouldErrorMessageShow,
@@ -4923,10 +5011,10 @@ var init_Select = __esm({
4923
5011
  onChange(e);
4924
5012
  }
4925
5013
  };
4926
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(Stack, { className: "mobius mobius-select__outer", gap: "xs", children: [
4927
- label && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Label, { ...labelProps, className: labelClasses, children: label }),
4928
- /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: wrapperClasses, children: [
4929
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
5014
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(Stack, { className: "mobius mobius-select__outer", gap: "xs", children: [
5015
+ label && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Label, { ...labelProps, className: labelClasses, children: label }),
5016
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: wrapperClasses, children: [
5017
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
4930
5018
  "select",
4931
5019
  {
4932
5020
  ...otherProps,
@@ -4942,9 +5030,9 @@ var init_Select = __esm({
4942
5030
  onChange: handleChange
4943
5031
  }
4944
5032
  ),
4945
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("span", { className: iconClasses, children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Icon, { icon: import_icons13.chevronDown }) })
5033
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("span", { className: iconClasses, children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Icon, { icon: import_icons13.chevronDown }) })
4946
5034
  ] }),
4947
- errorMessage && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(ErrorMessage, { id: errorMessageId, errorMessage })
5035
+ errorMessage && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(ErrorMessage, { id: errorMessageId, errorMessage })
4948
5036
  ] });
4949
5037
  };
4950
5038
  Select.displayName = "Select";
@@ -4966,27 +5054,27 @@ function numberFormatter(value, formatOptions, locale = navigator.languages?.[0]
4966
5054
  }
4967
5055
  return new Intl.NumberFormat(locale, formatOptions).format(+(value || 0));
4968
5056
  }
4969
- var import_react39;
5057
+ var import_react40;
4970
5058
  var init_helpers = __esm({
4971
5059
  "src/components/Slider/helpers.ts"() {
4972
5060
  "use strict";
4973
- import_react39 = require("react");
5061
+ import_react40 = require("react");
4974
5062
  }
4975
5063
  });
4976
5064
 
4977
5065
  // src/components/Slider/Slider.tsx
4978
- var import_dedupe47, import_react40, import_Slider, import_jsx_runtime56, Slider;
5066
+ var import_dedupe48, import_react41, import_Slider, import_jsx_runtime58, Slider;
4979
5067
  var init_Slider = __esm({
4980
5068
  "src/components/Slider/Slider.tsx"() {
4981
5069
  "use strict";
4982
5070
  "use client";
4983
- import_dedupe47 = __toESM(require("classnames/dedupe"));
4984
- import_react40 = require("react");
5071
+ import_dedupe48 = __toESM(require("classnames/dedupe"));
5072
+ import_react41 = require("react");
4985
5073
  init_hooks();
4986
5074
  init_Label2();
4987
5075
  init_helpers();
4988
5076
  import_Slider = require("@simplybusiness/mobius/src/components/Slider/Slider.css");
4989
- import_jsx_runtime56 = require("react/jsx-runtime");
5077
+ import_jsx_runtime58 = require("react/jsx-runtime");
4990
5078
  Slider = (props) => {
4991
5079
  const {
4992
5080
  id,
@@ -5007,11 +5095,11 @@ var init_Slider = __esm({
5007
5095
  formatOptions,
5008
5096
  isDisabled = false
5009
5097
  } = props;
5010
- const trackRef = (0, import_react40.useRef)(null);
5011
- const [currentValue, setCurrentValue] = (0, import_react40.useState)(
5098
+ const trackRef = (0, import_react41.useRef)(null);
5099
+ const [currentValue, setCurrentValue] = (0, import_react41.useState)(
5012
5100
  value || defaultValue || 0
5013
5101
  );
5014
- const [isDragging, setIsDraggging] = (0, import_react40.useState)(false);
5102
+ const [isDragging, setIsDraggging] = (0, import_react41.useState)(false);
5015
5103
  const { labelProps, fieldProps } = useLabel({
5016
5104
  id,
5017
5105
  label,
@@ -5019,7 +5107,7 @@ var init_Slider = __esm({
5019
5107
  "aria-labelledby": ariaLabelledBy
5020
5108
  });
5021
5109
  const formattedValue = numberFormatter(currentValue, formatOptions);
5022
- const classes = (0, import_dedupe47.default)("mobius", "mobius-slider", className, {
5110
+ const classes = (0, import_dedupe48.default)("mobius", "mobius-slider", className, {
5023
5111
  "--is-disabled": isDisabled,
5024
5112
  "--is-primary": variant === "primary",
5025
5113
  "--is-secondary": variant === "secondary",
@@ -5041,12 +5129,12 @@ var init_Slider = __esm({
5041
5129
  onChangeEnd(currentValue);
5042
5130
  }
5043
5131
  };
5044
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: classes, children: [
5045
- /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "mobius-slider__label-wrapper", children: [
5046
- label && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Label, { ...labelProps, children: label }),
5047
- label && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("output", { style: { flex: "1 0 auto", textAlign: "end" }, children: formattedValue })
5132
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: classes, children: [
5133
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "mobius-slider__label-wrapper", children: [
5134
+ label && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Label, { ...labelProps, children: label }),
5135
+ label && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("output", { style: { flex: "1 0 auto", textAlign: "end" }, children: formattedValue })
5048
5136
  ] }),
5049
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { ref: trackRef, className: "mobius-slider__track-wrapper", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
5137
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { ref: trackRef, className: "mobius-slider__track-wrapper", children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
5050
5138
  "input",
5051
5139
  {
5052
5140
  className: "mobius-slider__track",
@@ -5065,9 +5153,9 @@ var init_Slider = __esm({
5065
5153
  ...fieldProps
5066
5154
  }
5067
5155
  ) }),
5068
- /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "mobius-slider__labels", children: [
5069
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "mobius-slider__min-label", "data-testid": "min-label", children: minLabel }),
5070
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "mobius-slider__max-label", "data-testid": "max-label", children: maxLabel })
5156
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "mobius-slider__labels", children: [
5157
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: "mobius-slider__min-label", "data-testid": "min-label", children: minLabel }),
5158
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: "mobius-slider__max-label", "data-testid": "max-label", children: maxLabel })
5071
5159
  ] })
5072
5160
  ] });
5073
5161
  };
@@ -5083,19 +5171,19 @@ var init_Slider2 = __esm({
5083
5171
  });
5084
5172
 
5085
5173
  // src/components/SVG/SVG.tsx
5086
- var import_react41, import_dedupe48, import_jsx_runtime57, SVG;
5174
+ var import_react42, import_dedupe49, import_jsx_runtime59, SVG;
5087
5175
  var init_SVG = __esm({
5088
5176
  "src/components/SVG/SVG.tsx"() {
5089
5177
  "use strict";
5090
- import_react41 = require("react");
5091
- import_dedupe48 = __toESM(require("classnames/dedupe"));
5092
- import_jsx_runtime57 = require("react/jsx-runtime");
5178
+ import_react42 = require("react");
5179
+ import_dedupe49 = __toESM(require("classnames/dedupe"));
5180
+ import_jsx_runtime59 = require("react/jsx-runtime");
5093
5181
  SVG = ({ ref, ...props }) => {
5094
5182
  const { children, className, ...otherProps } = props;
5095
- const classes = (0, import_dedupe48.default)("mobius", "mobius-svg", className);
5096
- const svgNode = import_react41.Children.only(children);
5183
+ const classes = (0, import_dedupe49.default)("mobius", "mobius-svg", className);
5184
+ const svgNode = import_react42.Children.only(children);
5097
5185
  const { children: svgChildren, viewBox, xmlns } = svgNode.props;
5098
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
5186
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
5099
5187
  "svg",
5100
5188
  {
5101
5189
  viewBox,
@@ -5120,16 +5208,16 @@ var init_SVG2 = __esm({
5120
5208
  });
5121
5209
 
5122
5210
  // src/components/Switch/Switch.tsx
5123
- var import_react42, import_dedupe49, import_Switch, import_jsx_runtime58, Switch;
5211
+ var import_react43, import_dedupe50, import_Switch, import_jsx_runtime60, Switch;
5124
5212
  var init_Switch = __esm({
5125
5213
  "src/components/Switch/Switch.tsx"() {
5126
5214
  "use strict";
5127
5215
  "use client";
5128
- import_react42 = require("react");
5129
- import_dedupe49 = __toESM(require("classnames/dedupe"));
5216
+ import_react43 = require("react");
5217
+ import_dedupe50 = __toESM(require("classnames/dedupe"));
5130
5218
  init_VisuallyHidden2();
5131
5219
  import_Switch = require("@simplybusiness/mobius/src/components/Switch/Switch.css");
5132
- import_jsx_runtime58 = require("react/jsx-runtime");
5220
+ import_jsx_runtime60 = require("react/jsx-runtime");
5133
5221
  Switch = ({ ref, ...props }) => {
5134
5222
  const {
5135
5223
  checked = false,
@@ -5138,11 +5226,11 @@ var init_Switch = __esm({
5138
5226
  isDisabled = false,
5139
5227
  ...otherProps
5140
5228
  } = props;
5141
- const [enabled, setEnabled] = (0, import_react42.useState)(checked);
5142
- (0, import_react42.useEffect)(() => {
5229
+ const [enabled, setEnabled] = (0, import_react43.useState)(checked);
5230
+ (0, import_react43.useEffect)(() => {
5143
5231
  setEnabled(checked);
5144
5232
  }, [checked]);
5145
- const classes = (0, import_dedupe49.default)(
5233
+ const classes = (0, import_dedupe50.default)(
5146
5234
  "mobius",
5147
5235
  "mobius-switch",
5148
5236
  {
@@ -5157,9 +5245,9 @@ var init_Switch = __esm({
5157
5245
  onChange(event);
5158
5246
  }
5159
5247
  };
5160
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("label", { ref, className: classes, children: [
5161
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(VisuallyHidden, { children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("span", { children: enabled ? "On" : "Off" }) }),
5162
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
5248
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("label", { ref, className: classes, children: [
5249
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(VisuallyHidden, { children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("span", { children: enabled ? "On" : "Off" }) }),
5250
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
5163
5251
  "input",
5164
5252
  {
5165
5253
  type: "checkbox",
@@ -5170,7 +5258,7 @@ var init_Switch = __esm({
5170
5258
  ...otherProps
5171
5259
  }
5172
5260
  ),
5173
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("span", { className: "mobius-switch__slider" })
5261
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("span", { className: "mobius-switch__slider" })
5174
5262
  ] });
5175
5263
  };
5176
5264
  Switch.displayName = "Switch";
@@ -5186,114 +5274,114 @@ var init_Switch2 = __esm({
5186
5274
  });
5187
5275
 
5188
5276
  // src/components/Table/Table.tsx
5189
- var import_dedupe50, import_Table, import_jsx_runtime59, Table;
5277
+ var import_dedupe51, import_Table, import_jsx_runtime61, Table;
5190
5278
  var init_Table = __esm({
5191
5279
  "src/components/Table/Table.tsx"() {
5192
5280
  "use strict";
5193
- import_dedupe50 = __toESM(require("classnames/dedupe"));
5281
+ import_dedupe51 = __toESM(require("classnames/dedupe"));
5194
5282
  import_Table = require("@simplybusiness/mobius/src/components/Table/Table.css");
5195
- import_jsx_runtime59 = require("react/jsx-runtime");
5283
+ import_jsx_runtime61 = require("react/jsx-runtime");
5196
5284
  Table = ({ ref, ...props }) => {
5197
- const classes = (0, import_dedupe50.default)("mobius", "mobius-table", props.className);
5198
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("table", { ref, ...props, className: classes });
5285
+ const classes = (0, import_dedupe51.default)("mobius", "mobius-table", props.className);
5286
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("table", { ref, ...props, className: classes });
5199
5287
  };
5200
5288
  Table.displayName = "Table";
5201
5289
  }
5202
5290
  });
5203
5291
 
5204
5292
  // src/components/Table/Head.tsx
5205
- var import_dedupe51, import_jsx_runtime60, Head;
5293
+ var import_dedupe52, import_jsx_runtime62, Head;
5206
5294
  var init_Head = __esm({
5207
5295
  "src/components/Table/Head.tsx"() {
5208
5296
  "use strict";
5209
- import_dedupe51 = __toESM(require("classnames/dedupe"));
5210
- import_jsx_runtime60 = require("react/jsx-runtime");
5297
+ import_dedupe52 = __toESM(require("classnames/dedupe"));
5298
+ import_jsx_runtime62 = require("react/jsx-runtime");
5211
5299
  Head = ({ ref, ...props }) => {
5212
- const classes = (0, import_dedupe51.default)("mobius", "mobius-table__head", props.className);
5213
- return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("thead", { ref, ...props, className: classes });
5300
+ const classes = (0, import_dedupe52.default)("mobius", "mobius-table__head", props.className);
5301
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("thead", { ref, ...props, className: classes });
5214
5302
  };
5215
5303
  Head.displayName = "Table.Head";
5216
5304
  }
5217
5305
  });
5218
5306
 
5219
5307
  // src/components/Table/Body.tsx
5220
- var import_dedupe52, import_jsx_runtime61, Body;
5308
+ var import_dedupe53, import_jsx_runtime63, Body;
5221
5309
  var init_Body = __esm({
5222
5310
  "src/components/Table/Body.tsx"() {
5223
5311
  "use strict";
5224
- import_dedupe52 = __toESM(require("classnames/dedupe"));
5225
- import_jsx_runtime61 = require("react/jsx-runtime");
5312
+ import_dedupe53 = __toESM(require("classnames/dedupe"));
5313
+ import_jsx_runtime63 = require("react/jsx-runtime");
5226
5314
  Body = ({ ref, ...props }) => {
5227
- const classes = (0, import_dedupe52.default)("mobius", "mobius-table__body", props.className);
5228
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("tbody", { ref, ...props, className: classes });
5315
+ const classes = (0, import_dedupe53.default)("mobius", "mobius-table__body", props.className);
5316
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("tbody", { ref, ...props, className: classes });
5229
5317
  };
5230
5318
  Body.displayName = "Table.Body";
5231
5319
  }
5232
5320
  });
5233
5321
 
5234
5322
  // src/components/Table/Foot.tsx
5235
- var import_dedupe53, import_jsx_runtime62, Foot;
5323
+ var import_dedupe54, import_jsx_runtime64, Foot;
5236
5324
  var init_Foot = __esm({
5237
5325
  "src/components/Table/Foot.tsx"() {
5238
5326
  "use strict";
5239
- import_dedupe53 = __toESM(require("classnames/dedupe"));
5240
- import_jsx_runtime62 = require("react/jsx-runtime");
5327
+ import_dedupe54 = __toESM(require("classnames/dedupe"));
5328
+ import_jsx_runtime64 = require("react/jsx-runtime");
5241
5329
  Foot = ({ ref, ...props }) => {
5242
- const classes = (0, import_dedupe53.default)("mobius", "mobius-table__foot", props.className);
5243
- return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("tfoot", { ref, ...props, className: classes });
5330
+ const classes = (0, import_dedupe54.default)("mobius", "mobius-table__foot", props.className);
5331
+ return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("tfoot", { ref, ...props, className: classes });
5244
5332
  };
5245
5333
  Foot.displayName = "Table.Foot";
5246
5334
  }
5247
5335
  });
5248
5336
 
5249
5337
  // src/components/Table/Row.tsx
5250
- var import_dedupe54, import_jsx_runtime63, Row;
5338
+ var import_dedupe55, import_jsx_runtime65, Row;
5251
5339
  var init_Row = __esm({
5252
5340
  "src/components/Table/Row.tsx"() {
5253
5341
  "use strict";
5254
- import_dedupe54 = __toESM(require("classnames/dedupe"));
5255
- import_jsx_runtime63 = require("react/jsx-runtime");
5342
+ import_dedupe55 = __toESM(require("classnames/dedupe"));
5343
+ import_jsx_runtime65 = require("react/jsx-runtime");
5256
5344
  Row = ({ ref, ...props }) => {
5257
- const classes = (0, import_dedupe54.default)("mobius", "mobius-table__row", props.className);
5258
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("tr", { ref, ...props, className: classes });
5345
+ const classes = (0, import_dedupe55.default)("mobius", "mobius-table__row", props.className);
5346
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("tr", { ref, ...props, className: classes });
5259
5347
  };
5260
5348
  Row.displayName = "Table.Row";
5261
5349
  }
5262
5350
  });
5263
5351
 
5264
5352
  // src/components/Table/HeaderCell.tsx
5265
- var import_dedupe55, import_jsx_runtime64, HeaderCell;
5353
+ var import_dedupe56, import_jsx_runtime66, HeaderCell;
5266
5354
  var init_HeaderCell = __esm({
5267
5355
  "src/components/Table/HeaderCell.tsx"() {
5268
5356
  "use strict";
5269
- import_dedupe55 = __toESM(require("classnames/dedupe"));
5270
- import_jsx_runtime64 = require("react/jsx-runtime");
5357
+ import_dedupe56 = __toESM(require("classnames/dedupe"));
5358
+ import_jsx_runtime66 = require("react/jsx-runtime");
5271
5359
  HeaderCell = ({ ref, ...props }) => {
5272
- const classes = (0, import_dedupe55.default)(
5360
+ const classes = (0, import_dedupe56.default)(
5273
5361
  "mobius",
5274
5362
  "mobius-table__head-cell",
5275
5363
  props.className
5276
5364
  );
5277
- return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("th", { ...props, ref, className: classes });
5365
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("th", { ...props, ref, className: classes });
5278
5366
  };
5279
5367
  HeaderCell.displayName = "Table.HeaderCell";
5280
5368
  }
5281
5369
  });
5282
5370
 
5283
5371
  // src/components/Table/Cell.tsx
5284
- var import_dedupe56, import_jsx_runtime65, Cell;
5372
+ var import_dedupe57, import_jsx_runtime67, Cell;
5285
5373
  var init_Cell = __esm({
5286
5374
  "src/components/Table/Cell.tsx"() {
5287
5375
  "use strict";
5288
- import_dedupe56 = __toESM(require("classnames/dedupe"));
5289
- import_jsx_runtime65 = require("react/jsx-runtime");
5376
+ import_dedupe57 = __toESM(require("classnames/dedupe"));
5377
+ import_jsx_runtime67 = require("react/jsx-runtime");
5290
5378
  Cell = ({ ref, ...props }) => {
5291
- const classes = (0, import_dedupe56.default)(
5379
+ const classes = (0, import_dedupe57.default)(
5292
5380
  "mobius",
5293
5381
  "mobius-table__body-cell",
5294
5382
  props.className
5295
5383
  );
5296
- return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("td", { ref, ...props, className: classes });
5384
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("td", { ref, ...props, className: classes });
5297
5385
  };
5298
5386
  Cell.displayName = "Table.Cell";
5299
5387
  }
@@ -5323,37 +5411,6 @@ var init_Table2 = __esm({
5323
5411
  }
5324
5412
  });
5325
5413
 
5326
- // src/components/Text/Text.tsx
5327
- var import_dedupe57, import_Text, import_jsx_runtime66, getElementType, Text;
5328
- var init_Text = __esm({
5329
- "src/components/Text/Text.tsx"() {
5330
- "use strict";
5331
- import_dedupe57 = __toESM(require("classnames/dedupe"));
5332
- import_Text = require("@simplybusiness/mobius/src/components/Text/Text.css");
5333
- import_jsx_runtime66 = require("react/jsx-runtime");
5334
- getElementType = (variant, elementType) => {
5335
- if (variant) {
5336
- return ["h1", "h2", "h3", "h4"].includes(variant) ? variant : "p";
5337
- }
5338
- return elementType || "p";
5339
- };
5340
- Text = ({ ref, elementType: Component = "p", ...props }) => {
5341
- const { variant, className, spacing, ...otherProps } = props;
5342
- const elementType = getElementType(variant, Component);
5343
- const variantType = variant || elementType;
5344
- const classes = (0, import_dedupe57.default)(
5345
- "mobius",
5346
- "mobius-text",
5347
- { [`--is-${variantType}`]: variantType },
5348
- { [`--has-line-height-${spacing}`]: spacing },
5349
- className
5350
- );
5351
- return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Component, { ref, ...otherProps, className: classes });
5352
- };
5353
- Text.displayName = "Text";
5354
- }
5355
- });
5356
-
5357
5414
  // src/components/Text/index.tsx
5358
5415
  var init_Text2 = __esm({
5359
5416
  "src/components/Text/index.tsx"() {
@@ -5363,12 +5420,12 @@ var init_Text2 = __esm({
5363
5420
  });
5364
5421
 
5365
5422
  // src/components/TextAreaInput/TextAreaInput.tsx
5366
- var import_dedupe58, import_jsx_runtime67, TextAreaInput;
5423
+ var import_dedupe58, import_jsx_runtime68, TextAreaInput;
5367
5424
  var init_TextAreaInput = __esm({
5368
5425
  "src/components/TextAreaInput/TextAreaInput.tsx"() {
5369
5426
  "use strict";
5370
5427
  import_dedupe58 = __toESM(require("classnames/dedupe"));
5371
- import_jsx_runtime67 = require("react/jsx-runtime");
5428
+ import_jsx_runtime68 = require("react/jsx-runtime");
5372
5429
  TextAreaInput = ({ ref, ...props }) => {
5373
5430
  const { isSelected, isDisabled, isReadOnly, isRequired, ...otherProps } = props;
5374
5431
  const classes = (0, import_dedupe58.default)(
@@ -5381,7 +5438,7 @@ var init_TextAreaInput = __esm({
5381
5438
  },
5382
5439
  otherProps.className
5383
5440
  );
5384
- return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
5441
+ return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
5385
5442
  "textarea",
5386
5443
  {
5387
5444
  ref,
@@ -5405,7 +5462,7 @@ var init_TextAreaInput2 = __esm({
5405
5462
  });
5406
5463
 
5407
5464
  // src/components/TextArea/TextArea.tsx
5408
- var import_dedupe59, import_TextArea, import_jsx_runtime68, TextArea;
5465
+ var import_dedupe59, import_TextArea, import_jsx_runtime69, TextArea;
5409
5466
  var init_TextArea = __esm({
5410
5467
  "src/components/TextArea/TextArea.tsx"() {
5411
5468
  "use strict";
@@ -5417,7 +5474,7 @@ var init_TextArea = __esm({
5417
5474
  init_Stack2();
5418
5475
  init_TextAreaInput2();
5419
5476
  import_TextArea = require("@simplybusiness/mobius/src/components/TextArea/TextArea.css");
5420
- import_jsx_runtime68 = require("react/jsx-runtime");
5477
+ import_jsx_runtime69 = require("react/jsx-runtime");
5421
5478
  TextArea = ({ ref, ...props }) => {
5422
5479
  const {
5423
5480
  isDisabled,
@@ -5437,9 +5494,9 @@ var init_TextArea = __esm({
5437
5494
  },
5438
5495
  validationClasses
5439
5496
  );
5440
- return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(Stack, { className: classes, gap: "xs", children: [
5441
- label && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(Label, { ...labelProps, className: labelClasses, children: props.label }),
5442
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
5497
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(Stack, { className: classes, gap: "xs", children: [
5498
+ label && /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Label, { ...labelProps, className: labelClasses, children: props.label }),
5499
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
5443
5500
  TextAreaInput,
5444
5501
  {
5445
5502
  ...otherProps,
@@ -5450,7 +5507,7 @@ var init_TextArea = __esm({
5450
5507
  "aria-invalid": errorMessage != null
5451
5508
  }
5452
5509
  ),
5453
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(ErrorMessage, { ...errorMessageProps, errorMessage })
5510
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(ErrorMessage, { ...errorMessageProps, errorMessage })
5454
5511
  ] });
5455
5512
  };
5456
5513
  TextArea.displayName = "TextArea";
@@ -5465,53 +5522,6 @@ var init_TextArea2 = __esm({
5465
5522
  }
5466
5523
  });
5467
5524
 
5468
- // src/components/TextOrHTML/TextOrHTML.tsx
5469
- var import_react43, import_jsx_runtime69, isHTML, TextOrHTML;
5470
- var init_TextOrHTML = __esm({
5471
- "src/components/TextOrHTML/TextOrHTML.tsx"() {
5472
- "use strict";
5473
- import_react43 = require("react");
5474
- init_Text();
5475
- import_jsx_runtime69 = require("react/jsx-runtime");
5476
- isHTML = (text) => /^\s*<[a-z]/i.test(text);
5477
- TextOrHTML = ({
5478
- ref,
5479
- text,
5480
- htmlClassName,
5481
- htmlElementType,
5482
- textWrapper = false,
5483
- autoDetect = false,
5484
- ...textProps
5485
- }) => {
5486
- const textIsHTML = autoDetect && isHTML(text);
5487
- const shouldWrapInText = autoDetect ? textWrapper || !textIsHTML : textWrapper;
5488
- const resolvedElementType = htmlElementType ?? (textIsHTML ? "div" : "span");
5489
- const DangerousComponent = resolvedElementType;
5490
- const dangerousHTML = (0, import_react43.useMemo)(() => ({ __html: text }), [text]);
5491
- const dangerousElement = /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
5492
- DangerousComponent,
5493
- {
5494
- className: htmlClassName,
5495
- dangerouslySetInnerHTML: dangerousHTML
5496
- }
5497
- );
5498
- if (shouldWrapInText) {
5499
- return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Text, { ref, ...textProps, children: dangerousElement });
5500
- }
5501
- return dangerousElement;
5502
- };
5503
- TextOrHTML.displayName = "TextOrHTML";
5504
- }
5505
- });
5506
-
5507
- // src/components/TextOrHTML/index.tsx
5508
- var init_TextOrHTML2 = __esm({
5509
- "src/components/TextOrHTML/index.tsx"() {
5510
- "use strict";
5511
- init_TextOrHTML();
5512
- }
5513
- });
5514
-
5515
5525
  // src/components/Title/Title.tsx
5516
5526
  var import_dedupe60, import_Title, import_jsx_runtime70, Title;
5517
5527
  var init_Title = __esm({