@3mo/checkbox
Advanced tools
Comparing version 0.0.9 to 0.0.10
import { Component } from '@a11d/lit'; | ||
import '@material/mwc-checkbox'; | ||
import '@3mo/theme'; | ||
/** | ||
@@ -4,0 +5,0 @@ * @element mo-checkbox |
@@ -6,2 +6,3 @@ import { __decorate } from "tslib"; | ||
import '@material/mwc-checkbox'; | ||
import '@3mo/theme'; | ||
/** | ||
@@ -62,8 +63,8 @@ * @element mo-checkbox | ||
mwc-checkbox { | ||
--mdc-theme-secondary: var(--mo-checkbox-accent-color, var(--mo-color-accent, #0077c8)); | ||
--mdc-theme-secondary: var(--mo-checkbox-accent-color, var(--mo-color-accent)); | ||
--mdc-checkbox-touch-target-size: 36px; | ||
--mdc-checkbox-ripple-size: 36px; | ||
--mdc-checkbox-disabled-color: var(--mo-checkbox-disabled-color, var(--mo-color-gray-transparent, rgba(128, 128, 128, 0.5))); | ||
--mdc-checkbox-unchecked-color: var(--mo-checkbox-unchecked-color, var(--mo-color-foreground-transparent, rgb(48, 48, 48))); | ||
--mdc-checkbox-ink-color: var(--mo-checkbox-ink-color, var(--mo-color-accessible)); | ||
--mdc-checkbox-disabled-color: var(--mo-checkbox-disabled-color, var(--mo-color-gray-transparent)); | ||
--mdc-checkbox-unchecked-color: var(--mo-checkbox-unchecked-color, var(--mo-color-foreground-transparent)); | ||
--mdc-checkbox-ink-color: var(--mo-checkbox-ink-color, var(--mo-color-on-accent)); | ||
} | ||
@@ -78,3 +79,3 @@ | ||
:host([disabled]) mwc-formfield::part(label) { | ||
color: var(--mo-checkbox-disabled-color, var(--mo-color-gray-transparent, rgba(128, 128, 128, 0.5))); | ||
color: var(--mo-checkbox-disabled-color, var(--mo-color-gray-transparent)); | ||
} | ||
@@ -81,0 +82,0 @@ `; |
{ | ||
"name": "@3mo/checkbox", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"description": "A checkbox web-component based on Material Web Components (MWC).", | ||
@@ -27,3 +27,3 @@ "repository": { | ||
"tslib": "x", | ||
"@3mo/disabled-property": "x", | ||
"@3mo/theme": "x", | ||
"@material/mwc-checkbox": "x", | ||
@@ -30,0 +30,0 @@ "@material/mwc-formfield": "x" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Floating dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
Found 1 instance in 1 package
Floating dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
Found 1 instance in 1 package
72196
164
+ Added@3mo/theme@x
+ Added@3mo/color@0.1.5(transitive)
+ Added@3mo/theme@0.2.0(transitive)
+ Added@a11d/local-storage@1.0.0(transitive)
+ Added@a11d/root-css-injector@0.0.2(transitive)
+ Added@types/color-string@1.5.5(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addedcolor-string@1.9.1(transitive)
+ Addedis-arrayish@0.3.2(transitive)
+ Addedsimple-swizzle@0.2.2(transitive)
- Removed@3mo/disabled-property@x
- Removed@3mo/disabled-property@1.1.4(transitive)