@aurodesignsystem-dev/auro-formkit 0.0.0-pr1480.1 → 0.0.0-pr1480.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.
Files changed (45) 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.min.js +3 -3
  7. package/components/combobox/demo/getting-started.min.js +3 -3
  8. package/components/combobox/demo/index.min.js +3 -3
  9. package/components/combobox/dist/index.js +3 -3
  10. package/components/combobox/dist/registered.js +3 -3
  11. package/components/counter/demo/customize.min.js +2 -2
  12. package/components/counter/demo/index.min.js +2 -2
  13. package/components/counter/dist/index.js +1 -1
  14. package/components/counter/dist/registered.js +1 -1
  15. package/components/datepicker/demo/customize.min.js +143 -42
  16. package/components/datepicker/demo/index.min.js +159 -47
  17. package/components/datepicker/dist/index.js +143 -42
  18. package/components/datepicker/dist/registered.js +143 -42
  19. package/components/datepicker/dist/src/auro-calendar.d.ts +48 -3
  20. package/components/dropdown/demo/customize.min.js +1 -1
  21. package/components/dropdown/demo/getting-started.min.js +1 -1
  22. package/components/dropdown/demo/index.min.js +1 -1
  23. package/components/dropdown/dist/index.js +1 -1
  24. package/components/dropdown/dist/registered.js +1 -1
  25. package/components/form/demo/customize.min.js +153 -52
  26. package/components/form/demo/getting-started.min.js +153 -52
  27. package/components/form/demo/index.min.js +153 -52
  28. package/components/form/demo/registerDemoDeps.min.js +153 -52
  29. package/components/input/demo/customize.min.js +1 -1
  30. package/components/input/demo/getting-started.min.js +1 -1
  31. package/components/input/demo/index.min.js +1 -1
  32. package/components/input/dist/index.js +1 -1
  33. package/components/input/dist/registered.js +1 -1
  34. package/components/radio/demo/customize.min.js +1 -1
  35. package/components/radio/demo/getting-started.min.js +1 -1
  36. package/components/radio/demo/index.min.js +1 -1
  37. package/components/radio/dist/index.js +1 -1
  38. package/components/radio/dist/registered.js +1 -1
  39. package/components/select/demo/customize.min.js +2 -2
  40. package/components/select/demo/getting-started.min.js +2 -2
  41. package/components/select/demo/index.min.js +2 -2
  42. package/components/select/dist/index.js +2 -2
  43. package/components/select/dist/registered.js +2 -2
  44. package/custom-elements.json +1768 -1696
  45. package/package.json +1 -1
