@dolanske/vui 1.4.0 → 1.4.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.
Files changed (214) hide show
  1. package/dist/components/Accordion/Accordion.vue.d.ts +48 -0
  2. package/dist/components/Accordion/AccordionGroup.vue.d.ts +21 -0
  3. package/dist/components/Alert/Alert.vue.d.ts +36 -0
  4. package/dist/components/Avatar/Avatar.vue.d.ts +25 -0
  5. package/dist/components/Badge/Badge.vue.d.ts +22 -0
  6. package/dist/components/Breadcrumbs/BreadcrumbItem.vue.d.ts +22 -0
  7. package/dist/components/Breadcrumbs/Breadcrumbs.vue.d.ts +18 -0
  8. package/dist/components/Button/Button.vue.d.ts +32 -0
  9. package/dist/components/ButtonGroup/ButtonGroup.vue.d.ts +22 -0
  10. package/dist/components/Calendar/Calendar.vue.d.ts +27 -0
  11. package/dist/components/Card/Card.vue.d.ts +26 -0
  12. package/dist/components/Checkbox/Checkbox.vue.d.ts +33 -0
  13. package/dist/components/CopyClipboard/CopyClipboard.vue.d.ts +46 -0
  14. package/dist/components/Divider/Divider.vue.d.ts +23 -0
  15. package/dist/components/Drawer/Drawer.vue.d.ts +53 -0
  16. package/dist/components/Dropdown/Dropdown.vue.d.ts +177 -0
  17. package/dist/components/Dropdown/DropdownItem.vue.d.ts +23 -0
  18. package/dist/components/Dropdown/DropdownTitle.vue.d.ts +21 -0
  19. package/dist/components/Flex/Flex.vue.d.ts +41 -0
  20. package/dist/components/Grid/Grid.vue.d.ts +35 -0
  21. package/dist/components/Input/Color.vue.d.ts +11 -0
  22. package/dist/components/Input/Counter.vue.d.ts +19 -0
  23. package/dist/components/Input/Dropzone.vue.d.ts +193 -0
  24. package/dist/components/Input/File.vue.d.ts +8 -0
  25. package/dist/components/Input/Input.vue.d.ts +56 -0
  26. package/dist/components/Input/Password.vue.d.ts +6 -0
  27. package/dist/components/Input/Textarea.vue.d.ts +31 -0
  28. package/dist/components/Kbd/Kbd.vue.d.ts +23 -0
  29. package/dist/components/Kbd/KbdGroup.vue.d.ts +19 -0
  30. package/dist/components/Modal/Confirm.vue.d.ts +43 -0
  31. package/dist/components/Modal/Modal.vue.d.ts +58 -0
  32. package/dist/components/OTP/OTP.vue.d.ts +44 -0
  33. package/dist/components/OTP/OTPItem.vue.d.ts +5 -0
  34. package/dist/components/Pagination/Pagination.vue.d.ts +46 -0
  35. package/dist/components/Pagination/pagination.d.ts +12 -0
  36. package/dist/components/Popout/Popout.vue.d.ts +36 -0
  37. package/dist/components/Progress/Progress.vue.d.ts +33 -0
  38. package/dist/components/Radio/Radio.vue.d.ts +29 -0
  39. package/dist/components/Radio/RadioGroup.vue.d.ts +27 -0
  40. package/dist/components/Select/Select.vue.d.ts +35 -0
  41. package/dist/components/Sheet/Sheet.vue.d.ts +47 -0
  42. package/dist/components/Sidebar/Sidebar.vue.d.ts +70 -0
  43. package/dist/components/Skeleton/Skeleton.vue.d.ts +8 -0
  44. package/dist/components/Spinner/Spinner.vue.d.ts +6 -0
  45. package/dist/components/Switch/Switch.vue.d.ts +28 -0
  46. package/dist/components/Table/Cell.vue.d.ts +22 -0
  47. package/dist/components/Table/Head.vue.d.ts +30 -0
  48. package/dist/components/Table/Root.vue.d.ts +41 -0
  49. package/dist/components/Table/SelectAll.vue.d.ts +2 -0
  50. package/dist/components/Table/SelectRow.vue.d.ts +6 -0
  51. package/dist/components/Table/index.d.ts +6 -0
  52. package/dist/components/Table/table.d.ts +68 -0
  53. package/dist/components/Tabs/Tab.vue.d.ts +22 -0
  54. package/dist/components/Tabs/Tabs.vue.d.ts +34 -0
  55. package/dist/components/Toast/Toasts.vue.d.ts +2 -0
  56. package/dist/components/Toast/toast.d.ts +287 -0
  57. package/dist/components/Tooltip/Tooltip.vue.d.ts +33 -0
  58. package/dist/fonts/GeistMono-Regular.ttf +0 -0
  59. package/dist/fonts/GeistMono-SemiBold.ttf +0 -0
  60. package/dist/fonts/Inter_18pt-Black.ttf +0 -0
  61. package/dist/fonts/Inter_18pt-Bold.ttf +0 -0
  62. package/dist/fonts/Inter_18pt-ExtraBold.ttf +0 -0
  63. package/dist/fonts/Inter_18pt-Light.ttf +0 -0
  64. package/dist/fonts/Inter_18pt-Medium.ttf +0 -0
  65. package/dist/fonts/Inter_18pt-Regular.ttf +0 -0
  66. package/dist/fonts/Inter_18pt-SemiBold.ttf +0 -0
  67. package/dist/index.d.ts +56 -0
  68. package/dist/internal/Backdrop/Backdrop.vue.d.ts +21 -0
  69. package/dist/shared/helpers.d.ts +34 -0
  70. package/dist/shared/slots.d.ts +20 -0
  71. package/dist/shared/theme.d.ts +3 -0
  72. package/dist/shared/types.d.ts +24 -0
  73. package/dist/vui.css +1 -0
  74. package/dist/vui.js +16215 -0
  75. package/package.json +1 -2
  76. package/src/App.vue +0 -103
  77. package/src/components/Accordion/Accordion.vue +0 -98
  78. package/src/components/Accordion/AccordionGroup.vue +0 -49
  79. package/src/components/Accordion/accordion.scss +0 -97
  80. package/src/components/Alert/Alert.vue +0 -59
  81. package/src/components/Alert/alert.scss +0 -162
  82. package/src/components/Avatar/Avatar.vue +0 -53
  83. package/src/components/Avatar/avatar.scss +0 -52
  84. package/src/components/Badge/Badge.vue +0 -21
  85. package/src/components/Badge/badge.scss +0 -210
  86. package/src/components/Breadcrumbs/BreadcrumbItem.vue +0 -26
  87. package/src/components/Breadcrumbs/Breadcrumbs.vue +0 -29
  88. package/src/components/Breadcrumbs/breadcrumbs.scss +0 -31
  89. package/src/components/Button/Button.vue +0 -86
  90. package/src/components/Button/button.scss +0 -292
  91. package/src/components/ButtonGroup/ButtonGroup.vue +0 -28
  92. package/src/components/ButtonGroup/button-group.scss +0 -51
  93. package/src/components/Calendar/Calendar.vue +0 -66
  94. package/src/components/Calendar/calendar.scss +0 -88
  95. package/src/components/Card/Card.vue +0 -48
  96. package/src/components/Card/card.scss +0 -55
  97. package/src/components/Checkbox/Checkbox.vue +0 -54
  98. package/src/components/Checkbox/checkbox.scss +0 -80
  99. package/src/components/CopyClipboard/CopyClipboard.vue +0 -98
  100. package/src/components/CopyClipboard/copy-clipboard.scss +0 -25
  101. package/src/components/Divider/Divider.vue +0 -38
  102. package/src/components/Divider/divider.scss +0 -37
  103. package/src/components/Drawer/Drawer.vue +0 -102
  104. package/src/components/Drawer/drawer.scss +0 -37
  105. package/src/components/Dropdown/Dropdown.vue +0 -120
  106. package/src/components/Dropdown/DropdownItem.vue +0 -33
  107. package/src/components/Dropdown/DropdownTitle.vue +0 -14
  108. package/src/components/Dropdown/dropdown-item.scss +0 -84
  109. package/src/components/Dropdown/dropdown.scss +0 -53
  110. package/src/components/Flex/Flex.vue +0 -113
  111. package/src/components/Grid/Grid.vue +0 -87
  112. package/src/components/Input/Color.vue +0 -26
  113. package/src/components/Input/Counter.vue +0 -66
  114. package/src/components/Input/Dropzone.vue +0 -65
  115. package/src/components/Input/File.vue +0 -15
  116. package/src/components/Input/Input.vue +0 -123
  117. package/src/components/Input/Password.vue +0 -35
  118. package/src/components/Input/Textarea.vue +0 -78
  119. package/src/components/Input/input.scss +0 -302
  120. package/src/components/Kbd/Kbd.vue +0 -48
  121. package/src/components/Kbd/KbdGroup.vue +0 -28
  122. package/src/components/Kbd/kbd.scss +0 -19
  123. package/src/components/Modal/Confirm.vue +0 -56
  124. package/src/components/Modal/Modal.vue +0 -103
  125. package/src/components/Modal/modal.scss +0 -54
  126. package/src/components/OTP/OTP.vue +0 -133
  127. package/src/components/OTP/OTPItem.vue +0 -37
  128. package/src/components/OTP/otp.scss +0 -84
  129. package/src/components/Pagination/Pagination.vue +0 -92
  130. package/src/components/Pagination/pagination.ts +0 -78
  131. package/src/components/Popout/Popout.vue +0 -73
  132. package/src/components/Popout/popout.scss +0 -16
  133. package/src/components/Progress/Progress.vue +0 -103
  134. package/src/components/Progress/progress.scss +0 -47
  135. package/src/components/Radio/Radio.vue +0 -38
  136. package/src/components/Radio/RadioGroup.vue +0 -34
  137. package/src/components/Radio/radio.scss +0 -78
  138. package/src/components/Select/Select.vue +0 -212
  139. package/src/components/Select/select.scss +0 -82
  140. package/src/components/Sheet/Sheet.vue +0 -106
  141. package/src/components/Sheet/sheet.scss +0 -71
  142. package/src/components/Sidebar/Sidebar.vue +0 -116
  143. package/src/components/Sidebar/sidebar.scss +0 -124
  144. package/src/components/Skeleton/Skeleton.vue +0 -43
  145. package/src/components/Skeleton/skeleton.scss +0 -14
  146. package/src/components/Spinner/Spinner.vue +0 -42
  147. package/src/components/Spinner/spinner.scss +0 -47
  148. package/src/components/Switch/Switch.vue +0 -31
  149. package/src/components/Switch/switch.scss +0 -93
  150. package/src/components/Table/Cell.vue +0 -23
  151. package/src/components/Table/Head.vue +0 -66
  152. package/src/components/Table/Root.vue +0 -66
  153. package/src/components/Table/SelectAll.vue +0 -23
  154. package/src/components/Table/SelectRow.vue +0 -30
  155. package/src/components/Table/index.ts +0 -7
  156. package/src/components/Table/table.scss +0 -155
  157. package/src/components/Table/table.ts +0 -248
  158. package/src/components/Tabs/Tab.vue +0 -25
  159. package/src/components/Tabs/Tabs.vue +0 -90
  160. package/src/components/Tabs/tabs.scss +0 -87
  161. package/src/components/Toast/Toasts.vue +0 -52
  162. package/src/components/Toast/toast.scss +0 -45
  163. package/src/components/Toast/toast.ts +0 -75
  164. package/src/components/Tooltip/Tooltip.vue +0 -78
  165. package/src/components/Tooltip/tooltip.scss +0 -5
  166. package/src/examples/ExampleAccordions.vue +0 -69
  167. package/src/examples/ExampleAlerts.vue +0 -78
  168. package/src/examples/ExampleAvatars.vue +0 -44
  169. package/src/examples/ExampleBadges.vue +0 -48
  170. package/src/examples/ExampleBreadcrumbs.vue +0 -46
  171. package/src/examples/ExampleButtons.vue +0 -148
  172. package/src/examples/ExampleCalendars.vue +0 -40
  173. package/src/examples/ExampleCards.vue +0 -94
  174. package/src/examples/ExampleCheckboxes.vue +0 -123
  175. package/src/examples/ExampleCopyClipboard.vue +0 -47
  176. package/src/examples/ExampleDividers.vue +0 -39
  177. package/src/examples/ExampleDrawers.vue +0 -67
  178. package/src/examples/ExampleDropdowns.vue +0 -114
  179. package/src/examples/ExampleFlexGrid.vue +0 -124
  180. package/src/examples/ExampleInputs.vue +0 -236
  181. package/src/examples/ExampleKBD.vue +0 -65
  182. package/src/examples/ExampleModals.vue +0 -143
  183. package/src/examples/ExamplePalette.vue +0 -165
  184. package/src/examples/ExamplePopouts.vue +0 -41
  185. package/src/examples/ExampleSheets.vue +0 -77
  186. package/src/examples/ExampleSidebars.vue +0 -276
  187. package/src/examples/ExampleSkeletons.vue +0 -26
  188. package/src/examples/ExampleSpinners.vue +0 -80
  189. package/src/examples/ExampleTables.vue +0 -359
  190. package/src/examples/ExampleTabs.vue +0 -142
  191. package/src/examples/ExampleToasts.vue +0 -96
  192. package/src/examples/ExampleTooltips.vue +0 -70
  193. package/src/examples/shared/ExampleColor.vue +0 -28
  194. package/src/index.ts +0 -116
  195. package/src/internal/Backdrop/Backdrop.vue +0 -22
  196. package/src/internal/Backdrop/backdrop.scss +0 -34
  197. package/src/main.ts +0 -5
  198. package/src/shared/helpers.ts +0 -124
  199. package/src/shared/slots.ts +0 -61
  200. package/src/shared/theme.ts +0 -22
  201. package/src/shared/types.ts +0 -29
  202. package/src/style/animation.scss +0 -50
  203. package/src/style/core.scss +0 -133
  204. package/src/style/fonts.scss +0 -73
  205. package/src/style/layout.scss +0 -179
  206. package/src/style/media-query.scss +0 -29
  207. package/src/style/reset.scss +0 -135
  208. package/src/style/text.scss +0 -137
  209. package/src/style/theme.scss +0 -195
  210. package/src/style/tooltip.scss +0 -146
  211. package/src/style/typography.scss +0 -435
  212. package/src/style/utils.scss +0 -36
  213. package/src/style.scss +0 -1
  214. package/src/vite-env.d.ts +0 -1
