@aurodesignsystem-dev/auro-formkit 0.0.0-pr1549.0 → 0.0.0-pr1550.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/components/checkbox/demo/customize.min.js +1 -1
  2. package/components/checkbox/demo/getting-started.min.js +1 -1
  3. package/components/checkbox/demo/index.min.js +1 -1
  4. package/components/checkbox/dist/index.js +1 -1
  5. package/components/checkbox/dist/registered.js +1 -1
  6. package/components/combobox/demo/customize.md +0 -52
  7. package/components/combobox/demo/customize.min.js +4 -9
  8. package/components/combobox/demo/getting-started.min.js +4 -9
  9. package/components/combobox/demo/index.min.js +4 -9
  10. package/components/combobox/dist/index.js +4 -9
  11. package/components/combobox/dist/registered.js +4 -9
  12. package/components/counter/demo/customize.min.js +2 -2
  13. package/components/counter/demo/index.min.js +2 -2
  14. package/components/counter/dist/index.js +2 -2
  15. package/components/counter/dist/registered.js +2 -2
  16. package/components/datepicker/demo/customize.min.js +3 -3
  17. package/components/datepicker/demo/getting-started.md +118 -2
  18. package/components/datepicker/demo/index.min.js +3 -3
  19. package/components/datepicker/dist/index.js +3 -3
  20. package/components/datepicker/dist/registered.js +3 -3
  21. package/components/dropdown/demo/customize.min.js +1 -1
  22. package/components/dropdown/demo/getting-started.min.js +1 -1
  23. package/components/dropdown/demo/index.min.js +1 -1
  24. package/components/dropdown/dist/index.js +1 -1
  25. package/components/dropdown/dist/registered.js +1 -1
  26. package/components/form/demo/customize.min.js +14 -19
  27. package/components/form/demo/getting-started.min.js +14 -19
  28. package/components/form/demo/index.min.js +14 -19
  29. package/components/form/demo/registerDemoDeps.min.js +14 -19
  30. package/components/input/demo/customize.min.js +1 -1
  31. package/components/input/demo/getting-started.min.js +1 -1
  32. package/components/input/demo/index.min.js +1 -1
  33. package/components/input/dist/index.js +1 -1
  34. package/components/input/dist/registered.js +1 -1
  35. package/components/radio/demo/customize.min.js +1 -1
  36. package/components/radio/demo/getting-started.min.js +1 -1
  37. package/components/radio/demo/index.min.js +1 -1
  38. package/components/radio/dist/index.js +1 -1
  39. package/components/radio/dist/registered.js +1 -1
  40. package/components/select/demo/customize.min.js +2 -2
  41. package/components/select/demo/getting-started.min.js +2 -2
  42. package/components/select/demo/index.min.js +2 -2
  43. package/components/select/dist/index.js +2 -2
  44. package/components/select/dist/registered.js +2 -2
  45. package/custom-elements.json +1394 -1394
  46. package/package.json +1 -1
@@ -1275,7 +1275,7 @@ class AuroHelpText extends i$2 {
1275
1275
  }
1276
1276
  }
1277
1277
 
1278
- var formkitVersion = '202607091826';
1278
+ var formkitVersion = '202607091827';
1279
1279
 
1280
1280
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1281
1281
  // See LICENSE in the project root for license information.
@@ -1275,7 +1275,7 @@ class AuroHelpText extends i$2 {
1275
1275
  }
1276
1276
  }
1277
1277
 
1278
- var formkitVersion = '202607091826';
1278
+ var formkitVersion = '202607091827';
1279
1279
 
1280
1280
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1281
1281
  // See LICENSE in the project root for license information.
@@ -1275,7 +1275,7 @@ class AuroHelpText extends i$2 {
1275
1275
  }
1276
1276
  }
1277
1277
 
1278
- var formkitVersion = '202607091826';
1278
+ var formkitVersion = '202607091827';
1279
1279
 
1280
1280
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1281
1281
  // See LICENSE in the project root for license information.
@@ -1228,7 +1228,7 @@ class AuroHelpText extends LitElement {
1228
1228
  }
1229
1229
  }
1230
1230
 
1231
- var formkitVersion = '202607091826';
1231
+ var formkitVersion = '202607091827';
1232
1232
 
1233
1233
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1234
1234
  // See LICENSE in the project root for license information.
@@ -1228,7 +1228,7 @@ class AuroHelpText extends LitElement {
1228
1228
  }
1229
1229
  }
1230
1230
 
1231
- var formkitVersion = '202607091826';
1231
+ var formkitVersion = '202607091827';
1232
1232
 
1233
1233
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1234
1234
  // See LICENSE in the project root for license information.
@@ -11,7 +11,6 @@
11
11
  <auro-anchorlink fluid href="#checkmarks" class="level2 body-xs">Checkmarks</auro-anchorlink>
12
12
  <auro-anchorlink fluid href="#placement" class="level2 body-xs">Bib Placement</auro-anchorlink>
13
13
  <auro-anchorlink fluid href="#noFlip" class="level2 body-xs">No Flip</auro-anchorlink>
14
- <auro-anchorlink fluid href="#customBibWidth" class="level2 body-xs">Custom Bib Width</auro-anchorlink>
15
14
  <auro-anchorlink fluid href="#breakpoint" class="level2 body-xs">Fullscreen Breakpoint</auro-anchorlink>
16
15
  <auro-anchorlink fluid href="#cssTokens" class="level2 body-xs">Tokens</auro-anchorlink>
17
16
  <auro-anchorlink fluid href="#cssParts" class="level2 body-xs">CSS Shadow Parts</auro-anchorlink>
@@ -380,57 +379,6 @@
380
379
  &lt;/auro-combobox&gt;</code></pre>
381
380
  <!-- AURO-GENERATED-CONTENT:END -->
382
381
  </auro-accordion>
383
- <auro-header level="3" id="customBibWidth">Custom Bib Width</auro-header>
384
- <p>By default the bib's width matches the trigger. To set a specific width, style the <code>dropdownSize</code> CSS shadow part.</p>
385
- <div class="exampleWrapper">
386
- <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/custom-bib-width.html) -->
387
- <!-- The below content is automatically added from ./../apiExamples/custom-bib-width.html -->
388
- <auro-combobox id="customBibWidthExample">
389
- <span slot="ariaLabel.bib.close">Close combobox</span>
390
- <span slot="ariaLabel.input.clear">Clear All</span>
391
- <span slot="bib.fullscreen.headline">Departure Airport</span>
392
- <span slot="label">From</span>
393
- <auro-menu>
394
- <auro-menuoption value="SEA">Seattle, WA (SEA-Seattle/Tacoma Intl.)</auro-menuoption>
395
- <auro-menuoption value="PDX">Portland, OR (PDX-Portland Intl.)</auro-menuoption>
396
- <auro-menuoption value="SFO">San Francisco, CA (SFO-San Francisco Intl.)</auro-menuoption>
397
- <auro-menuoption value="LAX">Los Angeles, CA (LAX-Los Angeles Intl.)</auro-menuoption>
398
- <auro-menuoption value="JFK">New York, NY (JFK-John F. Kennedy Intl.)</auro-menuoption>
399
- <auro-menuoption value="ORD">Chicago, IL (ORD-Chicago O'Hare Intl.)</auro-menuoption>
400
- </auro-menu>
401
- </auro-combobox>
402
- <style>
403
- #customBibWidthExample::part(dropdownSize) {
404
- width: 400px;
405
- }
406
- </style>
407
- <!-- AURO-GENERATED-CONTENT:END -->
408
- </div>
409
- <auro-accordion alignRight>
410
- <span slot="trigger">See code</span>
411
- <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/custom-bib-width.html) -->
412
- <!-- The below code snippet is automatically added from ./../apiExamples/custom-bib-width.html -->
413
- <pre class="language-html"><code class="language-html">&lt;auro-combobox id="customBibWidthExample"&gt;
414
- &lt;span slot="ariaLabel.bib.close"&gt;Close combobox&lt;/span&gt;
415
- &lt;span slot="ariaLabel.input.clear"&gt;Clear All&lt;/span&gt;
416
- &lt;span slot="bib.fullscreen.headline"&gt;Departure Airport&lt;/span&gt;
417
- &lt;span slot="label"&gt;From&lt;/span&gt;
418
- &lt;auro-menu&gt;
419
- &lt;auro-menuoption value="SEA"&gt;Seattle, WA (SEA-Seattle/Tacoma Intl.)&lt;/auro-menuoption&gt;
420
- &lt;auro-menuoption value="PDX"&gt;Portland, OR (PDX-Portland Intl.)&lt;/auro-menuoption&gt;
421
- &lt;auro-menuoption value="SFO"&gt;San Francisco, CA (SFO-San Francisco Intl.)&lt;/auro-menuoption&gt;
422
- &lt;auro-menuoption value="LAX"&gt;Los Angeles, CA (LAX-Los Angeles Intl.)&lt;/auro-menuoption&gt;
423
- &lt;auro-menuoption value="JFK"&gt;New York, NY (JFK-John F. Kennedy Intl.)&lt;/auro-menuoption&gt;
424
- &lt;auro-menuoption value="ORD"&gt;Chicago, IL (ORD-Chicago O'Hare Intl.)&lt;/auro-menuoption&gt;
425
- &lt;/auro-menu&gt;
426
- &lt;/auro-combobox&gt;
427
- &lt;style&gt;
428
- #customBibWidthExample::part(dropdownSize) {
429
- width: 400px;
430
- }
431
- &lt;/style&gt;</code></pre>
432
- <!-- AURO-GENERATED-CONTENT:END -->
433
- </auro-accordion>
434
382
  <auro-header level="3" id="breakpoint">Fullscreen Breakpoint</auro-header>
435
383
  <p>The <code>fullscreenBreakpoint</code> attribute defines the screen size breakpoint at which the dropdown switches to fullscreen mode on mobile. Supported values are <code>xs</code>, <code>sm</code>, <code>md</code>, <code>lg</code>, <code>xl</code>, and <code>disabled</code>. The default value is <code>sm</code>.</p>
436
384
  <p>When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint. Setting the value to <code>disabled</code> prevents the dropdown from ever entering fullscreen mode.</p>
@@ -5136,7 +5136,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$3 {
5136
5136
  }
5137
5137
  };
5138
5138
 
5139
- var formkitVersion$2 = '202607091826';
5139
+ var formkitVersion$2 = '202607091827';
5140
5140
 
5141
5141
  let AuroElement$2 = class AuroElement extends i$3 {
5142
5142
  static get properties() {
@@ -18761,7 +18761,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
18761
18761
  }
18762
18762
  };
18763
18763
 
18764
- var formkitVersion$1 = '202607091826';
18764
+ var formkitVersion$1 = '202607091827';
18765
18765
 
18766
18766
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
18767
18767
  // See LICENSE in the project root for license information.
@@ -19882,7 +19882,7 @@ class AuroBibtemplate extends i$3 {
19882
19882
  }
19883
19883
  }
19884
19884
 
19885
- var formkitVersion = '202607091826';
19885
+ var formkitVersion = '202607091827';
19886
19886
 
19887
19887
  var styleCss$3 = i$6`.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}`;
19888
19888
 
@@ -21194,12 +21194,7 @@ class AuroCombobox extends AuroElement {
21194
21194
  this.dropdown.bibDialogLabel = labelElement.textContent.trim() || undefined;
21195
21195
  }
21196
21196
 
21197
- if (this.customBibWidth) {
21198
- this.dropdown.dropdownWidth = this.customBibWidth;
21199
- }
21200
-
21201
- // Exposes the CSS parts from the dropdown and bibtemplate for styling
21202
- this.dropdown.exposeCssParts();
21197
+ // Exposes the CSS parts from the bibtemplate for styling
21203
21198
  this.bibtemplate.exposeCssParts();
21204
21199
 
21205
21200
  this.hideBib = this.hideBib.bind(this);
@@ -5136,7 +5136,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$3 {
5136
5136
  }
5137
5137
  };
5138
5138
 
5139
- var formkitVersion$2 = '202607091826';
5139
+ var formkitVersion$2 = '202607091827';
5140
5140
 
5141
5141
  let AuroElement$2 = class AuroElement extends i$3 {
5142
5142
  static get properties() {
@@ -18761,7 +18761,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
18761
18761
  }
18762
18762
  };
18763
18763
 
18764
- var formkitVersion$1 = '202607091826';
18764
+ var formkitVersion$1 = '202607091827';
18765
18765
 
18766
18766
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
18767
18767
  // See LICENSE in the project root for license information.
@@ -19882,7 +19882,7 @@ class AuroBibtemplate extends i$3 {
19882
19882
  }
19883
19883
  }
19884
19884
 
19885
- var formkitVersion = '202607091826';
19885
+ var formkitVersion = '202607091827';
19886
19886
 
19887
19887
  var styleCss$3 = i$6`.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}`;
19888
19888
 
@@ -21194,12 +21194,7 @@ class AuroCombobox extends AuroElement {
21194
21194
  this.dropdown.bibDialogLabel = labelElement.textContent.trim() || undefined;
21195
21195
  }
21196
21196
 
21197
- if (this.customBibWidth) {
21198
- this.dropdown.dropdownWidth = this.customBibWidth;
21199
- }
21200
-
21201
- // Exposes the CSS parts from the dropdown and bibtemplate for styling
21202
- this.dropdown.exposeCssParts();
21197
+ // Exposes the CSS parts from the bibtemplate for styling
21203
21198
  this.bibtemplate.exposeCssParts();
21204
21199
 
21205
21200
  this.hideBib = this.hideBib.bind(this);
@@ -5151,7 +5151,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$3 {
5151
5151
  }
5152
5152
  };
5153
5153
 
5154
- var formkitVersion$2 = '202607091826';
5154
+ var formkitVersion$2 = '202607091827';
5155
5155
 
5156
5156
  let AuroElement$2 = class AuroElement extends i$3 {
5157
5157
  static get properties() {
@@ -18776,7 +18776,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
18776
18776
  }
18777
18777
  };
18778
18778
 
18779
- var formkitVersion$1 = '202607091826';
18779
+ var formkitVersion$1 = '202607091827';
18780
18780
 
18781
18781
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
18782
18782
  // See LICENSE in the project root for license information.
@@ -19897,7 +19897,7 @@ class AuroBibtemplate extends i$3 {
19897
19897
  }
19898
19898
  }
19899
19899
 
19900
- var formkitVersion = '202607091826';
19900
+ var formkitVersion = '202607091827';
19901
19901
 
19902
19902
  var styleCss$3 = i$6`.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}`;
19903
19903
 
@@ -21209,12 +21209,7 @@ class AuroCombobox extends AuroElement {
21209
21209
  this.dropdown.bibDialogLabel = labelElement.textContent.trim() || undefined;
21210
21210
  }
21211
21211
 
21212
- if (this.customBibWidth) {
21213
- this.dropdown.dropdownWidth = this.customBibWidth;
21214
- }
21215
-
21216
- // Exposes the CSS parts from the dropdown and bibtemplate for styling
21217
- this.dropdown.exposeCssParts();
21212
+ // Exposes the CSS parts from the bibtemplate for styling
21218
21213
  this.bibtemplate.exposeCssParts();
21219
21214
 
21220
21215
  this.hideBib = this.hideBib.bind(this);
