@aurodesignsystem-dev/auro-formkit 0.0.0-pr1474.4 → 0.0.0-pr1475.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 (83) hide show
  1. package/components/bibtemplate/dist/auro-bibtemplate.d.ts +7 -0
  2. package/components/bibtemplate/dist/index.js +9 -1
  3. package/components/bibtemplate/dist/registered.js +9 -1
  4. package/components/checkbox/demo/customize.html +2 -1
  5. package/components/checkbox/demo/customize.min.js +1 -1
  6. package/components/checkbox/demo/getting-started.min.js +1 -1
  7. package/components/checkbox/demo/index.min.js +1 -1
  8. package/components/checkbox/dist/index.js +1 -1
  9. package/components/checkbox/dist/registered.js +1 -1
  10. package/components/combobox/demo/customize.html +2 -1
  11. package/components/combobox/demo/customize.md +130 -106
  12. package/components/combobox/demo/customize.min.js +209 -16
  13. package/components/combobox/demo/getting-started.min.js +209 -16
  14. package/components/combobox/demo/index.min.js +209 -16
  15. package/components/combobox/dist/index.js +209 -16
  16. package/components/combobox/dist/registered.js +209 -16
  17. package/components/counter/demo/customize.min.js +208 -15
  18. package/components/counter/demo/index.min.js +208 -15
  19. package/components/counter/demo/keyboard-behavior.md +1 -0
  20. package/components/counter/dist/index.js +10 -2
  21. package/components/counter/dist/registered.js +10 -2
  22. package/components/datepicker/demo/accessibility.md +51 -3
  23. package/components/datepicker/demo/api.md +9 -0
  24. package/components/datepicker/demo/customize.html +2 -0
  25. package/components/datepicker/demo/customize.js +19 -0
  26. package/components/datepicker/demo/customize.md +72 -8
  27. package/components/datepicker/demo/customize.min.js +25690 -0
  28. package/components/datepicker/demo/design.md +3 -1
  29. package/components/datepicker/demo/index.js +2 -1
  30. package/components/datepicker/demo/index.md +81 -1
  31. package/components/datepicker/demo/index.min.js +1223 -101
  32. package/components/datepicker/demo/keyboard-behavior.md +201 -2
  33. package/components/datepicker/demo/voiceover.md +19 -12
  34. package/components/datepicker/dist/index.js +1155 -104
  35. package/components/datepicker/dist/registered.js +1155 -104
  36. package/components/datepicker/dist/src/auro-calendar-cell.d.ts +59 -0
  37. package/components/datepicker/dist/src/auro-calendar-month.d.ts +28 -0
  38. package/components/datepicker/dist/src/auro-calendar.d.ts +84 -0
  39. package/components/datepicker/dist/src/auro-datepicker.d.ts +80 -0
  40. package/components/datepicker/dist/src/datepickerKeyboardStrategy.d.ts +5 -3
  41. package/components/dropdown/demo/accessibility.md +11 -0
  42. package/components/dropdown/demo/api.md +1 -0
  43. package/components/dropdown/demo/customize.md +3 -0
  44. package/components/dropdown/demo/customize.min.js +198 -13
  45. package/components/dropdown/demo/getting-started.min.js +198 -13
  46. package/components/dropdown/demo/index.min.js +198 -13
  47. package/components/dropdown/demo/keyboard-behavior.md +1 -0
  48. package/components/dropdown/dist/auro-dropdown.d.ts +30 -1
  49. package/components/dropdown/dist/index.js +198 -13
  50. package/components/dropdown/dist/registered.js +198 -13
  51. package/components/form/demo/customize.html +6 -6
  52. package/components/form/demo/customize.js +0 -17
  53. package/components/form/demo/customize.md +51 -125
  54. package/components/form/demo/customize.min.js +1776 -327
  55. package/components/form/demo/getting-started.min.js +1776 -291
  56. package/components/form/demo/index.min.js +1776 -291
  57. package/components/form/demo/registerDemoDeps.min.js +1769 -139
  58. package/components/form/dist/auro-form.d.ts +5 -45
  59. package/components/form/dist/index.js +7 -152
  60. package/components/form/dist/registered.js +7 -152
  61. package/components/input/demo/customize.html +2 -1
  62. package/components/input/demo/customize.min.js +1 -1
  63. package/components/input/demo/getting-started.min.js +1 -1
  64. package/components/input/demo/index.min.js +1 -1
  65. package/components/input/dist/index.js +1 -1
  66. package/components/input/dist/registered.js +1 -1
  67. package/components/radio/demo/customize.min.js +2186 -0
  68. package/components/radio/demo/demo-support.min.js +55807 -0
  69. package/components/radio/demo/getting-started.js +1 -1
  70. package/components/radio/demo/getting-started.md +1 -1
  71. package/components/radio/demo/getting-started.min.js +2205 -0
  72. package/components/radio/demo/index.min.js +1 -1
  73. package/components/radio/dist/index.js +1 -1
  74. package/components/radio/dist/registered.js +1 -1
  75. package/components/select/demo/customize.html +2 -2
  76. package/components/select/demo/customize.min.js +208 -15
  77. package/components/select/demo/getting-started.min.js +208 -15
  78. package/components/select/demo/index.min.js +208 -15
  79. package/components/select/demo/keyboard-behavior.md +1 -0
  80. package/components/select/dist/index.js +208 -15
  81. package/components/select/dist/registered.js +208 -15
  82. package/custom-elements.json +703 -91
  83. package/package.json +2 -2
