pxengine 0.1.2 → 0.1.4
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.cjs +467 -378
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +395 -304
- package/dist/registry.json +1 -1
- package/package.json +2 -2
- package/src/render/PXEngineRenderer.tsx +69 -247
package/dist/index.d.cts
CHANGED
|
@@ -723,16 +723,16 @@ interface UISchema {
|
|
|
723
723
|
root: UIComponent;
|
|
724
724
|
}
|
|
725
725
|
|
|
726
|
-
interface PXEngineRendererProps {
|
|
727
|
-
schema: UISchema | UIComponent;
|
|
728
|
-
onAction?: (action: string, payload?: any) => void;
|
|
729
|
-
}
|
|
730
726
|
/**
|
|
731
727
|
* PXEngineRenderer
|
|
732
728
|
*
|
|
733
|
-
*
|
|
734
|
-
*
|
|
729
|
+
* Handles both the full schema { version, root } and individual components.
|
|
730
|
+
* Dynamically resolves components from the Atoms/Molecules registry.
|
|
735
731
|
*/
|
|
732
|
+
interface PXEngineRendererProps {
|
|
733
|
+
schema: UISchema | UIComponent;
|
|
734
|
+
onAction?: (action: string, payload?: any) => void;
|
|
735
|
+
}
|
|
736
736
|
declare const PXEngineRenderer: React__default.FC<PXEngineRendererProps>;
|
|
737
737
|
|
|
738
738
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -723,16 +723,16 @@ interface UISchema {
|
|
|
723
723
|
root: UIComponent;
|
|
724
724
|
}
|
|
725
725
|
|
|
726
|
-
interface PXEngineRendererProps {
|
|
727
|
-
schema: UISchema | UIComponent;
|
|
728
|
-
onAction?: (action: string, payload?: any) => void;
|
|
729
|
-
}
|
|
730
726
|
/**
|
|
731
727
|
* PXEngineRenderer
|
|
732
728
|
*
|
|
733
|
-
*
|
|
734
|
-
*
|
|
729
|
+
* Handles both the full schema { version, root } and individual components.
|
|
730
|
+
* Dynamically resolves components from the Atoms/Molecules registry.
|
|
735
731
|
*/
|
|
732
|
+
interface PXEngineRendererProps {
|
|
733
|
+
schema: UISchema | UIComponent;
|
|
734
|
+
onAction?: (action: string, payload?: any) => void;
|
|
735
|
+
}
|
|
736
736
|
declare const PXEngineRenderer: React__default.FC<PXEngineRendererProps>;
|
|
737
737
|
|
|
738
738
|
/**
|