@thesvg/react 3.2.4 → 3.2.6
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/avanza.cjs +26 -0
- package/dist/avanza.d.ts +14 -0
- package/dist/avanza.js +25 -0
- package/dist/{smmix.cjs → blogent.cjs} +4 -4
- package/dist/blogent.d.ts +14 -0
- package/dist/{smmix.js → blogent.js} +5 -5
- package/dist/eps.cjs +26 -0
- package/dist/eps.d.ts +14 -0
- package/dist/eps.js +25 -0
- package/dist/fgo.cjs +43 -0
- package/dist/fgo.d.ts +14 -0
- package/dist/fgo.js +42 -0
- package/dist/google-search-console-legacy.cjs +26 -0
- package/dist/google-search-console-legacy.d.ts +14 -0
- package/dist/google-search-console-legacy.js +25 -0
- package/dist/google-search-console.cjs +20 -3
- package/dist/google-search-console.d.ts +1 -1
- package/dist/google-search-console.js +21 -4
- package/dist/index.cjs +30 -2
- package/dist/index.d.ts +15 -1
- package/dist/index.js +15 -1
- package/dist/justcall.cjs +26 -0
- package/dist/justcall.d.ts +14 -0
- package/dist/justcall.js +25 -0
- package/dist/nfl.cjs +26 -0
- package/dist/nfl.d.ts +14 -0
- package/dist/nfl.js +25 -0
- package/dist/noom.cjs +26 -0
- package/dist/noom.d.ts +14 -0
- package/dist/noom.js +25 -0
- package/dist/oblio.cjs +26 -0
- package/dist/oblio.d.ts +14 -0
- package/dist/oblio.js +25 -0
- package/dist/pipedrive.cjs +43 -0
- package/dist/pipedrive.d.ts +14 -0
- package/dist/pipedrive.js +42 -0
- package/dist/pixelos.cjs +26 -0
- package/dist/pixelos.d.ts +14 -0
- package/dist/pixelos.js +25 -0
- package/dist/s-oil.cjs +43 -0
- package/dist/s-oil.d.ts +14 -0
- package/dist/s-oil.js +42 -0
- package/dist/siket.cjs +26 -0
- package/dist/siket.d.ts +14 -0
- package/dist/siket.js +25 -0
- package/dist/smartbill.cjs +26 -0
- package/dist/smartbill.d.ts +14 -0
- package/dist/smartbill.js +25 -0
- package/dist/wisetech-global.cjs +43 -0
- package/dist/wisetech-global.d.ts +14 -0
- package/dist/wisetech-global.js +42 -0
- package/dist/zoom-2025.cjs +20 -3
- package/dist/zoom-2025.d.ts +1 -1
- package/dist/zoom-2025.js +21 -4
- package/package.json +2 -2
- package/dist/smmix.d.ts +0 -14
package/dist/zoom-2025.js
CHANGED
|
@@ -1,13 +1,30 @@
|
|
|
1
1
|
// @thesvg/react — Zoom (2025)
|
|
2
2
|
// Auto-generated. Do not edit.
|
|
3
|
-
// Variants: default,
|
|
3
|
+
// Variants: default, light, wordmark
|
|
4
4
|
|
|
5
|
-
import { forwardRef, createElement } from 'react';
|
|
5
|
+
import { forwardRef, createElement, useId } from 'react';
|
|
6
6
|
|
|
7
|
-
const _variants = {"default":{"viewBox":"0 0
|
|
7
|
+
const _variants = {"default":{"viewBox":"0 0 512 512","fill":"currentColor","childNodes":[{"type":"title","props":{},"children":["Zoom"]},{"type":"defs","props":{},"children":[{"type":"linearGradient","props":{"id":"zoom-2025-gradient","x1":"0","x2":"1","y1":"0","y2":"0","gradientTransform":"rotate(-60 88.792 30.85)scale(109.282)","gradientUnits":"userSpaceOnUse"},"children":[{"type":"stop","props":{"offset":"0","stopColor":"#0845bf"},"children":[]},{"type":"stop","props":{"offset":".6","stopColor":"#0b5cff"},"children":[]},{"type":"stop","props":{"offset":"1","stopColor":"#4f90ee"},"children":[]}]}]},{"type":"path","props":{"fill":"url(#zoom-2025-gradient)","d":"M84.06 37.19V52.8c0 17.25-14 31.25-31.25 31.25H37.2c-17.25 0-31.25-14-31.25-31.25V37.2c0-17.25 14-31.25 31.25-31.25h15.6c17.25 0 31.25 14 31.25 31.25","transform":"matrix(6.4 0 0 6.4 -32 -32)"},"children":[]},{"type":"path","props":{"fill":"#fff","d":"M152.08 295.51H88.07c-4.49 0-8.5-2.67-10.22-6.82a11.05 11.05 0 0 1 2.4-12.07l44.33-44.33H92.81a15.8 15.8 0 0 1-15.8-15.8h59.02c4.5 0 8.5 2.68 10.22 6.83a11 11 0 0 1-2.4 12.05l-44.33 44.34h36.75a15.8 15.8 0 0 1 15.81 15.8M435 246.11a30.86 30.86 0 0 0-30.82-30.81 30.8 30.8 0 0 0-22.92 10.24 30.8 30.8 0 0 0-22.92-10.24 30.86 30.86 0 0 0-30.82 30.82v49.4a15.8 15.8 0 0 0 15.8-15.81v-33.6a15.03 15.03 0 0 1 30.03 0v33.6a15.8 15.8 0 0 0 15.81 15.8v-49.4a15.03 15.03 0 0 1 30.04 0v33.6a15.8 15.8 0 0 0 15.8 15.8zm-115.38 9.9a40.7 40.7 0 1 1-81.4-.01 40.7 40.7 0 0 1 81.4 0m-15.8 0a24.9 24.9 0 1 0-49.8-.01 24.9 24.9 0 0 0 49.8 0m-71.92 0a40.7 40.7 0 1 1-81.4 0 40.7 40.7 0 0 1 81.4 0m-15.8 0a24.9 24.9 0 1 0-49.8-.01 24.9 24.9 0 0 0 49.8 0"},"children":[]}]},"light":{"viewBox":"0 0 512 512","fill":"currentColor","childNodes":[{"type":"title","props":{},"children":["Zoom"]},{"type":"path","props":{"fill":"#fff","d":"M506 206v100c0 110.38-89.62 200-200 200H206C95.62 506 6 416.38 6 306V206C6 95.62 95.62 6 206 6h100c110.38 0 200 89.62 200 200"},"children":[]},{"type":"path","props":{"fill":"#0b5cff","d":"M152.08 295.51H88.07c-4.49 0-8.5-2.67-10.22-6.82a11.05 11.05 0 0 1 2.4-12.07l44.33-44.33H92.81a15.8 15.8 0 0 1-15.8-15.8h59.02c4.5 0 8.5 2.68 10.22 6.83a11 11 0 0 1-2.4 12.05l-44.33 44.34h36.75a15.8 15.8 0 0 1 15.81 15.8M435 246.11a30.86 30.86 0 0 0-30.82-30.81 30.8 30.8 0 0 0-22.92 10.24 30.8 30.8 0 0 0-22.92-10.24 30.86 30.86 0 0 0-30.82 30.82v49.4a15.8 15.8 0 0 0 15.8-15.81v-33.6a15.03 15.03 0 0 1 30.03 0v33.6a15.8 15.8 0 0 0 15.81 15.8v-49.4a15.03 15.03 0 0 1 30.04 0v33.6a15.8 15.8 0 0 0 15.8 15.8zm-115.38 9.9a40.7 40.7 0 1 1-81.4-.01 40.7 40.7 0 0 1 81.4 0m-15.8 0a24.9 24.9 0 1 0-49.8-.01 24.9 24.9 0 0 0 49.8 0m-71.92 0a40.7 40.7 0 1 1-81.4 0 40.7 40.7 0 0 1 81.4 0m-15.8 0a24.9 24.9 0 1 0-49.8-.01 24.9 24.9 0 0 0 49.8 0"},"children":[]}]},"wordmark":{"viewBox":"0 0 1426 321","fill":"#0b5cff","childNodes":[{"type":"title","props":{},"children":["Zoom"]},{"type":"path","props":{"d":"M0 8.5c0 2 .1 3.9.3 4q.3.3.5 1.8a60 60 0 0 0 6.8 20 65 65 0 0 0 46.2 32.1c3 .5 11.4.6 69.1.6 36.2 0 65.8.1 65.9.3.2.3-57.2 57.6-102.8 102.5l-47 46.6C13.3 242 8.8 246.6 7.3 249 4 254 1.8 259.5 1 264.4c-.1 1-.4 2.2-.6 2.5A42 42 0 0 0 4.7 292a41 41 0 0 0 9.1 12.3q11.3 10.6 28.3 12c6.5.6 256 .5 256.5 0q.3-.6.4-2.1c0-2-1.1-9.6-1.7-12-.5-2-2.5-8.4-3-9.1l-1.7-3.7A65 65 0 0 0 258 258a62 62 0 0 0-7.8-2.3c-6.6-1.6-3-1.5-83.5-1.6-41.9 0-76.3-.2-76.5-.4a233 233 0 0 1 13-13.2c13.4-13.1 32-31.4 77.8-77l32.3-32 31.4-31c26.1-26 26.5-26.3 30-33.2a42 42 0 0 0 3.7-27.1A45 45 0 0 0 259 11.9l-1.5-.9c-3-1.9-8.3-4-14-5.4l-3-.7-120.2-.1L0 4.7zM304.5 101l-.6 1.2-.9 2.5a162 162 0 0 0-7.2 86.3c.8 5.2 4 16.9 7.5 26.3 1.1 3 1.3 3.3 1.5 3 .1-.1.2-27.1.1-60 0-43.7-.2-59.6-.4-59.3M1109.5.3c-.1.2-1.2.4-2.4.5a117 117 0 0 0-44 14c-4 2.3-9 5.4-14 9a151 151 0 0 0-26.4 26.4l-2.1 3q-1.5 2-1.6 2.4l-1 1.4-1.1 1.7-.9 1.5-1 1.6-1 1.9a138 138 0 0 0-8.4 18c-2.2 5.5-4.8 15.8-6 23.6-1.6 9.6-1.5 6.1-1.6 111.3 0 92.9 0 99.4.6 99.6.7.3 9.6-.4 12-.9a80 80 0 0 0 22.7-9.5l2.3-1.5a64 64 0 0 0 23.7-35.4c1.5-6.2 1.5-2 1.7-79 .1-55.7.3-73.3.6-75a63 63 0 0 1 26-42.2 56 56 0 0 1 17.4-8.2l3.2-.8a64 64 0 0 1 39 4.8 58 58 0 0 1 27.4 27c2.8 5.5 5 12.6 5.7 19.3.3 2.4.4 23.4.5 75 0 53.6.2 72 .5 73.2l.6 2.7a66 66 0 0 0 10.2 24.2 62 62 0 0 0 23 19.9 64 64 0 0 0 22.3 6.5c4.7.5 6 .5 6.1-.2l.3-100v-99.3l.8-3.5c.6-3.2 1.6-7 2.4-9.5a72 72 0 0 1 6.9-14.1 58 58 0 0 1 50-26.8c6.6 0 9.5.3 14.6 1.7a61 61 0 0 1 35 24.9 58 58 0 0 1 9.5 25.8c.2 1.6.3 33.8.3 71.7 0 77.5 0 75.4 2.5 84.3a63 63 0 0 0 57.7 45.7h2.5l-.1-103.9c0-76.5-.2-104.4-.5-105.6l-.9-4.8a122 122 0 0 0-15.7-41.7c-1.7-2.8-4-6.2-8-11.5a156 156 0 0 0-21.6-22.3 134 134 0 0 0-28.6-17 120 120 0 0 0-41.3-9.6 113 113 0 0 0-25.1 1A128 128 0 0 0 1239 18l-1.6 1-7 4.7A143 143 0 0 0 1212 40l-5-4.8a117 117 0 0 0-39-25.8l-2.5-1-4.8-1.9-8.4-2.5c-7.9-1.8-11.7-2.6-16.1-3-1.8-.2-3.5-.5-3.7-.7-.4-.4-22.7-.4-23 0"},"children":[]},{"type":"circle","props":{"cx":"455","cy":"160.5","r":"130.5","fill":"none","stroke":"#0b5cff","strokeWidth":"63"},"children":[]},{"type":"circle","props":{"cx":"804","cy":"160.5","r":"130.5","fill":"none","stroke":"#0b5cff","strokeWidth":"63"},"children":[]}]}};
|
|
8
|
+
|
|
9
|
+
function _ns(props, p) {
|
|
10
|
+
var out = {};
|
|
11
|
+
for (var k in props) {
|
|
12
|
+
var v = props[k];
|
|
13
|
+
if (k === 'id') out[k] = p + v;
|
|
14
|
+
else if (k === 'href' && typeof v === 'string' && v.charCodeAt(0) === 35) out[k] = '#' + p + v.slice(1);
|
|
15
|
+
else if (typeof v === 'string') out[k] = v.replace(/url\(#([^)]+)\)/g, function (_m, id) { return 'url(#' + p + id + ')'; });
|
|
16
|
+
else if (v && typeof v === 'object') {
|
|
17
|
+
var s = {};
|
|
18
|
+
for (var sk in v) { var sv = v[sk]; s[sk] = typeof sv === 'string' ? sv.replace(/url\(#([^)]+)\)/g, function (_m, id) { return 'url(#' + p + id + ')'; }) : sv; }
|
|
19
|
+
out[k] = s;
|
|
20
|
+
} else out[k] = v;
|
|
21
|
+
}
|
|
22
|
+
return out;
|
|
23
|
+
}
|
|
8
24
|
|
|
9
25
|
const Zoom2025 = forwardRef(
|
|
10
26
|
function Zoom2025({ variant = 'default', viewBox, ...props }, ref) {
|
|
27
|
+
const _p = 'tsvg' + useId().replace(/[^a-zA-Z0-9]/g, '') + '-';
|
|
11
28
|
const _v = _variants[variant] || _variants.default;
|
|
12
29
|
return createElement(
|
|
13
30
|
'svg',
|
|
@@ -15,7 +32,7 @@ const Zoom2025 = forwardRef(
|
|
|
15
32
|
..._v.childNodes
|
|
16
33
|
.map(function _c(el) {
|
|
17
34
|
if (typeof el === 'string') return el;
|
|
18
|
-
return createElement(el.type, el.props, ...(el.children || []).map(_c));
|
|
35
|
+
return createElement(el.type, _ns(el.props, _p), ...(el.children || []).map(_c));
|
|
19
36
|
})
|
|
20
37
|
);
|
|
21
38
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thesvg/react",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.6",
|
|
4
4
|
"description": "Typed React SVG components for all 3,800+ brand icons from thesvg.org",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@types/react": "^19.2.17",
|
|
54
|
-
"tsx": "^4.23.
|
|
54
|
+
"tsx": "^4.23.1",
|
|
55
55
|
"typescript": "^6.0.3"
|
|
56
56
|
},
|
|
57
57
|
"engines": {
|
package/dist/smmix.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// @thesvg/react — SMMIX
|
|
2
|
-
// Auto-generated. Do not edit.
|
|
3
|
-
|
|
4
|
-
import type { SVGProps, ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
5
|
-
|
|
6
|
-
export type SmmixVariant = 'default';
|
|
7
|
-
|
|
8
|
-
export interface SmmixProps extends SVGProps<SVGSVGElement> {
|
|
9
|
-
/** Which icon variant to render. Defaults to "default". */
|
|
10
|
-
variant?: SmmixVariant;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
declare const Smmix: ForwardRefExoticComponent<SmmixProps & RefAttributes<SVGSVGElement>>;
|
|
14
|
-
export default Smmix;
|