@solaris-icons/react 0.1.0 → 0.1.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/dist/main.js +1 -1
- package/dist/src/icon.d.ts +1 -1
- package/package.json +10 -6
package/dist/src/icon.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/** biome-ignore-all lint/a11y/noSvgWithoutTitle: no need */
|
|
2
2
|
import type { IconProps } from "./types";
|
|
3
|
-
export declare function Icon({ ref, size, color, title, children, ...rest }: Omit<IconProps, "variant">): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare function Icon({ ref, size, color, title, children, className, ...rest }: Omit<IconProps, "variant">): import("react/jsx-runtime").JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solaris-icons/react",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "React components for Solaris Icons",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/main.js",
|
|
@@ -18,28 +18,32 @@
|
|
|
18
18
|
],
|
|
19
19
|
"scripts": {
|
|
20
20
|
"gen:icons": "bun run ./scripts/gen-icons.ts",
|
|
21
|
-
"build": "bun build
|
|
21
|
+
"build": "bun run build:assets && bun run build:types",
|
|
22
|
+
"build:assets": "bun build main.ts --outdir dist --target node --minify --external react --external react-dom --external react/jsx-runtime",
|
|
22
23
|
"build:types": "tsc --declaration --emitDeclarationOnly --outDir dist",
|
|
24
|
+
"format": "biome format --write",
|
|
23
25
|
"check:type": "tsc --noEmit",
|
|
24
26
|
"check:biome": "biome check",
|
|
25
|
-
"
|
|
26
|
-
"prepublishOnly": "bun run build"
|
|
27
|
+
"bump": "bun run ./scripts/bump-version.ts",
|
|
28
|
+
"prepublishOnly": "bun run build && bun run bump"
|
|
27
29
|
},
|
|
28
30
|
"keywords": [
|
|
29
31
|
"icons",
|
|
30
32
|
"react",
|
|
33
|
+
"solar",
|
|
31
34
|
"solaris",
|
|
32
35
|
"svg",
|
|
33
36
|
"react-icons"
|
|
34
37
|
],
|
|
35
|
-
"author": "
|
|
38
|
+
"author": "Luc Le <trungluc.dev@gmail.com>",
|
|
36
39
|
"license": "MIT",
|
|
37
40
|
"repository": {
|
|
38
41
|
"type": "git",
|
|
39
|
-
"url": "https://github.com/
|
|
42
|
+
"url": "https://github.com/itsnamor/solaris-icons"
|
|
40
43
|
},
|
|
41
44
|
"devDependencies": {
|
|
42
45
|
"@biomejs/biome": "2.3.10",
|
|
46
|
+
"@clack/prompts": "^0.11.0",
|
|
43
47
|
"@types/bun": "latest",
|
|
44
48
|
"@types/react": "^19.2.7",
|
|
45
49
|
"@types/react-dom": "^19.2.3",
|