uikit 3.14.2-dev.404bdcedf → 3.14.2-dev.57e3417c4

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 (59) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/css/uikit-core-rtl.css +39 -23
  3. package/dist/css/uikit-core-rtl.min.css +1 -1
  4. package/dist/css/uikit-core.css +39 -23
  5. package/dist/css/uikit-core.min.css +1 -1
  6. package/dist/css/uikit-rtl.css +38 -22
  7. package/dist/css/uikit-rtl.min.css +1 -1
  8. package/dist/css/uikit.css +38 -22
  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 +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 +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 +3 -6
  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 +4 -7
  41. package/dist/js/uikit.min.js +1 -1
  42. package/package.json +1 -1
  43. package/src/js/components/parallax.js +1 -1
  44. package/src/js/util/viewport.js +1 -4
  45. package/src/less/components/drop.less +2 -1
  46. package/src/less/components/dropdown.less +2 -1
  47. package/src/less/components/modal.less +19 -4
  48. package/src/less/components/navbar.less +14 -8
  49. package/src/less/components/offcanvas.less +21 -21
  50. package/src/less/components/utility.less +1 -1
  51. package/src/scss/components/drop.scss +2 -1
  52. package/src/scss/components/dropdown.scss +2 -1
  53. package/src/scss/components/modal.scss +19 -4
  54. package/src/scss/components/navbar.scss +14 -8
  55. package/src/scss/components/offcanvas.scss +21 -21
  56. package/src/scss/components/utility.scss +1 -1
  57. package/src/scss/variables-theme.scss +20 -10
  58. package/src/scss/variables.scss +21 -11
  59. package/tests/offcanvas.html +8 -8
package/CHANGELOG.md CHANGED
@@ -5,9 +5,17 @@
5
5
  ### Added
6
6
 
7
7
  - Add gap variable to navbar items in Navbar component
8
+ - Add small breakpoint padding variables to Modal component
9
+
10
+ ### Changed
11
+
12
+ - Rename `@offcanvas-bar-width-m` to `@offcanvas-bar-width-s`
13
+ - Rename `@offcanvas-bar-padding-vertical-m` to `@offcanvas-bar-padding-vertical-s`
14
+ - Rename `@offcanvas-bar-padding-horizontal-m` to `@offcanvas-bar-padding-horizontal-s`
8
15
 
9
16
  ### Fixed
10
17
 
18
+ - Fix logo image not working with text align in Utility component
11
19
  - Fix Scroll component on iOS 12
12
20
  - Fix offset calculation in Drop component
13
21
  - Fix `-justify` positioning in Drop component
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.14.2-dev.404bdcedf | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
1
+ /*! UIkit 3.14.2-dev.57e3417c4 | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
2
2
  /* ========================================================================
3
3
  Component: Base
4
4
  ========================================================================== */
