@aurodesignsystem-dev/auro-slideshow 0.0.0-pr79.1 → 0.0.0-pr80.1

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/demo/api.md CHANGED
@@ -3,53 +3,66 @@
3
3
 
4
4
  # auro-slideshow
5
5
 
6
- The `auro-slideshow` element is a customizable slideshow that displays a series of slides
7
- with several options such as autoplay, navigation controls, and pagination dots.
6
+ A slideshow for presenting a series of images or other content in a space-saving way, with manual controls or automatic advancing.
7
+
8
+ **Key capabilities**
9
+ - **Autoplay**: Set `autoplay` to move to the next slide after each `delay`.
10
+ - **Continuous scroll**: Set `autoScroll` to scroll the slides at a steady pace.
11
+ - **Navigation arrows**: Set `navigation` to show previous and next arrows when the slides are hovered.
12
+ - **Pagination dots**: Set `pagination` to show a dot for each slide.
13
+ - **Looping**: Set `loop` to return to the first slide after the last.
14
+ - **Full-bleed preview**: Set `fullBleed` to show parts of the previous and next slides.
15
+
16
+ **Example**
17
+ <pre class="language-html"><code class="language-html">&lt;auro-slideshow navigation pagination&gt;
18
+ &lt;div style="height: 480px"&gt;Slide 1&lt;/div&gt;
19
+ &lt;div style="height: 480px"&gt;Slide 2&lt;/div&gt;
20
+ &lt;/auro-slideshow&gt;</code></pre>
8
21
 
9
- ### Properties & Attributes
10
-
11
- | Properties | Attributes | Modifiers | Type | Default | Description |
12
- | ----------- | ----------- | --------- | ------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
13
- | autoplay | autoplay | | boolean | | If true, the slideshow will play automatically. |
14
- | autoScroll | autoscroll | | boolean | | If true, the slideshow will scroll continuously. |
15
- | delay | delay | | number | `7000` | Slide duration in milliseconds (Only used with `autoplay`). |
16
- | fullBleed | fullbleed | | boolean | | If set, the slideshow will take up the width of its parent container showing previous and next slides. **Note:** a parent container must have `overflow-x: hidden` to prevent horizontal scrolling. |
17
- | loop | loop | | boolean | | If true, the slideshow will loop back to the first slide after reaching the last slide. |
18
- | navigation | navigation | | boolean | | If true, the slideshow will display navigation arrows for previous and next slides when the slide container is hovered. |
19
- | pagination | pagination | | boolean | | If true, the slideshow will display pagination dots for each slide. If autoplay is on, the active dot will also show a progress bar. |
20
- | playOnInit | playoninit | | boolean | | If true, the slideshow will start playing automatically on page load when `autoplay` or `autoScroll` are on. |
21
- | scrollSpeed | scrollspeed | | number | `0.75` | Number of pixels auto scroll should advance per frame (Only used with `autoScroll`). |
22
- | startDelay | startdelay | | number | `1000` | Delay in milliseconds before the auto scroll starts (Only used with `autoScroll`). |
23
- | pauseLabel | pauselabel | | string | | Accessible label for the pause button. **Deprecated:** use `ariaLabel.slideshow.pause` instead. |
24
- | playLabel | playlabel | | string | | Accessible label for the play button. **Deprecated:** use `ariaLabel.slideshow.play` instead. |
22
+ ### Properties and attributes
23
+
24
+ | Properties | Attributes | Modifiers | Type | Default | Relevant when | Description |
25
+ | ----------- | ----------- | --------- | ------- | ----------------- | ------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
26
+ | autoplay | autoplay | | boolean | | | Adds a play and pause button and moves to the next slide after each `delay`. The slideshow starts playing on page load only when `playOnInit` is also set. |
27
+ | autoScroll | autoscroll | | boolean | | | Scrolls the slides at a steady pace instead of stopping on each slide, and adds a play and pause button. The slideshow starts scrolling on page load only when `playOnInit` is also set. Doesn't apply on touch devices (those with a coarse primary pointer), and `autoplay` takes priority when both are set. |
28
+ | delay | delay | | number | `7000` | `autoplay` | Sets how long each slide shows before the slideshow moves to the next one, in milliseconds. Applies only when `autoplay` is set. |
29
+ | fullBleed | fullbleed | | boolean | | | Stretches the slideshow to the full width of the browser window, so parts of the previous and next slides show beside the current slide. Each slide stays as wide as the slideshow's container. To prevent horizontal scrolling, set `overflow-x: hidden` on a parent container. |
30
+ | loop | loop | | boolean | | | Goes back to the first slide after the last slide instead of stopping at the end. When `loop` isn't set, `autoplay` and `autoScroll` stop on the last slide. |
31
+ | navigation | navigation | | boolean | | | Shows previous and next arrow buttons when the slides are hovered. When `loop` isn't set, the arrow for a direction is hidden at the first or last slide. The arrows don't appear on touch devices, where the primary pointer is coarse. |
32
+ | pagination | pagination | | boolean | | | Shows a dot for each slide, with a wider dot for the current slide. When `autoplay` is set, the current dot also shows a progress bar. |
33
+ | playOnInit | playoninit | | boolean | | | Starts playback when the slideshow loads. Applies only when `autoplay` or `autoScroll` is set. |
34
+ | scrollSpeed | scrollspeed | | number | `0.75` | `autoScroll` | Sets how fast the slides scroll, in pixels per frame. Use a higher number to scroll faster. Applies only when `autoScroll` is set. |
35
+ | startDelay | startdelay | | number | `1000` | `autoScroll` | Sets how long the slideshow waits before it starts or resumes scrolling, in milliseconds. Applies only when `autoScroll` is set. |
36
+ | pauseLabel | pauselabel | | string | `Pause slideshow` | | Deprecated: Use `ariaLabel.slideshow.pause` instead.<br>Sets the text screen readers announce for the pause button. Used only when the `ariaLabel.slideshow.pause` slot is empty. |
37
+ | playLabel | playlabel | | string | `Play slideshow` | | Deprecated: Use `ariaLabel.slideshow.play` instead.<br>Sets the text screen readers announce for the play button. Used only when the `ariaLabel.slideshow.play` slot is empty. |
25
38
 
