dbxlite-ui 0.3.4 → 0.3.5

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.
@@ -10047,7 +10047,20 @@ You may have exceeded your BigQuery quota or budget.`));
10047
10047
  if (i.status === 501 && i.headers.get("content-type")?.includes("application/json")) {
10048
10048
  const o = i.clone();
10049
10049
  try {
10050
- if ((await o.json())?.error === "cloud_proxy_unavailable") throw new vd("Cloud connector requires the dbxlite-cloud proxy. Use sql.dbxlite.com or self-host dbxlite-cloud.");
10050
+ if ((await o.json())?.error === "cloud_proxy_unavailable") throw new vd([
10051
+ "Snowflake and BigQuery need a CORS proxy that this npm build doesn't ship with.",
10052
+ "DuckDB and local files work fine here. To use cloud connectors, pick one:",
10053
+ "",
10054
+ "1. Hosted (no install): https://sql.dbxlite.com",
10055
+ "",
10056
+ "2. Run dev locally (Vite handles the proxy):",
10057
+ " git clone https://github.com/hfmsio/dbxlite",
10058
+ " cd dbxlite && pnpm install && pnpm dev",
10059
+ " # then open http://localhost:5174",
10060
+ "",
10061
+ "3. Self-host the proxy (dbxlite-cloud repo, Vercel Edge Functions)."
10062
+ ].join(`
10063
+ `));
10051
10064
  } catch (a) {
10052
10065
  if (a instanceof vd) throw a;
10053
10066
  }
@@ -25788,16 +25801,17 @@ Reconnect now?`) || (t.openConnectionEdit?.(), t.showToast?.(`Reconnect with rol
25788
25801
  }),
25789
25802
  t.status === "error" && s.jsxs("div", {
25790
25803
  style: {
25791
- padding: "8px 12px",
25804
+ padding: "10px 12px",
25792
25805
  margin: "4px 8px",
25793
25806
  fontSize: 11,
25794
- lineHeight: 1.5,
25807
+ lineHeight: 1.55,
25795
25808
  color: "var(--text-muted)",
25796
25809
  background: "rgba(245, 158, 11, 0.08)",
25797
25810
  border: "1px solid rgba(245, 158, 11, 0.25)",
25798
25811
  borderRadius: 4,
25799
- whiteSpace: "normal",
25800
- wordBreak: "break-word"
25812
+ whiteSpace: "pre-wrap",
25813
+ wordBreak: "break-word",
25814
+ fontFamily: "inherit"
25801
25815
  },
25802
25816
  children: [
25803
25817
  s.jsx("span", {
package/assets/index.html CHANGED
@@ -14,7 +14,7 @@
14
14
 
15
15
  <!-- Favicon - database icon in gradient rounded square -->
16
16
  <link rel="icon" type="image/svg+xml" href="./logo/favicon.svg">
17
- <script type="module" crossorigin src="./assets/main-DBSgQ0Bs.js"></script>
17
+ <script type="module" crossorigin src="./assets/main-_S84z-Oh.js"></script>
18
18
  <link rel="modulepreload" crossorigin href="./assets/oauth-constants-m7PlKcMR.js">
19
19
  <link rel="modulepreload" crossorigin href="./assets/react-vendor-B2Ij4Vfr.js">
20
20
  <link rel="modulepreload" crossorigin href="./assets/monaco-editor-CbzSR0rd.js">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dbxlite-ui",
3
- "version": "0.3.4",
3
+ "version": "0.3.5",
4
4
  "description": "Local UI for DuckDB - replaces duckdb -ui with dbxlite",
5
5
  "homepage": "https://github.com/hfmsio/dbxlite",
6
6
  "bugs": "https://github.com/hfmsio/dbxlite/issues",