@aurodesignsystem-dev/auro-carousel 0.0.0-pr101.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/CHANGELOG.md ADDED
@@ -0,0 +1,243 @@
1
+ # Semantic Release Automated Changelog
2
+
3
+ ## [4.1.3](https://github.com/AlaskaAirlines/auro-carousel/compare/v4.1.2...v4.1.3) (2025-09-03)
4
+
5
+
6
+ ### Performance Improvements
7
+
8
+ * update button for icon fix and all other auro dependencies [#90](https://github.com/AlaskaAirlines/auro-carousel/issues/90) ([88c8090](https://github.com/AlaskaAirlines/auro-carousel/commit/88c8090eb4d1c51a1207e8605fcce1a0d2398696))
9
+
10
+ ## [4.1.2](https://github.com/AlaskaAirlines/auro-carousel/compare/v4.1.1...v4.1.2) (2025-08-15)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * update auro-library to latest version ([8bf7b85](https://github.com/AlaskaAirlines/auro-carousel/commit/8bf7b85eeead6486b1cf56bd8b5257dabd93ad8c))
16
+
17
+ ## [4.1.1](https://github.com/AlaskaAirlines/auro-carousel/compare/v4.1.0...v4.1.1) (2025-07-24)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * add themeable type classes ([bea5d2c](https://github.com/AlaskaAirlines/auro-carousel/commit/bea5d2c42bdf46ec528d5f34ca51030e6368d48d))
23
+ * linter errors ([b76de2a](https://github.com/AlaskaAirlines/auro-carousel/commit/b76de2a2ac6b134ac30a370502ccee352a2b440c))
24
+ * update docs head content ([d5c6b0a](https://github.com/AlaskaAirlines/auro-carousel/commit/d5c6b0a516ca583bca3e73264a5df9235f12ff6c))
25
+
26
+ # [4.1.0](https://github.com/AlaskaAirlines/auro-carousel/compare/v4.0.2...v4.1.0) (2025-05-30)
27
+
28
+
29
+ ### Features
30
+
31
+ * add CSS Part to enable styling ([2116ae1](https://github.com/AlaskaAirlines/auro-carousel/commit/2116ae199720d662b8b0af1c646e6d96e24fa6e3))
32
+
33
+ ## [4.0.2](https://github.com/AlaskaAirlines/auro-carousel/compare/v4.0.1...v4.0.2) (2025-04-28)
34
+
35
+
36
+ ### Performance Improvements
37
+
38
+ * update to use new color theming tokens [#81](https://github.com/AlaskaAirlines/auro-carousel/issues/81) ([592f485](https://github.com/AlaskaAirlines/auro-carousel/commit/592f48562f5c2a92e2d250b51e2567ada6a4bba1))
39
+
40
+ ## [4.0.1](https://github.com/AlaskaAirlines/auro-carousel/compare/v4.0.0...v4.0.1) (2025-04-08)
41
+
42
+
43
+ ### Performance Improvements
44
+
45
+ * add wca script for docs api ([b7febe0](https://github.com/AlaskaAirlines/auro-carousel/commit/b7febe0e1a33812b424cb199c83d8ff24383772b))
46
+
47
+ # [4.0.0](https://github.com/AlaskaAirlines/auro-carousel/compare/v3.2.4...v4.0.0) (2025-02-28)
48
+
49
+
50
+ * feat!: move peer dependencies to "real" dependencies ([fffe40d](https://github.com/AlaskaAirlines/auro-carousel/commit/fffe40dcdb4c37aef4e04c2484701482c885dc2d))
51
+
52
+
53
+ ### BREAKING CHANGES
54
+
55
+ * last change was breaking _on a patch version_ because of peer dependencies
56
+
57
+ Summary:
58
+ Our current build process relies on peer dependencies being present, but
59
+ the peer dependency pipeline is causing far more issues than it's worth.
60
+ Why not just make them regular dependencies? This is what this PR does :)
61
+
62
+ ## [3.2.4](https://github.com/AlaskaAirlines/auro-carousel/compare/v3.2.3...v3.2.4) (2025-02-08)
63
+
64
+
65
+ ### Performance Improvements
66
+
67
+ * update dependencies ([c59a216](https://github.com/AlaskaAirlines/auro-carousel/commit/c59a216531ff1a3f297e0d035019ca3d54552db9))
68
+ * update mixin per new WCSS spec ([f3631b7](https://github.com/AlaskaAirlines/auro-carousel/commit/f3631b72f532ed63202deed9ee3e3f617af80cc0))
69
+
70
+ ## [3.2.3](https://github.com/AlaskaAirlines/auro-carousel/compare/v3.2.2...v3.2.3) (2024-12-20)
71
+
72
+
73
+ ### Performance Improvements
74
+
75
+ * update node to version 22 ([523b2df](https://github.com/AlaskaAirlines/auro-carousel/commit/523b2dfac58496feba50275fab5025014a91866a))
76
+
77
+ ## [3.2.2](https://github.com/AlaskaAirlines/auro-carousel/compare/v3.2.1...v3.2.2) (2024-12-17)
78
+
79
+
80
+ ### Bug Fixes
81
+
82
+ * improve mobile UX for scroll behavior [#65](https://github.com/AlaskaAirlines/auro-carousel/issues/65) ([2c77ebc](https://github.com/AlaskaAirlines/auro-carousel/commit/2c77ebc5ddec33388cd5633989392ab534991f30))
83
+
84
+ ## [3.2.1](https://github.com/AlaskaAirlines/auro-carousel/compare/v3.2.0...v3.2.1) (2024-12-03)
85
+
86
+
87
+ ### Performance Improvements
88
+
89
+ * update all dependencies ([d165bb9](https://github.com/AlaskaAirlines/auro-carousel/commit/d165bb9c7df82aec6357e0b6eb05698113c4ad8d))
90
+
91
+ # [3.2.0](https://github.com/AlaskaAirlines/auro-carousel/compare/v3.1.1...v3.2.0) (2024-11-15)
92
+
93
+
94
+ ### Features
95
+
96
+ * upgrade auro-library to 3.0.1 ([886f52b](https://github.com/AlaskaAirlines/auro-carousel/commit/886f52b40be5098b633afc1efc5de5a438ea5b9f))
97
+
98
+
99
+ ### Performance Improvements
100
+
101
+ * update library to 3.0.2 ([3a9464f](https://github.com/AlaskaAirlines/auro-carousel/commit/3a9464f647ec94cdf156509d981842dadef59170))
102
+
103
+ ## [3.1.1](https://github.com/AlaskaAirlines/auro-carousel/compare/v3.1.0...v3.1.1) (2024-11-05)
104
+
105
+
106
+ ### Bug Fixes
107
+
108
+ * add correct gradient behavior [#47](https://github.com/AlaskaAirlines/auro-carousel/issues/47) [#51](https://github.com/AlaskaAirlines/auro-carousel/issues/51) ([5c5b5e4](https://github.com/AlaskaAirlines/auro-carousel/commit/5c5b5e4a093e49c2075dd01ebff2797e973561ed))
109
+
110
+
111
+ ### Performance Improvements
112
+
113
+ * cleanup bundle ([f3086db](https://github.com/AlaskaAirlines/auro-carousel/commit/f3086dba51103676e6c83024ebf2c3daa007aa46))
114
+
115
+ # [3.1.0](https://github.com/AlaskaAirlines/auro-carousel/compare/v3.0.1...v3.1.0) (2024-10-25)
116
+
117
+
118
+ ### Features
119
+
120
+ * **api:** add register static method [#57](https://github.com/AlaskaAirlines/auro-carousel/issues/57) ([9e74ae4](https://github.com/AlaskaAirlines/auro-carousel/commit/9e74ae466961ea66eb7e6d18033a7f883470f18d))
121
+
122
+ ## [3.0.1](https://github.com/AlaskaAirlines/auro-carousel/compare/v3.0.0...v3.0.1) (2024-10-08)
123
+
124
+
125
+ ### Bug Fixes
126
+
127
+ * moves auro library to dependencies in package.json [#55](https://github.com/AlaskaAirlines/auro-carousel/issues/55) ([6b0ed22](https://github.com/AlaskaAirlines/auro-carousel/commit/6b0ed22513121aef6c5fab5c237cbb3d6345b184))
128
+
129
+ # [3.0.0](https://github.com/AlaskaAirlines/auro-carousel/compare/v2.2.7...v3.0.0) (2024-09-30)
130
+
131
+
132
+ ### Features
133
+
134
+ * add tag name as attribute when custom registered ([7699c0c](https://github.com/AlaskaAirlines/auro-carousel/commit/7699c0cb75446b296b452c41ce11ef4256ebb6a4))
135
+ * **theming:** implement tier 3 tokens for theming support [#44](https://github.com/AlaskaAirlines/auro-carousel/issues/44) ([a6def0b](https://github.com/AlaskaAirlines/auro-carousel/commit/a6def0b0edc66c4770a4dafd5fdc45a5f1244640))
136
+ * **version:** implement custom versioned auro components ([d8166bf](https://github.com/AlaskaAirlines/auro-carousel/commit/d8166bfa9109730b2b5d822d6711c662633e4ce2))
137
+
138
+
139
+ ### Performance Improvements
140
+
141
+ * refactor custom component registration config ([59c6b0c](https://github.com/AlaskaAirlines/auro-carousel/commit/59c6b0cf7c8cdf448d5ed53515ee2e94129c98f5))
142
+ * update dependencies ([db6ec49](https://github.com/AlaskaAirlines/auro-carousel/commit/db6ec49db16db7eaa8cd05a057ecf10d21d9b533))
143
+
144
+
145
+ ### BREAKING CHANGES
146
+
147
+ * trigger major release for color theme support #44
148
+
149
+ ## [2.2.7](https://github.com/AlaskaAirlines/auro-carousel/compare/v2.2.6...v2.2.7) (2024-02-23)
150
+
151
+
152
+ ### Performance Improvements
153
+
154
+ * **deps:** update dependencies ([44c30ce](https://github.com/AlaskaAirlines/auro-carousel/commit/44c30ceceaa2391e51507918a7ce03de681c8b45))
155
+ * **min:** update minified js system for docsite ([6ce9240](https://github.com/AlaskaAirlines/auro-carousel/commit/6ce9240abe84736b1196bb149f72472a6b570968))
156
+
157
+ ## [2.2.6](https://github.com/AlaskaAirlines/auro-carousel/compare/v2.2.5...v2.2.6) (2024-02-13)
158
+
159
+
160
+ ### Performance Improvements
161
+
162
+ * **demo:** update demo file names [#40](https://github.com/AlaskaAirlines/auro-carousel/issues/40) ([16d883d](https://github.com/AlaskaAirlines/auro-carousel/commit/16d883dd389146b28d228c416a3f7e73c998c92c))
163
+
164
+ ## [2.2.5](https://github.com/AlaskaAirlines/auro-carousel/compare/v2.2.4...v2.2.5) (2024-02-13)
165
+
166
+
167
+ ### Performance Improvements
168
+
169
+ * update auro dependencies ([9ad327f](https://github.com/AlaskaAirlines/auro-carousel/commit/9ad327ff2e7287a6974f0aa21ec7e3072089eea6))
170
+
171
+ ## [2.2.4](https://github.com/AlaskaAirlines/auro-carousel/compare/v2.2.3...v2.2.4) (2024-02-11)
172
+
173
+
174
+ ### Performance Improvements
175
+
176
+ * update deps for ESM support ([ea4f12e](https://github.com/AlaskaAirlines/auro-carousel/commit/ea4f12e6db0793e4e3d3d3b75b3190d8f3df2b73))
177
+
178
+ ## [2.2.3](https://github.com/AlaskaAirlines/auro-carousel/compare/v2.2.2...v2.2.3) (2024-02-01)
179
+
180
+
181
+ ### Performance Improvements
182
+
183
+ * update auro dependencies ([fbf4534](https://github.com/AlaskaAirlines/auro-carousel/commit/fbf4534565039d4d02d1f13ef8b8ec295f29ccbd))
184
+
185
+ ## [2.2.2](https://github.com/AlaskaAirlines/auro-carousel/compare/v2.2.1...v2.2.2) (2024-01-30)
186
+
187
+
188
+ ### Performance Improvements
189
+
190
+ * **imports:** update docs and accordion import ([02dcc5e](https://github.com/AlaskaAirlines/auro-carousel/commit/02dcc5ed1ec8d87885c242cbd50c05dd5243d053))
191
+ * update repo with generator clean-install [#18](https://github.com/AlaskaAirlines/auro-carousel/issues/18) ([9aefc95](https://github.com/AlaskaAirlines/auro-carousel/commit/9aefc95de1e45794a25d62405a8486bdc79a3e42))
192
+
193
+ ## [2.2.1](https://github.com/AlaskaAirlines/auro-carousel/compare/v2.2.0...v2.2.1) (2024-01-27)
194
+
195
+
196
+ ### Performance Improvements
197
+
198
+ * update index per SSR support ([5678137](https://github.com/AlaskaAirlines/auro-carousel/commit/5678137ea45e646ecc3fcc575093f325ad150b3a))
199
+
200
+ # [2.2.0](https://github.com/AlaskaAirlines/auro-carousel/compare/v2.1.0...v2.2.0) (2024-01-21)
201
+
202
+
203
+ ### Features
204
+
205
+ * add suport for SSR projects [#36](https://github.com/AlaskaAirlines/auro-carousel/issues/36) ([0496029](https://github.com/AlaskaAirlines/auro-carousel/commit/0496029275c194107dfeba644cae8d12061c2697))
206
+
207
+
208
+ ### Performance Improvements
209
+
210
+ * update to support node js policy ([aa33893](https://github.com/AlaskaAirlines/auro-carousel/commit/aa33893bc56f08d25addbf688504341c0edb9406))
211
+
212
+ # [2.1.0](https://github.com/AlaskaAirlines/auro-carousel/compare/v2.0.1...v2.1.0) (2023-11-16)
213
+
214
+
215
+ ### Features
216
+
217
+ * **tokens:** update token prefix from auro to ds [#33](https://github.com/AlaskaAirlines/auro-carousel/issues/33) ([b8fbdeb](https://github.com/AlaskaAirlines/auro-carousel/commit/b8fbdebc0c7734267c9a29c5e31442e872195a16))
218
+
219
+
220
+ ### Performance Improvements
221
+
222
+ * **gradient:** update gradient for light backgrounds [#32](https://github.com/AlaskaAirlines/auro-carousel/issues/32) ([da67c85](https://github.com/AlaskaAirlines/auro-carousel/commit/da67c850b21d3ffae78a21a8fae4a446f3dc8aef))
223
+
224
+ ## [2.0.1](https://github.com/AlaskaAirlines/auro-carousel/compare/v2.0.0...v2.0.1) (2023-10-02)
225
+
226
+
227
+ ### Bug Fixes
228
+
229
+ * remove ref to SCSS custom selectors ([3e4a44b](https://github.com/AlaskaAirlines/auro-carousel/commit/3e4a44b47dbec9731816833c37e394953e83b7bc))
230
+
231
+ # [2.0.0](https://github.com/AlaskaAirlines/auro-carousel/compare/v1.4.0...v2.0.0) (2023-09-05)
232
+
233
+
234
+ ### Code Refactoring
235
+
236
+ * **base:** regenerate entire repo using latest generator version [#30](https://github.com/AlaskaAirlines/auro-carousel/issues/30) ([025a501](https://github.com/AlaskaAirlines/auro-carousel/commit/025a5017b33d69dde421dbcd33e74b42f29be552))
237
+
238
+
239
+ ### BREAKING CHANGES
240
+
241
+ * **base:** name space changed to @aurodesignsystem
242
+
243
+ @ mend
package/LICENSE ADDED
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
package/NOTICE ADDED
@@ -0,0 +1,2 @@
1
+ Alaska Airlines Auro Design System
2
+ Copyright 2024 Alaska Airlines, Inc. or its affiliates. All Rights Reserved.
package/README.md ADDED
@@ -0,0 +1,174 @@
1
+ <!--
2
+ The README.md file is a compiled document. No edits should be made directly to this file.
3
+
4
+ README.md is created by running `npm run build:docs`.
5
+
6
+ This file is generated based on a template fetched from
7
+ `https://raw.githubusercontent.com/AlaskaAirlines/auro-templates/main/templates/default/README.md`
8
+ and copied to `./componentDocs/README.md` each time the docs are compiled.
9
+
10
+ The following sections are editable by making changes to the following files:
11
+
12
+ | SECTION | DESCRIPTION | FILE LOCATION |
13
+ |------------------------|---------------------------------------------------|-------------------------------------|
14
+ | Description | Description of the component | `./docs/partials/description.md` |
15
+ | Use Cases | Examples for when to use this component | `./docs/partials/useCases.md` |
16
+ | Additional Information | For use to add any component specific information | `./docs/partials/readmeAddlInfo.md` |
17
+ | Component Example Code | HTML sample code of the components use | `./apiExamples/basic.html` |
18
+ -->
19
+
20
+ # Carousel
21
+
22
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/description.md) -->
23
+ <!-- The below content is automatically added from ./docs/partials/description.md -->
24
+ `<auro-carousel>` is a [HTML custom element](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements) for the purpose of displaying a group of elements in a scrollable container.
25
+ <!-- AURO-GENERATED-CONTENT:END -->
26
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/readmeAddlInfo.md) -->
27
+ <!-- The below content is automatically added from ./docs/partials/readmeAddlInfo.md -->
28
+ <!-- AURO-GENERATED-CONTENT This file is to be used for any additional content that should be included in the README.md which is specific to this component. -->
29
+ <!-- AURO-GENERATED-CONTENT:END -->
30
+
31
+ ## Use Cases
32
+
33
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/useCases.md) -->
34
+ <!-- The below content is automatically added from ./docs/partials/useCases.md -->
35
+ The `<auro-carousel>` element should be used in situations where users may:
36
+
37
+ * Scroll through multiple flight date options or shoulder dates
38
+ * Scroll through multiple images
39
+ <!-- AURO-GENERATED-CONTENT:END -->
40
+
41
+ ## Install
42
+
43
+ <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/auro-templates/main/templates/default/partials/usage/componentInstall.md) -->
44
+ [![Build Status](https://img.shields.io/github/actions/workflow/status/AlaskaAirlines/auro-carousel/release.yml?style=for-the-badge)](https://github.com/AlaskaAirlines/auro-carousel/actions/workflows/release.yml)
45
+ [![See it on NPM!](https://img.shields.io/npm/v/@aurodesignsystem/auro-carousel?style=for-the-badge&color=orange)](https://www.npmjs.com/package/@aurodesignsystem/auro-carousel)
46
+ [![License](https://img.shields.io/npm/l/@aurodesignsystem/auro-carousel?color=blue&style=for-the-badge)](https://www.apache.org/licenses/LICENSE-2.0)
47
+ ![ESM supported](https://img.shields.io/badge/ESM-compatible-FFE900?style=for-the-badge)
48
+
49
+ ```shell
50
+ $ npm i @aurodesignsystem/auro-carousel
51
+ ```
52
+
53
+ <!-- AURO-GENERATED-CONTENT:END -->
54
+
55
+ ### Define Dependency in Project
56
+
57
+ <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/auro-templates/main/templates/default/partials/usage/componentImportDescription.md) -->
58
+ Defining the dependency within each project that is using the `<auro-carousel>` component.
59
+
60
+ <!-- AURO-GENERATED-CONTENT:END -->
61
+ <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/auro-templates/main/templates/default/partials/usage/componentImport.md) -->
62
+
63
+ ```js
64
+ import "@aurodesignsystem/auro-carousel";
65
+ ```
66
+
67
+ <!-- AURO-GENERATED-CONTENT:END -->
68
+
69
+ ### Use CDN
70
+
71
+ <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/auro-templates/main/templates/default/partials/usage/bundleInstallDescription.md) -->
72
+ 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.
73
+
74
+ ```html
75
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-carousel@latest/+esm"></script>
76
+ ```
77
+
78
+ <!-- AURO-GENERATED-CONTENT:END -->
79
+
80
+ ## Basic Example
81
+
82
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./apiExamples/basic.html) -->
83
+ <!-- The below code snippet is automatically added from ./apiExamples/basic.html -->
84
+
85
+ ```html
86
+ <auro-carousel>
87
+ <auro-pane date="2020-10-10" price="$435"></auro-pane>
88
+ <auro-pane date="2020-10-11" price="$435"></auro-pane>
89
+ <auro-pane date="2020-10-12" price="$435"></auro-pane>
90
+ <auro-pane date="2020-10-13" price="$435"></auro-pane>
91
+ <auro-pane date="2020-10-14" price="$435"></auro-pane>
92
+ <auro-pane date="2020-10-15" price="$435"></auro-pane>
93
+ <auro-pane date="2020-10-16" price="$435"></auro-pane>
94
+ <auro-pane date="2020-10-17" price="$435"></auro-pane>
95
+ <auro-pane date="2020-10-18" selected price="$435"></auro-pane>
96
+ <auro-pane date="2020-10-19" price="$435"></auro-pane>
97
+ <auro-pane date="2020-10-16" price="$435"></auro-pane>
98
+ <auro-pane date="2020-10-17" price="$435"></auro-pane>
99
+ <auro-pane date="2020-10-18" price="$435"></auro-pane>
100
+ <auro-pane date="2020-10-19" price="$435"></auro-pane>
101
+ </auro-carousel>
102
+ ```
103
+ <!-- AURO-GENERATED-CONTENT:END -->
104
+
105
+ ## Custom Component Registration for Version Management
106
+
107
+ There are two key parts to every Auro component: the <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes">class</a> and the custom element definition.
108
+ The class defines the component’s behavior, while the custom element registers it under a specific name so it can be used in HTML.
109
+
110
+ When you install the component as described on the `Install` page, the class is imported automatically, and the component is registered globally for you.
111
+
112
+ However, if you need to load multiple versions of the same component on a single page (for example, when two projects depend on different versions), you can manually register the class under a custom element name to avoid conflicts.
113
+
114
+ You can do this by importing only the component class and using the `register(name)` method with a unique name:
115
+
116
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/customRegistration.md) -->
117
+ <!-- The below content is automatically added from ./docs/partials/customRegistration.md -->
118
+
119
+ ```js
120
+ // Import the class only
121
+ import { AuroCarousel } from '@aurodesignsystem/auro-carousel/class';
122
+
123
+ // Register with a custom name if desired
124
+ AuroCarousel.register('custom-carousel');
125
+ ```
126
+
127
+ This will create a new custom element `<custom-carousel>` that behaves exactly like `<auro-carousel>`, allowing both to coexist on the same page without interfering with each other.
128
+ <!-- AURO-GENERATED-CONTENT:END -->
129
+ <div class="exampleWrapper exampleWrapper--flex">
130
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./apiExamples/custom.html) -->
131
+ <!-- The below content is automatically added from ./apiExamples/custom.html -->
132
+ <custom-carousel label="Flight options" scrollDistance="420" id="demo1">
133
+ <auro-pane date="2020-10-10" price="$435"></auro-pane>
134
+ <auro-pane date="2020-10-11" price="$435"></auro-pane>
135
+ <auro-pane date="2020-10-12" price="$435"></auro-pane>
136
+ <auro-pane date="2020-10-13" selected price="$435"></auro-pane>
137
+ <auro-pane date="2020-10-14" price="$435" disabled></auro-pane>
138
+ <auro-pane date="2020-10-15" price="$435"></auro-pane>
139
+ <auro-pane date="2020-10-16" price="$435"></auro-pane>
140
+ <auro-pane date="2020-10-17" price="$435"></auro-pane>
141
+ <auro-pane date="2020-10-18" price="$435"></auro-pane>
142
+ <auro-pane date="2020-10-19" price="$435"></auro-pane>
143
+ <auro-pane date="2020-10-16" price="$435"></auro-pane>
144
+ <auro-pane date="2020-10-17" price="$435"></auro-pane>
145
+ <auro-pane date="2020-10-18" price="$435"></auro-pane>
146
+ <auro-pane date="2020-10-19" price="$435"></auro-pane>
147
+ </custom-carousel>
148
+ <!-- AURO-GENERATED-CONTENT:END -->
149
+ </div>
150
+ <auro-accordion alignRight>
151
+ <span slot="trigger">See code</span>
152
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./apiExamples/custom.html) -->
153
+ <!-- The below code snippet is automatically added from ./apiExamples/custom.html -->
154
+
155
+ ```html
156
+ <custom-carousel label="Flight options" scrollDistance="420" id="demo1">
157
+ <auro-pane date="2020-10-10" price="$435"></auro-pane>
158
+ <auro-pane date="2020-10-11" price="$435"></auro-pane>
159
+ <auro-pane date="2020-10-12" price="$435"></auro-pane>
160
+ <auro-pane date="2020-10-13" selected price="$435"></auro-pane>
161
+ <auro-pane date="2020-10-14" price="$435" disabled></auro-pane>
162
+ <auro-pane date="2020-10-15" price="$435"></auro-pane>
163
+ <auro-pane date="2020-10-16" price="$435"></auro-pane>
164
+ <auro-pane date="2020-10-17" price="$435"></auro-pane>
165
+ <auro-pane date="2020-10-18" price="$435"></auro-pane>
166
+ <auro-pane date="2020-10-19" price="$435"></auro-pane>
167
+ <auro-pane date="2020-10-16" price="$435"></auro-pane>
168
+ <auro-pane date="2020-10-17" price="$435"></auro-pane>
169
+ <auro-pane date="2020-10-18" price="$435"></auro-pane>
170
+ <auro-pane date="2020-10-19" price="$435"></auro-pane>
171
+ </custom-carousel>
172
+ ```
173
+ <!-- AURO-GENERATED-CONTENT:END -->
174
+ </auro-accordion>