lucide-react 0.84.0 → 0.87.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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * lucide-react v0.84.0 - ISC
2
+ * lucide-react v0.87.0 - ISC
3
3
  */
4
4
 
5
5
  (function (global, factory) {
@@ -12,45 +12,21 @@
12
12
 
13
13
  var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
14
14
 
15
- function ownKeys(object, enumerableOnly) {
16
- var keys = Object.keys(object);
15
+ function _extends() {
16
+ _extends = Object.assign ? Object.assign.bind() : function (target) {
17
+ for (var i = 1; i < arguments.length; i++) {
18
+ var source = arguments[i];
17
19
 
18
- if (Object.getOwnPropertySymbols) {
19
- var symbols = Object.getOwnPropertySymbols(object);
20
- enumerableOnly && (symbols = symbols.filter(function (sym) {
21
- return Object.getOwnPropertyDescriptor(object, sym).enumerable;
22
- })), keys.push.apply(keys, symbols);
23
- }
24
-
25
- return keys;
26
- }
27
-
28
- function _objectSpread2(target) {
29
- for (var i = 1; i < arguments.length; i++) {
30
- var source = null != arguments[i] ? arguments[i] : {};
31
- i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
32
- _defineProperty(target, key, source[key]);
33
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
34
- Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
35
- });
36
- }
37
-
38
- return target;
39
- }
40
-
41
- function _defineProperty(obj, key, value) {
42
- if (key in obj) {
43
- Object.defineProperty(obj, key, {
44
- value: value,
45
- enumerable: true,
46
- configurable: true,
47
- writable: true
48
- });
49
- } else {
50
- obj[key] = value;
51
- }
20
+ for (var key in source) {
21
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
22
+ target[key] = source[key];
23
+ }
24
+ }
25
+ }
52
26
 
53
- return obj;
27
+ return target;
28
+ };
29
+ return _extends.apply(this, arguments);
54
30
  }
55
31
 
56
32
  function _objectWithoutPropertiesLoose(source, excluded) {
@@ -68,102 +44,6 @@
68
44
  return target;
69
45
  }
70
46
 
71
- function _objectWithoutProperties(source, excluded) {
72
- if (source == null) return {};
73
-
74
- var target = _objectWithoutPropertiesLoose(source, excluded);
75
-
76
- var key, i;
77
-
78
- if (Object.getOwnPropertySymbols) {
79
- var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
80
-
81
- for (i = 0; i < sourceSymbolKeys.length; i++) {
82
- key = sourceSymbolKeys[i];
83
- if (excluded.indexOf(key) >= 0) continue;
84
- if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
85
- target[key] = source[key];
86
- }
87
- }
88
-
89
- return target;
90
- }
91
-
92
- function _slicedToArray(arr, i) {
93
- return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
94
- }
95
-
96
- function _toConsumableArray(arr) {
97
- return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
98
- }
99
-
100
- function _arrayWithoutHoles(arr) {
101
- if (Array.isArray(arr)) return _arrayLikeToArray(arr);
102
- }
103
-
104
- function _arrayWithHoles(arr) {
105
- if (Array.isArray(arr)) return arr;
106
- }
107
-
108
- function _iterableToArray(iter) {
109
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
110
- }
111
-
112
- function _iterableToArrayLimit(arr, i) {
113
- var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
114
-
115
- if (_i == null) return;
116
- var _arr = [];
117
- var _n = true;
118
- var _d = false;
119
-
120
- var _s, _e;
121
-
122
- try {
123
- for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
124
- _arr.push(_s.value);
125
-
126
- if (i && _arr.length === i) break;
127
- }
128
- } catch (err) {
129
- _d = true;
130
- _e = err;
131
- } finally {
132
- try {
133
- if (!_n && _i["return"] != null) _i["return"]();
134
- } finally {
135
- if (_d) throw _e;
136
- }
137
- }
138
-
139
- return _arr;
140
- }
141
-
142
- function _unsupportedIterableToArray(o, minLen) {
143
- if (!o) return;
144
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
145
- var n = Object.prototype.toString.call(o).slice(8, -1);
146
- if (n === "Object" && o.constructor) n = o.constructor.name;
147
- if (n === "Map" || n === "Set") return Array.from(o);
148
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
149
- }
150
-
151
- function _arrayLikeToArray(arr, len) {
152
- if (len == null || len > arr.length) len = arr.length;
153
-
154
- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
155
-
156
- return arr2;
157
- }
158
-
159
- function _nonIterableSpread() {
160
- throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
161
- }
162
-
163
- function _nonIterableRest() {
164
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
165
- }
166
-
167
47
  var defaultAttributes = {
168
48
  xmlns: 'http://www.w3.org/2000/svg',
169
49
  width: 24,
@@ -198,30 +78,28 @@
198
78
  _ref$strokeWidth = _ref.strokeWidth,
199
79
  strokeWidth = _ref$strokeWidth === void 0 ? 2 : _ref$strokeWidth,
200
80
  children = _ref.children,
201
- rest = _objectWithoutProperties(_ref, _excluded);
81
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded);
202
82
 
