@material/switch
Advanced tools
Comparing version 0.1.15 to 0.24.0
{ | ||
"name": "@material/switch", | ||
"description": "The Material Components for the web switch component", | ||
"version": "0.1.15", | ||
"version": "0.24.0", | ||
"license": "Apache-2.0", | ||
@@ -18,3 +18,3 @@ "keywords": [ | ||
"@material/elevation": "^0.1.13", | ||
"@material/theme": "^0.4.0" | ||
"@material/theme": "^0.24.0" | ||
}, | ||
@@ -21,0 +21,0 @@ "publishConfig": { |
@@ -62,14 +62,25 @@ <!--docs: | ||
## Classes | ||
### Classes | ||
### Block | ||
#### Block | ||
The block class is `mdc-switch`. This defines the top-level switch element. | ||
### Modifier | ||
#### Modifier | ||
The provided modifiers are: | ||
| Class | Description | | ||
| ----------------------| -------------------------------------------- | | ||
| `mdc-switch--disabled` | Applies disabled style to disabled switches. | | ||
| Class | Description | | ||
| -----------------------| -------------------------------------------- | | ||
| `mdc-switch--disabled` | Applies disabled style to disabled switches. | | ||
### Sass Mixins | ||
The following mixins apply only to _enabled_ switches in the _on_ (checked) state. | ||
It is not currently possible to customize the color of a _disabled_ or _off_ (unchecked) switch. | ||
Mixin | Description | ||
--- | --- | ||
`mdc-switch-track-color($color)` | Sets the track color | ||
`mdc-switch-knob-color($color)` | Sets the knob color | ||
`mdc-switch-focus-indicator-color($color)` | Sets the focus indicator color |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
28057
8
187
86
+ Added@material/theme@0.24.0(transitive)
- Removed@material/theme@0.4.0(transitive)
Updated@material/theme@^0.24.0