@techbykyle/svg-logo 0.3.5 → 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.
Files changed (43) hide show
  1. package/BRAND_ASSETS.md +16 -0
  2. package/README.md +26 -2
  3. package/dist/cjs/LoadLogo.js +9 -0
  4. package/dist/cjs/Logo/Antigravity.js +34 -0
  5. package/dist/cjs/Logo/AntigravityColor.js +279 -0
  6. package/dist/cjs/Logo/Ranteater.js +5 -3
  7. package/dist/cjs/Logo/Swift.js +38 -0
  8. package/dist/cjs/Logo/XAI.js +5 -3
  9. package/dist/cjs/Logo/XAISquareTransparent.js +5 -3
  10. package/dist/cjs/icons/Antigravity.js +11 -0
  11. package/dist/cjs/icons/AntigravityColor.js +11 -0
  12. package/dist/cjs/icons/Swift.js +11 -0
  13. package/dist/cjs/index.js +3 -0
  14. package/dist/cjs/metadata.js +39 -0
  15. package/dist/cjs/runtime.js +12 -1
  16. package/dist/esm/LoadLogo.js +9 -0
  17. package/dist/esm/Logo/Antigravity.js +27 -0
  18. package/dist/esm/Logo/AntigravityColor.js +272 -0
  19. package/dist/esm/Logo/Ranteater.js +5 -3
  20. package/dist/esm/Logo/Swift.js +31 -0
  21. package/dist/esm/Logo/XAI.js +5 -3
  22. package/dist/esm/Logo/XAISquareTransparent.js +5 -3
  23. package/dist/esm/icons/Antigravity.js +7 -0
  24. package/dist/esm/icons/AntigravityColor.js +7 -0
  25. package/dist/esm/icons/Swift.js +7 -0
  26. package/dist/esm/index.js +3 -0
  27. package/dist/esm/metadata.js +39 -0
  28. package/dist/esm/runtime.js +12 -1
  29. package/dist/index.d.cts +5 -2
  30. package/dist/index.d.mts +5 -2
  31. package/dist/index.d.ts +5 -2
  32. package/dist/metadata.json +39 -0
  33. package/dist/types/icons/Antigravity.d.cts +3 -0
  34. package/dist/types/icons/Antigravity.d.mts +3 -0
  35. package/dist/types/icons/Antigravity.d.ts +3 -0
  36. package/dist/types/icons/AntigravityColor.d.cts +3 -0
  37. package/dist/types/icons/AntigravityColor.d.mts +3 -0
  38. package/dist/types/icons/AntigravityColor.d.ts +3 -0
  39. package/dist/types/icons/Swift.d.cts +3 -0
  40. package/dist/types/icons/Swift.d.mts +3 -0
  41. package/dist/types/icons/Swift.d.ts +3 -0
  42. package/icons.json +36 -0
  43. package/package.json +2 -2
@@ -55,11 +55,21 @@ function scaleDimension(value, factor) {
55
55
  }
56
56
  return "".concat(Number(match[1]) * factor).concat(match[2]);
57
57
  }
