pangea-lib 2.10.91 → 2.10.93
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/main.cjs.js +17 -17
- package/dist/main.css +1 -1
- package/dist/main.es.js +1618 -1593
- package/dist/types/options/options.store.d.ts +82 -1
- package/dist/types/options/options.types.d.ts +14 -4
- package/package.json +1 -1
|
@@ -3,17 +3,98 @@ export declare const useOptionsStore: import('pinia').StoreDefinition<"pga-optio
|
|
|
3
3
|
button: {
|
|
4
4
|
type: import('../types').ButtonType;
|
|
5
5
|
};
|
|
6
|
+
form: {
|
|
7
|
+
input: {
|
|
8
|
+
fontSize: import('../types').Size;
|
|
9
|
+
height: import('../types').Size;
|
|
10
|
+
color: string;
|
|
11
|
+
backgroundColor: string;
|
|
12
|
+
backgroundColorDisabled: string;
|
|
13
|
+
borderColor: string;
|
|
14
|
+
borderColorFocus: string;
|
|
15
|
+
borderRadius: import('../types').Size;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
}>;
|
|
19
|
+
buttonOptions: import('vue').ComputedRef<{
|
|
20
|
+
type: import('../types').ButtonType;
|
|
21
|
+
}>;
|
|
22
|
+
formOptions: import('vue').ComputedRef<{
|
|
23
|
+
input: {
|
|
24
|
+
fontSize: import('../types').Size;
|
|
25
|
+
height: import('../types').Size;
|
|
26
|
+
color: string;
|
|
27
|
+
backgroundColor: string;
|
|
28
|
+
backgroundColorDisabled: string;
|
|
29
|
+
borderColor: string;
|
|
30
|
+
borderColorFocus: string;
|
|
31
|
+
borderRadius: import('../types').Size;
|
|
32
|
+
};
|
|
6
33
|
}>;
|
|
7
34
|
}, "options">>, Pick<{
|
|
8
35
|
options: import('vue').Ref<{
|
|
9
36
|
button: {
|
|
10
37
|
type: import('../types').ButtonType;
|
|
11
38
|
};
|
|
39
|
+
form: {
|
|
40
|
+
input: {
|
|
41
|
+
fontSize: import('../types').Size;
|
|
42
|
+
height: import('../types').Size;
|
|
43
|
+
color: string;
|
|
44
|
+
backgroundColor: string;
|
|
45
|
+
backgroundColorDisabled: string;
|
|
46
|
+
borderColor: string;
|
|
47
|
+
borderColorFocus: string;
|
|
48
|
+
borderRadius: import('../types').Size;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}>;
|
|
52
|
+
buttonOptions: import('vue').ComputedRef<{
|
|
53
|
+
type: import('../types').ButtonType;
|
|
54
|
+
}>;
|
|
55
|
+
formOptions: import('vue').ComputedRef<{
|
|
56
|
+
input: {
|
|
57
|
+
fontSize: import('../types').Size;
|
|
58
|
+
height: import('../types').Size;
|
|
59
|
+
color: string;
|
|
60
|
+
backgroundColor: string;
|
|
61
|
+
backgroundColorDisabled: string;
|
|
62
|
+
borderColor: string;
|
|
63
|
+
borderColorFocus: string;
|
|
64
|
+
borderRadius: import('../types').Size;
|
|
65
|
+
};
|
|
12
66
|
}>;
|
|
13
|
-
},
|
|
67
|
+
}, "buttonOptions" | "formOptions">, Pick<{
|
|
14
68
|
options: import('vue').Ref<{
|
|
15
69
|
button: {
|
|
16
70
|
type: import('../types').ButtonType;
|
|
17
71
|
};
|
|
72
|
+
form: {
|
|
73
|
+
input: {
|
|
74
|
+
fontSize: import('../types').Size;
|
|
75
|
+
height: import('../types').Size;
|
|
76
|
+
color: string;
|
|
77
|
+
backgroundColor: string;
|
|
78
|
+
backgroundColorDisabled: string;
|
|
79
|
+
borderColor: string;
|
|
80
|
+
borderColorFocus: string;
|
|
81
|
+
borderRadius: import('../types').Size;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
}>;
|
|
85
|
+
buttonOptions: import('vue').ComputedRef<{
|
|
86
|
+
type: import('../types').ButtonType;
|
|
87
|
+
}>;
|
|
88
|
+
formOptions: import('vue').ComputedRef<{
|
|
89
|
+
input: {
|
|
90
|
+
fontSize: import('../types').Size;
|
|
91
|
+
height: import('../types').Size;
|
|
92
|
+
color: string;
|
|
93
|
+
backgroundColor: string;
|
|
94
|
+
backgroundColorDisabled: string;
|
|
95
|
+
borderColor: string;
|
|
96
|
+
borderColorFocus: string;
|
|
97
|
+
borderRadius: import('../types').Size;
|
|
98
|
+
};
|
|
18
99
|
}>;
|
|
19
100
|
}, never>>;
|
|
@@ -1,15 +1,25 @@
|
|
|
1
|
-
import { Theme } from '../colors/theme.store';
|
|
2
|
-
import { AppColors } from '../colors/colors.types';
|
|
3
|
-
import { ButtonType } from '../types/button';
|
|
4
1
|
import { DeepPartial } from 'pangea-helpers';
|
|
2
|
+
import { ButtonType, Size } from '../types';
|
|
3
|
+
import { AppColors } from '../colors/colors.types';
|
|
5
4
|
|
|
6
5
|
export type OptionsStore = {
|
|
7
6
|
button: {
|
|
8
7
|
type: ButtonType;
|
|
9
8
|
};
|
|
9
|
+
form: {
|
|
10
|
+
input: {
|
|
11
|
+
fontSize: Size;
|
|
12
|
+
height: Size;
|
|
13
|
+
color: string;
|
|
14
|
+
backgroundColor: string;
|
|
15
|
+
backgroundColorDisabled: string;
|
|
16
|
+
borderColor: string;
|
|
17
|
+
borderColorFocus: string;
|
|
18
|
+
borderRadius: Size;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
10
21
|
};
|
|
11
22
|
export type Options = OptionsStore & {
|
|
12
|
-
theme: Theme;
|
|
13
23
|
colors: AppColors;
|
|
14
24
|
};
|
|
15
25
|
export type UserOptions = DeepPartial<Options>;
|