zumly 0.9.9 → 0.9.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -8
- package/dist/zumly.css +1 -1
- package/dist/zumly.min.css +1 -1
- package/dist/zumly.min.mjs +1 -1
- package/dist/zumly.mjs +1 -1
- package/dist/zumly.umd.js +1 -1
- package/package.json +1 -1
- package/CHANGELOG.md +0 -234
package/README.md
CHANGED
|
@@ -48,7 +48,7 @@ Download Zumly files from [unpkg.com](https://unpkg.com/zumly/). Files are in `d
|
|
|
48
48
|
|
|
49
49
|
<link rel="stylesheet" href="zumly/dist/zumly.css">
|
|
50
50
|
|
|
51
|
-
<!-- Or "https://unpkg.com/zumly@0.9.9/zumly.css" -->
|
|
51
|
+
<!-- Or "https://unpkg.com/zumly@0.9.9/dist/zumly.css" -->
|
|
52
52
|
|
|
53
53
|
```
|
|
54
54
|
|
|
@@ -57,8 +57,8 @@ Download Zumly files from [unpkg.com](https://unpkg.com/zumly/). Files are in `d
|
|
|
57
57
|
<script type="module">
|
|
58
58
|
import Zumly from "zumly/dist/zumly.mjs"
|
|
59
59
|
|
|
60
|
-
// Or "https://unpkg.com/zumly@0.9.9/zumly.mjs"
|
|
61
|
-
|
|
60
|
+
// Or "https://unpkg.com/zumly@0.9.9/dist/zumly.mjs"
|
|
61
|
+
</script>
|
|
62
62
|
```
|
|
63
63
|
|
|
64
64
|
### UMD modules
|
|
@@ -68,14 +68,14 @@ Download Zumly files from [unpkg.com](https://unpkg.com/zumly/). Files are in `d
|
|
|
68
68
|
|
|
69
69
|
<link rel="stylesheet" href="zumly/dist/zumly.css">
|
|
70
70
|
|
|
71
|
-
<!-- Or "https://unpkg.com/zumly@0.9.9/zumly.css" -->
|
|
71
|
+
<!-- Or "https://unpkg.com/zumly@0.9.9/dist/zumly.css" -->
|
|
72
72
|
|
|
73
73
|
```
|
|
74
74
|
|
|
75
75
|
2. Add Zumly as UMD module:
|
|
76
76
|
```html
|
|
77
77
|
|
|
78
|
-
<script src="zumly/dist/zumly.umd.js"
|
|
78
|
+
<script src="zumly/dist/zumly.umd.js"></script>
|
|
79
79
|
|
|
80
80
|
// Or "https://unpkg.com/zumly"
|
|
81
81
|
|
|
@@ -97,9 +97,10 @@ Download Zumly files from [unpkg.com](https://unpkg.com/zumly/). Files are in `d
|
|
|
97
97
|
```js
|
|
98
98
|
// Some views
|
|
99
99
|
const hello = `
|
|
100
|
-
<
|
|
100
|
+
<div class="z-view">
|
|
101
101
|
H E L L O <br>
|
|
102
102
|
W <span class="zoom-me" data-to="world">O</span> R L D!
|
|
103
|
+
</div>
|
|
103
104
|
`;
|
|
104
105
|
|
|
105
106
|
const world = `
|
|
@@ -142,7 +143,7 @@ const app = new Zumly({
|
|
|
142
143
|
},
|
|
143
144
|
// Customize transitions. Object. Optional
|
|
144
145
|
transitions: {
|
|
145
|
-
// Effects for background views. Array. ['blur', 'sepia', '
|
|
146
|
+
// Effects for background views. Array. ['blur', 'sepia', 'saturate']
|
|
146
147
|
effects: ['sepia'],
|
|
147
148
|
// How new injected view is adapted. String. Default 'width'
|
|
148
149
|
cover: 'height',
|
|
@@ -241,7 +242,9 @@ Zumly is on early stages of development.
|
|
|
241
242
|
- Allow different template engines. Currently Zumly only accepts string literal templates.
|
|
242
243
|
- Add lateral navigation for same zoom level elements.
|
|
243
244
|
- Add a navegation widget.
|
|
244
|
-
- Add programmatic
|
|
245
|
+
- Add programmatic navigation.
|
|
246
|
+
- Add preseted navigation.
|
|
247
|
+
- Add router. [#3](https://github.com/zumly/zumly/issues/3)
|
|
245
248
|
- Allow recalculate zoom position on resize events.
|
|
246
249
|
|
|
247
250
|
|
package/dist/zumly.css
CHANGED
package/dist/zumly.min.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* zumly v0.9.
|
|
2
|
+
* zumly v0.9.9
|
|
3
3
|
* Author Juan Martín Muda, @license MIT
|
|
4
4
|
* https://zumly.org
|
|
5
5
|
*/.zumly-canvas{position:absolute;width:100%;height:100%;overflow:hidden;margin:0;padding:0;perspective:1000px;cursor:zoom-out}.zumly-canvas:focus{outline:none}.z-view{position:absolute}.z-view.is-current-view{cursor:default}.z-view.has-no-events,.z-view.is-last-view,.z-view.is-previous-view{pointer-events:none;user-select:none}.z-view.performance{will-change:transform,opacity,filter}.z-view.hide{opacity:0}.zoom-me{cursor:zoom-in}
|
package/dist/zumly.min.mjs
CHANGED
package/dist/zumly.mjs
CHANGED
package/dist/zumly.umd.js
CHANGED
package/package.json
CHANGED
package/CHANGELOG.md
DELETED
|
@@ -1,234 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
|
-
|
|
5
|
-
### [0.9.9](https://github.com/zumly/zumly/compare/v0.9.8...v0.9.9) (2020-07-20)
|
|
6
|
-
|
|
7
|
-
### [0.9.8](https://github.com/zumly/zumly/compare/v0.9.7...v0.9.8) (2020-07-20)
|
|
8
|
-
|
|
9
|
-
### [0.9.7](https://github.com/zumly/zumly/compare/v0.9.6...v0.9.7) (2020-07-17)
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
### Bug Fixes
|
|
13
|
-
|
|
14
|
-
* 🐛 disable transform string to loweCase ([df92e42](https://github.com/zumly/zumly/commit/df92e42e9a9d8819bc8140fbc02de7b72c04bda7))
|
|
15
|
-
|
|
16
|
-
### [0.9.6](https://github.com/zumly/zumly/compare/v0.9.5...v0.9.6) (2020-07-14)
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
### Bug Fixes
|
|
20
|
-
|
|
21
|
-
* 🐛 validate() ([308ea9a](https://github.com/zumly/zumly/commit/308ea9a0489a6e99886dc94e1d7289a728bf9d99))
|
|
22
|
-
|
|
23
|
-
## [0.9.5](https://github.com/zumly/zumly/compare/v0.9.4...v0.9.5) (2020-07-13)
|
|
24
|
-
|
|
25
|
-
## [0.9.4](https://github.com/zumly/zumly/compare/v0.9.3...v0.9.4) (2020-07-13)
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
## [0.9.3](https://github.com/zumly/zumly/compare/v0.9.2...v0.9.3) (2020-07-13)
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
## [0.9.2](https://github.com/zumly/zumly/compare/v0.9.1...v0.9.2) (2020-07-11)
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
### Bug Fixes
|
|
37
|
-
|
|
38
|
-
* 🐛 gestures, render function, validator. Add new demo also ([88b308f](https://github.com/zumly/zumly/commit/88b308f))
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
## [0.9.1](https://github.com/zumly/zumly/compare/v0.9.0...v0.9.1) (2020-06-27)
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
### Bug Fixes
|
|
46
|
-
|
|
47
|
-
* 🐛 touchs events on mobile ([8b8da5b](https://github.com/zumly/zumly/commit/8b8da5b))
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
# [0.9.0](https://github.com/zumly/zumly/compare/v0.8.0...v0.9.0) (2020-06-27)
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
### Features
|
|
55
|
-
|
|
56
|
-
* 🎸 add user parameters validation and setting ([f7ebee1](https://github.com/zumly/zumly/commit/f7ebee1))
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
# [0.8.0](https://github.com/zumly/zumly/compare/v0.7.1...v0.8.0) (2020-06-25)
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
### Features
|
|
64
|
-
|
|
65
|
-
* 🎸 Add notifications & tracing events ([35d074d](https://github.com/zumly/zumly/commit/35d074d))
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
## [0.7.1](https://github.com/zumly/zumly/compare/v0.7.0...v0.7.1) (2020-06-24)
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
# [0.7.0](https://github.com/zumly/zumly/compare/v0.6.0...v0.7.0) (2020-06-23)
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
### Features
|
|
77
|
-
|
|
78
|
-
* 🎸 Major update ([6f5c81b](https://github.com/zumly/zumly/commit/6f5c81b))
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
# [0.6.0](https://github.com/zumly/zumly/compare/v0.5.0...v0.6.0) (2020-04-22)
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
### Features
|
|
86
|
-
|
|
87
|
-
* 🎸 add method to decide how tocope with different shapes ([03e12cb](https://github.com/zumly/zumly/commit/03e12cb))
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
# [0.5.0](https://github.com/zumly/zumly/compare/v0.4.0...v0.5.0) (2020-04-14)
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
### Bug Fixes
|
|
95
|
-
|
|
96
|
-
* 🐛 Fix instance id ([c600871](https://github.com/zumly/zumly/commit/c600871))
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
### Features
|
|
100
|
-
|
|
101
|
-
* 🎸 Allows custom parametres for duration, ease and filters ([a8a538d](https://github.com/zumly/zumly/commit/a8a538d))
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
# [0.4.0](https://github.com/zumly/zumly/compare/v0.3.6...v0.4.0) (2020-04-13)
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
### Features
|
|
109
|
-
|
|
110
|
-
* 🎸 zoom now accepts irregular shapes ([7bd3f24](https://github.com/zumly/zumly/commit/7bd3f24))
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
## [0.3.6](https://github.com/zumly/zumly/compare/v0.3.5...v0.3.6) (2020-04-06)
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
## [0.3.5](https://github.com/zumly/zumly/compare/v0.3.4...v0.3.5) (2020-04-02)
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
### Bug Fixes
|
|
122
|
-
|
|
123
|
-
* 🐛 Fixes a bug related to previous view scales ([777f1b8](https://github.com/zumly/zumly/commit/777f1b8))
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
## [0.3.4](https://github.com/zumly/zumly/compare/v0.3.3...v0.3.4) (2020-04-01)
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
### Bug Fixes
|
|
131
|
-
|
|
132
|
-
* 🐛 Allows mutiple Zumly's instances ([4f4bb55](https://github.com/zumly/zumly/commit/4f4bb55))
|
|
133
|
-
* 🐛 Zumly's multiple instances almost ready! ([d72d8c6](https://github.com/zumly/zumly/commit/d72d8c6))
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
## [0.3.3](https://github.com/zumly/zumly/compare/v0.3.2...v0.3.3) (2020-03-30)
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
### Bug Fixes
|
|
141
|
-
|
|
142
|
-
* 🐛 Fix scale, different zoomable size & last view issues ([efca9d9](https://github.com/zumly/zumly/commit/efca9d9))
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
## [0.3.2](https://github.com/zumly/zumly/compare/v0.3.1...v0.3.2) (2020-03-30)
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
### Performance Improvements
|
|
150
|
-
|
|
151
|
-
* ⚡️ Big speed and smoothness improvments! ([fa24ebc](https://github.com/zumly/zumly/commit/fa24ebc))
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
## [0.3.1](https://github.com/zumly/zumly/compare/v0.3.0...v0.3.1) (2020-03-29)
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
### Performance Improvements
|
|
159
|
-
|
|
160
|
-
* ⚡️ Improves zoom out animations in all major browsers ([3f6b48e](https://github.com/zumly/zumly/commit/3f6b48e))
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
# [0.3.0](https://github.com/zumly/zumly/compare/v0.2.6...v0.3.0) (2020-03-28)
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
### Bug Fixes
|
|
168
|
-
|
|
169
|
-
* 🐛 Change a bit the index.html demo code ([db06353](https://github.com/zumly/zumly/commit/db06353))
|
|
170
|
-
* 🐛 Reorder layers ([f68115d](https://github.com/zumly/zumly/commit/f68115d))
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
### Features
|
|
174
|
-
|
|
175
|
-
* 🎸 Add fade in out animations & delete obsolete styles ([f11368d](https://github.com/zumly/zumly/commit/f11368d))
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
## [0.2.6](https://github.com/zumly/zumly/compare/v0.2.5...v0.2.6) (2020-03-16)
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
### Bug Fixes
|
|
183
|
-
|
|
184
|
-
* 🐛 Remove previous zoomable active to prevent inconsistence ([5a937ba](https://github.com/zumly/zumly/commit/5a937ba))
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
## [0.2.5](https://github.com/zumly/zumly/compare/v0.2.4...v0.2.5) (2020-03-16)
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
### Performance Improvements
|
|
192
|
-
|
|
193
|
-
* ⚡️ add meta viewport ([a95b4ac](https://github.com/zumly/zumly/commit/a95b4ac))
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
## [0.2.4](https://github.com/zumly/zumly/compare/v0.2.3...v0.2.4) (2020-03-16)
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
## [0.2.3](https://github.com/zumly/zumly/compare/v0.2.2...v0.2.3) (2020-03-15)
|
|
202
|
-
|
|
203
|
-
### [0.2.2](https://github.com/zumly/zumly/compare/v0.2.1...v0.2.2) (2020-03-12)
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
### Bug Fixes
|
|
207
|
-
|
|
208
|
-
* zoomOut method done!! ([a398079](https://github.com/zumly/zumly/commit/a3980794379567bdee2e06100ccc1ed2f93fc116))
|
|
209
|
-
|
|
210
|
-
## [0.2.1](https://github.com/zumly/zumly/compare/v0.2.0...v0.2.1) (2020-03-12)
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
### Bug Fixes
|
|
214
|
-
|
|
215
|
-
* 🐛 mejora snapshoot de estados de vistas, avanza en zoomOut ([29a933c](https://github.com/zumly/zumly/commit/29a933c))
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
# [0.2.0](https://github.com/zumly/zumly/compare/v0.1.0...v0.2.0) (2020-03-11)
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
### Features
|
|
223
|
-
|
|
224
|
-
* 🎸 add events for zoomOut method ([32c9419](https://github.com/zumly/zumly/commit/32c9419))
|
|
225
|
-
* 🎸 Add method to zoom back that is working ([92e45de](https://github.com/zumly/zumly/commit/92e45de))
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
# 0.1.0 (2020-03-11)
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
### Features
|
|
233
|
-
|
|
234
|
-
* 🎸 primer paso para registrar los estados de zoom level ([28a2223](https://github.com/zumly/zumly/commit/28a2223))
|