uikit 3.23.7 → 3.23.8-dev.ff7a25595

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 (193) hide show
  1. package/build/release.js +1 -1
  2. package/build/scss.js +49 -12
  3. package/build/util.js +2 -0
  4. package/dist/css/uikit-core-rtl.css +1 -1
  5. package/dist/css/uikit-core-rtl.min.css +1 -1
  6. package/dist/css/uikit-core.css +1 -1
  7. package/dist/css/uikit-core.min.css +1 -1
  8. package/dist/css/uikit-rtl.css +1 -1
  9. package/dist/css/uikit-rtl.min.css +1 -1
  10. package/dist/css/uikit.css +1 -1
  11. package/dist/css/uikit.min.css +1 -1
  12. package/dist/js/components/countdown.js +1 -1
  13. package/dist/js/components/countdown.min.js +1 -1
  14. package/dist/js/components/filter.js +1 -1
  15. package/dist/js/components/filter.min.js +1 -1
  16. package/dist/js/components/lightbox-panel.js +1 -1
  17. package/dist/js/components/lightbox-panel.min.js +1 -1
  18. package/dist/js/components/lightbox.js +1 -1
  19. package/dist/js/components/lightbox.min.js +1 -1
  20. package/dist/js/components/notification.js +1 -1
  21. package/dist/js/components/notification.min.js +1 -1
  22. package/dist/js/components/parallax.js +3 -2
  23. package/dist/js/components/parallax.min.js +1 -1
  24. package/dist/js/components/slider-parallax.js +3 -2
  25. package/dist/js/components/slider-parallax.min.js +1 -1
  26. package/dist/js/components/slider.js +3 -2
  27. package/dist/js/components/slider.min.js +1 -1
  28. package/dist/js/components/slideshow-parallax.js +3 -2
  29. package/dist/js/components/slideshow-parallax.min.js +1 -1
  30. package/dist/js/components/slideshow.js +3 -2
  31. package/dist/js/components/slideshow.min.js +1 -1
  32. package/dist/js/components/sortable.js +1 -1
  33. package/dist/js/components/sortable.min.js +1 -1
  34. package/dist/js/components/tooltip.js +1 -1
  35. package/dist/js/components/tooltip.min.js +1 -1
  36. package/dist/js/components/upload.js +1 -1
  37. package/dist/js/components/upload.min.js +1 -1
  38. package/dist/js/uikit-core.js +4 -3
  39. package/dist/js/uikit-core.min.js +1 -1
  40. package/dist/js/uikit-icons.js +1 -1
  41. package/dist/js/uikit-icons.min.js +1 -1
  42. package/dist/js/uikit.js +4 -3
  43. package/dist/js/uikit.min.js +1 -1
  44. package/package.json +1 -1
  45. package/src/js/util/selector.js +1 -1
  46. package/src/scss/components/accordion.scss +8 -6
  47. package/src/scss/components/alert.scss +10 -8
  48. package/src/scss/components/align.scss +3 -1
  49. package/src/scss/components/animation.scss +3 -1
  50. package/src/scss/components/article.scss +7 -5
  51. package/src/scss/components/background.scss +3 -1
  52. package/src/scss/components/badge.scss +5 -3
  53. package/src/scss/components/base.scss +20 -17
  54. package/src/scss/components/breadcrumb.scss +9 -7
  55. package/src/scss/components/button.scss +25 -23
  56. package/src/scss/components/card.scss +26 -24
  57. package/src/scss/components/close.scss +5 -3
  58. package/src/scss/components/column.scss +3 -1
  59. package/src/scss/components/comment.scss +13 -11
  60. package/src/scss/components/container.scss +14 -11
  61. package/src/scss/components/countdown.scss +8 -6
  62. package/src/scss/components/cover.scss +3 -1
  63. package/src/scss/components/description-list.scss +6 -4
  64. package/src/scss/components/divider.scss +13 -10
  65. package/src/scss/components/dotnav.scss +8 -6
  66. package/src/scss/components/drop.scss +3 -1
  67. package/src/scss/components/dropbar.scss +8 -6
  68. package/src/scss/components/dropdown.scss +12 -10
  69. package/src/scss/components/dropnav.scss +3 -1
  70. package/src/scss/components/flex.scss +3 -1
  71. package/src/scss/components/form-range.scss +13 -10
  72. package/src/scss/components/form.scss +23 -21
  73. package/src/scss/components/grid.scss +5 -3
  74. package/src/scss/components/heading.scss +16 -13
  75. package/src/scss/components/height.scss +3 -1
  76. package/src/scss/components/icon.scss +9 -7
  77. package/src/scss/components/iconnav.scss +7 -5
  78. package/src/scss/components/inverse.scss +4 -2
  79. package/src/scss/components/label.scss +7 -5
  80. package/src/scss/components/leader.scss +4 -2
  81. package/src/scss/components/lightbox.scss +6 -4
  82. package/src/scss/components/link.scss +10 -8
  83. package/src/scss/components/list.scss +5 -3
  84. package/src/scss/components/margin.scss +3 -1
  85. package/src/scss/components/marker.scss +5 -3
  86. package/src/scss/components/mixin.scss +6 -4
  87. package/src/scss/components/modal.scss +18 -16
  88. package/src/scss/components/nav.scss +33 -31
  89. package/src/scss/components/navbar.scss +33 -30
  90. package/src/scss/components/notification.scss +10 -8
  91. package/src/scss/components/offcanvas.scss +6 -4
  92. package/src/scss/components/overlay.scss +7 -5
  93. package/src/scss/components/padding.scss +3 -1
  94. package/src/scss/components/pagination.scss +8 -6
  95. package/src/scss/components/placeholder.scss +4 -2
  96. package/src/scss/components/position.scss +9 -6
  97. package/src/scss/components/print.scss +3 -1
  98. package/src/scss/components/progress.scss +6 -4
  99. package/src/scss/components/search.scss +15 -13
  100. package/src/scss/components/section.scss +9 -7
  101. package/src/scss/components/slidenav.scss +10 -8
  102. package/src/scss/components/slider.scss +4 -2
  103. package/src/scss/components/slideshow.scss +4 -2
  104. package/src/scss/components/sortable.scss +7 -5
  105. package/src/scss/components/spinner.scss +6 -3
  106. package/src/scss/components/sticky.scss +3 -1
  107. package/src/scss/components/subnav.scss +13 -11
  108. package/src/scss/components/svg.scss +3 -1
  109. package/src/scss/components/switcher.scss +3 -1
  110. package/src/scss/components/tab.scss +14 -12
  111. package/src/scss/components/table.scss +17 -14
  112. package/src/scss/components/text.scss +8 -6
  113. package/src/scss/components/thumbnav.scss +7 -5
  114. package/src/scss/components/tile.scss +12 -10
  115. package/src/scss/components/tooltip.scss +4 -2
  116. package/src/scss/components/totop.scss +6 -4
  117. package/src/scss/components/transition.scss +3 -1
  118. package/src/scss/components/utility.scss +8 -6
  119. package/src/scss/components/visibility.scss +3 -1
  120. package/src/scss/components/width.scss +34 -31
  121. package/src/scss/mixins-theme.scss +169 -168
  122. package/src/scss/mixins.scss +175 -175
  123. package/src/scss/uikit-theme.scss +0 -1
  124. package/src/scss/variables-theme.scss +70 -66
  125. package/src/scss/variables.scss +74 -70
  126. package/src/scss/theme/_import.scss +0 -82
  127. package/src/scss/theme/accordion.scss +0 -55
  128. package/src/scss/theme/alert.scss +0 -45
  129. package/src/scss/theme/align.scss +0 -14
  130. package/src/scss/theme/animation.scss +0 -14
  131. package/src/scss/theme/article.scss +0 -49
  132. package/src/scss/theme/background.scss +0 -14
  133. package/src/scss/theme/badge.scss +0 -29
  134. package/src/scss/theme/base.scss +0 -104
  135. package/src/scss/theme/breadcrumb.scss +0 -45
  136. package/src/scss/theme/button.scss +0 -132
  137. package/src/scss/theme/card.scss +0 -111
  138. package/src/scss/theme/close.scss +0 -29
  139. package/src/scss/theme/column.scss +0 -14
  140. package/src/scss/theme/comment.scss +0 -67
  141. package/src/scss/theme/container.scss +0 -14
  142. package/src/scss/theme/countdown.scss +0 -53
  143. package/src/scss/theme/description-list.scss +0 -29
  144. package/src/scss/theme/divider.scss +0 -49
  145. package/src/scss/theme/dotnav.scss +0 -46
  146. package/src/scss/theme/drop.scss +0 -14
  147. package/src/scss/theme/dropbar.scss +0 -38
  148. package/src/scss/theme/dropdown.scss +0 -53
  149. package/src/scss/theme/form-range.scss +0 -51
  150. package/src/scss/theme/form.scss +0 -117
  151. package/src/scss/theme/grid.scss +0 -28
  152. package/src/scss/theme/heading.scss +0 -71
  153. package/src/scss/theme/height.scss +0 -14
  154. package/src/scss/theme/icon.scss +0 -50
  155. package/src/scss/theme/iconnav.scss +0 -39
  156. package/src/scss/theme/inverse.scss +0 -14
  157. package/src/scss/theme/label.scss +0 -41
  158. package/src/scss/theme/leader.scss +0 -26
  159. package/src/scss/theme/lightbox.scss +0 -32
  160. package/src/scss/theme/link.scss +0 -55
  161. package/src/scss/theme/list.scss +0 -34
  162. package/src/scss/theme/margin.scss +0 -14
  163. package/src/scss/theme/marker.scss +0 -29
  164. package/src/scss/theme/modal.scss +0 -77
  165. package/src/scss/theme/nav.scss +0 -131
  166. package/src/scss/theme/navbar.scss +0 -135
  167. package/src/scss/theme/notification.scss +0 -44
  168. package/src/scss/theme/offcanvas.scss +0 -32
  169. package/src/scss/theme/overlay.scss +0 -33
  170. package/src/scss/theme/padding.scss +0 -14
  171. package/src/scss/theme/pagination.scss +0 -41
  172. package/src/scss/theme/placeholder.scss +0 -26
  173. package/src/scss/theme/position.scss +0 -14
  174. package/src/scss/theme/progress.scss +0 -23
  175. package/src/scss/theme/search.scss +0 -101
  176. package/src/scss/theme/section.scss +0 -32
  177. package/src/scss/theme/slidenav.scss +0 -52
  178. package/src/scss/theme/slider.scss +0 -14
  179. package/src/scss/theme/sortable.scss +0 -38
  180. package/src/scss/theme/spinner.scss +0 -14
  181. package/src/scss/theme/sticky.scss +0 -14
  182. package/src/scss/theme/subnav.scss +0 -72
  183. package/src/scss/theme/tab.scss +0 -67
  184. package/src/scss/theme/table.scss +0 -65
  185. package/src/scss/theme/text.scss +0 -49
  186. package/src/scss/theme/thumbnav.scss +0 -40
  187. package/src/scss/theme/tile.scss +0 -52
  188. package/src/scss/theme/tooltip.scss +0 -20
  189. package/src/scss/theme/totop.scss +0 -32
  190. package/src/scss/theme/transition.scss +0 -14
  191. package/src/scss/theme/utility.scss +0 -49
  192. package/src/scss/theme/variables.scss +0 -36
  193. package/src/scss/theme/width.scss +0 -14
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.23.7",
5
+ "version": "3.23.8-dev.ff7a25595",
6
6
  "main": "dist/js/uikit.js",
