@aurodesignsystem-dev/auro-slideshow 0.0.0-pr78.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 +49 -61
- package/custom-elements.json +643 -0
- package/demo/api.md +539 -565
- package/demo/api.min.js +3349 -1
- package/demo/index.md +76 -80
- package/demo/index.min.js +3349 -1
- package/demo/readme.md +169 -0
- package/dist/{auro-slideshow-B2IA2NHn.js → auro-slideshow-Di9AtYIy.js} +5 -5
- package/dist/index.d.ts +237 -107
- package/dist/index.js +1 -1
- package/dist/registered.js +1 -1
- package/package.json +5 -3
- package/demo/auro-slideshow.min.js +0 -3341
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
1
|
import type { AuroSlideshow } from "src/auro-slideshow.js";
|
|
3
2
|
|
|
4
3
|
/**
|
|
@@ -21,13 +20,14 @@ import type { AuroSlideshow } from "src/auro-slideshow.js";
|
|
|
21
20
|
*/
|
|
22
21
|
export type ScopedElements<
|
|
23
22
|
Prefix extends string = "",
|
|
24
|
-
Suffix extends string = ""
|
|
23
|
+
Suffix extends string = "",
|
|
25
24
|
> = {
|
|
26
|
-
[
|
|
25
|
+
[
|
|
26
|
+
Key in keyof CustomElements as `${Prefix}${Key}${Suffix}`
|
|
27
|
+
]: CustomElements[Key];
|
|
27
28
|
};
|
|
28
29
|
|
|
29
30
|
type BaseProps<T extends HTMLElement> = {
|
|
30
|
-
|
|
31
31
|
/** Content added between the opening and closing tags of the element */
|
|
32
32
|
children?: any;
|
|
33
33
|
/** Used for declaratively styling one or more elements using CSS (Cascading Stylesheets) */
|
|
@@ -50,6 +50,8 @@ type BaseProps<T extends HTMLElement> = {
|
|
|
50
50
|
key?: string | number;
|
|
51
51
|
/** Specifies the language of the element. */
|
|
52
52
|
lang?: string;
|
|
53
|
+
/** Defines the element's semantic role for accessibility APIs. */
|
|
54
|
+
role?: string;
|
|
53
55
|
/** Contains a space-separated list of the part names of the element. Part names allows CSS to select and style specific elements in a shadow tree via the ::part pseudo-element. */
|
|
54
56
|
part?: string;
|
|
55
57
|
/** Use the ref attribute with a variable to assign a DOM element to the variable once the element is rendered. */
|
|
@@ -70,168 +72,296 @@ type BaseProps<T extends HTMLElement> = {
|
|
|
70
72
|
popovertarget?: "top" | "bottom" | "left" | "right" | "auto";
|
|
71
73
|
/** Specifies the action to be performed on a popover element being controlled by a control element. */
|
|
72
74
|
popovertargetaction?: "show" | "hide" | "toggle";
|
|
73
|
-
|
|
74
|
-
} ;
|
|
75
|
-
|
|
76
|
-
type BaseEvents = {
|
|
77
|
-
|
|
78
|
-
|
|
79
75
|
};
|
|
80
76
|
|
|
81
|
-
|
|
77
|
+
type BaseEvents = {};
|
|
82
78
|
|
|
83
79
|
export type AuroSlideshowProps = {
|
|
84
80
|
/** If true, the slideshow will play automatically. */
|
|
85
|
-
|
|
81
|
+
autoplay?: AuroSlideshow["autoplay"];
|
|
82
|
+
/** If true, the slideshow will scroll continuously. */
|
|
83
|
+
autoscroll?: AuroSlideshow["autoScroll"];
|
|
86
84
|
/** If true, the slideshow will scroll continuously. */
|
|
87
|
-
|
|
85
|
+
autoScroll?: AuroSlideshow["autoScroll"];
|
|
88
86
|
/** Slide duration in milliseconds (Only used with `autoplay`). */
|
|
89
|
-
|
|
87
|
+
delay?: AuroSlideshow["delay"];
|
|
88
|
+
/** 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. */
|
|
89
|
+
fullbleed?: AuroSlideshow["fullBleed"];
|
|
90
90
|
/** 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. */
|
|
91
|
-
|
|
92
|
-
/** */
|
|
93
|
-
"isPlaying"?: AuroSlideshow['isPlaying'];
|
|
91
|
+
fullBleed?: AuroSlideshow["fullBleed"];
|
|
94
92
|
/** If true, the slideshow will loop back to the first slide after reaching the last slide. */
|
|
95
|
-
|
|
93
|
+
loop?: AuroSlideshow["loop"];
|
|
96
94
|
/** If true, the slideshow will display navigation arrows for previous and next slides when the slide container is hovered. */
|
|
97
|
-
|
|
95
|
+
navigation?: AuroSlideshow["navigation"];
|
|
98
96
|
/** If true, the slideshow will display pagination dots for each slide. If autoplay is on, the active dot will also show a progress bar. */
|
|
99
|
-
|
|
100
|
-
/** DEPRECATED - Use `ariaLabel.slideshow.pause` instead. */
|
|
101
|
-
"pauseLabel"?: AuroSlideshow['pauseLabel'];
|
|
102
|
-
/** DEPRECATED - Use `ariaLabel.slideshow.play` instead. */
|
|
103
|
-
"playLabel"?: AuroSlideshow['playLabel'];
|
|
97
|
+
pagination?: AuroSlideshow["pagination"];
|
|
104
98
|
/** If true, the slideshow will start playing automatically on page load when `autoplay` or `autoScroll` are on. */
|
|
105
|
-
|
|
99
|
+
playoninit?: AuroSlideshow["playOnInit"];
|
|
100
|
+
/** If true, the slideshow will start playing automatically on page load when `autoplay` or `autoScroll` are on. */
|
|
101
|
+
playOnInit?: AuroSlideshow["playOnInit"];
|
|
102
|
+
/** Number of pixels auto scroll should advance per frame (Only used with `autoScroll`). */
|
|
103
|
+
scrollspeed?: AuroSlideshow["scrollSpeed"];
|
|
106
104
|
/** Number of pixels auto scroll should advance per frame (Only used with `autoScroll`). */
|
|
107
|
-
|
|
105
|
+
scrollSpeed?: AuroSlideshow["scrollSpeed"];
|
|
106
|
+
/** Delay in milliseconds before the auto scroll starts (Only used with `autoScroll`). */
|
|
107
|
+
startdelay?: AuroSlideshow["startDelay"];
|
|
108
108
|
/** Delay in milliseconds before the auto scroll starts (Only used with `autoScroll`). */
|
|
109
|
-
|
|
109
|
+
startDelay?: AuroSlideshow["startDelay"];
|
|
110
|
+
/** @deprecated Use `ariaLabel.slideshow.pause` instead. - Accessible label for the pause button. **Deprecated:** use `ariaLabel.slideshow.pause` instead. */
|
|
111
|
+
pauselabel?: AuroSlideshow["pauseLabel"];
|
|
112
|
+
/** @deprecated Use `ariaLabel.slideshow.pause` instead. - Accessible label for the pause button. **Deprecated:** use `ariaLabel.slideshow.pause` instead. */
|
|
113
|
+
pauseLabel?: AuroSlideshow["pauseLabel"];
|
|
114
|
+
/** @deprecated Use `ariaLabel.slideshow.play` instead. - Accessible label for the play button. **Deprecated:** use `ariaLabel.slideshow.play` instead. */
|
|
115
|
+
playlabel?: AuroSlideshow["playLabel"];
|
|
116
|
+
/** @deprecated Use `ariaLabel.slideshow.play` instead. - Accessible label for the play button. **Deprecated:** use `ariaLabel.slideshow.play` instead. */
|
|
117
|
+
playLabel?: AuroSlideshow["playLabel"];
|
|
110
118
|
/** Calculate the width of the slideshow-wrapper and attach a css property to the host element '--slideshow-width' */
|
|
111
|
-
|
|
112
|
-
|
|
119
|
+
_createWidthProp?: AuroSlideshow["_createWidthProp"];
|
|
120
|
+
};
|
|
113
121
|
|
|
114
|
-
|
|
122
|
+
export type AuroSlideshowSolidJsProps = {
|
|
123
|
+
/** If true, the slideshow will play automatically. */
|
|
124
|
+
"prop:autoplay"?: AuroSlideshow["autoplay"];
|
|
125
|
+
/** If true, the slideshow will scroll continuously. */
|
|
126
|
+
"bool:autoscroll"?: AuroSlideshow["autoScroll"];
|
|
127
|
+
/** If true, the slideshow will scroll continuously. */
|
|
128
|
+
"prop:autoScroll"?: AuroSlideshow["autoScroll"];
|
|
129
|
+
/** Slide duration in milliseconds (Only used with `autoplay`). */
|
|
130
|
+
"prop:delay"?: AuroSlideshow["delay"];
|
|
131
|
+
/** 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. */
|
|
132
|
+
"bool:fullbleed"?: AuroSlideshow["fullBleed"];
|
|
133
|
+
/** 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. */
|
|
134
|
+
"prop:fullBleed"?: AuroSlideshow["fullBleed"];
|
|
135
|
+
/** If true, the slideshow will loop back to the first slide after reaching the last slide. */
|
|
136
|
+
"prop:loop"?: AuroSlideshow["loop"];
|
|
137
|
+
/** If true, the slideshow will display navigation arrows for previous and next slides when the slide container is hovered. */
|
|
138
|
+
"prop:navigation"?: AuroSlideshow["navigation"];
|
|
139
|
+
/** If true, the slideshow will display pagination dots for each slide. If autoplay is on, the active dot will also show a progress bar. */
|
|
140
|
+
"prop:pagination"?: AuroSlideshow["pagination"];
|
|
141
|
+
/** If true, the slideshow will start playing automatically on page load when `autoplay` or `autoScroll` are on. */
|
|
142
|
+
"bool:playoninit"?: AuroSlideshow["playOnInit"];
|
|
143
|
+
/** If true, the slideshow will start playing automatically on page load when `autoplay` or `autoScroll` are on. */
|
|
144
|
+
"prop:playOnInit"?: AuroSlideshow["playOnInit"];
|
|
145
|
+
/** Number of pixels auto scroll should advance per frame (Only used with `autoScroll`). */
|
|
146
|
+
"attr:scrollspeed"?: AuroSlideshow["scrollSpeed"];
|
|
147
|
+
/** Number of pixels auto scroll should advance per frame (Only used with `autoScroll`). */
|
|
148
|
+
"prop:scrollSpeed"?: AuroSlideshow["scrollSpeed"];
|
|
149
|
+
/** Delay in milliseconds before the auto scroll starts (Only used with `autoScroll`). */
|
|
150
|
+
"attr:startdelay"?: AuroSlideshow["startDelay"];
|
|
151
|
+
/** Delay in milliseconds before the auto scroll starts (Only used with `autoScroll`). */
|
|
152
|
+
"prop:startDelay"?: AuroSlideshow["startDelay"];
|
|
153
|
+
/** @deprecated Use `ariaLabel.slideshow.pause` instead. - Accessible label for the pause button. **Deprecated:** use `ariaLabel.slideshow.pause` instead. */
|
|
154
|
+
"attr:pauselabel"?: AuroSlideshow["pauseLabel"];
|
|
155
|
+
/** @deprecated Use `ariaLabel.slideshow.pause` instead. - Accessible label for the pause button. **Deprecated:** use `ariaLabel.slideshow.pause` instead. */
|
|
156
|
+
"prop:pauseLabel"?: AuroSlideshow["pauseLabel"];
|
|
157
|
+
/** @deprecated Use `ariaLabel.slideshow.play` instead. - Accessible label for the play button. **Deprecated:** use `ariaLabel.slideshow.play` instead. */
|
|
158
|
+
"attr:playlabel"?: AuroSlideshow["playLabel"];
|
|
159
|
+
/** @deprecated Use `ariaLabel.slideshow.play` instead. - Accessible label for the play button. **Deprecated:** use `ariaLabel.slideshow.play` instead. */
|
|
160
|
+
"prop:playLabel"?: AuroSlideshow["playLabel"];
|
|
161
|
+
/** Calculate the width of the slideshow-wrapper and attach a css property to the host element '--slideshow-width' */
|
|
162
|
+
"prop:_createWidthProp"?: AuroSlideshow["_createWidthProp"];
|
|
115
163
|
|
|
116
|
-
|
|
164
|
+
/** Set the innerHTML of the element */
|
|
165
|
+
innerHTML?: string;
|
|
166
|
+
/** Set the textContent of the element */
|
|
167
|
+
textContent?: string | number;
|
|
168
|
+
};
|
|
117
169
|
|
|
170
|
+
export type CustomElements = {
|
|
171
|
+
/**
|
|
172
|
+
* The `auro-slideshow` element is a customizable slideshow that displays a series of slides
|
|
173
|
+
* with several options such as autoplay, navigation controls, and pagination dots.
|
|
174
|
+
*
|
|
175
|
+
* ## Attributes & Properties
|
|
176
|
+
*
|
|
177
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
178
|
+
*
|
|
179
|
+
* - `autoplay`: If true, the slideshow will play automatically.
|
|
180
|
+
* - `autoscroll`/`autoScroll`: If true, the slideshow will scroll continuously.
|
|
181
|
+
* - `delay`: Slide duration in milliseconds (Only used with `autoplay`).
|
|
182
|
+
* - `fullbleed`/`fullBleed`: 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.
|
|
183
|
+
* - `loop`: If true, the slideshow will loop back to the first slide after reaching the last slide.
|
|
184
|
+
* - `navigation`: If true, the slideshow will display navigation arrows for previous and next slides when the slide container is hovered.
|
|
185
|
+
* - `pagination`: If true, the slideshow will display pagination dots for each slide. If autoplay is on, the active dot will also show a progress bar.
|
|
186
|
+
* - `playoninit`/`playOnInit`: If true, the slideshow will start playing automatically on page load when `autoplay` or `autoScroll` are on.
|
|
187
|
+
* - `scrollspeed`/`scrollSpeed`: Number of pixels auto scroll should advance per frame (Only used with `autoScroll`).
|
|
188
|
+
* - `startdelay`/`startDelay`: Delay in milliseconds before the auto scroll starts (Only used with `autoScroll`).
|
|
189
|
+
* - `pauselabel`/`pauseLabel`: Accessible label for the pause button. **Deprecated:** use `ariaLabel.slideshow.pause` instead.
|
|
190
|
+
* - `playlabel`/`playLabel`: Accessible label for the play button. **Deprecated:** use `ariaLabel.slideshow.play` instead.
|
|
191
|
+
* - `_createWidthProp`: Calculate the width of the slideshow-wrapper and attach a css property to the host element '--slideshow-width' (property only)
|
|
192
|
+
* - `_customAlign`: Calculate the difference between the left edge of the slideshow-wrapper and the embla container (property only) (readonly)
|
|
193
|
+
* - `_dotsNode`: undefined (property only) (readonly)
|
|
194
|
+
* - `_nextBtn`: undefined (property only) (readonly)
|
|
195
|
+
* - `_playBtn`: undefined (property only) (readonly)
|
|
196
|
+
* - `_prevBtn`: undefined (property only) (readonly)
|
|
197
|
+
* - `_progressNode`: undefined (property only) (readonly)
|
|
198
|
+
* - `_slideshowPaddingSize`: undefined (property only) (readonly)
|
|
199
|
+
* - `_slideshowWrapperNode`: undefined (property only) (readonly)
|
|
200
|
+
* - `_slot`: undefined (property only) (readonly)
|
|
201
|
+
*
|
|
202
|
+
* ## Slots
|
|
203
|
+
*
|
|
204
|
+
* Areas where markup can be added to the component.
|
|
205
|
+
*
|
|
206
|
+
* - `(default)`: Default slot for the slides. Each child element will be treated as a slide.
|
|
207
|
+
* - `ariaLabel.scroll.left`: The aria-label for the button navigating to the previous slide. Default is "Previous slide".
|
|
208
|
+
* - `ariaLabel.scroll.right`: The aria-label for the button navigating to the next slide. Default is "Next slide".
|
|
209
|
+
* - `ariaLabel.slideshow.pause`: The aria-label for the button that pauses the slideshow. Default is "Pause slideshow".
|
|
210
|
+
* - `ariaLabel.slideshow.play`: The aria-label for the button that starts the slideshow. Default is "Play slideshow".
|
|
211
|
+
*
|
|
212
|
+
* ## Methods
|
|
213
|
+
*
|
|
214
|
+
* Methods that can be called to access component functionality.
|
|
215
|
+
*
|
|
216
|
+
* - `_initializeDefaults() => void`: undefined
|
|
217
|
+
* - `play() => void`: Starts the slideshow playback.
|
|
218
|
+
* - `register(name?: string = "auro-slideshow") => void`: Registers the custom element with the browser.
|
|
219
|
+
* - `scrollNext() => void`: Scrolls to the next slide.
|
|
220
|
+
* - `scrollPrev() => void`: Scrolls to the previous slide.
|
|
221
|
+
* - `stop() => void`: Stops the slideshow playback.
|
|
222
|
+
*
|
|
223
|
+
* ## CSS Parts
|
|
224
|
+
*
|
|
225
|
+
* Custom selectors for styling elements within the component.
|
|
226
|
+
*
|
|
227
|
+
* - `next-button`: Use to style the next button control.
|
|
228
|
+
* - `play-pause-button`: Use to style the play/pause button control.
|
|
229
|
+
* - `prev-button`: Use to style the previous button control.
|
|
230
|
+
*/
|
|
231
|
+
"auro-slideshow": Partial<
|
|
232
|
+
AuroSlideshowProps & BaseProps<AuroSlideshow> & BaseEvents
|
|
233
|
+
>;
|
|
234
|
+
};
|
|
118
235
|
|
|
236
|
+
export type CustomElementsSolidJs = {
|
|
119
237
|
/**
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
238
|
+
* The `auro-slideshow` element is a customizable slideshow that displays a series of slides
|
|
239
|
+
* with several options such as autoplay, navigation controls, and pagination dots.
|
|
240
|
+
*
|
|
241
|
+
* ## Attributes & Properties
|
|
242
|
+
*
|
|
243
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
244
|
+
*
|
|
245
|
+
* - `autoplay`: If true, the slideshow will play automatically.
|
|
246
|
+
* - `autoscroll`/`autoScroll`: If true, the slideshow will scroll continuously.
|
|
247
|
+
* - `delay`: Slide duration in milliseconds (Only used with `autoplay`).
|
|
248
|
+
* - `fullbleed`/`fullBleed`: 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.
|
|
249
|
+
* - `loop`: If true, the slideshow will loop back to the first slide after reaching the last slide.
|
|
250
|
+
* - `navigation`: If true, the slideshow will display navigation arrows for previous and next slides when the slide container is hovered.
|
|
251
|
+
* - `pagination`: If true, the slideshow will display pagination dots for each slide. If autoplay is on, the active dot will also show a progress bar.
|
|
252
|
+
* - `playoninit`/`playOnInit`: If true, the slideshow will start playing automatically on page load when `autoplay` or `autoScroll` are on.
|
|
253
|
+
* - `scrollspeed`/`scrollSpeed`: Number of pixels auto scroll should advance per frame (Only used with `autoScroll`).
|
|
254
|
+
* - `startdelay`/`startDelay`: Delay in milliseconds before the auto scroll starts (Only used with `autoScroll`).
|
|
255
|
+
* - `pauselabel`/`pauseLabel`: Accessible label for the pause button. **Deprecated:** use `ariaLabel.slideshow.pause` instead.
|
|
256
|
+
* - `playlabel`/`playLabel`: Accessible label for the play button. **Deprecated:** use `ariaLabel.slideshow.play` instead.
|
|
257
|
+
* - `_createWidthProp`: Calculate the width of the slideshow-wrapper and attach a css property to the host element '--slideshow-width' (property only)
|
|
258
|
+
* - `_customAlign`: Calculate the difference between the left edge of the slideshow-wrapper and the embla container (property only) (readonly)
|
|
259
|
+
* - `_dotsNode`: undefined (property only) (readonly)
|
|
260
|
+
* - `_nextBtn`: undefined (property only) (readonly)
|
|
261
|
+
* - `_playBtn`: undefined (property only) (readonly)
|
|
262
|
+
* - `_prevBtn`: undefined (property only) (readonly)
|
|
263
|
+
* - `_progressNode`: undefined (property only) (readonly)
|
|
264
|
+
* - `_slideshowPaddingSize`: undefined (property only) (readonly)
|
|
265
|
+
* - `_slideshowWrapperNode`: undefined (property only) (readonly)
|
|
266
|
+
* - `_slot`: undefined (property only) (readonly)
|
|
267
|
+
*
|
|
268
|
+
* ## Slots
|
|
269
|
+
*
|
|
270
|
+
* Areas where markup can be added to the component.
|
|
271
|
+
*
|
|
272
|
+
* - `(default)`: Default slot for the slides. Each child element will be treated as a slide.
|
|
273
|
+
* - `ariaLabel.scroll.left`: The aria-label for the button navigating to the previous slide. Default is "Previous slide".
|
|
274
|
+
* - `ariaLabel.scroll.right`: The aria-label for the button navigating to the next slide. Default is "Next slide".
|
|
275
|
+
* - `ariaLabel.slideshow.pause`: The aria-label for the button that pauses the slideshow. Default is "Pause slideshow".
|
|
276
|
+
* - `ariaLabel.slideshow.play`: The aria-label for the button that starts the slideshow. Default is "Play slideshow".
|
|
277
|
+
*
|
|
278
|
+
* ## Methods
|
|
279
|
+
*
|
|
280
|
+
* Methods that can be called to access component functionality.
|
|
281
|
+
*
|
|
282
|
+
* - `_initializeDefaults() => void`: undefined
|
|
283
|
+
* - `play() => void`: Starts the slideshow playback.
|
|
284
|
+
* - `register(name?: string = "auro-slideshow") => void`: Registers the custom element with the browser.
|
|
285
|
+
* - `scrollNext() => void`: Scrolls to the next slide.
|
|
286
|
+
* - `scrollPrev() => void`: Scrolls to the previous slide.
|
|
287
|
+
* - `stop() => void`: Stops the slideshow playback.
|
|
288
|
+
*
|
|
289
|
+
* ## CSS Parts
|
|
290
|
+
*
|
|
291
|
+
* Custom selectors for styling elements within the component.
|
|
292
|
+
*
|
|
293
|
+
* - `next-button`: Use to style the next button control.
|
|
294
|
+
* - `play-pause-button`: Use to style the play/pause button control.
|
|
295
|
+
* - `prev-button`: Use to style the previous button control.
|
|
296
|
+
*/
|
|
297
|
+
"auro-slideshow": Partial<
|
|
298
|
+
AuroSlideshowProps &
|
|
299
|
+
AuroSlideshowSolidJsProps &
|
|
300
|
+
BaseProps<AuroSlideshow> &
|
|
301
|
+
BaseEvents
|
|
302
|
+
>;
|
|
303
|
+
};
|
|
182
304
|
|
|
183
|
-
export type CustomCssProperties = {
|
|
305
|
+
export type CustomCssProperties = {};
|
|
184
306
|
|
|
307
|
+
declare module "react" {
|
|
308
|
+
namespace JSX {
|
|
309
|
+
interface IntrinsicElements extends CustomElements {}
|
|
310
|
+
}
|
|
185
311
|
}
|
|
186
312
|
|
|
313
|
+
declare module "react/jsx-runtime" {
|
|
314
|
+
namespace JSX {
|
|
315
|
+
interface IntrinsicElements extends CustomElements {}
|
|
316
|
+
}
|
|
317
|
+
}
|
|
187
318
|
|
|
188
|
-
declare module
|
|
319
|
+
declare module "react/jsx-dev-runtime" {
|
|
189
320
|
namespace JSX {
|
|
190
321
|
interface IntrinsicElements extends CustomElements {}
|
|
191
322
|
}
|
|
192
|
-
|
|
193
323
|
}
|
|
194
324
|
|
|
195
|
-
declare module
|
|
325
|
+
declare module "preact" {
|
|
196
326
|
namespace JSX {
|
|
197
327
|
interface IntrinsicElements extends CustomElements {}
|
|
198
328
|
}
|
|
199
|
-
|
|
200
329
|
}
|
|
201
330
|
|
|
202
|
-
declare module
|
|
331
|
+
declare module "@builder.io/qwik" {
|
|
203
332
|
namespace JSX {
|
|
204
333
|
interface IntrinsicElements extends CustomElements {}
|
|
205
334
|
}
|
|
206
|
-
|
|
207
335
|
}
|
|
208
336
|
|
|
209
|
-
declare module
|
|
337
|
+
declare module "@stencil/core" {
|
|
210
338
|
namespace JSX {
|
|
211
339
|
interface IntrinsicElements extends CustomElements {}
|
|
212
340
|
}
|
|
213
|
-
|
|
214
341
|
}
|
|
215
342
|
|
|
216
|
-
declare module
|
|
343
|
+
declare module "hono/jsx" {
|
|
217
344
|
namespace JSX {
|
|
218
345
|
interface IntrinsicElements extends CustomElements {}
|
|
219
346
|
}
|
|
220
|
-
|
|
221
347
|
}
|
|
222
348
|
|
|
223
|
-
declare module
|
|
349
|
+
declare module "react-native" {
|
|
224
350
|
namespace JSX {
|
|
225
351
|
interface IntrinsicElements extends CustomElements {}
|
|
226
352
|
}
|
|
227
|
-
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
declare module "solid-js" {
|
|
356
|
+
namespace JSX {
|
|
357
|
+
interface IntrinsicElements extends CustomElementsSolidJs {}
|
|
358
|
+
}
|
|
228
359
|
}
|
|
229
360
|
|
|
230
361
|
declare global {
|
|
231
362
|
namespace JSX {
|
|
232
363
|
interface IntrinsicElements extends CustomElements {}
|
|
233
364
|
}
|
|
234
|
-
|
|
235
365
|
}
|
|
236
366
|
declare global {
|
|
237
367
|
namespace svelteHTML {
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{A as AuroSlideshow}from"./auro-slideshow-
|
|
1
|
+
export{A as AuroSlideshow}from"./auro-slideshow-Di9AtYIy.js";import"lit";import"lit/static-html.js";import"lit/directives/class-map.js";import"lit/directives/if-defined.js";
|
package/dist/registered.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{A as i}from"./auro-slideshow-
|
|
1
|
+
import{A as i}from"./auro-slideshow-Di9AtYIy.js";import"lit";import"lit/static-html.js";import"lit/directives/class-map.js";import"lit/directives/if-defined.js";i.register();
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"================================================================================"
|
|
8
8
|
],
|
|
9
9
|
"name": "@aurodesignsystem-dev/auro-slideshow",
|
|
10
|
-
"version": "0.0.0-
|
|
10
|
+
"version": "0.0.0-pr79.0",
|
|
11
11
|
"description": "auro-slideshow HTML custom element",
|
|
12
12
|
"repository": {
|
|
13
13
|
"type": "git",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@alaskaairux/icons": "^5.14.0",
|
|
28
28
|
"@aurodesignsystem/auro-button": "^12.3.0",
|
|
29
|
-
"@aurodesignsystem/auro-cli": "^
|
|
29
|
+
"@aurodesignsystem/auro-cli": "^4.1.0",
|
|
30
30
|
"@aurodesignsystem/auro-config": "^1.3.1",
|
|
31
31
|
"@aurodesignsystem/auro-icon": "^9.1.1",
|
|
32
32
|
"@aurodesignsystem/auro-library": "^5.5.4",
|
|
@@ -57,7 +57,8 @@
|
|
|
57
57
|
"web components"
|
|
58
58
|
],
|
|
59
59
|
"scripts": {
|
|
60
|
-
"build": "auro build",
|
|
60
|
+
"build": "auro build && npm run cem:check",
|
|
61
|
+
"cem:check": "auro cem-check --strict",
|
|
61
62
|
"build:version": "node ./scripts/version.mjs",
|
|
62
63
|
"dev": "auro dev -w -s",
|
|
63
64
|
"dev:open": "auro dev -w -s --open",
|
|
@@ -88,6 +89,7 @@
|
|
|
88
89
|
"files": [
|
|
89
90
|
"dist/**/*",
|
|
90
91
|
"demo/**/*",
|
|
92
|
+
"custom-elements.json",
|
|
91
93
|
"CHANGELOG.md",
|
|
92
94
|
"README.md",
|
|
93
95
|
"LICENSE",
|