uikit 3.20.1 → 3.20.2-dev.53c9903f7

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 (47) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/css/uikit-core-rtl.css +15 -15
  3. package/dist/css/uikit-core-rtl.min.css +1 -1
  4. package/dist/css/uikit-core.css +15 -15
  5. package/dist/css/uikit-core.min.css +1 -1
  6. package/dist/css/uikit-rtl.css +15 -15
  7. package/dist/css/uikit-rtl.min.css +1 -1
  8. package/dist/css/uikit.css +15 -15
  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 +5 -4
  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 +5 -4
  41. package/dist/js/uikit.min.js +1 -1
  42. package/package.json +1 -1
  43. package/src/js/core/switcher.js +3 -2
  44. package/src/less/components/iconnav.less +5 -9
  45. package/src/less/components/thumbnav.less +5 -9
  46. package/src/scss/components/iconnav.scss +5 -9
  47. package/src/scss/components/thumbnav.scss +5 -9
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "uikit",
3
3
  "title": "UIkit",
4
4
  "description": "UIkit is a lightweight and modular front-end framework for developing fast and powerful web interfaces.",
5
- "version": "3.20.1",
5
+ "version": "3.20.2-dev.53c9903f7",
6
6
  "main": "dist/js/uikit.js",
7
7
  "style": "dist/css/uikit.css",
8
8
  "sideEffects": [
@@ -247,8 +247,9 @@ export default {
247
247
  (child, i) => i !== active && hasClass(child, this.cls),
248
248
  );
249
249
 
250
- await this.toggleElement(actives, false, animate);
251
- await this.toggleElement(children[active], true, animate);
250
+ if (await this.toggleElement(actives, false, animate)) {
251
+ await this.toggleElement(children[active], true, animate);
252
+ }
252
253
  });
253
254
  },
254
255
  },
@@ -30,7 +30,6 @@
30
30
  /*
31
31
  * 1. Allow items to wrap into the next line
32
32
  * 2. Reset list
33
- * 3. Gutter
34
33
  */
35
34
 
36
35
  .uk-iconnav {
@@ -41,20 +40,17 @@
41
40
  margin: 0;
42
41
  padding: 0;
43
42
  list-style: none;
44
- /* 3 */
45
- margin-left: -@iconnav-margin-horizontal;
46
43
  .hook-iconnav();
47
44
  }
48
45
 
49
46
  /*
50
- * Space is allocated based on content dimensions, but shrinks: 0 1 auto
51
- * 1. Gutter
47
+ * Gutter
48
+ * Note: Can be overridden through grid classes
49
+ * Note: Space is allocated based on content dimensions, but shrinks: 0 1 auto
52
50
  */
53
51
 
54
- .uk-iconnav > * {
55
- /* 1 */
56
- padding-left: @iconnav-margin-horizontal;
57
- }
52
+ :where(.uk-iconnav) { margin-left: -@iconnav-margin-horizontal; }
53
+ :where(.uk-iconnav > *) { padding-left: @iconnav-margin-horizontal; }
58
54
 
59
55
 
60
56
  /* Items
@@ -24,7 +24,6 @@
24
24
  /*
25
25
  * 1. Allow items to wrap into the next line
26
26
  * 2. Reset list
27
- * 3. Gutter
28
27
  */
29
28
 
30
29
  .uk-thumbnav {
@@ -35,20 +34,17 @@
35
34
  margin: 0;
36
35
  padding: 0;
37
36
  list-style: none;
38
- /* 3 */
39
- margin-left: -@thumbnav-margin-horizontal;
40
37
  .hook-thumbnav();
41
38
  }
42
39
 
43
40
  /*
44
- * Space is allocated based on content dimensions, but shrinks: 0 1 auto
45
- * 1. Gutter
41
+ * Gutter
42
+ * Note: Can be overridden through grid classes
43
+ * Note: Space is allocated based on content dimensions, but shrinks: 0 1 auto
46
44
  */
47
45
 
48
- .uk-thumbnav > * {
49
- /* 1 */
50
- padding-left: @thumbnav-margin-horizontal;
51
- }
46
+ :where(.uk-thumbnav) { margin-left: -@thumbnav-margin-horizontal; }
47
+ :where(.uk-thumbnav > *) { padding-left: @thumbnav-margin-horizontal; }
52
48
 
53
49
 
54
50
  /* Items
@@ -25,7 +25,6 @@
25
25
  /*
26
26
  * 1. Allow items to wrap into the next line
27
27
  * 2. Reset list
28
- * 3. Gutter
29
28
  */
30
29
 
31
30
  .uk-iconnav {
@@ -36,20 +35,17 @@
36
35
  margin: 0;
37
36
  padding: 0;
38
37
  list-style: none;
39
- /* 3 */
40
- margin-left: (-$iconnav-margin-horizontal);
41
38
  @if(mixin-exists(hook-iconnav)) {@include hook-iconnav();}
42
39
  }
43
40
 
44
41
  /*
45
- * Space is allocated based on content dimensions, but shrinks: 0 1 auto
46
- * 1. Gutter
42
+ * Gutter
43
+ * Note: Can be overridden through grid classes
44
+ * Note: Space is allocated based on content dimensions, but shrinks: 0 1 auto
47
45
  */
48
46
 
49
- .uk-iconnav > * {
50
- /* 1 */
51
- padding-left: $iconnav-margin-horizontal;
52
- }
47
+ :where(.uk-iconnav) { margin-left: (-$iconnav-margin-horizontal); }
48
+ :where(.uk-iconnav > *) { padding-left: $iconnav-margin-horizontal; }
53
49
 
54
50
 
55
51
  /* Items
@@ -22,7 +22,6 @@
22
22
  /*
23
23
  * 1. Allow items to wrap into the next line
24
24
  * 2. Reset list
25
- * 3. Gutter
26
25
  */
27
26
 
28
27
  .uk-thumbnav {
@@ -33,20 +32,17 @@
33
32
  margin: 0;
34
33
  padding: 0;
35
34
  list-style: none;
36
- /* 3 */
37
- margin-left: (-$thumbnav-margin-horizontal);
38
35
  @if(mixin-exists(hook-thumbnav)) {@include hook-thumbnav();}
39
36
  }
40
37
 
41
38
  /*
42
- * Space is allocated based on content dimensions, but shrinks: 0 1 auto
43
- * 1. Gutter
39
+ * Gutter
40
+ * Note: Can be overridden through grid classes
41
+ * Note: Space is allocated based on content dimensions, but shrinks: 0 1 auto
44
42
  */
45
43
 
46
- .uk-thumbnav > * {
47
- /* 1 */
48
- padding-left: $thumbnav-margin-horizontal;
49
- }
44
+ :where(.uk-thumbnav) { margin-left: (-$thumbnav-margin-horizontal); }
45
+ :where(.uk-thumbnav > *) { padding-left: $thumbnav-margin-horizontal; }
50
46
 
51
47
 
52
48
  /* Items