@thesvg/astro 4.1.0 → 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/dist/index.d.ts CHANGED
@@ -30,7 +30,6 @@ export { default as I500px } from "./500px.astro";
30
30
  export { default as I500pxBadge } from "./500px-badge.astro";
31
31
  export { default as I5dive } from "./5dive.astro";
32
32
  export { default as I7zip } from "./7zip.astro";
33
- export { default as I99designs } from "./99designs.astro";
34
33
  export { default as I9gag } from "./9gag.astro";
35
34
  export { default as AFrame } from "./a-frame.astro";
36
35
  export { default as Aarch64 } from "./aarch64.astro";
package/dist/index.js CHANGED
@@ -30,7 +30,6 @@ export { default as I500px } from "./500px.astro";
30
30
  export { default as I500pxBadge } from "./500px-badge.astro";
31
31
  export { default as I5dive } from "./5dive.astro";
32
32
  export { default as I7zip } from "./7zip.astro";
33
- export { default as I99designs } from "./99designs.astro";
34
33
  export { default as I9gag } from "./9gag.astro";
35
34
  export { default as AFrame } from "./a-frame.astro";
36
35
  export { default as Aarch64 } from "./aarch64.astro";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thesvg/astro",
3
- "version": "4.1.0",
3
+ "version": "4.1.1",
4
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,
@@ -1,41 +0,0 @@
1
- ---
2
- // @thesvg/astro - 99designs. 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 = {"role":"img"};
29
- const markup = "<path d=\"M21.6504 13.7786c0 1.163-.943 2.1059-2.1059 2.1059-1.163 0-2.1059-.943-2.1059-2.1059 0-1.163.943-2.1059 2.1059-2.1059 1.163 0 2.1059.943 2.1059 2.106zm-7.557-3.5718c0 1.0842-.8775 2.0229-2.0228 2.0229-1.117 0-2.0231-.9059-2.0231-2.0229s.906-2.0231 2.0231-2.0231c1.117 0 2.0229.906 2.0229 2.0231zm-7.6605 0c0 1.0822-.8759 2.0229-2.0231 2.0229-1.117 0-2.0228-.9059-2.0228-2.0229s.9058-2.0231 2.0228-2.0231 2.0231.906 2.0231 2.0231zm11.008 7.663c.9166.3985 2.2434.466 3.1223.0578.392-.182.7534-.4776 1.0847-.8858v.8776H24V6.0624h-2.4847v4.2717c-.707-.6853-1.4491-.9773-2.451-.9773-1.0589 0-1.9244.3524-2.5844.9162.0003-.0221.0006-.044.0006-.0662 0-2.435-1.9751-4.4098-4.4099-4.4098-1.6397 0-3.0704.8951-3.8305 2.2236C7.4803 6.692 6.0493 5.797 4.4098 5.797 1.9748 5.797 0 7.7718 0 10.2068c0 2.3312 1.81 4.2403 4.101 4.399L2.188 17.9193H5.057c1.061-1.8422 2.1222-3.6844 3.1831-5.5266.712 1.244 2.0124 2.1083 3.5216 2.213l-1.913 3.3136h2.8688l2.2372-3.8842c.0665 1.5842.868 3.1305 2.4863 3.8345\"/>";
30
- ---
31
- <svg
32
- xmlns="http://www.w3.org/2000/svg"
33
- viewBox="0 0 24 24"
34
- fill="#FE5F50"
35
- width={size}
36
- height={size}
37
- {...rootAttrs}
38
- class={classes || undefined}
39
- style={inlineStyle || undefined}
40
- {...rest}
41
- ><Fragment set:html={markup} /></svg>
@@ -1,5 +0,0 @@
1
- // @thesvg/astro - 99designs. Auto-generated. Do not edit.
2
- import type { IconComponent } from "./types";
3
-
4
- declare const I99designs: IconComponent;
5
- export default I99designs;