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

@opentiny/vue-dialog-box

Package Overview
Dependencies
Maintainers
0
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentiny/vue-dialog-box - npm Package Compare versions

Comparing version 2.16.0 to 2.17.0

22

lib/index.js
function _extends() {
_extends = Object.assign ? Object.assign.bind() : function(target) {
for (var i = 1; i < arguments.length; i++) {
var source = arguments[i];
for (var key in source) {
if (Object.prototype.hasOwnProperty.call(source, key)) {
target[key] = source[key];
}
}
return _extends = Object.assign ? Object.assign.bind() : function(n) {
for (var e = 1; e < arguments.length; e++) {
var t = arguments[e];
for (var r in t)
({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
}
return target;
};
return _extends.apply(this, arguments);
return n;
}, _extends.apply(null, arguments);
}

@@ -42,3 +38,3 @@ import { defineComponent, $prefix, $setup, $props } from "@opentiny/vue-common";

Mode: "pc",
scrollLockClass: function scrollLockClass(mode) {
SCROLL_LOCK_CLASS: function SCROLL_LOCK_CLASS(mode) {
return mode === this.Mode ? this.PC_SCROLL_LOCK_CLASS : this.MOBILE_SCROLL_LOCK_CLASS;

@@ -202,3 +198,3 @@ }

});
var version = "2.16.0";
var version = "2.17.0";
DialogBox.install = function(Vue) {

@@ -205,0 +201,0 @@ Vue.component(DialogBox.name, DialogBox);

@@ -193,4 +193,3 @@ import { renderless, api } from '@opentiny/vue-renderless/dialog-box/vue';

staticClass: "text-left pt-0 pr-6 pb-0 pl-6 mb-3 mt-3 text-color-text-primary leading-5.5 text-sm overflow-auto",
class: [_vm.state.isFull ? "max-h-[calc(100vh-theme(spacing.28))]" : "max-h-[65vh]", _vm.rightSlide ? "max-h-[none] flex-auto" : ""],
style: _vm.state.bodyStyle,
class: [_vm.rightSlide || _vm.state.isFull ? "max-h-[none] flex-auto" : "max-h-[65vh]"],
attrs: {

@@ -224,2 +223,3 @@ "data-tag": "tiny-dialog-box__body"

return [_c("div", {
key: name,
class: {

@@ -226,0 +226,0 @@ "flex w-full justify-between px-4 [&_[data-tag=tiny-button]]:flex-grow [&_[data-tag=tiny-button]:nth-child(2)]:ml-2": name === "footer",

@@ -151,2 +151,3 @@ import { renderless, api } from '@opentiny/vue-renderless/dialog-box/vue';

}, [_vm.showHeader ? _c("div", {
ref: "header",
staticClass: "tiny-dialog-box__header",

@@ -203,5 +204,5 @@ on: {

})], 1) : _vm._e()], 2) : _vm._e(), _c("div", {
staticClass: "tiny-dialog-box__body",
style: _vm.state.bodyStyle
staticClass: "tiny-dialog-box__body"
}, [_vm._t("default")], 2), _vm.slots.footer ? _c("div", {
ref: "footer",
staticClass: "tiny-dialog-box__footer"

@@ -208,0 +209,0 @@ }, [_vm._t("footer", null, {

{
"name": "@opentiny/vue-dialog-box",
"version": "2.16.0",
"version": "2.17.0",
"description": "",

@@ -10,8 +10,8 @@ "main": "./lib/index.js",

"dependencies": {
"@opentiny/vue-common": "~2.16.0",
"@opentiny/vue-icon": "~2.16.0",
"@opentiny/vue-action-sheet": "~2.16.0",
"@opentiny/vue-renderless": "~3.16.0",
"@opentiny/vue-theme-mobile": "~3.16.0",
"@opentiny/vue-theme": "~3.16.0"
"@opentiny/vue-common": "~2.17.0",
"@opentiny/vue-icon": "~2.17.0",
"@opentiny/vue-action-sheet": "~2.17.0",
"@opentiny/vue-renderless": "~3.17.0",
"@opentiny/vue-theme-mobile": "~3.17.0",
"@opentiny/vue-theme": "~3.17.0"
},

@@ -18,0 +18,0 @@ "license": "MIT",

@@ -21,3 +21,3 @@ /**

Mode: string;
scrollLockClass(mode: any): string;
SCROLL_LOCK_CLASS(mode: any): string;
};

@@ -36,3 +36,3 @@ export declare const dialogBoxProps: {

Mode: string;
scrollLockClass(mode: any): string;
SCROLL_LOCK_CLASS(mode: any): string;
};

@@ -39,0 +39,0 @@ };

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