@thednp/shorty 1.0.2 → 2.0.0-alpha2
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 +193 -202
- package/dist/shorty.cjs.js +1592 -0
- package/dist/shorty.cjs.js.map +7 -0
- package/dist/shorty.cjs.min.js +3 -0
- package/dist/shorty.cjs.min.js.map +7 -0
- package/dist/shorty.es5.js +1593 -0
- package/dist/shorty.es5.js.map +7 -0
- package/dist/shorty.es5.min.js +4 -0
- package/dist/shorty.es5.min.js.map +7 -0
- package/dist/shorty.js +1494 -2550
- package/dist/shorty.js.map +7 -0
- package/dist/shorty.min.js +3 -2
- package/dist/shorty.min.js.map +7 -0
- package/package.json +30 -30
- package/src/attr/getAttribute.js +2 -9
- package/src/attr/getAttribute.js.map +1 -0
- package/src/attr/getAttribute.ts +10 -0
- package/src/attr/getAttributeNS.js +2 -10
- package/src/attr/getAttributeNS.js.map +1 -0
- package/src/attr/getAttributeNS.ts +11 -0
- package/src/attr/hasAttribute.js +2 -9
- package/src/attr/hasAttribute.js.map +1 -0
- package/src/attr/hasAttribute.ts +9 -0
- package/src/attr/hasAttributeNS.js +2 -10
- package/src/attr/hasAttributeNS.js.map +1 -0
- package/src/attr/hasAttributeNS.ts +11 -0
- package/src/attr/removeAttribute.js +2 -9
- package/src/attr/removeAttribute.js.map +1 -0
- package/src/attr/removeAttribute.ts +8 -0
- package/src/attr/removeAttributeNS.js +2 -10
- package/src/attr/removeAttributeNS.js.map +1 -0
- package/src/attr/removeAttributeNS.ts +10 -0
- package/src/attr/setAttribute.js +2 -10
- package/src/attr/setAttribute.js.map +1 -0
- package/src/attr/setAttribute.ts +10 -0
- package/src/attr/setAttributeNS.js +2 -11
- package/src/attr/setAttributeNS.js.map +1 -0
- package/src/attr/setAttributeNS.ts +11 -0
- package/src/blocks/documentBody.js +2 -5
- package/src/blocks/documentBody.js.map +1 -0
- package/src/blocks/documentBody.ts +5 -0
- package/src/blocks/documentElement.js +2 -5
- package/src/blocks/documentElement.js.map +1 -0
- package/src/blocks/documentElement.ts +5 -0
- package/src/blocks/documentHead.js +2 -5
- package/src/blocks/documentHead.js.map +1 -0
- package/src/blocks/documentHead.ts +5 -0
- package/src/boolean/isApple.js +7 -13
- package/src/boolean/isApple.js.map +1 -0
- package/src/boolean/isApple.ts +14 -0
- package/src/boolean/isFirefox.js +3 -10
- package/src/boolean/isFirefox.js.map +1 -0
- package/src/boolean/isFirefox.ts +9 -0
- package/src/boolean/isMobile.js +12 -20
- package/src/boolean/isMobile.js.map +1 -0
- package/src/boolean/isMobile.ts +19 -0
- package/src/boolean/support3DTransform.js +3 -9
- package/src/boolean/support3DTransform.js.map +1 -0
- package/src/boolean/support3DTransform.ts +10 -0
- package/src/boolean/supportAnimation.js +3 -9
- package/src/boolean/supportAnimation.js.map +1 -0
- package/src/boolean/supportAnimation.ts +8 -0
- package/src/boolean/supportPassive.js +18 -28
- package/src/boolean/supportPassive.js.map +1 -0
- package/src/boolean/supportPassive.ts +28 -0
- package/src/boolean/supportTouch.js +2 -7
- package/src/boolean/supportTouch.js.map +1 -0
- package/src/boolean/supportTouch.ts +7 -0
- package/src/boolean/supportTransform.js +3 -9
- package/src/boolean/supportTransform.js.map +1 -0
- package/src/boolean/supportTransform.ts +8 -0
- package/src/boolean/supportTransition.js +3 -9
- package/src/boolean/supportTransition.js.map +1 -0
- package/src/boolean/supportTransition.ts +8 -0
- package/src/class/addClass.js +4 -10
- package/src/class/addClass.js.map +1 -0
- package/src/class/addClass.ts +11 -0
- package/src/class/hasClass.js +4 -10
- package/src/class/hasClass.js.map +1 -0
- package/src/class/hasClass.ts +11 -0
- package/src/class/removeClass.js +4 -10
- package/src/class/removeClass.js.map +1 -0
- package/src/class/removeClass.ts +11 -0
- package/src/event/off.js +4 -9
- package/src/event/off.js.map +1 -0
- package/src/event/off.ts +12 -0
- package/src/event/on.js +4 -9
- package/src/event/on.js.map +1 -0
- package/src/event/on.ts +12 -0
- package/src/event/one.js +12 -23
- package/src/event/one.js.map +1 -0
- package/src/event/one.ts +25 -0
- package/src/get/getBoundingClientRect.js +22 -37
- package/src/get/getBoundingClientRect.js.map +1 -0
- package/src/get/getBoundingClientRect.ts +38 -0
- package/src/get/getDocument.js +13 -16
- package/src/get/getDocument.js.map +1 -0
- package/src/get/getDocument.ts +23 -0
- package/src/get/getDocumentBody.js +5 -10
- package/src/get/getDocumentBody.js.map +1 -0
- package/src/get/getDocumentBody.ts +13 -0
- package/src/get/getDocumentElement.js +5 -11
- package/src/get/getDocumentElement.js.map +1 -0
- package/src/get/getDocumentElement.ts +13 -0
- package/src/get/getDocumentHead.js +5 -10
- package/src/get/getDocumentHead.js.map +1 -0
- package/src/get/getDocumentHead.ts +12 -0
- package/src/get/getElementAnimationDelay.js +11 -21
- package/src/get/getElementAnimationDelay.js.map +1 -0
- package/src/get/getElementAnimationDelay.ts +22 -0
- package/src/get/getElementAnimationDuration.js +11 -20
- package/src/get/getElementAnimationDuration.js.map +1 -0
- package/src/get/getElementAnimationDuration.ts +22 -0
- package/src/get/getElementStyle.js +7 -20
- package/src/get/getElementStyle.js.map +1 -0
- package/src/get/getElementStyle.ts +24 -0
- package/src/get/getElementTransitionDelay.js +11 -20
- package/src/get/getElementTransitionDelay.js.map +1 -0
- package/src/get/getElementTransitionDelay.ts +22 -0
- package/src/get/getElementTransitionDuration.js +11 -20
- package/src/get/getElementTransitionDuration.js.map +1 -0
- package/src/get/getElementTransitionDuration.ts +22 -0
- package/src/get/getNodeScroll.js +8 -16
- package/src/get/getNodeScroll.js.map +1 -0
- package/src/get/getNodeScroll.ts +20 -0
- package/src/get/getParentNode.js +14 -23
- package/src/get/getParentNode.js.map +1 -0
- package/src/get/getParentNode.ts +27 -0
- package/src/get/getRectRelativeToOffsetParent.js +20 -32
- package/src/get/getRectRelativeToOffsetParent.js.map +1 -0
- package/src/get/getRectRelativeToOffsetParent.ts +39 -0
- package/src/get/getUID.js +31 -34
- package/src/get/getUID.js.map +1 -0
- package/src/get/getUID.ts +42 -0
- package/src/get/getWindow.js +12 -29
- package/src/get/getWindow.js.map +1 -0
- package/src/get/getWindow.ts +22 -0
- package/src/index.js +416 -475
- package/src/index.js.map +1 -0
- package/src/index.ts +448 -0
- package/src/interface/boundingClientRect.js +1 -0
- package/src/interface/boundingClientRect.js.map +1 -0
- package/src/interface/boundingClientRect.ts +10 -0
- package/src/interface/css4Declaration.js +1 -0
- package/src/interface/css4Declaration.js.map +1 -0
- package/src/interface/css4Declaration.ts +3 -0
- package/src/interface/customElement.js +1 -0
- package/src/interface/customElement.js.map +1 -0
- package/src/interface/customElement.ts +8 -0
- package/src/interface/navigatorUA.js +1 -0
- package/src/interface/navigatorUA.js.map +1 -0
- package/src/interface/navigatorUA.ts +15 -0
- package/src/interface/offsetRect.js +1 -0
- package/src/interface/offsetRect.js.map +1 -0
- package/src/interface/offsetRect.ts +6 -0
- package/src/interface/originalEvent.js +1 -0
- package/src/interface/originalEvent.js.map +1 -0
- package/src/interface/originalEvent.ts +3 -0
- package/src/is/isArray.js +2 -8
- package/src/is/isArray.js.map +1 -0
- package/src/is/isArray.ts +9 -0
- package/src/is/isCanvas.js +2 -0
- package/src/is/isCanvas.js.map +1 -0
- package/src/is/isCanvas.ts +11 -0
- package/src/is/isCustomElement.js +2 -8
- package/src/is/isCustomElement.js.map +1 -0
- package/src/is/isCustomElement.ts +12 -0
- package/src/is/isDocument.js +2 -10
- package/src/is/isDocument.js.map +1 -0
- package/src/is/isDocument.ts +10 -0
- package/src/is/isElement.js +2 -22
- package/src/is/isElement.js.map +1 -0
- package/src/is/isElement.ts +22 -0
- package/src/is/isElementInScrollRange.js +11 -20
- package/src/is/isElementInScrollRange.js.map +1 -0
- package/src/is/isElementInScrollRange.ts +20 -0
- package/src/is/isElementInViewport.js +11 -26
- package/src/is/isElementInViewport.js.map +1 -0
- package/src/is/isElementInViewport.ts +20 -0
- package/src/is/isElementsArray.js +4 -12
- package/src/is/isElementsArray.js.map +1 -0
- package/src/is/isElementsArray.ts +13 -0
- package/src/is/isFunction.js +2 -8
- package/src/is/isFunction.js.map +1 -0
- package/src/is/isFunction.ts +10 -0
- package/src/is/isHTMLCollection.js +2 -8
- package/src/is/isHTMLCollection.js.map +1 -0
- package/src/is/isHTMLCollection.ts +10 -0
- package/src/is/isHTMLElement.js +2 -9
- package/src/is/isHTMLElement.js.map +1 -0
- package/src/is/isHTMLElement.ts +10 -0
- package/src/is/isHTMLImageElement.js +2 -8
- package/src/is/isHTMLImageElement.js.map +1 -0
- package/src/is/isHTMLImageElement.ts +9 -0
- package/src/is/isMap.js +2 -0
- package/src/is/isMap.js.map +1 -0
- package/src/is/isMap.ts +8 -0
- package/src/is/isMedia.js +5 -14
- package/src/is/isMedia.js.map +1 -0
- package/src/is/isMedia.ts +18 -0
- package/src/is/isNode.js +2 -9
- package/src/is/isNode.js.map +1 -0
- package/src/is/isNode.ts +11 -0
- package/src/is/isNodeList.js +2 -9
- package/src/is/isNodeList.js.map +1 -0
- package/src/is/isNodeList.ts +11 -0
- package/src/is/isNumber.js +2 -8
- package/src/is/isNumber.js.map +1 -0
- package/src/is/isNumber.ts +9 -0
- package/src/is/isObject.js +2 -0
- package/src/is/isObject.js.map +1 -0
- package/src/is/isObject.ts +9 -0
- package/src/is/isRTL.js +3 -9
- package/src/is/isRTL.js.map +1 -0
- package/src/is/isRTL.ts +10 -0
- package/src/is/isSVGElement.js +2 -11
- package/src/is/isSVGElement.js.map +1 -0
- package/src/is/isSVGElement.ts +11 -0
- package/src/is/isScaledElement.js +9 -17
- package/src/is/isScaledElement.js.map +1 -0
- package/src/is/isScaledElement.ts +16 -0
- package/src/is/isShadowRoot.js +2 -9
- package/src/is/isShadowRoot.js.map +1 -0
- package/src/is/isShadowRoot.ts +10 -0
- package/src/is/isString.js +2 -8
- package/src/is/isString.js.map +1 -0
- package/src/is/isString.ts +9 -0
- package/src/is/isTableElement.js +2 -11
- package/src/is/isTableElement.js.map +1 -0
- package/src/is/isTableElement.ts +12 -0
- package/src/is/isWeakMap.js +2 -0
- package/src/is/isWeakMap.js.map +1 -0
- package/src/is/isWeakMap.ts +9 -0
- package/src/is/isWindow.js +2 -9
- package/src/is/isWindow.js.map +1 -0
- package/src/is/isWindow.ts +10 -0
- package/src/misc/ArrayFrom.js +2 -8
- package/src/misc/ArrayFrom.js.map +1 -0
- package/src/misc/ArrayFrom.ts +11 -0
- package/src/misc/Float32ArrayFrom.js +2 -7
- package/src/misc/Float32ArrayFrom.js.map +1 -0
- package/src/misc/Float32ArrayFrom.ts +9 -0
- package/src/misc/Float64ArrayFrom.js +2 -7
- package/src/misc/Float64ArrayFrom.js.map +1 -0
- package/src/misc/Float64ArrayFrom.ts +9 -0
- package/src/misc/ObjectAssign.js +2 -7
- package/src/misc/ObjectAssign.js.map +1 -0
- package/src/misc/ObjectAssign.ts +11 -0
- package/src/misc/ObjectEntries.js +2 -7
- package/src/misc/ObjectEntries.js.map +1 -0
- package/src/misc/ObjectEntries.ts +8 -0
- package/src/misc/ObjectKeys.js +2 -7
- package/src/misc/ObjectKeys.js.map +1 -0
- package/src/misc/ObjectKeys.ts +8 -0
- package/src/misc/ObjectValues.js +2 -7
- package/src/misc/ObjectValues.js.map +1 -0
- package/src/misc/ObjectValues.ts +8 -0
- package/src/misc/OriginalEvent.js +13 -19
- package/src/misc/OriginalEvent.js.map +1 -0
- package/src/misc/OriginalEvent.ts +24 -0
- package/src/misc/createElement.js +24 -27
- package/src/misc/createElement.js.map +1 -0
- package/src/misc/createElement.ts +39 -0
- package/src/misc/createElementNS.js +24 -30
- package/src/misc/createElementNS.js.map +1 -0
- package/src/misc/createElementNS.ts +44 -0
- package/src/misc/data.js +35 -78
- package/src/misc/data.js.map +1 -0
- package/src/misc/data.ts +81 -0
- package/src/misc/dispatchEvent.js +2 -8
- package/src/misc/dispatchEvent.js.map +1 -0
- package/src/misc/dispatchEvent.ts +9 -0
- package/src/misc/distinct.js +2 -10
- package/src/misc/distinct.js.map +1 -0
- package/src/misc/distinct.ts +17 -0
- package/src/misc/emulateAnimationEnd.js +28 -40
- package/src/misc/emulateAnimationEnd.js.map +1 -0
- package/src/misc/emulateAnimationEnd.ts +39 -0
- package/src/misc/emulateTransitionEnd.js +28 -40
- package/src/misc/emulateTransitionEnd.js.map +1 -0
- package/src/misc/emulateTransitionEnd.ts +39 -0
- package/src/misc/focus.js +2 -7
- package/src/misc/focus.js.map +1 -0
- package/src/misc/focus.ts +9 -0
- package/src/misc/noop.js +2 -3
- package/src/misc/noop.js.map +1 -0
- package/src/misc/noop.ts +4 -0
- package/src/misc/normalizeOptions.js +33 -49
- package/src/misc/normalizeOptions.js.map +1 -0
- package/src/misc/normalizeOptions.ts +55 -0
- package/src/misc/normalizeValue.js +16 -34
- package/src/misc/normalizeValue.js.map +1 -0
- package/src/misc/normalizeValue.ts +30 -0
- package/src/misc/passiveHandler.js +2 -7
- package/src/misc/passiveHandler.js.map +1 -0
- package/src/misc/passiveHandler.ts +6 -0
- package/src/misc/reflow.js +2 -8
- package/src/misc/reflow.js.map +1 -0
- package/src/misc/reflow.ts +9 -0
- package/src/misc/setElementStyle.js +15 -19
- package/src/misc/setElementStyle.js.map +1 -0
- package/src/misc/setElementStyle.ts +21 -0
- package/src/misc/timer.js +50 -75
- package/src/misc/timer.js.map +1 -0
- package/src/misc/timer.ts +81 -0
- package/src/misc/toLowerCase.js +2 -8
- package/src/misc/toLowerCase.js.map +1 -0
- package/src/misc/toLowerCase.ts +9 -0
- package/src/misc/toUpperCase.js +2 -8
- package/src/misc/toUpperCase.js.map +1 -0
- package/src/misc/toUpperCase.ts +9 -0
- package/src/selectors/closest.js +7 -16
- package/src/selectors/closest.js.map +1 -0
- package/src/selectors/closest.ts +20 -0
- package/src/selectors/getCustomElements.js +7 -16
- package/src/selectors/getCustomElements.js.map +1 -0
- package/src/selectors/getCustomElements.ts +19 -0
- package/src/selectors/getElementById.js +5 -14
- package/src/selectors/getElementById.js.map +1 -0
- package/src/selectors/getElementById.ts +16 -0
- package/src/selectors/getElementsByClassName.js +7 -15
- package/src/selectors/getElementsByClassName.js.map +1 -0
- package/src/selectors/getElementsByClassName.ts +22 -0
- package/src/selectors/getElementsByTagName.js +7 -15
- package/src/selectors/getElementsByTagName.js.map +1 -0
- package/src/selectors/getElementsByTagName.ts +20 -0
- package/src/selectors/matches.js +2 -10
- package/src/selectors/matches.js.map +1 -0
- package/src/selectors/matches.ts +10 -0
- package/src/selectors/querySelector.js +10 -19
- package/src/selectors/querySelector.js.map +1 -0
- package/src/selectors/querySelector.ts +21 -0
- package/src/selectors/querySelectorAll.js +7 -14
- package/src/selectors/querySelectorAll.js.map +1 -0
- package/src/selectors/querySelectorAll.ts +16 -0
- package/src/strings/DOMContentLoadedEvent.js +2 -6
- package/src/strings/DOMContentLoadedEvent.js.map +1 -0
- package/src/strings/DOMContentLoadedEvent.ts +5 -0
- package/src/strings/DOMMouseScrollEvent.js +2 -6
- package/src/strings/DOMMouseScrollEvent.js.map +1 -0
- package/src/strings/DOMMouseScrollEvent.ts +5 -0
- package/src/strings/abortEvent.js +2 -6
- package/src/strings/abortEvent.js.map +1 -0
- package/src/strings/abortEvent.ts +5 -0
- package/src/strings/addEventListener.js +2 -6
- package/src/strings/addEventListener.js.map +1 -0
- package/src/strings/addEventListener.ts +5 -0
- package/src/strings/animationDelay.js +2 -6
- package/src/strings/animationDelay.js.map +1 -0
- package/src/strings/animationDelay.ts +5 -0
- package/src/strings/animationDuration.js +2 -6
- package/src/strings/animationDuration.js.map +1 -0
- package/src/strings/animationDuration.ts +5 -0
- package/src/strings/animationEndEvent.js +2 -6
- package/src/strings/animationEndEvent.js.map +1 -0
- package/src/strings/animationEndEvent.ts +5 -0
- package/src/strings/animationName.js +2 -6
- package/src/strings/animationName.js.map +1 -0
- package/src/strings/animationName.ts +5 -0
- package/src/strings/ariaChecked.js +2 -6
- package/src/strings/ariaChecked.js.map +1 -0
- package/src/strings/ariaChecked.ts +5 -0
- package/src/strings/ariaDescribedBy.js +2 -6
- package/src/strings/ariaDescribedBy.js.map +1 -0
- package/src/strings/ariaDescribedBy.ts +5 -0
- package/src/strings/ariaDescription.js +2 -6
- package/src/strings/ariaDescription.js.map +1 -0
- package/src/strings/ariaDescription.ts +5 -0
- package/src/strings/ariaExpanded.js +2 -6
- package/src/strings/ariaExpanded.js.map +1 -0
- package/src/strings/ariaExpanded.ts +5 -0
- package/src/strings/ariaHasPopup.js +2 -6
- package/src/strings/ariaHasPopup.js.map +1 -0
- package/src/strings/ariaHasPopup.ts +5 -0
- package/src/strings/ariaHidden.js +2 -6
- package/src/strings/ariaHidden.js.map +1 -0
- package/src/strings/ariaHidden.ts +5 -0
- package/src/strings/ariaLabel.js +2 -6
- package/src/strings/ariaLabel.js.map +1 -0
- package/src/strings/ariaLabel.ts +5 -0
- package/src/strings/ariaLabelledBy.js +2 -6
- package/src/strings/ariaLabelledBy.js.map +1 -0
- package/src/strings/ariaLabelledBy.ts +5 -0
- package/src/strings/ariaModal.js +2 -6
- package/src/strings/ariaModal.js.map +1 -0
- package/src/strings/ariaModal.ts +5 -0
- package/src/strings/ariaPressed.js +2 -6
- package/src/strings/ariaPressed.js.map +1 -0
- package/src/strings/ariaPressed.ts +5 -0
- package/src/strings/ariaSelected.js +2 -6
- package/src/strings/ariaSelected.js.map +1 -0
- package/src/strings/ariaSelected.ts +5 -0
- package/src/strings/ariaValueMax.js +2 -6
- package/src/strings/ariaValueMax.js.map +1 -0
- package/src/strings/ariaValueMax.ts +5 -0
- package/src/strings/ariaValueMin.js +2 -6
- package/src/strings/ariaValueMin.js.map +1 -0
- package/src/strings/ariaValueMin.ts +5 -0
- package/src/strings/ariaValueNow.js +2 -6
- package/src/strings/ariaValueNow.js.map +1 -0
- package/src/strings/ariaValueNow.ts +5 -0
- package/src/strings/ariaValueText.js +2 -6
- package/src/strings/ariaValueText.js.map +1 -0
- package/src/strings/ariaValueText.ts +5 -0
- package/src/strings/beforeunloadEvent.js +2 -6
- package/src/strings/beforeunloadEvent.js.map +1 -0
- package/src/strings/beforeunloadEvent.ts +5 -0
- package/src/strings/bezierEasings.js +28 -33
- package/src/strings/bezierEasings.js.map +1 -0
- package/src/strings/bezierEasings.ts +32 -0
- package/src/strings/blurEvent.js +2 -6
- package/src/strings/blurEvent.js.map +1 -0
- package/src/strings/blurEvent.ts +5 -0
- package/src/strings/changeEvent.js +2 -6
- package/src/strings/changeEvent.js.map +1 -0
- package/src/strings/changeEvent.ts +5 -0
- package/src/strings/contextmenuEvent.js +2 -6
- package/src/strings/contextmenuEvent.js.map +1 -0
- package/src/strings/contextmenuEvent.ts +5 -0
- package/src/strings/errorEvent.js +2 -6
- package/src/strings/errorEvent.js.map +1 -0
- package/src/strings/errorEvent.ts +5 -0
- package/src/strings/focusEvent.js +2 -6
- package/src/strings/focusEvent.js.map +1 -0
- package/src/strings/focusEvent.ts +5 -0
- package/src/strings/focusEvents.js +2 -6
- package/src/strings/focusEvents.js.map +1 -0
- package/src/strings/focusEvents.ts +5 -0
- package/src/strings/focusinEvent.js +2 -6
- package/src/strings/focusinEvent.js.map +1 -0
- package/src/strings/focusinEvent.ts +5 -0
- package/src/strings/focusoutEvent.js +2 -6
- package/src/strings/focusoutEvent.js.map +1 -0
- package/src/strings/focusoutEvent.ts +5 -0
- package/src/strings/gesturechangeEvent.js +2 -6
- package/src/strings/gesturechangeEvent.js.map +1 -0
- package/src/strings/gesturechangeEvent.ts +5 -0
- package/src/strings/gestureendEvent.js +2 -6
- package/src/strings/gestureendEvent.js.map +1 -0
- package/src/strings/gestureendEvent.ts +5 -0
- package/src/strings/gesturestartEvent.js +2 -6
- package/src/strings/gesturestartEvent.js.map +1 -0
- package/src/strings/gesturestartEvent.ts +5 -0
- package/src/strings/keyAlt.js +2 -7
- package/src/strings/keyAlt.js.map +1 -0
- package/src/strings/keyAlt.ts +7 -0
- package/src/strings/keyArrowDown.js +2 -7
- package/src/strings/keyArrowDown.js.map +1 -0
- package/src/strings/keyArrowDown.ts +7 -0
- package/src/strings/keyArrowLeft.js +2 -7
- package/src/strings/keyArrowLeft.js.map +1 -0
- package/src/strings/keyArrowLeft.ts +7 -0
- package/src/strings/keyArrowRight.js +2 -7
- package/src/strings/keyArrowRight.js.map +1 -0
- package/src/strings/keyArrowRight.ts +7 -0
- package/src/strings/keyArrowUp.js +2 -7
- package/src/strings/keyArrowUp.js.map +1 -0
- package/src/strings/keyArrowUp.ts +7 -0
- package/src/strings/keyBackspace.js +2 -7
- package/src/strings/keyBackspace.js.map +1 -0
- package/src/strings/keyBackspace.ts +7 -0
- package/src/strings/keyCapsLock.js +2 -7
- package/src/strings/keyCapsLock.js.map +1 -0
- package/src/strings/keyCapsLock.ts +7 -0
- package/src/strings/keyControl.js +2 -7
- package/src/strings/keyControl.js.map +1 -0
- package/src/strings/keyControl.ts +7 -0
- package/src/strings/keyDelete.js +2 -7
- package/src/strings/keyDelete.js.map +1 -0
- package/src/strings/keyDelete.ts +7 -0
- package/src/strings/keyEnter.js +2 -7
- package/src/strings/keyEnter.js.map +1 -0
- package/src/strings/keyEnter.ts +7 -0
- package/src/strings/keyEscape.js +2 -7
- package/src/strings/keyEscape.js.map +1 -0
- package/src/strings/keyEscape.ts +7 -0
- package/src/strings/keyInsert.js +2 -7
- package/src/strings/keyInsert.js.map +1 -0
- package/src/strings/keyInsert.ts +7 -0
- package/src/strings/keyMeta.js +2 -7
- package/src/strings/keyMeta.js.map +1 -0
- package/src/strings/keyMeta.ts +7 -0
- package/src/strings/keyPause.js +2 -7
- package/src/strings/keyPause.js.map +1 -0
- package/src/strings/keyPause.ts +7 -0
- package/src/strings/keyScrollLock.js +2 -7
- package/src/strings/keyScrollLock.js.map +1 -0
- package/src/strings/keyScrollLock.ts +7 -0
- package/src/strings/keyShift.js +2 -7
- package/src/strings/keyShift.js.map +1 -0
- package/src/strings/keyShift.ts +7 -0
- package/src/strings/keySpace.js +2 -7
- package/src/strings/keySpace.js.map +1 -0
- package/src/strings/keySpace.ts +7 -0
- package/src/strings/keyTab.js +2 -7
- package/src/strings/keyTab.js.map +1 -0
- package/src/strings/keyTab.ts +7 -0
- package/src/strings/keyboardEventKeys.js +22 -27
- package/src/strings/keyboardEventKeys.js.map +1 -0
- package/src/strings/keyboardEventKeys.ts +26 -0
- package/src/strings/keydownEvent.js +2 -6
- package/src/strings/keydownEvent.js.map +1 -0
- package/src/strings/keydownEvent.ts +5 -0
- package/src/strings/keypressEvent.js +2 -6
- package/src/strings/keypressEvent.js.map +1 -0
- package/src/strings/keypressEvent.ts +5 -0
- package/src/strings/keyupEvent.js +2 -6
- package/src/strings/keyupEvent.js.map +1 -0
- package/src/strings/keyupEvent.ts +5 -0
- package/src/strings/loadEvent.js +2 -6
- package/src/strings/loadEvent.js.map +1 -0
- package/src/strings/loadEvent.ts +5 -0
- package/src/strings/loadstartEvent.js +2 -6
- package/src/strings/loadstartEvent.js.map +1 -0
- package/src/strings/loadstartEvent.ts +5 -0
- package/src/strings/mouseClickEvents.js +2 -6
- package/src/strings/mouseClickEvents.js.map +1 -0
- package/src/strings/mouseClickEvents.ts +5 -0
- package/src/strings/mouseHoverEvents.js +4 -7
- package/src/strings/mouseHoverEvents.js.map +1 -0
- package/src/strings/mouseHoverEvents.ts +8 -0
- package/src/strings/mouseSwipeEvents.js +7 -8
- package/src/strings/mouseSwipeEvents.js.map +1 -0
- package/src/strings/mouseSwipeEvents.ts +10 -0
- package/src/strings/mouseclickEvent.js +2 -6
- package/src/strings/mouseclickEvent.js.map +1 -0
- package/src/strings/mouseclickEvent.ts +5 -0
- package/src/strings/mousedblclickEvent.js +2 -6
- package/src/strings/mousedblclickEvent.js.map +1 -0
- package/src/strings/mousedblclickEvent.ts +5 -0
- package/src/strings/mousedownEvent.js +2 -6
- package/src/strings/mousedownEvent.js.map +1 -0
- package/src/strings/mousedownEvent.ts +5 -0
- package/src/strings/mouseenterEvent.js +2 -6
- package/src/strings/mouseenterEvent.js.map +1 -0
- package/src/strings/mouseenterEvent.ts +5 -0
- package/src/strings/mousehoverEvent.js +2 -6
- package/src/strings/mousehoverEvent.js.map +1 -0
- package/src/strings/mousehoverEvent.ts +5 -0
- package/src/strings/mouseinEvent.js +2 -6
- package/src/strings/mouseinEvent.js.map +1 -0
- package/src/strings/mouseinEvent.ts +5 -0
- package/src/strings/mouseleaveEvent.js +2 -6
- package/src/strings/mouseleaveEvent.js.map +1 -0
- package/src/strings/mouseleaveEvent.ts +5 -0
- package/src/strings/mousemoveEvent.js +2 -6
- package/src/strings/mousemoveEvent.js.map +1 -0
- package/src/strings/mousemoveEvent.ts +5 -0
- package/src/strings/mouseoutEvent.js +2 -6
- package/src/strings/mouseoutEvent.js.map +1 -0
- package/src/strings/mouseoutEvent.ts +5 -0
- package/src/strings/mouseoverEvent.js +2 -6
- package/src/strings/mouseoverEvent.js.map +1 -0
- package/src/strings/mouseoverEvent.ts +5 -0
- package/src/strings/mouseupEvent.js +2 -6
- package/src/strings/mouseupEvent.js.map +1 -0
- package/src/strings/mouseupEvent.ts +5 -0
- package/src/strings/mousewheelEvent.js +2 -6
- package/src/strings/mousewheelEvent.js.map +1 -0
- package/src/strings/mousewheelEvent.ts +5 -0
- package/src/strings/moveEvent.js +2 -6
- package/src/strings/moveEvent.js.map +1 -0
- package/src/strings/moveEvent.ts +5 -0
- package/src/strings/nativeEvents.js +103 -108
- package/src/strings/nativeEvents.js.map +1 -0
- package/src/strings/nativeEvents.ts +108 -0
- package/src/strings/offsetHeight.js +2 -6
- package/src/strings/offsetHeight.js.map +1 -0
- package/src/strings/offsetHeight.ts +5 -0
- package/src/strings/offsetWidth.js +2 -6
- package/src/strings/offsetWidth.js.map +1 -0
- package/src/strings/offsetWidth.ts +5 -0
- package/src/strings/orientationchangeEvent.js +2 -6
- package/src/strings/orientationchangeEvent.js.map +1 -0
- package/src/strings/orientationchangeEvent.ts +5 -0
- package/src/strings/pointercancelEvent.js +2 -6
- package/src/strings/pointercancelEvent.js.map +1 -0
- package/src/strings/pointercancelEvent.ts +5 -0
- package/src/strings/pointerdownEvent.js +2 -6
- package/src/strings/pointerdownEvent.js.map +1 -0
- package/src/strings/pointerdownEvent.ts +5 -0
- package/src/strings/pointerleaveEvent.js +2 -6
- package/src/strings/pointerleaveEvent.js.map +1 -0
- package/src/strings/pointerleaveEvent.ts +5 -0
- package/src/strings/pointermoveEvent.js +2 -6
- package/src/strings/pointermoveEvent.js.map +1 -0
- package/src/strings/pointermoveEvent.ts +5 -0
- package/src/strings/pointerupEvent.js +2 -6
- package/src/strings/pointerupEvent.js.map +1 -0
- package/src/strings/pointerupEvent.ts +5 -0
- package/src/strings/readystatechangeEvent.js +2 -6
- package/src/strings/readystatechangeEvent.js.map +1 -0
- package/src/strings/readystatechangeEvent.ts +5 -0
- package/src/strings/removeEventListener.js +2 -6
- package/src/strings/removeEventListener.js.map +1 -0
- package/src/strings/removeEventListener.ts +5 -0
- package/src/strings/resetEvent.js +2 -6
- package/src/strings/resetEvent.js.map +1 -0
- package/src/strings/resetEvent.ts +5 -0
- package/src/strings/resizeEvent.js +2 -6
- package/src/strings/resizeEvent.js.map +1 -0
- package/src/strings/resizeEvent.ts +5 -0
- package/src/strings/scrollEvent.js +2 -6
- package/src/strings/scrollEvent.js.map +1 -0
- package/src/strings/scrollEvent.ts +5 -0
- package/src/strings/scrollHeight.js +2 -6
- package/src/strings/scrollHeight.js.map +1 -0
- package/src/strings/scrollHeight.ts +5 -0
- package/src/strings/scrollWidth.js +2 -6
- package/src/strings/scrollWidth.js.map +1 -0
- package/src/strings/scrollWidth.ts +5 -0
- package/src/strings/selectEvent.js +2 -6
- package/src/strings/selectEvent.js.map +1 -0
- package/src/strings/selectEvent.ts +5 -0
- package/src/strings/selectendEvent.js +2 -6
- package/src/strings/selectendEvent.js.map +1 -0
- package/src/strings/selectendEvent.ts +5 -0
- package/src/strings/selectstartEvent.js +2 -6
- package/src/strings/selectstartEvent.js.map +1 -0
- package/src/strings/selectstartEvent.ts +5 -0
- package/src/strings/submitEvent.js +2 -6
- package/src/strings/submitEvent.js.map +1 -0
- package/src/strings/submitEvent.ts +5 -0
- package/src/strings/tabindex.js +2 -0
- package/src/strings/tabindex.js.map +1 -0
- package/src/strings/tabindex.ts +5 -0
- package/src/strings/touchEvents.js +7 -8
- package/src/strings/touchEvents.js.map +1 -0
- package/src/strings/touchEvents.ts +10 -0
- package/src/strings/touchcancelEvent.js +2 -6
- package/src/strings/touchcancelEvent.js.map +1 -0
- package/src/strings/touchcancelEvent.ts +5 -0
- package/src/strings/touchendEvent.js +2 -6
- package/src/strings/touchendEvent.js.map +1 -0
- package/src/strings/touchendEvent.ts +5 -0
- package/src/strings/touchmoveEvent.js +2 -6
- package/src/strings/touchmoveEvent.js.map +1 -0
- package/src/strings/touchmoveEvent.ts +5 -0
- package/src/strings/touchstartEvent.js +2 -6
- package/src/strings/touchstartEvent.js.map +1 -0
- package/src/strings/touchstartEvent.ts +5 -0
- package/src/strings/transitionDelay.js +2 -6
- package/src/strings/transitionDelay.js.map +1 -0
- package/src/strings/transitionDelay.ts +5 -0
- package/src/strings/transitionDuration.js +2 -6
- package/src/strings/transitionDuration.js.map +1 -0
- package/src/strings/transitionDuration.ts +5 -0
- package/src/strings/transitionEndEvent.js +2 -6
- package/src/strings/transitionEndEvent.js.map +1 -0
- package/src/strings/transitionEndEvent.ts +5 -0
- package/src/strings/transitionProperty.js +2 -7
- package/src/strings/transitionProperty.js.map +1 -0
- package/src/strings/transitionProperty.ts +5 -0
- package/src/strings/unloadEvent.js +2 -6
- package/src/strings/unloadEvent.js.map +1 -0
- package/src/strings/unloadEvent.ts +5 -0
- package/src/strings/userAgent.js +3 -7
- package/src/strings/userAgent.js.map +1 -0
- package/src/strings/userAgent.ts +7 -0
- package/src/strings/userAgentData.js +3 -7
- package/src/strings/userAgentData.js.map +1 -0
- package/src/strings/userAgentData.ts +9 -0
- package/src/types.js +1 -0
- package/src/types.js.map +1 -0
- package/src/types.ts +1 -0
- package/types/attr/getAttribute.d.ts +2 -0
- package/types/attr/getAttributeNS.d.ts +2 -0
- package/types/attr/hasAttribute.d.ts +2 -0
- package/types/attr/hasAttributeNS.d.ts +2 -0
- package/types/attr/removeAttribute.d.ts +2 -0
- package/types/attr/removeAttributeNS.d.ts +2 -0
- package/types/attr/setAttribute.d.ts +2 -0
- package/types/attr/setAttributeNS.d.ts +2 -0
- package/types/blocks/documentBody.d.ts +2 -0
- package/types/blocks/documentElement.d.ts +2 -0
- package/types/blocks/documentHead.d.ts +2 -0
- package/types/boolean/isApple.d.ts +2 -0
- package/types/boolean/isFirefox.d.ts +2 -0
- package/types/boolean/isMobile.d.ts +2 -0
- package/types/boolean/support3DTransform.d.ts +2 -0
- package/types/boolean/supportAnimation.d.ts +2 -0
- package/types/boolean/supportPassive.d.ts +2 -0
- package/types/boolean/supportTouch.d.ts +2 -0
- package/types/boolean/supportTransform.d.ts +2 -0
- package/types/boolean/supportTransition.d.ts +2 -0
- package/types/class/addClass.d.ts +2 -0
- package/types/class/hasClass.d.ts +2 -0
- package/types/class/removeClass.d.ts +2 -0
- package/types/event/off.d.ts +1 -0
- package/types/event/on.d.ts +1 -0
- package/types/event/one.d.ts +2 -0
- package/types/get/getBoundingClientRect.d.ts +3 -0
- package/types/get/getDocument.d.ts +2 -0
- package/types/get/getDocumentBody.d.ts +2 -0
- package/types/get/getDocumentElement.d.ts +2 -0
- package/types/get/getDocumentHead.d.ts +2 -0
- package/types/get/getElementAnimationDelay.d.ts +2 -0
- package/types/get/getElementAnimationDuration.d.ts +2 -0
- package/types/get/getElementStyle.d.ts +2 -0
- package/types/get/getElementTransitionDelay.d.ts +2 -0
- package/types/get/getElementTransitionDuration.d.ts +2 -0
- package/types/get/getNodeScroll.d.ts +5 -0
- package/types/get/getParentNode.d.ts +2 -0
- package/types/get/getRectRelativeToOffsetParent.d.ts +6 -0
- package/types/get/getUID.d.ts +2 -0
- package/types/get/getWindow.d.ts +2 -0
- package/types/index.d.ts +351 -256
- package/types/interface/boundingClientRect.d.ts +10 -0
- package/types/interface/css4Declaration.d.ts +3 -0
- package/types/interface/customElement.d.ts +8 -0
- package/types/interface/navigatorUA.d.ts +12 -0
- package/types/interface/offsetRect.d.ts +6 -0
- package/types/interface/originalEvent.d.ts +3 -0
- package/types/is/isArray.d.ts +2 -0
- package/types/is/isCanvas.d.ts +2 -0
- package/types/is/isCustomElement.d.ts +3 -0
- package/types/is/isDocument.d.ts +2 -0
- package/types/is/isElement.d.ts +2 -0
- package/types/is/isElementInScrollRange.d.ts +2 -0
- package/types/is/isElementInViewport.d.ts +2 -0
- package/types/is/isElementsArray.d.ts +2 -0
- package/types/is/isFunction.d.ts +2 -0
- package/types/is/isHTMLCollection.d.ts +2 -0
- package/types/is/isHTMLElement.d.ts +2 -0
- package/types/is/isHTMLImageElement.d.ts +2 -0
- package/types/is/isMap.d.ts +2 -0
- package/types/is/isMedia.d.ts +2 -0
- package/types/is/isNode.d.ts +2 -0
- package/types/is/isNodeList.d.ts +2 -0
- package/types/is/isNumber.d.ts +2 -0
- package/types/is/isObject.d.ts +2 -0
- package/types/is/isRTL.d.ts +2 -0
- package/types/is/isSVGElement.d.ts +2 -0
- package/types/is/isScaledElement.d.ts +1 -0
- package/types/is/isShadowRoot.d.ts +2 -0
- package/types/is/isString.d.ts +2 -0
- package/types/is/isTableElement.d.ts +2 -0
- package/types/is/isWeakMap.d.ts +2 -0
- package/types/is/isWindow.d.ts +2 -0
- package/types/misc/ArrayFrom.d.ts +2 -0
- package/types/misc/Float32ArrayFrom.d.ts +2 -0
- package/types/misc/Float64ArrayFrom.d.ts +2 -0
- package/types/misc/ObjectAssign.d.ts +2 -0
- package/types/misc/ObjectEntries.d.ts +2 -0
- package/types/misc/ObjectKeys.d.ts +2 -0
- package/types/misc/ObjectValues.d.ts +2 -0
- package/types/misc/OriginalEvent.d.ts +3 -0
- package/types/misc/createElement.d.ts +2 -0
- package/types/misc/createElementNS.d.ts +2 -0
- package/types/misc/data.d.ts +10 -0
- package/types/misc/dispatchEvent.d.ts +2 -0
- package/types/misc/distinct.d.ts +2 -0
- package/types/misc/emulateAnimationEnd.d.ts +2 -0
- package/types/misc/emulateTransitionEnd.d.ts +2 -0
- package/types/misc/focus.d.ts +2 -0
- package/types/misc/noop.d.ts +2 -0
- package/types/misc/normalizeOptions.d.ts +5 -0
- package/types/misc/normalizeValue.d.ts +3 -0
- package/types/misc/passiveHandler.d.ts +2 -0
- package/types/misc/reflow.d.ts +2 -0
- package/types/misc/setElementStyle.d.ts +3 -0
- package/types/misc/timer.d.ts +6 -0
- package/types/misc/toLowerCase.d.ts +2 -0
- package/types/misc/toUpperCase.d.ts +2 -0
- package/types/selectors/closest.d.ts +2 -0
- package/types/selectors/getCustomElements.d.ts +3 -0
- package/types/selectors/getElementById.d.ts +2 -0
- package/types/selectors/getElementsByClassName.d.ts +2 -0
- package/types/selectors/getElementsByTagName.d.ts +2 -0
- package/types/selectors/matches.d.ts +2 -0
- package/types/selectors/querySelector.d.ts +2 -0
- package/types/selectors/querySelectorAll.d.ts +2 -0
- package/types/strings/DOMContentLoadedEvent.d.ts +2 -0
- package/types/strings/DOMMouseScrollEvent.d.ts +2 -0
- package/types/strings/abortEvent.d.ts +2 -0
- package/types/strings/addEventListener.d.ts +2 -0
- package/types/strings/animationDelay.d.ts +2 -0
- package/types/strings/animationDuration.d.ts +2 -0
- package/types/strings/animationEndEvent.d.ts +2 -0
- package/types/strings/animationName.d.ts +2 -0
- package/types/strings/ariaChecked.d.ts +2 -0
- package/types/strings/ariaDescribedBy.d.ts +2 -0
- package/types/strings/ariaDescription.d.ts +2 -0
- package/types/strings/ariaExpanded.d.ts +2 -0
- package/types/strings/ariaHasPopup.d.ts +2 -0
- package/types/strings/ariaHidden.d.ts +2 -0
- package/types/strings/ariaLabel.d.ts +2 -0
- package/types/strings/ariaLabelledBy.d.ts +2 -0
- package/types/strings/ariaModal.d.ts +2 -0
- package/types/strings/ariaPressed.d.ts +2 -0
- package/types/strings/ariaSelected.d.ts +2 -0
- package/types/strings/ariaValueMax.d.ts +2 -0
- package/types/strings/ariaValueMin.d.ts +2 -0
- package/types/strings/ariaValueNow.d.ts +2 -0
- package/types/strings/ariaValueText.d.ts +2 -0
- package/types/strings/beforeunloadEvent.d.ts +2 -0
- package/types/strings/bezierEasings.d.ts +28 -0
- package/types/strings/blurEvent.d.ts +2 -0
- package/types/strings/changeEvent.d.ts +2 -0
- package/types/strings/contextmenuEvent.d.ts +2 -0
- package/types/strings/errorEvent.d.ts +2 -0
- package/types/strings/focusEvent.d.ts +2 -0
- package/types/strings/focusEvents.d.ts +5 -0
- package/types/strings/focusinEvent.d.ts +2 -0
- package/types/strings/focusoutEvent.d.ts +2 -0
- package/types/strings/gesturechangeEvent.d.ts +2 -0
- package/types/strings/gestureendEvent.d.ts +2 -0
- package/types/strings/gesturestartEvent.d.ts +2 -0
- package/types/strings/keyAlt.d.ts +2 -0
- package/types/strings/keyArrowDown.d.ts +2 -0
- package/types/strings/keyArrowLeft.d.ts +2 -0
- package/types/strings/keyArrowRight.d.ts +2 -0
- package/types/strings/keyArrowUp.d.ts +2 -0
- package/types/strings/keyBackspace.d.ts +2 -0
- package/types/strings/keyCapsLock.d.ts +2 -0
- package/types/strings/keyControl.d.ts +2 -0
- package/types/strings/keyDelete.d.ts +2 -0
- package/types/strings/keyEnter.d.ts +2 -0
- package/types/strings/keyEscape.d.ts +2 -0
- package/types/strings/keyInsert.d.ts +2 -0
- package/types/strings/keyMeta.d.ts +2 -0
- package/types/strings/keyPause.d.ts +2 -0
- package/types/strings/keyScrollLock.d.ts +2 -0
- package/types/strings/keyShift.d.ts +2 -0
- package/types/strings/keySpace.d.ts +2 -0
- package/types/strings/keyTab.d.ts +2 -0
- package/types/strings/keyboardEventKeys.d.ts +22 -0
- package/types/strings/keydownEvent.d.ts +2 -0
- package/types/strings/keypressEvent.d.ts +2 -0
- package/types/strings/keyupEvent.d.ts +2 -0
- package/types/strings/loadEvent.d.ts +2 -0
- package/types/strings/loadstartEvent.d.ts +2 -0
- package/types/strings/mouseClickEvents.d.ts +5 -0
- package/types/strings/mouseHoverEvents.d.ts +2 -0
- package/types/strings/mouseSwipeEvents.d.ts +7 -0
- package/types/strings/mouseclickEvent.d.ts +2 -0
- package/types/strings/mousedblclickEvent.d.ts +2 -0
- package/types/strings/mousedownEvent.d.ts +2 -0
- package/types/strings/mouseenterEvent.d.ts +2 -0
- package/types/strings/mousehoverEvent.d.ts +2 -0
- package/types/strings/mouseinEvent.d.ts +2 -0
- package/types/strings/mouseleaveEvent.d.ts +2 -0
- package/types/strings/mousemoveEvent.d.ts +2 -0
- package/types/strings/mouseoutEvent.d.ts +2 -0
- package/types/strings/mouseoverEvent.d.ts +2 -0
- package/types/strings/mouseupEvent.d.ts +2 -0
- package/types/strings/mousewheelEvent.d.ts +2 -0
- package/types/strings/moveEvent.d.ts +2 -0
- package/types/strings/nativeEvents.d.ts +53 -0
- package/types/strings/offsetHeight.d.ts +2 -0
- package/types/strings/offsetWidth.d.ts +2 -0
- package/types/strings/orientationchangeEvent.d.ts +2 -0
- package/types/strings/pointercancelEvent.d.ts +2 -0
- package/types/strings/pointerdownEvent.d.ts +2 -0
- package/types/strings/pointerleaveEvent.d.ts +2 -0
- package/types/strings/pointermoveEvent.d.ts +2 -0
- package/types/strings/pointerupEvent.d.ts +2 -0
- package/types/strings/readystatechangeEvent.d.ts +2 -0
- package/types/strings/removeEventListener.d.ts +2 -0
- package/types/strings/resetEvent.d.ts +2 -0
- package/types/strings/resizeEvent.d.ts +2 -0
- package/types/strings/scrollEvent.d.ts +2 -0
- package/types/strings/scrollHeight.d.ts +2 -0
- package/types/strings/scrollWidth.d.ts +2 -0
- package/types/strings/selectEvent.d.ts +2 -0
- package/types/strings/selectendEvent.d.ts +2 -0
- package/types/strings/selectstartEvent.d.ts +2 -0
- package/types/strings/submitEvent.d.ts +2 -0
- package/types/strings/tabindex.d.ts +2 -0
- package/types/strings/touchEvents.d.ts +7 -0
- package/types/strings/touchcancelEvent.d.ts +2 -0
- package/types/strings/touchendEvent.d.ts +2 -0
- package/types/strings/touchmoveEvent.d.ts +2 -0
- package/types/strings/touchstartEvent.d.ts +2 -0
- package/types/strings/transitionDelay.d.ts +2 -0
- package/types/strings/transitionDuration.d.ts +2 -0
- package/types/strings/transitionEndEvent.d.ts +2 -0
- package/types/strings/transitionProperty.d.ts +2 -0
- package/types/strings/unloadEvent.d.ts +2 -0
- package/types/strings/userAgent.d.ts +2 -0
- package/types/strings/userAgentData.d.ts +3 -0
- package/types/types.d.ts +1 -0
- package/dist/shorty.esm.js +0 -2594
- package/dist/shorty.esm.min.js +0 -2
- package/src/get/getElementAnimationDelayLegacy.js +0 -21
- package/src/get/getElementAnimationDurationLegacy.js +0 -21
- package/src/get/getElementTransitionDelayLegacy.js +0 -21
- package/src/get/getElementTransitionDurationLegacy.js +0 -21
- package/src/misc/emulateAnimationEndLegacy.js +0 -41
- package/src/misc/emulateTransitionEndLegacy.js +0 -41
- package/src/misc/passiveHandlerLegacy.js +0 -10
- package/src/misc/version.js +0 -8
- package/src/selectors/matchesLegacy.js +0 -23
- package/src/strings/animationDelayLegacy.js +0 -9
- package/src/strings/animationDurationLegacy.js +0 -9
- package/src/strings/animationEndEventLegacy.js +0 -9
- package/src/strings/animationNameLegacy.js +0 -9
- package/src/strings/transitionDelayLegacy.js +0 -9
- package/src/strings/transitionDurationLegacy.js +0 -9
- package/src/strings/transitionEndEventLegacy.js +0 -9
- package/src/strings/transitionPropertyLegacy.js +0 -12
- package/types/module/shorty.ts +0 -247
- package/types/shorty.d.ts +0 -2305
package/src/index.js
CHANGED
|
@@ -1,475 +1,416 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import
|
|
29
|
-
import
|
|
30
|
-
import
|
|
31
|
-
import
|
|
32
|
-
import
|
|
33
|
-
import
|
|
34
|
-
import
|
|
35
|
-
import
|
|
36
|
-
import
|
|
37
|
-
import
|
|
38
|
-
import
|
|
39
|
-
|
|
40
|
-
import
|
|
41
|
-
import
|
|
42
|
-
import
|
|
43
|
-
|
|
44
|
-
import
|
|
45
|
-
import
|
|
46
|
-
import
|
|
47
|
-
import
|
|
48
|
-
import
|
|
49
|
-
import
|
|
50
|
-
import
|
|
51
|
-
import
|
|
52
|
-
import
|
|
53
|
-
import
|
|
54
|
-
import
|
|
55
|
-
import
|
|
56
|
-
import
|
|
57
|
-
import
|
|
58
|
-
import
|
|
59
|
-
|
|
60
|
-
import
|
|
61
|
-
import
|
|
62
|
-
import
|
|
63
|
-
import
|
|
64
|
-
import
|
|
65
|
-
|
|
66
|
-
import
|
|
67
|
-
import
|
|
68
|
-
import
|
|
69
|
-
import
|
|
70
|
-
import
|
|
71
|
-
|
|
72
|
-
import
|
|
73
|
-
import
|
|
74
|
-
import
|
|
75
|
-
import
|
|
76
|
-
|
|
77
|
-
import
|
|
78
|
-
import
|
|
79
|
-
import
|
|
80
|
-
|
|
81
|
-
import
|
|
82
|
-
import
|
|
83
|
-
import
|
|
84
|
-
import
|
|
85
|
-
import
|
|
86
|
-
import
|
|
87
|
-
import
|
|
88
|
-
import
|
|
89
|
-
import
|
|
90
|
-
import
|
|
91
|
-
import
|
|
92
|
-
import
|
|
93
|
-
import
|
|
94
|
-
import
|
|
95
|
-
import
|
|
96
|
-
import
|
|
97
|
-
import
|
|
98
|
-
import
|
|
99
|
-
import
|
|
100
|
-
import
|
|
101
|
-
import
|
|
102
|
-
import
|
|
103
|
-
|
|
104
|
-
import
|
|
105
|
-
import
|
|
106
|
-
import
|
|
107
|
-
import
|
|
108
|
-
import
|
|
109
|
-
import
|
|
110
|
-
import
|
|
111
|
-
import
|
|
112
|
-
import
|
|
113
|
-
import
|
|
114
|
-
import
|
|
115
|
-
import
|
|
116
|
-
import
|
|
117
|
-
import
|
|
118
|
-
import
|
|
119
|
-
import
|
|
120
|
-
|
|
121
|
-
import
|
|
122
|
-
import
|
|
123
|
-
|
|
124
|
-
import
|
|
125
|
-
|
|
126
|
-
import
|
|
127
|
-
import
|
|
128
|
-
import
|
|
129
|
-
import
|
|
130
|
-
|
|
131
|
-
import
|
|
132
|
-
import
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
import
|
|
136
|
-
import
|
|
137
|
-
import
|
|
138
|
-
import
|
|
139
|
-
import
|
|
140
|
-
import
|
|
141
|
-
import
|
|
142
|
-
import
|
|
143
|
-
import
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
import
|
|
147
|
-
import
|
|
148
|
-
import
|
|
149
|
-
import
|
|
150
|
-
import
|
|
151
|
-
import
|
|
152
|
-
import
|
|
153
|
-
import
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
import
|
|
157
|
-
import
|
|
158
|
-
import
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
import
|
|
162
|
-
import
|
|
163
|
-
import
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
import
|
|
167
|
-
import
|
|
168
|
-
import
|
|
169
|
-
import
|
|
170
|
-
import
|
|
171
|
-
import
|
|
172
|
-
import
|
|
173
|
-
import
|
|
174
|
-
import
|
|
175
|
-
import
|
|
176
|
-
import
|
|
177
|
-
import
|
|
178
|
-
import
|
|
179
|
-
import
|
|
180
|
-
import
|
|
181
|
-
import
|
|
182
|
-
import
|
|
183
|
-
import
|
|
184
|
-
import
|
|
185
|
-
import
|
|
186
|
-
import
|
|
187
|
-
import
|
|
188
|
-
import
|
|
189
|
-
import
|
|
190
|
-
import
|
|
191
|
-
import
|
|
192
|
-
import
|
|
193
|
-
import
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
import
|
|
197
|
-
import
|
|
198
|
-
import
|
|
199
|
-
import
|
|
200
|
-
import
|
|
201
|
-
import
|
|
202
|
-
import
|
|
203
|
-
import
|
|
204
|
-
import
|
|
205
|
-
import
|
|
206
|
-
import
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
isElement,
|
|
418
|
-
isNode,
|
|
419
|
-
isNumber,
|
|
420
|
-
isHTMLElement,
|
|
421
|
-
isHTMLImageElement,
|
|
422
|
-
isSVGElement,
|
|
423
|
-
isNodeList,
|
|
424
|
-
isHTMLCollection,
|
|
425
|
-
isScaledElement,
|
|
426
|
-
isTableElement,
|
|
427
|
-
isShadowRoot,
|
|
428
|
-
isDocument,
|
|
429
|
-
isElementsArray,
|
|
430
|
-
isFunction,
|
|
431
|
-
isWindow,
|
|
432
|
-
isMedia,
|
|
433
|
-
isRTL,
|
|
434
|
-
closest,
|
|
435
|
-
querySelector,
|
|
436
|
-
getCustomElements,
|
|
437
|
-
getElementById,
|
|
438
|
-
querySelectorAll,
|
|
439
|
-
getElementsByClassName,
|
|
440
|
-
getElementsByTagName,
|
|
441
|
-
matches,
|
|
442
|
-
matchesLegacy,
|
|
443
|
-
normalizeValue,
|
|
444
|
-
normalizeOptions,
|
|
445
|
-
reflow,
|
|
446
|
-
noop,
|
|
447
|
-
focus,
|
|
448
|
-
getUID,
|
|
449
|
-
ArrayFrom,
|
|
450
|
-
Float32ArrayFrom,
|
|
451
|
-
Float64ArrayFrom,
|
|
452
|
-
ObjectAssign,
|
|
453
|
-
ObjectEntries,
|
|
454
|
-
ObjectKeys,
|
|
455
|
-
ObjectValues,
|
|
456
|
-
OriginalEvent,
|
|
457
|
-
getBoundingClientRect,
|
|
458
|
-
getDocument,
|
|
459
|
-
getDocumentBody,
|
|
460
|
-
getDocumentElement,
|
|
461
|
-
getDocumentHead,
|
|
462
|
-
getElementStyle,
|
|
463
|
-
setElementStyle,
|
|
464
|
-
hasAttribute,
|
|
465
|
-
hasAttributeNS,
|
|
466
|
-
getAttribute,
|
|
467
|
-
getAttributeNS,
|
|
468
|
-
setAttribute,
|
|
469
|
-
setAttributeNS,
|
|
470
|
-
removeAttribute,
|
|
471
|
-
removeAttributeNS,
|
|
472
|
-
Version,
|
|
473
|
-
};
|
|
474
|
-
|
|
475
|
-
export default SHORTY;
|
|
1
|
+
import ariaChecked from './strings/ariaChecked';
|
|
2
|
+
import ariaDescription from './strings/ariaDescription';
|
|
3
|
+
import ariaDescribedBy from './strings/ariaDescribedBy';
|
|
4
|
+
import ariaExpanded from './strings/ariaExpanded';
|
|
5
|
+
import ariaHasPopup from './strings/ariaHasPopup';
|
|
6
|
+
import ariaHidden from './strings/ariaHidden';
|
|
7
|
+
import ariaLabel from './strings/ariaLabel';
|
|
8
|
+
import ariaLabelledBy from './strings/ariaLabelledBy';
|
|
9
|
+
import ariaModal from './strings/ariaModal';
|
|
10
|
+
import ariaPressed from './strings/ariaPressed';
|
|
11
|
+
import ariaSelected from './strings/ariaSelected';
|
|
12
|
+
import ariaValueMin from './strings/ariaValueMin';
|
|
13
|
+
import ariaValueMax from './strings/ariaValueMax';
|
|
14
|
+
import ariaValueNow from './strings/ariaValueNow';
|
|
15
|
+
import ariaValueText from './strings/ariaValueText';
|
|
16
|
+
import nativeEvents from './strings/nativeEvents';
|
|
17
|
+
import abortEvent from './strings/abortEvent';
|
|
18
|
+
import blurEvent from './strings/blurEvent';
|
|
19
|
+
import moveEvent from './strings/moveEvent';
|
|
20
|
+
import changeEvent from './strings/changeEvent';
|
|
21
|
+
import errorEvent from './strings/errorEvent';
|
|
22
|
+
import resetEvent from './strings/resetEvent';
|
|
23
|
+
import resizeEvent from './strings/resizeEvent';
|
|
24
|
+
import scrollEvent from './strings/scrollEvent';
|
|
25
|
+
import submitEvent from './strings/submitEvent';
|
|
26
|
+
import loadEvent from './strings/loadEvent';
|
|
27
|
+
import loadstartEvent from './strings/loadstartEvent';
|
|
28
|
+
import unloadEvent from './strings/unloadEvent';
|
|
29
|
+
import readystatechangeEvent from './strings/readystatechangeEvent';
|
|
30
|
+
import beforeunloadEvent from './strings/beforeunloadEvent';
|
|
31
|
+
import orientationchangeEvent from './strings/orientationchangeEvent';
|
|
32
|
+
import contextmenuEvent from './strings/contextmenuEvent';
|
|
33
|
+
import DOMContentLoadedEvent from './strings/DOMContentLoadedEvent';
|
|
34
|
+
import DOMMouseScrollEvent from './strings/DOMMouseScrollEvent';
|
|
35
|
+
import selectEvent from './strings/selectEvent';
|
|
36
|
+
import selectendEvent from './strings/selectendEvent';
|
|
37
|
+
import selectstartEvent from './strings/selectstartEvent';
|
|
38
|
+
import mouseSwipeEvents from './strings/mouseSwipeEvents';
|
|
39
|
+
import mouseClickEvents from './strings/mouseClickEvents';
|
|
40
|
+
import mouseclickEvent from './strings/mouseclickEvent';
|
|
41
|
+
import mousedblclickEvent from './strings/mousedblclickEvent';
|
|
42
|
+
import mousedownEvent from './strings/mousedownEvent';
|
|
43
|
+
import mouseupEvent from './strings/mouseupEvent';
|
|
44
|
+
import mousehoverEvent from './strings/mousehoverEvent';
|
|
45
|
+
import mouseHoverEvents from './strings/mouseHoverEvents';
|
|
46
|
+
import mouseenterEvent from './strings/mouseenterEvent';
|
|
47
|
+
import mouseleaveEvent from './strings/mouseleaveEvent';
|
|
48
|
+
import mouseinEvent from './strings/mouseinEvent';
|
|
49
|
+
import mouseoutEvent from './strings/mouseoutEvent';
|
|
50
|
+
import mouseoverEvent from './strings/mouseoverEvent';
|
|
51
|
+
import mousemoveEvent from './strings/mousemoveEvent';
|
|
52
|
+
import mousewheelEvent from './strings/mousewheelEvent';
|
|
53
|
+
import touchEvents from './strings/touchEvents';
|
|
54
|
+
import touchstartEvent from './strings/touchstartEvent';
|
|
55
|
+
import touchmoveEvent from './strings/touchmoveEvent';
|
|
56
|
+
import touchcancelEvent from './strings/touchcancelEvent';
|
|
57
|
+
import touchendEvent from './strings/touchendEvent';
|
|
58
|
+
import pointercancelEvent from './strings/pointercancelEvent';
|
|
59
|
+
import pointerdownEvent from './strings/pointerdownEvent';
|
|
60
|
+
import pointerleaveEvent from './strings/pointerleaveEvent';
|
|
61
|
+
import pointermoveEvent from './strings/pointermoveEvent';
|
|
62
|
+
import pointerupEvent from './strings/pointerupEvent';
|
|
63
|
+
import focusEvents from './strings/focusEvents';
|
|
64
|
+
import focusEvent from './strings/focusEvent';
|
|
65
|
+
import focusinEvent from './strings/focusinEvent';
|
|
66
|
+
import focusoutEvent from './strings/focusoutEvent';
|
|
67
|
+
import gesturechangeEvent from './strings/gesturechangeEvent';
|
|
68
|
+
import gestureendEvent from './strings/gestureendEvent';
|
|
69
|
+
import gesturestartEvent from './strings/gesturestartEvent';
|
|
70
|
+
import keyboardEventKeys from './strings/keyboardEventKeys';
|
|
71
|
+
import keydownEvent from './strings/keydownEvent';
|
|
72
|
+
import keyupEvent from './strings/keyupEvent';
|
|
73
|
+
import keypressEvent from './strings/keypressEvent';
|
|
74
|
+
import keyAlt from './strings/keyAlt';
|
|
75
|
+
import keyArrowDown from './strings/keyArrowDown';
|
|
76
|
+
import keyArrowUp from './strings/keyArrowUp';
|
|
77
|
+
import keyArrowLeft from './strings/keyArrowLeft';
|
|
78
|
+
import keyArrowRight from './strings/keyArrowRight';
|
|
79
|
+
import keyBackspace from './strings/keyBackspace';
|
|
80
|
+
import keyCapsLock from './strings/keyCapsLock';
|
|
81
|
+
import keyControl from './strings/keyControl';
|
|
82
|
+
import keyDelete from './strings/keyDelete';
|
|
83
|
+
import keyEnter from './strings/keyEnter';
|
|
84
|
+
import keyEscape from './strings/keyEscape';
|
|
85
|
+
import keyInsert from './strings/keyInsert';
|
|
86
|
+
import keyMeta from './strings/keyMeta';
|
|
87
|
+
import keyPause from './strings/keyPause';
|
|
88
|
+
import keyScrollLock from './strings/keyScrollLock';
|
|
89
|
+
import keyShift from './strings/keyShift';
|
|
90
|
+
import keySpace from './strings/keySpace';
|
|
91
|
+
import keyTab from './strings/keyTab';
|
|
92
|
+
import animationDuration from './strings/animationDuration';
|
|
93
|
+
import animationDelay from './strings/animationDelay';
|
|
94
|
+
import animationName from './strings/animationName';
|
|
95
|
+
import animationEndEvent from './strings/animationEndEvent';
|
|
96
|
+
import transitionDuration from './strings/transitionDuration';
|
|
97
|
+
import transitionDelay from './strings/transitionDelay';
|
|
98
|
+
import transitionEndEvent from './strings/transitionEndEvent';
|
|
99
|
+
import transitionProperty from './strings/transitionProperty';
|
|
100
|
+
import addEventListener from './strings/addEventListener';
|
|
101
|
+
import removeEventListener from './strings/removeEventListener';
|
|
102
|
+
import bezierEasings from './strings/bezierEasings';
|
|
103
|
+
import offsetHeight from './strings/offsetHeight';
|
|
104
|
+
import offsetWidth from './strings/offsetWidth';
|
|
105
|
+
import scrollHeight from './strings/scrollHeight';
|
|
106
|
+
import scrollWidth from './strings/scrollWidth';
|
|
107
|
+
import tabindex from './strings/tabindex';
|
|
108
|
+
import userAgentData from './strings/userAgentData';
|
|
109
|
+
import userAgent from './strings/userAgent';
|
|
110
|
+
import isMobile from './boolean/isMobile';
|
|
111
|
+
import isApple from './boolean/isApple';
|
|
112
|
+
import isFirefox from './boolean/isFirefox';
|
|
113
|
+
import support3DTransform from './boolean/support3DTransform';
|
|
114
|
+
import supportPassive from './boolean/supportPassive';
|
|
115
|
+
import supportTransform from './boolean/supportTransform';
|
|
116
|
+
import supportTouch from './boolean/supportTouch';
|
|
117
|
+
import supportAnimation from './boolean/supportAnimation';
|
|
118
|
+
import supportTransition from './boolean/supportTransition';
|
|
119
|
+
import getAttribute from './attr/getAttribute';
|
|
120
|
+
import getAttributeNS from './attr/getAttributeNS';
|
|
121
|
+
import hasAttribute from './attr/hasAttribute';
|
|
122
|
+
import hasAttributeNS from './attr/hasAttributeNS';
|
|
123
|
+
import setAttribute from './attr/setAttribute';
|
|
124
|
+
import setAttributeNS from './attr/setAttributeNS';
|
|
125
|
+
import removeAttribute from './attr/removeAttribute';
|
|
126
|
+
import removeAttributeNS from './attr/removeAttributeNS';
|
|
127
|
+
import addClass from './class/addClass';
|
|
128
|
+
import removeClass from './class/removeClass';
|
|
129
|
+
import hasClass from './class/hasClass';
|
|
130
|
+
import on from './event/on';
|
|
131
|
+
import off from './event/off';
|
|
132
|
+
import one from './event/one';
|
|
133
|
+
import ArrayFrom from './misc/ArrayFrom';
|
|
134
|
+
import Data, { getInstance } from './misc/data';
|
|
135
|
+
import createElement from './misc/createElement';
|
|
136
|
+
import createElementNS from './misc/createElementNS';
|
|
137
|
+
import dispatchEvent from './misc/dispatchEvent';
|
|
138
|
+
import distinct from './misc/distinct';
|
|
139
|
+
import emulateAnimationEnd from './misc/emulateAnimationEnd';
|
|
140
|
+
import emulateTransitionEnd from './misc/emulateTransitionEnd';
|
|
141
|
+
import Float32ArrayFrom from './misc/Float32ArrayFrom';
|
|
142
|
+
import Float64ArrayFrom from './misc/Float64ArrayFrom';
|
|
143
|
+
import focus from './misc/focus';
|
|
144
|
+
import noop from './misc/noop';
|
|
145
|
+
import normalizeOptions from './misc/normalizeOptions';
|
|
146
|
+
import normalizeValue from './misc/normalizeValue';
|
|
147
|
+
import ObjectAssign from './misc/ObjectAssign';
|
|
148
|
+
import ObjectEntries from './misc/ObjectEntries';
|
|
149
|
+
import ObjectKeys from './misc/ObjectKeys';
|
|
150
|
+
import ObjectValues from './misc/ObjectValues';
|
|
151
|
+
import OriginalEvent from './misc/OriginalEvent';
|
|
152
|
+
import passiveHandler from './misc/passiveHandler';
|
|
153
|
+
import reflow from './misc/reflow';
|
|
154
|
+
import setElementStyle from './misc/setElementStyle';
|
|
155
|
+
import Timer from './misc/timer';
|
|
156
|
+
import toLowerCase from './misc/toLowerCase';
|
|
157
|
+
import toUpperCase from './misc/toUpperCase';
|
|
158
|
+
import getBoundingClientRect from './get/getBoundingClientRect';
|
|
159
|
+
import getDocument from './get/getDocument';
|
|
160
|
+
import getDocumentBody from './get/getDocumentBody';
|
|
161
|
+
import getDocumentElement from './get/getDocumentElement';
|
|
162
|
+
import getDocumentHead from './get/getDocumentHead';
|
|
163
|
+
import getElementAnimationDuration from './get/getElementAnimationDuration';
|
|
164
|
+
import getElementAnimationDelay from './get/getElementAnimationDelay';
|
|
165
|
+
import getElementStyle from './get/getElementStyle';
|
|
166
|
+
import getElementTransitionDuration from './get/getElementTransitionDuration';
|
|
167
|
+
import getElementTransitionDelay from './get/getElementTransitionDelay';
|
|
168
|
+
import getNodeScroll from './get/getNodeScroll';
|
|
169
|
+
import getParentNode from './get/getParentNode';
|
|
170
|
+
import getRectRelativeToOffsetParent from './get/getRectRelativeToOffsetParent';
|
|
171
|
+
import getUID from './get/getUID';
|
|
172
|
+
import getWindow from './get/getWindow';
|
|
173
|
+
import isArray from './is/isArray';
|
|
174
|
+
import isCanvas from './is/isCanvas';
|
|
175
|
+
import isDocument from './is/isDocument';
|
|
176
|
+
import isCustomElement from './is/isCustomElement';
|
|
177
|
+
import isElement from './is/isElement';
|
|
178
|
+
import isElementInScrollRange from './is/isElementInScrollRange';
|
|
179
|
+
import isElementInViewport from './is/isElementInViewport';
|
|
180
|
+
import isElementsArray from './is/isElementsArray';
|
|
181
|
+
import isFunction from './is/isFunction';
|
|
182
|
+
import isObject from './is/isObject';
|
|
183
|
+
import isHTMLCollection from './is/isHTMLCollection';
|
|
184
|
+
import isHTMLElement from './is/isHTMLElement';
|
|
185
|
+
import isHTMLImageElement from './is/isHTMLImageElement';
|
|
186
|
+
import isMap from './is/isMap';
|
|
187
|
+
import isWeakMap from './is/isWeakMap';
|
|
188
|
+
import isMedia from './is/isMedia';
|
|
189
|
+
import isNode from './is/isNode';
|
|
190
|
+
import isNodeList from './is/isNodeList';
|
|
191
|
+
import isNumber from './is/isNumber';
|
|
192
|
+
import isRTL from './is/isRTL';
|
|
193
|
+
import isScaledElement from './is/isScaledElement';
|
|
194
|
+
import isShadowRoot from './is/isShadowRoot';
|
|
195
|
+
import isString from './is/isString';
|
|
196
|
+
import isSVGElement from './is/isSVGElement';
|
|
197
|
+
import isTableElement from './is/isTableElement';
|
|
198
|
+
import isWindow from './is/isWindow';
|
|
199
|
+
import closest from './selectors/closest';
|
|
200
|
+
import querySelector from './selectors/querySelector';
|
|
201
|
+
import getCustomElements from './selectors/getCustomElements';
|
|
202
|
+
import getElementById from './selectors/getElementById';
|
|
203
|
+
import querySelectorAll from './selectors/querySelectorAll';
|
|
204
|
+
import getElementsByTagName from './selectors/getElementsByTagName';
|
|
205
|
+
import getElementsByClassName from './selectors/getElementsByClassName';
|
|
206
|
+
import matches from './selectors/matches';
|
|
207
|
+
const SHORTY = {
|
|
208
|
+
ariaChecked,
|
|
209
|
+
ariaDescription,
|
|
210
|
+
ariaDescribedBy,
|
|
211
|
+
ariaExpanded,
|
|
212
|
+
ariaHidden,
|
|
213
|
+
ariaHasPopup,
|
|
214
|
+
ariaLabel,
|
|
215
|
+
ariaLabelledBy,
|
|
216
|
+
ariaModal,
|
|
217
|
+
ariaPressed,
|
|
218
|
+
ariaSelected,
|
|
219
|
+
ariaValueMin,
|
|
220
|
+
ariaValueMax,
|
|
221
|
+
ariaValueNow,
|
|
222
|
+
ariaValueText,
|
|
223
|
+
nativeEvents,
|
|
224
|
+
abortEvent,
|
|
225
|
+
blurEvent,
|
|
226
|
+
moveEvent,
|
|
227
|
+
changeEvent,
|
|
228
|
+
errorEvent,
|
|
229
|
+
resetEvent,
|
|
230
|
+
resizeEvent,
|
|
231
|
+
scrollEvent,
|
|
232
|
+
submitEvent,
|
|
233
|
+
loadEvent,
|
|
234
|
+
loadstartEvent,
|
|
235
|
+
unloadEvent,
|
|
236
|
+
readystatechangeEvent,
|
|
237
|
+
beforeunloadEvent,
|
|
238
|
+
orientationchangeEvent,
|
|
239
|
+
contextmenuEvent,
|
|
240
|
+
DOMContentLoadedEvent,
|
|
241
|
+
DOMMouseScrollEvent,
|
|
242
|
+
selectEvent,
|
|
243
|
+
selectendEvent,
|
|
244
|
+
selectstartEvent,
|
|
245
|
+
mouseClickEvents,
|
|
246
|
+
mouseclickEvent,
|
|
247
|
+
mousedblclickEvent,
|
|
248
|
+
mousedownEvent,
|
|
249
|
+
mouseupEvent,
|
|
250
|
+
mousehoverEvent,
|
|
251
|
+
mouseHoverEvents,
|
|
252
|
+
mouseenterEvent,
|
|
253
|
+
mouseleaveEvent,
|
|
254
|
+
mouseinEvent,
|
|
255
|
+
mouseoutEvent,
|
|
256
|
+
mouseoverEvent,
|
|
257
|
+
mousemoveEvent,
|
|
258
|
+
mousewheelEvent,
|
|
259
|
+
mouseSwipeEvents,
|
|
260
|
+
touchEvents,
|
|
261
|
+
touchstartEvent,
|
|
262
|
+
touchmoveEvent,
|
|
263
|
+
touchcancelEvent,
|
|
264
|
+
touchendEvent,
|
|
265
|
+
pointercancelEvent,
|
|
266
|
+
pointerdownEvent,
|
|
267
|
+
pointerleaveEvent,
|
|
268
|
+
pointermoveEvent,
|
|
269
|
+
pointerupEvent,
|
|
270
|
+
focusEvents,
|
|
271
|
+
focusEvent,
|
|
272
|
+
focusinEvent,
|
|
273
|
+
focusoutEvent,
|
|
274
|
+
gesturechangeEvent,
|
|
275
|
+
gestureendEvent,
|
|
276
|
+
gesturestartEvent,
|
|
277
|
+
bezierEasings,
|
|
278
|
+
animationDuration,
|
|
279
|
+
animationDelay,
|
|
280
|
+
animationName,
|
|
281
|
+
animationEndEvent,
|
|
282
|
+
transitionDuration,
|
|
283
|
+
transitionDelay,
|
|
284
|
+
transitionEndEvent,
|
|
285
|
+
transitionProperty,
|
|
286
|
+
isMobile,
|
|
287
|
+
isApple,
|
|
288
|
+
isFirefox,
|
|
289
|
+
support3DTransform,
|
|
290
|
+
supportPassive,
|
|
291
|
+
supportTransform,
|
|
292
|
+
supportTouch,
|
|
293
|
+
supportAnimation,
|
|
294
|
+
supportTransition,
|
|
295
|
+
addEventListener,
|
|
296
|
+
removeEventListener,
|
|
297
|
+
keyboardEventKeys,
|
|
298
|
+
keydownEvent,
|
|
299
|
+
keypressEvent,
|
|
300
|
+
keyupEvent,
|
|
301
|
+
keyAlt,
|
|
302
|
+
keyArrowDown,
|
|
303
|
+
keyArrowLeft,
|
|
304
|
+
keyArrowRight,
|
|
305
|
+
keyArrowUp,
|
|
306
|
+
keyBackspace,
|
|
307
|
+
keyCapsLock,
|
|
308
|
+
keyControl,
|
|
309
|
+
keyDelete,
|
|
310
|
+
keyEnter,
|
|
311
|
+
keyEscape,
|
|
312
|
+
keyInsert,
|
|
313
|
+
keyMeta,
|
|
314
|
+
keyPause,
|
|
315
|
+
keyScrollLock,
|
|
316
|
+
keyShift,
|
|
317
|
+
keySpace,
|
|
318
|
+
keyTab,
|
|
319
|
+
offsetHeight,
|
|
320
|
+
offsetWidth,
|
|
321
|
+
scrollHeight,
|
|
322
|
+
scrollWidth,
|
|
323
|
+
userAgentData,
|
|
324
|
+
userAgent,
|
|
325
|
+
tabindex,
|
|
326
|
+
addClass,
|
|
327
|
+
removeClass,
|
|
328
|
+
hasClass,
|
|
329
|
+
on,
|
|
330
|
+
off,
|
|
331
|
+
one,
|
|
332
|
+
dispatchEvent,
|
|
333
|
+
distinct,
|
|
334
|
+
Data,
|
|
335
|
+
getInstance,
|
|
336
|
+
createElement,
|
|
337
|
+
createElementNS,
|
|
338
|
+
toUpperCase,
|
|
339
|
+
toLowerCase,
|
|
340
|
+
Timer,
|
|
341
|
+
emulateAnimationEnd,
|
|
342
|
+
emulateTransitionEnd,
|
|
343
|
+
isElementInScrollRange,
|
|
344
|
+
isElementInViewport,
|
|
345
|
+
passiveHandler,
|
|
346
|
+
getElementAnimationDuration,
|
|
347
|
+
getElementAnimationDelay,
|
|
348
|
+
getElementTransitionDuration,
|
|
349
|
+
getElementTransitionDelay,
|
|
350
|
+
getNodeScroll,
|
|
351
|
+
getParentNode,
|
|
352
|
+
getRectRelativeToOffsetParent,
|
|
353
|
+
getWindow,
|
|
354
|
+
isArray,
|
|
355
|
+
isCanvas,
|
|
356
|
+
isString,
|
|
357
|
+
isCustomElement,
|
|
358
|
+
isElement,
|
|
359
|
+
isMap,
|
|
360
|
+
isWeakMap,
|
|
361
|
+
isNode,
|
|
362
|
+
isNumber,
|
|
363
|
+
isHTMLElement,
|
|
364
|
+
isHTMLImageElement,
|
|
365
|
+
isSVGElement,
|
|
366
|
+
isNodeList,
|
|
367
|
+
isHTMLCollection,
|
|
368
|
+
isScaledElement,
|
|
369
|
+
isTableElement,
|
|
370
|
+
isShadowRoot,
|
|
371
|
+
isDocument,
|
|
372
|
+
isElementsArray,
|
|
373
|
+
isFunction,
|
|
374
|
+
isObject,
|
|
375
|
+
isWindow,
|
|
376
|
+
isMedia,
|
|
377
|
+
isRTL,
|
|
378
|
+
closest,
|
|
379
|
+
querySelector,
|
|
380
|
+
getCustomElements,
|
|
381
|
+
getElementById,
|
|
382
|
+
querySelectorAll,
|
|
383
|
+
getElementsByClassName,
|
|
384
|
+
getElementsByTagName,
|
|
385
|
+
matches,
|
|
386
|
+
normalizeValue,
|
|
387
|
+
normalizeOptions,
|
|
388
|
+
reflow,
|
|
389
|
+
noop,
|
|
390
|
+
focus,
|
|
391
|
+
getUID,
|
|
392
|
+
ArrayFrom,
|
|
393
|
+
Float32ArrayFrom,
|
|
394
|
+
Float64ArrayFrom,
|
|
395
|
+
ObjectAssign,
|
|
396
|
+
ObjectEntries,
|
|
397
|
+
ObjectKeys,
|
|
398
|
+
ObjectValues,
|
|
399
|
+
OriginalEvent,
|
|
400
|
+
getBoundingClientRect,
|
|
401
|
+
getDocument,
|
|
402
|
+
getDocumentBody,
|
|
403
|
+
getDocumentElement,
|
|
404
|
+
getDocumentHead,
|
|
405
|
+
getElementStyle,
|
|
406
|
+
setElementStyle,
|
|
407
|
+
hasAttribute,
|
|
408
|
+
hasAttributeNS,
|
|
409
|
+
getAttribute,
|
|
410
|
+
getAttributeNS,
|
|
411
|
+
setAttribute,
|
|
412
|
+
setAttributeNS,
|
|
413
|
+
removeAttribute,
|
|
414
|
+
removeAttributeNS,
|
|
415
|
+
};
|
|
416
|
+
export default SHORTY;
|