@common-origin/design-system 2.3.0 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,20 +1,11 @@
1
1
  'use strict';
2
2
 
3
+ var jsxRuntime = require('react/jsx-runtime');
3
4
  var React = require('react');
4
5
  var styled = require('styled-components');
5
6
  var dateFns = require('date-fns');
6
7
  var reactDom = require('react-dom');
7
8
 
8
- function _extends() {
9
- return _extends = Object.assign ? Object.assign.bind() : function (n) {
10
- for (var e = 1; e < arguments.length; e++) {
11
- var t = arguments[e];
12
- for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
13
- }
14
- return n;
15
- }, _extends.apply(null, arguments);
16
- }
17
-
18
9
  /******************************************************************************
19
10
  Copyright (c) Microsoft Corporation.
20
11
 
@@ -418,7 +409,7 @@ var base$d = {
418
409
  },
419
410
  $ref: "./base/index.json"
420
411
  };
421
- var component = {
412
+ var component$1 = {
422
413
  button: {
423
414
  primary: {
424
415
  backgroundColor: "#212529",
@@ -868,11 +859,10 @@ var semantic$g = {
868
859
  };
869
860
  var tokensData = {
870
861
  base: base$d,
871
- component: component,
862
+ component: component$1,
872
863
  semantic: semantic$g
873
864
  };
874
865
 
875
- React.createElement;
876
866
  var AvatarContainer = styled.div.withConfig({
877
867
  shouldForwardProp: function shouldForwardProp(prop) {
878
868
  return !prop.startsWith('$');
@@ -943,28 +933,30 @@ var Avatar = function Avatar(_a) {
943
933
  };
944
934
  var showImage = picture && !imageError;
945
935
  var initials = getInitials(name);
946
- return /*#__PURE__*/React.createElement(AvatarContainer, _extends({
947
- $size: size,
936
+ return jsxRuntime.jsx(AvatarContainer, __assign({
937
+ "$size": size,
948
938
  "data-testid": dataTestId,
949
939
  "data-size": size,
950
940
  role: "img",
951
941
  "aria-label": "Avatar for ".concat(name)
952
- }, htmlProps), showImage ? /*#__PURE__*/React.createElement(AvatarImage, {
953
- $size: size,
954
- src: picture,
955
- alt: "Avatar of ".concat(name),
956
- onError: handleImageError,
957
- onLoad: handleImageLoad,
958
- "data-state": imageLoaded ? 'loaded' : 'loading'
959
- }) : /*#__PURE__*/React.createElement(AvatarInitials, {
960
- $size: size,
961
- "data-initials": initials,
962
- "aria-hidden": "true"
963
- }, initials));
942
+ }, htmlProps, {
943
+ children: showImage ? jsxRuntime.jsx(AvatarImage, {
944
+ "$size": size,
945
+ src: picture,
946
+ alt: "Avatar of ".concat(name),
947
+ onError: handleImageError,
948
+ onLoad: handleImageLoad,
949
+ "data-state": imageLoaded ? 'loaded' : 'loading'
950
+ }) : jsxRuntime.jsx(AvatarInitials, {
951
+ "$size": size,
952
+ "data-initials": initials,
953
+ "aria-hidden": "true",
954
+ children: initials
955
+ })
956
+ }));
964
957
  };
965
958
  var templateObject_1$I, templateObject_2$t, templateObject_3$p;
966
959
 
967
- React.createElement;
968
960
  var _a$5 = tokensData.semantic,
969
961
  typography$2 = _a$5.typography,
970
962
  color$4 = _a$5.color;
@@ -1090,16 +1082,16 @@ var Typography = function Typography(_a) {
1090
1082
  // $variant and $color are only used for styled-components prop filtering
1091
1083
  var defaultElement = getDefaultElement(variant);
1092
1084
  var elementType = as || defaultElement;
1093
- return /*#__PURE__*/React.createElement(StyledTypography, {
1085
+ return jsxRuntime.jsx(StyledTypography, {
1094
1086
  as: elementType,
1095
- $variant: variant,
1096
- $color: color,
1097
- "data-testid": dataTestId
1098
- }, children);
1087
+ "$variant": variant,
1088
+ "$color": color,
1089
+ "data-testid": dataTestId,
1090
+ children: children
1091
+ });
1099
1092
  };
1100
1093
  var templateObject_1$H;
1101
1094
 
1102
- React.createElement;
1103
1095
  var color$3 = tokensData.semantic.color;
1104
1096
  tokensData.base.shadow;
1105
1097
  var scaleIn$1 = styled.keyframes(templateObject_1$G || (templateObject_1$G = __makeTemplateObject(["\n from {\n transform: scale(0.8);\n opacity: 0;\n }\n to {\n transform: scale(1);\n opacity: 1;\n }\n"], ["\n from {\n transform: scale(0.8);\n opacity: 0;\n }\n to {\n transform: scale(1);\n opacity: 1;\n }\n"])));
@@ -1156,29 +1148,33 @@ var Badge = function Badge(_a) {
1156
1148
  // Generate default aria-label if not provided
1157
1149
  var defaultAriaLabel = dot ? 'New notification indicator' : count === 1 ? '1 notification' : "".concat(count, " notifications");
1158
1150
  var label = ariaLabel || defaultAriaLabel;
1159
- return /*#__PURE__*/React.createElement(BadgeWrapper, {
1160
- className: className
1161
- }, children, /*#__PURE__*/React.createElement(BadgeIndicator, {
1162
- $variant: variant,
1163
- $isDot: dot,
1164
- $isVisible: isVisible,
1165
- role: "status",
1166
- "aria-live": "polite"
1167
- }, !dot && /*#__PURE__*/React.createElement(Typography, {
1168
- variant: "caption",
1169
- color: "inverse"
1170
- }, displayCount), /*#__PURE__*/React.createElement(ScreenReaderOnly$1, null, label)));
1151
+ return jsxRuntime.jsxs(BadgeWrapper, {
1152
+ className: className,
1153
+ children: [children, jsxRuntime.jsxs(BadgeIndicator, {
1154
+ "$variant": variant,
1155
+ "$isDot": dot,
1156
+ "$isVisible": isVisible,
1157
+ role: "status",
1158
+ "aria-live": "polite",
1159
+ children: [!dot && jsxRuntime.jsx(Typography, {
1160
+ variant: "caption",
1161
+ color: "inverse",
1162
+ children: displayCount
1163
+ }), jsxRuntime.jsx(ScreenReaderOnly$1, {
1164
+ children: label
1165
+ })]
1166
+ })]
1167
+ });
1171
1168
  };
1172
1169
  var templateObject_1$G, templateObject_2$s, templateObject_3$o, templateObject_4$j;
1173
1170
 
