@simplybusiness/mobius 10.1.0 → 10.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (111) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/cjs/components/AddressLookup/AddressLookup.js +536 -526
  3. package/dist/cjs/components/AddressLookup/AddressLookup.js.map +4 -4
  4. package/dist/cjs/components/AddressLookup/index.js +536 -526
  5. package/dist/cjs/components/AddressLookup/index.js.map +4 -4
  6. package/dist/cjs/components/Alert/Alert.js +79 -11
  7. package/dist/cjs/components/Alert/Alert.js.map +4 -4
  8. package/dist/cjs/components/Alert/index.js +79 -11
  9. package/dist/cjs/components/Alert/index.js.map +4 -4
  10. package/dist/cjs/components/Checkbox/Checkbox.js +502 -492
  11. package/dist/cjs/components/Checkbox/Checkbox.js.map +4 -4
  12. package/dist/cjs/components/Checkbox/CheckboxGroup.js +502 -492
  13. package/dist/cjs/components/Checkbox/CheckboxGroup.js.map +4 -4
  14. package/dist/cjs/components/Checkbox/index.js +481 -471
  15. package/dist/cjs/components/Checkbox/index.js.map +4 -4
  16. package/dist/cjs/components/Combobox/Combobox.js +536 -526
  17. package/dist/cjs/components/Combobox/Combobox.js.map +4 -4
  18. package/dist/cjs/components/Combobox/index.js +536 -526
  19. package/dist/cjs/components/Combobox/index.js.map +4 -4
  20. package/dist/cjs/components/DateField/DateField.js +523 -513
  21. package/dist/cjs/components/DateField/DateField.js.map +4 -4
  22. package/dist/cjs/components/DateField/index.js +523 -513
  23. package/dist/cjs/components/DateField/index.js.map +4 -4
  24. package/dist/cjs/components/ErrorMessage/ErrorMessage.js +523 -513
  25. package/dist/cjs/components/ErrorMessage/ErrorMessage.js.map +4 -4
  26. package/dist/cjs/components/ErrorMessage/index.js +523 -513
  27. package/dist/cjs/components/ErrorMessage/index.js.map +4 -4
  28. package/dist/cjs/components/ExpandableText/ExpandableText.js +523 -513
  29. package/dist/cjs/components/ExpandableText/ExpandableText.js.map +4 -4
  30. package/dist/cjs/components/ExpandableText/index.js +523 -513
  31. package/dist/cjs/components/ExpandableText/index.js.map +4 -4
  32. package/dist/cjs/components/MaskedField/MaskedField.js +533 -523
  33. package/dist/cjs/components/MaskedField/MaskedField.js.map +4 -4
  34. package/dist/cjs/components/MaskedField/index.js +533 -523
  35. package/dist/cjs/components/MaskedField/index.js.map +4 -4
  36. package/dist/cjs/components/NumberField/NumberField.js +524 -514
  37. package/dist/cjs/components/NumberField/NumberField.js.map +4 -4
  38. package/dist/cjs/components/NumberField/index.js +524 -514
  39. package/dist/cjs/components/NumberField/index.js.map +4 -4
  40. package/dist/cjs/components/PasswordField/PasswordField.js +520 -510
  41. package/dist/cjs/components/PasswordField/PasswordField.js.map +4 -4
  42. package/dist/cjs/components/PasswordField/ShowHideButton.js +519 -509
  43. package/dist/cjs/components/PasswordField/ShowHideButton.js.map +4 -4
  44. package/dist/cjs/components/PasswordField/index.js +520 -510
  45. package/dist/cjs/components/PasswordField/index.js.map +4 -4
  46. package/dist/cjs/components/Radio/Radio.js +502 -492
  47. package/dist/cjs/components/Radio/Radio.js.map +4 -4
  48. package/dist/cjs/components/Radio/RadioGroup.js +501 -491
  49. package/dist/cjs/components/Radio/RadioGroup.js.map +4 -4
  50. package/dist/cjs/components/Radio/index.js +480 -470
  51. package/dist/cjs/components/Radio/index.js.map +4 -4
  52. package/dist/cjs/components/Select/Select.js +507 -497
  53. package/dist/cjs/components/Select/Select.js.map +4 -4
  54. package/dist/cjs/components/Select/index.js +507 -497
  55. package/dist/cjs/components/Select/index.js.map +4 -4
  56. package/dist/cjs/components/TextArea/TextArea.js +517 -507
  57. package/dist/cjs/components/TextArea/TextArea.js.map +4 -4
  58. package/dist/cjs/components/TextArea/index.js +517 -507
  59. package/dist/cjs/components/TextArea/index.js.map +4 -4
  60. package/dist/cjs/components/TextField/TextField.js +533 -523
  61. package/dist/cjs/components/TextField/TextField.js.map +4 -4
  62. package/dist/cjs/components/TextField/index.js +533 -523
  63. package/dist/cjs/components/TextField/index.js.map +4 -4
  64. package/dist/cjs/components/index.js +563 -553
  65. package/dist/cjs/components/index.js.map +4 -4
  66. package/dist/cjs/index.js +563 -553
  67. package/dist/cjs/index.js.map +4 -4
  68. package/dist/cjs/meta.json +1340 -1273
  69. package/dist/esm/{chunk-FTSJNY4J.js → chunk-N5WGQAHM.js} +14 -2
  70. package/dist/esm/chunk-N5WGQAHM.js.map +7 -0
  71. package/dist/esm/{chunk-C4BILMFX.js → chunk-PB2OICEB.js} +1 -1
  72. package/dist/esm/components/AddressLookup/AddressLookup.js +2 -2
  73. package/dist/esm/components/AddressLookup/index.js +2 -2
  74. package/dist/esm/components/Alert/Alert.js +4 -1
  75. package/dist/esm/components/Alert/index.js +4 -1
  76. package/dist/esm/components/Checkbox/Checkbox.js +2 -2
  77. package/dist/esm/components/Checkbox/CheckboxGroup.js +2 -2
  78. package/dist/esm/components/Checkbox/index.js +2 -2
  79. package/dist/esm/components/Combobox/Combobox.js +2 -2
  80. package/dist/esm/components/Combobox/index.js +2 -2
  81. package/dist/esm/components/DateField/DateField.js +2 -2
  82. package/dist/esm/components/DateField/index.js +2 -2
  83. package/dist/esm/components/ErrorMessage/ErrorMessage.js +2 -2
  84. package/dist/esm/components/ErrorMessage/index.js +2 -2
  85. package/dist/esm/components/ExpandableText/ExpandableText.js +2 -2
  86. package/dist/esm/components/ExpandableText/index.js +2 -2
  87. package/dist/esm/components/MaskedField/MaskedField.js +2 -2
  88. package/dist/esm/components/MaskedField/index.js +2 -2
  89. package/dist/esm/components/NumberField/NumberField.js +2 -2
  90. package/dist/esm/components/NumberField/index.js +2 -2
  91. package/dist/esm/components/PasswordField/PasswordField.js +2 -2
  92. package/dist/esm/components/PasswordField/ShowHideButton.js +2 -2
  93. package/dist/esm/components/PasswordField/index.js +2 -2
  94. package/dist/esm/components/Radio/Radio.js +2 -2
  95. package/dist/esm/components/Radio/RadioGroup.js +2 -2
  96. package/dist/esm/components/Radio/index.js +2 -2
  97. package/dist/esm/components/Select/Select.js +2 -2
  98. package/dist/esm/components/Select/index.js +2 -2
  99. package/dist/esm/components/TextArea/TextArea.js +2 -2
  100. package/dist/esm/components/TextArea/index.js +2 -2
  101. package/dist/esm/components/TextField/TextField.js +2 -2
  102. package/dist/esm/components/TextField/index.js +2 -2
  103. package/dist/esm/components/index.js +2 -2
  104. package/dist/esm/index.js +2 -2
  105. package/dist/esm/meta.json +160 -127
  106. package/dist/tsconfig.build.tsbuildinfo +1 -1
  107. package/package.json +1 -1
  108. package/src/components/Alert/Alert.tsx +10 -1
  109. package/src/components/Button/Button.css +44 -14
  110. package/dist/esm/chunk-FTSJNY4J.js.map +0 -7
  111. /package/dist/esm/{chunk-C4BILMFX.js.map → chunk-PB2OICEB.js.map} +0 -0
@@ -1137,19 +1137,98 @@ var init_Accordion2 = __esm({
1137
1137
  }
1138
1138
  });
1139
1139
 
1140
+ // src/components/Text/Text.tsx
1141
+ var import_dedupe7, import_Text, import_jsx_runtime7, getElementType, Text;
1142
+ var init_Text = __esm({
1143
+ "src/components/Text/Text.tsx"() {
1144
+ "use strict";
1145
+ import_dedupe7 = __toESM(require("classnames/dedupe"));
1146
+ import_Text = require("@simplybusiness/mobius/src/components/Text/Text.css");
1147
+ import_jsx_runtime7 = require("react/jsx-runtime");
1148
+ getElementType = (variant, elementType) => {
1149
+ if (variant) {
1150
+ return ["h1", "h2", "h3", "h4"].includes(variant) ? variant : "p";
1151
+ }
1152
+ return elementType || "p";
1153
+ };
1154
+ Text = ({ ref, elementType: Component = "p", ...props }) => {
1155
+ const { variant, className, spacing, ...otherProps } = props;
1156
+ const elementType = getElementType(variant, Component);
1157
+ const variantType = variant || elementType;
1158
+ const classes = (0, import_dedupe7.default)(
1159
+ "mobius",
1160
+ "mobius-text",
1161
+ { [`--is-${variantType}`]: variantType },
1162
+ { [`--has-line-height-${spacing}`]: spacing },
1163
+ className
1164
+ );
1165
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Component, { ref, ...otherProps, className: classes });
1166
+ };
1167
+ Text.displayName = "Text";
1168
+ }
1169
+ });
1170
+
1171
+ // src/components/TextOrHTML/TextOrHTML.tsx
1172
+ var import_react9, import_jsx_runtime8, isHTML, TextOrHTML;
1173
+ var init_TextOrHTML = __esm({
1174
+ "src/components/TextOrHTML/TextOrHTML.tsx"() {
1175
+ "use strict";
1176
+ import_react9 = require("react");
1177
+ init_Text();
1178
+ import_jsx_runtime8 = require("react/jsx-runtime");
1179
+ isHTML = (text) => /^\s*<[a-z]/i.test(text);
1180
+ TextOrHTML = ({
1181
+ ref,
1182
+ text,
1183
+ htmlClassName,
1184
+ htmlElementType,
1185
+ textWrapper = false,
1186
+ autoDetect = false,
1187
+ ...textProps
1188
+ }) => {
1189
+ const textIsHTML = autoDetect && isHTML(text);
1190
+ const shouldWrapInText = autoDetect ? textWrapper || !textIsHTML : textWrapper;
1191
+ const resolvedElementType = htmlElementType ?? (textIsHTML ? "div" : "span");
1192
+ const DangerousComponent = resolvedElementType;
1193
+ const dangerousHTML = (0, import_react9.useMemo)(() => ({ __html: text }), [text]);
1194
+ const dangerousElement = /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
1195
+ DangerousComponent,
1196
+ {
1197
+ className: htmlClassName,
1198
+ dangerouslySetInnerHTML: dangerousHTML
1199
+ }
1200
+ );
1201
+ if (shouldWrapInText) {
1202
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Text, { ref, ...textProps, children: dangerousElement });
1203
+ }
1204
+ return dangerousElement;
1205
+ };
1206
+ TextOrHTML.displayName = "TextOrHTML";
1207
+ }
1208
+ });
1209
+
1210
+ // src/components/TextOrHTML/index.tsx
1211
+ var init_TextOrHTML2 = __esm({
1212
+ "src/components/TextOrHTML/index.tsx"() {
1213
+ "use strict";
1214
+ init_TextOrHTML();
1215
+ }
1216
+ });
1217
+
1140
1218
  // src/components/Alert/Alert.tsx
1141
1219
  function isAlertVariant(value) {
1142
1220
  return value === "info" || value === "success" || value === "warning" || value === "error";
1143
1221
  }