26
39
  ### Methods
27
40
 
28
- | Name | Parameters | Return | Description |
29
- | ---------- | -------------------------------------------------------------------- | ------ | ---------------------------------------------- |
30
- | play | None | | Starts the slideshow playback. |
31
- | register | `name` (string) - The name of the element that you want to register. | | Registers the custom element with the browser. |
32
- | scrollNext | None | | Scrolls to the next slide. |
33
- | scrollPrev | None | | Scrolls to the previous slide. |
34
- | stop | None | | Stops the slideshow playback. |
41
+ | Name | Parameters | Return | Description |
42
+ | ---------- | -------------------------------------------------------------------- | ------ | --------------------------------------------------------------------------------- |
43
+ | play | None | | Starts automatic playback. Does nothing unless `autoplay` or `autoScroll` is set. |
44
+ | register | `name` (string) - The name of the element that you want to register. | | Registers the custom element with the browser. |
45
+ | scrollNext | None | | Scrolls to the next slide. |
46
+ | scrollPrev | None | | Scrolls to the previous slide. |
47
+ | stop | None | | Stops automatic playback. Does nothing unless `autoplay` or `autoScroll` is set. |
35
48
 
36
49
  ### Slots
37
50
 
38
- | Name | Description |
39
- | ------------------------- | -------------------------------------------------------------------------------------------- |
40
- | (default) | Default slot for the slides. Each child element will be treated as a slide. |
41
- | ariaLabel.scroll.left | The aria-label for the button navigating to the previous slide. Default is "Previous slide". |
42
- | ariaLabel.scroll.right | The aria-label for the button navigating to the next slide. Default is "Next slide". |
43
- | ariaLabel.slideshow.pause | The aria-label for the button that pauses the slideshow. Default is "Pause slideshow". |
44
- | ariaLabel.slideshow.play | The aria-label for the button that starts the slideshow. Default is "Play slideshow". |
45
-
46
- ### CSS Shadow Parts
47
-
48
- | Name | Description |
49
- | ----------------- | ------------------------------------------- |
50
- | next-button | Use to style the next button control. |
51
- | play-pause-button | Use to style the play/pause button control. |
52
- | prev-button | Use to style the previous button control. |
51
+ | Name | Relevant when | Description |
52
+ | ------------------------- | ------------- | ----------------------------------------------------------------------------------------------------- |
53
+ | (default) | | The slides. Each direct child element becomes one slide. |
54
+ | ariaLabel.scroll.left | `navigation` | Text screen readers announce for the previous slide button. Defaults to "Previous slide". |
55
+ | ariaLabel.scroll.right | `navigation` | Text screen readers announce for the next slide button. Defaults to "Next slide". |
56
+ | ariaLabel.slideshow.pause | | Text screen readers announce for the button that pauses the slideshow. Defaults to "Pause slideshow". |
57
+ | ariaLabel.slideshow.play | | Text screen readers announce for the button that starts the slideshow. Defaults to "Play slideshow". |
58
+
59
+ ### CSS shadow parts
60
+
61
+ | Name | Relevant when | Description |
62
+ | ----------------- | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
63
+ | next-button | `navigation` | The button that goes to the next slide, shown when `navigation` is set, except on touch devices. |
64
+ | play-pause-button | | The button that plays and pauses the slideshow, shown when `autoplay` is set, or when `autoScroll` is set on a device that isn't a touch device. |
65
+ | prev-button | `navigation` | The button that goes to the previous slide, shown when `navigation` is set, except on touch devices. |
53
66
  <!-- AURO-GENERATED-CONTENT:END -->
