@common-origin/design-system 2.6.1 → 2.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
2
- import React, { useState, useRef, useEffect, forwardRef, useId, useCallback, useMemo } from 'react';
2
+ import React, { useState, useRef, useEffect, useId, useCallback, useMemo, forwardRef } from 'react';
3
3
  import styled, { keyframes, css } from 'styled-components';
4
4
  import { parseISO, format, isToday, isYesterday, isThisWeek } from 'date-fns';
5
5
  import { createPortal } from 'react-dom';
@@ -82,6 +82,16 @@ function __generator(thisArg, body) {
82
82
  }
83
83
  }
84
84
 
85
+ function __spreadArray(to, from, pack) {
86
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
87
+ if (ar || !(i in from)) {
88
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
89
+ ar[i] = from[i];
90
+ }
91
+ }
92
+ return to.concat(ar || Array.prototype.slice.call(from));
93
+ }
94
+
85
95
  function __makeTemplateObject(cooked, raw) {
86
96
  if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
87
97
  return cooked;
@@ -91,7 +101,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
91
101
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
92
102
  };
93
103
 
94
- var base$b = {
104
+ var base$c = {
95
105
  border: {
96
106
  radius: {
97
107
  "1": "0.125rem",
@@ -407,7 +417,7 @@ var base$b = {
407
417
  },
408
418
  $ref: "./base/index.json"
409
419
  };
410
- var component$2 = {
420
+ var component$3 = {
411
421
  button: {
412
422
  primary: {
413
423
  backgroundColor: "#212529",
@@ -743,7 +753,7 @@ var component$2 = {
743
753
  },
744
754
  $ref: "./component/index.json"
745
755
  };
746
- var semantic$i = {
756
+ var semantic$j = {
747
757
  elevation: {
748
758
  none: "none",
749
759
  inset: "inset 0 2px 4px 0 rgba(0, 0, 0, 0.06)",
@@ -947,16 +957,16 @@ var semantic$i = {
947
957
  $ref: "./semantic/index.json"
948
958
  };
949
959
  var tokensData = {
950
- base: base$b,
951
- component: component$2,
952
- semantic: semantic$i
960
+ base: base$c,
961
+ component: component$3,
962
+ semantic: semantic$j
953
963
  };
954
964
 
955
965
  // 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;
966
+ var semantic$i = tokensData.semantic;
967
+ var color$a = semantic$i.color,
968
+ size$1 = semantic$i.size,
969
+ border$a = semantic$i.border;
960
970
  var radius$6 = border$a.radius;
961
971
  var AvatarContainer = styled.div.withConfig({
962
972
  shouldForwardProp: function shouldForwardProp(prop) {
@@ -964,7 +974,7 @@ var AvatarContainer = styled.div.withConfig({
964
974
  },
965
975
  displayName: "Avatar__AvatarContainer",
966
976
  componentId: "sc-ezn4ax-0"
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) {
977
+ })(templateObject_1$J || (templateObject_1$J = __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) {
968
978
  var $size = _a.$size;
969
979
  return size$1.avatar[$size];
970
980
  }, function (_a) {
@@ -977,14 +987,14 @@ var AvatarImage = styled.img.withConfig({
977
987
  },
978
988
  displayName: "Avatar__AvatarImage",
979
989
  componentId: "sc-ezn4ax-1"
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);
990
+ })(templateObject_2$u || (templateObject_2$u = __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);
981
991
  var AvatarInitials = styled.span.withConfig({
982
992
  shouldForwardProp: function shouldForwardProp(prop) {
983
993
  return !prop.startsWith('$');
984
994
  },
985
995
  displayName: "Avatar__AvatarInitials",
986
996
  componentId: "sc-ezn4ax-2"
987
- })(templateObject_3$q || (templateObject_3$q = __makeTemplateObject(["\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n color: ", ";\n line-height: 1;\n text-transform: uppercase;\n user-select: none;\n"], ["\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n color: ", ";\n line-height: 1;\n text-transform: uppercase;\n user-select: none;\n"
997
+ })(templateObject_3$r || (templateObject_3$r = __makeTemplateObject(["\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n color: ", ";\n line-height: 1;\n text-transform: uppercase;\n user-select: none;\n"], ["\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n color: ", ";\n line-height: 1;\n text-transform: uppercase;\n user-select: none;\n"
988
998
  // Helper function to get initials from name
989
999
  ])), tokensData.base.fontFamily.body, tokensData.base.fontWeight[3], function (_a) {
990
1000
  var $size = _a.$size;
@@ -1050,11 +1060,11 @@ var Avatar = function Avatar(_a) {
1050
1060
  })
1051
1061
  }));
1052
1062
  };
1053
- var templateObject_1$I, templateObject_2$t, templateObject_3$q;
1063
+ var templateObject_1$J, templateObject_2$u, templateObject_3$r;
1054
1064
 
1055
- var _a$7 = tokensData.semantic,
1056
- typography$5 = _a$7.typography,
1057
- color$9 = _a$7.color;
1065
+ var _a$8 = tokensData.semantic,
1066
+ typography$5 = _a$8.typography,
1067
+ color$9 = _a$8.color;
1058
1068
  var getTypographyStyles = function getTypographyStyles(variant) {
1059
1069
  var styles = {
1060
1070
  display: "font: ".concat(typography$5.display, "; letter-spacing: ").concat(tokensData.base.letterSpacing[0], ";"),
@@ -1117,7 +1127,7 @@ var StyledTypography = styled.span.withConfig({
1117
1127
  },
1118
1128
  displayName: "Typography__StyledTypography",
1119
1129
  componentId: "sc-17mqo4k-0"
1120
- })(templateObject_1$H || (templateObject_1$H = __makeTemplateObject(["\n ", "\n color: ", ";\n margin: 0;\n \n /* Ensure proper line height for readability */\n ", "\n"], ["\n ", "\n color: ", ";\n margin: 0;\n \n /* Ensure proper line height for readability */\n ", "\n"
1130
+ })(templateObject_1$I || (templateObject_1$I = __makeTemplateObject(["\n ", "\n color: ", ";\n margin: 0;\n \n /* Ensure proper line height for readability */\n ", "\n"], ["\n ", "\n color: ", ";\n margin: 0;\n \n /* Ensure proper line height for readability */\n ", "\n"
1121
1131
  /**
1122
1132
  * Typography is an atomic component for rendering text with semantic meaning and consistent styling.
1123
1133
  *
@@ -1185,24 +1195,24 @@ var Typography = function Typography(_a) {
1185
1195
  children: children
1186
1196
  });
1187
1197
  };
1188
- var templateObject_1$H;
1198
+ var templateObject_1$I;
1189
1199
 
1190
- var semantic$g = tokensData.semantic;
1191
- var color$8 = semantic$g.color,
1192
- border$9 = semantic$g.border;
1200
+ var semantic$h = tokensData.semantic;
1201
+ var color$8 = semantic$h.color,
1202
+ border$9 = semantic$h.border;
1193
1203
  var radius$5 = border$9.radius;
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"])));
1204
+ var scaleIn$1 = keyframes(templateObject_1$H || (templateObject_1$H = __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"])));
1195
1205
  var BadgeWrapper = styled.span.withConfig({
1196
1206
  displayName: "Badge__BadgeWrapper",
1197
1207
  componentId: "sc-tjz4pp-0"
1198
- })(templateObject_2$s || (templateObject_2$s = __makeTemplateObject(["\n position: relative;\n display: inline-flex;\n vertical-align: middle;\n flex-shrink: 0;\n"], ["\n position: relative;\n display: inline-flex;\n vertical-align: middle;\n flex-shrink: 0;\n"])));
1208
+ })(templateObject_2$t || (templateObject_2$t = __makeTemplateObject(["\n position: relative;\n display: inline-flex;\n vertical-align: middle;\n flex-shrink: 0;\n"], ["\n position: relative;\n display: inline-flex;\n vertical-align: middle;\n flex-shrink: 0;\n"])));
1199
1209
  var BadgeIndicator = styled.span.withConfig({
1200
1210
  shouldForwardProp: function shouldForwardProp(prop) {
1201
1211
  return !prop.startsWith('$');
1202
1212
  },
1203
1213
  displayName: "Badge__BadgeIndicator",
1204
1214
  componentId: "sc-tjz4pp-1"
1205
- })(templateObject_3$p || (templateObject_3$p = __makeTemplateObject(["\n position: absolute;\n top: 0;\n right: 0;\n transform: translate(50%, -50%);\n display: ", ";\n align-items: center;\n justify-content: center;\n min-width: ", ";\n height: ", ";\n padding: ", ";\n border-radius: ", ";\n line-height: 1;\n white-space: nowrap;\n box-shadow: 0 0 0 2px ", ";\n animation: ", " 0.2s ease-out;\n \n ", "\n"], ["\n position: absolute;\n top: 0;\n right: 0;\n transform: translate(50%, -50%);\n display: ", ";\n align-items: center;\n justify-content: center;\n min-width: ", ";\n height: ", ";\n padding: ", ";\n border-radius: ", ";\n line-height: 1;\n white-space: nowrap;\n box-shadow: 0 0 0 2px ", ";\n animation: ", " 0.2s ease-out;\n \n ", "\n"])), function (props) {
1215
+ })(templateObject_3$q || (templateObject_3$q = __makeTemplateObject(["\n position: absolute;\n top: 0;\n right: 0;\n transform: translate(50%, -50%);\n display: ", ";\n align-items: center;\n justify-content: center;\n min-width: ", ";\n height: ", ";\n padding: ", ";\n border-radius: ", ";\n line-height: 1;\n white-space: nowrap;\n box-shadow: 0 0 0 2px ", ";\n animation: ", " 0.2s ease-out;\n \n ", "\n"], ["\n position: absolute;\n top: 0;\n right: 0;\n transform: translate(50%, -50%);\n display: ", ";\n align-items: center;\n justify-content: center;\n min-width: ", ";\n height: ", ";\n padding: ", ";\n border-radius: ", ";\n line-height: 1;\n white-space: nowrap;\n box-shadow: 0 0 0 2px ", ";\n animation: ", " 0.2s ease-out;\n \n ", "\n"])), function (props) {
1206
1216
  return props.$isVisible ? 'flex' : 'none';
1207
1217
  }, function (props) {
1208
1218
  return props.$isDot ? '8px' : '16px';
@@ -1227,7 +1237,7 @@ var BadgeIndicator = styled.span.withConfig({
1227
1237
  var ScreenReaderOnly$1 = styled.span.withConfig({
1228
1238
  displayName: "Badge__ScreenReaderOnly",
1229
1239
  componentId: "sc-tjz4pp-2"
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"])));
1240
+ })(templateObject_4$l || (templateObject_4$l = __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"])));
1231
1241
  var Badge = function Badge(_a) {
1232
1242
  var children = _a.children,
1233
1243
  _b = _a.count,
@@ -1263,7 +1273,7 @@ var Badge = function Badge(_a) {
1263
1273
  })]
1264
1274
  });
1265
1275
  };
1266
- var templateObject_1$G, templateObject_2$s, templateObject_3$p, templateObject_4$k;
1276
+ var templateObject_1$H, templateObject_2$t, templateObject_3$q, templateObject_4$l;
1267
1277
 
1268
1278
  var StyledBox = styled.div.withConfig({
1269
1279
  shouldForwardProp: function shouldForwardProp(prop) {
@@ -1274,37 +1284,37 @@ var StyledBox = styled.div.withConfig({
1274
1284
  })(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"
1275
1285
  // Transform component that maps clean props to $-prefixed props for styled-components
1276
1286
  ])), function (props) {
1277
- return props.$display && css(templateObject_1$F || (templateObject_1$F = __makeTemplateObject(["display: ", ";"], ["display: ", ";"])), props.$display);
1287
+ return props.$display && css(templateObject_1$G || (templateObject_1$G = __makeTemplateObject(["display: ", ";"], ["display: ", ";"])), props.$display);
1278
1288
  }, function (props) {
1279
- return props.$flexDirection && css(templateObject_2$r || (templateObject_2$r = __makeTemplateObject(["flex-direction: ", ";"], ["flex-direction: ", ";"])), props.$flexDirection);
1289
+ return props.$flexDirection && css(templateObject_2$s || (templateObject_2$s = __makeTemplateObject(["flex-direction: ", ";"], ["flex-direction: ", ";"])), props.$flexDirection);
1280
1290
  }, function (props) {
1281
- return props.$justifyContent && css(templateObject_3$o || (templateObject_3$o = __makeTemplateObject(["justify-content: ", ";"], ["justify-content: ", ";"])), props.$justifyContent);
1291
+ return props.$justifyContent && css(templateObject_3$p || (templateObject_3$p = __makeTemplateObject(["justify-content: ", ";"], ["justify-content: ", ";"])), props.$justifyContent);
1282
1292
  }, function (props) {
1283
- return props.$alignItems && css(templateObject_4$j || (templateObject_4$j = __makeTemplateObject(["align-items: ", ";"], ["align-items: ", ";"])), props.$alignItems);
1293
+ return props.$alignItems && css(templateObject_4$k || (templateObject_4$k = __makeTemplateObject(["align-items: ", ";"], ["align-items: ", ";"])), props.$alignItems);
1284
1294
  }, function (props) {
1285
- return props.$flexWrap && css(templateObject_5$e || (templateObject_5$e = __makeTemplateObject(["flex-wrap: ", ";"], ["flex-wrap: ", ";"])), props.$flexWrap);
1295
+ return props.$flexWrap && css(templateObject_5$f || (templateObject_5$f = __makeTemplateObject(["flex-wrap: ", ";"], ["flex-wrap: ", ";"])), props.$flexWrap);
1286
1296
  }, function (props) {
1287
- return props.$gap && css(templateObject_6$c || (templateObject_6$c = __makeTemplateObject(["gap: ", ";"], ["gap: ", ";"])), tokensData.semantic.spacing.layout[props.$gap]);
1297
+ return props.$gap && css(templateObject_6$d || (templateObject_6$d = __makeTemplateObject(["gap: ", ";"], ["gap: ", ";"])), tokensData.semantic.spacing.layout[props.$gap]);
1288
1298
  }, function (props) {
1289
- return props.$m && css(templateObject_7$9 || (templateObject_7$9 = __makeTemplateObject(["margin: ", ";"], ["margin: ", ";"])), tokensData.semantic.spacing.layout[props.$m]);
1299
+ return props.$m && css(templateObject_7$a || (templateObject_7$a = __makeTemplateObject(["margin: ", ";"], ["margin: ", ";"])), tokensData.semantic.spacing.layout[props.$m]);
1290
1300
  }, function (props) {
1291
- return props.$mt && css(templateObject_8$5 || (templateObject_8$5 = __makeTemplateObject(["margin-top: ", ";"], ["margin-top: ", ";"])), tokensData.semantic.spacing.layout[props.$mt]);
1301
+ return props.$mt && css(templateObject_8$6 || (templateObject_8$6 = __makeTemplateObject(["margin-top: ", ";"], ["margin-top: ", ";"])), tokensData.semantic.spacing.layout[props.$mt]);
1292
1302
  }, function (props) {
1293
- return props.$mr && css(templateObject_9$3 || (templateObject_9$3 = __makeTemplateObject(["margin-right: ", ";"], ["margin-right: ", ";"])), tokensData.semantic.spacing.layout[props.$mr]);
1303
+ return props.$mr && css(templateObject_9$4 || (templateObject_9$4 = __makeTemplateObject(["margin-right: ", ";"], ["margin-right: ", ";"])), tokensData.semantic.spacing.layout[props.$mr]);
1294
1304
  }, function (props) {
1295
- return props.$mb && css(templateObject_10$2 || (templateObject_10$2 = __makeTemplateObject(["margin-bottom: ", ";"], ["margin-bottom: ", ";"])), tokensData.semantic.spacing.layout[props.$mb]);
1305
+ return props.$mb && css(templateObject_10$3 || (templateObject_10$3 = __makeTemplateObject(["margin-bottom: ", ";"], ["margin-bottom: ", ";"])), tokensData.semantic.spacing.layout[props.$mb]);
1296
1306
  }, function (props) {
1297
- return props.$ml && css(templateObject_11$2 || (templateObject_11$2 = __makeTemplateObject(["margin-left: ", ";"], ["margin-left: ", ";"])), tokensData.semantic.spacing.layout[props.$ml]);
1307
+ return props.$ml && css(templateObject_11$3 || (templateObject_11$3 = __makeTemplateObject(["margin-left: ", ";"], ["margin-left: ", ";"])), tokensData.semantic.spacing.layout[props.$ml]);
1298
1308
  }, function (props) {
1299
- return props.$mx && css(templateObject_12$2 || (templateObject_12$2 = __makeTemplateObject(["\n margin-left: ", ";\n margin-right: ", ";\n "], ["\n margin-left: ", ";\n margin-right: ", ";\n "])), tokensData.semantic.spacing.layout[props.$mx], tokensData.semantic.spacing.layout[props.$mx]);
1309
+ return props.$mx && css(templateObject_12$3 || (templateObject_12$3 = __makeTemplateObject(["\n margin-left: ", ";\n margin-right: ", ";\n "], ["\n margin-left: ", ";\n margin-right: ", ";\n "])), tokensData.semantic.spacing.layout[props.$mx], tokensData.semantic.spacing.layout[props.$mx]);
1300
1310
  }, function (props) {
1301
- return props.$my && css(templateObject_13$2 || (templateObject_13$2 = __makeTemplateObject(["\n margin-top: ", ";\n margin-bottom: ", ";\n "], ["\n margin-top: ", ";\n margin-bottom: ", ";\n "])), tokensData.semantic.spacing.layout[props.$my], tokensData.semantic.spacing.layout[props.$my]);
1311
+ return props.$my && css(templateObject_13$3 || (templateObject_13$3 = __makeTemplateObject(["\n margin-top: ", ";\n margin-bottom: ", ";\n "], ["\n margin-top: ", ";\n margin-bottom: ", ";\n "])), tokensData.semantic.spacing.layout[props.$my], tokensData.semantic.spacing.layout[props.$my]);
1302
1312
  }, function (props) {
1303
- return props.$p && css(templateObject_14$1 || (templateObject_14$1 = __makeTemplateObject(["padding: ", ";"], ["padding: ", ";"])), tokensData.semantic.spacing.layout[props.$p]);
1313
+ return props.$p && css(templateObject_14$2 || (templateObject_14$2 = __makeTemplateObject(["padding: ", ";"], ["padding: ", ";"])), tokensData.semantic.spacing.layout[props.$p]);
1304
1314
  }, function (props) {
1305
- return props.$pt && css(templateObject_15$1 || (templateObject_15$1 = __makeTemplateObject(["padding-top: ", ";"], ["padding-top: ", ";"])), tokensData.semantic.spacing.layout[props.$pt]);
1315
+ return props.$pt && css(templateObject_15$2 || (templateObject_15$2 = __makeTemplateObject(["padding-top: ", ";"], ["padding-top: ", ";"])), tokensData.semantic.spacing.layout[props.$pt]);
1306
1316
  }, function (props) {
1307
- return props.$pr && css(templateObject_16$1 || (templateObject_16$1 = __makeTemplateObject(["padding-right: ", ";"], ["padding-right: ", ";"])), tokensData.semantic.spacing.layout[props.$pr]);
1317
+ return props.$pr && css(templateObject_16$2 || (templateObject_16$2 = __makeTemplateObject(["padding-right: ", ";"], ["padding-right: ", ";"])), tokensData.semantic.spacing.layout[props.$pr]);
1308
1318
  }, function (props) {
1309
1319
  return props.$pb && css(templateObject_17$1 || (templateObject_17$1 = __makeTemplateObject(["padding-bottom: ", ";"], ["padding-bottom: ", ";"])), tokensData.semantic.spacing.layout[props.$pb]);
1310
1320
  }, function (props) {
@@ -1498,7 +1508,7 @@ var BoxTransform = function BoxTransform(props) {
1498
1508
  }));
1499
1509
  };
1500
1510
  var Box = BoxTransform;
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;
1511
+ var templateObject_1$G, templateObject_2$s, templateObject_3$p, templateObject_4$k, templateObject_5$f, templateObject_6$d, templateObject_7$a, templateObject_8$6, templateObject_9$4, templateObject_10$3, templateObject_11$3, templateObject_12$3, templateObject_13$3, templateObject_14$2, templateObject_15$2, templateObject_16$2, 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;
1502
1512
 
1503
1513
  var add = {
1504
1514
  path: "M13 11H19V13H13V19H11V13H5V11H11V5H13V11Z",
@@ -1568,6 +1578,10 @@ var directionRight = {
1568
1578
  path: "M20 12L20.7071 11.2929L21.4142 12L20.7071 12.7071L20 12ZM5 13C4.44772 13 4 12.5523 4 12C4 11.4477 4.44772 11 5 11V13ZM14 6L14.7071 5.29289L20.7071 11.2929L20 12L19.2929 12.7071L13.2929 6.70711L14 6ZM20 12L20.7071 12.7071L14.7071 18.7071L14 18L13.2929 17.2929L19.2929 11.2929L20 12ZM20 12V13H5V12V11H20V12Z",
1569
1579
  name: "directionRight"
1570
1580
  };
1581
+ var directionUp = {
1582
+ path: "M6.70703 10.707L11 6.41406L11 19C11 19.5523 11.4477 20 12 20C12.5523 20 13 19.5523 13 19L13 6.41406L17.293 10.707L18.707 9.29297L12 2.58594L5.29297 9.29297L6.70703 10.707Z",
1583
+ name: "directionUp"
1584
+ };
1571
1585
  var edit = {
1572
1586
  path: "M17.5859 9C17.5859 8.6893 17.3985 8.42381 17.0234 8.0293L16.5859 7.58594L16.414 7.41406C15.7475 6.7475 15.4141 6.41406 15 6.41406C14.5858 6.41406 14.2525 6.7475 13.5859 7.41406L6.39156 14.6084L6.16402 14.8418C6.10705 14.9052 6.06663 14.9595 6.03316 15.0186C5.9662 15.1368 5.93192 15.2702 5.86519 15.5371L5.20211 18.1914L5.14449 18.4297C5.09834 18.6377 5.09184 18.7579 5.16695 18.833C5.24206 18.9081 5.36228 18.9016 5.57027 18.8555L5.80855 18.7979L8.46285 18.1348C8.72977 18.068 8.86314 18.0338 8.9814 17.9668C9.04047 17.9333 9.09478 17.8929 9.15816 17.8359L9.39156 17.6084L16.5859 10.4141C17.2106 9.78933 17.5428 9.45735 17.582 9.07715L17.5859 9ZM19.5859 9C19.5859 9.82006 19.2281 10.4288 18.9257 10.8252C18.6586 11.1753 18.2933 11.5348 18 11.8281L10.8056 19.0225C10.686 19.1421 10.3758 19.4764 9.96675 19.708C9.55767 19.9396 9.11125 20.0332 8.94722 20.0742L6.38277 20.7158L6.38082 20.7168L6.2939 20.7383C6.17868 20.7671 5.87067 20.8489 5.58492 20.877C5.2743 20.9073 4.44039 20.9346 3.75289 20.2471C3.06538 19.5596 3.09262 18.7257 3.123 18.415C3.15102 18.1293 3.23287 17.8213 3.26168 17.7061L3.92574 15.0527L4.03707 14.6348C4.09472 14.4516 4.17615 14.2378 4.29195 14.0332L4.38375 13.8848C4.6044 13.5498 4.87279 13.299 4.9775 13.1943L12.1718 6C12.4652 5.70667 12.8246 5.34136 13.1748 5.07422C13.5711 4.77185 14.1799 4.41406 15 4.41406L15.1513 4.41797C15.8954 4.45836 16.4536 4.79076 16.8252 5.07422C17.1753 5.34136 17.5348 5.70667 17.8281 6L18 6.17188L18.4726 6.65137C18.6341 6.82169 18.7921 6.99964 18.9257 7.1748C19.2281 7.57116 19.5859 8.17994 19.5859 9Z M12.5 7.5L15.5 5.5L18.5 8.5L16.5 11.5L12.5 7.5Z",
1573
1587
  name: "edit"
@@ -1616,6 +1630,10 @@ var message = {
1616
1630
  path: "M16 5.00001C16.9145 5.00001 17.7014 4.99777 18.3281 5.08204C18.9835 5.17019 19.6115 5.36934 20.1211 5.87891C20.6307 6.38849 20.8298 7.01648 20.918 7.67188C21.0022 8.29863 21 9.08547 21 10V14C21 14.9145 21.0022 15.7014 20.918 16.3281C20.8298 16.9835 20.6307 17.6115 20.1211 18.1211C19.6115 18.6307 18.9835 18.8298 18.3281 18.918C17.7014 19.0022 16.9145 19 16 19H8.00001C7.08547 19 6.29863 19.0022 5.67188 18.918C5.01648 18.8298 4.38849 18.6307 3.87891 18.1211C3.36934 17.6115 3.17019 16.9835 3.08204 16.3281C2.99777 15.7014 3.00001 14.9145 3.00001 14V10C3.00001 9.08547 2.99777 8.29863 3.08204 7.67188C3.17019 7.01648 3.36933 6.38849 3.87891 5.87891C4.38849 5.36933 5.01648 5.17019 5.67188 5.08204C6.29863 4.99777 7.08547 5.00001 8.00001 5.00001H16ZM13.3418 13.4473C12.4972 13.8696 11.5028 13.8696 10.6582 13.4473L5.00001 10.6182V14C5.00001 14.9711 5.00228 15.599 5.06446 16.0615C5.12277 16.4951 5.21687 16.6309 5.29297 16.707C5.36908 16.7831 5.50495 16.8772 5.93848 16.9356C6.40099 16.9977 7.02893 17 8.00001 17H16C16.9711 17 17.599 16.9977 18.0615 16.9356C18.4951 16.8772 18.6309 16.7831 18.707 16.707C18.7831 16.6309 18.8772 16.4951 18.9356 16.0615C18.9977 15.599 19 14.9711 19 14V10.6182L13.3418 13.4473ZM8.00001 7.00001C7.02893 7.00001 6.40099 7.00228 5.93848 7.06446C5.50494 7.12278 5.36908 7.21687 5.29297 7.29297C5.21686 7.36908 5.12278 7.50494 5.06446 7.93848C5.04619 8.07437 5.03381 8.2246 5.02442 8.39356L11.5527 11.6582C11.8343 11.799 12.1657 11.799 12.4473 11.6582L18.9746 8.39356C18.9652 8.22462 18.9538 8.07436 18.9356 7.93848C18.8772 7.50495 18.7831 7.36908 18.707 7.29297C18.6309 7.21687 18.4951 7.12277 18.0615 7.06446C17.599 7.00228 16.9711 7.00001 16 7.00001H8.00001Z",
1617
1631
  name: "message"
1618
1632
  };
1633
+ var mic = {
1634
+ path: "M12 2C14.2091 2 16 3.79086 16 6V11C16 13.2091 14.2091 15 12 15C9.79086 15 8 13.2091 8 11V6C8 3.79086 9.79086 2 12 2ZM12 4C10.8954 4 10 4.89543 10 6V11C10 12.1046 10.8954 13 12 13C13.1046 13 14 12.1046 14 11V6C14 4.89543 13.1046 4 12 4Z M19 10C19.5523 10 20 10.4477 20 11C20 13.1217 19.1575 15.1569 17.6572 16.6572C16.3938 17.9207 14.7505 18.7145 12.9961 18.9346C12.9975 18.9562 13 18.978 13 19V21C13 21.5523 12.5523 22 12 22C11.4477 22 11 21.5523 11 21V19C11 18.978 11.0015 18.9562 11.0029 18.9346C9.24888 18.7143 7.60602 17.9205 6.34277 16.6572C4.84248 15.1569 4 13.1217 4 11C4 10.4477 4.44772 10 5 10C5.55228 10 6 10.4477 6 11C6 12.5913 6.63259 14.117 7.75781 15.2422C8.88303 16.3674 10.4087 17 12 17C13.5913 17 15.117 16.3674 16.2422 15.2422C17.3674 14.117 18 12.5913 18 11C18 10.4477 18.4477 10 19 10Z",
1635
+ name: "mic"
1636
+ };
1619
1637
  var copy = {
1620
1638
  path: "M16 9.00001C16.9145 9.00001 17.7014 8.99777 18.3281 9.08204C18.9835 9.17019 19.6115 9.36934 20.1211 9.87891C20.6307 10.3885 20.8298 11.0165 20.918 11.6719C21.0022 12.2986 21 13.0855 21 14V16C21 16.9145 21.0022 17.7014 20.918 18.3281C20.8298 18.9835 20.6307 19.6115 20.1211 20.1211C19.6115 20.6307 18.9835 20.8298 18.3281 20.918C17.7014 21.0022 16.9145 21 16 21H14C13.0855 21 12.2986 21.0022 11.6719 20.918C11.0165 20.8298 10.3885 20.6307 9.87891 20.1211C9.36934 19.6115 9.17019 18.9835 9.08204 18.3281C8.99777 17.7014 9.00001 16.9145 9.00001 16V14C9.00001 13.0855 8.99777 12.2986 9.08204 11.6719C9.17019 11.0165 9.36933 10.3885 9.87891 9.87891C10.3885 9.36933 11.0165 9.17019 11.6719 9.08204C12.2986 8.99777 13.0855 9.00001 14 9.00001H16ZM14 11C13.0289 11 12.401 11.0023 11.9385 11.0645C11.5049 11.1228 11.3691 11.2169 11.293 11.293C11.2169 11.3691 11.1228 11.5049 11.0645 11.9385C11.0023 12.401 11 13.0289 11 14V16C11 16.9711 11.0023 17.599 11.0645 18.0615C11.1228 18.4951 11.2169 18.6309 11.293 18.707C11.3691 18.7831 11.5049 18.8772 11.9385 18.9356C12.401 18.9977 13.0289 19 14 19H16C16.9711 19 17.599 18.9977 18.0615 18.9356C18.4951 18.8772 18.6309 18.7831 18.707 18.707C18.7831 18.6309 18.8772 18.4951 18.9356 18.0615C18.9977 17.599 19 16.9711 19 16V14C19 13.0289 18.9977 12.401 18.9356 11.9385C18.8772 11.5049 18.7831 11.3691 18.707 11.293C18.6309 11.2169 18.4951 11.1228 18.0615 11.0645C17.599 11.0023 16.9711 11 16 11H14Z M11 3.00001C11.4521 3.00001 11.8413 2.99962 12.1621 3.02149C12.4919 3.04399 12.8225 3.09352 13.1484 3.22852C13.8832 3.53299 14.467 4.1168 14.7715 4.85157C14.9065 5.17749 14.956 5.50807 14.9785 5.8379C15.0004 6.15869 15 6.54787 15 7.00001H13C13 6.52039 12.9996 6.21062 12.9834 5.97364C12.9678 5.74574 12.9411 5.6588 12.9238 5.61719C12.8223 5.37227 12.6277 5.17767 12.3828 5.07618C12.3412 5.05894 12.2543 5.03216 12.0264 5.01661C11.7894 5.00044 11.4796 5.00001 11 5.00001H8.00001C7.02893 5.00001 6.40099 5.00228 5.93848 5.06446C5.50494 5.12278 5.36908 5.21687 5.29297 5.29297C5.21686 5.36908 5.12278 5.50494 5.06446 5.93848C5.00228 6.40099 5.00001 7.02893 5.00001 8.00001V11C5.00001 11.4796 5.00044 11.7894 5.01661 12.0264C5.03216 12.2543 5.05894 12.3412 5.07618 12.3828C5.17767 12.6277 5.37227 12.8223 5.61719 12.9238C5.6588 12.9411 5.74574 12.9678 5.97364 12.9834C6.21062 12.9996 6.52039 13 7.00001 13V15C6.54787 15 6.15869 15.0004 5.8379 14.9785C5.50807 14.956 5.17749 14.9065 4.85157 14.7715C4.1168 14.467 3.53299 13.8832 3.22852 13.1484C3.09352 12.8225 3.04399 12.4919 3.02149 12.1621C2.99962 11.8413 3.00001 11.4521 3.00001 11V8.00001C3.00001 7.08547 2.99777 6.29863 3.08204 5.67188C3.17019 5.01648 3.36933 4.38849 3.87891 3.87891C4.38849 3.36933 5.01648 3.17019 5.67188 3.08204C6.29863 2.99777 7.08547 3.00001 8.00001 3.00001H11Z",
1621
1639
  name: "copy"
@@ -1686,6 +1704,7 @@ var iconsData = {
1686
1704
  close: close,
1687
1705
  crossCircle: crossCircle,
1688
1706
  directionRight: directionRight,
1707
+ directionUp: directionUp,
1689
1708
  edit: edit,
1690
1709
  "export": {
1691
1710
  path: "M7.70703 10.707L11 7.41406L11 14C11 14.5523 11.4477 15 12 15C12.5523 15 13 14.5523 13 14V7.41406L16.293 10.707L17.707 9.29297L12 3.58594L6.29297 9.29297L7.70703 10.707Z M4 17V16H6V17C6 17.5523 6.44772 18 7 18H17C17.5523 18 18 17.5523 18 17V16H20V17C20 18.6051 18.7394 19.9158 17.1543 19.9961L17 20H7C5.34315 20 4 18.6569 4 17Z",
@@ -1702,6 +1721,7 @@ var iconsData = {
1702
1721
  playBack: playBack,
1703
1722
  lineOut: lineOut,
1704
1723
  message: message,
1724
+ mic: mic,
1705
1725
  copy: copy,
1706
1726
  link: link,
1707
1727
  order: order,
@@ -1723,7 +1743,7 @@ var IconStyled = styled.span.withConfig({
1723
1743
  },
1724
1744
  displayName: "Icon__IconStyled",
1725
1745
  componentId: "sc-1105czq-0"
1726
- })(templateObject_1$E || (templateObject_1$E = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: ", ";\n height: ", ";\n \n svg {\n width: 100%;\n height: 100%;\n display: block;\n }\n \n /* Use semantic icon colors */\n color: ", ";\n"], ["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: ", ";\n height: ", ";\n \n svg {\n width: 100%;\n height: 100%;\n display: block;\n }\n \n /* Use semantic icon colors */\n color: ", ";\n"])), function (_a) {
1746
+ })(templateObject_1$F || (templateObject_1$F = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: ", ";\n height: ", ";\n \n svg {\n width: 100%;\n height: 100%;\n display: block;\n }\n \n /* Use semantic icon colors */\n color: ", ";\n"], ["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: ", ";\n height: ", ";\n \n svg {\n width: 100%;\n height: 100%;\n display: block;\n }\n \n /* Use semantic icon colors */\n color: ", ";\n"])), function (_a) {
1727
1747
  var $size = _a.$size;
1728
1748
  return tokensData.semantic.size.icon[$size];
1729
1749
  }, function (_a) {
@@ -1789,55 +1809,55 @@ var Icon = function Icon(_a) {
1789
1809
  })
1790
1810
  });
1791
1811
  };
1792
- var templateObject_1$E;
1812
+ var templateObject_1$F;
1793
1813
 
1794
- var button = tokensData.component.button,
1795
- semantic$f = tokensData.semantic;
1814
+ var button$1 = tokensData.component.button,
1815
+ semantic$g = tokensData.semantic;
1796
1816
  // Base styles shared between button and link
1797
- var baseButtonStyles = "\n box-sizing: border-box;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: ".concat(tokensData.semantic.spacing.layout.xs, ";\n height: max-content;\n cursor: pointer;\n border: none;\n text-decoration: none;\n transition: ").concat(semantic$f.motion.hover, ";\n white-space: nowrap;\n user-select: none;\n \n &:focus {\n outline: ").concat(button.focus.outline, ";\n outline-offset: ").concat(button.focus.outlineOffset, ";\n }\n\n &:disabled {\n cursor: not-allowed;\n }\n");
1817
+ var baseButtonStyles = "\n box-sizing: border-box;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: ".concat(tokensData.semantic.spacing.layout.xs, ";\n height: max-content;\n cursor: pointer;\n border: none;\n text-decoration: none;\n transition: ").concat(semantic$g.motion.hover, ";\n white-space: nowrap;\n user-select: none;\n \n &:focus {\n outline: ").concat(button$1.focus.outline, ";\n outline-offset: ").concat(button$1.focus.outlineOffset, ";\n }\n\n &:disabled {\n cursor: not-allowed;\n }\n");
1798
1818
  // Dynamic variant styles using component tokens
1799
1819
  var getVariantStyles$1 = function getVariantStyles(_a) {
1800
1820
  var $variant = _a.$variant;
1801
1821
  var variantConfig = {
1802
1822
  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
1823
+ bg: button$1.primary.backgroundColor,
1824
+ text: button$1.primary.textColor,
1825
+ hoverBg: button$1.hover.backgroundColor,
1826
+ activeBg: button$1.active.backgroundColor,
1827
+ disabledBg: button$1.disabled.backgroundColor,
1828
+ disabledText: button$1.disabled.textColor
1809
1829
  },
1810
1830
  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
1831
+ bg: button$1.variants.secondary.backgroundColor,
1832
+ text: button$1.variants.secondary.textColor,
1833
+ hoverBg: button$1.variants.secondary.hover.backgroundColor,
1834
+ activeBg: button$1.variants.secondary.active.backgroundColor,
1835
+ disabledBg: button$1.variants.secondary.disabled.backgroundColor,
1836
+ disabledText: button$1.variants.secondary.disabled.textColor
1817
1837
  },
1818
1838
  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
1839
+ bg: button$1.variants.naked.backgroundColor,
1840
+ text: button$1.variants.naked.textColor,
1841
+ hoverBg: button$1.variants.naked.hover.backgroundColor,
1842
+ activeBg: button$1.variants.naked.active.backgroundColor,
1843
+ disabledBg: button$1.variants.naked.disabled.backgroundColor,
1844
+ disabledText: button$1.variants.naked.disabled.textColor
1825
1845
  },
1826
1846
  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
1847
+ bg: button$1.variants.emphasis.backgroundColor,
1848
+ text: button$1.variants.emphasis.textColor,
1849
+ hoverBg: button$1.variants.emphasis.hover.backgroundColor,
1850
+ activeBg: button$1.variants.emphasis.active.backgroundColor,
1851
+ disabledBg: button$1.variants.emphasis.disabled.backgroundColor,
1852
+ disabledText: button$1.variants.emphasis.disabled.textColor
1833
1853
  },
1834
1854
  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
1855
+ bg: button$1.variants.danger.backgroundColor,
1856
+ text: button$1.variants.danger.textColor,
1857
+ hoverBg: button$1.variants.danger.hover.backgroundColor,
1858
+ activeBg: button$1.variants.danger.active.backgroundColor,
1859
+ disabledBg: button$1.variants.danger.disabled.backgroundColor,
1860
+ disabledText: button$1.variants.danger.disabled.textColor
1841
1861
  }
1842
1862
  };
1843
1863
  var config = variantConfig[$variant];
@@ -1848,13 +1868,13 @@ var getSizeStyles$1 = function getSizeStyles(_a) {
1848
1868
  var $size = _a.$size;
1849
1869
  switch ($size) {
1850
1870
  case 'small':
1851
- return "\n font: ".concat(button.sizes.small.font, ";\n padding: ").concat(button.sizes.small.padding, ";\n ");
1871
+ return "\n font: ".concat(button$1.sizes.small.font, ";\n padding: ").concat(button$1.sizes.small.padding, ";\n ");
1852
1872
  case 'medium':
1853
- return "\n font: ".concat(button.sizes.medium.font, ";\n padding: ").concat(button.sizes.medium.padding, ";\n ");
1873
+ return "\n font: ".concat(button$1.sizes.medium.font, ";\n padding: ").concat(button$1.sizes.medium.padding, ";\n ");
1854
1874
  case 'large':
1855
- return "\n font: ".concat(button.sizes.large.font, ";\n padding: ").concat(button.sizes.large.padding, ";\n ");
1875
+ return "\n font: ".concat(button$1.sizes.large.font, ";\n padding: ").concat(button$1.sizes.large.padding, ";\n ");
1856
1876
  default:
1857
- return "\n font: ".concat(button.sizes.large.font, ";\n padding: ").concat(button.sizes.large.padding, ";\n ");
1877
+ return "\n font: ".concat(button$1.sizes.large.font, ";\n padding: ").concat(button$1.sizes.large.padding, ";\n ");
1858
1878
  }
1859
1879
  };
1860
1880
  var StyledButton = styled.button.withConfig({
@@ -1863,16 +1883,16 @@ var StyledButton = styled.button.withConfig({
1863
1883
  },
1864
1884
  displayName: "Button__StyledButton",
1865
1885
  componentId: "sc-1eiuum9-0"
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);
1886
+ })(templateObject_1$E || (templateObject_1$E = __makeTemplateObject(["\n ", "\n border-radius: ", ";\n \n ", "\n ", "\n"], ["\n ", "\n border-radius: ", ";\n \n ", "\n ", "\n"])), baseButtonStyles, button$1.primary.borderRadius, getVariantStyles$1, getSizeStyles$1);
1867
1887
  var StyledLink = styled.a.withConfig({
1868
1888
  shouldForwardProp: function shouldForwardProp(prop) {
1869
1889
  return !prop.startsWith('$');
1870
1890
  },
1871
1891
  displayName: "Button__StyledLink",
1872
1892
  componentId: "sc-1eiuum9-1"
1873
- })(templateObject_2$q || (templateObject_2$q = __makeTemplateObject(["\n ", "\n border-radius: ", ";\n \n ", "\n ", "\n"], ["\n ", "\n border-radius: ", ";\n \n ", "\n ", "\n"
1893
+ })(templateObject_2$r || (templateObject_2$r = __makeTemplateObject(["\n ", "\n border-radius: ", ";\n \n ", "\n ", "\n"], ["\n ", "\n border-radius: ", ";\n \n ", "\n ", "\n"
1874
1894
  // Helper function to get icon size based on button size
1875
- ])), baseButtonStyles, button.primary.borderRadius, getVariantStyles$1, getSizeStyles$1);
1895
+ ])), baseButtonStyles, button$1.primary.borderRadius, getVariantStyles$1, getSizeStyles$1);
1876
1896
  // Helper function to get icon size based on button size
1877
1897
  var getIconSize = function getIconSize(buttonSize) {
1878
1898
  switch (buttonSize) {
@@ -1971,14 +1991,14 @@ var Button = function Button(_a) {
1971
1991
  children: renderButtonContent(children, iconName, size)
1972
1992
  }));
1973
1993
  };
1974
- var templateObject_1$D, templateObject_2$q;
1994
+ var templateObject_1$E, templateObject_2$r;
1975
1995
 
1976
- var semantic$e = tokensData.semantic,
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;
1996
+ var semantic$f = tokensData.semantic,
1997
+ base$b = tokensData.base;
1998
+ var color$7 = semantic$f.color,
1999
+ typography$4 = semantic$f.typography,
2000
+ border$8 = semantic$f.border,
2001
+ spacing$7 = semantic$f.spacing;
1982
2002
  var category = color$7.category;
1983
2003
  var radius$4 = border$8.radius;
1984
2004
  var layout$3 = spacing$7.layout;
@@ -1988,7 +2008,7 @@ var StyledCategoryBadge = styled.span.withConfig({
1988
2008
  },
1989
2009
  displayName: "CategoryBadge__StyledCategoryBadge",
1990
2010
  componentId: "sc-17aslpn-0"
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"
2011
+ })(templateObject_1$D || (templateObject_1$D = __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"
1992
2012
  /**
1993
2013
  * CategoryBadge component for displaying transaction categories
1994
2014
  *
@@ -2006,7 +2026,7 @@ var StyledCategoryBadge = styled.span.withConfig({
2006
2026
  * Travel
2007
2027
  * </CategoryBadge>
2008
2028
  * ```
2009
- */])), radius$4.circle, base$a.fontWeight[3], base$a.border.width[1], function (_a) {
2029
+ */])), radius$4.circle, base$b.fontWeight[3], base$b.border.width[1], function (_a) {
2010
2030
  var $size = _a.$size;
2011
2031
  return $size === 'small' ? '24px' : '32px';
2012
2032
  }, function (_a) {
@@ -2086,7 +2106,7 @@ var CategoryBadge = function CategoryBadge(_a) {
2086
2106
  });
2087
2107
  };
2088
2108
  CategoryBadge.displayName = 'CategoryBadge';
2089
- var templateObject_1$C;
2109
+ var templateObject_1$D;
2090
2110
 
2091
2111
  var chip = tokensData.component.chip;
2092
2112
  // Helper function to get variant styles matching Button's approach
@@ -2130,7 +2150,7 @@ var StyledChip = styled.span.withConfig({
2130
2150
  },
2131
2151
  displayName: "ChipBase__StyledChip",
2132
2152
  componentId: "sc-moa6zc-0"
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"
2153
+ })(templateObject_1$C || (templateObject_1$C = __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"
2134
2154
  // Icon container for selected indicator or leading icons
2135
2155
  ])), chip["default"].borderRadius, tokensData.semantic.motion.hover, function (props) {
2136
2156
  return props.$disabled ? 'not-allowed' : props.$clickable ? 'pointer' : 'default';
@@ -2139,7 +2159,7 @@ var StyledChip = styled.span.withConfig({
2139
2159
  var IconContainer = styled.span.withConfig({
2140
2160
  displayName: "ChipBase__IconContainer",
2141
2161
  componentId: "sc-moa6zc-1"
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"
2162
+ })(templateObject_2$q || (templateObject_2$q = __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"
2143
2163
  // Close button for dismissible chips
2144
2164
  ])), tokensData.semantic.spacing.layout.xs);
2145
2165
  // Close button for dismissible chips
@@ -2149,10 +2169,10 @@ var CloseButton = styled.button.withConfig({
2149
2169
  },
2150
2170
  displayName: "ChipBase__CloseButton",
2151
2171
  componentId: "sc-moa6zc-2"
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) {
2172
+ })(templateObject_3$o || (templateObject_3$o = __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) {
2153
2173
  return props.$disabled ? 'not-allowed' : 'pointer';
2154
2174
  }, tokensData.semantic.motion.hover, tokensData.semantic.color.text.disabled, chip.focus.outline, chip.focus.outlineOffset, chip["default"].borderRadius);
