@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
@@ -0,0 +1,49 @@
1
+ <!--
2
+ Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
3
+ See LICENSE in the project root for license information.
4
+
5
+ HTML in this document is standardized and NOT to be edited.
6
+ All demo code should be added/edited in ./demo/index.md
7
+
8
+ With the exception of adding custom elements if needed for the demo.
9
+
10
+ ----------------------- DO NOT EDIT -----------------------------
11
+
12
+ -->
13
+
14
+ <!DOCTYPE html>
15
+ <html lang="en">
16
+ <head>
17
+ <meta charset="UTF-8" />
18
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
19
+ <title>Auro Web Component Generator | auro-datepicker custom element</title>
20
+ <link
21
+ rel="stylesheet"
22
+ type="text/css"
23
+ href="https://cdn.jsdelivr.net/npm/prismjs@1.24.1/themes/prism.css"
24
+ />
25
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/tokens/CSSCustomProperties.css">
26
+ <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/demoWrapper.css" />
27
+ <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/elementDemoStyles.css" />
28
+ </head>
29
+ <body class="auro-markdown">
30
+ <main></main>
31
+
32
+ <script type="module">
33
+ import 'https://cdn.jsdelivr.net/npm/marked@latest/marked.min.js';
34
+ import 'https://cdn.jsdelivr.net/npm/prismjs@latest/prism.js';
35
+ fetch('./readme.md')
36
+ .then((response) => response.text())
37
+ .then((text) => {
38
+ const rawHtml = marked.parse(text);
39
+ document.querySelector('main').innerHTML = rawHtml;
40
+ Prism.highlightAll();
41
+ })
42
+ </script>
43
+ <script type="module">
44
+ import { initExamples } from "./index.min.js";
45
+
46
+ initExamples();
47
+ </script>
48
+ </body>
49
+ </html>
@@ -0,0 +1,140 @@
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
+ `../../docs/templates/componentReadmeTemplate.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
+ # Datepicker
21
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/description.md) -->
22
+ <!-- The below content is automatically added from ./docs/partials/description.md -->
23
+ The `<auro-datepicker>` element allows users to select a date, or a pair of dates identifying a range, either with text input or by making a section in a calendar. The `<auro-datepicker>` element is the combination of [auro-dropdown](http://auro.alaskaair.com/components/auro/dropdown), [auro-input](http://auro.alaskaair.com/components/auro/input), and Auro's extension of [wc-range-datepicker](https://www.npmjs.com/package/wc-range-datepicker).
24
+ <!-- AURO-GENERATED-CONTENT:END -->
25
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/readmeAddlInfo.md) -->
26
+ <!-- The below content is automatically added from ./docs/partials/readmeAddlInfo.md -->
27
+ <!-- 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. -->
28
+ <!-- AURO-GENERATED-CONTENT:END -->
29
+
30
+ ## Getting Started
31
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=../../docs/templates/componentInstall.md) -->
32
+ <!-- The below content is automatically added from ../../docs/templates/componentInstall.md -->
33
+
34
+ #### NPM Installation
35
+
36
+ ```shell
37
+ $ npm i @aurodesignsystem/auro-formkit
38
+ ```
39
+ <!-- AURO-GENERATED-CONTENT:END -->
40
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=../../docs/templates/gettingStarted.md) -->
41
+ <!-- The below content is automatically added from ../../docs/templates/gettingStarted.md -->
42
+
43
+ ### Import Options
44
+
45
+ #### Automatic Registration
46
+
47
+ For automatic registration, simply import the component:
48
+
49
+ ```javascript
50
+ // Registers <auro-datepicker> automatically
51
+ import '@aurodesignsystem/auro-formkit/auro-datepicker';
52
+ ```
53
+
54
+ #### Custom Registration
55
+
56
+ To protect from versioning conflicts with other instances of the component being loaded, it is recommended to use our static `AuroDatepicker.register('custom-datepicker')` method on the component class and pass in a unique name.
57
+
58
+ ```javascript
59
+ // Import the class only
60
+ import { AuroDatepicker } from '@aurodesignsystem/auro-formkit/auro-datepicker/class';
61
+
62
+ // Register with a custom name if desired
63
+ AuroDatepicker.register('custom-datepicker');
64
+ ```
65
+
66
+ #### TypeScript Module Resolution
67
+
68
+ When using TypeScript set `moduleResolution` to `bundler`, add the following to your `tsconfig.json`:
69
+
70
+ ```json
71
+ {
72
+ "compilerOptions": {
73
+ "moduleResolution": "bundler"
74
+ }
75
+ }
76
+ ```
77
+
78
+ This configuration enables proper module resolution for the component's TypeScript files.
79
+ <!-- AURO-GENERATED-CONTENT:END -->
80
+ **Reference component in HTML**
81
+
82
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./apiExamples/basic.html) -->
83
+ <!-- The below code snippet is automatically added from ./apiExamples/basic.html -->
84
+
85
+ ```html
86
+ <auro-datepicker>
87
+ <span slot="bib.fullscreen.headline">Datepicker Headline</span>
88
+ <span slot="fromLabel">Choose a date</span>
89
+ <span slot="bib.fullscreen.dateLabel">Choose a date</span>
90
+ </auro-datepicker>
91
+ ```
92
+ <!-- AURO-GENERATED-CONTENT:END -->
93
+
94
+ ### Design Token CSS Custom Property dependency
95
+
96
+ <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/WC-Generator/master/componentDocs/partials/development/designTokens.md) -->
97
+ The use of any Auro custom element has a dependency on the [Auro Design Tokens](https://auro.alaskaair.com/getting-started/developers/design-tokens).
98
+
99
+ <!-- AURO-GENERATED-CONTENT:END -->
100
+
101
+ ## Install from CDN
102
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=../../docs/templates/bundleInstallDescription.md) -->
103
+ <!-- The below content is automatically added from ../../docs/templates/bundleInstallDescription.md -->
104
+ 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.
105
+
106
+ ```html
107
+ <script type="module "src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.0.0-beta.52/auro-datepicker/+esm"></script>
108
+ ```
109
+ <!-- AURO-GENERATED-CONTENT:END -->
110
+
111
+ ## UI development browser support
112
+ <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/WC-Generator/master/componentDocs/partials/browserSupport.md) -->
113
+ For the most up to date information on [UI development browser support](https://auro.alaskaair.com/support/browsersSupport)
114
+
115
+ <!-- AURO-GENERATED-CONTENT:END -->
116
+
117
+ ## auro-datepicker use cases
118
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/useCases.md) -->
119
+ <!-- The below content is automatically added from ./docs/partials/useCases.md -->
120
+ The `<auro-datepicker>` element should be used in situations where users may:
121
+
122
+ * select a single date
123
+ * select a pair of dates which identify a calendar range
124
+ <!-- AURO-GENERATED-CONTENT:END -->
125
+
126
+ ## Formkit development
127
+
128
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=../../docs/partials/developmentDescription.md) -->
129
+ <!-- The below content is automatically added from ../../docs/partials/developmentDescription.md -->
130
+
131
+ ### Filtering
132
+
133
+ Running the `dev` command will open a `localhost` development server for all components in the monorepo at once.
134
+
135
+ To only develop a single component, use the `--filter` flag:
136
+
137
+ ```shell
138
+ npx turbo dev --filter=@aurodesignsystem/auro-input
139
+ ```
140
+ <!-- AURO-GENERATED-CONTENT:END -->
@@ -10841,7 +10841,7 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
10841
10841
 
10842
10842
  var iconVersion$2 = '6.1.2';
10843
10843
 
10844
- var styleCss$6 = i$5$2`.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)}`;
10844
+ var styleCss$6 = i$5$2`.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)}`;
10845
10845
 
10846
10846
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
10847
10847
  // See LICENSE in the project root for license information.
@@ -10850,6 +10850,7 @@ var styleCss$6 = i$5$2`.heading{margin:1.75rem 0;letter-spacing:var(--ds-text-he
10850
10850
  /**
10851
10851
  * The auro-header component is a custom element to make using headers with the Auro Design System seamless and easy.
10852
10852
  *
10853
+ * @attr {Boolean} no-margin-block - if declared, margin-block will be set to `0`
10853
10854
  * @attr {String} level - Determines heading level for HTML element. Options are `1` - `6`
10854
10855
  * @attr {String} display - Determines presentation of header. Options are `display`, `800`, `700`, `600`, `500`, `400`, `300`.
10855
10856
  * @attr {String} color - Allows user to pass in CSS custom property or direct hex value to change the color of the header
@@ -10982,7 +10983,7 @@ class AuroHeader extends r$a {
10982
10983
  }
10983
10984
  }
10984
10985
 
10985
- var headerVersion = '3.0.0';
10986
+ var headerVersion = '4.0.0';
10986
10987
 
10987
10988
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
10988
10989
  // See LICENSE in the project root for license information.
@@ -11081,7 +11082,7 @@ class AuroBibtemplate extends r$a {
11081
11082
  <button id="closeButton" @click="${this.onCloseButtonClick}">
11082
11083
  <${this.iconTag} category="interface" name="x-lg"></${this.iconTag}>
11083
11084
  </button>
11084
- <${this.headerTag} display="${this.large ? 'display' : '600'}" level="3" size="none" id="header">
11085
+ <${this.headerTag} display="${this.large ? 'display' : '600'}" level="3" size="none" id="header" no-margin-block>
11085
11086
  <slot name="header"></slot>
11086
11087
  </${this.headerTag}>
11087
11088
  <span id="subheader">
@@ -14924,7 +14925,8 @@ const stringsES = {
14924
14925
  'dateYYMM': 'Ingrese una fecha completa en el formato AA/MM',
14925
14926
  'dateYY': 'Ingrese una fecha completa en el formato AA',
14926
14927
  'dateMM': 'Ingrese una fecha completa en el formato MM',
14927
- 'dateDD': 'Ingrese una fecha completa en el formato DD'
14928
+ 'dateDD': 'Ingrese una fecha completa en el formato DD',
14929
+ 'clearInput': 'Borrar campo de entrada',
14928
14930
  };
14929
14931
 
14930
14932
  const stringsEN = {
@@ -14947,7 +14949,8 @@ const stringsEN = {
14947
14949
  'dateYYMM': 'Please enter a complete date in the format YY/MM',
14948
14950
  'dateYY': 'Please enter a complete date in the format YY',
14949
14951
  'dateMM': 'Please enter a complete date in the format MM',
14950
- 'dateDD': 'Please enter a complete date in the format DD'
14952
+ 'dateDD': 'Please enter a complete date in the format DD',
14953
+ 'clearInput': 'Clear input field',
14951
14954
  };
14952
14955
 
14953
14956
  /**
@@ -21373,8 +21376,7 @@ class AuroInput extends BaseInput {
21373
21376
  <${this.buttonTag}
21374
21377
  variant="flat"
21375
21378
  class="notificationBtn clearBtn"
21376
- aria-hidden="true"
21377
- tabindex="-1"
21379
+ aria-label="${i18n(this.lang, 'clearInput')}"
21378
21380
  @click="${this.handleClickClear}">
21379
21381
  <${this.iconTag}
21380
21382
  customColor
@@ -10841,7 +10841,7 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
10841
10841
 
10842
10842
  var iconVersion$2 = '6.1.2';
10843
10843
 
10844
- var styleCss$6 = i$5$2`.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)}`;
10844
+ var styleCss$6 = i$5$2`.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)}`;
10845
10845
 
10846
10846
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
10847
10847
  // See LICENSE in the project root for license information.
@@ -10850,6 +10850,7 @@ var styleCss$6 = i$5$2`.heading{margin:1.75rem 0;letter-spacing:var(--ds-text-he
10850
10850
  /**
10851
10851
  * The auro-header component is a custom element to make using headers with the Auro Design System seamless and easy.
10852
10852
  *
10853
+ * @attr {Boolean} no-margin-block - if declared, margin-block will be set to `0`
10853
10854
  * @attr {String} level - Determines heading level for HTML element. Options are `1` - `6`
10854
10855
  * @attr {String} display - Determines presentation of header. Options are `display`, `800`, `700`, `600`, `500`, `400`, `300`.
10855
10856
  * @attr {String} color - Allows user to pass in CSS custom property or direct hex value to change the color of the header
@@ -10982,7 +10983,7 @@ class AuroHeader extends r$a {
10982
10983
  }
10983
10984
  }
10984
10985
 
10985
- var headerVersion = '3.0.0';
10986
+ var headerVersion = '4.0.0';
10986
10987
 
10987
10988
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
10988
10989
  // See LICENSE in the project root for license information.
@@ -11081,7 +11082,7 @@ class AuroBibtemplate extends r$a {
11081
11082
  <button id="closeButton" @click="${this.onCloseButtonClick}">
11082
11083
  <${this.iconTag} category="interface" name="x-lg"></${this.iconTag}>
11083
11084
  </button>
11084
- <${this.headerTag} display="${this.large ? 'display' : '600'}" level="3" size="none" id="header">
11085
+ <${this.headerTag} display="${this.large ? 'display' : '600'}" level="3" size="none" id="header" no-margin-block>
11085
11086
  <slot name="header"></slot>
11086
11087
  </${this.headerTag}>
11087
11088
  <span id="subheader">
@@ -14924,7 +14925,8 @@ const stringsES = {
14924
14925
  'dateYYMM': 'Ingrese una fecha completa en el formato AA/MM',
14925
14926
  'dateYY': 'Ingrese una fecha completa en el formato AA',
14926
14927
  'dateMM': 'Ingrese una fecha completa en el formato MM',
14927
- 'dateDD': 'Ingrese una fecha completa en el formato DD'
14928
+ 'dateDD': 'Ingrese una fecha completa en el formato DD',
14929
+ 'clearInput': 'Borrar campo de entrada',
14928
14930
  };
14929
14931
 
14930
14932
  const stringsEN = {
@@ -14947,7 +14949,8 @@ const stringsEN = {
14947
14949
  'dateYYMM': 'Please enter a complete date in the format YY/MM',
14948
14950
  'dateYY': 'Please enter a complete date in the format YY',
14949
14951
  'dateMM': 'Please enter a complete date in the format MM',
14950
- 'dateDD': 'Please enter a complete date in the format DD'
14952
+ 'dateDD': 'Please enter a complete date in the format DD',
14953
+ 'clearInput': 'Clear input field',
14951
14954
  };
14952
14955
 
14953
14956
  /**
@@ -21373,8 +21376,7 @@ class AuroInput extends BaseInput {
21373
21376
  <${this.buttonTag}
21374
21377
  variant="flat"
21375
21378
  class="notificationBtn clearBtn"
21376
- aria-hidden="true"
21377
- tabindex="-1"
21379
+ aria-label="${i18n(this.lang, 'clearInput')}"
21378
21380
  @click="${this.handleClickClear}">
21379
21381
  <${this.iconTag}
21380
21382
  customColor
@@ -18,7 +18,6 @@ The following sections are editable by making changes to the following files:
18
18
  -->
19
19
 
20
20
  # Dropdown
21
-
22
21
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/description.md) -->
23
22
  <!-- The below content is automatically added from ./docs/partials/description.md -->
24
23
  The `auro-dropdown` component is a trigger and dropdown element combination intended to be used with dropdown content that is interactive. `auro-dropdown` is content agnostic and any valid HTML can be placed in either the trigger or the dropdown.
@@ -30,42 +29,55 @@ _Note: if the dropdown content in your implementation is not interactive (e.g. a
30
29
  <!-- 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. -->
31
30
  <!-- AURO-GENERATED-CONTENT:END -->
32
31
 
33
- ## UI development browser support
34
-
35
- <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/WC-Generator/master/componentDocs/partials/browserSupport.md) -->
36
- For the most up to date information on [UI development browser support](https://auro.alaskaair.com/support/browsersSupport)
37
-
38
- <!-- AURO-GENERATED-CONTENT:END -->
39
-
40
- ## Install
41
-
32
+ ## Getting Started
42
33
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../../docs/templates/componentInstall.md) -->
43
34
  <!-- The below content is automatically added from ../../docs/templates/componentInstall.md -->
44
35
 
36
+ #### NPM Installation
37
+
45
38
  ```shell
46
39
  $ npm i @aurodesignsystem/auro-formkit
47
40
  ```
48
41
  <!-- AURO-GENERATED-CONTENT:END -->
42
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=../../docs/templates/gettingStarted.md) -->
43
+ <!-- The below content is automatically added from ../../docs/templates/gettingStarted.md -->
49
44
 
50
- ### Design Token CSS Custom Property dependency
45
+ ### Import Options
46
+
47
+ #### Automatic Registration
51
48
 
52
- <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/WC-Generator/master/componentDocs/partials/development/designTokens.md) -->
53
- The use of any Auro custom element has a dependency on the [Auro Design Tokens](https://auro.alaskaair.com/getting-started/developers/design-tokens).
49
+ For automatic registration, simply import the component:
54
50
 
55
- <!-- AURO-GENERATED-CONTENT:END -->
51
+ ```javascript
52
+ // Registers <auro-dropdown> automatically
53
+ import '@aurodesignsystem/auro-formkit/auro-dropdown';
54
+ ```
56
55
 
57
- ### Define dependency in project component
56
+ #### Custom Registration
58
57
 
59
- <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/WC-Generator/master/componentDocs/partials/usage/componentImportDescription.md) -->
60
- Defining the component dependency within each component that is using the `<auro-dropdown>` component.
58
+ To protect from versioning conflicts with other instances of the component being loaded, it is recommended to use our static `AuroDropdown.register('custom-dropdown')` method on the component class and pass in a unique name.
61
59
 
62
- <!-- AURO-GENERATED-CONTENT:END -->
63
- <!-- AURO-GENERATED-CONTENT:START (FILE:src=../../docs/templates/componentUsage.md) -->
64
- <!-- The below content is automatically added from ../../docs/templates/componentUsage.md -->
60
+ ```javascript
61
+ // Import the class only
62
+ import { AuroDropdown } from '@aurodesignsystem/auro-formkit/auro-dropdown/class';
63
+
64
+ // Register with a custom name if desired
65
+ AuroDropdown.register('custom-dropdown');
66
+ ```
65
67
 
66
- ```js
67
- import "@aurodesignsystem/auro-formkit/auro-dropdown";
68
+ #### TypeScript Module Resolution
69
+
70
+ When using TypeScript set `moduleResolution` to `bundler`, add the following to your `tsconfig.json`:
71
+
72
+ ```json
73
+ {
74
+ "compilerOptions": {
75
+ "moduleResolution": "bundler"
76
+ }
77
+ }
68
78
  ```
79
+
80
+ This configuration enables proper module resolution for the component's TypeScript files.
69
81
  <!-- AURO-GENERATED-CONTENT:END -->
70
82
  **Reference component in HTML**
71
83
 
@@ -82,26 +94,30 @@ import "@aurodesignsystem/auro-formkit/auro-dropdown";
82
94
  ```
83
95
  <!-- AURO-GENERATED-CONTENT:END -->
84
96
 
85
- ## Install bundled assets from CDN
97
+ ### Design Token CSS Custom Property dependency
86
98
 
87
- <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/WC-Generator/master/componentDocs/partials/usage/bundleInstallDescription.md) -->
88
- In cases where the project is not able to process JS assets, there are pre-processed assets available for use. See -- `auro-dropdown__bundled.js` for modern browsers. Legacy browsers such as IE11 are no longer supported.
99
+ <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/WC-Generator/master/componentDocs/partials/development/designTokens.md) -->
100
+ The use of any Auro custom element has a dependency on the [Auro Design Tokens](https://auro.alaskaair.com/getting-started/developers/design-tokens).
89
101
 
90
- **WARNING!** When installing into your application environment, DO NOT use `@latest` for the requested version. Risks include unknown MAJOR version releases and instant adoption of any new features and possible bugs without developer knowledge. The `@latest` wildcard should NEVER be used for production customer-facing applications. You have been warned.
102
+ <!-- AURO-GENERATED-CONTENT:END -->
103
+
104
+ ## Install from CDN
105
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=../../docs/templates/bundleInstallDescription.md) -->
106
+ <!-- The below content is automatically added from ../../docs/templates/bundleInstallDescription.md -->
107
+ 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.
91
108
 
109
+ ```html
110
+ <script type="module "src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.0.0-beta.52/auro-dropdown/+esm"></script>
111
+ ```
92
112
  <!-- AURO-GENERATED-CONTENT:END -->
93
113
 
94
- ### Bundle example code
114
+ ## UI development browser support
115
+ <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/WC-Generator/master/componentDocs/partials/browserSupport.md) -->
116
+ For the most up to date information on [UI development browser support](https://auro.alaskaair.com/support/browsersSupport)
95
117
 
96
- <!-- AURO-GENERATED-CONTENT:START (FILE:src=../../docs/templates/componentBundleUseModBrowsers.md) -->
97
- <!-- The below content is automatically added from ../../docs/templates/componentBundleUseModBrowsers.md -->
98
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@4.13.0/dist/tokens/CSSCustomProperties.css" />
99
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@5.1.2/dist/bundled/essentials.css" />
100
- <script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-dropdown@2.0.0-beta.51/dist/auro-dropdown__bundled.js" type="module"></script>
101
118
  <!-- AURO-GENERATED-CONTENT:END -->
102
119
 
103
120
  ## auro-dropdown use cases
104
-
105
121
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/useCases.md) -->
106
122
  <!-- The below content is automatically added from ./docs/partials/useCases.md -->
107
123
  The `auro-dropdown` element should be used in situations where users may:
@@ -111,70 +127,18 @@ The `auro-dropdown` element should be used in situations where users may:
111
127
  * when interactive help is required
112
128
  <!-- AURO-GENERATED-CONTENT:END -->
113
129
 
114
- ## API Code Examples
115
-
116
- ### Default auro-dropdown
130
+ ## Formkit development
117
131
 
118
- <!-- AURO-GENERATED-CONTENT:START (CODE:src=./apiExamples/basic.html) -->
119
- <!-- The below code snippet is automatically added from ./apiExamples/basic.html -->
132
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=../../docs/partials/developmentDescription.md) -->
133
+ <!-- The below content is automatically added from ../../docs/partials/developmentDescription.md -->
120
134
 
121
- ```html
122
- <auro-dropdown aria-label="custom label">
123
- Lorem ipsum solar
124
- <div slot="trigger">
125
- Trigger
126
- </div>
127
- </auro-dropdown>
128
- ```
129
- <!-- AURO-GENERATED-CONTENT:END -->
130
-
131
- ## Development
132
-
133
- <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/WC-Generator/master/componentDocs/partials/development/developmentDescription.md) -->
134
- 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.
135
-
136
- 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.
137
-
138
- <!-- AURO-GENERATED-CONTENT:END -->
139
-
140
- ### Start development environment
141
-
142
- <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/WC-Generator/master/componentDocs/partials/development/localhost.md) -->
143
- 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**.
135
+ ### Filtering
144
136
 
145
- ```shell
146
- $ npm run dev
147
- ```
148
-
149
- Open [localhost:8000](http://localhost:8000/)
137
+ Running the `dev` command will open a `localhost` development server for all components in the monorepo at once.
150
138
 
151
- If running separate sessions is preferred, please run the following commands in individual terminal shells.
139
+ To only develop a single component, use the `--filter` flag:
152
140
 
153
141
  ```shell
154
- $ npm run build:watch
155
-
156
- $ npm run serve
142
+ npx turbo dev --filter=@aurodesignsystem/auro-input
157
143
  ```
158
-
159
- <!-- AURO-GENERATED-CONTENT:END -->
160
-
161
- ### API generation
162
-
163
- <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/WC-Generator/master/componentDocs/partials/development/api.md) -->
164
- The custom element API file is generated in the build and committed back to the repo with a version change. If the API doc has changed without a version change, author's are to run `npm run build:api` to generate the doc and commit to version control.
165
-
166
- <!-- AURO-GENERATED-CONTENT:END -->
167
-
168
- ### Testing
169
-
170
- <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/WC-Generator/master/componentDocs/partials/development/testing.md) -->
171
- Automated tests are required for every Auro component. See `.\test\auro-dropdown.test.js` for the tests for this component. Run `npm 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.
172
-
173
- <!-- AURO-GENERATED-CONTENT:END -->
174
-
175
- ### Bundled assets
176
-
177
- <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/WC-Generator/master/componentDocs/partials/development/bundles.md) -->
178
- Bundled assets are only generated in the remote and not merged back to this repo. To review and/or test a bundled asset locally, run `$ npm run bundler` to generate assets.
179
-
180
144
  <!-- AURO-GENERATED-CONTENT:END -->
@@ -342,63 +342,4 @@ The dropdown can be closed with the following actions:
342
342
  1. Clicking anywhere in the view outside of the dropdown.
343
343
  1. Clicking on the trigger when the `toggle` attribute is used.
344
344
  1. Using the `esc` key.
345
- 1. Programmatically via another control in the UI calling the `hide()` method (see api).
346
-
347
- ## Recommended Use and Version Control
348
-
349
- There are two important parts of every Auro component. The <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes">class</a> and the custom element. The class is exported and then used as part of defining the Web Component. When importing this component as described in the <a href="#install">install</a> section, the class is imported and the `auro-dropdown` custom element is defined automatically.
350
-
351
- To protect from versioning conflicts with other instances of the component being loaded, it is recommended to use our `AuroDropdown.register(name)` method and pass in a unique name.
352
-
353
- ```js
354
- import { AuroDropdown } from './src/auro-dropdown.js';
355
-
356
- AuroDropdown.register('custom-dropdown');
357
- ```
358
-
359
- This will create a new custom element that you can use in your HTML that will function identically to the `<auro-dropdown>` element.
360
-
361
- <div class="exampleWrapper exampleWrapper--flex">
362
- <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/custom.html) -->
363
- <!-- The below content is automatically added from ./../apiExamples/custom.html -->
364
- <custom-dropdown id="customCommon" common aria-label="Label content for screen reader">
365
- <div style="padding: var(--ds-size-150);">
366
- Lorem ipsum solar
367
- <br />
368
- <auro-button onclick="document.querySelector('#customCommon').hide()">
369
- Dismiss Dropdown
370
- </auro-button>
371
- </div>
372
- <span slot="helpText">
373
- Help text
374
- </span>
375
- <div slot="trigger">
376
- Trigger
377
- </div>
378
- </custom-dropdown>
379
- <!-- AURO-GENERATED-CONTENT:END -->
380
- </div>
381
- <auro-accordion alignRight>
382
- <span slot="trigger">See code</span>
383
- <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/custom.html) -->
384
- <!-- The below code snippet is automatically added from ./../apiExamples/custom.html -->
385
-
386
- ```html
387
- <custom-dropdown id="customCommon" common aria-label="Label content for screen reader">
388
- <div style="padding: var(--ds-size-150);">
389
- Lorem ipsum solar
390
- <br />
391
- <auro-button onclick="document.querySelector('#customCommon').hide()">
392
- Dismiss Dropdown
393
- </auro-button>
394
- </div>
395
- <span slot="helpText">
396
- Help text
397
- </span>
398
- <div slot="trigger">
399
- Trigger
400
- </div>
401
- </custom-dropdown>
402
- ```
403
- <!-- AURO-GENERATED-CONTENT:END -->
404
- </auro-accordion>
345
+ 1. Programmatically via another control in the UI calling the `hide()` method (see api).