@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.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +8 -13
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -13
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -969,7 +969,7 @@ interface EmptyContentProps {
|
|
|
969
969
|
* Title for the empty state
|
|
970
970
|
* If not provided, falls back to the default label for the given language
|
|
971
971
|
*/
|
|
972
|
-
title?: string;
|
|
972
|
+
title?: ReactNode | string;
|
|
973
973
|
/**
|
|
974
974
|
* Dynamic content name to replace `{konten}` or `{content}` placeholder in the default title
|
|
975
975
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -969,7 +969,7 @@ interface EmptyContentProps {
|
|
|
969
969
|
* Title for the empty state
|
|
970
970
|
* If not provided, falls back to the default label for the given language
|
|
971
971
|
*/
|
|
972
|
-
title?: string;
|
|
972
|
+
title?: ReactNode | string;
|
|
973
973
|
/**
|
|
974
974
|
* Dynamic content name to replace `{konten}` or `{content}` placeholder in the default title
|
|
975
975
|
*/
|
package/dist/index.js
CHANGED
|
@@ -139,6 +139,7 @@ var useStyles = reactComponents.makeStyles({
|
|
|
139
139
|
},
|
|
140
140
|
buttonContainer: {
|
|
141
141
|
display: "flex",
|
|
142
|
+
flexDirection: "column",
|
|
142
143
|
width: "100%",
|
|
143
144
|
gap: reactComponents.tokens.spacingHorizontalM
|
|
144
145
|
}
|
|
@@ -1613,7 +1614,7 @@ var CardTicket = ({
|
|
|
1613
1614
|
) }),
|
|
1614
1615
|
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: styles.ticketInfo, children: [
|
|
1615
1616
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: styles.ticketTime, children: [
|
|
1616
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactComponents.Caption1, { children:
|
|
1617
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactComponents.Caption1, { children: departureItem?.departureDay }),
|
|
1617
1618
|
/* @__PURE__ */ jsxRuntime.jsx(reactComponents.Title2, { children: departureItem?.departureTime }),
|
|
1618
1619
|
/* @__PURE__ */ jsxRuntime.jsx(reactComponents.Caption1, { children: routeItem?.portFrom + ", " + routeItem?.branchFrom })
|
|
1619
1620
|
] }),
|
|
@@ -1626,7 +1627,7 @@ var CardTicket = ({
|
|
|
1626
1627
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: styles.dividerContainer, children: /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Divider, { children: /* @__PURE__ */ jsxRuntime.jsx(react.Icon, { icon: "fluent:vehicle-ship-24-regular", height: 24 }) }) })
|
|
1627
1628
|
] }),
|
|
1628
1629
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: styles.ticketTime, children: [
|
|
1629
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactComponents.Caption1, { children:
|
|
1630
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactComponents.Caption1, { children: departureItem?.arrivedDay }),
|
|
1630
1631
|
/* @__PURE__ */ jsxRuntime.jsxs(reactComponents.Title2, { children: [
|
|
1631
1632
|
departureItem?.arrivedTime,
|
|
1632
1633
|
" ",
|
|
@@ -6624,8 +6625,8 @@ var useStyles11 = reactComponents.makeStyles({
|
|
|
6624
6625
|
display: "flex",
|
|
6625
6626
|
flexDirection: "column",
|
|
6626
6627
|
alignItems: "center",
|
|
6627
|
-
gap: reactComponents.tokens.spacingVerticalS
|
|
6628
|
-
maxWidth: "400px"
|
|
6628
|
+
gap: reactComponents.tokens.spacingVerticalS
|
|
6629
|
+
// maxWidth: "400px",
|
|
6629
6630
|
},
|
|
6630
6631
|
title: {
|
|
6631
6632
|
fontWeight: "600"
|
|
@@ -6665,7 +6666,7 @@ var EmptyContent = ({
|
|
|
6665
6666
|
}
|
|
6666
6667
|
),
|
|
6667
6668
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: styles.textContainer, children: [
|
|
6668
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactComponents.Subtitle1, { className: styles.title, children: displayTitle }),
|
|
6669
|
+
typeof displayTitle === "string" ? /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Subtitle1, { className: styles.title, children: displayTitle }) : displayTitle,
|
|
6669
6670
|
typeof displayMessage === "string" ? /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Body1, { className: styles.message, children: displayMessage }) : displayMessage
|
|
6670
6671
|
] }),
|
|
6671
6672
|
actionButton && /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -16138,10 +16139,7 @@ var FileUpload = React__default.default.forwardRef(
|
|
|
16138
16139
|
reactComponents.Field,
|
|
16139
16140
|
{
|
|
16140
16141
|
ref,
|
|
16141
|
-
required,
|
|
16142
|
-
label: {
|
|
16143
|
-
children: (_, slotProps) => infoLabel ? /* @__PURE__ */ jsxRuntime.jsx(reactComponents.InfoLabel, { ...slotProps, info: infoLabel, className: styles.infoLabel, children: /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Body1, { className: styles.label, children: label }) }) : /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Body1, { className: styles.label, children: label })
|
|
16144
|
-
},
|
|
16142
|
+
label: /* @__PURE__ */ jsxRuntime.jsx(reactComponents.InfoLabel, { info: infoLabel, required, className: styles.infoLabel, children: /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Body1, { children: label }) }),
|
|
16145
16143
|
className: styles.fieldContainer,
|
|
16146
16144
|
children: [
|
|
16147
16145
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -16220,11 +16218,8 @@ var FileUpload = React__default.default.forwardRef(
|
|
|
16220
16218
|
reactComponents.Field,
|
|
16221
16219
|
{
|
|
16222
16220
|
ref,
|
|
16223
|
-
required,
|
|
16224
16221
|
className: styles.fieldContainer,
|
|
16225
|
-
label: {
|
|
16226
|
-
children: (_, slotProps) => infoLabel ? /* @__PURE__ */ jsxRuntime.jsx(reactComponents.InfoLabel, { ...slotProps, info: infoLabel, className: styles.infoLabel, children: /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Body1, { className: styles.label, children: label }) }) : /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Body1, { className: styles.label, children: label })
|
|
16227
|
-
},
|
|
16222
|
+
label: /* @__PURE__ */ jsxRuntime.jsx(reactComponents.InfoLabel, { info: infoLabel, required, className: styles.infoLabel, children: /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Body1, { children: label }) }),
|
|
16228
16223
|
children: [
|
|
16229
16224
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
16230
16225
|
reactGridSystem.Container,
|