modalist 2.3.0 → 2.3.1

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: e7039d4b85836f9719e6c8aa9aa22410651e9fd2d0e1df97cb7f8d85b124217d
4
- data.tar.gz: e97874daaa6cb397d0619ec9016fdea4abf4dacbd75d73d0e3e91258a094312d
3
+ metadata.gz: 4094f0ba852350b3264ebe344b8780029b58e115a813e4f38a85ccae948c55de
4
+ data.tar.gz: 6f7c7937340faed7729254e4fa780d6953452848fc190d736a83ea7711eb1235
5
5
  SHA512:
6
- metadata.gz: f5538a7b9008206aa668da1ffd2d124f9e169101ce9181fadc75fa19f87e91d23be5f276f3fd1f67418537bfd3cfaa2a2d74e274463a28351c5d565b4a631dd8
7
- data.tar.gz: 829242220c4e9f91e0b1de06e310b1dfeb59c68078107c11503b34f5b5e6e162bad67ef0d97595a3350e73495d7320942643fadb880bf55d259d74caa0a624ef
6
+ metadata.gz: 590bb9d7bf14d2a8408401831d22a8ba4436e650cea0627a78b4a6c6a3b6b68248ea7ba22903e2b305f83d7a254b051030b10bc7e1ff9b352a17b9c972c2a906
7
+ data.tar.gz: fc30829a06b3d41a160096ccb05701875a9293160572cd635c586fc32923ab92a57b802f1233c4fec42e1d26114339c04964d4187263fb3b801d33ed55c34ce2
data/CHANGELOG.md CHANGED
@@ -4,6 +4,11 @@
4
4
 
5
5
  * nothing yet
6
6
 
7
+ ### 2.3.1 - 2018/03/06
8
+
9
+ * bugfixes
10
+ * remove loader of `modalist/wrapper` component
11
+
7
12
  ### 2.3.0 - 2018/02/11
8
13
 
9
14
  * features
@@ -1,7 +1,4 @@
1
1
  <div class="modalist <%= options[:class] %>" id="<%= options[:id] %>">
2
- <div class="modalist--loader">
3
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24"><g transform="translate(0, 0)"><g class="nc-loop_bars-rotate-24" transform="rotate(270 12 12)"> <rect x="11" fill="#444444" width="2" height="6"></rect> <rect x="17.3639603" y="2.636039" transform="matrix(0.7071068 0.7071068 -0.7071068 0.7071068 9.3639612 -11.3345242)" fill="#444444" width="2" height="6" style="opacity: 0.4;"></rect> <rect x="18" y="11" fill="#444444" width="6" height="2" style="opacity: 0.4;"></rect> <rect x="17.3639603" y="15.3639612" transform="matrix(-0.7071068 0.7071068 -0.7071068 -0.7071068 44.3345222 18.3639603)" fill="#444444" width="2" height="6" style="opacity: 0.4;"></rect> <rect x="11" y="18" fill="#444444" width="2" height="6" style="opacity: 0.4;"></rect> <rect x="4.6360388" y="15.3639612" transform="matrix(-0.7071068 -0.7071068 0.7071068 -0.7071068 -3.363961 35.3345222)" fill="#444444" width="2" height="6" style="opacity: 0.4;"></rect> <rect x="0" y="11" fill="#444444" width="6" height="2" style="opacity: 0.5;"></rect> <rect x="4.6360388" y="2.636039" transform="matrix(0.7071068 -0.7071068 0.7071068 0.7071068 -2.3345237 5.6360388)" fill="#444444" width="2" height="6" style="opacity: 0.8;"></rect> </g> <script>!function(){function t(t){this.element=t,this.animationId,this.start=null,this.init()}if(!window.requestAnimationFrame){var i=null;window.requestAnimationFrame=function(t,n){var e=(new Date).getTime();i||(i=e);var a=Math.max(0,16-(e-i)),o=window.setTimeout(function(){t(e+a)},a);return i=e+a,o}}t.prototype.init=function(){var t=this;this.animationId=window.requestAnimationFrame(t.triggerAnimation.bind(t))},t.prototype.reset=function(){var t=this;window.cancelAnimationFrame(t.animationId)},t.prototype.triggerAnimation=function(t){var i=this;this.start||(this.start=t);var n=t-this.start;800&gt;n||(this.start=this.start+800),this.element.setAttribute("transform","rotate("+parseInt(Math.min(n/100,8))%8*45+" 12 12)");if(document.documentElement.contains(this.element))window.requestAnimationFrame(i.triggerAnimation.bind(i))};var n=document.getElementsByClassName("nc-loop_bars-rotate-24"),e=[];if(n)for(var a=0;n.length&gt;a;a++)!function(i){e.push(new t(n[i]))}(a);document.addEventListener("visibilitychange",function(){"hidden"==document.visibilityState?e.forEach(function(t){t.reset()}):e.forEach(function(t){t.init()})})}();</script></g></svg>
4
- </div>
5
2
  <div class="modalist--content">
6
3
  <%= block %>
7
4
  </div>
@@ -1,5 +1,5 @@
1
1
  module Modalist
2
2
 
3
- VERSION = '2.3.0'
3
+ VERSION = '2.3.1'
4
4
 
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: modalist
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.3.1
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-02-11 00:00:00.000000000 Z
11
+ date: 2018-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties