fluekit 2.6.0 → 2.6.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.
Files changed (2) hide show
  1. package/dist/index.js +20 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2650,17 +2650,33 @@ var Positioned_default = /* @__PURE__ */ defineComponent({
2650
2650
  display: "grid",
2651
2651
  gridTemplateColumns: "1fr",
2652
2652
  gridTemplateRows: "1fr",
2653
- ...alignmentToGrid(a.alignment),
2654
2653
  overflow: c[a.clipBehavior],
2655
2654
  direction: a.textDirection,
2656
2655
  boxSizing: "border-box"
2657
2656
  };
2658
2657
  return a.fit === StackFit.expand && (t.width = "100%", t.height = "100%"), t;
2659
- });
2658
+ }), d = computed(() => {
2659
+ let t = alignmentToGrid(a.alignment), i = (t) => t === "start" ? "flex-start" : t === "end" ? "flex-end" : t === "center" ? "center" : "flex-start";
2660
+ return {
2661
+ alignItems: i(t.justifyItems),
2662
+ justifyContent: i(t.alignItems)
2663
+ };
2664
+ }), p = computed(() => Object.assign({
2665
+ gridArea: "1 / 1 / 2 / 2",
2666
+ width: "100%",
2667
+ height: "100%",
2668
+ display: "flex",
2669
+ flexDirection: "column",
2670
+ pointerEvents: "none"
2671
+ }, d.value)), _ = {
2672
+ pointerEvents: "auto",
2673
+ display: "flex",
2674
+ flexDirection: "column"
2675
+ };
2660
2676
  return provideStackContext(), (t, a) => (openBlock(), createElementBlock("div", { style: normalizeStyle(l.value) }, [(openBlock(!0), createElementBlock(Fragment, null, renderList(s.value, (t, i) => (openBlock(), createElementBlock("div", {
2661
2677
  key: i,
2662
- style: { gridArea: "1 / 1 / 2 / 2" }
2663
- }, [(openBlock(), createBlock(resolveDynamicComponent(t)))]))), 128))], 4));
2678
+ style: normalizeStyle(p.value)
2679
+ }, [createElementVNode("div", { style: _ }, [(openBlock(), createBlock(resolveDynamicComponent(t)))])], 4))), 128))], 4));
2664
2680
  }
2665
2681
  }), Sticky_default = /* @__PURE__ */ defineComponent({
2666
2682
  inheritAttrs: !1,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fluekit",
3
- "version": "2.6.0",
3
+ "version": "2.6.2",
4
4
  "description": "A Flutter-style Layout UI kit for Vue",
5
5
  "homepage": "https://fi2zz.github.io/fluekit/",
6
6
  "repository": {