@d0rich/esprit-design 0.3.4 → 0.3.6
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/CHANGELOG.md +12 -0
- package/dist/components/buttons/DBtn.vue.d.ts +2 -2
- package/dist/components/lists/DActionsList.vue.d.ts +17 -15
- package/dist/components/utils/DWrapBackground.vue.d.ts +6 -3
- package/dist/components/utils/DWrapFocusHighlight.vue.d.ts +1 -1
- package/dist/components/utils/DWrapShape.vue.d.ts +8 -4
- package/dist/esprit-design.js +784 -754
- package/dist/esprit-design.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/buttons/DBtn.vue +1 -1
- package/src/components/lists/DActionsList.vue +13 -13
- package/src/components/utils/DWrapBackground.vue +30 -12
- package/src/components/utils/DWrapFocusHighlight.vue +36 -15
- package/src/components/utils/DWrapShape.vue +53 -11
package/CHANGELOG.md
CHANGED
|
@@ -33,7 +33,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
33
33
|
};
|
|
34
34
|
colorClass: {
|
|
35
35
|
type: (StringConstructor | (() => Record<string, boolean>))[];
|
|
36
|
-
default:
|
|
36
|
+
default: undefined;
|
|
37
37
|
};
|
|
38
38
|
textTransform: {
|
|
39
39
|
type: () => 'uppercase' | 'capitalize' | 'lowercase' | 'none';
|
|
@@ -71,7 +71,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
71
71
|
};
|
|
72
72
|
colorClass: {
|
|
73
73
|
type: (StringConstructor | (() => Record<string, boolean>))[];
|
|
74
|
-
default:
|
|
74
|
+
default: undefined;
|
|
75
75
|
};
|
|
76
76
|
textTransform: {
|
|
77
77
|
type: () => 'uppercase' | 'capitalize' | 'lowercase' | 'none';
|
|
@@ -1,8 +1,19 @@
|
|
|
1
1
|
import { HighlightVariant } from '../utils/DWrapFocusHighlight.vue';
|
|
2
2
|
|
|
3
|
+
export type ActionListItem<TEmit = any> = {
|
|
4
|
+
title: string;
|
|
5
|
+
emit?: TEmit;
|
|
6
|
+
attrs?: {
|
|
7
|
+
to?: string;
|
|
8
|
+
href?: string;
|
|
9
|
+
target?: '_blank' | '_self' | '_parent' | '_top' | string;
|
|
10
|
+
highlightVariant?: HighlightVariant;
|
|
11
|
+
[k: string]: any;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
3
14
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
4
15
|
actions: {
|
|
5
|
-
type: () => ActionListItem[];
|
|
16
|
+
type: () => ActionListItem<any>[];
|
|
6
17
|
default: () => never[];
|
|
7
18
|
};
|
|
8
19
|
listClass: {
|
|
@@ -15,7 +26,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
15
26
|
actionChoose: (...args: any[]) => void;
|
|
16
27
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
17
28
|
actions: {
|
|
18
|
-
type: () => ActionListItem[];
|
|
29
|
+
type: () => ActionListItem<any>[];
|
|
19
30
|
default: () => never[];
|
|
20
31
|
};
|
|
21
32
|
listClass: {
|
|
@@ -29,8 +40,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
29
40
|
}, {
|
|
30
41
|
actions: ActionListItem<any>[];
|
|
31
42
|
listClass: string | Record<string, boolean>;
|
|
32
|
-
}, {}>, {
|
|
33
|
-
header
|
|
43
|
+
}, {}>, Readonly<{
|
|
44
|
+
header?: (() => {}) | undefined;
|
|
45
|
+
}> & {
|
|
46
|
+
header?: (() => {}) | undefined;
|
|
34
47
|
}>;
|
|
35
48
|
export default _default;
|
|
36
49
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -38,14 +51,3 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
38
51
|
$slots: S;
|
|
39
52
|
};
|
|
40
53
|
};
|
|
41
|
-
export type ActionListItem<TEmit = any> = {
|
|
42
|
-
title: string;
|
|
43
|
-
emit?: TEmit;
|
|
44
|
-
attrs?: {
|
|
45
|
-
to?: string;
|
|
46
|
-
href?: string;
|
|
47
|
-
target?: '_blank' | '_self' | '_parent' | '_top' | string;
|
|
48
|
-
highlightVariant?: HighlightVariant;
|
|
49
|
-
[k: string]: any;
|
|
50
|
-
};
|
|
51
|
-
};
|
|
@@ -57,9 +57,12 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
57
57
|
dotsClass: string | Record<string, boolean>;
|
|
58
58
|
dotsStyle: StyleValue;
|
|
59
59
|
dots: boolean;
|
|
60
|
-
}, {}>, {
|
|
61
|
-
svg
|
|
62
|
-
default
|
|
60
|
+
}, {}>, Readonly<{
|
|
61
|
+
svg?: (() => {}) | undefined;
|
|
62
|
+
default?: (() => {}) | undefined;
|
|
63
|
+
}> & {
|
|
64
|
+
svg?: (() => {}) | undefined;
|
|
65
|
+
default?: (() => {}) | undefined;
|
|
63
66
|
}>;
|
|
64
67
|
export default _default;
|
|
65
68
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type HighlightVariant = 'negative-tile' | 'list-item' | 'negative-list-item' | 'composite-list-item';
|
|
1
|
+
export type HighlightVariant = 'tile' | 'negative-tile' | 'composite-tile' | 'list-item' | 'negative-list-item' | 'composite-list-item';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
3
3
|
/**
|
|
4
4
|
* If true, the highlight will be shown only if the link is exact string a URL.
|
|
@@ -12,10 +12,14 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
12
12
|
filterClass?: string | Record<string, boolean> | undefined;
|
|
13
13
|
filterStyle?: StyleValue;
|
|
14
14
|
tag?: string | undefined;
|
|
15
|
-
}>>>, {}, {}>, {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
default
|
|
15
|
+
}>>>, {}, {}>, Readonly<{
|
|
16
|
+
'shape-content'?: (() => {}) | undefined;
|
|
17
|
+
'bg-overlay'?: (() => {}) | undefined;
|
|
18
|
+
default?: (() => {}) | undefined;
|
|
19
|
+
}> & {
|
|
20
|
+
'shape-content'?: (() => {}) | undefined;
|
|
21
|
+
'bg-overlay'?: (() => {}) | undefined;
|
|
22
|
+
default?: (() => {}) | undefined;
|
|
19
23
|
}>;
|
|
20
24
|
export default _default;
|
|
21
25
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|