@aurodesignsystem-dev/auro-formkit 0.0.0-pr1424.3 → 0.0.0-pr1424.5

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 (62) hide show
  1. package/CHANGELOG.md +2 -2
  2. package/README.md +133 -183
  3. package/components/checkbox/demo/api.min.js +3 -3
  4. package/components/checkbox/demo/index.min.js +3 -3
  5. package/components/checkbox/dist/index.js +3 -3
  6. package/components/checkbox/dist/registered.js +3 -3
  7. package/components/combobox/demo/api.html +1 -0
  8. package/components/combobox/demo/api.js +3 -1
  9. package/components/combobox/demo/api.md +75 -0
  10. package/components/combobox/demo/api.min.js +314 -172
  11. package/components/combobox/demo/index.min.js +301 -171
  12. package/components/combobox/dist/comboboxKeyboardStrategy.d.ts +1 -1
  13. package/components/combobox/dist/index.js +291 -171
  14. package/components/combobox/dist/registered.js +291 -171
  15. package/components/counter/demo/api.html +3 -0
  16. package/components/counter/demo/api.js +4 -0
  17. package/components/counter/demo/api.md +130 -0
  18. package/components/counter/demo/api.min.js +320 -167
  19. package/components/counter/demo/index.min.js +300 -167
  20. package/components/counter/dist/counterGroupKeyboardStrategy.d.ts +3 -0
  21. package/components/counter/dist/index.js +300 -167
  22. package/components/counter/dist/registered.js +300 -167
  23. package/components/datepicker/demo/api.html +1 -0
  24. package/components/datepicker/demo/api.js +2 -0
  25. package/components/datepicker/demo/api.md +57 -0
  26. package/components/datepicker/demo/api.min.js +376 -171
  27. package/components/datepicker/demo/index.min.js +364 -171
  28. package/components/datepicker/dist/datepickerKeyboardStrategy.d.ts +3 -1
  29. package/components/datepicker/dist/index.js +364 -171
  30. package/components/datepicker/dist/registered.js +364 -171
  31. package/components/dropdown/demo/api.html +1 -0
  32. package/components/dropdown/demo/api.js +2 -0
  33. package/components/dropdown/demo/api.md +95 -0
  34. package/components/dropdown/demo/api.min.js +296 -165
  35. package/components/dropdown/demo/index.min.js +276 -165
  36. package/components/dropdown/dist/index.js +276 -165
  37. package/components/dropdown/dist/registered.js +276 -165
  38. package/components/form/demo/api.min.js +1254 -684
  39. package/components/form/demo/index.min.js +1254 -684
  40. package/components/input/demo/api.min.js +1 -1
  41. package/components/input/demo/index.min.js +1 -1
  42. package/components/input/dist/index.js +1 -1
  43. package/components/input/dist/registered.js +1 -1
  44. package/components/menu/demo/api.md +1 -0
  45. package/components/menu/demo/api.min.js +10 -0
  46. package/components/menu/demo/index.min.js +10 -0
  47. package/components/menu/dist/auro-menuoption.d.ts +9 -0
  48. package/components/menu/dist/index.js +10 -0
  49. package/components/menu/dist/registered.js +10 -0
  50. package/components/radio/demo/api.min.js +2 -2
  51. package/components/radio/demo/index.min.js +2 -2
  52. package/components/radio/dist/index.js +2 -2
  53. package/components/radio/dist/registered.js +2 -2
  54. package/components/select/demo/api.html +1 -0
  55. package/components/select/demo/api.js +2 -0
  56. package/components/select/demo/api.md +76 -0
  57. package/components/select/demo/api.min.js +306 -169
  58. package/components/select/demo/index.min.js +293 -169
  59. package/components/select/dist/index.js +283 -169
  60. package/components/select/dist/registered.js +283 -169
  61. package/custom-elements.json +1474 -1429
  62. package/package.json +5 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,5 @@
1
- ### Changelog
1
+ # Changelog
2
2
 
3
- You can view a history of changes to this repository on the releases page:
3
+ You can view a complete history of changes to this repository on the GitHub releases page:
4
4
 
5
5
  https://github.com/AlaskaAirlines/auro-formkit/releases
package/README.md CHANGED
@@ -3,21 +3,25 @@ The README.md file is a compiled document. No edits should be made directly to t
3
3
 
