@opentiny/vue-drawer
Advanced tools
Comparing version 2.15.0 to 2.16.0
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20388
622
+ Added@opentiny/vue-button@2.16.0(transitive)
+ Added@opentiny/vue-common@2.16.0(transitive)
+ Added@opentiny/vue-icon@2.16.0(transitive)
+ Added@opentiny/vue-locale@2.16.0(transitive)
+ Added@opentiny/vue-renderless@3.16.2(transitive)
+ Added@opentiny/vue-theme@3.16.4(transitive)
+ Added@opentiny/vue-theme-mobile@3.16.0(transitive)
+ Added@opentiny/vue-tooltip@2.16.0(transitive)
- Removed@opentiny/vue-button@2.15.0(transitive)
- Removed@opentiny/vue-common@2.15.0(transitive)
- Removed@opentiny/vue-icon@2.15.0(transitive)
- Removed@opentiny/vue-locale@2.15.0(transitive)
- Removed@opentiny/vue-renderless@3.15.1(transitive)
- Removed@opentiny/vue-theme@3.15.1(transitive)
- Removed@opentiny/vue-theme-mobile@3.15.0(transitive)
- Removed@opentiny/vue-tooltip@2.15.0(transitive)
Updated@opentiny/vue-button@~2.16.0
Updated@opentiny/vue-common@~2.16.0
Updated@opentiny/vue-icon@~2.16.0
Updated@opentiny/vue-theme@~3.16.0