uikit 3.16.23-dev.10b557297 → 3.16.23-dev.5bfbfe3a8
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 +1 -0
- package/dist/css/uikit-core-rtl.css +1 -1
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +1 -1
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +1 -1
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +1 -1
- 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 +1 -1
- package/dist/js/components/filter.min.js +1 -1
- package/dist/js/components/lightbox-panel.js +1 -1
- package/dist/js/components/lightbox-panel.min.js +1 -1
- package/dist/js/components/lightbox.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/js/components/slideshow.min.js +1 -1
- package/dist/js/components/sortable.js +1 -1
- package/dist/js/components/sortable.min.js +1 -1
- package/dist/js/components/tooltip.js +1 -1
- 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 +20 -14
- package/dist/js/uikit-core.min.js +1 -1
- package/dist/js/uikit-icons.js +1 -1
- package/dist/js/uikit-icons.min.js +1 -1
- package/dist/js/uikit.js +20 -14
- package/dist/js/uikit.min.js +1 -1
- package/package.json +1 -1
- package/src/js/core/dropnav.js +20 -12
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "uikit",
|
|
3
3
|
"title": "UIkit",
|
|
4
4
|
"description": "UIkit is a lightweight and modular front-end framework for developing fast and powerful web interfaces.",
|
|
5
|
-
"version": "3.16.23-dev.
|
|
5
|
+
"version": "3.16.23-dev.5bfbfe3a8",
|
|
6
6
|
"main": "dist/js/uikit.js",
|
|
7
7
|
"style": "dist/css/uikit.css",
|
|
8
8
|
"sideEffects": [
|
package/src/js/core/dropnav.js
CHANGED
|
@@ -112,21 +112,15 @@ export default {
|
|
|
112
112
|
);
|
|
113
113
|
},
|
|
114
114
|
|
|
115
|
-
dropdowns(
|
|
116
|
-
this
|
|
117
|
-
'drop',
|
|
118
|
-
dropdowns.filter((el) => !this.getDropdown(el)),
|
|
119
|
-
{
|
|
120
|
-
...this.$props,
|
|
121
|
-
flip: false,
|
|
122
|
-
shift: true,
|
|
123
|
-
pos: `bottom-${this.align}`,
|
|
124
|
-
boundary: this.boundary === true ? this.$el : this.boundary,
|
|
125
|
-
}
|
|
126
|
-
);
|
|
115
|
+
dropdowns() {
|
|
116
|
+
this.initializeDropdowns();
|
|
127
117
|
},
|
|
128
118
|
},
|
|
129
119
|
|
|
120
|
+
connected() {
|
|
121
|
+
this.initializeDropdowns();
|
|
122
|
+
},
|
|
123
|
+
|
|
130
124
|
disconnected() {
|
|
131
125
|
remove(this._dropbar);
|
|
132
126
|
delete this._dropbar;
|
|
@@ -394,6 +388,20 @@ export default {
|
|
|
394
388
|
isDropbarDrop(el) {
|
|
395
389
|
return this.getDropdown(el) && hasClass(el, this.clsDrop);
|
|
396
390
|
},
|
|
391
|
+
|
|
392
|
+
initializeDropdowns() {
|
|
393
|
+
this.$create(
|
|
394
|
+
'drop',
|
|
395
|
+
this.dropdowns.filter((el) => !this.getDropdown(el)),
|
|
396
|
+
{
|
|
397
|
+
...this.$props,
|
|
398
|
+
flip: false,
|
|
399
|
+
shift: true,
|
|
400
|
+
pos: `bottom-${this.align}`,
|
|
401
|
+
boundary: this.boundary === true ? this.$el : this.boundary,
|
|
402
|
+
},
|
|
403
|
+
);
|
|
404
|
+
},
|
|
397
405
|
},
|
|
398
406
|
};
|
|
399
407
|
|