uikit 3.23.7 → 3.23.8-dev.97ee4c1bb

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 (196) 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 +10 -5
  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 +10 -5
  44. package/dist/js/uikit.min.js +1 -1
  45. package/package.json +1 -1
  46. package/src/js/mixin/modal.js +7 -1
  47. package/src/js/mixin/svg.js +0 -2
  48. package/src/js/util/selector.js +1 -1
  49. package/src/scss/components/accordion.scss +8 -6
  50. package/src/scss/components/alert.scss +10 -8
  51. package/src/scss/components/align.scss +3 -1
  52. package/src/scss/components/animation.scss +3 -1
  53. package/src/scss/components/article.scss +7 -5
  54. package/src/scss/components/background.scss +3 -1
  55. package/src/scss/components/badge.scss +5 -3
  56. package/src/scss/components/base.scss +20 -17
  57. package/src/scss/components/breadcrumb.scss +9 -7
  58. package/src/scss/components/button.scss +25 -23
  59. package/src/scss/components/card.scss +26 -24
  60. package/src/scss/components/close.scss +5 -3
  61. package/src/scss/components/column.scss +3 -1
  62. package/src/scss/components/comment.scss +13 -11
  63. package/src/scss/components/container.scss +14 -11
  64. package/src/scss/components/countdown.scss +8 -6
  65. package/src/scss/components/cover.scss +3 -1
  66. package/src/scss/components/description-list.scss +6 -4
  67. package/src/scss/components/divider.scss +13 -10
  68. package/src/scss/components/dotnav.scss +8 -6
  69. package/src/scss/components/drop.scss +3 -1
  70. package/src/scss/components/dropbar.scss +8 -6
  71. package/src/scss/components/dropdown.scss +12 -10
  72. package/src/scss/components/dropnav.scss +3 -1
  73. package/src/scss/components/flex.scss +3 -1
  74. package/src/scss/components/form-range.scss +13 -10
  75. package/src/scss/components/form.scss +23 -21
  76. package/src/scss/components/grid.scss +5 -3
  77. package/src/scss/components/heading.scss +16 -13
  78. package/src/scss/components/height.scss +3 -1
  79. package/src/scss/components/icon.scss +9 -7
  80. package/src/scss/components/iconnav.scss +7 -5
  81. package/src/scss/components/inverse.scss +4 -2
  82. package/src/scss/components/label.scss +7 -5
  83. package/src/scss/components/leader.scss +4 -2
  84. package/src/scss/components/lightbox.scss +6 -4
  85. package/src/scss/components/link.scss +10 -8
  86. package/src/scss/components/list.scss +5 -3
  87. package/src/scss/components/margin.scss +3 -1
  88. package/src/scss/components/marker.scss +5 -3
  89. package/src/scss/components/mixin.scss +6 -4
  90. package/src/scss/components/modal.scss +18 -16
  91. package/src/scss/components/nav.scss +33 -31
  92. package/src/scss/components/navbar.scss +33 -30
  93. package/src/scss/components/notification.scss +10 -8
  94. package/src/scss/components/offcanvas.scss +6 -4
  95. package/src/scss/components/overlay.scss +7 -5
  96. package/src/scss/components/padding.scss +3 -1
  97. package/src/scss/components/pagination.scss +8 -6
  98. package/src/scss/components/placeholder.scss +4 -2
  99. package/src/scss/components/position.scss +9 -6
  100. package/src/scss/components/print.scss +3 -1
  101. package/src/scss/components/progress.scss +6 -4
  102. package/src/scss/components/search.scss +15 -13
  103. package/src/scss/components/section.scss +9 -7
  104. package/src/scss/components/slidenav.scss +10 -8
  105. package/src/scss/components/slider.scss +4 -2
  106. package/src/scss/components/slideshow.scss +4 -2
  107. package/src/scss/components/sortable.scss +7 -5
  108. package/src/scss/components/spinner.scss +6 -3
  109. package/src/scss/components/sticky.scss +3 -1
  110. package/src/scss/components/subnav.scss +13 -11
  111. package/src/scss/components/svg.scss +3 -1
  112. package/src/scss/components/switcher.scss +3 -1
  113. package/src/scss/components/tab.scss +14 -12
  114. package/src/scss/components/table.scss +17 -14
  115. package/src/scss/components/text.scss +8 -6
  116. package/src/scss/components/thumbnav.scss +7 -5
  117. package/src/scss/components/tile.scss +12 -10
  118. package/src/scss/components/tooltip.scss +4 -2
  119. package/src/scss/components/totop.scss +6 -4
  120. package/src/scss/components/transition.scss +3 -1
  121. package/src/scss/components/utility.scss +8 -6
  122. package/src/scss/components/visibility.scss +3 -1
  123. package/src/scss/components/width.scss +34 -31
  124. package/src/scss/mixins-theme.scss +169 -168
  125. package/src/scss/mixins.scss +175 -175
  126. package/src/scss/uikit-theme.scss +0 -1
  127. package/src/scss/variables-theme.scss +70 -66
  128. package/src/scss/variables.scss +74 -70
  129. package/src/scss/theme/_import.scss +0 -82
  130. package/src/scss/theme/accordion.scss +0 -55
  131. package/src/scss/theme/alert.scss +0 -45
  132. package/src/scss/theme/align.scss +0 -14
  133. package/src/scss/theme/animation.scss +0 -14
  134. package/src/scss/theme/article.scss +0 -49
  135. package/src/scss/theme/background.scss +0 -14
  136. package/src/scss/theme/badge.scss +0 -29
  137. package/src/scss/theme/base.scss +0 -104
  138. package/src/scss/theme/breadcrumb.scss +0 -45
  139. package/src/scss/theme/button.scss +0 -132
  140. package/src/scss/theme/card.scss +0 -111
  141. package/src/scss/theme/close.scss +0 -29
  142. package/src/scss/theme/column.scss +0 -14
  143. package/src/scss/theme/comment.scss +0 -67
  144. package/src/scss/theme/container.scss +0 -14
  145. package/src/scss/theme/countdown.scss +0 -53
  146. package/src/scss/theme/description-list.scss +0 -29
  147. package/src/scss/theme/divider.scss +0 -49
  148. package/src/scss/theme/dotnav.scss +0 -46
  149. package/src/scss/theme/drop.scss +0 -14
  150. package/src/scss/theme/dropbar.scss +0 -38
  151. package/src/scss/theme/dropdown.scss +0 -53
  152. package/src/scss/theme/form-range.scss +0 -51
  153. package/src/scss/theme/form.scss +0 -117
  154. package/src/scss/theme/grid.scss +0 -28
  155. package/src/scss/theme/heading.scss +0 -71
  156. package/src/scss/theme/height.scss +0 -14
  157. package/src/scss/theme/icon.scss +0 -50
  158. package/src/scss/theme/iconnav.scss +0 -39
  159. package/src/scss/theme/inverse.scss +0 -14
  160. package/src/scss/theme/label.scss +0 -41
  161. package/src/scss/theme/leader.scss +0 -26
  162. package/src/scss/theme/lightbox.scss +0 -32
  163. package/src/scss/theme/link.scss +0 -55
  164. package/src/scss/theme/list.scss +0 -34
  165. package/src/scss/theme/margin.scss +0 -14
  166. package/src/scss/theme/marker.scss +0 -29
  167. package/src/scss/theme/modal.scss +0 -77
  168. package/src/scss/theme/nav.scss +0 -131
  169. package/src/scss/theme/navbar.scss +0 -135
  170. package/src/scss/theme/notification.scss +0 -44
  171. package/src/scss/theme/offcanvas.scss +0 -32
  172. package/src/scss/theme/overlay.scss +0 -33
  173. package/src/scss/theme/padding.scss +0 -14
  174. package/src/scss/theme/pagination.scss +0 -41
  175. package/src/scss/theme/placeholder.scss +0 -26
  176. package/src/scss/theme/position.scss +0 -14
  177. package/src/scss/theme/progress.scss +0 -23
  178. package/src/scss/theme/search.scss +0 -101
  179. package/src/scss/theme/section.scss +0 -32
  180. package/src/scss/theme/slidenav.scss +0 -52
  181. package/src/scss/theme/slider.scss +0 -14
  182. package/src/scss/theme/sortable.scss +0 -38
  183. package/src/scss/theme/spinner.scss +0 -14
  184. package/src/scss/theme/sticky.scss +0 -14
  185. package/src/scss/theme/subnav.scss +0 -72
  186. package/src/scss/theme/tab.scss +0 -67
  187. package/src/scss/theme/table.scss +0 -65
  188. package/src/scss/theme/text.scss +0 -49
  189. package/src/scss/theme/thumbnav.scss +0 -40
  190. package/src/scss/theme/tile.scss +0 -52
  191. package/src/scss/theme/tooltip.scss +0 -20
  192. package/src/scss/theme/totop.scss +0 -32
  193. package/src/scss/theme/transition.scss +0 -14
  194. package/src/scss/theme/utility.scss +0 -49
  195. package/src/scss/theme/variables.scss +0 -36
  196. package/src/scss/theme/width.scss +0 -14
@@ -1,3 +1,6 @@
1
+ @use "sass:meta";
2
+ @use "sass:string";
3
+
1
4
  // Name: Heading
2
5
  // Description: Styles for headings
3
6
  //
@@ -45,37 +48,37 @@ $heading-3xlarge-font-size-l: 15rem !default;
45
48
  .uk-heading-small {
46
49
  font-size: $heading-small-font-size;
47
50
  line-height: $heading-small-line-height;
48
- @if(mixin-exists(hook-heading-small)) {@include hook-heading-small();}
51
+ @if(meta.mixin-exists(hook-heading-small)) {@include hook-heading-small();}
49
52
  }
50
53
 
51
54
  .uk-heading-medium {
52
55
  font-size: $heading-medium-font-size;
53
56
  line-height: $heading-medium-line-height;
54
- @if(mixin-exists(hook-heading-medium)) {@include hook-heading-medium();}
57
+ @if(meta.mixin-exists(hook-heading-medium)) {@include hook-heading-medium();}
55
58
  }
56
59
 
57
60
  .uk-heading-large {
58
61
  font-size: $heading-large-font-size;
59
62
  line-height: $heading-large-line-height;
60
- @if(mixin-exists(hook-heading-large)) {@include hook-heading-large();}
63
+ @if(meta.mixin-exists(hook-heading-large)) {@include hook-heading-large();}
61
64
  }
62
65
 
