@abgov/jsonforms-components 2.41.1 → 2.42.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,11 +1,12 @@
1
1
  {
2
2
  "name": "@abgov/jsonforms-components",
3
- "version": "2.41.1",
3
+ "version": "2.42.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",
7
7
  "peerDependencies": {
8
- "@abgov/react-components": "^5.4.1",
8
+ "@abgov/react-components": "^6.9.3",
9
+ "@abgov/ui-components-common": "1.9.1",
9
10
  "@jsonforms/core": "^3.1.0",
10
11
  "@jsonforms/react": "^3.1.0",
11
12
  "react": "^18.0.0",
@@ -1,9 +1,9 @@
1
1
  import React from 'react';
2
2
  import { RankedTester } from '@jsonforms/core';
3
- import { GoACalloutSize, GoACalloutType } from '@abgov/react-components';
3
+ import { GoabCalloutSize, GoabCalloutType } from '@abgov/ui-components-common';
4
4
  export interface CalloutProps {
5
- size?: GoACalloutSize;
6
- type?: GoACalloutType;
5
+ size?: GoabCalloutSize;
6
+ type?: GoabCalloutType;
7
7
  message?: string;
8
8
  }
9
9
  export declare const callout: (props: CalloutProps) => JSX.Element;
@@ -1,14 +1,14 @@
1
1
  import React, { FC } from 'react';
2
- import { GoAIconType } from '@abgov/react-components';
2
+ import { GoabIconType } from '@abgov/ui-components-common';
3
3
  interface ContextMenuIconProps {
4
- type: GoAIconType;
4
+ type: GoabIconType;
5
5
  testId?: string;
6
6
  title?: string;
7
7
  onClick?: () => void;
8
8
  disabled?: boolean;
9
9
  }
10
10
  interface ContextMenuTextProps {
11
- type?: GoAIconType;
11
+ type?: GoabIconType;
12
12
  testId?: string;
13
13
  onClick?: () => void;
14
14
  }
@@ -1,10 +1,10 @@
1
- import { GoAButtonType } from '@abgov/react-components';
1
+ import { GoabButtonType } from '@abgov/ui-components-common';
2
2
  import { CategorizationStepperLayoutRendererProps } from './types';
3
3
  export interface FormStepperOptionProps {
4
4
  nextButtonLabel?: string;
5
- nextButtonType?: GoAButtonType;
5
+ nextButtonType?: GoabButtonType;
6
6
  previousButtonLabel?: string;
7
- previousButtonType?: GoAButtonType;
7
+ previousButtonType?: GoabButtonType;
8
8
  }
9
9
  export declare const FormStepper: (props: CategorizationStepperLayoutRendererProps) => import("react/jsx-runtime").JSX.Element;
10
10
  export declare const FormStepperView: (props: CategorizationStepperLayoutRendererProps) => JSX.Element;
@@ -1,4 +1,4 @@
1
- import { GoAButtonType } from '@abgov/react-components';
1
+ import { GoabButtonType } from '@abgov/ui-components-common';
2
2
  import { CategorizationStepperLayoutRendererProps } from './types';
3
3
  declare function getByJsonPointer(obj: unknown, pointer: string): unknown;
4
4
  /** Return true only if value is user-provided/meaningful (not just defaults). */
@@ -7,9 +7,9 @@ declare function getCategoryScopes(cat: unknown): string[];
7
7
  declare function hasDataInScopes(data: unknown, scopes?: string[]): boolean;
8
8
  export interface FormPageOptionProps {
9
9
  nextButtonLabel?: string;
10
- nextButtonType?: GoAButtonType;
10
+ nextButtonType?: GoabButtonType;
11
11
  previousButtonLabel?: string;
12
- previousButtonType?: GoAButtonType;
12
+ previousButtonType?: GoabButtonType;
13
13
  }
14
14
  export declare const FormPageStepper: (props: CategorizationStepperLayoutRendererProps) => import("react/jsx-runtime").JSX.Element;
15
15
  export declare const FormPagesView: (props: CategorizationStepperLayoutRendererProps) => JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import { ControlProps } from '@jsonforms/core';
2
- export type GoAInputType = 'text' | 'password' | 'email' | 'number' | 'date' | 'datetime-local' | 'month' | 'range' | 'search' | 'tel' | 'time' | 'url' | 'week';
2
+ export type GoabInputType = 'text' | 'password' | 'email' | 'number' | 'date' | 'datetime-local' | 'month' | 'range' | 'search' | 'tel' | 'time' | 'url' | 'week';
3
3
  export interface WithInput {
4
4
  input: any;
5
5
  noLabel?: boolean;
@@ -3,4 +3,4 @@ import { WithInputProps } from './type';
3
3
  export type WithBaseInputReviewProps = CellProps & WithClassname & WithInputProps & StatePropsOfControl;
4
4
  export declare const GoABaseInputReviewComponent: (props: WithBaseInputReviewProps) => JSX.Element;
5
5
  export declare const GoInputBaseReview: (props: ControlProps) => import("react/jsx-runtime").JSX.Element;
6
- export declare const GoInputBaseReviewControl: import("react").ComponentType<import("@jsonforms/core").OwnPropsOfControl>;
6
+ export declare const GoAInputBaseReviewControl: import("react").ComponentType<import("@jsonforms/core").OwnPropsOfControl>;
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
  import { CellProps, WithClassname, ControlProps, RankedTester } from '@jsonforms/core';
3
3
  import { WithInputProps } from './type';
4
- export type GoAInputIntegerProps = CellProps & WithClassname & WithInputProps;
5
- export declare const GoAInputInteger: (props: GoAInputIntegerProps) => JSX.Element;
4
+ export type GoabInputIntegerProps = CellProps & WithClassname & WithInputProps;
5
+ export declare const GoabInputInteger: (props: GoabInputIntegerProps) => JSX.Element;
6
6
  export declare const GoAIntegerControl: (props: ControlProps) => import("react/jsx-runtime").JSX.Element;
7
7
  export declare const GoAIntegerControlTester: RankedTester;
8
8
  export declare const GoAInputIntegerControl: React.ComponentType<import("@jsonforms/core").OwnPropsOfControl>;
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
  import { CellProps, WithClassname, ControlProps, RankedTester } from '@jsonforms/core';
3
3
  import { WithInputProps } from './type';
4
- export type GoAInputMultiLineTextProps = CellProps & WithClassname & WithInputProps;
5
- export declare const MultiLineText: (props: GoAInputMultiLineTextProps) => JSX.Element;
4
+ export type GoabInputMultiLineTextProps = CellProps & WithClassname & WithInputProps;
5
+ export declare const MultiLineText: (props: GoabInputMultiLineTextProps) => JSX.Element;
6
6
  export declare const MultiLineTextControlInput: (props: ControlProps) => import("react/jsx-runtime").JSX.Element;
7
7
  export declare const MultiLineTextControlTester: RankedTester;
8
8
  export declare const MultiLineTextControl: React.ComponentType<import("@jsonforms/core").OwnPropsOfControl>;
@@ -13,6 +13,7 @@ export declare const FlexForm: import("styled-components/dist/types").IStyledCom
13
13
  export declare const TabName: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
14
14
  export declare const Trash: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
15
15
  export declare const ListContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
16
+ export declare const DetailMargin: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
16
17
  export declare const IconPadding: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
17
18
  export declare const UpdateListContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
18
19
  export declare const CompleteContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -1,5 +1,5 @@
1
1
  import { ControlProps } from '@jsonforms/core';
2
2
  type PhoneNumberReviewControlProps = ControlProps;
3
3
  export declare const PhoneNumberReviewControl: (props: PhoneNumberReviewControlProps) => JSX.Element;
4
- export declare const GoAInputBasePhoneNumberReviewControl: import("react").ComponentType<import("@jsonforms/core").OwnPropsOfControl>;
4
+ export declare const GoabInputBasePhoneNumberReviewControl: import("react").ComponentType<import("@jsonforms/core").OwnPropsOfControl>;
5
5
  export {};
@@ -1,5 +1,5 @@
1
1
  import { ControlProps } from '@jsonforms/core';
2
2
  type PhoneNumberWithTypeReviewProps = ControlProps;
3
3
  export declare const PhoneNumberWithTypeReviewControl: (props: PhoneNumberWithTypeReviewProps) => JSX.Element;
4
- export declare const GoAInputBasePhoneNumberWithTypeReviewControl: import("react").ComponentType<import("@jsonforms/core").OwnPropsOfControl>;
4
+ export declare const GoabInputBasePhoneNumberWithTypeReviewControl: import("react").ComponentType<import("@jsonforms/core").OwnPropsOfControl>;
5
5
  export {};