@agility/plenum-ui 2.0.0-rc12 → 2.0.0-rc13

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.
@@ -3,13 +3,14 @@ import { IInputFieldProps } from "@/stories/molecules/inputs/InputField";
3
3
  interface ILabelProps extends React.ComponentPropsWithoutRef<"label"> {
4
4
  display: string;
5
5
  }
6
- export interface IAnimatedLabelInputProps extends IInputFieldProps {
6
+ export interface IAnimatedLabelInputProps extends Omit<IInputFieldProps, "handleChange"> {
7
7
  id: string;
8
8
  containerStyles?: string;
9
9
  message?: string;
10
10
  required?: boolean;
11
11
  isError?: boolean;
12
12
  label: ILabelProps;
13
+ handleChange: (value: string) => void;
13
14
  }
14
15
  declare const AnimatedLabelInput: React.FC<IAnimatedLabelInputProps>;
15
16
  export default AnimatedLabelInput;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agility/plenum-ui",
3
- "version": "2.0.0-rc12",
3
+ "version": "2.0.0-rc13",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -6,13 +6,14 @@ interface ILabelProps extends React.ComponentPropsWithoutRef<"label"> {
6
6
  display: string
7
7
  }
8
8
 
9
- export interface IAnimatedLabelInputProps extends IInputFieldProps {
9
+ export interface IAnimatedLabelInputProps extends Omit<IInputFieldProps, "handleChange"> {
10
10
  id: string
11
11
  containerStyles?: string
12
12
  message?: string
13
13
  required?: boolean
14
14
  isError?: boolean
15
15
  label: ILabelProps
16
+ handleChange: (value: string) => void
16
17
  }
17
18
 
18
19
  const AnimatedLabelInput: React.FC<IAnimatedLabelInputProps> = (props: IAnimatedLabelInputProps) => {