fluekit 2.0.2 → 2.1.1

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 (45) hide show
  1. package/README.md +24 -9
  2. package/dist/ActionChip.d.ts +31 -0
  3. package/dist/AlertDialog.d.ts +7 -0
  4. package/dist/AnimatedContainer.d.ts +2 -1
  5. package/dist/BackdropFilter.d.ts +23 -0
  6. package/dist/BoxDecoration.d.ts +4 -23
  7. package/dist/BoxFit.d.ts +12 -0
  8. package/dist/Button.d.ts +3 -3
  9. package/dist/Chip.d.ts +36 -0
  10. package/dist/ChoiceChip.d.ts +35 -0
  11. package/dist/CircleAvatar.d.ts +29 -0
  12. package/dist/CircularProgressIndicator.d.ts +1 -1
  13. package/dist/Clip.d.ts +11 -0
  14. package/dist/Colors.d.ts +1 -1
  15. package/dist/CupertinoActivityIndicator.d.ts +1 -1
  16. package/dist/CupertinoColors.d.ts +2 -2
  17. package/dist/CupertinoContextMenu.d.ts +2 -6
  18. package/dist/CupertinoIcons.d.ts +15 -0
  19. package/dist/Divider.d.ts +1 -1
  20. package/dist/Drawer.d.ts +44 -0
  21. package/dist/EdgeInsets.d.ts +1 -0
  22. package/dist/ElevatedButton.d.ts +37 -0
  23. package/dist/FlueConfigProvider.d.ts +26 -0
  24. package/dist/IconButton.d.ts +32 -0
  25. package/dist/Icons.d.ts +26 -0
  26. package/dist/ImageFilter.d.ts +28 -0
  27. package/dist/ImageProvider.d.ts +16 -2
  28. package/dist/LinearProgressIndicator.d.ts +1 -1
  29. package/dist/ListView.d.ts +1 -0
  30. package/dist/OutlinedButton.d.ts +37 -0
  31. package/dist/Overlay.d.ts +33 -0
  32. package/dist/PopupMenuButton.d.ts +39 -0
  33. package/dist/RefreshIndicator.d.ts +32 -0
  34. package/dist/Scaffold.d.ts +18 -6
  35. package/dist/SlidingSegmentedControl.d.ts +25 -0
  36. package/dist/Switch.d.ts +9 -5
  37. package/dist/TabBar.d.ts +25 -0
  38. package/dist/TabBarView.d.ts +20 -0
  39. package/dist/TextButton.d.ts +37 -0
  40. package/dist/__tests__/px2vw_mobile.spec.d.ts +1 -0
  41. package/dist/index.css +1 -1
  42. package/dist/index.d.ts +26 -2
  43. package/dist/index.js +3957 -2844
  44. package/dist/px2vw.d.ts +2 -1
  45. package/package.json +1 -1
@@ -14,9 +14,14 @@ export declare function MemoryImage(data: string | Blob): ImageProvider;
14
14
  export interface AssetImageOptions {
15
15
  package?: string;
16
16
  bundle?: any;
17
+ /**
18
+ * Overrides the global asset base URL for this image.
19
+ */
20
+ baseUrl?: string;
17
21
  }
18
22
  /**
19
23
  * 设置 AssetImage 的基础路径
24
+ * @internal 此函数主要用于 FlueConfigProvider 内部调用。
20
25
  * @param url 基础路径,例如 'https://cdn.example.com/assets/' 或 '/static/'
21
26
  */
22
27
  export declare function setAssetBaseURL(url: string): void;
@@ -30,8 +35,17 @@ export declare function AssetImage(name: string, options?: AssetImageOptions): I
30
35
  * 创建一个预设 package 的 AssetImage 工厂函数
31
36
  *
32
37
  * @example
33
- * const MyPkgAssets = createAssetImage({ package: 'my_pkg' });
38
+ * const MyPkgAssets = createAssetImageProvider({ package: 'my_pkg' });
34
39
  * const img = MyPkgAssets('icons/logo.png'); // 相当于 AssetImage('icons/logo.png', { package: 'my_pkg' })
35
40
  */
36
- export declare function createAssetImage(baseOptions: AssetImageOptions): (name: string, options?: AssetImageOptions) => ImageProvider;
41
+ export declare function createAssetImageProvider(baseOptions: AssetImageOptions): (name: string, options?: AssetImageOptions) => ImageProvider;
42
+ /**
43
+ * Creates a factory function for NetworkImage with a base URL.
44
+ *
45
+ * @example
46
+ * const MyRemoteImages = createNetworkImageProvider("https://api.example.com/images/");
47
+ * const img = MyRemoteImages("user/avatar.png"); // -> NetworkImage("https://api.example.com/images/user/avatar.png")
48
+ */
49
+ export declare function createNetworkImageProvider(baseUrl: string): (url: string) => ImageProvider;
50
+ export declare function ImageProvider(url: string): ImageProvider;
37
51
  export {};
