zartui 3.1.45 → 3.1.47

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/lib/zartui.cjs.js CHANGED
@@ -20930,7 +20930,7 @@ const Lazyload = {
20930
20930
  });
20931
20931
  }
20932
20932
  };
20933
- const version = "3.1.45";
20933
+ const version = "3.1.46";
20934
20934
  function install(app) {
20935
20935
  const components = [
20936
20936
  ActionSheet,
package/lib/zartui.es.js CHANGED
@@ -20928,7 +20928,7 @@ const Lazyload = {
20928
20928
  });
20929
20929
  }
20930
20930
  };
20931
- const version = "3.1.45";
20931
+ const version = "3.1.46";
20932
20932
  function install(app) {
20933
20933
  const components = [
20934
20934
  ActionSheet,
package/lib/zartui.js CHANGED
@@ -15116,15 +15116,19 @@
15116
15116
  }
15117
15117
  const contentPadding = getCanvasScale(canvas, CONTENT_PADDING);
15118
15118
  let baseOrigin = new Point(contentPadding, contentPadding);
15119
+ let titlePadding = 0;
15119
15120
  if (groupPosition === "center") {
15120
15121
  baseOrigin = new Point(
15121
15122
  contentPadding,
15122
15123
  Math.round((canvas.height - totalHeight) / 2)
15123
15124
  );
15124
15125
  } else if (groupPosition === "bottom") {
15126
+ tiles.forEach((item) => {
15127
+ titlePadding += item.style.paddingTop + item.style.paddingBottom;
15128
+ });
15125
15129
  baseOrigin = new Point(
15126
15130
  contentPadding,
15127
- canvas.height - totalHeight - contentPadding
15131
+ canvas.height - totalHeight - contentPadding - titlePadding
15128
15132
  );
15129
15133
  } else if (groupPosition === "top") {
15130
15134
  baseOrigin = new Point(contentPadding, contentPadding);
@@ -24990,7 +24994,7 @@
24990
24994
  });
24991
24995
  }
24992
24996
  };
24993
- const version = "3.1.45";
24997
+ const version = "3.1.46";
24994
24998
  function install(app) {
24995
24999
  const components = [
24996
25000
  ActionSheet,