@finqu/cool 1.2.4 → 1.2.5
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/dist/css/cool-grid.css +2 -2
- package/dist/css/cool-grid.css.map +2 -2
- package/dist/css/cool-grid.min.css +1 -1
- package/dist/css/cool-grid.min.css.map +1 -1
- package/dist/css/cool-reboot.css +2 -2
- package/dist/css/cool-reboot.css.map +2 -2
- package/dist/css/cool-reboot.min.css +1 -1
- package/dist/css/cool-reboot.min.css.map +1 -1
- package/dist/css/cool.css +77 -45
- package/dist/css/cool.css.map +4 -4
- package/dist/css/cool.min.css +2 -2
- package/dist/css/cool.min.css.map +1 -1
- package/dist/js/cool.bundle.js +7 -8
- package/dist/js/cool.bundle.js.map +1 -1
- package/dist/js/cool.bundle.min.js +2 -2
- package/dist/js/cool.bundle.min.js.map +1 -1
- package/dist/js/cool.esm.js +7 -8
- package/dist/js/cool.esm.js.map +1 -1
- package/dist/js/cool.esm.min.js +2 -2
- package/dist/js/cool.esm.min.js.map +1 -1
- package/dist/js/cool.js +7 -8
- package/dist/js/cool.js.map +1 -1
- package/dist/js/cool.min.js +2 -2
- package/dist/js/cool.min.js.map +1 -1
- package/html/index.html +31 -0
- package/js/dist/collapse.js +1 -1
- package/js/dist/common.js +1 -1
- package/js/dist/dropdown.js +685 -698
- package/js/dist/dropdown.js.map +1 -1
- package/js/dist/popover.js +1 -1
- package/js/dist/sectiontabs.js +1 -1
- package/js/dist/select.js +1 -1
- package/js/dist/tooltip.js +1 -1
- package/js/src/dropdown.js +10 -7
- package/package.json +1 -1
- package/scss/_section.scss +32 -0
- package/scss/_variables.scss +1 -1
- package/scss/cool-grid.scss +1 -1
- package/scss/cool-reboot.scss +1 -1
- package/scss/cool.scss +1 -1
package/js/dist/popover.js
CHANGED
package/js/dist/sectiontabs.js
CHANGED
package/js/dist/select.js
CHANGED
package/js/dist/tooltip.js
CHANGED
package/js/src/dropdown.js
CHANGED
|
@@ -294,21 +294,24 @@ class Dropdown extends AbstractUIComponent {
|
|
|
294
294
|
dropdownPosY += parseInt(offsetY, 10);
|
|
295
295
|
}
|
|
296
296
|
|
|
297
|
-
if (this.positionObserver) {
|
|
297
|
+
if (this.positionObserver && this.$container.length > 0) {
|
|
298
298
|
|
|
299
299
|
// this is not set during init so we have to fetch it
|
|
300
300
|
// and let's assume that this containing parent fits and is inside
|
|
301
301
|
// viewport
|
|
302
|
-
let $containingParent =
|
|
302
|
+
let $containingParent = this.$container.parent();
|
|
303
303
|
|
|
304
|
-
|
|
305
|
-
$containingParent
|
|
304
|
+
while (
|
|
305
|
+
$containingParent.css('overflow-x') !== 'hidden' &&
|
|
306
|
+
$containingParent.css('overflow') !== 'hidden' &&
|
|
307
|
+
($containingParent.prop('tagName') || '').toLowerCase() !== 'body'
|
|
308
|
+
) {
|
|
309
|
+
$containingParent = $containingParent.parent();
|
|
306
310
|
|
|
307
311
|
if (!$containingParent) {
|
|
308
|
-
|
|
309
|
-
break;
|
|
312
|
+
return;
|
|
310
313
|
}
|
|
311
|
-
}
|
|
314
|
+
}
|
|
312
315
|
|
|
313
316
|
const containingBoundingRect = $containingParent.get(0).getBoundingClientRect();
|
|
314
317
|
const containerBoundingRect = this.$container.get(0).getBoundingClientRect();
|
package/package.json
CHANGED
package/scss/_section.scss
CHANGED
|
@@ -710,6 +710,38 @@
|
|
|
710
710
|
}
|
|
711
711
|
}
|
|
712
712
|
|
|
713
|
+
.collapsing {
|
|
714
|
+
left: auto;
|
|
715
|
+
right: auto;
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
.collapse,
|
|
719
|
+
.collapsing {
|
|
720
|
+
|
|
721
|
+
> .section-hr {
|
|
722
|
+
width: 100%;
|
|
723
|
+
padding-top: 0;
|
|
724
|
+
padding-bottom: $section-padding;
|
|
725
|
+
|
|
726
|
+
&:after {
|
|
727
|
+
margin-left: 0;
|
|
728
|
+
margin-right: 0;
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
&.content-full-width {
|
|
732
|
+
position: relative;
|
|
733
|
+
margin-left: 0;
|
|
734
|
+
margin-right: 0;
|
|
735
|
+
|
|
736
|
+
&:after {
|
|
737
|
+
position: absolute;
|
|
738
|
+
left: -$section-padding;
|
|
739
|
+
right: -$section-padding;
|
|
740
|
+
}
|
|
741
|
+
}
|
|
742
|
+
}
|
|
743
|
+
}
|
|
744
|
+
|
|
713
745
|
&:not(.show) {
|
|
714
746
|
margin-top: 0;
|
|
715
747
|
padding-top: 0;
|
package/scss/_variables.scss
CHANGED
|
@@ -629,7 +629,7 @@ $section-font-size: $font-size-base !default;
|
|
|
629
629
|
$section-border-radius: $border-radius !default;
|
|
630
630
|
$section-spacer: spacer(4) !default;
|
|
631
631
|
$section-spacer-mobile: spacer(2) !default;
|
|
632
|
-
$section-padding: spacer(
|
|
632
|
+
$section-padding: spacer(4) !default;
|
|
633
633
|
|
|
634
634
|
$section-bg: color('white') !default;
|
|
635
635
|
$section-color: $body-color !default;
|
package/scss/cool-grid.scss
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Cool UI - Grid v1.2.
|
|
2
|
+
* Cool UI - Grid v1.2.5 (https://finqu.fi)
|
|
3
3
|
* Copyright 2019 Finqu Oy.
|
|
4
4
|
* Licensed under the ISC license - (http://opensource.org/licenses/ISC)
|
|
5
5
|
* Forked from Bootstrap, licensed MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
package/scss/cool-reboot.scss
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Cool UI - Reboot v1.2.
|
|
2
|
+
* Cool UI - Reboot v1.2.5 (https://finqu.fi)
|
|
3
3
|
* Copyright 2019 Finqu Oy.
|
|
4
4
|
* Licensed under the ISC license - (http://opensource.org/licenses/ISC)
|
|
5
5
|
* Forked from Bootstrap, licensed MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
package/scss/cool.scss
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Cool UI v1.2.
|
|
2
|
+
* Cool UI v1.2.5 (https://finqu.fi)
|
|
3
3
|
* Copyright 2019 Finqu Oy.
|
|
4
4
|
* Licensed under the ISC license - (http://opensource.org/licenses/ISC)
|
|
5
5
|
* Forked from Bootstrap, licensed MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|