7
7
  "style": "dist/css/uikit.css",
8
8
  "sideEffects": [
@@ -71,7 +71,7 @@ function _query(selector, context = document, queryFn) {
71
71
 
72
72
  if (sel[0] === '!') {
73
73
  [positionSel, sel] = parsePositionSelector(sel);
74
- ctx = context.parentElement.closest(positionSel);
74
+ ctx = context.parentElement?.closest(positionSel);
75
75
  if (!sel && isSingle) {
76
76
  return ctx;
77
77
  }
@@ -1,3 +1,5 @@
1
+ @use "sass:meta";
2
+
1
3
  // Name: Accordion
2
4
  // Description: Component to create accordions
3
5
  //
@@ -25,7 +27,7 @@
25
27
  .uk-accordion {
26
28
  padding: 0;
27
29
  list-style: none;
28
- @if(mixin-exists(hook-accordion)) {@include hook-accordion();}
30
+ @if(meta.mixin-exists(hook-accordion)) {@include hook-accordion();}
29
31
  }
30
32
 
31
33
 
@@ -33,7 +35,7 @@
33
35
  ========================================================================== */
34
36
 
35
37
  .uk-accordion > * {
36
- @if(mixin-exists(hook-accordion-item)) {@include hook-accordion-item();}
38
+ @if(meta.mixin-exists(hook-accordion-item)) {@include hook-accordion-item();}
37
39
  }
38
40
 
39
41
  .uk-accordion > :nth-child(n+2) { margin-top: $accordion-item-margin-top; }
@@ -47,14 +49,14 @@
47
49
  font-size: $accordion-title-font-size;
48
50
  line-height: $accordion-title-line-height;
49
51
  color: $accordion-title-color;
50
- @if(mixin-exists(hook-accordion-title)) {@include hook-accordion-title();}
52
+ @if(meta.mixin-exists(hook-accordion-title)) {@include hook-accordion-title();}
51
53
  }
52
54
 
53
55
  /* Hover */
54
56
  .uk-accordion-title:hover {
55
57
  color: $accordion-title-hover-color;
56
58
  text-decoration: none;
57
- @if(mixin-exists(hook-accordion-title-hover)) {@include hook-accordion-title-hover();}
59
+ @if(meta.mixin-exists(hook-accordion-title-hover)) {@include hook-accordion-title-hover();}
58
60
  }
59
61
 
60
62
 
@@ -64,7 +66,7 @@
64
66
  .uk-accordion-content {
65
67
  display: flow-root;
66
68
  margin-top: $accordion-content-margin-top;
67
- @if(mixin-exists(hook-accordion-content)) {@include hook-accordion-content();}
69
+ @if(meta.mixin-exists(hook-accordion-content)) {@include hook-accordion-content();}
68
70
  }
69
71
 
70
72
  /*
@@ -77,7 +79,7 @@
77
79
  // Hooks
78
80
  // ========================================================================
79
81
 
80
- @if(mixin-exists(hook-accordion-misc)) {@include hook-accordion-misc();}
82
+ @if(meta.mixin-exists(hook-accordion-misc)) {@include hook-accordion-misc();}
81
83
 
82
84
  // @mixin hook-accordion(){}
83
85
  // @mixin hook-accordion-item(){}
@@ -1,3 +1,5 @@
1
+ @use "sass:meta";
2
+
1
3
  // Name: Alert
2
4
  // Description: Component to create alert messages
3
5
  //
@@ -33,7 +35,7 @@
33
35
  padding: $alert-padding $alert-padding-right $alert-padding $alert-padding;
34
36
  background: $alert-background;
35
37
  color: $alert-color;
36
- @if(mixin-exists(hook-alert)) {@include hook-alert();}
38
+ @if(meta.mixin-exists(hook-alert)) {@include hook-alert();}
37
39
  }
38
40
 
39
41
  /* Add margin if adjacent element */
@@ -54,7 +56,7 @@
54
56
  position: absolute;
55
57
  top: $alert-close-top;
56
58
  right: $alert-close-right;
57
- @if(mixin-exists(hook-alert-close)) {@include hook-alert-close();}
59
+ @if(meta.mixin-exists(hook-alert-close)) {@include hook-alert-close();}
58
60
  }
59
61
 
60
62
  /*
@@ -68,7 +70,7 @@
68
70
  */
69
71
 
70
72
  .uk-alert-close:hover {
71
- @if(mixin-exists(hook-alert-close-hover)) {@include hook-alert-close-hover();}
73
+ @if(meta.mixin-exists(hook-alert-close-hover)) {@include hook-alert-close-hover();}
72
74
  }
73
75
 
74
76
 
@@ -82,7 +84,7 @@
82
84
  .uk-alert-primary {
83
85
  background: $alert-primary-background;
84
86
  color: $alert-primary-color;
85
- @if(mixin-exists(hook-alert-primary)) {@include hook-alert-primary();}
87
+ @if(meta.mixin-exists(hook-alert-primary)) {@include hook-alert-primary();}
86
88
  }
87
89
 
88
90
  /*
@@ -92,7 +94,7 @@
92
94
  .uk-alert-success {
93
95
  background: $alert-success-background;
94
96
  color: $alert-success-color;
95
- @if(mixin-exists(hook-alert-success)) {@include hook-alert-success();}
97
+ @if(meta.mixin-exists(hook-alert-success)) {@include hook-alert-success();}
96
98
  }
97
99
 
98
100
  /*
@@ -102,7 +104,7 @@
102
104
  .uk-alert-warning {
103
105
  background: $alert-warning-background;
104
106
  color: $alert-warning-color;
105
- @if(mixin-exists(hook-alert-warning)) {@include hook-alert-warning();}
107
+ @if(meta.mixin-exists(hook-alert-warning)) {@include hook-alert-warning();}
106
108
  }
107
109
 
108
110
  /*
@@ -112,14 +114,14 @@
112
114
  .uk-alert-danger {
113
115
  background: $alert-danger-background;
114
116
  color: $alert-danger-color;
115
- @if(mixin-exists(hook-alert-danger)) {@include hook-alert-danger();}
117
+ @if(meta.mixin-exists(hook-alert-danger)) {@include hook-alert-danger();}
116
118
  }
117
119
 
118
120
 
119
121
  // Hooks
120
122
  // ========================================================================
121
123
 
122
- @if(mixin-exists(hook-alert-misc)) {@include hook-alert-misc();}
124
+ @if(meta.mixin-exists(hook-alert-misc)) {@include hook-alert-misc();}
123
125
 
124
126
  // @mixin hook-alert(){}
125
127
  // @mixin hook-alert-close(){}
@@ -1,3 +1,5 @@
1
+ @use "sass:meta";
2
+
1
3
  // Name: Align
2
4
  // Description: Utilities to align embedded content
3
5
  //
@@ -134,6 +136,6 @@
134
136
  // Hooks
135
137
  // ========================================================================
136
138
 
137
- @if(mixin-exists(hook-align-misc)) {@include hook-align-misc();}
139
+ @if(meta.mixin-exists(hook-align-misc)) {@include hook-align-misc();}
138
140
 
139
141
  // @mixin hook-align-misc(){}
@@ -1,3 +1,5 @@
1
+ @use "sass:meta";
2
+
1
3
  // Name: Animation
2
4
  // Description: Utilities for keyframe animations
3
5
  //
@@ -271,6 +273,6 @@
271
273
  // Hooks
272
274
  // ========================================================================
273
275
 
274
- @if(mixin-exists(hook-animation-misc)) {@include hook-animation-misc();}
276
+ @if(meta.mixin-exists(hook-animation-misc)) {@include hook-animation-misc();}
275
277
 
276
278
  // @mixin hook-animation-misc(){}
@@ -1,3 +1,5 @@
1
+ @use "sass:meta";
2
+
1
3
  // Name: Article
2
4
  // Description: Component to create articles
3
5
  //
@@ -22,7 +24,7 @@
22
24
 
23
25
  .uk-article {
24
26
  display: flow-root;
25
- @if(mixin-exists(hook-article)) {@include hook-article();}
27
+ @if(meta.mixin-exists(hook-article)) {@include hook-article();}
26
28
  }
27
29
 
28
30
  /*
@@ -37,7 +39,7 @@
37
39
 
38
40
  .uk-article + .uk-article {
39
41
  margin-top: $article-margin-top;
40
- @if(mixin-exists(hook-article-adjacent)) {@include hook-article-adjacent();}
42
+ @if(meta.mixin-exists(hook-article-adjacent)) {@include hook-article-adjacent();}
41
43
  }
42
44
 
43
45
 
@@ -47,7 +49,7 @@
47
49
  .uk-article-title {
48
50
  font-size: $article-title-font-size;
49
51
  line-height: $article-title-line-height;
50
- @if(mixin-exists(hook-article-title)) {@include hook-article-title();}
52
+ @if(meta.mixin-exists(hook-article-title)) {@include hook-article-title();}
51
53
  }
52
54
 
53
55
  /* Tablet landscape and bigger */
@@ -65,14 +67,14 @@
65
67
  font-size: $article-meta-font-size;
66
68
  line-height: $article-meta-line-height;
67
69
  color: $article-meta-color;
68
- @if(mixin-exists(hook-article-meta)) {@include hook-article-meta();}
70
+ @if(meta.mixin-exists(hook-article-meta)) {@include hook-article-meta();}
69
71
  }
