lilact 0.26.3 → 0.26.4
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/dist/lilact.development.js +37 -1
- package/dist/lilact.development.js.map +3 -3
- package/dist/lilact.development.min.js +24 -24
- package/dist/lilact.development.min.js.map +3 -3
- package/dist/lilact.production.min.js +22 -22
- package/docs/functions/run.lazy.html +1 -1
- package/docs/functions/run.runScripts.html +1 -1
- package/docs/functions/timers.timeoutPromise.html +7 -7
- package/docs/static/lilact.development.js +37 -1
- package/docs/static/lilact.development.js.map +3 -3
- package/docs/static/lilact.development.min.js +24 -24
- package/docs/static/lilact.development.min.js.map +3 -3
- package/docs/static/lilact.production.min.js +22 -22
- package/examples/lilact.development.js +37 -1
- package/examples/lilact.development.js.map +3 -3
- package/examples/lilact.development.min.js +24 -24
- package/examples/lilact.development.min.js.map +3 -3
- package/examples/lilact.production.min.js +22 -22
- package/package.json +1 -1
- package/src/accessories.jsx +1 -1
- package/src/lilact.jsx +3 -0
- package/src/run.jsx +5 -1
package/package.json
CHANGED
package/src/accessories.jsx
CHANGED
|
@@ -693,7 +693,7 @@ export const SplitPane = forwardRef(function SplitPane(
|
|
|
693
693
|
const computedSplitterStyle = {
|
|
694
694
|
background: "rgba(0,0,0,0.08)",
|
|
695
695
|
boxShadow: "inset 0 0 2px rgba(0,0,0,0.25)",
|
|
696
|
-
zIndex:
|
|
696
|
+
zIndex: 1000000,
|
|
697
697
|
position: "absolute",
|
|
698
698
|
cursor: internalMode === "horizontal" ? "col-resize" : "row-resize",
|
|
699
699
|
touchAction: "none",
|
package/src/lilact.jsx
CHANGED
|
@@ -63,6 +63,7 @@ import * as misc from './misc.jsx';
|
|
|
63
63
|
import * as errors from './errors.jsx';
|
|
64
64
|
import * as router from './router.jsx';
|
|
65
65
|
import * as accessories from './accessories.jsx';
|
|
66
|
+
import * as symbols from './symbols.jsx';
|
|
66
67
|
import {transpileJSX, transpilerConfig} from "./jsx";
|
|
67
68
|
|
|
68
69
|
|
|
@@ -79,6 +80,7 @@ export * from './misc.jsx';
|
|
|
79
80
|
export * from './errors.jsx';
|
|
80
81
|
export * from './router.jsx';
|
|
81
82
|
export * from './accessories.jsx';
|
|
83
|
+
export * from './symbols.jsx';
|
|
82
84
|
export {transpileJSX, transpilerConfig} from "./jsx";
|
|
83
85
|
|
|
84
86
|
|
|
@@ -111,6 +113,7 @@ export const Lilact =
|
|
|
111
113
|
...timers,
|
|
112
114
|
...events,
|
|
113
115
|
...errors,
|
|
116
|
+
...symbols,
|
|
114
117
|
|
|
115
118
|
...router,
|
|
116
119
|
...accessories,
|
package/src/run.jsx
CHANGED
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
import Lilact from './lilact.jsx';
|
|
31
31
|
|
|
32
32
|
import { CORE, COMPONENT, LAZY } from "./symbols.jsx"
|
|
33
|
-
|
|
33
|
+
import { injectGlobal } from "@emotion/css"
|
|
34
34
|
|
|
35
35
|
function joinPaths(basePath, relativePath) {
|
|
36
36
|
const isAbs = relativePath.startsWith("/");
|
|
@@ -186,6 +186,10 @@ export function require(path)
|
|
|
186
186
|
return res.text();
|
|
187
187
|
})
|
|
188
188
|
.then(res => {
|
|
189
|
+
if(path.endsWith(".css")) {
|
|
190
|
+
injectGlobal(res);
|
|
191
|
+
return;
|
|
192
|
+
}
|
|
189
193
|
res = run(res, path, false);
|
|
190
194
|
return res?.default ?? res;
|
|
191
195
|
})
|