@thesvg/astro 4.0.9 → 4.0.11
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/glincker-legacy.astro +41 -0
- package/dist/glincker-legacy.astro.d.ts +5 -0
- package/dist/glinr.astro +41 -0
- package/dist/glinr.astro.d.ts +5 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/package.json +1 -1
- package/dist/glincker.astro +0 -41
- package/dist/glincker.astro.d.ts +0 -5
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
---
|
|
2
|
+
// @thesvg/astro - GLINCKER (legacy). 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 = {"version":"1.0"};
|
|
29
|
+
const markup = "<path fill=\"#fff\" fill-rule=\"evenodd\" d=\"M53.102 187.5c36.074-36.074 72.148-72.148 108.296-108.3V26.101L0 187.5l161.398 161.398v-53.097C125.324 259.727 89.176 223.574 53.102 187.5m215.699 0-26.551-26.55c-18.227 18.226-36.45 36.448-54.75 54.75l-28.2-28.2c27.075-27.074 54.223-54.227 81.302-81.3 27.074 27.073 54.222 54.152 81.296 81.3-35.921 35.926-71.921 71.926-107.847 107.852L187.5 268.8zM187.5 268.8V375L375 187.5 187.5 0v106.2c-27.074 27.073-54.227 54.152-81.3 81.3 27.527 27.523 54.152 54.074 81.3 81.3m0 0\"/><path fill-rule=\"evenodd\" d=\"M53.102 187.5c36.074-36.074 72.148-72.148 108.296-108.3V26.101L0 187.5l161.398 161.398v-53.097C125.324 259.727 89.176 223.574 53.102 187.5m215.699 0-26.551-26.55c-18.227 18.226-36.45 36.448-54.75 54.75l-28.2-28.2c27.075-27.074 54.223-54.227 81.302-81.3 27.074 27.073 54.222 54.152 81.296 81.3-35.921 35.926-71.921 71.926-107.847 107.852L187.5 268.8zM187.5 268.8V375L375 187.5 187.5 0v106.2c-27.074 27.073-54.227 54.152-81.3 81.3 27.527 27.523 54.152 54.074 81.3 81.3m0 0\"/>";
|
|
30
|
+
---
|
|
31
|
+
<svg
|
|
32
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
33
|
+
viewBox="0 0 375 375"
|
|
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/glinr.astro
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
---
|
|
2
|
+
// @thesvg/astro - GLINR Studios. 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 = "<defs><radialGradient id=\"thesvg-glinr-c\" cx=\".32\" cy=\".16\" r=\".7\"><stop offset=\"0\" stop-color=\"#fff\" stop-opacity=\".65\"/><stop offset=\"1\" stop-color=\"#fff\" stop-opacity=\"0\"/></radialGradient><linearGradient id=\"thesvg-glinr-a\" x1=\"0\" x2=\"0\" y1=\"0\" y2=\"1\"><stop offset=\"0\" stop-color=\"#fbf8f4\"/><stop offset=\"1\" stop-color=\"#ddd6cc\"/></linearGradient><clipPath id=\"thesvg-glinr-b\"><path d=\"M256 40Q40 40 40 256c0 216 72 216 216 216s216-72 216-216c0-36-2-66-10-96-102-10-166-60-144-116-18-3-38-4-62-4\"/></clipPath></defs><path fill=\"#5f5c56\" d=\"M256 60Q40 60 40 276c0 216 72 216 216 216s216-72 216-216c0-36-2-66-10-96-102-10-166-60-144-116-18-3-38-4-62-4\"/><path fill=\"url(#thesvg-glinr-a)\" d=\"M256 40Q40 40 40 256c0 216 72 216 216 216s216-72 216-216c0-36-2-66-10-96-102-10-166-60-144-116-18-3-38-4-62-4\"/><g clip-path=\"url(#thesvg-glinr-b)\"><path fill=\"#fff\" fill-opacity=\".95\" fill-rule=\"evenodd\" d=\"M256 40Q40 40 40 256c0 216 72 216 216 216s216-72 216-216c0-36-2-66-10-96-102-10-166-60-144-116-18-3-38-4-62-4m0 10Q40 50 40 266c0 216 72 216 216 216s216-72 216-216c0-36-2-66-10-96-102-10-166-60-144-116-18-3-38-4-62-4\"/><path fill-opacity=\".14\" fill-rule=\"evenodd\" d=\"M256 40Q40 40 40 256c0 216 72 216 216 216s216-72 216-216c0-36-2-66-10-96-102-10-166-60-144-116-18-3-38-4-62-4m0-10Q40 30 40 246c0 216 72 216 216 216s216-72 216-216c0-36-2-66-10-96-102-10-166-60-144-116-18-3-38-4-62-4\"/><path fill=\"url(#thesvg-glinr-c)\" d=\"M0 0h512v512H0z\"/></g><path fill=\"none\" stroke=\"#000\" stroke-opacity=\".4\" stroke-width=\"3\" d=\"M256 40Q40 40 40 256c0 216 72 216 216 216s216-72 216-216c0-36-2-66-10-96-102-10-166-60-144-116-18-3-38-4-62-4Z\"/>";
|
|
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/index.d.ts
CHANGED
|
@@ -3553,7 +3553,8 @@ export { default as Gleam } from "./gleam.astro";
|
|
|
3553
3553
|
export { default as Glide } from "./glide.astro";
|
|
3554
3554
|
export { default as Glif } from "./glif.astro";
|
|
3555
3555
|
export { default as GlimeshBadge } from "./glimesh-badge.astro";
|
|
3556
|
-
export { default as
|
|
3556
|
+
export { default as GlinckerLegacy } from "./glincker-legacy.astro";
|
|
3557
|
+
export { default as Glinr } from "./glinr.astro";
|
|
3557
3558
|
export { default as Glitch } from "./glitch.astro";
|
|
3558
3559
|
export { default as Glitchtip } from "./glitchtip.astro";
|
|
3559
3560
|
export { default as GlmV } from "./glm-v.astro";
|
package/dist/index.js
CHANGED
|
@@ -3553,7 +3553,8 @@ export { default as Gleam } from "./gleam.astro";
|
|
|
3553
3553
|
export { default as Glide } from "./glide.astro";
|
|
3554
3554
|
export { default as Glif } from "./glif.astro";
|
|
3555
3555
|
export { default as GlimeshBadge } from "./glimesh-badge.astro";
|
|
3556
|
-
export { default as
|
|
3556
|
+
export { default as GlinckerLegacy } from "./glincker-legacy.astro";
|
|
3557
|
+
export { default as Glinr } from "./glinr.astro";
|
|
3557
3558
|
export { default as Glitch } from "./glitch.astro";
|
|
3558
3559
|
export { default as Glitchtip } from "./glitchtip.astro";
|
|
3559
3560
|
export { default as GlmV } from "./glm-v.astro";
|
package/package.json
CHANGED
package/dist/glincker.astro
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
// @thesvg/astro - GLINCKER. 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 = {"zoomAndPan":"magnify","preserveAspectRatio":"xMidYMid meet","version":"1.0"};
|
|
29
|
-
const markup = "<path fill=\"#ffffff\" d=\"M 53.101562 187.5 C 89.175781 151.425781 125.25 115.351562 161.398438 79.199219 L 161.398438 26.101562 C 107.625 79.875 53.773438 133.726562 0 187.5 C 53.773438 241.273438 107.625 295.125 161.398438 348.898438 L 161.398438 295.800781 C 125.324219 259.726562 89.175781 223.574219 53.101562 187.5 Z M 268.800781 187.5 L 242.25 160.949219 C 224.023438 179.175781 205.800781 197.398438 187.5 215.699219 L 159.300781 187.5 C 186.375 160.425781 213.523438 133.273438 240.601562 106.199219 C 267.675781 133.273438 294.824219 160.351562 321.898438 187.5 C 285.976562 223.425781 249.976562 259.425781 214.050781 295.351562 L 187.5 268.800781 C 214.574219 241.726562 241.726562 214.574219 268.800781 187.5 Z M 187.5 268.800781 L 187.5 375 C 249.976562 312.523438 312.523438 249.976562 375 187.5 C 312.523438 125.023438 249.976562 62.476562 187.5 0 L 187.5 106.199219 C 160.425781 133.273438 133.273438 160.351562 106.199219 187.5 C 133.726562 215.023438 160.351562 241.574219 187.5 268.800781 Z M 187.5 268.800781 \" fill-opacity=\"1\" fill-rule=\"evenodd\"/><path fill=\"#000000\" d=\"M 53.101562 187.5 C 89.175781 151.425781 125.25 115.351562 161.398438 79.199219 L 161.398438 26.101562 C 107.625 79.875 53.773438 133.726562 0 187.5 C 53.773438 241.273438 107.625 295.125 161.398438 348.898438 L 161.398438 295.800781 C 125.324219 259.726562 89.175781 223.574219 53.101562 187.5 Z M 268.800781 187.5 L 242.25 160.949219 C 224.023438 179.175781 205.800781 197.398438 187.5 215.699219 L 159.300781 187.5 C 186.375 160.425781 213.523438 133.273438 240.601562 106.199219 C 267.675781 133.273438 294.824219 160.351562 321.898438 187.5 C 285.976562 223.425781 249.976562 259.425781 214.050781 295.351562 L 187.5 268.800781 C 214.574219 241.726562 241.726562 214.574219 268.800781 187.5 Z M 187.5 268.800781 L 187.5 375 C 249.976562 312.523438 312.523438 249.976562 375 187.5 C 312.523438 125.023438 249.976562 62.476562 187.5 0 L 187.5 106.199219 C 160.425781 133.273438 133.273438 160.351562 106.199219 187.5 C 133.726562 215.023438 160.351562 241.574219 187.5 268.800781 Z M 187.5 268.800781 \" fill-opacity=\"1\" fill-rule=\"evenodd\"/>";
|
|
30
|
-
---
|
|
31
|
-
<svg
|
|
32
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
33
|
-
viewBox="0 0 375 374.999991"
|
|
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>
|