@aurodesignsystem-dev/auro-formkit 0.0.0-pr1488.1 → 0.0.0-pr1489.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 +7 -0
- package/components/bibtemplate/dist/index.js +9 -1
- package/components/bibtemplate/dist/registered.js +9 -1
- 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/demo/pages.json +1 -1
- package/components/checkbox/demo/why-checkbox.html +57 -0
- package/components/checkbox/demo/why-checkbox.md +86 -0
- package/components/checkbox/dist/index.js +1 -1
- package/components/checkbox/dist/registered.js +1 -1
- package/components/combobox/demo/customize.min.js +234 -16
- package/components/combobox/demo/getting-started.min.js +234 -16
- package/components/combobox/demo/index.min.js +234 -16
- package/components/combobox/demo/pages.json +1 -1
- package/components/combobox/demo/why-combobox.html +57 -0
- package/components/combobox/demo/why-combobox.md +113 -0
- package/components/combobox/dist/index.js +234 -16
- package/components/combobox/dist/registered.js +234 -16
- package/components/counter/demo/customize.min.js +233 -15
- package/components/counter/demo/index.min.js +233 -15
- package/components/counter/demo/keyboard-behavior.md +1 -0
- package/components/counter/demo/pages.json +1 -1
- package/components/counter/demo/why-counter.html +57 -0
- package/components/counter/demo/why-counter.md +108 -0
- package/components/counter/dist/index.js +10 -2
- package/components/counter/dist/registered.js +10 -2
- package/components/datepicker/demo/accessibility.md +51 -3
- package/components/datepicker/demo/api.md +11 -2
- package/components/datepicker/demo/customize.html +2 -0
- package/components/datepicker/demo/customize.js +19 -0
- package/components/datepicker/demo/customize.md +72 -8
- package/components/datepicker/demo/customize.min.js +26029 -0
- package/components/datepicker/demo/design.md +3 -1
- package/components/datepicker/demo/index.js +5 -1
- package/components/datepicker/demo/index.md +83 -2
- package/components/datepicker/demo/index.min.js +1564 -96
- package/components/datepicker/demo/keyboard-behavior.md +201 -2
- package/components/datepicker/demo/pages.json +1 -1
- package/components/datepicker/demo/voiceover.md +19 -12
- package/components/datepicker/demo/why-datepicker.html +57 -0
- package/components/datepicker/demo/why-datepicker.md +133 -0
- package/components/datepicker/dist/index.js +1489 -97
- package/components/datepicker/dist/registered.js +1489 -97
- package/components/datepicker/dist/src/auro-calendar-cell.d.ts +66 -1
- package/components/datepicker/dist/src/auro-calendar-month.d.ts +28 -0
- package/components/datepicker/dist/src/auro-calendar.d.ts +100 -0
- package/components/datepicker/dist/src/auro-datepicker.d.ts +88 -0
- package/components/datepicker/dist/src/datepickerKeyboardStrategy.d.ts +5 -3
- package/components/dropdown/demo/accessibility.md +11 -0
- package/components/dropdown/demo/api.md +1 -0
- package/components/dropdown/demo/customize.md +3 -0
- package/components/dropdown/demo/customize.min.js +223 -13
- package/components/dropdown/demo/getting-started.min.js +223 -13
- package/components/dropdown/demo/index.min.js +223 -13
- package/components/dropdown/demo/keyboard-behavior.md +1 -0
- package/components/dropdown/demo/pages.json +1 -1
- package/components/dropdown/demo/why-dropdown.html +57 -0
- package/components/dropdown/demo/why-dropdown.md +97 -0
- package/components/dropdown/dist/auro-dropdown.d.ts +33 -1
- package/components/dropdown/dist/index.js +223 -13
- package/components/dropdown/dist/registered.js +223 -13
- package/components/form/demo/customize.min.js +2191 -145
- package/components/form/demo/getting-started.min.js +2191 -145
- package/components/form/demo/index.min.js +2191 -145
- package/components/form/demo/pages.json +1 -1
- package/components/form/demo/registerDemoDeps.min.js +2191 -145
- package/components/form/demo/why-form.html +57 -0
- package/components/form/demo/why-form.md +101 -0
- 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/demo/pages.json +1 -1
- package/components/input/demo/why-input.html +57 -0
- package/components/input/demo/why-input.md +121 -0
- package/components/input/dist/index.js +1 -1
- package/components/input/dist/registered.js +1 -1
- package/components/menu/demo/pages.json +1 -1
- package/components/menu/demo/why-menu.html +57 -0
- package/components/menu/demo/why-menu.md +104 -0
- package/components/radio/demo/customize.min.js +2186 -0
- package/components/radio/demo/demo-support.min.js +55807 -0
- package/components/radio/demo/getting-started.js +1 -1
- package/components/radio/demo/getting-started.md +1 -1
- package/components/radio/demo/getting-started.min.js +2205 -0
- package/components/radio/demo/index.min.js +1 -1
- package/components/radio/demo/pages.json +1 -1
- package/components/radio/demo/why-radio.html +57 -0
- package/components/radio/demo/why-radio.md +92 -0
- package/components/radio/dist/index.js +1 -1
- package/components/radio/dist/registered.js +1 -1
- package/components/select/demo/customize.min.js +233 -15
- package/components/select/demo/getting-started.min.js +233 -15
- package/components/select/demo/index.min.js +233 -15
- package/components/select/demo/keyboard-behavior.md +1 -0
- package/components/select/demo/pages.json +1 -1
- package/components/select/demo/why-select.html +57 -0
- package/components/select/demo/why-select.md +128 -0
- package/components/select/dist/index.js +233 -15
- package/components/select/dist/registered.js +233 -15
- package/custom-elements.json +2177 -1460
- package/package.json +2 -2
|
@@ -26,29 +26,77 @@ The clear button (shown when the input has a value) exposes:
|
|
|
26
26
|
- Help text is associated with the component so screen readers can announce contextual guidance.
|
|
27
27
|
- When validation fails, the error message is rendered with `role="alert"` and `aria-live="assertive"` to ensure it is announced immediately.
|
|
28
28
|
|
|
29
|
+
<auro-header level="3" id="calendarGrid">Calendar Grid</auro-header>
|
|
30
|
+
The calendar uses the WAI-ARIA grid pattern for screen reader navigation:
|
|
31
|
+
|
|
32
|
+
| Attribute | Applied to | Description |
|
|
33
|
+
|---|---|---|
|
|
34
|
+
| `role="grid"` | Calendar table | Identifies the calendar as a grid. `aria-labelledby` points to the month heading. |
|
|
35
|
+
| `role="rowgroup"` | Header / body groups | Groups the day-of-week header row and the week rows. |
|
|
36
|
+
| `role="row"` | Week row | Groups each week of date cells. |
|
|
37
|
+
| `role="columnheader"` | Day-of-week header | Each day-of-week abbreviation. Rendered as an `<abbr>` element with the full day name in the `title` attribute so screen readers can announce the expanded form. |
|
|
38
|
+
| `role="gridcell"` | In-range date cell | Each selectable date cell. Includes `aria-selected`, `aria-current="date"` (for today), and a visually-hidden text label. |
|
|
39
|
+
| `role="presentation"` | Out-of-range date cell | Cells outside the valid min/max range. Also receive `aria-hidden="true"` and `tabindex="-1"` to remove them from both the accessibility tree and the tab order. |
|
|
40
|
+
| `aria-disabled="true"` | Blackout date cell | Cells matching the `blackout` dates list. Unlike out-of-range cells, blackout cells **remain focusable** via arrow-key navigation so screen reader users can discover them. The cell's label includes ", unavailable" to communicate that the date cannot be selected. |
|
|
41
|
+
| `aria-selected` | Date cell button | `"true"` for the selected date(s), `"false"` for all other in-range cells. |
|
|
42
|
+
| Accessible name | Date cell button | Provided via visually-hidden text content (not an `aria-label` attribute). Localized label built from `Intl.DateTimeFormat` (weekday, month, day, year), plus the range position label (e.g., "range start") and availability status (", unavailable" for blackout dates). |
|
|
43
|
+
|
|
29
44
|
<auro-header level="2" id="focusManagement">Focus Management</auro-header>
|
|
30
45
|
The component uses `delegatesFocus: true` on its shadow root, meaning focus is automatically delegated to the first focusable element inside the component (the date input).
|
|
31
46
|
|
|
32
|
-
|
|
47
|
+
<auro-header level="3" id="rovingTabindex">Roving Tabindex</auro-header>
|
|
48
|
+
The calendar grid uses a **roving tabindex** pattern. Only one date cell across the entire calendar has `tabindex="0"` at a time — all other cells have `tabindex="-1"`. Arrow keys move the active cell without wrapping; when a boundary is reached the calendar navigates to the adjacent month.
|
|
49
|
+
|
|
50
|
+
The initial active cell is determined in priority order:
|
|
51
|
+
|
|
52
|
+
1. The currently selected date (if within the valid range).
|
|
53
|
+
2. Today's date (if enabled).
|
|
54
|
+
3. The first future enabled date.
|
|
55
|
+
4. The first past enabled date.
|
|
56
|
+
|
|
57
|
+
<auro-header level="3" id="focusOnOpen">Focus on Open</auro-header>
|
|
58
|
+
When the calendar bib opens, focus moves to the active date cell inside the calendar grid. This applies to both desktop and fullscreen modes.
|
|
33
59
|
|
|
34
60
|
<auro-header level="2" id="screenReaderAnnouncements">Screen Reader Announcements</auro-header>
|
|
61
|
+
- **Date selection** — When a date is selected, the calendar's live region (`aria-live="assertive"`) announces the formatted date (e.g., "Wednesday, January 15, 2025"). For range datepickers, both the start and end date selections are announced.
|
|
62
|
+
- **Date cell labels** — Each date cell contains a visually-hidden `<span class="srOnly">` with the full localized label. VoiceOver reads this content instead of `aria-label`, which iOS VoiceOver does not reliably announce on buttons.
|
|
35
63
|
- **Validation errors** — When a validation error occurs, the error message is rendered with `role="alert"` and `aria-live="assertive"`, causing it to be announced immediately without requiring focus.
|
|
36
64
|
- **Help text** — The help text content is associated with the input so that screen readers announce it as part of the element description when focused.
|
|
37
65
|
|
|
38
66
|
<auro-header level="2" id="accessibleLabels">Accessible Labels</auro-header>
|
|
39
|
-
- The `fromLabel` slot content is used as the accessible name for the first date input.
|
|
67
|
+
- The `fromLabel` slot content is used as the accessible name for the first date input. It is also forwarded to the dropdown bib as the dialog's accessible name (`aria-labelledby`).
|
|
40
68
|
- When `range` is set, the `toLabel` slot content provides the accessible name for the second date input.
|
|
41
69
|
- The `label` slot is used as the main label when `layout="snowflake"`.
|
|
70
|
+
- The `ariaLabel.bib.close` slot customizes the close button label in fullscreen mode (defaults to "Close").
|
|
71
|
+
- The `ariaLabel.input.clear` slot customizes the clear button label (falls back to a localized default).
|
|
42
72
|
- A label is required. Without it, assistive technology users will not have context for what the datepicker controls.
|
|
43
73
|
|
|
74
|
+
<auro-header level="3" id="rangeLabels">Configurable Range Labels</auro-header>
|
|
75
|
+
When `range` is set, each date cell's label includes its position relative to the selected range. These labels are configurable via attributes for localization:
|
|
76
|
+
|
|
77
|
+
| Attribute | Default | Description |
|
|
78
|
+
|---|---|---|
|
|
79
|
+
| `rangeLabelStart` | "range start" | Announced for the range start date. |
|
|
80
|
+
| `rangeLabelEnd` | "range end" | Announced for the range end date. |
|
|
81
|
+
| `rangeLabelBeforeRange` | "before range" | Announced for dates before the range start. |
|
|
82
|
+
| `rangeLabelInRange` | "in range" | Announced for dates within the selected range. |
|
|
83
|
+
| `rangeLabelAfterRange` | "after range" | Announced for dates after the range (or after start when no end is selected). |
|
|
84
|
+
|
|
44
85
|
<auro-header level="2" id="fullscreenBehavior">Fullscreen (Modal) Behavior</auro-header>
|
|
45
86
|
On smaller viewports, the calendar bib opens as a fullscreen modal dialog:
|
|
46
87
|
|
|
47
88
|
- The dialog is opened with `showModal()`, which provides **native focus trapping** — only elements inside the dialog are reachable via Tab.
|
|
48
89
|
- Content outside the dialog is automatically made **inert** by the browser, preventing interaction with the page behind it.
|
|
49
|
-
-
|
|
90
|
+
- The trigger input is set to `inert` while the fullscreen dialog is open, preventing VoiceOver from reaching it behind the dialog.
|
|
50
91
|
- Touch scrolling on the page behind the dialog is blocked to prevent the background from scrolling into view.
|
|
51
92
|
|
|
93
|
+
<auro-header level="2" id="desktopModalBehavior">Desktop Modal Behavior</auro-header>
|
|
94
|
+
On larger viewports, the datepicker opens as a popover with modal-like focus management:
|
|
95
|
+
|
|
96
|
+
- Sibling elements of the dropdown host are set to `inert`, preventing interaction with the rest of the page while the calendar is open.
|
|
97
|
+
- Tab and Shift+Tab are trapped within the bib content, wrapping focus between the first and last focusable elements.
|
|
98
|
+
- Inertness and focus trapping are cleaned up when the bib closes or the component is disconnected.
|
|
99
|
+
|
|
52
100
|
<auro-header level="2" id="reducedMotion">Reduced Motion</auro-header>
|
|
53
101
|
The component respects the `prefers-reduced-motion` media query. When the user has requested reduced motion, scroll animations use instant scrolling instead of smooth scrolling.
|
|
54
102
|
|
|
@@ -11,6 +11,8 @@ The `auro-datepicker` component provides users with a way to select a date or da
|
|
|
11
11
|
|-----------------------------------|-----------------------------------|-----------|--------------------------------------------------|--------------------------------------------------|--------------------------------------------------|
|
|
12
12
|
| `appearance` | `appearance` | | `string` | "'default'" | Defines whether the component will be on lighter or darker backgrounds. |
|
|
13
13
|
| `autoPlacement` | `autoPlacement` | | `boolean` | "false" | If declared, bib's position will be automatically calculated where to appear. |
|
|
14
|
+
| `blackoutDates` | `blackoutDates` | | `array` | [] | Array of dates that cannot be selected. Dates should be in ISO format (YYYY-MM-DD). |
|
|
15
|
+
| `blackoutLabel` | `blackoutLabel` | | `string` | "unavailable" | Label announced for blackout (disabled but in-range) date cells. |
|
|
14
16
|
| `calendarEndDate` | `calendarEndDate` | | `string` | "undefined" | The last date that may be displayed in the calendar. |
|
|
15
17
|
| `calendarFocusDate` | `calendarFocusDate` | | `string` | "value" | The date that will first be visually rendered to the user in the calendar. |
|
|
16
18
|
| `calendarStartDate` | `calendarStartDate` | | `string` | "undefined" | The first date that may be displayed in the calendar. |
|
|
@@ -27,6 +29,8 @@ The `auro-datepicker` component provides users with a way to select a date or da
|
|
|
27
29
|
| `maxDate` | `maxDate` | | `string` | | Maximum date. All dates after will be disabled. |
|
|
28
30
|
| `minDate` | `minDate` | | `string` | | Minimum date. All dates before will be disabled. |
|
|
29
31
|
| `monthNames` | `monthNames` | | `array` | ["January","February","March","April","May","June","July","August","September","October","November","December"] | Names of all 12 months to render in the calendar, used for localization of date string in mobile layout. |
|
|
32
|
+
| `navLabelNextMonth` | `navLabelNextMonth` | | `string` | "Next month" | Accessible label for the next month navigation button. |
|
|
33
|
+
| `navLabelPrevMonth` | `navLabelPrevMonth` | | `string` | "Previous month" | Accessible label for the previous month navigation button. |
|
|
30
34
|
| `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`. |
|
|
31
35
|
| `noValidate` | `noValidate` | | `boolean` | false | If set, disables auto-validation on blur. |
|
|
32
36
|
| `offset` | `offset` | | `number` | "0" | Gap between the trigger element and bib. |
|
|
@@ -35,10 +39,15 @@ The `auro-datepicker` component provides users with a way to select a date or da
|
|
|
35
39
|
| `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. |
|
|
36
40
|
| `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. |
|
|
37
41
|
| `range` | `range` | | `boolean` | false | If set, turns on date range functionality in auro-calendar. |
|
|
42
|
+
| `rangeLabelAfterRange` | `rangeLabelAfterRange` | | `string` | "after range" | Label announced for cells after the range (or after start when no end is selected). |
|
|
43
|
+
| `rangeLabelBeforeRange` | `rangeLabelBeforeRange` | | `string` | "before range" | Label announced for cells before the range start. |
|
|
44
|
+
| `rangeLabelEnd` | `rangeLabelEnd` | | `string` | "range end" | Label announced for the range end date cell. |
|
|
45
|
+
| `rangeLabelInRange` | `rangeLabelInRange` | | `string` | "in range" | Label announced for cells within the selected range. |
|
|
46
|
+
| `rangeLabelStart` | `rangeLabelStart` | | `string` | "range start" | Label announced for the range start date cell. |
|
|
38
47
|
| `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 dates in the format of `MM/DD/YYYY`. |
|
|
39
48
|
| `required` | `required` | | `boolean` | false | Populates the `required` attribute on the input. Used for client-side validation. |
|
|
40
49
|
| `setCustomValidity` | `setCustomValidity` | | `string` | | Sets a custom help text message to display for all validityStates. |
|
|
41
|
-
| `setCustomValidityCustomError` | `setCustomValidityCustomError` | | `string` | | Custom help text message to display when validity = `customError
|
|
50
|
+
| `setCustomValidityCustomError` | `setCustomValidityCustomError` | | `string` | | Custom help text message to display when validity = `customError`.<br />Also used as the validation message when a blackout date is typed into the input. |
|
|
42
51
|
| `setCustomValidityRangeOverflow` | `setCustomValidityRangeOverflow` | | `string` | | Custom help text message to display when validity = `rangeOverflow`. |
|
|
43
52
|
| `setCustomValidityRangeUnderflow` | `setCustomValidityRangeUnderflow` | | `string` | | Custom help text message to display when validity = `rangeUnderflow`. |
|
|
44
53
|
| `setCustomValidityValueMissing` | `setCustomValidityValueMissing` | | `string` | | Custom help text message to display when validity = `valueMissing`. |
|
|
@@ -74,7 +83,7 @@ The `auro-datepicker` component provides users with a way to select a date or da
|
|
|
74
83
|
| `auroDatePicker-newSlotContent` | `CustomEvent<any>` | Notifies that new slot content has been added to the datepicker. |
|
|
75
84
|
| `auroDatePicker-toggled` | `CustomEvent<{ expanded: any; }>` | Notifies that the calendar dropdown has been opened/closed. |
|
|
76
85
|
| `auroDatePicker-valueSet` | | Notifies that the component has a new value set. |
|
|
77
|
-
| `auroFormElement-validated` |
|
|
86
|
+
| `auroFormElement-validated` | `CustomEvent<{ validity: any; message: any; }>` | Notifies that the component value(s) have been validated. |
|
|
78
87
|
| `input` | | |
|
|
79
88
|
|
|
80
89
|
## Slots
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { AuroDatePicker } from '../src/auro-datepicker.js';
|
|
2
|
+
import { localizationExample } from '../apiExamples/localization.js';
|
|
3
|
+
|
|
4
|
+
AuroDatePicker.register();
|
|
5
|
+
|
|
6
|
+
export function initExamples(initCount) {
|
|
7
|
+
initCount = initCount || 0;
|
|
8
|
+
|
|
9
|
+
try {
|
|
10
|
+
localizationExample();
|
|
11
|
+
} catch {
|
|
12
|
+
if (initCount <= 20) {
|
|
13
|
+
// setTimeout handles issue where content is sometimes loaded after the functions get called
|
|
14
|
+
setTimeout(() => {
|
|
15
|
+
initExamples(initCount + 1);
|
|
16
|
+
}, 100);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -695,13 +695,70 @@
|
|
|
695
695
|
</auro-accordion>
|
|
696
696
|
<auro-header level="3" id="localization">Localization</auro-header>
|
|
697
697
|
<p>Use the <code>centralDate</code>, locale, and related attributes to configure the datepicker for different regions and languages.</p>
|
|
698
|
+
<auro-header level="4" id="rangeLabels">Screen Reader Labels</auro-header>
|
|
699
|
+
<p>The following attributes customize the labels announced by screen readers when navigating the calendar. Range labels apply when the <code>range</code> attribute is set; navigation labels apply to all configurations.</p>
|
|
700
|
+
<auro-table>
|
|
701
|
+
<table>
|
|
702
|
+
<thead>
|
|
703
|
+
<tr>
|
|
704
|
+
<th>Attribute</th>
|
|
705
|
+
<th>Default</th>
|
|
706
|
+
<th>Description</th>
|
|
707
|
+
</tr>
|
|
708
|
+
</thead>
|
|
709
|
+
<tbody>
|
|
710
|
+
<tr>
|
|
711
|
+
<td><code>rangeLabelStart</code></td>
|
|
712
|
+
<td>"range start"</td>
|
|
713
|
+
<td>Announced on the departure/start date cell.</td>
|
|
714
|
+
</tr>
|
|
715
|
+
<tr>
|
|
716
|
+
<td><code>rangeLabelEnd</code></td>
|
|
717
|
+
<td>"range end"</td>
|
|
718
|
+
<td>Announced on the return/end date cell.</td>
|
|
719
|
+
</tr>
|
|
720
|
+
<tr>
|
|
721
|
+
<td><code>rangeLabelBeforeRange</code></td>
|
|
722
|
+
<td>"before range"</td>
|
|
723
|
+
<td>Announced on cells before the start date.</td>
|
|
724
|
+
</tr>
|
|
725
|
+
<tr>
|
|
726
|
+
<td><code>rangeLabelInRange</code></td>
|
|
727
|
+
<td>"in range"</td>
|
|
728
|
+
<td>Announced on cells between the start and end dates.</td>
|
|
729
|
+
</tr>
|
|
730
|
+
<tr>
|
|
731
|
+
<td><code>rangeLabelAfterRange</code></td>
|
|
732
|
+
<td>"after range"</td>
|
|
733
|
+
<td>Announced on cells after the end date (or after start when no end is selected).</td>
|
|
734
|
+
</tr>
|
|
735
|
+
<tr>
|
|
736
|
+
<td><code>navLabelPrevMonth</code></td>
|
|
737
|
+
<td>"Previous month"</td>
|
|
738
|
+
<td>Accessible label for the previous month navigation button.</td>
|
|
739
|
+
</tr>
|
|
740
|
+
<tr>
|
|
741
|
+
<td><code>navLabelNextMonth</code></td>
|
|
742
|
+
<td>"Next month"</td>
|
|
743
|
+
<td>Accessible label for the next month navigation button.</td>
|
|
744
|
+
</tr>
|
|
745
|
+
</tbody>
|
|
746
|
+
</table>
|
|
747
|
+
</auro-table>
|
|
698
748
|
<div class="exampleWrapper">
|
|
699
749
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/localization.html) -->
|
|
700
750
|
<!-- The below content is automatically added from ./../apiExamples/localization.html -->
|
|
701
|
-
<auro-datepicker
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
751
|
+
<auro-datepicker range
|
|
752
|
+
rangeLabelStart="fecha de salida"
|
|
753
|
+
rangeLabelEnd="fecha de regreso"
|
|
754
|
+
rangeLabelBeforeRange="antes de la salida"
|
|
755
|
+
rangeLabelInRange="entre vuelos"
|
|
756
|
+
rangeLabelAfterRange="después del regreso"
|
|
757
|
+
navLabelPrevMonth="Ir al mes anterior"
|
|
758
|
+
navLabelNextMonth="Ir al mes siguiente"
|
|
759
|
+
id="localizationExample">
|
|
760
|
+
<span slot="fromLabel">Salida</span>
|
|
761
|
+
<span slot="toLabel">Regreso</span>
|
|
705
762
|
</auro-datepicker>
|
|
706
763
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
707
764
|
</div>
|
|
@@ -710,10 +767,17 @@
|
|
|
710
767
|
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/localization.html) -->
|
|
711
768
|
<!-- The below code snippet is automatically added from ./../apiExamples/localization.html -->
|
|
712
769
|
|
|
713
|
-
<pre class="language-html"><code class="language-html"><auro-datepicker
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
770
|
+
<pre class="language-html"><code class="language-html"><auro-datepicker range
|
|
771
|
+
rangeLabelStart="fecha de salida"
|
|
772
|
+
rangeLabelEnd="fecha de regreso"
|
|
773
|
+
rangeLabelBeforeRange="antes de la salida"
|
|
774
|
+
rangeLabelInRange="entre vuelos"
|
|
775
|
+
rangeLabelAfterRange="después del regreso"
|
|
776
|
+
navLabelPrevMonth="Ir al mes anterior"
|
|
777
|
+
navLabelNextMonth="Ir al mes siguiente"
|
|
778
|
+
id="localizationExample">
|
|
779
|
+
<span slot="fromLabel">Salida</span>
|
|
780
|
+
<span slot="toLabel">Regreso</span>
|
|
717
781
|
</auro-datepicker></code></pre>
|
|
718
782
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
719
783
|
</auro-accordion>
|