@gridland/web 0.2.26 → 0.2.28

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/index.js CHANGED
@@ -5801,6 +5801,15 @@ var jt = x.lex;
5801
5801
  var defaultThumbBackgroundColor = RGBA.fromHex("#9a9ea3");
5802
5802
  var defaultTrackBackgroundColor = RGBA.fromHex("#252527");
5803
5803
 
5804
+ // ../../opentui/packages/core/src/zig-registry.ts
5805
+ if (typeof globalThis.Bun !== "undefined") {
5806
+ const zigPath = "./zig";
5807
+ try {
5808
+ await import(zigPath);
5809
+ } catch {
5810
+ }
5811
+ }
5812
+
5804
5813
  // ../../opentui/packages/core/src/lib/selection.ts
5805
5814
  function convertGlobalToLocalSelection(globalSelection, localX, localY) {
5806
5815
  if (!globalSelection?.isActive) {
@@ -9042,9 +9051,7 @@ function useBrowserContext() {
9042
9051
  }
9043
9052
 
9044
9053
  // src/create-browser-root.tsx
9045
- import { _render } from "@gridland/core";
9046
- import { AppContext } from "@gridland/core";
9047
- import { ErrorBoundary as _ErrorBoundary } from "@gridland/core";
9054
+ import { _render, AppContext, ErrorBoundary as _ErrorBoundary } from "@gridland/core";
9048
9055
  import { jsx } from "react/jsx-runtime";
9049
9056
  var ErrorBoundary = _ErrorBoundary;
9050
9057
  function createBrowserRoot(renderer) {
@@ -9119,9 +9126,7 @@ var HeadlessRenderer = class {
9119
9126
  };
9120
9127
 
9121
9128
  // src/create-headless-root.tsx
9122
- import { _render as _render2, reconciler } from "@gridland/core";
9123
- import { AppContext as AppContext2 } from "@gridland/core";
9124
- import { ErrorBoundary as _ErrorBoundary2 } from "@gridland/core";
9129
+ import { _render as _render2, reconciler, AppContext as AppContext2, ErrorBoundary as _ErrorBoundary2 } from "@gridland/core";
9125
9130
  import { jsx as jsx2 } from "react/jsx-runtime";
9126
9131
  var ErrorBoundary2 = _ErrorBoundary2;
9127
9132
  var _r = reconciler;