2155
- var templateObject_1$B, templateObject_2$p, templateObject_3$n;
2175
+ var templateObject_1$C, templateObject_2$q, templateObject_3$o;
2156
2176
 
2157
2177
  /**
2158
2178
  * Chip - Compact element for displaying tags, categories, and labels
@@ -2402,33 +2422,33 @@ var spacing$6 = tokensData.semantic.spacing;
2402
2422
  var StyledContainer$2 = styled.div.withConfig({
2403
2423
  displayName: "Container__StyledContainer",
2404
2424
  componentId: "sc-17dbj6n-0"
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']);
2406
- var Container = function Container(_a) {
2425
+ })(templateObject_1$B || (templateObject_1$B = __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']);
2426
+ var Container$1 = function Container(_a) {
2407
2427
  var children = _a.children,
2408
2428
  props = __rest(_a, ["children"]);
2409
2429
  return jsx(StyledContainer$2, __assign({}, props, {
2410
2430
  children: children
2411
2431
  }));
2412
2432
  };
2413
- var templateObject_1$A;
2433
+ var templateObject_1$B;
2414
2434
 
2415
- var base$9 = tokensData.base;
2435
+ var base$a = tokensData.base;
2416
2436
  var PictureWrapper = styled.div.withConfig({
2417
2437
  displayName: "Picture__PictureWrapper",
2418
2438
  componentId: "sc-11d9tei-0"
2419
- })(templateObject_1$z || (templateObject_1$z = __makeTemplateObject(["\n margin: 0 auto;\n \n ", " {\n margin-left: 0;\n margin-right: 0;\n }\n"], ["\n margin: 0 auto;\n \n ", " {\n margin-left: 0;\n margin-right: 0;\n }\n"])), media$1.sm);
2439
+ })(templateObject_1$A || (templateObject_1$A = __makeTemplateObject(["\n margin: 0 auto;\n \n ", " {\n margin-left: 0;\n margin-right: 0;\n }\n"], ["\n margin: 0 auto;\n \n ", " {\n margin-left: 0;\n margin-right: 0;\n }\n"])), media$1.sm);
2420
2440
  var ImageLink = styled.a.withConfig({
2421
2441
  displayName: "Picture__ImageLink",
2422
2442
  componentId: "sc-11d9tei-1"
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);
2443
+ })(templateObject_2$p || (templateObject_2$p = __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$a.duration.normal, base$a.easing.easeInOut);
2424
2444
  var ImageButton = styled.button.withConfig({
2425
2445
  displayName: "Picture__ImageButton",
2426
2446
  componentId: "sc-11d9tei-2"
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);
2447
+ })(templateObject_3$n || (templateObject_3$n = __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$a.duration.normal, base$a.easing.easeInOut);
2428
2448
  var StyledImage = styled.img.withConfig({
2429
2449
  displayName: "Picture__StyledImage",
2430
2450
  componentId: "sc-11d9tei-3"
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]);
2451
+ })(templateObject_4$j || (templateObject_4$j = __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$a.border.radius[2]);
2432
2452
  var Picture = function Picture(_a) {
2433
2453
  var title = _a.title,
2434
2454
  src = _a.src,
@@ -2458,15 +2478,15 @@ var Picture = function Picture(_a) {
2458
2478
  }) : image
2459
2479
  });
2460
2480
  };
2461
- var templateObject_1$z, templateObject_2$o, templateObject_3$m, templateObject_4$i;
2481
+ var templateObject_1$A, templateObject_2$p, templateObject_3$n, templateObject_4$j;
2462
2482
 
2463
- var _a$6 = tokensData.semantic,
2464
- typography$3 = _a$6.typography,
2465
- color$6 = _a$6.color;
2483
+ var _a$7 = tokensData.semantic,
2484
+ typography$3 = _a$7.typography,
2485
+ color$6 = _a$7.color;
2466
2486
  var TimeStyled = styled.time.withConfig({
2467
2487
  displayName: "DateFormatter__TimeStyled",
2468
2488
  componentId: "sc-5464cc-0"
2469
- })(templateObject_1$y || (templateObject_1$y = __makeTemplateObject(["\n font: ", ";\n color: ", ";\n"], ["\n font: ", ";\n color: ", ";\n"
2489
+ })(templateObject_1$z || (templateObject_1$z = __makeTemplateObject(["\n font: ", ";\n color: ", ";\n"], ["\n font: ", ";\n color: ", ";\n"
2470
2490
  /**
2471
2491
  * Formats a date with smart relative/absolute logic
2472
2492
  */])), typography$3.label, color$6.text.subdued);
