uikit 3.11.2-dev.72dbb9a19 → 3.11.2-dev.92f357b93

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 (108) hide show
  1. package/CHANGELOG.md +32 -18
  2. package/dist/css/uikit-core-rtl.css +80 -171
  3. package/dist/css/uikit-core-rtl.min.css +1 -1
  4. package/dist/css/uikit-core.css +80 -171
  5. package/dist/css/uikit-core.min.css +1 -1
  6. package/dist/css/uikit-rtl.css +82 -177
  7. package/dist/css/uikit-rtl.min.css +1 -1
  8. package/dist/css/uikit.css +82 -177
  9. package/dist/css/uikit.min.css +1 -1
  10. package/dist/js/components/countdown.js +1 -1
  11. package/dist/js/components/countdown.min.js +1 -1
  12. package/dist/js/components/filter.js +1 -1
  13. package/dist/js/components/filter.min.js +1 -1
  14. package/dist/js/components/lightbox-panel.js +1 -1
  15. package/dist/js/components/lightbox-panel.min.js +1 -1
  16. package/dist/js/components/lightbox.js +1 -1
  17. package/dist/js/components/lightbox.min.js +1 -1
  18. package/dist/js/components/notification.js +1 -1
  19. package/dist/js/components/notification.min.js +1 -1
  20. package/dist/js/components/parallax.js +110 -72
  21. package/dist/js/components/parallax.min.js +1 -1
  22. package/dist/js/components/slider-parallax.js +110 -72
  23. package/dist/js/components/slider-parallax.min.js +1 -1
  24. package/dist/js/components/slider.js +57 -2
  25. package/dist/js/components/slider.min.js +1 -1
  26. package/dist/js/components/slideshow-parallax.js +110 -72
  27. package/dist/js/components/slideshow-parallax.min.js +1 -1
  28. package/dist/js/components/slideshow.js +45 -3
  29. package/dist/js/components/slideshow.min.js +1 -1
  30. package/dist/js/components/sortable.js +1 -1
  31. package/dist/js/components/sortable.min.js +1 -1
  32. package/dist/js/components/tooltip.js +1 -1
  33. package/dist/js/components/tooltip.min.js +1 -1
  34. package/dist/js/components/upload.js +1 -1
  35. package/dist/js/components/upload.min.js +1 -1
  36. package/dist/js/uikit-core.js +172 -165
  37. package/dist/js/uikit-core.min.js +1 -1
  38. package/dist/js/uikit-icons.js +1 -1
  39. package/dist/js/uikit-icons.min.js +1 -1
  40. package/dist/js/uikit.js +347 -241
  41. package/dist/js/uikit.min.js +1 -1
  42. package/package.json +1 -1
  43. package/src/js/components/internal/slider-preload.js +37 -0
  44. package/src/js/components/slider.js +21 -1
  45. package/src/js/components/slideshow.js +8 -1
  46. package/src/js/core/img.js +129 -114
  47. package/src/js/core/sticky.js +1 -1
  48. package/src/js/core/svg.js +10 -6
  49. package/src/js/core/toggle.js +2 -1
  50. package/src/js/mixin/parallax.js +110 -72
  51. package/src/js/util/dom.js +27 -30
  52. package/src/js/util/lang.js +6 -5
  53. package/src/js/util/player.js +3 -2
  54. package/src/js/util/style.js +4 -4
  55. package/src/less/components/base.less +10 -28
  56. package/src/less/components/form-range.less +52 -97
  57. package/src/less/components/form.less +0 -1
  58. package/src/less/components/lightbox.less +0 -1
  59. package/src/less/components/modal.less +3 -7
  60. package/src/less/components/progress.less +14 -36
  61. package/src/less/components/slider.less +0 -3
  62. package/src/less/components/slideshow.less +0 -3
  63. package/src/less/components/text.less +16 -32
  64. package/src/scss/components/base.scss +10 -28
  65. package/src/scss/components/form-range.scss +52 -97
  66. package/src/scss/components/form.scss +0 -1
  67. package/src/scss/components/lightbox.scss +0 -1
  68. package/src/scss/components/modal.scss +3 -7
  69. package/src/scss/components/progress.scss +14 -36
  70. package/src/scss/components/slider.scss +0 -3
  71. package/src/scss/components/slideshow.scss +0 -3
  72. package/src/scss/components/text.scss +16 -32
  73. package/src/scss/mixins-theme.scss +1 -1
  74. package/src/scss/mixins.scss +1 -1
  75. package/src/scss/variables-theme.scss +3 -3
  76. package/src/scss/variables.scss +3 -3
  77. package/tests/align.html +10 -10
  78. package/tests/animation.html +2 -2
  79. package/tests/article.html +2 -2
  80. package/tests/base.html +3 -3
  81. package/tests/card.html +10 -10
  82. package/tests/column.html +3 -3
  83. package/tests/comment.html +9 -9
  84. package/tests/dotnav.html +3 -3
  85. package/tests/image.html +296 -64
  86. package/tests/images/image-type.avif +0 -0
  87. package/tests/images/image-type.jpeg +0 -0
  88. package/tests/images/image-type.webp +0 -0
  89. package/tests/index.html +8 -8
  90. package/tests/lightbox.html +10 -10
  91. package/tests/marker.html +2 -2
  92. package/tests/modal.html +8 -9
  93. package/tests/navbar.html +2 -2
  94. package/tests/overlay.html +7 -7
  95. package/tests/parallax.html +14 -5
  96. package/tests/position.html +12 -12
  97. package/tests/slidenav.html +12 -12
  98. package/tests/slider.html +20 -20
  99. package/tests/sortable.html +1 -1
  100. package/tests/sticky-parallax.html +47 -62
  101. package/tests/svg.html +6 -6
  102. package/tests/table.html +11 -11
  103. package/tests/thumbnav.html +12 -12
  104. package/tests/transition.html +30 -30
  105. package/tests/utility.html +33 -33
  106. package/tests/video.html +1 -1
  107. package/tests/width.html +1 -1
  108. package/tests/images/animated.gif +0 -0
