web-input-material 0.0.288 → 0.0.290

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.
@@ -20,33 +20,35 @@
20
20
  import {boolean, string} from 'clientnode/property-types'
21
21
  import ReactGenericInput from 'react-input-material/components/GenericInput'
22
22
  import wrapAsWebComponent from 'web-component-wrapper'
23
- import {ComponentType, WebComponentAPI} from 'web-component-wrapper/type'
23
+ import {WebComponentAPI} from 'web-component-wrapper/type'
24
24
  // endregion
25
- export const GenericInput:WebComponentAPI = wrapAsWebComponent(
26
- ReactGenericInput as ComponentType,
27
- 'GenericInput',
28
- {
29
- eventToPropertyMapping: {onChange: true},
30
- internalProperties: {enforceUncontrolled: true},
31
- propertiesToReflectAsAttributes: {
32
- dirty: boolean,
33
- focused: boolean,
34
- invalid: boolean,
35
- invalidMaximum: boolean,
36
- invalidMaximumLength: boolean,
37
- invalidMinimum: boolean,
38
- invalidMinimumLength: boolean,
39
- invalidPattern: boolean,
40
- invalidRequired: boolean,
41
- name: string,
42
- pristine: boolean,
43
- touched: boolean,
44
- untouched: boolean,
45
- valid: boolean,
46
- visited: boolean
25
+ export const GenericInput:WebComponentAPI<typeof ReactGenericInput> =
26
+ wrapAsWebComponent<typeof ReactGenericInput>(
27
+ ReactGenericInput,
28
+ 'GenericInput',
29
+ {
30
+ eventToPropertyMapping: {onChange: true},
31
+ internalProperties: {enforceUncontrolled: true},
32
+ propertiesToReflectAsAttributes: {
33
+ dirty: boolean,
34
+ focused: boolean,
35
+ invalid: boolean,
36
+ invalidMaximum: boolean,
37
+ invalidMaximumLength: boolean,
38
+ invalidMinimum: boolean,
39
+ invalidMinimumLength: boolean,
40
+ invalidPattern: boolean,
41
+ invalidRequired: boolean,
42
+ name: string,
43
+ pristine: boolean,
44
+ touched: boolean,
45
+ untouched: boolean,
46
+ valid: boolean,
47
+ visited: boolean
48
+ }
47
49
  }
48
- }
49
- )
50
+ )
51
+
50
52
  export default GenericInput
51
53
  // region vim modline
52
54
  // vim: set tabstop=4 shiftwidth=4 expandtab:
@@ -1,3 +1,4 @@
1
+ import ReactInputs from 'react-input-material/components/Inputs';
1
2
  import { WebComponentAPI } from 'web-component-wrapper/type';
2
- export declare const GenericInputs: WebComponentAPI;
3
+ export declare const GenericInputs: WebComponentAPI<typeof ReactInputs>;
3
4
  export default GenericInputs;