hds-web 1.9.5 → 1.9.6
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/index.css +2 -2
- package/dist/index.es.css +2 -2
- package/dist/index.es.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/HDS/components/Carousels/homeCarousel.js +4 -3
package/package.json
CHANGED
@@ -312,7 +312,7 @@ export default function HomePageCarousePrimary(props) {
|
|
312
312
|
}
|
313
313
|
};
|
314
314
|
|
315
|
-
const arrowStyle = ' text-2xl z-10 bg-black h-10 ml-6 w-10 rounded-full bg-
|
315
|
+
const arrowStyle = ' text-2xl z-10 bg-black h-10 ml-6 w-10 rounded-full bg-neutral-0 hover:bg-neutral-0 flex items-center justify-center';
|
316
316
|
|
317
317
|
const toggleBoolean = () => {
|
318
318
|
setBoolean((prevBoolean) => !prevBoolean); // Toggle the boolean value
|
@@ -378,7 +378,7 @@ export default function HomePageCarousePrimary(props) {
|
|
378
378
|
|
379
379
|
</div>
|
380
380
|
</div>
|
381
|
-
<div className={`snap-x w-[
|
381
|
+
<div className={` snap-x w-screen tb-l:max-w-[980px] min-[1300px]:max-w-7xl h-[800px] items-center flex min-[1300px]:gap-[160px] select-none overflow-x-hidden scrollbar-hide`}
|
382
382
|
ref={carouselRef2}
|
383
383
|
|
384
384
|
>
|
@@ -400,7 +400,7 @@ export default function HomePageCarousePrimary(props) {
|
|
400
400
|
</div>
|
401
401
|
</div>
|
402
402
|
<div
|
403
|
-
className={`${isScrollActive ? '
|
403
|
+
className={`${isScrollActive ? ' ' : ''} transition-all duration-[1500ms] z-[1] snap-center tb-m:snap-start mx-5 `}
|
404
404
|
key={i + 'y'}
|
405
405
|
ref={refs2[i]}
|
406
406
|
>
|
@@ -434,3 +434,4 @@ export default function HomePageCarousePrimary(props) {
|
|
434
434
|
);
|
435
435
|
};
|
436
436
|
|
437
|
+
|