@steroidsjs/bootstrap 3.0.0-beta.24 → 3.0.0-beta.26
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/icons/index.d.ts +1 -1
- package/icons/index.js +13 -2
- package/package.json +1 -1
- package/scss/fonts.scss +1 -1
package/icons/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: () => {};
|
|
1
|
+
declare const _default: (customIcons: Record<string, any>) => {};
|
|
2
2
|
export default _default;
|
package/icons/index.js
CHANGED
|
@@ -1,4 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
2
13
|
exports.__esModule = true;
|
|
3
14
|
/* eslint-disable import/no-dynamic-require */
|
|
4
15
|
var groupedIcons = {
|
|
@@ -221,7 +232,7 @@ var groupedIcons = {
|
|
|
221
232
|
'yin-yang',
|
|
222
233
|
]
|
|
223
234
|
};
|
|
224
|
-
exports["default"] = (function () {
|
|
235
|
+
exports["default"] = (function (customIcons) {
|
|
225
236
|
// All icons
|
|
226
237
|
var icons = {};
|
|
227
238
|
Object.keys(groupedIcons).forEach(function (group) {
|
|
@@ -260,5 +271,5 @@ exports["default"] = (function () {
|
|
|
260
271
|
Object.keys(coreIconsMap).forEach(function (name) {
|
|
261
272
|
icons[name] = icons[coreIconsMap[name]];
|
|
262
273
|
});
|
|
263
|
-
return icons;
|
|
274
|
+
return __assign(__assign({}, icons), customIcons);
|
|
264
275
|
});
|
package/package.json
CHANGED
package/scss/fonts.scss
CHANGED