lilact 0.26.2 → 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.
@@ -1703,6 +1703,23 @@ __export(misc_exports, {
1703
1703
  });
1704
1704
 
1705
1705
  // .tmp/src/symbols.jsx
1706
+ var symbols_exports = {};
1707
+ __export(symbols_exports, {
1708
+ ARGS: () => ARGS,
1709
+ CALLBACK: () => CALLBACK,
1710
+ CHILD_CLASS_ADDENDUM: () => CHILD_CLASS_ADDENDUM,
1711
+ CLEARED: () => CLEARED,
1712
+ COMPONENT: () => COMPONENT,
1713
+ CORE: () => CORE,
1714
+ DUE: () => DUE,
1715
+ IDX: () => IDX,
1716
+ INTERVAL: () => INTERVAL,
1717
+ IS_ZOMBIE: () => IS_ZOMBIE,
1718
+ LAZY: () => LAZY,
1719
+ MEMOIZED: () => MEMOIZED,
1720
+ REPEAT: () => REPEAT,
1721
+ TEXT: () => TEXT2
1722
+ });
1706
1723
  var [
1707
1724
  CORE,
1708
1725
  COMPONENT,
@@ -3597,11 +3614,11 @@ function joinPaths(basePath, relativePath) {
3597
3614
  return (isAbs ? "/" : "") + stack.join("/");
3598
3615
  }
3599
3616
  var required_scripts = {};
3600
- function run(jsx, path = `InlineJSX-${++lilact_default.eval_num}`, is_inline = true) {
3617
+ function run(jsx, path = `InlineJSX-${++lilact_default.eval_num}`, { isInline, isModule } = { isInline: true, isModule: true }) {
3601
3618
  const mappings = [];
3602
3619
  const module = {
3603
3620
  mappings,
3604
- is_inline,
3621
+ isInline,
3605
3622
  path,
3606
3623
  code: jsx,
3607
3624
  exports: {}
@@ -3635,7 +3652,7 @@ function run(jsx, path = `InlineJSX-${++lilact_default.eval_num}`, is_inline = t
3635
3652
  globalThis.createComponent = lilact_default.createComponent;
3636
3653
  globalThis.Fragment = lilact_default.Fragment;
3637
3654
  const res = eval(processed);
3638
- if (module.exports) return module.exports;
3655
+ if (isModule && module.exports) return module.exports;
3639
3656
  return res;
3640
3657
  } catch (e) {
3641
3658
  e = lilact_default.traceError(e);
@@ -3669,6 +3686,10 @@ function require2(path2) {
3669
3686
  return res2.text();
3670
3687
  }).then((res2) => {
3671
3688
  var _a2;
3689
+ if (path2.endsWith(".css")) {
3690
+ injectGlobal(res2);
3691
+ return;
3692
+ }
3672
3693
  res2 = run(res2, path2, false);
3673
3694
  return (_a2 = res2 == null ? void 0 : res2.default) != null ? _a2 : res2;
3674
3695
  }).catch((err) => {
@@ -3676,7 +3697,7 @@ function require2(path2) {
3676
3697
  });
3677
3698
  } else {
3678
3699
  const request = new XMLHttpRequest();
3679
- request.open("GET", path2, false);
3700
+ request.open("GET", path2, { isInline: false });
3680
3701
  request.send(null);
3681
3702
  if (request.status === 200) {
3682
3703
  return run(request.responseText, path2, false);
@@ -5144,7 +5165,7 @@ var SplitPane = forwardRef(function SplitPane2({
5144
5165
  const computedSplitterStyle = {
5145
5166
  background: "rgba(0,0,0,0.08)",
5146
5167
  boxShadow: "inset 0 0 2px rgba(0,0,0,0.25)",
5147
- zIndex: 10,
5168
+ zIndex: 1e6,
5148
5169
  position: "absolute",
5149
5170
  cursor: internalMode === "horizontal" ? "col-resize" : "row-resize",
5150
5171
  touchAction: "none",
@@ -6591,6 +6612,7 @@ var Lilact2 = {
6591
6612
  ...timers_exports,
6592
6613
  ...events_exports,
6593
6614
  ...errors_exports,
6615
+ ...symbols_exports,
6594
6616
  ...router_exports,
6595
6617
  ...accessories_exports,
6596
6618
  transpileJSX,
@@ -6624,20 +6646,33 @@ if (true) {
6624
6646
  console.log(`Copyright(C) 2024-2026 Arash Kazemi <contact.arash.kazemi@gmail.com>`);
6625
6647
  }
6626
6648
  export {
6649
+ ARGS,
6650
+ CALLBACK,
6651
+ CHILD_CLASS_ADDENDUM,
6652
+ CLEARED,
6653
+ COMPONENT,
6654
+ CORE,
6627
6655
  CSSTransition,
6628
6656
  Children,
6629
6657
  Component,
6658
+ DUE,
6630
6659
  DragHandle,
6631
6660
  ErrorBoundary,
6632
6661
  Fragment2 as Fragment,
6633
6662
  HTMLComponent,
6634
6663
  HashRouter,
6664
+ IDX,
6665
+ INTERVAL,
6666
+ IS_ZOMBIE,
6667
+ LAZY,
6635
6668
  Lilact2 as Lilact,
6636
6669
  Link,
6670
+ MEMOIZED,
6637
6671
  NavLink,
6638
6672
  Portal,
6639
6673
  PropTypes,
6640
6674
  Provider,
6675
+ REPEAT,
6641
6676
  RootComponent,
6642
6677
  Route,
6643
6678
  Routes,
@@ -6645,6 +6680,7 @@ export {
6645
6680
  SplitPane,
6646
6681
  Suspense,
6647
6682
  SwitchTransition,
6683
+ TEXT2 as TEXT,
6648
6684
  Transition,
6649
6685
  TransitionGroup,
6650
6686
  addWrappedEventListener,