lucide-astro 0.325.0 → 0.331.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>
@@ -4,12 +4,12 @@ export type { Props } from './index.d.ts'
4
4
  ---
5
5
 
6
6
  <Layout {...Astro.props}>
7
- <path d="M10.1 2.18a9.93 9.93 0 0 1 3.8 0" />
8
- <path d="M17.6 3.71a9.95 9.95 0 0 1 2.69 2.7" />
9
- <path d="M21.82 10.1a9.93 9.93 0 0 1 0 3.8" />
10
- <path d="M20.29 17.6a9.95 9.95 0 0 1-2.7 2.69" />
11
- <path d="M13.9 21.82a9.94 9.94 0 0 1-3.8 0" />
12
- <path d="M6.4 20.29a9.95 9.95 0 0 1-2.69-2.7" />
13
- <path d="M2.18 13.9a9.93 9.93 0 0 1 0-3.8" />
14
- <path d="M3.71 6.4a9.95 9.95 0 0 1 2.7-2.69" />
7
+ <path d="M10.1 2.182a10 10 0 0 1 3.8 0" />
8
+ <path d="M13.9 21.818a10 10 0 0 1-3.8 0" />
9
+ <path d="M17.609 3.721a10 10 0 0 1 2.69 2.7" />
10
+ <path d="M2.182 13.9a10 10 0 0 1 0-3.8" />
11
+ <path d="M20.279 17.609a10 10 0 0 1-2.7 2.69" />
12
+ <path d="M21.818 10.1a10 10 0 0 1 0 3.8" />
13
+ <path d="M3.721 6.391a10 10 0 0 1 2.7-2.69" />
14
+ <path d="M6.391 20.279a10 10 0 0 1-2.69-2.7" />
15
15
  </Layout>
package/dist/Clover.astro CHANGED
@@ -4,9 +4,7 @@ export type { Props } from './index.d.ts'
4
4
  ---
5
5
 
6
6
  <Layout {...Astro.props}>
7
- <path d="M16.2 3.8a2.7 2.7 0 0 0-3.81 0l-.4.38-.4-.4a2.7 2.7 0 0 0-3.82 0C6.73 4.85 6.67 6.64 8 8l4 4 4-4c1.33-1.36 1.27-3.15.2-4.2z" />
8
- <path d="M8 8c-1.36-1.33-3.15-1.27-4.2-.2a2.7 2.7 0 0 0 0 3.81l.38.4-.4.4a2.7 2.7 0 0 0 0 3.82C4.85 17.27 6.64 17.33 8 16" />
9
- <path d="M16 16c1.36 1.33 3.15 1.27 4.2.2a2.7 2.7 0 0 0 0-3.81l-.38-.4.4-.4a2.7 2.7 0 0 0 0-3.82C19.15 6.73 17.36 6.67 16 8" />
10
- <path d="M7.8 20.2a2.7 2.7 0 0 0 3.81 0l.4-.38.4.4a2.7 2.7 0 0 0 3.82 0c1.06-1.06 1.12-2.85-.21-4.21l-4-4-4 4c-1.33 1.36-1.27 3.15-.2 4.2z" />
11
- <path d="m7 17-5 5" />
7
+ <path d="M16.17 7.83 2 22" />
8
+ <path d="M4.02 12a2.827 2.827 0 1 1 3.81-4.17A2.827 2.827 0 1 1 12 4.02a2.827 2.827 0 1 1 4.17 3.81A2.827 2.827 0 1 1 19.98 12a2.827 2.827 0 1 1-3.81 4.17A2.827 2.827 0 1 1 12 19.98a2.827 2.827 0 1 1-4.17-3.81A1 1 0 1 1 4 12" />
9
+ <path d="m7.83 7.83 8.34 8.34" />
12
10
  </Layout>
@@ -6,6 +6,6 @@ export type { Props } from './index.d.ts'
6
6
  <Layout {...Astro.props}>
7
7
  <path d="M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z" />
8
8
  <path d="M14 2v4a2 2 0 0 0 2 2h4" />
9
- <circle cx="10" cy="13" r="2" />
10
- <path d="m20 17-1.1-1.1a2 2 0 0 0-2.81.01L10 22" />
9
+ <circle cx="10" cy="12" r="2" />
10
+ <path d="m20 17-1.296-1.296a2.41 2.41 0 0 0-3.408 0L9 22" />
11
11
  </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>
