lucide 0.94.0 → 0.96.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.
package/README.md CHANGED
@@ -6,15 +6,19 @@ Implementation of the lucide icon library for web applications.
6
6
 
7
7
  ### Package Managers
8
8
 
9
- ``` bash
9
+ ```sh
10
10
  npm install lucide
11
- #or
11
+ ```
12
+
13
+ or
14
+
15
+ ```sh
12
16
  yarn add lucide
13
17
  ```
14
18
 
15
19
  ### CDN
16
20
 
17
- ``` html
21
+ ```html
18
22
  <!-- Development version -->
19
23
  <script src="https://unpkg.com/lucide@latest/dist/umd/lucide.js"></script>
20
24
 
@@ -56,7 +60,7 @@ The `createIcons` function will search for HTMLElements with the attribute `icon
56
60
  import { createIcons, icons } from 'lucide';
57
61
 
58
62
  // Caution, this will import all the icons and bundle them.
59
- createIcons({icons});
63
+ createIcons({ icons });
60
64
 
61
65
  // Recommended way, to include only the icons you need.
62
66
  import { createIcons, Menu, ArrowRight, Globe } from 'lucide';
@@ -65,8 +69,8 @@ createIcons({
65
69
  icons: {
66
70
  Menu,
67
71
  ArrowRight,
68
- Globe,
69
- },
72
+ Globe
73
+ }
70
74
  });
71
75
  ```
72
76
 
@@ -83,9 +87,9 @@ createIcons({
83
87
  attrs: {
84
88
  class: ['my-custom-class', 'icon'],
85
89
  'stroke-width': 1,
86
- stroke: '#333',
90
+ stroke: '#333'
87
91
  },
88
- nameAttr: 'icon-name', // attribute for the icon name.
92
+ nameAttr: 'icon-name' // attribute for the icon name.
89
93
  });
90
94
  ```
91
95
 
@@ -98,8 +102,8 @@ createIcons({
98
102
  icons: {
99
103
  Menu,
100
104
  ArrowRight,
101
- Globe,
102
- },
105
+ Globe
106
+ }
103
107
  });
