@abgov/jsonforms-components 1.16.4 → 1.16.5
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/index.esm.js
CHANGED
|
@@ -3908,7 +3908,7 @@ class ContextProviderClass {
|
|
|
3908
3908
|
}
|
|
3909
3909
|
}
|
|
3910
3910
|
const ContextProviderC = new ContextProviderClass();
|
|
3911
|
-
const
|
|
3911
|
+
const ContextProviderFactory = () => new ContextProviderClass().setup;
|
|
3912
3912
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
3913
3913
|
const JsonFormContext = /*#__PURE__*/createContext(null);
|
|
3914
3914
|
|
|
@@ -5980,4 +5980,4 @@ const GoARenderers = [...GoABaseRenderers, {
|
|
|
5980
5980
|
}];
|
|
5981
5981
|
const GoACells = [...InputCells];
|
|
5982
5982
|
|
|
5983
|
-
export {
|
|
5983
|
+
export { ContextProviderC, ContextProviderClass, ContextProviderFactory, GoABaseRenderers, GoACells, GoARenderers, JsonFormContext, ajv };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abgov/jsonforms-components",
|
|
3
|
-
"version": "1.16.
|
|
3
|
+
"version": "1.16.5",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Government of Alberta - React renderers for JSON Forms based on the design system.",
|
|
6
6
|
"repository": "https://github.com/GovAlta/adsp-monorepo",
|
|
@@ -30,7 +30,7 @@ type Props = {
|
|
|
30
30
|
isFormSubmitted?: boolean;
|
|
31
31
|
data?: any;
|
|
32
32
|
};
|
|
33
|
-
declare class ContextProviderClass {
|
|
33
|
+
export declare class ContextProviderClass {
|
|
34
34
|
selfProps: Props | undefined;
|
|
35
35
|
enumValues: Map<string, () => Record<string, any>>;
|
|
36
36
|
enumFunctions: Map<string, () => ((file: File, propertyId: string) => void) | undefined>;
|
|
@@ -65,6 +65,6 @@ declare class ContextProviderClass {
|
|
|
65
65
|
getAllFormContextData: () => AllData;
|
|
66
66
|
}
|
|
67
67
|
export declare const ContextProviderC: ContextProviderClass;
|
|
68
|
-
export declare const
|
|
68
|
+
export declare const ContextProviderFactory: () => (props: Props) => import("react/jsx-runtime").JSX.Element | null;
|
|
69
69
|
export declare const JsonFormContext: React.Context<any>;
|
|
70
70
|
export {};
|