uikit 3.16.25-dev.eeed10ecc → 3.16.25

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 (49) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/build/prefix.js +5 -4
  3. package/build/util.js +3 -0
  4. package/dist/css/uikit-core-rtl.css +1 -1
  5. package/dist/css/uikit-core-rtl.min.css +1 -1
  6. package/dist/css/uikit-core.css +1 -1
  7. package/dist/css/uikit-core.min.css +1 -1
  8. package/dist/css/uikit-rtl.css +1 -1
  9. package/dist/css/uikit-rtl.min.css +1 -1
  10. package/dist/css/uikit.css +1 -1
  11. package/dist/css/uikit.min.css +1 -1
  12. package/dist/js/components/countdown.js +2 -2
  13. package/dist/js/components/countdown.min.js +1 -1
  14. package/dist/js/components/filter.js +4 -4
  15. package/dist/js/components/filter.min.js +1 -1
  16. package/dist/js/components/lightbox-panel.js +26 -26
  17. package/dist/js/components/lightbox-panel.min.js +1 -1
  18. package/dist/js/components/lightbox.js +27 -27
  19. package/dist/js/components/lightbox.min.js +1 -1
  20. package/dist/js/components/notification.js +6 -6
  21. package/dist/js/components/notification.min.js +1 -1
  22. package/dist/js/components/parallax.js +31 -27
  23. package/dist/js/components/parallax.min.js +1 -1
  24. package/dist/js/components/slider-parallax.js +18 -18
  25. package/dist/js/components/slider-parallax.min.js +1 -1
  26. package/dist/js/components/slider.js +11 -11
  27. package/dist/js/components/slider.min.js +1 -1
  28. package/dist/js/components/slideshow-parallax.js +18 -18
  29. package/dist/js/components/slideshow-parallax.min.js +1 -1
  30. package/dist/js/components/slideshow.js +10 -10
  31. package/dist/js/components/slideshow.min.js +1 -1
  32. package/dist/js/components/sortable.js +2 -2
  33. package/dist/js/components/sortable.min.js +1 -1
  34. package/dist/js/components/tooltip.js +12 -12
  35. package/dist/js/components/tooltip.min.js +1 -1
  36. package/dist/js/components/upload.js +2 -2
  37. package/dist/js/components/upload.min.js +1 -1
  38. package/dist/js/uikit-core.js +110 -104
  39. package/dist/js/uikit-core.min.js +1 -1
  40. package/dist/js/uikit-icons.js +1 -1
  41. package/dist/js/uikit-icons.min.js +1 -1
  42. package/dist/js/uikit.js +161 -155
  43. package/dist/js/uikit.min.js +1 -1
  44. package/package.json +7 -7
  45. package/src/js/api/observables.js +11 -5
  46. package/src/js/components/parallax.js +2 -2
  47. package/src/js/core/sticky.js +2 -2
  48. package/src/js/core/toggle.js +5 -3
  49. package/src/js/mixin/parallax.js +3 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.16.25 (August 28, 2023)
4
+
5
+ ### Added
6
+
7
+ - Add `-source` argument to `prefix` command
8
+
9
+ ### Fixed
10
+
11
+ - Fix Toggle in hover mode does not trigger when scrolling in FireFox
12
+ - Fix Parallax component stop parsing
13
+
3
14
  ## 3.16.24 (August 1, 2023)
4
15
 
5
16
  ### Fixed
package/build/prefix.js CHANGED
@@ -6,7 +6,7 @@ if (args.h || args.help) {
6
6
  console.log(`
7
7
  usage:
8
8
 
9
- prefix.js [-p{refix}=your_great_new_prefix]
9
+ prefix.js [-p{refix}=prefix] [-s{ource}=folder to replace prefix in]
10
10
 
11
11
  example:
12
12
 
@@ -17,6 +17,7 @@ if (args.h || args.help) {
17
17
  process.exit(0);
18
18
  }
19
19
 
20
+ const path = args.s || args.source || 'dist';
20
21
  const currentPrefix = await findExistingPrefix();
21
22
  const prefix = await getPrefix();
22
23
 
@@ -27,7 +28,7 @@ if (currentPrefix === prefix) {
27
28
  await replacePrefix(currentPrefix, prefix);
28
29
 
29
30
  async function findExistingPrefix() {
30
- return (await read('dist/css/uikit.css')).match(
31
+ return (await read(`${path}/css/uikit.css`)).match(
31
32
  new RegExp(`(${validClassName.source})(-[a-z]+)?-grid`),
32
33
  )?.[1];
33
34
  }
@@ -58,13 +59,13 @@ async function getPrefix() {
58
59
  }
59
60
 
60
61
  async function replacePrefix(from, to) {
61
- for (const file of await glob('dist/**/*.css')) {
62
+ for (const file of await glob(`${path}/**/*.css`)) {
62
63
  await replaceInFile(file, (data) =>
63
64
  data.replace(new RegExp(`${from}-${/([a-z\d-]+)/.source}`, 'g'), `${to}-$1`),
64
65
  );
65
66
  }
66
67
 
67
- for (const file of await glob('dist/**/*.js')) {
68
+ for (const file of await glob(`${path}/**/*.js`)) {
68
69
  await replaceInFile(file, (data) =>
69
70
  data
70
71
  .replace(new RegExp(`${from}-`, 'g'), `${to}-`)
package/build/util.js CHANGED
@@ -102,6 +102,9 @@ export async function compile(file, dest, { external, globals, name, aliases, re
102
102
  target: 'safari12',
103
103
  sourceMap: !!debug,
104
104
  minify: false,
105
+ supported: {
106
+ 'template-literal': true,
107
+ },
105
108
  }),
106
109
 
107
110
  !debug &&
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.16.25-dev.eeed10ecc | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */
1
+ /*! UIkit 3.16.25 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */
2
2
  /* ========================================================================
3
3
  Component: Base
4
4
  ========================================================================== */