fluekit 1.5.74 → 1.5.75

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.
@@ -1,25 +1,17 @@
1
- import { InjectionKey } from 'vue';
2
- import { EdgeInsets } from './EdgeInsets';
3
- export declare enum Orientation {
4
- portrait = "portrait",
5
- landscape = "landscape"
6
- }
7
- export interface MediaQueryData {
8
- size: {
9
- width: number;
10
- height: number;
1
+ import { MediaQueryData } from './useMediaQuery';
2
+ type __VLS_Props = {
3
+ data: MediaQueryData;
4
+ };
5
+ declare function __VLS_template(): {
6
+ attrs: Partial<{}>;
7
+ slots: {
8
+ default?(_: {}): any;
11
9
  };
12
- devicePixelRatio: number;
13
- platformBrightness: "light" | "dark";
14
- orientation: Orientation;
15
- disableAnimations: boolean;
16
- highContrast: boolean;
17
- padding: EdgeInsets;
18
- viewInsets: EdgeInsets;
19
- }
20
- export declare const MediaQueryKey: InjectionKey<MediaQueryData>;
21
- export declare function useMediaQuery(): MediaQueryData;
22
- false, {}, any>;
10
+ refs: {};
11
+ rootEl: any;
12
+ };
13
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
23
15
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
24
16
  export default _default;
25
17
  type __VLS_WithTemplateSlots<T, S> = T & {
package/dist/index.d.ts CHANGED
@@ -52,7 +52,7 @@ export * from './BorderRadius';
52
52
  export * from './BoxShadow';
53
53
  export * from './ButtonStyle';
54
54
  export * from './EdgeInsets';
55
- export * from './MediaQuery';
55
+ export * from './useMediaQuery';
56
56
  export { Alignment as Alignment } from './FlexProps';
57
57
  export { StackFit, CrossAxisAlignment, MainAxisAlignment } from './FlexProps';
58
58
  export * from './Gradient';
@@ -0,0 +1,21 @@
1
+ import { InjectionKey } from 'vue';
2
+ import { EdgeInsets } from './EdgeInsets';
3
+ export declare enum Orientation {
4
+ portrait = "portrait",
5
+ landscape = "landscape"
6
+ }
7
+ export interface MediaQueryData {
8
+ size: {
9
+ width: number;
10
+ height: number;
11
+ };
12
+ devicePixelRatio: number;
13
+ platformBrightness: "light" | "dark";
14
+ orientation: Orientation;
15
+ disableAnimations: boolean;
16
+ highContrast: boolean;
17
+ padding: EdgeInsets;
18
+ viewInsets: EdgeInsets;
19
+ }
20
+ export declare const MediaQueryKey: InjectionKey<MediaQueryData>;
21
+ export declare function useMediaQuery(): MediaQueryData;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fluekit",
3
- "version": "1.5.74",
3
+ "version": "1.5.75",
4
4
  "description": "A Flutter-style Layout UI kit for Vue",
5
5
  "homepage": "https://fi2zz.github.io/fluekit/",
6
6
  "repository": {