@leapdevuk/component-toolbox 0.0.65 → 0.0.66

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
@@ -702,7 +702,8 @@ const uf = ({
702
702
  prefix: o,
703
703
  size: i,
704
704
  value: s,
705
- width: c
705
+ maxLength: c,
706
+ width: f
706
707
  }) => /* @__PURE__ */ d.jsx(
707
708
  Wr,
708
709
  {
@@ -711,16 +712,17 @@ const uf = ({
711
712
  disabled: r,
712
713
  fixedDecimalScale: !0,
713
714
  id: e,
714
- onFocus: (f) => f.target.select(),
715
- onValueChange: (f) => {
716
- n && n(f.floatValue);
715
+ slotProps: { input: { maxLength: c } },
716
+ onFocus: (m) => m.target.select(),
717
+ onValueChange: (m) => {
718
+ n && n(m.floatValue);
717
719
  },
718
720
  placeholder: a,
719
721
  size: i || "small",
720
722
  startAdornment: o && /* @__PURE__ */ d.jsx(qo, { position: "start", children: /* @__PURE__ */ d.jsx(et, { children: o }) }),
721
723
  sx: {
722
724
  paddingLeft: "8px",
723
- width: c || 130,
725
+ width: f || 130,
724
726
  "& .MuiInputBase-input": {
725
727
  borderLeft: "1px solid rgba(0, 0, 0, 0.23)",
726
728
  color: "#000",