@@ -11,9 +11,208 @@
11
11
  <p>Each focusable element <em>(when shown)</em> participates in the browser window's default <code>tabindex</code> sequence.</p>
12
12
  <p>When the component is <code>disabled</code> it is removed from the <code>tabindex</code> sequence. VoiceOver's virtual cursor <em>(swipe navigation)</em> can still encounter the component, but standard keyboard <code>Tab</code> navigation skips it.</p>
13
13
  <div class="note">
14
- <p><strong>Note:</strong> The current implementation <strong>DOES</strong> support full interaction of the bib content and calendar with touch, click and VoiceOver interactions.</p>
15
- <p>The current implementation of the component <strong>DOES</strong> support using the keyboard to navigate the trigger and type dates via the keyboard. It <strong>DOES NOT</strong> support navigating the bib content and calendar via the keyboard. This functionality is scheduled to be added in the next major redesign of the component.</p>
14
+ <p><strong>Note:</strong> The datepicker supports full interaction via touch, click, VoiceOver, and keyboard. The trigger input accepts typed dates, and the calendar bib supports arrow-key navigation between date cells, Enter/Space to select, and Escape to close.</p>
16
15
  </div>
16
+ <auro-header level="3" id="keyEventsCounterGroup">Key Events</auro-header>
17
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../docs/partials/keyEvents.md) -->
18
+ <!-- The below content is automatically added from ./../docs/partials/keyEvents.md -->
19
+ <auro-header level="3" id="keyEvents-trigger">Trigger input</auro-header>
20
+ <table>
21
+ <thead>
22
+ <tr>
23
+ <th>Key</th>
24
+ <th>Modifier</th>
25
+ <th>Current State</th>
26
+ <th>Focus Element</th>
27
+ <th>Behavior</th>
28
+ </tr>
29
+ </thead>
30
+ <tbody>
31
+ <tr>
32
+ <td>Enter</td>
33
+ <td>-</td>
34
+ <td>Collapsed</td>
35
+ <td>Trigger input, <strong>NOT</strong> the input clear button</td>
36
+ <td>Opens the calendar bib. Focus moves to the active date cell inside the calendar grid. The Enter key behavior overrides the inherited <code>auro-dropdown</code> key behavior outlined below.</td>
37
+ </tr>
38
+ <tr>
39
+ <td>Space</td>
40
+ <td>-</td>
41
+ <td>Collapsed</td>
42
+ <td>Trigger input, <strong>NOT</strong> the input clear button</td>
43
+ <td>Opens the calendar bib. Focus moves to the active date cell inside the calendar grid. The Space key behavior overrides the inherited <code>auro-dropdown</code> key behavior outlined below.</td>
44
+ </tr>
45
+ </tbody>
46
+ </table>
47
+ <auro-header level="3" id="keyEvents-calendar">Calendar</auro-header>
48
+ <table>
49
+ <thead>
50
+ <tr>
51
+ <th>Key</th>
52
+ <th>Modifier</th>
53
+ <th>Current State</th>
54
+ <th>Focus Element</th>
55
+ <th>Behavior</th>
56
+ </tr>
57
+ </thead>
58
+ <tbody>
59
+ <tr>
60
+ <td rowspan="3">Enter</td>
61
+ <td rowspan="3">-</td>
62
+ <td rowspan="3">Expanded</td>
63
+ <td>Previous Month Button</td>
64
+ <td>Re-renders the calendar to show the previous month</td>
65
+ </tr>
66
+ <tr>
67
+ <td>Next Month Button</td>
68
+ <td>Re-renders the calendar to show the next month</td>
69
+ </tr>
70
+ <tr>
71
+ <td>Done button</td>
72
+ <td>Collapses the bib.</td>
73
+ </tr>
74
+ <tr>
75
+ <td rowspan="3">Space</td>
76
+ <td rowspan="3">-</td>
77
+ <td rowspan="3">Expanded</td>
78
+ <td>Previous Month Button</td>
79
+ <td>Re-renders the calendar to show the previous month</td>
80
+ </tr>
81
+ <tr>
82
+ <td>Next Month Button</td>
83
+ <td>Re-renders the calendar to show the next month</td>
84
+ </tr>
85
+ <tr>
86
+ <td>Done button</td>
87
+ <td>Collapses the bib.</td>
88
+ </tr>
89
+ </tbody>
90
+ </table>
91
+ <auro-header level="3" id="keyEvents-calendar">Calendar grid</auro-header>
92
+ <p>When the calendar bib is open, one date cell is the <em>active</em> cell (roving <code>tabindex="0"</code>). All other cells have <code>tabindex="-1"</code>. Arrow keys move the active cell without wrapping — when a boundary is reached the calendar navigates to the adjacent month.</p>
93
+ <table>
94
+ <thead>
95
+ <tr>
96
+ <th>Key</th>
97
+ <th>Modifier</th>
98
+ <th>Current State</th>
99
+ <th>Focus Element</th>
100
+ <th>Behavior</th>
101
+ </tr>
102
+ </thead>
103
+ <tbody>
104
+ <tr>
105
+ <td>ArrowRight</td>
106
+ <td>-</td>
107
+ <td>Expanded</td>
108
+ <td>Any date cell</td>
109
+ <td>Moves focus to the next day. If at the end of the month, navigates to the first focusable day of the next month.</td>
110
+ </tr>
111
+ <tr>
112
+ <td>ArrowLeft</td>
113
+ <td>-</td>
114
+ <td>Expanded</td>
115
+ <td>Any date cell</td>
116
+ <td>Moves focus to the previous day. If at the start of the month, navigates to the last focusable day of the previous month.</td>
117
+ </tr>
118
+ <tr>
119
+ <td>ArrowDown</td>
120
+ <td>-</td>
121
+ <td>Expanded</td>
122
+ <td>Any date cell</td>
123
+ <td>Moves focus to the same day of the week in the next week (+7 days). Navigates to the next month if needed.</td>
124
+ </tr>
125
+ <tr>
126
+ <td>ArrowUp</td>
127
+ <td>-</td>
128
+ <td>Expanded</td>
129
+ <td>Any date cell</td>
130
+ <td>Moves focus to the same day of the week in the previous week (−7 days). Navigates to the previous month if needed.</td>
131
+ </tr>
132
+ <tr>
133
+ <td>Enter / Space</td>
134
+ <td>-</td>
135
+ <td>Expanded</td>
136
+ <td>Any date cell</td>
137
+ <td>Selects the focused date. Blackout dates receive focus but cannot be selected.</td>
138
+ </tr>
139
+ <tr>
140
+ <td>Escape</td>
141
+ <td>-</td>
142
+ <td>Expanded</td>
143
+ <td>Any date cell</td>
144
+ <td>Closes the calendar bib and returns focus to the trigger input.</td>
145
+ </tr>
146
+ <tr>
147
+ <td>Tab</td>
148
+ <td>-</td>
149
+ <td>Expanded</td>
150
+ <td>Any date cell</td>
151
+ <td>Moves focus to the next focusable element outside the calendar grid (e.g., month navigation buttons or the close button in fullscreen mode).</td>
152
+ </tr>
153
+ </tbody>
154
+ </table>
155
+ <!-- AURO-GENERATED-CONTENT:END -->
156
+ <auro-header level="4" id="keyEventsDropdown">Key Events inherited from Auro-Dropdown</auro-header>
157
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../dropdown/docs/partials/keyEvents.md) -->
158
+ <!-- The below content is automatically added from ./../../dropdown/docs/partials/keyEvents.md -->
159
+ <table>
160
+ <thead>
161
+ <tr>
162
+ <th>Key</th>
163
+ <th>Modifier</th>
164
+ <th>Current State</th>
165
+ <th>Focus Element</th>
166
+ <th>Behavior</th>
167
+ </tr>
168
+ </thead>
169
+ <tbody>
170
+ <tr>
171
+ <td rowspan="2">Enter</td>
172
+ <td>-</td>
173
+ <td>Collapsed</td>
174
+ <td>
175
+ Trigger or any <strong>focusable</strong> element within the trigger.
176
+ </td>
177
+ <td>Opens the bib.</td>
178
+ </tr>
179
+ <tr>
180
+ <td>-</td>
181
+ <td>Expanded</td>
182
+ <td>
183
+ Trigger or any <strong>focusable</strong> element within the trigger.
184
+ </td>
185
+ <td>Closes the bib.</td>
186
+ </tr>
187
+ <tr>
188
+ <td>Escape</td>
189
+ <td>-</td>
190
+ <td>Expanded</td>
191
+ <td>
192
+ Component <code>:host</code> or any <strong>focusable</strong> element within the component.
193
+ </td>
194
+ <td>Closes the bib.</td>
195
+ </tr>
196
+ <tr>
197
+ <td rowspan="2">Space</td>
198
+ <td>-</td>
199
+ <td>Collapsed</td>
200
+ <td>
201
+ Trigger or any <strong>focusable</strong> element within the trigger.
202
+ </td>
203
+ <td>Opens the bib.</td>
204
+ </tr>
205
+ <tr>
206
+ <td>-</td>
207
+ <td>Expanded</td>
208
+ <td>
209
+ Trigger or any <strong>focusable</strong> element within the trigger.
210
+ </td>
211
+ <td>Closes the bib.</td>
212
+ </tr>
213
+ </tbody>
214
+ </table>
215
+ <!-- AURO-GENERATED-CONTENT:END -->
17
216
  </div>
