@aurodesignsystem/auro-formkit 2.0.0-beta.52 → 2.0.0-beta.53

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.
Files changed (71) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +27 -6
  3. package/components/bibtemplate/dist/headerVersion.d.ts +1 -1
  4. package/components/bibtemplate/dist/index.js +4 -3
  5. package/components/bibtemplate/dist/registered.js +4 -3
  6. package/components/checkbox/README.md +56 -93
  7. package/components/checkbox/demo/index.md +0 -45
  8. package/components/checkbox/demo/readme.html +49 -0
  9. package/components/checkbox/demo/readme.md +142 -0
  10. package/components/combobox/README.md +57 -102
  11. package/components/combobox/demo/api.min.js +9 -7
  12. package/components/combobox/demo/index.md +0 -53
  13. package/components/combobox/demo/index.min.js +9 -7
  14. package/components/combobox/demo/readme.html +49 -0
  15. package/components/combobox/demo/readme.md +152 -0
  16. package/components/combobox/dist/index.js +9 -7
  17. package/components/combobox/dist/registered.js +9 -7
  18. package/components/counter/README.md +58 -100
  19. package/components/counter/demo/api.js +3 -0
  20. package/components/counter/demo/api.md +254 -12
  21. package/components/counter/demo/api.min.js +26 -11
  22. package/components/counter/demo/index.html +0 -1
  23. package/components/counter/demo/index.js +1 -2
  24. package/components/counter/demo/index.md +71 -221
  25. package/components/counter/demo/index.min.js +15 -11
  26. package/components/counter/demo/readme.html +49 -0
  27. package/components/counter/demo/readme.md +146 -0
  28. package/components/counter/dist/auro-counter-group.d.ts +6 -6
  29. package/components/counter/dist/auro-counter.d.ts +1 -1
  30. package/components/counter/dist/index.js +15 -11
  31. package/components/counter/dist/registered.js +15 -11
  32. package/components/datepicker/README.md +57 -95
  33. package/components/datepicker/demo/api.min.js +9 -7
  34. package/components/datepicker/demo/index.md +0 -39
  35. package/components/datepicker/demo/index.min.js +9 -7
  36. package/components/datepicker/demo/readme.html +49 -0
  37. package/components/datepicker/demo/readme.md +140 -0
  38. package/components/datepicker/dist/index.js +9 -7
  39. package/components/datepicker/dist/registered.js +9 -7
  40. package/components/dropdown/README.md +56 -92
  41. package/components/dropdown/demo/index.md +1 -60
  42. package/components/dropdown/demo/readme.html +49 -0
  43. package/components/dropdown/demo/readme.md +144 -0
  44. package/components/form/README.md +56 -91
  45. package/components/form/demo/readme.html +49 -0
  46. package/components/form/demo/readme.md +145 -0
  47. package/components/input/README.md +56 -87
  48. package/components/input/demo/api.min.js +5 -4
  49. package/components/input/demo/index.md +0 -31
  50. package/components/input/demo/index.min.js +5 -4
  51. package/components/input/demo/readme.html +49 -0
  52. package/components/input/demo/readme.md +135 -0
  53. package/components/input/dist/index.js +5 -4
  54. package/components/input/dist/registered.js +5 -4
  55. package/components/menu/README.md +56 -93
  56. package/components/menu/demo/index.md +1 -44
  57. package/components/menu/demo/readme.html +49 -0
  58. package/components/menu/demo/readme.md +145 -0
  59. package/components/radio/README.md +56 -87
  60. package/components/radio/demo/index.md +0 -45
  61. package/components/radio/demo/readme.html +49 -0
  62. package/components/radio/demo/readme.md +137 -0
  63. package/components/select/README.md +57 -100
  64. package/components/select/demo/api.min.js +4 -3
  65. package/components/select/demo/index.md +0 -53
  66. package/components/select/demo/index.min.js +4 -3
  67. package/components/select/demo/readme.html +49 -0
  68. package/components/select/demo/readme.md +143 -0
  69. package/components/select/dist/index.js +4 -3
  70. package/components/select/dist/registered.js +4 -3
  71. package/package.json +3 -2
@@ -31,7 +31,7 @@
31
31
 
32
32
  | Name | Description |
33
33
  |---------------|--------------------------------------|
