@maas/vue-equipment 1.0.0-beta.70 → 1.0.0-beta.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/nuxt/module.json
CHANGED
|
@@ -97,7 +97,7 @@ export function useTrayDrag(args) {
|
|
|
97
97
|
const right = Math.max(0, state.dragged.right + state.magnetic.right);
|
|
98
98
|
const bottom = Math.max(0, state.dragged.bottom + state.magnetic.bottom);
|
|
99
99
|
const left = Math.max(0, state.dragged.left + state.magnetic.left);
|
|
100
|
-
return `inset(${top}px ${right}px ${bottom}px ${left}px round var(--magic-tray-radius, 0px))`;
|
|
100
|
+
return `inset(var(--magic-tray-clip-top, ${top}px) var(--magic-tray-clip-right, ${right}px) var(--magic-tray-clip-bottom, ${bottom}px) var(--magic-tray-clip-left, ${left}px) round var(--magic-tray-radius-top-left, var(--magic-tray-radius, 0px)) var(--magic-tray-radius-top-right, var(--magic-tray-radius, 0px)) var(--magic-tray-radius-bottom-right, var(--magic-tray-radius, 0px)) var(--magic-tray-radius-bottom-left, var(--magic-tray-radius, 0px)))`;
|
|
101
101
|
});
|
|
102
102
|
function handleStyle(side) {
|
|
103
103
|
const rest = `${state.dragged[side]}px`;
|