uikit 3.13.2-dev.97384959 → 3.13.2-dev.aa6a91433

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 (70) hide show
  1. package/.eslintrc.json +9 -0
  2. package/CHANGELOG.md +17 -0
  3. package/dist/css/uikit-core-rtl.css +28 -71
  4. package/dist/css/uikit-core-rtl.min.css +1 -1
  5. package/dist/css/uikit-core.css +28 -71
  6. package/dist/css/uikit-core.min.css +1 -1
  7. package/dist/css/uikit-rtl.css +28 -71
  8. package/dist/css/uikit-rtl.min.css +1 -1
  9. package/dist/css/uikit.css +28 -71
  10. package/dist/css/uikit.min.css +1 -1
  11. package/dist/js/components/countdown.js +1 -1
  12. package/dist/js/components/countdown.min.js +1 -1
  13. package/dist/js/components/filter.js +1 -1
  14. package/dist/js/components/filter.min.js +1 -1
  15. package/dist/js/components/lightbox-panel.js +1 -1
  16. package/dist/js/components/lightbox-panel.min.js +1 -1
  17. package/dist/js/components/lightbox.js +1 -1
  18. package/dist/js/components/lightbox.min.js +1 -1
  19. package/dist/js/components/notification.js +1 -1
  20. package/dist/js/components/notification.min.js +1 -1
  21. package/dist/js/components/parallax.js +1 -1
  22. package/dist/js/components/parallax.min.js +1 -1
  23. package/dist/js/components/slider-parallax.js +1 -1
  24. package/dist/js/components/slider-parallax.min.js +1 -1
  25. package/dist/js/components/slider.js +1 -1
  26. package/dist/js/components/slider.min.js +1 -1
  27. package/dist/js/components/slideshow-parallax.js +1 -1
  28. package/dist/js/components/slideshow-parallax.min.js +1 -1
  29. package/dist/js/components/slideshow.js +1 -1
  30. package/dist/js/components/slideshow.min.js +1 -1
  31. package/dist/js/components/sortable.js +1 -1
  32. package/dist/js/components/sortable.min.js +1 -1
  33. package/dist/js/components/tooltip.js +9 -15
  34. package/dist/js/components/tooltip.min.js +1 -1
  35. package/dist/js/components/upload.js +1 -1
  36. package/dist/js/components/upload.min.js +1 -1
  37. package/dist/js/uikit-core.js +31 -58
  38. package/dist/js/uikit-core.min.js +1 -1
  39. package/dist/js/uikit-icons.js +1 -1
  40. package/dist/js/uikit-icons.min.js +1 -1
  41. package/dist/js/uikit.js +35 -63
  42. package/dist/js/uikit.min.js +1 -1
  43. package/package.json +10 -10
  44. package/src/js/components/tooltip.js +2 -3
  45. package/src/js/core/drop.js +7 -10
  46. package/src/js/core/navbar.js +2 -8
  47. package/src/js/core/responsive.js +1 -1
  48. package/src/js/core/sticky.js +1 -1
  49. package/src/js/core/switcher.js +7 -13
  50. package/src/js/mixin/media.js +4 -4
  51. package/src/js/mixin/position.js +4 -9
  52. package/src/js/util/style.js +8 -15
  53. package/src/less/components/drop.less +1 -10
  54. package/src/less/components/dropdown.less +1 -10
  55. package/src/less/components/navbar.less +11 -22
  56. package/src/less/components/offcanvas.less +19 -1
  57. package/src/less/components/tooltip.less +1 -10
  58. package/src/less/theme/navbar.less +1 -3
  59. package/src/scss/components/drop.scss +1 -10
  60. package/src/scss/components/dropdown.scss +1 -10
  61. package/src/scss/components/navbar.scss +11 -22
  62. package/src/scss/components/offcanvas.scss +19 -1
  63. package/src/scss/components/tooltip.scss +1 -10
  64. package/src/scss/mixins-theme.scss +1 -2
  65. package/src/scss/mixins.scss +0 -1
  66. package/src/scss/theme/navbar.scss +0 -2
  67. package/src/scss/variables-theme.scss +3 -1
  68. package/src/scss/variables.scss +3 -1
  69. package/tests/navbar.html +2 -8
  70. package/tests/search.html +1 -1
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.13.2-dev.97384959 | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
1
+ /*! UIkit 3.13.2-dev.aa6a91433 | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
2
2
  /* ========================================================================
3
3
  Component: Base
4
4
  ========================================================================== */
