@davincihealthcare/elty-design-system-vue 1.24.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.
@@ -1,19 +1,12 @@
1
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
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
- red?: boolean | undefined;
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
- red?: boolean | undefined;
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
- } & {};
@@ -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: "error" | "primary" | "secondary";
41
+ color: "primary" | "secondary" | "error";
42
42
  size: "xs" | "l" | "xl" | "m";
43
43
  isOpen: boolean;
44
44
  description: string;
@@ -47,22 +47,18 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
47
47
  tertiaryRow?: string | undefined;
48
48
  lineClamp?: 1 | 2 | undefined;
49
49
  time?: string | undefined;
50
- badge?: (Partial<{
51
- red: boolean;
52
- value: string;
53
- }> & Omit<{
54
- readonly red: boolean;
50
+ badge?: (Partial<{}> & Omit<{
51
+ readonly color: "red" | "primary" | "secondary";
55
52
  readonly value?: string | undefined;
56
53
  } & 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
54
  value: {
62
55
  type: import('vue').PropType<string>;
63
- default: undefined;
64
56
  };
65
- }>>, "red" | "value">) | undefined;
57
+ color: {
58
+ type: import('vue').PropType<"red" | "primary" | "secondary">;
59
+ required: true;
60
+ };
61
+ }>>, never>) | undefined;
66
62
  color?: "primary" | "secondary" | undefined;
67
63
  status?: "default" | "active" | undefined;
68
64
  }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
@@ -110,22 +106,18 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
110
106
  tertiaryRow?: string | undefined;
111
107
  lineClamp?: 1 | 2 | undefined;
112
108
  time?: string | undefined;
113
- badge?: (Partial<{
114
- red: boolean;
115
- value: string;
116
- }> & Omit<{
117
- readonly red: boolean;
109
+ badge?: (Partial<{}> & Omit<{
110
+ readonly color: "red" | "primary" | "secondary";
118
111
  readonly value?: string | undefined;
119
112
  } & 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
113
  value: {
125
114
  type: import('vue').PropType<string>;
126
- default: undefined;
127
115
  };
128
- }>>, "red" | "value">) | undefined;
116
+ color: {
117
+ type: import('vue').PropType<"red" | "primary" | "secondary">;
118
+ required: true;
119
+ };
120
+ }>>, never>) | undefined;
129
121
  color?: "primary" | "secondary" | undefined;
130
122
  status?: "default" | "active" | undefined;
131
123
  }>>>, {}, {}>, {