@a-vision-software/vue-input-components 1.4.9 → 1.4.10

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 CHANGED
@@ -51,6 +51,18 @@ A flexible and customizable list component that supports sorting, filtering, and
51
51
  ```bash
52
52
  npm install @a-vision-software/vue-input-components
53
53
  ```
54
+ ### Declare global types
55
+ Add the global types to your `tsconfig.app.json`
56
+
57
+ ```
58
+ {
59
+ ...
60
+ "compilerOptions": {
61
+ ...
62
+ "types": ["@a-vision-software/vue-input-components/global"],
63
+ }
64
+ }
65
+ ```
54
66
 
55
67
  ## Quick Start
56
68
 
@@ -18,7 +18,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
18
18
  height: string;
19
19
  maxHeight: string;
20
20
  bgColor: string;
21
- width: (props: any) => "100%" | "10rem";
21
+ width: string;
22
22
  }>>, {
23
23
  focus: () => void | undefined;
24
24
  blur: () => void | undefined;
@@ -47,7 +47,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
47
47
  height: string;
48
48
  maxHeight: string;
49
49
  bgColor: string;
50
- width: (props: any) => "100%" | "10rem";
50
+ width: string;
51
51
  }>>> & Readonly<{
52
52
  onBlur?: (() => any) | undefined;
53
53
  onFocus?: (() => any) | undefined;
@@ -0,0 +1,22 @@
1
+ import { default as TextInput } from './components/TextInput.vue';
2
+ import { default as FileUpload } from './components/FileUpload.vue';
3
+ import { default as Navigation } from './components/Navigation.vue';
4
+ import { default as Action } from './components/Action.vue';
5
+ import { default as Dropdown } from './components/Dropdown.vue';
6
+ import { default as Checkbox } from './components/Checkbox.vue';
7
+ import { default as List } from './components/List.vue';
8
+ import { default as Modal } from './components/Modal.vue';
9
+
10
+ declare module '@vue/runtime-core' {
11
+ interface GlobalComponents {
12
+ TextInput: typeof TextInput;
13
+ FileUpload: typeof FileUpload;
14
+ Navigation: typeof Navigation;
15
+ Action: typeof Action;
16
+ Dropdown: typeof Dropdown;
17
+ Checkbox: typeof Checkbox;
18
+ List: typeof List;
19
+ Modal: typeof Modal;
20
+ }
21
+ }
22
+ export {};