Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
9 changes: 9 additions & 0 deletions .changeset/visible-carousel-slides.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"fulldev-ui": minor
---

Restore the Embla-powered Carousel and shadcn-style composition, responsive slide widths and `opts` API. Use the vanilla `embla-carousel` 8.6.0 package without React. Other interactive components continue to use Data Slot directly.

This replaces the single-slide Carousel introduced in 0.13.0. Reinstall the registry component. Replace `defaultIndex`, `drag` and `loop` with `opts={{ startIndex, watchDrag, loop }}`; dragging is enabled by default. Restore `CarouselApi`, `CarouselOptions` and `CarouselPlugin` types and `carousel:init` / `carousel:select` events. Listen to their `detail.api` for programmatic navigation instead of `carousel:set`. `CarouselContent` classes apply to the inner track again; use matching negative track margins and slide padding for spacing.

Visible slide links stay interactive, and Embla handles focus scrolling, resizing and slide positions. Instances and event handlers are cleaned up before Astro page swaps. No observers override another library's accessibility state.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@
"@astrojs/sitemap": "^3.7.3",
"@data-slot/accordion": "^1.0.2",
"@data-slot/alert-dialog": "^1.0.2",
"@data-slot/carousel": "^1.0.2",
"@data-slot/collapsible": "^1.0.2",
"@data-slot/combobox": "^1.0.2",
"@data-slot/command": "^1.0.2",
Expand Down Expand Up @@ -114,7 +113,8 @@
"tailwind-merge": "^3.6.0",
"tailwindcss": "^4.3.2",
"tw-animate-css": "^1.4.0",
"typescript": "^6.0.3"
"typescript": "^6.0.3",
"embla-carousel": "8.6.0"
},
"devDependencies": {
"@argos-ci/playwright": "^7.6.0",
Expand Down
Loading
Loading