package/CHANGELOG.md CHANGED
@@ -4,18 +4,32 @@
4
4
 
5
5
  ### Added
6
6
 
7
+ - Add support for `<picture>` element to Image component
8
+ - Add `sources` option to emulate `<picture>` element for background images to Image component
9
+ - Add `loading` option to avoid lazy loading background images in first visible viewport to Image component
10
+ - Add support for `loading="lazy"` attribute to SVG component
7
11
  - Add `position` option with `top`, `bottom` and `auto` values to Sticky component
8
12
  - Add support for basic math operands in `offset` option of Sticky component
13
+ - Add animation stop positions to Parallax component
9
14
  - Add object fit and position classes to Utility component
15
+ - Add support for specifying location for steps in Parallax component
10
16
 
11
17
  ### Changed
12
18
 
19
+ - Image elements need `width` and `height` attributes to prevent layout shifts
20
+ - Image component no longer relies on session storage to check for cached images to immediately show an image
21
+ - Slideshow and Slider remove native `loading="lazy"` attribute from adjacent slides
13
22
  - Improve sticky behavior if sticky content is larger than the viewport
14
23
  - Sticky component's `bottom` option checks for bottom padding if sticky element is within referenced element
15
24
 
25
+ ### Deprecated
26
+
27
+ - Deprecate `uk-img` for `<img>` element: Use native `loading="lazy"` attribute instead
28
+
16
29
  ## Removed
17
30
 
18
- - Drop IE11 support from JavaScript
31
+ - Remove IE11 support
32
+ - Removed `data-width` and `data-height` for `<img>` element from Image component. Use native attributes instead.
19
33
 
20
34
  ### Fixed
21
35
 
@@ -62,7 +76,7 @@
62
76
  - Fix usage of `data-` prefix for Cover and Responsive component
63
77
  - Fix pointer events for iframes in Cover component
64
78
  - Fix Slideshow component no longer throws if items list does not exist
65
- - Fix space key no longer triggers Toggle on `input` elements
79
+ - Fix space key no longer triggers Toggle on `<input>` element
66
80
 
67
81
  ## 3.10.0 (January 12, 2022)
68
82
 
@@ -379,7 +393,7 @@
379
393
 
380
394
  - Fix component update handling
381
395
  - Fix Tooltip position
382
- - Fix Tooltip component applied to button elements in iOS
396
+ - Fix Tooltip component applied to `<button>` element in iOS
383
397
  - Fix regression in Switcher component
384
398
 
385
399
  ## 3.6.8 (January 5, 2021)
