sibujs 2.0.0 → 2.1.0

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.
Files changed (60) hide show
  1. package/dist/browser.cjs +144 -102
  2. package/dist/browser.js +4 -4
  3. package/dist/build.cjs +183 -102
  4. package/dist/build.js +10 -10
  5. package/dist/cdn.global.js +7 -7
  6. package/dist/{chunk-MIUAXB7K.js → chunk-3DZP6OIT.js} +2 -2
  7. package/dist/{chunk-ITX6OO3F.js → chunk-45YP72ZQ.js} +1 -1
  8. package/dist/{chunk-ND2664SF.js → chunk-AMK2TYNW.js} +13 -9
  9. package/dist/{chunk-R73P76YZ.js → chunk-CWBVQML6.js} +1 -1
  10. package/dist/{chunk-54EDRCEF.js → chunk-DRUZZAK4.js} +1 -1
  11. package/dist/{chunk-3NSGB5JN.js → chunk-GWWURC5M.js} +2 -2
  12. package/dist/{chunk-SAHNHTFC.js → chunk-KGYT6UO6.js} +3 -3
  13. package/dist/{chunk-52YJLLRO.js → chunk-NASX6ST2.js} +1 -1
  14. package/dist/{chunk-O2MNQFLP.js → chunk-O6EFQ3KT.js} +5 -5
  15. package/dist/{chunk-GTBNNBJ6.js → chunk-OJ3P4ECI.js} +1 -1
  16. package/dist/{chunk-7JDB7I65.js → chunk-ON5MMR2J.js} +4 -4
  17. package/dist/{chunk-KLRMB5ZS.js → chunk-P2HSJDDN.js} +2 -2
  18. package/dist/{chunk-VLPPXTYG.js → chunk-QO3WC6FS.js} +145 -93
  19. package/dist/{chunk-CC65Y57T.js → chunk-RDTDJCAB.js} +1 -1
  20. package/dist/{chunk-JXMMDLBY.js → chunk-TH2ILCYW.js} +8 -4
  21. package/dist/{chunk-3LR7GLWQ.js → chunk-V6C4FADE.js} +3 -3
  22. package/dist/{chunk-WOMYAHHI.js → chunk-WANSMF2L.js} +4 -4
  23. package/dist/{chunk-DFPFITST.js → chunk-WIPZPFBQ.js} +1 -1
  24. package/dist/{chunk-HB24TBAF.js → chunk-WZA53FXU.js} +38 -10
  25. package/dist/{chunk-JA6667UN.js → chunk-ZAQSMOED.js} +4 -4
  26. package/dist/data.cjs +176 -102
  27. package/dist/data.js +6 -6
  28. package/dist/devtools.cjs +148 -91
  29. package/dist/devtools.d.cts +1 -1
  30. package/dist/devtools.d.ts +1 -1
  31. package/dist/devtools.js +4 -4
  32. package/dist/ecosystem.cjs +176 -102
  33. package/dist/ecosystem.js +7 -7
  34. package/dist/extras.cjs +182 -104
  35. package/dist/extras.d.cts +1 -1
  36. package/dist/extras.d.ts +1 -1
  37. package/dist/extras.js +19 -19
  38. package/dist/index.cjs +185 -102
  39. package/dist/index.d.cts +15 -1
  40. package/dist/index.d.ts +15 -1
  41. package/dist/index.js +14 -10
  42. package/dist/{introspect-BWNjNw64.d.cts → introspect-2TOlQ7oa.d.cts} +3 -1
  43. package/dist/{introspect-cY2pg9pW.d.ts → introspect-DnIpHQQz.d.ts} +3 -1
  44. package/dist/motion.cjs +78 -62
  45. package/dist/motion.js +3 -3
  46. package/dist/patterns.cjs +176 -102
  47. package/dist/patterns.js +5 -5
  48. package/dist/performance.cjs +142 -89
  49. package/dist/performance.js +4 -4
  50. package/dist/plugins.cjs +142 -89
  51. package/dist/plugins.js +6 -6
  52. package/dist/ssr.cjs +144 -102
  53. package/dist/ssr.js +7 -7
  54. package/dist/testing.cjs +66 -28
  55. package/dist/testing.js +2 -2
  56. package/dist/ui.cjs +174 -89
  57. package/dist/ui.js +6 -6
  58. package/dist/widgets.cjs +176 -102
  59. package/dist/widgets.js +6 -6
  60. package/package.json +1 -1