203
- return react.createElement('svg', _objectSpread2(_objectSpread2({
83
+ return react.createElement('svg', _extends({
204
84
  ref: ref
205
- }, defaultAttributes), {}, {
85
+ }, defaultAttributes, {
206
86
  width: size,
207
87
  height: size,
208
88
  stroke: color,
209
89
  strokeWidth: strokeWidth,
210
- className: "lucide lucide-".concat(toKebabCase(iconName))
211
- }, rest), [].concat(_toConsumableArray(iconNode.map(function (_ref2) {
212
- var _ref3 = _slicedToArray(_ref2, 2),
213
- tag = _ref3[0],
214
- attrs = _ref3[1];
215
-
90
+ className: "lucide lucide-" + toKebabCase(iconName)
91
+ }, rest), [].concat(iconNode.map(function (_ref2) {
92
+ var tag = _ref2[0],
93
+ attrs = _ref2[1];
216
94
  return react.createElement(tag, attrs);
217
- })), _toConsumableArray(children || [])));
95
+ }), children || []));
218
96
  });
219
97
  Component.propTypes = {
220
98
  color: PropTypes__default["default"].string,
221
99
  size: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number]),
222
100
  strokeWidth: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number])
223
101
  };
224
- Component.displayName = "".concat(iconName);
102
+ Component.displayName = "" + iconName;
225
103
  return Component;
226
104
  });
227
105
 
@@ -1339,6 +1217,27 @@
1339
1217
  }]]);
1340
1218
  var ArrowUpCircle$1 = ArrowUpCircle;
1341
1219
 
1220
+ var ArrowUpDown = createReactComponent('ArrowUpDown', [['polyline', {
1221
+ points: '11 17 7 21 3 17',
1222
+ key: 'dv0ycv'
1223
+ }], ['line', {
1224
+ x1: '7',
1225
+ y1: '21',
1226
+ x2: '7',
1227
+ y2: '9',
1228
+ key: '1cxv4h'
1229
+ }], ['polyline', {
1230
+ points: '21 7 17 3 13 7',
1231
+ key: '1su31j'
1232
+ }], ['line', {
1233
+ x1: '17',
1234
+ y1: '15',
1235
+ x2: '17',
1236
+ y2: '3',
1237
+ key: 'r3527w'
1238
+ }]]);
1239
+ var ArrowUpDown$1 = ArrowUpDown;
1240
+
1342
1241
  var ArrowUpLeft = createReactComponent('ArrowUpLeft', [['line', {
1343
1242
  x1: '17',
1344
1243
  y1: '17',
@@ -4023,6 +3922,21 @@
4023
3922
  }]]);
4024
3923
  var Component$1 = Component;
4025
3924
 
3925
+ var ConciergeBell = createReactComponent('ConciergeBell', [['path', {
3926
+ d: 'M2 18a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v2H2v-2Z',
3927
+ key: '1co3i8'
3928
+ }], ['path', {
3929
+ d: 'M20 16a8 8 0 1 0-16 0',
3930
+ key: '1pa543'
3931
+ }], ['path', {
3932
+ d: 'M12 4v4',
3933
+ key: '1bq03y'
3934
+ }], ['path', {
3935
+ d: 'M10 4h4',
3936
+ key: '1xpv9s'
3937
+ }]]);
3938
+ var ConciergeBell$1 = ConciergeBell;
3939
+
4026
3940
  var Contact = createReactComponent('Contact', [['path', {
4027
3941
  d: 'M17 18a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2',
4028
3942
  key: '1mghuy'
@@ -4960,6 +4874,15 @@
4960
4874
  }]]);
4961
4875
  var Factory$1 = Factory;
4962
4876
 