104
108
  ```
105
109
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * lucide v0.94.0 - ISC
2
+ * lucide v0.96.0 - ISC
3
3
  */
4
4
 
5
5
  'use strict';
@@ -2322,6 +2322,28 @@ var Cast = ['svg', defaultAttributes, [['path', {
2322
2322
  }]]];
2323
2323
  var Cast$1 = Cast;
2324
2324
 
2325
+ var Cat = ['svg', defaultAttributes, [['path', {
2326
+ d: 'M14 5.256A8.148 8.148 0 0 0 12 5a9.04 9.04 0 0 0-2 .227M20.098 10c.572 1.068.902 2.24.902 3.444C21 17.89 16.97 21 12 21s-9-3-9-7.556c0-1.251.288-2.41.792-3.444'
2327
+ }], ['path', {
2328
+ d: 'M3.75 10S2.11 3.58 3.5 3C4.89 2.42 8 3 9.781 5'
2329
+ }], ['path', {
2330
+ d: 'M20.172 10.002s1.64-6.42.25-7c-1.39-.58-4.5 0-6.282 2'
2331
+ }], ['path', {
2332
+ d: 'M8 14v.5'
2333
+ }], ['path', {
2334
+ d: 'M16 14v.5'
2335
+ }], ['path', {
2336
+ d: 'M11.25 16.25h1.5L12 17l-.75-.75Z'
2337
+ }]]];
2338
+ var Cat$1 = Cat;
2339
+
2340
+ var CheckCheck = ['svg', defaultAttributes, [['path', {
2341
+ d: 'M18 6 7 17l-5-5'
2342
+ }], ['path', {
2343
+ d: 'm22 10-7.5 7.5L13 16'
2344
+ }]]];
2345
+ var CheckCheck$1 = CheckCheck;
2346
+
2325
2347
  var CheckCircle2 = ['svg', defaultAttributes, [['path', {
2326
2348
  d: 'M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10z'
2327
2349
  }], ['path', {
@@ -3749,6 +3771,21 @@ var Divide = ['svg', defaultAttributes, [['circle', {
3749
3771
  }]]];
3750
3772
  var Divide$1 = Divide;
3751
3773
 
3774
+ var Dog = ['svg', defaultAttributes, [['path', {
3775
+ d: 'M10 5.172C10 3.782 8.423 2.679 6.5 3c-2.823.47-4.113 6.006-4 7 .08.703 1.725 1.722 3.656 1 1.261-.472 1.96-1.45 2.344-2.5'
3776
+ }], ['path', {
3777
+ d: 'M14.267 5.172c0-1.39 1.577-2.493 3.5-2.172 2.823.47 4.113 6.006 4 7-.08.703-1.725 1.722-3.656 1-1.261-.472-1.855-1.45-2.239-2.5'
3778
+ }], ['path', {
3779
+ d: 'M8 14v.5'
3780
+ }], ['path', {
3781
+ d: 'M16 14v.5'
3782
+ }], ['path', {
3783
+ d: 'M11.25 16.25h1.5L12 17l-.75-.75Z'
3784
+ }], ['path', {
3785
+ d: 'M4.42 11.247A13.152 13.152 0 0 0 4 14.556C4 18.728 7.582 21 12 21s8-2.272 8-6.444c0-1.061-.162-2.2-.493-3.309m-9.243-6.082A8.801 8.801 0 0 1 12 5c.78 0 1.5.108 2.161.306'
3786
+ }]]];
3787
+ var Dog$1 = Dog;
3788
+
3752
3789
  var DollarSign = ['svg', defaultAttributes, [['line', {
3753
3790
  x1: '12',
3754
3791
  y1: '2',
@@ -11567,6 +11604,8 @@ var allIcons = /*#__PURE__*/Object.freeze({
11567
11604
  Car: Car$1,
11568
11605
  Carrot: Carrot$1,
11569
11606
  Cast: Cast$1,
11607
+ Cat: Cat$1,
11608
+ CheckCheck: CheckCheck$1,
11570
11609
  CheckCircle2: CheckCircle2$1,
11571
11610
  CheckCircle: CheckCircle$1,
11572
11611
  CheckSquare: CheckSquare$1,
@@ -11684,6 +11723,7 @@ var allIcons = /*#__PURE__*/Object.freeze({
11684
11723
  DivideCircle: DivideCircle$1,
11685
11724
  DivideSquare: DivideSquare$1,
11686
11725
  Divide: Divide$1,
11726
+ Dog: Dog$1,
11687
11727
  DollarSign: DollarSign$1,
11688
11728
  DownloadCloud: DownloadCloud$1,
11689
11729
  Download: Download$1,
@@ -12445,7 +12485,9 @@ exports.CameraOff = CameraOff$1;
12445
12485
  exports.Car = Car$1;
12446
12486
  exports.Carrot = Carrot$1;
12447
12487
  exports.Cast = Cast$1;
12488
+ exports.Cat = Cat$1;
12448
12489
  exports.Check = Check$1;
12490
+ exports.CheckCheck = CheckCheck$1;
12449
12491
  exports.CheckCircle = CheckCircle$1;
12450
12492
  exports.CheckCircle2 = CheckCircle2$1;
12451
12493
  exports.CheckSquare = CheckSquare$1;
@@ -12562,6 +12604,7 @@ exports.Disc = Disc$1;
12562
12604
  exports.Divide = Divide$1;
12563
12605
  exports.DivideCircle = DivideCircle$1;
12564
12606
  exports.DivideSquare = DivideSquare$1;
12607
+ exports.Dog = Dog$1;
12565
12608
  exports.DollarSign = DollarSign$1;
12566
12609
  exports.Download = Download$1;
12567
12610
  exports.DownloadCloud = DownloadCloud$1;