@octanejs/lucide 0.1.7 → 0.1.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/package.json +8 -8
- package/src/types.ts +2 -12
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@octanejs/lucide",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.11",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -45,17 +45,17 @@
|
|
|
45
45
|
"@lucide/icons": "1.24.0"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"octane": "0.1.
|
|
48
|
+
"octane": "0.1.16"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@tsrx/react": "^0.2.
|
|
51
|
+
"@tsrx/react": "^0.2.50",
|
|
52
52
|
"esbuild": "^0.28.1",
|
|
53
53
|
"lucide-react": "1.24.0",
|
|
54
|
-
"prettier": "^3.
|
|
55
|
-
"react": "^19.2.
|
|
56
|
-
"react-dom": "^19.2.
|
|
57
|
-
"vitest": "^4.1.
|
|
58
|
-
"octane": "0.1.
|
|
54
|
+
"prettier": "^3.9.6",
|
|
55
|
+
"react": "^19.2.7",
|
|
56
|
+
"react-dom": "^19.2.7",
|
|
57
|
+
"vitest": "^4.1.10",
|
|
58
|
+
"octane": "0.1.16"
|
|
59
59
|
},
|
|
60
60
|
"scripts": {
|
|
61
61
|
"generate": "node scripts/generate.mjs",
|
package/src/types.ts
CHANGED
|
@@ -1,14 +1,7 @@
|
|
|
1
1
|
import type { ElementDescriptor } from 'octane';
|
|
2
2
|
|
|
3
3
|
export type SVGElementType =
|
|
4
|
-
| '
|
|
5
|
-
| 'ellipse'
|
|
6
|
-
| 'g'
|
|
7
|
-
| 'line'
|
|
8
|
-
| 'path'
|
|
9
|
-
| 'polygon'
|
|
10
|
-
| 'polyline'
|
|
11
|
-
| 'rect';
|
|
4
|
+
'circle' | 'ellipse' | 'g' | 'line' | 'path' | 'polygon' | 'polyline' | 'rect';
|
|
12
5
|
|
|
13
6
|
export type IconNode = [elementName: SVGElementType, attrs: Record<string, string>][];
|
|
14
7
|
|
|
@@ -36,10 +29,7 @@ export interface LucideRefObject {
|
|
|
36
29
|
}
|
|
37
30
|
|
|
38
31
|
export type LucideRef =
|
|
39
|
-
|
|
|
40
|
-
| ((instance: SVGSVGElement | null) => void)
|
|
41
|
-
| readonly LucideRef[]
|
|
42
|
-
| null;
|
|
32
|
+
LucideRefObject | ((instance: SVGSVGElement | null) => void) | readonly LucideRef[] | null;
|
|
43
33
|
|
|
44
34
|
export interface LucideProps extends SVGAttributes {
|
|
45
35
|
absoluteStrokeWidth?: boolean;
|