uikit 3.11.2-dev.f2970ffaa → 3.11.2-dev.f3ade19c4

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 (225) hide show
  1. package/.eslintrc.json +4 -49
  2. package/.prettierignore +14 -0
  3. package/.prettierrc.json +13 -0
  4. package/.webstorm.js +3 -3
  5. package/CHANGELOG.md +54 -18
  6. package/build/.eslintrc.json +1 -3
  7. package/build/build.js +26 -28
  8. package/build/icons.js +7 -11
  9. package/build/less.js +48 -36
  10. package/build/package.json +2 -2
  11. package/build/prefix.js +21 -18
  12. package/build/publishDev.js +6 -8
  13. package/build/release.js +20 -17
  14. package/build/scope.js +21 -11
  15. package/build/scss.js +72 -39
  16. package/build/util.js +71 -62
  17. package/build/wrapper/icons.js +0 -2
  18. package/dist/css/uikit-core-rtl.css +133 -201
  19. package/dist/css/uikit-core-rtl.min.css +1 -1
  20. package/dist/css/uikit-core.css +133 -201
  21. package/dist/css/uikit-core.min.css +1 -1
  22. package/dist/css/uikit-rtl.css +135 -207
  23. package/dist/css/uikit-rtl.min.css +1 -1
  24. package/dist/css/uikit.css +135 -207
  25. package/dist/css/uikit.min.css +1 -1
  26. package/dist/js/components/countdown.js +88 -133
  27. package/dist/js/components/countdown.min.js +1 -1
  28. package/dist/js/components/filter.js +408 -439
  29. package/dist/js/components/filter.min.js +1 -1
  30. package/dist/js/components/lightbox-panel.js +1091 -1319
  31. package/dist/js/components/lightbox-panel.min.js +1 -1
  32. package/dist/js/components/lightbox.js +1137 -1396
  33. package/dist/js/components/lightbox.min.js +1 -1
  34. package/dist/js/components/notification.js +94 -114
  35. package/dist/js/components/notification.min.js +1 -1
  36. package/dist/js/components/parallax.js +347 -372
  37. package/dist/js/components/parallax.min.js +1 -1
  38. package/dist/js/components/slider-parallax.js +345 -360
  39. package/dist/js/components/slider-parallax.min.js +1 -1
  40. package/dist/js/components/slider.js +749 -843
  41. package/dist/js/components/slider.min.js +1 -1
  42. package/dist/js/components/slideshow-parallax.js +345 -360
  43. package/dist/js/components/slideshow-parallax.min.js +1 -1
  44. package/dist/js/components/slideshow.js +628 -798
  45. package/dist/js/components/slideshow.min.js +1 -1
  46. package/dist/js/components/sortable.js +587 -620
  47. package/dist/js/components/sortable.min.js +1 -1
  48. package/dist/js/components/tooltip.js +324 -356
  49. package/dist/js/components/tooltip.min.js +1 -1
  50. package/dist/js/components/upload.js +155 -167
  51. package/dist/js/components/upload.min.js +1 -1
  52. package/dist/js/uikit-core.js +5326 -6526
  53. package/dist/js/uikit-core.min.js +1 -1
  54. package/dist/js/uikit-icons.js +7 -9
  55. package/dist/js/uikit-icons.min.js +1 -1
  56. package/dist/js/uikit.js +8031 -9659
  57. package/dist/js/uikit.min.js +1 -1
  58. package/jsconfig.json +1 -1
  59. package/package.json +64 -60
  60. package/src/js/api/boot.js +25 -32
  61. package/src/js/api/component.js +15 -28
  62. package/src/js/api/global.js +6 -12
  63. package/src/js/api/hooks.js +14 -33
  64. package/src/js/api/instance.js +7 -15
  65. package/src/js/api/state.js +199 -187
  66. package/src/js/components/countdown.js +26 -52
  67. package/src/js/components/filter.js +70 -66
  68. package/src/js/components/index.js +13 -13
  69. package/src/js/components/internal/lightbox-animations.js +14 -25
  70. package/src/js/components/internal/slider-preload.js +9 -0
  71. package/src/js/components/internal/slider-transitioner.js +66 -45
  72. package/src/js/components/internal/slideshow-animations.js +46 -64
  73. package/src/js/components/lightbox-panel.js +107 -105
  74. package/src/js/components/lightbox.js +17 -39
  75. package/src/js/components/notification.js +49 -43
  76. package/src/js/components/parallax.js +21 -46
  77. package/src/js/components/slider-parallax.js +13 -23
  78. package/src/js/components/slider.js +117 -89
  79. package/src/js/components/slideshow-parallax.js +1 -1
  80. package/src/js/components/slideshow.js +15 -13
  81. package/src/js/components/sortable.js +125 -106
  82. package/src/js/components/tooltip.js +41 -31
  83. package/src/js/components/upload.js +52 -63
  84. package/src/js/core/accordion.js +58 -48
  85. package/src/js/core/alert.js +9 -17
  86. package/src/js/core/core.js +17 -69
  87. package/src/js/core/cover.js +15 -15
  88. package/src/js/core/drop.js +110 -94
  89. package/src/js/core/form-custom.js +22 -27
  90. package/src/js/core/gif.js +3 -7
  91. package/src/js/core/grid.js +57 -58
  92. package/src/js/core/height-match.js +16 -29
  93. package/src/js/core/height-viewport.js +30 -34
  94. package/src/js/core/icon.js +47 -52
  95. package/src/js/core/img.js +153 -143
  96. package/src/js/core/index.js +39 -39
  97. package/src/js/core/leader.js +9 -18
  98. package/src/js/core/margin.js +21 -37
  99. package/src/js/core/modal.js +49 -36
  100. package/src/js/core/nav.js +2 -4
  101. package/src/js/core/navbar.js +113 -85
  102. package/src/js/core/offcanvas.js +51 -54
  103. package/src/js/core/overflow-auto.js +13 -17
  104. package/src/js/core/responsive.js +14 -12
  105. package/src/js/core/scroll.js +10 -20
  106. package/src/js/core/scrollspy-nav.js +34 -31
  107. package/src/js/core/scrollspy.js +37 -54
  108. package/src/js/core/sticky.js +175 -123
  109. package/src/js/core/svg.js +68 -83
  110. package/src/js/core/switcher.js +56 -47
  111. package/src/js/core/tab.js +7 -10
  112. package/src/js/core/toggle.js +69 -68
  113. package/src/js/core/video.js +22 -21
  114. package/src/js/mixin/animate.js +19 -20
  115. package/src/js/mixin/class.js +2 -4
  116. package/src/js/mixin/container.js +7 -11
  117. package/src/js/mixin/internal/animate-fade.js +73 -30
  118. package/src/js/mixin/internal/animate-slide.js +58 -41
  119. package/src/js/mixin/internal/slideshow-animations.js +7 -14
  120. package/src/js/mixin/internal/slideshow-transitioner.js +10 -17
  121. package/src/js/mixin/lazyload.js +20 -0
  122. package/src/js/mixin/media.js +5 -10
  123. package/src/js/mixin/modal.js +89 -66
  124. package/src/js/mixin/parallax.js +149 -107
  125. package/src/js/mixin/position.js +26 -20
  126. package/src/js/mixin/slider-autoplay.js +12 -21
  127. package/src/js/mixin/slider-drag.js +64 -65
  128. package/src/js/mixin/slider-nav.js +26 -35
  129. package/src/js/mixin/slider-reactive.js +2 -8
  130. package/src/js/mixin/slider.js +47 -60
  131. package/src/js/mixin/slideshow.js +12 -22
  132. package/src/js/mixin/swipe.js +72 -0
  133. package/src/js/mixin/togglable.js +89 -63
  134. package/src/js/uikit-core.js +2 -4
  135. package/src/js/uikit.js +2 -4
  136. package/src/js/util/ajax.js +25 -40
  137. package/src/js/util/animation.js +77 -75
  138. package/src/js/util/attr.js +17 -21
  139. package/src/js/util/class.js +14 -52
  140. package/src/js/util/dimensions.js +78 -49
  141. package/src/js/util/dom.js +39 -66
  142. package/src/js/util/env.js +7 -12
  143. package/src/js/util/event.js +60 -59
  144. package/src/js/util/fastdom.js +1 -6
  145. package/src/js/util/filter.js +17 -34
  146. package/src/js/util/index.js +1 -1
  147. package/src/js/util/lang.js +82 -121
  148. package/src/js/util/mouse.js +19 -17
  149. package/src/js/util/observer.js +36 -0
  150. package/src/js/util/options.js +35 -49
  151. package/src/js/util/player.js +41 -36
  152. package/src/js/util/position.js +54 -46
  153. package/src/js/util/selector.js +43 -58
  154. package/src/js/util/style.js +39 -49
  155. package/src/js/util/viewport.js +75 -64
  156. package/src/less/components/base.less +10 -33
  157. package/src/less/components/flex.less +0 -9
  158. package/src/less/components/form-range.less +48 -95
  159. package/src/less/components/form.less +0 -1
  160. package/src/less/components/height.less +3 -0
  161. package/src/less/components/leader.less +0 -1
  162. package/src/less/components/lightbox.less +0 -1
  163. package/src/less/components/modal.less +3 -7
  164. package/src/less/components/navbar.less +0 -7
  165. package/src/less/components/progress.less +14 -36
  166. package/src/less/components/slider.less +0 -3
  167. package/src/less/components/slideshow.less +0 -3
  168. package/src/less/components/text.less +16 -32
  169. package/src/less/components/utility.less +25 -0
  170. package/src/scss/components/base.scss +10 -33
  171. package/src/scss/components/flex.scss +0 -9
  172. package/src/scss/components/form-range.scss +48 -95
  173. package/src/scss/components/form.scss +3 -4
  174. package/src/scss/components/height.scss +3 -0
  175. package/src/scss/components/icon.scss +2 -2
  176. package/src/scss/components/leader.scss +0 -1
  177. package/src/scss/components/lightbox.scss +0 -1
  178. package/src/scss/components/modal.scss +3 -7
  179. package/src/scss/components/navbar.scss +0 -7
  180. package/src/scss/components/progress.scss +14 -36
  181. package/src/scss/components/search.scss +1 -1
  182. package/src/scss/components/slider.scss +0 -3
  183. package/src/scss/components/slideshow.scss +0 -3
  184. package/src/scss/components/text.scss +16 -32
  185. package/src/scss/components/utility.scss +25 -0
  186. package/src/scss/mixins-theme.scss +1 -1
  187. package/src/scss/mixins.scss +1 -1
  188. package/src/scss/variables-theme.scss +9 -9
  189. package/src/scss/variables.scss +9 -9
  190. package/tests/align.html +10 -10
  191. package/tests/animation.html +2 -2
  192. package/tests/article.html +2 -2
  193. package/tests/base.html +3 -3
  194. package/tests/card.html +10 -10
  195. package/tests/column.html +3 -3
  196. package/tests/comment.html +9 -9
  197. package/tests/dotnav.html +3 -3
  198. package/tests/image.html +296 -64
  199. package/tests/images/image-type.avif +0 -0
  200. package/tests/images/image-type.jpeg +0 -0
  201. package/tests/images/image-type.webp +0 -0
  202. package/tests/index.html +8 -8
  203. package/tests/js/index.js +114 -85
  204. package/tests/lightbox.html +10 -10
  205. package/tests/marker.html +2 -2
  206. package/tests/modal.html +8 -9
  207. package/tests/navbar.html +2 -2
  208. package/tests/overlay.html +7 -7
  209. package/tests/parallax.html +16 -7
  210. package/tests/position.html +12 -12
  211. package/tests/slidenav.html +12 -12
  212. package/tests/slider.html +20 -20
  213. package/tests/sortable.html +1 -1
  214. package/tests/sticky-parallax.html +87 -99
  215. package/tests/sticky.html +56 -24
  216. package/tests/svg.html +6 -6
  217. package/tests/table.html +11 -11
  218. package/tests/thumbnav.html +12 -12
  219. package/tests/transition.html +30 -30
  220. package/tests/utility.html +50 -33
  221. package/tests/video.html +1 -1
  222. package/tests/width.html +1 -1
  223. package/src/js/mixin/flex-bug.js +0 -56
  224. package/src/js/util/promise.js +0 -191
  225. package/tests/images/animated.gif +0 -0