63
66
  .uk-heading-xlarge {
64
67
  font-size: $heading-xlarge-font-size;
65
68
  line-height: $heading-xlarge-line-height;
66
- @if(mixin-exists(hook-heading-xlarge)) {@include hook-heading-xlarge();}
69
+ @if(meta.mixin-exists(hook-heading-xlarge)) {@include hook-heading-xlarge();}
67
70
  }
68
71
 
69
72
  .uk-heading-2xlarge {
70
73
  font-size: $heading-2xlarge-font-size;
71
74
  line-height: $heading-2xlarge-line-height;
72
- @if(mixin-exists(hook-heading-2xlarge)) {@include hook-heading-2xlarge();}
75
+ @if(meta.mixin-exists(hook-heading-2xlarge)) {@include hook-heading-2xlarge();}
73
76
  }
74
77
 
75
78
  .uk-heading-3xlarge {
76
79
  font-size: $heading-3xlarge-font-size;
77
80
  line-height: $heading-3xlarge-line-height;
78
- @if(mixin-exists(hook-heading-3xlarge)) {@include hook-heading-3xlarge();}
81
+ @if(meta.mixin-exists(hook-heading-3xlarge)) {@include hook-heading-3xlarge();}
79
82
  }
80
83
 
81
84
  /* Tablet Landscape and bigger */
@@ -116,7 +119,7 @@ $heading-primary-font-size: $heading-primary-font-size-l *
116
119
  .uk-heading-primary {
117
120
  font-size: $heading-primary-font-size;
118
121
  line-height: $heading-primary-line-height;
119
- @if(mixin-exists(hook-heading-primary)) {@include hook-heading-primary();}
122
+ @if(meta.mixin-exists(hook-heading-primary)) {@include hook-heading-primary();}
120
123
  }
121
124
  }
122
125
 
@@ -156,7 +159,7 @@ $heading-hero-font-size: $heading-hero-font-size-l * 0.5
156
159
  .uk-heading-hero {
157
160
  font-size: $heading-hero-font-size;
158
161
  line-height: $heading-hero-line-height;
159
- @if(mixin-exists(hook-heading-hero)) {@include hook-heading-hero();}
162
+ @if(meta.mixin-exists(hook-heading-hero)) {@include hook-heading-hero();}
160
163
  }
161
164
  }
162
165
 
@@ -191,7 +194,7 @@ $heading-hero-font-size: $heading-hero-font-size-l * 0.5
191
194
  .uk-heading-divider {
192
195
  padding-bottom: $heading-divider-padding-bottom;
193
196
  border-bottom: $heading-divider-border-width solid $heading-divider-border;
194
- @if(mixin-exists(hook-heading-divider)) {@include hook-heading-divider();}
197
+ @if(meta.mixin-exists(hook-heading-divider)) {@include hook-heading-divider();}
195
198
  }
196
199
 
197
200
 
@@ -218,7 +221,7 @@ $heading-hero-font-size: $heading-hero-font-size-l * 0.5
218
221
  height: $heading-bullet-height;
219
222
  margin-right: $heading-bullet-margin-right;
220
223
  border-left: $heading-bullet-border-width solid $heading-bullet-border;
221
- @if(mixin-exists(hook-heading-bullet)) {@include hook-heading-bullet();}
224
+ @if(meta.mixin-exists(hook-heading-bullet)) {@include hook-heading-bullet();}
222
225
  }
223
226
 
224
227
 
@@ -251,12 +254,12 @@ $heading-hero-font-size: $heading-hero-font-size-l * 0.5
251
254
  content: "";
252
255
  /* 1 */
253
256
  position: absolute;
254
- top: unquote('calc(#{$heading-line-top} - (#{$heading-line-height} / 2))');
257
+ top: string.unquote('calc(#{$heading-line-top} - (#{$heading-line-height} / 2))');
255
258
  /* 2 */
256
259
  width: $heading-line-width;
257
260
  /* 3 */
258
261
  border-bottom: $heading-line-border-width solid $heading-line-border;
259
- @if(mixin-exists(hook-heading-line)) {@include hook-heading-line();}
262
+ @if(meta.mixin-exists(hook-heading-line)) {@include hook-heading-line();}
260
263
  }
261
264
 
262
265
  .uk-heading-line > ::before {
@@ -272,7 +275,7 @@ $heading-hero-font-size: $heading-hero-font-size-l * 0.5
272
275
  // Hooks
273
276
  // ========================================================================
274
277
 
275
- @if(mixin-exists(hook-heading-misc)) {@include hook-heading-misc();}
278
+ @if(meta.mixin-exists(hook-heading-misc)) {@include hook-heading-misc();}
276
279
 
277
280
  // @mixin hook-heading-small(){}
278
281
  // @mixin hook-heading-medium(){}
@@ -1,3 +1,5 @@
1
+ @use "sass:meta";
2
+
1
3
  // Name: Height
2
4
  // Description: Utilities for heights
3
5
  //
@@ -49,6 +51,6 @@
49
51
  // Hooks
50
52
  // ========================================================================
51
53
 
52
- @if(mixin-exists(hook-height-misc)) {@include hook-height-misc();}
54
+ @if(meta.mixin-exists(hook-height-misc)) {@include hook-height-misc();}
53
55
 
54
56
  // @mixin hook-height-misc(){}
@@ -1,3 +1,5 @@
1
+ @use "sass:meta";
2
+
1
3
  // Name: Icon
2
4
  // Description: Component to create icons
3
5
  //
@@ -125,19 +127,19 @@ button.uk-icon:not(:disabled) { cursor: pointer; }
125
127
  color: $icon-link-color;
126
128
  /* 1 */
127
129
  text-decoration: none !important;
128
- @if(mixin-exists(hook-icon-link)) {@include hook-icon-link();}
130
+ @if(meta.mixin-exists(hook-icon-link)) {@include hook-icon-link();}
129
131
  }
