@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 CHANGED
@@ -273,14 +273,21 @@ var brandColors = {
273
273
  };
274
274
  var spacing = {
275
275
  "360": 36};
276
+ var fontSize = {
277
+ "190": 19};
276
278
  var fontWeight = {
277
- "Medium": 500};
279
+ "Medium": 500,
280
+ "Bold": 700
281
+ };
278
282
  var sharedColors = {
279
283
  "Shared_Cranberry_Primary": "#c50f1f",
280
284
  "Shared_Red_Primary": "#d13438",
281
285
  "Shared_Orange_Shade_20": "#bc4b09",
282
286
  "Shared_Orange_Tint_60": "#fff9f5",
283
287
  "Shared_Green_Primary": "#107c10"};
288
+ var foundationColors = {
289
+ "Foundation_Danger_error": "#FD3A3A"
290
+ };
284
291
  var lightModeColors = {
285
292
  "Neutral_Foreground_Disabled_Rest": "#bdbdbd",
286
293
  "Brand_Stroke_1_Rest": "#00B3BD"};
@@ -15333,7 +15340,6 @@ var useStyles37 = reactComponents.makeStyles({
15333
15340
  },
15334
15341
  title: {
15335
15342
  color: reactComponents.tokens.colorNeutralForeground2
15336
- // Neutral_Stroke_Accessible_Rest based on Review.tsx usually
15337
15343
  },
15338
15344
  list: {
15339
15345
  margin: 0,
@@ -15363,7 +15369,7 @@ var CardPaymentGuide = ({
15363
15369
  const mergedLabels = { ...DEFAULT_LABELS35[language], ...labels };
15364
15370
  const displayTitle = title || mergedLabels.title;
15365
15371
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${styles.container} ${className || ""}`, children: [
15366
- title && /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles.titleContainer, children: /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Subtitle1, { className: styles.title, children: displayTitle }) }),
15372
+ displayTitle && /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles.titleContainer, children: /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Subtitle1, { className: styles.title, children: displayTitle }) }),
15367
15373
  /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Accordion, { collapsible: true, multiple: true, children: guides.map((guide, index) => /* @__PURE__ */ jsxRuntime.jsxs(
15368
15374
  reactComponents.AccordionItem,
15369
15375
  {
@@ -15415,10 +15421,10 @@ var useStyles38 = reactComponents.makeStyles({
15415
15421
  textAlign: "center"
15416
15422
  },
15417
15423
  expiryTitle: {
15418
- fontSize: reactComponents.tokens.fontSizeBase500,
15424
+ fontSize: `${fontSize[190]}px`,
15419
15425
  // 19px approx/mapping
15420
- color: reactComponents.tokens.colorPaletteRedBackground3
15421
- // Foundation_Danger_error
15426
+ fontWeight: fontWeight.Bold,
15427
+ color: foundationColors.Foundation_Danger_error
15422
15428
  },
15423
15429
  infoCard: {
15424
15430
  border: `${reactComponents.tokens.strokeWidthThin} solid ${reactComponents.tokens.colorNeutralStroke1}`,
@@ -15513,6 +15519,7 @@ var CardPaymentInfo = ({
15513
15519
  size: "large",
15514
15520
  shape: "circular",
15515
15521
  onClick: onCopyVA,
15522
+ style: { width: "80%" },
15516
15523
  children: mergedLabels.copyCodeButton
15517
15524
  }
15518
15525
  )
@@ -15545,7 +15552,7 @@ var CardPaymentInfo = ({
15545
15552
  )
15546
15553
  ] }),
15547
15554
  /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
15548
- /* @__PURE__ */ jsxRuntime.jsx("div", { style: { marginBottom: reactComponents.tokens.spacingVerticalM }, children: /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Subtitle2, { style: { color: reactComponents.tokens.colorNeutralForeground2 }, children: mergedLabels.checkStatusInfo }) }),
15555
+ /* @__PURE__ */ jsxRuntime.jsx("div", { style: { marginBottom: reactComponents.tokens.spacingVerticalM }, children: /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Subtitle2, { style: { color: reactComponents.tokens.colorNeutralStrokeAccessible, fontWeight: fontWeight.Medium }, children: mergedLabels.checkStatusInfo }) }),
15549
15556
  /* @__PURE__ */ jsxRuntime.jsx(
15550
15557
  reactComponents.Button,
15551
15558
  {