@aurodesignsystem-dev/auro-formkit 0.0.0-pr1594.2 → 0.0.0-pr1595.1

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 +11 -0
  2. package/components/bibtemplate/dist/index.js +13 -0
  3. package/components/bibtemplate/dist/registered.js +13 -0
  4. package/components/checkbox/demo/api.md +17 -11
  5. package/components/checkbox/demo/customize.min.js +23 -6
  6. package/components/checkbox/demo/getting-started.min.js +23 -6
  7. package/components/checkbox/demo/index.min.js +23 -6
  8. package/components/checkbox/dist/auro-checkbox-group.d.ts +8 -0
  9. package/components/checkbox/dist/auro-checkbox.d.ts +4 -0
  10. package/components/checkbox/dist/index.js +23 -6
  11. package/components/checkbox/dist/registered.js +23 -6
  12. package/components/combobox/demo/api.md +26 -18
  13. package/components/combobox/demo/customize.min.js +426 -126
  14. package/components/combobox/demo/getting-started.min.js +426 -126
  15. package/components/combobox/demo/index.min.js +426 -126
  16. package/components/combobox/dist/auro-combobox.d.ts +38 -21
  17. package/components/combobox/dist/index.js +338 -111
  18. package/components/combobox/dist/registered.js +338 -111
  19. package/components/counter/demo/api.md +34 -16
  20. package/components/counter/demo/customize.min.js +204 -64
  21. package/components/counter/demo/index.min.js +204 -64
  22. package/components/counter/dist/auro-counter-button.d.ts +4 -0
  23. package/components/counter/dist/auro-counter-group.d.ts +27 -4
  24. package/components/counter/dist/auro-counter.d.ts +7 -0
  25. package/components/counter/dist/index.js +204 -64
  26. package/components/counter/dist/registered.js +204 -64
  27. package/components/datepicker/demo/api.md +55 -49
  28. package/components/datepicker/demo/customize.min.js +515 -134
  29. package/components/datepicker/demo/index.min.js +515 -134
  30. package/components/datepicker/dist/auro-calendar-cell.d.ts +58 -4
  31. package/components/datepicker/dist/auro-calendar-month.d.ts +10 -4
  32. package/components/datepicker/dist/auro-calendar.d.ts +25 -6
  33. package/components/datepicker/dist/auro-datepicker.d.ts +70 -22
  34. package/components/datepicker/dist/index.js +515 -134
  35. package/components/datepicker/dist/registered.js +515 -134
  36. package/components/dropdown/demo/api.md +25 -22
  37. package/components/dropdown/demo/customize.min.js +107 -37
  38. package/components/dropdown/demo/getting-started.min.js +245 -82
  39. package/components/dropdown/demo/index.min.js +107 -37
  40. package/components/dropdown/dist/auro-dropdown.d.ts +34 -8
  41. package/components/dropdown/dist/auro-dropdownBib.d.ts +17 -5
  42. package/components/dropdown/dist/index.js +107 -37
  43. package/components/dropdown/dist/registered.js +107 -37
  44. package/components/form/demo/customize.min.js +1518 -466
  45. package/components/form/demo/getting-started.min.js +1518 -466
  46. package/components/form/demo/index.min.js +1518 -466
  47. package/components/form/demo/registerDemoDeps.min.js +1518 -466
  48. package/components/helptext/dist/auro-helptext.d.ts +8 -7
  49. package/components/helptext/dist/index.js +7 -2
  50. package/components/helptext/dist/registered.js +7 -2
  51. package/components/input/demo/api.md +30 -30
  52. package/components/input/demo/customize.min.js +138 -45
  53. package/components/input/demo/getting-started.min.js +138 -45
  54. package/components/input/demo/index.min.js +138 -45
  55. package/components/input/dist/base-input.d.ts +79 -25
  56. package/components/input/dist/index.js +138 -45
  57. package/components/input/dist/registered.js +138 -45
  58. package/components/layoutElement/dist/auroElement.d.ts +10 -17
  59. package/components/layoutElement/dist/index.js +20 -20
  60. package/components/layoutElement/dist/registered.js +20 -20
  61. package/components/menu/demo/api.md +31 -27
  62. package/components/menu/demo/index.min.js +108 -35
  63. package/components/menu/dist/auro-menu.d.ts +26 -21
  64. package/components/menu/dist/auro-menuoption.d.ts +27 -1
  65. package/components/menu/dist/index.js +108 -35
  66. package/components/menu/dist/registered.js +108 -35
  67. package/components/radio/demo/api.md +8 -7
  68. package/components/radio/demo/customize.min.js +21 -7
  69. package/components/radio/demo/getting-started.min.js +21 -7
  70. package/components/radio/demo/index.min.js +21 -7
  71. package/components/radio/dist/auro-radio-group.d.ts +8 -3
  72. package/components/radio/dist/auro-radio.d.ts +1 -0
  73. package/components/radio/dist/index.js +21 -7
  74. package/components/radio/dist/registered.js +21 -7
  75. package/components/select/demo/api.md +18 -15
  76. package/components/select/demo/customize.min.js +259 -79
  77. package/components/select/demo/getting-started.min.js +259 -79
  78. package/components/select/demo/index.min.js +259 -79
  79. package/components/select/dist/auro-select.d.ts +17 -0
  80. package/components/select/dist/index.js +171 -64
  81. package/components/select/dist/registered.js +171 -64
  82. package/custom-elements.json +1189 -1336
  83. package/package.json +1 -1