@@ -928,7 +942,7 @@
928
942
  ### Fixed
929
943
 
930
944
  - Fix Slideshow invisible after switching tabs in Switcher
931
- - Fix lazy loading images in Img component in UC Browser
945
+ - Fix lazy loading images in Image component in UC Browser
932
946
  - Fix opening Offcanvas/Modal through buttons
933
947
 
934
948
  ## 3.1.8 (August 29, 2019)
@@ -1098,8 +1112,8 @@
1098
1112
  ### Fixed
1099
1113
 
1100
1114
  - Fix touch event detection
1101
- - Fix background images are shown too large on retina displays in Img component
1102
- - Fix correctly calculate offsetLeft in Img component
1115
+ - Fix background images are shown too large on retina displays in Image component
1116
+ - Fix correctly calculate offsetLeft in Image component
1103
1117
  - Fix autofocus elements not blurring within Toggable on hide
1104
1118
 
1105
1119
  ## 3.0.2 (January 15, 2019)
@@ -1108,7 +1122,7 @@
1108
1122
 
1109
1123
  - Fix offcanvas overlay transition
1110
1124
  - Fix active state in Switcher component
1111
- - Fix background images on displays with higher devicePixelRatio in Img component
1125
+ - Fix background images on displays with higher devicePixelRatio in Image component
1112
1126
 
1113
1127
  ## 3.0.1 (January 14, 2019)
1114
1128
 
@@ -1141,7 +1155,7 @@
1141
1155
  ### Fixed
1142
1156
 
1143
1157
  - Fix visible toggle and its child elements not being focusable through keyboard navigation
1144
- - Fix Img component correctly escapes urls on background images
1158
+ - Fix Image component correctly escapes urls on background images
1145
1159
 
1146
1160
  ## 3.0.0 rc 26 (January 3, 2019)
1147
1161
 
@@ -1160,8 +1174,8 @@
1160
1174
  - Fix `flex bug` mixin (IE 11)
1161
1175
  - Fix properly resolving css custom properties in scss
1162
1176
  - Fix order of variable assignments in scss
1163
- - Fix background images are shown too large on retina displays in Img component
1164
- - Fix lazy loading images in Img component in Safari
1177
+ - Fix background images are shown too large on retina displays in Image component
1178
+ - Fix lazy loading images in Image component in Safari
1165
1179
  - Limit positioned element to container width and margin in Position component
1166
1180
 
1167
1181
  ## 3.0.0 rc 25 (November 30, 2018)
@@ -1249,7 +1263,7 @@
1249
1263
 
1250
1264
  ### Fixed
1251
1265
 
1252
- - Fix preserve color not working if class is set on svg element in Icon component
1266
+ - Fix preserve color not working if class is set on `<svg>` element in Icon component
1253
1267
  - Fix inverse hover color for accordion title
1254
1268
  - Fix close color being overwritten from toolbar in Lightbox component
1255
1269
  - Fix Modal not hiding upon being destroyed
@@ -1493,7 +1507,7 @@
1493
1507
 
1494
1508
  ### Added
1495
1509
 
1496
- - Add Img component to lazy load images
1510
+ - Add Image component to lazy load images
1497
1511
  - Add Filter component to filter and sort any kind of layout
1498
1512
  - Add `masonry` option to Grid component
1499
1513
  - Add inverse style for form icon
@@ -1656,7 +1670,7 @@
1656
1670
 
1657
1671
  ### Changed
1658
1672
 
1659
- - IMPORTANT: Use `a` element instead of headings for the accordion title
1673
+ - IMPORTANT: Use `<a>` element instead of headings for the accordion title
1660
1674
  - Calling a component constructor with data on an already initialized component will reset the component
1661
1675
  - Dropbar no longer repositions Dropdowns in DOM upon opening
1662
1676
 
@@ -1757,7 +1771,7 @@
1757
1771
  - Fix slide animations stacking when tab is not focused in Slideshow component
1758
1772
  - Fix overlay not showing in Offcanvas component
1759
1773
  - Fix Slideshow Parallax in Slideshow component for IE11
1760
- - Fix default border-radius for button elements in Chrome 62.
1774
+ - Fix default border-radius for `<button>` element in Chrome 62.
1761
1775
 
1762
1776
  ## 3.0.0 beta 31 (October 20, 2017)
