uikit 3.24.1-dev.abd268bcc → 3.24.2-dev.0c818599c

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 +7 -0
  2. package/build/build.js +3 -1
  3. package/build/icons.js +1 -1
  4. package/build/scss.js +2 -1
  5. package/build/util.js +15 -13
  6. package/dist/css/uikit-core-rtl.css +1 -1
  7. package/dist/css/uikit-core-rtl.min.css +1 -1
  8. package/dist/css/uikit-core.css +1 -1
  9. package/dist/css/uikit-core.min.css +1 -1
  10. package/dist/css/uikit-rtl.css +1 -1
  11. package/dist/css/uikit-rtl.min.css +1 -1
  12. package/dist/css/uikit.css +1 -1
  13. package/dist/css/uikit.min.css +1 -1
  14. package/dist/js/components/countdown.js +1 -1
  15. package/dist/js/components/countdown.min.js +1 -1
  16. package/dist/js/components/filter.js +1 -1
  17. package/dist/js/components/filter.min.js +1 -1
  18. package/dist/js/components/lightbox-panel.js +1 -1
  19. package/dist/js/components/lightbox-panel.min.js +1 -1
  20. package/dist/js/components/lightbox.js +1 -1
  21. package/dist/js/components/lightbox.min.js +1 -1
  22. package/dist/js/components/notification.js +1 -1
  23. package/dist/js/components/notification.min.js +1 -1
  24. package/dist/js/components/parallax.js +1 -1
  25. package/dist/js/components/parallax.min.js +1 -1
  26. package/dist/js/components/slider-parallax.js +1 -1
  27. package/dist/js/components/slider-parallax.min.js +1 -1
  28. package/dist/js/components/slider.js +1 -1
  29. package/dist/js/components/slider.min.js +1 -1
  30. package/dist/js/components/slideshow-parallax.js +1 -1
  31. package/dist/js/components/slideshow-parallax.min.js +1 -1
  32. package/dist/js/components/slideshow.js +1 -1
  33. package/dist/js/components/slideshow.min.js +1 -1
  34. package/dist/js/components/sortable.js +1 -1
  35. package/dist/js/components/sortable.min.js +1 -1
  36. package/dist/js/components/tooltip.js +1 -1
  37. package/dist/js/components/tooltip.min.js +1 -1
  38. package/dist/js/components/upload.js +1 -1
  39. package/dist/js/components/upload.min.js +1 -1
  40. package/dist/js/uikit-core.js +2 -2
  41. package/dist/js/uikit-core.min.js +1 -1
  42. package/dist/js/uikit-icons.js +161 -161
  43. package/dist/js/uikit-icons.min.js +1 -1
  44. package/dist/js/uikit.js +2 -2
  45. package/dist/js/uikit.min.js +1 -1
  46. package/package.json +1 -1
  47. package/src/scss/mixins-theme.scss +2 -2
  48. package/src/scss/mixins.scss +2 -2
package/CHANGELOG.md CHANGED
@@ -4,7 +4,14 @@
4
4
 
5
5
  ### Fixed
6
6
 
7
+ - Fix overwriting default icons
8
+
9
+ ## 3.24.1 (October 6, 2025)
10
+
11
+ ### Fixed
12
+
7
13
  - Fix icon overlay inverse selector in Icon component
14
+ - Fix Sass sources
8
15
 
9
16
  ## 3.24.0 (October 2, 2025)
10
17
 
package/build/build.js CHANGED
@@ -57,7 +57,9 @@ function getBundleTasks() {
57
57
  icons: async () =>
58
58
  compile('build/wrapper/icons.js', 'dist/js/uikit-icons', {
59
59
  name: 'icons',
60
- replaces: { ICONS: await icons('{src/images,custom}/icons/*.svg') },
60
+ replaces: {
61
+ ICONS: await icons('custom/icons/*.svg', 'src/images/icons/*.svg'),
62
+ },
61
63
  }),
62
64
 
63
65
  tests: async () =>
package/build/icons.js CHANGED
@@ -29,7 +29,7 @@ async function compileIcons(folder) {
29
29
  return compile('build/wrapper/icons.js', `dist/js/uikit-icons-${name}`, {
30
30
  name,
31
31
  replaces: {
32
- ICONS: await icons(`{src/images/icons,${folder}}/*.svg`),
32
+ ICONS: await icons(`${folder}/*.svg`, 'src/images/icons/*.svg'),
33
33
  },
34
34
  });
35
35
  }
package/build/scss.js CHANGED
@@ -66,7 +66,8 @@ for (const file of (await glob('src/less/**/*.less'))
66
66
  .replace(/\${/g, '#{$') // string literals: from: /~"(.*)"/g, to: '#{"$1"}'
67
67
  .replace(/[^(](-\$[\w-]*)/g, ' ($1)') // surround negative variables with brackets
68
68
  .replace(/(--[\w-]+:\s*)~'([^']+)'/g, '$1$2') // string literals in custom properties
69
- .replace(/~('[^']+')/g, 'unquote($1)'); // string literals: for real
69
+ .replace(/~('[^']+')/g, 'unquote($1)') // string literals: for real
70
+ .replace(/(\w+)&/g, '&:is($1)'); // replace parent selector & when not at beginning of selector
70
71
 
71
72
  /* File name of the current file */
72
73
  const filename = path.basename(file, '.less');
package/build/util.js CHANGED
@@ -170,20 +170,22 @@ export async function compile(file, dest, { external, globals, name, aliases, re
170
170
  }
171
171
  }
172
172
 
173
- export async function icons(src) {
174
- const files = await glob(src);
175
- const icons = await Promise.all(
176
- files.map((file) => limit(async () => optimizeSvg(await read(file)))),
177
- );
173
+ export async function icons(...src) {
174
+ let files = {};
175
+ for (const pattern of src) {
176
+ for (const file of await glob(pattern)) {
177
+ files[path.basename(file, '.svg')] ??= limit(
178
+ async () => await optimizeSvg(await read(file)),
179
+ );
180
+ }
181
+ }
178
182
 
179
- return JSON.stringify(
180
- files.reduce((result, file, i) => {
181
- result[path.basename(file, '.svg')] = icons[i];
182
- return result;
183
- }, {}),
184
- null,
185
- ' ',
186
- );
183
+ const sorted = {};
184
+ for (const key of Object.keys(files).sort()) {
185
+ sorted[key] = await files[key];
186
+ }
187
+
188
+ return JSON.stringify(sorted, null, ' ');
187
189
  }
188
190
 
189
191
  export function ucfirst(str) {
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.24.1-dev.abd268bcc | https://www.getuikit.com | (c) 2014 - 2025 YOOtheme | MIT License */
1
+ /*! UIkit 3.24.2-dev.0c818599c | https://www.getuikit.com | (c) 2014 - 2025 YOOtheme | MIT License */
2
2
  /* ========================================================================
3
3
  Component: Base
4
4
  ========================================================================== */