uikit 3.9.3 → 3.9.5-dev.3bc3deb62

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 (64) hide show
  1. package/CHANGELOG.md +23 -1
  2. package/README.md +4 -4
  3. package/build/build.js +4 -1
  4. package/build/util.js +4 -1
  5. package/dist/css/uikit-core-rtl.css +17 -6
  6. package/dist/css/uikit-core-rtl.min.css +1 -1
  7. package/dist/css/uikit-core.css +17 -6
  8. package/dist/css/uikit-core.min.css +1 -1
  9. package/dist/css/uikit-rtl.css +17 -6
  10. package/dist/css/uikit-rtl.min.css +1 -1
  11. package/dist/css/uikit.css +17 -6
  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 +1 -1
  18. package/dist/js/components/lightbox-panel.min.js +1 -1
  19. package/dist/js/components/lightbox.js +1 -1
  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 +1 -1
  24. package/dist/js/components/parallax.min.js +1 -1
  25. package/dist/js/components/slider-parallax.js +1 -1
  26. package/dist/js/components/slider-parallax.min.js +1 -1
  27. package/dist/js/components/slider.js +1 -1
  28. package/dist/js/components/slider.min.js +1 -1
  29. package/dist/js/components/slideshow-parallax.js +1 -1
  30. package/dist/js/components/slideshow-parallax.min.js +1 -1
  31. package/dist/js/components/slideshow.js +1 -1
  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 +19 -15
  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 +19 -15
  44. package/dist/js/uikit.min.js +1 -1
  45. package/package.json +2 -2
  46. package/src/js/core/cover.js +1 -2
  47. package/src/js/core/drop.js +3 -2
  48. package/src/js/core/sticky.js +9 -3
  49. package/src/js/util/dom.js +2 -5
  50. package/src/less/components/cover.less +1 -2
  51. package/src/less/components/link.less +6 -3
  52. package/src/less/components/search.less +31 -6
  53. package/src/less/components/utility.less +6 -0
  54. package/src/less/theme/search.less +6 -0
  55. package/src/scss/components/cover.scss +1 -2
  56. package/src/scss/components/link.scss +6 -3
  57. package/src/scss/components/search.scss +23 -6
  58. package/src/scss/components/utility.scss +6 -0
  59. package/src/scss/mixins-theme.scss +12 -0
  60. package/src/scss/mixins.scss +12 -0
  61. package/src/scss/theme/search.scss +6 -0
  62. package/src/scss/variables-theme.scss +3 -0
  63. package/src/scss/variables.scss +3 -0
  64. package/tests/search.html +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Changelog
2
2
 
3
+ ## WIP
4
+
5
+ ### Added
6
+
7
+ - Add 'aria-haspopup' attribute to Drop component's toggle
8
+ - Add padding variable to search icon in Search component
9
+
10
+ ### Changed
11
+
12
+ - Disable Sticky component if it's element is higher than viewport
13
+
14
+ ### Fixed
15
+
16
+ - Fix initial iframe width for `uk-responsive` which caused an expanded viewport on iOS devices
17
+ - Fix link toggle style if not hovered
18
+
19
+ ## 3.9.4 (November 25, 2021)
20
+
21
+ ### Fixed
22
+
23
+ - Fix Sticky position when bottom option is used
24
+
3
25
  ## 3.9.3 (November 18, 2021)
4
26
 
5
27
  ### Fixed
@@ -193,7 +215,7 @@
193
215
  ### Fixed
194
216
 
195
217
  - Fix animation set to `false` in Sortable component
196
- - Fix Tooltip on elements with class 'uk-active' applied
218
+ - Fix Tooltip on elements with class `uk-active` applied
197
219
  - Fix Slider parallax states
198
220
 
199
221
  ## 3.6.18 (March 12, 2021)
package/README.md CHANGED
@@ -46,13 +46,13 @@ Finding bugs, sending pull requests or improving our docs - any contribution is
46
46
 
47
47
  ## Versioning
48
48
 
