react-asc 18.8.5 → 18.8.6

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.
@@ -0,0 +1,5 @@
1
+ import { FunctionComponent, HTMLAttributes } from 'react';
2
+ interface IFormHintProps {
3
+ }
4
+ export declare const FormHint: FunctionComponent<IFormHintProps & HTMLAttributes<HTMLElement>>;
5
+ export {};
@@ -0,0 +1 @@
1
+ export * from './FormHint';
@@ -1,6 +1,11 @@
1
1
  /// <reference types="react" />
2
- import { IFormInputOptions, IFormTextAreaOptions, IFormSelectOptions, IFormAutoCompleteOptions } from './form.interfaces';
3
- import { IFormControlType } from './form.types';
2
+ import { IFormInputOptions, IFormTextAreaOptions, IFormSelectOptions, IFormAutoCompleteOptions } from '../form.interfaces';
3
+ import { IFormControlType } from '../form.types';
4
+ export interface IFormInputEvent {
5
+ value?: any;
6
+ type?: string;
7
+ name?: string;
8
+ }
4
9
  export interface IFormInputProps {
5
10
  value: any;
6
11
  name: string;
@@ -16,7 +21,8 @@ export interface IFormInputProps {
16
21
  selectOptions?: IFormSelectOptions;
17
22
  autoCompleteOptions?: IFormAutoCompleteOptions;
18
23
  label?: string;
19
- onChange?: (name: string, value: any, type: string) => void;
24
+ onInput?: (e: IFormInputEvent) => void;
25
+ onChange?: (e: IFormInputEvent) => void;
20
26
  onBlur?: (event: any) => void;
21
27
  onKeyDown?: (event: any) => void;
22
28
  }
@@ -0,0 +1 @@
1
+ export * from './FormInput';
@@ -0,0 +1,6 @@
1
+ import { FunctionComponent, HTMLAttributes } from 'react';
2
+ export interface IFormLabelProps {
3
+ className?: string;
4
+ htmlFor?: string;
5
+ }
6
+ export declare const FormLabel: FunctionComponent<IFormLabelProps & HTMLAttributes<HTMLLabelElement>>;
@@ -0,0 +1 @@
1
+ export * from './FormLabel';