@aurodesignsystem/auro-formkit 3.2.6 → 3.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Semantic Release Automated Changelog
2
2
 
3
+ ## [3.2.7](https://github.com/AlaskaAirlines/auro-formkit/compare/v3.2.6...v3.2.7) (2025-05-05)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * make `focus` function to focus `input` node ([f0bef6f](https://github.com/AlaskaAirlines/auro-formkit/commit/f0bef6f344bc354fffe4bba51e6eb5c6a5628486))
9
+
3
10
  ## [3.2.6](https://github.com/AlaskaAirlines/auro-formkit/compare/v3.2.5...v3.2.6) (2025-05-05)
4
11
 
5
12
 
@@ -106,7 +106,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
106
106
  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.
107
107
 
108
108
  ```html
109
- <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.5/auro-checkbox/+esm"></script>
109
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.6/auro-checkbox/+esm"></script>
110
110
  ```
111
111
  <!-- AURO-GENERATED-CONTENT:END -->
112
112
 
@@ -60,11 +60,9 @@ Custom element for the purpose of allowing users to select one or more options o
60
60
 
61
61
  ## Methods
62
62
 
63
- | Method | Type | Description |
64
- |----------------|----------------------|------------------------------------|
65
- | [handleChange](#handleChange) | `(event: any): void` | |
66
- | [handleInput](#handleInput) | `(event: any): void` | |
67
- | [reset](#reset) | `(): void` | Resets component to initial state. |
63
+ | Method | Type | Description |
64
+ |---------|------------|------------------------------------|
65
+ | [reset](#reset) | `(): void` | Resets component to initial state. |
68
66
 
69
67
  ## Events
70
68
 
@@ -154,6 +154,15 @@ class AuroCheckbox extends i$2 {
154
154
  * @private
155
155
  */
156
156
  this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
157
+
158
+ /**
159
+ * @private
160
+ * @property {boolean} delegatesFocus - Whether the shadow root delegates focus.
161
+ */
162
+ this.constructor.shadowRootOptions = {
163
+ ...i$2.shadowRootOptions,
164
+ delegatesFocus: true,
165
+ };
157
166
  }
158
167
 
159
168
  static get styles() {
@@ -232,8 +241,14 @@ class AuroCheckbox extends i$2 {
232
241
  AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroCheckbox);
233
242
  }
234
243
 
235
- // This custom event is only for the purpose of supporting IE
236
- // .addEventListener('change', function() { })
244
+ /**
245
+ * Handles the change event for the checkbox input.
246
+ * Updates the checked state and dispatches a corresponding custom event.
247
+ * This custom event is only for the purpose of supporting IE
248
+ * @private
249
+ * @param {Event} event - The change event from the checkbox input.
250
+ * @returns {void}
251
+ */
237
252
  handleChange(event) {
238
253
  this.checked = event.target.checked;
239
254
  const customEvent = new CustomEvent(event.type, event);
@@ -241,6 +256,13 @@ class AuroCheckbox extends i$2 {
241
256
  this.dispatchEvent(customEvent);
242
257
  }
243
258
 
259
+ /**
260
+ * Handles the input event for the checkbox input.
261
+ * Updates the checked state and dispatches a custom 'auroCheckbox-input' event.
262
+ * @private
263
+ * @param {Event} event - The input event from the checkbox input.
264
+ * @returns {void}
265
+ */
244
266
  handleInput(event) {
245
267
  this.checked = event.target.checked;
246
268
 
@@ -146,6 +146,15 @@ class AuroCheckbox extends i$2 {
146
146
  * @private
147
147
  */
148
148
  this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
149
+
150
+ /**
151
+ * @private
152
+ * @property {boolean} delegatesFocus - Whether the shadow root delegates focus.
153
+ */
154
+ this.constructor.shadowRootOptions = {
155
+ ...i$2.shadowRootOptions,
156
+ delegatesFocus: true,
157
+ };
149
158
  }
150
159
 
151
160
  static get styles() {
@@ -224,8 +233,14 @@ class AuroCheckbox extends i$2 {
224
233
  AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroCheckbox);
225
234
  }
226
235
 
227
- // This custom event is only for the purpose of supporting IE
228
- // .addEventListener('change', function() { })
236
+ /**
237
+ * Handles the change event for the checkbox input.
238
+ * Updates the checked state and dispatches a corresponding custom event.
239
+ * This custom event is only for the purpose of supporting IE
240
+ * @private
241
+ * @param {Event} event - The change event from the checkbox input.
242
+ * @returns {void}
243
+ */
229
244
  handleChange(event) {
230
245
  this.checked = event.target.checked;
231
246
  const customEvent = new CustomEvent(event.type, event);
@@ -233,6 +248,13 @@ class AuroCheckbox extends i$2 {
233
248
  this.dispatchEvent(customEvent);
234
249
  }
235
250
 
251
+ /**
252
+ * Handles the input event for the checkbox input.
253
+ * Updates the checked state and dispatches a custom 'auroCheckbox-input' event.
254
+ * @private
255
+ * @param {Event} event - The input event from the checkbox input.
256
+ * @returns {void}
257
+ */
236
258
  handleInput(event) {
237
259
  this.checked = event.target.checked;
238
260
 
@@ -106,7 +106,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
106
106
  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.
107
107
 
108
108
  ```html
109
- <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.5/auro-checkbox/+esm"></script>
109
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.6/auro-checkbox/+esm"></script>
110
110
  ```
111
111
  <!-- AURO-GENERATED-CONTENT:END -->
112
112
 
@@ -73,8 +73,23 @@ export class AuroCheckbox extends LitElement {
73
73
  * @private
74
74
  */
75
75
  private runtimeUtils;
76
- handleChange(event: any): void;
77
- handleInput(event: any): void;
76
+ /**
77
+ * Handles the change event for the checkbox input.
78
+ * Updates the checked state and dispatches a corresponding custom event.
79
+ * This custom event is only for the purpose of supporting IE
80
+ * @private
81
+ * @param {Event} event - The change event from the checkbox input.
82
+ * @returns {void}
83
+ */
84
+ private handleChange;
85
+ /**
86
+ * Handles the input event for the checkbox input.
87
+ * Updates the checked state and dispatches a custom 'auroCheckbox-input' event.
88
+ * @private
89
+ * @param {Event} event - The input event from the checkbox input.
90
+ * @returns {void}
91
+ */
92
+ private handleInput;
78
93
  /**
79
94
  * Function to support @focusin event.
80
95
  * @private
@@ -106,6 +106,15 @@ class AuroCheckbox extends LitElement {
106
106
  * @private
107
107
  */
108
108
  this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
109
+
110
+ /**
111
+ * @private
112
+ * @property {boolean} delegatesFocus - Whether the shadow root delegates focus.
113
+ */
114
+ this.constructor.shadowRootOptions = {
115
+ ...LitElement.shadowRootOptions,
116
+ delegatesFocus: true,
117
+ };
109
118
  }
110
119
 
111
120
  static get styles() {
@@ -184,8 +193,14 @@ class AuroCheckbox extends LitElement {
184
193
  AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroCheckbox);
185
194
  }
186
195
 
187
- // This custom event is only for the purpose of supporting IE
188
- // .addEventListener('change', function() { })
196
+ /**
197
+ * Handles the change event for the checkbox input.
198
+ * Updates the checked state and dispatches a corresponding custom event.
199
+ * This custom event is only for the purpose of supporting IE
200
+ * @private
201
+ * @param {Event} event - The change event from the checkbox input.
202
+ * @returns {void}
203
+ */
189
204
  handleChange(event) {
190
205
  this.checked = event.target.checked;
191
206
  const customEvent = new CustomEvent(event.type, event);
@@ -193,6 +208,13 @@ class AuroCheckbox extends LitElement {
193
208
  this.dispatchEvent(customEvent);
194
209
  }
195
210
 
211
+ /**
212
+ * Handles the input event for the checkbox input.
213
+ * Updates the checked state and dispatches a custom 'auroCheckbox-input' event.
214
+ * @private
215
+ * @param {Event} event - The input event from the checkbox input.
216
+ * @returns {void}
217
+ */
196
218
  handleInput(event) {
197
219
  this.checked = event.target.checked;
198
220
 
@@ -106,6 +106,15 @@ class AuroCheckbox extends LitElement {
106
106
  * @private
107
107
  */
108
108
  this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
109
+
110
+ /**
111
+ * @private
112
+ * @property {boolean} delegatesFocus - Whether the shadow root delegates focus.
113
+ */
114
+ this.constructor.shadowRootOptions = {
115
+ ...LitElement.shadowRootOptions,
116
+ delegatesFocus: true,
117
+ };
109
118
  }
110
119
 
111
120
  static get styles() {
@@ -184,8 +193,14 @@ class AuroCheckbox extends LitElement {
184
193
  AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroCheckbox);
185
194
  }
186
195
 
187
- // This custom event is only for the purpose of supporting IE
188
- // .addEventListener('change', function() { })
196
+ /**
197
+ * Handles the change event for the checkbox input.
198
+ * Updates the checked state and dispatches a corresponding custom event.
199
+ * This custom event is only for the purpose of supporting IE
200
+ * @private
201
+ * @param {Event} event - The change event from the checkbox input.
202
+ * @returns {void}
203
+ */
189
204
  handleChange(event) {
190
205
  this.checked = event.target.checked;
191
206
  const customEvent = new CustomEvent(event.type, event);
@@ -193,6 +208,13 @@ class AuroCheckbox extends LitElement {
193
208
  this.dispatchEvent(customEvent);
194
209
  }
195
210
 
211
+ /**
212
+ * Handles the input event for the checkbox input.
213
+ * Updates the checked state and dispatches a custom 'auroCheckbox-input' event.
214
+ * @private
215
+ * @param {Event} event - The input event from the checkbox input.
216
+ * @returns {void}
217
+ */
196
218
  handleInput(event) {
197
219
  this.checked = event.target.checked;
198
220
 
@@ -111,7 +111,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
111
111
  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.
112
112
 
113
113
  ```html
114
- <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.5/auro-combobox/+esm"></script>
114
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.6/auro-combobox/+esm"></script>
115
115
  ```
116
116
  <!-- AURO-GENERATED-CONTENT:END -->
117
117
 
@@ -111,7 +111,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
111
111
  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.
112
112
 
113
113
  ```html
114
- <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.5/auro-combobox/+esm"></script>
114
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.6/auro-combobox/+esm"></script>
115
115
  ```
116
116
  <!-- AURO-GENERATED-CONTENT:END -->
117
117
 
@@ -110,7 +110,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
110
110
  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.
111
111
 
112
112
  ```html
113
- <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.5/auro-counter/+esm"></script>
113
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.6/auro-counter/+esm"></script>
114
114
  ```
115
115
  <!-- AURO-GENERATED-CONTENT:END -->
116
116
 
@@ -110,7 +110,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
110
110
  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.
111
111
 
112
112
  ```html
113
- <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.5/auro-counter/+esm"></script>
113
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.6/auro-counter/+esm"></script>
114
114
  ```
115
115
  <!-- AURO-GENERATED-CONTENT:END -->
116
116
 
@@ -104,7 +104,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
104
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
105
 
106
106
  ```html
107
- <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.5/auro-datepicker/+esm"></script>
107
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.6/auro-datepicker/+esm"></script>
108
108
  ```
109
109
  <!-- AURO-GENERATED-CONTENT:END -->
110
110
 
@@ -104,7 +104,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
104
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
105
 
106
106
  ```html
107
- <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.5/auro-datepicker/+esm"></script>
107
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.6/auro-datepicker/+esm"></script>
108
108
  ```
109
109
  <!-- AURO-GENERATED-CONTENT:END -->
110
110
 
@@ -107,7 +107,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
107
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.
108
108
 
109
109
  ```html
110
- <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.5/auro-dropdown/+esm"></script>
110
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.6/auro-dropdown/+esm"></script>
111
111
  ```
112
112
  <!-- AURO-GENERATED-CONTENT:END -->
113
113
 
@@ -107,7 +107,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
107
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.
108
108
 
109
109
  ```html
110
- <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.5/auro-dropdown/+esm"></script>
110
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.6/auro-dropdown/+esm"></script>
111
111
  ```
112
112
  <!-- AURO-GENERATED-CONTENT:END -->
113
113
 
@@ -109,7 +109,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
109
109
  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.
110
110
 
111
111
  ```html
112
- <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.5/auro-form/+esm"></script>
112
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.6/auro-form/+esm"></script>
113
113
  ```
114
114
  <!-- AURO-GENERATED-CONTENT:END -->
115
115
 
@@ -109,7 +109,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
109
109
  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.
110
110
 
111
111
  ```html
112
- <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.5/auro-form/+esm"></script>
112
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.6/auro-form/+esm"></script>
113
113
  ```
114
114
  <!-- AURO-GENERATED-CONTENT:END -->
115
115
 
@@ -99,7 +99,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
99
99
  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.
100
100
 
101
101
  ```html
102
- <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.5/auro-input/+esm"></script>
102
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.6/auro-input/+esm"></script>
103
103
  ```
104
104
  <!-- AURO-GENERATED-CONTENT:END -->
105
105
 
@@ -99,7 +99,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
99
99
  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.
100
100
 
101
101
  ```html
102
- <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.5/auro-input/+esm"></script>
102
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.6/auro-input/+esm"></script>
103
103
  ```
104
104
  <!-- AURO-GENERATED-CONTENT:END -->
105
105
 
@@ -110,7 +110,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
110
110
  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.
111
111
 
112
112
  ```html
113
- <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.5/auro-menu/+esm"></script>
113
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.6/auro-menu/+esm"></script>
114
114
  ```
115
115
  <!-- AURO-GENERATED-CONTENT:END -->
116
116
 
@@ -110,7 +110,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
110
110
  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.
111
111
 
112
112
  ```html
113
- <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.5/auro-menu/+esm"></script>
113
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.6/auro-menu/+esm"></script>
114
114
  ```
115
115
  <!-- AURO-GENERATED-CONTENT:END -->
116
116
 
@@ -100,7 +100,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
100
100
  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.
101
101
 
102
102
  ```html
103
- <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.5/auro-radio/+esm"></script>
103
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.6/auro-radio/+esm"></script>
104
104
  ```
105
105
  <!-- AURO-GENERATED-CONTENT:END -->
106
106
 
@@ -100,7 +100,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
100
100
  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.
101
101
 
102
102
  ```html
103
- <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.5/auro-radio/+esm"></script>
103
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.6/auro-radio/+esm"></script>
104
104
  ```
105
105
  <!-- AURO-GENERATED-CONTENT:END -->
106
106
 
@@ -111,7 +111,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
111
111
  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.
112
112
 
113
113
  ```html
114
- <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.5/auro-select/+esm"></script>
114
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.6/auro-select/+esm"></script>
115
115
  ```
116
116
  <!-- AURO-GENERATED-CONTENT:END -->
117
117
 
@@ -111,7 +111,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
111
111
  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.
112
112
 
113
113
  ```html
114
- <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.5/auro-select/+esm"></script>
114
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.6/auro-select/+esm"></script>
115
115
  ```
116
116
  <!-- AURO-GENERATED-CONTENT:END -->
117
117
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aurodesignsystem/auro-formkit",
3
- "version": "3.2.6",
3
+ "version": "3.2.7",
4
4
  "description": "A collection of web components used to build forms.",
5
5
  "homepage": "https://github.com/AlaskaAirlines/auro-formkit#readme",
6
6
  "bugs": {