@@ -1,10 +1,9 @@
1
- /*! UIkit 3.11.2-dev.f2970ffaa | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
1
+ /*! UIkit 3.11.2-dev.f3ade19c4 | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
2
2
  /* ========================================================================
3
3
  Component: Base
4
4
  ========================================================================== */
5
5
  /*
6
6
  * 1. Set `font-size` to support `rem` units
7
- * Not using `font` property because a leading hyphen (e.g. -apple-system) causes the font to break in IE11 and Edge
8
7
  * 2. Prevent adjustments of font size after orientation changes in iOS.
9
8
  * 3. Style
10
9
  */
@@ -130,7 +129,7 @@ sub {
130
129
  /* Embedded content
131
130
  ========================================================================== */
132
131
  /*
133
- * Remove the gap between embedded content and the bottom of their containers.
132
+ * Remove the gap between the element and the bottom of its parent container.
134
133
  */
135
134
  audio,
136
135
  canvas,
@@ -141,13 +140,13 @@ video {
141
140
  vertical-align: middle;
142
141
  }
143
142
  /*
144
- * 1. Add responsiveness.
145
- * 2. Auto-scale the height. Only needed if `height` attribute is present.
146
- * 3. Corrects responsive `max-width` behavior if padding and border are used.
147
- * 4. Exclude SVGs for IE11 because they don't preserve their aspect ratio.
143
+ * 1. Constrain the element to its parent width.
144
+ * 2. Preserve the intrinsic aspect ratio and auto-scale the height of an image if the `height` attribute is present.
145
+ * 3. Take border and padding into account.
148
146
  */
149
147
  canvas,
150
148
  img,
149
+ svg,
151
150
  video {
152
151
  /* 1 */
153
152
  max-width: 100%;
@@ -156,30 +155,16 @@ video {
156
155
  /* 3 */
157
156
  box-sizing: border-box;
158
157
  }
159
- /* 4 */
160
- @supports (display: block) {
161
- svg {
162
- max-width: 100%;
163
- height: auto;
164
- box-sizing: border-box;
165
- }
166
- }
167
158
  /*
168
- * Hide the overflow in IE.
169
- */
170
- svg:not(:root) {
171
- overflow: hidden;
172
- }
173
- /*
174
- * 1. Fix lazy loading images if parent element is set to `display: inline` and has `overflow: hidden`.
175
- * 2. Hide `alt` text for lazy loading images.
176
- * Note: Selector for background while loading img[data-src*='.jpg'][src*='data:image'] { background: grey; }
159
+ * Deprecated: only needed for `img` elements with `uk-img`
160
+ * 1. Hide `alt` text for lazy load images.
161
+ * 2. Fix lazy loading images if parent element is set to `display: inline` and has `overflow: hidden`.
177
162
  */
178
163
  img:not([src]) {
179
164
  /* 1 */
180
- min-width: 1px;
181
- /* 2 */
182
165
  visibility: hidden;
166
+ /* 2 */
167
+ min-width: 1px;
183
168
  }
184
169
  /*
185
170
  * Iframe
@@ -454,18 +439,6 @@ template {
454
439
  /*
455
440
  * Breakpoints
456
441
  */
457
- .uk-breakpoint-s::before {
458
- content: '640px';
459
- }
460
- .uk-breakpoint-m::before {
461
- content: '960px';
462
- }
463
- .uk-breakpoint-l::before {
464
- content: '1200px';
465
- }
466
- .uk-breakpoint-xl::before {
467
- content: '1600px';
468
- }
469
442
  :root {
470
443
  --uk-breakpoint-s: 640px;
471
444
  --uk-breakpoint-m: 960px;
@@ -1214,28 +1187,29 @@ button.uk-icon:not(:disabled) {
1214
1187
  Component: Form Range
1215
1188
  ========================================================================== */
1216
1189
  /*
1217
- * 1. Normalize and defaults
1218
- * 2. Prevent content overflow if a fixed width is used
1219
- * 3. Take the full width
1220
- * 4. Remove default style
1221
- * 5. Remove white background in Chrome
1222
- * 6. Remove padding in IE11
1190
+ * 1. Remove default style.
1191
+ * 2. Define consistent box sizing.
1192
+ * 3. Remove `margin` in all browsers.
1193
+ * 4. Align to the center of the line box.
1194
+ * 5. Prevent content overflow if a fixed width is used.
1195
+ * 6. Take the full width.
1196
+ * 7. Remove white background in Chrome.
1223
1197
  */
1224
1198
  .uk-range {
1225
1199
  /* 1 */
1200
+ -webkit-appearance: none;
1201
+ /* 2 */
1226
1202
  box-sizing: border-box;
1203
+ /* 3 */
1227
1204
  margin: 0;
1205
+ /* 4 */
1228
1206
  vertical-align: middle;
1229
- /* 2 */
1207
+ /* 5 */
1230
1208
  max-width: 100%;
1231
- /* 3 */
1209
+ /* 6 */
1232
1210
  width: 100%;
1233
- /* 4 */
1234
- -webkit-appearance: none;
1235
- /* 5 */
1211
+ /* 7 */
1236
1212
  background: transparent;
1237
- /* 6 */
1238
- padding: 0;
1239
1213
  }
1240
1214
  /* Focus */
1241
1215
  .uk-range:focus {
@@ -1244,13 +1218,6 @@ button.uk-icon:not(:disabled) {
1244
1218
  .uk-range::-moz-focus-outer {
1245
1219
  border: none;
1246
1220
  }
1247
- /* IE11 Reset */
1248
- .uk-range::-ms-track {
1249
- height: 15px;
1250
- background: transparent;
1251
- border-color: transparent;
1252
- color: transparent;
1253
- }
1254
1221
  /*
1255
1222
  * Improves consistency of cursor style for clickable elements
1256
1223
  */
@@ -1260,12 +1227,29 @@ button.uk-icon:not(:disabled) {
1260
1227
  .uk-range:not(:disabled)::-moz-range-thumb {
1261
1228
  cursor: pointer;
1262
1229
  }
1263
- .uk-range:not(:disabled)::-ms-thumb {
1264
- cursor: pointer;
1230
+ /*
1231
+ * Track
1232
+ * 1. Safari doesn't have a focus state. Using active instead.
1233
+ */
1234
+ /* Webkit */
1235
+ .uk-range::-webkit-slider-runnable-track {
1236
+ height: 3px;
1237
+ background: #ebebeb;
1238
+ }
1239
+ .uk-range:focus::-webkit-slider-runnable-track,
1240
+ .uk-range:active::-webkit-slider-runnable-track {
1241
+ background: #dedede;
1242
+ }
1243
+ /* Firefox */
1244
+ .uk-range::-moz-range-track {
1245
+ height: 3px;
1246
+ background: #ebebeb;
1247
+ }
1248
+ .uk-range:focus::-moz-range-track {
1249
+ background: #dedede;
1265
1250
  }
1266
- /* Thumb
1267
- ========================================================================== */
1268
1251
  /*
1252
+ * Thumb
1269
1253
  * 1. Reset
1270
1254
  * 2. Style
1271
1255
  */
@@ -1287,60 +1271,10 @@ button.uk-icon:not(:disabled) {
1287
1271
  /* 2 */
1288
1272
  height: 15px;
1289
1273
  width: 15px;
1274
+ margin-top: -7px;
1290
1275
  border-radius: 500px;
1291
1276
  background: #666;
1292
1277
  }
1293
- /* Edge */
1294
- .uk-range::-ms-thumb {
1295
- /* 1 */
1296
- margin-top: 0;
1297
- }
1298
- /* IE11 */
1299
- .uk-range::-ms-thumb {
1300
- /* 1 */
1301
- border: none;
1302
- /* 2 */
1303
- height: 15px;
1304
- width: 15px;
1305
- border-radius: 500px;
1306
- background: #666;
1307
- }
1308
- /* Edge + IE11 */
1309
- .uk-range::-ms-tooltip {
1310
- display: none;
1311
- }
1312
- /* Track
1313
- ========================================================================== */
1314
- /*
1315
- * 1. Safari doesn't have a focus state. Using active instead.
1316
- */
1317
- /* Webkit */
1318
- .uk-range::-webkit-slider-runnable-track {
1319
- height: 3px;
1320
- background: #ebebeb;
1321
- }
1322
- .uk-range:focus::-webkit-slider-runnable-track,
1323
- .uk-range:active::-webkit-slider-runnable-track {
1324
- background: #dedede;
1325
- }
1326
- /* Firefox */
1327
- .uk-range::-moz-range-track {
1328
- height: 3px;
1329
- background: #ebebeb;
1330
- }
1331
- .uk-range:focus::-moz-range-track {
1332
- background: #dedede;
1333
- }
1334
- /* Edge */
1335
- .uk-range::-ms-fill-lower,
1336
- .uk-range::-ms-fill-upper {
1337
- height: 3px;
1338
- background: #ebebeb;
1339
- }
1340
- .uk-range:focus::-ms-fill-lower,
1341
- .uk-range:focus::-ms-fill-upper {
1342
- background: #dedede;
1343
- }
1344
1278
  /* ========================================================================
1345
1279
  Component: Form
1346
1280
  ========================================================================== */
@@ -1665,7 +1599,6 @@ select.uk-form-width-xsmall {
1665
1599
  display: none !important;
1666
1600
  }
1667
1601
  /* Radio and checkbox
1668
- * Note: Does not work in IE11
1669
1602
  ========================================================================== */
1670
1603
  /*
1671
1604
  * 1. Style
@@ -2124,27 +2057,23 @@ select.uk-form-width-xsmall {
2124
2057
  Component: Progress
2125
2058
  ========================================================================== */
2126
2059
  /*
2127
- * 1. Add the correct vertical alignment in Chrome, Firefox, and Opera.
2128
- * 2. Remove default style
2129
- * 3. Behave like a block element
2130
- * 4. Remove borders in Firefox and Edge
2131
- * 5. Set background color for progress container in Firefox, IE11 and Edge
2132
- * 6. Style
2060
+ * 1. Add the correct vertical alignment in all browsers.
2061
+ * 2. Behave like a block element.
2062
+ * 3. Remove borders in Firefox.
2063
+ * 4. Remove default style in Chrome, Safari and Edge.
2064
+ * 5. Style
2133
2065
  */
2134
2066
  .uk-progress {
2135
2067
  /* 1 */
2136
2068
  vertical-align: baseline;
2137
2069
  /* 2 */
2138
- -webkit-appearance: none;
2139
- -moz-appearance: none;
2140
- /* 3 */
2141
2070
  display: block;
2142
2071
  width: 100%;
2143
- /* 4 */
2072
+ /* 3 */
2144
2073
  border: 0;
2145
- /* 5 */
2074
+ /* 4 */
2146
2075
  background-color: #f8f8f8;
2147
- /* 6 */
2076
+ /* 5 */
2148
2077
  margin-bottom: 20px;
2149
2078
  height: 15px;
2150
2079
  }
@@ -2153,25 +2082,15 @@ select.uk-form-width-xsmall {
2153
2082
  margin-top: 20px;
2154
2083
  }
2155
2084
  /*
2156
- * Remove animated circles for indeterminate state in IE11 and Edge
2157
- */
2158
- .uk-progress:indeterminate {
2159
- color: transparent;
2160
- }
2161
- /*
2162
- * Progress container
2163
- * 2. Remove progress bar for indeterminate state in Firefox
2085
+ * Show background color set on `uk-progress` in Chrome, Safari and Edge.
2164
2086
  */
2165
2087
  .uk-progress::-webkit-progress-bar {
2166
- background-color: #f8f8f8;
2167
- }
2168
- /* 2 */
2169
- .uk-progress:indeterminate::-moz-progress-bar {
2170
- width: 0;
2088
+ background-color: transparent;
2171
2089
  }
2172
2090
  /*
2173
- * Progress bar
2174
- * 1. Remove right border in IE11 and Edge
2091
+ * Progress Bar
2092
+ * 1. Transitions don't work on `::-moz-progress-bar` pseudo element in Firefox yet.
2093
+ * https://bugzilla.mozilla.org/show_bug.cgi?id=662351
2175
2094
  */
2176
2095
  .uk-progress::-webkit-progress-value {
2177
2096
  background-color: #1e87f0;
@@ -2179,12 +2098,8 @@ select.uk-form-width-xsmall {
2179
2098
  }
2180
2099
  .uk-progress::-moz-progress-bar {
2181
2100
  background-color: #1e87f0;
2182
- }
2183
- .uk-progress::-ms-fill {
2184
- background-color: #1e87f0;
2185
- transition: width 0.6s ease;
2186
2101
  /* 1 */
2187
- border: 0;
2102
+ transition: width 0.6s ease;
2188
2103
  }
2189
2104
  /* ========================================================================
2190
2105
  Component: Section
@@ -3511,10 +3426,8 @@ select.uk-form-width-xsmall {
3511
3426
  /*
3512
3427
  * 1. Create position context for spinner and close button
3513
3428
  * 2. Dimensions
3514
- * 3. Fix `max-width: 100%` not working in combination with flex and responsive images in IE11
3515
- * `!important` needed to overwrite `uk-width-auto`. See `#modal-media-image` in tests
3516
- * 4. Style
3517
- * 5. Slide-in transition
3429
+ * 3. Style
3430
+ * 4. Slide-in transition
3518
3431
  */
3519
3432
  .uk-modal-dialog {
3520
3433
  /* 1 */
@@ -3524,10 +3437,8 @@ select.uk-form-width-xsmall {
3524
3437
  margin: 0 auto;
3525
3438
  width: 600px;
3526
3439
  /* 3 */
3527
- max-width: calc(100% - 0.01px) !important;
3528
- /* 4 */
3529
3440
  background: #fff;
3530
- /* 5 */
3441
+ /* 4 */
3531
3442
  opacity: 0;
3532
3443
  transform: translateY(-100px);
3533
3444
  transition: 0.3s linear;
@@ -3681,7 +3592,6 @@ select.uk-form-width-xsmall {
3681
3592
  * 2. Take the full width
3682
3593
  * 3. Clip child elements, e.g. for `uk-cover`
3683
3594
  * 4. Optimize animation
3684
- * 5. Disable horizontal panning gestures in IE11 and Edge
3685
3595
  */
3686
3596
  .uk-slideshow-items > * {
3687
3597
  /* 1 */
@@ -3695,8 +3605,6 @@ select.uk-form-width-xsmall {
3695
3605
  overflow: hidden;
3696
3606
  /* 4 */
3697
3607
  will-change: transform, opacity;
3698
- /* 5 */
3699
- touch-action: pan-y;
3700
3608
  }
3701
3609
  /*
3702
3610
  * Hide not active items
@@ -3763,7 +3671,6 @@ select.uk-form-width-xsmall {
3763
3671
  * 1. Let items take content dimensions (0 0 auto)
3764
3672
  * `max-width` needed to keep image responsiveness and prevent content overflow
3765
3673
  * 3. Create position context
3766
- * 4. Disable horizontal panning gestures in IE11 and Edge
3767
3674
  */
3768
3675
  .uk-slider-items > * {
3769
3676
  /* 1 */
@@ -3771,8 +3678,6 @@ select.uk-form-width-xsmall {
3771
3678
  max-width: 100%;
3772
3679
  /* 3 */
3773
3680
  position: relative;
3774
- /* 4 */
3775
- touch-action: pan-y;
3776
3681
  }
3777
3682
  /* ========================================================================
3778
3683
  Component: Sticky
@@ -4075,9 +3980,6 @@ select.uk-form-width-xsmall {
4075
3980
  /*
4076
3981
  * Pass fill character to JS
4077
3982
  */
4078
- .uk-leader-fill-content::before {
4079
- content: '.';
4080
- }
4081
3983
  :root {
4082
3984
  --uk-leader-fill-content: '.';
4083
3985
  }
@@ -4899,13 +4801,6 @@ ul.uk-nav-sub {
4899
4801
  .uk-navbar-container:not(.uk-navbar-transparent) {
4900
4802
  background: #f8f8f8;
4901
4803
  }
4902
- /*
4903
- * Remove pseudo elements created by micro clearfix as precaution (if Container component is used)
4904
- */
4905
- .uk-navbar-container > ::before,
4906
- .uk-navbar-container > ::after {
4907
- display: none !important;
4908
- }
4909
4804
  /* Groups
4910
4805
  ========================================================================== */
4911
4806
  /*
@@ -5832,7 +5727,6 @@ ul.uk-nav-sub {
5832
5727
  * 4. Optimize animation
5833
5728
  * 5. Responsiveness
5834
5729
  * Using `vh` for `max-height` to fix image proportions after resize in Safari and Opera
5835
- * Using `vh` and `vw` to make responsive image work in IE11
5836
5730
  */
5837
5731
  .uk-lightbox-items > * {
5838
5732
  /* 1 */
@@ -6752,6 +6646,15 @@ ul.uk-nav-sub {
6752
6646
  .uk-height-viewport {
6753
6647
  min-height: 100vh;
6754
6648
  }
6649
+ .uk-height-viewport-2 {
6650
+ min-height: 200vh;
6651
+ }
6652
+ .uk-height-viewport-3 {
6653
+ min-height: 300vh;
6654
+ }
6655
+ .uk-height-viewport-4 {
6656
+ min-height: 400vh;
6657
+ }
6755
6658
  /*
6756
6659
  * Pixel
6757
6660
  * Useful for `overflow: auto`
@@ -6867,24 +6770,20 @@ ul.uk-nav-sub {
6867
6770
  /* Background modifier
6868
6771
  ========================================================================== */
6869
6772
  /*
6870
- * 1. The background clips to the foreground text. Works in Chrome, Firefox, Safari, Edge and Opera
6871
- * Default color is set to transparent
6872
- * 2. Container fits the text
6873
- * 3. Fallback color for IE11
6773
+ * 1. The background clips to the foreground text. Works in all browsers.
6774
+ * 2. Default color is set to transparent.
6775
+ * 3. Container fits the text
6776
+ * 4. Style
6874
6777
  */
6875
6778
  .uk-text-background {
6876
6779
  /* 1 */
6877
6780
  -webkit-background-clip: text;
6878
6781
  /* 2 */
6879
- display: inline-block;
6782
+ color: transparent !important;
6880
6783
  /* 3 */
6881
- color: #1e87f0 !important;
6882
- }
6883
- @supports (-webkit-background-clip: text) {
6884
- .uk-text-background {
6885
- background-color: #1e87f0;
6886
- color: transparent !important;
6887
- }
6784
+ display: inline-block;
6785
+ /* 4 */
6786
+ background-color: #1e87f0;
6888
6787
  }
6889
6788
  /* Alignment modifiers
6890
6789
  ========================================================================== */
@@ -6990,22 +6889,17 @@ td.uk-text-truncate {
6990
6889
  max-width: 0;
6991
6890
  }
6992
6891
  /*
6993
- * 1. Wrap long words onto the next line and break them if they are too long to fit
6994
- * 2. Legacy `word-wrap` as fallback for `overflow-wrap`
6995
- * 3. Fix `overflow-wrap` which doesn't work with table cells in Chrome, Opera, IE11 and Edge
6996
- * Must use `break-all` to support IE11 and Edge
6997
- * Note: Not using `hyphens: auto;` because it hyphenates text even if not needed
6892
+ * Wrap long words onto the next line and break them if they are too long to fit.
6893
+ * 1. Make it work with table cells in all browsers.
6894
+ * Note: Not using `hyphens: auto` because it hyphenates text even if not needed.
6998
6895
  */
6999
6896
  .uk-text-break {
7000
- /* 1 */
7001
6897
  overflow-wrap: break-word;
7002
- /* 2 */
7003
- word-wrap: break-word;
7004
6898
  }
7005
- /* 3 */
6899
+ /* 1 */
7006
6900
  th.uk-text-break,
7007
6901
  td.uk-text-break {
7008
- word-break: break-all;
6902
+ word-break: break-word;
7009
6903
  }
7010
6904
  /* ========================================================================
7011
6905
  Component: Column
@@ -7628,6 +7522,53 @@ iframe[data-uk-cover] {
7628
7522
  [data-uk-responsive] {
7629
7523
  max-width: 100%;
7630
7524
  }
7525
+ /* Object
7526
+ ========================================================================== */
7527
+ .uk-object-cover {
7528
+ object-fit: cover;
7529
+ }
7530
+ .uk-object-contain {
7531
+ object-fit: contain;
7532
+ }
7533
+ .uk-object-fill {
7534
+ object-fit: fill;
7535
+ }
7536
+ .uk-object-none {
7537
+ object-fit: none;
7538
+ }
7539
+ .uk-object-scale-down {
7540
+ object-fit: scale-down;
7541
+ }
7542
+ /*
7543
+ * Position
7544
+ */
7545
+ .uk-object-top-right {
7546
+ object-position: 100% 0;
7547
+ }
7548
+ .uk-object-top-center {
7549
+ object-position: 50% 0;
7550
+ }
7551
+ .uk-object-top-left {
7552
+ object-position: 0% 0;
7553
+ }
7554
+ .uk-object-center-right {
7555
+ object-position: 100% 50%;
7556
+ }
7557
+ .uk-object-center-center {
7558
+ object-position: 50% 50%;
7559
+ }
7560
+ .uk-object-center-left {
7561
+ object-position: 0% 50%;
7562
+ }
7563
+ .uk-object-bottom-right {
7564
+ object-position: 100% 100%;
7565
+ }
7566
+ .uk-object-bottom-center {
7567
+ object-position: 50% 100%;
7568
+ }
7569
+ .uk-object-bottom-left {
7570
+ object-position: 0% 100%;
7571
+ }
7631
7572
  /* Border
7632
7573
  ========================================================================== */
7633
7574
  .uk-border-circle {
@@ -7878,15 +7819,6 @@ iframe[data-uk-cover] {
7878
7819
  .uk-flex-inline {
7879
7820
  display: inline-flex;
7880
7821
  }
7881
- /*
7882
- * Remove pseudo elements created by micro clearfix as precaution
7883
- */
7884
- .uk-flex::before,
7885
- .uk-flex::after,
7886
- .uk-flex-inline::before,
7887
- .uk-flex-inline::after {
7888
- display: none;
7889
- }
7890
7822
  /* Alignment
7891
7823
  ========================================================================== */
7892
7824
  /*