@@ -2515,17 +2535,19 @@ var DateFormatter = function DateFormatter(_a) {
2515
2535
  children: displayText
2516
2536
  });
2517
2537
  };
2518
- var templateObject_1$y;
2538
+ var templateObject_1$z;
2519
2539
 
2520
2540
  var motion$2 = tokensData.semantic.motion,
2521
- iconButton = tokensData.component.iconButton;
2541
+ _a$6 = tokensData.component,
2542
+ iconButton = _a$6.iconButton,
2543
+ button = _a$6.button;
2522
2544
  var IconButtonStyled = styled.button.withConfig({
2523
2545
  shouldForwardProp: function shouldForwardProp(prop) {
2524
2546
  return !prop.startsWith('$');
2525
2547
  },
2526
2548
  displayName: "IconButton__IconButtonStyled",
2527
2549
  componentId: "sc-k8b14t-0"
2528
- })(templateObject_1$x || (templateObject_1$x = __makeTemplateObject(["\n background-color: ", ";\n border: none;\n border-radius: ", ";\n transition: ", ";\n box-sizing: border-box;\n display: ", ";\n justify-content: ", ";\n align-items: ", ";\n height: max-content;\n cursor: pointer;\n position: relative;\n\n /* Size-specific dimensions from component tokens */\n min-width: ", ";\n min-height: ", ";\n padding: ", ";\n\n &:hover {\n background-color: ", ";\n }\n\n &:active {\n background-color: ", ";\n }\n\n &:focus {\n outline: ", ";\n outline-offset: ", ";\n }\n\n &:disabled {\n background-color: ", ";\n cursor: not-allowed;\n }\n\n /* High contrast mode support */\n @media (prefers-contrast: high) {\n border: 1px solid;\n }\n\n /* Reduced motion support */\n @media (prefers-reduced-motion: reduce) {\n transition: none;\n }\n"], ["\n background-color: ", ";\n border: none;\n border-radius: ", ";\n transition: ", ";\n box-sizing: border-box;\n display: ", ";\n justify-content: ", ";\n align-items: ", ";\n height: max-content;\n cursor: pointer;\n position: relative;\n\n /* Size-specific dimensions from component tokens */\n min-width: ", ";\n min-height: ", ";\n padding: ", ";\n\n &:hover {\n background-color: ", ";\n }\n\n &:active {\n background-color: ", ";\n }\n\n &:focus {\n outline: ", ";\n outline-offset: ", ";\n }\n\n &:disabled {\n background-color: ", ";\n cursor: not-allowed;\n }\n\n /* High contrast mode support */\n @media (prefers-contrast: high) {\n border: 1px solid;\n }\n\n /* Reduced motion support */\n @media (prefers-reduced-motion: reduce) {\n transition: none;\n }\n"])), function (_a) {
2550
+ })(templateObject_1$y || (templateObject_1$y = __makeTemplateObject(["\n background-color: ", ";\n color: ", ";\n border: none;\n border-radius: ", ";\n transition: ", ";\n box-sizing: border-box;\n display: ", ";\n justify-content: ", ";\n align-items: ", ";\n height: max-content;\n cursor: pointer;\n position: relative;\n\n /* Size-specific dimensions from component tokens */\n min-width: ", ";\n min-height: ", ";\n padding: ", ";\n\n &:hover:not(:disabled) {\n background-color: ", ";\n }\n\n &:active:not(:disabled) {\n background-color: ", ";\n }\n\n &:focus {\n outline: ", ";\n outline-offset: ", ";\n }\n\n &:disabled {\n background-color: ", ";\n color: ", ";\n cursor: not-allowed;\n }\n\n /* High contrast mode support */\n @media (prefers-contrast: high) {\n border: 1px solid;\n }\n\n /* Reduced motion support */\n @media (prefers-reduced-motion: reduce) {\n transition: none;\n }\n"], ["\n background-color: ", ";\n color: ", ";\n border: none;\n border-radius: ", ";\n transition: ", ";\n box-sizing: border-box;\n display: ", ";\n justify-content: ", ";\n align-items: ", ";\n height: max-content;\n cursor: pointer;\n position: relative;\n\n /* Size-specific dimensions from component tokens */\n min-width: ", ";\n min-height: ", ";\n padding: ", ";\n\n &:hover:not(:disabled) {\n background-color: ", ";\n }\n\n &:active:not(:disabled) {\n background-color: ", ";\n }\n\n &:focus {\n outline: ", ";\n outline-offset: ", ";\n }\n\n &:disabled {\n background-color: ", ";\n color: ", ";\n cursor: not-allowed;\n }\n\n /* High contrast mode support */\n @media (prefers-contrast: high) {\n border: 1px solid;\n }\n\n /* Reduced motion support */\n @media (prefers-reduced-motion: reduce) {\n transition: none;\n }\n"])), function (_a) {
2529
2551
  var $variant = _a.$variant;
2530
2552
  switch ($variant) {
2531
2553
  case 'primary':
@@ -2537,6 +2559,18 @@ var IconButtonStyled = styled.button.withConfig({
2537
2559
  default:
2538
2560
  return iconButton.primary.backgroundColor;
2539
2561
  }
2562
+ }, function (_a) {
2563
+ var $variant = _a.$variant;
2564
+ switch ($variant) {
2565
+ case 'primary':
2566
+ return button.primary.textColor;
2567
+ case 'secondary':
2568
+ return button.variants.secondary.textColor;
2569
+ case 'naked':
2570
+ return button.variants.naked.textColor;
2571
+ default:
2572
+ return button.primary.textColor;
2573
+ }
2540
2574
  }, iconButton.primary.borderRadius, motion$2.transition.normal, iconButton.primary.display, iconButton.primary.justifyContent, iconButton.primary.alignItems, function (_a) {
2541
2575
  var $size = _a.$size;
2542
2576
  return iconButton.sizes[$size].minWidth;
@@ -2558,7 +2592,19 @@ var IconButtonStyled = styled.button.withConfig({
2558
2592
  default:
2559
2593
  return iconButton.hover.backgroundColor;
2560
2594
  }
2561
- }, iconButton.active.backgroundColor, iconButton.focus.outline, iconButton.focus.outlineOffset, iconButton.disabled.backgroundColor);
2595
+ }, iconButton.active.backgroundColor, iconButton.focus.outline, iconButton.focus.outlineOffset, iconButton.disabled.backgroundColor, function (_a) {
2596
+ var $variant = _a.$variant;
2597
+ switch ($variant) {
2598
+ case 'primary':
2599
+ return button.disabled.textColor;
2600
+ case 'secondary':
2601
+ return button.variants.secondary.disabled.textColor;
2602
+ case 'naked':
2603
+ return button.variants.naked.disabled.textColor;
2604
+ default:
2605
+ return button.disabled.textColor;
2606
+ }
2607
+ });
2562
2608
  var IconButton = function IconButton(_a) {
2563
2609
  var variant = _a.variant,
2564
2610
  _b = _a.size,
@@ -2577,13 +2623,8 @@ var IconButton = function IconButton(_a) {
2577
2623
  type = _d === void 0 ? 'button' : _d,
2578
2624
  htmlProps = __rest(_a, ["variant", "size", "url", "iconName", "onClick", 'aria-label', 'aria-describedby', 'aria-expanded', 'aria-pressed', 'data-testid', "disabled", "type"]);
2579
2625
  var handleClick = function handleClick(event) {
2580
- // Prevent default if disabled
2581
- if (disabled) {
2582
- event.preventDefault();
2583
- return;
2584
- }
2585
2626
  if (onClick) {
2586
- onClick();
2627
+ onClick(event);
2587
2628
  } else if (url && url.trim() !== '') {
2588
2629
  // Use proper navigation instead of direct href assignment
2589
2630
  if (url.startsWith('http') || url.startsWith('//')) {
@@ -2593,52 +2634,28 @@ var IconButton = function IconButton(_a) {
2593
2634
  }
2594
2635
  }
2595
2636
  };
2596
- var handleKeyDown = function handleKeyDown(event) {
2597
- // Handle keyboard activation (Enter and Space)
2598
- if (disabled) return;
2599
- if (event.key === 'Enter' || event.key === ' ') {
2600
- event.preventDefault();
2601
- handleClick(event);
2602
- }
2603
- };
2604
2637
  var iconSize = size === 'large' ? 'lg' : size === 'small' ? 'sm' : 'md';
2605
- var getIconColor = function getIconColor(variant) {
2606
- switch (variant) {
2607
- case 'primary':
2608
- return 'inverse';
2609
- case 'secondary':
2610
- return 'default';
2611
- case 'naked':
2612
- return 'default';
2613
- default:
2614
- return 'default';
2615
- }
2616
- };
2617
2638
  return jsx(IconButtonStyled, __assign({
2618
2639
  "$variant": variant,
2619
2640
  "$size": size,
2620
2641
  onClick: handleClick,
2621
- onKeyDown: handleKeyDown,
2622
2642
  disabled: disabled,
2623
2643
  type: type,
2624
- role: "button",
2625
2644
  "aria-label": ariaLabel,
2626
2645
  "aria-describedby": ariaDescribedBy,
2627
2646
  "aria-expanded": ariaExpanded,
2628
2647
  "aria-pressed": ariaPressed,
2629
- "aria-disabled": disabled,
2630
- tabIndex: disabled ? -1 : 0,
2631
2648
  "data-testid": dataTestId
2632
2649
  }, htmlProps, {
2633
2650
  children: jsx(Icon, {
2634
2651
  name: iconName,
2635
2652
  size: iconSize,
2636
- iconColor: getIconColor(variant),
2653
+ iconColor: "inherit",
2637
2654
  "aria-hidden": "true" // Hide icon from screen readers since button has aria-label
2638
2655
  })
2639
2656
  }));
2640
2657
  };
2641
- var templateObject_1$x;
2658
+ var templateObject_1$y;
2642
2659
 
2643
2660
  var StyledWrapper = styled.span.withConfig({
2644
2661
  shouldForwardProp: function shouldForwardProp(prop) {
@@ -2646,7 +2663,7 @@ var StyledWrapper = styled.span.withConfig({
2646
2663
  },
2647
2664
  displayName: "MoneyDisplay__StyledWrapper",
2648
2665
  componentId: "sc-1mddej3-0"
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"
2666
+ })(templateObject_1$x || (templateObject_1$x = __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"
2650
2667
  // Map size to Typography variant
2651
2668
  ])), function (_a) {
2652
2669
  var $align = _a.$align;
@@ -2749,17 +2766,17 @@ var MoneyDisplay = function MoneyDisplay(_a) {
2749
2766
  })]
2750
2767
  });
2751
2768
  };
