@aurodesignsystem-dev/auro-slideshow 0.0.0-pr42.1 → 0.0.0-pr44.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/README.md +4 -9
- package/demo/api.html +7 -15
- package/demo/auro-slideshow.min.js +170 -61
- package/demo/index.html +7 -15
- package/demo/index.md +4 -9
- package/dist/auro-slideshow-MnLDmKSu.js +109 -0
- package/dist/index.d.ts +8 -8
- package/dist/index.js +1 -1
- package/dist/registered.js +1 -1
- package/package.json +11 -12
- package/dist/auro-slideshow-Dw9mAWQn.js +0 -109
package/README.md
CHANGED
|
@@ -23,22 +23,17 @@ The following sections are editable by making changes to the following files:
|
|
|
23
23
|
<!-- The below content is automatically added from ./docs/partials/description.md -->
|
|
24
24
|
`<auro-slideshow>` is an [HTML custom element](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements) for the purpose of displaying a sequence of slides, which can automatically advance through the content or be manually controlled by the user.
|
|
25
25
|
|
|
26
|
-
The `<auro-slideshow>` component is a wrapper element. All slides are slotted content and must be direct children of the component.
|
|
26
|
+
The `<auro-slideshow>` component is a wrapper element. All slides are slotted content and must be direct children of the component.
|
|
27
27
|
|
|
28
28
|
`<auro-slideshow>` is a fully customizable component and does not come with any features turned on by default. The features of `<auro-slideshow>` are turned on by including the proper attributes on the element.
|
|
29
29
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
30
30
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/readmeAddlInfo.md) -->
|
|
31
|
-
<!-- The below content is automatically added from ./docs/partials/readmeAddlInfo.md -->
|
|
32
|
-
|
|
33
|
-
### Properties usage
|
|
34
|
-
|
|
31
|
+
<!-- The below content is automatically added from ./docs/partials/readmeAddlInfo.md -->
|
|
35
32
|
`autoplay` and `autoScroll` are mutually exclusive properties and should not be used together on the same component instance.
|
|
36
33
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
### Mobile behavior
|
|
34
|
+
On mobile devices, `autoScroll` and `navigation` controls are automatically disabled.
|
|
40
35
|
|
|
41
|
-
|
|
36
|
+
Both `navigation` and `pagination` can be used together, but at least one must be used to give users a clear way to control the slides manually.
|
|
42
37
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
43
38
|
|
|
44
39
|
## UI development browser support
|
package/demo/api.html
CHANGED
|
@@ -16,21 +16,13 @@
|
|
|
16
16
|
<head>
|
|
17
17
|
<meta charset="UTF-8" />
|
|
18
18
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
19
|
-
<title>Auro Web Component
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
<link rel="stylesheet"
|
|
26
|
-
|
|
27
|
-
<!-- Design Token Alaska Theme -->
|
|
28
|
-
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/themes/alaska/CSSCustomProperties--alaska.min.css"/>
|
|
29
|
-
|
|
30
|
-
<!-- Webcore Stylesheet Alaska Theme -->
|
|
31
|
-
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/bundled/themes/alaska.global.min.css" />
|
|
32
|
-
|
|
33
|
-
<!-- Demo Specific Styles -->
|
|
19
|
+
<title>Auro Web Component Generator | auro-slideshow custom element</title>
|
|
20
|
+
<link
|
|
21
|
+
rel="stylesheet"
|
|
22
|
+
type="text/css"
|
|
23
|
+
href="https://cdn.jsdelivr.net/npm/prismjs@1.24.1/themes/prism.css"
|
|
24
|
+
/>
|
|
25
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/auro-classic/CSSCustomProperties.css">
|
|
34
26
|
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/demoWrapper.css" />
|
|
35
27
|
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/elementDemoStyles.css" />
|
|
36
28
|
</head>
|