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.
- package/components/CircularSpinner.d.ts +2 -1
- package/components/CircularSpinner.ts +18 -15
- package/components/FileInput.d.ts +2 -1
- package/components/FileInput.js +1 -1
- package/components/FileInput.ts +26 -24
- package/components/GenericAnimate.d.ts +2 -1
- package/components/GenericAnimate.js +1 -1
- package/components/GenericAnimate.ts +8 -6
- package/components/GenericInput.d.ts +2 -1
- package/components/GenericInput.js +1 -1
- package/components/GenericInput.minimal.input-bundle.js +16 -16
- package/components/GenericInput.ts +27 -25
- package/components/GenericInputs.d.ts +2 -1
- package/components/GenericInputs.js +1 -1
- package/components/GenericInputs.ts +25 -23
- package/components/GenericInterval.d.ts +2 -1
- package/components/GenericInterval.ts +22 -20
- package/components/RequireableCheckbox.d.ts +2 -1
- package/components/RequireableCheckbox.ts +22 -20
- package/components/SliderInput.d.ts +2 -1
- package/components/SliderInput.ts +16 -11
- package/components/TabBar.d.ts +2 -1
- package/components/TabBar.ts +13 -11
- package/components/TabItem.d.ts +2 -1
- package/components/TabItem.ts +9 -5
- package/index.js +1 -1
- package/package.json +1 -1
|
@@ -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 {
|
|
23
|
+
import {WebComponentAPI} from 'web-component-wrapper/type'
|
|
24
24
|
// endregion
|
|
25
|
-
export const GenericInput:WebComponentAPI =
|
|
26
|
-
ReactGenericInput
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
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;
|