18
217
  </div>
19
218
  </div>
@@ -37,12 +37,19 @@
37
37
  <auro-header level="3" id="voiceOverClearButton">Clear Button</auro-header>
38
38
  <p>When the clear button is focused, VoiceOver announces the <code>aria-label</code> from the <code>ariaLabel.input.clear</code> slot (or the default i18n text), followed by <em>"button"</em>.</p>
39
39
  <auro-header level="3" id="voiceOverCalendarNavigation">Calendar Navigation</auro-header>
40
- <p>When the calendar bib is open, users can navigate calendar cells using VoiceOver gestures (swipe left/right). Each cell announces:</p>
40
+ <p>When the calendar bib is open, users can navigate calendar cells using VoiceOver gestures (swipe left/right) or arrow keys. Each cell announces:</p>
41
41
  <ul>
42
- <li>The date (e.g. <em>"January 15, 2026"</em>)</li>
43
- <li>Whether the date is selected or within the selected range</li>
44
- <li>Whether the date is disabled (outside min/max bounds)</li>
45
- </ul>
42
+ <li>The full localized date (e.g. <em>"Wednesday, May 14, 2026"</em>)</li>
43
+ <li>Range position when in range mode (e.g. <em>", range start"</em>, <em>", in range"</em>, <em>", before range"</em>)</li>
44
+ <li><em>", unavailable"</em> for blackout dates (dates within the min/max range that are explicitly disabled)</li>
45
+ <li><em>"current date"</em> for today's date (via <code>aria-current="date"</code>)</li>
46
+ <li>Selection state: <em>"selected"</em> or not (via <code>aria-selected</code>)</li>
47
+ </ul>
48
+ <p>Out-of-range cells (outside min/max bounds) are completely hidden from VoiceOver with <code>aria-hidden="true"</code>.</p>
49
+ <auro-header level="3" id="voiceOverDateSelection">Date Selection</auro-header>
50
+ <p>When a date is selected, an <code>aria-live="assertive"</code> region announces the selected date (e.g. <em>"Wednesday, May 14, 2026"</em>). For range datepickers, both the start and end selections are announced.</p>
51
+ <auro-header level="3" id="voiceOverDialogName">Dialog Name</auro-header>
52
+ <p>The calendar dialog receives its accessible name from the <code>fromLabel</code> slot content. VoiceOver announces the dialog as e.g. <em>"Departure date, dialog"</em> when it opens.</p>
46
53
  <auro-header level="3" id="voiceOverCloseGesture">Close Gesture</auro-header>
