@juspay/svelte-ui-components 2.117.1 → 2.118.0
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.
|
@@ -173,7 +173,9 @@
|
|
|
173
173
|
class={activeSlideIndex == index ? 'active-dot' : 'dot'}
|
|
174
174
|
onclick={() => moveSlideToIndex(index)}
|
|
175
175
|
{onkeydown}
|
|
176
|
-
role="
|
|
176
|
+
role="button"
|
|
177
|
+
tabindex="0"
|
|
178
|
+
aria-label={`Go to slide ${index + 1}`}
|
|
177
179
|
data-pw={typeof dotTestId === 'string' ? `${dotTestId}-${index + 1}` : null}
|
|
178
180
|
testID={typeof dotTestId === 'string' ? `${dotTestId}-${index + 1}` : null}
|
|
179
181
|
></div>
|
|
@@ -216,7 +218,7 @@
|
|
|
216
218
|
width: var(--dot-width, 5px);
|
|
217
219
|
height: var(--dot-height, 5px);
|
|
218
220
|
border-radius: 50%;
|
|
219
|
-
background: #c4c4c4;
|
|
221
|
+
background: var(--carousel-dot-color, #c4c4c4);
|
|
220
222
|
cursor: pointer;
|
|
221
223
|
transition: 0.3s ease;
|
|
222
224
|
}
|
|
@@ -226,7 +228,7 @@
|
|
|
226
228
|
height: var(--dot-height, 5px);
|
|
227
229
|
border-radius: 50%;
|
|
228
230
|
cursor: pointer;
|
|
229
|
-
background: #000000;
|
|
231
|
+
background: var(--carousel-dot-active-color, #000000);
|
|
230
232
|
transition: 0.3s ease;
|
|
231
233
|
}
|
|
232
234
|
/*
|