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

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 (53) hide show
  1. package/CHANGELOG.md +12 -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 +1 -1
  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 +43 -20
  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 +47 -21
  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/watch.js +1 -1
  45. package/src/js/core/accordion.js +4 -0
  46. package/src/js/core/dropnav.js +5 -6
  47. package/src/js/core/navbar.js +14 -4
  48. package/src/js/core/sticky.js +7 -2
  49. package/src/js/mixin/slider-nav.js +4 -1
  50. package/src/js/util/fastdom.js +2 -2
  51. package/src/less/components/visibility.less +25 -5
  52. package/src/scss/components/visibility.scss +25 -5
  53. 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.e91049985 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */
2
2
  /* ========================================================================
3
3
  Component: Base
4
4
  ========================================================================== */
@@ -9391,25 +9391,43 @@ iframe[data-uk-cover] {
9391
9391
  /* Based on the State of the Parent Element
9392
9392
  ========================================================================== */
9393
9393
  /*
9394
- * Can't use `display: none` nor `visibility: hidden` because both are not focusable.
9394
+ * Mind that `display: none`, `visibility: hidden` and `opacity: 0`
9395
+ * remove the element from the accessibility tree and that
9396
+ * `display: none` and `visibility: hidden` are not focusable.
9397
+ *
9395
9398
  * The target stays visible if any element within receives focus through keyboard.
9396
9399
  */
9397
9400
  /*
9398
- * Discard space when hidden.
9401
+ * Remove space when hidden.
9402
+ * 1. Remove from document flow.
9403
+ * 2. Hide element and shrink its dimension. Can't use zero dimensions together
9404
+ * with `overflow: hidden` it would remove it from the accessibility tree.
9405
+ * 3. Hide the single rendered pixel.
9406
+ * 4. Prevent text wrapping caused by `width: 1px` because it has side effects on vocalisation
9407
+ * by screen readers and the visual tracking indicator of other assistive technologies.
9399
9408
  */
9409
+ .uk-hidden-visually:not(:focus):not(:active):not(:focus-within),
9400
9410
  .uk-visible-toggle:not(:hover):not(:focus) .uk-hidden-hover:not(:focus-within) {
9411
+ /* 1 */
9401
9412
  position: absolute !important;
9402
- width: 0 !important;
9403
- height: 0 !important;
9413
+ /* 2 */
9414
+ width: 1px !important;
9415
+ height: 1px !important;
9404
9416
  padding: 0 !important;
9417
+ border: 0 !important;
9405
9418
  margin: 0 !important;
9406
9419
  overflow: hidden !important;
9420
+ /* 3 */
9421
+ clip-path: inset(50%) !important;
9422
+ /* 4 */
9423
+ white-space: nowrap !important;
9407
9424
  }
9408
9425
  /*
9409
9426
  * Keep space when hidden.
9427
+ * Hide element without shrinking its dimension.
9410
9428
  */
9411
9429
  .uk-visible-toggle:not(:hover):not(:focus) .uk-invisible-hover:not(:focus-within) {
9412
- opacity: 0 !important;
9430
+ clip-path: inset(50%) !important;
9413
9431
  }
9414
9432
  /* Based on Hover Capability of the Pointing Device
9415
9433
  ========================================================================== */