@aurodesignsystem/auro-formkit 2.2.0-beta.1 → 2.2.1-beta.1

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,30 @@
1
1
  # Semantic Release Automated Changelog
2
2
 
3
+ ## [2.2.1-beta.1](https://github.com/AlaskaAirlines/auro-formkit/compare/v2.2.0...v2.2.1-beta.1) (2025-04-07)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * properly closes bib when selecting an option ([51a5e91](https://github.com/AlaskaAirlines/auro-formkit/commit/51a5e91b8f3e66d6b4fbc414e2a502947394e902))
9
+
10
+ # [2.2.0](https://github.com/AlaskaAirlines/auro-formkit/compare/v2.1.0...v2.2.0) (2025-04-02)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * correct script tag formatting in bundleInstallDescription.md and update comment formatting in input README ([a2018cd](https://github.com/AlaskaAirlines/auro-formkit/commit/a2018cd2166013449a7abf530741e875573756b6))
16
+ * move host styles to div to prevent tailwindcss from overriding the padding ([3f4bc55](https://github.com/AlaskaAirlines/auro-formkit/commit/3f4bc551cebc70717ad556e7e3addaa3c5c0f9c7))
17
+
18
+
19
+ ### Features
20
+
21
+ * add `floaterConfig` attributes on dropdown counter-group ([9510ee0](https://github.com/AlaskaAirlines/auro-formkit/commit/9510ee034800071e97e599ef6c213bda98ef908c))
22
+ * added labeled property to dropdown for sizing ([01b4d9a](https://github.com/AlaskaAirlines/auro-formkit/commit/01b4d9aa7a669728c2fb02cede26fce203360585))
23
+ * expose `floaterConfig` related attrs on combobox ([ea78a71](https://github.com/AlaskaAirlines/auro-formkit/commit/ea78a71617e9414069c002ea83f6d5f33df3111a))
24
+ * expose `floaterConfig` related attrs on datepicker ([d426bf7](https://github.com/AlaskaAirlines/auro-formkit/commit/d426bf7d04a8de00cf8689c4efe3bbdaaf0e75dc))
25
+ * expose `floaterConfig` related attrs on select ([3183fa0](https://github.com/AlaskaAirlines/auro-formkit/commit/3183fa0f137a2daeae34b5165a55158f1f5a92ae))
26
+ * expose `placement`, `offset`, `noFlip`, `autoPlacement` attrs in dropdown ([b67a47d](https://github.com/AlaskaAirlines/auro-formkit/commit/b67a47dd8d38518da8b621d2cef88c9840682cfa))
27
+
3
28
  # [2.2.0-beta.1](https://github.com/AlaskaAirlines/auro-formkit/compare/v2.1.0...v2.2.0-beta.1) (2025-04-02)
4
29
 
5
30
 
@@ -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@2.1.0/auro-checkbox/+esm"></script>
109
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.2.0/auro-checkbox/+esm"></script>
110
110
  ```
111
111
  <!-- AURO-GENERATED-CONTENT:END -->
112
112
 
@@ -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@2.1.0/auro-checkbox/+esm"></script>
109
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.2.0/auro-checkbox/+esm"></script>
110
110
  ```
111
111
  <!-- AURO-GENERATED-CONTENT:END -->
112
112
 
@@ -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@2.1.0/auro-combobox/+esm"></script>
114
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.2.0/auro-combobox/+esm"></script>
115
115
  ```
116
116
  <!-- AURO-GENERATED-CONTENT:END -->
117
117
 
@@ -12391,11 +12391,6 @@ class AuroCombobox extends r$1 {
12391
12391
  this.noMatchOption.setAttribute('hidden', '');
12392
12392
  }
12393
12393
  }
12394
-
12395
- const hasFocus = this.contains(document.activeElement);
12396
- if (hasFocus) {
12397
- this.showBib();
12398
- }
12399
12394
  }
12400
12395
 
12401
12396
  /**
@@ -12572,7 +12567,7 @@ class AuroCombobox extends r$1 {
12572
12567
  * @param {KeyboardEvent} event - The keyboard event.
12573
12568
  */
12574
12569
  bubbleUpInputKeyEvent(event) {
12575
- if (event.currentTarget.parentNode !== this.dropdown) {
12570
+ if (event.currentTarget.parentNode === this.dropdown) {
12576
12571
  if (event.key === 'ArrowUp' || event.key === 'ArrowDown') {
12577
12572
  event.preventDefault();
12578
12573
  }
@@ -12743,14 +12738,6 @@ class AuroCombobox extends r$1 {
12743
12738
  this.hideBib();
12744
12739
  this.classList.remove('combobox-filled');
12745
12740
  } else if (!this.dropdown.isPopoverVisible && this.availableOptions) {
12746
- const hasFocus = this.contains(document.activeElement);
12747
-
12748
- // If focus is within the combobox, show bib
12749
- // Prevent bib from being shown while loading & presetting the value
12750
- if (hasFocus) {
12751
- this.showBib();
12752
- }
12753
-
12754
12741
  this.classList.add('combobox-filled');
12755
12742
  }
12756
12743
 
@@ -12249,11 +12249,6 @@ class AuroCombobox extends r$1 {
12249
12249
  this.noMatchOption.setAttribute('hidden', '');
12250
12250
  }
12251
12251
  }
12252
-
12253
- const hasFocus = this.contains(document.activeElement);
12254
- if (hasFocus) {
12255
- this.showBib();
12256
- }
12257
12252
  }
12258
12253
 
12259
12254
  /**
@@ -12430,7 +12425,7 @@ class AuroCombobox extends r$1 {
12430
12425
  * @param {KeyboardEvent} event - The keyboard event.
12431
12426
  */
12432
12427
  bubbleUpInputKeyEvent(event) {
12433
- if (event.currentTarget.parentNode !== this.dropdown) {
12428
+ if (event.currentTarget.parentNode === this.dropdown) {
12434
12429
  if (event.key === 'ArrowUp' || event.key === 'ArrowDown') {
12435
12430
  event.preventDefault();
12436
12431
  }
@@ -12601,14 +12596,6 @@ class AuroCombobox extends r$1 {
12601
12596
  this.hideBib();
12602
12597
  this.classList.remove('combobox-filled');
12603
12598
  } else if (!this.dropdown.isPopoverVisible && this.availableOptions) {
12604
- const hasFocus = this.contains(document.activeElement);
12605
-
12606
- // If focus is within the combobox, show bib
12607
- // Prevent bib from being shown while loading & presetting the value
12608
- if (hasFocus) {
12609
- this.showBib();
12610
- }
12611
-
12612
12599
  this.classList.add('combobox-filled');
12613
12600
  }
12614
12601
 
@@ -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@2.1.0/auro-combobox/+esm"></script>
114
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.2.0/auro-combobox/+esm"></script>
115
115
  ```
116
116
  <!-- AURO-GENERATED-CONTENT:END -->
117
117
 
@@ -12167,11 +12167,6 @@ class AuroCombobox extends LitElement {
12167
12167
  this.noMatchOption.setAttribute('hidden', '');
12168
12168
  }
12169
12169
  }
12170
-
12171
- const hasFocus = this.contains(document.activeElement);
12172
- if (hasFocus) {
12173
- this.showBib();
12174
- }
12175
12170
  }
12176
12171
 
12177
12172
  /**
@@ -12348,7 +12343,7 @@ class AuroCombobox extends LitElement {
12348
12343
  * @param {KeyboardEvent} event - The keyboard event.
12349
12344
  */
12350
12345
  bubbleUpInputKeyEvent(event) {
12351
- if (event.currentTarget.parentNode !== this.dropdown) {
12346
+ if (event.currentTarget.parentNode === this.dropdown) {
12352
12347
  if (event.key === 'ArrowUp' || event.key === 'ArrowDown') {
12353
12348
  event.preventDefault();
12354
12349
  }
@@ -12519,14 +12514,6 @@ class AuroCombobox extends LitElement {
12519
12514
  this.hideBib();
12520
12515
  this.classList.remove('combobox-filled');
12521
12516
  } else if (!this.dropdown.isPopoverVisible && this.availableOptions) {
12522
- const hasFocus = this.contains(document.activeElement);
12523
-
12524
- // If focus is within the combobox, show bib
12525
- // Prevent bib from being shown while loading & presetting the value
12526
- if (hasFocus) {
12527
- this.showBib();
12528
- }
12529
-
12530
12517
  this.classList.add('combobox-filled');
12531
12518
  }
12532
12519
 
@@ -12167,11 +12167,6 @@ class AuroCombobox extends LitElement {
12167
12167
  this.noMatchOption.setAttribute('hidden', '');
12168
12168
  }
12169
12169
  }
12170
-
12171
- const hasFocus = this.contains(document.activeElement);
12172
- if (hasFocus) {
12173
- this.showBib();
12174
- }
12175
12170
  }
12176
12171
 
12177
12172
  /**
@@ -12348,7 +12343,7 @@ class AuroCombobox extends LitElement {
12348
12343
  * @param {KeyboardEvent} event - The keyboard event.
12349
12344
  */
12350
12345
  bubbleUpInputKeyEvent(event) {
12351
- if (event.currentTarget.parentNode !== this.dropdown) {
12346
+ if (event.currentTarget.parentNode === this.dropdown) {
12352
12347
  if (event.key === 'ArrowUp' || event.key === 'ArrowDown') {
12353
12348
  event.preventDefault();
12354
12349
  }
@@ -12519,14 +12514,6 @@ class AuroCombobox extends LitElement {
12519
12514
  this.hideBib();
12520
12515
  this.classList.remove('combobox-filled');
12521
12516
  } else if (!this.dropdown.isPopoverVisible && this.availableOptions) {
12522
- const hasFocus = this.contains(document.activeElement);
12523
-
12524
- // If focus is within the combobox, show bib
12525
- // Prevent bib from being shown while loading & presetting the value
12526
- if (hasFocus) {
12527
- this.showBib();
12528
- }
12529
-
12530
12517
  this.classList.add('combobox-filled');
12531
12518
  }
12532
12519
 
@@ -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@2.1.0/auro-counter/+esm"></script>
113
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.2.0/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@2.1.0/auro-counter/+esm"></script>
113
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.2.0/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@2.1.0/auro-datepicker/+esm"></script>
107
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.2.0/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@2.1.0/auro-datepicker/+esm"></script>
107
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.2.0/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@2.1.0/auro-dropdown/+esm"></script>
110
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.2.0/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@2.1.0/auro-dropdown/+esm"></script>
110
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.2.0/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@2.1.0/auro-form/+esm"></script>
112
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.2.0/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@2.1.0/auro-form/+esm"></script>
112
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.2.0/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@2.1.0/auro-input/+esm"></script>
102
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.2.0/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@2.1.0/auro-input/+esm"></script>
102
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.2.0/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@2.1.0/auro-menu/+esm"></script>
113
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.2.0/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@2.1.0/auro-menu/+esm"></script>
113
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.2.0/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@2.1.0/auro-radio/+esm"></script>
103
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.2.0/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@2.1.0/auro-radio/+esm"></script>
103
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.2.0/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@2.1.0/auro-select/+esm"></script>
114
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.2.0/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@2.1.0/auro-select/+esm"></script>
114
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.2.0/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": "2.2.0-beta.1",
3
+ "version": "2.2.1-beta.1",
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": {