@abgov/jsonforms-components 1.2.1 → 1.2.2

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
@@ -2508,7 +2508,7 @@ const MultiLineText = props => {
2508
2508
  // Note: Paul Jan-09-2023. The latest ui-component come with the maxCount. We need to uncomment the following line when the component is updated
2509
2509
  // maxCount={schema.maxLength || 256}
2510
2510
  onKeyPress: (name, value, key) => {
2511
- if (!(key === 'Tab' || key === 'Shift')) {
2511
+ if (isNotKeyPressTabOrShift(key)) {
2512
2512
  if (autoCapitalize === true) {
2513
2513
  handleChange(path, value.toUpperCase());
2514
2514
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/jsonforms-components",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
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,8 @@
1
1
  import React from 'react';
2
2
  import { CellProps, WithClassname, ControlProps, RankedTester } from '@jsonforms/core';
3
3
  import { WithInputProps } from './type';
4
- type GoAInputTextProps = CellProps & WithClassname & WithInputProps;
5
- export declare const MultiLineText: (props: GoAInputTextProps) => JSX.Element;
4
+ export type GoAInputMultiLineTextProps = CellProps & WithClassname & WithInputProps;
5
+ export declare const MultiLineText: (props: GoAInputMultiLineTextProps) => 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>;
9
- export {};