catchup-library-web 1.15.12 → 1.15.14

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 CHANGED
@@ -379,6 +379,7 @@ declare const SelectionTabFill: ({ optionList, selectedId, handleSelectOnClick,
379
379
 
380
380
  interface IActivityTemplateLabelProps {
381
381
  title: string;
382
+ icon: any;
382
383
  font: string;
383
384
  }
384
385
  interface IBrandLabelProps {
@@ -418,7 +419,7 @@ interface IActivityLabelProps {
418
419
  font: string;
419
420
  }
420
421
 
421
- declare const ActivityTemplateLabel: ({ title, font, }: IActivityTemplateLabelProps) => react_jsx_runtime.JSX.Element;
422
+ declare const ActivityTemplateLabel: ({ title, icon, font, }: IActivityTemplateLabelProps) => react_jsx_runtime.JSX.Element;
422
423
 
423
424
  declare const BrandLabel: ({ title, icon, font }: IBrandLabelProps) => react_jsx_runtime.JSX.Element;
424
425
 
package/dist/index.d.ts CHANGED
@@ -379,6 +379,7 @@ declare const SelectionTabFill: ({ optionList, selectedId, handleSelectOnClick,
379
379
 
380
380
  interface IActivityTemplateLabelProps {
381
381
  title: string;
382
+ icon: any;
382
383
  font: string;
383
384
  }
384
385
  interface IBrandLabelProps {
@@ -418,7 +419,7 @@ interface IActivityLabelProps {
418
419
  font: string;
419
420
  }
420
421
 
421
- declare const ActivityTemplateLabel: ({ title, font, }: IActivityTemplateLabelProps) => react_jsx_runtime.JSX.Element;
422
+ declare const ActivityTemplateLabel: ({ title, icon, font, }: IActivityTemplateLabelProps) => react_jsx_runtime.JSX.Element;
422
423
 
423
424
  declare const BrandLabel: ({ title, icon, font }: IBrandLabelProps) => react_jsx_runtime.JSX.Element;
424
425
 
package/dist/index.js CHANGED
@@ -7481,10 +7481,11 @@ var SelectionTabFill_default = SelectionTabFill;
7481
7481
  var import_jsx_runtime55 = require("react/jsx-runtime");
7482
7482
  var ActivityTemplateLabel = ({
7483
7483
  title,
7484
+ icon,
7484
7485
  font
7485
7486
  }) => {
7486
7487
  return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "px-3 py-1 gap-x-3 border border-grade-label-border bg-grade-label text-grade-label-text rounded-catchup-3xlarge", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "flex flex-row items-center gap-x-2", children: [
7487
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(BaseImage_default, { src: "/icons/activity.webp", alt: "label", size: "xsmall" }),
7488
+ icon ? icon : /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(BaseImage_default, { src: "/icons/activity.webp", alt: "label", size: "xsmall" }),
7488
7489
  /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("p", { className: font ? font : "text-sm", children: title })
7489
7490
  ] }) });
7490
7491
  };
package/dist/index.mjs CHANGED
@@ -7270,10 +7270,11 @@ var SelectionTabFill_default = SelectionTabFill;
7270
7270
  import { jsx as jsx55, jsxs as jsxs41 } from "react/jsx-runtime";
7271
7271
  var ActivityTemplateLabel = ({
7272
7272
  title,
7273
+ icon,
7273
7274
  font
7274
7275
  }) => {
7275
7276
  return /* @__PURE__ */ jsx55("div", { className: "px-3 py-1 gap-x-3 border border-grade-label-border bg-grade-label text-grade-label-text rounded-catchup-3xlarge", children: /* @__PURE__ */ jsxs41("div", { className: "flex flex-row items-center gap-x-2", children: [
7276
- /* @__PURE__ */ jsx55(BaseImage_default, { src: "/icons/activity.webp", alt: "label", size: "xsmall" }),
7277
+ icon ? icon : /* @__PURE__ */ jsx55(BaseImage_default, { src: "/icons/activity.webp", alt: "label", size: "xsmall" }),
7277
7278
  /* @__PURE__ */ jsx55("p", { className: font ? font : "text-sm", children: title })
7278
7279
  ] }) });
7279
7280
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "catchup-library-web",
3
- "version": "1.15.12",
3
+ "version": "1.15.14",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -3,12 +3,18 @@ import BaseImage from "../images/BaseImage";
3
3
 
4
4
  const ActivityTemplateLabel = ({
5
5
  title,
6
+ icon,
6
7
  font,
7
8
  }: IActivityTemplateLabelProps) => {
8
9
  return (
9
10
  <div className="px-3 py-1 gap-x-3 border border-grade-label-border bg-grade-label text-grade-label-text rounded-catchup-3xlarge">
10
11
  <div className="flex flex-row items-center gap-x-2">
11
- <BaseImage src="/icons/activity.webp" alt="label" size="xsmall" />
12
+ {icon ? (
13
+ icon
14
+ ) : (
15
+ <BaseImage src="/icons/activity.webp" alt="label" size="xsmall" />
16
+ )}
17
+
12
18
  <p className={font ? font : "text-sm"}>{title}</p>
13
19
  </div>
14
20
  </div>
@@ -1,5 +1,6 @@
1
1
  export interface IActivityTemplateLabelProps {
2
2
  title: string;
3
+ icon: any;
3
4
  font: string;
4
5
  }
5
6