@skbkontur/icons 1.13.0 → 1.14.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/CHANGELOG.md +22 -0
- package/FlashlightIcon.d.ts +1 -0
- package/FlashlightIcon.js +4 -0
- package/FlashlightIcon16Light.d.ts +1 -0
- package/FlashlightIcon16Light.js +4 -0
- package/FlashlightIcon16Regular.d.ts +1 -0
- package/FlashlightIcon16Regular.js +4 -0
- package/FlashlightIcon16Solid.d.ts +1 -0
- package/FlashlightIcon16Solid.js +4 -0
- package/FlashlightIcon20Light.d.ts +1 -0
- package/FlashlightIcon20Light.js +4 -0
- package/FlashlightIcon20Regular.d.ts +1 -0
- package/FlashlightIcon20Regular.js +4 -0
- package/FlashlightIcon20Solid.d.ts +1 -0
- package/FlashlightIcon20Solid.js +4 -0
- package/FlashlightIcon24Regular.d.ts +1 -0
- package/FlashlightIcon24Regular.js +4 -0
- package/FlashlightIcon24Solid.d.ts +1 -0
- package/FlashlightIcon24Solid.js +4 -0
- package/FlashlightIcon32Regular.d.ts +1 -0
- package/FlashlightIcon32Regular.js +4 -0
- package/FlashlightIcon64Regular.d.ts +1 -0
- package/FlashlightIcon64Regular.js +4 -0
- package/FlashlightOffIcon.d.ts +1 -0
- package/FlashlightOffIcon.js +4 -0
- package/FlashlightOffIcon16Light.d.ts +1 -0
- package/FlashlightOffIcon16Light.js +4 -0
- package/FlashlightOffIcon16Regular.d.ts +1 -0
- package/FlashlightOffIcon16Regular.js +4 -0
- package/FlashlightOffIcon16Solid.d.ts +1 -0
- package/FlashlightOffIcon16Solid.js +4 -0
- package/FlashlightOffIcon20Light.d.ts +1 -0
- package/FlashlightOffIcon20Light.js +4 -0
- package/FlashlightOffIcon20Regular.d.ts +1 -0
- package/FlashlightOffIcon20Regular.js +4 -0
- package/FlashlightOffIcon20Solid.d.ts +1 -0
- package/FlashlightOffIcon20Solid.js +4 -0
- package/FlashlightOffIcon24Regular.d.ts +1 -0
- package/FlashlightOffIcon24Regular.js +4 -0
- package/FlashlightOffIcon24Solid.d.ts +1 -0
- package/FlashlightOffIcon24Solid.js +4 -0
- package/FlashlightOffIcon32Regular.d.ts +1 -0
- package/FlashlightOffIcon32Regular.js +4 -0
- package/FlashlightOffIcon64Regular.d.ts +1 -0
- package/FlashlightOffIcon64Regular.js +4 -0
- package/UiCompareIcon.d.ts +1 -0
- package/UiCompareIcon.js +4 -0
- package/UiCompareIcon16Light.d.ts +1 -0
- package/UiCompareIcon16Light.js +4 -0
- package/UiCompareIcon16Regular.d.ts +1 -0
- package/UiCompareIcon16Regular.js +4 -0
- package/UiCompareIcon16Solid.d.ts +1 -0
- package/UiCompareIcon16Solid.js +4 -0
- package/UiCompareIcon20Light.d.ts +1 -0
- package/UiCompareIcon20Light.js +4 -0
- package/UiCompareIcon20Regular.d.ts +1 -0
- package/UiCompareIcon20Regular.js +4 -0
- package/UiCompareIcon20Solid.d.ts +1 -0
- package/UiCompareIcon20Solid.js +4 -0
- package/UiCompareIcon24Regular.d.ts +1 -0
- package/UiCompareIcon24Regular.js +4 -0
- package/UiCompareIcon24Solid.d.ts +1 -0
- package/UiCompareIcon24Solid.js +4 -0
- package/UiCompareIcon32Regular.d.ts +1 -0
- package/UiCompareIcon32Regular.js +4 -0
- package/UiCompareIcon64Regular.d.ts +1 -0
- package/UiCompareIcon64Regular.js +4 -0
- package/esm/FlashlightIcon.d.ts +1 -0
- package/esm/FlashlightIcon.js +1 -0
- package/esm/FlashlightIcon16Light.d.ts +1 -0
- package/esm/FlashlightIcon16Light.js +1 -0
- package/esm/FlashlightIcon16Regular.d.ts +1 -0
- package/esm/FlashlightIcon16Regular.js +1 -0
- package/esm/FlashlightIcon16Solid.d.ts +1 -0
- package/esm/FlashlightIcon16Solid.js +1 -0
- package/esm/FlashlightIcon20Light.d.ts +1 -0
- package/esm/FlashlightIcon20Light.js +1 -0
- package/esm/FlashlightIcon20Regular.d.ts +1 -0
- package/esm/FlashlightIcon20Regular.js +1 -0
- package/esm/FlashlightIcon20Solid.d.ts +1 -0
- package/esm/FlashlightIcon20Solid.js +1 -0
- package/esm/FlashlightIcon24Regular.d.ts +1 -0
- package/esm/FlashlightIcon24Regular.js +1 -0
- package/esm/FlashlightIcon24Solid.d.ts +1 -0
- package/esm/FlashlightIcon24Solid.js +1 -0
- package/esm/FlashlightIcon32Regular.d.ts +1 -0
- package/esm/FlashlightIcon32Regular.js +1 -0
- package/esm/FlashlightIcon64Regular.d.ts +1 -0
- package/esm/FlashlightIcon64Regular.js +1 -0
- package/esm/FlashlightOffIcon.d.ts +1 -0
- package/esm/FlashlightOffIcon.js +1 -0
- package/esm/FlashlightOffIcon16Light.d.ts +1 -0
- package/esm/FlashlightOffIcon16Light.js +1 -0
- package/esm/FlashlightOffIcon16Regular.d.ts +1 -0
- package/esm/FlashlightOffIcon16Regular.js +1 -0
- package/esm/FlashlightOffIcon16Solid.d.ts +1 -0
- package/esm/FlashlightOffIcon16Solid.js +1 -0
- package/esm/FlashlightOffIcon20Light.d.ts +1 -0
- package/esm/FlashlightOffIcon20Light.js +1 -0
- package/esm/FlashlightOffIcon20Regular.d.ts +1 -0
- package/esm/FlashlightOffIcon20Regular.js +1 -0
- package/esm/FlashlightOffIcon20Solid.d.ts +1 -0
- package/esm/FlashlightOffIcon20Solid.js +1 -0
- package/esm/FlashlightOffIcon24Regular.d.ts +1 -0
- package/esm/FlashlightOffIcon24Regular.js +1 -0
- package/esm/FlashlightOffIcon24Solid.d.ts +1 -0
- package/esm/FlashlightOffIcon24Solid.js +1 -0
- package/esm/FlashlightOffIcon32Regular.d.ts +1 -0
- package/esm/FlashlightOffIcon32Regular.js +1 -0
- package/esm/FlashlightOffIcon64Regular.d.ts +1 -0
- package/esm/FlashlightOffIcon64Regular.js +1 -0
- package/esm/UiCompareIcon.d.ts +1 -0
- package/esm/UiCompareIcon.js +1 -0
- package/esm/UiCompareIcon16Light.d.ts +1 -0
- package/esm/UiCompareIcon16Light.js +1 -0
- package/esm/UiCompareIcon16Regular.d.ts +1 -0
- package/esm/UiCompareIcon16Regular.js +1 -0
- package/esm/UiCompareIcon16Solid.d.ts +1 -0
- package/esm/UiCompareIcon16Solid.js +1 -0
- package/esm/UiCompareIcon20Light.d.ts +1 -0
- package/esm/UiCompareIcon20Light.js +1 -0
- package/esm/UiCompareIcon20Regular.d.ts +1 -0
- package/esm/UiCompareIcon20Regular.js +1 -0
- package/esm/UiCompareIcon20Solid.d.ts +1 -0
- package/esm/UiCompareIcon20Solid.js +1 -0
- package/esm/UiCompareIcon24Regular.d.ts +1 -0
- package/esm/UiCompareIcon24Regular.js +1 -0
- package/esm/UiCompareIcon24Solid.d.ts +1 -0
- package/esm/UiCompareIcon24Solid.js +1 -0
- package/esm/UiCompareIcon32Regular.d.ts +1 -0
- package/esm/UiCompareIcon32Regular.js +1 -0
- package/esm/UiCompareIcon64Regular.d.ts +1 -0
- package/esm/UiCompareIcon64Regular.js +1 -0
- package/esm/icons/BuildingOfficeIcon/BuildingOfficeIcon20Light.js +10 -8
- package/esm/icons/FlashlightIcon/FlashlightIcon.d.ts +2 -0
- package/esm/icons/FlashlightIcon/FlashlightIcon.js +41 -0
- package/esm/icons/FlashlightIcon/FlashlightIcon16Light.d.ts +2 -0
- package/esm/icons/FlashlightIcon/FlashlightIcon16Light.js +11 -0
- package/esm/icons/FlashlightIcon/FlashlightIcon16Regular.d.ts +2 -0
- package/esm/icons/FlashlightIcon/FlashlightIcon16Regular.js +11 -0
- package/esm/icons/FlashlightIcon/FlashlightIcon16Solid.d.ts +2 -0
- package/esm/icons/FlashlightIcon/FlashlightIcon16Solid.js +11 -0
- package/esm/icons/FlashlightIcon/FlashlightIcon20Light.d.ts +2 -0
- package/esm/icons/FlashlightIcon/FlashlightIcon20Light.js +11 -0
- package/esm/icons/FlashlightIcon/FlashlightIcon20Regular.d.ts +2 -0
- package/esm/icons/FlashlightIcon/FlashlightIcon20Regular.js +11 -0
- package/esm/icons/FlashlightIcon/FlashlightIcon20Solid.d.ts +2 -0
- package/esm/icons/FlashlightIcon/FlashlightIcon20Solid.js +11 -0
- package/esm/icons/FlashlightIcon/FlashlightIcon24Regular.d.ts +2 -0
- package/esm/icons/FlashlightIcon/FlashlightIcon24Regular.js +11 -0
- package/esm/icons/FlashlightIcon/FlashlightIcon24Solid.d.ts +2 -0
- package/esm/icons/FlashlightIcon/FlashlightIcon24Solid.js +11 -0
- package/esm/icons/FlashlightIcon/FlashlightIcon32Regular.d.ts +2 -0
- package/esm/icons/FlashlightIcon/FlashlightIcon32Regular.js +11 -0
- package/esm/icons/FlashlightIcon/FlashlightIcon64Regular.d.ts +2 -0
- package/esm/icons/FlashlightIcon/FlashlightIcon64Regular.js +11 -0
- package/esm/icons/FlashlightIcon/index.d.ts +11 -0
- package/esm/icons/FlashlightIcon/index.js +11 -0
- package/esm/icons/FlashlightOffIcon/FlashlightOffIcon.d.ts +2 -0
- package/esm/icons/FlashlightOffIcon/FlashlightOffIcon.js +41 -0
- package/esm/icons/FlashlightOffIcon/FlashlightOffIcon16Light.d.ts +2 -0
- package/esm/icons/FlashlightOffIcon/FlashlightOffIcon16Light.js +11 -0
- package/esm/icons/FlashlightOffIcon/FlashlightOffIcon16Regular.d.ts +2 -0
- package/esm/icons/FlashlightOffIcon/FlashlightOffIcon16Regular.js +11 -0
- package/esm/icons/FlashlightOffIcon/FlashlightOffIcon16Solid.d.ts +2 -0
- package/esm/icons/FlashlightOffIcon/FlashlightOffIcon16Solid.js +12 -0
- package/esm/icons/FlashlightOffIcon/FlashlightOffIcon20Light.d.ts +2 -0
- package/esm/icons/FlashlightOffIcon/FlashlightOffIcon20Light.js +11 -0
- package/esm/icons/FlashlightOffIcon/FlashlightOffIcon20Regular.d.ts +2 -0
- package/esm/icons/FlashlightOffIcon/FlashlightOffIcon20Regular.js +11 -0
- package/esm/icons/FlashlightOffIcon/FlashlightOffIcon20Solid.d.ts +2 -0
- package/esm/icons/FlashlightOffIcon/FlashlightOffIcon20Solid.js +12 -0
- package/esm/icons/FlashlightOffIcon/FlashlightOffIcon24Regular.d.ts +2 -0
- package/esm/icons/FlashlightOffIcon/FlashlightOffIcon24Regular.js +11 -0
- package/esm/icons/FlashlightOffIcon/FlashlightOffIcon24Solid.d.ts +2 -0
- package/esm/icons/FlashlightOffIcon/FlashlightOffIcon24Solid.js +12 -0
- package/esm/icons/FlashlightOffIcon/FlashlightOffIcon32Regular.d.ts +2 -0
- package/esm/icons/FlashlightOffIcon/FlashlightOffIcon32Regular.js +11 -0
- package/esm/icons/FlashlightOffIcon/FlashlightOffIcon64Regular.d.ts +2 -0
- package/esm/icons/FlashlightOffIcon/FlashlightOffIcon64Regular.js +11 -0
- package/esm/icons/FlashlightOffIcon/index.d.ts +11 -0
- package/esm/icons/FlashlightOffIcon/index.js +11 -0
- package/esm/icons/UiCompareIcon/UiCompareIcon.d.ts +2 -0
- package/esm/icons/UiCompareIcon/UiCompareIcon.js +41 -0
- package/esm/icons/UiCompareIcon/UiCompareIcon16Light.d.ts +2 -0
- package/esm/icons/UiCompareIcon/UiCompareIcon16Light.js +13 -0
- package/esm/icons/UiCompareIcon/UiCompareIcon16Regular.d.ts +2 -0
- package/esm/icons/UiCompareIcon/UiCompareIcon16Regular.js +13 -0
- package/esm/icons/UiCompareIcon/UiCompareIcon16Solid.d.ts +2 -0
- package/esm/icons/UiCompareIcon/UiCompareIcon16Solid.js +13 -0
- package/esm/icons/UiCompareIcon/UiCompareIcon20Light.d.ts +2 -0
- package/esm/icons/UiCompareIcon/UiCompareIcon20Light.js +13 -0
- package/esm/icons/UiCompareIcon/UiCompareIcon20Regular.d.ts +2 -0
- package/esm/icons/UiCompareIcon/UiCompareIcon20Regular.js +13 -0
- package/esm/icons/UiCompareIcon/UiCompareIcon20Solid.d.ts +2 -0
- package/esm/icons/UiCompareIcon/UiCompareIcon20Solid.js +13 -0
- package/esm/icons/UiCompareIcon/UiCompareIcon24Regular.d.ts +2 -0
- package/esm/icons/UiCompareIcon/UiCompareIcon24Regular.js +13 -0
- package/esm/icons/UiCompareIcon/UiCompareIcon24Solid.d.ts +2 -0
- package/esm/icons/UiCompareIcon/UiCompareIcon24Solid.js +13 -0
- package/esm/icons/UiCompareIcon/UiCompareIcon32Regular.d.ts +2 -0
- package/esm/icons/UiCompareIcon/UiCompareIcon32Regular.js +13 -0
- package/esm/icons/UiCompareIcon/UiCompareIcon64Regular.d.ts +2 -0
- package/esm/icons/UiCompareIcon/UiCompareIcon64Regular.js +13 -0
- package/esm/icons/UiCompareIcon/index.d.ts +11 -0
- package/esm/icons/UiCompareIcon/index.js +11 -0
- package/esm/icons/index.d.ts +3 -0
- package/esm/icons/index.js +3 -0
- package/esm/internal/injectCss.js +9 -13
- package/icons/BuildingOfficeIcon/BuildingOfficeIcon20Light.js +10 -8
- package/icons/FlashlightIcon/FlashlightIcon.d.ts +2 -0
- package/icons/FlashlightIcon/FlashlightIcon.js +44 -0
- package/icons/FlashlightIcon/FlashlightIcon16Light.d.ts +2 -0
- package/icons/FlashlightIcon/FlashlightIcon16Light.js +14 -0
- package/icons/FlashlightIcon/FlashlightIcon16Regular.d.ts +2 -0
- package/icons/FlashlightIcon/FlashlightIcon16Regular.js +14 -0
- package/icons/FlashlightIcon/FlashlightIcon16Solid.d.ts +2 -0
- package/icons/FlashlightIcon/FlashlightIcon16Solid.js +14 -0
- package/icons/FlashlightIcon/FlashlightIcon20Light.d.ts +2 -0
- package/icons/FlashlightIcon/FlashlightIcon20Light.js +14 -0
- package/icons/FlashlightIcon/FlashlightIcon20Regular.d.ts +2 -0
- package/icons/FlashlightIcon/FlashlightIcon20Regular.js +14 -0
- package/icons/FlashlightIcon/FlashlightIcon20Solid.d.ts +2 -0
- package/icons/FlashlightIcon/FlashlightIcon20Solid.js +14 -0
- package/icons/FlashlightIcon/FlashlightIcon24Regular.d.ts +2 -0
- package/icons/FlashlightIcon/FlashlightIcon24Regular.js +14 -0
- package/icons/FlashlightIcon/FlashlightIcon24Solid.d.ts +2 -0
- package/icons/FlashlightIcon/FlashlightIcon24Solid.js +14 -0
- package/icons/FlashlightIcon/FlashlightIcon32Regular.d.ts +2 -0
- package/icons/FlashlightIcon/FlashlightIcon32Regular.js +14 -0
- package/icons/FlashlightIcon/FlashlightIcon64Regular.d.ts +2 -0
- package/icons/FlashlightIcon/FlashlightIcon64Regular.js +14 -0
- package/icons/FlashlightIcon/index.d.ts +11 -0
- package/icons/FlashlightIcon/index.js +14 -0
- package/icons/FlashlightOffIcon/FlashlightOffIcon.d.ts +2 -0
- package/icons/FlashlightOffIcon/FlashlightOffIcon.js +44 -0
- package/icons/FlashlightOffIcon/FlashlightOffIcon16Light.d.ts +2 -0
- package/icons/FlashlightOffIcon/FlashlightOffIcon16Light.js +14 -0
- package/icons/FlashlightOffIcon/FlashlightOffIcon16Regular.d.ts +2 -0
- package/icons/FlashlightOffIcon/FlashlightOffIcon16Regular.js +14 -0
- package/icons/FlashlightOffIcon/FlashlightOffIcon16Solid.d.ts +2 -0
- package/icons/FlashlightOffIcon/FlashlightOffIcon16Solid.js +15 -0
- package/icons/FlashlightOffIcon/FlashlightOffIcon20Light.d.ts +2 -0
- package/icons/FlashlightOffIcon/FlashlightOffIcon20Light.js +14 -0
- package/icons/FlashlightOffIcon/FlashlightOffIcon20Regular.d.ts +2 -0
- package/icons/FlashlightOffIcon/FlashlightOffIcon20Regular.js +14 -0
- package/icons/FlashlightOffIcon/FlashlightOffIcon20Solid.d.ts +2 -0
- package/icons/FlashlightOffIcon/FlashlightOffIcon20Solid.js +15 -0
- package/icons/FlashlightOffIcon/FlashlightOffIcon24Regular.d.ts +2 -0
- package/icons/FlashlightOffIcon/FlashlightOffIcon24Regular.js +14 -0
- package/icons/FlashlightOffIcon/FlashlightOffIcon24Solid.d.ts +2 -0
- package/icons/FlashlightOffIcon/FlashlightOffIcon24Solid.js +15 -0
- package/icons/FlashlightOffIcon/FlashlightOffIcon32Regular.d.ts +2 -0
- package/icons/FlashlightOffIcon/FlashlightOffIcon32Regular.js +14 -0
- package/icons/FlashlightOffIcon/FlashlightOffIcon64Regular.d.ts +2 -0
- package/icons/FlashlightOffIcon/FlashlightOffIcon64Regular.js +14 -0
- package/icons/FlashlightOffIcon/index.d.ts +11 -0
- package/icons/FlashlightOffIcon/index.js +14 -0
- package/icons/UiCompareIcon/UiCompareIcon.d.ts +2 -0
- package/icons/UiCompareIcon/UiCompareIcon.js +44 -0
- package/icons/UiCompareIcon/UiCompareIcon16Light.d.ts +2 -0
- package/icons/UiCompareIcon/UiCompareIcon16Light.js +16 -0
- package/icons/UiCompareIcon/UiCompareIcon16Regular.d.ts +2 -0
- package/icons/UiCompareIcon/UiCompareIcon16Regular.js +16 -0
- package/icons/UiCompareIcon/UiCompareIcon16Solid.d.ts +2 -0
- package/icons/UiCompareIcon/UiCompareIcon16Solid.js +16 -0
- package/icons/UiCompareIcon/UiCompareIcon20Light.d.ts +2 -0
- package/icons/UiCompareIcon/UiCompareIcon20Light.js +16 -0
- package/icons/UiCompareIcon/UiCompareIcon20Regular.d.ts +2 -0
- package/icons/UiCompareIcon/UiCompareIcon20Regular.js +16 -0
- package/icons/UiCompareIcon/UiCompareIcon20Solid.d.ts +2 -0
- package/icons/UiCompareIcon/UiCompareIcon20Solid.js +16 -0
- package/icons/UiCompareIcon/UiCompareIcon24Regular.d.ts +2 -0
- package/icons/UiCompareIcon/UiCompareIcon24Regular.js +16 -0
- package/icons/UiCompareIcon/UiCompareIcon24Solid.d.ts +2 -0
- package/icons/UiCompareIcon/UiCompareIcon24Solid.js +16 -0
- package/icons/UiCompareIcon/UiCompareIcon32Regular.d.ts +2 -0
- package/icons/UiCompareIcon/UiCompareIcon32Regular.js +16 -0
- package/icons/UiCompareIcon/UiCompareIcon64Regular.d.ts +2 -0
- package/icons/UiCompareIcon/UiCompareIcon64Regular.js +16 -0
- package/icons/UiCompareIcon/index.d.ts +11 -0
- package/icons/UiCompareIcon/index.js +14 -0
- package/icons/index.d.ts +3 -0
- package/icons/index.js +3 -0
- package/internal/injectCss.js +9 -13
- package/package.json +1 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./UiCompareIcon"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./UiCompareIcon16Light"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./UiCompareIcon16Regular"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./UiCompareIcon16Solid"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./UiCompareIcon20Light"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./UiCompareIcon20Regular"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./UiCompareIcon20Solid"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./UiCompareIcon24Regular"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./UiCompareIcon24Solid"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./UiCompareIcon32Regular"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./UiCompareIcon64Regular"), exports);
|
package/icons/index.d.ts
CHANGED
|
@@ -566,3 +566,6 @@ export * from './MoneyPiggyCoinIcon';
|
|
|
566
566
|
export * from './PercentCircleIcon';
|
|
567
567
|
export * from './PercentIcon';
|
|
568
568
|
export * from './PercentSealIcon';
|
|
569
|
+
export * from './FlashlightIcon';
|
|
570
|
+
export * from './FlashlightOffIcon';
|
|
571
|
+
export * from './UiCompareIcon';
|
package/icons/index.js
CHANGED
|
@@ -573,3 +573,6 @@ tslib_1.__exportStar(require("./MoneyPiggyCoinIcon"), exports);
|
|
|
573
573
|
tslib_1.__exportStar(require("./PercentCircleIcon"), exports);
|
|
574
574
|
tslib_1.__exportStar(require("./PercentIcon"), exports);
|
|
575
575
|
tslib_1.__exportStar(require("./PercentSealIcon"), exports);
|
|
576
|
+
tslib_1.__exportStar(require("./FlashlightIcon"), exports);
|
|
577
|
+
tslib_1.__exportStar(require("./FlashlightOffIcon"), exports);
|
|
578
|
+
tslib_1.__exportStar(require("./UiCompareIcon"), exports);
|
package/internal/injectCss.js
CHANGED
|
@@ -7,12 +7,12 @@ function checkRuleExists(rootNodeStyles, cssText) {
|
|
|
7
7
|
return rootNodeStyles.some(function (cssRules) { return Array.from(cssRules).some(function (r) { return r.cssText === cssText; }); });
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Not attached element can return the root of the DOM tree it belongs to, or itself - HTMLElement, Text, etc
|
|
11
11
|
*/
|
|
12
|
-
function
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
function getSafeRootNode(element) {
|
|
13
|
+
var _a;
|
|
14
|
+
var rootNode = (_a = element.getRootNode) === null || _a === void 0 ? void 0 : _a.call(element);
|
|
15
|
+
return (rootNode instanceof Document || rootNode instanceof ShadowRoot ? rootNode : element.ownerDocument);
|
|
16
16
|
}
|
|
17
17
|
/**
|
|
18
18
|
* Whether the current browser supports `adoptedStyleSheets`.
|
|
@@ -25,17 +25,13 @@ var supportsAdoptingStyleSheets = Boolean(typeof window !== 'undefined' &&
|
|
|
25
25
|
'replace' in CSSStyleSheet.prototype);
|
|
26
26
|
function injectCss(element) {
|
|
27
27
|
var _a;
|
|
28
|
-
var rootNode =
|
|
29
|
-
if (!rootNode) {
|
|
30
|
-
return;
|
|
31
|
-
}
|
|
28
|
+
var rootNode = getSafeRootNode(element);
|
|
32
29
|
if (supportsAdoptingStyleSheets) {
|
|
33
30
|
var currentWindow = element.ownerDocument.defaultView;
|
|
34
31
|
if (!currentWindow) {
|
|
35
32
|
return;
|
|
36
33
|
}
|
|
37
|
-
var
|
|
38
|
-
var rootNodeStyles_1 = typedRootNode.adoptedStyleSheets.map(function (item) { return item.cssRules; });
|
|
34
|
+
var rootNodeStyles_1 = rootNode.adoptedStyleSheets.map(function (item) { return item.cssRules; });
|
|
39
35
|
var cssRulesStyleSheet_1 = new currentWindow.CSSStyleSheet();
|
|
40
36
|
cssRules_1.CSSRules.forEach(function (rule) { return cssRulesStyleSheet_1.insertRule(rule); });
|
|
41
37
|
var filteredStyleSheet_1 = new currentWindow.CSSStyleSheet();
|
|
@@ -46,11 +42,11 @@ function injectCss(element) {
|
|
|
46
42
|
});
|
|
47
43
|
if (filteredStyleSheet_1.cssRules.length > 0) {
|
|
48
44
|
try {
|
|
49
|
-
|
|
45
|
+
rootNode.adoptedStyleSheets.push(filteredStyleSheet_1);
|
|
50
46
|
}
|
|
51
47
|
catch (e) {
|
|
52
48
|
// fix for old chrome https://chromestatus.com/feature/5638996492288000 , but slow performance
|
|
53
|
-
|
|
49
|
+
rootNode.adoptedStyleSheets = tslib_1.__spreadArrays(rootNode.adoptedStyleSheets, [filteredStyleSheet_1]);
|
|
54
50
|
}
|
|
55
51
|
}
|
|
56
52
|
}
|