@aurodesignsystem-dev/auro-formkit 0.0.0-pr1457.0 → 0.0.0-pr1457.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/components/checkbox/README.md +2 -2
- package/components/checkbox/demo/demo-support.js +1 -60
- package/components/checkbox/demo/getting-started.md +2 -2
- package/components/checkbox/demo/index.min.js +1 -1
- package/components/checkbox/demo/install.md +2 -2
- package/components/checkbox/demo/readme.md +2 -2
- package/components/checkbox/dist/index.js +1 -1
- package/components/checkbox/dist/registered.js +1 -1
- package/components/combobox/README.md +2 -2
- package/components/combobox/demo/demo-support.js +1 -60
- package/components/combobox/demo/getting-started.md +2 -2
- package/components/combobox/demo/install.md +2 -2
- package/components/combobox/demo/readme.md +2 -2
- package/components/combobox/demo/registered.min.js +3 -3
- package/components/combobox/dist/index.js +3 -3
- package/components/combobox/dist/registered.js +3 -3
- package/components/counter/demo/api.min.js +2 -2
- package/components/counter/demo/index.min.js +2 -2
- package/components/counter/dist/index.js +2 -2
- package/components/counter/dist/registered.js +2 -2
- package/components/datepicker/README.md +2 -2
- package/components/datepicker/demo/auro-datepicker.min.js +3 -3
- package/components/datepicker/demo/demo-support.js +1 -60
- package/components/datepicker/demo/getting-started.md +2 -2
- package/components/datepicker/demo/readme.md +2 -2
- package/components/datepicker/dist/index.js +3 -3
- package/components/datepicker/dist/registered.js +3 -3
- package/components/dropdown/demo/api.min.js +1 -1
- package/components/dropdown/demo/index.min.js +1 -1
- package/components/dropdown/dist/index.js +1 -1
- package/components/dropdown/dist/registered.js +1 -1
- package/components/form/demo/api.min.js +13 -13
- package/components/form/demo/index.min.js +13 -13
- package/components/input/README.md +2 -2
- package/components/input/demo/auro-input.min.js +1 -1
- package/components/input/demo/demo-support.js +1 -60
- package/components/input/demo/getting-started.md +2 -2
- package/components/input/demo/readme.md +2 -2
- package/components/input/dist/index.js +1 -1
- package/components/input/dist/registered.js +1 -1
- package/components/radio/demo/accessibility.html +1 -2
- package/components/radio/demo/api.html +1 -2
- package/components/radio/demo/api.md +44 -44
- package/components/radio/demo/api.min.js +2 -2168
- package/components/radio/demo/customize.html +1 -2
- package/components/radio/demo/demo-support.js +1 -60
- package/components/radio/demo/demo-support.min.js +55732 -0
- package/components/radio/demo/design.html +1 -2
- package/components/radio/demo/getting-started.html +1 -2
- package/components/radio/demo/index.html +1 -2
- package/components/radio/demo/index.min.js +16 -2
- package/components/radio/demo/keyboard-behavior.html +1 -2
- package/components/radio/demo/styles.min.css +1 -0
- package/components/radio/demo/styles.scss +1 -0
- package/components/radio/demo/voiceover.html +1 -2
- package/components/radio/dist/index.js +1 -1
- package/components/radio/dist/registered.js +1 -1
- package/components/select/README.md +2 -2
- package/components/select/demo/demo-support.js +1 -60
- package/components/select/demo/getting-started.md +2 -2
- package/components/select/demo/install.md +2 -2
- package/components/select/demo/readme.md +2 -2
- package/components/select/demo/registered.min.js +2 -2
- package/components/select/dist/index.js +2 -2
- package/components/select/dist/registered.js +2 -2
- package/custom-elements.json +244 -244
- package/package.json +2 -2
- package/components/radio/demo/keyboard-behavior.md +0 -72
- package/components/radio/demo/layout.md +0 -30
- package/components/radio/demo/styles.css +0 -974
|
@@ -43,7 +43,7 @@ The <code><auro-checkbox></code> element should be used in situations wher
|
|
|
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
|
-
<pre class="language-shell"><code class="language-shell">$ npm i @aurodesignsystem
|
|
46
|
+
<pre class="language-shell"><code class="language-shell">$ npm i @aurodesignsystem/auro-formkit</code></pre>
|
|
47
47
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
48
48
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../../docs/templates/gettingStarted.md) -->
|
|
49
49
|
<!-- The below content is automatically added from ../../docs/templates/gettingStarted.md -->
|
|
@@ -67,7 +67,7 @@ This configuration enables proper module resolution for the component's TypeScri
|
|
|
67
67
|
<!-- The below content is automatically added from ../../docs/templates/bundleInstallDescription.md -->
|
|
68
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.
|
|
69
69
|
|
|
70
|
-
<pre class="language-html"><code class="language-html"><script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem
|
|
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>
|
|
71
71
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
72
72
|
|
|
73
73
|
## Formkit Development
|
|
@@ -1,60 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import remarkParse from 'remark-parse';
|
|
3
|
-
import remarkGfm from 'remark-gfm';
|
|
4
|
-
import remarkRehype from 'remark-rehype';
|
|
5
|
-
import rehypeRaw from 'rehype-raw';
|
|
6
|
-
import rehypeHighlight from 'rehype-highlight';
|
|
7
|
-
import rehypeStringify from 'rehype-stringify';
|
|
8
|
-
|
|
9
|
-
export async function renderPage(mdPath) {
|
|
10
|
-
const response = await fetch(mdPath);
|
|
11
|
-
const text = await response.text();
|
|
12
|
-
const result = await unified()
|
|
13
|
-
.use(remarkParse)
|
|
14
|
-
.use(remarkGfm)
|
|
15
|
-
.use(remarkRehype, { allowDangerousHtml: true })
|
|
16
|
-
.use(rehypeRaw)
|
|
17
|
-
.use(rehypeHighlight)
|
|
18
|
-
.use(rehypeStringify)
|
|
19
|
-
.process(text);
|
|
20
|
-
|
|
21
|
-
document.querySelector('main').innerHTML = String(result);
|
|
22
|
-
addCopyButtons();
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
function addCopyButtons() {
|
|
26
|
-
document.querySelectorAll('pre code[class*="language-"], pre code[class*="hljs"]').forEach((code) => {
|
|
27
|
-
const pre = code.parentElement;
|
|
28
|
-
const wrapper = document.createElement('div');
|
|
29
|
-
wrapper.className = 'pre-wrapper';
|
|
30
|
-
pre.parentNode.insertBefore(wrapper, pre);
|
|
31
|
-
wrapper.appendChild(pre);
|
|
32
|
-
const btn = document.createElement('button');
|
|
33
|
-
btn.className = 'copy-btn';
|
|
34
|
-
btn.textContent = 'Copy';
|
|
35
|
-
btn.addEventListener('click', () => {
|
|
36
|
-
const raw = code.textContent;
|
|
37
|
-
const text = raw.replace(/\u200B/g, '').replace(/^\n+/, '').replace(/\n+$/, '\n').replace(/^\$ /, '');
|
|
38
|
-
navigator.clipboard.writeText(text).then(() => {
|
|
39
|
-
btn.textContent = 'Copied!';
|
|
40
|
-
setTimeout(() => { btn.textContent = 'Copy'; }, 1500);
|
|
41
|
-
});
|
|
42
|
-
});
|
|
43
|
-
wrapper.appendChild(btn);
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
export function openAccordion(id) {
|
|
48
|
-
document.querySelectorAll('auro-accordion').forEach((accordion) => {
|
|
49
|
-
accordion.removeAttribute('expanded');
|
|
50
|
-
});
|
|
51
|
-
const target = document.getElementById(id);
|
|
52
|
-
if (target) {
|
|
53
|
-
target.setAttribute('expanded', '');
|
|
54
|
-
setTimeout(() => {
|
|
55
|
-
target.scrollIntoView({ behavior: 'smooth', block: 'start' });
|
|
56
|
-
}, 550);
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
window.openAccordion = openAccordion;
|
|
1
|
+
export { renderPage, openAccordion } from '@aurodesignsystem/utils/demo-support';
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../../docs/templates/componentInstall.md) -->
|
|
39
39
|
<!-- The below content is automatically added from ./../../../docs/templates/componentInstall.md -->
|
|
40
40
|
|
|
41
|
-
<pre class="language-shell"><code class="language-shell">$ npm i @aurodesignsystem
|
|
41
|
+
<pre class="language-shell"><code class="language-shell">$ npm i @aurodesignsystem/auro-formkit</code></pre>
|
|
42
42
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
43
43
|
<auro-header level="3">Implementation</auro-header>
|
|
44
44
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../docs/partials/customRegistration.md) -->
|
|
@@ -78,7 +78,7 @@ This will create a new custom element <code>>custom-checkbox<</code> and <
|
|
|
78
78
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../../docs/templates/componentInstall.md) -->
|
|
79
79
|
<!-- The below content is automatically added from ./../../../docs/templates/componentInstall.md -->
|
|
80
80
|
|
|
81
|
-
<pre class="language-shell"><code class="language-shell">$ npm i @aurodesignsystem
|
|
81
|
+
<pre class="language-shell"><code class="language-shell">$ npm i @aurodesignsystem/auro-formkit</code></pre>
|
|
82
82
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
83
83
|
<auro-header level="3">Implementation</auro-header>
|
|
84
84
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../docs/partials/getting-started/defaultRegistration.md) -->
|
|
@@ -1681,7 +1681,7 @@ class AuroHelpText extends i$2 {
|
|
|
1681
1681
|
}
|
|
1682
1682
|
}
|
|
1683
1683
|
|
|
1684
|
-
var formkitVersion = '
|
|
1684
|
+
var formkitVersion = '202605042114';
|
|
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.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<auro-header level="3">Install</auro-header>
|
|
7
7
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../../docs/templates/componentInstall.md) -->
|
|
8
8
|
<!-- The below content is automatically added from ./../../../docs/templates/componentInstall.md -->
|
|
9
|
-
<pre class="language-shell"><code class="language-shell">$ npm i @aurodesignsystem
|
|
9
|
+
<pre class="language-shell"><code class="language-shell">$ npm i @aurodesignsystem/auro-formkit</code></pre>
|
|
10
10
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
11
11
|
<auro-header level="3">Implementation</auro-header>
|
|
12
12
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../docs/partials/customRegistration.md) -->
|
|
@@ -45,7 +45,7 @@ AuroCheckboxGroup.register('custom-checkbox-group');</code></pre>
|
|
|
45
45
|
<auro-header level="3">Install</auro-header>
|
|
46
46
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../../docs/templates/componentInstall.md) -->
|
|
47
47
|
<!-- The below content is automatically added from ./../../../docs/templates/componentInstall.md -->
|
|
48
|
-
<pre class="language-shell"><code class="language-shell">$ npm i @aurodesignsystem
|
|
48
|
+
<pre class="language-shell"><code class="language-shell">$ npm i @aurodesignsystem/auro-formkit</code></pre>
|
|
49
49
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
50
50
|
<auro-header level="3">Implementation</auro-header>
|
|
51
51
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../docs/partials/getting-started/defaultRegistration.md) -->
|
|
@@ -43,7 +43,7 @@ The <code><auro-checkbox></code> element should be used in situations wher
|
|
|
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
|
-
<pre class="language-shell"><code class="language-shell">$ npm i @aurodesignsystem
|
|
46
|
+
<pre class="language-shell"><code class="language-shell">$ npm i @aurodesignsystem/auro-formkit</code></pre>
|
|
47
47
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
48
48
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../../docs/templates/gettingStarted.md) -->
|
|
49
49
|
<!-- The below content is automatically added from ../../docs/templates/gettingStarted.md -->
|
|
@@ -67,7 +67,7 @@ This configuration enables proper module resolution for the component's TypeScri
|
|
|
67
67
|
<!-- The below content is automatically added from ../../docs/templates/bundleInstallDescription.md -->
|
|
68
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.
|
|
69
69
|
|
|
70
|
-
<pre class="language-html"><code class="language-html"><script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem
|
|
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>
|
|
71
71
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
72
72
|
|
|
73
73
|
## Formkit Development
|
|
@@ -1634,7 +1634,7 @@ class AuroHelpText extends LitElement {
|
|
|
1634
1634
|
}
|
|
1635
1635
|
}
|
|
1636
1636
|
|
|
1637
|
-
var formkitVersion = '
|
|
1637
|
+
var formkitVersion = '202605042114';
|
|
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 = '202605042114';
|
|
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.
|
|
@@ -60,7 +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
|
-
<pre class="language-shell"><code class="language-shell">$ npm i @aurodesignsystem
|
|
63
|
+
<pre class="language-shell"><code class="language-shell">$ npm i @aurodesignsystem/auro-formkit</code></pre>
|
|
64
64
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
65
65
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../../docs/templates/gettingStarted.md) -->
|
|
66
66
|
<!-- The below content is automatically added from ../../docs/templates/gettingStarted.md -->
|
|
@@ -84,7 +84,7 @@ This configuration enables proper module resolution for the component's TypeScri
|
|
|
84
84
|
<!-- The below content is automatically added from ../../docs/templates/bundleInstallDescription.md -->
|
|
85
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.
|
|
86
86
|
|
|
87
|
-
<pre class="language-html"><code class="language-html"><script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem
|
|
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>
|
|
88
88
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
89
89
|
|
|
90
90
|
## Formkit Development
|
|
@@ -1,60 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import remarkParse from 'remark-parse';
|
|
3
|
-
import remarkGfm from 'remark-gfm';
|
|
4
|
-
import remarkRehype from 'remark-rehype';
|
|
5
|
-
import rehypeRaw from 'rehype-raw';
|
|
6
|
-
import rehypeHighlight from 'rehype-highlight';
|
|
7
|
-
import rehypeStringify from 'rehype-stringify';
|
|
8
|
-
|
|
9
|
-
export async function renderPage(mdPath) {
|
|
10
|
-
const response = await fetch(mdPath);
|
|
11
|
-
const text = await response.text();
|
|
12
|
-
const result = await unified()
|
|
13
|
-
.use(remarkParse)
|
|
14
|
-
.use(remarkGfm)
|
|
15
|
-
.use(remarkRehype, { allowDangerousHtml: true })
|
|
16
|
-
.use(rehypeRaw)
|
|
17
|
-
.use(rehypeHighlight)
|
|
18
|
-
.use(rehypeStringify)
|
|
19
|
-
.process(text);
|
|
20
|
-
|
|
21
|
-
document.querySelector('main').innerHTML = String(result);
|
|
22
|
-
addCopyButtons();
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
function addCopyButtons() {
|
|
26
|
-
document.querySelectorAll('pre code[class*="language-"], pre code[class*="hljs"]').forEach((code) => {
|
|
27
|
-
const pre = code.parentElement;
|
|
28
|
-
const wrapper = document.createElement('div');
|
|
29
|
-
wrapper.className = 'pre-wrapper';
|
|
30
|
-
pre.parentNode.insertBefore(wrapper, pre);
|
|
31
|
-
wrapper.appendChild(pre);
|
|
32
|
-
const btn = document.createElement('button');
|
|
33
|
-
btn.className = 'copy-btn';
|
|
34
|
-
btn.textContent = 'Copy';
|
|
35
|
-
btn.addEventListener('click', () => {
|
|
36
|
-
const raw = code.textContent;
|
|
37
|
-
const text = raw.replace(/\u200B/g, '').replace(/^\n+/, '').replace(/\n+$/, '\n').replace(/^\$ /, '');
|
|
38
|
-
navigator.clipboard.writeText(text).then(() => {
|
|
39
|
-
btn.textContent = 'Copied!';
|
|
40
|
-
setTimeout(() => { btn.textContent = 'Copy'; }, 1500);
|
|
41
|
-
});
|
|
42
|
-
});
|
|
43
|
-
wrapper.appendChild(btn);
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
export function openAccordion(id) {
|
|
48
|
-
document.querySelectorAll('auro-accordion').forEach((accordion) => {
|
|
49
|
-
accordion.removeAttribute('expanded');
|
|
50
|
-
});
|
|
51
|
-
const target = document.getElementById(id);
|
|
52
|
-
if (target) {
|
|
53
|
-
target.setAttribute('expanded', '');
|
|
54
|
-
setTimeout(() => {
|
|
55
|
-
target.scrollIntoView({ behavior: 'smooth', block: 'start' });
|
|
56
|
-
}, 550);
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
window.openAccordion = openAccordion;
|
|
1
|
+
export { renderPage, openAccordion } from '@aurodesignsystem/utils/demo-support';
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
<auro-header level="3">Install</auro-header>
|
|
48
48
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../../docs/templates/componentInstall.md) -->
|
|
49
49
|
<!-- The below content is automatically added from ./../../../docs/templates/componentInstall.md -->
|
|
50
|
-
<pre class="language-shell"><code class="language-shell">$ npm i @aurodesignsystem
|
|
50
|
+
<pre class="language-shell"><code class="language-shell">$ npm i @aurodesignsystem/auro-formkit</code></pre>
|
|
51
51
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
52
52
|
<auro-header level="3">Implementation</auro-header>
|
|
53
53
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../docs/partials/customRegistration.md) -->
|
|
@@ -89,7 +89,7 @@ AuroCombobox.register('custom-combobox');</code></pre>
|
|
|
89
89
|
<auro-header level="3">Install</auro-header>
|
|
90
90
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../../docs/templates/componentInstall.md) -->
|
|
91
91
|
<!-- The below content is automatically added from ./../../../docs/templates/componentInstall.md -->
|
|
92
|
-
<pre class="language-shell"><code class="language-shell">$ npm i @aurodesignsystem
|
|
92
|
+
<pre class="language-shell"><code class="language-shell">$ npm i @aurodesignsystem/auro-formkit</code></pre>
|
|
93
93
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
94
94
|
<auro-header level="3">Implementation</auro-header>
|
|
95
95
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../docs/partials/getting-started/defaultRegistration.md) -->
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../../docs/templates/componentInstall.md) -->
|
|
4
4
|
<!-- The below content is automatically added from ./../../../docs/templates/componentInstall.md -->
|
|
5
5
|
|
|
6
|
-
<pre class="language-shell"><code class="language-shell">$ npm i @aurodesignsystem
|
|
6
|
+
<pre class="language-shell"><code class="language-shell">$ npm i @aurodesignsystem/auro-formkit</code></pre>
|
|
7
7
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
8
8
|
<auro-header level="2" id="gettingStarted">Getting Started</auro-header>
|
|
9
9
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../../docs/templates/gettingStarted.md) -->
|
|
@@ -41,7 +41,7 @@ This import registers the `<auro-combobox>` custom element globally. You can the
|
|
|
41
41
|
<!-- The below content is automatically added from ./../../../docs/templates/bundleInstallDescription.md -->
|
|
42
42
|
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.
|
|
43
43
|
|
|
44
|
-
<pre class="language-html"><code class="language-html"><script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem
|
|
44
|
+
<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>
|
|
45
45
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
46
46
|
<auro-header level="2" id="customRegistration">Custom Component Registration</auro-header>
|
|
47
47
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../docs/partials/customRegistration.md) -->
|
|
@@ -60,7 +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
|
-
<pre class="language-shell"><code class="language-shell">$ npm i @aurodesignsystem
|
|
63
|
+
<pre class="language-shell"><code class="language-shell">$ npm i @aurodesignsystem/auro-formkit</code></pre>
|
|
64
64
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
65
65
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../../docs/templates/gettingStarted.md) -->
|
|
66
66
|
<!-- The below content is automatically added from ../../docs/templates/gettingStarted.md -->
|
|
@@ -84,7 +84,7 @@ This configuration enables proper module resolution for the component's TypeScri
|
|
|
84
84
|
<!-- The below content is automatically added from ../../docs/templates/bundleInstallDescription.md -->
|
|
85
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.
|
|
86
86
|
|
|
87
|
-
<pre class="language-html"><code class="language-html"><script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem
|
|
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>
|
|
88
88
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
89
89
|
|
|
90
90
|
## Formkit Development
|
|
@@ -5278,7 +5278,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$4 {
|
|
|
5278
5278
|
}
|
|
5279
5279
|
};
|
|
5280
5280
|
|
|
5281
|
-
var formkitVersion$2 = '
|
|
5281
|
+
var formkitVersion$2 = '202605042114';
|
|
5282
5282
|
|
|
5283
5283
|
let AuroElement$2 = class AuroElement extends i$4 {
|
|
5284
5284
|
static get properties() {
|
|
@@ -13029,7 +13029,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$4 {
|
|
|
13029
13029
|
}
|
|
13030
13030
|
};
|
|
13031
13031
|
|
|
13032
|
-
var formkitVersion$1 = '
|
|
13032
|
+
var formkitVersion$1 = '202605042114';
|
|
13033
13033
|
|
|
13034
13034
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
13035
13035
|
// See LICENSE in the project root for license information.
|
|
@@ -14094,7 +14094,7 @@ class AuroBibtemplate extends i$4 {
|
|
|
14094
14094
|
}
|
|
14095
14095
|
}
|
|
14096
14096
|
|
|
14097
|
-
var formkitVersion = '
|
|
14097
|
+
var formkitVersion = '202605042114';
|
|
14098
14098
|
|
|
14099
14099
|
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}`;
|
|
14100
14100
|
|
|
@@ -5211,7 +5211,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
5211
5211
|
}
|
|
5212
5212
|
};
|
|
5213
5213
|
|
|
5214
|
-
var formkitVersion$2 = '
|
|
5214
|
+
var formkitVersion$2 = '202605042114';
|
|
5215
5215
|
|
|
5216
5216
|
let AuroElement$2 = class AuroElement extends LitElement {
|
|
5217
5217
|
static get properties() {
|
|
@@ -12955,7 +12955,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
12955
12955
|
}
|
|
12956
12956
|
};
|
|
12957
12957
|
|
|
12958
|
-
var formkitVersion$1 = '
|
|
12958
|
+
var formkitVersion$1 = '202605042114';
|
|
12959
12959
|
|
|
12960
12960
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12961
12961
|
// See LICENSE in the project root for license information.
|
|
@@ -14020,7 +14020,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
14020
14020
|
}
|
|
14021
14021
|
}
|
|
14022
14022
|
|
|
14023
|
-
var formkitVersion = '
|
|
14023
|
+
var formkitVersion = '202605042114';
|
|
14024
14024
|
|
|
14025
14025
|
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}`;
|
|
14026
14026
|
|
|
@@ -5211,7 +5211,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
5211
5211
|
}
|
|
5212
5212
|
};
|
|
5213
5213
|
|
|
5214
|
-
var formkitVersion$2 = '
|
|
5214
|
+
var formkitVersion$2 = '202605042114';
|
|
5215
5215
|
|
|
5216
5216
|
let AuroElement$2 = class AuroElement extends LitElement {
|
|
5217
5217
|
static get properties() {
|
|
@@ -12955,7 +12955,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
12955
12955
|
}
|
|
12956
12956
|
};
|
|
12957
12957
|
|
|
12958
|
-
var formkitVersion$1 = '
|
|
12958
|
+
var formkitVersion$1 = '202605042114';
|
|
12959
12959
|
|
|
12960
12960
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12961
12961
|
// See LICENSE in the project root for license information.
|
|
@@ -14020,7 +14020,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
14020
14020
|
}
|
|
14021
14021
|
}
|
|
14022
14022
|
|
|
14023
|
-
var formkitVersion = '
|
|
14023
|
+
var formkitVersion = '202605042114';
|
|
14024
14024
|
|
|
14025
14025
|
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}`;
|
|
14026
14026
|
|
|
@@ -1521,7 +1521,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
1521
1521
|
}
|
|
1522
1522
|
};
|
|
1523
1523
|
|
|
1524
|
-
var formkitVersion$1 = '
|
|
1524
|
+
var formkitVersion$1 = '202605042114';
|
|
1525
1525
|
|
|
1526
1526
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1527
1527
|
// See LICENSE in the project root for license information.
|
|
@@ -5867,7 +5867,7 @@ class AuroHelpText extends i$2 {
|
|
|
5867
5867
|
}
|
|
5868
5868
|
}
|
|
5869
5869
|
|
|
5870
|
-
var formkitVersion = '
|
|
5870
|
+
var formkitVersion = '202605042114';
|
|
5871
5871
|
|
|
5872
5872
|
let AuroElement$1 = class AuroElement extends i$2 {
|
|
5873
5873
|
static get properties() {
|
|
@@ -1521,7 +1521,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
1521
1521
|
}
|
|
1522
1522
|
};
|
|
1523
1523
|
|
|
1524
|
-
var formkitVersion$1 = '
|
|
1524
|
+
var formkitVersion$1 = '202605042114';
|
|
1525
1525
|
|
|
1526
1526
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1527
1527
|
// See LICENSE in the project root for license information.
|
|
@@ -5867,7 +5867,7 @@ class AuroHelpText extends i$2 {
|
|
|
5867
5867
|
}
|
|
5868
5868
|
}
|
|
5869
5869
|
|
|
5870
|
-
var formkitVersion = '
|
|
5870
|
+
var formkitVersion = '202605042114';
|
|
5871
5871
|
|
|
5872
5872
|
let AuroElement$1 = class AuroElement extends i$2 {
|
|
5873
5873
|
static get properties() {
|
|
@@ -1471,7 +1471,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
1471
1471
|
}
|
|
1472
1472
|
};
|
|
1473
1473
|
|
|
1474
|
-
var formkitVersion$1 = '
|
|
1474
|
+
var formkitVersion$1 = '202605042114';
|
|
1475
1475
|
|
|
1476
1476
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1477
1477
|
// See LICENSE in the project root for license information.
|
|
@@ -5799,7 +5799,7 @@ class AuroHelpText extends LitElement {
|
|
|
5799
5799
|
}
|
|
5800
5800
|
}
|
|
5801
5801
|
|
|
5802
|
-
var formkitVersion = '
|
|
5802
|
+
var formkitVersion = '202605042114';
|
|
5803
5803
|
|
|
5804
5804
|
let AuroElement$1 = class AuroElement extends LitElement {
|
|
5805
5805
|
static get properties() {
|
|
@@ -1471,7 +1471,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
1471
1471
|
}
|
|
1472
1472
|
};
|
|
1473
1473
|
|
|
1474
|
-
var formkitVersion$1 = '
|
|
1474
|
+
var formkitVersion$1 = '202605042114';
|
|
1475
1475
|
|
|
1476
1476
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1477
1477
|
// See LICENSE in the project root for license information.
|
|
@@ -5799,7 +5799,7 @@ class AuroHelpText extends LitElement {
|
|
|
5799
5799
|
}
|
|
5800
5800
|
}
|
|
5801
5801
|
|
|
5802
|
-
var formkitVersion = '
|
|
5802
|
+
var formkitVersion = '202605042114';
|
|
5803
5803
|
|
|
5804
5804
|
let AuroElement$1 = class AuroElement extends LitElement {
|
|
5805
5805
|
static get properties() {
|
|
@@ -43,7 +43,7 @@ The <code><auro-datepicker></code> element should be used in situations wh
|
|
|
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
|
-
<pre class="language-shell"><code class="language-shell">$ npm i @aurodesignsystem
|
|
46
|
+
<pre class="language-shell"><code class="language-shell">$ npm i @aurodesignsystem/auro-formkit</code></pre>
|
|
47
47
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
48
48
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../../docs/templates/gettingStarted.md) -->
|
|
49
49
|
<!-- The below content is automatically added from ../../docs/templates/gettingStarted.md -->
|
|
@@ -67,7 +67,7 @@ This configuration enables proper module resolution for the component's TypeScri
|
|
|
67
67
|
<!-- The below content is automatically added from ../../docs/templates/bundleInstallDescription.md -->
|
|
68
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.
|
|
69
69
|
|
|
70
|
-
<pre class="language-html"><code class="language-html"><script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem
|
|
70
|
+
<pre class="language-html"><code class="language-html"><script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@latest/auro-datepicker/+esm"></script></code></pre>
|
|
71
71
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
72
72
|
|
|
73
73
|
## Formkit Development
|
|
@@ -9288,7 +9288,7 @@ class AuroBibtemplate extends i$1 {
|
|
|
9288
9288
|
}
|
|
9289
9289
|
}
|
|
9290
9290
|
|
|
9291
|
-
var formkitVersion$2 = '
|
|
9291
|
+
var formkitVersion$2 = '202605042114';
|
|
9292
9292
|
|
|
9293
9293
|
let l$1 = class l{generateElementName(t,e){let o=t;return o+="-",o+=e.replace(/[.]/g,"_"),o}generateTag(o,s,a){const r=this.generateElementName(o,s),i=i$5`${s$5(r)}`;return customElements.get(r)||customElements.define(r,class extends a{}),i}};let d$1 = class d{registerComponent(t,e){customElements.get(t)||customElements.define(t,class extends e{});}closestElement(t,e=this,o=(e,s=e&&e.closest(t))=>e&&e!==document&&e!==window?s||o(e.getRootNode().host):null){return o(e)}handleComponentTagRename(t,e){const o=e.toLowerCase();t.tagName.toLowerCase()!==o&&t.setAttribute(o,true);}elementMatch(t,e){const o=e.toLowerCase();return t.tagName.toLowerCase()===o||t.hasAttribute(o)}getSlotText(t,e){const o=t.shadowRoot?.querySelector(`slot[name="${e}"]`),s=(o?.assignedNodes({flatten:true})||[]).map(t=>t.textContent?.trim()).join(" ").trim();return s||null}};let h$4 = class h{registerComponent(t,e){customElements.get(t)||customElements.define(t,class extends e{});}closestElement(t,e=this,o=(e,s=e&&e.closest(t))=>e&&e!==document&&e!==window?s||o(e.getRootNode().host):null){return o(e)}handleComponentTagRename(t,e){const o=e.toLowerCase();t.tagName.toLowerCase()!==o&&t.setAttribute(o,true);}elementMatch(t,e){const o=e.toLowerCase();return t.tagName.toLowerCase()===o||t.hasAttribute(o)}};var c$3=i$3`:host{color:var(--ds-auro-loader-color)}:host>span{background-color:var(--ds-auro-loader-background-color);border-color:var(--ds-auro-loader-border-color)}:host([onlight]),:host([appearance=brand]){--ds-auro-loader-color: var(--ds-basic-color-brand-primary, #01426a)}:host([ondark]),:host([appearance=inverse]){--ds-auro-loader-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([orbit])>span{--ds-auro-loader-background-color: transparent}:host([orbit])>span:nth-child(1){--ds-auro-loader-border-color: currentcolor;opacity:.25}:host([orbit])>span:nth-child(2){--ds-auro-loader-border-color: currentcolor;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}
|
|
9294
9294
|
`,u$6=i$3`.body-default{font-size:var(--wcss-body-default-font-size, 1rem);line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-lg{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-sm{font-size:var(--wcss-body-sm-font-size, .875rem);line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs{font-size:var(--wcss-body-xs-font-size, .75rem);line-height:var(--wcss-body-xs-line-height, 1rem)}.body-2xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-2xs-font-size, .625rem);font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);line-height:var(--wcss-body-2xs-line-height, .875rem)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular"),var(--wcss-display-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));font-weight:var(--wcss-display-2xl-weight, 300);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);line-height:var(--wcss-display-2xl-line-height, 1.3)}.display-xl{font-family:var(--wcss-display-xl-family, "AS Circular"),var(--wcss-display-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem));font-weight:var(--wcss-display-xl-weight, 300);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);line-height:var(--wcss-display-xl-line-height, 1.3)}.display-lg{font-family:var(--wcss-display-lg-family, "AS Circular"),var(--wcss-display-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem));font-weight:var(--wcss-display-lg-weight, 300);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);line-height:var(--wcss-display-lg-line-height, 1.3)}.display-md{font-family:var(--wcss-display-md-family, "AS Circular"),var(--wcss-display-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem));font-weight:var(--wcss-display-md-weight, 300);letter-spacing:var(--wcss-display-md-letter-spacing, 0);line-height:var(--wcss-display-md-line-height, 1.3)}.display-sm{font-family:var(--wcss-display-sm-family, "AS Circular"),var(--wcss-display-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem));font-weight:var(--wcss-display-sm-weight, 300);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);line-height:var(--wcss-display-sm-line-height, 1.3)}.display-xs{font-family:var(--wcss-display-xs-family, "AS Circular"),var(--wcss-display-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem));font-weight:var(--wcss-display-xs-weight, 300);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);line-height:var(--wcss-display-xs-line-height, 1.3)}.heading-xl{font-family:var(--wcss-heading-xl-family, "AS Circular"),var(--wcss-heading-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem));font-weight:var(--wcss-heading-xl-weight, 300);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);line-height:var(--wcss-heading-xl-line-height, 1.3)}.heading-lg{font-family:var(--wcss-heading-lg-family, "AS Circular"),var(--wcss-heading-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem));font-weight:var(--wcss-heading-lg-weight, 300);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);line-height:var(--wcss-heading-lg-line-height, 1.3)}.heading-md{font-family:var(--wcss-heading-md-family, "AS Circular"),var(--wcss-heading-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem));font-weight:var(--wcss-heading-md-weight, 300);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);line-height:var(--wcss-heading-md-line-height, 1.3)}.heading-sm{font-family:var(--wcss-heading-sm-family, "AS Circular"),var(--wcss-heading-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem));font-weight:var(--wcss-heading-sm-weight, 300);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);line-height:var(--wcss-heading-sm-line-height, 1.3)}.heading-xs{font-family:var(--wcss-heading-xs-family, "AS Circular"),var(--wcss-heading-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem));font-weight:var(--wcss-heading-xs-weight, 450);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);line-height:var(--wcss-heading-xs-line-height, 1.3)}.heading-2xs{font-family:var(--wcss-heading-2xs-family, "AS Circular"),var(--wcss-heading-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));font-weight:var(--wcss-heading-2xs-weight, 450);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);line-height:var(--wcss-heading-2xs-line-height, 1.3)}.accent-2xl{font-family:var(--wcss-accent-2xl-family, "Good OT"),var(--wcss-accent-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));font-weight:var(--wcss-accent-2xl-weight, 450);letter-spacing:var(--wcss-accent-2xl-letter-spacing, .05em);line-height:var(--wcss-accent-2xl-line-height, 1)}.accent-2xl,.accent-xl{text-transform:uppercase}.accent-xl{font-family:var(--wcss-accent-xl-family, "Good OT"),var(--wcss-accent-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));font-weight:var(--wcss-accent-xl-weight, 450);letter-spacing:var(--wcss-accent-xl-letter-spacing, .05em);line-height:var(--wcss-accent-xl-line-height, 1.3)}.accent-lg{font-family:var(--wcss-accent-lg-family, "Good OT"),var(--wcss-accent-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));font-weight:var(--wcss-accent-lg-weight, 450);letter-spacing:var(--wcss-accent-lg-letter-spacing, .05em);line-height:var(--wcss-accent-lg-line-height, 1.3)}.accent-lg,.accent-md{text-transform:uppercase}.accent-md{font-family:var(--wcss-accent-md-family, "Good OT"),var(--wcss-accent-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));font-weight:var(--wcss-accent-md-weight, 500);letter-spacing:var(--wcss-accent-md-letter-spacing, .05em);line-height:var(--wcss-accent-md-line-height, 1.3)}.accent-sm{font-family:var(--wcss-accent-sm-family, "Good OT"),var(--wcss-accent-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));font-weight:var(--wcss-accent-sm-weight, 500);letter-spacing:var(--wcss-accent-sm-letter-spacing, .05em);line-height:var(--wcss-accent-sm-line-height, 1.3)}.accent-sm,.accent-xs{text-transform:uppercase}.accent-xs{font-family:var(--wcss-accent-xs-family, "Good OT"),var(--wcss-accent-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));font-weight:var(--wcss-accent-xs-weight, 500);letter-spacing:var(--wcss-accent-xs-letter-spacing, .1em);line-height:var(--wcss-accent-xs-line-height, 1.3)}.accent-2xs{font-family:var(--wcss-accent-2xs-family, "Good OT"),var(--wcss-accent-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xs-font-size, clamp(.875rem, 1.1666666667vw, .875rem));font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, .1em);line-height:var(--wcss-accent-2xs-line-height, 1.3);text-transform:uppercase}:focus:not(:focus-visible){outline:3px solid transparent}:host,:host>span{position:relative}:host{width:2rem;height:2rem;display:inline-block;font-size:0}:host>span{position:absolute;display:inline-block;float:none;top:0;left:0;width:2rem;height:2rem;border-radius:100%;border-style:solid;border-width:0;box-sizing:border-box}:host([xs]),:host([xs])>span{width:1.2rem;height:1.2rem}:host([sm]),:host([sm])>span{width:3rem;height:3rem}:host([md]),:host([md])>span{width:5rem;height:5rem}:host([lg]),:host([lg])>span{width:8rem;height:8rem}:host{--margin: .375rem;--margin-xs: .2rem;--margin-sm: .5rem;--margin-md: .75rem;--margin-lg: 1rem}:host([pulse]),:host([pulse])>span{position:relative}:host([pulse]){width:calc(3rem + var(--margin) * 6);height:calc(1rem + var(--margin) * 2)}:host([pulse])>span{width:1rem;height:1rem;margin:var(--margin);animation:pulse 1.5s ease infinite}:host([pulse][xs]){width:calc(1.95rem + var(--margin-xs) * 6);height:calc(.65rem + var(--margin-xs) * 2)}:host([pulse][xs])>span{margin:var(--margin-xs);width:.65rem;height:.65rem}:host([pulse][sm]){width:calc(6rem + var(--margin-sm) * 6);height:calc(2rem + var(--margin-sm) * 2)}:host([pulse][sm])>span{margin:var(--margin-sm);width:2rem;height:2rem}:host([pulse][md]){width:calc(9rem + var(--margin-md) * 6);height:calc(3rem + var(--margin-md) * 2)}:host([pulse][md])>span{margin:var(--margin-md);width:3rem;height:3rem}:host([pulse][lg]){width:calc(15rem + var(--margin-lg) * 6);height:calc(5rem + var(--margin-lg) * 2)}:host([pulse][lg])>span{margin:var(--margin-lg);width:5rem;height:5rem}:host([pulse])>span:nth-child(1){animation-delay:-.4s}:host([pulse])>span:nth-child(2){animation-delay:-.2s}:host([pulse])>span:nth-child(3){animation-delay:0ms}@keyframes pulse{0%,to{opacity:.1;transform:scale(.9)}50%{opacity:1;transform:scale(1.1)}}:host([orbit]),:host([orbit])>span{opacity:1}:host([orbit])>span{border-width:5px}:host([orbit])>span:nth-child(2){animation:orbit 2s linear infinite}:host([orbit][sm])>span{border-width:8px}:host([orbit][md])>span{border-width:13px}:host([orbit][lg])>span{border-width:21px}@keyframes orbit{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:host([ringworm])>svg{animation:rotate 2s linear infinite;height:100%;width:100%;stroke:currentcolor;stroke-width:8}:host([ringworm]) .path{stroke-dashoffset:0;animation:ringworm 1.5s ease-in-out infinite;stroke-linecap:round}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes ringworm{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}:host([laser]){position:static;width:100%;display:block;height:0;overflow:hidden;font-size:unset}:host([laser])>span{position:fixed;width:100%;height:.25rem;border-radius:0;z-index:100}:host([laser])>span:nth-child(1){border-color:currentcolor;opacity:.25}:host([laser])>span:nth-child(2){border-color:currentcolor;animation:laser 2s linear infinite;opacity:1;width:50%}:host([laser][sm])>span:nth-child(2){width:20%}:host([laser][md])>span:nth-child(2){width:30%}:host([laser][lg])>span:nth-child(2){width:50%;animation-duration:1.5s}:host([laser][xl])>span:nth-child(2){width:80%;animation-duration:1.5s}@keyframes laser{0%{left:-100%}to{left:110%}}:host>.no-animation{display:none}@media (prefers-reduced-motion: reduce){:host{display:flex;align-items:center;justify-content:center}:host>span{opacity:1}:host>.loader{display:none}:host>svg{display:none}:host>.no-animation{display:block}}
|
|
@@ -13656,7 +13656,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$1 {
|
|
|
13656
13656
|
}
|
|
13657
13657
|
};
|
|
13658
13658
|
|
|
13659
|
-
var formkitVersion$1 = '
|
|
13659
|
+
var formkitVersion$1 = '202605042114';
|
|
13660
13660
|
|
|
13661
13661
|
let AuroElement$2 = class AuroElement extends i$1 {
|
|
13662
13662
|
static get properties() {
|
|
@@ -21407,7 +21407,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$1 {
|
|
|
21407
21407
|
}
|
|
21408
21408
|
};
|
|
21409
21409
|
|
|
21410
|
-
var formkitVersion = '
|
|
21410
|
+
var formkitVersion = '202605042114';
|
|
21411
21411
|
|
|
21412
21412
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
21413
21413
|
// See LICENSE in the project root for license information.
|
|
@@ -1,60 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import remarkParse from 'remark-parse';
|
|
3
|
-
import remarkGfm from 'remark-gfm';
|
|
4
|
-
import remarkRehype from 'remark-rehype';
|
|
5
|
-
import rehypeRaw from 'rehype-raw';
|
|
6
|
-
import rehypeHighlight from 'rehype-highlight';
|
|
7
|
-
import rehypeStringify from 'rehype-stringify';
|
|
8
|
-
|
|
9
|
-
export async function renderPage(mdPath) {
|
|
10
|
-
const response = await fetch(mdPath);
|
|
11
|
-
const text = await response.text();
|
|
12
|
-
const result = await unified()
|
|
13
|
-
.use(remarkParse)
|
|
14
|
-
.use(remarkGfm)
|
|
15
|
-
.use(remarkRehype, { allowDangerousHtml: true })
|
|
16
|
-
.use(rehypeRaw)
|
|
17
|
-
.use(rehypeHighlight)
|
|
18
|
-
.use(rehypeStringify)
|
|
19
|
-
.process(text);
|
|
20
|
-
|
|
21
|
-
document.querySelector('main').innerHTML = String(result);
|
|
22
|
-
addCopyButtons();
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
function addCopyButtons() {
|
|
26
|
-
document.querySelectorAll('pre code[class*="language-"], pre code[class*="hljs"]').forEach((code) => {
|
|
27
|
-
const pre = code.parentElement;
|
|
28
|
-
const wrapper = document.createElement('div');
|
|
29
|
-
wrapper.className = 'pre-wrapper';
|
|
30
|
-
pre.parentNode.insertBefore(wrapper, pre);
|
|
31
|
-
wrapper.appendChild(pre);
|
|
32
|
-
const btn = document.createElement('button');
|
|
33
|
-
btn.className = 'copy-btn';
|
|
34
|
-
btn.textContent = 'Copy';
|
|
35
|
-
btn.addEventListener('click', () => {
|
|
36
|
-
const raw = code.textContent;
|
|
37
|
-
const text = raw.replace(/\u200B/g, '').replace(/^\n+/, '').replace(/\n+$/, '\n').replace(/^\$ /, '');
|
|
38
|
-
navigator.clipboard.writeText(text).then(() => {
|
|
39
|
-
btn.textContent = 'Copied!';
|
|
40
|
-
setTimeout(() => { btn.textContent = 'Copy'; }, 1500);
|
|
41
|
-
});
|
|
42
|
-
});
|
|
43
|
-
wrapper.appendChild(btn);
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
export function openAccordion(id) {
|
|
48
|
-
document.querySelectorAll('auro-accordion').forEach((accordion) => {
|
|
49
|
-
accordion.removeAttribute('expanded');
|
|
50
|
-
});
|
|
51
|
-
const target = document.getElementById(id);
|
|
52
|
-
if (target) {
|
|
53
|
-
target.setAttribute('expanded', '');
|
|
54
|
-
setTimeout(() => {
|
|
55
|
-
target.scrollIntoView({ behavior: 'smooth', block: 'start' });
|
|
56
|
-
}, 550);
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
window.openAccordion = openAccordion;
|
|
1
|
+
export { renderPage, openAccordion } from '@aurodesignsystem/utils/demo-support';
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
<auro-header level="3">Install</auro-header>
|
|
49
49
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../../docs/templates/componentInstall.md) -->
|
|
50
50
|
<!-- The below content is automatically added from ./../../../docs/templates/componentInstall.md -->
|
|
51
|
-
<pre class="language-shell"><code class="language-shell">$ npm i @aurodesignsystem
|
|
51
|
+
<pre class="language-shell"><code class="language-shell">$ npm i @aurodesignsystem/auro-formkit</code></pre>
|
|
52
52
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
53
53
|
<auro-header level="3">Implementation</auro-header>
|
|
54
54
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../docs/partials/customRegistration.md) -->
|
|
@@ -83,7 +83,7 @@ AuroDatepicker.register('custom-datepicker');</code></pre>
|
|
|
83
83
|
<auro-header level="3">Install</auro-header>
|
|
84
84
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../../docs/templates/componentInstall.md) -->
|
|
85
85
|
<!-- The below content is automatically added from ./../../../docs/templates/componentInstall.md -->
|
|
86
|
-
<pre class="language-shell"><code class="language-shell">$ npm i @aurodesignsystem
|
|
86
|
+
<pre class="language-shell"><code class="language-shell">$ npm i @aurodesignsystem/auro-formkit</code></pre>
|
|
87
87
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
88
88
|
<auro-header level="3">Implementation</auro-header>
|
|
89
89
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../docs/partials/getting-started/defaultRegistration.md) -->
|