54
67
 
55
68
  ## Basic
@@ -97,15 +110,15 @@ with several options such as autoplay, navigation controls, and pagination dots.
97
110
  &lt;div style="height: 480px"&gt;
98
111
  &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=5" alt="Random image 5"&gt;
99
112
  &lt;/div&gt;
100
- &lt;/auro-slideshow&gt;</code></pre>
113
+ &lt;/auro-slideshow&gt;</code></pre>
101
114
  <!-- AURO-GENERATED-CONTENT:END -->
102
115
  </auro-accordion>
103
116
 
104
- ## Property & Attribute Examples
117
+ ## Property and attribute examples
105
118
 
106
119
  ### Autoplay
107
120
 
108
- Setting the `autoplay` attribute will render the play button so users can stop or start the slideshow.
121
+ Set `autoplay` to add a play and pause button, so users can stop and start the slideshow.
109
122
 
110
123
  <div class="exampleWrapper">
111
124
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/autoplay.html) -->
@@ -150,17 +163,17 @@ Setting the `autoplay` attribute will render the play button so users can stop o
150
163
  &lt;div style="height: 480px"&gt;
151
164
  &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=5" alt="Random image 5"&gt;
152
165
  &lt;/div&gt;
153
- &lt;/auro-slideshow&gt;</code></pre>
166
+ &lt;/auro-slideshow&gt;</code></pre>
154
167
  <!-- AURO-GENERATED-CONTENT:END -->
155
168
  </auro-accordion>
156
169
 
157
- ### AutoScroll
170
+ ### Autoscroll
158
171
 
159
- Setting the `autoScroll` attribute will also render the play button, but unlike `autoplay`, the slideshow will not stop on each slide. Instead, it will scroll continuously at a set pace and only stop on hover/focus or if any controls are clicked.
172
+ Set `autoScroll` to add a play and pause button. Unlike `autoplay`, the slideshow doesn't stop on each slide. It scrolls at a steady pace and stops when someone hovers over the slides, moves keyboard focus to a slide, drags the slides, or uses a control.
160
173
 
161
- `pagination` and `navigation` controls will not work unless the slideshow is stopped.
174
+ `pagination` and `navigation` controls don't work unless the slideshow is stopped.
162
175
 
163
- `autoScroll` is disabled on mobile devices.
176
+ `autoScroll` doesn't work on touch devices, where the primary pointer is coarse.
164
177
 
165
178
  <div class="exampleWrapper">
166
179
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/autoscroll.html) -->
@@ -205,13 +218,13 @@ Setting the `autoScroll` attribute will also render the play button, but unlike
205
218
  &lt;div style="height: 480px; max-width: 400px;"&gt;
206
219
  &lt;img style="object-fit: cover;" src="https://picsum.photos/400/480?random=5" alt="Random image 5"&gt;
207
220
  &lt;/div&gt;
208
- &lt;/auro-slideshow&gt;</code></pre>
221
+ &lt;/auro-slideshow&gt;</code></pre>
209
222
  <!-- AURO-GENERATED-CONTENT:END -->
210
223
  </auro-accordion>
211
224
 
212
225
  ### Delay
213
226
 
214
- To set a custom slide duration on an `autoplay` slideshow, use the `delay` attribute to pass in a new value in milliseconds. The default value is 7000. This will show each slide for 7 seconds before moving to the next slide.
227
+ To change how long each slide shows, set `delay` on an `autoplay` slideshow to a number of milliseconds. The default is 7000, so each slide shows for 7 seconds.
215
228
 
216
229
  <div class="exampleWrapper">