@@ -5069,7 +5069,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
5069
5069
  }
5070
5070
  };
5071
5071
 
5072
- var formkitVersion$2 = '202607091826';
5072
+ var formkitVersion$2 = '202607091827';
5073
5073
 
5074
5074
  let AuroElement$2 = class AuroElement extends LitElement {
5075
5075
  static get properties() {
@@ -18687,7 +18687,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
18687
18687
  }
18688
18688
  };
18689
18689
 
18690
- var formkitVersion$1 = '202607091826';
18690
+ var formkitVersion$1 = '202607091827';
18691
18691
 
18692
18692
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
18693
18693
  // See LICENSE in the project root for license information.
@@ -19808,7 +19808,7 @@ class AuroBibtemplate extends LitElement {
19808
19808
  }
19809
19809
  }
19810
19810
 
19811
- var formkitVersion = '202607091826';
19811
+ var formkitVersion = '202607091827';
19812
19812
 
19813
19813
  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}`;
19814
19814
 
@@ -21120,12 +21120,7 @@ class AuroCombobox extends AuroElement {
21120
21120
  this.dropdown.bibDialogLabel = labelElement.textContent.trim() || undefined;
21121
21121
  }
21122
21122
 
21123
- if (this.customBibWidth) {
21124
- this.dropdown.dropdownWidth = this.customBibWidth;
21125
- }
21126
-
21127
- // Exposes the CSS parts from the dropdown and bibtemplate for styling
21128
- this.dropdown.exposeCssParts();
21123
+ // Exposes the CSS parts from the bibtemplate for styling
21129
21124
  this.bibtemplate.exposeCssParts();
21130
21125
 
21131
21126
  this.hideBib = this.hideBib.bind(this);
@@ -5069,7 +5069,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
5069
5069
  }
5070
5070
  };
5071
5071
 
5072
- var formkitVersion$2 = '202607091826';
5072
+ var formkitVersion$2 = '202607091827';
5073
5073
 
5074
5074
  let AuroElement$2 = class AuroElement extends LitElement {
5075
5075
  static get properties() {
@@ -18687,7 +18687,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
18687
18687
  }
18688
18688
  };
18689
18689
 
18690
- var formkitVersion$1 = '202607091826';
18690
+ var formkitVersion$1 = '202607091827';
18691
18691
 
18692
18692
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
18693
18693
  // See LICENSE in the project root for license information.
@@ -19808,7 +19808,7 @@ class AuroBibtemplate extends LitElement {
19808
19808
  }
19809
19809
  }
19810
19810
 
19811
- var formkitVersion = '202607091826';
19811
+ var formkitVersion = '202607091827';
19812
19812
 
19813
19813
  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}`;
19814
19814
 
@@ -21120,12 +21120,7 @@ class AuroCombobox extends AuroElement {
21120
21120
  this.dropdown.bibDialogLabel = labelElement.textContent.trim() || undefined;
21121
21121
  }
21122
21122
 
21123
- if (this.customBibWidth) {
21124
- this.dropdown.dropdownWidth = this.customBibWidth;
21125
- }
21126
-
21127
- // Exposes the CSS parts from the dropdown and bibtemplate for styling
21128
- this.dropdown.exposeCssParts();
21123
+ // Exposes the CSS parts from the bibtemplate for styling
21129
21124
  this.bibtemplate.exposeCssParts();
21130
21125
 
21131
21126
  this.hideBib = this.hideBib.bind(this);
@@ -1114,7 +1114,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
1114
1114
  }
1115
1115
  };
1116
1116
 
1117
- var formkitVersion$1 = '202607091826';
1117
+ var formkitVersion$1 = '202607091827';
1118
1118
 
1119
1119
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1120
1120
  // See LICENSE in the project root for license information.
@@ -5460,7 +5460,7 @@ class AuroHelpText extends i$2 {
5460
5460
  }
5461
5461
  }
5462
5462
 
