Add yet-another-react-lightbox package and update .gitignore to exclude node_modules
This commit is contained in:
14
frontend/node_modules/swiper/shared/create-shadow.mjs
generated
vendored
14
frontend/node_modules/swiper/shared/create-shadow.mjs
generated
vendored
@@ -1,14 +0,0 @@
|
||||
import { g as getSlideTransformEl, c as createElement } from './utils.mjs';
|
||||
|
||||
function createShadow(suffix, slideEl, side) {
|
||||
const shadowClass = `swiper-slide-shadow${side ? `-${side}` : ''}${suffix ? ` swiper-slide-shadow-${suffix}` : ''}`;
|
||||
const shadowContainer = getSlideTransformEl(slideEl);
|
||||
let shadowEl = shadowContainer.querySelector(`.${shadowClass.split(' ').join('.')}`);
|
||||
if (!shadowEl) {
|
||||
shadowEl = createElement('div', shadowClass.split(' '));
|
||||
shadowContainer.append(shadowEl);
|
||||
}
|
||||
return shadowEl;
|
||||
}
|
||||
|
||||
export { createShadow as c };
|
||||
Reference in New Issue
Block a user