130
132
 
131
133
  .uk-icon-link:hover {
132
134
  color: $icon-link-hover-color;
133
- @if(mixin-exists(hook-icon-link-hover)) {@include hook-icon-link-hover();}
135
+ @if(meta.mixin-exists(hook-icon-link-hover)) {@include hook-icon-link-hover();}
134
136
  }
135
137
 
136
138
  /* OnClick + Active */
137
139
  .uk-icon-link:active,
138
140
  .uk-active > .uk-icon-link {
139
141
  color: $icon-link-active-color;
140
- @if(mixin-exists(hook-icon-link-active)) {@include hook-icon-link-active();}
142
+ @if(meta.mixin-exists(hook-icon-link-active)) {@include hook-icon-link-active();}
141
143
  }
142
144
 
143
145
  /*
@@ -157,14 +159,14 @@ button.uk-icon:not(:disabled) { cursor: pointer; }
157
159
  display: inline-flex;
158
160
  justify-content: center;
159
161
  align-items: center;
160
- @if(mixin-exists(hook-icon-button)) {@include hook-icon-button();}
162
+ @if(meta.mixin-exists(hook-icon-button)) {@include hook-icon-button();}
161
163
  }
162
164
 
163
165
  /* Hover */
164
166
  .uk-icon-button:hover {
165
167
  background-color: $icon-button-hover-background;
166
168
  color: $icon-button-hover-color;
167
- @if(mixin-exists(hook-icon-button-hover)) {@include hook-icon-button-hover();}
169
+ @if(meta.mixin-exists(hook-icon-button-hover)) {@include hook-icon-button-hover();}
168
170
  }
169
171
 
170
172
  /* OnClick + Active */
@@ -172,14 +174,14 @@ button.uk-icon:not(:disabled) { cursor: pointer; }
172
174
  .uk-active > .uk-icon-button {
173
175
  background-color: $icon-button-active-background;
174
176
  color: $icon-button-active-color;
175
- @if(mixin-exists(hook-icon-button-active)) {@include hook-icon-button-active();}
177
+ @if(meta.mixin-exists(hook-icon-button-active)) {@include hook-icon-button-active();}
176
178
  }
177
179
 
178
180
 
179
181
  // Hooks
180
182
  // ========================================================================
181
183
 
182
- @if(mixin-exists(hook-icon-misc)) {@include hook-icon-misc();}
184
+ @if(meta.mixin-exists(hook-icon-misc)) {@include hook-icon-misc();}
183
185
 
184
186
  // @mixin hook-icon-link(){}
185
187
  // @mixin hook-icon-link-hover(){}
@@ -1,3 +1,5 @@
1
+ @use "sass:meta";
2
+
1
3
  // Name: Iconnav
2
4
  // Description: Component to create icon navigations
3
5
  //
@@ -38,7 +40,7 @@
38
40
  list-style: none;
39
41
  /* 3 */
40
42
  margin-left: (-$iconnav-margin-horizontal);
41
- @if(mixin-exists(hook-iconnav)) {@include hook-iconnav();}
43
+ @if(meta.mixin-exists(hook-iconnav)) {@include hook-iconnav();}
42
44
  }
43
45
 
44
46
  /*
@@ -76,19 +78,19 @@
76
78
  color: $iconnav-item-color;
77
79
  /* 5 */
78
80
  text-decoration: none;
79
- @if(mixin-exists(hook-iconnav-item)) {@include hook-iconnav-item();}
81
+ @if(meta.mixin-exists(hook-iconnav-item)) {@include hook-iconnav-item();}
80
82
  }
81
83
 
82
84
  /* Hover */
83
85
  .uk-iconnav > * > a:hover {
84
86
  color: $iconnav-item-hover-color;
85
- @if(mixin-exists(hook-iconnav-item-hover)) {@include hook-iconnav-item-hover();}
87
+ @if(meta.mixin-exists(hook-iconnav-item-hover)) {@include hook-iconnav-item-hover();}
86
88
  }
87
89
 
88
90
  /* Active */
89
91
  .uk-iconnav > .uk-active > a {
90
92
  color: $iconnav-item-active-color;
91
- @if(mixin-exists(hook-iconnav-item-active)) {@include hook-iconnav-item-active();}
93
+ @if(meta.mixin-exists(hook-iconnav-item-active)) {@include hook-iconnav-item-active();}
92
94
  }
93
95
 
94
96
 
@@ -118,7 +120,7 @@
118
120
  // Hooks
119
121
  // ========================================================================
120
122
 
121
- @if(mixin-exists(hook-iconnav-misc)) {@include hook-iconnav-misc();}
123
+ @if(meta.mixin-exists(hook-iconnav-misc)) {@include hook-iconnav-misc();}
122
124
 
123
125
  // @mixin hook-iconnav(){}
