Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@kobalte/utils

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kobalte/utils - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

6

dist/cjs/index.js

@@ -8,3 +8,2 @@ 'use strict';

var media = require('@solid-primitives/media');
var props = require('@solid-primitives/props');
var refs = require('@solid-primitives/refs');

@@ -879,6 +878,2 @@ var utils = require('@solid-primitives/utils');

});
Object.defineProperty(exports, 'combineProps', {
enumerable: true,
get: function () { return props.combineProps; }
});
Object.defineProperty(exports, 'mergeRefs', {

@@ -923,2 +918,3 @@ enumerable: true,

exports.isCtrlKey = isCtrlKey;
exports.isElementVisible = isElementVisible;
exports.isFocusable = isFocusable;

@@ -925,0 +921,0 @@ exports.isFrame = isFrame;

3

dist/esm/index.js
import { onCleanup, mergeProps } from 'solid-js';
export { createEventListener } from '@solid-primitives/event-listener';
export { createMediaQuery } from '@solid-primitives/media';
export { combineProps } from '@solid-primitives/props';
export { mergeRefs } from '@solid-primitives/refs';

@@ -866,3 +865,3 @@ export { access, accessWith, chain } from '@solid-primitives/utils';

export { EventKey, addItemToArray, callHandler, composeEventHandlers, contains, createGenerateId, createGlobalListeners, createPolymorphicComponent, debugPolygon, focusWithoutScrolling, getActiveElement, getAllTabbableIn, getDocument, getEventPoint, getFocusableTreeWalker, getScrollParent, getWindow, hasFocusWithin, isActionKey, isAndroid, isAppleDevice, isArray, isChrome, isCtrlKey, isFocusable, isFrame, isFunction, isIOS, isIPad, isIPhone, isMac, isPointInPolygon, isSelectionKey, isString, isTabbable, isVirtualClick, isVirtualPointerEvent, isWebKit, mergeDefaultProps, noop, removeItemFromArray, runAfterTransition, scrollIntoView, visuallyHiddenStyles };
export { EventKey, addItemToArray, callHandler, composeEventHandlers, contains, createGenerateId, createGlobalListeners, createPolymorphicComponent, debugPolygon, focusWithoutScrolling, getActiveElement, getAllTabbableIn, getDocument, getEventPoint, getFocusableTreeWalker, getScrollParent, getWindow, hasFocusWithin, isActionKey, isAndroid, isAppleDevice, isArray, isChrome, isCtrlKey, isElementVisible, isFocusable, isFrame, isFunction, isIOS, isIPad, isIPhone, isMac, isPointInPolygon, isSelectionKey, isString, isTabbable, isVirtualClick, isVirtualPointerEvent, isWebKit, mergeDefaultProps, noop, removeItemFromArray, runAfterTransition, scrollIntoView, visuallyHiddenStyles };
//# sourceMappingURL=index.js.map
// External libs re-exports
export { createEventListener } from "@solid-primitives/event-listener";
export { createMediaQuery } from "@solid-primitives/media";
export { combineProps } from "@solid-primitives/props";
export { mergeRefs } from "@solid-primitives/refs";
export { access, accessWith, chain } from "@solid-primitives/utils";

@@ -84,3 +84,3 @@ /*!

*/
function isElementVisible(element, childElement) {
export function isElementVisible(element, childElement) {
return (element.nodeName !== "#comment" &&

@@ -87,0 +87,0 @@ isStyleVisible(element) &&

export { createEventListener } from "@solid-primitives/event-listener";
export { createMediaQuery } from "@solid-primitives/media";
export { combineProps } from "@solid-primitives/props";
export { mergeRefs } from "@solid-primitives/refs";
export type { MaybeAccessor } from "@solid-primitives/utils";
export { access, accessWith, chain } from "@solid-primitives/utils";

@@ -38,2 +38,9 @@ /*!

/**
* Adapted from https://github.com/testing-library/jest-dom and
* https://github.com/vuejs/vue-test-utils-next/.
* Licensed under the MIT License.
* @param element - Element to evaluate for display or visibility.
*/
export declare function isElementVisible(element: Element, childElement?: Element): boolean;
/**
* Checks if `element` has focus within.

@@ -40,0 +47,0 @@ * Elements that are referenced by `aria-activedescendant` are also considered.

export declare type ValidationState = "valid" | "invalid";
export declare type Orientation = "horizontal" | "vertical";
export interface RangeValue<T> {
/** The start value of the range. */
start: T;
/** The end value of the range. */
end: T;
}
{
"name": "@kobalte/utils",
"version": "0.1.0",
"version": "0.2.0",
"private": false,

@@ -49,3 +49,2 @@ "description": "Common utilities and types for Kobalte.",

"@solid-primitives/media": "^2.0.4",
"@solid-primitives/props": "^3.0.1",
"@solid-primitives/refs": "^0.3.4",

@@ -52,0 +51,0 @@ "@solid-primitives/utils": "^4.0.0"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc