uikit 3.23.7 → 3.23.8-dev.65e3f4fda

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 (197) hide show
  1. package/CHANGELOG.md +6 -0
  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 +1 -1
  16. package/dist/js/components/filter.min.js +1 -1
  17. package/dist/js/components/lightbox-panel.js +7 -2
  18. package/dist/js/components/lightbox-panel.min.js +1 -1
  19. package/dist/js/components/lightbox.js +7 -2
  20. package/dist/js/components/lightbox.min.js +1 -1
  21. package/dist/js/components/notification.js +1 -1
  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 +3 -2
  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 +3 -2
  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 +13 -7
  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 +13 -7
  44. package/dist/js/uikit.min.js +1 -1
  45. package/package.json +1 -1
  46. package/src/js/core/drop.js +3 -2
  47. package/src/js/mixin/modal.js +7 -1
  48. package/src/js/mixin/svg.js +0 -2
  49. package/src/js/util/selector.js +1 -1
  50. package/src/scss/components/accordion.scss +8 -6
  51. package/src/scss/components/alert.scss +10 -8
  52. package/src/scss/components/align.scss +3 -1
  53. package/src/scss/components/animation.scss +3 -1
  54. package/src/scss/components/article.scss +7 -5
  55. package/src/scss/components/background.scss +3 -1
  56. package/src/scss/components/badge.scss +5 -3
  57. package/src/scss/components/base.scss +20 -17
  58. package/src/scss/components/breadcrumb.scss +9 -7
  59. package/src/scss/components/button.scss +25 -23
  60. package/src/scss/components/card.scss +26 -24
  61. package/src/scss/components/close.scss +5 -3
  62. package/src/scss/components/column.scss +3 -1
  63. package/src/scss/components/comment.scss +13 -11
  64. package/src/scss/components/container.scss +14 -11
  65. package/src/scss/components/countdown.scss +8 -6
  66. package/src/scss/components/cover.scss +3 -1
  67. package/src/scss/components/description-list.scss +6 -4
  68. package/src/scss/components/divider.scss +13 -10
  69. package/src/scss/components/dotnav.scss +8 -6
  70. package/src/scss/components/drop.scss +3 -1
  71. package/src/scss/components/dropbar.scss +8 -6
  72. package/src/scss/components/dropdown.scss +12 -10
  73. package/src/scss/components/dropnav.scss +3 -1
  74. package/src/scss/components/flex.scss +3 -1
  75. package/src/scss/components/form-range.scss +13 -10
  76. package/src/scss/components/form.scss +23 -21
  77. package/src/scss/components/grid.scss +5 -3
  78. package/src/scss/components/heading.scss +16 -13
  79. package/src/scss/components/height.scss +3 -1
  80. package/src/scss/components/icon.scss +9 -7
  81. package/src/scss/components/iconnav.scss +7 -5
  82. package/src/scss/components/inverse.scss +4 -2
  83. package/src/scss/components/label.scss +7 -5
  84. package/src/scss/components/leader.scss +4 -2
  85. package/src/scss/components/lightbox.scss +6 -4
  86. package/src/scss/components/link.scss +10 -8
  87. package/src/scss/components/list.scss +5 -3
  88. package/src/scss/components/margin.scss +3 -1
  89. package/src/scss/components/marker.scss +5 -3
  90. package/src/scss/components/mixin.scss +6 -4
  91. package/src/scss/components/modal.scss +18 -16
  92. package/src/scss/components/nav.scss +33 -31
  93. package/src/scss/components/navbar.scss +33 -30
  94. package/src/scss/components/notification.scss +10 -8
  95. package/src/scss/components/offcanvas.scss +6 -4
  96. package/src/scss/components/overlay.scss +7 -5
  97. package/src/scss/components/padding.scss +3 -1
  98. package/src/scss/components/pagination.scss +8 -6
  99. package/src/scss/components/placeholder.scss +4 -2
  100. package/src/scss/components/position.scss +9 -6
  101. package/src/scss/components/print.scss +3 -1
  102. package/src/scss/components/progress.scss +6 -4
  103. package/src/scss/components/search.scss +15 -13
  104. package/src/scss/components/section.scss +9 -7
  105. package/src/scss/components/slidenav.scss +10 -8
  106. package/src/scss/components/slider.scss +4 -2
  107. package/src/scss/components/slideshow.scss +4 -2
  108. package/src/scss/components/sortable.scss +7 -5
  109. package/src/scss/components/spinner.scss +6 -3
  110. package/src/scss/components/sticky.scss +3 -1
  111. package/src/scss/components/subnav.scss +13 -11
  112. package/src/scss/components/svg.scss +3 -1
  113. package/src/scss/components/switcher.scss +3 -1
  114. package/src/scss/components/tab.scss +14 -12
  115. package/src/scss/components/table.scss +17 -14
  116. package/src/scss/components/text.scss +8 -6
  117. package/src/scss/components/thumbnav.scss +7 -5
  118. package/src/scss/components/tile.scss +12 -10
  119. package/src/scss/components/tooltip.scss +4 -2
  120. package/src/scss/components/totop.scss +6 -4
  121. package/src/scss/components/transition.scss +3 -1
  122. package/src/scss/components/utility.scss +8 -6
  123. package/src/scss/components/visibility.scss +3 -1
  124. package/src/scss/components/width.scss +34 -31
  125. package/src/scss/mixins-theme.scss +169 -168
  126. package/src/scss/mixins.scss +175 -175
  127. package/src/scss/uikit-theme.scss +0 -1
  128. package/src/scss/variables-theme.scss +70 -66
  129. package/src/scss/variables.scss +74 -70
  130. package/src/scss/theme/_import.scss +0 -82
  131. package/src/scss/theme/accordion.scss +0 -55
  132. package/src/scss/theme/alert.scss +0 -45
  133. package/src/scss/theme/align.scss +0 -14
  134. package/src/scss/theme/animation.scss +0 -14
  135. package/src/scss/theme/article.scss +0 -49
  136. package/src/scss/theme/background.scss +0 -14
  137. package/src/scss/theme/badge.scss +0 -29
  138. package/src/scss/theme/base.scss +0 -104
  139. package/src/scss/theme/breadcrumb.scss +0 -45
  140. package/src/scss/theme/button.scss +0 -132
  141. package/src/scss/theme/card.scss +0 -111
  142. package/src/scss/theme/close.scss +0 -29
  143. package/src/scss/theme/column.scss +0 -14
  144. package/src/scss/theme/comment.scss +0 -67
  145. package/src/scss/theme/container.scss +0 -14
  146. package/src/scss/theme/countdown.scss +0 -53
  147. package/src/scss/theme/description-list.scss +0 -29
  148. package/src/scss/theme/divider.scss +0 -49
  149. package/src/scss/theme/dotnav.scss +0 -46
  150. package/src/scss/theme/drop.scss +0 -14
  151. package/src/scss/theme/dropbar.scss +0 -38
  152. package/src/scss/theme/dropdown.scss +0 -53
  153. package/src/scss/theme/form-range.scss +0 -51
  154. package/src/scss/theme/form.scss +0 -117
  155. package/src/scss/theme/grid.scss +0 -28
  156. package/src/scss/theme/heading.scss +0 -71
  157. package/src/scss/theme/height.scss +0 -14
  158. package/src/scss/theme/icon.scss +0 -50
  159. package/src/scss/theme/iconnav.scss +0 -39
  160. package/src/scss/theme/inverse.scss +0 -14
  161. package/src/scss/theme/label.scss +0 -41
  162. package/src/scss/theme/leader.scss +0 -26
  163. package/src/scss/theme/lightbox.scss +0 -32
  164. package/src/scss/theme/link.scss +0 -55
  165. package/src/scss/theme/list.scss +0 -34
  166. package/src/scss/theme/margin.scss +0 -14
  167. package/src/scss/theme/marker.scss +0 -29
  168. package/src/scss/theme/modal.scss +0 -77
  169. package/src/scss/theme/nav.scss +0 -131
  170. package/src/scss/theme/navbar.scss +0 -135
  171. package/src/scss/theme/notification.scss +0 -44
  172. package/src/scss/theme/offcanvas.scss +0 -32
  173. package/src/scss/theme/overlay.scss +0 -33
  174. package/src/scss/theme/padding.scss +0 -14
  175. package/src/scss/theme/pagination.scss +0 -41
  176. package/src/scss/theme/placeholder.scss +0 -26
  177. package/src/scss/theme/position.scss +0 -14
  178. package/src/scss/theme/progress.scss +0 -23
  179. package/src/scss/theme/search.scss +0 -101
  180. package/src/scss/theme/section.scss +0 -32
  181. package/src/scss/theme/slidenav.scss +0 -52
  182. package/src/scss/theme/slider.scss +0 -14
  183. package/src/scss/theme/sortable.scss +0 -38
  184. package/src/scss/theme/spinner.scss +0 -14
  185. package/src/scss/theme/sticky.scss +0 -14
  186. package/src/scss/theme/subnav.scss +0 -72
  187. package/src/scss/theme/tab.scss +0 -67
  188. package/src/scss/theme/table.scss +0 -65
  189. package/src/scss/theme/text.scss +0 -49
  190. package/src/scss/theme/thumbnav.scss +0 -40
  191. package/src/scss/theme/tile.scss +0 -52
  192. package/src/scss/theme/tooltip.scss +0 -20
  193. package/src/scss/theme/totop.scss +0 -32
  194. package/src/scss/theme/transition.scss +0 -14
  195. package/src/scss/theme/utility.scss +0 -49
  196. package/src/scss/theme/variables.scss +0 -36
  197. package/src/scss/theme/width.scss +0 -14
@@ -1,3 +1,5 @@
1
+ @use "sass:meta";
2
+
1
3
  // Name: Pagination
2
4
  // Description: Component to create a page navigation
3
5
  //
@@ -40,7 +42,7 @@
40
42
  /* 4 */
41
43
  padding: 0;
42
44
  list-style: none;
43
- @if(mixin-exists(hook-pagination)) {@include hook-pagination();}
45
+ @if(meta.mixin-exists(hook-pagination)) {@include hook-pagination();}
44
46
  }
45
47
 
46
48
  /*
@@ -77,33 +79,33 @@
77
79
  /* 3 */
78
80
  padding: $pagination-item-padding-vertical $pagination-item-padding-horizontal;
79
81
  color: $pagination-item-color;
80
- @if(mixin-exists(hook-pagination-item)) {@include hook-pagination-item();}
82
+ @if(meta.mixin-exists(hook-pagination-item)) {@include hook-pagination-item();}
81
83
  }
82
84
 
83
85
  /* Hover */
84
86
  .uk-pagination > * > :hover {
85
87
  color: $pagination-item-hover-color;
86
88
  text-decoration: $pagination-item-hover-text-decoration;
87
- @if(mixin-exists(hook-pagination-item-hover)) {@include hook-pagination-item-hover();}
89
+ @if(meta.mixin-exists(hook-pagination-item-hover)) {@include hook-pagination-item-hover();}
88
90
  }
