react-input-material 0.0.368 → 0.0.372

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.368",
3
+ "version": "0.0.372",
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,7 +1,7 @@
1
1
  import PropertyTypes from 'clientnode/property-types';
2
2
  import { Mapping, PlainObject, RecursivePartial, ValueOf } from 'clientnode/type';
3
3
  import { ComponentClass, FocusEvent, ForwardRefExoticComponent, FunctionComponent, HTMLProps, KeyboardEvent, MouseEvent, MutableRefObject, ReactElement, RefAttributes, Requireable, SyntheticEvent } from 'react';
4
- import CodeEditorType from 'react-ace';
4
+ import CodeEditorType, { IAceEditorProps as CodeEditorProps } from 'react-ace';
5
5
  import { Editor as RichTextEditor } from 'tinymce';
6
6
  import { ComponentAdapter, StaticWebComponent as StaticBaseWebComponent } from 'web-component-wrapper/type';
7
7
  import { MDCMenuFoundation } from '@material/menu';
@@ -10,10 +10,11 @@ import { MDCTextFieldFoundation } from '@material/textfield';
10
10
  import { CardMediaProps } from '@rmwc/card';
11
11
  import { MenuApi } from '@rmwc/menu';
12
12
  import { SelectProps } from '@rmwc/select';
13
+ import { TextFieldProps } from '@rmwc/textfield';
13
14
  import { ThemeProviderProps } from '@rmwc/theme';
14
15
  import { TooltipProps } from '@rmwc/tooltip';
15
16
  import { IconOptions, RipplePropT } from '@rmwc/types';
16
- import { Editor as RichTextEditorComponent } from '@tinymce/tinymce-react';
17
+ import { Editor as RichTextEditorComponent, IAllProps as RichTextEditorProps } from '@tinymce/tinymce-react';
17
18
  export declare type DummyProps = Mapping<unknown> & {
18
19
  children?: ReactElement;
19
20
  };
@@ -239,6 +240,7 @@ export interface InputProperties<T = unknown> extends InputModelState, Propertie
239
240
  icon: string | (IconOptions & {
240
241
  tooltip?: string | TooltipProps;
241
242
  });
243
+ inputProperties: Partial<CodeEditorProps | RichTextEditorProps | SelectProps | TextFieldProps>;
242
244
  invertedPatternText: string;
243
245
  labels: Array<string> | Mapping;
244
246
  maximumLengthText: string;