fluekit 1.5.75 → 1.5.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/Button.d.ts +3 -0
- package/dist/ButtonStyle.d.ts +2 -0
- package/dist/InkWell.d.ts +2 -0
- package/dist/index.css +1 -1
- package/dist/index.js +73 -67
- package/dist/useGesture.d.ts +1 -1
- package/package.json +6 -6
package/dist/Button.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { ButtonStyle } from './ButtonStyle';
|
|
2
|
+
import { Behavior } from './useGesture';
|
|
2
3
|
interface Props {
|
|
3
4
|
disabled?: boolean;
|
|
5
|
+
behavior?: Behavior;
|
|
4
6
|
style?: ButtonStyle;
|
|
5
7
|
}
|
|
6
8
|
declare function __VLS_template(): {
|
|
@@ -20,6 +22,7 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
20
22
|
onPressed?: (() => any) | undefined;
|
|
21
23
|
}>, {
|
|
22
24
|
disabled: boolean;
|
|
25
|
+
behavior: Behavior;
|
|
23
26
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
24
27
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
25
28
|
export default _default;
|
package/dist/ButtonStyle.d.ts
CHANGED
|
@@ -4,7 +4,9 @@ import { BorderSide } from './Border';
|
|
|
4
4
|
import { BorderRadius } from './BorderRadius';
|
|
5
5
|
import { EdgeInsets } from './EdgeInsets';
|
|
6
6
|
import { SizeType } from './Size';
|
|
7
|
+
import { TextStyle } from './TextStyle';
|
|
7
8
|
export interface ButtonStyle {
|
|
9
|
+
textStyle?: TextStyle;
|
|
8
10
|
backgroundColor?: string;
|
|
9
11
|
foregroundColor?: string;
|
|
10
12
|
overlayColor?: string;
|
package/dist/InkWell.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ interface Props {
|
|
|
3
3
|
splashColor?: string;
|
|
4
4
|
highlightColor?: string;
|
|
5
5
|
borderRadius?: string;
|
|
6
|
+
disabled?: boolean;
|
|
6
7
|
}
|
|
7
8
|
declare function __VLS_template(): {
|
|
8
9
|
attrs: Partial<{}>;
|
|
@@ -18,6 +19,7 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
18
19
|
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
19
20
|
onTap?: (() => any) | undefined;
|
|
20
21
|
}>, {
|
|
22
|
+
disabled: boolean;
|
|
21
23
|
splashColor: string;
|
|
22
24
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
23
25
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
package/dist/index.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
.fluekit-button[data-v-
|
|
1
|
+
.fluekit-button[data-v-04ee9025]{appearance:none;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;font-family:inherit;font-size:inherit;line-height:inherit;color:inherit;text-align:inherit;box-sizing:border-box;background:0 0;border:0;outline:0;margin:0;padding:0}.fluekit-button[data-v-04ee9025]:disabled{cursor:default}.fluekit-image[data-v-ce382550]{display:block}.flutter-list-view[data-v-7ba20c73]{flex-direction:column;display:flex}.list-view-shrink-wrap[data-v-7ba20c73]{flex:none}.flutter-stack[data-v-aefe47c2]>*{grid-area:1/1/2/2}.fluekit-text-field[data-v-40723984]{margin-top:16px;font-family:inherit;position:relative}.fluekit-input-container[data-v-40723984]{box-sizing:border-box;width:100%}.fluekit-input-element[data-v-40723984]{width:100%;color:inherit;resize:none;background:0 0;border:none;outline:none;flex:1;margin:0;padding:0;font-family:inherit;font-size:16px}.fluekit-input-label[data-v-40723984]{z-index:1}.fluekit-input-footer[data-v-40723984]{justify-content:space-between;margin-top:4px;display:flex}.fluekit-input-helper[data-v-40723984]{color:#666;font-size:12px}.fluekit-input-helper-spacer[data-v-40723984]{flex:1}.fluekit-input-counter[data-v-40723984]{color:#666;margin-left:auto;font-size:12px}.fluekit-input-helper.is-error[data-v-40723984]{color:#f44336}.flutter-transform[data-v-f99c0949]{box-sizing:border-box}.ink-well[data-v-a4b9dd0e]{cursor:pointer;display:block;position:relative;overflow:hidden}.ink-well.disabled[data-v-a4b9dd0e]{cursor:default}.ripple[data-v-a4b9dd0e]{pointer-events:none;border-radius:50%;animation:.6s linear ripple-a4b9dd0e;position:absolute;transform:scale(0)}@keyframes ripple-a4b9dd0e{to{opacity:0;transform:scale(4)}}.slider-container[data-v-bccfa37a]{width:100%;position:relative}.bottom-sheet-overlay[data-v-6948b23d]{z-index:9999;background-color:#0000008a;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.snackbar-overlay[data-v-d8abf3ed]{z-index:9999;pointer-events:none;justify-content:center;display:flex;position:fixed;bottom:0;left:0;right:0}.snackbar-overlay[data-v-d8abf3ed]>*{pointer-events:auto}
|
|
2
2
|
/*$vite$:1*/
|
package/dist/index.js
CHANGED
|
@@ -656,9 +656,9 @@ function useGestures({ emit: e }) {
|
|
|
656
656
|
};
|
|
657
657
|
}
|
|
658
658
|
var S_EVENTS = Symbol("events"), S_BEHAVIOR = Symbol("behavior");
|
|
659
|
-
function useGestureStyle() {
|
|
660
|
-
let
|
|
661
|
-
return (
|
|
659
|
+
function useGestureStyle(e) {
|
|
660
|
+
let T = e || inject(S_BEHAVIOR, "opaque"), E = {};
|
|
661
|
+
return (T === "opaque" || T === "translucent") && (E.cursor = "pointer", E.userSelect = "none"), E;
|
|
662
662
|
}
|
|
663
663
|
function useGestureEvents() {
|
|
664
664
|
return inject(S_EVENTS, void 0);
|
|
@@ -921,11 +921,66 @@ var AnimatedContainer_default = /* @__PURE__ */ defineComponent({
|
|
|
921
921
|
]));
|
|
922
922
|
}
|
|
923
923
|
});
|
|
924
|
+
let FontWeight = /* @__PURE__ */ function(e) {
|
|
925
|
+
return e.w100 = "100", e.w200 = "200", e.w300 = "300", e.w400 = "400", e.w500 = "500", e.w600 = "600", e.w700 = "700", e.w800 = "800", e.w900 = "900", e.normal = "normal", e.bold = "bold", e.bolder = "bolder", e;
|
|
926
|
+
}({}), FontStyle = /* @__PURE__ */ function(e) {
|
|
927
|
+
return e.normal = "normal", e.italic = "italic", e;
|
|
928
|
+
}({}), TextDecoration = /* @__PURE__ */ function(e) {
|
|
929
|
+
return e.none = "none", e.underline = "underline", e.overline = "overline", e.lineThrough = "line-through", e;
|
|
930
|
+
}({}), TextDecorationStyle = /* @__PURE__ */ function(e) {
|
|
931
|
+
return e.solid = "solid", e.double = "double", e.dotted = "dotted", e.dashed = "dashed", e.wavy = "wavy", e;
|
|
932
|
+
}({}), TextAlign = /* @__PURE__ */ function(e) {
|
|
933
|
+
return e.left = "left", e.right = "right", e.center = "center", e.justify = "justify", e.start = "start", e.end = "end", e;
|
|
934
|
+
}({}), TextOverflow = /* @__PURE__ */ function(e) {
|
|
935
|
+
return e.clip = "clip", e.fade = "fade", e.ellipsis = "ellipsis", e.visible = "visible", e;
|
|
936
|
+
}({}), TextBaseline = /* @__PURE__ */ function(e) {
|
|
937
|
+
return e.alphabetic = "alphabetic", e.ideographic = "ideographic", e;
|
|
938
|
+
}({}), TextDirection = /* @__PURE__ */ function(e) {
|
|
939
|
+
return e.rtl = "rtl", e.ltr = "ltr", e;
|
|
940
|
+
}({});
|
|
941
|
+
var TEXT_STYLE_SYMBOL = Symbol("textStyle");
|
|
942
|
+
function buildFontFamily(e, T, E) {
|
|
943
|
+
let D = e;
|
|
944
|
+
return T && D && (D = `packages/${T}/${D}`), E && E.length > 0 ? [D, ...E].filter(Boolean).join(", ") : D;
|
|
945
|
+
}
|
|
946
|
+
function toCSSStyle(e = {}) {
|
|
947
|
+
let T = {};
|
|
948
|
+
T.margin = 0, T.padding = 0, T.border = "none", T.fontSmooth = "antialiased", T.MozOsxFontSmoothing = "grayscale", T.textRendering = "optimizeLegibility", T.wordBreak = "break-word", T.overflowWrap = "break-word", T.transition = "all 0.2s ease-in-out", e.foreground ? Object.assign(T, e.foreground) : e.color && (T.color = e.color), e.background ? Object.assign(T, e.background) : e.backgroundColor && (T.backgroundColor = e.backgroundColor), e.fontSize && (T.fontSize = typeof e.fontSize == "number" ? px2vw(e.fontSize) : e.fontSize), e.fontWeight && (T.fontWeight = e.fontWeight.toString()), e.fontStyle && (T.fontStyle = e.fontStyle);
|
|
949
|
+
let E = buildFontFamily(e.fontFamily, e.package, e.fontFamilyFallback);
|
|
950
|
+
if (E && (T.fontFamily = E), e.letterSpacing && (T.letterSpacing = px2vw(e.letterSpacing)), e.wordSpacing && (T.wordSpacing = px2vw(e.wordSpacing)), e.height && (T.lineHeight = e.height.toString()), e.decoration && (T.textDecoration = e.decoration), e.decorationColor && (T.textDecorationColor = e.decorationColor), e.decorationStyle && (T.textDecorationStyle = e.decorationStyle), e.decorationThickness && (T.textDecorationThickness = px2vw(e.decorationThickness)), e.overflow) switch (e.overflow) {
|
|
951
|
+
case TextOverflow.ellipsis:
|
|
952
|
+
T.overflow = "hidden", T.textOverflow = "ellipsis", T.whiteSpace = "nowrap";
|
|
953
|
+
break;
|
|
954
|
+
case TextOverflow.clip:
|
|
955
|
+
T.overflow = "hidden";
|
|
956
|
+
break;
|
|
957
|
+
case TextOverflow.visible:
|
|
958
|
+
T.overflow = "visible";
|
|
959
|
+
break;
|
|
960
|
+
case TextOverflow.fade:
|
|
961
|
+
T.overflow = "hidden", T.whiteSpace = "nowrap", T.maskImage = "linear-gradient(to right, black 80%, transparent 100%)";
|
|
962
|
+
break;
|
|
963
|
+
}
|
|
964
|
+
return e.shadows && e.shadows.length > 0 && (T.textShadow = e.shadows.map((e) => {
|
|
965
|
+
let T = e.offsetX || 0, E = e.offsetY || 0, D = e.blurRadius || 0, O = e.color || "rgba(0,0,0,0.5)";
|
|
966
|
+
return `${px2vw(T)} ${px2vw(E)} ${px2vw(D)} ${O}`;
|
|
967
|
+
}).join(", ")), e.fontFeatures && (T.fontFeatureSettings = JSON.stringify(e.fontFeatures)), e.fontVariations && (T.fontVariationSettings = JSON.stringify(e.fontVariations)), T;
|
|
968
|
+
}
|
|
969
|
+
function TextStyle(e = {}, T = {}) {
|
|
970
|
+
return {
|
|
971
|
+
...T,
|
|
972
|
+
...e,
|
|
973
|
+
[TEXT_STYLE_SYMBOL]: !0
|
|
974
|
+
};
|
|
975
|
+
}
|
|
976
|
+
function isTextStyle(e) {
|
|
977
|
+
return isPlainObject(e) ? TEXT_STYLE_SYMBOL in e : !1;
|
|
978
|
+
}
|
|
924
979
|
const ButtonStyle = (e) => e;
|
|
925
980
|
function buttonStyleToStyle(e) {
|
|
926
981
|
if (!e) return {};
|
|
927
982
|
let T = {};
|
|
928
|
-
if (e.backgroundColor && (T.backgroundColor = e.backgroundColor), e.foregroundColor && (T.color = e.foregroundColor), e.padding && Object.assign(T, paddingToStyle(e.padding)), e.minimumSize) {
|
|
983
|
+
if (e.textStyle && Object.assign(T, toCSSStyle(e.textStyle)), e.backgroundColor && (T.backgroundColor = e.backgroundColor), e.foregroundColor && (T.color = e.foregroundColor), e.padding && Object.assign(T, paddingToStyle(e.padding)), e.minimumSize) {
|
|
929
984
|
let { width: E, height: D } = sizeToStyle(e.minimumSize) || {};
|
|
930
985
|
E && (T.minWidth = E), D && (T.minHeight = D);
|
|
931
986
|
}
|
|
@@ -971,6 +1026,7 @@ var GestureDetector_default = defineComponent({
|
|
|
971
1026
|
type: Boolean,
|
|
972
1027
|
default: !1
|
|
973
1028
|
},
|
|
1029
|
+
behavior: { default: "opaque" },
|
|
974
1030
|
style: {}
|
|
975
1031
|
},
|
|
976
1032
|
emits: ["pressed", "long-press"],
|
|
@@ -978,7 +1034,7 @@ var GestureDetector_default = defineComponent({
|
|
|
978
1034
|
let E = e, D = T, A = useStyles(), j = useSafeAttrs(), N = useGestureEvents(), P = computed(() => A.value.pointerEvents == "none" ? j.value : {
|
|
979
1035
|
...j.value,
|
|
980
1036
|
...N || {}
|
|
981
|
-
}), F = useGestureStyle(), I = computed(() => {
|
|
1037
|
+
}), F = useGestureStyle(E.behavior), I = computed(() => {
|
|
982
1038
|
let e = { position: "relative" };
|
|
983
1039
|
return Object.assign(e, A.value), Object.assign(e, buttonStyleToStyle(E.style)), Object.assign(e, F), e;
|
|
984
1040
|
}), L = () => {
|
|
@@ -987,6 +1043,7 @@ var GestureDetector_default = defineComponent({
|
|
|
987
1043
|
E.disabled || D("long-press");
|
|
988
1044
|
};
|
|
989
1045
|
return (T, E) => (openBlock(), createBlock(GestureDetector_default, {
|
|
1046
|
+
behavior: e.behavior,
|
|
990
1047
|
onTap: L,
|
|
991
1048
|
onLongPress: R
|
|
992
1049
|
}, {
|
|
@@ -996,13 +1053,13 @@ var GestureDetector_default = defineComponent({
|
|
|
996
1053
|
disabled: e.disabled
|
|
997
1054
|
}, P.value), [renderSlot(T.$slots, "default", {}, void 0, !0)], 16, _hoisted_1$4)]),
|
|
998
1055
|
_: 3
|
|
999
|
-
}));
|
|
1056
|
+
}, 8, ["behavior"]));
|
|
1000
1057
|
}
|
|
1001
1058
|
}), __plugin_vue_export_helper_default = (e, T) => {
|
|
1002
1059
|
let E = e.__vccOpts || e;
|
|
1003
1060
|
for (let [e, D] of T) E[e] = D;
|
|
1004
1061
|
return E;
|
|
1005
|
-
}, Button_default = /* @__PURE__ */ __plugin_vue_export_helper_default(Button_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-
|
|
1062
|
+
}, Button_default = /* @__PURE__ */ __plugin_vue_export_helper_default(Button_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-04ee9025"]]), Card_default = /* @__PURE__ */ defineComponent({
|
|
1006
1063
|
__name: "Card",
|
|
1007
1064
|
props: {
|
|
1008
1065
|
color: { default: "#ffffff" },
|
|
@@ -1752,63 +1809,7 @@ var Positioned_default = /* @__PURE__ */ defineComponent({
|
|
|
1752
1809
|
style: normalizeStyle(unref(T))
|
|
1753
1810
|
}, [renderSlot(e.$slots, "default")], 4));
|
|
1754
1811
|
}
|
|
1755
|
-
})
|
|
1756
|
-
let FontWeight = /* @__PURE__ */ function(e) {
|
|
1757
|
-
return e.w100 = "100", e.w200 = "200", e.w300 = "300", e.w400 = "400", e.w500 = "500", e.w600 = "600", e.w700 = "700", e.w800 = "800", e.w900 = "900", e.normal = "normal", e.bold = "bold", e.bolder = "bolder", e;
|
|
1758
|
-
}({}), FontStyle = /* @__PURE__ */ function(e) {
|
|
1759
|
-
return e.normal = "normal", e.italic = "italic", e;
|
|
1760
|
-
}({}), TextDecoration = /* @__PURE__ */ function(e) {
|
|
1761
|
-
return e.none = "none", e.underline = "underline", e.overline = "overline", e.lineThrough = "line-through", e;
|
|
1762
|
-
}({}), TextDecorationStyle = /* @__PURE__ */ function(e) {
|
|
1763
|
-
return e.solid = "solid", e.double = "double", e.dotted = "dotted", e.dashed = "dashed", e.wavy = "wavy", e;
|
|
1764
|
-
}({}), TextAlign = /* @__PURE__ */ function(e) {
|
|
1765
|
-
return e.left = "left", e.right = "right", e.center = "center", e.justify = "justify", e.start = "start", e.end = "end", e;
|
|
1766
|
-
}({}), TextOverflow = /* @__PURE__ */ function(e) {
|
|
1767
|
-
return e.clip = "clip", e.fade = "fade", e.ellipsis = "ellipsis", e.visible = "visible", e;
|
|
1768
|
-
}({}), TextBaseline = /* @__PURE__ */ function(e) {
|
|
1769
|
-
return e.alphabetic = "alphabetic", e.ideographic = "ideographic", e;
|
|
1770
|
-
}({}), TextDirection = /* @__PURE__ */ function(e) {
|
|
1771
|
-
return e.rtl = "rtl", e.ltr = "ltr", e;
|
|
1772
|
-
}({});
|
|
1773
|
-
var TEXT_STYLE_SYMBOL = Symbol("textStyle");
|
|
1774
|
-
function buildFontFamily(e, T, E) {
|
|
1775
|
-
let D = e;
|
|
1776
|
-
return T && D && (D = `packages/${T}/${D}`), E && E.length > 0 ? [D, ...E].filter(Boolean).join(", ") : D;
|
|
1777
|
-
}
|
|
1778
|
-
function toCSSStyle(e = {}) {
|
|
1779
|
-
let T = {};
|
|
1780
|
-
T.margin = 0, T.padding = 0, T.border = "none", T.fontSmooth = "antialiased", T.MozOsxFontSmoothing = "grayscale", T.textRendering = "optimizeLegibility", T.wordBreak = "break-word", T.overflowWrap = "break-word", T.transition = "all 0.2s ease-in-out", e.foreground ? Object.assign(T, e.foreground) : e.color && (T.color = e.color), e.background ? Object.assign(T, e.background) : e.backgroundColor && (T.backgroundColor = e.backgroundColor), e.fontSize && (T.fontSize = typeof e.fontSize == "number" ? px2vw(e.fontSize) : e.fontSize), e.fontWeight && (T.fontWeight = e.fontWeight.toString()), e.fontStyle && (T.fontStyle = e.fontStyle);
|
|
1781
|
-
let E = buildFontFamily(e.fontFamily, e.package, e.fontFamilyFallback);
|
|
1782
|
-
if (E && (T.fontFamily = E), e.letterSpacing && (T.letterSpacing = px2vw(e.letterSpacing)), e.wordSpacing && (T.wordSpacing = px2vw(e.wordSpacing)), e.height && (T.lineHeight = e.height.toString()), e.decoration && (T.textDecoration = e.decoration), e.decorationColor && (T.textDecorationColor = e.decorationColor), e.decorationStyle && (T.textDecorationStyle = e.decorationStyle), e.decorationThickness && (T.textDecorationThickness = px2vw(e.decorationThickness)), e.overflow) switch (e.overflow) {
|
|
1783
|
-
case TextOverflow.ellipsis:
|
|
1784
|
-
T.overflow = "hidden", T.textOverflow = "ellipsis", T.whiteSpace = "nowrap";
|
|
1785
|
-
break;
|
|
1786
|
-
case TextOverflow.clip:
|
|
1787
|
-
T.overflow = "hidden";
|
|
1788
|
-
break;
|
|
1789
|
-
case TextOverflow.visible:
|
|
1790
|
-
T.overflow = "visible";
|
|
1791
|
-
break;
|
|
1792
|
-
case TextOverflow.fade:
|
|
1793
|
-
T.overflow = "hidden", T.whiteSpace = "nowrap", T.maskImage = "linear-gradient(to right, black 80%, transparent 100%)";
|
|
1794
|
-
break;
|
|
1795
|
-
}
|
|
1796
|
-
return e.shadows && e.shadows.length > 0 && (T.textShadow = e.shadows.map((e) => {
|
|
1797
|
-
let T = e.offsetX || 0, E = e.offsetY || 0, D = e.blurRadius || 0, O = e.color || "rgba(0,0,0,0.5)";
|
|
1798
|
-
return `${px2vw(T)} ${px2vw(E)} ${px2vw(D)} ${O}`;
|
|
1799
|
-
}).join(", ")), e.fontFeatures && (T.fontFeatureSettings = JSON.stringify(e.fontFeatures)), e.fontVariations && (T.fontVariationSettings = JSON.stringify(e.fontVariations)), T;
|
|
1800
|
-
}
|
|
1801
|
-
function TextStyle(e = {}, T = {}) {
|
|
1802
|
-
return {
|
|
1803
|
-
...T,
|
|
1804
|
-
...e,
|
|
1805
|
-
[TEXT_STYLE_SYMBOL]: !0
|
|
1806
|
-
};
|
|
1807
|
-
}
|
|
1808
|
-
function isTextStyle(e) {
|
|
1809
|
-
return isPlainObject(e) ? TEXT_STYLE_SYMBOL in e : !1;
|
|
1810
|
-
}
|
|
1811
|
-
var Text_default = /* @__PURE__ */ defineComponent({
|
|
1812
|
+
}), Text_default = /* @__PURE__ */ defineComponent({
|
|
1812
1813
|
inheritAttrs: !1,
|
|
1813
1814
|
__name: "Text",
|
|
1814
1815
|
props: {
|
|
@@ -2494,11 +2495,16 @@ var Transform_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @_
|
|
|
2494
2495
|
onTap: {},
|
|
2495
2496
|
splashColor: { default: "rgba(0, 0, 0, 0.1)" },
|
|
2496
2497
|
highlightColor: {},
|
|
2497
|
-
borderRadius: {}
|
|
2498
|
+
borderRadius: {},
|
|
2499
|
+
disabled: {
|
|
2500
|
+
type: Boolean,
|
|
2501
|
+
default: !1
|
|
2502
|
+
}
|
|
2498
2503
|
},
|
|
2499
2504
|
emits: ["tap"],
|
|
2500
2505
|
setup(e, { emit: E }) {
|
|
2501
2506
|
let D = e, O = E, k = ref([]), A = 0, M = (e) => {
|
|
2507
|
+
if (D.disabled) return;
|
|
2502
2508
|
O("tap");
|
|
2503
2509
|
let T = e.currentTarget.getBoundingClientRect(), E = Math.max(T.width, T.height), j = e.clientX - T.left - E / 2, M = e.clientY - T.top - E / 2, N = A++, P = {
|
|
2504
2510
|
width: `${E}px`,
|
|
@@ -2515,7 +2521,7 @@ var Transform_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @_
|
|
|
2515
2521
|
}, 600);
|
|
2516
2522
|
};
|
|
2517
2523
|
return (E, D) => (openBlock(), createElementBlock("div", mergeProps({
|
|
2518
|
-
class: ["ink-well", { disabled:
|
|
2524
|
+
class: ["ink-well", { disabled: e.disabled }],
|
|
2519
2525
|
onClick: M
|
|
2520
2526
|
}, E.$attrs), [renderSlot(E.$slots, "default", {}, void 0, !0), (openBlock(!0), createElementBlock(Fragment, null, renderList(k.value, (e) => (openBlock(), createElementBlock("span", {
|
|
2521
2527
|
key: e.id,
|
|
@@ -2523,7 +2529,7 @@ var Transform_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @_
|
|
|
2523
2529
|
style: normalizeStyle(e.style)
|
|
2524
2530
|
}, null, 4))), 128))], 16));
|
|
2525
2531
|
}
|
|
2526
|
-
}), [["__scopeId", "data-v-
|
|
2532
|
+
}), [["__scopeId", "data-v-a4b9dd0e"]]), Switch_default = /* @__PURE__ */ defineComponent({
|
|
2527
2533
|
__name: "Switch",
|
|
2528
2534
|
props: {
|
|
2529
2535
|
value: { type: Boolean },
|
package/dist/useGesture.d.ts
CHANGED
|
@@ -33,7 +33,7 @@ export declare function useGestures({ emit }: SetupContext): {
|
|
|
33
33
|
onTouchend: (e: TouchEvent) => void;
|
|
34
34
|
onTouchcancel: (e: TouchEvent) => void;
|
|
35
35
|
};
|
|
36
|
-
export declare function useGestureStyle(): CSSProperties;
|
|
36
|
+
export declare function useGestureStyle(staticBehavior?: Behavior): CSSProperties;
|
|
37
37
|
export declare function useGestureEvents(): any;
|
|
38
38
|
export declare function provideGesture(events: Events, behavior: Behavior): void;
|
|
39
39
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fluekit",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.76",
|
|
4
4
|
"description": "A Flutter-style Layout UI kit for Vue",
|
|
5
5
|
"homepage": "https://fi2zz.github.io/fluekit/",
|
|
6
6
|
"repository": {
|
|
@@ -20,6 +20,10 @@
|
|
|
20
20
|
"files": [
|
|
21
21
|
"dist"
|
|
22
22
|
],
|
|
23
|
+
"scripts": {
|
|
24
|
+
"build": "vite build",
|
|
25
|
+
"test": "vitest"
|
|
26
|
+
},
|
|
23
27
|
"peerDependencies": {
|
|
24
28
|
"vue": "^3.5.0"
|
|
25
29
|
},
|
|
@@ -33,9 +37,5 @@
|
|
|
33
37
|
"vite-plugin-dts": "^4.5.4",
|
|
34
38
|
"vitest": "^4.0.16",
|
|
35
39
|
"vue-tsc": "^3.1.4"
|
|
36
|
-
},
|
|
37
|
-
"scripts": {
|
|
38
|
-
"build": "vite build",
|
|
39
|
-
"test": "vitest"
|
|
40
40
|
}
|
|
41
|
-
}
|
|
41
|
+
}
|