@geckoui/geckoui 1.6.3 → 1.6.4
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.js +3 -8
- package/dist/index.mjs +3 -8
- package/dist/styles.css +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -257,14 +257,9 @@ var getDataAttributes = (props) => {
|
|
|
257
257
|
|
|
258
258
|
// src/utils/isAsyncFn.ts
|
|
259
259
|
function isAsyncFn(fn) {
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
const result = fn();
|
|
264
|
-
return result instanceof Promise;
|
|
265
|
-
} catch (e) {
|
|
266
|
-
return false;
|
|
267
|
-
}
|
|
260
|
+
var _a;
|
|
261
|
+
if (typeof fn !== "function") return false;
|
|
262
|
+
return ((_a = fn.constructor) == null ? void 0 : _a.name) === "AsyncFunction";
|
|
268
263
|
}
|
|
269
264
|
|
|
270
265
|
// src/lib/FilePicker/handlers/BaseFilePickerHandler.ts
|
package/dist/index.mjs
CHANGED
|
@@ -161,14 +161,9 @@ var getDataAttributes = (props) => {
|
|
|
161
161
|
|
|
162
162
|
// src/utils/isAsyncFn.ts
|
|
163
163
|
function isAsyncFn(fn) {
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
const result = fn();
|
|
168
|
-
return result instanceof Promise;
|
|
169
|
-
} catch (e) {
|
|
170
|
-
return false;
|
|
171
|
-
}
|
|
164
|
+
var _a;
|
|
165
|
+
if (typeof fn !== "function") return false;
|
|
166
|
+
return ((_a = fn.constructor) == null ? void 0 : _a.name) === "AsyncFunction";
|
|
172
167
|
}
|
|
173
168
|
|
|
174
169
|
// src/lib/FilePicker/handlers/BaseFilePickerHandler.ts
|
package/dist/styles.css
CHANGED
|
@@ -2223,9 +2223,9 @@
|
|
|
2223
2223
|
align-items: center;
|
|
2224
2224
|
gap: calc(var(--spacing, 0.25rem) * 1);
|
|
2225
2225
|
overflow-x: scroll;
|
|
2226
|
-
scrollbar-width: none;
|
|
2227
|
-
scrollbar-color: transparent transparent;
|
|
2228
|
-
scrollbar-gutter: stable;
|
|
2226
|
+
scrollbar-width: none !important;
|
|
2227
|
+
scrollbar-color: transparent transparent !important;
|
|
2228
|
+
scrollbar-gutter: stable !important;
|
|
2229
2229
|
}
|
|
2230
2230
|
.GeckoUISelectButton__content -webkit-scrollbar {
|
|
2231
2231
|
width: 0px;
|