lucide-astro 0.330.0 → 0.331.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/.Layout.astro +17 -13
- package/dist/FileOutput.astro +4 -3
- package/dist/Telescope.astro +14 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/package.json +2 -2
package/dist/.Layout.astro
CHANGED
@@ -1,21 +1,25 @@
|
|
1
1
|
---
|
2
2
|
export type { Props } from './index.d.ts'
|
3
3
|
|
4
|
+
// extract and remove the size shortcut
|
4
5
|
const size = Astro.props.size
|
5
6
|
delete Astro.props.size
|
7
|
+
|
8
|
+
// allow the user's props to redefine our defaults
|
9
|
+
const props = Object.assign({
|
10
|
+
'xmlns': 'http://www.w3.org/2000/svg',
|
11
|
+
'stroke-width': 2
|
12
|
+
'width': size ?? 24,
|
13
|
+
'height': size ?? 24,
|
14
|
+
'stroke': 'currentColor',
|
15
|
+
'stroke-linecap': 'round',
|
16
|
+
'stroke-linejoin': 'round',
|
17
|
+
'fill': 'none',
|
18
|
+
'viewBox': '0 0 24 24'
|
19
|
+
}, Astro.props)
|
20
|
+
|
6
21
|
---
|
7
22
|
|
8
|
-
<svg
|
9
|
-
xmlns="http://www.w3.org/2000/svg"
|
10
|
-
stroke-width={2}
|
11
|
-
width={size ?? 24}
|
12
|
-
height={size ?? 24}
|
13
|
-
stroke="currentColor"
|
14
|
-
stroke-linecap="round"
|
15
|
-
stroke-linejoin="round"
|
16
|
-
fill="none"
|
17
|
-
viewBox="0 0 24 24"
|
18
|
-
{...Astro.props}
|
19
|
-
>
|
23
|
+
<svg {...props}>
|
20
24
|
<slot />
|
21
|
-
</svg>
|
25
|
+
</svg>
|
package/dist/FileOutput.astro
CHANGED
@@ -4,8 +4,9 @@ export type { Props } from './index.d.ts'
|
|
4
4
|
---
|
5
5
|
|
6
6
|
<Layout {...Astro.props}>
|
7
|
-
<path d="M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4" />
|
8
7
|
<path d="M14 2v4a2 2 0 0 0 2 2h4" />
|
9
|
-
<path d="
|
10
|
-
<path d="
|
8
|
+
<path d="M4 7V4a2 2 0 0 1 2-2 2 2 0 0 0-2 2" />
|
9
|
+
<path d="M4.063 20.999a2 2 0 0 0 2 1L18 22a2 2 0 0 0 2-2V7l-5-5H6" />
|
10
|
+
<path d="m5 11-3 3" />
|
11
|
+
<path d="m5 17-3-3h10" />
|
11
12
|
</Layout>
|
@@ -0,0 +1,14 @@
|
|
1
|
+
---
|
2
|
+
import Layout from './.Layout.astro'
|
3
|
+
export type { Props } from './index.d.ts'
|
4
|
+
---
|
5
|
+
|
6
|
+
<Layout {...Astro.props}>
|
7
|
+
<path d="m10.065 12.493-6.18 1.318a.934.934 0 0 1-1.108-.702l-.537-2.15a1.07 1.07 0 0 1 .691-1.265l13.504-4.44" />
|
8
|
+
<path d="m13.56 11.747 4.332-.924" />
|
9
|
+
<path d="m16 21-3.105-6.21" />
|
10
|
+
<path d="M16.485 5.94a2 2 0 0 1 1.455-2.425l1.09-.272a1 1 0 0 1 1.212.727l1.515 6.06a1 1 0 0 1-.727 1.213l-1.09.272a2 2 0 0 1-2.425-1.455z" />
|
11
|
+
<path d="m6.158 8.633 1.114 4.456" />
|
12
|
+
<path d="m8 21 3.105-6.21" />
|
13
|
+
<circle cx="12" cy="13" r="2" />
|
14
|
+
</Layout>
|
package/dist/index.d.ts
CHANGED
@@ -1342,6 +1342,7 @@ export { default as Tally4 } from './Tally4.astro'
|
|
1342
1342
|
export { default as Tally5 } from './Tally5.astro'
|
1343
1343
|
export { default as Tangent } from './Tangent.astro'
|
1344
1344
|
export { default as Target } from './Target.astro'
|
1345
|
+
export { default as Telescope } from './Telescope.astro'
|
1345
1346
|
export { default as Tent } from './Tent.astro'
|
1346
1347
|
export { default as TentTree } from './TentTree.astro'
|
1347
1348
|
export { default as Terminal } from './Terminal.astro'
|
package/dist/index.js
CHANGED
@@ -1337,6 +1337,7 @@ export { default as Tally4 } from './Tally4.astro'
|
|
1337
1337
|
export { default as Tally5 } from './Tally5.astro'
|
1338
1338
|
export { default as Tangent } from './Tangent.astro'
|
1339
1339
|
export { default as Target } from './Target.astro'
|
1340
|
+
export { default as Telescope } from './Telescope.astro'
|
1340
1341
|
export { default as Tent } from './Tent.astro'
|
1341
1342
|
export { default as TentTree } from './TentTree.astro'
|
1342
1343
|
export { default as Terminal } from './Terminal.astro'
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "lucide-astro",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.331.0",
|
4
4
|
"description": "Get your Lucide icons right into your Astro project",
|
5
5
|
"main": "./dist/index.js",
|
6
6
|
"types": "./dist/index.d.ts",
|
@@ -26,7 +26,7 @@
|
|
26
26
|
"author": "Aviortheking",
|
27
27
|
"license": "MIT",
|
28
28
|
"devDependencies": {
|
29
|
-
"lucide-static": "0.
|
29
|
+
"lucide-static": "0.331.0",
|
30
30
|
"semver": "^7.5.4"
|
31
31
|
},
|
32
32
|
"peerDependencies": {
|