4
4
  README.md is created by running `npm run build:docs:kit`.
5
5
 
6
+ This file is generated based on the template at
7
+ `./docs/templates/kitReadmeTemplate.md`
8
+ and compiled to `./README.md` each time the docs are compiled.
9
+
6
10
  The following sections are editable by making changes to the following files:
7
11
 
8
12
  | SECTION | DESCRIPTION | FILE LOCATION |
9
13
  |------------------------|---------------------------------------------------|-------------------------------------|
10
- | Description | Description of the component | `./docs/partials/description.md` |
11
- | Use Cases | Examples for when to use this component | `./docs/partials/useCases.md` |
12
- | Additional Information | For use to add any component specific information | `./docs/partials/readmeAddlInfo.md` |
13
- | Component Example Code | HTML sample code of the components use | `./apiExamples/basic.html` |
14
- -->
15
-
16
- # Auro Formkit
14
+ | Description | Description of the kit | `./docs/partials/description.md` |
15
+ | Use Cases | Examples for when to use this kit | `./docs/partials/useCases.md` |
16
+ | Additional Information | For use to add any kit specific information | `./docs/partials/readmeAddlInfo.md` |
17
+ | kit Example Code | HTML sample code of the kits use | `./apiExamples/basic.html` |
18
+ -->
19
+
20
+ # Formkit
17
21
 
18
22
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/description.md) -->
19
- <!-- The below content is automatically added from ./docs/partials/description.md -->
20
-
23
+ <!-- The below content is automatically added from ./docs/partials/description.md -->
24
+
21
25
  ## Description
22
26
 
23
27
  `auro-formkit` is a collection of web components that can be used to build forms.
@@ -38,58 +42,73 @@ It is a monorepo that contains the following components:
38
42
  - `auro-radio`
39
43
  - `auro-radio-group`
40
44
  - `auro-select`
41
- <!-- AURO-GENERATED-CONTENT:END -->
42
-
43
- ## Install
45
+ <!-- AURO-GENERATED-CONTENT:END -->
46
+
47
+ ## Use Cases
48
+
49
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/useCases.md) -->
50
+ <!-- The below content is automatically added from ./docs/partials/useCases.md -->
51
+
52
+ ### 1. User Accounts
53
+ - Sign up and login forms
54
+ - Email and password validation
55
+
56
+ ### 2. Checkout & Payments
57
+ - Collect shipping and billing info
58
+ - Use autofill and validation to reduce errors
59
+
60
+ ### 3. Booking & Scheduling
61
+ - Select dates and times
62
+ - Prevent invalid selections (like past dates)
63
+
64
+ ### 4. Search & Filters
65
+ - Search inputs with suggestions
66
+ - Filters like price ranges or categories
67
+
68
+ ### 5. File Uploads
69
+ - Upload images, documents, or media
70
+ - Restrict file types and allow multiple files
71
+
72
+ ### 6. Feedback & Surveys
73
+ - Collect ratings, choices, and comments
74
+ - Require answers where needed
75
+
76
+ ### 7. Calculators & Dynamic Forms
77
+ - Show real-time results (e.g., pricing, totals)
78
+
79
+ ### 8. Multi-Step Forms
80
+ - Break long forms into smaller steps
81
+
82
+ ### 9. Mobile-Friendly Input
83
+ - Use input types that trigger the right keyboard
84
+
85
+ ### 10. Accessible Forms
86
+ - Proper labels and grouped inputs
87
+ - Built-in error handling
88
+
89
+ ### 11. Built-in Validation
90
+ - Use HTML5 rules instead of custom JavaScript
91
+ <!-- AURO-GENERATED-CONTENT:END -->
92
+
93
+ ## Getting Started
44
94
 