47
54
  <p>The calendar bib may be <strong>closed</strong> using a gesture.</p>
48
55
  <ul>
@@ -60,22 +67,22 @@
60
67
  <p>Examples: large tablet, typical size or larger desktop browser window</p>
61
68
  <ol>
62
69
  <li><strong>Focus</strong> — Tab to the datepicker input.</li>
63
- <li><strong>Type a date</strong> — Enter a date value directly or click/tap to open the calendar.</li>
64
- <li><strong>Calendar opens</strong> — The dropdown bib opens with the calendar. Navigate dates with VoiceOver gestures.</li>
65
- <li><strong>Select a date</strong> — Activate a calendar cell to select the date. The calendar closes and the selected date populates the input.</li>
70
+ <li><strong>Type a date</strong> — Enter a date value directly, or press Enter/Space to open the calendar.</li>
71
+ <li><strong>Calendar opens</strong> — Focus moves to the active date cell inside the calendar grid. Navigate dates with VoiceOver gestures (swipe) or arrow keys.</li>
72
+ <li><strong>Select a date</strong> — Activate a calendar cell (double-tap with VoiceOver, or Enter/Space with keyboard) to select the date. The selected date is announced via a live region. For single datepickers, the calendar closes and the selected date populates the input.</li>
66
73
  </ol>