@@ -25,8 +25,8 @@ interface Props {
25
25
  borderRadius?: number | BorderRadius;
26
26
  }
27
27
  declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
28
- minHeight: number;
29
28
  color: string | Color;
29
+ minHeight: number;
30
30
  value: number | null;
31
31
  backgroundColor: string | Color;
32
32
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
@@ -8,6 +8,7 @@ interface Props {
8
8
  itemExtent?: number;
9
9
  separator?: boolean;
10
10
  clipBehavior?: "none" | "hardEdge" | "antiAlias";
11
+ onRefresh?: () => Promise<void>;
11
12
  }
12
13
  declare function __VLS_template(): {
13
14
  attrs: Partial<{}>;
@@ -0,0 +1,37 @@
1
+ import { ButtonStyle } from './ButtonStyle';
2
+ interface Props {
3
+ style?: ButtonStyle;
4
+ disabled?: boolean;
5
+ child?: any;
6
+ }
7
+ declare function __VLS_template(): {
8
+ attrs: Partial<{}>;
9
+ slots: {
10
+ default?(_: {}): any;
11
+ };
12
+ refs: {};
13
+ rootEl: any;
14
+ };
15
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
16
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
17
+ "long-press": () => any;
18
+ pressed: () => any;
19
+ "tap-down": (payload: any) => any;
20
+ "tap-up": (payload: any) => any;
21
+ "tap-cancel": (payload: any) => any;
22
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
23
+ "onLong-press"?: (() => any) | undefined;
24
+ onPressed?: (() => any) | undefined;
25
+ "onTap-down"?: ((payload: any) => any) | undefined;
26
+ "onTap-up"?: ((payload: any) => any) | undefined;
27
+ "onTap-cancel"?: ((payload: any) => any) | undefined;
28
+ }>, {
29
+ disabled: boolean;
30
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
31
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
32
+ export default _default;
33
+ type __VLS_WithTemplateSlots<T, S> = T & {
34
+ new (): {
35
+ $slots: S;
36
+ };
37
+ };
@@ -0,0 +1,33 @@
1
+ import { Color } from './Color';
2
+ interface Props {
3
+ visible?: boolean;
4
+ color?: string | Color;
5
+ zIndex?: number;
6
+ position?: "absolute" | "fixed" | "sticky";
7
+ }
8
+ declare function __VLS_template(): {
9
+ attrs: Partial<{}>;
10
+ slots: {
11
+ default?(_: {}): any;
12
+ };
13
+ refs: {};
14
+ rootEl: any;
15
+ };
16
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
17
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
18
+ tap: () => any;
19
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
20
+ onTap?: (() => any) | undefined;
21
+ }>, {
22
+ color: string | Color;
23
+ position: "absolute" | "fixed" | "sticky";
24
+ visible: boolean;
25
+ zIndex: number;
26
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
27
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
28
+ export default _default;
29
+ type __VLS_WithTemplateSlots<T, S> = T & {
30
+ new (): {
31
+ $slots: S;
32
+ };
33
+ };
@@ -0,0 +1,39 @@
1
+ import { Color } from './Color';
2
+ interface Props {
3
+ icon?: any;
4
+ iconSize?: number;
5
+ iconColor?: string | Color;
6
+ color?: string | Color;
7
+ elevation?: number;
8
+ offset?: {
9
+ x: number;
10
+ y: number;
11
+ };
12
+ }
13
+ declare function __VLS_template(): {
14
+ attrs: Partial<{}>;
15
+ slots: {
16
+ default?(_: {
17
+ close: () => boolean;
18
+ }): any;
19
+ };
20
+ refs: {};
21
+ rootEl: any;
22
+ };
23
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
24
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
25
+ color: string | Color;
26
+ offset: {
27
+ x: number;
28
+ y: number;
29
+ };
30
+ elevation: number;
31
+ iconSize: number;
32
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
33
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
34
+ export default _default;
35
+ type __VLS_WithTemplateSlots<T, S> = T & {
36
+ new (): {
37
+ $slots: S;
38
+ };
39
+ };
@@ -0,0 +1,32 @@
1
+ import { Color } from './Color';
2
+ interface Props {
3
+ onRefresh: () => Promise<void>;
4
+ color?: string | Color;
5
+ backgroundColor?: string | Color;
6
+ triggerDistance?: number;
7
+ }
8
+ declare function __VLS_template(): {
9
+ attrs: Partial<{}>;
10
+ slots: {
11
+ default?(_: {}): any;
12
+ };
13
+ refs: {
14
+ containerRef: HTMLDivElement;
15
+ };
16
+ rootEl: any;
17
+ };
18
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
19
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
20
+ color: string | Color;
21
+ backgroundColor: string | Color;
22
+ triggerDistance: number;
23
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
24
+ containerRef: HTMLDivElement;
25
+ }, any>;
26
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
27
+ export default _default;
28
+ type __VLS_WithTemplateSlots<T, S> = T & {
29
+ new (): {
30
+ $slots: S;
31
+ };
32
+ };
@@ -5,21 +5,33 @@ export interface ScaffoldProps {
5
5
  declare function __VLS_template(): {
6
6
  attrs: Partial<{}>;
7
7
  slots: {
8
+ navigationBar?(_: {}): any;
8
9
  appBar?(_: {}): any;
9
10
  default?(_: {}): any;
10
- body?(_: {}): any;
11
+ bottomTabBar?(_: {}): any;
11
12
  bottomNavigationBar?(_: {}): any;
12
- floatingActionButton?(_: {}): any;
13
- drawer?(_: {}): any;
14
- endDrawer?(_: {}): any;
13
+ drawer?(_: {
14
+ open: boolean;
15
+ close: () => boolean;
16
+ }): any;
17
+ 'end-drawer'?(_: {
18
+ open: boolean;
19
+ close: () => boolean;
20
+ }): any;
21
+ };
22
+ refs: {
23
+ headerRef: HTMLDivElement;
24
+ footerRef: HTMLDivElement;
15
25
  };
16
- refs: {};
17
26
  rootEl: any;
18
27
  };
19
28
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
20
29
  declare const __VLS_component: import('vue').DefineComponent<ScaffoldProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ScaffoldProps> & Readonly<{}>, {
21
30
  backgroundColor: string | Color;
22
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
31
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
32
+ headerRef: HTMLDivElement;
33
+ footerRef: HTMLDivElement;
34
+ }, any>;
23
35
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
24
36
  export default _default;
25
37
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -0,0 +1,25 @@
1
+ import { Color } from './Color';
2
+ import { EdgeInsets } from './EdgeInsets';
3
+ import { TextStyle } from './TextStyle';
4
+ interface Props {
5
+ modelValue: string | number;
6
+ options: Record<string | number, string>;
7
+ disabledKeys?: (string | number)[];
8
+ backgroundColor?: string | Color;
9
+ thumbColor?: string | Color;
10
+ padding?: EdgeInsets;
11
+ height?: number | string;
12
+ labelTextStyleBuilder?: (value: string | number, disabled?: boolean) => TextStyle;
13
+ }
14
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
15
+ "update:modelValue": (value: string | number) => any;
16
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
17
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
18
+ }>, {
19
+ height: number | string;
20
+ padding: EdgeInsets;
21
+ backgroundColor: string | Color;
22
+ thumbColor: string | Color;
23
+ disabledKeys: (string | number)[];
24
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
25
+ export default _default;
package/dist/Switch.d.ts CHANGED
@@ -1,17 +1,21 @@
1
1
  import { Color } from './Color';
2
2
  interface Props {
3
- value: boolean;
4
- onChanged?: (value: boolean) => void;
5
3
  activeColor?: string | Color;
6
4
  activeTrackColor?: string | Color;
7
5
  inactiveThumbColor?: string | Color;
8
6
  inactiveTrackColor?: string | Color;
9
7
  variant?: "material" | "ios";
10
8
  }
11
- declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
12
- change: (value: boolean) => any;
9
+ type __VLS_Props = Props;
10
+ declare const model: import('vue').ModelRef<boolean, string, boolean, boolean>;
11
+ type __VLS_PublicProps = {
12
+ "value"?: typeof model['value'];
13
+ } & __VLS_Props;
14
+ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
13
15
  "update:value": (value: boolean) => any;
14
- }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
16
+ } & {
17
+ change: (value: boolean) => any;
18
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
15
19
  onChange?: ((value: boolean) => any) | undefined;
16
20
  "onUpdate:value"?: ((value: boolean) => any) | undefined;
17
21
  }>, {
@@ -0,0 +1,25 @@
1
+ import { Component } from 'vue';
2
+ import { Color } from './Color';
3
+ interface TabItem {
4
+ text?: string;
5
+ icon?: Component;
6
+ }
7
+ interface Props {
8
+ modelValue: number;
9
+ tabs: (string | TabItem)[];
10
+ indicatorColor?: string | Color;
11
+ labelColor?: string | Color;
12
+ unselectedLabelColor?: string | Color;
13
+ showIndicator?: boolean;
14
+ }
15
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
16
+ "update:modelValue": (value: number) => any;
17
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
18
+ "onUpdate:modelValue"?: ((value: number) => any) | undefined;
19
+ }>, {
20
+ labelColor: string | Color;
21
+ indicatorColor: string | Color;
22
+ unselectedLabelColor: string | Color;
23
+ showIndicator: boolean;
24
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
25
+ export default _default;
@@ -0,0 +1,20 @@
1
+ type __VLS_Props = {
2
+ modelValue: number;
3
+ };
4
+ declare function __VLS_template(): {
5
+ attrs: Partial<{}>;
6
+ slots: {
7
+ default?(_: {}): any;
8
+ };
9
+ refs: {};
10
+ rootEl: any;
11
+ };
12
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
+ 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>;
14
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
15
+ export default _default;
16
+ type __VLS_WithTemplateSlots<T, S> = T & {
17
+ new (): {
18
+ $slots: S;
19
+ };
20
+ };
@@ -0,0 +1,37 @@
1
+ import { ButtonStyle } from './ButtonStyle';
2
+ interface Props {
3
+ style?: ButtonStyle;
4
+ disabled?: boolean;
5
+ child?: any;
6
+ }
7
+ declare function __VLS_template(): {
8
+ attrs: Partial<{}>;
9
+ slots: {
10
+ default?(_: {}): any;
11
+ };
12
+ refs: {};
13
+ rootEl: any;
14
+ };
15
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
16
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
17
+ "long-press": () => any;
18
+ pressed: () => any;
19
+ "tap-down": (payload: any) => any;
20
+ "tap-up": (payload: any) => any;
21
+ "tap-cancel": (payload: any) => any;
22
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
23
+ "onLong-press"?: (() => any) | undefined;
24
+ onPressed?: (() => any) | undefined;
25
+ "onTap-down"?: ((payload: any) => any) | undefined;
26
+ "onTap-up"?: ((payload: any) => any) | undefined;
27
+ "onTap-cancel"?: ((payload: any) => any) | undefined;
28
+ }>, {
29
+ disabled: boolean;
30
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
31
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
32
+ export default _default;
33
+ type __VLS_WithTemplateSlots<T, S> = T & {
34
+ new (): {
35
+ $slots: S;
36
+ };
37
+ };
@@ -0,0 +1 @@
1
+ export {};
package/dist/index.css CHANGED
@@ -1,2 +1,2 @@
1
- .fluekit-button[data-v-1964ddef]{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-1964ddef]:disabled{cursor:default}.fluekit-image[data-v-ce382550]{display:block}.fluekit-icon[data-v-96834c76]{-webkit-user-select:none;user-select:none;pointer-events:none}.icon-svg[data-v-96834c76]{fill:currentColor;width:100%;height:100%;display:block}[data-v-96834c76] svg{fill:currentColor;width:100%;height:100%}.flutter-stack[data-v-aefe47c2]>*{grid-area:1/1/2/2}.fluekit-text-field[data-v-52a37cda]{width:100%;margin-top:16px;font-family:inherit;position:relative}.fluekit-input-container[data-v-52a37cda]{box-sizing:border-box;width:100%}.fluekit-input-element[data-v-52a37cda]{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-element[data-v-52a37cda]::placeholder{color:var(--v78fa3e8e);font-size:var(--v0b1ffc4d);opacity:1}.fluekit-input-label[data-v-52a37cda]{z-index:1}.fluekit-input-footer[data-v-52a37cda]{justify-content:space-between;margin-top:4px;display:flex}.fluekit-input-helper[data-v-52a37cda]{color:#666;font-size:12px}.fluekit-input-helper-spacer[data-v-52a37cda]{flex:1}.fluekit-input-counter[data-v-52a37cda]{color:#666;margin-left:auto;font-size:12px}.fluekit-input-helper.is-error[data-v-52a37cda]{color:#f44336}.flutter-transform[data-v-c4ab6ce1]{box-sizing:border-box}.ink-well[data-v-a5c5a2ad]{cursor:pointer;display:block;position:relative;overflow:hidden}.ink-well.disabled[data-v-a5c5a2ad]{cursor:default}.ripple[data-v-a5c5a2ad]{pointer-events:none;border-radius:50%;animation:.6s linear ripple-a5c5a2ad;position:absolute;transform:scale(0)}@keyframes ripple-a5c5a2ad{to{opacity:0;transform:scale(4)}}.slider-container[data-v-18cb2b41],.range-slider-container[data-v-f10382ff]{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}.flue-cupertino-navigation-bar[data-v-a51399c0]{-webkit-backdrop-filter:blur(20px);z-index:100;width:100%}.flue-nav-bar-middle[data-v-a51399c0]{justify-content:center;align-items:center;max-width:60%;display:flex}.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}.flue-app-bar-leading[data-v-5d3ac742]{align-items:center;margin-right:16px;display:flex}.flue-app-bar-actions[data-v-5d3ac742]{align-items:center;margin-left:16px;display:flex}.fluekit-bottom-navigation-bar-ios[data-v-11798dea]{-webkit-backdrop-filter:blur(20px)}.fluekit-context-menu-anchor[data-v-34f987d4]{display:inline-block}.fluekit-context-menu-overlay[data-v-34f987d4]{z-index:9999;flex-direction:column;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.fluekit-context-menu-backdrop[data-v-34f987d4]{-webkit-backdrop-filter:blur(10px);background:#0006;width:100%;height:100%;position:absolute;top:0;left:0}.fluekit-context-menu-content[data-v-34f987d4]{z-index:10001;width:250px;animation:.2s ease-out scale-in-34f987d4;position:relative}.fluekit-action-group[data-v-34f987d4]{-webkit-backdrop-filter:blur(20px);background:#f9f9f9c7;border-radius:14px;margin-bottom:16px;overflow:hidden}.fluekit-context-menu-action[data-v-34f987d4]{text-align:center;cursor:pointer;background:0 0;border-bottom:.5px solid #0000001a;justify-content:center;align-items:center;gap:8px;padding:16px;display:flex}.fluekit-context-menu-action[data-v-34f987d4]:last-child{border-bottom:none}.fluekit-context-menu-action[data-v-34f987d4]:active{background:#0000001a}.action-text[data-v-34f987d4]{color:#007aff;font-family:-apple-system,BlinkMacSystemFont,sans-serif;font-size:17px}.is-destructive .action-text[data-v-34f987d4]{color:#ff3b30}.is-default .action-text[data-v-34f987d4]{font-weight:600}.cancel-group[data-v-34f987d4]{margin-top:8px}.cancel-action .action-text[data-v-34f987d4]{font-weight:600}.fade-enter-active[data-v-34f987d4],.fade-leave-active[data-v-34f987d4]{transition:opacity .2s}.fade-enter-from[data-v-34f987d4],.fade-leave-to[data-v-34f987d4]{opacity:0}@keyframes scale-in-34f987d4{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}.flue-aspect-ratio[data-v-e23e6712]{grid-template-rows:100%;grid-template-columns:100%;display:grid}.flue-image-color-background[data-v-de3ea6be]{box-sizing:border-box;flex-direction:column;display:flex}.flue-linear-progress-indicator[data-v-111d0e67]{border-radius:0}@keyframes flue-linear-indeterminate-111d0e67{0%{transform:translate(0)scaleX(0)}40%{transform:translate(0)scaleX(.4)}to{transform:translate(100%)scaleX(.5)}}@keyframes flue-circular-rotate-870f24f2{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes flue-circular-dash-870f24f2{0%{stroke-dasharray:1 200;stroke-dashoffset:0}50%{stroke-dasharray:89 200;stroke-dashoffset:-35px}to{stroke-dasharray:89 200;stroke-dashoffset:-124px}}.flue-cupertino-activity-indicator-blade[data-v-7e0efd7d]:before{content:"";position:html;background-color:var(--v11a17a47);border-radius:10px;width:100%;height:25%;display:block}.flue-cupertino-activity-indicator-blade[data-v-7e0efd7d]{opacity:0;animation:1s linear infinite flue-cupertino-fade-7e0efd7d}.flue-cupertino-activity-indicator-blade[data-v-7e0efd7d]:first-child{animation-delay:-1s}.flue-cupertino-activity-indicator-blade[data-v-7e0efd7d]:nth-child(2){animation-delay:-.9167s}.flue-cupertino-activity-indicator-blade[data-v-7e0efd7d]:nth-child(3){animation-delay:-.8333s}.flue-cupertino-activity-indicator-blade[data-v-7e0efd7d]:nth-child(4){animation-delay:-.75s}.flue-cupertino-activity-indicator-blade[data-v-7e0efd7d]:nth-child(5){animation-delay:-.6667s}.flue-cupertino-activity-indicator-blade[data-v-7e0efd7d]:nth-child(6){animation-delay:-.5833s}.flue-cupertino-activity-indicator-blade[data-v-7e0efd7d]:nth-child(7){animation-delay:-.5s}.flue-cupertino-activity-indicator-blade[data-v-7e0efd7d]:nth-child(8){animation-delay:-.4167s}.flue-cupertino-activity-indicator-blade[data-v-7e0efd7d]:nth-child(9){animation-delay:-.3333s}.flue-cupertino-activity-indicator-blade[data-v-7e0efd7d]:nth-child(10){animation-delay:-.25s}.flue-cupertino-activity-indicator-blade[data-v-7e0efd7d]:nth-child(11){animation-delay:-.1667s}.flue-cupertino-activity-indicator-blade[data-v-7e0efd7d]:nth-child(12){animation-delay:-.0833s}@keyframes flue-cupertino-fade-7e0efd7d{0%{opacity:1}to{opacity:.3}}
1
+ .fluekit-button[data-v-3f0d5ead]{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-3f0d5ead]:disabled{cursor:default}.fluekit-image[data-v-ce382550]{display:block}.fluekit-icon[data-v-96834c76]{-webkit-user-select:none;user-select:none;pointer-events:none}.icon-svg[data-v-96834c76]{fill:currentColor;width:100%;height:100%;display:block}[data-v-96834c76] svg{fill:currentColor;width:100%;height:100%}.flue-cupertino-activity-indicator-blade[data-v-bf681109]:before{content:"";position:html;background-color:var(--v52d32946);border-radius:10px;width:100%;height:25%;display:block}.flue-cupertino-activity-indicator-blade[data-v-bf681109]{opacity:0;animation:1s linear infinite flue-cupertino-fade-bf681109}.flue-cupertino-activity-indicator-blade[data-v-bf681109]:first-child{animation-delay:-1s}.flue-cupertino-activity-indicator-blade[data-v-bf681109]:nth-child(2){animation-delay:-.9167s}.flue-cupertino-activity-indicator-blade[data-v-bf681109]:nth-child(3){animation-delay:-.8333s}.flue-cupertino-activity-indicator-blade[data-v-bf681109]:nth-child(4){animation-delay:-.75s}.flue-cupertino-activity-indicator-blade[data-v-bf681109]:nth-child(5){animation-delay:-.6667s}.flue-cupertino-activity-indicator-blade[data-v-bf681109]:nth-child(6){animation-delay:-.5833s}.flue-cupertino-activity-indicator-blade[data-v-bf681109]:nth-child(7){animation-delay:-.5s}.flue-cupertino-activity-indicator-blade[data-v-bf681109]:nth-child(8){animation-delay:-.4167s}.flue-cupertino-activity-indicator-blade[data-v-bf681109]:nth-child(9){animation-delay:-.3333s}.flue-cupertino-activity-indicator-blade[data-v-bf681109]:nth-child(10){animation-delay:-.25s}.flue-cupertino-activity-indicator-blade[data-v-bf681109]:nth-child(11){animation-delay:-.1667s}.flue-cupertino-activity-indicator-blade[data-v-bf681109]:nth-child(12){animation-delay:-.0833s}@keyframes flue-cupertino-fade-bf681109{0%{opacity:1}to{opacity:.3}}.fluekit-refresh-indicator[data-v-2456a3bd]{height:100%;position:relative;overflow:hidden}.fluekit-refresh-spinner[data-v-2456a3bd]{z-index:10;border-radius:50%;justify-content:center;align-items:center;width:40px;height:40px;margin-left:-20px;transition:top .2s,opacity .2s;display:flex;position:absolute;left:50%}.fluekit-refresh-content[data-v-2456a3bd]{height:100%}.fluekit-list-view-wrapper[data-v-2eabca74]{width:100%;height:100%;display:block;overflow:hidden}.flutter-stack[data-v-aefe47c2]>*{grid-area:1/1/2/2}.fluekit-text-field[data-v-52a37cda]{width:100%;margin-top:16px;font-family:inherit;position:relative}.fluekit-input-container[data-v-52a37cda]{box-sizing:border-box;width:100%}.fluekit-input-element[data-v-52a37cda]{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-element[data-v-52a37cda]::placeholder{color:var(--v78fa3e8e);font-size:var(--v0b1ffc4d);opacity:1}.fluekit-input-label[data-v-52a37cda]{z-index:1}.fluekit-input-footer[data-v-52a37cda]{justify-content:space-between;margin-top:4px;display:flex}.fluekit-input-helper[data-v-52a37cda]{color:#666;font-size:12px}.fluekit-input-helper-spacer[data-v-52a37cda]{flex:1}.fluekit-input-counter[data-v-52a37cda]{color:#666;margin-left:auto;font-size:12px}.fluekit-input-helper.is-error[data-v-52a37cda]{color:#f44336}.flutter-transform[data-v-c4ab6ce1]{box-sizing:border-box}.ink-well[data-v-a5c5a2ad]{cursor:pointer;display:block;position:relative;overflow:hidden}.ink-well.disabled[data-v-a5c5a2ad]{cursor:default}.ripple[data-v-a5c5a2ad]{pointer-events:none;border-radius:50%;animation:.6s linear ripple-a5c5a2ad;position:absolute;transform:scale(0)}@keyframes ripple-a5c5a2ad{to{opacity:0;transform:scale(4)}}.slider-container[data-v-18cb2b41],.range-slider-container[data-v-f10382ff]{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}.flue-cupertino-navigation-bar[data-v-a51399c0]{-webkit-backdrop-filter:blur(20px);z-index:100;width:100%}.flue-nav-bar-middle[data-v-a51399c0]{justify-content:center;align-items:center;max-width:60%;display:flex}.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}.flue-app-bar-leading[data-v-1fed62cd]{align-items:center;margin-right:16px;display:flex}.flue-app-bar-actions[data-v-1fed62cd]{align-items:center;margin-left:16px;display:flex}.fluekit-bottom-navigation-bar-ios[data-v-11798dea]{-webkit-backdrop-filter:blur(20px)}.fluekit-context-menu-anchor[data-v-8f6a31d2]{display:inline-block}.fluekit-context-menu-overlay[data-v-8f6a31d2]{z-index:9999;flex-direction:column;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.fluekit-context-menu-backdrop[data-v-8f6a31d2]{-webkit-backdrop-filter:blur(10px);background:#0006;width:100%;height:100%;position:absolute;top:0;left:0}.fluekit-context-menu-content[data-v-8f6a31d2]{z-index:10001;width:250px;animation:.2s ease-out scale-in-8f6a31d2;position:relative}.fluekit-action-group[data-v-8f6a31d2]{-webkit-backdrop-filter:blur(20px);background:#f9f9f9c7;border-radius:14px;margin-bottom:16px;overflow:hidden}.fluekit-context-menu-action[data-v-8f6a31d2]{text-align:center;cursor:pointer;background:0 0;border-bottom:.5px solid #0000001a;justify-content:center;align-items:center;gap:8px;padding:16px;display:flex}.fluekit-context-menu-action[data-v-8f6a31d2]:last-child{border-bottom:none}.fluekit-context-menu-action[data-v-8f6a31d2]:active{background:#0000001a}.action-text[data-v-8f6a31d2]{color:#007aff;font-family:-apple-system,BlinkMacSystemFont,sans-serif;font-size:17px}.is-destructive .action-text[data-v-8f6a31d2]{color:#ff3b30}.is-default .action-text[data-v-8f6a31d2]{font-weight:600}.cancel-group[data-v-8f6a31d2]{margin-top:8px}.cancel-action .action-text[data-v-8f6a31d2]{font-weight:600}.fade-enter-active[data-v-8f6a31d2],.fade-leave-active[data-v-8f6a31d2]{transition:opacity .2s}.fade-enter-from[data-v-8f6a31d2],.fade-leave-to[data-v-8f6a31d2]{opacity:0}@keyframes scale-in-8f6a31d2{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}.flue-aspect-ratio[data-v-e23e6712]{grid-template-rows:100%;grid-template-columns:100%;display:grid}.flue-image-color-background[data-v-de3ea6be]{box-sizing:border-box;flex-direction:column;display:flex}.flue-linear-progress-indicator[data-v-111d0e67]{border-radius:0}@keyframes flue-linear-indeterminate-111d0e67{0%{transform:translate(0)scaleX(0)}40%{transform:translate(0)scaleX(.4)}to{transform:translate(100%)scaleX(.5)}}@keyframes flue-circular-rotate-bb62fbeb{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes flue-circular-dash-bb62fbeb{0%{stroke-dasharray:1 200;stroke-dashoffset:0}50%{stroke-dasharray:89 200;stroke-dashoffset:-35px}to{stroke-dasharray:89 200;stroke-dashoffset:-124px}}.fluekit-overlay-fade-enter-active[data-v-ca626865],.fluekit-overlay-fade-leave-active[data-v-ca626865]{transition:opacity .25s}.fluekit-overlay-fade-enter-from[data-v-ca626865],.fluekit-overlay-fade-leave-to[data-v-ca626865]{opacity:0}.fluekit-drawer-root[data-v-7181dfec]{pointer-events:none;z-index:1000;position:absolute;inset:0}.fluekit-drawer-slide-enter-active[data-v-7181dfec],.fluekit-drawer-slide-leave-active[data-v-7181dfec]{transition:transform .3s}.fluekit-drawer-slide-enter-from[data-v-7181dfec],.fluekit-drawer-slide-leave-to[data-v-7181dfec]{transform:translate(-100%)}.fluekit-drawer-slide-end-enter-active[data-v-7181dfec],.fluekit-drawer-slide-end-leave-active[data-v-7181dfec]{transition:transform .3s}.fluekit-drawer-slide-end-enter-from[data-v-7181dfec],.fluekit-drawer-slide-end-leave-to[data-v-7181dfec]{transform:translate(100%)}.popup-scale-enter-active[data-v-5d7cdcaa],.popup-scale-leave-active[data-v-5d7cdcaa]{transform-origin:100% 0;transition:opacity .2s,transform .2s}.popup-scale-enter-from[data-v-5d7cdcaa],.popup-scale-leave-to[data-v-5d7cdcaa]{opacity:0;transform:scale(.9)}.fluekit-chip-avatar[data-v-4a66cf54]{border-radius:50%;justify-content:center;align-items:center;width:24px;height:24px;display:flex;overflow:hidden}.fluekit-chip-delete-icon[data-v-4a66cf54]{cursor:pointer;opacity:.54;justify-content:center;align-items:center;margin-left:4px;display:flex}.fluekit-chip-delete-icon[data-v-4a66cf54]:hover{opacity:.87}.fluekit-tab-bar-view[data-v-e20dd01b]{flex:1;width:100%;height:100%;display:flex;overflow:hidden}.fluekit-tab-bar-view-content[data-v-e20dd01b]{width:100%;height:100%;transition:transform .3s cubic-bezier(.25,.8,.25,1);display:flex}[data-v-e20dd01b]>*{flex:0 0 100%;width:100%;height:100%}
2
2
  /*$vite$:1*/
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ export { default as BackdropFilter } from './BackdropFilter';
1
2
  export { default as Align } from './Align';
2
3
  export { default as AnimatedContainer } from './AnimatedContainer';
3
4
  export { default as AnimatedOpacity } from './AnimatedOpacity';
@@ -63,6 +64,22 @@ export { default as ImageColorBackground } from './ImageColorBackground';
63
64
  export { default as LinearProgressIndicator } from './LinearProgressIndicator';
64
65
  export { default as CircularProgressIndicator } from './CircularProgressIndicator';
65
66
  export { default as CupertinoActivityIndicator } from './CupertinoActivityIndicator';
67
+ export { default as Drawer } from './Drawer';
68
+ export { default as ElevatedButton } from './ElevatedButton';
69
+ export { default as TextButton } from './TextButton';
70
+ export { default as OutlinedButton } from './OutlinedButton';
71
+ export { default as IconButton } from './IconButton';
72
+ export { default as Overlay } from './Overlay';
73
+ export { default as PopupMenuButton } from './PopupMenuButton';
74
+ export { default as Chip } from './Chip';
75
+ export { default as ActionChip } from './ActionChip';
76
+ export { default as ChoiceChip } from './ChoiceChip';
77
+ export { default as SlidingSegmentedControl } from './SlidingSegmentedControl';
78
+ export { default as CircleAvatar } from './CircleAvatar';
79
+ export { default as TabBar } from './TabBar';
80
+ export { default as TabBarView } from './TabBarView';
81
+ export { default as RefreshIndicator } from './RefreshIndicator';
82
+ export { default as FlueConfigProvider } from './FlueConfigProvider';
66
83
  export * from './Color';
67
84
  export * from './ImageUtils';
68
85
  export * from './Colors';
@@ -82,6 +99,13 @@ export * from './ImageProvider';
82
99
  export * from './InputDecoration';
83
100
  export * from './Matrix4';
84
101
  export * from './Size';
102
+ export * from './ImageFilter';
103
+ export * from './Icons';
104
+ export * from './BoxFit';
85
105
  export * from './TextStyle';
86
- export { px2vw, setDefaultVW, setTransform } from './px2vw';
87
- export { setAssetBaseURL, createAssetImage, MemoryImage } from './ImageProvider';
106
+ export { keep } from './px2vw';
107
+ export { createAssetImageProvider, MemoryImage, createNetworkImageProvider } from './ImageProvider';
108
+ export declare function setAssetBaseURL(): void;
109
+ export declare function px2vw(value: string | number): string | number;
110
+ export declare function setDefaultVW(_vw: number): void;
111
+ export declare function setTransform(_value: boolean): void;