@aurodesignsystem-dev/auro-formkit 0.0.0-pr1492.5 → 0.0.0-pr1493.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/bibtemplate/dist/auro-bibtemplate.d.ts +7 -0
- package/components/bibtemplate/dist/index.js +9 -1
- package/components/bibtemplate/dist/registered.js +9 -1
- package/components/checkbox/demo/css-only.html +57 -0
- package/components/checkbox/demo/css-only.md +146 -0
- package/components/checkbox/demo/customize.min.js +2 -2
- package/components/checkbox/demo/getting-started.min.js +2 -2
- package/components/checkbox/demo/index.min.js +2 -2
- package/components/checkbox/demo/pages.json +1 -1
- package/components/checkbox/demo/styles.min.css +1 -1
- package/components/checkbox/demo/why-checkbox.html +57 -0
- package/components/checkbox/demo/why-checkbox.md +86 -0
- package/components/checkbox/dist/index.js +2 -2
- package/components/checkbox/dist/registered.js +2 -2
- package/components/combobox/demo/css-only.html +57 -0
- package/components/combobox/demo/css-only.md +209 -0
- package/components/combobox/demo/customize.md +7 -3
- package/components/combobox/demo/customize.min.js +1846 -1804
- package/components/combobox/demo/getting-started.min.js +1846 -1804
- package/components/combobox/demo/index.min.js +1846 -1804
- package/components/combobox/demo/pages.json +1 -1
- package/components/combobox/demo/styles.min.css +1 -1
- package/components/combobox/demo/why-combobox.html +57 -0
- package/components/combobox/demo/why-combobox.md +113 -0
- package/components/combobox/dist/auro-combobox.d.ts +5 -0
- package/components/combobox/dist/index.js +796 -179
- package/components/combobox/dist/registered.js +796 -179
- package/components/counter/demo/css-only.html +57 -0
- package/components/counter/demo/css-only.md +184 -0
- package/components/counter/demo/customize.min.js +276 -16
- package/components/counter/demo/index.min.js +276 -16
- package/components/counter/demo/keyboard-behavior.md +1 -0
- package/components/counter/demo/pages.json +1 -1
- package/components/counter/demo/styles.min.css +1 -1
- package/components/counter/demo/why-counter.html +57 -0
- package/components/counter/demo/why-counter.md +108 -0
- package/components/counter/dist/index.js +5457 -193
- package/components/counter/dist/registered.js +5457 -193
- package/components/datepicker/demo/accessibility.md +54 -3
- package/components/datepicker/demo/api.md +65 -55
- package/components/datepicker/demo/css-only.html +57 -0
- package/components/datepicker/demo/css-only.md +151 -0
- package/components/datepicker/demo/customize.html +2 -0
- package/components/datepicker/demo/customize.js +19 -0
- package/components/datepicker/demo/customize.md +474 -298
- package/components/datepicker/demo/customize.min.js +36243 -0
- package/components/datepicker/demo/design.md +5 -3
- package/components/datepicker/demo/getting-started.md +6 -6
- package/components/datepicker/demo/index.js +5 -1
- package/components/datepicker/demo/index.md +113 -16
- package/components/datepicker/demo/index.min.js +2735 -396
- package/components/datepicker/demo/keyboard-behavior.md +201 -2
- package/components/datepicker/demo/pages.json +1 -1
- package/components/datepicker/demo/styles.min.css +1 -1
- package/components/datepicker/demo/voiceover.md +21 -12
- package/components/datepicker/demo/why-datepicker.html +57 -0
- package/components/datepicker/demo/why-datepicker.md +133 -0
- package/components/datepicker/dist/index.js +2649 -397
- package/components/datepicker/dist/registered.js +2649 -397
- package/components/datepicker/dist/src/auro-calendar-cell.d.ts +116 -14
- package/components/datepicker/dist/src/auro-calendar-month.d.ts +54 -1
- package/components/datepicker/dist/src/auro-calendar.d.ts +264 -0
- package/components/datepicker/dist/src/auro-datepicker.d.ts +189 -53
- package/components/datepicker/dist/src/datepickerKeyboardStrategy.d.ts +5 -3
- package/components/datepicker/dist/src/utilities.d.ts +0 -14
- package/components/dropdown/demo/accessibility.md +11 -0
- package/components/dropdown/demo/api.md +1 -0
- package/components/dropdown/demo/css-only.html +57 -0
- package/components/dropdown/demo/css-only.md +219 -0
- package/components/dropdown/demo/customize.md +3 -0
- package/components/dropdown/demo/customize.min.js +265 -13
- package/components/dropdown/demo/getting-started.min.js +265 -13
- package/components/dropdown/demo/index.min.js +265 -13
- package/components/dropdown/demo/keyboard-behavior.md +1 -0
- package/components/dropdown/demo/pages.json +1 -1
- package/components/dropdown/demo/styles.min.css +1 -1
- package/components/dropdown/demo/why-dropdown.html +57 -0
- package/components/dropdown/demo/why-dropdown.md +97 -0
- package/components/dropdown/dist/auro-dropdown.d.ts +36 -1
- package/components/dropdown/dist/index.js +265 -13
- package/components/dropdown/dist/registered.js +265 -13
- package/components/form/demo/css-only.html +57 -0
- package/components/form/demo/css-only.md +156 -0
- package/components/form/demo/customize.min.js +11084 -8072
- package/components/form/demo/getting-started.min.js +11084 -8072
- package/components/form/demo/index.min.js +11084 -8072
- package/components/form/demo/pages.json +1 -1
- package/components/form/demo/registerDemoDeps.min.js +11083 -8071
- package/components/form/demo/styles.min.css +1 -1
- package/components/form/demo/why-form.html +57 -0
- package/components/form/demo/why-form.md +101 -0
- package/components/input/demo/css-only.html +57 -0
- package/components/input/demo/css-only.md +199 -0
- package/components/input/demo/customize.md +625 -636
- package/components/input/demo/customize.min.js +150 -75
- package/components/input/demo/getting-started.md +16 -6
- package/components/input/demo/getting-started.min.js +150 -75
- package/components/input/demo/index.min.js +150 -75
- package/components/input/demo/pages.json +1 -1
- package/components/input/demo/styles.min.css +1 -1
- package/components/input/demo/why-input.html +57 -0
- package/components/input/demo/why-input.md +121 -0
- package/components/input/dist/auro-input-util.d.ts +1 -1
- package/components/input/dist/base-input.d.ts +16 -0
- package/components/input/dist/index.js +150 -75
- package/components/input/dist/registered.js +150 -75
- package/components/input/dist/utilities.d.ts +1 -2
- package/components/menu/demo/api.md +41 -45
- package/components/menu/demo/css-only.html +57 -0
- package/components/menu/demo/css-only.md +166 -0
- package/components/menu/demo/customize.md +0 -28
- package/components/menu/demo/index.min.js +779 -1354
- package/components/menu/demo/pages.json +1 -1
- package/components/menu/demo/styles.min.css +1 -1
- package/components/menu/demo/why-menu.html +57 -0
- package/components/menu/demo/why-menu.md +104 -0
- package/components/menu/dist/auro-menu.d.ts +95 -110
- package/components/menu/dist/auro-menuoption.d.ts +32 -138
- package/components/menu/dist/index.js +753 -1308
- package/components/menu/dist/registered.js +765 -1308
- package/components/radio/demo/css-only.html +57 -0
- package/components/radio/demo/css-only.md +151 -0
- package/components/radio/demo/customize.min.js +1764 -0
- package/components/radio/demo/demo-support.min.js +55807 -0
- package/components/radio/demo/getting-started.js +1 -1
- package/components/radio/demo/getting-started.md +1 -1
- package/components/radio/demo/getting-started.min.js +1783 -0
- package/components/radio/demo/index.min.js +2 -2
- package/components/radio/demo/pages.json +1 -1
- package/components/radio/demo/styles.min.css +1 -1
- package/components/radio/demo/why-radio.html +57 -0
- package/components/radio/demo/why-radio.md +92 -0
- package/components/radio/dist/index.js +2 -2
- package/components/radio/dist/registered.js +2 -2
- package/components/select/demo/api.md +1 -0
- package/components/select/demo/css-only.html +57 -0
- package/components/select/demo/css-only.md +203 -0
- package/components/select/demo/customize.md +78 -3
- package/components/select/demo/customize.min.js +1341 -1533
- package/components/select/demo/getting-started.min.js +1341 -1533
- package/components/select/demo/index.min.js +1341 -1533
- package/components/select/demo/keyboard-behavior.md +19 -0
- package/components/select/demo/pages.json +1 -1
- package/components/select/demo/styles.min.css +1 -1
- package/components/select/demo/why-select.html +57 -0
- package/components/select/demo/why-select.md +128 -0
- package/components/select/dist/auro-select.d.ts +38 -2
- package/components/select/dist/index.js +435 -52
- package/components/select/dist/registered.js +435 -52
- package/components/select/dist/selectUtils.d.ts +12 -0
- package/custom-elements.json +4206 -3708
- package/package.json +8 -8
- package/components/menu/dist/auro-menu.context.d.ts +0 -238
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
<auro-anchorlink fluid href="#cssParts" class="level2 body-xs">CSS Shadow Parts</auro-anchorlink>
|
|
23
23
|
<auro-anchorlink fluid href="#customBehavior">Behavior</auro-anchorlink>
|
|
24
24
|
<auro-anchorlink fluid href="#autoComplete" class="level2 body-xs">Autocomplete</auro-anchorlink>
|
|
25
|
+
<auro-anchorlink fluid href="#typeAhead" class="level2 body-xs">Type-Ahead</auro-anchorlink>
|
|
25
26
|
<auro-anchorlink fluid href="#disableComponent" class="level2 body-xs">Disable Component</auro-anchorlink>
|
|
26
27
|
<auro-anchorlink fluid href="#disableOptions" class="level2 body-xs">Disable Option(s)</auro-anchorlink>
|
|
27
28
|
<auro-anchorlink fluid href="#requireSelection" class="level2 body-xs">Require Selection</auro-anchorlink>
|
|
@@ -660,9 +661,11 @@
|
|
|
660
661
|
<auro-select class="css-parts-demo">
|
|
661
662
|
<span slot="label">CSS Parts Example</span>
|
|
662
663
|
<span slot="helpText">This select has custom styles applied via CSS Shadow Parts.</span>
|
|
664
|
+
<auro-menu>
|
|
663
665
|
<auro-menuoption value="one">Option One</auro-menuoption>
|
|
664
666
|
<auro-menuoption value="two">Option Two</auro-menuoption>
|
|
665
667
|
<auro-menuoption value="three">Option Three</auro-menuoption>
|
|
668
|
+
</auro-menu>
|
|
666
669
|
</auro-select>
|
|
667
670
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
668
671
|
</div>
|
|
@@ -687,9 +690,11 @@
|
|
|
687
690
|
<auro-select class="css-parts-demo">
|
|
688
691
|
<span slot="label">CSS Parts Example</span>
|
|
689
692
|
<span slot="helpText">This select has custom styles applied via CSS Shadow Parts.</span>
|
|
690
|
-
<auro-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
+
<auro-menu>
|
|
694
|
+
<auro-menuoption value="one">Option One</auro-menuoption>
|
|
695
|
+
<auro-menuoption value="two">Option Two</auro-menuoption>
|
|
696
|
+
<auro-menuoption value="three">Option Three</auro-menuoption>
|
|
697
|
+
</auro-menu>
|
|
693
698
|
</auro-select></code></pre>
|
|
694
699
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
695
700
|
</auro-accordion>
|
|
@@ -745,6 +750,76 @@
|
|
|
745
750
|
</form></code></pre>
|
|
746
751
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
747
752
|
</auro-accordion>
|
|
753
|
+
<auro-header level="3" id="typeAhead">Type-Ahead</auro-header>
|
|
754
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../docs/partials/customize/typeahead.md) -->
|
|
755
|
+
<!-- The below content is automatically added from ./../docs/partials/customize/typeahead.md -->
|
|
756
|
+
<p>Type-ahead lets a guest jump to an option by typing. As keys are pressed, the active option advances to the first enabled option whose <strong>displayed text</strong> starts with the buffered keystrokes — following the <auro-hyperlink href="https://www.w3.org/WAI/ARIA/apg/patterns/listbox/">WAI-ARIA Listbox pattern</auro-hyperlink>, and mirroring native HTML <code><select></code> behavior. Matching uses the rendered text rather than the <code>value</code> attribute.</p>
|
|
757
|
+
<p>The <code>typeaheadTimeoutMs</code> attribute (default <code>500</code>) controls how long the buffer persists between keystrokes. Repeating the same character cycles through every enabled option starting with it; disabled options are skipped.</p>
|
|
758
|
+
<div class="note">
|
|
759
|
+
<strong>Note:</strong> The <kbd>Space</kbd> key is context-sensitive. When the type-ahead buffer is empty it toggles the bib open or closed, matching the rest of <code><auro-select></code>. When the buffer is active it extends the buffer instead, so multi-word options such as "San Francisco" can be matched by typing <kbd>s</kbd>, <kbd>a</kbd>, <kbd>n</kbd>, <kbd>Space</kbd>, <kbd>f</kbd>.
|
|
760
|
+
</div>
|
|
761
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
762
|
+
<div class="exampleWrapper">
|
|
763
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/typeahead.html) -->
|
|
764
|
+
<!-- The below content is automatically added from ./../apiExamples/typeahead.html -->
|
|
765
|
+
<auro-select>
|
|
766
|
+
<span slot="ariaLabel.bib.close">Close Popup</span>
|
|
767
|
+
<span slot="bib.fullscreen.headline">Airport</span>
|
|
768
|
+
<span slot="label">Destination airport</span>
|
|
769
|
+
<auro-menu>
|
|
770
|
+
<auro-menuoption value="ANC">Anchorage</auro-menuoption>
|
|
771
|
+
<auro-menuoption value="ATL">Atlanta</auro-menuoption>
|
|
772
|
+
<auro-menuoption value="AUS">Austin</auro-menuoption>
|
|
773
|
+
<auro-menuoption value="BOS">Boston</auro-menuoption>
|
|
774
|
+
<auro-menuoption value="DEN">Denver</auro-menuoption>
|
|
775
|
+
<auro-menuoption value="DFW" disabled>Dallas/Fort Worth</auro-menuoption>
|
|
776
|
+
<auro-menuoption value="DTW">Detroit</auro-menuoption>
|
|
777
|
+
<auro-menuoption value="HNL">Honolulu</auro-menuoption>
|
|
778
|
+
<auro-menuoption value="LAX">Los Angeles</auro-menuoption>
|
|
779
|
+
<auro-menuoption value="MIA">Miami</auro-menuoption>
|
|
780
|
+
<auro-menuoption value="ORD">Chicago</auro-menuoption>
|
|
781
|
+
<auro-menuoption value="PDX">Portland</auro-menuoption>
|
|
782
|
+
<auro-menuoption value="PHX">Phoenix</auro-menuoption>
|
|
783
|
+
<auro-menuoption value="SAN">San Diego</auro-menuoption>
|
|
784
|
+
<auro-menuoption value="SEA">Seattle</auro-menuoption>
|
|
785
|
+
<auro-menuoption value="SFO">San Francisco</auro-menuoption>
|
|
786
|
+
<auro-menuoption value="SJC" disabled>San Jose</auro-menuoption>
|
|
787
|
+
<auro-menuoption value="SLC">Salt Lake City</auro-menuoption>
|
|
788
|
+
</auro-menu>
|
|
789
|
+
</auro-select>
|
|
790
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
791
|
+
</div>
|
|
792
|
+
<auro-accordion alignRight>
|
|
793
|
+
<span slot="trigger">See code</span>
|
|
794
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/typeahead.html) -->
|
|
795
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/typeahead.html -->
|
|
796
|
+
<pre class="language-html"><code class="language-html"><auro-select>
|
|
797
|
+
<span slot="ariaLabel.bib.close">Close Popup</span>
|
|
798
|
+
<span slot="bib.fullscreen.headline">Airport</span>
|
|
799
|
+
<span slot="label">Destination airport</span>
|
|
800
|
+
<auro-menu>
|
|
801
|
+
<auro-menuoption value="ANC">Anchorage</auro-menuoption>
|
|
802
|
+
<auro-menuoption value="ATL">Atlanta</auro-menuoption>
|
|
803
|
+
<auro-menuoption value="AUS">Austin</auro-menuoption>
|
|
804
|
+
<auro-menuoption value="BOS">Boston</auro-menuoption>
|
|
805
|
+
<auro-menuoption value="DEN">Denver</auro-menuoption>
|
|
806
|
+
<auro-menuoption value="DFW" disabled>Dallas/Fort Worth</auro-menuoption>
|
|
807
|
+
<auro-menuoption value="DTW">Detroit</auro-menuoption>
|
|
808
|
+
<auro-menuoption value="HNL">Honolulu</auro-menuoption>
|
|
809
|
+
<auro-menuoption value="LAX">Los Angeles</auro-menuoption>
|
|
810
|
+
<auro-menuoption value="MIA">Miami</auro-menuoption>
|
|
811
|
+
<auro-menuoption value="ORD">Chicago</auro-menuoption>
|
|
812
|
+
<auro-menuoption value="PDX">Portland</auro-menuoption>
|
|
813
|
+
<auro-menuoption value="PHX">Phoenix</auro-menuoption>
|
|
814
|
+
<auro-menuoption value="SAN">San Diego</auro-menuoption>
|
|
815
|
+
<auro-menuoption value="SEA">Seattle</auro-menuoption>
|
|
816
|
+
<auro-menuoption value="SFO">San Francisco</auro-menuoption>
|
|
817
|
+
<auro-menuoption value="SJC" disabled>San Jose</auro-menuoption>
|
|
818
|
+
<auro-menuoption value="SLC">Salt Lake City</auro-menuoption>
|
|
819
|
+
</auro-menu>
|
|
820
|
+
</auro-select></code></pre>
|
|
821
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
822
|
+
</auro-accordion>
|
|
748
823
|
<auro-header level="3" id="disableComponent">Disable Component</auro-header>
|
|
749
824
|
<p>The entire component may be disabled. When disabled, the component will render to reflect the state, may not receive focus nor react to any key or pointer events.</p>
|
|
750
825
|
<p>When the component is disabled and part of a form, the components value is still included in the form submission.</p>
|