@moontra/moonui-pro 2.32.44 → 2.33.1
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.d.ts +17 -17
- package/dist/index.global.js +67 -67
- package/dist/index.global.js.map +1 -1
- package/dist/index.mjs +189 -237
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -129,6 +129,23 @@ declare function useSubscription(): {
|
|
|
129
129
|
isAdmin: boolean;
|
|
130
130
|
};
|
|
131
131
|
|
|
132
|
+
interface SubscriptionContextType {
|
|
133
|
+
isLoading: boolean;
|
|
134
|
+
hasProAccess: boolean;
|
|
135
|
+
isAuthenticated: boolean;
|
|
136
|
+
subscriptionPlan: "lifetime" | "free";
|
|
137
|
+
subscription: {
|
|
138
|
+
status: "active" | "inactive";
|
|
139
|
+
plan: "lifetime" | "free";
|
|
140
|
+
};
|
|
141
|
+
isAdmin: boolean;
|
|
142
|
+
checkAccess: () => Promise<void>;
|
|
143
|
+
}
|
|
144
|
+
declare function SubscriptionProvider({ children }: {
|
|
145
|
+
children: ReactNode;
|
|
146
|
+
}): react_jsx_runtime.JSX.Element;
|
|
147
|
+
declare function useSubscriptionContext(): SubscriptionContextType;
|
|
148
|
+
|
|
132
149
|
/**
|
|
133
150
|
* MoonUI Pro Cache Helper Utilities
|
|
134
151
|
*
|
|
@@ -166,23 +183,6 @@ declare const MoonUICache: {
|
|
|
166
183
|
checkCLIAuth: () => Promise<boolean>;
|
|
167
184
|
};
|
|
168
185
|
|
|
169
|
-
interface SubscriptionContextType {
|
|
170
|
-
isLoading: boolean;
|
|
171
|
-
hasProAccess: boolean;
|
|
172
|
-
isAuthenticated: boolean;
|
|
173
|
-
subscriptionPlan: "lifetime" | "free";
|
|
174
|
-
subscription: {
|
|
175
|
-
status: "active" | "inactive";
|
|
176
|
-
plan: "lifetime" | "free";
|
|
177
|
-
};
|
|
178
|
-
isAdmin: boolean;
|
|
179
|
-
checkAccess: () => Promise<void>;
|
|
180
|
-
}
|
|
181
|
-
declare function SubscriptionProvider({ children }: {
|
|
182
|
-
children: ReactNode;
|
|
183
|
-
}): react_jsx_runtime.JSX.Element;
|
|
184
|
-
declare function useSubscriptionContext(): SubscriptionContextType;
|
|
185
|
-
|
|
186
186
|
type AccordionSize = "sm" | "md" | "lg";
|
|
187
187
|
type AccordionVariant = "default" | "bordered" | "elevated" | "gradient" | "glassmorphism";
|
|
188
188
|
type AnimationMode$1 = "spring" | "smooth" | "fade" | "bounce";
|