45
- <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/WC-Generator/master/componentDocs/partials/usage/componentInstall_esm.md) -->
95
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/kitInstall.md) -->
96
+ <!-- The below content is automatically added from ./docs/partials/kitInstall.md -->
46
97
  [![Build Status](https://img.shields.io/github/actions/workflow/status/AlaskaAirlines/auro-formkit/testPublish.yml?style=for-the-badge)](https://github.com/AlaskaAirlines/auro-formkit/actions/workflows/testPublish.yml)
47
98
  [![See it on NPM!](https://img.shields.io/npm/v/@aurodesignsystem/auro-formkit?style=for-the-badge&color=orange)](https://www.npmjs.com/package/@aurodesignsystem/auro-formkit)
48
99
  [![License](https://img.shields.io/npm/l/@aurodesignsystem/auro-formkit?color=blue&style=for-the-badge)](https://www.apache.org/licenses/LICENSE-2.0)
49
100
  ![ESM supported](https://img.shields.io/badge/ESM-compatible-FFE900?style=for-the-badge)
50
101
 
102
+ #### NPM Installation
103
+
51
104
  ```shell
52
105
  $ npm i @aurodesignsystem/auro-formkit
53
106
  ```
54
-
55
- Installing as a direct, dev or peer dependency is up to the user installing the package. If you are unsure as to what type of dependency you should use, consider reading this [stack overflow](https://stackoverflow.com/questions/18875674/whats-the-difference-between-dependencies-devdependencies-and-peerdependencies) answer.
56
-
57
- <!-- AURO-GENERATED-CONTENT:END -->
58
-
59
- ## Getting Started
60
-
107
+ <!-- AURO-GENERATED-CONTENT:END -->
61
108
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/gettingStarted.md) -->
62
- <!-- The below content is automatically added from ./docs/partials/gettingStarted.md -->
63
- To start using the Auro Formkit components, follow the instructions below:
64
-
65
- ### Usage
66
-
67
- You can use Auro Formkit components in your project in two ways: automatic or custom registration.
68
-
69
- #### Automatic Registration
70
-
71
- For automatic registration, simply import the component:
72
-
73
- ```javascript
74
- import "@aurodesignsystem/auro-formkit/auro-checkbox";
75
- ```
76
-
77
- This will automatically register both the `<auro-checkbox>` and the included `<auro-checkbox-group>` component for use in your project. Note that not all Auro Formkit components have sub-components. Be sure to check the documentation for each component to understand its specific usage and registration requirements.
78
-
79
- #### Custom Registration
80
-
81
- If you prefer to register the component with a custom name, you can call the component class directly to create a custom registration:
82
-
83
- ```javascript
84
- import { AuroCheckbox, AuroCheckboxGroup } from "@aurodesignsystem/auro-formkit/auro-checkbox/class";
85
-
86
- AuroCheckbox.register('custom-checkbox');
87
- AuroCheckbox.register('custom-checkbox-group');
88
- ```
89
-
90
- This will register the component as `<custom-checkbox>` and `<custom-checkbox-group>`.
91
-
92
- #### TypeScript Module Resolution
109
+ <!-- The below content is automatically added from ./docs/partials/gettingStarted.md -->
110
+
111
+ ### TypeScript Module Resolution
93
112
 
94
113
  When using TypeScript set `moduleResolution` to `bundler`, add the following to your `tsconfig.json`:
95
114
 
@@ -102,111 +121,47 @@ When using TypeScript set `moduleResolution` to `bundler`, add the following to
102
121
  ```
103
122
 
104
123
  This configuration enables proper module resolution for the component's TypeScript files.
124
+ <!-- AURO-GENERATED-CONTENT:END -->
125
+
126
+ ## Install from CDN
105
127
 
106
- ### Basic HTML Example
107
-
108
- Here is an example of how to use the Auro Checkbox component in your HTML:
109
-
110
- `index.html -> <head>`
111
-
112
- ```html
113
- <script type="module">
114
- import "@aurodesignsystem/auro-formkit/auro-checkbox";
115
- </script>
116
- ```
128
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/bundleInstallDescription.md) -->
129
+ <!-- The below content is automatically added from ./docs/partials/bundleInstallDescription.md -->
130
+ 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.
117
131
 
118
- `index.html -> <body>`
132
+ Each component is imported individually by its export path:
119
133
 
120
134
  ```html
121
- <auro-checkbox-group>
122
- <span slot="legend">
123
- Form label goes here
124
- </span>
125
- <auro-checkbox value="value1" name="basic" id="checkbox-basic1">
126
- Checkbox option
127
- </auro-checkbox>
128
- <auro-checkbox value="value2" name="basic" id="checkbox-basic2" checked>
129
- Checkbox option two
130
- </auro-checkbox>
131
- </auro-checkbox-group>
132
- ```
133
-
134
- By following these steps, you can easily integrate Auro Formkit components into your project.
135
- <!-- AURO-GENERATED-CONTENT:END -->
136
-
137
- ### Design Token CSS Custom Property dependency
138
-
139
- <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/WC-Generator/master/componentDocs/partials/development/designTokens.md) -->
140
- The use of any Auro custom element has a dependency on the [Auro Design Tokens](https://auro.alaskaair.com/getting-started/developers/design-tokens).
141
-
142
- <!-- AURO-GENERATED-CONTENT:END -->
143
-
144
- ## Development
145
-
146
- <!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/developmentDescription.md) -->
147
- <!-- The below content is automatically added from ./docs/partials/developmentDescription.md -->
148
-
149
- ### Filtering
150
-
151
- Running the `dev` command will open a `localhost` development server for all components in the monorepo at once.
152
-
153
- To only develop a single component, use the `--filter` flag:
154
-
155
- ```shell
156
- npx turbo dev --filter=@aurodesignsystem/auro-input
157
- ```
158
- <!-- AURO-GENERATED-CONTENT:END -->
159
-
160
- ### Start development environment
161
-
162
- <!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/localhost.md) -->
163
- <!-- The below content is automatically added from ./docs/partials/localhost.md -->
164
-
165
- ## Local Development
166
- <!-- AURO-GENERATED-CONTENT:END -->
167
-
168
- ### Testing
169
-
170
- <!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/testing.md) -->
171
- <!-- The below content is automatically added from ./docs/partials/testing.md -->
172
- ```
173
- npm run test
174
- ```
175
-
176
- #### Port configuration
135
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@latest/auro-checkbox/+esm"></script>
136
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@latest/auro-input/+esm"></script>
137
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@latest/auro-select/+esm"></script>
138
+ ```
139
+ <!-- AURO-GENERATED-CONTENT:END -->
140
+
141
+ ## Additional Information
177
142
 
178
- Turbo will attempt to test components in parallel which will lead to port conflicts.
179
-
180
- Setting the `concurrency` to `1` will prevent Turbo from running tests in parallel:
181
-
182
- ```
183
- "test": "turbo run test --concurrency=1",
184
- ```
185
-
186
- `turbo.json`does not support `--concurrency` yet. See [this issue](https://github.com/vercel/turborepo/discussions/7493).
187
- <!-- AURO-GENERATED-CONTENT:END -->
188
143
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/readmeAddlInfo.md) -->
189
- <!-- The below content is automatically added from ./docs/partials/readmeAddlInfo.md -->
190
-
191
- ## Turborepo Overview
192
-
193
- This monorepo is managed using [Turborepo](https://turborepo.org/).
194
-
195
- ### Managing dependencies
196
-
144
+ <!-- The below content is automatically added from ./docs/partials/readmeAddlInfo.md -->
145
+
146
+ ### Turborepo Overview
147
+
148
+ This monorepo is managed using [Turborepo](https://turborepo.org/).
149
+
150
+ ### Managing dependencies
151
+
197
152
  #### Best practices for dependency installation
198
153
 
199
154
  When you install a dependency in a component or package in `auro-formkit`, you should install it directly in the package that uses it.
200
155
 
201
- The package's `package.json` will have every dependency that it needs. This is true for both external and internal dependencies.
202
-
203
- ### Types of Dependencies by Source
204
-
156
+ The package's `package.json` will have every dependency that it needs. This is true for both external and internal dependencies.
157
+
158
+ ### Types of Dependencies by Source
159
+
205
160
  #### External Dependencies
206
161
  - These are packages fetched from the `npm` registry (e.g., Lit, Rollup, Sass)
207
162
  - Declared in `package.json` using exact versions or version ranges
208
- - Installed in `node_modules` during `npm install` or `yarn install`
209
-
163
+ - Installed in `node_modules` during `npm install` or `yarn install`
164
+
210
165
  #### Internal Dependencies
211
166
  - These are packages from within the `auro-formkit` monorepo
212
167
  - Allow sharing code between different packages in your repository
@@ -214,33 +169,19 @@ The package's `package.json` will have every dependency that it needs. This is t
214
169
  - Must be declared in `package.json` just like external dependencies
215
170
  - Use workspace protocols (e.g., `"workspace:*"` or `"workspace:^1.0.0"`)
216
171
 
217
- ### Types of Dependencies by Purpose
218
-
172
+ ### Types of Dependencies by Purpose
173
+
219
174
  #### Dependencies (`dependencies`)
220
175
  - Required for the package to function in production
221
176
  - Example:
222
177
  ```json
223
178
  {
224
179
  "dependencies": {
225
- "lit.js": "^3.0.0", // External dependency
226
- "@aurodesignsystem/input": "workspace:*" // Internal dependency
227
- }
228
- }
229
- ```
230
-
231
- #### Peer Dependencies (`peerDependencies`)
232
- - Packages that your library expects the consuming application to provide
233
- - Common for plugins or UI component libraries
234
- - Example:
235
- ```json
236
- {
237
- "peerDependencies": {
238
- "react": "^16.8.0 || ^17.0.0 || ^18.0.0",
239
- "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
180
+ "lit": "^3.0.0"
240
181
  }
241
182
  }
242
- ```
243
-
183
+ ```
184
+
244
185
  ### Development Dependencies (`devDependencies`)
245
186
  - Only needed during development, testing, or building
246
187
  - Not included in the production bundle
@@ -248,36 +189,30 @@ The package's `package.json` will have every dependency that it needs. This is t
248
189
  ```json
249
190
  {
250
191
  "devDependencies": {
251
- "typescript": "^5.0.0",
252
- "@open-wc/testing": "^4.0.0" // Internal dev dependency
192
+ "@aurodesignsystem/auro-dropdown": "*",
193
+ "@aurodesignsystem/build-tools": "*",
194
+ "rollup": "^4.24.4"
253
195
  }
254
196
  }
255
- ```
197
+ ```
198
+
199
+ ### Example: Component Dependencies
256
200
 
257
- ## Example: Component Dependencies
258
-
259
- Let's use `@auro-formki/combobox` as an example to illustrate these concepts:
201
+ Let's use `@aurodesignsystem/combobox` as an example to illustrate these concepts:
260
202
 
261
203
  ```json
262
204
  {
263
205
  "name": "@aurodesignsystem/combobox",
264
206
  "dependencies": {
265
- // Internal dependencies
266
- "@aurodesignsystem/auro-dropdown": "*", // Required UI component
267
- "@aurodesignsystem/auro-input": "*", // Required UI component
268
-
269
- // External dependencies
270
- "@alaskaairux/icons": "^5.3.0", // Required UI component
271
- "lit": "^3.2.1" // Framework
272
- },
273
- "peerDependencies": {
274
- "@aurodesignsystem/design-tokens": "^4.12.1",
275
- "@aurodesignsystem/webcorestylesheets": "^5.1.2"
207
+ "lit": "^3.2.1"
276
208
  },
277
209
  "devDependencies": {
210
+ // Internal component dependencies
211
+ "@aurodesignsystem/auro-dropdown": "*",
212
+ "@aurodesignsystem/auro-input": "*",
278
213
  // Build utilities
279
214
  "rollup": "^4.24.4",
280
- "@aurodesignsystem/build-tools": "*",
215
+ "@aurodesignsystem/build-tools": "*"
281
216
  }
282
217
  }
283
218
  ```
@@ -286,7 +221,6 @@ This structure ensures that:
286
221
  1. The package explicitly declares all its dependencies
287
222
  2. Internal dependencies are properly tracked and versioned
288
223
  3. Development tools are separated from production dependencies
289
- 4. Peer dependencies are clearly communicated to consumers
290
224
 
291
225
  - External dependencies come from the `npm` registry.
292
226
 
@@ -302,8 +236,8 @@ This practice has several benefits:
302
236
 
303
237
  - **Pruning unused dependencies:** When dependencies are installed in the packages that they are meant for, Turborepo can read your lockfile and remove dependencies that aren't used in the packages you need.
304
238
 
305
- For more information, see the [Turborepo docs](https://turbo.build/repo/docs/crafting-your-repository/managing-dependencies).
306
-
239
+ For more information, see the [Turborepo docs](https://turbo.build/repo/docs/crafting-your-repository/managing-dependencies).
240
+
307
241
  ### Root `package.json`
308
242
 
309
243
  The only dependencies that belong in the root `package.json` are **tools for managing the repository**.
@@ -311,4 +245,20 @@ The only dependencies that belong in the root `package.json` are **tools for man
311
245
  Some examples of dependencies that make sense to install in the root are `turbo`, `husky`, or `stylelint`.
312
246
 
313
247
  Conversely, dependencies Auro components rely on should be installed in their respective packages, such as `Lit`, `Rollup`, or other `auro-formkit` dependencies.
248
+ <!-- AURO-GENERATED-CONTENT:END -->
249
+
250
+ ## Formkit Development
251
+
252
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/developmentDescription.md) -->
253
+ <!-- The below content is automatically added from ./docs/partials/developmentDescription.md -->
254
+
255
+ ### Filtering
256
+
257
+ Running the `dev` command will open a `localhost` development server for all components in the monorepo at once.
258
+
259
+ To only develop a single component, use the `--filter` flag:
260
+
261
+ ```shell
262
+ npx turbo dev --filter=@aurodesignsystem/auro-input
263
+ ```
314
264
  <!-- AURO-GENERATED-CONTENT:END -->
@@ -142,7 +142,7 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
142
142
  }
143
143
  };
144
144
 
145
- // Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
145
+ // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
146
146
  // See LICENSE in the project root for license information.
147
147
 
148
148
 
@@ -1687,9 +1687,9 @@ class AuroHelpText extends i$2 {
1687
1687
  }
1688
1688
  }
1689
1689
 
1690
- var formkitVersion = '202604072230';
1690
+ var formkitVersion = '202604091934';
1691
1691
 
1692
- // Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
1692
+ // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1693
1693
  // See LICENSE in the project root for license information.
1694
1694
 
1695
1695
 
@@ -134,7 +134,7 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
134
134
  }
135
135
  };
136
136
 
137
- // Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
137
+ // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
138
138
  // See LICENSE in the project root for license information.
139
139
 
140
140
 
@@ -1679,9 +1679,9 @@ class AuroHelpText extends i$2 {
1679
1679
  }
1680
1680
  }
1681
1681
 
1682
- var formkitVersion = '202604072230';
1682
+ var formkitVersion = '202604091934';
1683
1683
 
1684
- // Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
1684
+ // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1685
1685
  // See LICENSE in the project root for license information.
1686
1686
 
1687
1687
 
@@ -94,7 +94,7 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
94
94
  }
95
95
  };
96
96
 
97
- // Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
97
+ // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
98
98
  // See LICENSE in the project root for license information.
99
99
 
100
100
 
@@ -1632,9 +1632,9 @@ class AuroHelpText extends LitElement {
1632
1632
  }
1633
1633
  }
1634
1634
 
1635
- var formkitVersion = '202604072230';
1635
+ var formkitVersion = '202604091934';
1636
1636
 
1637
- // Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
1637
+ // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1638
1638
  // See LICENSE in the project root for license information.
1639
1639
 
1640
1640
 
@@ -94,7 +94,7 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
94
94
  }
