fluekit 1.5.73 → 1.5.74
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/AlertDialog.d.ts +4 -0
- package/dist/MediaQuery.d.ts +8 -0
- package/dist/index.js +10 -6
- package/package.json +1 -1
package/dist/AlertDialog.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { EdgeInsets } from './EdgeInsets';
|
|
|
3
3
|
import { BoxDecoration } from './BoxDecoration';
|
|
4
4
|
import { BoxConstraints } from './BoxConstraints';
|
|
5
5
|
import { Size } from './Size';
|
|
6
|
+
import { TextStyle } from './TextStyle';
|
|
6
7
|
import { MainAxisAlignment } from './FlexProps';
|
|
7
8
|
interface Props {
|
|
8
9
|
visible: boolean;
|
|
@@ -17,6 +18,9 @@ interface Props {
|
|
|
17
18
|
actionsAlignment?: MainAxisAlignment;
|
|
18
19
|
titleAlignment?: Alignment;
|
|
19
20
|
padding?: EdgeInsets;
|
|
21
|
+
titleStyle?: TextStyle;
|
|
22
|
+
titleColor?: string;
|
|
23
|
+
titleFontSize?: number;
|
|
20
24
|
}
|
|
21
25
|
declare function __VLS_template(): {
|
|
22
26
|
attrs: Partial<{}>;
|
package/dist/MediaQuery.d.ts
CHANGED
|
@@ -19,3 +19,11 @@ export interface MediaQueryData {
|
|
|
19
19
|
}
|
|
20
20
|
export declare const MediaQueryKey: InjectionKey<MediaQueryData>;
|
|
21
21
|
export declare function useMediaQuery(): MediaQueryData;
|
|
22
|
+
false, {}, any>;
|
|
23
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
24
|
+
export default _default;
|
|
25
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
26
|
+
new (): {
|
|
27
|
+
$slots: S;
|
|
28
|
+
};
|
|
29
|
+
};
|
package/dist/index.js
CHANGED
|
@@ -2759,7 +2759,10 @@ var Transform_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @_
|
|
|
2759
2759
|
size: {},
|
|
2760
2760
|
actionsAlignment: { default: MainAxisAlignment.end },
|
|
2761
2761
|
titleAlignment: {},
|
|
2762
|
-
padding: {}
|
|
2762
|
+
padding: {},
|
|
2763
|
+
titleStyle: {},
|
|
2764
|
+
titleColor: {},
|
|
2765
|
+
titleFontSize: {}
|
|
2763
2766
|
},
|
|
2764
2767
|
emits: [
|
|
2765
2768
|
"update:visible",
|
|
@@ -2787,10 +2790,11 @@ var Transform_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @_
|
|
|
2787
2790
|
}
|
|
2788
2791
|
}]
|
|
2789
2792
|
})
|
|
2790
|
-
}, E.size ? Size(E.size) : {})), R = TextStyle({
|
|
2791
|
-
fontSize: 20,
|
|
2792
|
-
fontWeight: FontWeight.bold
|
|
2793
|
-
|
|
2793
|
+
}, E.size ? Size(E.size) : {})), R = computed(() => E.titleStyle || TextStyle({
|
|
2794
|
+
fontSize: E.titleFontSize || 20,
|
|
2795
|
+
fontWeight: FontWeight.bold,
|
|
2796
|
+
color: E.titleColor || "rgba(0,0,0,0.87)"
|
|
2797
|
+
})), z = TextStyle({
|
|
2794
2798
|
fontSize: 16,
|
|
2795
2799
|
color: "rgba(0,0,0,0.6)"
|
|
2796
2800
|
}), B = computed(() => BoxDecoration({
|
|
@@ -2831,7 +2835,7 @@ var Transform_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @_
|
|
|
2831
2835
|
width: "100%"
|
|
2832
2836
|
}, {
|
|
2833
2837
|
default: withCtx(() => [createVNode(Text_default, {
|
|
2834
|
-
style: normalizeStyle(
|
|
2838
|
+
style: normalizeStyle(R.value),
|
|
2835
2839
|
data: e.title
|
|
2836
2840
|
}, null, 8, ["style", "data"])]),
|
|
2837
2841
|
_: 1
|