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