217
230
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/delay.html) -->
@@ -256,15 +269,15 @@ To set a custom slide duration on an `autoplay` slideshow, use the `delay` attri
256
269
  &lt;div style="height: 480px"&gt;
257
270
  &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=5" alt="Random image 5"&gt;
258
271
  &lt;/div&gt;
259
- &lt;/auro-slideshow&gt;</code></pre>
272
+ &lt;/auro-slideshow&gt;</code></pre>
260
273
  <!-- AURO-GENERATED-CONTENT:END -->
261
274
  </auro-accordion>
262
275
 
263
- ### Full-Bleed Preview
276
+ ### Full-bleed preview
264
277
 
265
- To enable the slideshow to show a preview of the previous and next slides, use the `fullBleed` attribute. This will unhide the overflow of the view area.
278
+ Set `fullBleed` to show parts of the previous and next slides beside the current slide. The slideshow stretches to the full width of the browser window.
266
279
 
267
- **Note:** To use this properly, a parent container MUST have `overflow-x: hidden` to prevent horizontal scrolling on the page. It is not recommended to put `overflow-x: hidden` on the `<body>` element as this will prevent horizontal scrolling if fixed-width elements become wider than the page. This is only done for demo purposes.
280
+ **Note:** To prevent horizontal scrolling, set `overflow-x: hidden` on a parent container. Don't set it on the `<body>` element, because that stops horizontal scrolling when fixed-width elements become wider than the page. The example sets it on `<body>` for demo purposes only.
268
281
 
269
282
  <div class="exampleWrapper">
270
283
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/full-bleed.html) -->
@@ -321,13 +334,13 @@ To enable the slideshow to show a preview of the previous and next slides, use t
321
334
  body {
322
335
  overflow-x: hidden;
323
336
  }
324
- &lt;/style&gt;</code></pre>
337
+ &lt;/style&gt;</code></pre>
325
338
  <!-- AURO-GENERATED-CONTENT:END -->
326
339
  </auro-accordion>
327
340
 
328
341
  ### Loop
329
342
 
330
- If the `loop` attribute is on, the slideshow will go back to the first slide when it reaches the end. If `autoplay` or `autoScroll` is on and `loop` is off, the slideshow will stop on the last slide.
343
+ When `loop` is set, the slideshow goes back to the first slide after the last slide. When `loop` isn't set and `autoplay` or `autoScroll` is set, the slideshow stops on the last slide.
331
344
 
332
345
  <div class="exampleWrapper">
333
346
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/loop.html) -->
@@ -372,17 +385,17 @@ If the `loop` attribute is on, the slideshow will go back to the first slide whe
372
385
  &lt;div style="height: 480px"&gt;
373
386
  &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=5" alt="Random image 5"&gt;
374
387
  &lt;/div&gt;
375
- &lt;/auro-slideshow&gt;</code></pre>
388
+ &lt;/auro-slideshow&gt;</code></pre>
376
389
  <!-- AURO-GENERATED-CONTENT:END -->
377
390
  </auro-accordion>
378
391
 
379
392
  ### Navigation
380
393
 
381
- Setting the `navigation` attribute will render previous/next arrow controls to allow the user to manually navigate the slideshow. These controls will only appear when the slides are hovered.
394
+ Set `navigation` to add previous and next arrow buttons that let users move through the slides. The arrows appear only when the slides are hovered.
382
395
 
383
- If `loop` is off, the respective arrow control will be disabled/hidden when the slideshow is at the beginning or the end.
396
+ When `loop` isn't set, the arrow for a direction is hidden at the first or last slide.
384
397
 
385
- `navigation` controls are disabled on mobile devices.
398
+ The arrows don't appear on touch devices, where the primary pointer is coarse.
386
399
 
387
400
  <div class="exampleWrapper">
388
401
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/navigation.html) -->
@@ -427,13 +440,13 @@ If `loop` is off, the respective arrow control will be disabled/hidden when the
427
440
  &lt;div style="height: 480px"&gt;
428
441
  &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=5" alt="Random image 5"&gt;
429
442
  &lt;/div&gt;
430
- &lt;/auro-slideshow&gt;</code></pre>
443
+ &lt;/auro-slideshow&gt;</code></pre>
431
444
  <!-- AURO-GENERATED-CONTENT:END -->
432
445
  </auro-accordion>
433
446
 
434
447
  ### Pagination
435
448
 
436
- Setting the `pagination` attribute will render pagination dots to indicate the number of slides. The current slide dot is represented by a filled wide dot to match the look of the progress bar.
449
+ Set `pagination` to show a dot for each slide. The current slide's dot is wider and filled, to match the progress bar.
437
450
 