124
126
  // @mixin hook-iconnav-item(){}
@@ -1,3 +1,5 @@
1
+ @use "sass:meta";
2
+
1
3
  // Name: Inverse
2
4
  // Description: Inverse component style for light or dark backgrounds
3
5
  //
@@ -26,9 +28,9 @@
26
28
  * `uk-dark` is or dark colors on light backgrounds
27
29
  */
28
30
 
29
- @if ($inverse-global-color-mode == light) { .uk-light { @if (mixin-exists(hook-inverse)) {@include hook-inverse();}}}
31
+ @if ($inverse-global-color-mode == light) { .uk-light { @if (meta.mixin-exists(hook-inverse)) {@include hook-inverse();}}}
30
32
 
31
- @if ($inverse-global-color-mode == dark) { .uk-dark { @if (mixin-exists(hook-inverse)) {@include hook-inverse();}}}
33
+ @if ($inverse-global-color-mode == dark) { .uk-dark { @if (meta.mixin-exists(hook-inverse)) {@include hook-inverse();}}}
32
34
 
33
35
  /*
34
36
  * Pass dropbar behind color to JS
@@ -1,3 +1,5 @@
1
+ @use "sass:meta";
2
+
1
3
  // Name: Label
2
4
  // Description: Component to indicate important notes
3
5
  //
@@ -29,7 +31,7 @@
29
31
  color: $label-color;
30
32
  vertical-align: middle;
31
33
  white-space: nowrap;
32
- @if(mixin-exists(hook-label)) {@include hook-label();}
34
+ @if(meta.mixin-exists(hook-label)) {@include hook-label();}
33
35
  }
34
36
 
35
37
 
@@ -43,7 +45,7 @@
43
45
  .uk-label-success {
44
46
  background-color: $label-success-background;
45
47
  color: $label-success-color;
46
- @if(mixin-exists(hook-label-success)) {@include hook-label-success();}
48
+ @if(meta.mixin-exists(hook-label-success)) {@include hook-label-success();}
47
49
  }
48
50
 
49
51
  /*
@@ -53,7 +55,7 @@
53
55
  .uk-label-warning {
54
56
  background-color: $label-warning-background;
55
57
  color: $label-warning-color;
56
- @if(mixin-exists(hook-label-warning)) {@include hook-label-warning();}
58
+ @if(meta.mixin-exists(hook-label-warning)) {@include hook-label-warning();}
57
59
  }
58
60
 
59
61
  /*
@@ -63,14 +65,14 @@
63
65
  .uk-label-danger {
64
66
  background-color: $label-danger-background;
65
67
  color: $label-danger-color;
66
- @if(mixin-exists(hook-label-danger)) {@include hook-label-danger();}
68
+ @if(meta.mixin-exists(hook-label-danger)) {@include hook-label-danger();}
67
69
  }
68
70
 
69
71
 
70
72
  // Hooks
71
73
  // ========================================================================
72
74
 
73
- @if(mixin-exists(hook-label-misc)) {@include hook-label-misc();}
75
+ @if(meta.mixin-exists(hook-label-misc)) {@include hook-label-misc();}
74
76
 
75
77
  // @mixin hook-label(){}
76
78
  // @mixin hook-label-success(){}
@@ -1,3 +1,5 @@
1
+ @use "sass:meta";
2
+
1
3
  // Name: Leader
2
4
  // Description: Component to create dot leaders
3
5
  //
@@ -34,7 +36,7 @@
34
36
  content: attr(data-fill);
35
37
  /* 4 */
36
38
  white-space: nowrap;
37
- @if(mixin-exists(hook-leader)) {@include hook-leader();}
39
+ @if(meta.mixin-exists(hook-leader)) {@include hook-leader();}
38
40
  }
39
41
 
40
42
  /*
@@ -53,7 +55,7 @@
53
55
  // Hooks
54
56
  // ========================================================================
55
57
 
56
- @if(mixin-exists(hook-leader-misc)) {@include hook-leader-misc();}
58
+ @if(meta.mixin-exists(hook-leader-misc)) {@include hook-leader-misc();}
57
59
 
58
60
  // @mixin hook-leader(){}
59
61
  // @mixin hook-leader-misc(){}
@@ -1,3 +1,5 @@
1
+ @use "sass:meta";
2
+
1
3
  // Name: Lightbox
2
4
  // Description: Component to create an lightbox image gallery
3
5
  //
@@ -60,7 +62,7 @@
60
62
  transition: opacity 0.15s linear;
61
63
  /* 7 */
62
64
  touch-action: pinch-zoom;
63
- @if(mixin-exists(hook-lightbox)) {@include hook-lightbox();}
65
+ @if(meta.mixin-exists(hook-lightbox)) {@include hook-lightbox();}
64
66
  }
65
67
 
66
68
  /*
@@ -128,7 +130,7 @@
128
130
  will-change: transform, opacity;
129
131
  /* 4 */
130
132
  overflow: auto;
131
- @if(mixin-exists(hook-lightbox-item)) {@include hook-lightbox-item();}
133
+ @if(meta.mixin-exists(hook-lightbox-item)) {@include hook-lightbox-item();}
132
134
  }
133
135
 
134
136
  /* 2 */
@@ -171,7 +173,7 @@
171
173
  padding: $lightbox-caption-padding-vertical $lightbox-caption-padding-horizontal;
