@compass-labs/widgets 0.1.16 → 0.1.18

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.mjs CHANGED
@@ -2072,33 +2072,7 @@ function EarnAccountGuard({
2072
2072
  const { isDeployed, isChecking, isCreating, createAccount, error } = useEarnAccount();
2073
2073
  const [createError, setCreateError] = useState(null);
2074
2074
  if (!isConnected) {
2075
- return /* @__PURE__ */ jsxs(
2076
- "div",
2077
- {
2078
- className: "compass-earn-guard p-6 text-center",
2079
- style: {
2080
- backgroundColor: "var(--compass-color-surface)",
2081
- borderRadius: "var(--compass-border-radius-xl)",
2082
- fontFamily: "var(--compass-font-family)"
2083
- },
2084
- children: [
2085
- /* @__PURE__ */ jsx("p", { className: "text-sm mb-4", style: { color: "var(--compass-color-text-secondary)" }, children: "Connect your wallet to continue" }),
2086
- login && /* @__PURE__ */ jsx(
2087
- "button",
2088
- {
2089
- onClick: login,
2090
- className: "px-4 py-2 font-medium transition-colors",
2091
- style: {
2092
- backgroundColor: "var(--compass-color-primary)",
2093
- color: "var(--compass-color-primary-text)",
2094
- borderRadius: "var(--compass-border-radius-lg)"
2095
- },
2096
- children: "Connect Wallet"
2097
- }
2098
- )
2099
- ]
2100
- }
2101
- );
2075
+ return /* @__PURE__ */ jsx(Fragment, { children });
2102
2076
  }
2103
2077
  if (isChecking) {
2104
2078
  if (loadingComponent) {
@@ -3875,7 +3849,7 @@ function MarketSelector({
3875
3849
  flex: 1,
3876
3850
  padding: "calc(var(--compass-spacing-unit, 8px) * 2)",
3877
3851
  backgroundColor: marketType === type.value ? "var(--compass-color-primary, #6366f1)" : "var(--compass-color-surface, #12121a)",
3878
- color: marketType === type.value ? "var(--compass-color-primary-foreground, white)" : "var(--compass-color-text, #e4e4e7)",
3852
+ color: marketType === type.value ? "var(--compass-color-primary-text, white)" : "var(--compass-color-text, #e4e4e7)",
3879
3853
  border: "none",
3880
3854
  cursor: "pointer",
3881
3855
  fontSize: "var(--compass-font-size-sm, 14px)",