package/dist/extras.cjs CHANGED
@@ -332,11 +332,24 @@ function devWarn(message) {
332
332
 
333
333
  // src/reactivity/track.ts
334
334
  var _isDev2 = isDev();
335
- var subscriberStack = new Array(32);
336
- var stackCapacity = 32;
335
+ var STACK_INITIAL = 32;
336
+ var STACK_SHRINK_THRESHOLD = 128;
337
+ var subscriberStack = new Array(STACK_INITIAL);
338
+ var stackCapacity = STACK_INITIAL;
337
339
  var stackTop = -1;
338
340
  var currentSubscriber = null;
339
341
  var SUBS = "__s";
342
+ function syncFastPath(signal2, subs) {
343
+ const size = subs.size;
344
+ if (size === 0) {
345
+ signal2.__f = void 0;
346
+ delete signal2[SUBS];
347
+ } else if (size === 1) {
348
+ signal2.__f = subs.values().next().value;
349
+ } else {
350
+ signal2.__f = void 0;
351
+ }
352
+ }
340
353
  var notifyDepth = 0;
341
354
  var pendingQueue = [];
342
355
  var pendingSet = /* @__PURE__ */ new Set();
@@ -349,13 +362,45 @@ function safeInvoke(sub2) {
349
362
  }
350
363
  }
351
364
  var trackingSuspended = false;
365
+ var subscriberEpochCounter = 0;
352
366
  function retrack(effectFn, subscriber) {
353
367
  const prev = currentSubscriber;
354
368
  currentSubscriber = subscriber;
369
+ const sub2 = subscriber;
370
+ const epoch = ++subscriberEpochCounter;
371
+ sub2._epoch = epoch;
355
372
  try {
356
373
  effectFn();
357
374
  } finally {
358
375
  currentSubscriber = prev;
376
+ pruneStaleDeps(sub2, epoch);
377
+ }
378
+ }
379
+ function pruneStaleDeps(sub2, currentEpoch) {
380
+ if (sub2._dep !== void 0) {
381
+ if (sub2._depEpoch !== currentEpoch) {
382
+ const sig = sub2._dep;
383
+ const subs = sig[SUBS];
384
+ if (subs?.delete(sub2)) syncFastPath(sig, subs);
385
+ sub2._dep = void 0;
386
+ sub2._depEpoch = void 0;
387
+ }
388
+ return;
389
+ }
390
+ const deps = sub2._deps;
391
+ if (!deps || deps.size === 0) return;
392
+ let stales;
393
+ for (const [signal2, epoch] of deps) {
394
+ if (epoch !== currentEpoch) {
395
+ (stales ?? (stales = [])).push(signal2);
396
+ }
397
+ }
398
+ if (!stales) return;
399
+ for (const signal2 of stales) {
400
+ deps.delete(signal2);
401
+ const sig = signal2;
402
+ const subs = sig[SUBS];
403
+ if (subs?.delete(sub2)) syncFastPath(sig, subs);
359
404
  }
360
405
  }
361
406
  function track(effectFn, subscriber) {
@@ -373,36 +418,49 @@ function track(effectFn, subscriber) {
373
418
  } finally {
374
419
  stackTop--;
375
420
  currentSubscriber = stackTop >= 0 ? subscriberStack[stackTop] : null;
421
+ if (stackTop < 0 && stackCapacity > STACK_SHRINK_THRESHOLD) {
422
+ stackCapacity = Math.max(STACK_INITIAL, stackCapacity >>> 1);
423
+ subscriberStack.length = stackCapacity;
424
+ }
376
425
  }
377
426
  return () => cleanup(subscriber);
378
427
  }
