@abgov/jsonforms-components 2.44.1 → 2.45.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.44.1",
3
+ "version": "2.45.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",
@@ -19,7 +19,7 @@ export interface JsonFormsStepperContextProps {
19
19
  selectIsActive: (id: number) => boolean;
20
20
  selectPath: () => string;
21
21
  selectCategory: (id: number) => CategoryState;
22
- goToPage: (id: number, updateCategoryId?: number) => void;
22
+ goToPage: (id: number, targetScope?: string) => void;
23
23
  goToTableOfContext: () => void;
24
24
  toggleShowReviewLink: (id: number) => void;
25
25
  validatePage: (id: number) => void;
@@ -11,6 +11,7 @@ export type StepperAction = {
11
11
  type: 'page/to/index';
12
12
  payload: {
13
13
  id: number;
14
+ targetScope?: string;
14
15
  };
15
16
  } | {
16
17
  type: 'update/category';
@@ -25,5 +25,6 @@ export interface StepperContextDataType {
25
25
  isOnReview: boolean;
26
26
  isValid: boolean;
27
27
  maxReachedStep: number;
28
+ targetScope?: string;
28
29
  }
29
30
  export type CategorizationElement = Category | Categorization;
@@ -3,6 +3,10 @@ export declare const WarningIconDiv: import("styled-components/dist/types").ISty
3
3
  export declare const RequiredTextLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, never>> & string;
4
4
  export declare const PageReviewNameCol: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, never>> & string;
5
5
  export declare const PageReviewValueCol: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, never>> & string;
6
+ export declare const PageReviewContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, never>> & string;
7
+ export declare const ReviewHeader: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
8
+ export declare const ReviewLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
9
+ export declare const ReviewValue: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
6
10
  export declare const CheckboxWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
7
11
  export declare const H4Large: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, never>> & string;
8
12
  export declare const Row: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, never>> & string;
@@ -4,6 +4,6 @@ export type CombinedProps = ControlProps & ArrayLayoutProps;
4
4
  export declare const ArrayControl: (props: CombinedProps) => import("react/jsx-runtime").JSX.Element;
5
5
  export declare const GoAArrayControlTester: RankedTester;
6
6
  export declare const ArrayControlBase: (props: ControlProps) => import("react/jsx-runtime").JSX.Element;
7
- export declare const ArrayControlReview: (props: ControlProps) => import("react/jsx-runtime").JSX.Element;
7
+ export declare const ArrayControlReview: (props: ControlProps) => import("react/jsx-runtime").JSX.Element | null;
8
8
  export declare const GoAArrayControlRenderer: React.ComponentType<import("@jsonforms/core").OwnPropsOfControl>;
9
9
  export declare const GoAArrayControlReviewRenderer: React.ComponentType<import("@jsonforms/core").OwnPropsOfControl>;