70
72
 
71
73
 
72
74
  // Hooks
73
75
  // ========================================================================
74
76
 
75
- @if(mixin-exists(hook-article-misc)) {@include hook-article-misc();}
77
+ @if(meta.mixin-exists(hook-article-misc)) {@include hook-article-misc();}
76
78
 
77
79
  // @mixin hook-article(){}
78
80
  // @mixin hook-article-adjacent(){}
@@ -1,3 +1,5 @@
1
+ @use "sass:meta";
2
+
1
3
  // Name: Background
2
4
  // Description: Utilities for backgrounds
3
5
  //
@@ -131,6 +133,6 @@
131
133
  // Hooks
132
134
  // ========================================================================
133
135
 
134
- @if(mixin-exists(hook-background-misc)) {@include hook-background-misc();}
136
+ @if(meta.mixin-exists(hook-background-misc)) {@include hook-background-misc();}
135
137
 
136
138
  // @mixin hook-background-misc(){}
@@ -1,3 +1,5 @@
1
+ @use "sass:meta";
2
+
1
3
  // Name: Badge
2
4
  // Description: Component to create notification badges
3
5
  //
@@ -36,7 +38,7 @@
36
38
  justify-content: center;
37
39
  align-items: center;
38
40
  line-height: 0;
39
- @if(mixin-exists(hook-badge)) {@include hook-badge();}
41
+ @if(meta.mixin-exists(hook-badge)) {@include hook-badge();}
40
42
  }