89
91
 
90
92
  /* Active */
91
93
  .uk-pagination > .uk-active > * {
92
94
  color: $pagination-item-active-color;
93
- @if(mixin-exists(hook-pagination-item-active)) {@include hook-pagination-item-active();}
95
+ @if(meta.mixin-exists(hook-pagination-item-active)) {@include hook-pagination-item-active();}
94
96
  }
95
97
 
96
98
  /* Disabled */
97
99
  .uk-pagination > .uk-disabled > * {
98
100
  color: $pagination-item-disabled-color;
99
- @if(mixin-exists(hook-pagination-item-disabled)) {@include hook-pagination-item-disabled();}
101
+ @if(meta.mixin-exists(hook-pagination-item-disabled)) {@include hook-pagination-item-disabled();}
100
102
  }
101
103
 
102
104
 
103
105
  // Hooks
104
106
  // ========================================================================
105
107
 
106
- @if(mixin-exists(hook-pagination-misc)) {@include hook-pagination-misc();}
108
+ @if(meta.mixin-exists(hook-pagination-misc)) {@include hook-pagination-misc();}
107
109
 
108
110
  // @mixin hook-pagination(){}
109
111
  // @mixin hook-pagination-item(){}
@@ -1,3 +1,5 @@
1
+ @use "sass:meta";
2
+
1
3
  // Name: Placeholder
2
4
  // Description: Component to create placeholder boxes
3
5
  //
@@ -19,7 +21,7 @@
19
21
  margin-bottom: $placeholder-margin-vertical;
20
22
  padding: $placeholder-padding-vertical $placeholder-padding-horizontal;
21
23
  background: $placeholder-background;
22
- @if(mixin-exists(hook-placeholder)) {@include hook-placeholder();}
24
+ @if(meta.mixin-exists(hook-placeholder)) {@include hook-placeholder();}
23
25
  }
24
26
 
25
27
  /* Add margin if adjacent element */
@@ -35,7 +37,7 @@
35
37
  // Hooks
36
38
  // ========================================================================
37
39
 
38
- @if(mixin-exists(hook-placeholder-misc)) {@include hook-placeholder-misc();}
40
+ @if(meta.mixin-exists(hook-placeholder-misc)) {@include hook-placeholder-misc();}
39
41
 
40
42
  // @mixin hook-placeholder(){}
41
43
  // @mixin hook-placeholder-misc(){}
@@ -1,3 +1,6 @@
1
+ @use "sass:meta";
2
+ @use "sass:string";
3
+
1
4
  // Name: Position
2
5
  // Description: Utilities to position content
3
6
  //
@@ -52,7 +55,7 @@
52
55
  [class*="uk-position-center"] {
53
56
  position: absolute !important;
54
57
  /* 1 */
55
- max-width: unquote('calc(100% - (var(--uk-position-margin-offset) * 2))');
58
+ max-width: string.unquote('calc(100% - (var(--uk-position-margin-offset) * 2))');
56
59
  box-sizing: border-box;
57
60
  }
58
61
 
@@ -116,8 +119,8 @@
116
119
  */
117
120
 
118
121
  .uk-position-center {
119
- top: unquote('calc(50% - var(--uk-position-margin-offset))');
120
- left: unquote('calc(50% - var(--uk-position-margin-offset))');
122
+ top: string.unquote('calc(50% - var(--uk-position-margin-offset))');
123
+ left: string.unquote('calc(50% - var(--uk-position-margin-offset))');
121
124
  --uk-position-translate-x: -50%;
122
125
  --uk-position-translate-y: -50%;
123
126
  transform: translate(var(--uk-position-translate-x), var(--uk-position-translate-y));
@@ -129,7 +132,7 @@
129
132
  [class*="uk-position-center-left"],
130
133
  [class*="uk-position-center-right"],
131
134
  .uk-position-center-vertical {
132
- top: unquote('calc(50% - var(--uk-position-margin-offset))');
135
+ top: string.unquote('calc(50% - var(--uk-position-margin-offset))');
133
136
  --uk-position-translate-y: -50%;
134
137
  transform: translate(0, var(--uk-position-translate-y));
135
138
  }
@@ -155,7 +158,7 @@
155
158
  .uk-position-top-center,
156
159
  .uk-position-bottom-center,
157
160
  .uk-position-center-horizontal {
158
- left: unquote('calc(50% - var(--uk-position-margin-offset))');
161
+ left: string.unquote('calc(50% - var(--uk-position-margin-offset))');
159
162
  --uk-position-translate-x: -50%;
160
163
  transform: translate(var(--uk-position-translate-x), 0);
161
164
  /* 1 */
@@ -232,6 +235,6 @@
232
235
  // Hooks
233
236
  // ========================================================================
234
237
 
235
- @if(mixin-exists(hook-position-misc)) {@include hook-position-misc();}
238
+ @if(meta.mixin-exists(hook-position-misc)) {@include hook-position-misc();}
236
239
 
237
240
  // @mixin hook-position-misc(){}
@@ -1,3 +1,5 @@
1
+ @use "sass:meta";
2
+
1
3
  // Name: Print
2
4
  // Description: Optimize page for printing
3
5
  //
@@ -51,7 +53,7 @@
51
53
  h2,
52
54
  h3 { page-break-after: avoid; }
53
55
 
54
- @if(mixin-exists(hook-print)) {@include hook-print();}
56
+ @if(meta.mixin-exists(hook-print)) {@include hook-print();}
55
57
 
56
58
  }
57
59
 
@@ -1,3 +1,5 @@
1
+ @use "sass:meta";
2
+
1
3
  // Name: Progress
2
4
  // Description: Component to create progress bars
3
5
  //
@@ -37,7 +39,7 @@
37
39
  /* 5 */
38
40
  margin-bottom: $progress-margin-vertical;
39
41
  height: $progress-height;
40
- @if(mixin-exists(hook-progress)) {@include hook-progress();}
42
+ @if(meta.mixin-exists(hook-progress)) {@include hook-progress();}
41
43
  }
