@firecms/ui 3.0.0-canary.106 → 3.0.0-canary.107
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,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@firecms/ui",
|
3
3
|
"type": "module",
|
4
|
-
"version": "3.0.0-canary.
|
4
|
+
"version": "3.0.0-canary.107",
|
5
5
|
"description": "Awesome Firebase/Firestore-based headless open-source CMS",
|
6
6
|
"funding": {
|
7
7
|
"url": "https://github.com/sponsors/firecmsco"
|
@@ -102,7 +102,7 @@
|
|
102
102
|
"src",
|
103
103
|
"tailwind.config.js"
|
104
104
|
],
|
105
|
-
"gitHead": "
|
105
|
+
"gitHead": "07f66833d1cc898c000b92029a8c33992a1dea55",
|
106
106
|
"publishConfig": {
|
107
107
|
"access": "public"
|
108
108
|
}
|
@@ -70,7 +70,6 @@ export function TextField<T extends string | number>({
|
|
70
70
|
...inputProps
|
71
71
|
}: TextFieldProps<T>) {
|
72
72
|
|
73
|
-
// eslint-disable-next-line react-hooks/rules-of-hooks
|
74
73
|
const inputRef = inputRefProp ?? useRef(null);
|
75
74
|
|
76
75
|
// @ts-ignore
|
@@ -106,8 +105,6 @@ export function TextField<T extends string | number>({
|
|
106
105
|
placeholder={focused || hasValue || !label ? placeholder : undefined}
|
107
106
|
autoFocus={autoFocus}
|
108
107
|
rows={rows}
|
109
|
-
// onFocus={() => setFocused(true)}
|
110
|
-
// onBlur={() => setFocused(false)}
|
111
108
|
value={value ?? ""}
|
112
109
|
onChange={onChange}
|
113
110
|
style={inputStyle}
|