@aurodesignsystem-dev/auro-loader 0.0.0-pr68.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,269 @@
1
+ # Semantic Release Automated Changelog
2
+
3
+ ## [5.1.2](https://github.com/AlaskaAirlines/auro-loader/compare/v5.1.1...v5.1.2) (2025-08-14)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * update auro-library to latest version ([84c5c09](https://github.com/AlaskaAirlines/auro-loader/commit/84c5c09598ed76313ae334ebc36917bcf3145353))
9
+
10
+ ## [5.1.1](https://github.com/AlaskaAirlines/auro-loader/compare/v5.1.0...v5.1.1) (2025-08-11)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * auro library was causing aqua scan failures ([0a3083f](https://github.com/AlaskaAirlines/auro-loader/commit/0a3083f2ab3197938b21090524b3118a79cdbf1c))
16
+
17
+ # [5.1.0](https://github.com/AlaskaAirlines/auro-loader/compare/v5.0.0...v5.1.0) (2025-07-01)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * update docs head content ([2e6ad7f](https://github.com/AlaskaAirlines/auro-loader/commit/2e6ad7fd4b424439fb2adafdae547be61c9eda33))
23
+
24
+
25
+ ### Features
26
+
27
+ * add themeable type classes ([b39308b](https://github.com/AlaskaAirlines/auro-loader/commit/b39308bd1f3354d82d6d31d3fd23f357ef12e5d4))
28
+
29
+ # [5.0.0](https://github.com/AlaskaAirlines/auro-loader/compare/v4.0.0...v5.0.0) (2025-04-07)
30
+
31
+
32
+ ### Performance Improvements
33
+
34
+ * update component to use newly released theming tokens [#58](https://github.com/AlaskaAirlines/auro-loader/issues/58) ([1e6cf61](https://github.com/AlaskaAirlines/auro-loader/commit/1e6cf613477af29f3d38b37cd5fa25082a6531d2))
35
+ * update dependencies and tsconfig ([5d8c4f9](https://github.com/AlaskaAirlines/auro-loader/commit/5d8c4f98e6f9cdde15014be43a8880a01ab98b75))
36
+
37
+
38
+ ### BREAKING CHANGES
39
+
40
+ * The `white` attribute has been removed.
41
+
42
+ # [4.0.0](https://github.com/AlaskaAirlines/auro-loader/compare/v3.1.4...v4.0.0) (2025-02-28)
43
+
44
+
45
+ * feat!: move peer dependencies to "real" dependencies ([8980093](https://github.com/AlaskaAirlines/auro-loader/commit/898009341d1bb99f5aeaffd7a20f96788b855ef6))
46
+
47
+
48
+ ### BREAKING CHANGES
49
+
50
+ * last change was breaking _on a patch version_ because of peer dependencies
51
+
52
+ Summary:
53
+ Our current build process relies on peer dependencies being present, but
54
+ the peer dependency pipeline is causing far more issues than it's worth.
55
+ Why not just make them regular dependencies? This is what this PR does :)
56
+
57
+ ## [3.1.4](https://github.com/AlaskaAirlines/auro-loader/compare/v3.1.3...v3.1.4) (2025-02-08)
58
+
59
+
60
+ ### Performance Improvements
61
+
62
+ * update dependencies ([da8021e](https://github.com/AlaskaAirlines/auro-loader/commit/da8021eaa0937f728c24a1006d75b344a0babd22))
63
+ * update package-lock error ([857fb7e](https://github.com/AlaskaAirlines/auro-loader/commit/857fb7e9d08d79cfa653d6008b6ccd9f152cd881))
64
+
65
+ ## [3.1.3](https://github.com/AlaskaAirlines/auro-loader/compare/v3.1.2...v3.1.3) (2024-12-21)
66
+
67
+
68
+ ### Performance Improvements
69
+
70
+ * update node to version 22 ([c5298af](https://github.com/AlaskaAirlines/auro-loader/commit/c5298af786bcb95e6c4e6efcecc7e83669a2d297))
71
+
72
+ ## [3.1.2](https://github.com/AlaskaAirlines/auro-loader/compare/v3.1.1...v3.1.2) (2024-11-21)
73
+
74
+
75
+ ### Bug Fixes
76
+
77
+ * update markdown partial pathing to consume new auro lib [#48](https://github.com/AlaskaAirlines/auro-loader/issues/48) ([075a82b](https://github.com/AlaskaAirlines/auro-loader/commit/075a82b306c7e95d1d5fa4295f501c6f407587c6))
78
+
79
+
80
+ ### Performance Improvements
81
+
82
+ * update library to 3.0.2 ([7eb49af](https://github.com/AlaskaAirlines/auro-loader/commit/7eb49af297236c151fb027b864d6ad7f27bf887b))
83
+
84
+ ## [3.1.1](https://github.com/AlaskaAirlines/auro-loader/compare/v3.1.0...v3.1.1) (2024-10-30)
85
+
86
+
87
+ ### Bug Fixes
88
+
89
+ * add package.lock ([9a745dc](https://github.com/AlaskaAirlines/auro-loader/commit/9a745dcb81b3715f9b5f51a0e133b51e8f466916))
90
+ * limit auro-library version to patch updates ([06041c1](https://github.com/AlaskaAirlines/auro-loader/commit/06041c13920864770fbdda8f604d8eafc2c51ea2))
91
+ * rollback auro-library to fix generateDoc scripting ([d71c779](https://github.com/AlaskaAirlines/auro-loader/commit/d71c779099e5736a3e6c08d7fa30b1cd5839a519))
92
+
93
+ # [3.1.0](https://github.com/AlaskaAirlines/auro-loader/compare/v3.0.1...v3.1.0) (2024-10-23)
94
+
95
+
96
+ ### Features
97
+
98
+ * **api:** add register static method [#44](https://github.com/AlaskaAirlines/auro-loader/issues/44) ([d5e5e65](https://github.com/AlaskaAirlines/auro-loader/commit/d5e5e65ddfc94e04e365413906042a1a99fe57fe))
99
+
100
+
101
+ ### Performance Improvements
102
+
103
+ * update dependency versions ([73c34e8](https://github.com/AlaskaAirlines/auro-loader/commit/73c34e8c16247eedfa3376c4a7799cebcc92c4df))
104
+
105
+ ## [3.0.1](https://github.com/AlaskaAirlines/auro-loader/compare/v3.0.0...v3.0.1) (2024-10-08)
106
+
107
+
108
+ ### Bug Fixes
109
+
110
+ * moves auro library to dependencies in package.json [#42](https://github.com/AlaskaAirlines/auro-loader/issues/42) ([e280256](https://github.com/AlaskaAirlines/auro-loader/commit/e28025695c7b3bc79e28ff8d9678e75c23169aea))
111
+
112
+ # [3.0.0](https://github.com/AlaskaAirlines/auro-loader/compare/v2.1.0...v3.0.0) (2024-09-24)
113
+
114
+
115
+ ### Bug Fixes
116
+
117
+ * update path to component js file ([a30ed95](https://github.com/AlaskaAirlines/auro-loader/commit/a30ed9590298979c3a2bf98d8e3ade47084620c9))
118
+
119
+
120
+ ### Performance Improvements
121
+
122
+ * update dependencies ([8481564](https://github.com/AlaskaAirlines/auro-loader/commit/8481564faf9cf7775e91cdfdd902845871413959))
123
+
124
+
125
+ ### BREAKING CHANGES
126
+
127
+ * trigger major release for theming support #31
128
+
129
+ # [2.1.0](https://github.com/AlaskaAirlines/auro-loader/compare/v2.0.6...v2.1.0) (2024-09-23)
130
+
131
+
132
+ ### Bug Fixes
133
+
134
+ * **color:** resolve minor color theming issues [#32](https://github.com/AlaskaAirlines/auro-loader/issues/32) ([b4359cc](https://github.com/AlaskaAirlines/auro-loader/commit/b4359cc338a24eeccab24155f833e956f8cd7b34))
135
+
136
+
137
+ ### Features
138
+
139
+ * add function to handle custom name registration ([a9da87a](https://github.com/AlaskaAirlines/auro-loader/commit/a9da87a7d8cbd476c98020eb8f9f6383057e470c))
140
+ * refactor color styles to use tier 3 tokens ([c6e6275](https://github.com/AlaskaAirlines/auro-loader/commit/c6e627589c77b7653e191df16be217bd481e7e90))
141
+
142
+
143
+ ### Performance Improvements
144
+
145
+ * point to use shared library scripts for build process ([8946612](https://github.com/AlaskaAirlines/auro-loader/commit/89466121c2689d65037c1093a1dc579f0bd866cd))
146
+ * refactor custom component registration config [#34](https://github.com/AlaskaAirlines/auro-loader/issues/34) ([9ca1854](https://github.com/AlaskaAirlines/auro-loader/commit/9ca1854ce579b826f15861418cdf954a5974245c))
147
+ * update dependencies ([5235e4f](https://github.com/AlaskaAirlines/auro-loader/commit/5235e4f9cbfda80bf0781a16eed55188b6c87763))
148
+
149
+ ## [2.0.6](https://github.com/AlaskaAirlines/auro-loader/compare/v2.0.5...v2.0.6) (2024-02-21)
150
+
151
+
152
+ ### Performance Improvements
153
+
154
+ * **docs:** update to include custom registration example ([ce100f4](https://github.com/AlaskaAirlines/auro-loader/commit/ce100f4b9a1ebc7aabe40a850fd254781103cd34))
155
+
156
+ ## [2.0.5](https://github.com/AlaskaAirlines/auro-loader/compare/v2.0.4...v2.0.5) (2024-02-18)
157
+
158
+
159
+ ### Bug Fixes
160
+
161
+ * **docs:** fix broken readme build ([55d5aa7](https://github.com/AlaskaAirlines/auro-loader/commit/55d5aa78b2b2f857d5cfb601490a65529b925496))
162
+
163
+
164
+ ### Performance Improvements
165
+
166
+ * **modernize:** rebuild component using generator build [#27](https://github.com/AlaskaAirlines/auro-loader/issues/27) ([37e6929](https://github.com/AlaskaAirlines/auro-loader/commit/37e6929d100b4311cf09189ce7273cdccbeabacb))
167
+
168
+ ## [2.0.4](https://github.com/AlaskaAirlines/auro-loader/compare/v2.0.3...v2.0.4) (2024-02-11)
169
+
170
+
171
+ ### Performance Improvements
172
+
173
+ * update deps and add ESM support badge ([35ed22c](https://github.com/AlaskaAirlines/auro-loader/commit/35ed22cfceff879743724f0f3b0f27be7c49e5ec))
174
+
175
+ ## [2.0.3](https://github.com/AlaskaAirlines/auro-loader/compare/v2.0.2...v2.0.3) (2024-01-31)
176
+
177
+
178
+ ### Performance Improvements
179
+
180
+ * alaskaairux ref updates ([a7ad5f9](https://github.com/AlaskaAirlines/auro-loader/commit/a7ad5f9bc7eccbe0440b3b8eedf57637c0427921))
181
+
182
+ ## [2.0.2](https://github.com/AlaskaAirlines/auro-loader/compare/v2.0.1...v2.0.2) (2024-01-27)
183
+
184
+
185
+ ### Performance Improvements
186
+
187
+ * update index per SSR support ([bcbfaff](https://github.com/AlaskaAirlines/auro-loader/commit/bcbfaff4fbd18e3e806049c7ad9861efe3a06951))
188
+
189
+ ## [2.0.1](https://github.com/AlaskaAirlines/auro-loader/compare/v2.0.0...v2.0.1) (2024-01-22)
190
+
191
+
192
+ ### Performance Improvements
193
+
194
+ * update dependencies and lit-element refs ([233a22b](https://github.com/AlaskaAirlines/auro-loader/commit/233a22b1d6d77f6dce31a5347533024f04ae52ac))
195
+
196
+ # [2.0.0](https://github.com/AlaskaAirlines/auro-loader/compare/v1.1.1...v2.0.0) (2024-01-20)
197
+
198
+
199
+ ### Documentation
200
+
201
+ * address all API exampled ([1f12759](https://github.com/AlaskaAirlines/auro-loader/commit/1f12759301c9449a1a6a37482610d23a337ed699))
202
+
203
+
204
+ ### Features
205
+
206
+ * add support for SSR projects ([236e41d](https://github.com/AlaskaAirlines/auro-loader/commit/236e41da33db8e7606a82c26be9a41e7cc2a5842))
207
+
208
+
209
+ ### BREAKING CHANGES
210
+
211
+ * This commit adds all the necessary code examples needed for the API
212
+ illustrations.
213
+
214
+ This commit also removes the code for the unused XL and
215
+ XXS variants.
216
+
217
+ Changes to be committed:
218
+ new file: apiExamples/api_large.html
219
+ new file: apiExamples/api_medium.html
220
+ new file: apiExamples/api_small.html
221
+ new file: apiExamples/api_xs.html
222
+ modified: apiExamples/custom_speed.html
223
+ modified: apiExamples/loaderGallery.html
224
+ modified: apiExamples/loader_sizes.html
225
+ new file: apiExamples/ondark.html
226
+ new file: apiExamples/onlight.html
227
+ new file: apiExamples/property_laser.html
228
+ new file: apiExamples/property_orbit.html
229
+ new file: apiExamples/property_pulse.html
230
+ new file: apiExamples/property_ringworm.html
231
+ new file: apiExamples/white.html
232
+ modified: demo/api.html
233
+ modified: demo/api.md
234
+ modified: demo/demo.md
235
+ modified: docs/api.md
236
+ modified: docs/partials/api.md
237
+ modified: scripts/generateDocs.mjs
238
+ modified: src/auro-loader.js
239
+ modified: src/styles/_base.scss
240
+ modified: src/styles/_orbit.scss
241
+
242
+ ## [1.1.1](https://github.com/AlaskaAirlines/auro-loader/compare/v1.1.0...v1.1.1) (2021-08-03)
243
+
244
+
245
+ ### Bug Fixes
246
+
247
+ * default boolean props to false [#11](https://github.com/AlaskaAirlines/auro-loader/issues/11) ([27c06b6](https://github.com/AlaskaAirlines/auro-loader/commit/27c06b66a3770cf6208a2627ccad4a74ffed58ce))
248
+
249
+ # [1.1.0](https://github.com/AlaskaAirlines/auro-loader/compare/v1.0.1...v1.1.0) (2021-03-04)
250
+
251
+
252
+ ### Features
253
+
254
+ * add xs and xxs sizes ([4a8887b](https://github.com/AlaskaAirlines/auro-loader/commit/4a8887bb3db8c49ca5bab8e6d2585fbb3e78b3b4))
255
+
256
+ ## [1.0.1](https://github.com/AlaskaAirlines/auro-loader/compare/v1.0.0...v1.0.1) (2021-02-19)
257
+
258
+
259
+ ### Bug Fixes
260
+
261
+ * reflect properties to attributes ([4a73298](https://github.com/AlaskaAirlines/auro-loader/commit/4a73298bdf348a4b0b5e72628256bb9eabd1e716))
262
+
263
+ # 1.0.0 (2020-12-03)
264
+
265
+
266
+ ### Features
267
+
268
+ * initial build ([99f8f73](https://github.com/AlaskaAirlines/auro-loader/commit/99f8f73f02e201971a9baa4b4435b148a5b7adad))
269
+ * manage a11y animations ([8d03dde](https://github.com/AlaskaAirlines/auro-loader/commit/8d03ddea9cc871036e71f84cd248ab43e606796f))
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,152 @@
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
+ # Loader
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-loader>` is a [HTML custom element](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements) for the purpose of illustrating animated loaders.
25
+
26
+ Things take time. Sometimes we just need to take a second for some data to show up. For this Auro supports the `<auro-loader>` custom element. This powerful element supports multiple modes for use, `ringworm`, `orbit`, `pulse`, and `laser`.
27
+
28
+ And each of these modes support five size settings, `default`, `sm`, `md`, `lg`, and `xl`.
29
+
30
+ For color support `<auro-loader>` supports `currentColor`, this allows for any color set on the parent element to influence the color of the loader.
31
+
32
+ The `<auro-loader>` custom element also supports two pre-defined color modes: `onlight` and `ondark`.
33
+ <!-- AURO-GENERATED-CONTENT:END -->
34
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/readmeAddlInfo.md) -->
35
+ <!-- The below content is automatically added from ./docs/partials/readmeAddlInfo.md -->
36
+ <!-- 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. -->
37
+ <!-- AURO-GENERATED-CONTENT:END -->
38
+
39
+ ## UI development browser support
40
+
41
+ <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/auro-templates/main/templates/default/partials/browserSupport.md) -->
42
+ For the most up to date information on [UI development browser support](https://auro.alaskaair.com/support/browsersSupport)
43
+
44
+ <!-- AURO-GENERATED-CONTENT:END -->
45
+
46
+ ## Install
47
+
48
+ <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/auro-templates/main/templates/default/partials/usage/componentInstall.md) -->
49
+ [![Build Status](https://img.shields.io/github/actions/workflow/status/AlaskaAirlines/auro-loader/testPublish.yml?style=for-the-badge)](https://github.com/AlaskaAirlines/auro-loader/actions/workflows/testPublish.yml)
50
+ [![See it on NPM!](https://img.shields.io/npm/v/@aurodesignsystem/auro-loader?style=for-the-badge&color=orange)](https://www.npmjs.com/package/@aurodesignsystem/auro-loader)
51
+ [![License](https://img.shields.io/npm/l/@aurodesignsystem/auro-loader?color=blue&style=for-the-badge)](https://www.apache.org/licenses/LICENSE-2.0)
52
+ ![ESM supported](https://img.shields.io/badge/ESM-compatible-FFE900?style=for-the-badge)
53
+
54
+ ```shell
55
+ $ npm i @aurodesignsystem/auro-loader
56
+ ```
57
+
58
+ <!-- AURO-GENERATED-CONTENT:END -->
59
+
60
+ ### Design Token CSS Custom Property dependency
61
+
62
+ <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/auro-templates/main/templates/default/partials/development/designTokens.md) -->
63
+ The use of any Auro custom element has a dependency on the [Auro Design Tokens](https://auro.alaskaair.com/getting-started/developers/design-tokens).
64
+
65
+ <!-- AURO-GENERATED-CONTENT:END -->
66
+
67
+ ### Define dependency in project component
68
+
69
+ <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/auro-templates/main/templates/default/partials/usage/componentImportDescription.md) -->
70
+ Defining the component dependency within each component that is using the `<auro-loader>` component.
71
+
72
+ <!-- AURO-GENERATED-CONTENT:END -->
73
+ <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/auro-templates/main/templates/default/partials/usage/componentImport.md) -->
74
+
75
+ ```js
76
+ import "@aurodesignsystem/auro-loader";
77
+ ```
78
+
79
+ <!-- AURO-GENERATED-CONTENT:END -->
80
+ **Reference component in HTML**
81
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./apiExamples/basic.html) -->
82
+ <!-- The below code snippet is automatically added from ./apiExamples/basic.html -->
83
+
84
+ ```html
85
+ <auro-loader ringworm></auro-loader>
86
+ <auro-loader orbit></auro-loader>
87
+ <auro-loader pulse></auro-loader>
88
+ <auro-loader laser></auro-loader>
89
+ ```
90
+ <!-- AURO-GENERATED-CONTENT:END -->
91
+
92
+ ## Use CDN
93
+
94
+ <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/auro-templates/main/templates/default/partials/usage/bundleInstallDescription.md) -->
95
+ 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.
96
+
97
+ ```html
98
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-loader@latest/+esm"></script>
99
+ ```
100
+
101
+ <!-- AURO-GENERATED-CONTENT:END -->
102
+
103
+ ## auro-loader use cases
104
+
105
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/useCases.md) -->
106
+ <!-- The below content is automatically added from ./docs/partials/useCases.md -->
107
+ The `<auro-loader>` element should be used in situations where developers may need to illustrate a wait time for their users.
108
+ <!-- AURO-GENERATED-CONTENT:END -->
109
+
110
+ ## API Code Examples
111
+
112
+ ### Default auro-loader
113
+
114
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./apiExamples/basic.html) -->
115
+ <!-- The below code snippet is automatically added from ./apiExamples/basic.html -->
116
+
117
+ ```html
118
+ <auro-loader ringworm></auro-loader>
119
+ <auro-loader orbit></auro-loader>
120
+ <auro-loader pulse></auro-loader>
121
+ <auro-loader laser></auro-loader>
122
+ ```
123
+ <!-- AURO-GENERATED-CONTENT:END -->
124
+
125
+ ## Development
126
+
127
+ <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/auro-templates/main/templates/default/partials/development/developmentDescription.md) -->
128
+ In order to develop against this project, if you are not part of the core team, you will be required to fork the project prior to submitting a pull request.
129
+
130
+ Please be sure to review the [contribution guidelines](https://auro.alaskaair.com/contributing) for this project. Please make sure to **pay special attention** to the **conventional commits** section of the document.
131
+
132
+ <!-- AURO-GENERATED-CONTENT:END -->
133
+
134
+ ### Start development environment
135
+
136
+ <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/auro-templates/main/templates/default/partials/development/localhost.md) -->
137
+ Once the project has been cloned to your local resource and you have installed all the dependencies you will need to open a shell session to run the **dev server**.
138
+
139
+ ```shell
140
+ $ npm run dev
141
+ ```
142
+
143
+ Open [localhost:8000](http://localhost:8000/)
144
+
145
+ <!-- AURO-GENERATED-CONTENT:END -->
146
+
147
+ ### Testing
148
+
149
+ <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/auro-templates/main/templates/default/partials/development/testing.md) -->
150
+ Automated tests are required for every Auro component. See `.\test\auro-loader.test.js` for the tests for this component. Run `npm run test` to run the tests and check code coverage. Tests must pass and meet a certain coverage threshold to commit. See [the testing documentation](https://auro.alaskaair.com/support/tests) for more details.
151
+
152
+ <!-- AURO-GENERATED-CONTENT:END -->