42
44
 
43
45
  /* Add margin if adjacent element */
@@ -58,21 +60,21 @@
58
60
  .uk-progress::-webkit-progress-value {
59
61
  background-color: $progress-bar-background;
60
62
  transition: width 0.6s ease;
61
- @if(mixin-exists(hook-progress-bar)) {@include hook-progress-bar();}
63
+ @if(meta.mixin-exists(hook-progress-bar)) {@include hook-progress-bar();}
62
64
  }
63
65
 
64
66
  .uk-progress::-moz-progress-bar {
65
67
  background-color: $progress-bar-background;
66
68
  /* 1 */
67
69
  transition: width 0.6s ease;
68
- @if(mixin-exists(hook-progress-bar)) {@include hook-progress-bar();}
70
+ @if(meta.mixin-exists(hook-progress-bar)) {@include hook-progress-bar();}
69
71
  }
70
72
 
71
73
 
72
74
  // Hooks
73
75
  // ========================================================================
74
76
 
75
- @if(mixin-exists(hook-progress-misc)) {@include hook-progress-misc();}
77
+ @if(meta.mixin-exists(hook-progress-misc)) {@include hook-progress-misc();}
76
78
 
77
79
  // @mixin hook-progress(){}
78
80
  // @mixin hook-progress-bar(){}
@@ -1,3 +1,5 @@
1
+ @use "sass:meta";
2
+
1
3
  // Name: Search
2
4
  // Description: Component to create the search
3
5
  //
@@ -102,7 +104,7 @@
102
104
  /* 9 */
103
105
  border: none;
104
106
  color: $search-color;
105
- @if(mixin-exists(hook-search-input)) {@include hook-search-input();}
107
+ @if(meta.mixin-exists(hook-search-input)) {@include hook-search-input();}
106
108
  }
107
109
 
108
110
  .uk-search-input:focus { outline: none; }
@@ -133,7 +135,7 @@
133
135
  align-items: center;
134
136
  /* 3 */
135
137
  color: $search-icon-color;
136
- @if(mixin-exists(hook-search-icon)) {@include hook-search-icon();}
138
+ @if(meta.mixin-exists(hook-search-icon)) {@include hook-search-icon();}
137
139
  }
138
140
 
139
141
  /*
@@ -172,13 +174,13 @@
172
174
  padding-left: $search-default-padding-horizontal;
173
175
  padding-right: $search-default-padding-horizontal;
174
176
  background: $search-default-background;
175
- @if(mixin-exists(hook-search-default-input)) {@include hook-search-default-input();}
177
+ @if(meta.mixin-exists(hook-search-default-input)) {@include hook-search-default-input();}
176
178
  }
177
179
 
178
180
  /* Focus */
179
181
  .uk-search-default .uk-search-input:focus {
180
182
  background-color: $search-default-focus-background;
181
- @if(mixin-exists(hook-search-default-input-focus)) {@include hook-search-default-input-focus();}
183
+ @if(meta.mixin-exists(hook-search-default-input-focus)) {@include hook-search-default-input-focus();}
182
184
  }
183
185
 
184
186
  /*
@@ -208,13 +210,13 @@
208
210
  padding-left: $search-navbar-padding-horizontal;
209
211
  padding-right: $search-navbar-padding-horizontal;
210
212
  background: $search-navbar-background;
211
- @if(mixin-exists(hook-search-navbar-input)) {@include hook-search-navbar-input();}
213
+ @if(meta.mixin-exists(hook-search-navbar-input)) {@include hook-search-navbar-input();}
212
214
  }
213
215
 
214
216
  /* Focus */
215
217
  .uk-search-navbar .uk-search-input:focus {
216
218
  background-color: $search-navbar-focus-background;
217
- @if(mixin-exists(hook-search-navbar-input-focus)) {@include hook-search-navbar-input-focus();}
219
+ @if(meta.mixin-exists(hook-search-navbar-input-focus)) {@include hook-search-navbar-input-focus();}
218
220
  }
219
221
 