@@ -3488,6 +3488,7 @@ select.uk-form-width-xsmall {
3488
3488
  /* 2 */
3489
3489
  position: absolute;
3490
3490
  z-index: 1020;
3491
+ --uk-position-margin-offset: 20px;
3491
3492
  /* 3 */
3492
3493
  box-sizing: border-box;
3493
3494
  width: 300px;
@@ -3496,21 +3497,6 @@ select.uk-form-width-xsmall {
3496
3497
  .uk-drop.uk-open {
3497
3498
  display: block;
3498
3499
  }
3499
- /* Direction / Alignment modifiers
3500
- ========================================================================== */
3501
- /* Direction */
3502
- [class*='uk-drop-top'] {
3503
- margin-top: -20px;
3504
- }
3505
- [class*='uk-drop-bottom'] {
3506
- margin-top: 20px;
3507
- }
3508
- [class*='uk-drop-right'] {
3509
- margin-right: -20px;
3510
- }
3511
- [class*='uk-drop-left'] {
3512
- margin-right: 20px;
3513
- }
3514
3500
  /* Grid modifiers
3515
3501
  ========================================================================== */
3516
3502
  .uk-drop-stack .uk-drop-grid > * {
@@ -3531,6 +3517,7 @@ select.uk-form-width-xsmall {
3531
3517
  /* 2 */
3532
3518
  position: absolute;
3533
3519
  z-index: 1020;
3520
+ --uk-position-margin-offset: 10px;
3534
3521
  /* 3 */
3535
3522
  box-sizing: border-box;
3536
3523
  min-width: 200px;
@@ -3584,21 +3571,6 @@ select.uk-form-width-xsmall {
3584
3571
  .uk-dropdown-nav .uk-nav-sub li.uk-active > a {
3585
3572
  color: #666;
3586
3573
  }
3587
- /* Direction / Alignment modifiers
3588
- ========================================================================== */
3589
- /* Direction */
3590
- [class*='uk-dropdown-top'] {
3591
- margin-top: -10px;
3592
- }
3593
- [class*='uk-dropdown-bottom'] {
3594
- margin-top: 10px;
3595
- }
3596
- [class*='uk-dropdown-right'] {
3597
- margin-right: -10px;
3598
- }
3599
- [class*='uk-dropdown-left'] {
3600
- margin-right: 10px;
3601
- }
3602
3574
  /* Grid modifiers
3603
3575
  ========================================================================== */
3604
3576
  .uk-dropdown-stack .uk-dropdown-grid > * {
@@ -4101,10 +4073,23 @@ select.uk-form-width-xsmall {
4101
4073
  .uk-offcanvas-close {
4102
4074
  position: absolute;
4103
4075
  z-index: 1000;
4104
- top: 20px;
4105
- left: 20px;
4076
+ top: 5px;
4077
+ left: 5px;
4106
4078
  padding: 5px;
4107
4079
  }
4080
+ /* Tablet landscape and bigger */
4081
+ @media (min-width: 960px) {
4082
+ .uk-offcanvas-close {
4083
+ top: 20px;
4084
+ left: 20px;
4085
+ }
4086
+ }
4087
+ /*
4088
+ * Remove margin from adjacent element
4089
+ */
4090
+ .uk-offcanvas-close:first-child + * {
4091
+ margin-top: 0;
4092
+ }
4108
4093
  /* Overlay
4109
4094
  ========================================================================== */
4110
4095
  /*
@@ -4356,6 +4341,7 @@ select.uk-form-width-xsmall {
4356
4341
  /* 2 */
4357
4342
  position: absolute;
4358
4343
  z-index: 1030;
4344
+ --uk-position-margin-offset: 10px;
4359
4345
  /* 3 */
4360
4346
  top: 0;
4361
4347
  /* 4 */
@@ -4372,21 +4358,6 @@ select.uk-form-width-xsmall {
4372
4358
  .uk-tooltip.uk-active {
4373
4359
  display: block;
4374
4360
  }
4375
- /* Direction / Alignment modifiers
4376
- ========================================================================== */
4377
- /* Direction */
4378
- [class*='uk-tooltip-top'] {
4379
- margin-top: -10px;
4380
- }
4381
- [class*='uk-tooltip-bottom'] {
4382
- margin-top: 10px;
4383
- }
4384
- [class*='uk-tooltip-right'] {
4385
- margin-right: -10px;
4386
- }
4387
- [class*='uk-tooltip-left'] {
4388
- margin-right: 10px;
4389
- }
4390
4361
  /* ========================================================================
4391
4362
  Component: Sortable
4392
4363
  ========================================================================== */
@@ -5243,6 +5214,7 @@ ul.uk-nav-sub {
5243
5214
  /* 2 */
5244
5215
  position: absolute;
5245
5216
  z-index: 1020;
5217
+ --uk-position-margin-offset: 15px;
5246
5218
  /* 3 */
5247
5219
  box-sizing: border-box;
5248
5220
  width: 200px;
@@ -5256,22 +5228,6 @@ ul.uk-nav-sub {
5256
5228
  .uk-navbar-dropdown.uk-open {
5257
5229
  display: block;
5258
5230
  }
5259
- /*
5260
- * Direction / Alignment modifiers
5261
- */
5262
- /* Direction */
5263
- [class*='uk-navbar-dropdown-top'] {
5264
- margin-top: -15px;
5265
- }
5266
- [class*='uk-navbar-dropdown-bottom'] {
5267
- margin-top: 15px;
5268
- }
5269
- [class*='uk-navbar-dropdown-right'] {
5270
- margin-right: -15px;
5271
- }
5272
- [class*='uk-navbar-dropdown-left'] {
5273
- margin-right: 15px;
5274
- }
5275
5231
  /*
5276
5232
  * Grid
5277
5233
  * Adopts `uk-grid`
@@ -5308,10 +5264,16 @@ ul.uk-nav-sub {
5308
5264
  }
5309
5265
  /*
5310
5266
  * Dropbar modifier
5267
+ * 1. Set position
5268
+ * 2. Bottom padding for dropbar
5269
+ * 3. Horizontal padding
5311
5270
  */
5312
5271
  .uk-navbar-dropdown-dropbar {
5313
- margin-top: 0;
5272
+ /* 1 */
5273
+ --uk-position-margin-offset: 0;
5274
+ /* 2 */
5314
5275
  margin-bottom: 0;
5276
+ padding: 15px;
5315
5277
  box-shadow: none;
5316
5278
  }
5317
5279
  /* Dropdown Nav
@@ -5361,16 +5323,11 @@ ul.uk-nav-sub {
5361
5323
  /* Dropbar
5362
5324
  ========================================================================== */
5363
5325
  .uk-navbar-dropbar {
5364
- background: #fff;
5365
- }
5366
- /*
5367
- * Slide modifier
5368
- */
5369
- .uk-navbar-dropbar-slide {
5370
5326
  position: absolute;
5371
5327
  z-index: 980;
5372
5328
  right: 0;
5373
5329
  left: 0;
5330
+ background: #fff;
5374
5331
  box-shadow: 0 5px 7px rgba(0, 0, 0, 0.05);
5375
5332
  }
5376
5333
  /*