uikit 3.11.2-dev.9433cd5fd → 3.11.2-dev.a87448e52

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 (221) 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 +37 -28
  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 +118 -201
  19. package/dist/css/uikit-core-rtl.min.css +1 -1
  20. package/dist/css/uikit-core.css +118 -201
  21. package/dist/css/uikit-core.min.css +1 -1
  22. package/dist/css/uikit-rtl.css +120 -207
  23. package/dist/css/uikit-rtl.min.css +1 -1
  24. package/dist/css/uikit.css +120 -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 +1098 -1316
  31. package/dist/js/components/lightbox-panel.min.js +1 -1
  32. package/dist/js/components/lightbox.js +1144 -1393
  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 +345 -358
  37. package/dist/js/components/parallax.min.js +1 -1
  38. package/dist/js/components/slider-parallax.js +343 -357
  39. package/dist/js/components/slider-parallax.min.js +1 -1
  40. package/dist/js/components/slider.js +768 -843
  41. package/dist/js/components/slider.min.js +1 -1
  42. package/dist/js/components/slideshow-parallax.js +343 -357
  43. package/dist/js/components/slideshow-parallax.min.js +1 -1
  44. package/dist/js/components/slideshow.js +645 -793
  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 +5412 -6733
  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 +8008 -9705
  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 +79 -100
  66. package/src/js/components/countdown.js +24 -50
  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 +37 -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 +16 -30
  77. package/src/js/components/slider-parallax.js +13 -23
  78. package/src/js/components/slider.js +95 -64
  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 +53 -48
  85. package/src/js/core/alert.js +9 -17
  86. package/src/js/core/core.js +74 -53
  87. package/src/js/core/cover.js +11 -15
  88. package/src/js/core/drop.js +106 -92
  89. package/src/js/core/form-custom.js +20 -25
  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 +28 -35
  94. package/src/js/core/icon.js +47 -52
  95. package/src/js/core/img.js +96 -77
  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 +112 -88
  102. package/src/js/core/offcanvas.js +49 -53
  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 +130 -91
  109. package/src/js/core/svg.js +68 -83
  110. package/src/js/core/switcher.js +47 -46
  111. package/src/js/core/tab.js +7 -10
  112. package/src/js/core/toggle.js +66 -67
  113. package/src/js/core/video.js +11 -22
  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/media.js +5 -10
  122. package/src/js/mixin/modal.js +89 -66
  123. package/src/js/mixin/parallax.js +149 -106
  124. package/src/js/mixin/position.js +26 -20
  125. package/src/js/mixin/slider-autoplay.js +12 -21
  126. package/src/js/mixin/slider-drag.js +64 -65
  127. package/src/js/mixin/slider-nav.js +26 -35
  128. package/src/js/mixin/slider-reactive.js +2 -8
  129. package/src/js/mixin/slider.js +48 -55
  130. package/src/js/mixin/slideshow.js +13 -19
  131. package/src/js/mixin/togglable.js +89 -63
  132. package/src/js/uikit-core.js +2 -4
  133. package/src/js/uikit.js +2 -4
  134. package/src/js/util/ajax.js +20 -39
  135. package/src/js/util/animation.js +77 -75
  136. package/src/js/util/attr.js +17 -21
  137. package/src/js/util/class.js +14 -52
  138. package/src/js/util/dimensions.js +56 -43
  139. package/src/js/util/dom.js +44 -80
  140. package/src/js/util/env.js +7 -12
  141. package/src/js/util/event.js +60 -59
  142. package/src/js/util/fastdom.js +1 -6
  143. package/src/js/util/filter.js +17 -34
  144. package/src/js/util/index.js +0 -1
  145. package/src/js/util/lang.js +82 -121
  146. package/src/js/util/mouse.js +19 -17
  147. package/src/js/util/options.js +32 -46
  148. package/src/js/util/player.js +41 -36
  149. package/src/js/util/position.js +54 -46
  150. package/src/js/util/selector.js +43 -58
  151. package/src/js/util/style.js +39 -49
  152. package/src/js/util/viewport.js +75 -64
  153. package/src/less/components/base.less +10 -33
  154. package/src/less/components/flex.less +0 -9
  155. package/src/less/components/form-range.less +48 -95
  156. package/src/less/components/form.less +0 -1
  157. package/src/less/components/leader.less +0 -1
  158. package/src/less/components/lightbox.less +0 -1
  159. package/src/less/components/modal.less +3 -7
  160. package/src/less/components/navbar.less +0 -7
  161. package/src/less/components/progress.less +14 -36
  162. package/src/less/components/slider.less +0 -3
  163. package/src/less/components/slideshow.less +0 -3
  164. package/src/less/components/text.less +16 -32
  165. package/src/less/components/utility.less +22 -0
  166. package/src/scss/components/base.scss +10 -33
  167. package/src/scss/components/flex.scss +0 -9
  168. package/src/scss/components/form-range.scss +48 -95
  169. package/src/scss/components/form.scss +3 -4
  170. package/src/scss/components/icon.scss +2 -2
  171. package/src/scss/components/leader.scss +0 -1
  172. package/src/scss/components/lightbox.scss +0 -1
  173. package/src/scss/components/modal.scss +3 -7
  174. package/src/scss/components/navbar.scss +0 -7
  175. package/src/scss/components/progress.scss +14 -36
  176. package/src/scss/components/search.scss +1 -1
  177. package/src/scss/components/slider.scss +0 -3
  178. package/src/scss/components/slideshow.scss +0 -3
  179. package/src/scss/components/text.scss +16 -32
  180. package/src/scss/components/utility.scss +22 -0
  181. package/src/scss/mixins-theme.scss +1 -1
  182. package/src/scss/mixins.scss +1 -1
  183. package/src/scss/variables-theme.scss +9 -9
  184. package/src/scss/variables.scss +9 -9
  185. package/tests/align.html +10 -10
  186. package/tests/animation.html +2 -2
  187. package/tests/article.html +2 -2
  188. package/tests/base.html +3 -3
  189. package/tests/card.html +10 -10
  190. package/tests/column.html +3 -3
  191. package/tests/comment.html +9 -9
  192. package/tests/dotnav.html +3 -3
  193. package/tests/image.html +296 -48
  194. package/tests/images/image-type.avif +0 -0
  195. package/tests/images/image-type.jpeg +0 -0
  196. package/tests/images/image-type.webp +0 -0
  197. package/tests/index.html +8 -8
  198. package/tests/js/index.js +114 -85
  199. package/tests/lightbox.html +10 -10
  200. package/tests/marker.html +2 -2
  201. package/tests/modal.html +8 -9
  202. package/tests/navbar.html +2 -2
  203. package/tests/overlay.html +7 -7
  204. package/tests/parallax.html +14 -5
  205. package/tests/position.html +12 -12
  206. package/tests/slidenav.html +12 -12
  207. package/tests/slider.html +20 -20
  208. package/tests/sortable.html +1 -1
  209. package/tests/sticky-parallax.html +47 -62
  210. package/tests/svg.html +6 -6
  211. package/tests/table.html +11 -11
  212. package/tests/thumbnav.html +12 -12
  213. package/tests/transition.html +30 -30
  214. package/tests/utility.html +33 -33
  215. package/tests/video.html +1 -1
  216. package/tests/width.html +1 -1
  217. package/src/js/mixin/flex-bug.js +0 -56
  218. package/src/js/util/promise.js +0 -191
  219. package/tests/images/animated.gif +0 -0
  220. package/tests/images/test.avif +0 -0
  221. package/tests/images/test.webp +0 -0
