uikit 3.7.7-dev.4ce0508ae → 3.8.1

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 (52) hide show
  1. package/CHANGELOG.md +16 -1
  2. package/dist/css/uikit-core-rtl.css +16 -11
  3. package/dist/css/uikit-core-rtl.min.css +1 -1
  4. package/dist/css/uikit-core.css +16 -11
  5. package/dist/css/uikit-core.min.css +1 -1
  6. package/dist/css/uikit-rtl.css +16 -11
  7. package/dist/css/uikit-rtl.min.css +1 -1
  8. package/dist/css/uikit.css +16 -11
  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 +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 +1 -1
  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 +1 -1
  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 +17 -8
  37. package/dist/js/uikit-core.min.js +2 -2
  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 +17 -8
  41. package/dist/js/uikit.min.js +2 -2
  42. package/package.json +7 -7
  43. package/src/js/util/viewport.js +13 -7
  44. package/src/less/components/base.less +17 -10
  45. package/src/less/components/padding.less +1 -1
  46. package/src/less/components/utility.less +4 -4
  47. package/src/scss/components/base.scss +17 -10
  48. package/src/scss/components/padding.scss +1 -1
  49. package/src/scss/components/utility.scss +4 -4
  50. package/src/scss/variables-theme.scss +8 -5
  51. package/src/scss/variables.scss +8 -5
  52. package/tests/scroll.html +65 -1
package/CHANGELOG.md CHANGED
@@ -1,6 +1,21 @@
1
1
  # Changelog
2
2
 
3
- ## WIP 3.8
3
+ ## 3.8.1 (November 5, 2021)
4
+
5
+ ### Added
6
+
7
+ - Add Less variables for outline style
8
+
9
+ ### Changed
10
+
11
+ - Make padding large a little bigger on small devices
12
+ - Change logo color to emphasis
13
+
14
+ ### Fixed
15
+
16
+ - Fix scrollIntoView funtion with offset argument provided
17
+
18
+ ## 3.8.0 (October 28, 2021)
4
19
 
5
20
  ### Changed
6
21
 
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.7.7-dev.4ce0508ae | https://www.getuikit.com | (c) 2014 - 2021 YOOtheme | MIT License */
1
+ /*! UIkit 3.8.1 | https://www.getuikit.com | (c) 2014 - 2021 YOOtheme | MIT License */
2
2
  /* ========================================================================
3
3
  Component: Base
4
4
  ========================================================================== */
@@ -397,20 +397,25 @@ pre code {
397
397
  ========================================================================== */
398
398
  /*
399
399
  * Safari doesn't support `:focus-visible` yet. It also doesn't set focus if clicking a button or anchor.
400
- * 1. Set `:focus` style as fallback for `:focus-visible`.
401
- * 2. Remove `:focus` style for browsers which support `:focus-visible`.
402
- * 2. Set `:focus-visible` style for browsers which support it.
400
+ * 1. Fallback: Remove `:focus` for a negative tabindexes.
401
+ * 2. Fallback: Set `:focus` style but not for negative tabindexes.
402
+ * 3. Fallback: Remove `:focus` style for browsers which support `:focus-visible`.
403
+ * 4. Set `:focus-visible` style for browsers which support it.
403
404
  */
404
405
  /* 1 */
405
406
  :focus {
407
+ outline: none;
408
+ }
409
+ /* 2 */
410
+ :focus:not([tabindex^='-']) {
406
411
  outline: 2px dotted #333;
407
412
  outline-offset: 1px;
408
413
  }
409
- /* 2 */
414
+ /* 3 */
410
415
  :focus:not(:focus-visible) {
411
416
  outline: none;
412
417
  }
413
- /* 3 */
418
+ /* 4 */
414
419
  :focus-visible {
415
420
  outline: 2px dotted #333;
416
421
  }
@@ -7715,13 +7720,13 @@ iframe.uk-cover {
7715
7720
  .uk-logo {
7716
7721
  font-size: 1.5rem;
7717
7722
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
7718
- color: #666;
7723
+ color: #333;
7719
7724
  /* 1 */
7720
7725
  text-decoration: none;
7721
7726
  }
7722
7727
  /* Hover */
7723
7728
  .uk-logo:hover {
7724
- color: #666;
7729
+ color: #333;
7725
7730
  /* 1 */
7726
7731
  text-decoration: none;
7727
7732
  }
@@ -8385,7 +8390,7 @@ iframe.uk-cover {
8385
8390
  /* Large
8386
8391
  ========================================================================== */
8387
8392
  .uk-padding-large {
8388
- padding: 30px;
8393
+ padding: 40px;
8389
8394
  }
8390
8395
  /* Desktop and bigger */
8391
8396
  @media (min-width: 1200px) {
@@ -11523,7 +11528,7 @@ iframe.uk-cover {
11523
11528
  .uk-card-secondary > :not([class*='uk-card-media']) .uk-logo,
11524
11529
  .uk-overlay-primary .uk-logo,
11525
11530
  .uk-offcanvas-bar .uk-logo {
11526
- color: rgba(255, 255, 255, 0.7);
11531
+ color: #fff;
11527
11532
  }
11528
11533
  .uk-light .uk-logo:hover,
11529
11534
  .uk-section-primary:not(.uk-preserve-color) .uk-logo:hover,
@@ -11536,7 +11541,7 @@ iframe.uk-cover {
11536
11541
  .uk-card-secondary > :not([class*='uk-card-media']) .uk-logo:hover,
11537
11542
  .uk-overlay-primary .uk-logo:hover,
11538
11543
  .uk-offcanvas-bar .uk-logo:hover {
11539
- color: rgba(255, 255, 255, 0.7);
11544
+ color: #fff;
11540
11545
  }
11541
11546
  .uk-light .uk-logo > :not(.uk-logo-inverse):not(:only-of-type),
11542
11547
  .uk-section-primary:not(.uk-preserve-color) .uk-logo > :not(.uk-logo-inverse):not(:only-of-type),