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

@opentiny/vue-renderless

Package Overview
Dependencies
Maintainers
1
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentiny/vue-renderless - npm Package Compare versions

Comparing version 3.10.2 to 3.10.3

10

common/deps/popper.js

@@ -68,3 +68,3 @@ import {

};
const isFixed = (el, offsetParent) => {
const isFixed = (el) => {
if (el === window.document.body) {

@@ -76,6 +76,3 @@ return false;

}
if (el === offsetParent) {
return false;
}
return el.parentNode ? isFixed(el.parentNode, offsetParent) : false;
return el.parentNode ? isFixed(el.parentNode) : false;
};

@@ -298,7 +295,6 @@ const getBoundingClientRect = (el) => {

Popper.prototype._getPosition = function(popper, reference) {
let offsetParent = getOffsetParent(reference);
if (this._options.forceAbsolute) {
return "absolute";
}
let isParentFixed = isFixed(reference, offsetParent);
let isParentFixed = isFixed(reference);
return isParentFixed ? "fixed" : "absolute";

@@ -305,0 +301,0 @@ };

{
"name": "@opentiny/vue-renderless",
"version": "3.10.2",
"version": "3.10.3",
"description": "An enterprise-class UI component library, support both Vue.js 2 and Vue.js 3, as well as PC and mobile.",

@@ -5,0 +5,0 @@ "homepage": "https://opentiny.design/tiny-vue",

@@ -178,14 +178,18 @@ import "../chunk-PKUHTIDK.js";

const setActiveButtonValue = ({ api, emit, props, state }) => (value) => {
let currentValue = value;
currentValue = calcCurrentValue({ currentValue, props, state });
if (!state.isDouble) {
state.leftBtnValue = currentValue;
if (Array.isArray(value)) {
;
[state.leftBtnValue, state.rightBtnValue] = value;
} else {
if (state.activeIndex === 0) {
let currentValue = calcCurrentValue({ currentValue: value, props, state });
if (!state.isDouble) {
state.leftBtnValue = currentValue;
} else {
state.rightBtnValue = currentValue;
if (state.activeIndex === 0) {
state.leftBtnValue = currentValue;
} else {
state.rightBtnValue = currentValue;
}
}
state.activeValue = currentValue;
}
state.activeValue = currentValue;
state.innerTrigger = true;

@@ -192,0 +196,0 @@ emit("update:modelValue", api.getActiveButtonValue());

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