Socket
Socket
Sign inDemoInstall

@opentiny/vue-drawer

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentiny/vue-drawer - npm Package Compare versions

Comparing version 2.15.0 to 2.16.0

2

lib/index.js

@@ -106,3 +106,3 @@ function _extends() {

});
var version = "2.15.0";
var version = "2.16.0";
Drawer.model = {

@@ -109,0 +109,0 @@ prop: "modelValue",

@@ -122,3 +122,4 @@ import { renderless, api } from '@opentiny/vue-renderless/drawer/vue';

style: {
width: ["left", "right"].includes(_vm.placement) ? _vm.state.computedWidth : null
width: ["left", "right"].includes(_vm.placement) ? _vm.state.computedWidth : null,
height: ["top", "bottom"].includes(_vm.placement) && _vm.dragable && _vm.state.height ? _vm.state.height + "px" : null
},

@@ -130,3 +131,3 @@ attrs: {

ref: "dragBar",
class: ["h-full absolute top-0 w-2 cursor-e-resize", _vm.placement === "left" ? "-right-1" : "-left-1"],
class: ["absolute", ["left", "right"].includes(_vm.placement) && "cursor-e-resize h-full top-0 w-2", ["top", "bottom"].includes(_vm.placement) && "cursor-n-resize w-full h-2 left-0", _vm.placement === "left" && "-right-1", _vm.placement === "right" && "-left-1", _vm.placement === "top" && "-bottom-1", _vm.placement === "bottom" && "-top-1"],
attrs: {

@@ -145,3 +146,3 @@ "data-tag": "drawer-drag-bar"

return [_vm.title ? _c("div", {
staticClass: "max-w-[80%] pr-4 text-left truncate"
staticClass: "max-w-[80%] pr-4 text-left truncate text-color-text-primary"
}, [_vm._v(_vm._s(_vm.title))]) : _vm._e(), _c("div", {

@@ -151,2 +152,3 @@ staticClass: "flex-1 flex items-center justify-end"

return [_c("IconClose", {
staticClass: "fill-color-icon-primary",
attrs: {

@@ -153,0 +155,0 @@ "custom-class": "h-5 w-5 cursor-pointer"

@@ -127,2 +127,3 @@ import { renderless, api } from '@opentiny/vue-renderless/drawer/vue';

width: ["left", "right"].includes(_vm.placement) ? _vm.state.computedWidth : null,
height: ["top", "bottom"].includes(_vm.placement) && _vm.dragable && _vm.state.height ? _vm.state.height + "px" : null,
zIndex: _vm.zIndex

@@ -135,3 +136,3 @@ },

ref: "dragBar",
class: ["tiny-drawer__drag-bar"],
class: ["tiny-drawer__drag-bar", ["left", "right"].includes(_vm.placement) && "p-left-Right", ["top", "bottom"].includes(_vm.placement) && "p-top-Bottom", _vm.placement === "left" && "p-left", _vm.placement === "right" && "p-right", _vm.placement === "top" && "p-top", _vm.placement === "bottom" && "p-bottom"],
attrs: {

@@ -138,0 +139,0 @@ "data-tag": "drawer-drag-bar"

{
"name": "@opentiny/vue-drawer",
"version": "2.15.0",
"version": "2.16.0",
"description": "",

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

"dependencies": {
"@opentiny/vue-button": "~2.15.0",
"@opentiny/vue-tooltip": "~2.15.0",
"@opentiny/vue-common": "~2.15.0",
"@opentiny/vue-renderless": "~3.15.0",
"@opentiny/vue-icon": "~2.15.0",
"@opentiny/vue-theme": "~3.15.0"
"@opentiny/vue-button": "~2.16.0",
"@opentiny/vue-tooltip": "~2.16.0",
"@opentiny/vue-common": "~2.16.0",
"@opentiny/vue-renderless": "~3.16.0",
"@opentiny/vue-icon": "~2.16.0",
"@opentiny/vue-theme": "~3.16.0"
},

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

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