@asdp/ferryui 0.1.22-dev.9840 → 0.1.22-dev.9856
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +14 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +14 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -264,14 +264,21 @@ var brandColors = {
|
|
|
264
264
|
};
|
|
265
265
|
var spacing = {
|
|
266
266
|
"360": 36};
|
|
267
|
+
var fontSize = {
|
|
268
|
+
"190": 19};
|
|
267
269
|
var fontWeight = {
|
|
268
|
-
"Medium": 500
|
|
270
|
+
"Medium": 500,
|
|
271
|
+
"Bold": 700
|
|
272
|
+
};
|
|
269
273
|
var sharedColors = {
|
|
270
274
|
"Shared_Cranberry_Primary": "#c50f1f",
|
|
271
275
|
"Shared_Red_Primary": "#d13438",
|
|
272
276
|
"Shared_Orange_Shade_20": "#bc4b09",
|
|
273
277
|
"Shared_Orange_Tint_60": "#fff9f5",
|
|
274
278
|
"Shared_Green_Primary": "#107c10"};
|
|
279
|
+
var foundationColors = {
|
|
280
|
+
"Foundation_Danger_error": "#FD3A3A"
|
|
281
|
+
};
|
|
275
282
|
var lightModeColors = {
|
|
276
283
|
"Neutral_Foreground_Disabled_Rest": "#bdbdbd",
|
|
277
284
|
"Brand_Stroke_1_Rest": "#00B3BD"};
|
|
@@ -15324,7 +15331,6 @@ var useStyles37 = makeStyles({
|
|
|
15324
15331
|
},
|
|
15325
15332
|
title: {
|
|
15326
15333
|
color: tokens.colorNeutralForeground2
|
|
15327
|
-
// Neutral_Stroke_Accessible_Rest based on Review.tsx usually
|
|
15328
15334
|
},
|
|
15329
15335
|
list: {
|
|
15330
15336
|
margin: 0,
|
|
@@ -15354,7 +15360,7 @@ var CardPaymentGuide = ({
|
|
|
15354
15360
|
const mergedLabels = { ...DEFAULT_LABELS35[language], ...labels };
|
|
15355
15361
|
const displayTitle = title || mergedLabels.title;
|
|
15356
15362
|
return /* @__PURE__ */ jsxs("div", { className: `${styles.container} ${className || ""}`, children: [
|
|
15357
|
-
|
|
15363
|
+
displayTitle && /* @__PURE__ */ jsx("div", { className: styles.titleContainer, children: /* @__PURE__ */ jsx(Subtitle1, { className: styles.title, children: displayTitle }) }),
|
|
15358
15364
|
/* @__PURE__ */ jsx(Accordion, { collapsible: true, multiple: true, children: guides.map((guide, index) => /* @__PURE__ */ jsxs(
|
|
15359
15365
|
AccordionItem,
|
|
15360
15366
|
{
|
|
@@ -15406,10 +15412,10 @@ var useStyles38 = makeStyles({
|
|
|
15406
15412
|
textAlign: "center"
|
|
15407
15413
|
},
|
|
15408
15414
|
expiryTitle: {
|
|
15409
|
-
fontSize:
|
|
15415
|
+
fontSize: `${fontSize[190]}px`,
|
|
15410
15416
|
// 19px approx/mapping
|
|
15411
|
-
|
|
15412
|
-
|
|
15417
|
+
fontWeight: fontWeight.Bold,
|
|
15418
|
+
color: foundationColors.Foundation_Danger_error
|
|
15413
15419
|
},
|
|
15414
15420
|
infoCard: {
|
|
15415
15421
|
border: `${tokens.strokeWidthThin} solid ${tokens.colorNeutralStroke1}`,
|
|
@@ -15504,6 +15510,7 @@ var CardPaymentInfo = ({
|
|
|
15504
15510
|
size: "large",
|
|
15505
15511
|
shape: "circular",
|
|
15506
15512
|
onClick: onCopyVA,
|
|
15513
|
+
style: { width: "80%" },
|
|
15507
15514
|
children: mergedLabels.copyCodeButton
|
|
15508
15515
|
}
|
|
15509
15516
|
)
|
|
@@ -15536,7 +15543,7 @@ var CardPaymentInfo = ({
|
|
|
15536
15543
|
)
|
|
15537
15544
|
] }),
|
|
15538
15545
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
15539
|
-
/* @__PURE__ */ jsx("div", { style: { marginBottom: tokens.spacingVerticalM }, children: /* @__PURE__ */ jsx(Subtitle2, { style: { color: tokens.
|
|
15546
|
+
/* @__PURE__ */ jsx("div", { style: { marginBottom: tokens.spacingVerticalM }, children: /* @__PURE__ */ jsx(Subtitle2, { style: { color: tokens.colorNeutralStrokeAccessible, fontWeight: fontWeight.Medium }, children: mergedLabels.checkStatusInfo }) }),
|
|
15540
15547
|
/* @__PURE__ */ jsx(
|
|
15541
15548
|
Button,
|
|
15542
15549
|
{
|