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

@opentiny/vue-radio

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentiny/vue-radio - npm Package Compare versions

Comparing version 3.12.0 to 3.13.0-alpha.0

10

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;

@@ -78,3 +80,3 @@ }

});
var version = "3.12.0";
var version = "3.13.0-alpha.0";
Radio.model = {

@@ -81,0 +83,0 @@ prop: "modelValue",

8

lib/mobile-first.js

@@ -51,4 +51,4 @@ import { renderless, api } from "@opentiny/vue-renderless/radio/vue";

var classes = {
"radio-default": "radio inline-flex items-center align-middle leading-4 cursor-pointer sm:flex-row py-px sm:py-0 sm:h-fit h-11",
"radio-label-common": "relative text-center w-11 h-11",
"radio-default": "radio inline-flex items-center align-middle leading-4 cursor-pointer sm:flex-row py-px sm:py-0 h-fit",
"radio-label-common": "relative text-center w-7 h-7 mr-2 sm:mr-0",
"radio-label-size-common": "sm:w-4 sm:h-4",

@@ -87,6 +87,6 @@ "radio-label-size-medium": "sm:w-6 sm:h-6",

"readonly-is-not-checked": "sm:hidden",
"not-readonly-common": "sm:mr-5 sm:[&:last-child]:mr-0",
"not-readonly-common": "mr-5 sm:[&:last-child]:mr-0",
"hidden-radio": "sm:hidden",
"not-readly-common-label": "sm:py-0 sm:pl-2 -ml-0.5 sm:ml-0",
"readonly-checked-label": "sm:pl-0",
"readonly-checked-label": "sm:pl-0 text-color-text-primary",
"verticalStyle": "sm:mb-2 sm:[&:last-child]:mb-0 sm:mr-0"

@@ -93,0 +93,0 @@ };

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

}, ["stop", "prevent"]), ["space"]))
}, _ctx.a(_ctx.$attrs, ["class", "style", "onClick"], true)), [createElementVNode(
}, _ctx.a(_ctx.$attrs, ["class", "style"], true)), [createElementVNode(
"span",

@@ -89,0 +89,0 @@ {

{
"name": "@opentiny/vue-radio",
"version": "3.12.0",
"version": "3.13.0-alpha.0",
"description": "",

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

"dependencies": {
"@opentiny/vue-common": "~3.12.0",
"@opentiny/vue-renderless": "~3.12.0"
"@opentiny/vue-common": "~3.13.0-alpha.0",
"@opentiny/vue-renderless": "~3.13.0-alpha.0",
"@opentiny/vue-icon": "~3.13.0-alpha.0"
},

@@ -14,0 +15,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