@driveflux/icons 3.0.0 → 3.0.1

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.
@@ -52,12 +52,22 @@ function _object_spread_props(target, source) {
52
52
  }
53
53
  function _object_without_properties(source, excluded) {
54
54
  if (source == null) return {};
55
- var target = _object_without_properties_loose(source, excluded);
56
- var key, i;
55
+ var target = {}, sourceKeys, key, i;
56
+ if (typeof Reflect !== "undefined" && Reflect.ownKeys) {
57
+ sourceKeys = Reflect.ownKeys(Object(source));
58
+ for(i = 0; i < sourceKeys.length; i++){
59
+ key = sourceKeys[i];
60
+ if (excluded.indexOf(key) >= 0) continue;
61
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
62
+ target[key] = source[key];
63
+ }
64
+ return target;
65
+ }
66
+ target = _object_without_properties_loose(source, excluded);
57
67
  if (Object.getOwnPropertySymbols) {
58
- var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
59
- for(i = 0; i < sourceSymbolKeys.length; i++){
60
- key = sourceSymbolKeys[i];
68
+ sourceKeys = Object.getOwnPropertySymbols(source);
69
+ for(i = 0; i < sourceKeys.length; i++){
70
+ key = sourceKeys[i];
61
71
  if (excluded.indexOf(key) >= 0) continue;
62
72
  if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
63
73
  target[key] = source[key];
@@ -67,20 +77,19 @@ function _object_without_properties(source, excluded) {
67
77
  }
68
78
  function _object_without_properties_loose(source, excluded) {
69
79
  if (source == null) return {};
70
- var target = {};
71
- var sourceKeys = Object.keys(source);
72
- var key, i;
80
+ var target = {}, sourceKeys = Object.getOwnPropertyNames(source), key, i;
73
81
  for(i = 0; i < sourceKeys.length; i++){
74
82
  key = sourceKeys[i];
75
83
  if (excluded.indexOf(key) >= 0) continue;
84
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
76
85
  target[key] = source[key];
77
86
  }
78
87
  return target;
79
88
  }
80
89
  import { jsx as _jsx } from "react/jsx-runtime";
81
90
  import { Icon } from '@chakra-ui/icons';
82
- var IconWrapper = function(_param) {
83
- var size = _param.size, element = _param.element, fill = _param.fill, color = _param.color, h = _param.h, props = _object_without_properties(_param, [
91
+ var IconWrapper = function IconWrapper(_0) {
92
+ var size = _0.size, element = _0.element, fill = _0.fill, color = _0.color, h = _0.h, props = _object_without_properties(_0, [
84
93
  "size",
85
94
  "element",
86
95
  "fill",
@@ -28,12 +28,22 @@ function _object_spread(target) {
28
28
  }
29
29
  function _object_without_properties(source, excluded) {
30
30
  if (source == null) return {};
31
- var target = _object_without_properties_loose(source, excluded);
32
- var key, i;
31
+ var target = {}, sourceKeys, key, i;
32
+ if (typeof Reflect !== "undefined" && Reflect.ownKeys) {
33
+ sourceKeys = Reflect.ownKeys(Object(source));
34
+ for(i = 0; i < sourceKeys.length; i++){
35
+ key = sourceKeys[i];
36
+ if (excluded.indexOf(key) >= 0) continue;
37
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
38
+ target[key] = source[key];
39
+ }
40
+ return target;
41
+ }
42
+ target = _object_without_properties_loose(source, excluded);
33
43
  if (Object.getOwnPropertySymbols) {
34
- var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
35
- for(i = 0; i < sourceSymbolKeys.length; i++){
36
- key = sourceSymbolKeys[i];
44
+ sourceKeys = Object.getOwnPropertySymbols(source);
45
+ for(i = 0; i < sourceKeys.length; i++){
46
+ key = sourceKeys[i];
37
47
  if (excluded.indexOf(key) >= 0) continue;
38
48
  if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
39
49
  target[key] = source[key];
@@ -43,12 +53,11 @@ function _object_without_properties(source, excluded) {
43
53
  }
44
54
  function _object_without_properties_loose(source, excluded) {
45
55
  if (source == null) return {};
46
- var target = {};
47
- var sourceKeys = Object.keys(source);
48
- var key, i;
56
+ var target = {}, sourceKeys = Object.getOwnPropertyNames(source), key, i;
49
57
  for(i = 0; i < sourceKeys.length; i++){
50
58
  key = sourceKeys[i];
51
59
  if (excluded.indexOf(key) >= 0) continue;
60
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
52
61
  target[key] = source[key];
53
62
  }
54
63
  return target;
@@ -62,8 +71,8 @@ var variants = {
62
71
  fill: "currentColor"
63
72
  })
64
73
  };
65
- var IconClose = function(_param) {
66
- var _param_viewBox = _param.viewBox, viewBox = _param_viewBox === void 0 ? '0 0 16 16' : _param_viewBox, _param_variant = _param.variant, variant = _param_variant === void 0 ? 'default' : _param_variant, props = _object_without_properties(_param, [
74
+ var IconClose = function IconClose(_0) {
75
+ var _0_viewBox = _0.viewBox, viewBox = _0_viewBox === void 0 ? '0 0 16 16' : _0_viewBox, _0_variant = _0.variant, variant = _0_variant === void 0 ? 'default' : _0_variant, props = _object_without_properties(_0, [
67
76
  "viewBox",
68
77
  "variant"
69
78
  ]);
@@ -28,12 +28,22 @@ function _object_spread(target) {
28
28
  }
29
29
  function _object_without_properties(source, excluded) {
30
30
  if (source == null) return {};
31
- var target = _object_without_properties_loose(source, excluded);
32
- var key, i;
31
+ var target = {}, sourceKeys, key, i;
32
+ if (typeof Reflect !== "undefined" && Reflect.ownKeys) {
33
+ sourceKeys = Reflect.ownKeys(Object(source));
34
+ for(i = 0; i < sourceKeys.length; i++){
35
+ key = sourceKeys[i];
36
+ if (excluded.indexOf(key) >= 0) continue;
37
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
38
+ target[key] = source[key];
39
+ }
40
+ return target;
41
+ }
42
+ target = _object_without_properties_loose(source, excluded);
33
43
  if (Object.getOwnPropertySymbols) {
34
- var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
35
- for(i = 0; i < sourceSymbolKeys.length; i++){
36
- key = sourceSymbolKeys[i];
44
+ sourceKeys = Object.getOwnPropertySymbols(source);
45
+ for(i = 0; i < sourceKeys.length; i++){
46
+ key = sourceKeys[i];
37
47
  if (excluded.indexOf(key) >= 0) continue;
38
48
  if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
39
49
  target[key] = source[key];
@@ -43,12 +53,11 @@ function _object_without_properties(source, excluded) {
43
53
  }
44
54
  function _object_without_properties_loose(source, excluded) {
45
55
  if (source == null) return {};
46
- var target = {};
47
- var sourceKeys = Object.keys(source);
48
- var key, i;
56
+ var target = {}, sourceKeys = Object.getOwnPropertyNames(source), key, i;
49
57
  for(i = 0; i < sourceKeys.length; i++){
50
58
  key = sourceKeys[i];
51
59
  if (excluded.indexOf(key) >= 0) continue;
60
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
52
61
  target[key] = source[key];
53
62
  }
54
63
  return target;
@@ -95,8 +104,8 @@ var variants = {
95
104
  })
96
105
  })
97
106
  };
98
- var IconQuotations = function(_param) {
99
- var _param_viewBox = _param.viewBox, viewBox = _param_viewBox === void 0 ? '0 0 32 32' : _param_viewBox, _param_variant = _param.variant, variant = _param_variant === void 0 ? 'outline' : _param_variant, props = _object_without_properties(_param, [
107
+ var IconQuotations = function IconQuotations(_0) {
108
+ var _0_viewBox = _0.viewBox, viewBox = _0_viewBox === void 0 ? '0 0 32 32' : _0_viewBox, _0_variant = _0.variant, variant = _0_variant === void 0 ? 'outline' : _0_variant, props = _object_without_properties(_0, [
100
109
  "viewBox",
101
110
  "variant"
102
111
  ]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@driveflux/icons",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -19,14 +19,14 @@
19
19
  "@chakra-ui/icons": "^2.2.4"
20
20
  },
21
21
  "devDependencies": {
22
- "@driveflux/fab": "4.0.0",
23
- "@driveflux/tsconfig": "3.0.0",
24
- "@swc/cli": "^0.7.8",
25
- "@swc/core": "^1.13.5",
26
- "@types/node": "^24.9.1",
27
- "@types/react": "19.2.2",
22
+ "@driveflux/fab": "4.0.1",
23
+ "@driveflux/tsconfig": "3.0.1",
24
+ "@swc/cli": "^0.8.1",
25
+ "@swc/core": "^1.15.33",
26
+ "@types/node": "^25.7.0",
27
+ "@types/react": "19.2.14",
28
28
  "del-cli": "^7.0.0",
29
- "typescript": "^5.9.3"
29
+ "typescript": "^6.0.3"
30
30
  },
31
31
  "scripts": {
32
32
  "build": "fab",