@vespiario-thailand/design-system 0.0.1
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 +1 -0
- package/dist/components/Button/index.d.ts +5 -0
- package/dist/components/Chip/index.d.ts +11 -0
- package/dist/components/Dialog/index.d.ts +8 -0
- package/dist/components/Icon/index.d.ts +15 -0
- package/dist/components/Label/index.d.ts +8 -0
- package/dist/components/Stack/index.d.ts +6 -0
- package/dist/components/Typo/index.d.ts +12 -0
- package/dist/constance/Button/index.d.ts +3 -0
- package/dist/constance/Icon/index.d.ts +4 -0
- package/dist/custom-theme.cjs +174 -0
- package/dist/hooks/hooks/index.ts +5 -0
- package/dist/hooks/hooks/useClickOutside.ts +33 -0
- package/dist/hooks/hooks/useIsClient.ts +13 -0
- package/dist/hooks/hooks/useIsMounted.ts +17 -0
- package/dist/hooks/hooks/useIsomorphicLayoutEffect.ts +5 -0
- package/dist/hooks/hooks/useMergeRefs.ts +15 -0
- package/dist/hooks/index.d.ts +5 -0
- package/dist/hooks/useClickOutside.d.ts +5 -0
- package/dist/hooks/useIsClient.d.ts +2 -0
- package/dist/hooks/useIsMounted.d.ts +2 -0
- package/dist/hooks/useIsomorphicLayoutEffect.d.ts +3 -0
- package/dist/hooks/useMergeRefs.d.ts +3 -0
- package/dist/index.d.ts +19 -0
- package/dist/main.d.ts +1 -0
- package/dist/style.css +1 -0
- package/dist/types/Button/index.d.ts +35 -0
- package/dist/types/Icon/index.d.ts +11 -0
- package/dist/types/Typo/index.d.ts +27 -0
- package/dist/vespa-design-system.cjs +240 -0
- package/dist/vespa-design-system.js +21779 -0
- package/dist/vespa-design-system.umd.cjs +240 -0
- package/dist/vite-env.d.ts +1 -0
- package/package.json +86 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/// <reference types="vite/client" />
|
package/package.json
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@vespiario-thailand/design-system",
|
|
3
|
+
"author": "Craftsmanship",
|
|
4
|
+
"license": "UNLICENSED",
|
|
5
|
+
"version": "0.0.1",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"files": [
|
|
8
|
+
"dist"
|
|
9
|
+
],
|
|
10
|
+
"main": "./dist/vespa-design-system.umd.cjs",
|
|
11
|
+
"module": "./dist/vespa-design-system.js",
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"scripts": {
|
|
14
|
+
"dev": "vite",
|
|
15
|
+
"optimize": "vite optimize",
|
|
16
|
+
"build:clean": "rimraf dist",
|
|
17
|
+
"build:tsc": "tsc",
|
|
18
|
+
"build:vite": "vite build --minify",
|
|
19
|
+
"build:css": "tailwindcss build -i ./src/style.css -o ./dist/style.css --minify",
|
|
20
|
+
"build": "npm-run-all build:clean build:vite build:tsc build:css",
|
|
21
|
+
"storybook": "start-storybook -p 6006",
|
|
22
|
+
"build-storybook": "build-storybook",
|
|
23
|
+
"build-storybook-docs": "build-storybook --docs"
|
|
24
|
+
},
|
|
25
|
+
"exports": {
|
|
26
|
+
".": {
|
|
27
|
+
"types": "./dist/index.d.ts",
|
|
28
|
+
"import": "./dist/vespa-design-system.js",
|
|
29
|
+
"require": "./dist/vespa-design-system.umd.cjs"
|
|
30
|
+
},
|
|
31
|
+
"./custom-theme.cjs": "./dist/custom-theme.cjs",
|
|
32
|
+
"./style.css": "./dist/style.css",
|
|
33
|
+
"./dist/hooks": "./dist/hooks"
|
|
34
|
+
},
|
|
35
|
+
"dependencies": {
|
|
36
|
+
"@radix-ui/react-dialog": "^1.0.2",
|
|
37
|
+
"@radix-ui/react-popover": "^1.0.3",
|
|
38
|
+
"@radix-ui/react-tooltip": "^1.0.3",
|
|
39
|
+
"classnames": "^2.3.2",
|
|
40
|
+
"react": "^18.2.0",
|
|
41
|
+
"react-dom": "^18.2.0",
|
|
42
|
+
"vite-plugin-static-copy": "^0.13.0"
|
|
43
|
+
},
|
|
44
|
+
"devDependencies": {
|
|
45
|
+
"@babel/core": "^7.20.12",
|
|
46
|
+
"@storybook/addon-a11y": "^6.5.16",
|
|
47
|
+
"@storybook/addon-actions": "^6.5.16",
|
|
48
|
+
"@storybook/addon-docs": "^6.5.16",
|
|
49
|
+
"@storybook/addon-essentials": "^6.5.16",
|
|
50
|
+
"@storybook/addon-interactions": "^6.5.16",
|
|
51
|
+
"@storybook/addon-links": "^6.5.16",
|
|
52
|
+
"@storybook/builder-vite": "^0.3.0",
|
|
53
|
+
"@storybook/react": "^6.5.16",
|
|
54
|
+
"@storybook/testing-library": "^0.0.13",
|
|
55
|
+
"@types/lodash": "^4.14.191",
|
|
56
|
+
"@types/node": "^18.13.0",
|
|
57
|
+
"@types/react": "^18.0.26",
|
|
58
|
+
"@types/react-dom": "^18.0.9",
|
|
59
|
+
"@vitejs/plugin-react": "^3.0.0",
|
|
60
|
+
"autoprefixer": "^10.4.13",
|
|
61
|
+
"babel-loader": "^8.3.0",
|
|
62
|
+
"cssnano": "^5.1.15",
|
|
63
|
+
"npm-run-all": "^4.1.5",
|
|
64
|
+
"postcss": "^8.4.21",
|
|
65
|
+
"postcss-cli": "^10.1.0",
|
|
66
|
+
"rimraf": "^4.3.1",
|
|
67
|
+
"tailwindcss": "^3.2.7",
|
|
68
|
+
"terser": "^5.16.5",
|
|
69
|
+
"typescript": "^4.9.5",
|
|
70
|
+
"vite": "^4.1.0",
|
|
71
|
+
"vite-plugin-dts": "^2.0.0-beta.0",
|
|
72
|
+
"vite-tsconfig-paths": "^4.0.5"
|
|
73
|
+
},
|
|
74
|
+
"description": "",
|
|
75
|
+
"repository": {
|
|
76
|
+
"type": "git",
|
|
77
|
+
"url": "git+https://github.com/VespiarioThailand/vespa-design-system.git"
|
|
78
|
+
},
|
|
79
|
+
"keywords": [
|
|
80
|
+
"vespa"
|
|
81
|
+
],
|
|
82
|
+
"bugs": {
|
|
83
|
+
"url": "https://github.com/VespiarioThailand/vespa-design-system/issues"
|
|
84
|
+
},
|
|
85
|
+
"homepage": "https://github.com/VespiarioThailand/vespa-design-system#readme"
|
|
86
|
+
}
|