@opentiny/vue-button
Advanced tools
Comparing version 2.14.0 to 2.15.0
@@ -101,3 +101,3 @@ function _extends() { | ||
}); | ||
var version = "2.14.0"; | ||
var version = "2.15.0"; | ||
Button.install = function(Vue) { | ||
@@ -104,0 +104,0 @@ Vue.component(Button.name, Button); |
@@ -1,4 +0,5 @@ | ||
import { renderless, api } from "@opentiny/vue-renderless/button/vue"; | ||
import { defineComponent, props, setup as _setup } from "@opentiny/vue-common"; | ||
import { iconLoading } from "@opentiny/vue-icon"; | ||
import { renderless, api } from '@opentiny/vue-renderless/button/vue'; | ||
import { defineComponent, props, setup } from '@opentiny/vue-common'; | ||
import { iconLoading } from '@opentiny/vue-icon'; | ||
function normalizeComponent(scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier, shadowMode) { | ||
@@ -111,4 +112,4 @@ var options = typeof scriptExports === "function" ? scriptExports.options : scriptExports; | ||
}, | ||
setup: function setup(props2, context) { | ||
return _setup({ | ||
setup: function setup$1(props2, context) { | ||
return setup({ | ||
props: props2, | ||
@@ -142,3 +143,3 @@ context, | ||
} | ||
}, "button", _vm.a(_vm.$attrs, ["class", "style"], true), false), [_vm.loading ? _c("icon-loading", { | ||
}, "button", _vm.a(_vm.$attrs, ["class", "style", "id"], true), false), [_vm.loading ? _c("icon-loading", { | ||
class: _vm.gcls("loading-svg") | ||
@@ -163,4 +164,3 @@ }) : _vm._e(), _vm.icon && !_vm.loading ? _c(_vm.icon, { | ||
}(); | ||
export { | ||
mobileFirst as default | ||
}; | ||
export { mobileFirst as default }; |
@@ -1,4 +0,5 @@ | ||
import { renderless, api } from "@opentiny/vue-renderless/button/vue"; | ||
import { defineComponent, props, setup as _setup } from "@opentiny/vue-common"; | ||
import "@opentiny/vue-theme-mobile/button/index.css"; | ||
import { renderless, api } from '@opentiny/vue-renderless/button/vue'; | ||
import { defineComponent, props, setup } from '@opentiny/vue-common'; | ||
import '@opentiny/vue-theme-mobile/button/index.css'; | ||
function normalizeComponent(scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier, shadowMode) { | ||
@@ -62,4 +63,4 @@ var options = typeof scriptExports === "function" ? scriptExports.options : scriptExports; | ||
components: {}, | ||
setup: function setup(props2, context) { | ||
return _setup({ | ||
setup: function setup$1(props2, context) { | ||
return setup({ | ||
props: props2, | ||
@@ -115,4 +116,3 @@ context, | ||
}(); | ||
export { | ||
mobile as default | ||
}; | ||
export { mobile as default }; |
@@ -1,5 +0,6 @@ | ||
import { renderless, api } from "@opentiny/vue-renderless/button/vue"; | ||
import { defineComponent, props, setup as _setup } from "@opentiny/vue-common"; | ||
import { iconLoading } from "@opentiny/vue-icon"; | ||
import "@opentiny/vue-theme/button/index.css"; | ||
import { renderless, api } from '@opentiny/vue-renderless/button/vue'; | ||
import { defineComponent, props, setup } from '@opentiny/vue-common'; | ||
import { iconLoading } from '@opentiny/vue-icon'; | ||
import '@opentiny/vue-theme/button/index.css'; | ||
function normalizeComponent(scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier, shadowMode) { | ||
@@ -65,4 +66,4 @@ var options = typeof scriptExports === "function" ? scriptExports.options : scriptExports; | ||
}, | ||
setup: function setup(props2, context) { | ||
return _setup({ | ||
setup: function setup$1(props2, context) { | ||
return setup({ | ||
props: props2, | ||
@@ -100,3 +101,3 @@ context, | ||
} | ||
}, "button", _vm.a(_vm.$attrs, ["class", "style"], true), false), [_vm.loading ? _c("icon-loading", { | ||
}, "button", _vm.a(_vm.$attrs, ["class", "style", "title", "id"], true), false), [_vm.loading ? _c("icon-loading", { | ||
staticClass: "tiny-icon-loading tiny-svg-size" | ||
@@ -123,4 +124,3 @@ }) : _vm._e(), _vm.icon && !_vm.loading ? _c(_vm.icon, { | ||
}(); | ||
export { | ||
pc as default | ||
}; | ||
export { pc as default }; |
{ | ||
"name": "@opentiny/vue-button", | ||
"version": "2.14.0", | ||
"version": "2.15.0", | ||
"description": "", | ||
@@ -10,7 +10,7 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@opentiny/vue-common": "~2.14.0", | ||
"@opentiny/vue-icon": "~2.14.0", | ||
"@opentiny/vue-renderless": "~3.14.0", | ||
"@opentiny/vue-theme-mobile": "~3.14.0", | ||
"@opentiny/vue-theme": "~3.14.0" | ||
"@opentiny/vue-common": "~2.15.0", | ||
"@opentiny/vue-icon": "~2.15.0", | ||
"@opentiny/vue-renderless": "~3.15.0", | ||
"@opentiny/vue-theme-mobile": "~3.15.0", | ||
"@opentiny/vue-theme": "~3.15.0" | ||
}, | ||
@@ -17,0 +17,0 @@ "license": "MIT", |
@@ -11,3 +11,3 @@ export declare const buttonProps: { | ||
icon: { | ||
type: (ObjectConstructor | StringConstructor)[]; | ||
type: (StringConstructor | ObjectConstructor)[]; | ||
default: string; | ||
@@ -14,0 +14,0 @@ }; |
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
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
25813
12
628
+ Added@opentiny/vue-common@2.15.0(transitive)
+ Added@opentiny/vue-icon@2.15.0(transitive)
+ Added@opentiny/vue-locale@2.15.0(transitive)
+ Added@opentiny/vue-renderless@3.15.1(transitive)
+ Added@opentiny/vue-theme@3.15.1(transitive)
+ Added@opentiny/vue-theme-mobile@3.15.0(transitive)
- Removed@opentiny/vue-common@2.14.0(transitive)
- Removed@opentiny/vue-icon@2.14.0(transitive)
- Removed@opentiny/vue-locale@2.14.0(transitive)
- Removed@opentiny/vue-renderless@3.14.1(transitive)
- Removed@opentiny/vue-theme@3.14.1(transitive)
- Removed@opentiny/vue-theme-mobile@3.14.2(transitive)
Updated@opentiny/vue-common@~2.15.0
Updated@opentiny/vue-icon@~2.15.0
Updated@opentiny/vue-theme@~3.15.0