95
95
  };
96
96
 
97
- // Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
97
+ // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
98
98
  // See LICENSE in the project root for license information.
99
99
 
100
100
 
@@ -1632,9 +1632,9 @@ class AuroHelpText extends LitElement {
1632
1632
  }
1633
1633
  }
1634
1634
 
1635
- var formkitVersion = '202604072230';
1635
+ var formkitVersion = '202604091934';
1636
1636
 
1637
- // Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
1637
+ // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1638
1638
  // See LICENSE in the project root for license information.
1639
1639
 
1640
1640
 
@@ -54,6 +54,7 @@
54
54
  <script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-button@latest/+esm" type="module"></script>
55
55
  <script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-icon@latest/+esm" type="module"></script>
56
56
  <script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-dialog@latest/+esm" type="module"></script>
57
+ <script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-drawer@latest/+esm" type="module"></script>
57
58
  <script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-loader@latest/+esm" type="module"></script>
58
59
 
59
60
  <script type="module" data-demo-script="true">
@@ -5,6 +5,7 @@ import { resetStateExample } from '../apiExamples/reset-state';
5
5
  import { setupExternalSelectionExample } from '../apiExamples/external-selection';
6
6
  import { valueExample } from '../apiExamples/value';
7
7
  import { inDialogExample } from '../apiExamples/in-dialog';
