@lotte-innovate/ui-component-test 0.0.138 → 0.0.139
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/lib/components/Datepicker/index.mjs +1 -1
- package/dist/lib/components/Dialog/DialogAction.mjs +1 -1
- package/dist/lib/components/Dialog/DialogCancel.mjs +1 -1
- package/dist/lib/components/Modal/ModalAction.mjs +1 -1
- package/dist/lib/components/Modal/ModalCancel.mjs +1 -1
- package/dist/lib/components/Modal/ModalTitle.mjs +1 -1
- package/dist/lib/components/Tree/index.mjs +2 -0
- package/dist/lib/components/Tree/index.mjs.map +1 -0
- package/dist/lib/components/index.d.ts +1 -0
- package/dist/lib/components/index.js +2 -0
- package/dist/lib/index.mjs +1 -1
- package/dist/lib/node_modules/react-complex-tree/lib/style-modern.mjs +2 -0
- package/dist/lib/node_modules/react-complex-tree/lib/style-modern.mjs.map +1 -0
- package/dist/lib/node_modules/style-inject/dist/style-inject.es.mjs +2 -0
- package/dist/lib/node_modules/style-inject/dist/style-inject.es.mjs.map +1 -0
- package/dist/lib/tsconfig.tsbuildinfo +1 -1
- package/dist/lib/utils/useDarkMode.js +0 -5
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -27,11 +27,6 @@ export var useDarkMode = function (isRAxes) {
|
|
27
27
|
var _b = useState({
|
28
28
|
linescale: {},
|
29
29
|
}), defaultOptions = _b[0], setDefaultOptions = _b[1];
|
30
|
-
function checkDarkMode() {
|
31
|
-
if (!document)
|
32
|
-
return null;
|
33
|
-
return document.body.classList.contains('dark');
|
34
|
-
}
|
35
30
|
useEffect(function () {
|
36
31
|
var _a, _b;
|
37
32
|
setIsDarkMode((_a = document === null || document === void 0 ? void 0 : document.body) === null || _a === void 0 ? void 0 : _a.classList.contains('dark'));
|