lucide-astro 0.330.0 → 0.334.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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/Anvil.astro CHANGED
@@ -4,9 +4,9 @@ export type { Props } from './index.d.ts'
4
4
  ---
5
5
 
6
6
  <Layout {...Astro.props}>
7
- <path d="M7 10c-2.8 0-5-2.2-5-5h5" />
8
- <path d="M7 4v8h7a8 8 0 0 0 8-8Z" />
7
+ <path d="M7 10H6a4 4 0 0 1-4-4 1 1 0 0 1 1-1h4" />
8
+ <path d="M7 5a1 1 0 0 1 1-1h13a1 1 0 0 1 1 1 7 7 0 0 1-7 7H8a1 1 0 0 1-1-1z" />
9
9
  <path d="M9 12v5" />
10
10
  <path d="M15 12v5" />
11
- <path d="M5 20a3 3 0 0 1 3-3h8a3 3 0 0 1 3 3v1H5Z" />
11
+ <path d="M5 20a3 3 0 0 1 3-3h8a3 3 0 0 1 3 3 1 1 0 0 1-1 1H6a1 1 0 0 1-1-1" />
12
12
  </Layout>
@@ -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="M2 15h10" />
10
- <path d="m5 12-3 3 3 3" />
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>
package/dist/Hammer.astro CHANGED
@@ -4,7 +4,7 @@ export type { Props } from './index.d.ts'
4
4
  ---
5
5
 
6
6
  <Layout {...Astro.props}>
7
- <path d="m15 12-8.5 8.5c-.83.83-2.17.83-3 0 0 0 0 0 0 0a2.12 2.12 0 0 1 0-3L12 9" />
8
- <path d="M17.64 15 22 10.64" />
9
- <path d="m20.91 11.7-1.25-1.25c-.6-.6-.93-1.4-.93-2.25v-.86L16.01 4.6a5.56 5.56 0 0 0-3.94-1.64H9l.92.82A6.18 6.18 0 0 1 12 8.4v1.56l2 2h2.47l2.26 1.91" />
7
+ <path d="m15 12-8.373 8.373a1 1 0 1 1-3-3L12 9" />
8
+ <path d="m18 15 4-4" />
9
+ <path d="m21.5 11.5-1.914-1.914A2 2 0 0 1 19 8.172V7l-2.26-2.26a6 6 0 0 0-4.202-1.756L9 2.96l.92.82A6.18 6.18 0 0 1 12 8.4V10l2 2h1.172a2 2 0 0 1 1.414.586L18.5 14.5" />
10
10
  </Layout>
@@ -0,0 +1,11 @@
1
+ ---
2
+ import Layout from './.Layout.astro'
3
+ export type { Props } from './index.d.ts'
4
+ ---
5
+
6
+ <Layout {...Astro.props}>
7
+ <path d="M14.531 12.469 6.619 20.38a1 1 0 1 1-3-3l7.912-7.912" />
8
+ <path d="M15.686 4.314A12.5 12.5 0 0 0 5.461 2.958 1 1 0 0 0 5.58 4.71a22 22 0 0 1 6.318 3.393" />
9
+ <path d="M17.7 3.7a1 1 0 0 0-1.4 0l-4.6 4.6a1 1 0 0 0 0 1.4l2.6 2.6a1 1 0 0 0 1.4 0l4.6-4.6a1 1 0 0 0 0-1.4z" />
10
+ <path d="M19.686 8.314a12.501 12.501 0 0 1 1.356 10.225 1 1 0 0 1-1.751-.119 22 22 0 0 0-3.393-6.319" />
11
+ </Layout>
package/dist/Siren.astro CHANGED
@@ -4,8 +4,8 @@ export type { Props } from './index.d.ts'
4
4
  ---
5
5
 
6
6
  <Layout {...Astro.props}>
7
- <path d="M7 12a5 5 0 0 1 5-5v0a5 5 0 0 1 5 5v6H7v-6Z" />
8
- <path d="M5 20a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v2H5v-2Z" />
7
+ <path d="M7 18v-6a5 5 0 1 1 10 0v6" />
8
+ <path d="M5 21a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-1a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2z" />
9
9
  <path d="M21 12h1" />
