@aurodesignsystem-dev/auro-sidenav 0.0.0-pr72.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,300 @@
1
+ # Semantic Release Automated Changelog
2
+
3
+ ## [4.1.2](https://github.com/AlaskaAirlines/auro-sidenav/compare/v4.1.1...v4.1.2) (2025-09-04)
4
+
5
+
6
+ ### Performance Improvements
7
+
8
+ * update accordion for icon fix and all other auro dependencies [#79](https://github.com/AlaskaAirlines/auro-sidenav/issues/79) ([7ea07f1](https://github.com/AlaskaAirlines/auro-sidenav/commit/7ea07f1d2de14b1041fdec3b704552959664a3a6))
9
+
10
+ ## [4.1.1](https://github.com/AlaskaAirlines/auro-sidenav/compare/v4.1.0...v4.1.1) (2025-08-01)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * update css import to use ([c9394a3](https://github.com/AlaskaAirlines/auro-sidenav/commit/c9394a3b2f5cbd15562f3ec109bc81d6e0538c90))
16
+ * update docs head content ([3f6247b](https://github.com/AlaskaAirlines/auro-sidenav/commit/3f6247bde5bd274e7d0009e7f73a8d42f08e51ff))
17
+ * update type to use classes ([0d71436](https://github.com/AlaskaAirlines/auro-sidenav/commit/0d71436b3e0abc5f7141eb72dfcd50e8fef609c5))
18
+
19
+ # [4.1.0](https://github.com/AlaskaAirlines/auro-sidenav/compare/v4.0.1...v4.1.0) (2025-04-30)
20
+
21
+
22
+ ### Bug Fixes
23
+
24
+ * update sidenavitem border styles ([703e849](https://github.com/AlaskaAirlines/auro-sidenav/commit/703e849e5e46c1078351dbcefe1bfb108dc5f181))
25
+
26
+
27
+ ### Features
28
+
29
+ * update to use new color theme tokens [#64](https://github.com/AlaskaAirlines/auro-sidenav/issues/64) ([31f2ed0](https://github.com/AlaskaAirlines/auro-sidenav/commit/31f2ed016f1184c635fa9ada690c2d802fc7c2e3))
30
+
31
+ ## [4.0.1](https://github.com/AlaskaAirlines/auro-sidenav/compare/v4.0.0...v4.0.1) (2025-04-15)
32
+
33
+
34
+ ### Performance Improvements
35
+
36
+ * add wca script for docs api ([10918b3](https://github.com/AlaskaAirlines/auro-sidenav/commit/10918b3b0322e84d648203e536dee004f7310abd))
37
+
38
+ # [4.0.0](https://github.com/AlaskaAirlines/auro-sidenav/compare/v3.1.4...v4.0.0) (2025-02-28)
39
+
40
+
41
+ * feat!: move peer dependencies to "real" dependencies ([bc767c3](https://github.com/AlaskaAirlines/auro-sidenav/commit/bc767c3cd0a01652454f3ea7b91ca0ab9393addf))
42
+
43
+
44
+ ### BREAKING CHANGES
45
+
46
+ * last change was breaking _on a patch version_ because of peer dependencies
47
+
48
+ Summary:
49
+ Our current build process relies on peer dependencies being present, but
50
+ the peer dependency pipeline is causing far more issues than it's worth.
51
+ Why not just make them regular dependencies? This is what this PR does :)
52
+
53
+ ## [3.1.4](https://github.com/AlaskaAirlines/auro-sidenav/compare/v3.1.3...v3.1.4) (2025-02-08)
54
+
55
+
56
+ ### Performance Improvements
57
+
58
+ * update dependencies ([d93f504](https://github.com/AlaskaAirlines/auro-sidenav/commit/d93f504bf6b83369d490868bc4a91242b9a65311))
59
+
60
+ ## [3.1.3](https://github.com/AlaskaAirlines/auro-sidenav/compare/v3.1.2...v3.1.3) (2024-12-27)
61
+
62
+
63
+ ### Performance Improvements
64
+
65
+ * update node and status checks for tests ([ce37cf5](https://github.com/AlaskaAirlines/auro-sidenav/commit/ce37cf5fd9638052eb7ac844f514d50d3b887d71))
66
+
67
+ # [3.1.0](https://github.com/AlaskaAirlines/auro-sidenav/compare/v3.0.1...v3.1.0) (2024-12-24)
68
+
69
+
70
+ ### Bug Fixes
71
+
72
+ * update markdown partial pathing to consume new auro lib [#40](https://github.com/AlaskaAirlines/auro-sidenav/issues/40) ([207b579](https://github.com/AlaskaAirlines/auro-sidenav/commit/207b579c745627fa60f3c7b708ee5bf382f23506))
73
+ * update markdown partial pathing to consume new auro lib [#40](https://github.com/AlaskaAirlines/auro-sidenav/issues/40) ([e305103](https://github.com/AlaskaAirlines/auro-sidenav/commit/e30510357c8166189ecb2d5b66cb355ca763697e))
74
+
75
+
76
+ ### Features
77
+
78
+ * **api:** add register static method [#82](https://github.com/AlaskaAirlines/auro-sidenav/issues/82) ([16fda43](https://github.com/AlaskaAirlines/auro-sidenav/commit/16fda439ab695e253af99e5d339eaf4c8d07e540))
79
+ * **api:** add register static method [#82](https://github.com/AlaskaAirlines/auro-sidenav/issues/82) ([82a0913](https://github.com/AlaskaAirlines/auro-sidenav/commit/82a0913d2daf959c97138eb8d5f8d4874a589fc5))
80
+
81
+
82
+ ### Performance Improvements
83
+
84
+ * add optional dependencies ([5d2f111](https://github.com/AlaskaAirlines/auro-sidenav/commit/5d2f1114fa87d5a2c18ab580da85cb9156def60b))
85
+ * add optional dependency for rollup ([e4d7542](https://github.com/AlaskaAirlines/auro-sidenav/commit/e4d7542a2c3d100cdbf7b89c734b0edf81402a8d))
86
+ * remove index.min ([55bc63b](https://github.com/AlaskaAirlines/auro-sidenav/commit/55bc63b54604ea203092129011960dc31d1d30e6))
87
+ * reset version to latest tag 3.1.1 [#43](https://github.com/AlaskaAirlines/auro-sidenav/issues/43) ([b766ebe](https://github.com/AlaskaAirlines/auro-sidenav/commit/b766ebe2f7bc731b61a2f2cea245c06fbfdb1f56))
88
+ * reset version to latest tag 3.1.1 [#43](https://github.com/AlaskaAirlines/auro-sidenav/issues/43) ([046d51b](https://github.com/AlaskaAirlines/auro-sidenav/commit/046d51b006cc6b049b29e25a3b872131099cd1d0))
89
+ * update library to 3.0.2 ([81375d6](https://github.com/AlaskaAirlines/auro-sidenav/commit/81375d6c5c322d42b3df3fd5c9d7ade90aa4d4e3))
90
+ * update node to version 22 ([b968259](https://github.com/AlaskaAirlines/auro-sidenav/commit/b968259f6b9cba1303972fe214729a4ac0237eec))
91
+ * update readme ([e0664fa](https://github.com/AlaskaAirlines/auro-sidenav/commit/e0664fa6c0f37d290e2a9ed4953d05ac700d53ea))
92
+ * update versions ([01f76c7](https://github.com/AlaskaAirlines/auro-sidenav/commit/01f76c751d576031a980e613516b9a3b72f42f9c))
93
+ * update versions ([42417d7](https://github.com/AlaskaAirlines/auro-sidenav/commit/42417d70e381405faa4dab16bf05971d4c523254))
94
+
95
+
96
+ ### Reverts
97
+
98
+ * Revert "feat(api): add register static method [#82](https://github.com/AlaskaAirlines/auro-sidenav/issues/82)" ([1ea707e](https://github.com/AlaskaAirlines/auro-sidenav/commit/1ea707e4f8c3842531db08d8f42890831dc5f9f7))
99
+
100
+ ## [3.1.1](https://github.com/AlaskaAirlines/auro-sidenav/compare/v3.1.0...v3.1.1) (2024-10-23)
101
+
102
+
103
+ ### Reverts
104
+
105
+ * Revert "feat(api): add register static method [#82](https://github.com/AlaskaAirlines/auro-sidenav/issues/82)" ([46c986c](https://github.com/AlaskaAirlines/auro-sidenav/commit/46c986c038da083c482c06b066497bb5aca00454))
106
+
107
+ # [3.1.0](https://github.com/AlaskaAirlines/auro-sidenav/compare/v3.0.1...v3.1.0) (2024-11-18)
108
+
109
+
110
+ ### Bug Fixes
111
+
112
+ * update markdown partial pathing to consume new auro lib [#40](https://github.com/AlaskaAirlines/auro-sidenav/issues/40) ([e305103](https://github.com/AlaskaAirlines/auro-sidenav/commit/e30510357c8166189ecb2d5b66cb355ca763697e))
113
+
114
+
115
+ ### Features
116
+
117
+ * **api:** add register static method [#82](https://github.com/AlaskaAirlines/auro-sidenav/issues/82) ([82a0913](https://github.com/AlaskaAirlines/auro-sidenav/commit/82a0913d2daf959c97138eb8d5f8d4874a589fc5))
118
+
119
+
120
+ ### Performance Improvements
121
+
122
+ * update library to 3.0.2 ([81375d6](https://github.com/AlaskaAirlines/auro-sidenav/commit/81375d6c5c322d42b3df3fd5c9d7ade90aa4d4e3))
123
+
124
+ # [3.1.0](https://github.com/AlaskaAirlines/auro-sidenav/compare/v3.0.1...v3.1.0) (2024-10-23)
125
+
126
+
127
+ ### Features
128
+
129
+ * **api:** add register static method [#82](https://github.com/AlaskaAirlines/auro-sidenav/issues/82) ([82a0913](https://github.com/AlaskaAirlines/auro-sidenav/commit/82a0913d2daf959c97138eb8d5f8d4874a589fc5))
130
+
131
+ ## [3.0.1](https://github.com/AlaskaAirlines/auro-sidenav/compare/v3.0.0...v3.0.1) (2024-10-08)
132
+
133
+
134
+ ### Bug Fixes
135
+
136
+ * moves auro library to dependencies in package.json [#35](https://github.com/AlaskaAirlines/auro-sidenav/issues/35) ([e34f7c9](https://github.com/AlaskaAirlines/auro-sidenav/commit/e34f7c991fb568acc2697ec0c20fee639f362a0b))
137
+
138
+ # [3.0.0](https://github.com/AlaskaAirlines/auro-sidenav/compare/v2.0.1...v3.0.0) (2024-10-02)
139
+
140
+
141
+ ### Features
142
+
143
+ * add tag name as attribute when custom registered ([fb5f221](https://github.com/AlaskaAirlines/auro-sidenav/commit/fb5f2212d8afd6bc0ef4fabcb4203d6bc63101da))
144
+ * implement color theming support [#30](https://github.com/AlaskaAirlines/auro-sidenav/issues/30) ([c6b746f](https://github.com/AlaskaAirlines/auro-sidenav/commit/c6b746f648e73bf64520391b12fb215707db5aa2))
145
+
146
+
147
+ ### Performance Improvements
148
+
149
+ * **label:** remove github label colors ([6c7ee0c](https://github.com/AlaskaAirlines/auro-sidenav/commit/6c7ee0cda5f4513c0b2f7380771c7bb1c0e45e96))
150
+ * refactor custom component registration config ([19e26ab](https://github.com/AlaskaAirlines/auro-sidenav/commit/19e26ab95db9f44a23890f89f4a3dc944fc02a8b))
151
+ * update dependencies ([06ba5f7](https://github.com/AlaskaAirlines/auro-sidenav/commit/06ba5f721681bfe7a77062f3f42ff900f99222e7))
152
+
153
+
154
+ ### BREAKING CHANGES
155
+
156
+ * trigger major release for color theme support #30
157
+
158
+ ## [2.0.1](https://github.com/AlaskaAirlines/auro-sidenav/compare/v2.0.0...v2.0.1) (2024-07-23)
159
+
160
+
161
+ ### Bug Fixes
162
+
163
+ * update import reference path [#28](https://github.com/AlaskaAirlines/auro-sidenav/issues/28) ([8d9fae4](https://github.com/AlaskaAirlines/auro-sidenav/commit/8d9fae46c8fe35ac67cad0d7ff887640e7d3b50e))
164
+
165
+ # [2.0.0](https://github.com/AlaskaAirlines/auro-sidenav/compare/v1.1.7...v2.0.0) (2024-03-25)
166
+
167
+
168
+ ### Bug Fixes
169
+
170
+ * **svg:** center svgs within sidenavitems [#17](https://github.com/AlaskaAirlines/auro-sidenav/issues/17) ([364db92](https://github.com/AlaskaAirlines/auro-sidenav/commit/364db9237ea60b5a964d219e9ed2116e1640c18a))
171
+
172
+
173
+ ### Features
174
+
175
+ * mobile sidenav via attribute [#13](https://github.com/AlaskaAirlines/auro-sidenav/issues/13) ([c88af64](https://github.com/AlaskaAirlines/auro-sidenav/commit/c88af641146f998bc6d7b05c4f79f64ce85ee032))
176
+
177
+
178
+ ### BREAKING CHANGES
179
+
180
+ * all auro-sidenav instances are now mobile until
181
+ specified with the static attribute.
182
+
183
+ Changes to be committed:
184
+ modified: apiExamples/basic.html
185
+ modified: apiExamples/custom.html
186
+ modified: apiExamples/full.html
187
+ modified: apiExamples/heading.html
188
+ modified: apiExamples/hyperlink.html
189
+ modified: apiExamples/isToggle.html
190
+ modified: apiExamples/sections.html
191
+ modified: apiExamples/selected.html
192
+ modified: demo/api.md
193
+ modified: demo/index.html
194
+ modified: demo/index.md
195
+ modified: docs/api.md
196
+ modified: docs/partials/index.md
197
+ modified: package-lock.json
198
+ modified: src/auro-sidenav.js
199
+ modified: src/auro-sidenavsection.js
200
+ modified: test/auro-sidenav.test.js
201
+ modified: apiExamples/collapsible.html
202
+ modified: README.md
203
+
204
+ ## [1.1.7](https://github.com/AlaskaAirlines/auro-sidenav/compare/v1.1.6...v1.1.7) (2024-03-11)
205
+
206
+
207
+ ### Performance Improvements
208
+
209
+ * **update docs:** add full scope of all elements ([775dd28](https://github.com/AlaskaAirlines/auro-sidenav/commit/775dd286a616c9f607443e38aef872f675307daa))
210
+
211
+ ## [1.1.6](https://github.com/AlaskaAirlines/auro-sidenav/compare/v1.1.5...v1.1.6) (2024-02-21)
212
+
213
+
214
+ ### Bug Fixes
215
+
216
+ * **registration:** make custom registration rename all component parts ([ff6b88a](https://github.com/AlaskaAirlines/auro-sidenav/commit/ff6b88a4fd09dd08311719cfadf08a14f28fb158))
217
+ * **styles:** make styles work with custom tag names ([b42cb93](https://github.com/AlaskaAirlines/auro-sidenav/commit/b42cb9337d7058608757a2a52782c42b5e09be28))
218
+
219
+
220
+ ### Performance Improvements
221
+
222
+ * **deps:** update to latest dependency versions ([7b425ff](https://github.com/AlaskaAirlines/auro-sidenav/commit/7b425ffa4810d43352e44223bccee8e179fbf97a))
223
+
224
+ ## [1.1.5](https://github.com/AlaskaAirlines/auro-sidenav/compare/v1.1.4...v1.1.5) (2024-02-16)
225
+
226
+
227
+ ### Performance Improvements
228
+
229
+ * update deps and hyperlink ref ([f8af136](https://github.com/AlaskaAirlines/auro-sidenav/commit/f8af136ca7dc34e7c34556ea16a108dae63f0549))
230
+
231
+ ## [1.1.4](https://github.com/AlaskaAirlines/auro-sidenav/compare/v1.1.3...v1.1.4) (2024-02-15)
232
+
233
+
234
+ ### Performance Improvements
235
+
236
+ * **demo:** update demo file names ([dd7b597](https://github.com/AlaskaAirlines/auro-sidenav/commit/dd7b597c34e7fe035d9251149b07175848f9d522))
237
+ * **deps:** update dependencies ([7969767](https://github.com/AlaskaAirlines/auro-sidenav/commit/79697670dca66c2d96496153a58c854c48a5d62b))
238
+
239
+ ## [1.1.3](https://github.com/AlaskaAirlines/auro-sidenav/compare/v1.1.2...v1.1.3) (2024-02-13)
240
+
241
+
242
+ ### Performance Improvements
243
+
244
+ * update auro dependencies ([70511f1](https://github.com/AlaskaAirlines/auro-sidenav/commit/70511f1056d739643a162b9dfcdbc8de5a8c8ff5))
245
+
246
+ ## [1.1.2](https://github.com/AlaskaAirlines/auro-sidenav/compare/v1.1.1...v1.1.2) (2024-02-13)
247
+
248
+
249
+ ### Bug Fixes
250
+
251
+ * update dependency ref ([4962b44](https://github.com/AlaskaAirlines/auro-sidenav/commit/4962b4469c51f2daf0f1e3975aaddde83971d8f2))
252
+
253
+ ## [1.1.1](https://github.com/AlaskaAirlines/auro-sidenav/compare/v1.1.0...v1.1.1) (2024-02-13)
254
+
255
+
256
+ ### Bug Fixes
257
+
258
+ * update component reference ([6cfaafe](https://github.com/AlaskaAirlines/auro-sidenav/commit/6cfaafe4cbf48e21426b3e6320d62d56ef83e38e))
259
+
260
+
261
+ ### Performance Improvements
262
+
263
+ * update to support ESM ([d0d6dac](https://github.com/AlaskaAirlines/auro-sidenav/commit/d0d6dacf9d6fd10225ef5798d7ae43a3769f73e4))
264
+
265
+ # [1.1.0](https://github.com/AlaskaAirlines/auro-sidenav/compare/v1.0.2...v1.1.0) (2024-02-01)
266
+
267
+
268
+ ### Features
269
+
270
+ * **ssr:** implement support for SSR projects [#8](https://github.com/AlaskaAirlines/auro-sidenav/issues/8) ([7b7cf61](https://github.com/AlaskaAirlines/auro-sidenav/commit/7b7cf61f1648b94d53a51c5756028bdcb4e14f44))
271
+
272
+
273
+ ### Performance Improvements
274
+
275
+ * **accordion:** use new version of accordion ([18bf30c](https://github.com/AlaskaAirlines/auro-sidenav/commit/18bf30cde7a7fce8967e8989c8e22f5312da6443))
276
+ * **deps:** update dependencies ([3fbcc62](https://github.com/AlaskaAirlines/auro-sidenav/commit/3fbcc628bda9772d18804a484ef674c0ee9c5631))
277
+ * update deps and resource configs ([2b61e36](https://github.com/AlaskaAirlines/auro-sidenav/commit/2b61e36c751543d95c36f1b3dbea21dc7873db9b))
278
+ * update index file name extension ([922892a](https://github.com/AlaskaAirlines/auro-sidenav/commit/922892a5017b6cb5f0dd0e26e26c97a8709ec876))
279
+
280
+ ## [1.0.2](https://github.com/AlaskaAirlines/auro-sidenav/compare/v1.0.1...v1.0.2) (2024-01-31)
281
+
282
+
283
+ ### Performance Improvements
284
+
285
+ * alaskaairux ref updates ([5ce4792](https://github.com/AlaskaAirlines/auro-sidenav/commit/5ce4792393b0bad6abbfb8d43fe59046f6d2195e))
286
+
287
+ ## [1.0.1](https://github.com/AlaskaAirlines/auro-sidenav/compare/v1.0.0...v1.0.1) (2023-11-16)
288
+
289
+
290
+ ### Performance Improvements
291
+
292
+ * **token:** update token per new theming [#6](https://github.com/AlaskaAirlines/auro-sidenav/issues/6) ([47c0c72](https://github.com/AlaskaAirlines/auro-sidenav/commit/47c0c724ae01f91c8876482330c506508a8a3e2a))
293
+
294
+ # 1.0.0 (2023-08-01)
295
+
296
+
297
+ ### Features
298
+
299
+ * allow for selected item updates ([4aae9fe](https://github.com/AlaskaAirlines/auro-sidenav/commit/4aae9fe9da6fbe229085094e077c34b9da937947))
300
+ * introduce basic functionality ([0e2a6e3](https://github.com/AlaskaAirlines/auro-sidenav/commit/0e2a6e3319592d02359251d7289dad3f1f53a4c1))
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 2023 Alaska Airlines, Inc. or its affiliates. All Rights Reserved.
package/README.md ADDED
@@ -0,0 +1,157 @@
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
+ # Sidenav
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-sidenav>` is a [HTML custom element](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements) that provides users a way to create navigational interfaces on the left-hand side of a page to navigate to separate pages or different sections within the same page.
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
+ When consuming the `auro-sidenav` you will be registering the `auro-sidenavitem` and `auro-sidenavsection` component as well as the `auro-sidenav` components to the DOM. These components will be necessary to create the navigation.
29
+
30
+ The `auro-sidenavsection` is an extension of the `auro-accordion` can be used to create sections.
31
+
32
+ The `auro-sidenavitem` is an extension of the `auro-hyperlink` and used to create the navigational links in the `auro-sidenav`. You can use the expected `href` and `target` attributes to properly enable and style the links.
33
+
34
+ Please refer to the below example to see how to use these components.
35
+ <!-- AURO-GENERATED-CONTENT:END -->
36
+
37
+ ## UI development browser support
38
+
39
+ <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/auro-templates/main/templates/default/partials/browserSupport.md) -->
40
+ For the most up to date information on [UI development browser support](https://auro.alaskaair.com/support/browsersSupport)
41
+
42
+ <!-- AURO-GENERATED-CONTENT:END -->
43
+
44
+ ## Install
45
+
46
+ <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/auro-templates/main/templates/default/partials/usage/componentInstall.md) -->
47
+ [![Build Status](https://img.shields.io/github/actions/workflow/status/AlaskaAirlines/auro-sidenav/testPublish.yml?style=for-the-badge)](https://github.com/AlaskaAirlines/auro-sidenav/actions/workflows/testPublish.yml)
48
+ [![See it on NPM!](https://img.shields.io/npm/v/@aurodesignsystem/auro-sidenav?style=for-the-badge&color=orange)](https://www.npmjs.com/package/@aurodesignsystem/auro-sidenav)
49
+ [![License](https://img.shields.io/npm/l/@aurodesignsystem/auro-sidenav?color=blue&style=for-the-badge)](https://www.apache.org/licenses/LICENSE-2.0)
50
+ ![ESM supported](https://img.shields.io/badge/ESM-compatible-FFE900?style=for-the-badge)
51
+
52
+ ```shell
53
+ $ npm i @aurodesignsystem/auro-sidenav
54
+ ```
55
+
56
+ <!-- AURO-GENERATED-CONTENT:END -->
57
+
58
+ ### Design Token CSS Custom Property dependency
59
+
60
+ <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/auro-templates/main/templates/default/partials/development/designTokens.md) -->
61
+ The use of any Auro custom element has a dependency on the [Auro Design Tokens](https://auro.alaskaair.com/getting-started/developers/design-tokens).
62
+
63
+ <!-- AURO-GENERATED-CONTENT:END -->
64
+
65
+ ### Define dependency in project component
66
+
67
+ <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/auro-templates/main/templates/default/partials/usage/componentImportDescription.md) -->
68
+ Defining the component dependency within each component that is using the `<auro-sidenav>` component.
69
+
70
+ <!-- AURO-GENERATED-CONTENT:END -->
71
+ <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/auro-templates/main/templates/default/partials/usage/componentImport.md) -->
72
+
73
+ ```js
74
+ import "@aurodesignsystem/auro-sidenav";
75
+ ```
76
+
77
+ <!-- AURO-GENERATED-CONTENT:END -->
78
+ **Reference component in HTML**
79
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./apiExamples/basic.html) -->
80
+ <!-- The below code snippet is automatically added from ./apiExamples/basic.html -->
81
+
82
+ ```html
83
+ <auro-sidenav static>
84
+ <span slot="heading">Alaska Airlines History</span>
85
+ <auro-sidenavitem href="/content/about-us/history">Historical overview</auro-sidenavitem>
86
+ <auro-sidenavitem href="/content/about-us/history/history-by-decade">History by decade</auro-sidenavitem>
87
+ <auro-sidenavitem href="/content/about-us/history/pioneers">Alaska Airlines pioneers</auro-sidenavitem>
88
+ </auro-sidenav>
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-sidenav@latest/+esm"></script>
99
+ ```
100
+
101
+ <!-- AURO-GENERATED-CONTENT:END -->
102
+
103
+ ## auro-sidenav 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-sidenav>` element should be used in situations where users may:
108
+
109
+ * create in-page navigation for long content-heavy pages
110
+ * provide navigation to related pages on a page
111
+ <!-- AURO-GENERATED-CONTENT:END -->
112
+
113
+ ## API Code Examples
114
+
115
+ ### Default auro-sidenav
116
+
117
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./apiExamples/basic.html) -->
118
+ <!-- The below code snippet is automatically added from ./apiExamples/basic.html -->
119
+
120
+ ```html
121
+ <auro-sidenav static>
122
+ <span slot="heading">Alaska Airlines History</span>
123
+ <auro-sidenavitem href="/content/about-us/history">Historical overview</auro-sidenavitem>
124
+ <auro-sidenavitem href="/content/about-us/history/history-by-decade">History by decade</auro-sidenavitem>
125
+ <auro-sidenavitem href="/content/about-us/history/pioneers">Alaska Airlines pioneers</auro-sidenavitem>
126
+ </auro-sidenav>
127
+ ```
128
+ <!-- AURO-GENERATED-CONTENT:END -->
129
+
130
+ ## Development
131
+
132
+ <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/auro-templates/main/templates/default/partials/development/developmentDescription.md) -->
133
+ 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.
134
+
135
+ 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.
136
+
137
+ <!-- AURO-GENERATED-CONTENT:END -->
138
+
139
+ ### Start development environment
140
+
141
+ <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/auro-templates/main/templates/default/partials/development/localhost.md) -->
142
+ 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**.
143
+
144
+ ```shell
145
+ $ npm run dev
146
+ ```
147
+
148
+ Open [localhost:8000](http://localhost:8000/)
149
+
150
+ <!-- AURO-GENERATED-CONTENT:END -->
151
+
152
+ ### Testing
153
+
154
+ <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/auro-templates/main/templates/default/partials/development/testing.md) -->
155
+ Automated tests are required for every Auro component. See `.\test\auro-sidenav.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.
156
+
157
+ <!-- AURO-GENERATED-CONTENT:END -->