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.
Files changed (86) hide show
  1. package/CHANGELOG.md +11 -7
  2. package/CONTRIBUTING.md +1 -1
  3. package/README.md +4 -2
  4. package/build/.eslintrc.json +10 -1
  5. package/build/less.js +1 -2
  6. package/build/scss.js +1 -1
  7. package/dist/css/uikit-core-rtl.css +8 -5
  8. package/dist/css/uikit-core-rtl.min.css +1 -1
  9. package/dist/css/uikit-core.css +8 -5
  10. package/dist/css/uikit-core.min.css +1 -1
  11. package/dist/css/uikit-rtl.css +8 -5
  12. package/dist/css/uikit-rtl.min.css +1 -1
  13. package/dist/css/uikit.css +8 -5
  14. package/dist/css/uikit.min.css +1 -1
  15. package/dist/js/components/countdown.js +1 -1
  16. package/dist/js/components/countdown.min.js +1 -1
  17. package/dist/js/components/filter.js +5 -5
  18. package/dist/js/components/filter.min.js +1 -1
  19. package/dist/js/components/lightbox-panel.js +2 -2
  20. package/dist/js/components/lightbox-panel.min.js +1 -1
  21. package/dist/js/components/lightbox.js +2 -2
  22. package/dist/js/components/lightbox.min.js +1 -1
  23. package/dist/js/components/notification.js +1 -1
  24. package/dist/js/components/notification.min.js +1 -1
  25. package/dist/js/components/parallax.js +2 -2
  26. package/dist/js/components/parallax.min.js +1 -1
  27. package/dist/js/components/slider-parallax.js +2 -2
  28. package/dist/js/components/slider-parallax.min.js +1 -1
  29. package/dist/js/components/slider.js +2 -2
  30. package/dist/js/components/slider.min.js +1 -1
  31. package/dist/js/components/slideshow-parallax.js +2 -2
  32. package/dist/js/components/slideshow-parallax.min.js +1 -1
  33. package/dist/js/components/slideshow.js +2 -2
  34. package/dist/js/components/slideshow.min.js +1 -1
  35. package/dist/js/components/sortable.js +5 -5
  36. package/dist/js/components/sortable.min.js +1 -1
  37. package/dist/js/components/tooltip.js +3 -2
  38. package/dist/js/components/tooltip.min.js +1 -1
  39. package/dist/js/components/upload.js +1 -1
  40. package/dist/js/components/upload.min.js +1 -1
  41. package/dist/js/uikit-core.js +19 -18
  42. package/dist/js/uikit-core.min.js +1 -1
  43. package/dist/js/uikit-icons.js +1 -1
  44. package/dist/js/uikit-icons.min.js +1 -1
  45. package/dist/js/uikit.js +27 -25
  46. package/dist/js/uikit.min.js +1 -1
  47. package/package.json +1 -1
  48. package/src/js/api/component.js +3 -3
  49. package/src/js/api/state.js +3 -3
  50. package/src/js/components/tooltip.js +2 -1
  51. package/src/js/core/sticky.js +1 -1
  52. package/src/js/core/toggle.js +4 -3
  53. package/src/js/mixin/animate.js +4 -4
  54. package/src/js/mixin/internal/slideshow-animations.js +1 -1
  55. package/src/js/mixin/parallax.js +1 -1
  56. package/src/js/util/dom.js +3 -3
  57. package/src/js/util/viewport.js +3 -3
  58. package/src/less/components/cover.less +4 -2
  59. package/src/less/components/divider.less +1 -1
  60. package/src/less/components/utility.less +2 -1
  61. package/src/scss/components/cover.scss +4 -2
  62. package/src/scss/components/divider.scss +1 -1
  63. package/src/scss/components/utility.scss +2 -1
  64. package/tests/base.html +12 -12
  65. package/tests/button.html +1 -1
  66. package/tests/cover.html +5 -5
  67. package/tests/drop.html +2 -2
  68. package/tests/dropdown.html +1 -1
  69. package/tests/flex.html +1 -1
  70. package/tests/grid-masonry.html +1 -1
  71. package/tests/grid-parallax.html +1 -1
  72. package/tests/grid.html +1 -1
  73. package/tests/height.html +2 -2
  74. package/tests/margin.html +1 -1
  75. package/tests/modal.html +2 -2
  76. package/tests/navbar.html +2 -2
  77. package/tests/padding.html +1 -1
  78. package/tests/parallax.html +1 -1
  79. package/tests/slider.html +1 -1
  80. package/tests/slideshow.html +2 -2
  81. package/tests/sticky.html +2 -2
  82. package/tests/switcher.html +1 -1
  83. package/tests/tab.html +1 -1
  84. package/tests/utility.html +1 -1
  85. package/tests/video.html +3 -3
  86. 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.2a182d8f9",
5
+ "version": "3.10.1-dev.6b26facf9",
6
6
  "main": "dist/js/uikit.js",
