@techbykyle/svg-logo 0.3.4 → 0.4.0
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/BRAND_ASSETS.md +24 -0
- package/README.md +44 -2
- package/dist/cjs/LoadLogo.js +15 -0
- package/dist/cjs/Logo/Antigravity.js +34 -0
- package/dist/cjs/Logo/AntigravityColor.js +279 -0
- package/dist/cjs/Logo/Bitbucket.js +34 -0
- package/dist/cjs/Logo/Forgejo.js +56 -0
- package/dist/cjs/Logo/Ranteater.js +5 -3
- package/dist/cjs/Logo/Swift.js +38 -0
- package/dist/cjs/Logo/XAI.js +5 -3
- package/dist/cjs/Logo/XAISquareTransparent.js +5 -3
- package/dist/cjs/icons/Antigravity.js +11 -0
- package/dist/cjs/icons/AntigravityColor.js +11 -0
- package/dist/cjs/icons/Bitbucket.js +11 -0
- package/dist/cjs/icons/Forgejo.js +11 -0
- package/dist/cjs/icons/Swift.js +11 -0
- package/dist/cjs/index.js +5 -0
- package/dist/cjs/metadata.js +65 -0
- package/dist/cjs/runtime.js +12 -1
- package/dist/esm/LoadLogo.js +15 -0
- package/dist/esm/Logo/Antigravity.js +27 -0
- package/dist/esm/Logo/AntigravityColor.js +272 -0
- package/dist/esm/Logo/Bitbucket.js +27 -0
- package/dist/esm/Logo/Forgejo.js +49 -0
- package/dist/esm/Logo/Ranteater.js +5 -3
- package/dist/esm/Logo/Swift.js +31 -0
- package/dist/esm/Logo/XAI.js +5 -3
- package/dist/esm/Logo/XAISquareTransparent.js +5 -3
- package/dist/esm/icons/Antigravity.js +7 -0
- package/dist/esm/icons/AntigravityColor.js +7 -0
- package/dist/esm/icons/Bitbucket.js +7 -0
- package/dist/esm/icons/Forgejo.js +7 -0
- package/dist/esm/icons/Swift.js +7 -0
- package/dist/esm/index.js +5 -0
- package/dist/esm/metadata.js +65 -0
- package/dist/esm/runtime.js +12 -1
- package/dist/index.d.cts +7 -2
- package/dist/index.d.mts +7 -2
- package/dist/index.d.ts +7 -2
- package/dist/metadata.json +65 -0
- package/dist/types/icons/Antigravity.d.cts +3 -0
- package/dist/types/icons/Antigravity.d.mts +3 -0
- package/dist/types/icons/Antigravity.d.ts +3 -0
- package/dist/types/icons/AntigravityColor.d.cts +3 -0
- package/dist/types/icons/AntigravityColor.d.mts +3 -0
- package/dist/types/icons/AntigravityColor.d.ts +3 -0
- package/dist/types/icons/Bitbucket.d.cts +3 -0
- package/dist/types/icons/Bitbucket.d.mts +3 -0
- package/dist/types/icons/Bitbucket.d.ts +3 -0
- package/dist/types/icons/Forgejo.d.cts +3 -0
- package/dist/types/icons/Forgejo.d.mts +3 -0
- package/dist/types/icons/Forgejo.d.ts +3 -0
- package/dist/types/icons/Swift.d.cts +3 -0
- package/dist/types/icons/Swift.d.mts +3 -0
- package/dist/types/icons/Swift.d.ts +3 -0
- package/icons.json +60 -0
- package/package.json +2 -2
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
9
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
10
|
+
var Swift = function Swift(_ref) {
|
|
11
|
+
var _ref$fill = _ref.fill,
|
|
12
|
+
fill = _ref$fill === void 0 ? {} : _ref$fill,
|
|
13
|
+
_ref$w = _ref.w,
|
|
14
|
+
w = _ref$w === void 0 ? 45 : _ref$w,
|
|
15
|
+
_ref$h = _ref.h,
|
|
16
|
+
h = _ref$h === void 0 ? 45 : _ref$h,
|
|
17
|
+
_ref$title = _ref.title,
|
|
18
|
+
title = _ref$title === void 0 ? 'Swift' : _ref$title;
|
|
19
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", {
|
|
20
|
+
style: fill,
|
|
21
|
+
role: "img",
|
|
22
|
+
viewBox: "-252 343.9 106.1 106.1",
|
|
23
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
24
|
+
width: w,
|
|
25
|
+
height: h,
|
|
26
|
+
preserveAspectRatio: "xMidYMid meet",
|
|
27
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("title", {
|
|
28
|
+
children: title
|
|
29
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
30
|
+
d: "m-145.9 373.3c0-1.1 0-2.1 0-3.2-.1-2.3-.2-4.7-.6-7s-1.1-4.5-2.2-6.6-2.4-4-4.1-5.6c-1.7-1.7-3.6-3-5.6-4.1-2.1-1.1-4.3-1.8-6.6-2.2s-4.6-.6-7-.6c-1.1 0-2.1 0-3.2 0-1.3 0-2.5 0-3.8 0h-28.1-11.6c-1.3 0-2.5 0-3.8 0-1.1 0-2.1 0-3.2 0-.6 0-1.2 0-1.7.1-1.7.1-3.5.2-5.2.5s-3.4.8-5 1.4c-.5.2-1.1.5-1.6.7-1.6.8-3 1.8-4.4 2.9-.4.4-.9.8-1.3 1.2-1.7 1.7-3 3.6-4.1 5.6-1.1 2.1-1.8 4.3-2.2 6.6s-.5 4.6-.6 7v3.2 3.8 17.3 22.4 3.8 3.2c.1 2.3.2 4.7.6 7s1.1 4.5 2.2 6.6 2.4 4 4.1 5.6c1.7 1.7 3.6 3 5.6 4.1 2.1 1.1 4.3 1.8 6.6 2.2s4.6.6 7 .6h3.2 3.8 39.7 3.8 3.2c2.3-.1 4.7-.2 7-.6s4.5-1.1 6.6-2.2 4-2.4 5.6-4.1c1.7-1.7 3-3.6 4.1-5.6 1.1-2.1 1.8-4.3 2.2-6.6s.6-4.6.6-7c0-1.1 0-2.1 0-3.2 0-1.3 0-2.5 0-3.8v-39.7c-0-1.2-0-2.4-0-3.7z",
|
|
31
|
+
fill: "#f05138"
|
|
32
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
33
|
+
d: "m-168 409.4c.1-.4.2-.8.3-1.2 4.4-17.5-6.3-38.3-24.5-49.2 8 10.8 11.5 23.9 8.4 35.3-.3 1-.6 2-1 3-.4-.3-.9-.6-1.6-.9 0 0-18.1-11.2-37.7-30.9-.5-.5 10.5 15.7 22.9 28.8-5.9-3.3-22.2-15.2-32.6-24.6 1.3 2.1 2.8 4.2 4.4 6.1 8.6 11 19.9 24.5 33.4 34.9-9.5 5.8-22.9 6.3-36.2 0-3.3-1.5-6.4-3.4-9.3-5.5 5.6 9 14.3 16.8 24.9 21.4 12.6 5.4 25.2 5.1 34.5.1s.1 0 .1-.1c.4-.2.8-.5 1.2-.7 4.5-2.3 13.3-4.6 18.1 4.6 1.4 2.1 3.9-9.9-5.3-21.1z",
|
|
34
|
+
fill: "#fff"
|
|
35
|
+
})]
|
|
36
|
+
});
|
|
37
|
+
};
|
|
38
|
+
var _default = exports["default"] = Swift;
|
package/dist/cjs/Logo/XAI.js
CHANGED
|
@@ -15,7 +15,9 @@ var XAI = function XAI(_ref) {
|
|
|
15
15
|
_ref$h = _ref.h,
|
|
16
16
|
h = _ref$h === void 0 ? 45 : _ref$h,
|
|
17
17
|
_ref$title = _ref.title,
|
|
18
|
-
title = _ref$title === void 0 ? 'xAI' : _ref$title
|
|
18
|
+
title = _ref$title === void 0 ? 'xAI' : _ref$title,
|
|
19
|
+
_ref$idPrefix = _ref.idPrefix,
|
|
20
|
+
idPrefix = _ref$idPrefix === void 0 ? 'svg-logo-xai' : _ref$idPrefix;
|
|
19
21
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", {
|
|
20
22
|
style: fill,
|
|
21
23
|
role: "img",
|
|
@@ -28,7 +30,7 @@ var XAI = function XAI(_ref) {
|
|
|
28
30
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("title", {
|
|
29
31
|
children: title
|
|
30
32
|
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
|
|
31
|
-
clipPath: "url(#
|
|
33
|
+
clipPath: "url(#".concat(idPrefix, "-clip)"),
|
|
32
34
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("rect", {
|
|
33
35
|
width: "600",
|
|
34
36
|
height: "600",
|
|
@@ -48,7 +50,7 @@ var XAI = function XAI(_ref) {
|
|
|
48
50
|
})]
|
|
49
51
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("defs", {
|
|
50
52
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("clipPath", {
|
|
51
|
-
id: "
|
|
53
|
+
id: "".concat(idPrefix, "-clip"),
|
|
52
54
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("rect", {
|
|
53
55
|
width: "600",
|
|
54
56
|
height: "600",
|
|
@@ -15,7 +15,9 @@ var XAISquareTransparent = function XAISquareTransparent(_ref) {
|
|
|
15
15
|
_ref$h = _ref.h,
|
|
16
16
|
h = _ref$h === void 0 ? 45 : _ref$h,
|
|
17
17
|
_ref$title = _ref.title,
|
|
18
|
-
title = _ref$title === void 0 ? 'xAI' : _ref$title
|
|
18
|
+
title = _ref$title === void 0 ? 'xAI' : _ref$title,
|
|
19
|
+
_ref$idPrefix = _ref.idPrefix,
|
|
20
|
+
idPrefix = _ref$idPrefix === void 0 ? 'svg-logo-xai-square-transparent' : _ref$idPrefix;
|
|
19
21
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", {
|
|
20
22
|
style: fill,
|
|
21
23
|
role: "img",
|
|
@@ -28,7 +30,7 @@ var XAISquareTransparent = function XAISquareTransparent(_ref) {
|
|
|
28
30
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("title", {
|
|
29
31
|
children: title
|
|
30
32
|
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
|
|
31
|
-
clipPath: "url(#
|
|
33
|
+
clipPath: "url(#".concat(idPrefix, "-clip)"),
|
|
32
34
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
33
35
|
d: "M900.551 99.7843C804.619 107.606 427.549 154.353 166.092 417.192H69.0684L79.9091 406.388C134.623 353.529 376.727 129.506 900.551 99.4932V99.7843Z",
|
|
34
36
|
fill: "black"
|
|
@@ -44,7 +46,7 @@ var XAISquareTransparent = function XAISquareTransparent(_ref) {
|
|
|
44
46
|
})]
|
|
45
47
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("defs", {
|
|
46
48
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("clipPath", {
|
|
47
|
-
id: "
|
|
49
|
+
id: "".concat(idPrefix, "-clip"),
|
|
48
50
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("rect", {
|
|
49
51
|
width: "600",
|
|
50
52
|
height: "600",
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
'use strict'
|
|
2
|
+
|
|
3
|
+
const rawModule = require('../Logo/Antigravity.js')
|
|
4
|
+
const { createLogoComponent } = require('../runtime.js')
|
|
5
|
+
const { iconMetadata } = require('../metadata.js')
|
|
6
|
+
|
|
7
|
+
const RawLogo = rawModule.default || rawModule
|
|
8
|
+
const Antigravity = createLogoComponent(RawLogo, iconMetadata.Antigravity)
|
|
9
|
+
|
|
10
|
+
module.exports = Antigravity
|
|
11
|
+
module.exports.default = Antigravity
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
'use strict'
|
|
2
|
+
|
|
3
|
+
const rawModule = require('../Logo/AntigravityColor.js')
|
|
4
|
+
const { createLogoComponent } = require('../runtime.js')
|
|
5
|
+
const { iconMetadata } = require('../metadata.js')
|
|
6
|
+
|
|
7
|
+
const RawLogo = rawModule.default || rawModule
|
|
8
|
+
const AntigravityColor = createLogoComponent(RawLogo, iconMetadata.AntigravityColor)
|
|
9
|
+
|
|
10
|
+
module.exports = AntigravityColor
|
|
11
|
+
module.exports.default = AntigravityColor
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
'use strict'
|
|
2
|
+
|
|
3
|
+
const rawModule = require('../Logo/Bitbucket.js')
|
|
4
|
+
const { createLogoComponent } = require('../runtime.js')
|
|
5
|
+
const { iconMetadata } = require('../metadata.js')
|
|
6
|
+
|
|
7
|
+
const RawLogo = rawModule.default || rawModule
|
|
8
|
+
const Bitbucket = createLogoComponent(RawLogo, iconMetadata.Bitbucket)
|
|
9
|
+
|
|
10
|
+
module.exports = Bitbucket
|
|
11
|
+
module.exports.default = Bitbucket
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
'use strict'
|
|
2
|
+
|
|
3
|
+
const rawModule = require('../Logo/Forgejo.js')
|
|
4
|
+
const { createLogoComponent } = require('../runtime.js')
|
|
5
|
+
const { iconMetadata } = require('../metadata.js')
|
|
6
|
+
|
|
7
|
+
const RawLogo = rawModule.default || rawModule
|
|
8
|
+
const Forgejo = createLogoComponent(RawLogo, iconMetadata.Forgejo)
|
|
9
|
+
|
|
10
|
+
module.exports = Forgejo
|
|
11
|
+
module.exports.default = Forgejo
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
'use strict'
|
|
2
|
+
|
|
3
|
+
const rawModule = require('../Logo/Swift.js')
|
|
4
|
+
const { createLogoComponent } = require('../runtime.js')
|
|
5
|
+
const { iconMetadata } = require('../metadata.js')
|
|
6
|
+
|
|
7
|
+
const RawLogo = rawModule.default || rawModule
|
|
8
|
+
const Swift = createLogoComponent(RawLogo, iconMetadata.Swift)
|
|
9
|
+
|
|
10
|
+
module.exports = Swift
|
|
11
|
+
module.exports.default = Swift
|
package/dist/cjs/index.js
CHANGED
|
@@ -10,15 +10,19 @@ Object.assign(module.exports, metadata)
|
|
|
10
10
|
module.exports.ACP = require('./icons/ACP.js')
|
|
11
11
|
module.exports.Amazon = require('./icons/Amazon.js')
|
|
12
12
|
module.exports.Anthropic = require('./icons/Anthropic.js')
|
|
13
|
+
module.exports.Antigravity = require('./icons/Antigravity.js')
|
|
14
|
+
module.exports.AntigravityColor = require('./icons/AntigravityColor.js')
|
|
13
15
|
module.exports.Apple = require('./icons/Apple.js')
|
|
14
16
|
module.exports.Aqara = require('./icons/Aqara.js')
|
|
15
17
|
module.exports.ArchLinux = require('./icons/ArchLinux.js')
|
|
18
|
+
module.exports.Bitbucket = require('./icons/Bitbucket.js')
|
|
16
19
|
module.exports.Canonical = require('./icons/Canonical.js')
|
|
17
20
|
module.exports.Cisco = require('./icons/Cisco.js')
|
|
18
21
|
module.exports.ClaudeCode = require('./icons/ClaudeCode.js')
|
|
19
22
|
module.exports.ClaudeCodeMonochrome = require('./icons/ClaudeCodeMonochrome.js')
|
|
20
23
|
module.exports.Debian = require('./icons/Debian.js')
|
|
21
24
|
module.exports.Fedora = require('./icons/Fedora.js')
|
|
25
|
+
module.exports.Forgejo = require('./icons/Forgejo.js')
|
|
22
26
|
module.exports.Git = require('./icons/Git.js')
|
|
23
27
|
module.exports.Gitea = require('./icons/Gitea.js')
|
|
24
28
|
module.exports.GitHub = require('./icons/GitHub.js')
|
|
@@ -51,6 +55,7 @@ module.exports.Ranteater = require('./icons/Ranteater.js')
|
|
|
51
55
|
module.exports.Reolink = require('./icons/Reolink.js')
|
|
52
56
|
module.exports.Samsung = require('./icons/Samsung.js')
|
|
53
57
|
module.exports.Shelly = require('./icons/Shelly.js')
|
|
58
|
+
module.exports.Swift = require('./icons/Swift.js')
|
|
54
59
|
module.exports.Ubiquiti = require('./icons/Ubiquiti.js')
|
|
55
60
|
module.exports.Ubuntu = require('./icons/Ubuntu.js')
|
|
56
61
|
module.exports.VsCode = require('./icons/VsCode.js')
|
package/dist/cjs/metadata.js
CHANGED
|
@@ -40,6 +40,32 @@ const entries = [
|
|
|
40
40
|
"variant": "logomark",
|
|
41
41
|
"viewBox": "0 0 92 64"
|
|
42
42
|
},
|
|
43
|
+
{
|
|
44
|
+
"exportName": "Antigravity",
|
|
45
|
+
"slug": "antigravity",
|
|
46
|
+
"title": "Google Antigravity",
|
|
47
|
+
"source": "Google Antigravity press kit — antigravity-icon__one-color.svg; original 180×180 view box and path retained, inheriting currentColor",
|
|
48
|
+
"sourceUrl": "https://antigravity.google/assets/image/brand/antigravity-icon__one-color.svg",
|
|
49
|
+
"guidelinesUrl": "https://antigravity.google/press",
|
|
50
|
+
"assetLicense": "trademark",
|
|
51
|
+
"aspectRatio": 1,
|
|
52
|
+
"colorMode": "monochrome",
|
|
53
|
+
"variant": "logomark",
|
|
54
|
+
"viewBox": "0 0 180 180"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"exportName": "AntigravityColor",
|
|
58
|
+
"slug": "antigravity-color",
|
|
59
|
+
"title": "Google Antigravity",
|
|
60
|
+
"source": "Google Antigravity press kit — antigravity-icon__full-color.svg; original 180×180 view box, geometry, masks, blurs, and colors retained",
|
|
61
|
+
"sourceUrl": "https://antigravity.google/assets/image/brand/antigravity-icon__full-color.svg",
|
|
62
|
+
"guidelinesUrl": "https://antigravity.google/press",
|
|
63
|
+
"assetLicense": "trademark",
|
|
64
|
+
"aspectRatio": 1,
|
|
65
|
+
"colorMode": "fixed-color",
|
|
66
|
+
"variant": "logomark",
|
|
67
|
+
"viewBox": "0 0 180 180"
|
|
68
|
+
},
|
|
43
69
|
{
|
|
44
70
|
"exportName": "Apple",
|
|
45
71
|
"slug": "apple",
|
|
@@ -79,6 +105,19 @@ const entries = [
|
|
|
79
105
|
"variant": "logomark",
|
|
80
106
|
"viewBox": "22.734375 16.625 166.1875 166.1875"
|
|
81
107
|
},
|
|
108
|
+
{
|
|
109
|
+
"exportName": "Bitbucket",
|
|
110
|
+
"slug": "bitbucket",
|
|
111
|
+
"title": "Bitbucket",
|
|
112
|
+
"source": "Simple Icons Bitbucket icon — bitbucket.svg; original 24×24 view box and path retained, inheriting currentColor",
|
|
113
|
+
"sourceUrl": "https://github.com/simple-icons/simple-icons/blob/521c96fd04b0ea93034db8715eda5a4de27a58bb/icons/bitbucket.svg",
|
|
114
|
+
"guidelinesUrl": "https://www.atlassian.com/legal/trademark",
|
|
115
|
+
"assetLicense": "trademark",
|
|
116
|
+
"aspectRatio": 1,
|
|
117
|
+
"colorMode": "monochrome",
|
|
118
|
+
"variant": "logomark",
|
|
119
|
+
"viewBox": "0 0 24 24"
|
|
120
|
+
},
|
|
82
121
|
{
|
|
83
122
|
"exportName": "Canonical",
|
|
84
123
|
"slug": "canonical",
|
|
@@ -157,6 +196,19 @@ const entries = [
|
|
|
157
196
|
"variant": "logomark",
|
|
158
197
|
"viewBox": "0 0 24 24"
|
|
159
198
|
},
|
|
199
|
+
{
|
|
200
|
+
"exportName": "Forgejo",
|
|
201
|
+
"slug": "forgejo",
|
|
202
|
+
"title": "Forgejo",
|
|
203
|
+
"source": "Official Forgejo monochrome logo by Caesar Schinas (CC BY-SA 4.0); SVG styles scoped to the component",
|
|
204
|
+
"sourceUrl": "https://codeberg.org/forgejo/governance/raw/branch/main/branding/logo/forgejo-monochrome.svg",
|
|
205
|
+
"guidelinesUrl": "https://codeberg.org/forgejo/governance/src/branch/main/branding#logo",
|
|
206
|
+
"assetLicense": "open-source",
|
|
207
|
+
"aspectRatio": 1,
|
|
208
|
+
"colorMode": "monochrome",
|
|
209
|
+
"variant": "logomark",
|
|
210
|
+
"viewBox": "0 0 212 212"
|
|
211
|
+
},
|
|
160
212
|
{
|
|
161
213
|
"exportName": "Git",
|
|
162
214
|
"slug": "git",
|
|
@@ -573,6 +625,19 @@ const entries = [
|
|
|
573
625
|
"variant": "logo",
|
|
574
626
|
"viewBox": "0 0 24 24"
|
|
575
627
|
},
|
|
628
|
+
{
|
|
629
|
+
"exportName": "Swift",
|
|
630
|
+
"slug": "swift",
|
|
631
|
+
"title": "Swift",
|
|
632
|
+
"source": "Apple Developer Swift logo — swift_logo_color.svg from the official Swift logo kit; original view box, paths, and fixed colors retained",
|
|
633
|
+
"sourceUrl": "https://developer.apple.com/swift/resources/images/swift_logo_color.svg",
|
|
634
|
+
"guidelinesUrl": "https://developer.apple.com/swift/resources/",
|
|
635
|
+
"assetLicense": "trademark",
|
|
636
|
+
"aspectRatio": 1,
|
|
637
|
+
"colorMode": "fixed-color",
|
|
638
|
+
"variant": "logomark",
|
|
639
|
+
"viewBox": "-252 343.9 106.1 106.1"
|
|
640
|
+
},
|
|
576
641
|
{
|
|
577
642
|
"exportName": "Ubiquiti",
|
|
578
643
|
"slug": "ubiquiti",
|
package/dist/cjs/runtime.js
CHANGED
|
@@ -62,11 +62,21 @@ function scaleDimension(value, factor) {
|
|
|
62
62
|
}
|
|
63
63
|
return "".concat(Number(match[1]) * factor).concat(match[2]);
|
|
64
64
|
}
|
|
65
|
+
|
|
66
|
+
// React's useId format varies by version (":r0:", "«r0»", "_r_0_"). Strip
|
|
67
|
+
// characters that are awkward in SVG url(#...) references and CSS selectors.
|
|
68
|
+
// The result is deterministic, so server and client markup still match.
|
|
69
|
+
function toSvgIdPrefix(slug, reactId) {
|
|
70
|
+
return "svg-logo-".concat(slug, "-").concat(reactId.replace(/[^A-Za-z0-9_-]/g, ''));
|
|
71
|
+
}
|
|
65
72
|
function createLogoComponent(RawLogo, metadata) {
|
|
66
73
|
var Logo = /*#__PURE__*/_react["default"].forwardRef(function LogoComponent() {
|
|
67
74
|
var _ref, _ref2, _ref3;
|
|
68
75
|
var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
69
76
|
var ref = arguments.length > 1 ? arguments[1] : undefined;
|
|
77
|
+
// Per-instance prefix for internal mask, filter, and clipPath IDs, so
|
|
78
|
+
// repeated icons on one page never resolve each other's definitions.
|
|
79
|
+
var idPrefix = toSvgIdPrefix(metadata.slug, _react["default"].useId());
|
|
70
80
|
var size = props.size,
|
|
71
81
|
width = props.width,
|
|
72
82
|
height = props.height,
|
|
@@ -113,7 +123,8 @@ function createLogoComponent(RawLogo, metadata) {
|
|
|
113
123
|
w: resolvedWidth,
|
|
114
124
|
h: resolvedHeight,
|
|
115
125
|
fill: {},
|
|
116
|
-
title: ''
|
|
126
|
+
title: '',
|
|
127
|
+
idPrefix: idPrefix
|
|
117
128
|
});
|
|
118
129
|
if (! /*#__PURE__*/_react["default"].isValidElement(rawElement) || rawElement.type !== 'svg') {
|
|
119
130
|
throw new TypeError("".concat(metadata.exportName, " must return an SVG root element"));
|
package/dist/esm/LoadLogo.js
CHANGED
|
@@ -2,15 +2,19 @@ import React from 'react'
|
|
|
2
2
|
import ACP from './icons/ACP.js'
|
|
3
3
|
import Amazon from './icons/Amazon.js'
|
|
4
4
|
import Anthropic from './icons/Anthropic.js'
|
|
5
|
+
import Antigravity from './icons/Antigravity.js'
|
|
6
|
+
import AntigravityColor from './icons/AntigravityColor.js'
|
|
5
7
|
import Apple from './icons/Apple.js'
|
|
6
8
|
import Aqara from './icons/Aqara.js'
|
|
7
9
|
import ArchLinux from './icons/ArchLinux.js'
|
|
10
|
+
import Bitbucket from './icons/Bitbucket.js'
|
|
8
11
|
import Canonical from './icons/Canonical.js'
|
|
9
12
|
import Cisco from './icons/Cisco.js'
|
|
10
13
|
import ClaudeCode from './icons/ClaudeCode.js'
|
|
11
14
|
import ClaudeCodeMonochrome from './icons/ClaudeCodeMonochrome.js'
|
|
12
15
|
import Debian from './icons/Debian.js'
|
|
13
16
|
import Fedora from './icons/Fedora.js'
|
|
17
|
+
import Forgejo from './icons/Forgejo.js'
|
|
14
18
|
import Git from './icons/Git.js'
|
|
15
19
|
import Gitea from './icons/Gitea.js'
|
|
16
20
|
import GitHub from './icons/GitHub.js'
|
|
@@ -43,6 +47,7 @@ import Ranteater from './icons/Ranteater.js'
|
|
|
43
47
|
import Reolink from './icons/Reolink.js'
|
|
44
48
|
import Samsung from './icons/Samsung.js'
|
|
45
49
|
import Shelly from './icons/Shelly.js'
|
|
50
|
+
import Swift from './icons/Swift.js'
|
|
46
51
|
import Ubiquiti from './icons/Ubiquiti.js'
|
|
47
52
|
import Ubuntu from './icons/Ubuntu.js'
|
|
48
53
|
import VsCode from './icons/VsCode.js'
|
|
@@ -56,15 +61,19 @@ const iconMap = Object.freeze({
|
|
|
56
61
|
ACP,
|
|
57
62
|
Amazon,
|
|
58
63
|
Anthropic,
|
|
64
|
+
Antigravity,
|
|
65
|
+
AntigravityColor,
|
|
59
66
|
Apple,
|
|
60
67
|
Aqara,
|
|
61
68
|
ArchLinux,
|
|
69
|
+
Bitbucket,
|
|
62
70
|
Canonical,
|
|
63
71
|
Cisco,
|
|
64
72
|
ClaudeCode,
|
|
65
73
|
ClaudeCodeMonochrome,
|
|
66
74
|
Debian,
|
|
67
75
|
Fedora,
|
|
76
|
+
Forgejo,
|
|
68
77
|
Git,
|
|
69
78
|
Gitea,
|
|
70
79
|
GitHub,
|
|
@@ -97,6 +106,7 @@ const iconMap = Object.freeze({
|
|
|
97
106
|
Reolink,
|
|
98
107
|
Samsung,
|
|
99
108
|
Shelly,
|
|
109
|
+
Swift,
|
|
100
110
|
Ubiquiti,
|
|
101
111
|
Ubuntu,
|
|
102
112
|
VsCode,
|
|
@@ -111,15 +121,19 @@ const iconMapBySlug = Object.freeze({
|
|
|
111
121
|
"acp": ACP,
|
|
112
122
|
"amazon": Amazon,
|
|
113
123
|
"anthropic": Anthropic,
|
|
124
|
+
"antigravity": Antigravity,
|
|
125
|
+
"antigravity-color": AntigravityColor,
|
|
114
126
|
"apple": Apple,
|
|
115
127
|
"aqara": Aqara,
|
|
116
128
|
"arch-linux": ArchLinux,
|
|
129
|
+
"bitbucket": Bitbucket,
|
|
117
130
|
"canonical": Canonical,
|
|
118
131
|
"cisco": Cisco,
|
|
119
132
|
"claude-code": ClaudeCode,
|
|
120
133
|
"claude-code-monochrome": ClaudeCodeMonochrome,
|
|
121
134
|
"debian": Debian,
|
|
122
135
|
"fedora": Fedora,
|
|
136
|
+
"forgejo": Forgejo,
|
|
123
137
|
"git": Git,
|
|
124
138
|
"gitea": Gitea,
|
|
125
139
|
"github": GitHub,
|
|
@@ -152,6 +166,7 @@ const iconMapBySlug = Object.freeze({
|
|
|
152
166
|
"reolink": Reolink,
|
|
153
167
|
"samsung": Samsung,
|
|
154
168
|
"shelly": Shelly,
|
|
169
|
+
"swift": Swift,
|
|
155
170
|
"ubiquiti": Ubiquiti,
|
|
156
171
|
"ubuntu": Ubuntu,
|
|
157
172
|
"visual-studio-code": VsCode,
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
var Antigravity = function Antigravity(_ref) {
|
|
4
|
+
var _ref$fill = _ref.fill,
|
|
5
|
+
fill = _ref$fill === void 0 ? {} : _ref$fill,
|
|
6
|
+
_ref$w = _ref.w,
|
|
7
|
+
w = _ref$w === void 0 ? 45 : _ref$w,
|
|
8
|
+
_ref$h = _ref.h,
|
|
9
|
+
h = _ref$h === void 0 ? 45 : _ref$h,
|
|
10
|
+
_ref$title = _ref.title,
|
|
11
|
+
title = _ref$title === void 0 ? 'Google Antigravity' : _ref$title;
|
|
12
|
+
return /*#__PURE__*/_jsxs("svg", {
|
|
13
|
+
style: fill,
|
|
14
|
+
role: "img",
|
|
15
|
+
viewBox: "0 0 180 180",
|
|
16
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
17
|
+
width: w,
|
|
18
|
+
height: h,
|
|
19
|
+
preserveAspectRatio: "xMidYMid meet",
|
|
20
|
+
children: [/*#__PURE__*/_jsx("title", {
|
|
21
|
+
children: title
|
|
22
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
23
|
+
d: "M144.248 149.062C151.748 154.688 162.998 150.938 152.685 140.625C121.748 110.625 128.31 28.125 89.8727 28.125C51.4352 28.125 57.9977 110.625 27.0602 140.625C15.8102 151.875 27.9977 154.688 35.4977 149.062C64.5602 129.375 62.6852 94.6875 89.8727 94.6875C117.06 94.6875 115.185 129.375 144.248 149.062Z"
|
|
24
|
+
})]
|
|
25
|
+
});
|
|
26
|
+
};
|
|
27
|
+
export default Antigravity;
|