@deaquinodev/querky 0.4.14 → 0.4.15
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 +3 -13
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1767,19 +1767,12 @@ function ErrorBox({ message }) {
|
|
|
1767
1767
|
// src/ui/components/Banner.tsx
|
|
1768
1768
|
import { Box as Box4, Text as Text4 } from "ink";
|
|
1769
1769
|
import { Fragment as Fragment2, jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
1770
|
-
var version = true ? "0.4.
|
|
1771
|
-
var MASCOT = [
|
|
1772
|
-
" \u2597\u2584\u2584\u2584\u2584\u2584\u2596",
|
|
1773
|
-
"\u2590\u2591 \u25CF \u25CF \u2591\u258C",
|
|
1774
|
-
"\u2590\u2591 \u25E1\u25E1\u25E1 \u2591\u258C",
|
|
1775
|
-
"\u2590\u2591 \u2597\u259F\u258C",
|
|
1776
|
-
" \u2580\u2580\u2580\u2580\u259D\u2580\u2584"
|
|
1777
|
-
];
|
|
1770
|
+
var version = true ? "0.4.15" : process.env.npm_package_version ?? "unknown";
|
|
1778
1771
|
var WORDMARK = [
|
|
1779
1772
|
"\u2597\u2584\u2584\u2584\u2596 \u2597\u2596 \u2597\u2596\u2597\u2584\u2584\u2584\u2596\u2597\u2584\u2584\u2596 \u2597\u2596 \u2597\u2596\u2597\u2596 \u2597\u2596",
|
|
1780
1773
|
"\u2590\u258C \u2590\u258C \u2590\u258C \u2590\u258C\u2590\u258C \u2590\u258C \u2590\u258C\u2590\u258C\u2597\u259E\u2598 \u259D\u259A\u259E\u2598",
|
|
1781
1774
|
"\u2590\u258C \u2590\u258C \u2590\u258C \u2590\u258C\u2590\u259B\u2580\u2580\u2598\u2590\u259B\u2580\u259A\u2596\u2590\u259B\u259A\u2596 \u2590\u258C",
|
|
1782
|
-
"\u2590\u2599\u2584\u259F\u2599\u2596\u259D\u259A\u2584\u259E\u2598\u2590\u2599\u2584\u2584\u2596\u2590\u258C \u2590\u258C\u2590\u258C \u2590\u258C \u2590\u258C"
|
|
1775
|
+
"\u2590\u2599\u2584\u259F\u2599\u2596\u259D\u259A\u2584\u259E\u2598\u2590\u2599\u2584\u2584\u2596\u2590\u258C \u2590\u258C\u2590\u258C \u2590\u258C \u2590\u258C \u2584\u2584\u2584"
|
|
1783
1776
|
];
|
|
1784
1777
|
var WORDMARK_WIDTH = Math.max(...WORDMARK.map((l) => [...l].length));
|
|
1785
1778
|
var GRADIENT = [
|
|
@@ -1804,10 +1797,7 @@ function gradientColor(t) {
|
|
|
1804
1797
|
function Banner({ connectionState }) {
|
|
1805
1798
|
const isConnected = connectionState.status === "connected";
|
|
1806
1799
|
return /* @__PURE__ */ jsxs4(Box4, { flexDirection: "column", marginTop: 2, marginBottom: 1, children: [
|
|
1807
|
-
/* @__PURE__ */
|
|
1808
|
-
/* @__PURE__ */ jsx4(Box4, { flexDirection: "column", marginRight: 2, children: MASCOT.map((line, i) => /* @__PURE__ */ jsx4(Text4, { color: GRADIENT[i], bold: true, children: line }, i)) }),
|
|
1809
|
-
/* @__PURE__ */ jsx4(Box4, { flexDirection: "column", marginTop: 1, children: WORDMARK.map((line, li) => /* @__PURE__ */ jsx4(Box4, { children: [...line].map((ch, x) => /* @__PURE__ */ jsx4(Text4, { color: gradientColor(WORDMARK_WIDTH > 1 ? x / (WORDMARK_WIDTH - 1) : 0), bold: true, children: ch }, x)) }, li)) })
|
|
1810
|
-
] }),
|
|
1800
|
+
/* @__PURE__ */ jsx4(Box4, { flexDirection: "column", children: WORDMARK.map((line, li) => /* @__PURE__ */ jsx4(Box4, { children: [...line].map((ch, x) => /* @__PURE__ */ jsx4(Text4, { color: gradientColor(WORDMARK_WIDTH > 1 ? x / (WORDMARK_WIDTH - 1) : 0), bold: true, children: ch }, x)) }, li)) }),
|
|
1811
1801
|
/* @__PURE__ */ jsxs4(Box4, { flexDirection: "column", marginTop: 1, marginLeft: 1, children: [
|
|
1812
1802
|
/* @__PURE__ */ jsxs4(Text4, { dimColor: true, children: [
|
|
1813
1803
|
"v",
|