@sofyan/glass 0.0.0-stage → 0.1.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/package.json CHANGED
@@ -1,6 +1,71 @@
1
1
  {
2
2
  "name": "@sofyan/glass",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.0",
4
+ "description": "Liquid Glass material for the web: CSS (Tailwind v4 friendly) and React components, including a swipe-to-close sheet.",
5
+ "license": "MIT",
6
+ "private": false,
7
+ "type": "module",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/sofyan-ahmad/glass.git"
11
+ },
12
+ "publishConfig": {
13
+ "access": "public"
14
+ },
15
+ "files": [
16
+ "dist",
17
+ "README.md",
18
+ "LICENSE"
19
+ ],
20
+ "sideEffects": [
21
+ "*.css"
22
+ ],
23
+ "exports": {
24
+ ".": {
25
+ "style": "./dist/glass.css",
26
+ "default": "./dist/glass.css"
27
+ },
28
+ "./glass.css": "./dist/glass.css",
29
+ "./tailwind.css": "./dist/tailwind.css",
30
+ "./react": {
31
+ "types": "./dist/react/index.d.ts",
32
+ "import": "./dist/react/index.js"
33
+ },
34
+ "./package.json": "./package.json"
35
+ },
36
+ "scripts": {
37
+ "build": "tsup && node scripts/copy-css.mjs",
38
+ "typecheck": "tsc --noEmit",
39
+ "test": "vitest run",
40
+ "format": "prettier -w .",
41
+ "format:check": "prettier -c .",
42
+ "prepublishOnly": "pnpm typecheck && pnpm test && pnpm build"
43
+ },
44
+ "peerDependencies": {
45
+ "react": ">=18",
46
+ "react-dom": ">=18"
47
+ },
48
+ "peerDependenciesMeta": {
49
+ "react": {
50
+ "optional": true
51
+ },
52
+ "react-dom": {
53
+ "optional": true
54
+ }
55
+ },
56
+ "devDependencies": {
57
+ "@testing-library/jest-dom": "^6.9.1",
58
+ "@testing-library/react": "^16.3.0",
59
+ "@testing-library/user-event": "^14.6.1",
60
+ "@types/react": "^19.2.0",
61
+ "@types/react-dom": "^19.2.0",
62
+ "jsdom": "^25.0.1",
63
+ "prettier": "^3.6.0",
64
+ "react": "^19.2.0",
65
+ "react-dom": "^19.2.0",
66
+ "tsup": "^8.5.0",
67
+ "typescript": "^5.9.3",
68
+ "vitest": "^4.1.12"
69
+ },
70
+ "packageManager": "pnpm@10.2.0"
71
+ }