upjs-rails 0.12.1 → 0.12.2

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
  SHA1:
3
- metadata.gz: 9be294721beb31d8896962cd3c88cca5b6c06c72
4
- data.tar.gz: 6d6c036721685044defdd46e5a638924e4966045
3
+ metadata.gz: 6ac926c02b81da3c61c247b6657a4849b98f317e
4
+ data.tar.gz: bbd3180804f3fc221d15bbea1ed1f018807f472b
5
5
  SHA512:
6
- metadata.gz: 1c0cd5d3fb663e9c04a0e062a45f9b50ff34575f225d213e73ee2cf32450794afb27a7286a0d9a0435616ae51e0af777d8f78a61a5fdcad18493d11f6e8b0d9f
7
- data.tar.gz: dd19ad7811f063d5c57e94d482c9d771052f63c30f46bba101414fb4dc38b84d52454a66667efdfb4ac6729f3ef892d14f88fe986a0b5232010c7714bb02db57
6
+ metadata.gz: 9569a9e5ddf7f4895cb33db0cd1f2dd458259ab685e78b78d5575e20122537c9dab2eaa67677fe540801eda4a80df501344a9db9c1289ff3e28dd3ce723957ed
7
+ data.tar.gz: cec466a2165adfefbdf3f5e21a16cde88f749a6c3479376c28ef7de0d5d67eec896b571d4cdd26042612cec9ea44bf83500ed032209b7ca28093f6483998ddc7
data/CHANGELOG.md CHANGED
@@ -5,6 +5,21 @@ All notable changes to this project will be documented in this file.
5
5
  This project mostly adheres to [Semantic Versioning](http://semver.org/).
6
6
 
7
7
 
8
+ 0.12.2
9
+ ------
10
+
11
+ ### Compatible changes
12
+
13
+ - When marking links as `.up-current`, also consider the URL behind a current modal or popup to
14
+ be the "current" URL.
15
+
16
+
17
+ ### Incompatible changes
18
+
19
+ - `up.bus.emit` is now [`up.emit`](http://upjs.io/up.emit/)
20
+ - When `up.first` finds no match, return `undefined` instead of `null`.
21
+
22
+
8
23
  0.12.1
9
24
  ------
10
25
 
@@ -138,17 +153,17 @@ This project mostly adheres to [Semantic Versioning](http://semver.org/).
138
153
  ### Breaking changes
139
154
 
140
155
  - While following links and submitting forms will still reveal elements by default,
141
- direct calls of [`up.replace`](http://upjs.io/up.flow#up.replace) no longer do.
156
+ direct calls of [`up.replace`](/up.replace) no longer do.
142
157
  This behavior can be activated using the `{ reveal: true }` option.
143
158
 
144
159
  ### Compatible changes
145
160
 
146
161
  - Options to control scrolling and cache use for
147
- [`up.submit`](http://upjs.io/up.form#up.submit),
148
- [`up.follow`](http://upjs.io/up.link#up.follow),
149
- [`up.visit`](http://upjs.io/up.link#up.visit),
150
- [`form[up-target]`](http://upjs.io/up.form#form-up-target) and
151
- [`a[up-target]`](http://upjs.io/up.link#a-up-target).
162
+ [`up.submit`](/up.submit),
163
+ [`up.follow`](/up.follow),
164
+ [`up.visit`](/up.visit),
165
+ [`form[up-target]`](/form-up-target) and
166
+ [`a[up-target]`](/a-up-target).
152
167
 
153
168
 
154
169
  0.10.1
@@ -156,7 +171,7 @@ This project mostly adheres to [Semantic Versioning](http://semver.org/).
156
171
 
157
172
  ### Breaking changes
158
173
 
159
- - [`up.reveal`](http://upjs.io/up.layout#up.reveal) now only reveals the first 150 pixels of an element.
174
+ - [`up.reveal`](/up.reveal) now only reveals the first 150 pixels of an element.
160
175
 
161
176
 
162
177
  0.10.0
@@ -165,8 +180,8 @@ This project mostly adheres to [Semantic Versioning](http://semver.org/).
165
180
  ### Compatible changes
166
181
 
167
182
  - Viewport scroll positions are saved when the URL changes and restored when the user hits the back/forward button
168
- - Allow to link to the previous page using [`[up-back]`](http://upjs.io/up.history#up-back)
169
- - Allow to restore previous scroll state using [`[up-restore-scroll]`](http://upjs.io/up.link#a-up-target)
183
+ - Allow to link to the previous page using [`[up-back]`](/up-back)
184
+ - Allow to restore previous scroll state using [`[up-restore-scroll]`](/a-up-target)
170
185
  - Instead of saying `<tag up-something="true">` you can now simply say `<tag up-something>`.
171
186
  - Create this Changelog.
172
187
 
@@ -191,10 +206,10 @@ This project mostly adheres to [Semantic Versioning](http://semver.org/).
191
206
 
192
207
  ### Compatible changes
193
208
 
194
- - Elements are now being [revealed](http://upjs.io/up.layout#up.reveal) within their viewport before they are updated
209
+ - Elements are now being [revealed](/up.reveal) within their viewport before they are updated
195
210
  - Elements that are prepended or appended using `:before` or `:after` pseudo-selectors are now scrolled into view after insertion.
196
211
  - New option `up.layout.defaults('snap')` lets you define a number of pixels under which Up.js will snap to the top edge of the viewport when revealing an element
197
- - You can now make [`up.reveal`]((http://upjs.io/up.layout#up.reveal) aware of fixed navigation bars blocking the viewport by setting new options `up.layout.defaults('fixedTop')` and `up.layout.defaults('fixedBottom')`.
212
+ - You can now make [`up.reveal`](/up.reveal) aware of fixed navigation bars blocking the viewport by setting new options `up.layout.defaults('fixedTop')` and `up.layout.defaults('fixedBottom')`.
198
213
 
199
214
 
200
215
  0.8.2
@@ -202,7 +217,7 @@ This project mostly adheres to [Semantic Versioning](http://semver.org/).
202
217
 
203
218
  ### Compatible changes
204
219
 
205
- - [`up.reveal`](http://upjs.io/up.layout#up.reveal) can now reveal content in modals and containers with `overflow-y: scroll`.
220
+ - [`up.reveal`](/up.reveal) can now reveal content in modals and containers with `overflow-y: scroll`.
206
221
  - Changing the default configuration of an Up.js module now raises an error if a config key is unknown.
207
222
  - Links linking to `"#"` are now never marked as `.up-current`.
208
223