@tipp/ui 1.6.34 → 1.6.35
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/app/index.cjs +5 -2
- package/dist/app/index.cjs.map +1 -1
- package/dist/app/index.js +2 -2
- package/dist/app/platform/edit-coaching-time.js +1 -1
- package/dist/app/platform/edit-service-type.js +1 -1
- package/dist/app/platform/goal-manage-card-edit.js +1 -1
- package/dist/app/platform/on-offline-radio-card.js +1 -1
- package/dist/app/platform/report-card.cjs +5 -2
- package/dist/app/platform/report-card.cjs.map +1 -1
- package/dist/app/platform/report-card.d.cts +1 -0
- package/dist/app/platform/report-card.d.ts +1 -0
- package/dist/app/platform/report-card.js +1 -1
- package/dist/app/platform/reservation-card.js +1 -1
- package/dist/app/platform/session-card.js +1 -1
- package/dist/chunk-5WRWSILW.js +69 -0
- package/dist/chunk-5WRWSILW.js.map +1 -0
- package/dist/index.cjs +5 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -4
- package/dist/molecules/index.js +3 -3
- package/package.json +1 -1
- package/src/app/platform/report-card.tsx +7 -3
package/dist/app/index.cjs
CHANGED
|
@@ -2593,7 +2593,7 @@ function SessionUserInfoDetail({
|
|
|
2593
2593
|
var import_react36 = require("react");
|
|
2594
2594
|
var import_jsx_runtime63 = require("react/jsx-runtime");
|
|
2595
2595
|
function ReportCard(props) {
|
|
2596
|
-
const { title, file, status } = props;
|
|
2596
|
+
const { title, file, status, subtitle } = props;
|
|
2597
2597
|
const onClickDownload = (0, import_react36.useCallback)(() => {
|
|
2598
2598
|
if (!file)
|
|
2599
2599
|
return;
|
|
@@ -2619,7 +2619,10 @@ function ReportCard(props) {
|
|
|
2619
2619
|
gapY: "2",
|
|
2620
2620
|
justify: "between",
|
|
2621
2621
|
children: [
|
|
2622
|
-
/* @__PURE__ */ (0, import_jsx_runtime63.
|
|
2622
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(import_themes6.Box, { children: [
|
|
2623
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
2624
|
+
subtitle ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Typo, { color: "gray", children: subtitle }) : null
|
|
2625
|
+
] }),
|
|
2623
2626
|
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Button, { onClick: onClickDownload, variant: "surface", children: /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(import_themes22.Flex, { gap: "2", width: "100%", children: [
|
|
2624
2627
|
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_react_icons2.DownloadIcon, {}),
|
|
2625
2628
|
file == null ? void 0 : file.buttonName
|