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

@featherds/dialog

Package Overview
Dependencies
Maintainers
2
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@featherds/dialog - npm Package Compare versions

Comparing version 0.10.8 to 0.10.9

11

dist/app.es.js

@@ -17,3 +17,3 @@ var __defProp = Object.defineProperty;

};
import { defineComponent, ref, toRef, computed, nextTick, openBlock, createElementBlock, createElementVNode, renderSlot, resolveComponent, normalizeClass, withModifiers, createVNode, watch, withDirectives, Transition, withCtx, vShow, toDisplayString, createCommentVNode, createBlock } from "vue";
import { defineComponent, ref, toRef, computed, nextTick, openBlock, createElementBlock, createElementVNode, renderSlot, resolveComponent, normalizeClass, withModifiers, createVNode, watch, withDirectives, Transition, withCtx, vShow, createBlock, toDisplayString, createCommentVNode } from "vue";
import { getElements, addLayer, removeLayer } from "@featherds/composables/modal/Layers";

@@ -390,3 +390,4 @@ import { FeatherIcon } from "@featherds/icon";

default: withCtx(() => [
withDirectives(createVNode(_component_FocusTrap, {
_ctx.modelValue ? (openBlock(), createBlock(_component_FocusTrap, {
key: 0,
enable: _ctx.shown && _ctx.modelValue,

@@ -429,5 +430,3 @@ class: "trap",

_: 3
}, 8, ["enable", "layer"]), [
[vShow, _ctx.modelValue]
])
}, 8, ["enable", "layer"])) : createCommentVNode("", true)
]),

@@ -440,3 +439,3 @@ _: 3

}
var FeatherDialog = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-78b6a99f"]]);
var FeatherDialog = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-6904ab82"]]);
export { DialogClose, FeatherDialog, FocusTrap };
{
"name": "@featherds/dialog",
"version": "0.10.8",
"version": "0.10.9",
"publishConfig": {

@@ -12,6 +12,6 @@ "access": "public"

"dependencies": {
"@featherds/composables": "^0.10.8",
"@featherds/icon": "^0.10.8",
"@featherds/styles": "^0.10.8",
"@featherds/utils": "^0.10.8",
"@featherds/composables": "^0.10.9",
"@featherds/icon": "^0.10.9",
"@featherds/styles": "^0.10.9",
"@featherds/utils": "^0.10.9",
"vue": "^3.1.0-0"

@@ -24,3 +24,3 @@ },

"types": "./src/index.d.ts",
"gitHead": "f58926ce6d043036bdbe973d085c76492aec35af"
"gitHead": "b1ad79847ac55cfa9a12fc4ab470944a0e397e26"
}

@@ -21,3 +21,3 @@ import { mount } from "@vue/test-utils";

const getprops = (visible: boolean) => ({
visible,
modelValue: visible,
labels: {

@@ -43,7 +43,7 @@ title,

const wrapper = getWrapper({ props: getprops(false), slots });
expect(wrapper.find(".content").isVisible()).toBe(false);
expect(wrapper.find(".content").exists()).toBe(false);
await wrapper.setProps({ modelValue: true });
expect(wrapper.find(".content").isVisible()).toBe(true);
await wrapper.setProps({ modelValue: false });
expect(wrapper.find(".content").isVisible()).toBe(false);
expect(wrapper.find(".content").exists()).toBe(false);
});

@@ -50,0 +50,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