@simplybusiness/mobius 10.1.1 → 10.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (115) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/cjs/components/AddressLookup/AddressLookup.js +540 -526
  3. package/dist/cjs/components/AddressLookup/AddressLookup.js.map +4 -4
  4. package/dist/cjs/components/AddressLookup/index.js +540 -526
  5. package/dist/cjs/components/AddressLookup/index.js.map +4 -4
  6. package/dist/cjs/components/Alert/Alert.js +79 -11
  7. package/dist/cjs/components/Alert/Alert.js.map +4 -4
  8. package/dist/cjs/components/Alert/index.js +79 -11
  9. package/dist/cjs/components/Alert/index.js.map +4 -4
  10. package/dist/cjs/components/Checkbox/Checkbox.js +506 -492
  11. package/dist/cjs/components/Checkbox/Checkbox.js.map +4 -4
  12. package/dist/cjs/components/Checkbox/CheckboxGroup.js +506 -492
  13. package/dist/cjs/components/Checkbox/CheckboxGroup.js.map +4 -4
  14. package/dist/cjs/components/Checkbox/index.js +485 -471
  15. package/dist/cjs/components/Checkbox/index.js.map +4 -4
  16. package/dist/cjs/components/Combobox/Combobox.js +540 -526
  17. package/dist/cjs/components/Combobox/Combobox.js.map +4 -4
  18. package/dist/cjs/components/Combobox/index.js +540 -526
  19. package/dist/cjs/components/Combobox/index.js.map +4 -4
  20. package/dist/cjs/components/DateField/DateField.js +527 -513
  21. package/dist/cjs/components/DateField/DateField.js.map +4 -4
  22. package/dist/cjs/components/DateField/index.js +527 -513
  23. package/dist/cjs/components/DateField/index.js.map +4 -4
  24. package/dist/cjs/components/ErrorMessage/ErrorMessage.js +527 -513
  25. package/dist/cjs/components/ErrorMessage/ErrorMessage.js.map +4 -4
  26. package/dist/cjs/components/ErrorMessage/index.js +527 -513
  27. package/dist/cjs/components/ErrorMessage/index.js.map +4 -4
  28. package/dist/cjs/components/ExpandableText/ExpandableText.js +527 -513
  29. package/dist/cjs/components/ExpandableText/ExpandableText.js.map +4 -4
  30. package/dist/cjs/components/ExpandableText/index.js +527 -513
  31. package/dist/cjs/components/ExpandableText/index.js.map +4 -4
  32. package/dist/cjs/components/MaskedField/MaskedField.js +537 -523
  33. package/dist/cjs/components/MaskedField/MaskedField.js.map +4 -4
  34. package/dist/cjs/components/MaskedField/index.js +537 -523
  35. package/dist/cjs/components/MaskedField/index.js.map +4 -4
  36. package/dist/cjs/components/NumberField/NumberField.js +528 -514
  37. package/dist/cjs/components/NumberField/NumberField.js.map +4 -4
  38. package/dist/cjs/components/NumberField/index.js +528 -514
  39. package/dist/cjs/components/NumberField/index.js.map +4 -4
  40. package/dist/cjs/components/PasswordField/PasswordField.js +524 -510
  41. package/dist/cjs/components/PasswordField/PasswordField.js.map +4 -4
  42. package/dist/cjs/components/PasswordField/ShowHideButton.js +523 -509
  43. package/dist/cjs/components/PasswordField/ShowHideButton.js.map +4 -4
  44. package/dist/cjs/components/PasswordField/index.js +524 -510
  45. package/dist/cjs/components/PasswordField/index.js.map +4 -4
  46. package/dist/cjs/components/Radio/Radio.js +506 -492
  47. package/dist/cjs/components/Radio/Radio.js.map +4 -4
  48. package/dist/cjs/components/Radio/RadioGroup.js +505 -491
  49. package/dist/cjs/components/Radio/RadioGroup.js.map +4 -4
  50. package/dist/cjs/components/Radio/index.js +484 -470
  51. package/dist/cjs/components/Radio/index.js.map +4 -4
  52. package/dist/cjs/components/Select/Select.js +511 -497
  53. package/dist/cjs/components/Select/Select.js.map +4 -4
  54. package/dist/cjs/components/Select/index.js +511 -497
  55. package/dist/cjs/components/Select/index.js.map +4 -4
  56. package/dist/cjs/components/TextArea/TextArea.js +521 -507
  57. package/dist/cjs/components/TextArea/TextArea.js.map +4 -4
  58. package/dist/cjs/components/TextArea/index.js +521 -507
  59. package/dist/cjs/components/TextArea/index.js.map +4 -4
  60. package/dist/cjs/components/TextField/TextField.js +537 -523
  61. package/dist/cjs/components/TextField/TextField.js.map +4 -4
  62. package/dist/cjs/components/TextField/index.js +537 -523
  63. package/dist/cjs/components/TextField/index.js.map +4 -4
  64. package/dist/cjs/components/index.js +567 -553
  65. package/dist/cjs/components/index.js.map +4 -4
  66. package/dist/cjs/index.js +567 -553
  67. package/dist/cjs/index.js.map +4 -4
  68. package/dist/cjs/meta.json +1372 -1305
  69. package/dist/esm/{chunk-FTSJNY4J.js → chunk-N5WGQAHM.js} +14 -2
  70. package/dist/esm/chunk-N5WGQAHM.js.map +7 -0
  71. package/dist/esm/{chunk-C4BILMFX.js → chunk-RR4UQSOZ.js} +5 -1
  72. package/dist/esm/chunk-RR4UQSOZ.js.map +7 -0
  73. package/dist/esm/components/AddressLookup/AddressLookup.js +2 -2
  74. package/dist/esm/components/AddressLookup/index.js +2 -2
  75. package/dist/esm/components/Alert/Alert.js +4 -1
  76. package/dist/esm/components/Alert/index.js +4 -1
  77. package/dist/esm/components/Checkbox/Checkbox.js +2 -2
  78. package/dist/esm/components/Checkbox/CheckboxGroup.js +2 -2
  79. package/dist/esm/components/Checkbox/index.js +2 -2
  80. package/dist/esm/components/Combobox/Combobox.js +2 -2
  81. package/dist/esm/components/Combobox/index.js +2 -2
  82. package/dist/esm/components/DateField/DateField.js +2 -2
  83. package/dist/esm/components/DateField/index.js +2 -2
  84. package/dist/esm/components/ErrorMessage/ErrorMessage.js +2 -2
  85. package/dist/esm/components/ErrorMessage/index.js +2 -2
  86. package/dist/esm/components/ExpandableText/ExpandableText.js +2 -2
  87. package/dist/esm/components/ExpandableText/index.js +2 -2
  88. package/dist/esm/components/MaskedField/MaskedField.js +2 -2
  89. package/dist/esm/components/MaskedField/index.js +2 -2
  90. package/dist/esm/components/NumberField/NumberField.js +2 -2
  91. package/dist/esm/components/NumberField/index.js +2 -2
  92. package/dist/esm/components/PasswordField/PasswordField.js +2 -2
  93. package/dist/esm/components/PasswordField/ShowHideButton.js +2 -2
  94. package/dist/esm/components/PasswordField/index.js +2 -2
  95. package/dist/esm/components/Radio/Radio.js +2 -2
  96. package/dist/esm/components/Radio/RadioGroup.js +2 -2
  97. package/dist/esm/components/Radio/index.js +2 -2
  98. package/dist/esm/components/Select/Select.js +2 -2
  99. package/dist/esm/components/Select/index.js +2 -2
  100. package/dist/esm/components/TextArea/TextArea.js +2 -2
  101. package/dist/esm/components/TextArea/index.js +2 -2
  102. package/dist/esm/components/TextField/TextField.js +2 -2
  103. package/dist/esm/components/TextField/index.js +2 -2
  104. package/dist/esm/components/index.js +2 -2
  105. package/dist/esm/index.js +2 -2
  106. package/dist/esm/meta.json +164 -131
  107. package/dist/tsconfig.build.tsbuildinfo +1 -1
  108. package/package.json +1 -1
  109. package/src/components/AddressLookup/AddressLookup.test.tsx +76 -0
  110. package/src/components/AddressLookup/AddressLookup.tsx +9 -0
  111. package/src/components/Alert/Alert.tsx +10 -1
  112. package/src/components/Drawer/Drawer.css +24 -3
  113. package/src/components/Modal/Modal.css +42 -3
  114. package/dist/esm/chunk-C4BILMFX.js.map +0 -7
  115. package/dist/esm/chunk-FTSJNY4J.js.map +0 -7
@@ -1248,6 +1248,10 @@ var init_AddressLookup = __esm({
1248
1248
  );
1249
1249
  const handleSelected = (selected) => {
1250
1250
  setError(null);
1251
+ const isEmpty = typeof selected === "string" ? selected === "" : !selected.id && !selected.value;
1252
+ if (isEmpty) {
1253
+ return Promise.resolve();
1254
+ }
1251
1255
  if (typeof selected === "string" || !selected.id) {
1252
1256
  setError(new Error("Selected option missing id"));
1253
1257
  return Promise.resolve();
@@ -1295,19 +1299,98 @@ var init_AddressLookup2 = __esm({
1295
1299
  }
1296
1300
  });
1297
1301
 
1302
+ // src/components/Text/Text.tsx
1303
+ var import_dedupe7, import_Text, import_jsx_runtime8, getElementType, Text;
1304
+ var init_Text = __esm({
1305
+ "src/components/Text/Text.tsx"() {
1306
+ "use strict";
1307
+ import_dedupe7 = __toESM(require("classnames/dedupe"));
1308
+ import_Text = require("@simplybusiness/mobius/src/components/Text/Text.css");
1309
+ import_jsx_runtime8 = require("react/jsx-runtime");
1310
+ getElementType = (variant, elementType) => {
1311
+ if (variant) {
1312
+ return ["h1", "h2", "h3", "h4"].includes(variant) ? variant : "p";
1313
+ }
1314
+ return elementType || "p";
1315
+ };
1316
+ Text = ({ ref, elementType: Component = "p", ...props }) => {
1317
+ const { variant, className, spacing, ...otherProps } = props;
1318
+ const elementType = getElementType(variant, Component);
1319
+ const variantType = variant || elementType;
1320
+ const classes = (0, import_dedupe7.default)(
1321
+ "mobius",
1322
+ "mobius-text",
1323
+ { [`--is-${variantType}`]: variantType },
1324
+ { [`--has-line-height-${spacing}`]: spacing },
1325
+ className
1326
+ );
1327
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Component, { ref, ...otherProps, className: classes });
1328
+ };
1329
+ Text.displayName = "Text";
1330
+ }
1331
+ });
1332
+
1333
+ // src/components/TextOrHTML/TextOrHTML.tsx
1334
+ var import_react10, import_jsx_runtime9, isHTML, TextOrHTML;
1335
+ var init_TextOrHTML = __esm({
1336
+ "src/components/TextOrHTML/TextOrHTML.tsx"() {
1337
+ "use strict";
1338
+ import_react10 = require("react");
1339
+ init_Text();
1340
+ import_jsx_runtime9 = require("react/jsx-runtime");
1341
+ isHTML = (text) => /^\s*<[a-z]/i.test(text);
1342
+ TextOrHTML = ({
1343
+ ref,
1344
+ text,
1345
+ htmlClassName,
1346
+ htmlElementType,
1347
+ textWrapper = false,
1348
+ autoDetect = false,
1349
+ ...textProps
1350
+ }) => {
1351
+ const textIsHTML = autoDetect && isHTML(text);
1352
+ const shouldWrapInText = autoDetect ? textWrapper || !textIsHTML : textWrapper;
1353
+ const resolvedElementType = htmlElementType ?? (textIsHTML ? "div" : "span");
1354
+ const DangerousComponent = resolvedElementType;
1355
+ const dangerousHTML = (0, import_react10.useMemo)(() => ({ __html: text }), [text]);
1356
+ const dangerousElement = /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1357
+ DangerousComponent,
1358
+ {
1359
+ className: htmlClassName,
1360
+ dangerouslySetInnerHTML: dangerousHTML
1361
+ }
1362
+ );
1363
+ if (shouldWrapInText) {
1364
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Text, { ref, ...textProps, children: dangerousElement });
1365
+ }
1366
+ return dangerousElement;
1367
+ };
1368
+ TextOrHTML.displayName = "TextOrHTML";
1369
+ }
1370
+ });
1371
+
1372
+ // src/components/TextOrHTML/index.tsx
1373
+ var init_TextOrHTML2 = __esm({
1374
+ "src/components/TextOrHTML/index.tsx"() {
1375
+ "use strict";
1376
+ init_TextOrHTML();
1377
+ }
1378
+ });
1379
+
1298
1380
  // src/components/Alert/Alert.tsx
1299
1381
  function isAlertVariant(value) {
1300
1382
  return value === "info" || value === "success" || value === "warning" || value === "error";
1301
1383
  }
