@leapdevuk/component-toolbox 0.0.106 → 0.0.107

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
@@ -4627,7 +4627,7 @@ const Mu = 46, Du = 40, Ou = Vr((e) => {
4627
4627
  checked: n || !1,
4628
4628
  disabled: t,
4629
4629
  onChange: (a, o) => {
4630
- r && r(a, o);
4630
+ r && r(o);
4631
4631
  },
4632
4632
  checkedIcon: /* @__PURE__ */ f.jsx("div", { className: "checkbox", children: /* @__PURE__ */ f.jsx(eo, { disabled: t }) }),
4633
4633
  icon: /* @__PURE__ */ f.jsx("div", { className: "checkbox", children: /* @__PURE__ */ f.jsx(to, {}) }),
@@ -9883,20 +9883,23 @@ const hd = ({
9883
9883
  autoHideDuration: e.autoHideDuration ? e.autoHideDuration : 3e3,
9884
9884
  ...e
9885
9885
  }
9886
- ), Ef = (e) => /* @__PURE__ */ f.jsx(Br, { ...e, children: e.children }), yd = (e) => /* @__PURE__ */ f.jsx(Ef, { title: (e == null ? void 0 : e.fullName) || "", children: /* @__PURE__ */ f.jsx(
9887
- xi,
9888
- {
9889
- sx: {
9890
- height: 28,
9891
- width: 28,
9892
- marginLeft: e != null && e.hideMargin ? 0 : "auto",
9893
- marginRight: e != null && e.hideMargin ? 0 : "auto",
9894
- fontSize: 12,
9895
- backgroundColor: "#a7a7a7"
9896
- },
9897
- children: (e == null ? void 0 : e.staffInitials) || "?"
9898
- }
9899
- ) }), Eo = (e) => /* @__PURE__ */ f.jsx(Ft, { ...e, children: e.children }), pd = (e) => /* @__PURE__ */ f.jsx(vi, { ...e, children: e.children }), bd = (e) => /* @__PURE__ */ f.jsx(Ci, { ...e, children: e.children }), wd = (e) => /* @__PURE__ */ f.jsx(Ti, { ...e }), xd = (e) => /* @__PURE__ */ f.jsx(Zt, { variant: "outlined", ...e }), vd = (e) => /* @__PURE__ */ f.jsx(un, { variant: e.variant || "body1", ...e, children: e.children });
9886
+ ), Ef = (e) => /* @__PURE__ */ f.jsx(Br, { ...e, children: e.children }), yd = (e) => {
9887
+ var n;
9888
+ return /* @__PURE__ */ f.jsx(Ef, { title: (e == null ? void 0 : e.fullName) || "", children: /* @__PURE__ */ f.jsx(
9889
+ xi,
9890
+ {
9891
+ sx: {
9892
+ height: 28,
9893
+ width: 28,
9894
+ marginLeft: e != null && e.hideMargin ? 0 : "auto",
9895
+ marginRight: e != null && e.hideMargin ? 0 : "auto",
9896
+ fontSize: 12,
9897
+ backgroundColor: "#a7a7a7"
9898
+ },
9899
+ children: ((n = e == null ? void 0 : e.staffInitials) == null ? void 0 : n.toUpperCase()) || "?"
9900
+ }
9901
+ ) });
9902
+ }, Eo = (e) => /* @__PURE__ */ f.jsx(Ft, { ...e, children: e.children }), pd = (e) => /* @__PURE__ */ f.jsx(vi, { ...e, children: e.children }), bd = (e) => /* @__PURE__ */ f.jsx(Ci, { ...e, children: e.children }), wd = (e) => /* @__PURE__ */ f.jsx(Ti, { ...e }), xd = (e) => /* @__PURE__ */ f.jsx(Zt, { variant: "outlined", ...e }), vd = (e) => /* @__PURE__ */ f.jsx(un, { variant: e.variant || "body1", ...e, children: e.children });
9900
9903
  export {
9901
9904
  If as LCTAccordion,
9902
9905
  Lf as LCTAccordionDetails,