7
7
  "style": "dist/css/uikit.css",
8
8
  "sideEffects": [
@@ -35,10 +35,10 @@ export default function (UIkit) {
35
35
  const instance = UIkit.getComponent(element, name);
36
36
 
37
37
  if (instance) {
38
- if (!data) {
39
- return instance;
40
- } else {
38
+ if (data) {
41
39
  instance.$destroy();
40
+ } else {
41
+ return instance;
42
42
  }
43
43
  }
44
44
 
@@ -87,12 +87,12 @@ export default function (UIkit) {
87
87
 
88
88
  events.forEach(event => {
89
89
 
90
- if (!hasOwn(event, 'handler')) {
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
  });
@@ -67,7 +67,8 @@ export default {
67
67
  }
68
68
 
69
69
  this.toggleElement(this.tooltip, false, false).then(() => {
70
- this.tooltip = remove(this.tooltip);
70
+ remove(this.tooltip);
71
+ this.tooltip = null;
71
72
  this._unbind();
72
73
  });
73
74
  },
@@ -144,7 +144,7 @@ export default {
144
144
  this.show();
145
145
  }
146
146
 
147
- height = !this.isActive ? this.$el.offsetHeight : height;
147
+ height = this.isActive ? height : this.$el.offsetHeight;
148
148
 
149
149
  if (height + this.offset > getHeight(window)) {
150
150
  this.inactive = true;
@@ -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
- // Space
127
- if (e.keyCode === 32) {
128
+ if (e.keyCode === KEY_SPACE) {
128
129
  e.preventDefault();
129
130
  this.$el.click();
130
131
  }
@@ -23,12 +23,12 @@ export default {
23
23
  ? fade
24
24
  : name === 'delayed-fade'
25
25
  ? (...args) => fade(...args, 40)
26
- : !name
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) {
@@ -254,7 +254,7 @@ export default {
254
254
 
255
255
  css[prop] = `rgba(${
256
256
  start.map((value, i) => {
257
- value = value + p * (end[i] - value);
257
+ value += p * (end[i] - value);
258
258
  return i === 3 ? toFloat(value) : parseInt(value, 10);
259
259
  }).join(',')
260
260
  })`;
@@ -30,10 +30,10 @@ export function prepend(parent, element) {
30
30
 
31
31
  parent = $(parent);
32
32
 
33
- if (!parent.hasChildNodes()) {
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
 
@@ -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 !== 1) {
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.uk-cover { pointer-events: none; }
38
+ iframe[uk-cover],
39
+ iframe[data-uk-cover] { pointer-events: none; }
38
40
 
39
41
 
40
42
  /* Container
@@ -114,7 +114,7 @@
114
114
  ========================================================================== */
115
115
 
116
116
  .uk-divider-vertical {
117
- width: 1px;
117
+ width: max-content;
118
118
  height: @divider-vertical-height;
119
119
  margin-left: auto;
120
120
  margin-right: auto;
@@ -247,7 +247,8 @@
247
247
  * Fix initial iframe width. Without the viewport is expanded on iOS devices
248
248
  */
249
249
 
250
- [uk-responsive] { max-width: 100%; }
250
+ [uk-responsive],
251
+ [data-uk-responsive] { max-width: 100%; }
251
252
 
252
253
 
253
254
  /* Border
@@ -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.uk-cover { pointer-events: none; }
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: 1px;
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] { max-width: 100%; }
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>This is a H1 heading</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>This is a H2 heading</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>This is a H3 heading</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>This is a H4 heading</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>This is a H5 heading</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>This is a H6 heading</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>This is a H1 heading<br>with some more text</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>This is a H2 heading<br>with some more text</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>This is a H3 heading<br>with some more text</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>This is a H4 heading<br>with some more text</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>This is a H5 heading<br>with some more text</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>This is a H6 heading<br>with some more text</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
@@ -6,7 +6,7 @@
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1">
7
7
  <title>Button - UIkit tests</title>
8
8
  <script src="js/test.js"></script>
9
- <style type="text/css">
9
+ <style>
10
10
 
11
11
  body { padding-bottom: 500px; }
12
12
 
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 type="text/css">
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&amp;controls=0&amp;showinfo=0&amp;rel=0&amp;loop=1&amp;modestbranding=1&amp;wmode=transparent&amp;playsinline=1" width="1920" height="1080" frameborder="0" allowfullscreen uk-cover></iframe>
54
+ <iframe src="https://www.youtube-nocookie.com/embed/c2pz2mlSfXA?autoplay=1&amp;controls=0&amp;showinfo=0&amp;rel=0&amp;loop=1&amp;modestbranding=1&amp;wmode=transparent&amp;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&amp;byline=0&amp;autoplay=1&amp;loop=1&amp;setVolume=0" width="500" height="281" frameborder="0" allowfullscreen uk-cover></iframe>
66
+ <iframe src="https://player.vimeo.com/video/1084537?title=0&amp;byline=0&amp;autoplay=1&amp;loop=1&amp;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&amp;controls=0&amp;showinfo=0&amp;rel=0&amp;loop=1&amp;modestbranding=1&amp;wmode=transparent&amp;playsinline=1" width="1920" height="1080" frameborder="0" allowfullscreen uk-cover></iframe>
97
+ <iframe src="https://www.youtube-nocookie.com/embed/c2pz2mlSfXA?autoplay=1&amp;controls=0&amp;showinfo=0&amp;rel=0&amp;loop=1&amp;modestbranding=1&amp;wmode=transparent&amp;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&amp;controls=0&amp;showinfo=0&amp;rel=0&amp;loop=1&amp;modestbranding=1&amp;wmode=transparent&amp;playsinline=1" width="1920" height="1080" frameborder="0" allowfullscreen uk-cover></iframe>
126
+ <iframe src="https://www.youtube-nocookie.com/embed/c2pz2mlSfXA?autoplay=1&amp;controls=0&amp;showinfo=0&amp;rel=0&amp;loop=1&amp;modestbranding=1&amp;wmode=transparent&amp;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 type="text/css">
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>
@@ -6,7 +6,7 @@
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1">
7
7
  <title>Dropdown - UIkit tests</title>
8
8
  <script src="js/test.js"></script>
9
- <style type="text/css">
9
+ <style>
10
10
 
11
11
  .test {
12
12
  display: block;
package/tests/flex.html CHANGED
@@ -6,7 +6,7 @@
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1">
7
7
  <title>Flex - UIkit tests</title>
8
8
  <script src="js/test.js"></script>
9
- <style type="text/css">
9
+ <style>
10
10
 
11
11
  .uk-flex > * {
12
12
  padding: 10px;
@@ -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 type="text/css">
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); }
@@ -6,7 +6,7 @@
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1">
7
7
  <title>Grid Parallax - UIkit tests</title>
8
8
  <script src="js/test.js"></script>
9
- <style type="text/css">
9
+ <style>
10
10
 
11
11
  .uk-panel { height: 300px; }
12
12
 
package/tests/grid.html CHANGED
@@ -6,7 +6,7 @@
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1">
7
7
  <title>Grid - UIkit tests</title>
8
8
  <script src="js/test.js"></script>
9
- <style type="text/css">
9
+ <style>
10
10
 
11
11
  .uk-panel {
12
12
  padding: 10px;
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 type="text/css">
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
@@ -6,7 +6,7 @@
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1">
7
7
  <title>Margin - UIkit tests</title>
8
8
  <script src="js/test.js"></script>
9
- <style type="text/css">
9
+ <style>
10
10
 
11
11
  .uk-panel {
12
12
  padding: 20px;
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" frameborder="0" uk-video></iframe>
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" frameborder="0" uk-video></iframe>
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 type="text/css">
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>
@@ -6,7 +6,7 @@
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1">
7
7
  <title>Padding - UIkit tests</title>
8
8
  <script src="js/test.js"></script>
9
- <style type="text/css">
9
+ <style>
10
10
 
11
11
  .uk-panel { background: #f0f0f0; }
12
12
 
@@ -6,7 +6,7 @@
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1">
7
7
  <title>Parallax - UIkit tests</title>
8
8
  <script src="js/test.js"></script>
9
- <style type="text/css">
9
+ <style>
10
10
 
11
11
  .test-color { border: 10px #fff solid; }
12
12
 
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 type="text/css">
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); }
@@ -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&amp;controls=0&amp;showinfo=0&amp;rel=0&amp;loop=1&amp;modestbranding=1&amp;wmode=transparent&amp;playsinline=1" width="1920" height="1080" frameborder="0" allowfullscreen uk-cover></iframe>
108
+ <iframe src="https://www.youtube-nocookie.com/embed/c2pz2mlSfXA?autoplay=1&amp;controls=0&amp;showinfo=0&amp;rel=0&amp;loop=1&amp;modestbranding=1&amp;wmode=transparent&amp;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&amp;byline=0&amp;autoplay=1&amp;loop=1&amp;setVolume=0" width="500" height="281" frameborder="0" allowfullscreen uk-cover></iframe>
115
+ <iframe src="https://player.vimeo.com/video/1084537?title=0&amp;byline=0&amp;autoplay=1&amp;loop=1&amp;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 type="text/css">
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 with from in active mode.</td>
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>
@@ -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 items container only.</td>
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>
@@ -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&amp;showinfo=0&amp;rel=0&amp;modestbranding=1" width="1920" height="1080" frameborder="0" allowfullscreen uk-responsive></iframe>
238
+ <iframe src="https://www.youtube-nocookie.com/embed/c2pz2mlSfXA?autoplay=0&amp;showinfo=0&amp;rel=0&amp;modestbranding=1" width="1920" height="1080" allowfullscreen uk-responsive></iframe>
239
239
  </div>
240
240
  <div>
241
241
  <p>Responsive Height (Image)</p>