172
174
  background: $lightbox-caption-background;
173
175
  color: $lightbox-caption-color;
174
- @if(mixin-exists(hook-lightbox-caption)) {@include hook-lightbox-caption();}
176
+ @if(meta.mixin-exists(hook-lightbox-caption)) {@include hook-lightbox-caption();}
175
177
  }
176
178
 
177
179
  .uk-lightbox-caption > * { color: $lightbox-caption-color; }
@@ -195,7 +197,7 @@
195
197
  // Hooks
196
198
  // ========================================================================
197
199
 
198
- @if(mixin-exists(hook-lightbox-misc)) {@include hook-lightbox-misc();}
200
+ @if(meta.mixin-exists(hook-lightbox-misc)) {@include hook-lightbox-misc();}
199
201
 
200
202
  // @mixin hook-lightbox(){}
201
203
  // @mixin hook-lightbox-item(){}
@@ -1,3 +1,5 @@
1
+ @use "sass:meta";
2
+
1
3
  // Name: Link
2
4
  // Description: Styles for links
3
5
  //
@@ -30,14 +32,14 @@ a.uk-link-muted,
30
32
  .uk-link-muted a,
31
33
  .uk-link-toggle .uk-link-muted {
32
34
  color: $link-muted-color;
33
- @if(mixin-exists(hook-link-muted)) {@include hook-link-muted();}
35
+ @if(meta.mixin-exists(hook-link-muted)) {@include hook-link-muted();}
34
36
  }
35
37
 
36
38
  a.uk-link-muted:hover,
37
39
  .uk-link-muted a:hover,
38
40
  .uk-link-toggle:hover .uk-link-muted {
39
41
  color: $link-muted-hover-color;
40
- @if(mixin-exists(hook-link-muted-hover)) {@include hook-link-muted-hover();}
42
+ @if(meta.mixin-exists(hook-link-muted-hover)) {@include hook-link-muted-hover();}
41
43
  }
42
44
 
43
45
 
@@ -48,14 +50,14 @@ a.uk-link-text,
48
50
  .uk-link-text a,
49
51
  .uk-link-toggle .uk-link-text {
50
52
  color: inherit;
51
- @if(mixin-exists(hook-link-text)) {@include hook-link-text();}
53
+ @if(meta.mixin-exists(hook-link-text)) {@include hook-link-text();}
52
54
  }
53
55
 
54
56
  a.uk-link-text:hover,
55
57
  .uk-link-text a:hover,
56
58
  .uk-link-toggle:hover .uk-link-text {
57
59
  color: $link-text-hover-color;
58
- @if(mixin-exists(hook-link-text-hover)) {@include hook-link-text-hover();}
60
+ @if(meta.mixin-exists(hook-link-text-hover)) {@include hook-link-text-hover();}
59
61
  }
60
62
 
61
63
 
@@ -66,7 +68,7 @@ a.uk-link-heading,
66
68
  .uk-link-heading a,
67
69
  .uk-link-toggle .uk-link-heading {
68
70
  color: inherit;
69
- @if(mixin-exists(hook-link-heading)) {@include hook-link-heading();}
71
+ @if(meta.mixin-exists(hook-link-heading)) {@include hook-link-heading();}
70
72
  }
71
73
 
72
74
  a.uk-link-heading:hover,
@@ -74,7 +76,7 @@ a.uk-link-heading:hover,
74
76
  .uk-link-toggle:hover .uk-link-heading {
75
77
  color: $link-heading-hover-color;
76
78
  text-decoration: $link-heading-hover-text-decoration;
77
- @if(mixin-exists(hook-link-heading-hover)) {@include hook-link-heading-hover();}
79
+ @if(meta.mixin-exists(hook-link-heading-hover)) {@include hook-link-heading-hover();}
78
80
  }
79
81
 
80
82
 
@@ -89,7 +91,7 @@ a.uk-link-reset,
89
91
  .uk-link-reset a {
90
92
  color: inherit !important;
91
93
  text-decoration: none !important;
92
- @if(mixin-exists(hook-link-reset)) {@include hook-link-reset();}
94
+ @if(meta.mixin-exists(hook-link-reset)) {@include hook-link-reset();}
93
95
  }
94
96
 
95
97
 
@@ -105,7 +107,7 @@ a.uk-link-reset,
105
107
  // Hooks
106
108
  // ========================================================================
107
109
 
108
- @if(mixin-exists(hook-link-misc)) {@include hook-link-misc();}
110
+ @if(meta.mixin-exists(hook-link-misc)) {@include hook-link-misc();}
109
111
 
110
112
  // @mixin hook-link-muted(){}
111
113
  // @mixin hook-link-muted-hover(){}
@@ -1,3 +1,5 @@
1
+ @use "sass:meta";
2
+
1
3
  // Name: List
2
4
  // Description: Styles for lists
3
5
  //
@@ -120,7 +122,7 @@
120
122
  margin-top: $list-divider-margin-top;
121
123
  padding-top: $list-divider-margin-top;
122
124
  border-top: $list-divider-border-width solid $list-divider-border;
123
- @if(mixin-exists(hook-list-divider)) {@include hook-list-divider();}
125
+ @if(meta.mixin-exists(hook-list-divider)) {@include hook-list-divider();}
124
126
  }
125
127
 