41
43
 
42
44
  /*
@@ -45,14 +47,14 @@
45
47
 
46
48
  .uk-badge:hover {
47
49
  text-decoration: none;
48
- @if(mixin-exists(hook-badge-hover)) {@include hook-badge-hover();}
50
+ @if(meta.mixin-exists(hook-badge-hover)) {@include hook-badge-hover();}
49
51
  }
50
52
 
51
53
 
52
54
  // Hooks
53
55
  // ========================================================================
54
56
 
55
- @if(mixin-exists(hook-badge-misc)) {@include hook-badge-misc();}
57
+ @if(meta.mixin-exists(hook-badge-misc)) {@include hook-badge-misc();}
56
58
 
57
59
  // @mixin hook-badge(){}
58
60
  // @mixin hook-badge-hover(){}
@@ -1,3 +1,6 @@
1
+ @use "sass:meta";
2
+ @use "sass:string";
3
+
1
4
  // Name: Base
2
5
  // Description: Default values for HTML elements
3
6
  //
@@ -44,7 +47,7 @@ html {
44
47
  /* 3 */
45
48
  background: $base-body-background;
46
49
  color: $base-body-color;
47
- @if(mixin-exists(hook-base-body)) {@include hook-base-body();}
50
+ @if(meta.mixin-exists(hook-base-body)) {@include hook-base-body();}
48
51
  }
