@opentiny/vue-option
Advanced tools
Comparing version 2.5.0 to 2.6.0-alpha.0
import { renderless, api } from '@opentiny/vue-renderless/option/vue'; | ||
import { $prefix, setup } from '@opentiny/vue-common'; | ||
import { iconCheck, iconCheckedSur } from '@opentiny/vue-icon'; | ||
import '@opentiny/vue-theme/option/index.css'; | ||
@@ -176,37 +177,7 @@ var script = { | ||
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-select-dropdown{--ti-select-dropdown-item-text-color:var(--ti-base-color-info-normal);--ti-select-dropdown-item-font-size:var(--ti-common-font-size-base);--ti-select-dropdown-item-height:var(--ti-base-size-height-minor);--ti-select-dropdown-item-disabled-text-color:var(--ti-base-color-placeholder);--ti-select-dropdown-item-disabled-bg-color:var(--ti-base-color-light);--ti-select-dropdown-item-bg-color:var(--ti-base-color-light);--ti-select-dropdown-item-hover-bg-color:var(--ti-base-color-hover-background);--ti-select-dropdown-item-selected-bg-color:var(--ti-base-color-selected-background);--ti-select-dropdown-item-selected-text-color:var(--ti-base-color-selected-text-color);--ti-select-dropdown-item-icon-color:var(--ti-common-color-line-normal);--ti-select-dropdown-item-icon-font-size:var(--ti-common-font-size-2);--ti-select-dropdown-item-icon-color-selected:var(--ti-base-color-brand-6);--ti-select-dropdown-item-disabled-icon-color:var(--ti-common-color-icon-disabled)}.tiny-select-dropdown.is-multiple .tiny-select-dropdown__item.selected{color:var(--ti-select-dropdown-item-text-color);background-color:var(--ti-select-dropdown-item-bg-color)}.tiny-select-dropdown.is-multiple .tiny-select-dropdown__item.selected.is-disabled{color:var(--ti-select-dropdown-item-disabled-text-color)}.tiny-select-dropdown.is-multiple .tiny-select-dropdown__item.selected.is-disabled:hover{background-color:var(--ti-select-dropdown-item-disabled-bg-color)}.tiny-select-dropdown__item{position:relative;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ti-select-dropdown-item-text-color);font-size:var(--ti-select-dropdown-item-font-size);height:var(--ti-select-dropdown-item-height);line-height:var(--ti-select-dropdown-item-height);cursor:pointer}.tiny-select-dropdown__item.is-disabled{color:var(--ti-select-dropdown-item-disabled-text-color);cursor:not-allowed}.tiny-select-dropdown__item.is-disabled:hover{background-color:var(--ti-select-dropdown-item-disabled-bg-color)}.tiny-select-dropdown__item.hover,.tiny-select-dropdown__item:hover{background-color:var(--ti-select-dropdown-item-hover-bg-color)}.tiny-select-dropdown__item.selected{color:var(--ti-select-dropdown-item-selected-text-color);background-color:var(--ti-select-dropdown-item-selected-bg-color)}.tiny-select-dropdown__item .tiny-svg{fill:var(--ti-select-dropdown-item-icon-color);font-size:var(--ti-select-dropdown-item-icon-font-size);margin-right:8px}.tiny-select-dropdown__item .checked-sur.tiny-svg,.tiny-select-dropdown__item .halfselect.tiny-svg,.tiny-select-dropdown__item.hover .tiny-svg,.tiny-select-dropdown__item.selected .tiny-svg{fill:var(--ti-select-dropdown-item-icon-color-selected)}.tiny-select-dropdown__item.selected .tiny-svg{fill:var(--ti-select-dropdown-item-icon-color-selected)}.tiny-select-dropdown__item.memorize-highlight{color:var(--ti-select-dropdown-item-icon-color-selected)}"; | ||
styleInject(css_248z); | ||
__vue_component__.install = function (Vue) { | ||
Vue.component(__vue_component__.name, __vue_component__); | ||
}; | ||
__vue_component__.version = '2.5.0'; | ||
__vue_component__.version = '2.6.0-alpha.0'; | ||
export { __vue_component__ as default }; |
{ | ||
"name": "@opentiny/vue-option", | ||
"version": "2.5.0", | ||
"version": "2.6.0-alpha.0", | ||
"description": "", | ||
@@ -12,7 +12,7 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@opentiny/vue-renderless": "~3.5.0", | ||
"@opentiny/vue-common": "~2.5.0", | ||
"@opentiny/vue-icon": "~2.5.0", | ||
"@opentiny/vue-theme": "~3.5.0", | ||
"@opentiny/vue-theme-mobile": "~3.5.0" | ||
"@opentiny/vue-renderless": "~3.6.0-alpha.1", | ||
"@opentiny/vue-common": "~2.6.0-alpha.0", | ||
"@opentiny/vue-icon": "~2.6.0-alpha.0", | ||
"@opentiny/vue-theme": "~3.6.0-alpha.1", | ||
"@opentiny/vue-theme-mobile": "~3.6.0-alpha.1" | ||
}, | ||
@@ -19,0 +19,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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
1
6013
158
2
+ Added@opentiny/vue-common@2.6.7(transitive)
+ Added@opentiny/vue-icon@2.6.7(transitive)
+ Added@opentiny/vue-locale@2.6.7(transitive)
+ Added@opentiny/vue-renderless@3.6.8(transitive)
+ Added@opentiny/vue-theme@3.6.7(transitive)
+ Added@opentiny/vue-theme-mobile@3.6.6(transitive)
+ Added@vue/composition-api@1.2.4(transitive)
- Removed@babel/runtime@7.18.3(transitive)
- Removed@opentiny/vue-common@2.5.0(transitive)
- Removed@opentiny/vue-icon@2.5.1(transitive)
- Removed@opentiny/vue-locale@2.5.0(transitive)
- Removed@opentiny/vue-renderless@3.5.0(transitive)
- Removed@opentiny/vue-theme@3.5.0(transitive)
- Removed@opentiny/vue-theme-mobile@3.5.0(transitive)
- Removed@vue/composition-api@1.2.2(transitive)
- Removedregenerator-runtime@0.13.11(transitive)