@thesvg/astro 4.0.22 → 4.1.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/README.md +4 -4
- package/dist/1c.astro +41 -0
- package/dist/1c.astro.d.ts +5 -0
- package/dist/accuknox.astro +41 -0
- package/dist/accuknox.astro.d.ts +5 -0
- package/dist/agentz.astro +41 -0
- package/dist/agentz.astro.d.ts +5 -0
- package/dist/{99designs.astro → aisdk.astro} +4 -4
- package/dist/aisdk.astro.d.ts +5 -0
- package/dist/allianz.astro +41 -0
- package/dist/allianz.astro.d.ts +5 -0
- package/dist/alphabet.astro +41 -0
- package/dist/alphabet.astro.d.ts +5 -0
- package/dist/alphaxiv.astro +41 -0
- package/dist/alphaxiv.astro.d.ts +5 -0
- package/dist/asics.astro +41 -0
- package/dist/asics.astro.d.ts +5 -0
- package/dist/asml.astro +41 -0
- package/dist/asml.astro.d.ts +5 -0
- package/dist/aspire.astro +41 -0
- package/dist/aspire.astro.d.ts +5 -0
- package/dist/aston-martin-lagonda.astro +41 -0
- package/dist/aston-martin-lagonda.astro.d.ts +5 -0
- package/dist/authier.astro +41 -0
- package/dist/authier.astro.d.ts +5 -0
- package/dist/baskin-robbins.astro +41 -0
- package/dist/baskin-robbins.astro.d.ts +5 -0
- package/dist/bayerischerrundfunk.astro +41 -0
- package/dist/bayerischerrundfunk.astro.d.ts +5 -0
- package/dist/blackrock.astro +41 -0
- package/dist/blackrock.astro.d.ts +5 -0
- package/dist/blizzard-entertainment.astro +41 -0
- package/dist/blizzard-entertainment.astro.d.ts +5 -0
- package/dist/bridgestone.astro +41 -0
- package/dist/bridgestone.astro.d.ts +5 -0
- package/dist/browserslist.astro +41 -0
- package/dist/browserslist.astro.d.ts +5 -0
- package/dist/canadapost.astro +41 -0
- package/dist/canadapost.astro.d.ts +5 -0
- package/dist/canon.astro +41 -0
- package/dist/canon.astro.d.ts +5 -0
- package/dist/casio.astro +41 -0
- package/dist/casio.astro.d.ts +5 -0
- package/dist/chanel.astro +41 -0
- package/dist/chanel.astro.d.ts +5 -0
- package/dist/chevron.astro +41 -0
- package/dist/chevron.astro.d.ts +5 -0
- package/dist/conduyt.astro +41 -0
- package/dist/conduyt.astro.d.ts +5 -0
- package/dist/confidentai.astro +41 -0
- package/dist/confidentai.astro.d.ts +5 -0
- package/dist/coralogix.astro +41 -0
- package/dist/coralogix.astro.d.ts +5 -0
- package/dist/curio.astro +41 -0
- package/dist/curio.astro.d.ts +5 -0
- package/dist/dbdiagramdotio.astro +41 -0
- package/dist/dbdiagramdotio.astro.d.ts +5 -0
- package/dist/depot.astro +41 -0
- package/dist/depot.astro.d.ts +5 -0
- package/dist/devin.astro +41 -0
- package/dist/devin.astro.d.ts +5 -0
- package/dist/diesel.astro +41 -0
- package/dist/diesel.astro.d.ts +5 -0
- package/dist/docker-new.astro +41 -0
- package/dist/docker-new.astro.d.ts +5 -0
- package/dist/earendil.astro +41 -0
- package/dist/earendil.astro.d.ts +5 -0
- package/dist/echo.astro +41 -0
- package/dist/echo.astro.d.ts +5 -0
- package/dist/egui.astro +41 -0
- package/dist/egui.astro.d.ts +5 -0
- package/dist/electrolux.astro +41 -0
- package/dist/electrolux.astro.d.ts +5 -0
- package/dist/embraer.astro +41 -0
- package/dist/embraer.astro.d.ts +5 -0
- package/dist/forbes.astro +41 -0
- package/dist/forbes.astro.d.ts +5 -0
- package/dist/format.astro +41 -0
- package/dist/format.astro.d.ts +5 -0
- package/dist/fromkai.astro +41 -0
- package/dist/fromkai.astro.d.ts +5 -0
- package/dist/fx.astro +41 -0
- package/dist/fx.astro.d.ts +5 -0
- package/dist/ghosting.astro +41 -0
- package/dist/ghosting.astro.d.ts +5 -0
- package/dist/gitcliff.astro +41 -0
- package/dist/gitcliff.astro.d.ts +5 -0
- package/dist/gmm-grammy.astro +41 -0
- package/dist/gmm-grammy.astro.d.ts +5 -0
- package/dist/godox.astro +41 -0
- package/dist/godox.astro.d.ts +5 -0
- package/dist/gopro.astro +41 -0
- package/dist/gopro.astro.d.ts +5 -0
- package/dist/grupo-televisa.astro +41 -0
- package/dist/grupo-televisa.astro.d.ts +5 -0
- package/dist/guinness-world-records.astro +41 -0
- package/dist/guinness-world-records.astro.d.ts +5 -0
- package/dist/haproxy.astro +41 -0
- package/dist/haproxy.astro.d.ts +5 -0
- package/dist/hypit.astro +41 -0
- package/dist/hypit.astro.d.ts +5 -0
- package/dist/imax.astro +41 -0
- package/dist/imax.astro.d.ts +5 -0
- package/dist/imhex.astro +41 -0
- package/dist/imhex.astro.d.ts +5 -0
- package/dist/index.d.ts +120 -1
- package/dist/index.js +120 -1
- package/dist/izzyondroid.astro +41 -0
- package/dist/izzyondroid.astro.d.ts +5 -0
- package/dist/jcode.astro +41 -0
- package/dist/jcode.astro.d.ts +5 -0
- package/dist/kitty.astro +41 -0
- package/dist/kitty.astro.d.ts +5 -0
- package/dist/kubearmor.astro +41 -0
- package/dist/kubearmor.astro.d.ts +5 -0
- package/dist/layerwise.astro +41 -0
- package/dist/layerwise.astro.d.ts +5 -0
- package/dist/libredb-studio.astro +41 -0
- package/dist/libredb-studio.astro.d.ts +5 -0
- package/dist/logbrew.astro +41 -0
- package/dist/logbrew.astro.d.ts +5 -0
- package/dist/los-angeles-times.astro +41 -0
- package/dist/los-angeles-times.astro.d.ts +5 -0
- package/dist/maersk.astro +41 -0
- package/dist/maersk.astro.d.ts +5 -0
- package/dist/major-league-soccer.astro +41 -0
- package/dist/major-league-soccer.astro.d.ts +5 -0
- package/dist/meson.astro +41 -0
- package/dist/meson.astro.d.ts +5 -0
- package/dist/metro-goldwyn-mayer.astro +41 -0
- package/dist/metro-goldwyn-mayer.astro.d.ts +5 -0
- package/dist/michelin.astro +41 -0
- package/dist/michelin.astro.d.ts +5 -0
- package/dist/miseenplace.astro +41 -0
- package/dist/miseenplace.astro.d.ts +5 -0
- package/dist/moonlight.astro +41 -0
- package/dist/moonlight.astro.d.ts +5 -0
- package/dist/muse.astro +41 -0
- package/dist/muse.astro.d.ts +5 -0
- package/dist/nereo.astro +41 -0
- package/dist/nereo.astro.d.ts +5 -0
- package/dist/nestle.astro +41 -0
- package/dist/nestle.astro.d.ts +5 -0
- package/dist/ocado.astro +41 -0
- package/dist/ocado.astro.d.ts +5 -0
- package/dist/offsec.astro +41 -0
- package/dist/offsec.astro.d.ts +5 -0
- package/dist/omega.astro +41 -0
- package/dist/omega.astro.d.ts +5 -0
- package/dist/oomol.astro +41 -0
- package/dist/oomol.astro.d.ts +5 -0
- package/dist/openvsx.astro +41 -0
- package/dist/openvsx.astro.d.ts +5 -0
- package/dist/paypay.astro +41 -0
- package/dist/paypay.astro.d.ts +5 -0
- package/dist/philips.astro +41 -0
- package/dist/philips.astro.d.ts +5 -0
- package/dist/pixar.astro +41 -0
- package/dist/pixar.astro.d.ts +5 -0
- package/dist/prada.astro +41 -0
- package/dist/prada.astro.d.ts +5 -0
- package/dist/project-gutenberg.astro +41 -0
- package/dist/project-gutenberg.astro.d.ts +5 -0
- package/dist/pwc.astro +41 -0
- package/dist/pwc.astro.d.ts +5 -0
- package/dist/qris.astro +41 -0
- package/dist/qris.astro.d.ts +5 -0
- package/dist/radius.astro +41 -0
- package/dist/radius.astro.d.ts +5 -0
- package/dist/retain.astro +41 -0
- package/dist/retain.astro.d.ts +5 -0
- package/dist/rolling-stone.astro +41 -0
- package/dist/rolling-stone.astro.d.ts +5 -0
- package/dist/rolls-royce-motor-cars.astro +41 -0
- package/dist/rolls-royce-motor-cars.astro.d.ts +5 -0
- package/dist/saab.astro +41 -0
- package/dist/saab.astro.d.ts +5 -0
- package/dist/scandinavian-airlines.astro +41 -0
- package/dist/scandinavian-airlines.astro.d.ts +5 -0
- package/dist/seoul-broadcasting-system.astro +41 -0
- package/dist/seoul-broadcasting-system.astro.d.ts +5 -0
- package/dist/serpapi.astro +41 -0
- package/dist/serpapi.astro.d.ts +5 -0
- package/dist/sonatypenexus.astro +41 -0
- package/dist/sonatypenexus.astro.d.ts +5 -0
- package/dist/songsterr.astro +41 -0
- package/dist/songsterr.astro.d.ts +5 -0
- package/dist/sony-music.astro +41 -0
- package/dist/sony-music.astro.d.ts +5 -0
- package/dist/spectr.astro +41 -0
- package/dist/spectr.astro.d.ts +5 -0
- package/dist/stadler.astro +41 -0
- package/dist/stadler.astro.d.ts +5 -0
- package/dist/stellantis.astro +41 -0
- package/dist/stellantis.astro.d.ts +5 -0
- package/dist/sumup.astro +41 -0
- package/dist/sumup.astro.d.ts +5 -0
- package/dist/tanstack.astro +2 -2
- package/dist/tapetide.astro +41 -0
- package/dist/tapetide.astro.d.ts +5 -0
- package/dist/texas-instruments.astro +41 -0
- package/dist/texas-instruments.astro.d.ts +5 -0
- package/dist/the-new-yorker.astro +41 -0
- package/dist/the-new-yorker.astro.d.ts +5 -0
- package/dist/the-wall-street-journal.astro +41 -0
- package/dist/the-wall-street-journal.astro.d.ts +5 -0
- package/dist/time.astro +41 -0
- package/dist/time.astro.d.ts +5 -0
- package/dist/togg.astro +41 -0
- package/dist/togg.astro.d.ts +5 -0
- package/dist/trafficdotcv.astro +41 -0
- package/dist/trafficdotcv.astro.d.ts +5 -0
- package/dist/tv-azteca.astro +41 -0
- package/dist/tv-azteca.astro.d.ts +5 -0
- package/dist/twingate.astro +41 -0
- package/dist/twingate.astro.d.ts +5 -0
- package/dist/typesafe-ai.astro +41 -0
- package/dist/typesafe-ai.astro.d.ts +5 -0
- package/dist/universal-music-group.astro +41 -0
- package/dist/universal-music-group.astro.d.ts +5 -0
- package/dist/vans.astro +41 -0
- package/dist/vans.astro.d.ts +5 -0
- package/dist/vegaaltair.astro +41 -0
- package/dist/vegaaltair.astro.d.ts +5 -0
- package/dist/vgen.astro +41 -0
- package/dist/vgen.astro.d.ts +5 -0
- package/dist/virastack.astro +41 -0
- package/dist/virastack.astro.d.ts +5 -0
- package/dist/vogue.astro +41 -0
- package/dist/vogue.astro.d.ts +5 -0
- package/dist/vramglass.astro +41 -0
- package/dist/vramglass.astro.d.ts +5 -0
- package/dist/vrr.astro +41 -0
- package/dist/vrr.astro.d.ts +5 -0
- package/dist/writeupcafe.astro +41 -0
- package/dist/writeupcafe.astro.d.ts +5 -0
- package/dist/xquik.astro +41 -0
- package/dist/xquik.astro.d.ts +5 -0
- package/dist/yara.astro +41 -0
- package/dist/yara.astro.d.ts +5 -0
- package/dist/zensical.astro +41 -0
- package/dist/zensical.astro.d.ts +5 -0
- package/dist/zilliz.astro +41 -0
- package/dist/zilliz.astro.d.ts +5 -0
- package/package.json +2 -2
- package/dist/99designs.astro.d.ts +0 -5
package/dist/vrr.astro
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
---
|
|
2
|
+
// @thesvg/astro - VRR. Auto-generated. Do not edit.
|
|
3
|
+
import type { HTMLAttributes } from "astro/types";
|
|
4
|
+
|
|
5
|
+
export interface Props extends HTMLAttributes<"svg"> {
|
|
6
|
+
/** Width and height. Numbers are pixels. Defaults to "1em". */
|
|
7
|
+
size?: number | string;
|
|
8
|
+
/** Sets the CSS color. */
|
|
9
|
+
color?: string;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
const { size = "1em", color, class: className, style, ...rest } = Astro.props;
|
|
13
|
+
// Style may be a string or an object (kebab-case or camelCase keys).
|
|
14
|
+
const styleText =
|
|
15
|
+
style && typeof style === "object"
|
|
16
|
+
? Object.entries(style)
|
|
17
|
+
.filter(([, v]) => v !== null && v !== undefined && v !== "")
|
|
18
|
+
.map(([k, v]) => `${k.startsWith("--") ? k : k.replace(/[A-Z]/g, (m) => "-" + m.toLowerCase())}:${v}`)
|
|
19
|
+
.join(";")
|
|
20
|
+
: typeof style === "string"
|
|
21
|
+
? style
|
|
22
|
+
: "";
|
|
23
|
+
const inlineStyle = ["", color ? `color:${color}` : "", styleText]
|
|
24
|
+
.map((part) => part.replace(/;\s*$/, ""))
|
|
25
|
+
.filter(Boolean)
|
|
26
|
+
.join(";");
|
|
27
|
+
const classes = ["", className].filter(Boolean).join(" ");
|
|
28
|
+
const rootAttrs = {};
|
|
29
|
+
const markup = "<path d=\"M14.433 9.997h1.609c.85 0 1.566.294 1.566 1.262 0 .581-.31 1.033-.898 1.14l1.057 1.754H16.67l-.87-1.661h-.451v1.66h-.916zm.916 1.72h.54c.334 0 .769-.012.769-.464 0-.416-.376-.481-.71-.481h-.6v.945m-4.718-1.72h1.608c.851 0 1.567.294 1.567 1.262 0 .581-.31 1.033-.898 1.14l1.057 1.754h-1.098l-.868-1.661h-.452v1.66h-.916zm.916 1.72h.54c.334 0 .769-.012.769-.464 0-.416-.376-.481-.71-.481h-.6zm-5.457-1.72h1.044l1.027 2.724h.012l1.045-2.724h.98l-1.713 4.156H7.75zM11.474 0 1.296 5.71v12.484L11.474 24v-3.782L4.559 16.14V7.73l6.915-3.937zm1.04 0v3.792l6.914 3.937v8.411l-6.914 4.078V24l10.19-5.806V5.71z\"/>";
|
|
30
|
+
---
|
|
31
|
+
<svg
|
|
32
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
33
|
+
viewBox="0 0 24 24"
|
|
34
|
+
fill="#008339"
|
|
35
|
+
width={size}
|
|
36
|
+
height={size}
|
|
37
|
+
{...rootAttrs}
|
|
38
|
+
class={classes || undefined}
|
|
39
|
+
style={inlineStyle || undefined}
|
|
40
|
+
{...rest}
|
|
41
|
+
><Fragment set:html={markup} /></svg>
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
---
|
|
2
|
+
// @thesvg/astro - WriteUpCafe. Auto-generated. Do not edit.
|
|
3
|
+
import type { HTMLAttributes } from "astro/types";
|
|
4
|
+
|
|
5
|
+
export interface Props extends HTMLAttributes<"svg"> {
|
|
6
|
+
/** Width and height. Numbers are pixels. Defaults to "1em". */
|
|
7
|
+
size?: number | string;
|
|
8
|
+
/** Sets the CSS color. */
|
|
9
|
+
color?: string;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
const { size = "1em", color, class: className, style, ...rest } = Astro.props;
|
|
13
|
+
// Style may be a string or an object (kebab-case or camelCase keys).
|
|
14
|
+
const styleText =
|
|
15
|
+
style && typeof style === "object"
|
|
16
|
+
? Object.entries(style)
|
|
17
|
+
.filter(([, v]) => v !== null && v !== undefined && v !== "")
|
|
18
|
+
.map(([k, v]) => `${k.startsWith("--") ? k : k.replace(/[A-Z]/g, (m) => "-" + m.toLowerCase())}:${v}`)
|
|
19
|
+
.join(";")
|
|
20
|
+
: typeof style === "string"
|
|
21
|
+
? style
|
|
22
|
+
: "";
|
|
23
|
+
const inlineStyle = ["", color ? `color:${color}` : "", styleText]
|
|
24
|
+
.map((part) => part.replace(/;\s*$/, ""))
|
|
25
|
+
.filter(Boolean)
|
|
26
|
+
.join(";");
|
|
27
|
+
const classes = ["", className].filter(Boolean).join(" ");
|
|
28
|
+
const rootAttrs = {};
|
|
29
|
+
const markup = "<path d=\"M23.262 7.82c.159.537.331 1.056.454 1.587.102.441.168.894.21 1.345.049.536.084 1.077.071 1.614a11.6 11.6 0 0 1-.269 2.192 12 12 0 0 1-1.115 3.058c-.37.697-.794 1.36-1.31 1.96-.294.344-.582.698-.906 1.012a12.3 12.3 0 0 1-2.308 1.763 11.8 11.8 0 0 1-3.365 1.343c-.493.114-1 .176-1.504.232q-.65.072-1.302.074a12 12 0 0 1-3.073-.414 11.3 11.3 0 0 1-2.212-.84c-.74-.372-1.455-.799-2.087-1.342a22 22 0 0 1-1.27-1.164A10.8 10.8 0 0 1 1.7 18.172c-.502-.836-.914-1.715-1.173-2.655-.164-.595-.277-1.205-.4-1.81-.172-.847-.132-1.707-.1-2.56.023-.581.137-1.163.25-1.737.17-.86.453-1.686.836-2.476q.028-.056.059-.11c.002-.003.01-.002.043-.007q.151.445.302.897c.087.265.145.543.262.794.141.3-.048.543-.087.81-.079.535-.21 1.064-.278 1.601a9 9 0 0 0-.073 1.376 10.7 10.7 0 0 0 1.21 4.617c.33.623.703 1.222 1.164 1.759.259.302.506.616.79.894a10.8 10.8 0 0 0 3.202 2.182c.817.363 1.67.61 2.555.762a10.6 10.6 0 0 0 2.404.13 10.3 10.3 0 0 0 3.263-.736c.967-.39 1.872-.895 2.673-1.569.42-.354.839-.716 1.217-1.114.527-.556.975-1.177 1.366-1.84.44-.748.8-1.532 1.02-2.37a14 14 0 0 0 .36-1.801c.072-.563.1-1.139.072-1.705-.029-.59-.143-1.175-.232-1.76-.032-.205-.103-.403-.151-.605a.3.3 0 0 1 .002-.143q.316-.928.634-1.854c.01-.025.028-.047.058-.096.109.27.207.515.313.773zm-4.789 9.84c-.17.516-.34 1.017-.511 1.517-.12.349-.24.697-.368 1.042-.019.05-.09.115-.138.115q-2.167.007-4.345.005l-1.08-3.37-.042-.002-.253.753-.842 2.5c-.028.085-.068.122-.165.121a848 848 0 0 0-4.211 0c-.108 0-.14-.046-.168-.138q-.638-1.994-1.28-3.987l-.951-2.969-.917-2.868-.921-2.885c-.159-.498-.313-.998-.473-1.495l-.752-2.305c-.012-.038-.01-.082-.015-.14h.172c1.276 0 2.551.004 3.827-.003.145-.001.194.05.23.18q.464 1.654.939 3.307c.239.833.49 1.663.727 2.497q.45 1.585.88 3.175.3 1.1.569 2.21c.118.491.208.99.312 1.485a.3.3 0 0 0 .085.157q.119-.522.244-1.045c.173-.722.339-1.447.527-2.165.19-.724.403-1.441.6-2.163.014-.045-.011-.104-.027-.154l-.78-2.445-.879-2.75-.727-2.27h2.763l-.956 5.05c.48.146.862.433 1.177.8a4.24 4.24 0 0 1 .864 1.668c.07.257.123.52.186.78a.23.23 0 0 0 .093.145v-4.73c-.43-.125-.659-.486-.486-1.008.049-.146.208-.287.352-.36.123-.061.152-.114.151-.234q-.004-.944-.002-1.887v-.192h.418c-.016.366-.04.727-.047 1.089q-.011.559.001 1.117c0 .036.06.083.102.106.268.14.415.353.405.66-.01.302-.142.524-.423.656-.044.02-.085.098-.086.15q-.024 2.212-.04 4.425c0 .03.004.06.04.11.024-.042.06-.082.068-.126.144-.763.39-1.488.849-2.12.342-.474.767-.858 1.367-1.046l-.958-5.06H16.5l-.748 2.22q-.833 2.474-1.67 4.947c-.082.24.052.439.106.652.291 1.152.593 2.302.881 3.455.14.559.256 1.123.426 1.697.041-.152.086-.304.122-.458.189-.798.355-1.603.568-2.395.328-1.22.682-2.435 1.035-3.65.31-1.066.637-2.127.951-3.192q.468-1.59.929-3.18c.031-.109.109-.105.196-.105h3.922c-1.586 4.713-3.164 9.402-4.744 14.106M13.073 0c.226.037.435.07.642.11.513.102 1.032.185 1.537.318a11 11 0 0 1 2.332.926c.67.356 1.308.762 1.895 1.245.124.101.25.2.417.333h-.2c-.542 0-1.087-.026-1.628.009-.37.024-.658-.115-.955-.288a8.6 8.6 0 0 0-2.015-.853c-.497-.14-1.004-.248-1.508-.357a4 4 0 0 0-.66-.084c-.423-.022-.85-.055-1.273-.034-1.18.058-2.33.272-3.437.706-.605.238-1.189.514-1.742.856a.34.34 0 0 1-.171.043c-.708.003-1.416.002-2.182.002A11.7 11.7 0 0 1 7.265.95C8.398.458 9.584.17 10.815.014 11.564 0 12.31 0 13.073 0\"/>";
|
|
30
|
+
---
|
|
31
|
+
<svg
|
|
32
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
33
|
+
viewBox="0 0 24 24"
|
|
34
|
+
fill="#C05A18"
|
|
35
|
+
width={size}
|
|
36
|
+
height={size}
|
|
37
|
+
{...rootAttrs}
|
|
38
|
+
class={classes || undefined}
|
|
39
|
+
style={inlineStyle || undefined}
|
|
40
|
+
{...rest}
|
|
41
|
+
><Fragment set:html={markup} /></svg>
|
package/dist/xquik.astro
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
---
|
|
2
|
+
// @thesvg/astro - Xquik. Auto-generated. Do not edit.
|
|
3
|
+
import type { HTMLAttributes } from "astro/types";
|
|
4
|
+
|
|
5
|
+
export interface Props extends HTMLAttributes<"svg"> {
|
|
6
|
+
/** Width and height. Numbers are pixels. Defaults to "1em". */
|
|
7
|
+
size?: number | string;
|
|
8
|
+
/** Sets the CSS color (no effect: this icon has fixed brand colors). */
|
|
9
|
+
color?: string;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
const { size = "1em", color, class: className, style, ...rest } = Astro.props;
|
|
13
|
+
// Style may be a string or an object (kebab-case or camelCase keys).
|
|
14
|
+
const styleText =
|
|
15
|
+
style && typeof style === "object"
|
|
16
|
+
? Object.entries(style)
|
|
17
|
+
.filter(([, v]) => v !== null && v !== undefined && v !== "")
|
|
18
|
+
.map(([k, v]) => `${k.startsWith("--") ? k : k.replace(/[A-Z]/g, (m) => "-" + m.toLowerCase())}:${v}`)
|
|
19
|
+
.join(";")
|
|
20
|
+
: typeof style === "string"
|
|
21
|
+
? style
|
|
22
|
+
: "";
|
|
23
|
+
const inlineStyle = ["", color ? `color:${color}` : "", styleText]
|
|
24
|
+
.map((part) => part.replace(/;\s*$/, ""))
|
|
25
|
+
.filter(Boolean)
|
|
26
|
+
.join(";");
|
|
27
|
+
const classes = ["", className].filter(Boolean).join(" ");
|
|
28
|
+
const rootAttrs = {};
|
|
29
|
+
const markup = "<path fill=\"#4c2626\" d=\"M0 0h512v512H0z\"/><path fill=\"#f5f3f0\" d=\"M131.29 412.05q1.13-11.34 3.59-18.14 2.46-6.81 6.43-11.91 3.96-5.1 9.63-11.15 12.47-13.22 22.3-23.8 9.82-10.59 19.27-20.98t20.22-23.24 25.13-30.23q-1.51-12.85-2.64-24.75-1.14-11.91-1.89-22.68-.76-10.77-1.14-20.41-.38-9.63-.75-17.95-1.14-26.45-2.46-43.08t-5.48-24.56q-4.16-7.94-14.36-7.94-9.45 0-16.25 5.48t-11.34 14.36q-4.53 8.88-6.8 18.71-2.27 9.82-2.27 18.89 0 13.23 4.92 24.19-18.52 0-26.08-8.31-7.56-8.32-7.56-20.41t6.05-24q6.05-11.9 16.25-21.73 10.2-9.82 23.43-15.87t27.96-6.05q18.14 0 28.72 9.45 10.59 9.45 15.69 24.75 5.1 15.31 6.61 33.26t1.7 35.33q.19 17.39.95 30.61 29.09-39.3 49.69-73.5t34.2-61.78q3.02 1.88 6.8 8.12t3.78 11.9q0 7.56-7.37 22.11t-20.21 34.01q-12.85 19.46-29.86 41.95t-36.28 45.92q1.14 23.8 3.78 45.72 2.65 21.92 6.99 39.12 4.35 17.19 10.77 27.2 6.43 10.02 14.74 10.02 12.09 0 28.34-20.97 16.25-20.98 38.17-58.77l8.32 6.8q-15.5 30.61-28.54 51.02-13.03 20.41-26.26 30.8t-29.48 10.39-26.83-9.45q-10.58-9.44-17-24.75-6.43-15.3-9.64-33.25t-5.1-34.96q-21.92 26.08-43.46 49.32t-38.74 40.43q-17.19 17.2-26.64 24.76\"/>";
|
|
30
|
+
---
|
|
31
|
+
<svg
|
|
32
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
33
|
+
viewBox="0 0 512 512"
|
|
34
|
+
fill="currentColor"
|
|
35
|
+
width={size}
|
|
36
|
+
height={size}
|
|
37
|
+
{...rootAttrs}
|
|
38
|
+
class={classes || undefined}
|
|
39
|
+
style={inlineStyle || undefined}
|
|
40
|
+
{...rest}
|
|
41
|
+
><Fragment set:html={markup} /></svg>
|
package/dist/yara.astro
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
---
|
|
2
|
+
// @thesvg/astro - YARA. Auto-generated. Do not edit.
|
|
3
|
+
import type { HTMLAttributes } from "astro/types";
|
|
4
|
+
|
|
5
|
+
export interface Props extends HTMLAttributes<"svg"> {
|
|
6
|
+
/** Width and height. Numbers are pixels. Defaults to "1em". */
|
|
7
|
+
size?: number | string;
|
|
8
|
+
/** Sets the CSS color. */
|
|
9
|
+
color?: string;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
const { size = "1em", color, class: className, style, ...rest } = Astro.props;
|
|
13
|
+
// Style may be a string or an object (kebab-case or camelCase keys).
|
|
14
|
+
const styleText =
|
|
15
|
+
style && typeof style === "object"
|
|
16
|
+
? Object.entries(style)
|
|
17
|
+
.filter(([, v]) => v !== null && v !== undefined && v !== "")
|
|
18
|
+
.map(([k, v]) => `${k.startsWith("--") ? k : k.replace(/[A-Z]/g, (m) => "-" + m.toLowerCase())}:${v}`)
|
|
19
|
+
.join(";")
|
|
20
|
+
: typeof style === "string"
|
|
21
|
+
? style
|
|
22
|
+
: "";
|
|
23
|
+
const inlineStyle = ["", color ? `color:${color}` : "", styleText]
|
|
24
|
+
.map((part) => part.replace(/;\s*$/, ""))
|
|
25
|
+
.filter(Boolean)
|
|
26
|
+
.join(";");
|
|
27
|
+
const classes = ["", className].filter(Boolean).join(" ");
|
|
28
|
+
const rootAttrs = {};
|
|
29
|
+
const markup = "<path d=\"m4.46 12 .002 4.119H2.698c-.063 0-.096.004-.074-.083.032-.13.059-.266.104-.389.03-.081.072-.152.103-.23.032-.08.088-.167.023-.262-.03-.044-.064-.074-.12-.072-.12.005-.239.015-.358.011-.086-.002-.177 0-.254-.056-.061-.044-.087-.09-.125-.173a.4.4 0 0 1-.04-.136c-.014-.128.031-.19.074-.276.08-.165.161-.308.248-.457.078-.134.179-.255.27-.38.163-.226.33-.449.471-.689.055-.092.114-.189.103-.31-.01-.124-.062-.187-.175-.235q-.153-.063-.309-.112c-.11-.037-.224-.07-.335-.11q-.159-.054-.318-.113l-.048-.016c-.008-.003-.052-.013-.053-.018-.002-.012.01-.012.017-.015.084-.032.154-.053.23-.08q.127-.045.255-.08l.203-.059q.12-.035.238-.072l.208-.063c.12-.04.247-.073.3-.191a.2.2 0 0 0 .012-.055.94.94 0 0 0-.076-.431c-.038-.104-.078-.208-.11-.314-.034-.11-.081-.218-.116-.329a4 4 0 0 1-.051-.182q-.037-.145-.065-.285a2.4 2.4 0 0 1-.047-.502.48.48 0 0 1 .1-.32.33.33 0 0 1 .179-.118 1.6 1.6 0 0 1 .557-.03c.114.01.246.013.284-.11.015-.046.008-.103.008-.154.003-.147-.01-.279-.003-.447.003-.062.008-.132.008-.199.001-.096 0-.096.1-.096l.346.002v.081q-.003 1.362-.002 2.723zM2.462 7.881a1.7 1.7 0 0 0-.539.302c-.125.1-.223.225-.306.366a1.3 1.3 0 0 0-.16.427c-.014.079-.014.162-.015.243-.001.118-.009.237.009.352.019.12.036.242.07.362.022.08.038.164.06.246.025.084.056.175.076.248l.044.155q.048.183.108.365c.018.055.013.037.042.15.025.096-.02.14-.114.169q-.188.056-.374.125-.155.055-.317.102a.3.3 0 0 0-.19.209c-.032.128-.048.247-.067.375a3 3 0 0 0-.019.185c-.014.2.055.212.206.274l.308.121.157.06a.6.6 0 0 1 .12.057c.037.025.022.068-.003.107-.104.16-.225.308-.345.457a5 5 0 0 0-.472.68c-.085.153-.143.322-.206.488a1.4 1.4 0 0 0-.075.725c.011.072.034.137.054.204a1 1 0 0 0 .159.324 1 1 0 0 0 .439.327c.01.004.027.003.025.019s-.019.011-.03.011l-.33.002H0s.004-2.45.004-3.64C.004 10.973 0 7.883 0 7.883l2.37-.002zm4.376 1.662v3.012q0 .72.755.72h1.193V9.542h1.302v5.006q0 .792-.414 1.056-.415.264-.515.314a2 2 0 0 1-.227.096 3.3 3.3 0 0 1-.793.09H5.6V15.05h2.639a.54.54 0 0 0 .383-.155.5.5 0 0 0 .164-.373v-.191H7.293q-.456 0-.733-.1t-.659-.483-.383-1.093V9.543zm5.2 4.788q-.602 0-1.007-.397a1.3 1.3 0 0 1-.405-.978q0-.62.378-1.024.378-.405.951-.405h2.267v-.255a.62.62 0 0 0-.218-.5q-.219-.183-.628-.182h-2.431V9.543h2.886q.373 0 .669.118.296.12.546.356.25.237.369.611.118.375.118.976v2.727zm2.185-1.057v-.846h-1.657a.6.6 0 0 0-.4.136.42.42 0 0 0-.164.337q0 .154.145.264a.6.6 0 0 0 .365.11zm1.976-3.732h1.32v.655q.127-.33.405-.544.278-.21.732-.211.11 0 .3.036v1.12h-1.437v3.732h-1.32zm4.305 4.789q-.6 0-1.006-.397a1.3 1.3 0 0 1-.405-.978q0-.62.378-1.024.377-.405.951-.405h2.267v-.255a.62.62 0 0 0-.219-.5q-.218-.183-.628-.182h-2.43V9.543h2.885q.374 0 .67.118.296.12.546.356.25.237.369.611.117.375.118.976v2.727zm2.185-1.057v-.846h-1.657a.6.6 0 0 0-.4.136.42.42 0 0 0-.164.337q0 .154.145.264a.6.6 0 0 0 .364.11z\"/>";
|
|
30
|
+
---
|
|
31
|
+
<svg
|
|
32
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
33
|
+
viewBox="0 0 24 24"
|
|
34
|
+
fill="#C42A2B"
|
|
35
|
+
width={size}
|
|
36
|
+
height={size}
|
|
37
|
+
{...rootAttrs}
|
|
38
|
+
class={classes || undefined}
|
|
39
|
+
style={inlineStyle || undefined}
|
|
40
|
+
{...rest}
|
|
41
|
+
><Fragment set:html={markup} /></svg>
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
---
|
|
2
|
+
// @thesvg/astro - Zensical. Auto-generated. Do not edit.
|
|
3
|
+
import type { HTMLAttributes } from "astro/types";
|
|
4
|
+
|
|
5
|
+
export interface Props extends HTMLAttributes<"svg"> {
|
|
6
|
+
/** Width and height. Numbers are pixels. Defaults to "1em". */
|
|
7
|
+
size?: number | string;
|
|
8
|
+
/** Sets the CSS color. */
|
|
9
|
+
color?: string;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
const { size = "1em", color, class: className, style, ...rest } = Astro.props;
|
|
13
|
+
// Style may be a string or an object (kebab-case or camelCase keys).
|
|
14
|
+
const styleText =
|
|
15
|
+
style && typeof style === "object"
|
|
16
|
+
? Object.entries(style)
|
|
17
|
+
.filter(([, v]) => v !== null && v !== undefined && v !== "")
|
|
18
|
+
.map(([k, v]) => `${k.startsWith("--") ? k : k.replace(/[A-Z]/g, (m) => "-" + m.toLowerCase())}:${v}`)
|
|
19
|
+
.join(";")
|
|
20
|
+
: typeof style === "string"
|
|
21
|
+
? style
|
|
22
|
+
: "";
|
|
23
|
+
const inlineStyle = ["", color ? `color:${color}` : "", styleText]
|
|
24
|
+
.map((part) => part.replace(/;\s*$/, ""))
|
|
25
|
+
.filter(Boolean)
|
|
26
|
+
.join(";");
|
|
27
|
+
const classes = ["", className].filter(Boolean).join(" ");
|
|
28
|
+
const rootAttrs = {};
|
|
29
|
+
const markup = "<path d=\"M12 0c6.627 0 12 5.374 12 12 0 1.765-.383 3.442-1.068 4.954a2.51 2.51 0 0 1-2.32 1.496H8.498c-2.597 0-3.525-3.456-1.274-4.757l2.807-1.619.646 1.776-2.533 1.464c-.61.352-.36 1.291.346 1.291h4.193a8631 8631 0 0 1-3.02-8.3h1.979l.854 2.347 3.427-1.979c.611-.352.362-1.291-.346-1.291H3.387a.67.67 0 0 0-.626.405A10.1 10.1 0 0 0 1.847 12c0 5.607 4.544 10.153 10.153 10.153.606 0 1.203-.053 1.782-.155a.69.69 0 0 0 .53-.919l-.623-1.708h1.981l.387 1.062a2.538 2.538 0 0 1-1.952 3.38Q13.08 23.998 12 24C5.373 24 0 18.626 0 12c0-1.775.386-3.458 1.078-4.975a2.5 2.5 0 0 1 2.318-1.491h5.259l-.717-1.968A2.54 2.54 0 0 1 9.887.186 12 12 0 0 1 12 0m9.249 16.197c.582-1.28.904-2.7.904-4.198C22.153 6.39 17.606 1.846 12 1.846q-.918.001-1.789.155a.69.69 0 0 0-.53.919l.951 2.612h4.934c2.6 0 3.525 3.456 1.274 4.757l-3.7 2.134 1.522 4.177h5.958a.68.68 0 0 0 .63-.404Z\"/>";
|
|
30
|
+
---
|
|
31
|
+
<svg
|
|
32
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
33
|
+
viewBox="0 0 24 24"
|
|
34
|
+
fill="#FFA656"
|
|
35
|
+
width={size}
|
|
36
|
+
height={size}
|
|
37
|
+
{...rootAttrs}
|
|
38
|
+
class={classes || undefined}
|
|
39
|
+
style={inlineStyle || undefined}
|
|
40
|
+
{...rest}
|
|
41
|
+
><Fragment set:html={markup} /></svg>
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
---
|
|
2
|
+
// @thesvg/astro - Zilliz. Auto-generated. Do not edit.
|
|
3
|
+
import type { HTMLAttributes } from "astro/types";
|
|
4
|
+
|
|
5
|
+
export interface Props extends HTMLAttributes<"svg"> {
|
|
6
|
+
/** Width and height. Numbers are pixels. Defaults to "1em". */
|
|
7
|
+
size?: number | string;
|
|
8
|
+
/** Sets the CSS color. */
|
|
9
|
+
color?: string;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
const { size = "1em", color, class: className, style, ...rest } = Astro.props;
|
|
13
|
+
// Style may be a string or an object (kebab-case or camelCase keys).
|
|
14
|
+
const styleText =
|
|
15
|
+
style && typeof style === "object"
|
|
16
|
+
? Object.entries(style)
|
|
17
|
+
.filter(([, v]) => v !== null && v !== undefined && v !== "")
|
|
18
|
+
.map(([k, v]) => `${k.startsWith("--") ? k : k.replace(/[A-Z]/g, (m) => "-" + m.toLowerCase())}:${v}`)
|
|
19
|
+
.join(";")
|
|
20
|
+
: typeof style === "string"
|
|
21
|
+
? style
|
|
22
|
+
: "";
|
|
23
|
+
const inlineStyle = ["", color ? `color:${color}` : "", styleText]
|
|
24
|
+
.map((part) => part.replace(/;\s*$/, ""))
|
|
25
|
+
.filter(Boolean)
|
|
26
|
+
.join(";");
|
|
27
|
+
const classes = ["", className].filter(Boolean).join(" ");
|
|
28
|
+
const rootAttrs = {};
|
|
29
|
+
const markup = "<path d=\"M11.25 16.317V24h1.5v-9.2l3.989 6.908a11 11 0 0 0 1.298-.752l-4.366-7.562 4.808 1.75a7 7 0 0 0 .51-1.41l-2.701-.984H24v-1.5h-9.201l6.909-3.989a11 11 0 0 0-.752-1.298l-7.517 4.34 1.735-4.767a7 7 0 0 0-1.408-.518L12.75 7.81V0h-1.5v9.2L7.261 2.293a11 11 0 0 0-1.298.752l4.348 7.53-4.78-1.739a7 7 0 0 0-.515 1.409L7.78 11.25H0v1.5h9.2l-6.908 3.989a11 11 0 0 0 .752 1.298l7.576-4.374-1.755 4.82a7 7 0 0 0 1.411.51z\"/>";
|
|
30
|
+
---
|
|
31
|
+
<svg
|
|
32
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
33
|
+
viewBox="0 0 24 24"
|
|
34
|
+
fill="#2858FF"
|
|
35
|
+
width={size}
|
|
36
|
+
height={size}
|
|
37
|
+
{...rootAttrs}
|
|
38
|
+
class={classes || undefined}
|
|
39
|
+
style={inlineStyle || undefined}
|
|
40
|
+
{...rest}
|
|
41
|
+
><Fragment set:html={markup} /></svg>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thesvg/astro",
|
|
3
|
-
"version": "4.
|
|
4
|
-
"description": "Typed Astro SVG components for all
|
|
3
|
+
"version": "4.1.1",
|
|
4
|
+
"description": "Typed Astro SVG components for all 8,000+ brand icons and flags from thesvg.org",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"license": "MIT",
|