@abgov/jsonforms-components 1.16.4 → 1.16.6
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
|
|
|
@@ -4068,9 +4068,10 @@ const RadioGroup = props => {
|
|
|
4068
4068
|
children: enumData.map(value => {
|
|
4069
4069
|
return jsx(GoARadioItem, Object.assign({
|
|
4070
4070
|
name: value,
|
|
4071
|
-
value: `${value}
|
|
4071
|
+
value: `${value}`
|
|
4072
|
+
}, appliedUiSchemaOptions, {
|
|
4072
4073
|
label: value
|
|
4073
|
-
}
|
|
4074
|
+
}));
|
|
4074
4075
|
})
|
|
4075
4076
|
}));
|
|
4076
4077
|
};
|
|
@@ -5980,4 +5981,4 @@ const GoARenderers = [...GoABaseRenderers, {
|
|
|
5980
5981
|
}];
|
|
5981
5982
|
const GoACells = [...InputCells];
|
|
5982
5983
|
|
|
5983
|
-
export {
|
|
5984
|
+
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.6",
|
|
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 {};
|