@aurodesignsystem-dev/auro-formkit 0.0.0-pr1448.2 → 0.0.0-pr1448.3
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/demo/getting-started.md +5 -6
- 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/getting-started.md +76 -27
- package/components/combobox/demo/index.min.js +15 -1
- 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/getting-started.md +4 -3
- package/components/counter/demo/index.min.js +8392 -1
- package/components/counter/dist/index.js +433 -45
- package/components/counter/dist/registered.js +1 -1
- package/components/datepicker/demo/getting-started.md +25 -2
- package/components/datepicker/demo/index.min.js +24612 -1
- package/components/datepicker/dist/index.js +3 -3
- package/components/datepicker/dist/registered.js +3 -3
- package/components/dropdown/demo/getting-started.md +34 -2
- package/components/dropdown/demo/index.min.js +5097 -1
- package/components/dropdown/dist/index.js +1 -1
- package/components/dropdown/dist/registered.js +1 -1
- package/components/form/demo/getting-started.md +5 -6
- package/components/form/demo/index.min.js +716 -2
- package/components/form/demo/registerDemoDeps.min.js +1800 -1800
- package/components/input/demo/auro-input.min.js +1 -1
- package/components/input/demo/customize.min.js +48 -1
- package/components/input/demo/getting-started.md +1 -1
- package/components/input/dist/index.js +1 -1
- package/components/input/dist/registered.js +1 -1
- package/components/menu/demo/getting-started.md +1 -1
- package/components/menu/demo/index.min.js +2288 -1
- package/components/radio/demo/getting-started.md +27 -2
- 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/getting-started.md +39 -5
- package/components/select/demo/getting-started.min.js +31 -1
- 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/package.json +1 -1
- package/components/checkbox/demo/api.js +0 -17
- package/components/checkbox/demo/api.min.js +0 -26
- package/components/combobox/demo/api.js +0 -39
- package/components/combobox/demo/api.min.js +0 -106
- package/components/combobox/demo/swap-value.min.js +0 -16
- package/components/counter/demo/api.js +0 -24
- package/components/counter/demo/api.min.js +0 -52
- package/components/counter/demo/auro-counter-group.min.js +0 -8394
- package/components/datepicker/demo/api.js +0 -37
- package/components/datepicker/demo/api.min.js +0 -300
- package/components/datepicker/demo/auro-datepicker.min.js +0 -24614
- package/components/dropdown/demo/api.js +0 -26
- package/components/dropdown/demo/api.min.js +0 -109
- package/components/dropdown/demo/auro-dropdown.min.js +0 -5099
- package/components/form/demo/api.js +0 -5
- package/components/form/demo/api.min.js +0 -8
- package/components/form/demo/auro-form.min.js +0 -718
- package/components/input/demo/api.js +0 -27
- package/components/input/demo/api.min.js +0 -52
- package/components/input/demo/swap-value.min.js +0 -49
- package/components/menu/demo/api.js +0 -29
- package/components/menu/demo/api.min.js +0 -121
- package/components/menu/demo/auro-menuoption.min.js +0 -2290
- package/components/radio/demo/api.js +0 -19
- package/components/radio/demo/api.min.js +0 -44
- package/components/select/demo/api.js +0 -39
- package/components/select/demo/api.min.js +0 -83
- package/components/select/demo/update-active-option.min.js +0 -32
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
<section>
|
|
33
33
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../docs/partials/getting-started/install.md) -->
|
|
34
34
|
<!-- The below content is automatically added from ./../docs/partials/getting-started/install.md -->
|
|
35
|
-
<auro-header level="2" id="setup">Setup</auro-header>
|
|
35
|
+
<auro-header level="2" id="setup">Setup</auro-header>
|
|
36
36
|
<auro-accordion-group Emphasis>
|
|
37
37
|
<auro-accordion expanded class="section" id="recommendedAccordion">
|
|
38
38
|
<span slot="trigger">Recommended Installation and Implementation</span>
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
<pre class="language-shell"><code class="language-shell">$ npm i @aurodesignsystem/auro-formkit</code></pre>
|
|
45
45
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
46
46
|
<auro-header level="3">Implementation</auro-header>
|
|
47
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../docs/partials/customRegistration.md) -->
|
|
48
|
-
<!-- The below content is automatically added from ./../docs/partials/customRegistration.md -->
|
|
47
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../docs/partials/getting-started/customRegistration.md) -->
|
|
48
|
+
<!-- The below content is automatically added from ./../docs/partials/getting-started/customRegistration.md -->
|
|
49
49
|
<auro-header level="2" id="customRegistration">Custom Component Registration for Version Management</auro-header>
|
|
50
50
|
There are two key parts to every Auro component: the <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes">class</a> and the custom element definition. The class defines the component’s behavior, while the custom element registers it under a specific name so it can be used in HTML.
|
|
51
51
|
|
|
@@ -100,10 +100,9 @@ This will create a new custom element <code>>custom-checkbox<</code> and <
|
|
|
100
100
|
</div>
|
|
101
101
|
</auro-accordion>
|
|
102
102
|
<auro-accordion class="section" id="cdnAccordion">
|
|
103
|
-
<span slot="trigger">CDN Installation
|
|
103
|
+
<span slot="trigger">CDN Installation</span>
|
|
104
104
|
<div class="accordion-content">
|
|
105
|
-
<p class="warning"><strong>Warning:</strong> CDN
|
|
106
|
-
<auro-header level="3">Install & Implementation</auro-header>
|
|
105
|
+
<p class="warning"><strong>Warning:</strong> CDN registration can cause conflicts if another package registers the same tag name using a different version of the component, leading to unexpected behavior. Use custom registration to avoid this risk.</p>
|
|
107
106
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../docs/partials/getting-started/cdnRegistration.md) -->
|
|
108
107
|
<!-- The below content is automatically added from ./../docs/partials/getting-started/cdnRegistration.md -->
|
|
109
108
|
<p>Add the following script tag to your HTML to load the component directly from a CDN:</p>
|
|
@@ -1682,7 +1682,7 @@ class AuroHelpText extends i$2 {
|
|
|
1682
1682
|
}
|
|
1683
1683
|
}
|
|
1684
1684
|
|
|
1685
|
-
var formkitVersion = '
|
|
1685
|
+
var formkitVersion = '202605072132';
|
|
1686
1686
|
|
|
1687
1687
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1688
1688
|
// See LICENSE in the project root for license information.
|
|
@@ -1635,7 +1635,7 @@ class AuroHelpText extends LitElement {
|
|
|
1635
1635
|
}
|
|
1636
1636
|
}
|
|
1637
1637
|
|
|
1638
|
-
var formkitVersion = '
|
|
1638
|
+
var formkitVersion = '202605072132';
|
|
1639
1639
|
|
|
1640
1640
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1641
1641
|
// See LICENSE in the project root for license information.
|
|
@@ -1635,7 +1635,7 @@ class AuroHelpText extends LitElement {
|
|
|
1635
1635
|
}
|
|
1636
1636
|
}
|
|
1637
1637
|
|
|
1638
|
-
var formkitVersion = '
|
|
1638
|
+
var formkitVersion = '202605072132';
|
|
1639
1639
|
|
|
1640
1640
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1641
1641
|
// See LICENSE in the project root for license information.
|
|
@@ -41,54 +41,103 @@
|
|
|
41
41
|
<section>
|
|
42
42
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../docs/partials/getting-started/install.md) -->
|
|
43
43
|
<!-- The below content is automatically added from ./../docs/partials/getting-started/install.md -->
|
|
44
|
-
<auro-header level="
|
|
45
|
-
<auro-
|
|
44
|
+
<auro-header level="2" id="setup">Setup</auro-header>
|
|
45
|
+
<auro-accordion-group Emphasis>
|
|
46
|
+
<auro-accordion expanded class="section" id="recommendedAccordion">
|
|
47
|
+
<span slot="trigger">Recommended Installation and Implementation</span>
|
|
48
|
+
<div class="accordion-content">
|
|
49
|
+
<auro-header level="3">Install</auro-header>
|
|
46
50
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../../docs/templates/componentInstall.md) -->
|
|
47
51
|
<!-- The below content is automatically added from ./../../../docs/templates/componentInstall.md -->
|
|
48
52
|
|
|
49
53
|
<pre class="language-shell"><code class="language-shell">$ npm i @aurodesignsystem/auro-formkit</code></pre>
|
|
54
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
55
|
+
<auro-header level="3">Implementation</auro-header>
|
|
56
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../docs/partials/getting-started/customRegistration.md) -->
|
|
57
|
+
<!-- The below content is automatically added from ./../docs/partials/getting-started/customRegistration.md -->
|
|
58
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../../docs/partials/customRegistrationDescription.md) -->
|
|
59
|
+
<!-- The below content is automatically added from ./../../../docs/partials/customRegistrationDescription.md -->
|
|
60
|
+
<p>Every Auro component consists of a JavaScript <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes">class</a> and a <a href="https://developer.mozilla.org/en-US/docs/Web/API/CustomElementRegistry/define">custom element registration</a>. The class defines the component's behavior, and the registration maps it to an HTML tag name so it can be used in markup.</p>
|
|
61
|
+
<p>The default import (shown above) handles both steps automatically, registering the component under its standard tag name.</p>
|
|
62
|
+
<p>If you need multiple versions of the same component on a single page — for example, when two projects depend on different versions — you can register the class under a custom tag name to avoid conflicts.</p>
|
|
63
|
+
<p>To do this, import the component class directly and call its <code>register(name)</code> method with a unique name:</p>
|
|
50
64
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
51
|
-
<auro-header level="2" id="gettingStarted">Getting Started</auro-header>
|
|
52
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../../docs/templates/gettingStarted.md) -->
|
|
53
|
-
<!-- The below content is automatically added from ./../../../docs/templates/gettingStarted.md -->
|
|
54
65
|
|
|
55
|
-
|
|
66
|
+
<pre class="language-js"><code class="language-js">// Import the class only
|
|
67
|
+
import { AuroCombobox } from '@aurodesignsystem/auro-formkit/auro-combobox/class';
|
|
68
|
+
|
|
69
|
+
// Register with a custom name if desired
|
|
70
|
+
AuroCombobox.register('custom-combobox');</code></pre>
|
|
56
71
|
|
|
57
|
-
|
|
72
|
+
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.
|
|
58
73
|
|
|
59
|
-
<pre class="language-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
74
|
+
<pre class="language-html"><code class="language-html"><custom-combobox>
|
|
75
|
+
<span slot="bib.fullscreen.headline">Bib Header</span>
|
|
76
|
+
<span slot="label">Name</span>
|
|
77
|
+
<auro-menu>
|
|
78
|
+
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
79
|
+
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
80
|
+
<auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
|
|
81
|
+
<auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
|
|
82
|
+
<auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
|
|
83
|
+
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
84
|
+
</auro-menu>
|
|
85
|
+
</custom-combobox></code></pre>
|
|
86
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
87
|
+
</div>
|
|
88
|
+
</auro-accordion>
|
|
89
|
+
<auro-accordion class="section" id="autoAccordion">
|
|
90
|
+
<span slot="trigger">Auto Installation and Implementation</span>
|
|
91
|
+
<div class="accordion-content">
|
|
92
|
+
<p class="warning"><strong>Warning:</strong> Default registration can cause conflicts if another package registers the same tag name using a different version of the component, leading to unexpected behavior. Use custom registration to avoid this risk.</p>
|
|
93
|
+
<auro-header level="3">Install</auro-header>
|
|
94
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../../docs/templates/componentInstall.md) -->
|
|
95
|
+
<!-- The below content is automatically added from ./../../../docs/templates/componentInstall.md -->
|
|
69
96
|
|
|
70
|
-
<pre class="language-
|
|
97
|
+
<pre class="language-shell"><code class="language-shell">$ npm i @aurodesignsystem/auro-formkit</code></pre>
|
|
98
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
99
|
+
<auro-header level="3">Implementation</auro-header>
|
|
100
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../docs/partials/getting-started/defaultRegistration.md) -->
|
|
101
|
+
<!-- The below content is automatically added from ./../docs/partials/getting-started/defaultRegistration.md -->
|
|
102
|
+
<p>Once installed, the component can be used in your project by importing the component's registered module:</p>
|
|
71
103
|
|
|
72
|
-
|
|
104
|
+
<pre class="language-js"><code class="language-js">import '@aurodesignsystem/auro-formkit/auro-combobox';</code></pre>
|
|
105
|
+
<p>This import registers the <code><auro-combobox></code> custom element globally. You can then use it in your HTML:</p>
|
|
73
106
|
|
|
74
107
|
<pre class="language-html"><code class="language-html"><auro-combobox>
|
|
75
108
|
<span slot="label">Choose an option</span>
|
|
76
109
|
<auro-menu>
|
|
77
110
|
<auro-menuoption value="option1">Option 1</auro-menuoption>
|
|
78
111
|
<auro-menuoption value="option2">Option 2</auro-menuoption>
|
|
112
|
+
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
79
113
|
</auro-menu>
|
|
80
114
|
</auro-combobox></code></pre>
|
|
115
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
116
|
+
</div>
|
|
117
|
+
</auro-accordion>
|
|
118
|
+
<auro-accordion class="section" id="cdnAccordion">
|
|
119
|
+
<span slot="trigger">CDN Installation</span>
|
|
120
|
+
<div class="accordion-content">
|
|
121
|
+
<p class="warning"><strong>Warning:</strong> CDN registration can cause conflicts if another package registers the same tag name using a different version of the component, leading to unexpected behavior. Use custom registration to avoid this risk.</p>
|
|
122
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../docs/partials/getting-started/cdnRegistration.md) -->
|
|
123
|
+
<!-- The below content is automatically added from ./../docs/partials/getting-started/cdnRegistration.md -->
|
|
124
|
+
<p>Add the following script tag to your HTML to load the component directly from a CDN:</p>
|
|
81
125
|
|
|
82
|
-
<auro-header level="2" id="cdn">Install from CDN</auro-header>
|
|
83
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../../docs/templates/bundleInstallDescription.md) -->
|
|
84
|
-
<!-- The below content is automatically added from ./../../../docs/templates/bundleInstallDescription.md -->
|
|
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
|
-
|
|
87
126
|
<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
|
-
|
|
89
|
-
|
|
90
|
-
|
|
127
|
+
<p>This script registers the <code><auro-combobox></code> custom element globally. You can then use it in your HTML:</p>
|
|
128
|
+
|
|
129
|
+
<pre class="language-html"><code class="language-html"><auro-combobox>
|
|
130
|
+
<span slot="label">Choose an option</span>
|
|
131
|
+
<auro-menu>
|
|
132
|
+
<auro-menuoption value="option1">Option 1</auro-menuoption>
|
|
133
|
+
<auro-menuoption value="option2">Option 2</auro-menuoption>
|
|
134
|
+
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
135
|
+
</auro-menu>
|
|
136
|
+
</auro-combobox></code></pre>
|
|
91
137
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
138
|
+
</div>
|
|
139
|
+
</auro-accordion>
|
|
140
|
+
</auro-accordion-group>
|
|
92
141
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
93
142
|
</section>
|
|
94
143
|
<section>
|
|
@@ -1,6 +1,20 @@
|
|
|
1
|
-
import { s as swapValueExample } from './swap-value.min.js';
|
|
2
1
|
import { A as AuroCombobox } from './registered.min.js';
|
|
3
2
|
|
|
3
|
+
function swapValueExample() {
|
|
4
|
+
const btn = document.querySelector('#swapExampleBtn');
|
|
5
|
+
const comboboxOne = document.querySelector('#swapExampleLeft');
|
|
6
|
+
const comboboxTwo = document.querySelector('#swapExampleRight');
|
|
7
|
+
|
|
8
|
+
btn.addEventListener('click', () => {
|
|
9
|
+
console.warn('swap value example button clicked');
|
|
10
|
+
const valueOne = comboboxOne.value;
|
|
11
|
+
const valueTwo = comboboxTwo.value;
|
|
12
|
+
|
|
13
|
+
comboboxOne.value = valueTwo;
|
|
14
|
+
comboboxTwo.value = valueOne;
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
|
|
4
18
|
/* eslint-disable jsdoc/require-jsdoc, no-magic-numbers, no-param-reassign */
|
|
5
19
|
|
|
6
20
|
|
|
@@ -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 = '202605072132';
|
|
5282
5282
|
|
|
5283
5283
|
let AuroElement$2 = class AuroElement extends i$4 {
|
|
5284
5284
|
static get properties() {
|
|
@@ -13030,7 +13030,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$4 {
|
|
|
13030
13030
|
}
|
|
13031
13031
|
};
|
|
13032
13032
|
|
|
13033
|
-
var formkitVersion$1 = '
|
|
13033
|
+
var formkitVersion$1 = '202605072132';
|
|
13034
13034
|
|
|
13035
13035
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
13036
13036
|
// See LICENSE in the project root for license information.
|
|
@@ -14095,7 +14095,7 @@ class AuroBibtemplate extends i$4 {
|
|
|
14095
14095
|
}
|
|
14096
14096
|
}
|
|
14097
14097
|
|
|
14098
|
-
var formkitVersion = '
|
|
14098
|
+
var formkitVersion = '202605072132';
|
|
14099
14099
|
|
|
14100
14100
|
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}`;
|
|
14101
14101
|
|
|
@@ -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 = '202605072132';
|
|
5215
5215
|
|
|
5216
5216
|
let AuroElement$2 = class AuroElement extends LitElement {
|
|
5217
5217
|
static get properties() {
|
|
@@ -12956,7 +12956,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
12956
12956
|
}
|
|
12957
12957
|
};
|
|
12958
12958
|
|
|
12959
|
-
var formkitVersion$1 = '
|
|
12959
|
+
var formkitVersion$1 = '202605072132';
|
|
12960
12960
|
|
|
12961
12961
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12962
12962
|
// See LICENSE in the project root for license information.
|
|
@@ -14021,7 +14021,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
14021
14021
|
}
|
|
14022
14022
|
}
|
|
14023
14023
|
|
|
14024
|
-
var formkitVersion = '
|
|
14024
|
+
var formkitVersion = '202605072132';
|
|
14025
14025
|
|
|
14026
14026
|
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}`;
|
|
14027
14027
|
|
|
@@ -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 = '202605072132';
|
|
5215
5215
|
|
|
5216
5216
|
let AuroElement$2 = class AuroElement extends LitElement {
|
|
5217
5217
|
static get properties() {
|
|
@@ -12956,7 +12956,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
12956
12956
|
}
|
|
12957
12957
|
};
|
|
12958
12958
|
|
|
12959
|
-
var formkitVersion$1 = '
|
|
12959
|
+
var formkitVersion$1 = '202605072132';
|
|
12960
12960
|
|
|
12961
12961
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12962
12962
|
// See LICENSE in the project root for license information.
|
|
@@ -14021,7 +14021,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
14021
14021
|
}
|
|
14022
14022
|
}
|
|
14023
14023
|
|
|
14024
|
-
var formkitVersion = '
|
|
14024
|
+
var formkitVersion = '202605072132';
|
|
14025
14025
|
|
|
14026
14026
|
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}`;
|
|
14027
14027
|
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
<section>
|
|
35
35
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../docs/partials/getting-started/install.md) -->
|
|
36
36
|
<!-- The below content is automatically added from ./../docs/partials/getting-started/install.md -->
|
|
37
|
-
<auro-header level="2" id="setup">Setup</auro-header>
|
|
37
|
+
<auro-header level="2" id="setup">Setup</auro-header>
|
|
38
38
|
<auro-accordion-group Emphasis>
|
|
39
39
|
<auro-accordion expanded class="section" id="recommendedAccordion">
|
|
40
40
|
<span slot="trigger">Recommended Installation and Implementation</span>
|
|
@@ -46,8 +46,8 @@
|
|
|
46
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-header level="3">Implementation</auro-header>
|
|
49
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../docs/partials/customRegistration.md) -->
|
|
50
|
-
<!-- The below content is automatically added from ./../docs/partials/customRegistration.md -->
|
|
49
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../docs/partials/getting-started/customRegistration.md) -->
|
|
50
|
+
<!-- The below content is automatically added from ./../docs/partials/getting-started/customRegistration.md -->
|
|
51
51
|
<auro-header level="4">Custom Component Registration for Version Management</auro-header>
|
|
52
52
|
There are two key parts to every Auro component: the <auro-hyperlink href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes">class</auro-hyperlink> and the custom element definition. The class defines the component's behavior, while the custom element registers it under a specific name so it can be used in HTML.
|
|
53
53
|
|
|
@@ -109,6 +109,7 @@ Then use the elements in your HTML:
|
|
|
109
109
|
<auro-accordion class="section" id="cdnAccordion">
|
|
110
110
|
<span slot="trigger">CDN Installation</span>
|
|
111
111
|
<div class="accordion-content">
|
|
112
|
+
<p class="warning"><strong>Warning:</strong> CDN registration can cause conflicts if another package registers the same tag name using a different version of the component, leading to unexpected behavior. Use custom registration to avoid this risk.</p>
|
|
112
113
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../docs/partials/getting-started/cdnRegistration.md) -->
|
|
113
114
|
<!-- The below content is automatically added from ./../docs/partials/getting-started/cdnRegistration.md -->
|
|
114
115
|
The counter components can be loaded via CDN without a build step:
|