10
10
  <path d="M18.5 4.5 18 5" />
11
11
  <path d="M2 12h1" />
@@ -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>
@@ -4,13 +4,13 @@ export type { Props } from './index.d.ts'
4
4
  ---
5
5
 
6
6
  <Layout {...Astro.props}>
7
- <path d="M3 4h9l1 7" />
8
- <path d="M4 11V4" />
9
- <path d="M8 10V4" />
10
- <path d="M18 5c-.6 0-1 .4-1 1v5.6" />
11
7
  <path d="m10 11 11 .9c.6 0 .9.5.8 1.1l-.8 5h-1" />
12
- <circle cx="7" cy="15" r=".5" />
13
- <circle cx="7" cy="15" r="5" />
14
8
  <path d="M16 18h-5" />
9
+ <path d="M18 5a1 1 0 0 0-1 1v5.573" />
10
+ <path d="M3 4h9l1 7.246" />
11
+ <path d="M4 11V4" />
12
+ <path d="M7 15h.01" />
13
+ <path d="M8 10.1V4" />
15
14
  <circle cx="18" cy="18" r="2" />
15
+ <circle cx="7" cy="15" r="5" />
16
16
  </Layout>
package/dist/index.d.ts CHANGED
@@ -1054,6 +1054,7 @@ export { default as PhoneOutgoing } from './PhoneOutgoing.astro'
1054
1054
  export { default as Pi } from './Pi.astro'
1055
1055
  export { default as PiSquare } from './PiSquare.astro'
1056
1056
  export { default as Piano } from './Piano.astro'
1057
+ export { default as Pickaxe } from './Pickaxe.astro'
1057
1058
  export { default as PictureInPicture } from './PictureInPicture.astro'
1058
1059
  export { default as PictureInPicture2 } from './PictureInPicture2.astro'
1059
1060
  export { default as PieChart } from './PieChart.astro'
@@ -1342,6 +1343,7 @@ export { default as Tally4 } from './Tally4.astro'
1342
1343
  export { default as Tally5 } from './Tally5.astro'
1343
1344
  export { default as Tangent } from './Tangent.astro'
1344
1345
  export { default as Target } from './Target.astro'
1346
+ export { default as Telescope } from './Telescope.astro'
1345
1347
  export { default as Tent } from './Tent.astro'
1346
1348
  export { default as TentTree } from './TentTree.astro'
1347
1349
  export { default as Terminal } from './Terminal.astro'
package/dist/index.js CHANGED
@@ -1049,6 +1049,7 @@ export { default as PhoneOutgoing } from './PhoneOutgoing.astro'
1049
1049
  export { default as Pi } from './Pi.astro'
1050
1050
  export { default as PiSquare } from './PiSquare.astro'
1051
1051
  export { default as Piano } from './Piano.astro'
1052
+ export { default as Pickaxe } from './Pickaxe.astro'
1052
1053
  export { default as PictureInPicture } from './PictureInPicture.astro'
1053
1054
  export { default as PictureInPicture2 } from './PictureInPicture2.astro'
1054
1055
  export { default as PieChart } from './PieChart.astro'
@@ -1337,6 +1338,7 @@ export { default as Tally4 } from './Tally4.astro'
1337
1338
  export { default as Tally5 } from './Tally5.astro'
1338
1339
  export { default as Tangent } from './Tangent.astro'
1339
1340
  export { default as Target } from './Target.astro'
1341
+ export { default as Telescope } from './Telescope.astro'
1340
1342
  export { default as Tent } from './Tent.astro'
1341
1343
  export { default as TentTree } from './TentTree.astro'
1342
1344
  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.330.0",
3
+ "version": "0.334.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.330.0",
29
+ "lucide-static": "0.334.0",
30
30
  "semver": "^7.5.4"
31
31
  },
32
32
  "peerDependencies": {