@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.
@@ -0,0 +1,2 @@
1
+ import { ClassValue } from 'clsx';
2
+ export declare function cn(...inputs: ClassValue[]): string;
package/package.json CHANGED
@@ -1,55 +1,64 @@
1
1
  {
2
2
  "name": "@sigtes/ui",
3
- "private": false,
4
- "version": "0.0.2",
3
+ "version": "0.0.3",
5
4
  "type": "module",
6
5
  "exports": {
7
6
  ".": {
8
- "types": "./dist/types/index.d.ts",
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/ui.css"
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 build --watch",
22
- "build": "tsc -b && vite build",
17
+ "dev": "vite",
18
+ "build": "tsc -b tsconfig.build.json && vite build",
23
19
  "lint": "eslint .",
24
- "prepare": "npm run build",
25
- "preview": "vite preview"
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
- "next": "15.5.4",
29
- "react": "^19.1.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
- "@tailwindcss/vite": "^4.1.13",
35
- "@types/node": "^24.5.2",
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-swc": "^4.1.0",
39
- "autoprefixer": "^10.4.21",
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
- "postcss": "^8.5.6",
45
- "rollup-plugin-preserve-directives": "^0.4.0",
46
- "rollup-plugin-typescript2": "^0.36.0",
47
- "tailwindcss": "^4.1.13",
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
- "vite-plugin-typed-css-modules": "^0.4.0",
53
- "vite-tsconfig-paths": "^5.1.4"
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
  }
@@ -1,7 +0,0 @@
1
- import { jsx as r } from "react/jsx-runtime";
2
- function n({ onClick: t }) {
3
- return /* @__PURE__ */ r("button", { className: "bg-amber-400 text-black", onClick: t, children: "Click" });
4
- }
5
- export {
6
- n as Button
7
- };
package/dist/index.js DELETED
@@ -1,5 +0,0 @@
1
- import { Button as m } from "./components/button.js";
2
- /* empty css */
3
- export {
4
- m as Button
5
- };
@@ -1,3 +0,0 @@
1
- export declare function Button({ onClick }: {
2
- onClick: () => void;
3
- }): import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export { Button } from './button';
@@ -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}