material-components-web 2.0.2 → 2.0.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d32a229ac0fd458f42503ece88e74dccb6b968ffd4e3a99047f8982244e87645
|
4
|
+
data.tar.gz: 5ef03e4d6ff2cf0d0aa1c9f223256332858e26495be146b92c2a9259f58f0e5a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 659aa76b325ca22539fd2500574d03164d2634bc9583e5a6c9160273fa1935a215563956d274ed8323b61a3c889ee067e14512250821e54576836500128aef2a
|
7
|
+
data.tar.gz: af885c1f22bc7feb7b670050d56d8a234879794f7bc0f2441d5b505de5e26f50a36190eab0111155db580096d76a4d8c5742468434c7d23f2a712f802271fed8
|
data/CHANGELOG.md
CHANGED
@@ -1,8 +1,10 @@
|
|
1
1
|
<div class="mdc-checkbox<%= ' mdc-checkbox--disabled' if options[:disabled] %>">
|
2
2
|
<input value="0" type="hidden" name="<%= options[:class_name] ? options[:class_name].to_s + '[' + options[:attribute].to_s + ']' : options[:attribute].to_s %>" />
|
3
|
-
<input
|
3
|
+
<input type="checkbox" class="mdc-checkbox__native-control"<%= ' checked="true"' if options[:checked] %> value="1" name="<%= options[:class_name] ? options[:class_name].to_s + '[' + options[:attribute].to_s + ']' : options[:attribute].to_s %>" id="<%= options[:class_name] ? options[:class_name].to_s + '_' + options[:attribute].to_s : options[:attribute].to_s %>" />
|
4
4
|
<div class="mdc-checkbox__background">
|
5
|
-
<svg class=
|
5
|
+
<svg class="mdc-checkbox__checkmark" viewBox="0 0 24 24">
|
6
|
+
<path class="mdc-checkbox__checkmark__path" fill="none" stroke="white" d="M1.73,12.91 8.1,19.28 22.79,4.59"/>
|
7
|
+
</svg>
|
6
8
|
<div class="mdc-checkbox__mixedmark"></div>
|
7
9
|
</div>
|
8
10
|
</div>
|
@@ -3,7 +3,7 @@ require 'rails/railtie'
|
|
3
3
|
module MaterialComponentsWeb
|
4
4
|
class Railtie < Rails::Railtie
|
5
5
|
|
6
|
-
|
6
|
+
initializer 'material-components-web.mozaic' do
|
7
7
|
Mozaic.configure do |config|
|
8
8
|
config.define_component 'mdc-checkbox', class_name: false, label: false, checked: false, disabled: false
|
9
9
|
config.define_component 'mdc-form-field'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: material-components-web
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonas Hübotter
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-01-
|
11
|
+
date: 2018-01-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|