uikit 3.23.7-dev.ea33b1a06 → 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 (204) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/build/release.js +1 -1
  3. package/build/scss.js +49 -12
  4. package/build/util.js +2 -0
  5. package/dist/css/uikit-core-rtl.css +1 -1
  6. package/dist/css/uikit-core-rtl.min.css +1 -1
  7. package/dist/css/uikit-core.css +1 -1
  8. package/dist/css/uikit-core.min.css +1 -1
  9. package/dist/css/uikit-rtl.css +1 -1
  10. package/dist/css/uikit-rtl.min.css +1 -1
  11. package/dist/css/uikit.css +1 -1
  12. package/dist/css/uikit.min.css +1 -1
  13. package/dist/js/components/countdown.js +1 -1
  14. package/dist/js/components/countdown.min.js +1 -1
  15. package/dist/js/components/filter.js +3 -3
  16. package/dist/js/components/filter.min.js +1 -1
  17. package/dist/js/components/lightbox-panel.js +5 -5
  18. package/dist/js/components/lightbox-panel.min.js +1 -1
  19. package/dist/js/components/lightbox.js +5 -5
  20. package/dist/js/components/lightbox.min.js +1 -1
  21. package/dist/js/components/notification.js +3 -3
  22. package/dist/js/components/notification.min.js +1 -1
  23. package/dist/js/components/parallax.js +3 -2
  24. package/dist/js/components/parallax.min.js +1 -1
  25. package/dist/js/components/slider-parallax.js +3 -2
  26. package/dist/js/components/slider-parallax.min.js +1 -1
  27. package/dist/js/components/slider.js +5 -4
  28. package/dist/js/components/slider.min.js +1 -1
  29. package/dist/js/components/slideshow-parallax.js +3 -2
  30. package/dist/js/components/slideshow-parallax.min.js +1 -1
  31. package/dist/js/components/slideshow.js +5 -4
  32. package/dist/js/components/slideshow.min.js +1 -1
  33. package/dist/js/components/sortable.js +1 -1
  34. package/dist/js/components/sortable.min.js +1 -1
  35. package/dist/js/components/tooltip.js +1 -1
  36. package/dist/js/components/tooltip.min.js +1 -1
  37. package/dist/js/components/upload.js +1 -1
  38. package/dist/js/components/upload.min.js +1 -1
  39. package/dist/js/uikit-core.js +11 -10
  40. package/dist/js/uikit-core.min.js +1 -1
  41. package/dist/js/uikit-icons.js +1 -1
  42. package/dist/js/uikit-icons.min.js +1 -1
  43. package/dist/js/uikit.js +15 -14
  44. package/dist/js/uikit.min.js +1 -1
  45. package/package.json +1 -1
  46. package/src/js/components/filter.js +2 -2
  47. package/src/js/components/lightbox-panel.js +1 -1
  48. package/src/js/components/notification.js +2 -2
  49. package/src/js/core/accordion.js +2 -2
  50. package/src/js/core/alert.js +2 -2
  51. package/src/js/core/drop.js +2 -2
  52. package/src/js/core/switcher.js +3 -3
  53. package/src/js/mixin/event.js +1 -1
  54. package/src/js/mixin/modal.js +2 -2
  55. package/src/js/mixin/slider-nav.js +2 -2
  56. package/src/js/util/selector.js +1 -1
  57. package/src/scss/components/accordion.scss +8 -6
  58. package/src/scss/components/alert.scss +10 -8
  59. package/src/scss/components/align.scss +3 -1
  60. package/src/scss/components/animation.scss +3 -1
  61. package/src/scss/components/article.scss +7 -5
  62. package/src/scss/components/background.scss +3 -1
  63. package/src/scss/components/badge.scss +5 -3
  64. package/src/scss/components/base.scss +20 -17
  65. package/src/scss/components/breadcrumb.scss +9 -7
  66. package/src/scss/components/button.scss +25 -23
  67. package/src/scss/components/card.scss +26 -24
  68. package/src/scss/components/close.scss +5 -3
  69. package/src/scss/components/column.scss +3 -1
  70. package/src/scss/components/comment.scss +13 -11
  71. package/src/scss/components/container.scss +14 -11
  72. package/src/scss/components/countdown.scss +8 -6
  73. package/src/scss/components/cover.scss +3 -1
  74. package/src/scss/components/description-list.scss +6 -4
  75. package/src/scss/components/divider.scss +13 -10
  76. package/src/scss/components/dotnav.scss +8 -6
  77. package/src/scss/components/drop.scss +3 -1
  78. package/src/scss/components/dropbar.scss +8 -6
  79. package/src/scss/components/dropdown.scss +12 -10
  80. package/src/scss/components/dropnav.scss +3 -1
  81. package/src/scss/components/flex.scss +3 -1
  82. package/src/scss/components/form-range.scss +13 -10
  83. package/src/scss/components/form.scss +23 -21
  84. package/src/scss/components/grid.scss +5 -3
  85. package/src/scss/components/heading.scss +16 -13
  86. package/src/scss/components/height.scss +3 -1
  87. package/src/scss/components/icon.scss +9 -7
  88. package/src/scss/components/iconnav.scss +7 -5
  89. package/src/scss/components/inverse.scss +4 -2
  90. package/src/scss/components/label.scss +7 -5
  91. package/src/scss/components/leader.scss +4 -2
  92. package/src/scss/components/lightbox.scss +6 -4
  93. package/src/scss/components/link.scss +10 -8
  94. package/src/scss/components/list.scss +5 -3
  95. package/src/scss/components/margin.scss +3 -1
  96. package/src/scss/components/marker.scss +5 -3
  97. package/src/scss/components/mixin.scss +6 -4
  98. package/src/scss/components/modal.scss +18 -16
  99. package/src/scss/components/nav.scss +33 -31
  100. package/src/scss/components/navbar.scss +33 -30
  101. package/src/scss/components/notification.scss +10 -8
  102. package/src/scss/components/offcanvas.scss +6 -4
  103. package/src/scss/components/overlay.scss +7 -5
  104. package/src/scss/components/padding.scss +3 -1
  105. package/src/scss/components/pagination.scss +8 -6
  106. package/src/scss/components/placeholder.scss +4 -2
  107. package/src/scss/components/position.scss +9 -6
  108. package/src/scss/components/print.scss +3 -1
  109. package/src/scss/components/progress.scss +6 -4
  110. package/src/scss/components/search.scss +15 -13
  111. package/src/scss/components/section.scss +9 -7
  112. package/src/scss/components/slidenav.scss +10 -8
  113. package/src/scss/components/slider.scss +4 -2
  114. package/src/scss/components/slideshow.scss +4 -2
  115. package/src/scss/components/sortable.scss +7 -5
  116. package/src/scss/components/spinner.scss +6 -3
  117. package/src/scss/components/sticky.scss +3 -1
  118. package/src/scss/components/subnav.scss +13 -11
  119. package/src/scss/components/svg.scss +3 -1
  120. package/src/scss/components/switcher.scss +3 -1
  121. package/src/scss/components/tab.scss +14 -12
  122. package/src/scss/components/table.scss +17 -14
  123. package/src/scss/components/text.scss +8 -6
  124. package/src/scss/components/thumbnav.scss +7 -5
  125. package/src/scss/components/tile.scss +12 -10
  126. package/src/scss/components/tooltip.scss +4 -2
  127. package/src/scss/components/totop.scss +6 -4
  128. package/src/scss/components/transition.scss +3 -1
  129. package/src/scss/components/utility.scss +8 -6
  130. package/src/scss/components/visibility.scss +3 -1
  131. package/src/scss/components/width.scss +34 -31
  132. package/src/scss/mixins-theme.scss +169 -168
  133. package/src/scss/mixins.scss +175 -175
  134. package/src/scss/uikit-theme.scss +0 -1
  135. package/src/scss/variables-theme.scss +70 -66
  136. package/src/scss/variables.scss +74 -70
  137. package/src/scss/theme/_import.scss +0 -82
  138. package/src/scss/theme/accordion.scss +0 -55
  139. package/src/scss/theme/alert.scss +0 -45
  140. package/src/scss/theme/align.scss +0 -14
  141. package/src/scss/theme/animation.scss +0 -14
  142. package/src/scss/theme/article.scss +0 -49
  143. package/src/scss/theme/background.scss +0 -14
  144. package/src/scss/theme/badge.scss +0 -29
  145. package/src/scss/theme/base.scss +0 -104
  146. package/src/scss/theme/breadcrumb.scss +0 -45
  147. package/src/scss/theme/button.scss +0 -132
  148. package/src/scss/theme/card.scss +0 -111
  149. package/src/scss/theme/close.scss +0 -29
  150. package/src/scss/theme/column.scss +0 -14
  151. package/src/scss/theme/comment.scss +0 -67
  152. package/src/scss/theme/container.scss +0 -14
  153. package/src/scss/theme/countdown.scss +0 -53
  154. package/src/scss/theme/description-list.scss +0 -29
  155. package/src/scss/theme/divider.scss +0 -49
  156. package/src/scss/theme/dotnav.scss +0 -46
  157. package/src/scss/theme/drop.scss +0 -14
  158. package/src/scss/theme/dropbar.scss +0 -38
  159. package/src/scss/theme/dropdown.scss +0 -53
  160. package/src/scss/theme/form-range.scss +0 -51
  161. package/src/scss/theme/form.scss +0 -117
  162. package/src/scss/theme/grid.scss +0 -28
  163. package/src/scss/theme/heading.scss +0 -71
  164. package/src/scss/theme/height.scss +0 -14
  165. package/src/scss/theme/icon.scss +0 -50
  166. package/src/scss/theme/iconnav.scss +0 -39
  167. package/src/scss/theme/inverse.scss +0 -14
  168. package/src/scss/theme/label.scss +0 -41
  169. package/src/scss/theme/leader.scss +0 -26
  170. package/src/scss/theme/lightbox.scss +0 -32
  171. package/src/scss/theme/link.scss +0 -55
  172. package/src/scss/theme/list.scss +0 -34
  173. package/src/scss/theme/margin.scss +0 -14
  174. package/src/scss/theme/marker.scss +0 -29
  175. package/src/scss/theme/modal.scss +0 -77
  176. package/src/scss/theme/nav.scss +0 -131
  177. package/src/scss/theme/navbar.scss +0 -135
  178. package/src/scss/theme/notification.scss +0 -44
  179. package/src/scss/theme/offcanvas.scss +0 -32
  180. package/src/scss/theme/overlay.scss +0 -33
  181. package/src/scss/theme/padding.scss +0 -14
  182. package/src/scss/theme/pagination.scss +0 -41
  183. package/src/scss/theme/placeholder.scss +0 -26
  184. package/src/scss/theme/position.scss +0 -14
  185. package/src/scss/theme/progress.scss +0 -23
  186. package/src/scss/theme/search.scss +0 -101
  187. package/src/scss/theme/section.scss +0 -32
  188. package/src/scss/theme/slidenav.scss +0 -52
  189. package/src/scss/theme/slider.scss +0 -14
  190. package/src/scss/theme/sortable.scss +0 -38
  191. package/src/scss/theme/spinner.scss +0 -14
  192. package/src/scss/theme/sticky.scss +0 -14
  193. package/src/scss/theme/subnav.scss +0 -72
  194. package/src/scss/theme/tab.scss +0 -67
  195. package/src/scss/theme/table.scss +0 -65
  196. package/src/scss/theme/text.scss +0 -49
  197. package/src/scss/theme/thumbnav.scss +0 -40
  198. package/src/scss/theme/tile.scss +0 -52
  199. package/src/scss/theme/tooltip.scss +0 -20
  200. package/src/scss/theme/totop.scss +0 -32
  201. package/src/scss/theme/transition.scss +0 -14
  202. package/src/scss/theme/utility.scss +0 -49
  203. package/src/scss/theme/variables.scss +0 -36
  204. 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-dev.ea33b1a06",
