orange-rails 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Gemfile.lock +1 -1
- data/lib/orange/rails/version.rb +1 -1
- data/vendor/assets/javascripts/orange.js +2 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: acd26360aa52d76f528bb90417a90aa7c00067ba79038940ace9ffbd8c9ccbf9
|
4
|
+
data.tar.gz: 4665ebd80a4a8c3875e6cbf85843520c88626e885b0b5048c0b49fea61f03efb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6dcbc2a8e2014f0695f68e839499c8df29b5a78a9d9a835a04cf5f42383e79513fd8f3c50749a073ed194899223c7b1967d6c497891fc8cd621ef3df79674ab1
|
7
|
+
data.tar.gz: 7345fe3b737e2a77cda74490ea893c5f4e3ea2f6a6bd691d9f3bd3d5610a43a530c48ce83d5fc1e68966563f0fdb0838b997368348dd538ae367e6e2e1346d84
|
data/Gemfile.lock
CHANGED
data/lib/orange/rails/version.rb
CHANGED
@@ -1 +1,2 @@
|
|
1
|
-
Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){var t=this;do{if(t.matches(e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null}),
|
1
|
+
!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist",n(n.s=0)}([function(e,t,n){n(1),e.exports=n(7)},function(e,t,n){"use strict";n.r(t);n(2),n(3),n(4),n(5),n(6)},function(e,t){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){var t=this;do{if(t.matches(e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null})},function(e,t){!function(){const e="is-full",t="is-open",n="div.form-dropdown",o=".form-dropdown__input",r=".form-dropdown__menu li",l=".form-dropdown__text",s=document.querySelectorAll(n);function c(e){let o=e.target.closest(n);o.classList.contains(t)?o.classList.remove(t):o.classList.add(t)}function i(r){r.stopPropagation();var s=r.target,c=s.innerText,i=s.closest(n);i.querySelector(o).value=c,i.querySelector(l).innerText=c,i.classList.add(e),i.classList.remove(t)}s.length&&function(){for(let t=0;t<s.length;t++){let n=s[t],u=n.querySelector(o).value;"string"==typeof u&&""!==u&&(n.querySelector(l).innerText=u,n.classList.add(e)),n.addEventListener("click",c,!1);let a=n.querySelectorAll(r);for(let e=0;e<a.length;e++){a[e].addEventListener("click",i,!1)}}document.querySelector("body").addEventListener("click",function(e){e.target.closest(n)||(e.stopPropagation(),function(){for(var e=0;e<s.length;e++){s[e].classList.remove(t)}}())})}()}()},function(e,t){!function(){const e="On",t="Off",n="data-enabled",o="data-disabled",r="is-checked",l=".toggle",s="input[type='checkbox']",c=".toggle__value",i=document.querySelectorAll(l);function u(e){const t=e.target,n=t.closest(l);a(t,n.querySelector(c))}function a(s,c){let i=s.closest(l);if(s.checked){if(c){let t=c.getAttribute(n)||e;c.innerText=t}i.classList.add(r)}else{if(c){let e=c.getAttribute(o)||t;c.innerText=e}i.classList.remove(r)}}i.length&&function(){for(let e=0;i.length>e;e++){let t=i[e],n=t.querySelector(s);a(n,t.querySelector(c)),n.addEventListener("change",u,!1)}}(),document.addEventListener("click",function(e){e.target.classList.contains("toggle__input")&&u(e)})}()},function(e,t){!function(){const e="is-full",t=document.querySelectorAll(".form.form--large input.form__input");function n(t){let n=t.target,o=""!==n.value&&null!==n.value;o?n.classList.add(e):n.classList.remove(e),"focusin"===t.type&&n.classList.add(e),"focusout"!==t.type||o||n.classList.remove(e)}t.length&&function(){for(var o=0;o<t.length;o++){let r=t[o];"string"==typeof r.value&&""!==r.value&&r.classList.add(e),r.addEventListener("focusin",n,!1),r.addEventListener("focusout",n,!1)}}()}()},function(e,t){!function(){const e="is-full",t="data-auto-expand",n=document.querySelectorAll(".form textarea.form__textarea");function o(t){let n=t.target,o=""!==n.value&&null!==n.value;o?n.classList.add(e):n.classList.remove(e),"focusin"===t.type&&n.classList.add(e),"focusout"!==t.type||o||n.classList.remove(e)}function r(e){let t=e.target;t.value?(t.style.height="0px",t.style.height=t.scrollHeight+"px"):t.style.height=""}n.length&&function(){for(let l=0;l<n.length;l++){let s=n[l];"string"==typeof s.value&&""!==s.value&&s.classList.add(e),s.addEventListener("focusin",o,!1),s.addEventListener("focusout",o,!1),s.hasAttribute(t)&&s.addEventListener("input",r,!1)}}()}()},function(e,t,n){}]);
|
2
|
+
//# sourceMappingURL=orange.min.js.map
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: orange-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Kulp
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-08-
|
11
|
+
date: 2019-08-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -116,8 +116,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
116
116
|
- !ruby/object:Gem::Version
|
117
117
|
version: '0'
|
118
118
|
requirements: []
|
119
|
-
|
120
|
-
rubygems_version: 2.6.14.1
|
119
|
+
rubygems_version: 3.0.1
|
121
120
|
signing_key:
|
122
121
|
specification_version: 4
|
123
122
|
summary: Rails helper for Orange UI.
|