34
- | [Default](#Default) | Main label content for the counter. |
34
+ | [default](#default) | Main label content for the counter. |
35
35
  | [description](#description) | Descriptive content for the counter. |
36
36
 
37
37
  # auro-counter-group
@@ -64,17 +64,257 @@
64
64
  ## Slots
65
65
 
66
66
  | Name | Description |
67
- |---------------------------|--------------------------------------------------|
68
- | [Default](#Default) | Slot for counter elements. |
69
- | [HelpText](#HelpText) | Dropdown help text content. Only used when `isDropdown` is true. |
70
- | [Label](#Label) | Dropdown label content. Only used when `isDropdown` is true. |
71
- | [ValueText](#ValueText) | Dropdown value text display. Only used when `isDropdown` is true. |
72
- | `bib.fullscreen.footer` | Defines the footer to display at the bottom of fullscreen bib |
73
- | `bib.fullscreen.headline` | Defines the headline to display above menu-options |
67
+ |---------------------------|--------------------------------------------------|
68
+ | `bib.fullscreen.footer` | Defines the footer to display at the bottom of fullscreen bib. Only used when `isDropdown` is true. |
69
+ | `bib.fullscreen.headline` | Defines the headline to display above menu-options. Only used when `isDropdown` is true. Required. |
70
+ | [default](#default) | Slot for counter elements. |
71
+ | [helpText](#helpText) | Dropdown help text content. Only used when `isDropdown` is true. |
72
+ | [label](#label) | Dropdown label content. Only used when `isDropdown` is true. |
73
+ | [valueText](#valueText) | Dropdown value text display. Only used when `isDropdown` is true. |
74
74
  <!-- AURO-GENERATED-CONTENT:END -->
75
75
 
76
76
  ## API Examples
77
77
 
78
+ ### Counter
79
+
80
+ #### Min/Max and Value
81
+ <div class="exampleWrapper">
82
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/counter-minmax.html) -->
83
+ <!-- The below content is automatically added from ./../apiExamples/counter-minmax.html -->
84
+ <auro-counter min="1" max="5" value="2">
85
+ Adults
86
+ <span slot="description">Min: 1, Max: 5</span>
87
+ </auro-counter>
88
+ <!-- AURO-GENERATED-CONTENT:END -->
89
+ </div>
90
+ <auro-accordion alignRight>
91
+ <span slot="trigger">See code</span>
92
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/counter-minmax.html) -->
93
+ <!-- The below code snippet is automatically added from ./../apiExamples/counter-minmax.html -->
94
+
95
+ ```html
96
+ <auro-counter min="1" max="5" value="2">
97
+ Adults
98
+ <span slot="description">Min: 1, Max: 5</span>
99
+ </auro-counter>
100
+ ```
101
+ <!-- AURO-GENERATED-CONTENT:END -->
102
+ </auro-accordion>
103
+
104
+ #### Disabled State
105
+ <div class="exampleWrapper">
106
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/counter-disabled.html) -->
107
+ <!-- The below content is automatically added from ./../apiExamples/counter-disabled.html -->
108
+ <auro-counter disabled value="0">
109
+ Disabled counter
110
+ <span slot="description">This counter cannot be modified</span>
111
+ </auro-counter>
112
+ <!-- AURO-GENERATED-CONTENT:END -->
113
+ </div>
114
+ <auro-accordion alignRight>
115
+ <span slot="trigger">See code</span>
116
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/counter-disabled.html) -->
117
+ <!-- The below code snippet is automatically added from ./../apiExamples/counter-disabled.html -->
118
+
119
+ ```html
120
+ <auro-counter disabled value="0">
121
+ Disabled counter
122
+ <span slot="description">This counter cannot be modified</span>
123
+ </auro-counter>
124
+ ```
125
+ <!-- AURO-GENERATED-CONTENT:END -->
126
+ </auro-accordion>
127
+
128
+ ### Counter Group
129
+
130
+ #### Group Properties
131
+ All available counter-group properties:
132
+
133
+ <div class="exampleWrapper">
134
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/api-group-properties.html) -->
135
+ <!-- The below content is automatically added from ./../apiExamples/api-group-properties.html -->
136
+ <!-- Example of counter-group properties -->
137
+ <auro-counter-group max="10" min="2" isDropdown>
138
+ <div slot="bib.fullscreen.headline">Group fullscreen label</div>
139
+ <div slot="label">Group with all properties</div>
140
+ <div slot="helpText">Total must be between 2-10</div>
141
+ <div slot="valueText">Custom total display</div>
142
+ <auro-counter>
143
+ Counter 1
144
+ </auro-counter>
145
+ <auro-counter>
146
+ Counter 2
147
+ </auro-counter>
148
+ </auro-counter-group>
149
+ <!-- AURO-GENERATED-CONTENT:END -->
150
+ </div>
151
+ <auro-accordion alignRight>
152
+ <span slot="trigger">See code</span>
153
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/api-group-properties.html) -->
154
+ <!-- The below code snippet is automatically added from ./../apiExamples/api-group-properties.html -->
155
+
156
+ ```html
157
+ <!-- Example of counter-group properties -->
158
+ <auro-counter-group max="10" min="2" isDropdown>
159
+ <div slot="bib.fullscreen.headline">Group fullscreen label</div>
160
+ <div slot="label">Group with all properties</div>
161
+ <div slot="helpText">Total must be between 2-10</div>
162
+ <div slot="valueText">Custom total display</div>
163
+ <auro-counter>
164
+ Counter 1
165
+ </auro-counter>
166
+ <auro-counter>
167
+ Counter 2
168
+ </auro-counter>
169
+ </auro-counter-group>
170
+ ```
171
+ <!-- AURO-GENERATED-CONTENT:END -->
172
+ </auro-accordion>
173
+
174
+ #### Available Slots
175
+ All available slots for both components:
176
+
177
+ <div class="exampleWrapper">
178
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/api-slots.html) -->
179
+ <!-- The below content is automatically added from ./../apiExamples/api-slots.html -->
180
+ <!-- Example of all available slots -->
181
+ <auro-counter-group isDropdown>
182
+ <!-- Group slots -->
183
+ <div slot="label">Group with all slots</div>
184
+ <div slot="bib.fullscreen.headline">Group fullscreen label</div>
185
+ <div slot="helpText">Help text appears below the group</div>
186
+ <div slot="valueText">Custom value display</div>
187
+ <!-- Counter with all slots -->
188
+ <auro-counter>
189
+ Default slot content
190
+ <span slot="description">Description slot content</span>
191
+ </auro-counter>
192
+ </auro-counter-group>
193
+ <!-- AURO-GENERATED-CONTENT:END -->
194
+ </div>
195
+ <auro-accordion alignRight>
196
+ <span slot="trigger">See code</span>
197
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/api-slots.html) -->
198
+ <!-- The below code snippet is automatically added from ./../apiExamples/api-slots.html -->
199
+
200
+ ```html
201
+ <!-- Example of all available slots -->
202
+ <auro-counter-group isDropdown>
203
+ <!-- Group slots -->
204
+ <div slot="label">Group with all slots</div>
205
+ <div slot="bib.fullscreen.headline">Group fullscreen label</div>
206
+ <div slot="helpText">Help text appears below the group</div>
207
+ <div slot="valueText">Custom value display</div>
208
+ <!-- Counter with all slots -->
209
+ <auro-counter>
210
+ Default slot content
211
+ <span slot="description">Description slot content</span>
212
+ </auro-counter>
213
+ </auro-counter-group>
214
+ ```
215
+ <!-- AURO-GENERATED-CONTENT:END -->
216
+ </auro-accordion>
217
+
218
+ ### Event Handling
219
+ Listen for `input` events to react to user interactions.
220
+
221
+ <code id="eventOutput">
222
+ Event values will appear here
223
+ </code><br><br>
224
+ <div class="exampleWrapper">
225
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/events.html) -->
226
+ <!-- The below content is automatically added from ./../apiExamples/events.html -->
227
+ <auro-counter-group id="eventExample">
228
+ <auro-counter>
229
+ Adults
230
+ </auro-counter>
231
+ <auro-counter>
232
+ Children
233
+ </auro-counter>
234
+ </auro-counter-group>
235
+ <!-- AURO-GENERATED-CONTENT:END -->
236
+ </div>
237
+ <auro-accordion alignRight>
238
+ <span slot="trigger">See code</span>
239
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/events.html) -->
240
+ <!-- The below code snippet is automatically added from ./../apiExamples/events.html -->
241
+
242
+ ```html
243
+ <auro-counter-group id="eventExample">
244
+ <auro-counter>
245
+ Adults
246
+ </auro-counter>
247
+ <auro-counter>
248
+ Children
249
+ </auro-counter>
250
+ </auro-counter-group>
251
+ ```
252
+ <!-- AURO-GENERATED-CONTENT:END -->
253
+ ----
254
+
255
+ ```javascript
256
+ const counter = document.getElementById('eventExample');
257
+ counter.addEventListener('input', (event) => {
258
+ console.log(`Values updated: ${JSON.stringify(event.detail)}`);
259
+ });
260
+ ```
261
+
262
+ </auro-accordion>
263
+
264
+ #### Custom Value Display
265
+ <div class="exampleWrapper">
266
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/dropdown-value-text.html) -->
267
+ <!-- The below content is automatically added from ./../apiExamples/dropdown-value-text.html -->
268
+ <div style="max-width: 350px;">
269
+ <auro-counter-group isDropdown>
270
+ <span slot="bib.fullscreen.headline">Passengers</span>
271
+ <div slot="valueText">Custom value text</div>
272
+ <div slot="label"></div>
273
+ <auro-counter>
274
+ Adults
275
+ <span slot="description">18 years or older</span>
276
+ </auro-counter>
277
+ <auro-counter>
278
+ Children
279
+ <span slot="description">Under 17 years old. Restrictions apply if traveling without an adult.</span>
280
+ </auro-counter>
281
+ <auro-counter>
282
+ Lap Infants
283
+ <span slot="description">Under 2 years</span>
284
+ </auro-counter>
285
+ </auro-counter-group>
286
+ </div>
287
+ <!-- AURO-GENERATED-CONTENT:END -->
288
+ </div>
289
+ <auro-accordion alignRight>
290
+ <span slot="trigger">See code</span>
291
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/dropdown-value-text.html) -->
292
+ <!-- The below code snippet is automatically added from ./../apiExamples/dropdown-value-text.html -->
293
+
294
+ ```html
295
+ <div style="max-width: 350px;">
296
+ <auro-counter-group isDropdown>
297
+ <span slot="bib.fullscreen.headline">Passengers</span>
298
+ <div slot="valueText">Custom value text</div>
299
+ <div slot="label"></div>
300
+ <auro-counter>
301
+ Adults
302
+ <span slot="description">18 years or older</span>
303
+ </auro-counter>
304
+ <auro-counter>
305
+ Children
306
+ <span slot="description">Under 17 years old. Restrictions apply if traveling without an adult.</span>
307
+ </auro-counter>
308
+ <auro-counter>
309
+ Lap Infants
310
+ <span slot="description">Under 2 years</span>
311
+ </auro-counter>
312
+ </auro-counter-group>
313
+ </div>
314
+ ```
315
+ <!-- AURO-GENERATED-CONTENT:END -->
316
+ </auro-accordion>
317
+
78
318
  ### Group Max/Min
