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

@opentiny/vue-option

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentiny/vue-option - npm Package Compare versions

Comparing version 2.5.0 to 2.6.0-alpha.0

33

lib/index.js
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 };

12

package.json
{
"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",

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