@leapdevuk/component-toolbox 0.0.70 → 0.0.73
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
|
@@ -671,27 +671,18 @@ const af = ({
|
|
|
671
671
|
children: "Help"
|
|
672
672
|
}
|
|
673
673
|
) }) })
|
|
674
|
-
] }), Ye = (
|
|
675
|
-
disabled: t,
|
|
676
|
-
onClick: n,
|
|
677
|
-
primary: e,
|
|
678
|
-
size: r,
|
|
679
|
-
children: a,
|
|
680
|
-
variant: o,
|
|
681
|
-
sx: i,
|
|
682
|
-
...s
|
|
683
|
-
}) => /* @__PURE__ */ m.jsx(
|
|
674
|
+
] }), Ye = (t) => /* @__PURE__ */ m.jsx(
|
|
684
675
|
He,
|
|
685
676
|
{
|
|
686
|
-
color:
|
|
687
|
-
disabled: t,
|
|
677
|
+
color: t.color || "primary",
|
|
678
|
+
disabled: t.disabled,
|
|
688
679
|
disableRipple: !0,
|
|
689
|
-
onClick:
|
|
690
|
-
size:
|
|
691
|
-
variant:
|
|
692
|
-
sx:
|
|
693
|
-
...
|
|
694
|
-
children:
|
|
680
|
+
onClick: t.onClick,
|
|
681
|
+
size: t.size || "small",
|
|
682
|
+
variant: t.variant || "contained",
|
|
683
|
+
sx: t.sx,
|
|
684
|
+
...t,
|
|
685
|
+
children: t.children
|
|
695
686
|
}
|
|
696
687
|
), of = ({
|
|
697
688
|
decimalScale: t,
|
|
@@ -8218,7 +8209,6 @@ const go = ({
|
|
|
8218
8209
|
)
|
|
8219
8210
|
), W(!1);
|
|
8220
8211
|
},
|
|
8221
|
-
primary: !0,
|
|
8222
8212
|
size: "small",
|
|
8223
8213
|
children: "Today"
|
|
8224
8214
|
}
|
|
@@ -8237,7 +8227,6 @@ const go = ({
|
|
|
8237
8227
|
)
|
|
8238
8228
|
), W(!1);
|
|
8239
8229
|
},
|
|
8240
|
-
primary: !0,
|
|
8241
8230
|
size: "small",
|
|
8242
8231
|
children: S.label
|
|
8243
8232
|
}
|
|
@@ -8269,7 +8258,6 @@ const go = ({
|
|
|
8269
8258
|
onClick: () => {
|
|
8270
8259
|
P(null);
|
|
8271
8260
|
},
|
|
8272
|
-
primary: !0,
|
|
8273
8261
|
children: "Keep Value"
|
|
8274
8262
|
}
|
|
8275
8263
|
) }),
|
|
@@ -8960,7 +8948,6 @@ const go = ({
|
|
|
8960
8948
|
onClick: () => {
|
|
8961
8949
|
c(null);
|
|
8962
8950
|
},
|
|
8963
|
-
primary: !0,
|
|
8964
8951
|
children: "Keep Value"
|
|
8965
8952
|
}
|
|
8966
8953
|
) }),
|
|
@@ -9221,13 +9208,13 @@ const go = ({
|
|
|
9221
9208
|
t && /* @__PURE__ */ m.jsx(m.Fragment, { children: t }),
|
|
9222
9209
|
/* @__PURE__ */ m.jsx("div", { className: "flex1" }),
|
|
9223
9210
|
n && /* @__PURE__ */ m.jsx(m.Fragment, { children: n }),
|
|
9224
|
-
e && /* @__PURE__ */ m.jsx(Ye, { onClick: e,
|
|
9211
|
+
e && /* @__PURE__ */ m.jsx(Ye, { onClick: e, color: "secondary", size: "small", children: "Cancel" }),
|
|
9225
9212
|
a && /* @__PURE__ */ m.jsx("div", { style: { marginRight: 5 }, children: /* @__PURE__ */ m.jsx(
|
|
9226
9213
|
Ye,
|
|
9227
9214
|
{
|
|
9215
|
+
color: "primary",
|
|
9228
9216
|
disabled: o || !1,
|
|
9229
9217
|
onClick: a,
|
|
9230
|
-
primary: !0,
|
|
9231
9218
|
size: "small",
|
|
9232
9219
|
children: "OK"
|
|
9233
9220
|
}
|
|
@@ -9617,10 +9604,7 @@ process.env.NODE_ENV !== "production" && (po.propTypes = {
|
|
|
9617
9604
|
*/
|
|
9618
9605
|
variantMapping: V.object
|
|
9619
9606
|
});
|
|
9620
|
-
const wf = ({
|
|
9621
|
-
children: t,
|
|
9622
|
-
variant: n = "body1"
|
|
9623
|
-
}) => /* @__PURE__ */ m.jsx(po, { variant: n, children: t });
|
|
9607
|
+
const wf = (t) => /* @__PURE__ */ m.jsx(po, { variant: t.variant || "body1", ...t, children: t.children });
|
|
9624
9608
|
export {
|
|
9625
9609
|
af as LCTAppBar,
|
|
9626
9610
|
Ye as LCTButton,
|