@rtstic.dev/pulse 0.0.19 → 0.0.21
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/global/faqs.js +1 -0
- package/dist/global/faqs.js.map +7 -0
- package/dist/global/styles.css +1 -1
- package/dist/global/styles.css.map +2 -2
- package/dist/home/hero-animation/scroll.js +1 -1
- package/dist/home/hero-animation/scroll.js.map +4 -4
- package/dist/home/horizontal-scroll.js.map +4 -4
- package/dist/slider/testimonial.js.map +2 -2
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/slider/testimonial.ts"],
|
|
4
|
-
"sourcesContent": ["export {};\n\ndeclare global {\n interface Window {\n Swiper: SwiperConstructor;\n }\n}\n\ntype SwiperConstructor = new (\n el: Element | string,\n options?: {\n slidesPerView?: number;\n freemode?: boolean;\n spaceBetween?: number;\n loop?: boolean;\n centeredSlides?: boolean;\n initialSlide?: number;\n navigation?: {\n nextEl?: Element | null;\n prevEl?: Element | null;\n };\n }\n) => unknown;\n\ndocument.addEventListener(\"DOMContentLoaded\", () => {\n const testimonialSliderEl =\n document.querySelector<HTMLElement>(\"[pulse-slider='testimonial-text']\");\n if (!testimonialSliderEl) return;\n\n const testimonialSliderNextEl =\n testimonialSliderEl.querySelector<HTMLElement>(\"[pulse-slider='arrow-next']\");\n const testimonialSliderPrevEl =\n testimonialSliderEl.querySelector<HTMLElement>(\"[pulse-slider='arrow-prev']\");\n\n new window.Swiper(testimonialSliderEl, {\n
|
|
5
|
-
"mappings": ";;;
|
|
4
|
+
"sourcesContent": ["export {};\n\ndeclare global {\n interface Window {\n Swiper: SwiperConstructor;\n }\n}\n\ntype SwiperConstructor = new (\n el: Element | string,\n options?: {\n slidesPerView?: number;\n freemode?: boolean;\n spaceBetween?: number;\n loop?: boolean;\n centeredSlides?: boolean;\n initialSlide?: number;\n navigation?: {\n nextEl?: Element | null;\n prevEl?: Element | null;\n };\n breakpoints?: {\n [width: number]: {\n slidesPerView?: number;\n spaceBetween?: number;\n };\n };\n }\n) => unknown;\n\ndocument.addEventListener(\"DOMContentLoaded\", () => {\n const testimonialSliderEl =\n document.querySelector<HTMLElement>(\"[pulse-slider='testimonial-text']\");\n if (!testimonialSliderEl) return;\n\n const testimonialSliderNextEl =\n testimonialSliderEl.querySelector<HTMLElement>(\"[pulse-slider='arrow-next']\");\n const testimonialSliderPrevEl =\n testimonialSliderEl.querySelector<HTMLElement>(\"[pulse-slider='arrow-prev']\");\n\n new window.Swiper(testimonialSliderEl, {\n loop: true,\n freemode: true,\n centeredSlides: true,\n initialSlide: 1,\n\n // mobile first\n slidesPerView: 1,\n spaceBetween: 16,\n\n breakpoints: {\n 768: {\n slidesPerView: 1.5,\n spaceBetween: 20,\n },\n },\n\n navigation: {\n nextEl: testimonialSliderNextEl,\n prevEl: testimonialSliderPrevEl,\n },\n });\n});\n"],
|
|
5
|
+
"mappings": ";;;AA8BA,WAAS,iBAAiB,oBAAoB,MAAM;AAClD,UAAM,sBACJ,SAAS,cAA2B,mCAAmC;AACzE,QAAI,CAAC,oBAAqB;AAE1B,UAAM,0BACJ,oBAAoB,cAA2B,6BAA6B;AAC9E,UAAM,0BACJ,oBAAoB,cAA2B,6BAA6B;AAE9E,QAAI,OAAO,OAAO,qBAAqB;AAAA,MACrC,MAAM;AAAA,MACN,UAAU;AAAA,MACV,gBAAgB;AAAA,MAChB,cAAc;AAAA;AAAA,MAGd,eAAe;AAAA,MACf,cAAc;AAAA,MAEd,aAAa;AAAA,QACX,KAAK;AAAA,UACH,eAAe;AAAA,UACf,cAAc;AAAA,QAChB;AAAA,MACF;AAAA,MAEA,YAAY;AAAA,QACV,QAAQ;AAAA,QACR,QAAQ;AAAA,MACV;AAAA,IACF,CAAC;AAAA,EACH,CAAC;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|