@thesvg/astro 4.0.0 → 4.0.1
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/olive-garden.astro +3 -3
- package/package.json +5 -6
package/dist/olive-garden.astro
CHANGED
|
@@ -20,13 +20,13 @@ const styleText =
|
|
|
20
20
|
: typeof style === "string"
|
|
21
21
|
? style
|
|
22
22
|
: "";
|
|
23
|
-
const inlineStyle = ["
|
|
23
|
+
const inlineStyle = ["", color ? `color:${color}` : "", styleText]
|
|
24
24
|
.map((part) => part.replace(/;\s*$/, ""))
|
|
25
25
|
.filter(Boolean)
|
|
26
26
|
.join(";");
|
|
27
27
|
const classes = ["", className].filter(Boolean).join(" ");
|
|
28
|
-
const rootAttrs = {
|
|
29
|
-
const markup = "<
|
|
28
|
+
const rootAttrs = {};
|
|
29
|
+
const markup = "<defs><path id=\"thesvg-olive-garden-a\" d=\"M35.7 34.2s0-.1 0 0c-.3-.2-.6-.3-.8-.3-.7 0-1.4.4-1.8 1v.1c.2.1.3.2.4.3.4-.5 1.1-.9 1.9-.9.4 0 .4-.1.3-.2m-3.5-7.1c-.6-1.3-1.3-2.5-1.9-3.6-1-1.7-2-3.5-3.1-6.1h-.1v.1c0 .1 1.3 6.3 4.9 9.8.1.1.3.1.2-.2M13 17.3s0-.1 0 0c-1.1-.2-2-.2-2.9-.3-2.4-.1-4.1-.1-6.1 0-.4 0-.9 0-1.3.1 0 0-.1 0-.1.1 0 0 0 .1.1.1 1.2.2 2.5.3 3.7.4 3.8.1 6.5-.3 6.6-.4 0 .1 0 0 0 0m-1.2-6.8c-.8-.7-4-3.5-8.7-4.8H3v.1c.8.4 1.6.9 2.4 1.4 2.1 1.3 4.2 2.5 6.3 3.4.2.2.2.1.1-.1m8.2 3.3c-.2-2.1-.6-4-1.1-6q-.45-2.1-.9-4.5s0-.1-.1-.1c0 0-.1 0-.1.1-.3 6.3 1.9 10.4 1.9 10.5zm14.8 1.4s0-.1 0 0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1.3-.2 1.9-.4.3-.1.7-.2 1.1-.6 3.2-3 5.6-3.2 12.7-3.8h.1c.1 0 .2 0 .2.1v.2c-1.9 2.3-6.8 5.4-11.7 5.1-.6 0-1.3-.1-1.9-.3-.7.2-1.3.3-2 .4-.3.1-.7.1-.8.6-.4 1.2-.6 2.5-.7 3.8-.1 1.1-.1 2.3 0 3.4s.2 2.2.5 3.3c.6 2.1 1.7 4.1 3.2 5.7 1.1 1.1 2.4 2.1 3.8 2.9.3.1.5 0 .4-.3s-.4-1.5-.6-2.5c-1.5-2.2-2.4-5.3-2.2-8.5-.7-.3-1.4-.6-2.2-.9s-1.6-.5-2.4-.7v-1.7c1 .2 2 .5 3 .8.6.2 1.3.4 1.9.7.4-1.5 1-3 2-4.5.1-.1.2-.1.2.1 1.5 5.5 3.1 11.7.5 15 .3 1.5.6 2.5 1 3.3.1.1.1.2.3.3 2 .9 4.1 1.4 6.3 1.7 2.1.3 4.3.3 6.4.1.8-.1 1 0 1.2.6.1.4.4 1 .5 1.3-.1 0-.2.3-.4.3M47.2 25c.2 1.2.3 2.1.3 2.9.7.7 1.4 1.5 1.9 2.4.6.9 1 1.8 1.5 2.7.2.3.3.5.7.4s1.5-.4 1.5-.4c.1-.1.2-.1.1-.3-.6-1.5-1.1-2.2-2-3.6-1.2-1.6-2.5-3-4-4.1\"/></defs><clipPath id=\"thesvg-olive-garden-b\"><use href=\"#thesvg-olive-garden-a\" style=\"overflow:visible\"/></clipPath><g style=\"clip-path:url(#thesvg-olive-garden-b)\"><defs><path id=\"thesvg-olive-garden-c\" d=\"M-137.5-.6H61.2v53.1h-198.7z\"/></defs><clipPath id=\"thesvg-olive-garden-d\"><use href=\"#thesvg-olive-garden-c\" style=\"overflow:visible\"/></clipPath><path d=\"M-5.6-5.6h72.3v52.2H-5.6z\" style=\"clip-path:url(#thesvg-olive-garden-d);fill:#9fa73a\"/></g>";
|
|
30
30
|
---
|
|
31
31
|
<svg
|
|
32
32
|
xmlns="http://www.w3.org/2000/svg"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thesvg/astro",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.1",
|
|
4
4
|
"description": "Typed Astro SVG components for all 7,600+ brand icons from thesvg.org",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -46,10 +46,6 @@
|
|
|
46
46
|
"README.md",
|
|
47
47
|
"LICENSE"
|
|
48
48
|
],
|
|
49
|
-
"scripts": {
|
|
50
|
-
"build": "tsx scripts/build-components.ts",
|
|
51
|
-
"prepublishOnly": "npm run build"
|
|
52
|
-
},
|
|
53
49
|
"peerDependencies": {
|
|
54
50
|
"astro": ">=3"
|
|
55
51
|
},
|
|
@@ -63,5 +59,8 @@
|
|
|
63
59
|
"publishConfig": {
|
|
64
60
|
"provenance": true,
|
|
65
61
|
"access": "public"
|
|
62
|
+
},
|
|
63
|
+
"scripts": {
|
|
64
|
+
"build": "tsx scripts/build-components.ts"
|
|
66
65
|
}
|
|
67
|
-
}
|
|
66
|
+
}
|