react-input-material 0.0.433 → 0.0.435
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/FileInput.styles.css +3 -3
- package/components/GenericAnimate.d.ts +5 -3
- package/components/GenericAnimate.js +1 -1
- package/components/GenericInput.js +1 -1
- package/components/GenericInput.styles.css +1 -1
- package/components/Inputs.js +1 -1
- package/components/Inputs.styles.css +2 -2
- package/components/Interval.js +1 -1
- package/components/Interval.styles.css +2 -2
- package/components/RequireableCheckbox.styles.css +1 -1
- package/index.js +1 -1
- package/index.styles.css +6 -6
- package/package.json +4 -2
- package/type.d.ts +5 -0
- package/components/Dummy.tsx +0 -58
- package/components/FileInput.tsx +0 -1010
- package/components/GenericAnimate.tsx +0 -88
- package/components/GenericInput.tsx +0 -2875
- package/components/Inputs.tsx +0 -585
- package/components/Interval.tsx +0 -436
- package/components/RequireableCheckbox.tsx +0 -520
- package/components/WrapConfigurations.tsx +0 -127
- package/components/WrapStrict.tsx +0 -43
- package/components/WrapThemeProvider.tsx +0 -48
- package/components/WrapTooltip.tsx +0 -67
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-input-material",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.435",
|
|
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",
|
|
@@ -21,7 +21,9 @@
|
|
|
21
21
|
"url": "https://torben.website"
|
|
22
22
|
},
|
|
23
23
|
"files": [
|
|
24
|
-
"components",
|
|
24
|
+
"components/*.css",
|
|
25
|
+
"components/*.d.ts",
|
|
26
|
+
"components/*.js",
|
|
25
27
|
"helper.d.ts",
|
|
26
28
|
"helper.js",
|
|
27
29
|
"index.styles.css",
|
package/type.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import PropertyTypes from 'clientnode/property-types';
|
|
|
2
2
|
import { Mapping, PlainObject, RecursivePartial, ValueOf } from 'clientnode/type';
|
|
3
3
|
import { ComponentClass, FocusEvent, ForwardRefExoticComponent, FunctionComponent, FunctionComponentElement, HTMLProps, KeyboardEvent, MouseEvent, MutableRefObject, ReactElement, ReactNode, RefAttributes, Requireable, SyntheticEvent } from 'react';
|
|
4
4
|
import CodeEditorType, { IAceEditorProps as CodeEditorProps } from 'react-ace';
|
|
5
|
+
import { TransitionProps } from 'react-transition-group/Transition';
|
|
5
6
|
import { EditorOptions as RawTinyMCEOptions, Editor as RichTextEditor } from 'tinymce';
|
|
6
7
|
import { ComponentAdapter, PropertiesValidationMap, StaticWebComponent as StaticBaseWebComponent, ValidationMapping } from 'web-component-wrapper/type';
|
|
7
8
|
import { MDCMenuFoundation } from '@material/menu';
|
|
@@ -15,6 +16,10 @@ import { ThemeProviderProps } from '@rmwc/theme';
|
|
|
15
16
|
import { TooltipProps } from '@rmwc/tooltip';
|
|
16
17
|
import { IconOptions, RipplePropT } from '@rmwc/types';
|
|
17
18
|
import { Editor as RichTextEditorComponent, IAllProps as RichTextEditorProps } from '@tinymce/tinymce-react';
|
|
19
|
+
export declare type GenericAnimateProps = Partial<TransitionProps<HTMLElement | undefined>>;
|
|
20
|
+
export interface GenericAnimateComponent extends Omit<ForwardRefExoticComponent<GenericAnimateProps>, 'propTypes'>, StaticBaseWebComponent {
|
|
21
|
+
(props: (GenericAnimateProps & RefAttributes<HTMLDivElement | HTMLSpanElement>)): ReactElement;
|
|
22
|
+
}
|
|
18
23
|
export declare type DummyProps = Mapping<unknown> & {
|
|
19
24
|
children?: ReactElement;
|
|
20
25
|
};
|
package/components/Dummy.tsx
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
// #!/usr/bin/env babel-node
|
|
2
|
-
// -*- coding: utf-8 -*-
|
|
3
|
-
/** @module Dummy */
|
|
4
|
-
'use strict'
|
|
5
|
-
/* !
|
|
6
|
-
region header
|
|
7
|
-
[Project page](https://torben.website/react-material-input)
|
|
8
|
-
|
|
9
|
-
Copyright Torben Sickert (info["~at~"]torben.website) 16.12.2012
|
|
10
|
-
|
|
11
|
-
License
|
|
12
|
-
-------
|
|
13
|
-
|
|
14
|
-
This library written by Torben Sickert stand under a creative commons
|
|
15
|
-
naming 3.0 unported license.
|
|
16
|
-
See https://creativecommons.org/licenses/by/3.0/deed.de
|
|
17
|
-
endregion
|
|
18
|
-
*/
|
|
19
|
-
// region imports
|
|
20
|
-
import {Mapping} from 'clientnode/type'
|
|
21
|
-
import {
|
|
22
|
-
forwardRef,
|
|
23
|
-
ForwardRefRenderFunction,
|
|
24
|
-
FunctionComponent,
|
|
25
|
-
ReactElement,
|
|
26
|
-
MutableRefObject
|
|
27
|
-
} from 'react'
|
|
28
|
-
|
|
29
|
-
import {DummyProps} from '../type'
|
|
30
|
-
// endregion
|
|
31
|
-
/**
|
|
32
|
-
* Generic strict wrapper component.
|
|
33
|
-
* @param properties - Given component properties.
|
|
34
|
-
* @param _reference - Given reference to mutable persistent object.
|
|
35
|
-
*
|
|
36
|
-
* @returns React elements.
|
|
37
|
-
*/
|
|
38
|
-
export const Dummy:FunctionComponent<DummyProps> & {isDummy:true} = forwardRef(
|
|
39
|
-
((
|
|
40
|
-
properties:DummyProps, _reference:MutableRefObject<unknown>|null
|
|
41
|
-
):ReactElement =>
|
|
42
|
-
<div>
|
|
43
|
-
{properties.children ?? null}
|
|
44
|
-
</div>
|
|
45
|
-
) as ForwardRefRenderFunction<unknown, Mapping<unknown>>
|
|
46
|
-
) as unknown as FunctionComponent<unknown> & {isDummy:true}
|
|
47
|
-
Dummy.isDummy = true
|
|
48
|
-
|
|
49
|
-
export const CodeEditor = Dummy
|
|
50
|
-
export const Editor = Dummy
|
|
51
|
-
export const RichTextEditor = Dummy
|
|
52
|
-
export const TextEditor = Dummy
|
|
53
|
-
|
|
54
|
-
export default Dummy
|
|
55
|
-
// region vim modline
|
|
56
|
-
// vim: set tabstop=4 shiftwidth=4 expandtab:
|
|
57
|
-
// vim: foldmethod=marker foldmarker=region,endregion:
|
|
58
|
-
// endregion
|