1302
- var import_icons3, import_dedupe7, import_Alert, import_jsx_runtime8, Alert;
1384
+ var import_icons3, import_dedupe8, import_Alert, import_jsx_runtime10, Alert;
1303
1385
  var init_Alert = __esm({
1304
1386
  "src/components/Alert/Alert.tsx"() {
1305
1387
  "use strict";
1306
1388
  import_icons3 = require("@simplybusiness/icons");
1307
- import_dedupe7 = __toESM(require("classnames/dedupe"));
1389
+ import_dedupe8 = __toESM(require("classnames/dedupe"));
1308
1390
  init_Icon2();
1391
+ init_TextOrHTML2();
1309
1392
  import_Alert = require("@simplybusiness/mobius/src/components/Alert/Alert.css");
1310
- import_jsx_runtime8 = require("react/jsx-runtime");
1393
+ import_jsx_runtime10 = require("react/jsx-runtime");
1311
1394
  Alert = ({ ref, ...props }) => {
1312
1395
  const {
1313
1396
  elementType: Element = "div",
@@ -1320,7 +1403,7 @@ var init_Alert = __esm({
1320
1403
  if (!show) return null;
1321
1404
  const variant = variantProp && isAlertVariant(variantProp) ? variantProp : "info";
1322
1405
  const colorValue = variant === "success" ? `var(--color-valid)` : `var(--color-${variant})`;
1323
- const classes = (0, import_dedupe7.default)(
1406
+ const classes = (0, import_dedupe8.default)(
1324
1407
  "mobius",
1325
1408
  "mobius-alert",
1326
1409
  {
@@ -1338,14 +1421,23 @@ var init_Alert = __esm({
1338
1421
  warning: import_icons3.warning,
1339
1422
  error: import_icons3.error
1340
1423
  };
1341
- const headerClasses = (0, import_dedupe7.default)("mobius", "mobius-alert__header");
1342
- const iconClasses = (0, import_dedupe7.default)("mobius", "mobius-alert__icon");
1343
- const contentClasses = (0, import_dedupe7.default)("mobius", "mobius-alert__content");
1344
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(Element, { ref, role: "alert", ...otherProps, className: classes, children: [
1345
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: iconClasses, children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Icon, { icon: icon[variant], color: colorValue }) }),
1346
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { children: [
1347
- header && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("p", { className: headerClasses, children: header }),
1348
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: contentClasses, children })
1424
+ const headerClasses = (0, import_dedupe8.default)("mobius", "mobius-alert__header");
1425
+ const iconClasses = (0, import_dedupe8.default)("mobius", "mobius-alert__icon");
1426
+ const contentClasses = (0, import_dedupe8.default)("mobius", "mobius-alert__content");
1427
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(Element, { ref, role: "alert", ...otherProps, className: classes, children: [
1428
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: iconClasses, children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Icon, { icon: icon[variant], color: colorValue }) }),
1429
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { children: [
1430
+ header && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
1431
+ TextOrHTML,
1432
+ {
1433
+ autoDetect: true,
1434
+ htmlElementType: "span",
1435
+ className: headerClasses,
1436
+ htmlClassName: headerClasses,
1437
+ text: header
1438
+ }
1439
+ ),
1440
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: contentClasses, children })
1349
1441
  ] })
1350
1442
  ] });
1351
1443
  };
@@ -1362,14 +1454,14 @@ var init_Alert2 = __esm({
1362
1454
  });
1363
1455
 
1364
1456
  // src/components/Box/Box.tsx
1365
- var import_dedupe8, import_Box, import_jsx_runtime9, Box;
1457
+ var import_dedupe9, import_Box, import_jsx_runtime11, Box;
1366
1458
  var init_Box = __esm({
1367
1459
  "src/components/Box/Box.tsx"() {
1368
1460
  "use strict";
1369
- import_dedupe8 = __toESM(require("classnames/dedupe"));
1461
+ import_dedupe9 = __toESM(require("classnames/dedupe"));
1370
1462
  init_utils();
1371
1463
  import_Box = require("@simplybusiness/mobius/src/components/Box/Box.css");
1372
- import_jsx_runtime9 = require("react/jsx-runtime");
1464
+ import_jsx_runtime11 = require("react/jsx-runtime");
1373
1465
  Box = ({ ref, ...props }) => {
1374
1466
  const {
1375
1467
  elementType: Element = "div",
@@ -1395,7 +1487,7 @@ var init_Box = __esm({
1395
1487
  style,
1396
1488
  ...otherProps
1397
1489
  } = props;
1398
- const classes = (0, import_dedupe8.default)("mobius", "mobius-box", otherProps.className);
1490
+ const classes = (0, import_dedupe9.default)("mobius", "mobius-box", otherProps.className);
1399
1491
  const styleProps = filterUndefinedProps({
1400
1492
  padding: getSpacingValue(padding),
1401
1493
  paddingInline: getSpacingValue(paddingInline || paddingX),
@@ -1412,7 +1504,7 @@ var init_Box = __esm({
1412
1504
  height,
1413
1505
  ...style
1414
1506
  });
1415
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Element, { ref, style: styleProps, ...otherProps, className: classes });
1507
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Element, { ref, style: styleProps, ...otherProps, className: classes });
1416
1508
  };
1417
1509
  Box.displayName = "Box";
1418
1510
  }
@@ -1427,27 +1519,27 @@ var init_Box2 = __esm({
1427
1519
  });
1428
1520
 
1429
1521
  // src/components/Breadcrumbs/Breadcrumbs.tsx
1430
- var import_react10, import_dedupe9, import_Breadcrumbs, import_jsx_runtime10, Breadcrumbs;
1522
+ var import_react11, import_dedupe10, import_Breadcrumbs, import_jsx_runtime12, Breadcrumbs;
1431
1523
  var init_Breadcrumbs = __esm({
1432
1524
  "src/components/Breadcrumbs/Breadcrumbs.tsx"() {
1433
1525
  "use strict";
1434
1526
  "use client";
1435
- import_react10 = require("react");
1436
- import_dedupe9 = __toESM(require("classnames/dedupe"));
1527
+ import_react11 = require("react");
1528
+ import_dedupe10 = __toESM(require("classnames/dedupe"));
1437
1529
  import_Breadcrumbs = require("@simplybusiness/mobius/src/components/Breadcrumbs/Breadcrumbs.css");
1438
- import_jsx_runtime10 = require("react/jsx-runtime");
1530
+ import_jsx_runtime12 = require("react/jsx-runtime");
1439
1531
  Breadcrumbs = ({ ref, ...props }) => {
1440
1532
  const { "aria-label": ariaLabel = "Breadcrumbs" } = props;
1441
1533
  const { navProps } = { navProps: { "aria-label": ariaLabel } };
1442
1534
  const { children, ...otherProps } = props;
1443
- const childArray = import_react10.Children.toArray(children);
1444
- const classes = (0, import_dedupe9.default)(
1535
+ const childArray = import_react11.Children.toArray(children);
1536
+ const classes = (0, import_dedupe10.default)(
1445
1537
  "mobius",
1446
1538
  "mobius-breadcrumb",
1447
1539
  otherProps.className
1448
1540
  );
1449
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("nav", { ref, ...otherProps, ...navProps, className: classes, children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("ul", { children: childArray.map(
1450
- (child, i) => (0, import_react10.cloneElement)(
1541
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("nav", { ref, ...otherProps, ...navProps, className: classes, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("ul", { children: childArray.map(
1542
+ (child, i) => (0, import_react11.cloneElement)(
1451
1543
  child,
1452
1544
  {
1453
1545
  key: i,
@@ -1461,22 +1553,22 @@ var init_Breadcrumbs = __esm({
1461
1553
  });
1462
1554
 
1463
1555
  // src/components/Breadcrumbs/BreadcrumbItem.tsx
1464
- var import_react11, import_dedupe10, import_jsx_runtime11, BreadcrumbItem;
1556
+ var import_react12, import_dedupe11, import_jsx_runtime13, BreadcrumbItem;
1465
1557
  var init_BreadcrumbItem = __esm({
1466
1558
  "src/components/Breadcrumbs/BreadcrumbItem.tsx"() {
1467
1559
  "use strict";
1468
1560
  "use client";
1469
- import_react11 = require("react");
1470
- import_dedupe10 = __toESM(require("classnames/dedupe"));
1561
+ import_react12 = require("react");
1562
+ import_dedupe11 = __toESM(require("classnames/dedupe"));
1471
1563
  init_Box2();
1472
- import_jsx_runtime11 = require("react/jsx-runtime");
1564
+ import_jsx_runtime13 = require("react/jsx-runtime");
1473
1565
  BreadcrumbItem = ({ ref, ...props }) => {
1474
1566
  const {
1475
1567
  isDisabled = false,
1476
1568
  isCurrent = false,
1477
1569
  "aria-current": ariaCurrent = "page",
1478
1570
  children,
1479
- separator = /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Box, { className: "mobius-breadcrumb__separator", "aria-hidden": "true", children: ">" }),
1571
+ separator = /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Box, { className: "mobius-breadcrumb__separator", "aria-hidden": "true", children: ">" }),
1480
1572
  ...otherProps
1481
1573
  } = props;
1482
1574
  const { itemProps } = {
@@ -1486,14 +1578,14 @@ var init_BreadcrumbItem = __esm({
1486
1578
  ...otherProps
1487
1579
  }
1488
1580
  };
1489
- const classes = (0, import_dedupe10.default)(
1581
+ const classes = (0, import_dedupe11.default)(
1490
1582
  "mobius",
1491
1583
  "mobius-breadcrumb__item",
1492
1584
  props.className
1493
1585
  );
1494
- const child = typeof children === "string" ? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { ...itemProps, children }) : import_react11.Children.only(children);
1495
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("li", { className: classes, children: [
1496
- (0, import_react11.cloneElement)(child, {
1586
+ const child = typeof children === "string" ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { ...itemProps, children }) : import_react12.Children.only(children);
1587
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("li", { className: classes, children: [
1588
+ (0, import_react12.cloneElement)(child, {
1497
1589
  ...child.props,
1498
1590
  ...itemProps,
1499
1591
  ref
@@ -1522,7 +1614,7 @@ function VisuallyHidden(props) {
1522
1614
  elementType: Component = "div",
1523
1615
  ...otherProps
1524
1616
  } = props;
1525
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1617
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1526
1618
  Component,
1527
1619
  {
1528
1620
  className,
@@ -1543,11 +1635,11 @@ function VisuallyHidden(props) {
1543
1635
  }
1544
1636
  );
1545
1637
  }
1546
- var import_jsx_runtime12;
1638
+ var import_jsx_runtime14;
1547
1639
  var init_VisuallyHidden = __esm({
1548
1640
  "src/components/VisuallyHidden/VisuallyHidden.tsx"() {
1549
1641
  "use strict";
1550
- import_jsx_runtime12 = require("react/jsx-runtime");
1642
+ import_jsx_runtime14 = require("react/jsx-runtime");
1551
1643
  }
1552
1644
  });
1553
1645
 
@@ -1560,19 +1652,19 @@ var init_VisuallyHidden2 = __esm({
1560
1652
  });
1561
1653
 
1562
1654
  // src/components/Button/Loading.tsx
1563
- var import_icons4, import_jsx_runtime13, Loading;
1655
+ var import_icons4, import_jsx_runtime15, Loading;
1564
1656
  var init_Loading = __esm({
1565
1657
  "src/components/Button/Loading.tsx"() {
1566
1658
  "use strict";
1567
1659
  import_icons4 = require("@simplybusiness/icons");
1568
1660
  init_Icon2();
1569
1661
  init_VisuallyHidden2();
1570
- import_jsx_runtime13 = require("react/jsx-runtime");
1662
+ import_jsx_runtime15 = require("react/jsx-runtime");
1571
1663
  Loading = (props) => {
1572
1664
  const { children } = props;
1573
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_jsx_runtime13.Fragment, { children: [
1574
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "mobius-button__icon-wrapper", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Icon, { icon: import_icons4.loading, spin: true, size: "md" }) }),
1575
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(VisuallyHidden, { className: "mobius-button__loading-text", children: "Loading" }),
1665
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(import_jsx_runtime15.Fragment, { children: [
1666
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: "mobius-button__icon-wrapper", children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Icon, { icon: import_icons4.loading, spin: true, size: "md" }) }),
1667
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(VisuallyHidden, { className: "mobius-button__loading-text", children: "Loading" }),
1576
1668
  children
1577
1669
  ] });
1578
1670
  };
@@ -1580,33 +1672,33 @@ var init_Loading = __esm({
1580
1672
  });
1581
1673
 
1582
1674
  // src/components/Button/Success.tsx
1583
- var import_icons5, import_jsx_runtime14, Success;
1675
+ var import_icons5, import_jsx_runtime16, Success;
1584
1676
  var init_Success = __esm({
1585
1677
  "src/components/Button/Success.tsx"() {
1586
1678
  "use strict";
1587
1679
  import_icons5 = require("@simplybusiness/icons");
1588
1680
  init_Icon2();
1589
1681
  init_VisuallyHidden2();
1590
- import_jsx_runtime14 = require("react/jsx-runtime");
1591
- Success = () => /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(import_jsx_runtime14.Fragment, { children: [
1592
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "mobius-button__icon-wrapper", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Icon, { icon: import_icons5.tick, size: "md" }) }),
1593
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(VisuallyHidden, { className: "mobius-button__success-text", children: "Success" })
1682
+ import_jsx_runtime16 = require("react/jsx-runtime");
1683
+ Success = () => /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(import_jsx_runtime16.Fragment, { children: [
1684
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "mobius-button__icon-wrapper", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Icon, { icon: import_icons5.tick, size: "md" }) }),
1685
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(VisuallyHidden, { className: "mobius-button__success-text", children: "Success" })
1594
1686
  ] });
1595
1687
  }
1596
1688
  });
1597
1689
 
1598
1690
  // src/components/Button/Button.tsx
1599
- var import_dedupe11, import_Button, import_jsx_runtime15, Button;
1691
+ var import_dedupe12, import_Button, import_jsx_runtime17, Button;
1600
1692
  var init_Button = __esm({
1601
1693
  "src/components/Button/Button.tsx"() {
1602
1694
  "use strict";
1603
1695
  "use client";
1604
- import_dedupe11 = __toESM(require("classnames/dedupe"));
1696
+ import_dedupe12 = __toESM(require("classnames/dedupe"));
1605
1697
  init_Loading();
1606
1698
  init_useButton2();
1607
1699
  init_Success();
1608
1700
  import_Button = require("@simplybusiness/mobius/src/components/Button/Button.css");
1609
- import_jsx_runtime15 = require("react/jsx-runtime");
1701
+ import_jsx_runtime17 = require("react/jsx-runtime");
1610
1702
  Button = ({ ref, ...props }) => {
1611
1703
  const {
1612
1704
  children,
@@ -1621,7 +1713,7 @@ var init_Button = __esm({
1621
1713
  ...otherProps
1622
1714
  } = props;
1623
1715
  const { buttonProps } = useButton(props);
1624
- otherProps.className = (0, import_dedupe11.default)(
1716
+ otherProps.className = (0, import_dedupe12.default)(
1625
1717
  "mobius",
1626
1718
  "mobius-button",
1627
1719
  `--variant-${variant}`,
@@ -1633,9 +1725,9 @@ var init_Button = __esm({
1633
1725
  },
1634
1726
  otherProps.className
1635
1727
  );
1636
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(Component, { ref, ...buttonProps, ...otherProps, children: [
1637
- isLoading ? /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Loading, { children }) : children,
1638
- isSuccess && !isLoading && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Success, {})
1728
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(Component, { ref, ...buttonProps, ...otherProps, children: [
1729
+ isLoading ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Loading, { children }) : children,
1730
+ isSuccess && !isLoading && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Success, {})
1639
1731
  ] });
1640
1732
  };
1641
1733
  Button.displayName = "Button";
@@ -1651,16 +1743,16 @@ var init_Button2 = __esm({
1651
1743
  });
1652
1744
 
1653
1745
  // src/components/Stack/Stack.tsx
1654
- var import_dedupe12, import_Stack, import_jsx_runtime16, Stack;
1746
+ var import_dedupe13, import_Stack, import_jsx_runtime18, Stack;
1655
1747
  var init_Stack = __esm({
1656
1748
  "src/components/Stack/Stack.tsx"() {
1657
1749
  "use strict";
1658
- import_dedupe12 = __toESM(require("classnames/dedupe"));
1750
+ import_dedupe13 = __toESM(require("classnames/dedupe"));
1659
1751
  import_Stack = require("@simplybusiness/mobius/src/components/Stack/Stack.css");
1660
- import_jsx_runtime16 = require("react/jsx-runtime");
1752
+ import_jsx_runtime18 = require("react/jsx-runtime");
1661
1753
  Stack = ({ ref, ...props }) => {
1662
1754
  const { elementType: Element = "div", gap, ...otherProps } = props;
1663
- const classes = (0, import_dedupe12.default)(
1755
+ const classes = (0, import_dedupe13.default)(
1664
1756
  "mobius",
1665
1757
  "mobius-stack",
1666
1758
  {
@@ -1668,7 +1760,7 @@ var init_Stack = __esm({
1668
1760
  },
1669
1761
  otherProps.className
1670
1762
  );
1671
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Element, { ref, ...otherProps, className: classes });
1763
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Element, { ref, ...otherProps, className: classes });
1672
1764
  };
1673
1765
  Stack.displayName = "Stack";
1674
1766
  }
@@ -1683,13 +1775,13 @@ var init_Stack2 = __esm({
1683
1775
  });
1684
1776
 
1685
1777
  // src/components/Checkbox/Checkbox.tsx
1686
- var import_react12, import_dedupe13, import_icons6, import_Checkbox, import_jsx_runtime17, Checkbox;
1778
+ var import_react13, import_dedupe14, import_icons6, import_Checkbox, import_jsx_runtime19, Checkbox;
1687
1779
  var init_Checkbox = __esm({
1688
1780
  "src/components/Checkbox/Checkbox.tsx"() {
1689
1781
  "use strict";
1690
1782
  "use client";
1691
- import_react12 = require("react");
1692
- import_dedupe13 = __toESM(require("classnames/dedupe"));
1783
+ import_react13 = require("react");
1784
+ import_dedupe14 = __toESM(require("classnames/dedupe"));
1693
1785
  import_icons6 = require("@simplybusiness/icons");
1694
1786
  init_ErrorMessage2();
1695
1787
  init_spaceDelimitedList();
@@ -1697,7 +1789,7 @@ var init_Checkbox = __esm({
1697
1789
  init_Icon2();
1698
1790
  init_Stack2();
1699
1791
  import_Checkbox = require("@simplybusiness/mobius/src/components/Checkbox/Checkbox.css");
1700
- import_jsx_runtime17 = require("react/jsx-runtime");
1792
+ import_jsx_runtime19 = require("react/jsx-runtime");
1701
1793
  Checkbox = ({ ref, ...props }) => {
1702
1794
  const {
1703
1795
  id,
@@ -1717,18 +1809,18 @@ var init_Checkbox = __esm({
1717
1809
  ["aria-describedby"]: ariaDescribedBy,
1718
1810
  ...rest
1719
1811
  } = props;
1720
- const [checked, setChecked] = (0, import_react12.useState)(defaultSelected);
1721
- const fallbackRef = (0, import_react12.useRef)(null);
1812
+ const [checked, setChecked] = (0, import_react13.useState)(defaultSelected);
1813
+ const fallbackRef = (0, import_react13.useRef)(null);
1722
1814
  const refObj = ref || fallbackRef;
1723
- const inputId = (0, import_react12.useId)();
1815
+ const inputId = (0, import_react13.useId)();
1724
1816
  const isControlled = typeof selected === "boolean";
1725
- (0, import_react12.useEffect)(() => {
1817
+ (0, import_react13.useEffect)(() => {
1726
1818
  if (isControlled) {
1727
1819
  setChecked(selected);
1728
1820
  }
1729
1821
  }, [selected, isControlled]);
1730
1822
  const validationClasses = useValidationClasses({ isInvalid });
1731
- const sharedClasses = (0, import_dedupe13.default)(
1823
+ const sharedClasses = (0, import_dedupe14.default)(
1732
1824
  {
1733
1825
  "--is-disabled": isDisabled,
1734
1826
  "--is-selected": checked,
@@ -1737,31 +1829,31 @@ var init_Checkbox = __esm({
1737
1829
  },
1738
1830
  validationClasses
1739
1831
  );
1740
- const wrapperClasses = (0, import_dedupe13.default)(
1832
+ const wrapperClasses = (0, import_dedupe14.default)(
1741
1833
  "mobius",
1742
1834
  "mobius-checkbox",
1743
1835
  sharedClasses,
1744
1836
  className
1745
1837
  );
1746
- const labelClasses = (0, import_dedupe13.default)("mobius-checkbox__label", sharedClasses);
1747
- const inputClasses = (0, import_dedupe13.default)("mobius-checkbox__input", sharedClasses);
1748
- const iconClasses = (0, import_dedupe13.default)("mobius-checkbox__icon", sharedClasses);
1749
- const errorMessageId = (0, import_react12.useId)();
1838
+ const labelClasses = (0, import_dedupe14.default)("mobius-checkbox__label", sharedClasses);
1839
+ const inputClasses = (0, import_dedupe14.default)("mobius-checkbox__input", sharedClasses);
1840
+ const iconClasses = (0, import_dedupe14.default)("mobius-checkbox__icon", sharedClasses);
1841
+ const errorMessageId = (0, import_react13.useId)();
1750
1842
  const shouldErrorMessageShow = errorMessage ? errorMessageId : void 0;
1751
1843
  const describedBy = spaceDelimitedList([
1752
1844
  shouldErrorMessageShow,
1753
1845
  ariaDescribedBy
1754
1846
  ]);
1755
- const labelId = (0, import_react12.useId)();
1847
+ const labelId = (0, import_react13.useId)();
1756
1848
  const handleChange = (event) => {
1757
1849
  setChecked(!checked);
1758
1850
  if (onChange) {
1759
1851
  onChange(event, isLastItem);
1760
1852
  }
1761
1853
  };
1762
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(Stack, { gap: "xs", className: wrapperClasses, children: [
1763
- /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("label", { className: labelClasses, children: [
1764
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1854
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(Stack, { gap: "xs", className: wrapperClasses, children: [
1855
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("label", { className: labelClasses, children: [
1856
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1765
1857
  "input",
1766
1858
  {
1767
1859
  "aria-describedby": describedBy,
@@ -1782,7 +1874,7 @@ var init_Checkbox = __esm({
1782
1874
  ...rest
1783
1875
  }
1784
1876
  ),
1785
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1877
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1786
1878
  Icon,
1787
1879
  {
1788
1880
  icon: checked ? import_icons6.squareTick : import_icons6.square,
@@ -1790,9 +1882,9 @@ var init_Checkbox = __esm({
1790
1882
  className: iconClasses
1791
1883
  }
1792
1884
  ),
1793
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { id: labelId, className: "mobius-checkbox__visible-label", children: label })
1885
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("span", { id: labelId, className: "mobius-checkbox__visible-label", children: label })
1794
1886
  ] }),
1795
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(ErrorMessage, { id: errorMessageId, errorMessage })
1887
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(ErrorMessage, { id: errorMessageId, errorMessage })
1796
1888
  ] });
1797
1889
  };
1798
1890
  Checkbox.displayName = "Checkbox";
@@ -1800,18 +1892,18 @@ var init_Checkbox = __esm({
1800
1892
  });
1801
1893
 
1802
1894
  // src/components/Label/Label.tsx
1803
- var import_dedupe14, import_Label, import_jsx_runtime18, Label;
1895
+ var import_dedupe15, import_Label, import_jsx_runtime20, Label;
1804
1896
  var init_Label = __esm({
1805
1897
  "src/components/Label/Label.tsx"() {
1806
1898
  "use strict";
1807
- import_dedupe14 = __toESM(require("classnames/dedupe"));
1899
+ import_dedupe15 = __toESM(require("classnames/dedupe"));
1808
1900
  import_Label = require("@simplybusiness/mobius/src/components/Label/Label.css");
1809
- import_jsx_runtime18 = require("react/jsx-runtime");
1901
+ import_jsx_runtime20 = require("react/jsx-runtime");
1810
1902
  Label = ({ ref, ...props }) => {
1811
1903
  const { elementType: Element = "label", children, ...otherProps } = props;
1812
- const classes = (0, import_dedupe14.default)("mobius", "mobius-label", props.className);
1904
+ const classes = (0, import_dedupe15.default)("mobius", "mobius-label", props.className);
1813
1905
  otherProps.className = classes;
1814
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Element, { ref, ...otherProps, className: classes, children });
1906
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Element, { ref, ...otherProps, className: classes, children });
1815
1907
  };
1816
1908
  Label.displayName = "Label";
1817
1909
  }
@@ -1826,20 +1918,20 @@ var init_Label2 = __esm({
1826
1918
  });
1827
1919
 
1828
1920
  // src/components/Checkbox/CheckboxGroup.tsx
1829
- var import_dedupe15, import_react13, import_CheckboxGroup, import_jsx_runtime19, CheckboxGroup;
1921
+ var import_dedupe16, import_react14, import_CheckboxGroup, import_jsx_runtime21, CheckboxGroup;
1830
1922
  var init_CheckboxGroup = __esm({
1831
1923
  "src/components/Checkbox/CheckboxGroup.tsx"() {
1832
1924
  "use strict";
1833
1925
  "use client";
1834
- import_dedupe15 = __toESM(require("classnames/dedupe"));
1835
- import_react13 = require("react");
1926
+ import_dedupe16 = __toESM(require("classnames/dedupe"));
1927
+ import_react14 = require("react");
1836
1928
  init_hooks();
1837
1929
  init_spaceDelimitedList();
1838
1930
  init_ErrorMessage2();
1839
1931
  init_Label2();
1840
1932
  init_Checkbox();
1841
1933
  import_CheckboxGroup = require("@simplybusiness/mobius/src/components/Checkbox/CheckboxGroup.css");
1842
- import_jsx_runtime19 = require("react/jsx-runtime");
1934
+ import_jsx_runtime21 = require("react/jsx-runtime");
1843
1935
  CheckboxGroup = ({ ref, ...props }) => {
1844
1936
  const {
1845
1937
  label,
@@ -1857,10 +1949,10 @@ var init_CheckboxGroup = __esm({
1857
1949
  lastItemDisables = false,
1858
1950
  ...rest
1859
1951
  } = props;
1860
- const [selected, setSelected] = (0, import_react13.useState)(defaultValue);
1861
- const isInitializedRef = (0, import_react13.useRef)(false);
1862
- const prevDefaultValueRef = (0, import_react13.useRef)(defaultValue);
1863
- (0, import_react13.useEffect)(() => {
1952
+ const [selected, setSelected] = (0, import_react14.useState)(defaultValue);
1953
+ const isInitializedRef = (0, import_react14.useRef)(false);
1954
+ const prevDefaultValueRef = (0, import_react14.useRef)(defaultValue);
1955
+ (0, import_react14.useEffect)(() => {
1864
1956
  const hasChanged = defaultValue.length !== prevDefaultValueRef.current.length || defaultValue.some(
1865
1957
  (val, index) => val !== prevDefaultValueRef.current[index]
1866
1958
  );
@@ -1870,7 +1962,7 @@ var init_CheckboxGroup = __esm({
1870
1962
  isInitializedRef.current = true;
1871
1963
  }
1872
1964
  }, [defaultValue]);
1873
- const checkboxGroupClasses = (0, import_dedupe15.default)(
1965
+ const checkboxGroupClasses = (0, import_dedupe16.default)(
1874
1966
  "mobius",
1875
1967
  "mobius-checkbox-group",
1876
1968
  className,
@@ -1882,19 +1974,19 @@ var init_CheckboxGroup = __esm({
1882
1974
  }
1883
1975
  );
1884
1976
  const validationClasses = useValidationClasses({ isInvalid });
1885
- const labelClasses = (0, import_dedupe15.default)(
1977
+ const labelClasses = (0, import_dedupe16.default)(
1886
1978
  {
1887
1979
  "--is-disabled": isDisabled
1888
1980
  },
1889
1981
  validationClasses
1890
1982
  );
1891
- const errorMessageId = (0, import_react13.useId)();
1983
+ const errorMessageId = (0, import_react14.useId)();
1892
1984
  const shouldErrorMessageShow = errorMessage ? errorMessageId : void 0;
1893
1985
  const describedBy = spaceDelimitedList([
1894
1986
  shouldErrorMessageShow,
1895
1987
  props["aria-describedby"]
1896
1988
  ]);
1897
- const labelId = (0, import_react13.useId)();
1989
+ const labelId = (0, import_react14.useId)();
1898
1990
  const handleChange = (event, isLastItem = false) => {
1899
1991
  const {
1900
1992
  target: { value, checked }
@@ -1912,12 +2004,12 @@ var init_CheckboxGroup = __esm({
1912
2004
  setSelected(newValue);
1913
2005
  onChange?.(newValue);
1914
2006
  };
1915
- const childrenArray = import_react13.Children.toArray(children);
2007
+ const childrenArray = import_react14.Children.toArray(children);
1916
2008
  const lastCheckbox = childrenArray.filter(
1917
- (child) => (0, import_react13.isValidElement)(child) && child.type === Checkbox
2009
+ (child) => (0, import_react14.isValidElement)(child) && child.type === Checkbox
1918
2010
  ).pop();
1919
2011
  const lastCheckboxIsChecked = lastCheckbox && selected.includes(lastCheckbox.props.value);
1920
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
2012
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
1921
2013
  "div",
1922
2014
  {
1923
2015
  ...rest,
@@ -1926,16 +2018,16 @@ var init_CheckboxGroup = __esm({
1926
2018
  className: checkboxGroupClasses,
1927
2019
  role: "group",
1928
2020
  style: {
1929
- "--checkbox-items-per-row": itemsPerRow || import_react13.Children.count(children)
2021
+ "--checkbox-items-per-row": itemsPerRow || import_react14.Children.count(children)
1930
2022
  },
1931
2023
  children: [
1932
- label && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Label, { elementType: "span", id: labelId, className: labelClasses, children: label }),
1933
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "mobius-checkbox-group__wrapper", children: childrenArray.map((child) => {
1934
- if ((0, import_react13.isValidElement)(child)) {
2024
+ label && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Label, { elementType: "span", id: labelId, className: labelClasses, children: label }),
2025
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: "mobius-checkbox-group__wrapper", children: childrenArray.map((child) => {
2026
+ if ((0, import_react14.isValidElement)(child)) {
1935
2027
  const isLastItem = child === lastCheckbox;
1936
2028
  const isChildDisabled = isDisabled || lastItemDisables && lastCheckboxIsChecked && !isLastItem;
1937
2029
  const childProps = child.props;
1938
- return (0, import_react13.cloneElement)(
2030
+ return (0, import_react14.cloneElement)(
1939
2031
  child,
1940
2032
  {
1941
2033
  isDisabled: isChildDisabled,
@@ -1951,7 +2043,7 @@ var init_CheckboxGroup = __esm({
1951
2043
  }
1952
2044
  return child;
1953
2045
  }) }),
1954
- errorMessage && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(ErrorMessage, { id: errorMessageId, errorMessage })
2046
+ errorMessage && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(ErrorMessage, { id: errorMessageId, errorMessage })
1955
2047
  ]
1956
2048
  }
1957
2049
  );
@@ -1978,23 +2070,23 @@ var init_Checkbox2 = __esm({
1978
2070
  });
1979
2071
 
1980
2072
  // src/components/Container/Container.tsx
1981
- var import_dedupe16, import_Container, import_jsx_runtime20, Container;
2073
+ var import_dedupe17, import_Container, import_jsx_runtime22, Container;
1982
2074
  var init_Container = __esm({
1983
2075
  "src/components/Container/Container.tsx"() {
1984
2076
  "use strict";
1985
- import_dedupe16 = __toESM(require("classnames/dedupe"));
2077
+ import_dedupe17 = __toESM(require("classnames/dedupe"));
1986
2078
  init_utils();
1987
2079
  import_Container = require("@simplybusiness/mobius/src/components/Container/Container.css");
1988
- import_jsx_runtime20 = require("react/jsx-runtime");
2080
+ import_jsx_runtime22 = require("react/jsx-runtime");
1989
2081
  Container = ({ ref, ...props }) => {
1990
2082
  const { elementType: Element = "div", size = "md", ...otherProps } = props;
1991
- const classes = (0, import_dedupe16.default)(
2083
+ const classes = (0, import_dedupe17.default)(
1992
2084
  "mobius",
1993
2085
  "mobius-container",
1994
2086
  sizeClasses(size),
1995
2087
  otherProps.className
1996
2088
  );
1997
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Element, { ref, ...otherProps, className: classes });
2089
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Element, { ref, ...otherProps, className: classes });
1998
2090
  };
1999
2091
  Container.displayName = "Container";
2000
2092
  }
@@ -2047,17 +2139,17 @@ var init_validation = __esm({
2047
2139
  });
2048
2140
 
2049
2141
  // src/components/DateField/DateField.tsx
2050
- var import_dedupe17, import_react14, import_jsx_runtime21, MIN_MAX_ERROR, DateField;
2142
+ var import_dedupe18, import_react15, import_jsx_runtime23, MIN_MAX_ERROR, DateField;
2051
2143
  var init_DateField = __esm({
2052
2144
  "src/components/DateField/DateField.tsx"() {
2053
2145
  "use strict";
2054
2146
  "use client";
2055
- import_dedupe17 = __toESM(require("classnames/dedupe"));
2056
- import_react14 = require("react");
2147
+ import_dedupe18 = __toESM(require("classnames/dedupe"));
2148
+ import_react15 = require("react");
2057
2149
  init_mergeRefs();
2058
2150
  init_TextField2();
2059
2151
  init_validation();
2060
- import_jsx_runtime21 = require("react/jsx-runtime");
2152
+ import_jsx_runtime23 = require("react/jsx-runtime");
2061
2153
  MIN_MAX_ERROR = '"min" value should not be greater than "max" value.';
2062
2154
  DateField = ({ ref, ...props }) => {
2063
2155
  const {
@@ -2070,10 +2162,10 @@ var init_DateField = __esm({
2070
2162
  value,
2071
2163
  ...otherProps
2072
2164
  } = props;
2073
- const [error3, setError] = (0, import_react14.useState)(errorMessage);
2074
- const [isInvalid, setIsInvalid] = (0, import_react14.useState)(void 0);
2075
- const localRef = (0, import_react14.useRef)(null);
2076
- const classes = (0, import_dedupe17.default)("mobius-date-field", className);
2165
+ const [error3, setError] = (0, import_react15.useState)(errorMessage);
2166
+ const [isInvalid, setIsInvalid] = (0, import_react15.useState)(void 0);
2167
+ const localRef = (0, import_react15.useRef)(null);
2168
+ const classes = (0, import_dedupe18.default)("mobius-date-field", className);
2077
2169
  const formattedMin = min ? convertToDateFormat(min, format) : void 0;
2078
2170
  const formattedMax = max ? convertToDateFormat(max, format) : void 0;
2079
2171
  const formattedDefaultValue = defaultValue ? convertToDateFormat(defaultValue, format) : void 0;
@@ -2086,7 +2178,7 @@ var init_DateField = __esm({
2086
2178
  setError(props.errorMessage);
2087
2179
  setIsInvalid(false);
2088
2180
  };
2089
- (0, import_react14.useEffect)(() => {
2181
+ (0, import_react15.useEffect)(() => {
2090
2182
  if (!isValidDate(min, format)) {
2091
2183
  setInvalidState(`Invalid min date: ${min}`);
2092
2184
  return;
@@ -2119,7 +2211,7 @@ var init_DateField = __esm({
2119
2211
  validate();
2120
2212
  otherProps.onBlur?.(event);
2121
2213
  };
2122
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
2214
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
2123
2215
  TextField,
2124
2216
  {
2125
2217
  ref: mergeRefs([localRef, ref]),
@@ -2150,23 +2242,23 @@ var init_DateField2 = __esm({
2150
2242
  });
2151
2243
 
2152
2244
  // src/components/Drawer/Content.tsx
2153
- var import_jsx_runtime22, Content;
2245
+ var import_jsx_runtime24, Content;
2154
2246
  var init_Content = __esm({
2155
2247
  "src/components/Drawer/Content.tsx"() {
2156
2248
  "use strict";
2157
- import_jsx_runtime22 = require("react/jsx-runtime");
2158
- Content = ({ ref, children, ...otherProps }) => /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { ref, ...otherProps, className: "mobius-drawer__content", children });
2249
+ import_jsx_runtime24 = require("react/jsx-runtime");
2250
+ Content = ({ ref, children, ...otherProps }) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { ref, ...otherProps, className: "mobius-drawer__content", children });
2159
2251
  Content.displayName = "Content";
2160
2252
  }
2161
2253
  });
2162
2254
 
2163
2255
  // src/components/Drawer/DrawerContext.tsx
2164
- var import_react15, DrawerContext;
2256
+ var import_react16, DrawerContext;
2165
2257
  var init_DrawerContext = __esm({
2166
2258
  "src/components/Drawer/DrawerContext.tsx"() {
2167
2259
  "use strict";
2168
- import_react15 = require("react");
2169
- DrawerContext = (0, import_react15.createContext)({
2260
+ import_react16 = require("react");
2261
+ DrawerContext = (0, import_react16.createContext)({
2170
2262
  onClose: () => {
2171
2263
  },
2172
2264
  closeLabel: void 0,
@@ -2176,19 +2268,19 @@ var init_DrawerContext = __esm({
2176
2268
  });
2177
2269
 
2178
2270
  // src/components/Drawer/Drawer.tsx
2179
- var import_dedupe18, import_react16, import_Drawer, import_jsx_runtime23, TRANSITION_CSS_VARIABLE, Drawer;
2271
+ var import_dedupe19, import_react17, import_Drawer, import_jsx_runtime25, TRANSITION_CSS_VARIABLE, Drawer;
2180
2272
  var init_Drawer = __esm({
2181
2273
  "src/components/Drawer/Drawer.tsx"() {
2182
2274
  "use strict";
2183
2275
  "use client";
2184
- import_dedupe18 = __toESM(require("classnames/dedupe"));
2185
- import_react16 = require("react");
2276
+ import_dedupe19 = __toESM(require("classnames/dedupe"));
2277
+ import_react17 = require("react");
2186
2278
  init_hooks();
2187
2279
  init_utils();
2188
2280
  init_VisuallyHidden2();
2189
2281
  init_DrawerContext();
2190
2282
  import_Drawer = require("@simplybusiness/mobius/src/components/Drawer/Drawer.css");
2191
- import_jsx_runtime23 = require("react/jsx-runtime");
2283
+ import_jsx_runtime25 = require("react/jsx-runtime");
2192
2284
  TRANSITION_CSS_VARIABLE = "--drawer-transition-duration";
2193
2285
  Drawer = ({ ref, ...props }) => {
2194
2286
  const {
@@ -2201,8 +2293,8 @@ var init_Drawer = __esm({
2201
2293
  onClose,
2202
2294
  children
2203
2295
  } = props;
2204
- const dialogRef = (0, import_react16.useRef)(null);
2205
- const [shouldTransition, setShouldTransition] = (0, import_react16.useState)(false);
2296
+ const dialogRef = (0, import_react17.useRef)(null);
2297
+ const [shouldTransition, setShouldTransition] = (0, import_react17.useState)(false);
2206
2298
  const { close } = useDialog({
2207
2299
  ref: dialogRef,
2208
2300
  isOpen,
@@ -2213,9 +2305,9 @@ var init_Drawer = __esm({
2213
2305
  CSSVariable: TRANSITION_CSS_VARIABLE
2214
2306
  }
2215
2307
  });
2216
- const hiddenId = `dialog-screen-reader-announce-${(0, import_react16.useId)()}`;
2217
- const headerId = `dialog-header-${(0, import_react16.useId)()}`;
2218
- const dialogClasses = (0, import_dedupe18.default)(
2308
+ const hiddenId = `dialog-screen-reader-announce-${(0, import_react17.useId)()}`;
2309
+ const headerId = `dialog-header-${(0, import_react17.useId)()}`;
2310
+ const dialogClasses = (0, import_dedupe19.default)(
2219
2311
  "mobius",
2220
2312
  "mobius-drawer",
2221
2313
  `--${direction}`,
@@ -2224,10 +2316,10 @@ var init_Drawer = __esm({
2224
2316
  "--should-transition": shouldTransition
2225
2317
  }
2226
2318
  );
2227
- (0, import_react16.useEffect)(() => {
2319
+ (0, import_react17.useEffect)(() => {
2228
2320
  setShouldTransition(supportsDialog());
2229
2321
  }, []);
2230
- const contextValue = (0, import_react16.useMemo)(
2322
+ const contextValue = (0, import_react17.useMemo)(
2231
2323
  () => ({
2232
2324
  onClose: close,
2233
2325
  closeLabel,
@@ -2235,18 +2327,18 @@ var init_Drawer = __esm({
2235
2327
  }),
2236
2328
  [close, closeLabel, headerId]
2237
2329
  );
2238
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
2330
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
2239
2331
  "dialog",
2240
2332
  {
2241
- id: (0, import_react16.useId)(),
2333
+ id: (0, import_react17.useId)(),
2242
2334
  ref: mergeRefs([dialogRef, ref]),
2243
2335
  onCancel: close,
2244
2336
  className: dialogClasses,
2245
2337
  "aria-describedby": hiddenId,
2246
2338
  "aria-labelledby": headerId,
2247
2339
  children: [
2248
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(VisuallyHidden, { children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { id: hiddenId, children: announce }) }),
2249
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(DrawerContext.Provider, { value: contextValue, children })
2340
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(VisuallyHidden, { children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { id: hiddenId, children: announce }) }),
2341
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(DrawerContext.Provider, { value: contextValue, children })
2250
2342
  ]
2251
2343
  }
2252
2344
  );
@@ -2256,21 +2348,21 @@ var init_Drawer = __esm({
2256
2348
  });
2257
2349
 
2258
2350
  // src/components/Drawer/useDrawer.ts
2259
- var import_react17, useDrawer;
2351
+ var import_react18, useDrawer;
2260
2352
  var init_useDrawer = __esm({
2261
2353
  "src/components/Drawer/useDrawer.ts"() {
2262
2354
  "use strict";
2263
- import_react17 = require("react");
2355
+ import_react18 = require("react");
2264
2356
  init_DrawerContext();
2265
2357
  useDrawer = () => {
2266
- const { onClose, closeLabel, headerId } = (0, import_react17.useContext)(DrawerContext);
2358
+ const { onClose, closeLabel, headerId } = (0, import_react18.useContext)(DrawerContext);
2267
2359
  return { onClose, closeLabel, headerId };
2268
2360
  };
2269
2361
  }
2270
2362
  });
2271
2363
 
2272
2364
  // src/components/Drawer/Header.tsx
2273
- var import_icons7, import_jsx_runtime24, Header;
2365
+ var import_icons7, import_jsx_runtime26, Header;
2274
2366
  var init_Header = __esm({
2275
2367
  "src/components/Drawer/Header.tsx"() {
2276
2368
  "use strict";
@@ -2278,12 +2370,12 @@ var init_Header = __esm({
2278
2370
  init_Button2();
2279
2371
  init_Icon2();
2280
2372
  init_useDrawer();
2281
- import_jsx_runtime24 = require("react/jsx-runtime");
2373
+ import_jsx_runtime26 = require("react/jsx-runtime");
2282
2374
  Header = ({ ref, children, ...otherProps }) => {
2283
2375
  const { onClose, closeLabel, headerId } = useDrawer();
2284
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("header", { ref, ...otherProps, className: "mobius-drawer__header", children: [
2285
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("h2", { id: headerId, children }),
2286
- /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
2376
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("header", { ref, ...otherProps, className: "mobius-drawer__header", children: [
2377
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("h2", { id: headerId, children }),
2378
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
2287
2379
  Button,
2288
2380
  {
2289
2381
  "aria-label": "Close",
@@ -2292,7 +2384,7 @@ var init_Header = __esm({
2292
2384
  className: "mobius-drawer__close",
2293
2385
  size: "sm",
2294
2386
  children: [
2295
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Icon, { icon: import_icons7.cross }),
2387
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Icon, { icon: import_icons7.cross }),
2296
2388
  " ",
2297
2389
  closeLabel
2298
2390
  ]
@@ -2321,17 +2413,17 @@ var init_Drawer2 = __esm({
2321
2413
  });
2322
2414
 
2323
2415
  // src/components/DropdownMenu/DropdownMenu.tsx
2324
- var import_react18, import_react_accessible_dropdown_menu_hook, import_dedupe19, import_DropdownMenu, import_jsx_runtime25, DropdownMenu;
2416
+ var import_react19, import_react_accessible_dropdown_menu_hook, import_dedupe20, import_DropdownMenu, import_jsx_runtime27, DropdownMenu;
2325
2417
  var init_DropdownMenu = __esm({
2326
2418
  "src/components/DropdownMenu/DropdownMenu.tsx"() {
2327
2419
  "use strict";
2328
2420
  "use client";
2329
- import_react18 = require("react");
2421
+ import_react19 = require("react");
2330
2422
  import_react_accessible_dropdown_menu_hook = __toESM(require("react-accessible-dropdown-menu-hook"));
2331
- import_dedupe19 = __toESM(require("classnames/dedupe"));
2423
+ import_dedupe20 = __toESM(require("classnames/dedupe"));
2332
2424
  init_Button2();
2333
2425
  import_DropdownMenu = require("@simplybusiness/mobius/src/components/DropdownMenu/DropdownMenu.css");
2334
- import_jsx_runtime25 = require("react/jsx-runtime");
2426
+ import_jsx_runtime27 = require("react/jsx-runtime");
2335
2427
  DropdownMenu = ({ ref, ...props }) => {
2336
2428
  const {
2337
2429
  elementType: Element = "nav",
@@ -2340,21 +2432,21 @@ var init_DropdownMenu = __esm({
2340
2432
  children,
2341
2433
  ...otherProps
2342
2434
  } = props;
2343
- const [activeId, setActiveId] = (0, import_react18.useState)(null);
2344
- const numberOfItems = import_react18.Children.count(children);
2435
+ const [activeId, setActiveId] = (0, import_react19.useState)(null);
2436
+ const numberOfItems = import_react19.Children.count(children);
2345
2437
  const {
2346
2438
  buttonProps,
2347
2439
  itemProps,
2348
2440
  isOpen: open,
2349
2441
  setIsOpen
2350
2442
  } = (0, import_react_accessible_dropdown_menu_hook.default)(numberOfItems);
2351
- const classes = (0, import_dedupe19.default)(
2443
+ const classes = (0, import_dedupe20.default)(
2352
2444
  "mobius",
2353
2445
  "mobius-dropdown-menu",
2354
2446
  otherProps.className
2355
2447
  );
2356
- const triggerClasses = (0, import_dedupe19.default)("mobius", "mobius-dropdown-menu__trigger");
2357
- const listClasses = (0, import_dedupe19.default)("mobius", "mobius-dropdown-menu__list", {
2448
+ const triggerClasses = (0, import_dedupe20.default)("mobius", "mobius-dropdown-menu__trigger");
2449
+ const listClasses = (0, import_dedupe20.default)("mobius", "mobius-dropdown-menu__list", {
2358
2450
  "--is-open": open
2359
2451
  });
2360
2452
  const handleChildClick = ({ onClick }, index) => {
@@ -2364,16 +2456,16 @@ var init_DropdownMenu = __esm({
2364
2456
  onClick();
2365
2457
  }
2366
2458
  };
2367
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(Element, { ref, ...otherProps, className: classes, children: [
2368
- trigger ? (0, import_react18.cloneElement)(trigger, {
2459
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(Element, { ref, ...otherProps, className: classes, children: [
2460
+ trigger ? (0, import_react19.cloneElement)(trigger, {
2369
2461
  className: triggerClasses,
2370
2462
  open,
2371
2463
  label,
2372
2464
  ...buttonProps
2373
- }) : /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Button, { className: triggerClasses, ...buttonProps, children: label }),
2374
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("ul", { className: listClasses, role: "menu", children: import_react18.Children.map(children, (child, index) => {
2375
- if ((0, import_react18.isValidElement)(child)) {
2376
- return (0, import_react18.cloneElement)(child, {
2465
+ }) : /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Button, { className: triggerClasses, ...buttonProps, children: label }),
2466
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("ul", { className: listClasses, role: "menu", children: import_react19.Children.map(children, (child, index) => {
2467
+ if ((0, import_react19.isValidElement)(child)) {
2468
+ return (0, import_react19.cloneElement)(child, {
2377
2469
  onClick: () => handleChildClick(child.props, index),
2378
2470
  active: index === activeId,
2379
2471
  ...itemProps[index]
@@ -2388,13 +2480,13 @@ var init_DropdownMenu = __esm({
2388
2480
  });
2389
2481
 
2390
2482
  // src/components/DropdownMenu/Item.tsx
2391
- var import_react19, import_dedupe20, import_jsx_runtime26, Item;
2483
+ var import_react20, import_dedupe21, import_jsx_runtime28, Item;
2392
2484
  var init_Item = __esm({
2393
2485
  "src/components/DropdownMenu/Item.tsx"() {
2394
2486
  "use strict";
2395
- import_react19 = require("react");
2396
- import_dedupe20 = __toESM(require("classnames/dedupe"));
2397
- import_jsx_runtime26 = require("react/jsx-runtime");
2487
+ import_react20 = require("react");
2488
+ import_dedupe21 = __toESM(require("classnames/dedupe"));
2489
+ import_jsx_runtime28 = require("react/jsx-runtime");
2398
2490
  Item = ({ ref, ...props }) => {
2399
2491
  const {
2400
2492
  elementType: Element = "li",
@@ -2403,26 +2495,26 @@ var init_Item = __esm({
2403
2495
  children,
2404
2496
  ...otherProps
2405
2497
  } = props;
2406
- const classes = (0, import_dedupe20.default)(
2498
+ const classes = (0, import_dedupe21.default)(
2407
2499
  "mobius",
2408
2500
  "mobius-dropdown-menu__item",
2409
2501
  { "--is-active": active },
2410
2502
  otherProps.className
2411
2503
  );
2412
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Element, { ref, onClick, ...otherProps, children: import_react19.Children.map(children, (child) => {
2413
- if ((0, import_react19.isValidElement)(child)) {
2414
- const childClasses = (0, import_dedupe20.default)(
2504
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Element, { ref, onClick, ...otherProps, children: import_react20.Children.map(children, (child) => {
2505
+ if ((0, import_react20.isValidElement)(child)) {
2506
+ const childClasses = (0, import_dedupe21.default)(
2415
2507
  child.props.className,
2416
2508
  classes
2417
2509
  );
2418
- return (0, import_react19.cloneElement)(
2510
+ return (0, import_react20.cloneElement)(
2419
2511
  child,
2420
2512
  {
2421
2513
  className: childClasses
2422
2514
  }
2423
2515
  );
2424
2516
  }
2425
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { className: classes, children: child });
2517
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: classes, children: child });
2426
2518
  }) });
2427
2519
  };
2428
2520
  Item.displayName = "DropdownMenu.Item";
@@ -2447,23 +2539,23 @@ var init_DropdownMenu2 = __esm({
2447
2539
  });
2448
2540
 
2449
2541
  // src/components/Fieldset/Fieldset.tsx
2450
- var import_dedupe21, import_react20, import_Fieldset, import_jsx_runtime27, useFieldset, Fieldset;
2542
+ var import_dedupe22, import_react21, import_Fieldset, import_jsx_runtime29, useFieldset, Fieldset;
2451
2543
  var init_Fieldset = __esm({
2452
2544
  "src/components/Fieldset/Fieldset.tsx"() {
2453
2545
  "use strict";
2454
2546
  "use client";
2455
- import_dedupe21 = __toESM(require("classnames/dedupe"));
2456
- import_react20 = require("react");
2547
+ import_dedupe22 = __toESM(require("classnames/dedupe"));
2548
+ import_react21 = require("react");
2457
2549
  init_Flex2();
2458
2550
  import_Fieldset = require("@simplybusiness/mobius/src/components/Fieldset/Fieldset.css");
2459
- import_jsx_runtime27 = require("react/jsx-runtime");
2551
+ import_jsx_runtime29 = require("react/jsx-runtime");
2460
2552
  useFieldset = (props) => {
2461
2553
  const { legend } = props;
2462
2554
  let legendProps = {};
2463
2555
  let containerProps = {
2464
2556
  role: "group"
2465
2557
  };
2466
- const legendId = (0, import_react20.useId)();
2558
+ const legendId = (0, import_react21.useId)();
2467
2559
  if (legend) {
2468
2560
  legendProps = {
2469
2561
  ...legendProps,
@@ -2483,14 +2575,14 @@ var init_Fieldset = __esm({
2483
2575
  const {
2484
2576
  children,
2485
2577
  legend,
2486
- legendComponent = /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("legend", {}),
2578
+ legendComponent = /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("legend", {}),
2487
2579
  ...otherProps
2488
2580
  } = props;
2489
2581
  const { legendProps, containerProps } = useFieldset(props);
2490
- const classes = (0, import_dedupe21.default)("mobius", "mobius-fieldset", props.className);
2582
+ const classes = (0, import_dedupe22.default)("mobius", "mobius-fieldset", props.className);
2491
2583
  legendProps.className = "mobius-fieldset__legend";
2492
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(Flex, { ...containerProps, ...otherProps, className: classes, children: [
2493
- legend && (0, import_react20.cloneElement)(legendComponent, { ...legendProps }, [legend]),
2584
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(Flex, { ...containerProps, ...otherProps, className: classes, children: [
2585
+ legend && (0, import_react21.cloneElement)(legendComponent, { ...legendProps }, [legend]),
2494
2586
  children
2495
2587
  ] });
2496
2588
  };
@@ -2507,13 +2599,13 @@ var init_Fieldset2 = __esm({
2507
2599
  });
2508
2600
 
2509
2601
  // src/components/Grid/Grid.tsx
2510
- var import_dedupe22, import_jsx_runtime28, Grid;
2602
+ var import_dedupe23, import_jsx_runtime30, Grid;
2511
2603
  var init_Grid = __esm({
2512
2604
  "src/components/Grid/Grid.tsx"() {
2513
2605
  "use strict";
2514
- import_dedupe22 = __toESM(require("classnames/dedupe"));
2606
+ import_dedupe23 = __toESM(require("classnames/dedupe"));
2515
2607
  init_utils();
2516
- import_jsx_runtime28 = require("react/jsx-runtime");
2608
+ import_jsx_runtime30 = require("react/jsx-runtime");
2517
2609
  Grid = ({ ref: _ref, ...props }) => {
2518
2610
  const {
2519
2611
  columns = 12,
@@ -2528,7 +2620,7 @@ var init_Grid = __esm({
2528
2620
  style,
2529
2621
  ...rest
2530
2622
  } = props;
2531
- const classes = (0, import_dedupe22.default)("mobius", "mobius-grid", className);
2623
+ const classes = (0, import_dedupe23.default)("mobius", "mobius-grid", className);
2532
2624
  const styles = filterUndefinedProps({
2533
2625
  boxSizing: "border-box",
2534
2626
  display: "grid",
@@ -2542,22 +2634,22 @@ var init_Grid = __esm({
2542
2634
  justifyItems,
2543
2635
  ...style
2544
2636
  });
2545
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { style: styles, className: classes, ...rest });
2637
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { style: styles, className: classes, ...rest });
2546
2638
  };
2547
2639
  Grid.displayName = "Grid";
2548
2640
  }
2549
2641
  });
2550
2642
 
2551
2643
  // src/components/Grid/Item.tsx
2552
- var import_react21, import_dedupe23, import_jsx_runtime29, getBreakpointMap, DEFAULT_SPAN, GridItem;
2644
+ var import_react22, import_dedupe24, import_jsx_runtime31, getBreakpointMap, DEFAULT_SPAN, GridItem;
2553
2645
  var init_Item2 = __esm({
2554
2646
  "src/components/Grid/Item.tsx"() {
2555
2647
  "use strict";
2556
2648
  "use client";
2557
- import_react21 = require("react");
2558
- import_dedupe23 = __toESM(require("classnames/dedupe"));
2649
+ import_react22 = require("react");
2650
+ import_dedupe24 = __toESM(require("classnames/dedupe"));
2559
2651
  init_hooks();
2560
- import_jsx_runtime29 = require("react/jsx-runtime");
2652
+ import_jsx_runtime31 = require("react/jsx-runtime");
2561
2653
  getBreakpointMap = (config) => Object.entries(config).reduce(
2562
2654
  (prev, [key, value]) => {
2563
2655
  const previous = Object.values(prev);
@@ -2592,9 +2684,9 @@ var init_Item2 = __esm({
2592
2684
  xl,
2593
2685
  xxl
2594
2686
  });
2595
- const [responsiveSpan, setResponsiveSpan] = (0, import_react21.useState)();
2596
- const classes = (0, import_dedupe23.default)("mobius-grid__item", className);
2597
- (0, import_react21.useEffect)(() => {
2687
+ const [responsiveSpan, setResponsiveSpan] = (0, import_react22.useState)();
2688
+ const classes = (0, import_dedupe24.default)("mobius-grid__item", className);
2689
+ (0, import_react22.useEffect)(() => {
2598
2690
  setResponsiveSpan(breakpointMap[breakpointSize]);
2599
2691
  }, [breakpointSize, breakpointMap]);
2600
2692
  const styles = {
@@ -2602,7 +2694,7 @@ var init_Item2 = __esm({
2602
2694
  alignSelf,
2603
2695
  justifySelf
2604
2696
  };
2605
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { style: { ...styles }, className: classes, ...rest });
2697
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { style: { ...styles }, className: classes, ...rest });
2606
2698
  };
2607
2699
  GridItem.displayName = "GridItem";
2608
2700
  }
@@ -2623,20 +2715,20 @@ var init_Grid2 = __esm({
2623
2715
  });
2624
2716
 
2625
2717
  // src/components/Image/Image.tsx
2626
- var import_dedupe24, import_jsx_runtime30, Image;
2718
+ var import_dedupe25, import_jsx_runtime32, Image;
2627
2719
  var init_Image = __esm({
2628
2720
  "src/components/Image/Image.tsx"() {
2629
2721
  "use strict";
2630
- import_dedupe24 = __toESM(require("classnames/dedupe"));
2631
- import_jsx_runtime30 = require("react/jsx-runtime");
2722
+ import_dedupe25 = __toESM(require("classnames/dedupe"));
2723
+ import_jsx_runtime32 = require("react/jsx-runtime");
2632
2724
  Image = ({
2633
2725
  ref,
2634
2726
  alt,
2635
2727
  elementType: Component = "img",
2636
2728
  ...otherProps
2637
2729
  }) => {
2638
- const classes = (0, import_dedupe24.default)("mobius", "mobius-image", otherProps.className);
2639
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Component, { alt, ref, ...otherProps, className: classes });
2730
+ const classes = (0, import_dedupe25.default)("mobius", "mobius-image", otherProps.className);
2731
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Component, { alt, ref, ...otherProps, className: classes });
2640
2732
  };
2641
2733
  Image.displayName = "Image";
2642
2734
  }
@@ -2651,13 +2743,13 @@ var init_Image2 = __esm({
2651
2743
  });
2652
2744
 
2653
2745
  // src/components/Link/Link.tsx
2654
- var import_dedupe25, import_Link, import_jsx_runtime31, Link;
2746
+ var import_dedupe26, import_Link, import_jsx_runtime33, Link;
2655
2747
  var init_Link = __esm({
2656
2748
  "src/components/Link/Link.tsx"() {
2657
2749
  "use strict";
2658
- import_dedupe25 = __toESM(require("classnames/dedupe"));
2750
+ import_dedupe26 = __toESM(require("classnames/dedupe"));
2659
2751
  import_Link = require("@simplybusiness/mobius/src/components/Link/Link.css");
2660
- import_jsx_runtime31 = require("react/jsx-runtime");
2752
+ import_jsx_runtime33 = require("react/jsx-runtime");
2661
2753
  Link = ({ ref, ...props }) => {
2662
2754
  const {
2663
2755
  isDisabled = false,
@@ -2671,7 +2763,7 @@ var init_Link = __esm({
2671
2763
  pointerEvents: "none"
2672
2764
  };
2673
2765
  const styles = { ...style, ...isDisabled && disabledStyles };
2674
- const classes = (0, import_dedupe25.default)(
2766
+ const classes = (0, import_dedupe26.default)(
2675
2767
  "mobius",
2676
2768
  "mobius-link",
2677
2769
  className,
@@ -2680,7 +2772,7 @@ var init_Link = __esm({
2680
2772
  "--is-disabled": isDisabled
2681
2773
  }
2682
2774
  );
2683
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2775
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
2684
2776
  Component,
2685
2777
  {
2686
2778
  ref,
@@ -2705,12 +2797,12 @@ var init_Link2 = __esm({
2705
2797
  });
2706
2798
 
2707
2799
  // src/components/LinkButton/LinkButton.tsx
2708
- var import_dedupe26, import_jsx_runtime32;
2800
+ var import_dedupe27, import_jsx_runtime34;
2709
2801
  var init_LinkButton = __esm({
2710
2802
  "src/components/LinkButton/LinkButton.tsx"() {
2711
2803
  "use strict";
2712
- import_dedupe26 = __toESM(require("classnames/dedupe"));
2713
- import_jsx_runtime32 = require("react/jsx-runtime");
2804
+ import_dedupe27 = __toESM(require("classnames/dedupe"));
2805
+ import_jsx_runtime34 = require("react/jsx-runtime");
2714
2806
  }
2715
2807
  });
2716
2808
 
@@ -2723,14 +2815,14 @@ var init_LinkButton2 = __esm({
2723
2815
  });
2724
2816
 
2725
2817
  // src/components/List/List.tsx
2726
- var import_react22, import_dedupe27, import_List, import_jsx_runtime33, List;
2818
+ var import_react23, import_dedupe28, import_List, import_jsx_runtime35, List;
2727
2819
  var init_List = __esm({
2728
2820
  "src/components/List/List.tsx"() {
2729
2821
  "use strict";
2730
- import_react22 = require("react");
2731
- import_dedupe27 = __toESM(require("classnames/dedupe"));
2822
+ import_react23 = require("react");
2823
+ import_dedupe28 = __toESM(require("classnames/dedupe"));
2732
2824
  import_List = require("@simplybusiness/mobius/src/components/List/List.css");
2733
- import_jsx_runtime33 = require("react/jsx-runtime");
2825
+ import_jsx_runtime35 = require("react/jsx-runtime");
2734
2826
  List = ({ ref, ...props }) => {
2735
2827
  const Component = props.isOrdered ? "ol" : "ul";
2736
2828
  const { children, icon, ...otherProps } = props;
@@ -2739,7 +2831,7 @@ var init_List = __esm({
2739
2831
  ...restProps,
2740
2832
  reversed: isReversed
2741
2833
  };
2742
- const classes = (0, import_dedupe27.default)(
2834
+ const classes = (0, import_dedupe28.default)(
2743
2835
  "mobius",
2744
2836
  "mobius-list",
2745
2837
  {
@@ -2748,9 +2840,9 @@ var init_List = __esm({
2748
2840
  },
2749
2841
  otherProps.className
2750
2842
  );
2751
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Component, { ref, ...mappedProps, className: classes, children: import_react22.Children.map(children, (child) => {
2752
- if ((0, import_react22.isValidElement)(child)) {
2753
- return (0, import_react22.cloneElement)(child, {
2843
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Component, { ref, ...mappedProps, className: classes, children: import_react23.Children.map(children, (child) => {
2844
+ if ((0, import_react23.isValidElement)(child)) {
2845
+ return (0, import_react23.cloneElement)(child, {
2754
2846
  parentIcon: icon
2755
2847
  });
2756
2848
  }
@@ -2762,16 +2854,16 @@ var init_List = __esm({
2762
2854
  });
2763
2855
 
2764
2856
  // src/components/List/ListItem.tsx
2765
- var import_dedupe28, import_jsx_runtime34, ListItem;
2857
+ var import_dedupe29, import_jsx_runtime36, ListItem;
2766
2858
  var init_ListItem = __esm({
2767
2859
  "src/components/List/ListItem.tsx"() {
2768
2860
  "use strict";
2769
- import_dedupe28 = __toESM(require("classnames/dedupe"));
2770
- import_jsx_runtime34 = require("react/jsx-runtime");
2861
+ import_dedupe29 = __toESM(require("classnames/dedupe"));
2862
+ import_jsx_runtime36 = require("react/jsx-runtime");
2771
2863
  ListItem = ({ ref, ...props }) => {
2772
2864
  const { parentIcon, icon, children, ...otherProps } = props;
2773
2865
  const iconContent = icon || parentIcon;
2774
- const classes = (0, import_dedupe28.default)(
2866
+ const classes = (0, import_dedupe29.default)(
2775
2867
  "mobius",
2776
2868
  "mobius-list__item",
2777
2869
  {
@@ -2779,15 +2871,15 @@ var init_ListItem = __esm({
2779
2871
  },
2780
2872
  props.className
2781
2873
  );
2782
- const contentClasses = (0, import_dedupe28.default)("mobius", "mobius-list__item-content");
2783
- const iconClasses = (0, import_dedupe28.default)("mobius", "mobius-list__icon");
2874
+ const contentClasses = (0, import_dedupe29.default)("mobius", "mobius-list__item-content");
2875
+ const iconClasses = (0, import_dedupe29.default)("mobius", "mobius-list__icon");
2784
2876
  if (iconContent) {
2785
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("li", { ref, ...otherProps, className: classes, children: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("span", { className: contentClasses, children: [
2786
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { className: iconClasses, children: iconContent }),
2877
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("li", { ref, ...otherProps, className: classes, children: /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("span", { className: contentClasses, children: [
2878
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("span", { className: iconClasses, children: iconContent }),
2787
2879
  children
2788
2880
  ] }) });
2789
2881
  }
2790
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("li", { ref, ...otherProps, className: classes, children });
2882
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("li", { ref, ...otherProps, className: classes, children });
2791
2883
  };
2792
2884
  ListItem.displayName = "ListItem";
2793
2885
  }
@@ -2803,23 +2895,23 @@ var init_List2 = __esm({
2803
2895
  });
2804
2896
 
2805
2897
  // src/components/LoadingIndicator/LoadingIndicator.tsx
2806
- var import_dedupe29, import_icons8, import_LoadingIndicator, import_jsx_runtime35, LoadingIndicator;
2898
+ var import_dedupe30, import_icons8, import_LoadingIndicator, import_jsx_runtime37, LoadingIndicator;
2807
2899
  var init_LoadingIndicator = __esm({
2808
2900
  "src/components/LoadingIndicator/LoadingIndicator.tsx"() {
2809
2901
  "use strict";
2810
- import_dedupe29 = __toESM(require("classnames/dedupe"));
2902
+ import_dedupe30 = __toESM(require("classnames/dedupe"));
2811
2903
  import_icons8 = require("@simplybusiness/icons");
2812
2904
  init_Icon2();
2813
2905
  import_LoadingIndicator = require("@simplybusiness/mobius/src/components/LoadingIndicator/LoadingIndicator.css");
2814
- import_jsx_runtime35 = require("react/jsx-runtime");
2906
+ import_jsx_runtime37 = require("react/jsx-runtime");
2815
2907
  LoadingIndicator = ({ ref, ...props }) => {
2816
2908
  const { icon = import_icons8.loading, ...otherProps } = props;
2817
- const classes = (0, import_dedupe29.default)(
2909
+ const classes = (0, import_dedupe30.default)(
2818
2910
  "mobius",
2819
2911
  "mobius-loading-indicator",
2820
2912
  otherProps.className
2821
2913
  );
2822
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Icon, { icon, spin: true, ref, ...otherProps, className: classes });
2914
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Icon, { icon, spin: true, ref, ...otherProps, className: classes });
2823
2915
  };
2824
2916
  LoadingIndicator.displayName = "LoadingIndicator";
2825
2917
  }
@@ -2834,16 +2926,16 @@ var init_LoadingIndicator2 = __esm({
2834
2926
  });
2835
2927
 
2836
2928
  // src/components/Logo/Logo.tsx
2837
- var import_dedupe30, import_jsx_runtime36, Logo;
2929
+ var import_dedupe31, import_jsx_runtime38, Logo;
2838
2930
  var init_Logo = __esm({
2839
2931
  "src/components/Logo/Logo.tsx"() {
2840
2932
  "use strict";
2841
- import_dedupe30 = __toESM(require("classnames/dedupe"));
2842
- import_jsx_runtime36 = require("react/jsx-runtime");
2933
+ import_dedupe31 = __toESM(require("classnames/dedupe"));
2934
+ import_jsx_runtime38 = require("react/jsx-runtime");
2843
2935
  Logo = ({ ref, ...props }) => {
2844
2936
  const { className, width, height, ...otherProps } = props;
2845
- const classes = (0, import_dedupe30.default)("mobius", "mobius-logo", className);
2846
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
2937
+ const classes = (0, import_dedupe31.default)("mobius", "mobius-logo", className);
2938
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
2847
2939
  "svg",
2848
2940
  {
2849
2941
  width,
@@ -2853,7 +2945,7 @@ var init_Logo = __esm({
2853
2945
  viewBox: "0 0 144 37",
2854
2946
  ...otherProps,
2855
2947
  children: [
2856
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
2948
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
2857
2949
  "linearGradient",
2858
2950
  {
2859
2951
  id: "logo-gradient",
@@ -2862,27 +2954,27 @@ var init_Logo = __esm({
2862
2954
  y1: "76.042%",
2863
2955
  y2: "26.973%",
2864
2956
  children: [
2865
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("stop", { stopColor: "#4632D8", offset: "0%" }),
2866
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("stop", { stopColor: "#9084E8", offset: "100%" })
2957
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("stop", { stopColor: "#4632D8", offset: "0%" }),
2958
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("stop", { stopColor: "#9084E8", offset: "100%" })
2867
2959
  ]
2868
2960
  }
2869
2961
  ) }),
2870
- /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("g", { children: [
2871
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
2962
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("g", { children: [
2963
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
2872
2964
  "path",
2873
2965
  {
2874
2966
  fill: "#0E0A2B",
2875
2967
  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"
2876
2968
  }
2877
2969
  ),
2878
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
2970
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
2879
2971
  "path",
2880
2972
  {
2881
2973
  fill: "url(#logo-gradient)",
2882
2974
  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"
2883
2975
  }
2884
2976
  ),
2885
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
2977
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
2886
2978
  "path",
2887
2979
  {
2888
2980
  fill: "#0E0A2B",
@@ -2907,23 +2999,23 @@ var init_Logo2 = __esm({
2907
2999
  });
2908
3000
 
2909
3001
  // src/components/Modal/Content.tsx
2910
- var import_jsx_runtime37, Content2;
3002
+ var import_jsx_runtime39, Content2;
2911
3003
  var init_Content2 = __esm({
2912
3004
  "src/components/Modal/Content.tsx"() {
2913
3005
  "use strict";
2914
- import_jsx_runtime37 = require("react/jsx-runtime");
2915
- Content2 = ({ ref, children, ...otherProps }) => /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { ref, ...otherProps, className: "mobius-modal__content", children });
3006
+ import_jsx_runtime39 = require("react/jsx-runtime");
3007
+ Content2 = ({ ref, children, ...otherProps }) => /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { ref, ...otherProps, className: "mobius-modal__content", children });
2916
3008
  Content2.displayName = "Content";
2917
3009
  }
2918
3010
  });
2919
3011
 
2920
3012
  // src/components/Modal/ModalContext.tsx
2921
- var import_react23, ModalContext;
3013
+ var import_react24, ModalContext;
2922
3014
  var init_ModalContext = __esm({
2923
3015
  "src/components/Modal/ModalContext.tsx"() {
2924
3016
  "use strict";
2925
- import_react23 = require("react");
2926
- ModalContext = (0, import_react23.createContext)({
3017
+ import_react24 = require("react");
3018
+ ModalContext = (0, import_react24.createContext)({
2927
3019
  onClose: () => {
2928
3020
  },
2929
3021
  closeLabel: void 0
@@ -2932,21 +3024,21 @@ var init_ModalContext = __esm({
2932
3024
  });
2933
3025
 
2934
3026
  // src/components/Modal/useModal.ts
2935
- var import_react24, useModal;
3027
+ var import_react25, useModal;
2936
3028
  var init_useModal = __esm({
2937
3029
  "src/components/Modal/useModal.ts"() {
2938
3030
  "use strict";
2939
- import_react24 = require("react");
3031
+ import_react25 = require("react");
2940
3032
  init_ModalContext();
2941
3033
  useModal = () => {
2942
- const { onClose, closeLabel } = (0, import_react24.useContext)(ModalContext);
3034
+ const { onClose, closeLabel } = (0, import_react25.useContext)(ModalContext);
2943
3035
  return { onClose, closeLabel };
2944
3036
  };
2945
3037
  }
2946
3038
  });
2947
3039
 
2948
3040
  // src/components/Modal/Header.tsx
2949
- var import_icons9, import_jsx_runtime38, Header2;
3041
+ var import_icons9, import_jsx_runtime40, Header2;
2950
3042
  var init_Header2 = __esm({
2951
3043
  "src/components/Modal/Header.tsx"() {
2952
3044
  "use strict";
@@ -2954,12 +3046,12 @@ var init_Header2 = __esm({
2954
3046
  init_Button2();
2955
3047
  init_Icon2();
2956
3048
  init_useModal();
2957
- import_jsx_runtime38 = require("react/jsx-runtime");
3049
+ import_jsx_runtime40 = require("react/jsx-runtime");
2958
3050
  Header2 = ({ ref, children, ...otherProps }) => {
2959
3051
  const { onClose, closeLabel } = useModal();
2960
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("header", { ref, ...otherProps, className: "mobius-modal__header", children: [
3052
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("header", { ref, ...otherProps, className: "mobius-modal__header", children: [
2961
3053
  children,
2962
- /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
3054
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
2963
3055
  Button,
2964
3056
  {
2965
3057
  "aria-label": "Close",
@@ -2967,7 +3059,7 @@ var init_Header2 = __esm({
2967
3059
  onPress: onClose,
2968
3060
  className: "mobius-modal__close",
2969
3061
  children: [
2970
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Icon, { icon: import_icons9.cross }),
3062
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Icon, { icon: import_icons9.cross }),
2971
3063
  " ",
2972
3064
  closeLabel
2973
3065
  ]
@@ -2980,19 +3072,19 @@ var init_Header2 = __esm({
2980
3072
  });
2981
3073
 
2982
3074
  // src/components/Modal/Modal.tsx
2983
- var import_dedupe31, import_react25, import_Modal, import_jsx_runtime39, TRANSITION_CSS_VARIABLE2, Modal;
3075
+ var import_dedupe32, import_react26, import_Modal, import_jsx_runtime41, TRANSITION_CSS_VARIABLE2, Modal;
2984
3076
  var init_Modal = __esm({
2985
3077
  "src/components/Modal/Modal.tsx"() {
2986
3078
  "use strict";
2987
3079
  "use client";
2988
- import_dedupe31 = __toESM(require("classnames/dedupe"));
2989
- import_react25 = require("react");
3080
+ import_dedupe32 = __toESM(require("classnames/dedupe"));
3081
+ import_react26 = require("react");
2990
3082
  init_hooks();
2991
3083
  init_utils();
2992
3084
  init_polyfill_tests();
2993
3085
  init_ModalContext();
2994
3086
  import_Modal = require("@simplybusiness/mobius/src/components/Modal/Modal.css");
2995
- import_jsx_runtime39 = require("react/jsx-runtime");
3087
+ import_jsx_runtime41 = require("react/jsx-runtime");
2996
3088
  TRANSITION_CSS_VARIABLE2 = "--modal-transition-duration";
2997
3089
  Modal = ({ ref, ...props }) => {
2998
3090
  const {
@@ -3006,11 +3098,11 @@ var init_Modal = __esm({
3006
3098
  animation,
3007
3099
  ...rest
3008
3100
  } = props;
3009
- const [shouldTransition, setShouldTransition] = (0, import_react25.useState)(false);
3010
- (0, import_react25.useEffect)(() => {
3101
+ const [shouldTransition, setShouldTransition] = (0, import_react26.useState)(false);
3102
+ (0, import_react26.useEffect)(() => {
3011
3103
  setShouldTransition(supportsDialog());
3012
3104
  }, []);
3013
- const dialogRef = (0, import_react25.useRef)(null);
3105
+ const dialogRef = (0, import_react26.useRef)(null);
3014
3106
  const { close } = useDialog({
3015
3107
  ref: dialogRef,
3016
3108
  isOpen,
@@ -3021,7 +3113,7 @@ var init_Modal = __esm({
3021
3113
  CSSVariable: TRANSITION_CSS_VARIABLE2
3022
3114
  }
3023
3115
  });
3024
- const modalClasses = (0, import_dedupe31.default)(
3116
+ const modalClasses = (0, import_dedupe32.default)(
3025
3117
  "mobius",
3026
3118
  "mobius-modal",
3027
3119
  {
@@ -3034,21 +3126,21 @@ var init_Modal = __esm({
3034
3126
  },
3035
3127
  className
3036
3128
  );
3037
- const contextValue = (0, import_react25.useMemo)(
3129
+ const contextValue = (0, import_react26.useMemo)(
3038
3130
  () => ({
3039
3131
  onClose: close,
3040
3132
  closeLabel
3041
3133
  }),
3042
3134
  [close, closeLabel]
3043
3135
  );
3044
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3136
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3045
3137
  "dialog",
3046
3138
  {
3047
3139
  ref: mergeRefs([dialogRef, ref]),
3048
3140
  onCancel: close,
3049
3141
  className: modalClasses,
3050
3142
  ...rest,
3051
- children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(ModalContext.Provider, { value: contextValue, children })
3143
+ children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(ModalContext.Provider, { value: contextValue, children })
3052
3144
  }
3053
3145
  );
3054
3146
  };
@@ -3073,16 +3165,16 @@ var init_Modal2 = __esm({
3073
3165
  });
3074
3166
 
3075
3167
  // src/components/NumberField/NumberField.tsx
3076
- var import_dedupe32, import_react26, import_NumberField, import_jsx_runtime40, NumberField;
3168
+ var import_dedupe33, import_react27, import_NumberField, import_jsx_runtime42, NumberField;
3077
3169
  var init_NumberField = __esm({
3078
3170
  "src/components/NumberField/NumberField.tsx"() {
3079
3171
  "use strict";
3080
3172
  "use client";
3081
- import_dedupe32 = __toESM(require("classnames/dedupe"));
3082
- import_react26 = require("react");
3173
+ import_dedupe33 = __toESM(require("classnames/dedupe"));
3174
+ import_react27 = require("react");
3083
3175
  init_TextField2();
3084
3176
  import_NumberField = require("@simplybusiness/mobius/src/components/NumberField/NumberField.css");
3085
- import_jsx_runtime40 = require("react/jsx-runtime");
3177
+ import_jsx_runtime42 = require("react/jsx-runtime");
3086
3178
  NumberField = ({ ref, ...props }) => {
3087
3179
  const {
3088
3180
  minValue,
@@ -3098,15 +3190,15 @@ var init_NumberField = __esm({
3098
3190
  onBlur: customOnBlur,
3099
3191
  ...rest
3100
3192
  } = otherProps;
3101
- const focusedInputRef = (0, import_react26.useRef)(null);
3102
- const wheelHandler = (0, import_react26.useCallback)((ev) => ev.preventDefault(), []);
3103
- (0, import_react26.useEffect)(() => {
3193
+ const focusedInputRef = (0, import_react27.useRef)(null);
3194
+ const wheelHandler = (0, import_react27.useCallback)((ev) => ev.preventDefault(), []);
3195
+ (0, import_react27.useEffect)(() => {
3104
3196
  return () => {
3105
3197
  focusedInputRef.current?.removeEventListener("wheel", wheelHandler);
3106
3198
  focusedInputRef.current = null;
3107
3199
  };
3108
3200
  }, [wheelHandler]);
3109
- const containerClasses = (0, import_dedupe32.default)("mobius-number-field", className, {
3201
+ const containerClasses = (0, import_dedupe33.default)("mobius-number-field", className, {
3110
3202
  "--hide-spin-buttons": hideSpinButtons
3111
3203
  });
3112
3204
  const handleBeforeInput = (event) => {
@@ -3150,7 +3242,7 @@ var init_NumberField = __esm({
3150
3242
  },
3151
3243
  onBlur: (e) => handleBlur(e)
3152
3244
  };
3153
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3245
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3154
3246
  TextField,
3155
3247
  {
3156
3248
  ...forwardedProps,
@@ -3178,18 +3270,18 @@ var init_NumberField2 = __esm({
3178
3270
  });
3179
3271
 
3180
3272
  // src/components/Option/Option.tsx
3181
- var import_jsx_runtime41, Option;
3273
+ var import_jsx_runtime43, Option;
3182
3274
  var init_Option = __esm({
3183
3275
  "src/components/Option/Option.tsx"() {
3184
3276
  "use strict";
3185
- import_jsx_runtime41 = require("react/jsx-runtime");
3277
+ import_jsx_runtime43 = require("react/jsx-runtime");
3186
3278
  Option = ({ ref, ...props }) => {
3187
3279
  const { isDisabled, ...rest } = props;
3188
3280
  const mappedProps = {
3189
3281
  ...rest,
3190
3282
  disabled: isDisabled
3191
3283
  };
3192
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("option", { ...mappedProps, ref });
3284
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("option", { ...mappedProps, ref });
3193
3285
  };
3194
3286
  Option.displayName = "Option";
3195
3287
  }
@@ -3204,17 +3296,17 @@ var init_Option2 = __esm({
3204
3296
  });
3205
3297
 
3206
3298
  // src/components/PasswordField/ShowHideButton.tsx
3207
- var import_icons10, import_jsx_runtime42, ShowHideButton;
3299
+ var import_icons10, import_jsx_runtime44, ShowHideButton;
3208
3300
  var init_ShowHideButton = __esm({
3209
3301
  "src/components/PasswordField/ShowHideButton.tsx"() {
3210
3302
  "use strict";
3211
3303
  import_icons10 = require("@simplybusiness/icons");
3212
3304
  init_src();
3213
- import_jsx_runtime42 = require("react/jsx-runtime");
3305
+ import_jsx_runtime44 = require("react/jsx-runtime");
3214
3306
  ShowHideButton = ({
3215
3307
  show = false,
3216
3308
  onClick
3217
- }) => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3309
+ }) => /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
3218
3310
  "button",
3219
3311
  {
3220
3312
  className: "mobius-password-field__show-button",
@@ -3225,35 +3317,35 @@ var init_ShowHideButton = __esm({
3225
3317
  },
3226
3318
  "aria-label": `${show ? "Hide" : "Show"} password`,
3227
3319
  "data-testid": "show-hide-button",
3228
- children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Icon, { icon: show ? import_icons10.eyeSlash : import_icons10.eye, "aria-hidden": "true" })
3320
+ children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Icon, { icon: show ? import_icons10.eyeSlash : import_icons10.eye, "aria-hidden": "true" })
3229
3321
  }
3230
3322
  );
3231
3323
  }
3232
3324
  });
3233
3325
 
3234
3326
  // src/components/PasswordField/PasswordField.tsx
3235
- var import_dedupe33, import_react27, import_PasswordField, import_jsx_runtime43, PasswordField;
3327
+ var import_dedupe34, import_react28, import_PasswordField, import_jsx_runtime45, PasswordField;
3236
3328
  var init_PasswordField = __esm({
3237
3329
  "src/components/PasswordField/PasswordField.tsx"() {
3238
3330
  "use strict";
3239
3331
  "use client";
3240
- import_dedupe33 = __toESM(require("classnames/dedupe"));
3241
- import_react27 = require("react");
3332
+ import_dedupe34 = __toESM(require("classnames/dedupe"));
3333
+ import_react28 = require("react");
3242
3334
  init_mergeRefs();
3243
3335
  init_TextField2();
3244
3336
  init_ShowHideButton();
3245
3337
  import_PasswordField = require("@simplybusiness/mobius/src/components/PasswordField/PasswordField.css");
3246
- import_jsx_runtime43 = require("react/jsx-runtime");
3338
+ import_jsx_runtime45 = require("react/jsx-runtime");
3247
3339
  PasswordField = ({
3248
3340
  ref,
3249
3341
  className,
3250
3342
  autoComplete = "current-password",
3251
3343
  ...props
3252
3344
  }) => {
3253
- const [show, setShow] = (0, import_react27.useState)(false);
3345
+ const [show, setShow] = (0, import_react28.useState)(false);
3254
3346
  const type = show ? "text" : "password";
3255
- const classes = (0, import_dedupe33.default)("mobius-password-field", className);
3256
- const localRef = (0, import_react27.useRef)(null);
3347
+ const classes = (0, import_dedupe34.default)("mobius-password-field", className);
3348
+ const localRef = (0, import_react28.useRef)(null);
3257
3349
  const handleShowHideButtonClick = () => {
3258
3350
  const selectionStart = localRef.current?.selectionStart;
3259
3351
  const selectionEnd = localRef.current?.selectionEnd;
@@ -3265,7 +3357,7 @@ var init_PasswordField = __esm({
3265
3357
  }
3266
3358
  });
3267
3359
  };
3268
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
3360
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
3269
3361
  TextField,
3270
3362
  {
3271
3363
  ref: mergeRefs([localRef, ref]),
@@ -3273,7 +3365,7 @@ var init_PasswordField = __esm({
3273
3365
  ...props,
3274
3366
  autoComplete,
3275
3367
  type,
3276
- suffixInside: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(ShowHideButton, { onClick: handleShowHideButtonClick, show })
3368
+ suffixInside: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(ShowHideButton, { onClick: handleShowHideButtonClick, show })
3277
3369
  }
3278
3370
  );
3279
3371
  };
@@ -3290,17 +3382,17 @@ var init_PasswordField2 = __esm({
3290
3382
  });
3291
3383
 
3292
3384
  // src/components/Popover/Popover.tsx
3293
- var import_react28, import_icons11, import_dedupe34, import_react29, import_mobius_hooks4, import_Popover, import_jsx_runtime44;
3385
+ var import_react29, import_icons11, import_dedupe35, import_react30, import_mobius_hooks4, import_Popover, import_jsx_runtime46;
3294
3386
  var init_Popover = __esm({
3295
3387
  "src/components/Popover/Popover.tsx"() {
3296
3388
  "use strict";
3297
- import_react28 = require("@floating-ui/react");
3389
+ import_react29 = require("@floating-ui/react");
3298
3390
  import_icons11 = require("@simplybusiness/icons");
3299
- import_dedupe34 = __toESM(require("classnames/dedupe"));
3300
- import_react29 = require("react");
3391
+ import_dedupe35 = __toESM(require("classnames/dedupe"));
3392
+ import_react30 = require("react");
3301
3393
  import_mobius_hooks4 = require("@simplybusiness/mobius-hooks");
3302
3394
  import_Popover = require("@simplybusiness/mobius/src/components/Popover/Popover.css");
3303
- import_jsx_runtime44 = require("react/jsx-runtime");
3395
+ import_jsx_runtime46 = require("react/jsx-runtime");
3304
3396
  }
3305
3397
  });
3306
3398
 
@@ -3324,17 +3416,17 @@ function warnAboutInvalidValues(value, minValue, maxValue) {
3324
3416
  console.warn("Progress value is greater than maxValue");
3325
3417
  }
3326
3418
  }
3327
- var import_dedupe35, import_react30, import_Progress, import_jsx_runtime45, sanitizedValue, getLabelComponent, DEFAULT_VALUE, DEFAULT_MIN_VALUE, DEFAULT_MAX_VALUE, Progress;
3419
+ var import_dedupe36, import_react31, import_Progress, import_jsx_runtime47, sanitizedValue, getLabelComponent, DEFAULT_VALUE, DEFAULT_MIN_VALUE, DEFAULT_MAX_VALUE, Progress;
3328
3420
  var init_Progress = __esm({
3329
3421
  "src/components/Progress/Progress.tsx"() {
3330
3422
  "use strict";
3331
3423
  "use client";
3332
- import_dedupe35 = __toESM(require("classnames/dedupe"));
3333
- import_react30 = require("react");
3424
+ import_dedupe36 = __toESM(require("classnames/dedupe"));
3425
+ import_react31 = require("react");
3334
3426
  init_Label2();
3335
3427
  init_VisuallyHidden2();
3336
3428
  import_Progress = require("@simplybusiness/mobius/src/components/Progress/Progress.css");
3337
- import_jsx_runtime45 = require("react/jsx-runtime");
3429
+ import_jsx_runtime47 = require("react/jsx-runtime");
3338
3430
  sanitizedValue = (value, defaultValue) => {
3339
3431
  if (value === void 0 || Number.isNaN(value)) {
3340
3432
  return defaultValue;
@@ -3343,7 +3435,7 @@ var init_Progress = __esm({
3343
3435
  };
3344
3436
  getLabelComponent = (label, progressLabelId, showLabel) => {
3345
3437
  if (showLabel) {
3346
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
3438
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
3347
3439
  Label,
3348
3440
  {
3349
3441
  id: progressLabelId,
@@ -3353,7 +3445,7 @@ var init_Progress = __esm({
3353
3445
  }
3354
3446
  );
3355
3447
  }
3356
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(VisuallyHidden, { children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
3448
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(VisuallyHidden, { children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
3357
3449
  Label,
3358
3450
  {
3359
3451
  id: progressLabelId,
@@ -3367,8 +3459,8 @@ var init_Progress = __esm({
3367
3459
  DEFAULT_MIN_VALUE = 0;
3368
3460
  DEFAULT_MAX_VALUE = 100;
3369
3461
  Progress = ({ ref, ...props }) => {
3370
- const progressId = (0, import_react30.useId)();
3371
- const progressLabelId = (0, import_react30.useId)();
3462
+ const progressId = (0, import_react31.useId)();
3463
+ const progressLabelId = (0, import_react31.useId)();
3372
3464
  const {
3373
3465
  id,
3374
3466
  label,
@@ -3393,7 +3485,7 @@ var init_Progress = __esm({
3393
3485
  100
3394
3486
  );
3395
3487
  const barWidth = `${percentage}%`;
3396
- const classes = (0, import_dedupe35.default)("mobius", "mobius-progress", className, {
3488
+ const classes = (0, import_dedupe36.default)("mobius", "mobius-progress", className, {
3397
3489
  "--is-primary": variant === "primary",
3398
3490
  "--is-secondary": variant === "secondary"
3399
3491
  });
@@ -3403,7 +3495,7 @@ var init_Progress = __esm({
3403
3495
  progressBarProps["aria-valuenow"] = value.toString();
3404
3496
  progressBarProps["aria-valuetext"] = valueFormatter instanceof Function ? valueFormatter(value, minValue, maxValue) : barWidth;
3405
3497
  const labelComponent = getLabelComponent(label, progressLabelId, showLabel);
3406
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
3498
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
3407
3499
  "div",
3408
3500
  {
3409
3501
  id: id || progressId,
@@ -3414,8 +3506,8 @@ var init_Progress = __esm({
3414
3506
  "aria-labelledby": progressLabelId,
3415
3507
  children: [
3416
3508
  labelComponent,
3417
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "mobius-progress__track", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "mobius-progress__bar", style: { width: barWidth } }) }),
3418
- showValueLabel && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Label, { "data-testid": "value-label", elementType: "span", children: progressBarProps["aria-valuetext"] })
3509
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "mobius-progress__track", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "mobius-progress__bar", style: { width: barWidth } }) }),
3510
+ showValueLabel && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Label, { "data-testid": "value-label", elementType: "span", children: progressBarProps["aria-valuetext"] })
3419
3511
  ]
3420
3512
  }
3421
3513
  );
@@ -3433,17 +3525,17 @@ var init_Progress2 = __esm({
3433
3525
  });
3434
3526
 
3435
3527
  // src/components/Radio/Radio.tsx
3436
- var import_dedupe36, import_react31, import_Radio, import_jsx_runtime46, Radio;
3528
+ var import_dedupe37, import_react32, import_Radio, import_jsx_runtime48, Radio;
3437
3529
  var init_Radio = __esm({
3438
3530
  "src/components/Radio/Radio.tsx"() {
3439
3531
  "use strict";
3440
3532
  "use client";
3441
- import_dedupe36 = __toESM(require("classnames/dedupe"));
3442
- import_react31 = require("react");
3533
+ import_dedupe37 = __toESM(require("classnames/dedupe"));
3534
+ import_react32 = require("react");
3443
3535
  init_ErrorMessage2();
3444
3536
  init_Label2();
3445
3537
  import_Radio = require("@simplybusiness/mobius/src/components/Radio/Radio.css");
3446
- import_jsx_runtime46 = require("react/jsx-runtime");
3538
+ import_jsx_runtime48 = require("react/jsx-runtime");
3447
3539
  Radio = ({ ref, ...props }) => {
3448
3540
  const {
3449
3541
  children,
@@ -3467,19 +3559,19 @@ var init_Radio = __esm({
3467
3559
  const isMultiline = label && children;
3468
3560
  const isControlled = selected !== void 0;
3469
3561
  const isChecked = isControlled ? selected === value : defaultChecked;
3470
- const contentRef = (0, import_react31.useRef)(null);
3471
- const prevOverflowRef = (0, import_react31.useRef)({
3562
+ const contentRef = (0, import_react32.useRef)(null);
3563
+ const prevOverflowRef = (0, import_react32.useRef)({
3472
3564
  vertical: false,
3473
3565
  horizontal: false
3474
3566
  });
3475
- const hasIconFirst = (0, import_react31.useMemo)(() => {
3476
- if (!children || import_react31.Children.count(children) === 0) return false;
3477
- const firstChild = import_react31.Children.toArray(children)[0];
3478
- if (!(0, import_react31.isValidElement)(firstChild)) return false;
3567
+ const hasIconFirst = (0, import_react32.useMemo)(() => {
3568
+ if (!children || import_react32.Children.count(children) === 0) return false;
3569
+ const firstChild = import_react32.Children.toArray(children)[0];
3570
+ if (!(0, import_react32.isValidElement)(firstChild)) return false;
3479
3571
  const props2 = firstChild.props;
3480
3572
  return "icon" in props2 && props2.icon !== void 0;
3481
3573
  }, [children]);
3482
- (0, import_react31.useLayoutEffect)(() => {
3574
+ (0, import_react32.useLayoutEffect)(() => {
3483
3575
  if (!contentRef.current || !onOverflow) return;
3484
3576
  if (orientation === "vertical") {
3485
3577
  return;
@@ -3508,13 +3600,13 @@ var init_Radio = __esm({
3508
3600
  "--is-multiline": !!isMultiline,
3509
3601
  "--is-required": isRequired
3510
3602
  };
3511
- const containerClasses = (0, import_dedupe36.default)(
3603
+ const containerClasses = (0, import_dedupe37.default)(
3512
3604
  "mobius-radio__label",
3513
3605
  radioClasses,
3514
3606
  className,
3515
3607
  { "--has-icon-first": hasIconFirst }
3516
3608
  );
3517
- const inputClasses = (0, import_dedupe36.default)("mobius-radio__input", radioClasses);
3609
+ const inputClasses = (0, import_dedupe37.default)("mobius-radio__input", radioClasses);
3518
3610
  const { "aria-describedby": _ariaDescribedBy, ...rest } = otherProps;
3519
3611
  const handleChange = (event) => {
3520
3612
  if (setSelected) {
@@ -3528,9 +3620,9 @@ var init_Radio = __esm({
3528
3620
  onChange(adaptedEvent);
3529
3621
  }
3530
3622
  };
3531
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(import_jsx_runtime46.Fragment, { children: [
3532
- /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(Label, { className: containerClasses, children: [
3533
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
3623
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_jsx_runtime48.Fragment, { children: [
3624
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(Label, { className: containerClasses, children: [
3625
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
3534
3626
  "input",
3535
3627
  {
3536
3628
  "aria-describedby": otherProps["aria-describedby"],
@@ -3547,12 +3639,12 @@ var init_Radio = __esm({
3547
3639
  ...rest
3548
3640
  }
3549
3641
  ),
3550
- isMultiline ? /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("div", { ref: contentRef, className: "mobius-radio__content--multiline", children: [
3551
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: "mobius-radio__content-first-line", children: label }),
3552
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: "mobius-radio__extra-content", children })
3553
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { ref: contentRef, className: "mobius-radio__content", children: label || children })
3642
+ isMultiline ? /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { ref: contentRef, className: "mobius-radio__content--multiline", children: [
3643
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "mobius-radio__content-first-line", children: label }),
3644
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "mobius-radio__extra-content", children })
3645
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { ref: contentRef, className: "mobius-radio__content", children: label || children })
3554
3646
  ] }),
3555
- errorMessage && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(ErrorMessage, { errorMessage })
3647
+ errorMessage && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(ErrorMessage, { errorMessage })
3556
3648
  ] });
3557
3649
  };
3558
3650
  Radio.displayName = "Radio";
@@ -3560,19 +3652,19 @@ var init_Radio = __esm({
3560
3652
  });
3561
3653
 
3562
3654
  // src/components/Radio/RadioGroup.tsx
3563
- var import_dedupe37, import_react32, import_jsx_runtime47, getDefaultVal, RadioGroup;
3655
+ var import_dedupe38, import_react33, import_jsx_runtime49, getDefaultVal, RadioGroup;
3564
3656
  var init_RadioGroup = __esm({
3565
3657
  "src/components/Radio/RadioGroup.tsx"() {
3566
3658
  "use strict";
3567
3659
  "use client";
3568
- import_dedupe37 = __toESM(require("classnames/dedupe"));
3569
- import_react32 = require("react");
3660
+ import_dedupe38 = __toESM(require("classnames/dedupe"));
3661
+ import_react33 = require("react");
3570
3662
  init_hooks();
3571
3663
  init_spaceDelimitedList();
3572
3664
  init_ErrorMessage2();
3573
3665
  init_Label2();
3574
3666
  init_Stack2();
3575
- import_jsx_runtime47 = require("react/jsx-runtime");
3667
+ import_jsx_runtime49 = require("react/jsx-runtime");
3576
3668
  getDefaultVal = (children, defaultValue) => {
3577
3669
  if (Array.isArray(children) && defaultValue) {
3578
3670
  const option = children?.find((item) => item.props.value === defaultValue);
@@ -3600,15 +3692,15 @@ var init_RadioGroup = __esm({
3600
3692
  ...rest
3601
3693
  } = props;
3602
3694
  const defaultSelected = getDefaultVal(children, value || defaultValue);
3603
- const [selected, setSelected] = (0, import_react32.useState)(defaultSelected);
3604
- const overflowsRef = (0, import_react32.useRef)({});
3605
- const [hasOverflow, setHasOverflow] = (0, import_react32.useState)(false);
3606
- (0, import_react32.useEffect)(() => {
3695
+ const [selected, setSelected] = (0, import_react33.useState)(defaultSelected);
3696
+ const overflowsRef = (0, import_react33.useRef)({});
3697
+ const [hasOverflow, setHasOverflow] = (0, import_react33.useState)(false);
3698
+ (0, import_react33.useEffect)(() => {
3607
3699
  if (value !== void 0) {
3608
3700
  setSelected(value);
3609
3701
  }
3610
3702
  }, [value]);
3611
- const handleOverflow = (0, import_react32.useCallback)(
3703
+ const handleOverflow = (0, import_react33.useCallback)(
3612
3704
  (radioValue, overflow) => {
3613
3705
  overflowsRef.current = {
3614
3706
  ...overflowsRef.current,
@@ -3632,26 +3724,26 @@ var init_RadioGroup = __esm({
3632
3724
  [`--is-${effectiveOrientation}`]: true,
3633
3725
  [className || ""]: true
3634
3726
  };
3635
- const radioGroupClasses = (0, import_dedupe37.default)(
3727
+ const radioGroupClasses = (0, import_dedupe38.default)(
3636
3728
  "mobius",
3637
3729
  "mobius-radio-group",
3638
3730
  radioClasses,
3639
3731
  validationClasses
3640
3732
  );
3641
- const radioWrapperClasses = (0, import_dedupe37.default)("mobius-radio__wrapper", {
3733
+ const radioWrapperClasses = (0, import_dedupe38.default)("mobius-radio__wrapper", {
3642
3734
  [`--is-${effectiveOrientation}`]: true
3643
3735
  });
3644
- const labelClasses = (0, import_dedupe37.default)(radioClasses, validationClasses);
3645
- const errorMessageId = (0, import_react32.useId)();
3646
- const defaultNameAttrId = (0, import_react32.useId)();
3736
+ const labelClasses = (0, import_dedupe38.default)(radioClasses, validationClasses);
3737
+ const errorMessageId = (0, import_react33.useId)();
3738
+ const defaultNameAttrId = (0, import_react33.useId)();
3647
3739
  const nameAttribute = name || defaultNameAttrId;
3648
3740
  const shouldErrorMessageShow = errorMessage ? errorMessageId : void 0;
3649
3741
  const describedBy = spaceDelimitedList([
3650
3742
  shouldErrorMessageShow,
3651
3743
  props["aria-describedby"]
3652
3744
  ]);
3653
- const labelId = (0, import_react32.useId)();
3654
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
3745
+ const labelId = (0, import_react33.useId)();
3746
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
3655
3747
  "div",
3656
3748
  {
3657
3749
  ...rest,
@@ -3667,12 +3759,12 @@ var init_RadioGroup = __esm({
3667
3759
  ref,
3668
3760
  className: radioGroupClasses,
3669
3761
  role: "radiogroup",
3670
- children: /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(Stack, { gap: "xs", children: [
3671
- label && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Label, { htmlFor: name, id: labelId, className: labelClasses, children: label }),
3672
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: radioWrapperClasses, children: import_react32.Children.map(children, (child) => {
3673
- if ((0, import_react32.isValidElement)(child)) {
3762
+ children: /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(Stack, { gap: "xs", children: [
3763
+ label && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Label, { htmlFor: name, id: labelId, className: labelClasses, children: label }),
3764
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: radioWrapperClasses, children: import_react33.Children.map(children, (child) => {
3765
+ if ((0, import_react33.isValidElement)(child)) {
3674
3766
  const childValue = child.props.value;
3675
- return (0, import_react32.cloneElement)(
3767
+ return (0, import_react33.cloneElement)(
3676
3768
  child,
3677
3769
  {
3678
3770
  orientation: effectiveOrientation,
@@ -3690,7 +3782,7 @@ var init_RadioGroup = __esm({
3690
3782
  }
3691
3783
  return child;
3692
3784
  }) }),
3693
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(ErrorMessage, { id: errorMessageId, errorMessage })
3785
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(ErrorMessage, { id: errorMessageId, errorMessage })
3694
3786
  ] })
3695
3787
  }
3696
3788
  );
@@ -3709,47 +3801,47 @@ var init_Radio2 = __esm({
3709
3801
  });
3710
3802
 
3711
3803
  // src/components/Segment/SegmentGroup.tsx
3712
- var import_dedupe38, import_jsx_runtime48, SegmentGroup;
3804
+ var import_dedupe39, import_jsx_runtime50, SegmentGroup;
3713
3805
  var init_SegmentGroup = __esm({
3714
3806
  "src/components/Segment/SegmentGroup.tsx"() {
3715
3807
  "use strict";
3716
- import_dedupe38 = __toESM(require("classnames/dedupe"));
3717
- import_jsx_runtime48 = require("react/jsx-runtime");
3808
+ import_dedupe39 = __toESM(require("classnames/dedupe"));
3809
+ import_jsx_runtime50 = require("react/jsx-runtime");
3718
3810
  SegmentGroup = (props) => {
3719
3811
  const { children, horizontal, gap, className, ...rest } = props;
3720
3812
  const gapClass = gap ? `gap-${gap}` : "";
3721
- const classes = (0, import_dedupe38.default)(
3813
+ const classes = (0, import_dedupe39.default)(
3722
3814
  "mobius",
3723
3815
  "mobius-segment-group",
3724
3816
  className,
3725
3817
  { "--is-horizontal": horizontal },
3726
3818
  gapClass
3727
3819
  );
3728
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: classes, ...rest, children });
3820
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: classes, ...rest, children });
3729
3821
  };
3730
3822
  SegmentGroup.displayName = "SegmentGroup";
3731
3823
  }
3732
3824
  });
3733
3825
 
3734
3826
  // src/components/Segment/Segment.tsx
3735
- var import_dedupe39, import_Segment, import_jsx_runtime49, Segment;
3827
+ var import_dedupe40, import_Segment, import_jsx_runtime51, Segment;
3736
3828
  var init_Segment = __esm({
3737
3829
  "src/components/Segment/Segment.tsx"() {
3738
3830
  "use strict";
3739
- import_dedupe39 = __toESM(require("classnames/dedupe"));
3831
+ import_dedupe40 = __toESM(require("classnames/dedupe"));
3740
3832
  import_Segment = require("@simplybusiness/mobius/src/components/Segment/Segment.css");
3741
- import_jsx_runtime49 = require("react/jsx-runtime");
3833
+ import_jsx_runtime51 = require("react/jsx-runtime");
3742
3834
  Segment = (props) => {
3743
3835
  const { heading, children, colour, inverted, className, ...rest } = props;
3744
- const classes = (0, import_dedupe39.default)(
3836
+ const classes = (0, import_dedupe40.default)(
3745
3837
  "mobius",
3746
3838
  "mobius-segment",
3747
3839
  colour,
3748
3840
  { inverted },
3749
3841
  className
3750
3842
  );
3751
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: classes, ...rest, children: [
3752
- heading && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "mobius-segment__heading", children: heading }),
3843
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: classes, ...rest, children: [
3844
+ heading && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "mobius-segment__heading", children: heading }),
3753
3845
  children
3754
3846
  ] });
3755
3847
  };
@@ -3767,14 +3859,14 @@ var init_Segment2 = __esm({
3767
3859
  });
3768
3860
 
3769
3861
  // src/components/Select/Select.tsx
3770
- var import_icons12, import_dedupe40, import_react33, import_Select, import_jsx_runtime50, Select;
3862
+ var import_icons12, import_dedupe41, import_react34, import_Select, import_jsx_runtime52, Select;
3771
3863
  var init_Select = __esm({
3772
3864
  "src/components/Select/Select.tsx"() {
3773
3865
  "use strict";
3774
3866
  "use client";
3775
3867
  import_icons12 = require("@simplybusiness/icons");
3776
- import_dedupe40 = __toESM(require("classnames/dedupe"));
3777
- import_react33 = require("react");
3868
+ import_dedupe41 = __toESM(require("classnames/dedupe"));
3869
+ import_react34 = require("react");
3778
3870
  init_hooks();
3779
3871
  init_useLabel2();
3780
3872
  init_spaceDelimitedList();
@@ -3783,7 +3875,7 @@ var init_Select = __esm({
3783
3875
  init_Label2();
3784
3876
  init_Stack2();
3785
3877
  import_Select = require("@simplybusiness/mobius/src/components/Select/Select.css");
3786
- import_jsx_runtime50 = require("react/jsx-runtime");
3878
+ import_jsx_runtime52 = require("react/jsx-runtime");
3787
3879
  Select = ({ ref, ...props }) => {
3788
3880
  const {
3789
3881
  label,
@@ -3804,24 +3896,24 @@ var init_Select = __esm({
3804
3896
  "--is-required": typeof isRequired === "boolean" && isRequired,
3805
3897
  "--is-optional": typeof isRequired === "boolean" && !isRequired
3806
3898
  };
3807
- const sharedClasses = (0, import_dedupe40.default)(validationClasses, stateClasses);
3808
- const wrapperClasses = (0, import_dedupe40.default)(
3899
+ const sharedClasses = (0, import_dedupe41.default)(validationClasses, stateClasses);
3900
+ const wrapperClasses = (0, import_dedupe41.default)(
3809
3901
  "mobius-select__wrapper",
3810
3902
  sharedClasses,
3811
3903
  otherProps.className
3812
3904
  );
3813
- const selectClasses = (0, import_dedupe40.default)(
3905
+ const selectClasses = (0, import_dedupe41.default)(
3814
3906
  "mobius-select",
3815
3907
  sharedClasses,
3816
3908
  otherProps.className
3817
3909
  );
3818
- const labelClasses = (0, import_dedupe40.default)(
3910
+ const labelClasses = (0, import_dedupe41.default)(
3819
3911
  "mobius-label",
3820
3912
  sharedClasses,
3821
3913
  otherProps.className
3822
3914
  );
3823
- const iconClasses = (0, import_dedupe40.default)("mobius-select__icon", sharedClasses);
3824
- const errorMessageId = (0, import_react33.useId)();
3915
+ const iconClasses = (0, import_dedupe41.default)("mobius-select__icon", sharedClasses);
3916
+ const errorMessageId = (0, import_react34.useId)();
3825
3917
  const shouldErrorMessageShow = errorMessage ? errorMessageId : void 0;
3826
3918
  const describedBy = spaceDelimitedList([
3827
3919
  shouldErrorMessageShow,
@@ -3832,10 +3924,10 @@ var init_Select = __esm({
3832
3924
  onChange(e);
3833
3925
  }
3834
3926
  };
3835
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(Stack, { className: "mobius mobius-select__outer", gap: "xs", children: [
3836
- label && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Label, { ...labelProps, className: labelClasses, children: label }),
3837
- /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: wrapperClasses, children: [
3838
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
3927
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(Stack, { className: "mobius mobius-select__outer", gap: "xs", children: [
3928
+ label && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Label, { ...labelProps, className: labelClasses, children: label }),
3929
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("div", { className: wrapperClasses, children: [
3930
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
3839
3931
  "select",
3840
3932
  {
3841
3933
  ...otherProps,
@@ -3851,9 +3943,9 @@ var init_Select = __esm({
3851
3943
  onChange: handleChange
3852
3944
  }
3853
3945
  ),
3854
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("span", { className: iconClasses, children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Icon, { icon: import_icons12.chevronDown }) })
3946
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: iconClasses, children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Icon, { icon: import_icons12.chevronDown }) })
3855
3947
  ] }),
3856
- errorMessage && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(ErrorMessage, { id: errorMessageId, errorMessage })
3948
+ errorMessage && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(ErrorMessage, { id: errorMessageId, errorMessage })
3857
3949
  ] });
3858
3950
  };
3859
3951
  Select.displayName = "Select";
@@ -3869,15 +3961,15 @@ var init_Select2 = __esm({
3869
3961
  });
3870
3962
 
3871
3963
  // src/components/Slider/Slider.tsx
3872
- var import_dedupe41, import_react34, import_Slider, import_jsx_runtime51;
3964
+ var import_dedupe42, import_react35, import_Slider, import_jsx_runtime53;
3873
3965
  var init_Slider = __esm({
3874
3966
  "src/components/Slider/Slider.tsx"() {
3875
3967
  "use strict";
3876
3968
  "use client";
3877
- import_dedupe41 = __toESM(require("classnames/dedupe"));
3878
- import_react34 = require("react");
3969
+ import_dedupe42 = __toESM(require("classnames/dedupe"));
3970
+ import_react35 = require("react");
3879
3971
  import_Slider = require("@simplybusiness/mobius/src/components/Slider/Slider.css");
3880
- import_jsx_runtime51 = require("react/jsx-runtime");
3972
+ import_jsx_runtime53 = require("react/jsx-runtime");
3881
3973
  }
3882
3974
  });
3883
3975
 
@@ -3890,19 +3982,19 @@ var init_Slider2 = __esm({
3890
3982
  });
3891
3983
 
3892
3984
  // src/components/SVG/SVG.tsx
3893
- var import_react35, import_dedupe42, import_jsx_runtime52, SVG;
3985
+ var import_react36, import_dedupe43, import_jsx_runtime54, SVG;
3894
3986
  var init_SVG = __esm({
3895
3987
  "src/components/SVG/SVG.tsx"() {
3896
3988
  "use strict";
3897
- import_react35 = require("react");
3898
- import_dedupe42 = __toESM(require("classnames/dedupe"));
3899
- import_jsx_runtime52 = require("react/jsx-runtime");
3989
+ import_react36 = require("react");
3990
+ import_dedupe43 = __toESM(require("classnames/dedupe"));
3991
+ import_jsx_runtime54 = require("react/jsx-runtime");
3900
3992
  SVG = ({ ref, ...props }) => {
3901
3993
  const { children, className, ...otherProps } = props;
3902
- const classes = (0, import_dedupe42.default)("mobius", "mobius-svg", className);
3903
- const svgNode = import_react35.Children.only(children);
3994
+ const classes = (0, import_dedupe43.default)("mobius", "mobius-svg", className);
3995
+ const svgNode = import_react36.Children.only(children);
3904
3996
  const { children: svgChildren, viewBox, xmlns } = svgNode.props;
3905
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
3997
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
3906
3998
  "svg",
3907
3999
  {
3908
4000
  viewBox,
@@ -3927,16 +4019,16 @@ var init_SVG2 = __esm({
3927
4019
  });
3928
4020
 
3929
4021
  // src/components/Switch/Switch.tsx
3930
- var import_react36, import_dedupe43, import_Switch, import_jsx_runtime53, Switch;
4022
+ var import_react37, import_dedupe44, import_Switch, import_jsx_runtime55, Switch;
3931
4023
  var init_Switch = __esm({
3932
4024
  "src/components/Switch/Switch.tsx"() {
3933
4025
  "use strict";
3934
4026
  "use client";
3935
- import_react36 = require("react");
3936
- import_dedupe43 = __toESM(require("classnames/dedupe"));
4027
+ import_react37 = require("react");
4028
+ import_dedupe44 = __toESM(require("classnames/dedupe"));
3937
4029
  init_VisuallyHidden2();
3938
4030
  import_Switch = require("@simplybusiness/mobius/src/components/Switch/Switch.css");
3939
- import_jsx_runtime53 = require("react/jsx-runtime");
4031
+ import_jsx_runtime55 = require("react/jsx-runtime");
3940
4032
  Switch = ({ ref, ...props }) => {
3941
4033
  const {
3942
4034
  checked = false,
@@ -3945,11 +4037,11 @@ var init_Switch = __esm({
3945
4037
  isDisabled = false,
3946
4038
  ...otherProps
3947
4039
  } = props;
3948
- const [enabled, setEnabled] = (0, import_react36.useState)(checked);
3949
- (0, import_react36.useEffect)(() => {
4040
+ const [enabled, setEnabled] = (0, import_react37.useState)(checked);
4041
+ (0, import_react37.useEffect)(() => {
3950
4042
  setEnabled(checked);
3951
4043
  }, [checked]);
3952
- const classes = (0, import_dedupe43.default)(
4044
+ const classes = (0, import_dedupe44.default)(
3953
4045
  "mobius",
3954
4046
  "mobius-switch",
3955
4047
  {
@@ -3964,9 +4056,9 @@ var init_Switch = __esm({
3964
4056
  onChange(event);
3965
4057
  }
3966
4058
  };
3967
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("label", { ref, className: classes, children: [
3968
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(VisuallyHidden, { children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("span", { children: enabled ? "On" : "Off" }) }),
3969
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
4059
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("label", { ref, className: classes, children: [
4060
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(VisuallyHidden, { children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("span", { children: enabled ? "On" : "Off" }) }),
4061
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
3970
4062
  "input",
3971
4063
  {
3972
4064
  type: "checkbox",
@@ -3977,7 +4069,7 @@ var init_Switch = __esm({
3977
4069
  ...otherProps
3978
4070
  }
3979
4071
  ),
3980
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("span", { className: "mobius-switch__slider" })
4072
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("span", { className: "mobius-switch__slider" })
3981
4073
  ] });
3982
4074
  };
3983
4075
  Switch.displayName = "Switch";
@@ -3993,114 +4085,114 @@ var init_Switch2 = __esm({
3993
4085
  });
3994
4086
 
3995
4087
  // src/components/Table/Table.tsx
3996
- var import_dedupe44, import_Table, import_jsx_runtime54, Table;
4088
+ var import_dedupe45, import_Table, import_jsx_runtime56, Table;
3997
4089
  var init_Table = __esm({
3998
4090
  "src/components/Table/Table.tsx"() {
3999
4091
  "use strict";
4000
- import_dedupe44 = __toESM(require("classnames/dedupe"));
4092
+ import_dedupe45 = __toESM(require("classnames/dedupe"));
4001
4093
  import_Table = require("@simplybusiness/mobius/src/components/Table/Table.css");
4002
- import_jsx_runtime54 = require("react/jsx-runtime");
4094
+ import_jsx_runtime56 = require("react/jsx-runtime");
4003
4095
  Table = ({ ref, ...props }) => {
4004
- const classes = (0, import_dedupe44.default)("mobius", "mobius-table", props.className);
4005
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("table", { ref, ...props, className: classes });
4096
+ const classes = (0, import_dedupe45.default)("mobius", "mobius-table", props.className);
4097
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("table", { ref, ...props, className: classes });
4006
4098
  };
4007
4099
  Table.displayName = "Table";
4008
4100
  }
4009
4101
  });
4010
4102
 
4011
4103
  // src/components/Table/Head.tsx
4012
- var import_dedupe45, import_jsx_runtime55, Head;
4104
+ var import_dedupe46, import_jsx_runtime57, Head;
4013
4105
  var init_Head = __esm({
4014
4106
  "src/components/Table/Head.tsx"() {
4015
4107
  "use strict";
4016
- import_dedupe45 = __toESM(require("classnames/dedupe"));
4017
- import_jsx_runtime55 = require("react/jsx-runtime");
4108
+ import_dedupe46 = __toESM(require("classnames/dedupe"));
4109
+ import_jsx_runtime57 = require("react/jsx-runtime");
4018
4110
  Head = ({ ref, ...props }) => {
4019
- const classes = (0, import_dedupe45.default)("mobius", "mobius-table__head", props.className);
4020
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("thead", { ref, ...props, className: classes });
4111
+ const classes = (0, import_dedupe46.default)("mobius", "mobius-table__head", props.className);
4112
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("thead", { ref, ...props, className: classes });
4021
4113
  };
4022
4114
  Head.displayName = "Table.Head";
4023
4115
  }
4024
4116
  });
4025
4117
 
4026
4118
  // src/components/Table/Body.tsx
4027
- var import_dedupe46, import_jsx_runtime56, Body;
4119
+ var import_dedupe47, import_jsx_runtime58, Body;
4028
4120
  var init_Body = __esm({
4029
4121
  "src/components/Table/Body.tsx"() {
4030
4122
  "use strict";
4031
- import_dedupe46 = __toESM(require("classnames/dedupe"));
4032
- import_jsx_runtime56 = require("react/jsx-runtime");
4123
+ import_dedupe47 = __toESM(require("classnames/dedupe"));
4124
+ import_jsx_runtime58 = require("react/jsx-runtime");
4033
4125
  Body = ({ ref, ...props }) => {
4034
- const classes = (0, import_dedupe46.default)("mobius", "mobius-table__body", props.className);
4035
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("tbody", { ref, ...props, className: classes });
4126
+ const classes = (0, import_dedupe47.default)("mobius", "mobius-table__body", props.className);
4127
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("tbody", { ref, ...props, className: classes });
4036
4128
  };
4037
4129
  Body.displayName = "Table.Body";
4038
4130
  }
4039
4131
  });
4040
4132
 
4041
4133
  // src/components/Table/Foot.tsx
4042
- var import_dedupe47, import_jsx_runtime57, Foot;
4134
+ var import_dedupe48, import_jsx_runtime59, Foot;
4043
4135
  var init_Foot = __esm({
4044
4136
  "src/components/Table/Foot.tsx"() {
4045
4137
  "use strict";
4046
- import_dedupe47 = __toESM(require("classnames/dedupe"));
4047
- import_jsx_runtime57 = require("react/jsx-runtime");
4138
+ import_dedupe48 = __toESM(require("classnames/dedupe"));
4139
+ import_jsx_runtime59 = require("react/jsx-runtime");
4048
4140
  Foot = ({ ref, ...props }) => {
4049
- const classes = (0, import_dedupe47.default)("mobius", "mobius-table__foot", props.className);
4050
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("tfoot", { ref, ...props, className: classes });
4141
+ const classes = (0, import_dedupe48.default)("mobius", "mobius-table__foot", props.className);
4142
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("tfoot", { ref, ...props, className: classes });
4051
4143
  };
4052
4144
  Foot.displayName = "Table.Foot";
4053
4145
  }
4054
4146
  });
4055
4147
 
4056
4148
  // src/components/Table/Row.tsx
4057
- var import_dedupe48, import_jsx_runtime58, Row;
4149
+ var import_dedupe49, import_jsx_runtime60, Row;
4058
4150
  var init_Row = __esm({
4059
4151
  "src/components/Table/Row.tsx"() {
4060
4152
  "use strict";
4061
- import_dedupe48 = __toESM(require("classnames/dedupe"));
4062
- import_jsx_runtime58 = require("react/jsx-runtime");
4153
+ import_dedupe49 = __toESM(require("classnames/dedupe"));
4154
+ import_jsx_runtime60 = require("react/jsx-runtime");
4063
4155
  Row = ({ ref, ...props }) => {
4064
- const classes = (0, import_dedupe48.default)("mobius", "mobius-table__row", props.className);
4065
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("tr", { ref, ...props, className: classes });
4156
+ const classes = (0, import_dedupe49.default)("mobius", "mobius-table__row", props.className);
4157
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("tr", { ref, ...props, className: classes });
4066
4158
  };
4067
4159
  Row.displayName = "Table.Row";
4068
4160
  }
4069
4161
  });
4070
4162
 
4071
4163
  // src/components/Table/HeaderCell.tsx
4072
- var import_dedupe49, import_jsx_runtime59, HeaderCell;
4164
+ var import_dedupe50, import_jsx_runtime61, HeaderCell;
4073
4165
  var init_HeaderCell = __esm({
4074
4166
  "src/components/Table/HeaderCell.tsx"() {
4075
4167
  "use strict";
4076
- import_dedupe49 = __toESM(require("classnames/dedupe"));
4077
- import_jsx_runtime59 = require("react/jsx-runtime");
4168
+ import_dedupe50 = __toESM(require("classnames/dedupe"));
4169
+ import_jsx_runtime61 = require("react/jsx-runtime");
4078
4170
  HeaderCell = ({ ref, ...props }) => {
4079
- const classes = (0, import_dedupe49.default)(
4171
+ const classes = (0, import_dedupe50.default)(
4080
4172
  "mobius",
4081
4173
  "mobius-table__head-cell",
4082
4174
  props.className
4083
4175
  );
4084
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("th", { ...props, ref, className: classes });
4176
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("th", { ...props, ref, className: classes });
4085
4177
  };
4086
4178
  HeaderCell.displayName = "Table.HeaderCell";
4087
4179
  }
4088
4180
  });
4089
4181
 
4090
4182
  // src/components/Table/Cell.tsx
4091
- var import_dedupe50, import_jsx_runtime60, Cell;
4183
+ var import_dedupe51, import_jsx_runtime62, Cell;
4092
4184
  var init_Cell = __esm({
4093
4185
  "src/components/Table/Cell.tsx"() {
4094
4186
  "use strict";
4095
- import_dedupe50 = __toESM(require("classnames/dedupe"));
4096
- import_jsx_runtime60 = require("react/jsx-runtime");
4187
+ import_dedupe51 = __toESM(require("classnames/dedupe"));
4188
+ import_jsx_runtime62 = require("react/jsx-runtime");
4097
4189
  Cell = ({ ref, ...props }) => {
4098
- const classes = (0, import_dedupe50.default)(
4190
+ const classes = (0, import_dedupe51.default)(
4099
4191
  "mobius",
4100
4192
  "mobius-table__body-cell",
4101
4193
  props.className
4102
4194
  );
4103
- return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("td", { ref, ...props, className: classes });
4195
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("td", { ref, ...props, className: classes });
4104
4196
  };
4105
4197
  Cell.displayName = "Table.Cell";
4106
4198
  }
@@ -4130,37 +4222,6 @@ var init_Table2 = __esm({
4130
4222
  }
4131
4223
  });
4132
4224
 
4133
- // src/components/Text/Text.tsx
4134
- var import_dedupe51, import_Text, import_jsx_runtime61, getElementType, Text;
4135
- var init_Text = __esm({
4136
- "src/components/Text/Text.tsx"() {
4137
- "use strict";
4138
- import_dedupe51 = __toESM(require("classnames/dedupe"));
4139
- import_Text = require("@simplybusiness/mobius/src/components/Text/Text.css");
4140
- import_jsx_runtime61 = require("react/jsx-runtime");
4141
- getElementType = (variant, elementType) => {
4142
- if (variant) {
4143
- return ["h1", "h2", "h3", "h4"].includes(variant) ? variant : "p";
4144
- }
4145
- return elementType || "p";
4146
- };
4147
- Text = ({ ref, elementType: Component = "p", ...props }) => {
4148
- const { variant, className, spacing, ...otherProps } = props;
4149
- const elementType = getElementType(variant, Component);
4150
- const variantType = variant || elementType;
4151
- const classes = (0, import_dedupe51.default)(
4152
- "mobius",
4153
- "mobius-text",
4154
- { [`--is-${variantType}`]: variantType },
4155
- { [`--has-line-height-${spacing}`]: spacing },
4156
- className
4157
- );
4158
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Component, { ref, ...otherProps, className: classes });
4159
- };
4160
- Text.displayName = "Text";
4161
- }
4162
- });
4163
-
4164
4225
  // src/components/Text/index.tsx
4165
4226
  var init_Text2 = __esm({
4166
4227
  "src/components/Text/index.tsx"() {
@@ -4170,12 +4231,12 @@ var init_Text2 = __esm({
4170
4231
  });
4171
4232
 
4172
4233
  // src/components/TextAreaInput/TextAreaInput.tsx
4173
- var import_dedupe52, import_jsx_runtime62, TextAreaInput;
4234
+ var import_dedupe52, import_jsx_runtime63, TextAreaInput;
4174
4235
  var init_TextAreaInput = __esm({
4175
4236
  "src/components/TextAreaInput/TextAreaInput.tsx"() {
4176
4237
  "use strict";
4177
4238
  import_dedupe52 = __toESM(require("classnames/dedupe"));
4178
- import_jsx_runtime62 = require("react/jsx-runtime");
4239
+ import_jsx_runtime63 = require("react/jsx-runtime");
4179
4240
  TextAreaInput = ({ ref, ...props }) => {
4180
4241
  const { isSelected, isDisabled, isReadOnly, isRequired, ...otherProps } = props;
4181
4242
  const classes = (0, import_dedupe52.default)(
@@ -4188,7 +4249,7 @@ var init_TextAreaInput = __esm({
4188
4249
  },
4189
4250
  otherProps.className
4190
4251
  );
4191
- return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
4252
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
4192
4253
  "textarea",
4193
4254
  {
4194
4255
  ref,
@@ -4212,7 +4273,7 @@ var init_TextAreaInput2 = __esm({
4212
4273
  });
4213
4274
 
4214
4275
  // src/components/TextArea/TextArea.tsx
4215
- var import_dedupe53, import_TextArea, import_jsx_runtime63, TextArea;
4276
+ var import_dedupe53, import_TextArea, import_jsx_runtime64, TextArea;
4216
4277
  var init_TextArea = __esm({
4217
4278
  "src/components/TextArea/TextArea.tsx"() {
4218
4279
  "use strict";
@@ -4224,7 +4285,7 @@ var init_TextArea = __esm({
4224
4285
  init_Stack2();
4225
4286
  init_TextAreaInput2();
4226
4287
  import_TextArea = require("@simplybusiness/mobius/src/components/TextArea/TextArea.css");
4227
- import_jsx_runtime63 = require("react/jsx-runtime");
4288
+ import_jsx_runtime64 = require("react/jsx-runtime");
4228
4289
  TextArea = ({ ref, ...props }) => {
4229
4290
  const {
4230
4291
  isDisabled,
@@ -4244,9 +4305,9 @@ var init_TextArea = __esm({
4244
4305
  },
4245
4306
  validationClasses
4246
4307
  );
4247
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(Stack, { className: classes, gap: "xs", children: [
4248
- label && /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Label, { ...labelProps, className: labelClasses, children: props.label }),
4249
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
4308
+ return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(Stack, { className: classes, gap: "xs", children: [
4309
+ label && /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Label, { ...labelProps, className: labelClasses, children: props.label }),
4310
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
4250
4311
  TextAreaInput,
4251
4312
  {
4252
4313
  ...otherProps,
@@ -4257,7 +4318,7 @@ var init_TextArea = __esm({
4257
4318
  "aria-invalid": errorMessage != null
4258
4319
  }
4259
4320
  ),
4260
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(ErrorMessage, { ...errorMessageProps, errorMessage })
4321
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(ErrorMessage, { ...errorMessageProps, errorMessage })
4261
4322
  ] });
4262
4323
  };
4263
4324
  TextArea.displayName = "TextArea";
@@ -4272,53 +4333,6 @@ var init_TextArea2 = __esm({
4272
4333
  }
4273
4334
  });
4274
4335
 
4275
- // src/components/TextOrHTML/TextOrHTML.tsx
4276
- var import_react37, import_jsx_runtime64, isHTML, TextOrHTML;
4277
- var init_TextOrHTML = __esm({
4278
- "src/components/TextOrHTML/TextOrHTML.tsx"() {
4279
- "use strict";
4280
- import_react37 = require("react");
4281
- init_Text();
4282
- import_jsx_runtime64 = require("react/jsx-runtime");
4283
- isHTML = (text) => /^\s*<[a-z]/i.test(text);
4284
- TextOrHTML = ({
4285
- ref,
4286
- text,
4287
- htmlClassName,
4288
- htmlElementType,
4289
- textWrapper = false,
4290
- autoDetect = false,
4291
- ...textProps
4292
- }) => {
4293
- const textIsHTML = autoDetect && isHTML(text);
4294
- const shouldWrapInText = autoDetect ? textWrapper || !textIsHTML : textWrapper;
4295
- const resolvedElementType = htmlElementType ?? (textIsHTML ? "div" : "span");
4296
- const DangerousComponent = resolvedElementType;
4297
- const dangerousHTML = (0, import_react37.useMemo)(() => ({ __html: text }), [text]);
4298
- const dangerousElement = /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
4299
- DangerousComponent,
4300
- {
4301
- className: htmlClassName,
4302
- dangerouslySetInnerHTML: dangerousHTML
4303
- }
4304
- );
4305
- if (shouldWrapInText) {
4306
- return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Text, { ref, ...textProps, children: dangerousElement });
4307
- }
4308
- return dangerousElement;
4309
- };
4310
- TextOrHTML.displayName = "TextOrHTML";
4311
- }
4312
- });
4313
-
4314
- // src/components/TextOrHTML/index.tsx
4315
- var init_TextOrHTML2 = __esm({
4316
- "src/components/TextOrHTML/index.tsx"() {
4317
- "use strict";
4318
- init_TextOrHTML();
4319
- }
4320
- });
4321
-
4322
4336
  // src/components/Title/Title.tsx
4323
4337
  var import_dedupe54, import_Title, import_jsx_runtime65, Title;
4324
4338
  var init_Title = __esm({