58
+
59
+ // React's useId format varies by version (":r0:", "«r0»", "_r_0_"). Strip
60
+ // characters that are awkward in SVG url(#...) references and CSS selectors.
61
+ // The result is deterministic, so server and client markup still match.
62
+ function toSvgIdPrefix(slug, reactId) {
63
+ return "svg-logo-".concat(slug, "-").concat(reactId.replace(/[^A-Za-z0-9_-]/g, ''));
64
+ }
58
65
  export function createLogoComponent(RawLogo, metadata) {
59
66
  var Logo = /*#__PURE__*/React.forwardRef(function LogoComponent() {
60
67
  var _ref, _ref2, _ref3;
61
68
  var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
62
69
  var ref = arguments.length > 1 ? arguments[1] : undefined;
70
+ // Per-instance prefix for internal mask, filter, and clipPath IDs, so
71
+ // repeated icons on one page never resolve each other's definitions.
72
+ var idPrefix = toSvgIdPrefix(metadata.slug, React.useId());
63
73
  var size = props.size,
64
74
  width = props.width,
65
75
  height = props.height,
@@ -106,7 +116,8 @@ export function createLogoComponent(RawLogo, metadata) {
106
116
  w: resolvedWidth,
107
117
  h: resolvedHeight,
108
118
  fill: {},
109
- title: ''
119
+ title: '',
120
+ idPrefix: idPrefix
110
121
  });
111
122
  if (! /*#__PURE__*/React.isValidElement(rawElement) || rawElement.type !== 'svg') {
112
123
  throw new TypeError("".concat(metadata.exportName, " must return an SVG root element"));
package/dist/index.d.cts CHANGED
@@ -1,7 +1,7 @@
1
1
  import type { CSSProperties, ForwardRefExoticComponent, RefAttributes, SVGProps } from 'react'
2
2
 
3
- type IconName = "ACP" | "Amazon" | "Anthropic" | "Apple" | "Aqara" | "ArchLinux" | "Bitbucket" | "Canonical" | "Cisco" | "ClaudeCode" | "ClaudeCodeMonochrome" | "Debian" | "Fedora" | "Forgejo" | "Git" | "Gitea" | "GitHub" | "GitHubCopilot" | "GitLab" | "GLiNet" | "Google" | "Grok" | "GrokKFull" | "HomeAssistant" | "HomeDepot" | "LinkedIn" | "Linux" | "LinuxMint" | "Manjaro" | "Microsoft" | "MicrosoftColor" | "Mqtt" | "MSI" | "Netgate" | "Netgear" | "NewEgg" | "Npm" | "OpenAi" | "OpenCode" | "OpenCodeMonochrome" | "Opensource" | "OpenSUSE" | "Ranteater" | "Reolink" | "Samsung" | "Shelly" | "Ubiquiti" | "Ubuntu" | "VsCode" | "Wellcube" | "Windows11" | "XAI" | "XAISquareTransparent" | "Xiaomi"
4
- type IconSlug = "acp" | "amazon" | "anthropic" | "apple" | "aqara" | "arch-linux" | "bitbucket" | "canonical" | "cisco" | "claude-code" | "claude-code-monochrome" | "debian" | "fedora" | "forgejo" | "git" | "gitea" | "github" | "github-copilot" | "gitlab" | "glinet" | "google" | "grok" | "grok-full" | "home-assistant" | "home-depot" | "linkedin" | "linux" | "linux-mint" | "manjaro" | "microsoft" | "microsoft-color" | "mqtt" | "msi" | "netgate" | "netgear" | "newegg" | "npm" | "openai" | "opencode" | "opencode-monochrome" | "open-source" | "opensuse" | "ranteater" | "reolink" | "samsung" | "shelly" | "ubiquiti" | "ubuntu" | "visual-studio-code" | "wellcube" | "windows-11" | "xai" | "xai-square-transparent" | "xiaomi"
3
+ type IconName = "ACP" | "Amazon" | "Anthropic" | "Antigravity" | "AntigravityColor" | "Apple" | "Aqara" | "ArchLinux" | "Bitbucket" | "Canonical" | "Cisco" | "ClaudeCode" | "ClaudeCodeMonochrome" | "Debian" | "Fedora" | "Forgejo" | "Git" | "Gitea" | "GitHub" | "GitHubCopilot" | "GitLab" | "GLiNet" | "Google" | "Grok" | "GrokKFull" | "HomeAssistant" | "HomeDepot" | "LinkedIn" | "Linux" | "LinuxMint" | "Manjaro" | "Microsoft" | "MicrosoftColor" | "Mqtt" | "MSI" | "Netgate" | "Netgear" | "NewEgg" | "Npm" | "OpenAi" | "OpenCode" | "OpenCodeMonochrome" | "Opensource" | "OpenSUSE" | "Ranteater" | "Reolink" | "Samsung" | "Shelly" | "Swift" | "Ubiquiti" | "Ubuntu" | "VsCode" | "Wellcube" | "Windows11" | "XAI" | "XAISquareTransparent" | "Xiaomi"
4
+ type IconSlug = "acp" | "amazon" | "anthropic" | "antigravity" | "antigravity-color" | "apple" | "aqara" | "arch-linux" | "bitbucket" | "canonical" | "cisco" | "claude-code" | "claude-code-monochrome" | "debian" | "fedora" | "forgejo" | "git" | "gitea" | "github" | "github-copilot" | "gitlab" | "glinet" | "google" | "grok" | "grok-full" | "home-assistant" | "home-depot" | "linkedin" | "linux" | "linux-mint" | "manjaro" | "microsoft" | "microsoft-color" | "mqtt" | "msi" | "netgate" | "netgear" | "newegg" | "npm" | "openai" | "opencode" | "opencode-monochrome" | "open-source" | "opensuse" | "ranteater" | "reolink" | "samsung" | "shelly" | "swift" | "ubiquiti" | "ubuntu" | "visual-studio-code" | "wellcube" | "windows-11" | "xai" | "xai-square-transparent" | "xiaomi"
5
5
  type IconIdentifier = IconName | IconSlug
6
6
  type IconColorMode = 'monochrome' | 'duotone' | 'multicolor' | 'fixed-color'
7
7
  type IconVariant = 'logo' | 'logomark' | 'wordmark' | 'combination-mark' | 'emblem'
@@ -72,6 +72,8 @@ declare var LoadLogo: LoadLogoComponent & {
72
72
  readonly ACP: LogoComponent
73
73
  readonly Amazon: LogoComponent
74
74
  readonly Anthropic: LogoComponent
75
+ readonly Antigravity: LogoComponent
76
+ readonly AntigravityColor: LogoComponent
75
77
  readonly Apple: LogoComponent
76
78
  readonly Aqara: LogoComponent
77
79
  readonly ArchLinux: LogoComponent
@@ -115,6 +117,7 @@ declare var LoadLogo: LoadLogoComponent & {
115
117
  readonly Reolink: LogoComponent
116
118
  readonly Samsung: LogoComponent
117
119
  readonly Shelly: LogoComponent
120
+ readonly Swift: LogoComponent
118
121
  readonly Ubiquiti: LogoComponent
119
122
  readonly Ubuntu: LogoComponent
120
123
  readonly VsCode: LogoComponent
package/dist/index.d.mts CHANGED
@@ -1,7 +1,7 @@
1
1
  import type { CSSProperties, ForwardRefExoticComponent, RefAttributes, SVGProps } from 'react'
2
2
 
3
- export type IconName = "ACP" | "Amazon" | "Anthropic" | "Apple" | "Aqara" | "ArchLinux" | "Bitbucket" | "Canonical" | "Cisco" | "ClaudeCode" | "ClaudeCodeMonochrome" | "Debian" | "Fedora" | "Forgejo" | "Git" | "Gitea" | "GitHub" | "GitHubCopilot" | "GitLab" | "GLiNet" | "Google" | "Grok" | "GrokKFull" | "HomeAssistant" | "HomeDepot" | "LinkedIn" | "Linux" | "LinuxMint" | "Manjaro" | "Microsoft" | "MicrosoftColor" | "Mqtt" | "MSI" | "Netgate" | "Netgear" | "NewEgg" | "Npm" | "OpenAi" | "OpenCode" | "OpenCodeMonochrome" | "Opensource" | "OpenSUSE" | "Ranteater" | "Reolink" | "Samsung" | "Shelly" | "Ubiquiti" | "Ubuntu" | "VsCode" | "Wellcube" | "Windows11" | "XAI" | "XAISquareTransparent" | "Xiaomi"
4
- export type IconSlug = "acp" | "amazon" | "anthropic" | "apple" | "aqara" | "arch-linux" | "bitbucket" | "canonical" | "cisco" | "claude-code" | "claude-code-monochrome" | "debian" | "fedora" | "forgejo" | "git" | "gitea" | "github" | "github-copilot" | "gitlab" | "glinet" | "google" | "grok" | "grok-full" | "home-assistant" | "home-depot" | "linkedin" | "linux" | "linux-mint" | "manjaro" | "microsoft" | "microsoft-color" | "mqtt" | "msi" | "netgate" | "netgear" | "newegg" | "npm" | "openai" | "opencode" | "opencode-monochrome" | "open-source" | "opensuse" | "ranteater" | "reolink" | "samsung" | "shelly" | "ubiquiti" | "ubuntu" | "visual-studio-code" | "wellcube" | "windows-11" | "xai" | "xai-square-transparent" | "xiaomi"
3
+ export type IconName = "ACP" | "Amazon" | "Anthropic" | "Antigravity" | "AntigravityColor" | "Apple" | "Aqara" | "ArchLinux" | "Bitbucket" | "Canonical" | "Cisco" | "ClaudeCode" | "ClaudeCodeMonochrome" | "Debian" | "Fedora" | "Forgejo" | "Git" | "Gitea" | "GitHub" | "GitHubCopilot" | "GitLab" | "GLiNet" | "Google" | "Grok" | "GrokKFull" | "HomeAssistant" | "HomeDepot" | "LinkedIn" | "Linux" | "LinuxMint" | "Manjaro" | "Microsoft" | "MicrosoftColor" | "Mqtt" | "MSI" | "Netgate" | "Netgear" | "NewEgg" | "Npm" | "OpenAi" | "OpenCode" | "OpenCodeMonochrome" | "Opensource" | "OpenSUSE" | "Ranteater" | "Reolink" | "Samsung" | "Shelly" | "Swift" | "Ubiquiti" | "Ubuntu" | "VsCode" | "Wellcube" | "Windows11" | "XAI" | "XAISquareTransparent" | "Xiaomi"
4
+ export type IconSlug = "acp" | "amazon" | "anthropic" | "antigravity" | "antigravity-color" | "apple" | "aqara" | "arch-linux" | "bitbucket" | "canonical" | "cisco" | "claude-code" | "claude-code-monochrome" | "debian" | "fedora" | "forgejo" | "git" | "gitea" | "github" | "github-copilot" | "gitlab" | "glinet" | "google" | "grok" | "grok-full" | "home-assistant" | "home-depot" | "linkedin" | "linux" | "linux-mint" | "manjaro" | "microsoft" | "microsoft-color" | "mqtt" | "msi" | "netgate" | "netgear" | "newegg" | "npm" | "openai" | "opencode" | "opencode-monochrome" | "open-source" | "opensuse" | "ranteater" | "reolink" | "samsung" | "shelly" | "swift" | "ubiquiti" | "ubuntu" | "visual-studio-code" | "wellcube" | "windows-11" | "xai" | "xai-square-transparent" | "xiaomi"
5
5
  export type IconIdentifier = IconName | IconSlug
6
6
  export type IconColorMode = 'monochrome' | 'duotone' | 'multicolor' | 'fixed-color'
7
7
  export type IconVariant = 'logo' | 'logomark' | 'wordmark' | 'combination-mark' | 'emblem'
@@ -64,6 +64,8 @@ export declare const LoadLogo: LoadLogoComponent
64
64
  export declare const ACP: LogoComponent
65
65
  export declare const Amazon: LogoComponent
66
66
  export declare const Anthropic: LogoComponent
67
+ export declare const Antigravity: LogoComponent
68
+ export declare const AntigravityColor: LogoComponent
67
69
  export declare const Apple: LogoComponent
68
70
  export declare const Aqara: LogoComponent
69
71
  export declare const ArchLinux: LogoComponent
@@ -107,6 +109,7 @@ export declare const Ranteater: LogoComponent
107
109
  export declare const Reolink: LogoComponent
108
110
  export declare const Samsung: LogoComponent
109
111
  export declare const Shelly: LogoComponent
112
+ export declare const Swift: LogoComponent
110
113
  export declare const Ubiquiti: LogoComponent
111
114
  export declare const Ubuntu: LogoComponent
112
115
  export declare const VsCode: LogoComponent
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import type { CSSProperties, ForwardRefExoticComponent, RefAttributes, SVGProps } from 'react'
2
2
 
3
- export type IconName = "ACP" | "Amazon" | "Anthropic" | "Apple" | "Aqara" | "ArchLinux" | "Bitbucket" | "Canonical" | "Cisco" | "ClaudeCode" | "ClaudeCodeMonochrome" | "Debian" | "Fedora" | "Forgejo" | "Git" | "Gitea" | "GitHub" | "GitHubCopilot" | "GitLab" | "GLiNet" | "Google" | "Grok" | "GrokKFull" | "HomeAssistant" | "HomeDepot" | "LinkedIn" | "Linux" | "LinuxMint" | "Manjaro" | "Microsoft" | "MicrosoftColor" | "Mqtt" | "MSI" | "Netgate" | "Netgear" | "NewEgg" | "Npm" | "OpenAi" | "OpenCode" | "OpenCodeMonochrome" | "Opensource" | "OpenSUSE" | "Ranteater" | "Reolink" | "Samsung" | "Shelly" | "Ubiquiti" | "Ubuntu" | "VsCode" | "Wellcube" | "Windows11" | "XAI" | "XAISquareTransparent" | "Xiaomi"
4
- export type IconSlug = "acp" | "amazon" | "anthropic" | "apple" | "aqara" | "arch-linux" | "bitbucket" | "canonical" | "cisco" | "claude-code" | "claude-code-monochrome" | "debian" | "fedora" | "forgejo" | "git" | "gitea" | "github" | "github-copilot" | "gitlab" | "glinet" | "google" | "grok" | "grok-full" | "home-assistant" | "home-depot" | "linkedin" | "linux" | "linux-mint" | "manjaro" | "microsoft" | "microsoft-color" | "mqtt" | "msi" | "netgate" | "netgear" | "newegg" | "npm" | "openai" | "opencode" | "opencode-monochrome" | "open-source" | "opensuse" | "ranteater" | "reolink" | "samsung" | "shelly" | "ubiquiti" | "ubuntu" | "visual-studio-code" | "wellcube" | "windows-11" | "xai" | "xai-square-transparent" | "xiaomi"
3
+ export type IconName = "ACP" | "Amazon" | "Anthropic" | "Antigravity" | "AntigravityColor" | "Apple" | "Aqara" | "ArchLinux" | "Bitbucket" | "Canonical" | "Cisco" | "ClaudeCode" | "ClaudeCodeMonochrome" | "Debian" | "Fedora" | "Forgejo" | "Git" | "Gitea" | "GitHub" | "GitHubCopilot" | "GitLab" | "GLiNet" | "Google" | "Grok" | "GrokKFull" | "HomeAssistant" | "HomeDepot" | "LinkedIn" | "Linux" | "LinuxMint" | "Manjaro" | "Microsoft" | "MicrosoftColor" | "Mqtt" | "MSI" | "Netgate" | "Netgear" | "NewEgg" | "Npm" | "OpenAi" | "OpenCode" | "OpenCodeMonochrome" | "Opensource" | "OpenSUSE" | "Ranteater" | "Reolink" | "Samsung" | "Shelly" | "Swift" | "Ubiquiti" | "Ubuntu" | "VsCode" | "Wellcube" | "Windows11" | "XAI" | "XAISquareTransparent" | "Xiaomi"
4
+ export type IconSlug = "acp" | "amazon" | "anthropic" | "antigravity" | "antigravity-color" | "apple" | "aqara" | "arch-linux" | "bitbucket" | "canonical" | "cisco" | "claude-code" | "claude-code-monochrome" | "debian" | "fedora" | "forgejo" | "git" | "gitea" | "github" | "github-copilot" | "gitlab" | "glinet" | "google" | "grok" | "grok-full" | "home-assistant" | "home-depot" | "linkedin" | "linux" | "linux-mint" | "manjaro" | "microsoft" | "microsoft-color" | "mqtt" | "msi" | "netgate" | "netgear" | "newegg" | "npm" | "openai" | "opencode" | "opencode-monochrome" | "open-source" | "opensuse" | "ranteater" | "reolink" | "samsung" | "shelly" | "swift" | "ubiquiti" | "ubuntu" | "visual-studio-code" | "wellcube" | "windows-11" | "xai" | "xai-square-transparent" | "xiaomi"
5
5
  export type IconIdentifier = IconName | IconSlug
6
6
  export type IconColorMode = 'monochrome' | 'duotone' | 'multicolor' | 'fixed-color'
7
7
  export type IconVariant = 'logo' | 'logomark' | 'wordmark' | 'combination-mark' | 'emblem'
@@ -64,6 +64,8 @@ export declare const LoadLogo: LoadLogoComponent
64
64
  export declare const ACP: LogoComponent
65
65
  export declare const Amazon: LogoComponent
66
66
  export declare const Anthropic: LogoComponent
67
+ export declare const Antigravity: LogoComponent
68
+ export declare const AntigravityColor: LogoComponent
67
69
  export declare const Apple: LogoComponent
68
70
  export declare const Aqara: LogoComponent
69
71
  export declare const ArchLinux: LogoComponent
@@ -107,6 +109,7 @@ export declare const Ranteater: LogoComponent
107
109
  export declare const Reolink: LogoComponent
108
110
  export declare const Samsung: LogoComponent
109
111
  export declare const Shelly: LogoComponent
112
+ export declare const Swift: LogoComponent
110
113
  export declare const Ubiquiti: LogoComponent
111
114
  export declare const Ubuntu: LogoComponent
112
115
  export declare const VsCode: LogoComponent
@@ -40,6 +40,32 @@
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",
@@ -599,6 +625,19 @@
599
625
  "variant": "logo",
600
626
  "viewBox": "0 0 24 24"
601
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
+ },
602
641
  {
603
642
  "exportName": "Ubiquiti",
604
643
  "slug": "ubiquiti",
@@ -0,0 +1,3 @@
1
+ import svgLogo = require('../../index.cjs')
2
+ declare const Antigravity: svgLogo.LogoComponent
3
+ export = Antigravity
@@ -0,0 +1,3 @@
1
+ import type { LogoComponent } from '../../index.mjs'
2
+ declare const Antigravity: LogoComponent
3
+ export default Antigravity
@@ -0,0 +1,3 @@
1
+ import type { LogoComponent } from '../../index.js'
2
+ declare const Antigravity: LogoComponent
3
+ export default Antigravity
@@ -0,0 +1,3 @@
1
+ import svgLogo = require('../../index.cjs')
2
+ declare const AntigravityColor: svgLogo.LogoComponent
3
+ export = AntigravityColor
@@ -0,0 +1,3 @@
1
+ import type { LogoComponent } from '../../index.mjs'
2
+ declare const AntigravityColor: LogoComponent
3
+ export default AntigravityColor
@@ -0,0 +1,3 @@
1
+ import type { LogoComponent } from '../../index.js'
2
+ declare const AntigravityColor: LogoComponent
3
+ export default AntigravityColor
@@ -0,0 +1,3 @@
1
+ import svgLogo = require('../../index.cjs')
2
+ declare const Swift: svgLogo.LogoComponent
3
+ export = Swift
@@ -0,0 +1,3 @@
1
+ import type { LogoComponent } from '../../index.mjs'
2
+ declare const Swift: LogoComponent
3
+ export default Swift
@@ -0,0 +1,3 @@
1
+ import type { LogoComponent } from '../../index.js'
2
+ declare const Swift: LogoComponent
3
+ export default Swift
package/icons.json CHANGED
@@ -37,6 +37,30 @@
37
37
  "colorMode": "monochrome",
38
38
  "variant": "logomark"
39
39
  },
40
+ {
41
+ "exportName": "Antigravity",
42
+ "fileName": "Antigravity",
43
+ "slug": "antigravity",
44
+ "title": "Google Antigravity",
45
+ "source": "Google Antigravity press kit — antigravity-icon__one-color.svg; original 180×180 view box and path retained, inheriting currentColor",
46
+ "sourceUrl": "https://antigravity.google/assets/image/brand/antigravity-icon__one-color.svg",
47
+ "guidelinesUrl": "https://antigravity.google/press",
48
+ "assetLicense": "trademark",
49
+ "colorMode": "monochrome",
50
+ "variant": "logomark"
51
+ },
52
+ {
53
+ "exportName": "AntigravityColor",
54
+ "fileName": "AntigravityColor",
55
+ "slug": "antigravity-color",
56
+ "title": "Google Antigravity",
57
+ "source": "Google Antigravity press kit — antigravity-icon__full-color.svg; original 180×180 view box, geometry, masks, blurs, and colors retained",
58
+ "sourceUrl": "https://antigravity.google/assets/image/brand/antigravity-icon__full-color.svg",
59
+ "guidelinesUrl": "https://antigravity.google/press",
60
+ "assetLicense": "trademark",
61
+ "colorMode": "fixed-color",
62
+ "variant": "logomark"
63
+ },
40
64
  {
41
65
  "exportName": "Apple",
42
66
  "fileName": "Apple",
@@ -553,6 +577,18 @@
553
577
  "colorMode": "monochrome",
554
578
  "variant": "logo"
555
579
  },
580
+ {
581
+ "exportName": "Swift",
582
+ "fileName": "Swift",
583
+ "slug": "swift",
584
+ "title": "Swift",
585
+ "source": "Apple Developer Swift logo — swift_logo_color.svg from the official Swift logo kit; original view box, paths, and fixed colors retained",
586
+ "sourceUrl": "https://developer.apple.com/swift/resources/images/swift_logo_color.svg",
587
+ "guidelinesUrl": "https://developer.apple.com/swift/resources/",
588
+ "assetLicense": "trademark",
589
+ "colorMode": "fixed-color",
590
+ "variant": "logomark"
591
+ },
556
592
  {
557
593
  "exportName": "Ubiquiti",
558
594
  "fileName": "Ubiquiti",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@techbykyle/svg-logo",
3
- "version": "0.3.5",
3
+ "version": "0.4.0",
4
4
  "description": "A lightweight, tree-shakeable React SVG brand-logo library.",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",
@@ -57,7 +57,7 @@
57
57
  "prepack": "npm run build && npm run check"
58
58
  },
59
59
  "peerDependencies": {
60
- "react": ">=17.0.0"
60
+ "react": ">=18.0.0"
61
61
  },
62
62
  "devDependencies": {
63
63
  "@babel/core": "^7.26.10",