react-asc 18.8.3 → 18.8.7
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/components/AutoComplete/AutoComplete.d.ts +1 -0
- package/components/Form/FormHint/FormHint.d.ts +5 -0
- package/components/Form/FormHint/index.d.ts +1 -0
- package/components/Form/{FormInput.d.ts → FormInput/FormInput.d.ts} +9 -3
- package/components/Form/FormInput/index.d.ts +1 -0
- package/components/Form/FormLabel/FormLabel.d.ts +6 -0
- package/components/Form/FormLabel/index.d.ts +1 -0
- package/components/List/ListItem.d.ts +1 -1
- package/components/SpeedDial/SpeedDialAction.d.ts +2 -0
- package/index.es.js +245 -202
- package/index.es.js.map +1 -1
- package/index.js +497 -454
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/components/Form/FormHint.d.ts +0 -7
- package/components/Form/FormLabel.d.ts +0 -7
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './FormHint';
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { IFormInputOptions, IFormTextAreaOptions, IFormSelectOptions, IFormAutoCompleteOptions } from '
|
|
3
|
-
import { IFormControlType } from '
|
|
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
|
-
|
|
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 @@
|
|
|
1
|
+
export * from './FormLabel';
|
|
@@ -7,7 +7,7 @@ export interface IListItemProps {
|
|
|
7
7
|
active?: boolean;
|
|
8
8
|
className?: string;
|
|
9
9
|
isHoverable?: boolean;
|
|
10
|
-
|
|
10
|
+
disabled?: boolean;
|
|
11
11
|
onClick?: (e: React.MouseEvent) => void;
|
|
12
12
|
}
|
|
13
13
|
export declare const ListItem: (props: IListItemProps) => JSX.Element;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { COLOR } from '../component.enums';
|
|
2
3
|
export interface ISpeedDialActionProps extends React.DetailedHTMLProps<React.HtmlHTMLAttributes<HTMLDivElement>, HTMLDivElement> {
|
|
3
4
|
icon: React.SVGProps<SVGSVGElement>;
|
|
4
5
|
tooltipTitle?: string;
|
|
6
|
+
color?: COLOR;
|
|
5
7
|
onClick?: (e: React.MouseEvent) => void;
|
|
6
8
|
}
|
|
7
9
|
export declare const SpeedDialAction: (props: ISpeedDialActionProps) => JSX.Element;
|