49
52
 
50
53
  /*
@@ -66,7 +69,7 @@ a,
66
69
  color: $base-link-color;
67
70
  text-decoration: $base-link-text-decoration;
68
71
  cursor: pointer;
69
- @if(mixin-exists(hook-base-link)) {@include hook-base-link();}
72
+ @if(meta.mixin-exists(hook-base-link)) {@include hook-base-link();}
70
73
  }
71
74
 
72
75
  a:hover,
@@ -74,7 +77,7 @@ a:hover,
74
77
  .uk-link-toggle:hover .uk-link {
75
78
  color: $base-link-hover-color;
76
79
  text-decoration: $base-link-hover-text-decoration;
77
- @if(mixin-exists(hook-base-link-hover)) {@include hook-base-link-hover();}
80
+ @if(meta.mixin-exists(hook-base-link-hover)) {@include hook-base-link-hover();}
78
81
  }
79
82
 
80
83
 
@@ -116,7 +119,7 @@ strong { font-weight: $base-strong-font-weight; }
116
119
  /* 3 */
117
120
  color: $base-code-color;
118
121
  white-space: nowrap;
119
- @if(mixin-exists(hook-base-code)) {@include hook-base-code();}
122
+ @if(meta.mixin-exists(hook-base-code)) {@include hook-base-code();}
120
123
  }
121
124
 
122
125
  /*
@@ -272,7 +275,7 @@ h6, .uk-h6,
272
275
  font-weight: $base-heading-font-weight;
273
276
  color: $base-heading-color;
274
277
  text-transform: $base-heading-text-transform;
275
- @if(mixin-exists(hook-base-heading)) {@include hook-base-heading();}
278
+ @if(meta.mixin-exists(hook-base-heading)) {@include hook-base-heading();}
276
279
  }
277
280
 
278
281
  /* Add margin if adjacent element */
@@ -296,37 +299,37 @@ h6, .uk-h6,
296
299
  h1, .uk-h1 {
297
300
  font-size: $base-h1-font-size;
298
301
  line-height: $base-h1-line-height;
299
- @if(mixin-exists(hook-base-h1)) {@include hook-base-h1();}
302
+ @if(meta.mixin-exists(hook-base-h1)) {@include hook-base-h1();}
300
303
  }
301
304
 
302
305
  h2, .uk-h2 {
303
306
  font-size: $base-h2-font-size;
304
307
  line-height: $base-h2-line-height;
305
- @if(mixin-exists(hook-base-h2)) {@include hook-base-h2();}
308
+ @if(meta.mixin-exists(hook-base-h2)) {@include hook-base-h2();}
306
309
  }
307
310
 
308
311
  h3, .uk-h3 {
309
312
  font-size: $base-h3-font-size;
310
313
  line-height: $base-h3-line-height;
311
- @if(mixin-exists(hook-base-h3)) {@include hook-base-h3();}
314
+ @if(meta.mixin-exists(hook-base-h3)) {@include hook-base-h3();}
312
315
  }
313
316
 
314
317
  h4, .uk-h4 {
315
318
  font-size: $base-h4-font-size;
316
319
  line-height: $base-h4-line-height;
317
- @if(mixin-exists(hook-base-h4)) {@include hook-base-h4();}
320
+ @if(meta.mixin-exists(hook-base-h4)) {@include hook-base-h4();}
318
321
  }
319
322
 
