subos-frontend 1.0.6 → 1.0.7
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 +24 -23
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +24 -23
- package/dist/index.mjs.map +1 -1
- package/dist/style.css +41 -2
- package/dist/types/components/upgrade/UpgradeSummary.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -814,7 +814,7 @@ var BillingCycleToggle = ({
|
|
|
814
814
|
"button",
|
|
815
815
|
{
|
|
816
816
|
onClick: () => onBillingCycleChange("monthly"),
|
|
817
|
-
className: `px-4 py-2 rounded-md text-sm font-medium transition-colors ${billingCycle === "monthly" ? "bg-
|
|
817
|
+
className: `px-4 py-2 rounded-md text-sm font-medium transition-colors ${billingCycle === "monthly" ? "bg-green-600 text-white shadow-sm" : "text-gray-600 hover:text-gray-900"}`,
|
|
818
818
|
children: "Monthly"
|
|
819
819
|
}
|
|
820
820
|
),
|
|
@@ -2147,33 +2147,34 @@ var UpgradeSummary = ({
|
|
|
2147
2147
|
if (!selectedPlan || Number(selectedPlan.fixedCost) === 0) {
|
|
2148
2148
|
return null;
|
|
2149
2149
|
}
|
|
2150
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "
|
|
2150
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "fixed bottom-0 left-0 right-0 w-full z-50", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "max-w-7xl mx-auto w-full px-4", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "bg-white/40 backdrop-blur-md shadow-xl rounded-tl-md rounded-tr-md border border-gray-200 px-4 py-1.5", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between", children: [
|
|
2151
2151
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
2152
|
-
/* @__PURE__ */ jsxRuntime.jsx("
|
|
2153
|
-
/* @__PURE__ */ jsxRuntime.jsx("
|
|
2154
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-gray-500", children: "See Price Breakdown" })
|
|
2152
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-gray-500", children: "Summary" }),
|
|
2153
|
+
/* @__PURE__ */ jsxRuntime.jsx("h1", { className: "text-base font-semibold", children: selectedPlan.name })
|
|
2155
2154
|
] }),
|
|
2156
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "
|
|
2157
|
-
/* @__PURE__ */ jsxRuntime.jsxs("
|
|
2155
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex gap-5 items-center", children: [
|
|
2156
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-right", children: /* @__PURE__ */ jsxRuntime.jsxs("h3", { className: "text-2xl font-semibold text-gray-900", children: [
|
|
2158
2157
|
"$",
|
|
2159
2158
|
selectedPlan.fixedCost,
|
|
2160
2159
|
"/Yr"
|
|
2160
|
+
] }) }),
|
|
2161
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
2162
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-gray-500", children: "Due Today" }),
|
|
2163
|
+
/* @__PURE__ */ jsxRuntime.jsxs("p", { className: "text-xl font-semibold text-gray-900", children: [
|
|
2164
|
+
"$",
|
|
2165
|
+
selectedPlan.fixedCost
|
|
2166
|
+
] })
|
|
2161
2167
|
] }),
|
|
2162
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
className: "bg-green-600 text-white px-6 py-2 rounded-md font-medium hover:bg-green-700 transition-colors",
|
|
2173
|
-
children: "Upgrade Now"
|
|
2174
|
-
}
|
|
2175
|
-
)
|
|
2176
|
-
] }) });
|
|
2168
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2169
|
+
"button",
|
|
2170
|
+
{
|
|
2171
|
+
onClick: onUpgrade,
|
|
2172
|
+
className: "bg-green-600 text-white px-6 py-2 rounded-md font-medium hover:bg-green-700 transition-colors text-sm",
|
|
2173
|
+
children: "Upgrade Now"
|
|
2174
|
+
}
|
|
2175
|
+
)
|
|
2176
|
+
] })
|
|
2177
|
+
] }) }) }) });
|
|
2177
2178
|
};
|
|
2178
2179
|
var LogoInline = ({ src, alt = "Logo", viewBox = "0 0 1024 1024", ...props }) => {
|
|
2179
2180
|
const resolvedSrc = src ?? "https://upload.wikimedia.org/wikipedia/commons/a/a7/React-icon.svg";
|
|
@@ -2313,7 +2314,7 @@ var DashboardPage = ({
|
|
|
2313
2314
|
const handleUpgrade = () => {
|
|
2314
2315
|
plans.handleUpgrade(externalId);
|
|
2315
2316
|
};
|
|
2316
|
-
return /* @__PURE__ */ jsxRuntime.jsx(Layout, { children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "max-w-7xl mx-auto w-full h-full py-8 px-4", children: [
|
|
2317
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Layout, { children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "max-w-7xl mx-auto w-full h-full py-8 px-4 pb-24", children: [
|
|
2317
2318
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2318
2319
|
SubscriptionDetails,
|
|
2319
2320
|
{
|