@kobalte/utils
Advanced tools
Comparing version 0.7.0 to 0.7.1
@@ -32,2 +32,3 @@ import { Accessor, JSX, ValidComponent, ComponentProps } from 'solid-js'; | ||
*/ | ||
declare function isNumber(value: any): value is number; | ||
declare function isArray<T>(value: any): value is Array<T>; | ||
@@ -320,2 +321,2 @@ declare function isString(value: any): value is string; | ||
export { EventKey, FOCUSABLE_ELEMENT_SELECTOR, FocusManager, FocusManagerOptions, Orientation, OverrideComponentProps, OverrideProps, Point, Polygon, RangeValue, TABBABLE_ELEMENT_SELECTOR, ValidationState, addItemToArray, callHandler, clamp, composeEventHandlers, contains, createFocusManager, createGenerateId, createGlobalListeners, debugPolygon, focusWithoutScrolling, getActiveElement, getAllTabbableIn, getDocument, getEventPoint, getFocusableTreeWalker, getScrollParent, getWindow, hasFocusWithin, isAndroid, isAppleDevice, isArray, isChrome, isCtrlKey, isElementVisible, isFocusable, isFrame, isFunction, isIOS, isIPad, isIPhone, isMac, isPointInPolygon, isString, isTabbable, isVirtualClick, isVirtualPointerEvent, isWebKit, mergeDefaultProps, noop, removeItemFromArray, runAfterTransition, scrollIntoView, visuallyHiddenStyles }; | ||
export { EventKey, FOCUSABLE_ELEMENT_SELECTOR, FocusManager, FocusManagerOptions, Orientation, OverrideComponentProps, OverrideProps, Point, Polygon, RangeValue, TABBABLE_ELEMENT_SELECTOR, ValidationState, addItemToArray, callHandler, clamp, composeEventHandlers, contains, createFocusManager, createGenerateId, createGlobalListeners, debugPolygon, focusWithoutScrolling, getActiveElement, getAllTabbableIn, getDocument, getEventPoint, getFocusableTreeWalker, getScrollParent, getWindow, hasFocusWithin, isAndroid, isAppleDevice, isArray, isChrome, isCtrlKey, isElementVisible, isFocusable, isFrame, isFunction, isIOS, isIPad, isIPhone, isMac, isNumber, isPointInPolygon, isString, isTabbable, isVirtualClick, isVirtualPointerEvent, isWebKit, mergeDefaultProps, noop, removeItemFromArray, runAfterTransition, scrollIntoView, visuallyHiddenStyles }; |
@@ -26,2 +26,5 @@ import { onCleanup, mergeProps } from 'solid-js'; | ||
// src/assertion.ts | ||
function isNumber(value) { | ||
return typeof value === "number"; | ||
} | ||
function isArray(value) { | ||
@@ -805,4 +808,4 @@ return Array.isArray(value); | ||
export { EventKey, FOCUSABLE_ELEMENT_SELECTOR, TABBABLE_ELEMENT_SELECTOR, addItemToArray, callHandler, clamp, composeEventHandlers, contains, createFocusManager, createGenerateId, createGlobalListeners, debugPolygon, focusWithoutScrolling, getActiveElement, getAllTabbableIn, getDocument, getEventPoint, getFocusableTreeWalker, getScrollParent, getWindow, hasFocusWithin, isAndroid, isAppleDevice, isArray, isChrome, isCtrlKey, isElementVisible, isFocusable, isFrame, isFunction, isIOS, isIPad, isIPhone, isMac, isPointInPolygon, isString, isTabbable, isVirtualClick, isVirtualPointerEvent, isWebKit, mergeDefaultProps, noop, removeItemFromArray, runAfterTransition, scrollIntoView, visuallyHiddenStyles }; | ||
export { EventKey, FOCUSABLE_ELEMENT_SELECTOR, TABBABLE_ELEMENT_SELECTOR, addItemToArray, callHandler, clamp, composeEventHandlers, contains, createFocusManager, createGenerateId, createGlobalListeners, debugPolygon, focusWithoutScrolling, getActiveElement, getAllTabbableIn, getDocument, getEventPoint, getFocusableTreeWalker, getScrollParent, getWindow, hasFocusWithin, isAndroid, isAppleDevice, isArray, isChrome, isCtrlKey, isElementVisible, isFocusable, isFrame, isFunction, isIOS, isIPad, isIPhone, isMac, isNumber, isPointInPolygon, isString, isTabbable, isVirtualClick, isVirtualPointerEvent, isWebKit, mergeDefaultProps, noop, removeItemFromArray, runAfterTransition, scrollIntoView, visuallyHiddenStyles }; | ||
//# sourceMappingURL=out.js.map | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@kobalte/utils", | ||
"version": "0.7.0", | ||
"version": "0.7.1", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "description": "Common utilities and types for Kobalte.", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
205570
2827