@davincihealthcare/elty-design-system-vue 1.42.3 → 1.42.5

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,18 +1,17 @@
1
- import { ResponsiveProps } from './responsiveProps';
2
1
  import { default as ElIcon } from './ElIcon.vue';
3
2
  import { default as ElButton } from './ElButton.vue';
4
3
 
5
4
  export interface ElModalProps {
6
- size?: ResponsiveProps<ElModalSize>;
5
+ size?: ElModalSize;
7
6
  color?: ElModalColor;
8
- headerIcon?: InstanceType<typeof ElIcon>['$props'];
7
+ headerIcon: InstanceType<typeof ElIcon>['$props'];
9
8
  title: string;
10
9
  description?: string;
11
- primaryAction?: Omit<InstanceType<typeof ElButton>['$props'], 'error' | 'size' | 'variant'>;
10
+ primaryAction: Omit<InstanceType<typeof ElButton>['$props'], 'error' | 'size' | 'variant'>;
12
11
  secondaryAction?: Omit<InstanceType<typeof ElButton>['$props'], 'error' | 'size' | 'variant'>;
13
12
  tertiaryAction?: Omit<InstanceType<typeof ElButton>['$props'], 'error' | 'size' | 'variant'>;
14
13
  }
15
- export declare const elModalSizes: readonly ["xs", "m", "l", "xl", "fullScreen"];
14
+ export declare const elModalSizes: readonly ["xs", "m", "l", "xl"];
16
15
  export type ElModalSize = (typeof elModalSizes)[number];
17
16
  export declare const elModalColors: readonly ["primary", "secondary", "error"];
18
17
  export type ElModalColor = (typeof elModalColors)[number];
@@ -31,7 +30,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
31
30
  default: string;
32
31
  };
33
32
  size: {
34
- type: import('vue').PropType<ResponsiveProps<"xs" | "xl" | "l" | "m" | "fullScreen">>;
33
+ type: import('vue').PropType<"xs" | "xl" | "l" | "m">;
35
34
  default: string;
36
35
  };
37
36
  description: {
@@ -55,7 +54,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
55
54
  type: import('vue').PropType<boolean>;
56
55
  };
57
56
  }>>, never>>;
58
- default: undefined;
57
+ required: true;
59
58
  };
60
59
  primaryAction: {
61
60
  type: import('vue').PropType<Omit<Partial<{
@@ -133,7 +132,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
133
132
  default: boolean;
134
133
  };
135
134
  }>>, "disabled" | "type" | "onClick" | "label" | "size" | "dark" | "loading" | "icon" | "error" | "variant" | "loadOnClick">, "size" | "error" | "variant">>;
136
- default: undefined;
135
+ required: true;
137
136
  };
138
137
  secondaryAction: {
139
138
  type: import('vue').PropType<Omit<Partial<{
@@ -308,7 +307,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
308
307
  default: string;
309
308
  };
310
309
  size: {
311
- type: import('vue').PropType<ResponsiveProps<"xs" | "xl" | "l" | "m" | "fullScreen">>;
310
+ type: import('vue').PropType<"xs" | "xl" | "l" | "m">;
312
311
  default: string;
313
312
  };
314
313
  description: {
@@ -332,7 +331,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
332
331
  type: import('vue').PropType<boolean>;
333
332
  };
334
333
  }>>, never>>;
335
- default: undefined;
334
+ required: true;
336
335
  };
337
336
  primaryAction: {
338
337
  type: import('vue').PropType<Omit<Partial<{
@@ -410,7 +409,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
410
409
  default: boolean;
411
410
  };
412
411
  }>>, "disabled" | "type" | "onClick" | "label" | "size" | "dark" | "loading" | "icon" | "error" | "variant" | "loadOnClick">, "size" | "error" | "variant">>;
413
- default: undefined;
412
+ required: true;
414
413
  };
