@aurodesignsystem-dev/auro-carousel 0.0.0-pr140.0 → 0.0.0-pr142.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 +77 -87
- package/demo/api.md +366 -365
- package/demo/api.min.js +717 -2
- package/demo/index.md +42 -42
- package/demo/index.min.js +716 -1
- package/demo/readme.md +164 -0
- package/dist/auro-carousel-nUna7XQs.js +144 -0
- package/dist/index.d.ts +207 -83
- package/dist/index.js +1 -1
- package/dist/registered.js +1 -1
- package/package.json +8 -8
- package/demo/auro-carousel.min.js +0 -677
- package/dist/auro-carousel-D1ntQpGY.js +0 -121
package/demo/index.md
CHANGED
|
@@ -8,17 +8,17 @@
|
|
|
8
8
|
|
|
9
9
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../docs/partials/description.md) -->
|
|
10
10
|
<!-- The below content is automatically added from ./../docs/partials/description.md -->
|
|
11
|
-
`<auro-carousel>` is
|
|
11
|
+
`<auro-carousel>` is an [HTML custom element](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements) that displays a group of elements in a scrollable container.
|
|
12
12
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
13
13
|
|
|
14
14
|
## Use Cases
|
|
15
15
|
|
|
16
16
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../docs/partials/useCases.md) -->
|
|
17
17
|
<!-- The below content is automatically added from ./../docs/partials/useCases.md -->
|
|
18
|
-
|
|
18
|
+
Use `<auro-carousel>` when people need to:
|
|
19
19
|
|
|
20
|
-
* Scroll through
|
|
21
|
-
* Scroll through
|
|
20
|
+
* Scroll through flight date options or shoulder dates
|
|
21
|
+
* Scroll through images
|
|
22
22
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
23
23
|
|
|
24
24
|
## Example(s)
|
|
@@ -26,48 +26,48 @@ The `<auro-carousel>` element should be used in situations where users may:
|
|
|
26
26
|
### Basic
|
|
27
27
|
|
|
28
28
|
<div class="exampleWrapper">
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
29
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
|
|
30
|
+
<!-- The below content is automatically added from ./../apiExamples/basic.html -->
|
|
31
|
+
<auro-carousel>
|
|
32
|
+
<span slot="ariaLabel">Flight date options</span>
|
|
33
|
+
<auro-pane date="2020-10-10" price="$435"></auro-pane>
|
|
34
|
+
<auro-pane date="2020-10-11" price="$435"></auro-pane>
|
|
35
|
+
<auro-pane date="2020-10-12" price="$435"></auro-pane>
|
|
36
|
+
<auro-pane date="2020-10-13" price="$435"></auro-pane>
|
|
37
|
+
<auro-pane date="2020-10-14" price="$435"></auro-pane>
|
|
38
|
+
<auro-pane date="2020-10-15" price="$435"></auro-pane>
|
|
39
|
+
<auro-pane date="2020-10-16" price="$435"></auro-pane>
|
|
40
|
+
<auro-pane date="2020-10-17" price="$435"></auro-pane>
|
|
41
|
+
<auro-pane date="2020-10-18" selected price="$435"></auro-pane>
|
|
42
|
+
<auro-pane date="2020-10-19" price="$435"></auro-pane>
|
|
43
|
+
<auro-pane date="2020-10-20" price="$435"></auro-pane>
|
|
44
|
+
<auro-pane date="2020-10-21" price="$435"></auro-pane>
|
|
45
|
+
<auro-pane date="2020-10-22" price="$435"></auro-pane>
|
|
46
|
+
<auro-pane date="2020-10-23" price="$435"></auro-pane>
|
|
47
|
+
</auro-carousel>
|
|
48
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
48
49
|
</div>
|
|
49
50
|
<auro-accordion alignRight>
|
|
50
|
-
|
|
51
|
+
<span slot="trigger">See code</span>
|
|
51
52
|
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/basic.html) -->
|
|
52
53
|
<!-- The below code snippet is automatically added from ./../apiExamples/basic.html -->
|
|
53
54
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
```
|
|
55
|
+
<pre class="language-html"><code class="language-html"><auro-carousel>
|
|
56
|
+
<span slot="ariaLabel">Flight date options</span>
|
|
57
|
+
<auro-pane date="2020-10-10" price="$435"></auro-pane>
|
|
58
|
+
<auro-pane date="2020-10-11" price="$435"></auro-pane>
|
|
59
|
+
<auro-pane date="2020-10-12" price="$435"></auro-pane>
|
|
60
|
+
<auro-pane date="2020-10-13" price="$435"></auro-pane>
|
|
61
|
+
<auro-pane date="2020-10-14" price="$435"></auro-pane>
|
|
62
|
+
<auro-pane date="2020-10-15" price="$435"></auro-pane>
|
|
63
|
+
<auro-pane date="2020-10-16" price="$435"></auro-pane>
|
|
64
|
+
<auro-pane date="2020-10-17" price="$435"></auro-pane>
|
|
65
|
+
<auro-pane date="2020-10-18" selected price="$435"></auro-pane>
|
|
66
|
+
<auro-pane date="2020-10-19" price="$435"></auro-pane>
|
|
67
|
+
<auro-pane date="2020-10-20" price="$435"></auro-pane>
|
|
68
|
+
<auro-pane date="2020-10-21" price="$435"></auro-pane>
|
|
69
|
+
<auro-pane date="2020-10-22" price="$435"></auro-pane>
|
|
70
|
+
<auro-pane date="2020-10-23" price="$435"></auro-pane>
|
|
71
|
+
</auro-carousel></code></pre>
|
|
72
72
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
73
73
|
</auro-accordion>
|