uikit 3.16.24 → 3.16.25-dev.9ac53a026

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 (144) hide show
  1. package/.eslintrc.json +0 -9
  2. package/.prettierrc.json +3 -4
  3. package/CHANGELOG.md +6 -0
  4. package/build/build.js +2 -2
  5. package/build/less.js +2 -2
  6. package/build/prefix.js +8 -7
  7. package/build/release.js +7 -7
  8. package/build/scope.js +3 -3
  9. package/build/scss.js +26 -16
  10. package/build/util.js +11 -11
  11. package/dist/css/uikit-core-rtl.css +6 -2
  12. package/dist/css/uikit-core-rtl.min.css +1 -1
  13. package/dist/css/uikit-core.css +6 -2
  14. package/dist/css/uikit-core.min.css +1 -1
  15. package/dist/css/uikit-rtl.css +6 -2
  16. package/dist/css/uikit-rtl.min.css +1 -1
  17. package/dist/css/uikit.css +6 -2
  18. package/dist/css/uikit.min.css +1 -1
  19. package/dist/js/components/countdown.js +2 -2
  20. package/dist/js/components/countdown.min.js +1 -1
  21. package/dist/js/components/filter.js +18 -18
  22. package/dist/js/components/filter.min.js +1 -1
  23. package/dist/js/components/lightbox-panel.js +347 -350
  24. package/dist/js/components/lightbox-panel.min.js +1 -1
  25. package/dist/js/components/lightbox.js +349 -352
  26. package/dist/js/components/lightbox.min.js +1 -1
  27. package/dist/js/components/notification.js +6 -6
  28. package/dist/js/components/notification.min.js +1 -1
  29. package/dist/js/components/parallax.js +69 -69
  30. package/dist/js/components/parallax.min.js +1 -1
  31. package/dist/js/components/slider-parallax.js +37 -37
  32. package/dist/js/components/slider-parallax.min.js +1 -1
  33. package/dist/js/components/slider.js +218 -224
  34. package/dist/js/components/slider.min.js +1 -1
  35. package/dist/js/components/slideshow-parallax.js +37 -37
  36. package/dist/js/components/slideshow-parallax.min.js +1 -1
  37. package/dist/js/components/slideshow.js +265 -271
  38. package/dist/js/components/slideshow.min.js +1 -1
  39. package/dist/js/components/sortable.js +2 -2
  40. package/dist/js/components/sortable.min.js +1 -1
  41. package/dist/js/components/tooltip.js +95 -95
  42. package/dist/js/components/tooltip.min.js +1 -1
  43. package/dist/js/components/upload.js +2 -2
  44. package/dist/js/components/upload.min.js +1 -1
  45. package/dist/js/uikit-core.js +453 -450
  46. package/dist/js/uikit-core.min.js +1 -1
  47. package/dist/js/uikit-icons.js +1 -1
  48. package/dist/js/uikit-icons.min.js +1 -1
  49. package/dist/js/uikit.js +6834 -6837
  50. package/dist/js/uikit.min.js +1 -1
  51. package/package.json +8 -7
  52. package/src/js/api/app.js +1 -1
  53. package/src/js/api/boot.js +2 -2
  54. package/src/js/api/component.js +1 -1
  55. package/src/js/api/computed.js +2 -2
  56. package/src/js/api/events.js +2 -2
  57. package/src/js/api/global.js +3 -3
  58. package/src/js/api/hooks.js +4 -4
  59. package/src/js/api/instance.js +3 -3
  60. package/src/js/api/log.js +1 -1
  61. package/src/js/api/observables.js +1 -1
  62. package/src/js/api/observer.js +2 -2
  63. package/src/js/api/options.js +2 -2
  64. package/src/js/api/props.js +2 -2
  65. package/src/js/api/state.js +2 -2
  66. package/src/js/components/countdown.js +1 -1
  67. package/src/js/components/filter.js +5 -5
  68. package/src/js/components/internal/lightbox-animations.js +1 -1
  69. package/src/js/components/internal/slider-transitioner.js +6 -6
  70. package/src/js/components/internal/slideshow-animations.js +1 -1
  71. package/src/js/components/lightbox-panel.js +10 -10
  72. package/src/js/components/lightbox.js +2 -2
  73. package/src/js/components/notification.js +4 -4
  74. package/src/js/components/parallax.js +3 -3
  75. package/src/js/components/slider-parallax.js +1 -1
  76. package/src/js/components/slider.js +12 -12
  77. package/src/js/components/slideshow.js +3 -3
  78. package/src/js/components/sortable.js +4 -4
  79. package/src/js/components/tooltip.js +6 -6
  80. package/src/js/components/upload.js +4 -4
  81. package/src/js/core/accordion.js +8 -8
  82. package/src/js/core/alert.js +2 -2
  83. package/src/js/core/cover.js +1 -1
  84. package/src/js/core/drop.js +12 -12
  85. package/src/js/core/dropnav.js +7 -7
  86. package/src/js/core/form-custom.js +1 -1
  87. package/src/js/core/grid.js +9 -9
  88. package/src/js/core/height-match.js +2 -2
  89. package/src/js/core/height-viewport.js +1 -1
  90. package/src/js/core/icon.js +23 -23
  91. package/src/js/core/img.js +2 -2
  92. package/src/js/core/index.js +16 -14
  93. package/src/js/core/leader.js +2 -2
  94. package/src/js/core/modal.js +7 -7
  95. package/src/js/core/navbar.js +4 -4
  96. package/src/js/core/offcanvas.js +3 -3
  97. package/src/js/core/overflow-auto.js +3 -3
  98. package/src/js/core/responsive.js +3 -3
  99. package/src/js/core/scrollspy-nav.js +1 -1
  100. package/src/js/core/scrollspy.js +1 -1
  101. package/src/js/core/sticky.js +11 -11
  102. package/src/js/core/svg.js +4 -4
  103. package/src/js/core/switcher.js +7 -7
  104. package/src/js/core/tab.js +2 -2
  105. package/src/js/core/toggle.js +5 -5
  106. package/src/js/core/video.js +1 -1
  107. package/src/js/mixin/animate.js +1 -1
  108. package/src/js/mixin/i18n.js +1 -1
  109. package/src/js/mixin/internal/animate-fade.js +14 -14
  110. package/src/js/mixin/internal/animate-slide.js +1 -1
  111. package/src/js/mixin/internal/scroll.js +1 -1
  112. package/src/js/mixin/modal.js +15 -12
  113. package/src/js/mixin/parallax.js +2 -2
  114. package/src/js/mixin/position.js +2 -2
  115. package/src/js/mixin/slider-drag.js +1 -1
  116. package/src/js/mixin/slider-nav.js +8 -14
  117. package/src/js/mixin/slider.js +9 -9
  118. package/src/js/mixin/slideshow.js +1 -1
  119. package/src/js/mixin/togglable.js +4 -4
  120. package/src/js/uikit-core.js +2 -2
  121. package/src/js/uikit.js +2 -2
  122. package/src/js/util/animation.js +8 -8
  123. package/src/js/util/class.js +1 -1
  124. package/src/js/util/dimensions.js +5 -5
  125. package/src/js/util/dom.js +3 -3
  126. package/src/js/util/event.js +3 -3
  127. package/src/js/util/filter.js +1 -1
  128. package/src/js/util/lang.js +4 -4
  129. package/src/js/util/observer.js +2 -2
  130. package/src/js/util/player.js +1 -1
  131. package/src/js/util/position.js +5 -5
  132. package/src/js/util/selector.js +1 -1
  133. package/src/js/util/style.js +1 -1
  134. package/src/js/util/svg.js +2 -2
  135. package/src/js/util/viewport.js +6 -6
  136. package/src/less/components/slider.less +8 -2
  137. package/src/scss/components/inverse.scss +0 -1
  138. package/src/scss/components/slider.scss +8 -2
  139. package/src/scss/mixins-theme.scss +560 -552
  140. package/src/scss/mixins.scss +456 -448
  141. package/src/scss/variables-theme.scss +2 -2
  142. package/src/scss/variables.scss +2 -2
  143. package/tests/js/index.js +7 -7
  144. package/build/scss/inverse.scss +0 -30