320
323
  h5, .uk-h5 {
321
324
  font-size: $base-h5-font-size;
322
325
  line-height: $base-h5-line-height;
323
- @if(mixin-exists(hook-base-h5)) {@include hook-base-h5();}
326
+ @if(meta.mixin-exists(hook-base-h5)) {@include hook-base-h5();}
324
327
  }
325
328
 
326
329
  h6, .uk-h6 {
327
330
  font-size: $base-h6-font-size;
328
331
  line-height: $base-h6-line-height;
329
- @if(mixin-exists(hook-base-h6)) {@include hook-base-h6();}
332
+ @if(meta.mixin-exists(hook-base-h6)) {@include hook-base-h6();}
330
333
  }
331
334
 
332
335
  /* Tablet landscape and bigger */
@@ -379,7 +382,7 @@ hr, .uk-hr {
379
382
  margin: 0 0 $base-hr-margin-vertical 0;
380
383
  border: 0;
381
384
  border-top: $base-hr-border-width solid $base-hr-border;
382
- @if(mixin-exists(hook-base-hr)) {@include hook-base-hr();}
385
+ @if(meta.mixin-exists(hook-base-hr)) {@include hook-base-hr();}
383
386
  }
384
387
 
385
388
  /* Add margin if adjacent element */
@@ -401,7 +404,7 @@ blockquote {
401
404
  font-size: $base-blockquote-font-size;
402
405
  line-height: $base-blockquote-line-height;
403
406
  font-style: $base-blockquote-font-style;
404
- @if(mixin-exists(hook-base-blockquote)) {@include hook-base-blockquote();}
407
+ @if(meta.mixin-exists(hook-base-blockquote)) {@include hook-base-blockquote();}
405
408
  }
406
409
 
407
410
  /* Add margin if adjacent element */
@@ -417,7 +420,7 @@ blockquote footer {
417
420
  margin-top: $base-blockquote-footer-margin-top;
418
421
  font-size: $base-blockquote-footer-font-size;
419
422
  line-height: $base-blockquote-footer-line-height;
420
- @if(mixin-exists(hook-base-blockquote-footer)) {@include hook-base-blockquote-footer();}
423
+ @if(meta.mixin-exists(hook-base-blockquote-footer)) {@include hook-base-blockquote-footer();}
421
424
  }
422
425
 
423
426
 
@@ -429,13 +432,13 @@ blockquote footer {
429
432
  */
430
433
 
431
434
  pre {
432
- font: $base-pre-font-size unquote("/") $base-pre-line-height $base-pre-font-family;
435
+ font: $base-pre-font-size string.unquote("/") $base-pre-line-height $base-pre-font-family;
433
436
  color: $base-pre-color;
434
437
  -moz-tab-size: 4;
435
438
  tab-size: 4;
436
439
  /* 1 */
437
440
  overflow: auto;
438
- @if(mixin-exists(hook-base-pre)) {@include hook-base-pre();}
441
+ @if(meta.mixin-exists(hook-base-pre)) {@include hook-base-pre();}
439
442
  }
440
443
 
441
444
  pre code { font-family: $base-pre-font-family; }
@@ -502,7 +505,7 @@ template { display: none; }
502
505
  // Hooks
503
506
  // ========================================================================
504
507
 
505
- @if(mixin-exists(hook-base-misc)) {@include hook-base-misc();}
508
+ @if(meta.mixin-exists(hook-base-misc)) {@include hook-base-misc();}
506
509
 
507
510
  // @mixin hook-base-body(){}
508
511
  // @mixin hook-base-link(){}
@@ -1,3 +1,5 @@
1
+ @use "sass:meta";
2
+
1
3
  // Name: Breadcrumb
2
4
  // Description: Component to create a breadcrumb navigation
3
5
  //
@@ -29,7 +31,7 @@
29
31
  list-style: none;
30
32
  /* 2 */
31
33
  font-size: 0;
32
- @if(mixin-exists(hook-breadcrumb)) {@include hook-breadcrumb();}
34
+ @if(meta.mixin-exists(hook-breadcrumb)) {@include hook-breadcrumb();}
33
35
  }
34
36
 
35
37
  /*
@@ -45,26 +47,26 @@
45
47
  .uk-breadcrumb > * > * {
46
48
  font-size: $breadcrumb-item-font-size;
47
49
  color: $breadcrumb-item-color;
48
- @if(mixin-exists(hook-breadcrumb-item)) {@include hook-breadcrumb-item();}
50
+ @if(meta.mixin-exists(hook-breadcrumb-item)) {@include hook-breadcrumb-item();}
49
51
  }
50
52
 
51
53
  /* Hover */
52
54
  .uk-breadcrumb > * > :hover {
53
55
  color: $breadcrumb-item-hover-color;
54
56
  text-decoration: $breadcrumb-item-hover-text-decoration;
55
- @if(mixin-exists(hook-breadcrumb-item-hover)) {@include hook-breadcrumb-item-hover();}
57
+ @if(meta.mixin-exists(hook-breadcrumb-item-hover)) {@include hook-breadcrumb-item-hover();}
56
58
  }
57
59
 
58
60
  /* Disabled */
59
61
  .uk-breadcrumb > .uk-disabled > * {
60
- @if(mixin-exists(hook-breadcrumb-item-disabled)) {@include hook-breadcrumb-item-disabled();}
62
+ @if(meta.mixin-exists(hook-breadcrumb-item-disabled)) {@include hook-breadcrumb-item-disabled();}
61
63
  }
62
64
 
