@thednp/shorty 2.0.0-alpha1 → 2.0.0-alpha4
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/README.md +2 -2
- package/dist/shorty.cjs +2 -0
- package/dist/shorty.cjs.map +1 -0
- package/dist/shorty.d.ts +395 -0
- package/dist/shorty.js +2 -0
- package/dist/shorty.js.map +1 -0
- package/dist/shorty.mjs +549 -0
- package/dist/shorty.mjs.map +1 -0
- package/package.json +30 -28
- package/src/attr/getAttribute.ts +1 -2
- package/src/attr/getAttributeNS.ts +1 -2
- package/src/attr/hasAttributeNS.ts +1 -2
- package/src/attr/removeAttributeNS.ts +1 -2
- package/src/attr/setAttribute.ts +1 -2
- package/src/boolean/isApple.ts +3 -3
- package/src/boolean/isFirefox.ts +2 -2
- package/src/boolean/isMobile.ts +2 -2
- package/src/boolean/support3DTransform.ts +2 -4
- package/src/boolean/supportAnimation.ts +2 -2
- package/src/boolean/supportPassive.ts +5 -4
- package/src/boolean/supportTouch.ts +1 -2
- package/src/boolean/supportTransform.ts +2 -2
- package/src/boolean/supportTransition.ts +2 -2
- package/src/class/addClass.ts +3 -3
- package/src/class/removeClass.ts +3 -3
- package/src/event/off.ts +3 -3
- package/src/event/on.ts +3 -3
- package/src/event/one.ts +5 -10
- package/src/get/getBoundingClientRect.ts +3 -6
- package/src/get/getDocument.ts +5 -5
- package/src/get/getDocumentBody.ts +2 -2
- package/src/get/getDocumentElement.ts +2 -2
- package/src/get/getDocumentHead.ts +3 -3
- package/src/get/getElementAnimationDelay.ts +6 -8
- package/src/get/getElementAnimationDuration.ts +5 -6
- package/src/get/getElementStyle.ts +8 -5
- package/src/get/getElementTransitionDelay.ts +5 -6
- package/src/get/getElementTransitionDuration.ts +5 -6
- package/src/get/getNodeScroll.ts +1 -1
- package/src/get/getParentNode.ts +9 -7
- package/src/get/getRectRelativeToOffsetParent.ts +7 -7
- package/src/get/getUID.ts +12 -6
- package/src/get/getWindow.ts +5 -5
- package/src/index.ts +211 -203
- package/src/interface/boundingClientRect.ts +10 -10
- package/src/interface/css4Declaration.ts +3 -0
- package/src/interface/customElement.ts +8 -0
- package/src/interface/navigatorUA.ts +15 -15
- package/src/interface/offsetRect.ts +6 -6
- package/src/interface/originalEvent.ts +3 -3
- package/src/is/isArray.ts +3 -3
- package/src/is/isCanvas.ts +11 -0
- package/src/is/isCustomElement.ts +5 -3
- package/src/is/isElement.ts +3 -1
- package/src/is/isElementInScrollRange.ts +4 -4
- package/src/is/isElementInViewport.ts +4 -4
- package/src/is/isElementsArray.ts +3 -4
- package/src/is/isFunction.ts +1 -2
- package/src/is/isHTMLCollection.ts +1 -1
- package/src/is/isHTMLElement.ts +1 -2
- package/src/is/isHTMLImageElement.ts +1 -1
- package/src/is/isJSON.ts +20 -0
- package/src/is/isMap.ts +8 -0
- package/src/is/isMedia.ts +3 -3
- package/src/is/isNodeList.ts +1 -2
- package/src/is/isNumber.ts +2 -2
- package/src/is/isObject.ts +2 -2
- package/src/is/isRTL.ts +2 -2
- package/src/is/isSVGElement.ts +1 -1
- package/src/is/isScaledElement.ts +2 -2
- package/src/is/isShadowRoot.ts +1 -1
- package/src/is/isString.ts +2 -2
- package/src/is/isTableElement.ts +1 -1
- package/src/is/isWeakMap.ts +8 -0
- package/src/is/isWindow.ts +1 -1
- package/src/misc/ArrayFrom.ts +4 -2
- package/src/misc/Float32ArrayFrom.ts +1 -1
- package/src/misc/Float64ArrayFrom.ts +1 -1
- package/src/misc/ObjectAssign.ts +6 -3
- package/src/misc/ObjectEntries.ts +3 -2
- package/src/misc/ObjectKeys.ts +2 -1
- package/src/misc/ObjectValues.ts +2 -1
- package/src/misc/OriginalEvent.ts +7 -7
- package/src/misc/createElement.ts +10 -7
- package/src/misc/createElementNS.ts +13 -13
- package/src/misc/data.ts +14 -12
- package/src/misc/dispatchEvent.ts +1 -1
- package/src/misc/distinct.ts +3 -3
- package/src/misc/emulateAnimationEnd.ts +5 -7
- package/src/misc/emulateTransitionEnd.ts +6 -8
- package/src/misc/focus.ts +3 -2
- package/src/misc/noop.ts +3 -1
- package/src/misc/normalizeOptions.ts +27 -23
- package/src/misc/normalizeValue.ts +6 -18
- package/src/misc/setElementStyle.ts +8 -6
- package/src/misc/timer.ts +20 -13
- package/src/selectors/getCustomElements.ts +5 -4
- package/src/selectors/getElementById.ts +3 -3
- package/src/selectors/getElementsByClassName.ts +5 -10
- package/src/selectors/getElementsByTagName.ts +3 -6
- package/src/selectors/matches.ts +1 -1
- package/src/selectors/querySelector.ts +4 -4
- package/src/selectors/querySelectorAll.ts +3 -3
- package/src/strings/DOMContentLoadedEvent.ts +1 -1
- package/src/strings/DOMMouseScrollEvent.ts +1 -1
- package/src/strings/abortEvent.ts +1 -1
- package/src/strings/addEventListener.ts +1 -1
- package/src/strings/animationDelay.ts +1 -1
- package/src/strings/animationDuration.ts +1 -1
- package/src/strings/animationEndEvent.ts +1 -1
- package/src/strings/animationName.ts +1 -1
- package/src/strings/ariaChecked.ts +1 -1
- package/src/strings/ariaDescribedBy.ts +1 -1
- package/src/strings/ariaDescription.ts +1 -1
- package/src/strings/ariaExpanded.ts +1 -1
- package/src/strings/ariaHasPopup.ts +1 -1
- package/src/strings/ariaHidden.ts +1 -1
- package/src/strings/ariaLabel.ts +1 -1
- package/src/strings/ariaLabelledBy.ts +1 -1
- package/src/strings/ariaModal.ts +1 -1
- package/src/strings/ariaPressed.ts +1 -1
- package/src/strings/ariaSelected.ts +1 -1
- package/src/strings/ariaValueMax.ts +1 -1
- package/src/strings/ariaValueMin.ts +1 -1
- package/src/strings/ariaValueNow.ts +1 -1
- package/src/strings/ariaValueText.ts +1 -1
- package/src/strings/beforeunloadEvent.ts +1 -1
- package/src/strings/bezierEasings.ts +25 -25
- package/src/strings/blurEvent.ts +1 -1
- package/src/strings/changeEvent.ts +1 -1
- package/src/strings/contextmenuEvent.ts +1 -1
- package/src/strings/errorEvent.ts +1 -1
- package/src/strings/focusEvent.ts +1 -1
- package/src/strings/focusEvents.ts +1 -1
- package/src/strings/focusinEvent.ts +1 -1
- package/src/strings/focusoutEvent.ts +1 -1
- package/src/strings/gesturechangeEvent.ts +1 -1
- package/src/strings/gestureendEvent.ts +1 -1
- package/src/strings/gesturestartEvent.ts +1 -1
- package/src/strings/keyAlt.ts +1 -1
- package/src/strings/keyArrowDown.ts +1 -1
- package/src/strings/keyArrowLeft.ts +1 -1
- package/src/strings/keyArrowRight.ts +1 -1
- package/src/strings/keyArrowUp.ts +1 -1
- package/src/strings/keyBackspace.ts +1 -1
- package/src/strings/keyCapsLock.ts +1 -1
- package/src/strings/keyControl.ts +1 -1
- package/src/strings/keyDelete.ts +1 -1
- package/src/strings/keyEnter.ts +1 -1
- package/src/strings/keyEscape.ts +1 -1
- package/src/strings/keyInsert.ts +1 -1
- package/src/strings/keyMeta.ts +1 -1
- package/src/strings/keyPause.ts +1 -1
- package/src/strings/keyScrollLock.ts +1 -1
- package/src/strings/keyShift.ts +1 -1
- package/src/strings/keySpace.ts +1 -1
- package/src/strings/keyTab.ts +1 -1
- package/src/strings/keyboardEventKeys.ts +19 -19
- package/src/strings/keydownEvent.ts +1 -1
- package/src/strings/keypressEvent.ts +1 -1
- package/src/strings/keyupEvent.ts +1 -1
- package/src/strings/loadEvent.ts +1 -1
- package/src/strings/loadstartEvent.ts +1 -1
- package/src/strings/mouseClickEvents.ts +1 -1
- package/src/strings/mouseHoverEvents.ts +1 -3
- package/src/strings/mouseSwipeEvents.ts +4 -4
- package/src/strings/mouseclickEvent.ts +1 -1
- package/src/strings/mousedblclickEvent.ts +1 -1
- package/src/strings/mousedownEvent.ts +1 -1
- package/src/strings/mouseenterEvent.ts +1 -1
- package/src/strings/mousehoverEvent.ts +1 -1
- package/src/strings/mouseinEvent.ts +1 -1
- package/src/strings/mouseleaveEvent.ts +1 -1
- package/src/strings/mousemoveEvent.ts +1 -1
- package/src/strings/mouseoutEvent.ts +1 -1
- package/src/strings/mouseoverEvent.ts +1 -1
- package/src/strings/mouseupEvent.ts +1 -1
- package/src/strings/mousewheelEvent.ts +1 -1
- package/src/strings/moveEvent.ts +1 -1
- package/src/strings/offsetHeight.ts +1 -1
- package/src/strings/offsetWidth.ts +1 -1
- package/src/strings/orientationchangeEvent.ts +1 -1
- package/src/strings/pointercancelEvent.ts +1 -1
- package/src/strings/pointerdownEvent.ts +1 -1
- package/src/strings/pointerleaveEvent.ts +1 -1
- package/src/strings/pointermoveEvent.ts +1 -1
- package/src/strings/pointerupEvent.ts +1 -1
- package/src/strings/readystatechangeEvent.ts +1 -1
- package/src/strings/removeEventListener.ts +1 -1
- package/src/strings/resetEvent.ts +1 -1
- package/src/strings/resizeEvent.ts +1 -1
- package/src/strings/scrollEvent.ts +1 -1
- package/src/strings/scrollHeight.ts +1 -1
- package/src/strings/scrollWidth.ts +1 -1
- package/src/strings/selectEvent.ts +1 -1
- package/src/strings/selectendEvent.ts +1 -1
- package/src/strings/selectstartEvent.ts +1 -1
- package/src/strings/submitEvent.ts +1 -1
- package/src/strings/tabindex.ts +1 -1
- package/src/strings/touchEvents.ts +4 -4
- package/src/strings/touchcancelEvent.ts +1 -1
- package/src/strings/touchendEvent.ts +1 -1
- package/src/strings/touchmoveEvent.ts +1 -1
- package/src/strings/touchstartEvent.ts +1 -1
- package/src/strings/transitionDelay.ts +1 -1
- package/src/strings/transitionDuration.ts +1 -1
- package/src/strings/transitionEndEvent.ts +1 -1
- package/src/strings/transitionProperty.ts +1 -1
- package/src/strings/unloadEvent.ts +1 -1
- package/src/strings/userAgentData.ts +2 -2
- package/dist/index.cjs.js +0 -1564
- package/dist/index.cjs.js.map +0 -7
- package/dist/index.cjs.min.js +0 -3
- package/dist/index.cjs.min.js.map +0 -7
- package/dist/index.js +0 -1542
- package/dist/index.js.map +0 -7
- package/dist/index.min.js +0 -3
- package/dist/index.min.js.map +0 -7
- package/src/attr/getAttribute.js +0 -3
- package/src/attr/getAttribute.js.map +0 -1
- package/src/attr/getAttributeNS.js +0 -3
- package/src/attr/getAttributeNS.js.map +0 -1
- package/src/attr/hasAttribute.js +0 -3
- package/src/attr/hasAttribute.js.map +0 -1
- package/src/attr/hasAttributeNS.js +0 -3
- package/src/attr/hasAttributeNS.js.map +0 -1
- package/src/attr/removeAttribute.js +0 -3
- package/src/attr/removeAttribute.js.map +0 -1
- package/src/attr/removeAttributeNS.js +0 -3
- package/src/attr/removeAttributeNS.js.map +0 -1
- package/src/attr/setAttribute.js +0 -3
- package/src/attr/setAttribute.js.map +0 -1
- package/src/attr/setAttributeNS.js +0 -3
- package/src/attr/setAttributeNS.js.map +0 -1
- package/src/blocks/documentBody.js +0 -3
- package/src/blocks/documentBody.js.map +0 -1
- package/src/blocks/documentElement.js +0 -3
- package/src/blocks/documentElement.js.map +0 -1
- package/src/blocks/documentHead.js +0 -3
- package/src/blocks/documentHead.js.map +0 -1
- package/src/boolean/isApple.js +0 -8
- package/src/boolean/isApple.js.map +0 -1
- package/src/boolean/isFirefox.js +0 -4
- package/src/boolean/isFirefox.js.map +0 -1
- package/src/boolean/isMobile.js +0 -13
- package/src/boolean/isMobile.js.map +0 -1
- package/src/boolean/support3DTransform.js +0 -4
- package/src/boolean/support3DTransform.js.map +0 -1
- package/src/boolean/supportAnimation.js +0 -4
- package/src/boolean/supportAnimation.js.map +0 -1
- package/src/boolean/supportPassive.js +0 -19
- package/src/boolean/supportPassive.js.map +0 -1
- package/src/boolean/supportTouch.js +0 -3
- package/src/boolean/supportTouch.js.map +0 -1
- package/src/boolean/supportTransform.js +0 -4
- package/src/boolean/supportTransform.js.map +0 -1
- package/src/boolean/supportTransition.js +0 -4
- package/src/boolean/supportTransition.js.map +0 -1
- package/src/class/addClass.js +0 -5
- package/src/class/addClass.js.map +0 -1
- package/src/class/hasClass.js +0 -5
- package/src/class/hasClass.js.map +0 -1
- package/src/class/removeClass.js +0 -5
- package/src/class/removeClass.js.map +0 -1
- package/src/event/off.js +0 -5
- package/src/event/off.js.map +0 -1
- package/src/event/on.js +0 -5
- package/src/event/on.js.map +0 -1
- package/src/event/one.js +0 -13
- package/src/event/one.js.map +0 -1
- package/src/get/getBoundingClientRect.js +0 -23
- package/src/get/getBoundingClientRect.js.map +0 -1
- package/src/get/getDocument.js +0 -14
- package/src/get/getDocument.js.map +0 -1
- package/src/get/getDocumentBody.js +0 -6
- package/src/get/getDocumentBody.js.map +0 -1
- package/src/get/getDocumentElement.js +0 -6
- package/src/get/getDocumentElement.js.map +0 -1
- package/src/get/getDocumentHead.js +0 -6
- package/src/get/getDocumentHead.js.map +0 -1
- package/src/get/getElementAnimationDelay.js +0 -12
- package/src/get/getElementAnimationDelay.js.map +0 -1
- package/src/get/getElementAnimationDuration.js +0 -12
- package/src/get/getElementAnimationDuration.js.map +0 -1
- package/src/get/getElementStyle.js +0 -8
- package/src/get/getElementStyle.js.map +0 -1
- package/src/get/getElementTransitionDelay.js +0 -12
- package/src/get/getElementTransitionDelay.js.map +0 -1
- package/src/get/getElementTransitionDuration.js +0 -12
- package/src/get/getElementTransitionDuration.js.map +0 -1
- package/src/get/getNodeScroll.js +0 -9
- package/src/get/getNodeScroll.js.map +0 -1
- package/src/get/getParentNode.js +0 -13
- package/src/get/getParentNode.js.map +0 -1
- package/src/get/getRectRelativeToOffsetParent.js +0 -21
- package/src/get/getRectRelativeToOffsetParent.js.map +0 -1
- package/src/get/getUID.js +0 -31
- package/src/get/getUID.js.map +0 -1
- package/src/get/getWindow.js +0 -13
- package/src/get/getWindow.js.map +0 -1
- package/src/index.js +0 -411
- package/src/index.js.map +0 -1
- package/src/interface/boundingClientRect.js +0 -2
- package/src/interface/boundingClientRect.js.map +0 -1
- package/src/interface/navigatorUA.js +0 -2
- package/src/interface/navigatorUA.js.map +0 -1
- package/src/interface/offsetRect.js +0 -2
- package/src/interface/offsetRect.js.map +0 -1
- package/src/interface/originalEvent.js +0 -2
- package/src/interface/originalEvent.js.map +0 -1
- package/src/is/isArray.js +0 -3
- package/src/is/isArray.js.map +0 -1
- package/src/is/isCustomElement.js +0 -3
- package/src/is/isCustomElement.js.map +0 -1
- package/src/is/isDocument.js +0 -3
- package/src/is/isDocument.js.map +0 -1
- package/src/is/isElement.js +0 -3
- package/src/is/isElement.js.map +0 -1
- package/src/is/isElementInScrollRange.js +0 -12
- package/src/is/isElementInScrollRange.js.map +0 -1
- package/src/is/isElementInViewport.js +0 -12
- package/src/is/isElementInViewport.js.map +0 -1
- package/src/is/isElementsArray.js +0 -5
- package/src/is/isElementsArray.js.map +0 -1
- package/src/is/isFunction.js +0 -3
- package/src/is/isFunction.js.map +0 -1
- package/src/is/isHTMLCollection.js +0 -3
- package/src/is/isHTMLCollection.js.map +0 -1
- package/src/is/isHTMLElement.js +0 -3
- package/src/is/isHTMLElement.js.map +0 -1
- package/src/is/isHTMLImageElement.js +0 -3
- package/src/is/isHTMLImageElement.js.map +0 -1
- package/src/is/isMedia.js +0 -6
- package/src/is/isMedia.js.map +0 -1
- package/src/is/isNode.js +0 -3
- package/src/is/isNode.js.map +0 -1
- package/src/is/isNodeList.js +0 -3
- package/src/is/isNodeList.js.map +0 -1
- package/src/is/isNumber.js +0 -3
- package/src/is/isNumber.js.map +0 -1
- package/src/is/isObject.js +0 -3
- package/src/is/isObject.js.map +0 -1
- package/src/is/isRTL.js +0 -4
- package/src/is/isRTL.js.map +0 -1
- package/src/is/isSVGElement.js +0 -3
- package/src/is/isSVGElement.js.map +0 -1
- package/src/is/isScaledElement.js +0 -10
- package/src/is/isScaledElement.js.map +0 -1
- package/src/is/isShadowRoot.js +0 -3
- package/src/is/isShadowRoot.js.map +0 -1
- package/src/is/isString.js +0 -3
- package/src/is/isString.js.map +0 -1
- package/src/is/isTableElement.js +0 -3
- package/src/is/isTableElement.js.map +0 -1
- package/src/is/isWindow.js +0 -3
- package/src/is/isWindow.js.map +0 -1
- package/src/misc/ArrayFrom.js +0 -3
- package/src/misc/ArrayFrom.js.map +0 -1
- package/src/misc/Float32ArrayFrom.js +0 -3
- package/src/misc/Float32ArrayFrom.js.map +0 -1
- package/src/misc/Float64ArrayFrom.js +0 -3
- package/src/misc/Float64ArrayFrom.js.map +0 -1
- package/src/misc/ObjectAssign.js +0 -3
- package/src/misc/ObjectAssign.js.map +0 -1
- package/src/misc/ObjectEntries.js +0 -3
- package/src/misc/ObjectEntries.js.map +0 -1
- package/src/misc/ObjectKeys.js +0 -3
- package/src/misc/ObjectKeys.js.map +0 -1
- package/src/misc/ObjectValues.js +0 -3
- package/src/misc/ObjectValues.js.map +0 -1
- package/src/misc/OriginalEvent.js +0 -14
- package/src/misc/OriginalEvent.js.map +0 -1
- package/src/misc/createElement.js +0 -22
- package/src/misc/createElement.js.map +0 -1
- package/src/misc/createElementNS.js +0 -22
- package/src/misc/createElementNS.js.map +0 -1
- package/src/misc/data.js +0 -36
- package/src/misc/data.js.map +0 -1
- package/src/misc/dispatchEvent.js +0 -3
- package/src/misc/dispatchEvent.js.map +0 -1
- package/src/misc/distinct.js +0 -3
- package/src/misc/distinct.js.map +0 -1
- package/src/misc/emulateAnimationEnd.js +0 -29
- package/src/misc/emulateAnimationEnd.js.map +0 -1
- package/src/misc/emulateTransitionEnd.js +0 -29
- package/src/misc/emulateTransitionEnd.js.map +0 -1
- package/src/misc/focus.js +0 -3
- package/src/misc/focus.js.map +0 -1
- package/src/misc/noop.js +0 -3
- package/src/misc/noop.js.map +0 -1
- package/src/misc/normalizeOptions.js +0 -31
- package/src/misc/normalizeOptions.js.map +0 -1
- package/src/misc/normalizeValue.js +0 -17
- package/src/misc/normalizeValue.js.map +0 -1
- package/src/misc/passiveHandler.js +0 -3
- package/src/misc/passiveHandler.js.map +0 -1
- package/src/misc/reflow.js +0 -3
- package/src/misc/reflow.js.map +0 -1
- package/src/misc/setElementStyle.js +0 -16
- package/src/misc/setElementStyle.js.map +0 -1
- package/src/misc/timer.js +0 -47
- package/src/misc/timer.js.map +0 -1
- package/src/misc/toLowerCase.js +0 -3
- package/src/misc/toLowerCase.js.map +0 -1
- package/src/misc/toUpperCase.js +0 -3
- package/src/misc/toUpperCase.js.map +0 -1
- package/src/selectors/closest.js +0 -8
- package/src/selectors/closest.js.map +0 -1
- package/src/selectors/getCustomElements.js +0 -8
- package/src/selectors/getCustomElements.js.map +0 -1
- package/src/selectors/getElementById.js +0 -6
- package/src/selectors/getElementById.js.map +0 -1
- package/src/selectors/getElementsByClassName.js +0 -8
- package/src/selectors/getElementsByClassName.js.map +0 -1
- package/src/selectors/getElementsByTagName.js +0 -8
- package/src/selectors/getElementsByTagName.js.map +0 -1
- package/src/selectors/matches.js +0 -3
- package/src/selectors/matches.js.map +0 -1
- package/src/selectors/querySelector.js +0 -11
- package/src/selectors/querySelector.js.map +0 -1
- package/src/selectors/querySelectorAll.js +0 -8
- package/src/selectors/querySelectorAll.js.map +0 -1
- package/src/strings/DOMContentLoadedEvent.js +0 -3
- package/src/strings/DOMContentLoadedEvent.js.map +0 -1
- package/src/strings/DOMMouseScrollEvent.js +0 -3
- package/src/strings/DOMMouseScrollEvent.js.map +0 -1
- package/src/strings/abortEvent.js +0 -3
- package/src/strings/abortEvent.js.map +0 -1
- package/src/strings/addEventListener.js +0 -3
- package/src/strings/addEventListener.js.map +0 -1
- package/src/strings/animationDelay.js +0 -3
- package/src/strings/animationDelay.js.map +0 -1
- package/src/strings/animationDuration.js +0 -3
- package/src/strings/animationDuration.js.map +0 -1
- package/src/strings/animationEndEvent.js +0 -3
- package/src/strings/animationEndEvent.js.map +0 -1
- package/src/strings/animationName.js +0 -3
- package/src/strings/animationName.js.map +0 -1
- package/src/strings/ariaChecked.js +0 -3
- package/src/strings/ariaChecked.js.map +0 -1
- package/src/strings/ariaDescribedBy.js +0 -3
- package/src/strings/ariaDescribedBy.js.map +0 -1
- package/src/strings/ariaDescription.js +0 -3
- package/src/strings/ariaDescription.js.map +0 -1
- package/src/strings/ariaExpanded.js +0 -3
- package/src/strings/ariaExpanded.js.map +0 -1
- package/src/strings/ariaHasPopup.js +0 -3
- package/src/strings/ariaHasPopup.js.map +0 -1
- package/src/strings/ariaHidden.js +0 -3
- package/src/strings/ariaHidden.js.map +0 -1
- package/src/strings/ariaLabel.js +0 -3
- package/src/strings/ariaLabel.js.map +0 -1
- package/src/strings/ariaLabelledBy.js +0 -3
- package/src/strings/ariaLabelledBy.js.map +0 -1
- package/src/strings/ariaModal.js +0 -3
- package/src/strings/ariaModal.js.map +0 -1
- package/src/strings/ariaPressed.js +0 -3
- package/src/strings/ariaPressed.js.map +0 -1
- package/src/strings/ariaSelected.js +0 -3
- package/src/strings/ariaSelected.js.map +0 -1
- package/src/strings/ariaValueMax.js +0 -3
- package/src/strings/ariaValueMax.js.map +0 -1
- package/src/strings/ariaValueMin.js +0 -3
- package/src/strings/ariaValueMin.js.map +0 -1
- package/src/strings/ariaValueNow.js +0 -3
- package/src/strings/ariaValueNow.js.map +0 -1
- package/src/strings/ariaValueText.js +0 -3
- package/src/strings/ariaValueText.js.map +0 -1
- package/src/strings/beforeunloadEvent.js +0 -3
- package/src/strings/beforeunloadEvent.js.map +0 -1
- package/src/strings/bezierEasings.js +0 -29
- package/src/strings/bezierEasings.js.map +0 -1
- package/src/strings/blurEvent.js +0 -3
- package/src/strings/blurEvent.js.map +0 -1
- package/src/strings/changeEvent.js +0 -3
- package/src/strings/changeEvent.js.map +0 -1
- package/src/strings/contextmenuEvent.js +0 -3
- package/src/strings/contextmenuEvent.js.map +0 -1
- package/src/strings/errorEvent.js +0 -3
- package/src/strings/errorEvent.js.map +0 -1
- package/src/strings/focusEvent.js +0 -3
- package/src/strings/focusEvent.js.map +0 -1
- package/src/strings/focusEvents.js +0 -3
- package/src/strings/focusEvents.js.map +0 -1
- package/src/strings/focusinEvent.js +0 -3
- package/src/strings/focusinEvent.js.map +0 -1
- package/src/strings/focusoutEvent.js +0 -3
- package/src/strings/focusoutEvent.js.map +0 -1
- package/src/strings/gesturechangeEvent.js +0 -3
- package/src/strings/gesturechangeEvent.js.map +0 -1
- package/src/strings/gestureendEvent.js +0 -3
- package/src/strings/gestureendEvent.js.map +0 -1
- package/src/strings/gesturestartEvent.js +0 -3
- package/src/strings/gesturestartEvent.js.map +0 -1
- package/src/strings/keyAlt.js +0 -3
- package/src/strings/keyAlt.js.map +0 -1
- package/src/strings/keyArrowDown.js +0 -3
- package/src/strings/keyArrowDown.js.map +0 -1
- package/src/strings/keyArrowLeft.js +0 -3
- package/src/strings/keyArrowLeft.js.map +0 -1
- package/src/strings/keyArrowRight.js +0 -3
- package/src/strings/keyArrowRight.js.map +0 -1
- package/src/strings/keyArrowUp.js +0 -3
- package/src/strings/keyArrowUp.js.map +0 -1
- package/src/strings/keyBackspace.js +0 -3
- package/src/strings/keyBackspace.js.map +0 -1
- package/src/strings/keyCapsLock.js +0 -3
- package/src/strings/keyCapsLock.js.map +0 -1
- package/src/strings/keyControl.js +0 -3
- package/src/strings/keyControl.js.map +0 -1
- package/src/strings/keyDelete.js +0 -3
- package/src/strings/keyDelete.js.map +0 -1
- package/src/strings/keyEnter.js +0 -3
- package/src/strings/keyEnter.js.map +0 -1
- package/src/strings/keyEscape.js +0 -3
- package/src/strings/keyEscape.js.map +0 -1
- package/src/strings/keyInsert.js +0 -3
- package/src/strings/keyInsert.js.map +0 -1
- package/src/strings/keyMeta.js +0 -3
- package/src/strings/keyMeta.js.map +0 -1
- package/src/strings/keyPause.js +0 -3
- package/src/strings/keyPause.js.map +0 -1
- package/src/strings/keyScrollLock.js +0 -3
- package/src/strings/keyScrollLock.js.map +0 -1
- package/src/strings/keyShift.js +0 -3
- package/src/strings/keyShift.js.map +0 -1
- package/src/strings/keySpace.js +0 -3
- package/src/strings/keySpace.js.map +0 -1
- package/src/strings/keyTab.js +0 -3
- package/src/strings/keyTab.js.map +0 -1
- package/src/strings/keyboardEventKeys.js +0 -23
- package/src/strings/keyboardEventKeys.js.map +0 -1
- package/src/strings/keydownEvent.js +0 -3
- package/src/strings/keydownEvent.js.map +0 -1
- package/src/strings/keypressEvent.js +0 -3
- package/src/strings/keypressEvent.js.map +0 -1
- package/src/strings/keyupEvent.js +0 -3
- package/src/strings/keyupEvent.js.map +0 -1
- package/src/strings/loadEvent.js +0 -3
- package/src/strings/loadEvent.js.map +0 -1
- package/src/strings/loadstartEvent.js +0 -3
- package/src/strings/loadstartEvent.js.map +0 -1
- package/src/strings/mouseClickEvents.js +0 -3
- package/src/strings/mouseClickEvents.js.map +0 -1
- package/src/strings/mouseHoverEvents.js +0 -5
- package/src/strings/mouseHoverEvents.js.map +0 -1
- package/src/strings/mouseSwipeEvents.js +0 -8
- package/src/strings/mouseSwipeEvents.js.map +0 -1
- package/src/strings/mouseclickEvent.js +0 -3
- package/src/strings/mouseclickEvent.js.map +0 -1
- package/src/strings/mousedblclickEvent.js +0 -3
- package/src/strings/mousedblclickEvent.js.map +0 -1
- package/src/strings/mousedownEvent.js +0 -3
- package/src/strings/mousedownEvent.js.map +0 -1
- package/src/strings/mouseenterEvent.js +0 -3
- package/src/strings/mouseenterEvent.js.map +0 -1
- package/src/strings/mousehoverEvent.js +0 -3
- package/src/strings/mousehoverEvent.js.map +0 -1
- package/src/strings/mouseinEvent.js +0 -3
- package/src/strings/mouseinEvent.js.map +0 -1
- package/src/strings/mouseleaveEvent.js +0 -3
- package/src/strings/mouseleaveEvent.js.map +0 -1
- package/src/strings/mousemoveEvent.js +0 -3
- package/src/strings/mousemoveEvent.js.map +0 -1
- package/src/strings/mouseoutEvent.js +0 -3
- package/src/strings/mouseoutEvent.js.map +0 -1
- package/src/strings/mouseoverEvent.js +0 -3
- package/src/strings/mouseoverEvent.js.map +0 -1
- package/src/strings/mouseupEvent.js +0 -3
- package/src/strings/mouseupEvent.js.map +0 -1
- package/src/strings/mousewheelEvent.js +0 -3
- package/src/strings/mousewheelEvent.js.map +0 -1
- package/src/strings/moveEvent.js +0 -3
- package/src/strings/moveEvent.js.map +0 -1
- package/src/strings/nativeEvents.js +0 -104
- package/src/strings/nativeEvents.js.map +0 -1
- package/src/strings/offsetHeight.js +0 -3
- package/src/strings/offsetHeight.js.map +0 -1
- package/src/strings/offsetWidth.js +0 -3
- package/src/strings/offsetWidth.js.map +0 -1
- package/src/strings/orientationchangeEvent.js +0 -3
- package/src/strings/orientationchangeEvent.js.map +0 -1
- package/src/strings/pointercancelEvent.js +0 -3
- package/src/strings/pointercancelEvent.js.map +0 -1
- package/src/strings/pointerdownEvent.js +0 -3
- package/src/strings/pointerdownEvent.js.map +0 -1
- package/src/strings/pointerleaveEvent.js +0 -3
- package/src/strings/pointerleaveEvent.js.map +0 -1
- package/src/strings/pointermoveEvent.js +0 -3
- package/src/strings/pointermoveEvent.js.map +0 -1
- package/src/strings/pointerupEvent.js +0 -3
- package/src/strings/pointerupEvent.js.map +0 -1
- package/src/strings/readystatechangeEvent.js +0 -3
- package/src/strings/readystatechangeEvent.js.map +0 -1
- package/src/strings/removeEventListener.js +0 -3
- package/src/strings/removeEventListener.js.map +0 -1
- package/src/strings/resetEvent.js +0 -3
- package/src/strings/resetEvent.js.map +0 -1
- package/src/strings/resizeEvent.js +0 -3
- package/src/strings/resizeEvent.js.map +0 -1
- package/src/strings/scrollEvent.js +0 -3
- package/src/strings/scrollEvent.js.map +0 -1
- package/src/strings/scrollHeight.js +0 -3
- package/src/strings/scrollHeight.js.map +0 -1
- package/src/strings/scrollWidth.js +0 -3
- package/src/strings/scrollWidth.js.map +0 -1
- package/src/strings/selectEvent.js +0 -3
- package/src/strings/selectEvent.js.map +0 -1
- package/src/strings/selectendEvent.js +0 -3
- package/src/strings/selectendEvent.js.map +0 -1
- package/src/strings/selectstartEvent.js +0 -3
- package/src/strings/selectstartEvent.js.map +0 -1
- package/src/strings/submitEvent.js +0 -3
- package/src/strings/submitEvent.js.map +0 -1
- package/src/strings/tabindex.js +0 -3
- package/src/strings/tabindex.js.map +0 -1
- package/src/strings/touchEvents.js +0 -8
- package/src/strings/touchEvents.js.map +0 -1
- package/src/strings/touchcancelEvent.js +0 -3
- package/src/strings/touchcancelEvent.js.map +0 -1
- package/src/strings/touchendEvent.js +0 -3
- package/src/strings/touchendEvent.js.map +0 -1
- package/src/strings/touchmoveEvent.js +0 -3
- package/src/strings/touchmoveEvent.js.map +0 -1
- package/src/strings/touchstartEvent.js +0 -3
- package/src/strings/touchstartEvent.js.map +0 -1
- package/src/strings/transitionDelay.js +0 -3
- package/src/strings/transitionDelay.js.map +0 -1
- package/src/strings/transitionDuration.js +0 -3
- package/src/strings/transitionDuration.js.map +0 -1
- package/src/strings/transitionEndEvent.js +0 -3
- package/src/strings/transitionEndEvent.js.map +0 -1
- package/src/strings/transitionProperty.js +0 -3
- package/src/strings/transitionProperty.js.map +0 -1
- package/src/strings/unloadEvent.js +0 -3
- package/src/strings/unloadEvent.js.map +0 -1
- package/src/strings/userAgent.js +0 -4
- package/src/strings/userAgent.js.map +0 -1
- package/src/strings/userAgentData.js +0 -4
- package/src/strings/userAgentData.js.map +0 -1
- package/types/attr/getAttribute.d.ts +0 -3
- package/types/attr/getAttribute.d.ts.map +0 -1
- package/types/attr/getAttributeNS.d.ts +0 -3
- package/types/attr/getAttributeNS.d.ts.map +0 -1
- package/types/attr/hasAttribute.d.ts +0 -3
- package/types/attr/hasAttribute.d.ts.map +0 -1
- package/types/attr/hasAttributeNS.d.ts +0 -3
- package/types/attr/hasAttributeNS.d.ts.map +0 -1
- package/types/attr/removeAttribute.d.ts +0 -3
- package/types/attr/removeAttribute.d.ts.map +0 -1
- package/types/attr/removeAttributeNS.d.ts +0 -3
- package/types/attr/removeAttributeNS.d.ts.map +0 -1
- package/types/attr/setAttribute.d.ts +0 -3
- package/types/attr/setAttribute.d.ts.map +0 -1
- package/types/attr/setAttributeNS.d.ts +0 -3
- package/types/attr/setAttributeNS.d.ts.map +0 -1
- package/types/blocks/documentBody.d.ts +0 -3
- package/types/blocks/documentBody.d.ts.map +0 -1
- package/types/blocks/documentElement.d.ts +0 -3
- package/types/blocks/documentElement.d.ts.map +0 -1
- package/types/blocks/documentHead.d.ts +0 -3
- package/types/blocks/documentHead.d.ts.map +0 -1
- package/types/boolean/isApple.d.ts +0 -3
- package/types/boolean/isApple.d.ts.map +0 -1
- package/types/boolean/isFirefox.d.ts +0 -3
- package/types/boolean/isFirefox.d.ts.map +0 -1
- package/types/boolean/isMobile.d.ts +0 -3
- package/types/boolean/isMobile.d.ts.map +0 -1
- package/types/boolean/support3DTransform.d.ts +0 -3
- package/types/boolean/support3DTransform.d.ts.map +0 -1
- package/types/boolean/supportAnimation.d.ts +0 -3
- package/types/boolean/supportAnimation.d.ts.map +0 -1
- package/types/boolean/supportPassive.d.ts +0 -3
- package/types/boolean/supportPassive.d.ts.map +0 -1
- package/types/boolean/supportTouch.d.ts +0 -3
- package/types/boolean/supportTouch.d.ts.map +0 -1
- package/types/boolean/supportTransform.d.ts +0 -3
- package/types/boolean/supportTransform.d.ts.map +0 -1
- package/types/boolean/supportTransition.d.ts +0 -3
- package/types/boolean/supportTransition.d.ts.map +0 -1
- package/types/class/addClass.d.ts +0 -3
- package/types/class/addClass.d.ts.map +0 -1
- package/types/class/hasClass.d.ts +0 -3
- package/types/class/hasClass.d.ts.map +0 -1
- package/types/class/removeClass.d.ts +0 -3
- package/types/class/removeClass.d.ts.map +0 -1
- package/types/event/off.d.ts +0 -2
- package/types/event/off.d.ts.map +0 -1
- package/types/event/on.d.ts +0 -2
- package/types/event/on.d.ts.map +0 -1
- package/types/event/one.d.ts +0 -3
- package/types/event/one.d.ts.map +0 -1
- package/types/get/getBoundingClientRect.d.ts +0 -4
- package/types/get/getBoundingClientRect.d.ts.map +0 -1
- package/types/get/getDocument.d.ts +0 -3
- package/types/get/getDocument.d.ts.map +0 -1
- package/types/get/getDocumentBody.d.ts +0 -3
- package/types/get/getDocumentBody.d.ts.map +0 -1
- package/types/get/getDocumentElement.d.ts +0 -3
- package/types/get/getDocumentElement.d.ts.map +0 -1
- package/types/get/getDocumentHead.d.ts +0 -3
- package/types/get/getDocumentHead.d.ts.map +0 -1
- package/types/get/getElementAnimationDelay.d.ts +0 -3
- package/types/get/getElementAnimationDelay.d.ts.map +0 -1
- package/types/get/getElementAnimationDuration.d.ts +0 -3
- package/types/get/getElementAnimationDuration.d.ts.map +0 -1
- package/types/get/getElementStyle.d.ts +0 -3
- package/types/get/getElementStyle.d.ts.map +0 -1
- package/types/get/getElementTransitionDelay.d.ts +0 -3
- package/types/get/getElementTransitionDelay.d.ts.map +0 -1
- package/types/get/getElementTransitionDuration.d.ts +0 -3
- package/types/get/getElementTransitionDuration.d.ts.map +0 -1
- package/types/get/getNodeScroll.d.ts +0 -6
- package/types/get/getNodeScroll.d.ts.map +0 -1
- package/types/get/getParentNode.d.ts +0 -3
- package/types/get/getParentNode.d.ts.map +0 -1
- package/types/get/getRectRelativeToOffsetParent.d.ts +0 -7
- package/types/get/getRectRelativeToOffsetParent.d.ts.map +0 -1
- package/types/get/getUID.d.ts +0 -3
- package/types/get/getUID.d.ts.map +0 -1
- package/types/get/getWindow.d.ts +0 -3
- package/types/get/getWindow.d.ts.map +0 -1
- package/types/index.d.ts +0 -341
- package/types/index.d.ts.map +0 -1
- package/types/interface/boundingClientRect.d.ts +0 -11
- package/types/interface/boundingClientRect.d.ts.map +0 -1
- package/types/interface/navigatorUA.d.ts +0 -13
- package/types/interface/navigatorUA.d.ts.map +0 -1
- package/types/interface/offsetRect.d.ts +0 -7
- package/types/interface/offsetRect.d.ts.map +0 -1
- package/types/interface/originalEvent.d.ts +0 -4
- package/types/interface/originalEvent.d.ts.map +0 -1
- package/types/is/isArray.d.ts +0 -3
- package/types/is/isArray.d.ts.map +0 -1
- package/types/is/isCustomElement.d.ts +0 -5
- package/types/is/isCustomElement.d.ts.map +0 -1
- package/types/is/isDocument.d.ts +0 -3
- package/types/is/isDocument.d.ts.map +0 -1
- package/types/is/isElement.d.ts +0 -3
- package/types/is/isElement.d.ts.map +0 -1
- package/types/is/isElementInScrollRange.d.ts +0 -3
- package/types/is/isElementInScrollRange.d.ts.map +0 -1
- package/types/is/isElementInViewport.d.ts +0 -3
- package/types/is/isElementInViewport.d.ts.map +0 -1
- package/types/is/isElementsArray.d.ts +0 -3
- package/types/is/isElementsArray.d.ts.map +0 -1
- package/types/is/isFunction.d.ts +0 -3
- package/types/is/isFunction.d.ts.map +0 -1
- package/types/is/isHTMLCollection.d.ts +0 -3
- package/types/is/isHTMLCollection.d.ts.map +0 -1
- package/types/is/isHTMLElement.d.ts +0 -3
- package/types/is/isHTMLElement.d.ts.map +0 -1
- package/types/is/isHTMLImageElement.d.ts +0 -3
- package/types/is/isHTMLImageElement.d.ts.map +0 -1
- package/types/is/isMedia.d.ts +0 -3
- package/types/is/isMedia.d.ts.map +0 -1
- package/types/is/isNode.d.ts +0 -3
- package/types/is/isNode.d.ts.map +0 -1
- package/types/is/isNodeList.d.ts +0 -3
- package/types/is/isNodeList.d.ts.map +0 -1
- package/types/is/isNumber.d.ts +0 -3
- package/types/is/isNumber.d.ts.map +0 -1
- package/types/is/isObject.d.ts +0 -3
- package/types/is/isObject.d.ts.map +0 -1
- package/types/is/isRTL.d.ts +0 -3
- package/types/is/isRTL.d.ts.map +0 -1
- package/types/is/isSVGElement.d.ts +0 -3
- package/types/is/isSVGElement.d.ts.map +0 -1
- package/types/is/isScaledElement.d.ts +0 -2
- package/types/is/isScaledElement.d.ts.map +0 -1
- package/types/is/isShadowRoot.d.ts +0 -3
- package/types/is/isShadowRoot.d.ts.map +0 -1
- package/types/is/isString.d.ts +0 -3
- package/types/is/isString.d.ts.map +0 -1
- package/types/is/isTableElement.d.ts +0 -3
- package/types/is/isTableElement.d.ts.map +0 -1
- package/types/is/isWindow.d.ts +0 -3
- package/types/is/isWindow.d.ts.map +0 -1
- package/types/misc/ArrayFrom.d.ts +0 -3
- package/types/misc/ArrayFrom.d.ts.map +0 -1
- package/types/misc/Float32ArrayFrom.d.ts +0 -3
- package/types/misc/Float32ArrayFrom.d.ts.map +0 -1
- package/types/misc/Float64ArrayFrom.d.ts +0 -3
- package/types/misc/Float64ArrayFrom.d.ts.map +0 -1
- package/types/misc/ObjectAssign.d.ts +0 -3
- package/types/misc/ObjectAssign.d.ts.map +0 -1
- package/types/misc/ObjectEntries.d.ts +0 -3
- package/types/misc/ObjectEntries.d.ts.map +0 -1
- package/types/misc/ObjectKeys.d.ts +0 -3
- package/types/misc/ObjectKeys.d.ts.map +0 -1
- package/types/misc/ObjectValues.d.ts +0 -3
- package/types/misc/ObjectValues.d.ts.map +0 -1
- package/types/misc/OriginalEvent.d.ts +0 -4
- package/types/misc/OriginalEvent.d.ts.map +0 -1
- package/types/misc/createElement.d.ts +0 -3
- package/types/misc/createElement.d.ts.map +0 -1
- package/types/misc/createElementNS.d.ts +0 -3
- package/types/misc/createElementNS.d.ts.map +0 -1
- package/types/misc/data.d.ts +0 -9
- package/types/misc/data.d.ts.map +0 -1
- package/types/misc/dispatchEvent.d.ts +0 -3
- package/types/misc/dispatchEvent.d.ts.map +0 -1
- package/types/misc/distinct.d.ts +0 -3
- package/types/misc/distinct.d.ts.map +0 -1
- package/types/misc/emulateAnimationEnd.d.ts +0 -3
- package/types/misc/emulateAnimationEnd.d.ts.map +0 -1
- package/types/misc/emulateTransitionEnd.d.ts +0 -3
- package/types/misc/emulateTransitionEnd.d.ts.map +0 -1
- package/types/misc/focus.d.ts +0 -3
- package/types/misc/focus.d.ts.map +0 -1
- package/types/misc/noop.d.ts +0 -3
- package/types/misc/noop.d.ts.map +0 -1
- package/types/misc/normalizeOptions.d.ts +0 -3
- package/types/misc/normalizeOptions.d.ts.map +0 -1
- package/types/misc/normalizeValue.d.ts +0 -3
- package/types/misc/normalizeValue.d.ts.map +0 -1
- package/types/misc/passiveHandler.d.ts +0 -3
- package/types/misc/passiveHandler.d.ts.map +0 -1
- package/types/misc/reflow.d.ts +0 -3
- package/types/misc/reflow.d.ts.map +0 -1
- package/types/misc/setElementStyle.d.ts +0 -3
- package/types/misc/setElementStyle.d.ts.map +0 -1
- package/types/misc/timer.d.ts +0 -7
- package/types/misc/timer.d.ts.map +0 -1
- package/types/misc/toLowerCase.d.ts +0 -3
- package/types/misc/toLowerCase.d.ts.map +0 -1
- package/types/misc/toUpperCase.d.ts +0 -3
- package/types/misc/toUpperCase.d.ts.map +0 -1
- package/types/selectors/closest.d.ts +0 -3
- package/types/selectors/closest.d.ts.map +0 -1
- package/types/selectors/getCustomElements.d.ts +0 -3
- package/types/selectors/getCustomElements.d.ts.map +0 -1
- package/types/selectors/getElementById.d.ts +0 -3
- package/types/selectors/getElementById.d.ts.map +0 -1
- package/types/selectors/getElementsByClassName.d.ts +0 -3
- package/types/selectors/getElementsByClassName.d.ts.map +0 -1
- package/types/selectors/getElementsByTagName.d.ts +0 -3
- package/types/selectors/getElementsByTagName.d.ts.map +0 -1
- package/types/selectors/matches.d.ts +0 -3
- package/types/selectors/matches.d.ts.map +0 -1
- package/types/selectors/querySelector.d.ts +0 -3
- package/types/selectors/querySelector.d.ts.map +0 -1
- package/types/selectors/querySelectorAll.d.ts +0 -3
- package/types/selectors/querySelectorAll.d.ts.map +0 -1
- package/types/strings/DOMContentLoadedEvent.d.ts +0 -3
- package/types/strings/DOMContentLoadedEvent.d.ts.map +0 -1
- package/types/strings/DOMMouseScrollEvent.d.ts +0 -3
- package/types/strings/DOMMouseScrollEvent.d.ts.map +0 -1
- package/types/strings/abortEvent.d.ts +0 -3
- package/types/strings/abortEvent.d.ts.map +0 -1
- package/types/strings/addEventListener.d.ts +0 -3
- package/types/strings/addEventListener.d.ts.map +0 -1
- package/types/strings/animationDelay.d.ts +0 -3
- package/types/strings/animationDelay.d.ts.map +0 -1
- package/types/strings/animationDuration.d.ts +0 -3
- package/types/strings/animationDuration.d.ts.map +0 -1
- package/types/strings/animationEndEvent.d.ts +0 -3
- package/types/strings/animationEndEvent.d.ts.map +0 -1
- package/types/strings/animationName.d.ts +0 -3
- package/types/strings/animationName.d.ts.map +0 -1
- package/types/strings/ariaChecked.d.ts +0 -3
- package/types/strings/ariaChecked.d.ts.map +0 -1
- package/types/strings/ariaDescribedBy.d.ts +0 -3
- package/types/strings/ariaDescribedBy.d.ts.map +0 -1
- package/types/strings/ariaDescription.d.ts +0 -3
- package/types/strings/ariaDescription.d.ts.map +0 -1
- package/types/strings/ariaExpanded.d.ts +0 -3
- package/types/strings/ariaExpanded.d.ts.map +0 -1
- package/types/strings/ariaHasPopup.d.ts +0 -3
- package/types/strings/ariaHasPopup.d.ts.map +0 -1
- package/types/strings/ariaHidden.d.ts +0 -3
- package/types/strings/ariaHidden.d.ts.map +0 -1
- package/types/strings/ariaLabel.d.ts +0 -3
- package/types/strings/ariaLabel.d.ts.map +0 -1
- package/types/strings/ariaLabelledBy.d.ts +0 -3
- package/types/strings/ariaLabelledBy.d.ts.map +0 -1
- package/types/strings/ariaModal.d.ts +0 -3
- package/types/strings/ariaModal.d.ts.map +0 -1
- package/types/strings/ariaPressed.d.ts +0 -3
- package/types/strings/ariaPressed.d.ts.map +0 -1
- package/types/strings/ariaSelected.d.ts +0 -3
- package/types/strings/ariaSelected.d.ts.map +0 -1
- package/types/strings/ariaValueMax.d.ts +0 -3
- package/types/strings/ariaValueMax.d.ts.map +0 -1
- package/types/strings/ariaValueMin.d.ts +0 -3
- package/types/strings/ariaValueMin.d.ts.map +0 -1
- package/types/strings/ariaValueNow.d.ts +0 -3
- package/types/strings/ariaValueNow.d.ts.map +0 -1
- package/types/strings/ariaValueText.d.ts +0 -3
- package/types/strings/ariaValueText.d.ts.map +0 -1
- package/types/strings/beforeunloadEvent.d.ts +0 -3
- package/types/strings/beforeunloadEvent.d.ts.map +0 -1
- package/types/strings/bezierEasings.d.ts +0 -29
- package/types/strings/bezierEasings.d.ts.map +0 -1
- package/types/strings/blurEvent.d.ts +0 -3
- package/types/strings/blurEvent.d.ts.map +0 -1
- package/types/strings/changeEvent.d.ts +0 -3
- package/types/strings/changeEvent.d.ts.map +0 -1
- package/types/strings/contextmenuEvent.d.ts +0 -3
- package/types/strings/contextmenuEvent.d.ts.map +0 -1
- package/types/strings/errorEvent.d.ts +0 -3
- package/types/strings/errorEvent.d.ts.map +0 -1
- package/types/strings/focusEvent.d.ts +0 -3
- package/types/strings/focusEvent.d.ts.map +0 -1
- package/types/strings/focusEvents.d.ts +0 -6
- package/types/strings/focusEvents.d.ts.map +0 -1
- package/types/strings/focusinEvent.d.ts +0 -3
- package/types/strings/focusinEvent.d.ts.map +0 -1
- package/types/strings/focusoutEvent.d.ts +0 -3
- package/types/strings/focusoutEvent.d.ts.map +0 -1
- package/types/strings/gesturechangeEvent.d.ts +0 -3
- package/types/strings/gesturechangeEvent.d.ts.map +0 -1
- package/types/strings/gestureendEvent.d.ts +0 -3
- package/types/strings/gestureendEvent.d.ts.map +0 -1
- package/types/strings/gesturestartEvent.d.ts +0 -3
- package/types/strings/gesturestartEvent.d.ts.map +0 -1
- package/types/strings/keyAlt.d.ts +0 -3
- package/types/strings/keyAlt.d.ts.map +0 -1
- package/types/strings/keyArrowDown.d.ts +0 -3
- package/types/strings/keyArrowDown.d.ts.map +0 -1
- package/types/strings/keyArrowLeft.d.ts +0 -3
- package/types/strings/keyArrowLeft.d.ts.map +0 -1
- package/types/strings/keyArrowRight.d.ts +0 -3
- package/types/strings/keyArrowRight.d.ts.map +0 -1
- package/types/strings/keyArrowUp.d.ts +0 -3
- package/types/strings/keyArrowUp.d.ts.map +0 -1
- package/types/strings/keyBackspace.d.ts +0 -3
- package/types/strings/keyBackspace.d.ts.map +0 -1
- package/types/strings/keyCapsLock.d.ts +0 -3
- package/types/strings/keyCapsLock.d.ts.map +0 -1
- package/types/strings/keyControl.d.ts +0 -3
- package/types/strings/keyControl.d.ts.map +0 -1
- package/types/strings/keyDelete.d.ts +0 -3
- package/types/strings/keyDelete.d.ts.map +0 -1
- package/types/strings/keyEnter.d.ts +0 -3
- package/types/strings/keyEnter.d.ts.map +0 -1
- package/types/strings/keyEscape.d.ts +0 -3
- package/types/strings/keyEscape.d.ts.map +0 -1
- package/types/strings/keyInsert.d.ts +0 -3
- package/types/strings/keyInsert.d.ts.map +0 -1
- package/types/strings/keyMeta.d.ts +0 -3
- package/types/strings/keyMeta.d.ts.map +0 -1
- package/types/strings/keyPause.d.ts +0 -3
- package/types/strings/keyPause.d.ts.map +0 -1
- package/types/strings/keyScrollLock.d.ts +0 -3
- package/types/strings/keyScrollLock.d.ts.map +0 -1
- package/types/strings/keyShift.d.ts +0 -3
- package/types/strings/keyShift.d.ts.map +0 -1
- package/types/strings/keySpace.d.ts +0 -3
- package/types/strings/keySpace.d.ts.map +0 -1
- package/types/strings/keyTab.d.ts +0 -3
- package/types/strings/keyTab.d.ts.map +0 -1
- package/types/strings/keyboardEventKeys.d.ts +0 -23
- package/types/strings/keyboardEventKeys.d.ts.map +0 -1
- package/types/strings/keydownEvent.d.ts +0 -3
- package/types/strings/keydownEvent.d.ts.map +0 -1
- package/types/strings/keypressEvent.d.ts +0 -3
- package/types/strings/keypressEvent.d.ts.map +0 -1
- package/types/strings/keyupEvent.d.ts +0 -3
- package/types/strings/keyupEvent.d.ts.map +0 -1
- package/types/strings/loadEvent.d.ts +0 -3
- package/types/strings/loadEvent.d.ts.map +0 -1
- package/types/strings/loadstartEvent.d.ts +0 -3
- package/types/strings/loadstartEvent.d.ts.map +0 -1
- package/types/strings/mouseClickEvents.d.ts +0 -6
- package/types/strings/mouseClickEvents.d.ts.map +0 -1
- package/types/strings/mouseHoverEvents.d.ts +0 -3
- package/types/strings/mouseHoverEvents.d.ts.map +0 -1
- package/types/strings/mouseSwipeEvents.d.ts +0 -8
- package/types/strings/mouseSwipeEvents.d.ts.map +0 -1
- package/types/strings/mouseclickEvent.d.ts +0 -3
- package/types/strings/mouseclickEvent.d.ts.map +0 -1
- package/types/strings/mousedblclickEvent.d.ts +0 -3
- package/types/strings/mousedblclickEvent.d.ts.map +0 -1
- package/types/strings/mousedownEvent.d.ts +0 -3
- package/types/strings/mousedownEvent.d.ts.map +0 -1
- package/types/strings/mouseenterEvent.d.ts +0 -3
- package/types/strings/mouseenterEvent.d.ts.map +0 -1
- package/types/strings/mousehoverEvent.d.ts +0 -3
- package/types/strings/mousehoverEvent.d.ts.map +0 -1
- package/types/strings/mouseinEvent.d.ts +0 -3
- package/types/strings/mouseinEvent.d.ts.map +0 -1
- package/types/strings/mouseleaveEvent.d.ts +0 -3
- package/types/strings/mouseleaveEvent.d.ts.map +0 -1
- package/types/strings/mousemoveEvent.d.ts +0 -3
- package/types/strings/mousemoveEvent.d.ts.map +0 -1
- package/types/strings/mouseoutEvent.d.ts +0 -3
- package/types/strings/mouseoutEvent.d.ts.map +0 -1
- package/types/strings/mouseoverEvent.d.ts +0 -3
- package/types/strings/mouseoverEvent.d.ts.map +0 -1
- package/types/strings/mouseupEvent.d.ts +0 -3
- package/types/strings/mouseupEvent.d.ts.map +0 -1
- package/types/strings/mousewheelEvent.d.ts +0 -3
- package/types/strings/mousewheelEvent.d.ts.map +0 -1
- package/types/strings/moveEvent.d.ts +0 -3
- package/types/strings/moveEvent.d.ts.map +0 -1
- package/types/strings/nativeEvents.d.ts +0 -54
- package/types/strings/nativeEvents.d.ts.map +0 -1
- package/types/strings/offsetHeight.d.ts +0 -3
- package/types/strings/offsetHeight.d.ts.map +0 -1
- package/types/strings/offsetWidth.d.ts +0 -3
- package/types/strings/offsetWidth.d.ts.map +0 -1
- package/types/strings/orientationchangeEvent.d.ts +0 -3
- package/types/strings/orientationchangeEvent.d.ts.map +0 -1
- package/types/strings/pointercancelEvent.d.ts +0 -3
- package/types/strings/pointercancelEvent.d.ts.map +0 -1
- package/types/strings/pointerdownEvent.d.ts +0 -3
- package/types/strings/pointerdownEvent.d.ts.map +0 -1
- package/types/strings/pointerleaveEvent.d.ts +0 -3
- package/types/strings/pointerleaveEvent.d.ts.map +0 -1
- package/types/strings/pointermoveEvent.d.ts +0 -3
- package/types/strings/pointermoveEvent.d.ts.map +0 -1
- package/types/strings/pointerupEvent.d.ts +0 -3
- package/types/strings/pointerupEvent.d.ts.map +0 -1
- package/types/strings/readystatechangeEvent.d.ts +0 -3
- package/types/strings/readystatechangeEvent.d.ts.map +0 -1
- package/types/strings/removeEventListener.d.ts +0 -3
- package/types/strings/removeEventListener.d.ts.map +0 -1
- package/types/strings/resetEvent.d.ts +0 -3
- package/types/strings/resetEvent.d.ts.map +0 -1
- package/types/strings/resizeEvent.d.ts +0 -3
- package/types/strings/resizeEvent.d.ts.map +0 -1
- package/types/strings/scrollEvent.d.ts +0 -3
- package/types/strings/scrollEvent.d.ts.map +0 -1
- package/types/strings/scrollHeight.d.ts +0 -3
- package/types/strings/scrollHeight.d.ts.map +0 -1
- package/types/strings/scrollWidth.d.ts +0 -3
- package/types/strings/scrollWidth.d.ts.map +0 -1
- package/types/strings/selectEvent.d.ts +0 -3
- package/types/strings/selectEvent.d.ts.map +0 -1
- package/types/strings/selectendEvent.d.ts +0 -3
- package/types/strings/selectendEvent.d.ts.map +0 -1
- package/types/strings/selectstartEvent.d.ts +0 -3
- package/types/strings/selectstartEvent.d.ts.map +0 -1
- package/types/strings/submitEvent.d.ts +0 -3
- package/types/strings/submitEvent.d.ts.map +0 -1
- package/types/strings/tabindex.d.ts +0 -3
- package/types/strings/tabindex.d.ts.map +0 -1
- package/types/strings/touchEvents.d.ts +0 -8
- package/types/strings/touchEvents.d.ts.map +0 -1
- package/types/strings/touchcancelEvent.d.ts +0 -3
- package/types/strings/touchcancelEvent.d.ts.map +0 -1
- package/types/strings/touchendEvent.d.ts +0 -3
- package/types/strings/touchendEvent.d.ts.map +0 -1
- package/types/strings/touchmoveEvent.d.ts +0 -3
- package/types/strings/touchmoveEvent.d.ts.map +0 -1
- package/types/strings/touchstartEvent.d.ts +0 -3
- package/types/strings/touchstartEvent.d.ts.map +0 -1
- package/types/strings/transitionDelay.d.ts +0 -3
- package/types/strings/transitionDelay.d.ts.map +0 -1
- package/types/strings/transitionDuration.d.ts +0 -3
- package/types/strings/transitionDuration.d.ts.map +0 -1
- package/types/strings/transitionEndEvent.d.ts +0 -3
- package/types/strings/transitionEndEvent.d.ts.map +0 -1
- package/types/strings/transitionProperty.d.ts +0 -3
- package/types/strings/transitionProperty.d.ts.map +0 -1
- package/types/strings/unloadEvent.d.ts +0 -3
- package/types/strings/unloadEvent.d.ts.map +0 -1
- package/types/strings/userAgent.d.ts +0 -3
- package/types/strings/userAgent.d.ts.map +0 -1
- package/types/strings/userAgentData.d.ts +0 -4
- package/types/strings/userAgentData.d.ts.map +0 -1
package/src/index.ts
CHANGED
|
@@ -1,236 +1,240 @@
|
|
|
1
1
|
// strings
|
|
2
|
-
import ariaChecked from
|
|
3
|
-
import ariaDescription from
|
|
4
|
-
import ariaDescribedBy from
|
|
5
|
-
import ariaExpanded from
|
|
6
|
-
import ariaHasPopup from
|
|
7
|
-
import ariaHidden from
|
|
8
|
-
import ariaLabel from
|
|
9
|
-
import ariaLabelledBy from
|
|
10
|
-
import ariaModal from
|
|
11
|
-
import ariaPressed from
|
|
12
|
-
import ariaSelected from
|
|
13
|
-
import ariaValueMin from
|
|
14
|
-
import ariaValueMax from
|
|
15
|
-
import ariaValueNow from
|
|
16
|
-
import ariaValueText from
|
|
2
|
+
import ariaChecked from './strings/ariaChecked';
|
|
3
|
+
import ariaDescription from './strings/ariaDescription';
|
|
4
|
+
import ariaDescribedBy from './strings/ariaDescribedBy';
|
|
5
|
+
import ariaExpanded from './strings/ariaExpanded';
|
|
6
|
+
import ariaHasPopup from './strings/ariaHasPopup';
|
|
7
|
+
import ariaHidden from './strings/ariaHidden';
|
|
8
|
+
import ariaLabel from './strings/ariaLabel';
|
|
9
|
+
import ariaLabelledBy from './strings/ariaLabelledBy';
|
|
10
|
+
import ariaModal from './strings/ariaModal';
|
|
11
|
+
import ariaPressed from './strings/ariaPressed';
|
|
12
|
+
import ariaSelected from './strings/ariaSelected';
|
|
13
|
+
import ariaValueMin from './strings/ariaValueMin';
|
|
14
|
+
import ariaValueMax from './strings/ariaValueMax';
|
|
15
|
+
import ariaValueNow from './strings/ariaValueNow';
|
|
16
|
+
import ariaValueText from './strings/ariaValueText';
|
|
17
17
|
|
|
18
|
-
import nativeEvents from
|
|
19
|
-
import abortEvent from
|
|
20
|
-
import blurEvent from
|
|
21
|
-
import moveEvent from
|
|
22
|
-
import changeEvent from
|
|
23
|
-
import errorEvent from
|
|
24
|
-
import resetEvent from
|
|
25
|
-
import resizeEvent from
|
|
26
|
-
import scrollEvent from
|
|
27
|
-
import submitEvent from
|
|
28
|
-
import loadEvent from
|
|
29
|
-
import loadstartEvent from
|
|
30
|
-
import unloadEvent from
|
|
31
|
-
import readystatechangeEvent from
|
|
32
|
-
import beforeunloadEvent from
|
|
33
|
-
import orientationchangeEvent from
|
|
34
|
-
import contextmenuEvent from
|
|
35
|
-
import DOMContentLoadedEvent from
|
|
36
|
-
import DOMMouseScrollEvent from
|
|
18
|
+
import nativeEvents from './strings/nativeEvents';
|
|
19
|
+
import abortEvent from './strings/abortEvent';
|
|
20
|
+
import blurEvent from './strings/blurEvent';
|
|
21
|
+
import moveEvent from './strings/moveEvent';
|
|
22
|
+
import changeEvent from './strings/changeEvent';
|
|
23
|
+
import errorEvent from './strings/errorEvent';
|
|
24
|
+
import resetEvent from './strings/resetEvent';
|
|
25
|
+
import resizeEvent from './strings/resizeEvent';
|
|
26
|
+
import scrollEvent from './strings/scrollEvent';
|
|
27
|
+
import submitEvent from './strings/submitEvent';
|
|
28
|
+
import loadEvent from './strings/loadEvent';
|
|
29
|
+
import loadstartEvent from './strings/loadstartEvent';
|
|
30
|
+
import unloadEvent from './strings/unloadEvent';
|
|
31
|
+
import readystatechangeEvent from './strings/readystatechangeEvent';
|
|
32
|
+
import beforeunloadEvent from './strings/beforeunloadEvent';
|
|
33
|
+
import orientationchangeEvent from './strings/orientationchangeEvent';
|
|
34
|
+
import contextmenuEvent from './strings/contextmenuEvent';
|
|
35
|
+
import DOMContentLoadedEvent from './strings/DOMContentLoadedEvent';
|
|
36
|
+
import DOMMouseScrollEvent from './strings/DOMMouseScrollEvent';
|
|
37
37
|
|
|
38
|
-
import selectEvent from
|
|
39
|
-
import selectendEvent from
|
|
40
|
-
import selectstartEvent from
|
|
38
|
+
import selectEvent from './strings/selectEvent';
|
|
39
|
+
import selectendEvent from './strings/selectendEvent';
|
|
40
|
+
import selectstartEvent from './strings/selectstartEvent';
|
|
41
41
|
|
|
42
|
-
import mouseSwipeEvents from
|
|
43
|
-
import mouseClickEvents from
|
|
44
|
-
import mouseclickEvent from
|
|
45
|
-
import mousedblclickEvent from
|
|
46
|
-
import mousedownEvent from
|
|
47
|
-
import mouseupEvent from
|
|
48
|
-
import mousehoverEvent from
|
|
49
|
-
import mouseHoverEvents from
|
|
50
|
-
import mouseenterEvent from
|
|
51
|
-
import mouseleaveEvent from
|
|
52
|
-
import mouseinEvent from
|
|
53
|
-
import mouseoutEvent from
|
|
54
|
-
import mouseoverEvent from
|
|
55
|
-
import mousemoveEvent from
|
|
56
|
-
import mousewheelEvent from
|
|
42
|
+
import mouseSwipeEvents from './strings/mouseSwipeEvents';
|
|
43
|
+
import mouseClickEvents from './strings/mouseClickEvents';
|
|
44
|
+
import mouseclickEvent from './strings/mouseclickEvent';
|
|
45
|
+
import mousedblclickEvent from './strings/mousedblclickEvent';
|
|
46
|
+
import mousedownEvent from './strings/mousedownEvent';
|
|
47
|
+
import mouseupEvent from './strings/mouseupEvent';
|
|
48
|
+
import mousehoverEvent from './strings/mousehoverEvent';
|
|
49
|
+
import mouseHoverEvents from './strings/mouseHoverEvents';
|
|
50
|
+
import mouseenterEvent from './strings/mouseenterEvent';
|
|
51
|
+
import mouseleaveEvent from './strings/mouseleaveEvent';
|
|
52
|
+
import mouseinEvent from './strings/mouseinEvent';
|
|
53
|
+
import mouseoutEvent from './strings/mouseoutEvent';
|
|
54
|
+
import mouseoverEvent from './strings/mouseoverEvent';
|
|
55
|
+
import mousemoveEvent from './strings/mousemoveEvent';
|
|
56
|
+
import mousewheelEvent from './strings/mousewheelEvent';
|
|
57
57
|
|
|
58
|
-
import touchEvents from
|
|
59
|
-
import touchstartEvent from
|
|
60
|
-
import touchmoveEvent from
|
|
61
|
-
import touchcancelEvent from
|
|
62
|
-
import touchendEvent from
|
|
58
|
+
import touchEvents from './strings/touchEvents';
|
|
59
|
+
import touchstartEvent from './strings/touchstartEvent';
|
|
60
|
+
import touchmoveEvent from './strings/touchmoveEvent';
|
|
61
|
+
import touchcancelEvent from './strings/touchcancelEvent';
|
|
62
|
+
import touchendEvent from './strings/touchendEvent';
|
|
63
63
|
|
|
64
|
-
import pointercancelEvent from
|
|
65
|
-
import pointerdownEvent from
|
|
66
|
-
import pointerleaveEvent from
|
|
67
|
-
import pointermoveEvent from
|
|
68
|
-
import pointerupEvent from
|
|
64
|
+
import pointercancelEvent from './strings/pointercancelEvent';
|
|
65
|
+
import pointerdownEvent from './strings/pointerdownEvent';
|
|
66
|
+
import pointerleaveEvent from './strings/pointerleaveEvent';
|
|
67
|
+
import pointermoveEvent from './strings/pointermoveEvent';
|
|
68
|
+
import pointerupEvent from './strings/pointerupEvent';
|
|
69
69
|
|
|
70
|
-
import focusEvents from
|
|
71
|
-
import focusEvent from
|
|
72
|
-
import focusinEvent from
|
|
73
|
-
import focusoutEvent from
|
|
70
|
+
import focusEvents from './strings/focusEvents';
|
|
71
|
+
import focusEvent from './strings/focusEvent';
|
|
72
|
+
import focusinEvent from './strings/focusinEvent';
|
|
73
|
+
import focusoutEvent from './strings/focusoutEvent';
|
|
74
74
|
|
|
75
|
-
import gesturechangeEvent from
|
|
76
|
-
import gestureendEvent from
|
|
77
|
-
import gesturestartEvent from
|
|
75
|
+
import gesturechangeEvent from './strings/gesturechangeEvent';
|
|
76
|
+
import gestureendEvent from './strings/gestureendEvent';
|
|
77
|
+
import gesturestartEvent from './strings/gesturestartEvent';
|
|
78
78
|
|
|
79
|
-
import keyboardEventKeys from
|
|
80
|
-
import keydownEvent from
|
|
81
|
-
import keyupEvent from
|
|
82
|
-
import keypressEvent from
|
|
83
|
-
import keyAlt from
|
|
84
|
-
import keyArrowDown from
|
|
85
|
-
import keyArrowUp from
|
|
86
|
-
import keyArrowLeft from
|
|
87
|
-
import keyArrowRight from
|
|
88
|
-
import keyBackspace from
|
|
89
|
-
import keyCapsLock from
|
|
90
|
-
import keyControl from
|
|
91
|
-
import keyDelete from
|
|
92
|
-
import keyEnter from
|
|
93
|
-
import keyEscape from
|
|
94
|
-
import keyInsert from
|
|
95
|
-
import keyMeta from
|
|
96
|
-
import keyPause from
|
|
97
|
-
import keyScrollLock from
|
|
98
|
-
import keyShift from
|
|
99
|
-
import keySpace from
|
|
100
|
-
import keyTab from
|
|
79
|
+
import keyboardEventKeys from './strings/keyboardEventKeys';
|
|
80
|
+
import keydownEvent from './strings/keydownEvent';
|
|
81
|
+
import keyupEvent from './strings/keyupEvent';
|
|
82
|
+
import keypressEvent from './strings/keypressEvent';
|
|
83
|
+
import keyAlt from './strings/keyAlt';
|
|
84
|
+
import keyArrowDown from './strings/keyArrowDown';
|
|
85
|
+
import keyArrowUp from './strings/keyArrowUp';
|
|
86
|
+
import keyArrowLeft from './strings/keyArrowLeft';
|
|
87
|
+
import keyArrowRight from './strings/keyArrowRight';
|
|
88
|
+
import keyBackspace from './strings/keyBackspace';
|
|
89
|
+
import keyCapsLock from './strings/keyCapsLock';
|
|
90
|
+
import keyControl from './strings/keyControl';
|
|
91
|
+
import keyDelete from './strings/keyDelete';
|
|
92
|
+
import keyEnter from './strings/keyEnter';
|
|
93
|
+
import keyEscape from './strings/keyEscape';
|
|
94
|
+
import keyInsert from './strings/keyInsert';
|
|
95
|
+
import keyMeta from './strings/keyMeta';
|
|
96
|
+
import keyPause from './strings/keyPause';
|
|
97
|
+
import keyScrollLock from './strings/keyScrollLock';
|
|
98
|
+
import keyShift from './strings/keyShift';
|
|
99
|
+
import keySpace from './strings/keySpace';
|
|
100
|
+
import keyTab from './strings/keyTab';
|
|
101
101
|
|
|
102
|
-
import animationDuration from
|
|
103
|
-
import animationDelay from
|
|
104
|
-
import animationName from
|
|
105
|
-
import animationEndEvent from
|
|
106
|
-
import transitionDuration from
|
|
107
|
-
import transitionDelay from
|
|
108
|
-
import transitionEndEvent from
|
|
109
|
-
import transitionProperty from
|
|
102
|
+
import animationDuration from './strings/animationDuration';
|
|
103
|
+
import animationDelay from './strings/animationDelay';
|
|
104
|
+
import animationName from './strings/animationName';
|
|
105
|
+
import animationEndEvent from './strings/animationEndEvent';
|
|
106
|
+
import transitionDuration from './strings/transitionDuration';
|
|
107
|
+
import transitionDelay from './strings/transitionDelay';
|
|
108
|
+
import transitionEndEvent from './strings/transitionEndEvent';
|
|
109
|
+
import transitionProperty from './strings/transitionProperty';
|
|
110
110
|
|
|
111
|
-
import addEventListener from
|
|
112
|
-
import removeEventListener from
|
|
111
|
+
import addEventListener from './strings/addEventListener';
|
|
112
|
+
import removeEventListener from './strings/removeEventListener';
|
|
113
113
|
|
|
114
|
-
import bezierEasings from
|
|
114
|
+
import bezierEasings from './strings/bezierEasings';
|
|
115
115
|
|
|
116
|
-
import offsetHeight from
|
|
117
|
-
import offsetWidth from
|
|
118
|
-
import scrollHeight from
|
|
119
|
-
import scrollWidth from
|
|
120
|
-
import tabindex from
|
|
116
|
+
import offsetHeight from './strings/offsetHeight';
|
|
117
|
+
import offsetWidth from './strings/offsetWidth';
|
|
118
|
+
import scrollHeight from './strings/scrollHeight';
|
|
119
|
+
import scrollWidth from './strings/scrollWidth';
|
|
120
|
+
import tabindex from './strings/tabindex';
|
|
121
121
|
|
|
122
|
-
import userAgentData from
|
|
123
|
-
import userAgent from
|
|
122
|
+
import userAgentData from './strings/userAgentData';
|
|
123
|
+
import userAgent from './strings/userAgent';
|
|
124
124
|
|
|
125
125
|
// boolean
|
|
126
|
-
import isMobile from
|
|
127
|
-
import isApple from
|
|
128
|
-
import isFirefox from
|
|
129
|
-
import support3DTransform from
|
|
130
|
-
import supportPassive from
|
|
131
|
-
import supportTransform from
|
|
132
|
-
import supportTouch from
|
|
133
|
-
import supportAnimation from
|
|
134
|
-
import supportTransition from
|
|
126
|
+
import isMobile from './boolean/isMobile';
|
|
127
|
+
import isApple from './boolean/isApple';
|
|
128
|
+
import isFirefox from './boolean/isFirefox';
|
|
129
|
+
import support3DTransform from './boolean/support3DTransform';
|
|
130
|
+
import supportPassive from './boolean/supportPassive';
|
|
131
|
+
import supportTransform from './boolean/supportTransform';
|
|
132
|
+
import supportTouch from './boolean/supportTouch';
|
|
133
|
+
import supportAnimation from './boolean/supportAnimation';
|
|
134
|
+
import supportTransition from './boolean/supportTransition';
|
|
135
135
|
|
|
136
136
|
// attributes
|
|
137
|
-
import getAttribute from
|
|
138
|
-
import getAttributeNS from
|
|
139
|
-
import hasAttribute from
|
|
140
|
-
import hasAttributeNS from
|
|
141
|
-
import setAttribute from
|
|
142
|
-
import setAttributeNS from
|
|
143
|
-
import removeAttribute from
|
|
144
|
-
import removeAttributeNS from
|
|
137
|
+
import getAttribute from './attr/getAttribute';
|
|
138
|
+
import getAttributeNS from './attr/getAttributeNS';
|
|
139
|
+
import hasAttribute from './attr/hasAttribute';
|
|
140
|
+
import hasAttributeNS from './attr/hasAttributeNS';
|
|
141
|
+
import setAttribute from './attr/setAttribute';
|
|
142
|
+
import setAttributeNS from './attr/setAttributeNS';
|
|
143
|
+
import removeAttribute from './attr/removeAttribute';
|
|
144
|
+
import removeAttributeNS from './attr/removeAttributeNS';
|
|
145
145
|
|
|
146
146
|
// class
|
|
147
|
-
import addClass from
|
|
148
|
-
import removeClass from
|
|
149
|
-
import hasClass from
|
|
147
|
+
import addClass from './class/addClass';
|
|
148
|
+
import removeClass from './class/removeClass';
|
|
149
|
+
import hasClass from './class/hasClass';
|
|
150
150
|
|
|
151
151
|
// event
|
|
152
|
-
import on from
|
|
153
|
-
import off from
|
|
154
|
-
import one from
|
|
152
|
+
import on from './event/on';
|
|
153
|
+
import off from './event/off';
|
|
154
|
+
import one from './event/one';
|
|
155
155
|
|
|
156
156
|
// misc
|
|
157
|
-
import ArrayFrom from
|
|
158
|
-
import Data, { getInstance } from
|
|
159
|
-
import createElement from
|
|
160
|
-
import createElementNS from
|
|
161
|
-
import dispatchEvent from
|
|
162
|
-
import distinct from
|
|
163
|
-
import emulateAnimationEnd from
|
|
164
|
-
import emulateTransitionEnd from
|
|
165
|
-
import Float32ArrayFrom from
|
|
166
|
-
import Float64ArrayFrom from
|
|
167
|
-
import focus from
|
|
168
|
-
import noop from
|
|
169
|
-
import normalizeOptions from
|
|
170
|
-
import normalizeValue from
|
|
171
|
-
import ObjectAssign from
|
|
172
|
-
import ObjectEntries from
|
|
173
|
-
import ObjectKeys from
|
|
174
|
-
import ObjectValues from
|
|
175
|
-
import OriginalEvent from
|
|
176
|
-
import passiveHandler from
|
|
177
|
-
import reflow from
|
|
178
|
-
import setElementStyle from
|
|
179
|
-
import Timer from
|
|
180
|
-
import toLowerCase from
|
|
181
|
-
import toUpperCase from
|
|
157
|
+
import ArrayFrom from './misc/ArrayFrom';
|
|
158
|
+
import Data, { getInstance } from './misc/data';
|
|
159
|
+
import createElement from './misc/createElement';
|
|
160
|
+
import createElementNS from './misc/createElementNS';
|
|
161
|
+
import dispatchEvent from './misc/dispatchEvent';
|
|
162
|
+
import distinct from './misc/distinct';
|
|
163
|
+
import emulateAnimationEnd from './misc/emulateAnimationEnd';
|
|
164
|
+
import emulateTransitionEnd from './misc/emulateTransitionEnd';
|
|
165
|
+
import Float32ArrayFrom from './misc/Float32ArrayFrom';
|
|
166
|
+
import Float64ArrayFrom from './misc/Float64ArrayFrom';
|
|
167
|
+
import focus from './misc/focus';
|
|
168
|
+
import noop from './misc/noop';
|
|
169
|
+
import normalizeOptions from './misc/normalizeOptions';
|
|
170
|
+
import normalizeValue from './misc/normalizeValue';
|
|
171
|
+
import ObjectAssign from './misc/ObjectAssign';
|
|
172
|
+
import ObjectEntries from './misc/ObjectEntries';
|
|
173
|
+
import ObjectKeys from './misc/ObjectKeys';
|
|
174
|
+
import ObjectValues from './misc/ObjectValues';
|
|
175
|
+
import OriginalEvent from './misc/OriginalEvent';
|
|
176
|
+
import passiveHandler from './misc/passiveHandler';
|
|
177
|
+
import reflow from './misc/reflow';
|
|
178
|
+
import setElementStyle from './misc/setElementStyle';
|
|
179
|
+
import Timer from './misc/timer';
|
|
180
|
+
import toLowerCase from './misc/toLowerCase';
|
|
181
|
+
import toUpperCase from './misc/toUpperCase';
|
|
182
182
|
|
|
183
183
|
// get
|
|
184
|
-
import getBoundingClientRect from
|
|
185
|
-
import getDocument from
|
|
186
|
-
import getDocumentBody from
|
|
187
|
-
import getDocumentElement from
|
|
188
|
-
import getDocumentHead from
|
|
189
|
-
import getElementAnimationDuration from
|
|
190
|
-
import getElementAnimationDelay from
|
|
191
|
-
import getElementStyle from
|
|
192
|
-
import getElementTransitionDuration from
|
|
193
|
-
import getElementTransitionDelay from
|
|
194
|
-
import getNodeScroll from
|
|
195
|
-
import getParentNode from
|
|
196
|
-
import getRectRelativeToOffsetParent from
|
|
197
|
-
import getUID from
|
|
198
|
-
import getWindow from
|
|
184
|
+
import getBoundingClientRect from './get/getBoundingClientRect';
|
|
185
|
+
import getDocument from './get/getDocument';
|
|
186
|
+
import getDocumentBody from './get/getDocumentBody';
|
|
187
|
+
import getDocumentElement from './get/getDocumentElement';
|
|
188
|
+
import getDocumentHead from './get/getDocumentHead';
|
|
189
|
+
import getElementAnimationDuration from './get/getElementAnimationDuration';
|
|
190
|
+
import getElementAnimationDelay from './get/getElementAnimationDelay';
|
|
191
|
+
import getElementStyle from './get/getElementStyle';
|
|
192
|
+
import getElementTransitionDuration from './get/getElementTransitionDuration';
|
|
193
|
+
import getElementTransitionDelay from './get/getElementTransitionDelay';
|
|
194
|
+
import getNodeScroll from './get/getNodeScroll';
|
|
195
|
+
import getParentNode from './get/getParentNode';
|
|
196
|
+
import getRectRelativeToOffsetParent from './get/getRectRelativeToOffsetParent';
|
|
197
|
+
import getUID from './get/getUID';
|
|
198
|
+
import getWindow from './get/getWindow';
|
|
199
199
|
|
|
200
200
|
// is
|
|
201
|
-
import isArray from
|
|
202
|
-
import
|
|
203
|
-
import
|
|
204
|
-
import
|
|
205
|
-
import
|
|
206
|
-
import
|
|
207
|
-
import
|
|
208
|
-
import
|
|
209
|
-
import
|
|
210
|
-
import
|
|
211
|
-
import
|
|
212
|
-
import
|
|
213
|
-
import
|
|
214
|
-
import
|
|
215
|
-
import
|
|
216
|
-
import
|
|
217
|
-
import
|
|
218
|
-
import
|
|
219
|
-
import
|
|
220
|
-
import
|
|
221
|
-
import
|
|
222
|
-
import
|
|
223
|
-
import
|
|
201
|
+
import isArray from './is/isArray';
|
|
202
|
+
import isCanvas from './is/isCanvas';
|
|
203
|
+
import isDocument from './is/isDocument';
|
|
204
|
+
import isCustomElement from './is/isCustomElement';
|
|
205
|
+
import isElement from './is/isElement';
|
|
206
|
+
import isElementInScrollRange from './is/isElementInScrollRange';
|
|
207
|
+
import isElementInViewport from './is/isElementInViewport';
|
|
208
|
+
import isElementsArray from './is/isElementsArray';
|
|
209
|
+
import isFunction from './is/isFunction';
|
|
210
|
+
import isObject from './is/isObject';
|
|
211
|
+
import isHTMLCollection from './is/isHTMLCollection';
|
|
212
|
+
import isHTMLElement from './is/isHTMLElement';
|
|
213
|
+
import isHTMLImageElement from './is/isHTMLImageElement';
|
|
214
|
+
import isJSON from './is/isJSON';
|
|
215
|
+
import isMap from './is/isMap';
|
|
216
|
+
import isWeakMap from './is/isWeakMap';
|
|
217
|
+
import isMedia from './is/isMedia';
|
|
218
|
+
import isNode from './is/isNode';
|
|
219
|
+
import isNodeList from './is/isNodeList';
|
|
220
|
+
import isNumber from './is/isNumber';
|
|
221
|
+
import isRTL from './is/isRTL';
|
|
222
|
+
import isScaledElement from './is/isScaledElement';
|
|
223
|
+
import isShadowRoot from './is/isShadowRoot';
|
|
224
|
+
import isString from './is/isString';
|
|
225
|
+
import isSVGElement from './is/isSVGElement';
|
|
226
|
+
import isTableElement from './is/isTableElement';
|
|
227
|
+
import isWindow from './is/isWindow';
|
|
224
228
|
|
|
225
229
|
// selectors
|
|
226
|
-
import closest from
|
|
227
|
-
import querySelector from
|
|
228
|
-
import getCustomElements from
|
|
229
|
-
import getElementById from
|
|
230
|
-
import querySelectorAll from
|
|
231
|
-
import getElementsByTagName from
|
|
232
|
-
import getElementsByClassName from
|
|
233
|
-
import matches from
|
|
230
|
+
import closest from './selectors/closest';
|
|
231
|
+
import querySelector from './selectors/querySelector';
|
|
232
|
+
import getCustomElements from './selectors/getCustomElements';
|
|
233
|
+
import getElementById from './selectors/getElementById';
|
|
234
|
+
import querySelectorAll from './selectors/querySelectorAll';
|
|
235
|
+
import getElementsByTagName from './selectors/getElementsByTagName';
|
|
236
|
+
import getElementsByClassName from './selectors/getElementsByClassName';
|
|
237
|
+
import matches from './selectors/matches';
|
|
234
238
|
|
|
235
239
|
const SHORTY = {
|
|
236
240
|
ariaChecked,
|
|
@@ -380,9 +384,13 @@ const SHORTY = {
|
|
|
380
384
|
getRectRelativeToOffsetParent,
|
|
381
385
|
getWindow,
|
|
382
386
|
isArray,
|
|
387
|
+
isCanvas,
|
|
383
388
|
isString,
|
|
384
389
|
isCustomElement,
|
|
385
390
|
isElement,
|
|
391
|
+
isJSON,
|
|
392
|
+
isMap,
|
|
393
|
+
isWeakMap,
|
|
386
394
|
isNode,
|
|
387
395
|
isNumber,
|
|
388
396
|
isHTMLElement,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export
|
|
2
|
-
width: number;
|
|
3
|
-
height: number;
|
|
4
|
-
top: number;
|
|
5
|
-
left: number;
|
|
6
|
-
right: number;
|
|
7
|
-
bottom: number;
|
|
8
|
-
x: number;
|
|
9
|
-
y: number;
|
|
10
|
-
}
|
|
1
|
+
export interface BoundingClientRect {
|
|
2
|
+
width: number;
|
|
3
|
+
height: number;
|
|
4
|
+
top: number;
|
|
5
|
+
left: number;
|
|
6
|
+
right: number;
|
|
7
|
+
bottom: number;
|
|
8
|
+
x: number;
|
|
9
|
+
y: number;
|
|
10
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
// https://github.com/lukewarlow/user-agent-data-types/blob/master/index.d.ts
|
|
2
|
-
export interface NavigatorUABrand {
|
|
3
|
-
readonly brand: string;
|
|
4
|
-
readonly version: string;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
export interface NavigatorUAData {
|
|
8
|
-
readonly brands: NavigatorUABrand[];
|
|
9
|
-
readonly mobile: boolean;
|
|
10
|
-
readonly platform: string;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export
|
|
14
|
-
readonly userAgentData: NavigatorUAData;
|
|
15
|
-
}
|
|
1
|
+
// https://github.com/lukewarlow/user-agent-data-types/blob/master/index.d.ts
|
|
2
|
+
export interface NavigatorUABrand {
|
|
3
|
+
readonly brand: string;
|
|
4
|
+
readonly version: string;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export interface NavigatorUAData {
|
|
8
|
+
readonly brands: NavigatorUABrand[];
|
|
9
|
+
readonly mobile: boolean;
|
|
10
|
+
readonly platform: string;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export interface NavigatorUA extends Navigator {
|
|
14
|
+
readonly userAgentData: NavigatorUAData;
|
|
15
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export
|
|
2
|
-
width: number;
|
|
3
|
-
height: number;
|
|
4
|
-
x: number;
|
|
5
|
-
y: number;
|
|
6
|
-
}
|
|
1
|
+
export interface OffsetRect {
|
|
2
|
+
width: number;
|
|
3
|
+
height: number;
|
|
4
|
+
x: number;
|
|
5
|
+
y: number;
|
|
6
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export
|
|
2
|
-
relatedTarget?: EventTarget;
|
|
3
|
-
}
|
|
1
|
+
export interface OriginalEvent<T> extends CustomEvent<T> {
|
|
2
|
+
relatedTarget?: EventTarget;
|
|
3
|
+
}
|
package/src/is/isArray.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Shortie for the `Array.isArray()` static method.
|
|
3
3
|
*
|
|
4
|
-
* @param
|
|
4
|
+
* @param obj array-like iterable object
|
|
5
5
|
* @returns the query result
|
|
6
6
|
*/
|
|
7
|
-
const isArray = (
|
|
7
|
+
const isArray = (obj?: any): obj is any[] => Array.isArray(obj) || false;
|
|
8
8
|
|
|
9
9
|
export default isArray;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Checks if an element is an `HTMLCanvasElement` or `<canvas>`.
|
|
3
|
+
*
|
|
4
|
+
* @param element the target element
|
|
5
|
+
* @returns the query result
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
const isCanvas = (element?: any): element is HTMLCanvasElement =>
|
|
9
|
+
(element && element.constructor.name === 'HTMLCanvasElement') || false;
|
|
10
|
+
|
|
11
|
+
export default isCanvas;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
+
import { CustomElement } from '../interface/customElement';
|
|
2
|
+
|
|
1
3
|
/**
|
|
2
4
|
* Checks if an object is a `CustomElement`.
|
|
3
5
|
*
|
|
4
6
|
* @param element the target object
|
|
5
7
|
* @returns the query result
|
|
6
8
|
*/
|
|
7
|
-
const isCustomElement = <T extends
|
|
8
|
-
element
|
|
9
|
-
|
|
9
|
+
const isCustomElement = <T extends CustomElement>(element?: any): element is T =>
|
|
10
|
+
(element && !!element.shadowRoot) || false;
|
|
11
|
+
|
|
10
12
|
export default isCustomElement;
|
package/src/is/isElement.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Checks if an object is an `Element`.
|
|
3
3
|
* @see https://dom.spec.whatwg.org/#node
|
|
4
|
+
*
|
|
5
|
+
* ```
|
|
4
6
|
* ELEMENT_NODE = 1;
|
|
5
7
|
* ATTRIBUTE_NODE = 2;
|
|
6
8
|
* TEXT_NODE = 3;
|
|
@@ -12,7 +14,7 @@
|
|
|
12
14
|
* DOCUMENT_NODE = 9;
|
|
13
15
|
* DOCUMENT_TYPE_NODE = 10;
|
|
14
16
|
* DOCUMENT_FRAGMENT_NODE = 11;
|
|
15
|
-
*
|
|
17
|
+
* ```
|
|
16
18
|
* @param element the target object
|
|
17
19
|
* @returns the query result
|
|
18
20
|
*/
|