uikit 3.12.0 → 3.12.3-dev.ebebb4f57

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 (64) hide show
  1. package/CHANGELOG.md +31 -2
  2. package/build/scss.js +9 -17
  3. package/dist/css/uikit-core-rtl.css +20 -82
  4. package/dist/css/uikit-core-rtl.min.css +1 -1
  5. package/dist/css/uikit-core.css +20 -82
  6. package/dist/css/uikit-core.min.css +1 -1
  7. package/dist/css/uikit-rtl.css +20 -82
  8. package/dist/css/uikit-rtl.min.css +1 -1
  9. package/dist/css/uikit.css +20 -82
  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 +1 -1
  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 +11 -9
  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 +11 -9
  42. package/dist/js/uikit.min.js +1 -1
  43. package/package.json +1 -1
  44. package/src/js/core/scrollspy.js +7 -4
  45. package/src/js/core/sticky.js +1 -2
  46. package/src/js/util/style.js +1 -1
  47. package/src/less/components/base.less +0 -19
  48. package/src/less/components/form.less +1 -9
  49. package/src/less/components/icon.less +6 -0
  50. package/src/less/components/list.less +6 -1
  51. package/src/less/components/search.less +0 -3
  52. package/src/less/components/slider.less +3 -0
  53. package/src/less/components/slideshow.less +3 -0
  54. package/src/less/components/utility.less +0 -9
  55. package/src/scss/components/base.scss +0 -19
  56. package/src/scss/components/form.scss +1 -7
  57. package/src/scss/components/icon.scss +6 -0
  58. package/src/scss/components/list.scss +6 -1
  59. package/src/scss/components/search.scss +0 -1
  60. package/src/scss/components/slider.scss +3 -0
  61. package/src/scss/components/slideshow.scss +3 -0
  62. package/src/scss/components/utility.scss +0 -9
  63. package/src/scss/mixins-theme.scss +0 -4
  64. package/src/scss/mixins.scss +0 -4
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.12.0 | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
1
+ /*! UIkit 3.12.3-dev.ebebb4f57 | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
2
2
  /* ========================================================================
3
3
  Component: Base
4
4
  ========================================================================== */
@@ -391,27 +391,9 @@ pre code {
391
391
  }
392
392
  /* Focus
393
393
  ========================================================================== */
394
- /*
395
- * Safari doesn't support `:focus-visible` yet. It also doesn't set focus if clicking a button or anchor.
396
- * 1. Fallback: Remove `:focus` for a negative tabindexes.
397
- * 2. Fallback: Set `:focus` style but not for negative tabindexes.
398
- * 3. Fallback: Remove `:focus` style for browsers which support `:focus-visible`.
399
- * 4. Set `:focus-visible` style for browsers which support it.
400
- */
401
- /* 1 */
402
394
  :focus {
403
395
  outline: none;
404
396
  }
405
- /* 2 */
406
- :focus:not([tabindex^='-']) {
407
- outline: 2px dotted #333;
408
- outline-offset: 1px;
409
- }
410
- /* 3 */
411
- :focus:not(:focus-visible) {
412
- outline: none;
413
- }
414
- /* 4 */
415
397
  :focus-visible {
416
398
  outline: 2px dotted #333;
417
399
  }
@@ -756,7 +738,11 @@ a.uk-link-reset,
756
738
  .uk-list-decimal > * {
757
739
  counter-increment: decimal;
758
740
  }