5
+ "version": "3.23.8-dev.ff7a25595",
6
6
  "main": "dist/js/uikit.js",
7
7
  "style": "dist/css/uikit.css",
8
8
  "sideEffects": [
@@ -18,7 +18,7 @@ import {
18
18
  } from 'uikit-util';
19
19
  import { parseOptions } from '../api/options';
20
20
  import Animate from '../mixin/animate';
21
- import { maybeDefautPreventClick } from '../mixin/event';
21
+ import { maybeDefaultPreventClick } from '../mixin/event';
22
22
  import { keyMap } from '../util/keys';
23
23
 
24
24
  export default {
@@ -79,7 +79,7 @@ export default {
79
79
  }
80
80
 
81
81
  if (e.target.closest('a,button')) {
82
- maybeDefautPreventClick(e);
82
+ maybeDefaultPreventClick(e);
83
83
  this.apply(e.current);
84
84
  }
85
85
  },
@@ -208,7 +208,7 @@ export default {
208
208
  el: () => document,
209
209
 
210
210
  handler({ keyCode }) {
211
- if (!this.isToggled(this.$el) || !this.draggable) {
211
+ if (!this.isToggled() || !this.draggable) {
212
212
  return;
213
213
  }
214
214
 
@@ -12,7 +12,7 @@ import {
12
12
  trigger,
13
13
  } from 'uikit-util';
14
14
  import Container from '../mixin/container';
15
- import { maybeDefautPreventClick } from '../mixin/event';
15
+ import { maybeDefaultPreventClick } from '../mixin/event';
16
16
 
17
17
  export default {
18
18
  mixins: [Container],
@@ -79,7 +79,7 @@ export default {
79
79
 
80
80
  events: {
81
81
  click(e) {
82
- maybeDefautPreventClick(e);
82
+ maybeDefaultPreventClick(e);
83
83
  this.close();
84
84
  },
85
85
 
@@ -22,7 +22,7 @@ import {
22
22
  import { generateId } from '../api/instance';
23
23
  import { lazyload } from '../api/observables';
24
24
  import Class from '../mixin/class';
25
- import { maybeDefautPreventClick } from '../mixin/event';
25
+ import { maybeDefaultPreventClick } from '../mixin/event';
26
26
  import Togglable from '../mixin/togglable';
27
27
  import { keyMap } from '../util/keys';
28
28
 
@@ -109,7 +109,7 @@ export default {
109
109
  return;
110
110
  }
111
111
 
112
- maybeDefautPreventClick(e);
112
+ maybeDefaultPreventClick(e);
113
113
 
114
114
  this._off?.();
115
115
  this._off = keepScrollPosition(e.target);
@@ -1,6 +1,6 @@
1
1
  import { css, toFloat, Transition } from 'uikit-util';
2
2
  import Class from '../mixin/class';
3
- import { maybeDefautPreventClick } from '../mixin/event';
3
+ import { maybeDefaultPreventClick } from '../mixin/event';
4
4
  import Togglable from '../mixin/togglable';
5
5
 
6
6
  export default {
@@ -25,7 +25,7 @@ export default {
25
25
  delegate: ({ selClose }) => selClose,
26
26
 
27
27
  handler(e) {
28
- maybeDefautPreventClick(e);
28
+ maybeDefaultPreventClick(e);
29
29
  this.close();
30
30
  },
31
31
  },
@@ -29,7 +29,7 @@ import {
29
29
  removeClass,
30
30
  } from 'uikit-util';
31
31
  import Container from '../mixin/container';
32
- import { maybeDefautPreventClick } from '../mixin/event';
32
+ import { maybeDefaultPreventClick } from '../mixin/event';
33
33
  import Position, { storeScrollPosition } from '../mixin/position';
34
34
  import Togglable from '../mixin/togglable';
35
35
  import { keyMap } from '../util/keys';
@@ -136,7 +136,7 @@ export default {
136
136
  delegate: ({ selClose }) => selClose,
137
137
 
138
138
  handler(e) {
139
- maybeDefautPreventClick(e);
139
+ maybeDefaultPreventClick(e);
140
140
  this.hide(false);
141
141
  },
142
142
  },
@@ -18,7 +18,7 @@ import {
18
18
  } from 'uikit-util';
19
19
  import { generateId } from '../api/instance';
20
20
  import { lazyload, swipe } from '../api/observables';
21
- import { maybeDefautPreventClick } from '../mixin/event';
21
+ import { maybeDefaultPreventClick } from '../mixin/event';
22
22
  import Togglable from '../mixin/togglable';
23
23
  import { keyMap } from '../util/keys';
24
24
 
@@ -112,7 +112,7 @@ export default {
112
112
  !matches(e.current, selDisabled) &&
113
113
  (e.type === 'click' || e.keyCode === keyMap.SPACE)
114
114
  ) {
115
- maybeDefautPreventClick(e);
115
+ maybeDefaultPreventClick(e);
116
116
  this.show(e.current);
117
117
  }
118
118
  },
@@ -162,7 +162,7 @@ export default {
162
162
 
163
163
  handler(e) {
164
164
  if (e.target.closest('a,button')) {
165
- maybeDefautPreventClick(e);
165
+ maybeDefaultPreventClick(e);
166
166
  this.show(data(e.current, this.attrItem));
167
167
  }
168
168
  },
@@ -1,4 +1,4 @@
1
- export function maybeDefautPreventClick(e) {
1
+ export function maybeDefaultPreventClick(e) {
2
2
  if (e.target.closest('a[href="#"],a[href=""]')) {
3
3
  e.preventDefault();
4
4
  }
@@ -21,7 +21,7 @@ import {
21
21
  import { preventBackgroundScroll } from '../util/scroll';
22
22
  import Class from './class';
23
23
  import Container from './container';
24
- import { maybeDefautPreventClick } from './event';
24
+ import { maybeDefaultPreventClick } from './event';
25
25
  import Togglable from './togglable';
26
26
 
27
27
  const active = [];
@@ -87,7 +87,7 @@ export default {
87
87
  ) {
88
88
  this.hide();
89
89
  } else if (matches(current, this.selClose)) {
90
- maybeDefautPreventClick(e);
90
+ maybeDefaultPreventClick(e);
91
91
  this.hide();
92
92
  }
93
93
  },
@@ -16,7 +16,7 @@ import {
16
16
  } from 'uikit-util';
17
17
  import { generateId } from '../api/instance';
18
18
  import { keyMap } from '../util/keys';
19
- import { maybeDefautPreventClick } from './event';
19
+ import { maybeDefaultPreventClick } from './event';
20
20
 
21
21
  export default {
22
22
  i18n: {
@@ -148,7 +148,7 @@ export default {
148
148
  e.target.closest('a,button') &&
149
149
  (e.type === 'click' || e.keyCode === keyMap.SPACE)
150
150
  ) {
151
- maybeDefautPreventClick(e);
151
+ maybeDefaultPreventClick(e);
152
152
  this.show(data(e.current, this.attrItem));
153
153
  }
154
154
  },
@@ -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(){}