@davincihealthcare/elty-design-system-vue 1.23.0 → 1.25.0
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/README.md +1 -1
- package/dist/ElBadge.vue.d.ts +7 -22
- package/dist/ElButton.vue.d.ts +1 -1
- package/dist/ElItem.vue.d.ts +1 -1
- package/dist/ElModal.vue.d.ts +2 -2
- package/dist/ElTableCell.vue.d.ts +2 -2
- package/dist/ElVerticalTab.vue.d.ts +140 -0
- package/dist/forms/ElInputDate.vue.d.ts +1 -1
- package/dist/forms/ElInputMeasureUnit.vue.d.ts +1 -1
- package/dist/forms/ElInputSelect.vue.d.ts +2 -2
- package/dist/forms/ElInputText.vue.d.ts +2 -2
- package/dist/index.d.ts +2 -0
- package/dist/index.js +5124 -5034
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +10 -10
- package/dist/index.umd.cjs.map +1 -1
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@ Then install required plugins and the design system package itself
|
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
16
|
# using yarn (or any other package manager)
|
|
17
|
-
yarn add -D tailwindcss postcss autoprefixer @tailwindcss/forms @tailwindcss/typography
|
|
17
|
+
yarn add -D tailwindcss postcss autoprefixer @tailwindcss/forms @tailwindcss/typography @tailwindcss/line-clamp
|
|
18
18
|
yarn add @davincihealthcare/elty-design-system-vue
|
|
19
19
|
```
|
|
20
20
|
|
package/dist/ElBadge.vue.d.ts
CHANGED
|
@@ -1,19 +1,12 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
export declare const elBadgeColors: readonly ["primary", "secondary", "red"];
|
|
2
|
+
export type ElBadgeColors = (typeof elBadgeColors)[number];
|
|
3
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
4
|
value?: string | undefined;
|
|
3
|
-
|
|
4
|
-
}>, {
|
|
5
|
-
value: undefined;
|
|
6
|
-
red: boolean;
|
|
7
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
+
color: ElBadgeColors;
|
|
6
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
8
7
|
value?: string | undefined;
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
value: undefined;
|
|
12
|
-
red: boolean;
|
|
13
|
-
}>>>, {
|
|
14
|
-
red: boolean;
|
|
15
|
-
value: string;
|
|
16
|
-
}, {}>;
|
|
8
|
+
color: ElBadgeColors;
|
|
9
|
+
}>>>, {}, {}>;
|
|
17
10
|
export default _default;
|
|
18
11
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
19
12
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -24,11 +17,3 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
24
17
|
required: true;
|
|
25
18
|
};
|
|
26
19
|
};
|
|
27
|
-
type __VLS_WithDefaults<P, D> = {
|
|
28
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
29
|
-
default: D[K];
|
|
30
|
-
}> : P[K];
|
|
31
|
-
};
|
|
32
|
-
type __VLS_Prettify<T> = {
|
|
33
|
-
[K in keyof T]: T[K];
|
|
34
|
-
} & {};
|
package/dist/ElButton.vue.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ElIconProps } from './ElIcon.vue';
|
|
2
1
|
import { ButtonHTMLAttributes } from 'vue';
|
|
2
|
+
import { ElIconProps } from './ElIcon.vue';
|
|
3
3
|
|
|
4
4
|
export declare const elButtonSizes: readonly ["xs", "sm", "base", "l", "xl"];
|
|
5
5
|
export type ElButtonSize = (typeof elButtonSizes)[number];
|
package/dist/ElItem.vue.d.ts
CHANGED
package/dist/ElModal.vue.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { default as ElButton } from './ElButton.vue';
|
|
2
1
|
import { default as ElIcon } from './ElIcon.vue';
|
|
2
|
+
import { default as ElButton } from './ElButton.vue';
|
|
3
3
|
|
|
4
4
|
export interface ElModalProps {
|
|
5
5
|
isOpen?: boolean;
|
|
@@ -38,7 +38,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
38
38
|
"onUpdate:isOpen"?: ((isOpen?: boolean | undefined) => any) | undefined;
|
|
39
39
|
}, {
|
|
40
40
|
title: string;
|
|
41
|
-
color: "
|
|
41
|
+
color: "primary" | "secondary" | "error";
|
|
42
42
|
size: "xs" | "l" | "xl" | "m";
|
|
43
43
|
isOpen: boolean;
|
|
44
44
|
description: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { default as ElTag } from './ElTag.vue';
|
|
2
|
-
import { default as ElButton } from './ElButton.vue';
|
|
3
1
|
import { default as ElIconButton } from './ElIconButton.vue';
|
|
2
|
+
import { default as ElButton } from './ElButton.vue';
|
|
3
|
+
import { default as ElTag } from './ElTag.vue';
|
|
4
4
|
|
|
5
5
|
export declare const dataCellTypes: readonly ["default", "tag", "action"];
|
|
6
6
|
export type DataCellType = (typeof dataCellTypes)[number];
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
export declare const elVerticalTabColors: readonly ["primary", "secondary"];
|
|
2
|
+
export type ElVerticalTabColors = (typeof elVerticalTabColors)[number];
|
|
3
|
+
export declare const elVerticalTabStatus: readonly ["default", "active"];
|
|
4
|
+
export type ElVerticalTabStatus = (typeof elVerticalTabStatus)[number];
|
|
5
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
+
icon?: (Partial<{}> & Omit<{
|
|
7
|
+
readonly name: import('./ElIcon.vue').IconNames;
|
|
8
|
+
readonly solid?: boolean | undefined;
|
|
9
|
+
readonly disabled?: boolean | undefined;
|
|
10
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
|
|
11
|
+
name: {
|
|
12
|
+
type: import('vue').PropType<import('./ElIcon.vue').IconNames>;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
solid: {
|
|
16
|
+
type: import('vue').PropType<boolean>;
|
|
17
|
+
};
|
|
18
|
+
disabled: {
|
|
19
|
+
type: import('vue').PropType<boolean>;
|
|
20
|
+
};
|
|
21
|
+
}>>, never>) | undefined;
|
|
22
|
+
avatar?: (Partial<{
|
|
23
|
+
label: string;
|
|
24
|
+
picture: string;
|
|
25
|
+
size: "xs" | "sm" | "xl" | "xxs" | "md" | "lg";
|
|
26
|
+
}> & Omit<{
|
|
27
|
+
readonly size: "xs" | "sm" | "xl" | "xxs" | "md" | "lg";
|
|
28
|
+
readonly label?: string | undefined;
|
|
29
|
+
readonly picture?: string | undefined;
|
|
30
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
|
|
31
|
+
label: {
|
|
32
|
+
type: import('vue').PropType<string>;
|
|
33
|
+
default: undefined;
|
|
34
|
+
};
|
|
35
|
+
picture: {
|
|
36
|
+
type: import('vue').PropType<string>;
|
|
37
|
+
default: undefined;
|
|
38
|
+
};
|
|
39
|
+
size: {
|
|
40
|
+
type: import('vue').PropType<"xs" | "sm" | "xl" | "xxs" | "md" | "lg">;
|
|
41
|
+
required: true;
|
|
42
|
+
default: string;
|
|
43
|
+
};
|
|
44
|
+
}>>, "label" | "picture" | "size">) | undefined;
|
|
45
|
+
primaryRow: string;
|
|
46
|
+
secondaryRow?: string | undefined;
|
|
47
|
+
tertiaryRow?: string | undefined;
|
|
48
|
+
lineClamp?: 1 | 2 | undefined;
|
|
49
|
+
time?: string | undefined;
|
|
50
|
+
badge?: (Partial<{}> & Omit<{
|
|
51
|
+
readonly color: "red" | "primary" | "secondary";
|
|
52
|
+
readonly value?: string | undefined;
|
|
53
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
|
|
54
|
+
value: {
|
|
55
|
+
type: import('vue').PropType<string>;
|
|
56
|
+
};
|
|
57
|
+
color: {
|
|
58
|
+
type: import('vue').PropType<"red" | "primary" | "secondary">;
|
|
59
|
+
required: true;
|
|
60
|
+
};
|
|
61
|
+
}>>, never>) | undefined;
|
|
62
|
+
color?: "primary" | "secondary" | undefined;
|
|
63
|
+
status?: "default" | "active" | undefined;
|
|
64
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
65
|
+
icon?: (Partial<{}> & Omit<{
|
|
66
|
+
readonly name: import('./ElIcon.vue').IconNames;
|
|
67
|
+
readonly solid?: boolean | undefined;
|
|
68
|
+
readonly disabled?: boolean | undefined;
|
|
69
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
|
|
70
|
+
name: {
|
|
71
|
+
type: import('vue').PropType<import('./ElIcon.vue').IconNames>;
|
|
72
|
+
required: true;
|
|
73
|
+
};
|
|
74
|
+
solid: {
|
|
75
|
+
type: import('vue').PropType<boolean>;
|
|
76
|
+
};
|
|
77
|
+
disabled: {
|
|
78
|
+
type: import('vue').PropType<boolean>;
|
|
79
|
+
};
|
|
80
|
+
}>>, never>) | undefined;
|
|
81
|
+
avatar?: (Partial<{
|
|
82
|
+
label: string;
|
|
83
|
+
picture: string;
|
|
84
|
+
size: "xs" | "sm" | "xl" | "xxs" | "md" | "lg";
|
|
85
|
+
}> & Omit<{
|
|
86
|
+
readonly size: "xs" | "sm" | "xl" | "xxs" | "md" | "lg";
|
|
87
|
+
readonly label?: string | undefined;
|
|
88
|
+
readonly picture?: string | undefined;
|
|
89
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
|
|
90
|
+
label: {
|
|
91
|
+
type: import('vue').PropType<string>;
|
|
92
|
+
default: undefined;
|
|
93
|
+
};
|
|
94
|
+
picture: {
|
|
95
|
+
type: import('vue').PropType<string>;
|
|
96
|
+
default: undefined;
|
|
97
|
+
};
|
|
98
|
+
size: {
|
|
99
|
+
type: import('vue').PropType<"xs" | "sm" | "xl" | "xxs" | "md" | "lg">;
|
|
100
|
+
required: true;
|
|
101
|
+
default: string;
|
|
102
|
+
};
|
|
103
|
+
}>>, "label" | "picture" | "size">) | undefined;
|
|
104
|
+
primaryRow: string;
|
|
105
|
+
secondaryRow?: string | undefined;
|
|
106
|
+
tertiaryRow?: string | undefined;
|
|
107
|
+
lineClamp?: 1 | 2 | undefined;
|
|
108
|
+
time?: string | undefined;
|
|
109
|
+
badge?: (Partial<{}> & Omit<{
|
|
110
|
+
readonly color: "red" | "primary" | "secondary";
|
|
111
|
+
readonly value?: string | undefined;
|
|
112
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
|
|
113
|
+
value: {
|
|
114
|
+
type: import('vue').PropType<string>;
|
|
115
|
+
};
|
|
116
|
+
color: {
|
|
117
|
+
type: import('vue').PropType<"red" | "primary" | "secondary">;
|
|
118
|
+
required: true;
|
|
119
|
+
};
|
|
120
|
+
}>>, never>) | undefined;
|
|
121
|
+
color?: "primary" | "secondary" | undefined;
|
|
122
|
+
status?: "default" | "active" | undefined;
|
|
123
|
+
}>>>, {}, {}>, {
|
|
124
|
+
"traling-slot"?(_: {}): any;
|
|
125
|
+
}>;
|
|
126
|
+
export default _default;
|
|
127
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
128
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
129
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
130
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
131
|
+
} : {
|
|
132
|
+
type: import('vue').PropType<T[K]>;
|
|
133
|
+
required: true;
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
137
|
+
new (): {
|
|
138
|
+
$slots: S;
|
|
139
|
+
};
|
|
140
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { OptionType } from '../types';
|
|
3
1
|
import { AutocompleteOptionType } from './utils';
|
|
2
|
+
import { OptionType } from '../types';
|
|
3
|
+
import { PropType } from 'vue';
|
|
4
4
|
|
|
5
5
|
type ValueType = string | string[] | null | undefined;
|
|
6
6
|
declare const _default: import('vue').DefineComponent<{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { TextualValueType } from './input';
|
|
2
|
-
import { PropType } from 'vue';
|
|
3
1
|
import { ElIconProps } from '../ElIcon.vue';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
import { TextualValueType } from './input';
|
|
4
4
|
|
|
5
5
|
export declare const elInputTextTypes: readonly ["text", "password"];
|
|
6
6
|
export type ElInputTextType = (typeof elInputTextTypes)[number];
|
package/dist/index.d.ts
CHANGED
|
@@ -80,3 +80,5 @@ export * from './ElDivider.vue';
|
|
|
80
80
|
export { default as ElDivider } from './ElDivider.vue';
|
|
81
81
|
export * from './ElModal.vue';
|
|
82
82
|
export { default as ElModal } from './ElModal.vue';
|
|
83
|
+
export * from './ElVerticalTab.vue';
|
|
84
|
+
export { default as ElVerticalTab } from './ElVerticalTab.vue';
|