package/.eslintrc.json CHANGED
@@ -14,14 +14,5 @@
14
14
  "LOG": true,
15
15
  "ICONS": true,
16
16
  "NAME": true
17
- },
18
- "rules": {
19
- "sort-imports": [
20
- "error",
21
- {
22
- "ignoreCase": true,
23
- "ignoreDeclarationSort": true
24
- }
25
- ]
26
17
  }
27
18
  }
package/.prettierrc.json CHANGED
@@ -2,12 +2,11 @@
2
2
  "tabWidth": 4,
3
3
  "printWidth": 100,
4
4
  "singleQuote": true,
5
+ "plugins": ["prettier-plugin-organize-imports"],
5
6
  "overrides": [
6
7
  {
7
- "files": ["**/*.yml"],
8
- "options": {
9
- "tabWidth": 2
10
- }
8
+ "files": "*.yml",
9
+ "options": { "tabWidth": 2 }
11
10
  }
12
11
  ]
13
12
  }
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## WIP
4
+
5
+ ### Added
6
+
7
+ - Add `-source` argument to `prefix` command
8
+
3
9
  ## 3.16.24 (August 1, 2023)
4
10
 
5
11
  ### Fixed
package/build/build.js CHANGED
@@ -1,7 +1,7 @@
1
- import path from 'path';
1
+ import camelize from 'camelcase';
2
2
  import { glob } from 'glob';