@@ -0,0 +1,23 @@
1
+ interface Props {
2
+ disabled?: boolean;
3
+ icon?: string;
4
+ iconEnd?: string;
5
+ }
6
+ declare function __VLS_template(): {
7
+ attrs: Partial<{}>;
8
+ slots: {
9
+ default?(_: {}): any;
10
+ hint?(_: {}): any;
11
+ };
12
+ refs: {};
13
+ rootEl: HTMLButtonElement;
14
+ };
15
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
16
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
17
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
18
+ export default _default;
19
+ type __VLS_WithTemplateSlots<T, S> = T & {
20
+ new (): {
21
+ $slots: S;
22
+ };
23
+ };
@@ -0,0 +1,21 @@
1
+ type __VLS_Props = {
2
+ sticky?: boolean;
3
+ };
4
+ declare function __VLS_template(): {
5
+ attrs: Partial<{}>;
6
+ slots: {
7
+ default?(_: {}): any;
8
+ end?(_: {}): any;
9
+ };
10
+ refs: {};
11
+ rootEl: HTMLDivElement;
12
+ };
13
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
15
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
16
+ export default _default;
17
+ type __VLS_WithTemplateSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
@@ -0,0 +1,41 @@
1
+ import { Space } from '../../shared/types';
2
+ export interface FlexProps {
3
+ inline?: boolean;
4
+ wrap?: boolean;
5
+ wrapReverse?: boolean;
6
+ row?: boolean;
7
+ column?: boolean;
8
+ rowReverse?: boolean;
9
+ columnReverse?: boolean;
10
+ gap?: Space | number;
11
+ xStart?: boolean;
12
+ xEnd?: boolean;
13
+ xCenter?: boolean;
14
+ xBetween?: boolean;
15
+ xAround?: boolean;
16
+ xEvenly?: boolean;
17
+ yCenter?: boolean;
18
+ yStart?: boolean;
19
+ yEnd?: boolean;
20
+ yBaseline?: boolean;
21
+ expand?: boolean;
22
+ }
23
+ declare function __VLS_template(): {
24
+ attrs: Partial<{}>;
25
+ slots: {
26
+ default?(_: {}): any;
27
+ };
28
+ refs: {};
29
+ rootEl: HTMLDivElement;
30
+ };
31
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
32
+ declare const __VLS_component: import('vue').DefineComponent<FlexProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<FlexProps> & Readonly<{}>, {
33
+ gap: Space | number;
34
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
35
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
36
+ export default _default;
37
+ type __VLS_WithTemplateSlots<T, S> = T & {
38
+ new (): {
39
+ $slots: S;
40
+ };
41
+ };
@@ -0,0 +1,35 @@
1
+ import { Space } from '../../shared/types';
2
+ /**
3
+ * This component is not meant for complex grids
4
+ */
5
+ interface Props {
6
+ inline?: boolean;
7
+ gap?: Space | number;
8
+ rows?: number | string;
9
+ columns?: number | string;
10
+ yCenter?: boolean;
11
+ yStart?: boolean;
12
+ yEnd?: boolean;
13
+ yBaseline?: boolean;
14
+ yStretch?: boolean;
15
+ expand?: boolean;
16
+ }
17
+ declare function __VLS_template(): {
18
+ attrs: Partial<{}>;
19
+ slots: {
20
+ default?(_: {}): any;
21
+ };
22
+ refs: {};
23
+ rootEl: HTMLDivElement;
24
+ };
25
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
26
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
27
+ gap: Space | number;
28
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
29
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
30
+ export default _default;
31
+ type __VLS_WithTemplateSlots<T, S> = T & {
32
+ new (): {
33
+ $slots: S;
34
+ };
35
+ };
@@ -0,0 +1,11 @@
1
+ import { InputProps } from './Input.vue';
2
+ type __VLS_Props = InputProps;
3
+ type __VLS_PublicProps = {
4
+ modelValue?: string;
5
+ } & __VLS_Props;
6
+ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ "update:modelValue": (value: string) => any;
8
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
9
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
10
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
11
+ export default _default;
@@ -0,0 +1,19 @@
1
+ import { InputProps } from './Input.vue';
2
+ type Props = Omit<InputProps, 'type'> & {
3
+ incrementBy?: number;
4
+ incrementEnabled?: boolean;
5
+ hideIncrement?: boolean;
6
+ decrementBy?: number;
7
+ decrementEnabled?: boolean;
8
+ hideDecrement?: boolean;
9
+ };
10
+ type __VLS_Props = Props;
11
+ type __VLS_PublicProps = {
12
+ modelValue?: number;
13
+ } & __VLS_Props;
14
+ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
+ "update:modelValue": (value: number) => any;
16
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
17
+ "onUpdate:modelValue"?: ((value: number) => any) | undefined;
18
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
19
+ export default _default;
@@ -0,0 +1,193 @@
1
+ import { InputProps } from './Input.vue';
2
+ type Props = Omit<InputProps, 'type' | 'modelValue' | 'focus' | 'limit' | 'placeholder'>;
3
+ declare function __VLS_template(): {
4
+ attrs: Partial<{}>;
5
+ slots: {
6
+ default?(_: {
7
+ dragging: boolean;
8
+ }): any;
9
+ };
10
+ refs: {
11
+ dropzone: ({
12
+ $: import('vue').ComponentInternalInstance;
13
+ $data: {};
14
+ $props: {
15
+ readonly modelValue?: string | number | undefined;
16
+ readonly type?: import('./Input.vue').InputType | undefined;
17
+ readonly label?: string | undefined;
18
+ readonly hint?: string | undefined;
19
+ readonly limit?: number | string | undefined;
20
+ readonly expand?: boolean | undefined;
21
+ readonly placeholder?: string | undefined;
22
+ readonly required?: boolean | undefined;
23
+ readonly readonly?: boolean | undefined;
24
+ readonly focus?: boolean | undefined;
25
+ readonly errors?: string[] | undefined;
26
+ readonly accept?: string | undefined;
27
+ readonly multiple?: boolean | undefined;
28
+ readonly min?: number | undefined;
29
+ readonly max?: number | undefined;
30
+ readonly disabled?: boolean | undefined;
31
+ readonly "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
32
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
33
+ $attrs: {
34
+ [x: string]: unknown;
35
+ };
36
+ $refs: {
37
+ [x: string]: unknown;
38
+ } & {
39
+ input: HTMLInputElement;
40
+ };
41
+ $slots: Readonly<{
42
+ [name: string]: import('vue').Slot<any> | undefined;
43
+ }>;
44
+ $root: import('vue').ComponentPublicInstance | null;
45
+ $parent: import('vue').ComponentPublicInstance | null;
46
+ $host: Element | null;
47
+ $emit: (event: "update:modelValue", value: string | number) => void;
48
+ $el: HTMLDivElement;
49
+ $options: import('vue').ComponentOptionsBase<Readonly<{
50
+ modelValue?: string | number;
51
+ } & InputProps> & Readonly<{
52
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
53
+ }>, {
54
+ focus: () => void;
55
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
56
+ "update:modelValue": (value: string | number) => any;
57
+ }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
58
+ beforeCreate?: (() => void) | (() => void)[];
59
+ created?: (() => void) | (() => void)[];
60
+ beforeMount?: (() => void) | (() => void)[];
61
+ mounted?: (() => void) | (() => void)[];
62
+ beforeUpdate?: (() => void) | (() => void)[];
63
+ updated?: (() => void) | (() => void)[];
64
+ activated?: (() => void) | (() => void)[];
65
+ deactivated?: (() => void) | (() => void)[];
66
+ beforeDestroy?: (() => void) | (() => void)[];
67
+ beforeUnmount?: (() => void) | (() => void)[];
68
+ destroyed?: (() => void) | (() => void)[];
69
+ unmounted?: (() => void) | (() => void)[];
70
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
71
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
72
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
73
+ };
74
+ $forceUpdate: () => void;
75
+ $nextTick: typeof import('vue').nextTick;
76
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
77
+ } & Readonly<{}> & Omit<Readonly<{
78
+ modelValue?: string | number;
79
+ } & InputProps> & Readonly<{
80
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
81
+ }>, "focus"> & import('vue').ShallowUnwrapRef<{
82
+ focus: () => void;
83
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
84
+ $slots: {
85
+ before?(_: {}): any;
86
+ start?(_: {}): any;
87
+ __internal_replace_input?(_: {
88
+ inputId: string;
89
+ }): any;
90
+ end?(_: {}): any;
91
+ after?(_: {}): any;
92
+ };
93
+ }) | null;
94
+ };
95
+ rootEl: HTMLDivElement;
96
+ };
97
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
98
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
99
+ files: (args_0: FileList) => any;
100
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
101
+ onFiles?: ((args_0: FileList) => any) | undefined;
102
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
103
+ dropzone: ({
104
+ $: import('vue').ComponentInternalInstance;
105
+ $data: {};
106
+ $props: {
107
+ readonly modelValue?: string | number | undefined;
108
+ readonly type?: import('./Input.vue').InputType | undefined;
109
+ readonly label?: string | undefined;
110
+ readonly hint?: string | undefined;
111
+ readonly limit?: number | string | undefined;
112
+ readonly expand?: boolean | undefined;
113
+ readonly placeholder?: string | undefined;
114
+ readonly required?: boolean | undefined;
115
+ readonly readonly?: boolean | undefined;
116
+ readonly focus?: boolean | undefined;
117
+ readonly errors?: string[] | undefined;
118
+ readonly accept?: string | undefined;
119
+ readonly multiple?: boolean | undefined;
120
+ readonly min?: number | undefined;
121
+ readonly max?: number | undefined;
122
+ readonly disabled?: boolean | undefined;
123
+ readonly "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
124
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
125
+ $attrs: {
126
+ [x: string]: unknown;
127
+ };
128
+ $refs: {
129
+ [x: string]: unknown;
130
+ } & {
131
+ input: HTMLInputElement;
132
+ };
133
+ $slots: Readonly<{
134
+ [name: string]: import('vue').Slot<any> | undefined;
135
+ }>;
136
+ $root: import('vue').ComponentPublicInstance | null;
137
+ $parent: import('vue').ComponentPublicInstance | null;
138
+ $host: Element | null;
139
+ $emit: (event: "update:modelValue", value: string | number) => void;
140
+ $el: HTMLDivElement;
141
+ $options: import('vue').ComponentOptionsBase<Readonly<{
142
+ modelValue?: string | number;
143
+ } & InputProps> & Readonly<{
144
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
145
+ }>, {
146
+ focus: () => void;
147
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
148
+ "update:modelValue": (value: string | number) => any;
149
+ }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
150
+ beforeCreate?: (() => void) | (() => void)[];
151
+ created?: (() => void) | (() => void)[];
152
+ beforeMount?: (() => void) | (() => void)[];
153
+ mounted?: (() => void) | (() => void)[];
154
+ beforeUpdate?: (() => void) | (() => void)[];
155
+ updated?: (() => void) | (() => void)[];
156
+ activated?: (() => void) | (() => void)[];
157
+ deactivated?: (() => void) | (() => void)[];
158
+ beforeDestroy?: (() => void) | (() => void)[];
159
+ beforeUnmount?: (() => void) | (() => void)[];
160
+ destroyed?: (() => void) | (() => void)[];
161
+ unmounted?: (() => void) | (() => void)[];
162
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
163
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
164
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
165
+ };
166
+ $forceUpdate: () => void;
167
+ $nextTick: typeof import('vue').nextTick;
168
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
169
+ } & Readonly<{}> & Omit<Readonly<{
170
+ modelValue?: string | number;
171
+ } & InputProps> & Readonly<{
172
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
173
+ }>, "focus"> & import('vue').ShallowUnwrapRef<{
174
+ focus: () => void;
175
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
176
+ $slots: {
177
+ before?(_: {}): any;
178
+ start?(_: {}): any;
179
+ __internal_replace_input?(_: {
180
+ inputId: string;
181
+ }): any;
182
+ end?(_: {}): any;
183
+ after?(_: {}): any;
184
+ };
185
+ }) | null;
186
+ }, HTMLDivElement>;
187
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
188
+ export default _default;
189
+ type __VLS_WithTemplateSlots<T, S> = T & {
190
+ new (): {
191
+ $slots: S;
192
+ };
193
+ };
@@ -0,0 +1,8 @@
1
+ import { InputProps } from './Input.vue';
2
+ type __VLS_Props = Omit<InputProps, 'type'>;
3
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
4
+ files: (args_0: FileList) => any;
5
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
6
+ onFiles?: ((args_0: FileList) => any) | undefined;
7
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
8
+ export default _default;
@@ -0,0 +1,56 @@
1
+ export type InputType = 'text' | 'password' | 'color' | 'date' | 'email' | 'number' | 'range' | 'search' | 'tel' | 'time' | 'url' | 'file';
2
+ export interface InputProps {
3
+ type?: InputType;
4
+ label?: string;
5
+ hint?: string;
6
+ limit?: number | string;
7
+ expand?: boolean;
8
+ placeholder?: string;
9
+ required?: boolean;
10
+ modelValue?: string | number;
11
+ readonly?: boolean;
12
+ focus?: boolean;
13
+ errors?: string[];
14
+ accept?: string;
15
+ multiple?: boolean;
16
+ min?: number;
17
+ max?: number;
18
+ disabled?: boolean;
19
+ }
20
+ type __VLS_Props = InputProps;
21
+ type __VLS_PublicProps = {
22
+ modelValue?: string | number;
23
+ } & __VLS_Props;
24
+ declare function __VLS_template(): {
25
+ attrs: Partial<{}>;
26
+ slots: {
27
+ before?(_: {}): any;
28
+ start?(_: {}): any;
29
+ __internal_replace_input?(_: {
30
+ inputId: string;
31
+ }): any;
32
+ end?(_: {}): any;
33
+ after?(_: {}): any;
34
+ };
35
+ refs: {
36
+ input: HTMLInputElement;
37
+ };
38
+ rootEl: HTMLDivElement;
39
+ };
40
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
41
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {
42
+ focus: () => void;
43
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
44
+ "update:modelValue": (value: string | number) => any;
45
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
46
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
47
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
48
+ input: HTMLInputElement;
49
+ }, HTMLDivElement>;
50
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
51
+ export default _default;
52
+ type __VLS_WithTemplateSlots<T, S> = T & {
53
+ new (): {
54
+ $slots: S;
55
+ };
56
+ };
@@ -0,0 +1,6 @@
1
+ import { InputProps } from './Input.vue';
2
+ type Props = Omit<InputProps, 'type'> & {
3
+ showPassword?: boolean;
4
+ };
5
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
6
+ export default _default;
@@ -0,0 +1,31 @@
1
+ import { InputProps } from './Input.vue';
2
+ type Props = Omit<InputProps, 'type'> & {
3
+ resize?: boolean | 'vertical' | 'horizontal';
4
+ autoResize?: boolean;
5
+ };
6
+ type __VLS_Props = Props;
7
+ type __VLS_PublicProps = {
8
+ modelValue?: string;
9
+ } & __VLS_Props;
10
+ declare function __VLS_template(): {
11
+ attrs: Partial<{}>;
12
+ slots: {
13
+ before?(_: {}): any;
14
+ after?(_: {}): any;
15
+ };
16
+ refs: {};
17
+ rootEl: HTMLDivElement;
18
+ };
19
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
20
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
21
+ "update:modelValue": (value: string) => any;
22
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
23
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
24
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
25
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
26
+ export default _default;
27
+ type __VLS_WithTemplateSlots<T, S> = T & {
28
+ new (): {
29
+ $slots: S;
30
+ };
31
+ };
@@ -0,0 +1,23 @@
1
+ interface Props {
2
+ /**
3
+ * Specify the key or the combination of keys connected with "+". Make sure
4
+ * there are no white spaces between letters.
5
+ *
6
+ * keys="Escape" keys="Ctrl+A"
7
+ */
8
+ keys: string;
9
+ /**
10
+ * Display custom label instead of the automatically formatted keys.
11
+ */
12
+ label?: string;
13
+ /**
14
+ * Show active state when this combination of keys is pressed.
15
+ */
16
+ highlight?: boolean;
17
+ }
18
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
19
+ trigger: () => any;
20
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
21
+ onTrigger?: (() => any) | undefined;
22
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
23
+ export default _default;
@@ -0,0 +1,19 @@
1
+ declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
3
+ slots: Readonly<Record<string, any>> & Record<string, any>;
4
+ refs: {};
5
+ rootEl: any;
6
+ };
7
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
8
+ declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
+ trigger: () => any;
10
+ }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
11
+ onTrigger?: (() => any) | undefined;
12
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
13
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
14
+ export default _default;
15
+ type __VLS_WithTemplateSlots<T, S> = T & {
16
+ new (): {
17
+ $slots: S;
18
+ };
19
+ };
@@ -0,0 +1,43 @@
1
+ import { Variants } from '../Button/Button.vue';
2
+ import { ModalProps } from './Modal.vue';
3
+ type Props = {
4
+ title?: string;
5
+ content?: string;
6
+ confirmText?: string;
7
+ confirmVariant?: Variants;
8
+ cancelText?: string;
9
+ showCancel?: boolean;
10
+ } & Partial<ModalProps>;
11
+ declare function __VLS_template(): {
12
+ attrs: Partial<{}>;
13
+ slots: {
14
+ default?(_: {}): any;
15
+ };
16
+ refs: {};
17
+ rootEl: any;
18
+ };
19
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
20
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
21
+ close: () => any;
22
+ confirm: () => any;
23
+ cancel: () => any;
24
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
25
+ onClose?: (() => any) | undefined;
26
+ onConfirm?: (() => any) | undefined;
27
+ onCancel?: (() => any) | undefined;
28
+ }>, {
29
+ open: boolean;
30
+ size: import('../../shared/types').Sizes | "full" | "screen";
31
+ cancelText: string;
32
+ canDismiss: boolean;
33
+ confirmText: string;
34
+ confirmVariant: Variants;
35
+ showCancel: boolean;
36
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
37
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
38
+ export default _default;
39
+ type __VLS_WithTemplateSlots<T, S> = T & {
40
+ new (): {
41
+ $slots: S;
42
+ };
43
+ };
@@ -0,0 +1,58 @@
1
+ import { Sizes } from '../../shared/types';
2
+ import { Props as CardProps } from '../Card/Card.vue';
3
+ export interface ModalProps {
4
+ /**
5
+ * Controls the visibility of the modal
6
+ */
7
+ open?: boolean;
8
+ /**
9
+ * Controls the width of the modal
10
+ */
11
+ size?: Sizes | 'full' | 'screen';
12
+ /**
13
+ * Modal wraps a floating card. You can optinally pass in any props you'd pass
14
+ * into the <Card /> component.
15
+ */
16
+ card?: CardProps;
17
+ /**
18
+ * Modal will not overflow the screen, but its card's content will be scrollable instead.
19
+ */
20
+ scrollable?: boolean;
21
+ /**
22
+ * Modal appears in the center of the screen
23
+ */
24
+ centered?: boolean;
25
+ /**
26
+ * Wether modal can be closed by clicking the X button
27
+ */
28
+ canDismiss?: boolean;
29
+ }
30
+ declare function __VLS_template(): {
31
+ attrs: Partial<{}>;
32
+ slots: {
33
+ header?(_: {
34
+ close: () => void;
35
+ }): any;
36
+ default?(_: {
37
+ close: () => void;
38
+ }): any;
39
+ footer?(_: {
40
+ close: () => void;
41
+ }): any;
42
+ };
43
+ refs: {};
44
+ rootEl: any;
45
+ };
46
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
47
+ declare const __VLS_component: import('vue').DefineComponent<ModalProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
48
+ close: () => any;
49
+ }, string, import('vue').PublicProps, Readonly<ModalProps> & Readonly<{
50
+ onClose?: (() => any) | undefined;
51
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
52
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
53
+ export default _default;
54
+ type __VLS_WithTemplateSlots<T, S> = T & {
55
+ new (): {
56
+ $slots: S;
57
+ };
58
+ };
@@ -0,0 +1,44 @@
1
+ import { ModelRef, Ref } from 'vue';
2
+ export interface OtpContext {
3
+ otpValue: ModelRef<string>;
4
+ cursorIndex: Ref<number>;
5
+ redacted: Ref<boolean>;
6
+ register: () => void;
7
+ }
8
+ interface Props {
9
+ mode?: 'num' | 'char' | 'both';
10
+ redacted?: boolean;
11
+ }
12
+ type __VLS_Props = Props;
13
+ type __VLS_PublicProps = {
14
+ modelValue?: string;
15
+ } & __VLS_Props;
16
+ declare function __VLS_template(): {
17
+ attrs: Partial<{}>;
18
+ slots: {
19
+ default?(_: {}): any;
20
+ };
21
+ refs: {
22
+ inputRef: HTMLInputElement;
23
+ };
24
+ rootEl: HTMLDivElement;
25
+ };
26
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
27
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
28
+ change: (value?: string | undefined) => any;
29
+ "update:modelValue": (value: string) => any;
30
+ complete: (value: string) => any;
31
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
32
+ onChange?: ((value?: string | undefined) => any) | undefined;
33
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
34
+ onComplete?: ((value: string) => any) | undefined;
35
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
36
+ inputRef: HTMLInputElement;
37
+ }, HTMLDivElement>;
38
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
39
+ export default _default;
40
+ type __VLS_WithTemplateSlots<T, S> = T & {
41
+ new (): {
42
+ $slots: S;
43
+ };
44
+ };
@@ -0,0 +1,5 @@
1
+ interface Props {
2
+ i: number;
3
+ }
4
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
5
+ export default _default;