@aurodesignsystem-dev/auro-formkit 0.0.0-pr1451.0 → 0.0.0-pr1451.2
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/components/checkbox/README.md +23 -37
- package/components/checkbox/demo/api.min.js +1 -1
- package/components/checkbox/demo/index.min.js +1 -1
- package/components/checkbox/demo/readme.md +0 -2
- package/components/checkbox/dist/index.js +1 -1
- package/components/checkbox/dist/registered.js +1 -1
- package/components/combobox/README.md +43 -57
- package/components/combobox/demo/accessibility.html +22 -11
- package/components/combobox/demo/api.html +27 -16
- package/components/combobox/demo/api.min.js +3 -3
- package/components/combobox/demo/design.html +27 -16
- package/components/combobox/demo/index.html +28 -22
- package/components/combobox/demo/index.min.js +3 -3
- package/components/combobox/demo/install.html +26 -16
- package/components/combobox/demo/install.md +0 -2
- package/components/combobox/demo/install.min.js +3 -3
- package/components/combobox/demo/keyboard-behavior.html +22 -11
- package/components/combobox/demo/readme.html +27 -16
- package/components/combobox/demo/readme.md +0 -2
- package/components/combobox/demo/styles.css +911 -71
- package/components/combobox/demo/voiceover.html +22 -11
- package/components/combobox/dist/index.js +3 -3
- package/components/combobox/dist/registered.js +3 -3
- package/components/counter/README.md +39 -53
- package/components/counter/demo/api.min.js +2 -2
- package/components/counter/demo/index.min.js +2 -2
- package/components/counter/demo/readme.md +0 -2
- package/components/counter/dist/index.js +2 -2
- package/components/counter/dist/registered.js +2 -2
- package/components/datepicker/README.md +19 -33
- package/components/datepicker/demo/api.min.js +3 -3
- package/components/datepicker/demo/index.min.js +3 -3
- package/components/datepicker/demo/readme.md +0 -2
- package/components/datepicker/dist/index.js +3 -3
- package/components/datepicker/dist/registered.js +3 -3
- package/components/dropdown/README.md +39 -53
- package/components/dropdown/demo/api.min.js +1 -1
- package/components/dropdown/demo/index.min.js +1 -1
- package/components/dropdown/demo/readme.md +0 -2
- package/components/dropdown/dist/index.js +1 -1
- package/components/dropdown/dist/registered.js +1 -1
- package/components/form/README.md +14 -30
- package/components/form/demo/api.min.js +13 -13
- package/components/form/demo/index.min.js +13 -13
- package/components/form/demo/readme.md +0 -2
- package/components/input/README.md +17 -31
- package/components/input/demo/api.min.js +1 -1
- package/components/input/demo/index.min.js +1 -1
- package/components/input/demo/readme.md +0 -2
- package/components/input/dist/index.js +1 -1
- package/components/input/dist/registered.js +1 -1
- package/components/menu/README.md +23 -37
- package/components/menu/demo/readme.md +0 -2
- package/components/radio/README.md +21 -35
- package/components/radio/demo/api.min.js +1 -1
- package/components/radio/demo/index.min.js +1 -1
- package/components/radio/demo/readme.md +0 -2
- package/components/radio/dist/index.js +1 -1
- package/components/radio/dist/registered.js +1 -1
- package/components/select/README.md +41 -73
- package/components/select/demo/accessibility.html +23 -20
- package/components/select/demo/api.html +45 -10
- package/components/select/demo/api.min.js +2 -2
- package/components/select/demo/design.html +94 -0
- package/components/select/demo/design.md +391 -0
- package/components/select/demo/getting-started.html +125 -0
- package/components/select/demo/getting-started.js +9 -0
- package/components/select/demo/getting-started.md +1020 -0
- package/components/select/demo/getting-started.min.js +10490 -0
- package/components/select/demo/index.html +55 -241
- package/components/select/demo/index.md +38 -98
- package/components/select/demo/index.min.js +2 -2
- package/components/select/demo/install.md +92 -0
- package/components/select/demo/keyboard-behavior.html +23 -11
- package/components/select/demo/keyboard-behavior.md +247 -36
- package/components/select/demo/keyboardBehavior.html +22 -11
- package/components/select/demo/layout.html +45 -10
- package/components/select/demo/layout.md +71 -260
- package/components/select/demo/readme.html +46 -11
- package/components/select/demo/readme.md +25 -45
- package/components/select/demo/styles.css +1026 -0
- package/components/select/demo/voiceover.html +23 -11
- package/components/select/dist/index.js +2 -2
- package/components/select/dist/registered.js +2 -2
- package/package.json +1 -1
|
@@ -43,11 +43,7 @@ The `<auro-checkbox>` element should be used in situations where users may:
|
|
|
43
43
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../../docs/templates/componentInstall.md) -->
|
|
44
44
|
<!-- The below content is automatically added from ../../docs/templates/componentInstall.md -->
|
|
45
45
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
```shell
|
|
49
|
-
$ npm i @aurodesignsystem/auro-formkit
|
|
50
|
-
```
|
|
46
|
+
<pre class="language-shell"><code class="language-shell">$ npm i @aurodesignsystem/auro-formkit</code></pre>
|
|
51
47
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
52
48
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../../docs/templates/gettingStarted.md) -->
|
|
53
49
|
<!-- The below content is automatically added from ../../docs/templates/gettingStarted.md -->
|
|
@@ -56,13 +52,11 @@ $ npm i @aurodesignsystem/auro-formkit
|
|
|
56
52
|
|
|
57
53
|
When using TypeScript set `moduleResolution` to `bundler`, add the following to your `tsconfig.json`:
|
|
58
54
|
|
|
59
|
-
|
|
60
|
-
{
|
|
55
|
+
<pre class="language-json"><code class="language-json">{
|
|
61
56
|
"compilerOptions": {
|
|
62
57
|
"moduleResolution": "bundler"
|
|
63
58
|
}
|
|
64
|
-
}
|
|
65
|
-
```
|
|
59
|
+
}</code></pre>
|
|
66
60
|
|
|
67
61
|
This configuration enables proper module resolution for the component's TypeScript files.
|
|
68
62
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -73,9 +67,7 @@ This configuration enables proper module resolution for the component's TypeScri
|
|
|
73
67
|
<!-- The below content is automatically added from ../../docs/templates/bundleInstallDescription.md -->
|
|
74
68
|
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.
|
|
75
69
|
|
|
76
|
-
|
|
77
|
-
<script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@latest/auro-checkbox/+esm"></script>
|
|
78
|
-
```
|
|
70
|
+
<pre class="language-html"><code class="language-html"><script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@latest/auro-checkbox/+esm"></script></code></pre>
|
|
79
71
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
80
72
|
|
|
81
73
|
## Formkit Development
|
|
@@ -89,9 +81,7 @@ Running the `dev` command will open a `localhost` development server for all com
|
|
|
89
81
|
|
|
90
82
|
To only develop a single component, use the `--filter` flag:
|
|
91
83
|
|
|
92
|
-
|
|
93
|
-
npx turbo dev --filter=@aurodesignsystem/auro-input
|
|
94
|
-
```
|
|
84
|
+
<pre class="language-shell"><code class="language-shell">npx turbo dev --filter=@aurodesignsystem/auro-input</code></pre>
|
|
95
85
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
96
86
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/customRegistration.md) -->
|
|
97
87
|
<!-- The below content is automatically added from ./docs/partials/customRegistration.md -->
|
|
@@ -106,37 +96,33 @@ However, if you need to load multiple versions of the same component on a single
|
|
|
106
96
|
|
|
107
97
|
You can do this by importing only the component class and using the `register(name)` method with a unique name:
|
|
108
98
|
|
|
109
|
-
|
|
110
|
-
// Import the class only
|
|
99
|
+
<pre class="language-js"><code class="language-js">// Import the class only
|
|
111
100
|
import { AuroCheckbox, AuroCheckboxGroup } from '@aurodesignsystem/auro-formkit/auro-checkbox/class';
|
|
112
|
-
|
|
101
|
+
|
|
113
102
|
// Register with a custom name if desired
|
|
114
103
|
AuroCheckbox.register('custom-checkbox');
|
|
115
|
-
AuroCheckboxGroup.register('custom-checkbox-group')
|
|
116
|
-
```
|
|
104
|
+
AuroCheckboxGroup.register('custom-checkbox-group');</code></pre>
|
|
117
105
|
|
|
118
106
|
This will create a new custom element `<custom-checkbox>` and `<custom-checkbox-group>` that behaves exactly like `<auro-checkbox>` and `<auro-checkbox-group>`, allowing both to coexist on the same page without interfering with each other.
|
|
119
107
|
|
|
120
108
|
<div class="exampleWrapper exampleWrapper--flex">
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
109
|
+
<custom-checkbox-group>
|
|
110
|
+
<span slot="legend">Form label goes here</span>
|
|
111
|
+
<custom-checkbox value="value1" name="custom" id="checkbox-custom1">Custom checkbox option</custom-checkbox>
|
|
112
|
+
<custom-checkbox value="value2" name="custom" id="checkbox-custom2" checked>Custom checkbox option</custom-checkbox>
|
|
113
|
+
<custom-checkbox value="value3" name="custom" id="checkbox-custom3">Custom checkbox option</custom-checkbox>
|
|
114
|
+
<custom-checkbox value="value4" name="custom" id="checkbox-custom4">Custom checkbox option</custom-checkbox>
|
|
115
|
+
</custom-checkbox-group>
|
|
128
116
|
</div>
|
|
129
117
|
<auro-accordion alignRight>
|
|
130
|
-
|
|
118
|
+
<span slot="trigger">See code</span>
|
|
131
119
|
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
</custom-checkbox-group>
|
|
140
|
-
```
|
|
120
|
+
<pre class="language-html"><code class="language-html"><custom-checkbox-group>
|
|
121
|
+
<span slot="legend">Form label goes here</span>
|
|
122
|
+
<custom-checkbox value="value1" name="custom" id="checkbox-custom1">Custom checkbox option</custom-checkbox>
|
|
123
|
+
<custom-checkbox value="value2" name="custom" id="checkbox-custom2" checked>Custom checkbox option</custom-checkbox>
|
|
124
|
+
<custom-checkbox value="value3" name="custom" id="checkbox-custom3">Custom checkbox option</custom-checkbox>
|
|
125
|
+
<custom-checkbox value="value4" name="custom" id="checkbox-custom4">Custom checkbox option</custom-checkbox>
|
|
126
|
+
</custom-checkbox-group></code></pre>
|
|
141
127
|
</auro-accordion>
|
|
142
128
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -1689,7 +1689,7 @@ class AuroHelpText extends i$2 {
|
|
|
1689
1689
|
}
|
|
1690
1690
|
}
|
|
1691
1691
|
|
|
1692
|
-
var formkitVersion = '
|
|
1692
|
+
var formkitVersion = '202604281911';
|
|
1693
1693
|
|
|
1694
1694
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1695
1695
|
// See LICENSE in the project root for license information.
|
|
@@ -1681,7 +1681,7 @@ class AuroHelpText extends i$2 {
|
|
|
1681
1681
|
}
|
|
1682
1682
|
}
|
|
1683
1683
|
|
|
1684
|
-
var formkitVersion = '
|
|
1684
|
+
var formkitVersion = '202604281911';
|
|
1685
1685
|
|
|
1686
1686
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1687
1687
|
// See LICENSE in the project root for license information.
|
|
@@ -43,8 +43,6 @@ The `<auro-checkbox>` element should be used in situations where users may:
|
|
|
43
43
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../../docs/templates/componentInstall.md) -->
|
|
44
44
|
<!-- The below content is automatically added from ../../docs/templates/componentInstall.md -->
|
|
45
45
|
|
|
46
|
-
#### NPM Installation
|
|
47
|
-
|
|
48
46
|
<pre class="language-shell"><code class="language-shell">$ npm i @aurodesignsystem/auro-formkit</code></pre>
|
|
49
47
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
50
48
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../../docs/templates/gettingStarted.md) -->
|
|
@@ -1634,7 +1634,7 @@ class AuroHelpText extends LitElement {
|
|
|
1634
1634
|
}
|
|
1635
1635
|
}
|
|
1636
1636
|
|
|
1637
|
-
var formkitVersion = '
|
|
1637
|
+
var formkitVersion = '202604281911';
|
|
1638
1638
|
|
|
1639
1639
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1640
1640
|
// See LICENSE in the project root for license information.
|
|
@@ -1634,7 +1634,7 @@ class AuroHelpText extends LitElement {
|
|
|
1634
1634
|
}
|
|
1635
1635
|
}
|
|
1636
1636
|
|
|
1637
|
-
var formkitVersion = '
|
|
1637
|
+
var formkitVersion = '202604281911';
|
|
1638
1638
|
|
|
1639
1639
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1640
1640
|
// See LICENSE in the project root for license information.
|
|
@@ -24,15 +24,15 @@ The following sections are editable by making changes to the following files:
|
|
|
24
24
|
<p><code><auro-combobox></code> combines a text input with a filterable dropdown menu, letting users either type a value or pick one from a list. As the user types, the menu narrows to show only matching options.</p>
|
|
25
25
|
<p>The component supports two modes:</p>
|
|
26
26
|
<ul>
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
<li><strong>Suggestion (default)</strong> — The user may type any value. The menu provides suggestions but does not restrict input.</li>
|
|
28
|
+
<li><strong>Filter</strong> — The user must select from the menu. Typing filters the available options but does not set the component's value. The value is only set when a menu option is selected.</li>
|
|
29
29
|
</ul>
|
|
30
30
|
<p>Common use cases:</p>
|
|
31
31
|
<ul>
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
32
|
+
<li><strong>Airport or city search</strong> — Type a city name or airport code to filter a long list of destinations.</li>
|
|
33
|
+
<li><strong>Country or region selection</strong> — Quickly find and select from a large set of geographic options.</li>
|
|
34
|
+
<li><strong>Autocomplete fields</strong> — Provide type-ahead suggestions for form fields where the set of valid values is known.</li>
|
|
35
|
+
<li><strong>Search with suggestions</strong> — Offer recommended results while still allowing freeform input.</li>
|
|
36
36
|
</ul>
|
|
37
37
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
38
38
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/readmeAddlInfo.md) -->
|
|
@@ -47,12 +47,12 @@ The following sections are editable by making changes to the following files:
|
|
|
47
47
|
The `<auro-combobox>` element should be used in situations where users may:
|
|
48
48
|
|
|
49
49
|
* Search
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
* Airports: user looks for a specific airport by searching for the city name or airport code
|
|
51
|
+
* Site wide: user searches for a topic site wide and combobox makes suggestions on searchable results
|
|
52
52
|
* Filter
|
|
53
|
-
|
|
53
|
+
* Options: user chooses filters for their search by using combobox
|
|
54
54
|
* Select
|
|
55
|
-
|
|
55
|
+
* Quantity: user types a quantity to select an option within a range (for example, the user may be limited to 2-34)
|
|
56
56
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
57
57
|
|
|
58
58
|
## Getting Started
|
|
@@ -60,11 +60,7 @@ The `<auro-combobox>` element should be used in situations where users may:
|
|
|
60
60
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../../docs/templates/componentInstall.md) -->
|
|
61
61
|
<!-- The below content is automatically added from ../../docs/templates/componentInstall.md -->
|
|
62
62
|
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
```shell
|
|
66
|
-
$ npm i @aurodesignsystem/auro-formkit
|
|
67
|
-
```
|
|
63
|
+
<pre class="language-shell"><code class="language-shell">$ npm i @aurodesignsystem/auro-formkit</code></pre>
|
|
68
64
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
69
65
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../../docs/templates/gettingStarted.md) -->
|
|
70
66
|
<!-- The below content is automatically added from ../../docs/templates/gettingStarted.md -->
|
|
@@ -73,13 +69,11 @@ $ npm i @aurodesignsystem/auro-formkit
|
|
|
73
69
|
|
|
74
70
|
When using TypeScript set `moduleResolution` to `bundler`, add the following to your `tsconfig.json`:
|
|
75
71
|
|
|
76
|
-
|
|
77
|
-
{
|
|
72
|
+
<pre class="language-json"><code class="language-json">{
|
|
78
73
|
"compilerOptions": {
|
|
79
74
|
"moduleResolution": "bundler"
|
|
80
75
|
}
|
|
81
|
-
}
|
|
82
|
-
```
|
|
76
|
+
}</code></pre>
|
|
83
77
|
|
|
84
78
|
This configuration enables proper module resolution for the component's TypeScript files.
|
|
85
79
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -90,9 +84,7 @@ This configuration enables proper module resolution for the component's TypeScri
|
|
|
90
84
|
<!-- The below content is automatically added from ../../docs/templates/bundleInstallDescription.md -->
|
|
91
85
|
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.
|
|
92
86
|
|
|
93
|
-
|
|
94
|
-
<script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@latest/auro-combobox/+esm"></script>
|
|
95
|
-
```
|
|
87
|
+
<pre class="language-html"><code class="language-html"><script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@latest/auro-combobox/+esm"></script></code></pre>
|
|
96
88
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
97
89
|
|
|
98
90
|
## Formkit Development
|
|
@@ -106,9 +98,7 @@ Running the `dev` command will open a `localhost` development server for all com
|
|
|
106
98
|
|
|
107
99
|
To only develop a single component, use the `--filter` flag:
|
|
108
100
|
|
|
109
|
-
|
|
110
|
-
npx turbo dev --filter=@aurodesignsystem/auro-input
|
|
111
|
-
```
|
|
101
|
+
<pre class="language-shell"><code class="language-shell">npx turbo dev --filter=@aurodesignsystem/auro-input</code></pre>
|
|
112
102
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
113
103
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/customRegistration.md) -->
|
|
114
104
|
<!-- The below content is automatically added from ./docs/partials/customRegistration.md -->
|
|
@@ -123,46 +113,42 @@ However, if you need to load multiple versions of the same component on a single
|
|
|
123
113
|
|
|
124
114
|
You can do this by importing only the component class and using the `register(name)` method with a unique name:
|
|
125
115
|
|
|
126
|
-
|
|
127
|
-
// Import the class only
|
|
116
|
+
<pre class="language-js"><code class="language-js">// Import the class only
|
|
128
117
|
import { AuroCombobox } from '@aurodesignsystem/auro-formkit/auro-combobox/class';
|
|
129
|
-
|
|
118
|
+
|
|
130
119
|
// Register with a custom name if desired
|
|
131
|
-
AuroCombobox.register('custom-combobox')
|
|
132
|
-
```
|
|
120
|
+
AuroCombobox.register('custom-combobox');</code></pre>
|
|
133
121
|
|
|
134
122
|
This will create a new custom element `<custom-combobox>` that behaves exactly like `<auro-combobox>`, allowing both to coexist on the same page without interfering with each other.
|
|
135
123
|
|
|
136
124
|
<div class="exampleWrapper exampleWrapper--flex">
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
125
|
+
<custom-combobox>
|
|
126
|
+
<span slot="bib.fullscreen.headline">Bib Header</span>
|
|
127
|
+
<span slot="label">Name</span>
|
|
128
|
+
<auro-menu>
|
|
129
|
+
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
130
|
+
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
131
|
+
<auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
|
|
132
|
+
<auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
|
|
133
|
+
<auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
|
|
134
|
+
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
135
|
+
</auro-menu>
|
|
136
|
+
</custom-combobox>
|
|
149
137
|
</div>
|
|
150
138
|
<auro-accordion alignRight>
|
|
151
|
-
|
|
139
|
+
<span slot="trigger">See code</span>
|
|
152
140
|
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
</custom-combobox>
|
|
166
|
-
```
|
|
141
|
+
<pre class="language-html"><code class="language-html"><custom-combobox>
|
|
142
|
+
<span slot="bib.fullscreen.headline">Bib Header</span>
|
|
143
|
+
<span slot="label">Name</span>
|
|
144
|
+
<auro-menu>
|
|
145
|
+
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
146
|
+
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
147
|
+
<auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
|
|
148
|
+
<auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
|
|
149
|
+
<auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
|
|
150
|
+
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
151
|
+
</auro-menu>
|
|
152
|
+
</custom-combobox></code></pre>
|
|
167
153
|
</auro-accordion>
|
|
168
154
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
19
19
|
<title>Auro Web Component Demo | auro-combobox | Accessibility</title>
|
|
20
20
|
|
|
21
|
-
<!--
|
|
22
|
-
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/
|
|
21
|
+
<!-- highlight.js Stylesheet -->
|
|
22
|
+
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.9.0/build/styles/github.min.css"/>
|
|
23
23
|
|
|
24
24
|
<!-- Legacy reference is still needed to support auro-combobox's use of legacy token values at this time -->
|
|
25
25
|
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/legacy/auro-classic/CSSCustomProperties.css"/>
|
|
@@ -39,15 +39,26 @@
|
|
|
39
39
|
<main></main>
|
|
40
40
|
|
|
41
41
|
<script type="module">
|
|
42
|
-
import 'https://
|
|
43
|
-
import 'https://
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
42
|
+
import {unified} from 'https://esm.sh/unified';
|
|
43
|
+
import remarkParse from 'https://esm.sh/remark-parse';
|
|
44
|
+
import remarkGfm from 'https://esm.sh/remark-gfm';
|
|
45
|
+
import remarkRehype from 'https://esm.sh/remark-rehype';
|
|
46
|
+
import rehypeRaw from 'https://esm.sh/rehype-raw';
|
|
47
|
+
import rehypeHighlight from 'https://esm.sh/rehype-highlight';
|
|
48
|
+
import rehypeStringify from 'https://esm.sh/rehype-stringify';
|
|
49
|
+
|
|
50
|
+
const response = await fetch('./accessibility.md');
|
|
51
|
+
const text = await response.text();
|
|
52
|
+
const result = await unified()
|
|
53
|
+
.use(remarkParse)
|
|
54
|
+
.use(remarkGfm)
|
|
55
|
+
.use(remarkRehype, { allowDangerousHtml: true })
|
|
56
|
+
.use(rehypeRaw)
|
|
57
|
+
.use(rehypeHighlight)
|
|
58
|
+
.use(rehypeStringify)
|
|
59
|
+
.process(text);
|
|
60
|
+
|
|
61
|
+
document.querySelector('main').innerHTML = String(result);
|
|
51
62
|
</script>
|
|
52
63
|
|
|
53
64
|
<!-- If additional elements are needed for the demo, add them here. -->
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
19
19
|
<title>Auro Web Component Demo | auro-combobox</title>
|
|
20
20
|
|
|
21
|
-
<!--
|
|
22
|
-
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/
|
|
21
|
+
<!-- highlight.js Stylesheet -->
|
|
22
|
+
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.9.0/build/styles/github.min.css"/>
|
|
23
23
|
|
|
24
24
|
<!-- Legacy reference is still needed to support auro-combobox's use of legacy token values at this time -->
|
|
25
25
|
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/legacy/auro-classic/CSSCustomProperties.css"/>
|
|
@@ -39,19 +39,31 @@
|
|
|
39
39
|
<main></main>
|
|
40
40
|
|
|
41
41
|
<script type="module">
|
|
42
|
-
import 'https://
|
|
43
|
-
import 'https://
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
42
|
+
import {unified} from 'https://esm.sh/unified';
|
|
43
|
+
import remarkParse from 'https://esm.sh/remark-parse';
|
|
44
|
+
import remarkGfm from 'https://esm.sh/remark-gfm';
|
|
45
|
+
import remarkRehype from 'https://esm.sh/remark-rehype';
|
|
46
|
+
import rehypeRaw from 'https://esm.sh/rehype-raw';
|
|
47
|
+
import rehypeHighlight from 'https://esm.sh/rehype-highlight';
|
|
48
|
+
import rehypeStringify from 'https://esm.sh/rehype-stringify';
|
|
49
|
+
|
|
50
|
+
const response = await fetch('./api.md');
|
|
51
|
+
const text = await response.text();
|
|
52
|
+
const result = await unified()
|
|
53
|
+
.use(remarkParse)
|
|
54
|
+
.use(remarkGfm)
|
|
55
|
+
.use(remarkRehype, { allowDangerousHtml: true })
|
|
56
|
+
.use(rehypeRaw)
|
|
57
|
+
.use(rehypeHighlight)
|
|
58
|
+
.use(rehypeStringify)
|
|
59
|
+
.process(text);
|
|
60
|
+
|
|
61
|
+
document.querySelector('main').innerHTML = String(result);
|
|
62
|
+
addCopyButtons();
|
|
52
63
|
|
|
53
64
|
function addCopyButtons() {
|
|
54
|
-
document.querySelectorAll('
|
|
65
|
+
document.querySelectorAll('pre code[class*="language-"], pre code[class*="hljs"]').forEach((code) => {
|
|
66
|
+
const pre = code.parentElement;
|
|
55
67
|
const wrapper = document.createElement('div');
|
|
56
68
|
wrapper.className = 'pre-wrapper';
|
|
57
69
|
pre.parentNode.insertBefore(wrapper, pre);
|
|
@@ -60,9 +72,8 @@
|
|
|
60
72
|
btn.className = 'copy-btn';
|
|
61
73
|
btn.textContent = 'Copy';
|
|
62
74
|
btn.addEventListener('click', () => {
|
|
63
|
-
const
|
|
64
|
-
const
|
|
65
|
-
const text = raw.replace(/\u200B/g, '').replace(/^\n+/, '').replace(/\n+$/, '\n');
|
|
75
|
+
const raw = code.textContent;
|
|
76
|
+
const text = raw.replace(/\u200B/g, '').replace(/^\n+/, '').replace(/\n+$/, '\n').replace(/^\$ /, '');
|
|
66
77
|
navigator.clipboard.writeText(text).then(() => {
|
|
67
78
|
btn.textContent = 'Copied!';
|
|
68
79
|
setTimeout(() => { btn.textContent = 'Copy'; }, 1500);
|
|
@@ -5228,7 +5228,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$4 {
|
|
|
5228
5228
|
}
|
|
5229
5229
|
};
|
|
5230
5230
|
|
|
5231
|
-
var formkitVersion$2 = '
|
|
5231
|
+
var formkitVersion$2 = '202604281911';
|
|
5232
5232
|
|
|
5233
5233
|
let AuroElement$2 = class AuroElement extends i$4 {
|
|
5234
5234
|
static get properties() {
|
|
@@ -12980,7 +12980,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$4 {
|
|
|
12980
12980
|
}
|
|
12981
12981
|
};
|
|
12982
12982
|
|
|
12983
|
-
var formkitVersion$1 = '
|
|
12983
|
+
var formkitVersion$1 = '202604281911';
|
|
12984
12984
|
|
|
12985
12985
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12986
12986
|
// See LICENSE in the project root for license information.
|
|
@@ -14045,7 +14045,7 @@ class AuroBibtemplate extends i$4 {
|
|
|
14045
14045
|
}
|
|
14046
14046
|
}
|
|
14047
14047
|
|
|
14048
|
-
var formkitVersion = '
|
|
14048
|
+
var formkitVersion = '202604281911';
|
|
14049
14049
|
|
|
14050
14050
|
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}`;
|
|
14051
14051
|
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
19
19
|
<title>Auro Web Component Demo | auro-combobox | Design</title>
|
|
20
20
|
|
|
21
|
-
<!--
|
|
22
|
-
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/
|
|
21
|
+
<!-- highlight.js Stylesheet -->
|
|
22
|
+
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.9.0/build/styles/github.min.css"/>
|
|
23
23
|
|
|
24
24
|
<!-- Legacy reference is still needed to support auro-combobox's use of legacy token values at this time -->
|
|
25
25
|
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/legacy/auro-classic/CSSCustomProperties.css"/>
|
|
@@ -39,19 +39,31 @@
|
|
|
39
39
|
<main></main>
|
|
40
40
|
|
|
41
41
|
<script type="module">
|
|
42
|
-
import 'https://
|
|
43
|
-
import 'https://
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
42
|
+
import {unified} from 'https://esm.sh/unified';
|
|
43
|
+
import remarkParse from 'https://esm.sh/remark-parse';
|
|
44
|
+
import remarkGfm from 'https://esm.sh/remark-gfm';
|
|
45
|
+
import remarkRehype from 'https://esm.sh/remark-rehype';
|
|
46
|
+
import rehypeRaw from 'https://esm.sh/rehype-raw';
|
|
47
|
+
import rehypeHighlight from 'https://esm.sh/rehype-highlight';
|
|
48
|
+
import rehypeStringify from 'https://esm.sh/rehype-stringify';
|
|
49
|
+
|
|
50
|
+
const response = await fetch('./design.md');
|
|
51
|
+
const text = await response.text();
|
|
52
|
+
const result = await unified()
|
|
53
|
+
.use(remarkParse)
|
|
54
|
+
.use(remarkGfm)
|
|
55
|
+
.use(remarkRehype, { allowDangerousHtml: true })
|
|
56
|
+
.use(rehypeRaw)
|
|
57
|
+
.use(rehypeHighlight)
|
|
58
|
+
.use(rehypeStringify)
|
|
59
|
+
.process(text);
|
|
60
|
+
|
|
61
|
+
document.querySelector('main').innerHTML = String(result);
|
|
62
|
+
addCopyButtons();
|
|
52
63
|
|
|
53
64
|
function addCopyButtons() {
|
|
54
|
-
document.querySelectorAll('
|
|
65
|
+
document.querySelectorAll('pre code[class*="language-"], pre code[class*="hljs"]').forEach((code) => {
|
|
66
|
+
const pre = code.parentElement;
|
|
55
67
|
const wrapper = document.createElement('div');
|
|
56
68
|
wrapper.className = 'pre-wrapper';
|
|
57
69
|
pre.parentNode.insertBefore(wrapper, pre);
|
|
@@ -60,9 +72,8 @@
|
|
|
60
72
|
btn.className = 'copy-btn';
|
|
61
73
|
btn.textContent = 'Copy';
|
|
62
74
|
btn.addEventListener('click', () => {
|
|
63
|
-
const
|
|
64
|
-
const
|
|
65
|
-
const text = raw.replace(/\u200B/g, '').replace(/^\n+/, '').replace(/\n+$/, '\n');
|
|
75
|
+
const raw = code.textContent;
|
|
76
|
+
const text = raw.replace(/\u200B/g, '').replace(/^\n+/, '').replace(/\n+$/, '\n').replace(/^\$ /, '');
|
|
66
77
|
navigator.clipboard.writeText(text).then(() => {
|
|
67
78
|
btn.textContent = 'Copied!';
|
|
68
79
|
setTimeout(() => { btn.textContent = 'Copy'; }, 1500);
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
19
19
|
<title>Auro Web Component Demo | auro-combobox</title>
|
|
20
20
|
|
|
21
|
-
<!--
|
|
22
|
-
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/
|
|
21
|
+
<!-- highlight.js Stylesheet -->
|
|
22
|
+
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.9.0/build/styles/github.min.css"/>
|
|
23
23
|
|
|
24
24
|
<!-- Legacy reference is still needed to support auro-combobox's use of legacy token values at this time -->
|
|
25
25
|
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/legacy/auro-classic/CSSCustomProperties.css"/>
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
|
|
33
33
|
<!-- Demo Specific Styles -->
|
|
34
34
|
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/demoWrapper.css" />
|
|
35
|
-
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/elementDemoStyles.css" />
|
|
35
|
+
<!-- <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/elementDemoStyles.css" /> -->
|
|
36
36
|
<link rel="stylesheet" type="text/css" href="./styles.css" />
|
|
37
37
|
</head>
|
|
38
38
|
<body class="auro-markdown">
|
|
@@ -47,11 +47,31 @@
|
|
|
47
47
|
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-icon@latest/+esm" type="module"></script>
|
|
48
48
|
|
|
49
49
|
<script type="module">
|
|
50
|
-
import 'https://
|
|
51
|
-
import 'https://
|
|
50
|
+
import {unified} from 'https://esm.sh/unified';
|
|
51
|
+
import remarkParse from 'https://esm.sh/remark-parse';
|
|
52
|
+
import remarkGfm from 'https://esm.sh/remark-gfm';
|
|
53
|
+
import remarkRehype from 'https://esm.sh/remark-rehype';
|
|
54
|
+
import rehypeRaw from 'https://esm.sh/rehype-raw';
|
|
55
|
+
import rehypeHighlight from 'https://esm.sh/rehype-highlight';
|
|
56
|
+
import rehypeStringify from 'https://esm.sh/rehype-stringify';
|
|
57
|
+
|
|
58
|
+
const response = await fetch('./index.md');
|
|
59
|
+
const text = await response.text();
|
|
60
|
+
const result = await unified()
|
|
61
|
+
.use(remarkParse)
|
|
62
|
+
.use(remarkGfm)
|
|
63
|
+
.use(remarkRehype, { allowDangerousHtml: true })
|
|
64
|
+
.use(rehypeRaw)
|
|
65
|
+
.use(rehypeHighlight)
|
|
66
|
+
.use(rehypeStringify)
|
|
67
|
+
.process(text);
|
|
68
|
+
|
|
69
|
+
document.querySelector('main').innerHTML = String(result);
|
|
70
|
+
addCopyButtons();
|
|
52
71
|
|
|
53
72
|
function addCopyButtons() {
|
|
54
|
-
document.querySelectorAll('
|
|
73
|
+
document.querySelectorAll('pre code[class*="language-"], pre code[class*="hljs"]').forEach((code) => {
|
|
74
|
+
const pre = code.parentElement;
|
|
55
75
|
const wrapper = document.createElement('div');
|
|
56
76
|
wrapper.className = 'pre-wrapper';
|
|
57
77
|
pre.parentNode.insertBefore(wrapper, pre);
|
|
@@ -60,9 +80,8 @@
|
|
|
60
80
|
btn.className = 'copy-btn';
|
|
61
81
|
btn.textContent = 'Copy';
|
|
62
82
|
btn.addEventListener('click', () => {
|
|
63
|
-
const
|
|
64
|
-
const
|
|
65
|
-
const text = raw.replace(/\u200B/g, '').replace(/^\n+/, '').replace(/\n+$/, '\n');
|
|
83
|
+
const raw = code.textContent;
|
|
84
|
+
const text = raw.replace(/\u200B/g, '').replace(/^\n+/, '').replace(/\n+$/, '\n').replace(/^\$ /, '');
|
|
66
85
|
navigator.clipboard.writeText(text).then(() => {
|
|
67
86
|
btn.textContent = 'Copied!';
|
|
68
87
|
setTimeout(() => { btn.textContent = 'Copy'; }, 1500);
|
|
@@ -71,19 +90,6 @@
|
|
|
71
90
|
wrapper.appendChild(btn);
|
|
72
91
|
});
|
|
73
92
|
}
|
|
74
|
-
|
|
75
|
-
function loadMd(path) {
|
|
76
|
-
fetch(path)
|
|
77
|
-
.then((response) => response.text())
|
|
78
|
-
.then((text) => {
|
|
79
|
-
const rawHtml = marked.parse(text);
|
|
80
|
-
document.querySelector('main').innerHTML = rawHtml;
|
|
81
|
-
Prism.highlightAll();
|
|
82
|
-
addCopyButtons();
|
|
83
|
-
});
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
loadMd('./index.md');
|
|
87
93
|
</script>
|
|
88
94
|
<script src="./index.min.js" data-demo-script="true" type="module"></script>
|
|
89
95
|
<script type="module" data-demo-script="true">
|