3
3
  import pLimit from 'p-limit';
4
- import camelize from 'camelcase';
4
+ import path from 'path';
5
5
  import { args, compile, icons } from './util.js';
6
6
 
7
7
  const limit = pLimit(Number(process.env.cpus || 2));
package/build/less.js CHANGED
@@ -1,5 +1,5 @@
1
- import path from 'path';
2
1
  import { glob } from 'glob';
2
+ import path from 'path';
3
3
  import rtlcss from 'rtlcss';
4
4
  import { args, banner, minify, pathExists, read, readJson, renderLess, write } from './util.js';
5
5
 
@@ -82,7 +82,7 @@ async function compile(file, dist, develop, rtl) {
82
82
  root.prepend(postcss.comment({ text: 'rtl:begin:rename' }));
83
83
  root.append(postcss.comment({ text: 'rtl:end:rename' }));
84
84
  },
85
- }
85
+ },
86
86
  );
87
87
  }
88
88
 
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,8 +28,8 @@ 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
- new RegExp(`(${validClassName.source})(-[a-z]+)?-grid`)
31
+ return (await read(`${path}/css/uikit.css`)).match(
32
+ new RegExp(`(${validClassName.source})(-[a-z]+)?-grid`),
32
33
  )?.[1];
33
34
  }
34
35
 
@@ -58,17 +59,17 @@ 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
- data.replace(new RegExp(`${from}-${/([a-z\d-]+)/.source}`, 'g'), `${to}-$1`)
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}-`)
71
- .replace(new RegExp(`(${from})?UIkit`, 'g'), `${to === 'uk' ? '' : to}UIkit`)
72
+ .replace(new RegExp(`(${from})?UIkit`, 'g'), `${to === 'uk' ? '' : to}UIkit`),
72
73
  );
73
74
  }
74
75
  }
package/build/release.js CHANGED
@@ -1,10 +1,10 @@
1
- import fs from 'fs';
1
+ import archiver from 'archiver';
2
+ import dateFormat from 'dateformat/lib/dateformat.js';
2
3
  import { $ } from 'execa';
4
+ import fs from 'fs';
3
5
  import { glob } from 'glob';
4
- import semver from 'semver';
5
- import archiver from 'archiver';
6
6
  import inquirer from 'inquirer';
7
- import dateFormat from 'dateformat/lib/dateformat.js';
7
+ import semver from 'semver';
8
8
  import { args, getVersion, logFile, read, replaceInFile } from './util.js';
9
9
 
10
10
  const $$ = $({ stdio: 'inherit' });
@@ -55,11 +55,11 @@ function raiseVersion(version) {
55
55
  replaceInFile('CHANGELOG.md', (data) =>
56
56
  data.replace(
57
57
  /^##\s*WIP/m,
58
- `## ${versionFormat(version)} (${dateFormat(Date.now(), 'mmmm d, yyyy')})`
59
- )
58
+ `## ${versionFormat(version)} (${dateFormat(Date.now(), 'mmmm d, yyyy')})`,
59
+ ),
60
60
  ),
