@abgov/jsonforms-components 2.57.4 → 2.58.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/jsonforms-components",
3
- "version": "2.57.4",
3
+ "version": "2.58.0",
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",
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "schemaVersion": "1.0.0",
3
- "generatedAt": "2026-03-25T16:45:14.076Z",
4
- "sourceCommit": "124fc33f719dd3ba8b5e7d8f3744f7c6ed4e0bc8",
3
+ "generatedAt": "2026-03-27T16:26:32.367Z",
4
+ "sourceCommit": "afda240e669adb847782b947559cb390dfbab70c",
5
5
  "sourcePath": "libs/jsonforms-components/src/index.ts",
6
- "rendererCount": 32,
6
+ "rendererCount": 33,
7
7
  "renderers": [
8
8
  {
9
9
  "id": "address-look-up",
@@ -132,6 +132,47 @@
132
132
  ],
133
133
  "inference": "auto"
134
134
  },
135
+ {
136
+ "id": "contact-information",
137
+ "tester": "ContactInformationTester",
138
+ "kind": "control",
139
+ "ui": {
140
+ "type": "Control",
141
+ "options": {
142
+ "required": {},
143
+ "optional": {}
144
+ }
145
+ },
146
+ "match": {
147
+ "scope": "control",
148
+ "schema": {
149
+ "type": "object",
150
+ "format": null,
151
+ "enum": null,
152
+ "requiredProperties": [
153
+ "email",
154
+ "phone",
155
+ "preferredContactMethod"
156
+ ],
157
+ "exactProperties": false,
158
+ "arrayItemType": null
159
+ }
160
+ },
161
+ "rank": 4,
162
+ "supports": {
163
+ "input": true,
164
+ "review": false
165
+ },
166
+ "fallback": {
167
+ "strategy": "decompose-object",
168
+ "message": "No direct renderer match. Decompose object properties into primitive child controls or use known common schema refs."
169
+ },
170
+ "source": {
171
+ "file": "libs/jsonforms-components/src/lib/Controls/ContactInfo/ContractInfoTester.ts"
172
+ },
173
+ "notes": [],
174
+ "inference": "auto"
175
+ },
135
176
  {
136
177
  "id": "file-uploader",
137
178
  "tester": "FileUploaderTester",
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { ControlProps } from '@jsonforms/core';
3
+ type ContractInfoControlReviewProps = ControlProps;
4
+ export declare const ContractInfoControlReview: (props: ContractInfoControlReviewProps) => JSX.Element;
5
+ export declare const GoAContractInfoControlReview: React.ComponentType<import("@jsonforms/core").OwnPropsOfControl>;
6
+ export {};
@@ -0,0 +1,2 @@
1
+ import { ControlProps } from '@jsonforms/core';
2
+ export declare const ContractInfoControl: (props: ControlProps) => JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { RankedTester } from '@jsonforms/core';
2
+ export declare const isContactInformation: import("@jsonforms/core").Tester;
3
+ export declare const ContactInformationTester: RankedTester;
@@ -0,0 +1,3 @@
1
+ export * from './ContractInfoControl';
2
+ export * from './ContactInfoControlReview';
3
+ export * from './ContractInfoTester';
@@ -0,0 +1 @@
1
+ export declare const FormFieldWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -7,3 +7,4 @@ export * from './FullName';
7
7
  export * from './FullNameDOB';
8
8
  export * from './PhoneNumber';
9
9
  export * from './Calculation';
10
+ export * from './ContactInfo';
@@ -2,6 +2,15 @@ export declare const OPTION_DEFINITIONS: {
2
2
  mainTitle: {
3
3
  schema: string;
4
4
  };
5
+ enableEmail: {
6
+ schema: boolean;
7
+ };
8
+ enablePhone: {
9
+ schema: boolean;
10
+ };
11
+ emailFirst: {
12
+ schema: boolean;
13
+ };
5
14
  noDataMessage: {
6
15
  schema: string;
7
16
  };