@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.
@@ -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.jsx)(Heading2, { variant: "heading4", children: title }),
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