@dazecoop/liquid-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/LICENSE +21 -0
- package/README.md +256 -2
- package/lib/index.cjs +1172 -0
- package/lib/index.d.cts +156 -0
- package/lib/index.d.ts +156 -0
- package/lib/index.js +1172 -0
- package/lib/liquid-glass.css +390 -0
- package/lib/liquid-glass.global.js +12 -0
- package/lib/react.cjs +238 -0
- package/lib/react.d.cts +91 -0
- package/lib/react.d.ts +91 -0
- package/lib/react.js +238 -0
- package/package.json +81 -4
package/package.json
CHANGED
|
@@ -1,6 +1,83 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dazecoop/liquid-glass",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "A liquid glass lens that refracts, frosts and splits the light of real HTML behind it, plus iOS 26 style switches, tab bars and buttons. Vanilla JS, with React bindings.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"liquid-glass",
|
|
7
|
+
"glass",
|
|
8
|
+
"glassmorphism",
|
|
9
|
+
"refraction",
|
|
10
|
+
"lens",
|
|
11
|
+
"svg-filter",
|
|
12
|
+
"ios",
|
|
13
|
+
"react"
|
|
14
|
+
],
|
|
15
|
+
"homepage": "https://glass.dazemx.com/",
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "git+https://github.com/dazecoop/liquid-glass.git"
|
|
19
|
+
},
|
|
20
|
+
"bugs": "https://github.com/dazecoop/liquid-glass/issues",
|
|
21
|
+
"author": "David Cooper",
|
|
22
|
+
"license": "MIT",
|
|
23
|
+
"type": "module",
|
|
24
|
+
"main": "./lib/index.cjs",
|
|
25
|
+
"module": "./lib/index.js",
|
|
26
|
+
"types": "./lib/index.d.ts",
|
|
27
|
+
"unpkg": "./lib/liquid-glass.global.js",
|
|
28
|
+
"jsdelivr": "./lib/liquid-glass.global.js",
|
|
29
|
+
"exports": {
|
|
30
|
+
".": {
|
|
31
|
+
"import": {
|
|
32
|
+
"types": "./lib/index.d.ts",
|
|
33
|
+
"default": "./lib/index.js"
|
|
34
|
+
},
|
|
35
|
+
"require": {
|
|
36
|
+
"types": "./lib/index.d.cts",
|
|
37
|
+
"default": "./lib/index.cjs"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"./react": {
|
|
41
|
+
"import": {
|
|
42
|
+
"types": "./lib/react.d.ts",
|
|
43
|
+
"default": "./lib/react.js"
|
|
44
|
+
},
|
|
45
|
+
"require": {
|
|
46
|
+
"types": "./lib/react.d.cts",
|
|
47
|
+
"default": "./lib/react.cjs"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"./style.css": "./lib/liquid-glass.css",
|
|
51
|
+
"./global": "./lib/liquid-glass.global.js",
|
|
52
|
+
"./package.json": "./package.json"
|
|
53
|
+
},
|
|
54
|
+
"files": [
|
|
55
|
+
"lib"
|
|
56
|
+
],
|
|
57
|
+
"sideEffects": [
|
|
58
|
+
"*.css"
|
|
59
|
+
],
|
|
60
|
+
"peerDependencies": {
|
|
61
|
+
"react": ">=18"
|
|
62
|
+
},
|
|
63
|
+
"peerDependenciesMeta": {
|
|
64
|
+
"react": {
|
|
65
|
+
"optional": true
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"devDependencies": {
|
|
69
|
+
"@tailwindcss/vite": "^4.3.3",
|
|
70
|
+
"highlight.js": "^11.12.0",
|
|
71
|
+
"react": "^19",
|
|
72
|
+
"react-dom": "^19",
|
|
73
|
+
"tailwindcss": "^4.3.3",
|
|
74
|
+
"vite": "^7.3.7"
|
|
75
|
+
},
|
|
76
|
+
"scripts": {
|
|
77
|
+
"dev": "vite",
|
|
78
|
+
"build": "vite build",
|
|
79
|
+
"preview": "vite preview",
|
|
80
|
+
"build:lib": "vite build -c vite.lib.config.js && vite build -c vite.lib.config.js --mode iife",
|
|
81
|
+
"prepublishOnly": "npm run build:lib"
|
|
82
|
+
}
|
|
83
|
+
}
|