uikit 3.21.7 → 3.21.8-dev.51a83b1e4

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 (48) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/build/prefix.js +8 -7
  3. package/build/scope.js +2 -2
  4. package/build/util.js +0 -1
  5. package/dist/css/uikit-core-rtl.css +8 -14
  6. package/dist/css/uikit-core-rtl.min.css +1 -1
  7. package/dist/css/uikit-core.css +8 -14
  8. package/dist/css/uikit-core.min.css +1 -1
  9. package/dist/css/uikit-rtl.css +8 -14
  10. package/dist/css/uikit-rtl.min.css +1 -1
  11. package/dist/css/uikit.css +8 -14
  12. package/dist/css/uikit.min.css +1 -1
  13. package/dist/js/components/countdown.js +1 -1
  14. package/dist/js/components/countdown.min.js +1 -1
  15. package/dist/js/components/filter.js +1 -1
  16. package/dist/js/components/filter.min.js +1 -1
  17. package/dist/js/components/lightbox-panel.js +1 -1
  18. package/dist/js/components/lightbox-panel.min.js +1 -1
  19. package/dist/js/components/lightbox.js +1 -1
  20. package/dist/js/components/lightbox.min.js +1 -1
  21. package/dist/js/components/notification.js +1 -1
  22. package/dist/js/components/notification.min.js +1 -1
  23. package/dist/js/components/parallax.js +1 -1
  24. package/dist/js/components/parallax.min.js +1 -1
  25. package/dist/js/components/slider-parallax.js +1 -1
  26. package/dist/js/components/slider-parallax.min.js +1 -1
  27. package/dist/js/components/slider.js +1 -1
  28. package/dist/js/components/slider.min.js +1 -1
  29. package/dist/js/components/slideshow-parallax.js +1 -1
  30. package/dist/js/components/slideshow-parallax.min.js +1 -1
  31. package/dist/js/components/slideshow.js +1 -1
  32. package/dist/js/components/slideshow.min.js +1 -1
  33. package/dist/js/components/sortable.js +1 -1
  34. package/dist/js/components/sortable.min.js +1 -1
  35. package/dist/js/components/tooltip.js +1 -1
  36. package/dist/js/components/tooltip.min.js +1 -1
  37. package/dist/js/components/upload.js +1 -1
  38. package/dist/js/components/upload.min.js +1 -1
  39. package/dist/js/uikit-core.js +3 -3
  40. package/dist/js/uikit-core.min.js +1 -1
  41. package/dist/js/uikit-icons.js +1 -1
  42. package/dist/js/uikit-icons.min.js +1 -1
  43. package/dist/js/uikit.js +3 -3
  44. package/dist/js/uikit.min.js +1 -1
  45. package/package.json +1 -1
  46. package/src/js/util/viewport.js +11 -2
  47. package/src/less/components/visibility.less +7 -13
  48. package/src/scss/components/visibility.scss +7 -13
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.21.7 | https://www.getuikit.com | (c) 2014 - 2024 YOOtheme | MIT License */
1
+ /*! UIkit 3.21.8-dev.51a83b1e4 | https://www.getuikit.com | (c) 2014 - 2024 YOOtheme | MIT License */
2
2
  /* ========================================================================
3
3
  Component: Base
4
4
  ========================================================================== */
@@ -9829,33 +9829,27 @@ iframe[data-uk-cover] {
9829
9829
  /*
9830
9830
  * Remove space when hidden.
9831
9831
  * 1. Remove from document flow.
9832
- * 2. Hide element and shrink its dimension. Can't use zero dimensions together
9833
- * with `overflow: hidden` it would remove it from the accessibility tree.
9834
- * 3. Hide the single rendered pixel.
9835
- * 4. Prevent text wrapping caused by `width: 1px` because it has side effects on vocalisation
9836
- * by screen readers and the visual tracking indicator of other assistive technologies.
9832
+ * 2. Hide element and shrink its dimension. Current browsers and screen readers
9833
+ * keep the element in the accessibility tree even with zero dimensions.
9834
+ * Using `tabindex="-1"` will show the element on touch devices.
9835
+ * Note: `clip-path` doesn't work with `tabindex` on touch devices.
9837
9836
  */
9838
9837
  .uk-hidden-visually:not(:focus):not(:active):not(:focus-within),
9839
9838
  .uk-visible-toggle:not(:hover):not(:focus) .uk-hidden-hover:not(:focus-within) {
9840
9839
  /* 1 */
9841
9840
  position: absolute !important;
9842
9841
  /* 2 */
9843
- width: 1px !important;
9844
- height: 1px !important;
9842
+ width: 0 !important;
9843
+ height: 0 !important;
9845
9844
  padding: 0 !important;
9846
9845
  border: 0 !important;
9847
9846
  margin: 0 !important;
9848
9847
  overflow: hidden !important;
9849
- /* 3 */
9850
- clip-path: inset(50%) !important;
9851
- /* 4 */
9852
- white-space: nowrap !important;
9853
9848
  }
9854
9849
  /*
9855
9850
  * Keep space when hidden.
9856
9851
  * Hide element without shrinking its dimension.
9857
- * Unfortunately, can't use `clip-path: inset(50%)` because hover won't work
9858
- * if the element is positioned outside of the toggle box.
9852
+ * Note: `clip-path` doesn't work with hover for elements outside of the toggle box.
9859
9853
  */
9860
9854
  .uk-visible-toggle:not(:hover):not(:focus) .uk-invisible-hover:not(:focus-within) {
9861
9855
  opacity: 0 !important;