@zag-js/dom-utils
Advanced tools
Comparing version 0.0.0-dev-20220830133710 to 0.0.0-dev-20220919164136
@@ -1,136 +0,1 @@ | ||
"use strict"; | ||
var __defProp = Object.defineProperty; | ||
var __getOwnPropDesc = Object.getOwnPropertyDescriptor; | ||
var __getOwnPropNames = Object.getOwnPropertyNames; | ||
var __hasOwnProp = Object.prototype.hasOwnProperty; | ||
var __export = (target, all) => { | ||
for (var name in all) | ||
__defProp(target, name, { get: all[name], enumerable: true }); | ||
}; | ||
var __copyProps = (to, from, except, desc) => { | ||
if (from && typeof from === "object" || typeof from === "function") { | ||
for (let key of __getOwnPropNames(from)) | ||
if (!__hasOwnProp.call(to, key) && key !== except) | ||
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); | ||
} | ||
return to; | ||
}; | ||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); | ||
// src/index.ts | ||
var src_exports = {}; | ||
__export(src_exports, { | ||
MAX_Z_INDEX: () => MAX_Z_INDEX, | ||
addDomEvent: () => addDomEvent, | ||
addPointerEvent: () => addPointerEvent, | ||
addPointerlockChangeListener: () => addPointerlockChangeListener, | ||
addPointerlockErrorListener: () => addPointerlockErrorListener, | ||
ariaAttr: () => ariaAttr, | ||
contains: () => contains, | ||
copyVisualStyles: () => copyVisualStyles, | ||
dataAttr: () => dataAttr, | ||
defineDomHelpers: () => defineDomHelpers, | ||
disableTextSelection: () => disableTextSelection, | ||
disposable: () => disposable, | ||
disposableNextTick: () => disposableNextTick, | ||
disposableRaf: () => disposableRaf, | ||
extractClientInfo: () => extractClientInfo, | ||
extractInfo: () => extractInfo, | ||
findByText: () => findByText, | ||
findByTypeahead: () => findByTypeahead, | ||
fireBlurEvent: () => fireBlurEvent, | ||
fireClickEvent: () => fireClickEvent, | ||
fireCustomEvent: () => fireCustomEvent, | ||
fireKeyboardEvent: () => fireKeyboardEvent, | ||
focusableSelector: () => focusableSelector, | ||
getActiveDescendant: () => getActiveDescendant, | ||
getActiveElement: () => getActiveElement, | ||
getComputedStyle: () => getComputedStyle, | ||
getDocument: () => getDocument, | ||
getDocumentElement: () => getDocumentElement, | ||
getElementOffset: () => getElementOffset, | ||
getEventKey: () => getEventKey, | ||
getEventName: () => getEventName, | ||
getEventPoint: () => getEventPoint, | ||
getEventStep: () => getEventStep, | ||
getEventTarget: () => getEventTarget, | ||
getEventWindow: () => getEventWindow, | ||
getFirstFocusable: () => getFirstFocusable, | ||
getFirstTabbable: () => getFirstTabbable, | ||
getFocusables: () => getFocusables, | ||
getLastTabbable: () => getLastTabbable, | ||
getNativeEvent: () => getNativeEvent, | ||
getNodeName: () => getNodeName, | ||
getParent: () => getParent, | ||
getPlatform: () => getPlatform, | ||
getPointRelativeToNode: () => getPointRelativeToNode, | ||
getRootNode: () => getRootNode, | ||
getScrollOffset: () => getScrollOffset, | ||
getScrollParent: () => getScrollParent, | ||
getScrollParents: () => getScrollParents, | ||
getTabbables: () => getTabbables, | ||
getWindow: () => getWindow, | ||
indexOfId: () => indexOfId, | ||
isApple: () => isApple, | ||
isContextMenuEvent: () => isContextMenuEvent, | ||
isCtrlKey: () => isCtrlKey, | ||
isDisabled: () => isDisabled, | ||
isDocument: () => isDocument, | ||
isDom: () => isDom, | ||
isElementEditable: () => isElementEditable, | ||
isFirefox: () => isFirefox, | ||
isFocusable: () => isFocusable, | ||
isFrame: () => isFrame, | ||
isHTMLElement: () => isHTMLElement, | ||
isIPhone: () => isIPhone, | ||
isIos: () => isIos, | ||
isKeyboardClick: () => isKeyboardClick, | ||
isLeftClick: () => isLeftClick, | ||
isMac: () => isMac, | ||
isModifiedEvent: () => isModifiedEvent, | ||
isMouseEvent: () => isMouseEvent, | ||
isPrintableKey: () => isPrintableKey, | ||
isRightClick: () => isRightClick, | ||
isSafari: () => isSafari, | ||
isScrollParent: () => isScrollParent, | ||
isSelfEvent: () => isSelfEvent, | ||
isShadowRoot: () => isShadowRoot, | ||
isTabbable: () => isTabbable, | ||
isTouchDevice: () => isTouchDevice, | ||
isTouchEvent: () => isTouchEvent, | ||
isVirtualClick: () => isVirtualClick, | ||
isVirtualPointerEvent: () => isVirtualPointerEvent, | ||
isVisible: () => isVisible, | ||
isWindow: () => isWindow, | ||
isWithinShadowRoot: () => isWithinShadowRoot, | ||
itemById: () => itemById, | ||
matchAttr: () => matchAttr, | ||
nextById: () => nextById, | ||
nextTick: () => nextTick, | ||
observeAttributes: () => observeAttributes, | ||
observeChildren: () => observeChildren, | ||
observeElementRect: () => observeElementRect, | ||
prevById: () => prevById, | ||
query: () => query, | ||
queryAll: () => queryAll, | ||
queueBeforeEvent: () => queueBeforeEvent, | ||
queueMicrotask: () => queueMicrotask, | ||
raf: () => raf, | ||
requestPointerLock: () => requestPointerLock, | ||
restoreTextSelection: () => restoreTextSelection, | ||
setVisuallyHidden: () => setVisuallyHidden, | ||
sortByTreeOrder: () => sortByTreeOrder, | ||
supportsMouseEvent: () => supportsMouseEvent, | ||
supportsPointerEvent: () => supportsPointerEvent, | ||
supportsTouchEvent: () => supportsTouchEvent, | ||
trackDocumentVisibility: () => trackDocumentVisibility, | ||
trackPointerDown: () => trackPointerDown, | ||
trackPointerMove: () => trackPointerMove, | ||
trackVisualViewport: () => trackVisualViewport, | ||
visuallyHiddenStyle: () => visuallyHiddenStyle, | ||
waitFor: () => waitFor, | ||
waitForEvent: () => waitForEvent | ||
}); | ||
module.exports = __toCommonJS(src_exports); | ||
// src/attrs.ts | ||
@@ -184,3 +49,3 @@ var dataAttr = (guard) => { | ||
// ../core/dist/index.mjs | ||
// ../core/dist/index.js | ||
var runIfFn = (v, ...a) => { | ||
@@ -1049,4 +914,3 @@ const res = typeof v === "function" ? v(...a) : v; | ||
} | ||
// Annotate the CommonJS export names for ESM import in node: | ||
0 && (module.exports = { | ||
export { | ||
MAX_Z_INDEX, | ||
@@ -1162,2 +1026,2 @@ addDomEvent, | ||
waitForEvent | ||
}); | ||
}; |
{ | ||
"type": "module", | ||
"name": "@zag-js/dom-utils", | ||
"version": "0.0.0-dev-20220830133710", | ||
"version": "0.0.0-dev-20220919164136", | ||
"description": "", | ||
@@ -14,3 +15,2 @@ "keywords": [ | ||
"main": "dist/index.js", | ||
"module": "dist/index.mjs", | ||
"types": "dist/index.d.ts", | ||
@@ -29,11 +29,11 @@ "repository": "https://github.com/chakra-ui/zag/tree/main/packages/utilities/dom", | ||
"dependencies": { | ||
"@zag-js/types": "0.0.0-dev-20220830133710" | ||
"@zag-js/types": "0.0.0-dev-20220919164136" | ||
}, | ||
"devDependencies": { | ||
"@zag-js/utils": "0.0.0-dev-20220830133710" | ||
"@zag-js/utils": "0.0.0-dev-20220919164136" | ||
}, | ||
"scripts": { | ||
"build-fast": "tsup src/index.ts --format=esm,cjs", | ||
"build-fast": "tsup src/index.ts --format=esm", | ||
"start": "pnpm build --watch", | ||
"build": "tsup src/index.ts --format=esm,cjs --dts", | ||
"build": "tsup src/index.ts --format=esm --dts", | ||
"test": "jest --config ../../../jest.config.js --rootDir . --passWithNoTests", | ||
@@ -40,0 +40,0 @@ "lint": "eslint src --ext .ts,.tsx", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Yes
47143
4
1264
+ Added@zag-js/types@0.0.0-dev-20220919164136(transitive)
- Removed@zag-js/types@0.0.0-dev-20220830133710(transitive)