uikit 3.13.1-dev.dedbd3fce → 3.13.2-dev.696f00752

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 (75) hide show
  1. package/.eslintrc.json +9 -0
  2. package/CHANGELOG.md +22 -0
  3. package/dist/css/uikit-core-rtl.css +31 -71
  4. package/dist/css/uikit-core-rtl.min.css +1 -1
  5. package/dist/css/uikit-core.css +31 -71
  6. package/dist/css/uikit-core.min.css +1 -1
  7. package/dist/css/uikit-rtl.css +31 -71
  8. package/dist/css/uikit-rtl.min.css +1 -1
  9. package/dist/css/uikit.css +31 -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 +60 -31
  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 +218 -208
  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 +220 -211
  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/cover.js +1 -1
  46. package/src/js/core/drop.js +7 -10
  47. package/src/js/core/navbar.js +12 -13
  48. package/src/js/core/responsive.js +1 -1
  49. package/src/js/core/sticky.js +1 -1
  50. package/src/js/core/switcher.js +7 -13
  51. package/src/js/mixin/media.js +4 -4
  52. package/src/js/mixin/position.js +53 -24
  53. package/src/js/util/dimensions.js +2 -2
  54. package/src/js/util/position.js +125 -129
  55. package/src/js/util/style.js +13 -19
  56. package/src/less/components/drop.less +3 -11
  57. package/src/less/components/dropdown.less +3 -11
  58. package/src/less/components/navbar.less +13 -23
  59. package/src/less/components/offcanvas.less +19 -1
  60. package/src/less/components/tooltip.less +2 -11
  61. package/src/less/theme/navbar.less +1 -3
  62. package/src/scss/components/drop.scss +3 -11
  63. package/src/scss/components/dropdown.scss +3 -11
  64. package/src/scss/components/navbar.scss +13 -23
  65. package/src/scss/components/offcanvas.scss +19 -1
  66. package/src/scss/components/tooltip.scss +2 -11
  67. package/src/scss/mixins-theme.scss +1 -2
  68. package/src/scss/mixins.scss +0 -1
  69. package/src/scss/theme/navbar.scss +0 -2
  70. package/src/scss/variables-theme.scss +7 -5
  71. package/src/scss/variables.scss +7 -5
  72. package/tests/drop.html +1 -1
  73. package/tests/navbar.html +2 -8
  74. package/tests/position.html +38 -39
  75. package/tests/search.html +1 -1
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.13.1-dev.dedbd3fce | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
1
+ /*! UIkit 3.13.2-dev.696f00752 | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
2
2
  /* ========================================================================
3
3
  Component: Base
4
4
  ========================================================================== */
@@ -3488,29 +3488,16 @@ 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;
3495
+ max-width: 100vw;
3494
3496
  }
3495
3497
  /* Show */
3496
3498
  .uk-drop.uk-open {
3497
3499
  display: block;
3498
3500
  }
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
3501
  /* Grid modifiers
3515
3502
  ========================================================================== */
