@powerhousedao/connect 6.2.0-dev.20 → 6.2.0-dev.22

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.
@@ -1,6 +1,6 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="18522c4e-9e15-5c28-a2f3-357b2c3ec428")}catch(e){}}();
3
- import { n as getGitUrl, r as shortGitSha, t as getGitSha } from "./build-info-BY8gRSI9.js";
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="1e0022d9-c188-5f16-b152-c3ba8a6fa4b0")}catch(e){}}();
3
+ import { n as getGitUrl, r as shortGitSha, t as getGitSha } from "./build-info-uFXdftyf.js";
4
4
  import { r as connectConfig } from "./connect.config-Bt4pvvWV.js";
5
5
  import { t as serviceWorkerManager } from "./registerServiceWorker-D9l1kja7.js";
6
6
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -26,7 +26,7 @@ const DebugSettingsModal = () => {
26
26
  },
27
27
  contentProps: { className: "rounded-2xl" },
28
28
  children: /* @__PURE__ */ jsxs("div", {
29
- className: "w-[700px] rounded-2xl bg-gray-50 p-6 dark:bg-slate-800",
29
+ className: "w-[700px] rounded-2xl bg-background p-6",
30
30
  children: [
31
31
  /* @__PURE__ */ jsxs("div", {
32
32
  className: "mb-6 flex justify-between",
@@ -59,7 +59,7 @@ const DebugSettingsModal = () => {
59
59
  const url = getGitUrl();
60
60
  const label = shortGitSha(sha);
61
61
  return url ? /* @__PURE__ */ jsxs("a", {
62
- className: "ml-2 font-mono text-xs font-normal text-blue-600 hover:underline dark:text-blue-100",
62
+ className: "ml-2 font-mono text-xs font-normal text-info hover:underline",
63
63
  href: url,
64
64
  target: "_blank",
65
65
  rel: "noreferrer noopener",
@@ -70,7 +70,7 @@ const DebugSettingsModal = () => {
70
70
  ")"
71
71
  ]
72
72
  }) : /* @__PURE__ */ jsxs("span", {
73
- className: "ml-2 font-mono text-xs font-normal text-gray-500 dark:text-slate-400",
73
+ className: "ml-2 font-mono text-xs font-normal text-muted-foreground",
74
74
  title: sha,
75
75
  children: [
76
76
  "(",
@@ -134,7 +134,7 @@ const DebugSettingsModal = () => {
134
134
  className: "text-xs",
135
135
  children: "Set invalid app version:"
136
136
  }), /* @__PURE__ */ jsx(FormInput, {
137
- containerClassName: "p-1 bg-gray-50 border border-gray-200 rounded-md text-sm dark:border-slate-500 dark:bg-slate-600 dark:text-slate-100",
137
+ containerClassName: "rounded-md border border-border bg-background p-1 text-sm",
138
138
  inputClassName: "text-xs font-normal",
139
139
  id: "appVersion",
140
140
  icon: /* @__PURE__ */ jsx("div", {
@@ -168,5 +168,5 @@ const DebugSettingsModal = () => {
168
168
  //#endregion
169
169
  export { DebugSettingsModal };
170
170
 
171
- //# sourceMappingURL=DebugSettingsModal-CuTgd7TZ.js.map
172
- //# debugId=18522c4e-9e15-5c28-a2f3-357b2c3ec428
171
+ //# sourceMappingURL=DebugSettingsModal-yfSog5wf.js.map
172
+ //# debugId=1e0022d9-c188-5f16-b152-c3ba8a6fa4b0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DebugSettingsModal-yfSog5wf.js","sources":["../src/components/modal/modals/DebugSettingsModal.tsx"],"sourcesContent":["import { connectConfig } from \"@powerhousedao/connect/config\";\nimport {\n getGitSha,\n getGitUrl,\n serviceWorkerManager,\n shortGitSha,\n} from \"@powerhousedao/connect/utils\";\nimport { Icon, Modal, PowerhouseButton } from \"@powerhousedao/design-system\";\nimport { Combobox, FormInput } from \"@powerhousedao/design-system/connect\";\nimport { closePHModal, usePHModal } from \"@powerhousedao/reactor-browser\";\nimport { useEffect, useState } from \"react\";\n\nexport const DebugSettingsModal: React.FC = () => {\n const phModal = usePHModal();\n const open = phModal?.type === \"debugSettings\";\n\n const [appVersion, setAppVersion] = useState(connectConfig.appVersion);\n const [serviceWorkerDebugMode, setServiceWorkerDebugMode] = useState({\n label: serviceWorkerManager.debug ? \"Enabled\" : \"Disabled\",\n value: serviceWorkerManager.debug,\n });\n\n useEffect(() => {\n serviceWorkerManager.setDebug(serviceWorkerDebugMode.value);\n }, [serviceWorkerDebugMode]);\n\n return (\n <Modal\n open={open}\n onOpenChange={(status) => {\n if (!status) return closePHModal();\n }}\n contentProps={{\n className: \"rounded-2xl\",\n }}\n >\n <div className=\"w-[700px] rounded-2xl bg-background p-6\">\n <div className=\"mb-6 flex justify-between\">\n <div className=\"text-xl font-bold\">Debug Tools</div>\n <button id=\"close-modal\" onClick={() => closePHModal()}>\n <Icon name=\"Xmark\" size={28} />\n </button>\n </div>\n <div className=\"flex text-sm font-bold\">\n <Icon name=\"Ring\" size={22} />\n <span className=\"ml-2\">App Version: {connectConfig.appVersion}</span>\n {(() => {\n const sha = getGitSha();\n if (sha === \"unknown\") return null;\n const url = getGitUrl();\n const label = shortGitSha(sha);\n return url ? (\n <a\n className=\"ml-2 font-mono text-xs font-normal text-info hover:underline\"\n href={url}\n target=\"_blank\"\n rel=\"noreferrer noopener\"\n title={sha}\n >\n ({label})\n </a>\n ) : (\n <span\n className=\"ml-2 font-mono text-xs font-normal text-muted-foreground\"\n title={sha}\n >\n ({label})\n </span>\n );\n })()}\n </div>\n <div className=\"mt-4 flex text-sm font-bold\">\n <Icon name=\"Hdd\" size={22} />\n <span className=\"ml-2\">Drive Tools:</span>\n </div>\n\n <div className=\"mt-4 flex text-sm font-bold\">\n <Icon name=\"Gear\" size={22} />\n <span className=\"ml-2\">Service Worker Tools:</span>\n </div>\n <div className=\"mt-2 flex items-end justify-between pl-4\">\n <div className=\"w-[400px]\">\n <label htmlFor=\"serviceWorkerDebugMode\" className=\"text-xs\">\n Service Worker Debug Mode:\n </label>\n <Combobox\n id=\"serviceWorkerDebugMode\"\n onChange={(value) => {\n setServiceWorkerDebugMode(\n value as typeof serviceWorkerDebugMode,\n );\n }}\n value={serviceWorkerDebugMode}\n options={[\n { label: \"Enabled\", value: true },\n { label: \"Disabled\", value: false },\n ]}\n />\n </div>\n </div>\n <div className=\"mt-2 flex items-end justify-between pl-4\">\n <div className=\"w-[400px]\">\n <label htmlFor=\"appVersion\" className=\"text-xs\">\n Set invalid app version:\n </label>\n <FormInput\n containerClassName=\"rounded-md border border-border bg-background p-1 text-sm\"\n inputClassName=\"text-xs font-normal\"\n id=\"appVersion\"\n icon={\n <div className=\"flex h-full items-center text-xs\">Version:</div>\n }\n value={appVersion}\n onChange={(element) => setAppVersion(element.target.value)}\n />\n </div>\n <div className=\"mb-1 flex items-center justify-center\">\n <PowerhouseButton\n color={appVersion === \"\" ? \"light\" : \"red\"}\n size=\"small\"\n disabled={appVersion === \"\"}\n onClick={() => {\n // @ts-expect-error todo add send message method to service worker manager class\n serviceWorkerManager.sendMessage({\n type: \"SET_APP_VERSION\",\n version: appVersion,\n });\n setAppVersion(\"\");\n }}\n >\n Add Invalid App Version\n </PowerhouseButton>\n </div>\n </div>\n </div>\n </Modal>\n );\n};\n"],"names":[],"mappings":";;;;;;;;;;;AAYA,MAAa,2BAAqC;CAEhD,MAAM,OADU,YAAY,EACN,SAAS;CAE/B,MAAM,CAAC,YAAY,iBAAiB,SAAS,cAAc,WAAW;CACtE,MAAM,CAAC,wBAAwB,6BAA6B,SAAS;EACnE,OAAO,qBAAqB,QAAQ,YAAY;EAChD,OAAO,qBAAqB;EAC7B,CAAC;AAEF,iBAAgB;AACd,uBAAqB,SAAS,uBAAuB,MAAM;IAC1D,CAAC,uBAAuB,CAAC;AAE5B,QACE,oBAAC,OAAD;EACQ;EACN,eAAe,WAAW;AACxB,OAAI,CAAC,OAAQ,QAAO,cAAc;;EAEpC,cAAc,EACZ,WAAW,eACZ;YAED,qBAAC,O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AS,CACP;QAAE,OAAO;QAAW,OAAO;QAAM,EACjC;QAAE,OAAO;QAAY,OAAO;QAAO,CACpC;OACD,CAAA,CACE;;KACF,CAAA;IACN,qBAAC,OAAD;KAAK,WAAU;eAAf,CACE,qBAAC,OAAD;MAAK,WAAU;gBAAf,CACE,oBAAC,SAAD;OAAO,SAAQ;OAAa,WAAU;iBAAU;OAExC,CAAA,EACR,oBAAC,WAAD;OACE,oBAAmB;OACnB,gBAAe;OACf,IAAG;OACH,MACE,oBAAC,OAAD;QAAK,WAAU;kBAAmC;QAAc,CAAA;OAElE,OAAO;OACP,WAAW,YAAY,cAAc,QAAQ,OAAO,MAAM;OAC1D,CAAA,CACE;SACN,oBAAC,OAAD;MAAK,WAAU;gBACb,oBAAC,kBAAD;OACE,OAAO,eAAe,KAAK,UAAU;OACrC,MAAK;OACL,UAAU,eAAe;OACzB,eAAe;AAEb,6BAAqB,YAAY;SAC/B,MAAM;SACN,SAAS;SACV,CAAC;AACF,sBAAc,GAAG;;iBAEpB;OAEkB,CAAA;MACf,CAAA,CACF;;IACF;;EACA,CAAA","debug_id":"1e0022d9-c188-5f16-b152-c3ba8a6fa4b0"}
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="e3064b36-ace0-53ae-8c41-5dd42b5ef568")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="9c0b151a-51cc-5fce-acac-6c24bf72eeed")}catch(e){}}();
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  import "react";
5
5
  import { openRenown, usePHModal } from "@powerhousedao/reactor-browser";
@@ -22,7 +22,7 @@ const DriveAuthRequiredModal = () => {
22
22
  role: "dialog",
23
23
  "aria-modal": "false",
24
24
  "aria-label": "Log in to access this drive",
25
- className: "pointer-events-none fixed inset-0 z-50 grid place-items-center bg-gray-900/30 dark:bg-slate-900/70",
25
+ className: "pointer-events-none fixed inset-0 z-50 grid place-items-center bg-primary/30",
26
26
  children: /* @__PURE__ */ jsx(DriveAuthGate, {
27
27
  onLogin: () => openRenown(),
28
28
  className: "pointer-events-auto"
@@ -32,5 +32,5 @@ const DriveAuthRequiredModal = () => {
32
32
  //#endregion
33
33
  export { DriveAuthRequiredModal };
34
34
 
35
- //# sourceMappingURL=DriveAuthRequiredModal-D1TSn4Vh.js.map
36
- //# debugId=e3064b36-ace0-53ae-8c41-5dd42b5ef568
35
+ //# sourceMappingURL=DriveAuthRequiredModal-B3VdLwSH.js.map
36
+ //# debugId=9c0b151a-51cc-5fce-acac-6c24bf72eeed
@@ -1 +1 @@
1
- {"version":3,"file":"DriveAuthRequiredModal-D1TSn4Vh.js","sources":["../src/components/modal/modals/DriveAuthRequiredModal.tsx"],"sourcesContent":["import { DriveAuthGate } from \"@powerhousedao/design-system/connect\";\nimport { openRenown, usePHModal } from \"@powerhousedao/reactor-browser\";\nimport React from \"react\";\n\n/**\n * Shown when a protected drive can't be added because the user isn't logged in.\n *\n * Deliberately NOT a Radix modal dialog: a modal dialog blocks all outside\n * interaction, which would trap the cookie banner (rendered above at z-10000)\n * and prevent accepting/rejecting it. Instead this is a non-blocking overlay —\n * `pointer-events-none` on the backdrop (so the banner and page stay clickable)\n * with `pointer-events-auto` on the card — sitting below the cookie banner. The\n * card itself is the shared {@link DriveAuthGate}, identical to the full-page\n * gate. It stays up until login (the Renown CTA full-page-redirects).\n */\nexport const DriveAuthRequiredModal: React.FC = () => {\n const phModal = usePHModal();\n if (phModal?.type !== \"driveAuthRequired\") return null;\n\n return (\n <div\n role=\"dialog\"\n aria-modal=\"false\"\n aria-label=\"Log in to access this drive\"\n className=\"pointer-events-none fixed inset-0 z-50 grid place-items-center bg-gray-900/30 dark:bg-slate-900/70\"\n >\n <DriveAuthGate\n onLogin={() => openRenown()}\n className=\"pointer-events-auto\"\n />\n </div>\n );\n};\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAeA,MAAa,+BAAyC;AAEpD,KADgB,YAAY,EACf,SAAS,oBAAqB,QAAO;AAElD,QACE,oBAAC,OAAD;EACE,MAAK;EACL,cAAW;EACX,cAAW;EACX,WAAU;YAEV,oBAAC,eAAD;GACE,eAAe,YAAY;GAC3B,WAAU;GACV,CAAA;EACE,CAAA","debug_id":"e3064b36-ace0-53ae-8c41-5dd42b5ef568"}
1
+ {"version":3,"file":"DriveAuthRequiredModal-B3VdLwSH.js","sources":["../src/components/modal/modals/DriveAuthRequiredModal.tsx"],"sourcesContent":["import { DriveAuthGate } from \"@powerhousedao/design-system/connect\";\nimport { openRenown, usePHModal } from \"@powerhousedao/reactor-browser\";\nimport React from \"react\";\n\n/**\n * Shown when a protected drive can't be added because the user isn't logged in.\n *\n * Deliberately NOT a Radix modal dialog: a modal dialog blocks all outside\n * interaction, which would trap the cookie banner (rendered above at z-10000)\n * and prevent accepting/rejecting it. Instead this is a non-blocking overlay —\n * `pointer-events-none` on the backdrop (so the banner and page stay clickable)\n * with `pointer-events-auto` on the card — sitting below the cookie banner. The\n * card itself is the shared {@link DriveAuthGate}, identical to the full-page\n * gate. It stays up until login (the Renown CTA full-page-redirects).\n */\nexport const DriveAuthRequiredModal: React.FC = () => {\n const phModal = usePHModal();\n if (phModal?.type !== \"driveAuthRequired\") return null;\n\n return (\n <div\n role=\"dialog\"\n aria-modal=\"false\"\n aria-label=\"Log in to access this drive\"\n className=\"pointer-events-none fixed inset-0 z-50 grid place-items-center bg-primary/30\"\n >\n <DriveAuthGate\n onLogin={() => openRenown()}\n className=\"pointer-events-auto\"\n />\n </div>\n );\n};\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAeA,MAAa,+BAAyC;AAEpD,KADgB,YAAY,EACf,SAAS,oBAAqB,QAAO;AAElD,QACE,oBAAC,OAAD;EACE,MAAK;EACL,cAAW;EACX,cAAW;EACX,WAAU;YAEV,oBAAC,eAAD;GACE,eAAe,YAAY;GAC3B,WAAU;GACV,CAAA;EACE,CAAA","debug_id":"9c0b151a-51cc-5fce-acac-6c24bf72eeed"}
@@ -1,7 +1,7 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="a3905706-a5ad-5d02-b8d8-6a5f6fa7b5b9")}catch(e){}}();
3
- import { t as package_default } from "./package-DgJJtNq6.js";
4
- import { n as getGitUrl, r as shortGitSha, t as getGitSha } from "./build-info-BY8gRSI9.js";
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="3a0bb582-1e80-59fb-a102-763bfc238f47")}catch(e){}}();
3
+ import { t as package_default } from "./package-_1Cy5hgq.js";
4
+ import { n as getGitUrl, r as shortGitSha, t as getGitSha } from "./build-info-uFXdftyf.js";
5
5
  import { r as connectConfig } from "./connect.config-Bt4pvvWV.js";
6
6
  import { n as toast } from "./toast-BEy42aYx.js";
7
7
  import { t as useRegistryPackages } from "./useRegistryPackages-B-gFECmd.js";
@@ -26,18 +26,18 @@ const About$1 = () => {
26
26
  /* @__PURE__ */ jsx(AppGitHash, {}),
27
27
  /* @__PURE__ */ jsx(ConnectedDrives, {}),
28
28
  /* @__PURE__ */ jsxs("div", {
29
- className: "bg-gray-50 p-3 dark:bg-slate-800",
29
+ className: "bg-background p-3",
30
30
  children: [
31
31
  /* @__PURE__ */ jsx("h2", {
32
- className: "mb-2 font-semibold text-gray-700 dark:text-slate-200",
32
+ className: "mb-2 font-semibold text-foreground",
33
33
  children: "Inspector"
34
34
  }),
35
35
  /* @__PURE__ */ jsx("p", {
36
- className: "mb-3 text-sm font-normal text-gray-700 dark:text-slate-200",
36
+ className: "mb-3 text-sm font-normal text-foreground",
37
37
  children: "Explore the local database and sync state for debugging."
38
38
  }),
39
39
  /* @__PURE__ */ jsxs("button", {
40
- className: "flex items-center gap-x-2 rounded-md border border-gray-300 bg-transparent px-3 py-1 text-sm font-medium text-gray-900 transition-colors hover:bg-gray-100 dark:border-slate-500 dark:bg-slate-600 dark:text-slate-100 dark:hover:bg-slate-700",
40
+ className: "flex items-center gap-x-2 rounded-md border border-border bg-transparent px-3 py-1 text-sm font-medium text-foreground transition-colors hover:hover-effect",
41
41
  onClick: onOpenInspector,
42
42
  type: "button",
43
43
  children: ["Open Inspector ", /* @__PURE__ */ jsx(Icon, {
@@ -55,7 +55,7 @@ function AppGitHash() {
55
55
  const url = getGitUrl();
56
56
  const label = shortGitSha(sha);
57
57
  return /* @__PURE__ */ jsxs("div", {
58
- className: "bg-gray-50 p-3 text-sm dark:bg-slate-800",
58
+ className: "bg-background p-3 text-sm",
59
59
  children: [/* @__PURE__ */ jsx("span", {
60
60
  className: "font-semibold",
61
61
  children: "Git hash: "
@@ -78,12 +78,12 @@ function ConnectedDrives() {
78
78
  const remotes = useSyncList();
79
79
  const remoteDrives = useMemo(() => drives.filter((d) => remotes.some((r) => r.collectionId.equals(DriveCollectionId.forDrive(d.header.id)))), [drives, remotes]);
80
80
  return /* @__PURE__ */ jsxs("div", {
81
- className: "my-4 bg-gray-50 p-3 dark:bg-slate-800",
81
+ className: "my-4 bg-background p-3",
82
82
  children: [/* @__PURE__ */ jsx("h2", {
83
- className: "mb-2 font-semibold text-gray-700 dark:text-slate-200",
83
+ className: "mb-2 font-semibold text-foreground",
84
84
  children: "Connected drives"
85
85
  }), remoteDrives.length === 0 ? /* @__PURE__ */ jsx("p", {
86
- className: "text-sm font-normal text-gray-700 dark:text-slate-200",
86
+ className: "text-sm font-normal text-foreground",
87
87
  children: "No connected remote drives."
88
88
  }) : /* @__PURE__ */ jsx("ul", {
89
89
  className: "flex flex-col gap-3",
@@ -94,7 +94,7 @@ function ConnectedDrives() {
94
94
  function DriveAboutEntry({ drive }) {
95
95
  const info = useDriveSystemInfo(drive);
96
96
  return /* @__PURE__ */ jsxs("li", {
97
- className: "text-sm text-gray-700 dark:text-slate-200",
97
+ className: "text-sm text-foreground",
98
98
  children: [
99
99
  /* @__PURE__ */ jsxs("div", {
100
100
  className: "flex items-baseline gap-2",
@@ -102,20 +102,20 @@ function DriveAboutEntry({ drive }) {
102
102
  className: "font-medium",
103
103
  children: drive.state.global.name || drive.header.name
104
104
  }), info.status === "ready" && /* @__PURE__ */ jsx("span", {
105
- className: "text-xs text-gray-500 dark:text-slate-400",
105
+ className: "text-xs text-muted-foreground",
106
106
  children: info.host
107
107
  })]
108
108
  }),
109
109
  info.status === "loading" && /* @__PURE__ */ jsx("div", {
110
- className: "mt-1 text-xs text-gray-400 dark:text-slate-500",
110
+ className: "mt-1 text-xs text-muted-foreground",
111
111
  children: "Loading…"
112
112
  }),
113
113
  info.status === "error" && /* @__PURE__ */ jsx("div", {
114
- className: "mt-1 text-xs text-red-600 dark:text-red-100",
114
+ className: "mt-1 text-xs text-destructive",
115
115
  children: "Could not load system info"
116
116
  }),
117
117
  info.status === "ready" && /* @__PURE__ */ jsxs("div", {
118
- className: "mt-1 text-xs text-gray-700 dark:text-slate-200",
118
+ className: "mt-1 text-xs text-foreground",
119
119
  children: [/* @__PURE__ */ jsxs("div", { children: [
120
120
  /* @__PURE__ */ jsx("span", {
121
121
  className: "font-medium",
@@ -140,7 +140,7 @@ function DriveAboutEntry({ drive }) {
140
140
  })] })]
141
141
  }),
142
142
  info.status === "local" && /* @__PURE__ */ jsx("div", {
143
- className: "mt-1 text-xs text-gray-400 dark:text-slate-500",
143
+ className: "mt-1 text-xs text-muted-foreground",
144
144
  children: "Local drive — N/A"
145
145
  })
146
146
  ]
@@ -257,10 +257,10 @@ const SettingsModal = () => {
257
257
  id: "danger-zone",
258
258
  icon: /* @__PURE__ */ jsx(TriangleAlert, {
259
259
  ...iconProps,
260
- className: "text-red-900 dark:text-red-400"
260
+ className: "text-destructive"
261
261
  }),
262
262
  label: /* @__PURE__ */ jsx("span", {
263
- className: "text-red-900 dark:text-red-400",
263
+ className: "text-destructive",
264
264
  children: "Danger Zone"
265
265
  }),
266
266
  content: () => /* @__PURE__ */ jsx(DangerZone$1, {})
@@ -285,5 +285,5 @@ const SettingsModal = () => {
285
285
  //#endregion
286
286
  export { SettingsModal };
287
287
 
288
- //# sourceMappingURL=SettingsModal-D0F9IxhO.js.map
289
- //# debugId=a3905706-a5ad-5d02-b8d8-6a5f6fa7b5b9
288
+ //# sourceMappingURL=SettingsModal-Ci24CQUC.js.map
289
+ //# debugId=3a0bb582-1e80-59fb-a102-763bfc238f47
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SettingsModal-Ci24CQUC.js","sources":["../src/components/modal/modals/settings/about.tsx","../src/components/modal/modals/settings/danger-zone.tsx","../src/components/modal/modals/settings/default-editor.tsx","../src/components/modal/modals/settings/package-manager.tsx","../src/components/modal/modals/SettingsModal.tsx"],"sourcesContent":["import { connectConfig } from \"@powerhousedao/connect/config\";\nimport {\n getGitSha,\n getGitUrl,\n packageJson,\n shortGitSha,\n} from \"@powerhousedao/connect/utils\";\nimport { Icon } from \"@powerhousedao/design-system\";\nimport { About as BaseAbout } from \"@powerhousedao/design-system/connect\";\nimport {\n closePHModal,\n DriveCollectionId,\n showPHModal,\n useDrives,\n useDriveSystemInfo,\n useSyncList,\n} from \"@powerhousedao/reactor-browser\";\nimport type { DocumentDriveDocument } from \"@powerhousedao/shared/document-drive\";\nimport { useMemo } from \"react\";\n\nexport const About: React.FC = () => {\n const onOpenInspector = () => {\n closePHModal();\n showPHModal({ type: \"inspector\" });\n };\n\n return (\n <div>\n <BaseAbout\n packageJson={packageJson}\n phCliVersion={\n typeof connectConfig.phCliVersion === \"string\"\n ? connectConfig.phCliVersion\n : undefined\n }\n />\n <AppGitHash />\n <ConnectedDrives />\n <div className=\"bg-background p-3\">\n <h2 className=\"mb-2 font-semibold text-foreground\">Inspector</h2>\n <p className=\"mb-3 text-sm font-normal text-foreground\">\n Explore the local database and sync state for debugging.\n </p>\n <button\n className=\"flex items-center gap-x-2 rounded-md border border-border bg-transparent px-3 py-1 text-sm font-medium text-foreground transition-colors hover:hover-effect\"\n onClick={onOpenInspector}\n type=\"button\"\n >\n Open Inspector <Icon name=\"CircleInfo\" size={16} />\n </button>\n </div>\n </div>\n );\n};\n\nfunction AppGitHash() {\n const sha = getGitSha();\n if (sha === \"unknown\") return null;\n const url = getGitUrl();\n const label = shortGitSha(sha);\n return (\n <div className=\"bg-background p-3 text-sm\">\n <span className=\"font-semibold\">Git hash: </span>\n {url ? (\n <a\n className=\"font-mono underline\"\n href={url}\n target=\"_blank\"\n rel=\"noreferrer noopener\"\n title={sha}\n >\n {label}\n </a>\n ) : (\n <span className=\"font-mono\" title={sha}>\n {label}\n </span>\n )}\n </div>\n );\n}\n\nfunction ConnectedDrives() {\n const drives = useDrives() ?? [];\n const remotes = useSyncList();\n\n const remoteDrives = useMemo(\n () =>\n drives.filter((d) =>\n remotes.some((r) =>\n r.collectionId.equals(DriveCollectionId.forDrive(d.header.id)),\n ),\n ),\n [drives, remotes],\n );\n\n return (\n <div className=\"my-4 bg-background p-3\">\n <h2 className=\"mb-2 font-semibold text-foreground\">Connected drives</h2>\n {remoteDrives.length === 0 ? (\n <p className=\"text-sm font-normal text-foreground\">\n No connected remote drives.\n </p>\n ) : (\n <ul className=\"flex flex-col gap-3\">\n {remoteDrives.map((drive) => (\n <DriveAboutEntry key={drive.header.id} drive={drive} />\n ))}\n </ul>\n )}\n </div>\n );\n}\n\nfunction DriveAboutEntry({ drive }: { drive: DocumentDriveDocument }) {\n const info = useDriveSystemInfo(drive);\n const name = drive.state.global.name || drive.header.name;\n\n return (\n <li className=\"text-sm text-foreground\">\n <div className=\"flex items-baseline gap-2\">\n <span className=\"font-medium\">{name}</span>\n {info.status === \"ready\" && (\n <span className=\"text-xs text-muted-foreground\">{info.host}</span>\n )}\n </div>\n {info.status === \"loading\" && (\n <div className=\"mt-1 text-xs text-muted-foreground\">Loading…</div>\n )}\n {info.status === \"error\" && (\n <div className=\"mt-1 text-xs text-destructive\">\n Could not load system info\n </div>\n )}\n {info.status === \"ready\" && (\n <div className=\"mt-1 text-xs text-foreground\">\n <div>\n <span className=\"font-medium\">Version:</span> {info.version}\n </div>\n <div>\n <span className=\"font-medium\">Git hash: </span>\n {info.gitUrl ? (\n <a\n className=\"font-mono hover:underline\"\n href={info.gitUrl}\n target=\"_blank\"\n rel=\"noreferrer noopener\"\n title={info.gitHash}\n >\n {shortGitSha(info.gitHash)}\n </a>\n ) : (\n <span className=\"font-mono\" title={info.gitHash}>\n {shortGitSha(info.gitHash)}\n </span>\n )}\n </div>\n </div>\n )}\n {info.status === \"local\" && (\n <div className=\"mt-1 text-xs text-muted-foreground\">\n Local drive — N/A\n </div>\n )}\n </li>\n );\n}\n","import { DangerZone as BaseDangerZone } from \"@powerhousedao/design-system/connect\";\nimport {\n deleteDrive,\n setSelectedDrive,\n showPHModal,\n useDrives,\n} from \"@powerhousedao/reactor-browser\";\nimport type { DocumentDriveDocument } from \"@powerhousedao/shared/document-drive\";\n\nexport const DangerZone: React.FC = () => {\n const drives = useDrives();\n\n const handleDeleteDrive = async (drive: DocumentDriveDocument) => {\n await deleteDrive(drive.header.id);\n setSelectedDrive(undefined);\n };\n\n const handleClearStorage = () => {\n showPHModal({ type: \"clearStorage\" });\n };\n\n return (\n <BaseDangerZone\n drives={drives ?? []}\n onDeleteDrive={(drive) => {\n void handleDeleteDrive(drive);\n }}\n onClearStorage={handleClearStorage}\n />\n );\n};\n","import { DefaultEditor as BaseDefaultEditor } from \"@powerhousedao/design-system/connect\";\nimport { useCallback, useState } from \"react\";\n\nconst documentModelEditorOptions = [\n { label: \"V1\", value: \"document-model-editor\" },\n { label: \"V2\", value: \"document-model-editor-v2\" },\n] as const;\n\nexport const DefaultEditor: React.FC = () => {\n const [documentModelEditor, setDocumentModelEditor] = useState<\n (typeof documentModelEditorOptions)[number]\n >(documentModelEditorOptions[1]);\n\n const handleSetDocumentEditor = useCallback((value: string) => {\n const option = documentModelEditorOptions.find((dm) => dm.value == value);\n if (option) {\n setDocumentModelEditor(option);\n }\n }, []);\n\n return (\n <BaseDefaultEditor\n documentModelEditor={documentModelEditor.value}\n setDocumentModelEditor={handleSetDocumentEditor}\n documentModelEditorOptions={\n documentModelEditorOptions as unknown as {\n value: string;\n label: string;\n }[]\n }\n />\n );\n};\n","import { useRegistryPackages } from \"@powerhousedao/connect/hooks\";\nimport { toast } from \"@powerhousedao/connect/services\";\nimport { PackageManager } from \"@powerhousedao/design-system/connect\";\nimport { useVetraPackageManager } from \"@powerhousedao/reactor-browser\";\nimport React from \"react\";\n\n/**\n * Split a `name@tag` spec into its bare package name. Mirrors the design-system's\n * `parsePackageSpec` — duplicated here to avoid reaching into a deep subpath\n * export. Scoped names split on the LAST `@`, unscoped on the first.\n */\nfunction parseBareName(spec: string): string {\n const trimmed = spec.trim();\n const at = trimmed.startsWith(\"@\")\n ? trimmed.lastIndexOf(\"@\")\n : trimmed.indexOf(\"@\");\n return at > 0 ? trimmed.slice(0, at) : trimmed;\n}\n\nexport const ConnectPackageManager: React.FC = () => {\n const packageManager = useVetraPackageManager();\n const {\n registryPackageList,\n updateRegistryPackageStatus,\n registerFallbackRegistryPackage,\n } = useRegistryPackages();\n\n async function handleInstall(packageSpec: string) {\n if (!packageManager) return;\n\n // The spec may include an explicit `@tag` / `@version` suffix from the\n // search input. Pass it through to the package manager as-is (the CDN\n // route already handles `name@tag` specs), but track status under the\n // bare name so the Settings list doesn't fragment.\n const bareName = parseBareName(packageSpec);\n // Packages that were in `/packages` when the user clicked Install go\n // through `updateRegistryPackageStatus` and hit an existing entry.\n // Packages that landed via the npm-uplink fallback weren't in the list,\n // so we register them explicitly rather than silently upserting a\n // placeholder — keeping the \"does not exist\" error as a signal for any\n // other code path that reaches update without a matching entry.\n const wasKnownToRegistry = registryPackageList.some(\n (p) => p.name === bareName,\n );\n const result = await packageManager.addPackage(packageSpec);\n if (result.type === \"success\") {\n if (wasKnownToRegistry) {\n updateRegistryPackageStatus(bareName, \"registry-install\");\n } else {\n registerFallbackRegistryPackage(\n bareName,\n result.package,\n packageManager.getPackageVersion(bareName) ??\n packageManager.getPackageVersion(packageSpec),\n \"registry-install\",\n );\n }\n toast(`Package \"${packageSpec}\" installed successfully`, {\n type: \"connect-success\",\n });\n } else {\n const message = result.error.message;\n // `BrowserPackageManager` raises a generic \"Failed to fetch dynamically\n // imported module\" when the registry CDN returns an error. That covers\n // both \"the name exists nowhere (not on this registry AND not on the\n // npmjs uplink)\" and \"the tarball is there but doesn't look like a\n // Powerhouse package\". Tell the user in plain terms before dumping the\n // raw error so the \"install from npm\" fallback case is self-explanatory.\n const isLikelyNotFound = /failed to fetch|404|not found/i.test(message);\n const userMessage = isLikelyNotFound\n ? `Could not install \"${packageSpec}\". The package isn't available on this registry, and the npmjs.org fallback could not resolve it either.`\n : `Failed to install \"${packageSpec}\": ${message}`;\n toast(userMessage, { type: \"error\" });\n }\n }\n\n function handleUninstall(packageName: string) {\n if (!packageManager) return;\n try {\n packageManager.removePackage(packageName);\n updateRegistryPackageStatus(packageName, \"available\");\n\n toast(`Package \"${packageName}\" uninstalled successfully`, {\n type: \"connect-success\",\n });\n } catch (error) {\n const message = error instanceof Error ? error.message : \"Unknown error\";\n toast(`Failed to uninstall \"${packageName}\": ${message}`, {\n type: \"error\",\n });\n }\n }\n\n return (\n <div className=\"flex h-full flex-1 flex-col\">\n <PackageManager\n mutable={true}\n registryPackageList={registryPackageList}\n onInstall={handleInstall}\n onUninstall={handleUninstall}\n />\n </div>\n );\n};\n","import {\n SettingsModal as SettingsModalV2,\n ThemeSwitch,\n} from \"@powerhousedao/design-system/connect\";\nimport { closePHModal, usePHModal } from \"@powerhousedao/reactor-browser\";\nimport { t } from \"i18next\";\nimport { CircleHelp, Package, PenLine, TriangleAlert } from \"lucide-react\";\nimport React, { useMemo } from \"react\";\nimport { About } from \"./settings/about.js\";\nimport { DangerZone } from \"./settings/danger-zone.js\";\nimport { DefaultEditor } from \"./settings/default-editor.js\";\nimport { ConnectPackageManager } from \"./settings/package-manager.js\";\n\nconst iconProps = { size: 16 } as const;\n\nexport const SettingsModal: React.FC = () => {\n const phModal = usePHModal();\n const open = phModal?.type === \"settings\";\n\n const tabs = useMemo(\n () => [\n {\n id: \"package-manager\",\n icon: <Package {...iconProps} />,\n label: \"Package Manager\",\n content: ConnectPackageManager,\n },\n {\n id: \"default-editors\",\n icon: <PenLine {...iconProps} />,\n label: \"Default Editors\",\n content: DefaultEditor,\n },\n {\n id: \"danger-zone\",\n icon: <TriangleAlert {...iconProps} className=\"text-destructive\" />,\n label: <span className=\"text-destructive\">Danger Zone</span>,\n content: () => <DangerZone />,\n },\n {\n id: \"about\",\n icon: <CircleHelp {...iconProps} />,\n label: \"About\",\n content: About,\n },\n ],\n [],\n );\n\n return (\n <SettingsModalV2\n open={open}\n title={t(\"modals.connectSettings.title\")}\n onOpenChange={(status: boolean) => {\n if (!status) return closePHModal();\n }}\n tabs={tabs}\n navFooter={<ThemeSwitch horizontal />}\n />\n );\n};\n"],"names":["About","BaseAbout","packageJson","DangerZone","BaseDangerZone","DefaultEditor","BaseDefaultEditor","DefaultEditor","DangerZone","About","SettingsModalV2"],"mappings":";;;;;;;;;;;;;;;AAoBA,MAAaA,gBAAwB;CACnC,MAAM,wBAAwB;AAC5B,gBAAc;AACd,cAAY,EAAE,MAAM,aAAa,CAAC;;AAGpC,QACE,qBAAC,OAAD,EAAA,UAAA;EACE,oBAACC,OAAD;GACE,aAAaC;GACb,cACE,OAAO,cAAc,iBAAiB,WAClC,cAAc,eACd,KAAA;GAEN,CAAA;EACF,oBAAC,YAAD,E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AAE,+BAA+B;EACxC,eAAe,WAAoB;AACjC,OAAI,CAAC,OAAQ,QAAO,cAAc;;EAE9B;EACN,WAAW,oBAAC,aAAD,EAAa,YAAA,MAAa,CAAA;EACrC,CAAA","debug_id":"3a0bb582-1e80-59fb-a102-763bfc238f47"}
@@ -0,0 +1,4 @@
1
+ import { t as AppLoader } from "./app-loader-rcjfxeRU.js";
2
+ export { AppLoader };
3
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="a5dd8f39-ad0b-53c9-bfa3-d5cdeffd45b5")}catch(e){}}();
4
+ //# debugId=a5dd8f39-ad0b-53c9-bfa3-d5cdeffd45b5
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="c34eb760-d346-531b-97a0-4aefcfacd4e8")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="eea76098-2115-5090-81fa-d2056b005ddb")}catch(e){}}();
3
3
  import { n as getRuntimeConfig } from "./runtime-config-DL3QjcfM.js";
4
4
  import { n as i18n } from "./reload-connect-toast-CwvSc6F-.js";
5
5
  import { a as defaultPHDocumentEditorConfig, i as defaultPHAppConfig, r as connectConfig } from "./connect.config-Bt4pvvWV.js";
@@ -743,12 +743,12 @@ const MigrationOverlay = () => {
743
743
  return /* @__PURE__ */ jsx("div", {
744
744
  className: "absolute inset-0 z-20 flex items-center justify-center",
745
745
  children: /* @__PURE__ */ jsxs("div", {
746
- className: "rounded-lg bg-white/90 px-6 py-4 text-sm text-gray-900 shadow-lg dark:bg-slate-900/90 dark:text-slate-50",
746
+ className: "rounded-lg bg-card/90 px-6 py-4 text-sm text-foreground shadow-lg",
747
747
  children: [/* @__PURE__ */ jsx("div", {
748
748
  className: "font-medium",
749
749
  children: "Upgrading local database…"
750
750
  }), /* @__PURE__ */ jsx("div", {
751
- className: "text-gray-700 dark:text-slate-200",
751
+ className: "text-foreground",
752
752
  children: PHASE_LABEL[status.phase]
753
753
  })]
754
754
  })
@@ -780,7 +780,7 @@ const AppSkeleton = (props) => {
780
780
  const isSSR = typeof window === "undefined";
781
781
  const isHomeScreen = !isSSR && window.location.pathname === getBasePath();
782
782
  return /* @__PURE__ */ jsxs("div", {
783
- className: "flex h-screen overflow-hidden bg-gray-50 dark:bg-slate-700",
783
+ className: "flex h-screen overflow-hidden bg-background",
784
784
  children: [
785
785
  !(!isSSR && getIsEmbedded()) && /* @__PURE__ */ jsx(ConnectSidebar, {
786
786
  className: "animate-pulse",
@@ -790,7 +790,7 @@ const AppSkeleton = (props) => {
790
790
  address: void 0
791
791
  }),
792
792
  /* @__PURE__ */ jsx(HomeScreen, {
793
- containerClassName: isSSR || !isHomeScreen ? "hidden home-screen" : void 0,
793
+ containerClassName: isSSR || !isHomeScreen ? "home-screen hidden" : void 0,
794
794
  children: props.children ?? null
795
795
  }),
796
796
  isSSR ? /* @__PURE__ */ jsx("script", { dangerouslySetInnerHTML: { __html: `
@@ -835,7 +835,7 @@ function DetailedFallback({ error, resetErrorBoundary }) {
835
835
  return /* @__PURE__ */ jsx("div", {
836
836
  className: "z-10 mx-auto flex max-w-[80%] flex-1 items-center justify-center p-6",
837
837
  children: /* @__PURE__ */ jsxs("div", {
838
- className: "w-full max-w-lg rounded-lg border border-gray-500 bg-gray-50 p-6 shadow-sm dark:border-slate-400 dark:bg-slate-800",
838
+ className: "w-full max-w-lg rounded-lg border border-border bg-background p-6 shadow-sm",
839
839
  children: [
840
840
  /* @__PURE__ */ jsxs("div", {
841
841
  className: "mb-3 flex items-center gap-2",
@@ -848,16 +848,16 @@ function DetailedFallback({ error, resetErrorBoundary }) {
848
848
  })]
849
849
  }),
850
850
  /* @__PURE__ */ jsx("p", {
851
- className: "mb-4 text-sm text-gray-700 dark:text-slate-200",
851
+ className: "mb-4 text-sm text-foreground",
852
852
  children: errorMessage
853
853
  }),
854
854
  errorDetails !== "{}" && /* @__PURE__ */ jsxs("details", {
855
855
  className: "group",
856
856
  children: [/* @__PURE__ */ jsx("summary", {
857
- className: "cursor-pointer text-sm font-medium text-gray-700 underline select-none hover:text-gray-700 dark:text-slate-200 dark:hover:text-slate-200",
857
+ className: "cursor-pointer text-sm font-medium text-foreground underline select-none hover:hover-effect",
858
858
  children: "Show details"
859
859
  }), /* @__PURE__ */ jsx("pre", {
860
- className: "mt-2 max-h-48 overflow-auto rounded-sm bg-gray-100 p-3 text-xs dark:bg-slate-700",
860
+ className: "mt-2 max-h-48 overflow-auto rounded-sm bg-muted p-3 text-xs",
861
861
  children: errorDetails
862
862
  })]
863
863
  }),
@@ -1219,11 +1219,11 @@ function MissingModelBanner() {
1219
1219
  const [open, setOpen] = useState(false);
1220
1220
  if (failed.length === 0) return null;
1221
1221
  return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsxs("div", {
1222
- className: "flex items-center justify-between gap-3 bg-amber-100 px-4 py-2 text-sm text-amber-900 dark:bg-amber-800 dark:text-amber-100",
1222
+ className: "flex items-center justify-between gap-3 bg-warning/10 px-4 py-2 text-sm text-warning",
1223
1223
  children: [/* @__PURE__ */ jsx("span", { children: failed.length === 1 ? "1 document type couldn't load (missing model)." : `${failed.length} document types couldn't load (missing models).` }), /* @__PURE__ */ jsx("button", {
1224
1224
  type: "button",
1225
1225
  onClick: () => setOpen(true),
1226
- className: "rounded-md border border-amber-300 bg-gray-50 px-3 py-1 text-amber-900 hover:bg-amber-50 dark:border-amber-600 dark:bg-slate-800 dark:text-amber-100 dark:hover:bg-amber-900",
1226
+ className: "rounded-md border border-warning bg-background px-3 py-1 text-warning hover:hover-effect",
1227
1227
  children: "View"
1228
1228
  })]
1229
1229
  }), /* @__PURE__ */ jsx(MissingModelDetailsModal, {
@@ -1256,18 +1256,18 @@ function MissingModelDetailsModal(props) {
1256
1256
  },
1257
1257
  contentProps: { className: "rounded-3xl" },
1258
1258
  children: /* @__PURE__ */ jsxs("div", {
1259
- className: "w-[520px] max-w-[90vw] bg-gray-50 p-6 dark:bg-slate-800",
1259
+ className: "w-[520px] max-w-[90vw] bg-background p-6",
1260
1260
  children: [
1261
1261
  /* @__PURE__ */ jsx("div", {
1262
- className: "border-b border-gray-100 pb-2 text-2xl font-bold text-gray-900 dark:border-slate-500 dark:bg-slate-600 dark:text-slate-100",
1262
+ className: "border-b border-border pb-2 text-2xl font-bold text-foreground",
1263
1263
  children: "Missing document models"
1264
1264
  }),
1265
1265
  /* @__PURE__ */ jsx("div", {
1266
- className: "my-4 text-sm text-gray-700 dark:text-slate-200",
1266
+ className: "my-4 text-sm text-foreground",
1267
1267
  children: "The following document types couldn't be loaded. Documents using them won't display until the underlying package is installed."
1268
1268
  }),
1269
1269
  failed.length === 0 ? /* @__PURE__ */ jsx("div", {
1270
- className: "rounded-xl bg-gray-50 p-4 text-sm text-gray-700 dark:bg-slate-800 dark:text-slate-200",
1270
+ className: "rounded-xl bg-background p-4 text-sm text-foreground",
1271
1271
  children: "No outstanding failures."
1272
1272
  }) : /* @__PURE__ */ jsx("div", {
1273
1273
  className: "flex max-h-[60vh] flex-col gap-3 overflow-y-auto",
@@ -1275,18 +1275,18 @@ function MissingModelDetailsModal(props) {
1275
1275
  const isRetrying = retrying.has(entry.documentType);
1276
1276
  const retryDisabled = !canRetry(entry.reason) || isRetrying;
1277
1277
  return /* @__PURE__ */ jsxs("div", {
1278
- className: "rounded-xl bg-gray-50 p-4 dark:bg-slate-800",
1278
+ className: "rounded-xl bg-background p-4",
1279
1279
  children: [
1280
1280
  /* @__PURE__ */ jsx("div", {
1281
- className: "mb-1 font-mono text-sm font-semibold text-gray-900 dark:text-slate-100",
1281
+ className: "mb-1 font-mono text-sm font-semibold text-foreground",
1282
1282
  children: entry.documentType
1283
1283
  }),
1284
1284
  /* @__PURE__ */ jsx("div", {
1285
- className: "mb-2 text-xs text-gray-700 dark:text-slate-200",
1285
+ className: "mb-2 text-xs text-foreground",
1286
1286
  children: reasonLabels[entry.reason]
1287
1287
  }),
1288
1288
  entry.packageNames.length > 0 ? /* @__PURE__ */ jsxs("div", {
1289
- className: "mb-2 text-xs text-gray-500 dark:text-slate-400",
1289
+ className: "mb-2 text-xs text-muted-foreground",
1290
1290
  children: [
1291
1291
  "Package",
1292
1292
  entry.packageNames.length > 1 ? "s" : "",
@@ -1296,7 +1296,7 @@ function MissingModelDetailsModal(props) {
1296
1296
  ]
1297
1297
  }) : null,
1298
1298
  entry.error ? /* @__PURE__ */ jsx("div", {
1299
- className: "mb-2 font-mono text-xs wrap-break-word text-red-700 dark:text-red-100",
1299
+ className: "mb-2 font-mono text-xs wrap-break-word text-destructive",
1300
1300
  children: entry.error.message
1301
1301
  }) : null,
1302
1302
  /* @__PURE__ */ jsx("div", {
@@ -1306,7 +1306,7 @@ function MissingModelDetailsModal(props) {
1306
1306
  onClick: () => void handleRetry(entry.documentType),
1307
1307
  disabled: retryDisabled,
1308
1308
  title: canRetry(entry.reason) ? void 0 : "No registry is configured; nothing to retry against.",
1309
- className: twMerge("min-h-[32px] rounded-xl px-3 py-1 text-sm font-semibold text-white transition-all hover:scale-105 dark:text-slate-900", retryDisabled ? "cursor-not-allowed bg-gray-300 hover:scale-100 dark:bg-slate-600 dark:text-slate-100" : "bg-gray-800 active:opacity-75 dark:bg-slate-100"),
1309
+ className: twMerge("min-h-[32px] rounded-xl px-3 py-1 text-sm font-semibold text-foreground transition-all hover:hover-effect", retryDisabled ? "cursor-not-allowed bg-secondary hover:hover-effect" : "bg-primary text-primary-foreground active:active-effect"),
1310
1310
  children: isRetrying ? "Retrying..." : "Try install again"
1311
1311
  })
1312
1312
  })
@@ -1319,7 +1319,7 @@ function MissingModelDetailsModal(props) {
1319
1319
  children: /* @__PURE__ */ jsx("button", {
1320
1320
  type: "button",
1321
1321
  onClick: onClose,
1322
- className: "min-h-[36px] rounded-xl border border-gray-200 bg-gray-50 px-4 py-2 text-sm font-semibold text-gray-800 hover:bg-gray-50 dark:border-slate-500 dark:bg-slate-600 dark:text-slate-100 dark:hover:bg-slate-800",
1322
+ className: "min-h-[36px] rounded-xl border border-border bg-background px-4 py-2 text-sm font-semibold text-foreground hover:hover-effect",
1323
1323
  children: "Close"
1324
1324
  })
1325
1325
  })
@@ -1410,8 +1410,8 @@ const CookieBanner$1 = () => {
1410
1410
  if (!showBanner) return null;
1411
1411
  return /* @__PURE__ */ jsxs("div", {
1412
1412
  className: "absolute inset-0 z-10000 backdrop-blur-sm",
1413
- children: [/* @__PURE__ */ jsx("div", { className: "absolute inset-0 bg-gray-900 opacity-15 dark:bg-slate-50" }), /* @__PURE__ */ jsx("div", {
1414
- className: "absolute inset-x-0 bottom-0 flex justify-center bg-gray-50 px-10 pt-10 pb-16 shadow-lg dark:bg-slate-800",
1413
+ children: [/* @__PURE__ */ jsx("div", { className: "absolute inset-0 bg-primary opacity-15" }), /* @__PURE__ */ jsx("div", {
1414
+ className: "absolute inset-x-0 bottom-0 flex justify-center bg-background px-10 pt-10 pb-16 shadow-lg",
1415
1415
  children: /* @__PURE__ */ jsx(CookieBanner, {
1416
1416
  className: "max-w-[1024px]",
1417
1417
  cookies: cookiesInput,
@@ -1420,12 +1420,12 @@ const CookieBanner$1 = () => {
1420
1420
  submitLabel: t("cookieBanner.accept"),
1421
1421
  rejectLabel: t("cookieBanner.reject"),
1422
1422
  children: /* @__PURE__ */ jsx("p", {
1423
- className: "font-semibold text-gray-500 dark:text-slate-400",
1423
+ className: "font-semibold text-muted-foreground",
1424
1424
  children: /* @__PURE__ */ jsx(Trans, {
1425
1425
  i18nKey: "cookieBanner.message",
1426
1426
  components: { a: /* @__PURE__ */ jsx("a", {
1427
1427
  onClick: () => showPHModal({ type: "cookiesPolicy" }),
1428
- className: "cursor-pointer text-gray-900 hover:underline dark:text-slate-50"
1428
+ className: "cursor-pointer text-foreground hover:underline"
1429
1429
  }, "cookieBanner.message-link") }
1430
1430
  }, "cookieBanner.message")
1431
1431
  })
@@ -1604,7 +1604,7 @@ const DocumentEditor = (props) => {
1604
1604
  //#region src/components/root.tsx
1605
1605
  function Root() {
1606
1606
  return /* @__PURE__ */ jsx("div", {
1607
- className: "h-screen bg-gray-50 dark:bg-slate-800",
1607
+ className: "h-screen bg-background",
1608
1608
  children: /* @__PURE__ */ jsx("div", {
1609
1609
  className: `flex h-screen items-stretch overflow-auto`,
1610
1610
  role: "presentation",
@@ -1801,7 +1801,7 @@ const MigrationBanner = () => {
1801
1801
  return /* @__PURE__ */ jsx("div", {
1802
1802
  className: "absolute inset-x-0 top-0 z-30 flex justify-center p-3",
1803
1803
  children: /* @__PURE__ */ jsxs("div", {
1804
- className: "flex max-w-3xl items-center gap-3 rounded-lg border border-yellow-500 bg-yellow-400 px-4 py-3 text-sm text-gray-900 shadow-lg dark:border-yellow-400 dark:bg-yellow-500 dark:text-slate-50",
1804
+ className: "flex max-w-3xl items-center gap-3 rounded-lg border border-warning bg-warning px-4 py-3 text-sm text-warning-foreground shadow-lg",
1805
1805
  children: [
1806
1806
  /* @__PURE__ */ jsxs("div", {
1807
1807
  className: "flex-1",
@@ -1815,7 +1815,7 @@ const MigrationBanner = () => {
1815
1815
  ]
1816
1816
  }),
1817
1817
  /* @__PURE__ */ jsxs("div", {
1818
- className: "text-gray-900 dark:text-slate-100",
1818
+ className: "text-foreground",
1819
1819
  children: [
1820
1820
  "Migrate to Postgres ",
1821
1821
  17,
@@ -1823,7 +1823,7 @@ const MigrationBanner = () => {
1823
1823
  ]
1824
1824
  }),
1825
1825
  error && /* @__PURE__ */ jsxs("div", {
1826
- className: "mt-2 font-medium text-red-900 dark:text-red-400",
1826
+ className: "mt-2 font-medium text-destructive",
1827
1827
  children: ["Migration failed: ", error]
1828
1828
  })
1829
1829
  ]
@@ -1832,14 +1832,14 @@ const MigrationBanner = () => {
1832
1832
  type: "button",
1833
1833
  disabled: migrating,
1834
1834
  onClick: handleMigrate,
1835
- className: "rounded-sm bg-gray-900 px-3 py-1 text-sm font-medium text-white hover:bg-gray-800 disabled:opacity-50 dark:bg-slate-50 dark:text-slate-900 dark:hover:bg-slate-100",
1835
+ className: "rounded-sm bg-primary px-3 py-1 text-sm font-medium text-primary-foreground hover:hover-effect disabled:disabled-effect",
1836
1836
  children: migrating ? "Migrating…" : "Migrate now"
1837
1837
  }),
1838
1838
  /* @__PURE__ */ jsx("button", {
1839
1839
  type: "button",
1840
1840
  disabled: migrating,
1841
1841
  onClick: dismiss,
1842
- className: "rounded-sm border border-gray-900 bg-transparent px-3 py-1 text-sm font-medium text-gray-900 hover:bg-gray-900/10 disabled:opacity-50 dark:border-slate-50 dark:text-slate-50",
1842
+ className: "rounded-sm border border-foreground bg-transparent px-3 py-1 text-sm font-medium text-foreground hover:hover-effect disabled:disabled-effect",
1843
1843
  children: "Dismiss"
1844
1844
  })
1845
1845
  ]
@@ -1852,13 +1852,13 @@ const AddDriveModal$1 = lazy(() => import("./AddDriveModal-BoKLJyUY.js").then((m
1852
1852
  const ClearStorageModal = lazy(() => import("./ClearStorageModal-CXoNWmRe.js").then((m) => ({ default: m.ClearStorageModal })));
1853
1853
  const CookiesPolicyModal = lazy(() => import("./CookiesPolicyModal-1nOh6oN3.js").then((m) => ({ default: m.CookiesPolicyModal })));
1854
1854
  const CreateDocumentModal$1 = lazy(() => import("./CreateDocumentModal-nQbLVDq3.js").then((m) => ({ default: m.CreateDocumentModal })));
1855
- const DebugSettingsModal = lazy(() => import("./DebugSettingsModal-CuTgd7TZ.js").then((m) => ({ default: m.DebugSettingsModal })));
1855
+ const DebugSettingsModal = lazy(() => import("./DebugSettingsModal-yfSog5wf.js").then((m) => ({ default: m.DebugSettingsModal })));
1856
1856
  const DeleteDriveModal = lazy(() => import("./DeleteDriveModal-6P0T1QgD.js").then((m) => ({ default: m.DeleteDriveModal })));
1857
1857
  const DeleteItemModal = lazy(() => import("./DeleteItemModal-BmV1aQyZ.js").then((m) => ({ default: m.DeleteItemModal })));
1858
1858
  const DisclaimerModal = lazy(() => import("./DisclaimerModal-CVTFfN0_.js").then((m) => ({ default: m.DisclaimerModal })));
1859
1859
  const DriveSettingsModal$1 = lazy(() => import("./DriveSettingsModal-CsNFEJ9E.js").then((m) => ({ default: m.DriveSettingsModal })));
1860
1860
  const DownloadDocumentWithErrorsModal = lazy(() => import("./DownloadDocumentWithErrorsModal-CXeFUtaz.js").then((m) => ({ default: m.DownloadDocumentWithErrorsModal })));
1861
- const SettingsModal$1 = lazy(() => import("./SettingsModal-D0F9IxhO.js").then((m) => ({ default: m.SettingsModal })));
1861
+ const SettingsModal$1 = lazy(() => import("./SettingsModal-Ci24CQUC.js").then((m) => ({ default: m.SettingsModal })));
1862
1862
  const UpgradeDriveModal = lazy(() => import("./UpgradeDriveModal-C7lV4rAX.js").then((m) => ({ default: m.UpgradeDriveModal })));
1863
1863
  const modalComponents = {
1864
1864
  addDrive: AddDriveModal$1,
@@ -1875,7 +1875,7 @@ const modalComponents = {
1875
1875
  settings: SettingsModal$1,
1876
1876
  upgradeDrive: UpgradeDriveModal,
1877
1877
  missingPackage: lazy(() => import("./MissingPackageModal-Bn036mWQ.js").then((m) => ({ default: m.ConnectMissingPackageModal }))),
1878
- driveAuthRequired: lazy(() => import("./DriveAuthRequiredModal-D1TSn4Vh.js").then((m) => ({ default: m.DriveAuthRequiredModal })))
1878
+ driveAuthRequired: lazy(() => import("./DriveAuthRequiredModal-B3VdLwSH.js").then((m) => ({ default: m.DriveAuthRequiredModal })))
1879
1879
  };
1880
1880
  const ModalsContainer = lazy(() => {
1881
1881
  return Promise.resolve({ default: () => {
@@ -1895,7 +1895,7 @@ const ModalsContainer = lazy(() => {
1895
1895
  //#endregion
1896
1896
  //#region src/components/app-loader.tsx
1897
1897
  const AppLoader = (props) => {
1898
- const Load = lazy(() => import("./load-C1ufF-ho.js").then((m) => m.loadComponent(props.localPackage)));
1898
+ const Load = lazy(() => import("./load-BPyDu75R.js").then((m) => m.loadComponent(props.localPackage)));
1899
1899
  return /* @__PURE__ */ jsx(StrictMode, { children: /* @__PURE__ */ jsxs(ErrorBoundary$1, {
1900
1900
  fallbackRender: (props) => /* @__PURE__ */ jsx(AppSkeleton, { children: /* @__PURE__ */ jsx(DetailedFallback, { ...props }) }),
1901
1901
  resetKeys: [props.localPackage],
@@ -1924,5 +1924,5 @@ const AppLoader = (props) => {
1924
1924
  //#endregion
1925
1925
  export { DocumentEditor as a, App as c, DocumentEditorContainer as d, OpenPanel as f, Root as i, AppContainer as l, AppSkeleton as m, Sidebar as n, DriveIcon as o, Analytics as p, Router as r, CookieBanner$1 as s, AppLoader as t, EditorLoader as u };
1926
1926
 
1927
- //# sourceMappingURL=app-loader-CWzoV72t.js.map
1928
- //# debugId=c34eb760-d346-531b-97a0-4aefcfacd4e8
1927
+ //# sourceMappingURL=app-loader-rcjfxeRU.js.map
1928
+ //# debugId=eea76098-2115-5090-81fa-d2056b005ddb