@aurodesignsystem-dev/auro-slideshow 0.0.0-pr77.0 → 0.0.0-pr79.0

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/index.md CHANGED
@@ -33,101 +33,97 @@ The `<auro-slideshow>` element should be used in situations where:
33
33
  ### Autoplay
34
34
 
35
35
  <div class="exampleWrapper">
36
- <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/autoplay.html) -->
37
- <!-- The below content is automatically added from ./../apiExamples/autoplay.html -->
38
- <auro-slideshow autoplay playOnInit loop>
39
- <div style="height: 480px">
40
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=1" alt="Random image 1">
41
- </div>
42
- <div style="height: 480px">
43
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=2" alt="Random image 2">
44
- </div>
45
- <div style="height: 480px">
46
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=3" alt="Random image 3">
47
- </div>
48
- <div style="height: 480px">
49
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=4" alt="Random image 4">
50
- </div>
51
- <div style="height: 480px">
52
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=5" alt="Random image 5">
53
- </div>
54
- </auro-slideshow>
55
- <!-- AURO-GENERATED-CONTENT:END -->
36
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/autoplay.html) -->
37
+ <!-- The below content is automatically added from ./../apiExamples/autoplay.html -->
38
+ <auro-slideshow autoplay playOnInit loop>
39
+ <div style="height: 480px">
40
+ <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=1" alt="Random image 1">
41
+ </div>
42
+ <div style="height: 480px">
43
+ <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=2" alt="Random image 2">
44
+ </div>
45
+ <div style="height: 480px">
46
+ <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=3" alt="Random image 3">
47
+ </div>
48
+ <div style="height: 480px">
49
+ <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=4" alt="Random image 4">
50
+ </div>
51
+ <div style="height: 480px">
52
+ <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=5" alt="Random image 5">
53
+ </div>
54
+ </auro-slideshow>
55
+ <!-- AURO-GENERATED-CONTENT:END -->
56
56
  </div>
57
57
  <auro-accordion alignRight>
58
- <span slot="trigger">See code</span>
58
+ <span slot="trigger">See code</span>
59
59
  <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/autoplay.html) -->
60
60
  <!-- The below code snippet is automatically added from ./../apiExamples/autoplay.html -->
61
61
 
62
- ```html
63
- <auro-slideshow autoplay playOnInit loop>
64
- <div style="height: 480px">
65
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=1" alt="Random image 1">
66
- </div>
67
- <div style="height: 480px">
68
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=2" alt="Random image 2">
69
- </div>
70
- <div style="height: 480px">
71
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=3" alt="Random image 3">
72
- </div>
73
- <div style="height: 480px">
74
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=4" alt="Random image 4">
75
- </div>
76
- <div style="height: 480px">
77
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=5" alt="Random image 5">
78
- </div>
79
- </auro-slideshow>
80
- ```
62
+ <pre class="language-html"><code class="language-html">&lt;auro-slideshow autoplay playOnInit loop&gt;
63
+ &lt;div style="height: 480px"&gt;
64
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=1" alt="Random image 1"&gt;
65
+ &lt;/div&gt;
66
+ &lt;div style="height: 480px"&gt;
67
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=2" alt="Random image 2"&gt;
68
+ &lt;/div&gt;
69
+ &lt;div style="height: 480px"&gt;
70
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=3" alt="Random image 3"&gt;
71
+ &lt;/div&gt;
72
+ &lt;div style="height: 480px"&gt;
73
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=4" alt="Random image 4"&gt;
74
+ &lt;/div&gt;
75
+ &lt;div style="height: 480px"&gt;
76
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=5" alt="Random image 5"&gt;
77
+ &lt;/div&gt;
78
+ &lt;/auro-slideshow&gt;</code></pre>
81
79
  <!-- AURO-GENERATED-CONTENT:END -->
82
80
  </auro-accordion>
83
81
 
84
82
  ### Autoscroll
85
83
 
86
84
  <div class="exampleWrapper">
