@common-origin/design-system 2.3.0 → 2.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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('$');
@@ -899,7 +889,7 @@ var AvatarInitials = styled.span.withConfig({
899
889
  },
900
890
  displayName: "Avatar__AvatarInitials",
901
891
  componentId: "sc-ezn4ax-2"
902
- })(templateObject_3$p || (templateObject_3$p = __makeTemplateObject(["\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n color: ", ";\n line-height: 1;\n text-transform: uppercase;\n user-select: none;\n"], ["\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n color: ", ";\n line-height: 1;\n text-transform: uppercase;\n user-select: none;\n"
892
+ })(templateObject_3$q || (templateObject_3$q = __makeTemplateObject(["\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n color: ", ";\n line-height: 1;\n text-transform: uppercase;\n user-select: none;\n"], ["\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n color: ", ";\n line-height: 1;\n text-transform: uppercase;\n user-select: none;\n"
903
893
  // Helper function to get initials from name
904
894
  ])), tokensData.base.fontFamily.body, tokensData.base.fontWeight[3], function (_a) {
905
895
  var $size = _a.$size;
@@ -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
- var templateObject_1$I, templateObject_2$t, templateObject_3$p;
958
+ var templateObject_1$I, templateObject_2$t, templateObject_3$q;
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"])));
@@ -1113,7 +1105,7 @@ var BadgeIndicator = styled.span.withConfig({
1113
1105
  },
1114
1106
  displayName: "Badge__BadgeIndicator",
1115
1107
  componentId: "sc-tjz4pp-1"
1116
- })(templateObject_3$o || (templateObject_3$o = __makeTemplateObject(["\n position: absolute;\n top: 0;\n right: 0;\n transform: translate(50%, -50%);\n display: ", ";\n align-items: center;\n justify-content: center;\n min-width: ", ";\n height: ", ";\n padding: ", ";\n border-radius: ", ";\n line-height: 1;\n white-space: nowrap;\n box-shadow: 0 0 0 2px ", ";\n animation: ", " 0.2s ease-out;\n \n ", "\n"], ["\n position: absolute;\n top: 0;\n right: 0;\n transform: translate(50%, -50%);\n display: ", ";\n align-items: center;\n justify-content: center;\n min-width: ", ";\n height: ", ";\n padding: ", ";\n border-radius: ", ";\n line-height: 1;\n white-space: nowrap;\n box-shadow: 0 0 0 2px ", ";\n animation: ", " 0.2s ease-out;\n \n ", "\n"])), function (props) {
1108
+ })(templateObject_3$p || (templateObject_3$p = __makeTemplateObject(["\n position: absolute;\n top: 0;\n right: 0;\n transform: translate(50%, -50%);\n display: ", ";\n align-items: center;\n justify-content: center;\n min-width: ", ";\n height: ", ";\n padding: ", ";\n border-radius: ", ";\n line-height: 1;\n white-space: nowrap;\n box-shadow: 0 0 0 2px ", ";\n animation: ", " 0.2s ease-out;\n \n ", "\n"], ["\n position: absolute;\n top: 0;\n right: 0;\n transform: translate(50%, -50%);\n display: ", ";\n align-items: center;\n justify-content: center;\n min-width: ", ";\n height: ", ";\n padding: ", ";\n border-radius: ", ";\n line-height: 1;\n white-space: nowrap;\n box-shadow: 0 0 0 2px ", ";\n animation: ", " 0.2s ease-out;\n \n ", "\n"])), function (props) {
1117
1109
  return props.$isVisible ? 'flex' : 'none';
1118
1110
  }, function (props) {
1119
1111
  return props.$isDot ? '8px' : '16px';
@@ -1156,46 +1148,50 @@ 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
- var templateObject_1$G, templateObject_2$s, templateObject_3$o, templateObject_4$j;
1169
+ var templateObject_1$G, templateObject_2$s, templateObject_3$p, 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);
1185
1181
  }, function (props) {
1186
1182
  return props.$flexDirection && styled.css(templateObject_2$r || (templateObject_2$r = __makeTemplateObject(["flex-direction: ", ";"], ["flex-direction: ", ";"])), props.$flexDirection);
1187
1183
  }, function (props) {
1188
- return props.$justifyContent && styled.css(templateObject_3$n || (templateObject_3$n = __makeTemplateObject(["justify-content: ", ";"], ["justify-content: ", ";"])), props.$justifyContent);
1184
+ return props.$justifyContent && styled.css(templateObject_3$o || (templateObject_3$o = __makeTemplateObject(["justify-content: ", ";"], ["justify-content: ", ";"])), props.$justifyContent);
1189
1185
  }, function (props) {
1190
1186
  return props.$alignItems && styled.css(templateObject_4$i || (templateObject_4$i = __makeTemplateObject(["align-items: ", ";"], ["align-items: ", ";"])), props.$alignItems);
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
+ }, function (props) {
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);
1263
1265
  }, function (props) {
1264
- return props.$overflowX && styled.css(templateObject_41 || (templateObject_41 = __makeTemplateObject(["overflow-x: ", ";"], ["overflow-x: ", ";"])), props.$overflowX);
1266
+ return props.$overflow && styled.css(templateObject_46 || (templateObject_46 = __makeTemplateObject(["overflow: ", ";"], ["overflow: ", ";"])), props.$overflow);
1265
1267
  }, function (props) {
1266
- return props.$overflowY && styled.css(templateObject_42 || (templateObject_42 = __makeTemplateObject(["overflow-y: ", ";"], ["overflow-y: ", ";"])), props.$overflowY);
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$o, 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,40 +1670,41 @@ 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
1670
1700
  var baseButtonStyles = "\n box-sizing: border-box;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: ".concat(tokensData.semantic.spacing.layout.xs, ";\n height: max-content;\n cursor: pointer;\n border: none;\n text-decoration: none;\n transition: ").concat(semantic$f.motion.hover, ";\n white-space: nowrap;\n user-select: none;\n \n &:focus {\n outline: ").concat(button.focus.outline, ";\n outline-offset: ").concat(button.focus.outlineOffset, ";\n }\n\n &:disabled {\n cursor: not-allowed;\n }\n");
1671
1701
  // Dynamic variant styles using component tokens
1672
- var getVariantStyles = function getVariantStyles(_a) {
1702
+ var getVariantStyles$1 = function getVariantStyles(_a) {
1673
1703
  var $variant = _a.$variant;
1674
1704
  return "\n background-color: ".concat($variant === 'primary' ? button.primary.backgroundColor : $variant === 'secondary' ? button.variants.secondary.backgroundColor : button.variants.naked.backgroundColor, ";\n color: ").concat($variant === 'primary' ? button.primary.textColor : $variant === 'secondary' ? button.variants.secondary.textColor : button.variants.naked.textColor, ";\n \n &:hover:not(:disabled) {\n background-color: ").concat($variant === 'primary' ? button.hover.backgroundColor : $variant === 'secondary' ? button.variants.secondary.hover.backgroundColor : button.variants.naked.hover.backgroundColor, ";\n }\n\n &:active:not(:disabled) {\n background-color: ").concat($variant === 'primary' ? button.active.backgroundColor : $variant === 'secondary' ? button.variants.secondary.active.backgroundColor : button.variants.naked.active.backgroundColor, ";\n }\n\n &:disabled {\n background-color: ").concat($variant === 'primary' ? button.disabled.backgroundColor : $variant === 'secondary' ? button.variants.secondary.disabled.backgroundColor : button.variants.naked.disabled.backgroundColor, ";\n color: ").concat($variant === 'primary' ? button.disabled.textColor : $variant === 'secondary' ? button.variants.secondary.disabled.textColor : button.variants.naked.disabled.textColor, ";\n }\n");
1675
1705
  };
1676
1706
  // Dynamic size styles using component tokens
1677
- var getSizeStyles$2 = function getSizeStyles(_a) {
1707
+ var getSizeStyles$3 = function getSizeStyles(_a) {
1678
1708
  var $size = _a.$size;
1679
1709
  switch ($size) {
1680
1710
  case 'small':
@@ -1693,7 +1723,7 @@ var StyledButton = styled.button.withConfig({
1693
1723
  },
1694
1724
  displayName: "Button__StyledButton",
1695
1725
  componentId: "sc-1eiuum9-0"
1696
- })(templateObject_1$D || (templateObject_1$D = __makeTemplateObject(["\n ", "\n border-radius: ", ";\n \n ", "\n ", "\n"], ["\n ", "\n border-radius: ", ";\n \n ", "\n ", "\n"])), baseButtonStyles, button.primary.borderRadius, getVariantStyles, getSizeStyles$2);
1726
+ })(templateObject_1$D || (templateObject_1$D = __makeTemplateObject(["\n ", "\n border-radius: ", ";\n \n ", "\n ", "\n"], ["\n ", "\n border-radius: ", ";\n \n ", "\n ", "\n"])), baseButtonStyles, button.primary.borderRadius, getVariantStyles$1, getSizeStyles$3);
1697
1727
  var StyledLink = styled.a.withConfig({
1698
1728
  shouldForwardProp: function shouldForwardProp(prop) {
1699
1729
  return !prop.startsWith('$');
@@ -1702,7 +1732,7 @@ var StyledLink = styled.a.withConfig({
1702
1732
  componentId: "sc-1eiuum9-1"
1703
1733
  })(templateObject_2$q || (templateObject_2$q = __makeTemplateObject(["\n ", "\n border-radius: ", ";\n \n ", "\n ", "\n"], ["\n ", "\n border-radius: ", ";\n \n ", "\n ", "\n"
1704
1734
  // Helper function to get icon size based on button size
1705
- ])), baseButtonStyles, button.primary.borderRadius, getVariantStyles, getSizeStyles$2);
1735
+ ])), baseButtonStyles, button.primary.borderRadius, getVariantStyles$1, getSizeStyles$3);
1706
1736
  // Helper function to get icon size based on button size
1707
1737
  var getIconSize = function getIconSize(buttonSize) {
1708
1738
  switch (buttonSize) {
@@ -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) {
@@ -1820,7 +1858,7 @@ var getColorStyles = function getColorStyles(color, variant) {
1820
1858
  borderColor: 'transparent'
1821
1859
  };
1822
1860
  };
1823
- var getSizeStyles$1 = function getSizeStyles(size) {
1861
+ var getSizeStyles$2 = function getSizeStyles(size) {
1824
1862
  if (size === 'small') {
1825
1863
  return {
1826
1864
  height: '24px',
@@ -1909,7 +1947,7 @@ var CategoryBadge = function CategoryBadge(_a) {
1909
1947
  var hasClickHandler = Boolean(onClick);
1910
1948
  var isClickable = hasClickHandler && !disabled;
1911
1949
  var colorStyles = getColorStyles(color, variant);
1912
- var sizeStyles = getSizeStyles$1(size);
1950
+ var sizeStyles = getSizeStyles$2(size);
1913
1951
  var cssProps = {
1914
1952
  '--category-badge-bg': colorStyles.backgroundColor,
1915
1953
  '--category-badge-color': colorStyles.color,
@@ -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,78 +1983,69 @@ 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;
1957
1997
 
1958
1998
  var chip = tokensData.component.chip;
1959
- // Helper function to get variant styles as objects for CSS custom properties
1960
- var getVariantStylesAsObject = function getVariantStylesAsObject(variant, selected) {
1999
+ // Helper function to get variant styles matching Button's approach
2000
+ var getVariantStyles = function getVariantStyles(_a) {
2001
+ var $variant = _a.$variant,
2002
+ $selected = _a.$selected;
1961
2003
  // Boolean chips with selected state get special background
1962
- if (selected) {
1963
- return {
1964
- backgroundColor: tokensData.semantic.color.background['interactive-subtle'],
1965
- color: chip["default"].textColor
1966
- };
2004
+ if ($selected) {
2005
+ return "\n background-color: ".concat(tokensData.semantic.color.background['interactive-subtle'], ";\n color: ").concat(chip["default"].textColor, ";\n ");
1967
2006
  }
1968
- switch (variant) {
2007
+ switch ($variant) {
1969
2008
  case 'emphasis':
1970
- return {
1971
- backgroundColor: chip.variants.emphasis.backgroundColor,
1972
- color: chip.variants.emphasis.textColor
1973
- };
2009
+ return "\n background-color: ".concat(chip.variants.emphasis.backgroundColor, ";\n color: ").concat(chip.variants.emphasis.textColor, ";\n ");
1974
2010
  case 'subtle':
1975
- return {
1976
- backgroundColor: chip.variants.subtle.backgroundColor,
1977
- color: chip.variants.subtle.textColor
1978
- };
2011
+ return "\n background-color: ".concat(chip.variants.subtle.backgroundColor, ";\n color: ").concat(chip.variants.subtle.textColor, ";\n ");
1979
2012
  case 'interactive':
1980
- return {
1981
- backgroundColor: chip.variants.interactive.backgroundColor,
1982
- color: chip.variants.interactive.textColor
1983
- };
2013
+ return "\n background-color: ".concat(chip.variants.interactive.backgroundColor, ";\n color: ").concat(chip.variants.interactive.textColor, ";\n ");
1984
2014
  case 'default':
1985
2015
  default:
1986
- return {
1987
- backgroundColor: chip["default"].backgroundColor,
1988
- color: chip["default"].textColor
1989
- };
2016
+ return "\n background-color: ".concat(chip["default"].backgroundColor, ";\n color: ").concat(chip["default"].textColor, ";\n ");
1990
2017
  }
1991
2018
  };
1992
- // Helper function to get size styles as objects for CSS custom properties
1993
- var getSizeStylesAsObject = function getSizeStylesAsObject(size) {
1994
- switch (size) {
2019
+ // Helper function to get size styles matching Button's approach
2020
+ var getSizeStyles$1 = function getSizeStyles(_a) {
2021
+ var $size = _a.$size;
2022
+ switch ($size) {
1995
2023
  case 'small':
1996
- return {
1997
- font: chip.sizes.small.font,
1998
- padding: chip.sizes.small.padding
1999
- };
2024
+ return "\n font: ".concat(chip.sizes.small.font, ";\n padding: ").concat(chip.sizes.small.padding, ";\n ");
2000
2025
  case 'medium':
2001
2026
  default:
2002
- return {
2003
- font: chip.sizes.medium.font,
2004
- padding: chip.sizes.medium.padding
2005
- };
2027
+ return "\n font: ".concat(chip.sizes.medium.font, ";\n padding: ").concat(chip.sizes.medium.padding, ";\n ");
2006
2028
  }
2007
2029
  };
2008
2030
 
2009
- React.createElement;
2010
- // Base styled component using CSS variables to avoid prop leaking
2011
- var BaseChipStyled = styled.span.withConfig({
2031
+ // Base styled component using direct prop interpolation like Button
2032
+ var StyledChip = styled.span.withConfig({
2012
2033
  shouldForwardProp: function shouldForwardProp(prop) {
2013
2034
  return !prop.startsWith('$');
2014
2035
  },
2015
- displayName: "ChipBase__BaseChipStyled",
2036
+ displayName: "ChipBase__StyledChip",
2016
2037
  componentId: "sc-moa6zc-0"
2017
- })(templateObject_1$B || (templateObject_1$B = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: fit-content;\n height: max-content;\n border-radius: 12px;\n box-sizing: border-box;\n user-select: none;\n white-space: nowrap;\n transition: width ", ";\n \n /* Use CSS custom properties set by wrapper */\n background-color: var(--chip-bg-color);\n color: var(--chip-text-color);\n font: var(--chip-font);\n padding: var(--chip-padding);\n opacity: var(--chip-opacity, 1);\n cursor: var(--chip-cursor, default);\n \n &:hover {\n opacity: var(--chip-hover-opacity, var(--chip-opacity, 1));\n }\n \n &:active {\n opacity: var(--chip-active-opacity, var(--chip-opacity, 1));\n }\n \n &:focus-visible {\n outline: 2px solid ", ";\n outline-offset: 2px;\n }\n"], ["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: fit-content;\n height: max-content;\n border-radius: 12px;\n box-sizing: border-box;\n user-select: none;\n white-space: nowrap;\n transition: width ", ";\n \n /* Use CSS custom properties set by wrapper */\n background-color: var(--chip-bg-color);\n color: var(--chip-text-color);\n font: var(--chip-font);\n padding: var(--chip-padding);\n opacity: var(--chip-opacity, 1);\n cursor: var(--chip-cursor, default);\n \n &:hover {\n opacity: var(--chip-hover-opacity, var(--chip-opacity, 1));\n }\n \n &:active {\n opacity: var(--chip-active-opacity, var(--chip-opacity, 1));\n }\n \n &:focus-visible {\n outline: 2px solid ", ";\n outline-offset: 2px;\n }\n"
2038
+ })(templateObject_1$B || (templateObject_1$B = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: fit-content;\n height: max-content;\n border-radius: 12px;\n box-sizing: border-box;\n user-select: none;\n white-space: nowrap;\n transition: width ", ", background-color ", ";\n cursor: ", ";\n opacity: ", ";\n \n ", "\n ", "\n \n &:hover {\n opacity: ", ";\n }\n \n &:active {\n opacity: ", ";\n }\n \n &:focus-visible {\n outline: 2px solid ", ";\n outline-offset: 2px;\n }\n"], ["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: fit-content;\n height: max-content;\n border-radius: 12px;\n box-sizing: border-box;\n user-select: none;\n white-space: nowrap;\n transition: width ", ", background-color ", ";\n cursor: ", ";\n opacity: ", ";\n \n ", "\n ", "\n \n &:hover {\n opacity: ", ";\n }\n \n &:active {\n opacity: ", ";\n }\n \n &:focus-visible {\n outline: 2px solid ", ";\n outline-offset: 2px;\n }\n"
2018
2039
  // Icon container for selected indicator or leading icons
2019
- ])), tokensData.semantic.motion.interactive, chip.variants.interactive.backgroundColor);
2040
+ ])), tokensData.semantic.motion.interactive, tokensData.semantic.motion.hover, function (props) {
2041
+ return props.$disabled ? 'not-allowed' : props.$clickable ? 'pointer' : 'default';
2042
+ }, function (props) {
2043
+ return props.$disabled ? '0.6' : '1';
2044
+ }, getVariantStyles, getSizeStyles$1, function (props) {
2045
+ return props.$disabled ? '0.6' : props.$clickable ? '0.8' : '1';
2046
+ }, function (props) {
2047
+ return props.$disabled ? '0.6' : props.$clickable ? '0.9' : '1';
2048
+ }, chip.variants.interactive.backgroundColor);
2020
2049
  // Icon container for selected indicator or leading icons
2021
2050
  var IconContainer = styled.span.withConfig({
2022
2051
  displayName: "ChipBase__IconContainer",
@@ -2031,44 +2060,13 @@ var CloseButton = styled.button.withConfig({
2031
2060
  },
2032
2061
  displayName: "ChipBase__CloseButton",
2033
2062
  componentId: "sc-moa6zc-2"
2034
- })(templateObject_3$m || (templateObject_3$m = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n margin-left: ", ";\n background: transparent;\n border: none;\n padding: 0;\n cursor: ", ";\n opacity: ", ";\n color: inherit;\n transition: ", ";\n \n &:hover:not(:disabled) {\n opacity: 0.7;\n }\n \n &:active:not(:disabled) {\n opacity: 0.9;\n }\n \n &:focus-visible {\n outline: 2px solid ", ";\n outline-offset: 2px;\n border-radius: 2px;\n }\n"], ["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n margin-left: ", ";\n background: transparent;\n border: none;\n padding: 0;\n cursor: ", ";\n opacity: ", ";\n color: inherit;\n transition: ", ";\n \n &:hover:not(:disabled) {\n opacity: 0.7;\n }\n \n &:active:not(:disabled) {\n opacity: 0.9;\n }\n \n &:focus-visible {\n outline: 2px solid ", ";\n outline-offset: 2px;\n border-radius: 2px;\n }\n"
2035
- // Wrapper component that applies styles via CSS custom properties
2036
- ])), tokensData.semantic.spacing.layout.sm, function (props) {
2063
+ })(templateObject_3$n || (templateObject_3$n = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n margin-left: ", ";\n background: transparent;\n border: none;\n padding: 0;\n cursor: ", ";\n opacity: ", ";\n color: inherit;\n transition: ", ";\n \n &:hover:not(:disabled) {\n opacity: 0.7;\n }\n \n &:active:not(:disabled) {\n opacity: 0.9;\n }\n \n &:focus-visible {\n outline: 2px solid ", ";\n outline-offset: 2px;\n border-radius: 2px;\n }\n"], ["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n margin-left: ", ";\n background: transparent;\n border: none;\n padding: 0;\n cursor: ", ";\n opacity: ", ";\n color: inherit;\n transition: ", ";\n \n &:hover:not(:disabled) {\n opacity: 0.7;\n }\n \n &:active:not(:disabled) {\n opacity: 0.9;\n }\n \n &:focus-visible {\n outline: 2px solid ", ";\n outline-offset: 2px;\n border-radius: 2px;\n }\n"])), tokensData.semantic.spacing.layout.sm, function (props) {
2037
2064
  return props.$disabled ? 'not-allowed' : 'pointer';
2038
2065
  }, function (props) {
2039
2066
  return props.$disabled ? '0.6' : '1';
2040
2067
  }, tokensData.semantic.motion.transition.fast, chip.variants.interactive.backgroundColor);
2041
- // Wrapper component that applies styles via CSS custom properties
2042
- var StyledChipWrapper = function StyledChipWrapper(_a) {
2043
- var $variant = _a.$variant,
2044
- $size = _a.$size,
2045
- $disabled = _a.$disabled,
2046
- $clickable = _a.$clickable,
2047
- $selected = _a.$selected,
2048
- children = _a.children,
2049
- style = _a.style,
2050
- htmlProps = __rest(_a, ["$variant", "$size", "$disabled", "$clickable", "$selected", "children", "style"]);
2051
- // Get styles for variant and size
2052
- var variantStyles = getVariantStylesAsObject($variant, $selected);
2053
- var sizeStyles = getSizeStylesAsObject($size);
2054
- // Create CSS custom properties object
2055
- var cssProps = {
2056
- '--chip-bg-color': variantStyles.backgroundColor,
2057
- '--chip-text-color': variantStyles.color,
2058
- '--chip-font': sizeStyles.font,
2059
- '--chip-padding': sizeStyles.padding,
2060
- '--chip-opacity': $disabled ? '0.6' : '1',
2061
- '--chip-cursor': $disabled ? 'not-allowed' : $clickable ? 'pointer' : 'default',
2062
- '--chip-hover-opacity': $disabled ? '0.6' : $clickable ? '0.8' : '1',
2063
- '--chip-active-opacity': $disabled ? '0.6' : $clickable ? '0.9' : '1'
2064
- };
2065
- return /*#__PURE__*/React.createElement(BaseChipStyled, _extends({
2066
- style: __assign(__assign({}, cssProps), style)
2067
- }, htmlProps), children);
2068
- };
2069
- var templateObject_1$B, templateObject_2$p, templateObject_3$m;
2068
+ var templateObject_1$B, templateObject_2$p, templateObject_3$n;
2070
2069
 
2071
- React.createElement;
2072
2070
  /**
2073
2071
  * Chip - Compact element for displaying tags, categories, and labels
2074
2072
  *
@@ -2114,11 +2112,11 @@ var Chip = function Chip(_a) {
2114
2112
  handleClick();
2115
2113
  }
2116
2114
  };
2117
- return /*#__PURE__*/React.createElement(StyledChipWrapper, _extends({
2118
- $variant: normalizedVariant,
2119
- $size: size,
2120
- $disabled: disabled || undefined,
2121
- $clickable: isClickable || undefined,
2115
+ return jsxRuntime.jsx(StyledChip, __assign({
2116
+ "$variant": normalizedVariant,
2117
+ "$size": size,
2118
+ "$disabled": disabled || undefined,
2119
+ "$clickable": isClickable || undefined,
2122
2120
  onClick: isClickable ? handleClick : undefined,
2123
2121
  onKeyDown: handleKeyDown,
2124
2122
  tabIndex: isClickable ? 0 : undefined,
@@ -2127,19 +2125,21 @@ var Chip = function Chip(_a) {
2127
2125
  "aria-describedby": ariaDescribedBy,
2128
2126
  "aria-disabled": disabled ? 'true' : undefined,
2129
2127
  "data-testid": dataTestId
2130
- }, props), content);
2128
+ }, props, {
2129
+ children: content
2130
+ }));
2131
2131
  };
2132
2132
  var LegacyChip = function LegacyChip(_a) {
2133
2133
  var title = _a.title,
2134
2134
  _b = _a.variant,
2135
2135
  variant = _b === void 0 ? 'light' : _b;
2136
2136
  var newVariant = variant === 'dark' ? 'emphasis' : 'default';
2137
- return /*#__PURE__*/React.createElement(Chip, {
2138
- variant: newVariant
2139
- }, title);
2137
+ return jsxRuntime.jsx(Chip, {
2138
+ variant: newVariant,
2139
+ children: title
2140
+ });
2140
2141
  };
2141
2142
 
2142
- React.createElement;
2143
2143
  /**
2144
2144
  * FilterChip - Chip for displaying filters with selected state and optional dismissal
2145
2145
  *
@@ -2192,39 +2192,42 @@ var FilterChip = function FilterChip(_a) {
2192
2192
  };
2193
2193
  // Generate accessible label for close button
2194
2194
  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,
2195
+ return jsxRuntime.jsxs(StyledChip, __assign({
2196
+ "$variant": "subtle",
2197
+ "$size": size,
2198
+ "$disabled": disabled || undefined,
2199
+ "$clickable": false,
2200
+ "$selected": selected,
2201
2201
  onKeyDown: handleKeyDown,
2202
2202
  role: role || 'status',
2203
2203
  "aria-label": ariaLabel,
2204
2204
  "aria-describedby": ariaDescribedBy,
2205
2205
  "aria-disabled": disabled ? 'true' : undefined,
2206
2206
  "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
- })));
2207
+ }, props, {
2208
+ children: [selected && jsxRuntime.jsx(IconContainer, {
2209
+ "aria-hidden": "true",
2210
+ children: jsxRuntime.jsx(Icon, {
2211
+ name: "check",
2212
+ size: "sm"
2213
+ })
2214
+ }), children, isDismissible && jsxRuntime.jsx(CloseButton, {
2215
+ type: "button",
2216
+ onClick: handleDismiss,
2217
+ onKeyDown: handleCloseKeyDown,
2218
+ disabled: disabled,
2219
+ "$disabled": disabled,
2220
+ "aria-label": closeButtonLabel,
2221
+ tabIndex: 0,
2222
+ "data-testid": dataTestId ? "".concat(dataTestId, "-close") : undefined,
2223
+ children: jsxRuntime.jsx(Icon, {
2224
+ name: "close",
2225
+ size: "sm"
2226
+ })
2227
+ })]
2228
+ }));
2225
2229
  };
2226
2230
 
2227
- React.createElement;
2228
2231
  /**
2229
2232
  * BooleanChip - Toggleable chip for quick filter controls
2230
2233
  *
@@ -2263,12 +2266,12 @@ var BooleanChip = function BooleanChip(_a) {
2263
2266
  handleClick();
2264
2267
  }
2265
2268
  };
2266
- return /*#__PURE__*/React.createElement(StyledChipWrapper, _extends({
2267
- $variant: "subtle",
2268
- $size: size,
2269
- $disabled: disabled || undefined,
2270
- $clickable: !disabled,
2271
- $selected: selected,
2269
+ return jsxRuntime.jsxs(StyledChip, __assign({
2270
+ "$variant": "subtle",
2271
+ "$size": size,
2272
+ "$disabled": disabled || undefined,
2273
+ "$clickable": !disabled,
2274
+ "$selected": selected,
2272
2275
  onClick: handleClick,
2273
2276
  onKeyDown: handleKeyDown,
2274
2277
  tabIndex: disabled ? undefined : 0,
@@ -2278,12 +2281,15 @@ var BooleanChip = function BooleanChip(_a) {
2278
2281
  "aria-describedby": ariaDescribedBy,
2279
2282
  "aria-disabled": disabled ? 'true' : undefined,
2280
2283
  "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);
2284
+ }, props, {
2285
+ children: [selected && jsxRuntime.jsx(IconContainer, {
2286
+ "aria-hidden": "true",
2287
+ children: jsxRuntime.jsx(Icon, {
2288
+ name: "check",
2289
+ size: "sm"
2290
+ })
2291
+ }), children]
2292
+ }));
2287
2293
  };
2288
2294
 
2289
2295
  // Breakpoints using base tokens
@@ -2305,7 +2311,6 @@ var media$1 = {
2305
2311
  '2xl': "@media (min-width: ".concat(breakpoints$1['2xl'], ")")
2306
2312
  };
2307
2313
 
2308
- React.createElement;
2309
2314
  var spacing$3 = tokensData.semantic.spacing;
2310
2315
  var StyledContainer$2 = styled.div.withConfig({
2311
2316
  displayName: "Container__StyledContainer",
@@ -2314,11 +2319,12 @@ var StyledContainer$2 = styled.div.withConfig({
2314
2319
  var Container = function Container(_a) {
2315
2320
  var children = _a.children,
2316
2321
  props = __rest(_a, ["children"]);
2317
- return /*#__PURE__*/React.createElement(StyledContainer$2, props, children);
2322
+ return jsxRuntime.jsx(StyledContainer$2, __assign({}, props, {
2323
+ children: children
2324
+ }));
2318
2325
  };
2319
2326
  var templateObject_1$A;
2320
2327
 
2321
- React.createElement;
2322
2328
  var base$b = tokensData.base;
2323
2329
  var PictureWrapper = styled.div.withConfig({
2324
2330
  displayName: "Picture__PictureWrapper",
@@ -2331,7 +2337,7 @@ var ImageLink = styled.a.withConfig({
2331
2337
  var ImageButton = styled.button.withConfig({
2332
2338
  displayName: "Picture__ImageButton",
2333
2339
  componentId: "sc-11d9tei-2"
2334
- })(templateObject_3$l || (templateObject_3$l = __makeTemplateObject(["\n border: none;\n background: none;\n padding: 0;\n cursor: pointer;\n display: block;\n width: 100%;\n transition: opacity ", " ", ";\n \n &:hover {\n opacity: 0.8;\n }\n"], ["\n border: none;\n background: none;\n padding: 0;\n cursor: pointer;\n display: block;\n width: 100%;\n transition: opacity ", " ", ";\n \n &:hover {\n opacity: 0.8;\n }\n"])), base$b.duration.normal, base$b.easing.easeInOut);
2340
+ })(templateObject_3$m || (templateObject_3$m = __makeTemplateObject(["\n border: none;\n background: none;\n padding: 0;\n cursor: pointer;\n display: block;\n width: 100%;\n transition: opacity ", " ", ";\n \n &:hover {\n opacity: 0.8;\n }\n"], ["\n border: none;\n background: none;\n padding: 0;\n cursor: pointer;\n display: block;\n width: 100%;\n transition: opacity ", " ", ";\n \n &:hover {\n opacity: 0.8;\n }\n"])), base$b.duration.normal, base$b.easing.easeInOut);
2335
2341
  var StyledImage = styled.img.withConfig({
2336
2342
  displayName: "Picture__StyledImage",
2337
2343
  componentId: "sc-11d9tei-3"
@@ -2346,25 +2352,27 @@ var Picture = function Picture(_a) {
2346
2352
  onClick = _a.onClick,
2347
2353
  href = _a.href,
2348
2354
  dataTestId = _a["data-testid"];
2349
- var image = /*#__PURE__*/React.createElement(StyledImage, {
2355
+ var image = jsxRuntime.jsx(StyledImage, {
2350
2356
  src: src,
2351
2357
  alt: title,
2352
2358
  width: width,
2353
2359
  height: height
2354
2360
  });
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);
2361
+ return jsxRuntime.jsx(PictureWrapper, {
2362
+ "data-testid": dataTestId,
2363
+ children: href ? jsxRuntime.jsx(ImageLink, {
2364
+ href: href,
2365
+ "aria-label": "Read more about ".concat(title),
2366
+ children: image
2367
+ }) : onClick ? jsxRuntime.jsx(ImageButton, {
2368
+ onClick: onClick,
2369
+ "aria-label": "Read more about ".concat(title),
2370
+ children: image
2371
+ }) : image
2372
+ });
2364
2373
  };
2365
- var templateObject_1$z, templateObject_2$o, templateObject_3$l, templateObject_4$h;
2374
+ var templateObject_1$z, templateObject_2$o, templateObject_3$m, templateObject_4$h;
2366
2375
 
2367
- React.createElement;
2368
2376
  var _a$4 = tokensData.semantic,
2369
2377
  typography$1 = _a$4.typography,
2370
2378
  color$2 = _a$4.color;
@@ -2414,14 +2422,14 @@ var DateFormatter = function DateFormatter(_a) {
2414
2422
  displayText = dateFns.format(date, formatString || 'yyyy');
2415
2423
  break;
2416
2424
  }
2417
- return /*#__PURE__*/React.createElement(TimeStyled, {
2425
+ return jsxRuntime.jsx(TimeStyled, {
2418
2426
  dateTime: dateString,
2419
- "data-testid": dataTestId
2420
- }, displayText);
2427
+ "data-testid": dataTestId,
2428
+ children: displayText
2429
+ });
2421
2430
  };
2422
2431
  var templateObject_1$y;
2423
2432
 
2424
- React.createElement;
2425
2433
  var motion = tokensData.semantic.motion,
2426
2434
  iconButton = tokensData.component.iconButton;
2427
2435
  var IconButtonStyled = styled.button.withConfig({
@@ -2519,9 +2527,9 @@ var IconButton = function IconButton(_a) {
2519
2527
  return 'default';
2520
2528
  }
2521
2529
  };
2522
- return /*#__PURE__*/React.createElement(IconButtonStyled, _extends({
2523
- $variant: variant,
2524
- $size: size,
2530
+ return jsxRuntime.jsx(IconButtonStyled, __assign({
2531
+ "$variant": variant,
2532
+ "$size": size,
2525
2533
  onClick: handleClick,
2526
2534
  onKeyDown: handleKeyDown,
2527
2535
  disabled: disabled,
@@ -2534,16 +2542,17 @@ var IconButton = function IconButton(_a) {
2534
2542
  "aria-disabled": disabled,
2535
2543
  tabIndex: disabled ? -1 : 0,
2536
2544
  "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
2545
+ }, htmlProps, {
2546
+ children: jsxRuntime.jsx(Icon, {
2547
+ name: iconName,
2548
+ size: iconSize,
2549
+ iconColor: getIconColor(variant),
2550
+ "aria-hidden": "true" // Hide icon from screen readers since button has aria-label
2551
+ })
2542
2552
  }));
2543
2553
  };
2544
2554
  var templateObject_1$x;
2545
2555
 
2546
- React.createElement;
2547
2556
  var StyledWrapper = styled.span.withConfig({
2548
2557
  shouldForwardProp: function shouldForwardProp(prop) {
2549
2558
  return !prop.startsWith('$');
@@ -2636,27 +2645,28 @@ var MoneyDisplay = function MoneyDisplay(_a) {
2636
2645
  // Get typography variant and color
2637
2646
  var typographyVariant = sizeToTypographyVariant[size];
2638
2647
  var typographyColor = variantToTypographyColor[variant];
2639
- return /*#__PURE__*/React.createElement(StyledWrapper, {
2640
- $align: align,
2641
- $weight: weight,
2648
+ return jsxRuntime.jsx(StyledWrapper, {
2649
+ "$align": align,
2650
+ "$weight": weight,
2642
2651
  "aria-label": ariaLabel,
2643
- "data-testid": dataTestId
2644
- }, /*#__PURE__*/React.createElement(Typography, {
2645
- variant: typographyVariant,
2646
- color: typographyColor,
2647
- as: "span"
2648
- }, displayText));
2652
+ "data-testid": dataTestId,
2653
+ children: jsxRuntime.jsx(Typography, {
2654
+ variant: typographyVariant,
2655
+ color: typographyColor,
2656
+ as: "span",
2657
+ children: displayText
2658
+ })
2659
+ });
2649
2660
  };
2650
2661
  var templateObject_1$w;
2651
2662
 
2652
- React.createElement;
2653
2663
  var ProgressBarContainer = styled.div.withConfig({
2654
2664
  shouldForwardProp: function shouldForwardProp(prop) {
2655
2665
  return !prop.startsWith('$');
2656
2666
  },
2657
2667
  displayName: "ProgressBar__ProgressBarContainer",
2658
2668
  componentId: "sc-1nco33q-0"
2659
- })(templateObject_3$k || (templateObject_3$k = __makeTemplateObject(["\n background-color: ", ";\n border-radius: ", ";\n overflow: hidden;\n\n ", "\n\n ", "\n"], ["\n background-color: ", ";\n border-radius: ", ";\n overflow: hidden;\n\n ", "\n\n ", "\n"])), tokensData.semantic.color.background.disabled, tokensData.base.border.radius[1], function (props) {
2669
+ })(templateObject_3$l || (templateObject_3$l = __makeTemplateObject(["\n background-color: ", ";\n border-radius: ", ";\n overflow: hidden;\n\n ", "\n\n ", "\n"], ["\n background-color: ", ";\n border-radius: ", ";\n overflow: hidden;\n\n ", "\n\n ", "\n"])), tokensData.semantic.color.background.disabled, tokensData.base.border.radius[1], function (props) {
2660
2670
  return props.$variant === 'horizontal' && styled.css(templateObject_1$v || (templateObject_1$v = __makeTemplateObject(["\n width: 100%;\n height: ", ";\n "], ["\n width: 100%;\n height: ", ";\n "])), props.$height ? tokensData.component.progressBar.sizes[props.$height].height : tokensData.component.progressBar.sizes.md.height);
2661
2671
  }, function (props) {
2662
2672
  return props.$variant === 'vertical' && styled.css(templateObject_2$n || (templateObject_2$n = __makeTemplateObject(["\n width: ", ";\n height: 100%;\n "], ["\n width: ", ";\n height: 100%;\n "])), props.$width ? tokensData.component.progressBar.sizes[props.$width].height : tokensData.component.progressBar.sizes.md.height);
@@ -2667,7 +2677,7 @@ var ProgressBarFill = styled.div.withConfig({
2667
2677
  },
2668
2678
  displayName: "ProgressBar__ProgressBarFill",
2669
2679
  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) {
2680
+ })(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
2681
  var backgroundColor;
2672
2682
  switch (props.$color) {
2673
2683
  case 'success':
@@ -2685,7 +2695,7 @@ var ProgressBarFill = styled.div.withConfig({
2685
2695
  }, function (props) {
2686
2696
  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
2697
  }, 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)));
2698
+ 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
2699
  });
2690
2700
  var ProgressBar = function ProgressBar(_a) {
2691
2701
  var value = _a.value,
@@ -2696,24 +2706,24 @@ var ProgressBar = function ProgressBar(_a) {
2696
2706
  height = _a.height,
2697
2707
  width = _a.width,
2698
2708
  dataTestId = _a["data-testid"];
2699
- return /*#__PURE__*/React.createElement(ProgressBarContainer, {
2700
- $variant: variant,
2701
- $height: height,
2702
- $width: width,
2709
+ return jsxRuntime.jsx(ProgressBarContainer, {
2710
+ "$variant": variant,
2711
+ "$height": height,
2712
+ "$width": width,
2703
2713
  "data-testid": dataTestId,
2704
2714
  role: "progressbar",
2705
2715
  "aria-valuenow": Math.min(100, Math.max(0, value)),
2706
2716
  "aria-valuemin": 0,
2707
- "aria-valuemax": 100
2708
- }, /*#__PURE__*/React.createElement(ProgressBarFill, {
2709
- $value: value,
2710
- $variant: variant,
2711
- $color: color
2712
- }));
2717
+ "aria-valuemax": 100,
2718
+ children: jsxRuntime.jsx(ProgressBarFill, {
2719
+ "$value": value,
2720
+ "$variant": variant,
2721
+ "$color": color
2722
+ })
2723
+ });
2713
2724
  };
2714
- var templateObject_1$v, templateObject_2$n, templateObject_3$k, templateObject_4$g, templateObject_5$d, templateObject_6$c, templateObject_7$a;
2725
+ var templateObject_1$v, templateObject_2$n, templateObject_3$l, templateObject_4$g, templateObject_5$d, templateObject_6$b, templateObject_7$8;
2715
2726
 
2716
- React.createElement;
2717
2727
  var StyledDivider$1 = styled.div.withConfig({
2718
2728
  shouldForwardProp: function shouldForwardProp(prop) {
2719
2729
  return !prop.startsWith('$');
@@ -2824,10 +2834,10 @@ var Divider = function Divider(_a) {
2824
2834
  _d = _a.orientation,
2825
2835
  orientation = _d === void 0 ? 'horizontal' : _d,
2826
2836
  dataTestId = _a["data-testid"];
2827
- return /*#__PURE__*/React.createElement(StyledDivider$1, {
2828
- $variant: variant,
2829
- $size: size,
2830
- $orientation: orientation,
2837
+ return jsxRuntime.jsx(StyledDivider$1, {
2838
+ "$variant": variant,
2839
+ "$size": size,
2840
+ "$orientation": orientation,
2831
2841
  "data-testid": dataTestId,
2832
2842
  role: "separator",
2833
2843
  "aria-orientation": orientation
@@ -2835,7 +2845,6 @@ var Divider = function Divider(_a) {
2835
2845
  };
2836
2846
  var templateObject_1$u;
2837
2847
 
2838
- React.createElement;
2839
2848
  var StyledStack = styled.div.withConfig({
2840
2849
  shouldForwardProp: function shouldForwardProp(prop) {
2841
2850
  return !prop.startsWith('$');
@@ -2875,14 +2884,14 @@ var Stack = function Stack(_a) {
2875
2884
  '--stack-gap': gapValue,
2876
2885
  '--stack-wrap': wrap ? 'wrap' : 'nowrap'
2877
2886
  };
2878
- return /*#__PURE__*/React.createElement(StyledStack, {
2887
+ return jsxRuntime.jsx(StyledStack, {
2879
2888
  style: cssProps,
2880
- "data-testid": dataTestId
2881
- }, children);
2889
+ "data-testid": dataTestId,
2890
+ children: children
2891
+ });
2882
2892
  };
2883
2893
  var templateObject_1$t;
2884
2894
 
2885
- React.createElement;
2886
2895
  var semantic$d = tokensData.semantic,
2887
2896
  base$a = tokensData.base;
2888
2897
  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 +2951,7 @@ var getSizeStyles = function getSizeStyles(size) {
2942
2951
  // medium
2943
2952
  return {
2944
2953
  height: '24px',
2945
- padding: "".concat(base$a.spacing[1], " ").concat(base$a.spacing[3]),
2954
+ padding: "".concat(base$a.spacing[1], " ").concat(base$a.spacing[2]),
2946
2955
  font: semantic$d.typography.small,
2947
2956
  gap: base$a.spacing[1],
2948
2957
  iconSize: 'sm'
@@ -2958,7 +2967,7 @@ var StyledStatusBadge = styled.span.withConfig({
2958
2967
  var ScreenReaderOnly = styled.span.withConfig({
2959
2968
  displayName: "StatusBadge__ScreenReaderOnly",
2960
2969
  componentId: "sc-1paksgb-1"
2961
- })(templateObject_3$j || (templateObject_3$j = __makeTemplateObject(["\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n"], ["\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n"
2970
+ })(templateObject_3$k || (templateObject_3$k = __makeTemplateObject(["\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n"], ["\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n"
2962
2971
  /**
2963
2972
  * StatusBadge component for displaying transaction or task status
2964
2973
  *
@@ -3027,25 +3036,28 @@ var StatusBadge = function StatusBadge(_a) {
3027
3036
  '--status-badge-font': sizeStyles.font,
3028
3037
  '--status-badge-gap': sizeStyles.gap
3029
3038
  };
3030
- return /*#__PURE__*/React.createElement(StyledStatusBadge, {
3031
- $status: status,
3032
- $size: size,
3039
+ return jsxRuntime.jsxs(StyledStatusBadge, {
3040
+ "$status": status,
3041
+ "$size": size,
3033
3042
  role: "status",
3034
3043
  "aria-label": ariaLabel || "Status: ".concat(displayLabel),
3035
3044
  "aria-live": liveRegion ? 'polite' : undefined,
3036
3045
  "aria-atomic": liveRegion ? 'true' : undefined,
3037
3046
  "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"));
3047
+ style: cssProps,
3048
+ children: [showIcon && jsxRuntime.jsx(Icon, {
3049
+ name: statusConfig.icon,
3050
+ size: sizeStyles.iconSize,
3051
+ iconColor: "inherit",
3052
+ "aria-hidden": "true"
3053
+ }), displayLabel, jsxRuntime.jsxs(ScreenReaderOnly, {
3054
+ children: [status, " status"]
3055
+ })]
3056
+ });
3044
3057
  };
3045
3058
  StatusBadge.displayName = 'StatusBadge';
3046
- var templateObject_1$s, templateObject_2$m, templateObject_3$j;
3059
+ var templateObject_1$s, templateObject_2$m, templateObject_3$k;
3047
3060
 
3048
- React.createElement;
3049
3061
  var semantic$c = tokensData.semantic;
3050
3062
  var StyledTag = styled.span.withConfig({
3051
3063
  shouldForwardProp: function shouldForwardProp(prop) {
@@ -3124,50 +3136,44 @@ var Tag = function Tag(_a) {
3124
3136
  border = _c === void 0 ? true : _c,
3125
3137
  dataTestId = _a["data-testid"],
3126
3138
  props = __rest(_a, ["children", "variant", "border", 'data-testid']);
3127
- return /*#__PURE__*/React.createElement(StyledTag, _extends({
3128
- $variant: variant,
3129
- $border: border,
3139
+ return jsxRuntime.jsx(StyledTag, __assign({
3140
+ "$variant": variant,
3141
+ "$border": border,
3130
3142
  "data-testid": dataTestId,
3131
3143
  "data-variant": variant,
3132
3144
  "data-border": border,
3133
3145
  role: "status",
3134
3146
  "aria-label": typeof children === 'string' ? "Tag: ".concat(children) : undefined
3135
- }, props), children);
3147
+ }, props, {
3148
+ children: children
3149
+ }));
3136
3150
  };
3137
3151
  var templateObject_1$r;
3138
3152
 
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
3153
  var StyledHeader$2 = styled.div.withConfig({
3148
3154
  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);
3155
+ componentId: "sc-1erp7zn-0"
3156
+ })(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
3157
  var StyledIconWrapper = styled.div.withConfig({
3152
3158
  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);
3159
+ componentId: "sc-1erp7zn-1"
3160
+ })(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
3161
  var StyledBalanceSection = styled.div.withConfig({
3156
3162
  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);
3163
+ componentId: "sc-1erp7zn-2"
3164
+ })(templateObject_3$j || (templateObject_3$j = __makeTemplateObject(["\n margin-bottom: ", ";\n"], ["\n margin-bottom: ", ";\n"])), tokensData.semantic.spacing.layout.lg);
3159
3165
  var StyledTrendSection = styled.div.withConfig({
3160
3166
  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);
3167
+ componentId: "sc-1erp7zn-3"
3168
+ })(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
3169
  var StyledActions$1 = styled.div.withConfig({
3164
3170
  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);
3171
+ componentId: "sc-1erp7zn-4"
3172
+ })(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
3173
  var StyledStackWrapper = styled.div.withConfig({
3168
3174
  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"
3175
+ componentId: "sc-1erp7zn-5"
3176
+ })(templateObject_6$a || (templateObject_6$a = __makeTemplateObject(["\n height: 100%;\n min-height: 168px;\n"], ["\n height: 100%;\n min-height: 168px;\n"
3171
3177
  // Map account types to icon names (using placeholders)
3172
3178
  ])));
3173
3179
  // Map account types to icon names (using placeholders)
@@ -3227,78 +3233,109 @@ var AccountCard = function AccountCard(_a) {
3227
3233
  onClick === null || onClick === void 0 ? void 0 : onClick();
3228
3234
  }
3229
3235
  };
3230
- return /*#__PURE__*/React.createElement(StyledCard, {
3231
- $clickable: isClickable,
3236
+ return jsxRuntime.jsx(Box, {
3237
+ minWidth: "300px",
3238
+ minHeight: "200px",
3239
+ p: "lg",
3240
+ bg: "surface",
3241
+ border: "default",
3242
+ borderRadius: "5",
3243
+ shadow: "3",
3244
+ transition: "all 0.2s ease",
3245
+ cursor: isClickable ? 'pointer' : 'default',
3246
+ hoverShadow: isClickable ? '4' : undefined,
3247
+ hoverTransform: isClickable ? 'translateY(-2px)' : undefined,
3232
3248
  onClick: handleClick,
3233
3249
  onKeyDown: handleKeyDown,
3234
3250
  tabIndex: isClickable ? 0 : undefined,
3235
3251
  role: isClickable ? 'button' : 'article',
3236
3252
  "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)))));
3253
+ "data-testid": dataTestId,
3254
+ children: jsxRuntime.jsx(StyledStackWrapper, {
3255
+ children: jsxRuntime.jsxs(Stack, {
3256
+ direction: "column",
3257
+ gap: "none",
3258
+ children: [jsxRuntime.jsx(StyledHeader$2, {
3259
+ children: jsxRuntime.jsxs(Stack, {
3260
+ direction: "row",
3261
+ gap: "md",
3262
+ alignItems: "center",
3263
+ children: [jsxRuntime.jsx(StyledIconWrapper, {
3264
+ "aria-label": "".concat(accountType, " account"),
3265
+ role: "img",
3266
+ children: jsxRuntime.jsx(Icon, {
3267
+ name: accountIcon,
3268
+ iconColor: "inverse",
3269
+ size: "md"
3270
+ })
3271
+ }), jsxRuntime.jsxs(Stack, {
3272
+ direction: "column",
3273
+ gap: "none",
3274
+ children: [jsxRuntime.jsx(Typography, {
3275
+ variant: "h4",
3276
+ children: accountName
3277
+ }), accountNumber && jsxRuntime.jsxs(Typography, {
3278
+ variant: "caption",
3279
+ color: "subdued",
3280
+ children: ["\u2022\u2022\u2022\u2022 ", accountNumber]
3281
+ })]
3282
+ })]
3283
+ })
3284
+ }), jsxRuntime.jsxs(StyledBalanceSection, {
3285
+ children: [jsxRuntime.jsxs(Stack, {
3286
+ direction: "column",
3287
+ gap: "xs",
3288
+ children: [jsxRuntime.jsx(Typography, {
3289
+ variant: "caption",
3290
+ color: "subdued",
3291
+ children: "Balance"
3292
+ }), jsxRuntime.jsx(MoneyDisplay, {
3293
+ amount: balance,
3294
+ currency: currency,
3295
+ size: "xlarge",
3296
+ weight: "bold",
3297
+ "data-testid": dataTestId ? "".concat(dataTestId, "-balance") : undefined
3298
+ })]
3299
+ }), trend && trendValue && jsxRuntime.jsxs(StyledTrendSection, {
3300
+ "aria-label": "Trend ".concat(trend),
3301
+ role: "img",
3302
+ children: [jsxRuntime.jsx(Icon, {
3303
+ name: trendIcon,
3304
+ size: "xs",
3305
+ iconColor: trendColor
3306
+ }), jsxRuntime.jsx(Typography, {
3307
+ variant: "caption",
3308
+ color: trendColor,
3309
+ children: trendValue
3310
+ })]
3311
+ })]
3312
+ }), (action || secondaryAction) && jsxRuntime.jsxs(StyledActions$1, {
3313
+ children: [action && jsxRuntime.jsx(Button, {
3314
+ onClick: function onClick(e) {
3315
+ e.stopPropagation();
3316
+ action.onClick();
3317
+ },
3318
+ variant: action.variant || 'primary',
3319
+ iconName: action.icon,
3320
+ "data-testid": dataTestId ? "".concat(dataTestId, "-action") : undefined,
3321
+ children: action.label
3322
+ }), secondaryAction && jsxRuntime.jsx(Button, {
3323
+ onClick: function onClick(e) {
3324
+ e.stopPropagation();
3325
+ secondaryAction.onClick();
3326
+ },
3327
+ variant: secondaryAction.variant || 'naked',
3328
+ iconName: secondaryAction.icon,
3329
+ "data-testid": dataTestId ? "".concat(dataTestId, "-secondary-action") : undefined,
3330
+ children: secondaryAction.label
3331
+ })]
3332
+ })]
3333
+ })
3334
+ })
3335
+ });
3298
3336
  };
3299
- var templateObject_1$q, templateObject_2$l, templateObject_3$i, templateObject_4$f, templateObject_5$c, templateObject_6$b, templateObject_7$9;
3337
+ var templateObject_1$q, templateObject_2$l, templateObject_3$j, templateObject_4$f, templateObject_5$c, templateObject_6$a;
3300
3338
 
3301
- React.createElement;
3302
3339
  var semantic$b = tokensData.semantic,
3303
3340
  base$9 = tokensData.base;
3304
3341
  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"])));
@@ -3306,7 +3343,7 @@ var fadeIn$1 = styled.keyframes(templateObject_2$k || (templateObject_2$k = __ma
3306
3343
  var StyledOverlay$1 = styled.div.withConfig({
3307
3344
  displayName: "ActionSheet__StyledOverlay",
3308
3345
  componentId: "sc-regbol-0"
3309
- })(templateObject_3$h || (templateObject_3$h = __makeTemplateObject(["\n position: fixed;\n inset: 0;\n background-color: rgba(0, 0, 0, 0.5);\n z-index: 9999;\n animation: ", " 0.2s ease-out;\n"], ["\n position: fixed;\n inset: 0;\n background-color: rgba(0, 0, 0, 0.5);\n z-index: 9999;\n animation: ", " 0.2s ease-out;\n"])), fadeIn$1);
3346
+ })(templateObject_3$i || (templateObject_3$i = __makeTemplateObject(["\n position: fixed;\n inset: 0;\n background-color: rgba(0, 0, 0, 0.5);\n z-index: 9999;\n animation: ", " 0.2s ease-out;\n"], ["\n position: fixed;\n inset: 0;\n background-color: rgba(0, 0, 0, 0.5);\n z-index: 9999;\n animation: ", " 0.2s ease-out;\n"])), fadeIn$1);
3310
3347
  var StyledActionSheet = styled.div.withConfig({
3311
3348
  displayName: "ActionSheet__StyledActionSheet",
3312
3349
  componentId: "sc-regbol-1"
@@ -3318,15 +3355,15 @@ var StyledHeader$1 = styled.div.withConfig({
3318
3355
  var StyledHeaderContent = styled.div.withConfig({
3319
3356
  displayName: "ActionSheet__StyledHeaderContent",
3320
3357
  componentId: "sc-regbol-3"
3321
- })(templateObject_6$a || (templateObject_6$a = __makeTemplateObject(["\n flex: 1;\n"], ["\n flex: 1;\n"])));
3358
+ })(templateObject_6$9 || (templateObject_6$9 = __makeTemplateObject(["\n flex: 1;\n"], ["\n flex: 1;\n"])));
3322
3359
  var StyledCloseButton = styled.button.withConfig({
3323
3360
  displayName: "ActionSheet__StyledCloseButton",
3324
3361
  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]);
3362
+ })(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
3363
  var StyledActionsList = styled.div.withConfig({
3327
3364
  displayName: "ActionSheet__StyledActionsList",
3328
3365
  componentId: "sc-regbol-5"
3329
- })(templateObject_8$5 || (templateObject_8$5 = __makeTemplateObject(["\n padding: ", " 0;\n"], ["\n padding: ", " 0;\n"])), base$9.spacing[2]);
3366
+ })(templateObject_8$4 || (templateObject_8$4 = __makeTemplateObject(["\n padding: ", " 0;\n"], ["\n padding: ", " 0;\n"])), base$9.spacing[2]);
3330
3367
  var StyledActionButton = styled.button.withConfig({
3331
3368
  displayName: "ActionSheet__StyledActionButton",
3332
3369
  componentId: "sc-regbol-6"
@@ -3484,59 +3521,75 @@ var ActionSheet = function ActionSheet(_a) {
3484
3521
  return a.destructive;
3485
3522
  });
3486
3523
  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);
3524
+ return /*#__PURE__*/reactDom.createPortal(jsxRuntime.jsxs(jsxRuntime.Fragment, {
3525
+ children: [jsxRuntime.jsx(StyledOverlay$1, {
3526
+ onClick: handleOverlayClick
3527
+ }), jsxRuntime.jsxs(StyledActionSheet, {
3528
+ ref: sheetRef,
3529
+ role: "dialog",
3530
+ "aria-modal": "true",
3531
+ "aria-labelledby": title ? 'action-sheet-title' : undefined,
3532
+ "aria-describedby": description ? 'action-sheet-description' : undefined,
3533
+ "data-testid": dataTestId,
3534
+ children: [(title || description || showCloseButton) && jsxRuntime.jsxs(StyledHeader$1, {
3535
+ children: [jsxRuntime.jsx(StyledHeaderContent, {
3536
+ children: jsxRuntime.jsxs(Stack, {
3537
+ direction: "column",
3538
+ gap: description && title ? 'xs' : 'none',
3539
+ children: [title && jsxRuntime.jsx("div", {
3540
+ id: "action-sheet-title",
3541
+ children: jsxRuntime.jsx(Typography, {
3542
+ variant: "h3",
3543
+ children: title
3544
+ })
3545
+ }), description && jsxRuntime.jsx("div", {
3546
+ id: "action-sheet-description",
3547
+ children: jsxRuntime.jsx(Typography, {
3548
+ variant: "body",
3549
+ color: "subdued",
3550
+ children: description
3551
+ })
3552
+ })]
3553
+ })
3554
+ }), showCloseButton && jsxRuntime.jsx(StyledCloseButton, {
3555
+ type: "button",
3556
+ onClick: onClose,
3557
+ "aria-label": "Close",
3558
+ children: jsxRuntime.jsx(Icon, {
3559
+ name: "close",
3560
+ size: "sm",
3561
+ iconColor: "subdued"
3562
+ })
3563
+ })]
3564
+ }), jsxRuntime.jsx(StyledActionsList, {
3565
+ children: actions.map(function (action, index) {
3566
+ return jsxRuntime.jsxs("div", {
3567
+ children: [hasDestructive && index === destructiveIndex && index > 0 && jsxRuntime.jsx(StyledDivider, {}), jsxRuntime.jsxs(StyledActionButton, {
3568
+ type: "button",
3569
+ onClick: function onClick() {
3570
+ return handleActionClick(action);
3571
+ },
3572
+ disabled: action.disabled,
3573
+ "$destructive": action.destructive || false,
3574
+ "$disabled": action.disabled || false,
3575
+ "aria-label": action.label,
3576
+ children: [action.icon && jsxRuntime.jsx(Icon, {
3577
+ name: action.icon,
3578
+ size: "md",
3579
+ iconColor: action.disabled ? 'disabled' : action.destructive ? 'error' : 'default'
3580
+ }), jsxRuntime.jsx(Typography, {
3581
+ variant: "body",
3582
+ children: action.label
3583
+ })]
3584
+ })]
3585
+ }, action.id);
3586
+ })
3587
+ })]
3588
+ })]
3589
+ }), document.body);
3536
3590
  };
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;
3591
+ var templateObject_1$p, templateObject_2$k, templateObject_3$i, templateObject_4$e, templateObject_5$b, templateObject_6$9, templateObject_7$7, templateObject_8$4, templateObject_9$3, templateObject_10$2;
3538
3592
 
3539
- React.createElement;
3540
3593
  var semantic$a = tokensData.semantic,
3541
3594
  base$8 = tokensData.base;
3542
3595
  // Default icons by variant
@@ -3599,7 +3652,7 @@ var StyledIconContainer$1 = styled.div.withConfig({
3599
3652
  var StyledContent$1 = styled.div.withConfig({
3600
3653
  displayName: "Alert__StyledContent",
3601
3654
  componentId: "sc-18tq5d-2"
3602
- })(templateObject_3$g || (templateObject_3$g = __makeTemplateObject(["\n flex: 1;\n display: flex;\n flex-direction: column;\n gap: ", ";\n min-width: 0; /* Allow text wrapping */\n"], ["\n flex: 1;\n display: flex;\n flex-direction: column;\n gap: ", ";\n min-width: 0; /* Allow text wrapping */\n"])), semantic$a.spacing.layout.xs);
3655
+ })(templateObject_3$h || (templateObject_3$h = __makeTemplateObject(["\n flex: 1;\n display: flex;\n flex-direction: column;\n gap: ", ";\n min-width: 0; /* Allow text wrapping */\n"], ["\n flex: 1;\n display: flex;\n flex-direction: column;\n gap: ", ";\n min-width: 0; /* Allow text wrapping */\n"])), semantic$a.spacing.layout.xs);
3603
3656
  var StyledTitle = styled.span.withConfig({
3604
3657
  displayName: "Alert__StyledTitle",
3605
3658
  componentId: "sc-18tq5d-3"
@@ -3611,11 +3664,11 @@ var StyledMessage = styled.span.withConfig({
3611
3664
  var StyledActions = styled.div.withConfig({
3612
3665
  displayName: "Alert__StyledActions",
3613
3666
  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);
3667
+ })(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
3668
  var StyledDismissButton = styled(IconButton).withConfig({
3616
3669
  displayName: "Alert__StyledDismissButton",
3617
3670
  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);
3671
+ })(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
3672
  var Alert = function Alert(_a) {
3620
3673
  var _b = _a.variant,
3621
3674
  variant = _b === void 0 ? 'info' : _b,
@@ -3647,36 +3700,45 @@ var Alert = function Alert(_a) {
3647
3700
  var alertTitleColor = variantTitleColors[variant];
3648
3701
  // Determine ARIA role based on variant and aria-live
3649
3702
  var role = variant === 'error' ? 'alert' : 'status';
3650
- return /*#__PURE__*/React.createElement(StyledAlert, _extends({
3703
+ return jsxRuntime.jsxs(StyledAlert, __assign({
3651
3704
  role: role,
3652
3705
  "aria-live": ariaLive,
3653
- $variant: variant,
3654
- $inline: inline,
3706
+ "$variant": variant,
3707
+ "$inline": inline,
3655
3708
  "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
- })));
3709
+ }, props, {
3710
+ children: [jsxRuntime.jsx(StyledIconContainer$1, {
3711
+ "aria-hidden": "true",
3712
+ children: jsxRuntime.jsx(Icon, {
3713
+ name: iconName,
3714
+ size: "md",
3715
+ iconColor: alertIconColor
3716
+ })
3717
+ }), jsxRuntime.jsxs(StyledContent$1, {
3718
+ children: [title && jsxRuntime.jsx(StyledTitle, {
3719
+ role: "heading",
3720
+ "aria-level": 6,
3721
+ color: alertTitleColor,
3722
+ children: title
3723
+ }), jsxRuntime.jsx(StyledMessage, {
3724
+ children: children
3725
+ })]
3726
+ }), (action || dismissible) && jsxRuntime.jsxs(StyledActions, {
3727
+ children: [action, dismissible && jsxRuntime.jsx(StyledDismissButton, {
3728
+ iconName: "close",
3729
+ size: "small",
3730
+ variant: "naked",
3731
+ onClick: handleDismiss,
3732
+ "aria-label": "Dismiss alert",
3733
+ "data-testid": dataTestId ? "".concat(dataTestId, "-dismiss") : undefined
3734
+ })]
3735
+ })]
3736
+ }));
3674
3737
  };
3675
3738
  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;
3739
+ var templateObject_1$o, templateObject_2$j, templateObject_3$h, templateObject_4$d, templateObject_5$a, templateObject_6$8, templateObject_7$6;
3677
3740
 
3678
- React.createElement;
3679
- var _a$3, _b$1, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
3741
+ var _a$3, _b$1, _c, _d, _e, _f;
3680
3742
  var BreadcrumbNavStyled = styled.nav.withConfig({
3681
3743
  displayName: "Breadcrumbs__BreadcrumbNavStyled",
3682
3744
  componentId: "sc-7ouzg5-0"
@@ -3684,37 +3746,60 @@ var BreadcrumbNavStyled = styled.nav.withConfig({
3684
3746
  var BreadcrumbStyled = styled.li.withConfig({
3685
3747
  displayName: "Breadcrumbs__BreadcrumbStyled",
3686
3748
  componentId: "sc-7ouzg5-1"
3687
- })(templateObject_2$i || (templateObject_2$i = __makeTemplateObject(["\n text-transform: uppercase;\n display: inline-block;\n margin-right: ", ";\n padding: ", ";\n position: relative;\n\n &:not(:last-of-type)::before {\n content: '';\n background-image: url('/assets/icons/caret.svg');\n background-size: contain;\n background-repeat: no-repeat;\n background-position: center;\n background-color: transparent;\n opacity: 0.5;\n display: inline-block;\n width: ", ";\n height: ", ";\n right: -", ";\n position: absolute;\n }\n\n &:last-of-type a {\n text-decoration: none;\n color: ", ";\n }\n\n &:last-of-type p {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: 180px;\n }\n\n > a {\n text-decoration: underline;\n color: ", ";\n }\n"], ["\n text-transform: uppercase;\n display: inline-block;\n margin-right: ", ";\n padding: ", ";\n position: relative;\n\n &:not(:last-of-type)::before {\n content: '';\n background-image: url('/assets/icons/caret.svg');\n background-size: contain;\n background-repeat: no-repeat;\n background-position: center;\n background-color: transparent;\n opacity: 0.5;\n display: inline-block;\n width: ", ";\n height: ", ";\n right: -", ";\n position: absolute;\n }\n\n &:last-of-type a {\n text-decoration: none;\n color: ", ";\n }\n\n &:last-of-type p {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: 180px;\n }\n\n > a {\n text-decoration: underline;\n color: ", ";\n }\n"])), ((_d = (_c = tokensData.base) === null || _c === void 0 ? void 0 : _c.spacing) === null || _d === void 0 ? void 0 : _d['2']) || '0.5rem', ((_f = (_e = tokensData.base) === null || _e === void 0 ? void 0 : _e.spacing) === null || _f === void 0 ? void 0 : _f['2']) || '0.5rem', ((_h = (_g = tokensData.base) === null || _g === void 0 ? void 0 : _g.spacing) === null || _h === void 0 ? void 0 : _h['4']) || '1rem', ((_k = (_j = tokensData.base) === null || _j === void 0 ? void 0 : _j.spacing) === null || _k === void 0 ? void 0 : _k['4']) || '1rem', ((_m = (_l = tokensData.base) === null || _l === void 0 ? void 0 : _l.spacing) === null || _m === void 0 ? void 0 : _m['3']) || '0.75rem', tokensData.semantic.color.text.subdued, tokensData.semantic.color.text["default"]);
3749
+ })(templateObject_2$i || (templateObject_2$i = __makeTemplateObject(["\n text-transform: uppercase;\n display: inline-flex;\n align-items: center;\n gap: ", ";\n padding: ", ";\n\n &:last-of-type a {\n text-decoration: none;\n color: ", ";\n }\n\n &:last-of-type p {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: 180px;\n }\n\n > a {\n display: inline-flex;\n align-items: center;\n text-decoration: underline;\n color: ", ";\n }\n"], ["\n text-transform: uppercase;\n display: inline-flex;\n align-items: center;\n gap: ", ";\n padding: ", ";\n\n &:last-of-type a {\n text-decoration: none;\n color: ", ";\n }\n\n &:last-of-type p {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: 180px;\n }\n\n > a {\n display: inline-flex;\n align-items: center;\n text-decoration: underline;\n color: ", ";\n }\n"])), ((_d = (_c = tokensData.base) === null || _c === void 0 ? void 0 : _c.spacing) === null || _d === void 0 ? void 0 : _d['2']) || '0.5rem', ((_f = (_e = tokensData.base) === null || _e === void 0 ? void 0 : _e.spacing) === null || _f === void 0 ? void 0 : _f['2']) || '0.5rem', tokensData.semantic.color.text.subdued, tokensData.semantic.color.text["default"]);
3750
+ var BreadcrumbSeparator = styled.span.withConfig({
3751
+ displayName: "Breadcrumbs__BreadcrumbSeparator",
3752
+ componentId: "sc-7ouzg5-2"
3753
+ })(templateObject_3$g || (templateObject_3$g = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n opacity: 0.5;\n"], ["\n display: inline-flex;\n align-items: center;\n opacity: 0.5;\n"])));
3688
3754
  var isInternalUrl = function isInternalUrl(url) {
3689
3755
  return url.startsWith('/') && !url.startsWith('http');
3690
3756
  };
3691
3757
  var Breadcrumbs = function Breadcrumbs(_a) {
3692
3758
  var breadcrumbs = _a.breadcrumbs,
3693
3759
  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
- }))));
3760
+ return jsxRuntime.jsx(Container, {
3761
+ children: jsxRuntime.jsx(BreadcrumbNavStyled, {
3762
+ "aria-label": "breadcrumb",
3763
+ children: jsxRuntime.jsx("ol", {
3764
+ children: breadcrumbs.map(function (breadcrumb, index) {
3765
+ return jsxRuntime.jsxs(React.Fragment, {
3766
+ children: [jsxRuntime.jsx(BreadcrumbStyled, {
3767
+ children: index === breadcrumbs.length - 1 ? jsxRuntime.jsx(Typography, {
3768
+ variant: "caption",
3769
+ children: breadcrumb.label
3770
+ }) : LinkComponent && isInternalUrl(breadcrumb.url) ? jsxRuntime.jsx(LinkComponent, {
3771
+ href: breadcrumb.url,
3772
+ children: jsxRuntime.jsx(Typography, {
3773
+ variant: "caption",
3774
+ children: breadcrumb.label
3775
+ })
3776
+ }) : jsxRuntime.jsx("a", __assign({
3777
+ href: breadcrumb.url
3778
+ }, !isInternalUrl(breadcrumb.url) && {
3779
+ target: "_blank",
3780
+ rel: "noopener noreferrer"
3781
+ }, {
3782
+ children: jsxRuntime.jsx(Typography, {
3783
+ variant: "caption",
3784
+ children: breadcrumb.label
3785
+ })
3786
+ }))
3787
+ }), index < breadcrumbs.length - 1 && jsxRuntime.jsx(BreadcrumbSeparator, {
3788
+ "aria-hidden": "true",
3789
+ children: jsxRuntime.jsx(Icon, {
3790
+ name: "arrowRight",
3791
+ size: "xs",
3792
+ iconColor: "subdued"
3793
+ })
3794
+ })]
3795
+ }, index);
3796
+ })
3797
+ })
3798
+ })
3799
+ });
3714
3800
  };
3715
- var templateObject_1$n, templateObject_2$i;
3801
+ var templateObject_1$n, templateObject_2$i, templateObject_3$g;
3716
3802
 
3717
- React.createElement;
3718
3803
  var CardSmallStyled = styled.div.withConfig({
3719
3804
  displayName: "CardSmall__CardSmallStyled",
3720
3805
  componentId: "sc-jpcqvd-0"
@@ -3729,40 +3814,49 @@ var CardSmall = function CardSmall(_a) {
3729
3814
  if (!picture || !meta) {
3730
3815
  return null;
3731
3816
  }
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, {
3741
- direction: "column",
3742
- gap: "xs"
3743
- }, /*#__PURE__*/React.createElement(Typography, {
3744
- variant: "small"
3745
- }, title), /*#__PURE__*/React.createElement(Stack, {
3817
+ var content = jsxRuntime.jsxs(Stack, {
3746
3818
  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));
3819
+ gap: 'sm',
3820
+ children: [jsxRuntime.jsx(Picture, {
3821
+ title: title,
3822
+ src: picture,
3823
+ width: 300,
3824
+ height: 300
3825
+ }), jsxRuntime.jsxs(Stack, {
3826
+ direction: "column",
3827
+ gap: 'xs',
3828
+ children: [jsxRuntime.jsx(Typography, {
3829
+ variant: "small",
3830
+ children: title
3831
+ }), jsxRuntime.jsxs(Stack, {
3832
+ direction: "column",
3833
+ gap: 'none',
3834
+ children: [subtitle && jsxRuntime.jsx(Typography, {
3835
+ variant: "label",
3836
+ color: "subdued",
3837
+ children: subtitle
3838
+ }), meta && jsxRuntime.jsx(Typography, {
3839
+ variant: "label",
3840
+ color: "subdued",
3841
+ children: meta
3842
+ })]
3843
+ })]
3844
+ })]
3845
+ });
3846
+ return jsxRuntime.jsx(CardSmallStyled, {
3847
+ children: LinkComponent && href ? jsxRuntime.jsx(LinkComponent, {
3848
+ href: href,
3849
+ "aria-label": title,
3850
+ children: content
3851
+ }) : jsxRuntime.jsx("a", {
3852
+ href: href || '#',
3853
+ "aria-label": title,
3854
+ children: content
3855
+ })
3856
+ });
3762
3857
  };
3763
3858
  var templateObject_1$m;
3764
3859
 
3765
- React.createElement;
3766
3860
  var border$3 = tokensData.base.border;
3767
3861
  var CardLargeStyled = styled.div.withConfig({
3768
3862
  displayName: "CardLarge__CardLargeStyled",
@@ -3777,40 +3871,48 @@ var CardLarge = function CardLarge(_a) {
3777
3871
  picture = _a.picture,
3778
3872
  onImageClick = _a.onImageClick,
3779
3873
  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
- })))));
3874
+ return jsxRuntime.jsx(CardLargeStyled, {
3875
+ children: jsxRuntime.jsxs(Stack, {
3876
+ direction: "column",
3877
+ gap: "md",
3878
+ children: [jsxRuntime.jsx(Picture, {
3879
+ title: title,
3880
+ src: picture,
3881
+ onClick: onImageClick,
3882
+ href: imageHref
3883
+ }), jsxRuntime.jsxs(Stack, {
3884
+ direction: "row",
3885
+ alignItems: "flex-start",
3886
+ justifyContent: "space-between",
3887
+ gap: "xs",
3888
+ children: [jsxRuntime.jsxs(Stack, {
3889
+ direction: "column",
3890
+ gap: "xs",
3891
+ children: [jsxRuntime.jsx(Typography, {
3892
+ variant: "h5",
3893
+ children: title
3894
+ }), subtitle && jsxRuntime.jsx(Typography, {
3895
+ variant: "small",
3896
+ color: "subdued",
3897
+ children: subtitle
3898
+ }), excerpt && jsxRuntime.jsx(Typography, {
3899
+ variant: "body",
3900
+ children: excerpt
3901
+ })]
3902
+ }), jsxRuntime.jsx(Stack, {
3903
+ direction: "row",
3904
+ alignItems: "center",
3905
+ gap: "xs",
3906
+ children: Array.isArray(labels) && labels.map(function (label, index) {
3907
+ return jsxRuntime.jsx(Chip, {
3908
+ title: label,
3909
+ variant: "default"
3910
+ }, index);
3911
+ })
3912
+ })]
3913
+ })]
3914
+ })
3915
+ });
3814
3916
  };
3815
3917
  var templateObject_1$l;
3816
3918
 
@@ -3896,7 +3998,6 @@ var StyledCheckboxLabel = styled.span.withConfig({
3896
3998
  });
3897
3999
  var templateObject_1$k, templateObject_2$h, templateObject_3$f, templateObject_4$c;
3898
4000
 
3899
- React.createElement;
3900
4001
  var StyledFieldContainer$3 = styled.div.withConfig({
3901
4002
  displayName: "Checkbox__StyledFieldContainer",
3902
4003
  componentId: "sc-vquz3v-0"
@@ -3985,41 +4086,46 @@ var Checkbox = /*#__PURE__*/React.forwardRef(function (_a, ref) {
3985
4086
  inputRef.current.indeterminate = indeterminate;
3986
4087
  }
3987
4088
  }, [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));
4089
+ return jsxRuntime.jsxs(StyledFieldContainer$3, {
4090
+ children: [jsxRuntime.jsxs(StyledCheckboxContainer, {
4091
+ "$disabled": disabled,
4092
+ "$labelPosition": labelPosition,
4093
+ children: [jsxRuntime.jsx(HiddenCheckboxInput, __assign({
4094
+ ref: inputRef,
4095
+ type: "checkbox",
4096
+ id: id,
4097
+ checked: checked,
4098
+ disabled: disabled,
4099
+ onChange: onChange,
4100
+ "aria-describedby": describedBy || undefined,
4101
+ "aria-invalid": error ? true : undefined,
4102
+ "$state": state,
4103
+ "$checked": checked,
4104
+ "$indeterminate": indeterminate
4105
+ }, rest)), jsxRuntime.jsx(StyledCheckbox, {
4106
+ "$state": state,
4107
+ "$checked": checked,
4108
+ "$indeterminate": indeterminate,
4109
+ "aria-hidden": "true"
4110
+ }), jsxRuntime.jsx(StyledCheckboxLabel, {
4111
+ "$disabled": disabled,
4112
+ children: label
4113
+ })]
4114
+ }), helperText && !error && jsxRuntime.jsx(StyledHelperText$4, {
4115
+ id: helperTextId,
4116
+ children: helperText
4117
+ }), error && jsxRuntime.jsx(StyledHelperText$4, {
4118
+ id: errorId,
4119
+ "$error": true,
4120
+ role: "alert",
4121
+ "aria-live": "polite",
4122
+ children: error
4123
+ })]
4124
+ });
4018
4125
  });
4019
4126
  Checkbox.displayName = 'Checkbox';
4020
4127
  var templateObject_1$j, templateObject_2$g;
4021
4128
 
4022
- React.createElement;
4023
4129
  var ChipGroupWrapper = styled.div.withConfig({
4024
4130
  displayName: "ChipGroup__ChipGroupWrapper",
4025
4131
  componentId: "sc-ae049w-0"
@@ -4029,22 +4135,22 @@ var ChipGroup = function ChipGroup(_a) {
4029
4135
  _b = _a.variant,
4030
4136
  variant = _b === void 0 ? 'default' : _b,
4031
4137
  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
- })));
4138
+ return jsxRuntime.jsx(ChipGroupWrapper, {
4139
+ "data-testid": dataTestId,
4140
+ children: jsxRuntime.jsx(Stack, {
4141
+ direction: "row",
4142
+ gap: "sm",
4143
+ children: labels && labels.map(function (title, index) {
4144
+ return jsxRuntime.jsx(Chip, {
4145
+ title: title,
4146
+ variant: variant
4147
+ }, index);
4148
+ })
4149
+ })
4150
+ });
4044
4151
  };
4045
4152
  var templateObject_1$i;
4046
4153
 
4047
- React.createElement;
4048
4154
  var _a$2 = tokensData.semantic,
4049
4155
  color$1 = _a$2.color,
4050
4156
  border$2 = _a$2.border,
@@ -4108,13 +4214,16 @@ var CopyButton = function CopyButton(_a) {
4108
4214
  }
4109
4215
  };
4110
4216
  }, []);
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'));
4217
+ return jsxRuntime.jsx(CopyButtonWrapper, {
4218
+ children: jsxRuntime.jsx(Button, {
4219
+ variant: "secondary",
4220
+ size: "small",
4221
+ iconName: "copy",
4222
+ onClick: handleCopy,
4223
+ "data-testid": "copy-button",
4224
+ children: copied ? 'Copied!' : 'Copy'
4225
+ })
4226
+ });
4118
4227
  };
4119
4228
  /**
4120
4229
  * CodeBlock component for displaying formatted code with optional copy functionality
@@ -4130,16 +4239,18 @@ var CodeBlock = function CodeBlock(_a) {
4130
4239
  showCopyButton = _b === void 0 ? true : _b,
4131
4240
  onCopy = _a.onCopy,
4132
4241
  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
- }));
4242
+ return jsxRuntime.jsxs(CodeBlockWrapper, {
4243
+ children: [jsxRuntime.jsx(StyledCodeBlock, {
4244
+ "data-testid": testId,
4245
+ children: children
4246
+ }), showCopyButton && jsxRuntime.jsx(CopyButton, {
4247
+ text: children,
4248
+ onCopy: onCopy
4249
+ })]
4250
+ });
4139
4251
  };
4140
4252
  var templateObject_1$h, templateObject_2$f, templateObject_3$e;
4141
4253
 
4142
- React.createElement;
4143
4254
  var StyledHeader = styled.div.withConfig({
4144
4255
  displayName: "DateGroup__StyledHeader",
4145
4256
  componentId: "sc-9nfm1f-0"
@@ -4195,36 +4306,43 @@ var DateGroup = function DateGroup(_a) {
4195
4306
  dataTestId = _a["data-testid"];
4196
4307
  // Determine total variant based on amount (positive = income, negative = expense)
4197
4308
  var totalVariant = totalAmount && totalAmount !== 0 ? totalAmount > 0 ? 'positive' : 'negative' : 'default';
4198
- return /*#__PURE__*/React.createElement("div", {
4309
+ return jsxRuntime.jsxs("div", {
4199
4310
  "data-testid": dataTestId,
4200
4311
  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));
4312
+ "aria-label": "Transactions for ".concat(date),
4313
+ children: [jsxRuntime.jsxs(StyledHeader, {
4314
+ "$sticky": sticky,
4315
+ "data-testid": dataTestId ? "".concat(dataTestId, "-header") : undefined,
4316
+ children: [jsxRuntime.jsxs(StyledLeftSection, {
4317
+ children: [jsxRuntime.jsx(DateFormatter, {
4318
+ dateString: typeof date === 'string' ? date : date.toISOString(),
4319
+ mode: format,
4320
+ "data-testid": dataTestId ? "".concat(dataTestId, "-date") : undefined
4321
+ }), showCount && count !== undefined && jsxRuntime.jsxs(Typography, {
4322
+ variant: "caption",
4323
+ color: "subdued",
4324
+ "data-testid": dataTestId ? "".concat(dataTestId, "-count") : undefined,
4325
+ children: ["(", count, " ", count === 1 ? 'item' : 'items', ")"]
4326
+ })]
4327
+ }), jsxRuntime.jsx(StyledRightSection, {
4328
+ children: showTotal && totalAmount !== undefined && jsxRuntime.jsx(MoneyDisplay, {
4329
+ amount: totalAmount,
4330
+ currency: currency,
4331
+ variant: totalVariant,
4332
+ size: "small",
4333
+ weight: "medium",
4334
+ showSign: true,
4335
+ "data-testid": dataTestId ? "".concat(dataTestId, "-total") : undefined
4336
+ })
4337
+ })]
4338
+ }), jsxRuntime.jsx(StyledContent, {
4339
+ "data-testid": dataTestId ? "".concat(dataTestId, "-content") : undefined,
4340
+ children: children
4341
+ })]
4342
+ });
4224
4343
  };
4225
4344
  var templateObject_1$g, templateObject_2$e, templateObject_3$d, templateObject_4$b;
4226
4345
 
4227
- React.createElement;
4228
4346
  var semantic$9 = tokensData.semantic;
4229
4347
  var StyledContainer$1 = styled.div.withConfig({
4230
4348
  shouldForwardProp: function shouldForwardProp(prop) {
@@ -4287,53 +4405,63 @@ var EmptyState = function EmptyState(_a) {
4287
4405
  }
4288
4406
  if (illustration !== 'custom') {
4289
4407
  var iconName = illustrationToIcon[illustration];
4290
- return /*#__PURE__*/React.createElement(Icon, {
4408
+ return jsxRuntime.jsx(Icon, {
4291
4409
  name: iconName,
4292
4410
  size: "2xl"
4293
4411
  });
4294
4412
  }
4295
4413
  return null;
4296
4414
  };
4297
- return /*#__PURE__*/React.createElement(StyledContainer$1, {
4298
- $size: size,
4415
+ return jsxRuntime.jsxs(StyledContainer$1, {
4416
+ "$size": size,
4299
4417
  "data-testid": dataTestId,
4300
4418
  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))));
4419
+ "aria-label": "Empty state: ".concat(title),
4420
+ children: [jsxRuntime.jsx(StyledIllustration, {
4421
+ "$size": size,
4422
+ "$variant": variant,
4423
+ "aria-hidden": "true",
4424
+ children: renderIllustration()
4425
+ }), jsxRuntime.jsxs(StyledTextContainer, {
4426
+ children: [jsxRuntime.jsx(Typography, {
4427
+ variant: size === 'small' ? 'h4' : size === 'large' ? 'h2' : 'h3',
4428
+ color: variant === 'error' ? 'error' : 'default',
4429
+ as: size === 'small' ? 'h4' : size === 'large' ? 'h2' : 'h3',
4430
+ children: title
4431
+ }), jsxRuntime.jsx("div", {
4432
+ style: {
4433
+ marginTop: semantic$9.spacing.layout.md
4434
+ },
4435
+ children: jsxRuntime.jsx(Typography, {
4436
+ variant: "body",
4437
+ color: "subdued",
4438
+ children: description
4439
+ })
4440
+ })]
4441
+ }), (action || secondaryAction) && jsxRuntime.jsx(Box, {
4442
+ width: "100%",
4443
+ maxWidth: "300px",
4444
+ children: jsxRuntime.jsxs(Stack, {
4445
+ direction: "column",
4446
+ gap: "sm",
4447
+ children: [action && jsxRuntime.jsx(Button, {
4448
+ variant: action.variant || 'primary',
4449
+ onClick: action.onClick,
4450
+ iconName: action.icon,
4451
+ "data-testid": dataTestId ? "".concat(dataTestId, "-primary-action") : undefined,
4452
+ children: action.label
4453
+ }), secondaryAction && jsxRuntime.jsx(Button, {
4454
+ variant: "naked",
4455
+ onClick: secondaryAction.onClick,
4456
+ "data-testid": dataTestId ? "".concat(dataTestId, "-secondary-action") : undefined,
4457
+ children: secondaryAction.label
4458
+ })]
4459
+ })
4460
+ })]
4461
+ });
4333
4462
  };
4334
4463
  var templateObject_1$f, templateObject_2$d, templateObject_3$c;
4335
4464
 
4336
- React.createElement;
4337
4465
  var _a$1 = tokensData.base,
4338
4466
  spacing$1 = _a$1.spacing,
4339
4467
  border$1 = _a$1.border;
@@ -4368,37 +4496,53 @@ var FeatureBlock = function FeatureBlock(_a) {
4368
4496
  readMoreHref = _a.readMoreHref,
4369
4497
  _c = _a.readMoreText,
4370
4498
  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));
4499
+ return jsxRuntime.jsxs(jsxRuntime.Fragment, {
4500
+ children: [jsxRuntime.jsxs(FeatureBlockStyled, {
4501
+ children: [jsxRuntime.jsx(ImageWrapper, {
4502
+ children: jsxRuntime.jsx(Picture, {
4503
+ title: title,
4504
+ src: coverImage
4505
+ })
4506
+ }), jsxRuntime.jsx(ContentSection, {
4507
+ children: jsxRuntime.jsx(ContentWrapper, {
4508
+ children: jsxRuntime.jsxs(Stack, {
4509
+ direction: "column",
4510
+ gap: "md",
4511
+ children: [jsxRuntime.jsx(Typography, {
4512
+ variant: "h3",
4513
+ children: title
4514
+ }), jsxRuntime.jsx(DateFormatter, {
4515
+ dateString: date
4516
+ }), jsxRuntime.jsx(Typography, {
4517
+ variant: "small",
4518
+ children: excerpt
4519
+ }), jsxRuntime.jsx(Stack, {
4520
+ direction: "row",
4521
+ gap: "xs",
4522
+ children: Array.isArray(labels) && labels.map(function (label, index) {
4523
+ return jsxRuntime.jsx(Chip, {
4524
+ title: label,
4525
+ variant: "default"
4526
+ }, index);
4527
+ })
4528
+ }), (onReadMore || readMoreHref) && jsxRuntime.jsx(ButtonWrapper, {
4529
+ children: readMoreHref ? jsxRuntime.jsx(Button, {
4530
+ purpose: "link",
4531
+ url: readMoreHref,
4532
+ children: readMoreText
4533
+ }) : jsxRuntime.jsx(Button, {
4534
+ onClick: onReadMore,
4535
+ children: readMoreText
4536
+ })
4537
+ })]
4538
+ })
4539
+ })
4540
+ })]
4541
+ }), jsxRuntime.jsx(Divider, {})]
4542
+ });
4398
4543
  };
4399
4544
  var templateObject_1$e, templateObject_2$c, templateObject_3$b, templateObject_4$a, templateObject_5$9;
4400
4545
 
4401
- React.createElement;
4402
4546
  var _a = tokensData.base,
4403
4547
  spacing = _a.spacing,
4404
4548
  shadow = _a.shadow,
@@ -4474,7 +4618,7 @@ var DropdownOption = styled.button.withConfig({
4474
4618
  var StyledHelperText$3 = styled.div.withConfig({
4475
4619
  displayName: "Dropdown__StyledHelperText",
4476
4620
  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) {
4621
+ })(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
4622
  var $hasError = _a.$hasError;
4479
4623
  return $hasError ? color.text.error : color.text.subdued;
4480
4624
  }, spacing[2]);
@@ -4497,8 +4641,8 @@ var Dropdown = function Dropdown(_a) {
4497
4641
  focusedIndex = _e[0],
4498
4642
  setFocusedIndex = _e[1];
4499
4643
  var dropdownRef = React.useRef(null);
4500
- // Generate unique ID for accessibility
4501
- var dropdownId = React.useRef("dropdown-".concat(Math.random().toString(36).substr(2, 9))).current;
4644
+ // Generate unique ID for accessibility (SSR-safe)
4645
+ var dropdownId = React.useId();
4502
4646
  var selectedOption = options.find(function (option) {
4503
4647
  return option.id === value;
4504
4648
  });
@@ -4591,59 +4735,68 @@ var Dropdown = function Dropdown(_a) {
4591
4735
  setIsOpen(false);
4592
4736
  setFocusedIndex(-1);
4593
4737
  };
4594
- return /*#__PURE__*/React.createElement(DropdownContainer, {
4738
+ return jsxRuntime.jsxs(DropdownContainer, {
4595
4739
  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);
4740
+ className: className,
4741
+ children: [label && jsxRuntime.jsx("label", {
4742
+ htmlFor: dropdownId,
4743
+ style: {
4744
+ display: 'block',
4745
+ marginBottom: spacing[2]
4631
4746
  },
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));
4747
+ children: jsxRuntime.jsx(Typography, {
4748
+ variant: "label",
4749
+ children: label
4750
+ })
4751
+ }), jsxRuntime.jsxs(DropdownTrigger, {
4752
+ id: dropdownId,
4753
+ "$isOpen": isOpen,
4754
+ "$hasError": hasError,
4755
+ onClick: handleTriggerClick,
4756
+ disabled: disabled,
4757
+ "aria-expanded": isOpen,
4758
+ "aria-haspopup": "listbox",
4759
+ "aria-invalid": hasError,
4760
+ "aria-describedby": describedBy,
4761
+ children: [jsxRuntime.jsx("span", {
4762
+ children: selectedOption ? selectedOption.label : placeholder
4763
+ }), jsxRuntime.jsx(DropdownIcon, {
4764
+ "$isOpen": isOpen,
4765
+ children: jsxRuntime.jsx(Icon, {
4766
+ name: "arrowDown",
4767
+ iconColor: disabled ? 'disabled' : 'subdued'
4768
+ })
4769
+ })]
4770
+ }), jsxRuntime.jsx(DropdownMenu, {
4771
+ "$isOpen": isOpen,
4772
+ role: "listbox",
4773
+ "aria-labelledby": dropdownId,
4774
+ children: options.map(function (option, index) {
4775
+ return jsxRuntime.jsx(DropdownOption, {
4776
+ "$isSelected": option.id === value,
4777
+ "$isFocused": index === focusedIndex,
4778
+ onClick: function onClick() {
4779
+ return handleOptionClick(option.id);
4780
+ },
4781
+ role: "option",
4782
+ "aria-selected": option.id === value,
4783
+ children: option.label
4784
+ }, option.id);
4785
+ })
4786
+ }), error && jsxRuntime.jsx(StyledHelperText$3, {
4787
+ id: errorId,
4788
+ role: "alert",
4789
+ "aria-live": "polite",
4790
+ "$hasError": true,
4791
+ children: error
4792
+ }), helperText && !error && jsxRuntime.jsx(StyledHelperText$3, {
4793
+ id: helperId,
4794
+ children: helperText
4795
+ })]
4796
+ });
4643
4797
  };
4644
- var templateObject_1$d, templateObject_2$b, templateObject_3$a, templateObject_4$9, templateObject_5$8, templateObject_6$8;
4798
+ var templateObject_1$d, templateObject_2$b, templateObject_3$a, templateObject_4$9, templateObject_5$8, templateObject_6$7;
4645
4799
 
4646
- React.createElement;
4647
4800
  var semantic$8 = tokensData.semantic;
4648
4801
  var StyledList = styled.ul.withConfig({
4649
4802
  shouldForwardProp: function shouldForwardProp(prop) {
@@ -4664,18 +4817,19 @@ var List = function List(_a) {
4664
4817
  className = _a.className,
4665
4818
  dataTestId = _a["data-testid"],
4666
4819
  props = __rest(_a, ["children", "dividers", "spacing", "className", 'data-testid']);
4667
- return /*#__PURE__*/React.createElement(StyledList, _extends({
4668
- $dividers: dividers,
4669
- $spacing: spacing,
4820
+ return jsxRuntime.jsx(StyledList, __assign({
4821
+ "$dividers": dividers,
4822
+ "$spacing": spacing,
4670
4823
  className: className,
4671
4824
  "data-testid": dataTestId,
4672
4825
  role: "list"
4673
- }, props), children);
4826
+ }, props, {
4827
+ children: children
4828
+ }));
4674
4829
  };
4675
4830
  List.displayName = 'List';
4676
4831
  var templateObject_1$c;
4677
4832
 
4678
- React.createElement;
4679
4833
  var semantic$7 = tokensData.semantic,
4680
4834
  base$7 = tokensData.base;
4681
4835
  var StyledListItem = styled.li.withConfig({
@@ -4733,7 +4887,7 @@ var StyledChevronIcon = styled.div.withConfig({
4733
4887
  },
4734
4888
  displayName: "ListItem__StyledChevronIcon",
4735
4889
  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) {
4890
+ })(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
4891
  var $expanded = _a.$expanded;
4738
4892
  return $expanded ? '180deg' : '0deg';
4739
4893
  });
@@ -4743,7 +4897,7 @@ var StyledExpandedContent = styled.div.withConfig({
4743
4897
  },
4744
4898
  displayName: "ListItem__StyledExpandedContent",
4745
4899
  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) {
4900
+ })(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
4901
  var $expanded = _a.$expanded;
4748
4902
  return $expanded ? '1000px' : '0';
4749
4903
  }, function (_a) {
@@ -4776,9 +4930,14 @@ var ListItem = function ListItem(_a) {
4776
4930
  children = _a.children,
4777
4931
  className = _a.className,
4778
4932
  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;
4933
+ customRole = _a.role,
4934
+ ariaSelected = _a["aria-selected"],
4935
+ id = _a.id,
4936
+ customTabIndex = _a.tabIndex,
4937
+ customOnKeyDown = _a.onKeyDown,
4938
+ 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"]);
4939
+ var isInteractive = interactive || expandable || customRole === 'option';
4940
+ var contentRole = customRole === 'option' ? undefined : isInteractive ? 'button' : undefined;
4782
4941
  var ariaExpanded = expandable ? expanded : undefined;
4783
4942
  var ariaDisabled = disabled ? true : undefined;
4784
4943
  var ariaCurrent = selected ? 'true' : undefined;
@@ -4791,54 +4950,72 @@ var ListItem = function ListItem(_a) {
4791
4950
  }
4792
4951
  };
4793
4952
  var handleKeyDown = function handleKeyDown(event) {
4953
+ if (customOnKeyDown) {
4954
+ customOnKeyDown(event);
4955
+ return;
4956
+ }
4794
4957
  if (disabled) return;
4795
4958
  if (event.key === 'Enter' || event.key === ' ') {
4796
4959
  event.preventDefault();
4797
4960
  handleClick();
4798
4961
  }
4799
4962
  };
4800
- return /*#__PURE__*/React.createElement(StyledListItem, _extends({
4801
- $interactive: isInteractive,
4802
- $disabled: disabled,
4803
- $selected: selected,
4804
- $spacing: spacing,
4963
+ return jsxRuntime.jsxs(StyledListItem, __assign({
4964
+ "$interactive": isInteractive,
4965
+ "$disabled": disabled,
4966
+ "$selected": selected,
4967
+ "$spacing": spacing,
4805
4968
  className: className,
4806
4969
  "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));
4970
+ role: customRole || 'listitem',
4971
+ id: id,
4972
+ "aria-selected": ariaSelected
4973
+ }, props, {
4974
+ children: [jsxRuntime.jsxs(StyledItemContent, {
4975
+ "$interactive": isInteractive,
4976
+ "$disabled": disabled,
4977
+ "$selected": selected,
4978
+ "$spacing": spacing,
4979
+ role: contentRole,
4980
+ "aria-expanded": ariaExpanded,
4981
+ "aria-disabled": ariaDisabled,
4982
+ "aria-current": ariaCurrent,
4983
+ tabIndex: customTabIndex !== undefined ? customTabIndex : isInteractive && !disabled ? 0 : undefined,
4984
+ onClick: handleClick,
4985
+ onKeyDown: handleKeyDown,
4986
+ children: [icon && jsxRuntime.jsx(StyledIconContainer, {
4987
+ "aria-hidden": "true",
4988
+ children: icon
4989
+ }), jsxRuntime.jsxs(StyledTextContent, {
4990
+ children: [jsxRuntime.jsx(Typography, {
4991
+ variant: "body",
4992
+ color: "default",
4993
+ children: primary
4994
+ }), secondary && jsxRuntime.jsx(Typography, {
4995
+ variant: "small",
4996
+ color: "subdued",
4997
+ children: secondary
4998
+ })]
4999
+ }), jsxRuntime.jsxs(StyledRightContent, {
5000
+ children: [badge, expandable && jsxRuntime.jsx(StyledChevronIcon, {
5001
+ "$expanded": expanded,
5002
+ "aria-hidden": "true",
5003
+ children: jsxRuntime.jsx(Icon, {
5004
+ name: "caretDown",
5005
+ size: "sm"
5006
+ })
5007
+ })]
5008
+ })]
5009
+ }), expandable && children && jsxRuntime.jsx(StyledExpandedContent, {
5010
+ "$spacing": spacing,
5011
+ "$expanded": expanded,
5012
+ "aria-hidden": !expanded,
5013
+ children: children
5014
+ })]
5015
+ }));
4839
5016
  };
4840
5017
  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;
5018
+ var templateObject_1$b, templateObject_2$a, templateObject_3$9, templateObject_4$8, templateObject_5$7, templateObject_6$6, templateObject_7$5;
4842
5019
 
4843
5020
  var input = tokensData.component.input;
4844
5021
  var StyledInputBase = styled.input.withConfig({
@@ -4881,7 +5058,6 @@ var StyledTextAreaBase = styled.textarea.withConfig({
4881
5058
  })(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
5059
  var templateObject_1$a, templateObject_2$9;
4883
5060
 
4884
- React.createElement;
4885
5061
  var semantic$6 = tokensData.semantic,
4886
5062
  base$6 = tokensData.base;
4887
5063
  var StyledFieldContainer$2 = styled.div.withConfig({
@@ -4907,11 +5083,11 @@ var StyledNumberInput = styled(StyledInputBase).withConfig({
4907
5083
  var StyledStepperContainer = styled.div.withConfig({
4908
5084
  displayName: "NumberInput__StyledStepperContainer",
4909
5085
  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]);
5086
+ })(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
5087
  var StyledHelperText$2 = styled.div.withConfig({
4912
5088
  displayName: "NumberInput__StyledHelperText",
4913
5089
  componentId: "sc-qotc3w-6"
4914
- })(templateObject_7$5 || (templateObject_7$5 = __makeTemplateObject(["\n font: ", ";\n color: ", ";\n"], ["\n font: ", ";\n color: ", ";\n"
5090
+ })(templateObject_7$4 || (templateObject_7$4 = __makeTemplateObject(["\n font: ", ";\n color: ", ";\n"], ["\n font: ", ";\n color: ", ";\n"
4915
5091
  /**
4916
5092
  * NumberInput component for numeric input with stepper buttons and WCAG 2.2 AA compliance
4917
5093
  *
@@ -5072,63 +5248,71 @@ var NumberInput = /*#__PURE__*/React.forwardRef(function (_a, ref) {
5072
5248
  var isDecrementDisabled = disabled || min !== undefined && value !== '' && typeof value === 'number' && value <= min;
5073
5249
  // Build aria-describedby
5074
5250
  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));
5251
+ return jsxRuntime.jsxs(StyledFieldContainer$2, {
5252
+ children: [label && jsxRuntime.jsxs(StyledLabel$3, {
5253
+ htmlFor: id,
5254
+ "data-disabled": disabled,
5255
+ children: [label, required && jsxRuntime.jsx(StyledRequiredIndicator$2, {
5256
+ "aria-label": "required",
5257
+ children: "*"
5258
+ })]
5259
+ }), jsxRuntime.jsxs(StyledInputWrapper$2, {
5260
+ children: [jsxRuntime.jsx(StyledNumberInput, __assign({
5261
+ ref: ref,
5262
+ id: id,
5263
+ type: "text",
5264
+ inputMode: "decimal",
5265
+ value: value !== undefined ? formatValue(value) : undefined,
5266
+ defaultValue: defaultValue !== undefined ? formatValue(defaultValue) : undefined,
5267
+ onChange: handleChange,
5268
+ onKeyDown: handleKeyDown,
5269
+ disabled: disabled,
5270
+ required: required,
5271
+ placeholder: placeholder,
5272
+ "$hasError": !!error,
5273
+ "$disabled": disabled,
5274
+ "aria-label": ariaLabel || label,
5275
+ "aria-invalid": !!error,
5276
+ "aria-describedby": ariaDescribedByIds,
5277
+ "aria-required": required,
5278
+ "data-testid": testId,
5279
+ role: "spinbutton",
5280
+ "aria-valuemin": min,
5281
+ "aria-valuemax": max,
5282
+ "aria-valuenow": typeof value === 'number' ? value : undefined
5283
+ }, rest)), jsxRuntime.jsxs(StyledStepperContainer, {
5284
+ children: [jsxRuntime.jsx(IconButton, {
5285
+ iconName: "caretUp",
5286
+ variant: "secondary",
5287
+ size: "small",
5288
+ onClick: handleIncrement,
5289
+ disabled: isIncrementDisabled,
5290
+ "aria-label": "Increment value",
5291
+ tabIndex: -1,
5292
+ type: "button"
5293
+ }), jsxRuntime.jsx(IconButton, {
5294
+ iconName: "caretDown",
5295
+ variant: "secondary",
5296
+ size: "small",
5297
+ onClick: handleDecrement,
5298
+ disabled: isDecrementDisabled,
5299
+ "aria-label": "Decrement value",
5300
+ tabIndex: -1,
5301
+ type: "button"
5302
+ })]
5303
+ })]
5304
+ }), (helperText || error) && jsxRuntime.jsx(StyledHelperText$2, {
5305
+ id: error ? errorId : helperId,
5306
+ "$isError": !!error,
5307
+ role: error ? 'alert' : undefined,
5308
+ "aria-live": error ? 'polite' : undefined,
5309
+ children: error || helperText
5310
+ })]
5311
+ });
5127
5312
  });
5128
5313
  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;
5314
+ var templateObject_1$9, templateObject_2$8, templateObject_3$8, templateObject_4$7, templateObject_5$6, templateObject_6$5, templateObject_7$4;
5130
5315
 
5131
- React.createElement;
5132
5316
  var PageTitleStyled = styled.div.withConfig({
5133
5317
  shouldForwardProp: function shouldForwardProp(prop) {
5134
5318
  return !prop.startsWith('$');
@@ -5144,27 +5328,30 @@ var PageTitle = function PageTitle(_a) {
5144
5328
  _b = _a.hasBackButton,
5145
5329
  hasBackButton = _b === void 0 ? false : _b,
5146
5330
  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)));
5331
+ return jsxRuntime.jsxs(PageTitleStyled, {
5332
+ "$hasBackButton": hasBackButton,
5333
+ children: [hasBackButton && jsxRuntime.jsx(IconButton, {
5334
+ iconName: 'back',
5335
+ size: 'large',
5336
+ variant: 'naked',
5337
+ url: '/music',
5338
+ "aria-label": 'Go back to music page'
5339
+ }), jsxRuntime.jsxs(Stack, {
5340
+ direction: 'column',
5341
+ gap: "md",
5342
+ children: [jsxRuntime.jsx(Typography, {
5343
+ variant: "h1",
5344
+ children: title
5345
+ }), subtitle && jsxRuntime.jsx(Typography, {
5346
+ variant: 'caption',
5347
+ color: 'subdued',
5348
+ children: subtitle
5349
+ })]
5350
+ })]
5351
+ });
5164
5352
  };
5165
5353
  var templateObject_1$8;
5166
5354
 
5167
- React.createElement;
5168
5355
  var semantic$5 = tokensData.semantic,
5169
5356
  base$5 = tokensData.base;
5170
5357
  var StyledFieldContainer$1 = styled.div.withConfig({
@@ -5193,7 +5380,7 @@ var StyledInputWrapper$1 = styled.div.withConfig({
5193
5380
  var StyledToggleButton = styled.div.withConfig({
5194
5381
  displayName: "PasswordField__StyledToggleButton",
5195
5382
  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"
5383
+ })(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
5384
  /**
5198
5385
  * PasswordField component for secure password input with visibility toggle
5199
5386
  *
@@ -5246,51 +5433,61 @@ var PasswordField = /*#__PURE__*/React.forwardRef(function (_a, ref) {
5246
5433
  var togglePasswordVisibility = function togglePasswordVisibility() {
5247
5434
  setShowPassword(!showPassword);
5248
5435
  };
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));
5436
+ return jsxRuntime.jsxs(StyledFieldContainer$1, {
5437
+ children: [label && jsxRuntime.jsxs(StyledLabel$2, {
5438
+ htmlFor: id,
5439
+ "data-disabled": disabled,
5440
+ children: [label, required && jsxRuntime.jsx(StyledRequiredIndicator$1, {
5441
+ "aria-label": "required",
5442
+ children: "*"
5443
+ })]
5444
+ }), jsxRuntime.jsxs(StyledInputWrapper$1, {
5445
+ children: [jsxRuntime.jsx(StyledInputBase, __assign({
5446
+ ref: ref,
5447
+ id: id,
5448
+ type: showPassword ? 'text' : 'password',
5449
+ disabled: disabled,
5450
+ required: required,
5451
+ "aria-required": required,
5452
+ "aria-invalid": hasError,
5453
+ "aria-describedby": describedBy,
5454
+ "$hasError": hasError,
5455
+ "$disabled": disabled,
5456
+ "data-testid": dataTestId,
5457
+ style: {
5458
+ paddingRight: showToggle ? '3rem' : undefined
5459
+ }
5460
+ }, inputProps)), showToggle && jsxRuntime.jsx(StyledToggleButton, {
5461
+ children: jsxRuntime.jsx(IconButton, {
5462
+ variant: "naked",
5463
+ size: "small",
5464
+ iconName: showPassword ? 'viewHide' : 'view',
5465
+ onClick: togglePasswordVisibility,
5466
+ disabled: disabled,
5467
+ "aria-label": showPassword ? 'Hide password' : 'Show password',
5468
+ "aria-pressed": showPassword,
5469
+ type: "button",
5470
+ tabIndex: -1
5471
+ })
5472
+ })]
5473
+ }), error && jsxRuntime.jsx(StyledHelperText$1, {
5474
+ id: errorId,
5475
+ role: "alert",
5476
+ "aria-live": "polite",
5477
+ "$hasError": true,
5478
+ children: error
5479
+ }), helperText && !error && jsxRuntime.jsx(StyledHelperText$1, {
5480
+ id: helperId,
5481
+ children: helperText
5482
+ })]
5483
+ });
5287
5484
  });
5288
5485
  PasswordField.displayName = 'PasswordField';
5289
- var templateObject_1$7, templateObject_2$7, templateObject_3$7, templateObject_4$6, templateObject_5$5, templateObject_6$5;
5486
+ var templateObject_1$7, templateObject_2$7, templateObject_3$7, templateObject_4$6, templateObject_5$5, templateObject_6$4;
5290
5487
 
5291
- React.createElement;
5292
5488
  var semantic$4 = tokensData.semantic,
5293
- base$4 = tokensData.base;
5489
+ base$4 = tokensData.base,
5490
+ component = tokensData.component;
5294
5491
  var StyledSearchContainer = styled.div.withConfig({
5295
5492
  displayName: "SearchField__StyledSearchContainer",
5296
5493
  componentId: "sc-qhz9i8-0"
@@ -5298,39 +5495,23 @@ var StyledSearchContainer = styled.div.withConfig({
5298
5495
  var StyledInputWrapper = styled.div.withConfig({
5299
5496
  displayName: "SearchField__StyledInputWrapper",
5300
5497
  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 ");
5498
+ })(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) {
5499
+ 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
5500
  }, 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);
5501
+ return props.$disabled && "\n background-color: ".concat(component.input.disabled.backgroundColor, ";\n border-color: ").concat(component.input.disabled.borderColor, ";\n cursor: not-allowed;\n ");
5502
+ }, component.input.hover.borderColor);
5306
5503
  var StyledInput = styled.input.withConfig({
5307
5504
  displayName: "SearchField__StyledInput",
5308
5505
  componentId: "sc-qhz9i8-2"
5309
5506
  })(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
5507
  var StyledSuggestionsList = styled.ul.withConfig({
5315
5508
  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
- });
5509
+ componentId: "sc-qhz9i8-3"
5510
+ })(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
5511
  var StyledSectionHeader = styled.div.withConfig({
5327
5512
  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]);
5513
+ componentId: "sc-qhz9i8-4"
5514
+ })(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
5515
  var debounce = function debounce(func, wait) {
5335
5516
  var timeout = null;
5336
5517
  return function () {
@@ -5538,94 +5719,101 @@ var SearchField = /*#__PURE__*/React.forwardRef(function (_a, ref) {
5538
5719
  }, [highlightedIndex]);
5539
5720
  var showClearButton = value.length > 0 && !disabled;
5540
5721
  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);
5722
+ return jsxRuntime.jsxs(StyledSearchContainer, {
5723
+ "$isFocused": isFocused,
5724
+ "$disabled": disabled,
5725
+ "data-testid": dataTestId,
5726
+ children: [jsxRuntime.jsxs(StyledInputWrapper, {
5727
+ "$isFocused": isFocused,
5728
+ "$disabled": disabled,
5729
+ "data-disabled": disabled,
5730
+ children: [jsxRuntime.jsx(Icon, {
5731
+ name: "search",
5732
+ size: "sm",
5733
+ iconColor: "subdued",
5734
+ "aria-hidden": "true"
5735
+ }), jsxRuntime.jsx(StyledInput, __assign({
5736
+ ref: inputRef,
5737
+ type: "text",
5738
+ value: value,
5739
+ onChange: handleInputChange,
5740
+ onFocus: handleFocus,
5741
+ onBlur: handleBlur,
5742
+ onKeyDown: handleKeyDown,
5743
+ placeholder: placeholder,
5744
+ disabled: disabled,
5745
+ "aria-label": ariaLabel,
5746
+ "aria-autocomplete": "list",
5747
+ "aria-controls": showSuggestions && hasItems ? 'search-suggestions' : undefined,
5748
+ "aria-expanded": showSuggestions && hasItems,
5749
+ "aria-activedescendant": highlightedIndex >= 0 ? "suggestion-".concat(highlightedIndex) : undefined,
5750
+ role: "combobox"
5751
+ }, inputProps)), loading && jsxRuntime.jsx(Icon, {
5752
+ name: "refresh",
5753
+ size: "sm",
5754
+ iconColor: "subdued",
5755
+ "aria-label": "Loading"
5756
+ }), showClearButton && jsxRuntime.jsx(IconButton, {
5757
+ iconName: "close",
5758
+ size: "small",
5759
+ variant: "naked",
5760
+ onClick: handleClear,
5761
+ "aria-label": "Clear search",
5762
+ tabIndex: -1
5763
+ })]
5764
+ }), showSuggestions && hasItems && jsxRuntime.jsxs(StyledSuggestionsList, {
5765
+ ref: listRef,
5766
+ id: "search-suggestions",
5767
+ role: "listbox",
5768
+ children: [!value.trim() && showRecentSearches && recentSearches.length > 0 && jsxRuntime.jsx(StyledSectionHeader, {
5769
+ children: "Recent Searches"
5770
+ }), displayItems.map(function (item, index) {
5771
+ if (item.type === 'clear') {
5772
+ return jsxRuntime.jsx(ListItem, {
5773
+ role: "option",
5774
+ primary: "Clear recent searches",
5775
+ interactive: true,
5776
+ spacing: "compact",
5777
+ onClick: function onClick() {
5778
+ return handleSuggestionClick(item);
5779
+ },
5780
+ onKeyDown: function onKeyDown(e) {
5781
+ if (e.key === 'Enter' || e.key === ' ') {
5782
+ e.preventDefault();
5783
+ handleSuggestionClick(item);
5784
+ }
5785
+ }
5786
+ }, "clear");
5593
5787
  }
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
- })));
5788
+ var suggestion = item.data;
5789
+ var isString = typeof suggestion === 'string';
5790
+ var label = isString ? suggestion : suggestion.label;
5791
+ var description = !isString ? suggestion.description : undefined;
5792
+ return jsxRuntime.jsx(ListItem, {
5793
+ id: "suggestion-".concat(index),
5794
+ role: "option",
5795
+ "aria-selected": index === highlightedIndex,
5796
+ primary: label,
5797
+ secondary: description,
5798
+ icon: item.type === 'recent' ? jsxRuntime.jsx(Icon, {
5799
+ name: "refresh",
5800
+ size: "xs",
5801
+ "aria-hidden": "true"
5802
+ }) : undefined,
5803
+ interactive: true,
5804
+ selected: index === highlightedIndex,
5805
+ spacing: "compact",
5806
+ onClick: function onClick() {
5807
+ return handleSuggestionClick(item);
5808
+ }
5809
+ }, isString ? suggestion : suggestion.id);
5810
+ })]
5811
+ })]
5812
+ });
5624
5813
  });
5625
5814
  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;
5815
+ var templateObject_1$6, templateObject_2$6, templateObject_3$6, templateObject_4$5, templateObject_5$4;
5627
5816
 
5628
- React.createElement;
5629
5817
  var semantic$3 = tokensData.semantic,
5630
5818
  base$3 = tokensData.base;
5631
5819
  // Fade in animation for overlay
@@ -5803,30 +5991,34 @@ var Sheet = function Sheet(_a) {
5803
5991
  }
5804
5992
  };
5805
5993
  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)));
5994
+ return jsxRuntime.jsxs(jsxRuntime.Fragment, {
5995
+ children: [jsxRuntime.jsx(StyledOverlay, {
5996
+ "$isOpen": isOpen,
5997
+ onClick: handleOverlayClick,
5998
+ "data-testid": dataTestId ? "".concat(dataTestId, "-overlay") : 'sheet-overlay'
5999
+ }), jsxRuntime.jsx(StyledSheet, {
6000
+ ref: sheetRef,
6001
+ role: "dialog",
6002
+ "aria-modal": "true",
6003
+ "aria-label": ariaLabel || title || 'Sheet dialog',
6004
+ "aria-describedby": ariaDescribedBy,
6005
+ tabIndex: -1,
6006
+ "$position": position,
6007
+ "$variant": variant,
6008
+ "$width": width,
6009
+ "$height": height,
6010
+ "$isOpen": isOpen,
6011
+ onKeyDown: handleKeyDown,
6012
+ "data-testid": dataTestId,
6013
+ children: jsxRuntime.jsx(StyledSheetContent, {
6014
+ children: children
6015
+ })
6016
+ })]
6017
+ });
5825
6018
  };
5826
6019
  Sheet.displayName = 'Sheet';
5827
6020
  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
6021
 
5829
- React.createElement;
5830
6022
  var semantic$2 = tokensData.semantic,
5831
6023
  base$2 = tokensData.base;
5832
6024
  var StyledSliderContainer = styled.div.withConfig({
@@ -6131,90 +6323,108 @@ var Slider = function Slider(_a) {
6131
6323
  var _l = [valueToPercent(currentRangeValue[0]), valueToPercent(currentRangeValue[1])],
6132
6324
  minPercent = _l[0],
6133
6325
  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))));
6326
+ return jsxRuntime.jsxs(StyledSliderContainer, {
6327
+ "data-testid": dataTestId,
6328
+ children: [label && jsxRuntime.jsx(StyledLabel$1, {
6329
+ htmlFor: generatedId,
6330
+ "$disabled": disabled,
6331
+ children: label
6332
+ }), jsxRuntime.jsx(StyledSliderTrackContainer, {
6333
+ children: jsxRuntime.jsxs(StyledTrack, {
6334
+ ref: trackRef,
6335
+ onClick: handleTrackClick,
6336
+ "$disabled": disabled,
6337
+ children: [isRange ? jsxRuntime.jsx(StyledTrackFill, {
6338
+ "$disabled": disabled,
6339
+ style: {
6340
+ left: "".concat(minPercent, "%"),
6341
+ width: "".concat(maxPercent - minPercent, "%")
6342
+ }
6343
+ }) : jsxRuntime.jsx(StyledTrackFill, {
6344
+ "$disabled": disabled,
6345
+ style: {
6346
+ left: 0,
6347
+ width: "".concat(singlePercent, "%")
6348
+ }
6349
+ }), isRange ? jsxRuntime.jsxs(jsxRuntime.Fragment, {
6350
+ children: [jsxRuntime.jsx(StyledThumb, {
6351
+ role: "slider",
6352
+ tabIndex: disabled ? -1 : 0,
6353
+ "aria-label": ariaLabel ? "".concat(ariaLabel, " minimum") : 'Minimum value',
6354
+ "aria-valuemin": min,
6355
+ "aria-valuemax": max,
6356
+ "aria-valuenow": currentRangeValue[0],
6357
+ "aria-valuetext": formatValue(currentRangeValue[0]),
6358
+ "aria-disabled": disabled,
6359
+ "aria-describedby": ariaDescribedBy,
6360
+ "$disabled": disabled,
6361
+ "$active": activeThumb === 'min',
6362
+ style: {
6363
+ left: "".concat(minPercent, "%")
6364
+ },
6365
+ onMouseDown: handleThumbMouseDown('min'),
6366
+ onKeyDown: handleKeyDown('min'),
6367
+ children: showValueLabel && jsxRuntime.jsx(StyledValueLabel, {
6368
+ "$disabled": disabled,
6369
+ children: formatValue(currentRangeValue[0])
6370
+ })
6371
+ }), jsxRuntime.jsx(StyledThumb, {
6372
+ role: "slider",
6373
+ tabIndex: disabled ? -1 : 0,
6374
+ "aria-label": ariaLabel ? "".concat(ariaLabel, " maximum") : 'Maximum value',
6375
+ "aria-valuemin": min,
6376
+ "aria-valuemax": max,
6377
+ "aria-valuenow": currentRangeValue[1],
6378
+ "aria-valuetext": formatValue(currentRangeValue[1]),
6379
+ "aria-disabled": disabled,
6380
+ "aria-describedby": ariaDescribedBy,
6381
+ "$disabled": disabled,
6382
+ "$active": activeThumb === 'max',
6383
+ style: {
6384
+ left: "".concat(maxPercent, "%")
6385
+ },
6386
+ onMouseDown: handleThumbMouseDown('max'),
6387
+ onKeyDown: handleKeyDown('max'),
6388
+ children: showValueLabel && jsxRuntime.jsx(StyledValueLabel, {
6389
+ "$disabled": disabled,
6390
+ children: formatValue(currentRangeValue[1])
6391
+ })
6392
+ })]
6393
+ }) : jsxRuntime.jsx(StyledThumb, {
6394
+ role: "slider",
6395
+ tabIndex: disabled ? -1 : 0,
6396
+ "aria-label": ariaLabel || label || 'Slider value',
6397
+ "aria-valuemin": min,
6398
+ "aria-valuemax": max,
6399
+ "aria-valuenow": currentValue,
6400
+ "aria-valuetext": formatValue(currentValue),
6401
+ "aria-disabled": disabled,
6402
+ "aria-describedby": ariaDescribedBy,
6403
+ "$disabled": disabled,
6404
+ "$active": activeThumb === 'single',
6405
+ style: {
6406
+ left: "".concat(singlePercent, "%")
6407
+ },
6408
+ onMouseDown: handleThumbMouseDown('single'),
6409
+ onKeyDown: handleKeyDown('single'),
6410
+ children: showValueLabel && jsxRuntime.jsx(StyledValueLabel, {
6411
+ "$disabled": disabled,
6412
+ children: formatValue(currentValue)
6413
+ })
6414
+ })]
6415
+ })
6416
+ }), jsxRuntime.jsxs(StyledMinMaxLabels, {
6417
+ children: [jsxRuntime.jsx("span", {
6418
+ children: formatValue(min)
6419
+ }), jsxRuntime.jsx("span", {
6420
+ children: formatValue(max)
6421
+ })]
6422
+ })]
6423
+ });
6213
6424
  };
6214
6425
  Slider.displayName = 'Slider';
6215
6426
  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
6427
 
6217
- React.createElement;
6218
6428
  var semantic$1 = tokensData.semantic,
6219
6429
  base$1 = tokensData.base;
6220
6430
  var StyledTabList = styled.div.withConfig({
@@ -6396,43 +6606,44 @@ var TabBar = function TabBar(_a) {
6396
6606
  (_a = tabRefs.current[newIndex]) === null || _a === void 0 ? void 0 : _a.focus();
6397
6607
  }
6398
6608
  };
6399
- return /*#__PURE__*/React.createElement(StyledTabList, {
6400
- $variant: variant,
6609
+ return jsxRuntime.jsx(StyledTabList, {
6610
+ "$variant": variant,
6401
6611
  role: "tablist",
6402
6612
  "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
- }));
6613
+ "data-testid": dataTestId,
6614
+ children: tabs.map(function (tab, index) {
6615
+ return jsxRuntime.jsxs(StyledTab, {
6616
+ ref: function ref(el) {
6617
+ tabRefs.current[index] = el;
6618
+ },
6619
+ "$variant": variant,
6620
+ "$isActive": tab.id === activeTab,
6621
+ "$disabled": tab.disabled || false,
6622
+ role: "tab",
6623
+ "aria-selected": tab.id === activeTab,
6624
+ "aria-disabled": tab.disabled || false,
6625
+ tabIndex: index === focusedIndex ? 0 : -1,
6626
+ disabled: tab.disabled,
6627
+ onClick: function onClick() {
6628
+ return handleTabClick(tab, index);
6629
+ },
6630
+ onKeyDown: function onKeyDown(e) {
6631
+ return handleKeyDown(e, index);
6632
+ },
6633
+ "data-testid": "".concat(dataTestId, "-tab-").concat(tab.id),
6634
+ children: [tab.label, typeof tab.badge === 'number' && tab.badge > 0 && jsxRuntime.jsx(StyledBadge, {
6635
+ "$variant": variant,
6636
+ "$isActive": tab.id === activeTab,
6637
+ "aria-label": "".concat(tab.badge, " items"),
6638
+ children: tab.badge > 99 ? '99+' : tab.badge
6639
+ })]
6640
+ }, tab.id);
6641
+ })
6642
+ });
6431
6643
  };
6432
6644
  TabBar.displayName = 'TabBar';
6433
6645
  var templateObject_1$3, templateObject_2$3, templateObject_3$3;
6434
6646
 
6435
- React.createElement;
6436
6647
  var semantic = tokensData.semantic,
6437
6648
  base = tokensData.base;
6438
6649
  var StyledFieldContainer = styled.div.withConfig({
@@ -6501,43 +6712,47 @@ var TextField = /*#__PURE__*/React.forwardRef(function (_a, ref) {
6501
6712
  var helperId = helperText && !error ? "".concat(id, "-helper") : undefined;
6502
6713
  var describedBy = [errorId, helperId].filter(Boolean).join(' ') || undefined;
6503
6714
  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));
6715
+ return jsxRuntime.jsxs(StyledFieldContainer, {
6716
+ "data-testid": dataTestId,
6717
+ children: [label && jsxRuntime.jsxs(StyledLabel, {
6718
+ htmlFor: id,
6719
+ "data-disabled": disabled,
6720
+ children: [label, required && jsxRuntime.jsx(StyledRequiredIndicator, {
6721
+ "aria-label": "required",
6722
+ children: "*"
6723
+ })]
6724
+ }), jsxRuntime.jsx(StyledInputBase, __assign({
6725
+ ref: ref,
6726
+ id: id,
6727
+ type: type,
6728
+ disabled: disabled,
6729
+ required: required,
6730
+ "aria-required": required,
6731
+ "aria-invalid": hasError,
6732
+ "aria-describedby": describedBy,
6733
+ "$hasError": hasError,
6734
+ "$disabled": disabled
6735
+ }, inputProps)), error && jsxRuntime.jsx(StyledHelperText, {
6736
+ id: errorId,
6737
+ role: "alert",
6738
+ "aria-live": "polite",
6739
+ "$hasError": true,
6740
+ children: error
6741
+ }), helperText && !error && jsxRuntime.jsx(StyledHelperText, {
6742
+ id: helperId,
6743
+ children: helperText
6744
+ })]
6745
+ });
6530
6746
  });
6531
6747
  TextField.displayName = 'TextField';
6532
6748
  var templateObject_1$2, templateObject_2$2, templateObject_3$2, templateObject_4$2;
6533
6749
 
6534
- React.createElement;
6535
6750
  var StyledContainer = styled.div.withConfig({
6536
6751
  displayName: "TransactionListItem__StyledContainer",
6537
6752
  componentId: "sc-7yunm0-0"
6538
6753
  })(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
6754
  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 ");
6755
+ 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
6756
  });
6542
6757
  var StyledAvatarSection = styled.div.withConfig({
6543
6758
  displayName: "TransactionListItem__StyledAvatarSection",
@@ -6546,7 +6761,7 @@ var StyledAvatarSection = styled.div.withConfig({
6546
6761
  var StyledMainContent = styled.div.withConfig({
6547
6762
  displayName: "TransactionListItem__StyledMainContent",
6548
6763
  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);
6764
+ })(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
6765
  var StyledTopRow = styled.div.withConfig({
6551
6766
  displayName: "TransactionListItem__StyledTopRow",
6552
6767
  componentId: "sc-7yunm0-3"
@@ -6554,7 +6769,7 @@ var StyledTopRow = styled.div.withConfig({
6554
6769
  var StyledMerchantSection = styled.div.withConfig({
6555
6770
  displayName: "TransactionListItem__StyledMerchantSection",
6556
6771
  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);
6772
+ })(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
6773
  var StyledBottomRow = styled.div.withConfig({
6559
6774
  displayName: "TransactionListItem__StyledBottomRow",
6560
6775
  componentId: "sc-7yunm0-5"
@@ -6571,21 +6786,40 @@ var StyledTruncatedText = styled.span.withConfig({
6571
6786
  displayName: "TransactionListItem__StyledTruncatedText",
6572
6787
  componentId: "sc-7yunm0-8"
6573
6788
  })(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)
6789
+ // Map categories to CategoryBadge configurations
6575
6790
  ])));
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'
6791
+ // Map categories to CategoryBadge configurations
6792
+ var categoryConfig = {
6793
+ shopping: {
6794
+ color: 'purple',
6795
+ icon: 'paper',
6796
+ label: 'Shopping'
6797
+ },
6798
+ dining: {
6799
+ color: 'orange',
6800
+ icon: 'paper',
6801
+ label: 'Dining'
6802
+ },
6803
+ transport: {
6804
+ color: 'blue',
6805
+ icon: 'paper',
6806
+ label: 'Transport'
6807
+ },
6808
+ entertainment: {
6809
+ color: 'pink',
6810
+ icon: 'star',
6811
+ label: 'Entertainment'
6812
+ },
6813
+ bills: {
6814
+ color: 'red',
6815
+ icon: 'paper',
6816
+ label: 'Bills'
6817
+ },
6818
+ other: {
6819
+ color: 'gray',
6820
+ icon: 'paper',
6821
+ label: 'Other'
6822
+ }
6589
6823
  };
6590
6824
  // Map status to badge variant
6591
6825
  var statusToBadgeVariant = {
@@ -6622,8 +6856,8 @@ var TransactionListItem = function TransactionListItem(_a) {
6622
6856
  var isClickable = !!onClick;
6623
6857
  // Determine amount variant
6624
6858
  var amountVariant = amount > 0 ? 'positive' : amount < 0 ? 'negative' : 'default';
6625
- // Get category icon
6626
- var categoryIcon = category ? categoryToIcon[category] : undefined;
6859
+ // Get category configuration
6860
+ var categoryData = category ? categoryConfig[category] : undefined;
6627
6861
  // Get badge variant from status
6628
6862
  var badgeVariant = statusToBadgeVariant[status];
6629
6863
  var handleClick = function handleClick() {
@@ -6637,71 +6871,95 @@ var TransactionListItem = function TransactionListItem(_a) {
6637
6871
  onClick === null || onClick === void 0 ? void 0 : onClick();
6638
6872
  }
6639
6873
  };
6640
- return /*#__PURE__*/React.createElement(StyledContainer, {
6641
- $clickable: isClickable,
6874
+ return jsxRuntime.jsxs(StyledContainer, {
6875
+ "$clickable": isClickable,
6642
6876
  onClick: handleClick,
6643
6877
  onKeyDown: handleKeyDown,
6644
6878
  tabIndex: isClickable ? 0 : undefined,
6645
6879
  role: isClickable ? 'button' : undefined,
6646
6880
  "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
- }))))));
6881
+ "data-testid": dataTestId,
6882
+ children: [jsxRuntime.jsx(StyledAvatarSection, {
6883
+ children: status === 'pending' ? jsxRuntime.jsx(Badge, {
6884
+ variant: badgeVariant,
6885
+ dot: true,
6886
+ "aria-label": "Pending transaction",
6887
+ children: jsxRuntime.jsx(Avatar, {
6888
+ name: merchant,
6889
+ picture: merchantLogo,
6890
+ size: "md"
6891
+ })
6892
+ }) : jsxRuntime.jsx(Avatar, {
6893
+ name: merchant,
6894
+ picture: merchantLogo,
6895
+ size: "md"
6896
+ })
6897
+ }), jsxRuntime.jsxs(StyledMainContent, {
6898
+ children: [jsxRuntime.jsxs(StyledTopRow, {
6899
+ children: [jsxRuntime.jsxs(StyledMerchantSection, {
6900
+ children: [jsxRuntime.jsx(StyledTruncatedText, {
6901
+ children: jsxRuntime.jsx(Typography, {
6902
+ variant: "body",
6903
+ children: merchant
6904
+ })
6905
+ }), categoryData && jsxRuntime.jsx(CategoryBadge, {
6906
+ color: categoryData.color,
6907
+ icon: categoryData.icon,
6908
+ size: "small",
6909
+ variant: "minimal",
6910
+ "aria-label": "Category: ".concat(categoryData.label),
6911
+ children: categoryData.label
6912
+ }), status === 'failed' && jsxRuntime.jsx(Badge, {
6913
+ variant: "error",
6914
+ dot: true,
6915
+ "aria-label": "Failed transaction",
6916
+ children: jsxRuntime.jsx("span", {})
6917
+ })]
6918
+ }), jsxRuntime.jsx(MoneyDisplay, {
6919
+ amount: amount,
6920
+ currency: currency,
6921
+ variant: amountVariant,
6922
+ size: "medium",
6923
+ weight: "medium",
6924
+ showSign: true,
6925
+ "data-testid": dataTestId ? "".concat(dataTestId, "-amount") : undefined
6926
+ })]
6927
+ }), jsxRuntime.jsxs(StyledBottomRow, {
6928
+ children: [jsxRuntime.jsxs(StyledMetadata, {
6929
+ children: [jsxRuntime.jsx(DateFormatter, {
6930
+ dateString: typeof date === 'string' ? date : date.toISOString(),
6931
+ mode: "smart",
6932
+ "data-testid": dataTestId ? "".concat(dataTestId, "-date") : undefined
6933
+ }), description && jsxRuntime.jsx(StyledTruncatedText, {
6934
+ children: jsxRuntime.jsxs(Typography, {
6935
+ variant: "small",
6936
+ color: "subdued",
6937
+ children: ["\u2022 ", description]
6938
+ })
6939
+ })]
6940
+ }), (hasReceipt || hasNote) && jsxRuntime.jsxs(StyledIconIndicator, {
6941
+ children: [hasReceipt && jsxRuntime.jsx("span", {
6942
+ "aria-label": "Has receipt",
6943
+ role: "img",
6944
+ children: jsxRuntime.jsx(Icon, {
6945
+ name: "fileDocSearch",
6946
+ size: "xs"
6947
+ })
6948
+ }), hasNote && jsxRuntime.jsx("span", {
6949
+ "aria-label": "Has note",
6950
+ role: "img",
6951
+ children: jsxRuntime.jsx(Icon, {
6952
+ name: "paper",
6953
+ size: "xs"
6954
+ })
6955
+ })]
6956
+ })]
6957
+ })]
6958
+ })]
6959
+ });
6701
6960
  };
6702
6961
  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
6962
 
6704
- React.createElement;
6705
6963
  // Breakpoints using base tokens
6706
6964
  var breakpoints = {
6707
6965
  xs: tokensData.base.breakpoint.xs,
@@ -6743,13 +7001,14 @@ var Grid = function Grid(_a) {
6743
7001
  gapY = _a.gapY,
6744
7002
  className = _a.className,
6745
7003
  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);
7004
+ return jsxRuntime.jsx(GridContainer, {
7005
+ "$cols": cols,
7006
+ "$gap": gap ? tokensData.base.spacing[gap] : undefined,
7007
+ "$gapX": gapX ? tokensData.base.spacing[gapX] : undefined,
7008
+ "$gapY": gapY ? tokensData.base.spacing[gapY] : undefined,
7009
+ className: className,
7010
+ children: children
7011
+ });
6753
7012
  };
6754
7013
  var GridColContainer = styled.div.withConfig({
6755
7014
  shouldForwardProp: function shouldForwardProp(prop) {
@@ -6791,19 +7050,20 @@ var GridCol = function GridCol(_a) {
6791
7050
  orderXl = _a.orderXl,
6792
7051
  className = _a.className,
6793
7052
  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);
7053
+ return jsxRuntime.jsx(GridColContainer, {
7054
+ "$span": span,
7055
+ "$spanSm": spanSm,
7056
+ "$spanMd": spanMd,
7057
+ "$spanLg": spanLg,
7058
+ "$spanXl": spanXl,
7059
+ "$order": order,
7060
+ "$orderSm": orderSm,
7061
+ "$orderMd": orderMd,
7062
+ "$orderLg": orderLg,
7063
+ "$orderXl": orderXl,
7064
+ className: className,
7065
+ children: children
7066
+ });
6807
7067
  };
6808
7068
  var ResponsiveGridContainer = styled.div.withConfig({
6809
7069
  shouldForwardProp: function shouldForwardProp(prop) {
@@ -6875,29 +7135,30 @@ var ResponsiveGrid = function ResponsiveGrid(_a) {
6875
7135
  gapYXl = _a.gapYXl,
6876
7136
  className = _a.className,
6877
7137
  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);
7138
+ return jsxRuntime.jsx(ResponsiveGridContainer, {
7139
+ "$cols": cols,
7140
+ "$colsSm": colsSm,
7141
+ "$colsMd": colsMd,
7142
+ "$colsLg": colsLg,
7143
+ "$colsXl": colsXl,
7144
+ "$gap": gap ? tokensData.base.spacing[gap] : undefined,
7145
+ "$gapSm": gapSm ? tokensData.base.spacing[gapSm] : undefined,
7146
+ "$gapMd": gapMd ? tokensData.base.spacing[gapMd] : undefined,
7147
+ "$gapLg": gapLg ? tokensData.base.spacing[gapLg] : undefined,
7148
+ "$gapXl": gapXl ? tokensData.base.spacing[gapXl] : undefined,
7149
+ "$gapX": gapX ? tokensData.base.spacing[gapX] : undefined,
7150
+ "$gapXSm": gapXSm ? tokensData.base.spacing[gapXSm] : undefined,
7151
+ "$gapXMd": gapXMd ? tokensData.base.spacing[gapXMd] : undefined,
7152
+ "$gapXLg": gapXLg ? tokensData.base.spacing[gapXLg] : undefined,
7153
+ "$gapXXl": gapXXl ? tokensData.base.spacing[gapXXl] : undefined,
7154
+ "$gapY": gapY ? tokensData.base.spacing[gapY] : undefined,
7155
+ "$gapYSm": gapYSm ? tokensData.base.spacing[gapYSm] : undefined,
7156
+ "$gapYMd": gapYMd ? tokensData.base.spacing[gapYMd] : undefined,
7157
+ "$gapYLg": gapYLg ? tokensData.base.spacing[gapYLg] : undefined,
7158
+ "$gapYXl": gapYXl ? tokensData.base.spacing[gapYXl] : undefined,
7159
+ className: className,
7160
+ children: children
7161
+ });
6901
7162
  };
6902
7163
  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
7164