63
65
  /* Active */
64
66
  .uk-breadcrumb > :last-child > span,
65
67
  .uk-breadcrumb > :last-child > a:not([href]) {
66
68
  color: $breadcrumb-item-active-color;
67
- @if(mixin-exists(hook-breadcrumb-item-active)) {@include hook-breadcrumb-item-active();}
69
+ @if(meta.mixin-exists(hook-breadcrumb-item-active)) {@include hook-breadcrumb-item-active();}
68
70
  }
69
71
 
70
72
  /*
@@ -82,14 +84,14 @@
82
84
  /* 2 */
83
85
  font-size: $breadcrumb-divider-font-size;
84
86
  color: $breadcrumb-divider-color;
85
- @if(mixin-exists(hook-breadcrumb-divider)) {@include hook-breadcrumb-divider();}
87
+ @if(meta.mixin-exists(hook-breadcrumb-divider)) {@include hook-breadcrumb-divider();}
86
88
  }
87
89
 
88
90
 
89
91
  // Hooks
90
92
  // ========================================================================
91
93
 
92
- @if(mixin-exists(hook-breadcrumb-misc)) {@include hook-breadcrumb-misc();}
94
+ @if(meta.mixin-exists(hook-breadcrumb-misc)) {@include hook-breadcrumb-misc();}
93
95
 
94
96
  // @mixin hook-breadcrumb(){}
95
97
  // @mixin hook-breadcrumb-item(){}
@@ -1,3 +1,5 @@
1
+ @use "sass:meta";
2
+
1
3
  // Name: Button
2
4
  // Description: Styles for buttons
3
5
  //
@@ -78,7 +80,7 @@
78
80
  text-align: center;
79
81
  /* 10 */
80
82
  text-decoration: none;
81
- @if(mixin-exists(hook-button)) {@include hook-button();}
83
+ @if(meta.mixin-exists(hook-button)) {@include hook-button();}
82
84
  }
83
85
 
84
86
  .uk-button:not(:disabled) { cursor: pointer; }
@@ -96,13 +98,13 @@
96
98
  .uk-button:hover {
97
99
  /* 9 */
98
100
  text-decoration: none;
99
- @if(mixin-exists(hook-button-hover)) {@include hook-button-hover();}
101
+ @if(meta.mixin-exists(hook-button-hover)) {@include hook-button-hover();}
100
102
  }
101
103
 
102
104
  /* OnClick + Active */
103
105
  .uk-button:active,
104
106
  .uk-button.uk-active {
105
- @if(mixin-exists(hook-button-active)) {@include hook-button-active();}
107
+ @if(meta.mixin-exists(hook-button-active)) {@include hook-button-active();}
106
108
  }
107
109
 
108
110
 
@@ -116,14 +118,14 @@
116
118
  .uk-button-default {
117
119
  background-color: $button-default-background;
118
120
  color: $button-default-color;
119
- @if(mixin-exists(hook-button-default)) {@include hook-button-default();}
121
+ @if(meta.mixin-exists(hook-button-default)) {@include hook-button-default();}
120
122
  }
121
123
 
122
124
  /* Hover */
123
125
  .uk-button-default:hover {
124
126
  background-color: $button-default-hover-background;
125
127
  color: $button-default-hover-color;
126
- @if(mixin-exists(hook-button-default-hover)) {@include hook-button-default-hover();}
128
+ @if(meta.mixin-exists(hook-button-default-hover)) {@include hook-button-default-hover();}
127
129
  }
128
130
 
129
131
  /* OnClick + Active */
@@ -131,7 +133,7 @@
131
133
  .uk-button-default.uk-active {
132
134
  background-color: $button-default-active-background;
133
135
  color: $button-default-active-color;
134
- @if(mixin-exists(hook-button-default-active)) {@include hook-button-default-active();}
136
+ @if(meta.mixin-exists(hook-button-default-active)) {@include hook-button-default-active();}
135
137
  }
136
138
 
137
139
  /*
@@ -141,14 +143,14 @@
141
143
  .uk-button-primary {
142
144
  background-color: $button-primary-background;
143
145
  color: $button-primary-color;
144
- @if(mixin-exists(hook-button-primary)) {@include hook-button-primary();}
146
+ @if(meta.mixin-exists(hook-button-primary)) {@include hook-button-primary();}
145
147
  }
146
148
 
147
149
  /* Hover */
148
150
  .uk-button-primary:hover {
149
151
  background-color: $button-primary-hover-background;
150
152
  color: $button-primary-hover-color;
151
- @if(mixin-exists(hook-button-primary-hover)) {@include hook-button-primary-hover();}
153
+ @if(meta.mixin-exists(hook-button-primary-hover)) {@include hook-button-primary-hover();}
152
154
  }
153
155
 
154
156
  /* OnClick + Active */
@@ -156,7 +158,7 @@
156
158
  .uk-button-primary.uk-active {
157
159
  background-color: $button-primary-active-background;
158
160
  color: $button-primary-active-color;
159
- @if(mixin-exists(hook-button-primary-active)) {@include hook-button-primary-active();}
161
+ @if(meta.mixin-exists(hook-button-primary-active)) {@include hook-button-primary-active();}
160
162
  }
161
163
 
162
164
  /*
@@ -166,14 +168,14 @@
166
168
  .uk-button-secondary {
167
169
  background-color: $button-secondary-background;
168
170
  color: $button-secondary-color;
169
- @if(mixin-exists(hook-button-secondary)) {@include hook-button-secondary();}
171
+ @if(meta.mixin-exists(hook-button-secondary)) {@include hook-button-secondary();}
170
172
  }
171
173
 
172
174
  /* Hover */
