lucide-solid 0.97.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,18 +1,12 @@
1
1
  /**
2
- * lucide-solid v0.97.0 - ISC
2
+ * lucide-solid 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 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
  });
@@ -4855,6 +4848,30 @@ const Drumstick = createSolidComponent('Drumstick', [['path', {
4855
4848
  }]]);
4856
4849
  var Drumstick$1 = Drumstick;
4857
4850
 
4851
+ const Dumbbell = createSolidComponent('Dumbbell', [['path', {
4852
+ d: 'm6.5 6.5 11 11',
4853
+ key: 'f7oqzb'
4854
+ }], ['path', {
4855
+ d: 'm21 21-1-1',
4856
+ key: 'cpc6if'
4857
+ }], ['path', {
4858
+ d: 'm3 3 1 1',
4859
+ key: 'd3rpuf'
4860
+ }], ['path', {
4861
+ d: 'm18 22 4-4',
4862
+ key: '1e32o6'
4863
+ }], ['path', {
4864
+ d: 'm2 6 4-4',
4865
+ key: '189tqz'
4866
+ }], ['path', {
4867
+ d: 'm3 10 7-7',
4868
+ key: '1bxui2'
4869
+ }], ['path', {
4870
+ d: 'm14 21 7-7',
4871
+ key: '16x78n'
4872
+ }]]);
4873
+ var Dumbbell$1 = Dumbbell;
4874
+
4858
4875
  const EarOff = createSolidComponent('EarOff', [['path', {
4859
4876
  d: 'M6 18.5a3.5 3.5 0 1 0 7 0c0-1.57.92-2.52 2.04-3.46',
4860
4877
  key: '1qngmn'
@@ -9822,6 +9839,25 @@ const MonitorOff = createSolidComponent('MonitorOff', [['path', {
9822
9839
  }]]);
9823
9840
  var MonitorOff$1 = MonitorOff;
9824
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
+
9825
9861
  const MonitorSpeaker = createSolidComponent('MonitorSpeaker', [['path', {
9826
9862
  d: 'M5.5 20H8',
9827
9863
  key: '1k40s5'
@@ -15120,6 +15156,7 @@ exports.Dribbble = Dribbble$1;
15120
15156
  exports.Droplet = Droplet$1;
15121
15157
  exports.Droplets = Droplets$1;
15122
15158
  exports.Drumstick = Drumstick$1;
15159
+ exports.Dumbbell = Dumbbell$1;
15123
15160
  exports.Ear = Ear$1;
15124
15161
  exports.EarOff = EarOff$1;
15125
15162
  exports.Edit = Edit$1;
@@ -15410,6 +15447,7 @@ exports.MinusCircle = MinusCircle$1;
15410
15447
  exports.MinusSquare = MinusSquare$1;
15411
15448
  exports.Monitor = Monitor$1;
15412
15449
  exports.MonitorOff = MonitorOff$1;
15450
+ exports.MonitorSmartphone = MonitorSmartphone$1;
15413
15451
  exports.MonitorSpeaker = MonitorSpeaker$1;
15414
15452
  exports.Moon = Moon$1;
15415
15453
  exports.MoreHorizontal = MoreHorizontal$1;