@davincihealthcare/elty-design-system-vue 1.36.6 → 1.37.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,12 +1,12 @@
1
1
  import { default as ElButton } from './ElButton.vue';
2
2
 
3
- export declare const elInlineBannerStates: readonly ["error", "warning", "info"];
4
- export type ElInlineBannerStates = (typeof elInlineBannerStates)[number];
3
+ export declare const elInlineBannerStatuses: readonly ["error", "warning", "info"];
4
+ export type ElInlineBannerStatuses = (typeof elInlineBannerStatuses)[number];
5
5
  declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
6
- state?: "error" | "warning" | "info" | undefined;
6
+ status?: "error" | "warning" | "info" | undefined;
7
7
  title?: string | undefined;
8
8
  description: string;
9
- action?: (Pick<Partial<{
9
+ action?: Pick<Partial<{
10
10
  disabled: boolean;
11
11
  type: "button" | "submit" | "reset";
12
12
  onClick: (() => unknown) | (() => Promise<unknown>);
@@ -80,9 +80,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
80
80
  type: import('vue').PropType<boolean>;
81
81
  default: boolean;
82
82
  };
83
- }>>, "disabled" | "type" | "onClick" | "label" | "size" | "dark" | "loading" | "icon" | "error" | "variant" | "loadOnClick">, "label"> & {
84
- onClick: Function;
85
- }) | undefined;
83
+ }>>, "disabled" | "type" | "onClick" | "label" | "size" | "dark" | "loading" | "icon" | "error" | "variant" | "loadOnClick">, "onClick" | "label" | "loading" | "icon" | "iconRight" | "variant" | "loadOnClick"> | undefined;
86
84
  icon?: (Partial<{}> & Omit<{
87
85
  readonly name: import('./ElIcon.vue').IconNames;
88
86
  readonly solid?: boolean | undefined;
@@ -100,15 +98,15 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
100
98
  };
101
99
  }>>, never>) | undefined;
102
100
  }>, {
103
- state: string;
101
+ status: string;
104
102
  title: undefined;
105
103
  action: undefined;
106
104
  icon: undefined;
107
105
  }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
108
- state?: "error" | "warning" | "info" | undefined;
106
+ status?: "error" | "warning" | "info" | undefined;
109
107
  title?: string | undefined;
110
108
  description: string;
111
- action?: (Pick<Partial<{
109
+ action?: Pick<Partial<{
112
110
  disabled: boolean;
113
111
  type: "button" | "submit" | "reset";
114
112
  onClick: (() => unknown) | (() => Promise<unknown>);
@@ -182,9 +180,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
182
180
  type: import('vue').PropType<boolean>;
183
181
  default: boolean;
184
182
  };
185
- }>>, "disabled" | "type" | "onClick" | "label" | "size" | "dark" | "loading" | "icon" | "error" | "variant" | "loadOnClick">, "label"> & {
186
- onClick: Function;
187
- }) | undefined;
183
+ }>>, "disabled" | "type" | "onClick" | "label" | "size" | "dark" | "loading" | "icon" | "error" | "variant" | "loadOnClick">, "onClick" | "label" | "loading" | "icon" | "iconRight" | "variant" | "loadOnClick"> | undefined;
188
184
  icon?: (Partial<{}> & Omit<{
189
185
  readonly name: import('./ElIcon.vue').IconNames;
190
186
  readonly solid?: boolean | undefined;
@@ -202,7 +198,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
202
198
  };
203
199
  }>>, never>) | undefined;
204
200
  }>, {
205
- state: string;
201
+ status: string;
206
202
  title: undefined;
207
203
  action: undefined;
208
204
  icon: undefined;
@@ -224,10 +220,8 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
224
220
  type: import('vue').PropType<boolean>;
225
221
  };
226
222
  }>>, never>;
227
- action: Pick<InstanceType<typeof ElButton>['$props'], 'label'> & {
228
- onClick: Function;
229
- };
230
- state: ElInlineBannerStates;
223
+ status: ElInlineBannerStatuses;
224
+ action: Pick<InstanceType<typeof ElButton>['$props'], 'label' | 'variant' | 'onClick' | 'icon' | 'iconRight' | 'loading' | 'loadOnClick'>;
231
225
  }, {}>;
232
226
  export default _default;
233
227
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;