uikit 3.10.1-dev.2a182d8f9 → 3.10.1-dev.6b26facf9
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/CHANGELOG.md +11 -7
- package/CONTRIBUTING.md +1 -1
- package/README.md +4 -2
- package/build/.eslintrc.json +10 -1
- package/build/less.js +1 -2
- package/build/scss.js +1 -1
- package/dist/css/uikit-core-rtl.css +8 -5
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +8 -5
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +8 -5
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +8 -5
- package/dist/css/uikit.min.css +1 -1
- package/dist/js/components/countdown.js +1 -1
- package/dist/js/components/countdown.min.js +1 -1
- package/dist/js/components/filter.js +5 -5
- package/dist/js/components/filter.min.js +1 -1
- package/dist/js/components/lightbox-panel.js +2 -2
- package/dist/js/components/lightbox-panel.min.js +1 -1
- package/dist/js/components/lightbox.js +2 -2
- package/dist/js/components/lightbox.min.js +1 -1
- package/dist/js/components/notification.js +1 -1
- package/dist/js/components/notification.min.js +1 -1
- package/dist/js/components/parallax.js +2 -2
- package/dist/js/components/parallax.min.js +1 -1
- package/dist/js/components/slider-parallax.js +2 -2
- package/dist/js/components/slider-parallax.min.js +1 -1
- package/dist/js/components/slider.js +2 -2
- package/dist/js/components/slider.min.js +1 -1
- package/dist/js/components/slideshow-parallax.js +2 -2
- package/dist/js/components/slideshow-parallax.min.js +1 -1
- package/dist/js/components/slideshow.js +2 -2
- package/dist/js/components/slideshow.min.js +1 -1
- package/dist/js/components/sortable.js +5 -5
- package/dist/js/components/sortable.min.js +1 -1
- package/dist/js/components/tooltip.js +3 -2
- package/dist/js/components/tooltip.min.js +1 -1
- package/dist/js/components/upload.js +1 -1
- package/dist/js/components/upload.min.js +1 -1
- package/dist/js/uikit-core.js +19 -18
- package/dist/js/uikit-core.min.js +1 -1
- package/dist/js/uikit-icons.js +1 -1
- package/dist/js/uikit-icons.min.js +1 -1
- package/dist/js/uikit.js +27 -25
- package/dist/js/uikit.min.js +1 -1
- package/package.json +1 -1
- package/src/js/api/component.js +3 -3
- package/src/js/api/state.js +3 -3
- package/src/js/components/tooltip.js +2 -1
- package/src/js/core/sticky.js +1 -1
- package/src/js/core/toggle.js +4 -3
- package/src/js/mixin/animate.js +4 -4
- package/src/js/mixin/internal/slideshow-animations.js +1 -1
- package/src/js/mixin/parallax.js +1 -1
- package/src/js/util/dom.js +3 -3
- package/src/js/util/viewport.js +3 -3
- package/src/less/components/cover.less +4 -2
- package/src/less/components/divider.less +1 -1
- package/src/less/components/utility.less +2 -1
- package/src/scss/components/cover.scss +4 -2
- package/src/scss/components/divider.scss +1 -1
- package/src/scss/components/utility.scss +2 -1
- package/tests/base.html +12 -12
- package/tests/button.html +1 -1
- package/tests/cover.html +5 -5
- package/tests/drop.html +2 -2
- package/tests/dropdown.html +1 -1
- package/tests/flex.html +1 -1
- package/tests/grid-masonry.html +1 -1
- package/tests/grid-parallax.html +1 -1
- package/tests/grid.html +1 -1
- package/tests/height.html +2 -2
- package/tests/margin.html +1 -1
- package/tests/modal.html +2 -2
- package/tests/navbar.html +2 -2
- package/tests/padding.html +1 -1
- package/tests/parallax.html +1 -1
- package/tests/slider.html +1 -1
- package/tests/slideshow.html +2 -2
- package/tests/sticky.html +2 -2
- package/tests/switcher.html +1 -1
- package/tests/tab.html +1 -1
- package/tests/utility.html +1 -1
- package/tests/video.html +3 -3
- package/tests/width.html +1 -1
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "uikit",
|
|
3
3
|
"title": "UIkit",
|
|
4
4
|
"description": "UIkit is a lightweight and modular front-end framework for developing fast and powerful web interfaces.",
|
|
5
|
-
"version": "3.10.1-dev.
|
|
5
|
+
"version": "3.10.1-dev.6b26facf9",
|
|
6
6
|
"main": "dist/js/uikit.js",
|
|
7
7
|
"style": "dist/css/uikit.css",
|
|
8
8
|
"sideEffects": [
|
package/src/js/api/component.js
CHANGED
package/src/js/api/state.js
CHANGED
|
@@ -87,12 +87,12 @@ export default function (UIkit) {
|
|
|
87
87
|
|
|
88
88
|
events.forEach(event => {
|
|
89
89
|
|
|
90
|
-
if (
|
|
90
|
+
if (hasOwn(event, 'handler')) {
|
|
91
|
+
registerEvent(this, event);
|
|
92
|
+
} else {
|
|
91
93
|
for (const key in event) {
|
|
92
94
|
registerEvent(this, event[key], key);
|
|
93
95
|
}
|
|
94
|
-
} else {
|
|
95
|
-
registerEvent(this, event);
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
});
|
package/src/js/core/sticky.js
CHANGED
package/src/js/core/toggle.js
CHANGED
|
@@ -2,6 +2,8 @@ import Media from '../mixin/media';
|
|
|
2
2
|
import Togglable from '../mixin/togglable';
|
|
3
3
|
import {attr, closest, hasClass, includes, isBoolean, isFocusable, isTouch, matches, once, pointerDown, pointerEnter, pointerLeave, queryAll, trigger, within} from 'uikit-util';
|
|
4
4
|
|
|
5
|
+
const KEY_SPACE = 32;
|
|
6
|
+
|
|
5
7
|
export default {
|
|
6
8
|
|
|
7
9
|
mixins: [Media, Togglable],
|
|
@@ -119,12 +121,11 @@ export default {
|
|
|
119
121
|
name: 'keydown',
|
|
120
122
|
|
|
121
123
|
filter() {
|
|
122
|
-
return includes(this.mode, 'click');
|
|
124
|
+
return includes(this.mode, 'click') && this.$el.tagName !== 'INPUT';
|
|
123
125
|
},
|
|
124
126
|
|
|
125
127
|
handler(e) {
|
|
126
|
-
|
|
127
|
-
if (e.keyCode === 32) {
|
|
128
|
+
if (e.keyCode === KEY_SPACE) {
|
|
128
129
|
e.preventDefault();
|
|
129
130
|
this.$el.click();
|
|
130
131
|
}
|
package/src/js/mixin/animate.js
CHANGED
|
@@ -23,12 +23,12 @@ export default {
|
|
|
23
23
|
? fade
|
|
24
24
|
: name === 'delayed-fade'
|
|
25
25
|
? (...args) => fade(...args, 40)
|
|
26
|
-
:
|
|
27
|
-
?
|
|
26
|
+
: name
|
|
27
|
+
? slide
|
|
28
|
+
: () => {
|
|
28
29
|
action();
|
|
29
30
|
return Promise.resolve();
|
|
30
|
-
}
|
|
31
|
-
: slide;
|
|
31
|
+
};
|
|
32
32
|
|
|
33
33
|
return animationFn(action, target, this.duration)
|
|
34
34
|
.then(() => this.$update(target, 'resize'), noop);
|
|
@@ -32,7 +32,7 @@ export function translated(el) {
|
|
|
32
32
|
|
|
33
33
|
export function translate(value = 0, unit = '%') {
|
|
34
34
|
value += value ? unit : '';
|
|
35
|
-
return isIE ? `translateX(${value})` : `translate3d(${value}, 0, 0)`; // currently not translate3d in IE, translate3d within translate3d does not work while transitioning
|
|
35
|
+
return isIE ? `translateX(${value})` : `translate3d(${value}, 0, 0)`; // currently, not translate3d in IE, translate3d within translate3d does not work while transitioning
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
export function scale3d(value) {
|
package/src/js/mixin/parallax.js
CHANGED
package/src/js/util/dom.js
CHANGED
|
@@ -30,10 +30,10 @@ export function prepend(parent, element) {
|
|
|
30
30
|
|
|
31
31
|
parent = $(parent);
|
|
32
32
|
|
|
33
|
-
if (
|
|
34
|
-
return append(parent, element);
|
|
35
|
-
} else {
|
|
33
|
+
if (parent.hasChildNodes()) {
|
|
36
34
|
return insertNodes(element, element => parent.insertBefore(element, parent.firstChild));
|
|
35
|
+
} else {
|
|
36
|
+
return append(parent, element);
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
|
package/src/js/util/viewport.js
CHANGED
|
@@ -82,10 +82,10 @@ export function scrollIntoView(element, {offset: offsetBy = 0} = {}) {
|
|
|
82
82
|
scrollTop(element, scroll + top * percent);
|
|
83
83
|
|
|
84
84
|
// scroll more if we have not reached our destination
|
|
85
|
-
if (percent
|
|
86
|
-
requestAnimationFrame(step);
|
|
87
|
-
} else {
|
|
85
|
+
if (percent === 1) {
|
|
88
86
|
resolve();
|
|
87
|
+
} else {
|
|
88
|
+
requestAnimationFrame(step);
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
})();
|
|
@@ -22,7 +22,8 @@
|
|
|
22
22
|
*/
|
|
23
23
|
|
|
24
24
|
/* 1 */
|
|
25
|
-
[uk-cover]
|
|
25
|
+
[uk-cover],
|
|
26
|
+
[data-uk-cover] {
|
|
26
27
|
/* 2 */
|
|
27
28
|
max-width: none;
|
|
28
29
|
/* 3 */
|
|
@@ -34,7 +35,8 @@
|
|
|
34
35
|
transform: translate(var(--uk-position-translate-x), var(--uk-position-translate-y));
|
|
35
36
|
}
|
|
36
37
|
|
|
37
|
-
iframe
|
|
38
|
+
iframe[uk-cover],
|
|
39
|
+
iframe[data-uk-cover] { pointer-events: none; }
|
|
38
40
|
|
|
39
41
|
|
|
40
42
|
/* Container
|
|
@@ -22,7 +22,8 @@
|
|
|
22
22
|
*/
|
|
23
23
|
|
|
24
24
|
/* 1 */
|
|
25
|
-
[uk-cover]
|
|
25
|
+
[uk-cover],
|
|
26
|
+
[data-uk-cover] {
|
|
26
27
|
/* 2 */
|
|
27
28
|
max-width: none;
|
|
28
29
|
/* 3 */
|
|
@@ -34,7 +35,8 @@
|
|
|
34
35
|
transform: translate(var(--uk-position-translate-x), var(--uk-position-translate-y));
|
|
35
36
|
}
|
|
36
37
|
|
|
37
|
-
iframe
|
|
38
|
+
iframe[uk-cover],
|
|
39
|
+
iframe[data-uk-cover] { pointer-events: none; }
|
|
38
40
|
|
|
39
41
|
|
|
40
42
|
/* Container
|
|
@@ -114,7 +114,7 @@ $divider-vertical-border: $global-border !default;
|
|
|
114
114
|
========================================================================== */
|
|
115
115
|
|
|
116
116
|
.uk-divider-vertical {
|
|
117
|
-
width:
|
|
117
|
+
width: max-content;
|
|
118
118
|
height: $divider-vertical-height;
|
|
119
119
|
margin-left: auto;
|
|
120
120
|
margin-right: auto;
|
|
@@ -247,7 +247,8 @@ $dragover-box-shadow: 0 0 20px rgba(100,100,100,0.3)
|
|
|
247
247
|
* Fix initial iframe width. Without the viewport is expanded on iOS devices
|
|
248
248
|
*/
|
|
249
249
|
|
|
250
|
-
[uk-responsive]
|
|
250
|
+
[uk-responsive],
|
|
251
|
+
[data-uk-responsive] { max-width: 100%; }
|
|
251
252
|
|
|
252
253
|
|
|
253
254
|
/* Border
|
package/tests/base.html
CHANGED
|
@@ -15,13 +15,13 @@
|
|
|
15
15
|
<div uk-grid>
|
|
16
16
|
<div class="uk-width-2-3@m">
|
|
17
17
|
|
|
18
|
-
<h1>
|
|
18
|
+
<h1>this is an H1 heading</h1>
|
|
19
19
|
|
|
20
20
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum.</p>
|
|
21
21
|
|
|
22
22
|
<p>Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris.</p>
|
|
23
23
|
|
|
24
|
-
<h2>
|
|
24
|
+
<h2>this is an H2 heading</h2>
|
|
25
25
|
|
|
26
26
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum.</p>
|
|
27
27
|
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
|
|
37
37
|
<p>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
|
|
38
38
|
|
|
39
|
-
<h3>
|
|
39
|
+
<h3>this is an H3 heading</h3>
|
|
40
40
|
|
|
41
41
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum.</p>
|
|
42
42
|
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
|
|
45
45
|
<p>Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris.</p>
|
|
46
46
|
|
|
47
|
-
<h4>
|
|
47
|
+
<h4>this is an H4 heading</h4>
|
|
48
48
|
|
|
49
49
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum.</p>
|
|
50
50
|
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
|
|
56
56
|
<p>Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris.</p>
|
|
57
57
|
|
|
58
|
-
<h5>
|
|
58
|
+
<h5>this is an H5 heading</h5>
|
|
59
59
|
|
|
60
60
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum.</p>
|
|
61
61
|
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
|
|
64
64
|
<p>Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris.</p>
|
|
65
65
|
|
|
66
|
-
<h6>
|
|
66
|
+
<h6>this is an H6 heading</h6>
|
|
67
67
|
|
|
68
68
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum.</p>
|
|
69
69
|
|
|
@@ -71,27 +71,27 @@
|
|
|
71
71
|
|
|
72
72
|
<hr>
|
|
73
73
|
|
|
74
|
-
<h1>
|
|
74
|
+
<h1>this is an H1 heading<br>with some more text</h1>
|
|
75
75
|
|
|
76
76
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
|
|
77
77
|
|
|
78
|
-
<h2>
|
|
78
|
+
<h2>this is an H2 heading<br>with some more text</h2>
|
|
79
79
|
|
|
80
80
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
|
|
81
81
|
|
|
82
|
-
<h3>
|
|
82
|
+
<h3>this is an H3 heading<br>with some more text</h3>
|
|
83
83
|
|
|
84
84
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
|
|
85
85
|
|
|
86
|
-
<h4>
|
|
86
|
+
<h4>this is an H4 heading<br>with some more text</h4>
|
|
87
87
|
|
|
88
88
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
|
|
89
89
|
|
|
90
|
-
<h5>
|
|
90
|
+
<h5>this is an H5 heading<br>with some more text</h5>
|
|
91
91
|
|
|
92
92
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
|
|
93
93
|
|
|
94
|
-
<h6>
|
|
94
|
+
<h6>this is an H6 heading<br>with some more text</h6>
|
|
95
95
|
|
|
96
96
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
|
|
97
97
|
|
package/tests/button.html
CHANGED
package/tests/cover.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
7
7
|
<title>Cover - UIkit tests</title>
|
|
8
8
|
<script src="js/test.js"></script>
|
|
9
|
-
<style
|
|
9
|
+
<style>
|
|
10
10
|
|
|
11
11
|
.test-height { height: 300px; }
|
|
12
12
|
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
<h3>Iframe (YouTube)</h3>
|
|
52
52
|
|
|
53
53
|
<div class="test-height uk-cover-container uk-light">
|
|
54
|
-
<iframe src="https://www.youtube-nocookie.com/embed/c2pz2mlSfXA?autoplay=1&controls=0&showinfo=0&rel=0&loop=1&modestbranding=1&wmode=transparent&playsinline=1" width="1920" height="1080"
|
|
54
|
+
<iframe src="https://www.youtube-nocookie.com/embed/c2pz2mlSfXA?autoplay=1&controls=0&showinfo=0&rel=0&loop=1&modestbranding=1&wmode=transparent&playsinline=1" width="1920" height="1080" allowfullscreen uk-cover></iframe>
|
|
55
55
|
<div class="uk-position-cover uk-flex uk-flex-center uk-flex-middle">
|
|
56
56
|
<h1>Heading</h1>
|
|
57
57
|
</div>
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
<h3>Iframe (Vimeo)</h3>
|
|
64
64
|
|
|
65
65
|
<div class="test-height uk-cover-container uk-light">
|
|
66
|
-
<iframe src="https://player.vimeo.com/video/1084537?title=0&byline=0&autoplay=1&loop=1&setVolume=0" width="500" height="281"
|
|
66
|
+
<iframe src="https://player.vimeo.com/video/1084537?title=0&byline=0&autoplay=1&loop=1&setVolume=0" width="500" height="281" allowfullscreen uk-cover></iframe>
|
|
67
67
|
<div class="uk-position-cover uk-flex uk-flex-center uk-flex-middle">
|
|
68
68
|
<h1>Heading</h1>
|
|
69
69
|
</div>
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
|
|
95
95
|
<div class="uk-cover-container uk-light">
|
|
96
96
|
<canvas width="600" height="400"></canvas>
|
|
97
|
-
<iframe src="https://www.youtube-nocookie.com/embed/c2pz2mlSfXA?autoplay=1&controls=0&showinfo=0&rel=0&loop=1&modestbranding=1&wmode=transparent&playsinline=1" width="1920" height="1080"
|
|
97
|
+
<iframe src="https://www.youtube-nocookie.com/embed/c2pz2mlSfXA?autoplay=1&controls=0&showinfo=0&rel=0&loop=1&modestbranding=1&wmode=transparent&playsinline=1" width="1920" height="1080" allowfullscreen uk-cover></iframe>
|
|
98
98
|
<div class="uk-position-cover uk-flex uk-flex-center uk-flex-middle">
|
|
99
99
|
<h1>Heading</h1>
|
|
100
100
|
</div>
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
<h3>Iframe (YouTube)</h3>
|
|
124
124
|
|
|
125
125
|
<div class="uk-cover-container uk-light" uk-height-viewport>
|
|
126
|
-
<iframe src="https://www.youtube-nocookie.com/embed/c2pz2mlSfXA?autoplay=1&controls=0&showinfo=0&rel=0&loop=1&modestbranding=1&wmode=transparent&playsinline=1" width="1920" height="1080"
|
|
126
|
+
<iframe src="https://www.youtube-nocookie.com/embed/c2pz2mlSfXA?autoplay=1&controls=0&showinfo=0&rel=0&loop=1&modestbranding=1&wmode=transparent&playsinline=1" width="1920" height="1080" allowfullscreen uk-cover></iframe>
|
|
127
127
|
<div class="uk-position-cover uk-flex uk-flex-center uk-flex-middle">
|
|
128
128
|
<h1>Heading</h1>
|
|
129
129
|
</div>
|
package/tests/drop.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
7
7
|
<title>Drop - UIkit tests</title>
|
|
8
8
|
<script src="js/test.js"></script>
|
|
9
|
-
<style
|
|
9
|
+
<style>
|
|
10
10
|
|
|
11
11
|
.boundary { border: 1px dashed rgba(0,0,0,0.2); }
|
|
12
12
|
|
|
@@ -381,7 +381,7 @@
|
|
|
381
381
|
<td><code>boundary</code></td>
|
|
382
382
|
<td>CSS selector</td>
|
|
383
383
|
<td>true</td>
|
|
384
|
-
<td>Referenced element to keep Drop's visibility. By default it's the window.</td>
|
|
384
|
+
<td>Referenced element to keep Drop's visibility. By default, it's the window.</td>
|
|
385
385
|
</tr>
|
|
386
386
|
<tr>
|
|
387
387
|
<td><code>boundary-align</code></td>
|
package/tests/dropdown.html
CHANGED
package/tests/flex.html
CHANGED
package/tests/grid-masonry.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
7
7
|
<title>Grid Masonry - UIkit tests</title>
|
|
8
8
|
<script src="js/test.js"></script>
|
|
9
|
-
<style
|
|
9
|
+
<style>
|
|
10
10
|
|
|
11
11
|
:nth-child(7n-6) > .uk-panel { height: 120px; background: rgba(0,0,0,0.1); }
|
|
12
12
|
:nth-child(7n-5) > .uk-panel { height: 180px; background: rgba(0,0,0,0.15); }
|
package/tests/grid-parallax.html
CHANGED
package/tests/grid.html
CHANGED
package/tests/height.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
7
7
|
<title>Height - UIkit tests</title>
|
|
8
8
|
<script src="js/test.js"></script>
|
|
9
|
-
<style
|
|
9
|
+
<style>
|
|
10
10
|
|
|
11
11
|
[uk-height-match] > * > .uk-panel {
|
|
12
12
|
padding: 10px;
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
<td><code>target</code></td>
|
|
87
87
|
<td>CSS selector</td>
|
|
88
88
|
<td><code>> *</code></td>
|
|
89
|
-
<td>Elements that should match. By default the children will match.</td>
|
|
89
|
+
<td>Elements that should match. By default, the children will match.</td>
|
|
90
90
|
</tr>
|
|
91
91
|
<tr>
|
|
92
92
|
<td><code>row</code></td>
|
package/tests/margin.html
CHANGED
package/tests/modal.html
CHANGED
|
@@ -384,14 +384,14 @@
|
|
|
384
384
|
<div id="modal-media-youtube" class="uk-flex-top" uk-modal>
|
|
385
385
|
<div class="uk-modal-dialog uk-width-auto uk-margin-auto-vertical">
|
|
386
386
|
<button class="uk-modal-close-outside" type="button" uk-close></button>
|
|
387
|
-
<iframe src="https://www.youtube-nocookie.com/embed/c2pz2mlSfXA" width="1920" height="1080"
|
|
387
|
+
<iframe src="https://www.youtube-nocookie.com/embed/c2pz2mlSfXA" width="1920" height="1080" uk-video></iframe>
|
|
388
388
|
</div>
|
|
389
389
|
</div>
|
|
390
390
|
|
|
391
391
|
<div id="modal-media-vimeo" class="uk-flex-top" uk-modal>
|
|
392
392
|
<div class="uk-modal-dialog uk-width-auto uk-margin-auto-vertical">
|
|
393
393
|
<button class="uk-modal-close-outside" type="button" uk-close></button>
|
|
394
|
-
<iframe src="https://player.vimeo.com/video/1084537" width="500" height="281"
|
|
394
|
+
<iframe src="https://player.vimeo.com/video/1084537" width="500" height="281" uk-video></iframe>
|
|
395
395
|
</div>
|
|
396
396
|
</div>
|
|
397
397
|
|
package/tests/navbar.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
7
7
|
<title>Navbar - UIkit tests</title>
|
|
8
8
|
<script src="js/test.js"></script>
|
|
9
|
-
<style
|
|
9
|
+
<style>
|
|
10
10
|
|
|
11
11
|
.test {
|
|
12
12
|
display: block;
|
|
@@ -1956,7 +1956,7 @@
|
|
|
1956
1956
|
<td><code>boundary</code></td>
|
|
1957
1957
|
<td>CSS selector</td>
|
|
1958
1958
|
<td>true</td>
|
|
1959
|
-
<td>Referenced element to keep Drop's visibility. By default it's the navbar component's element.</td>
|
|
1959
|
+
<td>Referenced element to keep Drop's visibility. By default, it's the navbar component's element.</td>
|
|
1960
1960
|
</tr>
|
|
1961
1961
|
<tr>
|
|
1962
1962
|
<td><code>boundary-align</code></td>
|
package/tests/padding.html
CHANGED
package/tests/parallax.html
CHANGED
package/tests/slider.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
7
7
|
<title>Slider - UIkit tests</title>
|
|
8
8
|
<script src="js/test.js"></script>
|
|
9
|
-
<style
|
|
9
|
+
<style>
|
|
10
10
|
|
|
11
11
|
.test > :nth-child(10n-9) > canvas { background: rgba(0,0,0,0.1); }
|
|
12
12
|
.test > :nth-child(10n-8) > canvas { background: rgba(0,0,0,0.15); }
|
package/tests/slideshow.html
CHANGED
|
@@ -105,14 +105,14 @@
|
|
|
105
105
|
</div>
|
|
106
106
|
</li>
|
|
107
107
|
<li>
|
|
108
|
-
<iframe src="https://www.youtube-nocookie.com/embed/c2pz2mlSfXA?autoplay=1&controls=0&showinfo=0&rel=0&loop=1&modestbranding=1&wmode=transparent&playsinline=1" width="1920" height="1080"
|
|
108
|
+
<iframe src="https://www.youtube-nocookie.com/embed/c2pz2mlSfXA?autoplay=1&controls=0&showinfo=0&rel=0&loop=1&modestbranding=1&wmode=transparent&playsinline=1" width="1920" height="1080" allowfullscreen uk-cover></iframe>
|
|
109
109
|
<div class="uk-position-center uk-position-small uk-text-center">
|
|
110
110
|
<h2 uk-slideshow-parallax="x: 100,-100">YouTube</h2>
|
|
111
111
|
<p uk-slideshow-parallax="x: 200,-200">Lorem ipsum dolor sit amet.</p>
|
|
112
112
|
</div>
|
|
113
113
|
</li>
|
|
114
114
|
<li>
|
|
115
|
-
<iframe src="https://player.vimeo.com/video/1084537?title=0&byline=0&autoplay=1&loop=1&setVolume=0" width="500" height="281"
|
|
115
|
+
<iframe src="https://player.vimeo.com/video/1084537?title=0&byline=0&autoplay=1&loop=1&setVolume=0" width="500" height="281" allowfullscreen uk-cover></iframe>
|
|
116
116
|
<div class="uk-position-center uk-position-small uk-text-center">
|
|
117
117
|
<h2 uk-slideshow-parallax="x: 100,-100">Vimeo</h2>
|
|
118
118
|
<p uk-slideshow-parallax="x: 200,-200">Lorem ipsum dolor sit amet.</p>
|
package/tests/sticky.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
7
7
|
<title>Sticky - UIkit tests</title>
|
|
8
8
|
<script src="js/test.js"></script>
|
|
9
|
-
<style
|
|
9
|
+
<style>
|
|
10
10
|
|
|
11
11
|
#viewport { border: 1px dashed rgba(0,0,0,0.2); }
|
|
12
12
|
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
<td><code>width-element</code></td>
|
|
116
116
|
<td>CSS Selector</td>
|
|
117
117
|
<td>false</td>
|
|
118
|
-
<td>The element the Sticky should get its
|
|
118
|
+
<td>The element the Sticky should get its width from in active mode.</td>
|
|
119
119
|
</tr>
|
|
120
120
|
<tr>
|
|
121
121
|
<td><code>show-on-up</code></td>
|
package/tests/switcher.html
CHANGED
|
@@ -346,7 +346,7 @@
|
|
|
346
346
|
<td><code>itemNav</code></td>
|
|
347
347
|
<td>CSS selector</td>
|
|
348
348
|
<td>false</td>
|
|
349
|
-
<td>Related nav container. By default, nav items are found in related
|
|
349
|
+
<td>Related nav container. By default, nav items are found in related item's container only.</td>
|
|
350
350
|
</tr>
|
|
351
351
|
<tr>
|
|
352
352
|
<td><code>active</code></td>
|
package/tests/tab.html
CHANGED
|
@@ -170,7 +170,7 @@
|
|
|
170
170
|
<td><code>connect</code></td>
|
|
171
171
|
<td>CSS selector</td>
|
|
172
172
|
<td>false</td>
|
|
173
|
-
<td>Related items container. By default next element with class 'uk-switcher'.</td>
|
|
173
|
+
<td>Related items container. By default, next element with class 'uk-switcher'.</td>
|
|
174
174
|
</tr>
|
|
175
175
|
<tr>
|
|
176
176
|
<td><code>toggle</code></td>
|
package/tests/utility.html
CHANGED
|
@@ -235,7 +235,7 @@
|
|
|
235
235
|
<div class="uk-child-width-1-3@s" uk-grid>
|
|
236
236
|
<div>
|
|
237
237
|
<p>JS Responsive Width (Iframe)</p>
|
|
238
|
-
<iframe src="https://www.youtube-nocookie.com/embed/c2pz2mlSfXA?autoplay=0&showinfo=0&rel=0&modestbranding=1" width="1920" height="1080"
|
|
238
|
+
<iframe src="https://www.youtube-nocookie.com/embed/c2pz2mlSfXA?autoplay=0&showinfo=0&rel=0&modestbranding=1" width="1920" height="1080" allowfullscreen uk-responsive></iframe>
|
|
239
239
|
</div>
|
|
240
240
|
<div>
|
|
241
241
|
<p>Responsive Height (Image)</p>
|