4877
+ var Fan = createReactComponent('Fan', [['path', {
4878
+ d: 'M10.827 16.379a6.082 6.082 0 0 1-8.618-7.002l5.412 1.45a6.082 6.082 0 0 1 7.002-8.618l-1.45 5.412a6.082 6.082 0 0 1 8.618 7.002l-5.412-1.45a6.082 6.082 0 0 1-7.002 8.618l1.45-5.412Z',
4879
+ key: '484a7f'
4880
+ }], ['path', {
4881
+ d: 'M12 12v.01',
4882
+ key: 'u5ubse'
4883
+ }]]);
4884
+ var Fan$1 = Fan;
4885
+
4963
4886
  var FastForward = createReactComponent('FastForward', [['polygon', {
4964
4887
  points: '13 19 22 12 13 5 13 19',
4965
4888
  key: '587y9g'
@@ -9333,6 +9256,32 @@
9333
9256
  }]]);
9334
9257
  var Microscope$1 = Microscope;
9335
9258
 
9259
+ var Microwave = createReactComponent('Microwave', [['rect', {
9260
+ x: '2',
9261
+ y: '4',
9262
+ width: '20',
9263
+ height: '15',
9264
+ rx: '2',
9265
+ key: '1rfv8z'
9266
+ }], ['rect', {
9267
+ x: '6',
9268
+ y: '8',
9269
+ width: '8',
9270
+ height: '7',
9271
+ rx: '1',
9272
+ key: 'i43qc1'
9273
+ }], ['path', {
9274
+ d: 'M18 8v7',
9275
+ key: 'o5zi4n'
9276
+ }], ['path', {
9277
+ d: 'M6 19v2',
9278
+ key: '1loha6'
9279
+ }], ['path', {
9280
+ d: 'M18 19v2',
9281
+ key: '1dawf0'
9282
+ }]]);
9283
+ var Microwave$1 = Microwave;
9284
+
9336
9285
  var Milestone = createReactComponent('Milestone', [['path', {
9337
9286
  d: 'M18 6H5a2 2 0 0 0-2 2v3a2 2 0 0 0 2 2h13l4-3.5L18 6Z',
9338
9287
  key: '1mp5s7'
@@ -10745,6 +10694,26 @@
10745
10694
  }]]);
10746
10695
  var Radio$1 = Radio;
10747
10696
 
10697
+ var RectangleHorizontal = createReactComponent('RectangleHorizontal', [['rect', {
10698
+ x: '2',
10699
+ y: '6',
10700
+ width: '20',
10701
+ height: '12',
10702
+ rx: '2',
10703
+ key: '1wpnh2'
10704
+ }]]);
10705
+ var RectangleHorizontal$1 = RectangleHorizontal;
10706
+
10707
+ var RectangleVertical = createReactComponent('RectangleVertical', [['rect', {
10708
+ x: '6',
10709
+ y: '2',
10710
+ width: '12',
10711
+ height: '20',
10712
+ rx: '2',
10713
+ key: '749fme'
10714
+ }]]);
10715
+ var RectangleVertical$1 = RectangleVertical;
10716
+
10748
10717
  var Recycle = createReactComponent('Recycle', [['path', {
10749
10718
  d: 'M7 19H4.815a1.83 1.83 0 0 1-1.57-.881 1.785 1.785 0 0 1-.004-1.784L7.196 9.5',
10750
10719
  key: 'x6z5xu'
@@ -10814,6 +10783,18 @@
10814
10783
  }]]);
10815
10784
  var RefreshCw$1 = RefreshCw;
10816
10785
 
10786
+ var Refrigerator = createReactComponent('Refrigerator', [['path', {
10787
+ d: 'M5 6a4 4 0 0 1 4-4h6a4 4 0 0 1 4 4v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6Z',
10788
+ key: 'fpq118'
10789
+ }], ['path', {
10790
+ d: 'M5 10h14',
10791
+ key: 'elsbfy'
10792
+ }], ['path', {
10793
+ d: 'M15 7v6',
10794
+ key: '1nx30x'
10795
+ }]]);
10796
+ var Refrigerator$1 = Refrigerator;
10797
+
10817
10798
  var Regex = createReactComponent('Regex', [['path', {
10818
10799
  d: 'M17 3v10',
10819
10800
  key: '15fgeh'
@@ -11607,6 +11588,39 @@
11607
11588
  }]]);
11608
11589
  var Shovel$1 = Shovel;
11609
11590
 
