@thesvg/react 4.0.5 → 4.0.7
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/hyperframes.cjs +43 -0
- package/dist/hyperframes.d.ts +14 -0
- package/dist/hyperframes.js +42 -0
- package/dist/index.cjs +12 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +6 -0
- package/dist/locatorjs.cjs +43 -0
- package/dist/locatorjs.d.ts +14 -0
- package/dist/locatorjs.js +42 -0
- package/dist/octopus.cjs +26 -0
- package/dist/octopus.d.ts +14 -0
- package/dist/octopus.js +25 -0
- package/dist/omniroute.cjs +43 -0
- package/dist/omniroute.d.ts +14 -0
- package/dist/omniroute.js +42 -0
- package/dist/open-design.cjs +26 -0
- package/dist/open-design.d.ts +14 -0
- package/dist/open-design.js +25 -0
- package/dist/vellum.cjs +26 -0
- package/dist/vellum.d.ts +14 -0
- package/dist/vellum.js +25 -0
- package/package.json +1 -1
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// @thesvg/react — HyperFrames
|
|
3
|
+
// Auto-generated. Do not edit.
|
|
4
|
+
// Variants: default
|
|
5
|
+
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
|
|
8
|
+
const react_1 = require("react");
|
|
9
|
+
|
|
10
|
+
const _variants = {"default":{"viewBox":"0 0 100 100","fill":"none","childNodes":[{"type":"title","props":{},"children":["HyperFrames"]},{"type":"path","props":{"fill":"url(#a)","d":"m10.185 57.802 22.93 16.03c3.105 2.166 8.402-.289 9.367-4.334l9.28-39.07c.963-4.046-3.182-6.5-7.302-4.334l-30.543 16.03c-6.95 3.644-8.941 12.034-3.732 15.678"},"children":[]},{"type":"path","props":{"fill":"url(#b)","d":"M87.513 57.514 56.97 73.544c-4.133 2.166-8.265-.289-7.301-4.334l9.28-39.07c.964-4.046 6.26-6.5 9.366-4.334l22.93 16.03c5.222 3.644 3.218 12.034-3.732 15.678"},"children":[]},{"type":"defs","props":{},"children":[{"type":"linearGradient","props":{"id":"a","x1":"48.568","x2":"44.78","y1":"25","y2":"71.938","gradientUnits":"userSpaceOnUse"},"children":[{"type":"stop","props":{"stopColor":"#06E3FA"},"children":[]},{"type":"stop","props":{"offset":"1","stopColor":"#4FDB5E"},"children":[]}]},{"type":"linearGradient","props":{"id":"b","x1":"54.828","x2":"72.099","y1":"73.839","y2":"32.893","gradientUnits":"userSpaceOnUse"},"children":[{"type":"stop","props":{"stopColor":"#06E3FA"},"children":[]},{"type":"stop","props":{"offset":"1","stopColor":"#4FDB5E"},"children":[]}]}]}]}};
|
|
11
|
+
|
|
12
|
+
function _ns(props, p) {
|
|
13
|
+
var out = {};
|
|
14
|
+
for (var k in props) {
|
|
15
|
+
var v = props[k];
|
|
16
|
+
if (k === 'id') out[k] = p + v;
|
|
17
|
+
else if (k === 'href' && typeof v === 'string' && v.charCodeAt(0) === 35) out[k] = '#' + p + v.slice(1);
|
|
18
|
+
else if (typeof v === 'string') out[k] = v.replace(/url\(#([^)]+)\)/g, function (_m, id) { return 'url(#' + p + id + ')'; });
|
|
19
|
+
else if (v && typeof v === 'object') {
|
|
20
|
+
var s = {};
|
|
21
|
+
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; }
|
|
22
|
+
out[k] = s;
|
|
23
|
+
} else out[k] = v;
|
|
24
|
+
}
|
|
25
|
+
return out;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
const Hyperframes = react_1.forwardRef(function Hyperframes({ variant = 'default', viewBox, ...props }, ref) {
|
|
29
|
+
const _p = 'tsvg' + react_1.useId().replace(/[^a-zA-Z0-9]/g, '') + '-';
|
|
30
|
+
const _v = _variants[variant] || _variants.default;
|
|
31
|
+
return react_1.createElement(
|
|
32
|
+
'svg',
|
|
33
|
+
Object.assign({ ref, viewBox: viewBox || _v.viewBox, fill: _v.fill, stroke: _v.stroke, xmlns: 'http://www.w3.org/2000/svg' }, props),
|
|
34
|
+
..._v.childNodes
|
|
35
|
+
.map(function _c(el) {
|
|
36
|
+
if (typeof el === 'string') return el;
|
|
37
|
+
return react_1.createElement(el.type, _ns(el.props, _p), ...(el.children || []).map(_c));
|
|
38
|
+
})
|
|
39
|
+
);
|
|
40
|
+
});
|
|
41
|
+
Hyperframes.displayName = 'Hyperframes';
|
|
42
|
+
|
|
43
|
+
exports.default = Hyperframes;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// @thesvg/react — HyperFrames
|
|
2
|
+
// Auto-generated. Do not edit.
|
|
3
|
+
|
|
4
|
+
import type { SVGProps, ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
5
|
+
|
|
6
|
+
export type HyperframesVariant = 'default';
|
|
7
|
+
|
|
8
|
+
export interface HyperframesProps extends SVGProps<SVGSVGElement> {
|
|
9
|
+
/** Which icon variant to render. Defaults to "default". */
|
|
10
|
+
variant?: HyperframesVariant;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
declare const Hyperframes: ForwardRefExoticComponent<HyperframesProps & RefAttributes<SVGSVGElement>>;
|
|
14
|
+
export default Hyperframes;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
// @thesvg/react — HyperFrames
|
|
2
|
+
// Auto-generated. Do not edit.
|
|
3
|
+
// Variants: default
|
|
4
|
+
|
|
5
|
+
import { forwardRef, createElement, useId } from 'react';
|
|
6
|
+
|
|
7
|
+
const _variants = {"default":{"viewBox":"0 0 100 100","fill":"none","childNodes":[{"type":"title","props":{},"children":["HyperFrames"]},{"type":"path","props":{"fill":"url(#a)","d":"m10.185 57.802 22.93 16.03c3.105 2.166 8.402-.289 9.367-4.334l9.28-39.07c.963-4.046-3.182-6.5-7.302-4.334l-30.543 16.03c-6.95 3.644-8.941 12.034-3.732 15.678"},"children":[]},{"type":"path","props":{"fill":"url(#b)","d":"M87.513 57.514 56.97 73.544c-4.133 2.166-8.265-.289-7.301-4.334l9.28-39.07c.964-4.046 6.26-6.5 9.366-4.334l22.93 16.03c5.222 3.644 3.218 12.034-3.732 15.678"},"children":[]},{"type":"defs","props":{},"children":[{"type":"linearGradient","props":{"id":"a","x1":"48.568","x2":"44.78","y1":"25","y2":"71.938","gradientUnits":"userSpaceOnUse"},"children":[{"type":"stop","props":{"stopColor":"#06E3FA"},"children":[]},{"type":"stop","props":{"offset":"1","stopColor":"#4FDB5E"},"children":[]}]},{"type":"linearGradient","props":{"id":"b","x1":"54.828","x2":"72.099","y1":"73.839","y2":"32.893","gradientUnits":"userSpaceOnUse"},"children":[{"type":"stop","props":{"stopColor":"#06E3FA"},"children":[]},{"type":"stop","props":{"offset":"1","stopColor":"#4FDB5E"},"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
|
+
}
|
|
24
|
+
|
|
25
|
+
const Hyperframes = forwardRef(
|
|
26
|
+
function Hyperframes({ variant = 'default', viewBox, ...props }, ref) {
|
|
27
|
+
const _p = 'tsvg' + useId().replace(/[^a-zA-Z0-9]/g, '') + '-';
|
|
28
|
+
const _v = _variants[variant] || _variants.default;
|
|
29
|
+
return createElement(
|
|
30
|
+
'svg',
|
|
31
|
+
Object.assign({ ref, viewBox: viewBox || _v.viewBox, fill: _v.fill, stroke: _v.stroke, xmlns: 'http://www.w3.org/2000/svg' }, props),
|
|
32
|
+
..._v.childNodes
|
|
33
|
+
.map(function _c(el) {
|
|
34
|
+
if (typeof el === 'string') return el;
|
|
35
|
+
return createElement(el.type, _ns(el.props, _p), ...(el.children || []).map(_c));
|
|
36
|
+
})
|
|
37
|
+
);
|
|
38
|
+
}
|
|
39
|
+
);
|
|
40
|
+
Hyperframes.displayName = 'Hyperframes';
|
|
41
|
+
|
|
42
|
+
export default Hyperframes;
|
package/dist/index.cjs
CHANGED
|
@@ -7920,6 +7920,8 @@ const _hyperbolic = require('./hyperbolic.cjs');
|
|
|
7920
7920
|
exports.Hyperbolic = _hyperbolic.default;
|
|
7921
7921
|
const _hyperdx = require('./hyperdx.cjs');
|
|
7922
7922
|
exports.Hyperdx = _hyperdx.default;
|
|
7923
|
+
const _hyperframes = require('./hyperframes.cjs');
|
|
7924
|
+
exports.Hyperframes = _hyperframes.default;
|
|
7923
7925
|
const _hyperskill = require('./hyperskill.cjs');
|
|
7924
7926
|
exports.Hyperskill = _hyperskill.default;
|
|
7925
7927
|
const _hyperv = require('./hyperv.cjs');
|
|
@@ -9206,6 +9208,8 @@ const _localsend = require('./localsend.cjs');
|
|
|
9206
9208
|
exports.Localsend = _localsend.default;
|
|
9207
9209
|
const _localxpose = require('./localxpose.cjs');
|
|
9208
9210
|
exports.Localxpose = _localxpose.default;
|
|
9211
|
+
const _locatorjs = require('./locatorjs.cjs');
|
|
9212
|
+
exports.Locatorjs = _locatorjs.default;
|
|
9209
9213
|
const _lockheed_martin = require('./lockheed-martin.cjs');
|
|
9210
9214
|
exports.LockheedMartin = _lockheed_martin.default;
|
|
9211
9215
|
const _locofy = require('./locofy.cjs');
|
|
@@ -10648,6 +10652,8 @@ const _october_cms = require('./october-cms.cjs');
|
|
|
10648
10652
|
exports.OctoberCms = _october_cms.default;
|
|
10649
10653
|
const _octoprint = require('./octoprint.cjs');
|
|
10650
10654
|
exports.Octoprint = _octoprint.default;
|
|
10655
|
+
const _octopus = require('./octopus.cjs');
|
|
10656
|
+
exports.Octopus = _octopus.default;
|
|
10651
10657
|
const _octopus_deploy = require('./octopus-deploy.cjs');
|
|
10652
10658
|
exports.OctopusDeploy = _octopus_deploy.default;
|
|
10653
10659
|
const _oculus = require('./oculus.cjs');
|
|
@@ -10702,6 +10708,8 @@ const _omg_lol_badge = require('./omg-lol-badge.cjs');
|
|
|
10702
10708
|
exports.OmgLolBadge = _omg_lol_badge.default;
|
|
10703
10709
|
const _omgserv_badge = require('./omgserv-badge.cjs');
|
|
10704
10710
|
exports.OmgservBadge = _omgserv_badge.default;
|
|
10711
|
+
const _omniroute = require('./omniroute.cjs');
|
|
10712
|
+
exports.Omniroute = _omniroute.default;
|
|
10705
10713
|
const _one_com_badge = require('./one-com-badge.cjs');
|
|
10706
10714
|
exports.OneComBadge = _one_com_badge.default;
|
|
10707
10715
|
const _onedev = require('./onedev.cjs');
|
|
@@ -10754,6 +10762,8 @@ const _open_collective_badge = require('./open-collective-badge.cjs');
|
|
|
10754
10762
|
exports.OpenCollectiveBadge = _open_collective_badge.default;
|
|
10755
10763
|
const _open_containers_initiative = require('./open-containers-initiative.cjs');
|
|
10756
10764
|
exports.OpenContainersInitiative = _open_containers_initiative.default;
|
|
10765
|
+
const _open_design = require('./open-design.cjs');
|
|
10766
|
+
exports.OpenDesign = _open_design.default;
|
|
10757
10767
|
const _open_notebook = require('./open-notebook.cjs');
|
|
10758
10768
|
exports.OpenNotebook = _open_notebook.default;
|
|
10759
10769
|
const _open_policy_agent = require('./open-policy-agent.cjs');
|
|
@@ -14442,6 +14452,8 @@ const _vegas = require('./vegas.cjs');
|
|
|
14442
14452
|
exports.Vegas = _vegas.default;
|
|
14443
14453
|
const _velero = require('./velero.cjs');
|
|
14444
14454
|
exports.Velero = _velero.default;
|
|
14455
|
+
const _vellum = require('./vellum.cjs');
|
|
14456
|
+
exports.Vellum = _vellum.default;
|
|
14445
14457
|
const _velocity = require('./velocity.cjs');
|
|
14446
14458
|
exports.Velocity = _velocity.default;
|
|
14447
14459
|
const _velog = require('./velog.cjs');
|
package/dist/index.d.ts
CHANGED
|
@@ -3961,6 +3961,7 @@ export { default as Hyper } from './hyper.js';
|
|
|
3961
3961
|
export { default as HyperExpertBadge } from './hyper-expert-badge.js';
|
|
3962
3962
|
export { default as Hyperbolic } from './hyperbolic.js';
|
|
3963
3963
|
export { default as Hyperdx } from './hyperdx.js';
|
|
3964
|
+
export { default as Hyperframes } from './hyperframes.js';
|
|
3964
3965
|
export { default as Hyperskill } from './hyperskill.js';
|
|
3965
3966
|
export { default as Hyperv } from './hyperv.js';
|
|
3966
3967
|
export { default as Hyperx } from './hyperx.js';
|
|
@@ -4604,6 +4605,7 @@ export { default as Local } from './local.js';
|
|
|
4604
4605
|
export { default as Localai } from './localai.js';
|
|
4605
4606
|
export { default as Localsend } from './localsend.js';
|
|
4606
4607
|
export { default as Localxpose } from './localxpose.js';
|
|
4608
|
+
export { default as Locatorjs } from './locatorjs.js';
|
|
4607
4609
|
export { default as LockheedMartin } from './lockheed-martin.js';
|
|
4608
4610
|
export { default as Locofy } from './locofy.js';
|
|
4609
4611
|
export { default as Locust } from './locust.js';
|
|
@@ -5325,6 +5327,7 @@ export { default as OctaneRender } from './octane-render.js';
|
|
|
5325
5327
|
export { default as Octave } from './octave.js';
|
|
5326
5328
|
export { default as OctoberCms } from './october-cms.js';
|
|
5327
5329
|
export { default as Octoprint } from './octoprint.js';
|
|
5330
|
+
export { default as Octopus } from './octopus.js';
|
|
5328
5331
|
export { default as OctopusDeploy } from './octopus-deploy.js';
|
|
5329
5332
|
export { default as Oculus } from './oculus.js';
|
|
5330
5333
|
export { default as Oddinpay } from './oddinpay.js';
|
|
@@ -5352,6 +5355,7 @@ export { default as OmadaCloud } from './omada-cloud.js';
|
|
|
5352
5355
|
export { default as Omarchy } from './omarchy.js';
|
|
5353
5356
|
export { default as OmgLolBadge } from './omg-lol-badge.js';
|
|
5354
5357
|
export { default as OmgservBadge } from './omgserv-badge.js';
|
|
5358
|
+
export { default as Omniroute } from './omniroute.js';
|
|
5355
5359
|
export { default as OneComBadge } from './one-com-badge.js';
|
|
5356
5360
|
export { default as Onedev } from './onedev.js';
|
|
5357
5361
|
export { default as Onelogin } from './onelogin.js';
|
|
@@ -5378,6 +5382,7 @@ export { default as OpenBugBounty } from './open-bug-bounty.js';
|
|
|
5378
5382
|
export { default as OpenCollective } from './open-collective.js';
|
|
5379
5383
|
export { default as OpenCollectiveBadge } from './open-collective-badge.js';
|
|
5380
5384
|
export { default as OpenContainersInitiative } from './open-containers-initiative.js';
|
|
5385
|
+
export { default as OpenDesign } from './open-design.js';
|
|
5381
5386
|
export { default as OpenNotebook } from './open-notebook.js';
|
|
5382
5387
|
export { default as OpenPolicyAgent } from './open-policy-agent.js';
|
|
5383
5388
|
export { default as OpenSourceHardware } from './open-source-hardware.js';
|
|
@@ -7222,6 +7227,7 @@ export { default as Veevalidate } from './veevalidate.js';
|
|
|
7222
7227
|
export { default as Vega } from './vega.js';
|
|
7223
7228
|
export { default as Vegas } from './vegas.js';
|
|
7224
7229
|
export { default as Velero } from './velero.js';
|
|
7230
|
+
export { default as Vellum } from './vellum.js';
|
|
7225
7231
|
export { default as Velocity } from './velocity.js';
|
|
7226
7232
|
export { default as Velog } from './velog.js';
|
|
7227
7233
|
export { default as Vencord } from './vencord.js';
|
package/dist/index.js
CHANGED
|
@@ -3959,6 +3959,7 @@ export { default as Hyper } from './hyper.js';
|
|
|
3959
3959
|
export { default as HyperExpertBadge } from './hyper-expert-badge.js';
|
|
3960
3960
|
export { default as Hyperbolic } from './hyperbolic.js';
|
|
3961
3961
|
export { default as Hyperdx } from './hyperdx.js';
|
|
3962
|
+
export { default as Hyperframes } from './hyperframes.js';
|
|
3962
3963
|
export { default as Hyperskill } from './hyperskill.js';
|
|
3963
3964
|
export { default as Hyperv } from './hyperv.js';
|
|
3964
3965
|
export { default as Hyperx } from './hyperx.js';
|
|
@@ -4602,6 +4603,7 @@ export { default as Local } from './local.js';
|
|
|
4602
4603
|
export { default as Localai } from './localai.js';
|
|
4603
4604
|
export { default as Localsend } from './localsend.js';
|
|
4604
4605
|
export { default as Localxpose } from './localxpose.js';
|
|
4606
|
+
export { default as Locatorjs } from './locatorjs.js';
|
|
4605
4607
|
export { default as LockheedMartin } from './lockheed-martin.js';
|
|
4606
4608
|
export { default as Locofy } from './locofy.js';
|
|
4607
4609
|
export { default as Locust } from './locust.js';
|
|
@@ -5323,6 +5325,7 @@ export { default as OctaneRender } from './octane-render.js';
|
|
|
5323
5325
|
export { default as Octave } from './octave.js';
|
|
5324
5326
|
export { default as OctoberCms } from './october-cms.js';
|
|
5325
5327
|
export { default as Octoprint } from './octoprint.js';
|
|
5328
|
+
export { default as Octopus } from './octopus.js';
|
|
5326
5329
|
export { default as OctopusDeploy } from './octopus-deploy.js';
|
|
5327
5330
|
export { default as Oculus } from './oculus.js';
|
|
5328
5331
|
export { default as Oddinpay } from './oddinpay.js';
|
|
@@ -5350,6 +5353,7 @@ export { default as OmadaCloud } from './omada-cloud.js';
|
|
|
5350
5353
|
export { default as Omarchy } from './omarchy.js';
|
|
5351
5354
|
export { default as OmgLolBadge } from './omg-lol-badge.js';
|
|
5352
5355
|
export { default as OmgservBadge } from './omgserv-badge.js';
|
|
5356
|
+
export { default as Omniroute } from './omniroute.js';
|
|
5353
5357
|
export { default as OneComBadge } from './one-com-badge.js';
|
|
5354
5358
|
export { default as Onedev } from './onedev.js';
|
|
5355
5359
|
export { default as Onelogin } from './onelogin.js';
|
|
@@ -5376,6 +5380,7 @@ export { default as OpenBugBounty } from './open-bug-bounty.js';
|
|
|
5376
5380
|
export { default as OpenCollective } from './open-collective.js';
|
|
5377
5381
|
export { default as OpenCollectiveBadge } from './open-collective-badge.js';
|
|
5378
5382
|
export { default as OpenContainersInitiative } from './open-containers-initiative.js';
|
|
5383
|
+
export { default as OpenDesign } from './open-design.js';
|
|
5379
5384
|
export { default as OpenNotebook } from './open-notebook.js';
|
|
5380
5385
|
export { default as OpenPolicyAgent } from './open-policy-agent.js';
|
|
5381
5386
|
export { default as OpenSourceHardware } from './open-source-hardware.js';
|
|
@@ -7220,6 +7225,7 @@ export { default as Veevalidate } from './veevalidate.js';
|
|
|
7220
7225
|
export { default as Vega } from './vega.js';
|
|
7221
7226
|
export { default as Vegas } from './vegas.js';
|
|
7222
7227
|
export { default as Velero } from './velero.js';
|
|
7228
|
+
export { default as Vellum } from './vellum.js';
|
|
7223
7229
|
export { default as Velocity } from './velocity.js';
|
|
7224
7230
|
export { default as Velog } from './velog.js';
|
|
7225
7231
|
export { default as Vencord } from './vencord.js';
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// @thesvg/react — LocatorJS
|
|
3
|
+
// Auto-generated. Do not edit.
|
|
4
|
+
// Variants: default
|
|
5
|
+
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
|
|
8
|
+
const react_1 = require("react");
|
|
9
|
+
|
|
10
|
+
const _variants = {"default":{"viewBox":"0 0 64 64","fill":"none","childNodes":[{"type":"title","props":{},"children":["LocatorJS"]},{"type":"path","props":{"fill":"url(#a)","fillRule":"evenodd","d":"M8.569 2.882C12.162.592 16.813.104 24.746 0v5.162c-2.769.037-5.032.12-6.968.31-3.319.325-5.119.923-6.436 1.763a13.4 13.4 0 0 0-4.107 4.107c-.84 1.317-1.437 3.117-1.763 6.436-.19 1.936-.273 4.2-.31 6.968H0c.104-7.933.593-12.584 2.882-16.177a18.6 18.6 0 0 1 5.687-5.687M0 39.197h5.162c.037 2.769.12 5.033.31 6.968.325 3.32.923 5.12 1.763 6.436a13.4 13.4 0 0 0 4.107 4.108c1.317.839 3.117 1.437 6.436 1.762 1.936.19 4.2.274 6.968.31v5.162c-7.933-.104-12.584-.592-16.177-2.881a18.6 18.6 0 0 1-5.687-5.688C.592 51.782.104 47.13 0 39.197m39.198 24.746c7.932-.104 12.584-.592 16.176-2.881a18.6 18.6 0 0 0 5.688-5.688c2.289-3.592 2.777-8.244 2.881-16.177h-5.161c-.037 2.769-.12 5.033-.31 6.968-.326 3.32-.924 5.12-1.763 6.436A13.4 13.4 0 0 1 52.6 56.71c-1.317.839-3.117 1.437-6.436 1.762-1.935.19-4.199.274-6.968.31zm19.584-39.197c-.037-2.769-.12-5.032-.31-6.968-.326-3.319-.924-5.119-1.763-6.436A13.4 13.4 0 0 0 52.6 7.235c-1.317-.84-3.117-1.437-6.436-1.763-1.935-.19-4.199-.273-6.968-.31V0c7.933.104 12.585.593 16.177 2.882a18.6 18.6 0 0 1 5.688 5.687c2.289 3.593 2.777 8.244 2.881 16.177z","clipRule":"evenodd"},"children":[]},{"type":"path","props":{"fill":"#160101","d":"M12.47 34.625c0 .334.2.635.508.764l12.13 5.093a.83.83 0 0 0 1.15-.764v-2.501a.83.83 0 0 0-.539-.776l-8.332-3.117a.137.137 0 0 1 0-.257l8.331-3.108a.83.83 0 0 0 .54-.777v-2.51a.83.83 0 0 0-1.15-.764l-12.13 5.093a.83.83 0 0 0-.508.764zM38.795 21.69a.83.83 0 0 0-.8-1.045h-2.254a.83.83 0 0 0-.8.614l-5.839 21.69a.83.83 0 0 0 .8 1.044h2.255a.83.83 0 0 0 .8-.613zM54.92 35.389a.83.83 0 0 0 .508-.764v-2.86a.83.83 0 0 0-.508-.764l-12.13-5.093a.83.83 0 0 0-1.15.764v2.51c0 .347.215.656.539.777l8.35 3.12a.124.124 0 0 1 0 .231l-8.35 3.13a.83.83 0 0 0-.539.777v2.501c0 .592.604.994 1.15.764z"},"children":[]},{"type":"defs","props":{},"children":[{"type":"linearGradient","props":{"id":"a","x1":"0","x2":"46.411","y1":"0","y2":"46.926","gradientUnits":"userSpaceOnUse"},"children":[{"type":"stop","props":{"stopColor":"#1909D1"},"children":[]},{"type":"stop","props":{"offset":"1","stopColor":"#DC0E0E"},"children":[]}]}]}]}};
|
|
11
|
+
|
|
12
|
+
function _ns(props, p) {
|
|
13
|
+
var out = {};
|
|
14
|
+
for (var k in props) {
|
|
15
|
+
var v = props[k];
|
|
16
|
+
if (k === 'id') out[k] = p + v;
|
|
17
|
+
else if (k === 'href' && typeof v === 'string' && v.charCodeAt(0) === 35) out[k] = '#' + p + v.slice(1);
|
|
18
|
+
else if (typeof v === 'string') out[k] = v.replace(/url\(#([^)]+)\)/g, function (_m, id) { return 'url(#' + p + id + ')'; });
|
|
19
|
+
else if (v && typeof v === 'object') {
|
|
20
|
+
var s = {};
|
|
21
|
+
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; }
|
|
22
|
+
out[k] = s;
|
|
23
|
+
} else out[k] = v;
|
|
24
|
+
}
|
|
25
|
+
return out;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
const Locatorjs = react_1.forwardRef(function Locatorjs({ variant = 'default', viewBox, ...props }, ref) {
|
|
29
|
+
const _p = 'tsvg' + react_1.useId().replace(/[^a-zA-Z0-9]/g, '') + '-';
|
|
30
|
+
const _v = _variants[variant] || _variants.default;
|
|
31
|
+
return react_1.createElement(
|
|
32
|
+
'svg',
|
|
33
|
+
Object.assign({ ref, viewBox: viewBox || _v.viewBox, fill: _v.fill, stroke: _v.stroke, xmlns: 'http://www.w3.org/2000/svg' }, props),
|
|
34
|
+
..._v.childNodes
|
|
35
|
+
.map(function _c(el) {
|
|
36
|
+
if (typeof el === 'string') return el;
|
|
37
|
+
return react_1.createElement(el.type, _ns(el.props, _p), ...(el.children || []).map(_c));
|
|
38
|
+
})
|
|
39
|
+
);
|
|
40
|
+
});
|
|
41
|
+
Locatorjs.displayName = 'Locatorjs';
|
|
42
|
+
|
|
43
|
+
exports.default = Locatorjs;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// @thesvg/react — LocatorJS
|
|
2
|
+
// Auto-generated. Do not edit.
|
|
3
|
+
|
|
4
|
+
import type { SVGProps, ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
5
|
+
|
|
6
|
+
export type LocatorjsVariant = 'default';
|
|
7
|
+
|
|
8
|
+
export interface LocatorjsProps extends SVGProps<SVGSVGElement> {
|
|
9
|
+
/** Which icon variant to render. Defaults to "default". */
|
|
10
|
+
variant?: LocatorjsVariant;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
declare const Locatorjs: ForwardRefExoticComponent<LocatorjsProps & RefAttributes<SVGSVGElement>>;
|
|
14
|
+
export default Locatorjs;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
// @thesvg/react — LocatorJS
|
|
2
|
+
// Auto-generated. Do not edit.
|
|
3
|
+
// Variants: default
|
|
4
|
+
|
|
5
|
+
import { forwardRef, createElement, useId } from 'react';
|
|
6
|
+
|
|
7
|
+
const _variants = {"default":{"viewBox":"0 0 64 64","fill":"none","childNodes":[{"type":"title","props":{},"children":["LocatorJS"]},{"type":"path","props":{"fill":"url(#a)","fillRule":"evenodd","d":"M8.569 2.882C12.162.592 16.813.104 24.746 0v5.162c-2.769.037-5.032.12-6.968.31-3.319.325-5.119.923-6.436 1.763a13.4 13.4 0 0 0-4.107 4.107c-.84 1.317-1.437 3.117-1.763 6.436-.19 1.936-.273 4.2-.31 6.968H0c.104-7.933.593-12.584 2.882-16.177a18.6 18.6 0 0 1 5.687-5.687M0 39.197h5.162c.037 2.769.12 5.033.31 6.968.325 3.32.923 5.12 1.763 6.436a13.4 13.4 0 0 0 4.107 4.108c1.317.839 3.117 1.437 6.436 1.762 1.936.19 4.2.274 6.968.31v5.162c-7.933-.104-12.584-.592-16.177-2.881a18.6 18.6 0 0 1-5.687-5.688C.592 51.782.104 47.13 0 39.197m39.198 24.746c7.932-.104 12.584-.592 16.176-2.881a18.6 18.6 0 0 0 5.688-5.688c2.289-3.592 2.777-8.244 2.881-16.177h-5.161c-.037 2.769-.12 5.033-.31 6.968-.326 3.32-.924 5.12-1.763 6.436A13.4 13.4 0 0 1 52.6 56.71c-1.317.839-3.117 1.437-6.436 1.762-1.935.19-4.199.274-6.968.31zm19.584-39.197c-.037-2.769-.12-5.032-.31-6.968-.326-3.319-.924-5.119-1.763-6.436A13.4 13.4 0 0 0 52.6 7.235c-1.317-.84-3.117-1.437-6.436-1.763-1.935-.19-4.199-.273-6.968-.31V0c7.933.104 12.585.593 16.177 2.882a18.6 18.6 0 0 1 5.688 5.687c2.289 3.593 2.777 8.244 2.881 16.177z","clipRule":"evenodd"},"children":[]},{"type":"path","props":{"fill":"#160101","d":"M12.47 34.625c0 .334.2.635.508.764l12.13 5.093a.83.83 0 0 0 1.15-.764v-2.501a.83.83 0 0 0-.539-.776l-8.332-3.117a.137.137 0 0 1 0-.257l8.331-3.108a.83.83 0 0 0 .54-.777v-2.51a.83.83 0 0 0-1.15-.764l-12.13 5.093a.83.83 0 0 0-.508.764zM38.795 21.69a.83.83 0 0 0-.8-1.045h-2.254a.83.83 0 0 0-.8.614l-5.839 21.69a.83.83 0 0 0 .8 1.044h2.255a.83.83 0 0 0 .8-.613zM54.92 35.389a.83.83 0 0 0 .508-.764v-2.86a.83.83 0 0 0-.508-.764l-12.13-5.093a.83.83 0 0 0-1.15.764v2.51c0 .347.215.656.539.777l8.35 3.12a.124.124 0 0 1 0 .231l-8.35 3.13a.83.83 0 0 0-.539.777v2.501c0 .592.604.994 1.15.764z"},"children":[]},{"type":"defs","props":{},"children":[{"type":"linearGradient","props":{"id":"a","x1":"0","x2":"46.411","y1":"0","y2":"46.926","gradientUnits":"userSpaceOnUse"},"children":[{"type":"stop","props":{"stopColor":"#1909D1"},"children":[]},{"type":"stop","props":{"offset":"1","stopColor":"#DC0E0E"},"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
|
+
}
|
|
24
|
+
|
|
25
|
+
const Locatorjs = forwardRef(
|
|
26
|
+
function Locatorjs({ variant = 'default', viewBox, ...props }, ref) {
|
|
27
|
+
const _p = 'tsvg' + useId().replace(/[^a-zA-Z0-9]/g, '') + '-';
|
|
28
|
+
const _v = _variants[variant] || _variants.default;
|
|
29
|
+
return createElement(
|
|
30
|
+
'svg',
|
|
31
|
+
Object.assign({ ref, viewBox: viewBox || _v.viewBox, fill: _v.fill, stroke: _v.stroke, xmlns: 'http://www.w3.org/2000/svg' }, props),
|
|
32
|
+
..._v.childNodes
|
|
33
|
+
.map(function _c(el) {
|
|
34
|
+
if (typeof el === 'string') return el;
|
|
35
|
+
return createElement(el.type, _ns(el.props, _p), ...(el.children || []).map(_c));
|
|
36
|
+
})
|
|
37
|
+
);
|
|
38
|
+
}
|
|
39
|
+
);
|
|
40
|
+
Locatorjs.displayName = 'Locatorjs';
|
|
41
|
+
|
|
42
|
+
export default Locatorjs;
|
package/dist/octopus.cjs
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// @thesvg/react — Octopus
|
|
3
|
+
// Auto-generated. Do not edit.
|
|
4
|
+
// Variants: default
|
|
5
|
+
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
|
|
8
|
+
const react_1 = require("react");
|
|
9
|
+
|
|
10
|
+
const _variants = {"default":{"viewBox":"0 0 100 100","fill":"currentColor","childNodes":[{"type":"title","props":{},"children":["Octopus"]},{"type":"path","props":{"fill":"none","stroke":"#466551","strokeLinecap":"round","strokeWidth":"6","d":"M20 90q10 0 10-7 0-3-2.12-5.12C25 75 15 65 15 50c0-20 15-35 35-35s35 15 35 35c0 15-10 25-12.88 27.88Q70 80 70 83q0 7 10 7"},"children":[]},{"type":"path","props":{"fill":"none","stroke":"#466551","strokeLinecap":"round","strokeWidth":"6","d":"M43 77v8c0 2.76-2.24 5-5 5m19-13v8c0 2.76 2.24 5 5 5"},"children":[]}]}};
|
|
11
|
+
|
|
12
|
+
const Octopus = react_1.forwardRef(function Octopus({ variant = 'default', viewBox, ...props }, ref) {
|
|
13
|
+
const _v = _variants[variant] || _variants.default;
|
|
14
|
+
return react_1.createElement(
|
|
15
|
+
'svg',
|
|
16
|
+
Object.assign({ ref, viewBox: viewBox || _v.viewBox, fill: _v.fill, stroke: _v.stroke, xmlns: 'http://www.w3.org/2000/svg' }, props),
|
|
17
|
+
..._v.childNodes
|
|
18
|
+
.map(function _c(el) {
|
|
19
|
+
if (typeof el === 'string') return el;
|
|
20
|
+
return react_1.createElement(el.type, el.props, ...(el.children || []).map(_c));
|
|
21
|
+
})
|
|
22
|
+
);
|
|
23
|
+
});
|
|
24
|
+
Octopus.displayName = 'Octopus';
|
|
25
|
+
|
|
26
|
+
exports.default = Octopus;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// @thesvg/react — Octopus
|
|
2
|
+
// Auto-generated. Do not edit.
|
|
3
|
+
|
|
4
|
+
import type { SVGProps, ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
5
|
+
|
|
6
|
+
export type OctopusVariant = 'default';
|
|
7
|
+
|
|
8
|
+
export interface OctopusProps extends SVGProps<SVGSVGElement> {
|
|
9
|
+
/** Which icon variant to render. Defaults to "default". */
|
|
10
|
+
variant?: OctopusVariant;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
declare const Octopus: ForwardRefExoticComponent<OctopusProps & RefAttributes<SVGSVGElement>>;
|
|
14
|
+
export default Octopus;
|
package/dist/octopus.js
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// @thesvg/react — Octopus
|
|
2
|
+
// Auto-generated. Do not edit.
|
|
3
|
+
// Variants: default
|
|
4
|
+
|
|
5
|
+
import { forwardRef, createElement } from 'react';
|
|
6
|
+
|
|
7
|
+
const _variants = {"default":{"viewBox":"0 0 100 100","fill":"currentColor","childNodes":[{"type":"title","props":{},"children":["Octopus"]},{"type":"path","props":{"fill":"none","stroke":"#466551","strokeLinecap":"round","strokeWidth":"6","d":"M20 90q10 0 10-7 0-3-2.12-5.12C25 75 15 65 15 50c0-20 15-35 35-35s35 15 35 35c0 15-10 25-12.88 27.88Q70 80 70 83q0 7 10 7"},"children":[]},{"type":"path","props":{"fill":"none","stroke":"#466551","strokeLinecap":"round","strokeWidth":"6","d":"M43 77v8c0 2.76-2.24 5-5 5m19-13v8c0 2.76 2.24 5 5 5"},"children":[]}]}};
|
|
8
|
+
|
|
9
|
+
const Octopus = forwardRef(
|
|
10
|
+
function Octopus({ variant = 'default', viewBox, ...props }, ref) {
|
|
11
|
+
const _v = _variants[variant] || _variants.default;
|
|
12
|
+
return createElement(
|
|
13
|
+
'svg',
|
|
14
|
+
Object.assign({ ref, viewBox: viewBox || _v.viewBox, fill: _v.fill, stroke: _v.stroke, xmlns: 'http://www.w3.org/2000/svg' }, props),
|
|
15
|
+
..._v.childNodes
|
|
16
|
+
.map(function _c(el) {
|
|
17
|
+
if (typeof el === 'string') return el;
|
|
18
|
+
return createElement(el.type, el.props, ...(el.children || []).map(_c));
|
|
19
|
+
})
|
|
20
|
+
);
|
|
21
|
+
}
|
|
22
|
+
);
|
|
23
|
+
Octopus.displayName = 'Octopus';
|
|
24
|
+
|
|
25
|
+
export default Octopus;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// @thesvg/react — OmniRoute
|
|
3
|
+
// Auto-generated. Do not edit.
|
|
4
|
+
// Variants: default
|
|
5
|
+
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
|
|
8
|
+
const react_1 = require("react");
|
|
9
|
+
|
|
10
|
+
const _variants = {"default":{"viewBox":"0 0 32 32","fill":"none","childNodes":[{"type":"title","props":{},"children":["OmniRoute"]},{"type":"rect","props":{"width":"32","height":"32","fill":"url(#a)","rx":"6"},"children":[]},{"type":"circle","props":{"cx":"16","cy":"16","r":"3","fill":"#fff"},"children":[]},{"type":"circle","props":{"cx":"8","cy":"8","r":"2","fill":"#fff"},"children":[]},{"type":"circle","props":{"cx":"24","cy":"8","r":"2","fill":"#fff"},"children":[]},{"type":"circle","props":{"cx":"8","cy":"24","r":"2","fill":"#fff"},"children":[]},{"type":"circle","props":{"cx":"24","cy":"24","r":"2","fill":"#fff"},"children":[]},{"type":"circle","props":{"cx":"16","cy":"5","r":"1.5","fill":"#fff"},"children":[]},{"type":"circle","props":{"cx":"16","cy":"27","r":"1.5","fill":"#fff"},"children":[]},{"type":"path","props":{"stroke":"#fff","strokeLinecap":"round","strokeWidth":"1.2","d":"M16 13 8 8m8 5 8-5m-8 11-8 5m8-5 8 5m-8-11V5m0 14v8"},"children":[]},{"type":"defs","props":{},"children":[{"type":"linearGradient","props":{"id":"a","x1":"0","x2":"32","y1":"0","y2":"32","gradientUnits":"userSpaceOnUse"},"children":[{"type":"stop","props":{"stopColor":"#E54D5E"},"children":[]},{"type":"stop","props":{"offset":"1","stopColor":"#C93D4E"},"children":[]}]}]}]}};
|
|
11
|
+
|
|
12
|
+
function _ns(props, p) {
|
|
13
|
+
var out = {};
|
|
14
|
+
for (var k in props) {
|
|
15
|
+
var v = props[k];
|
|
16
|
+
if (k === 'id') out[k] = p + v;
|
|
17
|
+
else if (k === 'href' && typeof v === 'string' && v.charCodeAt(0) === 35) out[k] = '#' + p + v.slice(1);
|
|
18
|
+
else if (typeof v === 'string') out[k] = v.replace(/url\(#([^)]+)\)/g, function (_m, id) { return 'url(#' + p + id + ')'; });
|
|
19
|
+
else if (v && typeof v === 'object') {
|
|
20
|
+
var s = {};
|
|
21
|
+
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; }
|
|
22
|
+
out[k] = s;
|
|
23
|
+
} else out[k] = v;
|
|
24
|
+
}
|
|
25
|
+
return out;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
const Omniroute = react_1.forwardRef(function Omniroute({ variant = 'default', viewBox, ...props }, ref) {
|
|
29
|
+
const _p = 'tsvg' + react_1.useId().replace(/[^a-zA-Z0-9]/g, '') + '-';
|
|
30
|
+
const _v = _variants[variant] || _variants.default;
|
|
31
|
+
return react_1.createElement(
|
|
32
|
+
'svg',
|
|
33
|
+
Object.assign({ ref, viewBox: viewBox || _v.viewBox, fill: _v.fill, stroke: _v.stroke, xmlns: 'http://www.w3.org/2000/svg' }, props),
|
|
34
|
+
..._v.childNodes
|
|
35
|
+
.map(function _c(el) {
|
|
36
|
+
if (typeof el === 'string') return el;
|
|
37
|
+
return react_1.createElement(el.type, _ns(el.props, _p), ...(el.children || []).map(_c));
|
|
38
|
+
})
|
|
39
|
+
);
|
|
40
|
+
});
|
|
41
|
+
Omniroute.displayName = 'Omniroute';
|
|
42
|
+
|
|
43
|
+
exports.default = Omniroute;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// @thesvg/react — OmniRoute
|
|
2
|
+
// Auto-generated. Do not edit.
|
|
3
|
+
|
|
4
|
+
import type { SVGProps, ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
5
|
+
|
|
6
|
+
export type OmnirouteVariant = 'default';
|
|
7
|
+
|
|
8
|
+
export interface OmnirouteProps extends SVGProps<SVGSVGElement> {
|
|
9
|
+
/** Which icon variant to render. Defaults to "default". */
|
|
10
|
+
variant?: OmnirouteVariant;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
declare const Omniroute: ForwardRefExoticComponent<OmnirouteProps & RefAttributes<SVGSVGElement>>;
|
|
14
|
+
export default Omniroute;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
// @thesvg/react — OmniRoute
|
|
2
|
+
// Auto-generated. Do not edit.
|
|
3
|
+
// Variants: default
|
|
4
|
+
|
|
5
|
+
import { forwardRef, createElement, useId } from 'react';
|
|
6
|
+
|
|
7
|
+
const _variants = {"default":{"viewBox":"0 0 32 32","fill":"none","childNodes":[{"type":"title","props":{},"children":["OmniRoute"]},{"type":"rect","props":{"width":"32","height":"32","fill":"url(#a)","rx":"6"},"children":[]},{"type":"circle","props":{"cx":"16","cy":"16","r":"3","fill":"#fff"},"children":[]},{"type":"circle","props":{"cx":"8","cy":"8","r":"2","fill":"#fff"},"children":[]},{"type":"circle","props":{"cx":"24","cy":"8","r":"2","fill":"#fff"},"children":[]},{"type":"circle","props":{"cx":"8","cy":"24","r":"2","fill":"#fff"},"children":[]},{"type":"circle","props":{"cx":"24","cy":"24","r":"2","fill":"#fff"},"children":[]},{"type":"circle","props":{"cx":"16","cy":"5","r":"1.5","fill":"#fff"},"children":[]},{"type":"circle","props":{"cx":"16","cy":"27","r":"1.5","fill":"#fff"},"children":[]},{"type":"path","props":{"stroke":"#fff","strokeLinecap":"round","strokeWidth":"1.2","d":"M16 13 8 8m8 5 8-5m-8 11-8 5m8-5 8 5m-8-11V5m0 14v8"},"children":[]},{"type":"defs","props":{},"children":[{"type":"linearGradient","props":{"id":"a","x1":"0","x2":"32","y1":"0","y2":"32","gradientUnits":"userSpaceOnUse"},"children":[{"type":"stop","props":{"stopColor":"#E54D5E"},"children":[]},{"type":"stop","props":{"offset":"1","stopColor":"#C93D4E"},"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
|
+
}
|
|
24
|
+
|
|
25
|
+
const Omniroute = forwardRef(
|
|
26
|
+
function Omniroute({ variant = 'default', viewBox, ...props }, ref) {
|
|
27
|
+
const _p = 'tsvg' + useId().replace(/[^a-zA-Z0-9]/g, '') + '-';
|
|
28
|
+
const _v = _variants[variant] || _variants.default;
|
|
29
|
+
return createElement(
|
|
30
|
+
'svg',
|
|
31
|
+
Object.assign({ ref, viewBox: viewBox || _v.viewBox, fill: _v.fill, stroke: _v.stroke, xmlns: 'http://www.w3.org/2000/svg' }, props),
|
|
32
|
+
..._v.childNodes
|
|
33
|
+
.map(function _c(el) {
|
|
34
|
+
if (typeof el === 'string') return el;
|
|
35
|
+
return createElement(el.type, _ns(el.props, _p), ...(el.children || []).map(_c));
|
|
36
|
+
})
|
|
37
|
+
);
|
|
38
|
+
}
|
|
39
|
+
);
|
|
40
|
+
Omniroute.displayName = 'Omniroute';
|
|
41
|
+
|
|
42
|
+
export default Omniroute;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// @thesvg/react — Open Design
|
|
3
|
+
// Auto-generated. Do not edit.
|
|
4
|
+
// Variants: default
|
|
5
|
+
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
|
|
8
|
+
const react_1 = require("react");
|
|
9
|
+
|
|
10
|
+
const _variants = {"default":{"viewBox":"0 0.727 82 82","fill":"none","childNodes":[{"type":"title","props":{},"children":["Open Design"]},{"type":"path","props":{"fill":"#26251E","d":"M41 .727c35.575 0 41 5.424 41 41s-5.425 41-41 41-41-5.425-41-41 5.425-41 41-41m-.11 15.699c-13.974 0-25.302 11.328-25.302 25.303v21.936a3.36 3.36 0 0 0 3.366 3.366h21.937c13.974 0 25.302-11.328 25.302-25.303 0-13.974-11.328-25.302-25.302-25.302m0 5.06c11.18 0 20.243 9.063 20.243 20.242S52.07 61.971 40.89 61.971s-20.242-9.063-20.243-20.242S29.71 21.486 40.89 21.486m-8.245 10.769c-.653-.252-1.295.392-1.045 1.049l7.715 20.3c.32.843 1.562.612 1.562-.29v-11.63h11.788c.895 0 1.126-1.247.29-1.57z"},"children":[]}]}};
|
|
11
|
+
|
|
12
|
+
const OpenDesign = react_1.forwardRef(function OpenDesign({ variant = 'default', viewBox, ...props }, ref) {
|
|
13
|
+
const _v = _variants[variant] || _variants.default;
|
|
14
|
+
return react_1.createElement(
|
|
15
|
+
'svg',
|
|
16
|
+
Object.assign({ ref, viewBox: viewBox || _v.viewBox, fill: _v.fill, stroke: _v.stroke, xmlns: 'http://www.w3.org/2000/svg' }, props),
|
|
17
|
+
..._v.childNodes
|
|
18
|
+
.map(function _c(el) {
|
|
19
|
+
if (typeof el === 'string') return el;
|
|
20
|
+
return react_1.createElement(el.type, el.props, ...(el.children || []).map(_c));
|
|
21
|
+
})
|
|
22
|
+
);
|
|
23
|
+
});
|
|
24
|
+
OpenDesign.displayName = 'OpenDesign';
|
|
25
|
+
|
|
26
|
+
exports.default = OpenDesign;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// @thesvg/react — Open Design
|
|
2
|
+
// Auto-generated. Do not edit.
|
|
3
|
+
|
|
4
|
+
import type { SVGProps, ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
5
|
+
|
|
6
|
+
export type OpenDesignVariant = 'default';
|
|
7
|
+
|
|
8
|
+
export interface OpenDesignProps extends SVGProps<SVGSVGElement> {
|
|
9
|
+
/** Which icon variant to render. Defaults to "default". */
|
|
10
|
+
variant?: OpenDesignVariant;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
declare const OpenDesign: ForwardRefExoticComponent<OpenDesignProps & RefAttributes<SVGSVGElement>>;
|
|
14
|
+
export default OpenDesign;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// @thesvg/react — Open Design
|
|
2
|
+
// Auto-generated. Do not edit.
|
|
3
|
+
// Variants: default
|
|
4
|
+
|
|
5
|
+
import { forwardRef, createElement } from 'react';
|
|
6
|
+
|
|
7
|
+
const _variants = {"default":{"viewBox":"0 0.727 82 82","fill":"none","childNodes":[{"type":"title","props":{},"children":["Open Design"]},{"type":"path","props":{"fill":"#26251E","d":"M41 .727c35.575 0 41 5.424 41 41s-5.425 41-41 41-41-5.425-41-41 5.425-41 41-41m-.11 15.699c-13.974 0-25.302 11.328-25.302 25.303v21.936a3.36 3.36 0 0 0 3.366 3.366h21.937c13.974 0 25.302-11.328 25.302-25.303 0-13.974-11.328-25.302-25.302-25.302m0 5.06c11.18 0 20.243 9.063 20.243 20.242S52.07 61.971 40.89 61.971s-20.242-9.063-20.243-20.242S29.71 21.486 40.89 21.486m-8.245 10.769c-.653-.252-1.295.392-1.045 1.049l7.715 20.3c.32.843 1.562.612 1.562-.29v-11.63h11.788c.895 0 1.126-1.247.29-1.57z"},"children":[]}]}};
|
|
8
|
+
|
|
9
|
+
const OpenDesign = forwardRef(
|
|
10
|
+
function OpenDesign({ variant = 'default', viewBox, ...props }, ref) {
|
|
11
|
+
const _v = _variants[variant] || _variants.default;
|
|
12
|
+
return createElement(
|
|
13
|
+
'svg',
|
|
14
|
+
Object.assign({ ref, viewBox: viewBox || _v.viewBox, fill: _v.fill, stroke: _v.stroke, xmlns: 'http://www.w3.org/2000/svg' }, props),
|
|
15
|
+
..._v.childNodes
|
|
16
|
+
.map(function _c(el) {
|
|
17
|
+
if (typeof el === 'string') return el;
|
|
18
|
+
return createElement(el.type, el.props, ...(el.children || []).map(_c));
|
|
19
|
+
})
|
|
20
|
+
);
|
|
21
|
+
}
|
|
22
|
+
);
|
|
23
|
+
OpenDesign.displayName = 'OpenDesign';
|
|
24
|
+
|
|
25
|
+
export default OpenDesign;
|
package/dist/vellum.cjs
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// @thesvg/react — Vellum
|
|
3
|
+
// Auto-generated. Do not edit.
|
|
4
|
+
// Variants: default
|
|
5
|
+
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
|
|
8
|
+
const react_1 = require("react");
|
|
9
|
+
|
|
10
|
+
const _variants = {"default":{"viewBox":"0 0 174 53","fill":"none","childNodes":[{"type":"title","props":{},"children":["Vellum"]},{"type":"path","props":{"fill":"#262624","d":"m7.651 21.58 7.651 16.51 7.62-16.51h7.682L15.241 53 0 21.58zm53.436 16.299H39.895q.273 3.621 2.368 5.765 2.095 2.112 5.374 2.112 2.55 0 4.22-1.207 1.64-1.207 3.734-4.467l5.769 3.2q-1.335 2.262-2.824 3.893a15.6 15.6 0 0 1-3.187 2.656 13.1 13.1 0 0 1-3.674 1.509q-1.974.483-4.281.483-6.62 0-10.627-4.226-4.007-4.256-4.007-11.288 0-6.971 3.886-11.288 3.916-4.256 10.383-4.256 6.528 0 10.323 4.135 3.765 4.105 3.765 11.379zm-7.014-5.554q-1.426-5.433-6.892-5.433-1.245 0-2.337.393a6.5 6.5 0 0 0-2.004 1.086 6.8 6.8 0 0 0-1.518 1.69 7.9 7.9 0 0 0-.972 2.264zM75.417 0v50.978h-6.831V0zm15.484 0v50.978h-6.83V0zm15.485 21.58v16.872q0 7.304 5.799 7.304t5.799-7.304V21.58h6.831v17.023q0 3.532-.881 6.097-.85 2.294-2.945 4.135-3.46 2.988-8.804 2.988-5.314 0-8.775-2.988-2.125-1.842-3.006-4.135-.85-2.052-.85-6.097V21.58zm27.051 0h6.832v2.717q1.973-2.053 3.37-2.777 1.487-.755 3.734-.755 5.01 0 7.925 4.347 3.218-4.347 8.713-4.347 9.989 0 9.989 12.043v18.17h-6.862V34.649q0-4.225-1.032-5.976-1.062-1.78-3.491-1.78-2.824 0-4.13 2.112-1.275 2.113-1.275 6.791v15.182h-6.861V34.74q0-7.848-4.555-7.848-2.883 0-4.22 2.143-1.305 2.144-1.305 6.761v15.182h-6.832z"},"children":[]}]}};
|
|
11
|
+
|
|
12
|
+
const Vellum = react_1.forwardRef(function Vellum({ variant = 'default', viewBox, ...props }, ref) {
|
|
13
|
+
const _v = _variants[variant] || _variants.default;
|
|
14
|
+
return react_1.createElement(
|
|
15
|
+
'svg',
|
|
16
|
+
Object.assign({ ref, viewBox: viewBox || _v.viewBox, fill: _v.fill, stroke: _v.stroke, xmlns: 'http://www.w3.org/2000/svg' }, props),
|
|
17
|
+
..._v.childNodes
|
|
18
|
+
.map(function _c(el) {
|
|
19
|
+
if (typeof el === 'string') return el;
|
|
20
|
+
return react_1.createElement(el.type, el.props, ...(el.children || []).map(_c));
|
|
21
|
+
})
|
|
22
|
+
);
|
|
23
|
+
});
|
|
24
|
+
Vellum.displayName = 'Vellum';
|
|
25
|
+
|
|
26
|
+
exports.default = Vellum;
|
package/dist/vellum.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// @thesvg/react — Vellum
|
|
2
|
+
// Auto-generated. Do not edit.
|
|
3
|
+
|
|
4
|
+
import type { SVGProps, ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
5
|
+
|
|
6
|
+
export type VellumVariant = 'default';
|
|
7
|
+
|
|
8
|
+
export interface VellumProps extends SVGProps<SVGSVGElement> {
|
|
9
|
+
/** Which icon variant to render. Defaults to "default". */
|
|
10
|
+
variant?: VellumVariant;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
declare const Vellum: ForwardRefExoticComponent<VellumProps & RefAttributes<SVGSVGElement>>;
|
|
14
|
+
export default Vellum;
|
package/dist/vellum.js
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// @thesvg/react — Vellum
|
|
2
|
+
// Auto-generated. Do not edit.
|
|
3
|
+
// Variants: default
|
|
4
|
+
|
|
5
|
+
import { forwardRef, createElement } from 'react';
|
|
6
|
+
|
|
7
|
+
const _variants = {"default":{"viewBox":"0 0 174 53","fill":"none","childNodes":[{"type":"title","props":{},"children":["Vellum"]},{"type":"path","props":{"fill":"#262624","d":"m7.651 21.58 7.651 16.51 7.62-16.51h7.682L15.241 53 0 21.58zm53.436 16.299H39.895q.273 3.621 2.368 5.765 2.095 2.112 5.374 2.112 2.55 0 4.22-1.207 1.64-1.207 3.734-4.467l5.769 3.2q-1.335 2.262-2.824 3.893a15.6 15.6 0 0 1-3.187 2.656 13.1 13.1 0 0 1-3.674 1.509q-1.974.483-4.281.483-6.62 0-10.627-4.226-4.007-4.256-4.007-11.288 0-6.971 3.886-11.288 3.916-4.256 10.383-4.256 6.528 0 10.323 4.135 3.765 4.105 3.765 11.379zm-7.014-5.554q-1.426-5.433-6.892-5.433-1.245 0-2.337.393a6.5 6.5 0 0 0-2.004 1.086 6.8 6.8 0 0 0-1.518 1.69 7.9 7.9 0 0 0-.972 2.264zM75.417 0v50.978h-6.831V0zm15.484 0v50.978h-6.83V0zm15.485 21.58v16.872q0 7.304 5.799 7.304t5.799-7.304V21.58h6.831v17.023q0 3.532-.881 6.097-.85 2.294-2.945 4.135-3.46 2.988-8.804 2.988-5.314 0-8.775-2.988-2.125-1.842-3.006-4.135-.85-2.052-.85-6.097V21.58zm27.051 0h6.832v2.717q1.973-2.053 3.37-2.777 1.487-.755 3.734-.755 5.01 0 7.925 4.347 3.218-4.347 8.713-4.347 9.989 0 9.989 12.043v18.17h-6.862V34.649q0-4.225-1.032-5.976-1.062-1.78-3.491-1.78-2.824 0-4.13 2.112-1.275 2.113-1.275 6.791v15.182h-6.861V34.74q0-7.848-4.555-7.848-2.883 0-4.22 2.143-1.305 2.144-1.305 6.761v15.182h-6.832z"},"children":[]}]}};
|
|
8
|
+
|
|
9
|
+
const Vellum = forwardRef(
|
|
10
|
+
function Vellum({ variant = 'default', viewBox, ...props }, ref) {
|
|
11
|
+
const _v = _variants[variant] || _variants.default;
|
|
12
|
+
return createElement(
|
|
13
|
+
'svg',
|
|
14
|
+
Object.assign({ ref, viewBox: viewBox || _v.viewBox, fill: _v.fill, stroke: _v.stroke, xmlns: 'http://www.w3.org/2000/svg' }, props),
|
|
15
|
+
..._v.childNodes
|
|
16
|
+
.map(function _c(el) {
|
|
17
|
+
if (typeof el === 'string') return el;
|
|
18
|
+
return createElement(el.type, el.props, ...(el.children || []).map(_c));
|
|
19
|
+
})
|
|
20
|
+
);
|
|
21
|
+
}
|
|
22
|
+
);
|
|
23
|
+
Vellum.displayName = 'Vellum';
|
|
24
|
+
|
|
25
|
+
export default Vellum;
|