@asdp/ferryui 0.1.22-dev.10391 → 0.1.22-dev.10403
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.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +59 -19
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +59 -19
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -283,6 +283,8 @@ var foundationColors = {
|
|
|
283
283
|
"Foundation_Danger_error": "#FD3A3A"
|
|
284
284
|
};
|
|
285
285
|
var lightModeColors = {
|
|
286
|
+
"Neutral_Background_2_Hover": "#f0f0f0",
|
|
287
|
+
"Neutral_Background_3_Pressed": "#d6d6d6",
|
|
286
288
|
"Neutral_Foreground_Disabled_Rest": "#bdbdbd",
|
|
287
289
|
"Brand_Stroke_1_Rest": "#00B3BD"};
|
|
288
290
|
var tokensV2_default = {
|
|
@@ -13986,7 +13988,14 @@ var useStyles28 = makeStyles({
|
|
|
13986
13988
|
display: "flex",
|
|
13987
13989
|
justifyContent: "space-between",
|
|
13988
13990
|
alignItems: "center",
|
|
13989
|
-
gap: "0.5em"
|
|
13991
|
+
gap: "0.5em",
|
|
13992
|
+
backgroundColor: lightModeColors.Neutral_Background_2_Hover,
|
|
13993
|
+
...shorthands.padding(
|
|
13994
|
+
tokens.spacingHorizontalM,
|
|
13995
|
+
tokens.spacingHorizontalMNudge
|
|
13996
|
+
),
|
|
13997
|
+
border: `${tokens.strokeWidthThin} solid ${lightModeColors.Neutral_Background_3_Pressed}`,
|
|
13998
|
+
borderRadius: tokens.borderRadiusXLarge
|
|
13990
13999
|
},
|
|
13991
14000
|
ticketTime: {
|
|
13992
14001
|
display: "flex",
|
|
@@ -14126,7 +14135,7 @@ var CardBookingTicket = ({
|
|
|
14126
14135
|
{
|
|
14127
14136
|
style: {
|
|
14128
14137
|
height: "1px",
|
|
14129
|
-
backgroundColor: tokens.colorNeutralStroke2,
|
|
14138
|
+
backgroundColor: "tokens.colorNeutralStroke2",
|
|
14130
14139
|
margin: "1rem 0"
|
|
14131
14140
|
}
|
|
14132
14141
|
}
|
|
@@ -14158,22 +14167,47 @@ var CardBookingTicket = ({
|
|
|
14158
14167
|
/* @__PURE__ */ jsxs(Card, { className: styles.bookingDetailBottom, children: [
|
|
14159
14168
|
/* @__PURE__ */ jsxs("div", { className: styles.totalPrice, children: [
|
|
14160
14169
|
/* @__PURE__ */ jsx(Subtitle1, { children: mergedLabels.totalPriceLabel }),
|
|
14161
|
-
/* @__PURE__ */ jsxs(
|
|
14162
|
-
|
|
14163
|
-
|
|
14164
|
-
|
|
14165
|
-
|
|
14166
|
-
|
|
14167
|
-
|
|
14168
|
-
|
|
14169
|
-
|
|
14170
|
-
|
|
14171
|
-
|
|
14172
|
-
|
|
14173
|
-
|
|
14174
|
-
|
|
14175
|
-
|
|
14170
|
+
/* @__PURE__ */ jsxs(
|
|
14171
|
+
"div",
|
|
14172
|
+
{
|
|
14173
|
+
style: {
|
|
14174
|
+
display: "flex",
|
|
14175
|
+
gap: tokens.spacingHorizontalL,
|
|
14176
|
+
alignItems: "center"
|
|
14177
|
+
},
|
|
14178
|
+
children: [
|
|
14179
|
+
/* @__PURE__ */ jsxs(Title3, { className: styles.priceText, children: [
|
|
14180
|
+
mergedLabels.currencySymbol,
|
|
14181
|
+
" ",
|
|
14182
|
+
totalPrice
|
|
14183
|
+
] }),
|
|
14184
|
+
/* @__PURE__ */ jsx(
|
|
14185
|
+
Icon,
|
|
14186
|
+
{
|
|
14187
|
+
icon: "fluent:chevron-down-24-filled",
|
|
14188
|
+
onClick: onPriceDetailClick,
|
|
14189
|
+
style: { cursor: "pointer" }
|
|
14190
|
+
}
|
|
14191
|
+
)
|
|
14192
|
+
]
|
|
14193
|
+
}
|
|
14194
|
+
)
|
|
14176
14195
|
] }),
|
|
14196
|
+
reservationStep === "review" && /* @__PURE__ */ jsx(
|
|
14197
|
+
Checkbox,
|
|
14198
|
+
{
|
|
14199
|
+
label: /* @__PURE__ */ jsxs(Body1, { children: [
|
|
14200
|
+
"Saya menyetujui",
|
|
14201
|
+
" ",
|
|
14202
|
+
/* @__PURE__ */ jsxs("span", { style: { color: brandColors[80] }, children: [
|
|
14203
|
+
" ",
|
|
14204
|
+
"Syarat & Ketentuan"
|
|
14205
|
+
] }),
|
|
14206
|
+
" ",
|
|
14207
|
+
"ferizy"
|
|
14208
|
+
] })
|
|
14209
|
+
}
|
|
14210
|
+
),
|
|
14177
14211
|
/* @__PURE__ */ jsxs("div", { className: styles.gapButton, children: [
|
|
14178
14212
|
!(paymentStep === "pay") && /* @__PURE__ */ jsx(
|
|
14179
14213
|
Button,
|
|
@@ -15466,7 +15500,8 @@ var useStyles34 = makeStyles({
|
|
|
15466
15500
|
boxShadow: "none",
|
|
15467
15501
|
border: `${tokens.strokeWidthThin} solid ${tokens.colorNeutralStroke1}`,
|
|
15468
15502
|
borderRadius: tokens.borderRadiusXLarge,
|
|
15469
|
-
padding: `${tokens.spacingHorizontalL} ${tokens.spacingHorizontalXXL}
|
|
15503
|
+
padding: `${tokens.spacingHorizontalL} ${tokens.spacingHorizontalXXL}`,
|
|
15504
|
+
zIndex: 10
|
|
15470
15505
|
},
|
|
15471
15506
|
titleRow: {
|
|
15472
15507
|
display: "flex",
|
|
@@ -15553,9 +15588,14 @@ var CardReviewPassenger = ({
|
|
|
15553
15588
|
] }) }) }, index)) : passengers.map((passenger, index) => {
|
|
15554
15589
|
const badgeConfig = getBadgeConfig(passenger.serviceClass);
|
|
15555
15590
|
const passengerMeta = `${passenger.ageLabel} \xB7 ${mergedLabels.idNumber} ${passenger.identityNumber}`;
|
|
15591
|
+
const passengerTitle = passenger.titleName?.trim() || "Tuan";
|
|
15556
15592
|
return /* @__PURE__ */ jsx(Col, { xs: 12, children: /* @__PURE__ */ jsx(Card, { className: styles.passengerCard, children: /* @__PURE__ */ jsxs(Row, { nogutter: true, className: styles.passengerRow, children: [
|
|
15557
15593
|
/* @__PURE__ */ jsx(Col, { children: /* @__PURE__ */ jsxs("div", { className: styles.passengerInfo, children: [
|
|
15558
|
-
/* @__PURE__ */
|
|
15594
|
+
/* @__PURE__ */ jsxs(Subtitle2, { className: styles.passengerName, children: [
|
|
15595
|
+
passengerTitle,
|
|
15596
|
+
" ",
|
|
15597
|
+
passenger.name
|
|
15598
|
+
] }),
|
|
15559
15599
|
/* @__PURE__ */ jsx(Body1, { className: styles.passengerMeta, children: passengerMeta })
|
|
15560
15600
|
] }) }),
|
|
15561
15601
|
/* @__PURE__ */ jsx(Col, { xs: "content", children: /* @__PURE__ */ jsxs(
|