modular-ui-kit-vue 1.0.0 → 1.0.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 (2) hide show
  1. package/dist/index.d.ts +44 -0
  2. package/package.json +3 -2
@@ -0,0 +1,44 @@
1
+ declare module 'modular-ui-kit-vue' {
2
+ import { DefineComponent } from 'vue'
3
+
4
+ /* FORM ELEMENTS */
5
+ export const BaseCheckbox: DefineComponent<{}, {}, any>
6
+ export const BaseInput: DefineComponent<{}, {}, any>
7
+ export const BaseRadio: DefineComponent<{}, {}, any>
8
+ export const BaseSelect: DefineComponent<{}, {}, any>
9
+ export const BaseTextarea: DefineComponent<{}, {}, any>
10
+
11
+ /* BUTTONS */
12
+ export const BaseButton: DefineComponent<{}, {}, any>
13
+ export const BaseIconButton: DefineComponent<{}, {}, any>
14
+
15
+ /* FEEDBACK */
16
+ export const BaseSkeleton: DefineComponent<{}, {}, any>
17
+ export const BaseToast: DefineComponent<{}, {}, any>
18
+ export const BaseToastContainer: DefineComponent<{}, {}, any>
19
+ export const useToast: () => any
20
+ export const EmptyState: DefineComponent<{}, {}, any>
21
+ export const ErrorState: DefineComponent<{}, {}, any>
22
+
23
+ /* NAVIGATIONS */
24
+ export const BaseBreadcrumbs: DefineComponent<{}, {}, any>
25
+ export const BasePagination: DefineComponent<{}, {}, any>
26
+
27
+ /* OVERLAYS */
28
+ export const BaseModal: DefineComponent<{}, {}, any>
29
+
30
+ /* TYPOGRAPHY */
31
+ export const BaseText: DefineComponent<{}, {}, any>
32
+
33
+ /* TYPES */
34
+ export type UIVariant = 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | string
35
+ export type UISize = 'sm' | 'md' | 'lg' | string
36
+ export type UITextType = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'span'
37
+ export type UITextAlign = 'left' | 'center' | 'right'
38
+ export type UITextVariant = UIVariant
39
+ export type UIButtonVariant = UIVariant
40
+ export type UIButtonType = 'button' | 'submit' | 'reset'
41
+ export type UIEmptyStateVariant = UIVariant
42
+ export type UIInputType = 'text' | 'password' | 'email' | 'number' | 'tel' | 'url'
43
+ export type UISkeletonType = 'text' | 'avatar' | 'card' | 'custom'
44
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "modular-ui-kit-vue",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "author": "vitinschii.eugenia@gmail.com",
5
5
  "description": "A modular, lightweight UI kit built with Vue 3, Pinia, and TypeScript.",
6
6
  "type": "module",
@@ -20,7 +20,7 @@
20
20
  ],
21
21
  "scripts": {
22
22
  "dev": "vite",
23
- "build": "run-p type-check \"build-only {@}\" --",
23
+ "build": "vite build && cp src/index.d.ts dist/index.d.ts",
24
24
  "preview": "vite preview",
25
25
  "build-only": "vite build",
26
26
  "type-check": "vue-tsc --build",
@@ -54,6 +54,7 @@
54
54
  "sass": "^1.101.0",
55
55
  "typescript": "~6.0.0",
56
56
  "vite": "^8.0.16",
57
+ "vite-plugin-dts": "^5.0.3",
57
58
  "vite-plugin-vue-devtools": "^8.1.2",
58
59
  "vue-eslint-parser": "^10.4.1",
59
60
  "vue-tsc": "^3.3.5"