@lucide/astro 0.562.0 → 0.564.0

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.
Files changed (44) hide show
  1. package/LICENSE +2 -2
  2. package/README.md +11 -2
  3. package/package.json +6 -4
  4. package/src/Icon.astro +3 -0
  5. package/src/aliases/aliases.ts +70 -70
  6. package/src/aliases/prefixed.ts +608 -598
  7. package/src/aliases/suffixed.ts +976 -966
  8. package/src/createLucideIcon.ts +2 -1
  9. package/src/icons/bandage.ts +2 -2
  10. package/src/icons/bell-dot.ts +2 -2
  11. package/src/icons/book-key.ts +2 -2
  12. package/src/icons/bookmark-check.ts +2 -2
  13. package/src/icons/bookmark-minus.ts +2 -2
  14. package/src/icons/bookmark-plus.ts +2 -2
  15. package/src/icons/bookmark-x.ts +2 -2
  16. package/src/icons/bookmark.ts +2 -2
  17. package/src/icons/bug-off.ts +2 -2
  18. package/src/icons/cloud-alert.ts +2 -2
  19. package/src/icons/cloud-check.ts +2 -2
  20. package/src/icons/cloud-off.ts +2 -2
  21. package/src/icons/cloudy.ts +2 -2
  22. package/src/icons/database-search.ts +18 -0
  23. package/src/icons/file-cog.ts +2 -2
  24. package/src/icons/file-key.ts +2 -2
  25. package/src/icons/folder-key.ts +2 -2
  26. package/src/icons/git-branch.ts +2 -2
  27. package/src/icons/globe-x.ts +18 -0
  28. package/src/icons/hard-drive.ts +2 -2
  29. package/src/icons/index.ts +178 -173
  30. package/src/icons/lasso.ts +2 -2
  31. package/src/icons/message-square-dashed.ts +2 -2
  32. package/src/icons/monitor-off.ts +2 -2
  33. package/src/icons/printer-x.ts +18 -0
  34. package/src/icons/rotate-ccw-key.ts +2 -2
  35. package/src/icons/star-off.ts +2 -2
  36. package/src/icons/tickets-plane.ts +2 -2
  37. package/src/icons/user-key.ts +18 -0
  38. package/src/icons/user-lock.ts +2 -2
  39. package/src/icons/user-round-key.ts +18 -0
  40. package/src/icons/waypoints.ts +2 -2
  41. package/src/types.ts +1 -0
  42. package/src/utils/hasA11yProp.ts +15 -0
  43. package/src/{utils.ts → utils/mergeClasses.ts} +1 -12
  44. package/src/utils/toKebabCase.ts +8 -0
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  ISC License
2
2
 
3
- Copyright (c) for portions of Lucide are held by Cole Bemis 2013-2023 as part of Feather (MIT). All other copyright (c) for Lucide are held by Lucide Contributors 2025.
3
+ Copyright (c) for portions of Lucide are held by Cole Bemis 2013-2026 as part of Feather (MIT). All other copyright (c) for Lucide are held by Lucide Contributors 2026.
4
4
 
5
5
  Permission to use, copy, modify, and/or distribute this software for any
6
6
  purpose with or without fee is hereby granted, provided that the above
@@ -18,7 +18,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18
18
 
19
19
  The MIT License (MIT) (for portions derived from Feather)
20
20
 
21
- Copyright (c) 2013-2023 Cole Bemis
21
+ Copyright (c) 2013-2026 Cole Bemis
22
22
 
23
23
  Permission is hereby granted, free of charge, to any person obtaining a copy
