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

@opentiny/vue-checkbox

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-checkbox - npm Package Compare versions

Comparing version 2.12.0 to 2.13.0

13

lib/index.js

@@ -20,9 +20,11 @@ function _extends() {

var template = function template2(mode) {
if ("pc" === (process.env.TINY_MODE || mode)) {
var _process$env;
var tinyMode = typeof process === "object" ? (_process$env = process.env) == null ? void 0 : _process$env.TINY_MODE : null;
if ("pc" === (tinyMode || mode)) {
return PcTemplate;
}
if ("mobile" === (process.env.TINY_MODE || mode)) {
if ("mobile" === (tinyMode || mode)) {
return MobileTemplate;
}
if ("mobile-first" === (process.env.TINY_MODE || mode)) {
if ("mobile-first" === (tinyMode || mode)) {
return MobileFirstTemplate;

@@ -86,3 +88,4 @@ }

default: false
}
},
iconPosition: String
});

@@ -100,3 +103,3 @@ var Checkbox = defineComponent({

});
var version = "2.12.0";
var version = "2.13.0";
Checkbox.model = {

@@ -103,0 +106,0 @@ prop: "modelValue",

@@ -60,3 +60,3 @@ import { renderless, api } from "@opentiny/vue-renderless/checkbox/vue";

inheritAttrs: false,
props: [].concat(props, ["modelValue", "text", "events", "label", "indeterminate", "disabled", "checked", "name", "trueLabel", "falseLabel", "id"]),
props: [].concat(props, ["modelValue", "text", "events", "label", "indeterminate", "disabled", "checked", "name", "trueLabel", "falseLabel", "id", "iconPosition"]),
setup: function setup(props2, context) {

@@ -81,3 +81,4 @@ return _setup({

"is-indeterminate": _vm.indeterminate,
"is-focus": _vm.state.focus
"is-focus": _vm.state.focus,
"icon-position-top": _vm.state.iconPosition === "top"
},

@@ -84,0 +85,0 @@ attrs: {

{
"name": "@opentiny/vue-checkbox",
"version": "2.12.0",
"version": "2.13.0",
"description": "",

@@ -10,4 +10,4 @@ "main": "./lib/index.js",

"dependencies": {
"@opentiny/vue-common": "~2.12.0",
"@opentiny/vue-renderless": "~3.12.0"
"@opentiny/vue-common": "~2.13.0",
"@opentiny/vue-renderless": "~3.13.0"
},

@@ -14,0 +14,0 @@ "license": "MIT",

@@ -0,1 +1,3 @@

import type { PropType } from '@opentiny/vue-common';
export type IconPosition = 'center' | 'top';
export declare const $constants: {

@@ -51,2 +53,3 @@ FORM_ITEM: string;

};
iconPosition: PropType<IconPosition>;
tiny_mode: StringConstructor;

@@ -53,0 +56,0 @@ tiny_mode_root: BooleanConstructor;

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