@moontra/moonui 2.2.7 → 2.3.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.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.global.js +739 -0
- package/dist/index.global.js.map +1 -0
- package/dist/index.js +151 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +151 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -1
- package/src/components/ui/locked-component.tsx +219 -23
- package/src/components/ui/pro-component-wrapper.tsx +261 -0
- package/src/__tests__/use-pro-access.test.tsx +0 -183
- package/src/use-subscription.ts +0 -37
package/dist/index.d.mts
CHANGED
|
@@ -919,8 +919,9 @@ interface ProComponentWrapperProps {
|
|
|
919
919
|
componentName?: string;
|
|
920
920
|
className?: string;
|
|
921
921
|
fallback?: React__default.ReactNode;
|
|
922
|
+
requireCLI?: boolean;
|
|
922
923
|
}
|
|
923
|
-
declare function ProComponentWrapper({ children, componentId, componentName, className, fallback }: ProComponentWrapperProps): react_jsx_runtime.JSX.Element;
|
|
924
|
+
declare function ProComponentWrapper({ children, componentId, componentName, className, fallback, requireCLI }: ProComponentWrapperProps): react_jsx_runtime.JSX.Element;
|
|
924
925
|
declare function ProBadge({ className }: {
|
|
925
926
|
className?: string;
|
|
926
927
|
}): react_jsx_runtime.JSX.Element;
|
package/dist/index.d.ts
CHANGED
|
@@ -919,8 +919,9 @@ interface ProComponentWrapperProps {
|
|
|
919
919
|
componentName?: string;
|
|
920
920
|
className?: string;
|
|
921
921
|
fallback?: React__default.ReactNode;
|
|
922
|
+
requireCLI?: boolean;
|
|
922
923
|
}
|
|
923
|
-
declare function ProComponentWrapper({ children, componentId, componentName, className, fallback }: ProComponentWrapperProps): react_jsx_runtime.JSX.Element;
|
|
924
|
+
declare function ProComponentWrapper({ children, componentId, componentName, className, fallback, requireCLI }: ProComponentWrapperProps): react_jsx_runtime.JSX.Element;
|
|
924
925
|
declare function ProBadge({ className }: {
|
|
925
926
|
className?: string;
|
|
926
927
|
}): react_jsx_runtime.JSX.Element;
|