@@ -1,10 +1,9 @@
1
- /*! UIkit 3.11.2-dev.9433cd5fd | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
1
+ /*! UIkit 3.11.2-dev.a87448e52 | 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
  */
@@ -132,7 +131,7 @@ sub {
132
131
  /* Embedded content
133
132
  ========================================================================== */
134
133
  /*
135
- * Remove the gap between embedded content and the bottom of their containers.
134
+ * Remove the gap between the element and the bottom of its parent container.
136
135
  */
137
136
  audio,
138
137
  canvas,
@@ -143,13 +142,13 @@ video {
143
142
  vertical-align: middle;
144
143
  }
145
144
  /*
146
- * 1. Add responsiveness.
147
- * 2. Auto-scale the height. Only needed if `height` attribute is present.
148
- * 3. Corrects responsive `max-width` behavior if padding and border are used.
149
- * 4. Exclude SVGs for IE11 because they don't preserve their aspect ratio.
145
+ * 1. Constrain the element to its parent width.
146
+ * 2. Preserve the intrinsic aspect ratio and auto-scale the height of an image if the `height` attribute is present.
147
+ * 3. Take border and padding into account.
150
148
  */
151
149
  canvas,
152
150
  img,
151
+ svg,
153
152
  video {
154
153
  /* 1 */
155
154
  max-width: 100%;
@@ -158,30 +157,16 @@ video {
158
157
  /* 3 */
159
158
  box-sizing: border-box;
160
159
  }
161
- /* 4 */
162
- @supports (display: block) {
163
- svg {
164
- max-width: 100%;
165
- height: auto;
166
- box-sizing: border-box;
167
- }
168
- }
169
160
  /*
170
- * Hide the overflow in IE.
171
- */
172
- svg:not(:root) {
173
- overflow: hidden;
174
- }
175
- /*
176
- * 1. Fix lazy loading images if parent element is set to `display: inline` and has `overflow: hidden`.
177
- * 2. Hide `alt` text for lazy loading images.
178
- * Note: Selector for background while loading img[data-src*='.jpg'][src*='data:image'] { background: grey; }
161
+ * Deprecated: only needed for `img` elements with `uk-img`
162
+ * 1. Hide `alt` text for lazy load images.
163
+ * 2. Fix lazy loading images if parent element is set to `display: inline` and has `overflow: hidden`.
179
164
  */
180
165
  img:not([src]) {
181
166
  /* 1 */
182
- min-width: 1px;
183
- /* 2 */
184
167
  visibility: hidden;
168
+ /* 2 */
169
+ min-width: 1px;
185
170
  }
186
171
  /*
187
172
  * Iframe
@@ -465,18 +450,6 @@ template {
465
450
  /*
466
451
  * Breakpoints
467
452
  */
468
- .uk-breakpoint-s::before {
469
- content: '640px';
470
- }
471
- .uk-breakpoint-m::before {
472
- content: '960px';
473
- }
474
- .uk-breakpoint-l::before {
475
- content: '1200px';
476
- }
477
- .uk-breakpoint-xl::before {
478
- content: '1600px';
479
- }
480
453
  :root {
481
454
  --uk-breakpoint-s: 640px;
482
455
  --uk-breakpoint-m: 960px;
@@ -1244,28 +1217,29 @@ button.uk-icon:not(:disabled) {
1244
1217
  Component: Form Range
1245
1218
  ========================================================================== */
1246
1219
  /*
1247
- * 1. Normalize and defaults
1248
- * 2. Prevent content overflow if a fixed width is used
1249
- * 3. Take the full width
1250
- * 4. Remove default style
1251
- * 5. Remove white background in Chrome
1252
- * 6. Remove padding in IE11
1220
+ * 1. Remove default style.
1221
+ * 2. Define consistent box sizing.
1222
+ * 3. Remove `margin` in all browsers.
1223
+ * 4. Align to the center of the line box.
1224
+ * 5. Prevent content overflow if a fixed width is used.
1225
+ * 6. Take the full width.
1226
+ * 7. Remove white background in Chrome.
1253
1227
  */
1254
1228
  .uk-range {
1255
1229
  /* 1 */
1230
+ -webkit-appearance: none;
1231
+ /* 2 */
1256
1232
  box-sizing: border-box;
1233
+ /* 3 */
1257
1234
  margin: 0;
1235
+ /* 4 */
1258
1236
  vertical-align: middle;
1259
- /* 2 */
1237
+ /* 5 */
1260
1238
  max-width: 100%;
1261
- /* 3 */
1239
+ /* 6 */
1262
1240
  width: 100%;
1263
- /* 4 */
1264
- -webkit-appearance: none;
1265
- /* 5 */
1241
+ /* 7 */
1266
1242
  background: transparent;
1267
- /* 6 */
1268
- padding: 0;
1269
1243
  }
1270
1244
  /* Focus */
1271
1245
  .uk-range:focus {
@@ -1274,13 +1248,6 @@ button.uk-icon:not(:disabled) {
1274
1248
  .uk-range::-moz-focus-outer {
1275
1249
  border: none;
1276
1250
  }
1277
- /* IE11 Reset */
1278
- .uk-range::-ms-track {
1279
- height: 15px;
1280
- background: transparent;
1281
- border-color: transparent;
1282
- color: transparent;
1283
- }
1284
1251
  /*
1285
1252
  * Improves consistency of cursor style for clickable elements
1286
1253
  */
@@ -1290,12 +1257,31 @@ button.uk-icon:not(:disabled) {
1290
1257
  .uk-range:not(:disabled)::-moz-range-thumb {
1291
1258
  cursor: pointer;
1292
1259
  }
1293
- .uk-range:not(:disabled)::-ms-thumb {
1294
- cursor: pointer;
1260
+ /*
1261
+ * Track
1262
+ * 1. Safari doesn't have a focus state. Using active instead.
1263
+ */
1264
+ /* Webkit */
1265
+ .uk-range::-webkit-slider-runnable-track {
1266
+ height: 3px;
1267
+ background: #ebebeb;
1268
+ border-radius: 500px;
1269
+ }
1270
+ .uk-range:focus::-webkit-slider-runnable-track,
1271
+ .uk-range:active::-webkit-slider-runnable-track {
1272
+ background: #dedede;
1273
+ }
1274
+ /* Firefox */
1275
+ .uk-range::-moz-range-track {
1276
+ height: 3px;
1277
+ background: #ebebeb;
1278
+ border-radius: 500px;
1279
+ }
1280
+ .uk-range:focus::-moz-range-track {
1281
+ background: #dedede;
1295
1282
  }
1296
- /* Thumb
1297
- ========================================================================== */
1298
1283
  /*
1284
+ * Thumb
1299
1285
  * 1. Reset
1300
1286
  * 2. Style
1301
1287
  */
@@ -1318,65 +1304,11 @@ button.uk-icon:not(:disabled) {
1318
1304
  /* 2 */
1319
1305
  height: 15px;
1320
1306
  width: 15px;
1307
+ margin-top: -7px;
1321
1308
  border-radius: 500px;
1322
1309
  background: #fff;
1323
1310
  border: 1px solid #cccccc;
1324
1311
  }
1325
- /* Edge */
1326
- .uk-range::-ms-thumb {
1327
- /* 1 */
1328
- margin-top: 0;
1329
- }
1330
- /* IE11 */
1331
- .uk-range::-ms-thumb {
1332
- /* 1 */
1333
- border: none;
1334
- /* 2 */
1335
- height: 15px;
1336
- width: 15px;
1337
- border-radius: 500px;
1338
- background: #fff;
1339
- border: 1px solid #cccccc;
1340
- }
1341
- /* Edge + IE11 */
1342
- .uk-range::-ms-tooltip {
1343
- display: none;
1344
- }
1345
- /* Track
1346
- ========================================================================== */
1347
- /*
1348
- * 1. Safari doesn't have a focus state. Using active instead.
1349
- */
1350
- /* Webkit */
1351
- .uk-range::-webkit-slider-runnable-track {
1352
- height: 3px;
1353
- background: #ebebeb;
1354
- border-radius: 500px;
1355
- }
1356
- .uk-range:focus::-webkit-slider-runnable-track,
1357
- .uk-range:active::-webkit-slider-runnable-track {
1358
- background: #dedede;
1359
- }
1360
- /* Firefox */
1361
- .uk-range::-moz-range-track {
1362
- height: 3px;
1363
- background: #ebebeb;
1364
- border-radius: 500px;
1365
- }
1366
- .uk-range:focus::-moz-range-track {
1367
- background: #dedede;
1368
- }
1369
- /* Edge */
1370
- .uk-range::-ms-fill-lower,
1371
- .uk-range::-ms-fill-upper {
1372
- height: 3px;
1373
- background: #ebebeb;
1374
- border-radius: 500px;
1375
- }
1376
- .uk-range:focus::-ms-fill-lower,
1377
- .uk-range:focus::-ms-fill-upper {
1378
- background: #dedede;
1379
- }
1380
1312
  /* ========================================================================
1381
1313
  Component: Form
1382
1314
  ========================================================================== */
@@ -1713,7 +1645,6 @@ select.uk-form-width-xsmall {
1713
1645
  display: none !important;
1714
1646
  }
1715
1647
  /* Radio and checkbox
1716
- * Note: Does not work in IE11
1717
1648
  ========================================================================== */
1718
1649
  /*
1719
1650
  * 1. Style
@@ -2229,27 +2160,23 @@ select.uk-form-width-xsmall {
2229
2160
  Component: Progress
2230
2161
  ========================================================================== */
2231
2162
  /*
2232
- * 1. Add the correct vertical alignment in Chrome, Firefox, and Opera.
2233
- * 2. Remove default style
2234
- * 3. Behave like a block element
2235
- * 4. Remove borders in Firefox and Edge
2236
- * 5. Set background color for progress container in Firefox, IE11 and Edge
2237
- * 6. Style
2163
+ * 1. Add the correct vertical alignment in all browsers.
2164
+ * 2. Behave like a block element.
2165
+ * 3. Remove borders in Firefox.
2166
+ * 4. Remove default style in Chrome, Safari and Edge.
2167
+ * 5. Style
2238
2168
  */
2239
2169
  .uk-progress {
2240
2170
  /* 1 */
2241
2171
  vertical-align: baseline;
2242
2172
  /* 2 */
2243
- -webkit-appearance: none;
2244
- -moz-appearance: none;
2245
- /* 3 */
2246
2173
  display: block;
2247
2174
  width: 100%;
2248
- /* 4 */
2175
+ /* 3 */
2249
2176
  border: 0;
2250
- /* 5 */
2177
+ /* 4 */
2251
2178
  background-color: #f8f8f8;
2252
- /* 6 */
2179
+ /* 5 */
2253
2180
  margin-bottom: 20px;
2254
2181
  height: 15px;
2255
2182
  border-radius: 500px;
@@ -2260,27 +2187,15 @@ select.uk-form-width-xsmall {
2260
2187
  margin-top: 20px;
2261
2188
  }
2262
2189
  /*
2263
- * Remove animated circles for indeterminate state in IE11 and Edge
2264
- */
2265
- .uk-progress:indeterminate {
2266
- color: transparent;
2267
- }
2268
- /*
2269
- * Progress container
2270
- * 2. Remove progress bar for indeterminate state in Firefox
2190
+ * Show background color set on `uk-progress` in Chrome, Safari and Edge.
2271
2191
  */
2272
2192
  .uk-progress::-webkit-progress-bar {
2273
- background-color: #f8f8f8;
2274
- border-radius: 500px;
2275
- overflow: hidden;
2276
- }
2277
- /* 2 */
2278
- .uk-progress:indeterminate::-moz-progress-bar {
2279
- width: 0;
2193
+ background-color: transparent;
2280
2194
  }
2281
2195
  /*
2282
- * Progress bar
2283
- * 1. Remove right border in IE11 and Edge
2196
+ * Progress Bar
2197
+ * 1. Transitions don't work on `::-moz-progress-bar` pseudo element in Firefox yet.
2198
+ * https://bugzilla.mozilla.org/show_bug.cgi?id=662351
2284
2199
  */
2285
2200
  .uk-progress::-webkit-progress-value {
2286
2201
  background-color: #1e87f0;
@@ -2288,12 +2203,8 @@ select.uk-form-width-xsmall {
2288
2203
  }
2289
2204
  .uk-progress::-moz-progress-bar {
2290
2205
  background-color: #1e87f0;
2291
- }
2292
- .uk-progress::-ms-fill {
2293
- background-color: #1e87f0;
2294
- transition: width 0.6s ease;
2295
2206
  /* 1 */
2296
- border: 0;
2207
+ transition: width 0.6s ease;
2297
2208
  }
2298
2209
  /* ========================================================================
2299
2210
  Component: Section
@@ -3778,10 +3689,8 @@ select.uk-form-width-xsmall {
3778
3689
  /*
3779
3690
  * 1. Create position context for spinner and close button
3780
3691
  * 2. Dimensions
3781
- * 3. Fix `max-width: 100%` not working in combination with flex and responsive images in IE11
3782
- * `!important` needed to overwrite `uk-width-auto`. See `#modal-media-image` in tests
3783
- * 4. Style
3784
- * 5. Slide-in transition
3692
+ * 3. Style
3693
+ * 4. Slide-in transition
3785
3694
  */
3786
3695
  .uk-modal-dialog {
3787
3696
  /* 1 */
@@ -3791,10 +3700,8 @@ select.uk-form-width-xsmall {
3791
3700
  margin: 0 auto;
3792
3701
  width: 600px;
3793
3702
  /* 3 */
3794
- max-width: calc(100% - 0.01px) !important;
3795
- /* 4 */
3796
3703
  background: #fff;
3797
- /* 5 */
3704
+ /* 4 */
3798
3705
  opacity: 0;
3799
3706
  transform: translateY(-100px);
3800
3707
  transition: 0.3s linear;
@@ -3956,7 +3863,6 @@ select.uk-form-width-xsmall {
3956
3863
  * 2. Take the full width
3957
3864
  * 3. Clip child elements, e.g. for `uk-cover`
3958
3865
  * 4. Optimize animation
3959
- * 5. Disable horizontal panning gestures in IE11 and Edge
3960
3866
  */
3961
3867
  .uk-slideshow-items > * {
3962
3868
  /* 1 */
@@ -3970,8 +3876,6 @@ select.uk-form-width-xsmall {
3970
3876
  overflow: hidden;
3971
3877
  /* 4 */
3972
3878
  will-change: transform, opacity;
3973
- /* 5 */
3974
- touch-action: pan-y;
3975
3879
  }
3976
3880
  /*
3977
3881
  * Hide not active items
@@ -4038,7 +3942,6 @@ select.uk-form-width-xsmall {
4038
3942
  * 1. Let items take content dimensions (0 0 auto)
4039
3943
  * `max-width` needed to keep image responsiveness and prevent content overflow
4040
3944
  * 3. Create position context
4041
- * 4. Disable horizontal panning gestures in IE11 and Edge
4042
3945
  */
4043
3946
  .uk-slider-items > * {
4044
3947
  /* 1 */
@@ -4046,8 +3949,6 @@ select.uk-form-width-xsmall {
4046
3949
  max-width: 100%;
4047
3950
  /* 3 */
4048
3951
  position: relative;
4049
- /* 4 */
4050
- touch-action: pan-y;
4051
3952
  }
4052
3953
  /* ========================================================================
4053
3954
  Component: Sticky
@@ -4350,9 +4251,6 @@ select.uk-form-width-xsmall {
4350
4251
  /*
4351
4252
  * Pass fill character to JS
4352
4253
  */
4353
- .uk-leader-fill-content::before {
4354
- content: '.';
4355
- }
4356
4254
  :root {
4357
4255
  --uk-leader-fill-content: '.';
4358
4256
  }
@@ -5177,13 +5075,6 @@ ul.uk-nav-sub {
5177
5075
  .uk-navbar-container:not(.uk-navbar-transparent) {
5178
5076
  background: #f8f8f8;
5179
5077
  }
5180
- /*
5181
- * Remove pseudo elements created by micro clearfix as precaution (if Container component is used)
5182
- */
5183
- .uk-navbar-container > ::before,
5184
- .uk-navbar-container > ::after {
5185
- display: none !important;
5186
- }
5187
5078
  /* Groups
5188
5079
  ========================================================================== */
5189
5080
  /*
@@ -6229,7 +6120,6 @@ ul.uk-nav-sub {
6229
6120
  * 4. Optimize animation
6230
6121
  * 5. Responsiveness
6231
6122
  * Using `vh` for `max-height` to fix image proportions after resize in Safari and Opera
6232
- * Using `vh` and `vw` to make responsive image work in IE11
6233
6123
  */
6234
6124
  .uk-lightbox-items > * {
6235
6125
  /* 1 */
@@ -7271,24 +7161,20 @@ ul.uk-nav-sub {
7271
7161
  /* Background modifier
7272
7162
  ========================================================================== */
7273
7163
  /*
7274
- * 1. The background clips to the foreground text. Works in Chrome, Firefox, Safari, Edge and Opera
7275
- * Default color is set to transparent
7276
- * 2. Container fits the text
7277
- * 3. Fallback color for IE11
7164
+ * 1. The background clips to the foreground text. Works in all browsers.
7165
+ * 2. Default color is set to transparent.
7166
+ * 3. Container fits the text
7167
+ * 4. Style
7278
7168
  */
7279
7169
  .uk-text-background {
7280
7170
  /* 1 */
7281
7171
  -webkit-background-clip: text;
7282
7172
  /* 2 */
7283
- display: inline-block;
7173
+ color: transparent !important;
7284
7174
  /* 3 */
7285
- color: #1e87f0 !important;
7286
- }
7287
- @supports (-webkit-background-clip: text) {
7288
- .uk-text-background {
7289
- background-color: #1e87f0;
7290
- color: transparent !important;
7291
- }
7175
+ display: inline-block;
7176
+ /* 4 */
7177
+ background-color: #1e87f0;
7292
7178
  }
7293
7179
  /* Alignment modifiers
7294
7180
  ========================================================================== */
@@ -7394,22 +7280,17 @@ td.uk-text-truncate {
7394
7280
  max-width: 0;
7395
7281
  }
7396
7282
  /*
7397
- * 1. Wrap long words onto the next line and break them if they are too long to fit
7398
- * 2. Legacy `word-wrap` as fallback for `overflow-wrap`
7399
- * 3. Fix `overflow-wrap` which doesn't work with table cells in Chrome, Opera, IE11 and Edge
7400
- * Must use `break-all` to support IE11 and Edge
7401
- * Note: Not using `hyphens: auto;` because it hyphenates text even if not needed
7283
+ * Wrap long words onto the next line and break them if they are too long to fit.
7284
+ * 1. Make it work with table cells in all browsers.
7285
+ * Note: Not using `hyphens: auto` because it hyphenates text even if not needed.
7402
7286
  */
7403
7287
  .uk-text-break {
7404
- /* 1 */
7405
7288
  overflow-wrap: break-word;
7406
- /* 2 */
7407
- word-wrap: break-word;
7408
7289
  }
7409
- /* 3 */
7290
+ /* 1 */
7410
7291
  th.uk-text-break,
7411
7292
  td.uk-text-break {
7412
- word-break: break-all;
7293
+ word-break: break-word;
7413
7294
  }
7414
7295
  /* ========================================================================
7415
7296
  Component: Column
@@ -8032,6 +7913,47 @@ iframe[data-uk-cover] {
8032
7913
  [data-uk-responsive] {
8033
7914
  max-width: 100%;
8034
7915
  }
7916
+ /* Object
7917
+ ========================================================================== */
7918
+ .uk-object-fit-none {
7919
+ object-fit: none;
7920
+ }
7921
+ .uk-object-fit-cover {
7922
+ object-fit: cover;
7923
+ }
7924
+ .uk-object-fit-contain {
7925
+ object-fit: contain;
7926
+ }
7927
+ /*
7928
+ * Position
7929
+ */
7930
+ .uk-object-top-right {
7931
+ object-position: 100% 0;
7932
+ }
7933
+ .uk-object-top-center {
7934
+ object-position: 50% 0;
7935
+ }
7936
+ .uk-object-top-left {
7937
+ object-position: 0% 0;
7938
+ }
7939
+ .uk-object-center-right {
7940
+ object-position: 100% 50%;
7941
+ }
7942
+ .uk-object-center-center {
7943
+ object-position: 50% 50%;
7944
+ }
7945
+ .uk-object-center-left {
7946
+ object-position: 0% 50%;
7947
+ }
7948
+ .uk-object-bottom-right {
7949
+ object-position: 100% 100%;
7950
+ }
7951
+ .uk-object-bottom-center {
7952
+ object-position: 50% 100%;
7953
+ }
7954
+ .uk-object-bottom-left {
7955
+ object-position: 0% 100%;
7956
+ }
8035
7957
  /* Border
8036
7958
  ========================================================================== */
8037
7959
  .uk-border-circle {
@@ -8283,15 +8205,6 @@ iframe[data-uk-cover] {
8283
8205
  .uk-flex-inline {
8284
8206
  display: inline-flex;
8285
8207
  }
8286
- /*
8287
- * Remove pseudo elements created by micro clearfix as precaution
8288
- */
8289
- .uk-flex::before,
8290
- .uk-flex::after,
8291
- .uk-flex-inline::before,
8292
- .uk-flex-inline::after {
8293
- display: none;
8294
- }
8295
8208
  /* Alignment
8296
8209
  ========================================================================== */
8297
8210
  /*