3516
3503
  .uk-drop-stack .uk-drop-grid > * {
@@ -3531,9 +3518,11 @@ select.uk-form-width-xsmall {
3531
3518
  /* 2 */
3532
3519
  position: absolute;
3533
3520
  z-index: 1020;
3521
+ --uk-position-margin-offset: 10px;
3534
3522
  /* 3 */
3535
3523
  box-sizing: border-box;
3536
3524
  min-width: 200px;
3525
+ max-width: 100vw;
3537
3526
  /* 4 */
3538
3527
  padding: 25px;
3539
3528
  background: #fff;
@@ -3584,21 +3573,6 @@ select.uk-form-width-xsmall {
3584
3573
  .uk-dropdown-nav .uk-nav-sub li.uk-active > a {
3585
3574
  color: #666;
3586
3575
  }
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
3576
  /* Grid modifiers
3603
3577
  ========================================================================== */
3604
3578
  .uk-dropdown-stack .uk-dropdown-grid > * {
@@ -4101,10 +4075,23 @@ select.uk-form-width-xsmall {
4101
4075
  .uk-offcanvas-close {
4102
4076
  position: absolute;
4103
4077
  z-index: 1000;
4104
- top: 20px;
4105
- left: 20px;
4078
+ top: 5px;
4079
+ left: 5px;
4106
4080
  padding: 5px;
4107
4081
  }
4082
+ /* Tablet landscape and bigger */
4083
+ @media (min-width: 960px) {
4084
+ .uk-offcanvas-close {
4085
+ top: 20px;
4086
+ left: 20px;
4087
+ }
4088
+ }
4089
+ /*
4090
+ * Remove margin from adjacent element
4091
+ */
4092
+ .uk-offcanvas-close:first-child + * {
4093
+ margin-top: 0;
4094
+ }
4108
4095
  /* Overlay
4109
4096
  ========================================================================== */
4110
4097
  /*
@@ -4356,6 +4343,7 @@ select.uk-form-width-xsmall {
4356
4343
  /* 2 */
4357
4344
  position: absolute;
4358
4345
  z-index: 1030;
4346
+ --uk-position-margin-offset: 10px;
4359
4347
  /* 3 */
4360
4348
  top: 0;
4361
4349
  /* 4 */
@@ -4372,21 +4360,6 @@ select.uk-form-width-xsmall {
4372
4360
  .uk-tooltip.uk-active {
4373
4361
  display: block;
4374
4362
  }
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
4363
  /* ========================================================================
4391
4364
  Component: Sortable
4392
4365
  ========================================================================== */
@@ -5243,9 +5216,11 @@ ul.uk-nav-sub {
5243
5216
  /* 2 */
5244
5217
  position: absolute;
5245
5218
  z-index: 1020;
5219
+ --uk-position-margin-offset: 15px;
5246
5220
  /* 3 */
5247
5221
  box-sizing: border-box;
5248
5222
  width: 200px;
5223
+ max-width: 100vw;
5249
5224
  /* 4 */
5250
5225
  padding: 25px;
5251
5226
  background: #fff;
@@ -5256,22 +5231,6 @@ ul.uk-nav-sub {
5256
5231
  .uk-navbar-dropdown.uk-open {
5257
5232
  display: block;
5258
5233
  }
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
5234
  /*
5276
5235
  * Grid
5277
5236
  * Adopts `uk-grid`
@@ -5308,10 +5267,16 @@ ul.uk-nav-sub {
5308
5267
  }
5309
5268
  /*
5310
5269
  * Dropbar modifier
5270
+ * 1. Set position
5271
+ * 2. Bottom padding for dropbar
5272
+ * 3. Horizontal padding
5311
5273
  */
5312
5274
  .uk-navbar-dropdown-dropbar {
5313
- margin-top: 0;
5275
+ /* 1 */
5276
+ --uk-position-margin-offset: 0;
5277
+ /* 2 */
5314
5278
  margin-bottom: 0;
5279
+ padding: 15px;
5315
5280
  box-shadow: none;
5316
5281
  }
5317
5282
  /* Dropdown Nav
@@ -5361,16 +5326,11 @@ ul.uk-nav-sub {
5361
5326
  /* Dropbar
5362
5327
  ========================================================================== */
5363
5328
  .uk-navbar-dropbar {
5364
- background: #fff;
5365
- }
5366
- /*
5367
- * Slide modifier
5368
- */
5369
- .uk-navbar-dropbar-slide {
5370
5329
  position: absolute;
5371
5330
  z-index: 980;
5372
5331
  right: 0;
5373
5332
  left: 0;
5333
+ background: #fff;
5374
5334
  box-shadow: 0 5px 7px rgba(0, 0, 0, 0.05);
5375
5335
  }
5376
5336
  /*