87
- <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/autoscroll.html) -->
88
- <!-- The below content is automatically added from ./../apiExamples/autoscroll.html -->
89
- <auro-slideshow navigation autoScroll playOnInit loop>
90
- <div style="height: 480px; max-width: 400px;">
91
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=1" alt="Random image 1">
92
- </div>
93
- <div style="height: 480px; max-width: 400px;">
94
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=2" alt="Random image 2">
95
- </div>
96
- <div style="height: 480px; max-width: 400px;">
97
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=3" alt="Random image 3">
98
- </div>
99
- <div style="height: 480px; max-width: 400px;">
100
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=4" alt="Random image 4">
101
- </div>
102
- <div style="height: 480px; max-width: 400px;">
103
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=5" alt="Random image 5">
104
- </div>
105
- </auro-slideshow>
106
- <!-- AURO-GENERATED-CONTENT:END -->
85
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/autoscroll.html) -->
86
+ <!-- The below content is automatically added from ./../apiExamples/autoscroll.html -->
87
+ <auro-slideshow navigation autoScroll playOnInit loop>
88
+ <div style="height: 480px; max-width: 400px;">
89
+ <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=1" alt="Random image 1">
90
+ </div>
91
+ <div style="height: 480px; max-width: 400px;">
92
+ <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=2" alt="Random image 2">
93
+ </div>
94
+ <div style="height: 480px; max-width: 400px;">
95
+ <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=3" alt="Random image 3">
96
+ </div>
97
+ <div style="height: 480px; max-width: 400px;">
98
+ <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=4" alt="Random image 4">
99
+ </div>
100
+ <div style="height: 480px; max-width: 400px;">
101
+ <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=5" alt="Random image 5">
102
+ </div>
103
+ </auro-slideshow>
104
+ <!-- AURO-GENERATED-CONTENT:END -->
107
105
  </div>
108
106
  <auro-accordion alignRight>
109
- <span slot="trigger">See code</span>
107
+ <span slot="trigger">See code</span>
110
108
  <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/autoscroll.html) -->
111
109
  <!-- The below code snippet is automatically added from ./../apiExamples/autoscroll.html -->
112
110
 
113
- ```html
114
- <auro-slideshow navigation autoScroll playOnInit loop>
115
- <div style="height: 480px; max-width: 400px;">
116
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=1" alt="Random image 1">
117
- </div>
118
- <div style="height: 480px; max-width: 400px;">
119
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=2" alt="Random image 2">
120
- </div>
121
- <div style="height: 480px; max-width: 400px;">
122
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=3" alt="Random image 3">
123
- </div>
124
- <div style="height: 480px; max-width: 400px;">
125
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=4" alt="Random image 4">
126
- </div>
127
- <div style="height: 480px; max-width: 400px;">
128
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=5" alt="Random image 5">
129
- </div>
130
- </auro-slideshow>
131
- ```
111
+ <pre class="language-html"><code class="language-html">&lt;auro-slideshow navigation autoScroll playOnInit loop&gt;
112
+ &lt;div style="height: 480px; max-width: 400px;"&gt;
113
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/400/480?random=1" alt="Random image 1"&gt;
114
+ &lt;/div&gt;
115
+ &lt;div style="height: 480px; max-width: 400px;"&gt;
116
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/400/480?random=2" alt="Random image 2"&gt;
117
+ &lt;/div&gt;
118
+ &lt;div style="height: 480px; max-width: 400px;"&gt;
119
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/400/480?random=3" alt="Random image 3"&gt;
120
+ &lt;/div&gt;
121
+ &lt;div style="height: 480px; max-width: 400px;"&gt;
122
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/400/480?random=4" alt="Random image 4"&gt;
123
+ &lt;/div&gt;
124
+ &lt;div style="height: 480px; max-width: 400px;"&gt;
125
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/400/480?random=5" alt="Random image 5"&gt;
126
+ &lt;/div&gt;
127
+ &lt;/auro-slideshow&gt;</code></pre>
132
128
  <!-- AURO-GENERATED-CONTENT:END -->
133
129
  </auro-accordion>