@asdp/ferryui 0.1.22-dev.9838 → 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 +18 -15
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +18 -15
- 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"};
|
|
@@ -13120,11 +13127,7 @@ var CardVehicleOwnerForm = ({
|
|
|
13120
13127
|
cargoItems: updatedCargoItems
|
|
13121
13128
|
});
|
|
13122
13129
|
},
|
|
13123
|
-
options: loadTypeOptions.
|
|
13124
|
-
(lt) => lt.commodityId === (getValues(
|
|
13125
|
-
`owners.${index}.cargo.${cargoIndex}.commodity`
|
|
13126
|
-
) || "")
|
|
13127
|
-
).map((lt) => ({
|
|
13130
|
+
options: loadTypeOptions.map((lt) => ({
|
|
13128
13131
|
value: lt.id.toString(),
|
|
13129
13132
|
label: `${lt.name} (${lt.unit?.name})`
|
|
13130
13133
|
})),
|
|
@@ -13150,7 +13153,7 @@ var CardVehicleOwnerForm = ({
|
|
|
13150
13153
|
`owners.${index}.cargo.${cargoIndex}.cargoType`
|
|
13151
13154
|
);
|
|
13152
13155
|
const selectedLoadType = loadTypes.find(
|
|
13153
|
-
(loadType) => loadType.id === type
|
|
13156
|
+
(loadType) => loadType.id.toString() === type
|
|
13154
13157
|
);
|
|
13155
13158
|
if (!selectedLoadType) {
|
|
13156
13159
|
return /* @__PURE__ */ jsxs(Col, { md: 3, children: [
|
|
@@ -13339,9 +13342,9 @@ var CardVehicleOwnerForm = ({
|
|
|
13339
13342
|
`owners.${index}.cargo.${cargoIndex}.cargoType`
|
|
13340
13343
|
);
|
|
13341
13344
|
const selectedLoadType2 = loadTypes.find(
|
|
13342
|
-
(loadType) => loadType.id === type2
|
|
13345
|
+
(loadType) => loadType.id.toString() === type2
|
|
13343
13346
|
);
|
|
13344
|
-
return selectedLoadType2?.unit?.name
|
|
13347
|
+
return selectedLoadType2?.unit?.name;
|
|
13345
13348
|
})()
|
|
13346
13349
|
}
|
|
13347
13350
|
)
|
|
@@ -15328,7 +15331,6 @@ var useStyles37 = makeStyles({
|
|
|
15328
15331
|
},
|
|
15329
15332
|
title: {
|
|
15330
15333
|
color: tokens.colorNeutralForeground2
|
|
15331
|
-
// Neutral_Stroke_Accessible_Rest based on Review.tsx usually
|
|
15332
15334
|
},
|
|
15333
15335
|
list: {
|
|
15334
15336
|
margin: 0,
|
|
@@ -15358,7 +15360,7 @@ var CardPaymentGuide = ({
|
|
|
15358
15360
|
const mergedLabels = { ...DEFAULT_LABELS35[language], ...labels };
|
|
15359
15361
|
const displayTitle = title || mergedLabels.title;
|
|
15360
15362
|
return /* @__PURE__ */ jsxs("div", { className: `${styles.container} ${className || ""}`, children: [
|
|
15361
|
-
|
|
15363
|
+
displayTitle && /* @__PURE__ */ jsx("div", { className: styles.titleContainer, children: /* @__PURE__ */ jsx(Subtitle1, { className: styles.title, children: displayTitle }) }),
|
|
15362
15364
|
/* @__PURE__ */ jsx(Accordion, { collapsible: true, multiple: true, children: guides.map((guide, index) => /* @__PURE__ */ jsxs(
|
|
15363
15365
|
AccordionItem,
|
|
15364
15366
|
{
|
|
@@ -15410,10 +15412,10 @@ var useStyles38 = makeStyles({
|
|
|
15410
15412
|
textAlign: "center"
|
|
15411
15413
|
},
|
|
15412
15414
|
expiryTitle: {
|
|
15413
|
-
fontSize:
|
|
15415
|
+
fontSize: `${fontSize[190]}px`,
|
|
15414
15416
|
// 19px approx/mapping
|
|
15415
|
-
|
|
15416
|
-
|
|
15417
|
+
fontWeight: fontWeight.Bold,
|
|
15418
|
+
color: foundationColors.Foundation_Danger_error
|
|
15417
15419
|
},
|
|
15418
15420
|
infoCard: {
|
|
15419
15421
|
border: `${tokens.strokeWidthThin} solid ${tokens.colorNeutralStroke1}`,
|
|
@@ -15508,6 +15510,7 @@ var CardPaymentInfo = ({
|
|
|
15508
15510
|
size: "large",
|
|
15509
15511
|
shape: "circular",
|
|
15510
15512
|
onClick: onCopyVA,
|
|
15513
|
+
style: { width: "80%" },
|
|
15511
15514
|
children: mergedLabels.copyCodeButton
|
|
15512
15515
|
}
|
|
15513
15516
|
)
|
|
@@ -15540,7 +15543,7 @@ var CardPaymentInfo = ({
|
|
|
15540
15543
|
)
|
|
15541
15544
|
] }),
|
|
15542
15545
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
15543
|
-
/* @__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 }) }),
|
|
15544
15547
|
/* @__PURE__ */ jsx(
|
|
15545
15548
|
Button,
|
|
15546
15549
|
{
|