220
222
  /*
@@ -245,13 +247,13 @@
245
247
  padding-right: $search-medium-padding-horizontal;
246
248
  background: $search-medium-background;
247
249
  font-size: $search-medium-font-size;
248
- @if(mixin-exists(hook-search-medium-input)) {@include hook-search-medium-input();}
250
+ @if(meta.mixin-exists(hook-search-medium-input)) {@include hook-search-medium-input();}
249
251
  }
250
252
 
251
253
  /* Focus */
252
254
  .uk-search-medium .uk-search-input:focus {
253
255
  background-color: $search-medium-focus-background;
254
- @if(mixin-exists(hook-search-medium-input-focus)) {@include hook-search-medium-input-focus();}
256
+ @if(meta.mixin-exists(hook-search-medium-input-focus)) {@include hook-search-medium-input-focus();}
255
257
  }
256
258
 
257
259
  /*
@@ -282,13 +284,13 @@
282
284
  padding-right: $search-large-padding-horizontal;
283
285
  background: $search-large-background;
284
286
  font-size: $search-large-font-size;
285
- @if(mixin-exists(hook-search-large-input)) {@include hook-search-large-input();}
287
+ @if(meta.mixin-exists(hook-search-large-input)) {@include hook-search-large-input();}
286
288
  }
287
289
 
288
290
  /* Focus */
289
291
  .uk-search-large .uk-search-input:focus {
290
292
  background-color: $search-medium-focus-background;
291
- @if(mixin-exists(hook-search-large-input-focus)) {@include hook-search-large-input-focus();}
293
+ @if(meta.mixin-exists(hook-search-large-input-focus)) {@include hook-search-large-input-focus();}
292
294
  }
293
295
 
294
296
  /*
@@ -309,20 +311,20 @@
309
311
 
310
312
  .uk-search-toggle {
311
313
  color: $search-toggle-color;
312
- @if(mixin-exists(hook-search-toggle)) {@include hook-search-toggle();}
314
+ @if(meta.mixin-exists(hook-search-toggle)) {@include hook-search-toggle();}
313
315
  }
314
316
 
315
317
  /* Hover */
316
318
  .uk-search-toggle:hover {
317
319
  color: $search-toggle-hover-color;
318
- @if(mixin-exists(hook-search-toggle-hover)) {@include hook-search-toggle-hover();}
320
+ @if(meta.mixin-exists(hook-search-toggle-hover)) {@include hook-search-toggle-hover();}
319
321
  }
320
322
 
321
323
 
322
324
  // Hooks
323
325
  // ========================================================================
324
326
 
325
- @if(mixin-exists(hook-search-misc)) {@include hook-search-misc();}
327
+ @if(meta.mixin-exists(hook-search-misc)) {@include hook-search-misc();}
326
328
 
327
329
  // @mixin hook-search-input(){}
328
330
  // @mixin hook-search-icon(){}
@@ -1,3 +1,5 @@
1
+ @use "sass:meta";
2
+
1
3
  // Name: Section
2
4
  // Description: Component to create horizontal layout section
3
5
  //
@@ -44,7 +46,7 @@
44
46
  box-sizing: border-box; /* 1 */
45
47
  padding-top: $section-padding-vertical;
46
48
  padding-bottom: $section-padding-vertical;
47
- @if(mixin-exists(hook-section)) {@include hook-section();}
49
+ @if(meta.mixin-exists(hook-section)) {@include hook-section();}
48
50
  }
49
51
 
50
52
  /* Desktop and bigger */
@@ -134,7 +136,7 @@
134
136
  .uk-section-default {
135
137
  --uk-inverse: #{$section-default-color-mode};
136
138
  background: $section-default-background;
137
- @if(mixin-exists(hook-section-default)) {@include hook-section-default();}
139
+ @if(meta.mixin-exists(hook-section-default)) {@include hook-section-default();}
138
140
  }
139
141
 
140
142
  @if ( $section-default-color-mode == light ) { .uk-section-default:not(.uk-preserve-color) { @extend .uk-light !optional;} }
@@ -147,7 +149,7 @@
147
149
  .uk-section-muted {
148
150
  --uk-inverse: #{$section-muted-color-mode};
149
151
  background: $section-muted-background;
150
- @if(mixin-exists(hook-section-muted)) {@include hook-section-muted();}
152
+ @if(meta.mixin-exists(hook-section-muted)) {@include hook-section-muted();}
151
153
  }
152
154
 
153
155
  @if ( $section-muted-color-mode == light ) { .uk-section-muted:not(.uk-preserve-color) { @extend .uk-light !optional;} }
@@ -161,7 +163,7 @@
161
163
  .uk-section-primary {
162
164
  --uk-inverse: #{$section-primary-color-mode};
163
165
  background: $section-primary-background;
164
- @if(mixin-exists(hook-section-primary)) {@include hook-section-primary();}
166
+ @if(meta.mixin-exists(hook-section-primary)) {@include hook-section-primary();}
165
167
  }
166
168
 
167
169
  @if ( $section-primary-color-mode == light ) { .uk-section-primary:not(.uk-preserve-color) { @extend .uk-light !optional;} }
@@ -174,7 +176,7 @@
174
176
  .uk-section-secondary {
175
177
  --uk-inverse: #{$section-secondary-color-mode};
176
178
  background: $section-secondary-background;
177
- @if(mixin-exists(hook-section-secondary)) {@include hook-section-secondary();}
179
+ @if(meta.mixin-exists(hook-section-secondary)) {@include hook-section-secondary();}
178
180
  }