379
428
  function recordDependency(signal2) {
380
429
  if (!currentSubscriber) return;
381
430
  const sub2 = currentSubscriber;
382
- if (sub2._dep === signal2) return;
431
+ const epoch = sub2._epoch;
432
+ if (sub2._dep === signal2) {
433
+ sub2._depEpoch = epoch;
434
+ return;
435
+ }
383
436
  const deps = sub2._deps;
384
437
  if (deps) {
385
- if (deps.has(signal2)) return;
386
- deps.add(signal2);
438
+ deps.set(signal2, epoch);
387
439
  } else if (sub2._dep !== void 0) {
388
- const set = /* @__PURE__ */ new Set();
389
- set.add(sub2._dep);
390
- set.add(signal2);
391
- sub2._deps = set;
440
+ const map2 = /* @__PURE__ */ new Map();
441
+ map2.set(sub2._dep, sub2._depEpoch);
442
+ map2.set(signal2, epoch);
443
+ sub2._deps = map2;
392
444
  sub2._dep = void 0;
445
+ sub2._depEpoch = void 0;
393
446
  } else {
394
447
  sub2._dep = signal2;
448
+ sub2._depEpoch = epoch;
395
449
  }
396
- let subs = signal2[SUBS];
450
+ const sig = signal2;
451
+ let subs = sig[SUBS];
397
452
  if (!subs) {
398
453
  subs = /* @__PURE__ */ new Set();
399
- signal2[SUBS] = subs;
454
+ sig[SUBS] = subs;
400
455
  }
456
+ const prevSize = subs.size;
401
457
  subs.add(currentSubscriber);
402
- if (subs.size === 1) {
403
- signal2.__f = currentSubscriber;
404
- } else if (signal2.__f !== void 0) {
405
- signal2.__f = void 0;
458
+ if (subs.size !== prevSize) {
459
+ if (subs.size === 1) {
460
+ sig.__f = currentSubscriber;
461
+ } else if (sig.__f !== void 0) {
462
+ sig.__f = void 0;
463
+ }
406
464
  }
407
465
  }
408
466
  function queueSignalNotification(signal2) {
@@ -417,24 +475,55 @@ function queueSignalNotification(signal2) {
417
475
  }
418
476
  }
419
477
  }
