@next-core/brick-kit 2.122.6 → 2.122.10
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 +32 -0
- package/dist/index.bundle.js +6 -2
- package/dist/index.bundle.js.map +1 -1
- package/dist/index.esm.js +6 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/types/themeAndMode.d.ts.map +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,38 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [2.122.10](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.122.9...@next-core/brick-kit@2.122.10) (2022-07-12)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @next-core/brick-kit
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [2.122.9](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.122.8...@next-core/brick-kit@2.122.9) (2022-07-12)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @next-core/brick-kit
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## [2.122.8](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.122.7...@next-core/brick-kit@2.122.8) (2022-07-12)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @next-core/brick-kit
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
## [2.122.7](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.122.6...@next-core/brick-kit@2.122.7) (2022-07-07)
|
|
31
|
+
|
|
32
|
+
**Note:** Version bump only for package @next-core/brick-kit
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
6
38
|
## [2.122.6](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.122.5...@next-core/brick-kit@2.122.6) (2022-07-05)
|
|
7
39
|
|
|
8
40
|
**Note:** Version bump only for package @next-core/brick-kit
|
package/dist/index.bundle.js
CHANGED
|
@@ -437,8 +437,11 @@
|
|
|
437
437
|
return currentMode;
|
|
438
438
|
}
|
|
439
439
|
function getCssPropertyValue(name) {
|
|
440
|
+
var _window$getComputedSt;
|
|
441
|
+
|
|
440
442
|
var el = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : document.documentElement;
|
|
441
|
-
|
|
443
|
+
if (!el) return "";
|
|
444
|
+
return ((_window$getComputedSt = window.getComputedStyle(el)) === null || _window$getComputedSt === void 0 ? void 0 : _window$getComputedSt.getPropertyValue(name)) || "";
|
|
442
445
|
}
|
|
443
446
|
|
|
444
447
|
function asyncGeneratorStep$3(gen, resolve, reject, _next, _throw, key, arg) {
|
|
@@ -1565,7 +1568,8 @@
|
|
|
1565
1568
|
|
|
1566
1569
|
case "THEME":
|
|
1567
1570
|
return {
|
|
1568
|
-
getTheme: collectCoverage ? () => "light" : getTheme
|
|
1571
|
+
getTheme: collectCoverage ? () => "light" : getTheme,
|
|
1572
|
+
getCssPropertyValue: collectCoverage ? () => "" : getCssPropertyValue
|
|
1569
1573
|
};
|
|
1570
1574
|
|
|
1571
1575
|
case "console":
|