@geneontology/wc-light-modal
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -10,8 +10,10 @@ /* eslint-disable */ | ||
interface WcLightModal { | ||
"close": () => Promise<{ modal: HTMLDivElement; operation: string; }>; | ||
"close": () => Promise<void>; | ||
"modalAnchor": string; | ||
"modalContent": string; | ||
"modalTitle": string; | ||
"open": () => Promise<{ modal: HTMLDivElement; operation: string; }>; | ||
"toggle": () => Promise<{ modal: HTMLDivElement; operation: string; }>; | ||
"open": () => Promise<void>; | ||
"toggle": () => Promise<void>; | ||
"x": number; | ||
"y": number; | ||
} | ||
@@ -35,2 +37,4 @@ } | ||
"modalTitle"?: string; | ||
"x"?: number; | ||
"y"?: number; | ||
} | ||
@@ -37,0 +41,0 @@ interface IntrinsicElements { |
export declare class LightModal { | ||
mid: string; | ||
mclass: string; | ||
@@ -9,16 +10,10 @@ modal: any; | ||
modalContent: string; | ||
x: number; | ||
y: number; | ||
modalTitleChanged(newValue: any, oldValue: any): void; | ||
componentDidLoad(): void; | ||
open(): Promise<{ | ||
modal: HTMLDivElement; | ||
operation: string; | ||
}>; | ||
close(): Promise<{ | ||
modal: HTMLDivElement; | ||
operation: string; | ||
}>; | ||
toggle(): Promise<{ | ||
modal: HTMLDivElement; | ||
operation: string; | ||
}>; | ||
open(): Promise<void>; | ||
close(): Promise<void>; | ||
toggle(): Promise<void>; | ||
render(): any; | ||
} |
@@ -20,12 +20,5 @@ | ||
scriptElm = doc.createElement('script'); | ||
scriptElm.setAttribute('nomodule', ''); | ||
scriptElm.src = url + '/wc-light-modal.js'; | ||
warn.push(scriptElm.outerHTML); | ||
scriptElm.setAttribute('data-stencil-namespace', 'wc-light-modal'); | ||
doc.head.appendChild(scriptElm) | ||
false | ||
console.warn(warn.join('\n')); | ||
})(document); |
@@ -1,1 +0,7 @@ | ||
import{b as o}from"./p-0f6fb342.js";import{p as l}from"./p-975739a6.js";l().then(l=>o([["p-d0315862",[[0,"wc-light-modal",{modalAnchor:[1,"modal-anchor"],modalTitle:[1,"modal-title"],modalContent:[1,"modal-content"],open:[64],close:[64],toggle:[64]}]]]],l)); | ||
import { b as bootstrapLazy } from './index-91d1da78.js'; | ||
import { p as patchBrowser, g as globalScripts } from './app-globals-ef319d5b.js'; | ||
patchBrowser().then(options => { | ||
globalScripts(); | ||
return bootstrapLazy([["wc-light-modal",[[1,"wc-light-modal",{"modalAnchor":[1,"modal-anchor"],"modalTitle":[1,"modal-title"],"modalContent":[1,"modal-content"],"x":[2],"y":[2],"open":[64],"close":[64],"toggle":[64]}]]]], options); | ||
}); |
{ | ||
"name": "@geneontology/wc-light-modal", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Lightweight modal web component", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.cjs.js", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
3
247634
24
1
5289