@journal-ds/react 1.0.0
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/LICENSE +21 -0
- package/README.md +108 -0
- package/dist/index.cjs +3913 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +420 -0
- package/dist/index.d.ts +420 -0
- package/dist/index.js +3636 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/utils.cjs +13 -0
- package/dist/lib/utils.cjs.map +1 -0
- package/dist/lib/utils.d.cts +5 -0
- package/dist/lib/utils.d.ts +5 -0
- package/dist/lib/utils.js +11 -0
- package/dist/lib/utils.js.map +1 -0
- package/package.json +125 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/lib/utils.ts"],"names":[],"mappings":";;;;AAGO,SAAS,MAAM,MAAA,EAAsB;AAC1C,EAAA,OAAO,OAAA,CAAQ,IAAA,CAAK,MAAM,CAAC,CAAA;AAC7B","file":"utils.js","sourcesContent":["import { clsx, type ClassValue } from \"clsx\"\nimport { twMerge } from \"tailwind-merge\"\n\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs))\n}\n"]}
|
package/package.json
ADDED
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@journal-ds/react",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "A warm, editorial journal-style component library for Tailwind CSS. Built on Radix UI primitives. Open source. Copy and paste into your apps.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "./dist/index.cjs",
|
|
8
|
+
"module": "./dist/index.js",
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"import": "./dist/index.js",
|
|
14
|
+
"require": "./dist/index.cjs"
|
|
15
|
+
},
|
|
16
|
+
"./styles": "./dist/styles/globals.css",
|
|
17
|
+
"./components/*": {
|
|
18
|
+
"types": "./dist/components/*.d.ts",
|
|
19
|
+
"import": "./dist/components/*.js",
|
|
20
|
+
"require": "./dist/components/*.cjs"
|
|
21
|
+
},
|
|
22
|
+
"./lib/utils": {
|
|
23
|
+
"types": "./dist/lib/utils.d.ts",
|
|
24
|
+
"import": "./dist/lib/utils.js",
|
|
25
|
+
"require": "./dist/lib/utils.cjs"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"files": [
|
|
29
|
+
"dist",
|
|
30
|
+
"README.md",
|
|
31
|
+
"LICENSE"
|
|
32
|
+
],
|
|
33
|
+
"sideEffects": [
|
|
34
|
+
"**/*.css"
|
|
35
|
+
],
|
|
36
|
+
"scripts": {
|
|
37
|
+
"build": "tsup",
|
|
38
|
+
"dev": "tsup --watch",
|
|
39
|
+
"lint": "eslint src --ext .ts,.tsx",
|
|
40
|
+
"typecheck": "tsc --noEmit",
|
|
41
|
+
"prepublishOnly": "bun run build"
|
|
42
|
+
},
|
|
43
|
+
"peerDependencies": {
|
|
44
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
45
|
+
"react-dom": "^18.0.0 || ^19.0.0",
|
|
46
|
+
"react-hook-form": "^7.0.0"
|
|
47
|
+
},
|
|
48
|
+
"peerDependenciesMeta": {
|
|
49
|
+
"react-hook-form": {
|
|
50
|
+
"optional": true
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"dependencies": {
|
|
54
|
+
"@radix-ui/react-accordion": "^1.2.11",
|
|
55
|
+
"@radix-ui/react-alert-dialog": "^1.1.14",
|
|
56
|
+
"@radix-ui/react-aspect-ratio": "^1.1.7",
|
|
57
|
+
"@radix-ui/react-avatar": "^1.1.10",
|
|
58
|
+
"@radix-ui/react-checkbox": "^1.3.2",
|
|
59
|
+
"@radix-ui/react-collapsible": "^1.1.11",
|
|
60
|
+
"@radix-ui/react-context-menu": "^2.2.15",
|
|
61
|
+
"@radix-ui/react-dialog": "^1.1.14",
|
|
62
|
+
"@radix-ui/react-dropdown-menu": "^2.1.15",
|
|
63
|
+
"@radix-ui/react-hover-card": "^1.1.14",
|
|
64
|
+
"@radix-ui/react-label": "^2.1.7",
|
|
65
|
+
"@radix-ui/react-menubar": "^1.1.15",
|
|
66
|
+
"@radix-ui/react-navigation-menu": "^1.2.13",
|
|
67
|
+
"@radix-ui/react-popover": "^1.1.14",
|
|
68
|
+
"@radix-ui/react-progress": "^1.1.7",
|
|
69
|
+
"@radix-ui/react-radio-group": "^1.3.7",
|
|
70
|
+
"@radix-ui/react-scroll-area": "^1.2.9",
|
|
71
|
+
"@radix-ui/react-select": "^2.2.5",
|
|
72
|
+
"@radix-ui/react-separator": "^1.1.7",
|
|
73
|
+
"@radix-ui/react-slider": "^1.3.5",
|
|
74
|
+
"@radix-ui/react-slot": "^1.2.3",
|
|
75
|
+
"@radix-ui/react-switch": "^1.2.5",
|
|
76
|
+
"@radix-ui/react-tabs": "^1.1.12",
|
|
77
|
+
"@radix-ui/react-toast": "^1.2.14",
|
|
78
|
+
"@radix-ui/react-toggle": "^1.1.9",
|
|
79
|
+
"@radix-ui/react-toggle-group": "^1.1.10",
|
|
80
|
+
"@radix-ui/react-tooltip": "^1.2.7",
|
|
81
|
+
"class-variance-authority": "^0.7.1",
|
|
82
|
+
"clsx": "^2.1.1",
|
|
83
|
+
"cmdk": "^1.1.1",
|
|
84
|
+
"embla-carousel-react": "^8.6.0",
|
|
85
|
+
"input-otp": "^1.4.2",
|
|
86
|
+
"lucide-react": "^0.525.0",
|
|
87
|
+
"react-day-picker": "^9.8.0",
|
|
88
|
+
"react-resizable-panels": "^3.0.3",
|
|
89
|
+
"sonner": "^2.0.6",
|
|
90
|
+
"tailwind-merge": "^3.3.1",
|
|
91
|
+
"tailwindcss-animate": "^1.0.7",
|
|
92
|
+
"vaul": "^1.1.2"
|
|
93
|
+
},
|
|
94
|
+
"devDependencies": {
|
|
95
|
+
"@types/react": "^19",
|
|
96
|
+
"@types/react-dom": "^19",
|
|
97
|
+
"tsup": "^8.3.5",
|
|
98
|
+
"typescript": "^5"
|
|
99
|
+
},
|
|
100
|
+
"keywords": [
|
|
101
|
+
"react",
|
|
102
|
+
"components",
|
|
103
|
+
"ui",
|
|
104
|
+
"tailwind",
|
|
105
|
+
"radix-ui",
|
|
106
|
+
"design-system",
|
|
107
|
+
"journal",
|
|
108
|
+
"editorial",
|
|
109
|
+
"shadcn",
|
|
110
|
+
"playfair",
|
|
111
|
+
"lora",
|
|
112
|
+
"serif"
|
|
113
|
+
],
|
|
114
|
+
"repository": {
|
|
115
|
+
"type": "git",
|
|
116
|
+
"url": "https://github.com/journal-ds/react.git"
|
|
117
|
+
},
|
|
118
|
+
"homepage": "https://journal-ds.dev",
|
|
119
|
+
"bugs": {
|
|
120
|
+
"url": "https://github.com/journal-ds/react/issues"
|
|
121
|
+
},
|
|
122
|
+
"publishConfig": {
|
|
123
|
+
"access": "public"
|
|
124
|
+
}
|
|
125
|
+
}
|