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

solid-dismiss

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

solid-dismiss - npm Package Compare versions

Comparing version 1.7.122 to 1.8.0

4

dist/source/components/CustomPortal.jsx

@@ -36,4 +36,4 @@ import { createRoot, createSignal, onCleanup, sharedConfig, } from "solid-js";

: container;
// originally "_$host"
Object.defineProperty(container, "host", {
// switched "host" back to "_$host"
Object.defineProperty(container, "_$host", {
get() {

@@ -40,0 +40,0 @@ return marker.parentNode;

import { Component, JSX } from "solid-js";
import { TLocalState } from "../local/localState";
export declare type DismissAnimation = {
export type DismissAnimation = {
/**

@@ -5,0 +5,0 @@ * Used to automatically generate transition CSS class names. e.g. name: 'fade' will auto expand to .fade-enter, .fade-enter-active, etc.

import { TDismiss } from "..";
import { TLocalState } from "../local/localState";
export declare type TDismissStack = Pick<TDismiss, "focusElementOnClose" | "overlayElement" | "open" | "setOpen" | "mountedPopupsSafeList"> & Pick<TLocalState, "timeouts" | "uniqueId" | "cursorKeys" | "closeWhenDocumentBlurs" | "closeWhenMenuButtonIsTabbed" | "closeWhenEscapeKeyIsPressed" | "upperStackRemovedByFocusOut" | "menuPopupEl" | "overlayEl" | "overlay" | "focusSentinelBeforeEl" | "focusSentinelAfterEl" | "ignoreMenuPopupWhenTabbing"> & {
export type TDismissStack = Pick<TDismiss, "focusElementOnClose" | "overlayElement" | "open" | "setOpen" | "mountedPopupsSafeList"> & Pick<TLocalState, "timeouts" | "uniqueId" | "cursorKeys" | "closeWhenDocumentBlurs" | "closeWhenMenuButtonIsTabbed" | "closeWhenEscapeKeyIsPressed" | "upperStackRemovedByFocusOut" | "menuPopupEl" | "overlayEl" | "overlay" | "focusSentinelBeforeEl" | "focusSentinelAfterEl" | "ignoreMenuPopupWhenTabbing"> & {
id: string;

@@ -5,0 +5,0 @@ menuBtnEls: HTMLElement[];

@@ -13,3 +13,3 @@ import { Accessor, JSX, ParentComponent } from "solid-js";

*/
export declare type TDismiss = {
export type TDismiss = {
/**

@@ -298,7 +298,7 @@ * sets id attribute for root component

};
export declare type OnOpenHandler = (open: boolean, props: {
export type OnOpenHandler = (open: boolean, props: {
uniqueId: string;
dismissStack: DismissStack[];
}) => void;
export declare type DismissStack = TDismissStack;
export type DismissStack = TDismissStack;
/**

@@ -305,0 +305,0 @@ *

import { TDismiss } from "..";
export declare type TLocalState = Omit<TDismiss, "id" | "ref" | "animation" | "onOpen" | "class" | "classList"> & {
export type TLocalState = Omit<TDismiss, "id" | "ref" | "animation" | "onOpen" | "class" | "classList"> & {
uniqueId: string;

@@ -4,0 +4,0 @@ id: string;

@@ -1,2 +0,2 @@

declare type GetNextTabbableElement = {
type GetNextTabbableElement = {
/**

@@ -3,0 +3,0 @@ * Sets the relative position on getting the next tabbable element

{
"name": "solid-dismiss",
"version": "1.7.122",
"version": "1.8.0",
"homepage": "https://aquaductape.github.io/solid-dismiss/",

@@ -62,6 +62,6 @@ "description": "Handles \"click outside\" behavior for popup menu. Closing is triggered by click/focus outside of popup element or pressing \"Escape\" key.",

"rollup-preset-solid": "^0.3.0",
"solid-js": "^1.7.0",
"solid-js": "^1.8.15",
"typedoc": "^0.22.4",
"typescript": "^4.8.4"
"typescript": "^5.4.2"
}
}

Sorry, the diff of this file is too big to display

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