@common-origin/design-system 2.12.0 → 2.12.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/dist/components/atoms/Box/Box.d.ts +26 -26
- package/dist/components/atoms/Chip/shared/ChipBase.d.ts +9 -3
- package/dist/components/layout/GridSystem/GridSystem.d.ts +19 -19
- package/dist/components/molecules/Checkbox/SelectableInputBase.d.ts +12 -4
- package/dist/components/molecules/Dropdown/Dropdown.d.ts +3 -1
- package/dist/components/molecules/TextField/InputBase.d.ts +6 -2
- package/dist/index.d.ts +1 -858
- package/dist/index.esm.js +228 -193
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +228 -193
- package/dist/index.js.map +1 -1
- package/dist/lib/styleUtils.d.ts +0 -3
- package/dist/styles/tokens.json +30 -2
- package/dist/tokens/index.esm.js +35 -4
- package/dist/tokens/index.esm.js.map +1 -1
- package/dist/tokens/index.js +35 -4
- package/dist/tokens/index.js.map +1 -1
- package/dist/tokens/tokens.d.ts +4 -860
- package/dist/tokens/types/tokens.d.ts +889 -0
- package/dist/types/icons.d.ts +1 -1
- package/dist/types/tokens.d.ts +889 -0
- package/package.json +33 -16
- package/dist/lib/errorReporting.d.ts +0 -24
- package/dist/page-components/ErrorBoundaries.d.ts +0 -16
- package/dist/page-components/ErrorBoundary.d.ts +0 -20
- package/dist/page-components/Footer/Footer.d.ts +0 -8
- package/dist/page-components/Footer/index.d.ts +0 -1
- package/dist/page-components/HeroBanner/HeroBanner.d.ts +0 -10
- package/dist/page-components/HeroBanner/index.d.ts +0 -1
- package/dist/page-components/Meta.d.ts +0 -2
- package/dist/page-components/Navigation.d.ts +0 -2
- package/dist/page-components/PageLayout.d.ts +0 -7
- package/dist/page-components/index.d.ts +0 -8
package/dist/index.js
CHANGED
|
@@ -365,7 +365,9 @@ var base$d = {
|
|
|
365
365
|
"2": "400",
|
|
366
366
|
"3": "500",
|
|
367
367
|
"4": "600",
|
|
368
|
-
"5": "700"
|
|
368
|
+
"5": "700",
|
|
369
|
+
"6": "800",
|
|
370
|
+
"7": "900"
|
|
369
371
|
},
|
|
370
372
|
lineHeight: {
|
|
371
373
|
"1": "1rem",
|
|
@@ -753,6 +755,20 @@ var component$3 = {
|
|
|
753
755
|
cursor: "not-allowed"
|
|
754
756
|
}
|
|
755
757
|
},
|
|
758
|
+
badge: {
|
|
759
|
+
dot: {
|
|
760
|
+
size: "0.5rem"
|
|
761
|
+
},
|
|
762
|
+
count: {
|
|
763
|
+
minWidth: "1rem",
|
|
764
|
+
height: "1rem",
|
|
765
|
+
paddingX: "0.25rem"
|
|
766
|
+
},
|
|
767
|
+
ring: {
|
|
768
|
+
width: "0.125rem"
|
|
769
|
+
},
|
|
770
|
+
borderRadius: "10rem"
|
|
771
|
+
},
|
|
756
772
|
$ref: "./component/index.json"
|
|
757
773
|
};
|
|
758
774
|
var semantic$k = {
|
|
@@ -806,6 +822,14 @@ var semantic$k = {
|
|
|
806
822
|
lg: "2rem",
|
|
807
823
|
xl: "3rem"
|
|
808
824
|
},
|
|
825
|
+
component: {
|
|
826
|
+
xs: "0.25rem",
|
|
827
|
+
sm: "0.5rem",
|
|
828
|
+
md: "0.75rem",
|
|
829
|
+
lg: "1rem",
|
|
830
|
+
xl: "1.25rem",
|
|
831
|
+
"2xl": "1.5rem"
|
|
832
|
+
},
|
|
809
833
|
layout: {
|
|
810
834
|
none: "0",
|
|
811
835
|
xs: "0.25rem",
|
|
@@ -854,7 +878,11 @@ var semantic$k = {
|
|
|
854
878
|
warning: "#B14C00",
|
|
855
879
|
"warning-subtle": "#FFECCC",
|
|
856
880
|
disabled: "#dee2e6",
|
|
857
|
-
progressTrack: "#dee2e6"
|
|
881
|
+
progressTrack: "#dee2e6",
|
|
882
|
+
page: "#f8f9fa",
|
|
883
|
+
overlay: "rgba(33, 37, 41, 0.5)",
|
|
884
|
+
"hover-overlay": "rgba(33, 37, 41, 0.1)",
|
|
885
|
+
"active-overlay": "rgba(33, 37, 41, 0.15)"
|
|
858
886
|
},
|
|
859
887
|
border: {
|
|
860
888
|
"default": "#e9ecef",
|
|
@@ -958,14 +986,14 @@ var semantic$k = {
|
|
|
958
986
|
},
|
|
959
987
|
$ref: "./semantic/index.json"
|
|
960
988
|
};
|
|
961
|
-
var
|
|
989
|
+
var tokensJson = {
|
|
962
990
|
base: base$d,
|
|
963
991
|
component: component$3,
|
|
964
992
|
semantic: semantic$k
|
|
965
993
|
};
|
|
966
994
|
|
|
967
995
|
// Destructure tokens
|
|
968
|
-
var semantic$j =
|
|
996
|
+
var semantic$j = tokensJson.semantic;
|
|
969
997
|
var color$a = semantic$j.color,
|
|
970
998
|
size$1 = semantic$j.size,
|
|
971
999
|
border$a = semantic$j.border;
|
|
@@ -998,14 +1026,14 @@ var AvatarInitials = styled.span.withConfig({
|
|
|
998
1026
|
componentId: "sc-ezn4ax-2"
|
|
999
1027
|
})(templateObject_3$s || (templateObject_3$s = __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"
|
|
1000
1028
|
// Helper function to get initials from name
|
|
1001
|
-
])),
|
|
1029
|
+
])), tokensJson.base.fontFamily.body, tokensJson.base.fontWeight[3], function (_a) {
|
|
1002
1030
|
var $size = _a.$size;
|
|
1003
1031
|
var sizeMap = {
|
|
1004
|
-
xs:
|
|
1005
|
-
sm:
|
|
1006
|
-
md:
|
|
1007
|
-
lg:
|
|
1008
|
-
xl:
|
|
1032
|
+
xs: tokensJson.base.fontSize[1],
|
|
1033
|
+
sm: tokensJson.base.fontSize[2],
|
|
1034
|
+
md: tokensJson.base.fontSize[3],
|
|
1035
|
+
lg: tokensJson.base.fontSize[4],
|
|
1036
|
+
xl: tokensJson.base.fontSize[5]
|
|
1009
1037
|
};
|
|
1010
1038
|
return sizeMap[$size];
|
|
1011
1039
|
}, color$a.text["default"]);
|
|
@@ -1064,18 +1092,18 @@ var Avatar = function Avatar(_a) {
|
|
|
1064
1092
|
};
|
|
1065
1093
|
var templateObject_1$K, templateObject_2$v, templateObject_3$s;
|
|
1066
1094
|
|
|
1067
|
-
var _a$8 =
|
|
1095
|
+
var _a$8 = tokensJson.semantic,
|
|
1068
1096
|
typography$5 = _a$8.typography,
|
|
1069
1097
|
color$9 = _a$8.color;
|
|
1070
1098
|
var getTypographyStyles = function getTypographyStyles(variant) {
|
|
1071
1099
|
var styles = {
|
|
1072
|
-
display: "font: ".concat(typography$5.display, "; letter-spacing: ").concat(
|
|
1073
|
-
h1: "font: ".concat(typography$5.h1, "; letter-spacing: ").concat(
|
|
1074
|
-
h2: "font: ".concat(typography$5.h2, "; letter-spacing: ").concat(
|
|
1075
|
-
h3: "font: ".concat(typography$5.h3, "; letter-spacing: ").concat(
|
|
1076
|
-
h4: "font: ".concat(typography$5.h4, "; letter-spacing: ").concat(
|
|
1077
|
-
h5: "font: ".concat(typography$5.h5, "; letter-spacing: ").concat(
|
|
1078
|
-
h6: "font: ".concat(typography$5.h6, "; letter-spacing: ").concat(
|
|
1100
|
+
display: "font: ".concat(typography$5.display, "; letter-spacing: ").concat(tokensJson.base.letterSpacing[0], ";"),
|
|
1101
|
+
h1: "font: ".concat(typography$5.h1, "; letter-spacing: ").concat(tokensJson.base.letterSpacing[0], ";"),
|
|
1102
|
+
h2: "font: ".concat(typography$5.h2, "; letter-spacing: ").concat(tokensJson.base.letterSpacing[1], ";"),
|
|
1103
|
+
h3: "font: ".concat(typography$5.h3, "; letter-spacing: ").concat(tokensJson.base.letterSpacing[1], ";"),
|
|
1104
|
+
h4: "font: ".concat(typography$5.h4, "; letter-spacing: ").concat(tokensJson.base.letterSpacing[1], ";"),
|
|
1105
|
+
h5: "font: ".concat(typography$5.h5, "; letter-spacing: ").concat(tokensJson.base.letterSpacing[2], ";"),
|
|
1106
|
+
h6: "font: ".concat(typography$5.h6, "; letter-spacing: ").concat(tokensJson.base.letterSpacing[2], ";"),
|
|
1079
1107
|
subtitle: "font: ".concat(typography$5.subtitle, ";"),
|
|
1080
1108
|
body: "font: ".concat(typography$5.body, ";"),
|
|
1081
1109
|
small: "font: ".concat(typography$5.small, ";"),
|
|
@@ -1199,7 +1227,7 @@ var Typography = function Typography(_a) {
|
|
|
1199
1227
|
};
|
|
1200
1228
|
var templateObject_1$J;
|
|
1201
1229
|
|
|
1202
|
-
var semantic$i =
|
|
1230
|
+
var semantic$i = tokensJson.semantic;
|
|
1203
1231
|
var color$8 = semantic$i.color,
|
|
1204
1232
|
border$9 = semantic$i.border;
|
|
1205
1233
|
var radius$4 = border$9.radius;
|
|
@@ -1296,35 +1324,35 @@ var StyledBox = styled.div.withConfig({
|
|
|
1296
1324
|
}, function (props) {
|
|
1297
1325
|
return props.$flexWrap && styled.css(templateObject_5$g || (templateObject_5$g = __makeTemplateObject(["flex-wrap: ", ";"], ["flex-wrap: ", ";"])), props.$flexWrap);
|
|
1298
1326
|
}, function (props) {
|
|
1299
|
-
return props.$gap && styled.css(templateObject_6$d || (templateObject_6$d = __makeTemplateObject(["gap: ", ";"], ["gap: ", ";"])),
|
|
1327
|
+
return props.$gap && styled.css(templateObject_6$d || (templateObject_6$d = __makeTemplateObject(["gap: ", ";"], ["gap: ", ";"])), tokensJson.semantic.spacing.layout[props.$gap]);
|
|
1300
1328
|
}, function (props) {
|
|
1301
|
-
return props.$m && styled.css(templateObject_7$b || (templateObject_7$b = __makeTemplateObject(["margin: ", ";"], ["margin: ", ";"])),
|
|
1329
|
+
return props.$m && styled.css(templateObject_7$b || (templateObject_7$b = __makeTemplateObject(["margin: ", ";"], ["margin: ", ";"])), tokensJson.semantic.spacing.layout[props.$m]);
|
|
1302
1330
|
}, function (props) {
|
|
1303
|
-
return props.$mt && styled.css(templateObject_8$7 || (templateObject_8$7 = __makeTemplateObject(["margin-top: ", ";"], ["margin-top: ", ";"])),
|
|
1331
|
+
return props.$mt && styled.css(templateObject_8$7 || (templateObject_8$7 = __makeTemplateObject(["margin-top: ", ";"], ["margin-top: ", ";"])), tokensJson.semantic.spacing.layout[props.$mt]);
|
|
1304
1332
|
}, function (props) {
|
|
1305
|
-
return props.$mr && styled.css(templateObject_9$5 || (templateObject_9$5 = __makeTemplateObject(["margin-right: ", ";"], ["margin-right: ", ";"])),
|
|
1333
|
+
return props.$mr && styled.css(templateObject_9$5 || (templateObject_9$5 = __makeTemplateObject(["margin-right: ", ";"], ["margin-right: ", ";"])), tokensJson.semantic.spacing.layout[props.$mr]);
|
|
1306
1334
|
}, function (props) {
|
|
1307
|
-
return props.$mb && styled.css(templateObject_10$3 || (templateObject_10$3 = __makeTemplateObject(["margin-bottom: ", ";"], ["margin-bottom: ", ";"])),
|
|
1335
|
+
return props.$mb && styled.css(templateObject_10$3 || (templateObject_10$3 = __makeTemplateObject(["margin-bottom: ", ";"], ["margin-bottom: ", ";"])), tokensJson.semantic.spacing.layout[props.$mb]);
|
|
1308
1336
|
}, function (props) {
|
|
1309
|
-
return props.$ml && styled.css(templateObject_11$3 || (templateObject_11$3 = __makeTemplateObject(["margin-left: ", ";"], ["margin-left: ", ";"])),
|
|
1337
|
+
return props.$ml && styled.css(templateObject_11$3 || (templateObject_11$3 = __makeTemplateObject(["margin-left: ", ";"], ["margin-left: ", ";"])), tokensJson.semantic.spacing.layout[props.$ml]);
|
|
1310
1338
|
}, function (props) {
|
|
1311
|
-
return props.$mx && styled.css(templateObject_12$3 || (templateObject_12$3 = __makeTemplateObject(["\n margin-left: ", ";\n margin-right: ", ";\n "], ["\n margin-left: ", ";\n margin-right: ", ";\n "])),
|
|
1339
|
+
return props.$mx && styled.css(templateObject_12$3 || (templateObject_12$3 = __makeTemplateObject(["\n margin-left: ", ";\n margin-right: ", ";\n "], ["\n margin-left: ", ";\n margin-right: ", ";\n "])), tokensJson.semantic.spacing.layout[props.$mx], tokensJson.semantic.spacing.layout[props.$mx]);
|
|
1312
1340
|
}, function (props) {
|
|
1313
|
-
return props.$my && styled.css(templateObject_13$3 || (templateObject_13$3 = __makeTemplateObject(["\n margin-top: ", ";\n margin-bottom: ", ";\n "], ["\n margin-top: ", ";\n margin-bottom: ", ";\n "])),
|
|
1341
|
+
return props.$my && styled.css(templateObject_13$3 || (templateObject_13$3 = __makeTemplateObject(["\n margin-top: ", ";\n margin-bottom: ", ";\n "], ["\n margin-top: ", ";\n margin-bottom: ", ";\n "])), tokensJson.semantic.spacing.layout[props.$my], tokensJson.semantic.spacing.layout[props.$my]);
|
|
1314
1342
|
}, function (props) {
|
|
1315
|
-
return props.$p && styled.css(templateObject_14$2 || (templateObject_14$2 = __makeTemplateObject(["padding: ", ";"], ["padding: ", ";"])),
|
|
1343
|
+
return props.$p && styled.css(templateObject_14$2 || (templateObject_14$2 = __makeTemplateObject(["padding: ", ";"], ["padding: ", ";"])), tokensJson.semantic.spacing.layout[props.$p]);
|
|
1316
1344
|
}, function (props) {
|
|
1317
|
-
return props.$pt && styled.css(templateObject_15$2 || (templateObject_15$2 = __makeTemplateObject(["padding-top: ", ";"], ["padding-top: ", ";"])),
|
|
1345
|
+
return props.$pt && styled.css(templateObject_15$2 || (templateObject_15$2 = __makeTemplateObject(["padding-top: ", ";"], ["padding-top: ", ";"])), tokensJson.semantic.spacing.layout[props.$pt]);
|
|
1318
1346
|
}, function (props) {
|
|
1319
|
-
return props.$pr && styled.css(templateObject_16$2 || (templateObject_16$2 = __makeTemplateObject(["padding-right: ", ";"], ["padding-right: ", ";"])),
|
|
1347
|
+
return props.$pr && styled.css(templateObject_16$2 || (templateObject_16$2 = __makeTemplateObject(["padding-right: ", ";"], ["padding-right: ", ";"])), tokensJson.semantic.spacing.layout[props.$pr]);
|
|
1320
1348
|
}, function (props) {
|
|
1321
|
-
return props.$pb && styled.css(templateObject_17$2 || (templateObject_17$2 = __makeTemplateObject(["padding-bottom: ", ";"], ["padding-bottom: ", ";"])),
|
|
1349
|
+
return props.$pb && styled.css(templateObject_17$2 || (templateObject_17$2 = __makeTemplateObject(["padding-bottom: ", ";"], ["padding-bottom: ", ";"])), tokensJson.semantic.spacing.layout[props.$pb]);
|
|
1322
1350
|
}, function (props) {
|
|
1323
|
-
return props.$pl && styled.css(templateObject_18$1 || (templateObject_18$1 = __makeTemplateObject(["padding-left: ", ";"], ["padding-left: ", ";"])),
|
|
1351
|
+
return props.$pl && styled.css(templateObject_18$1 || (templateObject_18$1 = __makeTemplateObject(["padding-left: ", ";"], ["padding-left: ", ";"])), tokensJson.semantic.spacing.layout[props.$pl]);
|
|
1324
1352
|
}, function (props) {
|
|
1325
|
-
return props.$px && styled.css(templateObject_19$1 || (templateObject_19$1 = __makeTemplateObject(["\n padding-left: ", ";\n padding-right: ", ";\n "], ["\n padding-left: ", ";\n padding-right: ", ";\n "])),
|
|
1353
|
+
return props.$px && styled.css(templateObject_19$1 || (templateObject_19$1 = __makeTemplateObject(["\n padding-left: ", ";\n padding-right: ", ";\n "], ["\n padding-left: ", ";\n padding-right: ", ";\n "])), tokensJson.semantic.spacing.layout[props.$px], tokensJson.semantic.spacing.layout[props.$px]);
|
|
1326
1354
|
}, function (props) {
|
|
1327
|
-
return props.$py && styled.css(templateObject_20$1 || (templateObject_20$1 = __makeTemplateObject(["\n padding-top: ", ";\n padding-bottom: ", ";\n "], ["\n padding-top: ", ";\n padding-bottom: ", ";\n "])),
|
|
1355
|
+
return props.$py && styled.css(templateObject_20$1 || (templateObject_20$1 = __makeTemplateObject(["\n padding-top: ", ";\n padding-bottom: ", ";\n "], ["\n padding-top: ", ";\n padding-bottom: ", ";\n "])), tokensJson.semantic.spacing.layout[props.$py], tokensJson.semantic.spacing.layout[props.$py]);
|
|
1328
1356
|
}, function (props) {
|
|
1329
1357
|
return props.$width && styled.css(templateObject_21$1 || (templateObject_21$1 = __makeTemplateObject(["width: ", ";"], ["width: ", ";"])), props.$width);
|
|
1330
1358
|
}, function (props) {
|
|
@@ -1348,29 +1376,29 @@ var StyledBox = styled.div.withConfig({
|
|
|
1348
1376
|
}, function (props) {
|
|
1349
1377
|
return props.$left && styled.css(templateObject_31$1 || (templateObject_31$1 = __makeTemplateObject(["left: ", ";"], ["left: ", ";"])), props.$left);
|
|
1350
1378
|
}, function (props) {
|
|
1351
|
-
return props.$borderRadius && styled.css(templateObject_32$1 || (templateObject_32$1 = __makeTemplateObject(["border-radius: ", ";"], ["border-radius: ", ";"])),
|
|
1379
|
+
return props.$borderRadius && styled.css(templateObject_32$1 || (templateObject_32$1 = __makeTemplateObject(["border-radius: ", ";"], ["border-radius: ", ";"])), tokensJson.semantic.border.radius[props.$borderRadius]);
|
|
1352
1380
|
}, function (props) {
|
|
1353
|
-
return props.$border && styled.css(templateObject_33$1 || (templateObject_33$1 = __makeTemplateObject(["border: 1px solid ", ";"], ["border: 1px solid ", ";"])),
|
|
1381
|
+
return props.$border && styled.css(templateObject_33$1 || (templateObject_33$1 = __makeTemplateObject(["border: 1px solid ", ";"], ["border: 1px solid ", ";"])), tokensJson.semantic.color.border[props.$border]);
|
|
1354
1382
|
}, function (props) {
|
|
1355
|
-
return props.$borderTop && styled.css(templateObject_34$1 || (templateObject_34$1 = __makeTemplateObject(["border-top: 1px solid ", ";"], ["border-top: 1px solid ", ";"])),
|
|
1383
|
+
return props.$borderTop && styled.css(templateObject_34$1 || (templateObject_34$1 = __makeTemplateObject(["border-top: 1px solid ", ";"], ["border-top: 1px solid ", ";"])), tokensJson.semantic.color.border[props.$borderTop]);
|
|
1356
1384
|
}, function (props) {
|
|
1357
|
-
return props.$borderRight && styled.css(templateObject_35$1 || (templateObject_35$1 = __makeTemplateObject(["border-right: 1px solid ", ";"], ["border-right: 1px solid ", ";"])),
|
|
1385
|
+
return props.$borderRight && styled.css(templateObject_35$1 || (templateObject_35$1 = __makeTemplateObject(["border-right: 1px solid ", ";"], ["border-right: 1px solid ", ";"])), tokensJson.semantic.color.border[props.$borderRight]);
|
|
1358
1386
|
}, function (props) {
|
|
1359
|
-
return props.$borderBottom && styled.css(templateObject_36 || (templateObject_36 = __makeTemplateObject(["border-bottom: 1px solid ", ";"], ["border-bottom: 1px solid ", ";"])),
|
|
1387
|
+
return props.$borderBottom && styled.css(templateObject_36 || (templateObject_36 = __makeTemplateObject(["border-bottom: 1px solid ", ";"], ["border-bottom: 1px solid ", ";"])), tokensJson.semantic.color.border[props.$borderBottom]);
|
|
1360
1388
|
}, function (props) {
|
|
1361
|
-
return props.$borderLeft && styled.css(templateObject_37 || (templateObject_37 = __makeTemplateObject(["border-left: 1px solid ", ";"], ["border-left: 1px solid ", ";"])),
|
|
1389
|
+
return props.$borderLeft && styled.css(templateObject_37 || (templateObject_37 = __makeTemplateObject(["border-left: 1px solid ", ";"], ["border-left: 1px solid ", ";"])), tokensJson.semantic.color.border[props.$borderLeft]);
|
|
1362
1390
|
}, function (props) {
|
|
1363
|
-
return props.$bg && styled.css(templateObject_38 || (templateObject_38 = __makeTemplateObject(["background-color: ", ";"], ["background-color: ", ";"])),
|
|
1391
|
+
return props.$bg && styled.css(templateObject_38 || (templateObject_38 = __makeTemplateObject(["background-color: ", ";"], ["background-color: ", ";"])), tokensJson.semantic.color.background[props.$bg]);
|
|
1364
1392
|
}, function (props) {
|
|
1365
|
-
return props.$color && styled.css(templateObject_39 || (templateObject_39 = __makeTemplateObject(["color: ", ";"], ["color: ", ";"])),
|
|
1393
|
+
return props.$color && styled.css(templateObject_39 || (templateObject_39 = __makeTemplateObject(["color: ", ";"], ["color: ", ";"])), tokensJson.semantic.color.text[props.$color]);
|
|
1366
1394
|
}, function (props) {
|
|
1367
|
-
return props.$shadow && styled.css(templateObject_40 || (templateObject_40 = __makeTemplateObject(["box-shadow: ", ";"], ["box-shadow: ", ";"])),
|
|
1395
|
+
return props.$shadow && styled.css(templateObject_40 || (templateObject_40 = __makeTemplateObject(["box-shadow: ", ";"], ["box-shadow: ", ";"])), tokensJson.semantic.elevation[props.$shadow]);
|
|
1368
1396
|
}, function (props) {
|
|
1369
1397
|
return props.$cursor && styled.css(templateObject_41 || (templateObject_41 = __makeTemplateObject(["cursor: ", ";"], ["cursor: ", ";"])), props.$cursor);
|
|
1370
1398
|
}, function (props) {
|
|
1371
1399
|
return props.$transition && styled.css(templateObject_42 || (templateObject_42 = __makeTemplateObject(["transition: ", ";"], ["transition: ", ";"])), props.$transition);
|
|
1372
1400
|
}, function (props) {
|
|
1373
|
-
return (props.$hoverShadow || props.$hoverTransform) && styled.css(templateObject_45 || (templateObject_45 = __makeTemplateObject(["\n &:hover {\n ", "\n ", "\n }\n \n &:active {\n transform: translateY(0);\n }\n \n &:focus-visible {\n outline: 2px solid ", ";\n outline-offset: 2px;\n }\n "], ["\n &:hover {\n ", "\n ", "\n }\n \n &:active {\n transform: translateY(0);\n }\n \n &:focus-visible {\n outline: 2px solid ", ";\n outline-offset: 2px;\n }\n "])), props.$hoverShadow && styled.css(templateObject_43 || (templateObject_43 = __makeTemplateObject(["box-shadow: ", ";"], ["box-shadow: ", ";"])),
|
|
1401
|
+
return (props.$hoverShadow || props.$hoverTransform) && styled.css(templateObject_45 || (templateObject_45 = __makeTemplateObject(["\n &:hover {\n ", "\n ", "\n }\n \n &:active {\n transform: translateY(0);\n }\n \n &:focus-visible {\n outline: 2px solid ", ";\n outline-offset: 2px;\n }\n "], ["\n &:hover {\n ", "\n ", "\n }\n \n &:active {\n transform: translateY(0);\n }\n \n &:focus-visible {\n outline: 2px solid ", ";\n outline-offset: 2px;\n }\n "])), props.$hoverShadow && styled.css(templateObject_43 || (templateObject_43 = __makeTemplateObject(["box-shadow: ", ";"], ["box-shadow: ", ";"])), tokensJson.semantic.elevation[props.$hoverShadow]), props.$hoverTransform && styled.css(templateObject_44 || (templateObject_44 = __makeTemplateObject(["transform: ", ";"], ["transform: ", ";"])), props.$hoverTransform), tokensJson.semantic.color.border.interactive);
|
|
1374
1402
|
}, function (props) {
|
|
1375
1403
|
return props.$overflow && styled.css(templateObject_46 || (templateObject_46 = __makeTemplateObject(["overflow: ", ";"], ["overflow: ", ";"])), props.$overflow);
|
|
1376
1404
|
}, function (props) {
|
|
@@ -2238,7 +2266,7 @@ var move = {
|
|
|
2238
2266
|
decorativeDefault: false,
|
|
2239
2267
|
ariaLabelDefault: "Move"
|
|
2240
2268
|
};
|
|
2241
|
-
var
|
|
2269
|
+
var iconsJson = {
|
|
2242
2270
|
add: add,
|
|
2243
2271
|
addRing: addRing,
|
|
2244
2272
|
arrowDown: arrowDown,
|
|
@@ -2312,35 +2340,35 @@ var IconStyled = styled.span.withConfig({
|
|
|
2312
2340
|
componentId: "sc-1105czq-0"
|
|
2313
2341
|
})(templateObject_1$G || (templateObject_1$G = __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) {
|
|
2314
2342
|
var $size = _a.$size;
|
|
2315
|
-
return
|
|
2343
|
+
return tokensJson.semantic.size.icon[$size];
|
|
2316
2344
|
}, function (_a) {
|
|
2317
2345
|
var $size = _a.$size;
|
|
2318
|
-
return
|
|
2346
|
+
return tokensJson.semantic.size.icon[$size];
|
|
2319
2347
|
}, function (_a) {
|
|
2320
2348
|
var $iconColor = _a.$iconColor;
|
|
2321
2349
|
switch ($iconColor) {
|
|
2322
2350
|
case 'default':
|
|
2323
|
-
return
|
|
2351
|
+
return tokensJson.semantic.color.icon["default"];
|
|
2324
2352
|
case 'emphasis':
|
|
2325
|
-
return
|
|
2353
|
+
return tokensJson.semantic.color.icon.emphasis;
|
|
2326
2354
|
case 'subdued':
|
|
2327
|
-
return
|
|
2355
|
+
return tokensJson.semantic.color.icon.subdued;
|
|
2328
2356
|
case 'disabled':
|
|
2329
|
-
return
|
|
2357
|
+
return tokensJson.semantic.color.icon.disabled;
|
|
2330
2358
|
case 'inverse':
|
|
2331
|
-
return
|
|
2359
|
+
return tokensJson.semantic.color.icon.inverse;
|
|
2332
2360
|
case 'interactive':
|
|
2333
|
-
return
|
|
2361
|
+
return tokensJson.semantic.color.icon.interactive;
|
|
2334
2362
|
case 'error':
|
|
2335
|
-
return
|
|
2363
|
+
return tokensJson.semantic.color.icon.error;
|
|
2336
2364
|
case 'success':
|
|
2337
|
-
return
|
|
2365
|
+
return tokensJson.semantic.color.icon.success;
|
|
2338
2366
|
case 'warning':
|
|
2339
|
-
return
|
|
2367
|
+
return tokensJson.semantic.color.icon.warning;
|
|
2340
2368
|
case 'inherit':
|
|
2341
2369
|
return 'currentColor';
|
|
2342
2370
|
default:
|
|
2343
|
-
return
|
|
2371
|
+
return tokensJson.semantic.color.icon["default"];
|
|
2344
2372
|
}
|
|
2345
2373
|
});
|
|
2346
2374
|
var Icon = function Icon(_a) {
|
|
@@ -2351,7 +2379,7 @@ var Icon = function Icon(_a) {
|
|
|
2351
2379
|
iconColor = _c === void 0 ? 'default' : _c,
|
|
2352
2380
|
dataTestId = _a["data-testid"];
|
|
2353
2381
|
// Get the icon data from the JSON file
|
|
2354
|
-
var iconData =
|
|
2382
|
+
var iconData = iconsJson[name];
|
|
2355
2383
|
if (!iconData) {
|
|
2356
2384
|
console.warn("Icon \"".concat(name, "\" not found in icons.json"));
|
|
2357
2385
|
return jsxRuntime.jsx(IconStyled, {
|
|
@@ -2378,10 +2406,10 @@ var Icon = function Icon(_a) {
|
|
|
2378
2406
|
};
|
|
2379
2407
|
var templateObject_1$G;
|
|
2380
2408
|
|
|
2381
|
-
var button$1 =
|
|
2382
|
-
semantic$h =
|
|
2409
|
+
var button$1 = tokensJson.component.button,
|
|
2410
|
+
semantic$h = tokensJson.semantic;
|
|
2383
2411
|
// Base styles shared between button and link
|
|
2384
|
-
var baseButtonStyles = "\n box-sizing: border-box;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: ".concat(
|
|
2412
|
+
var baseButtonStyles = "\n box-sizing: border-box;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: ".concat(tokensJson.semantic.spacing.layout.xs, ";\n height: max-content;\n cursor: pointer;\n border: none;\n text-decoration: none;\n transition: ").concat(semantic$h.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");
|
|
2385
2413
|
// Dynamic variant styles using component tokens
|
|
2386
2414
|
var getVariantStyles$1 = function getVariantStyles(_a) {
|
|
2387
2415
|
var $variant = _a.$variant;
|
|
@@ -2560,8 +2588,8 @@ var Button = function Button(_a) {
|
|
|
2560
2588
|
};
|
|
2561
2589
|
var templateObject_1$F, templateObject_2$s;
|
|
2562
2590
|
|
|
2563
|
-
var semantic$g =
|
|
2564
|
-
base$c =
|
|
2591
|
+
var semantic$g = tokensJson.semantic,
|
|
2592
|
+
base$c = tokensJson.base;
|
|
2565
2593
|
var color$7 = semantic$g.color,
|
|
2566
2594
|
typography$4 = semantic$g.typography,
|
|
2567
2595
|
border$8 = semantic$g.border,
|
|
@@ -2675,7 +2703,7 @@ var CategoryBadge = function CategoryBadge(_a) {
|
|
|
2675
2703
|
CategoryBadge.displayName = 'CategoryBadge';
|
|
2676
2704
|
var templateObject_1$E;
|
|
2677
2705
|
|
|
2678
|
-
var chip =
|
|
2706
|
+
var chip = tokensJson.component.chip;
|
|
2679
2707
|
// Helper function to get variant styles matching Button's approach
|
|
2680
2708
|
var getVariantStyles = function getVariantStyles(_a) {
|
|
2681
2709
|
var $variant = _a.$variant,
|
|
@@ -2684,7 +2712,7 @@ var getVariantStyles = function getVariantStyles(_a) {
|
|
|
2684
2712
|
$disabled = _a.$disabled;
|
|
2685
2713
|
// Boolean chips with selected state get special background
|
|
2686
2714
|
if ($selected) {
|
|
2687
|
-
return "\n background-color: ".concat(
|
|
2715
|
+
return "\n background-color: ".concat(tokensJson.semantic.color.background['interactive-subtle'], ";\n color: ").concat(chip["default"].textColor, ";\n \n &:hover {\n background-color: ").concat($disabled ? tokensJson.semantic.color.background['interactive-subtle'] : $clickable ? '#CAE8FF' : tokensJson.semantic.color.background['interactive-subtle'], ";\n }\n \n &:active {\n background-color: ").concat($disabled ? tokensJson.semantic.color.background['interactive-subtle'] : $clickable ? '#B5DEFF' : tokensJson.semantic.color.background['interactive-subtle'], ";\n }\n ");
|
|
2688
2716
|
}
|
|
2689
2717
|
switch ($variant) {
|
|
2690
2718
|
case 'emphasis':
|
|
@@ -2719,7 +2747,7 @@ var StyledChip = styled.span.withConfig({
|
|
|
2719
2747
|
componentId: "sc-moa6zc-0"
|
|
2720
2748
|
})(templateObject_1$D || (templateObject_1$D = __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"
|
|
2721
2749
|
// Icon container for selected indicator or leading icons
|
|
2722
|
-
])), chip["default"].borderRadius,
|
|
2750
|
+
])), chip["default"].borderRadius, tokensJson.semantic.motion.hover, function (props) {
|
|
2723
2751
|
return props.$disabled ? 'not-allowed' : props.$clickable ? 'pointer' : 'default';
|
|
2724
2752
|
}, getVariantStyles, getSizeStyles, chip.focus.outline, chip.focus.outlineOffset);
|
|
2725
2753
|
// Icon container for selected indicator or leading icons
|
|
@@ -2728,7 +2756,7 @@ var IconContainer = styled.span.withConfig({
|
|
|
2728
2756
|
componentId: "sc-moa6zc-1"
|
|
2729
2757
|
})(templateObject_2$r || (templateObject_2$r = __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"
|
|
2730
2758
|
// Close button for dismissible chips
|
|
2731
|
-
])),
|
|
2759
|
+
])), tokensJson.semantic.spacing.layout.xs);
|
|
2732
2760
|
// Close button for dismissible chips
|
|
2733
2761
|
var CloseButton = styled.button.withConfig({
|
|
2734
2762
|
shouldForwardProp: function shouldForwardProp(prop) {
|
|
@@ -2736,9 +2764,9 @@ var CloseButton = styled.button.withConfig({
|
|
|
2736
2764
|
},
|
|
2737
2765
|
displayName: "ChipBase__CloseButton",
|
|
2738
2766
|
componentId: "sc-moa6zc-2"
|
|
2739
|
-
})(templateObject_3$p || (templateObject_3$p = __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"])),
|
|
2767
|
+
})(templateObject_3$p || (templateObject_3$p = __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"])), tokensJson.semantic.spacing.layout.sm, tokensJson.semantic.border.radius.xs, function (props) {
|
|
2740
2768
|
return props.$disabled ? 'not-allowed' : 'pointer';
|
|
2741
|
-
},
|
|
2769
|
+
}, tokensJson.semantic.motion.hover, tokensJson.semantic.color.text.disabled, chip.focus.outline, chip.focus.outlineOffset, chip["default"].borderRadius);
|
|
2742
2770
|
var templateObject_1$D, templateObject_2$r, templateObject_3$p;
|
|
2743
2771
|
|
|
2744
2772
|
/**
|
|
@@ -2968,12 +2996,12 @@ var BooleanChip = function BooleanChip(_a) {
|
|
|
2968
2996
|
|
|
2969
2997
|
// Breakpoints using base tokens
|
|
2970
2998
|
var breakpoints$1 = {
|
|
2971
|
-
xs:
|
|
2972
|
-
sm:
|
|
2973
|
-
md:
|
|
2974
|
-
lg:
|
|
2975
|
-
xl:
|
|
2976
|
-
'2xl':
|
|
2999
|
+
xs: tokensJson.base.breakpoint.xs,
|
|
3000
|
+
sm: tokensJson.base.breakpoint.sm,
|
|
3001
|
+
md: tokensJson.base.breakpoint.md,
|
|
3002
|
+
lg: tokensJson.base.breakpoint.lg,
|
|
3003
|
+
xl: tokensJson.base.breakpoint.xl,
|
|
3004
|
+
'2xl': tokensJson.base.breakpoint['2xl']
|
|
2977
3005
|
};
|
|
2978
3006
|
// Media query helpers
|
|
2979
3007
|
var media$1 = {
|
|
@@ -2985,7 +3013,7 @@ var media$1 = {
|
|
|
2985
3013
|
'2xl': "@media (min-width: ".concat(breakpoints$1['2xl'], ")")
|
|
2986
3014
|
};
|
|
2987
3015
|
|
|
2988
|
-
var spacing$6 =
|
|
3016
|
+
var spacing$6 = tokensJson.semantic.spacing;
|
|
2989
3017
|
var StyledContainer$2 = styled.div.withConfig({
|
|
2990
3018
|
displayName: "Container__StyledContainer",
|
|
2991
3019
|
componentId: "sc-17dbj6n-0"
|
|
@@ -2999,7 +3027,7 @@ var Container$1 = function Container(_a) {
|
|
|
2999
3027
|
};
|
|
3000
3028
|
var templateObject_1$C;
|
|
3001
3029
|
|
|
3002
|
-
var base$b =
|
|
3030
|
+
var base$b = tokensJson.base;
|
|
3003
3031
|
var PictureWrapper = styled.div.withConfig({
|
|
3004
3032
|
displayName: "Picture__PictureWrapper",
|
|
3005
3033
|
componentId: "sc-11d9tei-0"
|
|
@@ -3047,7 +3075,7 @@ var Picture = function Picture(_a) {
|
|
|
3047
3075
|
};
|
|
3048
3076
|
var templateObject_1$B, templateObject_2$q, templateObject_3$o, templateObject_4$k;
|
|
3049
3077
|
|
|
3050
|
-
var _a$7 =
|
|
3078
|
+
var _a$7 = tokensJson.semantic,
|
|
3051
3079
|
typography$3 = _a$7.typography,
|
|
3052
3080
|
color$6 = _a$7.color;
|
|
3053
3081
|
var TimeStyled = styled.time.withConfig({
|
|
@@ -3104,8 +3132,8 @@ var DateFormatter = function DateFormatter(_a) {
|
|
|
3104
3132
|
};
|
|
3105
3133
|
var templateObject_1$A;
|
|
3106
3134
|
|
|
3107
|
-
var motion$2 =
|
|
3108
|
-
_a$6 =
|
|
3135
|
+
var motion$2 = tokensJson.semantic.motion,
|
|
3136
|
+
_a$6 = tokensJson.component,
|
|
3109
3137
|
iconButton = _a$6.iconButton,
|
|
3110
3138
|
button = _a$6.button;
|
|
3111
3139
|
var IconButtonStyled = styled.button.withConfig({
|
|
@@ -3336,9 +3364,9 @@ var MoneyDisplay = function MoneyDisplay(_a) {
|
|
|
3336
3364
|
var templateObject_1$y;
|
|
3337
3365
|
|
|
3338
3366
|
// Destructure tokens
|
|
3339
|
-
var semantic$f =
|
|
3367
|
+
var semantic$f = tokensJson.semantic;
|
|
3340
3368
|
var _a$5 = __assign(__assign({}, semantic$f), {
|
|
3341
|
-
component:
|
|
3369
|
+
component: tokensJson.component
|
|
3342
3370
|
}),
|
|
3343
3371
|
color$5 = _a$5.color,
|
|
3344
3372
|
border$7 = _a$5.border,
|
|
@@ -3410,8 +3438,8 @@ var ProgressBar = function ProgressBar(_a) {
|
|
|
3410
3438
|
var templateObject_1$x, templateObject_2$p, templateObject_3$n, templateObject_4$j, templateObject_5$f, templateObject_6$c, templateObject_7$a;
|
|
3411
3439
|
|
|
3412
3440
|
// Destructure tokens for cleaner access
|
|
3413
|
-
var separatorTokens =
|
|
3414
|
-
var separatorSpacing =
|
|
3441
|
+
var separatorTokens = tokensJson.component.separator;
|
|
3442
|
+
var separatorSpacing = tokensJson.semantic.spacing.separator;
|
|
3415
3443
|
var StyledDivider = styled.div.withConfig({
|
|
3416
3444
|
shouldForwardProp: function shouldForwardProp(prop) {
|
|
3417
3445
|
return !prop.startsWith('$');
|
|
@@ -3545,12 +3573,12 @@ var StyledStack = styled.div.withConfig({
|
|
|
3545
3573
|
// Helper function to convert gap prop to CSS value
|
|
3546
3574
|
var getGapValue = function getGapValue(gap) {
|
|
3547
3575
|
// Get semantic layout spacing token
|
|
3548
|
-
var semanticSpacing =
|
|
3576
|
+
var semanticSpacing = tokensJson.semantic.spacing.layout;
|
|
3549
3577
|
if (gap in semanticSpacing) {
|
|
3550
3578
|
return semanticSpacing[gap];
|
|
3551
3579
|
}
|
|
3552
3580
|
// Fallback to medium layout spacing if token not found
|
|
3553
|
-
return
|
|
3581
|
+
return tokensJson.semantic.spacing.layout.md;
|
|
3554
3582
|
};
|
|
3555
3583
|
var Stack = function Stack(_a) {
|
|
3556
3584
|
var children = _a.children,
|
|
@@ -3581,11 +3609,11 @@ var Stack = function Stack(_a) {
|
|
|
3581
3609
|
var templateObject_1$v;
|
|
3582
3610
|
|
|
3583
3611
|
// Destructure tokens for cleaner access
|
|
3584
|
-
var statusColors =
|
|
3585
|
-
var spacing$5 =
|
|
3586
|
-
var radius$1 =
|
|
3587
|
-
var transition =
|
|
3588
|
-
var typography$2 =
|
|
3612
|
+
var statusColors = tokensJson.semantic.color.status;
|
|
3613
|
+
var spacing$5 = tokensJson.semantic.spacing.layout;
|
|
3614
|
+
var radius$1 = tokensJson.semantic.border.radius;
|
|
3615
|
+
var transition = tokensJson.semantic.motion.transition;
|
|
3616
|
+
var typography$2 = tokensJson.semantic.typography;
|
|
3589
3617
|
var scaleIn$1 = styled.keyframes(templateObject_1$u || (templateObject_1$u = __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"])));
|
|
3590
3618
|
var getStatusConfig = function getStatusConfig(status) {
|
|
3591
3619
|
var configs = {
|
|
@@ -3747,7 +3775,7 @@ var StatusBadge = function StatusBadge(_a) {
|
|
|
3747
3775
|
StatusBadge.displayName = 'StatusBadge';
|
|
3748
3776
|
var templateObject_1$u, templateObject_2$o, templateObject_3$m;
|
|
3749
3777
|
|
|
3750
|
-
var semantic$e =
|
|
3778
|
+
var semantic$e = tokensJson.semantic;
|
|
3751
3779
|
var color$4 = semantic$e.color,
|
|
3752
3780
|
spacing$4 = semantic$e.spacing,
|
|
3753
3781
|
border$6 = semantic$e.border,
|
|
@@ -3847,7 +3875,7 @@ var Tag = function Tag(_a) {
|
|
|
3847
3875
|
var templateObject_1$t;
|
|
3848
3876
|
|
|
3849
3877
|
// Destructure tokens for cleaner access
|
|
3850
|
-
var semantic$d =
|
|
3878
|
+
var semantic$d = tokensJson.semantic;
|
|
3851
3879
|
var spacing$3 = semantic$d.spacing;
|
|
3852
3880
|
var layout$2 = spacing$3.layout;
|
|
3853
3881
|
var StyledBalanceSection = styled.div.withConfig({
|
|
@@ -4023,8 +4051,8 @@ var AccountCard = function AccountCard(_a) {
|
|
|
4023
4051
|
};
|
|
4024
4052
|
var templateObject_1$s, templateObject_2$n, templateObject_3$l, templateObject_4$i, templateObject_5$e;
|
|
4025
4053
|
|
|
4026
|
-
var semantic$c =
|
|
4027
|
-
base$a =
|
|
4054
|
+
var semantic$c = tokensJson.semantic,
|
|
4055
|
+
base$a = tokensJson.base;
|
|
4028
4056
|
var StyledListItem = styled.li.withConfig({
|
|
4029
4057
|
shouldForwardProp: function shouldForwardProp(prop) {
|
|
4030
4058
|
return !prop.startsWith('$');
|
|
@@ -4064,7 +4092,7 @@ var StyledItemContent = styled.div.withConfig({
|
|
|
4064
4092
|
var $interactive = _a.$interactive,
|
|
4065
4093
|
$disabled = _a.$disabled,
|
|
4066
4094
|
$selected = _a.$selected;
|
|
4067
|
-
return !$disabled && $interactive && "\n &:hover {\n background-color: ".concat($selected ?
|
|
4095
|
+
return !$disabled && $interactive && "\n &:hover {\n background-color: ".concat($selected ? tokensJson.component.button.variants.secondary.backgroundColor : tokensJson.component.button.variants.secondary.backgroundColor, ";\n }\n \n &:active {\n background-color: ").concat(tokensJson.component.button.variants.naked.backgroundColor, ";\n }\n ");
|
|
4068
4096
|
}, semantic$c.color.border.interactive);
|
|
4069
4097
|
var StyledIconContainer$1 = styled.div.withConfig({
|
|
4070
4098
|
displayName: "ListItem__StyledIconContainer",
|
|
@@ -4218,7 +4246,7 @@ var ListItem = function ListItem(_a) {
|
|
|
4218
4246
|
ListItem.displayName = 'ListItem';
|
|
4219
4247
|
var templateObject_1$r, templateObject_2$m, templateObject_3$k, templateObject_4$h, templateObject_5$d, templateObject_6$b, templateObject_7$9;
|
|
4220
4248
|
|
|
4221
|
-
var _a$4 =
|
|
4249
|
+
var _a$4 = tokensJson.semantic,
|
|
4222
4250
|
color$3 = _a$4.color,
|
|
4223
4251
|
border$5 = _a$4.border,
|
|
4224
4252
|
layout$1 = _a$4.spacing.layout,
|
|
@@ -4561,9 +4589,9 @@ function agentInputStateTransition(currentState, event) {
|
|
|
4561
4589
|
}
|
|
4562
4590
|
}
|
|
4563
4591
|
|
|
4564
|
-
var semantic$b =
|
|
4565
|
-
base$9 =
|
|
4566
|
-
component$1 =
|
|
4592
|
+
var semantic$b = tokensJson.semantic,
|
|
4593
|
+
base$9 = tokensJson.base,
|
|
4594
|
+
component$1 = tokensJson.component;
|
|
4567
4595
|
var DEFAULT_IDLE_HELPER = 'Ask about transactions, spending, or transfers';
|
|
4568
4596
|
var DEFAULT_LISTENING_MESSAGE = 'Listening… speak now';
|
|
4569
4597
|
var DEFAULT_PROCESSING_MESSAGE = 'Finishing voice input…';
|
|
@@ -5276,8 +5304,8 @@ var AgentInput = function AgentInput(_a) {
|
|
|
5276
5304
|
};
|
|
5277
5305
|
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, templateObject_9$4, templateObject_10$2, templateObject_11$2, templateObject_12$2, templateObject_13$2, templateObject_14$1, templateObject_15$1, templateObject_16$1, templateObject_17$1;
|
|
5278
5306
|
|
|
5279
|
-
var semantic$a =
|
|
5280
|
-
base$8 =
|
|
5307
|
+
var semantic$a = tokensJson.semantic,
|
|
5308
|
+
base$8 = tokensJson.base;
|
|
5281
5309
|
// Default icons by variant
|
|
5282
5310
|
var variantIcons = {
|
|
5283
5311
|
error: 'crossCircle',
|
|
@@ -5428,11 +5456,11 @@ var _a$3, _b$1, _c, _d, _e, _f;
|
|
|
5428
5456
|
var BreadcrumbNavStyled = styled.nav.withConfig({
|
|
5429
5457
|
displayName: "Breadcrumbs__BreadcrumbNavStyled",
|
|
5430
5458
|
componentId: "sc-7ouzg5-0"
|
|
5431
|
-
})(templateObject_1$n || (templateObject_1$n = __makeTemplateObject(["\n border-bottom: ", ";\n\n ol {\n display: flex;\n align-items: center;\n list-style: none;\n margin: 0;\n padding: 0;\n }\n"], ["\n border-bottom: ", ";\n\n ol {\n display: flex;\n align-items: center;\n list-style: none;\n margin: 0;\n padding: 0;\n }\n"])), ((_b$1 = (_a$3 =
|
|
5459
|
+
})(templateObject_1$n || (templateObject_1$n = __makeTemplateObject(["\n border-bottom: ", ";\n\n ol {\n display: flex;\n align-items: center;\n list-style: none;\n margin: 0;\n padding: 0;\n }\n"], ["\n border-bottom: ", ";\n\n ol {\n display: flex;\n align-items: center;\n list-style: none;\n margin: 0;\n padding: 0;\n }\n"])), ((_b$1 = (_a$3 = tokensJson.semantic) === null || _a$3 === void 0 ? void 0 : _a$3.border) === null || _b$1 === void 0 ? void 0 : _b$1["default"]) || '0.0625rem solid #e9ecef');
|
|
5432
5460
|
var BreadcrumbStyled = styled.li.withConfig({
|
|
5433
5461
|
displayName: "Breadcrumbs__BreadcrumbStyled",
|
|
5434
5462
|
componentId: "sc-7ouzg5-1"
|
|
5435
|
-
})(templateObject_2$i || (templateObject_2$i = __makeTemplateObject(["\n text-transform: uppercase;\n display: inline-flex;\n align-items: center;\n gap: ", ";\n padding: ", ";\n\n &:last-of-type a {\n text-decoration: none;\n color: ", ";\n }\n\n &:last-of-type p {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: 180px;\n }\n\n > a {\n display: inline-flex;\n align-items: center;\n text-decoration: underline;\n color: ", ";\n }\n"], ["\n text-transform: uppercase;\n display: inline-flex;\n align-items: center;\n gap: ", ";\n padding: ", ";\n\n &:last-of-type a {\n text-decoration: none;\n color: ", ";\n }\n\n &:last-of-type p {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: 180px;\n }\n\n > a {\n display: inline-flex;\n align-items: center;\n text-decoration: underline;\n color: ", ";\n }\n"])), ((_d = (_c =
|
|
5463
|
+
})(templateObject_2$i || (templateObject_2$i = __makeTemplateObject(["\n text-transform: uppercase;\n display: inline-flex;\n align-items: center;\n gap: ", ";\n padding: ", ";\n\n &:last-of-type a {\n text-decoration: none;\n color: ", ";\n }\n\n &:last-of-type p {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: 180px;\n }\n\n > a {\n display: inline-flex;\n align-items: center;\n text-decoration: underline;\n color: ", ";\n }\n"], ["\n text-transform: uppercase;\n display: inline-flex;\n align-items: center;\n gap: ", ";\n padding: ", ";\n\n &:last-of-type a {\n text-decoration: none;\n color: ", ";\n }\n\n &:last-of-type p {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: 180px;\n }\n\n > a {\n display: inline-flex;\n align-items: center;\n text-decoration: underline;\n color: ", ";\n }\n"])), ((_d = (_c = tokensJson.base) === null || _c === void 0 ? void 0 : _c.spacing) === null || _d === void 0 ? void 0 : _d['2']) || '0.5rem', ((_f = (_e = tokensJson.base) === null || _e === void 0 ? void 0 : _e.spacing) === null || _f === void 0 ? void 0 : _f['2']) || '0.5rem', tokensJson.semantic.color.text.subdued, tokensJson.semantic.color.text["default"]);
|
|
5436
5464
|
var BreadcrumbSeparator = styled.span.withConfig({
|
|
5437
5465
|
displayName: "Breadcrumbs__BreadcrumbSeparator",
|
|
5438
5466
|
componentId: "sc-7ouzg5-2"
|
|
@@ -5489,7 +5517,7 @@ var templateObject_1$n, templateObject_2$i, templateObject_3$g;
|
|
|
5489
5517
|
var CardSmallStyled = styled.div.withConfig({
|
|
5490
5518
|
displayName: "CardSmall__CardSmallStyled",
|
|
5491
5519
|
componentId: "sc-jpcqvd-0"
|
|
5492
|
-
})(templateObject_1$m || (templateObject_1$m = __makeTemplateObject(["\n a {\n text-decoration: none;\n }\n\n img {\n border-radius: ", ";\n transition: ease opacity 0.2s;\n width: 100%;\n height: auto;\n display: block;\n }\n\n &:hover {\n img {\n opacity: 0.8;\n }\n }\n\n &:focus-within {\n outline: none;\n box-shadow: 0 0 0 2px ", ";\n }\n"], ["\n a {\n text-decoration: none;\n }\n\n img {\n border-radius: ", ";\n transition: ease opacity 0.2s;\n width: 100%;\n height: auto;\n display: block;\n }\n\n &:hover {\n img {\n opacity: 0.8;\n }\n }\n\n &:focus-within {\n outline: none;\n box-shadow: 0 0 0 2px ", ";\n }\n"])),
|
|
5520
|
+
})(templateObject_1$m || (templateObject_1$m = __makeTemplateObject(["\n a {\n text-decoration: none;\n }\n\n img {\n border-radius: ", ";\n transition: ease opacity 0.2s;\n width: 100%;\n height: auto;\n display: block;\n }\n\n &:hover {\n img {\n opacity: 0.8;\n }\n }\n\n &:focus-within {\n outline: none;\n box-shadow: 0 0 0 2px ", ";\n }\n"], ["\n a {\n text-decoration: none;\n }\n\n img {\n border-radius: ", ";\n transition: ease opacity 0.2s;\n width: 100%;\n height: auto;\n display: block;\n }\n\n &:hover {\n img {\n opacity: 0.8;\n }\n }\n\n &:focus-within {\n outline: none;\n box-shadow: 0 0 0 2px ", ";\n }\n"])), tokensJson.base.border.radius[2], tokensJson.semantic.color.border.strong);
|
|
5493
5521
|
var CardSmall = function CardSmall(_a) {
|
|
5494
5522
|
var title = _a.title,
|
|
5495
5523
|
picture = _a.picture,
|
|
@@ -5543,7 +5571,7 @@ var CardSmall = function CardSmall(_a) {
|
|
|
5543
5571
|
};
|
|
5544
5572
|
var templateObject_1$m;
|
|
5545
5573
|
|
|
5546
|
-
var border$4 =
|
|
5574
|
+
var border$4 = tokensJson.base.border;
|
|
5547
5575
|
var CardLargeStyled = styled.div.withConfig({
|
|
5548
5576
|
displayName: "CardLarge__CardLargeStyled",
|
|
5549
5577
|
componentId: "sc-1rfgdzl-0"
|
|
@@ -5633,25 +5661,25 @@ var StyledCheckbox = styled.span.withConfig({
|
|
|
5633
5661
|
/**
|
|
5634
5662
|
* Container for checkbox with proper spacing and alignment
|
|
5635
5663
|
* 48px min-height for touch target (8px grid aligned)
|
|
5636
|
-
*/])),
|
|
5637
|
-
return props.$checked || props.$indeterminate ?
|
|
5664
|
+
*/])), tokensJson.component.input["default"].borderRadius, tokensJson.component.input["default"].borderWidth, function (props) {
|
|
5665
|
+
return props.$checked || props.$indeterminate ? tokensJson.semantic.color.background.inverse : tokensJson.component.input["default"].backgroundColor;
|
|
5638
5666
|
}, function (props) {
|
|
5639
|
-
if (props.$state === 'error') return
|
|
5640
|
-
if (props.$checked || props.$indeterminate) return
|
|
5641
|
-
return
|
|
5667
|
+
if (props.$state === 'error') return tokensJson.component.input.error.borderColor;
|
|
5668
|
+
if (props.$checked || props.$indeterminate) return tokensJson.semantic.border.strong;
|
|
5669
|
+
return tokensJson.component.input["default"].borderColor;
|
|
5642
5670
|
}, function (props) {
|
|
5643
5671
|
return props.$state === 'disabled' ? 'not-allowed' : 'pointer';
|
|
5644
5672
|
}, HiddenCheckboxInput, function (props) {
|
|
5645
|
-
return props.$state === 'error' ?
|
|
5646
|
-
}, HiddenCheckboxInput,
|
|
5647
|
-
return props.$state === 'error' ?
|
|
5673
|
+
return props.$state === 'error' ? tokensJson.component.input.error.hover.borderColor : props.$checked || props.$indeterminate ? tokensJson.semantic.border.strong : tokensJson.component.input.hover.borderColor;
|
|
5674
|
+
}, HiddenCheckboxInput, tokensJson.component.input.focus.outline, tokensJson.component.input.focus.outlineOffset, function (props) {
|
|
5675
|
+
return props.$state === 'error' ? tokensJson.component.input.error.focus.borderColor : tokensJson.component.input.focus.borderColor;
|
|
5648
5676
|
}, function (props) {
|
|
5649
|
-
return props.$state === 'disabled' && "\n background-color: ".concat(
|
|
5677
|
+
return props.$state === 'disabled' && "\n background-color: ".concat(tokensJson.component.input.disabled.backgroundColor, ";\n border-color: ").concat(tokensJson.component.input.disabled.borderColor, ";\n ");
|
|
5650
5678
|
}, function (props) {
|
|
5651
5679
|
return props.$checked ? 'block' : 'none';
|
|
5652
|
-
},
|
|
5680
|
+
}, tokensJson.semantic.color.text.inverse, function (props) {
|
|
5653
5681
|
return props.$indeterminate ? 'block' : 'none';
|
|
5654
|
-
},
|
|
5682
|
+
}, tokensJson.semantic.color.text.inverse);
|
|
5655
5683
|
/**
|
|
5656
5684
|
* Container for checkbox with proper spacing and alignment
|
|
5657
5685
|
* 48px min-height for touch target (8px grid aligned)
|
|
@@ -5665,7 +5693,7 @@ var StyledCheckboxContainer = styled.label.withConfig({
|
|
|
5665
5693
|
})(templateObject_3$f || (templateObject_3$f = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n gap: ", ";\n cursor: ", ";\n min-height: 32px;\n flex-direction: ", ";\n user-select: none;\n"], ["\n display: inline-flex;\n align-items: center;\n gap: ", ";\n cursor: ", ";\n min-height: 32px;\n flex-direction: ", ";\n user-select: none;\n"
|
|
5666
5694
|
/**
|
|
5667
5695
|
* Label text with proper typography
|
|
5668
|
-
*/])),
|
|
5696
|
+
*/])), tokensJson.base.spacing[3], function (props) {
|
|
5669
5697
|
return props.$disabled ? 'not-allowed' : 'pointer';
|
|
5670
5698
|
}, function (props) {
|
|
5671
5699
|
return props.$labelPosition === 'left' ? 'row-reverse' : 'row';
|
|
@@ -5679,15 +5707,15 @@ var StyledCheckboxLabel = styled.span.withConfig({
|
|
|
5679
5707
|
},
|
|
5680
5708
|
displayName: "SelectableInputBase__StyledCheckboxLabel",
|
|
5681
5709
|
componentId: "sc-1ddpctx-3"
|
|
5682
|
-
})(templateObject_4$d || (templateObject_4$d = __makeTemplateObject(["\n font: ", ";\n color: ", ";\n"], ["\n font: ", ";\n color: ", ";\n"])),
|
|
5683
|
-
return props.$disabled ?
|
|
5710
|
+
})(templateObject_4$d || (templateObject_4$d = __makeTemplateObject(["\n font: ", ";\n color: ", ";\n"], ["\n font: ", ";\n color: ", ";\n"])), tokensJson.component.input["default"].font, function (props) {
|
|
5711
|
+
return props.$disabled ? tokensJson.component.input.disabled.textColor : tokensJson.component.input["default"].textColor;
|
|
5684
5712
|
});
|
|
5685
5713
|
var templateObject_1$k, templateObject_2$h, templateObject_3$f, templateObject_4$d;
|
|
5686
5714
|
|
|
5687
5715
|
var StyledFieldContainer$3 = styled.div.withConfig({
|
|
5688
5716
|
displayName: "Checkbox__StyledFieldContainer",
|
|
5689
5717
|
componentId: "sc-vquz3v-0"
|
|
5690
|
-
})(templateObject_1$j || (templateObject_1$j = __makeTemplateObject(["\n display: inline-flex;\n flex-direction: column;\n gap: ", ";\n"], ["\n display: inline-flex;\n flex-direction: column;\n gap: ", ";\n"])),
|
|
5718
|
+
})(templateObject_1$j || (templateObject_1$j = __makeTemplateObject(["\n display: inline-flex;\n flex-direction: column;\n gap: ", ";\n"], ["\n display: inline-flex;\n flex-direction: column;\n gap: ", ";\n"])), tokensJson.base.spacing[1]);
|
|
5691
5719
|
var StyledHelperText$4 = styled.span.withConfig({
|
|
5692
5720
|
displayName: "Checkbox__StyledHelperText",
|
|
5693
5721
|
componentId: "sc-vquz3v-1"
|
|
@@ -5713,9 +5741,9 @@ var StyledHelperText$4 = styled.span.withConfig({
|
|
|
5713
5741
|
* required
|
|
5714
5742
|
* />
|
|
5715
5743
|
* ```
|
|
5716
|
-
*/])),
|
|
5717
|
-
return props.$error ?
|
|
5718
|
-
},
|
|
5744
|
+
*/])), tokensJson.semantic.typography.small, function (props) {
|
|
5745
|
+
return props.$error ? tokensJson.semantic.color.text.error : tokensJson.semantic.color.text.subdued;
|
|
5746
|
+
}, tokensJson.base.spacing[9]);
|
|
5719
5747
|
/**
|
|
5720
5748
|
* Checkbox component for binary selection with WCAG 2.2 AA compliance
|
|
5721
5749
|
*
|
|
@@ -5837,7 +5865,7 @@ var ChipGroup = function ChipGroup(_a) {
|
|
|
5837
5865
|
};
|
|
5838
5866
|
var templateObject_1$i;
|
|
5839
5867
|
|
|
5840
|
-
var _a$2 =
|
|
5868
|
+
var _a$2 = tokensJson.semantic,
|
|
5841
5869
|
color$2 = _a$2.color,
|
|
5842
5870
|
border$3 = _a$2.border,
|
|
5843
5871
|
spacing$2 = _a$2.spacing;
|
|
@@ -5845,7 +5873,7 @@ var _a$2 = tokensData.semantic,
|
|
|
5845
5873
|
var StyledCodeBlock = styled.pre.withConfig({
|
|
5846
5874
|
displayName: "CodeBlock__StyledCodeBlock",
|
|
5847
5875
|
componentId: "sc-1p1t0kp-0"
|
|
5848
|
-
})(templateObject_1$h || (templateObject_1$h = __makeTemplateObject(["\n background-color: ", ";\n border: ", ";\n border-radius: ", ";\n padding: ", ";\n font-family: ", ";\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n overflow-x: auto;\n overflow-y: ", ";\n margin: ", " 0;\n position: relative;\n transition: max-height 300ms ease-in-out;\n \n ", "\n"], ["\n background-color: ", ";\n border: ", ";\n border-radius: ", ";\n padding: ", ";\n font-family: ", ";\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n overflow-x: auto;\n overflow-y: ", ";\n margin: ", " 0;\n position: relative;\n transition: max-height 300ms ease-in-out;\n \n ", "\n"])), color$2.background.subtle, border$3.subtle,
|
|
5876
|
+
})(templateObject_1$h || (templateObject_1$h = __makeTemplateObject(["\n background-color: ", ";\n border: ", ";\n border-radius: ", ";\n padding: ", ";\n font-family: ", ";\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n overflow-x: auto;\n overflow-y: ", ";\n margin: ", " 0;\n position: relative;\n transition: max-height 300ms ease-in-out;\n \n ", "\n"], ["\n background-color: ", ";\n border: ", ";\n border-radius: ", ";\n padding: ", ";\n font-family: ", ";\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n overflow-x: auto;\n overflow-y: ", ";\n margin: ", " 0;\n position: relative;\n transition: max-height 300ms ease-in-out;\n \n ", "\n"])), color$2.background.subtle, border$3.subtle, tokensJson.base.border.radius[2], spacing$2.layout.md, tokensJson.base.fontFamily.monospace, tokensJson.base.fontSize[1], tokensJson.base.lineHeight[3], color$2.text["default"], function (_a) {
|
|
5849
5877
|
var $isExpanded = _a.$isExpanded,
|
|
5850
5878
|
$needsExpansion = _a.$needsExpansion;
|
|
5851
5879
|
return $needsExpansion && !$isExpanded ? 'hidden' : 'auto';
|
|
@@ -5869,7 +5897,7 @@ var CopyButtonWrapper = styled.div.withConfig({
|
|
|
5869
5897
|
var ExpandButtonWrapper = styled.div.withConfig({
|
|
5870
5898
|
displayName: "CodeBlock__ExpandButtonWrapper",
|
|
5871
5899
|
componentId: "sc-1p1t0kp-3"
|
|
5872
|
-
})(templateObject_4$c || (templateObject_4$c = __makeTemplateObject(["\n display: flex;\n justify-content: center;\n padding: ", " 0;\n position: absolute;\n bottom: 1px;\n left: 1px;\n right: 1px;\n width: calc(100% - 2px);\n margin-bottom: ", ";\n border-radius: ", ";\n transition: opacity 300ms ease-in-out, background 300ms ease-in-out;\n \n ", "\n"], ["\n display: flex;\n justify-content: center;\n padding: ", " 0;\n position: absolute;\n bottom: 1px;\n left: 1px;\n right: 1px;\n width: calc(100% - 2px);\n margin-bottom: ", ";\n border-radius: ", ";\n transition: opacity 300ms ease-in-out, background 300ms ease-in-out;\n \n ", "\n"])), spacing$2.layout.sm, spacing$2.layout.sm,
|
|
5900
|
+
})(templateObject_4$c || (templateObject_4$c = __makeTemplateObject(["\n display: flex;\n justify-content: center;\n padding: ", " 0;\n position: absolute;\n bottom: 1px;\n left: 1px;\n right: 1px;\n width: calc(100% - 2px);\n margin-bottom: ", ";\n border-radius: ", ";\n transition: opacity 300ms ease-in-out, background 300ms ease-in-out;\n \n ", "\n"], ["\n display: flex;\n justify-content: center;\n padding: ", " 0;\n position: absolute;\n bottom: 1px;\n left: 1px;\n right: 1px;\n width: calc(100% - 2px);\n margin-bottom: ", ";\n border-radius: ", ";\n transition: opacity 300ms ease-in-out, background 300ms ease-in-out;\n \n ", "\n"])), spacing$2.layout.sm, spacing$2.layout.sm, tokensJson.base.border.radius[2], function (_a) {
|
|
5873
5901
|
var $hasGradient = _a.$hasGradient;
|
|
5874
5902
|
return $hasGradient ? "\n margin-top: -".concat(spacing$2.layout['4xl'], ";\n padding-top: ").concat(spacing$2.layout['4xl'], ";\n background: linear-gradient(\n to bottom,\n transparent 0%,\n ").concat(color$2.background.subtle, " 60%\n );\n ") : "\n background: transparent;\n ";
|
|
5875
5903
|
});
|
|
@@ -6032,18 +6060,18 @@ var templateObject_1$h, templateObject_2$f, templateObject_3$e, templateObject_4
|
|
|
6032
6060
|
var StyledHeader$1 = styled.div.withConfig({
|
|
6033
6061
|
displayName: "DateGroup__StyledHeader",
|
|
6034
6062
|
componentId: "sc-9nfm1f-0"
|
|
6035
|
-
})(templateObject_1$g || (templateObject_1$g = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: ", " ", ";\n background-color: ", ";\n border-bottom: 1px solid ", ";\n \n ", "\n"], ["\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: ", " ", ";\n background-color: ", ";\n border-bottom: 1px solid ", ";\n \n ", "\n"])),
|
|
6063
|
+
})(templateObject_1$g || (templateObject_1$g = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: ", " ", ";\n background-color: ", ";\n border-bottom: 1px solid ", ";\n \n ", "\n"], ["\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: ", " ", ";\n background-color: ", ";\n border-bottom: 1px solid ", ";\n \n ", "\n"])), tokensJson.semantic.spacing.layout.md, tokensJson.semantic.spacing.layout.sm, tokensJson.semantic.color.background["default"], tokensJson.semantic.color.border["default"], function (_a) {
|
|
6036
6064
|
var $sticky = _a.$sticky;
|
|
6037
|
-
return $sticky && "\n position: sticky;\n top: 0;\n z-index: 10;\n box-shadow: ".concat(
|
|
6065
|
+
return $sticky && "\n position: sticky;\n top: 0;\n z-index: 10;\n box-shadow: ".concat(tokensJson.base.shadow[2], ";\n ");
|
|
6038
6066
|
});
|
|
6039
6067
|
var StyledLeftSection = styled.div.withConfig({
|
|
6040
6068
|
displayName: "DateGroup__StyledLeftSection",
|
|
6041
6069
|
componentId: "sc-9nfm1f-1"
|
|
6042
|
-
})(templateObject_2$e || (templateObject_2$e = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: ", ";\n"], ["\n display: flex;\n align-items: center;\n gap: ", ";\n"])),
|
|
6070
|
+
})(templateObject_2$e || (templateObject_2$e = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: ", ";\n"], ["\n display: flex;\n align-items: center;\n gap: ", ";\n"])), tokensJson.semantic.spacing.layout.sm);
|
|
6043
6071
|
var StyledRightSection = styled.div.withConfig({
|
|
6044
6072
|
displayName: "DateGroup__StyledRightSection",
|
|
6045
6073
|
componentId: "sc-9nfm1f-2"
|
|
6046
|
-
})(templateObject_3$d || (templateObject_3$d = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: ", ";\n"], ["\n display: flex;\n align-items: center;\n gap: ", ";\n"])),
|
|
6074
|
+
})(templateObject_3$d || (templateObject_3$d = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: ", ";\n"], ["\n display: flex;\n align-items: center;\n gap: ", ";\n"])), tokensJson.semantic.spacing.layout.md);
|
|
6047
6075
|
var StyledContent = styled.div.withConfig({
|
|
6048
6076
|
displayName: "DateGroup__StyledContent",
|
|
6049
6077
|
componentId: "sc-9nfm1f-3"
|
|
@@ -6121,7 +6149,7 @@ var DateGroup = function DateGroup(_a) {
|
|
|
6121
6149
|
};
|
|
6122
6150
|
var templateObject_1$g, templateObject_2$e, templateObject_3$d, templateObject_4$b;
|
|
6123
6151
|
|
|
6124
|
-
var semantic$9 =
|
|
6152
|
+
var semantic$9 = tokensJson.semantic;
|
|
6125
6153
|
var StyledContainer$1 = styled.div.withConfig({
|
|
6126
6154
|
shouldForwardProp: function shouldForwardProp(prop) {
|
|
6127
6155
|
return !prop.startsWith('$');
|
|
@@ -6240,21 +6268,21 @@ var EmptyState = function EmptyState(_a) {
|
|
|
6240
6268
|
};
|
|
6241
6269
|
var templateObject_1$f, templateObject_2$d, templateObject_3$c;
|
|
6242
6270
|
|
|
6243
|
-
var _a$1 =
|
|
6271
|
+
var _a$1 = tokensJson.base,
|
|
6244
6272
|
spacing$1 = _a$1.spacing,
|
|
6245
6273
|
border$2 = _a$1.border;
|
|
6246
6274
|
var FeatureBlockStyled = styled.div.withConfig({
|
|
6247
6275
|
displayName: "FeatureBlock__FeatureBlockStyled",
|
|
6248
6276
|
componentId: "sc-1mi4lso-0"
|
|
6249
|
-
})(templateObject_1$e || (templateObject_1$e = __makeTemplateObject(["\n @media (min-width: ", ") {\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n }\n\n @media (min-width: ", ") {\n gap: ", ";\n }\n\n img {\n border-radius: ", ";\n transition: ease opacity 0.2s;\n\n &:hover {\n opacity: 0.8;\n }\n }\n\n a {\n text-decoration: none;\n }\n"], ["\n @media (min-width: ", ") {\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n }\n\n @media (min-width: ", ") {\n gap: ", ";\n }\n\n img {\n border-radius: ", ";\n transition: ease opacity 0.2s;\n\n &:hover {\n opacity: 0.8;\n }\n }\n\n a {\n text-decoration: none;\n }\n"])),
|
|
6277
|
+
})(templateObject_1$e || (templateObject_1$e = __makeTemplateObject(["\n @media (min-width: ", ") {\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n }\n\n @media (min-width: ", ") {\n gap: ", ";\n }\n\n img {\n border-radius: ", ";\n transition: ease opacity 0.2s;\n\n &:hover {\n opacity: 0.8;\n }\n }\n\n a {\n text-decoration: none;\n }\n"], ["\n @media (min-width: ", ") {\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n }\n\n @media (min-width: ", ") {\n gap: ", ";\n }\n\n img {\n border-radius: ", ";\n transition: ease opacity 0.2s;\n\n &:hover {\n opacity: 0.8;\n }\n }\n\n a {\n text-decoration: none;\n }\n"])), tokensJson.base.breakpoint.md, tokensJson.base.breakpoint.lg, spacing$1[12], border$2.radius[6]);
|
|
6250
6278
|
var ImageWrapper = styled.div.withConfig({
|
|
6251
6279
|
displayName: "FeatureBlock__ImageWrapper",
|
|
6252
6280
|
componentId: "sc-1mi4lso-1"
|
|
6253
|
-
})(templateObject_2$c || (templateObject_2$c = __makeTemplateObject(["\n grid-column: span 12;\n\n @media (min-width: ", ") {\n grid-column: span 6;\n }\n"], ["\n grid-column: span 12;\n\n @media (min-width: ", ") {\n grid-column: span 6;\n }\n"])),
|
|
6281
|
+
})(templateObject_2$c || (templateObject_2$c = __makeTemplateObject(["\n grid-column: span 12;\n\n @media (min-width: ", ") {\n grid-column: span 6;\n }\n"], ["\n grid-column: span 12;\n\n @media (min-width: ", ") {\n grid-column: span 6;\n }\n"])), tokensJson.base.breakpoint.lg);
|
|
6254
6282
|
var ContentSection = styled.div.withConfig({
|
|
6255
6283
|
displayName: "FeatureBlock__ContentSection",
|
|
6256
6284
|
componentId: "sc-1mi4lso-2"
|
|
6257
|
-
})(templateObject_3$b || (templateObject_3$b = __makeTemplateObject(["\n grid-column: span 12;\n margin-top: ", ";\n\n @media (min-width: ", ") {\n grid-column: span 6;\n margin-top: 0;\n padding-right: ", ";\n }\n\n @media (min-width: ", ") {\n padding-right: ", ";\n }\n"], ["\n grid-column: span 12;\n margin-top: ", ";\n\n @media (min-width: ", ") {\n grid-column: span 6;\n margin-top: 0;\n padding-right: ", ";\n }\n\n @media (min-width: ", ") {\n padding-right: ", ";\n }\n"])), spacing$1[6],
|
|
6285
|
+
})(templateObject_3$b || (templateObject_3$b = __makeTemplateObject(["\n grid-column: span 12;\n margin-top: ", ";\n\n @media (min-width: ", ") {\n grid-column: span 6;\n margin-top: 0;\n padding-right: ", ";\n }\n\n @media (min-width: ", ") {\n padding-right: ", ";\n }\n"], ["\n grid-column: span 12;\n margin-top: ", ";\n\n @media (min-width: ", ") {\n grid-column: span 6;\n margin-top: 0;\n padding-right: ", ";\n }\n\n @media (min-width: ", ") {\n padding-right: ", ";\n }\n"])), spacing$1[6], tokensJson.base.breakpoint.lg, spacing$1[8], tokensJson.base.breakpoint.xl, spacing$1[24]);
|
|
6258
6286
|
var ButtonWrapper = styled.div.withConfig({
|
|
6259
6287
|
displayName: "FeatureBlock__ButtonWrapper",
|
|
6260
6288
|
componentId: "sc-1mi4lso-3"
|
|
@@ -6321,15 +6349,15 @@ var FeatureBlock = function FeatureBlock(_a) {
|
|
|
6321
6349
|
};
|
|
6322
6350
|
var templateObject_1$e, templateObject_2$c, templateObject_3$b, templateObject_4$a, templateObject_5$9;
|
|
6323
6351
|
|
|
6324
|
-
var _a =
|
|
6352
|
+
var _a = tokensJson.base,
|
|
6325
6353
|
spacing = _a.spacing,
|
|
6326
6354
|
shadow = _a.shadow,
|
|
6327
6355
|
zIndex = _a.zIndex,
|
|
6328
|
-
_b =
|
|
6356
|
+
_b = tokensJson.semantic,
|
|
6329
6357
|
color$1 = _b.color,
|
|
6330
6358
|
typography = _b.typography,
|
|
6331
6359
|
border$1 = _b.border,
|
|
6332
|
-
input$1 =
|
|
6360
|
+
input$1 = tokensJson.component.input;
|
|
6333
6361
|
var DropdownContainer = styled.div.withConfig({
|
|
6334
6362
|
displayName: "Dropdown__DropdownContainer",
|
|
6335
6363
|
componentId: "sc-kz07c4-0"
|
|
@@ -6575,7 +6603,7 @@ var Dropdown = function Dropdown(_a) {
|
|
|
6575
6603
|
};
|
|
6576
6604
|
var templateObject_1$d, templateObject_2$b, templateObject_3$a, templateObject_4$9, templateObject_5$8, templateObject_6$7;
|
|
6577
6605
|
|
|
6578
|
-
var semantic$8 =
|
|
6606
|
+
var semantic$8 = tokensJson.semantic;
|
|
6579
6607
|
var StyledList = styled.ul.withConfig({
|
|
6580
6608
|
shouldForwardProp: function shouldForwardProp(prop) {
|
|
6581
6609
|
return !prop.startsWith('$');
|
|
@@ -6608,8 +6636,8 @@ var List = function List(_a) {
|
|
|
6608
6636
|
List.displayName = 'List';
|
|
6609
6637
|
var templateObject_1$c;
|
|
6610
6638
|
|
|
6611
|
-
var semantic$7 =
|
|
6612
|
-
base$7 =
|
|
6639
|
+
var semantic$7 = tokensJson.semantic,
|
|
6640
|
+
base$7 = tokensJson.base;
|
|
6613
6641
|
var layout = semantic$7.spacing.layout,
|
|
6614
6642
|
color = semantic$7.color,
|
|
6615
6643
|
border = semantic$7.border,
|
|
@@ -6831,7 +6859,7 @@ var Modal = function Modal(_a) {
|
|
|
6831
6859
|
Modal.displayName = 'Modal';
|
|
6832
6860
|
var templateObject_1$b, templateObject_2$a, templateObject_3$9, templateObject_4$8, templateObject_5$7, templateObject_6$6, templateObject_7$5, templateObject_8$4, templateObject_9$3;
|
|
6833
6861
|
|
|
6834
|
-
var input =
|
|
6862
|
+
var input = tokensJson.component.input;
|
|
6835
6863
|
var StyledInputBase = styled.input.withConfig({
|
|
6836
6864
|
shouldForwardProp: function shouldForwardProp(prop) {
|
|
6837
6865
|
return !prop.startsWith('$');
|
|
@@ -6872,8 +6900,8 @@ var StyledTextAreaBase = styled.textarea.withConfig({
|
|
|
6872
6900
|
})(templateObject_2$9 || (templateObject_2$9 = __makeTemplateObject(["\n /* Inherit all input base styles */\n ", "\n \n /* TextArea specific */\n min-height: 120px;\n resize: vertical;\n font-family: inherit;\n line-height: 1.5;\n"], ["\n /* Inherit all input base styles */\n ", "\n \n /* TextArea specific */\n min-height: 120px;\n resize: vertical;\n font-family: inherit;\n line-height: 1.5;\n"])), StyledInputBase);
|
|
6873
6901
|
var templateObject_1$a, templateObject_2$9;
|
|
6874
6902
|
|
|
6875
|
-
var semantic$6 =
|
|
6876
|
-
base$6 =
|
|
6903
|
+
var semantic$6 = tokensJson.semantic,
|
|
6904
|
+
base$6 = tokensJson.base;
|
|
6877
6905
|
var StyledFieldContainer$2 = styled.div.withConfig({
|
|
6878
6906
|
displayName: "NumberInput__StyledFieldContainer",
|
|
6879
6907
|
componentId: "sc-qotc3w-0"
|
|
@@ -7133,9 +7161,9 @@ var PageTitleStyled = styled.div.withConfig({
|
|
|
7133
7161
|
},
|
|
7134
7162
|
displayName: "PageTitle__PageTitleStyled",
|
|
7135
7163
|
componentId: "sc-16h256f-0"
|
|
7136
|
-
})(templateObject_1$8 || (templateObject_1$8 = __makeTemplateObject(["\n margin-bottom: ", ";\n margin-top: ", ";\n"], ["\n margin-bottom: ", ";\n margin-top: ", ";\n"])),
|
|
7164
|
+
})(templateObject_1$8 || (templateObject_1$8 = __makeTemplateObject(["\n margin-bottom: ", ";\n margin-top: ", ";\n"], ["\n margin-bottom: ", ";\n margin-top: ", ";\n"])), tokensJson.base.spacing[6], function (_a) {
|
|
7137
7165
|
var $hasBackButton = _a.$hasBackButton;
|
|
7138
|
-
return $hasBackButton ?
|
|
7166
|
+
return $hasBackButton ? tokensJson.base.spacing[0] : tokensJson.base.spacing[12];
|
|
7139
7167
|
});
|
|
7140
7168
|
var PageTitle = function PageTitle(_a) {
|
|
7141
7169
|
var title = _a.title,
|
|
@@ -7166,8 +7194,8 @@ var PageTitle = function PageTitle(_a) {
|
|
|
7166
7194
|
};
|
|
7167
7195
|
var templateObject_1$8;
|
|
7168
7196
|
|
|
7169
|
-
var semantic$5 =
|
|
7170
|
-
base$5 =
|
|
7197
|
+
var semantic$5 = tokensJson.semantic,
|
|
7198
|
+
base$5 = tokensJson.base;
|
|
7171
7199
|
var StyledFieldContainer$1 = styled.div.withConfig({
|
|
7172
7200
|
displayName: "PasswordField__StyledFieldContainer",
|
|
7173
7201
|
componentId: "sc-1p15zk0-0"
|
|
@@ -7299,9 +7327,9 @@ var PasswordField = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
7299
7327
|
PasswordField.displayName = 'PasswordField';
|
|
7300
7328
|
var templateObject_1$7, templateObject_2$7, templateObject_3$7, templateObject_4$6, templateObject_5$5, templateObject_6$4;
|
|
7301
7329
|
|
|
7302
|
-
var semantic$4 =
|
|
7303
|
-
base$4 =
|
|
7304
|
-
component =
|
|
7330
|
+
var semantic$4 = tokensJson.semantic,
|
|
7331
|
+
base$4 = tokensJson.base,
|
|
7332
|
+
component = tokensJson.component;
|
|
7305
7333
|
var StyledSearchContainer = styled.div.withConfig({
|
|
7306
7334
|
displayName: "SearchField__StyledSearchContainer",
|
|
7307
7335
|
componentId: "sc-qhz9i8-0"
|
|
@@ -7628,8 +7656,8 @@ var SearchField = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
7628
7656
|
SearchField.displayName = 'SearchField';
|
|
7629
7657
|
var templateObject_1$6, templateObject_2$6, templateObject_3$6, templateObject_4$5, templateObject_5$4;
|
|
7630
7658
|
|
|
7631
|
-
var semantic$3 =
|
|
7632
|
-
base$3 =
|
|
7659
|
+
var semantic$3 = tokensJson.semantic,
|
|
7660
|
+
base$3 = tokensJson.base;
|
|
7633
7661
|
// Fade in animation for overlay
|
|
7634
7662
|
var fadeIn = styled.keyframes(templateObject_1$5 || (templateObject_1$5 = __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"
|
|
7635
7663
|
// Slide animations for each position
|
|
@@ -7833,8 +7861,8 @@ var Sheet = function Sheet(_a) {
|
|
|
7833
7861
|
Sheet.displayName = 'Sheet';
|
|
7834
7862
|
var templateObject_1$5, templateObject_2$5, templateObject_3$5, templateObject_4$4, templateObject_5$3, templateObject_6$3, templateObject_7$3, templateObject_8$3, templateObject_9$2, templateObject_10$1, templateObject_11$1, templateObject_12$1, templateObject_13$1;
|
|
7835
7863
|
|
|
7836
|
-
var semantic$2 =
|
|
7837
|
-
base$2 =
|
|
7864
|
+
var semantic$2 = tokensJson.semantic,
|
|
7865
|
+
base$2 = tokensJson.base;
|
|
7838
7866
|
var StyledSliderContainer = styled.div.withConfig({
|
|
7839
7867
|
displayName: "Slider__StyledSliderContainer",
|
|
7840
7868
|
componentId: "sc-6mh2d4-0"
|
|
@@ -8239,8 +8267,8 @@ var Slider = function Slider(_a) {
|
|
|
8239
8267
|
Slider.displayName = 'Slider';
|
|
8240
8268
|
var templateObject_1$4, templateObject_2$4, templateObject_3$4, templateObject_4$3, templateObject_5$2, templateObject_6$2, templateObject_7$2, templateObject_8$2;
|
|
8241
8269
|
|
|
8242
|
-
var semantic$1 =
|
|
8243
|
-
base$1 =
|
|
8270
|
+
var semantic$1 = tokensJson.semantic,
|
|
8271
|
+
base$1 = tokensJson.base;
|
|
8244
8272
|
var StyledTabList = styled.div.withConfig({
|
|
8245
8273
|
shouldForwardProp: function shouldForwardProp(prop) {
|
|
8246
8274
|
return !prop.startsWith('$');
|
|
@@ -8458,8 +8486,8 @@ var TabBar = function TabBar(_a) {
|
|
|
8458
8486
|
TabBar.displayName = 'TabBar';
|
|
8459
8487
|
var templateObject_1$3, templateObject_2$3, templateObject_3$3;
|
|
8460
8488
|
|
|
8461
|
-
var semantic =
|
|
8462
|
-
base =
|
|
8489
|
+
var semantic = tokensJson.semantic,
|
|
8490
|
+
base = tokensJson.base;
|
|
8463
8491
|
var StyledFieldContainer = styled.div.withConfig({
|
|
8464
8492
|
displayName: "TextField__StyledFieldContainer",
|
|
8465
8493
|
componentId: "sc-1ys3b0-0"
|
|
@@ -8564,9 +8592,9 @@ var templateObject_1$2, templateObject_2$2, templateObject_3$2, templateObject_4
|
|
|
8564
8592
|
var StyledContainer = styled.div.withConfig({
|
|
8565
8593
|
displayName: "TransactionListItem__StyledContainer",
|
|
8566
8594
|
componentId: "sc-7yunm0-0"
|
|
8567
|
-
})(templateObject_1$1 || (templateObject_1$1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n min-height: 72px;\n padding: ", " ", ";\n background-color: ", ";\n border-bottom: 1px solid ", ";\n gap: ", ";\n transition: background-color 0.2s ease;\n \n ", "\n"], ["\n display: flex;\n align-items: center;\n min-height: 72px;\n padding: ", " ", ";\n background-color: ", ";\n border-bottom: 1px solid ", ";\n gap: ", ";\n transition: background-color 0.2s ease;\n \n ", "\n"])),
|
|
8595
|
+
})(templateObject_1$1 || (templateObject_1$1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n min-height: 72px;\n padding: ", " ", ";\n background-color: ", ";\n border-bottom: 1px solid ", ";\n gap: ", ";\n transition: background-color 0.2s ease;\n \n ", "\n"], ["\n display: flex;\n align-items: center;\n min-height: 72px;\n padding: ", " ", ";\n background-color: ", ";\n border-bottom: 1px solid ", ";\n gap: ", ";\n transition: background-color 0.2s ease;\n \n ", "\n"])), tokensJson.semantic.spacing.layout.md, tokensJson.semantic.spacing.layout.md, tokensJson.semantic.color.background["default"], tokensJson.semantic.color.border["default"], tokensJson.semantic.spacing.layout.md, function (_a) {
|
|
8568
8596
|
var $clickable = _a.$clickable;
|
|
8569
|
-
return $clickable && "\n cursor: pointer;\n \n &:hover {\n background-color: ".concat(
|
|
8597
|
+
return $clickable && "\n cursor: pointer;\n \n &:hover {\n background-color: ".concat(tokensJson.semantic.color.background.subtle, ";\n }\n \n &:active {\n background-color: ").concat(tokensJson.semantic.color.background['interactive-active'], ";\n }\n \n &:focus-visible {\n outline: 2px solid ").concat(tokensJson.semantic.color.border.interactive, ";\n outline-offset: -2px;\n }\n ");
|
|
8570
8598
|
});
|
|
8571
8599
|
var StyledAvatarSection = styled.div.withConfig({
|
|
8572
8600
|
displayName: "TransactionListItem__StyledAvatarSection",
|
|
@@ -8579,23 +8607,23 @@ var StyledMainContent = styled.div.withConfig({
|
|
|
8579
8607
|
var StyledTopRow = styled.div.withConfig({
|
|
8580
8608
|
displayName: "TransactionListItem__StyledTopRow",
|
|
8581
8609
|
componentId: "sc-7yunm0-3"
|
|
8582
|
-
})(templateObject_4$1 || (templateObject_4$1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: ", ";\n"], ["\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: ", ";\n"])),
|
|
8610
|
+
})(templateObject_4$1 || (templateObject_4$1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: ", ";\n"], ["\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: ", ";\n"])), tokensJson.semantic.spacing.layout.sm);
|
|
8583
8611
|
var StyledMerchantSection = styled.div.withConfig({
|
|
8584
8612
|
displayName: "TransactionListItem__StyledMerchantSection",
|
|
8585
8613
|
componentId: "sc-7yunm0-4"
|
|
8586
|
-
})(templateObject_5$1 || (templateObject_5$1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: ", ";\n min-width: 0;\n flex: 1;\n"], ["\n display: flex;\n align-items: center;\n gap: ", ";\n min-width: 0;\n flex: 1;\n"])),
|
|
8614
|
+
})(templateObject_5$1 || (templateObject_5$1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: ", ";\n min-width: 0;\n flex: 1;\n"], ["\n display: flex;\n align-items: center;\n gap: ", ";\n min-width: 0;\n flex: 1;\n"])), tokensJson.semantic.spacing.layout.sm);
|
|
8587
8615
|
var StyledBottomRow = styled.div.withConfig({
|
|
8588
8616
|
displayName: "TransactionListItem__StyledBottomRow",
|
|
8589
8617
|
componentId: "sc-7yunm0-5"
|
|
8590
|
-
})(templateObject_6$1 || (templateObject_6$1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: ", ";\n"], ["\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: ", ";\n"])),
|
|
8618
|
+
})(templateObject_6$1 || (templateObject_6$1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: ", ";\n"], ["\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: ", ";\n"])), tokensJson.semantic.spacing.layout.sm);
|
|
8591
8619
|
var StyledMetadata = styled.div.withConfig({
|
|
8592
8620
|
displayName: "TransactionListItem__StyledMetadata",
|
|
8593
8621
|
componentId: "sc-7yunm0-6"
|
|
8594
|
-
})(templateObject_7$1 || (templateObject_7$1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: ", ";\n"], ["\n display: flex;\n align-items: center;\n gap: ", ";\n"])),
|
|
8622
|
+
})(templateObject_7$1 || (templateObject_7$1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: ", ";\n"], ["\n display: flex;\n align-items: center;\n gap: ", ";\n"])), tokensJson.semantic.spacing.layout.sm);
|
|
8595
8623
|
var StyledIconIndicator = styled.div.withConfig({
|
|
8596
8624
|
displayName: "TransactionListItem__StyledIconIndicator",
|
|
8597
8625
|
componentId: "sc-7yunm0-7"
|
|
8598
|
-
})(templateObject_8$1 || (templateObject_8$1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: ", ";\n color: ", ";\n"], ["\n display: flex;\n align-items: center;\n gap: ", ";\n color: ", ";\n"])),
|
|
8626
|
+
})(templateObject_8$1 || (templateObject_8$1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: ", ";\n color: ", ";\n"], ["\n display: flex;\n align-items: center;\n gap: ", ";\n color: ", ";\n"])), tokensJson.semantic.spacing.layout.xs, tokensJson.semantic.color.icon.subdued);
|
|
8599
8627
|
var StyledTruncatedText = styled.span.withConfig({
|
|
8600
8628
|
displayName: "TransactionListItem__StyledTruncatedText",
|
|
8601
8629
|
componentId: "sc-7yunm0-8"
|
|
@@ -8776,12 +8804,12 @@ var templateObject_1$1, templateObject_2$1, templateObject_3$1, templateObject_4
|
|
|
8776
8804
|
|
|
8777
8805
|
// Breakpoints using base tokens
|
|
8778
8806
|
var breakpoints = {
|
|
8779
|
-
xs:
|
|
8780
|
-
sm:
|
|
8781
|
-
md:
|
|
8782
|
-
lg:
|
|
8783
|
-
xl:
|
|
8784
|
-
'2xl':
|
|
8807
|
+
xs: tokensJson.base.breakpoint.xs,
|
|
8808
|
+
sm: tokensJson.base.breakpoint.sm,
|
|
8809
|
+
md: tokensJson.base.breakpoint.md,
|
|
8810
|
+
lg: tokensJson.base.breakpoint.lg,
|
|
8811
|
+
xl: tokensJson.base.breakpoint.xl,
|
|
8812
|
+
'2xl': tokensJson.base.breakpoint['2xl']
|
|
8785
8813
|
};
|
|
8786
8814
|
// Media query helpers
|
|
8787
8815
|
var media = {
|
|
@@ -8817,9 +8845,9 @@ var Grid = function Grid(_a) {
|
|
|
8817
8845
|
children = _a.children;
|
|
8818
8846
|
return jsxRuntime.jsx(GridContainer, {
|
|
8819
8847
|
"$cols": cols,
|
|
8820
|
-
"$gap": gap ?
|
|
8821
|
-
"$gapX": gapX ?
|
|
8822
|
-
"$gapY": gapY ?
|
|
8848
|
+
"$gap": gap ? tokensJson.base.spacing[gap] : undefined,
|
|
8849
|
+
"$gapX": gapX ? tokensJson.base.spacing[gapX] : undefined,
|
|
8850
|
+
"$gapY": gapY ? tokensJson.base.spacing[gapY] : undefined,
|
|
8823
8851
|
className: className,
|
|
8824
8852
|
children: children
|
|
8825
8853
|
});
|
|
@@ -8955,29 +8983,36 @@ var ResponsiveGrid = function ResponsiveGrid(_a) {
|
|
|
8955
8983
|
"$colsMd": colsMd,
|
|
8956
8984
|
"$colsLg": colsLg,
|
|
8957
8985
|
"$colsXl": colsXl,
|
|
8958
|
-
"$gap": gap ?
|
|
8959
|
-
"$gapSm": gapSm ?
|
|
8960
|
-
"$gapMd": gapMd ?
|
|
8961
|
-
"$gapLg": gapLg ?
|
|
8962
|
-
"$gapXl": gapXl ?
|
|
8963
|
-
"$gapX": gapX ?
|
|
8964
|
-
"$gapXSm": gapXSm ?
|
|
8965
|
-
"$gapXMd": gapXMd ?
|
|
8966
|
-
"$gapXLg": gapXLg ?
|
|
8967
|
-
"$gapXXl": gapXXl ?
|
|
8968
|
-
"$gapY": gapY ?
|
|
8969
|
-
"$gapYSm": gapYSm ?
|
|
8970
|
-
"$gapYMd": gapYMd ?
|
|
8971
|
-
"$gapYLg": gapYLg ?
|
|
8972
|
-
"$gapYXl": gapYXl ?
|
|
8986
|
+
"$gap": gap ? tokensJson.base.spacing[gap] : undefined,
|
|
8987
|
+
"$gapSm": gapSm ? tokensJson.base.spacing[gapSm] : undefined,
|
|
8988
|
+
"$gapMd": gapMd ? tokensJson.base.spacing[gapMd] : undefined,
|
|
8989
|
+
"$gapLg": gapLg ? tokensJson.base.spacing[gapLg] : undefined,
|
|
8990
|
+
"$gapXl": gapXl ? tokensJson.base.spacing[gapXl] : undefined,
|
|
8991
|
+
"$gapX": gapX ? tokensJson.base.spacing[gapX] : undefined,
|
|
8992
|
+
"$gapXSm": gapXSm ? tokensJson.base.spacing[gapXSm] : undefined,
|
|
8993
|
+
"$gapXMd": gapXMd ? tokensJson.base.spacing[gapXMd] : undefined,
|
|
8994
|
+
"$gapXLg": gapXLg ? tokensJson.base.spacing[gapXLg] : undefined,
|
|
8995
|
+
"$gapXXl": gapXXl ? tokensJson.base.spacing[gapXXl] : undefined,
|
|
8996
|
+
"$gapY": gapY ? tokensJson.base.spacing[gapY] : undefined,
|
|
8997
|
+
"$gapYSm": gapYSm ? tokensJson.base.spacing[gapYSm] : undefined,
|
|
8998
|
+
"$gapYMd": gapYMd ? tokensJson.base.spacing[gapYMd] : undefined,
|
|
8999
|
+
"$gapYLg": gapYLg ? tokensJson.base.spacing[gapYLg] : undefined,
|
|
9000
|
+
"$gapYXl": gapYXl ? tokensJson.base.spacing[gapYXl] : undefined,
|
|
8973
9001
|
className: className,
|
|
8974
9002
|
children: children
|
|
8975
9003
|
});
|
|
8976
9004
|
};
|
|
8977
9005
|
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22, templateObject_23, templateObject_24, templateObject_25, templateObject_26, templateObject_27, templateObject_28, templateObject_29, templateObject_30, templateObject_31, templateObject_32, templateObject_33, templateObject_34, templateObject_35;
|
|
8978
9006
|
|
|
8979
|
-
//
|
|
8980
|
-
|
|
9007
|
+
// Re-declared as a const so emitted .d.ts files inline the token shape instead of importing JSON,
|
|
9008
|
+
// which consumers can only resolve with `resolveJsonModule`.
|
|
9009
|
+
var tokens = tokensJson;
|
|
9010
|
+
|
|
9011
|
+
// Icon type definitions for external consumption
|
|
9012
|
+
// This is a self-contained type that doesn't depend on JSON imports
|
|
9013
|
+
// to ensure it works correctly in consuming projects
|
|
9014
|
+
// Typed as IconRegistry so emitted .d.ts files don't import JSON (needs `resolveJsonModule` in consumers).
|
|
9015
|
+
var iconsData = iconsJson;
|
|
8981
9016
|
|
|
8982
9017
|
exports.AccountCard = AccountCard;
|
|
8983
9018
|
exports.ActionSheet = ActionSheet;
|