uikit 3.16.25-dev.eeed10ecc → 3.16.25-dev.f69668a71

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 (48) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/build/prefix.js +5 -4
  3. package/dist/css/uikit-core-rtl.css +1 -1
  4. package/dist/css/uikit-core-rtl.min.css +1 -1
  5. package/dist/css/uikit-core.css +1 -1
  6. package/dist/css/uikit-core.min.css +1 -1
  7. package/dist/css/uikit-rtl.css +1 -1
  8. package/dist/css/uikit-rtl.min.css +1 -1
  9. package/dist/css/uikit.css +1 -1
  10. package/dist/css/uikit.min.css +1 -1
  11. package/dist/js/components/countdown.js +1 -1
  12. package/dist/js/components/countdown.min.js +1 -1
  13. package/dist/js/components/filter.js +1 -1
  14. package/dist/js/components/filter.min.js +1 -1
  15. package/dist/js/components/lightbox-panel.js +1 -1
  16. package/dist/js/components/lightbox-panel.min.js +1 -1
  17. package/dist/js/components/lightbox.js +1 -1
  18. package/dist/js/components/lightbox.min.js +1 -1
  19. package/dist/js/components/notification.js +1 -1
  20. package/dist/js/components/notification.min.js +1 -1
  21. package/dist/js/components/parallax.js +16 -12
  22. package/dist/js/components/parallax.min.js +1 -1
  23. package/dist/js/components/slider-parallax.js +4 -4
  24. package/dist/js/components/slider-parallax.min.js +1 -1
  25. package/dist/js/components/slider.js +1 -1
  26. package/dist/js/components/slider.min.js +1 -1
  27. package/dist/js/components/slideshow-parallax.js +4 -4
  28. package/dist/js/components/slideshow-parallax.min.js +1 -1
  29. package/dist/js/components/slideshow.js +1 -1
  30. package/dist/js/components/slideshow.min.js +1 -1
  31. package/dist/js/components/sortable.js +1 -1
  32. package/dist/js/components/sortable.min.js +1 -1
  33. package/dist/js/components/tooltip.js +1 -1
  34. package/dist/js/components/tooltip.min.js +1 -1
  35. package/dist/js/components/upload.js +1 -1
  36. package/dist/js/components/upload.min.js +1 -1
  37. package/dist/js/uikit-core.js +18 -12
  38. package/dist/js/uikit-core.min.js +1 -1
  39. package/dist/js/uikit-icons.js +1 -1
  40. package/dist/js/uikit-icons.min.js +1 -1
  41. package/dist/js/uikit.js +24 -18
  42. package/dist/js/uikit.min.js +1 -1
  43. package/package.json +1 -1
  44. package/src/js/api/observables.js +11 -5
  45. package/src/js/components/parallax.js +2 -2
  46. package/src/js/core/sticky.js +2 -2
  47. package/src/js/core/toggle.js +5 -3
  48. package/src/js/mixin/parallax.js +3 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # Changelog
2
2
 
3
+ ## WIP
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}-`)
@@ -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-dev.f69668a71 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */
2
2
  /* ========================================================================
3
3
  Component: Base
4
4
  ========================================================================== */