@everymatrix/casino-slider 0.0.244 → 0.0.248
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/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@everymatrix/casino-slider",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.248",
|
4
4
|
"main": "dist/casino-slider.js",
|
5
5
|
"svelte": "src/index.ts",
|
6
6
|
"scripts": {
|
@@ -36,5 +36,5 @@
|
|
36
36
|
"publishConfig": {
|
37
37
|
"access": "public"
|
38
38
|
},
|
39
|
-
"gitHead": "
|
39
|
+
"gitHead": "77f6efa473daab4dd62004b893c587558bf4511c"
|
40
40
|
}
|
package/src/CasinoSlider.svelte
CHANGED
@@ -136,18 +136,18 @@
|
|
136
136
|
$: lang && setActiveLanguage();
|
137
137
|
</script>
|
138
138
|
|
139
|
-
<div class="CarouselWrapper { (location === 'headerMain') ? 'CarouselWrapperHeaderMain' : '' }" bind:this={customStylingContainer}>
|
140
|
-
<div class="CarouselContainer {isMobile ? 'CarouselContainerMobile' : ''} { (location === 'headerMain') ? 'CarouselContainerHeaderMain' : '' }" style="{ (location === 'headerMain') ? 'max-width: auto' : `max-width: ${containermaxwidth}px` }">
|
141
|
-
<div class="CarouselLeftArrow" on:click="{() => scrollLeft()}">
|
139
|
+
<div class="CarouselWrapper { (location === 'headerMain') ? 'CarouselWrapperHeaderMain' : '' }" part="CarouselWrapper { (location === 'headerMain') ? 'CarouselWrapperHeaderMain' : '' }" bind:this={customStylingContainer}>
|
140
|
+
<div class="CarouselContainer {isMobile ? 'CarouselContainerMobile' : ''} { (location === 'headerMain') ? 'CarouselContainerHeaderMain' : '' }" part="CarouselContainer {isMobile ? 'CarouselContainerMobile' : ''} { (location === 'headerMain') ? 'CarouselContainerHeaderMain' : '' }" style="{ (location === 'headerMain') ? 'max-width: auto' : `max-width: ${containermaxwidth}px` }">
|
141
|
+
<div class="CarouselLeftArrow" part="CarouselLeftArrow" on:click="{() => scrollLeft()}">
|
142
142
|
<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
143
143
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path>
|
144
144
|
</svg>
|
145
145
|
</div>
|
146
146
|
|
147
|
-
<ul class="CarouselItems" bind:this={carousel}>
|
147
|
+
<ul class="CarouselItems" part="CarouselItems" bind:this={carousel}>
|
148
148
|
{#if sliderdata.length > 0}
|
149
149
|
{#each sliderdata as item, index (item.id)}
|
150
|
-
<li class="CarouselItem" class:active={activeIndex == index} on:click={e => handleClick(item, index)}>
|
150
|
+
<li class="CarouselItem" part="CarouselItem" class:active={activeIndex == index} on:click={e => handleClick(item, index)}>
|
151
151
|
{#if location === 'headerMain'}
|
152
152
|
<a>{item.label}</a>
|
153
153
|
{:else}
|
@@ -158,7 +158,7 @@
|
|
158
158
|
{/if}
|
159
159
|
</ul>
|
160
160
|
|
161
|
-
<div class="CarouselRightArrow" on:click="{() => scrollRight()}">
|
161
|
+
<div class="CarouselRightArrow" part="CarouselRightArrow" on:click="{() => scrollRight()}">
|
162
162
|
<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
163
163
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path>
|
164
164
|
</svg>
|