react-input-material 0.0.439 → 0.0.441
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/FileInput.js +1 -1
- package/components/GenericInput.js +1 -1
- package/components/Inputs.js +1 -1
- package/components/Interval.js +1 -1
- package/components/RequireableCheckbox.js +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
- package/type.d.ts +3 -2
package/package.json
CHANGED
package/type.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import PropertyTypes from 'clientnode/property-types';
|
|
2
2
|
import { Mapping, PlainObject, RecursivePartial, ValueOf } from 'clientnode/type';
|
|
3
|
-
import { ComponentClass, FocusEvent, ForwardRefExoticComponent, FunctionComponent, FunctionComponentElement,
|
|
3
|
+
import { ComponentClass, FocusEvent, ForwardRefExoticComponent, FunctionComponent, FunctionComponentElement, KeyboardEvent, MouseEvent, MutableRefObject, ReactElement, ReactNode, RefAttributes, Requireable, SyntheticEvent } from 'react';
|
|
4
4
|
import CodeEditorType, { IAceEditorProps as CodeEditorProps } from 'react-ace';
|
|
5
5
|
import { TransitionProps } from 'react-transition-group/Transition';
|
|
6
6
|
import { EditorOptions as RawTinyMCEOptions, Editor as RichTextEditor } from 'tinymce';
|
|
@@ -129,7 +129,7 @@ export interface BaseProperties extends CommonBaseModel, ModelState {
|
|
|
129
129
|
required: boolean;
|
|
130
130
|
requiredText: string;
|
|
131
131
|
ripple: RipplePropT;
|
|
132
|
-
rootProps:
|
|
132
|
+
rootProps: Mapping<boolean | number | string>;
|
|
133
133
|
showDeclaration: boolean;
|
|
134
134
|
showInitialValidationState: boolean;
|
|
135
135
|
styles: Mapping;
|
|
@@ -286,6 +286,7 @@ export interface InputProperties<T = unknown> extends InputModelState, Propertie
|
|
|
286
286
|
tooltip?: string | TooltipProps;
|
|
287
287
|
});
|
|
288
288
|
inputProperties: Partial<CodeEditorProps | RichTextEditorProps | SelectProps | TextFieldProps>;
|
|
289
|
+
inputProps: Mapping<boolean | number | string>;
|
|
289
290
|
invertedPattern: Array<RegExp | string> | null | RegExp | string;
|
|
290
291
|
invertedPatternText: string;
|
|
291
292
|
labels: Array<[string, string]> | Array<string> | Mapping;
|