415
414
  secondaryAction: {
416
415
  type: import('vue').PropType<Omit<Partial<{
@@ -573,99 +572,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
573
572
  }, {
574
573
  title: string;
575
574
  color: "primary" | "secondary" | "error";
576
- size: ResponsiveProps<"xs" | "xl" | "l" | "m" | "fullScreen">;
575
+ size: "xs" | "xl" | "l" | "m";
577
576
  description: string;
578
- headerIcon: Omit<{
579
- readonly name: import('./ElIcon.vue').IconNames;
580
- readonly solid?: boolean | undefined;
581
- readonly disabled?: boolean | undefined;
582
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
583
- name: {
584
- type: import('vue').PropType<import('./ElIcon.vue').IconNames>;
585
- required: true;
586
- };
587
- solid: {
588
- type: import('vue').PropType<boolean>;
589
- };
590
- disabled: {
591
- type: import('vue').PropType<boolean>;
592
- };
593
- }>>, never>;
594
- primaryAction: Omit<Partial<{
595
- disabled: boolean;
596
- type: "button" | "submit" | "reset";
597
- onClick: (() => unknown) | (() => Promise<unknown>);
598
- label: string;
599
- size: "base" | "xs" | "sm" | "xl" | "l";
600
- dark: boolean;
601
- loading: boolean;
602
- icon: import('./ElIcon.vue').ElIconProps;
603
- error: boolean;
604
- variant: "primary" | "secondary" | "tertiary";
605
- loadOnClick: boolean;
606
- }> & Omit<{
607
- readonly disabled: boolean;
608
- readonly type: "button" | "submit" | "reset";
609
- readonly label: string;
610
- readonly size: "base" | "xs" | "sm" | "xl" | "l";
611
- readonly dark: boolean;
612
- readonly loading: boolean;
613
- readonly error: boolean;
614
- readonly variant: "primary" | "secondary" | "tertiary";
615
- readonly loadOnClick: boolean;
616
- readonly onClick?: (() => unknown) | (() => Promise<unknown>) | undefined;
617
- readonly icon?: import('./ElIcon.vue').ElIconProps | undefined;
618
- readonly iconRight?: boolean | undefined;
619
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
620
- disabled: {
621
- type: import('vue').PropType<boolean>;
622
- default: boolean;
623
- };
624
- type: {
625
- type: import('vue').PropType<"button" | "submit" | "reset">;
626
- default: string;
627
- };
628
- onClick: {
629
- type: import('vue').PropType<(() => unknown) | (() => Promise<unknown>)>;
630
- default: undefined;
631
- };
632
- label: {
633
- type: import('vue').PropType<string>;
634
- required: true;
635
- default: string;
636
- };
637
- size: {
638
- type: import('vue').PropType<"base" | "xs" | "sm" | "xl" | "l">;
639
- default: string;
640
- };
641
- dark: {
642
- type: import('vue').PropType<boolean>;
643
- default: boolean;
644
- };
645
- loading: {
646
- type: import('vue').PropType<boolean>;
647
- default: boolean;
648
- };
649
- icon: {
650
- type: import('vue').PropType<import('./ElIcon.vue').ElIconProps>;
651
- default: undefined;
652
- };
653
- iconRight: {
654
- type: import('vue').PropType<boolean>;
655
- };
656
- error: {
657
- type: import('vue').PropType<boolean>;
658
- default: boolean;
659
- };
660
- variant: {
661
- type: import('vue').PropType<"primary" | "secondary" | "tertiary">;
662
- default: string;
663
- };
664
- loadOnClick: {
665
- type: import('vue').PropType<boolean>;
666
- default: boolean;
667
- };
668
- }>>, "disabled" | "type" | "onClick" | "label" | "size" | "dark" | "loading" | "icon" | "error" | "variant" | "loadOnClick">, "size" | "error" | "variant">;
669
577
  secondaryAction: Omit<Partial<{
670
578
  disabled: boolean;
671
579
  type: "button" | "submit" | "reset";
@@ -2,6 +2,8 @@ import { PropType } from 'vue';
2
2
 
3
3
  export declare const elInputCheckboxSizes: readonly ["xs", "xxs"];
4
4
  export type ElInputCheckboxSizes = (typeof elInputCheckboxSizes)[number];
5
+ export declare const elInputCheckboxColors: readonly ["primary", "secondary", "brand-blue", "brand-green", "green", "purple", "indigo", "yellow", "orange", "cyan", "red", "pink", "rose", "gray"];
6
+ export type ElInputCheckboxColors = (typeof elInputCheckboxColors)[number];
5
7
  export declare const elInputCheckboxModelValues: readonly [true, false, "indeterminate"];
6
8
  export type ElInputCheckboxModelValues = (typeof elInputCheckboxModelValues)[number];
7
9
  declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
@@ -15,6 +17,11 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
15
17
  default: string;
16
18
  required: false;
17
19
  };
20
+ color: {
21
+ type: PropType<"pink" | "yellow" | "orange" | "cyan" | "rose" | "green" | "brand-blue" | "brand-green" | "red" | "purple" | "indigo" | "primary" | "secondary" | "gray">;
22
+ default: string;
23
+ required: false;
24
+ };
18
25
  inputClass: {
19
26
  type: StringConstructor;
20
27
  default: string;
@@ -77,6 +84,11 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
77
84
  default: string;
78
85
  required: false;
79
86
  };
87
+ color: {
88
+ type: PropType<"pink" | "yellow" | "orange" | "cyan" | "rose" | "green" | "brand-blue" | "brand-green" | "red" | "purple" | "indigo" | "primary" | "secondary" | "gray">;
89
+ default: string;
90
+ required: false;
91
+ };
80
92
  inputClass: {
81
93
  type: StringConstructor;
82
94
  default: string;
@@ -134,6 +146,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
134
146
  label: string;
135
147
  id: string;
136
148
  placeholder: string;
149
+ color: "pink" | "yellow" | "orange" | "cyan" | "rose" | "green" | "brand-blue" | "brand-green" | "red" | "purple" | "indigo" | "primary" | "secondary" | "gray";
137
150
  step: number;
138
151
  size: "xxs" | "xs";
139
152
  modelValue: boolean | "indeterminate";