179
181
 
180
182
  @if ( $section-secondary-color-mode == light ) { .uk-section-secondary:not(.uk-preserve-color) { @extend .uk-light !optional;} }
@@ -190,14 +192,14 @@
190
192
  */
191
193
 
192
194
  .uk-section-overlap {
193
- @if(mixin-exists(hook-section-overlap)) {@include hook-section-overlap();}
195
+ @if(meta.mixin-exists(hook-section-overlap)) {@include hook-section-overlap();}
194
196
  }
195
197
 
196
198
 
197
199
  // Hooks
198
200
  // ========================================================================
199
201
 
200
- @if(mixin-exists(hook-section-misc)) {@include hook-section-misc();}
202
+ @if(meta.mixin-exists(hook-section-misc)) {@include hook-section-misc();}
201
203
 
202
204
  // @mixin hook-section(){}
203
205
  // @mixin hook-section-default(){}
@@ -1,3 +1,5 @@
1
+ @use "sass:meta";
2
+
1
3
  // Name: Slidenav
2
4
  // Description: Component to create previous/next icon navigations
3
5
  //
@@ -30,19 +32,19 @@
30
32
  .uk-slidenav {
31
33
  padding: $slidenav-padding-vertical $slidenav-padding-horizontal;
32
34
  color: $slidenav-color;
33
- @if(mixin-exists(hook-slidenav)) {@include hook-slidenav();}
35
+ @if(meta.mixin-exists(hook-slidenav)) {@include hook-slidenav();}
34
36
  }
35
37
 
36
38
  /* Hover */
37
39
  .uk-slidenav:hover {
38
40
  color: $slidenav-hover-color;
39
- @if(mixin-exists(hook-slidenav-hover)) {@include hook-slidenav-hover();}
41
+ @if(meta.mixin-exists(hook-slidenav-hover)) {@include hook-slidenav-hover();}
40
42
  }
41
43
 
42
44
  /* OnClick */
43
45
  .uk-slidenav:active {
44
46
  color: $slidenav-active-color;
45
- @if(mixin-exists(hook-slidenav-active)) {@include hook-slidenav-active();}
47
+ @if(meta.mixin-exists(hook-slidenav-active)) {@include hook-slidenav-active();}
46
48
  }
47
49
 
48
50
 
@@ -54,7 +56,7 @@
54
56
  */
55
57
 
56
58
  .uk-slidenav-previous {
57
- @if(mixin-exists(hook-slidenav-previous)) {@include hook-slidenav-previous();}
59
+ @if(meta.mixin-exists(hook-slidenav-previous)) {@include hook-slidenav-previous();}
58
60
  }
59
61
 
60
62
  /*
@@ -62,7 +64,7 @@
62
64
  */
63
65
 
64
66
  .uk-slidenav-next {
65
- @if(mixin-exists(hook-slidenav-next)) {@include hook-slidenav-next();}
67
+ @if(meta.mixin-exists(hook-slidenav-next)) {@include hook-slidenav-next();}
66
68
  }
67
69
 
68
70
 
@@ -71,7 +73,7 @@
71
73
 
72
74
  .uk-slidenav-large {
73
75
  padding: $slidenav-large-padding-vertical $slidenav-large-padding-horizontal;
74
- @if(mixin-exists(hook-slidenav-large)) {@include hook-slidenav-large();}
76
+ @if(meta.mixin-exists(hook-slidenav-large)) {@include hook-slidenav-large();}
75
77
  }
76
78
 
77
79
 
@@ -80,14 +82,14 @@
80
82
 
81
83
  .uk-slidenav-container {
82
84
  display: flex;
83
- @if(mixin-exists(hook-slidenav-container)) {@include hook-slidenav-container();}
85
+ @if(meta.mixin-exists(hook-slidenav-container)) {@include hook-slidenav-container();}
84
86
  }
85
87
 
86
88
 
87
89
  // Hooks
88
90
  // ========================================================================
89
91
 
90
- @if(mixin-exists(hook-slidenav-misc)) {@include hook-slidenav-misc();}
92
+ @if(meta.mixin-exists(hook-slidenav-misc)) {@include hook-slidenav-misc();}
91
93
 
92
94
  // @mixin hook-slidenav(){}
93
95
  // @mixin hook-slidenav-hover(){}
@@ -1,3 +1,5 @@
1
+ @use "sass:meta";
2
+
1
3
  // Name: Slider
2
4
  // Description: Component to create horizontal sliders
3
5
  //
@@ -27,7 +29,7 @@
27
29
  .uk-slider {
28
30
  /* 1 */
29
31
  -webkit-tap-highlight-color: transparent;
30
- @if(mixin-exists(hook-slider)) {@include hook-slider();}
32
+ @if(meta.mixin-exists(hook-slider)) {@include hook-slider();}
31
33
  }
32
34
 
33
35
 
@@ -113,7 +115,7 @@
113
115
  // Hooks
114
116
  // ========================================================================
115
117
 
116
- @if(mixin-exists(hook-slider-misc)) {@include hook-slider-misc();}
118
+ @if(meta.mixin-exists(hook-slider-misc)) {@include hook-slider-misc();}
117
119
 
118
120
  // @mixin hook-slider(){}
119
121
  // @mixin hook-slider-misc(){}
