@davincihealthcare/elty-design-system-vue 1.22.1 → 1.24.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/ElButton.vue.d.ts +1 -1
- package/dist/ElCalendarCard.vue.d.ts +5 -0
- package/dist/ElItem.vue.d.ts +1 -1
- package/dist/ElModal.vue.d.ts +1 -1
- package/dist/ElTableCell.vue.d.ts +2 -2
- package/dist/ElVerticalTab.vue.d.ts +148 -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 +5115 -5030
- 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/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];
|
|
@@ -10,6 +10,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
10
10
|
secondaryRow?: string | undefined;
|
|
11
11
|
tertiaryRow?: string | undefined;
|
|
12
12
|
horizontalPaddingLeft?: boolean | undefined;
|
|
13
|
+
cursor?: "default" | "pointer" | undefined;
|
|
13
14
|
}>, {
|
|
14
15
|
height: number;
|
|
15
16
|
color: string;
|
|
@@ -19,6 +20,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
19
20
|
secondaryRow: undefined;
|
|
20
21
|
tertiaryRow: undefined;
|
|
21
22
|
horizontalPaddingLeft: boolean;
|
|
23
|
+
cursor: string;
|
|
22
24
|
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
23
25
|
height?: number | undefined;
|
|
24
26
|
color: ElCalendarCardColor;
|
|
@@ -27,6 +29,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
27
29
|
secondaryRow?: string | undefined;
|
|
28
30
|
tertiaryRow?: string | undefined;
|
|
29
31
|
horizontalPaddingLeft?: boolean | undefined;
|
|
32
|
+
cursor?: "default" | "pointer" | undefined;
|
|
30
33
|
}>, {
|
|
31
34
|
height: number;
|
|
32
35
|
color: string;
|
|
@@ -36,6 +39,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
36
39
|
secondaryRow: undefined;
|
|
37
40
|
tertiaryRow: undefined;
|
|
38
41
|
horizontalPaddingLeft: boolean;
|
|
42
|
+
cursor: string;
|
|
39
43
|
}>>>, {
|
|
40
44
|
color: ElCalendarCardColor;
|
|
41
45
|
height: number;
|
|
@@ -44,6 +48,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
44
48
|
secondaryRow: string;
|
|
45
49
|
tertiaryRow: string;
|
|
46
50
|
horizontalPaddingLeft: boolean;
|
|
51
|
+
cursor: 'default' | 'pointer';
|
|
47
52
|
}, {}>;
|
|
48
53
|
export default _default;
|
|
49
54
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
package/dist/ElItem.vue.d.ts
CHANGED
package/dist/ElModal.vue.d.ts
CHANGED
|
@@ -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,148 @@
|
|
|
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<{
|
|
51
|
+
red: boolean;
|
|
52
|
+
value: string;
|
|
53
|
+
}> & Omit<{
|
|
54
|
+
readonly red: boolean;
|
|
55
|
+
readonly value?: string | undefined;
|
|
56
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
|
|
57
|
+
red: {
|
|
58
|
+
type: import('vue').PropType<boolean>;
|
|
59
|
+
default: boolean;
|
|
60
|
+
};
|
|
61
|
+
value: {
|
|
62
|
+
type: import('vue').PropType<string>;
|
|
63
|
+
default: undefined;
|
|
64
|
+
};
|
|
65
|
+
}>>, "red" | "value">) | undefined;
|
|
66
|
+
color?: "primary" | "secondary" | undefined;
|
|
67
|
+
status?: "default" | "active" | undefined;
|
|
68
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
69
|
+
icon?: (Partial<{}> & Omit<{
|
|
70
|
+
readonly name: import('./ElIcon.vue').IconNames;
|
|
71
|
+
readonly solid?: boolean | undefined;
|
|
72
|
+
readonly disabled?: boolean | undefined;
|
|
73
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
|
|
74
|
+
name: {
|
|
75
|
+
type: import('vue').PropType<import('./ElIcon.vue').IconNames>;
|
|
76
|
+
required: true;
|
|
77
|
+
};
|
|
78
|
+
solid: {
|
|
79
|
+
type: import('vue').PropType<boolean>;
|
|
80
|
+
};
|
|
81
|
+
disabled: {
|
|
82
|
+
type: import('vue').PropType<boolean>;
|
|
83
|
+
};
|
|
84
|
+
}>>, never>) | undefined;
|
|
85
|
+
avatar?: (Partial<{
|
|
86
|
+
label: string;
|
|
87
|
+
picture: string;
|
|
88
|
+
size: "xs" | "sm" | "xl" | "xxs" | "md" | "lg";
|
|
89
|
+
}> & Omit<{
|
|
90
|
+
readonly size: "xs" | "sm" | "xl" | "xxs" | "md" | "lg";
|
|
91
|
+
readonly label?: string | undefined;
|
|
92
|
+
readonly picture?: string | undefined;
|
|
93
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
|
|
94
|
+
label: {
|
|
95
|
+
type: import('vue').PropType<string>;
|
|
96
|
+
default: undefined;
|
|
97
|
+
};
|
|
98
|
+
picture: {
|
|
99
|
+
type: import('vue').PropType<string>;
|
|
100
|
+
default: undefined;
|
|
101
|
+
};
|
|
102
|
+
size: {
|
|
103
|
+
type: import('vue').PropType<"xs" | "sm" | "xl" | "xxs" | "md" | "lg">;
|
|
104
|
+
required: true;
|
|
105
|
+
default: string;
|
|
106
|
+
};
|
|
107
|
+
}>>, "label" | "picture" | "size">) | undefined;
|
|
108
|
+
primaryRow: string;
|
|
109
|
+
secondaryRow?: string | undefined;
|
|
110
|
+
tertiaryRow?: string | undefined;
|
|
111
|
+
lineClamp?: 1 | 2 | undefined;
|
|
112
|
+
time?: string | undefined;
|
|
113
|
+
badge?: (Partial<{
|
|
114
|
+
red: boolean;
|
|
115
|
+
value: string;
|
|
116
|
+
}> & Omit<{
|
|
117
|
+
readonly red: boolean;
|
|
118
|
+
readonly value?: string | undefined;
|
|
119
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
|
|
120
|
+
red: {
|
|
121
|
+
type: import('vue').PropType<boolean>;
|
|
122
|
+
default: boolean;
|
|
123
|
+
};
|
|
124
|
+
value: {
|
|
125
|
+
type: import('vue').PropType<string>;
|
|
126
|
+
default: undefined;
|
|
127
|
+
};
|
|
128
|
+
}>>, "red" | "value">) | undefined;
|
|
129
|
+
color?: "primary" | "secondary" | undefined;
|
|
130
|
+
status?: "default" | "active" | undefined;
|
|
131
|
+
}>>>, {}, {}>, {
|
|
132
|
+
"traling-slot"?(_: {}): any;
|
|
133
|
+
}>;
|
|
134
|
+
export default _default;
|
|
135
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
136
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
137
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
138
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
139
|
+
} : {
|
|
140
|
+
type: import('vue').PropType<T[K]>;
|
|
141
|
+
required: true;
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
145
|
+
new (): {
|
|
146
|
+
$slots: S;
|
|
147
|
+
};
|
|
148
|
+
};
|
|
@@ -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';
|