@asdp/ferryui 0.1.22-dev.9706 → 0.1.22-dev.9719

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.mjs CHANGED
@@ -1605,7 +1605,7 @@ var CardTicket = ({
1605
1605
  ) }),
1606
1606
  /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs("div", { className: styles.ticketInfo, children: [
1607
1607
  /* @__PURE__ */ jsxs("div", { className: styles.ticketTime, children: [
1608
- /* @__PURE__ */ jsx(Caption1, { children: "KAMIS" }),
1608
+ /* @__PURE__ */ jsx(Caption1, { children: departureItem?.departureDay }),
1609
1609
  /* @__PURE__ */ jsx(Title2, { children: departureItem?.departureTime }),
1610
1610
  /* @__PURE__ */ jsx(Caption1, { children: routeItem?.portFrom + ", " + routeItem?.branchFrom })
1611
1611
  ] }),
@@ -1618,7 +1618,7 @@ var CardTicket = ({
1618
1618
  /* @__PURE__ */ jsx("div", { className: styles.dividerContainer, children: /* @__PURE__ */ jsx(Divider, { children: /* @__PURE__ */ jsx(Icon, { icon: "fluent:vehicle-ship-24-regular", height: 24 }) }) })
1619
1619
  ] }),
1620
1620
  /* @__PURE__ */ jsxs("div", { className: styles.ticketTime, children: [
1621
- /* @__PURE__ */ jsx(Caption1, { children: "KAMIS" }),
1621
+ /* @__PURE__ */ jsx(Caption1, { children: departureItem?.arrivedDay }),
1622
1622
  /* @__PURE__ */ jsxs(Title2, { children: [
1623
1623
  departureItem?.arrivedTime,
1624
1624
  " ",
@@ -6616,8 +6616,8 @@ var useStyles11 = makeStyles({
6616
6616
  display: "flex",
6617
6617
  flexDirection: "column",
6618
6618
  alignItems: "center",
6619
- gap: tokens.spacingVerticalS,
6620
- maxWidth: "400px"
6619
+ gap: tokens.spacingVerticalS
6620
+ // maxWidth: "400px",
6621
6621
  },
6622
6622
  title: {
6623
6623
  fontWeight: "600"
@@ -6657,7 +6657,7 @@ var EmptyContent = ({
6657
6657
  }
6658
6658
  ),
6659
6659
  /* @__PURE__ */ jsxs("div", { className: styles.textContainer, children: [
6660
- /* @__PURE__ */ jsx(Subtitle1, { className: styles.title, children: displayTitle }),
6660
+ typeof displayTitle === "string" ? /* @__PURE__ */ jsx(Subtitle1, { className: styles.title, children: displayTitle }) : displayTitle,
6661
6661
  typeof displayMessage === "string" ? /* @__PURE__ */ jsx(Body1, { className: styles.message, children: displayMessage }) : displayMessage
6662
6662
  ] }),
6663
6663
  actionButton && /* @__PURE__ */ jsx(
@@ -16130,10 +16130,7 @@ var FileUpload = React.forwardRef(
16130
16130
  Field,
16131
16131
  {
16132
16132
  ref,
16133
- required,
16134
- label: {
16135
- children: (_, slotProps) => infoLabel ? /* @__PURE__ */ jsx(InfoLabel, { ...slotProps, info: infoLabel, className: styles.infoLabel, children: /* @__PURE__ */ jsx(Body1, { className: styles.label, children: label }) }) : /* @__PURE__ */ jsx(Body1, { className: styles.label, children: label })
16136
- },
16133
+ label: /* @__PURE__ */ jsx(InfoLabel, { info: infoLabel, required, className: styles.infoLabel, children: /* @__PURE__ */ jsx(Body1, { children: label }) }),
16137
16134
  className: styles.fieldContainer,
16138
16135
  children: [
16139
16136
  /* @__PURE__ */ jsx(
@@ -16212,11 +16209,8 @@ var FileUpload = React.forwardRef(
16212
16209
  Field,
16213
16210
  {
16214
16211
  ref,
16215
- required,
16216
16212
  className: styles.fieldContainer,
16217
- label: {
16218
- children: (_, slotProps) => infoLabel ? /* @__PURE__ */ jsx(InfoLabel, { ...slotProps, info: infoLabel, className: styles.infoLabel, children: /* @__PURE__ */ jsx(Body1, { className: styles.label, children: label }) }) : /* @__PURE__ */ jsx(Body1, { className: styles.label, children: label })
16219
- },
16213
+ label: /* @__PURE__ */ jsx(InfoLabel, { info: infoLabel, required, className: styles.infoLabel, children: /* @__PURE__ */ jsx(Body1, { children: label }) }),
16220
16214
  children: [
16221
16215
  /* @__PURE__ */ jsxs(
16222
16216
  Container,