@firecms/ui 3.0.0-canary.138 → 3.0.0-canary.139
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.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -2
- package/src/components/TextField.tsx +2 -2
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.139",
|
5
5
|
"description": "Awesome Firebase/Firestore-based headless open-source CMS",
|
6
6
|
"funding": {
|
7
7
|
"url": "https://github.com/sponsors/firecmsco"
|
@@ -107,7 +107,7 @@
|
|
107
107
|
"src",
|
108
108
|
"tailwind.config.js"
|
109
109
|
],
|
110
|
-
"gitHead": "
|
110
|
+
"gitHead": "d53289afed32dfedf63a425a0c1af5f68c01800a",
|
111
111
|
"publishConfig": {
|
112
112
|
"access": "public"
|
113
113
|
}
|
@@ -79,7 +79,7 @@ export function TextField<T extends string | number>({
|
|
79
79
|
useEffect(() => {
|
80
80
|
if (type !== "number") return;
|
81
81
|
const handleWheel = (event: any) => {
|
82
|
-
event.
|
82
|
+
if (event.target instanceof HTMLElement) event.target.blur()
|
83
83
|
};
|
84
84
|
|
85
85
|
// Current input element
|
@@ -109,7 +109,7 @@ export function TextField<T extends string | number>({
|
|
109
109
|
onChange={onChange}
|
110
110
|
style={inputStyle}
|
111
111
|
className={cls(
|
112
|
-
invisible ? focusedInvisibleMixin :
|
112
|
+
invisible ? focusedInvisibleMixin : "",
|
113
113
|
"rounded-md resize-none w-full outline-none p-[32px] text-base bg-transparent min-h-[64px] px-3 pt-8",
|
114
114
|
disabled && "border border-transparent outline-none opacity-50 text-slate-600 dark:text-slate-500"
|
115
115
|
)}
|