@@ -129,6 +129,12 @@ export class AuroCalendar extends RangeDatepicker {
129
129
  * @private
130
130
  */
131
131
  private activeCellDate;
132
+ /**
133
+ * Whether the #calendarGrid wrapper currently has focus.
134
+ * Used to determine whether the visualFocus ring should be shown.
135
+ * @private
136
+ */
137
+ private _gridHasFocus;
132
138
  /**
133
139
  * @private
134
140
  */
@@ -154,6 +160,24 @@ export class AuroCalendar extends RangeDatepicker {
154
160
  */
155
161
  private buttonTag;
156
162
  dropdown: any;
163
+ /**
164
+ * Updates the month and year when the user navigates to the previous calendar month.
165
+ * @private
166
+ * @param {Object} [options] - Optional settings.
167
+ * @param {boolean} [options.skipActiveUpdate=false] - When true, skip the active cell
168
+ * recomputation. Used by arrow key handlers that manage the active cell themselves.
169
+ * @returns {void}
170
+ */
171
+ private handlePrevMonth;
172
+ /**
173
+ * Updates the month and year when the user navigates to the next calendar month.
174
+ * @private
175
+ * @param {Object} [options] - Optional settings.
176
+ * @param {boolean} [options.skipActiveUpdate=false] - When true, skip the active cell
177
+ * recomputation. Used by arrow key handlers that manage the active cell themselves.
178
+ * @returns {void}
179
+ */
180
+ private handleNextMonth;
157
181
  /**
158
182
  * Announces the current month and year via the live region after navigation.
159
183
  * @private
@@ -161,9 +185,9 @@ export class AuroCalendar extends RangeDatepicker {
161
185
  */
162
186
  private announceMonthChange;
163
187
  /**
164
- * Recomputes and sets the active cell for the newly visible month after
165
- * month navigation. Without this, activeCellDate can point at a date in
166
- * the old month, leaving no tabindex="0" cell in the grid.
188
+ * Updates the active cell after month navigation (prev/next buttons).
189
+ * Always moves the active cell to the first enabled date in the newly
190
+ * visible months so that tabbing back to the grid lands on an enabled cell.
167
191
  * @private
168
192
  * @returns {void}
169
193
  */
@@ -215,6 +239,18 @@ export class AuroCalendar extends RangeDatepicker {
215
239
  * @returns {void}
216
240
  */
217
241
  focusActiveCell(): void;
242
+ /**
243
+ * Shows the visualFocus ring on the active cell when the grid gains focus.
244
+ * @private
245
+ * @returns {void}
246
+ */
247
+ private handleGridFocusIn;
248
+ /**
249
+ * Hides the visualFocus ring on the active cell when the grid loses focus.
250
+ * @private
251
+ * @returns {void}
252
+ */
253
+ private handleGridFocusOut;
218
254
  /**
219
255
  * Computes the initial active date from data properties alone — no DOM required.
220
256
  * Priority:
@@ -236,6 +272,15 @@ export class AuroCalendar extends RangeDatepicker {
236
272
  * @returns {Number|undefined} Unix timestamp (seconds) of the date to activate, or undefined.
237
273
  */
238
274
  private computeActiveDate;
275
+ /**
276
+ * Checks if a target date (unix seconds) is within the configured [min, max] range.
277
+ * Returns false if the date falls outside the range, preventing navigation
278
+ * to months where all dates are disabled.
279
+ * @private
280
+ * @param {Number} targetTs - Unix timestamp in seconds.
281
+ * @returns {Boolean} True if the date is within range.
282
+ */
283
+ private isDateInRange;
239
284
  /**
240
285
  * Handles arrow key navigation on the calendar grid wrapper.
241
286
  * Focus stays on the grid wrapper; only ariaActiveDescendantElement
@@ -3942,7 +3942,7 @@ class AuroHelpText extends i {
3942
3942
  }
3943
3943
  }
3944
3944
 
3945
- var formkitVersion = '202605210326';
3945
+ var formkitVersion = '202605220004';
3946
3946
 
3947
3947
  class AuroElement extends i {
3948
3948
  static get properties() {
@@ -3942,7 +3942,7 @@ class AuroHelpText extends i {
3942
3942
  }
3943
3943
  }
3944
3944
 
3945
- var formkitVersion = '202605210326';
3945
+ var formkitVersion = '202605220004';
3946
3946
 
3947
3947
  class AuroElement extends i {
3948
3948
  static get properties() {
@@ -3969,7 +3969,7 @@ class AuroHelpText extends i {
3969
3969
  }
3970
3970
  }
3971
3971
 
3972
- var formkitVersion = '202605210326';
3972
+ var formkitVersion = '202605220004';
3973
3973
 
3974
3974
  class AuroElement extends i {
3975
3975
  static get properties() {
@@ -3874,7 +3874,7 @@ class AuroHelpText extends LitElement {
3874
3874
  }
3875
3875
  }
3876
3876
 
3877
- var formkitVersion = '202605210326';
3877
+ var formkitVersion = '202605220004';
3878
3878
 
3879
3879
  class AuroElement extends LitElement {
3880
3880
  static get properties() {
@@ -3874,7 +3874,7 @@ class AuroHelpText extends LitElement {
3874
3874
  }
3875
3875
  }
3876
3876
 
3877
- var formkitVersion = '202605210326';
3877
+ var formkitVersion = '202605220004';
3878
3878
 
3879
3879
  class AuroElement extends LitElement {
3880
3880
  static get properties() {