@panneau/field-text 4.0.11 → 4.0.15
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/dist/index.d.ts +33 -0
- package/{es → dist}/index.js +1 -1
- package/package.json +14 -12
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
|
|
3
|
+
declare const _default: {
|
|
4
|
+
id: string;
|
|
5
|
+
component: string;
|
|
6
|
+
}[];
|
|
7
|
+
|
|
8
|
+
interface EmailFieldProps {
|
|
9
|
+
[key: string]: unknown;
|
|
10
|
+
}
|
|
11
|
+
declare function EmailField(props: EmailFieldProps): react_jsx_runtime.JSX.Element;
|
|
12
|
+
|
|
13
|
+
interface PasswordFieldProps {
|
|
14
|
+
[key: string]: unknown;
|
|
15
|
+
}
|
|
16
|
+
declare function PasswordField(props: PasswordFieldProps): react_jsx_runtime.JSX.Element;
|
|
17
|
+
|
|
18
|
+
interface TelephoneFieldProps {
|
|
19
|
+
[key: string]: unknown;
|
|
20
|
+
}
|
|
21
|
+
declare function TelephoneField(props: TelephoneFieldProps): react_jsx_runtime.JSX.Element;
|
|
22
|
+
|
|
23
|
+
interface TextareaFieldProps {
|
|
24
|
+
[key: string]: unknown;
|
|
25
|
+
}
|
|
26
|
+
declare function TextareaField(props: TextareaFieldProps): react_jsx_runtime.JSX.Element;
|
|
27
|
+
|
|
28
|
+
interface TextFieldProps {
|
|
29
|
+
[key: string]: unknown;
|
|
30
|
+
}
|
|
31
|
+
declare function TextField(props: TextFieldProps): react_jsx_runtime.JSX.Element;
|
|
32
|
+
|
|
33
|
+
export { EmailField as Email, PasswordField as Password, TelephoneField as Telephone, TextareaField as Textarea, TextField as default, _default as definition };
|
package/{es → dist}/index.js
RENAMED
|
@@ -2,7 +2,7 @@ import _objectSpread from '@babel/runtime/helpers/objectSpread2';
|
|
|
2
2
|
import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
|
|
3
3
|
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
4
4
|
import classNames from 'classnames';
|
|
5
|
-
import isEmpty from 'lodash
|
|
5
|
+
import isEmpty from 'lodash/isEmpty';
|
|
6
6
|
import { useMemo } from 'react';
|
|
7
7
|
import { v1 } from 'uuid';
|
|
8
8
|
import InputGroup from '@panneau/field-input-group';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@panneau/field-text",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.15",
|
|
4
4
|
"description": "A text field",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -34,21 +34,24 @@
|
|
|
34
34
|
],
|
|
35
35
|
"license": "ISC",
|
|
36
36
|
"type": "module",
|
|
37
|
-
"module": "
|
|
37
|
+
"module": "dist/index.js",
|
|
38
|
+
"types": "dist/index.d.ts",
|
|
38
39
|
"style": "./assets/css/styles.css",
|
|
39
40
|
"exports": {
|
|
40
|
-
".":
|
|
41
|
+
".": {
|
|
42
|
+
"default": "./dist/index.js",
|
|
43
|
+
"types": "./dist/index.d.ts"
|
|
44
|
+
},
|
|
41
45
|
"./assets/css/styles": "./assets/css/styles.css",
|
|
42
46
|
"./assets/css/styles.css": "./assets/css/styles.css"
|
|
43
47
|
},
|
|
44
48
|
"files": [
|
|
45
|
-
"
|
|
46
|
-
"es",
|
|
49
|
+
"dist",
|
|
47
50
|
"assets"
|
|
48
51
|
],
|
|
49
52
|
"scripts": {
|
|
50
53
|
"prepublishOnly": "npm run build",
|
|
51
|
-
"build": "../../scripts/prepare-package.sh"
|
|
54
|
+
"build": "../../scripts/prepare-package.sh --types"
|
|
52
55
|
},
|
|
53
56
|
"devDependencies": {
|
|
54
57
|
"react": "^19.0.0",
|
|
@@ -60,16 +63,15 @@
|
|
|
60
63
|
},
|
|
61
64
|
"dependencies": {
|
|
62
65
|
"@babel/runtime": "^7.12.5",
|
|
63
|
-
"@panneau/core": "^4.0.
|
|
64
|
-
"@panneau/field-input-group": "^4.0.
|
|
65
|
-
"@panneau/themes": "^4.0.
|
|
66
|
+
"@panneau/core": "^4.0.15",
|
|
67
|
+
"@panneau/field-input-group": "^4.0.15",
|
|
68
|
+
"@panneau/themes": "^4.0.15",
|
|
66
69
|
"classnames": "^2.5.1",
|
|
67
|
-
"lodash
|
|
68
|
-
"prop-types": "^15.7.2",
|
|
70
|
+
"lodash": "^4.17.21",
|
|
69
71
|
"uuid": "^9.0.1"
|
|
70
72
|
},
|
|
71
73
|
"publishConfig": {
|
|
72
74
|
"access": "public"
|
|
73
75
|
},
|
|
74
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "83c02ca2f26e02383ef452ffcafda984d0b211cd"
|
|
75
77
|
}
|