@davincihealthcare/elty-design-system-vue 1.13.0 → 1.13.2

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,13 @@
1
- export type PositionToAnchor = 'bottom' | 'bottom-left' | 'top' | 'top-center' | 'bottom-center' | 'top-right' | 'right' | 'bottom-right-top-right';
1
+ export declare const elClipToAnchorPositions: readonly ["bottom-left", "bottom", "bottom-right", "top-left", "top", "top-right", "left", "left-start", "left-end", "right", "right-start", "right-end"];
2
+ export type ElClipToAnchorPosition = (typeof elClipToAnchorPositions)[number];
2
3
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
4
  anchor: HTMLElement;
4
- positionToAnchor: PositionToAnchor;
5
- minWidthRelatedToAnchor?: number | undefined;
5
+ position: ElClipToAnchorPosition;
6
+ minWidth?: number | undefined;
6
7
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
8
  anchor: HTMLElement;
8
- positionToAnchor: PositionToAnchor;
9
- minWidthRelatedToAnchor?: number | undefined;
9
+ position: ElClipToAnchorPosition;
10
+ minWidth?: number | undefined;
10
11
  }>>>, {}, {}>, {
11
12
  default?(_: {}): any;
12
13
  }>;
@@ -96,6 +96,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
96
96
  };
97
97
  }>>, "disabled" | "type" | "label" | "icon" | "size" | "loading" | "error" | "dark" | "variant">, "size" | "variant"> | undefined;
98
98
  left?: boolean | undefined;
99
+ right?: boolean | undefined;
99
100
  isOpen?: boolean | undefined;
100
101
  }>, {
101
102
  title: undefined;
@@ -202,6 +203,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
202
203
  };
203
204
  }>>, "disabled" | "type" | "label" | "icon" | "size" | "loading" | "error" | "dark" | "variant">, "size" | "variant"> | undefined;
204
205
  left?: boolean | undefined;
206
+ right?: boolean | undefined;
205
207
  isOpen?: boolean | undefined;
206
208
  }>, {
207
209
  title: undefined;
@@ -1,12 +1,13 @@
1
- import { PositionToAnchor } from './_ClipToAnchor.vue';
1
+ export declare const elTooltipPositions: readonly ["bottom-left", "bottom", "bottom-right", "top-left", "top", "top-right", "left", "left-start", "left-end", "right", "right-start", "right-end"];
2
+ export type ElTooltipPosition = (typeof elTooltipPositions)[number];
2
3
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
4
  text: string;
4
- positionToAnchor?: PositionToAnchor | undefined;
5
+ position?: "bottom-left" | "bottom" | "bottom-right" | "top-left" | "top" | "top-right" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end" | undefined;
5
6
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
6
7
  text: string;
7
- positionToAnchor?: PositionToAnchor | undefined;
8
+ position?: "bottom-left" | "bottom" | "bottom-right" | "top-left" | "top" | "top-right" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end" | undefined;
8
9
  }>>>, {}, {}>, {
9
- anchor?(_: {}): any;
10
+ default?(_: {}): any;
10
11
  }>;
11
12
  export default _default;
12
13
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -1,6 +1,5 @@
1
1
  import { PropType } from 'vue';
2
2
  import { OptionType } from '../types';
3
- import { PositionToAnchor } from '../_ClipToAnchor.vue';
4
3
  import { AutocompleteOptionType } from './utils';
5
4
  type ValueType = string | string[] | null | undefined;
6
5
  declare const _default: import("vue").DefineComponent<{
@@ -27,7 +26,7 @@ declare const _default: import("vue").DefineComponent<{
27
26
  default: boolean;
28
27
  };
29
28
  positionToAnchor: {
30
- type: PropType<PositionToAnchor>;
29
+ type: PropType<"bottom-left" | "bottom" | "bottom-right" | "top-left" | "top" | "top-right" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end">;
31
30
  required: false;
32
31
  default: string;
33
32
  };
@@ -83,7 +82,7 @@ declare const _default: import("vue").DefineComponent<{
83
82
  default: boolean;
84
83
  };
85
84
  positionToAnchor: {
86
- type: PropType<PositionToAnchor>;
85
+ type: PropType<"bottom-left" | "bottom" | "bottom-right" | "top-left" | "top" | "top-right" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end">;
87
86
  required: false;
88
87
  default: string;
89
88
  };
@@ -119,12 +118,12 @@ declare const _default: import("vue").DefineComponent<{
119
118
  disabled: boolean;
120
119
  label: string;
121
120
  placeholder: string;
122
- positionToAnchor: PositionToAnchor;
123
121
  modelValue: ValueType;
124
122
  errorMessage: string | boolean;
125
123
  hiddenErrorMessage: boolean;
126
124
  validation: string;
127
125
  multiple: boolean;
128
126
  noRemoveValue: boolean;
127
+ positionToAnchor: "bottom-left" | "bottom" | "bottom-right" | "top-left" | "top" | "top-right" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end";
129
128
  }, {}>;
130
129
  export default _default;