@aurodesignsystem-dev/auro-formkit 0.0.0-pr1483.4 → 0.0.0-pr1483.6
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/api.md +52 -51
- package/components/datepicker/demo/customize.md +52 -15
- package/components/datepicker/demo/index.md +23 -0
- package/components/datepicker/demo/index.min.js +4631 -557
- package/components/datepicker/dist/index.js +4594 -520
- package/components/datepicker/dist/registered.js +4594 -520
- package/components/datepicker/dist/src/auro-calendar-cell.d.ts +3 -1
- package/components/datepicker/dist/src/auro-calendar-month.d.ts +23 -0
- package/components/datepicker/dist/src/auro-calendar.d.ts +15 -0
- package/components/datepicker/dist/src/auro-datepicker.d.ts +26 -12
- 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 +5151 -1077
- package/components/form/demo/getting-started.min.js +5151 -1077
- package/components/form/demo/index.min.js +5151 -1077
- package/components/form/demo/registerDemoDeps.min.js +5151 -1077
- 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/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 +129 -42
- package/package.json +1 -1
|
@@ -1260,7 +1260,7 @@ class AuroHelpText extends i$2 {
|
|
|
1260
1260
|
}
|
|
1261
1261
|
}
|
|
1262
1262
|
|
|
1263
|
-
var formkitVersion = '
|
|
1263
|
+
var formkitVersion = '202606041922';
|
|
1264
1264
|
|
|
1265
1265
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1266
1266
|
// See LICENSE in the project root for license information.
|
|
@@ -1260,7 +1260,7 @@ class AuroHelpText extends i$2 {
|
|
|
1260
1260
|
}
|
|
1261
1261
|
}
|
|
1262
1262
|
|
|
1263
|
-
var formkitVersion = '
|
|
1263
|
+
var formkitVersion = '202606041922';
|
|
1264
1264
|
|
|
1265
1265
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1266
1266
|
// See LICENSE in the project root for license information.
|
|
@@ -1260,7 +1260,7 @@ class AuroHelpText extends i$2 {
|
|
|
1260
1260
|
}
|
|
1261
1261
|
}
|
|
1262
1262
|
|
|
1263
|
-
var formkitVersion = '
|
|
1263
|
+
var formkitVersion = '202606041922';
|
|
1264
1264
|
|
|
1265
1265
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1266
1266
|
// See LICENSE in the project root for license information.
|
|
@@ -1213,7 +1213,7 @@ class AuroHelpText extends LitElement {
|
|
|
1213
1213
|
}
|
|
1214
1214
|
}
|
|
1215
1215
|
|
|
1216
|
-
var formkitVersion = '
|
|
1216
|
+
var formkitVersion = '202606041922';
|
|
1217
1217
|
|
|
1218
1218
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1219
1219
|
// See LICENSE in the project root for license information.
|
|
@@ -1213,7 +1213,7 @@ class AuroHelpText extends LitElement {
|
|
|
1213
1213
|
}
|
|
1214
1214
|
}
|
|
1215
1215
|
|
|
1216
|
-
var formkitVersion = '
|
|
1216
|
+
var formkitVersion = '202606041922';
|
|
1217
1217
|
|
|
1218
1218
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1219
1219
|
// See LICENSE in the project root for license information.
|
|
@@ -4856,7 +4856,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$4 {
|
|
|
4856
4856
|
}
|
|
4857
4857
|
};
|
|
4858
4858
|
|
|
4859
|
-
var formkitVersion$2 = '
|
|
4859
|
+
var formkitVersion$2 = '202606041922';
|
|
4860
4860
|
|
|
4861
4861
|
let AuroElement$2 = class AuroElement extends i$4 {
|
|
4862
4862
|
static get properties() {
|
|
@@ -18114,7 +18114,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$4 {
|
|
|
18114
18114
|
}
|
|
18115
18115
|
};
|
|
18116
18116
|
|
|
18117
|
-
var formkitVersion$1 = '
|
|
18117
|
+
var formkitVersion$1 = '202606041922';
|
|
18118
18118
|
|
|
18119
18119
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
18120
18120
|
// See LICENSE in the project root for license information.
|
|
@@ -19231,7 +19231,7 @@ class AuroBibtemplate extends i$4 {
|
|
|
19231
19231
|
}
|
|
19232
19232
|
}
|
|
19233
19233
|
|
|
19234
|
-
var formkitVersion = '
|
|
19234
|
+
var formkitVersion = '202606041922';
|
|
19235
19235
|
|
|
19236
19236
|
var styleCss$3 = i$7`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
|
|
19237
19237
|
|
|
@@ -4856,7 +4856,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$4 {
|
|
|
4856
4856
|
}
|
|
4857
4857
|
};
|
|
4858
4858
|
|
|
4859
|
-
var formkitVersion$2 = '
|
|
4859
|
+
var formkitVersion$2 = '202606041922';
|
|
4860
4860
|
|
|
4861
4861
|
let AuroElement$2 = class AuroElement extends i$4 {
|
|
4862
4862
|
static get properties() {
|
|
@@ -18114,7 +18114,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$4 {
|
|
|
18114
18114
|
}
|
|
18115
18115
|
};
|
|
18116
18116
|
|
|
18117
|
-
var formkitVersion$1 = '
|
|
18117
|
+
var formkitVersion$1 = '202606041922';
|
|
18118
18118
|
|
|
18119
18119
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
18120
18120
|
// See LICENSE in the project root for license information.
|
|
@@ -19231,7 +19231,7 @@ class AuroBibtemplate extends i$4 {
|
|
|
19231
19231
|
}
|
|
19232
19232
|
}
|
|
19233
19233
|
|
|
19234
|
-
var formkitVersion = '
|
|
19234
|
+
var formkitVersion = '202606041922';
|
|
19235
19235
|
|
|
19236
19236
|
var styleCss$3 = i$7`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
|
|
19237
19237
|
|
|
@@ -4871,7 +4871,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$4 {
|
|
|
4871
4871
|
}
|
|
4872
4872
|
};
|
|
4873
4873
|
|
|
4874
|
-
var formkitVersion$2 = '
|
|
4874
|
+
var formkitVersion$2 = '202606041922';
|
|
4875
4875
|
|
|
4876
4876
|
let AuroElement$2 = class AuroElement extends i$4 {
|
|
4877
4877
|
static get properties() {
|
|
@@ -18129,7 +18129,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$4 {
|
|
|
18129
18129
|
}
|
|
18130
18130
|
};
|
|
18131
18131
|
|
|
18132
|
-
var formkitVersion$1 = '
|
|
18132
|
+
var formkitVersion$1 = '202606041922';
|
|
18133
18133
|
|
|
18134
18134
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
18135
18135
|
// See LICENSE in the project root for license information.
|
|
@@ -19246,7 +19246,7 @@ class AuroBibtemplate extends i$4 {
|
|
|
19246
19246
|
}
|
|
19247
19247
|
}
|
|
19248
19248
|
|
|
19249
|
-
var formkitVersion = '
|
|
19249
|
+
var formkitVersion = '202606041922';
|
|
19250
19250
|
|
|
19251
19251
|
var styleCss$3 = i$7`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
|
|
19252
19252
|
|
|
@@ -4789,7 +4789,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
4789
4789
|
}
|
|
4790
4790
|
};
|
|
4791
4791
|
|
|
4792
|
-
var formkitVersion$2 = '
|
|
4792
|
+
var formkitVersion$2 = '202606041922';
|
|
4793
4793
|
|
|
4794
4794
|
let AuroElement$2 = class AuroElement extends LitElement {
|
|
4795
4795
|
static get properties() {
|
|
@@ -18040,7 +18040,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
18040
18040
|
}
|
|
18041
18041
|
};
|
|
18042
18042
|
|
|
18043
|
-
var formkitVersion$1 = '
|
|
18043
|
+
var formkitVersion$1 = '202606041922';
|
|
18044
18044
|
|
|
18045
18045
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
18046
18046
|
// See LICENSE in the project root for license information.
|
|
@@ -19157,7 +19157,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
19157
19157
|
}
|
|
19158
19158
|
}
|
|
19159
19159
|
|
|
19160
|
-
var formkitVersion = '
|
|
19160
|
+
var formkitVersion = '202606041922';
|
|
19161
19161
|
|
|
19162
19162
|
var styleCss$1 = css`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
|
|
19163
19163
|
|
|
@@ -4789,7 +4789,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
4789
4789
|
}
|
|
4790
4790
|
};
|
|
4791
4791
|
|
|
4792
|
-
var formkitVersion$2 = '
|
|
4792
|
+
var formkitVersion$2 = '202606041922';
|
|
4793
4793
|
|
|
4794
4794
|
let AuroElement$2 = class AuroElement extends LitElement {
|
|
4795
4795
|
static get properties() {
|
|
@@ -18040,7 +18040,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
18040
18040
|
}
|
|
18041
18041
|
};
|
|
18042
18042
|
|
|
18043
|
-
var formkitVersion$1 = '
|
|
18043
|
+
var formkitVersion$1 = '202606041922';
|
|
18044
18044
|
|
|
18045
18045
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
18046
18046
|
// See LICENSE in the project root for license information.
|
|
@@ -19157,7 +19157,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
19157
19157
|
}
|
|
19158
19158
|
}
|
|
19159
19159
|
|
|
19160
|
-
var formkitVersion = '
|
|
19160
|
+
var formkitVersion = '202606041922';
|
|
19161
19161
|
|
|
19162
19162
|
var styleCss$1 = css`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
|
|
19163
19163
|
|
|
@@ -1099,7 +1099,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
1099
1099
|
}
|
|
1100
1100
|
};
|
|
1101
1101
|
|
|
1102
|
-
var formkitVersion$1 = '
|
|
1102
|
+
var formkitVersion$1 = '202606041922';
|
|
1103
1103
|
|
|
1104
1104
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1105
1105
|
// See LICENSE in the project root for license information.
|
|
@@ -5445,7 +5445,7 @@ class AuroHelpText extends i$2 {
|
|
|
5445
5445
|
}
|
|
5446
5446
|
}
|
|
5447
5447
|
|
|
5448
|
-
var formkitVersion = '
|
|
5448
|
+
var formkitVersion = '202606041922';
|
|
5449
5449
|
|
|
5450
5450
|
let AuroElement$1 = class AuroElement extends i$2 {
|
|
5451
5451
|
static get properties() {
|
|
@@ -1099,7 +1099,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
1099
1099
|
}
|
|
1100
1100
|
};
|
|
1101
1101
|
|
|
1102
|
-
var formkitVersion$1 = '
|
|
1102
|
+
var formkitVersion$1 = '202606041922';
|
|
1103
1103
|
|
|
1104
1104
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1105
1105
|
// See LICENSE in the project root for license information.
|
|
@@ -5445,7 +5445,7 @@ class AuroHelpText extends i$2 {
|
|
|
5445
5445
|
}
|
|
5446
5446
|
}
|
|
5447
5447
|
|
|
5448
|
-
var formkitVersion = '
|
|
5448
|
+
var formkitVersion = '202606041922';
|
|
5449
5449
|
|
|
5450
5450
|
let AuroElement$1 = class AuroElement extends i$2 {
|
|
5451
5451
|
static get properties() {
|
|
@@ -1049,7 +1049,7 @@ class AuroHelpText extends LitElement {
|
|
|
1049
1049
|
}
|
|
1050
1050
|
}
|
|
1051
1051
|
|
|
1052
|
-
var formkitVersion = '
|
|
1052
|
+
var formkitVersion = '202606041922';
|
|
1053
1053
|
|
|
1054
1054
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1055
1055
|
// See LICENSE in the project root for license information.
|
|
@@ -1049,7 +1049,7 @@ class AuroHelpText extends LitElement {
|
|
|
1049
1049
|
}
|
|
1050
1050
|
}
|
|
1051
1051
|
|
|
1052
|
-
var formkitVersion = '
|
|
1052
|
+
var formkitVersion = '202606041922';
|
|
1053
1053
|
|
|
1054
1054
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1055
1055
|
// See LICENSE in the project root for license information.
|
|
@@ -7,57 +7,58 @@ The `auro-datepicker` component provides users with a way to select a date or da
|
|
|
7
7
|
|
|
8
8
|
## Properties
|
|
9
9
|
|
|
10
|
-
| Property | Attribute | Modifiers | Type | Default
|
|
11
|
-
|
|
12
|
-
| `appearance` | `appearance` | | `string` | "'default'"
|
|
13
|
-
| `autoPlacement` | `autoPlacement` | | `boolean` | "false"
|
|
14
|
-
| `calendarEndDate` | `calendarEndDate` | | `string` | "undefined"
|
|
15
|
-
| `calendarEndDateObject` | | readonly | `Date \| undefined` |
|
|
16
|
-
| `calendarFocusDate` | `calendarFocusDate` | | `string` | "value"
|
|
17
|
-
| `calendarFocusDateObject` | | readonly | `Date \| undefined` |
|
|
18
|
-
| `calendarStartDate` | `calendarStartDate` | | `string` | "undefined"
|
|
19
|
-
| `calendarStartDateObject` | | readonly | `Date \| undefined` |
|
|
20
|
-
| `centralDate` | `centralDate` | | `string` |
|
|
21
|
-
| `centralDateObject` | | readonly | `Date \| undefined` |
|
|
22
|
-
| `disabled` | `disabled` | | `boolean` | false
|
|
23
|
-
| `dvInputOnly` | `dvInputOnly` | | `boolean` | false
|
|
24
|
-
| `error` | `error` | | `string` |
|
|
25
|
-
| `format` | `format` | | `string` |
|
|
26
|
-
| `fullscreenBreakpoint` | `fullscreenBreakpoint` | | `'xs' \| 'sm' \| 'md' \| 'lg' \| 'xl' \| 'disabled'` | "'sm'"
|
|
27
|
-
| `hasError` | | readonly | `boolean` |
|
|
28
|
-
| `inputmode` | `inputmode` | | `string` |
|
|
29
|
-
| `largeFullscreenHeadline` | `largeFullscreenHeadline` | | `boolean` | false
|
|
30
|
-
| `layout` | `layout` | | `'classic' \| 'snowflake'` | "'classic'"
|
|
31
|
-
| `
|
|
32
|
-
| `
|
|
33
|
-
| `
|
|
34
|
-
| `
|
|
35
|
-
| `
|
|
36
|
-
| `
|
|
37
|
-
| `
|
|
38
|
-
| `
|
|
39
|
-
| `
|
|
40
|
-
| `
|
|
41
|
-
| `
|
|
42
|
-
| `
|
|
43
|
-
| `
|
|
44
|
-
| `
|
|
45
|
-
| `
|
|
46
|
-
| `
|
|
47
|
-
| `
|
|
48
|
-
| `
|
|
49
|
-
| `
|
|
50
|
-
| `
|
|
51
|
-
| `
|
|
52
|
-
| `
|
|
53
|
-
| `
|
|
54
|
-
| `
|
|
55
|
-
| `
|
|
56
|
-
| `
|
|
57
|
-
| `
|
|
58
|
-
| `
|
|
59
|
-
| `
|
|
60
|
-
| `
|
|
10
|
+
| Property | Attribute | Modifiers | Type | Default | Description |
|
|
11
|
+
|-----------------------------------|-----------------------------------|-----------|--------------------------------------------------|------------------|--------------------------------------------------|
|
|
12
|
+
| `appearance` | `appearance` | | `string` | "'default'" | Defines whether the component will be on lighter or darker backgrounds. |
|
|
13
|
+
| `autoPlacement` | `autoPlacement` | | `boolean` | "false" | If declared, bib's position will be automatically calculated where to appear. |
|
|
14
|
+
| `calendarEndDate` | `calendarEndDate` | | `string` | "undefined" | The last date that may be displayed in the calendar. |
|
|
15
|
+
| `calendarEndDateObject` | | readonly | `Date \| undefined` | | |
|
|
16
|
+
| `calendarFocusDate` | `calendarFocusDate` | | `string` | "value" | The date that will first be visually rendered to the user in the calendar. |
|
|
17
|
+
| `calendarFocusDateObject` | | readonly | `Date \| undefined` | | |
|
|
18
|
+
| `calendarStartDate` | `calendarStartDate` | | `string` | "undefined" | The first date that may be displayed in the calendar. |
|
|
19
|
+
| `calendarStartDateObject` | | readonly | `Date \| undefined` | | |
|
|
20
|
+
| `centralDate` | `centralDate` | | `string` | | The date that determines the currently visible month. |
|
|
21
|
+
| `centralDateObject` | | readonly | `Date \| undefined` | | |
|
|
22
|
+
| `disabled` | `disabled` | | `boolean` | false | If set, disables the datepicker. |
|
|
23
|
+
| `dvInputOnly` | `dvInputOnly` | | `boolean` | false | If defined, the display value slot content will only mask the HTML5 input element. The input's label will not be masked. |
|
|
24
|
+
| `error` | `error` | | `string` | | When defined, sets persistent validity to `customError` and sets the validation message to the attribute value. |
|
|
25
|
+
| `format` | `format` | | `string` | | Specifies the date format. The default is `mm/dd/yyyy`. |
|
|
26
|
+
| `fullscreenBreakpoint` | `fullscreenBreakpoint` | | `'xs' \| 'sm' \| 'md' \| 'lg' \| 'xl' \| 'disabled'` | "'sm'" | Defines the screen size breakpoint at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.<br /><br />When expanded, the dropdown will automatically display in fullscreen mode<br />if the screen size is equal to or smaller than the selected breakpoint. |
|
|
27
|
+
| `hasError` | | readonly | `boolean` | | |
|
|
28
|
+
| `inputmode` | `inputmode` | | `string` | | Exposes inputmode attribute for input. |
|
|
29
|
+
| `largeFullscreenHeadline` | `largeFullscreenHeadline` | | `boolean` | false | If declared, make bib.fullscreen.headline in HeadingDisplay.<br />Otherwise, Heading 600. |
|
|
30
|
+
| `layout` | `layout` | | `'classic' \| 'snowflake'` | "'classic'" | Sets the layout of the datepicker. |
|
|
31
|
+
| `locale` | `locale` | | `string` | | Defines the locale of the element. Used to derive the date format when `format` is not explicitly set. |
|
|
32
|
+
| `maxDate` | `maxDate` | | `string` | | Maximum date. All dates after will be disabled. |
|
|
33
|
+
| `maxDateObject` | | readonly | `Date \| undefined` | | |
|
|
34
|
+
| `minDate` | `minDate` | | `string` | | Minimum date. All dates before will be disabled. |
|
|
35
|
+
| `minDateObject` | | readonly | `Date \| undefined` | | |
|
|
36
|
+
| `monthNames` | `monthNames` | | `array` | | Names of all 12 months to render in the calendar.<br />When omitted, month names will be automatically populated from the active `locale` (falling back to `en-US`). |
|
|
37
|
+
| `noFlip` | `noFlip` | | `boolean` | false | If declared, the bib will NOT flip to an alternate position<br />when there isn't enough space in the specified `placement`. |
|
|
38
|
+
| `noValidate` | `noValidate` | | `boolean` | false | If set, disables auto-validation on blur. |
|
|
39
|
+
| `offset` | `offset` | | `number` | "0" | Gap between the trigger element and bib. |
|
|
40
|
+
| `onDark` | `onDark` | | `boolean` | false | DEPRECATED - use `appearance="inverse"` instead. |
|
|
41
|
+
| `placeholder` | `placeholder` | | `string` | | Placeholder text to display in the input(s) when no value is set. |
|
|
42
|
+
| `placeholderEndDate` | `placeholderEndDate` | | `string` | | Optional placeholder text to display in the second input when using date range.<br />By default, datepicker will use `placeholder` for both inputs if placeholder is<br />specified, but placeholderEndDate is not. |
|
|
43
|
+
| `placement` | `placement` | | `'top' \| 'right' \| 'bottom' \| 'left' \| 'bottom-start' \| 'top-start' \| 'top-end' \| 'right-start' \| 'right-end' \| 'bottom-end' \| 'left-start' \| 'left-end'` | "'bottom-start'" | Position where the bib should appear relative to the trigger. |
|
|
44
|
+
| `range` | `range` | | `boolean` | false | If set, turns on date range functionality in auro-calendar. |
|
|
45
|
+
| `referenceDates` | `referenceDates` | | `array` | | Dates that the user should have for reference as part of their decision making when selecting a date.<br />This should be a JSON string array of ISO date strings (`YYYY-MM-DD`). |
|
|
46
|
+
| `required` | `required` | | `boolean` | false | Populates the `required` attribute on the input. Used for client-side validation. |
|
|
47
|
+
| `setCustomValidity` | `setCustomValidity` | | `string` | | Sets a custom help text message to display for all validityStates. |
|
|
48
|
+
| `setCustomValidityCustomError` | `setCustomValidityCustomError` | | `string` | | Custom help text message to display when validity = `customError`. |
|
|
49
|
+
| `setCustomValidityRangeOverflow` | `setCustomValidityRangeOverflow` | | `string` | | Custom help text message to display when validity = `rangeOverflow`. |
|
|
50
|
+
| `setCustomValidityRangeUnderflow` | `setCustomValidityRangeUnderflow` | | `string` | | Custom help text message to display when validity = `rangeUnderflow`. |
|
|
51
|
+
| `setCustomValidityValueMissing` | `setCustomValidityValueMissing` | | `string` | | Custom help text message to display when validity = `valueMissing`. |
|
|
52
|
+
| `shape` | | | `string` | "classic" | |
|
|
53
|
+
| `shift` | `shift` | | `boolean` | false | If declared, the dropdown will shift its position to avoid being cut off by the viewport. |
|
|
54
|
+
| `size` | | | `string` | "lg" | |
|
|
55
|
+
| `stacked` | `stacked` | | `boolean` | false | Set true to make datepicker stacked style. |
|
|
56
|
+
| `validity` | `validity` | | `string` | "undefined" | Specifies the `validityState` this element is in. |
|
|
57
|
+
| `value` | `value` | | `string` | "undefined" | Value selected for the datepicker. |
|
|
58
|
+
| `valueEnd` | `valueEnd` | | `string` | "undefined" | Value selected for the second datepicker when using date range. |
|
|
59
|
+
| `valueEndObject` | | readonly | `Date \| undefined` | | |
|
|
60
|
+
| `valueObject` | | readonly | `Date \| undefined` | | |
|
|
61
|
+
| `values` | | readonly | `string[]` | | A convenience wrapper for `value` and `valueEnd`, uses the new Auro "array value pattern". |
|
|
61
62
|
|
|
62
63
|
## Methods
|
|
63
64
|
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
<auro-anchorlink fluid href="#customValidation" class="level2 body-xs">Custom Validation</auro-anchorlink>
|
|
20
20
|
<auro-anchorlink fluid href="#noValidate" class="level2 body-xs">No Validation</auro-anchorlink>
|
|
21
21
|
<auro-anchorlink fluid href="#minMaxDate" class="level2 body-xs">Min/Max Date</auro-anchorlink>
|
|
22
|
-
<auro-anchorlink fluid href="#
|
|
22
|
+
<auro-anchorlink fluid href="#regionalDate" class="level2 body-xs">Regional Date</auro-anchorlink>
|
|
23
23
|
</auro-nav>
|
|
24
24
|
</nav>
|
|
25
25
|
<div class="mainContent">
|
|
@@ -694,27 +694,64 @@
|
|
|
694
694
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
695
695
|
</auro-accordion>
|
|
696
696
|
<auro-header level="3" id="localization">Localization</auro-header>
|
|
697
|
-
<
|
|
697
|
+
<auro-header level="4" id="regionalDate">Regional Date</auro-header>
|
|
698
|
+
<p>When the <code>locale</code> attribute is set, the component automatically derives the correct date format for that region — no need to set <code>format</code> manually. For example, <code>locale="en-US"</code> produces <code>mm/dd/yyyy</code>, <code>locale="de-DE"</code> produces <code>dd.mm.yyyy</code>, and <code>locale="ja-JP"</code> produces <code>yyyy/mm/dd</code>.</p>
|
|
699
|
+
<p>If <code>format</code> is explicitly set alongside <code>locale</code>, <code>format</code> always wins. Use this when a specific format is required regardless of region.</p>
|
|
700
|
+
<p>If no <code>locale</code> attribute is set on the element, the component walks up the DOM looking for the nearest ancestor with a <code>data-locale</code> attribute and uses that value. If none is found, it defaults to <code>en-US</code>.</p>
|
|
698
701
|
<div class="exampleWrapper">
|
|
699
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/
|
|
700
|
-
<!-- The below content is automatically added from ./../apiExamples/
|
|
701
|
-
<
|
|
702
|
-
<
|
|
703
|
-
<span slot="fromLabel">
|
|
704
|
-
<span slot="
|
|
702
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/locale.html) -->
|
|
703
|
+
<!-- The below content is automatically added from ./../apiExamples/locale.html -->
|
|
704
|
+
<div data-locale="de-DE">
|
|
705
|
+
<auro-datepicker locale="en-US">
|
|
706
|
+
<span slot="fromLabel">en-US Date</span>
|
|
707
|
+
<span slot="helpText">Help Text</span>
|
|
708
|
+
</auro-datepicker>
|
|
709
|
+
<auro-datepicker locale="de-DE">
|
|
710
|
+
<span slot="fromLabel">de-DE Date</span>
|
|
711
|
+
<span slot="helpText">Help Text</span>
|
|
712
|
+
</auro-datepicker>
|
|
713
|
+
<auro-datepicker locale="zh-CN">
|
|
714
|
+
<span slot="fromLabel">zh-CN Date</span>
|
|
715
|
+
<span slot="helpText">Help Text</span>
|
|
716
|
+
</auro-datepicker>
|
|
717
|
+
<auro-datepicker>
|
|
718
|
+
<span slot="fromLabel">Nearest `data-locale` attribute format (`de-DE` in this case)</span>
|
|
719
|
+
<span slot="helpText">Help Text</span>
|
|
720
|
+
</auro-datepicker>
|
|
721
|
+
<auro-datepicker locale="ja-JP" format="mm/dd/yyyy">
|
|
722
|
+
<span slot="fromLabel">ja-JP locale with explicit mm/dd/yyyy format</span>
|
|
723
|
+
<span slot="helpText">Help Text</span>
|
|
705
724
|
</auro-datepicker>
|
|
725
|
+
</div>
|
|
706
726
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
707
727
|
</div>
|
|
708
728
|
<auro-accordion alignRight>
|
|
709
729
|
<span slot="trigger">See code</span>
|
|
710
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/
|
|
711
|
-
<!-- The below code snippet is automatically added from ./../apiExamples/
|
|
730
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/locale.html) -->
|
|
731
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/locale.html -->
|
|
712
732
|
|
|
713
|
-
<pre class="language-html"><code class="language-html"><
|
|
714
|
-
<
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
</auro-datepicker>
|
|
733
|
+
<pre class="language-html"><code class="language-html"><div data-locale="de-DE">
|
|
734
|
+
<auro-datepicker locale="en-US">
|
|
735
|
+
<span slot="fromLabel">en-US Date</span>
|
|
736
|
+
<span slot="helpText">Help Text</span>
|
|
737
|
+
</auro-datepicker>
|
|
738
|
+
<auro-datepicker locale="de-DE">
|
|
739
|
+
<span slot="fromLabel">de-DE Date</span>
|
|
740
|
+
<span slot="helpText">Help Text</span>
|
|
741
|
+
</auro-datepicker>
|
|
742
|
+
<auro-datepicker locale="zh-CN">
|
|
743
|
+
<span slot="fromLabel">zh-CN Date</span>
|
|
744
|
+
<span slot="helpText">Help Text</span>
|
|
745
|
+
</auro-datepicker>
|
|
746
|
+
<auro-datepicker>
|
|
747
|
+
<span slot="fromLabel">Nearest `data-locale` attribute format (`de-DE` in this case)</span>
|
|
748
|
+
<span slot="helpText">Help Text</span>
|
|
749
|
+
</auro-datepicker>
|
|
750
|
+
<auro-datepicker locale="ja-JP" format="mm/dd/yyyy">
|
|
751
|
+
<span slot="fromLabel">ja-JP locale with explicit mm/dd/yyyy format</span>
|
|
752
|
+
<span slot="helpText">Help Text</span>
|
|
753
|
+
</auro-datepicker>
|
|
754
|
+
</div></code></pre>
|
|
718
755
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
719
756
|
</auro-accordion>
|
|
720
757
|
</section>
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
<auro-anchorlink fluid href="#selectRange" class="level2 body-xs">Select a Range</auro-anchorlink>
|
|
11
11
|
<auro-anchorlink fluid href="#presetValue" class="level2 body-xs">Preset Value</auro-anchorlink>
|
|
12
12
|
<auro-anchorlink fluid href="#skipSelection" class="level2 body-xs">Skip Selection</auro-anchorlink>
|
|
13
|
+
<auro-anchorlink fluid href="#regionalDateFormat" class="level2 body-xs">Regional Date</auro-anchorlink>
|
|
13
14
|
<auro-anchorlink fluid href="#viewportSize" class="level2 body-xs">Viewport Size</auro-anchorlink>
|
|
14
15
|
</auro-nav>
|
|
15
16
|
</nav>
|
|
@@ -167,6 +168,28 @@
|
|
|
167
168
|
<auro-header level="3" id="skipSelection">Skip selection</auro-header>
|
|
168
169
|
<p>The datepicker does not force the user to select a date. If no selection is made and the field is not <code>required</code>, the user can move past the datepicker without entering a value.</p>
|
|
169
170
|
<p>If the field is <code>required</code>, moving focus away without selecting a date triggers validation and renders the <code>valueMissing</code> error state.</p>
|
|
171
|
+
<auro-header level="3" id="regionalDateFormat">Regional date format support</auro-header>
|
|
172
|
+
<p>People around the world write dates differently. A traveler in the United States expects to see <strong>12/25/2025</strong>, while someone in Germany expects <strong>25.12.2025</strong>, and someone in Japan expects <strong>2025/12/25</strong>. Showing the wrong format causes confusion and mistakes.</p>
|
|
173
|
+
<p>When the datepicker knows the user's region via the <code>locale</code> attribute, it automatically displays dates in the format that looks natural to them — no extra setup required.</p>
|
|
174
|
+
<div class="exampleWrapper">
|
|
175
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/locale-single.html) -->
|
|
176
|
+
<!-- The below content is automatically added from ./../apiExamples/locale-single.html -->
|
|
177
|
+
<auro-datepicker locale="zh-CN">
|
|
178
|
+
<span slot="fromLabel">zh-CN Date</span>
|
|
179
|
+
<span slot="helpText">Help Text</span>
|
|
180
|
+
</auro-datepicker>
|
|
181
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
182
|
+
</div>
|
|
183
|
+
<auro-accordion alignRight>
|
|
184
|
+
<span slot="trigger">See code</span>
|
|
185
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/locale-single.html) -->
|
|
186
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/locale-single.html -->
|
|
187
|
+
<pre class="language-html"><code class="language-html"><auro-datepicker locale="zh-CN">
|
|
188
|
+
<span slot="fromLabel">zh-CN Date</span>
|
|
189
|
+
<span slot="helpText">Help Text</span>
|
|
190
|
+
</auro-datepicker></code></pre>
|
|
191
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
192
|
+
</auro-accordion>
|
|
170
193
|
<auro-header level="3" id="viewportSize">Viewport size</auro-header>
|
|
171
194
|
<p>The datepicker automatically adapts its presentation based on viewport size. On larger screens, the calendar opens in a floating popover anchored to the trigger. On smaller screens, the calendar opens in a fullscreen dialog.</p>
|
|
172
195
|
<p>The breakpoint at which the fullscreen behavior activates is controlled by the <code>fullscreenBreakpoint</code> attribute. The default value is <code>sm</code>. Supported values are <code>xs</code>, <code>sm</code>, <code>md</code>, <code>lg</code>, <code>xl</code>, and <code>disabled</code>.</p>
|