svelte-ag 1.1.9 → 1.1.10
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.
|
@@ -39,8 +39,7 @@
|
|
|
39
39
|
return `radial-gradient(ellipse ${sizeX}% ${sizeY}% at ${posX}% ${posY}%, ${centerColorRgba}, ${edgeColorRgba})`;
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
const fragment =
|
|
43
|
-
#version 300 es
|
|
42
|
+
const fragment = `#version 300 es
|
|
44
43
|
|
|
45
44
|
precision highp float;
|
|
46
45
|
|
|
@@ -83,7 +82,7 @@
|
|
|
83
82
|
|
|
84
83
|
fragColor = mix(u_centerColor, u_edgeColor, clamp(t + noise, 0.0, 1.0));
|
|
85
84
|
}
|
|
86
|
-
|
|
85
|
+
`;
|
|
87
86
|
</script>
|
|
88
87
|
|
|
89
88
|
<div class={cn('size-full', className)}>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Gradient.svelte.d.ts","sourceRoot":"","sources":["../../../src/lib/components/gradient/Gradient.svelte.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAGjD,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAC;AAEzD,KAAK,gBAAgB,GAAI,0BAA0B,GAAG;IACnD,MAAM,EAAE,IAAI,CAAC;IACb,IAAI,EAAE,IAAI,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,MAAM,CAAC,EAAE,IAAI,CAAC;CACf,CAAC;
|
|
1
|
+
{"version":3,"file":"Gradient.svelte.d.ts","sourceRoot":"","sources":["../../../src/lib/components/gradient/Gradient.svelte.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAGjD,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAC;AAEzD,KAAK,gBAAgB,GAAI,0BAA0B,GAAG;IACnD,MAAM,EAAE,IAAI,CAAC;IACb,IAAI,EAAE,IAAI,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,MAAM,CAAC,EAAE,IAAI,CAAC;CACf,CAAC;AAkGJ,QAAA,MAAM,QAAQ,sDAAwC,CAAC;AACvD,KAAK,QAAQ,GAAG,UAAU,CAAC,OAAO,QAAQ,CAAC,CAAC;AAC5C,eAAe,QAAQ,CAAC"}
|
package/package.json
CHANGED
|
@@ -39,8 +39,7 @@
|
|
|
39
39
|
return `radial-gradient(ellipse ${sizeX}% ${sizeY}% at ${posX}% ${posY}%, ${centerColorRgba}, ${edgeColorRgba})`;
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
const fragment =
|
|
43
|
-
#version 300 es
|
|
42
|
+
const fragment = `#version 300 es
|
|
44
43
|
|
|
45
44
|
precision highp float;
|
|
46
45
|
|
|
@@ -83,7 +82,7 @@
|
|
|
83
82
|
|
|
84
83
|
fragColor = mix(u_centerColor, u_edgeColor, clamp(t + noise, 0.0, 1.0));
|
|
85
84
|
}
|
|
86
|
-
|
|
85
|
+
`;
|
|
87
86
|
</script>
|
|
88
87
|
|
|
89
88
|
<div class={cn('size-full', className)}>
|