fluekit 2.0.1 → 2.0.2
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/AppBar.d.ts +3 -2
- package/dist/Border.d.ts +3 -2
- package/dist/Box.d.ts +2 -1
- package/dist/BoxDecoration.d.ts +2 -1
- package/dist/BoxShadow.d.ts +2 -1
- package/dist/Button.d.ts +4 -3
- package/dist/ButtonStyle.d.ts +5 -4
- package/dist/Card.d.ts +5 -4
- package/dist/Checkbox.d.ts +3 -2
- package/dist/Color.d.ts +7 -0
- package/dist/Container.d.ts +2 -1
- package/dist/CupertinoNavigationBar.d.ts +3 -2
- package/dist/CupertinoPageScaffold.d.ts +3 -2
- package/dist/Divider.d.ts +3 -2
- package/dist/Gradient.d.ts +2 -1
- package/dist/Icon.d.ts +2 -1
- package/dist/InkWell.d.ts +4 -4
- package/dist/InputDecoration.d.ts +3 -1
- package/dist/ListTile.d.ts +6 -5
- package/dist/Radio.d.ts +3 -2
- package/dist/Scaffold.d.ts +3 -2
- package/dist/Slider.d.ts +7 -6
- package/dist/Switch.d.ts +9 -8
- package/dist/TextField.d.ts +2 -1
- package/dist/TextStyle.d.ts +5 -4
- package/dist/index.css +1 -1
- package/dist/index.js +1236 -1225
- package/package.json +1 -1
package/dist/AppBar.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { EdgeInsets } from './EdgeInsets';
|
|
2
|
+
import { Color } from './Color';
|
|
2
3
|
export interface AppBarProps {
|
|
3
4
|
title?: string;
|
|
4
|
-
backgroundColor?: string;
|
|
5
|
+
backgroundColor?: string | Color;
|
|
5
6
|
height?: number;
|
|
6
7
|
centerTitle?: boolean;
|
|
7
8
|
elevation?: number;
|
|
@@ -20,7 +21,7 @@ declare function __VLS_template(): {
|
|
|
20
21
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
21
22
|
declare const __VLS_component: import('vue').DefineComponent<AppBarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<AppBarProps> & Readonly<{}>, {
|
|
22
23
|
height: number;
|
|
23
|
-
backgroundColor: string;
|
|
24
|
+
backgroundColor: string | Color;
|
|
24
25
|
elevation: number;
|
|
25
26
|
centerTitle: boolean;
|
|
26
27
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
package/dist/Border.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { CSSProperties } from 'vue';
|
|
2
|
+
import { Color } from './Color';
|
|
2
3
|
export type BorderStyleType = "none" | "solid" | "dashed" | "dotted" | "double";
|
|
3
4
|
declare const BORDER_SIDE_SYMBOL: unique symbol;
|
|
4
5
|
declare const BORDERS_SYMBOL: unique symbol;
|
|
5
6
|
export type BorderSide = {
|
|
6
7
|
width?: number | string;
|
|
7
|
-
color?: string;
|
|
8
|
+
color?: string | Color;
|
|
8
9
|
style?: BorderStyleType;
|
|
9
10
|
[BORDER_SIDE_SYMBOL]?: true;
|
|
10
11
|
};
|
|
@@ -19,7 +20,7 @@ export declare function BorderSide(side: Omit<BorderSide, typeof BORDER_SIDE_SYM
|
|
|
19
20
|
export interface BorderFunction {
|
|
20
21
|
(side: Omit<BorderSide, typeof BORDER_SIDE_SYMBOL>): BorderSide;
|
|
21
22
|
all: (options?: {
|
|
22
|
-
color?: string;
|
|
23
|
+
color?: string | Color;
|
|
23
24
|
width?: number | string;
|
|
24
25
|
style?: BorderStyleType;
|
|
25
26
|
}) => Borders;
|
package/dist/Box.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import { EdgeInsets } from './EdgeInsets';
|
|
|
5
5
|
import { Borders } from './Border';
|
|
6
6
|
import { BorderRadius } from './BorderRadius';
|
|
7
7
|
import { BoxShadow } from './BoxShadow';
|
|
8
|
+
import { Color } from './Color';
|
|
8
9
|
interface Props {
|
|
9
10
|
width?: number | string;
|
|
10
11
|
height?: number | string;
|
|
@@ -15,7 +16,7 @@ interface Props {
|
|
|
15
16
|
transformAlignment?: Alignment;
|
|
16
17
|
constraints?: BoxConstraints;
|
|
17
18
|
clipBehavior?: "none" | "hardEdge" | "antiAlias" | string;
|
|
18
|
-
color?: string;
|
|
19
|
+
color?: string | Color;
|
|
19
20
|
border?: Borders;
|
|
20
21
|
borderRadius?: BorderRadius;
|
|
21
22
|
boxShadow?: BoxShadow[];
|
package/dist/BoxDecoration.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { Alignment } from './Alignment';
|
|
|
3
3
|
import { Borders } from './Border';
|
|
4
4
|
import { BorderRadius } from './BorderRadius';
|
|
5
5
|
import { BoxShadowProps } from './BoxShadow';
|
|
6
|
+
import { Color } from './Color';
|
|
6
7
|
import { ImageProvider } from './ImageProvider';
|
|
7
8
|
export * from './Gradient';
|
|
8
9
|
type Valueof<T> = T[keyof T];
|
|
@@ -53,7 +54,7 @@ export declare function DecorationImage(props: DecorationImageProps): Decoration
|
|
|
53
54
|
*/
|
|
54
55
|
declare const BOX_DECORATION_SYMBOL: unique symbol;
|
|
55
56
|
export type BoxDecorationProps = {
|
|
56
|
-
color?: string;
|
|
57
|
+
color?: string | Color;
|
|
57
58
|
border?: Borders;
|
|
58
59
|
borderRadius?: BorderRadius;
|
|
59
60
|
boxShadow?: BoxShadowProps | BoxShadowProps[];
|
package/dist/BoxShadow.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Color } from './Color';
|
|
1
2
|
export interface Offset {
|
|
2
3
|
x: number;
|
|
3
4
|
y: number;
|
|
@@ -9,7 +10,7 @@ export declare enum BlurStyle {
|
|
|
9
10
|
inner = "inner"
|
|
10
11
|
}
|
|
11
12
|
export interface BoxShadowProps {
|
|
12
|
-
color?: string;
|
|
13
|
+
color?: string | Color;
|
|
13
14
|
offset?: Offset;
|
|
14
15
|
blurRadius?: number;
|
|
15
16
|
spreadRadius?: number;
|
package/dist/Button.d.ts
CHANGED
|
@@ -2,14 +2,15 @@ import { ButtonStyle } from './ButtonStyle';
|
|
|
2
2
|
import { Behavior } from './useGesture';
|
|
3
3
|
import { EdgeInsets } from './EdgeInsets';
|
|
4
4
|
import { BorderRadius } from './BorderRadius';
|
|
5
|
+
import { Color } from './Color';
|
|
5
6
|
interface Props {
|
|
6
7
|
disabled?: boolean;
|
|
7
8
|
behavior?: Behavior;
|
|
8
9
|
text?: string;
|
|
9
10
|
style?: ButtonStyle;
|
|
10
11
|
variant?: "ios" | "raw";
|
|
11
|
-
color?: string;
|
|
12
|
-
disabledColor?: string;
|
|
12
|
+
color?: string | Color;
|
|
13
|
+
disabledColor?: string | Color;
|
|
13
14
|
pressedOpacity?: number;
|
|
14
15
|
padding?: EdgeInsets;
|
|
15
16
|
borderRadius?: BorderRadius;
|
|
@@ -38,7 +39,7 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
38
39
|
}>, {
|
|
39
40
|
disabled: boolean;
|
|
40
41
|
behavior: Behavior;
|
|
41
|
-
disabledColor: string;
|
|
42
|
+
disabledColor: string | Color;
|
|
42
43
|
pressedOpacity: number;
|
|
43
44
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
44
45
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
package/dist/ButtonStyle.d.ts
CHANGED
|
@@ -5,12 +5,13 @@ import { BorderRadius } from './BorderRadius';
|
|
|
5
5
|
import { EdgeInsets } from './EdgeInsets';
|
|
6
6
|
import { SizeType } from './Size';
|
|
7
7
|
import { TextStyle } from './TextStyle';
|
|
8
|
+
import { Color } from './Color';
|
|
8
9
|
export interface ButtonStyle {
|
|
9
10
|
textStyle?: TextStyle;
|
|
10
|
-
backgroundColor?: string;
|
|
11
|
-
foregroundColor?: string;
|
|
12
|
-
overlayColor?: string;
|
|
13
|
-
shadowColor?: string;
|
|
11
|
+
backgroundColor?: string | Color;
|
|
12
|
+
foregroundColor?: string | Color;
|
|
13
|
+
overlayColor?: string | Color;
|
|
14
|
+
shadowColor?: string | Color;
|
|
14
15
|
elevation?: number;
|
|
15
16
|
padding?: EdgeInsets;
|
|
16
17
|
minimumSize?: SizeType;
|
package/dist/Card.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { BorderRadius } from './BorderRadius';
|
|
2
2
|
import { EdgeInsets } from './EdgeInsets';
|
|
3
|
+
import { Color } from './Color';
|
|
3
4
|
interface Props {
|
|
4
|
-
color?: string;
|
|
5
|
-
shadowColor?: string;
|
|
5
|
+
color?: string | Color;
|
|
6
|
+
shadowColor?: string | Color;
|
|
6
7
|
elevation?: number;
|
|
7
8
|
shape?: BorderRadius;
|
|
8
9
|
margin?: EdgeInsets;
|
|
@@ -20,12 +21,12 @@ declare function __VLS_template(): {
|
|
|
20
21
|
};
|
|
21
22
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
22
23
|
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
23
|
-
color: string;
|
|
24
|
+
color: string | Color;
|
|
24
25
|
margin: EdgeInsets;
|
|
25
26
|
clipBehavior: "none" | "hardEdge" | "antiAlias" | string;
|
|
26
27
|
elevation: number;
|
|
27
28
|
variant: "material" | "ios";
|
|
28
|
-
shadowColor: string;
|
|
29
|
+
shadowColor: string | Color;
|
|
29
30
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
30
31
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
31
32
|
export default _default;
|
package/dist/Checkbox.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { Color } from './Color';
|
|
1
2
|
export interface CheckboxProps<T> {
|
|
2
3
|
value?: T;
|
|
3
4
|
onChanged?: (value: T) => void;
|
|
4
|
-
activeColor?: string;
|
|
5
|
-
checkColor?: string;
|
|
5
|
+
activeColor?: string | Color;
|
|
6
|
+
checkColor?: string | Color;
|
|
6
7
|
labelPosition?: "left" | "right";
|
|
7
8
|
hideIcon?: boolean;
|
|
8
9
|
}
|
package/dist/Color.d.ts
CHANGED
|
@@ -87,6 +87,13 @@ export declare class Color {
|
|
|
87
87
|
*/
|
|
88
88
|
get value(): number;
|
|
89
89
|
}
|
|
90
|
+
/**
|
|
91
|
+
* Resolves a color value to a CSS string.
|
|
92
|
+
*
|
|
93
|
+
* @param color A string color, a Color object, or undefined/null.
|
|
94
|
+
* @returns The CSS string representation or undefined.
|
|
95
|
+
*/
|
|
96
|
+
export declare function resolveColor(color: string | Color | undefined | null): string | undefined;
|
|
90
97
|
export declare function withOpacity(color: string | Color, opacity: number): string;
|
|
91
98
|
export declare function withAlpha(color: string | Color, alpha: number): string;
|
|
92
99
|
export declare function withRed(color: string | Color, red: number): string;
|
package/dist/Container.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { BoxConstraints } from './BoxConstraints';
|
|
|
2
2
|
import { Alignment } from './Alignment';
|
|
3
3
|
import { BoxDecoration } from './BoxDecoration';
|
|
4
4
|
import { EdgeInsets } from './EdgeInsets';
|
|
5
|
+
import { Color } from './Color';
|
|
5
6
|
interface Props {
|
|
6
7
|
width?: number | string;
|
|
7
8
|
height?: number | string;
|
|
@@ -9,7 +10,7 @@ interface Props {
|
|
|
9
10
|
margin?: EdgeInsets;
|
|
10
11
|
decoration?: BoxDecoration;
|
|
11
12
|
foregroundDecoration?: BoxDecoration;
|
|
12
|
-
color?: string;
|
|
13
|
+
color?: string | Color;
|
|
13
14
|
alignment?: Alignment;
|
|
14
15
|
clipBehavior?: "none" | "hardEdge" | "antiAlias" | string;
|
|
15
16
|
transform?: string;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { EdgeInsets } from './EdgeInsets';
|
|
2
2
|
import { Borders } from './Border';
|
|
3
|
+
import { Color } from './Color';
|
|
3
4
|
export interface CupertinoNavigationBarProps {
|
|
4
5
|
middle?: string;
|
|
5
|
-
backgroundColor?: string;
|
|
6
|
+
backgroundColor?: string | Color;
|
|
6
7
|
border?: Borders | null;
|
|
7
8
|
padding?: EdgeInsets;
|
|
8
9
|
}
|
|
@@ -19,7 +20,7 @@ declare function __VLS_template(): {
|
|
|
19
20
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
20
21
|
declare const __VLS_component: import('vue').DefineComponent<CupertinoNavigationBarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CupertinoNavigationBarProps> & Readonly<{}>, {
|
|
21
22
|
border: Borders | null;
|
|
22
|
-
backgroundColor: string;
|
|
23
|
+
backgroundColor: string | Color;
|
|
23
24
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
24
25
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
25
26
|
export default _default;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { Color } from './Color';
|
|
1
2
|
export interface CupertinoPageScaffoldProps {
|
|
2
|
-
backgroundColor?: string;
|
|
3
|
+
backgroundColor?: string | Color;
|
|
3
4
|
}
|
|
4
5
|
declare function __VLS_template(): {
|
|
5
6
|
attrs: Partial<{}>;
|
|
@@ -13,7 +14,7 @@ declare function __VLS_template(): {
|
|
|
13
14
|
};
|
|
14
15
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
16
|
declare const __VLS_component: import('vue').DefineComponent<CupertinoPageScaffoldProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CupertinoPageScaffoldProps> & Readonly<{}>, {
|
|
16
|
-
backgroundColor: string;
|
|
17
|
+
backgroundColor: string | Color;
|
|
17
18
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
18
19
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
19
20
|
export default _default;
|
package/dist/Divider.d.ts
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
|
+
import { Color } from './Color';
|
|
1
2
|
interface Props {
|
|
2
3
|
height?: number;
|
|
3
4
|
thickness?: number;
|
|
4
5
|
indent?: number;
|
|
5
6
|
endIndent?: number;
|
|
6
|
-
color?: string;
|
|
7
|
+
color?: string | Color;
|
|
7
8
|
vertical?: boolean;
|
|
8
9
|
}
|
|
9
10
|
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
10
11
|
height: number;
|
|
11
|
-
color: string;
|
|
12
|
+
color: string | Color;
|
|
12
13
|
vertical: boolean;
|
|
13
14
|
thickness: number;
|
|
14
15
|
indent: number;
|
package/dist/Gradient.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Alignment } from './Alignment';
|
|
2
|
+
import { Color } from './Color';
|
|
2
3
|
export declare enum TileMode {
|
|
3
4
|
clamp = "clamp",
|
|
4
5
|
repeated = "repeated",
|
|
@@ -9,7 +10,7 @@ export interface GradientTransform {
|
|
|
9
10
|
transform?: string;
|
|
10
11
|
}
|
|
11
12
|
export interface GradientProps {
|
|
12
|
-
colors: string[];
|
|
13
|
+
colors: (string | Color)[];
|
|
13
14
|
stops?: number[];
|
|
14
15
|
transform?: GradientTransform;
|
|
15
16
|
tileMode?: TileMode;
|
package/dist/Icon.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Component } from 'vue';
|
|
2
|
+
import { Color } from './Color';
|
|
2
3
|
interface Props {
|
|
3
4
|
/**
|
|
4
5
|
* The icon to display. Can be:
|
|
@@ -15,7 +16,7 @@ interface Props {
|
|
|
15
16
|
* The color to use when drawing the icon.
|
|
16
17
|
* Defaults to the current text color.
|
|
17
18
|
*/
|
|
18
|
-
color?: string;
|
|
19
|
+
color?: string | Color;
|
|
19
20
|
/**
|
|
20
21
|
* Semantic label for accessibility.
|
|
21
22
|
*/
|
package/dist/InkWell.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { Color } from './Color';
|
|
1
2
|
interface Props {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
highlightColor?: string;
|
|
3
|
+
splashColor?: string | Color;
|
|
4
|
+
highlightColor?: string | Color;
|
|
5
5
|
borderRadius?: string;
|
|
6
6
|
disabled?: boolean;
|
|
7
7
|
}
|
|
@@ -20,7 +20,7 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
20
20
|
onTap?: (() => any) | undefined;
|
|
21
21
|
}>, {
|
|
22
22
|
disabled: boolean;
|
|
23
|
-
splashColor: string;
|
|
23
|
+
splashColor: string | Color;
|
|
24
24
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
25
25
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
26
26
|
export default _default;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { BorderSide } from './Border';
|
|
2
2
|
import { BorderRadius } from './BorderRadius';
|
|
3
3
|
import { TextStyle } from './TextStyle';
|
|
4
|
+
import { Color } from './Color';
|
|
4
5
|
export interface InputBorder {
|
|
5
6
|
borderSide?: BorderSide;
|
|
6
7
|
borderRadius?: BorderRadius;
|
|
@@ -27,9 +28,10 @@ export interface InputDecoration {
|
|
|
27
28
|
errorBorder?: InputBorder;
|
|
28
29
|
disabledBorder?: InputBorder;
|
|
29
30
|
filled?: boolean;
|
|
30
|
-
fillColor?: string;
|
|
31
|
+
fillColor?: string | Color;
|
|
31
32
|
contentPadding?: number | number[];
|
|
32
33
|
labelStyle?: TextStyle;
|
|
33
34
|
hintStyle?: TextStyle;
|
|
35
|
+
helperStyle?: TextStyle;
|
|
34
36
|
errorStyle?: TextStyle;
|
|
35
37
|
}
|
package/dist/ListTile.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { EdgeInsets } from './EdgeInsets';
|
|
2
|
+
import { Color } from './Color';
|
|
2
3
|
interface Props {
|
|
3
4
|
leading?: any;
|
|
4
5
|
title?: string;
|
|
@@ -6,10 +7,10 @@ interface Props {
|
|
|
6
7
|
trailing?: any;
|
|
7
8
|
enabled?: boolean;
|
|
8
9
|
selected?: boolean;
|
|
9
|
-
tileColor?: string;
|
|
10
|
-
selectedColor?: string;
|
|
11
|
-
iconColor?: string;
|
|
12
|
-
textColor?: string;
|
|
10
|
+
tileColor?: string | Color;
|
|
11
|
+
selectedColor?: string | Color;
|
|
12
|
+
iconColor?: string | Color;
|
|
13
|
+
textColor?: string | Color;
|
|
13
14
|
contentPadding?: EdgeInsets;
|
|
14
15
|
dense?: boolean;
|
|
15
16
|
}
|
|
@@ -35,7 +36,7 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
35
36
|
dense: boolean;
|
|
36
37
|
enabled: boolean;
|
|
37
38
|
selected: boolean;
|
|
38
|
-
selectedColor: string;
|
|
39
|
+
selectedColor: string | Color;
|
|
39
40
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
40
41
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
41
42
|
export default _default;
|
package/dist/Radio.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { Color } from './Color';
|
|
1
2
|
export interface RadioProps<T> {
|
|
2
3
|
value: T;
|
|
3
4
|
groupValue?: T;
|
|
4
5
|
onChanged?: (value: T) => void;
|
|
5
|
-
activeColor?: string;
|
|
6
|
-
fillColor?: string;
|
|
6
|
+
activeColor?: string | Color;
|
|
7
|
+
fillColor?: string | Color;
|
|
7
8
|
labelPosition?: "left" | "right";
|
|
8
9
|
hideIcon?: boolean;
|
|
9
10
|
}
|
package/dist/Scaffold.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { Color } from './Color';
|
|
1
2
|
export interface ScaffoldProps {
|
|
2
|
-
backgroundColor?: string;
|
|
3
|
+
backgroundColor?: string | Color;
|
|
3
4
|
}
|
|
4
5
|
declare function __VLS_template(): {
|
|
5
6
|
attrs: Partial<{}>;
|
|
@@ -17,7 +18,7 @@ declare function __VLS_template(): {
|
|
|
17
18
|
};
|
|
18
19
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
19
20
|
declare const __VLS_component: import('vue').DefineComponent<ScaffoldProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ScaffoldProps> & Readonly<{}>, {
|
|
20
|
-
backgroundColor: string;
|
|
21
|
+
backgroundColor: string | Color;
|
|
21
22
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
22
23
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
23
24
|
export default _default;
|
package/dist/Slider.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import { Color } from './Color';
|
|
1
2
|
interface Props {
|
|
2
3
|
value: number;
|
|
3
4
|
min?: number;
|
|
4
5
|
max?: number;
|
|
5
|
-
activeColor?: string;
|
|
6
|
-
inactiveColor?: string;
|
|
7
|
-
thumbColor?: string;
|
|
6
|
+
activeColor?: string | Color;
|
|
7
|
+
inactiveColor?: string | Color;
|
|
8
|
+
thumbColor?: string | Color;
|
|
8
9
|
variant?: "material" | "ios";
|
|
9
10
|
}
|
|
10
11
|
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
@@ -17,9 +18,9 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
17
18
|
min: number;
|
|
18
19
|
max: number;
|
|
19
20
|
variant: "material" | "ios";
|
|
20
|
-
activeColor: string;
|
|
21
|
-
inactiveColor: string;
|
|
22
|
-
thumbColor: string;
|
|
21
|
+
activeColor: string | Color;
|
|
22
|
+
inactiveColor: string | Color;
|
|
23
|
+
thumbColor: string | Color;
|
|
23
24
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
24
25
|
trackRef: HTMLDivElement;
|
|
25
26
|
}, HTMLDivElement>;
|
package/dist/Switch.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import { Color } from './Color';
|
|
1
2
|
interface Props {
|
|
2
3
|
value: boolean;
|
|
3
4
|
onChanged?: (value: boolean) => void;
|
|
4
|
-
activeColor?: string;
|
|
5
|
-
activeTrackColor?: string;
|
|
6
|
-
inactiveThumbColor?: string;
|
|
7
|
-
inactiveTrackColor?: string;
|
|
5
|
+
activeColor?: string | Color;
|
|
6
|
+
activeTrackColor?: string | Color;
|
|
7
|
+
inactiveThumbColor?: string | Color;
|
|
8
|
+
inactiveTrackColor?: string | Color;
|
|
8
9
|
variant?: "material" | "ios";
|
|
9
10
|
}
|
|
10
11
|
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
@@ -15,9 +16,9 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
15
16
|
"onUpdate:value"?: ((value: boolean) => any) | undefined;
|
|
16
17
|
}>, {
|
|
17
18
|
variant: "material" | "ios";
|
|
18
|
-
activeColor: string;
|
|
19
|
-
activeTrackColor: string;
|
|
20
|
-
inactiveThumbColor: string;
|
|
21
|
-
inactiveTrackColor: string;
|
|
19
|
+
activeColor: string | Color;
|
|
20
|
+
activeTrackColor: string | Color;
|
|
21
|
+
inactiveThumbColor: string | Color;
|
|
22
|
+
inactiveTrackColor: string | Color;
|
|
22
23
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
23
24
|
export default _default;
|
package/dist/TextField.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { InputDecoration } from './InputDecoration';
|
|
2
2
|
import { TextStyle } from './TextStyle';
|
|
3
|
+
import { Color } from './Color';
|
|
3
4
|
interface Props {
|
|
4
5
|
modelValue?: string | number;
|
|
5
6
|
decoration?: InputDecoration;
|
|
@@ -10,7 +11,7 @@ interface Props {
|
|
|
10
11
|
minLines?: number;
|
|
11
12
|
keyboardType?: string;
|
|
12
13
|
style?: TextStyle;
|
|
13
|
-
cursorColor?: string;
|
|
14
|
+
cursorColor?: string | Color;
|
|
14
15
|
autofocus?: boolean;
|
|
15
16
|
autoGrow?: boolean;
|
|
16
17
|
maxLength?: number;
|
package/dist/TextStyle.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CSSProperties } from 'vue';
|
|
2
|
+
import { Color } from './Color';
|
|
2
3
|
/**
|
|
3
4
|
* 字体粗细枚举,对应 Flutter 的 FontWeight
|
|
4
5
|
*/
|
|
@@ -81,7 +82,7 @@ export declare enum TextDirection {
|
|
|
81
82
|
}
|
|
82
83
|
export interface TextShadow {
|
|
83
84
|
/** 阴影颜色 */
|
|
84
|
-
color?: string;
|
|
85
|
+
color?: string | Color;
|
|
85
86
|
/** 水平偏移 */
|
|
86
87
|
offsetX?: number;
|
|
87
88
|
/** 垂直偏移 */
|
|
@@ -91,8 +92,8 @@ export interface TextShadow {
|
|
|
91
92
|
}
|
|
92
93
|
export interface TextStyleProps {
|
|
93
94
|
inherit?: boolean;
|
|
94
|
-
color?: string;
|
|
95
|
-
backgroundColor?: string;
|
|
95
|
+
color?: string | Color;
|
|
96
|
+
backgroundColor?: string | Color;
|
|
96
97
|
fontSize?: number;
|
|
97
98
|
fontWeight?: FontWeight | number;
|
|
98
99
|
fontStyle?: FontStyle;
|
|
@@ -108,7 +109,7 @@ export interface TextStyleProps {
|
|
|
108
109
|
fontFeatures?: any;
|
|
109
110
|
fontVariations?: any;
|
|
110
111
|
decoration?: TextDecoration;
|
|
111
|
-
decorationColor?: string;
|
|
112
|
+
decorationColor?: string | Color;
|
|
112
113
|
decorationStyle?: TextDecorationStyle;
|
|
113
114
|
decorationThickness?: number;
|
|
114
115
|
debugLabel?: string;
|
package/dist/index.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
.fluekit-button[data-v-
|
|
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}}
|
|
2
2
|
/*$vite$:1*/
|