126
128
  /*
@@ -129,7 +131,7 @@
129
131
 
130
132
  .uk-list-striped > * {
131
133
  padding: $list-striped-padding-vertical $list-striped-padding-horizontal;
132
- @if(mixin-exists(hook-list-striped)) {@include hook-list-striped();}
134
+ @if(meta.mixin-exists(hook-list-striped)) {@include hook-list-striped();}
133
135
  }
134
136
 
135
137
  .uk-list-striped > :nth-of-type(odd) { background: $list-striped-background; }
@@ -178,7 +180,7 @@
178
180
  // Hooks
179
181
  // ========================================================================
180
182
 
181
- @if(mixin-exists(hook-list-misc)) {@include hook-list-misc();}
183
+ @if(meta.mixin-exists(hook-list-misc)) {@include hook-list-misc();}
182
184
 
183
185
  // @mixin hook-list-divider(){}
184
186
  // @mixin hook-list-striped(){}
@@ -1,3 +1,5 @@
1
+ @use "sass:meta";
2
+
1
3
  // Name: Margin
2
4
  // Description: Utilities for margins
3
5
  //
@@ -250,6 +252,6 @@
250
252
  // Hooks
251
253
  // ========================================================================
252
254
 
253
- @if(mixin-exists(hook-margin-misc)) {@include hook-margin-misc();}
255
+ @if(meta.mixin-exists(hook-margin-misc)) {@include hook-margin-misc();}
254
256
 
255
257
  // @mixin hook-margin-misc(){}
@@ -1,3 +1,5 @@
1
+ @use "sass:meta";
2
+
1
3
  // Name: Marker
2
4
  // Description: Component to create a marker icon
3
5
  //
@@ -24,20 +26,20 @@
24
26
  padding: $marker-padding;
25
27
  background: $marker-background;
26
28
  color: $marker-color;
27
- @if(mixin-exists(hook-marker)) {@include hook-marker();}
29
+ @if(meta.mixin-exists(hook-marker)) {@include hook-marker();}
28
30
  }
29
31
 
30
32
  /* Hover */
31
33
  .uk-marker:hover {
32
34
  color: $marker-hover-color;
33
- @if(mixin-exists(hook-marker-hover)) {@include hook-marker-hover();}
35
+ @if(meta.mixin-exists(hook-marker-hover)) {@include hook-marker-hover();}
34
36
  }
35
37
 
36
38
 
37
39
  // Hooks
38
40
  // ========================================================================
39
41
 
40
- @if(mixin-exists(hook-marker-misc)) {@include hook-marker-misc();}
42
+ @if(meta.mixin-exists(hook-marker-misc)) {@include hook-marker-misc();}
41
43
 
42
44
  // @mixin hook-marker(){}
43
45
  // @mixin hook-marker-hover(){}
@@ -1,3 +1,5 @@
1
+ @use "sass:string";
2
+
1
3
  //
2
4
  // Component: Mixin
3
5
  // Description: Defines mixins which are used across all components
@@ -14,11 +16,11 @@
14
16
  /// @param {String} $replace ('') - New value
15
17
  /// @return {String} - Updated string
16
18
  @function str-replace($string, $search, $replace: '') {
17
- $index: str-index($string, $search);
19
+ $index: string.index($string, $search);
18
20
 
19
21
  @if $index {
20
- @return str-slice($string, 1, $index - 1) + $replace +
21
- str-replace(str-slice($string, $index + str-length($search)), $search, $replace);
22
+ @return string.slice($string, 1, $index - 1) + $replace +
23
+ str-replace(string.slice($string, $index + string.length($search)), $search, $replace);
22
24
  }
23
25
 
24
26
  @return $string;
@@ -27,6 +29,6 @@
27
29
  @mixin svg-fill($src, $color-default, $color-new) {
28
30
  $replace-src: str-replace($src, $color-default, $color-new) !default;
29
31
  $replace-src: str-replace($replace-src, '#', '%23');
30
- $replace-src: quote($replace-src);
32
+ $replace-src: string.quote($replace-src);
31
33
  background-image: url($replace-src);
32
34
  }
@@ -1,3 +1,5 @@
1
+ @use "sass:meta";
2
+
1
3
  // Name: Modal
2
4
  // Description: Component to create modal dialogs
3
5
  //
@@ -69,7 +71,7 @@
69
71
  /* 6 */
70
72
  opacity: 0;
71
73
  transition: opacity 0.15s linear;
72
- @if(mixin-exists(hook-modal)) {@include hook-modal();}
74
+ @if(meta.mixin-exists(hook-modal)) {@include hook-modal();}
73
75
  }
74
76
 
75
77
  /* Phone landscape and bigger */
@@ -133,7 +135,7 @@
133
135
  transform: translateY(-100px);
134
136
  transition: 0.3s linear;
135
137
  transition-property: opacity, transform;
136
- @if(mixin-exists(hook-modal-dialog)) {@include hook-modal-dialog();}
138
+ @if(meta.mixin-exists(hook-modal-dialog)) {@include hook-modal-dialog();}
137
139
  }
138
140
 