759
- [class*='uk-list'] > ::before {
741
+ .uk-list-disc > ::before,
742
+ .uk-list-circle > ::before,
743
+ .uk-list-square > ::before,
744
+ .uk-list-decimal > ::before,
745
+ .uk-list-hyphen > ::before {
760
746
  content: "";
761
747
  position: relative;
762
748
  right: -30px;
@@ -804,6 +790,7 @@ a.uk-link-reset,
804
790
  }
805
791
  .uk-list-bullet > ::before {
806
792
  content: "";
793
+ display: list-item;
807
794
  position: relative;
808
795
  right: -30px;
809
796
  width: 30px;
@@ -1158,14 +1145,20 @@ button.uk-icon:not(:disabled) {
1158
1145
  ========================================================================== */
1159
1146
  /*
1160
1147
  * Display images in icon dimensions
1148
+ * 1. Required for `span` with background image
1149
+ * 2. Required for `image`
1161
1150
  */
1162
1151
  .uk-icon-image {
1163
1152
  width: 20px;
1164
1153
  height: 20px;
1154
+ /* 1 */
1165
1155
  background-position: 50% 50%;
1166
1156
  background-repeat: no-repeat;
1167
1157
  background-size: contain;
1168
1158
  vertical-align: middle;
1159
+ /* 2 */
1160
+ object-fit: scale-down;
1161
+ max-width: none;
1169
1162
  }
1170
1163
  /* Style modifiers
1171
1164
  ========================================================================== */
@@ -1488,15 +1481,9 @@ button.uk-icon:not(:disabled) {
1488
1481
  /*
1489
1482
  * Placeholder
1490
1483
  */
1491
- .uk-input::-ms-input-placeholder {
1492
- color: #999 !important;
1493
- }
1494
1484
  .uk-input::placeholder {
1495
1485
  color: #999;
1496
1486
  }
1497
- .uk-textarea::-ms-input-placeholder {
1498
- color: #999 !important;
1499
- }
1500
1487
  .uk-textarea::placeholder {
1501
1488
  color: #999;
1502
1489
  }
@@ -1599,8 +1586,7 @@ select.uk-form-width-xsmall {
1599
1586
  /*
1600
1587
  * 1. Remove default style. Also works in Firefox
1601
1588
  * 2. Style
1602
- * 3. Remove default style in IE 10/11
1603
- * 4. Set `color` for options in the select dropdown, because the inherited `color` might be too light.
1589
+ * 3. Set `color` for options in the select dropdown, because the inherited `color` might be too light.
1604
1590
  */
1605
1591
  .uk-select:not([multiple]):not([size]) {
1606
1592
  /* 1 */
@@ -1613,10 +1599,6 @@ select.uk-form-width-xsmall {
1613
1599
  background-position: 0% 50%;
1614
1600
  }
1615
1601
  /* 3 */
1616
- .uk-select:not([multiple]):not([size])::-ms-expand {
1617
- display: none;
1618
- }
1619
- /* 4 */
1620
1602
  .uk-select:not([multiple]):not([size]) option {
1621
1603
  color: #666;
1622
1604
  }
@@ -3305,9 +3287,6 @@ select.uk-form-width-xsmall {
3305
3287
  outline: none;
3306
3288
  }
3307
3289
  /* Placeholder */
3308
- .uk-search-input:-ms-input-placeholder {
3309
- color: #999 !important;
3310
- }
3311
3290
  .uk-search-input::placeholder {
3312
3291
  color: #999;
3313
3292
  }
@@ -3842,6 +3821,7 @@ select.uk-form-width-xsmall {
3842
3821
  * 2. Reset list
3843
3822
  * 3. Clip child elements
3844
3823
  * 4. Prevent displaying the callout information on iOS.
3824
+ * 5. Disable horizontal panning gestures
3845
3825
  */
3846
3826
  .uk-slideshow-items {
3847
3827
  /* 1 */
@@ -3855,6 +3835,8 @@ select.uk-form-width-xsmall {
3855
3835
  overflow: hidden;
3856
3836
  /* 4 */
3857
3837
  -webkit-touch-callout: none;
3838
+ /* 5 */
3839
+ touch-action: pan-y;
3858
3840
  }
3859
3841
  /* Item
3860
3842
  ========================================================================== */
@@ -3913,12 +3895,15 @@ select.uk-form-width-xsmall {
3913
3895
  /*
3914
3896
  * 1. Optimize animation
3915
3897
  * 2. Create a containing block. In Safari it's neither created by `transform` nor `will-change`.
3898
+ * 3. Disable horizontal panning gestures
3916
3899
  */
3917
3900
  .uk-slider-items {
3918
3901
  /* 1 */
3919
3902
  will-change: transform;
3920
3903
  /* 2 */
3921
3904
  position: relative;
3905
+ /* 3 */
3906
+ touch-action: pan-y;
3922
3907
  }
3923
3908
  /*
3924
3909
  * 1. Reset list style without interfering with grid
@@ -8057,8 +8042,6 @@ iframe[data-uk-cover] {
8057
8042
  * https://bugzilla.mozilla.org/show_bug.cgi?id=214004
8058
8043
  * 2. In Firefox, a floating `::first-letter` doesn't have a line box and there for no `line-height`
8059
8044
  * https://bugzilla.mozilla.org/show_bug.cgi?id=317933
8060
- * 3. Caused by 1.: Edge creates two nested `::first-letter` containers, one for each selector
8061
- * This doubles the `font-size` exponential when using the `em` unit.
8062
8045
  */
8063
8046
  .uk-dropcap::first-letter,
8064
8047
  .uk-dropcap > p:first-of-type::first-letter {
@@ -8076,12 +8059,6 @@ iframe[data-uk-cover] {
8076
8059
  margin-top: 1.1%;
8077
8060
  }
8078
8061
  }
8079
- /* 3 */
8080
- @supports (-ms-ime-align: auto) {
8081
- .uk-dropcap > p:first-of-type::first-letter {
8082
- font-size: 1em;
8083
- }
8084
- }
8085
8062
  /* Logo
8086
8063
  ========================================================================== */
8087
8064
  /*
@@ -10233,19 +10210,6 @@ iframe[data-uk-cover] {
10233
10210
  color: rgba(255, 255, 255, 0.7);
10234
10211
  border-color: rgba(255, 255, 255, 0.7);
10235
10212
  }
10236
- .uk-light .uk-input::-ms-input-placeholder,
10237
- .uk-section-primary:not(.uk-preserve-color) .uk-input::-ms-input-placeholder,
10238
- .uk-section-secondary:not(.uk-preserve-color) .uk-input::-ms-input-placeholder,
10239
- .uk-tile-primary:not(.uk-preserve-color) .uk-input::-ms-input-placeholder,
10240
- .uk-tile-secondary:not(.uk-preserve-color) .uk-input::-ms-input-placeholder,
10241
- .uk-card-primary.uk-card-body .uk-input::-ms-input-placeholder,
10242
- .uk-card-primary > :not([class*='uk-card-media']) .uk-input::-ms-input-placeholder,
10243
- .uk-card-secondary.uk-card-body .uk-input::-ms-input-placeholder,
10244
- .uk-card-secondary > :not([class*='uk-card-media']) .uk-input::-ms-input-placeholder,
10245
- .uk-overlay-primary .uk-input::-ms-input-placeholder,
10246
- .uk-offcanvas-bar .uk-input::-ms-input-placeholder {
10247
- color: rgba(255, 255, 255, 0.5) !important;
10248
- }
10249
10213
  .uk-light .uk-input::placeholder,
10250
10214
  .uk-section-primary:not(.uk-preserve-color) .uk-input::placeholder,
10251
10215
  .uk-section-secondary:not(.uk-preserve-color) .uk-input::placeholder,
@@ -10259,19 +10223,6 @@ iframe[data-uk-cover] {
10259
10223
  .uk-offcanvas-bar .uk-input::placeholder {
10260
10224
  color: rgba(255, 255, 255, 0.5);
10261
10225
  }
10262
- .uk-light .uk-textarea::-ms-input-placeholder,
10263
- .uk-section-primary:not(.uk-preserve-color) .uk-textarea::-ms-input-placeholder,
10264
- .uk-section-secondary:not(.uk-preserve-color) .uk-textarea::-ms-input-placeholder,
10265
- .uk-tile-primary:not(.uk-preserve-color) .uk-textarea::-ms-input-placeholder,
10266
- .uk-tile-secondary:not(.uk-preserve-color) .uk-textarea::-ms-input-placeholder,
10267
- .uk-card-primary.uk-card-body .uk-textarea::-ms-input-placeholder,
10268
- .uk-card-primary > :not([class*='uk-card-media']) .uk-textarea::-ms-input-placeholder,
10269
- .uk-card-secondary.uk-card-body .uk-textarea::-ms-input-placeholder,
10270
- .uk-card-secondary > :not([class*='uk-card-media']) .uk-textarea::-ms-input-placeholder,
10271
- .uk-overlay-primary .uk-textarea::-ms-input-placeholder,
10272
- .uk-offcanvas-bar .uk-textarea::-ms-input-placeholder {
10273
- color: rgba(255, 255, 255, 0.5) !important;
10274
- }
10275
10226
  .uk-light .uk-textarea::placeholder,
10276
10227
  .uk-section-primary:not(.uk-preserve-color) .uk-textarea::placeholder,
10277
10228
  .uk-section-secondary:not(.uk-preserve-color) .uk-textarea::placeholder,
@@ -10921,19 +10872,6 @@ iframe[data-uk-cover] {
10921
10872
  .uk-offcanvas-bar .uk-search-input {
10922
10873
  color: rgba(255, 255, 255, 0.7);
10923
10874
  }
10924
- .uk-light .uk-search-input:-ms-input-placeholder,
10925
- .uk-section-primary:not(.uk-preserve-color) .uk-search-input:-ms-input-placeholder,
10926
- .uk-section-secondary:not(.uk-preserve-color) .uk-search-input:-ms-input-placeholder,
10927
- .uk-tile-primary:not(.uk-preserve-color) .uk-search-input:-ms-input-placeholder,
10928
- .uk-tile-secondary:not(.uk-preserve-color) .uk-search-input:-ms-input-placeholder,
10929
- .uk-card-primary.uk-card-body .uk-search-input:-ms-input-placeholder,
10930
- .uk-card-primary > :not([class*='uk-card-media']) .uk-search-input:-ms-input-placeholder,
10931
- .uk-card-secondary.uk-card-body .uk-search-input:-ms-input-placeholder,
10932
- .uk-card-secondary > :not([class*='uk-card-media']) .uk-search-input:-ms-input-placeholder,
10933
- .uk-overlay-primary .uk-search-input:-ms-input-placeholder,
10934
- .uk-offcanvas-bar .uk-search-input:-ms-input-placeholder {
10935
- color: rgba(255, 255, 255, 0.5) !important;
10936
- }
10937
10875
  .uk-light .uk-search-input::placeholder,
10938
10876
  .uk-section-primary:not(.uk-preserve-color) .uk-search-input::placeholder,
10939
10877
  .uk-section-secondary:not(.uk-preserve-color) .uk-search-input::placeholder,