@carbon/icon-helpers 10.61.0-rc.0 → 10.62.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.
- package/es/index.js +7 -5
- package/lib/index.js +7 -7
- package/package.json +3 -3
- package/umd/index.js +7 -7
package/es/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
function _defineProperty(e, r, t) {
|
|
2
2
|
return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
3
3
|
value: t,
|
|
4
|
-
enumerable:
|
|
5
|
-
configurable:
|
|
6
|
-
writable:
|
|
4
|
+
enumerable: true,
|
|
5
|
+
configurable: true,
|
|
6
|
+
writable: true
|
|
7
7
|
}) : e[r] = t, e;
|
|
8
8
|
}
|
|
9
9
|
function ownKeys(e, r) {
|
|
@@ -19,7 +19,7 @@ function ownKeys(e, r) {
|
|
|
19
19
|
function _objectSpread2(e) {
|
|
20
20
|
for (var r = 1; r < arguments.length; r++) {
|
|
21
21
|
var t = null != arguments[r] ? arguments[r] : {};
|
|
22
|
-
r % 2 ? ownKeys(Object(t),
|
|
22
|
+
r % 2 ? ownKeys(Object(t), true).forEach(function (r) {
|
|
23
23
|
_defineProperty(e, r, t[r]);
|
|
24
24
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
|
|
25
25
|
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
|
|
@@ -51,7 +51,7 @@ function _toPrimitive(t, r) {
|
|
|
51
51
|
if ("object" != typeof t || !t) return t;
|
|
52
52
|
var e = t[Symbol.toPrimitive];
|
|
53
53
|
if (void 0 !== e) {
|
|
54
|
-
var i = e.call(t, r
|
|
54
|
+
var i = e.call(t, r);
|
|
55
55
|
if ("object" != typeof i) return i;
|
|
56
56
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
57
57
|
}
|
|
@@ -122,6 +122,7 @@ function getAttributes() {
|
|
|
122
122
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
123
123
|
* LICENSE file in the root directory of this source tree.
|
|
124
124
|
*/
|
|
125
|
+
|
|
125
126
|
/**
|
|
126
127
|
* Convert an icon descriptor to a String
|
|
127
128
|
*/
|
|
@@ -154,6 +155,7 @@ function formatAttributes(attrs) {
|
|
|
154
155
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
155
156
|
* LICENSE file in the root directory of this source tree.
|
|
156
157
|
*/
|
|
158
|
+
|
|
157
159
|
/**
|
|
158
160
|
* Convert an icon descriptor to a DOM node.
|
|
159
161
|
*/
|
package/lib/index.js
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
3
|
function _defineProperty(e, r, t) {
|
|
6
4
|
return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
7
5
|
value: t,
|
|
8
|
-
enumerable:
|
|
9
|
-
configurable:
|
|
10
|
-
writable:
|
|
6
|
+
enumerable: true,
|
|
7
|
+
configurable: true,
|
|
8
|
+
writable: true
|
|
11
9
|
}) : e[r] = t, e;
|
|
12
10
|
}
|
|
13
11
|
function ownKeys(e, r) {
|
|
@@ -23,7 +21,7 @@ function ownKeys(e, r) {
|
|
|
23
21
|
function _objectSpread2(e) {
|
|
24
22
|
for (var r = 1; r < arguments.length; r++) {
|
|
25
23
|
var t = null != arguments[r] ? arguments[r] : {};
|
|
26
|
-
r % 2 ? ownKeys(Object(t),
|
|
24
|
+
r % 2 ? ownKeys(Object(t), true).forEach(function (r) {
|
|
27
25
|
_defineProperty(e, r, t[r]);
|
|
28
26
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
|
|
29
27
|
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
|
|
@@ -55,7 +53,7 @@ function _toPrimitive(t, r) {
|
|
|
55
53
|
if ("object" != typeof t || !t) return t;
|
|
56
54
|
var e = t[Symbol.toPrimitive];
|
|
57
55
|
if (void 0 !== e) {
|
|
58
|
-
var i = e.call(t, r
|
|
56
|
+
var i = e.call(t, r);
|
|
59
57
|
if ("object" != typeof i) return i;
|
|
60
58
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
61
59
|
}
|
|
@@ -126,6 +124,7 @@ function getAttributes() {
|
|
|
126
124
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
127
125
|
* LICENSE file in the root directory of this source tree.
|
|
128
126
|
*/
|
|
127
|
+
|
|
129
128
|
/**
|
|
130
129
|
* Convert an icon descriptor to a String
|
|
131
130
|
*/
|
|
@@ -158,6 +157,7 @@ function formatAttributes(attrs) {
|
|
|
158
157
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
159
158
|
* LICENSE file in the root directory of this source tree.
|
|
160
159
|
*/
|
|
160
|
+
|
|
161
161
|
/**
|
|
162
162
|
* Convert an icon descriptor to a DOM node.
|
|
163
163
|
*/
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carbon/icon-helpers",
|
|
3
3
|
"description": "Helpers used alongside icons for digital and software products using the Carbon Design System",
|
|
4
|
-
"version": "10.
|
|
4
|
+
"version": "10.62.0",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"types": "lib/index.d.ts",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"postinstall": "ibmtelemetry --config=telemetry.yml"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@carbon/cli": "^11.
|
|
40
|
+
"@carbon/cli": "^11.30.0",
|
|
41
41
|
"rimraf": "^6.0.0",
|
|
42
42
|
"typescript-config-carbon": "^0.5.0"
|
|
43
43
|
},
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@ibm/telemetry-js": "^1.5.0"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "cb7123ed19a2c216e5b9774e58c12af68407abd3"
|
|
49
49
|
}
|
package/umd/index.js
CHANGED
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
function _defineProperty(e, r, t) {
|
|
8
8
|
return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
9
9
|
value: t,
|
|
10
|
-
enumerable:
|
|
11
|
-
configurable:
|
|
12
|
-
writable:
|
|
10
|
+
enumerable: true,
|
|
11
|
+
configurable: true,
|
|
12
|
+
writable: true
|
|
13
13
|
}) : e[r] = t, e;
|
|
14
14
|
}
|
|
15
15
|
function ownKeys(e, r) {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
function _objectSpread2(e) {
|
|
26
26
|
for (var r = 1; r < arguments.length; r++) {
|
|
27
27
|
var t = null != arguments[r] ? arguments[r] : {};
|
|
28
|
-
r % 2 ? ownKeys(Object(t),
|
|
28
|
+
r % 2 ? ownKeys(Object(t), true).forEach(function (r) {
|
|
29
29
|
_defineProperty(e, r, t[r]);
|
|
30
30
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
|
|
31
31
|
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
if ("object" != typeof t || !t) return t;
|
|
58
58
|
var e = t[Symbol.toPrimitive];
|
|
59
59
|
if (void 0 !== e) {
|
|
60
|
-
var i = e.call(t, r
|
|
60
|
+
var i = e.call(t, r);
|
|
61
61
|
if ("object" != typeof i) return i;
|
|
62
62
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
63
63
|
}
|
|
@@ -128,6 +128,7 @@
|
|
|
128
128
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
129
129
|
* LICENSE file in the root directory of this source tree.
|
|
130
130
|
*/
|
|
131
|
+
|
|
131
132
|
/**
|
|
132
133
|
* Convert an icon descriptor to a String
|
|
133
134
|
*/
|
|
@@ -160,6 +161,7 @@
|
|
|
160
161
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
161
162
|
* LICENSE file in the root directory of this source tree.
|
|
162
163
|
*/
|
|
164
|
+
|
|
163
165
|
/**
|
|
164
166
|
* Convert an icon descriptor to a DOM node.
|
|
165
167
|
*/
|
|
@@ -187,6 +189,4 @@
|
|
|
187
189
|
exports.toSVG = toSVG;
|
|
188
190
|
exports.toString = toString;
|
|
189
191
|
|
|
190
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
191
|
-
|
|
192
192
|
}));
|