@common-origin/design-system 2.4.2 → 2.6.1

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.esm.js CHANGED
@@ -91,7 +91,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
91
91
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
92
92
  };
93
93
 
94
- var base$d = {
94
+ var base$b = {
95
95
  border: {
96
96
  radius: {
97
97
  "1": "0.125rem",
@@ -407,7 +407,7 @@ var base$d = {
407
407
  },
408
408
  $ref: "./base/index.json"
409
409
  };
410
- var component$1 = {
410
+ var component$2 = {
411
411
  button: {
412
412
  primary: {
413
413
  backgroundColor: "#212529",
@@ -458,6 +458,34 @@ var component$1 = {
458
458
  backgroundColor: "transparent",
459
459
  textColor: "#adb5bd"
460
460
  }
461
+ },
462
+ emphasis: {
463
+ backgroundColor: "#0265DC",
464
+ textColor: "#ffffff",
465
+ hover: {
466
+ backgroundColor: "#0054B6"
467
+ },
468
+ active: {
469
+ backgroundColor: "#004491"
470
+ },
471
+ disabled: {
472
+ backgroundColor: "#dee2e6",
473
+ textColor: "#adb5bd"
474
+ }
475
+ },
476
+ danger: {
477
+ backgroundColor: "#D31510",
478
+ textColor: "#ffffff",
479
+ hover: {
480
+ backgroundColor: "#B40000"
481
+ },
482
+ active: {
483
+ backgroundColor: "#930000"
484
+ },
485
+ disabled: {
486
+ backgroundColor: "#dee2e6",
487
+ textColor: "#adb5bd"
488
+ }
461
489
  }
462
490
  },
463
491
  sizes: {
@@ -479,22 +507,66 @@ var component$1 = {
479
507
  "default": {
480
508
  backgroundColor: "#e9ecef",
481
509
  textColor: "#212529",
482
- borderRadius: "0.25rem",
510
+ borderRadius: "0.75rem",
483
511
  padding: "2px 0.5rem",
484
512
  font: "500 0.875rem/1.25rem 'Inter', sans-serif"
485
513
  },
514
+ hover: {
515
+ backgroundColor: "#dee2e6"
516
+ },
517
+ active: {
518
+ backgroundColor: "#ced4da"
519
+ },
520
+ focus: {
521
+ outline: "0.125rem solid #343a40",
522
+ outlineOffset: "2px"
523
+ },
524
+ disabled: {
525
+ backgroundColor: "#e9ecef",
526
+ textColor: "#adb5bd"
527
+ },
486
528
  variants: {
487
529
  emphasis: {
488
530
  backgroundColor: "#212529",
489
- textColor: "#ffffff"
531
+ textColor: "#ffffff",
532
+ hover: {
533
+ backgroundColor: "#343a40"
534
+ },
535
+ active: {
536
+ backgroundColor: "#16191C"
537
+ },
538
+ disabled: {
539
+ backgroundColor: "#dee2e6",
540
+ textColor: "#adb5bd"
541
+ }
490
542
  },
491
543
  subtle: {
492
544
  backgroundColor: "#ffffff",
493
- textColor: "#212529"
545
+ textColor: "#212529",
546
+ hover: {
547
+ backgroundColor: "#f8f9fa"
548
+ },
549
+ active: {
550
+ backgroundColor: "#e9ecef"
551
+ },
552
+ disabled: {
553
+ backgroundColor: "#ffffff",
554
+ textColor: "#adb5bd"
555
+ }
494
556
  },
495
557
  interactive: {
496
558
  backgroundColor: "#0265DC",
497
- textColor: "#ffffff"
559
+ textColor: "#ffffff",
560
+ hover: {
561
+ backgroundColor: "#0054B6"
562
+ },
563
+ active: {
564
+ backgroundColor: "#004491"
565
+ },
566
+ disabled: {
567
+ backgroundColor: "#dee2e6",
568
+ textColor: "#adb5bd"
569
+ }
498
570
  }
499
571
  },
500
572
  sizes: {
@@ -671,13 +743,32 @@ var component$1 = {
671
743
  },
672
744
  $ref: "./component/index.json"
673
745
  };
674
- var semantic$g = {
746
+ var semantic$i = {
747
+ elevation: {
748
+ none: "none",
749
+ inset: "inset 0 2px 4px 0 rgba(0, 0, 0, 0.06)",
750
+ raised: "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",
751
+ floating: "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",
752
+ overlay: "0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)",
753
+ sticky: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)"
754
+ },
675
755
  border: {
676
756
  "default": "0.0625rem solid #e9ecef",
677
757
  subtle: "0.0625rem solid #dee2e6",
678
758
  strong: "0.0625rem solid #343a40",
679
759
  focus: "0.125rem solid #343a40",
680
- tooltip: "0.125rem dotted #dee2e6"
760
+ tooltip: "0.125rem dotted #dee2e6",
761
+ radius: {
762
+ none: "0",
763
+ xs: "0.125rem",
764
+ sm: "0.25rem",
765
+ md: "0.5rem",
766
+ lg: "0.75rem",
767
+ xl: "1rem",
768
+ "2xl": "1.5rem",
769
+ "3xl": "2rem",
770
+ circle: "10rem"
771
+ }
681
772
  },
682
773
  size: {
683
774
  icon: {
@@ -856,11 +947,17 @@ var semantic$g = {
856
947
  $ref: "./semantic/index.json"
857
948
  };
858
949
  var tokensData = {
859
- base: base$d,
860
- component: component$1,
861
- semantic: semantic$g
950
+ base: base$b,
951
+ component: component$2,
952
+ semantic: semantic$i
862
953
  };
863
954
 
955
+ // Destructure tokens
956
+ var semantic$h = tokensData.semantic;
957
+ var color$a = semantic$h.color,
958
+ size$1 = semantic$h.size,
959
+ border$a = semantic$h.border;
960
+ var radius$6 = border$a.radius;
864
961
  var AvatarContainer = styled.div.withConfig({
865
962
  shouldForwardProp: function shouldForwardProp(prop) {
866
963
  return !prop.startsWith('$');
@@ -869,18 +966,18 @@ var AvatarContainer = styled.div.withConfig({
869
966
  componentId: "sc-ezn4ax-0"
870
967
  })(templateObject_1$I || (templateObject_1$I = __makeTemplateObject(["\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: ", ";\n height: ", ";\n border-radius: ", ";\n background-color: ", ";\n overflow: hidden;\n flex-shrink: 0;\n"], ["\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: ", ";\n height: ", ";\n border-radius: ", ";\n background-color: ", ";\n overflow: hidden;\n flex-shrink: 0;\n"])), function (_a) {
871
968
  var $size = _a.$size;
872
- return tokensData.semantic.size.avatar[$size];
969
+ return size$1.avatar[$size];
873
970
  }, function (_a) {
874
971
  var $size = _a.$size;
875
- return tokensData.semantic.size.avatar[$size];
876
- }, tokensData.base.border.radius.circle, tokensData.semantic.color.background.surface);
972
+ return size$1.avatar[$size];
973
+ }, radius$6.circle, color$a.background.surface);
877
974
  var AvatarImage = styled.img.withConfig({
878
975
  shouldForwardProp: function shouldForwardProp(prop) {
879
976
  return !prop.startsWith('$');
880
977
  },
881
978
  displayName: "Avatar__AvatarImage",
882
979
  componentId: "sc-ezn4ax-1"
883
- })(templateObject_2$t || (templateObject_2$t = __makeTemplateObject(["\n width: 100%;\n height: 100%;\n object-fit: cover;\n border-radius: ", ";\n /* Remove the img role since the container already has role=\"img\" */\n"], ["\n width: 100%;\n height: 100%;\n object-fit: cover;\n border-radius: ", ";\n /* Remove the img role since the container already has role=\"img\" */\n"])), tokensData.base.border.radius.circle);
980
+ })(templateObject_2$t || (templateObject_2$t = __makeTemplateObject(["\n width: 100%;\n height: 100%;\n object-fit: cover;\n border-radius: ", ";\n /* Remove the img role since the container already has role=\"img\" */\n"], ["\n width: 100%;\n height: 100%;\n object-fit: cover;\n border-radius: ", ";\n /* Remove the img role since the container already has role=\"img\" */\n"])), radius$6.circle);
884
981
  var AvatarInitials = styled.span.withConfig({
885
982
  shouldForwardProp: function shouldForwardProp(prop) {
886
983
  return !prop.startsWith('$');
@@ -899,7 +996,7 @@ var AvatarInitials = styled.span.withConfig({
899
996
  xl: tokensData.base.fontSize[5]
900
997
  };
901
998
  return sizeMap[$size];
902
- }, tokensData.semantic.color.text["default"]);
999
+ }, color$a.text["default"]);
903
1000
  // Helper function to get initials from name
904
1001
  var getInitials = function getInitials(name) {
905
1002
  return name.split(' ').map(function (word) {
@@ -955,41 +1052,41 @@ var Avatar = function Avatar(_a) {
955
1052
  };
956
1053
  var templateObject_1$I, templateObject_2$t, templateObject_3$q;
957
1054
 
958
- var _a$5 = tokensData.semantic,
959
- typography$2 = _a$5.typography,
960
- color$4 = _a$5.color;
1055
+ var _a$7 = tokensData.semantic,
1056
+ typography$5 = _a$7.typography,
1057
+ color$9 = _a$7.color;
961
1058
  var getTypographyStyles = function getTypographyStyles(variant) {
962
1059
  var styles = {
963
- display: "font: ".concat(typography$2.display, "; letter-spacing: ").concat(tokensData.base.letterSpacing[0], ";"),
964
- h1: "font: ".concat(typography$2.h1, "; letter-spacing: ").concat(tokensData.base.letterSpacing[0], ";"),
965
- h2: "font: ".concat(typography$2.h2, "; letter-spacing: ").concat(tokensData.base.letterSpacing[1], ";"),
966
- h3: "font: ".concat(typography$2.h3, "; letter-spacing: ").concat(tokensData.base.letterSpacing[1], ";"),
967
- h4: "font: ".concat(typography$2.h4, "; letter-spacing: ").concat(tokensData.base.letterSpacing[1], ";"),
968
- h5: "font: ".concat(typography$2.h5, "; letter-spacing: ").concat(tokensData.base.letterSpacing[2], ";"),
969
- h6: "font: ".concat(typography$2.h6, "; letter-spacing: ").concat(tokensData.base.letterSpacing[2], ";"),
970
- subtitle: "font: ".concat(typography$2.subtitle, ";"),
971
- body: "font: ".concat(typography$2.body, ";"),
972
- small: "font: ".concat(typography$2.small, ";"),
973
- overline: "font: ".concat(typography$2.overline, ";"),
974
- caption: "font: ".concat(typography$2.caption, "; text-transform: uppercase;"),
975
- button1: "font: ".concat(typography$2.button1, ";"),
976
- button2: "font: ".concat(typography$2.button2, ";"),
977
- button3: "font: ".concat(typography$2.button3, ";"),
978
- label: "font: ".concat(typography$2.label, ";")
1060
+ display: "font: ".concat(typography$5.display, "; letter-spacing: ").concat(tokensData.base.letterSpacing[0], ";"),
1061
+ h1: "font: ".concat(typography$5.h1, "; letter-spacing: ").concat(tokensData.base.letterSpacing[0], ";"),
1062
+ h2: "font: ".concat(typography$5.h2, "; letter-spacing: ").concat(tokensData.base.letterSpacing[1], ";"),
1063
+ h3: "font: ".concat(typography$5.h3, "; letter-spacing: ").concat(tokensData.base.letterSpacing[1], ";"),
1064
+ h4: "font: ".concat(typography$5.h4, "; letter-spacing: ").concat(tokensData.base.letterSpacing[1], ";"),
1065
+ h5: "font: ".concat(typography$5.h5, "; letter-spacing: ").concat(tokensData.base.letterSpacing[2], ";"),
1066
+ h6: "font: ".concat(typography$5.h6, "; letter-spacing: ").concat(tokensData.base.letterSpacing[2], ";"),
1067
+ subtitle: "font: ".concat(typography$5.subtitle, ";"),
1068
+ body: "font: ".concat(typography$5.body, ";"),
1069
+ small: "font: ".concat(typography$5.small, ";"),
1070
+ overline: "font: ".concat(typography$5.overline, ";"),
1071
+ caption: "font: ".concat(typography$5.caption, "; text-transform: uppercase;"),
1072
+ button1: "font: ".concat(typography$5.button1, ";"),
1073
+ button2: "font: ".concat(typography$5.button2, ";"),
1074
+ button3: "font: ".concat(typography$5.button3, ";"),
1075
+ label: "font: ".concat(typography$5.label, ";")
979
1076
  };
980
1077
  return styles[variant] || styles.body;
981
1078
  };
982
1079
  var getTextColor = function getTextColor(colorVariant) {
983
1080
  var colorMap = {
984
- "default": color$4.text["default"],
985
- emphasis: color$4.text.emphasis,
986
- subdued: color$4.text.subdued,
987
- inverse: color$4.text.inverse,
988
- disabled: color$4.text.disabled,
989
- interactive: color$4.text.interactive,
990
- error: color$4.text.error,
991
- success: color$4.text.success,
992
- warning: color$4.text.warning
1081
+ "default": color$9.text["default"],
1082
+ emphasis: color$9.text.emphasis,
1083
+ subdued: color$9.text.subdued,
1084
+ inverse: color$9.text.inverse,
1085
+ disabled: color$9.text.disabled,
1086
+ interactive: color$9.text.interactive,
1087
+ error: color$9.text.error,
1088
+ success: color$9.text.success,
1089
+ warning: color$9.text.warning
993
1090
  };
994
1091
  return colorMap[colorVariant] || colorMap["default"];
995
1092
  };
@@ -1090,8 +1187,10 @@ var Typography = function Typography(_a) {
1090
1187
  };
1091
1188
  var templateObject_1$H;
1092
1189
 
1093
- var color$3 = tokensData.semantic.color;
1094
- tokensData.base.shadow;
1190
+ var semantic$g = tokensData.semantic;
1191
+ var color$8 = semantic$g.color,
1192
+ border$9 = semantic$g.border;
1193
+ var radius$5 = border$9.radius;
1095
1194
  var scaleIn$1 = 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"])));
1096
1195
  var BadgeWrapper = styled.span.withConfig({
1097
1196
  displayName: "Badge__BadgeWrapper",
@@ -1111,24 +1210,24 @@ var BadgeIndicator = styled.span.withConfig({
1111
1210
  return props.$isDot ? '8px' : '16px';
1112
1211
  }, function (props) {
1113
1212
  return props.$isDot ? '0' : '0 4px';
1114
- }, tokensData.base.border.radius.circle, color$3.background["default"], scaleIn$1, function (props) {
1213
+ }, radius$5.circle, color$8.background["default"], scaleIn$1, function (props) {
1115
1214
  switch (props.$variant) {
1116
1215
  case 'primary':
1117
- return "\n background-color: ".concat(color$3.background.interactive, ";\n color: ").concat(color$3.text.inverse, ";\n ");
1216
+ return "\n background-color: ".concat(color$8.background.interactive, ";\n color: ").concat(color$8.text.inverse, ";\n ");
1118
1217
  case 'error':
1119
- return "\n background-color: ".concat(color$3.background.error, ";\n color: ").concat(color$3.text.inverse, ";\n ");
1218
+ return "\n background-color: ".concat(color$8.background.error, ";\n color: ").concat(color$8.text.inverse, ";\n ");
1120
1219
  case 'warning':
1121
- return "\n background-color: ".concat(color$3.background.warning, ";\n color: ").concat(color$3.text.inverse, ";\n ");
1220
+ return "\n background-color: ".concat(color$8.background.warning, ";\n color: ").concat(color$8.text.inverse, ";\n ");
1122
1221
  case 'success':
1123
- return "\n background-color: ".concat(color$3.background.success, ";\n color: ").concat(color$3.text.inverse, ";\n ");
1222
+ return "\n background-color: ".concat(color$8.background.success, ";\n color: ").concat(color$8.text.inverse, ";\n ");
1124
1223
  default:
1125
- return "\n background-color: ".concat(color$3.background.emphasis, ";\n color: ").concat(color$3.text.inverse, ";\n ");
1224
+ return "\n background-color: ".concat(color$8.background.emphasis, ";\n color: ").concat(color$8.text.inverse, ";\n ");
1126
1225
  }
1127
1226
  });
1128
1227
  var ScreenReaderOnly$1 = styled.span.withConfig({
1129
1228
  displayName: "Badge__ScreenReaderOnly",
1130
1229
  componentId: "sc-tjz4pp-2"
1131
- })(templateObject_4$j || (templateObject_4$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"])));
1230
+ })(templateObject_4$k || (templateObject_4$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"])));
1132
1231
  var Badge = function Badge(_a) {
1133
1232
  var children = _a.children,
1134
1233
  _b = _a.count,
@@ -1164,7 +1263,7 @@ var Badge = function Badge(_a) {
1164
1263
  })]
1165
1264
  });
1166
1265
  };
1167
- var templateObject_1$G, templateObject_2$s, templateObject_3$p, templateObject_4$j;
1266
+ var templateObject_1$G, templateObject_2$s, templateObject_3$p, templateObject_4$k;
1168
1267
 
1169
1268
  var StyledBox = styled.div.withConfig({
1170
1269
  shouldForwardProp: function shouldForwardProp(prop) {
@@ -1172,7 +1271,7 @@ var StyledBox = styled.div.withConfig({
1172
1271
  },
1173
1272
  displayName: "Box__StyledBox",
1174
1273
  componentId: "sc-aj0jhd-0"
1175
- })(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"
1274
+ })(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 // Elevation (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 // Elevation (shadow)\n ", "\n \n // Cursor\n ", "\n \n // Transition\n ", "\n \n // Hover states\n ", "\n \n // Overflow\n ", "\n ", "\n ", "\n"
1176
1275
  // Transform component that maps clean props to $-prefixed props for styled-components
1177
1276
  ])), function (props) {
1178
1277
  return props.$display && css(templateObject_1$F || (templateObject_1$F = __makeTemplateObject(["display: ", ";"], ["display: ", ";"])), props.$display);
@@ -1181,7 +1280,7 @@ var StyledBox = styled.div.withConfig({
1181
1280
  }, function (props) {
1182
1281
  return props.$justifyContent && css(templateObject_3$o || (templateObject_3$o = __makeTemplateObject(["justify-content: ", ";"], ["justify-content: ", ";"])), props.$justifyContent);
1183
1282
  }, function (props) {
1184
- return props.$alignItems && css(templateObject_4$i || (templateObject_4$i = __makeTemplateObject(["align-items: ", ";"], ["align-items: ", ";"])), props.$alignItems);
1283
+ return props.$alignItems && css(templateObject_4$j || (templateObject_4$j = __makeTemplateObject(["align-items: ", ";"], ["align-items: ", ";"])), props.$alignItems);
1185
1284
  }, function (props) {
1186
1285
  return props.$flexWrap && css(templateObject_5$e || (templateObject_5$e = __makeTemplateObject(["flex-wrap: ", ";"], ["flex-wrap: ", ";"])), props.$flexWrap);
1187
1286
  }, function (props) {
@@ -1191,9 +1290,9 @@ var StyledBox = styled.div.withConfig({
1191
1290
  }, function (props) {
1192
1291
  return props.$mt && css(templateObject_8$5 || (templateObject_8$5 = __makeTemplateObject(["margin-top: ", ";"], ["margin-top: ", ";"])), tokensData.semantic.spacing.layout[props.$mt]);
1193
1292
  }, function (props) {
1194
- return props.$mr && css(templateObject_9$4 || (templateObject_9$4 = __makeTemplateObject(["margin-right: ", ";"], ["margin-right: ", ";"])), tokensData.semantic.spacing.layout[props.$mr]);
1293
+ return props.$mr && css(templateObject_9$3 || (templateObject_9$3 = __makeTemplateObject(["margin-right: ", ";"], ["margin-right: ", ";"])), tokensData.semantic.spacing.layout[props.$mr]);
1195
1294
  }, function (props) {
1196
- return props.$mb && css(templateObject_10$3 || (templateObject_10$3 = __makeTemplateObject(["margin-bottom: ", ";"], ["margin-bottom: ", ";"])), tokensData.semantic.spacing.layout[props.$mb]);
1295
+ return props.$mb && css(templateObject_10$2 || (templateObject_10$2 = __makeTemplateObject(["margin-bottom: ", ";"], ["margin-bottom: ", ";"])), tokensData.semantic.spacing.layout[props.$mb]);
1197
1296
  }, function (props) {
1198
1297
  return props.$ml && css(templateObject_11$2 || (templateObject_11$2 = __makeTemplateObject(["margin-left: ", ";"], ["margin-left: ", ";"])), tokensData.semantic.spacing.layout[props.$ml]);
1199
1298
  }, function (props) {
@@ -1237,7 +1336,7 @@ var StyledBox = styled.div.withConfig({
1237
1336
  }, function (props) {
1238
1337
  return props.$left && css(templateObject_31$1 || (templateObject_31$1 = __makeTemplateObject(["left: ", ";"], ["left: ", ";"])), props.$left);
1239
1338
  }, function (props) {
1240
- return props.$borderRadius && css(templateObject_32$1 || (templateObject_32$1 = __makeTemplateObject(["border-radius: ", ";"], ["border-radius: ", ";"])), tokensData.base.border.radius[props.$borderRadius]);
1339
+ return props.$borderRadius && css(templateObject_32$1 || (templateObject_32$1 = __makeTemplateObject(["border-radius: ", ";"], ["border-radius: ", ";"])), tokensData.semantic.border.radius[props.$borderRadius]);
1241
1340
  }, function (props) {
1242
1341
  return props.$border && css(templateObject_33$1 || (templateObject_33$1 = __makeTemplateObject(["border: 1px solid ", ";"], ["border: 1px solid ", ";"])), tokensData.semantic.color.border[props.$border]);
1243
1342
  }, function (props) {
@@ -1253,13 +1352,13 @@ var StyledBox = styled.div.withConfig({
1253
1352
  }, function (props) {
1254
1353
  return props.$color && css(templateObject_39 || (templateObject_39 = __makeTemplateObject(["color: ", ";"], ["color: ", ";"])), tokensData.semantic.color.text[props.$color]);
1255
1354
  }, function (props) {
1256
- return props.$shadow && css(templateObject_40 || (templateObject_40 = __makeTemplateObject(["box-shadow: ", ";"], ["box-shadow: ", ";"])), tokensData.base.shadow[props.$shadow]);
1355
+ return props.$shadow && css(templateObject_40 || (templateObject_40 = __makeTemplateObject(["box-shadow: ", ";"], ["box-shadow: ", ";"])), tokensData.semantic.elevation[props.$shadow]);
1257
1356
  }, function (props) {
1258
1357
  return props.$cursor && css(templateObject_41 || (templateObject_41 = __makeTemplateObject(["cursor: ", ";"], ["cursor: ", ";"])), props.$cursor);
1259
1358
  }, function (props) {
1260
1359
  return props.$transition && css(templateObject_42 || (templateObject_42 = __makeTemplateObject(["transition: ", ";"], ["transition: ", ";"])), props.$transition);
1261
1360
  }, function (props) {
1262
- return (props.$hoverShadow || props.$hoverTransform) && 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 && css(templateObject_43 || (templateObject_43 = __makeTemplateObject(["box-shadow: ", ";"], ["box-shadow: ", ";"])), tokensData.base.shadow[props.$hoverShadow]), props.$hoverTransform && css(templateObject_44 || (templateObject_44 = __makeTemplateObject(["transform: ", ";"], ["transform: ", ";"])), props.$hoverTransform), tokensData.semantic.color.border.interactive);
1361
+ return (props.$hoverShadow || props.$hoverTransform) && 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 && css(templateObject_43 || (templateObject_43 = __makeTemplateObject(["box-shadow: ", ";"], ["box-shadow: ", ";"])), tokensData.semantic.elevation[props.$hoverShadow]), props.$hoverTransform && css(templateObject_44 || (templateObject_44 = __makeTemplateObject(["transform: ", ";"], ["transform: ", ";"])), props.$hoverTransform), tokensData.semantic.color.border.interactive);
1263
1362
  }, function (props) {
1264
1363
  return props.$overflow && css(templateObject_46 || (templateObject_46 = __makeTemplateObject(["overflow: ", ";"], ["overflow: ", ";"])), props.$overflow);
1265
1364
  }, function (props) {
@@ -1399,14 +1498,14 @@ var BoxTransform = function BoxTransform(props) {
1399
1498
  }));
1400
1499
  };
1401
1500
  var Box = BoxTransform;
1402
- 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;
1501
+ var templateObject_1$F, templateObject_2$r, templateObject_3$o, templateObject_4$j, templateObject_5$e, templateObject_6$c, templateObject_7$9, templateObject_8$5, templateObject_9$3, templateObject_10$2, 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;
1403
1502
 
1404
1503
  var add = {
1405
1504
  path: "M13 11H19V13H13V19H11V13H5V11H11V5H13V11Z",
1406
1505
  name: "add"
1407
1506
  };
1408
1507
  var addRing = {
1409
- path: "M20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12ZM22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z M11 8H13V16H11V8Z M8 11V13H16V11H8Z",
1508
+ path: "M13 11H16V13H13V16H11V13H8V11H11V8H13V11Z M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2ZM12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4Z",
1410
1509
  name: "addRing"
1411
1510
  };
1412
1511
  var arrowDown = {
@@ -1426,7 +1525,7 @@ var arrowRight = {
1426
1525
  name: "arrowRight"
1427
1526
  };
1428
1527
  var bell = {
1429
- path: "M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2ZM12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4ZM15.707 9.70703L13.4141 12L15.707 14.293L14.293 15.707L12 13.4141L9.70703 15.707L8.29297 14.293L10.5859 12L8.29297 9.70703L9.70703 8.29297L12 10.5859L14.293 8.29297L15.707 9.70703Z",
1528
+ path: "M12.0001 2C15.3561 2 18.1753 4.52384 18.546 7.85938L18.7979 10.125C18.8012 10.1546 18.8024 10.1676 18.8038 10.1797C18.9166 11.1628 19.2372 12.1106 19.7432 12.9609C19.7494 12.9714 19.7553 12.9824 19.7706 13.0078L20.3487 13.9707C20.5997 14.3891 20.829 14.7681 20.9795 15.0879C21.1276 15.4024 21.2852 15.8285 21.209 16.3115C21.1337 16.789 20.8882 17.2229 20.5176 17.5332C20.1426 17.8471 19.6956 17.931 19.3497 17.9658C18.998 18.0012 18.5554 18 18.0674 18H5.93268C5.44476 18 5.00211 18.0012 4.65045 17.9658C4.30456 17.931 3.85755 17.8471 3.48248 17.5332C3.1119 17.2229 2.86641 16.789 2.79107 16.3115C2.7149 15.8285 2.87247 15.4024 3.02057 15.0879C3.17116 14.7681 3.40038 14.3891 3.65143 13.9707L4.22955 13.0078C4.24481 12.9824 4.25068 12.9714 4.25689 12.9609C4.76296 12.1106 5.08348 11.1628 5.19635 10.1797C5.19773 10.1676 5.19892 10.1546 5.20221 10.125L5.45416 7.85938C5.82477 4.52384 8.644 2 12.0001 2ZM12.0001 4C9.6631 4 7.69954 5.75741 7.44146 8.08008L7.18951 10.3457C7.18638 10.3739 7.18457 10.3907 7.18268 10.4072C7.03761 11.6714 6.62638 12.8909 5.97564 13.9844C5.96724 13.9985 5.95885 14.013 5.94439 14.0371L5.36627 15C5.09277 15.4558 4.92766 15.7334 4.83014 15.9404C4.82533 15.9506 4.82155 15.9606 4.81744 15.9697C4.82787 15.971 4.83877 15.9744 4.85064 15.9756C5.07838 15.9985 5.40111 16 5.93268 16H18.0674C18.599 16 18.9217 15.9985 19.1495 15.9756C19.161 15.9744 19.1716 15.9709 19.1817 15.9697C19.1776 15.9607 19.1747 15.9505 19.17 15.9404C19.0725 15.7334 18.9074 15.4558 18.6338 15L18.0557 14.0371C18.0413 14.013 18.0329 13.9985 18.0245 13.9844C17.3737 12.8909 16.9625 11.6714 16.8174 10.4072C16.8155 10.3907 16.8137 10.3739 16.8106 10.3457L16.5587 8.08008C16.3006 5.75741 14.337 4 12.0001 4Z M12.0001 22C10.9897 22 10.0894 21.4972 9.419 20.7256C8.75348 19.9595 8.31404 18.9367 8.11822 17.8408C8.0211 17.2971 8.38314 16.7778 8.92682 16.6807C9.47038 16.5837 9.98987 16.9457 10.087 17.4893C10.233 18.3066 10.5467 18.9742 10.9288 19.4141C11.3063 19.8486 11.6896 20 12.0001 20C12.3106 20 12.6938 19.8486 13.0713 19.4141C13.4535 18.9742 13.7671 18.3066 13.9131 17.4893C14.0102 16.9457 14.5297 16.5837 15.0733 16.6807C15.617 16.7778 15.979 17.2971 15.8819 17.8408C15.6861 18.9367 15.2466 19.9595 14.5811 20.7256C13.9108 21.4972 13.0104 22 12.0001 22Z",
1430
1529
  name: "bell"
1431
1530
  };
1432
1531
  var back = {
@@ -1462,7 +1561,7 @@ var close = {
1462
1561
  name: "close"
1463
1562
  };
1464
1563
  var crossCircle = {
1465
- path: "M20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12ZM22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z M14.293 8.2925L15.7073 9.70672L9.7072 15.7068L8.29299 14.2926L14.293 8.2925Z M9.70706 8.29284L8.29284 9.70706L14.2929 15.7071L15.7071 14.2929L9.70706 8.29284Z",
1564
+ path: "M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2ZM12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4ZM15.707 9.70703L13.4141 12L15.707 14.293L14.293 15.707L12 13.4141L9.70703 15.707L8.29297 14.293L10.5859 12L8.29297 9.70703L9.70703 8.29297L12 10.5859L14.293 8.29297L15.707 9.70703Z",
1466
1565
  name: "crossCircle"
1467
1566
  };
1468
1567
  var directionRight = {
@@ -1699,10 +1798,53 @@ var baseButtonStyles = "\n box-sizing: border-box;\n display: inline-flex;\n
1699
1798
  // Dynamic variant styles using component tokens
1700
1799
  var getVariantStyles$1 = function getVariantStyles(_a) {
1701
1800
  var $variant = _a.$variant;
1702
- 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");
1801
+ var variantConfig = {
1802
+ primary: {
1803
+ bg: button.primary.backgroundColor,
1804
+ text: button.primary.textColor,
1805
+ hoverBg: button.hover.backgroundColor,
1806
+ activeBg: button.active.backgroundColor,
1807
+ disabledBg: button.disabled.backgroundColor,
1808
+ disabledText: button.disabled.textColor
1809
+ },
1810
+ secondary: {
1811
+ bg: button.variants.secondary.backgroundColor,
1812
+ text: button.variants.secondary.textColor,
1813
+ hoverBg: button.variants.secondary.hover.backgroundColor,
1814
+ activeBg: button.variants.secondary.active.backgroundColor,
1815
+ disabledBg: button.variants.secondary.disabled.backgroundColor,
1816
+ disabledText: button.variants.secondary.disabled.textColor
1817
+ },
1818
+ naked: {
1819
+ bg: button.variants.naked.backgroundColor,
1820
+ text: button.variants.naked.textColor,
1821
+ hoverBg: button.variants.naked.hover.backgroundColor,
1822
+ activeBg: button.variants.naked.active.backgroundColor,
1823
+ disabledBg: button.variants.naked.disabled.backgroundColor,
1824
+ disabledText: button.variants.naked.disabled.textColor
1825
+ },
1826
+ emphasis: {
1827
+ bg: button.variants.emphasis.backgroundColor,
1828
+ text: button.variants.emphasis.textColor,
1829
+ hoverBg: button.variants.emphasis.hover.backgroundColor,
1830
+ activeBg: button.variants.emphasis.active.backgroundColor,
1831
+ disabledBg: button.variants.emphasis.disabled.backgroundColor,
1832
+ disabledText: button.variants.emphasis.disabled.textColor
1833
+ },
1834
+ danger: {
1835
+ bg: button.variants.danger.backgroundColor,
1836
+ text: button.variants.danger.textColor,
1837
+ hoverBg: button.variants.danger.hover.backgroundColor,
1838
+ activeBg: button.variants.danger.active.backgroundColor,
1839
+ disabledBg: button.variants.danger.disabled.backgroundColor,
1840
+ disabledText: button.variants.danger.disabled.textColor
1841
+ }
1842
+ };
1843
+ var config = variantConfig[$variant];
1844
+ return "\n background-color: ".concat(config.bg, ";\n color: ").concat(config.text, ";\n \n &:hover:not(:disabled) {\n background-color: ").concat(config.hoverBg, ";\n }\n\n &:active:not(:disabled) {\n background-color: ").concat(config.activeBg, ";\n }\n\n &:disabled {\n background-color: ").concat(config.disabledBg, ";\n color: ").concat(config.disabledText, ";\n }\n ");
1703
1845
  };
1704
1846
  // Dynamic size styles using component tokens
1705
- var getSizeStyles$3 = function getSizeStyles(_a) {
1847
+ var getSizeStyles$1 = function getSizeStyles(_a) {
1706
1848
  var $size = _a.$size;
1707
1849
  switch ($size) {
1708
1850
  case 'small':
@@ -1721,7 +1863,7 @@ var StyledButton = styled.button.withConfig({
1721
1863
  },
1722
1864
  displayName: "Button__StyledButton",
1723
1865
  componentId: "sc-1eiuum9-0"
1724
- })(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);
1866
+ })(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$1);
1725
1867
  var StyledLink = styled.a.withConfig({
1726
1868
  shouldForwardProp: function shouldForwardProp(prop) {
1727
1869
  return !prop.startsWith('$');
@@ -1730,7 +1872,7 @@ var StyledLink = styled.a.withConfig({
1730
1872
  componentId: "sc-1eiuum9-1"
1731
1873
  })(templateObject_2$q || (templateObject_2$q = __makeTemplateObject(["\n ", "\n border-radius: ", ";\n \n ", "\n ", "\n"], ["\n ", "\n border-radius: ", ";\n \n ", "\n ", "\n"
1732
1874
  // Helper function to get icon size based on button size
1733
- ])), baseButtonStyles, button.primary.borderRadius, getVariantStyles$1, getSizeStyles$3);
1875
+ ])), baseButtonStyles, button.primary.borderRadius, getVariantStyles$1, getSizeStyles$1);
1734
1876
  // Helper function to get icon size based on button size
1735
1877
  var getIconSize = function getIconSize(buttonSize) {
1736
1878
  switch (buttonSize) {
@@ -1832,61 +1974,27 @@ var Button = function Button(_a) {
1832
1974
  var templateObject_1$D, templateObject_2$q;
1833
1975
 
1834
1976
  var semantic$e = tokensData.semantic,
1835
- base$c = tokensData.base;
1836
- var getColorStyles = function getColorStyles(color, variant) {
1837
- var colorKey = color;
1838
- if (variant === 'filled') {
1839
- return {
1840
- backgroundColor: semantic$e.color.category["".concat(colorKey, "-emphasis")],
1841
- color: semantic$e.color.text.inverse,
1842
- borderColor: 'transparent'
1843
- };
1844
- }
1845
- if (variant === 'outlined') {
1846
- return {
1847
- backgroundColor: 'transparent',
1848
- color: semantic$e.color.category[colorKey],
1849
- borderColor: semantic$e.color.category[colorKey]
1850
- };
1851
- }
1852
- // minimal
1853
- return {
1854
- backgroundColor: semantic$e.color.category["".concat(colorKey, "-subtle")],
1855
- color: semantic$e.color.category[colorKey],
1856
- borderColor: 'transparent'
1857
- };
1858
- };
1859
- var getSizeStyles$2 = function getSizeStyles(size) {
1860
- if (size === 'small') {
1861
- return {
1862
- height: '24px',
1863
- padding: "".concat(base$c.spacing[1], " ").concat(base$c.spacing[2]),
1864
- font: semantic$e.typography.caption,
1865
- gap: base$c.spacing[1],
1866
- iconSize: 'xs'
1867
- };
1868
- }
1869
- // medium
1870
- return {
1871
- height: '32px',
1872
- padding: "".concat(base$c.spacing[2], " ").concat(base$c.spacing[3]),
1873
- font: semantic$e.typography.small,
1874
- gap: base$c.spacing[1],
1875
- iconSize: 'sm'
1876
- };
1877
- };
1977
+ base$a = tokensData.base;
1978
+ var color$7 = semantic$e.color,
1979
+ typography$4 = semantic$e.typography,
1980
+ border$8 = semantic$e.border,
1981
+ spacing$7 = semantic$e.spacing;
1982
+ var category = color$7.category;
1983
+ var radius$4 = border$8.radius;
1984
+ var layout$3 = spacing$7.layout;
1878
1985
  var StyledCategoryBadge = styled.span.withConfig({
1879
1986
  shouldForwardProp: function shouldForwardProp(prop) {
1880
1987
  return !prop.startsWith('$');
1881
1988
  },
1882
1989
  displayName: "CategoryBadge__StyledCategoryBadge",
1883
1990
  componentId: "sc-17aslpn-0"
1884
- })(templateObject_1$C || (templateObject_1$C = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border-radius: ", ";\n font-weight: ", ";\n white-space: nowrap;\n user-select: none;\n transition: ", ";\n border-width: ", ";\n border-style: solid;\n \n /* Apply CSS custom properties */\n background-color: var(--category-badge-bg);\n color: var(--category-badge-color);\n border-color: var(--category-badge-border);\n height: var(--category-badge-height);\n padding: var(--category-badge-padding);\n font: var(--category-badge-font);\n gap: var(--category-badge-gap);\n opacity: var(--category-badge-opacity);\n cursor: var(--category-badge-cursor);\n \n /* Hover state for clickable badges */\n ", "\n \n /* Focus state */\n &:focus-visible {\n outline: ", " solid ", ";\n outline-offset: ", ";\n }\n"], ["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border-radius: ", ";\n font-weight: ", ";\n white-space: nowrap;\n user-select: none;\n transition: ", ";\n border-width: ", ";\n border-style: solid;\n \n /* Apply CSS custom properties */\n background-color: var(--category-badge-bg);\n color: var(--category-badge-color);\n border-color: var(--category-badge-border);\n height: var(--category-badge-height);\n padding: var(--category-badge-padding);\n font: var(--category-badge-font);\n gap: var(--category-badge-gap);\n opacity: var(--category-badge-opacity);\n cursor: var(--category-badge-cursor);\n \n /* Hover state for clickable badges */\n ", "\n \n /* Focus state */\n &:focus-visible {\n outline: ", " solid ", ";\n outline-offset: ", ";\n }\n"
1991
+ })(templateObject_1$C || (templateObject_1$C = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border-radius: ", ";\n font-weight: ", ";\n white-space: nowrap;\n user-select: none;\n border-style: solid;\n border-width: ", ";\n \n /* Size styles */\n height: ", ";\n padding: ", ";\n font: ", ";\n gap: ", ";\n \n /* Variant + Color styles */\n background-color: ", ";\n \n color: ", ";\n \n border-color: ", ";\n"], ["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border-radius: ", ";\n font-weight: ", ";\n white-space: nowrap;\n user-select: none;\n border-style: solid;\n border-width: ", ";\n \n /* Size styles */\n height: ", ";\n padding: ", ";\n font: ", ";\n gap: ", ";\n \n /* Variant + Color styles */\n background-color: ", ";\n \n color: ", ";\n \n border-color: ", ";\n"
1885
1992
  /**
1886
1993
  * CategoryBadge component for displaying transaction categories
1887
1994
  *
1888
- * Supports 8 color options, 3 visual variants, optional icons, and interactive behavior.
1889
- * Perfect for categorizing financial transactions or content.
1995
+ * A static label for categorizing content with support for 8 color options,
1996
+ * 3 visual variants, and optional icons. Perfect for categorizing
1997
+ * financial transactions or content types.
1890
1998
  *
1891
1999
  * @example
1892
2000
  * ```tsx
@@ -1894,23 +2002,51 @@ var StyledCategoryBadge = styled.span.withConfig({
1894
2002
  * Food & Dining
1895
2003
  * </CategoryBadge>
1896
2004
  *
1897
- * <CategoryBadge
1898
- * color="blue"
1899
- * variant="outlined"
1900
- * size="small"
1901
- * onClick={() => filterByCategory('travel')}
1902
- * >
2005
+ * <CategoryBadge color="blue" variant="outlined" size="small">
1903
2006
  * Travel
1904
2007
  * </CategoryBadge>
1905
2008
  * ```
1906
- */])), base$c.border.radius.circle, base$c.fontWeight[3], semantic$e.motion.hover, base$c.border.width[1], function (props) {
1907
- return props.$clickable && !props.$disabled && "\n &:hover {\n opacity: 0.85;\n transform: translateY(-1px);\n }\n \n &:active {\n transform: translateY(0);\n opacity: 0.95;\n }\n ";
1908
- }, base$c.border.width[2], semantic$e.color.border.strong, base$c.spacing[1]);
2009
+ */])), radius$4.circle, base$a.fontWeight[3], base$a.border.width[1], function (_a) {
2010
+ var $size = _a.$size;
2011
+ return $size === 'small' ? '24px' : '32px';
2012
+ }, function (_a) {
2013
+ var $size = _a.$size;
2014
+ return $size === 'small' ? "".concat(layout$3.xs, " ").concat(layout$3.sm) : "".concat(layout$3.sm, " ").concat(layout$3.md);
2015
+ }, function (_a) {
2016
+ var $size = _a.$size;
2017
+ return $size === 'small' ? typography$4.caption : typography$4.small;
2018
+ }, layout$3.xs, function (_a) {
2019
+ var $color = _a.$color,
2020
+ $variant = _a.$variant;
2021
+ if ($variant === 'filled') {
2022
+ return category["".concat($color, "-emphasis")];
2023
+ }
2024
+ if ($variant === 'outlined') {
2025
+ return 'transparent';
2026
+ }
2027
+ // minimal
2028
+ return category["".concat($color, "-subtle")];
2029
+ }, function (_a) {
2030
+ var $color = _a.$color,
2031
+ $variant = _a.$variant;
2032
+ if ($variant === 'filled') {
2033
+ return color$7.text.inverse;
2034
+ }
2035
+ return category[$color];
2036
+ }, function (_a) {
2037
+ var $color = _a.$color,
2038
+ $variant = _a.$variant;
2039
+ if ($variant === 'outlined') {
2040
+ return category[$color];
2041
+ }
2042
+ return 'transparent';
2043
+ });
1909
2044
  /**
1910
2045
  * CategoryBadge component for displaying transaction categories
1911
2046
  *
1912
- * Supports 8 color options, 3 visual variants, optional icons, and interactive behavior.
1913
- * Perfect for categorizing financial transactions or content.
2047
+ * A static label for categorizing content with support for 8 color options,
2048
+ * 3 visual variants, and optional icons. Perfect for categorizing
2049
+ * financial transactions or content types.
1914
2050
  *
1915
2051
  * @example
1916
2052
  * ```tsx
@@ -1918,12 +2054,7 @@ var StyledCategoryBadge = styled.span.withConfig({
1918
2054
  * Food & Dining
1919
2055
  * </CategoryBadge>
1920
2056
  *
1921
- * <CategoryBadge
1922
- * color="blue"
1923
- * variant="outlined"
1924
- * size="small"
1925
- * onClick={() => filterByCategory('travel')}
1926
- * >
2057
+ * <CategoryBadge color="blue" variant="outlined" size="small">
1927
2058
  * Travel
1928
2059
  * </CategoryBadge>
1929
2060
  * ```
@@ -1937,54 +2068,18 @@ var CategoryBadge = function CategoryBadge(_a) {
1937
2068
  _d = _a.size,
1938
2069
  size = _d === void 0 ? 'medium' : _d,
1939
2070
  icon = _a.icon,
1940
- onClick = _a.onClick,
1941
- _e = _a.disabled,
1942
- disabled = _e === void 0 ? false : _e,
1943
2071
  dataTestId = _a["data-testid"],
1944
2072
  ariaLabel = _a["aria-label"];
1945
- var hasClickHandler = Boolean(onClick);
1946
- var isClickable = hasClickHandler && !disabled;
1947
- var colorStyles = getColorStyles(color, variant);
1948
- var sizeStyles = getSizeStyles$2(size);
1949
- var cssProps = {
1950
- '--category-badge-bg': colorStyles.backgroundColor,
1951
- '--category-badge-color': colorStyles.color,
1952
- '--category-badge-border': colorStyles.borderColor,
1953
- '--category-badge-height': sizeStyles.height,
1954
- '--category-badge-padding': sizeStyles.padding,
1955
- '--category-badge-font': sizeStyles.font,
1956
- '--category-badge-gap': sizeStyles.gap,
1957
- '--category-badge-opacity': disabled ? '0.6' : '1',
1958
- '--category-badge-cursor': disabled ? 'not-allowed' : isClickable ? 'pointer' : 'default'
1959
- };
1960
- var handleClick = function handleClick() {
1961
- if (isClickable) {
1962
- onClick === null || onClick === void 0 ? void 0 : onClick();
1963
- }
1964
- };
1965
- var handleKeyDown = function handleKeyDown(event) {
1966
- if (isClickable && (event.key === 'Enter' || event.key === ' ')) {
1967
- event.preventDefault();
1968
- onClick === null || onClick === void 0 ? void 0 : onClick();
1969
- }
1970
- };
2073
+ var iconSize = size === 'small' ? 'xs' : 'sm';
1971
2074
  return jsxs(StyledCategoryBadge, {
1972
2075
  "$color": color,
1973
2076
  "$variant": variant,
1974
2077
  "$size": size,
1975
- "$clickable": isClickable,
1976
- "$disabled": disabled,
1977
- onClick: handleClick,
1978
- onKeyDown: handleKeyDown,
1979
- tabIndex: hasClickHandler ? 0 : undefined,
1980
- role: hasClickHandler ? 'button' : undefined,
1981
2078
  "aria-label": ariaLabel,
1982
- "aria-disabled": disabled,
1983
2079
  "data-testid": dataTestId,
1984
- style: cssProps,
1985
2080
  children: [icon && jsx(Icon, {
1986
2081
  name: icon,
1987
- size: sizeStyles.iconSize,
2082
+ size: iconSize,
1988
2083
  iconColor: variant === 'filled' ? 'inverse' : 'inherit',
1989
2084
  "aria-hidden": "true"
1990
2085
  }), children]
@@ -1997,25 +2092,27 @@ var chip = tokensData.component.chip;
1997
2092
  // Helper function to get variant styles matching Button's approach
1998
2093
  var getVariantStyles = function getVariantStyles(_a) {
1999
2094
  var $variant = _a.$variant,
2000
- $selected = _a.$selected;
2095
+ $selected = _a.$selected,
2096
+ $clickable = _a.$clickable,
2097
+ $disabled = _a.$disabled;
2001
2098
  // Boolean chips with selected state get special background
2002
2099
  if ($selected) {
2003
- return "\n background-color: ".concat(tokensData.semantic.color.background['interactive-subtle'], ";\n color: ").concat(chip["default"].textColor, ";\n ");
2100
+ return "\n background-color: ".concat(tokensData.semantic.color.background['interactive-subtle'], ";\n color: ").concat(chip["default"].textColor, ";\n \n &:hover {\n background-color: ").concat($disabled ? tokensData.semantic.color.background['interactive-subtle'] : $clickable ? '#CAE8FF' : tokensData.semantic.color.background['interactive-subtle'], ";\n }\n \n &:active {\n background-color: ").concat($disabled ? tokensData.semantic.color.background['interactive-subtle'] : $clickable ? '#B5DEFF' : tokensData.semantic.color.background['interactive-subtle'], ";\n }\n ");
2004
2101
  }
2005
2102
  switch ($variant) {
2006
2103
  case 'emphasis':
2007
- return "\n background-color: ".concat(chip.variants.emphasis.backgroundColor, ";\n color: ").concat(chip.variants.emphasis.textColor, ";\n ");
2104
+ return "\n background-color: ".concat(chip.variants.emphasis.backgroundColor, ";\n color: ").concat(chip.variants.emphasis.textColor, ";\n \n &:hover {\n background-color: ").concat($disabled ? chip.variants.emphasis.disabled.backgroundColor : $clickable ? chip.variants.emphasis.hover.backgroundColor : chip.variants.emphasis.backgroundColor, ";\n }\n \n &:active {\n background-color: ").concat($disabled ? chip.variants.emphasis.disabled.backgroundColor : $clickable ? chip.variants.emphasis.active.backgroundColor : chip.variants.emphasis.backgroundColor, ";\n }\n \n ").concat($disabled ? "\n background-color: ".concat(chip.variants.emphasis.disabled.backgroundColor, ";\n color: ").concat(chip.variants.emphasis.disabled.textColor, ";\n ") : '', "\n ");
2008
2105
  case 'subtle':
2009
- return "\n background-color: ".concat(chip.variants.subtle.backgroundColor, ";\n color: ").concat(chip.variants.subtle.textColor, ";\n ");
2106
+ return "\n background-color: ".concat(chip.variants.subtle.backgroundColor, ";\n color: ").concat(chip.variants.subtle.textColor, ";\n \n &:hover {\n background-color: ").concat($disabled ? chip.variants.subtle.disabled.backgroundColor : $clickable ? chip.variants.subtle.hover.backgroundColor : chip.variants.subtle.backgroundColor, ";\n }\n \n &:active {\n background-color: ").concat($disabled ? chip.variants.subtle.disabled.backgroundColor : $clickable ? chip.variants.subtle.active.backgroundColor : chip.variants.subtle.backgroundColor, ";\n }\n \n ").concat($disabled ? "\n background-color: ".concat(chip.variants.subtle.disabled.backgroundColor, ";\n color: ").concat(chip.variants.subtle.disabled.textColor, ";\n ") : '', "\n ");
2010
2107
  case 'interactive':
2011
- return "\n background-color: ".concat(chip.variants.interactive.backgroundColor, ";\n color: ").concat(chip.variants.interactive.textColor, ";\n ");
2108
+ return "\n background-color: ".concat(chip.variants.interactive.backgroundColor, ";\n color: ").concat(chip.variants.interactive.textColor, ";\n \n &:hover {\n background-color: ").concat($disabled ? chip.variants.interactive.disabled.backgroundColor : $clickable ? chip.variants.interactive.hover.backgroundColor : chip.variants.interactive.backgroundColor, ";\n }\n \n &:active {\n background-color: ").concat($disabled ? chip.variants.interactive.disabled.backgroundColor : $clickable ? chip.variants.interactive.active.backgroundColor : chip.variants.interactive.backgroundColor, ";\n }\n \n ").concat($disabled ? "\n background-color: ".concat(chip.variants.interactive.disabled.backgroundColor, ";\n color: ").concat(chip.variants.interactive.disabled.textColor, ";\n ") : '', "\n ");
2012
2109
  case 'default':
2013
2110
  default:
2014
- return "\n background-color: ".concat(chip["default"].backgroundColor, ";\n color: ").concat(chip["default"].textColor, ";\n ");
2111
+ return "\n background-color: ".concat(chip["default"].backgroundColor, ";\n color: ").concat(chip["default"].textColor, ";\n \n &:hover {\n background-color: ").concat($disabled ? chip.disabled.backgroundColor : $clickable ? chip.hover.backgroundColor : chip["default"].backgroundColor, ";\n }\n \n &:active {\n background-color: ").concat($disabled ? chip.disabled.backgroundColor : $clickable ? chip.active.backgroundColor : chip["default"].backgroundColor, ";\n }\n \n ").concat($disabled ? "\n background-color: ".concat(chip.disabled.backgroundColor, ";\n color: ").concat(chip.disabled.textColor, ";\n ") : '', "\n ");
2015
2112
  }
2016
2113
  };
2017
2114
  // Helper function to get size styles matching Button's approach
2018
- var getSizeStyles$1 = function getSizeStyles(_a) {
2115
+ var getSizeStyles = function getSizeStyles(_a) {
2019
2116
  var $size = _a.$size;
2020
2117
  switch ($size) {
2021
2118
  case 'small':
@@ -2033,24 +2130,18 @@ var StyledChip = styled.span.withConfig({
2033
2130
  },
2034
2131
  displayName: "ChipBase__StyledChip",
2035
2132
  componentId: "sc-moa6zc-0"
2036
- })(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"
2133
+ })(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: ", ";\n box-sizing: border-box;\n user-select: none;\n white-space: nowrap;\n transition: ", ";\n cursor: ", ";\n \n ", "\n ", "\n \n &:focus-visible {\n outline: ", ";\n outline-offset: ", ";\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: ", ";\n box-sizing: border-box;\n user-select: none;\n white-space: nowrap;\n transition: ", ";\n cursor: ", ";\n \n ", "\n ", "\n \n &:focus-visible {\n outline: ", ";\n outline-offset: ", ";\n }\n"
2037
2134
  // Icon container for selected indicator or leading icons
2038
- ])), tokensData.semantic.motion.interactive, tokensData.semantic.motion.hover, function (props) {
2135
+ ])), chip["default"].borderRadius, tokensData.semantic.motion.hover, function (props) {
2039
2136
  return props.$disabled ? 'not-allowed' : props.$clickable ? 'pointer' : 'default';
2040
- }, function (props) {
2041
- return props.$disabled ? '0.6' : '1';
2042
- }, getVariantStyles, getSizeStyles$1, function (props) {
2043
- return props.$disabled ? '0.6' : props.$clickable ? '0.8' : '1';
2044
- }, function (props) {
2045
- return props.$disabled ? '0.6' : props.$clickable ? '0.9' : '1';
2046
- }, chip.variants.interactive.backgroundColor);
2137
+ }, getVariantStyles, getSizeStyles, chip.focus.outline, chip.focus.outlineOffset);
2047
2138
  // Icon container for selected indicator or leading icons
2048
2139
  var IconContainer = styled.span.withConfig({
2049
2140
  displayName: "ChipBase__IconContainer",
2050
2141
  componentId: "sc-moa6zc-1"
2051
2142
  })(templateObject_2$p || (templateObject_2$p = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n margin-right: ", ";\n"], ["\n display: inline-flex;\n align-items: center;\n margin-right: ", ";\n"
2052
2143
  // Close button for dismissible chips
2053
- ])), tokensData.semantic.spacing.layout.sm);
2144
+ ])), tokensData.semantic.spacing.layout.xs);
2054
2145
  // Close button for dismissible chips
2055
2146
  var CloseButton = styled.button.withConfig({
2056
2147
  shouldForwardProp: function shouldForwardProp(prop) {
@@ -2058,11 +2149,9 @@ var CloseButton = styled.button.withConfig({
2058
2149
  },
2059
2150
  displayName: "ChipBase__CloseButton",
2060
2151
  componentId: "sc-moa6zc-2"
2061
- })(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) {
2152
+ })(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: 2px;\n border-radius: ", ";\n cursor: ", ";\n color: inherit;\n transition: ", ";\n \n &:hover:not(:disabled) {\n background-color: rgba(0, 0, 0, 0.1);\n }\n \n &:active:not(:disabled) {\n background-color: rgba(0, 0, 0, 0.15);\n }\n \n &:disabled {\n color: ", ";\n }\n \n &:focus-visible {\n outline: ", ";\n outline-offset: ", ";\n border-radius: ", ";\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: 2px;\n border-radius: ", ";\n cursor: ", ";\n color: inherit;\n transition: ", ";\n \n &:hover:not(:disabled) {\n background-color: rgba(0, 0, 0, 0.1);\n }\n \n &:active:not(:disabled) {\n background-color: rgba(0, 0, 0, 0.15);\n }\n \n &:disabled {\n color: ", ";\n }\n \n &:focus-visible {\n outline: ", ";\n outline-offset: ", ";\n border-radius: ", ";\n }\n"])), tokensData.semantic.spacing.layout.sm, tokensData.semantic.border.radius.xs, function (props) {
2062
2153
  return props.$disabled ? 'not-allowed' : 'pointer';
2063
- }, function (props) {
2064
- return props.$disabled ? '0.6' : '1';
2065
- }, tokensData.semantic.motion.transition.fast, chip.variants.interactive.backgroundColor);
2154
+ }, tokensData.semantic.motion.hover, tokensData.semantic.color.text.disabled, chip.focus.outline, chip.focus.outlineOffset, chip["default"].borderRadius);
2066
2155
  var templateObject_1$B, templateObject_2$p, templateObject_3$n;
2067
2156
 
2068
2157
  /**
@@ -2309,11 +2398,11 @@ var media$1 = {
2309
2398
  '2xl': "@media (min-width: ".concat(breakpoints$1['2xl'], ")")
2310
2399
  };
2311
2400
 
2312
- var spacing$3 = tokensData.semantic.spacing;
2401
+ var spacing$6 = tokensData.semantic.spacing;
2313
2402
  var StyledContainer$2 = styled.div.withConfig({
2314
2403
  displayName: "Container__StyledContainer",
2315
2404
  componentId: "sc-17dbj6n-0"
2316
- })(templateObject_1$A || (templateObject_1$A = __makeTemplateObject(["\n width: 100%;\n margin-left: auto;\n margin-right: auto;\n padding-left: ", ";\n padding-right: ", ";\n \n ", " {\n max-width: 640px;\n }\n \n ", " {\n max-width: 768px;\n }\n \n ", " {\n max-width: 1024px;\n }\n \n ", " {\n max-width: 1280px;\n }\n \n ", " {\n max-width: 1536px;\n }\n"], ["\n width: 100%;\n margin-left: auto;\n margin-right: auto;\n padding-left: ", ";\n padding-right: ", ";\n \n ", " {\n max-width: 640px;\n }\n \n ", " {\n max-width: 768px;\n }\n \n ", " {\n max-width: 1024px;\n }\n \n ", " {\n max-width: 1280px;\n }\n \n ", " {\n max-width: 1536px;\n }\n"])), spacing$3.layout['2xl'], spacing$3.layout['2xl'], media$1.sm, media$1.md, media$1.lg, media$1.xl, media$1['2xl']);
2405
+ })(templateObject_1$A || (templateObject_1$A = __makeTemplateObject(["\n width: 100%;\n margin-left: auto;\n margin-right: auto;\n padding-left: ", ";\n padding-right: ", ";\n \n ", " {\n max-width: 640px;\n }\n \n ", " {\n max-width: 768px;\n }\n \n ", " {\n max-width: 1024px;\n }\n \n ", " {\n max-width: 1280px;\n }\n \n ", " {\n max-width: 1536px;\n }\n"], ["\n width: 100%;\n margin-left: auto;\n margin-right: auto;\n padding-left: ", ";\n padding-right: ", ";\n \n ", " {\n max-width: 640px;\n }\n \n ", " {\n max-width: 768px;\n }\n \n ", " {\n max-width: 1024px;\n }\n \n ", " {\n max-width: 1280px;\n }\n \n ", " {\n max-width: 1536px;\n }\n"])), spacing$6.layout['2xl'], spacing$6.layout['2xl'], media$1.sm, media$1.md, media$1.lg, media$1.xl, media$1['2xl']);
2317
2406
  var Container = function Container(_a) {
2318
2407
  var children = _a.children,
2319
2408
  props = __rest(_a, ["children"]);
@@ -2323,7 +2412,7 @@ var Container = function Container(_a) {
2323
2412
  };
2324
2413
  var templateObject_1$A;
2325
2414
 
2326
- var base$b = tokensData.base;
2415
+ var base$9 = tokensData.base;
2327
2416
  var PictureWrapper = styled.div.withConfig({
2328
2417
  displayName: "Picture__PictureWrapper",
2329
2418
  componentId: "sc-11d9tei-0"
@@ -2331,15 +2420,15 @@ var PictureWrapper = styled.div.withConfig({
2331
2420
  var ImageLink = styled.a.withConfig({
2332
2421
  displayName: "Picture__ImageLink",
2333
2422
  componentId: "sc-11d9tei-1"
2334
- })(templateObject_2$o || (templateObject_2$o = __makeTemplateObject(["\n display: block;\n cursor: pointer;\n transition: opacity ", " ", ";\n \n &:hover {\n opacity: 0.8;\n }\n"], ["\n display: block;\n cursor: pointer;\n transition: opacity ", " ", ";\n \n &:hover {\n opacity: 0.8;\n }\n"])), base$b.duration.normal, base$b.easing.easeInOut);
2423
+ })(templateObject_2$o || (templateObject_2$o = __makeTemplateObject(["\n display: block;\n cursor: pointer;\n transition: opacity ", " ", ";\n \n &:hover {\n opacity: 0.8;\n }\n"], ["\n display: block;\n cursor: pointer;\n transition: opacity ", " ", ";\n \n &:hover {\n opacity: 0.8;\n }\n"])), base$9.duration.normal, base$9.easing.easeInOut);
2335
2424
  var ImageButton = styled.button.withConfig({
2336
2425
  displayName: "Picture__ImageButton",
2337
2426
  componentId: "sc-11d9tei-2"
2338
- })(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);
2427
+ })(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$9.duration.normal, base$9.easing.easeInOut);
2339
2428
  var StyledImage = styled.img.withConfig({
2340
2429
  displayName: "Picture__StyledImage",
2341
2430
  componentId: "sc-11d9tei-3"
2342
- })(templateObject_4$h || (templateObject_4$h = __makeTemplateObject(["\n width: 100%;\n height: auto;\n border-radius: ", ";\n display: block;\n"], ["\n width: 100%;\n height: auto;\n border-radius: ", ";\n display: block;\n"])), base$b.border.radius[2]);
2431
+ })(templateObject_4$i || (templateObject_4$i = __makeTemplateObject(["\n width: 100%;\n height: auto;\n border-radius: ", ";\n display: block;\n"], ["\n width: 100%;\n height: auto;\n border-radius: ", ";\n display: block;\n"])), base$9.border.radius[2]);
2343
2432
  var Picture = function Picture(_a) {
2344
2433
  var title = _a.title,
2345
2434
  src = _a.src,
@@ -2369,18 +2458,18 @@ var Picture = function Picture(_a) {
2369
2458
  }) : image
2370
2459
  });
2371
2460
  };
2372
- var templateObject_1$z, templateObject_2$o, templateObject_3$m, templateObject_4$h;
2461
+ var templateObject_1$z, templateObject_2$o, templateObject_3$m, templateObject_4$i;
2373
2462
 
2374
- var _a$4 = tokensData.semantic,
2375
- typography$1 = _a$4.typography,
2376
- color$2 = _a$4.color;
2463
+ var _a$6 = tokensData.semantic,
2464
+ typography$3 = _a$6.typography,
2465
+ color$6 = _a$6.color;
2377
2466
  var TimeStyled = styled.time.withConfig({
2378
2467
  displayName: "DateFormatter__TimeStyled",
2379
2468
  componentId: "sc-5464cc-0"
2380
2469
  })(templateObject_1$y || (templateObject_1$y = __makeTemplateObject(["\n font: ", ";\n color: ", ";\n"], ["\n font: ", ";\n color: ", ";\n"
2381
2470
  /**
2382
2471
  * Formats a date with smart relative/absolute logic
2383
- */])), typography$1.label, color$2.text.subdued);
2472
+ */])), typography$3.label, color$6.text.subdued);
2384
2473
  /**
2385
2474
  * Formats a date with smart relative/absolute logic
2386
2475
  */
@@ -2428,7 +2517,7 @@ var DateFormatter = function DateFormatter(_a) {
2428
2517
  };
2429
2518
  var templateObject_1$y;
2430
2519
 
2431
- var motion = tokensData.semantic.motion,
2520
+ var motion$2 = tokensData.semantic.motion,
2432
2521
  iconButton = tokensData.component.iconButton;
2433
2522
  var IconButtonStyled = styled.button.withConfig({
2434
2523
  shouldForwardProp: function shouldForwardProp(prop) {
@@ -2448,7 +2537,7 @@ var IconButtonStyled = styled.button.withConfig({
2448
2537
  default:
2449
2538
  return iconButton.primary.backgroundColor;
2450
2539
  }
2451
- }, iconButton.primary.borderRadius, motion.transition.normal, iconButton.primary.display, iconButton.primary.justifyContent, iconButton.primary.alignItems, function (_a) {
2540
+ }, iconButton.primary.borderRadius, motion$2.transition.normal, iconButton.primary.display, iconButton.primary.justifyContent, iconButton.primary.alignItems, function (_a) {
2452
2541
  var $size = _a.$size;
2453
2542
  return iconButton.sizes[$size].minWidth;
2454
2543
  }, function (_a) {
@@ -2557,7 +2646,7 @@ var StyledWrapper = styled.span.withConfig({
2557
2646
  },
2558
2647
  displayName: "MoneyDisplay__StyledWrapper",
2559
2648
  componentId: "sc-1mddej3-0"
2560
- })(templateObject_1$w || (templateObject_1$w = __makeTemplateObject(["\n display: inline-block;\n text-align: ", ";\n font-weight: ", ";\n"], ["\n display: inline-block;\n text-align: ", ";\n font-weight: ", ";\n"
2649
+ })(templateObject_1$w || (templateObject_1$w = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n gap: 0.25rem;\n text-align: ", ";\n font-weight: ", ";\n"], ["\n display: inline-flex;\n align-items: center;\n gap: 0.25rem;\n text-align: ", ";\n font-weight: ", ";\n"
2561
2650
  // Map size to Typography variant
2562
2651
  ])), function (_a) {
2563
2652
  var $align = _a.$align;
@@ -2573,14 +2662,12 @@ var sizeToTypographyVariant = {
2573
2662
  large: 'h3',
2574
2663
  xlarge: 'h2'
2575
2664
  };
2576
- // Map MoneyDisplay variant to Typography color
2577
- var variantToTypographyColor = {
2578
- "default": 'default',
2579
- positive: 'success',
2580
- // Green color for credits/income
2581
- negative: 'error',
2582
- // Red color for debits/expenses
2583
- neutral: 'subdued' // Gray color for informational
2665
+ // Map size to Icon size for consistent visual alignment
2666
+ var sizeToIconSize = {
2667
+ small: 'xs',
2668
+ medium: 'sm',
2669
+ large: 'md',
2670
+ xlarge: 'lg'
2584
2671
  };
2585
2672
  /**
2586
2673
  * Generates aria-label with spelled out amount
@@ -2629,45 +2716,61 @@ var MoneyDisplay = function MoneyDisplay(_a) {
2629
2716
  maximumFractionDigits: 2
2630
2717
  });
2631
2718
  var formattedAmount = formatter.format(Math.abs(amount));
2632
- // Add sign if needed
2633
- var displayText = formattedAmount;
2634
- if (showSign && amount !== 0) {
2635
- var signSymbol = amount > 0 ? '+' : '−'; // Using minus sign character, not hyphen
2636
- displayText = signSymbol + formattedAmount;
2637
- } else if (amount < 0 && !showSign) {
2638
- // Still show negative sign even without showSign
2639
- displayText = '−' + formattedAmount;
2640
- }
2719
+ // Determine if we need to show a sign icon
2720
+ var showPositiveIcon = showSign && amount > 0 || variant === 'positive';
2721
+ var showNegativeIcon = amount < 0 || variant === 'negative';
2641
2722
  // Generate accessibility label
2642
2723
  var ariaLabel = generateAriaLabel(amount, currency, locale);
2643
- // Get typography variant and color
2724
+ // Get typography variant and icon size
2644
2725
  var typographyVariant = sizeToTypographyVariant[size];
2645
- var typographyColor = variantToTypographyColor[variant];
2646
- return jsx(StyledWrapper, {
2726
+ var iconSize = sizeToIconSize[size];
2727
+ // Determine icon color based on variant
2728
+ var iconColor = variant === 'positive' || showPositiveIcon ? 'success' : variant === 'negative' || showNegativeIcon ? 'error' : variant === 'neutral' ? 'subdued' : 'default';
2729
+ // Amount always uses default color (except neutral which stays subdued)
2730
+ var amountColor = variant === 'neutral' ? 'subdued' : 'default';
2731
+ return jsxs(StyledWrapper, {
2647
2732
  "$align": align,
2648
2733
  "$weight": weight,
2649
2734
  "aria-label": ariaLabel,
2650
2735
  "data-testid": dataTestId,
2651
- children: jsx(Typography, {
2736
+ children: [showPositiveIcon && !showNegativeIcon && jsx(Icon, {
2737
+ name: "addRing",
2738
+ size: iconSize,
2739
+ iconColor: iconColor
2740
+ }), showNegativeIcon && jsx(Icon, {
2741
+ name: "remove",
2742
+ size: iconSize,
2743
+ iconColor: iconColor
2744
+ }), jsx(Typography, {
2652
2745
  variant: typographyVariant,
2653
- color: typographyColor,
2746
+ color: amountColor,
2654
2747
  as: "span",
2655
- children: displayText
2656
- })
2748
+ children: formattedAmount
2749
+ })]
2657
2750
  });
2658
2751
  };
2659
2752
  var templateObject_1$w;
2660
2753
 
2754
+ // Destructure tokens
2755
+ var semantic$d = tokensData.semantic;
2756
+ var _a$5 = __assign(__assign({}, semantic$d), {
2757
+ component: tokensData.component
2758
+ }),
2759
+ color$5 = _a$5.color,
2760
+ border$7 = _a$5.border,
2761
+ motion$1 = _a$5.motion,
2762
+ component$1 = _a$5.component;
2763
+ var radius$3 = border$7.radius;
2661
2764
  var ProgressBarContainer = styled.div.withConfig({
2662
2765
  shouldForwardProp: function shouldForwardProp(prop) {
2663
2766
  return !prop.startsWith('$');
2664
2767
  },
2665
2768
  displayName: "ProgressBar__ProgressBarContainer",
2666
2769
  componentId: "sc-1nco33q-0"
2667
- })(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) {
2668
- return props.$variant === 'horizontal' && 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);
2770
+ })(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"])), color$5.background.disabled, radius$3.xs, function (props) {
2771
+ return props.$variant === 'horizontal' && css(templateObject_1$v || (templateObject_1$v = __makeTemplateObject(["\n width: 100%;\n height: ", ";\n "], ["\n width: 100%;\n height: ", ";\n "])), props.$height ? component$1.progressBar.sizes[props.$height].height : component$1.progressBar.sizes.md.height);
2669
2772
  }, function (props) {
2670
- return props.$variant === 'vertical' && 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);
2773
+ return props.$variant === 'vertical' && css(templateObject_2$n || (templateObject_2$n = __makeTemplateObject(["\n width: ", ";\n height: 100%;\n "], ["\n width: ", ";\n height: 100%;\n "])), props.$width ? component$1.progressBar.sizes[props.$width].height : component$1.progressBar.sizes.md.height);
2671
2774
  });
2672
2775
  var ProgressBarFill = styled.div.withConfig({
2673
2776
  shouldForwardProp: function shouldForwardProp(prop) {
@@ -2675,21 +2778,21 @@ var ProgressBarFill = styled.div.withConfig({
2675
2778
  },
2676
2779
  displayName: "ProgressBar__ProgressBarFill",
2677
2780
  componentId: "sc-1nco33q-1"
2678
- })(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) {
2781
+ })(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"])), motion$1.transition.normal, function (props) {
2679
2782
  var backgroundColor;
2680
2783
  switch (props.$color) {
2681
2784
  case 'success':
2682
- backgroundColor = tokensData.semantic.color.background.success;
2785
+ backgroundColor = color$5.background.success;
2683
2786
  break;
2684
2787
  case 'error':
2685
- backgroundColor = tokensData.semantic.color.background.error;
2788
+ backgroundColor = color$5.background.error;
2686
2789
  break;
2687
2790
  case 'default':
2688
2791
  default:
2689
- backgroundColor = tokensData.semantic.color.background.interactive;
2792
+ backgroundColor = color$5.background.interactive;
2690
2793
  break;
2691
2794
  }
2692
- return css(templateObject_4$g || (templateObject_4$g = __makeTemplateObject(["background-color: ", ";"], ["background-color: ", ";"])), backgroundColor);
2795
+ return css(templateObject_4$h || (templateObject_4$h = __makeTemplateObject(["background-color: ", ";"], ["background-color: ", ";"])), backgroundColor);
2693
2796
  }, function (props) {
2694
2797
  return props.$variant === 'horizontal' && css(templateObject_5$d || (templateObject_5$d = __makeTemplateObject(["\n width: ", "%;\n "], ["\n width: ", "%;\n "])), Math.min(100, Math.max(0, props.$value)));
2695
2798
  }, function (props) {
@@ -2720,9 +2823,12 @@ var ProgressBar = function ProgressBar(_a) {
2720
2823
  })
2721
2824
  });
2722
2825
  };
2723
- var templateObject_1$v, templateObject_2$n, templateObject_3$l, templateObject_4$g, templateObject_5$d, templateObject_6$b, templateObject_7$8;
2826
+ var templateObject_1$v, templateObject_2$n, templateObject_3$l, templateObject_4$h, templateObject_5$d, templateObject_6$b, templateObject_7$8;
2724
2827
 
2725
- var StyledDivider$1 = styled.div.withConfig({
2828
+ // Destructure tokens for cleaner access
2829
+ var separatorTokens = tokensData.component.separator;
2830
+ var separatorSpacing = tokensData.semantic.spacing.separator;
2831
+ var StyledDivider = styled.div.withConfig({
2726
2832
  shouldForwardProp: function shouldForwardProp(prop) {
2727
2833
  return !prop.startsWith('$');
2728
2834
  },
@@ -2761,12 +2867,12 @@ var StyledDivider$1 = styled.div.withConfig({
2761
2867
  var borderProperty = $orientation === 'vertical' ? 'border-left' : 'border-top';
2762
2868
  switch ($variant) {
2763
2869
  case 'strong':
2764
- return "".concat(borderProperty, ": ").concat(tokensData.component.separator.variants.strong.border, ";");
2870
+ return "".concat(borderProperty, ": ").concat(separatorTokens.variants.strong.border, ";");
2765
2871
  case 'minimal':
2766
- return "".concat(borderProperty, ": ").concat(tokensData.component.separator.variants.minimal.border, ";");
2872
+ return "".concat(borderProperty, ": ").concat(separatorTokens.variants.minimal.border, ";");
2767
2873
  case 'default':
2768
2874
  default:
2769
- return "".concat(borderProperty, ": ").concat(tokensData.component.separator.variants["default"].border, ";");
2875
+ return "".concat(borderProperty, ": ").concat(separatorTokens.variants["default"].border, ";");
2770
2876
  }
2771
2877
  }, function (_a) {
2772
2878
  var _b = _a.$size,
@@ -2777,33 +2883,33 @@ var StyledDivider$1 = styled.div.withConfig({
2777
2883
  $orientation = _d === void 0 ? 'horizontal' : _d;
2778
2884
  if ($variant === 'minimal' && $orientation === 'horizontal') {
2779
2885
  // Minimal variant always uses its predefined spacing for horizontal
2780
- return "margin: ".concat(tokensData.component.separator.variants.minimal.margin, ";");
2886
+ return "margin: ".concat(separatorTokens.variants.minimal.margin, ";");
2781
2887
  }
2782
2888
  if ($orientation === 'vertical') {
2783
2889
  // Vertical orientation uses horizontal margins (left/right)
2784
2890
  switch ($size) {
2785
2891
  case 'small':
2786
- return "margin: 0 ".concat(tokensData.semantic.spacing.separator.sm, ";");
2892
+ return "margin: 0 ".concat(separatorSpacing.sm, ";");
2787
2893
  case 'medium':
2788
- return "margin: 0 ".concat(tokensData.semantic.spacing.separator.md, ";");
2894
+ return "margin: 0 ".concat(separatorSpacing.md, ";");
2789
2895
  case 'xlarge':
2790
- return "margin: 0 ".concat(tokensData.semantic.spacing.separator.xl, ";");
2896
+ return "margin: 0 ".concat(separatorSpacing.xl, ";");
2791
2897
  case 'large':
2792
2898
  default:
2793
- return "margin: 0 ".concat(tokensData.semantic.spacing.separator.lg, ";");
2899
+ return "margin: 0 ".concat(separatorSpacing.lg, ";");
2794
2900
  }
2795
2901
  }
2796
2902
  // Horizontal orientation uses vertical margins (top/bottom)
2797
2903
  switch ($size) {
2798
2904
  case 'small':
2799
- return "margin: ".concat(tokensData.component.separator.sizes.small.margin, ";");
2905
+ return "margin: ".concat(separatorTokens.sizes.small.margin, ";");
2800
2906
  case 'medium':
2801
- return "margin: ".concat(tokensData.component.separator.sizes.medium.margin, ";");
2907
+ return "margin: ".concat(separatorTokens.sizes.medium.margin, ";");
2802
2908
  case 'xlarge':
2803
- return "margin: ".concat(tokensData.component.separator.sizes.xlarge.margin, ";");
2909
+ return "margin: ".concat(separatorTokens.sizes.xlarge.margin, ";");
2804
2910
  case 'large':
2805
2911
  default:
2806
- return "margin: ".concat(tokensData.component.separator.sizes.large.margin, ";");
2912
+ return "margin: ".concat(separatorTokens.sizes.large.margin, ";");
2807
2913
  }
2808
2914
  });
2809
2915
  /**
@@ -2832,7 +2938,7 @@ var Divider = function Divider(_a) {
2832
2938
  _d = _a.orientation,
2833
2939
  orientation = _d === void 0 ? 'horizontal' : _d,
2834
2940
  dataTestId = _a["data-testid"];
2835
- return jsx(StyledDivider$1, {
2941
+ return jsx(StyledDivider, {
2836
2942
  "$variant": variant,
2837
2943
  "$size": size,
2838
2944
  "$orientation": orientation,
@@ -2890,45 +2996,49 @@ var Stack = function Stack(_a) {
2890
2996
  };
2891
2997
  var templateObject_1$t;
2892
2998
 
2893
- var semantic$d = tokensData.semantic,
2894
- base$a = tokensData.base;
2999
+ // Destructure tokens for cleaner access
3000
+ var statusColors = tokensData.semantic.color.status;
3001
+ var spacing$5 = tokensData.semantic.spacing.layout;
3002
+ var radius$2 = tokensData.semantic.border.radius;
3003
+ var transition = tokensData.semantic.motion.transition;
3004
+ var typography$2 = tokensData.semantic.typography;
2895
3005
  var scaleIn = 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"])));
2896
3006
  var getStatusConfig = function getStatusConfig(status) {
2897
3007
  var configs = {
2898
3008
  pending: {
2899
- color: semantic$d.color.status.pending,
2900
- bgColor: semantic$d.color.status['pending-bg'],
3009
+ color: statusColors.pending,
3010
+ bgColor: statusColors['pending-bg'],
2901
3011
  icon: 'refresh',
2902
3012
  // Fallback until 'clock' icon is added
2903
3013
  label: 'Pending'
2904
3014
  },
2905
3015
  completed: {
2906
- color: semantic$d.color.status.completed,
2907
- bgColor: semantic$d.color.status['completed-bg'],
3016
+ color: statusColors.completed,
3017
+ bgColor: statusColors['completed-bg'],
2908
3018
  icon: 'check',
2909
3019
  label: 'Completed'
2910
3020
  },
2911
3021
  failed: {
2912
- color: semantic$d.color.status.failed,
2913
- bgColor: semantic$d.color.status['failed-bg'],
3022
+ color: statusColors.failed,
3023
+ bgColor: statusColors['failed-bg'],
2914
3024
  icon: 'close',
2915
3025
  label: 'Failed'
2916
3026
  },
2917
3027
  cancelled: {
2918
- color: semantic$d.color.status.cancelled,
2919
- bgColor: semantic$d.color.status['cancelled-bg'],
3028
+ color: statusColors.cancelled,
3029
+ bgColor: statusColors['cancelled-bg'],
2920
3030
  icon: 'cancel',
2921
3031
  label: 'Cancelled'
2922
3032
  },
2923
3033
  processing: {
2924
- color: semantic$d.color.status.processing,
2925
- bgColor: semantic$d.color.status['processing-bg'],
3034
+ color: statusColors.processing,
3035
+ bgColor: statusColors['processing-bg'],
2926
3036
  icon: 'refresh',
2927
3037
  label: 'Processing'
2928
3038
  },
2929
3039
  scheduled: {
2930
- color: semantic$d.color.status.scheduled,
2931
- bgColor: semantic$d.color.status['scheduled-bg'],
3040
+ color: statusColors.scheduled,
3041
+ bgColor: statusColors['scheduled-bg'],
2932
3042
  icon: 'bell',
2933
3043
  // Fallback until 'calendar' icon is added
2934
3044
  label: 'Scheduled'
@@ -2936,24 +3046,22 @@ var getStatusConfig = function getStatusConfig(status) {
2936
3046
  };
2937
3047
  return configs[status];
2938
3048
  };
2939
- var getSizeStyles = function getSizeStyles(size) {
2940
- if (size === 'small') {
2941
- return {
2942
- height: '20px',
2943
- padding: "".concat(base$a.spacing[1], " ").concat(base$a.spacing[2]),
2944
- font: semantic$d.typography.caption,
2945
- gap: base$a.spacing[1],
2946
- iconSize: 'xs'
2947
- };
2948
- }
2949
- // medium
2950
- return {
3049
+ // Size configuration
3050
+ var sizeConfig = {
3051
+ small: {
3052
+ height: '20px',
3053
+ padding: "".concat(spacing$5.xs, " ").concat(spacing$5.sm),
3054
+ font: typography$2.caption,
3055
+ gap: spacing$5.xs,
3056
+ iconSize: 'xs'
3057
+ },
3058
+ medium: {
2951
3059
  height: '24px',
2952
- padding: "".concat(base$a.spacing[1], " ").concat(base$a.spacing[2]),
2953
- font: semantic$d.typography.small,
2954
- gap: base$a.spacing[1],
3060
+ padding: "".concat(spacing$5.xs, " ").concat(spacing$5.sm),
3061
+ font: typography$2.small,
3062
+ gap: spacing$5.xs,
2955
3063
  iconSize: 'sm'
2956
- };
3064
+ }
2957
3065
  };
2958
3066
  var StyledStatusBadge = styled.span.withConfig({
2959
3067
  shouldForwardProp: function shouldForwardProp(prop) {
@@ -2961,7 +3069,15 @@ var StyledStatusBadge = styled.span.withConfig({
2961
3069
  },
2962
3070
  displayName: "StatusBadge__StyledStatusBadge",
2963
3071
  componentId: "sc-1paksgb-0"
2964
- })(templateObject_2$m || (templateObject_2$m = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border-radius: ", ";\n font-weight: ", ";\n white-space: nowrap;\n user-select: none;\n animation: ", " 0.2s ease-out;\n \n /* Apply CSS custom properties */\n background-color: var(--status-badge-bg);\n color: var(--status-badge-color);\n height: var(--status-badge-height);\n padding: var(--status-badge-padding);\n font: var(--status-badge-font);\n gap: var(--status-badge-gap);\n"], ["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border-radius: ", ";\n font-weight: ", ";\n white-space: nowrap;\n user-select: none;\n animation: ", " 0.2s ease-out;\n \n /* Apply CSS custom properties */\n background-color: var(--status-badge-bg);\n color: var(--status-badge-color);\n height: var(--status-badge-height);\n padding: var(--status-badge-padding);\n font: var(--status-badge-font);\n gap: var(--status-badge-gap);\n"])), base$a.border.radius.circle, base$a.fontWeight[3], scaleIn);
3072
+ })(templateObject_2$m || (templateObject_2$m = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border-radius: ", ";\n font-weight: 500;\n white-space: nowrap;\n user-select: none;\n animation: ", " 0.2s ease-out;\n transition: ", ";\n \n /* Size styles */\n ", "\n \n /* Status color styles */\n ", "\n"], ["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border-radius: ", ";\n font-weight: 500;\n white-space: nowrap;\n user-select: none;\n animation: ", " 0.2s ease-out;\n transition: ", ";\n \n /* Size styles */\n ", "\n \n /* Status color styles */\n ", "\n"])), radius$2.circle, scaleIn, transition.fast, function (_a) {
3073
+ var $size = _a.$size;
3074
+ var size = sizeConfig[$size];
3075
+ return "\n height: ".concat(size.height, ";\n padding: ").concat(size.padding, ";\n font: ").concat(size.font, ";\n gap: ").concat(size.gap, ";\n ");
3076
+ }, function (_a) {
3077
+ var $status = _a.$status;
3078
+ var config = getStatusConfig($status);
3079
+ return "\n background-color: ".concat(config.bgColor, ";\n color: ").concat(config.color, ";\n ");
3080
+ });
2965
3081
  var ScreenReaderOnly = styled.span.withConfig({
2966
3082
  displayName: "StatusBadge__ScreenReaderOnly",
2967
3083
  componentId: "sc-1paksgb-1"
@@ -3024,16 +3140,8 @@ var StatusBadge = function StatusBadge(_a) {
3024
3140
  dataTestId = _a["data-testid"],
3025
3141
  ariaLabel = _a["aria-label"];
3026
3142
  var statusConfig = getStatusConfig(status);
3027
- var sizeStyles = getSizeStyles(size);
3143
+ var sizeStyles = sizeConfig[size];
3028
3144
  var displayLabel = label || statusConfig.label;
3029
- var cssProps = {
3030
- '--status-badge-bg': statusConfig.bgColor,
3031
- '--status-badge-color': statusConfig.color,
3032
- '--status-badge-height': sizeStyles.height,
3033
- '--status-badge-padding': sizeStyles.padding,
3034
- '--status-badge-font': sizeStyles.font,
3035
- '--status-badge-gap': sizeStyles.gap
3036
- };
3037
3145
  return jsxs(StyledStatusBadge, {
3038
3146
  "$status": status,
3039
3147
  "$size": size,
@@ -3042,7 +3150,6 @@ var StatusBadge = function StatusBadge(_a) {
3042
3150
  "aria-live": liveRegion ? 'polite' : undefined,
3043
3151
  "aria-atomic": liveRegion ? 'true' : undefined,
3044
3152
  "data-testid": dataTestId,
3045
- style: cssProps,
3046
3153
  children: [showIcon && jsx(Icon, {
3047
3154
  name: statusConfig.icon,
3048
3155
  size: sizeStyles.iconSize,
@@ -3057,6 +3164,13 @@ StatusBadge.displayName = 'StatusBadge';
3057
3164
  var templateObject_1$s, templateObject_2$m, templateObject_3$k;
3058
3165
 
3059
3166
  var semantic$c = tokensData.semantic;
3167
+ var color$4 = semantic$c.color,
3168
+ spacing$4 = semantic$c.spacing,
3169
+ border$6 = semantic$c.border,
3170
+ typography$1 = semantic$c.typography,
3171
+ size = semantic$c.size;
3172
+ var layout$2 = spacing$4.layout;
3173
+ var radius$1 = border$6.radius;
3060
3174
  var StyledTag = styled.span.withConfig({
3061
3175
  shouldForwardProp: function shouldForwardProp(prop) {
3062
3176
  return !prop.startsWith('$');
@@ -3069,37 +3183,37 @@ var StyledTag = styled.span.withConfig({
3069
3183
  *
3070
3184
  * A static, non-interactive label used to categorize elements or objects in the UI.
3071
3185
  * Tags help users quickly identify and understand content classification.
3072
- */])), tokensData.base.border.radius[2], tokensData.semantic.size.icon.lg || '2rem', tokensData.base.spacing[1], tokensData.base.spacing[2], tokensData.semantic.typography.button3, function (_a) {
3186
+ */])), radius$1.sm, size.icon.lg || '2rem', layout$2.xs, layout$2.sm, typography$1.button3, function (_a) {
3073
3187
  var $variant = _a.$variant;
3074
3188
  switch ($variant) {
3075
3189
  case 'interactive':
3076
- return semantic$c.color.background['interactive-subtle'];
3190
+ return color$4.background['interactive-subtle'];
3077
3191
  case 'success':
3078
- return semantic$c.color.background['success-subtle'];
3192
+ return color$4.background['success-subtle'];
3079
3193
  case 'warning':
3080
- return semantic$c.color.background['warning-subtle'];
3194
+ return color$4.background['warning-subtle'];
3081
3195
  case 'error':
3082
- return semantic$c.color.background['error-subtle'];
3196
+ return color$4.background['error-subtle'];
3083
3197
  case 'emphasis':
3084
- return semantic$c.color.background.emphasis;
3198
+ return color$4.background.emphasis;
3085
3199
  default:
3086
- return semantic$c.color.background.surface;
3200
+ return color$4.background.surface;
3087
3201
  }
3088
3202
  }, function (_a) {
3089
3203
  var $variant = _a.$variant;
3090
3204
  switch ($variant) {
3091
3205
  case 'interactive':
3092
- return semantic$c.color.text.interactive;
3206
+ return color$4.text.interactive;
3093
3207
  case 'success':
3094
- return semantic$c.color.text.success;
3208
+ return color$4.text.success;
3095
3209
  case 'warning':
3096
- return semantic$c.color.text.warning;
3210
+ return color$4.text.warning;
3097
3211
  case 'error':
3098
- return semantic$c.color.text.error;
3212
+ return color$4.text.error;
3099
3213
  case 'emphasis':
3100
- return semantic$c.color.text.inverse;
3214
+ return color$4.text.inverse;
3101
3215
  default:
3102
- return semantic$c.color.text["default"];
3216
+ return color$4.text["default"];
3103
3217
  }
3104
3218
  }, function (_a) {
3105
3219
  var $variant = _a.$variant,
@@ -3107,17 +3221,17 @@ var StyledTag = styled.span.withConfig({
3107
3221
  if (!$border) return 'none';
3108
3222
  switch ($variant) {
3109
3223
  case 'interactive':
3110
- return "1px solid ".concat(semantic$c.color.border.interactive);
3224
+ return "1px solid ".concat(color$4.border.interactive);
3111
3225
  case 'success':
3112
- return "1px solid ".concat(semantic$c.color.border.success);
3226
+ return "1px solid ".concat(color$4.border.success);
3113
3227
  case 'warning':
3114
- return "1px solid ".concat(semantic$c.color.border.warning);
3228
+ return "1px solid ".concat(color$4.border.warning);
3115
3229
  case 'error':
3116
- return "1px solid ".concat(semantic$c.color.border.error);
3230
+ return "1px solid ".concat(color$4.border.error);
3117
3231
  case 'emphasis':
3118
- return "1px solid ".concat(semantic$c.color.background.emphasis);
3232
+ return "1px solid ".concat(color$4.background.emphasis);
3119
3233
  default:
3120
- return "1px solid ".concat(semantic$c.color.border["default"]);
3234
+ return "1px solid ".concat(color$4.border["default"]);
3121
3235
  }
3122
3236
  });
3123
3237
  /**
@@ -3148,26 +3262,35 @@ var Tag = function Tag(_a) {
3148
3262
  };
3149
3263
  var templateObject_1$r;
3150
3264
 
3265
+ // Destructure tokens for cleaner access
3266
+ var semantic$b = tokensData.semantic;
3267
+ var color$3 = semantic$b.color,
3268
+ spacing$3 = semantic$b.spacing,
3269
+ border$5 = semantic$b.border;
3270
+ var layout$1 = spacing$3.layout;
3271
+ var background = color$3.background,
3272
+ icon = color$3.icon;
3273
+ var radius = border$5.radius;
3151
3274
  var StyledHeader$2 = styled.div.withConfig({
3152
3275
  displayName: "AccountCard__StyledHeader",
3153
3276
  componentId: "sc-1erp7zn-0"
3154
- })(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);
3277
+ })(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"])), layout$1.md);
3155
3278
  var StyledIconWrapper = styled.div.withConfig({
3156
3279
  displayName: "AccountCard__StyledIconWrapper",
3157
3280
  componentId: "sc-1erp7zn-1"
3158
- })(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);
3281
+ })(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"])), background.inverse, radius.md, icon.interactive);
3159
3282
  var StyledBalanceSection = styled.div.withConfig({
3160
3283
  displayName: "AccountCard__StyledBalanceSection",
3161
3284
  componentId: "sc-1erp7zn-2"
3162
- })(templateObject_3$j || (templateObject_3$j = __makeTemplateObject(["\n margin-bottom: ", ";\n"], ["\n margin-bottom: ", ";\n"])), tokensData.semantic.spacing.layout.lg);
3285
+ })(templateObject_3$j || (templateObject_3$j = __makeTemplateObject(["\n margin-bottom: ", ";\n"], ["\n margin-bottom: ", ";\n"])), layout$1.lg);
3163
3286
  var StyledTrendSection = styled.div.withConfig({
3164
3287
  displayName: "AccountCard__StyledTrendSection",
3165
3288
  componentId: "sc-1erp7zn-3"
3166
- })(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);
3289
+ })(templateObject_4$g || (templateObject_4$g = __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"])), layout$1.xs, layout$1.sm);
3167
3290
  var StyledActions$1 = styled.div.withConfig({
3168
3291
  displayName: "AccountCard__StyledActions",
3169
3292
  componentId: "sc-1erp7zn-4"
3170
- })(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);
3293
+ })(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"])), layout$1.sm);
3171
3294
  var StyledStackWrapper = styled.div.withConfig({
3172
3295
  displayName: "AccountCard__StyledStackWrapper",
3173
3296
  componentId: "sc-1erp7zn-5"
@@ -3237,11 +3360,10 @@ var AccountCard = function AccountCard(_a) {
3237
3360
  p: "lg",
3238
3361
  bg: "surface",
3239
3362
  border: "default",
3240
- borderRadius: "5",
3241
- shadow: "3",
3363
+ borderRadius: "xl",
3242
3364
  transition: "all 0.2s ease",
3243
3365
  cursor: isClickable ? 'pointer' : 'default',
3244
- hoverShadow: isClickable ? '4' : undefined,
3366
+ hoverShadow: isClickable ? 'floating' : undefined,
3245
3367
  hoverTransform: isClickable ? 'translateY(-2px)' : undefined,
3246
3368
  onClick: handleClick,
3247
3369
  onKeyDown: handleKeyDown,
@@ -3332,132 +3454,319 @@ var AccountCard = function AccountCard(_a) {
3332
3454
  })
3333
3455
  });
3334
3456
  };
3335
- var templateObject_1$q, templateObject_2$l, templateObject_3$j, templateObject_4$f, templateObject_5$c, templateObject_6$a;
3457
+ var templateObject_1$q, templateObject_2$l, templateObject_3$j, templateObject_4$g, templateObject_5$c, templateObject_6$a;
3336
3458
 
3337
- var semantic$b = tokensData.semantic,
3338
- base$9 = tokensData.base;
3339
- var slideUp = 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"])));
3340
- var fadeIn$1 = keyframes(templateObject_2$k || (templateObject_2$k = __makeTemplateObject(["\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n"], ["\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n"])));
3341
- var StyledOverlay$1 = styled.div.withConfig({
3342
- displayName: "ActionSheet__StyledOverlay",
3343
- componentId: "sc-regbol-0"
3344
- })(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);
3345
- var StyledActionSheet = styled.div.withConfig({
3346
- displayName: "ActionSheet__StyledActionSheet",
3347
- componentId: "sc-regbol-1"
3348
- })(templateObject_4$e || (templateObject_4$e = __makeTemplateObject(["\n position: fixed;\n bottom: 0;\n left: 0;\n right: 0;\n background-color: ", ";\n border-top-left-radius: ", ";\n border-top-right-radius: ", ";\n box-shadow: ", ";\n max-height: 90vh;\n overflow-y: auto;\n z-index: 10000;\n animation: ", " 0.3s ease-out;\n"], ["\n position: fixed;\n bottom: 0;\n left: 0;\n right: 0;\n background-color: ", ";\n border-top-left-radius: ", ";\n border-top-right-radius: ", ";\n box-shadow: ", ";\n max-height: 90vh;\n overflow-y: auto;\n z-index: 10000;\n animation: ", " 0.3s ease-out;\n"])), semantic$b.color.background.subtle, base$9.border.radius[4], base$9.border.radius[4], base$9.shadow[4], slideUp);
3349
- var StyledHeader$1 = styled.div.withConfig({
3350
- displayName: "ActionSheet__StyledHeader",
3351
- componentId: "sc-regbol-2"
3352
- })(templateObject_5$b || (templateObject_5$b = __makeTemplateObject(["\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n padding: ", " ", " ", ";\n border-bottom: ", " solid ", ";\n"], ["\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n padding: ", " ", " ", ";\n border-bottom: ", " solid ", ";\n"])), base$9.spacing[4], base$9.spacing[4], base$9.spacing[3], base$9.border.width[1], semantic$b.color.border["default"]);
3353
- var StyledHeaderContent = styled.div.withConfig({
3354
- displayName: "ActionSheet__StyledHeaderContent",
3355
- componentId: "sc-regbol-3"
3356
- })(templateObject_6$9 || (templateObject_6$9 = __makeTemplateObject(["\n flex: 1;\n"], ["\n flex: 1;\n"])));
3357
- var StyledCloseButton = styled.button.withConfig({
3358
- displayName: "ActionSheet__StyledCloseButton",
3359
- componentId: "sc-regbol-4"
3360
- })(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]);
3361
- var StyledActionsList = styled.div.withConfig({
3362
- displayName: "ActionSheet__StyledActionsList",
3363
- componentId: "sc-regbol-5"
3364
- })(templateObject_8$4 || (templateObject_8$4 = __makeTemplateObject(["\n padding: ", " 0;\n"], ["\n padding: ", " 0;\n"])), base$9.spacing[2]);
3365
- var StyledActionButton = styled.button.withConfig({
3366
- displayName: "ActionSheet__StyledActionButton",
3367
- componentId: "sc-regbol-6"
3368
- })(templateObject_9$3 || (templateObject_9$3 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: ", ";\n width: 100%;\n padding: ", " ", ";\n border: none;\n background: transparent;\n font: ", ";\n text-align: left;\n cursor: pointer;\n transition: ", ";\n \n ", "\n \n ", "\n \n &:hover:not(:disabled) {\n background-color: ", ";\n }\n \n &:focus-visible {\n outline: ", " solid ", ";\n outline-offset: -", ";\n }\n \n &:active:not(:disabled) {\n background-color: ", ";\n }\n"], ["\n display: flex;\n align-items: center;\n gap: ", ";\n width: 100%;\n padding: ", " ", ";\n border: none;\n background: transparent;\n font: ", ";\n text-align: left;\n cursor: pointer;\n transition: ", ";\n \n ", "\n \n ", "\n \n &:hover:not(:disabled) {\n background-color: ", ";\n }\n \n &:focus-visible {\n outline: ", " solid ", ";\n outline-offset: -", ";\n }\n \n &:active:not(:disabled) {\n background-color: ", ";\n }\n"])), base$9.spacing[3], base$9.spacing[3], base$9.spacing[4], semantic$b.typography.body, semantic$b.motion.hover, function (props) {
3369
- return props.$destructive && "\n color: ".concat(semantic$b.color.text.error, ";\n ");
3370
- }, function (props) {
3371
- return props.$disabled && "\n color: ".concat(semantic$b.color.text.disabled, ";\n cursor: not-allowed;\n ");
3372
- }, semantic$b.color.background['interactive-subtle'], base$9.border.width[2], semantic$b.color.border.strong, base$9.spacing[1], semantic$b.color.background.surface);
3373
- var StyledDivider = styled.div.withConfig({
3374
- displayName: "ActionSheet__StyledDivider",
3375
- componentId: "sc-regbol-7"
3376
- })(templateObject_10$2 || (templateObject_10$2 = __makeTemplateObject(["\n height: ", ";\n background-color: ", ";\n margin: ", " ", ";\n"], ["\n height: ", ";\n background-color: ", ";\n margin: ", " ", ";\n"
3377
- /**
3378
- * ActionSheet component for bottom sheet modals
3379
- *
3380
- * Displays a modal action sheet that slides up from the bottom,
3381
- * providing a list of actions for the user to choose from.
3382
- * Includes focus trapping, keyboard navigation, and accessibility features.
3383
- *
3384
- * @example
3385
- * ```tsx
3386
- * const [isOpen, setIsOpen] = useState(false)
3387
- *
3388
- * <ActionSheet
3389
- * isOpen={isOpen}
3390
- * onClose={() => setIsOpen(false)}
3391
- * title="Choose an action"
3392
- * actions={[
3393
- * {
3394
- * id: 'edit',
3395
- * label: 'Edit',
3396
- * icon: 'edit',
3397
- * onSelect: () => console.log('Edit')
3398
- * },
3399
- * {
3400
- * id: 'delete',
3401
- * label: 'Delete',
3402
- * icon: 'trash',
3403
- * destructive: true,
3404
- * onSelect: () => console.log('Delete')
3405
- * }
3406
- * ]}
3407
- * />
3408
- * ```
3409
- */])), base$9.border.width[1], semantic$b.color.border["default"], base$9.spacing[2], base$9.spacing[4]);
3410
- /**
3411
- * ActionSheet component for bottom sheet modals
3412
- *
3413
- * Displays a modal action sheet that slides up from the bottom,
3414
- * providing a list of actions for the user to choose from.
3415
- * Includes focus trapping, keyboard navigation, and accessibility features.
3416
- *
3417
- * @example
3418
- * ```tsx
3419
- * const [isOpen, setIsOpen] = useState(false)
3420
- *
3421
- * <ActionSheet
3422
- * isOpen={isOpen}
3423
- * onClose={() => setIsOpen(false)}
3424
- * title="Choose an action"
3425
- * actions={[
3426
- * {
3427
- * id: 'edit',
3428
- * label: 'Edit',
3429
- * icon: 'edit',
3430
- * onSelect: () => console.log('Edit')
3431
- * },
3432
- * {
3433
- * id: 'delete',
3434
- * label: 'Delete',
3435
- * icon: 'trash',
3436
- * destructive: true,
3437
- * onSelect: () => console.log('Delete')
3438
- * }
3439
- * ]}
3440
- * />
3441
- * ```
3442
- */
3443
- var ActionSheet = function ActionSheet(_a) {
3444
- var isOpen = _a.isOpen,
3445
- onClose = _a.onClose,
3446
- title = _a.title,
3447
- description = _a.description,
3448
- actions = _a.actions,
3449
- _b = _a.closeOnOverlayClick,
3450
- closeOnOverlayClick = _b === void 0 ? true : _b,
3451
- _c = _a.closeOnEscape,
3452
- closeOnEscape = _c === void 0 ? true : _c,
3453
- _d = _a.showCloseButton,
3454
- showCloseButton = _d === void 0 ? true : _d,
3455
- dataTestId = _a["data-testid"];
3456
- var sheetRef = useRef(null);
3457
- var previousActiveElement = useRef(null);
3458
- // Store the element that had focus when sheet opened
3459
- useEffect(function () {
3460
- if (isOpen) {
3459
+ var semantic$a = tokensData.semantic,
3460
+ base$8 = tokensData.base;
3461
+ var StyledListItem = styled.li.withConfig({
3462
+ shouldForwardProp: function shouldForwardProp(prop) {
3463
+ return !prop.startsWith('$');
3464
+ },
3465
+ displayName: "ListItem__StyledListItem",
3466
+ componentId: "sc-1wzzt21-0"
3467
+ })(templateObject_1$p || (templateObject_1$p = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n min-height: 44px; /* Touch target minimum */\n position: relative;\n \n /* Disable user selection for interactive items */\n ", "\n \n /* Disabled state */\n ", "\n \n /* Destructive state - apply error color to text */\n ", "\n"], ["\n display: flex;\n flex-direction: column;\n min-height: 44px; /* Touch target minimum */\n position: relative;\n \n /* Disable user selection for interactive items */\n ", "\n \n /* Disabled state */\n ", "\n \n /* Destructive state - apply error color to text */\n ", "\n"])), function (_a) {
3468
+ var $interactive = _a.$interactive;
3469
+ return $interactive && 'user-select: none;';
3470
+ }, function (_a) {
3471
+ var $disabled = _a.$disabled;
3472
+ return $disabled && "\n opacity: ".concat(base$8.opacity[50], ";\n cursor: not-allowed;\n pointer-events: none;\n ");
3473
+ }, function (_a) {
3474
+ var $destructive = _a.$destructive,
3475
+ $disabled = _a.$disabled;
3476
+ return $destructive && !$disabled && "\n color: ".concat(semantic$a.color.text.error, ";\n ");
3477
+ });
3478
+ var StyledItemContent = styled.div.withConfig({
3479
+ shouldForwardProp: function shouldForwardProp(prop) {
3480
+ return !prop.startsWith('$');
3481
+ },
3482
+ displayName: "ListItem__StyledItemContent",
3483
+ componentId: "sc-1wzzt21-1"
3484
+ })(templateObject_2$k || (templateObject_2$k = __makeTemplateObject(["\n display: flex;\n align-items: flex-start;\n gap: ", ";\n padding: ", ";\n border-radius: ", ";\n background-color: ", ";\n transition: background-color 150ms ease;\n cursor: ", ";\n \n /* Interactive hover states */\n ", "\n \n /* Focus visible */\n &:focus-visible {\n outline: 2px solid ", ";\n outline-offset: 2px;\n }\n"], ["\n display: flex;\n align-items: flex-start;\n gap: ", ";\n padding: ", ";\n border-radius: ", ";\n background-color: ", ";\n transition: background-color 150ms ease;\n cursor: ", ";\n \n /* Interactive hover states */\n ", "\n \n /* Focus visible */\n &:focus-visible {\n outline: 2px solid ", ";\n outline-offset: 2px;\n }\n"])), semantic$a.spacing.layout.md, function (_a) {
3485
+ var $spacing = _a.$spacing;
3486
+ return $spacing === 'compact' ? "".concat(semantic$a.spacing.layout.sm, " ").concat(semantic$a.spacing.layout.md) : "".concat(semantic$a.spacing.layout.md, " ").concat(semantic$a.spacing.layout.lg);
3487
+ }, base$8.border.radius[2], function (_a) {
3488
+ var $selected = _a.$selected;
3489
+ return $selected ? semantic$a.color.background['interactive-subtle'] : 'transparent';
3490
+ }, function (_a) {
3491
+ var $interactive = _a.$interactive,
3492
+ $disabled = _a.$disabled;
3493
+ if ($disabled) return 'not-allowed';
3494
+ if ($interactive) return 'pointer';
3495
+ return 'default';
3496
+ }, function (_a) {
3497
+ var $interactive = _a.$interactive,
3498
+ $disabled = _a.$disabled,
3499
+ $selected = _a.$selected;
3500
+ return !$disabled && $interactive && "\n &:hover {\n background-color: ".concat($selected ? tokensData.component.button.variants.secondary.backgroundColor : tokensData.component.button.variants.secondary.backgroundColor, ";\n }\n \n &:active {\n background-color: ").concat(tokensData.component.button.variants.naked.backgroundColor, ";\n }\n ");
3501
+ }, semantic$a.color.border.interactive);
3502
+ var StyledIconContainer$1 = styled.div.withConfig({
3503
+ displayName: "ListItem__StyledIconContainer",
3504
+ componentId: "sc-1wzzt21-2"
3505
+ })(templateObject_3$i || (templateObject_3$i = __makeTemplateObject(["\n display: flex;\n align-items: center;\n flex-shrink: 0;\n width: 24px;\n height: 24px;\n"], ["\n display: flex;\n align-items: center;\n flex-shrink: 0;\n width: 24px;\n height: 24px;\n"])));
3506
+ var StyledTextContent = styled.div.withConfig({
3507
+ displayName: "ListItem__StyledTextContent",
3508
+ componentId: "sc-1wzzt21-3"
3509
+ })(templateObject_4$f || (templateObject_4$f = __makeTemplateObject(["\n flex: 1;\n display: flex;\n flex-direction: column;\n gap: ", ";\n min-width: 0; /* Allow text truncation */\n"], ["\n flex: 1;\n display: flex;\n flex-direction: column;\n gap: ", ";\n min-width: 0; /* Allow text truncation */\n"])), semantic$a.spacing.layout.xs);
3510
+ var StyledRightContent = styled.div.withConfig({
3511
+ displayName: "ListItem__StyledRightContent",
3512
+ componentId: "sc-1wzzt21-4"
3513
+ })(templateObject_5$b || (templateObject_5$b = __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);
3514
+ var StyledChevronIcon = styled.div.withConfig({
3515
+ shouldForwardProp: function shouldForwardProp(prop) {
3516
+ return !prop.startsWith('$');
3517
+ },
3518
+ displayName: "ListItem__StyledChevronIcon",
3519
+ componentId: "sc-1wzzt21-5"
3520
+ })(templateObject_6$9 || (templateObject_6$9 = __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$a.color.icon.subdued, function (_a) {
3521
+ var $expanded = _a.$expanded;
3522
+ return $expanded ? '180deg' : '0deg';
3523
+ });
3524
+ var StyledExpandedContent = styled.div.withConfig({
3525
+ shouldForwardProp: function shouldForwardProp(prop) {
3526
+ return !prop.startsWith('$');
3527
+ },
3528
+ displayName: "ListItem__StyledExpandedContent",
3529
+ componentId: "sc-1wzzt21-6"
3530
+ })(templateObject_7$7 || (templateObject_7$7 = __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) {
3531
+ var $expanded = _a.$expanded;
3532
+ return $expanded ? '1000px' : '0';
3533
+ }, function (_a) {
3534
+ var $expanded = _a.$expanded;
3535
+ return $expanded ? '1' : '0';
3536
+ }, function (_a) {
3537
+ var $expanded = _a.$expanded,
3538
+ $spacing = _a.$spacing;
3539
+ return $expanded && "\n padding: ".concat($spacing === 'compact' ? "".concat(semantic$a.spacing.layout.sm, " ").concat(semantic$a.spacing.layout.md, " ").concat(semantic$a.spacing.layout.sm, " 48px") : "".concat(semantic$a.spacing.layout.sm, " ").concat(semantic$a.spacing.layout.lg, " ").concat(semantic$a.spacing.layout.md, " 60px"), ";\n background-color: ").concat(semantic$a.color.background['subtle'], ";\n border-radius: ").concat(base$8.border.radius[2], ";\n margin: 0 ").concat($spacing === 'compact' ? semantic$a.spacing.layout.md : semantic$a.spacing.layout.lg, " ").concat($spacing === 'compact' ? semantic$a.spacing.layout.sm : semantic$a.spacing.layout.md, ";\n ");
3540
+ });
3541
+ var ListItem = function ListItem(_a) {
3542
+ var primary = _a.primary,
3543
+ secondary = _a.secondary,
3544
+ badge = _a.badge,
3545
+ icon = _a.icon,
3546
+ _b = _a.expandable,
3547
+ expandable = _b === void 0 ? false : _b,
3548
+ _c = _a.expanded,
3549
+ expanded = _c === void 0 ? false : _c,
3550
+ onToggle = _a.onToggle,
3551
+ _d = _a.interactive,
3552
+ interactive = _d === void 0 ? false : _d,
3553
+ onClick = _a.onClick,
3554
+ _e = _a.disabled,
3555
+ disabled = _e === void 0 ? false : _e,
3556
+ _f = _a.selected,
3557
+ selected = _f === void 0 ? false : _f,
3558
+ _g = _a.destructive,
3559
+ destructive = _g === void 0 ? false : _g,
3560
+ _h = _a.spacing,
3561
+ spacing = _h === void 0 ? 'comfortable' : _h,
3562
+ children = _a.children,
3563
+ className = _a.className,
3564
+ dataTestId = _a["data-testid"],
3565
+ customRole = _a.role,
3566
+ ariaSelected = _a["aria-selected"],
3567
+ id = _a.id,
3568
+ customTabIndex = _a.tabIndex,
3569
+ customOnKeyDown = _a.onKeyDown,
3570
+ props = __rest(_a, ["primary", "secondary", "badge", "icon", "expandable", "expanded", "onToggle", "interactive", "onClick", "disabled", "selected", "destructive", "spacing", "children", "className", 'data-testid', "role", 'aria-selected', "id", "tabIndex", "onKeyDown"]);
3571
+ var isInteractive = interactive || expandable || customRole === 'option';
3572
+ var contentRole = customRole === 'option' ? undefined : isInteractive ? 'button' : undefined;
3573
+ var ariaExpanded = expandable ? expanded : undefined;
3574
+ var ariaDisabled = disabled ? true : undefined;
3575
+ var ariaCurrent = selected ? 'true' : undefined;
3576
+ var handleClick = function handleClick() {
3577
+ if (disabled) return;
3578
+ if (expandable && onToggle) {
3579
+ onToggle();
3580
+ } else if (onClick) {
3581
+ onClick();
3582
+ }
3583
+ };
3584
+ var handleKeyDown = function handleKeyDown(event) {
3585
+ if (customOnKeyDown) {
3586
+ customOnKeyDown(event);
3587
+ return;
3588
+ }
3589
+ if (disabled) return;
3590
+ if (event.key === 'Enter' || event.key === ' ') {
3591
+ event.preventDefault();
3592
+ handleClick();
3593
+ }
3594
+ };
3595
+ return jsxs(StyledListItem, __assign({
3596
+ "$interactive": isInteractive,
3597
+ "$disabled": disabled,
3598
+ "$selected": selected,
3599
+ "$destructive": destructive,
3600
+ "$spacing": spacing,
3601
+ className: className,
3602
+ "data-testid": dataTestId,
3603
+ role: customRole || 'listitem',
3604
+ id: id,
3605
+ "aria-selected": ariaSelected
3606
+ }, props, {
3607
+ children: [jsxs(StyledItemContent, {
3608
+ "$interactive": isInteractive,
3609
+ "$disabled": disabled,
3610
+ "$selected": selected,
3611
+ "$destructive": destructive,
3612
+ "$spacing": spacing,
3613
+ role: contentRole,
3614
+ "aria-expanded": ariaExpanded,
3615
+ "aria-disabled": ariaDisabled,
3616
+ "aria-current": ariaCurrent,
3617
+ tabIndex: customTabIndex !== undefined ? customTabIndex : isInteractive && !disabled ? 0 : undefined,
3618
+ onClick: handleClick,
3619
+ onKeyDown: handleKeyDown,
3620
+ children: [icon && jsx(StyledIconContainer$1, {
3621
+ "aria-hidden": "true",
3622
+ children: icon
3623
+ }), jsxs(StyledTextContent, {
3624
+ children: [jsx(Typography, {
3625
+ variant: "body",
3626
+ color: destructive ? 'error' : 'default',
3627
+ children: primary
3628
+ }), secondary && jsx(Typography, {
3629
+ variant: "small",
3630
+ color: "subdued",
3631
+ children: secondary
3632
+ })]
3633
+ }), jsxs(StyledRightContent, {
3634
+ children: [badge, expandable && jsx(StyledChevronIcon, {
3635
+ "$expanded": expanded,
3636
+ "aria-hidden": "true",
3637
+ children: jsx(Icon, {
3638
+ name: "caretDown",
3639
+ size: "sm"
3640
+ })
3641
+ })]
3642
+ })]
3643
+ }), expandable && children && jsx(StyledExpandedContent, {
3644
+ "$spacing": spacing,
3645
+ "$expanded": expanded,
3646
+ "aria-hidden": !expanded,
3647
+ children: children
3648
+ })]
3649
+ }));
3650
+ };
3651
+ ListItem.displayName = 'ListItem';
3652
+ var templateObject_1$p, templateObject_2$k, templateObject_3$i, templateObject_4$f, templateObject_5$b, templateObject_6$9, templateObject_7$7;
3653
+
3654
+ var _a$4 = tokensData.semantic,
3655
+ color$2 = _a$4.color,
3656
+ border$4 = _a$4.border,
3657
+ layout = _a$4.spacing.layout,
3658
+ motion = _a$4.motion,
3659
+ elevation = _a$4.elevation;
3660
+ var slideUp = keyframes(templateObject_1$o || (templateObject_1$o = __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"])));
3661
+ var fadeIn$1 = keyframes(templateObject_2$j || (templateObject_2$j = __makeTemplateObject(["\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n"], ["\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n"])));
3662
+ var StyledOverlay$1 = styled.div.withConfig({
3663
+ displayName: "ActionSheet__StyledOverlay",
3664
+ componentId: "sc-regbol-0"
3665
+ })(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);
3666
+ var StyledActionSheet = styled.div.withConfig({
3667
+ displayName: "ActionSheet__StyledActionSheet",
3668
+ componentId: "sc-regbol-1"
3669
+ })(templateObject_4$e || (templateObject_4$e = __makeTemplateObject(["\n position: fixed;\n bottom: 0;\n left: 0;\n right: 0;\n background-color: ", ";\n border-top-left-radius: ", ";\n border-top-right-radius: ", ";\n box-shadow: ", ";\n max-height: 90vh;\n overflow-y: auto;\n z-index: 10000;\n animation: ", " 0.3s ease-out;\n"], ["\n position: fixed;\n bottom: 0;\n left: 0;\n right: 0;\n background-color: ", ";\n border-top-left-radius: ", ";\n border-top-right-radius: ", ";\n box-shadow: ", ";\n max-height: 90vh;\n overflow-y: auto;\n z-index: 10000;\n animation: ", " 0.3s ease-out;\n"])), color$2.background.subtle, border$4.radius.lg, border$4.radius.lg, elevation.overlay, slideUp);
3670
+ var StyledHeader$1 = styled.div.withConfig({
3671
+ displayName: "ActionSheet__StyledHeader",
3672
+ componentId: "sc-regbol-2"
3673
+ })(templateObject_5$a || (templateObject_5$a = __makeTemplateObject(["\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n padding: ", " ", " ", ";\n border-bottom: ", ";\n"], ["\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n padding: ", " ", " ", ";\n border-bottom: ", ";\n"])), layout.lg, layout.lg, layout.md, border$4["default"]);
3674
+ var StyledHeaderContent = styled.div.withConfig({
3675
+ displayName: "ActionSheet__StyledHeaderContent",
3676
+ componentId: "sc-regbol-3"
3677
+ })(templateObject_6$8 || (templateObject_6$8 = __makeTemplateObject(["\n flex: 1;\n"], ["\n flex: 1;\n"])));
3678
+ var StyledCloseButton = styled.button.withConfig({
3679
+ displayName: "ActionSheet__StyledCloseButton",
3680
+ componentId: "sc-regbol-4"
3681
+ })(templateObject_7$6 || (templateObject_7$6 = __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: ", ";\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: ", ";\n outline-offset: ", ";\n }\n"])), layout.sm, color$2.icon.subdued, border$4.radius.sm, motion.hover, layout.sm, color$2.icon["default"], color$2.background.surface, border$4.focus, layout.xs);
3682
+ var StyledActionsList = styled.ul.withConfig({
3683
+ displayName: "ActionSheet__StyledActionsList",
3684
+ componentId: "sc-regbol-5"
3685
+ })(templateObject_8$4 || (templateObject_8$4 = __makeTemplateObject(["\n padding: ", " ", ";\n margin: 0;\n list-style: none;\n"], ["\n padding: ", " ", ";\n margin: 0;\n list-style: none;\n"
3686
+ /**
3687
+ * ActionSheet component for bottom sheet modals
3688
+ *
3689
+ * Displays a modal action sheet that slides up from the bottom,
3690
+ * providing a list of actions for the user to choose from.
3691
+ * Includes focus trapping, keyboard navigation, and accessibility features.
3692
+ *
3693
+ * @example
3694
+ * ```tsx
3695
+ * const [isOpen, setIsOpen] = useState(false)
3696
+ *
3697
+ * <ActionSheet
3698
+ * isOpen={isOpen}
3699
+ * onClose={() => setIsOpen(false)}
3700
+ * title="Choose an action"
3701
+ * actions={[
3702
+ * {
3703
+ * id: 'edit',
3704
+ * label: 'Edit',
3705
+ * icon: 'edit',
3706
+ * onSelect: () => console.log('Edit')
3707
+ * },
3708
+ * {
3709
+ * id: 'delete',
3710
+ * label: 'Delete',
3711
+ * icon: 'trash',
3712
+ * destructive: true,
3713
+ * onSelect: () => console.log('Delete')
3714
+ * }
3715
+ * ]}
3716
+ * />
3717
+ * ```
3718
+ */])), layout.sm, layout.md);
3719
+ /**
3720
+ * ActionSheet component for bottom sheet modals
3721
+ *
3722
+ * Displays a modal action sheet that slides up from the bottom,
3723
+ * providing a list of actions for the user to choose from.
3724
+ * Includes focus trapping, keyboard navigation, and accessibility features.
3725
+ *
3726
+ * @example
3727
+ * ```tsx
3728
+ * const [isOpen, setIsOpen] = useState(false)
3729
+ *
3730
+ * <ActionSheet
3731
+ * isOpen={isOpen}
3732
+ * onClose={() => setIsOpen(false)}
3733
+ * title="Choose an action"
3734
+ * actions={[
3735
+ * {
3736
+ * id: 'edit',
3737
+ * label: 'Edit',
3738
+ * icon: 'edit',
3739
+ * onSelect: () => console.log('Edit')
3740
+ * },
3741
+ * {
3742
+ * id: 'delete',
3743
+ * label: 'Delete',
3744
+ * icon: 'trash',
3745
+ * destructive: true,
3746
+ * onSelect: () => console.log('Delete')
3747
+ * }
3748
+ * ]}
3749
+ * />
3750
+ * ```
3751
+ */
3752
+ var ActionSheet = function ActionSheet(_a) {
3753
+ var isOpen = _a.isOpen,
3754
+ onClose = _a.onClose,
3755
+ title = _a.title,
3756
+ description = _a.description,
3757
+ actions = _a.actions,
3758
+ _b = _a.closeOnOverlayClick,
3759
+ closeOnOverlayClick = _b === void 0 ? true : _b,
3760
+ _c = _a.closeOnEscape,
3761
+ closeOnEscape = _c === void 0 ? true : _c,
3762
+ _d = _a.showCloseButton,
3763
+ showCloseButton = _d === void 0 ? true : _d,
3764
+ dataTestId = _a["data-testid"];
3765
+ var sheetRef = useRef(null);
3766
+ var previousActiveElement = useRef(null);
3767
+ // Store the element that had focus when sheet opened
3768
+ useEffect(function () {
3769
+ if (isOpen) {
3461
3770
  previousActiveElement.current = document.activeElement;
3462
3771
  }
3463
3772
  }, [isOpen]);
@@ -3484,11 +3793,11 @@ var ActionSheet = function ActionSheet(_a) {
3484
3793
  }
3485
3794
  };
3486
3795
  document.addEventListener('keydown', handleKeyDown);
3487
- // Focus first focusable element
3796
+ // Focus first focusable element (button or element with role="button")
3488
3797
  requestAnimationFrame(function () {
3489
3798
  var _a;
3490
- var firstButton = (_a = sheetRef.current) === null || _a === void 0 ? void 0 : _a.querySelector('button:not(:disabled)');
3491
- firstButton === null || firstButton === void 0 ? void 0 : firstButton.focus();
3799
+ var firstFocusable = (_a = sheetRef.current) === null || _a === void 0 ? void 0 : _a.querySelector('button:not(:disabled), [role="button"][tabindex]:not([aria-disabled="true"])');
3800
+ firstFocusable === null || firstFocusable === void 0 ? void 0 : firstFocusable.focus();
3492
3801
  });
3493
3802
  // Prevent body scroll
3494
3803
  var originalOverflow = document.body.style.overflow;
@@ -3561,24 +3870,23 @@ var ActionSheet = function ActionSheet(_a) {
3561
3870
  })]
3562
3871
  }), jsx(StyledActionsList, {
3563
3872
  children: actions.map(function (action, index) {
3564
- return jsxs("div", {
3565
- children: [hasDestructive && index === destructiveIndex && index > 0 && jsx(StyledDivider, {}), jsxs(StyledActionButton, {
3566
- type: "button",
3873
+ return jsxs(React.Fragment, {
3874
+ children: [hasDestructive && index === destructiveIndex && index > 0 && jsx(Divider, {
3875
+ size: "small"
3876
+ }), jsx(ListItem, {
3877
+ primary: action.label,
3878
+ icon: action.icon && jsx(Icon, {
3879
+ name: action.icon,
3880
+ size: "md",
3881
+ iconColor: action.disabled ? 'disabled' : action.destructive ? 'error' : 'default'
3882
+ }),
3883
+ interactive: true,
3567
3884
  onClick: function onClick() {
3568
3885
  return handleActionClick(action);
3569
3886
  },
3570
3887
  disabled: action.disabled,
3571
- "$destructive": action.destructive || false,
3572
- "$disabled": action.disabled || false,
3573
- "aria-label": action.label,
3574
- children: [action.icon && jsx(Icon, {
3575
- name: action.icon,
3576
- size: "md",
3577
- iconColor: action.disabled ? 'disabled' : action.destructive ? 'error' : 'default'
3578
- }), jsx(Typography, {
3579
- variant: "body",
3580
- children: action.label
3581
- })]
3888
+ destructive: action.destructive,
3889
+ spacing: "compact"
3582
3890
  })]
3583
3891
  }, action.id);
3584
3892
  })
@@ -3586,10 +3894,10 @@ var ActionSheet = function ActionSheet(_a) {
3586
3894
  })]
3587
3895
  }), document.body);
3588
3896
  };
3589
- 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;
3897
+ var templateObject_1$o, templateObject_2$j, templateObject_3$h, templateObject_4$e, templateObject_5$a, templateObject_6$8, templateObject_7$6, templateObject_8$4;
3590
3898
 
3591
- var semantic$a = tokensData.semantic,
3592
- base$8 = tokensData.base;
3899
+ var semantic$9 = tokensData.semantic,
3900
+ base$7 = tokensData.base;
3593
3901
  // Default icons by variant
3594
3902
  var variantIcons = {
3595
3903
  error: 'crossCircle',
@@ -3617,56 +3925,56 @@ var StyledAlert = styled.div.withConfig({
3617
3925
  },
3618
3926
  displayName: "Alert__StyledAlert",
3619
3927
  componentId: "sc-18tq5d-0"
3620
- })(templateObject_1$o || (templateObject_1$o = __makeTemplateObject(["\n display: flex;\n align-items: ", ";\n gap: ", ";\n padding: ", ";\n border-radius: ", ";\n border: 1px solid;\n position: relative;\n width: 100%;\n \n /* Variant-specific colors */\n ", "\n \n /* Responsive adjustments */\n @media (min-width: ", ") {\n padding: ", ";\n }\n"], ["\n display: flex;\n align-items: ", ";\n gap: ", ";\n padding: ", ";\n border-radius: ", ";\n border: 1px solid;\n position: relative;\n width: 100%;\n \n /* Variant-specific colors */\n ", "\n \n /* Responsive adjustments */\n @media (min-width: ", ") {\n padding: ", ";\n }\n"])), function (_a) {
3928
+ })(templateObject_1$n || (templateObject_1$n = __makeTemplateObject(["\n display: flex;\n align-items: ", ";\n gap: ", ";\n padding: ", ";\n border-radius: ", ";\n border: 1px solid;\n position: relative;\n width: 100%;\n \n /* Variant-specific colors */\n ", "\n \n /* Responsive adjustments */\n @media (min-width: ", ") {\n padding: ", ";\n }\n"], ["\n display: flex;\n align-items: ", ";\n gap: ", ";\n padding: ", ";\n border-radius: ", ";\n border: 1px solid;\n position: relative;\n width: 100%;\n \n /* Variant-specific colors */\n ", "\n \n /* Responsive adjustments */\n @media (min-width: ", ") {\n padding: ", ";\n }\n"])), function (_a) {
3621
3929
  var $inline = _a.$inline;
3622
3930
  return $inline ? 'center' : 'flex-start';
3623
3931
  }, function (_a) {
3624
3932
  var $inline = _a.$inline;
3625
- return $inline ? semantic$a.spacing.layout.sm : semantic$a.spacing.layout.md;
3933
+ return $inline ? semantic$9.spacing.layout.sm : semantic$9.spacing.layout.md;
3626
3934
  }, function (_a) {
3627
3935
  var $inline = _a.$inline;
3628
- return $inline ? semantic$a.spacing.layout.sm : semantic$a.spacing.layout.md;
3629
- }, base$8.border.radius[2], function (_a) {
3936
+ return $inline ? semantic$9.spacing.layout.sm : semantic$9.spacing.layout.md;
3937
+ }, base$7.border.radius[2], function (_a) {
3630
3938
  var $variant = _a.$variant;
3631
3939
  switch ($variant) {
3632
3940
  case 'error':
3633
- return "\n background-color: ".concat(semantic$a.color.background['error-subtle'], ";\n border-color: ").concat(semantic$a.color.border.error, ";\n color: ").concat(semantic$a.color.text.error, ";\n ");
3941
+ return "\n background-color: ".concat(semantic$9.color.background['error-subtle'], ";\n border-color: ").concat(semantic$9.color.border.error, ";\n color: ").concat(semantic$9.color.text.error, ";\n ");
3634
3942
  case 'warning':
3635
- return "\n background-color: ".concat(semantic$a.color.background['warning-subtle'], ";\n border-color: ").concat(semantic$a.color.border.warning, ";\n color: ").concat(semantic$a.color.text.warning, ";\n ");
3943
+ return "\n background-color: ".concat(semantic$9.color.background['warning-subtle'], ";\n border-color: ").concat(semantic$9.color.border.warning, ";\n color: ").concat(semantic$9.color.text.warning, ";\n ");
3636
3944
  case 'success':
3637
- return "\n background-color: ".concat(semantic$a.color.background['success-subtle'], ";\n border-color: ").concat(semantic$a.color.border.success, ";\n color: ").concat(semantic$a.color.text.success, ";\n ");
3945
+ return "\n background-color: ".concat(semantic$9.color.background['success-subtle'], ";\n border-color: ").concat(semantic$9.color.border.success, ";\n color: ").concat(semantic$9.color.text.success, ";\n ");
3638
3946
  case 'info':
3639
3947
  default:
3640
- return "\n background-color: ".concat(semantic$a.color.background['interactive-subtle'], ";\n border-color: ").concat(semantic$a.color.border.interactive, ";\n color: ").concat(semantic$a.color.text.interactive, ";\n ");
3948
+ return "\n background-color: ".concat(semantic$9.color.background['interactive-subtle'], ";\n border-color: ").concat(semantic$9.color.border.interactive, ";\n color: ").concat(semantic$9.color.text.interactive, ";\n ");
3641
3949
  }
3642
- }, base$8.breakpoint.md, function (_a) {
3950
+ }, base$7.breakpoint.md, function (_a) {
3643
3951
  var $inline = _a.$inline;
3644
- return $inline ? semantic$a.spacing.layout.sm : semantic$a.spacing.layout.lg;
3952
+ return $inline ? semantic$9.spacing.layout.sm : semantic$9.spacing.layout.lg;
3645
3953
  });
3646
- var StyledIconContainer$1 = styled.div.withConfig({
3954
+ var StyledIconContainer = styled.div.withConfig({
3647
3955
  displayName: "Alert__StyledIconContainer",
3648
3956
  componentId: "sc-18tq5d-1"
3649
- })(templateObject_2$j || (templateObject_2$j = __makeTemplateObject(["\n display: flex;\n align-items: center;\n flex-shrink: 0;\n"], ["\n display: flex;\n align-items: center;\n flex-shrink: 0;\n"])));
3957
+ })(templateObject_2$i || (templateObject_2$i = __makeTemplateObject(["\n display: flex;\n align-items: center;\n flex-shrink: 0;\n"], ["\n display: flex;\n align-items: center;\n flex-shrink: 0;\n"])));
3650
3958
  var StyledContent$1 = styled.div.withConfig({
3651
3959
  displayName: "Alert__StyledContent",
3652
3960
  componentId: "sc-18tq5d-2"
3653
- })(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);
3961
+ })(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$9.spacing.layout.xs);
3654
3962
  var StyledTitle = styled.span.withConfig({
3655
3963
  displayName: "Alert__StyledTitle",
3656
3964
  componentId: "sc-18tq5d-3"
3657
- })(templateObject_4$d || (templateObject_4$d = __makeTemplateObject(["\n font: ", ";\n font-weight: 600 !important;\n margin: 0;\n\tline-height: 1.125;\n"], ["\n font: ", ";\n font-weight: 600 !important;\n margin: 0;\n\tline-height: 1.125;\n"])), semantic$a.typography.h6);
3965
+ })(templateObject_4$d || (templateObject_4$d = __makeTemplateObject(["\n font: ", ";\n font-weight: 600 !important;\n margin: 0;\n\tline-height: 1.125;\n"], ["\n font: ", ";\n font-weight: 600 !important;\n margin: 0;\n\tline-height: 1.125;\n"])), semantic$9.typography.h6);
3658
3966
  var StyledMessage = styled.span.withConfig({
3659
3967
  displayName: "Alert__StyledMessage",
3660
3968
  componentId: "sc-18tq5d-4"
3661
- })(templateObject_5$a || (templateObject_5$a = __makeTemplateObject(["\n font: ", ";\n\tline-height: 1.25;\n"], ["\n font: ", ";\n\tline-height: 1.25;\n"])), semantic$a.typography.body);
3969
+ })(templateObject_5$9 || (templateObject_5$9 = __makeTemplateObject(["\n font: ", ";\n\tline-height: 1.25;\n"], ["\n font: ", ";\n\tline-height: 1.25;\n"])), semantic$9.typography.body);
3662
3970
  var StyledActions = styled.div.withConfig({
3663
3971
  displayName: "Alert__StyledActions",
3664
3972
  componentId: "sc-18tq5d-5"
3665
- })(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);
3973
+ })(templateObject_6$7 || (templateObject_6$7 = __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$9.spacing.layout.sm);
3666
3974
  var StyledDismissButton = styled(IconButton).withConfig({
3667
3975
  displayName: "Alert__StyledDismissButton",
3668
3976
  componentId: "sc-18tq5d-6"
3669
- })(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);
3977
+ })(templateObject_7$5 || (templateObject_7$5 = __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$9.spacing.layout.xs);
3670
3978
  var Alert = function Alert(_a) {
3671
3979
  var _b = _a.variant,
3672
3980
  variant = _b === void 0 ? 'info' : _b,
@@ -3705,7 +4013,7 @@ var Alert = function Alert(_a) {
3705
4013
  "$inline": inline,
3706
4014
  "data-testid": dataTestId
3707
4015
  }, props, {
3708
- children: [jsx(StyledIconContainer$1, {
4016
+ children: [jsx(StyledIconContainer, {
3709
4017
  "aria-hidden": "true",
3710
4018
  children: jsx(Icon, {
3711
4019
  name: iconName,
@@ -3734,21 +4042,21 @@ var Alert = function Alert(_a) {
3734
4042
  }));
3735
4043
  };
3736
4044
  Alert.displayName = 'Alert';
3737
- var templateObject_1$o, templateObject_2$j, templateObject_3$h, templateObject_4$d, templateObject_5$a, templateObject_6$8, templateObject_7$6;
4045
+ var templateObject_1$n, templateObject_2$i, templateObject_3$g, templateObject_4$d, templateObject_5$9, templateObject_6$7, templateObject_7$5;
3738
4046
 
3739
4047
  var _a$3, _b$1, _c, _d, _e, _f;
3740
4048
  var BreadcrumbNavStyled = styled.nav.withConfig({
3741
4049
  displayName: "Breadcrumbs__BreadcrumbNavStyled",
3742
4050
  componentId: "sc-7ouzg5-0"
3743
- })(templateObject_1$n || (templateObject_1$n = __makeTemplateObject(["\n border-bottom: ", ";\n\n ol {\n display: flex;\n align-items: center;\n list-style: none;\n margin: 0;\n padding: 0;\n }\n"], ["\n border-bottom: ", ";\n\n ol {\n display: flex;\n align-items: center;\n list-style: none;\n margin: 0;\n padding: 0;\n }\n"])), ((_b$1 = (_a$3 = tokensData.semantic) === null || _a$3 === void 0 ? void 0 : _a$3.border) === null || _b$1 === void 0 ? void 0 : _b$1["default"]) || '0.0625rem solid #e9ecef');
4051
+ })(templateObject_1$m || (templateObject_1$m = __makeTemplateObject(["\n border-bottom: ", ";\n\n ol {\n display: flex;\n align-items: center;\n list-style: none;\n margin: 0;\n padding: 0;\n }\n"], ["\n border-bottom: ", ";\n\n ol {\n display: flex;\n align-items: center;\n list-style: none;\n margin: 0;\n padding: 0;\n }\n"])), ((_b$1 = (_a$3 = tokensData.semantic) === null || _a$3 === void 0 ? void 0 : _a$3.border) === null || _b$1 === void 0 ? void 0 : _b$1["default"]) || '0.0625rem solid #e9ecef');
3744
4052
  var BreadcrumbStyled = styled.li.withConfig({
3745
4053
  displayName: "Breadcrumbs__BreadcrumbStyled",
3746
4054
  componentId: "sc-7ouzg5-1"
3747
- })(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"]);
4055
+ })(templateObject_2$h || (templateObject_2$h = __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"]);
3748
4056
  var BreadcrumbSeparator = styled.span.withConfig({
3749
4057
  displayName: "Breadcrumbs__BreadcrumbSeparator",
3750
4058
  componentId: "sc-7ouzg5-2"
3751
- })(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"])));
4059
+ })(templateObject_3$f || (templateObject_3$f = __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"])));
3752
4060
  var isInternalUrl = function isInternalUrl(url) {
3753
4061
  return url.startsWith('/') && !url.startsWith('http');
3754
4062
  };
@@ -3796,12 +4104,12 @@ var Breadcrumbs = function Breadcrumbs(_a) {
3796
4104
  })
3797
4105
  });
3798
4106
  };
3799
- var templateObject_1$n, templateObject_2$i, templateObject_3$g;
4107
+ var templateObject_1$m, templateObject_2$h, templateObject_3$f;
3800
4108
 
3801
4109
  var CardSmallStyled = styled.div.withConfig({
3802
4110
  displayName: "CardSmall__CardSmallStyled",
3803
4111
  componentId: "sc-jpcqvd-0"
3804
- })(templateObject_1$m || (templateObject_1$m = __makeTemplateObject(["\n a {\n text-decoration: none;\n }\n\n img {\n border-radius: ", ";\n transition: ease opacity 0.2s;\n width: 100%;\n height: auto;\n display: block;\n }\n\n &:hover {\n img {\n opacity: 0.8;\n }\n }\n\n &:focus-within {\n outline: none;\n box-shadow: 0 0 0 2px ", ";\n }\n"], ["\n a {\n text-decoration: none;\n }\n\n img {\n border-radius: ", ";\n transition: ease opacity 0.2s;\n width: 100%;\n height: auto;\n display: block;\n }\n\n &:hover {\n img {\n opacity: 0.8;\n }\n }\n\n &:focus-within {\n outline: none;\n box-shadow: 0 0 0 2px ", ";\n }\n"])), tokensData.base.border.radius[2], tokensData.semantic.color.border.strong);
4112
+ })(templateObject_1$l || (templateObject_1$l = __makeTemplateObject(["\n a {\n text-decoration: none;\n }\n\n img {\n border-radius: ", ";\n transition: ease opacity 0.2s;\n width: 100%;\n height: auto;\n display: block;\n }\n\n &:hover {\n img {\n opacity: 0.8;\n }\n }\n\n &:focus-within {\n outline: none;\n box-shadow: 0 0 0 2px ", ";\n }\n"], ["\n a {\n text-decoration: none;\n }\n\n img {\n border-radius: ", ";\n transition: ease opacity 0.2s;\n width: 100%;\n height: auto;\n display: block;\n }\n\n &:hover {\n img {\n opacity: 0.8;\n }\n }\n\n &:focus-within {\n outline: none;\n box-shadow: 0 0 0 2px ", ";\n }\n"])), tokensData.base.border.radius[2], tokensData.semantic.color.border.strong);
3805
4113
  var CardSmall = function CardSmall(_a) {
3806
4114
  var title = _a.title,
3807
4115
  picture = _a.picture,
@@ -3853,13 +4161,13 @@ var CardSmall = function CardSmall(_a) {
3853
4161
  })
3854
4162
  });
3855
4163
  };
3856
- var templateObject_1$m;
4164
+ var templateObject_1$l;
3857
4165
 
3858
4166
  var border$3 = tokensData.base.border;
3859
4167
  var CardLargeStyled = styled.div.withConfig({
3860
4168
  displayName: "CardLarge__CardLargeStyled",
3861
4169
  componentId: "sc-1rfgdzl-0"
3862
- })(templateObject_1$l || (templateObject_1$l = __makeTemplateObject(["\n max-width: 768px;\n\n a {\n text-decoration: none;\n }\n\n &:hover {\n img {\n opacity: 0.8;\n }\n }\n\n img {\n border-radius: ", ";\n transition: ease opacity 0.2s;\n width: 100%;\n }\n"], ["\n max-width: 768px;\n\n a {\n text-decoration: none;\n }\n\n &:hover {\n img {\n opacity: 0.8;\n }\n }\n\n img {\n border-radius: ", ";\n transition: ease opacity 0.2s;\n width: 100%;\n }\n"])), border$3.radius[6]);
4170
+ })(templateObject_1$k || (templateObject_1$k = __makeTemplateObject(["\n max-width: 768px;\n\n a {\n text-decoration: none;\n }\n\n &:hover {\n img {\n opacity: 0.8;\n }\n }\n\n img {\n border-radius: ", ";\n transition: ease opacity 0.2s;\n width: 100%;\n }\n"], ["\n max-width: 768px;\n\n a {\n text-decoration: none;\n }\n\n &:hover {\n img {\n opacity: 0.8;\n }\n }\n\n img {\n border-radius: ", ";\n transition: ease opacity 0.2s;\n width: 100%;\n }\n"])), border$3.radius[6]);
3863
4171
  var CardLarge = function CardLarge(_a) {
3864
4172
  var title = _a.title,
3865
4173
  excerpt = _a.excerpt,
@@ -3912,7 +4220,7 @@ var CardLarge = function CardLarge(_a) {
3912
4220
  })
3913
4221
  });
3914
4222
  };
3915
- var templateObject_1$l;
4223
+ var templateObject_1$k;
3916
4224
 
3917
4225
  /**
3918
4226
  * Hidden native checkbox input for accessibility
@@ -3924,7 +4232,7 @@ var HiddenCheckboxInput = styled.input.withConfig({
3924
4232
  },
3925
4233
  displayName: "SelectableInputBase__HiddenCheckboxInput",
3926
4234
  componentId: "sc-1ddpctx-0"
3927
- })(templateObject_1$k || (templateObject_1$k = __makeTemplateObject(["\n position: absolute;\n opacity: 0;\n width: 0;\n height: 0;\n pointer-events: none;\n"], ["\n position: absolute;\n opacity: 0;\n width: 0;\n height: 0;\n pointer-events: none;\n"
4235
+ })(templateObject_1$j || (templateObject_1$j = __makeTemplateObject(["\n position: absolute;\n opacity: 0;\n width: 0;\n height: 0;\n pointer-events: none;\n"], ["\n position: absolute;\n opacity: 0;\n width: 0;\n height: 0;\n pointer-events: none;\n"
3928
4236
  /**
3929
4237
  * Custom checkbox visual component
3930
4238
  * 24px × 24px for 8px grid alignment
@@ -3941,7 +4249,7 @@ var StyledCheckbox = styled.span.withConfig({
3941
4249
  },
3942
4250
  displayName: "SelectableInputBase__StyledCheckbox",
3943
4251
  componentId: "sc-1ddpctx-1"
3944
- })(templateObject_2$h || (templateObject_2$h = __makeTemplateObject(["\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 20px;\n height: 20px;\n min-width: 20px;\n min-height: 20px;\n border-radius: ", ";\n border: ", " solid;\n background-color: ", ";\n border-color: ", ";\n cursor: ", ";\n transition: all 150ms ease-out;\n flex-shrink: 0;\n\n /* Hover state */\n ", ":not(:disabled):hover + & {\n border-color: ", ";\n }\n\n /* Focus state */\n ", ":focus-visible + & {\n outline: ", ";\n outline-offset: ", ";\n border-color: ", ";\n }\n\n /* Disabled state */\n ", "\n\n /* Checkmark icon */\n &::after {\n content: '';\n position: absolute;\n display: ", ";\n left: 6px;\n top: 3px;\n width: 4px;\n height: 8px;\n border: solid ", ";\n border-width: 0 2px 2px 0;\n transform: rotate(45deg);\n }\n\n /* Indeterminate icon (horizontal line) */\n &::before {\n content: '';\n position: absolute;\n display: ", ";\n left: 4px;\n top: 8px;\n width: 10px;\n height: 2px;\n background-color: ", ";\n }\n"], ["\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 20px;\n height: 20px;\n min-width: 20px;\n min-height: 20px;\n border-radius: ", ";\n border: ", " solid;\n background-color: ", ";\n border-color: ", ";\n cursor: ", ";\n transition: all 150ms ease-out;\n flex-shrink: 0;\n\n /* Hover state */\n ", ":not(:disabled):hover + & {\n border-color: ", ";\n }\n\n /* Focus state */\n ", ":focus-visible + & {\n outline: ", ";\n outline-offset: ", ";\n border-color: ", ";\n }\n\n /* Disabled state */\n ", "\n\n /* Checkmark icon */\n &::after {\n content: '';\n position: absolute;\n display: ", ";\n left: 6px;\n top: 3px;\n width: 4px;\n height: 8px;\n border: solid ", ";\n border-width: 0 2px 2px 0;\n transform: rotate(45deg);\n }\n\n /* Indeterminate icon (horizontal line) */\n &::before {\n content: '';\n position: absolute;\n display: ", ";\n left: 4px;\n top: 8px;\n width: 10px;\n height: 2px;\n background-color: ", ";\n }\n"
4252
+ })(templateObject_2$g || (templateObject_2$g = __makeTemplateObject(["\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 20px;\n height: 20px;\n min-width: 20px;\n min-height: 20px;\n border-radius: ", ";\n border: ", " solid;\n background-color: ", ";\n border-color: ", ";\n cursor: ", ";\n transition: all 150ms ease-out;\n flex-shrink: 0;\n\n /* Hover state */\n ", ":not(:disabled):hover + & {\n border-color: ", ";\n }\n\n /* Focus state */\n ", ":focus-visible + & {\n outline: ", ";\n outline-offset: ", ";\n border-color: ", ";\n }\n\n /* Disabled state */\n ", "\n\n /* Checkmark icon */\n &::after {\n content: '';\n position: absolute;\n display: ", ";\n left: 6px;\n top: 3px;\n width: 4px;\n height: 8px;\n border: solid ", ";\n border-width: 0 2px 2px 0;\n transform: rotate(45deg);\n }\n\n /* Indeterminate icon (horizontal line) */\n &::before {\n content: '';\n position: absolute;\n display: ", ";\n left: 4px;\n top: 8px;\n width: 10px;\n height: 2px;\n background-color: ", ";\n }\n"], ["\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 20px;\n height: 20px;\n min-width: 20px;\n min-height: 20px;\n border-radius: ", ";\n border: ", " solid;\n background-color: ", ";\n border-color: ", ";\n cursor: ", ";\n transition: all 150ms ease-out;\n flex-shrink: 0;\n\n /* Hover state */\n ", ":not(:disabled):hover + & {\n border-color: ", ";\n }\n\n /* Focus state */\n ", ":focus-visible + & {\n outline: ", ";\n outline-offset: ", ";\n border-color: ", ";\n }\n\n /* Disabled state */\n ", "\n\n /* Checkmark icon */\n &::after {\n content: '';\n position: absolute;\n display: ", ";\n left: 6px;\n top: 3px;\n width: 4px;\n height: 8px;\n border: solid ", ";\n border-width: 0 2px 2px 0;\n transform: rotate(45deg);\n }\n\n /* Indeterminate icon (horizontal line) */\n &::before {\n content: '';\n position: absolute;\n display: ", ";\n left: 4px;\n top: 8px;\n width: 10px;\n height: 2px;\n background-color: ", ";\n }\n"
3945
4253
  /**
3946
4254
  * Container for checkbox with proper spacing and alignment
3947
4255
  * 48px min-height for touch target (8px grid aligned)
@@ -3974,7 +4282,7 @@ var StyledCheckboxContainer = styled.label.withConfig({
3974
4282
  },
3975
4283
  displayName: "SelectableInputBase__StyledCheckboxContainer",
3976
4284
  componentId: "sc-1ddpctx-2"
3977
- })(templateObject_3$f || (templateObject_3$f = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n gap: ", ";\n cursor: ", ";\n min-height: 32px;\n flex-direction: ", ";\n user-select: none;\n"], ["\n display: inline-flex;\n align-items: center;\n gap: ", ";\n cursor: ", ";\n min-height: 32px;\n flex-direction: ", ";\n user-select: none;\n"
4285
+ })(templateObject_3$e || (templateObject_3$e = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n gap: ", ";\n cursor: ", ";\n min-height: 32px;\n flex-direction: ", ";\n user-select: none;\n"], ["\n display: inline-flex;\n align-items: center;\n gap: ", ";\n cursor: ", ";\n min-height: 32px;\n flex-direction: ", ";\n user-select: none;\n"
3978
4286
  /**
3979
4287
  * Label text with proper typography
3980
4288
  */])), tokensData.base.spacing[3], function (props) {
@@ -3994,16 +4302,16 @@ var StyledCheckboxLabel = styled.span.withConfig({
3994
4302
  })(templateObject_4$c || (templateObject_4$c = __makeTemplateObject(["\n font: ", ";\n color: ", ";\n"], ["\n font: ", ";\n color: ", ";\n"])), tokensData.component.input["default"].font, function (props) {
3995
4303
  return props.$disabled ? tokensData.component.input.disabled.textColor : tokensData.component.input["default"].textColor;
3996
4304
  });
3997
- var templateObject_1$k, templateObject_2$h, templateObject_3$f, templateObject_4$c;
4305
+ var templateObject_1$j, templateObject_2$g, templateObject_3$e, templateObject_4$c;
3998
4306
 
3999
4307
  var StyledFieldContainer$3 = styled.div.withConfig({
4000
4308
  displayName: "Checkbox__StyledFieldContainer",
4001
4309
  componentId: "sc-vquz3v-0"
4002
- })(templateObject_1$j || (templateObject_1$j = __makeTemplateObject(["\n display: inline-flex;\n flex-direction: column;\n gap: ", ";\n"], ["\n display: inline-flex;\n flex-direction: column;\n gap: ", ";\n"])), tokensData.base.spacing[1]);
4310
+ })(templateObject_1$i || (templateObject_1$i = __makeTemplateObject(["\n display: inline-flex;\n flex-direction: column;\n gap: ", ";\n"], ["\n display: inline-flex;\n flex-direction: column;\n gap: ", ";\n"])), tokensData.base.spacing[1]);
4003
4311
  var StyledHelperText$4 = styled.span.withConfig({
4004
4312
  displayName: "Checkbox__StyledHelperText",
4005
4313
  componentId: "sc-vquz3v-1"
4006
- })(templateObject_2$g || (templateObject_2$g = __makeTemplateObject(["\n font: ", ";\n color: ", ";\n margin-left: ", "; /* Align with label text after checkbox */\n display: block;\n"], ["\n font: ", ";\n color: ", ";\n margin-left: ", "; /* Align with label text after checkbox */\n display: block;\n"
4314
+ })(templateObject_2$f || (templateObject_2$f = __makeTemplateObject(["\n font: ", ";\n color: ", ";\n margin-left: ", "; /* Align with label text after checkbox */\n display: block;\n"], ["\n font: ", ";\n color: ", ";\n margin-left: ", "; /* Align with label text after checkbox */\n display: block;\n"
4007
4315
  /**
4008
4316
  * Checkbox component for binary selection with WCAG 2.2 AA compliance
4009
4317
  *
@@ -4122,12 +4430,12 @@ var Checkbox = /*#__PURE__*/forwardRef(function (_a, ref) {
4122
4430
  });
4123
4431
  });
4124
4432
  Checkbox.displayName = 'Checkbox';
4125
- var templateObject_1$j, templateObject_2$g;
4433
+ var templateObject_1$i, templateObject_2$f;
4126
4434
 
4127
4435
  var ChipGroupWrapper = styled.div.withConfig({
4128
4436
  displayName: "ChipGroup__ChipGroupWrapper",
4129
4437
  componentId: "sc-ae049w-0"
4130
- })(templateObject_1$i || (templateObject_1$i = __makeTemplateObject(["\n > div {\n display: flex;\n flex-wrap: wrap;\n }\n"], ["\n > div {\n display: flex;\n flex-wrap: wrap;\n }\n"])));
4438
+ })(templateObject_1$h || (templateObject_1$h = __makeTemplateObject(["\n > div {\n display: flex;\n flex-wrap: wrap;\n }\n"], ["\n > div {\n display: flex;\n flex-wrap: wrap;\n }\n"])));
4131
4439
  var ChipGroup = function ChipGroup(_a) {
4132
4440
  var labels = _a.labels,
4133
4441
  _b = _a.variant,
@@ -4147,24 +4455,44 @@ var ChipGroup = function ChipGroup(_a) {
4147
4455
  })
4148
4456
  });
4149
4457
  };
4150
- var templateObject_1$i;
4458
+ var templateObject_1$h;
4151
4459
 
4152
4460
  var _a$2 = tokensData.semantic,
4153
4461
  color$1 = _a$2.color,
4154
4462
  border$2 = _a$2.border,
4155
4463
  spacing$2 = _a$2.spacing;
4464
+ _a$2.motion;
4156
4465
  var StyledCodeBlock = styled.pre.withConfig({
4157
4466
  displayName: "CodeBlock__StyledCodeBlock",
4158
4467
  componentId: "sc-1p1t0kp-0"
4159
- })(templateObject_1$h || (templateObject_1$h = __makeTemplateObject(["\n background-color: ", ";\n border: ", ";\n border-radius: ", ";\n padding: ", ";\n font-family: ", ";\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n overflow-x: auto;\n margin: ", " 0;\n position: relative;\n"], ["\n background-color: ", ";\n border: ", ";\n border-radius: ", ";\n padding: ", ";\n font-family: ", ";\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n overflow-x: auto;\n margin: ", " 0;\n position: relative;\n"])), color$1.background.subtle, border$2.subtle, tokensData.base.border.radius[2], spacing$2.layout.md, tokensData.base.fontFamily.monospace, tokensData.base.fontSize[1], tokensData.base.lineHeight[3], color$1.text["default"], spacing$2.layout.sm);
4468
+ })(templateObject_1$g || (templateObject_1$g = __makeTemplateObject(["\n background-color: ", ";\n border: ", ";\n border-radius: ", ";\n padding: ", ";\n font-family: ", ";\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n overflow-x: auto;\n overflow-y: ", ";\n margin: ", " 0;\n position: relative;\n transition: max-height 300ms ease-in-out;\n \n ", "\n"], ["\n background-color: ", ";\n border: ", ";\n border-radius: ", ";\n padding: ", ";\n font-family: ", ";\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n overflow-x: auto;\n overflow-y: ", ";\n margin: ", " 0;\n position: relative;\n transition: max-height 300ms ease-in-out;\n \n ", "\n"])), color$1.background.subtle, border$2.subtle, tokensData.base.border.radius[2], spacing$2.layout.md, tokensData.base.fontFamily.monospace, tokensData.base.fontSize[1], tokensData.base.lineHeight[3], color$1.text["default"], function (_a) {
4469
+ var $isExpanded = _a.$isExpanded,
4470
+ $needsExpansion = _a.$needsExpansion;
4471
+ return $needsExpansion && !$isExpanded ? 'hidden' : 'auto';
4472
+ }, spacing$2.layout.sm, function (_a) {
4473
+ var $maxHeight = _a.$maxHeight,
4474
+ $isExpanded = _a.$isExpanded,
4475
+ $needsExpansion = _a.$needsExpansion;
4476
+ if (!$maxHeight || !$needsExpansion) return '';
4477
+ // Use a large value when expanded to allow smooth transition
4478
+ // 10000px is effectively "no limit" for most code blocks
4479
+ return $isExpanded ? 'max-height: 10000px;' : "max-height: ".concat($maxHeight, "px;");
4480
+ });
4160
4481
  var CodeBlockWrapper = styled.div.withConfig({
4161
4482
  displayName: "CodeBlock__CodeBlockWrapper",
4162
4483
  componentId: "sc-1p1t0kp-1"
4163
- })(templateObject_2$f || (templateObject_2$f = __makeTemplateObject(["\n position: relative;\n display: inline-block;\n width: 100%;\n"], ["\n position: relative;\n display: inline-block;\n width: 100%;\n"])));
4484
+ })(templateObject_2$e || (templateObject_2$e = __makeTemplateObject(["\n position: relative;\n display: inline-block;\n width: 100%;\n"], ["\n position: relative;\n display: inline-block;\n width: 100%;\n"])));
4164
4485
  var CopyButtonWrapper = styled.div.withConfig({
4165
4486
  displayName: "CodeBlock__CopyButtonWrapper",
4166
4487
  componentId: "sc-1p1t0kp-2"
4167
- })(templateObject_3$e || (templateObject_3$e = __makeTemplateObject(["\n position: absolute;\n bottom: ", ";\n right: ", ";\n"], ["\n position: absolute;\n bottom: ", ";\n right: ", ";\n"])), spacing$2.layout.lg, spacing$2.layout.sm);
4488
+ })(templateObject_3$d || (templateObject_3$d = __makeTemplateObject(["\n position: absolute;\n bottom: ", ";\n right: ", ";\n"], ["\n position: absolute;\n bottom: ", ";\n right: ", ";\n"])), spacing$2.layout.lg, spacing$2.layout.sm);
4489
+ var ExpandButtonWrapper = styled.div.withConfig({
4490
+ displayName: "CodeBlock__ExpandButtonWrapper",
4491
+ componentId: "sc-1p1t0kp-3"
4492
+ })(templateObject_4$b || (templateObject_4$b = __makeTemplateObject(["\n display: flex;\n justify-content: center;\n padding: ", " 0;\n position: absolute;\n bottom: 1px;\n left: 1px;\n right: 1px;\n width: calc(100% - 2px);\n margin-bottom: ", ";\n border-radius: ", ";\n transition: opacity 300ms ease-in-out, background 300ms ease-in-out;\n \n ", "\n"], ["\n display: flex;\n justify-content: center;\n padding: ", " 0;\n position: absolute;\n bottom: 1px;\n left: 1px;\n right: 1px;\n width: calc(100% - 2px);\n margin-bottom: ", ";\n border-radius: ", ";\n transition: opacity 300ms ease-in-out, background 300ms ease-in-out;\n \n ", "\n"])), spacing$2.layout.sm, spacing$2.layout.sm, tokensData.base.border.radius[2], function (_a) {
4493
+ var $hasGradient = _a.$hasGradient;
4494
+ return $hasGradient ? "\n margin-top: -".concat(spacing$2.layout['4xl'], ";\n padding-top: ").concat(spacing$2.layout['4xl'], ";\n background: linear-gradient(\n to bottom,\n transparent 0%,\n ").concat(color$1.background.subtle, " 60%\n );\n ") : "\n background: transparent;\n ";
4495
+ });
4168
4496
  var CopyButton = function CopyButton(_a) {
4169
4497
  var text = _a.text,
4170
4498
  onCopy = _a.onCopy;
@@ -4225,49 +4553,121 @@ var CopyButton = function CopyButton(_a) {
4225
4553
  };
4226
4554
  /**
4227
4555
  * CodeBlock component for displaying formatted code with optional copy functionality
4556
+ * and expandable content for long code blocks.
4228
4557
  *
4229
4558
  * @param children - The code content to display
4230
4559
  * @param showCopyButton - Whether to show the copy button (default: true)
4231
4560
  * @param onCopy - Optional callback when code is copied
4561
+ * @param maxHeight - Maximum height in pixels before enabling expand/collapse
4562
+ * @param defaultExpanded - Initial expanded state when maxHeight is set
4232
4563
  * @param data-testid - Test identifier for the code block
4564
+ *
4565
+ * @example
4566
+ * ```tsx
4567
+ * // Basic usage
4568
+ * <CodeBlock>const x = 1;</CodeBlock>
4569
+ *
4570
+ * // With max height and expand/collapse
4571
+ * <CodeBlock maxHeight={200}>
4572
+ * {longCodeString}
4573
+ * </CodeBlock>
4574
+ *
4575
+ * // Start expanded
4576
+ * <CodeBlock maxHeight={200} defaultExpanded>
4577
+ * {longCodeString}
4578
+ * </CodeBlock>
4579
+ * ```
4233
4580
  */
4234
4581
  var CodeBlock = function CodeBlock(_a) {
4235
4582
  var children = _a.children,
4236
4583
  _b = _a.showCopyButton,
4237
4584
  showCopyButton = _b === void 0 ? true : _b,
4238
4585
  onCopy = _a.onCopy,
4586
+ maxHeight = _a.maxHeight,
4587
+ _c = _a.defaultExpanded,
4588
+ defaultExpanded = _c === void 0 ? false : _c,
4239
4589
  testId = _a["data-testid"];
4590
+ var _d = useState(defaultExpanded),
4591
+ isExpanded = _d[0],
4592
+ setIsExpanded = _d[1];
4593
+ var _e = useState(false),
4594
+ needsExpansion = _e[0],
4595
+ setNeedsExpansion = _e[1];
4596
+ var contentRef = useRef(null);
4597
+ // Check if content exceeds maxHeight
4598
+ useEffect(function () {
4599
+ if (maxHeight && contentRef.current) {
4600
+ var scrollHeight = contentRef.current.scrollHeight;
4601
+ setNeedsExpansion(scrollHeight > maxHeight);
4602
+ }
4603
+ }, [children, maxHeight]);
4604
+ var handleToggleExpand = function handleToggleExpand() {
4605
+ setIsExpanded(function (prev) {
4606
+ return !prev;
4607
+ });
4608
+ // Announce state change to screen readers
4609
+ var announcement = isExpanded ? 'Code block collapsed' : 'Code block expanded';
4610
+ var announcer = document.createElement('div');
4611
+ announcer.setAttribute('aria-live', 'polite');
4612
+ announcer.setAttribute('aria-atomic', 'true');
4613
+ announcer.setAttribute('class', 'sr-only');
4614
+ announcer.style.cssText = 'position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;';
4615
+ announcer.textContent = announcement;
4616
+ document.body.appendChild(announcer);
4617
+ setTimeout(function () {
4618
+ document.body.removeChild(announcer);
4619
+ }, 1000);
4620
+ };
4621
+ var showExpandButton = maxHeight && needsExpansion;
4240
4622
  return jsxs(CodeBlockWrapper, {
4241
4623
  children: [jsx(StyledCodeBlock, {
4624
+ ref: contentRef,
4242
4625
  "data-testid": testId,
4626
+ "$maxHeight": maxHeight,
4627
+ "$isExpanded": isExpanded,
4628
+ "$needsExpansion": needsExpansion,
4629
+ "aria-expanded": showExpandButton ? isExpanded : undefined,
4630
+ tabIndex: 0,
4243
4631
  children: children
4632
+ }), showExpandButton && jsx(ExpandButtonWrapper, {
4633
+ "$hasGradient": !isExpanded,
4634
+ children: jsx(Button, {
4635
+ variant: "secondary",
4636
+ size: "small",
4637
+ iconName: isExpanded ? 'caretUp' : 'caretDown',
4638
+ onClick: handleToggleExpand,
4639
+ "aria-expanded": isExpanded,
4640
+ "aria-controls": testId,
4641
+ "data-testid": "expand-button",
4642
+ children: isExpanded ? 'Show less' : 'Show more'
4643
+ })
4244
4644
  }), showCopyButton && jsx(CopyButton, {
4245
4645
  text: children,
4246
4646
  onCopy: onCopy
4247
4647
  })]
4248
4648
  });
4249
4649
  };
4250
- var templateObject_1$h, templateObject_2$f, templateObject_3$e;
4650
+ var templateObject_1$g, templateObject_2$e, templateObject_3$d, templateObject_4$b;
4251
4651
 
4252
4652
  var StyledHeader = styled.div.withConfig({
4253
4653
  displayName: "DateGroup__StyledHeader",
4254
4654
  componentId: "sc-9nfm1f-0"
4255
- })(templateObject_1$g || (templateObject_1$g = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: ", " ", ";\n background-color: ", ";\n border-bottom: 1px solid ", ";\n \n ", "\n"], ["\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: ", " ", ";\n background-color: ", ";\n border-bottom: 1px solid ", ";\n \n ", "\n"])), tokensData.semantic.spacing.layout.md, tokensData.semantic.spacing.layout.sm, tokensData.semantic.color.background["default"], tokensData.semantic.color.border["default"], function (_a) {
4655
+ })(templateObject_1$f || (templateObject_1$f = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: ", " ", ";\n background-color: ", ";\n border-bottom: 1px solid ", ";\n \n ", "\n"], ["\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: ", " ", ";\n background-color: ", ";\n border-bottom: 1px solid ", ";\n \n ", "\n"])), tokensData.semantic.spacing.layout.md, tokensData.semantic.spacing.layout.sm, tokensData.semantic.color.background["default"], tokensData.semantic.color.border["default"], function (_a) {
4256
4656
  var $sticky = _a.$sticky;
4257
4657
  return $sticky && "\n position: sticky;\n top: 0;\n z-index: 10;\n box-shadow: ".concat(tokensData.base.shadow[2], ";\n ");
4258
4658
  });
4259
4659
  var StyledLeftSection = styled.div.withConfig({
4260
4660
  displayName: "DateGroup__StyledLeftSection",
4261
4661
  componentId: "sc-9nfm1f-1"
4262
- })(templateObject_2$e || (templateObject_2$e = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: ", ";\n"], ["\n display: flex;\n align-items: center;\n gap: ", ";\n"])), tokensData.semantic.spacing.layout.sm);
4662
+ })(templateObject_2$d || (templateObject_2$d = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: ", ";\n"], ["\n display: flex;\n align-items: center;\n gap: ", ";\n"])), tokensData.semantic.spacing.layout.sm);
4263
4663
  var StyledRightSection = styled.div.withConfig({
4264
4664
  displayName: "DateGroup__StyledRightSection",
4265
4665
  componentId: "sc-9nfm1f-2"
4266
- })(templateObject_3$d || (templateObject_3$d = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: ", ";\n"], ["\n display: flex;\n align-items: center;\n gap: ", ";\n"])), tokensData.semantic.spacing.layout.md);
4666
+ })(templateObject_3$c || (templateObject_3$c = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: ", ";\n"], ["\n display: flex;\n align-items: center;\n gap: ", ";\n"])), tokensData.semantic.spacing.layout.md);
4267
4667
  var StyledContent = styled.div.withConfig({
4268
4668
  displayName: "DateGroup__StyledContent",
4269
4669
  componentId: "sc-9nfm1f-3"
4270
- })(templateObject_4$b || (templateObject_4$b = __makeTemplateObject(["\n /* Content area for children */\n"], ["\n /* Content area for children */\n"
4670
+ })(templateObject_4$a || (templateObject_4$a = __makeTemplateObject(["\n /* Content area for children */\n"], ["\n /* Content area for children */\n"
4271
4671
  /**
4272
4672
  * DateGroup component
4273
4673
  *
@@ -4339,18 +4739,18 @@ var DateGroup = function DateGroup(_a) {
4339
4739
  })]
4340
4740
  });
4341
4741
  };
4342
- var templateObject_1$g, templateObject_2$e, templateObject_3$d, templateObject_4$b;
4742
+ var templateObject_1$f, templateObject_2$d, templateObject_3$c, templateObject_4$a;
4343
4743
 
4344
- var semantic$9 = tokensData.semantic;
4744
+ var semantic$8 = tokensData.semantic;
4345
4745
  var StyledContainer$1 = styled.div.withConfig({
4346
4746
  shouldForwardProp: function shouldForwardProp(prop) {
4347
4747
  return !prop.startsWith('$');
4348
4748
  },
4349
4749
  displayName: "EmptyState__StyledContainer",
4350
4750
  componentId: "sc-1u5hxh-0"
4351
- })(templateObject_1$f || (templateObject_1$f = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n align-items: center;\n text-align: center;\n max-width: 400px;\n margin: 0 auto;\n padding: ", ";\n"], ["\n display: flex;\n flex-direction: column;\n align-items: center;\n text-align: center;\n max-width: 400px;\n margin: 0 auto;\n padding: ", ";\n"])), function (_a) {
4751
+ })(templateObject_1$e || (templateObject_1$e = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n align-items: center;\n text-align: center;\n max-width: 400px;\n margin: 0 auto;\n padding: ", ";\n"], ["\n display: flex;\n flex-direction: column;\n align-items: center;\n text-align: center;\n max-width: 400px;\n margin: 0 auto;\n padding: ", ";\n"])), function (_a) {
4352
4752
  var $size = _a.$size;
4353
- return $size === 'small' ? semantic$9.spacing.layout['4xl'] : $size === 'large' ? semantic$9.spacing.layout['8xl'] : semantic$9.spacing.layout['6xl'];
4753
+ return $size === 'small' ? semantic$8.spacing.layout['4xl'] : $size === 'large' ? semantic$8.spacing.layout['8xl'] : semantic$8.spacing.layout['6xl'];
4354
4754
  });
4355
4755
  var StyledIllustration = styled.div.withConfig({
4356
4756
  shouldForwardProp: function shouldForwardProp(prop) {
@@ -4358,22 +4758,22 @@ var StyledIllustration = styled.div.withConfig({
4358
4758
  },
4359
4759
  displayName: "EmptyState__StyledIllustration",
4360
4760
  componentId: "sc-1u5hxh-1"
4361
- })(templateObject_2$d || (templateObject_2$d = __makeTemplateObject(["\n width: ", ";\n height: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n margin-bottom: ", ";\n color: ", ";\n"], ["\n width: ", ";\n height: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n margin-bottom: ", ";\n color: ", ";\n"])), function (_a) {
4761
+ })(templateObject_2$c || (templateObject_2$c = __makeTemplateObject(["\n width: ", ";\n height: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n margin-bottom: ", ";\n color: ", ";\n"], ["\n width: ", ";\n height: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n margin-bottom: ", ";\n color: ", ";\n"])), function (_a) {
4362
4762
  var $size = _a.$size;
4363
4763
  return $size === 'small' ? '80px' : $size === 'large' ? '200px' : '120px';
4364
4764
  }, function (_a) {
4365
4765
  var $size = _a.$size;
4366
4766
  return $size === 'small' ? '80px' : $size === 'large' ? '200px' : '120px';
4367
- }, semantic$9.spacing.layout['2xl'], function (_a) {
4767
+ }, semantic$8.spacing.layout['2xl'], function (_a) {
4368
4768
  var $variant = _a.$variant;
4369
- return $variant === 'error' ? semantic$9.color.icon.error : $variant === 'success' ? semantic$9.color.icon.success : semantic$9.color.icon.subdued;
4769
+ return $variant === 'error' ? semantic$8.color.icon.error : $variant === 'success' ? semantic$8.color.icon.success : semantic$8.color.icon.subdued;
4370
4770
  });
4371
4771
  var StyledTextContainer = styled.div.withConfig({
4372
4772
  displayName: "EmptyState__StyledTextContainer",
4373
4773
  componentId: "sc-1u5hxh-2"
4374
- })(templateObject_3$c || (templateObject_3$c = __makeTemplateObject(["\n max-width: 360px;\n margin-bottom: ", ";\n"], ["\n max-width: 360px;\n margin-bottom: ", ";\n"
4774
+ })(templateObject_3$b || (templateObject_3$b = __makeTemplateObject(["\n max-width: 360px;\n margin-bottom: ", ";\n"], ["\n max-width: 360px;\n margin-bottom: ", ";\n"
4375
4775
  // Map illustration type to icon name
4376
- ])), semantic$9.spacing.layout['2xl']);
4776
+ ])), semantic$8.spacing.layout['2xl']);
4377
4777
  // Map illustration type to icon name
4378
4778
  var illustrationToIcon = {
4379
4779
  search: 'search',
@@ -4428,7 +4828,7 @@ var EmptyState = function EmptyState(_a) {
4428
4828
  children: title
4429
4829
  }), jsx("div", {
4430
4830
  style: {
4431
- marginTop: semantic$9.spacing.layout.md
4831
+ marginTop: semantic$8.spacing.layout.md
4432
4832
  },
4433
4833
  children: jsx(Typography, {
4434
4834
  variant: "body",
@@ -4458,7 +4858,7 @@ var EmptyState = function EmptyState(_a) {
4458
4858
  })]
4459
4859
  });
4460
4860
  };
4461
- var templateObject_1$f, templateObject_2$d, templateObject_3$c;
4861
+ var templateObject_1$e, templateObject_2$c, templateObject_3$b;
4462
4862
 
4463
4863
  var _a$1 = tokensData.base,
4464
4864
  spacing$1 = _a$1.spacing,
@@ -4466,23 +4866,23 @@ var _a$1 = tokensData.base,
4466
4866
  var FeatureBlockStyled = styled.div.withConfig({
4467
4867
  displayName: "FeatureBlock__FeatureBlockStyled",
4468
4868
  componentId: "sc-1mi4lso-0"
4469
- })(templateObject_1$e || (templateObject_1$e = __makeTemplateObject(["\n @media (min-width: ", ") {\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n }\n\n @media (min-width: ", ") {\n gap: ", ";\n }\n\n img {\n border-radius: ", ";\n transition: ease opacity 0.2s;\n\n &:hover {\n opacity: 0.8;\n }\n }\n\n a {\n text-decoration: none;\n }\n"], ["\n @media (min-width: ", ") {\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n }\n\n @media (min-width: ", ") {\n gap: ", ";\n }\n\n img {\n border-radius: ", ";\n transition: ease opacity 0.2s;\n\n &:hover {\n opacity: 0.8;\n }\n }\n\n a {\n text-decoration: none;\n }\n"])), tokensData.base.breakpoint.md, tokensData.base.breakpoint.lg, spacing$1[12], border$1.radius[6]);
4869
+ })(templateObject_1$d || (templateObject_1$d = __makeTemplateObject(["\n @media (min-width: ", ") {\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n }\n\n @media (min-width: ", ") {\n gap: ", ";\n }\n\n img {\n border-radius: ", ";\n transition: ease opacity 0.2s;\n\n &:hover {\n opacity: 0.8;\n }\n }\n\n a {\n text-decoration: none;\n }\n"], ["\n @media (min-width: ", ") {\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n }\n\n @media (min-width: ", ") {\n gap: ", ";\n }\n\n img {\n border-radius: ", ";\n transition: ease opacity 0.2s;\n\n &:hover {\n opacity: 0.8;\n }\n }\n\n a {\n text-decoration: none;\n }\n"])), tokensData.base.breakpoint.md, tokensData.base.breakpoint.lg, spacing$1[12], border$1.radius[6]);
4470
4870
  var ImageWrapper = styled.div.withConfig({
4471
4871
  displayName: "FeatureBlock__ImageWrapper",
4472
4872
  componentId: "sc-1mi4lso-1"
4473
- })(templateObject_2$c || (templateObject_2$c = __makeTemplateObject(["\n grid-column: span 12;\n\n @media (min-width: ", ") {\n grid-column: span 6;\n }\n"], ["\n grid-column: span 12;\n\n @media (min-width: ", ") {\n grid-column: span 6;\n }\n"])), tokensData.base.breakpoint.lg);
4873
+ })(templateObject_2$b || (templateObject_2$b = __makeTemplateObject(["\n grid-column: span 12;\n\n @media (min-width: ", ") {\n grid-column: span 6;\n }\n"], ["\n grid-column: span 12;\n\n @media (min-width: ", ") {\n grid-column: span 6;\n }\n"])), tokensData.base.breakpoint.lg);
4474
4874
  var ContentSection = styled.div.withConfig({
4475
4875
  displayName: "FeatureBlock__ContentSection",
4476
4876
  componentId: "sc-1mi4lso-2"
4477
- })(templateObject_3$b || (templateObject_3$b = __makeTemplateObject(["\n grid-column: span 12;\n margin-top: ", ";\n\n @media (min-width: ", ") {\n grid-column: span 6;\n margin-top: 0;\n padding-right: ", ";\n }\n\n @media (min-width: ", ") {\n padding-right: ", ";\n }\n"], ["\n grid-column: span 12;\n margin-top: ", ";\n\n @media (min-width: ", ") {\n grid-column: span 6;\n margin-top: 0;\n padding-right: ", ";\n }\n\n @media (min-width: ", ") {\n padding-right: ", ";\n }\n"])), spacing$1[6], tokensData.base.breakpoint.lg, spacing$1[8], tokensData.base.breakpoint.xl, spacing$1[24]);
4877
+ })(templateObject_3$a || (templateObject_3$a = __makeTemplateObject(["\n grid-column: span 12;\n margin-top: ", ";\n\n @media (min-width: ", ") {\n grid-column: span 6;\n margin-top: 0;\n padding-right: ", ";\n }\n\n @media (min-width: ", ") {\n padding-right: ", ";\n }\n"], ["\n grid-column: span 12;\n margin-top: ", ";\n\n @media (min-width: ", ") {\n grid-column: span 6;\n margin-top: 0;\n padding-right: ", ";\n }\n\n @media (min-width: ", ") {\n padding-right: ", ";\n }\n"])), spacing$1[6], tokensData.base.breakpoint.lg, spacing$1[8], tokensData.base.breakpoint.xl, spacing$1[24]);
4478
4878
  var ButtonWrapper = styled.div.withConfig({
4479
4879
  displayName: "FeatureBlock__ButtonWrapper",
4480
4880
  componentId: "sc-1mi4lso-3"
4481
- })(templateObject_4$a || (templateObject_4$a = __makeTemplateObject(["\n button {\n margin-top: ", ";\n }\n"], ["\n button {\n margin-top: ", ";\n }\n"])), spacing$1[4]);
4881
+ })(templateObject_4$9 || (templateObject_4$9 = __makeTemplateObject(["\n button {\n margin-top: ", ";\n }\n"], ["\n button {\n margin-top: ", ";\n }\n"])), spacing$1[4]);
4482
4882
  var ContentWrapper = styled.div.withConfig({
4483
4883
  displayName: "FeatureBlock__ContentWrapper",
4484
4884
  componentId: "sc-1mi4lso-4"
4485
- })(templateObject_5$9 || (templateObject_5$9 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n height: 100%;\n"], ["\n display: flex;\n flex-direction: column;\n justify-content: center;\n height: 100%;\n"])));
4885
+ })(templateObject_5$8 || (templateObject_5$8 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n height: 100%;\n"], ["\n display: flex;\n flex-direction: column;\n justify-content: center;\n height: 100%;\n"])));
4486
4886
  var FeatureBlock = function FeatureBlock(_a) {
4487
4887
  var title = _a.title,
4488
4888
  excerpt = _a.excerpt,
@@ -4539,7 +4939,7 @@ var FeatureBlock = function FeatureBlock(_a) {
4539
4939
  }), jsx(Divider, {})]
4540
4940
  });
4541
4941
  };
4542
- var templateObject_1$e, templateObject_2$c, templateObject_3$b, templateObject_4$a, templateObject_5$9;
4942
+ var templateObject_1$d, templateObject_2$b, templateObject_3$a, templateObject_4$9, templateObject_5$8;
4543
4943
 
4544
4944
  var _a = tokensData.base,
4545
4945
  spacing = _a.spacing,
@@ -4553,14 +4953,14 @@ var _a = tokensData.base,
4553
4953
  var DropdownContainer = styled.div.withConfig({
4554
4954
  displayName: "Dropdown__DropdownContainer",
4555
4955
  componentId: "sc-kz07c4-0"
4556
- })(templateObject_1$d || (templateObject_1$d = __makeTemplateObject(["\n position: relative;\n width: 100%;\n"], ["\n position: relative;\n width: 100%;\n"])));
4956
+ })(templateObject_1$c || (templateObject_1$c = __makeTemplateObject(["\n position: relative;\n width: 100%;\n"], ["\n position: relative;\n width: 100%;\n"])));
4557
4957
  var DropdownTrigger = styled.button.withConfig({
4558
4958
  shouldForwardProp: function shouldForwardProp(prop) {
4559
4959
  return !prop.startsWith('$');
4560
4960
  },
4561
4961
  displayName: "Dropdown__DropdownTrigger",
4562
4962
  componentId: "sc-kz07c4-1"
4563
- })(templateObject_2$b || (templateObject_2$b = __makeTemplateObject(["\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: ", " ", ";\n background-color: ", ";\n border: ", " solid ", ";\n border-radius: ", ";\n font: ", ";\n color: ", ";\n cursor: pointer;\n transition: border-color 200ms ease-in-out, \n outline 200ms ease-in-out;\n \n &:hover:not(:disabled) {\n border-color: ", ";\n }\n \n &:focus {\n border-color: ", ";\n outline: ", ";\n outline-offset: ", ";\n }\n \n &:disabled {\n background-color: ", ";\n color: ", ";\n border-color: ", ";\n cursor: ", ";\n }\n \n ", "\n"], ["\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: ", " ", ";\n background-color: ", ";\n border: ", " solid ", ";\n border-radius: ", ";\n font: ", ";\n color: ", ";\n cursor: pointer;\n transition: border-color 200ms ease-in-out, \n outline 200ms ease-in-out;\n \n &:hover:not(:disabled) {\n border-color: ", ";\n }\n \n &:focus {\n border-color: ", ";\n outline: ", ";\n outline-offset: ", ";\n }\n \n &:disabled {\n background-color: ", ";\n color: ", ";\n border-color: ", ";\n cursor: ", ";\n }\n \n ", "\n"])), input$1["default"].paddingY, input$1["default"].paddingX, input$1["default"].backgroundColor, input$1["default"].borderWidth, function (_a) {
4963
+ })(templateObject_2$a || (templateObject_2$a = __makeTemplateObject(["\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: ", " ", ";\n background-color: ", ";\n border: ", " solid ", ";\n border-radius: ", ";\n font: ", ";\n color: ", ";\n cursor: pointer;\n transition: border-color 200ms ease-in-out, \n outline 200ms ease-in-out;\n \n &:hover:not(:disabled) {\n border-color: ", ";\n }\n \n &:focus {\n border-color: ", ";\n outline: ", ";\n outline-offset: ", ";\n }\n \n &:disabled {\n background-color: ", ";\n color: ", ";\n border-color: ", ";\n cursor: ", ";\n }\n \n ", "\n"], ["\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: ", " ", ";\n background-color: ", ";\n border: ", " solid ", ";\n border-radius: ", ";\n font: ", ";\n color: ", ";\n cursor: pointer;\n transition: border-color 200ms ease-in-out, \n outline 200ms ease-in-out;\n \n &:hover:not(:disabled) {\n border-color: ", ";\n }\n \n &:focus {\n border-color: ", ";\n outline: ", ";\n outline-offset: ", ";\n }\n \n &:disabled {\n background-color: ", ";\n color: ", ";\n border-color: ", ";\n cursor: ", ";\n }\n \n ", "\n"])), input$1["default"].paddingY, input$1["default"].paddingX, input$1["default"].backgroundColor, input$1["default"].borderWidth, function (_a) {
4564
4964
  var $hasError = _a.$hasError;
4565
4965
  return $hasError ? input$1.error.borderColor : input$1["default"].borderColor;
4566
4966
  }, input$1["default"].borderRadius, input$1["default"].font, input$1["default"].textColor, function (_a) {
@@ -4580,7 +4980,7 @@ var DropdownIcon = styled.div.withConfig({
4580
4980
  },
4581
4981
  displayName: "Dropdown__DropdownIcon",
4582
4982
  componentId: "sc-kz07c4-2"
4583
- })(templateObject_3$a || (templateObject_3$a = __makeTemplateObject(["\n display: flex;\n align-items: center;\n margin-left: ", ";\n transition: transform 0.15s ease;\n \n ", "\n"], ["\n display: flex;\n align-items: center;\n margin-left: ", ";\n transition: transform 0.15s ease;\n \n ", "\n"])), spacing[2], function (_a) {
4983
+ })(templateObject_3$9 || (templateObject_3$9 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n margin-left: ", ";\n transition: transform 0.15s ease;\n \n ", "\n"], ["\n display: flex;\n align-items: center;\n margin-left: ", ";\n transition: transform 0.15s ease;\n \n ", "\n"])), spacing[2], function (_a) {
4584
4984
  var $isOpen = _a.$isOpen;
4585
4985
  return $isOpen && "\n transform: rotate(180deg);\n ";
4586
4986
  });
@@ -4590,7 +4990,7 @@ var DropdownMenu = styled.div.withConfig({
4590
4990
  },
4591
4991
  displayName: "Dropdown__DropdownMenu",
4592
4992
  componentId: "sc-kz07c4-3"
4593
- })(templateObject_4$9 || (templateObject_4$9 = __makeTemplateObject(["\n position: absolute;\n top: 100%;\n left: 0;\n right: 0;\n z-index: ", ";\n background-color: ", ";\n border: ", " solid ", ";\n border-radius: ", ";\n box-shadow: ", ";\n margin-top: ", ";\n overflow: hidden;\n opacity: ", ";\n visibility: ", ";\n transform: ", ";\n transition: all 0.15s ease;\n max-height: 300px;\n overflow-y: auto;\n"], ["\n position: absolute;\n top: 100%;\n left: 0;\n right: 0;\n z-index: ", ";\n background-color: ", ";\n border: ", " solid ", ";\n border-radius: ", ";\n box-shadow: ", ";\n margin-top: ", ";\n overflow: hidden;\n opacity: ", ";\n visibility: ", ";\n transform: ", ";\n transition: all 0.15s ease;\n max-height: 300px;\n overflow-y: auto;\n"])), zIndex[3], input$1["default"].backgroundColor, input$1["default"].borderWidth, input$1["default"].borderColor, input$1["default"].borderRadius, shadow[3], spacing[1], function (_a) {
4993
+ })(templateObject_4$8 || (templateObject_4$8 = __makeTemplateObject(["\n position: absolute;\n top: 100%;\n left: 0;\n right: 0;\n z-index: ", ";\n background-color: ", ";\n border: ", " solid ", ";\n border-radius: ", ";\n box-shadow: ", ";\n margin-top: ", ";\n overflow: hidden;\n opacity: ", ";\n visibility: ", ";\n transform: ", ";\n transition: all 0.15s ease;\n max-height: 300px;\n overflow-y: auto;\n"], ["\n position: absolute;\n top: 100%;\n left: 0;\n right: 0;\n z-index: ", ";\n background-color: ", ";\n border: ", " solid ", ";\n border-radius: ", ";\n box-shadow: ", ";\n margin-top: ", ";\n overflow: hidden;\n opacity: ", ";\n visibility: ", ";\n transform: ", ";\n transition: all 0.15s ease;\n max-height: 300px;\n overflow-y: auto;\n"])), zIndex[3], input$1["default"].backgroundColor, input$1["default"].borderWidth, input$1["default"].borderColor, input$1["default"].borderRadius, shadow[3], spacing[1], function (_a) {
4594
4994
  var $isOpen = _a.$isOpen;
4595
4995
  return $isOpen ? 1 : 0;
4596
4996
  }, function (_a) {
@@ -4606,7 +5006,7 @@ var DropdownOption = styled.button.withConfig({
4606
5006
  },
4607
5007
  displayName: "Dropdown__DropdownOption",
4608
5008
  componentId: "sc-kz07c4-4"
4609
- })(templateObject_5$8 || (templateObject_5$8 = __makeTemplateObject(["\n width: 100%;\n display: block;\n padding: ", " ", ";\n background-color: ", ";\n border: none;\n font: ", ";\n color: ", ";\n text-align: left;\n cursor: pointer;\n transition: background-color 0.15s ease;\n \n &:hover {\n background-color: ", ";\n }\n \n &:focus {\n outline: none;\n background-color: ", ";\n }\n \n &:not(:last-child) {\n border-bottom: ", ";\n }\n"], ["\n width: 100%;\n display: block;\n padding: ", " ", ";\n background-color: ", ";\n border: none;\n font: ", ";\n color: ", ";\n text-align: left;\n cursor: pointer;\n transition: background-color 0.15s ease;\n \n &:hover {\n background-color: ", ";\n }\n \n &:focus {\n outline: none;\n background-color: ", ";\n }\n \n &:not(:last-child) {\n border-bottom: ", ";\n }\n"])), input$1["default"].paddingY, input$1["default"].paddingX, function (_a) {
5009
+ })(templateObject_5$7 || (templateObject_5$7 = __makeTemplateObject(["\n width: 100%;\n display: block;\n padding: ", " ", ";\n background-color: ", ";\n border: none;\n font: ", ";\n color: ", ";\n text-align: left;\n cursor: pointer;\n transition: background-color 0.15s ease;\n \n &:hover {\n background-color: ", ";\n }\n \n &:focus {\n outline: none;\n background-color: ", ";\n }\n \n &:not(:last-child) {\n border-bottom: ", ";\n }\n"], ["\n width: 100%;\n display: block;\n padding: ", " ", ";\n background-color: ", ";\n border: none;\n font: ", ";\n color: ", ";\n text-align: left;\n cursor: pointer;\n transition: background-color 0.15s ease;\n \n &:hover {\n background-color: ", ";\n }\n \n &:focus {\n outline: none;\n background-color: ", ";\n }\n \n &:not(:last-child) {\n border-bottom: ", ";\n }\n"])), input$1["default"].paddingY, input$1["default"].paddingX, function (_a) {
4610
5010
  var $isSelected = _a.$isSelected,
4611
5011
  $isFocused = _a.$isFocused;
4612
5012
  if ($isFocused) return color.background.surface;
@@ -4616,7 +5016,7 @@ var DropdownOption = styled.button.withConfig({
4616
5016
  var StyledHelperText$3 = styled.div.withConfig({
4617
5017
  displayName: "Dropdown__StyledHelperText",
4618
5018
  componentId: "sc-kz07c4-5"
4619
- })(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) {
5019
+ })(templateObject_6$6 || (templateObject_6$6 = __makeTemplateObject(["\n font: ", ";\n color: ", ";\n margin-top: ", ";\n"], ["\n font: ", ";\n color: ", ";\n margin-top: ", ";\n"])), typography.caption, function (_a) {
4620
5020
  var $hasError = _a.$hasError;
4621
5021
  return $hasError ? color.text.error : color.text.subdued;
4622
5022
  }, spacing[2]);
@@ -4793,18 +5193,18 @@ var Dropdown = function Dropdown(_a) {
4793
5193
  })]
4794
5194
  });
4795
5195
  };
4796
- var templateObject_1$d, templateObject_2$b, templateObject_3$a, templateObject_4$9, templateObject_5$8, templateObject_6$7;
5196
+ var templateObject_1$c, templateObject_2$a, templateObject_3$9, templateObject_4$8, templateObject_5$7, templateObject_6$6;
4797
5197
 
4798
- var semantic$8 = tokensData.semantic;
5198
+ var semantic$7 = tokensData.semantic;
4799
5199
  var StyledList = styled.ul.withConfig({
4800
5200
  shouldForwardProp: function shouldForwardProp(prop) {
4801
5201
  return !prop.startsWith('$');
4802
5202
  },
4803
5203
  displayName: "List__StyledList",
4804
5204
  componentId: "sc-1irksg5-0"
4805
- })(templateObject_1$c || (templateObject_1$c = __makeTemplateObject(["\n list-style: none;\n margin: 0;\n padding: 0;\n width: 100%;\n \n /* Divider styles */\n ", "\n"], ["\n list-style: none;\n margin: 0;\n padding: 0;\n width: 100%;\n \n /* Divider styles */\n ", "\n"])), function (_a) {
5205
+ })(templateObject_1$b || (templateObject_1$b = __makeTemplateObject(["\n list-style: none;\n margin: 0;\n padding: 0;\n width: 100%;\n \n /* Divider styles */\n ", "\n"], ["\n list-style: none;\n margin: 0;\n padding: 0;\n width: 100%;\n \n /* Divider styles */\n ", "\n"])), function (_a) {
4806
5206
  var $dividers = _a.$dividers;
4807
- return $dividers && "\n > li:not(:last-child) {\n border-bottom: 1px solid ".concat(semantic$8.color.border["default"], ";\n }\n ");
5207
+ return $dividers && "\n > li:not(:last-child) {\n border-bottom: 1px solid ".concat(semantic$7.color.border["default"], ";\n }\n ");
4808
5208
  });
4809
5209
  var List = function List(_a) {
4810
5210
  var children = _a.children,
@@ -4826,194 +5226,7 @@ var List = function List(_a) {
4826
5226
  }));
4827
5227
  };
4828
5228
  List.displayName = 'List';
4829
- var templateObject_1$c;
4830
-
4831
- var semantic$7 = tokensData.semantic,
4832
- base$7 = tokensData.base;
4833
- var StyledListItem = styled.li.withConfig({
4834
- shouldForwardProp: function shouldForwardProp(prop) {
4835
- return !prop.startsWith('$');
4836
- },
4837
- displayName: "ListItem__StyledListItem",
4838
- componentId: "sc-1wzzt21-0"
4839
- })(templateObject_1$b || (templateObject_1$b = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n min-height: 44px; /* Touch target minimum */\n position: relative;\n \n /* Disable user selection for interactive items */\n ", "\n \n /* Disabled state */\n ", "\n"], ["\n display: flex;\n flex-direction: column;\n min-height: 44px; /* Touch target minimum */\n position: relative;\n \n /* Disable user selection for interactive items */\n ", "\n \n /* Disabled state */\n ", "\n"])), function (_a) {
4840
- var $interactive = _a.$interactive;
4841
- return $interactive && 'user-select: none;';
4842
- }, function (_a) {
4843
- var $disabled = _a.$disabled;
4844
- return $disabled && "\n opacity: ".concat(base$7.opacity[50], ";\n cursor: not-allowed;\n pointer-events: none;\n ");
4845
- });
4846
- var StyledItemContent = styled.div.withConfig({
4847
- shouldForwardProp: function shouldForwardProp(prop) {
4848
- return !prop.startsWith('$');
4849
- },
4850
- displayName: "ListItem__StyledItemContent",
4851
- componentId: "sc-1wzzt21-1"
4852
- })(templateObject_2$a || (templateObject_2$a = __makeTemplateObject(["\n display: flex;\n align-items: flex-start;\n gap: ", ";\n padding: ", ";\n border-radius: ", ";\n background-color: ", ";\n transition: background-color 150ms ease;\n cursor: ", ";\n \n /* Interactive hover states */\n ", "\n \n /* Focus visible */\n &:focus-visible {\n outline: 2px solid ", ";\n outline-offset: 2px;\n }\n"], ["\n display: flex;\n align-items: flex-start;\n gap: ", ";\n padding: ", ";\n border-radius: ", ";\n background-color: ", ";\n transition: background-color 150ms ease;\n cursor: ", ";\n \n /* Interactive hover states */\n ", "\n \n /* Focus visible */\n &:focus-visible {\n outline: 2px solid ", ";\n outline-offset: 2px;\n }\n"])), semantic$7.spacing.layout.md, function (_a) {
4853
- var $spacing = _a.$spacing;
4854
- return $spacing === 'compact' ? "".concat(semantic$7.spacing.layout.sm, " ").concat(semantic$7.spacing.layout.md) : "".concat(semantic$7.spacing.layout.md, " ").concat(semantic$7.spacing.layout.lg);
4855
- }, base$7.border.radius[2], function (_a) {
4856
- var $selected = _a.$selected;
4857
- return $selected ? semantic$7.color.background['interactive-subtle'] : 'transparent';
4858
- }, function (_a) {
4859
- var $interactive = _a.$interactive,
4860
- $disabled = _a.$disabled;
4861
- if ($disabled) return 'not-allowed';
4862
- if ($interactive) return 'pointer';
4863
- return 'default';
4864
- }, function (_a) {
4865
- var $interactive = _a.$interactive,
4866
- $disabled = _a.$disabled,
4867
- $selected = _a.$selected;
4868
- return !$disabled && $interactive && "\n &:hover {\n background-color: ".concat($selected ? tokensData.component.button.variants.secondary.backgroundColor : tokensData.component.button.variants.secondary.backgroundColor, ";\n }\n \n &:active {\n background-color: ").concat(tokensData.component.button.variants.naked.backgroundColor, ";\n }\n ");
4869
- }, semantic$7.color.border.interactive);
4870
- var StyledIconContainer = styled.div.withConfig({
4871
- displayName: "ListItem__StyledIconContainer",
4872
- componentId: "sc-1wzzt21-2"
4873
- })(templateObject_3$9 || (templateObject_3$9 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n flex-shrink: 0;\n width: 24px;\n height: 24px;\n"], ["\n display: flex;\n align-items: center;\n flex-shrink: 0;\n width: 24px;\n height: 24px;\n"])));
4874
- var StyledTextContent = styled.div.withConfig({
4875
- displayName: "ListItem__StyledTextContent",
4876
- componentId: "sc-1wzzt21-3"
4877
- })(templateObject_4$8 || (templateObject_4$8 = __makeTemplateObject(["\n flex: 1;\n display: flex;\n flex-direction: column;\n gap: ", ";\n min-width: 0; /* Allow text truncation */\n"], ["\n flex: 1;\n display: flex;\n flex-direction: column;\n gap: ", ";\n min-width: 0; /* Allow text truncation */\n"])), semantic$7.spacing.layout.xs);
4878
- var StyledRightContent = styled.div.withConfig({
4879
- displayName: "ListItem__StyledRightContent",
4880
- componentId: "sc-1wzzt21-4"
4881
- })(templateObject_5$7 || (templateObject_5$7 = __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$7.spacing.layout.sm);
4882
- var StyledChevronIcon = styled.div.withConfig({
4883
- shouldForwardProp: function shouldForwardProp(prop) {
4884
- return !prop.startsWith('$');
4885
- },
4886
- displayName: "ListItem__StyledChevronIcon",
4887
- componentId: "sc-1wzzt21-5"
4888
- })(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) {
4889
- var $expanded = _a.$expanded;
4890
- return $expanded ? '180deg' : '0deg';
4891
- });
4892
- var StyledExpandedContent = styled.div.withConfig({
4893
- shouldForwardProp: function shouldForwardProp(prop) {
4894
- return !prop.startsWith('$');
4895
- },
4896
- displayName: "ListItem__StyledExpandedContent",
4897
- componentId: "sc-1wzzt21-6"
4898
- })(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) {
4899
- var $expanded = _a.$expanded;
4900
- return $expanded ? '1000px' : '0';
4901
- }, function (_a) {
4902
- var $expanded = _a.$expanded;
4903
- return $expanded ? '1' : '0';
4904
- }, function (_a) {
4905
- var $expanded = _a.$expanded,
4906
- $spacing = _a.$spacing;
4907
- return $expanded && "\n padding: ".concat($spacing === 'compact' ? "".concat(semantic$7.spacing.layout.sm, " ").concat(semantic$7.spacing.layout.md, " ").concat(semantic$7.spacing.layout.sm, " 48px") : "".concat(semantic$7.spacing.layout.sm, " ").concat(semantic$7.spacing.layout.lg, " ").concat(semantic$7.spacing.layout.md, " 60px"), ";\n background-color: ").concat(semantic$7.color.background['subtle'], ";\n border-radius: ").concat(base$7.border.radius[2], ";\n margin: 0 ").concat($spacing === 'compact' ? semantic$7.spacing.layout.md : semantic$7.spacing.layout.lg, " ").concat($spacing === 'compact' ? semantic$7.spacing.layout.sm : semantic$7.spacing.layout.md, ";\n ");
4908
- });
4909
- var ListItem = function ListItem(_a) {
4910
- var primary = _a.primary,
4911
- secondary = _a.secondary,
4912
- badge = _a.badge,
4913
- icon = _a.icon,
4914
- _b = _a.expandable,
4915
- expandable = _b === void 0 ? false : _b,
4916
- _c = _a.expanded,
4917
- expanded = _c === void 0 ? false : _c,
4918
- onToggle = _a.onToggle,
4919
- _d = _a.interactive,
4920
- interactive = _d === void 0 ? false : _d,
4921
- onClick = _a.onClick,
4922
- _e = _a.disabled,
4923
- disabled = _e === void 0 ? false : _e,
4924
- _f = _a.selected,
4925
- selected = _f === void 0 ? false : _f,
4926
- _g = _a.spacing,
4927
- spacing = _g === void 0 ? 'comfortable' : _g,
4928
- children = _a.children,
4929
- className = _a.className,
4930
- dataTestId = _a["data-testid"],
4931
- customRole = _a.role,
4932
- ariaSelected = _a["aria-selected"],
4933
- id = _a.id,
4934
- customTabIndex = _a.tabIndex,
4935
- customOnKeyDown = _a.onKeyDown,
4936
- 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"]);
4937
- var isInteractive = interactive || expandable || customRole === 'option';
4938
- var contentRole = customRole === 'option' ? undefined : isInteractive ? 'button' : undefined;
4939
- var ariaExpanded = expandable ? expanded : undefined;
4940
- var ariaDisabled = disabled ? true : undefined;
4941
- var ariaCurrent = selected ? 'true' : undefined;
4942
- var handleClick = function handleClick() {
4943
- if (disabled) return;
4944
- if (expandable && onToggle) {
4945
- onToggle();
4946
- } else if (onClick) {
4947
- onClick();
4948
- }
4949
- };
4950
- var handleKeyDown = function handleKeyDown(event) {
4951
- if (customOnKeyDown) {
4952
- customOnKeyDown(event);
4953
- return;
4954
- }
4955
- if (disabled) return;
4956
- if (event.key === 'Enter' || event.key === ' ') {
4957
- event.preventDefault();
4958
- handleClick();
4959
- }
4960
- };
4961
- return jsxs(StyledListItem, __assign({
4962
- "$interactive": isInteractive,
4963
- "$disabled": disabled,
4964
- "$selected": selected,
4965
- "$spacing": spacing,
4966
- className: className,
4967
- "data-testid": dataTestId,
4968
- role: customRole || 'listitem',
4969
- id: id,
4970
- "aria-selected": ariaSelected
4971
- }, props, {
4972
- children: [jsxs(StyledItemContent, {
4973
- "$interactive": isInteractive,
4974
- "$disabled": disabled,
4975
- "$selected": selected,
4976
- "$spacing": spacing,
4977
- role: contentRole,
4978
- "aria-expanded": ariaExpanded,
4979
- "aria-disabled": ariaDisabled,
4980
- "aria-current": ariaCurrent,
4981
- tabIndex: customTabIndex !== undefined ? customTabIndex : isInteractive && !disabled ? 0 : undefined,
4982
- onClick: handleClick,
4983
- onKeyDown: handleKeyDown,
4984
- children: [icon && jsx(StyledIconContainer, {
4985
- "aria-hidden": "true",
4986
- children: icon
4987
- }), jsxs(StyledTextContent, {
4988
- children: [jsx(Typography, {
4989
- variant: "body",
4990
- color: "default",
4991
- children: primary
4992
- }), secondary && jsx(Typography, {
4993
- variant: "small",
4994
- color: "subdued",
4995
- children: secondary
4996
- })]
4997
- }), jsxs(StyledRightContent, {
4998
- children: [badge, expandable && jsx(StyledChevronIcon, {
4999
- "$expanded": expanded,
5000
- "aria-hidden": "true",
5001
- children: jsx(Icon, {
5002
- name: "caretDown",
5003
- size: "sm"
5004
- })
5005
- })]
5006
- })]
5007
- }), expandable && children && jsx(StyledExpandedContent, {
5008
- "$spacing": spacing,
5009
- "$expanded": expanded,
5010
- "aria-hidden": !expanded,
5011
- children: children
5012
- })]
5013
- }));
5014
- };
5015
- ListItem.displayName = 'ListItem';
5016
- var templateObject_1$b, templateObject_2$a, templateObject_3$9, templateObject_4$8, templateObject_5$7, templateObject_6$6, templateObject_7$5;
5229
+ var templateObject_1$b;
5017
5230
 
5018
5231
  var input = tokensData.component.input;
5019
5232
  var StyledInputBase = styled.input.withConfig({