61
61
  replaceInFile('.github/ISSUE_TEMPLATE/bug-report.md', (data) =>
62
- data.replace(prevVersion, version)
62
+ data.replace(prevVersion, version),
63
63
  ),
64
64
  ]);
65
65
  }
package/build/scope.js CHANGED
@@ -67,9 +67,9 @@ async function scope(files, scope) {
67
67
  output.replace(
68
68
  new RegExp(
69
69
  `.${scope}\\s((\\.(uk-(drag|modal-page|offcanvas-page|offcanvas-flip)))|html|:root)`,
70
- 'g'
70
+ 'g',
71
71
  ),
72
- '$1'
72
+ '$1',
73
73
  ) // unescape
74
74
  }`;
75
75
  });
@@ -88,7 +88,7 @@ async function cleanup(files, scope) {
88
88
  (data) =>
89
89
  data
90
90
  .replace(currentScopeRe, '') // remove scope comment
91
- .replace(new RegExp(` *${string} ({[\\s\\S]*?})?`, 'g'), '') // replace classes
91
+ .replace(new RegExp(` *${string} ({[\\s\\S]*?})?`, 'g'), ''), // replace classes
92
92
  );
93
93
  }
94
94
  }
package/build/scss.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { glob } from 'glob';
2
2
  import NP from 'number-precision';
3
- import { read, write } from './util.js';
4
3
  import path from 'path';
4
+ import { read, write } from './util.js';
5
5
 
6
6
  NP.enableBoundaryChecking(false);
7
7
 
@@ -9,9 +9,12 @@ const coreMixins = {};
9
9
  const themeMixins = {};
10
10
  const coreVariables = {};
11
11
  const themeVariables = {};
12
+ const inverseComponentMixins = [];
12
13
 
13
14
  /* First Step: Go through all files */
14
- for (const file of (await glob('src/less/**/*.less')).sort()) {
15
+ for (const file of (await glob('src/less/**/*.less'))
16
+ .sort()
17
+ .sort((a, b) => a.endsWith('/inverse.less') - b.endsWith('/inverse.less'))) {
15
18
  let source = await read(file);
16
19
 
17
20
  /* replace all Less stuff with SCSS */
@@ -21,9 +24,9 @@ for (const file of (await glob('src/less/**/*.less')).sort()) {
21
24
  .replace(/@/g, '$') // convert variables
22
25
  .replace(
23
26
  /(:[^'"]*?\([^'"]+?)\s*\/\s*([0-9.-]+)\)/g,
24
- (exp, m1, m2) => `${m1} * ${NP.round(1 / parseFloat(m2), 5)})`
27
+ (exp, m1, m2) => `${m1} * ${NP.round(1 / parseFloat(m2), 5)})`,
25
28
  )
26
- .replace(/--uk-[^\s]+: (\$[^\s]+);/g, (exp, name) => exp.replace(name, `#{${name}}`))
29
+ .replace(/--uk-\S+: (\$\S+);/g, (exp, name) => exp.replace(name, `#{${name}}`))
27
30
  .replace(/\\\$/g, '\\@') // revert classes using the @ symbol