1763
1777
 
@@ -1866,7 +1880,7 @@
1866
1880
 
1867
1881
  - Offcanvas will keep scroll position if anchor link was clicked
1868
1882
  - Fix margin modifier in Position component for IE11
1869
- - Fix divider-small text alignment for `hr` elements Edge and IE
1883
+ - Fix divider-small text alignment for `<hr>` element Edge and IE
1870
1884
  - Fix setting the ratio of Spinner component
1871
1885
  - Fix event handling in Sortable component
1872
1886
  - Fix grid calculation (Firefox)
@@ -1902,7 +1916,7 @@
1902
1916
 
1903
1917
  ### Changed
1904
1918
 
1905
- - Make Icon component work with button elements
1919
+ - Make Icon component work with `<button>` element
1906
1920
 
1907
1921
  ### Fixed
1908
1922
 
@@ -2232,7 +2246,7 @@
2232
2246
 
2233
2247
  ### Changed
2234
2248
 
2235
- - UIkit observes `body` element too now
2249
+ - UIkit observes `<body>` element too now
2236
2250
  - Performance improvements
2237
2251
 
2238
2252
  ### Fixed
@@ -2278,7 +2292,7 @@
2278
2292
 
2279
2293
  ### Fixed
2280
2294
 
2281
- - Fix Icon component on canvas elements (Safari)
2295
+ - Fix Icon component on `<canvas>` elements (Safari)
2282
2296
 
2283
2297
  ## 3.0.0 beta 1 (January 09, 2017)
2284
2298
 
@@ -1,10 +1,9 @@
1
- /*! UIkit 3.11.2-dev.72dbb9a19 | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
1
+ /*! UIkit 3.11.2-dev.92f357b93 | 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
- /*
168
- * Hide the overflow in IE.
169
- */
170
- svg:not(:root) {
171
- overflow: hidden;
172
- }
173
158
  /*
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
@@ -1202,28 +1187,29 @@ button.uk-icon:not(:disabled) {
1202
1187
  Component: Form Range
1203
1188
  ========================================================================== */
1204
1189
  /*
1205
- * 1. Normalize and defaults
1206
- * 2. Prevent content overflow if a fixed width is used
1207
- * 3. Take the full width
1208
- * 4. Remove default style
1209
- * 5. Remove white background in Chrome
1210
- * 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.
1211
1197
  */
1212
1198
  .uk-range {
1213
1199
  /* 1 */
1200
+ -webkit-appearance: none;
1201
+ /* 2 */
1214
1202
  box-sizing: border-box;
1203
+ /* 3 */
1215
1204
  margin: 0;
1205
+ /* 4 */
1216
1206
  vertical-align: middle;
1217
- /* 2 */
1207
+ /* 5 */
1218
1208
  max-width: 100%;
1219
- /* 3 */
1209
+ /* 6 */
1220
1210
  width: 100%;
1221
- /* 4 */
1222
- -webkit-appearance: none;
1223
- /* 5 */
1211
+ /* 7 */
1224
1212
  background: transparent;
1225
- /* 6 */
1226
- padding: 0;
1227
1213
  }
1228
1214
  /* Focus */