@@ -1,55 +1,108 @@
1
+ /**
2
+ * The `auro-calendar-cell` component renders a single selectable day button within a calendar month grid.
3
+ *
4
+ * @event calendar-cell-activate - Notifies that this cell has been activated via click or tap.
5
+ * @event date-is-hovered - Notifies that this cell's date is being hovered.
6
+ * @event calendar-cell-focused - Notifies that this cell's button has received focus.
7
+ * @csspart dateSlot - Use for customizing the style of the date slot content container.
8
+ */
1
9
  export class AuroCalendarCell extends LitElement {
2
10
  static get properties(): {
11
+ /**
12
+ * The day object for this cell, containing its Unix timestamp (`date`) and day-of-month title.
13
+ */
3
14
  day: {
4
15
  type: ObjectConstructor;
5
16
  };
17
+ /**
18
+ * Whether this cell's date is currently selected.
19
+ */
6
20
  selected: {
7
21
  type: BooleanConstructor;
8
22
  };
23
+ /**
24
+ * The end (return) date of the selected range as a Unix-timestamp string.
25
+ */
9
26
  dateTo: {
10
27
  type: StringConstructor;
28
+ attribute: string;
11
29
  };
30
+ /**
31
+ * The start (depart) date of the selected range as a Unix-timestamp string.
32
+ */
12
33
  dateFrom: {
13
34
  type: StringConstructor;
35
+ attribute: string;
14
36
  };
37
+ /**
38
+ * The month this cell belongs to.
39
+ */
15
40
  month: {
16
41
  type: StringConstructor;
17
42
  };
43
+ /**
44
+ * The minimum selectable date as a Unix timestamp.
45
+ */
18
46
  min: {
19
47
  type: NumberConstructor;
20
48
  };
49
+ /**
50
+ * The maximum selectable date as a Unix timestamp.
51
+ */
21
52
  max: {
22
53
  type: NumberConstructor;
23
54
  };
55
+ /**
56
+ * Whether this cell is disabled because its date falls outside the min/max range.
57
+ */
24
58
  disabled: {
25
59
  type: BooleanConstructor;
26
60
  reflect: boolean;
27
61
  };
28
62
  /**
63
+ * Legacy array of Unix-timestamp dates that cannot be selected.
29
64
  * @deprecated Propagated from the legacy `auro-calendar.disabledDays`
30
65
  * Unix-timestamp array. The cell honors it for backward compatibility
31
66
  * (see the divergence-check fallback inside `isBlackout`), but
32
67
  * consumers should migrate to `auro-datepicker.blackoutDates`
33
68
  * (YYYY-MM-DD ISO strings). The calendar emits a one-time
34
69
  * deprecation warning the first time a non-empty value is observed.
70
+ * @type {number[]}
71
+ */
72
+ disabledDays: number[];
73
+ /**
74
+ * Whether this cell represents the current date (today).
35
75
  */
36
- disabledDays: {
37
- type: ArrayConstructor;
38
- };
39
76
  isCurrentDate: {
40
77
  type: BooleanConstructor;
78
+ attribute: string;
41
79
  };
80
+ /**
81
+ * The BCP 47 locale tag used to format the cell's date.
82
+ */
42
83
  locale: {
43
84
  type: StringConstructor;
44
85
  };
86
+ /**
87
+ * The cell's date formatted as a `YYYY_MM_DD` slot-name string.
88
+ */
45
89
  dateStr: {
46
90
  type: StringConstructor;
91
+ attribute: string;
47
92
  };
93
+ /**
94
+ * Whether to render the numerical date off-center to leave room below for date slot content.
95
+ */
48
96
  renderForDateSlot: {
49
97
  type: BooleanConstructor;
98
+ attribute: string;
50
99
  };
100
+ /**
101
+ * Whether this cell has popover slot content to display.
102
+ */
51
103
  hasPopoverContent: {
52
104
  type: BooleanConstructor;
105
+ attribute: string;
53
106
  };
54
107
  };
55
108
  static get styles(): import("lit").CSSResult[];
@@ -61,7 +114,8 @@ export class AuroCalendarCell extends LitElement {
61
114
  min: any;
62
115
  max: any;
63
116
  disabled: boolean;
64
- disabledDays: any[];
117
+ /** @type {number[]} */
118
+ disabledDays: number[];
65
119
  isCurrentDate: boolean;
66
120
  _locale: any;
67
121
  dateStr: string | null;
@@ -1,11 +1,17 @@
1
+ /**
2
+ * The `auro-calendar-month` component renders a single localized month grid of selectable day cells within the calendar.
3
+ * @event hovered-date-changed - Notifies that the date currently hovered within the month grid has changed.
4
+ * @event calendar-month-mouseleave - Notifies that the mouse has left the month's date grid so the range hover preview can be cleared.
5
+ */
1
6
  export class AuroCalendarMonth extends RangeDatepickerCalendar {
2
7
  static get styles(): import("lit").CSSResult[];
3
8
  static get properties(): {
4
9
  /**
5
- * @private
10
+ * When set, the month name is displayed before the year in the header.
6
11
  */
7
12
  monthFirst: {
8
13
  type: BooleanConstructor;
14
+ attribute: string;
9
15
  reflect: boolean;
10
16
  };
11
17
  /**
@@ -14,13 +20,13 @@ export class AuroCalendarMonth extends RangeDatepickerCalendar {
14
20
  */
15
21
  localeCode: {
16
22
  type: StringConstructor;
23
+ attribute: string;
17
24
  };
18
25
  /**
19
26
  * Names of all 12 months. When omitted, names are derived from `localeCode`.
27
+ * @type {string[]}
20
28
  */
21
- monthNames: {
22
- type: ArrayConstructor;
23
- };
29
+ monthNames: string[];
24
30
  };
25
31
  /**
26
32
  * Returns month name to be rendered in the calendar header.
@@ -1,6 +1,8 @@
1
1
  /**
2
+ * The `auro-calendar` component renders the calendar month(s) shown inside the datepicker dropdown and manages date selection, range preview, and keyboard navigation.
2
3
  * @event auroCalendar-dateSelected - Notifies that a date has been selected in the calendar.
3
4
  * @event auroCalendar-monthChanged - Notifies that the visible calendar month(s) have changed.
5
+ * @event narrow-changedProperties - Notifies that the calendar's narrow (mobile) layout state has changed.
4
6
  */
5
7
  export class AuroCalendar extends RangeDatepicker {
6
8
  static get styles(): import("lit").CSSResult[];
@@ -10,6 +12,7 @@ export class AuroCalendar extends RangeDatepicker {
10
12
  */
11
13
  calendarEndMonth: {
12
14
  type: StringConstructor;
15
+ attribute: string;
13
16
  reflect: boolean;
14
17
  };
15
18
  /**
@@ -17,6 +20,7 @@ export class AuroCalendar extends RangeDatepicker {
17
20
  */
18
21
  calendarStartMonth: {
19
22
  type: StringConstructor;
23
+ attribute: string;
20
24
  reflect: boolean;
21
25
  };
22
26
  /**
@@ -24,6 +28,7 @@ export class AuroCalendar extends RangeDatepicker {
24
28
  */
25
29
  centralDate: {
26
30
  type: StringConstructor;
31
+ attribute: string;
27
32
  reflect: boolean;
28
33
  };
29
34
  /**
@@ -31,25 +36,27 @@ export class AuroCalendar extends RangeDatepicker {
31
36
  */
32
37
  dateFrom: {
33
38
  type: StringConstructor;
39
+ attribute: string;
34
40
  };
35
41
  /**
36
42
  * The ending date of the selected range.
37
43
  */
38
44
  dateTo: {
39
45
  type: StringConstructor;
46
+ attribute: string;
40
47
  };
41
48
  /**
42
49
  * Dropdown element that contains the calendar.
43
50
  * @private
51
+ * @type {HTMLElement}
44
52
  */
45
- dropdown: {
46
- type: ObjectConstructor;
47
- };
53
+ dropdown: HTMLElement;
48
54
  /**
49
55
  * Flag indicating if the calendar is in fullscreen mode.
50
56
  */
51
57
  isFullscreen: {
52
58
  type: BooleanConstructor;
59
+ attribute: string;
53
60
  reflect: boolean;
54
61
  };
55
62
  /**
@@ -58,6 +65,7 @@ export class AuroCalendar extends RangeDatepicker {
58
65
  */
59
66
  largeFullscreenHeadline: {
60
67
  type: BooleanConstructor;
68
+ attribute: string;
61
69
  reflect: boolean;
62
70
  };
63
71
  /**
@@ -65,6 +73,7 @@ export class AuroCalendar extends RangeDatepicker {
65
73
  */
66
74
  maxDate: {
67
75
  type: StringConstructor;
76
+ attribute: string;
68
77
  reflect: boolean;
69
78
  };
70
79
  /**
@@ -72,6 +81,7 @@ export class AuroCalendar extends RangeDatepicker {
72
81
  */
73
82
  minDate: {
74
83
  type: StringConstructor;
84
+ attribute: string;
75
85
  reflect: boolean;
76
86
  };
77
87
  /**
@@ -80,6 +90,7 @@ export class AuroCalendar extends RangeDatepicker {
80
90
  */
81
91
  mobileBreakpoint: {
82
92
  type: NumberConstructor;
93
+ attribute: string;
83
94
  reflect: boolean;
84
95
  };
85
96
  /**
@@ -89,6 +100,7 @@ export class AuroCalendar extends RangeDatepicker {
89
100
  */
90
101
  monthFirst: {
91
102
  type: BooleanConstructor;
103
+ attribute: string;
92
104
  };
93
105
  /**
94
106
  * Number of calendars to render.
@@ -96,6 +108,7 @@ export class AuroCalendar extends RangeDatepicker {
96
108
  */
97
109
  numCalendars: {
98
110
  type: NumberConstructor;
111
+ attribute: string;
99
112
  };
100
113
  /**
101
114
  * Flag indicating if the calendar is visible.
@@ -110,13 +123,13 @@ export class AuroCalendar extends RangeDatepicker {
110
123
  */
111
124
  localeCode: {
112
125
  type: StringConstructor;
126
+ attribute: string;
113
127
  };
114
128
  /**
115
129
  * Names of all 12 months. When omitted, names are derived from `localeCode`.
130
+ * @type {string[]}
116
131
  */
117
- monthNames: {
118
- type: ArrayConstructor;
119
- };
132
+ monthNames: string[];
120
133
  };
121
134
  /**
122
135
  * Per-class flag that gates the `disabledDays` deprecation warning so it
@@ -181,13 +194,19 @@ export class AuroCalendar extends RangeDatepicker {
181
194
  * Support will be removed in a future major release.
182
195
  * @private
183
196
  */
197
+ /**
198
+ * @private
199
+ * @type {number[]}
200
+ */
184
201
  private _disabledDays;
185
202
  /**
186
203
  * @private
187
204
  */
188
205
  private numCalendars;
189
206
  /**
207
+ * Captured light-DOM slot nodes, keyed by slot name, forwarded into the bib.
190
208
  * @private
209
+ * @type {Record<string, Node[]>}
191
210
  */
192
211
  private slots;
193
212
  /**
@@ -18,6 +18,10 @@
18
18
  * @slot popover_YYYY_MM_DD - Defines the content to display in the auro-calendar-cell popover for the specified date.
19
19
  * @csspart dropdown - Use for customizing the style of the dropdown.
20
20
  * @csspart trigger - Use for customizing the style of the datepicker trigger.
21
+ * @csspart wrapper - Use for customizing the style of the trigger content wrapper.
22
+ * @csspart mainLabel - Use for customizing the style of the main label in the snowflake layout.
23
+ * @csspart inputSection - Use for customizing the style of the input section within the trigger.
24
+ * @csspart accentIcon - Use for customizing the style of the leading calendar accent icon.
21
25
  * @csspart input - Use for customizing the style of the datepicker inputs.
22
26
  * @csspart calendarWrapper - Use for customizing the style of the calendar container.
23
27
  * @csspart calendar - Use for customizing the style of the calendar.
@@ -27,6 +31,7 @@
27
31
  * @event auroDatePicker-monthChanged - Notifies that the visible calendar month(s) have changed.
28
32
  * @event auroFormElement-validated - Notifies that the component value(s) have been validated.
29
33
  * @event auroDatePicker-newSlotContent - Notifies that new slot content has been added to the datepicker.
34
+ * @event input - Notifies that the datepicker's value has changed.
30
35
  */
31
36
  export class AuroDatePicker extends AuroElement {
32
37
  static get shadowRootOptions(): {
@@ -50,6 +55,7 @@ export class AuroDatePicker extends AuroElement {
50
55
  */
51
56
  autoPlacement: {
52
57
  type: BooleanConstructor;
58
+ attribute: string;
53
59
  reflect: boolean;
54
60
  };
55
61
  /**
@@ -62,17 +68,16 @@ export class AuroDatePicker extends AuroElement {
62
68
  * `blackoutDates[i] = ...`, `blackoutDates.splice(...)`) will not
63
69
  * invalidate the cache and the new entries will be silently ignored.
64
70
  * To update, reassign the property: `el.blackoutDates = [...el.blackoutDates, '2024-12-25']`.
71
+ * @type {string[]}
65
72
  */
66
- blackoutDates: {
67
- type: ArrayConstructor;
68
- reflect: boolean;
69
- };
73
+ blackoutDates: string[];
70
74
  /**
71
75
  * Label announced for blackout (disabled but in-range) date cells.
72
76
  * @default 'unavailable'
73
77
  */
74
78
  blackoutLabel: {
75
79
  type: StringConstructor;
80
+ attribute: string;
76
81
  reflect: boolean;
77
82
  };
78
83
  /**
@@ -80,6 +85,7 @@ export class AuroDatePicker extends AuroElement {
80
85
  */
81
86
  calendarEndDate: {
82
87
  type: StringConstructor;
88
+ attribute: string;
83
89
  reflect: boolean;
84
90
  };
85
91
  /**
@@ -88,6 +94,7 @@ export class AuroDatePicker extends AuroElement {
88
94
  */
89
95
  calendarGridLabel: {
90
96
  type: StringConstructor;
97
+ attribute: string;
91
98
  reflect: boolean;
92
99
  };
93
100
  /**
@@ -95,6 +102,7 @@ export class AuroDatePicker extends AuroElement {
95
102
  */
96
103
  calendarFocusDate: {
97
104
  type: StringConstructor;
105
+ attribute: string;
98
106
  reflect: boolean;
99
107
  };
100
108
  /**
@@ -102,6 +110,7 @@ export class AuroDatePicker extends AuroElement {
102
110
  */
103
111
  calendarStartDate: {
104
112
  type: StringConstructor;
113
+ attribute: string;
105
114
  reflect: boolean;
106
115
  };
107
116
  /**
@@ -109,6 +118,7 @@ export class AuroDatePicker extends AuroElement {
109
118
  */
110
119
  centralDate: {
111
120
  type: StringConstructor;
121
+ attribute: string;
112
122
  };
113
123
  /**
114
124
  * If set, disables the datepicker.
@@ -122,6 +132,7 @@ export class AuroDatePicker extends AuroElement {
122
132
  */
123
133
  dvInputOnly: {
124
134
  type: BooleanConstructor;
135
+ attribute: string;
125
136
  reflect: boolean;
126
137
  };
127
138
  /**
@@ -159,10 +170,12 @@ export class AuroDatePicker extends AuroElement {
159
170
  */
160
171
  hasAllValues: {
161
172
  type: BooleanConstructor;
173
+ attribute: boolean;
162
174
  reflect: boolean;
163
175
  };
164
176
  hasFocus: {
165
177
  type: BooleanConstructor;
178
+ attribute: boolean;
166
179
  reflect: boolean;
167
180
  };
168
181
  /**
@@ -170,20 +183,21 @@ export class AuroDatePicker extends AuroElement {
170
183
  */
171
184
  hasValue: {
172
185
  type: BooleanConstructor;
173
- reflect: boolean;
174
- };
175
- /** Exposes inputmode attribute for input. */
176
- inputmode: {
177
- type: StringConstructor;
178
186
  attribute: boolean;
179
187
  reflect: boolean;
180
188
  };
189
+ /**
190
+ * Sets the `inputmode` attribute on the underlying input, hinting at the virtual keyboard to display.
191
+ * @type {'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url'}
192
+ */
193
+ inputmode: "none" | "text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url";
181
194
  /**
182
195
  * If declared, make bib.fullscreen.headline in HeadingDisplay.
183
196
  * Otherwise, Heading 600.
184
197
  */
185
198
  largeFullscreenHeadline: {
186
199
  type: BooleanConstructor;
200
+ attribute: string;
187
201
  reflect: boolean;
188
202
  };
189
203
  /**
@@ -192,11 +206,24 @@ export class AuroDatePicker extends AuroElement {
192
206
  * @default 'classic'
193
207
  */
194
208
  layout: "classic" | "snowflake";
209
+ /**
210
+ * Sets the shape of the datepicker.
211
+ * @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
212
+ * @default 'classic'
213
+ */
214
+ shape: "box" | "classic" | "pill" | "pill-left" | "pill-right" | "rounded" | "snowflake";
215
+ /**
216
+ * Sets the size of the datepicker.
217
+ * @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
218
+ * @default 'lg'
219
+ */
220
+ size: "xs" | "sm" | "md" | "lg" | "xl";
195
221
  /**
196
222
  * Maximum date. All dates after will be disabled.
197
223
  */
198
224
  maxDate: {
199
225
  type: StringConstructor;
226
+ attribute: string;
200
227
  reflect: boolean;
201
228
  };
202
229
  /**
@@ -204,27 +231,29 @@ export class AuroDatePicker extends AuroElement {
204
231
  */
205
232
  minDate: {
206
233
  type: StringConstructor;
234
+ attribute: string;
207
235
  reflect: boolean;
208
236
  };
209
237
  /**
210
- * @private
238
+ * When set, the calendar displays the month before the year in the header.
211
239
  */
212
240
  monthFirst: {
213
241
  type: BooleanConstructor;
242
+ attribute: string;
214
243
  };
215
244
  /**
216
245
  * Names of all 12 months to render in the calendar.
217
246
  * When omitted, month names will be automatically populated from the active `locale` (falling back to `en-US`).
247
+ * @type {string[]}
218
248
  */
219
- monthNames: {
220
- type: ArrayConstructor;
221
- };
249
+ monthNames: string[];
222
250
  /**
223
251
  * Accessible label for the next month navigation button.
224
252
  * @default 'Next month'
225
253
  */
226
254
  navLabelNextMonth: {
227
255
  type: StringConstructor;
256
+ attribute: string;
228
257
  reflect: boolean;
229
258
  };
230
259
  /**
@@ -233,6 +262,7 @@ export class AuroDatePicker extends AuroElement {
233
262
  */
234
263
  navLabelPrevMonth: {
235
264
  type: StringConstructor;
265
+ attribute: string;
236
266
  reflect: boolean;
237
267
  };
238
268
  /**
@@ -241,6 +271,7 @@ export class AuroDatePicker extends AuroElement {
241
271
  */
242
272
  noFlip: {
243
273
  type: BooleanConstructor;
274
+ attribute: string;
244
275
  reflect: boolean;
245
276
  };
246
277
  /**
@@ -248,6 +279,7 @@ export class AuroDatePicker extends AuroElement {
248
279
  */
249
280
  noValidate: {
250
281
  type: BooleanConstructor;
282
+ attribute: string;
251
283
  reflect: boolean;
252
284
  };
253
285
  /**
@@ -263,6 +295,7 @@ export class AuroDatePicker extends AuroElement {
263
295
  */
264
296
  onDark: {
265
297
  type: BooleanConstructor;
298
+ attribute: string;
266
299
  reflect: boolean;
267
300
  };
268
301
  /**
@@ -279,6 +312,7 @@ export class AuroDatePicker extends AuroElement {
279
312
  */
280
313
  placeholderEndDate: {
281
314
  type: StringConstructor;
315
+ attribute: string;
282
316
  reflect: boolean;
283
317
  };
284
318
  /**
@@ -303,6 +337,7 @@ export class AuroDatePicker extends AuroElement {
303
337
  */
304
338
  rangeLabelAfterRange: {
305
339
  type: StringConstructor;
340
+ attribute: string;
306
341
  reflect: boolean;
307
342
  };
308
343
  /**
@@ -311,6 +346,7 @@ export class AuroDatePicker extends AuroElement {
311
346
  */
312
347
  rangeLabelBeforeRange: {
313
348
  type: StringConstructor;
349
+ attribute: string;
314
350
  reflect: boolean;
315
351
  };
316
352
  /**
@@ -319,6 +355,7 @@ export class AuroDatePicker extends AuroElement {
319
355
  */
320
356
  rangeLabelEnd: {
321
357
  type: StringConstructor;
358
+ attribute: string;
322
359
  reflect: boolean;
323
360
  };
324
361
  /**
@@ -329,6 +366,7 @@ export class AuroDatePicker extends AuroElement {
329
366
  */
330
367
  rangeLabelEndPreview: {
331
368
  type: StringConstructor;
369
+ attribute: string;
332
370
  reflect: boolean;
333
371
  };
334
372
  /**
@@ -337,6 +375,7 @@ export class AuroDatePicker extends AuroElement {
337
375
  */
338
376
  rangeLabelInRange: {
339
377
  type: StringConstructor;
378
+ attribute: string;
340
379
  reflect: boolean;
341
380
  };
342
381
  /**
@@ -345,16 +384,15 @@ export class AuroDatePicker extends AuroElement {
345
384
  */
346
385
  rangeLabelStart: {
347
386
  type: StringConstructor;
387
+ attribute: string;
348
388
  reflect: boolean;
349
389
  };
350
390
  /**
351
391
  * Dates that the user should have for reference as part of their decision-making when selecting a date.
352
392
  * This should be a JSON string array of ISO date strings (`YYYY-MM-DD`).
393
+ * @type {string[]}
353
394
  */
354
- referenceDates: {
355
- type: ArrayConstructor;
356
- reflect: boolean;
357
- };
395
+ referenceDates: string[];
358
396
  /**
359
397
  * Populates the `required` attribute on the input. Used for client-side validation.
360
398
  */
@@ -367,6 +405,7 @@ export class AuroDatePicker extends AuroElement {
367
405
  */
368
406
  setCustomValidity: {
369
407
  type: StringConstructor;
408
+ attribute: string;
370
409
  };
371
410
  /**
372
411
  * Custom help text message to display when validity = `customError`.
@@ -374,24 +413,28 @@ export class AuroDatePicker extends AuroElement {
374
413
  */
375
414
  setCustomValidityCustomError: {
376
415
  type: StringConstructor;
416
+ attribute: string;
377
417
  };
378
418
  /**
379
419
  * Custom help text message to display when validity = `rangeOverflow`.
380
420
  */
381
421
  setCustomValidityRangeOverflow: {
382
422
  type: StringConstructor;
423
+ attribute: string;
383
424
  };
384
425
  /**
385
426
  * Custom help text message to display when validity = `rangeUnderflow`.
386
427
  */
387
428
  setCustomValidityRangeUnderflow: {
388
429
  type: StringConstructor;
430
+ attribute: string;
389
431
  };
390
432
  /**
391
433
  * Custom help text message to display when validity = `valueMissing`.
392
434
  */
393
435
  setCustomValidityValueMissing: {
394
436
  type: StringConstructor;
437
+ attribute: string;
395
438
  };
396
439
  /**
397
440
  * If declared, the dropdown will shift its position to avoid being cut off by the viewport.
@@ -434,6 +477,7 @@ export class AuroDatePicker extends AuroElement {
434
477
  */
435
478
  valueEnd: {
436
479
  type: StringConstructor;
480
+ attribute: string;
437
481
  };
438
482
  };
439
483
  static get styles(): import("lit").CSSResult[];
@@ -467,7 +511,8 @@ export class AuroDatePicker extends AuroElement {
467
511
  * @private
468
512
  */
469
513
  private domHandler;
470
- appearance: string;
514
+ /** @type {'default' | 'inverse'} */
515
+ appearance: "default" | "inverse";
471
516
  touched: boolean;
472
517
  disabled: boolean;
473
518
  dvInputOnly: boolean;
@@ -480,7 +525,8 @@ export class AuroDatePicker extends AuroElement {
480
525
  rangeLabelInRange: string;
481
526
  rangeLabelAfterRange: string;
482
527
  rangeLabelEndPreview: string;
483
- blackoutDates: any[];
528
+ /** @type {string[]} */
529
+ blackoutDates: string[];
484
530
  blackoutLabel: string;
485
531
  navLabelPrevMonth: string;
486
532
  navLabelNextMonth: string;
@@ -503,6 +549,7 @@ export class AuroDatePicker extends AuroElement {
503
549
  largeFullscreenHeadline: boolean;
504
550
  /**
505
551
  * @private
552
+ * @type {HTMLElement[]}
506
553
  */
507
554
  private dateSlotContent;
508
555
  /**
@@ -582,9 +629,10 @@ export class AuroDatePicker extends AuroElement {
582
629
  * @returns {void}
583
630
  */
584
631
  private handleClearClick;
585
- layout: string;
586
- shape: string;
587
- size: string;
632
+ initializeArchitectureDefaults(): void;
633
+ layout: string | undefined;
634
+ shape: string | undefined;
635
+ size: string | undefined;
588
636
  /**
589
637
  * A convenience wrapper for `value` and `valueEnd`, uses the new Auro "array value pattern".
590
638
  * @returns {string[]}