@sigtes/ui 0.0.2 → 0.0.3
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 -73
- package/dist/components/button/Button.d.ts +10 -0
- package/dist/components/button/index.d.ts +1 -0
- package/dist/globals.css +1 -0
- package/dist/index.cjs.js +22 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +3161 -0
- package/dist/utils/utils.d.ts +2 -0
- package/package.json +35 -26
- package/dist/components/button.js +0 -7
- package/dist/index.js +0 -5
- package/dist/types/components/button.d.ts +0 -3
- package/dist/types/components/index.d.ts +0 -1
- package/dist/types/index.d.ts +0 -1
- package/dist/ui.css +0 -1
package/package.json
CHANGED
@@ -1,55 +1,64 @@
|
|
1
1
|
{
|
2
2
|
"name": "@sigtes/ui",
|
3
|
-
"
|
4
|
-
"version": "0.0.2",
|
3
|
+
"version": "0.0.3",
|
5
4
|
"type": "module",
|
6
5
|
"exports": {
|
7
6
|
".": {
|
8
|
-
"types": "./dist/
|
9
|
-
"import": "./dist/src/index.js",
|
10
|
-
"require": "./dist/src/index.cjs"
|
7
|
+
"types": "./dist/index.d.ts",
|
8
|
+
"import": "./dist/src/index.es.js",
|
9
|
+
"require": "./dist/src/index.cjs.js"
|
11
10
|
},
|
12
|
-
"./styles.css": "./dist/
|
11
|
+
"./styles.css": "./dist/globals.css"
|
13
12
|
},
|
14
13
|
"files": [
|
15
14
|
"dist"
|
16
15
|
],
|
17
|
-
"publishConfig": {
|
18
|
-
"access": "public"
|
19
|
-
},
|
20
16
|
"scripts": {
|
21
|
-
"dev": "vite
|
22
|
-
"build": "tsc -b && vite build",
|
17
|
+
"dev": "vite",
|
18
|
+
"build": "tsc -b tsconfig.build.json && vite build",
|
23
19
|
"lint": "eslint .",
|
24
|
-
"
|
25
|
-
"
|
20
|
+
"preview": "vite preview",
|
21
|
+
"storybook": "storybook dev -p 6006",
|
22
|
+
"build-storybook": "storybook build",
|
23
|
+
"prepublicshOnly": "npm run build"
|
26
24
|
},
|
27
25
|
"peerDependencies": {
|
28
|
-
"
|
29
|
-
"react": "^19.1.
|
30
|
-
"react-dom": "^19.1.1"
|
26
|
+
"react": "^19.1.0",
|
27
|
+
"react-dom": "^19.1.0"
|
31
28
|
},
|
32
29
|
"devDependencies": {
|
30
|
+
"@chromatic-com/storybook": "^4.1.1",
|
33
31
|
"@eslint/js": "^9.36.0",
|
34
|
-
"@
|
35
|
-
"@
|
32
|
+
"@storybook/addon-a11y": "^9.1.10",
|
33
|
+
"@storybook/addon-docs": "^9.1.10",
|
34
|
+
"@storybook/addon-onboarding": "^9.1.10",
|
35
|
+
"@storybook/addon-vitest": "^9.1.10",
|
36
|
+
"@storybook/react-vite": "^9.1.10",
|
37
|
+
"@types/node": "^24.6.1",
|
36
38
|
"@types/react": "^19.1.13",
|
37
39
|
"@types/react-dom": "^19.1.9",
|
38
|
-
"@vitejs/plugin-react
|
39
|
-
"
|
40
|
+
"@vitejs/plugin-react": "^5.0.3",
|
41
|
+
"@vitest/browser": "^3.2.4",
|
42
|
+
"@vitest/coverage-v8": "^3.2.4",
|
40
43
|
"eslint": "^9.36.0",
|
41
44
|
"eslint-plugin-react-hooks": "^5.2.0",
|
42
45
|
"eslint-plugin-react-refresh": "^0.4.20",
|
46
|
+
"eslint-plugin-storybook": "^9.1.10",
|
43
47
|
"globals": "^16.4.0",
|
44
|
-
"
|
45
|
-
"rollup-
|
46
|
-
"
|
47
|
-
"
|
48
|
+
"playwright": "^1.55.1",
|
49
|
+
"rollup-preserve-directives": "^1.1.3",
|
50
|
+
"storybook": "^9.1.10",
|
51
|
+
"tw-animate-css": "^1.4.0",
|
48
52
|
"typescript": "~5.8.3",
|
49
53
|
"typescript-eslint": "^8.44.0",
|
50
54
|
"vite": "^7.1.7",
|
51
55
|
"vite-plugin-dts": "^4.5.4",
|
52
|
-
"
|
53
|
-
|
56
|
+
"vitest": "^3.2.4"
|
57
|
+
},
|
58
|
+
"dependencies": {
|
59
|
+
"@radix-ui/react-slot": "^1.2.3",
|
60
|
+
"@tailwindcss/vite": "^4.1.13",
|
61
|
+
"class-variance-authority": "^0.7.1",
|
62
|
+
"tailwind-merge": "^3.3.1"
|
54
63
|
}
|
55
64
|
}
|
package/dist/index.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export { Button } from './button';
|
package/dist/types/index.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export { Button } from './components/index';
|
package/dist/ui.css
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
#root{max-width:1280px;margin:0 auto;padding:2rem;text-align:center}.logo{height:6em;padding:1.5em;will-change:filter;transition:filter .3s}.logo:hover{filter:drop-shadow(0 0 2em #646cffaa)}.logo.react:hover{filter:drop-shadow(0 0 2em #61dafbaa)}@keyframes logo-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (prefers-reduced-motion: no-preference){a:nth-of-type(2) .logo{animation:logo-spin infinite 20s linear}}.card{padding:2em}.read-the-docs{color:#888}
|