2752
- var templateObject_1$w;
2769
+ var templateObject_1$x;
2753
2770
 
2754
2771
  // Destructure tokens
2755
- var semantic$d = tokensData.semantic;
2756
- var _a$5 = __assign(__assign({}, semantic$d), {
2772
+ var semantic$e = tokensData.semantic;
2773
+ var _a$5 = __assign(__assign({}, semantic$e), {
2757
2774
  component: tokensData.component
2758
2775
  }),
2759
2776
  color$5 = _a$5.color,
2760
2777
  border$7 = _a$5.border,
2761
2778
  motion$1 = _a$5.motion,
2762
- component$1 = _a$5.component;
2779
+ component$2 = _a$5.component;
2763
2780
  var radius$3 = border$7.radius;
2764
2781
  var ProgressBarContainer = styled.div.withConfig({
2765
2782
  shouldForwardProp: function shouldForwardProp(prop) {
@@ -2767,10 +2784,10 @@ var ProgressBarContainer = styled.div.withConfig({
2767
2784
  },
2768
2785
  displayName: "ProgressBar__ProgressBarContainer",
2769
2786
  componentId: "sc-1nco33q-0"
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);
2787
+ })(templateObject_3$m || (templateObject_3$m = __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) {
2788
+ return props.$variant === 'horizontal' && css(templateObject_1$w || (templateObject_1$w = __makeTemplateObject(["\n width: 100%;\n height: ", ";\n "], ["\n width: 100%;\n height: ", ";\n "])), props.$height ? component$2.progressBar.sizes[props.$height].height : component$2.progressBar.sizes.md.height);
2772
2789
  }, function (props) {
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);
2790
+ return props.$variant === 'vertical' && css(templateObject_2$o || (templateObject_2$o = __makeTemplateObject(["\n width: ", ";\n height: 100%;\n "], ["\n width: ", ";\n height: 100%;\n "])), props.$width ? component$2.progressBar.sizes[props.$width].height : component$2.progressBar.sizes.md.height);
2774
2791
  });
2775
2792
  var ProgressBarFill = styled.div.withConfig({
2776
2793
  shouldForwardProp: function shouldForwardProp(prop) {
@@ -2778,7 +2795,7 @@ var ProgressBarFill = styled.div.withConfig({
2778
2795
  },
2779
2796
  displayName: "ProgressBar__ProgressBarFill",
2780
2797
  componentId: "sc-1nco33q-1"
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) {
2798
+ })(templateObject_7$9 || (templateObject_7$9 = __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) {
2782
2799
  var backgroundColor;
2783
2800
  switch (props.$color) {
2784
2801
  case 'success':
@@ -2792,11 +2809,11 @@ var ProgressBarFill = styled.div.withConfig({
2792
2809
  backgroundColor = color$5.background.interactive;
2793
2810
  break;
2794
2811
  }
2795
- return css(templateObject_4$h || (templateObject_4$h = __makeTemplateObject(["background-color: ", ";"], ["background-color: ", ";"])), backgroundColor);
2812
+ return css(templateObject_4$i || (templateObject_4$i = __makeTemplateObject(["background-color: ", ";"], ["background-color: ", ";"])), backgroundColor);
2796
2813
  }, function (props) {
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)));
2814
+ return props.$variant === 'horizontal' && css(templateObject_5$e || (templateObject_5$e = __makeTemplateObject(["\n width: ", "%;\n "], ["\n width: ", "%;\n "])), Math.min(100, Math.max(0, props.$value)));
2798
2815
  }, function (props) {
2799
- return props.$variant === 'vertical' && css(templateObject_6$b || (templateObject_6$b = __makeTemplateObject(["\n width: 100%;\n height: ", "%;\n "], ["\n width: 100%;\n height: ", "%;\n "])), Math.min(100, Math.max(0, props.$value)));
2816
+ return props.$variant === 'vertical' && css(templateObject_6$c || (templateObject_6$c = __makeTemplateObject(["\n width: 100%;\n height: ", "%;\n "], ["\n width: 100%;\n height: ", "%;\n "])), Math.min(100, Math.max(0, props.$value)));
2800
2817
  });
2801
2818
  var ProgressBar = function ProgressBar(_a) {
2802
2819
  var value = _a.value,
@@ -2823,7 +2840,7 @@ var ProgressBar = function ProgressBar(_a) {
2823
2840
  })
2824
2841
  });
2825
2842
  };
