@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/README.md CHANGED
@@ -62,9 +62,7 @@ The `<auro-slideshow>` element should be used in situations where:
62
62
  [![License](https://img.shields.io/npm/l/@aurodesignsystem/auro-slideshow?color=blue&style=for-the-badge)](https://www.apache.org/licenses/LICENSE-2.0)
63
63
  ![ESM supported](https://img.shields.io/badge/ESM-compatible-FFE900?style=for-the-badge)
64
64
 
65
- ```shell
66
- $ npm i @aurodesignsystem/auro-slideshow
67
- ```
65
+ <pre class="language-shell"><code class="language-shell">$ npm i @aurodesignsystem/auro-slideshow</code></pre>
68
66
 
69
67
  <!-- AURO-GENERATED-CONTENT:END -->
70
68
 
@@ -76,9 +74,7 @@ Defining the dependency within each project that is using the `<auro-slideshow>`
76
74
  <!-- AURO-GENERATED-CONTENT:END -->
77
75
  <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/auro-templates/main/templates/default/partials/usage/componentImport.md) -->
78
76
 
79
- ```js
80
- import "@aurodesignsystem/auro-slideshow";
81
- ```
77
+ <pre class="language-js"><code class="language-js">import "@aurodesignsystem/auro-slideshow";</code></pre>
82
78
 
83
79
  <!-- AURO-GENERATED-CONTENT:END -->
84
80
 
@@ -87,9 +83,7 @@ import "@aurodesignsystem/auro-slideshow";
87
83
  <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/auro-templates/main/templates/default/partials/usage/bundleInstallDescription.md) -->
88
84
  In cases where the project is not able to process JS assets, there are pre-processed assets available for use. Legacy browsers such as IE11 are no longer supported.
89
85
 
90
- ```html
91
- <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-slideshow@latest/+esm"></script>
92
- ```
86
+ <pre class="language-html"><code class="language-html">&lt;script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-slideshow@latest/+esm"&gt;&lt;/script&gt;</code></pre>
93
87
 
94
88
  <!-- AURO-GENERATED-CONTENT:END -->
95
89
 
@@ -98,25 +92,23 @@ In cases where the project is not able to process JS assets, there are pre-proce
98
92
  <!-- AURO-GENERATED-CONTENT:START (CODE:src=./apiExamples/basic.html) -->
99
93
  <!-- The below code snippet is automatically added from ./apiExamples/basic.html -->
100
94
 
101
- ```html
102
- <auro-slideshow>
103
- <div style="height: 480px">
104
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=1" alt="Random image 1">
105
- </div>
106
- <div style="height: 480px">
107
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=2" alt="Random image 2">
108
- </div>
109
- <div style="height: 480px">
110
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=3" alt="Random image 3">
111
- </div>
112
- <div style="height: 480px">
113
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=4" alt="Random image 4">
114
- </div>
115
- <div style="height: 480px">
116
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=5" alt="Random image 5">
117
- </div>
118
- </auro-slideshow>
119
- ```
95
+ <pre class="language-html"><code class="language-html">&lt;auro-slideshow&gt;
96
+ &lt;div style="height: 480px"&gt;
97
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=1" alt="Random image 1"&gt;
98
+ &lt;/div&gt;
99
+ &lt;div style="height: 480px"&gt;
100
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=2" alt="Random image 2"&gt;
101
+ &lt;/div&gt;
102
+ &lt;div style="height: 480px"&gt;
103
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=3" alt="Random image 3"&gt;
104
+ &lt;/div&gt;
105
+ &lt;div style="height: 480px"&gt;
106
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=4" alt="Random image 4"&gt;
107
+ &lt;/div&gt;
108
+ &lt;div style="height: 480px"&gt;
109
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=5" alt="Random image 5"&gt;
110
+ &lt;/div&gt;
111
+ &lt;/auro-slideshow&gt;</code></pre>
120
112
  <!-- AURO-GENERATED-CONTENT:END -->
121
113
 
122
114
  ## Custom Component Registration for Version Management
@@ -133,49 +125,45 @@ You can do this by importing only the component class and using the `register(na
133
125
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/customRegistration.md) -->
134
126
  <!-- The below content is automatically added from ./docs/partials/customRegistration.md -->
135
127
 
136
- ```js
137
- // Import the class only
128
+ <pre class="language-js"><code class="language-js">// Import the class only
138
129
  import { AuroSlideshow } from '@aurodesignsystem/auro-slideshow/class';
139
-
130
+ ​
140
131
  // Register with a custom name if desired
141
- AuroSlideshow.register('custom-slideshow');
142
- ```
132
+ AuroSlideshow.register('custom-slideshow');</code></pre>
143
133
 
144
134
  This will create a new custom element `<custom-slideshow>` that behaves exactly like `<auro-slideshow>`, allowing both to coexist on the same page without interfering with each other.
145
135
  <!-- AURO-GENERATED-CONTENT:END -->
146
136
  <div class="exampleWrapper exampleWrapper--flex">
147
- <!-- AURO-GENERATED-CONTENT:START (FILE:src=./apiExamples/custom.html) -->
148
- <!-- The below content is automatically added from ./apiExamples/custom.html -->
149
- <custom-slideshow navigation>
150
- <div style="width: 400px; border: 2px solid #000; display: flex; justify-content: center;">
151
- <p>Slide 1</p>
152
- </div>
153
- <div style="width: 400px; border: 2px solid #000; display: flex; justify-content: center;">
154
- <p>Slide 2</p>
155
- </div>
156
- <div style="width: 400px; border: 2px solid #000; display: flex; justify-content: center;">
157
- <p>Slide 3</p>
158
- </div>
159
- </custom-slideshow>
160
- <!-- AURO-GENERATED-CONTENT:END -->
137
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./apiExamples/custom.html) -->
138
+ <!-- The below content is automatically added from ./apiExamples/custom.html -->
139
+ <custom-slideshow navigation>
140
+ <div style="width: 400px; border: 2px solid #000; display: flex; justify-content: center;">
141
+ <p>Slide 1</p>
142
+ </div>
143
+ <div style="width: 400px; border: 2px solid #000; display: flex; justify-content: center;">
144
+ <p>Slide 2</p>
145
+ </div>
146
+ <div style="width: 400px; border: 2px solid #000; display: flex; justify-content: center;">
147
+ <p>Slide 3</p>
148
+ </div>
149
+ </custom-slideshow>
150
+ <!-- AURO-GENERATED-CONTENT:END -->
161
151
  </div>
162
152
  <auro-accordion alignRight>
163
- <span slot="trigger">See code</span>
153
+ <span slot="trigger">See code</span>
164
154
  <!-- AURO-GENERATED-CONTENT:START (CODE:src=./apiExamples/custom.html) -->
165
155
  <!-- The below code snippet is automatically added from ./apiExamples/custom.html -->
166
156
 
167
- ```html
168
- <custom-slideshow navigation>
169
- <div style="width: 400px; border: 2px solid #000; display: flex; justify-content: center;">
170
- <p>Slide 1</p>
171
- </div>
172
- <div style="width: 400px; border: 2px solid #000; display: flex; justify-content: center;">
173
- <p>Slide 2</p>
174
- </div>
175
- <div style="width: 400px; border: 2px solid #000; display: flex; justify-content: center;">
176
- <p>Slide 3</p>
177
- </div>
178
- </custom-slideshow>
179
- ```
157
+ <pre class="language-html"><code class="language-html">&lt;custom-slideshow navigation&gt;
158
+ &lt;div style="width: 400px; border: 2px solid #000; display: flex; justify-content: center;"&gt;
159
+ &lt;p&gt;Slide 1&lt;/p&gt;
160
+ &lt;/div&gt;
161
+ &lt;div style="width: 400px; border: 2px solid #000; display: flex; justify-content: center;"&gt;
162
+ &lt;p&gt;Slide 2&lt;/p&gt;
163
+ &lt;/div&gt;
164
+ &lt;div style="width: 400px; border: 2px solid #000; display: flex; justify-content: center;"&gt;
165
+ &lt;p&gt;Slide 3&lt;/p&gt;
166
+ &lt;/div&gt;
167
+ &lt;/custom-slideshow&gt;</code></pre>
180
168
  <!-- AURO-GENERATED-CONTENT:END -->
181
169
  </auro-accordion>