67
74
  <auro-header level="2" id="voiceOverSmallVPAnnouncements">Small Viewport Workflow</auro-header>
68
75
  <p>Examples: mobile phone, very small desktop browser window</p>
69
76
  <ol>
70
77
  <li><strong>Focus</strong> — Tab or swipe to the datepicker input.</li>
71
78
  <li>
72
- <strong>Open:</strong> Focus is moved to the fullscreen modal dialog <strong>Close</strong> button.
79
+ <strong>Open:</strong> The fullscreen modal dialog opens. VoiceOver announces the dialog name (e.g. <em>"Departure date, dialog"</em>). Focus is moved to the active date cell inside the calendar grid.
73
80
  </li>
74
- <li><strong>Navigate dates</strong> — Swipe through calendar cells.</li>
81
+ <li><strong>Navigate dates</strong> — Swipe through calendar cells or use arrow keys.</li>
75
82
  <li>
76
- <strong>Select a date:</strong> Closes the fullscreen modal dialog, the selected date populates the input.
83
+ <strong>Select a date:</strong> The selected date is announced via a live region. For single datepickers, the fullscreen modal closes and the selected date populates the input.
77
84
  <p>~OR~</p>
78
- <strong>Close without selecting:</strong> Closes the fullscreen modal dialog.
85
+ <strong>Close without selecting:</strong> Activate the close button, press Escape, or use the VoiceOver scrub gesture to close the fullscreen modal dialog.
79
86
  </li>
80
87
  </ol>
81
88
  <auro-header level="2" id="voiceOverStates">Impact of State</auro-header>