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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-input-material",
3
- "version": "0.0.439",
3
+ "version": "0.0.441",
4
4
  "description": "Reusable material design based input field with support for (richt-)text, code, selections, numbers, dates and so on.",
5
5
  "keywords": [
6
6
  "form-field",
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, HTMLProps, KeyboardEvent, MouseEvent, MutableRefObject, ReactElement, ReactNode, RefAttributes, Requireable, SyntheticEvent } from 'react';
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: HTMLProps<Mapping<unknown>>;
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;