2826
- var templateObject_1$v, templateObject_2$n, templateObject_3$l, templateObject_4$h, templateObject_5$d, templateObject_6$b, templateObject_7$8;
2843
+ var templateObject_1$w, templateObject_2$o, templateObject_3$m, templateObject_4$i, templateObject_5$e, templateObject_6$c, templateObject_7$9;
2827
2844
 
2828
2845
  // Destructure tokens for cleaner access
2829
2846
  var separatorTokens = tokensData.component.separator;
@@ -2834,7 +2851,7 @@ var StyledDivider = styled.div.withConfig({
2834
2851
  },
2835
2852
  displayName: "Divider__StyledDivider",
2836
2853
  componentId: "sc-1l0c8ja-0"
2837
- })(templateObject_1$u || (templateObject_1$u = __makeTemplateObject(["\n border: none;\n \n /* Apply orientation */\n ", "\n \n /* Apply variant styles */\n ", "\n \n /* Apply size styles (spacing) */\n ", "\n"], ["\n border: none;\n \n /* Apply orientation */\n ", "\n \n /* Apply variant styles */\n ", "\n \n /* Apply size styles (spacing) */\n ", "\n"
2854
+ })(templateObject_1$v || (templateObject_1$v = __makeTemplateObject(["\n border: none;\n \n /* Apply orientation */\n ", "\n \n /* Apply variant styles */\n ", "\n \n /* Apply size styles (spacing) */\n ", "\n"], ["\n border: none;\n \n /* Apply orientation */\n ", "\n \n /* Apply variant styles */\n ", "\n \n /* Apply size styles (spacing) */\n ", "\n"
2838
2855
  /**
2839
2856
  * Divider is an atomic component that provides visual separation between content sections.
2840
2857
  *
@@ -2947,7 +2964,7 @@ var Divider = function Divider(_a) {
2947
2964
  "aria-orientation": orientation
2948
2965
  });
2949
2966
  };
2950
- var templateObject_1$u;
2967
+ var templateObject_1$v;
2951
2968
 
2952
2969
  var StyledStack = styled.div.withConfig({
2953
2970
  shouldForwardProp: function shouldForwardProp(prop) {
@@ -2955,7 +2972,7 @@ var StyledStack = styled.div.withConfig({
2955
2972
  },
2956
2973
  displayName: "Stack__StyledStack",
2957
2974
  componentId: "sc-1ehkxgy-0"
2958
- })(templateObject_1$t || (templateObject_1$t = __makeTemplateObject(["\n display: flex;\n flex-direction: var(--stack-direction);\n align-items: var(--stack-align-items);\n justify-content: var(--stack-justify-content);\n gap: var(--stack-gap);\n flex-wrap: var(--stack-wrap);\n"], ["\n display: flex;\n flex-direction: var(--stack-direction);\n align-items: var(--stack-align-items);\n justify-content: var(--stack-justify-content);\n gap: var(--stack-gap);\n flex-wrap: var(--stack-wrap);\n"
2975
+ })(templateObject_1$u || (templateObject_1$u = __makeTemplateObject(["\n display: flex;\n flex-direction: var(--stack-direction);\n align-items: var(--stack-align-items);\n justify-content: var(--stack-justify-content);\n gap: var(--stack-gap);\n flex-wrap: var(--stack-wrap);\n"], ["\n display: flex;\n flex-direction: var(--stack-direction);\n align-items: var(--stack-align-items);\n justify-content: var(--stack-justify-content);\n gap: var(--stack-gap);\n flex-wrap: var(--stack-wrap);\n"
2959
2976
  // Helper function to convert gap prop to CSS value
2960
2977
  ])));
2961
2978
  // Helper function to convert gap prop to CSS value
@@ -2994,7 +3011,7 @@ var Stack = function Stack(_a) {
2994
3011
  children: children
2995
3012
  });
2996
3013
  };
2997
- var templateObject_1$t;
3014
+ var templateObject_1$u;
2998
3015
 
2999
3016
  // Destructure tokens for cleaner access
3000
3017
  var statusColors = tokensData.semantic.color.status;
@@ -3002,7 +3019,7 @@ var spacing$5 = tokensData.semantic.spacing.layout;
3002
3019
  var radius$2 = tokensData.semantic.border.radius;
3003
3020
  var transition = tokensData.semantic.motion.transition;
3004
3021
  var typography$2 = tokensData.semantic.typography;
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"])));
3022
+ var scaleIn = keyframes(templateObject_1$t || (templateObject_1$t = __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"])));
3006
3023
  var getStatusConfig = function getStatusConfig(status) {
3007
3024
  var configs = {
3008
3025
  pending: {
@@ -3069,7 +3086,7 @@ var StyledStatusBadge = styled.span.withConfig({
3069
3086
  },
3070
3087
  displayName: "StatusBadge__StyledStatusBadge",
3071
3088
  componentId: "sc-1paksgb-0"
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) {
3089
+ })(templateObject_2$n || (templateObject_2$n = __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
3090
  var $size = _a.$size;
3074
3091
  var size = sizeConfig[$size];
3075
3092
  return "\n height: ".concat(size.height, ";\n padding: ").concat(size.padding, ";\n font: ").concat(size.font, ";\n gap: ").concat(size.gap, ";\n ");
@@ -3081,7 +3098,7 @@ var StyledStatusBadge = styled.span.withConfig({
3081
3098
  var ScreenReaderOnly = styled.span.withConfig({
3082
3099
  displayName: "StatusBadge__ScreenReaderOnly",
3083
3100
  componentId: "sc-1paksgb-1"
3084
- })(templateObject_3$k || (templateObject_3$k = __makeTemplateObject(["\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n"], ["\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n"
3101
+ })(templateObject_3$l || (templateObject_3$l = __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"
3085
3102
  /**
3086
3103
  * StatusBadge component for displaying transaction or task status
3087
3104
  *
@@ -3161,14 +3178,14 @@ var StatusBadge = function StatusBadge(_a) {
3161
3178
  });
3162
3179
  };
3163
3180
  StatusBadge.displayName = 'StatusBadge';
3164
- var templateObject_1$s, templateObject_2$m, templateObject_3$k;
3181
+ var templateObject_1$t, templateObject_2$n, templateObject_3$l;
3165
3182
 
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;
3183
+ var semantic$d = tokensData.semantic;
3184
+ var color$4 = semantic$d.color,
3185
+ spacing$4 = semantic$d.spacing,
3186
+ border$6 = semantic$d.border,
3187
+ typography$1 = semantic$d.typography,
3188
+ size = semantic$d.size;
3172
3189
  var layout$2 = spacing$4.layout;
3173
3190
  var radius$1 = border$6.radius;
3174
3191
  var StyledTag = styled.span.withConfig({
@@ -3177,7 +3194,7 @@ var StyledTag = styled.span.withConfig({
3177
3194
  },
3178
3195
  displayName: "Tag__StyledTag",
3179
3196
  componentId: "sc-lzfmti-0"
3180
- })(templateObject_1$r || (templateObject_1$r = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border-radius: ", ";\n user-select: none;\n white-space: nowrap;\n max-height: ", ";\n \n /* Size - fixed to small */\n padding: ", " ", ";\n font: ", ";\n \n /* Variant styles */\n background-color: ", ";\n \n color: ", ";\n \n border: ", ";\n"], ["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border-radius: ", ";\n user-select: none;\n white-space: nowrap;\n max-height: ", ";\n \n /* Size - fixed to small */\n padding: ", " ", ";\n font: ", ";\n \n /* Variant styles */\n background-color: ", ";\n \n color: ", ";\n \n border: ", ";\n"
3197
+ })(templateObject_1$s || (templateObject_1$s = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border-radius: ", ";\n user-select: none;\n white-space: nowrap;\n max-height: ", ";\n \n /* Size - fixed to small */\n padding: ", " ", ";\n font: ", ";\n \n /* Variant styles */\n background-color: ", ";\n \n color: ", ";\n \n border: ", ";\n"], ["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border-radius: ", ";\n user-select: none;\n white-space: nowrap;\n max-height: ", ";\n \n /* Size - fixed to small */\n padding: ", " ", ";\n font: ", ";\n \n /* Variant styles */\n background-color: ", ";\n \n color: ", ";\n \n border: ", ";\n"
3181
3198
  /**
3182
3199
  * Tag component for categorizing and labeling content
3183
3200
  *
@@ -3260,13 +3277,13 @@ var Tag = function Tag(_a) {
3260
3277
  children: children
3261
3278
  }));
3262
3279
  };
3263
- var templateObject_1$r;
3280
+ var templateObject_1$s;
3264
3281
 
3265
3282
  // 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;
3283
+ var semantic$c = tokensData.semantic;
3284
+ var color$3 = semantic$c.color,
3285
+ spacing$3 = semantic$c.spacing,
3286
+ border$5 = semantic$c.border;
3270
3287
  var layout$1 = spacing$3.layout;
3271
3288
  var background = color$3.background,
3272
3289
  icon = color$3.icon;
@@ -3274,27 +3291,27 @@ var radius = border$5.radius;
3274
3291
  var StyledHeader$2 = styled.div.withConfig({
3275
3292
  displayName: "AccountCard__StyledHeader",
3276
3293
  componentId: "sc-1erp7zn-0"
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);
3294
+ })(templateObject_1$r || (templateObject_1$r = __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);
3278
3295
  var StyledIconWrapper = styled.div.withConfig({
3279
3296
  displayName: "AccountCard__StyledIconWrapper",
3280
3297
  componentId: "sc-1erp7zn-1"
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);
3298
+ })(templateObject_2$m || (templateObject_2$m = __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);
3282
3299
  var StyledBalanceSection = styled.div.withConfig({
3283
3300
  displayName: "AccountCard__StyledBalanceSection",
3284
3301
  componentId: "sc-1erp7zn-2"
3285
- })(templateObject_3$j || (templateObject_3$j = __makeTemplateObject(["\n margin-bottom: ", ";\n"], ["\n margin-bottom: ", ";\n"])), layout$1.lg);
3302
+ })(templateObject_3$k || (templateObject_3$k = __makeTemplateObject(["\n margin-bottom: ", ";\n"], ["\n margin-bottom: ", ";\n"])), layout$1.lg);
3286
3303
  var StyledTrendSection = styled.div.withConfig({
3287
3304
  displayName: "AccountCard__StyledTrendSection",
3288
3305
  componentId: "sc-1erp7zn-3"
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);
3306
+ })(templateObject_4$h || (templateObject_4$h = __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);
3290
3307
  var StyledActions$1 = styled.div.withConfig({
3291
3308
  displayName: "AccountCard__StyledActions",
3292
3309
  componentId: "sc-1erp7zn-4"
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);
3310
+ })(templateObject_5$d || (templateObject_5$d = __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);
3294
3311
  var StyledStackWrapper = styled.div.withConfig({
3295
3312
  displayName: "AccountCard__StyledStackWrapper",
3296
3313
  componentId: "sc-1erp7zn-5"
3297
- })(templateObject_6$a || (templateObject_6$a = __makeTemplateObject(["\n height: 100%;\n min-height: 168px;\n"], ["\n height: 100%;\n min-height: 168px;\n"
3314
+ })(templateObject_6$b || (templateObject_6$b = __makeTemplateObject(["\n height: 100%;\n min-height: 168px;\n"], ["\n height: 100%;\n min-height: 168px;\n"
3298
3315
  // Map account types to icon names (using placeholders)
3299
3316
  ])));
3300
3317
  // Map account types to icon names (using placeholders)
@@ -3454,26 +3471,26 @@ var AccountCard = function AccountCard(_a) {
3454
3471
  })
3455
3472
  });
3456
3473
  };
3457
- var templateObject_1$q, templateObject_2$l, templateObject_3$j, templateObject_4$g, templateObject_5$c, templateObject_6$a;
3474
+ var templateObject_1$r, templateObject_2$m, templateObject_3$k, templateObject_4$h, templateObject_5$d, templateObject_6$b;
3458
3475
 
3459
- var semantic$a = tokensData.semantic,
3460
- base$8 = tokensData.base;
3476
+ var semantic$b = tokensData.semantic,
3477
+ base$9 = tokensData.base;
3461
3478
  var StyledListItem = styled.li.withConfig({
3462
3479
  shouldForwardProp: function shouldForwardProp(prop) {
3463
3480
  return !prop.startsWith('$');
3464
3481
  },
3465
3482
  displayName: "ListItem__StyledListItem",
3466
3483
  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) {
3484
+ })(templateObject_1$q || (templateObject_1$q = __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
3485
  var $interactive = _a.$interactive;
3469
3486
  return $interactive && 'user-select: none;';
3470
3487
  }, function (_a) {
3471
3488
  var $disabled = _a.$disabled;
3472
- return $disabled && "\n opacity: ".concat(base$8.opacity[50], ";\n cursor: not-allowed;\n pointer-events: none;\n ");
3489
+ return $disabled && "\n opacity: ".concat(base$9.opacity[50], ";\n cursor: not-allowed;\n pointer-events: none;\n ");
3473
3490
  }, function (_a) {
3474
3491
  var $destructive = _a.$destructive,
3475
3492
  $disabled = _a.$disabled;
3476
- return $destructive && !$disabled && "\n color: ".concat(semantic$a.color.text.error, ";\n ");
3493
+ return $destructive && !$disabled && "\n color: ".concat(semantic$b.color.text.error, ";\n ");
3477
3494
  });
3478
3495
  var StyledItemContent = styled.div.withConfig({
3479
3496
  shouldForwardProp: function shouldForwardProp(prop) {
@@ -3481,12 +3498,12 @@ var StyledItemContent = styled.div.withConfig({
3481
3498
  },
3482
3499
  displayName: "ListItem__StyledItemContent",
3483
3500
  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) {
3501
+ })(templateObject_2$l || (templateObject_2$l = __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$b.spacing.layout.md, function (_a) {
3485
3502
  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) {
3503
+ return $spacing === 'compact' ? "".concat(semantic$b.spacing.layout.sm, " ").concat(semantic$b.spacing.layout.md) : "".concat(semantic$b.spacing.layout.md, " ").concat(semantic$b.spacing.layout.lg);
3504
+ }, base$9.border.radius[2], function (_a) {
3488
3505
  var $selected = _a.$selected;
3489
- return $selected ? semantic$a.color.background['interactive-subtle'] : 'transparent';
3506
+ return $selected ? semantic$b.color.background['interactive-subtle'] : 'transparent';
3490
3507
  }, function (_a) {
3491
3508
  var $interactive = _a.$interactive,
3492
3509
  $disabled = _a.$disabled;
@@ -3498,26 +3515,26 @@ var StyledItemContent = styled.div.withConfig({
3498
3515
  $disabled = _a.$disabled,
3499
3516
  $selected = _a.$selected;
3500
3517
  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);
3518
+ }, semantic$b.color.border.interactive);
3502
3519
  var StyledIconContainer$1 = styled.div.withConfig({
3503
3520
  displayName: "ListItem__StyledIconContainer",
3504
3521
  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"])));
3522
+ })(templateObject_3$j || (templateObject_3$j = __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
3523
  var StyledTextContent = styled.div.withConfig({
3507
3524
  displayName: "ListItem__StyledTextContent",
3508
3525
  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);
3526
+ })(templateObject_4$g || (templateObject_4$g = __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$b.spacing.layout.xs);
3510
3527
  var StyledRightContent = styled.div.withConfig({
3511
3528
  displayName: "ListItem__StyledRightContent",
3512
3529
  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);
3530
+ })(templateObject_5$c || (templateObject_5$c = __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$b.spacing.layout.sm);
3514
3531
  var StyledChevronIcon = styled.div.withConfig({
3515
3532
  shouldForwardProp: function shouldForwardProp(prop) {
3516
3533
  return !prop.startsWith('$');
3517
3534
  },
3518
3535
  displayName: "ListItem__StyledChevronIcon",
3519
3536
  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) {
3537
+ })(templateObject_6$a || (templateObject_6$a = __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$b.color.icon.subdued, function (_a) {
3521
3538
  var $expanded = _a.$expanded;
3522
3539
  return $expanded ? '180deg' : '0deg';
3523
3540
  });
@@ -3527,7 +3544,7 @@ var StyledExpandedContent = styled.div.withConfig({
3527
3544
  },
3528
3545
  displayName: "ListItem__StyledExpandedContent",
3529
3546
  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) {
3547
+ })(templateObject_7$8 || (templateObject_7$8 = __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
3548
  var $expanded = _a.$expanded;
3532
3549
  return $expanded ? '1000px' : '0';
3533
3550
  }, function (_a) {
@@ -3536,7 +3553,7 @@ var StyledExpandedContent = styled.div.withConfig({
3536
3553
  }, function (_a) {
3537
3554
  var $expanded = _a.$expanded,
3538
3555
  $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 ");
3556
+ return $expanded && "\n padding: ".concat($spacing === 'compact' ? "".concat(semantic$b.spacing.layout.sm, " ").concat(semantic$b.spacing.layout.md, " ").concat(semantic$b.spacing.layout.sm, " 48px") : "".concat(semantic$b.spacing.layout.sm, " ").concat(semantic$b.spacing.layout.lg, " ").concat(semantic$b.spacing.layout.md, " 60px"), ";\n background-color: ").concat(semantic$b.color.background['subtle'], ";\n border-radius: ").concat(base$9.border.radius[2], ";\n margin: 0 ").concat($spacing === 'compact' ? semantic$b.spacing.layout.md : semantic$b.spacing.layout.lg, " ").concat($spacing === 'compact' ? semantic$b.spacing.layout.sm : semantic$b.spacing.layout.md, ";\n ");
3540
3557
  });
3541
3558
  var ListItem = function ListItem(_a) {
3542
3559
  var primary = _a.primary,
@@ -3649,7 +3666,7 @@ var ListItem = function ListItem(_a) {
3649
3666
  }));
3650
3667
  };
3651
3668
  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;
3669
+ var templateObject_1$q, templateObject_2$l, templateObject_3$j, templateObject_4$g, templateObject_5$c, templateObject_6$a, templateObject_7$8;
3653
3670
 
3654
3671
  var _a$4 = tokensData.semantic,
3655
3672
  color$2 = _a$4.color,
@@ -3657,32 +3674,32 @@ var _a$4 = tokensData.semantic,
3657
3674
  layout = _a$4.spacing.layout,
3658
3675
  motion = _a$4.motion,
3659
3676
  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"])));
3677
+ 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"])));
3678
+ 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"])));
3662
3679
  var StyledOverlay$1 = styled.div.withConfig({
3663
3680
  displayName: "ActionSheet__StyledOverlay",
3664
3681
  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);
3682
+ })(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);
3666
3683
  var StyledActionSheet = styled.div.withConfig({
3667
3684
  displayName: "ActionSheet__StyledActionSheet",
3668
3685
  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);
3686
+ })(templateObject_4$f || (templateObject_4$f = __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
3687
  var StyledHeader$1 = styled.div.withConfig({
3671
3688
  displayName: "ActionSheet__StyledHeader",
3672
3689
  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"]);
3690
+ })(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: ", ";\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
3691
  var StyledHeaderContent = styled.div.withConfig({
3675
3692
  displayName: "ActionSheet__StyledHeaderContent",
3676
3693
  componentId: "sc-regbol-3"
3677
- })(templateObject_6$8 || (templateObject_6$8 = __makeTemplateObject(["\n flex: 1;\n"], ["\n flex: 1;\n"])));
3694
+ })(templateObject_6$9 || (templateObject_6$9 = __makeTemplateObject(["\n flex: 1;\n"], ["\n flex: 1;\n"])));
3678
3695
  var StyledCloseButton = styled.button.withConfig({
3679
3696
  displayName: "ActionSheet__StyledCloseButton",
3680
3697
  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);
3698
+ })(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: ", ";\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
3699
  var StyledActionsList = styled.ul.withConfig({
3683
3700
  displayName: "ActionSheet__StyledActionsList",
3684
3701
  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"
3702
+ })(templateObject_8$5 || (templateObject_8$5 = __makeTemplateObject(["\n padding: ", " ", ";\n margin: 0;\n list-style: none;\n"], ["\n padding: ", " ", ";\n margin: 0;\n list-style: none;\n"
3686
3703
  /**
3687
3704
  * ActionSheet component for bottom sheet modals
3688
3705
  *
@@ -3894,7 +3911,807 @@ var ActionSheet = function ActionSheet(_a) {
3894
3911
  })]
3895
3912
  }), document.body);
3896
3913
  };
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;
3914
+ var templateObject_1$p, templateObject_2$k, templateObject_3$i, templateObject_4$f, templateObject_5$b, templateObject_6$9, templateObject_7$7, templateObject_8$5;
3915
+
3916
+ function detectSpeechRecognitionConstructor(targetWindow) {
3917
+ if (!targetWindow) return null;
3918
+ var candidateWindow = targetWindow;
3919
+ if (candidateWindow.SpeechRecognition) {
3920
+ return candidateWindow.SpeechRecognition;
3921
+ }
3922
+ if (candidateWindow.webkitSpeechRecognition) {
3923
+ return candidateWindow.webkitSpeechRecognition;
3924
+ }
3925
+ return null;
3926
+ }
3927
+ function normalizeTranscript(input) {
3928
+ return input.replace(/\s+/g, ' ').trim();
3929
+ }
3930
+ function mapSpeechErrorCode(error) {
3931
+ switch (error) {
3932
+ case 'not-allowed':
3933
+ case 'service-not-allowed':
3934
+ return 'not-allowed';
3935
+ case 'no-speech':
3936
+ return 'no-speech';
3937
+ case 'audio-capture':
3938
+ return 'audio-capture';
3939
+ case 'aborted':
3940
+ return 'aborted';
3941
+ default:
3942
+ return 'unknown';
3943
+ }
3944
+ }
3945
+ function defaultVoiceErrorMessage(code) {
3946
+ switch (code) {
3947
+ case 'not-supported':
3948
+ return 'Voice input is not supported in this browser. Use Chrome or Edge.';
3949
+ case 'not-allowed':
3950
+ return 'Microphone permission denied. Allow access and try again.';
3951
+ case 'no-speech':
3952
+ return 'No speech detected. Try again.';
3953
+ case 'audio-capture':
3954
+ return 'No microphone device detected. Check your microphone and try again.';
3955
+ case 'aborted':
3956
+ return 'Voice input was stopped.';
3957
+ default:
3958
+ return 'Voice input failed. Try again.';
3959
+ }
3960
+ }
3961
+
3962
+ var textDrivenState = function textDrivenState(hasText) {
3963
+ return hasText ? 'typing' : 'idle';
3964
+ };
3965
+ function agentInputStateTransition(currentState, event) {
3966
+ if (currentState === 'disabled') {
3967
+ return 'disabled';
3968
+ }
3969
+ switch (event.type) {
3970
+ case 'INPUT_CHANGE':
3971
+ if (currentState === 'listening' || currentState === 'processingFinalTranscript' || currentState === 'submitting') {
3972
+ return currentState;
3973
+ }
3974
+ return textDrivenState(event.hasText);
3975
+ case 'MIC_START':
3976
+ if (currentState === 'idle' || currentState === 'typing') {
3977
+ return 'listening';
3978
+ }
3979
+ return currentState;
3980
+ case 'VOICE_INTERIM':
3981
+ if (currentState === 'listening') {
3982
+ return 'listening';
3983
+ }
3984
+ return currentState;
3985
+ case 'VOICE_FINAL':
3986
+ if (currentState === 'listening') {
3987
+ return 'processingFinalTranscript';
3988
+ }
3989
+ return currentState;
3990
+ case 'MIC_STOP':
3991
+ if (currentState === 'listening') {
3992
+ return textDrivenState(event.hasText);
3993
+ }
3994
+ return currentState;
3995
+ case 'SUBMIT':
3996
+ return 'submitting';
3997
+ case 'SUBMIT_SUCCESS':
3998
+ return 'idle';
3999
+ case 'SUBMIT_ERROR':
4000
+ return 'error';
4001
+ case 'VOICE_ERROR':
4002
+ case 'TIMEOUT_NO_SPEECH':
4003
+ return 'error';
4004
+ case 'RESET_ERROR':
4005
+ if (currentState === 'error') {
4006
+ return textDrivenState(event.hasText);
4007
+ }
4008
+ return currentState;
4009
+ default:
4010
+ return currentState;
4011
+ }
4012
+ }
4013
+
4014
+ var semantic$a = tokensData.semantic,
4015
+ base$8 = tokensData.base,
4016
+ component$1 = tokensData.component;
4017
+ var DEFAULT_IDLE_HELPER = 'Ask about transactions, spending, or transfers';
4018
+ var DEFAULT_LISTENING_MESSAGE = 'Listening… speak now';
4019
+ var DEFAULT_PROCESSING_MESSAGE = 'Finishing voice input…';
4020
+ var pulseRing = keyframes(templateObject_1$o || (templateObject_1$o = __makeTemplateObject(["\n 0% {\n transform: scale(1);\n opacity: 0.4;\n }\n 70% {\n transform: scale(1.08);\n opacity: 0;\n }\n 100% {\n transform: scale(1.08);\n opacity: 0;\n }\n"], ["\n 0% {\n transform: scale(1);\n opacity: 0.4;\n }\n 70% {\n transform: scale(1.08);\n opacity: 0;\n }\n 100% {\n transform: scale(1.08);\n opacity: 0;\n }\n"])));
4021
+ var Container = styled.div.withConfig({
4022
+ displayName: "AgentInput__Container",
4023
+ componentId: "sc-fhl996-0"
4024
+ })(templateObject_2$j || (templateObject_2$j = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n gap: ", ";\n width: 100%;\n"], ["\n display: flex;\n flex-direction: column;\n gap: ", ";\n width: 100%;\n"])), base$8.spacing[2]);
4025
+ var ControlsRow = styled.div.withConfig({
4026
+ displayName: "AgentInput__ControlsRow",
4027
+ componentId: "sc-fhl996-1"
4028
+ })(templateObject_3$h || (templateObject_3$h = __makeTemplateObject(["\n width: 100%;\n"], ["\n width: 100%;\n"])));
4029
+ var InputShell = styled.div.withConfig({
4030
+ displayName: "AgentInput__InputShell",
4031
+ componentId: "sc-fhl996-2"
4032
+ })(templateObject_4$e || (templateObject_4$e = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: ", ";\n width: 100%;\n padding: ", " ", " ", " ", ";\n background-color: ", ";\n border: ", " solid ", ";\n border-radius: ", ";\n box-shadow: ", ";\n transition: border-color 200ms ease-in-out, outline 200ms ease-in-out;\n\n &:focus-within {\n border-color: ", ";\n outline: ", ";\n outline-offset: ", ";\n }\n\n &[data-disabled='true'] {\n background-color: ", ";\n border-color: ", ";\n }\n"], ["\n display: flex;\n align-items: center;\n gap: ", ";\n width: 100%;\n padding: ", " ", " ", " ", ";\n background-color: ", ";\n border: ", " solid ", ";\n border-radius: ", ";\n box-shadow: ", ";\n transition: border-color 200ms ease-in-out, outline 200ms ease-in-out;\n\n &:focus-within {\n border-color: ", ";\n outline: ", ";\n outline-offset: ", ";\n }\n\n &[data-disabled='true'] {\n background-color: ", ";\n border-color: ", ";\n }\n"])), base$8.spacing[2], semantic$a.spacing.layout.xs, semantic$a.spacing.layout.sm, semantic$a.spacing.layout.xs, component$1.input["default"].paddingX, component$1.input["default"].backgroundColor, component$1.input["default"].borderWidth, component$1.input["default"].borderColor, semantic$a.border.radius['3xl'], semantic$a.elevation.raised, component$1.input.focus.borderColor, component$1.input.focus.outline, component$1.input.focus.outlineOffset, component$1.input.disabled.backgroundColor, component$1.input.disabled.borderColor);
4033
+ var Input = styled.input.withConfig({
4034
+ displayName: "AgentInput__Input",
4035
+ componentId: "sc-fhl996-3"
4036
+ })(templateObject_5$a || (templateObject_5$a = __makeTemplateObject(["\n flex: 1;\n min-width: 0;\n min-height: ", ";\n border: none;\n background: transparent;\n font: ", ";\n color: ", ";\n outline: none;\n\n &::placeholder {\n color: ", ";\n }\n\n &:disabled {\n color: ", ";\n cursor: not-allowed;\n }\n"], ["\n flex: 1;\n min-width: 0;\n min-height: ", ";\n border: none;\n background: transparent;\n font: ", ";\n color: ", ";\n outline: none;\n\n &::placeholder {\n color: ", ";\n }\n\n &:disabled {\n color: ", ";\n cursor: not-allowed;\n }\n"])), base$8.spacing[12], semantic$a.typography.body, semantic$a.color.text["default"], semantic$a.color.text.subdued, semantic$a.color.text.disabled);
4037
+ var InputActions = styled.div.withConfig({
4038
+ displayName: "AgentInput__InputActions",
4039
+ componentId: "sc-fhl996-4"
4040
+ })(templateObject_6$8 || (templateObject_6$8 = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n gap: ", ";\n"], ["\n display: inline-flex;\n align-items: center;\n gap: ", ";\n"])), semantic$a.spacing.layout.xs);
4041
+ var CircularActionIconButton = styled(IconButton).withConfig({
4042
+ displayName: "AgentInput__CircularActionIconButton",
4043
+ componentId: "sc-fhl996-5"
4044
+ })(templateObject_7$6 || (templateObject_7$6 = __makeTemplateObject(["\n border-radius: ", ";\n"], ["\n border-radius: ", ";\n"])), semantic$a.border.radius.circle);
4045
+ var InputWrapper = styled.div.withConfig({
4046
+ displayName: "AgentInput__InputWrapper",
4047
+ componentId: "sc-fhl996-6"
4048
+ })(templateObject_8$4 || (templateObject_8$4 = __makeTemplateObject(["\n flex: 1;\n min-width: 0;\n"], ["\n flex: 1;\n min-width: 0;\n"])));
4049
+ var MicButtonWrapper = styled.div.withConfig({
4050
+ shouldForwardProp: function shouldForwardProp(prop) {
4051
+ return !prop.startsWith('$');
4052
+ },
4053
+ displayName: "AgentInput__MicButtonWrapper",
4054
+ componentId: "sc-fhl996-7"
4055
+ })(templateObject_10$2 || (templateObject_10$2 = __makeTemplateObject(["\n position: relative;\n display: inline-flex;\n\n ", "\n\n @media (prefers-reduced-motion: reduce) {\n &::before {\n animation: none;\n }\n }\n"], ["\n position: relative;\n display: inline-flex;\n\n ", "\n\n @media (prefers-reduced-motion: reduce) {\n &::before {\n animation: none;\n }\n }\n"])), function (_a) {
4056
+ var $isListening = _a.$isListening,
4057
+ $reducedMotion = _a.$reducedMotion;
4058
+ return $isListening && !$reducedMotion && css(templateObject_9$3 || (templateObject_9$3 = __makeTemplateObject(["\n &::before {\n content: '';\n position: absolute;\n inset: -", ";\n border: ", " solid ", ";\n border-radius: ", ";\n animation: ", " 1400ms ease-out infinite;\n pointer-events: none;\n }\n "], ["\n &::before {\n content: '';\n position: absolute;\n inset: -", ";\n border: ", " solid ", ";\n border-radius: ", ";\n animation: ", " 1400ms ease-out infinite;\n pointer-events: none;\n }\n "])), base$8.spacing[1], base$8.border.width[1], semantic$a.color.border.interactive, base$8.border.radius[4], pulseRing);
4059
+ });
4060
+ var StatusRow = styled.div.withConfig({
4061
+ displayName: "AgentInput__StatusRow",
4062
+ componentId: "sc-fhl996-8"
4063
+ })(templateObject_11$2 || (templateObject_11$2 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: ", ";\n min-height: ", ";\n"], ["\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: ", ";\n min-height: ", ";\n"])), base$8.spacing[3], base$8.spacing[6]);
4064
+ var StatusText = styled.div.withConfig({
4065
+ shouldForwardProp: function shouldForwardProp(prop) {
4066
+ return !prop.startsWith('$');
4067
+ },
4068
+ displayName: "AgentInput__StatusText",
4069
+ componentId: "sc-fhl996-9"
4070
+ })(templateObject_12$2 || (templateObject_12$2 = __makeTemplateObject(["\npadding-left: ", ";\n color: ", ";\n"], ["\npadding-left: ", ";\n color: ", ";\n"])), semantic$a.spacing.layout.xl, function (_a) {
4071
+ var $isError = _a.$isError;
4072
+ return $isError ? semantic$a.color.text.error : semantic$a.color.text.subdued;
4073
+ });
4074
+ var StatusAnnouncement = styled.div.withConfig({
4075
+ displayName: "AgentInput__StatusAnnouncement",
4076
+ componentId: "sc-fhl996-10"
4077
+ })(templateObject_13$2 || (templateObject_13$2 = __makeTemplateObject([""], [""])));
4078
+ var MeterContainer = styled.div.withConfig({
4079
+ displayName: "AgentInput__MeterContainer",
4080
+ componentId: "sc-fhl996-11"
4081
+ })(templateObject_14$1 || (templateObject_14$1 = __makeTemplateObject(["\n display: inline-flex;\n align-items: flex-end;\n gap: ", ";\n height: ", ";\n"], ["\n display: inline-flex;\n align-items: flex-end;\n gap: ", ";\n height: ", ";\n"])), base$8.spacing[1], base$8.spacing[4]);
4082
+ var MeterBar = styled.div.withConfig({
4083
+ shouldForwardProp: function shouldForwardProp(prop) {
4084
+ return !prop.startsWith('$');
4085
+ },
4086
+ displayName: "AgentInput__MeterBar",
4087
+ componentId: "sc-fhl996-12"
4088
+ })(templateObject_15$1 || (templateObject_15$1 = __makeTemplateObject(["\n width: ", ";\n border-radius: ", ";\n background-color: ", ";\n height: ", ";\n transition: height 120ms linear;\n"], ["\n width: ", ";\n border-radius: ", ";\n background-color: ", ";\n height: ", ";\n transition: height 120ms linear;\n"])), base$8.spacing[1], base$8.border.radius[1], semantic$a.color.background.interactive, function (_a) {
4089
+ var $height = _a.$height;
4090
+ return "".concat($height * 100, "%");
4091
+ });
4092
+ var VisuallyHiddenLabel = styled.label.withConfig({
4093
+ displayName: "AgentInput__VisuallyHiddenLabel",
4094
+ componentId: "sc-fhl996-13"
4095
+ })(templateObject_16$1 || (templateObject_16$1 = __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: 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: 0;\n"])));
4096
+ function getInitialState(hasText) {
4097
+ return hasText ? 'typing' : 'idle';
4098
+ }
4099
+ function createMeterBars(level) {
4100
+ var clampedLevel = Math.max(0, Math.min(level, 1));
4101
+ return [0.25 + clampedLevel * 0.75, 0.2 + clampedLevel * 0.6, 0.3 + clampedLevel * 0.7, 0.2 + clampedLevel * 0.5];
4102
+ }
4103
+ var AgentInput = function AgentInput(_a) {
4104
+ var value = _a.value,
4105
+ _b = _a.defaultValue,
4106
+ defaultValue = _b === void 0 ? '' : _b,
4107
+ onChange = _a.onChange,
4108
+ onSubmit = _a.onSubmit,
4109
+ _c = _a.placeholder,
4110
+ placeholder = _c === void 0 ? 'Ask a question' : _c,
4111
+ _d = _a.disabled,
4112
+ disabled = _d === void 0 ? false : _d,
4113
+ isSubmitting = _a.isSubmitting,
4114
+ _e = _a.enableVoice,
4115
+ enableVoice = _e === void 0 ? true : _e,
4116
+ _f = _a.autoSubmitOnVoiceFinal,
4117
+ autoSubmitOnVoiceFinal = _f === void 0 ? true : _f,
4118
+ _g = _a.voiceLanguage,
4119
+ voiceLanguage = _g === void 0 ? 'en-AU' : _g,
4120
+ _h = _a.noSpeechTimeoutMs,
4121
+ noSpeechTimeoutMs = _h === void 0 ? 8000 : _h,
4122
+ onVoiceStart = _a.onVoiceStart,
4123
+ onVoiceStop = _a.onVoiceStop,
4124
+ onVoiceInterim = _a.onVoiceInterim,
4125
+ onVoiceFinal = _a.onVoiceFinal,
4126
+ onVoiceError = _a.onVoiceError,
4127
+ statusMessage = _a.statusMessage,
4128
+ errorMessage = _a.errorMessage,
4129
+ _j = _a.label,
4130
+ label = _j === void 0 ? 'Agent input' : _j,
4131
+ dataTestId = _a["data-testid"];
4132
+ var isControlled = value !== undefined;
4133
+ var _k = useState(defaultValue),
4134
+ internalValue = _k[0],
4135
+ setInternalValue = _k[1];
4136
+ var _l = useState(getInitialState(normalizeTranscript(value !== null && value !== void 0 ? value : defaultValue).length > 0)),
4137
+ machineState = _l[0],
4138
+ setMachineState = _l[1];
4139
+ var _m = useState(''),
4140
+ interimTranscript = _m[0],
4141
+ setInterimTranscript = _m[1];
4142
+ var _o = useState(false),
4143
+ internalSubmitting = _o[0],
4144
+ setInternalSubmitting = _o[1];
4145
+ var _p = useState(undefined),
4146
+ internalErrorMessage = _p[0],
4147
+ setInternalErrorMessage = _p[1];
4148
+ var _q = useState(false),
4149
+ voiceSupported = _q[0],
4150
+ setVoiceSupported = _q[1];
4151
+ var _r = useState(false),
4152
+ prefersReducedMotion = _r[0],
4153
+ setPrefersReducedMotion = _r[1];
4154
+ var _s = useState(0),
4155
+ meterLevel = _s[0],
4156
+ setMeterLevel = _s[1];
4157
+ var recognitionRef = useRef(null);
4158
+ var noSpeechTimeoutRef = useRef(null);
4159
+ var isStoppingRef = useRef(false);
4160
+ var hasSubmittedVoiceFinalRef = useRef(false);
4161
+ var audioStreamRef = useRef(null);
4162
+ var audioContextRef = useRef(null);
4163
+ var meterRafRef = useRef(null);
4164
+ var inputId = useId();
4165
+ var statusId = "".concat(inputId, "-status");
4166
+ var currentValue = isControlled ? value !== null && value !== void 0 ? value : '' : internalValue;
4167
+ var hasText = normalizeTranscript(currentValue).length > 0;
4168
+ var effectiveSubmitting = isSubmitting !== null && isSubmitting !== void 0 ? isSubmitting : internalSubmitting;
4169
+ var effectiveState = disabled ? 'disabled' : machineState;
4170
+ var isListening = effectiveState === 'listening';
4171
+ var hasVoice = enableVoice && voiceSupported;
4172
+ var updateMachineState = useCallback(function (event) {
4173
+ setMachineState(function (previousState) {
4174
+ return agentInputStateTransition(previousState, event);
4175
+ });
4176
+ }, []);
4177
+ var updateValue = useCallback(function (nextValue) {
4178
+ if (!isControlled) {
4179
+ setInternalValue(nextValue);
4180
+ }
4181
+ onChange === null || onChange === void 0 ? void 0 : onChange(nextValue);
4182
+ }, [isControlled, onChange]);
4183
+ var clearNoSpeechTimeout = useCallback(function () {
4184
+ if (noSpeechTimeoutRef.current) {
4185
+ window.clearTimeout(noSpeechTimeoutRef.current);
4186
+ noSpeechTimeoutRef.current = null;
4187
+ }
4188
+ }, []);
4189
+ var stopMeter = useCallback(function () {
4190
+ return __awaiter(void 0, void 0, void 0, function () {
4191
+ return __generator(this, function (_a) {
4192
+ switch (_a.label) {
4193
+ case 0:
4194
+ if (meterRafRef.current) {
4195
+ window.cancelAnimationFrame(meterRafRef.current);
4196
+ meterRafRef.current = null;
4197
+ }
4198
+ if (audioStreamRef.current) {
4199
+ audioStreamRef.current.getTracks().forEach(function (track) {
4200
+ return track.stop();
4201
+ });
4202
+ audioStreamRef.current = null;
4203
+ }
4204
+ if (!audioContextRef.current) return [3 /*break*/, 2];
4205
+ return [4 /*yield*/, audioContextRef.current.close()];
4206
+ case 1:
4207
+ _a.sent();
4208
+ audioContextRef.current = null;
4209
+ _a.label = 2;
4210
+ case 2:
4211
+ setMeterLevel(0);
4212
+ return [2 /*return*/];
4213
+ }
4214
+ });
4215
+ });
4216
+ }, []);
4217
+ var startMeter = useCallback(function () {
4218
+ return __awaiter(void 0, void 0, void 0, function () {
4219
+ var stream, audioContext, analyser_1, source, data_1, _loop_;
4220
+ var _b;
4221
+ return __generator(this, function (_c) {
4222
+ switch (_c.label) {
4223
+ case 0:
4224
+ if (prefersReducedMotion || !((_b = navigator === null || navigator === void 0 ? void 0 : navigator.mediaDevices) === null || _b === void 0 ? void 0 : _b.getUserMedia)) {
4225
+ return [2 /*return*/];
4226
+ }
4227
+ _c.label = 1;
4228
+ case 1:
4229
+ _c.trys.push([1, 3,, 4]);
4230
+ return [4 /*yield*/, navigator.mediaDevices.getUserMedia({
4231
+ audio: true
4232
+ })];
4233
+ case 2:
4234
+ stream = _c.sent();
4235
+ audioContext = new AudioContext();
4236
+ analyser_1 = audioContext.createAnalyser();
4237
+ analyser_1.fftSize = 256;
4238
+ source = audioContext.createMediaStreamSource(stream);
4239
+ source.connect(analyser_1);
4240
+ data_1 = new Uint8Array(analyser_1.frequencyBinCount);
4241
+ audioStreamRef.current = stream;
4242
+ audioContextRef.current = audioContext;
4243
+ _loop_ = function loop_1() {
4244
+ analyser_1.getByteTimeDomainData(data_1);
4245
+ var sum = 0;
4246
+ for (var index = 0; index < data_1.length; index += 1) {
4247
+ var centered = data_1[index] / 128 - 1;
4248
+ sum += centered * centered;
4249
+ }
4250
+ var rms = Math.sqrt(sum / data_1.length);
4251
+ var nextLevel = Math.max(0.05, Math.min(rms * 3, 1));
4252
+ setMeterLevel(nextLevel);
4253
+ meterRafRef.current = window.requestAnimationFrame(_loop_);
4254
+ };
4255
+ meterRafRef.current = window.requestAnimationFrame(_loop_);
4256
+ return [3 /*break*/, 4];
4257
+ case 3:
4258
+ _c.sent();
4259
+ setMeterLevel(0);
4260
+ return [3 /*break*/, 4];
4261
+ case 4:
4262
+ return [2 /*return*/];
4263
+ }
4264
+ });
4265
+ });
4266
+ }, [prefersReducedMotion]);
4267
+ var emitVoiceError = useCallback(function (code, fallback) {
4268
+ var message = fallback !== null && fallback !== void 0 ? fallback : defaultVoiceErrorMessage(code);
4269
+ setInternalErrorMessage(message);
4270
+ updateMachineState({
4271
+ type: 'VOICE_ERROR'
4272
+ });
4273
+ onVoiceError === null || onVoiceError === void 0 ? void 0 : onVoiceError({
4274
+ code: code,
4275
+ message: message
4276
+ });
4277
+ }, [onVoiceError, updateMachineState]);
4278
+ var submitPayload = useCallback(function (rawText, source) {
4279
+ return __awaiter(void 0, void 0, void 0, function () {
4280
+ var text;
4281
+ return __generator(this, function (_b) {
4282
+ switch (_b.label) {
4283
+ case 0:
4284
+ text = normalizeTranscript(rawText);
4285
+ if (!text || disabled || effectiveSubmitting) {
4286
+ return [2 /*return*/];
4287
+ }
4288
+ updateMachineState({
4289
+ type: 'SUBMIT'
4290
+ });
4291
+ setInternalErrorMessage(undefined);
4292
+ if (isSubmitting === undefined) {
4293
+ setInternalSubmitting(true);
4294
+ }
4295
+ _b.label = 1;
4296
+ case 1:
4297
+ _b.trys.push([1, 3, 4, 5]);
4298
+ return [4 /*yield*/, onSubmit({
4299
+ text: text,
4300
+ source: source,
4301
+ timestamp: new Date().toISOString()
4302
+ })];
4303
+ case 2:
4304
+ _b.sent();
4305
+ updateMachineState({
4306
+ type: 'SUBMIT_SUCCESS'
4307
+ });
4308
+ setInterimTranscript('');
4309
+ updateValue('');
4310
+ return [3 /*break*/, 5];
4311
+ case 3:
4312
+ _b.sent();
4313
+ updateMachineState({
4314
+ type: 'SUBMIT_ERROR'
4315
+ });
4316
+ if (source === 'voice-final') {
4317
+ updateValue(text);
4318
+ }
4319
+ setInternalErrorMessage('Submission failed. Please try again.');
4320
+ return [3 /*break*/, 5];
4321
+ case 4:
4322
+ if (isSubmitting === undefined) {
4323
+ setInternalSubmitting(false);
4324
+ }
4325
+ return [7 /*endfinally*/];
4326
+ case 5:
4327
+ return [2 /*return*/];
4328
+ }
4329
+ });
4330
+ });
4331
+ }, [disabled, effectiveSubmitting, isSubmitting, onSubmit, updateMachineState, updateValue]);
4332
+ var stopListening = useCallback(function (emitStopEvent_1) {
4333
+ var args_1 = [];
4334
+ for (var _i = 1; _i < arguments.length; _i++) {
4335
+ args_1[_i - 1] = arguments[_i];
4336
+ }
4337
+ return __awaiter(void 0, __spreadArray([emitStopEvent_1], args_1, true), void 0, function (emitStopEvent, preserveState) {
4338
+ if (preserveState === void 0) {
4339
+ preserveState = false;
4340
+ }
4341
+ return __generator(this, function (_a) {
4342
+ switch (_a.label) {
4343
+ case 0:
4344
+ isStoppingRef.current = true;
4345
+ clearNoSpeechTimeout();
4346
+ setInterimTranscript('');
4347
+ if (recognitionRef.current) {
4348
+ try {
4349
+ recognitionRef.current.stop();
4350
+ } catch (_b) {
4351
+ // no-op
4352
+ }
4353
+ }
4354
+ return [4 /*yield*/, stopMeter()];
4355
+ case 1:
4356
+ _a.sent();
4357
+ if (emitStopEvent) {
4358
+ onVoiceStop === null || onVoiceStop === void 0 ? void 0 : onVoiceStop();
4359
+ }
4360
+ if (!preserveState) {
4361
+ updateMachineState({
4362
+ type: 'MIC_STOP',
4363
+ hasText: hasText
4364
+ });
4365
+ }
4366
+ isStoppingRef.current = false;
4367
+ return [2 /*return*/];
4368
+ }
4369
+ });
4370
+ });
4371
+ }, [clearNoSpeechTimeout, hasText, onVoiceStop, stopMeter, updateMachineState]);
4372
+ var onNoSpeechTimeout = useCallback(function () {
4373
+ return __awaiter(void 0, void 0, void 0, function () {
4374
+ var message;
4375
+ return __generator(this, function (_a) {
4376
+ switch (_a.label) {
4377
+ case 0:
4378
+ clearNoSpeechTimeout();
4379
+ updateMachineState({
4380
+ type: 'TIMEOUT_NO_SPEECH'
4381
+ });
4382
+ message = defaultVoiceErrorMessage('no-speech');
4383
+ setInternalErrorMessage(message);
4384
+ onVoiceError === null || onVoiceError === void 0 ? void 0 : onVoiceError({
4385
+ code: 'no-speech',
4386
+ message: message
4387
+ });
4388
+ return [4 /*yield*/, stopListening(true, true)];
4389
+ case 1:
4390
+ _a.sent();
4391
+ return [2 /*return*/];
4392
+ }
4393
+ });
4394
+ });
4395
+ }, [clearNoSpeechTimeout, onVoiceError, stopListening, updateMachineState]);
4396
+ var beginListening = useCallback(function () {
4397
+ return __awaiter(void 0, void 0, void 0, function () {
4398
+ return __generator(this, function (_b) {
4399
+ switch (_b.label) {
4400
+ case 0:
4401
+ if (!recognitionRef.current || disabled || effectiveSubmitting) {
4402
+ return [2 /*return*/];
4403
+ }
4404
+ setInternalErrorMessage(undefined);
4405
+ hasSubmittedVoiceFinalRef.current = false;
4406
+ _b.label = 1;
4407
+ case 1:
4408
+ _b.trys.push([1, 3,, 4]);
4409
+ recognitionRef.current.start();
4410
+ updateMachineState({
4411
+ type: 'MIC_START'
4412
+ });
4413
+ onVoiceStart === null || onVoiceStart === void 0 ? void 0 : onVoiceStart();
4414
+ clearNoSpeechTimeout();
4415
+ noSpeechTimeoutRef.current = window.setTimeout(onNoSpeechTimeout, noSpeechTimeoutMs);
4416
+ return [4 /*yield*/, startMeter()];
4417
+ case 2:
4418
+ _b.sent();
4419
+ return [3 /*break*/, 4];
4420
+ case 3:
4421
+ _b.sent();
4422
+ emitVoiceError('unknown');
4423
+ return [3 /*break*/, 4];
4424
+ case 4:
4425
+ return [2 /*return*/];
4426
+ }
4427
+ });
4428
+ });
4429
+ }, [clearNoSpeechTimeout, disabled, effectiveSubmitting, emitVoiceError, noSpeechTimeoutMs, onNoSpeechTimeout, onVoiceStart, startMeter, updateMachineState]);
4430
+ useEffect(function () {
4431
+ var constructor = detectSpeechRecognitionConstructor(window);
4432
+ setVoiceSupported(Boolean(constructor));
4433
+ if (!enableVoice || !constructor) {
4434
+ return;
4435
+ }
4436
+ var recognition = new constructor();
4437
+ recognition.lang = voiceLanguage;
4438
+ recognition.interimResults = true;
4439
+ recognition.continuous = false;
4440
+ recognition.onresult = function (event) {
4441
+ return __awaiter(void 0, void 0, void 0, function () {
4442
+ var interim, finalText, index, result, normalizedInterim, normalizedFinal;
4443
+ return __generator(this, function (_a) {
4444
+ switch (_a.label) {
4445
+ case 0:
4446
+ clearNoSpeechTimeout();
4447
+ noSpeechTimeoutRef.current = window.setTimeout(onNoSpeechTimeout, noSpeechTimeoutMs);
4448
+ interim = '';
4449
+ finalText = '';
4450
+ for (index = event.resultIndex; index < event.results.length; index += 1) {
4451
+ result = event.results[index];
4452
+ if (!result || !result[0]) continue;
4453
+ if (result.isFinal) {
4454
+ finalText += " ".concat(result[0].transcript);
4455
+ } else {
4456
+ interim += " ".concat(result[0].transcript);
4457
+ }
4458
+ }
4459
+ normalizedInterim = normalizeTranscript(interim);
4460
+ setInterimTranscript(normalizedInterim);
4461
+ updateMachineState({
4462
+ type: 'VOICE_INTERIM'
4463
+ });
4464
+ if (normalizedInterim) {
4465
+ onVoiceInterim === null || onVoiceInterim === void 0 ? void 0 : onVoiceInterim(normalizedInterim);
4466
+ }
4467
+ normalizedFinal = normalizeTranscript(finalText);
4468
+ if (!normalizedFinal || hasSubmittedVoiceFinalRef.current) {
4469
+ return [2 /*return*/];
4470
+ }
4471
+ hasSubmittedVoiceFinalRef.current = true;
4472
+ updateMachineState({
4473
+ type: 'VOICE_FINAL'
4474
+ });
4475
+ setInterimTranscript('');
4476
+ onVoiceFinal === null || onVoiceFinal === void 0 ? void 0 : onVoiceFinal(normalizedFinal);
4477
+ return [4 /*yield*/, stopMeter()];
4478
+ case 1:
4479
+ _a.sent();
4480
+ if (!autoSubmitOnVoiceFinal) return [3 /*break*/, 3];
4481
+ return [4 /*yield*/, submitPayload(normalizedFinal, 'voice-final')];
4482
+ case 2:
4483
+ _a.sent();
4484
+ return [3 /*break*/, 4];
4485
+ case 3:
4486
+ updateValue(normalizedFinal);
4487
+ _a.label = 4;
4488
+ case 4:
4489
+ return [2 /*return*/];
4490
+ }
4491
+ });
4492
+ });
4493
+ };
4494
+ recognition.onerror = function (event) {
4495
+ return __awaiter(void 0, void 0, void 0, function () {
4496
+ var mappedCode;
4497
+ return __generator(this, function (_a) {
4498
+ switch (_a.label) {
4499
+ case 0:
4500
+ mappedCode = mapSpeechErrorCode(event.error);
4501
+ emitVoiceError(mappedCode);
4502
+ return [4 /*yield*/, stopListening(true, true)];
4503
+ case 1:
4504
+ _a.sent();
4505
+ return [2 /*return*/];
4506
+ }
4507
+ });
4508
+ });
4509
+ };
4510
+ recognition.onend = function () {
4511
+ return __awaiter(void 0, void 0, void 0, function () {
4512
+ return __generator(this, function (_a) {
4513
+ switch (_a.label) {
4514
+ case 0:
4515
+ if (isStoppingRef.current) return [2 /*return*/];
4516
+ clearNoSpeechTimeout();
4517
+ return [4 /*yield*/, stopMeter()];
4518
+ case 1:
4519
+ _a.sent();
4520
+ if (!hasSubmittedVoiceFinalRef.current) {
4521
+ updateMachineState({
4522
+ type: 'MIC_STOP',
4523
+ hasText: hasText
4524
+ });
4525
+ }
4526
+ return [2 /*return*/];
4527
+ }
4528
+ });
4529
+ });
4530
+ };
4531
+ recognitionRef.current = recognition;
4532
+ return function () {
4533
+ var _a;
4534
+ clearNoSpeechTimeout();
4535
+ (_a = recognitionRef.current) === null || _a === void 0 ? void 0 : _a.abort();
4536
+ recognitionRef.current = null;
4537
+ stopMeter();
4538
+ };
4539
+ }, [autoSubmitOnVoiceFinal, clearNoSpeechTimeout, emitVoiceError, enableVoice, hasText, noSpeechTimeoutMs, onNoSpeechTimeout, onVoiceFinal, onVoiceInterim, stopListening, stopMeter, submitPayload, updateMachineState, updateValue, voiceLanguage]);
4540
+ useEffect(function () {
4541
+ var mediaQuery = window.matchMedia('(prefers-reduced-motion: reduce)');
4542
+ var sync = function sync() {
4543
+ return setPrefersReducedMotion(mediaQuery.matches);
4544
+ };
4545
+ sync();
4546
+ mediaQuery.addEventListener('change', sync);
4547
+ return function () {
4548
+ return mediaQuery.removeEventListener('change', sync);
4549
+ };
4550
+ }, []);
4551
+ useEffect(function () {
4552
+ if (effectiveState === 'error' && !internalErrorMessage && !errorMessage) {
4553
+ updateMachineState({
4554
+ type: 'RESET_ERROR',
4555
+ hasText: hasText
4556
+ });
4557
+ }
4558
+ }, [effectiveState, errorMessage, hasText, internalErrorMessage, updateMachineState]);
4559
+ useEffect(function () {
4560
+ if (!disabled && (machineState === 'idle' || machineState === 'typing')) {
4561
+ updateMachineState({
4562
+ type: 'INPUT_CHANGE',
4563
+ hasText: hasText
4564
+ });
4565
+ }
4566
+ }, [disabled, hasText, machineState, updateMachineState]);
4567
+ var displayedValue = useMemo(function () {
4568
+ if (!interimTranscript) {
4569
+ return currentValue;
4570
+ }
4571
+ return normalizeTranscript([currentValue, interimTranscript].filter(Boolean).join(' '));
4572
+ }, [currentValue, interimTranscript]);
4573
+ var onTextChange = function onTextChange(event) {
4574
+ updateValue(event.target.value);
4575
+ if (effectiveState === 'error') {
4576
+ setInternalErrorMessage(undefined);
4577
+ updateMachineState({
4578
+ type: 'RESET_ERROR',
4579
+ hasText: normalizeTranscript(event.target.value).length > 0
4580
+ });
4581
+ }
4582
+ };
4583
+ var onInputKeyDown = function onInputKeyDown(event) {
4584
+ return __awaiter(void 0, void 0, void 0, function () {
4585
+ return __generator(this, function (_a) {
4586
+ switch (_a.label) {
4587
+ case 0:
4588
+ if (!(event.key === 'Escape' && isListening)) return [3 /*break*/, 2];
4589
+ event.preventDefault();
4590
+ return [4 /*yield*/, stopListening(true)];
4591
+ case 1:
4592
+ _a.sent();
4593
+ return [2 /*return*/];
4594
+ case 2:
4595
+ if (!(event.key === 'Enter')) return [3 /*break*/, 4];
4596
+ event.preventDefault();
4597
+ return [4 /*yield*/, submitPayload(currentValue, 'text')];
4598
+ case 3:
4599
+ _a.sent();
4600
+ _a.label = 4;
4601
+ case 4:
4602
+ return [2 /*return*/];
4603
+ }
4604
+ });
4605
+ });
4606
+ };
4607
+ var onMicToggle = function onMicToggle() {
4608
+ return __awaiter(void 0, void 0, void 0, function () {
4609
+ return __generator(this, function (_a) {
4610
+ switch (_a.label) {
4611
+ case 0:
4612
+ if (!hasVoice) return [2 /*return*/];
4613
+ if (!isListening) return [3 /*break*/, 2];
4614
+ return [4 /*yield*/, stopListening(true)];
4615
+ case 1:
4616
+ _a.sent();
4617
+ return [2 /*return*/];
4618
+ case 2:
4619
+ return [4 /*yield*/, beginListening()];
4620
+ case 3:
4621
+ _a.sent();
4622
+ return [2 /*return*/];
4623
+ }
4624
+ });
4625
+ });
4626
+ };
4627
+ var statusByState = {
4628
+ idle: statusMessage || DEFAULT_IDLE_HELPER,
4629
+ typing: statusMessage || DEFAULT_IDLE_HELPER,
4630
+ listening: statusMessage || DEFAULT_LISTENING_MESSAGE,
4631
+ processingFinalTranscript: statusMessage || DEFAULT_PROCESSING_MESSAGE,
4632
+ submitting: statusMessage || 'Submitting…',
4633
+ error: errorMessage || internalErrorMessage || 'Voice input failed. Try again.',
4634
+ disabled: statusMessage || DEFAULT_IDLE_HELPER
4635
+ };
4636
+ var unsupportedMessage = defaultVoiceErrorMessage('not-supported');
4637
+ var shouldShowUnsupported = enableVoice && !hasVoice;
4638
+ var resolvedStatus = shouldShowUnsupported ? unsupportedMessage : statusByState[effectiveState];
4639
+ var isStatusError = effectiveState === 'error' || shouldShowUnsupported;
4640
+ var meterBars = createMeterBars(meterLevel);
4641
+ var sendDisabled = disabled || effectiveSubmitting || normalizeTranscript(currentValue).length === 0;
4642
+ return jsxs(Container, {
4643
+ "data-testid": dataTestId,
4644
+ children: [jsx(VisuallyHiddenLabel, {
4645
+ htmlFor: inputId,
4646
+ children: label
4647
+ }), jsx(ControlsRow, {
4648
+ children: jsx(InputWrapper, {
4649
+ children: jsxs(InputShell, {
4650
+ "data-disabled": disabled || effectiveSubmitting,
4651
+ children: [jsx(Input, {
4652
+ id: inputId,
4653
+ type: "text",
4654
+ "aria-label": label,
4655
+ value: displayedValue,
4656
+ onChange: onTextChange,
4657
+ onKeyDown: onInputKeyDown,
4658
+ placeholder: placeholder,
4659
+ disabled: disabled || effectiveSubmitting,
4660
+ readOnly: isListening,
4661
+ "aria-describedby": statusId
4662
+ }), jsxs(InputActions, {
4663
+ children: [hasVoice && jsx(MicButtonWrapper, {
4664
+ "$isListening": isListening,
4665
+ "$reducedMotion": prefersReducedMotion,
4666
+ children: jsx(CircularActionIconButton, {
4667
+ variant: "naked",
4668
+ size: "medium",
4669
+ iconName: 'mic',
4670
+ onClick: onMicToggle,
4671
+ "aria-pressed": isListening,
4672
+ "aria-label": isListening ? 'Stop voice input' : 'Start voice input',
4673
+ disabled: disabled || effectiveSubmitting,
4674
+ type: "button"
4675
+ })
4676
+ }), jsx(CircularActionIconButton, {
4677
+ variant: "secondary",
4678
+ size: "medium",
4679
+ iconName: "directionUp",
4680
+ onClick: function onClick() {
4681
+ return submitPayload(currentValue, 'text');
4682
+ },
4683
+ disabled: sendDisabled,
4684
+ "aria-label": "Send message",
4685
+ type: "button"
4686
+ })]
4687
+ })]
4688
+ })
4689
+ })
4690
+ }), jsxs(StatusRow, {
4691
+ children: [jsx(StatusText, {
4692
+ "$isError": isStatusError,
4693
+ children: jsx(StatusAnnouncement, {
4694
+ id: statusId,
4695
+ role: "status",
4696
+ "aria-live": "polite",
4697
+ "aria-atomic": "true",
4698
+ children: jsx(Typography, {
4699
+ variant: "small",
4700
+ children: resolvedStatus
4701
+ })
4702
+ })
4703
+ }), isListening && !prefersReducedMotion && jsx(MeterContainer, {
4704
+ "aria-hidden": "true",
4705
+ children: meterBars.map(function (barHeight, index) {
4706
+ return jsx(MeterBar, {
4707
+ "$height": barHeight
4708
+ }, "meter-".concat(index));
4709
+ })
4710
+ })]
4711
+ })]
4712
+ });
4713
+ };
4714
+ 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, templateObject_9$3, templateObject_10$2, templateObject_11$2, templateObject_12$2, templateObject_13$2, templateObject_14$1, templateObject_15$1, templateObject_16$1;
3898
4715
 
