uikit 3.24.2-dev.0c818599c → 3.24.2-dev.36b5f74cf

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 (47) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/build/scope.js +10 -1
  3. package/dist/css/uikit-core-rtl.css +4 -1
  4. package/dist/css/uikit-core-rtl.min.css +1 -1
  5. package/dist/css/uikit-core.css +4 -1
  6. package/dist/css/uikit-core.min.css +1 -1
  7. package/dist/css/uikit-rtl.css +4 -1
  8. package/dist/css/uikit-rtl.min.css +1 -1
  9. package/dist/css/uikit.css +4 -1
  10. package/dist/css/uikit.min.css +1 -1
  11. package/dist/js/components/countdown.js +1 -1
  12. package/dist/js/components/countdown.min.js +1 -1
  13. package/dist/js/components/filter.js +1 -1
  14. package/dist/js/components/filter.min.js +1 -1
  15. package/dist/js/components/lightbox-panel.js +2 -2
  16. package/dist/js/components/lightbox-panel.min.js +1 -1
  17. package/dist/js/components/lightbox.js +2 -2
  18. package/dist/js/components/lightbox.min.js +1 -1
  19. package/dist/js/components/notification.js +1 -1
  20. package/dist/js/components/notification.min.js +1 -1
  21. package/dist/js/components/parallax.js +1 -1
  22. package/dist/js/components/parallax.min.js +1 -1
  23. package/dist/js/components/slider-parallax.js +1 -1
  24. package/dist/js/components/slider-parallax.min.js +1 -1
  25. package/dist/js/components/slider.js +1 -1
  26. package/dist/js/components/slider.min.js +1 -1
  27. package/dist/js/components/slideshow-parallax.js +1 -1
  28. package/dist/js/components/slideshow-parallax.min.js +1 -1
  29. package/dist/js/components/slideshow.js +1 -1
  30. package/dist/js/components/slideshow.min.js +1 -1
  31. package/dist/js/components/sortable.js +1 -1
  32. package/dist/js/components/sortable.min.js +1 -1
  33. package/dist/js/components/tooltip.js +1 -1
  34. package/dist/js/components/tooltip.min.js +1 -1
  35. package/dist/js/components/upload.js +1 -1
  36. package/dist/js/components/upload.min.js +1 -1
  37. package/dist/js/uikit-core.js +4 -4
  38. package/dist/js/uikit-core.min.js +1 -1
  39. package/dist/js/uikit-icons.js +1 -1
  40. package/dist/js/uikit-icons.min.js +1 -1
  41. package/dist/js/uikit.js +4 -4
  42. package/dist/js/uikit.min.js +1 -1
  43. package/package.json +1 -1
  44. package/src/js/util/player.js +2 -1
  45. package/src/js/util/scroll.js +2 -2
  46. package/src/less/components/width.less +2 -0
  47. package/src/scss/components/width.scss +2 -0
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.24.2-dev.0c818599c",
5
+ "version": "3.24.2-dev.36b5f74cf",
6
6
  "main": "dist/js/uikit.js",
7
7
  "style": "dist/css/uikit.css",
8
8
  "sideEffects": [
@@ -14,7 +14,8 @@ export function play(el) {
14
14
 
15
15
  export function pause(el) {
16
16
  if (isIFrame(el)) {
17
- call(el, { func: 'pauseVideo', method: 'pause' });
17
+ // Safari ignores the attribute loading=lazy when the src gets set through JS
18
+ el[stateKey] && call(el, { func: 'pauseVideo', method: 'pause' });
18
19
  }
19
20
 
20
21
  if (isHTML5(el)) {
@@ -1,4 +1,4 @@
1
- import { css, getEventPos, matches, on, once, resetProps, scrollParents } from 'uikit-util';
1
+ import { css, getEventPos, matches, on, once, resetProps, scrollParents, width } from 'uikit-util';
2
2
 
3
3
  let prevented;
4
4
  export function preventBackgroundScroll(el) {
@@ -53,7 +53,7 @@ export function preventBackgroundScroll(el) {
53
53
  const props = {
54
54
  overflowY: CSS.supports('overflow', 'clip') ? 'clip' : 'hidden',
55
55
  touchAction: 'none',
56
- scrollbarGutter: 'stable',
56
+ scrollbarGutter: width(window) - scrollingElement.clientWidth ? 'stable' : '',
57
57
  };
58
58
  css(scrollingElement, props);
59
59
  return () => {
@@ -474,6 +474,8 @@
474
474
  /* Intrinsic Widths
475
475
  ========================================================================== */
476
476
 
477
+ .uk-width-fit-content { width: fit-content; }
478
+
477
479
  .uk-width-max-content { width: max-content; }
478
480
 
479
481
  .uk-width-min-content { width: min-content; }
@@ -472,6 +472,8 @@
472
472
  /* Intrinsic Widths
473
473
  ========================================================================== */
474
474
 
475
+ .uk-width-fit-content { width: fit-content; }
476
+
475
477
  .uk-width-max-content { width: max-content; }
476
478
 
477
479
  .uk-width-min-content { width: min-content; }