@opentiny/vue-scrollbar
Advanced tools
Comparing version 3.1.0-alpha.0 to 3.5.0-alpha.0
@@ -7,3 +7,2 @@ import { createVNode } from 'vue'; | ||
import { renderless, api } from '@opentiny/vue-renderless/scrollbar/vue-bar'; | ||
import '@opentiny/vue-theme/scrollbar/index.css'; | ||
@@ -150,7 +149,37 @@ var script$1 = { | ||
function styleInject(css, ref) { | ||
if ( ref === void 0 ) ref = {}; | ||
var insertAt = ref.insertAt; | ||
if (!css || typeof document === 'undefined') { return; } | ||
var head = document.head || document.getElementsByTagName('head')[0]; | ||
var style = document.createElement('style'); | ||
style.type = 'text/css'; | ||
if (insertAt === 'top') { | ||
if (head.firstChild) { | ||
head.insertBefore(style, head.firstChild); | ||
} else { | ||
head.appendChild(style); | ||
} | ||
} else { | ||
head.appendChild(style); | ||
} | ||
if (style.styleSheet) { | ||
style.styleSheet.cssText = css; | ||
} else { | ||
style.appendChild(document.createTextNode(css)); | ||
} | ||
} | ||
var css_248z = ".tiny-scrollbar{overflow:hidden;position:relative}.tiny-scrollbar:active>.tiny-scrollbar__bar,.tiny-scrollbar:focus>.tiny-scrollbar__bar,.tiny-scrollbar:hover>.tiny-scrollbar__bar{opacity:1;-webkit-transition:opacity 340ms ease-out;transition:opacity 340ms ease-out}.tiny-scrollbar__wrap{overflow:scroll;height:100%;max-height:200px}.tiny-scrollbar__wrap--hidden-default::-webkit-scrollbar{width:0;height:0}.tiny-scrollbar__thumb{position:relative;display:block;width:0;height:0;cursor:pointer;border-radius:inherit;background-color:rgba(144,147,153,.3);-webkit-transition:.3s background-color;transition:.3s background-color}.tiny-scrollbar__thumb:hover{background-color:rgba(144,147,153,.5)}.tiny-scrollbar__bar{position:absolute;right:2px;bottom:2px;z-index:1;border-radius:4px;opacity:0;-webkit-transition:opacity 120ms ease-out;transition:opacity 120ms ease-out}.tiny-scrollbar__bar.is-vertical{width:6px;top:2px}.tiny-scrollbar__bar.is-vertical>div{width:100%}.tiny-scrollbar__bar.is-horizontal{height:6px;left:2px}.tiny-scrollbar__bar.is-horizontal>div{height:100%}"; | ||
styleInject(css_248z); | ||
script.install = function (Vue) { | ||
Vue.component(script.name, script); | ||
}; | ||
script.version = '3.1.0-alpha.0'; | ||
script.version = '3.5.0-alpha.0'; | ||
export { script as default }; |
{ | ||
"name": "@opentiny/vue-scrollbar", | ||
"version": "3.1.0-alpha.0", | ||
"version": "3.5.0-alpha.0", | ||
"description": "", | ||
@@ -12,10 +12,11 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@opentiny/vue-renderless": "~3.1.0-alpha.0", | ||
"@opentiny/vue-common": "~3.1.0-alpha.0", | ||
"@opentiny/vue-icon": "~3.1.0-alpha.0", | ||
"@opentiny/vue-theme": "~3.1.0-alpha.0", | ||
"@opentiny/vue-theme-mobile": "~3.1.0-alpha.0" | ||
"@opentiny/vue-renderless": "~3.5.0", | ||
"@opentiny/vue-common": "~3.5.0-alpha.0", | ||
"@opentiny/vue-icon": "~3.5.0-alpha.0", | ||
"@opentiny/vue-theme": "~3.5.0", | ||
"@opentiny/vue-theme-mobile": "~3.5.0" | ||
}, | ||
"license": "MIT", | ||
"types": "index.d.ts", | ||
"sideEffects": false | ||
} |
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
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
10518
6
302
2
80
2
+ Added@babel/runtime@7.18.3(transitive)
+ Added@opentiny/vue-common@3.5.0(transitive)
+ Added@opentiny/vue-icon@3.5.2(transitive)
+ Added@opentiny/vue-locale@3.5.0(transitive)
+ Added@opentiny/vue-renderless@3.5.0(transitive)
+ Added@opentiny/vue-theme@3.5.0(transitive)
+ Added@opentiny/vue-theme-mobile@3.5.0(transitive)
+ Addedregenerator-runtime@0.13.11(transitive)
- Removed@babel/runtime@7.26.0(transitive)
- Removed@opentiny/vue-common@3.1.0-alpha.0(transitive)
- Removed@opentiny/vue-icon@3.1.0-alpha.0(transitive)
- Removed@opentiny/vue-locale@3.1.0-alpha.0(transitive)
- Removed@opentiny/vue-renderless@3.1.0-alpha.0(transitive)
- Removed@opentiny/vue-theme@3.1.0-alpha.1(transitive)
- Removed@opentiny/vue-theme-mobile@3.1.0-alpha.0(transitive)
- Removedregenerator-runtime@0.14.1(transitive)
Updated@opentiny/vue-theme@~3.5.0