diff --git a/cspell.json b/cspell.json index fd909b93..2de54345 100644 --- a/cspell.json +++ b/cspell.json @@ -27,6 +27,7 @@ "Consolas", "contenteditable", "copydir", + "Cotte", "coverpage", "crossorigin", "crutchcorn", @@ -71,10 +72,12 @@ "jsonata", "keydown", "keyframes", + "Kool", "labelledby", "Laravel", "LaViska", "listbox", + "listitem", "litelement", "lowercasing", "Lucide", @@ -107,9 +110,13 @@ "rgba", "roadmap", "Roboto", + "roledescription", + "Sapan", "saturationl", "Schilp", "scrollbars", + "scrollend", + "scroller", "Segoe", "semibold", "slotchange", diff --git a/docs/assets/examples/carousel/sapan-patel-i9Q9bc-WgfE-unsplash.jpg b/docs/assets/examples/carousel/field.jpg similarity index 100% rename from docs/assets/examples/carousel/sapan-patel-i9Q9bc-WgfE-unsplash.jpg rename to docs/assets/examples/carousel/field.jpg diff --git a/docs/assets/examples/carousel/adam-kool-ndN00KmbJ1c-unsplash.jpg b/docs/assets/examples/carousel/mountains.jpg similarity index 100% rename from docs/assets/examples/carousel/adam-kool-ndN00KmbJ1c-unsplash.jpg rename to docs/assets/examples/carousel/mountains.jpg diff --git a/docs/assets/examples/carousel/leonard-cotte-c1Jp-fo53U8-unsplash.jpg b/docs/assets/examples/carousel/sunset.jpg similarity index 100% rename from docs/assets/examples/carousel/leonard-cotte-c1Jp-fo53U8-unsplash.jpg rename to docs/assets/examples/carousel/sunset.jpg diff --git a/docs/assets/examples/carousel/v2osk-1Z2niiBPg5A-unsplash.jpg b/docs/assets/examples/carousel/valley.jpg similarity index 100% rename from docs/assets/examples/carousel/v2osk-1Z2niiBPg5A-unsplash.jpg rename to docs/assets/examples/carousel/valley.jpg diff --git a/docs/assets/examples/carousel/thomas-kelley-JoH60FhTp50-unsplash.jpg b/docs/assets/examples/carousel/waterfall.jpg similarity index 100% rename from docs/assets/examples/carousel/thomas-kelley-JoH60FhTp50-unsplash.jpg rename to docs/assets/examples/carousel/waterfall.jpg diff --git a/docs/components/carousel.md b/docs/components/carousel.md index 24041d1f..41c0a69b 100644 --- a/docs/components/carousel.md +++ b/docs/components/carousel.md @@ -9,31 +9,31 @@ Carousels consist of optional navigation arrows to go backwards and forwards, as The sun shines on the mountains and trees - Photo by Adam Kool on Unsplash A waterfall in the middle of a forest - Photo by Thomas Kelly on Unsplash The sun is setting over a lavender field - Photo by Leonard Cotte on Unsplash A field of grass with the sun setting in the background - Photo by Sapan Patel on Unsplash A scenic view of a mountain with clouds rolling in - Photo by V2osk on Unsplash @@ -149,31 +149,31 @@ const App = () => { The sun shines on the mountains and trees - Photo by Adam Kool on Unsplash A waterfall in the middle of a forest - Photo by Thomas Kelly on Unsplash The sun is setting over a lavender field - Photo by Leonard Cotte on Unsplash A field of grass with the sun setting in the background - Photo by Sapan Patel on Unsplash A scenic view of a mountain with clouds rolling in - Photo by V2osk on Unsplash @@ -411,31 +411,31 @@ it's important to specify a predefined height to the carousel through CSS. The sun shines on the mountains and trees - Photo by Adam Kool on Unsplash A waterfall in the middle of a forest - Photo by Thomas Kelly on Unsplash The sun is setting over a lavender field - Photo by Leonard Cotte on Unsplash A field of grass with the sun setting in the background - Photo by Sapan Patel on Unsplash A scenic view of a mountain with clouds rolling in - Photo by V2osk on Unsplash @@ -487,31 +487,31 @@ const App = () => ( The sun shines on the mountains and trees - Photo by Adam Kool on Unsplash A waterfall in the middle of a forest - Photo by Thomas Kelly on Unsplash The sun is setting over a lavender field - Photo by Leonard Cotte on Unsplash A field of grass with the sun setting in the background - Photo by Sapan Patel on Unsplash A scenic view of a mountain with clouds rolling in - Photo by V2osk on Unsplash @@ -529,31 +529,31 @@ Use the `--aspect-ratio` custom property to customize the size of viewport in or The sun shines on the mountains and trees - Photo by Adam Kool on Unsplash A waterfall in the middle of a forest - Photo by Thomas Kelly on Unsplash The sun is setting over a lavender field - Photo by Leonard Cotte on Unsplash A field of grass with the sun setting in the background - Photo by Sapan Patel on Unsplash A scenic view of a mountain with clouds rolling in - Photo by V2osk on Unsplash @@ -590,31 +590,31 @@ const App = () => { The sun shines on the mountains and trees - Photo by Adam Kool on Unsplash A waterfall in the middle of a forest - Photo by Thomas Kelly on Unsplash The sun is setting over a lavender field - Photo by Leonard Cotte on Unsplash A field of grass with the sun setting in the background - Photo by Sapan Patel on Unsplash A scenic view of a mountain with clouds rolling in - Photo by V2osk on Unsplash @@ -649,31 +649,31 @@ be scrolled. The sun shines on the mountains and trees - Photo by Adam Kool on Unsplash A waterfall in the middle of a forest - Photo by Thomas Kelly on Unsplash The sun is setting over a lavender field - Photo by Leonard Cotte on Unsplash A field of grass with the sun setting in the background - Photo by Sapan Patel on Unsplash A scenic view of a mountain with clouds rolling in - Photo by V2osk on Unsplash @@ -711,31 +711,31 @@ const App = () => { The sun shines on the mountains and trees - Photo by Adam Kool on Unsplash A waterfall in the middle of a forest - Photo by Thomas Kelly on Unsplash The sun is setting over a lavender field - Photo by Leonard Cotte on Unsplash A field of grass with the sun setting in the background - Photo by Sapan Patel on Unsplash A scenic view of a mountain with clouds rolling in - Photo by V2osk on Unsplash @@ -757,38 +757,38 @@ const App = () => { ### Custom layout -The appereance of the carousel can be easly customized through its slots or `part` attributes. +The appearance of the carousel can be easily customized through its slots or `part` attributes. ```html preview The sun shines on the mountains and trees - Photo by Adam Kool on Unsplash A waterfall in the middle of a forest - Photo by Thomas Kelly on Unsplash The sun is setting over a lavender field - Photo by Leonard Cotte on Unsplash A field of grass with the sun setting in the background - Photo by Sapan Patel on Unsplash A scenic view of a mountain with clouds rolling in - Photo by V2osk on Unsplash @@ -894,31 +894,31 @@ const App = () => ( The sun shines on the mountains and trees - Photo by Adam Kool on Unsplash A waterfall in the middle of a forest - Photo by Thomas Kelly on Unsplash The sun is setting over a lavender field - Photo by Leonard Cotte on Unsplash A field of grass with the sun setting in the background - Photo by Sapan Patel on Unsplash A scenic view of a mountain with clouds rolling in - Photo by V2osk on Unsplash @@ -937,68 +937,48 @@ use `next()` or `previous()` to go respectively to the next or the previous slid When the active slide is changed, the `sl-slide-change` event is emitted providing the `index` of the slide. -Using the API is possible to extend the carousel, for exmaple by syncing the active slide with a set of thumbnails, like in the example below. +Using the API is possible to extend the carousel, for example by syncing the active slide with a set of thumbnails, like in the example below. ```html preview The sun shines on the mountains and trees - Photo by Adam Kool on Unsplash A waterfall in the middle of a forest - Photo by Thomas Kelly on Unsplash The sun is setting over a lavender field - Photo by Leonard Cotte on Unsplash A field of grass with the sun setting in the background - Photo by Sapan Patel on Unsplash A scenic view of a mountain with clouds rolling in - Photo by V2osk on Unsplash
- Thumbnail Photo by 1 - Thumbnail Photo by 2 - Thumbnail Photo by 3 - Thumbnail Photo by 4 - Thumbnail Photo by 5 + Thumbnail Photo by 1 + Thumbnail Photo by 2 + Thumbnail Photo by 3 + Thumbnail Photo by 4 + Thumbnail Photo by 5