@aurodesignsystem-dev/auro-formkit 0.0.0-pr1378.0 → 0.0.0-pr1379.0
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/README.md +86 -110
- package/components/checkbox/demo/api.min.js +1 -1
- package/components/checkbox/demo/index.min.js +1 -1
- package/components/checkbox/dist/index.js +1 -1
- package/components/checkbox/dist/registered.js +1 -1
- package/components/combobox/demo/api.min.js +14 -27
- package/components/combobox/demo/index.min.js +14 -27
- package/components/combobox/dist/index.js +14 -27
- package/components/combobox/dist/registered.js +14 -27
- package/components/counter/demo/api.min.js +13 -26
- package/components/counter/demo/index.min.js +13 -26
- package/components/counter/dist/index.js +13 -26
- package/components/counter/dist/registered.js +13 -26
- package/components/datepicker/demo/api.min.js +14 -27
- package/components/datepicker/demo/index.min.js +14 -27
- package/components/datepicker/dist/index.js +14 -27
- package/components/datepicker/dist/registered.js +14 -27
- package/components/dropdown/demo/api.min.js +12 -25
- package/components/dropdown/demo/index.min.js +12 -25
- package/components/dropdown/dist/index.js +12 -25
- package/components/dropdown/dist/registered.js +12 -25
- package/components/form/demo/api.min.js +57 -109
- package/components/form/demo/index.min.js +57 -109
- package/components/input/demo/api.min.js +1 -1
- package/components/input/demo/index.min.js +1 -1
- package/components/input/dist/index.js +1 -1
- package/components/input/dist/registered.js +1 -1
- package/components/radio/demo/api.min.js +1 -1
- package/components/radio/demo/index.min.js +1 -1
- package/components/radio/dist/index.js +1 -1
- package/components/radio/dist/registered.js +1 -1
- package/components/select/demo/api.min.js +13 -26
- package/components/select/demo/index.min.js +13 -26
- package/components/select/dist/index.js +13 -26
- package/components/select/dist/registered.js +13 -26
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
<!--
|
|
2
2
|
The README.md file is a compiled document. No edits should be made directly to this file.
|
|
3
3
|
|
|
4
|
-
README.md is created by running `npm run build:docs
|
|
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.
|
|
5
9
|
|
|
6
10
|
The following sections are editable by making changes to the following files:
|
|
7
11
|
|
|
@@ -13,7 +17,7 @@ The following sections are editable by making changes to the following files:
|
|
|
13
17
|
| Component Example Code | HTML sample code of the components use | `./apiExamples/basic.html` |
|
|
14
18
|
-->
|
|
15
19
|
|
|
16
|
-
#
|
|
20
|
+
# Formkit
|
|
17
21
|
|
|
18
22
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/description.md) -->
|
|
19
23
|
<!-- The below content is automatically added from ./docs/partials/description.md -->
|
|
@@ -40,56 +44,80 @@ It is a monorepo that contains the following components:
|
|
|
40
44
|
- `auro-select`
|
|
41
45
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
42
46
|
|
|
43
|
-
##
|
|
47
|
+
## Use Cases
|
|
44
48
|
|
|
45
|
-
<!-- AURO-GENERATED-CONTENT:START (
|
|
46
|
-
|
|
47
|
-
[](https://www.npmjs.com/package/@aurodesignsystem/auro-formkit)
|
|
48
|
-
[](https://www.apache.org/licenses/LICENSE-2.0)
|
|
49
|
-

|
|
49
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/useCases.md) -->
|
|
50
|
+
<!-- The below content is automatically added from ./docs/partials/useCases.md -->
|
|
50
51
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
### 1. User Accounts
|
|
53
|
+
- Sign up and login forms
|
|
54
|
+
- Email and password validation
|
|
54
55
|
|
|
55
|
-
|
|
56
|
+
### 2. Checkout & Payments
|
|
57
|
+
- Collect shipping and billing info
|
|
58
|
+
- Use autofill and validation to reduce errors
|
|
56
59
|
|
|
57
|
-
|
|
60
|
+
### 3. Booking & Scheduling
|
|
61
|
+
- Select dates and times
|
|
62
|
+
- Prevent invalid selections (like past dates)
|
|
58
63
|
|
|
59
|
-
|
|
64
|
+
### 4. Search & Filters
|
|
65
|
+
- Search inputs with suggestions
|
|
66
|
+
- Filters like price ranges or categories
|
|
60
67
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
68
|
+
### 5. File Uploads
|
|
69
|
+
- Upload images, documents, or media
|
|
70
|
+
- Restrict file types and allow multiple files
|
|
64
71
|
|
|
65
|
-
###
|
|
72
|
+
### 6. Feedback & Surveys
|
|
73
|
+
- Collect ratings, choices, and comments
|
|
74
|
+
- Require answers where needed
|
|
66
75
|
|
|
67
|
-
|
|
76
|
+
### 7. Calculators & Dynamic Forms
|
|
77
|
+
- Show real-time results (e.g., pricing, totals)
|
|
68
78
|
|
|
69
|
-
|
|
79
|
+
### 8. Multi-Step Forms
|
|
80
|
+
- Break long forms into smaller steps
|
|
70
81
|
|
|
71
|
-
|
|
82
|
+
### 9. Mobile-Friendly Input
|
|
83
|
+
- Use input types that trigger the right keyboard
|
|
72
84
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
85
|
+
### 10. Accessible Forms
|
|
86
|
+
- Proper labels and grouped inputs
|
|
87
|
+
- Built-in error handling
|
|
76
88
|
|
|
77
|
-
|
|
89
|
+
### 11. Built-in Validation
|
|
90
|
+
- Use HTML5 rules instead of custom JavaScript
|
|
91
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
78
92
|
|
|
79
|
-
|
|
93
|
+
## Getting Started
|
|
80
94
|
|
|
81
|
-
|
|
95
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/kitInstall.md) -->
|
|
96
|
+
<!-- The below content is automatically added from ./docs/partials/kitInstall.md -->
|
|
82
97
|
|
|
83
|
-
|
|
84
|
-
|
|
98
|
+
#### NPM Installation
|
|
99
|
+
|
|
100
|
+
```shell
|
|
101
|
+
$ npm i @aurodesignsystem/
|
|
102
|
+
```
|
|
103
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
104
|
+
<!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/WC-Generator/master/componentDocs/partials/usage/componentInstall_esm.md) -->
|
|
105
|
+
[](https://github.com/AlaskaAirlines/auro-formkit/actions/workflows/testPublish.yml)
|
|
106
|
+
[](https://www.npmjs.com/package/@aurodesignsystem/auro-formkit)
|
|
107
|
+
[](https://www.apache.org/licenses/LICENSE-2.0)
|
|
108
|
+

|
|
85
109
|
|
|
86
|
-
|
|
87
|
-
|
|
110
|
+
```shell
|
|
111
|
+
$ npm i @aurodesignsystem/auro-formkit
|
|
88
112
|
```
|
|
89
113
|
|
|
90
|
-
|
|
114
|
+
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.
|
|
115
|
+
|
|
116
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
117
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/gettingStarted.md) -->
|
|
118
|
+
<!-- The below content is automatically added from ./docs/partials/gettingStarted.md -->
|
|
91
119
|
|
|
92
|
-
|
|
120
|
+
### TypeScript Module Resolution
|
|
93
121
|
|
|
94
122
|
When using TypeScript set `moduleResolution` to `bundler`, add the following to your `tsconfig.json`:
|
|
95
123
|
|
|
@@ -102,93 +130,25 @@ When using TypeScript set `moduleResolution` to `bundler`, add the following to
|
|
|
102
130
|
```
|
|
103
131
|
|
|
104
132
|
This configuration enables proper module resolution for the component's TypeScript files.
|
|
105
|
-
|
|
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
|
-
```
|
|
117
|
-
|
|
118
|
-
`index.html -> <body>`
|
|
119
|
-
|
|
120
|
-
```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
133
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
136
134
|
|
|
137
|
-
|
|
135
|
+
## Install from CDN
|
|
138
136
|
|
|
139
|
-
<!-- AURO-GENERATED-CONTENT:START (
|
|
140
|
-
The
|
|
137
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/bundleInstallDescription.md) -->
|
|
138
|
+
<!-- The below content is automatically added from ./docs/partials/bundleInstallDescription.md -->
|
|
139
|
+
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.
|
|
141
140
|
|
|
142
|
-
|
|
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
|
|
141
|
+
```html
|
|
142
|
+
<script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/@latest/auro-formkit/+esm"></script>
|
|
157
143
|
```
|
|
158
144
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
159
145
|
|
|
160
|
-
|
|
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
|
|
177
|
-
|
|
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
|
-
```
|
|
146
|
+
## Additional Information
|
|
185
147
|
|
|
186
|
-
`turbo.json`does not support `--concurrency` yet. See [this issue](https://github.com/vercel/turborepo/discussions/7493).
|
|
187
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
188
148
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/readmeAddlInfo.md) -->
|
|
189
149
|
<!-- The below content is automatically added from ./docs/partials/readmeAddlInfo.md -->
|
|
190
150
|
|
|
191
|
-
|
|
151
|
+
### Turborepo Overview
|
|
192
152
|
|
|
193
153
|
This monorepo is managed using [Turborepo](https://turborepo.org/).
|
|
194
154
|
|
|
@@ -254,7 +214,7 @@ The package's `package.json` will have every dependency that it needs. This is t
|
|
|
254
214
|
}
|
|
255
215
|
```
|
|
256
216
|
|
|
257
|
-
|
|
217
|
+
### Example: Component Dependencies
|
|
258
218
|
|
|
259
219
|
Let's use `@auro-formki/combobox` as an example to illustrate these concepts:
|
|
260
220
|
|
|
@@ -312,3 +272,19 @@ Some examples of dependencies that make sense to install in the root are `turbo`
|
|
|
312
272
|
|
|
313
273
|
Conversely, dependencies Auro components rely on should be installed in their respective packages, such as `Lit`, `Rollup`, or other `auro-formkit` dependencies.
|
|
314
274
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
275
|
+
|
|
276
|
+
## Formkit Development
|
|
277
|
+
|
|
278
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/developmentDescription.md) -->
|
|
279
|
+
<!-- The below content is automatically added from ./docs/partials/developmentDescription.md -->
|
|
280
|
+
|
|
281
|
+
### Filtering
|
|
282
|
+
|
|
283
|
+
Running the `dev` command will open a `localhost` development server for all components in the monorepo at once.
|
|
284
|
+
|
|
285
|
+
To only develop a single component, use the `--filter` flag:
|
|
286
|
+
|
|
287
|
+
```shell
|
|
288
|
+
npx turbo dev --filter=@aurodesignsystem/auro-input
|
|
289
|
+
```
|
|
290
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -1687,7 +1687,7 @@ class AuroHelpText extends i$2 {
|
|
|
1687
1687
|
}
|
|
1688
1688
|
}
|
|
1689
1689
|
|
|
1690
|
-
var formkitVersion = '
|
|
1690
|
+
var formkitVersion = '202603172151';
|
|
1691
1691
|
|
|
1692
1692
|
// Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
1693
1693
|
// See LICENSE in the project root for license information.
|
|
@@ -1679,7 +1679,7 @@ class AuroHelpText extends i$2 {
|
|
|
1679
1679
|
}
|
|
1680
1680
|
}
|
|
1681
1681
|
|
|
1682
|
-
var formkitVersion = '
|
|
1682
|
+
var formkitVersion = '202603172151';
|
|
1683
1683
|
|
|
1684
1684
|
// Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
1685
1685
|
// See LICENSE in the project root for license information.
|
|
@@ -1632,7 +1632,7 @@ class AuroHelpText extends LitElement {
|
|
|
1632
1632
|
}
|
|
1633
1633
|
}
|
|
1634
1634
|
|
|
1635
|
-
var formkitVersion = '
|
|
1635
|
+
var formkitVersion = '202603172151';
|
|
1636
1636
|
|
|
1637
1637
|
// Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
1638
1638
|
// See LICENSE in the project root for license information.
|
|
@@ -1632,7 +1632,7 @@ class AuroHelpText extends LitElement {
|
|
|
1632
1632
|
}
|
|
1633
1633
|
}
|
|
1634
1634
|
|
|
1635
|
-
var formkitVersion = '
|
|
1635
|
+
var formkitVersion = '202603172151';
|
|
1636
1636
|
|
|
1637
1637
|
// Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
1638
1638
|
// See LICENSE in the project root for license information.
|
|
@@ -3611,32 +3611,19 @@ class AuroFloatingUI {
|
|
|
3611
3611
|
* @param {String} eventType - The event type that triggered the hiding action.
|
|
3612
3612
|
*/
|
|
3613
3613
|
hideBib(eventType = "unknown") {
|
|
3614
|
-
if (this.element.disabled) {
|
|
3615
|
-
|
|
3616
|
-
|
|
3614
|
+
if (!this.element.disabled && !this.element.noToggle) {
|
|
3615
|
+
this.lockScroll(false);
|
|
3616
|
+
this.element.triggerChevron?.removeAttribute("data-expanded");
|
|
3617
3617
|
|
|
3618
|
-
|
|
3619
|
-
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
|
|
3625
|
-
|
|
3626
|
-
this.element.triggerChevron?.removeAttribute("data-expanded");
|
|
3627
|
-
|
|
3628
|
-
if (this.element.isPopoverVisible) {
|
|
3629
|
-
this.element.isPopoverVisible = false;
|
|
3630
|
-
}
|
|
3631
|
-
if (this.showing) {
|
|
3632
|
-
this.cleanupHideHandlers();
|
|
3633
|
-
this.showing = false;
|
|
3634
|
-
this.dispatchEventDropdownToggle(eventType);
|
|
3618
|
+
if (this.element.isPopoverVisible) {
|
|
3619
|
+
this.element.isPopoverVisible = false;
|
|
3620
|
+
}
|
|
3621
|
+
if (this.showing) {
|
|
3622
|
+
this.cleanupHideHandlers();
|
|
3623
|
+
this.showing = false;
|
|
3624
|
+
this.dispatchEventDropdownToggle(eventType);
|
|
3625
|
+
}
|
|
3635
3626
|
}
|
|
3636
|
-
|
|
3637
|
-
// Only clear the global reference if the bib was actually hidden.
|
|
3638
|
-
// Clearing it when hideBib is blocked (e.g. noToggle + click) corrupts
|
|
3639
|
-
// the singleton state so other dropdowns can't detect this one is still open.
|
|
3640
3627
|
document.expandedAuroFloater = null;
|
|
3641
3628
|
}
|
|
3642
3629
|
|
|
@@ -4969,7 +4956,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$4 {
|
|
|
4969
4956
|
}
|
|
4970
4957
|
};
|
|
4971
4958
|
|
|
4972
|
-
var formkitVersion$2 = '
|
|
4959
|
+
var formkitVersion$2 = '202603172151';
|
|
4973
4960
|
|
|
4974
4961
|
let AuroElement$2 = class AuroElement extends i$4 {
|
|
4975
4962
|
static get properties() {
|
|
@@ -12724,7 +12711,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$4 {
|
|
|
12724
12711
|
}
|
|
12725
12712
|
};
|
|
12726
12713
|
|
|
12727
|
-
var formkitVersion$1 = '
|
|
12714
|
+
var formkitVersion$1 = '202603172151';
|
|
12728
12715
|
|
|
12729
12716
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12730
12717
|
// See LICENSE in the project root for license information.
|
|
@@ -13763,7 +13750,7 @@ class AuroBibtemplate extends i$4 {
|
|
|
13763
13750
|
}
|
|
13764
13751
|
}
|
|
13765
13752
|
|
|
13766
|
-
var formkitVersion = '
|
|
13753
|
+
var formkitVersion = '202603172151';
|
|
13767
13754
|
|
|
13768
13755
|
var styleCss$3 = i$7`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
|
|
13769
13756
|
|
|
@@ -3534,32 +3534,19 @@ class AuroFloatingUI {
|
|
|
3534
3534
|
* @param {String} eventType - The event type that triggered the hiding action.
|
|
3535
3535
|
*/
|
|
3536
3536
|
hideBib(eventType = "unknown") {
|
|
3537
|
-
if (this.element.disabled) {
|
|
3538
|
-
|
|
3539
|
-
|
|
3537
|
+
if (!this.element.disabled && !this.element.noToggle) {
|
|
3538
|
+
this.lockScroll(false);
|
|
3539
|
+
this.element.triggerChevron?.removeAttribute("data-expanded");
|
|
3540
3540
|
|
|
3541
|
-
|
|
3542
|
-
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
this.element.triggerChevron?.removeAttribute("data-expanded");
|
|
3550
|
-
|
|
3551
|
-
if (this.element.isPopoverVisible) {
|
|
3552
|
-
this.element.isPopoverVisible = false;
|
|
3553
|
-
}
|
|
3554
|
-
if (this.showing) {
|
|
3555
|
-
this.cleanupHideHandlers();
|
|
3556
|
-
this.showing = false;
|
|
3557
|
-
this.dispatchEventDropdownToggle(eventType);
|
|
3541
|
+
if (this.element.isPopoverVisible) {
|
|
3542
|
+
this.element.isPopoverVisible = false;
|
|
3543
|
+
}
|
|
3544
|
+
if (this.showing) {
|
|
3545
|
+
this.cleanupHideHandlers();
|
|
3546
|
+
this.showing = false;
|
|
3547
|
+
this.dispatchEventDropdownToggle(eventType);
|
|
3548
|
+
}
|
|
3558
3549
|
}
|
|
3559
|
-
|
|
3560
|
-
// Only clear the global reference if the bib was actually hidden.
|
|
3561
|
-
// Clearing it when hideBib is blocked (e.g. noToggle + click) corrupts
|
|
3562
|
-
// the singleton state so other dropdowns can't detect this one is still open.
|
|
3563
3550
|
document.expandedAuroFloater = null;
|
|
3564
3551
|
}
|
|
3565
3552
|
|
|
@@ -4892,7 +4879,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$4 {
|
|
|
4892
4879
|
}
|
|
4893
4880
|
};
|
|
4894
4881
|
|
|
4895
|
-
var formkitVersion$2 = '
|
|
4882
|
+
var formkitVersion$2 = '202603172151';
|
|
4896
4883
|
|
|
4897
4884
|
let AuroElement$2 = class AuroElement extends i$4 {
|
|
4898
4885
|
static get properties() {
|
|
@@ -12647,7 +12634,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$4 {
|
|
|
12647
12634
|
}
|
|
12648
12635
|
};
|
|
12649
12636
|
|
|
12650
|
-
var formkitVersion$1 = '
|
|
12637
|
+
var formkitVersion$1 = '202603172151';
|
|
12651
12638
|
|
|
12652
12639
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12653
12640
|
// See LICENSE in the project root for license information.
|
|
@@ -13686,7 +13673,7 @@ class AuroBibtemplate extends i$4 {
|
|
|
13686
13673
|
}
|
|
13687
13674
|
}
|
|
13688
13675
|
|
|
13689
|
-
var formkitVersion = '
|
|
13676
|
+
var formkitVersion = '202603172151';
|
|
13690
13677
|
|
|
13691
13678
|
var styleCss$3 = i$7`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
|
|
13692
13679
|
|
|
@@ -3467,32 +3467,19 @@ class AuroFloatingUI {
|
|
|
3467
3467
|
* @param {String} eventType - The event type that triggered the hiding action.
|
|
3468
3468
|
*/
|
|
3469
3469
|
hideBib(eventType = "unknown") {
|
|
3470
|
-
if (this.element.disabled) {
|
|
3471
|
-
|
|
3472
|
-
|
|
3470
|
+
if (!this.element.disabled && !this.element.noToggle) {
|
|
3471
|
+
this.lockScroll(false);
|
|
3472
|
+
this.element.triggerChevron?.removeAttribute("data-expanded");
|
|
3473
3473
|
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
this.element.triggerChevron?.removeAttribute("data-expanded");
|
|
3483
|
-
|
|
3484
|
-
if (this.element.isPopoverVisible) {
|
|
3485
|
-
this.element.isPopoverVisible = false;
|
|
3486
|
-
}
|
|
3487
|
-
if (this.showing) {
|
|
3488
|
-
this.cleanupHideHandlers();
|
|
3489
|
-
this.showing = false;
|
|
3490
|
-
this.dispatchEventDropdownToggle(eventType);
|
|
3474
|
+
if (this.element.isPopoverVisible) {
|
|
3475
|
+
this.element.isPopoverVisible = false;
|
|
3476
|
+
}
|
|
3477
|
+
if (this.showing) {
|
|
3478
|
+
this.cleanupHideHandlers();
|
|
3479
|
+
this.showing = false;
|
|
3480
|
+
this.dispatchEventDropdownToggle(eventType);
|
|
3481
|
+
}
|
|
3491
3482
|
}
|
|
3492
|
-
|
|
3493
|
-
// Only clear the global reference if the bib was actually hidden.
|
|
3494
|
-
// Clearing it when hideBib is blocked (e.g. noToggle + click) corrupts
|
|
3495
|
-
// the singleton state so other dropdowns can't detect this one is still open.
|
|
3496
3483
|
document.expandedAuroFloater = null;
|
|
3497
3484
|
}
|
|
3498
3485
|
|
|
@@ -4825,7 +4812,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
4825
4812
|
}
|
|
4826
4813
|
};
|
|
4827
4814
|
|
|
4828
|
-
var formkitVersion$2 = '
|
|
4815
|
+
var formkitVersion$2 = '202603172151';
|
|
4829
4816
|
|
|
4830
4817
|
let AuroElement$2 = class AuroElement extends LitElement {
|
|
4831
4818
|
static get properties() {
|
|
@@ -12573,7 +12560,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
12573
12560
|
}
|
|
12574
12561
|
};
|
|
12575
12562
|
|
|
12576
|
-
var formkitVersion$1 = '
|
|
12563
|
+
var formkitVersion$1 = '202603172151';
|
|
12577
12564
|
|
|
12578
12565
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12579
12566
|
// See LICENSE in the project root for license information.
|
|
@@ -13612,7 +13599,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
13612
13599
|
}
|
|
13613
13600
|
}
|
|
13614
13601
|
|
|
13615
|
-
var formkitVersion = '
|
|
13602
|
+
var formkitVersion = '202603172151';
|
|
13616
13603
|
|
|
13617
13604
|
var styleCss$1 = css`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
|
|
13618
13605
|
|
|
@@ -3467,32 +3467,19 @@ class AuroFloatingUI {
|
|
|
3467
3467
|
* @param {String} eventType - The event type that triggered the hiding action.
|
|
3468
3468
|
*/
|
|
3469
3469
|
hideBib(eventType = "unknown") {
|
|
3470
|
-
if (this.element.disabled) {
|
|
3471
|
-
|
|
3472
|
-
|
|
3470
|
+
if (!this.element.disabled && !this.element.noToggle) {
|
|
3471
|
+
this.lockScroll(false);
|
|
3472
|
+
this.element.triggerChevron?.removeAttribute("data-expanded");
|
|
3473
3473
|
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
this.element.triggerChevron?.removeAttribute("data-expanded");
|
|
3483
|
-
|
|
3484
|
-
if (this.element.isPopoverVisible) {
|
|
3485
|
-
this.element.isPopoverVisible = false;
|
|
3486
|
-
}
|
|
3487
|
-
if (this.showing) {
|
|
3488
|
-
this.cleanupHideHandlers();
|
|
3489
|
-
this.showing = false;
|
|
3490
|
-
this.dispatchEventDropdownToggle(eventType);
|
|
3474
|
+
if (this.element.isPopoverVisible) {
|
|
3475
|
+
this.element.isPopoverVisible = false;
|
|
3476
|
+
}
|
|
3477
|
+
if (this.showing) {
|
|
3478
|
+
this.cleanupHideHandlers();
|
|
3479
|
+
this.showing = false;
|
|
3480
|
+
this.dispatchEventDropdownToggle(eventType);
|
|
3481
|
+
}
|
|
3491
3482
|
}
|
|
3492
|
-
|
|
3493
|
-
// Only clear the global reference if the bib was actually hidden.
|
|
3494
|
-
// Clearing it when hideBib is blocked (e.g. noToggle + click) corrupts
|
|
3495
|
-
// the singleton state so other dropdowns can't detect this one is still open.
|
|
3496
3483
|
document.expandedAuroFloater = null;
|
|
3497
3484
|
}
|
|
3498
3485
|
|
|
@@ -4825,7 +4812,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
4825
4812
|
}
|
|
4826
4813
|
};
|
|
4827
4814
|
|
|
4828
|
-
var formkitVersion$2 = '
|
|
4815
|
+
var formkitVersion$2 = '202603172151';
|
|
4829
4816
|
|
|
4830
4817
|
let AuroElement$2 = class AuroElement extends LitElement {
|
|
4831
4818
|
static get properties() {
|
|
@@ -12573,7 +12560,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
12573
12560
|
}
|
|
12574
12561
|
};
|
|
12575
12562
|
|
|
12576
|
-
var formkitVersion$1 = '
|
|
12563
|
+
var formkitVersion$1 = '202603172151';
|
|
12577
12564
|
|
|
12578
12565
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12579
12566
|
// See LICENSE in the project root for license information.
|
|
@@ -13612,7 +13599,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
13612
13599
|
}
|
|
13613
13600
|
}
|
|
13614
13601
|
|
|
13615
|
-
var formkitVersion = '
|
|
13602
|
+
var formkitVersion = '202603172151';
|
|
13616
13603
|
|
|
13617
13604
|
var styleCss$1 = css`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
|
|
13618
13605
|
|
|
@@ -1470,7 +1470,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
1470
1470
|
}
|
|
1471
1471
|
};
|
|
1472
1472
|
|
|
1473
|
-
var formkitVersion$1 = '
|
|
1473
|
+
var formkitVersion$1 = '202603172151';
|
|
1474
1474
|
|
|
1475
1475
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
1476
1476
|
// See LICENSE in the project root for license information.
|
|
@@ -4118,32 +4118,19 @@ class AuroFloatingUI {
|
|
|
4118
4118
|
* @param {String} eventType - The event type that triggered the hiding action.
|
|
4119
4119
|
*/
|
|
4120
4120
|
hideBib(eventType = "unknown") {
|
|
4121
|
-
if (this.element.disabled) {
|
|
4122
|
-
|
|
4123
|
-
|
|
4121
|
+
if (!this.element.disabled && !this.element.noToggle) {
|
|
4122
|
+
this.lockScroll(false);
|
|
4123
|
+
this.element.triggerChevron?.removeAttribute("data-expanded");
|
|
4124
4124
|
|
|
4125
|
-
|
|
4126
|
-
|
|
4127
|
-
|
|
4128
|
-
|
|
4129
|
-
|
|
4130
|
-
|
|
4131
|
-
|
|
4132
|
-
|
|
4133
|
-
this.element.triggerChevron?.removeAttribute("data-expanded");
|
|
4134
|
-
|
|
4135
|
-
if (this.element.isPopoverVisible) {
|
|
4136
|
-
this.element.isPopoverVisible = false;
|
|
4137
|
-
}
|
|
4138
|
-
if (this.showing) {
|
|
4139
|
-
this.cleanupHideHandlers();
|
|
4140
|
-
this.showing = false;
|
|
4141
|
-
this.dispatchEventDropdownToggle(eventType);
|
|
4125
|
+
if (this.element.isPopoverVisible) {
|
|
4126
|
+
this.element.isPopoverVisible = false;
|
|
4127
|
+
}
|
|
4128
|
+
if (this.showing) {
|
|
4129
|
+
this.cleanupHideHandlers();
|
|
4130
|
+
this.showing = false;
|
|
4131
|
+
this.dispatchEventDropdownToggle(eventType);
|
|
4132
|
+
}
|
|
4142
4133
|
}
|
|
4143
|
-
|
|
4144
|
-
// Only clear the global reference if the bib was actually hidden.
|
|
4145
|
-
// Clearing it when hideBib is blocked (e.g. noToggle + click) corrupts
|
|
4146
|
-
// the singleton state so other dropdowns can't detect this one is still open.
|
|
4147
4134
|
document.expandedAuroFloater = null;
|
|
4148
4135
|
}
|
|
4149
4136
|
|
|
@@ -5476,7 +5463,7 @@ class AuroHelpText extends i$2 {
|
|
|
5476
5463
|
}
|
|
5477
5464
|
}
|
|
5478
5465
|
|
|
5479
|
-
var formkitVersion = '
|
|
5466
|
+
var formkitVersion = '202603172151';
|
|
5480
5467
|
|
|
5481
5468
|
let AuroElement$1 = class AuroElement extends i$2 {
|
|
5482
5469
|
static get properties() {
|