1144
- var import_icons2, import_dedupe7, import_Alert, import_jsx_runtime7, Alert;
1222
+ var import_icons2, import_dedupe8, import_Alert, import_jsx_runtime9, Alert;
1145
1223
  var init_Alert = __esm({
1146
1224
  "src/components/Alert/Alert.tsx"() {
1147
1225
  "use strict";
1148
1226
  import_icons2 = require("@simplybusiness/icons");
1149
- import_dedupe7 = __toESM(require("classnames/dedupe"));
1227
+ import_dedupe8 = __toESM(require("classnames/dedupe"));
1150
1228
  init_Icon2();
1229
+ init_TextOrHTML2();
1151
1230
  import_Alert = require("@simplybusiness/mobius/src/components/Alert/Alert.css");
1152
- import_jsx_runtime7 = require("react/jsx-runtime");
1231
+ import_jsx_runtime9 = require("react/jsx-runtime");
1153
1232
  Alert = ({ ref, ...props }) => {
1154
1233
  const {
1155
1234
  elementType: Element = "div",
@@ -1162,7 +1241,7 @@ var init_Alert = __esm({
1162
1241
  if (!show) return null;
1163
1242
  const variant = variantProp && isAlertVariant(variantProp) ? variantProp : "info";
1164
1243
  const colorValue = variant === "success" ? `var(--color-valid)` : `var(--color-${variant})`;
1165
- const classes = (0, import_dedupe7.default)(
1244
+ const classes = (0, import_dedupe8.default)(
1166
1245
  "mobius",
1167
1246
  "mobius-alert",
1168
1247
  {
@@ -1180,14 +1259,23 @@ var init_Alert = __esm({
1180
1259
  warning: import_icons2.warning,
1181
1260
  error: import_icons2.error
1182
1261
  };
1183
- const headerClasses = (0, import_dedupe7.default)("mobius", "mobius-alert__header");
1184
- const iconClasses = (0, import_dedupe7.default)("mobius", "mobius-alert__icon");
1185
- const contentClasses = (0, import_dedupe7.default)("mobius", "mobius-alert__content");
1186
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(Element, { ref, role: "alert", ...otherProps, className: classes, children: [
1187
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: iconClasses, children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Icon, { icon: icon[variant], color: colorValue }) }),
1188
- /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { children: [
1189
- header && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("p", { className: headerClasses, children: header }),
1190
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: contentClasses, children })
1262
+ const headerClasses = (0, import_dedupe8.default)("mobius", "mobius-alert__header");
1263
+ const iconClasses = (0, import_dedupe8.default)("mobius", "mobius-alert__icon");
1264
+ const contentClasses = (0, import_dedupe8.default)("mobius", "mobius-alert__content");
1265
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(Element, { ref, role: "alert", ...otherProps, className: classes, children: [
1266
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: iconClasses, children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Icon, { icon: icon[variant], color: colorValue }) }),
1267
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { children: [
1268
+ header && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1269
+ TextOrHTML,
1270
+ {
1271
+ autoDetect: true,
1272
+ htmlElementType: "span",
1273
+ className: headerClasses,
1274
+ htmlClassName: headerClasses,
1275
+ text: header
1276
+ }
1277
+ ),
1278
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: contentClasses, children })
1191
1279
  ] })
1192
1280
  ] });
1193
1281
  };
@@ -1204,14 +1292,14 @@ var init_Alert2 = __esm({
1204
1292
  });
1205
1293
 
1206
1294
  // src/components/Box/Box.tsx
1207
- var import_dedupe8, import_Box, import_jsx_runtime8, Box;
1295
+ var import_dedupe9, import_Box, import_jsx_runtime10, Box;
1208
1296
  var init_Box = __esm({
1209
1297
  "src/components/Box/Box.tsx"() {
1210
1298
  "use strict";
1211
- import_dedupe8 = __toESM(require("classnames/dedupe"));
1299
+ import_dedupe9 = __toESM(require("classnames/dedupe"));
1212
1300
  init_utils();
1213
1301
  import_Box = require("@simplybusiness/mobius/src/components/Box/Box.css");
1214
- import_jsx_runtime8 = require("react/jsx-runtime");
1302
+ import_jsx_runtime10 = require("react/jsx-runtime");
1215
1303
  Box = ({ ref, ...props }) => {
1216
1304
  const {
1217
1305
  elementType: Element = "div",
@@ -1237,7 +1325,7 @@ var init_Box = __esm({
1237
1325
  style,
1238
1326
  ...otherProps
1239
1327
  } = props;
1240
- const classes = (0, import_dedupe8.default)("mobius", "mobius-box", otherProps.className);
1328
+ const classes = (0, import_dedupe9.default)("mobius", "mobius-box", otherProps.className);
1241
1329
  const styleProps = filterUndefinedProps({
1242
1330
  padding: getSpacingValue(padding),
1243
1331
  paddingInline: getSpacingValue(paddingInline || paddingX),
@@ -1254,7 +1342,7 @@ var init_Box = __esm({
1254
1342
  height,
1255
1343
  ...style
1256
1344
  });
1257
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Element, { ref, style: styleProps, ...otherProps, className: classes });
1345
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Element, { ref, style: styleProps, ...otherProps, className: classes });
1258
1346
  };
1259
1347
  Box.displayName = "Box";
1260
1348
  }
@@ -1269,27 +1357,27 @@ var init_Box2 = __esm({
1269
1357
  });
1270
1358
 
1271
1359
  // src/components/Breadcrumbs/Breadcrumbs.tsx
1272
- var import_react9, import_dedupe9, import_Breadcrumbs, import_jsx_runtime9, Breadcrumbs;
1360
+ var import_react10, import_dedupe10, import_Breadcrumbs, import_jsx_runtime11, Breadcrumbs;
1273
1361
  var init_Breadcrumbs = __esm({
1274
1362
  "src/components/Breadcrumbs/Breadcrumbs.tsx"() {
1275
1363
  "use strict";
1276
1364
  "use client";
1277
- import_react9 = require("react");
1278
- import_dedupe9 = __toESM(require("classnames/dedupe"));
1365
+ import_react10 = require("react");
1366
+ import_dedupe10 = __toESM(require("classnames/dedupe"));
1279
1367
  import_Breadcrumbs = require("@simplybusiness/mobius/src/components/Breadcrumbs/Breadcrumbs.css");
1280
- import_jsx_runtime9 = require("react/jsx-runtime");
1368
+ import_jsx_runtime11 = require("react/jsx-runtime");
1281
1369
  Breadcrumbs = ({ ref, ...props }) => {
1282
1370
  const { "aria-label": ariaLabel = "Breadcrumbs" } = props;
1283
1371
  const { navProps } = { navProps: { "aria-label": ariaLabel } };
1284
1372
  const { children, ...otherProps } = props;
1285
- const childArray = import_react9.Children.toArray(children);
1286
- const classes = (0, import_dedupe9.default)(
1373
+ const childArray = import_react10.Children.toArray(children);
1374
+ const classes = (0, import_dedupe10.default)(
1287
1375
  "mobius",
1288
1376
  "mobius-breadcrumb",
1289
1377
  otherProps.className
1290
1378
  );
1291
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("nav", { ref, ...otherProps, ...navProps, className: classes, children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("ul", { children: childArray.map(
1292
- (child, i) => (0, import_react9.cloneElement)(
1379
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("nav", { ref, ...otherProps, ...navProps, className: classes, children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("ul", { children: childArray.map(
1380
+ (child, i) => (0, import_react10.cloneElement)(
1293
1381
  child,
1294
1382
  {
1295
1383
  key: i,
@@ -1303,22 +1391,22 @@ var init_Breadcrumbs = __esm({
1303
1391
  });
1304
1392
 
1305
1393
  // src/components/Breadcrumbs/BreadcrumbItem.tsx
1306
- var import_react10, import_dedupe10, import_jsx_runtime10, BreadcrumbItem;
1394
+ var import_react11, import_dedupe11, import_jsx_runtime12, BreadcrumbItem;
1307
1395
  var init_BreadcrumbItem = __esm({
1308
1396
  "src/components/Breadcrumbs/BreadcrumbItem.tsx"() {
1309
1397
  "use strict";
1310
1398
  "use client";
1311
- import_react10 = require("react");
1312
- import_dedupe10 = __toESM(require("classnames/dedupe"));
1399
+ import_react11 = require("react");
1400
+ import_dedupe11 = __toESM(require("classnames/dedupe"));
1313
1401
  init_Box2();
1314
- import_jsx_runtime10 = require("react/jsx-runtime");
1402
+ import_jsx_runtime12 = require("react/jsx-runtime");
1315
1403
  BreadcrumbItem = ({ ref, ...props }) => {
1316
1404
  const {
1317
1405
  isDisabled = false,
1318
1406
  isCurrent = false,
1319
1407
  "aria-current": ariaCurrent = "page",
1320
1408
  children,
1321
- separator = /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Box, { className: "mobius-breadcrumb__separator", "aria-hidden": "true", children: ">" }),
1409
+ separator = /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Box, { className: "mobius-breadcrumb__separator", "aria-hidden": "true", children: ">" }),
1322
1410
  ...otherProps
1323
1411
  } = props;
1324
1412
  const { itemProps } = {
@@ -1328,14 +1416,14 @@ var init_BreadcrumbItem = __esm({
1328
1416
  ...otherProps
1329
1417
  }
1330
1418
  };
1331
- const classes = (0, import_dedupe10.default)(
1419
+ const classes = (0, import_dedupe11.default)(
1332
1420
  "mobius",
1333
1421
  "mobius-breadcrumb__item",
1334
1422
  props.className
1335
1423
  );
1336
- const child = typeof children === "string" ? /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { ...itemProps, children }) : import_react10.Children.only(children);
1337
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("li", { className: classes, children: [
1338
- (0, import_react10.cloneElement)(child, {
1424
+ const child = typeof children === "string" ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { ...itemProps, children }) : import_react11.Children.only(children);
1425
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("li", { className: classes, children: [
1426
+ (0, import_react11.cloneElement)(child, {
1339
1427
  ...child.props,
1340
1428
  ...itemProps,
1341
1429
  ref
@@ -1364,7 +1452,7 @@ function VisuallyHidden(props) {
1364
1452
  elementType: Component = "div",
1365
1453
  ...otherProps
1366
1454
  } = props;
1367
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
1455
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1368
1456
  Component,
1369
1457
  {
1370
1458
  className,
@@ -1385,11 +1473,11 @@ function VisuallyHidden(props) {
1385
1473
  }
1386
1474
  );
1387
1475
  }
1388
- var import_jsx_runtime11;
1476
+ var import_jsx_runtime13;
1389
1477
  var init_VisuallyHidden = __esm({
1390
1478
  "src/components/VisuallyHidden/VisuallyHidden.tsx"() {
1391
1479
  "use strict";
1392
- import_jsx_runtime11 = require("react/jsx-runtime");
1480
+ import_jsx_runtime13 = require("react/jsx-runtime");
1393
1481
  }
1394
1482
  });
1395
1483
 
@@ -1402,19 +1490,19 @@ var init_VisuallyHidden2 = __esm({
1402
1490
  });
1403
1491
 
1404
1492
  // src/components/Button/Loading.tsx
1405
- var import_icons3, import_jsx_runtime12, Loading;
1493
+ var import_icons3, import_jsx_runtime14, Loading;
1406
1494
  var init_Loading = __esm({
1407
1495
  "src/components/Button/Loading.tsx"() {
1408
1496
  "use strict";
1409
1497
  import_icons3 = require("@simplybusiness/icons");
1410
1498
  init_Icon2();
1411
1499
  init_VisuallyHidden2();
1412
- import_jsx_runtime12 = require("react/jsx-runtime");
1500
+ import_jsx_runtime14 = require("react/jsx-runtime");
1413
1501
  Loading = (props) => {
1414
1502
  const { children } = props;
1415
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(import_jsx_runtime12.Fragment, { children: [
1416
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "mobius-button__icon-wrapper", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Icon, { icon: import_icons3.loading, spin: true, size: "md" }) }),
1417
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(VisuallyHidden, { className: "mobius-button__loading-text", children: "Loading" }),
1503
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(import_jsx_runtime14.Fragment, { children: [
1504
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "mobius-button__icon-wrapper", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Icon, { icon: import_icons3.loading, spin: true, size: "md" }) }),
1505
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(VisuallyHidden, { className: "mobius-button__loading-text", children: "Loading" }),
1418
1506
  children
1419
1507
  ] });
1420
1508
  };
@@ -1422,33 +1510,33 @@ var init_Loading = __esm({
1422
1510
  });
1423
1511
 
1424
1512
  // src/components/Button/Success.tsx
1425
- var import_icons4, import_jsx_runtime13, Success;
1513
+ var import_icons4, import_jsx_runtime15, Success;
1426
1514
  var init_Success = __esm({
1427
1515
  "src/components/Button/Success.tsx"() {
1428
1516
  "use strict";
1429
1517
  import_icons4 = require("@simplybusiness/icons");
1430
1518
  init_Icon2();
1431
1519
  init_VisuallyHidden2();
1432
- import_jsx_runtime13 = require("react/jsx-runtime");
1433
- Success = () => /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_jsx_runtime13.Fragment, { children: [
1434
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "mobius-button__icon-wrapper", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Icon, { icon: import_icons4.tick, size: "md" }) }),
1435
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(VisuallyHidden, { className: "mobius-button__success-text", children: "Success" })
1520
+ import_jsx_runtime15 = require("react/jsx-runtime");
1521
+ Success = () => /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(import_jsx_runtime15.Fragment, { children: [
1522
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: "mobius-button__icon-wrapper", children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Icon, { icon: import_icons4.tick, size: "md" }) }),
1523
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(VisuallyHidden, { className: "mobius-button__success-text", children: "Success" })
1436
1524
  ] });
1437
1525
  }
1438
1526
  });
1439
1527
 
1440
1528
  // src/components/Button/Button.tsx
1441
- var import_dedupe11, import_Button, import_jsx_runtime14, Button;
1529
+ var import_dedupe12, import_Button, import_jsx_runtime16, Button;
1442
1530
  var init_Button = __esm({
1443
1531
  "src/components/Button/Button.tsx"() {
1444
1532
  "use strict";
1445
1533
  "use client";
1446
- import_dedupe11 = __toESM(require("classnames/dedupe"));
1534
+ import_dedupe12 = __toESM(require("classnames/dedupe"));
1447
1535
  init_Loading();
1448
1536
  init_useButton2();
1449
1537
  init_Success();
1450
1538
  import_Button = require("@simplybusiness/mobius/src/components/Button/Button.css");
1451
- import_jsx_runtime14 = require("react/jsx-runtime");
1539
+ import_jsx_runtime16 = require("react/jsx-runtime");
1452
1540
  Button = ({ ref, ...props }) => {
1453
1541
  const {
1454
1542
  children,
@@ -1463,7 +1551,7 @@ var init_Button = __esm({
1463
1551
  ...otherProps
1464
1552
  } = props;
1465
1553
  const { buttonProps } = useButton(props);
1466
- otherProps.className = (0, import_dedupe11.default)(
1554
+ otherProps.className = (0, import_dedupe12.default)(
1467
1555
  "mobius",
1468
1556
  "mobius-button",
1469
1557
  `--variant-${variant}`,
@@ -1475,9 +1563,9 @@ var init_Button = __esm({
1475
1563
  },
1476
1564
  otherProps.className
1477
1565
  );
1478
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(Component, { ref, ...buttonProps, ...otherProps, children: [
1479
- isLoading ? /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Loading, { children }) : children,
1480
- isSuccess && !isLoading && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Success, {})
1566
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(Component, { ref, ...buttonProps, ...otherProps, children: [
1567
+ isLoading ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Loading, { children }) : children,
1568
+ isSuccess && !isLoading && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Success, {})
1481
1569
  ] });
1482
1570
  };
1483
1571
  Button.displayName = "Button";
@@ -1493,16 +1581,16 @@ var init_Button2 = __esm({
1493
1581
  });
1494
1582
 
1495
1583
  // src/components/Stack/Stack.tsx
1496
- var import_dedupe12, import_Stack, import_jsx_runtime15, Stack;
1584
+ var import_dedupe13, import_Stack, import_jsx_runtime17, Stack;
1497
1585
  var init_Stack = __esm({
1498
1586
  "src/components/Stack/Stack.tsx"() {
1499
1587
  "use strict";
1500
- import_dedupe12 = __toESM(require("classnames/dedupe"));
1588
+ import_dedupe13 = __toESM(require("classnames/dedupe"));
1501
1589
  import_Stack = require("@simplybusiness/mobius/src/components/Stack/Stack.css");
1502
- import_jsx_runtime15 = require("react/jsx-runtime");
1590
+ import_jsx_runtime17 = require("react/jsx-runtime");
1503
1591
  Stack = ({ ref, ...props }) => {
1504
1592
  const { elementType: Element = "div", gap, ...otherProps } = props;
1505
- const classes = (0, import_dedupe12.default)(
1593
+ const classes = (0, import_dedupe13.default)(
1506
1594
  "mobius",
1507
1595
  "mobius-stack",
1508
1596
  {
@@ -1510,7 +1598,7 @@ var init_Stack = __esm({
1510
1598
  },
1511
1599
  otherProps.className
1512
1600
  );
1513
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Element, { ref, ...otherProps, className: classes });
1601
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Element, { ref, ...otherProps, className: classes });
1514
1602
  };
1515
1603
  Stack.displayName = "Stack";
1516
1604
  }
@@ -1525,13 +1613,13 @@ var init_Stack2 = __esm({
1525
1613
  });
1526
1614
 
1527
1615
  // src/components/Checkbox/Checkbox.tsx
1528
- var import_react11, import_dedupe13, import_icons5, import_Checkbox, import_jsx_runtime16, Checkbox;
1616
+ var import_react12, import_dedupe14, import_icons5, import_Checkbox, import_jsx_runtime18, Checkbox;
1529
1617
  var init_Checkbox = __esm({
1530
1618
  "src/components/Checkbox/Checkbox.tsx"() {
1531
1619
  "use strict";
1532
1620
  "use client";
1533
- import_react11 = require("react");
1534
- import_dedupe13 = __toESM(require("classnames/dedupe"));
1621
+ import_react12 = require("react");
1622
+ import_dedupe14 = __toESM(require("classnames/dedupe"));
1535
1623
  import_icons5 = require("@simplybusiness/icons");
1536
1624
  init_ErrorMessage2();
1537
1625
  init_spaceDelimitedList();
@@ -1539,7 +1627,7 @@ var init_Checkbox = __esm({
1539
1627
  init_Icon2();
1540
1628
  init_Stack2();
1541
1629
  import_Checkbox = require("@simplybusiness/mobius/src/components/Checkbox/Checkbox.css");
1542
- import_jsx_runtime16 = require("react/jsx-runtime");
1630
+ import_jsx_runtime18 = require("react/jsx-runtime");
1543
1631
  Checkbox = ({ ref, ...props }) => {
1544
1632
  const {
1545
1633
  id,
@@ -1559,18 +1647,18 @@ var init_Checkbox = __esm({
1559
1647
  ["aria-describedby"]: ariaDescribedBy,
1560
1648
  ...rest
1561
1649
  } = props;
1562
- const [checked, setChecked] = (0, import_react11.useState)(defaultSelected);
1563
- const fallbackRef = (0, import_react11.useRef)(null);
1650
+ const [checked, setChecked] = (0, import_react12.useState)(defaultSelected);
1651
+ const fallbackRef = (0, import_react12.useRef)(null);
1564
1652
  const refObj = ref || fallbackRef;
1565
- const inputId = (0, import_react11.useId)();
1653
+ const inputId = (0, import_react12.useId)();
1566
1654
  const isControlled = typeof selected === "boolean";
1567
- (0, import_react11.useEffect)(() => {
1655
+ (0, import_react12.useEffect)(() => {
1568
1656
  if (isControlled) {
1569
1657
  setChecked(selected);
1570
1658
  }
1571
1659
  }, [selected, isControlled]);
1572
1660
  const validationClasses = useValidationClasses({ isInvalid });
1573
- const sharedClasses = (0, import_dedupe13.default)(
1661
+ const sharedClasses = (0, import_dedupe14.default)(
1574
1662
  {
1575
1663
  "--is-disabled": isDisabled,
1576
1664
  "--is-selected": checked,
@@ -1579,31 +1667,31 @@ var init_Checkbox = __esm({
1579
1667
  },
1580
1668
  validationClasses
1581
1669
  );
1582
- const wrapperClasses = (0, import_dedupe13.default)(
1670
+ const wrapperClasses = (0, import_dedupe14.default)(
1583
1671
  "mobius",
1584
1672
  "mobius-checkbox",
1585
1673
  sharedClasses,
1586
1674
  className
1587
1675
  );
1588
- const labelClasses = (0, import_dedupe13.default)("mobius-checkbox__label", sharedClasses);
1589
- const inputClasses = (0, import_dedupe13.default)("mobius-checkbox__input", sharedClasses);
1590
- const iconClasses = (0, import_dedupe13.default)("mobius-checkbox__icon", sharedClasses);
1591
- const errorMessageId = (0, import_react11.useId)();
1676
+ const labelClasses = (0, import_dedupe14.default)("mobius-checkbox__label", sharedClasses);
1677
+ const inputClasses = (0, import_dedupe14.default)("mobius-checkbox__input", sharedClasses);
1678
+ const iconClasses = (0, import_dedupe14.default)("mobius-checkbox__icon", sharedClasses);
1679
+ const errorMessageId = (0, import_react12.useId)();
1592
1680
  const shouldErrorMessageShow = errorMessage ? errorMessageId : void 0;
1593
1681
  const describedBy = spaceDelimitedList([
1594
1682
  shouldErrorMessageShow,
1595
1683
  ariaDescribedBy
1596
1684
  ]);
1597
- const labelId = (0, import_react11.useId)();
1685
+ const labelId = (0, import_react12.useId)();
1598
1686
  const handleChange = (event) => {
1599
1687
  setChecked(!checked);
1600
1688
  if (onChange) {
1601
1689
  onChange(event, isLastItem);
1602
1690
  }
1603
1691
  };
1604
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(Stack, { gap: "xs", className: wrapperClasses, children: [
1605
- /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("label", { className: labelClasses, children: [
1606
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1692
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(Stack, { gap: "xs", className: wrapperClasses, children: [
1693
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("label", { className: labelClasses, children: [
1694
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1607
1695
  "input",
1608
1696
  {
1609
1697
  "aria-describedby": describedBy,
@@ -1624,7 +1712,7 @@ var init_Checkbox = __esm({
1624
1712
  ...rest
1625
1713
  }
1626
1714
  ),
1627
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1715
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1628
1716
  Icon,
1629
1717
  {
1630
1718
  icon: checked ? import_icons5.squareTick : import_icons5.square,
@@ -1632,9 +1720,9 @@ var init_Checkbox = __esm({
1632
1720
  className: iconClasses
1633
1721
  }
1634
1722
  ),
1635
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { id: labelId, className: "mobius-checkbox__visible-label", children: label })
1723
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { id: labelId, className: "mobius-checkbox__visible-label", children: label })
1636
1724
  ] }),
1637
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(ErrorMessage, { id: errorMessageId, errorMessage })
1725
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(ErrorMessage, { id: errorMessageId, errorMessage })
1638
1726
  ] });
1639
1727
  };
1640
1728
  Checkbox.displayName = "Checkbox";
@@ -1642,18 +1730,18 @@ var init_Checkbox = __esm({
1642
1730
  });
1643
1731
 
1644
1732
  // src/components/Label/Label.tsx
1645
- var import_dedupe14, import_Label, import_jsx_runtime17, Label;
1733
+ var import_dedupe15, import_Label, import_jsx_runtime19, Label;
1646
1734
  var init_Label = __esm({
1647
1735
  "src/components/Label/Label.tsx"() {
1648
1736
  "use strict";
1649
- import_dedupe14 = __toESM(require("classnames/dedupe"));
1737
+ import_dedupe15 = __toESM(require("classnames/dedupe"));
1650
1738
  import_Label = require("@simplybusiness/mobius/src/components/Label/Label.css");
1651
- import_jsx_runtime17 = require("react/jsx-runtime");
1739
+ import_jsx_runtime19 = require("react/jsx-runtime");
1652
1740
  Label = ({ ref, ...props }) => {
1653
1741
  const { elementType: Element = "label", children, ...otherProps } = props;
1654
- const classes = (0, import_dedupe14.default)("mobius", "mobius-label", props.className);
1742
+ const classes = (0, import_dedupe15.default)("mobius", "mobius-label", props.className);
1655
1743
  otherProps.className = classes;
1656
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Element, { ref, ...otherProps, className: classes, children });
1744
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Element, { ref, ...otherProps, className: classes, children });
1657
1745
  };
1658
1746
  Label.displayName = "Label";
1659
1747
  }
@@ -1668,20 +1756,20 @@ var init_Label2 = __esm({
1668
1756
  });
1669
1757
 
1670
1758
  // src/components/Checkbox/CheckboxGroup.tsx
1671
- var import_dedupe15, import_react12, import_CheckboxGroup, import_jsx_runtime18, CheckboxGroup;
1759
+ var import_dedupe16, import_react13, import_CheckboxGroup, import_jsx_runtime20, CheckboxGroup;
1672
1760
  var init_CheckboxGroup = __esm({
1673
1761
  "src/components/Checkbox/CheckboxGroup.tsx"() {
1674
1762
  "use strict";
1675
1763
  "use client";
1676
- import_dedupe15 = __toESM(require("classnames/dedupe"));
1677
- import_react12 = require("react");
1764
+ import_dedupe16 = __toESM(require("classnames/dedupe"));
1765
+ import_react13 = require("react");
1678
1766
  init_hooks();
1679
1767
  init_spaceDelimitedList();
1680
1768
  init_ErrorMessage2();
1681
1769
  init_Label2();
1682
1770
  init_Checkbox();
1683
1771
  import_CheckboxGroup = require("@simplybusiness/mobius/src/components/Checkbox/CheckboxGroup.css");
1684
- import_jsx_runtime18 = require("react/jsx-runtime");
1772
+ import_jsx_runtime20 = require("react/jsx-runtime");
1685
1773
  CheckboxGroup = ({ ref, ...props }) => {
1686
1774
  const {
1687
1775
  label,
@@ -1699,10 +1787,10 @@ var init_CheckboxGroup = __esm({
1699
1787
  lastItemDisables = false,
1700
1788
  ...rest
1701
1789
  } = props;
1702
- const [selected, setSelected] = (0, import_react12.useState)(defaultValue);
1703
- const isInitializedRef = (0, import_react12.useRef)(false);
1704
- const prevDefaultValueRef = (0, import_react12.useRef)(defaultValue);
1705
- (0, import_react12.useEffect)(() => {
1790
+ const [selected, setSelected] = (0, import_react13.useState)(defaultValue);
1791
+ const isInitializedRef = (0, import_react13.useRef)(false);
1792
+ const prevDefaultValueRef = (0, import_react13.useRef)(defaultValue);
1793
+ (0, import_react13.useEffect)(() => {
1706
1794
  const hasChanged = defaultValue.length !== prevDefaultValueRef.current.length || defaultValue.some(
1707
1795
  (val, index) => val !== prevDefaultValueRef.current[index]
1708
1796
  );
@@ -1712,7 +1800,7 @@ var init_CheckboxGroup = __esm({
1712
1800
  isInitializedRef.current = true;
1713
1801
  }
1714
1802
  }, [defaultValue]);
1715
- const checkboxGroupClasses = (0, import_dedupe15.default)(
1803
+ const checkboxGroupClasses = (0, import_dedupe16.default)(
1716
1804
  "mobius",
1717
1805
  "mobius-checkbox-group",
1718
1806
  className,
@@ -1724,19 +1812,19 @@ var init_CheckboxGroup = __esm({
1724
1812
  }
1725
1813
  );
1726
1814
  const validationClasses = useValidationClasses({ isInvalid });
1727
- const labelClasses = (0, import_dedupe15.default)(
1815
+ const labelClasses = (0, import_dedupe16.default)(
1728
1816
  {
1729
1817
  "--is-disabled": isDisabled
1730
1818
  },
1731
1819
  validationClasses
1732
1820
  );
1733
- const errorMessageId = (0, import_react12.useId)();
1821
+ const errorMessageId = (0, import_react13.useId)();
1734
1822
  const shouldErrorMessageShow = errorMessage ? errorMessageId : void 0;
1735
1823
  const describedBy = spaceDelimitedList([
1736
1824
  shouldErrorMessageShow,
1737
1825
  props["aria-describedby"]
1738
1826
  ]);
1739
- const labelId = (0, import_react12.useId)();
1827
+ const labelId = (0, import_react13.useId)();
1740
1828
  const handleChange = (event, isLastItem = false) => {
1741
1829
  const {
1742
1830
  target: { value, checked }
@@ -1754,12 +1842,12 @@ var init_CheckboxGroup = __esm({
1754
1842
  setSelected(newValue);
1755
1843
  onChange?.(newValue);
1756
1844
  };
1757
- const childrenArray = import_react12.Children.toArray(children);
1845
+ const childrenArray = import_react13.Children.toArray(children);
1758
1846
  const lastCheckbox = childrenArray.filter(
1759
- (child) => (0, import_react12.isValidElement)(child) && child.type === Checkbox
1847
+ (child) => (0, import_react13.isValidElement)(child) && child.type === Checkbox
1760
1848
  ).pop();
1761
1849
  const lastCheckboxIsChecked = lastCheckbox && selected.includes(lastCheckbox.props.value);
1762
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
1850
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
1763
1851
  "div",
1764
1852
  {
1765
1853
  ...rest,
@@ -1768,16 +1856,16 @@ var init_CheckboxGroup = __esm({
1768
1856
  className: checkboxGroupClasses,
1769
1857
  role: "group",
1770
1858
  style: {
1771
- "--checkbox-items-per-row": itemsPerRow || import_react12.Children.count(children)
1859
+ "--checkbox-items-per-row": itemsPerRow || import_react13.Children.count(children)
1772
1860
  },
1773
1861
  children: [
1774
- label && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Label, { elementType: "span", id: labelId, className: labelClasses, children: label }),
1775
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "mobius-checkbox-group__wrapper", children: childrenArray.map((child) => {
1776
- if ((0, import_react12.isValidElement)(child)) {
1862
+ label && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Label, { elementType: "span", id: labelId, className: labelClasses, children: label }),
1863
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "mobius-checkbox-group__wrapper", children: childrenArray.map((child) => {
1864
+ if ((0, import_react13.isValidElement)(child)) {
1777
1865
  const isLastItem = child === lastCheckbox;
1778
1866
  const isChildDisabled = isDisabled || lastItemDisables && lastCheckboxIsChecked && !isLastItem;
1779
1867
  const childProps = child.props;
1780
- return (0, import_react12.cloneElement)(
1868
+ return (0, import_react13.cloneElement)(
1781
1869
  child,
1782
1870
  {
1783
1871
  isDisabled: isChildDisabled,
@@ -1793,7 +1881,7 @@ var init_CheckboxGroup = __esm({
1793
1881
  }
1794
1882
  return child;
1795
1883
  }) }),
1796
- errorMessage && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(ErrorMessage, { id: errorMessageId, errorMessage })
1884
+ errorMessage && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(ErrorMessage, { id: errorMessageId, errorMessage })
1797
1885
  ]
1798
1886
  }
1799
1887
  );
@@ -1820,23 +1908,23 @@ var init_Checkbox2 = __esm({
1820
1908
  });
1821
1909
 
1822
1910
  // src/components/Container/Container.tsx
1823
- var import_dedupe16, import_Container, import_jsx_runtime19, Container;
1911
+ var import_dedupe17, import_Container, import_jsx_runtime21, Container;
1824
1912
  var init_Container = __esm({
1825
1913
  "src/components/Container/Container.tsx"() {
1826
1914
  "use strict";
1827
- import_dedupe16 = __toESM(require("classnames/dedupe"));
1915
+ import_dedupe17 = __toESM(require("classnames/dedupe"));
1828
1916
  init_utils();
1829
1917
  import_Container = require("@simplybusiness/mobius/src/components/Container/Container.css");
1830
- import_jsx_runtime19 = require("react/jsx-runtime");
1918
+ import_jsx_runtime21 = require("react/jsx-runtime");
1831
1919
  Container = ({ ref, ...props }) => {
1832
1920
  const { elementType: Element = "div", size = "md", ...otherProps } = props;
1833
- const classes = (0, import_dedupe16.default)(
1921
+ const classes = (0, import_dedupe17.default)(
1834
1922
  "mobius",
1835
1923
  "mobius-container",
1836
1924
  sizeClasses(size),
1837
1925
  otherProps.className
1838
1926
  );
1839
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Element, { ref, ...otherProps, className: classes });
1927
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Element, { ref, ...otherProps, className: classes });
1840
1928
  };
1841
1929
  Container.displayName = "Container";
1842
1930
  }
@@ -1889,17 +1977,17 @@ var init_validation = __esm({
1889
1977
  });
1890
1978
 
1891
1979
  // src/components/DateField/DateField.tsx
1892
- var import_dedupe17, import_react13, import_jsx_runtime20, MIN_MAX_ERROR, DateField;
1980
+ var import_dedupe18, import_react14, import_jsx_runtime22, MIN_MAX_ERROR, DateField;
1893
1981
  var init_DateField = __esm({
1894
1982
  "src/components/DateField/DateField.tsx"() {
1895
1983
  "use strict";
1896
1984
  "use client";
1897
- import_dedupe17 = __toESM(require("classnames/dedupe"));
1898
- import_react13 = require("react");
1985
+ import_dedupe18 = __toESM(require("classnames/dedupe"));
1986
+ import_react14 = require("react");
1899
1987
  init_mergeRefs();
1900
1988
  init_TextField2();
1901
1989
  init_validation();
1902
- import_jsx_runtime20 = require("react/jsx-runtime");
1990
+ import_jsx_runtime22 = require("react/jsx-runtime");
1903
1991
  MIN_MAX_ERROR = '"min" value should not be greater than "max" value.';
1904
1992
  DateField = ({ ref, ...props }) => {
1905
1993
  const {
@@ -1912,10 +2000,10 @@ var init_DateField = __esm({
1912
2000
  value,
1913
2001
  ...otherProps
1914
2002
  } = props;
1915
- const [error3, setError] = (0, import_react13.useState)(errorMessage);
1916
- const [isInvalid, setIsInvalid] = (0, import_react13.useState)(void 0);
1917
- const localRef = (0, import_react13.useRef)(null);
1918
- const classes = (0, import_dedupe17.default)("mobius-date-field", className);
2003
+ const [error3, setError] = (0, import_react14.useState)(errorMessage);
2004
+ const [isInvalid, setIsInvalid] = (0, import_react14.useState)(void 0);
2005
+ const localRef = (0, import_react14.useRef)(null);
2006
+ const classes = (0, import_dedupe18.default)("mobius-date-field", className);
1919
2007
  const formattedMin = min ? convertToDateFormat(min, format) : void 0;
1920
2008
  const formattedMax = max ? convertToDateFormat(max, format) : void 0;
1921
2009
  const formattedDefaultValue = defaultValue ? convertToDateFormat(defaultValue, format) : void 0;
@@ -1928,7 +2016,7 @@ var init_DateField = __esm({
1928
2016
  setError(props.errorMessage);
1929
2017
  setIsInvalid(false);
1930
2018
  };
1931
- (0, import_react13.useEffect)(() => {
2019
+ (0, import_react14.useEffect)(() => {
1932
2020
  if (!isValidDate(min, format)) {
1933
2021
  setInvalidState(`Invalid min date: ${min}`);
1934
2022
  return;
@@ -1961,7 +2049,7 @@ var init_DateField = __esm({
1961
2049
  validate();
1962
2050
  otherProps.onBlur?.(event);
1963
2051
  };
1964
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
2052
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1965
2053
  TextField,
1966
2054
  {
1967
2055
  ref: mergeRefs([localRef, ref]),
@@ -1992,23 +2080,23 @@ var init_DateField2 = __esm({
1992
2080
  });
1993
2081
 
1994
2082
  // src/components/Drawer/Content.tsx
1995
- var import_jsx_runtime21, Content;
2083
+ var import_jsx_runtime23, Content;
1996
2084
  var init_Content = __esm({
1997
2085
  "src/components/Drawer/Content.tsx"() {
1998
2086
  "use strict";
1999
- import_jsx_runtime21 = require("react/jsx-runtime");
2000
- Content = ({ ref, children, ...otherProps }) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { ref, ...otherProps, className: "mobius-drawer__content", children });
2087
+ import_jsx_runtime23 = require("react/jsx-runtime");
2088
+ Content = ({ ref, children, ...otherProps }) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { ref, ...otherProps, className: "mobius-drawer__content", children });
2001
2089
  Content.displayName = "Content";
2002
2090
  }
2003
2091
  });
2004
2092
 
2005
2093
  // src/components/Drawer/DrawerContext.tsx
2006
- var import_react14, DrawerContext;
2094
+ var import_react15, DrawerContext;
2007
2095
  var init_DrawerContext = __esm({
2008
2096
  "src/components/Drawer/DrawerContext.tsx"() {
2009
2097
  "use strict";
2010
- import_react14 = require("react");
2011
- DrawerContext = (0, import_react14.createContext)({
2098
+ import_react15 = require("react");
2099
+ DrawerContext = (0, import_react15.createContext)({
2012
2100
  onClose: () => {
2013
2101
  },
2014
2102
  closeLabel: void 0,
@@ -2018,19 +2106,19 @@ var init_DrawerContext = __esm({
2018
2106
  });
2019
2107
 
2020
2108
  // src/components/Drawer/Drawer.tsx
2021
- var import_dedupe18, import_react15, import_Drawer, import_jsx_runtime22, TRANSITION_CSS_VARIABLE, Drawer;
2109
+ var import_dedupe19, import_react16, import_Drawer, import_jsx_runtime24, TRANSITION_CSS_VARIABLE, Drawer;
2022
2110
  var init_Drawer = __esm({
2023
2111
  "src/components/Drawer/Drawer.tsx"() {
2024
2112
  "use strict";
2025
2113
  "use client";
2026
- import_dedupe18 = __toESM(require("classnames/dedupe"));
2027
- import_react15 = require("react");
2114
+ import_dedupe19 = __toESM(require("classnames/dedupe"));
2115
+ import_react16 = require("react");
2028
2116
  init_hooks();
2029
2117
  init_utils();
2030
2118
  init_VisuallyHidden2();
2031
2119
  init_DrawerContext();
2032
2120
  import_Drawer = require("@simplybusiness/mobius/src/components/Drawer/Drawer.css");
2033
- import_jsx_runtime22 = require("react/jsx-runtime");
2121
+ import_jsx_runtime24 = require("react/jsx-runtime");
2034
2122
  TRANSITION_CSS_VARIABLE = "--drawer-transition-duration";
2035
2123
  Drawer = ({ ref, ...props }) => {
2036
2124
  const {
@@ -2043,8 +2131,8 @@ var init_Drawer = __esm({
2043
2131
  onClose,
2044
2132
  children
2045
2133
  } = props;
2046
- const dialogRef = (0, import_react15.useRef)(null);
2047
- const [shouldTransition, setShouldTransition] = (0, import_react15.useState)(false);
2134
+ const dialogRef = (0, import_react16.useRef)(null);
2135
+ const [shouldTransition, setShouldTransition] = (0, import_react16.useState)(false);
2048
2136
  const { close } = useDialog({
2049
2137
  ref: dialogRef,
2050
2138
  isOpen,
@@ -2055,9 +2143,9 @@ var init_Drawer = __esm({
2055
2143
  CSSVariable: TRANSITION_CSS_VARIABLE
2056
2144
  }
2057
2145
  });
2058
- const hiddenId = `dialog-screen-reader-announce-${(0, import_react15.useId)()}`;
2059
- const headerId = `dialog-header-${(0, import_react15.useId)()}`;
2060
- const dialogClasses = (0, import_dedupe18.default)(
2146
+ const hiddenId = `dialog-screen-reader-announce-${(0, import_react16.useId)()}`;
2147
+ const headerId = `dialog-header-${(0, import_react16.useId)()}`;
2148
+ const dialogClasses = (0, import_dedupe19.default)(
2061
2149
  "mobius",
2062
2150
  "mobius-drawer",
2063
2151
  `--${direction}`,
@@ -2066,10 +2154,10 @@ var init_Drawer = __esm({
2066
2154
  "--should-transition": shouldTransition
2067
2155
  }
2068
2156
  );
2069
- (0, import_react15.useEffect)(() => {
2157
+ (0, import_react16.useEffect)(() => {
2070
2158
  setShouldTransition(supportsDialog());
2071
2159
  }, []);
2072
- const contextValue = (0, import_react15.useMemo)(
2160
+ const contextValue = (0, import_react16.useMemo)(
2073
2161
  () => ({
2074
2162
  onClose: close,
2075
2163
  closeLabel,
@@ -2077,18 +2165,18 @@ var init_Drawer = __esm({
2077
2165
  }),
2078
2166
  [close, closeLabel, headerId]
2079
2167
  );
2080
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
2168
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
2081
2169
  "dialog",
2082
2170
  {
2083
- id: (0, import_react15.useId)(),
2171
+ id: (0, import_react16.useId)(),
2084
2172
  ref: mergeRefs([dialogRef, ref]),
2085
2173
  onCancel: close,
2086
2174
  className: dialogClasses,
2087
2175
  "aria-describedby": hiddenId,
2088
2176
  "aria-labelledby": headerId,
2089
2177
  children: [
2090
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(VisuallyHidden, { children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { id: hiddenId, children: announce }) }),
2091
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(DrawerContext.Provider, { value: contextValue, children })
2178
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(VisuallyHidden, { children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { id: hiddenId, children: announce }) }),
2179
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(DrawerContext.Provider, { value: contextValue, children })
2092
2180
  ]
2093
2181
  }
2094
2182
  );
@@ -2098,21 +2186,21 @@ var init_Drawer = __esm({
2098
2186
  });
2099
2187
 
2100
2188
  // src/components/Drawer/useDrawer.ts
2101
- var import_react16, useDrawer;
2189
+ var import_react17, useDrawer;
2102
2190
  var init_useDrawer = __esm({
2103
2191
  "src/components/Drawer/useDrawer.ts"() {
2104
2192
  "use strict";
2105
- import_react16 = require("react");
2193
+ import_react17 = require("react");
2106
2194
  init_DrawerContext();
2107
2195
  useDrawer = () => {
2108
- const { onClose, closeLabel, headerId } = (0, import_react16.useContext)(DrawerContext);
2196
+ const { onClose, closeLabel, headerId } = (0, import_react17.useContext)(DrawerContext);
2109
2197
  return { onClose, closeLabel, headerId };
2110
2198
  };
2111
2199
  }
2112
2200
  });
2113
2201
 
2114
2202
  // src/components/Drawer/Header.tsx
2115
- var import_icons6, import_jsx_runtime23, Header;
2203
+ var import_icons6, import_jsx_runtime25, Header;
2116
2204
  var init_Header = __esm({
2117
2205
  "src/components/Drawer/Header.tsx"() {
2118
2206
  "use strict";
@@ -2120,12 +2208,12 @@ var init_Header = __esm({
2120
2208
  init_Button2();
2121
2209
  init_Icon2();
2122
2210
  init_useDrawer();
2123
- import_jsx_runtime23 = require("react/jsx-runtime");
2211
+ import_jsx_runtime25 = require("react/jsx-runtime");
2124
2212
  Header = ({ ref, children, ...otherProps }) => {
2125
2213
  const { onClose, closeLabel, headerId } = useDrawer();
2126
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("header", { ref, ...otherProps, className: "mobius-drawer__header", children: [
2127
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("h2", { id: headerId, children }),
2128
- /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
2214
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("header", { ref, ...otherProps, className: "mobius-drawer__header", children: [
2215
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("h2", { id: headerId, children }),
2216
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
2129
2217
  Button,
2130
2218
  {
2131
2219
  "aria-label": "Close",
@@ -2134,7 +2222,7 @@ var init_Header = __esm({
2134
2222
  className: "mobius-drawer__close",
2135
2223
  size: "sm",
2136
2224
  children: [
2137
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Icon, { icon: import_icons6.cross }),
2225
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Icon, { icon: import_icons6.cross }),
2138
2226
  " ",
2139
2227
  closeLabel
2140
2228
  ]
@@ -2163,17 +2251,17 @@ var init_Drawer2 = __esm({
2163
2251
  });
2164
2252
 
2165
2253
  // src/components/DropdownMenu/DropdownMenu.tsx
2166
- var import_react17, import_react_accessible_dropdown_menu_hook, import_dedupe19, import_DropdownMenu, import_jsx_runtime24, DropdownMenu;
2254
+ var import_react18, import_react_accessible_dropdown_menu_hook, import_dedupe20, import_DropdownMenu, import_jsx_runtime26, DropdownMenu;
2167
2255
  var init_DropdownMenu = __esm({
2168
2256
  "src/components/DropdownMenu/DropdownMenu.tsx"() {
2169
2257
  "use strict";
2170
2258
  "use client";
2171
- import_react17 = require("react");
2259
+ import_react18 = require("react");
2172
2260
  import_react_accessible_dropdown_menu_hook = __toESM(require("react-accessible-dropdown-menu-hook"));
2173
- import_dedupe19 = __toESM(require("classnames/dedupe"));
2261
+ import_dedupe20 = __toESM(require("classnames/dedupe"));
2174
2262
  init_Button2();
2175
2263
  import_DropdownMenu = require("@simplybusiness/mobius/src/components/DropdownMenu/DropdownMenu.css");
2176
- import_jsx_runtime24 = require("react/jsx-runtime");
2264
+ import_jsx_runtime26 = require("react/jsx-runtime");
2177
2265
  DropdownMenu = ({ ref, ...props }) => {
2178
2266
  const {
2179
2267
  elementType: Element = "nav",
@@ -2182,21 +2270,21 @@ var init_DropdownMenu = __esm({
2182
2270
  children,
2183
2271
  ...otherProps
2184
2272
  } = props;
2185
- const [activeId, setActiveId] = (0, import_react17.useState)(null);
2186
- const numberOfItems = import_react17.Children.count(children);
2273
+ const [activeId, setActiveId] = (0, import_react18.useState)(null);
2274
+ const numberOfItems = import_react18.Children.count(children);
2187
2275
  const {
2188
2276
  buttonProps,
2189
2277
  itemProps,
2190
2278
  isOpen: open,
2191
2279
  setIsOpen
2192
2280
  } = (0, import_react_accessible_dropdown_menu_hook.default)(numberOfItems);
2193
- const classes = (0, import_dedupe19.default)(
2281
+ const classes = (0, import_dedupe20.default)(
2194
2282
  "mobius",
2195
2283
  "mobius-dropdown-menu",
2196
2284
  otherProps.className
2197
2285
  );
2198
- const triggerClasses = (0, import_dedupe19.default)("mobius", "mobius-dropdown-menu__trigger");
2199
- const listClasses = (0, import_dedupe19.default)("mobius", "mobius-dropdown-menu__list", {
2286
+ const triggerClasses = (0, import_dedupe20.default)("mobius", "mobius-dropdown-menu__trigger");
2287
+ const listClasses = (0, import_dedupe20.default)("mobius", "mobius-dropdown-menu__list", {
2200
2288
  "--is-open": open
2201
2289
  });
2202
2290
  const handleChildClick = ({ onClick }, index) => {
@@ -2206,16 +2294,16 @@ var init_DropdownMenu = __esm({
2206
2294
  onClick();
2207
2295
  }
2208
2296
  };
2209
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(Element, { ref, ...otherProps, className: classes, children: [
2210
- trigger ? (0, import_react17.cloneElement)(trigger, {
2297
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(Element, { ref, ...otherProps, className: classes, children: [
2298
+ trigger ? (0, import_react18.cloneElement)(trigger, {
2211
2299
  className: triggerClasses,
2212
2300
  open,
2213
2301
  label,
2214
2302
  ...buttonProps
2215
- }) : /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Button, { className: triggerClasses, ...buttonProps, children: label }),
2216
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("ul", { className: listClasses, role: "menu", children: import_react17.Children.map(children, (child, index) => {
2217
- if ((0, import_react17.isValidElement)(child)) {
2218
- return (0, import_react17.cloneElement)(child, {
2303
+ }) : /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Button, { className: triggerClasses, ...buttonProps, children: label }),
2304
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("ul", { className: listClasses, role: "menu", children: import_react18.Children.map(children, (child, index) => {
2305
+ if ((0, import_react18.isValidElement)(child)) {
2306
+ return (0, import_react18.cloneElement)(child, {
2219
2307
  onClick: () => handleChildClick(child.props, index),
2220
2308
  active: index === activeId,
2221
2309
  ...itemProps[index]
@@ -2230,13 +2318,13 @@ var init_DropdownMenu = __esm({
2230
2318
  });
2231
2319
 
2232
2320
  // src/components/DropdownMenu/Item.tsx
2233
- var import_react18, import_dedupe20, import_jsx_runtime25, Item;
2321
+ var import_react19, import_dedupe21, import_jsx_runtime27, Item;
2234
2322
  var init_Item = __esm({
2235
2323
  "src/components/DropdownMenu/Item.tsx"() {
2236
2324
  "use strict";
2237
- import_react18 = require("react");
2238
- import_dedupe20 = __toESM(require("classnames/dedupe"));
2239
- import_jsx_runtime25 = require("react/jsx-runtime");
2325
+ import_react19 = require("react");
2326
+ import_dedupe21 = __toESM(require("classnames/dedupe"));
2327
+ import_jsx_runtime27 = require("react/jsx-runtime");
2240
2328
  Item = ({ ref, ...props }) => {
2241
2329
  const {
2242
2330
  elementType: Element = "li",
@@ -2245,26 +2333,26 @@ var init_Item = __esm({
2245
2333
  children,
2246
2334
  ...otherProps
2247
2335
  } = props;
2248
- const classes = (0, import_dedupe20.default)(
2336
+ const classes = (0, import_dedupe21.default)(
2249
2337
  "mobius",
2250
2338
  "mobius-dropdown-menu__item",
2251
2339
  { "--is-active": active },
2252
2340
  otherProps.className
2253
2341
  );
2254
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Element, { ref, onClick, ...otherProps, children: import_react18.Children.map(children, (child) => {
2255
- if ((0, import_react18.isValidElement)(child)) {
2256
- const childClasses = (0, import_dedupe20.default)(
2342
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Element, { ref, onClick, ...otherProps, children: import_react19.Children.map(children, (child) => {
2343
+ if ((0, import_react19.isValidElement)(child)) {
2344
+ const childClasses = (0, import_dedupe21.default)(
2257
2345
  child.props.className,
2258
2346
  classes
2259
2347
  );
2260
- return (0, import_react18.cloneElement)(
2348
+ return (0, import_react19.cloneElement)(
2261
2349
  child,
2262
2350
  {
2263
2351
  className: childClasses
2264
2352
  }
2265
2353
  );
2266
2354
  }
2267
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: classes, children: child });
2355
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("span", { className: classes, children: child });
2268
2356
  }) });
2269
2357
  };
2270
2358
  Item.displayName = "DropdownMenu.Item";
@@ -2289,23 +2377,23 @@ var init_DropdownMenu2 = __esm({
2289
2377
  });
2290
2378
 
2291
2379
  // src/components/Fieldset/Fieldset.tsx
2292
- var import_dedupe21, import_react19, import_Fieldset, import_jsx_runtime26, useFieldset, Fieldset;
2380
+ var import_dedupe22, import_react20, import_Fieldset, import_jsx_runtime28, useFieldset, Fieldset;
2293
2381
  var init_Fieldset = __esm({
2294
2382
  "src/components/Fieldset/Fieldset.tsx"() {
2295
2383
  "use strict";
2296
2384
  "use client";
2297
- import_dedupe21 = __toESM(require("classnames/dedupe"));
2298
- import_react19 = require("react");
2385
+ import_dedupe22 = __toESM(require("classnames/dedupe"));
2386
+ import_react20 = require("react");
2299
2387
  init_Flex2();
2300
2388
  import_Fieldset = require("@simplybusiness/mobius/src/components/Fieldset/Fieldset.css");
2301
- import_jsx_runtime26 = require("react/jsx-runtime");
2389
+ import_jsx_runtime28 = require("react/jsx-runtime");
2302
2390
  useFieldset = (props) => {
2303
2391
  const { legend } = props;
2304
2392
  let legendProps = {};
2305
2393
  let containerProps = {
2306
2394
  role: "group"
2307
2395
  };
2308
- const legendId = (0, import_react19.useId)();
2396
+ const legendId = (0, import_react20.useId)();
2309
2397
  if (legend) {
2310
2398
  legendProps = {
2311
2399
  ...legendProps,
@@ -2325,14 +2413,14 @@ var init_Fieldset = __esm({
2325
2413
  const {
2326
2414
  children,
2327
2415
  legend,
2328
- legendComponent = /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("legend", {}),
2416
+ legendComponent = /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("legend", {}),
2329
2417
  ...otherProps
2330
2418
  } = props;
2331
2419
  const { legendProps, containerProps } = useFieldset(props);
2332
- const classes = (0, import_dedupe21.default)("mobius", "mobius-fieldset", props.className);
2420
+ const classes = (0, import_dedupe22.default)("mobius", "mobius-fieldset", props.className);
2333
2421
  legendProps.className = "mobius-fieldset__legend";
2334
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(Flex, { ...containerProps, ...otherProps, className: classes, children: [
2335
- legend && (0, import_react19.cloneElement)(legendComponent, { ...legendProps }, [legend]),
2422
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(Flex, { ...containerProps, ...otherProps, className: classes, children: [
2423
+ legend && (0, import_react20.cloneElement)(legendComponent, { ...legendProps }, [legend]),
2336
2424
  children
2337
2425
  ] });
2338
2426
  };
@@ -2349,13 +2437,13 @@ var init_Fieldset2 = __esm({
2349
2437
  });
2350
2438
 
2351
2439
  // src/components/Grid/Grid.tsx
2352
- var import_dedupe22, import_jsx_runtime27, Grid;
2440
+ var import_dedupe23, import_jsx_runtime29, Grid;
2353
2441
  var init_Grid = __esm({
2354
2442
  "src/components/Grid/Grid.tsx"() {
2355
2443
  "use strict";
2356
- import_dedupe22 = __toESM(require("classnames/dedupe"));
2444
+ import_dedupe23 = __toESM(require("classnames/dedupe"));
2357
2445
  init_utils();
2358
- import_jsx_runtime27 = require("react/jsx-runtime");
2446
+ import_jsx_runtime29 = require("react/jsx-runtime");
2359
2447
  Grid = ({ ref: _ref, ...props }) => {
2360
2448
  const {
2361
2449
  columns = 12,
@@ -2370,7 +2458,7 @@ var init_Grid = __esm({
2370
2458
  style,
2371
2459
  ...rest
2372
2460
  } = props;
2373
- const classes = (0, import_dedupe22.default)("mobius", "mobius-grid", className);
2461
+ const classes = (0, import_dedupe23.default)("mobius", "mobius-grid", className);
2374
2462
  const styles = filterUndefinedProps({
2375
2463
  boxSizing: "border-box",
2376
2464
  display: "grid",
@@ -2384,22 +2472,22 @@ var init_Grid = __esm({
2384
2472
  justifyItems,
2385
2473
  ...style
2386
2474
  });
2387
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { style: styles, className: classes, ...rest });
2475
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { style: styles, className: classes, ...rest });
2388
2476
  };
2389
2477
  Grid.displayName = "Grid";
2390
2478
  }
2391
2479
  });
2392
2480
 
2393
2481
  // src/components/Grid/Item.tsx
2394
- var import_react20, import_dedupe23, import_jsx_runtime28, getBreakpointMap, DEFAULT_SPAN, GridItem;
2482
+ var import_react21, import_dedupe24, import_jsx_runtime30, getBreakpointMap, DEFAULT_SPAN, GridItem;
2395
2483
  var init_Item2 = __esm({
2396
2484
  "src/components/Grid/Item.tsx"() {
2397
2485
  "use strict";
2398
2486
  "use client";
2399
- import_react20 = require("react");
2400
- import_dedupe23 = __toESM(require("classnames/dedupe"));
2487
+ import_react21 = require("react");
2488
+ import_dedupe24 = __toESM(require("classnames/dedupe"));
2401
2489
  init_hooks();
2402
- import_jsx_runtime28 = require("react/jsx-runtime");
2490
+ import_jsx_runtime30 = require("react/jsx-runtime");
2403
2491
  getBreakpointMap = (config) => Object.entries(config).reduce(
2404
2492
  (prev, [key, value]) => {
2405
2493
  const previous = Object.values(prev);
@@ -2434,9 +2522,9 @@ var init_Item2 = __esm({
2434
2522
  xl,
2435
2523
  xxl
2436
2524
  });
2437
- const [responsiveSpan, setResponsiveSpan] = (0, import_react20.useState)();
2438
- const classes = (0, import_dedupe23.default)("mobius-grid__item", className);
2439
- (0, import_react20.useEffect)(() => {
2525
+ const [responsiveSpan, setResponsiveSpan] = (0, import_react21.useState)();
2526
+ const classes = (0, import_dedupe24.default)("mobius-grid__item", className);
2527
+ (0, import_react21.useEffect)(() => {
2440
2528
  setResponsiveSpan(breakpointMap[breakpointSize]);
2441
2529
  }, [breakpointSize, breakpointMap]);
2442
2530
  const styles = {
@@ -2444,7 +2532,7 @@ var init_Item2 = __esm({
2444
2532
  alignSelf,
2445
2533
  justifySelf
2446
2534
  };
2447
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { style: { ...styles }, className: classes, ...rest });
2535
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { style: { ...styles }, className: classes, ...rest });
2448
2536
  };
2449
2537
  GridItem.displayName = "GridItem";
2450
2538
  }
@@ -2465,20 +2553,20 @@ var init_Grid2 = __esm({
2465
2553
  });
2466
2554
 
2467
2555
  // src/components/Image/Image.tsx
2468
- var import_dedupe24, import_jsx_runtime29, Image;
2556
+ var import_dedupe25, import_jsx_runtime31, Image;
2469
2557
  var init_Image = __esm({
2470
2558
  "src/components/Image/Image.tsx"() {
2471
2559
  "use strict";
2472
- import_dedupe24 = __toESM(require("classnames/dedupe"));
2473
- import_jsx_runtime29 = require("react/jsx-runtime");
2560
+ import_dedupe25 = __toESM(require("classnames/dedupe"));
2561
+ import_jsx_runtime31 = require("react/jsx-runtime");
2474
2562
  Image = ({
2475
2563
  ref,
2476
2564
  alt,
2477
2565
  elementType: Component = "img",
2478
2566
  ...otherProps
2479
2567
  }) => {
2480
- const classes = (0, import_dedupe24.default)("mobius", "mobius-image", otherProps.className);
2481
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Component, { alt, ref, ...otherProps, className: classes });
2568
+ const classes = (0, import_dedupe25.default)("mobius", "mobius-image", otherProps.className);
2569
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Component, { alt, ref, ...otherProps, className: classes });
2482
2570
  };
2483
2571
  Image.displayName = "Image";
2484
2572
  }
@@ -2493,13 +2581,13 @@ var init_Image2 = __esm({
2493
2581
  });
2494
2582
 
2495
2583
  // src/components/Link/Link.tsx
2496
- var import_dedupe25, import_Link, import_jsx_runtime30, Link;
2584
+ var import_dedupe26, import_Link, import_jsx_runtime32, Link;
2497
2585
  var init_Link = __esm({
2498
2586
  "src/components/Link/Link.tsx"() {
2499
2587
  "use strict";
2500
- import_dedupe25 = __toESM(require("classnames/dedupe"));
2588
+ import_dedupe26 = __toESM(require("classnames/dedupe"));
2501
2589
  import_Link = require("@simplybusiness/mobius/src/components/Link/Link.css");
2502
- import_jsx_runtime30 = require("react/jsx-runtime");
2590
+ import_jsx_runtime32 = require("react/jsx-runtime");
2503
2591
  Link = ({ ref, ...props }) => {
2504
2592
  const {
2505
2593
  isDisabled = false,
@@ -2513,7 +2601,7 @@ var init_Link = __esm({
2513
2601
  pointerEvents: "none"
2514
2602
  };
2515
2603
  const styles = { ...style, ...isDisabled && disabledStyles };
2516
- const classes = (0, import_dedupe25.default)(
2604
+ const classes = (0, import_dedupe26.default)(
2517
2605
  "mobius",
2518
2606
  "mobius-link",
2519
2607
  className,
@@ -2522,7 +2610,7 @@ var init_Link = __esm({
2522
2610
  "--is-disabled": isDisabled
2523
2611
  }
2524
2612
  );
2525
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2613
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
2526
2614
  Component,
2527
2615
  {
2528
2616
  ref,
@@ -2547,12 +2635,12 @@ var init_Link2 = __esm({
2547
2635
  });
2548
2636
 
2549
2637
  // src/components/LinkButton/LinkButton.tsx
2550
- var import_dedupe26, import_jsx_runtime31;
2638
+ var import_dedupe27, import_jsx_runtime33;
2551
2639
  var init_LinkButton = __esm({
2552
2640
  "src/components/LinkButton/LinkButton.tsx"() {
2553
2641
  "use strict";
2554
- import_dedupe26 = __toESM(require("classnames/dedupe"));
2555
- import_jsx_runtime31 = require("react/jsx-runtime");
2642
+ import_dedupe27 = __toESM(require("classnames/dedupe"));
2643
+ import_jsx_runtime33 = require("react/jsx-runtime");
2556
2644
  }
2557
2645
  });
2558
2646
 
@@ -2565,14 +2653,14 @@ var init_LinkButton2 = __esm({
2565
2653
  });
2566
2654
 
2567
2655
  // src/components/List/List.tsx
2568
- var import_react21, import_dedupe27, import_List, import_jsx_runtime32, List;
2656
+ var import_react22, import_dedupe28, import_List, import_jsx_runtime34, List;
2569
2657
  var init_List = __esm({
2570
2658
  "src/components/List/List.tsx"() {
2571
2659
  "use strict";
2572
- import_react21 = require("react");
2573
- import_dedupe27 = __toESM(require("classnames/dedupe"));
2660
+ import_react22 = require("react");
2661
+ import_dedupe28 = __toESM(require("classnames/dedupe"));
2574
2662
  import_List = require("@simplybusiness/mobius/src/components/List/List.css");
2575
- import_jsx_runtime32 = require("react/jsx-runtime");
2663
+ import_jsx_runtime34 = require("react/jsx-runtime");
2576
2664
  List = ({ ref, ...props }) => {
2577
2665
  const Component = props.isOrdered ? "ol" : "ul";
2578
2666
  const { children, icon, ...otherProps } = props;
@@ -2581,7 +2669,7 @@ var init_List = __esm({
2581
2669
  ...restProps,
2582
2670
  reversed: isReversed
2583
2671
  };
2584
- const classes = (0, import_dedupe27.default)(
2672
+ const classes = (0, import_dedupe28.default)(
2585
2673
  "mobius",
2586
2674
  "mobius-list",
2587
2675
  {
@@ -2590,9 +2678,9 @@ var init_List = __esm({
2590
2678
  },
2591
2679
  otherProps.className
2592
2680
  );
2593
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Component, { ref, ...mappedProps, className: classes, children: import_react21.Children.map(children, (child) => {
2594
- if ((0, import_react21.isValidElement)(child)) {
2595
- return (0, import_react21.cloneElement)(child, {
2681
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Component, { ref, ...mappedProps, className: classes, children: import_react22.Children.map(children, (child) => {
2682
+ if ((0, import_react22.isValidElement)(child)) {
2683
+ return (0, import_react22.cloneElement)(child, {
2596
2684
  parentIcon: icon
2597
2685
  });
2598
2686
  }
@@ -2604,16 +2692,16 @@ var init_List = __esm({
2604
2692
  });
2605
2693
 
2606
2694
  // src/components/List/ListItem.tsx
2607
- var import_dedupe28, import_jsx_runtime33, ListItem;
2695
+ var import_dedupe29, import_jsx_runtime35, ListItem;
2608
2696
  var init_ListItem = __esm({
2609
2697
  "src/components/List/ListItem.tsx"() {
2610
2698
  "use strict";
2611
- import_dedupe28 = __toESM(require("classnames/dedupe"));
2612
- import_jsx_runtime33 = require("react/jsx-runtime");
2699
+ import_dedupe29 = __toESM(require("classnames/dedupe"));
2700
+ import_jsx_runtime35 = require("react/jsx-runtime");
2613
2701
  ListItem = ({ ref, ...props }) => {
2614
2702
  const { parentIcon, icon, children, ...otherProps } = props;
2615
2703
  const iconContent = icon || parentIcon;
2616
- const classes = (0, import_dedupe28.default)(
2704
+ const classes = (0, import_dedupe29.default)(
2617
2705
  "mobius",
2618
2706
  "mobius-list__item",
2619
2707
  {
@@ -2621,15 +2709,15 @@ var init_ListItem = __esm({
2621
2709
  },
2622
2710
  props.className
2623
2711
  );
2624
- const contentClasses = (0, import_dedupe28.default)("mobius", "mobius-list__item-content");
2625
- const iconClasses = (0, import_dedupe28.default)("mobius", "mobius-list__icon");
2712
+ const contentClasses = (0, import_dedupe29.default)("mobius", "mobius-list__item-content");
2713
+ const iconClasses = (0, import_dedupe29.default)("mobius", "mobius-list__icon");
2626
2714
  if (iconContent) {
2627
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("li", { ref, ...otherProps, className: classes, children: /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("span", { className: contentClasses, children: [
2628
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { className: iconClasses, children: iconContent }),
2715
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("li", { ref, ...otherProps, className: classes, children: /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("span", { className: contentClasses, children: [
2716
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("span", { className: iconClasses, children: iconContent }),
2629
2717
  children
2630
2718
  ] }) });
2631
2719
  }
2632
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("li", { ref, ...otherProps, className: classes, children });
2720
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("li", { ref, ...otherProps, className: classes, children });
2633
2721
  };
2634
2722
  ListItem.displayName = "ListItem";
2635
2723
  }
@@ -2645,23 +2733,23 @@ var init_List2 = __esm({
2645
2733
  });
2646
2734
 
2647
2735
  // src/components/LoadingIndicator/LoadingIndicator.tsx
2648
- var import_dedupe29, import_icons7, import_LoadingIndicator, import_jsx_runtime34, LoadingIndicator;
2736
+ var import_dedupe30, import_icons7, import_LoadingIndicator, import_jsx_runtime36, LoadingIndicator;
2649
2737
  var init_LoadingIndicator = __esm({
2650
2738
  "src/components/LoadingIndicator/LoadingIndicator.tsx"() {
2651
2739
  "use strict";
2652
- import_dedupe29 = __toESM(require("classnames/dedupe"));
2740
+ import_dedupe30 = __toESM(require("classnames/dedupe"));
2653
2741
  import_icons7 = require("@simplybusiness/icons");
2654
2742
  init_Icon2();
2655
2743
  import_LoadingIndicator = require("@simplybusiness/mobius/src/components/LoadingIndicator/LoadingIndicator.css");
2656
- import_jsx_runtime34 = require("react/jsx-runtime");
2744
+ import_jsx_runtime36 = require("react/jsx-runtime");
2657
2745
  LoadingIndicator = ({ ref, ...props }) => {
2658
2746
  const { icon = import_icons7.loading, ...otherProps } = props;
2659
- const classes = (0, import_dedupe29.default)(
2747
+ const classes = (0, import_dedupe30.default)(
2660
2748
  "mobius",
2661
2749
  "mobius-loading-indicator",
2662
2750
  otherProps.className
2663
2751
  );
2664
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Icon, { icon, spin: true, ref, ...otherProps, className: classes });
2752
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Icon, { icon, spin: true, ref, ...otherProps, className: classes });
2665
2753
  };
2666
2754
  LoadingIndicator.displayName = "LoadingIndicator";
2667
2755
  }
@@ -2676,16 +2764,16 @@ var init_LoadingIndicator2 = __esm({
2676
2764
  });
2677
2765
 
2678
2766
  // src/components/Logo/Logo.tsx
2679
- var import_dedupe30, import_jsx_runtime35, Logo;
2767
+ var import_dedupe31, import_jsx_runtime37, Logo;
2680
2768
  var init_Logo = __esm({
2681
2769
  "src/components/Logo/Logo.tsx"() {
2682
2770
  "use strict";
2683
- import_dedupe30 = __toESM(require("classnames/dedupe"));
2684
- import_jsx_runtime35 = require("react/jsx-runtime");
2771
+ import_dedupe31 = __toESM(require("classnames/dedupe"));
2772
+ import_jsx_runtime37 = require("react/jsx-runtime");
2685
2773
  Logo = ({ ref, ...props }) => {
2686
2774
  const { className, width, height, ...otherProps } = props;
2687
- const classes = (0, import_dedupe30.default)("mobius", "mobius-logo", className);
2688
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
2775
+ const classes = (0, import_dedupe31.default)("mobius", "mobius-logo", className);
2776
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
2689
2777
  "svg",
2690
2778
  {
2691
2779
  width,
@@ -2695,7 +2783,7 @@ var init_Logo = __esm({
2695
2783
  viewBox: "0 0 144 37",
2696
2784
  ...otherProps,
2697
2785
  children: [
2698
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
2786
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
2699
2787
  "linearGradient",
2700
2788
  {
2701
2789
  id: "logo-gradient",
@@ -2704,27 +2792,27 @@ var init_Logo = __esm({
2704
2792
  y1: "76.042%",
2705
2793
  y2: "26.973%",
2706
2794
  children: [
2707
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("stop", { stopColor: "#4632D8", offset: "0%" }),
2708
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("stop", { stopColor: "#9084E8", offset: "100%" })
2795
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("stop", { stopColor: "#4632D8", offset: "0%" }),
2796
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("stop", { stopColor: "#9084E8", offset: "100%" })
2709
2797
  ]
2710
2798
  }
2711
2799
  ) }),
2712
- /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("g", { children: [
2713
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2800
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("g", { children: [
2801
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
2714
2802
  "path",
2715
2803
  {
2716
2804
  fill: "#0E0A2B",
2717
2805
  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"
2718
2806
  }
2719
2807
  ),
2720
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2808
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
2721
2809
  "path",
2722
2810
  {
2723
2811
  fill: "url(#logo-gradient)",
2724
2812
  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"
2725
2813
  }
2726
2814
  ),
2727
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2815
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
2728
2816
  "path",
2729
2817
  {
2730
2818
  fill: "#0E0A2B",
@@ -2749,23 +2837,23 @@ var init_Logo2 = __esm({
2749
2837
  });
2750
2838
 
2751
2839
  // src/components/Modal/Content.tsx
2752
- var import_jsx_runtime36, Content2;
2840
+ var import_jsx_runtime38, Content2;
2753
2841
  var init_Content2 = __esm({
2754
2842
  "src/components/Modal/Content.tsx"() {
2755
2843
  "use strict";
2756
- import_jsx_runtime36 = require("react/jsx-runtime");
2757
- Content2 = ({ ref, children, ...otherProps }) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { ref, ...otherProps, className: "mobius-modal__content", children });
2844
+ import_jsx_runtime38 = require("react/jsx-runtime");
2845
+ Content2 = ({ ref, children, ...otherProps }) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { ref, ...otherProps, className: "mobius-modal__content", children });
2758
2846
  Content2.displayName = "Content";
2759
2847
  }
2760
2848
  });
2761
2849
 
2762
2850
  // src/components/Modal/ModalContext.tsx
2763
- var import_react22, ModalContext;
2851
+ var import_react23, ModalContext;
2764
2852
  var init_ModalContext = __esm({
2765
2853
  "src/components/Modal/ModalContext.tsx"() {
2766
2854
  "use strict";
2767
- import_react22 = require("react");
2768
- ModalContext = (0, import_react22.createContext)({
2855
+ import_react23 = require("react");
2856
+ ModalContext = (0, import_react23.createContext)({
2769
2857
  onClose: () => {
2770
2858
  },
2771
2859
  closeLabel: void 0
@@ -2774,21 +2862,21 @@ var init_ModalContext = __esm({
2774
2862
  });
2775
2863
 
2776
2864
  // src/components/Modal/useModal.ts
2777
- var import_react23, useModal;
2865
+ var import_react24, useModal;
2778
2866
  var init_useModal = __esm({
2779
2867
  "src/components/Modal/useModal.ts"() {
2780
2868
  "use strict";
2781
- import_react23 = require("react");
2869
+ import_react24 = require("react");
2782
2870
  init_ModalContext();
2783
2871
  useModal = () => {
2784
- const { onClose, closeLabel } = (0, import_react23.useContext)(ModalContext);
2872
+ const { onClose, closeLabel } = (0, import_react24.useContext)(ModalContext);
2785
2873
  return { onClose, closeLabel };
2786
2874
  };
2787
2875
  }
2788
2876
  });
2789
2877
 
2790
2878
  // src/components/Modal/Header.tsx
2791
- var import_icons8, import_jsx_runtime37, Header2;
2879
+ var import_icons8, import_jsx_runtime39, Header2;
2792
2880
  var init_Header2 = __esm({
2793
2881
  "src/components/Modal/Header.tsx"() {
2794
2882
  "use strict";
@@ -2796,12 +2884,12 @@ var init_Header2 = __esm({
2796
2884
  init_Button2();
2797
2885
  init_Icon2();
2798
2886
  init_useModal();
2799
- import_jsx_runtime37 = require("react/jsx-runtime");
2887
+ import_jsx_runtime39 = require("react/jsx-runtime");
2800
2888
  Header2 = ({ ref, children, ...otherProps }) => {
2801
2889
  const { onClose, closeLabel } = useModal();
2802
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("header", { ref, ...otherProps, className: "mobius-modal__header", children: [
2890
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("header", { ref, ...otherProps, className: "mobius-modal__header", children: [
2803
2891
  children,
2804
- /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
2892
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
2805
2893
  Button,
2806
2894
  {
2807
2895
  "aria-label": "Close",
@@ -2809,7 +2897,7 @@ var init_Header2 = __esm({
2809
2897
  onPress: onClose,
2810
2898
  className: "mobius-modal__close",
2811
2899
  children: [
2812
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Icon, { icon: import_icons8.cross }),
2900
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Icon, { icon: import_icons8.cross }),
2813
2901
  " ",
2814
2902
  closeLabel
2815
2903
  ]
@@ -2822,19 +2910,19 @@ var init_Header2 = __esm({
2822
2910
  });
2823
2911
 
2824
2912
  // src/components/Modal/Modal.tsx
2825
- var import_dedupe31, import_react24, import_Modal, import_jsx_runtime38, TRANSITION_CSS_VARIABLE2, Modal;
2913
+ var import_dedupe32, import_react25, import_Modal, import_jsx_runtime40, TRANSITION_CSS_VARIABLE2, Modal;
2826
2914
  var init_Modal = __esm({
2827
2915
  "src/components/Modal/Modal.tsx"() {
2828
2916
  "use strict";
2829
2917
  "use client";
2830
- import_dedupe31 = __toESM(require("classnames/dedupe"));
2831
- import_react24 = require("react");
2918
+ import_dedupe32 = __toESM(require("classnames/dedupe"));
2919
+ import_react25 = require("react");
2832
2920
  init_hooks();
2833
2921
  init_utils();
2834
2922
  init_polyfill_tests();
2835
2923
  init_ModalContext();
2836
2924
  import_Modal = require("@simplybusiness/mobius/src/components/Modal/Modal.css");
2837
- import_jsx_runtime38 = require("react/jsx-runtime");
2925
+ import_jsx_runtime40 = require("react/jsx-runtime");
2838
2926
  TRANSITION_CSS_VARIABLE2 = "--modal-transition-duration";
2839
2927
  Modal = ({ ref, ...props }) => {
2840
2928
  const {
@@ -2848,11 +2936,11 @@ var init_Modal = __esm({
2848
2936
  animation,
2849
2937
  ...rest
2850
2938
  } = props;
2851
- const [shouldTransition, setShouldTransition] = (0, import_react24.useState)(false);
2852
- (0, import_react24.useEffect)(() => {
2939
+ const [shouldTransition, setShouldTransition] = (0, import_react25.useState)(false);
2940
+ (0, import_react25.useEffect)(() => {
2853
2941
  setShouldTransition(supportsDialog());
2854
2942
  }, []);
2855
- const dialogRef = (0, import_react24.useRef)(null);
2943
+ const dialogRef = (0, import_react25.useRef)(null);
2856
2944
  const { close } = useDialog({
2857
2945
  ref: dialogRef,
2858
2946
  isOpen,
@@ -2863,7 +2951,7 @@ var init_Modal = __esm({
2863
2951
  CSSVariable: TRANSITION_CSS_VARIABLE2
2864
2952
  }
2865
2953
  });
2866
- const modalClasses = (0, import_dedupe31.default)(
2954
+ const modalClasses = (0, import_dedupe32.default)(
2867
2955
  "mobius",
2868
2956
  "mobius-modal",
2869
2957
  {
@@ -2876,21 +2964,21 @@ var init_Modal = __esm({
2876
2964
  },
2877
2965
  className
2878
2966
  );
2879
- const contextValue = (0, import_react24.useMemo)(
2967
+ const contextValue = (0, import_react25.useMemo)(
2880
2968
  () => ({
2881
2969
  onClose: close,
2882
2970
  closeLabel
2883
2971
  }),
2884
2972
  [close, closeLabel]
2885
2973
  );
2886
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
2974
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
2887
2975
  "dialog",
2888
2976
  {
2889
2977
  ref: mergeRefs([dialogRef, ref]),
2890
2978
  onCancel: close,
2891
2979
  className: modalClasses,
2892
2980
  ...rest,
2893
- children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(ModalContext.Provider, { value: contextValue, children })
2981
+ children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(ModalContext.Provider, { value: contextValue, children })
2894
2982
  }
2895
2983
  );
2896
2984
  };
@@ -2915,16 +3003,16 @@ var init_Modal2 = __esm({
2915
3003
  });
2916
3004
 
2917
3005
  // src/components/NumberField/NumberField.tsx
2918
- var import_dedupe32, import_react25, import_NumberField, import_jsx_runtime39, NumberField;
3006
+ var import_dedupe33, import_react26, import_NumberField, import_jsx_runtime41, NumberField;
2919
3007
  var init_NumberField = __esm({
2920
3008
  "src/components/NumberField/NumberField.tsx"() {
2921
3009
  "use strict";
2922
3010
  "use client";
2923
- import_dedupe32 = __toESM(require("classnames/dedupe"));
2924
- import_react25 = require("react");
3011
+ import_dedupe33 = __toESM(require("classnames/dedupe"));
3012
+ import_react26 = require("react");
2925
3013
  init_TextField2();
2926
3014
  import_NumberField = require("@simplybusiness/mobius/src/components/NumberField/NumberField.css");
2927
- import_jsx_runtime39 = require("react/jsx-runtime");
3015
+ import_jsx_runtime41 = require("react/jsx-runtime");
2928
3016
  NumberField = ({ ref, ...props }) => {
2929
3017
  const {
2930
3018
  minValue,
@@ -2940,15 +3028,15 @@ var init_NumberField = __esm({
2940
3028
  onBlur: customOnBlur,
2941
3029
  ...rest
2942
3030
  } = otherProps;
2943
- const focusedInputRef = (0, import_react25.useRef)(null);
2944
- const wheelHandler = (0, import_react25.useCallback)((ev) => ev.preventDefault(), []);
2945
- (0, import_react25.useEffect)(() => {
3031
+ const focusedInputRef = (0, import_react26.useRef)(null);
3032
+ const wheelHandler = (0, import_react26.useCallback)((ev) => ev.preventDefault(), []);
3033
+ (0, import_react26.useEffect)(() => {
2946
3034
  return () => {
2947
3035
  focusedInputRef.current?.removeEventListener("wheel", wheelHandler);
2948
3036
  focusedInputRef.current = null;
2949
3037
  };
2950
3038
  }, [wheelHandler]);
2951
- const containerClasses = (0, import_dedupe32.default)("mobius-number-field", className, {
3039
+ const containerClasses = (0, import_dedupe33.default)("mobius-number-field", className, {
2952
3040
  "--hide-spin-buttons": hideSpinButtons
2953
3041
  });
2954
3042
  const handleBeforeInput = (event) => {
@@ -2992,7 +3080,7 @@ var init_NumberField = __esm({
2992
3080
  },
2993
3081
  onBlur: (e) => handleBlur(e)
2994
3082
  };
2995
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3083
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
2996
3084
  TextField,
2997
3085
  {
2998
3086
  ...forwardedProps,
@@ -3020,18 +3108,18 @@ var init_NumberField2 = __esm({
3020
3108
  });
3021
3109
 
3022
3110
  // src/components/Option/Option.tsx
3023
- var import_jsx_runtime40, Option;
3111
+ var import_jsx_runtime42, Option;
3024
3112
  var init_Option = __esm({
3025
3113
  "src/components/Option/Option.tsx"() {
3026
3114
  "use strict";
3027
- import_jsx_runtime40 = require("react/jsx-runtime");
3115
+ import_jsx_runtime42 = require("react/jsx-runtime");
3028
3116
  Option = ({ ref, ...props }) => {
3029
3117
  const { isDisabled, ...rest } = props;
3030
3118
  const mappedProps = {
3031
3119
  ...rest,
3032
3120
  disabled: isDisabled
3033
3121
  };
3034
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("option", { ...mappedProps, ref });
3122
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("option", { ...mappedProps, ref });
3035
3123
  };
3036
3124
  Option.displayName = "Option";
3037
3125
  }
@@ -3046,17 +3134,17 @@ var init_Option2 = __esm({
3046
3134
  });
3047
3135
 
3048
3136
  // src/components/PasswordField/ShowHideButton.tsx
3049
- var import_icons9, import_jsx_runtime41, ShowHideButton;
3137
+ var import_icons9, import_jsx_runtime43, ShowHideButton;
3050
3138
  var init_ShowHideButton = __esm({
3051
3139
  "src/components/PasswordField/ShowHideButton.tsx"() {
3052
3140
  "use strict";
3053
3141
  import_icons9 = require("@simplybusiness/icons");
3054
3142
  init_src();
3055
- import_jsx_runtime41 = require("react/jsx-runtime");
3143
+ import_jsx_runtime43 = require("react/jsx-runtime");
3056
3144
  ShowHideButton = ({
3057
3145
  show = false,
3058
3146
  onClick
3059
- }) => /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3147
+ }) => /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
3060
3148
  "button",
3061
3149
  {
3062
3150
  className: "mobius-password-field__show-button",
@@ -3067,35 +3155,35 @@ var init_ShowHideButton = __esm({
3067
3155
  },
3068
3156
  "aria-label": `${show ? "Hide" : "Show"} password`,
3069
3157
  "data-testid": "show-hide-button",
3070
- children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Icon, { icon: show ? import_icons9.eyeSlash : import_icons9.eye, "aria-hidden": "true" })
3158
+ children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Icon, { icon: show ? import_icons9.eyeSlash : import_icons9.eye, "aria-hidden": "true" })
3071
3159
  }
3072
3160
  );
3073
3161
  }
3074
3162
  });
3075
3163
 
3076
3164
  // src/components/PasswordField/PasswordField.tsx
3077
- var import_dedupe33, import_react26, import_PasswordField, import_jsx_runtime42, PasswordField;
3165
+ var import_dedupe34, import_react27, import_PasswordField, import_jsx_runtime44, PasswordField;
3078
3166
  var init_PasswordField = __esm({
3079
3167
  "src/components/PasswordField/PasswordField.tsx"() {
3080
3168
  "use strict";
3081
3169
  "use client";
3082
- import_dedupe33 = __toESM(require("classnames/dedupe"));
3083
- import_react26 = require("react");
3170
+ import_dedupe34 = __toESM(require("classnames/dedupe"));
3171
+ import_react27 = require("react");
3084
3172
  init_mergeRefs();
3085
3173
  init_TextField2();
3086
3174
  init_ShowHideButton();
3087
3175
  import_PasswordField = require("@simplybusiness/mobius/src/components/PasswordField/PasswordField.css");
3088
- import_jsx_runtime42 = require("react/jsx-runtime");
3176
+ import_jsx_runtime44 = require("react/jsx-runtime");
3089
3177
  PasswordField = ({
3090
3178
  ref,
3091
3179
  className,
3092
3180
  autoComplete = "current-password",
3093
3181
  ...props
3094
3182
  }) => {
3095
- const [show, setShow] = (0, import_react26.useState)(false);
3183
+ const [show, setShow] = (0, import_react27.useState)(false);
3096
3184
  const type = show ? "text" : "password";
3097
- const classes = (0, import_dedupe33.default)("mobius-password-field", className);
3098
- const localRef = (0, import_react26.useRef)(null);
3185
+ const classes = (0, import_dedupe34.default)("mobius-password-field", className);
3186
+ const localRef = (0, import_react27.useRef)(null);
3099
3187
  const handleShowHideButtonClick = () => {
3100
3188
  const selectionStart = localRef.current?.selectionStart;
3101
3189
  const selectionEnd = localRef.current?.selectionEnd;
@@ -3107,7 +3195,7 @@ var init_PasswordField = __esm({
3107
3195
  }
3108
3196
  });
3109
3197
  };
3110
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3198
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
3111
3199
  TextField,
3112
3200
  {
3113
3201
  ref: mergeRefs([localRef, ref]),
@@ -3115,7 +3203,7 @@ var init_PasswordField = __esm({
3115
3203
  ...props,
3116
3204
  autoComplete,
3117
3205
  type,
3118
- suffixInside: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(ShowHideButton, { onClick: handleShowHideButtonClick, show })
3206
+ suffixInside: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(ShowHideButton, { onClick: handleShowHideButtonClick, show })
3119
3207
  }
3120
3208
  );
3121
3209
  };
@@ -3132,17 +3220,17 @@ var init_PasswordField2 = __esm({
3132
3220
  });
3133
3221
 
3134
3222
  // src/components/Popover/Popover.tsx
3135
- var import_react27, import_icons10, import_dedupe34, import_react28, import_mobius_hooks4, import_Popover, import_jsx_runtime43;
3223
+ var import_react28, import_icons10, import_dedupe35, import_react29, import_mobius_hooks4, import_Popover, import_jsx_runtime45;
3136
3224
  var init_Popover = __esm({
3137
3225
  "src/components/Popover/Popover.tsx"() {
3138
3226
  "use strict";
3139
- import_react27 = require("@floating-ui/react");
3227
+ import_react28 = require("@floating-ui/react");
3140
3228
  import_icons10 = require("@simplybusiness/icons");
3141
- import_dedupe34 = __toESM(require("classnames/dedupe"));
3142
- import_react28 = require("react");
3229
+ import_dedupe35 = __toESM(require("classnames/dedupe"));
3230
+ import_react29 = require("react");
3143
3231
  import_mobius_hooks4 = require("@simplybusiness/mobius-hooks");
3144
3232
  import_Popover = require("@simplybusiness/mobius/src/components/Popover/Popover.css");
3145
- import_jsx_runtime43 = require("react/jsx-runtime");
3233
+ import_jsx_runtime45 = require("react/jsx-runtime");
3146
3234
  }
3147
3235
  });
3148
3236
 
@@ -3166,17 +3254,17 @@ function warnAboutInvalidValues(value, minValue, maxValue) {
3166
3254
  console.warn("Progress value is greater than maxValue");
3167
3255
  }
3168
3256
  }
3169
- var import_dedupe35, import_react29, import_Progress, import_jsx_runtime44, sanitizedValue, getLabelComponent, DEFAULT_VALUE, DEFAULT_MIN_VALUE, DEFAULT_MAX_VALUE, Progress;
3257
+ var import_dedupe36, import_react30, import_Progress, import_jsx_runtime46, sanitizedValue, getLabelComponent, DEFAULT_VALUE, DEFAULT_MIN_VALUE, DEFAULT_MAX_VALUE, Progress;
3170
3258
  var init_Progress = __esm({
3171
3259
  "src/components/Progress/Progress.tsx"() {
3172
3260
  "use strict";
3173
3261
  "use client";
3174
- import_dedupe35 = __toESM(require("classnames/dedupe"));
3175
- import_react29 = require("react");
3262
+ import_dedupe36 = __toESM(require("classnames/dedupe"));
3263
+ import_react30 = require("react");
3176
3264
  init_Label2();
3177
3265
  init_VisuallyHidden2();
3178
3266
  import_Progress = require("@simplybusiness/mobius/src/components/Progress/Progress.css");
3179
- import_jsx_runtime44 = require("react/jsx-runtime");
3267
+ import_jsx_runtime46 = require("react/jsx-runtime");
3180
3268
  sanitizedValue = (value, defaultValue) => {
3181
3269
  if (value === void 0 || Number.isNaN(value)) {
3182
3270
  return defaultValue;
@@ -3185,7 +3273,7 @@ var init_Progress = __esm({
3185
3273
  };
3186
3274
  getLabelComponent = (label, progressLabelId, showLabel) => {
3187
3275
  if (showLabel) {
3188
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
3276
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
3189
3277
  Label,
3190
3278
  {
3191
3279
  id: progressLabelId,
@@ -3195,7 +3283,7 @@ var init_Progress = __esm({
3195
3283
  }
3196
3284
  );
3197
3285
  }
3198
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(VisuallyHidden, { children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
3286
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(VisuallyHidden, { children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
3199
3287
  Label,
3200
3288
  {
3201
3289
  id: progressLabelId,
@@ -3209,8 +3297,8 @@ var init_Progress = __esm({
3209
3297
  DEFAULT_MIN_VALUE = 0;
3210
3298
  DEFAULT_MAX_VALUE = 100;
3211
3299
  Progress = ({ ref, ...props }) => {
3212
- const progressId = (0, import_react29.useId)();
3213
- const progressLabelId = (0, import_react29.useId)();
3300
+ const progressId = (0, import_react30.useId)();
3301
+ const progressLabelId = (0, import_react30.useId)();
3214
3302
  const {
3215
3303
  id,
3216
3304
  label,
@@ -3235,7 +3323,7 @@ var init_Progress = __esm({
3235
3323
  100
3236
3324
  );
3237
3325
  const barWidth = `${percentage}%`;
3238
- const classes = (0, import_dedupe35.default)("mobius", "mobius-progress", className, {
3326
+ const classes = (0, import_dedupe36.default)("mobius", "mobius-progress", className, {
3239
3327
  "--is-primary": variant === "primary",
3240
3328
  "--is-secondary": variant === "secondary"
3241
3329
  });
@@ -3245,7 +3333,7 @@ var init_Progress = __esm({
3245
3333
  progressBarProps["aria-valuenow"] = value.toString();
3246
3334
  progressBarProps["aria-valuetext"] = valueFormatter instanceof Function ? valueFormatter(value, minValue, maxValue) : barWidth;
3247
3335
  const labelComponent = getLabelComponent(label, progressLabelId, showLabel);
3248
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
3336
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
3249
3337
  "div",
3250
3338
  {
3251
3339
  id: id || progressId,
@@ -3256,8 +3344,8 @@ var init_Progress = __esm({
3256
3344
  "aria-labelledby": progressLabelId,
3257
3345
  children: [
3258
3346
  labelComponent,
3259
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: "mobius-progress__track", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: "mobius-progress__bar", style: { width: barWidth } }) }),
3260
- showValueLabel && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Label, { "data-testid": "value-label", elementType: "span", children: progressBarProps["aria-valuetext"] })
3347
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: "mobius-progress__track", children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: "mobius-progress__bar", style: { width: barWidth } }) }),
3348
+ showValueLabel && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Label, { "data-testid": "value-label", elementType: "span", children: progressBarProps["aria-valuetext"] })
3261
3349
  ]
3262
3350
  }
3263
3351
  );
@@ -3275,17 +3363,17 @@ var init_Progress2 = __esm({
3275
3363
  });
3276
3364
 
3277
3365
  // src/components/Radio/Radio.tsx
3278
- var import_dedupe36, import_react30, import_Radio, import_jsx_runtime45, Radio;
3366
+ var import_dedupe37, import_react31, import_Radio, import_jsx_runtime47, Radio;
3279
3367
  var init_Radio = __esm({
3280
3368
  "src/components/Radio/Radio.tsx"() {
3281
3369
  "use strict";
3282
3370
  "use client";
3283
- import_dedupe36 = __toESM(require("classnames/dedupe"));
3284
- import_react30 = require("react");
3371
+ import_dedupe37 = __toESM(require("classnames/dedupe"));
3372
+ import_react31 = require("react");
3285
3373
  init_ErrorMessage2();
3286
3374
  init_Label2();
3287
3375
  import_Radio = require("@simplybusiness/mobius/src/components/Radio/Radio.css");
3288
- import_jsx_runtime45 = require("react/jsx-runtime");
3376
+ import_jsx_runtime47 = require("react/jsx-runtime");
3289
3377
  Radio = ({ ref, ...props }) => {
3290
3378
  const {
3291
3379
  children,
@@ -3309,19 +3397,19 @@ var init_Radio = __esm({
3309
3397
  const isMultiline = label && children;
3310
3398
  const isControlled = selected !== void 0;
3311
3399
  const isChecked = isControlled ? selected === value : defaultChecked;
3312
- const contentRef = (0, import_react30.useRef)(null);
3313
- const prevOverflowRef = (0, import_react30.useRef)({
3400
+ const contentRef = (0, import_react31.useRef)(null);
3401
+ const prevOverflowRef = (0, import_react31.useRef)({
3314
3402
  vertical: false,
3315
3403
  horizontal: false
3316
3404
  });
3317
- const hasIconFirst = (0, import_react30.useMemo)(() => {
3318
- if (!children || import_react30.Children.count(children) === 0) return false;
3319
- const firstChild = import_react30.Children.toArray(children)[0];
3320
- if (!(0, import_react30.isValidElement)(firstChild)) return false;
3405
+ const hasIconFirst = (0, import_react31.useMemo)(() => {
3406
+ if (!children || import_react31.Children.count(children) === 0) return false;
3407
+ const firstChild = import_react31.Children.toArray(children)[0];
3408
+ if (!(0, import_react31.isValidElement)(firstChild)) return false;
3321
3409
  const props2 = firstChild.props;
3322
3410
  return "icon" in props2 && props2.icon !== void 0;
3323
3411
  }, [children]);
3324
- (0, import_react30.useLayoutEffect)(() => {
3412
+ (0, import_react31.useLayoutEffect)(() => {
3325
3413
  if (!contentRef.current || !onOverflow) return;
3326
3414
  if (orientation === "vertical") {
3327
3415
  return;
@@ -3350,13 +3438,13 @@ var init_Radio = __esm({
3350
3438
  "--is-multiline": !!isMultiline,
3351
3439
  "--is-required": isRequired
3352
3440
  };
3353
- const containerClasses = (0, import_dedupe36.default)(
3441
+ const containerClasses = (0, import_dedupe37.default)(
3354
3442
  "mobius-radio__label",
3355
3443
  radioClasses,
3356
3444
  className,
3357
3445
  { "--has-icon-first": hasIconFirst }
3358
3446
  );
3359
- const inputClasses = (0, import_dedupe36.default)("mobius-radio__input", radioClasses);
3447
+ const inputClasses = (0, import_dedupe37.default)("mobius-radio__input", radioClasses);
3360
3448
  const { "aria-describedby": _ariaDescribedBy, ...rest } = otherProps;
3361
3449
  const handleChange = (event) => {
3362
3450
  if (setSelected) {
@@ -3370,9 +3458,9 @@ var init_Radio = __esm({
3370
3458
  onChange(adaptedEvent);
3371
3459
  }
3372
3460
  };
3373
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_jsx_runtime45.Fragment, { children: [
3374
- /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(Label, { className: containerClasses, children: [
3375
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
3461
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_jsx_runtime47.Fragment, { children: [
3462
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(Label, { className: containerClasses, children: [
3463
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
3376
3464
  "input",
3377
3465
  {
3378
3466
  "aria-describedby": otherProps["aria-describedby"],
@@ -3389,12 +3477,12 @@ var init_Radio = __esm({
3389
3477
  ...rest
3390
3478
  }
3391
3479
  ),
3392
- isMultiline ? /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { ref: contentRef, className: "mobius-radio__content--multiline", children: [
3393
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "mobius-radio__content-first-line", children: label }),
3394
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "mobius-radio__extra-content", children })
3395
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { ref: contentRef, className: "mobius-radio__content", children: label || children })
3480
+ isMultiline ? /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { ref: contentRef, className: "mobius-radio__content--multiline", children: [
3481
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "mobius-radio__content-first-line", children: label }),
3482
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "mobius-radio__extra-content", children })
3483
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { ref: contentRef, className: "mobius-radio__content", children: label || children })
3396
3484
  ] }),
3397
- errorMessage && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(ErrorMessage, { errorMessage })
3485
+ errorMessage && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(ErrorMessage, { errorMessage })
3398
3486
  ] });
3399
3487
  };
3400
3488
  Radio.displayName = "Radio";
@@ -3402,19 +3490,19 @@ var init_Radio = __esm({
3402
3490
  });
3403
3491
 
3404
3492
  // src/components/Radio/RadioGroup.tsx
3405
- var import_dedupe37, import_react31, import_jsx_runtime46, getDefaultVal, RadioGroup;
3493
+ var import_dedupe38, import_react32, import_jsx_runtime48, getDefaultVal, RadioGroup;
3406
3494
  var init_RadioGroup = __esm({
3407
3495
  "src/components/Radio/RadioGroup.tsx"() {
3408
3496
  "use strict";
3409
3497
  "use client";
3410
- import_dedupe37 = __toESM(require("classnames/dedupe"));
3411
- import_react31 = require("react");
3498
+ import_dedupe38 = __toESM(require("classnames/dedupe"));
3499
+ import_react32 = require("react");
3412
3500
  init_hooks();
3413
3501
  init_spaceDelimitedList();
3414
3502
  init_ErrorMessage2();
3415
3503
  init_Label2();
3416
3504
  init_Stack2();
3417
- import_jsx_runtime46 = require("react/jsx-runtime");
3505
+ import_jsx_runtime48 = require("react/jsx-runtime");
3418
3506
  getDefaultVal = (children, defaultValue) => {
3419
3507
  if (Array.isArray(children) && defaultValue) {
3420
3508
  const option = children?.find((item) => item.props.value === defaultValue);
@@ -3442,15 +3530,15 @@ var init_RadioGroup = __esm({
3442
3530
  ...rest
3443
3531
  } = props;
3444
3532
  const defaultSelected = getDefaultVal(children, value || defaultValue);
3445
- const [selected, setSelected] = (0, import_react31.useState)(defaultSelected);
3446
- const overflowsRef = (0, import_react31.useRef)({});
3447
- const [hasOverflow, setHasOverflow] = (0, import_react31.useState)(false);
3448
- (0, import_react31.useEffect)(() => {
3533
+ const [selected, setSelected] = (0, import_react32.useState)(defaultSelected);
3534
+ const overflowsRef = (0, import_react32.useRef)({});
3535
+ const [hasOverflow, setHasOverflow] = (0, import_react32.useState)(false);
3536
+ (0, import_react32.useEffect)(() => {
3449
3537
  if (value !== void 0) {
3450
3538
  setSelected(value);
3451
3539
  }
3452
3540
  }, [value]);
3453
- const handleOverflow = (0, import_react31.useCallback)(
3541
+ const handleOverflow = (0, import_react32.useCallback)(
3454
3542
  (radioValue, overflow) => {
3455
3543
  overflowsRef.current = {
3456
3544
  ...overflowsRef.current,
@@ -3474,26 +3562,26 @@ var init_RadioGroup = __esm({
3474
3562
  [`--is-${effectiveOrientation}`]: true,
3475
3563
  [className || ""]: true
3476
3564
  };
3477
- const radioGroupClasses = (0, import_dedupe37.default)(
3565
+ const radioGroupClasses = (0, import_dedupe38.default)(
3478
3566
  "mobius",
3479
3567
  "mobius-radio-group",
3480
3568
  radioClasses,
3481
3569
  validationClasses
3482
3570
  );
3483
- const radioWrapperClasses = (0, import_dedupe37.default)("mobius-radio__wrapper", {
3571
+ const radioWrapperClasses = (0, import_dedupe38.default)("mobius-radio__wrapper", {
3484
3572
  [`--is-${effectiveOrientation}`]: true
3485
3573
  });
3486
- const labelClasses = (0, import_dedupe37.default)(radioClasses, validationClasses);
3487
- const errorMessageId = (0, import_react31.useId)();
3488
- const defaultNameAttrId = (0, import_react31.useId)();
3574
+ const labelClasses = (0, import_dedupe38.default)(radioClasses, validationClasses);
3575
+ const errorMessageId = (0, import_react32.useId)();
3576
+ const defaultNameAttrId = (0, import_react32.useId)();
3489
3577
  const nameAttribute = name || defaultNameAttrId;
3490
3578
  const shouldErrorMessageShow = errorMessage ? errorMessageId : void 0;
3491
3579
  const describedBy = spaceDelimitedList([
3492
3580
  shouldErrorMessageShow,
3493
3581
  props["aria-describedby"]
3494
3582
  ]);
3495
- const labelId = (0, import_react31.useId)();
3496
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
3583
+ const labelId = (0, import_react32.useId)();
3584
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
3497
3585
  "div",
3498
3586
  {
3499
3587
  ...rest,
@@ -3509,12 +3597,12 @@ var init_RadioGroup = __esm({
3509
3597
  ref,
3510
3598
  className: radioGroupClasses,
3511
3599
  role: "radiogroup",
3512
- children: /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(Stack, { gap: "xs", children: [
3513
- label && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Label, { htmlFor: name, id: labelId, className: labelClasses, children: label }),
3514
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: radioWrapperClasses, children: import_react31.Children.map(children, (child) => {
3515
- if ((0, import_react31.isValidElement)(child)) {
3600
+ children: /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(Stack, { gap: "xs", children: [
3601
+ label && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Label, { htmlFor: name, id: labelId, className: labelClasses, children: label }),
3602
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: radioWrapperClasses, children: import_react32.Children.map(children, (child) => {
3603
+ if ((0, import_react32.isValidElement)(child)) {
3516
3604
  const childValue = child.props.value;
3517
- return (0, import_react31.cloneElement)(
3605
+ return (0, import_react32.cloneElement)(
3518
3606
  child,
3519
3607
  {
3520
3608
  orientation: effectiveOrientation,
@@ -3532,7 +3620,7 @@ var init_RadioGroup = __esm({
3532
3620
  }
3533
3621
  return child;
3534
3622
  }) }),
3535
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(ErrorMessage, { id: errorMessageId, errorMessage })
3623
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(ErrorMessage, { id: errorMessageId, errorMessage })
3536
3624
  ] })
3537
3625
  }
3538
3626
  );
@@ -3551,47 +3639,47 @@ var init_Radio2 = __esm({
3551
3639
  });
3552
3640
 
3553
3641
  // src/components/Segment/SegmentGroup.tsx
3554
- var import_dedupe38, import_jsx_runtime47, SegmentGroup;
3642
+ var import_dedupe39, import_jsx_runtime49, SegmentGroup;
3555
3643
  var init_SegmentGroup = __esm({
3556
3644
  "src/components/Segment/SegmentGroup.tsx"() {
3557
3645
  "use strict";
3558
- import_dedupe38 = __toESM(require("classnames/dedupe"));
3559
- import_jsx_runtime47 = require("react/jsx-runtime");
3646
+ import_dedupe39 = __toESM(require("classnames/dedupe"));
3647
+ import_jsx_runtime49 = require("react/jsx-runtime");
3560
3648
  SegmentGroup = (props) => {
3561
3649
  const { children, horizontal, gap, className, ...rest } = props;
3562
3650
  const gapClass = gap ? `gap-${gap}` : "";
3563
- const classes = (0, import_dedupe38.default)(
3651
+ const classes = (0, import_dedupe39.default)(
3564
3652
  "mobius",
3565
3653
  "mobius-segment-group",
3566
3654
  className,
3567
3655
  { "--is-horizontal": horizontal },
3568
3656
  gapClass
3569
3657
  );
3570
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: classes, ...rest, children });
3658
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: classes, ...rest, children });
3571
3659
  };
3572
3660
  SegmentGroup.displayName = "SegmentGroup";
3573
3661
  }
3574
3662
  });
3575
3663
 
3576
3664
  // src/components/Segment/Segment.tsx
3577
- var import_dedupe39, import_Segment, import_jsx_runtime48, Segment;
3665
+ var import_dedupe40, import_Segment, import_jsx_runtime50, Segment;
3578
3666
  var init_Segment = __esm({
3579
3667
  "src/components/Segment/Segment.tsx"() {
3580
3668
  "use strict";
3581
- import_dedupe39 = __toESM(require("classnames/dedupe"));
3669
+ import_dedupe40 = __toESM(require("classnames/dedupe"));
3582
3670
  import_Segment = require("@simplybusiness/mobius/src/components/Segment/Segment.css");
3583
- import_jsx_runtime48 = require("react/jsx-runtime");
3671
+ import_jsx_runtime50 = require("react/jsx-runtime");
3584
3672
  Segment = (props) => {
3585
3673
  const { heading, children, colour, inverted, className, ...rest } = props;
3586
- const classes = (0, import_dedupe39.default)(
3674
+ const classes = (0, import_dedupe40.default)(
3587
3675
  "mobius",
3588
3676
  "mobius-segment",
3589
3677
  colour,
3590
3678
  { inverted },
3591
3679
  className
3592
3680
  );
3593
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: classes, ...rest, children: [
3594
- heading && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "mobius-segment__heading", children: heading }),
3681
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: classes, ...rest, children: [
3682
+ heading && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "mobius-segment__heading", children: heading }),
3595
3683
  children
3596
3684
  ] });
3597
3685
  };
@@ -3609,14 +3697,14 @@ var init_Segment2 = __esm({
3609
3697
  });
3610
3698
 
3611
3699
  // src/components/Select/Select.tsx
3612
- var import_icons11, import_dedupe40, import_react32, import_Select, import_jsx_runtime49, Select;
3700
+ var import_icons11, import_dedupe41, import_react33, import_Select, import_jsx_runtime51, Select;
3613
3701
  var init_Select = __esm({
3614
3702
  "src/components/Select/Select.tsx"() {
3615
3703
  "use strict";
3616
3704
  "use client";
3617
3705
  import_icons11 = require("@simplybusiness/icons");
3618
- import_dedupe40 = __toESM(require("classnames/dedupe"));
3619
- import_react32 = require("react");
3706
+ import_dedupe41 = __toESM(require("classnames/dedupe"));
3707
+ import_react33 = require("react");
3620
3708
  init_hooks();
3621
3709
  init_useLabel2();
3622
3710
  init_spaceDelimitedList();
@@ -3625,7 +3713,7 @@ var init_Select = __esm({
3625
3713
  init_Label2();
3626
3714
  init_Stack2();
3627
3715
  import_Select = require("@simplybusiness/mobius/src/components/Select/Select.css");
3628
- import_jsx_runtime49 = require("react/jsx-runtime");
3716
+ import_jsx_runtime51 = require("react/jsx-runtime");
3629
3717
  Select = ({ ref, ...props }) => {
3630
3718
  const {
3631
3719
  label,
@@ -3646,24 +3734,24 @@ var init_Select = __esm({
3646
3734
  "--is-required": typeof isRequired === "boolean" && isRequired,
3647
3735
  "--is-optional": typeof isRequired === "boolean" && !isRequired
3648
3736
  };
3649
- const sharedClasses = (0, import_dedupe40.default)(validationClasses, stateClasses);
3650
- const wrapperClasses = (0, import_dedupe40.default)(
3737
+ const sharedClasses = (0, import_dedupe41.default)(validationClasses, stateClasses);
3738
+ const wrapperClasses = (0, import_dedupe41.default)(
3651
3739
  "mobius-select__wrapper",
3652
3740
  sharedClasses,
3653
3741
  otherProps.className
3654
3742
  );
3655
- const selectClasses = (0, import_dedupe40.default)(
3743
+ const selectClasses = (0, import_dedupe41.default)(
3656
3744
  "mobius-select",
3657
3745
  sharedClasses,
3658
3746
  otherProps.className
3659
3747
  );
3660
- const labelClasses = (0, import_dedupe40.default)(
3748
+ const labelClasses = (0, import_dedupe41.default)(
3661
3749
  "mobius-label",
3662
3750
  sharedClasses,
3663
3751
  otherProps.className
3664
3752
  );
3665
- const iconClasses = (0, import_dedupe40.default)("mobius-select__icon", sharedClasses);
3666
- const errorMessageId = (0, import_react32.useId)();
3753
+ const iconClasses = (0, import_dedupe41.default)("mobius-select__icon", sharedClasses);
3754
+ const errorMessageId = (0, import_react33.useId)();
3667
3755
  const shouldErrorMessageShow = errorMessage ? errorMessageId : void 0;
3668
3756
  const describedBy = spaceDelimitedList([
3669
3757
  shouldErrorMessageShow,
@@ -3674,10 +3762,10 @@ var init_Select = __esm({
3674
3762
  onChange(e);
3675
3763
  }
3676
3764
  };
3677
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(Stack, { className: "mobius mobius-select__outer", gap: "xs", children: [
3678
- label && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Label, { ...labelProps, className: labelClasses, children: label }),
3679
- /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: wrapperClasses, children: [
3680
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
3765
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(Stack, { className: "mobius mobius-select__outer", gap: "xs", children: [
3766
+ label && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Label, { ...labelProps, className: labelClasses, children: label }),
3767
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: wrapperClasses, children: [
3768
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
3681
3769
  "select",
3682
3770
  {
3683
3771
  ...otherProps,
@@ -3693,9 +3781,9 @@ var init_Select = __esm({
3693
3781
  onChange: handleChange
3694
3782
  }
3695
3783
  ),
3696
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("span", { className: iconClasses, children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Icon, { icon: import_icons11.chevronDown }) })
3784
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: iconClasses, children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Icon, { icon: import_icons11.chevronDown }) })
3697
3785
  ] }),
3698
- errorMessage && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(ErrorMessage, { id: errorMessageId, errorMessage })
3786
+ errorMessage && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(ErrorMessage, { id: errorMessageId, errorMessage })
3699
3787
  ] });
3700
3788
  };
3701
3789
  Select.displayName = "Select";
@@ -3711,15 +3799,15 @@ var init_Select2 = __esm({
3711
3799
  });
3712
3800
 
3713
3801
  // src/components/Slider/Slider.tsx
3714
- var import_dedupe41, import_react33, import_Slider, import_jsx_runtime50;
3802
+ var import_dedupe42, import_react34, import_Slider, import_jsx_runtime52;
3715
3803
  var init_Slider = __esm({
3716
3804
  "src/components/Slider/Slider.tsx"() {
3717
3805
  "use strict";
3718
3806
  "use client";
3719
- import_dedupe41 = __toESM(require("classnames/dedupe"));
3720
- import_react33 = require("react");
3807
+ import_dedupe42 = __toESM(require("classnames/dedupe"));
3808
+ import_react34 = require("react");
3721
3809
  import_Slider = require("@simplybusiness/mobius/src/components/Slider/Slider.css");
3722
- import_jsx_runtime50 = require("react/jsx-runtime");
3810
+ import_jsx_runtime52 = require("react/jsx-runtime");
3723
3811
  }
3724
3812
  });
3725
3813
 
@@ -3732,19 +3820,19 @@ var init_Slider2 = __esm({
3732
3820
  });
3733
3821
 
3734
3822
  // src/components/SVG/SVG.tsx
3735
- var import_react34, import_dedupe42, import_jsx_runtime51, SVG;
3823
+ var import_react35, import_dedupe43, import_jsx_runtime53, SVG;
3736
3824
  var init_SVG = __esm({
3737
3825
  "src/components/SVG/SVG.tsx"() {
3738
3826
  "use strict";
3739
- import_react34 = require("react");
3740
- import_dedupe42 = __toESM(require("classnames/dedupe"));
3741
- import_jsx_runtime51 = require("react/jsx-runtime");
3827
+ import_react35 = require("react");
3828
+ import_dedupe43 = __toESM(require("classnames/dedupe"));
3829
+ import_jsx_runtime53 = require("react/jsx-runtime");
3742
3830
  SVG = ({ ref, ...props }) => {
3743
3831
  const { children, className, ...otherProps } = props;
3744
- const classes = (0, import_dedupe42.default)("mobius", "mobius-svg", className);
3745
- const svgNode = import_react34.Children.only(children);
3832
+ const classes = (0, import_dedupe43.default)("mobius", "mobius-svg", className);
3833
+ const svgNode = import_react35.Children.only(children);
3746
3834
  const { children: svgChildren, viewBox, xmlns } = svgNode.props;
3747
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
3835
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
3748
3836
  "svg",
3749
3837
  {
3750
3838
  viewBox,
@@ -3769,16 +3857,16 @@ var init_SVG2 = __esm({
3769
3857
  });
3770
3858
 
3771
3859
  // src/components/Switch/Switch.tsx
3772
- var import_react35, import_dedupe43, import_Switch, import_jsx_runtime52, Switch;
3860
+ var import_react36, import_dedupe44, import_Switch, import_jsx_runtime54, Switch;
3773
3861
  var init_Switch = __esm({
3774
3862
  "src/components/Switch/Switch.tsx"() {
3775
3863
  "use strict";
3776
3864
  "use client";
3777
- import_react35 = require("react");
3778
- import_dedupe43 = __toESM(require("classnames/dedupe"));
3865
+ import_react36 = require("react");
3866
+ import_dedupe44 = __toESM(require("classnames/dedupe"));
3779
3867
  init_VisuallyHidden2();
3780
3868
  import_Switch = require("@simplybusiness/mobius/src/components/Switch/Switch.css");
3781
- import_jsx_runtime52 = require("react/jsx-runtime");
3869
+ import_jsx_runtime54 = require("react/jsx-runtime");
3782
3870
  Switch = ({ ref, ...props }) => {
3783
3871
  const {
3784
3872
  checked = false,
@@ -3787,11 +3875,11 @@ var init_Switch = __esm({
3787
3875
  isDisabled = false,
3788
3876
  ...otherProps
3789
3877
  } = props;
3790
- const [enabled, setEnabled] = (0, import_react35.useState)(checked);
3791
- (0, import_react35.useEffect)(() => {
3878
+ const [enabled, setEnabled] = (0, import_react36.useState)(checked);
3879
+ (0, import_react36.useEffect)(() => {
3792
3880
  setEnabled(checked);
3793
3881
  }, [checked]);
3794
- const classes = (0, import_dedupe43.default)(
3882
+ const classes = (0, import_dedupe44.default)(
3795
3883
  "mobius",
3796
3884
  "mobius-switch",
3797
3885
  {
@@ -3806,9 +3894,9 @@ var init_Switch = __esm({
3806
3894
  onChange(event);
3807
3895
  }
3808
3896
  };
3809
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("label", { ref, className: classes, children: [
3810
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(VisuallyHidden, { children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { children: enabled ? "On" : "Off" }) }),
3811
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
3897
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("label", { ref, className: classes, children: [
3898
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(VisuallyHidden, { children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", { children: enabled ? "On" : "Off" }) }),
3899
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
3812
3900
  "input",
3813
3901
  {
3814
3902
  type: "checkbox",
@@ -3819,7 +3907,7 @@ var init_Switch = __esm({
3819
3907
  ...otherProps
3820
3908
  }
3821
3909
  ),
3822
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: "mobius-switch__slider" })
3910
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", { className: "mobius-switch__slider" })
3823
3911
  ] });
3824
3912
  };
3825
3913
  Switch.displayName = "Switch";
@@ -3835,114 +3923,114 @@ var init_Switch2 = __esm({
3835
3923
  });
3836
3924
 
3837
3925
  // src/components/Table/Table.tsx
3838
- var import_dedupe44, import_Table, import_jsx_runtime53, Table;
3926
+ var import_dedupe45, import_Table, import_jsx_runtime55, Table;
3839
3927
  var init_Table = __esm({
3840
3928
  "src/components/Table/Table.tsx"() {
3841
3929
  "use strict";
3842
- import_dedupe44 = __toESM(require("classnames/dedupe"));
3930
+ import_dedupe45 = __toESM(require("classnames/dedupe"));
3843
3931
  import_Table = require("@simplybusiness/mobius/src/components/Table/Table.css");
3844
- import_jsx_runtime53 = require("react/jsx-runtime");
3932
+ import_jsx_runtime55 = require("react/jsx-runtime");
3845
3933
  Table = ({ ref, ...props }) => {
3846
- const classes = (0, import_dedupe44.default)("mobius", "mobius-table", props.className);
3847
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("table", { ref, ...props, className: classes });
3934
+ const classes = (0, import_dedupe45.default)("mobius", "mobius-table", props.className);
3935
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("table", { ref, ...props, className: classes });
3848
3936
  };
3849
3937
  Table.displayName = "Table";
3850
3938
  }
3851
3939
  });
3852
3940
 
3853
3941
  // src/components/Table/Head.tsx
3854
- var import_dedupe45, import_jsx_runtime54, Head;
3942
+ var import_dedupe46, import_jsx_runtime56, Head;
3855
3943
  var init_Head = __esm({
3856
3944
  "src/components/Table/Head.tsx"() {
3857
3945
  "use strict";
3858
- import_dedupe45 = __toESM(require("classnames/dedupe"));
3859
- import_jsx_runtime54 = require("react/jsx-runtime");
3946
+ import_dedupe46 = __toESM(require("classnames/dedupe"));
3947
+ import_jsx_runtime56 = require("react/jsx-runtime");
3860
3948
  Head = ({ ref, ...props }) => {
3861
- const classes = (0, import_dedupe45.default)("mobius", "mobius-table__head", props.className);
3862
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("thead", { ref, ...props, className: classes });
3949
+ const classes = (0, import_dedupe46.default)("mobius", "mobius-table__head", props.className);
3950
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("thead", { ref, ...props, className: classes });
3863
3951
  };
3864
3952
  Head.displayName = "Table.Head";
3865
3953
  }
3866
3954
  });
3867
3955
 
3868
3956
  // src/components/Table/Body.tsx
3869
- var import_dedupe46, import_jsx_runtime55, Body;
3957
+ var import_dedupe47, import_jsx_runtime57, Body;
3870
3958
  var init_Body = __esm({
3871
3959
  "src/components/Table/Body.tsx"() {
3872
3960
  "use strict";
3873
- import_dedupe46 = __toESM(require("classnames/dedupe"));
3874
- import_jsx_runtime55 = require("react/jsx-runtime");
3961
+ import_dedupe47 = __toESM(require("classnames/dedupe"));
3962
+ import_jsx_runtime57 = require("react/jsx-runtime");
3875
3963
  Body = ({ ref, ...props }) => {
3876
- const classes = (0, import_dedupe46.default)("mobius", "mobius-table__body", props.className);
3877
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("tbody", { ref, ...props, className: classes });
3964
+ const classes = (0, import_dedupe47.default)("mobius", "mobius-table__body", props.className);
3965
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("tbody", { ref, ...props, className: classes });
3878
3966
  };
3879
3967
  Body.displayName = "Table.Body";
3880
3968
  }
3881
3969
  });
3882
3970
 
3883
3971
  // src/components/Table/Foot.tsx
3884
- var import_dedupe47, import_jsx_runtime56, Foot;
3972
+ var import_dedupe48, import_jsx_runtime58, Foot;
3885
3973
  var init_Foot = __esm({
3886
3974
  "src/components/Table/Foot.tsx"() {
3887
3975
  "use strict";
3888
- import_dedupe47 = __toESM(require("classnames/dedupe"));
3889
- import_jsx_runtime56 = require("react/jsx-runtime");
3976
+ import_dedupe48 = __toESM(require("classnames/dedupe"));
3977
+ import_jsx_runtime58 = require("react/jsx-runtime");
3890
3978
  Foot = ({ ref, ...props }) => {
3891
- const classes = (0, import_dedupe47.default)("mobius", "mobius-table__foot", props.className);
3892
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("tfoot", { ref, ...props, className: classes });
3979
+ const classes = (0, import_dedupe48.default)("mobius", "mobius-table__foot", props.className);
3980
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("tfoot", { ref, ...props, className: classes });
3893
3981
  };
3894
3982
  Foot.displayName = "Table.Foot";
3895
3983
  }
3896
3984
  });
3897
3985
 
3898
3986
  // src/components/Table/Row.tsx
3899
- var import_dedupe48, import_jsx_runtime57, Row;
3987
+ var import_dedupe49, import_jsx_runtime59, Row;
3900
3988
  var init_Row = __esm({
3901
3989
  "src/components/Table/Row.tsx"() {
3902
3990
  "use strict";
3903
- import_dedupe48 = __toESM(require("classnames/dedupe"));
3904
- import_jsx_runtime57 = require("react/jsx-runtime");
3991
+ import_dedupe49 = __toESM(require("classnames/dedupe"));
3992
+ import_jsx_runtime59 = require("react/jsx-runtime");
3905
3993
  Row = ({ ref, ...props }) => {
3906
- const classes = (0, import_dedupe48.default)("mobius", "mobius-table__row", props.className);
3907
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("tr", { ref, ...props, className: classes });
3994
+ const classes = (0, import_dedupe49.default)("mobius", "mobius-table__row", props.className);
3995
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("tr", { ref, ...props, className: classes });
3908
3996
  };
3909
3997
  Row.displayName = "Table.Row";
3910
3998
  }
3911
3999
  });
3912
4000
 
3913
4001
  // src/components/Table/HeaderCell.tsx
3914
- var import_dedupe49, import_jsx_runtime58, HeaderCell;
4002
+ var import_dedupe50, import_jsx_runtime60, HeaderCell;
3915
4003
  var init_HeaderCell = __esm({
3916
4004
  "src/components/Table/HeaderCell.tsx"() {
3917
4005
  "use strict";
3918
- import_dedupe49 = __toESM(require("classnames/dedupe"));
3919
- import_jsx_runtime58 = require("react/jsx-runtime");
4006
+ import_dedupe50 = __toESM(require("classnames/dedupe"));
4007
+ import_jsx_runtime60 = require("react/jsx-runtime");
3920
4008
  HeaderCell = ({ ref, ...props }) => {
3921
- const classes = (0, import_dedupe49.default)(
4009
+ const classes = (0, import_dedupe50.default)(
3922
4010
  "mobius",
3923
4011
  "mobius-table__head-cell",
3924
4012
  props.className
3925
4013
  );
3926
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("th", { ...props, ref, className: classes });
4014
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("th", { ...props, ref, className: classes });
3927
4015
  };
3928
4016
  HeaderCell.displayName = "Table.HeaderCell";
3929
4017
  }
3930
4018
  });
3931
4019
 
3932
4020
  // src/components/Table/Cell.tsx
3933
- var import_dedupe50, import_jsx_runtime59, Cell;
4021
+ var import_dedupe51, import_jsx_runtime61, Cell;
3934
4022
  var init_Cell = __esm({
3935
4023
  "src/components/Table/Cell.tsx"() {
3936
4024
  "use strict";
3937
- import_dedupe50 = __toESM(require("classnames/dedupe"));
3938
- import_jsx_runtime59 = require("react/jsx-runtime");
4025
+ import_dedupe51 = __toESM(require("classnames/dedupe"));
4026
+ import_jsx_runtime61 = require("react/jsx-runtime");
3939
4027
  Cell = ({ ref, ...props }) => {
3940
- const classes = (0, import_dedupe50.default)(
4028
+ const classes = (0, import_dedupe51.default)(
3941
4029
  "mobius",
3942
4030
  "mobius-table__body-cell",
3943
4031
  props.className
3944
4032
  );
3945
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("td", { ref, ...props, className: classes });
4033
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("td", { ref, ...props, className: classes });
3946
4034
  };
3947
4035
  Cell.displayName = "Table.Cell";
3948
4036
  }
@@ -3972,37 +4060,6 @@ var init_Table2 = __esm({
3972
4060
  }
3973
4061
  });
3974
4062
 
3975
- // src/components/Text/Text.tsx
3976
- var import_dedupe51, import_Text, import_jsx_runtime60, getElementType, Text;
3977
- var init_Text = __esm({
3978
- "src/components/Text/Text.tsx"() {
3979
- "use strict";
3980
- import_dedupe51 = __toESM(require("classnames/dedupe"));
3981
- import_Text = require("@simplybusiness/mobius/src/components/Text/Text.css");
3982
- import_jsx_runtime60 = require("react/jsx-runtime");
3983
- getElementType = (variant, elementType) => {
3984
- if (variant) {
3985
- return ["h1", "h2", "h3", "h4"].includes(variant) ? variant : "p";
3986
- }
3987
- return elementType || "p";
3988
- };
3989
- Text = ({ ref, elementType: Component = "p", ...props }) => {
3990
- const { variant, className, spacing, ...otherProps } = props;
3991
- const elementType = getElementType(variant, Component);
3992
- const variantType = variant || elementType;
3993
- const classes = (0, import_dedupe51.default)(
3994
- "mobius",
3995
- "mobius-text",
3996
- { [`--is-${variantType}`]: variantType },
3997
- { [`--has-line-height-${spacing}`]: spacing },
3998
- className
3999
- );
4000
- return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Component, { ref, ...otherProps, className: classes });
4001
- };
4002
- Text.displayName = "Text";
4003
- }
4004
- });
4005
-
4006
4063
  // src/components/Text/index.tsx
4007
4064
  var init_Text2 = __esm({
4008
4065
  "src/components/Text/index.tsx"() {
@@ -4012,12 +4069,12 @@ var init_Text2 = __esm({
4012
4069
  });
4013
4070
 
4014
4071
  // src/components/TextAreaInput/TextAreaInput.tsx
4015
- var import_dedupe52, import_jsx_runtime61, TextAreaInput;
4072
+ var import_dedupe52, import_jsx_runtime62, TextAreaInput;
4016
4073
  var init_TextAreaInput = __esm({
4017
4074
  "src/components/TextAreaInput/TextAreaInput.tsx"() {
4018
4075
  "use strict";
4019
4076
  import_dedupe52 = __toESM(require("classnames/dedupe"));
4020
- import_jsx_runtime61 = require("react/jsx-runtime");
4077
+ import_jsx_runtime62 = require("react/jsx-runtime");
4021
4078
  TextAreaInput = ({ ref, ...props }) => {
4022
4079
  const { isSelected, isDisabled, isReadOnly, isRequired, ...otherProps } = props;
4023
4080
  const classes = (0, import_dedupe52.default)(
@@ -4030,7 +4087,7 @@ var init_TextAreaInput = __esm({
4030
4087
  },
4031
4088
  otherProps.className
4032
4089
  );
4033
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
4090
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
4034
4091
  "textarea",
4035
4092
  {
4036
4093
  ref,
@@ -4054,7 +4111,7 @@ var init_TextAreaInput2 = __esm({
4054
4111
  });
4055
4112
 
4056
4113
  // src/components/TextArea/TextArea.tsx
4057
- var import_dedupe53, import_TextArea, import_jsx_runtime62, TextArea;
4114
+ var import_dedupe53, import_TextArea, import_jsx_runtime63, TextArea;
4058
4115
  var init_TextArea = __esm({
4059
4116
  "src/components/TextArea/TextArea.tsx"() {
4060
4117
  "use strict";
@@ -4066,7 +4123,7 @@ var init_TextArea = __esm({
4066
4123
  init_Stack2();
4067
4124
  init_TextAreaInput2();
4068
4125
  import_TextArea = require("@simplybusiness/mobius/src/components/TextArea/TextArea.css");
4069
- import_jsx_runtime62 = require("react/jsx-runtime");
4126
+ import_jsx_runtime63 = require("react/jsx-runtime");
4070
4127
  TextArea = ({ ref, ...props }) => {
4071
4128
  const {
4072
4129
  isDisabled,
@@ -4086,9 +4143,9 @@ var init_TextArea = __esm({
4086
4143
  },
4087
4144
  validationClasses
4088
4145
  );
4089
- return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(Stack, { className: classes, gap: "xs", children: [
4090
- label && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Label, { ...labelProps, className: labelClasses, children: props.label }),
4091
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
4146
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(Stack, { className: classes, gap: "xs", children: [
4147
+ label && /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Label, { ...labelProps, className: labelClasses, children: props.label }),
4148
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
4092
4149
  TextAreaInput,
4093
4150
  {
4094
4151
  ...otherProps,
@@ -4099,7 +4156,7 @@ var init_TextArea = __esm({
4099
4156
  "aria-invalid": errorMessage != null
4100
4157
  }
4101
4158
  ),
4102
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(ErrorMessage, { ...errorMessageProps, errorMessage })
4159
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(ErrorMessage, { ...errorMessageProps, errorMessage })
4103
4160
  ] });
4104
4161
  };
4105
4162
  TextArea.displayName = "TextArea";
@@ -4114,53 +4171,6 @@ var init_TextArea2 = __esm({
4114
4171
  }
4115
4172
  });
4116
4173
 
4117
- // src/components/TextOrHTML/TextOrHTML.tsx
4118
- var import_react36, import_jsx_runtime63, isHTML, TextOrHTML;
4119
- var init_TextOrHTML = __esm({
4120
- "src/components/TextOrHTML/TextOrHTML.tsx"() {
4121
- "use strict";
4122
- import_react36 = require("react");
4123
- init_Text();
4124
- import_jsx_runtime63 = require("react/jsx-runtime");
4125
- isHTML = (text) => /^\s*<[a-z]/i.test(text);
4126
- TextOrHTML = ({
4127
- ref,
4128
- text,
4129
- htmlClassName,
4130
- htmlElementType,
4131
- textWrapper = false,
4132
- autoDetect = false,
4133
- ...textProps
4134
- }) => {
4135
- const textIsHTML = autoDetect && isHTML(text);
4136
- const shouldWrapInText = autoDetect ? textWrapper || !textIsHTML : textWrapper;
4137
- const resolvedElementType = htmlElementType ?? (textIsHTML ? "div" : "span");
4138
- const DangerousComponent = resolvedElementType;
4139
- const dangerousHTML = (0, import_react36.useMemo)(() => ({ __html: text }), [text]);
4140
- const dangerousElement = /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
4141
- DangerousComponent,
4142
- {
4143
- className: htmlClassName,
4144
- dangerouslySetInnerHTML: dangerousHTML
4145
- }
4146
- );
4147
- if (shouldWrapInText) {
4148
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Text, { ref, ...textProps, children: dangerousElement });
4149
- }
4150
- return dangerousElement;
4151
- };
4152
- TextOrHTML.displayName = "TextOrHTML";
4153
- }
4154
- });
4155
-
4156
- // src/components/TextOrHTML/index.tsx
4157
- var init_TextOrHTML2 = __esm({
4158
- "src/components/TextOrHTML/index.tsx"() {
4159
- "use strict";
4160
- init_TextOrHTML();
4161
- }
4162
- });
4163
-
4164
4174
  // src/components/Title/Title.tsx
4165
4175
  var import_dedupe54, import_Title, import_jsx_runtime64, Title;
4166
4176
  var init_Title = __esm({