@gridland/demo 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/run.js CHANGED
@@ -1,10 +1,9 @@
1
1
  // src/run.tsx
2
- import { createCliRenderer } from "@opentui/core";
3
- import { createRoot, useKeyboard as useKeyboard2 } from "@opentui/react";
2
+ import { createCliRenderer, createRoot, useKeyboard as useKeyboard2 } from "@gridland/core";
4
3
 
5
4
  // ../ui/scripts/demo-apps.tsx
6
5
  import { useState as useState11, useCallback as useCallback4, useRef as useRef9, useEffect as useEffect5 } from "react";
7
- import { useKeyboard } from "@opentui/react";
6
+ import { useKeyboard } from "@gridland/core";
8
7
 
9
8
  // ../ui/components/theme/themes.ts
10
9
  var darkTheme = {
@@ -1668,7 +1667,7 @@ Message.Footer = MessageFooter;
1668
1667
  import { jsx as jsx20, jsxs as jsxs14 } from "react/jsx-runtime";
1669
1668
 
1670
1669
  // ../ui/components/breakpoints/use-breakpoints.ts
1671
- import { useTerminalDimensions } from "@opentui/react";
1670
+ import { useTerminalDimensions } from "@gridland/core";
1672
1671
  var BREAKPOINTS = {
1673
1672
  tiny: 40,
1674
1673
  narrow: 60,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gridland/demo",
3
- "version": "0.2.26",
3
+ "version": "0.2.28",
4
4
  "type": "module",
5
5
  "description": "Run gridland component demos from anywhere",
6
6
  "exports": {
@@ -20,7 +20,7 @@
20
20
  "test": "bun test"
21
21
  },
22
22
  "dependencies": {
23
- "@gridland/core": "^0.2.26",
23
+ "@gridland/core": "^0.2.28",
24
24
  "@opentui/core": "^0.1.86",
25
25
  "@opentui/react": "^0.1.86",
26
26
  "figlet": "^1.10.0",
@@ -1,2 +0,0 @@
1
- // ../../node_modules/.bun/@opentui+react@0.1.86+97a150e6104227ab/node_modules/@opentui/react/chunk-2mx7fq49.js
2
- var __require = import.meta.require;
@@ -1,37 +0,0 @@
1
- var __create = Object.create;
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
8
- get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
9
- }) : x)(function(x) {
10
- if (typeof require !== "undefined") return require.apply(this, arguments);
11
- throw Error('Dynamic require of "' + x + '" is not supported');
12
- });
13
- var __commonJS = (cb, mod) => function __require2() {
14
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
15
- };
16
- var __copyProps = (to, from, except, desc) => {
17
- if (from && typeof from === "object" || typeof from === "function") {
18
- for (let key of __getOwnPropNames(from))
19
- if (!__hasOwnProp.call(to, key) && key !== except)
20
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
21
- }
22
- return to;
23
- };
24
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
25
- // If the importer is in node compatibility mode or this is not an ESM
26
- // file that has been converted to a CommonJS file using a Babel-
27
- // compatible transform (i.e. "__esModule" has not been set), then set
28
- // "default" to the CommonJS "module.exports" for node compatibility.
29
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
30
- mod
31
- ));
32
-
33
- export {
34
- __require,
35
- __commonJS,
36
- __toESM
37
- };