@@ -4,8 +4,7 @@ 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 2v7" />
8
- <path d="M14 2v4a2 2 0 0 0 2 2h4" />
9
7
  <path d="m10 18 3-3-3-3" />
10
- <path d="M4 18v-1a2 2 0 0 1 2-2h6" />
8
+ <path d="M14 2v4a2 2 0 0 0 2 2h4" />
9
+ <path d="M4 11V4a2 2 0 0 1 2-2h9l5 5v13a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h7" />
11
10
  </Layout>
@@ -4,7 +4,7 @@ export type { Props } from './index.d.ts'
4
4
  ---
5
5
 
6
6
  <Layout {...Astro.props}>
7
- <path d="M2 7.5V5c0-1.1.9-2 2-2h3.93a2 2 0 0 1 1.66.9l.82 1.2a2 2 0 0 0 1.66.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H2" />
7
+ <path d="M2 7.5V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-1.5" />
8
8
  <path d="M2 13h10" />
9
9
  <path d="m5 10-3 3 3 3" />
10
10
  </Layout>
@@ -4,7 +4,6 @@ export type { Props } from './index.d.ts'
4
4
  ---
5
5
 
6
6
  <Layout {...Astro.props}>
7
- <path d="M2 9V5c0-1.1.9-2 2-2h3.93a2 2 0 0 1 1.66.9l.82 1.2a2 2 0 0 0 1.66.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H2" />
7
+ <path d="M2 9V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h7" />
8
8
  <path d="m8 16 3-3-3-3" />
9
- <path d="M2 16v-1a2 2 0 0 1 2-2h6" />
10
9
  </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="M18 22H4a2 2 0 0 1-2-2V6" />
8
+ <path d="m22 13-1.296-1.296a2.41 2.41 0 0 0-3.408 0L11 18" />
9
+ <circle cx="12" cy="8" r="2" />
10
+ <rect width="16" height="16" x="6" y="2" rx="2" />
11
+ </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
@@ -761,6 +761,7 @@ export { default as ImageDown } from './ImageDown.astro'
761
761
  export { default as ImageMinus } from './ImageMinus.astro'
762
762
  export { default as ImageOff } from './ImageOff.astro'
763
763
  export { default as ImagePlus } from './ImagePlus.astro'
764
+ export { default as Images } from './Images.astro'
764
765
  export { default as Import } from './Import.astro'
765
766
  export { default as Inbox } from './Inbox.astro'
766
767
  export { default as Indent } from './Indent.astro'
@@ -1341,6 +1342,7 @@ export { default as Tally4 } from './Tally4.astro'
1341
1342
  export { default as Tally5 } from './Tally5.astro'
1342
1343
  export { default as Tangent } from './Tangent.astro'
1343
1344
  export { default as Target } from './Target.astro'
1345
+ export { default as Telescope } from './Telescope.astro'
1344
1346
  export { default as Tent } from './Tent.astro'
1345
1347
  export { default as TentTree } from './TentTree.astro'
1346
1348
  export { default as Terminal } from './Terminal.astro'
package/dist/index.js CHANGED
@@ -756,6 +756,7 @@ export { default as ImageDown } from './ImageDown.astro'
756
756
  export { default as ImageMinus } from './ImageMinus.astro'
757
757
  export { default as ImageOff } from './ImageOff.astro'
758
758
  export { default as ImagePlus } from './ImagePlus.astro'
759
+ export { default as Images } from './Images.astro'
759
760
  export { default as Import } from './Import.astro'
760
761
  export { default as Inbox } from './Inbox.astro'
761
762
  export { default as Indent } from './Indent.astro'
@@ -1336,6 +1337,7 @@ export { default as Tally4 } from './Tally4.astro'
1336
1337
  export { default as Tally5 } from './Tally5.astro'
1337
1338
  export { default as Tangent } from './Tangent.astro'
1338
1339
  export { default as Target } from './Target.astro'
1340
+ export { default as Telescope } from './Telescope.astro'
1339
1341
  export { default as Tent } from './Tent.astro'
1340
1342
  export { default as TentTree } from './TentTree.astro'
1341
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.325.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.325.0",
29
+ "lucide-static": "0.331.0",
30
30
  "semver": "^7.5.4"
31
31
  },
32
32
  "peerDependencies": {