lucide-astro 0.256.0 → 0.258.0

Sign up to get free protection for your applications and to get access to all the features.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023 Dzeio
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,41 @@
1
+ # lucide-astro
2
+
3
+ Astro library to get the Lucide.dev icons to the Astro Framework
4
+
5
+ _We follow the Lucide versions for our release, with the exception of the patches_
6
+
7
+ ## Installation
8
+
9
+ ```
10
+ npm i lucide-astro
11
+ ```
12
+
13
+ ```
14
+ yarn add lucide-astro
15
+ ```
16
+
17
+ ## Usage
18
+
19
+ You can import each icons individually like below
20
+
21
+ ```astro
22
+ ---
23
+ import { WifiOff } from 'lucide-astro'
24
+ ---
25
+
26
+ <Layout>
27
+ <WifiOff />
28
+ </Layout>
29
+ ```
30
+
31
+ ## Compile
32
+
33
+ 1. run `npm i` to install the dependencies
34
+ 2. run `npm run build` to launch the build
35
+ 3. done! you can publish it or use it as you like
36
+
37
+ ## Attributions
38
+
39
+ Use the awesome icons from [Lucide](https://lucide.dev/)
40
+
41
+ based on [astro-feather](https://github.com/gabrlyg/astro-feather)
@@ -0,0 +1,44 @@
1
+ ---
2
+ export interface Props {
3
+ size?: number
4
+ width?: number
5
+ height?: number
6
+ strokeWidth?: number
7
+ stroke?: string
8
+ fill?: string
9
+ class?: string
10
+ viewBox?: string
11
+ strokeLinecap?: "round" | "butt" | "square" | "inherit"
12
+ strokeLinejoin?: "round" | "inherit" | "miter" | "bevel"
13
+ }
14
+
15
+ const {
16
+ size = 24,
17
+ strokeWidth = 2,
18
+ width = size,
19
+ height = size,
20
+ stroke = 'currentColor',
21
+ strokeLinecap = 'round',
22
+ strokeLinejoin = 'round',
23
+ fill = 'none',
24
+ viewBox = '0 0 24 24'
25
+ } = Astro.props
26
+
27
+ ---
28
+
29
+ <svg
30
+ xmlns="http://www.w3.org/2000/svg"
31
+ class={Astro.props.class}
32
+ width={width}
33
+ height={height}
34
+ fill={fill}
35
+ viewBox={viewBox}
36
+ stroke={stroke}
37
+ stroke-width={strokeWidth}
38
+ stroke-linecap={strokeLinecap}
39
+ stroke-linejoin={strokeLinejoin}
40
+ >
41
+ <path d="M6 5v11" />
42
+ <path d="M12 5v6" />
43
+ <path d="M18 5v14" />
44
+ </svg>
package/dist/Table.astro CHANGED
@@ -38,8 +38,8 @@ const {
38
38
  stroke-linecap={strokeLinecap}
39
39
  stroke-linejoin={strokeLinejoin}
40
40
  >
41
- <rect width="18" height="18" x="3" y="3" rx="2" ry="2" />
42
- <line x1="3" x2="21" y1="9" y2="9" />
43
- <line x1="3" x2="21" y1="15" y2="15" />
44
- <line x1="12" x2="12" y1="3" y2="21" />
41
+ <path d="M12 3v18" />
42
+ <rect width="18" height="18" x="3" y="3" rx="2" />
43
+ <path d="M3 9h18" />
44
+ <path d="M3 15h18" />
45
45
  </svg>
@@ -0,0 +1,45 @@
1
+ ---
2
+ export interface Props {
3
+ size?: number
4
+ width?: number
5
+ height?: number
6
+ strokeWidth?: number
7
+ stroke?: string
8
+ fill?: string
9
+ class?: string
10
+ viewBox?: string
11
+ strokeLinecap?: "round" | "butt" | "square" | "inherit"
12
+ strokeLinejoin?: "round" | "inherit" | "miter" | "bevel"
13
+ }
14
+
15
+ const {
16
+ size = 24,
17
+ strokeWidth = 2,
18
+ width = size,
19
+ height = size,
20
+ stroke = 'currentColor',
21
+ strokeLinecap = 'round',
22
+ strokeLinejoin = 'round',
23
+ fill = 'none',
24
+ viewBox = '0 0 24 24'
25
+ } = Astro.props
26
+
27
+ ---
28
+
29
+ <svg
30
+ xmlns="http://www.w3.org/2000/svg"
31
+ class={Astro.props.class}
32
+ width={width}
33
+ height={height}
34
+ fill={fill}
35
+ viewBox={viewBox}
36
+ stroke={stroke}
37
+ stroke-width={strokeWidth}
38
+ stroke-linecap={strokeLinecap}
39
+ stroke-linejoin={strokeLinejoin}
40
+ >
41
+ <path d="M15 3v18" />
42
+ <rect width="18" height="18" x="3" y="3" rx="2" />
43
+ <path d="M21 9H3" />
44
+ <path d="M21 15H3" />
45
+ </svg>
package/dist/index.d.ts CHANGED
@@ -549,6 +549,7 @@ export { default as GalleryVerticalEnd } from './GalleryVerticalEnd.astro'
549
549
  export { default as GalleryVertical } from './GalleryVertical.astro'
550
550
  export { default as Gamepad2 } from './Gamepad2.astro'
551
551
  export { default as Gamepad } from './Gamepad.astro'
552
+ export { default as GanttChartSquare } from './GanttChartSquare.astro'
552
553
  export { default as GanttChart } from './GanttChart.astro'
553
554
  export { default as Gauge } from './Gauge.astro'
554
555
  export { default as Gavel } from './Gavel.astro'
@@ -628,6 +629,9 @@ export { default as IterationCcw } from './IterationCcw.astro'
628
629
  export { default as IterationCw } from './IterationCw.astro'
629
630
  export { default as JapaneseYen } from './JapaneseYen.astro'
630
631
  export { default as Joystick } from './Joystick.astro'
632
+ export { default as KanbanSquareDashed } from './KanbanSquareDashed.astro'
633
+ export { default as KanbanSquare } from './KanbanSquare.astro'
634
+ export { default as Kanban } from './Kanban.astro'
631
635
  export { default as KeyRound } from './KeyRound.astro'
632
636
  export { default as KeySquare } from './KeySquare.astro'
633
637
  export { default as Key } from './Key.astro'
@@ -1014,9 +1018,6 @@ export { default as SquareDashedBottomCode } from './SquareDashedBottomCode.astr
1014
1018
  export { default as SquareDashedBottom } from './SquareDashedBottom.astro'
1015
1019
  export { default as SquareDot } from './SquareDot.astro'
1016
1020
  export { default as SquareEqual } from './SquareEqual.astro'
1017
- export { default as SquareGantt } from './SquareGantt.astro'
1018
- export { default as SquareKanbanDashed } from './SquareKanbanDashed.astro'
1019
- export { default as SquareKanban } from './SquareKanban.astro'
1020
1021
  export { default as SquareSlash } from './SquareSlash.astro'
1021
1022
  export { default as SquareStack } from './SquareStack.astro'
1022
1023
  export { default as Square } from './Square.astro'
@@ -1051,6 +1052,7 @@ export { default as Sword } from './Sword.astro'
1051
1052
  export { default as Swords } from './Swords.astro'
1052
1053
  export { default as Syringe } from './Syringe.astro'
1053
1054
  export { default as Table2 } from './Table2.astro'
1055
+ export { default as TableProperties } from './TableProperties.astro'
1054
1056
  export { default as Table } from './Table.astro'
1055
1057
  export { default as Tablet } from './Tablet.astro'
1056
1058
  export { default as Tablets } from './Tablets.astro'
package/dist/index.js CHANGED
@@ -549,6 +549,7 @@ export { default as GalleryVerticalEnd } from './GalleryVerticalEnd.astro'
549
549
  export { default as GalleryVertical } from './GalleryVertical.astro'
550
550
  export { default as Gamepad2 } from './Gamepad2.astro'
551
551
  export { default as Gamepad } from './Gamepad.astro'
552
+ export { default as GanttChartSquare } from './GanttChartSquare.astro'
552
553
  export { default as GanttChart } from './GanttChart.astro'
553
554
  export { default as Gauge } from './Gauge.astro'
554
555
  export { default as Gavel } from './Gavel.astro'
@@ -628,6 +629,9 @@ export { default as IterationCcw } from './IterationCcw.astro'
628
629
  export { default as IterationCw } from './IterationCw.astro'
629
630
  export { default as JapaneseYen } from './JapaneseYen.astro'
630
631
  export { default as Joystick } from './Joystick.astro'
632
+ export { default as KanbanSquareDashed } from './KanbanSquareDashed.astro'
633
+ export { default as KanbanSquare } from './KanbanSquare.astro'
634
+ export { default as Kanban } from './Kanban.astro'
631
635
  export { default as KeyRound } from './KeyRound.astro'
632
636
  export { default as KeySquare } from './KeySquare.astro'
633
637
  export { default as Key } from './Key.astro'
@@ -1014,9 +1018,6 @@ export { default as SquareDashedBottomCode } from './SquareDashedBottomCode.astr
1014
1018
  export { default as SquareDashedBottom } from './SquareDashedBottom.astro'
1015
1019
  export { default as SquareDot } from './SquareDot.astro'
1016
1020
  export { default as SquareEqual } from './SquareEqual.astro'
1017
- export { default as SquareGantt } from './SquareGantt.astro'
1018
- export { default as SquareKanbanDashed } from './SquareKanbanDashed.astro'
1019
- export { default as SquareKanban } from './SquareKanban.astro'
1020
1021
  export { default as SquareSlash } from './SquareSlash.astro'
1021
1022
  export { default as SquareStack } from './SquareStack.astro'
1022
1023
  export { default as Square } from './Square.astro'
@@ -1051,6 +1052,7 @@ export { default as Sword } from './Sword.astro'
1051
1052
  export { default as Swords } from './Swords.astro'
1052
1053
  export { default as Syringe } from './Syringe.astro'
1053
1054
  export { default as Table2 } from './Table2.astro'
1055
+ export { default as TableProperties } from './TableProperties.astro'
1054
1056
  export { default as Table } from './Table.astro'
1055
1057
  export { default as Tablet } from './Tablet.astro'
1056
1058
  export { default as Tablets } from './Tablets.astro'
package/package.json CHANGED
@@ -1,8 +1,10 @@
1
1
  {
2
2
  "name": "lucide-astro",
3
- "version": "0.256.0",
4
- "description": "",
3
+ "version": "0.258.0",
4
+ "description": "Get your Lucide icons right into your Astro project",
5
5
  "main": "dist/index.js",
6
+ "homepage": "https://github.com/dzeiocom/lucide-astro",
7
+ "repository": "https://github.com/dzeiocom/lucide-astro.git",
6
8
  "scripts": {
7
9
  "prepublish": "node src/build.js",
8
10
  "build": "node src/build.js"
@@ -17,10 +19,10 @@
17
19
  "lucide",
18
20
  "icons"
19
21
  ],
20
- "author": "",
21
- "license": "ISC",
22
+ "author": "Aviortheking",
23
+ "license": "MIT",
22
24
  "devDependencies": {
23
- "lucide-static": "^0.256.0"
25
+ "lucide-static": "0.258.0"
24
26
  },
25
27
  "peerDependencies": {
26
28
  "astro": "^2.7.1"
File without changes