@aurodesignsystem-dev/auro-formkit 0.0.0-pr1594.2 → 0.0.0-pr1595.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 +11 -0
- package/components/bibtemplate/dist/index.js +13 -0
- package/components/bibtemplate/dist/registered.js +13 -0
- package/components/checkbox/demo/api.md +17 -11
- package/components/checkbox/demo/customize.min.js +23 -6
- package/components/checkbox/demo/getting-started.min.js +23 -6
- package/components/checkbox/demo/index.min.js +23 -6
- package/components/checkbox/dist/auro-checkbox-group.d.ts +8 -0
- package/components/checkbox/dist/auro-checkbox.d.ts +4 -0
- package/components/checkbox/dist/index.js +23 -6
- package/components/checkbox/dist/registered.js +23 -6
- package/components/combobox/demo/api.md +24 -16
- package/components/combobox/demo/customize.min.js +405 -121
- package/components/combobox/demo/getting-started.min.js +405 -121
- package/components/combobox/demo/index.min.js +405 -121
- package/components/combobox/dist/auro-combobox.d.ts +29 -0
- package/components/combobox/dist/index.js +320 -107
- package/components/combobox/dist/registered.js +320 -107
- package/components/counter/demo/api.md +33 -15
- package/components/counter/demo/customize.min.js +201 -64
- package/components/counter/demo/index.min.js +201 -64
- package/components/counter/dist/auro-counter-button.d.ts +4 -0
- package/components/counter/dist/auro-counter-group.d.ts +23 -0
- package/components/counter/dist/auro-counter.d.ts +7 -0
- package/components/counter/dist/index.js +201 -64
- package/components/counter/dist/registered.js +201 -64
- package/components/datepicker/demo/api.md +55 -49
- package/components/datepicker/demo/customize.min.js +483 -131
- package/components/datepicker/demo/index.min.js +483 -131
- package/components/datepicker/dist/auro-calendar-cell.d.ts +55 -0
- package/components/datepicker/dist/auro-calendar-month.d.ts +9 -1
- package/components/datepicker/dist/auro-calendar.d.ts +16 -0
- package/components/datepicker/dist/auro-datepicker.d.ts +63 -10
- package/components/datepicker/dist/index.js +483 -131
- package/components/datepicker/dist/registered.js +483 -131
- package/components/dropdown/demo/api.md +25 -22
- package/components/dropdown/demo/customize.min.js +106 -37
- package/components/dropdown/demo/getting-started.min.js +232 -79
- package/components/dropdown/demo/index.min.js +106 -37
- package/components/dropdown/dist/auro-dropdown.d.ts +33 -4
- package/components/dropdown/dist/auro-dropdownBib.d.ts +17 -5
- package/components/dropdown/dist/index.js +106 -37
- package/components/dropdown/dist/registered.js +106 -37
- package/components/form/demo/customize.min.js +1448 -455
- package/components/form/demo/getting-started.min.js +1448 -455
- package/components/form/demo/index.min.js +1448 -455
- package/components/form/demo/registerDemoDeps.min.js +1448 -455
- package/components/helptext/dist/auro-helptext.d.ts +8 -7
- package/components/helptext/dist/index.js +7 -2
- package/components/helptext/dist/registered.js +7 -2
- package/components/input/demo/api.md +30 -30
- package/components/input/demo/customize.min.js +126 -42
- package/components/input/demo/getting-started.min.js +126 -42
- package/components/input/demo/index.min.js +126 -42
- package/components/input/dist/base-input.d.ts +67 -22
- package/components/input/dist/index.js +126 -42
- package/components/input/dist/registered.js +126 -42
- package/components/layoutElement/dist/auroElement.d.ts +10 -17
- package/components/layoutElement/dist/index.js +20 -20
- package/components/layoutElement/dist/registered.js +20 -20
- package/components/menu/demo/api.md +30 -27
- package/components/menu/demo/index.min.js +105 -34
- package/components/menu/dist/auro-menu.d.ts +24 -13
- package/components/menu/dist/auro-menuoption.d.ts +26 -0
- package/components/menu/dist/index.js +105 -34
- package/components/menu/dist/registered.js +105 -34
- package/components/radio/demo/api.md +8 -7
- package/components/radio/demo/customize.min.js +20 -7
- package/components/radio/demo/getting-started.min.js +20 -7
- package/components/radio/demo/index.min.js +20 -7
- package/components/radio/dist/auro-radio-group.d.ts +7 -0
- package/components/radio/dist/auro-radio.d.ts +1 -0
- package/components/radio/dist/index.js +20 -7
- package/components/radio/dist/registered.js +20 -7
- package/components/select/demo/api.md +18 -15
- package/components/select/demo/customize.min.js +255 -78
- package/components/select/demo/getting-started.min.js +255 -78
- package/components/select/demo/index.min.js +255 -78
- package/components/select/dist/auro-select.d.ts +17 -0
- package/components/select/dist/index.js +170 -64
- package/components/select/dist/registered.js +170 -64
- package/custom-elements.json +2573 -2680
- package/package.json +1 -1
|
@@ -1,31 +1,66 @@
|
|
|
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
|
|
@@ -35,21 +70,41 @@ export class AuroCalendarCell extends LitElement {
|
|
|
35
70
|
*/
|
|
36
71
|
disabledDays: {
|
|
37
72
|
type: ArrayConstructor;
|
|
73
|
+
attribute: string;
|
|
38
74
|
};
|
|
75
|
+
/**
|
|
76
|
+
* Whether this cell represents the current date (today).
|
|
77
|
+
*/
|
|
39
78
|
isCurrentDate: {
|
|
40
79
|
type: BooleanConstructor;
|
|
80
|
+
attribute: string;
|
|
41
81
|
};
|
|
82
|
+
/**
|
|
83
|
+
* The BCP 47 locale tag used to format the cell's date.
|
|
84
|
+
*/
|
|
42
85
|
locale: {
|
|
43
86
|
type: StringConstructor;
|
|
44
87
|
};
|
|
88
|
+
/**
|
|
89
|
+
* The cell's date formatted as a `YYYY_MM_DD` slot-name string.
|
|
90
|
+
*/
|
|
45
91
|
dateStr: {
|
|
46
92
|
type: StringConstructor;
|
|
93
|
+
attribute: string;
|
|
47
94
|
};
|
|
95
|
+
/**
|
|
96
|
+
* Whether to render the numerical date off-center to leave room below for date slot content.
|
|
97
|
+
*/
|
|
48
98
|
renderForDateSlot: {
|
|
49
99
|
type: BooleanConstructor;
|
|
100
|
+
attribute: string;
|
|
50
101
|
};
|
|
102
|
+
/**
|
|
103
|
+
* Whether this cell has popover slot content to display.
|
|
104
|
+
*/
|
|
51
105
|
hasPopoverContent: {
|
|
52
106
|
type: BooleanConstructor;
|
|
107
|
+
attribute: string;
|
|
53
108
|
};
|
|
54
109
|
};
|
|
55
110
|
static get styles(): import("lit").CSSResult[];
|
|
@@ -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
|
-
*
|
|
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,12 +20,14 @@ 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`.
|
|
20
27
|
*/
|
|
21
28
|
monthNames: {
|
|
22
29
|
type: ArrayConstructor;
|
|
30
|
+
attribute: string;
|
|
23
31
|
};
|
|
24
32
|
};
|
|
25
33
|
/**
|
|
@@ -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,12 +36,14 @@ 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.
|
|
@@ -50,6 +57,7 @@ export class AuroCalendar extends RangeDatepicker {
|
|
|
50
57
|
*/
|
|
51
58
|
isFullscreen: {
|
|
52
59
|
type: BooleanConstructor;
|
|
60
|
+
attribute: string;
|
|
53
61
|
reflect: boolean;
|
|
54
62
|
};
|
|
55
63
|
/**
|
|
@@ -58,6 +66,7 @@ export class AuroCalendar extends RangeDatepicker {
|
|
|
58
66
|
*/
|
|
59
67
|
largeFullscreenHeadline: {
|
|
60
68
|
type: BooleanConstructor;
|
|
69
|
+
attribute: string;
|
|
61
70
|
reflect: boolean;
|
|
62
71
|
};
|
|
63
72
|
/**
|
|
@@ -65,6 +74,7 @@ export class AuroCalendar extends RangeDatepicker {
|
|
|
65
74
|
*/
|
|
66
75
|
maxDate: {
|
|
67
76
|
type: StringConstructor;
|
|
77
|
+
attribute: string;
|
|
68
78
|
reflect: boolean;
|
|
69
79
|
};
|
|
70
80
|
/**
|
|
@@ -72,6 +82,7 @@ export class AuroCalendar extends RangeDatepicker {
|
|
|
72
82
|
*/
|
|
73
83
|
minDate: {
|
|
74
84
|
type: StringConstructor;
|
|
85
|
+
attribute: string;
|
|
75
86
|
reflect: boolean;
|
|
76
87
|
};
|
|
77
88
|
/**
|
|
@@ -80,6 +91,7 @@ export class AuroCalendar extends RangeDatepicker {
|
|
|
80
91
|
*/
|
|
81
92
|
mobileBreakpoint: {
|
|
82
93
|
type: NumberConstructor;
|
|
94
|
+
attribute: string;
|
|
83
95
|
reflect: boolean;
|
|
84
96
|
};
|
|
85
97
|
/**
|
|
@@ -89,6 +101,7 @@ export class AuroCalendar extends RangeDatepicker {
|
|
|
89
101
|
*/
|
|
90
102
|
monthFirst: {
|
|
91
103
|
type: BooleanConstructor;
|
|
104
|
+
attribute: string;
|
|
92
105
|
};
|
|
93
106
|
/**
|
|
94
107
|
* Number of calendars to render.
|
|
@@ -96,6 +109,7 @@ export class AuroCalendar extends RangeDatepicker {
|
|
|
96
109
|
*/
|
|
97
110
|
numCalendars: {
|
|
98
111
|
type: NumberConstructor;
|
|
112
|
+
attribute: string;
|
|
99
113
|
};
|
|
100
114
|
/**
|
|
101
115
|
* Flag indicating if the calendar is visible.
|
|
@@ -110,12 +124,14 @@ export class AuroCalendar extends RangeDatepicker {
|
|
|
110
124
|
*/
|
|
111
125
|
localeCode: {
|
|
112
126
|
type: StringConstructor;
|
|
127
|
+
attribute: string;
|
|
113
128
|
};
|
|
114
129
|
/**
|
|
115
130
|
* Names of all 12 months. When omitted, names are derived from `localeCode`.
|
|
116
131
|
*/
|
|
117
132
|
monthNames: {
|
|
118
133
|
type: ArrayConstructor;
|
|
134
|
+
attribute: string;
|
|
119
135
|
};
|
|
120
136
|
};
|
|
121
137
|
/**
|
|
@@ -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
|
/**
|
|
@@ -65,6 +71,7 @@ export class AuroDatePicker extends AuroElement {
|
|
|
65
71
|
*/
|
|
66
72
|
blackoutDates: {
|
|
67
73
|
type: ArrayConstructor;
|
|
74
|
+
attribute: string;
|
|
68
75
|
reflect: boolean;
|
|
69
76
|
};
|
|
70
77
|
/**
|
|
@@ -73,6 +80,7 @@ export class AuroDatePicker extends AuroElement {
|
|
|
73
80
|
*/
|
|
74
81
|
blackoutLabel: {
|
|
75
82
|
type: StringConstructor;
|
|
83
|
+
attribute: string;
|
|
76
84
|
reflect: boolean;
|
|
77
85
|
};
|
|
78
86
|
/**
|
|
@@ -80,6 +88,7 @@ export class AuroDatePicker extends AuroElement {
|
|
|
80
88
|
*/
|
|
81
89
|
calendarEndDate: {
|
|
82
90
|
type: StringConstructor;
|
|
91
|
+
attribute: string;
|
|
83
92
|
reflect: boolean;
|
|
84
93
|
};
|
|
85
94
|
/**
|
|
@@ -88,6 +97,7 @@ export class AuroDatePicker extends AuroElement {
|
|
|
88
97
|
*/
|
|
89
98
|
calendarGridLabel: {
|
|
90
99
|
type: StringConstructor;
|
|
100
|
+
attribute: string;
|
|
91
101
|
reflect: boolean;
|
|
92
102
|
};
|
|
93
103
|
/**
|
|
@@ -95,6 +105,7 @@ export class AuroDatePicker extends AuroElement {
|
|
|
95
105
|
*/
|
|
96
106
|
calendarFocusDate: {
|
|
97
107
|
type: StringConstructor;
|
|
108
|
+
attribute: string;
|
|
98
109
|
reflect: boolean;
|
|
99
110
|
};
|
|
100
111
|
/**
|
|
@@ -102,6 +113,7 @@ export class AuroDatePicker extends AuroElement {
|
|
|
102
113
|
*/
|
|
103
114
|
calendarStartDate: {
|
|
104
115
|
type: StringConstructor;
|
|
116
|
+
attribute: string;
|
|
105
117
|
reflect: boolean;
|
|
106
118
|
};
|
|
107
119
|
/**
|
|
@@ -109,6 +121,7 @@ export class AuroDatePicker extends AuroElement {
|
|
|
109
121
|
*/
|
|
110
122
|
centralDate: {
|
|
111
123
|
type: StringConstructor;
|
|
124
|
+
attribute: string;
|
|
112
125
|
};
|
|
113
126
|
/**
|
|
114
127
|
* If set, disables the datepicker.
|
|
@@ -122,6 +135,7 @@ export class AuroDatePicker extends AuroElement {
|
|
|
122
135
|
*/
|
|
123
136
|
dvInputOnly: {
|
|
124
137
|
type: BooleanConstructor;
|
|
138
|
+
attribute: string;
|
|
125
139
|
reflect: boolean;
|
|
126
140
|
};
|
|
127
141
|
/**
|
|
@@ -159,10 +173,12 @@ export class AuroDatePicker extends AuroElement {
|
|
|
159
173
|
*/
|
|
160
174
|
hasAllValues: {
|
|
161
175
|
type: BooleanConstructor;
|
|
176
|
+
attribute: string;
|
|
162
177
|
reflect: boolean;
|
|
163
178
|
};
|
|
164
179
|
hasFocus: {
|
|
165
180
|
type: BooleanConstructor;
|
|
181
|
+
attribute: string;
|
|
166
182
|
reflect: boolean;
|
|
167
183
|
};
|
|
168
184
|
/**
|
|
@@ -170,20 +186,21 @@ export class AuroDatePicker extends AuroElement {
|
|
|
170
186
|
*/
|
|
171
187
|
hasValue: {
|
|
172
188
|
type: BooleanConstructor;
|
|
189
|
+
attribute: string;
|
|
173
190
|
reflect: boolean;
|
|
174
191
|
};
|
|
175
|
-
/**
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
};
|
|
192
|
+
/**
|
|
193
|
+
* Sets the `inputmode` attribute on the underlying input, hinting at the virtual keyboard to display.
|
|
194
|
+
* @type {'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url'}
|
|
195
|
+
*/
|
|
196
|
+
inputmode: "none" | "text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url";
|
|
181
197
|
/**
|
|
182
198
|
* If declared, make bib.fullscreen.headline in HeadingDisplay.
|
|
183
199
|
* Otherwise, Heading 600.
|
|
184
200
|
*/
|
|
185
201
|
largeFullscreenHeadline: {
|
|
186
202
|
type: BooleanConstructor;
|
|
203
|
+
attribute: string;
|
|
187
204
|
reflect: boolean;
|
|
188
205
|
};
|
|
189
206
|
/**
|
|
@@ -192,11 +209,24 @@ export class AuroDatePicker extends AuroElement {
|
|
|
192
209
|
* @default 'classic'
|
|
193
210
|
*/
|
|
194
211
|
layout: "classic" | "snowflake";
|
|
212
|
+
/**
|
|
213
|
+
* Sets the shape of the datepicker.
|
|
214
|
+
* @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
|
|
215
|
+
* @default 'classic'
|
|
216
|
+
*/
|
|
217
|
+
shape: "box" | "classic" | "pill" | "pill-left" | "pill-right" | "rounded" | "snowflake";
|
|
218
|
+
/**
|
|
219
|
+
* Sets the size of the datepicker.
|
|
220
|
+
* @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
|
|
221
|
+
* @default 'lg'
|
|
222
|
+
*/
|
|
223
|
+
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
195
224
|
/**
|
|
196
225
|
* Maximum date. All dates after will be disabled.
|
|
197
226
|
*/
|
|
198
227
|
maxDate: {
|
|
199
228
|
type: StringConstructor;
|
|
229
|
+
attribute: string;
|
|
200
230
|
reflect: boolean;
|
|
201
231
|
};
|
|
202
232
|
/**
|
|
@@ -204,13 +234,15 @@ export class AuroDatePicker extends AuroElement {
|
|
|
204
234
|
*/
|
|
205
235
|
minDate: {
|
|
206
236
|
type: StringConstructor;
|
|
237
|
+
attribute: string;
|
|
207
238
|
reflect: boolean;
|
|
208
239
|
};
|
|
209
240
|
/**
|
|
210
|
-
*
|
|
241
|
+
* When set, the calendar displays the month before the year in the header.
|
|
211
242
|
*/
|
|
212
243
|
monthFirst: {
|
|
213
244
|
type: BooleanConstructor;
|
|
245
|
+
attribute: string;
|
|
214
246
|
};
|
|
215
247
|
/**
|
|
216
248
|
* Names of all 12 months to render in the calendar.
|
|
@@ -218,6 +250,7 @@ export class AuroDatePicker extends AuroElement {
|
|
|
218
250
|
*/
|
|
219
251
|
monthNames: {
|
|
220
252
|
type: ArrayConstructor;
|
|
253
|
+
attribute: string;
|
|
221
254
|
};
|
|
222
255
|
/**
|
|
223
256
|
* Accessible label for the next month navigation button.
|
|
@@ -225,6 +258,7 @@ export class AuroDatePicker extends AuroElement {
|
|
|
225
258
|
*/
|
|
226
259
|
navLabelNextMonth: {
|
|
227
260
|
type: StringConstructor;
|
|
261
|
+
attribute: string;
|
|
228
262
|
reflect: boolean;
|
|
229
263
|
};
|
|
230
264
|
/**
|
|
@@ -233,6 +267,7 @@ export class AuroDatePicker extends AuroElement {
|
|
|
233
267
|
*/
|
|
234
268
|
navLabelPrevMonth: {
|
|
235
269
|
type: StringConstructor;
|
|
270
|
+
attribute: string;
|
|
236
271
|
reflect: boolean;
|
|
237
272
|
};
|
|
238
273
|
/**
|
|
@@ -241,6 +276,7 @@ export class AuroDatePicker extends AuroElement {
|
|
|
241
276
|
*/
|
|
242
277
|
noFlip: {
|
|
243
278
|
type: BooleanConstructor;
|
|
279
|
+
attribute: string;
|
|
244
280
|
reflect: boolean;
|
|
245
281
|
};
|
|
246
282
|
/**
|
|
@@ -248,6 +284,7 @@ export class AuroDatePicker extends AuroElement {
|
|
|
248
284
|
*/
|
|
249
285
|
noValidate: {
|
|
250
286
|
type: BooleanConstructor;
|
|
287
|
+
attribute: string;
|
|
251
288
|
reflect: boolean;
|
|
252
289
|
};
|
|
253
290
|
/**
|
|
@@ -263,6 +300,7 @@ export class AuroDatePicker extends AuroElement {
|
|
|
263
300
|
*/
|
|
264
301
|
onDark: {
|
|
265
302
|
type: BooleanConstructor;
|
|
303
|
+
attribute: string;
|
|
266
304
|
reflect: boolean;
|
|
267
305
|
};
|
|
268
306
|
/**
|
|
@@ -279,6 +317,7 @@ export class AuroDatePicker extends AuroElement {
|
|
|
279
317
|
*/
|
|
280
318
|
placeholderEndDate: {
|
|
281
319
|
type: StringConstructor;
|
|
320
|
+
attribute: string;
|
|
282
321
|
reflect: boolean;
|
|
283
322
|
};
|
|
284
323
|
/**
|
|
@@ -303,6 +342,7 @@ export class AuroDatePicker extends AuroElement {
|
|
|
303
342
|
*/
|
|
304
343
|
rangeLabelAfterRange: {
|
|
305
344
|
type: StringConstructor;
|
|
345
|
+
attribute: string;
|
|
306
346
|
reflect: boolean;
|
|
307
347
|
};
|
|
308
348
|
/**
|
|
@@ -311,6 +351,7 @@ export class AuroDatePicker extends AuroElement {
|
|
|
311
351
|
*/
|
|
312
352
|
rangeLabelBeforeRange: {
|
|
313
353
|
type: StringConstructor;
|
|
354
|
+
attribute: string;
|
|
314
355
|
reflect: boolean;
|
|
315
356
|
};
|
|
316
357
|
/**
|
|
@@ -319,6 +360,7 @@ export class AuroDatePicker extends AuroElement {
|
|
|
319
360
|
*/
|
|
320
361
|
rangeLabelEnd: {
|
|
321
362
|
type: StringConstructor;
|
|
363
|
+
attribute: string;
|
|
322
364
|
reflect: boolean;
|
|
323
365
|
};
|
|
324
366
|
/**
|
|
@@ -329,6 +371,7 @@ export class AuroDatePicker extends AuroElement {
|
|
|
329
371
|
*/
|
|
330
372
|
rangeLabelEndPreview: {
|
|
331
373
|
type: StringConstructor;
|
|
374
|
+
attribute: string;
|
|
332
375
|
reflect: boolean;
|
|
333
376
|
};
|
|
334
377
|
/**
|
|
@@ -337,6 +380,7 @@ export class AuroDatePicker extends AuroElement {
|
|
|
337
380
|
*/
|
|
338
381
|
rangeLabelInRange: {
|
|
339
382
|
type: StringConstructor;
|
|
383
|
+
attribute: string;
|
|
340
384
|
reflect: boolean;
|
|
341
385
|
};
|
|
342
386
|
/**
|
|
@@ -345,6 +389,7 @@ export class AuroDatePicker extends AuroElement {
|
|
|
345
389
|
*/
|
|
346
390
|
rangeLabelStart: {
|
|
347
391
|
type: StringConstructor;
|
|
392
|
+
attribute: string;
|
|
348
393
|
reflect: boolean;
|
|
349
394
|
};
|
|
350
395
|
/**
|
|
@@ -353,6 +398,7 @@ export class AuroDatePicker extends AuroElement {
|
|
|
353
398
|
*/
|
|
354
399
|
referenceDates: {
|
|
355
400
|
type: ArrayConstructor;
|
|
401
|
+
attribute: string;
|
|
356
402
|
reflect: boolean;
|
|
357
403
|
};
|
|
358
404
|
/**
|
|
@@ -367,6 +413,7 @@ export class AuroDatePicker extends AuroElement {
|
|
|
367
413
|
*/
|
|
368
414
|
setCustomValidity: {
|
|
369
415
|
type: StringConstructor;
|
|
416
|
+
attribute: string;
|
|
370
417
|
};
|
|
371
418
|
/**
|
|
372
419
|
* Custom help text message to display when validity = `customError`.
|
|
@@ -374,24 +421,28 @@ export class AuroDatePicker extends AuroElement {
|
|
|
374
421
|
*/
|
|
375
422
|
setCustomValidityCustomError: {
|
|
376
423
|
type: StringConstructor;
|
|
424
|
+
attribute: string;
|
|
377
425
|
};
|
|
378
426
|
/**
|
|
379
427
|
* Custom help text message to display when validity = `rangeOverflow`.
|
|
380
428
|
*/
|
|
381
429
|
setCustomValidityRangeOverflow: {
|
|
382
430
|
type: StringConstructor;
|
|
431
|
+
attribute: string;
|
|
383
432
|
};
|
|
384
433
|
/**
|
|
385
434
|
* Custom help text message to display when validity = `rangeUnderflow`.
|
|
386
435
|
*/
|
|
387
436
|
setCustomValidityRangeUnderflow: {
|
|
388
437
|
type: StringConstructor;
|
|
438
|
+
attribute: string;
|
|
389
439
|
};
|
|
390
440
|
/**
|
|
391
441
|
* Custom help text message to display when validity = `valueMissing`.
|
|
392
442
|
*/
|
|
393
443
|
setCustomValidityValueMissing: {
|
|
394
444
|
type: StringConstructor;
|
|
445
|
+
attribute: string;
|
|
395
446
|
};
|
|
396
447
|
/**
|
|
397
448
|
* If declared, the dropdown will shift its position to avoid being cut off by the viewport.
|
|
@@ -434,6 +485,7 @@ export class AuroDatePicker extends AuroElement {
|
|
|
434
485
|
*/
|
|
435
486
|
valueEnd: {
|
|
436
487
|
type: StringConstructor;
|
|
488
|
+
attribute: string;
|
|
437
489
|
};
|
|
438
490
|
};
|
|
439
491
|
static get styles(): import("lit").CSSResult[];
|
|
@@ -582,9 +634,10 @@ export class AuroDatePicker extends AuroElement {
|
|
|
582
634
|
* @returns {void}
|
|
583
635
|
*/
|
|
584
636
|
private handleClearClick;
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
637
|
+
initializeArchitectureDefaults(): void;
|
|
638
|
+
layout: string | undefined;
|
|
639
|
+
shape: string | undefined;
|
|
640
|
+
size: string | undefined;
|
|
588
641
|
/**
|
|
589
642
|
* A convenience wrapper for `value` and `valueEnd`, uses the new Auro "array value pattern".
|
|
590
643
|
* @returns {string[]}
|