@driveflux/icons 3.0.2 → 3.0.3
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.
- package/dist/IconWrapper.js +108 -1
- package/dist/icons/IconClose.js +81 -3
- package/dist/icons/IconQuotations.js +114 -5
- package/dist/types.js +2 -1
- package/package.json +3 -3
package/dist/IconWrapper.js
CHANGED
|
@@ -1,4 +1,111 @@
|
|
|
1
|
+
function _define_property(obj, key, value) {
|
|
2
|
+
if (key in obj) {
|
|
3
|
+
Object.defineProperty(obj, key, {
|
|
4
|
+
value: value,
|
|
5
|
+
enumerable: true,
|
|
6
|
+
configurable: true,
|
|
7
|
+
writable: true
|
|
8
|
+
});
|
|
9
|
+
} else {
|
|
10
|
+
obj[key] = value;
|
|
11
|
+
}
|
|
12
|
+
return obj;
|
|
13
|
+
}
|
|
14
|
+
function _object_spread(target) {
|
|
15
|
+
for(var i = 1; i < arguments.length; i++){
|
|
16
|
+
var source = arguments[i] != null ? arguments[i] : {};
|
|
17
|
+
var ownKeys = Object.keys(source);
|
|
18
|
+
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
19
|
+
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
20
|
+
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
21
|
+
}));
|
|
22
|
+
}
|
|
23
|
+
ownKeys.forEach(function(key) {
|
|
24
|
+
_define_property(target, key, source[key]);
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
return target;
|
|
28
|
+
}
|
|
29
|
+
function ownKeys(object, enumerableOnly) {
|
|
30
|
+
var keys = Object.keys(object);
|
|
31
|
+
if (Object.getOwnPropertySymbols) {
|
|
32
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
33
|
+
if (enumerableOnly) {
|
|
34
|
+
symbols = symbols.filter(function(sym) {
|
|
35
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
keys.push.apply(keys, symbols);
|
|
39
|
+
}
|
|
40
|
+
return keys;
|
|
41
|
+
}
|
|
42
|
+
function _object_spread_props(target, source) {
|
|
43
|
+
source = source != null ? source : {};
|
|
44
|
+
if (Object.getOwnPropertyDescriptors) {
|
|
45
|
+
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
46
|
+
} else {
|
|
47
|
+
ownKeys(Object(source)).forEach(function(key) {
|
|
48
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
return target;
|
|
52
|
+
}
|
|
53
|
+
function _object_without_properties(source, excluded) {
|
|
54
|
+
if (source == null) return {};
|
|
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);
|
|
67
|
+
if (Object.getOwnPropertySymbols) {
|
|
68
|
+
sourceKeys = Object.getOwnPropertySymbols(source);
|
|
69
|
+
for(i = 0; i < sourceKeys.length; i++){
|
|
70
|
+
key = sourceKeys[i];
|
|
71
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
72
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
73
|
+
target[key] = source[key];
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
return target;
|
|
77
|
+
}
|
|
78
|
+
function _object_without_properties_loose(source, excluded) {
|
|
79
|
+
if (source == null) return {};
|
|
80
|
+
var target = {}, sourceKeys = Object.getOwnPropertyNames(source), key, i;
|
|
81
|
+
for(i = 0; i < sourceKeys.length; i++){
|
|
82
|
+
key = sourceKeys[i];
|
|
83
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
84
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
85
|
+
target[key] = source[key];
|
|
86
|
+
}
|
|
87
|
+
return target;
|
|
88
|
+
}
|
|
1
89
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
90
|
import { Icon } from '@chakra-ui/icons';
|
|
3
|
-
|
|
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, [
|
|
93
|
+
"size",
|
|
94
|
+
"element",
|
|
95
|
+
"fill",
|
|
96
|
+
"color",
|
|
97
|
+
"h"
|
|
98
|
+
]);
|
|
99
|
+
return /*#__PURE__*/ _jsx(Icon, _object_spread_props(_object_spread({
|
|
100
|
+
border: 0,
|
|
101
|
+
color: fill || color,
|
|
102
|
+
fill: fill || 'currentColor',
|
|
103
|
+
h: h
|
|
104
|
+
}, size && {
|
|
105
|
+
w: size,
|
|
106
|
+
h: size
|
|
107
|
+
}, props), {
|
|
108
|
+
children: element
|
|
109
|
+
}));
|
|
110
|
+
};
|
|
4
111
|
export default IconWrapper;
|
package/dist/icons/IconClose.js
CHANGED
|
@@ -1,8 +1,86 @@
|
|
|
1
|
+
function _define_property(obj, key, value) {
|
|
2
|
+
if (key in obj) {
|
|
3
|
+
Object.defineProperty(obj, key, {
|
|
4
|
+
value: value,
|
|
5
|
+
enumerable: true,
|
|
6
|
+
configurable: true,
|
|
7
|
+
writable: true
|
|
8
|
+
});
|
|
9
|
+
} else {
|
|
10
|
+
obj[key] = value;
|
|
11
|
+
}
|
|
12
|
+
return obj;
|
|
13
|
+
}
|
|
14
|
+
function _object_spread(target) {
|
|
15
|
+
for(var i = 1; i < arguments.length; i++){
|
|
16
|
+
var source = arguments[i] != null ? arguments[i] : {};
|
|
17
|
+
var ownKeys = Object.keys(source);
|
|
18
|
+
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
19
|
+
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
20
|
+
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
21
|
+
}));
|
|
22
|
+
}
|
|
23
|
+
ownKeys.forEach(function(key) {
|
|
24
|
+
_define_property(target, key, source[key]);
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
return target;
|
|
28
|
+
}
|
|
29
|
+
function _object_without_properties(source, excluded) {
|
|
30
|
+
if (source == null) return {};
|
|
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);
|
|
43
|
+
if (Object.getOwnPropertySymbols) {
|
|
44
|
+
sourceKeys = Object.getOwnPropertySymbols(source);
|
|
45
|
+
for(i = 0; i < sourceKeys.length; i++){
|
|
46
|
+
key = sourceKeys[i];
|
|
47
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
48
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
49
|
+
target[key] = source[key];
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
return target;
|
|
53
|
+
}
|
|
54
|
+
function _object_without_properties_loose(source, excluded) {
|
|
55
|
+
if (source == null) return {};
|
|
56
|
+
var target = {}, sourceKeys = Object.getOwnPropertyNames(source), key, i;
|
|
57
|
+
for(i = 0; i < sourceKeys.length; i++){
|
|
58
|
+
key = sourceKeys[i];
|
|
59
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
60
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
61
|
+
target[key] = source[key];
|
|
62
|
+
}
|
|
63
|
+
return target;
|
|
64
|
+
}
|
|
1
65
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
66
|
import React from 'react';
|
|
3
67
|
import IconWrapper from '../IconWrapper.js';
|
|
4
|
-
|
|
5
|
-
default:
|
|
68
|
+
var variants = {
|
|
69
|
+
default: /*#__PURE__*/ _jsx("path", {
|
|
70
|
+
d: "M3.60938 2.89062L2.89062 3.60938L7.28125 8L2.89062 12.3906L3.60938 13.1094L8 8.71875L12.3906 13.1094L13.1094 12.3906L8.71875 8L13.1094 3.60938L12.3906 2.89062L8 7.28125L3.60938 2.89062Z",
|
|
71
|
+
fill: "currentColor"
|
|
72
|
+
})
|
|
73
|
+
};
|
|
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, [
|
|
76
|
+
"viewBox",
|
|
77
|
+
"variant"
|
|
78
|
+
]);
|
|
79
|
+
return /*#__PURE__*/ _jsx(React.Fragment, {
|
|
80
|
+
children: /*#__PURE__*/ _jsx(IconWrapper, _object_spread({
|
|
81
|
+
viewBox: viewBox,
|
|
82
|
+
element: variants[variant]
|
|
83
|
+
}, props))
|
|
84
|
+
});
|
|
6
85
|
};
|
|
7
|
-
const IconClose = ({ viewBox = '0 0 16 16', variant = 'default', ...props }) => (_jsx(React.Fragment, { children: _jsx(IconWrapper, { viewBox: viewBox, element: variants[variant], ...props }) }));
|
|
8
86
|
export default IconClose;
|
|
@@ -1,8 +1,117 @@
|
|
|
1
|
-
|
|
1
|
+
function _define_property(obj, key, value) {
|
|
2
|
+
if (key in obj) {
|
|
3
|
+
Object.defineProperty(obj, key, {
|
|
4
|
+
value: value,
|
|
5
|
+
enumerable: true,
|
|
6
|
+
configurable: true,
|
|
7
|
+
writable: true
|
|
8
|
+
});
|
|
9
|
+
} else {
|
|
10
|
+
obj[key] = value;
|
|
11
|
+
}
|
|
12
|
+
return obj;
|
|
13
|
+
}
|
|
14
|
+
function _object_spread(target) {
|
|
15
|
+
for(var i = 1; i < arguments.length; i++){
|
|
16
|
+
var source = arguments[i] != null ? arguments[i] : {};
|
|
17
|
+
var ownKeys = Object.keys(source);
|
|
18
|
+
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
19
|
+
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
20
|
+
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
21
|
+
}));
|
|
22
|
+
}
|
|
23
|
+
ownKeys.forEach(function(key) {
|
|
24
|
+
_define_property(target, key, source[key]);
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
return target;
|
|
28
|
+
}
|
|
29
|
+
function _object_without_properties(source, excluded) {
|
|
30
|
+
if (source == null) return {};
|
|
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);
|
|
43
|
+
if (Object.getOwnPropertySymbols) {
|
|
44
|
+
sourceKeys = Object.getOwnPropertySymbols(source);
|
|
45
|
+
for(i = 0; i < sourceKeys.length; i++){
|
|
46
|
+
key = sourceKeys[i];
|
|
47
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
48
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
49
|
+
target[key] = source[key];
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
return target;
|
|
53
|
+
}
|
|
54
|
+
function _object_without_properties_loose(source, excluded) {
|
|
55
|
+
if (source == null) return {};
|
|
56
|
+
var target = {}, sourceKeys = Object.getOwnPropertyNames(source), key, i;
|
|
57
|
+
for(i = 0; i < sourceKeys.length; i++){
|
|
58
|
+
key = sourceKeys[i];
|
|
59
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
60
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
61
|
+
target[key] = source[key];
|
|
62
|
+
}
|
|
63
|
+
return target;
|
|
64
|
+
}
|
|
65
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
66
|
import IconWrapper from '../IconWrapper.js';
|
|
3
|
-
|
|
4
|
-
outline:
|
|
5
|
-
|
|
67
|
+
var variants = {
|
|
68
|
+
outline: /*#__PURE__*/ _jsxs(_Fragment, {
|
|
69
|
+
children: [
|
|
70
|
+
/*#__PURE__*/ _jsx("path", {
|
|
71
|
+
d: "M6 4V28H20L25 23L26 22V4H6ZM18 26H8V6H24V21H18V26ZM20 25.2V23H22.2L20 25.2Z",
|
|
72
|
+
fill: "currentColor"
|
|
73
|
+
}),
|
|
74
|
+
/*#__PURE__*/ _jsx("path", {
|
|
75
|
+
d: "M22 9H10V11H22V9Z",
|
|
76
|
+
fill: "currentColor"
|
|
77
|
+
}),
|
|
78
|
+
/*#__PURE__*/ _jsx("path", {
|
|
79
|
+
d: "M18 13H10V15H18V13Z",
|
|
80
|
+
fill: "currentColor"
|
|
81
|
+
}),
|
|
82
|
+
/*#__PURE__*/ _jsx("path", {
|
|
83
|
+
d: "M18 17H10V19H18V17Z",
|
|
84
|
+
fill: "currentColor"
|
|
85
|
+
}),
|
|
86
|
+
/*#__PURE__*/ _jsx("path", {
|
|
87
|
+
d: "M16 21H10V23H16V21Z",
|
|
88
|
+
fill: "currentColor"
|
|
89
|
+
}),
|
|
90
|
+
/*#__PURE__*/ _jsx("path", {
|
|
91
|
+
d: "M22 13H20V15H22V13Z",
|
|
92
|
+
fill: "currentColor"
|
|
93
|
+
}),
|
|
94
|
+
/*#__PURE__*/ _jsx("path", {
|
|
95
|
+
d: "M22 17H20V19H22V17Z",
|
|
96
|
+
fill: "currentColor"
|
|
97
|
+
})
|
|
98
|
+
]
|
|
99
|
+
}),
|
|
100
|
+
filled: /*#__PURE__*/ _jsx(_Fragment, {
|
|
101
|
+
children: /*#__PURE__*/ _jsx("path", {
|
|
102
|
+
d: "M6 4V28H20L25 23L26 22V4H6ZM16 23H10V21H16V23ZM10 19V17H18V19H10ZM10 15V13H18V15H10ZM22 17V19H20V17H22ZM20 15V13H22V15H20ZM22 11H10V9H22V11ZM20 25.2V23H22.2L20 25.2Z",
|
|
103
|
+
fill: "currentColor"
|
|
104
|
+
})
|
|
105
|
+
})
|
|
106
|
+
};
|
|
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, [
|
|
109
|
+
"viewBox",
|
|
110
|
+
"variant"
|
|
111
|
+
]);
|
|
112
|
+
return /*#__PURE__*/ _jsx(IconWrapper, _object_spread({
|
|
113
|
+
viewBox: viewBox,
|
|
114
|
+
element: variants[variant]
|
|
115
|
+
}, props));
|
|
6
116
|
};
|
|
7
|
-
const IconQuotations = ({ viewBox = '0 0 32 32', variant = 'outline', ...props }) => _jsx(IconWrapper, { viewBox: viewBox, element: variants[variant], ...props });
|
|
8
117
|
export default IconQuotations;
|
package/dist/types.js
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
// TODO F is no longer being used
|
|
2
|
+
export { };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@driveflux/icons",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
"@chakra-ui/icons": "^2.2.4"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@driveflux/fab": "4.0.
|
|
22
|
+
"@driveflux/fab": "4.0.3",
|
|
23
23
|
"@driveflux/tsconfig": "3.0.2",
|
|
24
24
|
"@swc/cli": "^0.8.1",
|
|
25
|
-
"@swc/core": "^1.15.
|
|
25
|
+
"@swc/core": "^1.15.40",
|
|
26
26
|
"@types/node": "^25.9.1",
|
|
27
27
|
"@types/react": "19.2.15",
|
|
28
28
|
"del-cli": "^7.0.0",
|