28
31
  .replace(/ e\(/g, ' unquote(') // convert escape function
29
32
  .replace(/\.([\w-]*)\s*\((.*)\)\s*{/g, '@mixin $1($2){') // hook -> mixins
@@ -40,20 +43,20 @@ for (const file of (await glob('src/less/**/*.less')).sort()) {
40
43
  }) // replace Less function fadeout with fade-out
41
44
  .replace(/\.svg-fill/g, '@include svg-fill') // include svg-fill mixin
42
45
  .replace(
43
- /(.*):extend\((\.[\w\\@-]*) all\) when \((\$[\w-]*) = ([\w]+)\) {}/g,
44
- '@if ( $3 == $4 ) { $1 { @extend $2 !optional;} }'
46
+ /(.*):extend\((\.[\w\\@-]*) all\) when \((\$[\w-]*) = (\w+)\) {}/g,
47
+ '@if ( $3 == $4 ) { $1 { @extend $2 !optional;} }',
45
48
  ) // update conditional extend and add !optional to ignore warnings
46
49
  .replace(
47
50
  /(\.[\w\\@-]+)\s*when\s*\((\$[\w-]*)\s*=\s*(\w+)\)\s*{\s*@if\(mixin-exists\(([\w-]*)\)\) {@include\s([\w-]*)\(\);\s*}\s*}/g,
48
- '@if ($2 == $3) { $1 { @if (mixin-exists($4)) {@include $4();}}}'
51
+ '@if ($2 == $3) { $1 { @if (mixin-exists($4)) {@include $4();}}}',
49
52
  ) // update conditional hook
50
53
  .replace(
51
54
  /([.:][\w\\@-]+(?: ?[.:][\w\\@-]+)*)\s*when\s*\(([$@][\w-]*)\s*=\s*([$@]?[\w-]+)\)\s*({\s*.*?\s*})/gms,
52
- '@if ($2 == $3) {\n$1 $4\n}'
55
+ '@if ($2 == $3) {\n$1 $4\n}',
53
56
  )
54
57
  .replace(
55
58
  /([.:][\w\\@-]+(?: ?[.:][\w\\@-]+)*)\s*when\s+not\s*\(([$@][\w-]*)\s*=\s*([$@]?[\w-]+)\)\s*({\s*.*?\s*})/gs,
56
- '@if ($2 != $3) {\n$1 $4\n}'
59
+ '@if ($2 != $3) {\n$1 $4\n}',
57
60
  ) // replace conditionals
58
61
  .replace(/\${/g, '#{$') // string literals: from: /~"(.*)"/g, to: '#{"$1"}'
59
62
  .replace(/[^(](-\$[\w-]*)/g, ' ($1)') // surround negative variables with brackets
@@ -63,10 +66,17 @@ for (const file of (await glob('src/less/**/*.less')).sort()) {
63
66
  /* File name of the current file */
64
67
  const filename = path.basename(file, '.less');
65
68
 
66
- source =
67
- filename === 'inverse'
68
- ? source.replace(/\*\//, `*/\n${await read('build/scss/inverse.scss')}`)
69
- : source.replace(/hook-inverse(?!-)/g, `hook-inverse-component-${filename}`);
69
+ if (filename === 'inverse') {
70
+ source = source.replace(
71
+ /\*\//,
72
+ `*/\n@mixin hook-inverse() {\n${inverseComponentMixins
73
+ .map((mixin) => ` @include ${mixin}();\n`)
74
+ .join('')}}`,
75
+ );
76
+ } else if (source.match(/hook-inverse(?!-)/)) {
77
+ source = source.replace(/hook-inverse(?!-)/, `hook-inverse-component-${filename}`);
78
+ inverseComponentMixins.push(`hook-inverse-component-${filename}`);
79
+ }
70
80
 
71
81
  /* get all the mixins and remove them from the file */
72
82
  source = getMixinsFromFile(file, source);
@@ -80,7 +90,7 @@ for (const file of (await glob('src/less/**/*.less')).sort()) {
80
90
  /* add uikit-mixins and uikit-variables include to the uikit.scss file and change order, to load theme files first */
81
91
  source = source.replace(
82
92
  /\/\/ Core\n\/\//g,
83
- '// Theme\n//\n\n@import "theme/_import.scss";'
93
+ '// Theme\n//\n\n@import "theme/_import.scss";',
84
94
  );
85
95
  }
86
96
 
@@ -110,7 +120,7 @@ for (const [vars, file] of [
110
120
  ]) {
111
121
  const variables = Object.keys(vars).reduce(
112
122
  (dependencies, key) => resolveDependencies(vars, key, dependencies),
113
- new Set()
123
+ new Set(),
114
124
  );
115
125
  await write(`src/scss/${file}.scss`, Array.from(variables).join('\n'));
116
126
  }
@@ -147,7 +157,7 @@ function getMixinsFromFile(file, source) {
147
157
 
148
158
  /* Step 2: get all mixins */
149
159
  for (const [match, mixin] of source.matchAll(
150
- /@mixin ([\w-]*)\s*\(.*\)\s*{(\n\s+[\w\W]+?(?=\n})\n| [^\n]+)}/g
160
+ /@mixin ([\w-]*)\s*\(.*\)\s*{(\n\s+[\w\W]+?(?=\n})\n| [^\n]+)}/g,
151
161
  )) {
152
162
  themeMixins[mixin] = match;
153
163
  if (!file.includes('theme/')) {
package/build/util.js CHANGED
@@ -1,16 +1,16 @@
1
- import less from 'less';
2
- import path from 'path';
3
- import svgo from 'svgo';
1
+ import alias from '@rollup/plugin-alias';
2
+ import replace from '@rollup/plugin-replace';
3
+ import CleanCSS from 'clean-css';
4
4
  import fs from 'fs-extra';
5
- import pLimit from 'p-limit';
6
5
  import { glob } from 'glob';
6
+ import less from 'less';
7
7
  import minimist from 'minimist';
8
- import CleanCSS from 'clean-css';
9
- import alias from '@rollup/plugin-alias';
10
- import modify from 'rollup-plugin-modify';
11
- import replace from '@rollup/plugin-replace';
8
+ import pLimit from 'p-limit';
9
+ import path from 'path';
12
10
  import { rollup, watch as rollupWatch } from 'rollup';
13
11
  import { default as esbuild, minify as esbuildMinify } from 'rollup-plugin-esbuild';
12
+ import modify from 'rollup-plugin-modify';
13
+ import svgo from 'svgo';
14
14
 
15
15
  const limit = pLimit(Number(process.env.cpus || 2));
16
16
 
@@ -57,7 +57,7 @@ export async function minify(file) {
57
57
  keepSpecialComments: 0,
58
58
  rebase: false,
59
59
  returnPromise: true,
60
- }).minify([file])
60
+ }).minify([file]),
61
61
  );
62
62
 
63
63
  await write(`${path.join(path.dirname(file), path.basename(file, '.css'))}.min.css`, styles);
@@ -178,7 +178,7 @@ export async function compile(file, dest, { external, globals, name, aliases, re
178
178
  export async function icons(src) {
179
179
  const files = await glob(src);
180
180
  const icons = await Promise.all(
181
- files.map((file) => limit(async () => optimizeSvg(await read(file))))
181
+ files.map((file) => limit(async () => optimizeSvg(await read(file)))),
182
182
  );
183
183
 
184
184
  return JSON.stringify(
@@ -187,7 +187,7 @@ export async function icons(src) {
187
187
  return result;
188
188
  }, {}),
189
189
  null,
190
- ' '
190
+ ' ',
191
191
  );
192
192
  }
193
193
 
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.16.24 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */
1
+ /*! UIkit 3.16.25-dev.9ac53a026 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */
2
2
  /* ========================================================================
3
3
  Component: Base
4
4
  ========================================================================== */
@@ -3608,10 +3608,14 @@ select.uk-form-width-xsmall {
3608
3608
  /* Container
3609
3609
  ========================================================================== */
3610
3610
  /*
3611
- * Clip child elements
3611
+ * 1. Clip child elements
3612
+ * 2. Prevent accidental scrolling through elements in slide getting focused
3612
3613
  */
3613
3614
  .uk-slider-container {
3615
+ /* 1 */
3614
3616
  overflow: hidden;
3617
+ /* 2 */
3618
+ overflow: clip;
3615
3619
  }
3616
3620
  /*
3617
3621
  * Widen container to prevent box-shadows from clipping, `large-box-shadow`