@kashifd/jwero-components 0.5.38 → 0.5.39
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 +6 -6
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -39926,7 +39926,7 @@ const J2 = ({
|
|
|
39926
39926
|
const r = Et(), [s, i] = fo(!1), [a, l] = fo(
|
|
39927
39927
|
null
|
|
39928
39928
|
), c = (d) => {
|
|
39929
|
-
d.stopPropagation(), s ? (i(!1), l(null)) : (i(!0), l(d.currentTarget), t.onClick && t.onClick(d));
|
|
39929
|
+
d.stopPropagation(), s ? (i(!1), l(null)) : (i(!0), l(d.currentTarget), t != null && t.onClick && (t == null || t.onClick(d)));
|
|
39930
39930
|
}, u = (d) => {
|
|
39931
39931
|
d == null || d.stopPropagation(), i(!1), l(null);
|
|
39932
39932
|
};
|
|
@@ -39945,10 +39945,10 @@ const J2 = ({
|
|
|
39945
39945
|
transition: "0.3s ease"
|
|
39946
39946
|
},
|
|
39947
39947
|
children: [
|
|
39948
|
-
/* @__PURE__ */ p.jsx(On, { title: e.tooltip, children: /* @__PURE__ */ p.jsx(
|
|
39948
|
+
/* @__PURE__ */ p.jsx(On, { title: e == null ? void 0 : e.tooltip, children: /* @__PURE__ */ p.jsx(
|
|
39949
39949
|
Ie,
|
|
39950
39950
|
{
|
|
39951
|
-
onClick: e.onClick,
|
|
39951
|
+
onClick: e == null ? void 0 : e.onClick,
|
|
39952
39952
|
alignItems: "center",
|
|
39953
39953
|
justifyContent: "center",
|
|
39954
39954
|
sx: {
|
|
@@ -39960,10 +39960,10 @@ const J2 = ({
|
|
|
39960
39960
|
padding: "0 1rem",
|
|
39961
39961
|
height: "100%"
|
|
39962
39962
|
},
|
|
39963
|
-
children: /* @__PURE__ */ p.jsx(Je, { variant: "xlSemibold", children: e.label })
|
|
39963
|
+
children: /* @__PURE__ */ p.jsx(Je, { variant: "xlSemibold", children: e == null ? void 0 : e.label })
|
|
39964
39964
|
}
|
|
39965
39965
|
) }),
|
|
39966
|
-
/* @__PURE__ */ p.jsx(On, { title: t.tooltip, children: /* @__PURE__ */ p.jsx(
|
|
39966
|
+
/* @__PURE__ */ p.jsx(On, { title: t == null ? void 0 : t.tooltip, children: /* @__PURE__ */ p.jsx(
|
|
39967
39967
|
Ie,
|
|
39968
39968
|
{
|
|
39969
39969
|
onClick: c,
|
|
@@ -39978,7 +39978,7 @@ const J2 = ({
|
|
|
39978
39978
|
},
|
|
39979
39979
|
height: "100%"
|
|
39980
39980
|
},
|
|
39981
|
-
children: t.icon ? t.icon : /* @__PURE__ */ p.jsx(sh, {})
|
|
39981
|
+
children: t != null && t.icon ? t == null ? void 0 : t.icon : /* @__PURE__ */ p.jsx(sh, {})
|
|
39982
39982
|
}
|
|
39983
39983
|
) })
|
|
39984
39984
|
]
|