@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.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +7 -13
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -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
|
@@ -1614,7 +1614,7 @@ var CardTicket = ({
|
|
|
1614
1614
|
) }),
|
|
1615
1615
|
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: styles.ticketInfo, children: [
|
|
1616
1616
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: styles.ticketTime, children: [
|
|
1617
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactComponents.Caption1, { children:
|
|
1617
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactComponents.Caption1, { children: departureItem?.departureDay }),
|
|
1618
1618
|
/* @__PURE__ */ jsxRuntime.jsx(reactComponents.Title2, { children: departureItem?.departureTime }),
|
|
1619
1619
|
/* @__PURE__ */ jsxRuntime.jsx(reactComponents.Caption1, { children: routeItem?.portFrom + ", " + routeItem?.branchFrom })
|
|
1620
1620
|
] }),
|
|
@@ -1627,7 +1627,7 @@ var CardTicket = ({
|
|
|
1627
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 }) }) })
|
|
1628
1628
|
] }),
|
|
1629
1629
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: styles.ticketTime, children: [
|
|
1630
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactComponents.Caption1, { children:
|
|
1630
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactComponents.Caption1, { children: departureItem?.arrivedDay }),
|
|
1631
1631
|
/* @__PURE__ */ jsxRuntime.jsxs(reactComponents.Title2, { children: [
|
|
1632
1632
|
departureItem?.arrivedTime,
|
|
1633
1633
|
" ",
|
|
@@ -6625,8 +6625,8 @@ var useStyles11 = reactComponents.makeStyles({
|
|
|
6625
6625
|
display: "flex",
|
|
6626
6626
|
flexDirection: "column",
|
|
6627
6627
|
alignItems: "center",
|
|
6628
|
-
gap: reactComponents.tokens.spacingVerticalS
|
|
6629
|
-
maxWidth: "400px"
|
|
6628
|
+
gap: reactComponents.tokens.spacingVerticalS
|
|
6629
|
+
// maxWidth: "400px",
|
|
6630
6630
|
},
|
|
6631
6631
|
title: {
|
|
6632
6632
|
fontWeight: "600"
|
|
@@ -6666,7 +6666,7 @@ var EmptyContent = ({
|
|
|
6666
6666
|
}
|
|
6667
6667
|
),
|
|
6668
6668
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: styles.textContainer, children: [
|
|
6669
|
-
/* @__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,
|
|
6670
6670
|
typeof displayMessage === "string" ? /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Body1, { className: styles.message, children: displayMessage }) : displayMessage
|
|
6671
6671
|
] }),
|
|
6672
6672
|
actionButton && /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -16139,10 +16139,7 @@ var FileUpload = React__default.default.forwardRef(
|
|
|
16139
16139
|
reactComponents.Field,
|
|
16140
16140
|
{
|
|
16141
16141
|
ref,
|
|
16142
|
-
required,
|
|
16143
|
-
label: {
|
|
16144
|
-
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 })
|
|
16145
|
-
},
|
|
16142
|
+
label: /* @__PURE__ */ jsxRuntime.jsx(reactComponents.InfoLabel, { info: infoLabel, required, className: styles.infoLabel, children: /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Body1, { children: label }) }),
|
|
16146
16143
|
className: styles.fieldContainer,
|
|
16147
16144
|
children: [
|
|
16148
16145
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -16221,11 +16218,8 @@ var FileUpload = React__default.default.forwardRef(
|
|
|
16221
16218
|
reactComponents.Field,
|
|
16222
16219
|
{
|
|
16223
16220
|
ref,
|
|
16224
|
-
required,
|
|
16225
16221
|
className: styles.fieldContainer,
|
|
16226
|
-
label: {
|
|
16227
|
-
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 })
|
|
16228
|
-
},
|
|
16222
|
+
label: /* @__PURE__ */ jsxRuntime.jsx(reactComponents.InfoLabel, { info: infoLabel, required, className: styles.infoLabel, children: /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Body1, { children: label }) }),
|
|
16229
16223
|
children: [
|
|
16230
16224
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
16231
16225
|
reactGridSystem.Container,
|