5463
- var formkitVersion = '202607091826';
5463
+ var formkitVersion = '202607091827';
5464
5464
 
5465
5465
  let AuroElement$1 = class AuroElement extends i$2 {
5466
5466
  static get properties() {
@@ -1114,7 +1114,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
1114
1114
  }
1115
1115
  };
1116
1116
 
1117
- var formkitVersion$1 = '202607091826';
1117
+ var formkitVersion$1 = '202607091827';
1118
1118
 
1119
1119
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1120
1120
  // See LICENSE in the project root for license information.
@@ -5460,7 +5460,7 @@ class AuroHelpText extends i$2 {
5460
5460
  }
5461
5461
  }
5462
5462
 
5463
- var formkitVersion = '202607091826';
5463
+ var formkitVersion = '202607091827';
5464
5464
 
5465
5465
  let AuroElement$1 = class AuroElement extends i$2 {
5466
5466
  static get properties() {
@@ -1064,7 +1064,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
1064
1064
  }
1065
1065
  };
1066
1066
 
1067
- var formkitVersion$1 = '202607091826';
1067
+ var formkitVersion$1 = '202607091827';
1068
1068
 
1069
1069
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1070
1070
  // See LICENSE in the project root for license information.
@@ -5392,7 +5392,7 @@ class AuroHelpText extends LitElement {
5392
5392
  }
5393
5393
  }
5394
5394
 
5395
- var formkitVersion = '202607091826';
5395
+ var formkitVersion = '202607091827';
5396
5396
 
5397
5397
  let AuroElement$1 = class AuroElement extends LitElement {
5398
5398
  static get properties() {
@@ -1064,7 +1064,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
1064
1064
  }
1065
1065
  };
1066
1066
 
1067
- var formkitVersion$1 = '202607091826';
1067
+ var formkitVersion$1 = '202607091827';
1068
1068
 
1069
1069
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1070
1070
  // See LICENSE in the project root for license information.
@@ -5392,7 +5392,7 @@ class AuroHelpText extends LitElement {
5392
5392
  }
5393
5393
  }
5394
5394
 
5395
- var formkitVersion = '202607091826';
5395
+ var formkitVersion = '202607091827';
5396
5396
 
5397
5397
  let AuroElement$1 = class AuroElement extends LitElement {
5398
5398
  static get properties() {
@@ -13717,7 +13717,7 @@ class AuroBibtemplate extends i$1 {
13717
13717
  }
13718
13718
  }
13719
13719
 
13720
- var formkitVersion$2 = '202607091826';
13720
+ var formkitVersion$2 = '202607091827';
13721
13721
 
13722
13722
  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}