@@ -1,3 +1,5 @@
1
+ @use "sass:meta";
2
+
1
3
  // Name: Slideshow
2
4
  // Description: Component to create slideshows
3
5
  //
@@ -21,7 +23,7 @@
21
23
  .uk-slideshow {
22
24
  /* 1 */
23
25
  -webkit-tap-highlight-color: transparent;
24
- @if(mixin-exists(hook-slideshow)) {@include hook-slideshow();}
26
+ @if(meta.mixin-exists(hook-slideshow)) {@include hook-slideshow();}
25
27
  }
26
28
 
27
29
 
@@ -87,7 +89,7 @@
87
89
  // Hooks
88
90
  // ========================================================================
89
91
 
90
- @if(mixin-exists(hook-slideshow-misc)) {@include hook-slideshow-misc();}
92
+ @if(meta.mixin-exists(hook-slideshow-misc)) {@include hook-slideshow-misc();}
91
93
 
92
94
  // @mixin hook-slideshow(){}
93
95
  // @mixin hook-slideshow-misc(){}
@@ -1,3 +1,5 @@
1
+ @use "sass:meta";
2
+
1
3
  // Name: Sortable
2
4
  // Description: Component to create sortable grids and lists
3
5
  //
@@ -27,7 +29,7 @@
27
29
 
28
30
  .uk-sortable {
29
31
  position: relative;
30
- @if(mixin-exists(hook-sortable)) {@include hook-sortable();}
32
+ @if(meta.mixin-exists(hook-sortable)) {@include hook-sortable();}
31
33
  }
32
34
 
33
35
  /*
@@ -44,7 +46,7 @@
44
46
  position: fixed !important;
45
47
  z-index: $sortable-dragged-z-index !important;
46
48
  pointer-events: none;
47
- @if(mixin-exists(hook-sortable-drag)) {@include hook-sortable-drag();}
49
+ @if(meta.mixin-exists(hook-sortable-drag)) {@include hook-sortable-drag();}
48
50
  }
49
51
 
50
52
 
@@ -54,7 +56,7 @@
54
56
  .uk-sortable-placeholder {
55
57
  opacity: $sortable-placeholder-opacity;
56
58
  pointer-events: none;
57
- @if(mixin-exists(hook-sortable-placeholder)) {@include hook-sortable-placeholder();}
59
+ @if(meta.mixin-exists(hook-sortable-placeholder)) {@include hook-sortable-placeholder();}
58
60
  }
59
61
 
60
62
 
@@ -63,7 +65,7 @@
63
65
 
64
66
  .uk-sortable-empty {
65
67
  min-height: $sortable-empty-height;
66
- @if(mixin-exists(hook-sortable-empty)) {@include hook-sortable-empty();}
68
+ @if(meta.mixin-exists(hook-sortable-empty)) {@include hook-sortable-empty();}
67
69
  }
68
70
 
69
71
 
@@ -78,7 +80,7 @@
78
80
  // Hooks
79
81
  // ========================================================================
80
82
 
81
- @if(mixin-exists(hook-sortable-misc)) {@include hook-sortable-misc();}
83
+ @if(meta.mixin-exists(hook-sortable-misc)) {@include hook-sortable-misc();}
82
84
 
83
85
  // @mixin hook-sortable(){}
84
86
  // @mixin hook-sortable-drag(){}
@@ -1,3 +1,6 @@
1
+ @use "sass:meta";
2
+ @use "sass:math";
3
+
1
4
  // Name: Spinner
2
5
  // Description: Component to create a loading spinner
3
6
  //
@@ -9,7 +12,7 @@
9
12
  // Variables
10
13
  // ========================================================================
11
14
 
12
- $spinner-radius: floor((($spinner-size - $spinner-stroke-width) * 0.5)) !default; // Minus stroke width to prevent overflow clipping
15
+ $spinner-radius: math.floor((($spinner-size - $spinner-stroke-width) * 0.5)) !default; // Minus stroke width to prevent overflow clipping
13
16
 
14
17
 
15
18
  /* ========================================================================
@@ -21,7 +24,7 @@ $spinner-radius: floor((($spinner-size - $spinne
21
24
  */
22
25
 
23
26
  .uk-spinner {
24
- @if(mixin-exists(hook-spinner)) {@include hook-spinner();}
27
+ @if(meta.mixin-exists(hook-spinner)) {@include hook-spinner();}
25
28
  }
26
29
 
27
30
 