3899
4716
  var semantic$9 = tokensData.semantic,
3900
4717
  base$7 = tokensData.base;
@@ -4063,7 +4880,7 @@ var isInternalUrl = function isInternalUrl(url) {
4063
4880
  var Breadcrumbs = function Breadcrumbs(_a) {
4064
4881
  var breadcrumbs = _a.breadcrumbs,
4065
4882
  LinkComponent = _a.linkComponent;
4066
- return jsx(Container, {
4883
+ return jsx(Container$1, {
4067
4884
  children: jsx(BreadcrumbNavStyled, {
4068
4885
  "aria-label": "breadcrumb",
4069
4886
  children: jsx("ol", {
@@ -7376,5 +8193,5 @@ var templateObject_1, templateObject_2, templateObject_3, templateObject_4, temp
7376
8193
  // Main design system exports
7377
8194
  var tokens = tokensData;
7378
8195
 
7379
- export { AccountCard, ActionSheet, Alert, Avatar, Badge, BooleanChip, Box, Breadcrumbs, Button, CardLarge, CardSmall, CategoryBadge, Checkbox, Chip, ChipGroup, CodeBlock, Container, DateFormatter, DateGroup, Divider, Dropdown, EmptyState, FeatureBlock, FilterChip, Grid, GridCol, Icon, IconButton, LegacyChip, List, ListItem, MoneyDisplay, NumberInput, PageTitle, PasswordField, Picture, ProgressBar, ResponsiveGrid, SearchField, Sheet, Slider, Stack, StatusBadge, StyledInputBase, StyledTextAreaBase, TabBar, Tag, TextField, TransactionListItem, Typography, iconsData, tokens };
8196
+ export { AccountCard, ActionSheet, AgentInput, Alert, Avatar, Badge, BooleanChip, Box, Breadcrumbs, Button, CardLarge, CardSmall, CategoryBadge, Checkbox, Chip, ChipGroup, CodeBlock, Container$1 as Container, DateFormatter, DateGroup, Divider, Dropdown, EmptyState, FeatureBlock, FilterChip, Grid, GridCol, Icon, IconButton, LegacyChip, List, ListItem, MoneyDisplay, NumberInput, PageTitle, PasswordField, Picture, ProgressBar, ResponsiveGrid, SearchField, Sheet, Slider, Stack, StatusBadge, StyledInputBase, StyledTextAreaBase, TabBar, Tag, TextField, TransactionListItem, Typography, iconsData, tokens };
7380
8197
  //# sourceMappingURL=index.esm.js.map