@koine/dom 2.0.0-beta.15 → 2.0.0-beta.16

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.
@@ -1,4 +1,4 @@
1
- import isString from "@koine/utils/isString";
1
+ import { isString } from "@koine/utils";
2
2
  import escapeSelector from "./escapeSelector.js";
3
3
  export var activeEvents = {};
4
4
  export function getIndex(arr, selector, callback) {
@@ -1,4 +1,4 @@
1
- import debounce from "@koine/utils/debounce";
1
+ import { debounce } from "@koine/utils";
2
2
  import listenResize from "./listenResize.js";
3
3
  export var listenResizeDebounced = function (el) {
4
4
  var args = [];
@@ -1,4 +1,4 @@
1
- import throttle from "@koine/utils/throttle";
1
+ import { throttle } from "@koine/utils";
2
2
  import { listenResize } from "./listenResize.js";
3
3
  export var listenResizeThrottled = function (el) {
4
4
  var args = [];
@@ -1,4 +1,4 @@
1
- import debounce from "@koine/utils/debounce";
1
+ import { debounce } from "@koine/utils";
2
2
  import { listenScroll } from "./listenScroll.js";
3
3
  export var listenScrollDebounced = function (el) {
4
4
  var args = [];
@@ -1,4 +1,4 @@
1
- import throttle from "@koine/utils/throttle";
1
+ import { throttle } from "@koine/utils";
2
2
  import { listenScroll } from "./listenScroll.js";
3
3
  export var listenScrollThrottled = function (el) {
4
4
  var args = [];
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@koine/dom",
3
3
  "sideEffects": false,
4
4
  "dependencies": {
5
- "@koine/utils": "2.0.0-beta.15"
5
+ "@koine/utils": "2.0.0-beta.16"
6
6
  },
7
7
  "types": "./index.d.ts",
8
8
  "type": "module",
@@ -151,5 +151,5 @@
151
151
  }
152
152
  },
153
153
  "peerDependencies": {},
154
- "version": "2.0.0-beta.15"
154
+ "version": "2.0.0-beta.16"
155
155
  }
package/types.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { LiteralUnion } from "type-fest";
2
- import type { AnythingFalsy } from "@koine/utils/types";
2
+ import type { AnythingFalsy } from "@koine/utils";
3
3
  export type AnyDOMEventTarget = Window | Document | HTMLElement | Element;
4
4
  export type AnyDOMEventTargetLoose = AnyDOMEventTarget | AnythingFalsy;
5
5
  type StandardDOMEventTypes = keyof GlobalEventHandlersEventMap;