@@ -64,7 +67,7 @@ $spinner-radius: floor((($spinner-size - $spinne
64
67
  // Hooks
65
68
  // ========================================================================
66
69
 
67
- @if(mixin-exists(hook-spinner-misc)) {@include hook-spinner-misc();}
70
+ @if(meta.mixin-exists(hook-spinner-misc)) {@include hook-spinner-misc();}
68
71
 
69
72
  // @mixin hook-spinner(){}
70
73
  // @mixin hook-spinner-misc(){}
@@ -1,3 +1,5 @@
1
+ @use "sass:meta";
2
+
1
3
  // Name: Sticky
2
4
  // Description: Component to make elements sticky in the viewport
3
5
  //
@@ -57,6 +59,6 @@
57
59
  // Hooks
58
60
  // ========================================================================
59
61
 
60
- @if(mixin-exists(hook-sticky-misc)) {@include hook-sticky-misc();}
62
+ @if(meta.mixin-exists(hook-sticky-misc)) {@include hook-sticky-misc();}
61
63
 
62
64
  // @mixin hook-sticky-misc(){}
@@ -1,3 +1,5 @@
1
+ @use "sass:meta";
2
+
1
3
  // Name: Subnav
2
4
  // Description: Component to create a sub navigation
3
5
  //
@@ -43,7 +45,7 @@
43
45
  /* 4 */
44
46
  padding: 0;
45
47
  list-style: none;
46
- @if(mixin-exists(hook-subnav)) {@include hook-subnav();}
48
+ @if(meta.mixin-exists(hook-subnav)) {@include hook-subnav();}
47
49
  }
48
50
 
49
51
  /*
@@ -81,20 +83,20 @@
81
83
  column-gap: 0.25em;
82
84
  /* 3 */
83
85
  color: $subnav-item-color;
84
- @if(mixin-exists(hook-subnav-item)) {@include hook-subnav-item();}
86
+ @if(meta.mixin-exists(hook-subnav-item)) {@include hook-subnav-item();}
85
87
  }
86
88
 
87
89
  /* Hover */
88
90
  .uk-subnav > * > a:hover {
89
91
  color: $subnav-item-hover-color;
90
92
  text-decoration: $subnav-item-hover-text-decoration;
91
- @if(mixin-exists(hook-subnav-item-hover)) {@include hook-subnav-item-hover();}
93
+ @if(meta.mixin-exists(hook-subnav-item-hover)) {@include hook-subnav-item-hover();}
92
94
  }
93
95
 
94
96
  /* Active */
95
97
  .uk-subnav > .uk-active > a {
96
98
  color: $subnav-item-active-color;
97
- @if(mixin-exists(hook-subnav-item-active)) {@include hook-subnav-item-active();}
99
+ @if(meta.mixin-exists(hook-subnav-item-active)) {@include hook-subnav-item-active();}
98
100
  }
99
101
 
100
102
 
@@ -132,7 +134,7 @@
132
134
  /* 1 */
133
135
  .uk-subnav-divider > :nth-child(n+2):not(.uk-first-column)::before {
134
136
  border-left-color: $subnav-divider-border;
135
- @if(mixin-exists(hook-subnav-divider)) {@include hook-subnav-divider();}
137
+ @if(meta.mixin-exists(hook-subnav-divider)) {@include hook-subnav-divider();}
136
138
  }
137
139
 
138
140
 
@@ -150,28 +152,28 @@
150
152
  padding: $subnav-pill-item-padding-vertical $subnav-pill-item-padding-horizontal;
151
153
  background: $subnav-pill-item-background;
152
154
  color: $subnav-pill-item-color;
153
- @if(mixin-exists(hook-subnav-pill-item)) {@include hook-subnav-pill-item();}
155
+ @if(meta.mixin-exists(hook-subnav-pill-item)) {@include hook-subnav-pill-item();}
154
156
  }
155
157
 
156
158
  /* Hover */
157
159
  .uk-subnav-pill > * > a:hover {
158
160
  background-color: $subnav-pill-item-hover-background;
159
161
  color: $subnav-pill-item-hover-color;
160
- @if(mixin-exists(hook-subnav-pill-item-hover)) {@include hook-subnav-pill-item-hover();}
162
+ @if(meta.mixin-exists(hook-subnav-pill-item-hover)) {@include hook-subnav-pill-item-hover();}
161
163
  }
162
164
 
163
165
  /* OnClick */
164
166
  .uk-subnav-pill > * > a:active {
165
167
  background-color: $subnav-pill-item-onclick-background;
166
168
  color: $subnav-pill-item-onclick-color;
167
- @if(mixin-exists(hook-subnav-pill-item-onclick)) {@include hook-subnav-pill-item-onclick();}
169
+ @if(meta.mixin-exists(hook-subnav-pill-item-onclick)) {@include hook-subnav-pill-item-onclick();}
168
170
  }
169
171
 
170
172
  /* Active */
171
173
  .uk-subnav-pill > .uk-active > a {
172
174
  background-color: $subnav-pill-item-active-background;
173
175
  color: $subnav-pill-item-active-color;
174
- @if(mixin-exists(hook-subnav-pill-item-active)) {@include hook-subnav-pill-item-active();}
176
+ @if(meta.mixin-exists(hook-subnav-pill-item-active)) {@include hook-subnav-pill-item-active();}
175
177
  }
176
178
 
177
179
 
@@ -181,14 +183,14 @@
181
183
 
182
184
  .uk-subnav > .uk-disabled > a {
183
185
  color: $subnav-item-disabled-color;
184
- @if(mixin-exists(hook-subnav-item-disabled)) {@include hook-subnav-item-disabled();}
186
+ @if(meta.mixin-exists(hook-subnav-item-disabled)) {@include hook-subnav-item-disabled();}
185
187
  }
186
188
 
187
189
 
188
190
  // Hooks
189
191
  // ========================================================================
190
192
 
191
- @if(mixin-exists(hook-subnav-misc)) {@include hook-subnav-misc();}
193
+ @if(meta.mixin-exists(hook-subnav-misc)) {@include hook-subnav-misc();}
192
194
 
193
195
  // @mixin hook-subnav(){}
194
196
  // @mixin hook-subnav-item(){}