ctc-component-library 0.1.33 → 0.1.34

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.es.js CHANGED
@@ -709,18 +709,24 @@ const Yn = ({
709
709
  customClassName: t,
710
710
  customStyles: n,
711
711
  type: r = "outlined",
712
- ...o
713
- }) => /* @__PURE__ */ Ce.jsx(
714
- "span",
715
- {
716
- className: `material-symbols-${r} ${t}`,
717
- style: n,
718
- role: "img",
719
- "aria-label": e,
720
- ...o,
721
- children: e
722
- }
723
- );
712
+ dataTestId: o = "icon-test-id",
713
+ size: a,
714
+ ...i
715
+ }) => {
716
+ const l = a ? { width: `${a}px`, height: `${a}px`, fontSize: `${a}px` } : "";
717
+ return /* @__PURE__ */ Ce.jsx(
718
+ "span",
719
+ {
720
+ "data-testid": o,
721
+ className: `material-symbols-${r} ${t}`,
722
+ style: { ...l, ...n },
723
+ role: "img",
724
+ "aria-label": e,
725
+ ...i,
726
+ children: e
727
+ }
728
+ );
729
+ };
724
730
  const Mn = ({
725
731
  variant: e,
726
732
  customStyles: t,