@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 CHANGED
@@ -257,14 +257,9 @@ var getDataAttributes = (props) => {
257
257
 
258
258
  // src/utils/isAsyncFn.ts
259
259
  function isAsyncFn(fn) {
260
- try {
261
- if (typeof fn !== "function") return false;
262
- if (fn.constructor.name === "AsyncFunction") return true;
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
- try {
165
- if (typeof fn !== "function") return false;
166
- if (fn.constructor.name === "AsyncFunction") return true;
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geckoui/geckoui",
3
- "version": "1.6.3",
3
+ "version": "1.6.4",
4
4
  "license": "MIT",
5
5
  "description": "The only thing our Gecko eats is bugs!",
6
6
  "keywords": [