24
24
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -68,7 +68,16 @@ Lucide is licensed under the ISC license. See [LICENSE](https://lucide.dev/licen
68
68
 
69
69
  <a href="https://www.digitalocean.com/?refcode=b0877a2caebd&utm_campaign=Referral_Invite&utm_medium=Referral_Program&utm_source=badge"><img src="https://lucide.dev/digitalocean.svg" width="200" alt="DigitalOcean Referral Badge" /></a>
70
70
 
71
+ [//]: <> (Open Collective backers)
71
72
  ### Awesome backers 🍺
72
73
 
73
- <a href="https://www.scipress.io?utm_source=lucide"><img src="https://lucide.dev/sponsors/scipress.svg" width="180" alt="Scipress sponsor badge" /></a>
74
- <a href="https://github.com/pdfme/pdfme"><img src="https://lucide.dev/sponsors/pdfme.svg" width="180" alt="pdfme sponsor badge" /></a>
74
+ <a href="https://github.com/pdfme/pdfme"><img src="https://lucide.dev/sponsors/pdfme.svg" width="180" alt="pdfme Open-source PDF generation library built with TypeScript and React." /></a>
75
+ <a href="https://www.paxhistoria.co/"><img src="https://lucide.dev/sponsors/paxhistoria.svg?" width="180" alt="Pax Historia – An alternate history sandbox game" /></a>
76
+
77
+ ### Backers ☕
78
+
79
+ <a href="https://www.fina.money/"><img src="https://lucide.dev/sponsors/fina-money.png" width="180" alt="Fina Money – Modular Finance Tracker" /></a>
80
+
81
+ ### Other contributors 💸
82
+
83
+ You can find all our past and non-recurring financial contributors at [our Open Collective page](https://opencollective.com/lucide-icons).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lucide/astro",
3
- "version": "0.562.0",
3
+ "version": "0.564.0",
4
4
  "author": "Moustapha Kebe",
5
5
  "description": "A Lucide icon library package for Astro applications.",
6
6
  "license": "ISC",
@@ -41,7 +41,7 @@
41
41
  "devDependencies": {
42
42
  "@astrojs/ts-plugin": "^1.10.4",
43
43
  "@testing-library/dom": "^10.4.0",
44
- "@testing-library/jest-dom": "^6.6.3",
44
+ "@testing-library/jest-dom": "^6.8.0",
45
45
  "jest-serializer-html": "^7.1.0",
46
46
  "linkedom": "^0.18.5",
47
47
  "prettier": "^3.4.2",
@@ -55,11 +55,13 @@
55
55
  "astro": "^4 || ^5"
56
56
  },
57
57
  "scripts": {
58
- "build": "pnpm clean && pnpm copy:license && pnpm build:icons",
58
+ "build": "pnpm clean && pnpm copy:license && pnpm copy:utils && pnpm build:icons",
59
59
  "build:icons": "build-icons --output=./src --templateSrc=./scripts/exportTemplate.mts --renderUniqueKey --withAliases --aliasesFileExtension=.ts --iconFileExtension=.ts --exportFileName=index.ts --pretty=false",
60
60
  "clean": "rm -rf dist && rm -rf stats && rm -rf ./src/icons/*.ts",
61
61
  "copy:license": "cp ../../LICENSE ./LICENSE",
62
- "test": "pnpm build:icons && vitest run",
62
+ "copy:utils": "mkdir -p ./src/utils && for f in hasA11yProp toKebabCase mergeClasses; do cp -f ../../packages/shared/src/utils/$f.ts ./src/utils/; done",
63
+ "test": "pnpm copy:utils && pnpm build:icons && vitest run",
64
+ "test:watch": "pnpm build:icons && vitest run --watch",
63
65
  "version": "pnpm version --git-tag-version=false"
64
66
  }
65
67
  }
package/src/Icon.astro CHANGED
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  import defaultAttributes from './defaultAttributes';
3
3
  import type { IconProps as Props } from './types';
4
+ import { hasA11yProp } from './utils/hasA11yProp';
5
+
4
6
 
5
7
  const {
6
8
  color = 'currentColor',
@@ -20,6 +22,7 @@ const {
20
22
  height: size,
21
23
  stroke: color,
22
24
  'stroke-width': absoluteStrokeWidth ? (Number(strokeWidth) * 24) / Number(size) : strokeWidth,
25
+ ...(!hasA11yProp(rest) && { 'aria-hidden': 'true' }),
23
26
  ...rest,
24
27
  }}
25
28
  class:list={['lucide', className]}
@@ -53,36 +53,36 @@ export {
53
53
  default as ArrowUpZa
54
54
  } from '../icons/arrow-up-z-a';
55
55
 
56
- // BadgeCheck aliases
57
- export {
58
- /** @deprecated The name of this icon was changed because it didn't meet our guidelines anymore, use {@link BadgeCheck} instead. This alias will be removed in v1.0 */
59
- default as Verified
60
- } from '../icons/badge-check';
61
-
62
56
  // Axis3d aliases
63
57
  export {
64
58
  /** @deprecated The name of this icon was changed because it didn't meet our guidelines anymore, use {@link Axis3d} instead. This alias will be removed in v1.0 */
65
59
  default as Axis3D
66
60
  } from '../icons/axis-3d';
67
61
 
62
+ // BadgeCheck aliases
63
+ export {
64
+ /** @deprecated The name of this icon was changed because it didn't meet our guidelines anymore, use {@link BadgeCheck} instead. This alias will be removed in v1.0 */
65
+ default as Verified
66
+ } from '../icons/badge-check';
67
+
68
68
  // BadgeQuestionMark aliases
69
69
  export {
70
70
  /** @deprecated The name of this icon was changed because it didn't meet our guidelines anymore, use {@link BadgeQuestionMark} instead. This alias will be removed in v1.0 */
71
71
  default as BadgeHelp
72
72
  } from '../icons/badge-question-mark';
73
73
 
74
- // BetweenHorizontalStart aliases
75
- export {
76
- /** @deprecated Renamed because of typo, use {@link BetweenHorizontalStart} instead. This alias will be removed in v1.0 */
77
- default as BetweenHorizonalStart
78
- } from '../icons/between-horizontal-start';
79
-
80
74
  // BetweenHorizontalEnd aliases
81
75
  export {
82
76
  /** @deprecated Renamed because of typo, use {@link BetweenHorizontalEnd} instead. This alias will be removed in v1.0 */
83
77
  default as BetweenHorizonalEnd
84
78
  } from '../icons/between-horizontal-end';
85
79
 
80
+ // BetweenHorizontalStart aliases
81
+ export {
82
+ /** @deprecated Renamed because of typo, use {@link BetweenHorizontalStart} instead. This alias will be removed in v1.0 */
83
+ default as BetweenHorizonalStart
84
+ } from '../icons/between-horizontal-start';
85
+
86
86
  // BookDashed aliases
87
87
  export {
88
88
  /** @deprecated The name of this icon was changed because it didn't meet our guidelines anymore, use {@link BookDashed} instead. This alias will be removed in v1.0.0 */
@@ -149,18 +149,18 @@ export {
149
149
  default as LineChart
150
150
  } from '../icons/chart-line';
151
151
 
152
- // ChartNoAxesColumnIncreasing aliases
153
- export {
154
- /** @deprecated The name of this icon was changed because it didn't meet our guidelines anymore, use {@link ChartNoAxesColumnIncreasing} instead. This alias will be removed in v1.0 */
155
- default as BarChart
156
- } from '../icons/chart-no-axes-column-increasing';
157
-
158
152
  // ChartNoAxesColumn aliases
159
153
  export {
160
154
  /** @deprecated The name of this icon was changed because it didn't meet our guidelines anymore, use {@link ChartNoAxesColumn} instead. This alias will be removed in v1.0 */
161
155
  default as BarChart2
162
156
  } from '../icons/chart-no-axes-column';
163
157
 
158
+ // ChartNoAxesColumnIncreasing aliases
159
+ export {
160
+ /** @deprecated The name of this icon was changed because it didn't meet our guidelines anymore, use {@link ChartNoAxesColumnIncreasing} instead. This alias will be removed in v1.0 */
161
+ default as BarChart
162
+ } from '../icons/chart-no-axes-column-increasing';
163
+
164
164
  // ChartNoAxesGantt aliases
165
165
  export {
166
166
  /** @deprecated The name of this icon was changed because it didn't meet our guidelines anymore, use {@link ChartNoAxesGantt} instead. This alias will be removed in v1.0 */
@@ -191,18 +191,18 @@ export {
191
191
  default as AlertCircle
192
192
  } from '../icons/circle-alert';
193
193
 
194
- // CircleArrowDown aliases
195
- export {
196
- /** @deprecated The name of this icon was changed because it didn't meet our guidelines anymore, use {@link CircleArrowDown} instead. This alias will be removed in v1.0 */
197
- default as ArrowDownCircle
198
- } from '../icons/circle-arrow-down';
199
-
200
194
  // CircleArrowLeft aliases
201
195
  export {
202
196
  /** @deprecated The name of this icon was changed because it didn't meet our guidelines anymore, use {@link CircleArrowLeft} instead. This alias will be removed in v1.0 */
203
197
  default as ArrowLeftCircle
204
198
  } from '../icons/circle-arrow-left';
205
199
 
200
+ // CircleArrowDown aliases
201
+ export {
202
+ /** @deprecated The name of this icon was changed because it didn't meet our guidelines anymore, use {@link CircleArrowDown} instead. This alias will be removed in v1.0 */
203
+ default as ArrowDownCircle
204
+ } from '../icons/circle-arrow-down';
205
+
206
206
  // CircleArrowOutDownLeft aliases
207
207
  export {
208
208
  /** @deprecated The name of this icon was changed because it didn't meet our guidelines anymore, use {@link CircleArrowOutDownLeft} instead. This alias will be removed in v1.0 */
@@ -497,23 +497,17 @@ export {
497
497
  default as FileBarChart2
498
498
  } from '../icons/file-chart-column';
499
499
 
500
- // FileChartPie aliases
501
- export {
502
- /** @deprecated The name of this icon was changed because it didn't meet our guidelines anymore, use {@link FileChartPie} instead. This alias will be removed in v1.0 */
503
- default as FilePieChart
504
- } from '../icons/file-chart-pie';
505
-
506
500
  // FileChartLine aliases
507
501
  export {
508
502
  /** @deprecated The name of this icon was changed because it didn't meet our guidelines anymore, use {@link FileChartLine} instead. This alias will be removed in v1.0 */
509
503
  default as FileLineChart
510
504
  } from '../icons/file-chart-line';
511
505
 
512
- // FileCodeCorner aliases
506
+ // FileChartPie aliases
513
507
  export {
514
- /** @deprecated The name of this icon was changed because it didn't meet our guidelines anymore, use {@link FileCodeCorner} instead. This alias will be removed in v1.0 */
515
- default as FileCode2
516
- } from '../icons/file-code-corner';
508
+ /** @deprecated The name of this icon was changed because it didn't meet our guidelines anymore, use {@link FileChartPie} instead. This alias will be removed in v1.0 */
509
+ default as FilePieChart
510
+ } from '../icons/file-chart-pie';
517
511
 
518
512
  // FileCheckCorner aliases
519
513
  export {
@@ -521,18 +515,18 @@ export {
521
515
  default as FileCheck2
522
516
  } from '../icons/file-check-corner';
523
517
 
518
+ // FileCodeCorner aliases
519
+ export {
520
+ /** @deprecated The name of this icon was changed because it didn't meet our guidelines anymore, use {@link FileCodeCorner} instead. This alias will be removed in v1.0 */
521
+ default as FileCode2
522
+ } from '../icons/file-code-corner';
523
+
524
524
  // FileCog aliases
525
525
  export {
526
526
  /** @deprecated The name of this icon was changed because it didn't meet our guidelines anymore, use {@link FileCog} instead. This alias will be removed in v1.0 */
527
527
  default as FileCog2
528
528
  } from '../icons/file-cog';
529
529
 
530
- // FileExclamationPoint aliases
531
- export {
532
- /** @deprecated The name of this icon was changed because it didn't meet our guidelines anymore, use {@link FileExclamationPoint} instead. This alias will be removed in v1.0 */
533
- default as FileWarning
534
- } from '../icons/file-exclamation-point';
535
-
536
530
  // FileHeadphone aliases
537
531
  export {
538
532
  /** @deprecated The name of this icon was changed because it didn't meet our guidelines anymore, use {@link FileHeadphone} instead. This alias will be removed in v1.0 */
@@ -545,6 +539,12 @@ export {
545
539
  default as FileAudio2
546
540
  } from '../icons/file-headphone';
547
541
 
542
+ // FileExclamationPoint aliases
543
+ export {
544
+ /** @deprecated The name of this icon was changed because it didn't meet our guidelines anymore, use {@link FileExclamationPoint} instead. This alias will be removed in v1.0 */
545
+ default as FileWarning
546
+ } from '../icons/file-exclamation-point';
547
+
548
548
  // FileKey aliases
549
549
  export {
550
550
  /** @deprecated The icon was combined with another icon that shares the same use case, use {@link FileKey} instead. This alias will be removed in v1.0 */
@@ -665,18 +665,18 @@ export {
665
665
  default as Grid2X2Check
666
666
  } from '../icons/grid-2x2-check';
667
667
 
668
- // Grid2x2Plus aliases
669
- export {
670
- /** @deprecated The name of this icon was changed because it didn't meet our guidelines anymore, use {@link Grid2x2Plus} instead. This alias will be removed in v1.0 */
671
- default as Grid2X2Plus
672
- } from '../icons/grid-2x2-plus';
673
-
674
668
  // Grid2x2X aliases
675
669
  export {
676
670
  /** @deprecated The name of this icon was changed because it didn't meet our guidelines anymore, use {@link Grid2x2X} instead. This alias will be removed in v1.0 */
677
671
  default as Grid2X2X
678
672
  } from '../icons/grid-2x2-x';
679
673
 
674
+ // Grid2x2Plus aliases
675
+ export {
676
+ /** @deprecated The name of this icon was changed because it didn't meet our guidelines anymore, use {@link Grid2x2Plus} instead. This alias will be removed in v1.0 */
677
+ default as Grid2X2Plus
678
+ } from '../icons/grid-2x2-plus';
679
+
680
680
  // Grid2x2 aliases
681
681
  export {
682
682
  /** @deprecated The name of this icon was changed because it didn't meet our guidelines anymore, use {@link Grid2x2} instead. This alias will be removed in v1.0 */
@@ -707,18 +707,18 @@ export {
707
707
  default as HelpingHand
708
708
  } from '../icons/hand-helping';
709
709
 
710
- // IceCreamBowl aliases
711
- export {
712
- /** @deprecated The name of this icon was changed because it didn't meet our guidelines anymore, use {@link IceCreamBowl} instead. This alias will be removed in v1.0 */
713
- default as IceCream2
714
- } from '../icons/ice-cream-bowl';
715
-
716
710
  // House aliases
717
711
  export {
718
712
  /** @deprecated The name of this icon was changed because it didn't meet our guidelines anymore, use {@link House} instead. This alias will be removed in v1.0 */
719
713
  default as Home
720
714
  } from '../icons/house';
721
715
 
716
+ // IceCreamBowl aliases
717
+ export {
718
+ /** @deprecated The name of this icon was changed because it didn't meet our guidelines anymore, use {@link IceCreamBowl} instead. This alias will be removed in v1.0 */
719
+ default as IceCream2
720
+ } from '../icons/ice-cream-bowl';
721
+
722
722
  // IceCreamCone aliases
723
723
  export {
724
724
  /** @deprecated The name of this icon was changed because it didn't meet our guidelines anymore, use {@link IceCreamCone} instead. This alias will be removed in v1.0 */
@@ -731,12 +731,6 @@ export {
731
731
  default as Laptop2
732
732
  } from '../icons/laptop-minimal';
733
733
 
734
- // Layers aliases
735
- export {
736
- /** @deprecated The icon was combined with another icon that shares the same use case, use {@link Layers} instead. This alias will be removed in v1.0 */
737
- default as Layers3
738
- } from '../icons/layers';
739
-
740
734
  // ListIndentDecrease aliases
741
735
  export {
742
736
  /** @deprecated The name of this icon was changed because it didn't meet our guidelines anymore, use {@link ListIndentDecrease} instead. This alias will be removed in v1.0 */
@@ -749,6 +743,12 @@ export {
749
743
  default as IndentDecrease
750
744
  } from '../icons/list-indent-decrease';
751
745
 
746
+ // Layers aliases
747
+ export {
748
+ /** @deprecated The icon was combined with another icon that shares the same use case, use {@link Layers} instead. This alias will be removed in v1.0 */
749
+ default as Layers3
750
+ } from '../icons/layers';
751
+
752
752
  // ListIndentIncrease aliases
753
753
  export {
754
754
  /** @deprecated The name of this icon was changed because it didn't meet our guidelines anymore, use {@link ListIndentIncrease} instead. This alias will be removed in v1.0 */
@@ -1127,18 +1127,18 @@ export {
1127
1127
  default as DivideSquare
1128
1128
  } from '../icons/square-divide';
1129
1129
 
1130
- // SquareEqual aliases
1131
- export {
1132
- /** @deprecated The name of this icon was changed because it didn't meet our guidelines anymore, use {@link SquareEqual} instead. This alias will be removed in v1.0 */
1133
- default as EqualSquare
1134
- } from '../icons/square-equal';
1135
-
1136
1130
  // SquareDot aliases
1137
1131
  export {
1138
1132
  /** @deprecated The name of this icon was changed because it didn't meet our guidelines anymore, use {@link SquareDot} instead. This alias will be removed in v1.0 */
1139
1133
  default as DotSquare
1140
1134
  } from '../icons/square-dot';
1141
1135
 
1136
+ // SquareEqual aliases
1137
+ export {
1138
+ /** @deprecated The name of this icon was changed because it didn't meet our guidelines anymore, use {@link SquareEqual} instead. This alias will be removed in v1.0 */
1139
+ default as EqualSquare
1140
+ } from '../icons/square-equal';
1141
+
1142
1142
  // SquareFunction aliases
1143
1143
  export {
1144
1144
  /** @deprecated The name of this icon was changed because it didn't meet our guidelines anymore, use {@link SquareFunction} instead. This alias will be removed in v1.0 */
@@ -1193,12 +1193,6 @@ export {
1193
1193
  default as ParkingSquare
1194
1194
  } from '../icons/square-parking';
1195
1195
 
1196
- // SquarePercent aliases
1197
- export {
1198
- /** @deprecated The name of this icon was changed because it didn't meet our guidelines anymore, use {@link SquarePercent} instead. This alias will be removed in v1.0 */
1199
- default as PercentSquare
1200
- } from '../icons/square-percent';
1201
-
1202
1196
  // SquarePen aliases
1203
1197
  export {
1204
1198
  /** @deprecated The name of this icon was changed because it didn't meet our guidelines anymore, use {@link SquarePen} instead. This alias will be removed in v1.0 */
@@ -1217,6 +1211,12 @@ export {
1217
1211
  default as PenSquare
1218
1212
  } from '../icons/square-pen';
1219
1213
 
1214
+ // SquarePercent aliases
1215
+ export {
1216
+ /** @deprecated The name of this icon was changed because it didn't meet our guidelines anymore, use {@link SquarePercent} instead. This alias will be removed in v1.0 */
1217
+ default as PercentSquare
1218
+ } from '../icons/square-percent';
1219
+
1220
1220
  // SquarePi aliases
1221
1221
  export {
1222
1222
  /** @deprecated The name of this icon was changed because it didn't meet our guidelines anymore, use {@link SquarePi} instead. This alias will be removed in v1.0 */