1229
1215
  .uk-range:focus {
@@ -1232,13 +1218,6 @@ button.uk-icon:not(:disabled) {
1232
1218
  .uk-range::-moz-focus-outer {
1233
1219
  border: none;
1234
1220
  }
1235
- /* IE11 Reset */
1236
- .uk-range::-ms-track {
1237
- height: 15px;
1238
- background: transparent;
1239
- border-color: transparent;
1240
- color: transparent;
1241
- }
1242
1221
  /*
1243
1222
  * Improves consistency of cursor style for clickable elements
1244
1223
  */
@@ -1248,12 +1227,33 @@ button.uk-icon:not(:disabled) {
1248
1227
  .uk-range:not(:disabled)::-moz-range-thumb {
1249
1228
  cursor: pointer;
1250
1229
  }
1251
- .uk-range:not(:disabled)::-ms-thumb {
1252
- cursor: pointer;
1230
+ /*
1231
+ * Track
1232
+ * 1. Center thumb vertically in Webkit
1233
+ * 2. Safari doesn't have a focus state. Using active instead.
1234
+ */
1235
+ /* Webkit */
1236
+ .uk-range::-webkit-slider-runnable-track {
1237
+ height: 3px;
1238
+ background: #ebebeb;
1239
+ /* 1 */
1240
+ display: flex;
1241
+ align-items: center;
1242
+ }
1243
+ .uk-range:focus::-webkit-slider-runnable-track,
1244
+ .uk-range:active::-webkit-slider-runnable-track {
1245
+ background: #dedede;
1246
+ }
1247
+ /* Firefox */
1248
+ .uk-range::-moz-range-track {
1249
+ height: 3px;
1250
+ background: #ebebeb;
1251
+ }
1252
+ .uk-range:focus::-moz-range-track {
1253
+ background: #dedede;
1253
1254
  }
1254
- /* Thumb
1255
- ========================================================================== */
1256
1255
  /*
1256
+ * Thumb
1257
1257
  * 1. Reset
1258
1258
  * 2. Style
1259
1259
  */
@@ -1261,7 +1261,6 @@ button.uk-icon:not(:disabled) {
1261
1261
  .uk-range::-webkit-slider-thumb {
1262
1262
  /* 1 */
1263
1263
  -webkit-appearance: none;
1264
- margin-top: -7px;
1265
1264
  /* 2 */
1266
1265
  height: 15px;
1267
1266
  width: 15px;
@@ -1278,57 +1277,6 @@ button.uk-icon:not(:disabled) {
1278
1277
  border-radius: 500px;
1279
1278
  background: #666;
1280
1279
  }
1281
- /* Edge */
1282
- .uk-range::-ms-thumb {
1283
- /* 1 */
1284
- margin-top: 0;
1285
- }
1286
- /* IE11 */
1287
- .uk-range::-ms-thumb {
1288
- /* 1 */
1289
- border: none;
1290
- /* 2 */
1291
- height: 15px;
1292
- width: 15px;
1293
- border-radius: 500px;
1294
- background: #666;
1295
- }
1296
- /* Edge + IE11 */
1297
- .uk-range::-ms-tooltip {
1298
- display: none;
1299
- }
1300
- /* Track
1301
- ========================================================================== */
1302
- /*
1303
- * 1. Safari doesn't have a focus state. Using active instead.
1304
- */
1305
- /* Webkit */
1306
- .uk-range::-webkit-slider-runnable-track {
1307
- height: 3px;
1308
- background: #ebebeb;
1309
- }
1310
- .uk-range:focus::-webkit-slider-runnable-track,
1311
- .uk-range:active::-webkit-slider-runnable-track {
1312
- background: #dedede;
1313
- }
1314
- /* Firefox */
1315
- .uk-range::-moz-range-track {
1316
- height: 3px;
1317
- background: #ebebeb;
1318
- }
1319
- .uk-range:focus::-moz-range-track {
1320
- background: #dedede;
1321
- }
1322
- /* Edge */
1323
- .uk-range::-ms-fill-lower,
1324
- .uk-range::-ms-fill-upper {
1325
- height: 3px;
1326
- background: #ebebeb;
1327
- }
1328
- .uk-range:focus::-ms-fill-lower,
1329
- .uk-range:focus::-ms-fill-upper {
1330
- background: #dedede;
1331
- }
1332
1280
  /* ========================================================================
1333
1281
  Component: Form
1334
1282
  ========================================================================== */
@@ -1653,7 +1601,6 @@ select.uk-form-width-xsmall {
1653
1601
  display: none !important;
1654
1602
  }
1655
1603
  /* Radio and checkbox
1656
- * Note: Does not work in IE11
1657
1604
  ========================================================================== */
1658
1605
  /*
1659
1606
  * 1. Style
@@ -2112,27 +2059,23 @@ select.uk-form-width-xsmall {
2112
2059
  Component: Progress
2113
2060
  ========================================================================== */
2114
2061
  /*
2115
- * 1. Add the correct vertical alignment in Chrome, Firefox, and Opera.
2116
- * 2. Remove default style
2117
- * 3. Behave like a block element
2118
- * 4. Remove borders in Firefox and Edge
2119
- * 5. Set background color for progress container in Firefox, IE11 and Edge
2120
- * 6. Style
2062
+ * 1. Add the correct vertical alignment in all browsers.
2063
+ * 2. Behave like a block element.
2064
+ * 3. Remove borders in Firefox.
2065
+ * 4. Remove default style in Chrome, Safari and Edge.
2066
+ * 5. Style
2121
2067
  */
2122
2068
  .uk-progress {
2123
2069
  /* 1 */
2124
2070
  vertical-align: baseline;
2125
2071
  /* 2 */
2126
- -webkit-appearance: none;
2127
- -moz-appearance: none;
2128
- /* 3 */
2129
2072
  display: block;
2130
2073
  width: 100%;
2131
- /* 4 */
2074
+ /* 3 */
2132
2075
  border: 0;
2133
- /* 5 */
2076
+ /* 4 */
2134
2077
  background-color: #f8f8f8;
2135
- /* 6 */
2078
+ /* 5 */
2136
2079
  margin-bottom: 20px;
2137
2080
  height: 15px;
2138
2081
  }
@@ -2141,25 +2084,15 @@ select.uk-form-width-xsmall {
2141
2084
  margin-top: 20px;
2142
2085
  }
2143
2086
  /*
2144
- * Remove animated circles for indeterminate state in IE11 and Edge
2145
- */
2146
- .uk-progress:indeterminate {
2147
- color: transparent;
2148
- }
2149
- /*
2150
- * Progress container
2151
- * 2. Remove progress bar for indeterminate state in Firefox
2087
+ * Show background color set on `uk-progress` in Chrome, Safari and Edge.
2152
2088
  */
2153
2089
  .uk-progress::-webkit-progress-bar {
2154
- background-color: #f8f8f8;
2155
- }
2156
- /* 2 */
2157
- .uk-progress:indeterminate::-moz-progress-bar {
2158
- width: 0;
2090
+ background-color: transparent;
2159
2091
  }
2160
2092
  /*
2161
- * Progress bar
2162
- * 1. Remove right border in IE11 and Edge
2093
+ * Progress Bar
2094
+ * 1. Transitions don't work on `::-moz-progress-bar` pseudo element in Firefox yet.
2095
+ * https://bugzilla.mozilla.org/show_bug.cgi?id=662351
2163
2096
  */
2164
2097
  .uk-progress::-webkit-progress-value {
2165
2098
  background-color: #1e87f0;
@@ -2167,12 +2100,8 @@ select.uk-form-width-xsmall {
2167
2100
  }
2168
2101
  .uk-progress::-moz-progress-bar {
2169
2102
  background-color: #1e87f0;
2170
- }
2171
- .uk-progress::-ms-fill {
2172
- background-color: #1e87f0;
2173
- transition: width 0.6s ease;
2174
2103
  /* 1 */
2175
- border: 0;
2104
+ transition: width 0.6s ease;
2176
2105
  }
2177
2106
  /* ========================================================================
2178
2107
  Component: Section
@@ -3499,10 +3428,8 @@ select.uk-form-width-xsmall {
3499
3428
  /*
3500
3429
  * 1. Create position context for spinner and close button
3501
3430
  * 2. Dimensions
3502
- * 3. Fix `max-width: 100%` not working in combination with flex and responsive images in IE11
3503
- * `!important` needed to overwrite `uk-width-auto`. See `#modal-media-image` in tests
3504
- * 4. Style
3505
- * 5. Slide-in transition
3431
+ * 3. Style
3432
+ * 4. Slide-in transition
3506
3433
  */
3507
3434
  .uk-modal-dialog {
3508
3435
  /* 1 */
@@ -3512,10 +3439,8 @@ select.uk-form-width-xsmall {
3512
3439
  margin: 0 auto;
3513
3440
  width: 600px;
3514
3441
  /* 3 */
3515
- max-width: calc(100% - 0.01px) !important;
3516
- /* 4 */
3517
3442
  background: #fff;
3518
- /* 5 */
3443
+ /* 4 */
3519
3444
  opacity: 0;
3520
3445
  transform: translateY(-100px);
3521
3446
  transition: 0.3s linear;
@@ -3669,7 +3594,6 @@ select.uk-form-width-xsmall {
3669
3594
  * 2. Take the full width
3670
3595
  * 3. Clip child elements, e.g. for `uk-cover`
3671
3596
  * 4. Optimize animation
3672
- * 5. Disable horizontal panning gestures in IE11 and Edge
3673
3597
  */
3674
3598
  .uk-slideshow-items > * {
3675
3599
  /* 1 */
@@ -3683,8 +3607,6 @@ select.uk-form-width-xsmall {
3683
3607
  overflow: hidden;
3684
3608
  /* 4 */
3685
3609
  will-change: transform, opacity;
3686
- /* 5 */
3687
- touch-action: pan-y;
3688
3610
  }
3689
3611
  /*
3690
3612
  * Hide not active items
@@ -3751,7 +3673,6 @@ select.uk-form-width-xsmall {
3751
3673
  * 1. Let items take content dimensions (0 0 auto)
3752
3674
  * `max-width` needed to keep image responsiveness and prevent content overflow
3753
3675
  * 3. Create position context
3754
- * 4. Disable horizontal panning gestures in IE11 and Edge
3755
3676
  */
3756
3677
  .uk-slider-items > * {
3757
3678
  /* 1 */
@@ -3759,8 +3680,6 @@ select.uk-form-width-xsmall {
3759
3680
  max-width: 100%;
3760
3681
  /* 3 */
3761
3682
  position: relative;
3762
- /* 4 */
3763
- touch-action: pan-y;
3764
3683
  }
3765
3684
  /* ========================================================================
3766
3685
  Component: Sticky
@@ -5810,7 +5729,6 @@ ul.uk-nav-sub {
5810
5729
  * 4. Optimize animation
5811
5730
  * 5. Responsiveness
5812
5731
  * Using `vh` for `max-height` to fix image proportions after resize in Safari and Opera
5813
- * Using `vh` and `vw` to make responsive image work in IE11
5814
5732
  */
5815
5733
  .uk-lightbox-items > * {
5816
5734
  /* 1 */
@@ -6845,24 +6763,20 @@ ul.uk-nav-sub {
6845
6763
  /* Background modifier
6846
6764
  ========================================================================== */
6847
6765
  /*
6848
- * 1. The background clips to the foreground text. Works in Chrome, Firefox, Safari, Edge and Opera
6849
- * Default color is set to transparent
6850
- * 2. Container fits the text
6851
- * 3. Fallback color for IE11
6766
+ * 1. The background clips to the foreground text. Works in all browsers.
6767
+ * 2. Default color is set to transparent.
6768
+ * 3. Container fits the text
6769
+ * 4. Style
6852
6770
  */
6853
6771
  .uk-text-background {
6854
6772
  /* 1 */
6855
6773
  -webkit-background-clip: text;
6856
6774
  /* 2 */
6857
- display: inline-block;
6775
+ color: transparent !important;
6858
6776
  /* 3 */
6859
- color: #1e87f0 !important;
6860
- }
6861
- @supports (-webkit-background-clip: text) {
6862
- .uk-text-background {
6863
- background-color: #1e87f0;
6864
- color: transparent !important;
6865
- }
6777
+ display: inline-block;
6778
+ /* 4 */
6779
+ background-color: #1e87f0;
6866
6780
  }
6867
6781
  /* Alignment modifiers
6868
6782
  ========================================================================== */
@@ -6968,22 +6882,17 @@ td.uk-text-truncate {
6968
6882
  max-width: 0;
6969
6883
  }
6970
6884
  /*
6971
- * 1. Wrap long words onto the next line and break them if they are too long to fit
6972
- * 2. Legacy `word-wrap` as fallback for `overflow-wrap`
6973
- * 3. Fix `overflow-wrap` which doesn't work with table cells in Chrome, Opera, IE11 and Edge
6974
- * Must use `break-all` to support IE11 and Edge
6975
- * Note: Not using `hyphens: auto;` because it hyphenates text even if not needed
6885
+ * Wrap long words onto the next line and break them if they are too long to fit.
6886
+ * 1. Make it work with table cells in all browsers.
6887
+ * Note: Not using `hyphens: auto` because it hyphenates text even if not needed.
6976
6888
  */
6977
6889
  .uk-text-break {
6978
- /* 1 */
6979
6890
  overflow-wrap: break-word;
6980
- /* 2 */
6981
- word-wrap: break-word;
6982
6891
  }
6983
- /* 3 */
6892
+ /* 1 */
6984
6893
  th.uk-text-break,
6985
6894
  td.uk-text-break {
6986
- word-break: break-all;
6895
+ word-break: break-word;
6987
6896
  }
6988
6897
  /* ========================================================================
6989
6898
  Component: Column