@teammodlr/ui-kit 2.0.2 → 2.0.4
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/lib/components/colorpicker/ColorPicker.vue.d.ts +2 -0
- package/lib/components/colorpicker/style/ColorPicker.css.d.ts +1 -0
- package/lib/components/form/Form.vue.d.ts +0 -3
- package/lib/components/form/symbol.d.ts +9 -0
- package/lib/components/select/Select.vue.d.ts +4 -0
- package/lib/components/select/style/Select.css.d.ts +1 -0
- package/lib/components/table/Table.vue.d.ts +1 -3
- package/lib/components/table/style/Table.css.d.ts +4 -0
- package/lib/components/table/style/index.d.ts +1 -0
- package/lib/components/table/types/index.d.ts +1 -0
- package/lib/index.cjs.js +4 -4
- package/lib/index.es.js +2262 -2205
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/src/components/button/Button.vue +4 -1
- package/src/components/button/style/Button.css.ts +1 -0
- package/src/components/checkbox/style/Checkbox.css.ts +4 -1
- package/src/components/colorpicker/ColorPicker.vue +46 -6
- package/src/components/colorpicker/style/ColorPicker.css.ts +26 -6
- package/src/components/form/Form.vue +14 -12
- package/src/components/form/examples/basic.vue +1 -1
- package/src/components/form/style/Form.css.ts +1 -1
- package/src/components/form/symbol.ts +11 -0
- package/src/components/select/Select.vue +68 -52
- package/src/components/select/style/Select.css.ts +10 -2
- package/src/components/table/Table.vue +7 -4
- package/src/components/table/TableCell.vue +1 -1
- package/src/components/table/examples/basic.vue +2 -2
- package/src/components/table/style/Table.css.ts +81 -0
- package/src/components/table/style/index.ts +1 -0
- package/src/components/table/types/index.ts +1 -0
- package/src/composables/useInput.ts +5 -10
|
@@ -49,6 +49,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
49
49
|
style: typeof style;
|
|
50
50
|
mainColor: import("vue").ComputedRef<import("./utils").Color>;
|
|
51
51
|
zIndex: import("vue").Ref<number>;
|
|
52
|
+
canPickColor: import("vue").ComputedRef<boolean>;
|
|
53
|
+
openEyeDropper: () => void;
|
|
52
54
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
53
55
|
modelValue: {
|
|
54
56
|
type: StringConstructor;
|
|
@@ -32,7 +32,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
32
32
|
};
|
|
33
33
|
spacing: {
|
|
34
34
|
type: StringConstructor;
|
|
35
|
-
default: string;
|
|
36
35
|
};
|
|
37
36
|
}, {
|
|
38
37
|
submit: (e: Event) => void;
|
|
@@ -63,7 +62,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
63
62
|
};
|
|
64
63
|
spacing: {
|
|
65
64
|
type: StringConstructor;
|
|
66
|
-
default: string;
|
|
67
65
|
};
|
|
68
66
|
}>> & {
|
|
69
67
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
@@ -73,6 +71,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
73
71
|
errors: [FormError[], FormError];
|
|
74
72
|
autoValidate: boolean;
|
|
75
73
|
autoFocus: boolean;
|
|
76
|
-
spacing: string;
|
|
77
74
|
}>;
|
|
78
75
|
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { InjectionKey } from "vue";
|
|
2
|
+
export interface FormState {
|
|
3
|
+
add: (name: string, focus: () => void, validate: () => boolean, setError: (error: string) => void) => void;
|
|
4
|
+
remove: (name: string) => void;
|
|
5
|
+
insideForm: boolean;
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
loading: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare const FORM_STATE: InjectionKey<FormState>;
|
|
@@ -93,6 +93,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
93
93
|
'm-select--multiple': boolean;
|
|
94
94
|
'm-select--error': any;
|
|
95
95
|
})[]>;
|
|
96
|
+
computedWrapperClasses: import("vue").ComputedRef<(string | {
|
|
97
|
+
[x: string]: boolean;
|
|
98
|
+
})[]>;
|
|
96
99
|
computedConsistentWidth: import("vue").ComputedRef<{
|
|
97
100
|
width: string;
|
|
98
101
|
} | {
|
|
@@ -105,6 +108,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
105
108
|
transitionName: import("vue").ComputedRef<string>;
|
|
106
109
|
inputListeners: {};
|
|
107
110
|
style: typeof style;
|
|
111
|
+
focused: import("vue").Ref<boolean>;
|
|
108
112
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
109
113
|
label: {
|
|
110
114
|
type: StringConstructor;
|
|
@@ -19,6 +19,7 @@ export declare const label: string;
|
|
|
19
19
|
export declare const description: string;
|
|
20
20
|
export declare const errorMessage: string;
|
|
21
21
|
export declare const error: string;
|
|
22
|
+
export declare const focused: string;
|
|
22
23
|
export declare const rightIcon: string;
|
|
23
24
|
export declare const hasRightIcon: string;
|
|
24
25
|
export declare const menu: string;
|
|
@@ -26,9 +26,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
26
26
|
'm-table__wrapper--loading': boolean;
|
|
27
27
|
})[]>;
|
|
28
28
|
tableComputedClasses: import("vue").ComputedRef<(string | {
|
|
29
|
-
|
|
30
|
-
'm-table--striped': boolean;
|
|
31
|
-
'm-table--hover': boolean;
|
|
29
|
+
[x: string]: boolean;
|
|
32
30
|
})[]>;
|
|
33
31
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:sort"[], "update:sort", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
34
32
|
headers: {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Table.css';
|