139
141
  /*
@@ -174,7 +176,7 @@
174
176
  width: 100%;
175
177
  max-width: 100%;
176
178
  transform: translateY(0);
177
- @if(mixin-exists(hook-modal-full)) {@include hook-modal-full();}
179
+ @if(meta.mixin-exists(hook-modal-full)) {@include hook-modal-full();}
178
180
  }
179
181
 
180
182
 
@@ -184,21 +186,21 @@
184
186
  .uk-modal-body {
185
187
  display: flow-root;
186
188
  padding: $modal-body-padding-vertical $modal-body-padding-horizontal;
187
- @if(mixin-exists(hook-modal-body)) {@include hook-modal-body();}
189
+ @if(meta.mixin-exists(hook-modal-body)) {@include hook-modal-body();}
188
190
  }
189
191
 
190
192
  .uk-modal-header {
191
193
  display: flow-root;
192
194
  padding: $modal-header-padding-vertical $modal-header-padding-horizontal;
193
195
  background: $modal-header-background;
194
- @if(mixin-exists(hook-modal-header)) {@include hook-modal-header();}
196
+ @if(meta.mixin-exists(hook-modal-header)) {@include hook-modal-header();}
195
197
  }
196
198
 
197
199
  .uk-modal-footer {
198
200
  display: flow-root;
199
201
  padding: $modal-footer-padding-vertical $modal-footer-padding-horizontal;
200
202
  background: $modal-footer-background;
201
- @if(mixin-exists(hook-modal-footer)) {@include hook-modal-footer();}
203
+ @if(meta.mixin-exists(hook-modal-footer)) {@include hook-modal-footer();}
202
204
  }
203
205
 
204
206
  /* Phone landscape and bigger */
@@ -225,7 +227,7 @@
225
227
  .uk-modal-title {
226
228
  font-size: $modal-title-font-size;
227
229
  line-height: $modal-title-line-height;
228
- @if(mixin-exists(hook-modal-title)) {@include hook-modal-title();}
230
+ @if(meta.mixin-exists(hook-modal-title)) {@include hook-modal-title();}
229
231
  }
230
232
 
231
233
 
@@ -239,7 +241,7 @@
239
241
  top: $modal-close-position;
240
242
  right: $modal-close-position;
241
243
  padding: $modal-close-padding;
242
- @if(mixin-exists(hook-modal-close)) {@include hook-modal-close();}
244
+ @if(meta.mixin-exists(hook-modal-close)) {@include hook-modal-close();}
243
245
  }
244
246
 
245
247
  /*
@@ -253,7 +255,7 @@
253
255
  */
254
256
 
255
257
  [class*="uk-modal-close-"]:hover {
256
- @if(mixin-exists(hook-modal-close-hover)) {@include hook-modal-close-hover();}
258
+ @if(meta.mixin-exists(hook-modal-close-hover)) {@include hook-modal-close-hover();}
257
259
  }
258
260
 
259
261
  /*
@@ -261,11 +263,11 @@
261
263
  */
262
264
 
263
265
  .uk-modal-close-default {
264
- @if(mixin-exists(hook-modal-close-default)) {@include hook-modal-close-default();}
266
+ @if(meta.mixin-exists(hook-modal-close-default)) {@include hook-modal-close-default();}
265
267
  }
266
268
 
267
269
  .uk-modal-close-default:hover {
268
- @if(mixin-exists(hook-modal-close-default-hover)) {@include hook-modal-close-default-hover();}
270
+ @if(meta.mixin-exists(hook-modal-close-default-hover)) {@include hook-modal-close-default-hover();}
269
271
  }
270
272
 
271
273
  /*
@@ -279,12 +281,12 @@
279
281
  right: (-$modal-close-padding);
280
282
  transform: translate(0, -($modal-close-outside-translate));
281
283
  color: $modal-close-outside-color;
282
- @if(mixin-exists(hook-modal-close-outside)) {@include hook-modal-close-outside();}
284
+ @if(meta.mixin-exists(hook-modal-close-outside)) {@include hook-modal-close-outside();}
283
285
  }
284
286
 
285
287
  .uk-modal-close-outside:hover {
286
288
  color: $modal-close-outside-hover-color;
287
- @if(mixin-exists(hook-modal-close-outside-hover)) {@include hook-modal-close-outside-hover();}
289
+ @if(meta.mixin-exists(hook-modal-close-outside-hover)) {@include hook-modal-close-outside-hover();}
288
290
  }
289
291
 
290
292
  /* Tablet landscape and bigger */
@@ -303,18 +305,18 @@
303
305
  */
304
306
 
305
307
  .uk-modal-close-full {
306
- @if(mixin-exists(hook-modal-close-full)) {@include hook-modal-close-full();}
308
+ @if(meta.mixin-exists(hook-modal-close-full)) {@include hook-modal-close-full();}
307
309
  }
308
310
 
309
311
  .uk-modal-close-full:hover {
310
- @if(mixin-exists(hook-modal-close-full-hover)) {@include hook-modal-close-full-hover();}
312
+ @if(meta.mixin-exists(hook-modal-close-full-hover)) {@include hook-modal-close-full-hover();}
311
313
  }
312
314
 
313
315
 
314
316
  // Hooks
315
317
  // ========================================================================
316
318
 
317
- @if(mixin-exists(hook-modal-misc)) {@include hook-modal-misc();}
319
+ @if(meta.mixin-exists(hook-modal-misc)) {@include hook-modal-misc();}
318
320
 
319
321
  // @mixin hook-modal(){}
320
322
  // @mixin hook-modal-dialog(){}