1174
- React.createElement;
1175
1171
  var StyledBox = styled.div.withConfig({
1176
1172
  shouldForwardProp: function shouldForwardProp(prop) {
1177
1173
  return !prop.startsWith('$');
1178
1174
  },
1179
1175
  displayName: "Box__StyledBox",
1180
1176
  componentId: "sc-aj0jhd-0"
1181
- })(templateObject_43 || (templateObject_43 = __makeTemplateObject(["\n ", "\n \n // Flexbox\n ", "\n ", "\n ", "\n ", "\n ", "\n \n // Margin\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n \n // Padding\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n \n // Size\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n \n // Position\n ", "\n ", "\n ", "\n ", "\n ", "\n \n // Borders\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n \n // Background & Color\n ", "\n ", "\n \n // Overflow\n ", "\n ", "\n ", "\n"], ["\n ", "\n \n // Flexbox\n ", "\n ", "\n ", "\n ", "\n ", "\n \n // Margin\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n \n // Padding\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n \n // Size\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n \n // Position\n ", "\n ", "\n ", "\n ", "\n ", "\n \n // Borders\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n \n // Background & Color\n ", "\n ", "\n \n // Overflow\n ", "\n ", "\n ", "\n"
1177
+ })(templateObject_49 || (templateObject_49 = __makeTemplateObject(["\n ", "\n \n // Flexbox\n ", "\n ", "\n ", "\n ", "\n ", "\n \n // Margin\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n \n // Padding\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n \n // Size\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n \n // Position\n ", "\n ", "\n ", "\n ", "\n ", "\n \n // Borders\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n \n // Background & Color\n ", "\n ", "\n \n // Shadow\n ", "\n \n // Cursor\n ", "\n \n // Transition\n ", "\n \n // Hover states\n ", "\n \n // Overflow\n ", "\n ", "\n ", "\n"], ["\n ", "\n \n // Flexbox\n ", "\n ", "\n ", "\n ", "\n ", "\n \n // Margin\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n \n // Padding\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n \n // Size\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n \n // Position\n ", "\n ", "\n ", "\n ", "\n ", "\n \n // Borders\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n \n // Background & Color\n ", "\n ", "\n \n // Shadow\n ", "\n \n // Cursor\n ", "\n \n // Transition\n ", "\n \n // Hover states\n ", "\n \n // Overflow\n ", "\n ", "\n ", "\n"
1182
1178
  // Transform component that maps clean props to $-prefixed props for styled-components
1183
1179
  ])), function (props) {
1184
1180
  return props.$display && styled.css(templateObject_1$F || (templateObject_1$F = __makeTemplateObject(["display: ", ";"], ["display: ", ";"])), props.$display);
@@ -1191,11 +1187,11 @@ var StyledBox = styled.div.withConfig({
1191
1187
  }, function (props) {
1192
1188
  return props.$flexWrap && styled.css(templateObject_5$e || (templateObject_5$e = __makeTemplateObject(["flex-wrap: ", ";"], ["flex-wrap: ", ";"])), props.$flexWrap);
1193
1189
  }, function (props) {
1194
- return props.$gap && styled.css(templateObject_6$d || (templateObject_6$d = __makeTemplateObject(["gap: ", ";"], ["gap: ", ";"])), tokensData.semantic.spacing.layout[props.$gap]);
1190
+ return props.$gap && styled.css(templateObject_6$c || (templateObject_6$c = __makeTemplateObject(["gap: ", ";"], ["gap: ", ";"])), tokensData.semantic.spacing.layout[props.$gap]);
1195
1191
  }, function (props) {
1196
- return props.$m && styled.css(templateObject_7$b || (templateObject_7$b = __makeTemplateObject(["margin: ", ";"], ["margin: ", ";"])), tokensData.semantic.spacing.layout[props.$m]);
1192
+ return props.$m && styled.css(templateObject_7$9 || (templateObject_7$9 = __makeTemplateObject(["margin: ", ";"], ["margin: ", ";"])), tokensData.semantic.spacing.layout[props.$m]);
1197
1193
  }, function (props) {
1198
- return props.$mt && styled.css(templateObject_8$6 || (templateObject_8$6 = __makeTemplateObject(["margin-top: ", ";"], ["margin-top: ", ";"])), tokensData.semantic.spacing.layout[props.$mt]);
1194
+ return props.$mt && styled.css(templateObject_8$5 || (templateObject_8$5 = __makeTemplateObject(["margin-top: ", ";"], ["margin-top: ", ";"])), tokensData.semantic.spacing.layout[props.$mt]);
1199
1195
  }, function (props) {
1200
1196
  return props.$mr && styled.css(templateObject_9$4 || (templateObject_9$4 = __makeTemplateObject(["margin-right: ", ";"], ["margin-right: ", ";"])), tokensData.semantic.spacing.layout[props.$mr]);
1201
1197
  }, function (props) {
@@ -1259,11 +1255,19 @@ var StyledBox = styled.div.withConfig({
1259
1255
  }, function (props) {
1260
1256
  return props.$color && styled.css(templateObject_39 || (templateObject_39 = __makeTemplateObject(["color: ", ";"], ["color: ", ";"])), tokensData.semantic.color.text[props.$color]);
1261
1257
  }, function (props) {
1262
- return props.$overflow && styled.css(templateObject_40 || (templateObject_40 = __makeTemplateObject(["overflow: ", ";"], ["overflow: ", ";"])), props.$overflow);
1258
+ return props.$shadow && styled.css(templateObject_40 || (templateObject_40 = __makeTemplateObject(["box-shadow: ", ";"], ["box-shadow: ", ";"])), tokensData.base.shadow[props.$shadow]);
1259
+ }, function (props) {
1260
+ return props.$cursor && styled.css(templateObject_41 || (templateObject_41 = __makeTemplateObject(["cursor: ", ";"], ["cursor: ", ";"])), props.$cursor);
1261
+ }, function (props) {
1262
+ return props.$transition && styled.css(templateObject_42 || (templateObject_42 = __makeTemplateObject(["transition: ", ";"], ["transition: ", ";"])), props.$transition);
1263
1263
  }, function (props) {
1264
- return props.$overflowX && styled.css(templateObject_41 || (templateObject_41 = __makeTemplateObject(["overflow-x: ", ";"], ["overflow-x: ", ";"])), props.$overflowX);
1264
+ return (props.$hoverShadow || props.$hoverTransform) && styled.css(templateObject_45 || (templateObject_45 = __makeTemplateObject(["\n &:hover {\n ", "\n ", "\n }\n \n &:active {\n transform: translateY(0);\n }\n \n &:focus-visible {\n outline: 2px solid ", ";\n outline-offset: 2px;\n }\n "], ["\n &:hover {\n ", "\n ", "\n }\n \n &:active {\n transform: translateY(0);\n }\n \n &:focus-visible {\n outline: 2px solid ", ";\n outline-offset: 2px;\n }\n "])), props.$hoverShadow && styled.css(templateObject_43 || (templateObject_43 = __makeTemplateObject(["box-shadow: ", ";"], ["box-shadow: ", ";"])), tokensData.base.shadow[props.$hoverShadow]), props.$hoverTransform && styled.css(templateObject_44 || (templateObject_44 = __makeTemplateObject(["transform: ", ";"], ["transform: ", ";"])), props.$hoverTransform), tokensData.semantic.color.border.interactive);
1265
1265
  }, function (props) {
1266
- return props.$overflowY && styled.css(templateObject_42 || (templateObject_42 = __makeTemplateObject(["overflow-y: ", ";"], ["overflow-y: ", ";"])), props.$overflowY);
1266
+ return props.$overflow && styled.css(templateObject_46 || (templateObject_46 = __makeTemplateObject(["overflow: ", ";"], ["overflow: ", ";"])), props.$overflow);
1267
+ }, function (props) {
1268
+ return props.$overflowX && styled.css(templateObject_47 || (templateObject_47 = __makeTemplateObject(["overflow-x: ", ";"], ["overflow-x: ", ";"])), props.$overflowX);
1269
+ }, function (props) {
1270
+ return props.$overflowY && styled.css(templateObject_48 || (templateObject_48 = __makeTemplateObject(["overflow-y: ", ";"], ["overflow-y: ", ";"])), props.$overflowY);
1267
1271
  });
1268
1272
  // Transform component that maps clean props to $-prefixed props for styled-components
1269
1273
  var BoxTransform = function BoxTransform(props) {
@@ -1314,6 +1318,15 @@ var BoxTransform = function BoxTransform(props) {
1314
1318
  // Background & Color
1315
1319
  bg = props.bg,
1316
1320
  color = props.color,
1321
+ // Shadow
1322
+ shadow = props.shadow,
1323
+ // Cursor
1324
+ cursor = props.cursor,
1325
+ // Transition
1326
+ transition = props.transition,
1327
+ // Hover states
1328
+ hoverShadow = props.hoverShadow,
1329
+ hoverTransform = props.hoverTransform,
1317
1330
  // Overflow
1318
1331
  overflow = props.overflow,
1319
1332
  overflowX = props.overflowX,
@@ -1321,57 +1334,74 @@ var BoxTransform = function BoxTransform(props) {
1321
1334
  // Standard props
1322
1335
  as = props.as,
1323
1336
  children = props.children,
1337
+ onClick = props.onClick,
1338
+ onKeyDown = props.onKeyDown,
1339
+ tabIndex = props.tabIndex,
1340
+ role = props.role,
1341
+ ariaLabel = props["aria-label"],
1324
1342
  dataTestId = props["data-testid"],
1325
- rest = __rest(props, ["display", "flexDirection", "justifyContent", "alignItems", "flexWrap", "gap", "m", "mt", "mr", "mb", "ml", "mx", "my", "p", "pt", "pr", "pb", "pl", "px", "py", "width", "height", "maxWidth", "maxHeight", "minWidth", "minHeight", "position", "top", "right", "bottom", "left", "borderRadius", "border", "borderTop", "borderRight", "borderBottom", "borderLeft", "bg", "color", "overflow", "overflowX", "overflowY", "as", "children", 'data-testid']);
1326
- return /*#__PURE__*/React.createElement(StyledBox, _extends({
1343
+ rest = __rest(props, ["display", "flexDirection", "justifyContent", "alignItems", "flexWrap", "gap", "m", "mt", "mr", "mb", "ml", "mx", "my", "p", "pt", "pr", "pb", "pl", "px", "py", "width", "height", "maxWidth", "maxHeight", "minWidth", "minHeight", "position", "top", "right", "bottom", "left", "borderRadius", "border", "borderTop", "borderRight", "borderBottom", "borderLeft", "bg", "color", "shadow", "cursor", "transition", "hoverShadow", "hoverTransform", "overflow", "overflowX", "overflowY", "as", "children", "onClick", "onKeyDown", "tabIndex", "role", 'aria-label', 'data-testid']);
1344
+ return jsxRuntime.jsx(StyledBox, __assign({
1327
1345
  as: as,
1328
1346
  "data-testid": dataTestId,
1329
- $display: display,
1330
- $flexDirection: flexDirection,
1331
- $justifyContent: justifyContent,
1332
- $alignItems: alignItems,
1333
- $flexWrap: flexWrap,
1334
- $gap: gap,
1335
- $m: m,
1336
- $mt: mt,
1337
- $mr: mr,
1338
- $mb: mb,
1339
- $ml: ml,
1340
- $mx: mx,
1341
- $my: my,
1342
- $p: p,
1343
- $pt: pt,
1344
- $pr: pr,
1345
- $pb: pb,
1346
- $pl: pl,
1347
- $px: px,
1348
- $py: py,
1349
- $width: width,
1350
- $height: height,
1351
- $maxWidth: maxWidth,
1352
- $maxHeight: maxHeight,
1353
- $minWidth: minWidth,
1354
- $minHeight: minHeight,
1355
- $position: position,
1356
- $top: top,
1357
- $right: right,
1358
- $bottom: bottom,
1359
- $left: left,
1360
- $borderRadius: borderRadius,
1361
- $border: border,
1362
- $borderTop: borderTop,
1363
- $borderRight: borderRight,
1364
- $borderBottom: borderBottom,
1365
- $borderLeft: borderLeft,
1366
- $bg: bg,
1367
- $color: color,
1368
- $overflow: overflow,
1369
- $overflowX: overflowX,
1370
- $overflowY: overflowY
1371
- }, rest), children);
1347
+ "$display": display,
1348
+ "$flexDirection": flexDirection,
1349
+ "$justifyContent": justifyContent,
1350
+ "$alignItems": alignItems,
1351
+ "$flexWrap": flexWrap,
1352
+ "$gap": gap,
1353
+ "$m": m,
1354
+ "$mt": mt,
1355
+ "$mr": mr,
1356
+ "$mb": mb,
1357
+ "$ml": ml,
1358
+ "$mx": mx,
1359
+ "$my": my,
1360
+ "$p": p,
1361
+ "$pt": pt,
1362
+ "$pr": pr,
1363
+ "$pb": pb,
1364
+ "$pl": pl,
1365
+ "$px": px,
1366
+ "$py": py,
1367
+ "$width": width,
1368
+ "$height": height,
1369
+ "$maxWidth": maxWidth,
1370
+ "$maxHeight": maxHeight,
1371
+ "$minWidth": minWidth,
1372
+ "$minHeight": minHeight,
1373
+ "$position": position,
1374
+ "$top": top,
1375
+ "$right": right,
1376
+ "$bottom": bottom,
1377
+ "$left": left,
1378
+ "$borderRadius": borderRadius,
1379
+ "$border": border,
1380
+ "$borderTop": borderTop,
1381
+ "$borderRight": borderRight,
1382
+ "$borderBottom": borderBottom,
1383
+ "$borderLeft": borderLeft,
1384
+ "$bg": bg,
1385
+ "$color": color,
1386
+ "$shadow": shadow,
1387
+ "$cursor": cursor,
1388
+ "$transition": transition,
1389
+ "$hoverShadow": hoverShadow,
1390
+ "$hoverTransform": hoverTransform,
1391
+ "$overflow": overflow,
1392
+ "$overflowX": overflowX,
1393
+ "$overflowY": overflowY,
1394
+ onClick: onClick,
1395
+ onKeyDown: onKeyDown,
1396
+ tabIndex: tabIndex,
1397
+ role: role,
1398
+ "aria-label": ariaLabel
1399
+ }, rest, {
1400
+ children: children
1401
+ }));
1372
1402
  };
1373
1403
  var Box = BoxTransform;
1374
- var templateObject_1$F, templateObject_2$r, templateObject_3$n, templateObject_4$i, templateObject_5$e, templateObject_6$d, templateObject_7$b, templateObject_8$6, templateObject_9$4, templateObject_10$3, templateObject_11$2, templateObject_12$2, templateObject_13$2, templateObject_14$1, templateObject_15$1, templateObject_16$1, templateObject_17$1, templateObject_18$1, templateObject_19$1, templateObject_20$1, templateObject_21$1, templateObject_22$1, templateObject_23$1, templateObject_24$1, templateObject_25$1, templateObject_26$1, templateObject_27$1, templateObject_28$1, templateObject_29$1, templateObject_30$1, templateObject_31$1, templateObject_32$1, templateObject_33$1, templateObject_34$1, templateObject_35$1, templateObject_36, templateObject_37, templateObject_38, templateObject_39, templateObject_40, templateObject_41, templateObject_42, templateObject_43;
1404
+ var templateObject_1$F, templateObject_2$r, templateObject_3$n, templateObject_4$i, templateObject_5$e, templateObject_6$c, templateObject_7$9, templateObject_8$5, templateObject_9$4, templateObject_10$3, templateObject_11$2, templateObject_12$2, templateObject_13$2, templateObject_14$1, templateObject_15$1, templateObject_16$1, templateObject_17$1, templateObject_18$1, templateObject_19$1, templateObject_20$1, templateObject_21$1, templateObject_22$1, templateObject_23$1, templateObject_24$1, templateObject_25$1, templateObject_26$1, templateObject_27$1, templateObject_28$1, templateObject_29$1, templateObject_30$1, templateObject_31$1, templateObject_32$1, templateObject_33$1, templateObject_34$1, templateObject_35$1, templateObject_36, templateObject_37, templateObject_38, templateObject_39, templateObject_40, templateObject_41, templateObject_42, templateObject_43, templateObject_44, templateObject_45, templateObject_46, templateObject_47, templateObject_48, templateObject_49;
1375
1405
 
1376
1406
  var add = {
1377
1407
  path: "M13 11H19V13H13V19H11V13H5V11H11V5H13V11Z",
@@ -1590,7 +1620,6 @@ var iconsData = {
1590
1620
  viewHide: viewHide
1591
1621
  };
1592
1622
 
1593
- React.createElement;
1594
1623
  var IconStyled = styled.span.withConfig({
1595
1624
  shouldForwardProp: function shouldForwardProp(prop) {
1596
1625
  return !prop.startsWith('$');
@@ -1641,29 +1670,30 @@ var Icon = function Icon(_a) {
1641
1670
  var iconData = iconsData[name];
1642
1671
  if (!iconData) {
1643
1672
  console.warn("Icon \"".concat(name, "\" not found in icons.json"));
1644
- return /*#__PURE__*/React.createElement(IconStyled, {
1645
- $size: size,
1646
- $iconColor: iconColor,
1673
+ return jsxRuntime.jsx(IconStyled, {
1674
+ "$size": size,
1675
+ "$iconColor": iconColor,
1647
1676
  "data-testid": dataTestId
1648
1677
  });
1649
1678
  }
1650
- return /*#__PURE__*/React.createElement(IconStyled, {
1651
- $size: size,
1652
- $iconColor: iconColor,
1653
- "data-testid": dataTestId
1654
- }, /*#__PURE__*/React.createElement("svg", {
1655
- viewBox: "0 0 24 24",
1656
- fill: "currentColor",
1657
- xmlns: "http://www.w3.org/2000/svg",
1658
- role: "img",
1659
- "aria-label": iconData.name
1660
- }, /*#__PURE__*/React.createElement("path", {
1661
- d: iconData.path
1662
- })));
1679
+ return jsxRuntime.jsx(IconStyled, {
1680
+ "$size": size,
1681
+ "$iconColor": iconColor,
1682
+ "data-testid": dataTestId,
1683
+ children: jsxRuntime.jsx("svg", {
1684
+ viewBox: "0 0 24 24",
1685
+ fill: "currentColor",
1686
+ xmlns: "http://www.w3.org/2000/svg",
1687
+ role: "img",
1688
+ "aria-label": iconData.name,
1689
+ children: jsxRuntime.jsx("path", {
1690
+ d: iconData.path
1691
+ })
1692
+ })
1693
+ });
1663
1694
  };
1664
1695
  var templateObject_1$E;
1665
1696
 
1666
- React.createElement;
1667
1697
  var button = tokensData.component.button,
1668
1698
  semantic$f = tokensData.semantic;
1669
1699
  // Base styles shared between button and link
@@ -1720,11 +1750,13 @@ var getIconSize = function getIconSize(buttonSize) {
1720
1750
  var renderButtonContent = function renderButtonContent(children, iconName, size) {
1721
1751
  if (!iconName) return children;
1722
1752
  var iconSize = getIconSize(size);
1723
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Icon, {
1724
- name: iconName,
1725
- size: iconSize,
1726
- iconColor: "inherit"
1727
- }), children);
1753
+ return jsxRuntime.jsxs(jsxRuntime.Fragment, {
1754
+ children: [jsxRuntime.jsx(Icon, {
1755
+ name: iconName,
1756
+ size: iconSize,
1757
+ iconColor: "inherit"
1758
+ }), children]
1759
+ });
1728
1760
  };
1729
1761
  var Button = function Button(_a) {
1730
1762
  var _b = _a.variant,
@@ -1742,25 +1774,29 @@ var Button = function Button(_a) {
1742
1774
  rest = __rest(_a, ["variant", "size", "url", "purpose", "children", "target", "iconName", "linkComponent", 'data-testid']);
1743
1775
  // For links with custom link component (e.g., Next.js Link, React Router Link)
1744
1776
  if (purpose === 'link' && url && LinkComponent) {
1745
- return /*#__PURE__*/React.createElement(LinkComponent, {
1746
- href: url
1747
- }, /*#__PURE__*/React.createElement(StyledLink, {
1748
- as: "span",
1749
- $variant: variant,
1750
- $size: size,
1751
- "data-testid": dataTestId
1752
- }, renderButtonContent(children, iconName, size)));
1777
+ return jsxRuntime.jsx(LinkComponent, {
1778
+ href: url,
1779
+ children: jsxRuntime.jsx(StyledLink, {
1780
+ as: "span",
1781
+ "$variant": variant,
1782
+ "$size": size,
1783
+ "data-testid": dataTestId,
1784
+ children: renderButtonContent(children, iconName, size)
1785
+ })
1786
+ });
1753
1787
  }
1754
1788
  // For standard links (external or without custom component)
1755
1789
  if (purpose === 'link' && url) {
1756
1790
  var linkProps = rest;
1757
- return /*#__PURE__*/React.createElement(StyledLink, _extends({
1791
+ return jsxRuntime.jsx(StyledLink, __assign({
1758
1792
  href: url,
1759
1793
  target: target,
1760
- $variant: variant,
1761
- $size: size,
1794
+ "$variant": variant,
1795
+ "$size": size,
1762
1796
  "data-testid": dataTestId
1763
- }, linkProps), renderButtonContent(children, iconName, size));
1797
+ }, linkProps, {
1798
+ children: renderButtonContent(children, iconName, size)
1799
+ }));
1764
1800
  }
1765
1801
  // For button with URL (legacy support)
1766
1802
  if (purpose === 'button' && url) {
@@ -1777,24 +1813,26 @@ var Button = function Button(_a) {
1777
1813
  window.location.href = url;
1778
1814
  }
1779
1815
  };
1780
- return /*#__PURE__*/React.createElement(StyledButton, _extends({}, buttonProps_1, {
1781
- $variant: variant,
1782
- $size: size,
1816
+ return jsxRuntime.jsx(StyledButton, __assign({}, buttonProps_1, {
1817
+ "$variant": variant,
1818
+ "$size": size,
1783
1819
  "data-testid": dataTestId,
1784
- onClick: handleClick
1785
- }), renderButtonContent(children, iconName, size));
1820
+ onClick: handleClick,
1821
+ children: renderButtonContent(children, iconName, size)
1822
+ }));
1786
1823
  }
1787
1824
  // Regular button
1788
1825
  var buttonProps = rest;
1789
- return /*#__PURE__*/React.createElement(StyledButton, _extends({
1790
- $variant: variant,
1791
- $size: size,
1826
+ return jsxRuntime.jsx(StyledButton, __assign({
1827
+ "$variant": variant,
1828
+ "$size": size,
1792
1829
  "data-testid": dataTestId
1793
- }, buttonProps), renderButtonContent(children, iconName, size));
1830
+ }, buttonProps, {
1831
+ children: renderButtonContent(children, iconName, size)
1832
+ }));
1794
1833
  };
1795
1834
  var templateObject_1$D, templateObject_2$q;
1796
1835
 
1797
- React.createElement;
1798
1836
  var semantic$e = tokensData.semantic,
1799
1837
  base$c = tokensData.base;
1800
1838
  var getColorStyles = function getColorStyles(color, variant) {
@@ -1932,12 +1970,12 @@ var CategoryBadge = function CategoryBadge(_a) {
1932
1970
  onClick === null || onClick === void 0 ? void 0 : onClick();
1933
1971
  }
1934
1972
  };
1935
- return /*#__PURE__*/React.createElement(StyledCategoryBadge, {
1936
- $color: color,
1937
- $variant: variant,
1938
- $size: size,
1939
- $clickable: isClickable,
1940
- $disabled: disabled,
1973
+ return jsxRuntime.jsxs(StyledCategoryBadge, {
1974
+ "$color": color,
1975
+ "$variant": variant,
1976
+ "$size": size,
1977
+ "$clickable": isClickable,
1978
+ "$disabled": disabled,
1941
1979
  onClick: handleClick,
1942
1980
  onKeyDown: handleKeyDown,
1943
1981
  tabIndex: hasClickHandler ? 0 : undefined,
@@ -1945,12 +1983,14 @@ var CategoryBadge = function CategoryBadge(_a) {
1945
1983
  "aria-label": ariaLabel,
1946
1984
  "aria-disabled": disabled,
1947
1985
  "data-testid": dataTestId,
1948
- style: cssProps
1949
- }, icon && /*#__PURE__*/React.createElement(Icon, {
1950
- name: icon,
1951
- size: sizeStyles.iconSize,
1952
- "aria-hidden": "true"
1953
- }), children);
1986
+ style: cssProps,
1987
+ children: [icon && jsxRuntime.jsx(Icon, {
1988
+ name: icon,
1989
+ size: sizeStyles.iconSize,
1990
+ iconColor: variant === 'filled' ? 'inverse' : 'inherit',
1991
+ "aria-hidden": "true"
1992
+ }), children]
1993
+ });
1954
1994
  };
1955
1995
  CategoryBadge.displayName = 'CategoryBadge';
1956
1996
  var templateObject_1$C;
@@ -2006,7 +2046,6 @@ var getSizeStylesAsObject = function getSizeStylesAsObject(size) {
2006
2046
  }
2007
2047
  };
2008
2048
 
2009
- React.createElement;
2010
2049
  // Base styled component using CSS variables to avoid prop leaking
2011
2050
  var BaseChipStyled = styled.span.withConfig({
2012
2051
  shouldForwardProp: function shouldForwardProp(prop) {
@@ -2062,13 +2101,14 @@ var StyledChipWrapper = function StyledChipWrapper(_a) {
2062
2101
  '--chip-hover-opacity': $disabled ? '0.6' : $clickable ? '0.8' : '1',
2063
2102
  '--chip-active-opacity': $disabled ? '0.6' : $clickable ? '0.9' : '1'
2064
2103
  };
2065
- return /*#__PURE__*/React.createElement(BaseChipStyled, _extends({
2104
+ return jsxRuntime.jsx(BaseChipStyled, __assign({
2066
2105
  style: __assign(__assign({}, cssProps), style)
2067
- }, htmlProps), children);
2106
+ }, htmlProps, {
2107
+ children: children
2108
+ }));
2068
2109
  };
2069
2110
  var templateObject_1$B, templateObject_2$p, templateObject_3$m;
2070
2111
 
2071
- React.createElement;
2072
2112
  /**
2073
2113
  * Chip - Compact element for displaying tags, categories, and labels
2074
2114
  *
@@ -2114,11 +2154,11 @@ var Chip = function Chip(_a) {
2114
2154
  handleClick();
2115
2155
  }
2116
2156
  };
2117
- return /*#__PURE__*/React.createElement(StyledChipWrapper, _extends({
2118
- $variant: normalizedVariant,
2119
- $size: size,
2120
- $disabled: disabled || undefined,
2121
- $clickable: isClickable || undefined,
2157
+ return jsxRuntime.jsx(StyledChipWrapper, __assign({
2158
+ "$variant": normalizedVariant,
2159
+ "$size": size,
2160
+ "$disabled": disabled || undefined,
2161
+ "$clickable": isClickable || undefined,
2122
2162
  onClick: isClickable ? handleClick : undefined,
2123
2163
  onKeyDown: handleKeyDown,
2124
2164
  tabIndex: isClickable ? 0 : undefined,
@@ -2127,19 +2167,21 @@ var Chip = function Chip(_a) {
2127
2167
  "aria-describedby": ariaDescribedBy,
2128
2168
  "aria-disabled": disabled ? 'true' : undefined,
2129
2169
  "data-testid": dataTestId
2130
- }, props), content);
2170
+ }, props, {
2171
+ children: content
2172
+ }));
2131
2173
  };
2132
2174
  var LegacyChip = function LegacyChip(_a) {
2133
2175
  var title = _a.title,
2134
2176
  _b = _a.variant,
2135
2177
  variant = _b === void 0 ? 'light' : _b;
2136
2178
  var newVariant = variant === 'dark' ? 'emphasis' : 'default';
2137
- return /*#__PURE__*/React.createElement(Chip, {
2138
- variant: newVariant
2139
- }, title);
2179
+ return jsxRuntime.jsx(Chip, {
2180
+ variant: newVariant,
2181
+ children: title
2182
+ });
2140
2183
  };
2141
2184
 
2142
- React.createElement;
2143
2185
  /**
2144
2186
  * FilterChip - Chip for displaying filters with selected state and optional dismissal
2145
2187
  *
@@ -2192,39 +2234,42 @@ var FilterChip = function FilterChip(_a) {
2192
2234
  };
2193
2235
  // Generate accessible label for close button
2194
2236
  var closeButtonLabel = typeof children === 'string' ? "Remove ".concat(children) : 'Remove filter';
2195
- return /*#__PURE__*/React.createElement(StyledChipWrapper, _extends({
2196
- $variant: "subtle",
2197
- $size: size,
2198
- $disabled: disabled || undefined,
2199
- $clickable: false,
2200
- $selected: selected,
2237
+ return jsxRuntime.jsxs(StyledChipWrapper, __assign({
2238
+ "$variant": "subtle",
2239
+ "$size": size,
2240
+ "$disabled": disabled || undefined,
2241
+ "$clickable": false,
2242
+ "$selected": selected,
2201
2243
  onKeyDown: handleKeyDown,
2202
2244
  role: role || 'status',
2203
2245
  "aria-label": ariaLabel,
2204
2246
  "aria-describedby": ariaDescribedBy,
2205
2247
  "aria-disabled": disabled ? 'true' : undefined,
2206
2248
  "data-testid": dataTestId
2207
- }, props), selected && /*#__PURE__*/React.createElement(IconContainer, {
2208
- "aria-hidden": "true"
2209
- }, /*#__PURE__*/React.createElement(Icon, {
2210
- name: "check",
2211
- size: "sm"
2212
- })), children, isDismissible && /*#__PURE__*/React.createElement(CloseButton, {
2213
- type: "button",
2214
- onClick: handleDismiss,
2215
- onKeyDown: handleCloseKeyDown,
2216
- disabled: disabled,
2217
- $disabled: disabled,
2218
- "aria-label": closeButtonLabel,
2219
- tabIndex: 0,
2220
- "data-testid": dataTestId ? "".concat(dataTestId, "-close") : undefined
2221
- }, /*#__PURE__*/React.createElement(Icon, {
2222
- name: "close",
2223
- size: "sm"
2224
- })));
2249
+ }, props, {
2250
+ children: [selected && jsxRuntime.jsx(IconContainer, {
2251
+ "aria-hidden": "true",
2252
+ children: jsxRuntime.jsx(Icon, {
2253
+ name: "check",
2254
+ size: "sm"
2255
+ })
2256
+ }), children, isDismissible && jsxRuntime.jsx(CloseButton, {
2257
+ type: "button",
2258
+ onClick: handleDismiss,
2259
+ onKeyDown: handleCloseKeyDown,
2260
+ disabled: disabled,
2261
+ "$disabled": disabled,
2262
+ "aria-label": closeButtonLabel,
2263
+ tabIndex: 0,
2264
+ "data-testid": dataTestId ? "".concat(dataTestId, "-close") : undefined,
2265
+ children: jsxRuntime.jsx(Icon, {
2266
+ name: "close",
2267
+ size: "sm"
2268
+ })
2269
+ })]
2270
+ }));
2225
2271
  };
2226
2272
 
2227
- React.createElement;
2228
2273
  /**
2229
2274
  * BooleanChip - Toggleable chip for quick filter controls
2230
2275
  *
@@ -2263,12 +2308,12 @@ var BooleanChip = function BooleanChip(_a) {
2263
2308
  handleClick();
2264
2309
  }
2265
2310
  };
2266
- return /*#__PURE__*/React.createElement(StyledChipWrapper, _extends({
2267
- $variant: "subtle",
2268
- $size: size,
2269
- $disabled: disabled || undefined,
2270
- $clickable: !disabled,
2271
- $selected: selected,
2311
+ return jsxRuntime.jsxs(StyledChipWrapper, __assign({
2312
+ "$variant": "subtle",
2313
+ "$size": size,
2314
+ "$disabled": disabled || undefined,
2315
+ "$clickable": !disabled,
2316
+ "$selected": selected,
2272
2317
  onClick: handleClick,
2273
2318
  onKeyDown: handleKeyDown,
2274
2319
  tabIndex: disabled ? undefined : 0,
@@ -2278,12 +2323,15 @@ var BooleanChip = function BooleanChip(_a) {
2278
2323
  "aria-describedby": ariaDescribedBy,
2279
2324
  "aria-disabled": disabled ? 'true' : undefined,
2280
2325
  "data-testid": dataTestId
2281
- }, props), selected && /*#__PURE__*/React.createElement(IconContainer, {
2282
- "aria-hidden": "true"
2283
- }, /*#__PURE__*/React.createElement(Icon, {
2284
- name: "check",
2285
- size: "sm"
2286
- })), children);
2326
+ }, props, {
2327
+ children: [selected && jsxRuntime.jsx(IconContainer, {
2328
+ "aria-hidden": "true",
2329
+ children: jsxRuntime.jsx(Icon, {
2330
+ name: "check",
2331
+ size: "sm"
2332
+ })
2333
+ }), children]
2334
+ }));
2287
2335
  };
2288
2336
 
2289
2337
  // Breakpoints using base tokens
@@ -2305,7 +2353,6 @@ var media$1 = {
2305
2353
  '2xl': "@media (min-width: ".concat(breakpoints$1['2xl'], ")")
2306
2354
  };
2307
2355
 
2308
- React.createElement;
2309
2356
  var spacing$3 = tokensData.semantic.spacing;
2310
2357
  var StyledContainer$2 = styled.div.withConfig({
2311
2358
  displayName: "Container__StyledContainer",
@@ -2314,11 +2361,12 @@ var StyledContainer$2 = styled.div.withConfig({
2314
2361
  var Container = function Container(_a) {
2315
2362
  var children = _a.children,
2316
2363
  props = __rest(_a, ["children"]);
2317
- return /*#__PURE__*/React.createElement(StyledContainer$2, props, children);
2364
+ return jsxRuntime.jsx(StyledContainer$2, __assign({}, props, {
2365
+ children: children
2366
+ }));
2318
2367
  };
2319
2368
  var templateObject_1$A;
2320
2369
 
2321
- React.createElement;
2322
2370
  var base$b = tokensData.base;
2323
2371
  var PictureWrapper = styled.div.withConfig({
2324
2372
  displayName: "Picture__PictureWrapper",
@@ -2346,25 +2394,27 @@ var Picture = function Picture(_a) {
2346
2394
  onClick = _a.onClick,
2347
2395
  href = _a.href,
2348
2396
  dataTestId = _a["data-testid"];
2349
- var image = /*#__PURE__*/React.createElement(StyledImage, {
2397
+ var image = jsxRuntime.jsx(StyledImage, {
2350
2398
  src: src,
2351
2399
  alt: title,
2352
2400
  width: width,
2353
2401
  height: height
2354
2402
  });
2355
- return /*#__PURE__*/React.createElement(PictureWrapper, {
2356
- "data-testid": dataTestId
2357
- }, href ? /*#__PURE__*/React.createElement(ImageLink, {
2358
- href: href,
2359
- "aria-label": "Read more about ".concat(title)
2360
- }, image) : onClick ? /*#__PURE__*/React.createElement(ImageButton, {
2361
- onClick: onClick,
2362
- "aria-label": "Read more about ".concat(title)
2363
- }, image) : image);
2403
+ return jsxRuntime.jsx(PictureWrapper, {
2404
+ "data-testid": dataTestId,
2405
+ children: href ? jsxRuntime.jsx(ImageLink, {
2406
+ href: href,
2407
+ "aria-label": "Read more about ".concat(title),
2408
+ children: image
2409
+ }) : onClick ? jsxRuntime.jsx(ImageButton, {
2410
+ onClick: onClick,
2411
+ "aria-label": "Read more about ".concat(title),
2412
+ children: image
2413
+ }) : image
2414
+ });
2364
2415
  };
2365
2416
  var templateObject_1$z, templateObject_2$o, templateObject_3$l, templateObject_4$h;
2366
2417
 
2367
- React.createElement;
2368
2418
  var _a$4 = tokensData.semantic,
2369
2419
  typography$1 = _a$4.typography,
2370
2420
  color$2 = _a$4.color;
@@ -2414,14 +2464,14 @@ var DateFormatter = function DateFormatter(_a) {
2414
2464
  displayText = dateFns.format(date, formatString || 'yyyy');
2415
2465
  break;
2416
2466
  }
2417
- return /*#__PURE__*/React.createElement(TimeStyled, {
2467
+ return jsxRuntime.jsx(TimeStyled, {
2418
2468
  dateTime: dateString,
2419
- "data-testid": dataTestId
2420
- }, displayText);
2469
+ "data-testid": dataTestId,
2470
+ children: displayText
2471
+ });
2421
2472
  };
2422
2473
  var templateObject_1$y;
2423
2474
 
2424
- React.createElement;
2425
2475
  var motion = tokensData.semantic.motion,
2426
2476
  iconButton = tokensData.component.iconButton;
2427
2477
  var IconButtonStyled = styled.button.withConfig({
@@ -2519,9 +2569,9 @@ var IconButton = function IconButton(_a) {
2519
2569
  return 'default';
2520
2570
  }
2521
2571
  };
2522
- return /*#__PURE__*/React.createElement(IconButtonStyled, _extends({
2523
- $variant: variant,
2524
- $size: size,
2572
+ return jsxRuntime.jsx(IconButtonStyled, __assign({
2573
+ "$variant": variant,
2574
+ "$size": size,
2525
2575
  onClick: handleClick,
2526
2576
  onKeyDown: handleKeyDown,
2527
2577
  disabled: disabled,
@@ -2534,16 +2584,17 @@ var IconButton = function IconButton(_a) {
2534
2584
  "aria-disabled": disabled,
2535
2585
  tabIndex: disabled ? -1 : 0,
2536
2586
  "data-testid": dataTestId
2537
- }, htmlProps), /*#__PURE__*/React.createElement(Icon, {
2538
- name: iconName,
2539
- size: iconSize,
2540
- iconColor: getIconColor(variant),
2541
- "aria-hidden": "true" // Hide icon from screen readers since button has aria-label
2587
+ }, htmlProps, {
2588
+ children: jsxRuntime.jsx(Icon, {
2589
+ name: iconName,
2590
+ size: iconSize,
2591
+ iconColor: getIconColor(variant),
2592
+ "aria-hidden": "true" // Hide icon from screen readers since button has aria-label
2593
+ })
2542
2594
  }));
2543
2595
  };
2544
2596
  var templateObject_1$x;
2545
2597
 
2546
- React.createElement;
2547
2598
  var StyledWrapper = styled.span.withConfig({
2548
2599
  shouldForwardProp: function shouldForwardProp(prop) {
2549
2600
  return !prop.startsWith('$');
@@ -2636,20 +2687,21 @@ var MoneyDisplay = function MoneyDisplay(_a) {
2636
2687
  // Get typography variant and color
2637
2688
  var typographyVariant = sizeToTypographyVariant[size];
2638
2689
  var typographyColor = variantToTypographyColor[variant];
2639
- return /*#__PURE__*/React.createElement(StyledWrapper, {
2640
- $align: align,
2641
- $weight: weight,
2690
+ return jsxRuntime.jsx(StyledWrapper, {
2691
+ "$align": align,
2692
+ "$weight": weight,
2642
2693
  "aria-label": ariaLabel,
2643
- "data-testid": dataTestId
2644
- }, /*#__PURE__*/React.createElement(Typography, {
2645
- variant: typographyVariant,
2646
- color: typographyColor,
2647
- as: "span"
2648
- }, displayText));
2694
+ "data-testid": dataTestId,
2695
+ children: jsxRuntime.jsx(Typography, {
2696
+ variant: typographyVariant,
2697
+ color: typographyColor,
2698
+ as: "span",
2699
+ children: displayText
2700
+ })
2701
+ });
2649
2702
  };
2650
2703
  var templateObject_1$w;
2651
2704
 
2652
- React.createElement;
2653
2705
  var ProgressBarContainer = styled.div.withConfig({
2654
2706
  shouldForwardProp: function shouldForwardProp(prop) {
2655
2707
  return !prop.startsWith('$');
@@ -2667,7 +2719,7 @@ var ProgressBarFill = styled.div.withConfig({
2667
2719
  },
2668
2720
  displayName: "ProgressBar__ProgressBarFill",
2669
2721
  componentId: "sc-1nco33q-1"
2670
- })(templateObject_7$a || (templateObject_7$a = __makeTemplateObject(["\n height: 100%;\n transition: ", ";\n\n ", "\n\n ", "\n\n ", "\n"], ["\n height: 100%;\n transition: ", ";\n\n ", "\n\n ", "\n\n ", "\n"])), tokensData.semantic.motion.transition.normal, function (props) {
2722
+ })(templateObject_7$8 || (templateObject_7$8 = __makeTemplateObject(["\n height: 100%;\n transition: ", ";\n\n ", "\n\n ", "\n\n ", "\n"], ["\n height: 100%;\n transition: ", ";\n\n ", "\n\n ", "\n\n ", "\n"])), tokensData.semantic.motion.transition.normal, function (props) {
2671
2723
  var backgroundColor;
2672
2724
  switch (props.$color) {
2673
2725
  case 'success':
@@ -2685,7 +2737,7 @@ var ProgressBarFill = styled.div.withConfig({
2685
2737
  }, function (props) {
2686
2738
  return props.$variant === 'horizontal' && styled.css(templateObject_5$d || (templateObject_5$d = __makeTemplateObject(["\n width: ", "%;\n "], ["\n width: ", "%;\n "])), Math.min(100, Math.max(0, props.$value)));
2687
2739
  }, function (props) {
2688
- return props.$variant === 'vertical' && styled.css(templateObject_6$c || (templateObject_6$c = __makeTemplateObject(["\n width: 100%;\n height: ", "%;\n "], ["\n width: 100%;\n height: ", "%;\n "])), Math.min(100, Math.max(0, props.$value)));
2740
+ return props.$variant === 'vertical' && styled.css(templateObject_6$b || (templateObject_6$b = __makeTemplateObject(["\n width: 100%;\n height: ", "%;\n "], ["\n width: 100%;\n height: ", "%;\n "])), Math.min(100, Math.max(0, props.$value)));
2689
2741
  });
2690
2742
  var ProgressBar = function ProgressBar(_a) {
2691
2743
  var value = _a.value,
@@ -2696,24 +2748,24 @@ var ProgressBar = function ProgressBar(_a) {
2696
2748
  height = _a.height,
2697
2749
  width = _a.width,
2698
2750
  dataTestId = _a["data-testid"];
2699
- return /*#__PURE__*/React.createElement(ProgressBarContainer, {
2700
- $variant: variant,
2701
- $height: height,
2702
- $width: width,
2751
+ return jsxRuntime.jsx(ProgressBarContainer, {
2752
+ "$variant": variant,
2753
+ "$height": height,
2754
+ "$width": width,
2703
2755
  "data-testid": dataTestId,
2704
2756
  role: "progressbar",
2705
2757
  "aria-valuenow": Math.min(100, Math.max(0, value)),
2706
2758
  "aria-valuemin": 0,
2707
- "aria-valuemax": 100
2708
- }, /*#__PURE__*/React.createElement(ProgressBarFill, {
2709
- $value: value,
2710
- $variant: variant,
2711
- $color: color
2712
- }));
2759
+ "aria-valuemax": 100,
2760
+ children: jsxRuntime.jsx(ProgressBarFill, {
2761
+ "$value": value,
2762
+ "$variant": variant,
2763
+ "$color": color
2764
+ })
2765
+ });
2713
2766
  };
2714
- var templateObject_1$v, templateObject_2$n, templateObject_3$k, templateObject_4$g, templateObject_5$d, templateObject_6$c, templateObject_7$a;
2767
+ var templateObject_1$v, templateObject_2$n, templateObject_3$k, templateObject_4$g, templateObject_5$d, templateObject_6$b, templateObject_7$8;
2715
2768
 
2716
- React.createElement;
2717
2769
  var StyledDivider$1 = styled.div.withConfig({
2718
2770
  shouldForwardProp: function shouldForwardProp(prop) {
2719
2771
  return !prop.startsWith('$');
@@ -2824,10 +2876,10 @@ var Divider = function Divider(_a) {
2824
2876
  _d = _a.orientation,
2825
2877
  orientation = _d === void 0 ? 'horizontal' : _d,
2826
2878
  dataTestId = _a["data-testid"];
2827
- return /*#__PURE__*/React.createElement(StyledDivider$1, {
2828
- $variant: variant,
2829
- $size: size,
2830
- $orientation: orientation,
2879
+ return jsxRuntime.jsx(StyledDivider$1, {
2880
+ "$variant": variant,
2881
+ "$size": size,
2882
+ "$orientation": orientation,
2831
2883
  "data-testid": dataTestId,
2832
2884
  role: "separator",
2833
2885
  "aria-orientation": orientation
@@ -2835,7 +2887,6 @@ var Divider = function Divider(_a) {
2835
2887
  };
2836
2888
  var templateObject_1$u;
2837
2889
 
2838
- React.createElement;
2839
2890
  var StyledStack = styled.div.withConfig({
2840
2891
  shouldForwardProp: function shouldForwardProp(prop) {
2841
2892
  return !prop.startsWith('$');
@@ -2875,14 +2926,14 @@ var Stack = function Stack(_a) {
2875
2926
  '--stack-gap': gapValue,
2876
2927
  '--stack-wrap': wrap ? 'wrap' : 'nowrap'
2877
2928
  };
2878
- return /*#__PURE__*/React.createElement(StyledStack, {
2929
+ return jsxRuntime.jsx(StyledStack, {
2879
2930
  style: cssProps,
2880
- "data-testid": dataTestId
2881
- }, children);
2931
+ "data-testid": dataTestId,
2932
+ children: children
2933
+ });
2882
2934
  };
2883
2935
  var templateObject_1$t;
2884
2936
 
2885
- React.createElement;
2886
2937
  var semantic$d = tokensData.semantic,
2887
2938
  base$a = tokensData.base;
2888
2939
  var scaleIn = styled.keyframes(templateObject_1$s || (templateObject_1$s = __makeTemplateObject(["\n from {\n opacity: 0;\n transform: scale(0.8);\n }\n to {\n opacity: 1;\n transform: scale(1);\n }\n"], ["\n from {\n opacity: 0;\n transform: scale(0.8);\n }\n to {\n opacity: 1;\n transform: scale(1);\n }\n"])));
@@ -2942,7 +2993,7 @@ var getSizeStyles = function getSizeStyles(size) {
2942
2993
  // medium
2943
2994
  return {
2944
2995
  height: '24px',
2945
- padding: "".concat(base$a.spacing[1], " ").concat(base$a.spacing[3]),
2996
+ padding: "".concat(base$a.spacing[1], " ").concat(base$a.spacing[2]),
2946
2997
  font: semantic$d.typography.small,
2947
2998
  gap: base$a.spacing[1],
2948
2999
  iconSize: 'sm'
@@ -3027,25 +3078,28 @@ var StatusBadge = function StatusBadge(_a) {
3027
3078
  '--status-badge-font': sizeStyles.font,
3028
3079
  '--status-badge-gap': sizeStyles.gap
3029
3080
  };
3030
- return /*#__PURE__*/React.createElement(StyledStatusBadge, {
3031
- $status: status,
3032
- $size: size,
3081
+ return jsxRuntime.jsxs(StyledStatusBadge, {
3082
+ "$status": status,
3083
+ "$size": size,
3033
3084
  role: "status",
3034
3085
  "aria-label": ariaLabel || "Status: ".concat(displayLabel),
3035
3086
  "aria-live": liveRegion ? 'polite' : undefined,
3036
3087
  "aria-atomic": liveRegion ? 'true' : undefined,
3037
3088
  "data-testid": dataTestId,
3038
- style: cssProps
3039
- }, showIcon && /*#__PURE__*/React.createElement(Icon, {
3040
- name: statusConfig.icon,
3041
- size: sizeStyles.iconSize,
3042
- "aria-hidden": "true"
3043
- }), displayLabel, /*#__PURE__*/React.createElement(ScreenReaderOnly, null, status, " status"));
3089
+ style: cssProps,
3090
+ children: [showIcon && jsxRuntime.jsx(Icon, {
3091
+ name: statusConfig.icon,
3092
+ size: sizeStyles.iconSize,
3093
+ iconColor: "inherit",
3094
+ "aria-hidden": "true"
3095
+ }), displayLabel, jsxRuntime.jsxs(ScreenReaderOnly, {
3096
+ children: [status, " status"]
3097
+ })]
3098
+ });
3044
3099
  };
3045
3100
  StatusBadge.displayName = 'StatusBadge';
3046
3101
  var templateObject_1$s, templateObject_2$m, templateObject_3$j;
3047
3102
 
3048
- React.createElement;
3049
3103
  var semantic$c = tokensData.semantic;
3050
3104
  var StyledTag = styled.span.withConfig({
3051
3105
  shouldForwardProp: function shouldForwardProp(prop) {
@@ -3124,50 +3178,44 @@ var Tag = function Tag(_a) {
3124
3178
  border = _c === void 0 ? true : _c,
3125
3179
  dataTestId = _a["data-testid"],
3126
3180
  props = __rest(_a, ["children", "variant", "border", 'data-testid']);
3127
- return /*#__PURE__*/React.createElement(StyledTag, _extends({
3128
- $variant: variant,
3129
- $border: border,
3181
+ return jsxRuntime.jsx(StyledTag, __assign({
3182
+ "$variant": variant,
3183
+ "$border": border,
3130
3184
  "data-testid": dataTestId,
3131
3185
  "data-variant": variant,
3132
3186
  "data-border": border,
3133
3187
  role: "status",
3134
3188
  "aria-label": typeof children === 'string' ? "Tag: ".concat(children) : undefined
3135
- }, props), children);
3189
+ }, props, {
3190
+ children: children
3191
+ }));
3136
3192
  };
3137
3193
  var templateObject_1$r;
3138
3194
 
3139
- React.createElement;
3140
- var StyledCard = styled.div.withConfig({
3141
- displayName: "AccountCard__StyledCard",
3142
- componentId: "sc-1erp7zn-0"
3143
- })(templateObject_1$q || (templateObject_1$q = __makeTemplateObject(["\n min-width: 300px;\n min-height: 200px;\n padding: ", ";\n background-color: ", ";\n border: 1px solid ", ";\n border-radius: ", ";\n box-shadow: ", ";\n transition: all 0.2s ease;\n \n ", "\n"], ["\n min-width: 300px;\n min-height: 200px;\n padding: ", ";\n background-color: ", ";\n border: 1px solid ", ";\n border-radius: ", ";\n box-shadow: ", ";\n transition: all 0.2s ease;\n \n ", "\n"])), tokensData.semantic.spacing.layout.lg, tokensData.semantic.color.background.surface, tokensData.semantic.color.border["default"], tokensData.base.border.radius[5], tokensData.base.shadow[3], function (_a) {
3144
- var $clickable = _a.$clickable;
3145
- return $clickable && "\n cursor: pointer;\n \n &:hover {\n box-shadow: ".concat(tokensData.base.shadow[4], ";\n transform: translateY(-2px);\n }\n \n &:active {\n transform: translateY(0);\n }\n \n &:focus-visible {\n outline: 2px solid ").concat(tokensData.semantic.color.border.interactive, ";\n outline-offset: 2px;\n }\n ");
3146
- });
3147
3195
  var StyledHeader$2 = styled.div.withConfig({
3148
3196
  displayName: "AccountCard__StyledHeader",
3149
- componentId: "sc-1erp7zn-1"
3150
- })(templateObject_2$l || (templateObject_2$l = __makeTemplateObject(["\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n margin-bottom: ", ";\n"], ["\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n margin-bottom: ", ";\n"])), tokensData.semantic.spacing.layout.md);
3197
+ componentId: "sc-1erp7zn-0"
3198
+ })(templateObject_1$q || (templateObject_1$q = __makeTemplateObject(["\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n margin-bottom: ", ";\n"], ["\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n margin-bottom: ", ";\n"])), tokensData.semantic.spacing.layout.md);
3151
3199
  var StyledIconWrapper = styled.div.withConfig({
3152
3200
  displayName: "AccountCard__StyledIconWrapper",
3153
- componentId: "sc-1erp7zn-2"
3154
- })(templateObject_3$i || (templateObject_3$i = __makeTemplateObject(["\n width: 40px;\n height: 40px;\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ", ";\n border-radius: ", ";\n color: ", ";\n"], ["\n width: 40px;\n height: 40px;\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ", ";\n border-radius: ", ";\n color: ", ";\n"])), tokensData.semantic.color.background.interactive, tokensData.base.border.radius[3], tokensData.semantic.color.icon.interactive);
3201
+ componentId: "sc-1erp7zn-1"
3202
+ })(templateObject_2$l || (templateObject_2$l = __makeTemplateObject(["\n width: 40px;\n height: 40px;\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ", ";\n border-radius: ", ";\n color: ", ";\n"], ["\n width: 40px;\n height: 40px;\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ", ";\n border-radius: ", ";\n color: ", ";\n"])), tokensData.semantic.color.background.inverse, tokensData.base.border.radius[3], tokensData.semantic.color.icon.interactive);
3155
3203
  var StyledBalanceSection = styled.div.withConfig({
3156
3204
  displayName: "AccountCard__StyledBalanceSection",
3157
- componentId: "sc-1erp7zn-3"
3158
- })(templateObject_4$f || (templateObject_4$f = __makeTemplateObject(["\n margin-bottom: ", ";\n"], ["\n margin-bottom: ", ";\n"])), tokensData.semantic.spacing.layout.lg);
3205
+ componentId: "sc-1erp7zn-2"
3206
+ })(templateObject_3$i || (templateObject_3$i = __makeTemplateObject(["\n margin-bottom: ", ";\n"], ["\n margin-bottom: ", ";\n"])), tokensData.semantic.spacing.layout.lg);
3159
3207
  var StyledTrendSection = styled.div.withConfig({
3160
3208
  displayName: "AccountCard__StyledTrendSection",
3161
- componentId: "sc-1erp7zn-4"
3162
- })(templateObject_5$c || (templateObject_5$c = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: ", ";\n margin-top: ", ";\n"], ["\n display: flex;\n align-items: center;\n gap: ", ";\n margin-top: ", ";\n"])), tokensData.semantic.spacing.layout.xs, tokensData.semantic.spacing.layout.sm);
3209
+ componentId: "sc-1erp7zn-3"
3210
+ })(templateObject_4$f || (templateObject_4$f = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: ", ";\n margin-top: ", ";\n"], ["\n display: flex;\n align-items: center;\n gap: ", ";\n margin-top: ", ";\n"])), tokensData.semantic.spacing.layout.xs, tokensData.semantic.spacing.layout.sm);
3163
3211
  var StyledActions$1 = styled.div.withConfig({
3164
3212
  displayName: "AccountCard__StyledActions",
3165
- componentId: "sc-1erp7zn-5"
3166
- })(templateObject_6$b || (templateObject_6$b = __makeTemplateObject(["\n display: flex;\n gap: ", ";\n margin-top: auto;\n \n & > * {\n flex: 1;\n }\n"], ["\n display: flex;\n gap: ", ";\n margin-top: auto;\n \n & > * {\n flex: 1;\n }\n"])), tokensData.semantic.spacing.layout.sm);
3213
+ componentId: "sc-1erp7zn-4"
3214
+ })(templateObject_5$c || (templateObject_5$c = __makeTemplateObject(["\n display: flex;\n gap: ", ";\n margin-top: auto;\n \n & > * {\n flex: 1;\n }\n"], ["\n display: flex;\n gap: ", ";\n margin-top: auto;\n \n & > * {\n flex: 1;\n }\n"])), tokensData.semantic.spacing.layout.sm);
3167
3215
  var StyledStackWrapper = styled.div.withConfig({
3168
3216
  displayName: "AccountCard__StyledStackWrapper",
3169
- componentId: "sc-1erp7zn-6"
3170
- })(templateObject_7$9 || (templateObject_7$9 = __makeTemplateObject(["\n height: 100%;\n min-height: 168px;\n"], ["\n height: 100%;\n min-height: 168px;\n"
3217
+ componentId: "sc-1erp7zn-5"
3218
+ })(templateObject_6$a || (templateObject_6$a = __makeTemplateObject(["\n height: 100%;\n min-height: 168px;\n"], ["\n height: 100%;\n min-height: 168px;\n"
3171
3219
  // Map account types to icon names (using placeholders)
3172
3220
  ])));
3173
3221
  // Map account types to icon names (using placeholders)
@@ -3227,78 +3275,109 @@ var AccountCard = function AccountCard(_a) {
3227
3275
  onClick === null || onClick === void 0 ? void 0 : onClick();
3228
3276
  }
3229
3277
  };
3230
- return /*#__PURE__*/React.createElement(StyledCard, {
3231
- $clickable: isClickable,
3278
+ return jsxRuntime.jsx(Box, {
3279
+ minWidth: "300px",
3280
+ minHeight: "200px",
3281
+ p: "lg",
3282
+ bg: "surface",
3283
+ border: "default",
3284
+ borderRadius: "5",
3285
+ shadow: "3",
3286
+ transition: "all 0.2s ease",
3287
+ cursor: isClickable ? 'pointer' : 'default',
3288
+ hoverShadow: isClickable ? '4' : undefined,
3289
+ hoverTransform: isClickable ? 'translateY(-2px)' : undefined,
3232
3290
  onClick: handleClick,
3233
3291
  onKeyDown: handleKeyDown,
3234
3292
  tabIndex: isClickable ? 0 : undefined,
3235
3293
  role: isClickable ? 'button' : 'article',
3236
3294
  "aria-label": isClickable ? "".concat(accountName, " account, balance ").concat(balance) : undefined,
3237
- "data-testid": dataTestId
3238
- }, /*#__PURE__*/React.createElement(StyledStackWrapper, null, /*#__PURE__*/React.createElement(Stack, {
3239
- direction: "column",
3240
- gap: "none"
3241
- }, /*#__PURE__*/React.createElement(StyledHeader$2, null, /*#__PURE__*/React.createElement(Stack, {
3242
- direction: "row",
3243
- gap: "md",
3244
- alignItems: "center"
3245
- }, /*#__PURE__*/React.createElement(StyledIconWrapper, {
3246
- "aria-label": "".concat(accountType, " account"),
3247
- role: "img"
3248
- }, /*#__PURE__*/React.createElement(Icon, {
3249
- name: accountIcon,
3250
- size: "md"
3251
- })), /*#__PURE__*/React.createElement(Stack, {
3252
- direction: "column",
3253
- gap: "xs"
3254
- }, /*#__PURE__*/React.createElement(Typography, {
3255
- variant: "h4"
3256
- }, accountName), accountNumber && /*#__PURE__*/React.createElement(Typography, {
3257
- variant: "caption",
3258
- color: "subdued"
3259
- }, "\u2022\u2022\u2022\u2022 ", accountNumber)))), /*#__PURE__*/React.createElement(StyledBalanceSection, null, /*#__PURE__*/React.createElement(Stack, {
3260
- direction: "column",
3261
- gap: "xs"
3262
- }, /*#__PURE__*/React.createElement(Typography, {
3263
- variant: "caption",
3264
- color: "subdued"
3265
- }, "Balance"), /*#__PURE__*/React.createElement(MoneyDisplay, {
3266
- amount: balance,
3267
- currency: currency,
3268
- size: "xlarge",
3269
- weight: "bold",
3270
- "data-testid": dataTestId ? "".concat(dataTestId, "-balance") : undefined
3271
- })), trend && trendValue && /*#__PURE__*/React.createElement(StyledTrendSection, {
3272
- "aria-label": "Trend ".concat(trend),
3273
- role: "img"
3274
- }, /*#__PURE__*/React.createElement(Icon, {
3275
- name: trendIcon,
3276
- size: "xs",
3277
- iconColor: trendColor
3278
- }), /*#__PURE__*/React.createElement(Typography, {
3279
- variant: "caption",
3280
- color: trendColor
3281
- }, trendValue))), (action || secondaryAction) && /*#__PURE__*/React.createElement(StyledActions$1, null, action && /*#__PURE__*/React.createElement(Button, {
3282
- onClick: function onClick(e) {
3283
- e.stopPropagation();
3284
- action.onClick();
3285
- },
3286
- variant: action.variant || 'primary',
3287
- iconName: action.icon,
3288
- "data-testid": dataTestId ? "".concat(dataTestId, "-action") : undefined
3289
- }, action.label), secondaryAction && /*#__PURE__*/React.createElement(Button, {
3290
- onClick: function onClick(e) {
3291
- e.stopPropagation();
3292
- secondaryAction.onClick();
3293
- },
3294
- variant: secondaryAction.variant || 'naked',
3295
- iconName: secondaryAction.icon,
3296
- "data-testid": dataTestId ? "".concat(dataTestId, "-secondary-action") : undefined
3297
- }, secondaryAction.label)))));
3295
+ "data-testid": dataTestId,
3296
+ children: jsxRuntime.jsx(StyledStackWrapper, {
3297
+ children: jsxRuntime.jsxs(Stack, {
3298
+ direction: "column",
3299
+ gap: "none",
3300
+ children: [jsxRuntime.jsx(StyledHeader$2, {
3301
+ children: jsxRuntime.jsxs(Stack, {
3302
+ direction: "row",
3303
+ gap: "md",
3304
+ alignItems: "center",
3305
+ children: [jsxRuntime.jsx(StyledIconWrapper, {
3306
+ "aria-label": "".concat(accountType, " account"),
3307
+ role: "img",
3308
+ children: jsxRuntime.jsx(Icon, {
3309
+ name: accountIcon,
3310
+ iconColor: "inverse",
3311
+ size: "md"
3312
+ })
3313
+ }), jsxRuntime.jsxs(Stack, {
3314
+ direction: "column",
3315
+ gap: "xs",
3316
+ children: [jsxRuntime.jsx(Typography, {
3317
+ variant: "h4",
3318
+ children: accountName
3319
+ }), accountNumber && jsxRuntime.jsxs(Typography, {
3320
+ variant: "caption",
3321
+ color: "subdued",
3322
+ children: ["\u2022\u2022\u2022\u2022 ", accountNumber]
3323
+ })]
3324
+ })]
3325
+ })
3326
+ }), jsxRuntime.jsxs(StyledBalanceSection, {
3327
+ children: [jsxRuntime.jsxs(Stack, {
3328
+ direction: "column",
3329
+ gap: "xs",
3330
+ children: [jsxRuntime.jsx(Typography, {
3331
+ variant: "caption",
3332
+ color: "subdued",
3333
+ children: "Balance"
3334
+ }), jsxRuntime.jsx(MoneyDisplay, {
3335
+ amount: balance,
3336
+ currency: currency,
3337
+ size: "xlarge",
3338
+ weight: "bold",
3339
+ "data-testid": dataTestId ? "".concat(dataTestId, "-balance") : undefined
3340
+ })]
3341
+ }), trend && trendValue && jsxRuntime.jsxs(StyledTrendSection, {
3342
+ "aria-label": "Trend ".concat(trend),
3343
+ role: "img",
3344
+ children: [jsxRuntime.jsx(Icon, {
3345
+ name: trendIcon,
3346
+ size: "xs",
3347
+ iconColor: trendColor
3348
+ }), jsxRuntime.jsx(Typography, {
3349
+ variant: "caption",
3350
+ color: trendColor,
3351
+ children: trendValue
3352
+ })]
3353
+ })]
3354
+ }), (action || secondaryAction) && jsxRuntime.jsxs(StyledActions$1, {
3355
+ children: [action && jsxRuntime.jsx(Button, {
3356
+ onClick: function onClick(e) {
3357
+ e.stopPropagation();
3358
+ action.onClick();
3359
+ },
3360
+ variant: action.variant || 'primary',
3361
+ iconName: action.icon,
3362
+ "data-testid": dataTestId ? "".concat(dataTestId, "-action") : undefined,
3363
+ children: action.label
3364
+ }), secondaryAction && jsxRuntime.jsx(Button, {
3365
+ onClick: function onClick(e) {
3366
+ e.stopPropagation();
3367
+ secondaryAction.onClick();
3368
+ },
3369
+ variant: secondaryAction.variant || 'naked',
3370
+ iconName: secondaryAction.icon,
3371
+ "data-testid": dataTestId ? "".concat(dataTestId, "-secondary-action") : undefined,
3372
+ children: secondaryAction.label
3373
+ })]
3374
+ })]
3375
+ })
3376
+ })
3377
+ });
3298
3378
  };
3299
- var templateObject_1$q, templateObject_2$l, templateObject_3$i, templateObject_4$f, templateObject_5$c, templateObject_6$b, templateObject_7$9;
3379
+ var templateObject_1$q, templateObject_2$l, templateObject_3$i, templateObject_4$f, templateObject_5$c, templateObject_6$a;
3300
3380
 
3301
- React.createElement;
3302
3381
  var semantic$b = tokensData.semantic,
3303
3382
  base$9 = tokensData.base;
3304
3383
  var slideUp = styled.keyframes(templateObject_1$p || (templateObject_1$p = __makeTemplateObject(["\n from {\n transform: translateY(100%);\n }\n to {\n transform: translateY(0);\n }\n"], ["\n from {\n transform: translateY(100%);\n }\n to {\n transform: translateY(0);\n }\n"])));
@@ -3318,15 +3397,15 @@ var StyledHeader$1 = styled.div.withConfig({
3318
3397
  var StyledHeaderContent = styled.div.withConfig({
3319
3398
  displayName: "ActionSheet__StyledHeaderContent",
3320
3399
  componentId: "sc-regbol-3"
3321
- })(templateObject_6$a || (templateObject_6$a = __makeTemplateObject(["\n flex: 1;\n"], ["\n flex: 1;\n"])));
3400
+ })(templateObject_6$9 || (templateObject_6$9 = __makeTemplateObject(["\n flex: 1;\n"], ["\n flex: 1;\n"])));
3322
3401
  var StyledCloseButton = styled.button.withConfig({
3323
3402
  displayName: "ActionSheet__StyledCloseButton",
3324
3403
  componentId: "sc-regbol-4"
3325
- })(templateObject_7$8 || (templateObject_7$8 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n padding: ", ";\n border: none;\n background: transparent;\n color: ", ";\n cursor: pointer;\n border-radius: ", ";\n transition: ", ";\n margin-left: ", ";\n \n &:hover {\n color: ", ";\n background-color: ", ";\n }\n \n &:focus-visible {\n outline: ", " solid ", ";\n outline-offset: ", ";\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n padding: ", ";\n border: none;\n background: transparent;\n color: ", ";\n cursor: pointer;\n border-radius: ", ";\n transition: ", ";\n margin-left: ", ";\n \n &:hover {\n color: ", ";\n background-color: ", ";\n }\n \n &:focus-visible {\n outline: ", " solid ", ";\n outline-offset: ", ";\n }\n"])), base$9.spacing[2], semantic$b.color.icon.subdued, base$9.border.radius[2], semantic$b.motion.hover, base$9.spacing[2], semantic$b.color.icon["default"], semantic$b.color.background.surface, base$9.border.width[2], semantic$b.color.border.strong, base$9.spacing[1]);
3404
+ })(templateObject_7$7 || (templateObject_7$7 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n padding: ", ";\n border: none;\n background: transparent;\n color: ", ";\n cursor: pointer;\n border-radius: ", ";\n transition: ", ";\n margin-left: ", ";\n \n &:hover {\n color: ", ";\n background-color: ", ";\n }\n \n &:focus-visible {\n outline: ", " solid ", ";\n outline-offset: ", ";\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n padding: ", ";\n border: none;\n background: transparent;\n color: ", ";\n cursor: pointer;\n border-radius: ", ";\n transition: ", ";\n margin-left: ", ";\n \n &:hover {\n color: ", ";\n background-color: ", ";\n }\n \n &:focus-visible {\n outline: ", " solid ", ";\n outline-offset: ", ";\n }\n"])), base$9.spacing[2], semantic$b.color.icon.subdued, base$9.border.radius[2], semantic$b.motion.hover, base$9.spacing[2], semantic$b.color.icon["default"], semantic$b.color.background.surface, base$9.border.width[2], semantic$b.color.border.strong, base$9.spacing[1]);
3326
3405
  var StyledActionsList = styled.div.withConfig({
3327
3406
  displayName: "ActionSheet__StyledActionsList",
3328
3407
  componentId: "sc-regbol-5"
3329
- })(templateObject_8$5 || (templateObject_8$5 = __makeTemplateObject(["\n padding: ", " 0;\n"], ["\n padding: ", " 0;\n"])), base$9.spacing[2]);
3408
+ })(templateObject_8$4 || (templateObject_8$4 = __makeTemplateObject(["\n padding: ", " 0;\n"], ["\n padding: ", " 0;\n"])), base$9.spacing[2]);
3330
3409
  var StyledActionButton = styled.button.withConfig({
3331
3410
  displayName: "ActionSheet__StyledActionButton",
3332
3411
  componentId: "sc-regbol-6"
@@ -3484,59 +3563,75 @@ var ActionSheet = function ActionSheet(_a) {
3484
3563
  return a.destructive;
3485
3564
  });
3486
3565
  var hasDestructive = destructiveIndex >= 0;
3487
- return /*#__PURE__*/reactDom.createPortal(/*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(StyledOverlay$1, {
3488
- onClick: handleOverlayClick
3489
- }), /*#__PURE__*/React.createElement(StyledActionSheet, {
3490
- ref: sheetRef,
3491
- role: "dialog",
3492
- "aria-modal": "true",
3493
- "aria-labelledby": title ? 'action-sheet-title' : undefined,
3494
- "aria-describedby": description ? 'action-sheet-description' : undefined,
3495
- "data-testid": dataTestId
3496
- }, (title || description || showCloseButton) && /*#__PURE__*/React.createElement(StyledHeader$1, null, /*#__PURE__*/React.createElement(StyledHeaderContent, null, /*#__PURE__*/React.createElement(Stack, {
3497
- direction: "column",
3498
- gap: description && title ? 'xs' : 'none'
3499
- }, title && /*#__PURE__*/React.createElement("div", {
3500
- id: "action-sheet-title"
3501
- }, /*#__PURE__*/React.createElement(Typography, {
3502
- variant: "h3"
3503
- }, title)), description && /*#__PURE__*/React.createElement("div", {
3504
- id: "action-sheet-description"
3505
- }, /*#__PURE__*/React.createElement(Typography, {
3506
- variant: "body",
3507
- color: "subdued"
3508
- }, description)))), showCloseButton && /*#__PURE__*/React.createElement(StyledCloseButton, {
3509
- type: "button",
3510
- onClick: onClose,
3511
- "aria-label": "Close"
3512
- }, /*#__PURE__*/React.createElement(Icon, {
3513
- name: "close",
3514
- size: "sm",
3515
- iconColor: "subdued"
3516
- }))), /*#__PURE__*/React.createElement(StyledActionsList, null, actions.map(function (action, index) {
3517
- return /*#__PURE__*/React.createElement("div", {
3518
- key: action.id
3519
- }, hasDestructive && index === destructiveIndex && index > 0 && /*#__PURE__*/React.createElement(StyledDivider, null), /*#__PURE__*/React.createElement(StyledActionButton, {
3520
- type: "button",
3521
- onClick: function onClick() {
3522
- return handleActionClick(action);
3523
- },
3524
- disabled: action.disabled,
3525
- $destructive: action.destructive || false,
3526
- $disabled: action.disabled || false,
3527
- "aria-label": action.label
3528
- }, action.icon && /*#__PURE__*/React.createElement(Icon, {
3529
- name: action.icon,
3530
- size: "md",
3531
- iconColor: action.disabled ? 'disabled' : action.destructive ? 'error' : 'default'
3532
- }), /*#__PURE__*/React.createElement(Typography, {
3533
- variant: "body"
3534
- }, action.label)));
3535
- })))), document.body);
3566
+ return /*#__PURE__*/reactDom.createPortal(jsxRuntime.jsxs(jsxRuntime.Fragment, {
3567
+ children: [jsxRuntime.jsx(StyledOverlay$1, {
3568
+ onClick: handleOverlayClick
3569
+ }), jsxRuntime.jsxs(StyledActionSheet, {
3570
+ ref: sheetRef,
3571
+ role: "dialog",
3572
+ "aria-modal": "true",
3573
+ "aria-labelledby": title ? 'action-sheet-title' : undefined,
3574
+ "aria-describedby": description ? 'action-sheet-description' : undefined,
3575
+ "data-testid": dataTestId,
3576
+ children: [(title || description || showCloseButton) && jsxRuntime.jsxs(StyledHeader$1, {
3577
+ children: [jsxRuntime.jsx(StyledHeaderContent, {
3578
+ children: jsxRuntime.jsxs(Stack, {
3579
+ direction: "column",
3580
+ gap: description && title ? 'xs' : 'none',
3581
+ children: [title && jsxRuntime.jsx("div", {
3582
+ id: "action-sheet-title",
3583
+ children: jsxRuntime.jsx(Typography, {
3584
+ variant: "h3",
3585
+ children: title
3586
+ })
3587
+ }), description && jsxRuntime.jsx("div", {
3588
+ id: "action-sheet-description",
3589
+ children: jsxRuntime.jsx(Typography, {
3590
+ variant: "body",
3591
+ color: "subdued",
3592
+ children: description
3593
+ })
3594
+ })]
3595
+ })
3596
+ }), showCloseButton && jsxRuntime.jsx(StyledCloseButton, {
3597
+ type: "button",
3598
+ onClick: onClose,
3599
+ "aria-label": "Close",
3600
+ children: jsxRuntime.jsx(Icon, {
3601
+ name: "close",
3602
+ size: "sm",
3603
+ iconColor: "subdued"
3604
+ })
3605
+ })]
3606
+ }), jsxRuntime.jsx(StyledActionsList, {
3607
+ children: actions.map(function (action, index) {
3608
+ return jsxRuntime.jsxs("div", {
3609
+ children: [hasDestructive && index === destructiveIndex && index > 0 && jsxRuntime.jsx(StyledDivider, {}), jsxRuntime.jsxs(StyledActionButton, {
3610
+ type: "button",
3611
+ onClick: function onClick() {
3612
+ return handleActionClick(action);
3613
+ },
3614
+ disabled: action.disabled,
3615
+ "$destructive": action.destructive || false,
3616
+ "$disabled": action.disabled || false,
3617
+ "aria-label": action.label,
3618
+ children: [action.icon && jsxRuntime.jsx(Icon, {
3619
+ name: action.icon,
3620
+ size: "md",
3621
+ iconColor: action.disabled ? 'disabled' : action.destructive ? 'error' : 'default'
3622
+ }), jsxRuntime.jsx(Typography, {
3623
+ variant: "body",
3624
+ children: action.label
3625
+ })]
3626
+ })]
3627
+ }, action.id);
3628
+ })
3629
+ })]
3630
+ })]
3631
+ }), document.body);
3536
3632
  };
3537
- var templateObject_1$p, templateObject_2$k, templateObject_3$h, templateObject_4$e, templateObject_5$b, templateObject_6$a, templateObject_7$8, templateObject_8$5, templateObject_9$3, templateObject_10$2;
3633
+ var templateObject_1$p, templateObject_2$k, templateObject_3$h, templateObject_4$e, templateObject_5$b, templateObject_6$9, templateObject_7$7, templateObject_8$4, templateObject_9$3, templateObject_10$2;
3538
3634
 
3539
- React.createElement;
3540
3635
  var semantic$a = tokensData.semantic,
3541
3636
  base$8 = tokensData.base;
3542
3637
  // Default icons by variant
@@ -3611,11 +3706,11 @@ var StyledMessage = styled.span.withConfig({
3611
3706
  var StyledActions = styled.div.withConfig({
3612
3707
  displayName: "Alert__StyledActions",
3613
3708
  componentId: "sc-18tq5d-5"
3614
- })(templateObject_6$9 || (templateObject_6$9 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: ", ";\n flex-shrink: 0;\n margin-left: auto;\n"], ["\n display: flex;\n align-items: center;\n gap: ", ";\n flex-shrink: 0;\n margin-left: auto;\n"])), semantic$a.spacing.layout.sm);
3709
+ })(templateObject_6$8 || (templateObject_6$8 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: ", ";\n flex-shrink: 0;\n margin-left: auto;\n"], ["\n display: flex;\n align-items: center;\n gap: ", ";\n flex-shrink: 0;\n margin-left: auto;\n"])), semantic$a.spacing.layout.sm);
3615
3710
  var StyledDismissButton = styled(IconButton).withConfig({
3616
3711
  displayName: "Alert__StyledDismissButton",
3617
3712
  componentId: "sc-18tq5d-6"
3618
- })(templateObject_7$7 || (templateObject_7$7 = __makeTemplateObject(["\n margin-left: ", ";\n\tposition: absolute;\n\tright: 8px;\n\ttop: 10px;\n"], ["\n margin-left: ", ";\n\tposition: absolute;\n\tright: 8px;\n\ttop: 10px;\n"])), semantic$a.spacing.layout.xs);
3713
+ })(templateObject_7$6 || (templateObject_7$6 = __makeTemplateObject(["\n margin-left: ", ";\n\tposition: absolute;\n\tright: 8px;\n\ttop: 10px;\n"], ["\n margin-left: ", ";\n\tposition: absolute;\n\tright: 8px;\n\ttop: 10px;\n"])), semantic$a.spacing.layout.xs);
3619
3714
  var Alert = function Alert(_a) {
3620
3715
  var _b = _a.variant,
3621
3716
  variant = _b === void 0 ? 'info' : _b,
@@ -3647,35 +3742,44 @@ var Alert = function Alert(_a) {
3647
3742
  var alertTitleColor = variantTitleColors[variant];
3648
3743
  // Determine ARIA role based on variant and aria-live
3649
3744
  var role = variant === 'error' ? 'alert' : 'status';
3650
- return /*#__PURE__*/React.createElement(StyledAlert, _extends({
3745
+ return jsxRuntime.jsxs(StyledAlert, __assign({
3651
3746
  role: role,
3652
3747
  "aria-live": ariaLive,
3653
- $variant: variant,
3654
- $inline: inline,
3748
+ "$variant": variant,
3749
+ "$inline": inline,
3655
3750
  "data-testid": dataTestId
3656
- }, props), /*#__PURE__*/React.createElement(StyledIconContainer$1, {
3657
- "aria-hidden": "true"
3658
- }, /*#__PURE__*/React.createElement(Icon, {
3659
- name: iconName,
3660
- size: "md",
3661
- iconColor: alertIconColor
3662
- })), /*#__PURE__*/React.createElement(StyledContent$1, null, title && /*#__PURE__*/React.createElement(StyledTitle, {
3663
- role: "heading",
3664
- "aria-level": 6,
3665
- color: alertTitleColor
3666
- }, title), /*#__PURE__*/React.createElement(StyledMessage, null, children)), (action || dismissible) && /*#__PURE__*/React.createElement(StyledActions, null, action, dismissible && /*#__PURE__*/React.createElement(StyledDismissButton, {
3667
- iconName: "close",
3668
- size: "small",
3669
- variant: "naked",
3670
- onClick: handleDismiss,
3671
- "aria-label": "Dismiss alert",
3672
- "data-testid": dataTestId ? "".concat(dataTestId, "-dismiss") : undefined
3673
- })));
3751
+ }, props, {
3752
+ children: [jsxRuntime.jsx(StyledIconContainer$1, {
3753
+ "aria-hidden": "true",
3754
+ children: jsxRuntime.jsx(Icon, {
3755
+ name: iconName,
3756
+ size: "md",
3757
+ iconColor: alertIconColor
3758
+ })
3759
+ }), jsxRuntime.jsxs(StyledContent$1, {
3760
+ children: [title && jsxRuntime.jsx(StyledTitle, {
3761
+ role: "heading",
3762
+ "aria-level": 6,
3763
+ color: alertTitleColor,
3764
+ children: title
3765
+ }), jsxRuntime.jsx(StyledMessage, {
3766
+ children: children
3767
+ })]
3768
+ }), (action || dismissible) && jsxRuntime.jsxs(StyledActions, {
3769
+ children: [action, dismissible && jsxRuntime.jsx(StyledDismissButton, {
3770
+ iconName: "close",
3771
+ size: "small",
3772
+ variant: "naked",
3773
+ onClick: handleDismiss,
3774
+ "aria-label": "Dismiss alert",
3775
+ "data-testid": dataTestId ? "".concat(dataTestId, "-dismiss") : undefined
3776
+ })]
3777
+ })]
3778
+ }));
3674
3779
  };
3675
3780
  Alert.displayName = 'Alert';
3676
- var templateObject_1$o, templateObject_2$j, templateObject_3$g, templateObject_4$d, templateObject_5$a, templateObject_6$9, templateObject_7$7;
3781
+ var templateObject_1$o, templateObject_2$j, templateObject_3$g, templateObject_4$d, templateObject_5$a, templateObject_6$8, templateObject_7$6;
3677
3782
 
3678
- React.createElement;
3679
3783
  var _a$3, _b$1, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
3680
3784
  var BreadcrumbNavStyled = styled.nav.withConfig({
3681
3785
  displayName: "Breadcrumbs__BreadcrumbNavStyled",
@@ -3691,30 +3795,40 @@ var isInternalUrl = function isInternalUrl(url) {
3691
3795
  var Breadcrumbs = function Breadcrumbs(_a) {
3692
3796
  var breadcrumbs = _a.breadcrumbs,
3693
3797
  LinkComponent = _a.linkComponent;
3694
- return /*#__PURE__*/React.createElement(Container, null, /*#__PURE__*/React.createElement(BreadcrumbNavStyled, {
3695
- "aria-label": "breadcrumb"
3696
- }, /*#__PURE__*/React.createElement("ol", null, breadcrumbs.map(function (breadcrumb, index) {
3697
- return /*#__PURE__*/React.createElement(BreadcrumbStyled, {
3698
- key: index
3699
- }, index === breadcrumbs.length - 1 ? /*#__PURE__*/React.createElement(Typography, {
3700
- variant: "caption"
3701
- }, breadcrumb.label) : LinkComponent && isInternalUrl(breadcrumb.url) ? /*#__PURE__*/React.createElement(LinkComponent, {
3702
- href: breadcrumb.url
3703
- }, /*#__PURE__*/React.createElement(Typography, {
3704
- variant: "caption"
3705
- }, breadcrumb.label)) : /*#__PURE__*/React.createElement("a", _extends({
3706
- href: breadcrumb.url
3707
- }, !isInternalUrl(breadcrumb.url) && {
3708
- target: "_blank",
3709
- rel: "noopener noreferrer"
3710
- }), /*#__PURE__*/React.createElement(Typography, {
3711
- variant: "caption"
3712
- }, breadcrumb.label)));
3713
- }))));
3798
+ return jsxRuntime.jsx(Container, {
3799
+ children: jsxRuntime.jsx(BreadcrumbNavStyled, {
3800
+ "aria-label": "breadcrumb",
3801
+ children: jsxRuntime.jsx("ol", {
3802
+ children: breadcrumbs.map(function (breadcrumb, index) {
3803
+ return jsxRuntime.jsx(BreadcrumbStyled, {
3804
+ children: index === breadcrumbs.length - 1 ? jsxRuntime.jsx(Typography, {
3805
+ variant: "caption",
3806
+ children: breadcrumb.label
3807
+ }) : LinkComponent && isInternalUrl(breadcrumb.url) ? jsxRuntime.jsx(LinkComponent, {
3808
+ href: breadcrumb.url,
3809
+ children: jsxRuntime.jsx(Typography, {
3810
+ variant: "caption",
3811
+ children: breadcrumb.label
3812
+ })
3813
+ }) : jsxRuntime.jsx("a", __assign({
3814
+ href: breadcrumb.url
3815
+ }, !isInternalUrl(breadcrumb.url) && {
3816
+ target: "_blank",
3817
+ rel: "noopener noreferrer"
3818
+ }, {
3819
+ children: jsxRuntime.jsx(Typography, {
3820
+ variant: "caption",
3821
+ children: breadcrumb.label
3822
+ })
3823
+ }))
3824
+ }, index);
3825
+ })
3826
+ })
3827
+ })
3828
+ });
3714
3829
  };
3715
3830
  var templateObject_1$n, templateObject_2$i;
3716
3831
 
3717
- React.createElement;
3718
3832
  var CardSmallStyled = styled.div.withConfig({
3719
3833
  displayName: "CardSmall__CardSmallStyled",
3720
3834
  componentId: "sc-jpcqvd-0"
@@ -3729,40 +3843,49 @@ var CardSmall = function CardSmall(_a) {
3729
3843
  if (!picture || !meta) {
3730
3844
  return null;
3731
3845
  }
3732
- var content = /*#__PURE__*/React.createElement(Stack, {
3733
- direction: "column",
3734
- gap: "sm"
3735
- }, /*#__PURE__*/React.createElement(Picture, {
3736
- title: title,
3737
- src: picture,
3738
- width: 300,
3739
- height: 300
3740
- }), /*#__PURE__*/React.createElement(Stack, {
3846
+ var content = jsxRuntime.jsxs(Stack, {
3741
3847
  direction: "column",
3742
- gap: "xs"
3743
- }, /*#__PURE__*/React.createElement(Typography, {
3744
- variant: "small"
3745
- }, title), /*#__PURE__*/React.createElement(Stack, {
3746
- direction: "column",
3747
- gap: "none"
3748
- }, subtitle && /*#__PURE__*/React.createElement(Typography, {
3749
- variant: "label",
3750
- color: "subdued"
3751
- }, subtitle), meta && /*#__PURE__*/React.createElement(Typography, {
3752
- variant: "label",
3753
- color: "subdued"
3754
- }, meta))));
3755
- return /*#__PURE__*/React.createElement(CardSmallStyled, null, LinkComponent && href ? /*#__PURE__*/React.createElement(LinkComponent, {
3756
- href: href,
3757
- "aria-label": title
3758
- }, content) : /*#__PURE__*/React.createElement("a", {
3759
- href: href || '#',
3760
- "aria-label": title
3761
- }, content));
3848
+ gap: 'sm',
3849
+ children: [jsxRuntime.jsx(Picture, {
3850
+ title: title,
3851
+ src: picture,
3852
+ width: 300,
3853
+ height: 300
3854
+ }), jsxRuntime.jsxs(Stack, {
3855
+ direction: "column",
3856
+ gap: 'xs',
3857
+ children: [jsxRuntime.jsx(Typography, {
3858
+ variant: "small",
3859
+ children: title
3860
+ }), jsxRuntime.jsxs(Stack, {
3861
+ direction: "column",
3862
+ gap: 'none',
3863
+ children: [subtitle && jsxRuntime.jsx(Typography, {
3864
+ variant: "label",
3865
+ color: "subdued",
3866
+ children: subtitle
3867
+ }), meta && jsxRuntime.jsx(Typography, {
3868
+ variant: "label",
3869
+ color: "subdued",
3870
+ children: meta
3871
+ })]
3872
+ })]
3873
+ })]
3874
+ });
3875
+ return jsxRuntime.jsx(CardSmallStyled, {
3876
+ children: LinkComponent && href ? jsxRuntime.jsx(LinkComponent, {
3877
+ href: href,
3878
+ "aria-label": title,
3879
+ children: content
3880
+ }) : jsxRuntime.jsx("a", {
3881
+ href: href || '#',
3882
+ "aria-label": title,
3883
+ children: content
3884
+ })
3885
+ });
3762
3886
  };
3763
3887
  var templateObject_1$m;
3764
3888
 
3765
- React.createElement;
3766
3889
  var border$3 = tokensData.base.border;
3767
3890
  var CardLargeStyled = styled.div.withConfig({
3768
3891
  displayName: "CardLarge__CardLargeStyled",
@@ -3777,40 +3900,48 @@ var CardLarge = function CardLarge(_a) {
3777
3900
  picture = _a.picture,
3778
3901
  onImageClick = _a.onImageClick,
3779
3902
  imageHref = _a.imageHref;
3780
- return /*#__PURE__*/React.createElement(CardLargeStyled, null, /*#__PURE__*/React.createElement(Stack, {
3781
- direction: "column",
3782
- gap: "md"
3783
- }, /*#__PURE__*/React.createElement(Picture, {
3784
- title: title,
3785
- src: picture,
3786
- onClick: onImageClick,
3787
- href: imageHref
3788
- }), /*#__PURE__*/React.createElement(Stack, {
3789
- direction: "row",
3790
- alignItems: "flex-start",
3791
- justifyContent: "space-between",
3792
- gap: "xs"
3793
- }, /*#__PURE__*/React.createElement(Stack, {
3794
- direction: "column",
3795
- gap: "xs"
3796
- }, /*#__PURE__*/React.createElement(Typography, {
3797
- variant: "h5"
3798
- }, title), subtitle && /*#__PURE__*/React.createElement(Typography, {
3799
- variant: "small",
3800
- color: "subdued"
3801
- }, subtitle), excerpt && /*#__PURE__*/React.createElement(Typography, {
3802
- variant: "body"
3803
- }, excerpt)), /*#__PURE__*/React.createElement(Stack, {
3804
- direction: "row",
3805
- alignItems: "center",
3806
- gap: "xs"
3807
- }, Array.isArray(labels) && labels.map(function (label, index) {
3808
- return /*#__PURE__*/React.createElement(Chip, {
3809
- key: index,
3810
- title: label,
3811
- variant: "default"
3812
- });
3813
- })))));
3903
+ return jsxRuntime.jsx(CardLargeStyled, {
3904
+ children: jsxRuntime.jsxs(Stack, {
3905
+ direction: "column",
3906
+ gap: "md",
3907
+ children: [jsxRuntime.jsx(Picture, {
3908
+ title: title,
3909
+ src: picture,
3910
+ onClick: onImageClick,
3911
+ href: imageHref
3912
+ }), jsxRuntime.jsxs(Stack, {
3913
+ direction: "row",
3914
+ alignItems: "flex-start",
3915
+ justifyContent: "space-between",
3916
+ gap: "xs",
3917
+ children: [jsxRuntime.jsxs(Stack, {
3918
+ direction: "column",
3919
+ gap: "xs",
3920
+ children: [jsxRuntime.jsx(Typography, {
3921
+ variant: "h5",
3922
+ children: title
3923
+ }), subtitle && jsxRuntime.jsx(Typography, {
3924
+ variant: "small",
3925
+ color: "subdued",
3926
+ children: subtitle
3927
+ }), excerpt && jsxRuntime.jsx(Typography, {
3928
+ variant: "body",
3929
+ children: excerpt
3930
+ })]
3931
+ }), jsxRuntime.jsx(Stack, {
3932
+ direction: "row",
3933
+ alignItems: "center",
3934
+ gap: "xs",
3935
+ children: Array.isArray(labels) && labels.map(function (label, index) {
3936
+ return jsxRuntime.jsx(Chip, {
3937
+ title: label,
3938
+ variant: "default"
3939
+ }, index);
3940
+ })
3941
+ })]
3942
+ })]
3943
+ })
3944
+ });
3814
3945
  };
3815
3946
  var templateObject_1$l;
3816
3947
 
@@ -3896,7 +4027,6 @@ var StyledCheckboxLabel = styled.span.withConfig({
3896
4027
  });
3897
4028
  var templateObject_1$k, templateObject_2$h, templateObject_3$f, templateObject_4$c;
3898
4029
 
3899
- React.createElement;
3900
4030
  var StyledFieldContainer$3 = styled.div.withConfig({
3901
4031
  displayName: "Checkbox__StyledFieldContainer",
3902
4032
  componentId: "sc-vquz3v-0"
@@ -3985,41 +4115,46 @@ var Checkbox = /*#__PURE__*/React.forwardRef(function (_a, ref) {
3985
4115
  inputRef.current.indeterminate = indeterminate;
3986
4116
  }
3987
4117
  }, [indeterminate]);
3988
- return /*#__PURE__*/React.createElement(StyledFieldContainer$3, null, /*#__PURE__*/React.createElement(StyledCheckboxContainer, {
3989
- $disabled: disabled,
3990
- $labelPosition: labelPosition
3991
- }, /*#__PURE__*/React.createElement(HiddenCheckboxInput, _extends({
3992
- ref: inputRef,
3993
- type: "checkbox",
3994
- id: id,
3995
- checked: checked,
3996
- disabled: disabled,
3997
- onChange: onChange,
3998
- "aria-describedby": describedBy || undefined,
3999
- "aria-invalid": error ? true : undefined,
4000
- $state: state,
4001
- $checked: checked,
4002
- $indeterminate: indeterminate
4003
- }, rest)), /*#__PURE__*/React.createElement(StyledCheckbox, {
4004
- $state: state,
4005
- $checked: checked,
4006
- $indeterminate: indeterminate,
4007
- "aria-hidden": "true"
4008
- }), /*#__PURE__*/React.createElement(StyledCheckboxLabel, {
4009
- $disabled: disabled
4010
- }, label)), helperText && !error && /*#__PURE__*/React.createElement(StyledHelperText$4, {
4011
- id: helperTextId
4012
- }, helperText), error && /*#__PURE__*/React.createElement(StyledHelperText$4, {
4013
- id: errorId,
4014
- $error: true,
4015
- role: "alert",
4016
- "aria-live": "polite"
4017
- }, error));
4118
+ return jsxRuntime.jsxs(StyledFieldContainer$3, {
4119
+ children: [jsxRuntime.jsxs(StyledCheckboxContainer, {
4120
+ "$disabled": disabled,
4121
+ "$labelPosition": labelPosition,
4122
+ children: [jsxRuntime.jsx(HiddenCheckboxInput, __assign({
4123
+ ref: inputRef,
4124
+ type: "checkbox",
4125
+ id: id,
4126
+ checked: checked,
4127
+ disabled: disabled,
4128
+ onChange: onChange,
4129
+ "aria-describedby": describedBy || undefined,
4130
+ "aria-invalid": error ? true : undefined,
4131
+ "$state": state,
4132
+ "$checked": checked,
4133
+ "$indeterminate": indeterminate
4134
+ }, rest)), jsxRuntime.jsx(StyledCheckbox, {
4135
+ "$state": state,
4136
+ "$checked": checked,
4137
+ "$indeterminate": indeterminate,
4138
+ "aria-hidden": "true"
4139
+ }), jsxRuntime.jsx(StyledCheckboxLabel, {
4140
+ "$disabled": disabled,
4141
+ children: label
4142
+ })]
4143
+ }), helperText && !error && jsxRuntime.jsx(StyledHelperText$4, {
4144
+ id: helperTextId,
4145
+ children: helperText
4146
+ }), error && jsxRuntime.jsx(StyledHelperText$4, {
4147
+ id: errorId,
4148
+ "$error": true,
4149
+ role: "alert",
4150
+ "aria-live": "polite",
4151
+ children: error
4152
+ })]
4153
+ });
4018
4154
  });
4019
4155
  Checkbox.displayName = 'Checkbox';
4020
4156
  var templateObject_1$j, templateObject_2$g;
4021
4157
 
4022
- React.createElement;
4023
4158
  var ChipGroupWrapper = styled.div.withConfig({
4024
4159
  displayName: "ChipGroup__ChipGroupWrapper",
4025
4160
  componentId: "sc-ae049w-0"
@@ -4029,22 +4164,22 @@ var ChipGroup = function ChipGroup(_a) {
4029
4164
  _b = _a.variant,
4030
4165
  variant = _b === void 0 ? 'default' : _b,
4031
4166
  dataTestId = _a["data-testid"];
4032
- return /*#__PURE__*/React.createElement(ChipGroupWrapper, {
4033
- "data-testid": dataTestId
4034
- }, /*#__PURE__*/React.createElement(Stack, {
4035
- direction: "row",
4036
- gap: "sm"
4037
- }, labels && labels.map(function (title, index) {
4038
- return /*#__PURE__*/React.createElement(Chip, {
4039
- key: index,
4040
- title: title,
4041
- variant: variant
4042
- });
4043
- })));
4167
+ return jsxRuntime.jsx(ChipGroupWrapper, {
4168
+ "data-testid": dataTestId,
4169
+ children: jsxRuntime.jsx(Stack, {
4170
+ direction: "row",
4171
+ gap: "sm",
4172
+ children: labels && labels.map(function (title, index) {
4173
+ return jsxRuntime.jsx(Chip, {
4174
+ title: title,
4175
+ variant: variant
4176
+ }, index);
4177
+ })
4178
+ })
4179
+ });
4044
4180
  };
4045
4181
  var templateObject_1$i;
4046
4182
 
4047
- React.createElement;
4048
4183
  var _a$2 = tokensData.semantic,
4049
4184
  color$1 = _a$2.color,
4050
4185
  border$2 = _a$2.border,
@@ -4108,13 +4243,16 @@ var CopyButton = function CopyButton(_a) {
4108
4243
  }
4109
4244
  };
4110
4245
  }, []);
4111
- return /*#__PURE__*/React.createElement(CopyButtonWrapper, null, /*#__PURE__*/React.createElement(Button, {
4112
- variant: "secondary",
4113
- size: "small",
4114
- iconName: "copy",
4115
- onClick: handleCopy,
4116
- "data-testid": "copy-button"
4117
- }, copied ? 'Copied!' : 'Copy'));
4246
+ return jsxRuntime.jsx(CopyButtonWrapper, {
4247
+ children: jsxRuntime.jsx(Button, {
4248
+ variant: "secondary",
4249
+ size: "small",
4250
+ iconName: "copy",
4251
+ onClick: handleCopy,
4252
+ "data-testid": "copy-button",
4253
+ children: copied ? 'Copied!' : 'Copy'
4254
+ })
4255
+ });
4118
4256
  };
4119
4257
  /**
4120
4258
  * CodeBlock component for displaying formatted code with optional copy functionality
@@ -4130,16 +4268,18 @@ var CodeBlock = function CodeBlock(_a) {
4130
4268
  showCopyButton = _b === void 0 ? true : _b,
4131
4269
  onCopy = _a.onCopy,
4132
4270
  testId = _a["data-testid"];
4133
- return /*#__PURE__*/React.createElement(CodeBlockWrapper, null, /*#__PURE__*/React.createElement(StyledCodeBlock, {
4134
- "data-testid": testId
4135
- }, children), showCopyButton && /*#__PURE__*/React.createElement(CopyButton, {
4136
- text: children,
4137
- onCopy: onCopy
4138
- }));
4271
+ return jsxRuntime.jsxs(CodeBlockWrapper, {
4272
+ children: [jsxRuntime.jsx(StyledCodeBlock, {
4273
+ "data-testid": testId,
4274
+ children: children
4275
+ }), showCopyButton && jsxRuntime.jsx(CopyButton, {
4276
+ text: children,
4277
+ onCopy: onCopy
4278
+ })]
4279
+ });
4139
4280
  };
4140
4281
  var templateObject_1$h, templateObject_2$f, templateObject_3$e;
4141
4282
 
4142
- React.createElement;
4143
4283
  var StyledHeader = styled.div.withConfig({
4144
4284
  displayName: "DateGroup__StyledHeader",
4145
4285
  componentId: "sc-9nfm1f-0"
@@ -4195,36 +4335,43 @@ var DateGroup = function DateGroup(_a) {
4195
4335
  dataTestId = _a["data-testid"];
4196
4336
  // Determine total variant based on amount (positive = income, negative = expense)
4197
4337
  var totalVariant = totalAmount && totalAmount !== 0 ? totalAmount > 0 ? 'positive' : 'negative' : 'default';
4198
- return /*#__PURE__*/React.createElement("div", {
4338
+ return jsxRuntime.jsxs("div", {
4199
4339
  "data-testid": dataTestId,
4200
4340
  role: "group",
4201
- "aria-label": "Transactions for ".concat(date)
4202
- }, /*#__PURE__*/React.createElement(StyledHeader, {
4203
- $sticky: sticky,
4204
- "data-testid": dataTestId ? "".concat(dataTestId, "-header") : undefined
4205
- }, /*#__PURE__*/React.createElement(StyledLeftSection, null, /*#__PURE__*/React.createElement(DateFormatter, {
4206
- dateString: typeof date === 'string' ? date : date.toISOString(),
4207
- mode: format,
4208
- "data-testid": dataTestId ? "".concat(dataTestId, "-date") : undefined
4209
- }), showCount && count !== undefined && /*#__PURE__*/React.createElement(Typography, {
4210
- variant: "caption",
4211
- color: "subdued",
4212
- "data-testid": dataTestId ? "".concat(dataTestId, "-count") : undefined
4213
- }, "(", count, " ", count === 1 ? 'item' : 'items', ")")), /*#__PURE__*/React.createElement(StyledRightSection, null, showTotal && totalAmount !== undefined && /*#__PURE__*/React.createElement(MoneyDisplay, {
4214
- amount: totalAmount,
4215
- currency: currency,
4216
- variant: totalVariant,
4217
- size: "small",
4218
- weight: "medium",
4219
- showSign: true,
4220
- "data-testid": dataTestId ? "".concat(dataTestId, "-total") : undefined
4221
- }))), /*#__PURE__*/React.createElement(StyledContent, {
4222
- "data-testid": dataTestId ? "".concat(dataTestId, "-content") : undefined
4223
- }, children));
4341
+ "aria-label": "Transactions for ".concat(date),
4342
+ children: [jsxRuntime.jsxs(StyledHeader, {
4343
+ "$sticky": sticky,
4344
+ "data-testid": dataTestId ? "".concat(dataTestId, "-header") : undefined,
4345
+ children: [jsxRuntime.jsxs(StyledLeftSection, {
4346
+ children: [jsxRuntime.jsx(DateFormatter, {
4347
+ dateString: typeof date === 'string' ? date : date.toISOString(),
4348
+ mode: format,
4349
+ "data-testid": dataTestId ? "".concat(dataTestId, "-date") : undefined
4350
+ }), showCount && count !== undefined && jsxRuntime.jsxs(Typography, {
4351
+ variant: "caption",
4352
+ color: "subdued",
4353
+ "data-testid": dataTestId ? "".concat(dataTestId, "-count") : undefined,
4354
+ children: ["(", count, " ", count === 1 ? 'item' : 'items', ")"]
4355
+ })]
4356
+ }), jsxRuntime.jsx(StyledRightSection, {
4357
+ children: showTotal && totalAmount !== undefined && jsxRuntime.jsx(MoneyDisplay, {
4358
+ amount: totalAmount,
4359
+ currency: currency,
4360
+ variant: totalVariant,
4361
+ size: "small",
4362
+ weight: "medium",
4363
+ showSign: true,
4364
+ "data-testid": dataTestId ? "".concat(dataTestId, "-total") : undefined
4365
+ })
4366
+ })]
4367
+ }), jsxRuntime.jsx(StyledContent, {
4368
+ "data-testid": dataTestId ? "".concat(dataTestId, "-content") : undefined,
4369
+ children: children
4370
+ })]
4371
+ });
4224
4372
  };
4225
4373
  var templateObject_1$g, templateObject_2$e, templateObject_3$d, templateObject_4$b;
4226
4374
 
4227
- React.createElement;
4228
4375
  var semantic$9 = tokensData.semantic;
4229
4376
  var StyledContainer$1 = styled.div.withConfig({
4230
4377
  shouldForwardProp: function shouldForwardProp(prop) {
@@ -4287,53 +4434,63 @@ var EmptyState = function EmptyState(_a) {
4287
4434
  }
4288
4435
  if (illustration !== 'custom') {
4289
4436
  var iconName = illustrationToIcon[illustration];
4290
- return /*#__PURE__*/React.createElement(Icon, {
4437
+ return jsxRuntime.jsx(Icon, {
4291
4438
  name: iconName,
4292
4439
  size: "2xl"
4293
4440
  });
4294
4441
  }
4295
4442
  return null;
4296
4443
  };
4297
- return /*#__PURE__*/React.createElement(StyledContainer$1, {
4298
- $size: size,
4444
+ return jsxRuntime.jsxs(StyledContainer$1, {
4445
+ "$size": size,
4299
4446
  "data-testid": dataTestId,
4300
4447
  role: "status",
4301
- "aria-label": "Empty state: ".concat(title)
4302
- }, /*#__PURE__*/React.createElement(StyledIllustration, {
4303
- $size: size,
4304
- $variant: variant,
4305
- "aria-hidden": "true"
4306
- }, renderIllustration()), /*#__PURE__*/React.createElement(StyledTextContainer, null, /*#__PURE__*/React.createElement(Typography, {
4307
- variant: size === 'small' ? 'h4' : size === 'large' ? 'h2' : 'h3',
4308
- color: variant === 'error' ? 'error' : 'default',
4309
- as: size === 'small' ? 'h4' : size === 'large' ? 'h2' : 'h3'
4310
- }, title), /*#__PURE__*/React.createElement("div", {
4311
- style: {
4312
- marginTop: semantic$9.spacing.layout.md
4313
- }
4314
- }, /*#__PURE__*/React.createElement(Typography, {
4315
- variant: "body",
4316
- color: "subdued"
4317
- }, description))), (action || secondaryAction) && /*#__PURE__*/React.createElement(Box, {
4318
- width: "100%",
4319
- maxWidth: "300px"
4320
- }, /*#__PURE__*/React.createElement(Stack, {
4321
- direction: "column",
4322
- gap: "sm"
4323
- }, action && /*#__PURE__*/React.createElement(Button, {
4324
- variant: action.variant || 'primary',
4325
- onClick: action.onClick,
4326
- iconName: action.icon,
4327
- "data-testid": dataTestId ? "".concat(dataTestId, "-primary-action") : undefined
4328
- }, action.label), secondaryAction && /*#__PURE__*/React.createElement(Button, {
4329
- variant: "naked",
4330
- onClick: secondaryAction.onClick,
4331
- "data-testid": dataTestId ? "".concat(dataTestId, "-secondary-action") : undefined
4332
- }, secondaryAction.label))));
4448
+ "aria-label": "Empty state: ".concat(title),
4449
+ children: [jsxRuntime.jsx(StyledIllustration, {
4450
+ "$size": size,
4451
+ "$variant": variant,
4452
+ "aria-hidden": "true",
4453
+ children: renderIllustration()
4454
+ }), jsxRuntime.jsxs(StyledTextContainer, {
4455
+ children: [jsxRuntime.jsx(Typography, {
4456
+ variant: size === 'small' ? 'h4' : size === 'large' ? 'h2' : 'h3',
4457
+ color: variant === 'error' ? 'error' : 'default',
4458
+ as: size === 'small' ? 'h4' : size === 'large' ? 'h2' : 'h3',
4459
+ children: title
4460
+ }), jsxRuntime.jsx("div", {
4461
+ style: {
4462
+ marginTop: semantic$9.spacing.layout.md
4463
+ },
4464
+ children: jsxRuntime.jsx(Typography, {
4465
+ variant: "body",
4466
+ color: "subdued",
4467
+ children: description
4468
+ })
4469
+ })]
4470
+ }), (action || secondaryAction) && jsxRuntime.jsx(Box, {
4471
+ width: "100%",
4472
+ maxWidth: "300px",
4473
+ children: jsxRuntime.jsxs(Stack, {
4474
+ direction: "column",
4475
+ gap: "sm",
4476
+ children: [action && jsxRuntime.jsx(Button, {
4477
+ variant: action.variant || 'primary',
4478
+ onClick: action.onClick,
4479
+ iconName: action.icon,
4480
+ "data-testid": dataTestId ? "".concat(dataTestId, "-primary-action") : undefined,
4481
+ children: action.label
4482
+ }), secondaryAction && jsxRuntime.jsx(Button, {
4483
+ variant: "naked",
4484
+ onClick: secondaryAction.onClick,
4485
+ "data-testid": dataTestId ? "".concat(dataTestId, "-secondary-action") : undefined,
4486
+ children: secondaryAction.label
4487
+ })]
4488
+ })
4489
+ })]
4490
+ });
4333
4491
  };
4334
4492
  var templateObject_1$f, templateObject_2$d, templateObject_3$c;
4335
4493
 
4336
- React.createElement;
4337
4494
  var _a$1 = tokensData.base,
4338
4495
  spacing$1 = _a$1.spacing,
4339
4496
  border$1 = _a$1.border;
@@ -4368,37 +4525,53 @@ var FeatureBlock = function FeatureBlock(_a) {
4368
4525
  readMoreHref = _a.readMoreHref,
4369
4526
  _c = _a.readMoreText,
4370
4527
  readMoreText = _c === void 0 ? "Read more" : _c;
4371
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(FeatureBlockStyled, null, /*#__PURE__*/React.createElement(ImageWrapper, null, /*#__PURE__*/React.createElement(Picture, {
4372
- title: title,
4373
- src: coverImage
4374
- })), /*#__PURE__*/React.createElement(ContentSection, null, /*#__PURE__*/React.createElement(ContentWrapper, null, /*#__PURE__*/React.createElement(Stack, {
4375
- direction: "column",
4376
- gap: "md"
4377
- }, /*#__PURE__*/React.createElement(Typography, {
4378
- variant: "h3"
4379
- }, title), /*#__PURE__*/React.createElement(DateFormatter, {
4380
- dateString: date
4381
- }), /*#__PURE__*/React.createElement(Typography, {
4382
- variant: "small"
4383
- }, excerpt), /*#__PURE__*/React.createElement(Stack, {
4384
- direction: "row",
4385
- gap: "xs"
4386
- }, Array.isArray(labels) && labels.map(function (label, index) {
4387
- return /*#__PURE__*/React.createElement(Chip, {
4388
- key: index,
4389
- title: label,
4390
- variant: "default"
4391
- });
4392
- })), (onReadMore || readMoreHref) && /*#__PURE__*/React.createElement(ButtonWrapper, null, readMoreHref ? /*#__PURE__*/React.createElement(Button, {
4393
- purpose: "link",
4394
- url: readMoreHref
4395
- }, readMoreText) : /*#__PURE__*/React.createElement(Button, {
4396
- onClick: onReadMore
4397
- }, readMoreText)))))), /*#__PURE__*/React.createElement(Divider, null));
4528
+ return jsxRuntime.jsxs(jsxRuntime.Fragment, {
4529
+ children: [jsxRuntime.jsxs(FeatureBlockStyled, {
4530
+ children: [jsxRuntime.jsx(ImageWrapper, {
4531
+ children: jsxRuntime.jsx(Picture, {
4532
+ title: title,
4533
+ src: coverImage
4534
+ })
4535
+ }), jsxRuntime.jsx(ContentSection, {
4536
+ children: jsxRuntime.jsx(ContentWrapper, {
4537
+ children: jsxRuntime.jsxs(Stack, {
4538
+ direction: "column",
4539
+ gap: "md",
4540
+ children: [jsxRuntime.jsx(Typography, {
4541
+ variant: "h3",
4542
+ children: title
4543
+ }), jsxRuntime.jsx(DateFormatter, {
4544
+ dateString: date
4545
+ }), jsxRuntime.jsx(Typography, {
4546
+ variant: "small",
4547
+ children: excerpt
4548
+ }), jsxRuntime.jsx(Stack, {
4549
+ direction: "row",
4550
+ gap: "xs",
4551
+ children: Array.isArray(labels) && labels.map(function (label, index) {
4552
+ return jsxRuntime.jsx(Chip, {
4553
+ title: label,
4554
+ variant: "default"
4555
+ }, index);
4556
+ })
4557
+ }), (onReadMore || readMoreHref) && jsxRuntime.jsx(ButtonWrapper, {
4558
+ children: readMoreHref ? jsxRuntime.jsx(Button, {
4559
+ purpose: "link",
4560
+ url: readMoreHref,
4561
+ children: readMoreText
4562
+ }) : jsxRuntime.jsx(Button, {
4563
+ onClick: onReadMore,
4564
+ children: readMoreText
4565
+ })
4566
+ })]
4567
+ })
4568
+ })
4569
+ })]
4570
+ }), jsxRuntime.jsx(Divider, {})]
4571
+ });
4398
4572
  };
4399
4573
  var templateObject_1$e, templateObject_2$c, templateObject_3$b, templateObject_4$a, templateObject_5$9;
4400
4574
 
4401
- React.createElement;
4402
4575
  var _a = tokensData.base,
4403
4576
  spacing = _a.spacing,
4404
4577
  shadow = _a.shadow,
@@ -4474,7 +4647,7 @@ var DropdownOption = styled.button.withConfig({
4474
4647
  var StyledHelperText$3 = styled.div.withConfig({
4475
4648
  displayName: "Dropdown__StyledHelperText",
4476
4649
  componentId: "sc-kz07c4-5"
4477
- })(templateObject_6$8 || (templateObject_6$8 = __makeTemplateObject(["\n font: ", ";\n color: ", ";\n margin-top: ", ";\n"], ["\n font: ", ";\n color: ", ";\n margin-top: ", ";\n"])), typography.caption, function (_a) {
4650
+ })(templateObject_6$7 || (templateObject_6$7 = __makeTemplateObject(["\n font: ", ";\n color: ", ";\n margin-top: ", ";\n"], ["\n font: ", ";\n color: ", ";\n margin-top: ", ";\n"])), typography.caption, function (_a) {
4478
4651
  var $hasError = _a.$hasError;
4479
4652
  return $hasError ? color.text.error : color.text.subdued;
4480
4653
  }, spacing[2]);
@@ -4591,59 +4764,68 @@ var Dropdown = function Dropdown(_a) {
4591
4764
  setIsOpen(false);
4592
4765
  setFocusedIndex(-1);
4593
4766
  };
4594
- return /*#__PURE__*/React.createElement(DropdownContainer, {
4767
+ return jsxRuntime.jsxs(DropdownContainer, {
4595
4768
  ref: dropdownRef,
4596
- className: className
4597
- }, label && /*#__PURE__*/React.createElement("label", {
4598
- htmlFor: dropdownId,
4599
- style: {
4600
- display: 'block',
4601
- marginBottom: spacing[2]
4602
- }
4603
- }, /*#__PURE__*/React.createElement(Typography, {
4604
- variant: "label"
4605
- }, label)), /*#__PURE__*/React.createElement(DropdownTrigger, {
4606
- id: dropdownId,
4607
- $isOpen: isOpen,
4608
- $hasError: hasError,
4609
- onClick: handleTriggerClick,
4610
- disabled: disabled,
4611
- "aria-expanded": isOpen,
4612
- "aria-haspopup": "listbox",
4613
- "aria-invalid": hasError,
4614
- "aria-describedby": describedBy
4615
- }, /*#__PURE__*/React.createElement("span", null, selectedOption ? selectedOption.label : placeholder), /*#__PURE__*/React.createElement(DropdownIcon, {
4616
- $isOpen: isOpen
4617
- }, /*#__PURE__*/React.createElement(Icon, {
4618
- name: "arrowDown",
4619
- iconColor: disabled ? 'disabled' : 'subdued'
4620
- }))), /*#__PURE__*/React.createElement(DropdownMenu, {
4621
- $isOpen: isOpen,
4622
- role: "listbox",
4623
- "aria-labelledby": dropdownId
4624
- }, options.map(function (option, index) {
4625
- return /*#__PURE__*/React.createElement(DropdownOption, {
4626
- key: option.id,
4627
- $isSelected: option.id === value,
4628
- $isFocused: index === focusedIndex,
4629
- onClick: function onClick() {
4630
- return handleOptionClick(option.id);
4769
+ className: className,
4770
+ children: [label && jsxRuntime.jsx("label", {
4771
+ htmlFor: dropdownId,
4772
+ style: {
4773
+ display: 'block',
4774
+ marginBottom: spacing[2]
4631
4775
  },
4632
- role: "option",
4633
- "aria-selected": option.id === value
4634
- }, option.label);
4635
- })), error && /*#__PURE__*/React.createElement(StyledHelperText$3, {
4636
- id: errorId,
4637
- role: "alert",
4638
- "aria-live": "polite",
4639
- $hasError: true
4640
- }, error), helperText && !error && /*#__PURE__*/React.createElement(StyledHelperText$3, {
4641
- id: helperId
4642
- }, helperText));
4776
+ children: jsxRuntime.jsx(Typography, {
4777
+ variant: "label",
4778
+ children: label
4779
+ })
4780
+ }), jsxRuntime.jsxs(DropdownTrigger, {
4781
+ id: dropdownId,
4782
+ "$isOpen": isOpen,
4783
+ "$hasError": hasError,
4784
+ onClick: handleTriggerClick,
4785
+ disabled: disabled,
4786
+ "aria-expanded": isOpen,
4787
+ "aria-haspopup": "listbox",
4788
+ "aria-invalid": hasError,
4789
+ "aria-describedby": describedBy,
4790
+ children: [jsxRuntime.jsx("span", {
4791
+ children: selectedOption ? selectedOption.label : placeholder
4792
+ }), jsxRuntime.jsx(DropdownIcon, {
4793
+ "$isOpen": isOpen,
4794
+ children: jsxRuntime.jsx(Icon, {
4795
+ name: "arrowDown",
4796
+ iconColor: disabled ? 'disabled' : 'subdued'
4797
+ })
4798
+ })]
4799
+ }), jsxRuntime.jsx(DropdownMenu, {
4800
+ "$isOpen": isOpen,
4801
+ role: "listbox",
4802
+ "aria-labelledby": dropdownId,
4803
+ children: options.map(function (option, index) {
4804
+ return jsxRuntime.jsx(DropdownOption, {
4805
+ "$isSelected": option.id === value,
4806
+ "$isFocused": index === focusedIndex,
4807
+ onClick: function onClick() {
4808
+ return handleOptionClick(option.id);
4809
+ },
4810
+ role: "option",
4811
+ "aria-selected": option.id === value,
4812
+ children: option.label
4813
+ }, option.id);
4814
+ })
4815
+ }), error && jsxRuntime.jsx(StyledHelperText$3, {
4816
+ id: errorId,
4817
+ role: "alert",
4818
+ "aria-live": "polite",
4819
+ "$hasError": true,
4820
+ children: error
4821
+ }), helperText && !error && jsxRuntime.jsx(StyledHelperText$3, {
4822
+ id: helperId,
4823
+ children: helperText
4824
+ })]
4825
+ });
4643
4826
  };
4644
- var templateObject_1$d, templateObject_2$b, templateObject_3$a, templateObject_4$9, templateObject_5$8, templateObject_6$8;
4827
+ var templateObject_1$d, templateObject_2$b, templateObject_3$a, templateObject_4$9, templateObject_5$8, templateObject_6$7;
4645
4828
 
4646
- React.createElement;
4647
4829
  var semantic$8 = tokensData.semantic;
4648
4830
  var StyledList = styled.ul.withConfig({
4649
4831
  shouldForwardProp: function shouldForwardProp(prop) {
@@ -4664,18 +4846,19 @@ var List = function List(_a) {
4664
4846
  className = _a.className,
4665
4847
  dataTestId = _a["data-testid"],
4666
4848
  props = __rest(_a, ["children", "dividers", "spacing", "className", 'data-testid']);
4667
- return /*#__PURE__*/React.createElement(StyledList, _extends({
4668
- $dividers: dividers,
4669
- $spacing: spacing,
4849
+ return jsxRuntime.jsx(StyledList, __assign({
4850
+ "$dividers": dividers,
4851
+ "$spacing": spacing,
4670
4852
  className: className,
4671
4853
  "data-testid": dataTestId,
4672
4854
  role: "list"
4673
- }, props), children);
4855
+ }, props, {
4856
+ children: children
4857
+ }));
4674
4858
  };
4675
4859
  List.displayName = 'List';
4676
4860
  var templateObject_1$c;
4677
4861
 
4678
- React.createElement;
4679
4862
  var semantic$7 = tokensData.semantic,
4680
4863
  base$7 = tokensData.base;
4681
4864
  var StyledListItem = styled.li.withConfig({
@@ -4733,7 +4916,7 @@ var StyledChevronIcon = styled.div.withConfig({
4733
4916
  },
4734
4917
  displayName: "ListItem__StyledChevronIcon",
4735
4918
  componentId: "sc-1wzzt21-5"
4736
- })(templateObject_6$7 || (templateObject_6$7 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n width: 24px;\n height: 24px;\n color: ", ";\n transition: transform 200ms ease;\n transform: rotate(", ");\n pointer-events: none;\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n width: 24px;\n height: 24px;\n color: ", ";\n transition: transform 200ms ease;\n transform: rotate(", ");\n pointer-events: none;\n"])), semantic$7.color.icon.subdued, function (_a) {
4919
+ })(templateObject_6$6 || (templateObject_6$6 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n width: 24px;\n height: 24px;\n color: ", ";\n transition: transform 200ms ease;\n transform: rotate(", ");\n pointer-events: none;\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n width: 24px;\n height: 24px;\n color: ", ";\n transition: transform 200ms ease;\n transform: rotate(", ");\n pointer-events: none;\n"])), semantic$7.color.icon.subdued, function (_a) {
4737
4920
  var $expanded = _a.$expanded;
4738
4921
  return $expanded ? '180deg' : '0deg';
4739
4922
  });
@@ -4743,7 +4926,7 @@ var StyledExpandedContent = styled.div.withConfig({
4743
4926
  },
4744
4927
  displayName: "ListItem__StyledExpandedContent",
4745
4928
  componentId: "sc-1wzzt21-6"
4746
- })(templateObject_7$6 || (templateObject_7$6 = __makeTemplateObject(["\n overflow: hidden;\n transition: max-height 200ms ease-out, opacity 200ms ease-out;\n max-height: ", ";\n opacity: ", ";\n \n ", "\n"], ["\n overflow: hidden;\n transition: max-height 200ms ease-out, opacity 200ms ease-out;\n max-height: ", ";\n opacity: ", ";\n \n ", "\n"])), function (_a) {
4929
+ })(templateObject_7$5 || (templateObject_7$5 = __makeTemplateObject(["\n overflow: hidden;\n transition: max-height 200ms ease-out, opacity 200ms ease-out;\n max-height: ", ";\n opacity: ", ";\n \n ", "\n"], ["\n overflow: hidden;\n transition: max-height 200ms ease-out, opacity 200ms ease-out;\n max-height: ", ";\n opacity: ", ";\n \n ", "\n"])), function (_a) {
4747
4930
  var $expanded = _a.$expanded;
4748
4931
  return $expanded ? '1000px' : '0';
4749
4932
  }, function (_a) {
@@ -4776,9 +4959,14 @@ var ListItem = function ListItem(_a) {
4776
4959
  children = _a.children,
4777
4960
  className = _a.className,
4778
4961
  dataTestId = _a["data-testid"],
4779
- props = __rest(_a, ["primary", "secondary", "badge", "icon", "expandable", "expanded", "onToggle", "interactive", "onClick", "disabled", "selected", "spacing", "children", "className", 'data-testid']);
4780
- var isInteractive = interactive || expandable;
4781
- var role = isInteractive ? 'button' : undefined;
4962
+ customRole = _a.role,
4963
+ ariaSelected = _a["aria-selected"],
4964
+ id = _a.id,
4965
+ customTabIndex = _a.tabIndex,
4966
+ customOnKeyDown = _a.onKeyDown,
4967
+ props = __rest(_a, ["primary", "secondary", "badge", "icon", "expandable", "expanded", "onToggle", "interactive", "onClick", "disabled", "selected", "spacing", "children", "className", 'data-testid', "role", 'aria-selected', "id", "tabIndex", "onKeyDown"]);
4968
+ var isInteractive = interactive || expandable || customRole === 'option';
4969
+ var contentRole = customRole === 'option' ? undefined : isInteractive ? 'button' : undefined;
4782
4970
  var ariaExpanded = expandable ? expanded : undefined;
4783
4971
  var ariaDisabled = disabled ? true : undefined;
4784
4972
  var ariaCurrent = selected ? 'true' : undefined;
@@ -4791,54 +4979,72 @@ var ListItem = function ListItem(_a) {
4791
4979
  }
4792
4980
  };
4793
4981
  var handleKeyDown = function handleKeyDown(event) {
4982
+ if (customOnKeyDown) {
4983
+ customOnKeyDown(event);
4984
+ return;
4985
+ }
4794
4986
  if (disabled) return;
4795
4987
  if (event.key === 'Enter' || event.key === ' ') {
4796
4988
  event.preventDefault();
4797
4989
  handleClick();
4798
4990
  }
4799
4991
  };
4800
- return /*#__PURE__*/React.createElement(StyledListItem, _extends({
4801
- $interactive: isInteractive,
4802
- $disabled: disabled,
4803
- $selected: selected,
4804
- $spacing: spacing,
4992
+ return jsxRuntime.jsxs(StyledListItem, __assign({
4993
+ "$interactive": isInteractive,
4994
+ "$disabled": disabled,
4995
+ "$selected": selected,
4996
+ "$spacing": spacing,
4805
4997
  className: className,
4806
4998
  "data-testid": dataTestId,
4807
- role: "listitem"
4808
- }, props), /*#__PURE__*/React.createElement(StyledItemContent, {
4809
- $interactive: isInteractive,
4810
- $disabled: disabled,
4811
- $selected: selected,
4812
- $spacing: spacing,
4813
- role: role,
4814
- "aria-expanded": ariaExpanded,
4815
- "aria-disabled": ariaDisabled,
4816
- "aria-current": ariaCurrent,
4817
- tabIndex: isInteractive && !disabled ? 0 : undefined,
4818
- onClick: handleClick,
4819
- onKeyDown: handleKeyDown
4820
- }, icon && /*#__PURE__*/React.createElement(StyledIconContainer, {
4821
- "aria-hidden": "true"
4822
- }, icon), /*#__PURE__*/React.createElement(StyledTextContent, null, /*#__PURE__*/React.createElement(Typography, {
4823
- variant: "body",
4824
- color: "default"
4825
- }, primary), secondary && /*#__PURE__*/React.createElement(Typography, {
4826
- variant: "small",
4827
- color: "subdued"
4828
- }, secondary)), /*#__PURE__*/React.createElement(StyledRightContent, null, badge, expandable && /*#__PURE__*/React.createElement(StyledChevronIcon, {
4829
- $expanded: expanded,
4830
- "aria-hidden": "true"
4831
- }, /*#__PURE__*/React.createElement(Icon, {
4832
- name: "caretDown",
4833
- size: "sm"
4834
- })))), expandable && children && /*#__PURE__*/React.createElement(StyledExpandedContent, {
4835
- $spacing: spacing,
4836
- $expanded: expanded,
4837
- "aria-hidden": !expanded
4838
- }, children));
4999
+ role: customRole || 'listitem',
5000
+ id: id,
5001
+ "aria-selected": ariaSelected
5002
+ }, props, {
5003
+ children: [jsxRuntime.jsxs(StyledItemContent, {
5004
+ "$interactive": isInteractive,
5005
+ "$disabled": disabled,
5006
+ "$selected": selected,
5007
+ "$spacing": spacing,
5008
+ role: contentRole,
5009
+ "aria-expanded": ariaExpanded,
5010
+ "aria-disabled": ariaDisabled,
5011
+ "aria-current": ariaCurrent,
5012
+ tabIndex: customTabIndex !== undefined ? customTabIndex : isInteractive && !disabled ? 0 : undefined,
5013
+ onClick: handleClick,
5014
+ onKeyDown: handleKeyDown,
5015
+ children: [icon && jsxRuntime.jsx(StyledIconContainer, {
5016
+ "aria-hidden": "true",
5017
+ children: icon
5018
+ }), jsxRuntime.jsxs(StyledTextContent, {
5019
+ children: [jsxRuntime.jsx(Typography, {
5020
+ variant: "body",
5021
+ color: "default",
5022
+ children: primary
5023
+ }), secondary && jsxRuntime.jsx(Typography, {
5024
+ variant: "small",
5025
+ color: "subdued",
5026
+ children: secondary
5027
+ })]
5028
+ }), jsxRuntime.jsxs(StyledRightContent, {
5029
+ children: [badge, expandable && jsxRuntime.jsx(StyledChevronIcon, {
5030
+ "$expanded": expanded,
5031
+ "aria-hidden": "true",
5032
+ children: jsxRuntime.jsx(Icon, {
5033
+ name: "caretDown",
5034
+ size: "sm"
5035
+ })
5036
+ })]
5037
+ })]
5038
+ }), expandable && children && jsxRuntime.jsx(StyledExpandedContent, {
5039
+ "$spacing": spacing,
5040
+ "$expanded": expanded,
5041
+ "aria-hidden": !expanded,
5042
+ children: children
5043
+ })]
5044
+ }));
4839
5045
  };
4840
5046
  ListItem.displayName = 'ListItem';
4841
- var templateObject_1$b, templateObject_2$a, templateObject_3$9, templateObject_4$8, templateObject_5$7, templateObject_6$7, templateObject_7$6;
5047
+ var templateObject_1$b, templateObject_2$a, templateObject_3$9, templateObject_4$8, templateObject_5$7, templateObject_6$6, templateObject_7$5;
4842
5048
 
4843
5049
  var input = tokensData.component.input;
4844
5050
  var StyledInputBase = styled.input.withConfig({
@@ -4881,7 +5087,6 @@ var StyledTextAreaBase = styled.textarea.withConfig({
4881
5087
  })(templateObject_2$9 || (templateObject_2$9 = __makeTemplateObject(["\n /* Inherit all input base styles */\n ", "\n \n /* TextArea specific */\n min-height: 120px;\n resize: vertical;\n font-family: inherit;\n line-height: 1.5;\n"], ["\n /* Inherit all input base styles */\n ", "\n \n /* TextArea specific */\n min-height: 120px;\n resize: vertical;\n font-family: inherit;\n line-height: 1.5;\n"])), StyledInputBase);
4882
5088
  var templateObject_1$a, templateObject_2$9;
4883
5089
 
4884
- React.createElement;
4885
5090
  var semantic$6 = tokensData.semantic,
4886
5091
  base$6 = tokensData.base;
4887
5092
  var StyledFieldContainer$2 = styled.div.withConfig({
@@ -4907,11 +5112,11 @@ var StyledNumberInput = styled(StyledInputBase).withConfig({
4907
5112
  var StyledStepperContainer = styled.div.withConfig({
4908
5113
  displayName: "NumberInput__StyledStepperContainer",
4909
5114
  componentId: "sc-qotc3w-5"
4910
- })(templateObject_6$6 || (templateObject_6$6 = __makeTemplateObject(["\n position: absolute;\n right: ", ";\n display: flex;\n flex-direction: row;\n gap: ", ";\n"], ["\n position: absolute;\n right: ", ";\n display: flex;\n flex-direction: row;\n gap: ", ";\n"])), base$6.spacing[2], base$6.spacing[2]);
5115
+ })(templateObject_6$5 || (templateObject_6$5 = __makeTemplateObject(["\n position: absolute;\n right: ", ";\n display: flex;\n flex-direction: row;\n gap: ", ";\n"], ["\n position: absolute;\n right: ", ";\n display: flex;\n flex-direction: row;\n gap: ", ";\n"])), base$6.spacing[2], base$6.spacing[2]);
4911
5116
  var StyledHelperText$2 = styled.div.withConfig({
4912
5117
  displayName: "NumberInput__StyledHelperText",
4913
5118
  componentId: "sc-qotc3w-6"
4914
- })(templateObject_7$5 || (templateObject_7$5 = __makeTemplateObject(["\n font: ", ";\n color: ", ";\n"], ["\n font: ", ";\n color: ", ";\n"
5119
+ })(templateObject_7$4 || (templateObject_7$4 = __makeTemplateObject(["\n font: ", ";\n color: ", ";\n"], ["\n font: ", ";\n color: ", ";\n"
4915
5120
  /**
4916
5121
  * NumberInput component for numeric input with stepper buttons and WCAG 2.2 AA compliance
4917
5122
  *
@@ -5072,63 +5277,71 @@ var NumberInput = /*#__PURE__*/React.forwardRef(function (_a, ref) {
5072
5277
  var isDecrementDisabled = disabled || min !== undefined && value !== '' && typeof value === 'number' && value <= min;
5073
5278
  // Build aria-describedby
5074
5279
  var ariaDescribedByIds = [ariaDescribedBy, helperText ? helperId : null, error ? errorId : null].filter(Boolean).join(' ') || undefined;
5075
- return /*#__PURE__*/React.createElement(StyledFieldContainer$2, null, label && /*#__PURE__*/React.createElement(StyledLabel$3, {
5076
- htmlFor: id,
5077
- "data-disabled": disabled
5078
- }, label, required && /*#__PURE__*/React.createElement(StyledRequiredIndicator$2, {
5079
- "aria-label": "required"
5080
- }, "*")), /*#__PURE__*/React.createElement(StyledInputWrapper$2, null, /*#__PURE__*/React.createElement(StyledNumberInput, _extends({
5081
- ref: ref,
5082
- id: id,
5083
- type: "text",
5084
- inputMode: "decimal",
5085
- value: value !== undefined ? formatValue(value) : undefined,
5086
- defaultValue: defaultValue !== undefined ? formatValue(defaultValue) : undefined,
5087
- onChange: handleChange,
5088
- onKeyDown: handleKeyDown,
5089
- disabled: disabled,
5090
- required: required,
5091
- placeholder: placeholder,
5092
- $hasError: !!error,
5093
- $disabled: disabled,
5094
- "aria-label": ariaLabel || label,
5095
- "aria-invalid": !!error,
5096
- "aria-describedby": ariaDescribedByIds,
5097
- "aria-required": required,
5098
- "data-testid": testId,
5099
- role: "spinbutton",
5100
- "aria-valuemin": min,
5101
- "aria-valuemax": max,
5102
- "aria-valuenow": typeof value === 'number' ? value : undefined
5103
- }, rest)), /*#__PURE__*/React.createElement(StyledStepperContainer, null, /*#__PURE__*/React.createElement(IconButton, {
5104
- iconName: "caretUp",
5105
- variant: "secondary",
5106
- size: "small",
5107
- onClick: handleIncrement,
5108
- disabled: isIncrementDisabled,
5109
- "aria-label": "Increment value",
5110
- tabIndex: -1,
5111
- type: "button"
5112
- }), /*#__PURE__*/React.createElement(IconButton, {
5113
- iconName: "caretDown",
5114
- variant: "secondary",
5115
- size: "small",
5116
- onClick: handleDecrement,
5117
- disabled: isDecrementDisabled,
5118
- "aria-label": "Decrement value",
5119
- tabIndex: -1,
5120
- type: "button"
5121
- }))), (helperText || error) && /*#__PURE__*/React.createElement(StyledHelperText$2, {
5122
- id: error ? errorId : helperId,
5123
- $isError: !!error,
5124
- role: error ? 'alert' : undefined,
5125
- "aria-live": error ? 'polite' : undefined
5126
- }, error || helperText));
5280
+ return jsxRuntime.jsxs(StyledFieldContainer$2, {
5281
+ children: [label && jsxRuntime.jsxs(StyledLabel$3, {
5282
+ htmlFor: id,
5283
+ "data-disabled": disabled,
5284
+ children: [label, required && jsxRuntime.jsx(StyledRequiredIndicator$2, {
5285
+ "aria-label": "required",
5286
+ children: "*"
5287
+ })]
5288
+ }), jsxRuntime.jsxs(StyledInputWrapper$2, {
5289
+ children: [jsxRuntime.jsx(StyledNumberInput, __assign({
5290
+ ref: ref,
5291
+ id: id,
5292
+ type: "text",
5293
+ inputMode: "decimal",
5294
+ value: value !== undefined ? formatValue(value) : undefined,
5295
+ defaultValue: defaultValue !== undefined ? formatValue(defaultValue) : undefined,
5296
+ onChange: handleChange,
5297
+ onKeyDown: handleKeyDown,
5298
+ disabled: disabled,
5299
+ required: required,
5300
+ placeholder: placeholder,
5301
+ "$hasError": !!error,
5302
+ "$disabled": disabled,
5303
+ "aria-label": ariaLabel || label,
5304
+ "aria-invalid": !!error,
5305
+ "aria-describedby": ariaDescribedByIds,
5306
+ "aria-required": required,
5307
+ "data-testid": testId,
5308
+ role: "spinbutton",
5309
+ "aria-valuemin": min,
5310
+ "aria-valuemax": max,
5311
+ "aria-valuenow": typeof value === 'number' ? value : undefined
5312
+ }, rest)), jsxRuntime.jsxs(StyledStepperContainer, {
5313
+ children: [jsxRuntime.jsx(IconButton, {
5314
+ iconName: "caretUp",
5315
+ variant: "secondary",
5316
+ size: "small",
5317
+ onClick: handleIncrement,
5318
+ disabled: isIncrementDisabled,
5319
+ "aria-label": "Increment value",
5320
+ tabIndex: -1,
5321
+ type: "button"
5322
+ }), jsxRuntime.jsx(IconButton, {
5323
+ iconName: "caretDown",
5324
+ variant: "secondary",
5325
+ size: "small",
5326
+ onClick: handleDecrement,
5327
+ disabled: isDecrementDisabled,
5328
+ "aria-label": "Decrement value",
5329
+ tabIndex: -1,
5330
+ type: "button"
5331
+ })]
5332
+ })]
5333
+ }), (helperText || error) && jsxRuntime.jsx(StyledHelperText$2, {
5334
+ id: error ? errorId : helperId,
5335
+ "$isError": !!error,
5336
+ role: error ? 'alert' : undefined,
5337
+ "aria-live": error ? 'polite' : undefined,
5338
+ children: error || helperText
5339
+ })]
5340
+ });
5127
5341
  });
5128
5342
  NumberInput.displayName = 'NumberInput';
5129
- var templateObject_1$9, templateObject_2$8, templateObject_3$8, templateObject_4$7, templateObject_5$6, templateObject_6$6, templateObject_7$5;
5343
+ var templateObject_1$9, templateObject_2$8, templateObject_3$8, templateObject_4$7, templateObject_5$6, templateObject_6$5, templateObject_7$4;
5130
5344
 
5131
- React.createElement;
5132
5345
  var PageTitleStyled = styled.div.withConfig({
5133
5346
  shouldForwardProp: function shouldForwardProp(prop) {
5134
5347
  return !prop.startsWith('$');
@@ -5144,27 +5357,30 @@ var PageTitle = function PageTitle(_a) {
5144
5357
  _b = _a.hasBackButton,
5145
5358
  hasBackButton = _b === void 0 ? false : _b,
5146
5359
  subtitle = _a.subtitle;
5147
- return /*#__PURE__*/React.createElement(PageTitleStyled, {
5148
- $hasBackButton: hasBackButton
5149
- }, hasBackButton && /*#__PURE__*/React.createElement(IconButton, {
5150
- iconName: "back",
5151
- size: "large",
5152
- variant: "naked",
5153
- url: "/music",
5154
- "aria-label": "Go back to music page"
5155
- }), /*#__PURE__*/React.createElement(Stack, {
5156
- direction: "column",
5157
- gap: "md"
5158
- }, /*#__PURE__*/React.createElement(Typography, {
5159
- variant: "h1"
5160
- }, title), subtitle && /*#__PURE__*/React.createElement(Typography, {
5161
- variant: "caption",
5162
- color: "subdued"
5163
- }, subtitle)));
5360
+ return jsxRuntime.jsxs(PageTitleStyled, {
5361
+ "$hasBackButton": hasBackButton,
5362
+ children: [hasBackButton && jsxRuntime.jsx(IconButton, {
5363
+ iconName: 'back',
5364
+ size: 'large',
5365
+ variant: 'naked',
5366
+ url: '/music',
5367
+ "aria-label": 'Go back to music page'
5368
+ }), jsxRuntime.jsxs(Stack, {
5369
+ direction: 'column',
5370
+ gap: "md",
5371
+ children: [jsxRuntime.jsx(Typography, {
5372
+ variant: "h1",
5373
+ children: title
5374
+ }), subtitle && jsxRuntime.jsx(Typography, {
5375
+ variant: 'caption',
5376
+ color: 'subdued',
5377
+ children: subtitle
5378
+ })]
5379
+ })]
5380
+ });
5164
5381
  };
5165
5382
  var templateObject_1$8;
5166
5383
 
5167
- React.createElement;
5168
5384
  var semantic$5 = tokensData.semantic,
5169
5385
  base$5 = tokensData.base;
5170
5386
  var StyledFieldContainer$1 = styled.div.withConfig({
@@ -5193,7 +5409,7 @@ var StyledInputWrapper$1 = styled.div.withConfig({
5193
5409
  var StyledToggleButton = styled.div.withConfig({
5194
5410
  displayName: "PasswordField__StyledToggleButton",
5195
5411
  componentId: "sc-1p15zk0-5"
5196
- })(templateObject_6$5 || (templateObject_6$5 = __makeTemplateObject(["\n position: absolute;\n right: ", ";\n top: 50%;\n transform: translateY(-50%);\n"], ["\n position: absolute;\n right: ", ";\n top: 50%;\n transform: translateY(-50%);\n"
5412
+ })(templateObject_6$4 || (templateObject_6$4 = __makeTemplateObject(["\n position: absolute;\n right: ", ";\n top: 50%;\n transform: translateY(-50%);\n"], ["\n position: absolute;\n right: ", ";\n top: 50%;\n transform: translateY(-50%);\n"
5197
5413
  /**
5198
5414
  * PasswordField component for secure password input with visibility toggle
5199
5415
  *
@@ -5246,51 +5462,61 @@ var PasswordField = /*#__PURE__*/React.forwardRef(function (_a, ref) {
5246
5462
  var togglePasswordVisibility = function togglePasswordVisibility() {
5247
5463
  setShowPassword(!showPassword);
5248
5464
  };
5249
- return /*#__PURE__*/React.createElement(StyledFieldContainer$1, null, label && /*#__PURE__*/React.createElement(StyledLabel$2, {
5250
- htmlFor: id,
5251
- "data-disabled": disabled
5252
- }, label, required && /*#__PURE__*/React.createElement(StyledRequiredIndicator$1, {
5253
- "aria-label": "required"
5254
- }, "*")), /*#__PURE__*/React.createElement(StyledInputWrapper$1, null, /*#__PURE__*/React.createElement(StyledInputBase, _extends({
5255
- ref: ref,
5256
- id: id,
5257
- type: showPassword ? 'text' : 'password',
5258
- disabled: disabled,
5259
- required: required,
5260
- "aria-required": required,
5261
- "aria-invalid": hasError,
5262
- "aria-describedby": describedBy,
5263
- $hasError: hasError,
5264
- $disabled: disabled,
5265
- "data-testid": dataTestId,
5266
- style: {
5267
- paddingRight: showToggle ? '3rem' : undefined
5268
- }
5269
- }, inputProps)), showToggle && /*#__PURE__*/React.createElement(StyledToggleButton, null, /*#__PURE__*/React.createElement(IconButton, {
5270
- variant: "naked",
5271
- size: "small",
5272
- iconName: showPassword ? 'viewHide' : 'view',
5273
- onClick: togglePasswordVisibility,
5274
- disabled: disabled,
5275
- "aria-label": showPassword ? 'Hide password' : 'Show password',
5276
- "aria-pressed": showPassword,
5277
- type: "button",
5278
- tabIndex: -1
5279
- }))), error && /*#__PURE__*/React.createElement(StyledHelperText$1, {
5280
- id: errorId,
5281
- role: "alert",
5282
- "aria-live": "polite",
5283
- $hasError: true
5284
- }, error), helperText && !error && /*#__PURE__*/React.createElement(StyledHelperText$1, {
5285
- id: helperId
5286
- }, helperText));
5465
+ return jsxRuntime.jsxs(StyledFieldContainer$1, {
5466
+ children: [label && jsxRuntime.jsxs(StyledLabel$2, {
5467
+ htmlFor: id,
5468
+ "data-disabled": disabled,
5469
+ children: [label, required && jsxRuntime.jsx(StyledRequiredIndicator$1, {
5470
+ "aria-label": "required",
5471
+ children: "*"
5472
+ })]
5473
+ }), jsxRuntime.jsxs(StyledInputWrapper$1, {
5474
+ children: [jsxRuntime.jsx(StyledInputBase, __assign({
5475
+ ref: ref,
5476
+ id: id,
5477
+ type: showPassword ? 'text' : 'password',
5478
+ disabled: disabled,
5479
+ required: required,
5480
+ "aria-required": required,
5481
+ "aria-invalid": hasError,
5482
+ "aria-describedby": describedBy,
5483
+ "$hasError": hasError,
5484
+ "$disabled": disabled,
5485
+ "data-testid": dataTestId,
5486
+ style: {
5487
+ paddingRight: showToggle ? '3rem' : undefined
5488
+ }
5489
+ }, inputProps)), showToggle && jsxRuntime.jsx(StyledToggleButton, {
5490
+ children: jsxRuntime.jsx(IconButton, {
5491
+ variant: "naked",
5492
+ size: "small",
5493
+ iconName: showPassword ? 'viewHide' : 'view',
5494
+ onClick: togglePasswordVisibility,
5495
+ disabled: disabled,
5496
+ "aria-label": showPassword ? 'Hide password' : 'Show password',
5497
+ "aria-pressed": showPassword,
5498
+ type: "button",
5499
+ tabIndex: -1
5500
+ })
5501
+ })]
5502
+ }), error && jsxRuntime.jsx(StyledHelperText$1, {
5503
+ id: errorId,
5504
+ role: "alert",
5505
+ "aria-live": "polite",
5506
+ "$hasError": true,
5507
+ children: error
5508
+ }), helperText && !error && jsxRuntime.jsx(StyledHelperText$1, {
5509
+ id: helperId,
5510
+ children: helperText
5511
+ })]
5512
+ });
5287
5513
  });
5288
5514
  PasswordField.displayName = 'PasswordField';
5289
- var templateObject_1$7, templateObject_2$7, templateObject_3$7, templateObject_4$6, templateObject_5$5, templateObject_6$5;
5515
+ var templateObject_1$7, templateObject_2$7, templateObject_3$7, templateObject_4$6, templateObject_5$5, templateObject_6$4;
5290
5516
 
5291
- React.createElement;
5292
5517
  var semantic$4 = tokensData.semantic,
5293
- base$4 = tokensData.base;
5518
+ base$4 = tokensData.base,
5519
+ component = tokensData.component;
5294
5520
  var StyledSearchContainer = styled.div.withConfig({
5295
5521
  displayName: "SearchField__StyledSearchContainer",
5296
5522
  componentId: "sc-qhz9i8-0"
@@ -5298,39 +5524,23 @@ var StyledSearchContainer = styled.div.withConfig({
5298
5524
  var StyledInputWrapper = styled.div.withConfig({
5299
5525
  displayName: "SearchField__StyledInputWrapper",
5300
5526
  componentId: "sc-qhz9i8-1"
5301
- })(templateObject_2$6 || (templateObject_2$6 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: ", ";\n padding: ", " ", ";\n background-color: ", ";\n border: ", " solid ", ";\n border-radius: ", ";\n transition: ", ";\n \n ", "\n \n ", "\n \n &:hover:not(:disabled) {\n border-color: ", ";\n }\n"], ["\n display: flex;\n align-items: center;\n gap: ", ";\n padding: ", " ", ";\n background-color: ", ";\n border: ", " solid ", ";\n border-radius: ", ";\n transition: ", ";\n \n ", "\n \n ", "\n \n &:hover:not(:disabled) {\n border-color: ", ";\n }\n"])), base$4.spacing[2], base$4.spacing[2], base$4.spacing[3], semantic$4.color.background.subtle, base$4.border.width[1], semantic$4.color.border["default"], base$4.border.radius[3], semantic$4.motion.hover, function (props) {
5302
- return props.$isFocused && "\n border-color: ".concat(semantic$4.color.border.interactive, ";\n box-shadow: 0 0 0 ").concat(base$4.border.width[2], " ").concat(semantic$4.color.background['interactive-subtle'], ";\n ");
5527
+ })(templateObject_2$6 || (templateObject_2$6 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: ", ";\n padding: ", " ", ";\n background-color: ", ";\n border: ", " solid ", ";\n border-radius: ", ";\n transition: border-color 200ms ease-in-out, outline 200ms ease-in-out;\n \n ", "\n \n ", "\n \n &:hover:not([data-disabled='true']) {\n border-color: ", ";\n }\n"], ["\n display: flex;\n align-items: center;\n gap: ", ";\n padding: ", " ", ";\n background-color: ", ";\n border: ", " solid ", ";\n border-radius: ", ";\n transition: border-color 200ms ease-in-out, outline 200ms ease-in-out;\n \n ", "\n \n ", "\n \n &:hover:not([data-disabled='true']) {\n border-color: ", ";\n }\n"])), base$4.spacing[2], base$4.spacing[2], base$4.spacing[3], component.input["default"].backgroundColor, component.input["default"].borderWidth, component.input["default"].borderColor, component.input["default"].borderRadius, function (props) {
5528
+ return props.$isFocused && "\n border-color: ".concat(component.input.focus.borderColor, ";\n outline: ").concat(component.input.focus.outline, ";\n outline-offset: ").concat(component.input.focus.outlineOffset, ";\n ");
5303
5529
  }, function (props) {
5304
- return props.$disabled && "\n background-color: ".concat(semantic$4.color.background.disabled, ";\n cursor: not-allowed;\n ");
5305
- }, semantic$4.color.border.strong);
5530
+ return props.$disabled && "\n background-color: ".concat(component.input.disabled.backgroundColor, ";\n border-color: ").concat(component.input.disabled.borderColor, ";\n cursor: not-allowed;\n ");
5531
+ }, component.input.hover.borderColor);
5306
5532
  var StyledInput = styled.input.withConfig({
5307
5533
  displayName: "SearchField__StyledInput",
5308
5534
  componentId: "sc-qhz9i8-2"
5309
5535
  })(templateObject_3$6 || (templateObject_3$6 = __makeTemplateObject(["\n flex: 1;\n border: none;\n background: transparent;\n font: ", ";\n color: ", ";\n outline: none;\n \n &::placeholder {\n color: ", ";\n }\n \n &:disabled {\n color: ", ";\n cursor: not-allowed;\n }\n"], ["\n flex: 1;\n border: none;\n background: transparent;\n font: ", ";\n color: ", ";\n outline: none;\n \n &::placeholder {\n color: ", ";\n }\n \n &:disabled {\n color: ", ";\n cursor: not-allowed;\n }\n"])), semantic$4.typography.body, semantic$4.color.text["default"], semantic$4.color.text.subdued, semantic$4.color.text.disabled);
5310
- var StyledClearButton = styled.button.withConfig({
5311
- displayName: "SearchField__StyledClearButton",
5312
- componentId: "sc-qhz9i8-3"
5313
- })(templateObject_4$5 || (templateObject_4$5 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n padding: ", ";\n border: none;\n background: transparent;\n color: ", ";\n cursor: pointer;\n border-radius: ", ";\n transition: ", ";\n \n &:hover {\n color: ", ";\n background-color: ", ";\n }\n \n &:focus-visible {\n outline: ", " solid ", ";\n outline-offset: ", ";\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n padding: ", ";\n border: none;\n background: transparent;\n color: ", ";\n cursor: pointer;\n border-radius: ", ";\n transition: ", ";\n \n &:hover {\n color: ", ";\n background-color: ", ";\n }\n \n &:focus-visible {\n outline: ", " solid ", ";\n outline-offset: ", ";\n }\n"])), base$4.spacing[1], semantic$4.color.icon.subdued, base$4.border.radius[2], semantic$4.motion.hover, semantic$4.color.icon["default"], semantic$4.color.background.surface, base$4.border.width[2], semantic$4.color.border.strong, base$4.spacing[1]);
5314
5536
  var StyledSuggestionsList = styled.ul.withConfig({
5315
5537
  displayName: "SearchField__StyledSuggestionsList",
5316
- componentId: "sc-qhz9i8-4"
5317
- })(templateObject_5$4 || (templateObject_5$4 = __makeTemplateObject(["\n position: absolute;\n top: calc(100% + ", ");\n left: 0;\n right: 0;\n max-height: 300px;\n overflow-y: auto;\n background-color: ", ";\n border: ", " solid ", ";\n border-radius: ", ";\n box-shadow: ", ";\n list-style: none;\n padding: ", " 0;\n margin: 0;\n z-index: 1000;\n"], ["\n position: absolute;\n top: calc(100% + ", ");\n left: 0;\n right: 0;\n max-height: 300px;\n overflow-y: auto;\n background-color: ", ";\n border: ", " solid ", ";\n border-radius: ", ";\n box-shadow: ", ";\n list-style: none;\n padding: ", " 0;\n margin: 0;\n z-index: 1000;\n"])), base$4.spacing[1], semantic$4.color.background.subtle, base$4.border.width[1], semantic$4.color.border["default"], base$4.border.radius[3], base$4.shadow[3], base$4.spacing[1]);
5318
- var StyledSuggestionItem = styled.li.withConfig({
5319
- displayName: "SearchField__StyledSuggestionItem",
5320
- componentId: "sc-qhz9i8-5"
5321
- })(templateObject_6$4 || (templateObject_6$4 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: ", ";\n padding: ", " ", ";\n cursor: pointer;\n transition: ", ";\n \n ", "\n \n &:hover {\n background-color: ", ";\n }\n \n ", "\n"], ["\n display: flex;\n align-items: center;\n gap: ", ";\n padding: ", " ", ";\n cursor: pointer;\n transition: ", ";\n \n ", "\n \n &:hover {\n background-color: ", ";\n }\n \n ", "\n"])), base$4.spacing[2], base$4.spacing[2], base$4.spacing[3], semantic$4.motion.hover, function (props) {
5322
- return props.$isHighlighted && "\n background-color: ".concat(semantic$4.color.background['interactive-subtle'], ";\n ");
5323
- }, semantic$4.color.background['interactive-subtle'], function (props) {
5324
- return props.$isRecent && "\n color: ".concat(semantic$4.color.text.subdued, ";\n ");
5325
- });
5538
+ componentId: "sc-qhz9i8-3"
5539
+ })(templateObject_4$5 || (templateObject_4$5 = __makeTemplateObject(["\n position: absolute;\n top: calc(100% + ", ");\n left: 0;\n right: 0;\n max-height: 300px;\n overflow-y: auto;\n background-color: ", ";\n border: ", " solid ", ";\n border-radius: ", ";\n box-shadow: ", ";\n list-style: none;\n padding: ", " 0;\n margin: 0;\n z-index: 1000;\n"], ["\n position: absolute;\n top: calc(100% + ", ");\n left: 0;\n right: 0;\n max-height: 300px;\n overflow-y: auto;\n background-color: ", ";\n border: ", " solid ", ";\n border-radius: ", ";\n box-shadow: ", ";\n list-style: none;\n padding: ", " 0;\n margin: 0;\n z-index: 1000;\n"])), base$4.spacing[1], semantic$4.color.background.subtle, base$4.border.width[1], semantic$4.color.border["default"], base$4.border.radius[3], base$4.shadow[3], base$4.spacing[1]);
5326
5540
  var StyledSectionHeader = styled.div.withConfig({
5327
5541
  displayName: "SearchField__StyledSectionHeader",
5328
- componentId: "sc-qhz9i8-6"
5329
- })(templateObject_7$4 || (templateObject_7$4 = __makeTemplateObject(["\n padding: ", " ", ";\n font: ", ";\n color: ", ";\n text-transform: uppercase;\n letter-spacing: ", ";\n"], ["\n padding: ", " ", ";\n font: ", ";\n color: ", ";\n text-transform: uppercase;\n letter-spacing: ", ";\n"])), base$4.spacing[2], base$4.spacing[3], semantic$4.typography.caption, semantic$4.color.text.subdued, base$4.letterSpacing[4]);
5330
- var StyledClearRecent = styled.button.withConfig({
5331
- displayName: "SearchField__StyledClearRecent",
5332
- componentId: "sc-qhz9i8-7"
5333
- })(templateObject_8$4 || (templateObject_8$4 = __makeTemplateObject(["\n padding: ", " ", ";\n border: none;\n background: transparent;\n font: ", ";\n color: ", ";\n cursor: pointer;\n width: 100%;\n text-align: left;\n transition: ", ";\n \n &:hover {\n background-color: ", ";\n }\n \n &:focus-visible {\n outline: ", " solid ", ";\n outline-offset: -", ";\n }\n"], ["\n padding: ", " ", ";\n border: none;\n background: transparent;\n font: ", ";\n color: ", ";\n cursor: pointer;\n width: 100%;\n text-align: left;\n transition: ", ";\n \n &:hover {\n background-color: ", ";\n }\n \n &:focus-visible {\n outline: ", " solid ", ";\n outline-offset: -", ";\n }\n"])), base$4.spacing[2], base$4.spacing[3], semantic$4.typography.small, semantic$4.color.text.interactive, semantic$4.motion.hover, semantic$4.color.background['interactive-subtle'], base$4.border.width[2], semantic$4.color.border.strong, base$4.spacing[1]);
5542
+ componentId: "sc-qhz9i8-4"
5543
+ })(templateObject_5$4 || (templateObject_5$4 = __makeTemplateObject(["\n padding: ", " ", ";\n font: ", ";\n color: ", ";\n text-transform: uppercase;\n letter-spacing: ", ";\n"], ["\n padding: ", " ", ";\n font: ", ";\n color: ", ";\n text-transform: uppercase;\n letter-spacing: ", ";\n"])), base$4.spacing[2], base$4.spacing[3], semantic$4.typography.caption, semantic$4.color.text.subdued, base$4.letterSpacing[4]);
5334
5544
  var debounce = function debounce(func, wait) {
5335
5545
  var timeout = null;
5336
5546
  return function () {
@@ -5538,94 +5748,101 @@ var SearchField = /*#__PURE__*/React.forwardRef(function (_a, ref) {
5538
5748
  }, [highlightedIndex]);
5539
5749
  var showClearButton = value.length > 0 && !disabled;
5540
5750
  var hasItems = displayItems.length > 0;
5541
- return /*#__PURE__*/React.createElement(StyledSearchContainer, {
5542
- $isFocused: isFocused,
5543
- $disabled: disabled,
5544
- "data-testid": dataTestId
5545
- }, /*#__PURE__*/React.createElement(StyledInputWrapper, {
5546
- $isFocused: isFocused,
5547
- $disabled: disabled
5548
- }, /*#__PURE__*/React.createElement(Icon, {
5549
- name: "search",
5550
- size: "sm",
5551
- iconColor: "subdued",
5552
- "aria-hidden": "true"
5553
- }), /*#__PURE__*/React.createElement(StyledInput, _extends({
5554
- ref: inputRef,
5555
- type: "text",
5556
- value: value,
5557
- onChange: handleInputChange,
5558
- onFocus: handleFocus,
5559
- onBlur: handleBlur,
5560
- onKeyDown: handleKeyDown,
5561
- placeholder: placeholder,
5562
- disabled: disabled,
5563
- "aria-label": ariaLabel,
5564
- "aria-autocomplete": "list",
5565
- "aria-controls": showSuggestions && hasItems ? 'search-suggestions' : undefined,
5566
- "aria-expanded": showSuggestions && hasItems,
5567
- "aria-activedescendant": highlightedIndex >= 0 ? "suggestion-".concat(highlightedIndex) : undefined,
5568
- role: "combobox"
5569
- }, inputProps)), loading && /*#__PURE__*/React.createElement(Icon, {
5570
- name: "refresh",
5571
- size: "sm",
5572
- iconColor: "subdued",
5573
- "aria-label": "Loading"
5574
- }), showClearButton && /*#__PURE__*/React.createElement(StyledClearButton, {
5575
- type: "button",
5576
- onClick: handleClear,
5577
- "aria-label": "Clear search",
5578
- tabIndex: -1
5579
- }, /*#__PURE__*/React.createElement(Icon, {
5580
- name: "close",
5581
- size: "xs"
5582
- }))), showSuggestions && hasItems && /*#__PURE__*/React.createElement(StyledSuggestionsList, {
5583
- ref: listRef,
5584
- id: "search-suggestions",
5585
- role: "listbox"
5586
- }, !value.trim() && showRecentSearches && recentSearches.length > 0 && /*#__PURE__*/React.createElement(StyledSectionHeader, null, "Recent Searches"), displayItems.map(function (item, index) {
5587
- if (item.type === 'clear') {
5588
- return /*#__PURE__*/React.createElement(StyledClearRecent, {
5589
- key: "clear",
5590
- type: "button",
5591
- onClick: function onClick() {
5592
- return handleSuggestionClick(item);
5751
+ return jsxRuntime.jsxs(StyledSearchContainer, {
5752
+ "$isFocused": isFocused,
5753
+ "$disabled": disabled,
5754
+ "data-testid": dataTestId,
5755
+ children: [jsxRuntime.jsxs(StyledInputWrapper, {
5756
+ "$isFocused": isFocused,
5757
+ "$disabled": disabled,
5758
+ "data-disabled": disabled,
5759
+ children: [jsxRuntime.jsx(Icon, {
5760
+ name: "search",
5761
+ size: "sm",
5762
+ iconColor: "subdued",
5763
+ "aria-hidden": "true"
5764
+ }), jsxRuntime.jsx(StyledInput, __assign({
5765
+ ref: inputRef,
5766
+ type: "text",
5767
+ value: value,
5768
+ onChange: handleInputChange,
5769
+ onFocus: handleFocus,
5770
+ onBlur: handleBlur,
5771
+ onKeyDown: handleKeyDown,
5772
+ placeholder: placeholder,
5773
+ disabled: disabled,
5774
+ "aria-label": ariaLabel,
5775
+ "aria-autocomplete": "list",
5776
+ "aria-controls": showSuggestions && hasItems ? 'search-suggestions' : undefined,
5777
+ "aria-expanded": showSuggestions && hasItems,
5778
+ "aria-activedescendant": highlightedIndex >= 0 ? "suggestion-".concat(highlightedIndex) : undefined,
5779
+ role: "combobox"
5780
+ }, inputProps)), loading && jsxRuntime.jsx(Icon, {
5781
+ name: "refresh",
5782
+ size: "sm",
5783
+ iconColor: "subdued",
5784
+ "aria-label": "Loading"
5785
+ }), showClearButton && jsxRuntime.jsx(IconButton, {
5786
+ iconName: "close",
5787
+ size: "small",
5788
+ variant: "naked",
5789
+ onClick: handleClear,
5790
+ "aria-label": "Clear search",
5791
+ tabIndex: -1
5792
+ })]
5793
+ }), showSuggestions && hasItems && jsxRuntime.jsxs(StyledSuggestionsList, {
5794
+ ref: listRef,
5795
+ id: "search-suggestions",
5796
+ role: "listbox",
5797
+ children: [!value.trim() && showRecentSearches && recentSearches.length > 0 && jsxRuntime.jsx(StyledSectionHeader, {
5798
+ children: "Recent Searches"
5799
+ }), displayItems.map(function (item, index) {
5800
+ if (item.type === 'clear') {
5801
+ return jsxRuntime.jsx(ListItem, {
5802
+ role: "option",
5803
+ primary: "Clear recent searches",
5804
+ interactive: true,
5805
+ spacing: "compact",
5806
+ onClick: function onClick() {
5807
+ return handleSuggestionClick(item);
5808
+ },
5809
+ onKeyDown: function onKeyDown(e) {
5810
+ if (e.key === 'Enter' || e.key === ' ') {
5811
+ e.preventDefault();
5812
+ handleSuggestionClick(item);
5813
+ }
5814
+ }
5815
+ }, "clear");
5593
5816
  }
5594
- }, "Clear recent searches");
5595
- }
5596
- var suggestion = item.data;
5597
- var isString = typeof suggestion === 'string';
5598
- var label = isString ? suggestion : suggestion.label;
5599
- var description = !isString ? suggestion.description : undefined;
5600
- return /*#__PURE__*/React.createElement(StyledSuggestionItem, {
5601
- key: isString ? suggestion : suggestion.id,
5602
- id: "suggestion-".concat(index),
5603
- role: "option",
5604
- "aria-selected": index === highlightedIndex,
5605
- $isHighlighted: index === highlightedIndex,
5606
- $isRecent: item.type === 'recent',
5607
- onClick: function onClick() {
5608
- return handleSuggestionClick(item);
5609
- }
5610
- }, item.type === 'recent' && /*#__PURE__*/React.createElement(Icon, {
5611
- name: "refresh",
5612
- size: "xs",
5613
- "aria-hidden": "true"
5614
- }), /*#__PURE__*/React.createElement(Stack, {
5615
- direction: "column",
5616
- gap: "none"
5617
- }, /*#__PURE__*/React.createElement(Typography, {
5618
- variant: "body"
5619
- }, label), description && /*#__PURE__*/React.createElement(Typography, {
5620
- variant: "caption",
5621
- color: "subdued"
5622
- }, description)));
5623
- })));
5817
+ var suggestion = item.data;
5818
+ var isString = typeof suggestion === 'string';
5819
+ var label = isString ? suggestion : suggestion.label;
5820
+ var description = !isString ? suggestion.description : undefined;
5821
+ return jsxRuntime.jsx(ListItem, {
5822
+ id: "suggestion-".concat(index),
5823
+ role: "option",
5824
+ "aria-selected": index === highlightedIndex,
5825
+ primary: label,
5826
+ secondary: description,
5827
+ icon: item.type === 'recent' ? jsxRuntime.jsx(Icon, {
5828
+ name: "refresh",
5829
+ size: "xs",
5830
+ "aria-hidden": "true"
5831
+ }) : undefined,
5832
+ interactive: true,
5833
+ selected: index === highlightedIndex,
5834
+ spacing: "compact",
5835
+ onClick: function onClick() {
5836
+ return handleSuggestionClick(item);
5837
+ }
5838
+ }, isString ? suggestion : suggestion.id);
5839
+ })]
5840
+ })]
5841
+ });
5624
5842
  });
5625
5843
  SearchField.displayName = 'SearchField';
5626
- var templateObject_1$6, templateObject_2$6, templateObject_3$6, templateObject_4$5, templateObject_5$4, templateObject_6$4, templateObject_7$4, templateObject_8$4;
5844
+ var templateObject_1$6, templateObject_2$6, templateObject_3$6, templateObject_4$5, templateObject_5$4;
5627
5845
 
5628
- React.createElement;
5629
5846
  var semantic$3 = tokensData.semantic,
5630
5847
  base$3 = tokensData.base;
5631
5848
  // Fade in animation for overlay
@@ -5803,30 +6020,34 @@ var Sheet = function Sheet(_a) {
5803
6020
  }
5804
6021
  };
5805
6022
  if (!isOpen) return null;
5806
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(StyledOverlay, {
5807
- $isOpen: isOpen,
5808
- onClick: handleOverlayClick,
5809
- "data-testid": dataTestId ? "".concat(dataTestId, "-overlay") : 'sheet-overlay'
5810
- }), /*#__PURE__*/React.createElement(StyledSheet, {
5811
- ref: sheetRef,
5812
- role: "dialog",
5813
- "aria-modal": "true",
5814
- "aria-label": ariaLabel || title || 'Sheet dialog',
5815
- "aria-describedby": ariaDescribedBy,
5816
- tabIndex: -1,
5817
- $position: position,
5818
- $variant: variant,
5819
- $width: width,
5820
- $height: height,
5821
- $isOpen: isOpen,
5822
- onKeyDown: handleKeyDown,
5823
- "data-testid": dataTestId
5824
- }, /*#__PURE__*/React.createElement(StyledSheetContent, null, children)));
6023
+ return jsxRuntime.jsxs(jsxRuntime.Fragment, {
6024
+ children: [jsxRuntime.jsx(StyledOverlay, {
6025
+ "$isOpen": isOpen,
6026
+ onClick: handleOverlayClick,
6027
+ "data-testid": dataTestId ? "".concat(dataTestId, "-overlay") : 'sheet-overlay'
6028
+ }), jsxRuntime.jsx(StyledSheet, {
6029
+ ref: sheetRef,
6030
+ role: "dialog",
6031
+ "aria-modal": "true",
6032
+ "aria-label": ariaLabel || title || 'Sheet dialog',
6033
+ "aria-describedby": ariaDescribedBy,
6034
+ tabIndex: -1,
6035
+ "$position": position,
6036
+ "$variant": variant,
6037
+ "$width": width,
6038
+ "$height": height,
6039
+ "$isOpen": isOpen,
6040
+ onKeyDown: handleKeyDown,
6041
+ "data-testid": dataTestId,
6042
+ children: jsxRuntime.jsx(StyledSheetContent, {
6043
+ children: children
6044
+ })
6045
+ })]
6046
+ });
5825
6047
  };
5826
6048
  Sheet.displayName = 'Sheet';
5827
6049
  var templateObject_1$5, templateObject_2$5, templateObject_3$5, templateObject_4$4, templateObject_5$3, templateObject_6$3, templateObject_7$3, templateObject_8$3, templateObject_9$2, templateObject_10$1, templateObject_11$1, templateObject_12$1, templateObject_13$1;
5828
6050
 
5829
- React.createElement;
5830
6051
  var semantic$2 = tokensData.semantic,
5831
6052
  base$2 = tokensData.base;
5832
6053
  var StyledSliderContainer = styled.div.withConfig({
@@ -6131,90 +6352,108 @@ var Slider = function Slider(_a) {
6131
6352
  var _l = [valueToPercent(currentRangeValue[0]), valueToPercent(currentRangeValue[1])],
6132
6353
  minPercent = _l[0],
6133
6354
  maxPercent = _l[1];
6134
- return /*#__PURE__*/React.createElement(StyledSliderContainer, {
6135
- "data-testid": dataTestId
6136
- }, label && /*#__PURE__*/React.createElement(StyledLabel$1, {
6137
- htmlFor: generatedId,
6138
- $disabled: disabled
6139
- }, label), /*#__PURE__*/React.createElement(StyledSliderTrackContainer, null, /*#__PURE__*/React.createElement(StyledTrack, {
6140
- ref: trackRef,
6141
- onClick: handleTrackClick,
6142
- $disabled: disabled
6143
- }, isRange ? /*#__PURE__*/React.createElement(StyledTrackFill, {
6144
- $disabled: disabled,
6145
- style: {
6146
- left: "".concat(minPercent, "%"),
6147
- width: "".concat(maxPercent - minPercent, "%")
6148
- }
6149
- }) : /*#__PURE__*/React.createElement(StyledTrackFill, {
6150
- $disabled: disabled,
6151
- style: {
6152
- left: 0,
6153
- width: "".concat(singlePercent, "%")
6154
- }
6155
- }), isRange ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(StyledThumb, {
6156
- role: "slider",
6157
- tabIndex: disabled ? -1 : 0,
6158
- "aria-label": ariaLabel ? "".concat(ariaLabel, " minimum") : 'Minimum value',
6159
- "aria-valuemin": min,
6160
- "aria-valuemax": max,
6161
- "aria-valuenow": currentRangeValue[0],
6162
- "aria-valuetext": formatValue(currentRangeValue[0]),
6163
- "aria-disabled": disabled,
6164
- "aria-describedby": ariaDescribedBy,
6165
- $disabled: disabled,
6166
- $active: activeThumb === 'min',
6167
- style: {
6168
- left: "".concat(minPercent, "%")
6169
- },
6170
- onMouseDown: handleThumbMouseDown('min'),
6171
- onKeyDown: handleKeyDown('min')
6172
- }, showValueLabel && /*#__PURE__*/React.createElement(StyledValueLabel, {
6173
- $disabled: disabled
6174
- }, formatValue(currentRangeValue[0]))), /*#__PURE__*/React.createElement(StyledThumb, {
6175
- role: "slider",
6176
- tabIndex: disabled ? -1 : 0,
6177
- "aria-label": ariaLabel ? "".concat(ariaLabel, " maximum") : 'Maximum value',
6178
- "aria-valuemin": min,
6179
- "aria-valuemax": max,
6180
- "aria-valuenow": currentRangeValue[1],
6181
- "aria-valuetext": formatValue(currentRangeValue[1]),
6182
- "aria-disabled": disabled,
6183
- "aria-describedby": ariaDescribedBy,
6184
- $disabled: disabled,
6185
- $active: activeThumb === 'max',
6186
- style: {
6187
- left: "".concat(maxPercent, "%")
6188
- },
6189
- onMouseDown: handleThumbMouseDown('max'),
6190
- onKeyDown: handleKeyDown('max')
6191
- }, showValueLabel && /*#__PURE__*/React.createElement(StyledValueLabel, {
6192
- $disabled: disabled
6193
- }, formatValue(currentRangeValue[1])))) : /*#__PURE__*/React.createElement(StyledThumb, {
6194
- role: "slider",
6195
- tabIndex: disabled ? -1 : 0,
6196
- "aria-label": ariaLabel || label || 'Slider value',
6197
- "aria-valuemin": min,
6198
- "aria-valuemax": max,
6199
- "aria-valuenow": currentValue,
6200
- "aria-valuetext": formatValue(currentValue),
6201
- "aria-disabled": disabled,
6202
- "aria-describedby": ariaDescribedBy,
6203
- $disabled: disabled,
6204
- $active: activeThumb === 'single',
6205
- style: {
6206
- left: "".concat(singlePercent, "%")
6207
- },
6208
- onMouseDown: handleThumbMouseDown('single'),
6209
- onKeyDown: handleKeyDown('single')
6210
- }, showValueLabel && /*#__PURE__*/React.createElement(StyledValueLabel, {
6211
- $disabled: disabled
6212
- }, formatValue(currentValue))))), /*#__PURE__*/React.createElement(StyledMinMaxLabels, null, /*#__PURE__*/React.createElement("span", null, formatValue(min)), /*#__PURE__*/React.createElement("span", null, formatValue(max))));
6355
+ return jsxRuntime.jsxs(StyledSliderContainer, {
6356
+ "data-testid": dataTestId,
6357
+ children: [label && jsxRuntime.jsx(StyledLabel$1, {
6358
+ htmlFor: generatedId,
6359
+ "$disabled": disabled,
6360
+ children: label
6361
+ }), jsxRuntime.jsx(StyledSliderTrackContainer, {
6362
+ children: jsxRuntime.jsxs(StyledTrack, {
6363
+ ref: trackRef,
6364
+ onClick: handleTrackClick,
6365
+ "$disabled": disabled,
6366
+ children: [isRange ? jsxRuntime.jsx(StyledTrackFill, {
6367
+ "$disabled": disabled,
6368
+ style: {
6369
+ left: "".concat(minPercent, "%"),
6370
+ width: "".concat(maxPercent - minPercent, "%")
6371
+ }
6372
+ }) : jsxRuntime.jsx(StyledTrackFill, {
6373
+ "$disabled": disabled,
6374
+ style: {
6375
+ left: 0,
6376
+ width: "".concat(singlePercent, "%")
6377
+ }
6378
+ }), isRange ? jsxRuntime.jsxs(jsxRuntime.Fragment, {
6379
+ children: [jsxRuntime.jsx(StyledThumb, {
6380
+ role: "slider",
6381
+ tabIndex: disabled ? -1 : 0,
6382
+ "aria-label": ariaLabel ? "".concat(ariaLabel, " minimum") : 'Minimum value',
6383
+ "aria-valuemin": min,
6384
+ "aria-valuemax": max,
6385
+ "aria-valuenow": currentRangeValue[0],
6386
+ "aria-valuetext": formatValue(currentRangeValue[0]),
6387
+ "aria-disabled": disabled,
6388
+ "aria-describedby": ariaDescribedBy,
6389
+ "$disabled": disabled,
6390
+ "$active": activeThumb === 'min',
6391
+ style: {
6392
+ left: "".concat(minPercent, "%")
6393
+ },
6394
+ onMouseDown: handleThumbMouseDown('min'),
6395
+ onKeyDown: handleKeyDown('min'),
6396
+ children: showValueLabel && jsxRuntime.jsx(StyledValueLabel, {
6397
+ "$disabled": disabled,
6398
+ children: formatValue(currentRangeValue[0])
6399
+ })
6400
+ }), jsxRuntime.jsx(StyledThumb, {
6401
+ role: "slider",
6402
+ tabIndex: disabled ? -1 : 0,
6403
+ "aria-label": ariaLabel ? "".concat(ariaLabel, " maximum") : 'Maximum value',
6404
+ "aria-valuemin": min,
6405
+ "aria-valuemax": max,
6406
+ "aria-valuenow": currentRangeValue[1],
6407
+ "aria-valuetext": formatValue(currentRangeValue[1]),
6408
+ "aria-disabled": disabled,
6409
+ "aria-describedby": ariaDescribedBy,
6410
+ "$disabled": disabled,
6411
+ "$active": activeThumb === 'max',
6412
+ style: {
6413
+ left: "".concat(maxPercent, "%")
6414
+ },
6415
+ onMouseDown: handleThumbMouseDown('max'),
6416
+ onKeyDown: handleKeyDown('max'),
6417
+ children: showValueLabel && jsxRuntime.jsx(StyledValueLabel, {
6418
+ "$disabled": disabled,
6419
+ children: formatValue(currentRangeValue[1])
6420
+ })
6421
+ })]
6422
+ }) : jsxRuntime.jsx(StyledThumb, {
6423
+ role: "slider",
6424
+ tabIndex: disabled ? -1 : 0,
6425
+ "aria-label": ariaLabel || label || 'Slider value',
6426
+ "aria-valuemin": min,
6427
+ "aria-valuemax": max,
6428
+ "aria-valuenow": currentValue,
6429
+ "aria-valuetext": formatValue(currentValue),
6430
+ "aria-disabled": disabled,
6431
+ "aria-describedby": ariaDescribedBy,
6432
+ "$disabled": disabled,
6433
+ "$active": activeThumb === 'single',
6434
+ style: {
6435
+ left: "".concat(singlePercent, "%")
6436
+ },
6437
+ onMouseDown: handleThumbMouseDown('single'),
6438
+ onKeyDown: handleKeyDown('single'),
6439
+ children: showValueLabel && jsxRuntime.jsx(StyledValueLabel, {
6440
+ "$disabled": disabled,
6441
+ children: formatValue(currentValue)
6442
+ })
6443
+ })]
6444
+ })
6445
+ }), jsxRuntime.jsxs(StyledMinMaxLabels, {
6446
+ children: [jsxRuntime.jsx("span", {
6447
+ children: formatValue(min)
6448
+ }), jsxRuntime.jsx("span", {
6449
+ children: formatValue(max)
6450
+ })]
6451
+ })]
6452
+ });
6213
6453
  };
6214
6454
  Slider.displayName = 'Slider';
6215
6455
  var templateObject_1$4, templateObject_2$4, templateObject_3$4, templateObject_4$3, templateObject_5$2, templateObject_6$2, templateObject_7$2, templateObject_8$2;
6216
6456
 
6217
- React.createElement;
6218
6457
  var semantic$1 = tokensData.semantic,
6219
6458
  base$1 = tokensData.base;
6220
6459
  var StyledTabList = styled.div.withConfig({
@@ -6396,43 +6635,44 @@ var TabBar = function TabBar(_a) {
6396
6635
  (_a = tabRefs.current[newIndex]) === null || _a === void 0 ? void 0 : _a.focus();
6397
6636
  }
6398
6637
  };
6399
- return /*#__PURE__*/React.createElement(StyledTabList, {
6400
- $variant: variant,
6638
+ return jsxRuntime.jsx(StyledTabList, {
6639
+ "$variant": variant,
6401
6640
  role: "tablist",
6402
6641
  "aria-label": ariaLabel,
6403
- "data-testid": dataTestId
6404
- }, tabs.map(function (tab, index) {
6405
- return /*#__PURE__*/React.createElement(StyledTab, {
6406
- key: tab.id,
6407
- ref: function ref(el) {
6408
- tabRefs.current[index] = el;
6409
- },
6410
- $variant: variant,
6411
- $isActive: tab.id === activeTab,
6412
- $disabled: tab.disabled || false,
6413
- role: "tab",
6414
- "aria-selected": tab.id === activeTab,
6415
- "aria-disabled": tab.disabled || false,
6416
- tabIndex: index === focusedIndex ? 0 : -1,
6417
- disabled: tab.disabled,
6418
- onClick: function onClick() {
6419
- return handleTabClick(tab, index);
6420
- },
6421
- onKeyDown: function onKeyDown(e) {
6422
- return handleKeyDown(e, index);
6423
- },
6424
- "data-testid": "".concat(dataTestId, "-tab-").concat(tab.id)
6425
- }, tab.label, typeof tab.badge === 'number' && tab.badge > 0 && /*#__PURE__*/React.createElement(StyledBadge, {
6426
- $variant: variant,
6427
- $isActive: tab.id === activeTab,
6428
- "aria-label": "".concat(tab.badge, " items")
6429
- }, tab.badge > 99 ? '99+' : tab.badge));
6430
- }));
6642
+ "data-testid": dataTestId,
6643
+ children: tabs.map(function (tab, index) {
6644
+ return jsxRuntime.jsxs(StyledTab, {
6645
+ ref: function ref(el) {
6646
+ tabRefs.current[index] = el;
6647
+ },
6648
+ "$variant": variant,
6649
+ "$isActive": tab.id === activeTab,
6650
+ "$disabled": tab.disabled || false,
6651
+ role: "tab",
6652
+ "aria-selected": tab.id === activeTab,
6653
+ "aria-disabled": tab.disabled || false,
6654
+ tabIndex: index === focusedIndex ? 0 : -1,
6655
+ disabled: tab.disabled,
6656
+ onClick: function onClick() {
6657
+ return handleTabClick(tab, index);
6658
+ },
6659
+ onKeyDown: function onKeyDown(e) {
6660
+ return handleKeyDown(e, index);
6661
+ },
6662
+ "data-testid": "".concat(dataTestId, "-tab-").concat(tab.id),
6663
+ children: [tab.label, typeof tab.badge === 'number' && tab.badge > 0 && jsxRuntime.jsx(StyledBadge, {
6664
+ "$variant": variant,
6665
+ "$isActive": tab.id === activeTab,
6666
+ "aria-label": "".concat(tab.badge, " items"),
6667
+ children: tab.badge > 99 ? '99+' : tab.badge
6668
+ })]
6669
+ }, tab.id);
6670
+ })
6671
+ });
6431
6672
  };
6432
6673
  TabBar.displayName = 'TabBar';
6433
6674
  var templateObject_1$3, templateObject_2$3, templateObject_3$3;
6434
6675
 
6435
- React.createElement;
6436
6676
  var semantic = tokensData.semantic,
6437
6677
  base = tokensData.base;
6438
6678
  var StyledFieldContainer = styled.div.withConfig({
@@ -6501,43 +6741,47 @@ var TextField = /*#__PURE__*/React.forwardRef(function (_a, ref) {
6501
6741
  var helperId = helperText && !error ? "".concat(id, "-helper") : undefined;
6502
6742
  var describedBy = [errorId, helperId].filter(Boolean).join(' ') || undefined;
6503
6743
  var hasError = Boolean(error);
6504
- return /*#__PURE__*/React.createElement(StyledFieldContainer, {
6505
- "data-testid": dataTestId
6506
- }, label && /*#__PURE__*/React.createElement(StyledLabel, {
6507
- htmlFor: id,
6508
- "data-disabled": disabled
6509
- }, label, required && /*#__PURE__*/React.createElement(StyledRequiredIndicator, {
6510
- "aria-label": "required"
6511
- }, "*")), /*#__PURE__*/React.createElement(StyledInputBase, _extends({
6512
- ref: ref,
6513
- id: id,
6514
- type: type,
6515
- disabled: disabled,
6516
- required: required,
6517
- "aria-required": required,
6518
- "aria-invalid": hasError,
6519
- "aria-describedby": describedBy,
6520
- $hasError: hasError,
6521
- $disabled: disabled
6522
- }, inputProps)), error && /*#__PURE__*/React.createElement(StyledHelperText, {
6523
- id: errorId,
6524
- role: "alert",
6525
- "aria-live": "polite",
6526
- $hasError: true
6527
- }, error), helperText && !error && /*#__PURE__*/React.createElement(StyledHelperText, {
6528
- id: helperId
6529
- }, helperText));
6744
+ return jsxRuntime.jsxs(StyledFieldContainer, {
6745
+ "data-testid": dataTestId,
6746
+ children: [label && jsxRuntime.jsxs(StyledLabel, {
6747
+ htmlFor: id,
6748
+ "data-disabled": disabled,
6749
+ children: [label, required && jsxRuntime.jsx(StyledRequiredIndicator, {
6750
+ "aria-label": "required",
6751
+ children: "*"
6752
+ })]
6753
+ }), jsxRuntime.jsx(StyledInputBase, __assign({
6754
+ ref: ref,
6755
+ id: id,
6756
+ type: type,
6757
+ disabled: disabled,
6758
+ required: required,
6759
+ "aria-required": required,
6760
+ "aria-invalid": hasError,
6761
+ "aria-describedby": describedBy,
6762
+ "$hasError": hasError,
6763
+ "$disabled": disabled
6764
+ }, inputProps)), error && jsxRuntime.jsx(StyledHelperText, {
6765
+ id: errorId,
6766
+ role: "alert",
6767
+ "aria-live": "polite",
6768
+ "$hasError": true,
6769
+ children: error
6770
+ }), helperText && !error && jsxRuntime.jsx(StyledHelperText, {
6771
+ id: helperId,
6772
+ children: helperText
6773
+ })]
6774
+ });
6530
6775
  });
6531
6776
  TextField.displayName = 'TextField';
6532
6777
  var templateObject_1$2, templateObject_2$2, templateObject_3$2, templateObject_4$2;
6533
6778
 
6534
- React.createElement;
6535
6779
  var StyledContainer = styled.div.withConfig({
6536
6780
  displayName: "TransactionListItem__StyledContainer",
6537
6781
  componentId: "sc-7yunm0-0"
6538
6782
  })(templateObject_1$1 || (templateObject_1$1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n min-height: 72px;\n padding: ", " ", ";\n background-color: ", ";\n border-bottom: 1px solid ", ";\n gap: ", ";\n transition: background-color 0.2s ease;\n \n ", "\n"], ["\n display: flex;\n align-items: center;\n min-height: 72px;\n padding: ", " ", ";\n background-color: ", ";\n border-bottom: 1px solid ", ";\n gap: ", ";\n transition: background-color 0.2s ease;\n \n ", "\n"])), tokensData.semantic.spacing.layout.md, tokensData.semantic.spacing.layout.md, tokensData.semantic.color.background["default"], tokensData.semantic.color.border["default"], tokensData.semantic.spacing.layout.md, function (_a) {
6539
6783
  var $clickable = _a.$clickable;
6540
- return $clickable && "\n cursor: pointer;\n \n &:hover {\n background-color: ".concat(tokensData.semantic.color.background['interactive-hover'], ";\n }\n \n &:active {\n background-color: ").concat(tokensData.semantic.color.background['interactive-active'], ";\n }\n \n &:focus-visible {\n outline: 2px solid ").concat(tokensData.semantic.color.border.interactive, ";\n outline-offset: -2px;\n }\n ");
6784
+ return $clickable && "\n cursor: pointer;\n \n &:hover {\n background-color: ".concat(tokensData.semantic.color.background.subtle, ";\n }\n \n &:active {\n background-color: ").concat(tokensData.semantic.color.background['interactive-active'], ";\n }\n \n &:focus-visible {\n outline: 2px solid ").concat(tokensData.semantic.color.border.interactive, ";\n outline-offset: -2px;\n }\n ");
6541
6785
  });
6542
6786
  var StyledAvatarSection = styled.div.withConfig({
6543
6787
  displayName: "TransactionListItem__StyledAvatarSection",
@@ -6546,7 +6790,7 @@ var StyledAvatarSection = styled.div.withConfig({
6546
6790
  var StyledMainContent = styled.div.withConfig({
6547
6791
  displayName: "TransactionListItem__StyledMainContent",
6548
6792
  componentId: "sc-7yunm0-2"
6549
- })(templateObject_3$1 || (templateObject_3$1 = __makeTemplateObject(["\n flex: 1;\n min-width: 0;\n display: flex;\n flex-direction: column;\n gap: ", ";\n"], ["\n flex: 1;\n min-width: 0;\n display: flex;\n flex-direction: column;\n gap: ", ";\n"])), tokensData.semantic.spacing.layout.xs);
6793
+ })(templateObject_3$1 || (templateObject_3$1 = __makeTemplateObject(["\n flex: 1;\n min-width: 0;\n display: flex;\n flex-direction: column;\n gap: none;\n"], ["\n flex: 1;\n min-width: 0;\n display: flex;\n flex-direction: column;\n gap: none;\n"])));
6550
6794
  var StyledTopRow = styled.div.withConfig({
6551
6795
  displayName: "TransactionListItem__StyledTopRow",
6552
6796
  componentId: "sc-7yunm0-3"
@@ -6554,7 +6798,7 @@ var StyledTopRow = styled.div.withConfig({
6554
6798
  var StyledMerchantSection = styled.div.withConfig({
6555
6799
  displayName: "TransactionListItem__StyledMerchantSection",
6556
6800
  componentId: "sc-7yunm0-4"
6557
- })(templateObject_5$1 || (templateObject_5$1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: ", ";\n min-width: 0;\n flex: 1;\n"], ["\n display: flex;\n align-items: center;\n gap: ", ";\n min-width: 0;\n flex: 1;\n"])), tokensData.semantic.spacing.layout.xs);
6801
+ })(templateObject_5$1 || (templateObject_5$1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: ", ";\n min-width: 0;\n flex: 1;\n"], ["\n display: flex;\n align-items: center;\n gap: ", ";\n min-width: 0;\n flex: 1;\n"])), tokensData.semantic.spacing.layout.sm);
6558
6802
  var StyledBottomRow = styled.div.withConfig({
6559
6803
  displayName: "TransactionListItem__StyledBottomRow",
6560
6804
  componentId: "sc-7yunm0-5"
@@ -6571,21 +6815,40 @@ var StyledTruncatedText = styled.span.withConfig({
6571
6815
  displayName: "TransactionListItem__StyledTruncatedText",
6572
6816
  componentId: "sc-7yunm0-8"
6573
6817
  })(templateObject_9$1 || (templateObject_9$1 = __makeTemplateObject(["\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n"], ["\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n"
6574
- // Map categories to icon names (using placeholders until custom icons available)
6818
+ // Map categories to CategoryBadge configurations
6575
6819
  ])));
6576
- // Map categories to icon names (using placeholders until custom icons available)
6577
- var categoryToIcon = {
6578
- shopping: 'paper',
6579
- // Will use shopping bag icon
6580
- dining: 'paper',
6581
- // Will use restaurant icon
6582
- transport: 'paper',
6583
- // Will use car icon
6584
- entertainment: 'star',
6585
- // Will use ticket icon
6586
- bills: 'paper',
6587
- // Will use document icon
6588
- other: 'paper'
6820
+ // Map categories to CategoryBadge configurations
6821
+ var categoryConfig = {
6822
+ shopping: {
6823
+ color: 'purple',
6824
+ icon: 'paper',
6825
+ label: 'Shopping'
6826
+ },
6827
+ dining: {
6828
+ color: 'orange',
6829
+ icon: 'paper',
6830
+ label: 'Dining'
6831
+ },
6832
+ transport: {
6833
+ color: 'blue',
6834
+ icon: 'paper',
6835
+ label: 'Transport'
6836
+ },
6837
+ entertainment: {
6838
+ color: 'pink',
6839
+ icon: 'star',
6840
+ label: 'Entertainment'
6841
+ },
6842
+ bills: {
6843
+ color: 'red',
6844
+ icon: 'paper',
6845
+ label: 'Bills'
6846
+ },
6847
+ other: {
6848
+ color: 'gray',
6849
+ icon: 'paper',
6850
+ label: 'Other'
6851
+ }
6589
6852
  };
6590
6853
  // Map status to badge variant
6591
6854
  var statusToBadgeVariant = {
@@ -6622,8 +6885,8 @@ var TransactionListItem = function TransactionListItem(_a) {
6622
6885
  var isClickable = !!onClick;
6623
6886
  // Determine amount variant
6624
6887
  var amountVariant = amount > 0 ? 'positive' : amount < 0 ? 'negative' : 'default';
6625
- // Get category icon
6626
- var categoryIcon = category ? categoryToIcon[category] : undefined;
6888
+ // Get category configuration
6889
+ var categoryData = category ? categoryConfig[category] : undefined;
6627
6890
  // Get badge variant from status
6628
6891
  var badgeVariant = statusToBadgeVariant[status];
6629
6892
  var handleClick = function handleClick() {
@@ -6637,71 +6900,95 @@ var TransactionListItem = function TransactionListItem(_a) {
6637
6900
  onClick === null || onClick === void 0 ? void 0 : onClick();
6638
6901
  }
6639
6902
  };
6640
- return /*#__PURE__*/React.createElement(StyledContainer, {
6641
- $clickable: isClickable,
6903
+ return jsxRuntime.jsxs(StyledContainer, {
6904
+ "$clickable": isClickable,
6642
6905
  onClick: handleClick,
6643
6906
  onKeyDown: handleKeyDown,
6644
6907
  tabIndex: isClickable ? 0 : undefined,
6645
6908
  role: isClickable ? 'button' : undefined,
6646
6909
  "aria-label": isClickable ? "".concat(merchant, " transaction, ").concat(amount < 0 ? 'expense' : 'income', " of ").concat(Math.abs(amount)) : undefined,
6647
- "data-testid": dataTestId
6648
- }, /*#__PURE__*/React.createElement(StyledAvatarSection, null, status === 'pending' ? /*#__PURE__*/React.createElement(Badge, {
6649
- variant: badgeVariant,
6650
- dot: true,
6651
- "aria-label": "Pending transaction"
6652
- }, /*#__PURE__*/React.createElement(Avatar, {
6653
- name: merchant,
6654
- picture: merchantLogo,
6655
- size: "md"
6656
- })) : /*#__PURE__*/React.createElement(Avatar, {
6657
- name: merchant,
6658
- picture: merchantLogo,
6659
- size: "md"
6660
- })), /*#__PURE__*/React.createElement(StyledMainContent, null, /*#__PURE__*/React.createElement(StyledTopRow, null, /*#__PURE__*/React.createElement(StyledMerchantSection, null, categoryIcon && /*#__PURE__*/React.createElement("span", {
6661
- "aria-label": "Category: ".concat(category),
6662
- role: "img"
6663
- }, /*#__PURE__*/React.createElement(Icon, {
6664
- name: categoryIcon,
6665
- size: "sm",
6666
- iconColor: "subdued"
6667
- })), /*#__PURE__*/React.createElement(StyledTruncatedText, null, /*#__PURE__*/React.createElement(Typography, {
6668
- variant: "body"
6669
- }, merchant)), status === 'failed' && /*#__PURE__*/React.createElement(Badge, {
6670
- variant: "error",
6671
- dot: true,
6672
- "aria-label": "Failed transaction"
6673
- }, /*#__PURE__*/React.createElement("span", null))), /*#__PURE__*/React.createElement(MoneyDisplay, {
6674
- amount: amount,
6675
- currency: currency,
6676
- variant: amountVariant,
6677
- size: "medium",
6678
- weight: "medium",
6679
- showSign: true,
6680
- "data-testid": dataTestId ? "".concat(dataTestId, "-amount") : undefined
6681
- })), /*#__PURE__*/React.createElement(StyledBottomRow, null, /*#__PURE__*/React.createElement(StyledMetadata, null, /*#__PURE__*/React.createElement(DateFormatter, {
6682
- dateString: typeof date === 'string' ? date : date.toISOString(),
6683
- mode: "smart",
6684
- "data-testid": dataTestId ? "".concat(dataTestId, "-date") : undefined
6685
- }), description && /*#__PURE__*/React.createElement(StyledTruncatedText, null, /*#__PURE__*/React.createElement(Typography, {
6686
- variant: "caption",
6687
- color: "subdued"
6688
- }, "\u2022 ", description))), (hasReceipt || hasNote) && /*#__PURE__*/React.createElement(StyledIconIndicator, null, hasReceipt && /*#__PURE__*/React.createElement("span", {
6689
- "aria-label": "Has receipt",
6690
- role: "img"
6691
- }, /*#__PURE__*/React.createElement(Icon, {
6692
- name: "fileDocSearch",
6693
- size: "xs"
6694
- })), hasNote && /*#__PURE__*/React.createElement("span", {
6695
- "aria-label": "Has note",
6696
- role: "img"
6697
- }, /*#__PURE__*/React.createElement(Icon, {
6698
- name: "paper",
6699
- size: "xs"
6700
- }))))));
6910
+ "data-testid": dataTestId,
6911
+ children: [jsxRuntime.jsx(StyledAvatarSection, {
6912
+ children: status === 'pending' ? jsxRuntime.jsx(Badge, {
6913
+ variant: badgeVariant,
6914
+ dot: true,
6915
+ "aria-label": "Pending transaction",
6916
+ children: jsxRuntime.jsx(Avatar, {
6917
+ name: merchant,
6918
+ picture: merchantLogo,
6919
+ size: "md"
6920
+ })
6921
+ }) : jsxRuntime.jsx(Avatar, {
6922
+ name: merchant,
6923
+ picture: merchantLogo,
6924
+ size: "md"
6925
+ })
6926
+ }), jsxRuntime.jsxs(StyledMainContent, {
6927
+ children: [jsxRuntime.jsxs(StyledTopRow, {
6928
+ children: [jsxRuntime.jsxs(StyledMerchantSection, {
6929
+ children: [jsxRuntime.jsx(StyledTruncatedText, {
6930
+ children: jsxRuntime.jsx(Typography, {
6931
+ variant: "body",
6932
+ children: merchant
6933
+ })
6934
+ }), categoryData && jsxRuntime.jsx(CategoryBadge, {
6935
+ color: categoryData.color,
6936
+ icon: categoryData.icon,
6937
+ size: "small",
6938
+ variant: "minimal",
6939
+ "aria-label": "Category: ".concat(categoryData.label),
6940
+ children: categoryData.label
6941
+ }), status === 'failed' && jsxRuntime.jsx(Badge, {
6942
+ variant: "error",
6943
+ dot: true,
6944
+ "aria-label": "Failed transaction",
6945
+ children: jsxRuntime.jsx("span", {})
6946
+ })]
6947
+ }), jsxRuntime.jsx(MoneyDisplay, {
6948
+ amount: amount,
6949
+ currency: currency,
6950
+ variant: amountVariant,
6951
+ size: "medium",
6952
+ weight: "medium",
6953
+ showSign: true,
6954
+ "data-testid": dataTestId ? "".concat(dataTestId, "-amount") : undefined
6955
+ })]
6956
+ }), jsxRuntime.jsxs(StyledBottomRow, {
6957
+ children: [jsxRuntime.jsxs(StyledMetadata, {
6958
+ children: [jsxRuntime.jsx(DateFormatter, {
6959
+ dateString: typeof date === 'string' ? date : date.toISOString(),
6960
+ mode: "smart",
6961
+ "data-testid": dataTestId ? "".concat(dataTestId, "-date") : undefined
6962
+ }), description && jsxRuntime.jsx(StyledTruncatedText, {
6963
+ children: jsxRuntime.jsxs(Typography, {
6964
+ variant: "small",
6965
+ color: "subdued",
6966
+ children: ["\u2022 ", description]
6967
+ })
6968
+ })]
6969
+ }), (hasReceipt || hasNote) && jsxRuntime.jsxs(StyledIconIndicator, {
6970
+ children: [hasReceipt && jsxRuntime.jsx("span", {
6971
+ "aria-label": "Has receipt",
6972
+ role: "img",
6973
+ children: jsxRuntime.jsx(Icon, {
6974
+ name: "fileDocSearch",
6975
+ size: "xs"
6976
+ })
6977
+ }), hasNote && jsxRuntime.jsx("span", {
6978
+ "aria-label": "Has note",
6979
+ role: "img",
6980
+ children: jsxRuntime.jsx(Icon, {
6981
+ name: "paper",
6982
+ size: "xs"
6983
+ })
6984
+ })]
6985
+ })]
6986
+ })]
6987
+ })]
6988
+ });
6701
6989
  };
6702
6990
  var templateObject_1$1, templateObject_2$1, templateObject_3$1, templateObject_4$1, templateObject_5$1, templateObject_6$1, templateObject_7$1, templateObject_8$1, templateObject_9$1;
6703
6991
 
6704
- React.createElement;
6705
6992
  // Breakpoints using base tokens
6706
6993
  var breakpoints = {
6707
6994
  xs: tokensData.base.breakpoint.xs,
@@ -6743,13 +7030,14 @@ var Grid = function Grid(_a) {
6743
7030
  gapY = _a.gapY,
6744
7031
  className = _a.className,
6745
7032
  children = _a.children;
6746
- return /*#__PURE__*/React.createElement(GridContainer, {
6747
- $cols: cols,
6748
- $gap: gap ? tokensData.base.spacing[gap] : undefined,
6749
- $gapX: gapX ? tokensData.base.spacing[gapX] : undefined,
6750
- $gapY: gapY ? tokensData.base.spacing[gapY] : undefined,
6751
- className: className
6752
- }, children);
7033
+ return jsxRuntime.jsx(GridContainer, {
7034
+ "$cols": cols,
7035
+ "$gap": gap ? tokensData.base.spacing[gap] : undefined,
7036
+ "$gapX": gapX ? tokensData.base.spacing[gapX] : undefined,
7037
+ "$gapY": gapY ? tokensData.base.spacing[gapY] : undefined,
7038
+ className: className,
7039
+ children: children
7040
+ });
6753
7041
  };
6754
7042
  var GridColContainer = styled.div.withConfig({
6755
7043
  shouldForwardProp: function shouldForwardProp(prop) {
@@ -6791,19 +7079,20 @@ var GridCol = function GridCol(_a) {
6791
7079
  orderXl = _a.orderXl,
6792
7080
  className = _a.className,
6793
7081
  children = _a.children;
6794
- return /*#__PURE__*/React.createElement(GridColContainer, {
6795
- $span: span,
6796
- $spanSm: spanSm,
6797
- $spanMd: spanMd,
6798
- $spanLg: spanLg,
6799
- $spanXl: spanXl,
6800
- $order: order,
6801
- $orderSm: orderSm,
6802
- $orderMd: orderMd,
6803
- $orderLg: orderLg,
6804
- $orderXl: orderXl,
6805
- className: className
6806
- }, children);
7082
+ return jsxRuntime.jsx(GridColContainer, {
7083
+ "$span": span,
7084
+ "$spanSm": spanSm,
7085
+ "$spanMd": spanMd,
7086
+ "$spanLg": spanLg,
7087
+ "$spanXl": spanXl,
7088
+ "$order": order,
7089
+ "$orderSm": orderSm,
7090
+ "$orderMd": orderMd,
7091
+ "$orderLg": orderLg,
7092
+ "$orderXl": orderXl,
7093
+ className: className,
7094
+ children: children
7095
+ });
6807
7096
  };
6808
7097
  var ResponsiveGridContainer = styled.div.withConfig({
6809
7098
  shouldForwardProp: function shouldForwardProp(prop) {
@@ -6875,29 +7164,30 @@ var ResponsiveGrid = function ResponsiveGrid(_a) {
6875
7164
  gapYXl = _a.gapYXl,
6876
7165
  className = _a.className,
6877
7166
  children = _a.children;
6878
- return /*#__PURE__*/React.createElement(ResponsiveGridContainer, {
6879
- $cols: cols,
6880
- $colsSm: colsSm,
6881
- $colsMd: colsMd,
6882
- $colsLg: colsLg,
6883
- $colsXl: colsXl,
6884
- $gap: gap ? tokensData.base.spacing[gap] : undefined,
6885
- $gapSm: gapSm ? tokensData.base.spacing[gapSm] : undefined,
6886
- $gapMd: gapMd ? tokensData.base.spacing[gapMd] : undefined,
6887
- $gapLg: gapLg ? tokensData.base.spacing[gapLg] : undefined,
6888
- $gapXl: gapXl ? tokensData.base.spacing[gapXl] : undefined,
6889
- $gapX: gapX ? tokensData.base.spacing[gapX] : undefined,
6890
- $gapXSm: gapXSm ? tokensData.base.spacing[gapXSm] : undefined,
6891
- $gapXMd: gapXMd ? tokensData.base.spacing[gapXMd] : undefined,
6892
- $gapXLg: gapXLg ? tokensData.base.spacing[gapXLg] : undefined,
6893
- $gapXXl: gapXXl ? tokensData.base.spacing[gapXXl] : undefined,
6894
- $gapY: gapY ? tokensData.base.spacing[gapY] : undefined,
6895
- $gapYSm: gapYSm ? tokensData.base.spacing[gapYSm] : undefined,
6896
- $gapYMd: gapYMd ? tokensData.base.spacing[gapYMd] : undefined,
6897
- $gapYLg: gapYLg ? tokensData.base.spacing[gapYLg] : undefined,
6898
- $gapYXl: gapYXl ? tokensData.base.spacing[gapYXl] : undefined,
6899
- className: className
6900
- }, children);
7167
+ return jsxRuntime.jsx(ResponsiveGridContainer, {
7168
+ "$cols": cols,
7169
+ "$colsSm": colsSm,
7170
+ "$colsMd": colsMd,
7171
+ "$colsLg": colsLg,
7172
+ "$colsXl": colsXl,
7173
+ "$gap": gap ? tokensData.base.spacing[gap] : undefined,
7174
+ "$gapSm": gapSm ? tokensData.base.spacing[gapSm] : undefined,
7175
+ "$gapMd": gapMd ? tokensData.base.spacing[gapMd] : undefined,
7176
+ "$gapLg": gapLg ? tokensData.base.spacing[gapLg] : undefined,
7177
+ "$gapXl": gapXl ? tokensData.base.spacing[gapXl] : undefined,
7178
+ "$gapX": gapX ? tokensData.base.spacing[gapX] : undefined,
7179
+ "$gapXSm": gapXSm ? tokensData.base.spacing[gapXSm] : undefined,
7180
+ "$gapXMd": gapXMd ? tokensData.base.spacing[gapXMd] : undefined,
7181
+ "$gapXLg": gapXLg ? tokensData.base.spacing[gapXLg] : undefined,
7182
+ "$gapXXl": gapXXl ? tokensData.base.spacing[gapXXl] : undefined,
7183
+ "$gapY": gapY ? tokensData.base.spacing[gapY] : undefined,
7184
+ "$gapYSm": gapYSm ? tokensData.base.spacing[gapYSm] : undefined,
7185
+ "$gapYMd": gapYMd ? tokensData.base.spacing[gapYMd] : undefined,
7186
+ "$gapYLg": gapYLg ? tokensData.base.spacing[gapYLg] : undefined,
7187
+ "$gapYXl": gapYXl ? tokensData.base.spacing[gapYXl] : undefined,
7188
+ className: className,
7189
+ children: children
7190
+ });
6901
7191
  };
6902
7192
  var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22, templateObject_23, templateObject_24, templateObject_25, templateObject_26, templateObject_27, templateObject_28, templateObject_29, templateObject_30, templateObject_31, templateObject_32, templateObject_33, templateObject_34, templateObject_35;
6903
7193