11591
+ var ShowerHead = createReactComponent('ShowerHead', [['path', {
11592
+ d: 'm4 4 2.5 2.5',
11593
+ key: 'uv2vmf'
11594
+ }], ['path', {
11595
+ d: 'M13.5 6.5a4.95 4.95 0 0 0-7 7',
11596
+ key: 'frdkwv'
11597
+ }], ['path', {
11598
+ d: 'M15 5 5 15',
11599
+ key: '1ag8rq'
11600
+ }], ['path', {
11601
+ d: 'M14 17v.01',
11602
+ key: 'eokfpp'
11603
+ }], ['path', {
11604
+ d: 'M10 16v.01',
11605
+ key: '14uyyl'
11606
+ }], ['path', {
11607
+ d: 'M13 13v.01',
11608
+ key: '1v1k97'
11609
+ }], ['path', {
11610
+ d: 'M16 10v.01',
11611
+ key: '5169yg'
11612
+ }], ['path', {
11613
+ d: 'M11 20v.01',
11614
+ key: 'cj92p8'
11615
+ }], ['path', {
11616
+ d: 'M17 14v.01',
11617
+ key: '11cswd'
11618
+ }], ['path', {
11619
+ d: 'M20 11v.01',
11620
+ key: '19e0od'
11621
+ }]]);
11622
+ var ShowerHead$1 = ShowerHead;
11623
+
11610
11624
  var Shrink = createReactComponent('Shrink', [['path', {
11611
11625
  d: 'm15 15 6 6m-6-6v4.8m0-4.8h4.8',
11612
11626
  key: '17vawe'
@@ -14275,6 +14289,7 @@
14275
14289
  exports.ArrowRightCircle = ArrowRightCircle$1;
14276
14290
  exports.ArrowUp = ArrowUp$1;
14277
14291
  exports.ArrowUpCircle = ArrowUpCircle$1;
14292
+ exports.ArrowUpDown = ArrowUpDown$1;
14278
14293
  exports.ArrowUpLeft = ArrowUpLeft$1;
14279
14294
  exports.ArrowUpRight = ArrowUpRight$1;
14280
14295
  exports.Asterisk = Asterisk$1;
@@ -14431,6 +14446,7 @@
14431
14446
  exports.Command = Command$1;
14432
14447
  exports.Compass = Compass$1;
14433
14448
  exports.Component = Component$1;
14449
+ exports.ConciergeBell = ConciergeBell$1;
14434
14450
  exports.Contact = Contact$1;
14435
14451
  exports.Contrast = Contrast$1;
14436
14452
  exports.Cookie = Cookie$1;
@@ -14492,6 +14508,7 @@
14492
14508
  exports.EyeOff = EyeOff$1;
14493
14509
  exports.Facebook = Facebook$1;
14494
14510
  exports.Factory = Factory$1;
14511
+ exports.Fan = Fan$1;
14495
14512
  exports.FastForward = FastForward$1;
14496
14513
  exports.Feather = Feather$1;
14497
14514
  exports.Figma = Figma$1;
@@ -14742,6 +14759,7 @@
14742
14759
  exports.Mic2 = Mic2$1;
14743
14760
  exports.MicOff = MicOff$1;
14744
14761
  exports.Microscope = Microscope$1;
14762
+ exports.Microwave = Microwave$1;
14745
14763
  exports.Milestone = Milestone$1;
14746
14764
  exports.Minimize = Minimize$1;
14747
14765
  exports.Minimize2 = Minimize2$1;
@@ -14833,11 +14851,14 @@
14833
14851
  exports.Quote = Quote$1;
14834
14852
  exports.Radio = Radio$1;
14835
14853
  exports.RadioReceiver = RadioReceiver$1;
14854
+ exports.RectangleHorizontal = RectangleHorizontal$1;
14855
+ exports.RectangleVertical = RectangleVertical$1;
14836
14856
  exports.Recycle = Recycle$1;
14837
14857
  exports.Redo = Redo$1;
14838
14858
  exports.Redo2 = Redo2$1;
14839
14859
  exports.RefreshCcw = RefreshCcw$1;
14840
14860
  exports.RefreshCw = RefreshCw$1;
14861
+ exports.Refrigerator = Refrigerator$1;
14841
14862
  exports.Regex = Regex$1;
14842
14863
  exports.Repeat = Repeat$1;
14843
14864
  exports.Repeat1 = Repeat1$1;
@@ -14885,6 +14906,7 @@
14885
14906
  exports.ShoppingBag = ShoppingBag$1;
14886
14907
  exports.ShoppingCart = ShoppingCart$1;
14887
14908
  exports.Shovel = Shovel$1;
14909
+ exports.ShowerHead = ShowerHead$1;
14888
14910
  exports.Shrink = Shrink$1;
14889
14911
  exports.Shrub = Shrub$1;
14890
14912
  exports.Shuffle = Shuffle$1;