8
+ import { inDrawerExample } from '../apiExamples/in-drawer';
8
9
  import { persistentExample } from '../apiExamples/persistent';
9
10
  import { swapValueExample } from '../apiExamples/swap-value';
10
11
 
@@ -22,7 +23,8 @@ export function initExamples(initCount) {
22
23
  resetStateExample();
23
24
  setupExternalSelectionExample();
24
25
  valueExample();
25
- inDialogExample();
26
+ inDialogExample();
27
+ inDrawerExample();
26
28
  persistentExample();
27
29
  swapValueExample();
28
30
  } catch (err) {
@@ -2097,6 +2097,81 @@ export function inDialogExample() {
2097
2097
  <!-- AURO-GENERATED-CONTENT:END -->
2098
2098
  </auro-accordion>
2099
2099
 
2100
+ ### In Drawer
2101
+
2102
+ Example use of component within an `auro-drawer`.
2103
+
2104
+ <div class="exampleWrapper">
2105
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/in-drawer.html) -->
2106
+ <!-- The below content is automatically added from ./../apiExamples/in-drawer.html -->
2107
+ <div>
2108
+ <auro-button id="combobox-drawer-opener">Combobox in Drawer</auro-button>
2109
+ <auro-drawer id="combobox-drawer">
2110
+ <span slot="header">Combobox in Drawer</span>
2111
+ <div slot="content">
2112
+ <auro-combobox>
2113
+ <span slot="bib.fullscreen.headline">Bib Header</span>
2114
+ <span slot="label">Name</span>
2115
+ <auro-menu>
2116
+ <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
2117
+ <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
2118
+ <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
2119
+ <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
2120
+ <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
2121
+ <auro-menuoption static nomatch>No matching option</auro-menuoption>
2122
+ </auro-menu>
2123
+ </auro-combobox>
2124
+ </div>
2125
+ </auro-drawer>
2126
+ </div>
2127
+ <!-- AURO-GENERATED-CONTENT:END -->
2128
+ </div>
2129
+ <auro-accordion alignRight>
2130
+ <span slot="trigger">See code</span>
2131
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/in-drawer.html) -->
2132
+ <!-- The below code snippet is automatically added from ./../apiExamples/in-drawer.html -->
2133
+
2134
+ ```html
2135
+ <div>
2136
+ <auro-button id="combobox-drawer-opener">Combobox in Drawer</auro-button>
2137
+ <auro-drawer id="combobox-drawer">
2138
+ <span slot="header">Combobox in Drawer</span>
2139
+ <div slot="content">
2140
+ <auro-combobox>
2141
+ <span slot="bib.fullscreen.headline">Bib Header</span>
2142
+ <span slot="label">Name</span>
2143
+ <auro-menu>
2144
+ <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
2145
+ <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
2146
+ <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
2147
+ <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
2148
+ <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
2149
+ <auro-menuoption static nomatch>No matching option</auro-menuoption>
2150
+ </auro-menu>
2151
+ </auro-combobox>
2152
+ </div>
2153
+ </auro-drawer>
2154
+ </div>
2155
+ ```
2156
+ <!-- AURO-GENERATED-CONTENT:END -->
2157
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/in-drawer.js) -->
2158
+ <!-- The below code snippet is automatically added from ./../apiExamples/in-drawer.js -->
2159
+
2160
+ ```js
2161
+ export function inDrawerExample() {
2162
+ document.querySelector("#combobox-drawer-opener").addEventListener("click", () => {
2163
+ const drawer = document.querySelector("#combobox-drawer");
2164
+ if (drawer.hasAttribute('open')) {
2165
+ drawer.removeAttribute('open');
2166
+ } else {
2167
+ drawer.setAttribute('open', true);
2168
+ }
2169
+ });
2170
+ };
2171
+ ```
2172
+ <!-- AURO-GENERATED-CONTENT:END -->
2173
+ </auro-accordion>
2174
+
2100
2175
  ### Persistent Menu Option with a Custom Event
2101
2176
 
2102
2177
  This example demonstrates a static menu option that will always appears regardless of the suggestion filtering performed. In this example "Add new address" will always be a displayed menu option.