438
451
  <div class="exampleWrapper">
439
452
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/pagination.html) -->
@@ -478,13 +491,13 @@ Setting the `pagination` attribute will render pagination dots to indicate the n
478
491
  &lt;div style="height: 480px"&gt;
479
492
  &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=5" alt="Random image 5"&gt;
480
493
  &lt;/div&gt;
481
- &lt;/auro-slideshow&gt;</code></pre>
494
+ &lt;/auro-slideshow&gt;</code></pre>
482
495
  <!-- AURO-GENERATED-CONTENT:END -->
483
496
  </auro-accordion>
484
497
 
485
- ### PlayOnInit
498
+ ### Play on init
486
499
 
487
- Setting the `playOnInit` attribute will start playing the slideshow when the page loads if either `autoplay` or `autoScroll` are enabled. Otherwise, the slideshow will not start playing until the user clicks the play button or the `play()` method is called.
500
+ Set `playOnInit` to start playing when the page loads. It applies only when `autoplay` or `autoScroll` is set. Without it, the slideshow starts playing only when the user clicks the play button or the `play()` method is called.
488
501
 
489
502
  <div class="exampleWrapper">
490
503
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/playoninit.html) -->
@@ -529,13 +542,13 @@ Setting the `playOnInit` attribute will start playing the slideshow when the pag
529
542
  &lt;div style="height: 480px; max-width: 400px;"&gt;
530
543
  &lt;img style="object-fit: cover;" src="https://picsum.photos/400/480?random=5" alt="Random image 5"&gt;
531
544
  &lt;/div&gt;
532
- &lt;/auro-slideshow&gt;</code></pre>
545
+ &lt;/auro-slideshow&gt;</code></pre>
533
546
  <!-- AURO-GENERATED-CONTENT:END -->
534
547
  </auro-accordion>
535
548
 
536
- ### ScrollSpeed
549
+ ### Scroll speed
537
550
 
538
- To set a custom speed on an `autoScroll` slideshow, use the `scrollSpeed` attribute to pass in a new value in pixels per frame. The default value is 0.75. To make the slideshow scroll faster, use a higher number. The value does not need to be whole number.
551
+ To change how fast an `autoScroll` slideshow moves, set `scrollSpeed` to a number of pixels per frame. The default is 0.75. Use a higher number to scroll faster. The number doesn't need to be whole.
539
552
 
540
553
  <div class="exampleWrapper">
541
554
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/scrollspeed.html) -->
@@ -580,13 +593,13 @@ To set a custom speed on an `autoScroll` slideshow, use the `scrollSpeed` attrib
580
593
  &lt;div style="height: 480px; max-width: 400px;"&gt;
581
594
  &lt;img style="object-fit: cover;" src="https://picsum.photos/400/480?random=5" alt="Random image 5"&gt;
582
595
  &lt;/div&gt;
583
- &lt;/auro-slideshow&gt;</code></pre>
596
+ &lt;/auro-slideshow&gt;</code></pre>
584
597
  <!-- AURO-GENERATED-CONTENT:END -->
585
598
  </auro-accordion>
586
599
 
587
- ### StartDelay
600
+ ### Start delay
588
601
 
589
- To set a custom delay before the `autoScroll` restarts, use the `startDelay` attribute to pass in a new value in milliseconds. The default value is 1000. This will cause the slideshow to wait 1 second before it resumes autoscrolling.
602
+ To change how long an `autoScroll` slideshow waits before it starts or resumes scrolling, set `startDelay` to a number of milliseconds. The default is 1000, which is 1 second.
590
603
 
591
604
  <div class="exampleWrapper">
592
605
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/startdelay.html) -->
@@ -631,28 +644,28 @@ To set a custom delay before the `autoScroll` restarts, use the `startDelay` att
631
644
  &lt;div style="height: 480px; max-width: 400px;"&gt;
632
645
  &lt;img style="object-fit: cover;" src="https://picsum.photos/400/480?random=5" alt="Random image 5"&gt;
633
646
  &lt;/div&gt;
634
- &lt;/auro-slideshow&gt;</code></pre>
647
+ &lt;/auro-slideshow&gt;</code></pre>
635
648
  <!-- AURO-GENERATED-CONTENT:END -->
636
649
  </auro-accordion>
637
650
 
638
- ## Slot Examples
651
+ ## Slot examples
639
652
 
640
- ### Slots for Aria-Labels
653
+ ### Slots for aria labels
641
654
 
