@aivex/ui 1.2.0-dev.7 → 1.2.0-dev.8

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.js CHANGED
@@ -8479,7 +8479,7 @@ function r_({ className: e, size: t = "sm", label: n, helperText: r, error: i, d
8479
8479
  }
8480
8480
  //#endregion
8481
8481
  //#region src/components/Textarea/Textarea.tsx
8482
- function i_({ className: e, label: t, helperText: n, error: r, disabled: i, size: a = "md", minHeight: o, fixedHeight: s, startContent: c, endContent: l, id: u, ref: d, onFocus: f, onBlur: p, maxLength: m, value: h, defaultValue: g, onChange: _, ...v }) {
8482
+ function i_({ className: e, label: t, helperText: n, error: r, disabled: i, size: a = "md", minHeight: o, fixedHeight: s, startContent: c, endContent: l, id: u, ref: d, onFocus: f, onBlur: p, maxCount: m, value: h, defaultValue: g, onChange: _, ...v }) {
8483
8483
  let [y, b] = K(!1), x = m != null, S = (e) => e == null ? 0 : String(e).length, [C, w] = K(() => S(h ?? g)), T = h == null ? C : S(h), E = !!r || x && T > m, D = (e) => {
8484
8484
  w(e.target.value.length), _?.(e);
8485
8485
  }, O = {};
@@ -8491,7 +8491,6 @@ function i_({ className: e, label: t, helperText: n, error: r, disabled: i, size
8491
8491
  style: O,
8492
8492
  value: h,
8493
8493
  defaultValue: g,
8494
- maxLength: x ? void 0 : m,
8495
8494
  className: R("aivex:w-full aivex:min-w-0 aivex:bg-transparent aivex:text-text-primary aivex:placeholder:text-text-tertiary aivex:outline-none", a === "sm" ? "aivex:text-body-md-regular" : "aivex:text-body-lg-regular", "aivex:resize-none aivex:overflow-auto", e),
8496
8495
  onChange: x ? D : _,
8497
8496
  onFocus: (e) => {