@abgov/jsonforms-components 2.43.8 → 2.44.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abgov/jsonforms-components",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.44.1",
|
|
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,6 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { RankedTester } from '@jsonforms/core';
|
|
3
|
+
import { GoabCalloutType } from '@abgov/ui-components-common';
|
|
3
4
|
import { CategoriesState } from '../context';
|
|
5
|
+
export interface AdditionalInstructionsConfig {
|
|
6
|
+
content: string;
|
|
7
|
+
componentProps?: {
|
|
8
|
+
type?: GoabCalloutType | string;
|
|
9
|
+
[key: string]: unknown;
|
|
10
|
+
};
|
|
11
|
+
}
|
|
4
12
|
export interface TocProps {
|
|
5
13
|
categories: CategoriesState;
|
|
6
14
|
onClick: (id: number) => void;
|
|
@@ -8,6 +16,7 @@ export interface TocProps {
|
|
|
8
16
|
subtitle?: string;
|
|
9
17
|
isValid: boolean;
|
|
10
18
|
hideSummary: boolean;
|
|
19
|
+
additionalInstructions?: string | AdditionalInstructionsConfig;
|
|
11
20
|
}
|
|
12
21
|
export declare const TaskList: React.FC<TocProps>;
|
|
13
22
|
export declare const TableOfContentsTester: RankedTester;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { GoabCalloutType } from '@abgov/ui-components-common';
|
|
3
|
+
interface AdditionalInstructionsRowProps {
|
|
4
|
+
additionalInstructions: string;
|
|
5
|
+
componentProps?: {
|
|
6
|
+
type?: GoabCalloutType | string;
|
|
7
|
+
[key: string]: unknown;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
export declare const AdditionalInstructionsRow: React.FC<AdditionalInstructionsRowProps>;
|
|
11
|
+
export {};
|