@luna-park/plugin-gradient 1.0.0 → 1.0.2
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/dist/index.js +2 -2
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -3243,7 +3243,7 @@ var pd = {
|
|
|
3243
3243
|
]
|
|
3244
3244
|
}, md = "# Gradient/Gradient\r\n\r\nAn animated, grainy WebGL gradient used as a background. Put content (headings, buttons…) in the default slot; it renders on top. Give the component a size (e.g. full width, `100vh` height for a hero).\r\n\r\n## Properties\r\n- `type`: `flow` (soft stretched bands, monopo-like), `irregular` (round blobs), `edgy` (blobs with sharp folds), `multicolor` (warped linear gradient), `radial`, `banding` (stepped stripes), `duotone` (two colours).\r\n- `palette`: `ember`, `aurora`, `sunset`, `dusk`, `citrus`, `coral`, `ocean`, `mono`, or `custom`.\r\n- `colors`: 2–6 colours, only used when `palette` is `custom`. For `flow`, the first colour is the background.\r\n- `motion`: `random` (slow endless drift), `cursor` (applies `cursorEffect` around the pointer while the rest drifts slowly), `scroll` (moves with scroll position), `none` (static).\r\n- `speed`: 0–100 (%), default 20.\r\n- `cursorEffect` (cursor motion only): `lens` (magnifies under the pointer, default), `pinch` (shrinks towards the pointer), `smear` (colours trail behind the pointer like a brush).\r\n- `cursorRadius`: 5–100 (% of the component's short side), default 30.\r\n- `cursorStrength`: 0–200 (%), default 100.\r\n- `grain`: 0–0.3, default 0.04.\r\n- `animateGrain`: `true` re-rolls the grain at 24 fps (film look). Default `false` (static grain).\r\n- `seed`: any number; changes the shapes.\r\n- `angle`: degrees; overrides the type's direction.\r\n- `bands`: 2–24, `banding` only.\r\n\r\n## Good pairings\r\n`flow` + `ember`, `irregular` + `aurora`, `edgy` + `sunset`, `multicolor` + `dusk`, `radial` + `ocean`, `banding` + `coral`, `duotone` + `citrus`.\r\n\r\nMotion is disabled automatically for users who prefer reduced motion.\r\n", hd = {
|
|
3245
3245
|
name: "@luna-park/plugin-gradient",
|
|
3246
|
-
version: "1.0.
|
|
3246
|
+
version: "1.0.1",
|
|
3247
3247
|
private: !1,
|
|
3248
3248
|
description: "Animated WebGL gradient backgrounds for Luna Park",
|
|
3249
3249
|
keywords: [
|
|
@@ -3283,7 +3283,7 @@ var pd = {
|
|
|
3283
3283
|
},
|
|
3284
3284
|
devDependencies: {
|
|
3285
3285
|
"@histoire/plugin-vue": "1.0.0-beta.1",
|
|
3286
|
-
"@luna-park/design": "^1.
|
|
3286
|
+
"@luna-park/design": "^1.4.0",
|
|
3287
3287
|
"@luna-park/eslint-config": "^1.4.3",
|
|
3288
3288
|
"@luna-park/plugin": "^1.7.0",
|
|
3289
3289
|
"@types/node": "^26.6.4",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@luna-park/plugin-gradient",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Animated WebGL gradient backgrounds for Luna Park",
|
|
6
6
|
"keywords": [
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@histoire/plugin-vue": "1.0.0-beta.1",
|
|
41
|
-
"@luna-park/design": "^1.
|
|
41
|
+
"@luna-park/design": "^1.4.0",
|
|
42
42
|
"@luna-park/eslint-config": "^1.4.3",
|
|
43
43
|
"@luna-park/plugin": "^1.7.0",
|
|
44
44
|
"@types/node": "^26.6.4",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"vue-tsc": "^3.3.12"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
57
|
-
"@luna-park/design": "^1.
|
|
57
|
+
"@luna-park/design": "^1.4.0",
|
|
58
58
|
"vue": "^3.5.43"
|
|
59
59
|
},
|
|
60
60
|
"scripts": {
|