173
175
  .uk-button-secondary:hover {
174
176
  background-color: $button-secondary-hover-background;
175
177
  color: $button-secondary-hover-color;
176
- @if(mixin-exists(hook-button-secondary-hover)) {@include hook-button-secondary-hover();}
178
+ @if(meta.mixin-exists(hook-button-secondary-hover)) {@include hook-button-secondary-hover();}
177
179
  }
178
180
 
179
181
  /* OnClick + Active */
@@ -181,7 +183,7 @@
181
183
  .uk-button-secondary.uk-active {
182
184
  background-color: $button-secondary-active-background;
183
185
  color: $button-secondary-active-color;
184
- @if(mixin-exists(hook-button-secondary-active)) {@include hook-button-secondary-active();}
186
+ @if(meta.mixin-exists(hook-button-secondary-active)) {@include hook-button-secondary-active();}
185
187
  }
186
188
 
187
189
  /*
@@ -191,14 +193,14 @@
191
193
  .uk-button-danger {
192
194
  background-color: $button-danger-background;
193
195
  color: $button-danger-color;
194
- @if(mixin-exists(hook-button-danger)) {@include hook-button-danger();}
196
+ @if(meta.mixin-exists(hook-button-danger)) {@include hook-button-danger();}
195
197
  }
196
198
 
197
199
  /* Hover */
198
200
  .uk-button-danger:hover {
199
201
  background-color: $button-danger-hover-background;
200
202
  color: $button-danger-hover-color;
201
- @if(mixin-exists(hook-button-danger-hover)) {@include hook-button-danger-hover();}
203
+ @if(meta.mixin-exists(hook-button-danger-hover)) {@include hook-button-danger-hover();}
202
204
  }
203
205
 
204
206
  /* OnClick + Active */
@@ -206,7 +208,7 @@
206
208
  .uk-button-danger.uk-active {
207
209
  background-color: $button-danger-active-background;
208
210
  color: $button-danger-active-color;
209
- @if(mixin-exists(hook-button-danger-active)) {@include hook-button-danger-active();}
211
+ @if(meta.mixin-exists(hook-button-danger-active)) {@include hook-button-danger-active();}
210
212
  }
211
213
 
212
214
  /*
@@ -220,7 +222,7 @@
220
222
  .uk-button-danger:disabled {
221
223
  background-color: $button-disabled-background;
222
224
  color: $button-disabled-color;
223
- @if(mixin-exists(hook-button-disabled)) {@include hook-button-disabled();}
225
+ @if(meta.mixin-exists(hook-button-disabled)) {@include hook-button-disabled();}
224
226
  }
225
227
 
226
228
 
@@ -231,14 +233,14 @@
231
233
  padding: 0 $button-small-padding-horizontal;
232
234
  line-height: $button-small-line-height;
233
235
  font-size: $button-small-font-size;
234
- @if(mixin-exists(hook-button-small)) {@include hook-button-small();}
236
+ @if(meta.mixin-exists(hook-button-small)) {@include hook-button-small();}
235
237
  }
236
238
 
237
239
  .uk-button-large {
238
240
  padding: 0 $button-large-padding-horizontal;
239
241
  line-height: $button-large-line-height;
240
242
  font-size: $button-large-font-size;
241
- @if(mixin-exists(hook-button-large)) {@include hook-button-large();}
243
+ @if(meta.mixin-exists(hook-button-large)) {@include hook-button-large();}
242
244
  }
243
245
 
244
246
 
@@ -258,19 +260,19 @@
258
260
  background: none;
259
261
  /* 2 */
260
262
  color: $button-text-color;
261
- @if(mixin-exists(hook-button-text)) {@include hook-button-text();}
263
+ @if(meta.mixin-exists(hook-button-text)) {@include hook-button-text();}
262
264
  }
263
265
 
264
266
  /* Hover */
265
267
  .uk-button-text:hover {
266
268
  color: $button-text-hover-color;
267
- @if(mixin-exists(hook-button-text-hover)) {@include hook-button-text-hover();}
269
+ @if(meta.mixin-exists(hook-button-text-hover)) {@include hook-button-text-hover();}
268
270
  }
269
271
 
270
272
  /* Disabled */
271
273
  .uk-button-text:disabled {
272
274
  color: $button-text-disabled-color;
273
- @if(mixin-exists(hook-button-text-disabled)) {@include hook-button-text-disabled();}
275
+ @if(meta.mixin-exists(hook-button-text-disabled)) {@include hook-button-text-disabled();}
274
276
  }
275
277
 
276
278
  /*
@@ -286,7 +288,7 @@
286
288
  background: none;
287
289
  /* 2 */
288
290
  color: $button-link-color;
289
- @if(mixin-exists(hook-button-link)) {@include hook-button-link();}
291
+ @if(meta.mixin-exists(hook-button-link)) {@include hook-button-link();}
290
292
  }
291
293
 
292
294
  /* Hover */
@@ -324,7 +326,7 @@
324
326
  // Hooks
325
327
  // ========================================================================
326
328
 
327
- @if(mixin-exists(hook-button-misc)) {@include hook-button-misc();}
329
+ @if(meta.mixin-exists(hook-button-misc)) {@include hook-button-misc();}
328
330
 
329
331
  // @mixin hook-button(){}
330
332
  // @mixin hook-button-hover(){}