@luna-park/plugin-gradient 0.0.0-stage → 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.
@@ -0,0 +1,2 @@
1
+ (function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`.lpg-gradient[data-v-d6eac249]{isolation:isolate;position:relative;overflow:hidden}.lpg-gradient .lpg-canvas[data-v-d6eac249]{z-index:-1;pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.lpg-gradient .lpg-content[data-v-d6eac249]{height:100%;position:relative}/*$vite$:1*/`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();
2
+ export { n as GradientRenderer, t as LpgGradient, u as createMotion, i as gradientTypes, c as palettes, l as resolveColors } from "./LpgGradient-DhYG5BbV.js";
package/package.json CHANGED
@@ -1,6 +1,69 @@
1
1
  {
2
2
  "name": "@luna-park/plugin-gradient",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "1.0.0",
4
+ "private": false,
5
+ "description": "Animated WebGL gradient backgrounds for Luna Park",
6
+ "keywords": [
7
+ "luna-park",
8
+ "plugin",
9
+ "gradient",
10
+ "webgl"
11
+ ],
12
+ "homepage": "https://luna-park.app",
13
+ "repository": {
14
+ "type": "git",
15
+ "url": "https://github.com/lunapark/plugin-gradient"
16
+ },
17
+ "author": {
18
+ "name": "Luna Park",
19
+ "url": "https://luna-park.app"
20
+ },
21
+ "type": "module",
22
+ "exports": {
23
+ ".": {
24
+ "import": "./dist/index.js"
25
+ },
26
+ "./runtime": {
27
+ "import": "./dist/runtime.js"
28
+ }
29
+ },
30
+ "module": "./dist/index.js",
31
+ "files": [
32
+ "dist/**",
33
+ "src/logo.svg"
34
+ ],
35
+ "dependencies": {
36
+ "@fortawesome/free-solid-svg-icons": "^7.1.0",
37
+ "vue": "^3.5.43"
38
+ },
39
+ "devDependencies": {
40
+ "@histoire/plugin-vue": "1.0.0-beta.1",
41
+ "@luna-park/design": "^1.3.0",
42
+ "@luna-park/eslint-config": "^1.4.3",
43
+ "@luna-park/plugin": "^1.7.0",
44
+ "@types/node": "^26.6.4",
45
+ "@vitejs/plugin-vue": "^6.0.9",
46
+ "@vue/tsconfig": "^0.9.1",
47
+ "eslint": "^10.12.0",
48
+ "globals": "^17.13.0",
49
+ "histoire": "1.0.0-beta.1",
50
+ "typescript": "^6.0.3",
51
+ "typescript-eslint": "^8.71.1",
52
+ "vite": "^8.3.3",
53
+ "vite-plugin-css-injected-by-js": "^5.0.2",
54
+ "vue-tsc": "^3.3.12"
55
+ },
56
+ "peerDependencies": {
57
+ "@luna-park/design": "^1.3.0",
58
+ "vue": "^3.5.43"
59
+ },
60
+ "scripts": {
61
+ "build": "vite build",
62
+ "dev": "vite build --watch",
63
+ "dev:story": "histoire dev",
64
+ "preview": "luna-preview",
65
+ "typecheck": "vue-tsc -b",
66
+ "lint": "eslint .",
67
+ "lint:fix": "eslint . --fix"
68
+ }
6
69
  }
package/src/logo.svg ADDED
@@ -0,0 +1,29 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 27.5.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 100 100" style="enable-background:new 0 0 100 100;" xml:space="preserve">
5
+ <style type="text/css">
6
+
7
+ .st0{clip-path:url(#SVGID_00000047022933307920725830000016124621795394122405_);fill:url(#SVGID_00000173862278939040857730000006968173594089226137_);}
8
+ </style>
9
+ <g>
10
+ <defs>
11
+ <path id="SVGID_1_" d="M90.2,51c0,1.8-0.2,3.7-0.5,5.5c-0.2,1.3-1.9,1.9-2.8,0.9L69,39.4C58.5,29,41.5,29,31.1,39.4L13.1,57.4
12
+ c-1,1-2.6,0.4-2.8-0.9c-3.7-22,12.3-43.9,34.9-46.4C69.2,7,91,26.8,90.2,51z M55.7,44.4c-3.6-1.5-7.7-1.5-11.3,0
13
+ c-0.6,0.3-1,0.9-1,1.6v42.2c0,0.8,0.6,1.6,1.5,1.7c3.5,0.5,7,0.5,10.5,0c0.8-0.1,1.5-0.8,1.5-1.7V46
14
+ C56.7,45.3,56.3,44.7,55.7,44.4z M83.2,70.3c-3.2-3.2-8.2-8.2-11.9-11.9c-1.1-1.1-2.9-0.3-2.9,1.2v23.3c0,1.3,1.4,2.1,2.5,1.4
15
+ c4.9-3,9.2-7.1,12.4-11.9C83.9,71.7,83.8,70.8,83.2,70.3z M28.7,58.4C25,62.1,20,67.1,16.8,70.3c-0.6,0.6-0.6,1.5-0.2,2.1
16
+ c3.2,4.8,7.5,8.9,12.4,11.9c1.1,0.7,2.5-0.1,2.5-1.4V59.5C31.6,58,29.8,57.3,28.7,58.4z"/>
17
+ </defs>
18
+ <clipPath id="SVGID_00000176734456353677071660000015084933141304141444_">
19
+ <use xlink:href="#SVGID_1_" style="overflow:visible;"/>
20
+ </clipPath>
21
+
22
+ <radialGradient id="SVGID_00000019658959786127304010000007409785301083503023_" cx="-322.5985" cy="231.969" r="47.68" fx="-327.6757" fy="225.8638" gradientTransform="matrix(0.7606 0 0 0.7606 295.3712 -126.4447)" gradientUnits="userSpaceOnUse">
23
+ <stop offset="0" style="stop-color:#187BFF"/>
24
+ <stop offset="1" style="stop-color:#0066F1"/>
25
+ </radialGradient>
26
+
27
+ <rect x="9.8" y="9.8" style="clip-path:url(#SVGID_00000176734456353677071660000015084933141304141444_);fill:url(#SVGID_00000019658959786127304010000007409785301083503023_);" width="80.4" height="80.4"/>
28
+ </g>
29
+ </svg>