@astroicons/react 0.2.1 → 0.2.2

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Marc Mariné
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # @astroicons/react
2
2
 
3
+ [![NPM Version](https://img.shields.io/npm/v/@astroicons/react)](https://www.npmjs.com/package/@astroicons/react)
4
+ [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
5
+ [![View Changelog](https://img.shields.io/badge/view-CHANGELOG.md-yellow.svg)](https://github.com/marcmarine/astroicons/blob/main/packages/react/CHANGELOG.md)
6
+
3
7
  React components for the [Astroicons](https://github.com/marcmarine/astroicons) SVG set.
4
8
 
5
9
  ## Installation
@@ -13,14 +17,14 @@ npm install @astroicons/react
13
17
  Import each icon individually as a component:
14
18
 
15
19
  ```tsx
16
- import { Neptune, Conjunction, Saturn } from '@astroicons/react';
20
+ import { Sun, Conjunction, Moon } from '@astroicons/react';
17
21
 
18
22
  function App() {
19
23
  return (
20
24
  <>
21
- <Neptune />
25
+ <Sun />
22
26
  <Conjunction size={16} />
23
- <Saturn />
27
+ <Moon />
24
28
  </>
25
29
  );
26
30
  }
@@ -52,4 +56,4 @@ All icon components accept:
52
56
 
53
57
  ## License
54
58
 
55
- MIT License
59
+ See [LICENSE](LICENSE)
@@ -1 +1 @@
1
- import{a as M}from"../chunk-4hn6v3ax.js";import{b as v}from"../chunk-tx8fq562.js";import{c as d}from"../chunk-f0c6z9w6.js";import{d as n}from"../chunk-a3yg8ag3.js";import{e as t}from"../chunk-v9jmqsnn.js";import{f as A}from"../chunk-kmk5ejrg.js";import{g}from"../chunk-f79c483b.js";import{h as p}from"../chunk-mp5a62qr.js";import{i as a}from"../chunk-343hre0h.js";import{j as e}from"../chunk-m4fdqagj.js";import{k as l}from"../chunk-wr7h3nsg.js";import{l as P}from"../chunk-9gg9ez0r.js";import{m as y}from"../chunk-w5rdzbes.js";import{n as G}from"../chunk-dq35bh7n.js";import{o as C}from"../chunk-711mmm6g.js";import{p as i}from"../chunk-73012pap.js";import{q as S}from"../chunk-qtm5m25h.js";import{r as V}from"../chunk-f9dz7pb7.js";import{s}from"../chunk-xny7jzba.js";import{t as R}from"../chunk-nw32c9bh.js";import{u as m}from"../chunk-rrjyqwg1.js";import{v as q}from"../chunk-dhc4eg0q.js";import{w as N}from"../chunk-q04740z5.js";import{x}from"../chunk-revpkmvm.js";import{y as u}from"../chunk-dwe5gq1m.js";import{z as w}from"../chunk-5w3z8mw0.js";import{A as c}from"../chunk-2pjryskj.js";import{B as f}from"../chunk-hc6xmh5n.js";import{C as b}from"../chunk-ct93q1hh.js";import{D as I}from"../chunk-a9pzfs8d.js";import"../chunk-r9gdr272.js";import{forwardRef as T}from"react";var E={venus:i,virgo:t,neptune:m,sun:n,ascendant:e,sagittarius:p,conjunction:s,pisces:f,libra:u,saturn:c,moon:a,semisextile:l,uranus:y,aquarius:I,capricorn:d,pluto:g,scorpio:x,sextile:N,leo:S,aries:q,jupiter:C,opposition:P,quadrature:V,quincunx:A,mercury:G,cancer:M,taurus:R,gemini:b,trigone:v,mars:w};import{jsxDEV as j}from"react/jsx-dev-runtime";var L=T(({name:o,...O},Q)=>{let r=E[o];if(!r)return console.warn(`[astroicons] Icon "${o}" not found in registry.`),null;return j(r,{...O,ref:Q},void 0,!1,void 0,this)});L.displayName="Icon";var k=L;export{k as Icon};
1
+ import{a as v}from"../chunk-4hn6v3ax.js";import{b as M}from"../chunk-tx8fq562.js";import{c as d}from"../chunk-f0c6z9w6.js";import{d as e}from"../chunk-a3yg8ag3.js";import{e as i}from"../chunk-v9jmqsnn.js";import{f as P}from"../chunk-kmk5ejrg.js";import{g as x}from"../chunk-f79c483b.js";import{h as p}from"../chunk-mp5a62qr.js";import{i as a}from"../chunk-343hre0h.js";import{j as n}from"../chunk-m4fdqagj.js";import{k as l}from"../chunk-wr7h3nsg.js";import{l as C}from"../chunk-9gg9ez0r.js";import{m as y}from"../chunk-w5rdzbes.js";import{n as j}from"../chunk-dq35bh7n.js";import{o as q}from"../chunk-711mmm6g.js";import{p as t}from"../chunk-73012pap.js";import{q as S}from"../chunk-qtm5m25h.js";import{r as E}from"../chunk-f9dz7pb7.js";import{s}from"../chunk-xny7jzba.js";import{t as A}from"../chunk-nw32c9bh.js";import{u as m}from"../chunk-rrjyqwg1.js";import{v as V}from"../chunk-dhc4eg0q.js";import{w as N}from"../chunk-q04740z5.js";import{x as g}from"../chunk-revpkmvm.js";import{y as c}from"../chunk-dwe5gq1m.js";import{z as R}from"../chunk-5w3z8mw0.js";import{A as u}from"../chunk-2pjryskj.js";import{B as f}from"../chunk-hc6xmh5n.js";import{C as G}from"../chunk-ct93q1hh.js";import{D as I}from"../chunk-a9pzfs8d.js";import"../chunk-r9gdr272.js";import{createElement as Q,forwardRef as T}from"react";var b={venus:t,virgo:i,neptune:m,sun:e,ascendant:n,sagittarius:p,conjunction:s,pisces:f,libra:c,saturn:u,moon:a,semisextile:l,uranus:y,aquarius:I,capricorn:d,pluto:x,scorpio:g,sextile:N,leo:S,aries:V,jupiter:q,opposition:C,quadrature:E,quincunx:P,mercury:j,cancer:v,taurus:A,gemini:G,trigone:M,mars:R};var w=T(({name:o,...L},O)=>{let r=b[o];if(!r)return console.warn(`[astroicons] Icon "${o}" not found in registry.`),null;return Q(r,{...L,ref:O})});w.displayName="Icon";var k=w;export{k as Icon};
package/package.json CHANGED
@@ -1,9 +1,15 @@
1
1
  {
2
2
  "name": "@astroicons/react",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "React components for Astroicons",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
+ "author": "Marc Mariné <shenobi@gmail.com>",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/marcmarine/astroicons.git",
11
+ "directory": "packages/react"
12
+ },
7
13
  "main": "./dist/cjs/index.js",
8
14
  "module": "./dist/index.js",
9
15
  "types": "./dist/index.d.ts",
@@ -25,6 +31,16 @@
25
31
  "files": [
26
32
  "dist"
27
33
  ],
34
+ "homepage": "https://astroicons.com",
35
+ "keywords": [
36
+ "astrology",
37
+ "zodiac",
38
+ "horoscope",
39
+ "signs",
40
+ "icon",
41
+ "icons",
42
+ "SVG"
43
+ ],
28
44
  "scripts": {
29
45
  "generate": "bun run scripts/generate.ts",
30
46
  "build": "bun run generate && bun scripts/build.ts && tsc --emitDeclarationOnly"