uikit 3.16.7-dev.8223e4acf → 3.16.7-dev.f88b5a29d

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 (54) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/css/uikit-core-rtl.css +24 -6
  3. package/dist/css/uikit-core-rtl.min.css +1 -1
  4. package/dist/css/uikit-core.css +24 -6
  5. package/dist/css/uikit-core.min.css +1 -1
  6. package/dist/css/uikit-rtl.css +24 -6
  7. package/dist/css/uikit-rtl.min.css +1 -1
  8. package/dist/css/uikit.css +24 -6
  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 +5 -2
  15. package/dist/js/components/lightbox-panel.min.js +1 -1
  16. package/dist/js/components/lightbox.js +5 -2
  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 +2 -2
  21. package/dist/js/components/parallax.min.js +1 -1
  22. package/dist/js/components/slider-parallax.js +1 -1
  23. package/dist/js/components/slider-parallax.min.js +1 -1
  24. package/dist/js/components/slider.js +5 -2
  25. package/dist/js/components/slider.min.js +1 -1
  26. package/dist/js/components/slideshow-parallax.js +1 -1
  27. package/dist/js/components/slideshow-parallax.min.js +1 -1
  28. package/dist/js/components/slideshow.js +5 -2
  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 +44 -21
  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 +48 -22
  41. package/dist/js/uikit.min.js +1 -1
  42. package/package.json +1 -1
  43. package/src/js/api/boot.js +10 -1
  44. package/src/js/api/observables.js +1 -1
  45. package/src/js/api/watch.js +1 -1
  46. package/src/js/core/accordion.js +4 -0
  47. package/src/js/core/dropnav.js +5 -6
  48. package/src/js/core/navbar.js +14 -4
  49. package/src/js/core/sticky.js +7 -2
  50. package/src/js/mixin/slider-nav.js +4 -1
  51. package/src/js/util/fastdom.js +2 -2
  52. package/src/less/components/visibility.less +25 -5
  53. package/src/scss/components/visibility.scss +25 -5
  54. package/tests/navbar.html +2 -2
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.16.7-dev.8223e4acf | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */
1
+ /*! UIkit 3.16.7-dev.f88b5a29d | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */
2
2
  /* ========================================================================
3
3
  Component: Base
4
4
  ========================================================================== */
@@ -8978,25 +8978,43 @@ iframe[data-uk-cover] {
8978
8978
  /* Based on the State of the Parent Element
8979
8979
  ========================================================================== */
8980
8980
  /*
8981
- * Can't use `display: none` nor `visibility: hidden` because both are not focusable.
8981
+ * Mind that `display: none`, `visibility: hidden` and `opacity: 0`
8982
+ * remove the element from the accessibility tree and that
8983
+ * `display: none` and `visibility: hidden` are not focusable.
8984
+ *
8982
8985
  * The target stays visible if any element within receives focus through keyboard.
8983
8986
  */
8984
8987
  /*
8985
- * Discard space when hidden.
8988
+ * Remove space when hidden.
8989
+ * 1. Remove from document flow.
8990
+ * 2. Hide element and shrink its dimension. Can't use zero dimensions together
8991
+ * with `overflow: hidden` it would remove it from the accessibility tree.
8992
+ * 3. Hide the single rendered pixel.
8993
+ * 4. Prevent text wrapping caused by `width: 1px` because it has side effects on vocalisation
8994
+ * by screen readers and the visual tracking indicator of other assistive technologies.
8986
8995
  */
8996
+ .uk-hidden-visually:not(:focus):not(:active):not(:focus-within),
8987
8997
  .uk-visible-toggle:not(:hover):not(:focus) .uk-hidden-hover:not(:focus-within) {
8998
+ /* 1 */
8988
8999
  position: absolute !important;
8989
- width: 0 !important;
8990
- height: 0 !important;
9000
+ /* 2 */
9001
+ width: 1px !important;
9002
+ height: 1px !important;
8991
9003
  padding: 0 !important;
9004
+ border: 0 !important;
8992
9005
  margin: 0 !important;
8993
9006
  overflow: hidden !important;
9007
+ /* 3 */
9008
+ clip-path: inset(50%) !important;
9009
+ /* 4 */
9010
+ white-space: nowrap !important;
8994
9011
  }
8995
9012
  /*
8996
9013
  * Keep space when hidden.
9014
+ * Hide element without shrinking its dimension.
8997
9015
  */
8998
9016
  .uk-visible-toggle:not(:hover):not(:focus) .uk-invisible-hover:not(:focus-within) {
8999
- opacity: 0 !important;
9017
+ clip-path: inset(50%) !important;
9000
9018
  }
9001
9019
  /* Based on Hover Capability of the Pointing Device
9002
9020
  ========================================================================== */