upjs-rails 0.3.3 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/dist/up.css +16 -1
- data/dist/up.js +499 -88
- data/dist/up.min.css +1 -1
- data/dist/up.min.js +2 -1
- data/lib/assets/javascripts/up/browser.js.coffee +17 -1
- data/lib/assets/javascripts/up/bus.js.coffee +6 -4
- data/lib/assets/javascripts/up/flow.js.coffee +25 -16
- data/lib/assets/javascripts/up/form.js.coffee +11 -3
- data/lib/assets/javascripts/up/history.js.coffee +3 -4
- data/lib/assets/javascripts/up/link.js.coffee +47 -17
- data/lib/assets/javascripts/up/magic.js.coffee +36 -8
- data/lib/assets/javascripts/up/modal.js.coffee +6 -8
- data/lib/assets/javascripts/up/motion.js.coffee +9 -7
- data/lib/assets/javascripts/up/navigation.js.coffee +17 -7
- data/lib/assets/javascripts/up/popup.js.coffee +2 -4
- data/lib/assets/javascripts/up/proxy.js.coffee +179 -0
- data/lib/assets/javascripts/up/tooltip.js.coffee +6 -2
- data/lib/assets/javascripts/up/util.js.coffee +92 -6
- data/lib/assets/javascripts/up.js.coffee +4 -1
- data/lib/assets/stylesheets/up/error.css.sass +15 -0
- data/lib/assets/stylesheets/up/tooltip.css.sass +1 -0
- data/lib/upjs/rails/current_location.rb +2 -1
- data/lib/upjs/rails/version.rb +1 -1
- data/spec_app/Gemfile.lock +1 -1
- data/spec_app/spec/javascripts/up/flow_spec.js.coffee +38 -9
- data/spec_app/spec/javascripts/up/form_spec.js.coffee +2 -2
- data/spec_app/spec/javascripts/up/magic_spec.js.coffee +25 -1
- data/spec_app/spec/javascripts/up/navigation_spec.js.coffee +2 -2
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8cae4091faf0c1109ce0d6bfe8fa9906f3a9fae2
|
4
|
+
data.tar.gz: 5e5048f860d5c605068949b16077ec6d11a133e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d3048321630514346fe68f7f58faa360920d0fe0732cdd218f1734ba1854fc7f4f14c5b71915a557887e7f9c29abf919d7ca26bf920f5ab0ad7594e4214dbc9
|
7
|
+
data.tar.gz: 3b59f73b8408c1027cf607669bc59d36e3e755fc2a0a03839eb1de0b262289d08751540ae780d10239e58f50b097319e9ae0006d12232fd143196f4a4f53e6a4
|
data/dist/up.css
CHANGED
@@ -1,5 +1,19 @@
|
|
1
1
|
[up-close] {
|
2
2
|
cursor: pointer; }
|
3
|
+
.up-error {
|
4
|
+
background-color: #e10;
|
5
|
+
color: white;
|
6
|
+
padding: 5px;
|
7
|
+
font-family: arial, helvetica, sans-serif;
|
8
|
+
font-weight: bold;
|
9
|
+
font-size: 14px;
|
10
|
+
line-height: 18px;
|
11
|
+
position: fixed;
|
12
|
+
left: 0;
|
13
|
+
top: 0;
|
14
|
+
max-width: 100%;
|
15
|
+
box-sizing: border-box;
|
16
|
+
z-index: 99999999; }
|
3
17
|
[up-follow] {
|
4
18
|
cursor: pointer; }
|
5
19
|
.up-modal {
|
@@ -62,7 +76,8 @@
|
|
62
76
|
position: fixed;
|
63
77
|
background-color: #666;
|
64
78
|
color: white;
|
65
|
-
padding: 6px 9px;
|
79
|
+
padding: 6px 9px;
|
80
|
+
white-space: nowrap; }
|
66
81
|
.up-tooltip[up-origin=top] {
|
67
82
|
margin-top: -6px; }
|
68
83
|
.up-tooltip[up-origin=top]:after {
|