uikit 3.15.2-dev.c376993b7 → 3.15.3-dev.8c13c92d9
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.
- package/CHANGELOG.md +15 -1
- package/README.md +1 -1
- package/dist/css/uikit-core-rtl.css +2 -2
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +2 -2
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +2 -2
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +2 -2
- package/dist/css/uikit.min.css +1 -1
- package/dist/js/components/countdown.js +1 -1
- package/dist/js/components/countdown.min.js +1 -1
- package/dist/js/components/filter.js +102 -109
- package/dist/js/components/filter.min.js +1 -1
- package/dist/js/components/lightbox-panel.js +3 -5
- package/dist/js/components/lightbox-panel.min.js +1 -1
- package/dist/js/components/lightbox.js +3 -5
- package/dist/js/components/lightbox.min.js +1 -1
- package/dist/js/components/notification.js +1 -1
- package/dist/js/components/notification.min.js +1 -1
- package/dist/js/components/parallax.js +1 -1
- package/dist/js/components/parallax.min.js +1 -1
- package/dist/js/components/slider-parallax.js +1 -1
- package/dist/js/components/slider-parallax.min.js +1 -1
- package/dist/js/components/slider.js +5 -3
- package/dist/js/components/slider.min.js +1 -1
- package/dist/js/components/slideshow-parallax.js +1 -1
- package/dist/js/components/slideshow-parallax.min.js +1 -1
- package/dist/js/components/slideshow.js +5 -3
- package/dist/js/components/slideshow.min.js +1 -1
- package/dist/js/components/sortable.js +90 -96
- package/dist/js/components/sortable.min.js +1 -1
- package/dist/js/components/tooltip.js +1 -3
- package/dist/js/components/tooltip.min.js +1 -1
- package/dist/js/components/upload.js +1 -1
- package/dist/js/components/upload.min.js +1 -1
- package/dist/js/uikit-core.js +33 -25
- package/dist/js/uikit-core.min.js +2 -2
- package/dist/js/uikit-icons.js +1 -1
- package/dist/js/uikit-icons.min.js +1 -1
- package/dist/js/uikit.js +139 -136
- package/dist/js/uikit.min.js +2 -2
- package/package.json +7 -7
- package/src/js/api/boot.js +2 -2
- package/src/js/api/component.js +2 -2
- package/src/js/api/state.js +1 -1
- package/src/js/components/filter.js +12 -14
- package/src/js/core/accordion.js +1 -2
- package/src/js/core/cover.js +1 -1
- package/src/js/core/drop.js +16 -7
- package/src/js/core/scrollspy.js +0 -2
- package/src/js/mixin/internal/animate-fade.js +50 -51
- package/src/js/mixin/internal/animate-slide.js +52 -57
- package/src/js/mixin/slider-reactive.js +2 -0
- package/src/js/mixin/slider.js +2 -3
- package/src/js/mixin/togglable.js +0 -2
- package/src/js/util/observer.js +1 -2
- package/src/js/util/position.js +4 -1
- package/src/less/components/nav.less +1 -1
- package/src/less/components/navbar.less +2 -1
- package/src/scss/components/nav.scss +1 -1
- package/src/scss/components/navbar.scss +2 -1
- package/src/scss/variables-theme.scss +1 -0
- package/src/scss/variables.scss +1 -0
- package/tests/drop.html +36 -3
- package/tests/js/index.js +2 -2
|
@@ -809,6 +809,7 @@ $navbar-dropdown-grid-gutter-horizontal: $global-gutter !default;
|
|
|
809
809
|
$navbar-dropdown-grid-gutter-vertical: $navbar-dropdown-grid-gutter-horizontal !default;
|
|
810
810
|
$navbar-dropdown-large-shift-margin: 0 !default;
|
|
811
811
|
$navbar-dropdown-large-padding: 40px !default;
|
|
812
|
+
$navbar-dropdown-dropbar-margin: 0 !default;
|
|
812
813
|
$navbar-dropdown-dropbar-shift-margin: 0 !default;
|
|
813
814
|
$navbar-dropdown-dropbar-padding-top: $navbar-dropdown-padding !default;
|
|
814
815
|
$navbar-dropdown-dropbar-padding-bottom: $navbar-dropdown-dropbar-padding-top !default;
|
package/src/scss/variables.scss
CHANGED
|
@@ -807,6 +807,7 @@ $navbar-dropdown-grid-gutter-horizontal: $global-gutter !default;
|
|
|
807
807
|
$navbar-dropdown-grid-gutter-vertical: $navbar-dropdown-grid-gutter-horizontal !default;
|
|
808
808
|
$navbar-dropdown-large-shift-margin: 0 !default;
|
|
809
809
|
$navbar-dropdown-large-padding: 40px !default;
|
|
810
|
+
$navbar-dropdown-dropbar-margin: 0 !default;
|
|
810
811
|
$navbar-dropdown-dropbar-shift-margin: 0 !default;
|
|
811
812
|
$navbar-dropdown-dropbar-padding-top: $navbar-dropdown-padding !default;
|
|
812
813
|
$navbar-dropdown-dropbar-padding-bottom: $navbar-dropdown-dropbar-padding-top !default;
|
package/tests/drop.html
CHANGED
|
@@ -118,8 +118,15 @@
|
|
|
118
118
|
|
|
119
119
|
<div class="uk-margin uk-form-stacked">
|
|
120
120
|
<div class="uk-inline">
|
|
121
|
-
<label class="uk-form-label" for="js-boundary-switcher">Boundary</label>
|
|
122
|
-
<select id="js-boundary-switcher" class="uk-select uk-form-width-small">
|
|
121
|
+
<label class="uk-form-label" for="js-boundary-x-switcher">Boundary X</label>
|
|
122
|
+
<select id="js-boundary-x-switcher" class="uk-select uk-form-width-small">
|
|
123
|
+
<option value="false">Viewport</option>
|
|
124
|
+
<option value="!.test-boundary">Box</option>
|
|
125
|
+
</select>
|
|
126
|
+
</div>
|
|
127
|
+
<div class="uk-inline">
|
|
128
|
+
<label class="uk-form-label" for="js-boundary-y-switcher">Boundary Y</label>
|
|
129
|
+
<select id="js-boundary-y-switcher" class="uk-select uk-form-width-small">
|
|
123
130
|
<option value="false">Viewport</option>
|
|
124
131
|
<option value="!.test-boundary">Box</option>
|
|
125
132
|
</select>
|
|
@@ -156,6 +163,20 @@
|
|
|
156
163
|
<option value="y">Y</option>
|
|
157
164
|
</select>
|
|
158
165
|
</div>
|
|
166
|
+
<div class="uk-inline">
|
|
167
|
+
<label class="uk-form-label" for="js-flip-switcher">Flip</label>
|
|
168
|
+
<select id="js-flip-switcher" class="uk-select uk-form-width-xsmall">
|
|
169
|
+
<option value="false">False</option>
|
|
170
|
+
<option value="true" selected>True</option>
|
|
171
|
+
</select>
|
|
172
|
+
</div>
|
|
173
|
+
<div class="uk-inline">
|
|
174
|
+
<label class="uk-form-label" for="js-shift-switcher">Shift</label>
|
|
175
|
+
<select id="js-shift-switcher" class="uk-select uk-form-width-xsmall">
|
|
176
|
+
<option value="false">False</option>
|
|
177
|
+
<option value="true" selected>True</option>
|
|
178
|
+
</select>
|
|
179
|
+
</div>
|
|
159
180
|
<div class="uk-inline">
|
|
160
181
|
<label class="uk-form-label" for="js-animation-switcher">Animation</label>
|
|
161
182
|
<select id="js-animation-switcher" class="uk-select uk-form-width-small">
|
|
@@ -634,6 +655,18 @@
|
|
|
634
655
|
<td>false</td>
|
|
635
656
|
<td>The area the drop can't exceed causing it to flip and shift. By default, the nearest scrolling ancestor.</td>
|
|
636
657
|
</tr>
|
|
658
|
+
<tr>
|
|
659
|
+
<td><code>boundary-x</code></td>
|
|
660
|
+
<td>Boolean, CSS selector</td>
|
|
661
|
+
<td>false</td>
|
|
662
|
+
<td>The area on the x-axis the drop can't exceed causing it to flip and shift.</td>
|
|
663
|
+
</tr>
|
|
664
|
+
<tr>
|
|
665
|
+
<td><code>boundary-y</code></td>
|
|
666
|
+
<td>Boolean, CSS selector</td>
|
|
667
|
+
<td>false</td>
|
|
668
|
+
<td>The area on the y-axis the drop can't exceed causing it to flip and shift.</td>
|
|
669
|
+
</tr>
|
|
637
670
|
<tr>
|
|
638
671
|
<td><code>target</code></td>
|
|
639
672
|
<td>Boolean, CSS selector</td>
|
|
@@ -732,7 +765,7 @@
|
|
|
732
765
|
}
|
|
733
766
|
});
|
|
734
767
|
|
|
735
|
-
for (const option of ['boundary', 'target-x', 'target-y', 'inset', 'stretch', 'animation', 'animate-out', 'duration']) {
|
|
768
|
+
for (const option of ['boundary-x', 'boundary-y', 'target-x', 'target-y', 'inset', 'stretch', 'flip', 'shift', 'animation', 'animate-out', 'duration']) {
|
|
736
769
|
on(`#js-${option}-switcher`, 'change', (e) =>
|
|
737
770
|
attr($$('.js-options'), option, e.target.value)
|
|
738
771
|
);
|
package/tests/js/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* global TESTS */
|
|
2
|
-
import { addClass, css,
|
|
2
|
+
import { addClass, css, on, prepend, removeClass, ucfirst } from 'uikit-util';
|
|
3
3
|
|
|
4
4
|
const tests = TESTS;
|
|
5
5
|
const storage = window.sessionStorage;
|
|
@@ -59,7 +59,7 @@ document.writeln(
|
|
|
59
59
|
on(window, 'load', () =>
|
|
60
60
|
setTimeout(
|
|
61
61
|
() =>
|
|
62
|
-
|
|
62
|
+
requestAnimationFrame(() => {
|
|
63
63
|
const $body = document.body;
|
|
64
64
|
const $container = prepend(
|
|
65
65
|
$body,
|