fluekit 2.6.1 → 2.6.3

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 +25 -25
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1159,7 +1159,7 @@ var GestureDetector_default = defineComponent({
1159
1159
  return t ? t.type === Text ? h("span", s, [t]) : isHtmlTag(t) ? cloneVNode(t, s) : t : null;
1160
1160
  };
1161
1161
  }
1162
- }), _hoisted_1$12 = ["disabled"], Button_default = /* @__PURE__ */ defineComponent({
1162
+ }), _hoisted_1$11 = ["disabled"], Button_default = /* @__PURE__ */ defineComponent({
1163
1163
  inheritAttrs: !1,
1164
1164
  __name: "Button",
1165
1165
  props: {
@@ -1237,7 +1237,7 @@ var GestureDetector_default = defineComponent({
1237
1237
  default: withCtx(() => [createElementVNode("button", mergeProps({
1238
1238
  style: p.value,
1239
1239
  disabled: t.disabled
1240
- }, unref(c)), [renderSlot(i.$slots, "default", {}, () => [createTextVNode(toDisplayString(a.text), 1)])], 16, _hoisted_1$12)]),
1240
+ }, unref(c)), [renderSlot(i.$slots, "default", {}, () => [createTextVNode(toDisplayString(a.text), 1)])], 16, _hoisted_1$11)]),
1241
1241
  _: 3
1242
1242
  }, 8, [
1243
1243
  "behavior",
@@ -1665,7 +1665,7 @@ function ImageProvider(t) {
1665
1665
  [IMAGE_PROVIDER_SYMBOL]: !0
1666
1666
  } : t.startsWith("http") ? NetworkImage(t) : t.startsWith("data:") ? MemoryImage(t) : AssetImage(t);
1667
1667
  }
1668
- var _hoisted_1$11 = ["src", "alt"], Image_default = /* @__PURE__ */ defineComponent({
1668
+ var _hoisted_1$10 = ["src", "alt"], Image_default = /* @__PURE__ */ defineComponent({
1669
1669
  inheritAttrs: !1,
1670
1670
  __name: "Image",
1671
1671
  props: {
@@ -1724,9 +1724,9 @@ var _hoisted_1$11 = ["src", "alt"], Image_default = /* @__PURE__ */ defineCompon
1724
1724
  alt: t.alt,
1725
1725
  onLoad: p,
1726
1726
  onError: _
1727
- }, null, 44, _hoisted_1$11)], 16));
1727
+ }, null, 44, _hoisted_1$10)], 16));
1728
1728
  }
1729
- }), _hoisted_1$10 = ["aria-label"], _hoisted_2$4 = ["width", "height"], _hoisted_3 = ["d"], Icon_default = /* @__PURE__ */ defineComponent({
1729
+ }), _hoisted_1$9 = ["aria-label"], _hoisted_2$4 = ["width", "height"], _hoisted_3 = ["d"], Icon_default = /* @__PURE__ */ defineComponent({
1730
1730
  inheritAttrs: !1,
1731
1731
  __name: "Icon",
1732
1732
  props: {
@@ -1779,7 +1779,7 @@ var _hoisted_1$11 = ["src", "alt"], Image_default = /* @__PURE__ */ defineCompon
1779
1779
  fill: "currentColor",
1780
1780
  xmlns: "http://www.w3.org/2000/svg",
1781
1781
  style: c
1782
- }, [createElementVNode("path", { d: t.icon }, null, 8, _hoisted_3)], 8, _hoisted_2$4)) : createCommentVNode("", !0)])], 16, _hoisted_1$10));
1782
+ }, [createElementVNode("path", { d: t.icon }, null, 8, _hoisted_3)], 8, _hoisted_2$4)) : createCommentVNode("", !0)])], 16, _hoisted_1$9));
1783
1783
  }
1784
1784
  });
1785
1785
  const Colors = {
@@ -2270,7 +2270,7 @@ var CupertinoActivityIndicator_default = /* @__PURE__ */ defineComponent({
2270
2270
  animating: o.value
2271
2271
  }, null, 8, ["color", "animating"])], 4), createElementVNode("div", { style: normalizeStyle(p.value) }, [renderSlot(i.$slots, "default")], 4)], 544));
2272
2272
  }
