@mizuui/liquid-glass-core 0.1.3 → 0.1.4
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/README.md +17 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,11 +8,11 @@ element is genuinely refracted through a bevel. There is no blur by default: thi
|
|
|
8
8
|
is glass, not frost.
|
|
9
9
|
|
|
10
10
|
```bash
|
|
11
|
-
npm install mizuui
|
|
11
|
+
npm install @mizuui/liquid-glass-core
|
|
12
12
|
```
|
|
13
13
|
|
|
14
14
|
```js
|
|
15
|
-
import { createLiquidGlass } from "mizuui
|
|
15
|
+
import { createLiquidGlass } from "@mizuui/liquid-glass-core";
|
|
16
16
|
|
|
17
17
|
const glass = createLiquidGlass(document.querySelector("#panel"), {
|
|
18
18
|
radius: 28,
|
|
@@ -47,3 +47,18 @@ in a way that observer cannot see.
|
|
|
47
47
|
|
|
48
48
|
`backdrop-filter: url(#filter)` currently works in Chromium. Safari and Firefox
|
|
49
49
|
fall back to `fallbackBlur` plus the specular rim.
|
|
50
|
+
|
|
51
|
+
## Related packages
|
|
52
|
+
|
|
53
|
+
- [`@mizuui/liquid-glass-vue`](../mizuui-liquid-glass-vue/README.md) — `<LiquidGlass>` for Vue 3
|
|
54
|
+
- [`@mizuui/liquid-glass-react`](../mizuui-liquid-glass-react/README.md) — `<LiquidGlass>` for React
|
|
55
|
+
|
|
56
|
+
## Development
|
|
57
|
+
|
|
58
|
+
This package is part of the [Liquid Glass monorepo](../../README.md). See
|
|
59
|
+
[BUILDING.md](../../BUILDING.md) for how to build from source and
|
|
60
|
+
[PUBLISHING.md](../../PUBLISHING.md) for the release process.
|
|
61
|
+
|
|
62
|
+
## License
|
|
63
|
+
|
|
64
|
+
[MIT](../../LICENSE) © MizuUI
|