@conloca/cms-spa 0.1.8 → 0.1.9
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/main.mjs +1 -1
- package/dist/main.mjs.map +1 -1
- package/dist/spa/main.css +0 -12
- package/package.json +3 -3
package/dist/main.mjs
CHANGED
|
@@ -174,7 +174,7 @@ function GitStatusPanel() {
|
|
|
174
174
|
type: "button",
|
|
175
175
|
onClick: handlePull,
|
|
176
176
|
disabled: !status?.isRepo || pullMutation.isPending,
|
|
177
|
-
className: cn$1("flex items-center gap-1.5 px-3 py-1.5 rounded text-sm font-medium transition-colors", status?.isRepo ? status.behind > 0 ? "bg-amber-500 text-white hover:bg-amber-600" : "bg-
|
|
177
|
+
className: cn$1("flex items-center gap-1.5 px-3 py-1.5 rounded text-sm font-medium transition-colors", status?.isRepo ? status.behind > 0 ? "bg-amber-500 text-white hover:bg-amber-600" : "bg-blue-500 text-white hover:bg-blue-600" : "bg-gray-100 text-gray-400 cursor-not-allowed"),
|
|
178
178
|
children: [pullMutation.isPending ? /* @__PURE__ */ jsx(Loader2, { className: "h-4 w-4 animate-spin" }) : /* @__PURE__ */ jsx(ArrowDownToLine, { className: "h-4 w-4" }), /* @__PURE__ */ jsx("span", { children: "Pull" })]
|
|
179
179
|
}),
|
|
180
180
|
/* @__PURE__ */ jsxs("button", {
|