2273
- }), _hoisted_1$9 = {
2273
+ }), _hoisted_1$8 = {
2274
2274
  key: 0,
2275
2275
  class: "list-view-separator"
2276
2276
  }, ListView_default = /* @__PURE__ */ defineComponent({
@@ -2322,7 +2322,7 @@ var CupertinoActivityIndicator_default = /* @__PURE__ */ defineComponent({
2322
2322
  default: withCtx(() => [createElementVNode("div", {
2323
2323
  class: "list-view-content",
2324
2324
  style: normalizeStyle(o.value)
2325
- }, [t.itemCount ? (openBlock(!0), createElementBlock(Fragment, { key: 1 }, renderList(t.itemCount, (o) => (openBlock(), createElementBlock(Fragment, { key: o - 1 }, [renderSlot(a.$slots, "item", { index: o - 1 }), t.separator && o < t.itemCount ? (openBlock(), createElementBlock("div", _hoisted_1$9, [renderSlot(a.$slots, "separator", { index: o - 1 })])) : createCommentVNode("", !0)], 64))), 128)) : renderSlot(a.$slots, "default", { key: 0 })], 4)]),
2325
+ }, [t.itemCount ? (openBlock(!0), createElementBlock(Fragment, { key: 1 }, renderList(t.itemCount, (o) => (openBlock(), createElementBlock(Fragment, { key: o - 1 }, [renderSlot(a.$slots, "item", { index: o - 1 }), t.separator && o < t.itemCount ? (openBlock(), createElementBlock("div", _hoisted_1$8, [renderSlot(a.$slots, "separator", { index: o - 1 })])) : createCommentVNode("", !0)], 64))), 128)) : renderSlot(a.$slots, "default", { key: 0 })], 4)]),
2326
2326
  _: 3
2327
2327
  }, 8, [
2328
2328
  "scroll-direction",
@@ -2626,11 +2626,7 @@ var Positioned_default = /* @__PURE__ */ defineComponent({
2626
2626
  style: s.value
2627
2627
  }, unref(a)), [renderSlot(t.$slots, "default")], 16));
2628
2628
  }
2629
- }), _hoisted_1$8 = { style: {
2630
- pointerEvents: "auto",
2631
- display: "flex",
2632
- flexDirection: "column"
2633
- } }, Stack_default = /* @__PURE__ */ defineComponent({
2629
+ }), Stack_default = /* @__PURE__ */ defineComponent({
2634
2630
  inheritAttrs: !1,
2635
2631
  __name: "Stack",
2636
2632
  props: {
@@ -2649,7 +2645,6 @@ var Positioned_default = /* @__PURE__ */ defineComponent({
2649
2645
  antiAlias: "hidden",
2650
2646
  none: "visible"
2651
2647
  }, l = computed(() => {
2652
- alignmentToGrid(a.alignment);
2653
2648
  let t = {
2654
2649
  position: "relative",
2655
2650
  display: "grid",
@@ -2666,19 +2661,24 @@ var Positioned_default = /* @__PURE__ */ defineComponent({
2666
2661
  alignItems: i(t.justifyItems),
2667
2662
  justifyContent: i(t.alignItems)
2668
2663
  };
2669
- });
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
+ width: "100%",
2676
+ height: "100%"
2677
+ };
2670
2678
  return provideStackContext(), (t, a) => (openBlock(), createElementBlock("div", { style: normalizeStyle(l.value) }, [(openBlock(!0), createElementBlock(Fragment, null, renderList(s.value, (t, i) => (openBlock(), createElementBlock("div", {
2671
2679
  key: i,
2672
- style: normalizeStyle({
2673
- gridArea: "1 / 1 / 2 / 2",
2674
- width: "100%",
2675
- height: "100%",
2676
- display: "flex",
2677
- flexDirection: "column",
2678
- pointerEvents: "none",
2679
- ...d.value
2680
- })
2681
- }, [createElementVNode("div", _hoisted_1$8, [(openBlock(), createBlock(resolveDynamicComponent(t)))])], 4))), 128))], 4));
2680
+ style: normalizeStyle(p.value)
2681
+ }, [createElementVNode("div", { style: _ }, [(openBlock(), createBlock(resolveDynamicComponent(t)))])], 4))), 128))], 4));
2682
2682
  }
2683
2683
  }), Sticky_default = /* @__PURE__ */ defineComponent({
2684
2684
  inheritAttrs: !1,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fluekit",
3
- "version": "2.6.1",
3
+ "version": "2.6.3",
4
4
  "description": "A Flutter-style Layout UI kit for Vue",
5
5
  "homepage": "https://fi2zz.github.io/fluekit/",
6
6
  "repository": {