@@ -3231,7 +3231,7 @@ select.uk-form-width-xsmall {
3231
3231
  position: absolute;
3232
3232
  z-index: 1020;
3233
3233
  --uk-position-offset: 20px;
3234
- --uk-position-viewport-offset: 10;
3234
+ --uk-position-viewport-offset: 15px;
3235
3235
  /* 3 */
3236
3236
  box-sizing: border-box;
3237
3237
  width: 300px;
@@ -3261,7 +3261,7 @@ select.uk-form-width-xsmall {
3261
3261
  position: absolute;
3262
3262
  z-index: 1020;
3263
3263
  --uk-position-offset: 10px;
3264
- --uk-position-viewport-offset: 10;
3264
+ --uk-position-viewport-offset: 15px;
3265
3265
  /* 3 */
3266
3266
  box-sizing: border-box;
3267
3267
  min-width: 200px;
@@ -3444,18 +3444,30 @@ select.uk-form-width-xsmall {
3444
3444
  ========================================================================== */
3445
3445
  .uk-modal-body {
3446
3446
  display: flow-root;
3447
- padding: 30px 30px;
3447
+ padding: 20px 20px;
3448
3448
  }
3449
3449
  .uk-modal-header {
3450
3450
  display: flow-root;
3451
- padding: 15px 30px;
3451
+ padding: 10px 20px;
3452
3452
  background: #f8f8f8;
3453
3453
  }
3454
3454
  .uk-modal-footer {
3455
3455
  display: flow-root;
3456
- padding: 15px 30px;
3456
+ padding: 10px 20px;
3457
3457
  background: #f8f8f8;
3458
3458
  }
3459
+ /* Phone landscape and bigger */
3460
+ @media (min-width: 640px) {
3461
+ .uk-modal-body {
3462
+ padding: 30px 30px;
3463
+ }
3464
+ .uk-modal-header {
3465
+ padding: 15px 30px;
3466
+ }
3467
+ .uk-modal-footer {
3468
+ padding: 15px 30px;
3469
+ }
3470
+ }
3459
3471
  /*
3460
3472
  * Remove margin from the last-child
3461
3473
  */
@@ -3726,12 +3738,12 @@ select.uk-form-width-xsmall {
3726
3738
  overflow-y: auto;
3727
3739
  -webkit-overflow-scrolling: touch;
3728
3740
  }
3729
- /* Tablet landscape and bigger */
3730
- @media (min-width: 960px) {
3741
+ /* Phone landscape and bigger */
3742
+ @media (min-width: 640px) {
3731
3743
  .uk-offcanvas-bar {
3732
3744
  right: -350px;
3733
3745
  width: 350px;
3734
- padding: 40px 40px;
3746
+ padding: 30px 30px;
3735
3747
  }
3736
3748
  }
3737
3749
  /* Flip modifier */
@@ -3740,7 +3752,7 @@ select.uk-form-width-xsmall {
3740
3752
  left: -270px;
3741
3753
  }
3742
3754
  /* Tablet landscape and bigger */
3743
- @media (min-width: 960px) {
3755
+ @media (min-width: 640px) {
3744
3756
  .uk-offcanvas-flip .uk-offcanvas-bar {
3745
3757
  left: -350px;
3746
3758
  }
@@ -3796,7 +3808,7 @@ select.uk-form-width-xsmall {
3796
3808
  width: 270px;
3797
3809
  }
3798
3810
  /* Tablet landscape and bigger */
3799
- @media (min-width: 960px) {
3811
+ @media (min-width: 640px) {
3800
3812
  .uk-open > .uk-offcanvas-reveal {
3801
3813
  width: 350px;
3802
3814
  }
@@ -3819,10 +3831,10 @@ select.uk-form-width-xsmall {
3819
3831
  padding: 5px;
3820
3832
  }
3821
3833
  /* Tablet landscape and bigger */
3822
- @media (min-width: 960px) {
3834
+ @media (min-width: 640px) {
3823
3835
  .uk-offcanvas-close {
3824
- top: 20px;
3825
- left: 20px;
3836
+ top: 10px;
3837
+ left: 10px;
3826
3838
  }
3827
3839
  }
3828
3840
  /*
@@ -3900,7 +3912,7 @@ select.uk-form-width-xsmall {
3900
3912
  right: -270px;
3901
3913
  }
3902
3914
  /* Tablet landscape and bigger */
3903
- @media (min-width: 960px) {
3915
+ @media (min-width: 640px) {
3904
3916
  :not(.uk-offcanvas-flip).uk-offcanvas-container-animation {
3905
3917
  right: 350px;
3906
3918
  }
@@ -4973,9 +4985,9 @@ ul.uk-nav-sub {
4973
4985
  /* 2 */
4974
4986
  position: absolute;
4975
4987
  z-index: 1020;
4976
- --uk-position-offset: 0px;
4988
+ --uk-position-offset: 0;
4977
4989
  --uk-position-shift-offset: 0;
4978
- --uk-position-viewport-offset: 10;
4990
+ --uk-position-viewport-offset: 15px;
4979
4991
  /* 3 */
4980
4992
  box-sizing: border-box;
4981
4993
  width: 200px;
@@ -5025,18 +5037,22 @@ ul.uk-nav-sub {
5025
5037
  }
5026
5038
  /*
5027
5039
  * Dropbar modifier
5028
- * 1. Set position
5029
- * 2. Bottom padding for dropbar
5030
- * 3. Horizontal padding
5040
+ * 1. Reset dropdown width to prevent to early shifting
5041
+ * 2. Set position
5042
+ * 3. Bottom padding for dropbar
5043
+ * 4. Horizontal padding
5031
5044
  */
5032
5045
  .uk-navbar-dropdown-dropbar {
5033
5046
  /* 1 */
5034
- --uk-position-offset: 0px;
5047
+ width: auto;
5035
5048
  /* 2 */
5036
- margin-bottom: 0px;
5049
+ --uk-position-offset: 0px;
5037
5050
  /* 3 */
5051
+ margin-bottom: 0px;
5052
+ /* 4 */
5038
5053
  padding-right: 15px;
5039
5054
  padding-left: 15px;
5055
+ --uk-position-shift-offset: 0;
5040
5056
  }
5041
5057
  /* Dropdown Nav
5042
5058
  * Adopts `uk-nav`
@@ -7687,7 +7703,7 @@ iframe[data-uk-cover] {
7687
7703
  text-decoration: none;
7688
7704
  }
7689
7705
  .uk-logo > :where(img, svg, video) {
7690
- display: block;
7706
+ display: inline-block;
7691
7707
  }
7692
7708
  .uk-logo-inverse {
7693
7709
  display: none;