lucide-preact 0.98.0 → 0.99.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,11 +1,9 @@
1
1
  /**
2
- * lucide-preact v0.98.0 - ISC
2
+ * lucide-preact v0.99.0 - ISC
3
3
  */
4
4
 
5
5
  'use strict';
6
6
 
7
- Object.defineProperty(exports, '__esModule', { value: true });
8
-
9
7
  var preact = require('preact');
10
8
 
11
9
  var defaultAttributes = {
@@ -28,7 +26,6 @@ var defaultAttributes = {
28
26
  * @param {string} string
29
27
  * @returns {string} A kebabized string
30
28
  */
31
-
32
29
  const toKebabCase = string => string.replace(/([a-z0-9])([A-Z])/g, '$1-$2').toLowerCase();
33
30
  var createPreactComponent = ((iconName, iconNode) => {
34
31
  const Component = ({
@@ -37,7 +34,8 @@ var createPreactComponent = ((iconName, iconNode) => {
37
34
  strokeWidth = 2,
38
35
  children,
39
36
  ...rest
40
- }) => preact.h('svg', { ...defaultAttributes,
37
+ }) => preact.h('svg', {
38
+ ...defaultAttributes,
41
39
  width: size,
42
40
  height: size,
43
41
  stroke: color,
@@ -45,7 +43,6 @@ var createPreactComponent = ((iconName, iconNode) => {
45
43
  class: `lucide lucide-${toKebabCase(iconName)}`,
46
44
  ...rest
47
45
  }, [...iconNode.map(([tag, attrs]) => preact.h(tag, attrs)), ...preact.toChildArray(children)]);
48
-
49
46
  Component.displayName = `${iconName}`;
50
47
  return Component;
51
48
  });
@@ -9844,6 +9841,25 @@ const MonitorOff = createPreactComponent('MonitorOff', [['path', {
9844
9841
  }]]);
9845
9842
  var MonitorOff$1 = MonitorOff;
9846
9843
 
9844
+ const MonitorSmartphone = createPreactComponent('MonitorSmartphone', [['path', {
9845
+ d: 'M18 8V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h8',
9846
+ key: '10dyio'
9847
+ }], ['path', {
9848
+ d: 'M10 19v-3.96 3.15',
9849
+ key: '1irgej'
9850
+ }], ['path', {
9851
+ d: 'M7 19h5',
9852
+ key: 'qswx4l'
9853
+ }], ['rect', {
9854
+ x: '16',
9855
+ y: '12',
9856
+ width: '6',
9857
+ height: '10',
9858
+ rx: '2',
9859
+ key: 'k4sdfk'
9860
+ }]]);
9861
+ var MonitorSmartphone$1 = MonitorSmartphone;
9862
+
9847
9863
  const MonitorSpeaker = createPreactComponent('MonitorSpeaker', [['path', {
9848
9864
  d: 'M5.5 20H8',
9849
9865
  key: '1k40s5'
@@ -15433,6 +15449,7 @@ exports.MinusCircle = MinusCircle$1;
15433
15449
  exports.MinusSquare = MinusSquare$1;
15434
15450
  exports.Monitor = Monitor$1;
15435
15451
  exports.MonitorOff = MonitorOff$1;
15452
+ exports.MonitorSmartphone = MonitorSmartphone$1;
15436
15453
  exports.MonitorSpeaker = MonitorSpeaker$1;
15437
15454
  exports.Moon = Moon$1;
15438
15455
  exports.MoreHorizontal = MoreHorizontal$1;