@selemondev/svgl-svelte 2.11.0 → 2.12.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,21 @@
|
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import type { HTMLAttributes } from 'svelte/elements';
|
|
3
|
+
|
|
4
|
+
export interface Props extends HTMLAttributes<SVGElement> {
|
|
5
|
+
width?: number;
|
|
6
|
+
height?: number;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
let { width = 50, height = 50, ...rest }: Props = $props();
|
|
10
|
+
const svgContent = () => {
|
|
11
|
+
const restAttrs = Object.entries(rest)
|
|
12
|
+
.map(([k, v]) => `${k}="${v}"`)
|
|
13
|
+
.join(' ');
|
|
14
|
+
return `<svg viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg" width="${width}" height="${height}" ${restAttrs}>
|
|
15
|
+
<path d="M27.0513 0H0.0512695V27.0128C14.9434 27.0128 27.0513 14.9247 27.0513 0Z" fill="#00D18E"/>
|
|
16
|
+
</svg>
|
|
17
|
+
`;
|
|
18
|
+
};
|
|
19
|
+
</script>
|
|
20
|
+
|
|
21
|
+
{@html svgContent()}
|
|
@@ -11,9 +11,33 @@
|
|
|
11
11
|
const restAttrs = Object.entries(rest)
|
|
12
12
|
.map(([k, v]) => `${k}="${v}"`)
|
|
13
13
|
.join(' ');
|
|
14
|
-
return `<svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid" viewBox="0 0 256
|
|
15
|
-
<
|
|
16
|
-
|
|
14
|
+
return `<svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid" viewBox="0 0 256 257" width="${width}" height="${height}" ${restAttrs}>
|
|
15
|
+
<defs>
|
|
16
|
+
<linearGradient x1="25.2%" y1="43.3%" x2="99.2%" y2="67.4%" id="a">
|
|
17
|
+
<stop stop-color="#FE2857" offset="21%"/>
|
|
18
|
+
<stop stop-color="#293896" offset="100%"/>
|
|
19
|
+
</linearGradient>
|
|
20
|
+
<linearGradient x1="2.3%" y1="77.1%" x2="90.7%" y2="24.1%" id="b">
|
|
21
|
+
<stop stop-color="#FE2857" offset="0%"/>
|
|
22
|
+
<stop stop-color="#FE2857" offset="1%"/>
|
|
23
|
+
<stop stop-color="#FF318C" offset="86%"/>
|
|
24
|
+
</linearGradient>
|
|
25
|
+
<linearGradient x1="6.3%" y1="13.9%" x2="94.6%" y2="87.7%" id="c">
|
|
26
|
+
<stop stop-color="#FF318C" offset="2%"/>
|
|
27
|
+
<stop stop-color="#FE2857" offset="21%"/>
|
|
28
|
+
<stop stop-color="#FDB60D" offset="86%"/>
|
|
29
|
+
</linearGradient>
|
|
30
|
+
<linearGradient x1="91.1%" y1="27.7%" x2="2%" y2="68.6%" id="d">
|
|
31
|
+
<stop stop-color="#FDB60D" offset="1%"/>
|
|
32
|
+
<stop stop-color="#FCF84A" offset="86%"/>
|
|
33
|
+
</linearGradient>
|
|
34
|
+
</defs>
|
|
35
|
+
<path d="M112.7 117.4 42 57.6a25.6 25.6 0 1 0-24.8 43.9h.3l.7.2 89 27.1a6 6 0 0 0 2 .4 6.4 6.4 0 0 0 3.3-11.8Z" fill="url(#a)"/>
|
|
36
|
+
<path d="M126.8 18.7A18.6 18.6 0 0 0 98 3L11.8 55.4a25.6 25.6 0 1 0 30.6 41l77.3-63 .6-.5c4.1-3.6 6.5-8.7 6.5-14.2Z" fill="url(#b)"/>
|
|
37
|
+
<path d="M252.2 131.5 121.4 5.5A18.6 18.6 0 1 0 96 32.8l.2.3 139 117a12.6 12.6 0 0 0 17-18.6Z" fill="url(#c)"/>
|
|
38
|
+
<path d="M256 140.6a12.6 12.6 0 0 0-20-10.3L77.9 207.7a25.6 25.6 0 1 0 26.4 43.7l146.4-100.5c3.4-2.4 5.4-6.2 5.4-10.3Z" fill="url(#d)"/>
|
|
39
|
+
<path d="M75.8 76.9h102.5v102.4H75.8z"/>
|
|
40
|
+
<path d="M87 160.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1.7.2c3.6.8 5.9 2 5.9 5 0 3.1-2.4 5-6 5h-.5c-2.5.2-5-.6-7-2l-.5-.4Z" fill="#FFF"/>
|
|
17
41
|
</svg>
|
|
18
42
|
`;
|
|
19
43
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -260,6 +260,7 @@ export { default as SvglIntelliJIDEALogo } from './components/IntelliJIDEA.svelt
|
|
|
260
260
|
export { default as SvglIntelloLogo } from './components/Intello.svelte';
|
|
261
261
|
export { default as SvglInterfereLogo } from './components/Interfere.svelte';
|
|
262
262
|
export { default as SvglIntlayerLogo } from './components/Intlayer.svelte';
|
|
263
|
+
export { default as SvglIvyFrameworkLogo } from './components/IvyFramework.svelte';
|
|
263
264
|
export { default as SvglJQueryLogo } from './components/JQuery.svelte';
|
|
264
265
|
export { default as SvglJSONLogo } from './components/JSON.svelte';
|
|
265
266
|
export { default as SvglJSONSchemaLogo } from './components/JSONSchema.svelte';
|
package/dist/index.js
CHANGED
|
@@ -262,6 +262,7 @@ export { default as SvglIntelliJIDEALogo } from './components/IntelliJIDEA.svelt
|
|
|
262
262
|
export { default as SvglIntelloLogo } from './components/Intello.svelte';
|
|
263
263
|
export { default as SvglInterfereLogo } from './components/Interfere.svelte';
|
|
264
264
|
export { default as SvglIntlayerLogo } from './components/Intlayer.svelte';
|
|
265
|
+
export { default as SvglIvyFrameworkLogo } from './components/IvyFramework.svelte';
|
|
265
266
|
export { default as SvglJQueryLogo } from './components/JQuery.svelte';
|
|
266
267
|
export { default as SvglJSONLogo } from './components/JSON.svelte';
|
|
267
268
|
export { default as SvglJSONSchemaLogo } from './components/JSONSchema.svelte';
|