642
- To customize the aria-labels for the slideshow controls, use the following slots:
643
- - `ariaLabel.scroll.left` - Previous slide button
644
- - `ariaLabel.scroll.right` - Next slide button
645
- - `ariaLabel.slideshow.play` - Play slideshow button
646
- - `ariaLabel.slideshow.pause` - Pause slideshow button
655
+ To change the text screen readers announce for the slideshow controls, use these slots:
656
+ - `ariaLabel.scroll.left`: Previous slide button
657
+ - `ariaLabel.scroll.right`: Next slide button
658
+ - `ariaLabel.slideshow.play`: Play slideshow button
659
+ - `ariaLabel.slideshow.pause`: Pause slideshow button
647
660
 
648
661
  <div class="exampleWrapper">
649
662
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/slots_aria-label.html) -->
650
663
  <!-- The below content is automatically added from ./../apiExamples/slots_aria-label.html -->
651
664
  <auro-slideshow autoplay navigation>
652
- <span slot="ariaLabel.scroll.left">Custom label for previous slide</span>
653
- <span slot="ariaLabel.scroll.right">Custom label for next slide</span>
654
- <span slot="ariaLabel.slideshow.play">Custom label for play slideshow</span>
655
- <span slot="ariaLabel.slideshow.pause">Custom label for pause slideshow</span>
665
+ <span slot="ariaLabel.scroll.left">Show previous slide</span>
666
+ <span slot="ariaLabel.scroll.right">Show next slide</span>
667
+ <span slot="ariaLabel.slideshow.play">Play the slideshow</span>
668
+ <span slot="ariaLabel.slideshow.pause">Pause the slideshow</span>
656
669
  <div style="height: 480px">
657
670
  <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=1" alt="Random image 1">
658
671
  </div>
@@ -677,10 +690,10 @@ To customize the aria-labels for the slideshow controls, use the following slots
677
690
  <!-- The below code snippet is automatically added from ./../apiExamples/slots_aria-label.html -->
678
691
 
679
692
  <pre class="language-html"><code class="language-html">&lt;auro-slideshow autoplay navigation&gt;
680
- &lt;span slot="ariaLabel.scroll.left"&gt;Custom label for previous slide&lt;/span&gt;
681
- &lt;span slot="ariaLabel.scroll.right"&gt;Custom label for next slide&lt;/span&gt;
682
- &lt;span slot="ariaLabel.slideshow.play"&gt;Custom label for play slideshow&lt;/span&gt;
683
- &lt;span slot="ariaLabel.slideshow.pause"&gt;Custom label for pause slideshow&lt;/span&gt;
693
+ &lt;span slot="ariaLabel.scroll.left"&gt;Show previous slide&lt;/span&gt;
694
+ &lt;span slot="ariaLabel.scroll.right"&gt;Show next slide&lt;/span&gt;
695
+ &lt;span slot="ariaLabel.slideshow.play"&gt;Play the slideshow&lt;/span&gt;
696
+ &lt;span slot="ariaLabel.slideshow.pause"&gt;Pause the slideshow&lt;/span&gt;
684
697
  &lt;div style="height: 480px"&gt;
685
698
  &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=1" alt="Random image 1"&gt;
686
699
  &lt;/div&gt;
@@ -696,13 +709,13 @@ To customize the aria-labels for the slideshow controls, use the following slots
696
709
  &lt;div style="height: 480px"&gt;
697
710
  &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=5" alt="Random image 5"&gt;
698
711
  &lt;/div&gt;
699
- &lt;/auro-slideshow&gt;</code></pre>
712
+ &lt;/auro-slideshow&gt;</code></pre>
700
713
  <!-- AURO-GENERATED-CONTENT:END -->
701
714
  </auro-accordion>
702
715
 
703
- ## Common Usage Patterns & Functional Examples
716
+ ## Common usage patterns
704
717
 
705
- ### Full-Bleed + AutoScroll Preview
718
+ ### Full-bleed and autoscroll preview
706
719
 
707
720
  <div class="exampleWrapper">
708
721
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/full-bleed-autoscroll.html) -->
@@ -777,6 +790,6 @@ To customize the aria-labels for the slideshow controls, use the following slots
777
790
  body {
778
791
  overflow-x: hidden;
779
792
  }
780
- &lt;/style&gt;</code></pre>
793
+ &lt;/style&gt;</code></pre>
781
794
  <!-- AURO-GENERATED-CONTENT:END -->
782
795
  </auro-accordion>