@carbon/icon-helpers 10.19.0 → 10.21.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 +5 -2
- package/lib/index.js +5 -2
- package/package.json +3 -3
- package/umd/index.js +5 -2
package/es/index.js
CHANGED
|
@@ -87,6 +87,9 @@ function _objectWithoutProperties(source, excluded) {
|
|
|
87
87
|
return target;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
+
var _excluded = ["width", "height", "viewBox"],
|
|
91
|
+
_excluded2 = ["tabindex"];
|
|
92
|
+
|
|
90
93
|
/**
|
|
91
94
|
* Copyright IBM Corp. 2018, 2018
|
|
92
95
|
*
|
|
@@ -112,10 +115,10 @@ function getAttributes() {
|
|
|
112
115
|
height = _ref.height,
|
|
113
116
|
_ref$viewBox = _ref.viewBox,
|
|
114
117
|
viewBox = _ref$viewBox === void 0 ? "0 0 ".concat(width, " ").concat(height) : _ref$viewBox,
|
|
115
|
-
attributes = _objectWithoutProperties(_ref,
|
|
118
|
+
attributes = _objectWithoutProperties(_ref, _excluded);
|
|
116
119
|
|
|
117
120
|
var tabindex = attributes.tabindex,
|
|
118
|
-
rest = _objectWithoutProperties(attributes,
|
|
121
|
+
rest = _objectWithoutProperties(attributes, _excluded2);
|
|
119
122
|
|
|
120
123
|
var iconAttributes = _objectSpread2(_objectSpread2(_objectSpread2({}, defaultAttributes), rest), {}, {
|
|
121
124
|
width: width,
|
package/lib/index.js
CHANGED
|
@@ -91,6 +91,9 @@ function _objectWithoutProperties(source, excluded) {
|
|
|
91
91
|
return target;
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
+
var _excluded = ["width", "height", "viewBox"],
|
|
95
|
+
_excluded2 = ["tabindex"];
|
|
96
|
+
|
|
94
97
|
/**
|
|
95
98
|
* Copyright IBM Corp. 2018, 2018
|
|
96
99
|
*
|
|
@@ -116,10 +119,10 @@ function getAttributes() {
|
|
|
116
119
|
height = _ref.height,
|
|
117
120
|
_ref$viewBox = _ref.viewBox,
|
|
118
121
|
viewBox = _ref$viewBox === void 0 ? "0 0 ".concat(width, " ").concat(height) : _ref$viewBox,
|
|
119
|
-
attributes = _objectWithoutProperties(_ref,
|
|
122
|
+
attributes = _objectWithoutProperties(_ref, _excluded);
|
|
120
123
|
|
|
121
124
|
var tabindex = attributes.tabindex,
|
|
122
|
-
rest = _objectWithoutProperties(attributes,
|
|
125
|
+
rest = _objectWithoutProperties(attributes, _excluded2);
|
|
123
126
|
|
|
124
127
|
var iconAttributes = _objectSpread2(_objectSpread2(_objectSpread2({}, defaultAttributes), rest), {}, {
|
|
125
128
|
width: width,
|
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.21.0",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"module": "es/index.js",
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
"clean": "rimraf es lib umd"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@carbon/cli": "^10.
|
|
36
|
+
"@carbon/cli": "^10.27.0",
|
|
37
37
|
"rimraf": "^3.0.0"
|
|
38
38
|
},
|
|
39
39
|
"sideEffects": false,
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "9c2eb1cfa0e5b2c4dc0142b98cd8828e84640af8"
|
|
41
41
|
}
|
package/umd/index.js
CHANGED
|
@@ -93,6 +93,9 @@
|
|
|
93
93
|
return target;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
+
var _excluded = ["width", "height", "viewBox"],
|
|
97
|
+
_excluded2 = ["tabindex"];
|
|
98
|
+
|
|
96
99
|
/**
|
|
97
100
|
* Copyright IBM Corp. 2018, 2018
|
|
98
101
|
*
|
|
@@ -118,10 +121,10 @@
|
|
|
118
121
|
height = _ref.height,
|
|
119
122
|
_ref$viewBox = _ref.viewBox,
|
|
120
123
|
viewBox = _ref$viewBox === void 0 ? "0 0 ".concat(width, " ").concat(height) : _ref$viewBox,
|
|
121
|
-
attributes = _objectWithoutProperties(_ref,
|
|
124
|
+
attributes = _objectWithoutProperties(_ref, _excluded);
|
|
122
125
|
|
|
123
126
|
var tabindex = attributes.tabindex,
|
|
124
|
-
rest = _objectWithoutProperties(attributes,
|
|
127
|
+
rest = _objectWithoutProperties(attributes, _excluded2);
|
|
125
128
|
|
|
126
129
|
var iconAttributes = _objectSpread2(_objectSpread2(_objectSpread2({}, defaultAttributes), rest), {}, {
|
|
127
130
|
width: width,
|