Skip to content
Open
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packages/pluggableWidgets/carousel-web/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]

### Fixed

- Added focus indicator and background to navigation buttons of carousel, removed autoplay by default

## [2.3.0] - 2025-08-19

### Changed
Expand Down
2 changes: 1 addition & 1 deletion packages/pluggableWidgets/carousel-web/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@mendix/carousel-web",
"widgetName": "Carousel",
"version": "2.3.0",
"version": "2.3.1",
"description": "Displays images in a carousel",
"copyright": "© Mendix Technology BV 2025. All rights reserved.",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/pluggableWidgets/carousel-web/src/Carousel.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<caption>Navigation controls</caption>
<description />
</property>
<property key="autoplay" type="boolean" defaultValue="true">
<property key="autoplay" type="boolean" defaultValue="false">
<caption>Auto play</caption>
<description />
</property>
Expand Down
2 changes: 1 addition & 1 deletion packages/pluggableWidgets/carousel-web/src/package.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<package xmlns="http://www.mendix.com/package/1.0/">
<clientModule name="Carousel" version="2.3.0" xmlns="http://www.mendix.com/clientModule/1.0/">
<clientModule name="Carousel" version="2.3.1" xmlns="http://www.mendix.com/clientModule/1.0/">
<widgetFiles>
<widgetFile path="Carousel.xml" />
</widgetFiles>
Expand Down
14 changes: 14 additions & 0 deletions packages/pluggableWidgets/carousel-web/src/ui/Carousel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,20 @@
align-items: center;
}

.swiper-button-next,
.swiper-button-prev {
--swiper-navigation-size: 24px;
border-radius: 50%;
background-color: var(--gray-200);
padding: var(--spacing-large);
}

.swiper-button-next:focus,
.swiper-button-prev:focus {
outline: var(--focus-outline);
outline-offset: var(--focus-outline-offset);
Copy link
Collaborator

@gjulivan gjulivan Dec 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you have to had fallback value... sass variables still needs to be defined.
otherwise, this will not work in atlas 3 with sass variables.

}

.swiper-slide img {
display: block;
width: 100%;
Expand Down
Loading