13723
13723
  `,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}}
@@ -19634,7 +19634,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$1 {
19634
19634
  }
19635
19635
  };
19636
19636
 
19637
- var formkitVersion$1 = '202607091826';
19637
+ var formkitVersion$1 = '202607091827';
19638
19638
 
19639
19639
  let AuroElement$2 = class AuroElement extends i$1 {
19640
19640
  static get properties() {
@@ -33259,7 +33259,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$1 {
33259
33259
  }
33260
33260
  };
33261
33261
 
33262
- var formkitVersion = '202607091826';
33262
+ var formkitVersion = '202607091827';
33263
33263
 
33264
33264
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
33265
33265
  // See LICENSE in the project root for license information.
@@ -138,7 +138,63 @@ This will create a new custom element `<custom-datepicker>` that behaves exactly
138
138
  <div class="accordion-content">
139
139
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../docs/partials/getting-started/react.md) -->
140
140
  <!-- The below content is automatically added from ./../docs/partials/getting-started/react.md -->
141
- The `<auro-datepicker>` custom element is compatible with React. See the auro-formkit README for general [React integration guidance](https://github.com/AuroDesignSystem/auro-formkit#react).
141
+ React 19 includes <auro-hyperlink href="https://react.dev/blog/2024/12/05/react-19#support-for-custom-elements">native support for custom elements</auro-hyperlink>, so <code>&lt;auro-datepicker&gt;</code> works directly in JSX without any wrapper library.
142
+
143
+ <auro-header level="3" id="reactImport">Import the Component</auro-header>
144
+ Import and register the component at the top level of your application (e.g. in your root `main.tsx` or `App.tsx`):
145
+
146
+ <pre class="language-js"><code class="language-js">import { AuroDatePicker } from '@aurodesignsystem/auro-formkit/auro-datepicker/class';
147
+
148
+ AuroDatePicker.register('[custom]-datepicker');</code></pre>
149
+
150
+ <auro-header level="3" id="reactTypeScript">TypeScript Declarations</auro-header>
151
+ The component ships with TypeScript type definitions for the `AuroDatePicker` class. However, React's JSX does not automatically map custom element tag names to their types. To get type checking for <code>&lt;auro-datepicker&gt;</code> in JSX, add the following declaration to a <code>.d.ts</code> file in your project:
152
+
153
+ <pre class="language-js"><code class="language-js">import type { AuroDatePicker } from '@aurodesignsystem/auro-formkit/auro-datepicker/class';
154
+
155
+ declare global {
156
+ namespace JSX {
157
+ interface IntrinsicElements {
158
+ '[custom]-datepicker': React.HTMLAttributes&lt;AuroDatePicker&gt; &amp; Partial&lt;AuroDatePicker&gt;;
159
+ }
160
+ }
161
+ }</code></pre>
162
+
163
+ <auro-header level="3" id="reactEvents">Event Handling</auro-header>
164
+ Auro components emit native <code>CustomEvent</code>s. Use a <code>ref</code> to attach event listeners in a <code>useEffect</code>:
165
+
166
+ <pre class="language-js"><code class="language-js">import { useRef, useEffect } from 'react';
167
+
168
+ function MyDatePicker() {
169
+ const datepickerRef = useRef&lt;HTMLElement&gt;(null);
170
+
171
+ useEffect(() =&gt; {
172
+ const el = datepickerRef.current;
173
+ if (!el) return;
174
+
175
+ const handleInput = () =&gt; {
176
+ console.log('Selected date:', (el as any).value);
177
+ };
178
+
179
+ el.addEventListener('input', handleInput);
180
+ return () =&gt; el.removeEventListener('input', handleInput);
181
+ }, []);
182
+
183
+ return (
184
+ &lt;custom-datepicker ref={datepickerRef}&gt;
185
+ &lt;span slot="fromLabel"&gt;Choose a date&lt;/span&gt;
186
+ &lt;/custom-datepicker&gt;
187
+ );
188
+ }</code></pre>
189
+
190
+ <auro-header level="3" id="reactModuleResolution">Module Resolution</auro-header>
191
+ Ensure your <code>tsconfig.json</code> uses <code>"moduleResolution": "bundler"</code> so TypeScript can resolve the component's package exports:
192
+
193
+ <pre class="language-js"><code class="language-js">{
194
+ "compilerOptions": {
195
+ "moduleResolution": "bundler"
196
+ }
197
+ }</code></pre>
142
198
  <!-- AURO-GENERATED-CONTENT:END -->
143
199
  </div>
144
200
  </auro-accordion>
@@ -147,7 +203,67 @@ The `<auro-datepicker>` custom element is compatible with React. See the auro-fo
147
203
  <div class="accordion-content">
148
204
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../docs/partials/getting-started/svelte.md) -->
149
205
  <!-- The below content is automatically added from ./../docs/partials/getting-started/svelte.md -->
150
- The `<auro-datepicker>` custom element is compatible with Svelte. See the auro-formkit README for general [Svelte integration guidance](https://github.com/AuroDesignSystem/auro-formkit#svelte).
206
+ Svelte has <auro-hyperlink href="https://svelte.dev/docs/svelte/custom-elements">native support for custom elements</auro-hyperlink>, so <code>&lt;auro-datepicker&gt;</code> works directly in Svelte templates without any wrapper or configuration.
207
+
208
+ <auro-header level="3" id="svelteImport">Import the Component</auro-header>
209
+ Import and register the component in the <code>&lt;script&gt;</code> block:
210
+
211
+ <pre class="language-html"><code class="language-html">&lt;script lang="ts"&gt;
212
+ import { AuroDatePicker } from '@aurodesignsystem/auro-formkit/auro-datepicker/class';
213
+
214
+ AuroDatePicker.register('[custom]-datepicker');
215
+ &lt;/script&gt;</code></pre>
216
+
217
+ <auro-header level="3" id="svelteUsage">Basic Usage</auro-header>
218
+ Use `<auro-datepicker>` directly in your Svelte template. Properties can be bound using standard Svelte attribute syntax:
219
+
220
+ <pre class="language-html"><code class="language-html">&lt;script lang="ts"&gt;
221
+ import { AuroDatePicker } from '@aurodesignsystem/auro-formkit/auro-datepicker/class';
222
+
223
+ AuroDatePicker.register('[custom]-datepicker');
224
+
225
+ let datepickerValue = $state&lt;string&gt;('');
226
+ &lt;/script&gt;
227
+ &lt;custom-datepicker value={datepickerValue}&gt;
228
+ &lt;span slot="fromLabel"&gt;Choose a date&lt;/span&gt;
229
+ &lt;/custom-datepicker&gt;</code></pre>
230
+
231
+ <auro-header level="3" id="svelteTypeScript">TypeScript Declarations</auro-header>
232
+ Svelte does not automatically know about custom element attributes. To get autocomplete and type checking for <code>&lt;auro-datepicker&gt;</code> props in templates, add the following to a <code>.d.ts</code> file in your project (e.g. <code>src/auro-elements.d.ts</code>):
233
+
234
+ <pre class="language-js"><code class="language-js">import type { AuroDatePicker } from '@aurodesignsystem/auro-formkit/auro-datepicker/class';
235
+
236
+ declare namespace svelteHTML {
237
+ interface IntrinsicElements {
238
+ '[custom]-datepicker': Partial&lt;AuroDatePicker&gt; &amp; svelteHTML.HTMLAttributes&lt;AuroDatePicker&gt;;
239
+ }
240
+ }</code></pre>
241
+
242
+ This enables prop hinting for attributes like <code>value</code>, <code>range</code>, <code>disabled</code>, and others directly in Svelte templates.
243
+
244
+ <auro-header level="3" id="svelteEvents">Event Handling</auro-header>
245
+ Auro components emit native `CustomEvent`s. Use the `oninput` handler directly on the element:
246
+
247
+ <pre class="language-html"><code class="language-html">&lt;script lang="ts"&gt;
248
+ let value = $state('');
249
+
250
+ function handleInput(e: Event) {
251
+ value = (e.target as HTMLElement &amp; { value: string }).value;
252
+ }
253
+ &lt;/script&gt;
254
+ &lt;custom-datepicker oninput={handleInput}&gt;
255
+ &lt;span slot="fromLabel"&gt;Choose a date&lt;/span&gt;
256
+ &lt;/custom-datepicker&gt;
257
+ &lt;p&gt;Selected: {value}&lt;/p&gt;</code></pre>
258
+
259
+ <auro-header level="3" id="svelteModuleResolution">Module Resolution</auro-header>
260
+ Ensure your <code>tsconfig.json</code> uses <code>"moduleResolution": "bundler"</code> so TypeScript can resolve the component's package exports:
261
+
262
+ <pre class="language-js"><code class="language-js">{
263
+ "compilerOptions": {
264
+ "moduleResolution": "bundler"
265
+ }
266
+ }</code></pre>
151
267
  <!-- AURO-GENERATED-CONTENT:END -->
152
268
  </div>
153
269
  </auro-accordion>