49
- UIkit is maintained by using the [Semantic Versioning Specification (SemVer)](http://semver.org).
49
+ UIkit is maintained by using the [Semantic Versioning Specification (SemVer)](https://semver.org).
50
50
 
51
51
  ## Browser Support
52
52
 
53
- ![Chrome](https://raw.github.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png) | ![Firefox](https://raw.github.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png) | ![Edge](https://raw.github.com/alrra/browser-logos/master/src/edge/edge_48x48.png) | ![IE](https://raw.github.com/alrra/browser-logos/master/src/archive/internet-explorer_9-11/internet-explorer_9-11_48x48.png) | ![Safari](https://raw.github.com/alrra/browser-logos/master/src/safari/safari_48x48.png) | ![Opera](https://raw.github.com/alrra/browser-logos/master/src/opera/opera_48x48.png)
54
- --- | --- | --- | --- | --- | --- |
55
- Latest ✔ | Latest ✔ | Latest ✔ | 11+ ✔ | 9.1+ ✔ | Latest ✔ |
53
+ | ![Firefox](https://raw.github.com/alrra/browser-logos/main/src/firefox/firefox_48x48.png) | ![Safari](https://raw.github.com/alrra/browser-logos/main/src/safari/safari_48x48.png) | ![Chrome](https://raw.github.com/alrra/browser-logos/main/src/chrome/chrome_48x48.png) | ![Edge](https://raw.github.com/alrra/browser-logos/main/src/edge/edge_48x48.png) | ![Opera](https://raw.github.com/alrra/browser-logos/main/src/opera/opera_48x48.png) |
54
+ | -------- | -------- | -------- | -------- | -------- |
55
+ | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ |
56
56
 
57
57
  Tested With<br>[![BrowserStack](https://user-images.githubusercontent.com/355427/27389060-9f716c82-569d-11e7-923c-bd5fe7f1c55a.png)](https://www.browserstack.com)
58
58
 
package/build/build.js CHANGED
@@ -4,6 +4,9 @@ import {args, compile, glob, icons} from './util.js';
4
4
 
5
5
  const bundles = getBundleTasks();
6
6
  const components = await getComponentTasks();
7
+ const buildAll = args.all || Object.keys(args).filter(name =>
8
+ ['d', 'debug', 'nominify', 'watch'].includes(name)
9
+ ).length <= 1;
7
10
 
8
11
  if (args.h || args.help) {
9
12
  console.log(`
@@ -28,7 +31,7 @@ if (args.h || args.help) {
28
31
 
29
32
  let tasks;
30
33
  const allTasks = {...bundles, ...components};
31
- if (args.all || Object.keys(args).length <= 1) {
34
+ if (buildAll) {
32
35
  tasks = allTasks;
33
36
  } else if (args.components) {
34
37
  tasks = components;
package/build/util.js CHANGED
@@ -175,7 +175,7 @@ export async function compile(file, dest, {external, globals, name, aliases, rep
175
175
  output
176
176
  });
177
177
 
178
- watcher.on('event', ({code, result, output}) => {
178
+ watcher.on('event', ({code, result, output, error}) => {
179
179
  if (result) {
180
180
  result.close();
181
181
 
@@ -183,6 +183,9 @@ export async function compile(file, dest, {external, globals, name, aliases, rep
183
183
  if (code === 'BUNDLE_END' && output) {
184
184
  output.map(logFile);
185
185
  }
186
+ if (error) {
187
+ console.error(error);
188
+ }
186
189
  });
187
190
 
188
191
  watcher.close();
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.9.3 | https://www.getuikit.com | (c) 2014 - 2021 YOOtheme | MIT License */
1
+ /*! UIkit 3.9.5-dev.3bc3deb62 | https://www.getuikit.com | (c) 2014 - 2021 YOOtheme | MIT License */
2
2
  /* ========================================================================
3
3
  Component: Base
4
4
  ========================================================================== */
@@ -478,7 +478,8 @@ template {
478
478
  /* Muted
479
479
  ========================================================================== */
480
480
  a.uk-link-muted,
481
- .uk-link-muted a {
481
+ .uk-link-muted a,
482
+ .uk-link-toggle .uk-link-muted {
482
483
  color: #999;
483
484
  }
484
485
  a.uk-link-muted:hover,
@@ -489,7 +490,8 @@ a.uk-link-muted:hover,
489
490
  /* Text
490
491
  ========================================================================== */
491
492
  a.uk-link-text,
492
- .uk-link-text a {
493
+ .uk-link-text a,
494
+ .uk-link-toggle .uk-link-text {
493
495
  color: inherit;
494
496
  }
495
497
  a.uk-link-text:hover,
@@ -500,7 +502,8 @@ a.uk-link-text:hover,
500
502
  /* Heading
501
503
  ========================================================================== */
502
504
  a.uk-link-heading,
503
- .uk-link-heading a {
505
+ .uk-link-heading a,
506
+ .uk-link-toggle .uk-link-heading {
504
507
  color: inherit;
505
508
  }
506
509
  a.uk-link-heading:hover,
@@ -3231,6 +3234,7 @@ select.uk-form-width-xsmall {
3231
3234
  background: transparent;
3232
3235
  font-size: 1.5rem;
3233
3236
  }
3237
+ /* Focus */
3234
3238
  /*
3235
3239
  * Icon
3236
3240
  */
@@ -3256,6 +3260,7 @@ select.uk-form-width-xsmall {
3256
3260
  background: transparent;
3257
3261
  font-size: 2.625rem;
3258
3262
  }
3263
+ /* Focus */
3259
3264
  /*
3260
3265
  * Icon
3261
3266
  */
@@ -7122,13 +7127,13 @@ td.uk-text-break {
7122
7127
  ========================================================================== */
7123
7128
  /*
7124
7129
  * Works with iframes and embedded content
7125
- * 1. Apply transform instantly. Needed if transform is transitioned.
7130
+ * 1. Use attribute to apply transform instantly. Needed if transform is transitioned.
7126
7131
  * 2. Reset responsiveness for embedded content
7127
7132
  * 3. Center object
7128
7133
  * Note: Percent values on the `top` property only works if this element
7129
7134
  * is absolute positioned or if the container has a height
7130
7135
  */
7131
- .uk-cover,
7136
+ /* 1 */
7132
7137
  [uk-cover] {
7133
7138
  /* 2 */
7134
7139
  max-width: none;
@@ -7600,6 +7605,12 @@ iframe.uk-cover {
7600
7605
  /* 3 */
7601
7606
  max-width: none;
7602
7607
  }
7608
+ /*
7609
+ * Fix initial iframe width. Without the viewport is expanded on iOS devices
7610
+ */
7611
+ [uk-responsive] {
7612
+ max-width: 100%;
7613
+ }
7603
7614
  /* Border
7604
7615
  ========================================================================== */
7605
7616
  .uk-border-circle {