@quidgest/ui 0.0.7
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 +66 -0
- package/dist/ui.esm.js +1326 -0
- package/dist/ui.esm.js.map +1 -0
- package/dist/ui.js +4 -0
- package/dist/ui.js.map +1 -0
- package/dist/ui.min.js +276 -0
- package/dist/ui.min.js.map +1 -0
- package/lib/components/QButton/QButton.vue.d.ts +118 -0
- package/lib/components/QButton/QButton.vue.d.ts.map +1 -0
- package/lib/components/QButton/index.d.ts +3 -0
- package/lib/components/QButton/index.d.ts.map +1 -0
- package/lib/components/QButtonGroup/QButtonGroup.vue.d.ts +36 -0
- package/lib/components/QButtonGroup/QButtonGroup.vue.d.ts.map +1 -0
- package/lib/components/QButtonGroup/index.d.ts +3 -0
- package/lib/components/QButtonGroup/index.d.ts.map +1 -0
- package/lib/components/QButtonToggle/QButtonToggle.vue.d.ts +57 -0
- package/lib/components/QButtonToggle/QButtonToggle.vue.d.ts.map +1 -0
- package/lib/components/QButtonToggle/index.d.ts +3 -0
- package/lib/components/QButtonToggle/index.d.ts.map +1 -0
- package/lib/components/QLineLoader/QLineLoader.vue.d.ts +3 -0
- package/lib/components/QLineLoader/QLineLoader.vue.d.ts.map +1 -0
- package/lib/components/QLineLoader/index.d.ts +3 -0
- package/lib/components/QLineLoader/index.d.ts.map +1 -0
- package/lib/components/QOverlay/QOverlay.vue.d.ts +116 -0
- package/lib/components/QOverlay/QOverlay.vue.d.ts.map +1 -0
- package/lib/components/QOverlay/index.d.ts +3 -0
- package/lib/components/QOverlay/index.d.ts.map +1 -0
- package/lib/components/QPopover/QPopover.vue.d.ts +88 -0
- package/lib/components/QPopover/QPopover.vue.d.ts.map +1 -0
- package/lib/components/QPopover/index.d.ts +3 -0
- package/lib/components/QPopover/index.d.ts.map +1 -0
- package/lib/components/QSpinnerLoader/QSpinnerLoader.vue.d.ts +15 -0
- package/lib/components/QSpinnerLoader/QSpinnerLoader.vue.d.ts.map +1 -0
- package/lib/components/QSpinnerLoader/index.d.ts +3 -0
- package/lib/components/QSpinnerLoader/index.d.ts.map +1 -0
- package/lib/components/QTooltip/QTooltip.vue.d.ts +99 -0
- package/lib/components/QTooltip/QTooltip.vue.d.ts.map +1 -0
- package/lib/components/QTooltip/index.d.ts +3 -0
- package/lib/components/QTooltip/index.d.ts.map +1 -0
- package/lib/components/index.d.ts +9 -0
- package/lib/components/index.d.ts.map +1 -0
- package/lib/composables/defaults.d.ts +5 -0
- package/lib/composables/defaults.d.ts.map +1 -0
- package/lib/composables/overlay.d.ts +13 -0
- package/lib/composables/overlay.d.ts.map +1 -0
- package/lib/composables/theme.d.ts +35 -0
- package/lib/composables/theme.d.ts.map +1 -0
- package/lib/framework.d.ts +7 -0
- package/lib/framework.d.ts.map +1 -0
- package/lib/index.d.ts +4 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/styles/ui.css +720 -0
- package/lib/styles/ui.min.css +1 -0
- package/lib/styles/ui.scss +710 -0
- package/lib/utils/defineComponent.d.ts +4 -0
- package/lib/utils/defineComponent.d.ts.map +1 -0
- package/lib/utils/getCurrentInstance.d.ts +2 -0
- package/lib/utils/getCurrentInstance.d.ts.map +1 -0
- package/lib/utils/getElement.d.ts +7 -0
- package/lib/utils/getElement.d.ts.map +1 -0
- package/lib/utils/getUid.d.ts +5 -0
- package/lib/utils/getUid.d.ts.map +1 -0
- package/package.json +108 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defineComponent.d.ts","sourceRoot":"","sources":["../../src/utils/defineComponent.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,KAAK,EAA6B,MAAM,KAAK,CAAA;AAIxE,wBAAgB,aAAa,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,WAEvD;AAED,wBAAgB,eAAe,CAAC,SAAS,EAAE,gBAAgB,oBA+B1D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCurrentInstance.d.ts","sourceRoot":"","sources":["../../src/utils/getCurrentInstance.ts"],"names":[],"mappings":"AAGA,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,2CAUhE"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ComponentPublicInstance } from 'vue';
|
|
2
|
+
export type Selector = string | Element | ComponentPublicInstance;
|
|
3
|
+
/**
|
|
4
|
+
* Gets a DOM element based on the provided selector.
|
|
5
|
+
*/
|
|
6
|
+
export declare function getElement(selector: Selector): Element | null;
|
|
7
|
+
//# sourceMappingURL=getElement.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getElement.d.ts","sourceRoot":"","sources":["../../src/utils/getElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAA;AAE7C,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,OAAO,GAAG,uBAAuB,CAAA;AAEjE;;GAEG;AACH,wBAAgB,UAAU,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,GAAG,IAAI,CAU7D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getUid.d.ts","sourceRoot":"","sources":["../../src/utils/getUid.ts"],"names":[],"mappings":"AASA,wBAAgB,MAAM,IAAI,MAAM,CAS/B;yBATe,MAAM"}
|
package/package.json
ADDED
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@quidgest/ui",
|
|
3
|
+
"private": false,
|
|
4
|
+
"description": "Quidgest UI kit",
|
|
5
|
+
"version": "0.0.7",
|
|
6
|
+
"author": {
|
|
7
|
+
"name": "Quidgest"
|
|
8
|
+
},
|
|
9
|
+
"main": "dist/ui.js",
|
|
10
|
+
"module": "dist/ui.esm.js",
|
|
11
|
+
"jsdelivr": "dist/ui.js",
|
|
12
|
+
"unpkg": "dist/ui.js",
|
|
13
|
+
"types": "lib/index.d.ts",
|
|
14
|
+
"sass": "lib/styles/ui.scss",
|
|
15
|
+
"style": "lib/styles/ui.css",
|
|
16
|
+
"sideEffects": [
|
|
17
|
+
"*.sass",
|
|
18
|
+
"*.scss",
|
|
19
|
+
"*.css",
|
|
20
|
+
"*.vue"
|
|
21
|
+
],
|
|
22
|
+
"files": [
|
|
23
|
+
"dist",
|
|
24
|
+
"lib"
|
|
25
|
+
],
|
|
26
|
+
"exports": {
|
|
27
|
+
".": {
|
|
28
|
+
"sass": "./lib/styles/ui.scss",
|
|
29
|
+
"style": "./dist/ui.css",
|
|
30
|
+
"types": "./lib/index.d.ts",
|
|
31
|
+
"default": "./dist/ui.js"
|
|
32
|
+
},
|
|
33
|
+
"./styles": {
|
|
34
|
+
"sass": "./lib/styles/ui.scss",
|
|
35
|
+
"default": "./dist/ui.css"
|
|
36
|
+
},
|
|
37
|
+
"./styles/*": "./lib/styles/*",
|
|
38
|
+
"./*": "./*"
|
|
39
|
+
},
|
|
40
|
+
"dependencies": {
|
|
41
|
+
"lodash-es": "^4.17.21"
|
|
42
|
+
},
|
|
43
|
+
"devDependencies": {
|
|
44
|
+
"@rollup/plugin-alias": "^5.0.1",
|
|
45
|
+
"@rollup/plugin-node-resolve": "^15.2.2",
|
|
46
|
+
"@rollup/plugin-terser": "^0.4.4",
|
|
47
|
+
"@storybook/addon-essentials": "7.4.6",
|
|
48
|
+
"@storybook/addon-interactions": "7.4.6",
|
|
49
|
+
"@storybook/addon-links": "7.4.6",
|
|
50
|
+
"@storybook/blocks": "7.4.6",
|
|
51
|
+
"@storybook/manager-api": "^7.4.6",
|
|
52
|
+
"@storybook/testing-library": "0.2.2",
|
|
53
|
+
"@storybook/theming": "^7.4.6",
|
|
54
|
+
"@storybook/vue3": "7.4.6",
|
|
55
|
+
"@storybook/vue3-vite": "7.4.6",
|
|
56
|
+
"@types/lodash-es": "^4.17.9",
|
|
57
|
+
"@types/node": "^20.8.2",
|
|
58
|
+
"@typescript-eslint/eslint-plugin": "^6.7.4",
|
|
59
|
+
"@typescript-eslint/parser": "^6.7.4",
|
|
60
|
+
"@vitejs/plugin-vue": "^4.4.0",
|
|
61
|
+
"@vitest/coverage-v8": "^0.34.6",
|
|
62
|
+
"@vitest/ui": "^0.34.6",
|
|
63
|
+
"@vue/eslint-config-typescript": "^12.0.0",
|
|
64
|
+
"@vue/test-utils": "^2.4.1",
|
|
65
|
+
"autoprefixer": "^10.4.16",
|
|
66
|
+
"cssnano": "^6.0.1",
|
|
67
|
+
"eslint": "^8.50.0",
|
|
68
|
+
"eslint-config-prettier": "^9.0.0",
|
|
69
|
+
"eslint-plugin-prettier": "^5.0.0",
|
|
70
|
+
"eslint-plugin-storybook": "^0.6.14",
|
|
71
|
+
"eslint-plugin-vue": "^9.17.0",
|
|
72
|
+
"happy-dom": "^12.9.0",
|
|
73
|
+
"postcss": "^8.4.31",
|
|
74
|
+
"prettier": "^3.0.3",
|
|
75
|
+
"react": "18.2.0",
|
|
76
|
+
"react-dom": "18.2.0",
|
|
77
|
+
"rimraf": "^5.0.5",
|
|
78
|
+
"sass": "^1.69.0",
|
|
79
|
+
"storybook": "7.4.6",
|
|
80
|
+
"typescript": "^5.2.2",
|
|
81
|
+
"vite": "^4.4.11",
|
|
82
|
+
"vitest": "^0.34.6",
|
|
83
|
+
"vue-eslint-parser": "^9.3.1",
|
|
84
|
+
"vue-tsc": "^1.8.15"
|
|
85
|
+
},
|
|
86
|
+
"peerDependencies": {
|
|
87
|
+
"vue": "^3.2.47"
|
|
88
|
+
},
|
|
89
|
+
"eslintConfig": {
|
|
90
|
+
"extends": [
|
|
91
|
+
"plugin:storybook/recommended"
|
|
92
|
+
]
|
|
93
|
+
},
|
|
94
|
+
"scripts": {
|
|
95
|
+
"clean": "rimraf dist lib",
|
|
96
|
+
"build": "pnpm clean && pnpm build:dist && pnpm build:lib && pnpm build:types",
|
|
97
|
+
"build:dist": "vite build",
|
|
98
|
+
"build:lib": "node build/css.mjs",
|
|
99
|
+
"build:types": "vue-tsc --pretty --emitDeclarationOnly -p tsconfig.dist.json",
|
|
100
|
+
"format": "prettier . --write",
|
|
101
|
+
"lint": "eslint src --ext .ts,.vue --fix",
|
|
102
|
+
"test": "vitest",
|
|
103
|
+
"test:ui": "vitest --ui",
|
|
104
|
+
"test:coverage": "vitest run --coverage",
|
|
105
|
+
"storybook": "storybook dev -p 6006",
|
|
106
|
+
"build:storybook": "storybook build"
|
|
107
|
+
}
|
|
108
|
+
}
|