@macroui/macroui-vue 1.9.74 → 1.9.76

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
@@ -625,7 +625,7 @@ const Ut = {
625
625
  if (ee === "textarea")
626
626
  return y;
627
627
  const Z = g.value, pe = C.value;
628
- return Z && (y.paddingLeft = "10px"), pe && (y.paddingRight = `${m.value}px`), y;
628
+ return Z && (y.paddingLeft = "10px"), pe && (y.paddingLeft = "10px", y.paddingRight = `${Math.max(m.value || 50, 50)}px`), y;
629
629
  }), T = b(() => {
630
630
  if (e.modelValue === null || e.modelValue === void 0)
631
631
  return "";
@@ -657,9 +657,8 @@ const Ut = {
657
657
  Ie(() => {
658
658
  if (d.value) {
659
659
  const y = d.value.offsetWidth;
660
- m.value = y > 0 ? y + 16 : 40;
661
- } else
662
- m.value = 40;
660
+ m.value = y;
661
+ }
663
662
  });
664
663
  };
665
664
  return Me(() => {
@@ -869,7 +868,7 @@ const Ut = {
869
868
  ])) : z("", !0)
870
869
  ], 2));
871
870
  }
872
- }), $l = /* @__PURE__ */ oe(Sl, [["__scopeId", "data-v-ad192148"]]), Cl = se($l), Bl = {
871
+ }), $l = /* @__PURE__ */ oe(Sl, [["__scopeId", "data-v-21c8598b"]]), Cl = se($l), Bl = {
873
872
  modelValue: {
874
873
  type: Array,
875
874
  default: () => []