@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.
- package/components/checkbox/demo/customize.min.js +1 -1
- package/components/checkbox/demo/getting-started.min.js +1 -1
- 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/customize.min.js +3 -3
- package/components/combobox/demo/getting-started.min.js +3 -3
- package/components/combobox/demo/index.min.js +3 -3
- package/components/combobox/dist/index.js +3 -3
- package/components/combobox/dist/registered.js +3 -3
- package/components/counter/demo/customize.min.js +2 -2
- package/components/counter/demo/index.min.js +2 -2
- package/components/counter/dist/index.js +1 -1
- package/components/counter/dist/registered.js +1 -1
- package/components/datepicker/demo/customize.min.js +143 -42
- package/components/datepicker/demo/index.min.js +159 -47
- package/components/datepicker/dist/index.js +143 -42
- package/components/datepicker/dist/registered.js +143 -42
- package/components/datepicker/dist/src/auro-calendar.d.ts +48 -3
- package/components/dropdown/demo/customize.min.js +1 -1
- package/components/dropdown/demo/getting-started.min.js +1 -1
- package/components/dropdown/demo/index.min.js +1 -1
- package/components/dropdown/dist/index.js +1 -1
- package/components/dropdown/dist/registered.js +1 -1
- package/components/form/demo/customize.min.js +153 -52
- package/components/form/demo/getting-started.min.js +153 -52
- package/components/form/demo/index.min.js +153 -52
- package/components/form/demo/registerDemoDeps.min.js +153 -52
- package/components/input/demo/customize.min.js +1 -1
- package/components/input/demo/getting-started.min.js +1 -1
- package/components/input/demo/index.min.js +1 -1
- package/components/input/dist/index.js +1 -1
- package/components/input/dist/registered.js +1 -1
- package/components/radio/demo/customize.min.js +1 -1
- package/components/radio/demo/getting-started.min.js +1 -1
- 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/customize.min.js +2 -2
- package/components/select/demo/getting-started.min.js +2 -2
- package/components/select/demo/index.min.js +2 -2
- package/components/select/dist/index.js +2 -2
- package/components/select/dist/registered.js +2 -2
- package/custom-elements.json +1768 -1696
- 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
|
-
*
|
|
165
|
-
*
|
|
166
|
-
*
|
|
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
|