lucide-solid 0.98.0 → 0.100.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,18 +1,12 @@
1
1
  /**
2
- * lucide-solid v0.98.0 - ISC
2
+ * lucide-solid v0.100.0 - ISC
3
3
  */
4
4
 
5
5
  'use strict';
6
6
 
7
- Object.defineProperty(exports, '__esModule', { value: true });
8
-
9
7
  var h = require('solid-js/h');
10
8
  var solidJs = require('solid-js');
11
9
 
12
- function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
13
-
14
- var h__default = /*#__PURE__*/_interopDefaultLegacy(h);
15
-
16
10
  var defaultAttributes = {
17
11
  xmlns: 'http://www.w3.org/2000/svg',
18
12
  width: 24,
@@ -33,21 +27,20 @@ var defaultAttributes = {
33
27
  * @param {string} string
34
28
  * @returns {string} A kebabized string
35
29
  */
36
-
37
30
  const toKebabCase = string => string.replace(/([a-z0-9])([A-Z])/g, '$1-$2').toLowerCase();
38
31
  var createSolidComponent = ((iconName, iconNode) => {
39
32
  const Component = props => {
40
33
  const [localProps, rest] = solidJs.splitProps(props, ['color', 'size', 'strokeWidth', 'children', 'class']);
41
- const svgProps = { ...defaultAttributes,
34
+ const svgProps = {
35
+ ...defaultAttributes,
42
36
  width: () => localProps.size != null ? localProps.size : defaultAttributes.width,
43
37
  height: () => localProps.size != null ? localProps.size : defaultAttributes.height,
44
38
  stroke: () => localProps.color != null ? localProps.color : defaultAttributes.stroke,
45
39
  'stroke-width': () => localProps.strokeWidth != null ? localProps.strokeWidth : defaultAttributes['stroke-width'],
46
40
  class: () => `lucide lucide-${toKebabCase(iconName)} ${localProps.class != null ? localProps.class : ''}`
47
41
  };
48
- return h__default["default"]('svg', [svgProps, rest], [...iconNode.map(([tag, attrs]) => h__default["default"](tag, attrs)), localProps.children]);
42
+ return h('svg', [svgProps, rest], [...iconNode.map(([tag, attrs]) => h(tag, attrs)), localProps.children]);
49
43
  };
50
-
51
44
  Component.displayName = `${iconName}`;
52
45
  return Component;
53
46
  });
@@ -1276,11 +1269,11 @@ const Axis3d = createSolidComponent('Axis3d', [['path', {
1276
1269
  var Axis3d$1 = Axis3d;
1277
1270
 
1278
1271
  const Baby = createSolidComponent('Baby', [['path', {
1279
- d: 'M9 12h0',
1280
- key: 't9r911'
1272
+ d: 'M9 12h0.01',
1273
+ key: 'u5n1lm'
1281
1274
  }], ['path', {
1282
- d: 'M15 12h0',
1283
- key: '1pk9dm'
1275
+ d: 'M15 12h0.01',
1276
+ key: '10zk70'
1284
1277
  }], ['path', {
1285
1278
  d: 'M10 16c.5.3 1.2.5 2 .5s1.5-.2 2-.5',
1286
1279
  key: '1u7htd'
@@ -9846,6 +9839,25 @@ const MonitorOff = createSolidComponent('MonitorOff', [['path', {
9846
9839
  }]]);
9847
9840
  var MonitorOff$1 = MonitorOff;
9848
9841
 
9842
+ const MonitorSmartphone = createSolidComponent('MonitorSmartphone', [['path', {
9843
+ d: 'M18 8V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h8',
9844
+ key: '10dyio'
9845
+ }], ['path', {
9846
+ d: 'M10 19v-3.96 3.15',
9847
+ key: '1irgej'
9848
+ }], ['path', {
9849
+ d: 'M7 19h5',
9850
+ key: 'qswx4l'
9851
+ }], ['rect', {
9852
+ x: '16',
9853
+ y: '12',
9854
+ width: '6',
9855
+ height: '10',
9856
+ rx: '2',
9857
+ key: 'k4sdfk'
9858
+ }]]);
9859
+ var MonitorSmartphone$1 = MonitorSmartphone;
9860
+
9849
9861
  const MonitorSpeaker = createSolidComponent('MonitorSpeaker', [['path', {
9850
9862
  d: 'M5.5 20H8',
9851
9863
  key: '1k40s5'
@@ -15435,6 +15447,7 @@ exports.MinusCircle = MinusCircle$1;
15435
15447
  exports.MinusSquare = MinusSquare$1;
15436
15448
  exports.Monitor = Monitor$1;
15437
15449
  exports.MonitorOff = MonitorOff$1;
15450
+ exports.MonitorSmartphone = MonitorSmartphone$1;
15438
15451
  exports.MonitorSpeaker = MonitorSpeaker$1;
15439
15452
  exports.Moon = Moon$1;
15440
15453
  exports.MoreHorizontal = MoreHorizontal$1;