@opentiny/vue-radio
Advanced tools
Comparing version 3.12.0 to 3.13.0-alpha.0
@@ -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", |
@@ -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", |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
0
100
2
25302
3
6
591
2
+ Added@opentiny/vue-common@3.13.1(transitive)
+ Added@opentiny/vue-icon@3.13.0(transitive)
+ Added@opentiny/vue-locale@3.13.0(transitive)
+ Added@opentiny/vue-renderless@3.13.2(transitive)
+ Added@opentiny/vue-theme@3.13.3(transitive)
+ Added@opentiny/vue-theme-mobile@3.13.0(transitive)
- Removed@opentiny/vue-common@3.12.0(transitive)
- Removed@opentiny/vue-locale@3.12.0(transitive)
- Removed@opentiny/vue-renderless@3.12.1(transitive)
- Removed@opentiny/vue-theme@3.12.1(transitive)
- Removed@opentiny/vue-theme-mobile@3.12.0(transitive)