79
319
 
80
320
  The group counter max or min property sets the value for all counters in the group. If a counter has a max value set, the group max attribute will override it. All increment buttons as a result will be disabled to prevent the group of counters from exceeding the group max.
@@ -157,15 +397,16 @@ The default value of `fullscreenBreakpoint` is `sm`.
157
397
 
158
398
  Breakpoint token can be found [here](https://auro.alaskaair.com/getting-started/developers/design-tokens)
159
399
 
160
- To support fullcreen bib, setting `bib.fullscreen.headline` is **STRONGLY RECOMMENDED**.
161
- You can also set `bib.fullscreen.footer` to add any additional options on fullscreen view.
400
+ To support fullscreen bib, setting the `bib.fullscreen.headline` slot is **REQUIRED**.
401
+ You can also set `bib.fullscreen.footer` slot to add any additional options on fullscreen view.
162
402
 
163
403
  <div class="exampleWrapper">
164
404
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/dropdown-mobile-properties.html) -->
165
405
  <!-- The below content is automatically added from ./../apiExamples/dropdown-mobile-properties.html -->
166
406
  <div style="max-width: 350px;">
167
407
  <auro-counter-group id="dropdownCouterExample" isDropdown fullscreenBreakpoint="lg">
168
- <span slot="bib.fullscreen.headline">Counter Bib Header</span>
408
+ <span slot="label">Passengers</span>
409
+ <span slot="bib.fullscreen.headline">Passengers</span>
169
410
  <div slot="helpText">This is help text</div>
