@kashifd/jwero-components 0.5.15 → 0.5.17
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 +15 -8
- 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
|
@@ -37097,9 +37097,14 @@ const Om = () => /* @__PURE__ */ m.jsx(
|
|
|
37097
37097
|
) }) })
|
|
37098
37098
|
}
|
|
37099
37099
|
);
|
|
37100
|
-
}, oD = ({
|
|
37101
|
-
|
|
37102
|
-
|
|
37100
|
+
}, oD = ({
|
|
37101
|
+
checked: e = !1,
|
|
37102
|
+
onChange: t,
|
|
37103
|
+
sx: o,
|
|
37104
|
+
disabled: r
|
|
37105
|
+
}) => {
|
|
37106
|
+
const s = (i) => {
|
|
37107
|
+
t == null || t(i.target.checked);
|
|
37103
37108
|
};
|
|
37104
37109
|
return /* @__PURE__ */ m.jsx(
|
|
37105
37110
|
El,
|
|
@@ -37107,7 +37112,8 @@ const Om = () => /* @__PURE__ */ m.jsx(
|
|
|
37107
37112
|
icon: /* @__PURE__ */ m.jsx(Rm, {}),
|
|
37108
37113
|
checkedIcon: /* @__PURE__ */ m.jsx(Em, {}),
|
|
37109
37114
|
checked: e,
|
|
37110
|
-
onChange:
|
|
37115
|
+
onChange: s,
|
|
37116
|
+
disabled: r,
|
|
37111
37117
|
sx: { padding: 0, margin: 0, ...o }
|
|
37112
37118
|
}
|
|
37113
37119
|
);
|
|
@@ -38296,9 +38302,9 @@ const eI = ({
|
|
|
38296
38302
|
})
|
|
38297
38303
|
}
|
|
38298
38304
|
);
|
|
38299
|
-
}, oI = ({ checked: e = !1, onChange: t, sx: o }) => {
|
|
38300
|
-
const
|
|
38301
|
-
t == null || t(
|
|
38305
|
+
}, oI = ({ checked: e = !1, onChange: t, sx: o, disabled: r = !1 }) => {
|
|
38306
|
+
const s = (i) => {
|
|
38307
|
+
t == null || t(i.target.checked);
|
|
38302
38308
|
};
|
|
38303
38309
|
return /* @__PURE__ */ m.jsx(
|
|
38304
38310
|
yi,
|
|
@@ -38306,7 +38312,8 @@ const eI = ({
|
|
|
38306
38312
|
icon: /* @__PURE__ */ m.jsx(Om, {}),
|
|
38307
38313
|
checkedIcon: /* @__PURE__ */ m.jsx(Sm, {}),
|
|
38308
38314
|
checked: e,
|
|
38309
|
-
onChange:
|
|
38315
|
+
onChange: s,
|
|
38316
|
+
disabled: r,
|
|
38310
38317
|
sx: { padding: 0, margin: 0, ...o }
|
|
38311
38318
|
}
|
|
38312
38319
|
);
|