@autoafleveren/ui 0.11.1 → 0.12.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.
- package/dist/config/eslint.cjs +2 -3
- package/dist/types/components/AppButton/AppButton.vue.d.ts +18 -0
- package/dist/types/components/AppButton/index.d.ts +1 -0
- package/dist/types/components/AppCard/AppCard.vue.d.ts +9 -9
- package/dist/types/components/AppDropdownButton/AppDropdownButton.vue.d.ts +12 -0
- package/dist/ui.cjs +33 -33
- package/dist/ui.js +3237 -3211
- package/package.json +14 -14
package/dist/config/eslint.cjs
CHANGED
|
@@ -33,8 +33,6 @@ if (variableIndex > -1) {
|
|
|
33
33
|
const testOverrideRules = {
|
|
34
34
|
'@typescript-eslint/explicit-function-return-type': 'off',
|
|
35
35
|
'@typescript-eslint/explicit-module-boundary-types': 'off',
|
|
36
|
-
'@programic/typescript-explicit-module-boundary-types': 'off',
|
|
37
|
-
'@programic/typescript-explicit-function-return-type': 'off',
|
|
38
36
|
};
|
|
39
37
|
|
|
40
38
|
/** @type {import('eslint').Config} */
|
|
@@ -125,7 +123,7 @@ module.exports = {
|
|
|
125
123
|
'@typescript-eslint/no-floating-promises': 'off',
|
|
126
124
|
'@typescript-eslint/no-unsafe-call': 'off',
|
|
127
125
|
'@typescript-eslint/no-non-null-assertion': 'off',
|
|
128
|
-
'vitest/consistent-test-it': 'error',
|
|
126
|
+
'vitest/consistent-test-it': ['error', { fn: 'it' }],
|
|
129
127
|
'vitest/no-alias-methods': 'error',
|
|
130
128
|
'vitest/no-conditional-expect': 'error',
|
|
131
129
|
'vitest/no-conditional-in-test': 'error',
|
|
@@ -186,6 +184,7 @@ module.exports = {
|
|
|
186
184
|
}],
|
|
187
185
|
'@typescript-eslint/no-floating-promises': 'off',
|
|
188
186
|
'vue/no-v-text-v-html-on-component': 'off',
|
|
187
|
+
'vue/no-ref-object-destructure': 'off',
|
|
189
188
|
'import/no-cycle': 'off',
|
|
190
189
|
},
|
|
191
190
|
};
|
|
@@ -19,6 +19,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
19
19
|
type: import("vue").PropType<boolean>;
|
|
20
20
|
default: boolean;
|
|
21
21
|
};
|
|
22
|
+
bordered: {
|
|
23
|
+
type: import("vue").PropType<boolean>;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
block: {
|
|
27
|
+
type: import("vue").PropType<boolean>;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
22
30
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
23
31
|
type: {
|
|
24
32
|
type: import("vue").PropType<import("./index.d").Type>;
|
|
@@ -40,12 +48,22 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
40
48
|
type: import("vue").PropType<boolean>;
|
|
41
49
|
default: boolean;
|
|
42
50
|
};
|
|
51
|
+
bordered: {
|
|
52
|
+
type: import("vue").PropType<boolean>;
|
|
53
|
+
default: boolean;
|
|
54
|
+
};
|
|
55
|
+
block: {
|
|
56
|
+
type: import("vue").PropType<boolean>;
|
|
57
|
+
default: boolean;
|
|
58
|
+
};
|
|
43
59
|
}>>, {
|
|
44
60
|
type: import("./index.d").Type;
|
|
45
61
|
size: import("./index.d").Size;
|
|
46
62
|
loading: boolean;
|
|
47
63
|
colorType: import("./index.d").ColorType;
|
|
48
64
|
disabled: boolean;
|
|
65
|
+
bordered: boolean;
|
|
66
|
+
block: boolean;
|
|
49
67
|
}, {}>, {
|
|
50
68
|
leadingIcon?(_: {}): any;
|
|
51
69
|
default?(_: {}): any;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import type { ColorType, Size } from './index.d';
|
|
2
2
|
export declare const domClassesPerColorType: Record<ColorType, string[]>;
|
|
3
|
+
export declare const domClassesPerColorBorderedType: Record<ColorType, string[]>;
|
|
3
4
|
export declare const domClassesPerSize: Record<Size, string[]>;
|
|
@@ -9,14 +9,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
9
9
|
type: import("vue").PropType<string>;
|
|
10
10
|
default: undefined;
|
|
11
11
|
};
|
|
12
|
-
actions: {
|
|
13
|
-
type: import("vue").PropType<Action[]>;
|
|
14
|
-
default: undefined;
|
|
15
|
-
};
|
|
16
12
|
bordered: {
|
|
17
13
|
type: import("vue").PropType<boolean>;
|
|
18
14
|
default: boolean;
|
|
19
15
|
};
|
|
16
|
+
actions: {
|
|
17
|
+
type: import("vue").PropType<Action[]>;
|
|
18
|
+
default: undefined;
|
|
19
|
+
};
|
|
20
20
|
contentClasses: {
|
|
21
21
|
type: import("vue").PropType<string>;
|
|
22
22
|
default: undefined;
|
|
@@ -30,14 +30,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
30
30
|
type: import("vue").PropType<string>;
|
|
31
31
|
default: undefined;
|
|
32
32
|
};
|
|
33
|
-
actions: {
|
|
34
|
-
type: import("vue").PropType<Action[]>;
|
|
35
|
-
default: undefined;
|
|
36
|
-
};
|
|
37
33
|
bordered: {
|
|
38
34
|
type: import("vue").PropType<boolean>;
|
|
39
35
|
default: boolean;
|
|
40
36
|
};
|
|
37
|
+
actions: {
|
|
38
|
+
type: import("vue").PropType<Action[]>;
|
|
39
|
+
default: undefined;
|
|
40
|
+
};
|
|
41
41
|
contentClasses: {
|
|
42
42
|
type: import("vue").PropType<string>;
|
|
43
43
|
default: undefined;
|
|
@@ -45,8 +45,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
45
45
|
}>>, {
|
|
46
46
|
icon: string | Component;
|
|
47
47
|
title: string;
|
|
48
|
-
actions: Action[];
|
|
49
48
|
bordered: boolean;
|
|
49
|
+
actions: Action[];
|
|
50
50
|
contentClasses: string;
|
|
51
51
|
}, {}>, {
|
|
52
52
|
icon?(_: {}): any;
|
|
@@ -14,6 +14,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
14
14
|
disabled: {
|
|
15
15
|
type: import("vue").PropType<boolean>;
|
|
16
16
|
};
|
|
17
|
+
bordered: {
|
|
18
|
+
type: import("vue").PropType<boolean>;
|
|
19
|
+
};
|
|
20
|
+
block: {
|
|
21
|
+
type: import("vue").PropType<boolean>;
|
|
22
|
+
};
|
|
17
23
|
dropdownItems: {
|
|
18
24
|
type: import("vue").PropType<import("./index.d").DropdownItem[]>;
|
|
19
25
|
required: true;
|
|
@@ -38,6 +44,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
38
44
|
disabled: {
|
|
39
45
|
type: import("vue").PropType<boolean>;
|
|
40
46
|
};
|
|
47
|
+
bordered: {
|
|
48
|
+
type: import("vue").PropType<boolean>;
|
|
49
|
+
};
|
|
50
|
+
block: {
|
|
51
|
+
type: import("vue").PropType<boolean>;
|
|
52
|
+
};
|
|
41
53
|
dropdownItems: {
|
|
42
54
|
type: import("vue").PropType<import("./index.d").DropdownItem[]>;
|
|
43
55
|
required: true;
|