@solibo/solibo-ui 2.1.1 → 2.1.2

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.
@@ -16422,11 +16422,12 @@ const Y6 = ({
16422
16422
  he($), O(!!g);
16423
16423
  }, onDragLeave: ($) => {
16424
16424
  he($), O(!1);
16425
- }, onDrop: ($) => {
16425
+ }, onDropCapture: ($) => {
16426
16426
  var V;
16427
- $.preventDefault();
16428
16427
  const U = (V = $.dataTransfer) == null ? void 0 : V.files;
16429
- U && (g == null || g(Array.from(U))), O(!1);
16428
+ U != null && U.length && (he($), (g || p) && L([...R, ...Array.from(U)]), O(!1));
16429
+ }, onDrop: ($) => {
16430
+ $.preventDefault(), O(!1);
16430
16431
  }, children: [
16431
16432
  /* @__PURE__ */ H("div", { className: _i(Ee.editor, s && Ee["fill-editor"], l && Ee.invalid, R.length > 0 && Ee["has-files"]), style: {
16432
16433
  "--editor-max-height": `calc(${h * 1.25}em + (2 * var(--scale-8)))`,