@dac-software/base-ui-pl
Advanced tools
Comparing version 1.0.10-QP-216-article-widget-and-article-pages.1 to 1.0.10
@@ -90,22 +90,2 @@ import $ from 'jquery' | ||
$('.carousel-articles').slick({ | ||
prevArrow: prevArrow, | ||
nextArrow: nextArrow, | ||
slidesToShow: 3, | ||
slidesToScroll: 1, | ||
responsive: [ | ||
{ | ||
breakpoint: 991, | ||
settings: { | ||
slidesToShow: 2 | ||
} | ||
}, { | ||
breakpoint: 767, | ||
settings: { | ||
slidesToShow: 1 | ||
} | ||
} | ||
] | ||
}) | ||
$('.carousel-big').slick({ | ||
@@ -112,0 +92,0 @@ arrows: false, |
@@ -13,2 +13,13 @@ import $ from 'jquery' | ||
}) | ||
$("[data-smooth-scroll='true']").on('click', (event) => { | ||
const hash = event.currentTarget.hash | ||
if (hash) { | ||
event.preventDefault() | ||
const navbar = $('.navbar') | ||
const targetOffset = $(hash).offset().top - navbar.outerHeight() - 5 | ||
$('html,body').animate({ | ||
scrollTop: targetOffset | ||
}, targetOffset) | ||
} | ||
}) | ||
}) |
{ | ||
"name": "@dac-software/base-ui-pl", | ||
"version": "1.0.10-QP-216-article-widget-and-article-pages.1", | ||
"version": "1.0.10", | ||
"license": "UNLICENSED", | ||
@@ -5,0 +5,0 @@ "main": "dist/base-ui-main.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
4849881
139
2221