420
- var maxDrainIterations = 1e5;
478
+ var maxSubscriberRepeats = 50;
479
+ var maxDrainIterations = 1e6;
480
+ var drainEpoch = 0;
481
+ function tickRepeat(sub2) {
482
+ const s2 = sub2;
483
+ if (s2._runEpoch !== drainEpoch) {
484
+ s2._runEpoch = drainEpoch;
485
+ s2._runs = 1;
486
+ return false;
487
+ }
488
+ return ++s2._runs > maxSubscriberRepeats;
489
+ }
490
+ function cycleError(sub2) {
491
+ if (typeof console !== "undefined") {
492
+ const name = sub2.__name ?? "<unnamed>";
493
+ console.error(
494
+ `[SibuJS] subscriber "${name}" fired more than ${maxSubscriberRepeats} times \u2014 likely a write-reads-self cycle between effects/signals. Breaking to prevent infinite loop.`
495
+ );
496
+ }
497
+ }
498
+ function absoluteDrainError() {
499
+ if (typeof console !== "undefined") {
500
+ console.error(
501
+ `[SibuJS] Notification drain exceeded ${maxDrainIterations} iterations \u2014 absolute safety net tripped. Breaking to prevent infinite loop.`
502
+ );
503
+ }
504
+ }
505
+ function drainQueue() {
506
+ let i2 = 0;
507
+ while (i2 < pendingQueue.length) {
508
+ if (i2 >= maxDrainIterations) {
509
+ absoluteDrainError();
510
+ break;
511
+ }
512
+ const sub2 = pendingQueue[i2++];
513
+ if (tickRepeat(sub2)) {
514
+ cycleError(sub2);
515
+ break;
516
+ }
517
+ pendingSet.delete(sub2);
518
+ safeInvoke(sub2);
519
+ }
520
+ }
421
521
  function drainNotificationQueue() {
422
522
  if (notifyDepth > 0) return;
423
523
  notifyDepth++;
524
+ drainEpoch++;
424
525
  try {
425
- let i2 = 0;
426
- while (i2 < pendingQueue.length) {
427
- if (i2 >= maxDrainIterations) {
428
- if (typeof console !== "undefined") {
429
- console.error(
430
- `[SibuJS] Notification queue exceeded ${maxDrainIterations} iterations \u2014 likely an effect that writes to a signal it reads. Breaking to prevent infinite loop.`
431
- );
432
- }
433
- break;
434
- }
435
- safeInvoke(pendingQueue[i2]);
436
- i2++;
437
- }
526
+ drainQueue();
438
527
  } finally {
439
528
  notifyDepth--;
440
529
  if (notifyDepth === 0) {
@@ -497,25 +586,16 @@ function notifySubscribers(signal2) {
497
586
  return;
498
587
  }
499
588
  notifyDepth++;
589
+ drainEpoch++;
500
590
  try {
501
591
  if (first._c) {
502
592
  propagateDirty(first);
593
+ } else if (tickRepeat(first)) {
594
+ cycleError(first);
503
595
  } else {
504
596
  safeInvoke(first);
505
597
  }
506
- let i2 = 0;
507
- while (i2 < pendingQueue.length) {
508
- if (i2 >= maxDrainIterations) {
509
- if (typeof console !== "undefined") {
510
- console.error(
511
- `[SibuJS] Notification queue exceeded ${maxDrainIterations} iterations \u2014 likely an effect that writes to a signal it reads. Breaking to prevent infinite loop.`
512
- );
513
- }
514
- break;
515
- }
516
- safeInvoke(pendingQueue[i2]);
517
- i2++;
518
- }
598
+ drainQueue();
519
599
  } finally {
520
600
  notifyDepth--;
521
601
  if (notifyDepth === 0) {
@@ -539,44 +619,17 @@ function notifySubscribers(signal2) {
539
619
  return;
540
620
  }
541
621
  notifyDepth++;
622
+ drainEpoch++;
542
623
  try {
543
- let directCount = 0;
544
- let hasComputedSub = false;
545
624
  for (const sub2 of subs) {
546
- if (sub2._c) hasComputedSub = true;
547
- pendingQueue[directCount++] = sub2;
548
- }
549
- if (!hasComputedSub) {
550
- for (let i3 = 0; i3 < directCount; i3++) {
551
- safeInvoke(pendingQueue[i3]);
552
- }
553
- } else {
554
- for (let i3 = 0; i3 < directCount; i3++) {
555
- if (pendingQueue[i3]._c) {
556
- propagateDirty(pendingQueue[i3]);
557
- }
558
- }
559
- for (let i3 = 0; i3 < directCount; i3++) {
560
- const sub2 = pendingQueue[i3];
561
- if (!sub2._c && !pendingSet.has(sub2)) {
562
- pendingSet.add(sub2);
563
- safeInvoke(sub2);
564
- }
565
- }
566
- }
567
- let i2 = directCount;
568
- while (i2 < pendingQueue.length) {
569
- if (i2 - directCount >= maxDrainIterations) {
570
- if (typeof console !== "undefined") {
571
- console.error(
572
- `[SibuJS] Notification queue exceeded ${maxDrainIterations} iterations \u2014 likely an effect that writes to a signal it reads. Breaking to prevent infinite loop.`
573
- );
574
- }
575
- break;
625
+ if (sub2._c) {
626
+ propagateDirty(sub2);
627
+ } else if (!pendingSet.has(sub2)) {
628
+ pendingSet.add(sub2);
629
+ pendingQueue.push(sub2);
576
630
  }
577
- safeInvoke(pendingQueue[i2]);
578
- i2++;
579
631
  }
632
+ drainQueue();
580
633
  } finally {
581
634
  notifyDepth--;
582
635
  if (notifyDepth === 0) {
@@ -589,29 +642,22 @@ function cleanup(subscriber) {
589
642
  const sub2 = subscriber;
590
643
  const singleDep = sub2._dep;
591
644
  if (singleDep !== void 0) {
592
- const subs = singleDep[SUBS];
593
- if (subs) {
594
- subs.delete(subscriber);
595
- if (singleDep.__f === subscriber) {
596
- singleDep.__f = subs.size === 1 ? subs.values().next().value : void 0;
597
- } else if (subs.size === 1 && singleDep.__f === void 0) {
598
- singleDep.__f = subs.values().next().value;
599
- }
645
+ const sig = singleDep;
646
+ const subs = sig[SUBS];
647
+ if (subs?.delete(subscriber)) {
648
+ syncFastPath(sig, subs);
600
649
  }
601
650
  sub2._dep = void 0;
651
+ sub2._depEpoch = void 0;
602
652
  return;
603
653
  }
604
654
  const deps = sub2._deps;
605
655
  if (!deps || deps.size === 0) return;
606
- for (const signal2 of deps) {
607
- const subs = signal2[SUBS];
608
- if (subs) {
609
- subs.delete(subscriber);
610
- if (signal2.__f === subscriber) {
611
- signal2.__f = subs.size === 1 ? subs.values().next().value : void 0;
612
- } else if (subs.size === 1 && signal2.__f === void 0) {
613
- signal2.__f = subs.values().next().value;
614
- }
656
+ for (const signal2 of deps.keys()) {
657
+ const sig = signal2;
658
+ const subs = sig[SUBS];
659
+ if (subs?.delete(subscriber)) {
660
+ syncFastPath(sig, subs);
615
661
  }
616
662
  }
617
663
  deps.clear();
@@ -758,29 +804,57 @@ function effect(effectFn, options) {
758
804
  let cleanupHandle = () => {
759
805
  };
760
806
  let running = false;
807
+ let rerunPending = false;
808
+ const MAX_RERUNS = 100;
761
809
  const subscriber = () => {
762
810
  if (running) {
763
- if (_g.__SIBU_DEV_WARN__ !== false && typeof console !== "undefined") {
764
- console.warn(
765
- "[SibuJS] effect re-entered itself while running \u2014 the triggering update will be ignored. Wrap mutual writes in `batch()` or split the effect to avoid this."
766
- );
767
- }
811
+ rerunPending = true;
768
812
  return;
769
813
  }
770
814
  running = true;
771
815
  try {
772
- runUserCleanups();
773
- cleanupHandle();
774
- cleanupHandle = track(wrappedFn, subscriber);
816
+ let reruns = 0;
817
+ do {
818
+ rerunPending = false;
819
+ runUserCleanups();
820
+ cleanupHandle();
821
+ cleanupHandle = track(wrappedFn, subscriber);
822
+ if (++reruns > MAX_RERUNS) {
823
+ if (_g.__SIBU_DEV_WARN__ !== false && typeof console !== "undefined") {
824
+ console.error(
825
+ `[SibuJS] effect re-requested itself ${MAX_RERUNS}+ times \u2014 likely a write-reads-self cycle. Breaking to prevent infinite loop.`
826
+ );
827
+ }
828
+ rerunPending = false;
829
+ break;
830
+ }
831
+ } while (rerunPending);
775
832
  } finally {
776
833
  running = false;
834
+ rerunPending = false;
777
835
  }
778
836
  };
779
837
  running = true;
780
838
  try {
781
- cleanupHandle = track(wrappedFn, subscriber);
839
+ let reruns = 0;
840
+ do {
841
+ rerunPending = false;
842
+ runUserCleanups();
843
+ cleanupHandle();
844
+ cleanupHandle = track(wrappedFn, subscriber);
845
+ if (++reruns > MAX_RERUNS) {
846
+ if (_g.__SIBU_DEV_WARN__ !== false && typeof console !== "undefined") {
847
+ console.error(
848
+ `[SibuJS] effect re-requested itself ${MAX_RERUNS}+ times on initial run \u2014 likely a write-reads-self cycle. Breaking to prevent infinite loop.`
849
+ );
850
+ }
851
+ rerunPending = false;
852
+ break;
853
+ }
854
+ } while (rerunPending);
782
855
  } finally {
783
856
  running = false;
857
+ rerunPending = false;
784
858
  }
785
859
  const hook = _g.__SIBU_DEVTOOLS_GLOBAL_HOOK__;
786
860
  if (hook) hook.emit("effect:create", { effectFn });
@@ -9970,8 +10044,12 @@ function getSubscriberCount(getter) {
9970
10044
  return subs ? subs.size : 0;
9971
10045
  }
9972
10046
  function getDependencies(subscriberFn) {
9973
- const deps = subscriberFn._deps;
9974
- return deps ? Array.from(deps) : [];
10047
+ const fn = subscriberFn;
10048
+ const singleDep = fn._dep;
10049
+ if (singleDep !== void 0) return [singleDep];
10050
+ const deps = fn._deps;
10051
+ if (!deps) return [];
10052
+ return deps instanceof Map ? Array.from(deps.keys()) : Array.from(deps);
9975
10053
  }
9976
10054
  function inspectSignal(getter) {
9977
10055
  const signal2 = getter.__signal;
package/dist/extras.d.cts CHANGED
@@ -9,7 +9,7 @@ export { ActionFn, ActionResult, Head, ISROptions, LoadRemoteModuleOptions, Load
9
9
  export { H as HydrateOptions, a as HydrationMismatch, T as TrustedHTML, c as collectStream, d as deserializeState, e as escapeScriptJson, h as hydrate, b as hydrateIslands, f as hydrateProgressively, i as island, r as renderToDocument, g as renderToReadableStream, j as renderToStream, k as renderToString, l as renderToSuspenseStream, m as resetSSRState, s as serializeState, n as ssrSuspense, o as suspenseSwapScript, t as trustHTML } from './ssr-CrVNy6Pa.cjs';
10
10
  export { P as PluginContext, a as PluginRegistry, S as SibuPlugin, c as createPlugin, b as createPluginRegistry, i as inject, p as plugin, r as resetPlugins, s as setDefaultPluginRegistry, t as triggerPluginError, d as triggerPluginMount, e as triggerPluginUnmount } from './plugin-D30wlGW5.cjs';
11
11
  export { M as Migration, S as SemVer, V as VERSION, b as bundlerMetadata, c as checkCompatibility, a as compareSemVer, d as createBootSequence, e as createBundle, f as createMigrationRunner, g as createModuleRegistry, h as createSSRCache, i as createTestHarness, j as deferNonCritical, k as env, l as healthCheck, m as lazyModule, p as packageInfo, n as parseSemVer, o as preloadCritical, q as prerenderRoutes, s as satisfies } from './startup-0Qv6aosO.cjs';
12
- export { D as DevToolsEvent, a as DevtoolsOverlayOptions, P as ProfilerResult, R as ReactiveNodeInfo, S as SibuError, c as checkLeaks, b as clearDebugValues, d as clearHMRModule, e as clearHMRState, f as clearPerformanceData, g as createDevtoolsOverlay, h as createErrorReporter, i as createHMRBoundary, j as createProfiler, k as debugLog, l as debugValue, m as devState, n as disableDebug, o as enableDebug, p as exposeHMR, q as formatError, r as getActiveDevTools, s as getDebugValues, t as getDependencies, u as getPerformanceReport, v as getSignalName, w as getSubscriberCount, x as hmrState, y as initDevTools, z as inspectSignal, A as isDebugEnabled, B as isHMRAvailable, C as measureRender, E as perfTracker, F as registerHMR, G as runCleanups, H as startMeasure, I as trackCleanup, J as walkDependencyGraph, K as withErrorTracking } from './introspect-BWNjNw64.cjs';
12
+ export { D as DevToolsEvent, a as DevtoolsOverlayOptions, P as ProfilerResult, R as ReactiveNodeInfo, S as SibuError, c as checkLeaks, b as clearDebugValues, d as clearHMRModule, e as clearHMRState, f as clearPerformanceData, g as createDevtoolsOverlay, h as createErrorReporter, i as createHMRBoundary, j as createProfiler, k as debugLog, l as debugValue, m as devState, n as disableDebug, o as enableDebug, p as exposeHMR, q as formatError, r as getActiveDevTools, s as getDebugValues, t as getDependencies, u as getPerformanceReport, v as getSignalName, w as getSubscriberCount, x as hmrState, y as initDevTools, z as inspectSignal, A as isDebugEnabled, B as isHMRAvailable, C as measureRender, E as perfTracker, F as registerHMR, G as runCleanups, H as startMeasure, I as trackCleanup, J as walkDependencyGraph, K as withErrorTracking } from './introspect-2TOlQ7oa.cjs';
13
13
  export { AccordionAriaBinding, AccordionOptions, ComboboxOptions, DatePickerOptions, FileUploadOptions, SelectOptions, SetContentOptions, TabsAriaBinding, TabsOptions, accordion, combobox, contentEditable, datePicker, fileUpload, popover, select, tabs, tooltip } from './widgets.cjs';
14
14
  export { AdaptedComponent, AdaptedComponentProps, AdapterConfig, ComponentMapping, MobXAdapterAPI, MobXAdapterOptions, MobXReactionDisposer, ReduxAdapterAPI, ReduxAdapterOptions, ReduxStore, ThemeAPI, ThemeConfig, ZustandAdapterAPI, ZustandAdapterOptions, ZustandStore, antdAdapter, chakraAdapter, componentAdapter, createTheme, materialAdapter, mobXAdapter, reduxAdapter, zustandAdapter } from './ecosystem.cjs';
15
15
  import './signal-BnWpq6WB.cjs';
package/dist/extras.d.ts CHANGED
@@ -9,7 +9,7 @@ export { ActionFn, ActionResult, Head, ISROptions, LoadRemoteModuleOptions, Load
9
9
  export { H as HydrateOptions, a as HydrationMismatch, T as TrustedHTML, c as collectStream, d as deserializeState, e as escapeScriptJson, h as hydrate, b as hydrateIslands, f as hydrateProgressively, i as island, r as renderToDocument, g as renderToReadableStream, j as renderToStream, k as renderToString, l as renderToSuspenseStream, m as resetSSRState, s as serializeState, n as ssrSuspense, o as suspenseSwapScript, t as trustHTML } from './ssr-CrVNy6Pa.js';
10
10
  export { P as PluginContext, a as PluginRegistry, S as SibuPlugin, c as createPlugin, b as createPluginRegistry, i as inject, p as plugin, r as resetPlugins, s as setDefaultPluginRegistry, t as triggerPluginError, d as triggerPluginMount, e as triggerPluginUnmount } from './plugin-D30wlGW5.js';
11
11
  export { M as Migration, S as SemVer, V as VERSION, b as bundlerMetadata, c as checkCompatibility, a as compareSemVer, d as createBootSequence, e as createBundle, f as createMigrationRunner, g as createModuleRegistry, h as createSSRCache, i as createTestHarness, j as deferNonCritical, k as env, l as healthCheck, m as lazyModule, p as packageInfo, n as parseSemVer, o as preloadCritical, q as prerenderRoutes, s as satisfies } from './startup-0Qv6aosO.js';
12
- export { D as DevToolsEvent, a as DevtoolsOverlayOptions, P as ProfilerResult, R as ReactiveNodeInfo, S as SibuError, c as checkLeaks, b as clearDebugValues, d as clearHMRModule, e as clearHMRState, f as clearPerformanceData, g as createDevtoolsOverlay, h as createErrorReporter, i as createHMRBoundary, j as createProfiler, k as debugLog, l as debugValue, m as devState, n as disableDebug, o as enableDebug, p as exposeHMR, q as formatError, r as getActiveDevTools, s as getDebugValues, t as getDependencies, u as getPerformanceReport, v as getSignalName, w as getSubscriberCount, x as hmrState, y as initDevTools, z as inspectSignal, A as isDebugEnabled, B as isHMRAvailable, C as measureRender, E as perfTracker, F as registerHMR, G as runCleanups, H as startMeasure, I as trackCleanup, J as walkDependencyGraph, K as withErrorTracking } from './introspect-cY2pg9pW.js';
12
+ export { D as DevToolsEvent, a as DevtoolsOverlayOptions, P as ProfilerResult, R as ReactiveNodeInfo, S as SibuError, c as checkLeaks, b as clearDebugValues, d as clearHMRModule, e as clearHMRState, f as clearPerformanceData, g as createDevtoolsOverlay, h as createErrorReporter, i as createHMRBoundary, j as createProfiler, k as debugLog, l as debugValue, m as devState, n as disableDebug, o as enableDebug, p as exposeHMR, q as formatError, r as getActiveDevTools, s as getDebugValues, t as getDependencies, u as getPerformanceReport, v as getSignalName, w as getSubscriberCount, x as hmrState, y as initDevTools, z as inspectSignal, A as isDebugEnabled, B as isHMRAvailable, C as measureRender, E as perfTracker, F as registerHMR, G as runCleanups, H as startMeasure, I as trackCleanup, J as walkDependencyGraph, K as withErrorTracking } from './introspect-DnIpHQQz.js';
13
13
  export { AccordionAriaBinding, AccordionOptions, ComboboxOptions, DatePickerOptions, FileUploadOptions, SelectOptions, SetContentOptions, TabsAriaBinding, TabsOptions, accordion, combobox, contentEditable, datePicker, fileUpload, popover, select, tabs, tooltip } from './widgets.js';
14
14
  export { AdaptedComponent, AdaptedComponentProps, AdapterConfig, ComponentMapping, MobXAdapterAPI, MobXAdapterOptions, MobXReactionDisposer, ReduxAdapterAPI, ReduxAdapterOptions, ReduxStore, ThemeAPI, ThemeConfig, ZustandAdapterAPI, ZustandAdapterOptions, ZustandStore, antdAdapter, chakraAdapter, componentAdapter, createTheme, materialAdapter, mobXAdapter, reduxAdapter, zustandAdapter } from './ecosystem.js';
15
15
  import './signal-BnWpq6WB.js';
package/dist/extras.js CHANGED
@@ -5,7 +5,7 @@ import {
5
5
  optimisticList,
6
6
  persisted,
7
7
  timeline
8
- } from "./chunk-3LR7GLWQ.js";
8
+ } from "./chunk-V6C4FADE.js";
9
9
  import {
10
10
  DOMPool,
11
11
  Features,
@@ -41,7 +41,7 @@ import {
41
41
  transitionState,
42
42
  uniqueId,
43
43
  yieldToMain
44
- } from "./chunk-MIUAXB7K.js";
44
+ } from "./chunk-3DZP6OIT.js";
45
45
  import {
46
46
  VERSION,
47
47
  bundlerMetadata,
@@ -87,7 +87,7 @@ import {
87
87
  wasm,
88
88
  worker,
89
89
  workerFn
90
- } from "./chunk-SAHNHTFC.js";
90
+ } from "./chunk-KGYT6UO6.js";
91
91
  import {
92
92
  FocusTrap,
93
93
  VirtualList,
@@ -128,7 +128,7 @@ import {
128
128
  toast,
129
129
  withScopedStyle,
130
130
  zipMask
131
- } from "./chunk-O2MNQFLP.js";
131
+ } from "./chunk-O6EFQ3KT.js";
132
132
  import {
133
133
  RenderProp,
134
134
  assertType,
@@ -155,7 +155,7 @@ import {
155
155
  select,
156
156
  tabs,
157
157
  tooltip
158
- } from "./chunk-7JDB7I65.js";
158
+ } from "./chunk-ON5MMR2J.js";
159
159
  import {
160
160
  animationFrame,
161
161
  battery,
@@ -193,7 +193,7 @@ import {
193
193
  visibility,
194
194
  wakeLock,
195
195
  windowSize
196
- } from "./chunk-3NSGB5JN.js";
196
+ } from "./chunk-GWWURC5M.js";
197
197
  import {
198
198
  __resetQueryCache,
199
199
  calculateDelay,
@@ -216,7 +216,7 @@ import {
216
216
  syncAdapter,
217
217
  throttle,
218
218
  withRetry
219
- } from "./chunk-JA6667UN.js";
219
+ } from "./chunk-ZAQSMOED.js";
220
220
  import {
221
221
  SibuError,
222
222
  checkLeaks,
@@ -254,7 +254,7 @@ import {
254
254
  trackCleanup,
255
255
  walkDependencyGraph,
256
256
  withErrorTracking
257
- } from "./chunk-JXMMDLBY.js";
257
+ } from "./chunk-TH2ILCYW.js";
258
258
  import {
259
259
  antdAdapter,
260
260
  chakraAdapter,
@@ -264,7 +264,7 @@ import {
264
264
  mobXAdapter,
265
265
  reduxAdapter,
266
266
  zustandAdapter
267
- } from "./chunk-WOMYAHHI.js";
267
+ } from "./chunk-WANSMF2L.js";
268
268
  import {
269
269
  createPlugin,
270
270
  createPluginRegistry,
@@ -276,8 +276,8 @@ import {
276
276
  triggerPluginMount,
277
277
  triggerPluginUnmount
278
278
  } from "./chunk-3JHCYHWN.js";
279
- import "./chunk-R73P76YZ.js";
280
- import "./chunk-ITX6OO3F.js";
279
+ import "./chunk-CWBVQML6.js";
280
+ import "./chunk-45YP72ZQ.js";
281
281
  import {
282
282
  collectStream,
283
283
  deserializeState,
@@ -297,13 +297,13 @@ import {
297
297
  suspenseSwapScript,
298
298
  trustHTML
299
299
  } from "./chunk-JYD2PWXH.js";
300
- import "./chunk-GTBNNBJ6.js";
301
- import "./chunk-KLRMB5ZS.js";
302
- import "./chunk-DFPFITST.js";
303
- import "./chunk-54EDRCEF.js";
300
+ import "./chunk-OJ3P4ECI.js";
301
+ import "./chunk-P2HSJDDN.js";
302
+ import "./chunk-WIPZPFBQ.js";
303
+ import "./chunk-DRUZZAK4.js";
304
304
  import "./chunk-2UPRY23K.js";
305
305
  import "./chunk-UCS6AMJ7.js";
306
- import "./chunk-HB24TBAF.js";
306
+ import "./chunk-WZA53FXU.js";
307
307
  import "./chunk-2RA7SHDA.js";
308
308
  import {
309
309
  TransitionGroup,
@@ -326,9 +326,9 @@ import {
326
326
  stagger,
327
327
  transition,
328
328
  viewTransition
329
- } from "./chunk-52YJLLRO.js";
330
- import "./chunk-CC65Y57T.js";
331
- import "./chunk-VLPPXTYG.js";
329
+ } from "./chunk-NASX6ST2.js";
330
+ import "./chunk-RDTDJCAB.js";
331
+ import "./chunk-QO3WC6FS.js";
332
332
  import "./chunk-LMLD24FC.js";
333
333
  export {
334
334
  DOMPool,