@diyet24/design-system 0.1.0 → 0.1.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/package.json CHANGED
@@ -1,53 +1,43 @@
1
1
  {
2
2
  "name": "@diyet24/design-system",
3
- "version": "0.1.0",
4
- "description": "Diyet24 Design System - React components with Tailwind CSS",
5
- "type": "module",
6
- "main": "./dist/index.cjs",
7
- "module": "./dist/index.js",
8
- "types": "./dist/index.d.ts",
9
- "sideEffects": [
10
- "**/*.css"
11
- ],
3
+ "version": "0.1.1",
4
+ "description": "A React UI component library built with shadcn/ui and TypeScript",
5
+ "main": "dist/index.js",
6
+ "module": "dist/index.mjs",
7
+ "types": "dist/index.d.ts",
12
8
  "exports": {
13
9
  ".": {
14
10
  "types": "./dist/index.d.ts",
15
- "import": "./dist/index.js",
16
- "require": "./dist/index.cjs"
17
- },
18
- "./tailwind": {
19
- "types": "./dist/tailwind/index.d.ts",
20
- "import": "./dist/tailwind/index.js",
21
- "require": "./dist/tailwind/index.cjs"
11
+ "import": "./dist/index.mjs",
12
+ "require": "./dist/index.js"
22
13
  },
23
- "./styles.css": "./dist/styles.css",
24
14
  "./styles": "./dist/styles.css"
25
15
  },
26
16
  "files": [
27
- "dist"
17
+ "dist",
18
+ "README.md"
28
19
  ],
29
20
  "scripts": {
30
- "dev": "storybook dev -p 6006",
31
- "build": "tsup && cp ./src/styles/index.css ./dist/styles.css",
32
- "build:storybook": "storybook build",
33
- "lint": "eslint . --ext .ts,.tsx",
34
- "format": "prettier --write \"src/**/*.{ts,tsx,css}\"",
35
- "typecheck": "tsc --noEmit",
36
- "prepublishOnly": "npm run build"
21
+ "build": "tsup",
22
+ "dev": "tsup --watch",
23
+ "clean": "rm -rf dist",
24
+ "type-check": "tsc --noEmit",
25
+ "lint": "eslint src --ext .ts,.tsx",
26
+ "lint:fix": "eslint src --ext .ts,.tsx --fix"
37
27
  },
38
28
  "peerDependencies": {
39
- "react": "^18.0.0 || ^19.0.0",
40
- "react-dom": "^18.0.0 || ^19.0.0"
29
+ "react": ">=18.0.0",
30
+ "react-dom": ">=18.0.0"
41
31
  },
42
- "devDependencies": {
43
- "@hookform/resolvers": "^3.10.0",
32
+ "dependencies": {
33
+ "@hookform/resolvers": "^5.2.2",
44
34
  "@radix-ui/react-accordion": "^1.2.1",
45
35
  "@radix-ui/react-alert-dialog": "^1.1.2",
46
36
  "@radix-ui/react-aspect-ratio": "^1.1.0",
47
37
  "@radix-ui/react-avatar": "^1.1.1",
48
38
  "@radix-ui/react-checkbox": "^1.1.2",
49
39
  "@radix-ui/react-collapsible": "^1.1.1",
50
- "@radix-ui/react-context-menu": "^2.2.2",
40
+ "@radix-ui/react-context-menu": "^2.2.16",
51
41
  "@radix-ui/react-dialog": "^1.1.2",
52
42
  "@radix-ui/react-dropdown-menu": "^2.1.2",
53
43
  "@radix-ui/react-hover-card": "^1.1.2",
@@ -64,82 +54,54 @@
64
54
  "@radix-ui/react-slot": "^1.1.0",
65
55
  "@radix-ui/react-switch": "^1.1.1",
66
56
  "@radix-ui/react-tabs": "^1.1.1",
57
+ "@radix-ui/react-toast": "^1.2.2",
67
58
  "@radix-ui/react-toggle": "^1.1.0",
68
59
  "@radix-ui/react-toggle-group": "^1.1.0",
69
60
  "@radix-ui/react-tooltip": "^1.1.3",
70
- "@storybook/addon-a11y": "^10.1.10",
71
- "@storybook/addon-docs": "^10.1.10",
72
- "@storybook/addon-links": "^10.1.10",
73
- "@storybook/addon-themes": "^10.1.10",
74
- "@storybook/addon-vitest": "^10.1.10",
75
- "@storybook/react": "^10.1.10",
76
- "@storybook/react-vite": "^10.1.10",
77
- "@tailwindcss/postcss": "^4.0.0",
78
- "@tailwindcss/vite": "^4.0.0",
79
- "@tanstack/react-table": "^8.20.5",
80
- "@types/node": "^25.0.3",
81
- "@types/react": "^18.3.0",
82
- "@types/react-dom": "^18.3.0",
83
- "@typescript-eslint/eslint-plugin": "^8.0.0",
84
- "@typescript-eslint/parser": "^8.0.0",
85
- "@vitejs/plugin-react": "^4.3.0",
86
- "autoprefixer": "^10.4.20",
87
- "class-variance-authority": "^0.7.0",
61
+ "class-variance-authority": "^0.7.1",
88
62
  "clsx": "^2.1.1",
89
- "cmdk": "^1.0.0",
90
- "date-fns": "^3.6.0",
91
- "embla-carousel-react": "^8.3.0",
92
- "eslint": "^9.0.0",
93
- "eslint-plugin-react": "^7.35.0",
63
+ "cmdk": "^1.1.1",
64
+ "date-fns": "^4.1.0",
65
+ "embla-carousel-react": "^8.6.0",
66
+ "input-otp": "^1.4.2",
67
+ "lucide-react": "^0.461.0",
68
+ "next-themes": "^0.4.6",
69
+ "react-day-picker": "^9.13.0",
70
+ "react-hook-form": "^7.69.0",
71
+ "react-resizable-panels": "^4.0.15",
72
+ "recharts": "2.15.4",
73
+ "sonner": "^2.0.7",
74
+ "tailwind-merge": "^2.5.4",
75
+ "tailwindcss-animate": "^1.0.7",
76
+ "vaul": "^1.1.2",
77
+ "zod": "^4.2.1"
78
+ },
79
+ "devDependencies": {
80
+ "@types/react": "^18.3.12",
81
+ "@types/react-dom": "^18.3.1",
82
+ "@typescript-eslint/eslint-plugin": "^8.15.0",
83
+ "@typescript-eslint/parser": "^8.15.0",
84
+ "autoprefixer": "^10.4.20",
85
+ "eslint": "^9.15.0",
86
+ "eslint-plugin-react": "^7.37.2",
94
87
  "eslint-plugin-react-hooks": "^5.0.0",
95
- "input-otp": "^1.2.4",
96
- "lucide-react": "^0.460.0",
97
- "next-themes": "^0.4.4",
98
- "nuqs": "^2.2.3",
99
- "prettier": "^3.3.0",
100
- "react": "^18.3.1",
101
- "react-day-picker": "^8.10.1",
102
- "react-dom": "^18.3.1",
103
- "react-hook-form": "^7.54.0",
104
- "react-resizable-panels": "^2.1.7",
105
- "recharts": "^2.13.3",
106
- "sonner": "^1.7.3",
107
- "storybook": "^10.1.10",
108
- "tailwind-merge": "^2.5.0",
109
- "tailwindcss": "^4.0.0",
110
- "tsup": "^8.3.0",
111
- "typescript": "^5.6.0",
112
- "vaul": "^1.1.1",
113
- "vite": "^6.0.0",
114
- "zod": "^3.24.1",
115
- "vitest": "^4.0.16",
116
- "playwright": "^1.57.0",
117
- "@vitest/browser-playwright": "^4.0.16",
118
- "@vitest/coverage-v8": "^4.0.16"
88
+ "postcss": "^8.5.0",
89
+ "tailwindcss": "^3.4.14",
90
+ "tsup": "^8.3.5",
91
+ "typescript": "^5.6.3"
119
92
  },
120
93
  "keywords": [
121
- "design-system",
122
94
  "react",
123
- "nextjs",
124
- "next.js",
125
- "app-router",
126
- "server-components",
127
- "rsc",
128
- "tailwindcss",
129
- "components",
130
95
  "ui",
96
+ "components",
97
+ "design-system",
131
98
  "shadcn",
132
- "radix-ui",
133
- "typescript",
134
- "diyet24"
99
+ "tailwindcss",
100
+ "typescript"
135
101
  ],
136
- "author": "Diyet24",
137
- "license": "MIT",
138
102
  "repository": {
139
103
  "type": "git",
140
- "url": "https://github.com/diyet24/design-system"
104
+ "url": "https://github.com/diyet24/design-system.git"
141
105
  },
142
- "publishConfig": {
143
- "access": "public"
144
- }
106
+ "license": "MIT"
145
107
  }