170
411
  <auro-counter>
171
412
  Adults
@@ -195,7 +436,8 @@ You can also set `bib.fullscreen.footer` to add any additional options on fullsc
195
436
  ```html
196
437
  <div style="max-width: 350px;">
197
438
  <auro-counter-group id="dropdownCouterExample" isDropdown fullscreenBreakpoint="lg">
198
- <span slot="bib.fullscreen.headline">Counter Bib Header</span>
439
+ <span slot="label">Passengers</span>
440
+ <span slot="bib.fullscreen.headline">Passengers</span>
199
441
  <div slot="helpText">This is help text</div>
200
442
  <auro-counter>
201
443
  Adults
@@ -1307,7 +1307,7 @@ var styleCss$6 = i$g`.counter{display:flex;align-items:center;justify-content:sp
1307
1307
  *
1308
1308
  * @element auro-counter
1309
1309
  * @extends LitElement
1310
- * @slot Default - Main label content for the counter.
1310
+ * @slot default - Main label content for the counter.
1311
1311
  * @slot description - Descriptive content for the counter.
1312
1312
  */
1313
1313
  class AuroCounter extends r$9 {
@@ -5512,7 +5512,7 @@ class AuroIcon extends BaseIcon {
5512
5512
 
5513
5513
  var iconVersion = '6.1.2';
5514
5514
 
5515
- var styleCss$3 = i$5`.heading{margin:1.75rem 0;letter-spacing:var(--ds-text-heading-default-spacing, -0.2px);font-weight:var(--ds-text-heading-default-weight, 500)}.heading--display{margin-top:0;font-size:var(--ds-text-heading-display-size-breakpoint-sm, 2.75rem);font-weight:var(--ds-text-heading-display-weight, 100);line-height:var(--ds-text-heading-display-height-breakpoint-sm, 3.375rem)}@media screen and (min-width: 768px){.heading--display{font-size:var(--ds-text-heading-display-size-breakpoint-md, 3rem);line-height:var(--ds-text-heading-display-height-breakpoint-md, 3.75rem)}}@media screen and (min-width: 1024px){.heading--display{font-size:var(--ds-text-heading-display-size-breakpoint-lg, 3.5rem);line-height:var(--ds-text-heading-display-height-breakpoint-lg, 4.25rem)}}.heading--800{font-size:var(--ds-text-heading-800-size-breakpoint-sm, 2rem);font-weight:var(--ds-text-heading-800-weight, 500);line-height:var(--ds-text-heading-800-height-breakpoint-sm, 2.375rem)}@media screen and (min-width: 768px){.heading--800{font-size:var(--ds-text-heading-800-size-breakpoint-md, 2.25rem);line-height:var(--ds-text-heading-800-height-breakpoint-md, 2.625rem)}}@media screen and (min-width: 1024px){.heading--800{font-size:var(--ds-text-heading-800-size-breakpoint-lg, 2.5rem);line-height:var(--ds-text-heading-800-height-breakpoint-lg, 3rem)}}.heading--700{font-size:var(--ds-text-heading-700-size-breakpoint-sm, 1.75rem);font-weight:var(--ds-text-heading-700-weight, 500);line-height:var(--ds-text-heading-700-height-breakpoint-sm, 2.125rem)}@media screen and (min-width: 768px){.heading--700{font-size:var(--ds-text-heading-700-size-breakpoint-md, 2rem);line-height:var(--ds-text-heading-700-height-breakpoint-md, 2.375rem)}}@media screen and (min-width: 1024px){.heading--700{font-size:var(--ds-text-heading-700-size-breakpoint-lg, 2.25rem);line-height:var(--ds-text-heading-700-height-breakpoint-lg, 2.75rem)}}.heading--600{margin:1rem 0;font-size:var(--ds-text-heading-600-size-breakpoint-sm, 1.625rem);font-weight:var(--ds-text-heading-600-weight, 300);line-height:var(--ds-text-heading-600-height-breakpoint-sm, 1.875rem)}@media screen and (min-width: 768px){.heading--600{font-size:var(--ds-text-heading-600-size-breakpoint-md, 1.75rem);line-height:var(--ds-text-heading-600-height-breakpoint-md, 2.125rem)}}@media screen and (min-width: 1024px){.heading--600{font-size:var(--ds-text-heading-600-size-breakpoint-lg, 1.75rem);line-height:var(--ds-text-heading-600-height-breakpoint-lg, 2.25rem)}}.heading--500{margin:1rem 0;font-size:var(--ds-text-heading-500-size-breakpoint-sm, 1.375rem);font-weight:var(--ds-text-heading-500-weight, 300);line-height:var(--ds-text-heading-500-height-breakpoint-sm, 1.625rem)}@media screen and (min-width: 768px){.heading--500{font-size:var(--ds-text-heading-500-size-breakpoint-md, 1.5rem);line-height:var(--ds-text-heading-500-height-breakpoint-md, 1.875rem)}}@media screen and (min-width: 1024px){.heading--500{font-size:var(--ds-text-heading-500-size-breakpoint-lg, 1.5rem);line-height:var(--ds-text-heading-500-height-breakpoint-lg, 2rem)}}.heading--400{margin:.75rem 0;font-size:var(--ds-text-heading-400-size, 1.25rem);font-weight:var(--ds-text-heading-400-weight, 300);line-height:var(--ds-text-heading-400-height, 1.625rem)}.heading--300{margin:.75rem 0;font-size:var(--ds-text-heading-300-size, 1.125rem);font-weight:var(--ds-text-heading-300-weight, 300);line-height:var(--ds-text-heading-300-height, 1.625rem)}.util_stackMarginnone--bottom{margin-bottom:0}.util_stackMargin25--bottom{margin-bottom:var(--ds-size-25, 0.125rem)}.util_stackMargin50--bottom{margin-bottom:var(--ds-size-50, 0.25rem)}.util_stackMargin100--bottom{margin-bottom:var(--ds-size-100, 0.5rem)}.util_stackMargin150--bottom{margin-bottom:var(--ds-size-150, 0.75rem)}.util_stackMargin200--bottom{margin-bottom:var(--ds-size-200, 1rem)}.util_stackMargin300--bottom{margin-bottom:var(--ds-size-300, 1.5rem)}.util_stackMargin400--bottom{margin-bottom:var(--ds-size-400, 2rem)}.util_stackMargin600--bottom{margin-bottom:var(--ds-size-600, 3rem)}.util_stackMargin800--bottom{margin-bottom:var(--ds-size-800, 4rem)}.util_stackMarginnone--top{margin-top:0}.util_stackMargin25--top{margin-top:var(--ds-size-25, 0.125rem)}.util_stackMargin50--top{margin-top:var(--ds-size-50, 0.25rem)}.util_stackMargin100--top{margin-top:var(--ds-size-100, 0.5rem)}.util_stackMargin150--top{margin-top:var(--ds-size-150, 0.75rem)}.util_stackMargin200--top{margin-top:var(--ds-size-200, 1rem)}.util_stackMargin300--top{margin-top:var(--ds-size-300, 1.5rem)}.util_stackMargin400--top{margin-top:var(--ds-size-400, 2rem)}.util_stackMargin600--top{margin-top:var(--ds-size-600, 3rem)}.util_stackMargin800--top{margin-top:var(--ds-size-800, 4rem)}`;
5515
+ var styleCss$3 = i$5`.heading{margin:1.75rem 0;letter-spacing:var(--ds-text-heading-default-spacing, -0.2px);font-weight:var(--ds-text-heading-default-weight, 500)}.heading--display{margin-top:0;font-size:var(--ds-text-heading-display-size-breakpoint-sm, 2.75rem);font-weight:var(--ds-text-heading-display-weight, 100);line-height:var(--ds-text-heading-display-height-breakpoint-sm, 3.375rem)}@media screen and (min-width: 768px){.heading--display{font-size:var(--ds-text-heading-display-size-breakpoint-md, 3rem);line-height:var(--ds-text-heading-display-height-breakpoint-md, 3.75rem)}}@media screen and (min-width: 1024px){.heading--display{font-size:var(--ds-text-heading-display-size-breakpoint-lg, 3.5rem);line-height:var(--ds-text-heading-display-height-breakpoint-lg, 4.25rem)}}.heading--800{font-size:var(--ds-text-heading-800-size-breakpoint-sm, 2rem);font-weight:var(--ds-text-heading-800-weight, 500);line-height:var(--ds-text-heading-800-height-breakpoint-sm, 2.375rem)}@media screen and (min-width: 768px){.heading--800{font-size:var(--ds-text-heading-800-size-breakpoint-md, 2.25rem);line-height:var(--ds-text-heading-800-height-breakpoint-md, 2.625rem)}}@media screen and (min-width: 1024px){.heading--800{font-size:var(--ds-text-heading-800-size-breakpoint-lg, 2.5rem);line-height:var(--ds-text-heading-800-height-breakpoint-lg, 3rem)}}.heading--700{font-size:var(--ds-text-heading-700-size-breakpoint-sm, 1.75rem);font-weight:var(--ds-text-heading-700-weight, 500);line-height:var(--ds-text-heading-700-height-breakpoint-sm, 2.125rem)}@media screen and (min-width: 768px){.heading--700{font-size:var(--ds-text-heading-700-size-breakpoint-md, 2rem);line-height:var(--ds-text-heading-700-height-breakpoint-md, 2.375rem)}}@media screen and (min-width: 1024px){.heading--700{font-size:var(--ds-text-heading-700-size-breakpoint-lg, 2.25rem);line-height:var(--ds-text-heading-700-height-breakpoint-lg, 2.75rem)}}.heading--600{margin:1rem 0;font-size:var(--ds-text-heading-600-size-breakpoint-sm, 1.625rem);font-weight:var(--ds-text-heading-600-weight, 300);line-height:var(--ds-text-heading-600-height-breakpoint-sm, 1.875rem)}@media screen and (min-width: 768px){.heading--600{font-size:var(--ds-text-heading-600-size-breakpoint-md, 1.75rem);line-height:var(--ds-text-heading-600-height-breakpoint-md, 2.125rem)}}@media screen and (min-width: 1024px){.heading--600{font-size:var(--ds-text-heading-600-size-breakpoint-lg, 1.75rem);line-height:var(--ds-text-heading-600-height-breakpoint-lg, 2.25rem)}}.heading--500{margin:1rem 0;font-size:var(--ds-text-heading-500-size-breakpoint-sm, 1.375rem);font-weight:var(--ds-text-heading-500-weight, 300);line-height:var(--ds-text-heading-500-height-breakpoint-sm, 1.625rem)}@media screen and (min-width: 768px){.heading--500{font-size:var(--ds-text-heading-500-size-breakpoint-md, 1.5rem);line-height:var(--ds-text-heading-500-height-breakpoint-md, 1.875rem)}}@media screen and (min-width: 1024px){.heading--500{font-size:var(--ds-text-heading-500-size-breakpoint-lg, 1.5rem);line-height:var(--ds-text-heading-500-height-breakpoint-lg, 2rem)}}.heading--400{margin:.75rem 0;font-size:var(--ds-text-heading-400-size, 1.25rem);font-weight:var(--ds-text-heading-400-weight, 300);line-height:var(--ds-text-heading-400-height, 1.625rem)}.heading--300{margin:.75rem 0;font-size:var(--ds-text-heading-300-size, 1.125rem);font-weight:var(--ds-text-heading-300-weight, 300);line-height:var(--ds-text-heading-300-height, 1.625rem)}:host([no-margin-block]) .heading{margin-block:0}.util_stackMarginnone--bottom{margin-bottom:0}.util_stackMargin25--bottom{margin-bottom:var(--ds-size-25, 0.125rem)}.util_stackMargin50--bottom{margin-bottom:var(--ds-size-50, 0.25rem)}.util_stackMargin100--bottom{margin-bottom:var(--ds-size-100, 0.5rem)}.util_stackMargin150--bottom{margin-bottom:var(--ds-size-150, 0.75rem)}.util_stackMargin200--bottom{margin-bottom:var(--ds-size-200, 1rem)}.util_stackMargin300--bottom{margin-bottom:var(--ds-size-300, 1.5rem)}.util_stackMargin400--bottom{margin-bottom:var(--ds-size-400, 2rem)}.util_stackMargin600--bottom{margin-bottom:var(--ds-size-600, 3rem)}.util_stackMargin800--bottom{margin-bottom:var(--ds-size-800, 4rem)}.util_stackMarginnone--top{margin-top:0}.util_stackMargin25--top{margin-top:var(--ds-size-25, 0.125rem)}.util_stackMargin50--top{margin-top:var(--ds-size-50, 0.25rem)}.util_stackMargin100--top{margin-top:var(--ds-size-100, 0.5rem)}.util_stackMargin150--top{margin-top:var(--ds-size-150, 0.75rem)}.util_stackMargin200--top{margin-top:var(--ds-size-200, 1rem)}.util_stackMargin300--top{margin-top:var(--ds-size-300, 1.5rem)}.util_stackMargin400--top{margin-top:var(--ds-size-400, 2rem)}.util_stackMargin600--top{margin-top:var(--ds-size-600, 3rem)}.util_stackMargin800--top{margin-top:var(--ds-size-800, 4rem)}`;
5516
5516
 
5517
5517
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
5518
5518
  // See LICENSE in the project root for license information.
@@ -5521,6 +5521,7 @@ var styleCss$3 = i$5`.heading{margin:1.75rem 0;letter-spacing:var(--ds-text-head
5521
5521
  /**
5522
5522
  * The auro-header component is a custom element to make using headers with the Auro Design System seamless and easy.
5523
5523
  *
5524
+ * @attr {Boolean} no-margin-block - if declared, margin-block will be set to `0`
5524
5525
  * @attr {String} level - Determines heading level for HTML element. Options are `1` - `6`
5525
5526
  * @attr {String} display - Determines presentation of header. Options are `display`, `800`, `700`, `600`, `500`, `400`, `300`.
5526
5527
  * @attr {String} color - Allows user to pass in CSS custom property or direct hex value to change the color of the header
@@ -5653,7 +5654,7 @@ class AuroHeader extends r {
5653
5654
  }
5654
5655
  }
5655
5656
 
5656
- var headerVersion = '3.0.0';
5657
+ var headerVersion = '4.0.0';
5657
5658
 
5658
5659
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
5659
5660
  // See LICENSE in the project root for license information.
@@ -5752,7 +5753,7 @@ class AuroBibtemplate extends r {
5752
5753
  <button id="closeButton" @click="${this.onCloseButtonClick}">
5753
5754
  <${this.iconTag} category="interface" name="x-lg"></${this.iconTag}>
5754
5755
  </button>
5755
- <${this.headerTag} display="${this.large ? 'display' : '600'}" level="3" size="none" id="header">
5756
+ <${this.headerTag} display="${this.large ? 'display' : '600'}" level="3" size="none" id="header" no-margin-block>
5756
5757
  <slot name="header"></slot>
5757
5758
  </${this.headerTag}>
5758
5759
  <span id="subheader">
@@ -5835,12 +5836,12 @@ if (!customElements.get("auro-counter-wrapper")) {
5835
5836
  *
5836
5837
  * @element auro-counter-group
5837
5838
  * @extends LitElement
5838
- * @slot Default - Slot for counter elements.
5839
- * @slot bib.fullscreen.headline - Defines the headline to display above menu-options
5840
- * @slot bib.fullscreen.footer - Defines the footer to display at the bottom of fullscreen bib
5841
- * @slot Label - Dropdown label content. Only used when `isDropdown` is true.
5842
- * @slot ValueText - Dropdown value text display. Only used when `isDropdown` is true.
5843
- * @slot HelpText - Dropdown help text content. Only used when `isDropdown` is true.
5839
+ * @slot default - Slot for counter elements.
5840
+ * @slot bib.fullscreen.headline - Defines the headline to display above menu-options. Only used when `isDropdown` is true. Required.
5841
+ * @slot bib.fullscreen.footer - Defines the footer to display at the bottom of fullscreen bib. Only used when `isDropdown` is true.
5842
+ * @slot label - Dropdown label content. Only used when `isDropdown` is true.
5843
+ * @slot valueText - Dropdown value text display. Only used when `isDropdown` is true.
5844
+ * @slot helpText - Dropdown help text content. Only used when `isDropdown` is true.
5844
5845
  */
5845
5846
  class AuroCounterGroup extends r$9 {
5846
5847
  constructor() {
@@ -6123,7 +6124,10 @@ class AuroCounterGroup extends r$9 {
6123
6124
  this.bibtemplate.querySelectorAll(`[slot="${targetSlot}"]`).forEach((old) => old.remove());
6124
6125
 
6125
6126
  event.target.assignedNodes().forEach((node) => {
6126
- const clone = node.cloneNode(true);
6127
+ const clone = node.cloneNode();
6128
+ [...node.childNodes].forEach((child) => {
6129
+ clone.append(child);
6130
+ });
6127
6131
  clone.setAttribute('slot', targetSlot);
6128
6132
  this.bibtemplate.append(clone);
6129
6133
  });
@@ -6246,12 +6250,23 @@ function dropdownCounterExample() {
6246
6250
  });
6247
6251
  }
6248
6252
 
6253
+ function eventCounterExample() {
6254
+ const counter = document.getElementById('eventExample');
6255
+ const output = document.getElementById('eventOutput');
6256
+
6257
+ counter.addEventListener('input', (event) => {
6258
+ output.textContent = `Values updated: ${JSON.stringify(event.detail)}`;
6259
+ });
6260
+ }
6261
+
6249
6262
  /* eslint-disable jsdoc/require-jsdoc, no-magic-numbers */
6250
6263
 
6251
6264
  function initExamples(initialCount = 0) {
6252
6265
  try {
6253
6266
  // javascript example function calls to be added here upon creation to test examples
6254
6267
  dropdownCounterExample();
6268
+ eventCounterExample();
6269
+
6255
6270
  } catch (err) {
6256
6271
  if (initialCount <= 20) {
6257
6272
  // setTimeout handles issue where content is sometimes loaded after the functions get called
@@ -47,7 +47,6 @@
47
47
  </script>
48
48
  <!-- If additional elements are needed for the demo, add them here. -->
49
49
  <script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-accordion@latest/dist/auro-accordion__bundled.js" type="module"></script>
50
- <script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-dropdown@latest/dist/auro-dropdown__bundled.js" type="module"></script>
51
50
  <script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-button@latest/dist/auro-button__bundled.js" type="module"></script>
52
51
  </body>
53
52
  </html>
@@ -8,8 +8,7 @@ AuroCounter.register('custom-counter');
8
8
 
9
9
  export function initExamples(initialCount = 0) {
10
10
  try {
11
- // javascript example function calls to be added here upon creation to test examples
12
- // auroMenuResetExample();
11
+
13
12
  } catch (err) {
14
13
  if (initialCount <= 20) {
15
14
  // setTimeout handles issue where content is sometimes loaded after the functions get called