@gridland/web 0.2.27 → 0.2.29
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/core-shims.js +2932 -62
- package/dist/core-shims.js.map +4 -4
- package/dist/index.js +11 -6
- package/dist/index.js.map +3 -3
- package/dist/next-plugin.cjs +10 -16
- package/dist/next-plugin.cjs.map +1 -1
- package/dist/next-plugin.d.cts +4 -2
- package/dist/next-plugin.d.ts +4 -2
- package/dist/next-plugin.js +10 -16
- package/dist/next-plugin.js.map +1 -1
- package/dist/next.js +11 -6
- package/dist/next.js.map +3 -3
- package/dist/vite-plugin.d.ts +11 -6
- package/dist/vite-plugin.js +27 -46
- package/dist/vite-plugin.js.map +1 -1
- package/package.json +2 -2
- package/src/shims/zig-stub.ts +0 -20
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;
|