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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lilact",
3
- "version": "0.26.3",
3
+ "version": "0.26.4",
4
4
  "description": "A Little React/JSX Runtime Implementation for Browser",
5
5
  "repository": "github:arashkazemi/lilact",
6
6
  "homepage": "https://arashkazemi.github.io/lilact/",
@@ -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: 10,
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
  })