@thesvg/react 3.3.10 → 3.3.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/index.cjs CHANGED
@@ -8782,6 +8782,8 @@ const _letsencrypt = require('./letsencrypt.cjs');
8782
8782
  exports.Letsencrypt = _letsencrypt.default;
8783
8783
  const _letterboxd = require('./letterboxd.cjs');
8784
8784
  exports.Letterboxd = _letterboxd.default;
8785
+ const _levelrail = require('./levelrail.cjs');
8786
+ exports.Levelrail = _levelrail.default;
8785
8787
  const _levelsdotfyi = require('./levelsdotfyi.cjs');
8786
8788
  exports.Levelsdotfyi = _levelsdotfyi.default;
8787
8789
  const _lexical = require('./lexical.cjs');
package/dist/index.d.ts CHANGED
@@ -4392,6 +4392,7 @@ export { default as Less } from './less.js';
4392
4392
  export { default as LetSEncrypt } from './let-s-encrypt.js';
4393
4393
  export { default as Letsencrypt } from './letsencrypt.js';
4394
4394
  export { default as Letterboxd } from './letterboxd.js';
4395
+ export { default as Levelrail } from './levelrail.js';
4395
4396
  export { default as Levelsdotfyi } from './levelsdotfyi.js';
4396
4397
  export { default as Lexical } from './lexical.js';
4397
4398
  export { default as LexofficeBadge } from './lexoffice-badge.js';
package/dist/index.js CHANGED
@@ -4390,6 +4390,7 @@ export { default as Less } from './less.js';
4390
4390
  export { default as LetSEncrypt } from './let-s-encrypt.js';
4391
4391
  export { default as Letsencrypt } from './letsencrypt.js';
4392
4392
  export { default as Letterboxd } from './letterboxd.js';
4393
+ export { default as Levelrail } from './levelrail.js';
4393
4394
  export { default as Levelsdotfyi } from './levelsdotfyi.js';
4394
4395
  export { default as Lexical } from './lexical.js';
4395
4396
  export { default as LexofficeBadge } from './lexoffice-badge.js';
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ // @thesvg/react — Levelrail
3
+ // Auto-generated. Do not edit.
4
+ // Variants: default, mono
5
+
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+
8
+ const react_1 = require("react");
9
+
10
+ const _variants = {"default":{"viewBox":"0 0 256 256","fill":"currentColor","childNodes":[{"type":"title","props":{},"children":["Levelrail"]},{"type":"rect","props":{"width":"236","height":"68","x":"10","y":"174","fill":"#06232c","rx":"22"},"children":[]},{"type":"rect","props":{"width":"236","height":"68","x":"10","y":"162","fill":"#084f67","rx":"22"},"children":[]},{"type":"rect","props":{"width":"172","height":"68","x":"42","y":"103","fill":"#06232c","rx":"22"},"children":[]},{"type":"rect","props":{"width":"172","height":"68","x":"42","y":"91","fill":"#107292","rx":"22"},"children":[]},{"type":"rect","props":{"width":"106","height":"68","x":"75","y":"32","fill":"#06232c","rx":"22"},"children":[]},{"type":"rect","props":{"width":"106","height":"68","x":"75","y":"20","fill":"#58b1ce","rx":"22"},"children":[]}]},"mono":{"viewBox":"0 0 256 256","fill":"currentColor","childNodes":[{"type":"title","props":{},"children":["Levelrail"]},{"type":"rect","props":{"width":"236","height":"68","x":"10","y":"162","rx":"22"},"children":[]},{"type":"rect","props":{"width":"172","height":"68","x":"42","y":"91","rx":"22"},"children":[]},{"type":"rect","props":{"width":"106","height":"68","x":"75","y":"20","rx":"22"},"children":[]}]}};
11
+
12
+ const Levelrail = react_1.forwardRef(function Levelrail({ 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
+ Levelrail.displayName = 'Levelrail';
25
+
26
+ exports.default = Levelrail;
@@ -0,0 +1,14 @@
1
+ // @thesvg/react — Levelrail
2
+ // Auto-generated. Do not edit.
3
+
4
+ import type { SVGProps, ForwardRefExoticComponent, RefAttributes } from 'react';
5
+
6
+ export type LevelrailVariant = 'default' | 'mono';
7
+
8
+ export interface LevelrailProps extends SVGProps<SVGSVGElement> {
9
+ /** Which icon variant to render. Defaults to "default". */
10
+ variant?: LevelrailVariant;
11
+ }
12
+
13
+ declare const Levelrail: ForwardRefExoticComponent<LevelrailProps & RefAttributes<SVGSVGElement>>;
14
+ export default Levelrail;
@@ -0,0 +1,25 @@
1
+ // @thesvg/react — Levelrail
2
+ // Auto-generated. Do not edit.
3
+ // Variants: default, mono
4
+
5
+ import { forwardRef, createElement } from 'react';
6
+
7
+ const _variants = {"default":{"viewBox":"0 0 256 256","fill":"currentColor","childNodes":[{"type":"title","props":{},"children":["Levelrail"]},{"type":"rect","props":{"width":"236","height":"68","x":"10","y":"174","fill":"#06232c","rx":"22"},"children":[]},{"type":"rect","props":{"width":"236","height":"68","x":"10","y":"162","fill":"#084f67","rx":"22"},"children":[]},{"type":"rect","props":{"width":"172","height":"68","x":"42","y":"103","fill":"#06232c","rx":"22"},"children":[]},{"type":"rect","props":{"width":"172","height":"68","x":"42","y":"91","fill":"#107292","rx":"22"},"children":[]},{"type":"rect","props":{"width":"106","height":"68","x":"75","y":"32","fill":"#06232c","rx":"22"},"children":[]},{"type":"rect","props":{"width":"106","height":"68","x":"75","y":"20","fill":"#58b1ce","rx":"22"},"children":[]}]},"mono":{"viewBox":"0 0 256 256","fill":"currentColor","childNodes":[{"type":"title","props":{},"children":["Levelrail"]},{"type":"rect","props":{"width":"236","height":"68","x":"10","y":"162","rx":"22"},"children":[]},{"type":"rect","props":{"width":"172","height":"68","x":"42","y":"91","rx":"22"},"children":[]},{"type":"rect","props":{"width":"106","height":"68","x":"75","y":"20","rx":"22"},"children":[]}]}};
8
+
9
+ const Levelrail = forwardRef(
10
+ function Levelrail({ 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
+ Levelrail.displayName = 'Levelrail';
24
+
25
+ export default Levelrail;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thesvg/react",
3
- "version": "3.3.10",
3
+ "version": "3.3.11",
4
4
  "description": "Typed React SVG components for all 6,500+ brand icons from thesvg.org",
5
5
  "type": "module",
6
6
  "sideEffects": false,