@aurodesignsystem-dev/auro-formkit 0.0.0-pr1628.0 → 0.0.0-pr1628.10
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 +1 -1
- package/components/bibtemplate/dist/index.js +1 -1
- package/components/bibtemplate/dist/registered.js +1 -1
- package/components/checkbox/README.md +1 -1
- package/components/checkbox/demo/accessibility.md +2 -2
- package/components/checkbox/demo/api.md +17 -17
- package/components/checkbox/demo/customize.md +16 -16
- package/components/checkbox/demo/customize.min.js +3 -3
- package/components/checkbox/demo/design.md +24 -24
- package/components/checkbox/demo/getting-started.md +33 -27
- package/components/checkbox/demo/getting-started.min.js +3 -3
- package/components/checkbox/demo/index.md +17 -17
- package/components/checkbox/demo/index.min.js +3 -3
- package/components/checkbox/demo/readme.md +1 -1
- package/components/checkbox/dist/auro-checkbox-group.d.ts +2 -2
- package/components/checkbox/dist/index.js +3 -3
- package/components/checkbox/dist/registered.js +3 -3
- package/components/combobox/demo/accessibility.md +1 -1
- package/components/combobox/demo/api.md +3 -3
- package/components/combobox/demo/css-only.md +3 -3
- package/components/combobox/demo/customize.md +13 -12
- package/components/combobox/demo/customize.min.js +79 -59
- package/components/combobox/demo/getting-started.md +4 -4
- package/components/combobox/demo/getting-started.min.js +79 -59
- package/components/combobox/demo/index.md +2 -2
- package/components/combobox/demo/index.min.js +79 -59
- package/components/combobox/demo/voiceover.md +1 -1
- package/components/combobox/dist/auro-combobox.d.ts +35 -31
- package/components/combobox/dist/index.js +68 -49
- package/components/combobox/dist/registered.js +68 -49
- package/components/counter/demo/accessibility.md +1 -1
- package/components/counter/demo/api.md +18 -18
- package/components/counter/demo/css-only.md +1 -1
- package/components/counter/demo/customize.md +2 -2
- package/components/counter/demo/customize.min.js +28 -28
- package/components/counter/demo/design.md +1 -1
- package/components/counter/demo/getting-started.md +29 -2
- package/components/counter/demo/getting-started.min.js +28 -28
- package/components/counter/demo/index.min.js +28 -28
- package/components/counter/demo/why-counter.md +3 -3
- package/components/counter/dist/auro-counter-group.d.ts +13 -14
- package/components/counter/dist/auro-counter.d.ts +1 -1
- package/components/counter/dist/index.js +28 -28
- package/components/counter/dist/registered.js +28 -28
- package/components/datepicker/README.md +1 -1
- package/components/datepicker/demo/accessibility.md +5 -5
- package/components/datepicker/demo/api.md +3 -3
- package/components/datepicker/demo/css-only.md +4 -4
- package/components/datepicker/demo/customize.md +12 -12
- package/components/datepicker/demo/customize.min.js +186 -132
- package/components/datepicker/demo/design.md +11 -11
- package/components/datepicker/demo/getting-started.md +4 -4
- package/components/datepicker/demo/getting-started.min.js +186 -132
- package/components/datepicker/demo/index.md +5 -5
- package/components/datepicker/demo/index.min.js +186 -132
- package/components/datepicker/demo/keyboard-behavior.md +1 -1
- package/components/datepicker/demo/readme.md +1 -1
- package/components/datepicker/demo/voiceover.md +4 -4
- package/components/datepicker/demo/why-datepicker.md +3 -3
- package/components/datepicker/dist/auro-calendar-cell.d.ts +32 -33
- package/components/datepicker/dist/auro-calendar-month.d.ts +8 -8
- package/components/datepicker/dist/auro-calendar.d.ts +44 -43
- package/components/datepicker/dist/auro-datepicker.d.ts +12 -10
- package/components/datepicker/dist/datepickerKeyboardStrategy.d.ts +3 -0
- package/components/datepicker/dist/index.js +186 -132
- package/components/datepicker/dist/registered.js +186 -132
- package/components/datepicker/dist/utilities.d.ts +4 -1
- package/components/datepicker/dist/utilitiesCalendar.d.ts +12 -4
- package/components/datepicker/dist/utilitiesCalendarRender.d.ts +12 -6
- package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-calendar.d.ts +4 -4
- package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker.d.ts +7 -7
- package/components/dropdown/demo/api.md +7 -7
- package/components/dropdown/demo/css-only.md +2 -2
- package/components/dropdown/demo/customize.md +1 -1
- package/components/dropdown/demo/customize.min.js +10 -9
- package/components/dropdown/demo/design.md +4 -4
- package/components/dropdown/demo/getting-started.min.js +31 -16
- package/components/dropdown/demo/index.min.js +10 -9
- package/components/dropdown/demo/voiceover.md +1 -1
- package/components/dropdown/demo/why-dropdown.md +1 -1
- package/components/dropdown/dist/auro-dropdown.d.ts +9 -8
- package/components/dropdown/dist/index.js +10 -9
- package/components/dropdown/dist/registered.js +10 -9
- package/components/form/README.md +1 -1
- package/components/form/demo/api.md +7 -7
- package/components/form/demo/css-only.md +1 -1
- package/components/form/demo/customize.md +2 -0
- package/components/form/demo/customize.min.js +345 -257
- package/components/form/demo/getting-started.md +2 -0
- package/components/form/demo/getting-started.min.js +345 -257
- package/components/form/demo/index.md +2 -2
- package/components/form/demo/index.min.js +345 -257
- package/components/form/demo/keyboard-behavior.md +1 -1
- package/components/form/demo/readme.md +1 -1
- package/components/form/demo/registerDemoDeps.min.js +343 -255
- package/components/form/demo/voiceover.md +3 -3
- package/components/form/demo/why-form.md +1 -1
- package/components/form/dist/auro-form.d.ts +2 -2
- package/components/form/dist/index.js +2 -2
- package/components/form/dist/registered.js +2 -2
- package/components/input/demo/api.md +58 -58
- package/components/input/demo/css-only.md +4 -4
- package/components/input/demo/customize.md +11 -11
- package/components/input/demo/customize.min.js +21 -7
- package/components/input/demo/design.md +2 -2
- package/components/input/demo/getting-started.md +5 -5
- package/components/input/demo/getting-started.min.js +21 -7
- package/components/input/demo/index.md +1 -1
- package/components/input/demo/index.min.js +21 -7
- package/components/input/demo/why-input.md +3 -3
- package/components/input/dist/auro-input.d.ts +1 -1
- package/components/input/dist/base-input.d.ts +6 -5
- package/components/input/dist/index.js +21 -7
- package/components/input/dist/registered.js +21 -7
- package/components/input/dist/utilities.d.ts +11 -0
- package/components/menu/demo/accessibility.md +1 -1
- package/components/menu/demo/api.md +1 -1
- package/components/menu/demo/css-only.md +4 -4
- package/components/menu/demo/customize.md +1 -1
- package/components/menu/demo/design.md +1 -1
- package/components/menu/demo/getting-started.md +3 -3
- package/components/menu/demo/index.min.js +11 -10
- package/components/menu/demo/keyboard-behavior.md +1 -1
- package/components/menu/demo/voiceover.md +1 -1
- package/components/menu/demo/why-menu.md +3 -3
- package/components/menu/dist/auro-menu.d.ts +10 -9
- package/components/menu/dist/auro-menuoption.d.ts +1 -1
- package/components/menu/dist/index.js +11 -10
- package/components/menu/dist/registered.js +11 -10
- package/components/radio/demo/accessibility.md +1 -1
- package/components/radio/demo/api.md +10 -10
- package/components/radio/demo/customize.md +15 -5
- package/components/radio/demo/customize.min.js +10 -12
- package/components/radio/demo/design.md +1 -1
- package/components/radio/demo/getting-started.md +6 -6
- package/components/radio/demo/getting-started.min.js +10 -12
- package/components/radio/demo/index.md +1 -1
- package/components/radio/demo/index.min.js +10 -12
- package/components/radio/demo/keyboard-behavior.md +1 -1
- package/components/radio/demo/voiceover.md +1 -1
- package/components/radio/demo/why-radio.md +1 -1
- package/components/radio/dist/auro-radio-group.d.ts +6 -8
- package/components/radio/dist/auro-radio.d.ts +3 -3
- package/components/radio/dist/index.js +10 -12
- package/components/radio/dist/registered.js +10 -12
- package/components/select/demo/api.md +1 -1
- package/components/select/demo/css-only.md +1 -1
- package/components/select/demo/customize.md +1 -1
- package/components/select/demo/customize.min.js +27 -24
- package/components/select/demo/getting-started.min.js +27 -24
- package/components/select/demo/index.md +1 -1
- package/components/select/demo/index.min.js +27 -24
- package/components/select/demo/voiceover.md +1 -1
- package/components/select/dist/auro-select.d.ts +4 -3
- package/components/select/dist/index.js +16 -14
- package/components/select/dist/registered.js +16 -14
- package/custom-elements.json +159 -143
- package/package.json +1 -1
package/custom-elements.json
CHANGED
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
134
|
],
|
|
135
|
-
"description": "Called
|
|
135
|
+
"description": "Called when a `touchmove` event reaches the element. Stops the page behind the bib from scrolling when the touch is on the bibtemplate's own layout, such as its padding, instead of on slotted content.",
|
|
136
136
|
"return": {
|
|
137
137
|
"type": {
|
|
138
138
|
"text": "void"
|
|
@@ -529,7 +529,7 @@
|
|
|
529
529
|
},
|
|
530
530
|
"description": "Sets the error message shown while the `error` attribute is set, in place of the attribute's own text.\n`setCustomValidity` takes priority when both are set.",
|
|
531
531
|
"attribute": "setcustomvaliditycustomerror",
|
|
532
|
-
"relevantWhen": "error",
|
|
532
|
+
"relevantWhen": "error !== undefined",
|
|
533
533
|
"category": "behavior"
|
|
534
534
|
},
|
|
535
535
|
{
|
|
@@ -608,7 +608,7 @@
|
|
|
608
608
|
"type": {
|
|
609
609
|
"text": "CustomEvent"
|
|
610
610
|
},
|
|
611
|
-
"description": "Fires when a checkbox in the group is checked or unchecked, after the group's selected values update."
|
|
611
|
+
"description": "Fires when a checkbox in the group is checked or unchecked, after the group's selected values update. It also fires once for each checkbox when the group loads with checkboxes that start out `checked`."
|
|
612
612
|
}
|
|
613
613
|
],
|
|
614
614
|
"attributes": [
|
|
@@ -683,7 +683,7 @@
|
|
|
683
683
|
},
|
|
684
684
|
"description": "Sets the error message shown while the `error` attribute is set, in place of the attribute's own text.\n`setCustomValidity` takes priority when both are set.",
|
|
685
685
|
"fieldName": "setCustomValidityCustomError",
|
|
686
|
-
"relevantWhen": "error",
|
|
686
|
+
"relevantWhen": "error !== undefined",
|
|
687
687
|
"category": "behavior"
|
|
688
688
|
},
|
|
689
689
|
{
|
|
@@ -1227,6 +1227,7 @@
|
|
|
1227
1227
|
{
|
|
1228
1228
|
"description": "Text screen readers announce for the clear button, such as \"Clear destination\". The combobox has no default text, so without it the clear button has no accessible name. In the fullscreen bib, the clear button currently uses \"Clear Input\" instead.",
|
|
1229
1229
|
"name": "ariaLabel.input.clear",
|
|
1230
|
+
"requiredWhen": "always",
|
|
1230
1231
|
"category": "a11y"
|
|
1231
1232
|
},
|
|
1232
1233
|
{
|
|
@@ -1303,7 +1304,7 @@
|
|
|
1303
1304
|
}
|
|
1304
1305
|
}
|
|
1305
1306
|
],
|
|
1306
|
-
"description": "Wraps setTimeout and records the timer
|
|
1307
|
+
"description": "Wraps `setTimeout` and records the timer ID so `disconnectedCallback`\ncan cancel any outstanding callbacks. The ID is removed from the set\nonce the callback fires, so the set doesn't keep growing.",
|
|
1307
1308
|
"return": {
|
|
1308
1309
|
"type": {
|
|
1309
1310
|
"text": "number"
|
|
@@ -1365,7 +1366,7 @@
|
|
|
1365
1366
|
"type": {
|
|
1366
1367
|
"text": "HTMLElement[]"
|
|
1367
1368
|
},
|
|
1368
|
-
"description": "
|
|
1369
|
+
"description": "Holds the options shown in the menu: every option that isn't hidden,\nsuch as by filtering on the typed text, plus `persistent` options."
|
|
1369
1370
|
},
|
|
1370
1371
|
{
|
|
1371
1372
|
"kind": "field",
|
|
@@ -1481,7 +1482,7 @@
|
|
|
1481
1482
|
"type": {
|
|
1482
1483
|
"text": "string"
|
|
1483
1484
|
},
|
|
1484
|
-
"description": "ID
|
|
1485
|
+
"description": "Holds the dropdown's ID, which the trigger input uses for `aria-controls`."
|
|
1485
1486
|
},
|
|
1486
1487
|
{
|
|
1487
1488
|
"kind": "field",
|
|
@@ -1490,7 +1491,7 @@
|
|
|
1490
1491
|
"type": {
|
|
1491
1492
|
"text": "boolean"
|
|
1492
1493
|
},
|
|
1493
|
-
"description": "
|
|
1494
|
+
"description": "Records whether the bib is open."
|
|
1494
1495
|
},
|
|
1495
1496
|
{
|
|
1496
1497
|
"kind": "field",
|
|
@@ -1574,7 +1575,7 @@
|
|
|
1574
1575
|
}
|
|
1575
1576
|
}
|
|
1576
1577
|
],
|
|
1577
|
-
"description": "
|
|
1578
|
+
"description": "Called when the text in the trigger input or the fullscreen bib input changes.\nKeeps both inputs and `value` in sync, clears the combobox when the input is emptied,\nvalidates when focus is outside the combobox unless `noValidate` is set, and fires `inputValue`.",
|
|
1578
1579
|
"privacy": "private",
|
|
1579
1580
|
"return": {
|
|
1580
1581
|
"type": {
|
|
@@ -1629,7 +1630,7 @@
|
|
|
1629
1630
|
"name": "options",
|
|
1630
1631
|
"optional": true,
|
|
1631
1632
|
"type": {
|
|
1632
|
-
"text": "@param {boolean} [options.preferComboboxValue=false] - If true,\n * matches the selected option against `this.value` first. If false,\n * matches against `this.input.value` first. Matching `this.value` first is needed on mount and re-mount\n * because under `persistInput` the consumer's typedValue prop can drift\n * from the framework value (Svelte `{#key}` re-mount after a swap, or\n * SPA preselect after route change) and the old input-first match would\n * then pick the stale text. Only handleSlotChange passes this; typing\n * and clearing paths keep the input-first match so user clears aren't\n * undone.\n * "
|
|
1633
|
+
"text": "@param {boolean} [options.preferComboboxValue=false] - If true,\n * matches the selected option against `this.value` first. If false,\n * matches against `this.input.value` first. Matching `this.value` first is needed on mount and re-mount\n * because under `persistInput` the consumer's `typedValue` prop can drift\n * from the framework value (Svelte `{#key}` re-mount after a swap, or\n * SPA preselect after route change) and the old input-first match would\n * then pick the stale text. Only `handleSlotChange` passes this; typing\n * and clearing paths keep the input-first match so user clears aren't\n * undone.\n * "
|
|
1633
1634
|
}
|
|
1634
1635
|
}
|
|
1635
1636
|
],
|
|
@@ -1673,7 +1674,7 @@
|
|
|
1673
1674
|
}
|
|
1674
1675
|
}
|
|
1675
1676
|
],
|
|
1676
|
-
"description": "
|
|
1677
|
+
"description": "Called when the text in the trigger input changes.\nRefreshes the menu's options and filtering, passes the change to `handleInputValueChange`,\nand keeps focus in the fullscreen bib input while that bib is open.",
|
|
1677
1678
|
"privacy": "private",
|
|
1678
1679
|
"return": {
|
|
1679
1680
|
"type": {
|
|
@@ -1764,7 +1765,7 @@
|
|
|
1764
1765
|
"type": {
|
|
1765
1766
|
"text": "'classic' | 'emphasized' | 'snowflake'"
|
|
1766
1767
|
},
|
|
1767
|
-
"description": "Sets the overall style of the combobox. The `emphasized` layout also shows larger menu options.",
|
|
1768
|
+
"description": "Sets the overall style of the combobox. Use `emphasized` for a large, prominent combobox on light backgrounds,\nand `snowflake` only on dark backgrounds with `appearance=\"inverse\"`. The `emphasized` layout also shows larger menu options.",
|
|
1768
1769
|
"default": "'classic'",
|
|
1769
1770
|
"attribute": "layout",
|
|
1770
1771
|
"reflects": true,
|
|
@@ -1837,7 +1838,7 @@
|
|
|
1837
1838
|
"type": {
|
|
1838
1839
|
"text": "HTMLElement"
|
|
1839
1840
|
},
|
|
1840
|
-
"description": "
|
|
1841
|
+
"description": "Holds the active (highlighted) option."
|
|
1841
1842
|
},
|
|
1842
1843
|
{
|
|
1843
1844
|
"kind": "field",
|
|
@@ -2041,7 +2042,7 @@
|
|
|
2041
2042
|
"type": {
|
|
2042
2043
|
"text": "'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'"
|
|
2043
2044
|
},
|
|
2044
|
-
"description": "Sets the shape of the trigger. In the `snowflake` layout, the menu options use the
|
|
2045
|
+
"description": "Sets the shape of the trigger. Use `classic` with the `classic` layout, `pill`, `pill-left`, or `pill-right` with the\n`emphasized` layout, and `snowflake` with the `snowflake` layout. In the `snowflake` layout, the menu options use the\nsame shape unless the `<auro-menu>` sets its own `shape`.",
|
|
2045
2046
|
"default": "'classic'",
|
|
2046
2047
|
"attribute": "shape",
|
|
2047
2048
|
"reflects": true,
|
|
@@ -2094,7 +2095,7 @@
|
|
|
2094
2095
|
}
|
|
2095
2096
|
}
|
|
2096
2097
|
],
|
|
2097
|
-
"description": "Writes nextValue to the trigger input and the bib input when their current\nvalue differs, then re-asserts imask after Lit's update flushes.",
|
|
2098
|
+
"description": "Writes `nextValue` to the trigger input and the bib input when their current\nvalue differs, then re-asserts imask after Lit's update flushes.",
|
|
2098
2099
|
"return": {
|
|
2099
2100
|
"type": {
|
|
2100
2101
|
"text": "Promise<void>"
|
|
@@ -2105,7 +2106,7 @@
|
|
|
2105
2106
|
{
|
|
2106
2107
|
"kind": "method",
|
|
2107
2108
|
"name": "syncValuesAndStates",
|
|
2108
|
-
"description": "
|
|
2109
|
+
"description": "Sets the menu's `matchWord` to the input text, then updates the input text and `displayValue` content from the selected option's label, or from `value` when no option is selected.",
|
|
2109
2110
|
"privacy": "private",
|
|
2110
2111
|
"return": {
|
|
2111
2112
|
"type": {
|
|
@@ -2134,7 +2135,7 @@
|
|
|
2134
2135
|
}
|
|
2135
2136
|
}
|
|
2136
2137
|
],
|
|
2137
|
-
"description": "Flags genuine clear-button activations on an auro-input so the SPA-preselect\nguard in handleInputValueChange doesn't swallow them.\n\nThe auro-input clear button fires an `isProgrammatic` input event (
|
|
2138
|
+
"description": "Flags genuine clear-button activations on an auro-input so the SPA-preselect\nguard in `handleInputValueChange` doesn't swallow them.\n\nThe auro-input clear button fires an `isProgrammatic` input event (through\n`notifyValueChanged`) that has the same shape as the SPA-preselect echo\nthat guard bails on (`isProgrammatic`, a set value, and an empty input).\nWithout this one-shot flag, clicking clear would leave `value` and\n`optionSelected` stale (AB#1634257).\n\nDelegated on the shadow root so it works whenever `.clearBtn` renders\n(it only exists after a value is set), and covers both real clicks and\nprogrammatic `clearBtn.click()` calls, which no `focusin` precedes.\nRegistered in the capture phase so the flag is set before the button's own\n`@click` handler (`handleClickClear`) fires its synchronous input event,\nwhich is when `handleInputValueChange` reads the flag.",
|
|
2138
2139
|
"privacy": "private",
|
|
2139
2140
|
"return": {
|
|
2140
2141
|
"type": {
|
|
@@ -2480,7 +2481,7 @@
|
|
|
2480
2481
|
"type": {
|
|
2481
2482
|
"text": "'classic' | 'emphasized' | 'snowflake'"
|
|
2482
2483
|
},
|
|
2483
|
-
"description": "Sets the overall style of the combobox. The `emphasized` layout also shows larger menu options.",
|
|
2484
|
+
"description": "Sets the overall style of the combobox. Use `emphasized` for a large, prominent combobox on light backgrounds,\nand `snowflake` only on dark backgrounds with `appearance=\"inverse\"`. The `emphasized` layout also shows larger menu options.",
|
|
2484
2485
|
"default": "'classic'",
|
|
2485
2486
|
"fieldName": "layout",
|
|
2486
2487
|
"category": "ui"
|
|
@@ -2603,7 +2604,7 @@
|
|
|
2603
2604
|
"type": {
|
|
2604
2605
|
"text": "'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'"
|
|
2605
2606
|
},
|
|
2606
|
-
"description": "Sets the shape of the trigger. In the `snowflake` layout, the menu options use the
|
|
2607
|
+
"description": "Sets the shape of the trigger. Use `classic` with the `classic` layout, `pill`, `pill-left`, or `pill-right` with the\n`emphasized` layout, and `snowflake` with the `snowflake` layout. In the `snowflake` layout, the menu options use the\nsame shape unless the `<auro-menu>` sets its own `shape`.",
|
|
2607
2608
|
"default": "'classic'",
|
|
2608
2609
|
"fieldName": "shape",
|
|
2609
2610
|
"category": "ui"
|
|
@@ -2898,7 +2899,7 @@
|
|
|
2898
2899
|
{
|
|
2899
2900
|
"kind": "method",
|
|
2900
2901
|
"name": "computeValidityFromCounters",
|
|
2901
|
-
"description": "Synchronously recomputes this.validity
|
|
2902
|
+
"description": "Synchronously recomputes `this.validity` and `this.errorMessage` from the current\nvalidity of the child counters. Extracted from `updateValidity()` so that\n`validate()` can re-apply this aggregation immediately after the shared\nvalidation engine runs, instead of waiting on a deferred timer.",
|
|
2902
2903
|
"return": {
|
|
2903
2904
|
"type": {
|
|
2904
2905
|
"text": "void"
|
|
@@ -2909,7 +2910,7 @@
|
|
|
2909
2910
|
{
|
|
2910
2911
|
"kind": "method",
|
|
2911
2912
|
"name": "configureBibtemplate",
|
|
2912
|
-
"description": "
|
|
2913
|
+
"description": "Finds the bib template, closes the dropdown when its close button is clicked, and moves focus to the close button when the fullscreen dropdown opens.",
|
|
2913
2914
|
"privacy": "private"
|
|
2914
2915
|
},
|
|
2915
2916
|
{
|
|
@@ -2921,7 +2922,7 @@
|
|
|
2921
2922
|
{
|
|
2922
2923
|
"kind": "method",
|
|
2923
2924
|
"name": "configureDropdownCounters",
|
|
2924
|
-
"description": "
|
|
2925
|
+
"description": "Finds the dropdown and the counters slotted into its `auro-counter-wrapper`,\nadds `input` and `auroFormElement-validated` listeners to each counter, and\nupdates `value` and the group's validity. Also sets up the bib template when `isDropdown` is set.",
|
|
2925
2926
|
"privacy": "private"
|
|
2926
2927
|
},
|
|
2927
2928
|
{
|
|
@@ -2952,7 +2953,7 @@
|
|
|
2952
2953
|
"type": {
|
|
2953
2954
|
"text": "string"
|
|
2954
2955
|
},
|
|
2955
|
-
"description": "
|
|
2956
|
+
"description": "Holds the error message shown while the group is invalid.\nValidation sets it, and it isn't available to consumers."
|
|
2956
2957
|
},
|
|
2957
2958
|
{
|
|
2958
2959
|
"kind": "field",
|
|
@@ -3104,7 +3105,7 @@
|
|
|
3104
3105
|
}
|
|
3105
3106
|
}
|
|
3106
3107
|
],
|
|
3107
|
-
"description": "
|
|
3108
|
+
"description": "Turns a counter's minus and plus buttons on or off based on the group's total.\nThe minus button turns off when the total is at or below `min`; otherwise, the plus button turns off when the total is at or above `max`.",
|
|
3108
3109
|
"privacy": "private"
|
|
3109
3110
|
},
|
|
3110
3111
|
{
|
|
@@ -3550,7 +3551,7 @@
|
|
|
3550
3551
|
"type": {
|
|
3551
3552
|
"text": "string"
|
|
3552
3553
|
},
|
|
3553
|
-
"description": "
|
|
3554
|
+
"description": "Holds the text in the `valueText` slot.",
|
|
3554
3555
|
"category": "behavior"
|
|
3555
3556
|
},
|
|
3556
3557
|
{
|
|
@@ -3600,7 +3601,7 @@
|
|
|
3600
3601
|
"type": {
|
|
3601
3602
|
"text": "CustomEvent"
|
|
3602
3603
|
},
|
|
3603
|
-
"description": "Fires when any counter's value changes, with the new `total` and `value` in `event.detail`."
|
|
3604
|
+
"description": "Fires when any counter's value changes, with the new `total` and `value` in `event.detail`. It doesn't currently bubble, so listen on the group itself."
|
|
3604
3605
|
}
|
|
3605
3606
|
],
|
|
3606
3607
|
"attributes": [
|
|
@@ -3904,7 +3905,7 @@
|
|
|
3904
3905
|
"type": {
|
|
3905
3906
|
"text": "string"
|
|
3906
3907
|
},
|
|
3907
|
-
"description": "
|
|
3908
|
+
"description": "Holds the trimmed text of the default slot, which `auro-counter-group` shows in its dropdown summary.",
|
|
3908
3909
|
"attribute": "defaultslot"
|
|
3909
3910
|
},
|
|
3910
3911
|
{
|
|
@@ -3948,7 +3949,7 @@
|
|
|
3948
3949
|
"type": {
|
|
3949
3950
|
"text": "string"
|
|
3950
3951
|
},
|
|
3951
|
-
"description": "Sets a custom error message, such as \"Select at least one adult\", and marks the counter invalid. The message replaces the help text. Set
|
|
3952
|
+
"description": "Sets a custom error message, such as \"Select at least one adult\", and marks the counter invalid. The message replaces the help text. Set the `error` attribute before the counter first renders, or call `validate()` after changing it: setting only the property, or changing the attribute later, doesn't currently update `validity`.",
|
|
3952
3953
|
"attribute": "error",
|
|
3953
3954
|
"category": "behavior"
|
|
3954
3955
|
},
|
|
@@ -4203,7 +4204,7 @@
|
|
|
4203
4204
|
"type": {
|
|
4204
4205
|
"text": "CustomEvent"
|
|
4205
4206
|
},
|
|
4206
|
-
"description": "
|
|
4207
|
+
"description": "Fires whenever `value` changes, including when the counter sets its starting value, with the new number in `event.detail.value`. It doesn't currently bubble, so listen on the counter itself."
|
|
4207
4208
|
}
|
|
4208
4209
|
],
|
|
4209
4210
|
"attributes": [
|
|
@@ -4231,7 +4232,7 @@
|
|
|
4231
4232
|
"type": {
|
|
4232
4233
|
"text": "string"
|
|
4233
4234
|
},
|
|
4234
|
-
"description": "Sets a custom error message, such as \"Select at least one adult\", and marks the counter invalid. The message replaces the help text. Set
|
|
4235
|
+
"description": "Sets a custom error message, such as \"Select at least one adult\", and marks the counter invalid. The message replaces the help text. Set the `error` attribute before the counter first renders, or call `validate()` after changing it: setting only the property, or changing the attribute later, doesn't currently update `validity`.",
|
|
4235
4236
|
"fieldName": "error",
|
|
4236
4237
|
"category": "behavior"
|
|
4237
4238
|
},
|
|
@@ -4601,7 +4602,7 @@
|
|
|
4601
4602
|
{
|
|
4602
4603
|
"kind": "method",
|
|
4603
4604
|
"name": "getAriaLabel",
|
|
4604
|
-
"description": "Generates
|
|
4605
|
+
"description": "Generates the cell's localized `aria-label` with `Intl.DateTimeFormat`.\nAdds the date slot and popover content, the range position, and the blackout label.",
|
|
4605
4606
|
"privacy": "private",
|
|
4606
4607
|
"return": {
|
|
4607
4608
|
"type": {
|
|
@@ -4612,7 +4613,7 @@
|
|
|
4612
4613
|
{
|
|
4613
4614
|
"kind": "method",
|
|
4614
4615
|
"name": "getCellId",
|
|
4615
|
-
"description": "Generates a unique cell ID in the format cell-YYYY-MM-DD
|
|
4616
|
+
"description": "Generates a unique cell ID in the format `cell-YYYY-MM-DD`.",
|
|
4616
4617
|
"privacy": "private",
|
|
4617
4618
|
"return": {
|
|
4618
4619
|
"type": {
|
|
@@ -4637,13 +4638,13 @@
|
|
|
4637
4638
|
"parameters": [
|
|
4638
4639
|
{
|
|
4639
4640
|
"name": "date",
|
|
4640
|
-
"description": "The date
|
|
4641
|
+
"description": "The date, as a Unix timestamp in seconds.",
|
|
4641
4642
|
"type": {
|
|
4642
4643
|
"text": "Number"
|
|
4643
4644
|
}
|
|
4644
4645
|
}
|
|
4645
4646
|
],
|
|
4646
|
-
"description": "
|
|
4647
|
+
"description": "Formats a date as a full date in the cell's `locale`, such as \"Monday, April 21, 2025\" for `en-US`.",
|
|
4647
4648
|
"privacy": "private",
|
|
4648
4649
|
"return": {
|
|
4649
4650
|
"type": {
|
|
@@ -4654,7 +4655,7 @@
|
|
|
4654
4655
|
{
|
|
4655
4656
|
"kind": "method",
|
|
4656
4657
|
"name": "handleFocus",
|
|
4657
|
-
"description": "
|
|
4658
|
+
"description": "Called when the cell's button gets focus. Fires `calendar-cell-focused` so the calendar can\nannounce the date to screen readers and update the range preview without re-rendering the cell.",
|
|
4658
4659
|
"privacy": "private",
|
|
4659
4660
|
"return": {
|
|
4660
4661
|
"type": {
|
|
@@ -4665,7 +4666,7 @@
|
|
|
4665
4666
|
{
|
|
4666
4667
|
"kind": "method",
|
|
4667
4668
|
"name": "handleHover",
|
|
4668
|
-
"description": "
|
|
4669
|
+
"description": "Called when the pointer moves over the cell's button. Fires `date-is-hovered` with the cell's date.\nDoesn't set any reactive properties, because the calendar updates the range preview\ndirectly to avoid re-rendering every cell.",
|
|
4669
4670
|
"privacy": "private",
|
|
4670
4671
|
"return": {
|
|
4671
4672
|
"type": {
|
|
@@ -4676,7 +4677,7 @@
|
|
|
4676
4677
|
{
|
|
4677
4678
|
"kind": "method",
|
|
4678
4679
|
"name": "handleSlotContent",
|
|
4679
|
-
"description": "
|
|
4680
|
+
"description": "Removes the cell's copied slot content, then copies in the `date_YYYY_MM_DD` and `popover_YYYY_MM_DD` content for the cell's date from `auro-datepicker`.",
|
|
4680
4681
|
"privacy": "private",
|
|
4681
4682
|
"return": {
|
|
4682
4683
|
"type": {
|
|
@@ -4687,7 +4688,7 @@
|
|
|
4687
4688
|
{
|
|
4688
4689
|
"kind": "method",
|
|
4689
4690
|
"name": "handleTap",
|
|
4690
|
-
"description": "
|
|
4691
|
+
"description": "Called when someone clicks the cell's button, or presses Enter or Space while it's the active cell.\nSelects the cell's date unless the cell is turned off or the date is a blackout date, and fires\n`calendar-cell-activate` so the calendar makes the cell the active cell.",
|
|
4691
4692
|
"privacy": "private",
|
|
4692
4693
|
"return": {
|
|
4693
4694
|
"type": {
|
|
@@ -4761,34 +4762,34 @@
|
|
|
4761
4762
|
"parameters": [
|
|
4762
4763
|
{
|
|
4763
4764
|
"name": "day",
|
|
4764
|
-
"description": "
|
|
4765
|
+
"description": "The day this cell shows: an object with `date`, a Unix timestamp in seconds, and `title`, the day of the month.",
|
|
4765
4766
|
"type": {
|
|
4766
4767
|
"text": "Object"
|
|
4767
4768
|
}
|
|
4768
4769
|
},
|
|
4769
4770
|
{
|
|
4770
4771
|
"name": "min",
|
|
4771
|
-
"description": "The
|
|
4772
|
+
"description": "The earliest date people can choose, as a Unix timestamp in seconds.",
|
|
4772
4773
|
"type": {
|
|
4773
4774
|
"text": "Number"
|
|
4774
4775
|
}
|
|
4775
4776
|
},
|
|
4776
4777
|
{
|
|
4777
4778
|
"name": "max",
|
|
4778
|
-
"description": "The
|
|
4779
|
+
"description": "The latest date people can choose, as a Unix timestamp in seconds.",
|
|
4779
4780
|
"type": {
|
|
4780
4781
|
"text": "Number"
|
|
4781
4782
|
}
|
|
4782
4783
|
},
|
|
4783
4784
|
{
|
|
4784
4785
|
"name": "disabledDays",
|
|
4785
|
-
"description": "
|
|
4786
|
+
"description": "The deprecated array of dates people can't select, as Unix timestamps in seconds.",
|
|
4786
4787
|
"type": {
|
|
4787
4788
|
"text": "Array"
|
|
4788
4789
|
}
|
|
4789
4790
|
}
|
|
4790
4791
|
],
|
|
4791
|
-
"description": "Checks
|
|
4792
|
+
"description": "Checks whether the cell's date is turned off because it's outside `min` and `max` or in the\ndeprecated `disabledDays`, and sets the host's `disabled` attribute to match. Despite its name,\nit returns true for a turned-off date. Blackout dates are handled separately by `isBlackout()`.",
|
|
4792
4793
|
"privacy": "private",
|
|
4793
4794
|
"return": {
|
|
4794
4795
|
"type": {
|
|
@@ -4877,27 +4878,27 @@
|
|
|
4877
4878
|
"parameters": [
|
|
4878
4879
|
{
|
|
4879
4880
|
"name": "day",
|
|
4880
|
-
"description": "
|
|
4881
|
+
"description": "The day this cell shows: an object with `date`, a Unix timestamp in seconds, and `title`, the day of the month.",
|
|
4881
4882
|
"type": {
|
|
4882
4883
|
"text": "Object"
|
|
4883
4884
|
}
|
|
4884
4885
|
},
|
|
4885
4886
|
{
|
|
4886
4887
|
"name": "min",
|
|
4887
|
-
"description": "The
|
|
4888
|
+
"description": "The earliest date people can choose, as a Unix timestamp in seconds.",
|
|
4888
4889
|
"type": {
|
|
4889
4890
|
"text": "Number"
|
|
4890
4891
|
}
|
|
4891
4892
|
},
|
|
4892
4893
|
{
|
|
4893
4894
|
"name": "max",
|
|
4894
|
-
"description": "The
|
|
4895
|
+
"description": "The latest date people can choose, as a Unix timestamp in seconds.",
|
|
4895
4896
|
"type": {
|
|
4896
4897
|
"text": "Number"
|
|
4897
4898
|
}
|
|
4898
4899
|
}
|
|
4899
4900
|
],
|
|
4900
|
-
"description": "Checks
|
|
4901
|
+
"description": "Checks whether the cell's date is earlier than `min` or later than `max`.\nOut-of-range cells aren't focusable and are hidden from screen readers.",
|
|
4901
4902
|
"privacy": "private",
|
|
4902
4903
|
"return": {
|
|
4903
4904
|
"type": {
|
|
@@ -5047,7 +5048,7 @@
|
|
|
5047
5048
|
{
|
|
5048
5049
|
"kind": "method",
|
|
5049
5050
|
"name": "updateHostAria",
|
|
5050
|
-
"description": "Sets
|
|
5051
|
+
"description": "Sets ARIA attributes on the cell so screen reader users browsing the month grid hear its date,\nwhether it's selected, and whether it's a blackout date. Removes them for a date outside `min` and `max`.",
|
|
5051
5052
|
"privacy": "private",
|
|
5052
5053
|
"return": {
|
|
5053
5054
|
"type": {
|
|
@@ -5338,7 +5339,7 @@
|
|
|
5338
5339
|
}
|
|
5339
5340
|
}
|
|
5340
5341
|
],
|
|
5341
|
-
"description": "
|
|
5342
|
+
"description": "Called when a cell fires `date-is-hovered`. Fires `hovered-date-changed` with the date\ninstead of setting the base class's reactive `hoveredDate`, so the calendar can update\nthe range preview without re-rendering.",
|
|
5342
5343
|
"privacy": "private",
|
|
5343
5344
|
"return": {
|
|
5344
5345
|
"type": {
|
|
@@ -5349,7 +5350,7 @@
|
|
|
5349
5350
|
{
|
|
5350
5351
|
"kind": "method",
|
|
5351
5352
|
"name": "handleTbodyMouseLeave",
|
|
5352
|
-
"description": "
|
|
5353
|
+
"description": "Called when the pointer leaves the month's date grid. Fires a bubbling\n`calendar-month-mouseleave` event so the calendar can clear the range preview.",
|
|
5353
5354
|
"privacy": "private",
|
|
5354
5355
|
"return": {
|
|
5355
5356
|
"type": {
|
|
@@ -5394,20 +5395,20 @@
|
|
|
5394
5395
|
"parameters": [
|
|
5395
5396
|
{
|
|
5396
5397
|
"name": "dayOfWeek",
|
|
5397
|
-
"description": "The
|
|
5398
|
+
"description": "The narrow day name, such as \"S\".",
|
|
5398
5399
|
"type": {
|
|
5399
5400
|
"text": "String"
|
|
5400
5401
|
}
|
|
5401
5402
|
},
|
|
5402
5403
|
{
|
|
5403
5404
|
"name": "index",
|
|
5404
|
-
"description": "The index in
|
|
5405
|
+
"description": "The column's index in `dayNamesOfTheWeek`, from 0 for Sunday.",
|
|
5405
5406
|
"type": {
|
|
5406
5407
|
"text": "Number"
|
|
5407
5408
|
}
|
|
5408
5409
|
}
|
|
5409
5410
|
],
|
|
5410
|
-
"description": "Renders a day-of-week column header that shows the
|
|
5411
|
+
"description": "Renders a day-of-week column header that shows the narrow day name, such as \"S\" for Sunday in `en-US`, and gives screen readers the full name with `aria-label`.",
|
|
5411
5412
|
"privacy": "private",
|
|
5412
5413
|
"return": {
|
|
5413
5414
|
"type": {
|
|
@@ -5622,7 +5623,7 @@
|
|
|
5622
5623
|
}
|
|
5623
5624
|
}
|
|
5624
5625
|
],
|
|
5625
|
-
"description": "
|
|
5626
|
+
"description": "Announces a date to screen readers after a 150 ms pause, so only the\nlast cell reached with the arrow keys is announced.\nUses the assertive live region, because VoiceOver waits for the page to\nbe idle before it reads a polite one, which never happens during\narrow-key navigation, so polite announcements were dropped.\n\nThis is a documented deviation from WCAG 2.1 SC 4.1.3, which\nprefers `polite` for status messages. See the \"Documented\ndeviation\" section in `components/datepicker/docs/pages/accessibility.md`.",
|
|
5626
5627
|
"privacy": "private",
|
|
5627
5628
|
"return": {
|
|
5628
5629
|
"type": {
|
|
@@ -5780,7 +5781,7 @@
|
|
|
5780
5781
|
}
|
|
5781
5782
|
}
|
|
5782
5783
|
],
|
|
5783
|
-
"description": "Computes the initial active date from data properties alone, without the DOM.\nPriority:\n 1.
|
|
5784
|
+
"description": "Computes the initial active date from data properties alone, without the DOM.\nPriority:\n 1. The selected date (`dateFrom`), if it's within range.\n 2. When `centralDate` is in a different month than today, the first enabled date in that month, or else its first in-range date.\n 3. Today's date, if it's enabled (in range and not a blackout date).\n 4. The first enabled date in the visible months, or else their first in-range date.\n 5. The first enabled date after today, scanning day by day for up to a year.\n 6. The first enabled date before today, scanning day by day for up to a year.\n 7. The first enabled date in a finite [min, max] range.\n 7b. The first enabled date scanning forward from a finite min (unbounded max).\n 7c. The first enabled date scanning backward from a finite max (unbounded min).\n 8. An in-range date, even if it's a blackout date, so focus can land somewhere: min when it's finite, or else today.\n 9. Undefined: no valid target.",
|
|
5784
5785
|
"privacy": "private",
|
|
5785
5786
|
"return": {
|
|
5786
5787
|
"type": {
|
|
@@ -5930,7 +5931,7 @@
|
|
|
5930
5931
|
}
|
|
5931
5932
|
}
|
|
5932
5933
|
],
|
|
5933
|
-
"description": "
|
|
5934
|
+
"description": "Called when a cell fires `calendar-cell-activate` after someone selects it. Makes that cell\nthe active cell without moving focus to the grid.",
|
|
5934
5935
|
"privacy": "private",
|
|
5935
5936
|
"return": {
|
|
5936
5937
|
"type": {
|
|
@@ -5950,7 +5951,7 @@
|
|
|
5950
5951
|
}
|
|
5951
5952
|
}
|
|
5952
5953
|
],
|
|
5953
|
-
"description": "
|
|
5954
|
+
"description": "Called when a cell's button gets focus, and after the arrow keys move the active cell.\nAnnounces the date to screen readers through the live region and updates the range preview.",
|
|
5954
5955
|
"privacy": "private",
|
|
5955
5956
|
"return": {
|
|
5956
5957
|
"type": {
|
|
@@ -5971,7 +5972,7 @@
|
|
|
5971
5972
|
}
|
|
5972
5973
|
}
|
|
5973
5974
|
],
|
|
5974
|
-
"description": "Shows the
|
|
5975
|
+
"description": "Called when focus moves into the calendar grid. Shows the focus ring on the active cell\nwhen the grid itself gets focus, not a cell inside it.",
|
|
5975
5976
|
"privacy": "private",
|
|
5976
5977
|
"return": {
|
|
5977
5978
|
"type": {
|
|
@@ -5982,7 +5983,7 @@
|
|
|
5982
5983
|
{
|
|
5983
5984
|
"kind": "method",
|
|
5984
5985
|
"name": "handleGridFocusOut",
|
|
5985
|
-
"description": "
|
|
5986
|
+
"description": "Called when the calendar grid or an element in it loses focus. Removes the focus ring from\nevery cell, and clears the range preview while the range doesn't have both dates.",
|
|
5986
5987
|
"privacy": "private",
|
|
5987
5988
|
"return": {
|
|
5988
5989
|
"type": {
|
|
@@ -6002,7 +6003,7 @@
|
|
|
6002
6003
|
}
|
|
6003
6004
|
}
|
|
6004
6005
|
],
|
|
6005
|
-
"description": "
|
|
6006
|
+
"description": "Called when a key is pressed while the calendar grid has focus. The arrow keys move the\nactive cell, into another month when needed, and Enter or Space selects the active date\nunless it's a blackout date. Focus stays on the grid, and the live region announces the new active cell.",
|
|
6006
6007
|
"privacy": "private",
|
|
6007
6008
|
"return": {
|
|
6008
6009
|
"type": {
|
|
@@ -6022,7 +6023,7 @@
|
|
|
6022
6023
|
}
|
|
6023
6024
|
}
|
|
6024
6025
|
],
|
|
6025
|
-
"description": "
|
|
6026
|
+
"description": "Called when the calendar receives a `calendar-month-boundary` event. Moves the active cell\nacross a month boundary for the arrow key in `event.detail.key`. Nothing in the datepicker\ncurrently fires this event.",
|
|
6026
6027
|
"privacy": "private",
|
|
6027
6028
|
"return": {
|
|
6028
6029
|
"type": {
|
|
@@ -6084,7 +6085,7 @@
|
|
|
6084
6085
|
}
|
|
6085
6086
|
}
|
|
6086
6087
|
],
|
|
6087
|
-
"description": "
|
|
6088
|
+
"description": "Called when a month fires `hovered-date-changed`. Updates the range preview directly\ninstead of setting the base class's reactive `hoveredDate`, so the cells don't re-render.",
|
|
6088
6089
|
"privacy": "private",
|
|
6089
6090
|
"return": {
|
|
6090
6091
|
"type": {
|
|
@@ -6217,7 +6218,7 @@
|
|
|
6217
6218
|
"type": {
|
|
6218
6219
|
"text": "number"
|
|
6219
6220
|
},
|
|
6220
|
-
"description": "
|
|
6221
|
+
"description": "Sets the window width, in pixels, below which `scrollMonthIntoView()` scrolls to a month. The datepicker doesn't currently set it.",
|
|
6221
6222
|
"attribute": "mobilebreakpoint"
|
|
6222
6223
|
},
|
|
6223
6224
|
{
|
|
@@ -6288,7 +6289,7 @@
|
|
|
6288
6289
|
{
|
|
6289
6290
|
"kind": "method",
|
|
6290
6291
|
"name": "refreshCommittedRangeClasses",
|
|
6291
|
-
"description": "Re-applies the committed-range classes across every focusable cell\nafter a month navigation. classMap in the cell tracks its own\nprevious state: once `clearRangePreview({ force: true })` strips\n`inRange`/`rangeDepartDate` imperatively before the re-render,\nclassMap's next diff sees the same class-value it emitted before and\nproduces no delta, leaving the DOM without the classes even though a\nfull range is committed. Re-applying imperatively resyncs the two\nmonths' cells with `dateFrom`/`dateTo`.\n\nIterates `getAllFocusableCells()`: out-of-range cells (blocked by\n`min`/`max`) can never carry range classes anyway, so skipping them\nis correct and cheaper than a whole-grid walk.\n\nThe cell's `applyCommittedRangeClasses` reuses the same\n`isInRange`/`isDepartDate`/`isReturnDate` helpers `renderCellButton`\nuses, so
|
|
6292
|
+
"description": "Re-applies the committed-range classes across every focusable cell\nafter a month navigation. classMap in the cell tracks its own\nprevious state: once `clearRangePreview({ force: true })` strips\n`inRange`/`rangeDepartDate` imperatively before the re-render,\nclassMap's next diff sees the same class-value it emitted before and\nproduces no delta, leaving the DOM without the classes even though a\nfull range is committed. Re-applying imperatively resyncs the two\nmonths' cells with `dateFrom`/`dateTo`.\n\nIterates `getAllFocusableCells()`: out-of-range cells (blocked by\n`min`/`max`) can never carry range classes anyway, so skipping them\nis correct and cheaper than a whole-grid walk.\n\nThe cell's `applyCommittedRangeClasses` reuses the same\n`isInRange`/`isDepartDate`/`isReturnDate` helpers `renderCellButton`\nuses, so this method doesn't parse `dateFrom` or `dateTo`; the helpers already\nnormalize their inputs (midnight-truncation, string→int) internally.",
|
|
6292
6293
|
"privacy": "private",
|
|
6293
6294
|
"return": {
|
|
6294
6295
|
"type": {
|
|
@@ -6299,11 +6300,11 @@
|
|
|
6299
6300
|
{
|
|
6300
6301
|
"kind": "method",
|
|
6301
6302
|
"name": "renderAllCalendars",
|
|
6302
|
-
"description": "Renders
|
|
6303
|
+
"description": "Renders the calendar's `auro-formkit-calendar-month` elements, one for each month shown.\nRenders nothing until `visible` is set.",
|
|
6303
6304
|
"privacy": "private",
|
|
6304
6305
|
"return": {
|
|
6305
6306
|
"type": {
|
|
6306
|
-
"text": "Object"
|
|
6307
|
+
"text": "Object|undefined"
|
|
6307
6308
|
}
|
|
6308
6309
|
}
|
|
6309
6310
|
},
|
|
@@ -6340,7 +6341,7 @@
|
|
|
6340
6341
|
{
|
|
6341
6342
|
"kind": "method",
|
|
6342
6343
|
"name": "scrollToActiveCell",
|
|
6343
|
-
"description": "Scrolls the calendar so the active cell is visible.\n\nWalks the flat tree (rendered, slot-aware) outward from the active\ncell's button and calls `scrollBy` on every vertically-scrollable\nancestor by whatever delta still separates the cell from that\nancestor's viewport. Native `scrollIntoView`
|
|
6344
|
+
"description": "Scrolls the calendar so the active cell is visible.\n\nWalks the flat tree (rendered, slot-aware) outward from the active\ncell's button and calls `scrollBy` on every vertically-scrollable\nancestor by whatever delta still separates the cell from that\nancestor's viewport. Native `scrollIntoView` isn't used because the\ncell sits inside multiple nested scroll containers (the dropdown bib's\n`<dialog>`, the bibtemplate's `#bodyContainer`) and the algorithm only\nscrolls one of them on its own, leaving the cell short of the\nviewport in mobile fullscreen.\n\nUses `behavior: 'auto'` (the spec's universally-supported non-animated\nvalue) so each `scrollBy` resolves synchronously and the next\niteration's `getBoundingClientRect` reads post-scroll positions\naccurately. This also satisfies `prefers-reduced-motion` users: the\nscroll containers don't set CSS `scroll-behavior: smooth`, so `auto`\nis effectively instant.\n\nThe active cell is looked up from the cache populated by\n`setActiveCell`. On a cache miss (stale or absent) the cache is\nrefreshed from a single full scan so subsequent calls stay on the\nfast path.",
|
|
6344
6345
|
"privacy": "private",
|
|
6345
6346
|
"return": {
|
|
6346
6347
|
"type": {
|
|
@@ -6443,7 +6444,8 @@
|
|
|
6443
6444
|
"type": {
|
|
6444
6445
|
"text": "number[]"
|
|
6445
6446
|
},
|
|
6446
|
-
"
|
|
6447
|
+
"description": "Deprecated: Use `blackoutDates` on `auro-datepicker` instead.\nHolds the dates set with the deprecated `disabledDays`, as Unix timestamps in seconds. The calendar still honors them, and the first non-empty value logs a one-time console message.",
|
|
6448
|
+
"deprecated": "Use `blackoutDates` on `auro-datepicker` instead.",
|
|
6447
6449
|
"privacy": "private",
|
|
6448
6450
|
"default": "[]"
|
|
6449
6451
|
},
|
|
@@ -6489,7 +6491,7 @@
|
|
|
6489
6491
|
"type": {
|
|
6490
6492
|
"text": "CustomEvent"
|
|
6491
6493
|
},
|
|
6492
|
-
"description": "Notifies
|
|
6494
|
+
"description": "Notifies once, after the calendar first renders, with `event.detail.value` set to `false`. The calendar doesn't currently track whether the screen is narrow, so the event doesn't fire again."
|
|
6493
6495
|
}
|
|
6494
6496
|
],
|
|
6495
6497
|
"attributes": [
|
|
@@ -6627,7 +6629,7 @@
|
|
|
6627
6629
|
"declarations": [
|
|
6628
6630
|
{
|
|
6629
6631
|
"kind": "class",
|
|
6630
|
-
"description": "A date field that lets people type a date or choose it from a calendar, including a start and end date for a range.\n\n**Key capabilities**\n- **Date ranges**: `range` adds a second input for an end date and highlights the chosen range in the calendar.\n- **Limits and unavailable dates**: `minDate` and `maxDate` turn off dates outside a range, and `blackoutDates` marks single dates people can't select.\n- **Validation**: `required` shows an error when no date is chosen, and the `setCustomValidity` attributes replace the built-in error messages.\n- **Content on dates**: The `date_YYYY_MM_DD` and `popover_YYYY_MM_DD` slots add content to a date in the calendar, such as a price.\n- **Localization**: `locale` sets the date format and the month and weekday names, and attributes and slots let you translate
|
|
6632
|
+
"description": "A date field that lets people type a date or choose it from a calendar, including a start and end date for a range.\n\n**Key capabilities**\n- **Date ranges**: `range` adds a second input for an end date and highlights the chosen range in the calendar.\n- **Limits and unavailable dates**: `minDate` and `maxDate` turn off dates outside a range, and `blackoutDates` marks single dates people can't select.\n- **Validation**: `required` shows an error when no date is chosen, and the `setCustomValidity` attributes replace the built-in error messages.\n- **Content on dates**: The `date_YYYY_MM_DD` and `popover_YYYY_MM_DD` slots add content to a date in the calendar, such as a price.\n- **Localization**: `locale` sets the date format and the month and weekday names, and attributes and slots let you translate most other text, except the calendar's Done button and the word \"selected\" in screen reader announcements.\n- **Fullscreen on small screens**: `fullscreenBreakpoint` sets the screen size at or below which the calendar opens fullscreen.\n\n**Example**\n```html\n<auro-datepicker>\n <span slot=\"fromLabel\">Departure date</span>\n <span slot=\"ariaLabel.bib.close\">Close calendar</span>\n <span slot=\"bib.fullscreen.headline\">Choose a date</span>\n</auro-datepicker>\n```",
|
|
6631
6633
|
"name": "AuroDatePicker",
|
|
6632
6634
|
"cssParts": [
|
|
6633
6635
|
{
|
|
@@ -6769,7 +6771,7 @@
|
|
|
6769
6771
|
"name": "_warnedInvalidLocales",
|
|
6770
6772
|
"static": true,
|
|
6771
6773
|
"default": "new Set()",
|
|
6772
|
-
"description": "Per-class dedup set used by `_warnInvalidLocale`. Static so the dedup\nspans every datepicker instance on the page; lives on the class (not\nat module scope) so it stays an encapsulated implementation detail of\nthis component and
|
|
6774
|
+
"description": "Per-class dedup set used by `_warnInvalidLocale`. Static so the dedup\nspans every datepicker instance on the page; lives on the class (not\nat module scope) so it stays an encapsulated implementation detail of\nthis component and doesn't interfere with WCA's class-JSDoc\nattachment.",
|
|
6773
6775
|
"privacy": "private"
|
|
6774
6776
|
},
|
|
6775
6777
|
{
|
|
@@ -6784,7 +6786,7 @@
|
|
|
6784
6786
|
}
|
|
6785
6787
|
}
|
|
6786
6788
|
],
|
|
6787
|
-
"description": "Logs a one-time `console.debug` when an unsupported locale falls back to\
|
|
6789
|
+
"description": "Logs a one-time `console.debug` when an unsupported locale falls back to\n`en-US`. Deduped by the offending tag so noisy re-renders that resurface\nthe same bad value stay quiet, but each new bad value still signals so\nconsumers can spot the typo or missing tag.",
|
|
6788
6790
|
"privacy": "private",
|
|
6789
6791
|
"return": {
|
|
6790
6792
|
"type": {
|
|
@@ -6966,7 +6968,7 @@
|
|
|
6966
6968
|
{
|
|
6967
6969
|
"kind": "method",
|
|
6968
6970
|
"name": "checkDisplayValueSlotChange",
|
|
6969
|
-
"description": "
|
|
6971
|
+
"description": "Called when the `displayValue` slot's content changes. Records whether the slot has content to show.",
|
|
6970
6972
|
"privacy": "private",
|
|
6971
6973
|
"return": {
|
|
6972
6974
|
"type": {
|
|
@@ -7357,7 +7359,7 @@
|
|
|
7357
7359
|
}
|
|
7358
7360
|
}
|
|
7359
7361
|
],
|
|
7360
|
-
"description": "
|
|
7362
|
+
"description": "Called when someone selects the clear button. Clears the chosen dates and moves focus to the start date input.",
|
|
7361
7363
|
"privacy": "private",
|
|
7362
7364
|
"return": {
|
|
7363
7365
|
"type": {
|
|
@@ -7377,7 +7379,7 @@
|
|
|
7377
7379
|
}
|
|
7378
7380
|
}
|
|
7379
7381
|
],
|
|
7380
|
-
"description": "
|
|
7382
|
+
"description": "Called when someone clicks the datepicker. Stops a click on the inert trigger from closing the open calendar,\nand in the `snowflake` layout, moves focus to the start date input when the click isn't on an input or the calendar and no input has focus.",
|
|
7381
7383
|
"privacy": "private",
|
|
7382
7384
|
"return": {
|
|
7383
7385
|
"type": {
|
|
@@ -7408,7 +7410,7 @@
|
|
|
7408
7410
|
}
|
|
7409
7411
|
}
|
|
7410
7412
|
],
|
|
7411
|
-
"description": "
|
|
7413
|
+
"description": "Called when a slot the datepicker passes to the calendar changes, such as `bib.fullscreen.headline`.\nCopies the slot's content into the calendar.",
|
|
7412
7414
|
"privacy": "private"
|
|
7413
7415
|
},
|
|
7414
7416
|
{
|
|
@@ -8172,7 +8174,7 @@
|
|
|
8172
8174
|
"type": {
|
|
8173
8175
|
"text": "'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'"
|
|
8174
8176
|
},
|
|
8175
|
-
"description": "Sets the shape of the
|
|
8177
|
+
"description": "Sets the shape of the date field. Use `classic` (the default) with the `classic` layout, and `snowflake` with the `snowflake` layout.",
|
|
8176
8178
|
"default": "'classic'",
|
|
8177
8179
|
"attribute": "shape",
|
|
8178
8180
|
"reflects": true,
|
|
@@ -8208,7 +8210,7 @@
|
|
|
8208
8210
|
"type": {
|
|
8209
8211
|
"text": "'xs' | 'sm' | 'md' | 'lg' | 'xl'"
|
|
8210
8212
|
},
|
|
8211
|
-
"description": "Sets the
|
|
8213
|
+
"description": "Sets the height of the date field, from `xs`, the shortest, to `xl`, the tallest. The `classic` and `snowflake` shapes have a fixed height, so `size` doesn't change them. The `rounded` shape supports only `lg`, and the `pill`, `pill-left`, and `pill-right` shapes support only `md` and `xl`.",
|
|
8212
8214
|
"default": "'lg'",
|
|
8213
8215
|
"attribute": "size",
|
|
8214
8216
|
"reflects": true,
|
|
@@ -8234,7 +8236,7 @@
|
|
|
8234
8236
|
"type": {
|
|
8235
8237
|
"text": "boolean"
|
|
8236
8238
|
},
|
|
8237
|
-
"description": "
|
|
8239
|
+
"description": "Marks the datepicker as used once it gets focus, so validation can report a missing required date. `reset()` clears it.",
|
|
8238
8240
|
"default": "false"
|
|
8239
8241
|
},
|
|
8240
8242
|
{
|
|
@@ -8854,7 +8856,7 @@
|
|
|
8854
8856
|
"type": {
|
|
8855
8857
|
"text": "'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'"
|
|
8856
8858
|
},
|
|
8857
|
-
"description": "Sets the shape of the
|
|
8859
|
+
"description": "Sets the shape of the date field. Use `classic` (the default) with the `classic` layout, and `snowflake` with the `snowflake` layout.",
|
|
8858
8860
|
"default": "'classic'",
|
|
8859
8861
|
"fieldName": "shape",
|
|
8860
8862
|
"category": "ui"
|
|
@@ -8874,7 +8876,7 @@
|
|
|
8874
8876
|
"type": {
|
|
8875
8877
|
"text": "'xs' | 'sm' | 'md' | 'lg' | 'xl'"
|
|
8876
8878
|
},
|
|
8877
|
-
"description": "Sets the
|
|
8879
|
+
"description": "Sets the height of the date field, from `xs`, the shortest, to `xl`, the tallest. The `classic` and `snowflake` shapes have a fixed height, so `size` doesn't change them. The `rounded` shape supports only `lg`, and the `pill`, `pill-left`, and `pill-right` shapes support only `md` and `xl`.",
|
|
8878
8880
|
"default": "'lg'",
|
|
8879
8881
|
"fieldName": "size",
|
|
8880
8882
|
"category": "ui"
|
|
@@ -9102,7 +9104,8 @@
|
|
|
9102
9104
|
"type": {
|
|
9103
9105
|
"text": "object"
|
|
9104
9106
|
},
|
|
9105
|
-
"default": "{ Escape(component, evt, ctx) { if (!ctx.isExpanded) { return; } // Stop propagation so parent containers (auro-dialog, auro-drawer) // don't also react to Escape. evt.stopPropagation(); evt.preventDefault(); // Signal to the visibility-change handler in auro-datepicker.js that // focus should be restored to the trigger regardless of hasFocus. // hidePopover() (desktop non-modal path) does not auto-restore focus, // and hiding the grid's popover ancestor drops focus to <body>. That // synchronously fires focusout on the datepicker host — clearing // hasFocus — before updated() runs, which would otherwise skip the // input refocus. Native <dialog>.close() (modal path) restores focus // itself, but the flag is harmless there. component._restoreFocusOnClose = true; component.hideBib(); }, Enter(component, evt, ctx) { if (ctx.isExpanded) { return; } // Only open from the trigger input, not the clear button or other internal elements. // evt.target is retargeted to the host in shadow DOM, so use composedPath() // to find the real origin. The clear button is rendered with class \"clearBtn\". const path = evt.composedPath(); if (path.some(el => el.classList?.contains('clearBtn'))) { return; } evt.preventDefault(); component.dropdown.show(); }, ' '(component, evt, ctx) { if (ctx.isExpanded) { return; } // Only open from the trigger input, not the clear button or other internal elements. // evt.target is retargeted to the host in shadow DOM, so use composedPath() // to find the real origin. The clear button is rendered with class \"clearBtn\". const path = evt.composedPath(); if (path.some(el => el.classList?.contains('clearBtn'))) { return; } evt.preventDefault(); component.dropdown.show(); }, }"
|
|
9107
|
+
"default": "{ Escape(component, evt, ctx) { if (!ctx.isExpanded) { return; } // Stop propagation so parent containers (auro-dialog, auro-drawer) // don't also react to Escape. evt.stopPropagation(); evt.preventDefault(); // Signal to the visibility-change handler in auro-datepicker.js that // focus should be restored to the trigger regardless of hasFocus. // hidePopover() (desktop non-modal path) does not auto-restore focus, // and hiding the grid's popover ancestor drops focus to <body>. That // synchronously fires focusout on the datepicker host — clearing // hasFocus — before updated() runs, which would otherwise skip the // input refocus. Native <dialog>.close() (modal path) restores focus // itself, but the flag is harmless there. component._restoreFocusOnClose = true; component.hideBib(); }, Enter(component, evt, ctx) { if (ctx.isExpanded) { return; } // Only open from the trigger input, not the clear button or other internal elements. // evt.target is retargeted to the host in shadow DOM, so use composedPath() // to find the real origin. The clear button is rendered with class \"clearBtn\". const path = evt.composedPath(); if (path.some(el => el.classList?.contains('clearBtn'))) { return; } evt.preventDefault(); component.dropdown.show(); }, ' '(component, evt, ctx) { if (ctx.isExpanded) { return; } // Only open from the trigger input, not the clear button or other internal elements. // evt.target is retargeted to the host in shadow DOM, so use composedPath() // to find the real origin. The clear button is rendered with class \"clearBtn\". const path = evt.composedPath(); if (path.some(el => el.classList?.contains('clearBtn'))) { return; } evt.preventDefault(); component.dropdown.show(); }, }",
|
|
9108
|
+
"description": "Holds the datepicker's keyboard handlers, one function each for `Escape`, `Enter`, and the space bar. Escape closes the open calendar without closing a dialog or drawer around it, and Enter or Space opens the closed calendar unless the clear button has focus."
|
|
9106
9109
|
}
|
|
9107
9110
|
],
|
|
9108
9111
|
"exports": [
|
|
@@ -9173,7 +9176,7 @@
|
|
|
9173
9176
|
"declarations": [
|
|
9174
9177
|
{
|
|
9175
9178
|
"kind": "class",
|
|
9176
|
-
"description": "",
|
|
9179
|
+
"description": "Date helpers the datepicker and its calendar share, such as finding the first day of a month and counting the months between two dates.",
|
|
9177
9180
|
"name": "AuroDatepickerUtilities",
|
|
9178
9181
|
"members": [
|
|
9179
9182
|
{
|
|
@@ -9214,7 +9217,7 @@
|
|
|
9214
9217
|
}
|
|
9215
9218
|
}
|
|
9216
9219
|
],
|
|
9217
|
-
"description": "
|
|
9220
|
+
"description": "Checks whether two dates are the same moment in time.",
|
|
9218
9221
|
"privacy": "private",
|
|
9219
9222
|
"return": {
|
|
9220
9223
|
"type": {
|
|
@@ -9288,7 +9291,7 @@
|
|
|
9288
9291
|
"declarations": [
|
|
9289
9292
|
{
|
|
9290
9293
|
"kind": "class",
|
|
9291
|
-
"description": "",
|
|
9294
|
+
"description": "Helpers the datepicker's calendar uses to change the month it shows, show or hide the previous and next month buttons, and scroll to a month.",
|
|
9292
9295
|
"name": "CalendarUtilities",
|
|
9293
9296
|
"members": [
|
|
9294
9297
|
{
|
|
@@ -9322,7 +9325,7 @@
|
|
|
9322
9325
|
}
|
|
9323
9326
|
}
|
|
9324
9327
|
],
|
|
9325
|
-
"description": "
|
|
9328
|
+
"description": "Called when the calendar's `centralDate` changes. Updates the previous and next month buttons\nand fires `auroCalendar-centralDateChanged` with the new date.",
|
|
9326
9329
|
"privacy": "private",
|
|
9327
9330
|
"return": {
|
|
9328
9331
|
"type": {
|
|
@@ -9359,7 +9362,7 @@
|
|
|
9359
9362
|
{
|
|
9360
9363
|
"kind": "method",
|
|
9361
9364
|
"name": "requestDismiss",
|
|
9362
|
-
"description": "
|
|
9365
|
+
"description": "Called when someone selects the fullscreen calendar's close button or the Done button.\nFires `auroCalendar-dismissRequest` so the datepicker closes the calendar.",
|
|
9363
9366
|
"privacy": "private",
|
|
9364
9367
|
"return": {
|
|
9365
9368
|
"type": {
|
|
@@ -9396,6 +9399,8 @@
|
|
|
9396
9399
|
{
|
|
9397
9400
|
"kind": "field",
|
|
9398
9401
|
"name": "util",
|
|
9402
|
+
"description": "The date helpers these methods use.",
|
|
9403
|
+
"privacy": "private",
|
|
9399
9404
|
"default": "new AuroDatepickerUtilities()"
|
|
9400
9405
|
}
|
|
9401
9406
|
],
|
|
@@ -9426,7 +9431,7 @@
|
|
|
9426
9431
|
"declarations": [
|
|
9427
9432
|
{
|
|
9428
9433
|
"kind": "class",
|
|
9429
|
-
"description": "",
|
|
9434
|
+
"description": "Helpers the datepicker and its calendar use to set the month the calendar shows, and to choose and render the calendar's months.",
|
|
9430
9435
|
"name": "UtilitiesCalendarRender",
|
|
9431
9436
|
"members": [
|
|
9432
9437
|
{
|
|
@@ -9529,7 +9534,7 @@
|
|
|
9529
9534
|
}
|
|
9530
9535
|
}
|
|
9531
9536
|
],
|
|
9532
|
-
"description": "Renders
|
|
9537
|
+
"description": "Renders an `auro-formkit-calendar-month` element for one month.",
|
|
9533
9538
|
"privacy": "private",
|
|
9534
9539
|
"return": {
|
|
9535
9540
|
"type": {
|
|
@@ -9563,16 +9568,16 @@
|
|
|
9563
9568
|
"parameters": [
|
|
9564
9569
|
{
|
|
9565
9570
|
"name": "elem",
|
|
9566
|
-
"description": "The element to set
|
|
9571
|
+
"description": "The element to set `centralDate` on.",
|
|
9567
9572
|
"type": {
|
|
9568
9573
|
"text": "Object"
|
|
9569
9574
|
}
|
|
9570
9575
|
},
|
|
9571
9576
|
{
|
|
9572
9577
|
"name": "date",
|
|
9573
|
-
"description": "The date to
|
|
9578
|
+
"description": "The date whose month to show: an ISO date string, a `Date` object, or a timestamp in milliseconds.",
|
|
9574
9579
|
"type": {
|
|
9575
|
-
"text": "
|
|
9580
|
+
"text": "string|Date|number"
|
|
9576
9581
|
}
|
|
9577
9582
|
}
|
|
9578
9583
|
],
|
|
@@ -9582,6 +9587,8 @@
|
|
|
9582
9587
|
{
|
|
9583
9588
|
"kind": "field",
|
|
9584
9589
|
"name": "util",
|
|
9590
|
+
"description": "The date helpers these methods use.",
|
|
9591
|
+
"privacy": "private",
|
|
9585
9592
|
"default": "new AuroDatepickerUtilities()"
|
|
9586
9593
|
}
|
|
9587
9594
|
]
|
|
@@ -10244,7 +10251,7 @@
|
|
|
10244
10251
|
"privacy": "private",
|
|
10245
10252
|
"return": {
|
|
10246
10253
|
"type": {
|
|
10247
|
-
"text": "
|
|
10254
|
+
"text": "TemplateResult"
|
|
10248
10255
|
}
|
|
10249
10256
|
}
|
|
10250
10257
|
},
|
|
@@ -10265,7 +10272,7 @@
|
|
|
10265
10272
|
"privacy": "private",
|
|
10266
10273
|
"return": {
|
|
10267
10274
|
"type": {
|
|
10268
|
-
"text": "
|
|
10275
|
+
"text": "TemplateResult"
|
|
10269
10276
|
}
|
|
10270
10277
|
}
|
|
10271
10278
|
},
|
|
@@ -10276,7 +10283,7 @@
|
|
|
10276
10283
|
"privacy": "private",
|
|
10277
10284
|
"return": {
|
|
10278
10285
|
"type": {
|
|
10279
|
-
"text": "
|
|
10286
|
+
"text": "TemplateResult"
|
|
10280
10287
|
}
|
|
10281
10288
|
}
|
|
10282
10289
|
},
|
|
@@ -10287,7 +10294,7 @@
|
|
|
10287
10294
|
"privacy": "private",
|
|
10288
10295
|
"return": {
|
|
10289
10296
|
"type": {
|
|
10290
|
-
"text": "
|
|
10297
|
+
"text": "TemplateResult"
|
|
10291
10298
|
}
|
|
10292
10299
|
}
|
|
10293
10300
|
},
|
|
@@ -10298,7 +10305,7 @@
|
|
|
10298
10305
|
"privacy": "private",
|
|
10299
10306
|
"return": {
|
|
10300
10307
|
"type": {
|
|
10301
|
-
"text": "
|
|
10308
|
+
"text": "TemplateResult"
|
|
10302
10309
|
}
|
|
10303
10310
|
}
|
|
10304
10311
|
},
|
|
@@ -10402,6 +10409,7 @@
|
|
|
10402
10409
|
"description": "Removes the trigger's border, background, and shadow.\nApplies only when `shape` and `size` are both set.",
|
|
10403
10410
|
"attribute": "simple",
|
|
10404
10411
|
"reflects": true,
|
|
10412
|
+
"relevantWhen": "shape !== undefined",
|
|
10405
10413
|
"category": "ui"
|
|
10406
10414
|
},
|
|
10407
10415
|
{
|
|
@@ -10426,6 +10434,7 @@
|
|
|
10426
10434
|
"text": "number"
|
|
10427
10435
|
},
|
|
10428
10436
|
"description": "Sets the trigger's position in the keyboard tab order (the trigger's `tabindex`).\nApplies only when the `trigger` slot content isn't focusable.",
|
|
10437
|
+
"default": "0",
|
|
10429
10438
|
"attribute": "tabindex",
|
|
10430
10439
|
"category": "a11y"
|
|
10431
10440
|
},
|
|
@@ -10488,7 +10497,7 @@
|
|
|
10488
10497
|
"description": "Notifies that the dropdown has an ID you can use to reference its bib, such as in `aria-controls`. The detail's `id` is the dropdown's own `id`, generated when not set, and the bib's ID is that value followed by `-floater-bib`."
|
|
10489
10498
|
},
|
|
10490
10499
|
{
|
|
10491
|
-
"description": "Notifies that the bib opened or closed.",
|
|
10500
|
+
"description": "Notifies that the bib opened or closed, with `event.detail.expanded` set to true when it opened. When it closed, `event.detail.eventType` says why, such as `click`, `keydown`, or `focusloss`.",
|
|
10492
10501
|
"name": "auroDropdown-toggled"
|
|
10493
10502
|
},
|
|
10494
10503
|
{
|
|
@@ -10496,7 +10505,7 @@
|
|
|
10496
10505
|
"type": {
|
|
10497
10506
|
"text": "CustomEvent"
|
|
10498
10507
|
},
|
|
10499
|
-
"description": "Notifies that the trigger was clicked, or activated with Enter or Space."
|
|
10508
|
+
"description": "Notifies that the trigger was clicked, or activated with Enter or Space. A click currently fires it twice: first with `event.detail.expanded`, then again without a detail, bubbling. With `disableEventShow` set, only the second one fires, and Enter and Space don't fire it."
|
|
10500
10509
|
}
|
|
10501
10510
|
],
|
|
10502
10511
|
"attributes": [
|
|
@@ -10725,6 +10734,7 @@
|
|
|
10725
10734
|
},
|
|
10726
10735
|
"description": "Removes the trigger's border, background, and shadow.\nApplies only when `shape` and `size` are both set.",
|
|
10727
10736
|
"fieldName": "simple",
|
|
10737
|
+
"relevantWhen": "shape !== undefined",
|
|
10728
10738
|
"category": "ui"
|
|
10729
10739
|
},
|
|
10730
10740
|
{
|
|
@@ -10744,6 +10754,7 @@
|
|
|
10744
10754
|
"text": "number"
|
|
10745
10755
|
},
|
|
10746
10756
|
"description": "Sets the trigger's position in the keyboard tab order (the trigger's `tabindex`).\nApplies only when the `trigger` slot content isn't focusable.",
|
|
10757
|
+
"default": "0",
|
|
10747
10758
|
"fieldName": "tabIndex",
|
|
10748
10759
|
"category": "a11y"
|
|
10749
10760
|
},
|
|
@@ -11149,7 +11160,7 @@
|
|
|
11149
11160
|
"declarations": [
|
|
11150
11161
|
{
|
|
11151
11162
|
"kind": "class",
|
|
11152
|
-
"description": "Collects the values and validity of the Auro form elements inside it, and handles submitting and resetting them together.\n\n**Key capabilities**\n- **Collects values**: The form always gathers the value of every named, enabled Auro form element inside it, such as `auro-input` or `auro-select`, into one object in `value`.\n- **Tracks validity and changes**: The form always reports whether its fields pass validation in `validity`, and whether any field has changed from its starting value in `isInitialState`.\n- **Manages submit and reset buttons**: The form always turns on a `button` or `auro-button` with `type=\"submit\"` only while no enabled field is invalid or required but empty, and one with `type=\"reset\"` only when the form has changed or holds a value.\n- **Submits on Enter**: Pressing Enter in a named, enabled form element
|
|
11163
|
+
"description": "Collects the values and validity of the Auro form elements inside it, and handles submitting and resetting them together.\n\n**Key capabilities**\n- **Collects values**: The form always gathers the value of every named, enabled Auro form element inside it, such as `auro-input` or `auro-select`, into one object in `value`.\n- **Tracks validity and changes**: The form always reports whether its fields pass validation in `validity`, and whether any field has changed from its starting value in `isInitialState`.\n- **Manages submit and reset buttons**: The form always turns on a `button` or `auro-button` with `type=\"submit\"` only while no enabled field is invalid or required but empty, and one with `type=\"reset\"` only when the form has changed or holds a value.\n- **Submits on Enter**: Pressing Enter in a named, enabled form element runs `submit()`, except on the clear button in `auro-input` or `auro-combobox`.\n- **Skips disabled fields**: The form always leaves fields with the `disabled` attribute out of `value`, validation, and the `submit` event.\n\n**Example**\n```html\n<auro-form>\n <auro-input name=\"email\" type=\"email\" required>\n <span slot=\"label\">Email</span>\n </auro-input>\n <auro-button type=\"submit\">Submit</auro-button>\n</auro-form>\n```",
|
|
11153
11164
|
"name": "AuroForm",
|
|
11154
11165
|
"slots": [
|
|
11155
11166
|
{
|
|
@@ -11741,7 +11752,7 @@
|
|
|
11741
11752
|
"description": "Fires when a child form element's value changes, and when the form rebuilds its state, such as after its content changes or a reset."
|
|
11742
11753
|
},
|
|
11743
11754
|
{
|
|
11744
|
-
"description": "
|
|
11755
|
+
"description": "Bubbles up from a child form element when it receives user input; the form doesn't fire `input` itself. `auro-counter-group` doesn't currently bubble its `input` event, so listen for `change` to catch every field.",
|
|
11745
11756
|
"name": "input"
|
|
11746
11757
|
},
|
|
11747
11758
|
{
|
|
@@ -12508,7 +12519,7 @@
|
|
|
12508
12519
|
{
|
|
12509
12520
|
"kind": "method",
|
|
12510
12521
|
"name": "definePattern",
|
|
12511
|
-
"description": "Gets the `pattern` for the inner `<input>` element. For credit card numbers,\nbuilds a length check from `minLength` and `maxLength` instead.",
|
|
12522
|
+
"description": "Gets the `pattern` for the inner `<input>` element. For credit card numbers,\nbuilds a length check from `minLength` and `maxLength` instead, unless `noValidate` is set.",
|
|
12512
12523
|
"privacy": "private",
|
|
12513
12524
|
"return": {
|
|
12514
12525
|
"type": {
|
|
@@ -13792,7 +13803,7 @@
|
|
|
13792
13803
|
"type": {
|
|
13793
13804
|
"text": "'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'"
|
|
13794
13805
|
},
|
|
13795
|
-
"description": "Sets the shape of the field's border.
|
|
13806
|
+
"description": "Sets the shape of the field's border. `classic` and `rounded` have slightly rounded corners, `box` has square corners,\nand `pill` has fully rounded ends, or only the left or right end for `pill-left` and `pill-right`.\nThe emphasized layouts support `pill`, `pill-left`, and `pill-right`, and the snowflake layout uses `snowflake`.",
|
|
13796
13807
|
"default": "'classic'",
|
|
13797
13808
|
"attribute": "shape",
|
|
13798
13809
|
"reflects": true,
|
|
@@ -13838,7 +13849,7 @@
|
|
|
13838
13849
|
"type": {
|
|
13839
13850
|
"text": "'xs' | 'sm' | 'md' | 'lg' | 'xl'"
|
|
13840
13851
|
},
|
|
13841
|
-
"description": "Sets the field's
|
|
13852
|
+
"description": "Sets the field's height. The `classic` and `snowflake` shapes are the same height at every size,\nand the emphasized layouts support only `xl`.",
|
|
13842
13853
|
"default": "'lg'",
|
|
13843
13854
|
"attribute": "size",
|
|
13844
13855
|
"reflects": true,
|
|
@@ -14681,7 +14692,7 @@
|
|
|
14681
14692
|
"type": {
|
|
14682
14693
|
"text": "'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'"
|
|
14683
14694
|
},
|
|
14684
|
-
"description": "Sets the shape of the field's border.
|
|
14695
|
+
"description": "Sets the shape of the field's border. `classic` and `rounded` have slightly rounded corners, `box` has square corners,\nand `pill` has fully rounded ends, or only the left or right end for `pill-left` and `pill-right`.\nThe emphasized layouts support `pill`, `pill-left`, and `pill-right`, and the snowflake layout uses `snowflake`.",
|
|
14685
14696
|
"default": "'classic'",
|
|
14686
14697
|
"fieldName": "shape",
|
|
14687
14698
|
"category": "ui",
|
|
@@ -14708,7 +14719,7 @@
|
|
|
14708
14719
|
"type": {
|
|
14709
14720
|
"text": "'xs' | 'sm' | 'md' | 'lg' | 'xl'"
|
|
14710
14721
|
},
|
|
14711
|
-
"description": "Sets the field's
|
|
14722
|
+
"description": "Sets the field's height. The `classic` and `snowflake` shapes are the same height at every size,\nand the emphasized layouts support only `xl`.",
|
|
14712
14723
|
"default": "'lg'",
|
|
14713
14724
|
"fieldName": "size",
|
|
14714
14725
|
"category": "ui",
|
|
@@ -15797,7 +15808,7 @@
|
|
|
15797
15808
|
"type": {
|
|
15798
15809
|
"text": "'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'"
|
|
15799
15810
|
},
|
|
15800
|
-
"description": "Sets the shape of the field's border.
|
|
15811
|
+
"description": "Sets the shape of the field's border. `classic` and `rounded` have slightly rounded corners, `box` has square corners,\nand `pill` has fully rounded ends, or only the left or right end for `pill-left` and `pill-right`.\nThe emphasized layouts support `pill`, `pill-left`, and `pill-right`, and the snowflake layout uses `snowflake`.",
|
|
15801
15812
|
"default": "'classic'",
|
|
15802
15813
|
"attribute": "shape",
|
|
15803
15814
|
"reflects": true,
|
|
@@ -15831,7 +15842,7 @@
|
|
|
15831
15842
|
"type": {
|
|
15832
15843
|
"text": "'xs' | 'sm' | 'md' | 'lg' | 'xl'"
|
|
15833
15844
|
},
|
|
15834
|
-
"description": "Sets the field's
|
|
15845
|
+
"description": "Sets the field's height. The `classic` and `snowflake` shapes are the same height at every size,\nand the emphasized layouts support only `xl`.",
|
|
15835
15846
|
"default": "'lg'",
|
|
15836
15847
|
"attribute": "size",
|
|
15837
15848
|
"reflects": true,
|
|
@@ -16444,7 +16455,7 @@
|
|
|
16444
16455
|
"type": {
|
|
16445
16456
|
"text": "'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'"
|
|
16446
16457
|
},
|
|
16447
|
-
"description": "Sets the shape of the field's border.
|
|
16458
|
+
"description": "Sets the shape of the field's border. `classic` and `rounded` have slightly rounded corners, `box` has square corners,\nand `pill` has fully rounded ends, or only the left or right end for `pill-left` and `pill-right`.\nThe emphasized layouts support `pill`, `pill-left`, and `pill-right`, and the snowflake layout uses `snowflake`.",
|
|
16448
16459
|
"default": "'classic'",
|
|
16449
16460
|
"fieldName": "shape",
|
|
16450
16461
|
"category": "ui"
|
|
@@ -16463,7 +16474,7 @@
|
|
|
16463
16474
|
"type": {
|
|
16464
16475
|
"text": "'xs' | 'sm' | 'md' | 'lg' | 'xl'"
|
|
16465
16476
|
},
|
|
16466
|
-
"description": "Sets the field's
|
|
16477
|
+
"description": "Sets the field's height. The `classic` and `snowflake` shapes are the same height at every size,\nand the emphasized layouts support only `xl`.",
|
|
16467
16478
|
"default": "'lg'",
|
|
16468
16479
|
"fieldName": "size",
|
|
16469
16480
|
"category": "ui"
|
|
@@ -16702,12 +16713,16 @@
|
|
|
16702
16713
|
"declarations": [
|
|
16703
16714
|
{
|
|
16704
16715
|
"kind": "class",
|
|
16705
|
-
"description": "",
|
|
16716
|
+
"description": "Helpers that set up input masks and convert between the text shown in the field, `Date` objects, and ISO date strings (`YYYY-MM-DD`), for one locale and date format.",
|
|
16706
16717
|
"name": "AuroInputUtilities",
|
|
16707
16718
|
"members": [
|
|
16708
16719
|
{
|
|
16709
16720
|
"kind": "field",
|
|
16710
16721
|
"name": "formatter",
|
|
16722
|
+
"description": "The `Intl.DateTimeFormat` date formatter for the helpers' locale. The helpers don't currently use it.",
|
|
16723
|
+
"type": {
|
|
16724
|
+
"text": "Intl.DateTimeFormat"
|
|
16725
|
+
},
|
|
16711
16726
|
"default": "new Intl.DateTimeFormat(this.locale)"
|
|
16712
16727
|
},
|
|
16713
16728
|
{
|
|
@@ -16812,7 +16827,11 @@
|
|
|
16812
16827
|
},
|
|
16813
16828
|
{
|
|
16814
16829
|
"kind": "field",
|
|
16815
|
-
"name": "overrideFormat"
|
|
16830
|
+
"name": "overrideFormat",
|
|
16831
|
+
"description": "Sets the date format to use instead of the locale's format, such as `mm/dd/yyyy`. `updateFormat()` also sets it.",
|
|
16832
|
+
"type": {
|
|
16833
|
+
"text": "string|undefined"
|
|
16834
|
+
}
|
|
16816
16835
|
},
|
|
16817
16836
|
{
|
|
16818
16837
|
"kind": "method",
|
|
@@ -17481,7 +17500,7 @@
|
|
|
17481
17500
|
{
|
|
17482
17501
|
"kind": "field",
|
|
17483
17502
|
"name": "formattedValue",
|
|
17484
|
-
"description": "
|
|
17503
|
+
"description": "Gets `value` in the shape the menu works with: the string itself, or, in multi-select mode,\nan array of values parsed from the JSON array string.",
|
|
17485
17504
|
"privacy": "private",
|
|
17486
17505
|
"return": {
|
|
17487
17506
|
"type": {
|
|
@@ -17502,7 +17521,7 @@
|
|
|
17502
17521
|
}
|
|
17503
17522
|
}
|
|
17504
17523
|
],
|
|
17505
|
-
"description": "
|
|
17524
|
+
"description": "Fires the event named in the option's `event` attribute, then `auroMenu-customEventFired`, with the option in `detail.option`.",
|
|
17506
17525
|
"privacy": "private"
|
|
17507
17526
|
},
|
|
17508
17527
|
{
|
|
@@ -17532,7 +17551,7 @@
|
|
|
17532
17551
|
}
|
|
17533
17552
|
}
|
|
17534
17553
|
],
|
|
17535
|
-
"description": "
|
|
17554
|
+
"description": "Called when a key is pressed in the menu. The arrow keys move the active option, and Enter and Tab select it.",
|
|
17536
17555
|
"privacy": "private"
|
|
17537
17556
|
},
|
|
17538
17557
|
{
|
|
@@ -17547,7 +17566,7 @@
|
|
|
17547
17566
|
}
|
|
17548
17567
|
}
|
|
17549
17568
|
],
|
|
17550
|
-
"description": "
|
|
17569
|
+
"description": "Called when an option fires `auroMenuOption-click`. Selects the clicked option, unless the menu is disabled or nested in another menu.",
|
|
17551
17570
|
"privacy": "private"
|
|
17552
17571
|
},
|
|
17553
17572
|
{
|
|
@@ -17577,7 +17596,7 @@
|
|
|
17577
17596
|
}
|
|
17578
17597
|
}
|
|
17579
17598
|
],
|
|
17580
|
-
"description": "
|
|
17599
|
+
"description": "Called when the pointer moves over an option. Makes it the active option, unless it can't be highlighted.",
|
|
17581
17600
|
"privacy": "private"
|
|
17582
17601
|
},
|
|
17583
17602
|
{
|
|
@@ -17598,7 +17617,7 @@
|
|
|
17598
17617
|
{
|
|
17599
17618
|
"kind": "method",
|
|
17600
17619
|
"name": "handleSlotChange",
|
|
17601
|
-
"description": "
|
|
17620
|
+
"description": "Called when the menu's content changes. Sets the menu up again, and re-applies a `value` that was set before the options arrived.",
|
|
17602
17621
|
"privacy": "private"
|
|
17603
17622
|
},
|
|
17604
17623
|
{
|
|
@@ -17683,7 +17702,7 @@
|
|
|
17683
17702
|
"type": {
|
|
17684
17703
|
"text": "number"
|
|
17685
17704
|
},
|
|
17686
|
-
"description": "
|
|
17705
|
+
"description": "Holds how deeply a nested menu is indented, which sets how many spacers its options get."
|
|
17687
17706
|
},
|
|
17688
17707
|
{
|
|
17689
17708
|
"kind": "field",
|
|
@@ -17944,6 +17963,7 @@
|
|
|
17944
17963
|
}
|
|
17945
17964
|
}
|
|
17946
17965
|
],
|
|
17966
|
+
"description": "Checks whether two selections hold the same options, in any order.",
|
|
17947
17967
|
"privacy": "private",
|
|
17948
17968
|
"return": {
|
|
17949
17969
|
"type": {
|
|
@@ -18095,7 +18115,7 @@
|
|
|
18095
18115
|
"type": {
|
|
18096
18116
|
"text": "CustomEvent<{ loading: boolean; hasLoadingPlaceholder: boolean; }>"
|
|
18097
18117
|
},
|
|
18098
|
-
"description": "Fires when `loading` changes.",
|
|
18118
|
+
"description": "Fires when `loading` changes, and once when the menu first renders.",
|
|
18099
18119
|
"name": "auroMenu-loadingChange"
|
|
18100
18120
|
},
|
|
18101
18121
|
{
|
|
@@ -18331,7 +18351,7 @@
|
|
|
18331
18351
|
{
|
|
18332
18352
|
"kind": "method",
|
|
18333
18353
|
"name": "handleClick",
|
|
18334
|
-
"description": "
|
|
18354
|
+
"description": "Called when the option is clicked. Fires `auroMenuOption-click`, unless the option or a menu containing it is disabled.",
|
|
18335
18355
|
"privacy": "private"
|
|
18336
18356
|
},
|
|
18337
18357
|
{
|
|
@@ -18856,7 +18876,7 @@
|
|
|
18856
18876
|
"type": {
|
|
18857
18877
|
"text": "HTMLSlotElement"
|
|
18858
18878
|
},
|
|
18859
|
-
"description": "Text shown after the legend when the group isn't `required`, such as \"
|
|
18879
|
+
"description": "Text shown after the legend when the group isn't `required`, such as a translated \"(optional)\". Defaults to \"(optional)\".",
|
|
18860
18880
|
"name": "optionalLabel",
|
|
18861
18881
|
"relevantWhen": "!required",
|
|
18862
18882
|
"category": "ui"
|
|
@@ -19011,7 +19031,7 @@
|
|
|
19011
19031
|
"type": {
|
|
19012
19032
|
"text": "boolean"
|
|
19013
19033
|
},
|
|
19014
|
-
"description": "
|
|
19034
|
+
"description": "Records whether the `legend` slot has content."
|
|
19015
19035
|
},
|
|
19016
19036
|
{
|
|
19017
19037
|
"kind": "field",
|
|
@@ -19093,10 +19113,9 @@
|
|
|
19093
19113
|
"type": {
|
|
19094
19114
|
"text": "boolean"
|
|
19095
19115
|
},
|
|
19096
|
-
"description": "Requires a selection in the group and hides the \"(optional)\" text after the legend.\
|
|
19116
|
+
"description": "Requires a selection in the group and hides the \"(optional)\" text after the legend.\nUnless `noValidate` is set, the group shows an error when focus leaves it with nothing selected.",
|
|
19097
19117
|
"attribute": "required",
|
|
19098
19118
|
"reflects": true,
|
|
19099
|
-
"relevantWhen": "!noValidate",
|
|
19100
19119
|
"category": "behavior"
|
|
19101
19120
|
},
|
|
19102
19121
|
{
|
|
@@ -19176,7 +19195,6 @@
|
|
|
19176
19195
|
},
|
|
19177
19196
|
"description": "Sets one error message for every kind of error, such as \"Choose an option\".\nIt replaces the `error` text and the `setCustomValidityValueMissing` and `setCustomValidityCustomError` messages.",
|
|
19178
19197
|
"attribute": "setcustomvalidity",
|
|
19179
|
-
"relevantWhen": "!noValidate",
|
|
19180
19198
|
"category": "behavior"
|
|
19181
19199
|
},
|
|
19182
19200
|
{
|
|
@@ -19188,7 +19206,7 @@
|
|
|
19188
19206
|
},
|
|
19189
19207
|
"description": "Sets the error message shown while the `error` attribute is set, in place of the attribute's own text.\n`setCustomValidity` takes priority when both are set.",
|
|
19190
19208
|
"attribute": "setcustomvaliditycustomerror",
|
|
19191
|
-
"relevantWhen": "
|
|
19209
|
+
"relevantWhen": "error",
|
|
19192
19210
|
"category": "behavior"
|
|
19193
19211
|
},
|
|
19194
19212
|
{
|
|
@@ -19200,7 +19218,7 @@
|
|
|
19200
19218
|
},
|
|
19201
19219
|
"description": "Sets the error message shown when the group is `required` and nothing is selected, such as \"Select an option\".\nThe group has no default message, so set this or `setCustomValidity` to show one. `setCustomValidity` takes priority when both are set.",
|
|
19202
19220
|
"attribute": "setcustomvalidityvaluemissing",
|
|
19203
|
-
"relevantWhen": "
|
|
19221
|
+
"relevantWhen": "required",
|
|
19204
19222
|
"category": "behavior"
|
|
19205
19223
|
},
|
|
19206
19224
|
{
|
|
@@ -19221,7 +19239,7 @@
|
|
|
19221
19239
|
"type": {
|
|
19222
19240
|
"text": "boolean"
|
|
19223
19241
|
},
|
|
19224
|
-
"description": "
|
|
19242
|
+
"description": "Records whether someone has interacted with the group."
|
|
19225
19243
|
},
|
|
19226
19244
|
{
|
|
19227
19245
|
"kind": "method",
|
|
@@ -19342,9 +19360,8 @@
|
|
|
19342
19360
|
"type": {
|
|
19343
19361
|
"text": "boolean"
|
|
19344
19362
|
},
|
|
19345
|
-
"description": "Requires a selection in the group and hides the \"(optional)\" text after the legend.\
|
|
19363
|
+
"description": "Requires a selection in the group and hides the \"(optional)\" text after the legend.\nUnless `noValidate` is set, the group shows an error when focus leaves it with nothing selected.",
|
|
19346
19364
|
"fieldName": "required",
|
|
19347
|
-
"relevantWhen": "!noValidate",
|
|
19348
19365
|
"category": "behavior"
|
|
19349
19366
|
},
|
|
19350
19367
|
{
|
|
@@ -19354,7 +19371,6 @@
|
|
|
19354
19371
|
},
|
|
19355
19372
|
"description": "Sets one error message for every kind of error, such as \"Choose an option\".\nIt replaces the `error` text and the `setCustomValidityValueMissing` and `setCustomValidityCustomError` messages.",
|
|
19356
19373
|
"fieldName": "setCustomValidity",
|
|
19357
|
-
"relevantWhen": "!noValidate",
|
|
19358
19374
|
"category": "behavior"
|
|
19359
19375
|
},
|
|
19360
19376
|
{
|
|
@@ -19364,7 +19380,7 @@
|
|
|
19364
19380
|
},
|
|
19365
19381
|
"description": "Sets the error message shown while the `error` attribute is set, in place of the attribute's own text.\n`setCustomValidity` takes priority when both are set.",
|
|
19366
19382
|
"fieldName": "setCustomValidityCustomError",
|
|
19367
|
-
"relevantWhen": "
|
|
19383
|
+
"relevantWhen": "error",
|
|
19368
19384
|
"category": "behavior"
|
|
19369
19385
|
},
|
|
19370
19386
|
{
|
|
@@ -19374,7 +19390,7 @@
|
|
|
19374
19390
|
},
|
|
19375
19391
|
"description": "Sets the error message shown when the group is `required` and nothing is selected, such as \"Select an option\".\nThe group has no default message, so set this or `setCustomValidity` to show one. `setCustomValidity` takes priority when both are set.",
|
|
19376
19392
|
"fieldName": "setCustomValidityValueMissing",
|
|
19377
|
-
"relevantWhen": "
|
|
19393
|
+
"relevantWhen": "required",
|
|
19378
19394
|
"category": "behavior"
|
|
19379
19395
|
},
|
|
19380
19396
|
{
|
|
@@ -19598,7 +19614,7 @@
|
|
|
19598
19614
|
"type": {
|
|
19599
19615
|
"text": "string"
|
|
19600
19616
|
},
|
|
19601
|
-
"description": "ID
|
|
19617
|
+
"description": "Holds the ID of the inner `<input>` element, which its `<label>` points to."
|
|
19602
19618
|
},
|
|
19603
19619
|
{
|
|
19604
19620
|
"kind": "method",
|
|
@@ -19688,7 +19704,7 @@
|
|
|
19688
19704
|
"type": {
|
|
19689
19705
|
"text": "string"
|
|
19690
19706
|
},
|
|
19691
|
-
"description": "Kept out of the API docs, because changing it can easily break accessibility.",
|
|
19707
|
+
"description": "Sets the host's ARIA role, `radio`. Kept out of the API docs, because changing it can easily break accessibility.",
|
|
19692
19708
|
"attribute": "role",
|
|
19693
19709
|
"reflects": true
|
|
19694
19710
|
},
|
|
@@ -19699,7 +19715,7 @@
|
|
|
19699
19715
|
"type": {
|
|
19700
19716
|
"text": "boolean"
|
|
19701
19717
|
},
|
|
19702
|
-
"description": "
|
|
19718
|
+
"description": "Records whether someone has interacted with the radio button."
|
|
19703
19719
|
},
|
|
19704
19720
|
{
|
|
19705
19721
|
"kind": "field",
|
|
@@ -20856,7 +20872,7 @@
|
|
|
20856
20872
|
"type": {
|
|
20857
20873
|
"text": "boolean"
|
|
20858
20874
|
},
|
|
20859
|
-
"description": "
|
|
20875
|
+
"description": "Records whether focus has moved into the select since it was created or last reset."
|
|
20860
20876
|
},
|
|
20861
20877
|
{
|
|
20862
20878
|
"kind": "field",
|
|
@@ -20936,7 +20952,7 @@
|
|
|
20936
20952
|
{
|
|
20937
20953
|
"kind": "method",
|
|
20938
20954
|
"name": "updateDisplayedValue",
|
|
20939
|
-
"description": "Updates the
|
|
20955
|
+
"description": "Updates the value and `displayValue` content shown in the trigger to match `optionSelected`.",
|
|
20940
20956
|
"privacy": "private",
|
|
20941
20957
|
"return": {
|
|
20942
20958
|
"type": {
|
|
@@ -20953,7 +20969,7 @@
|
|
|
20953
20969
|
{
|
|
20954
20970
|
"kind": "method",
|
|
20955
20971
|
"name": "updateOptionPositions",
|
|
20956
|
-
"description": "Sets aria-setsize and aria-posinset on each menu option so screen readers\ncan announce position even when the listbox context is broken by\nshadow DOM boundaries.",
|
|
20972
|
+
"description": "Sets `aria-setsize` and `aria-posinset` on each menu option so screen readers\ncan announce position even when the listbox context is broken by\nshadow DOM boundaries.",
|
|
20957
20973
|
"privacy": "private",
|
|
20958
20974
|
"return": {
|
|
20959
20975
|
"type": {
|
|
@@ -21014,7 +21030,7 @@
|
|
|
21014
21030
|
"type": {
|
|
21015
21031
|
"text": "boolean"
|
|
21016
21032
|
},
|
|
21017
|
-
"description": "Deprecated: Use `placement` instead.\nThe bib already flips to the opposite side when it doesn't fit, unless `noFlip` is set.",
|
|
21033
|
+
"description": "Deprecated: Use `placement` instead.\nMoves the bib to whichever side of the trigger has the most space.\nThe bib already flips to the opposite side when it doesn't fit, unless `noFlip` is set.",
|
|
21018
21034
|
"deprecated": "Use `placement` instead.",
|
|
21019
21035
|
"default": "false",
|
|
21020
21036
|
"attribute": "autoplacement",
|
|
@@ -21344,7 +21360,7 @@
|
|
|
21344
21360
|
"type": {
|
|
21345
21361
|
"text": "boolean"
|
|
21346
21362
|
},
|
|
21347
|
-
"description": "Deprecated: Use `placement` instead.\nThe bib already flips to the opposite side when it doesn't fit, unless `noFlip` is set.",
|
|
21363
|
+
"description": "Deprecated: Use `placement` instead.\nMoves the bib to whichever side of the trigger has the most space.\nThe bib already flips to the opposite side when it doesn't fit, unless `noFlip` is set.",
|
|
21348
21364
|
"deprecated": "Use `placement` instead.",
|
|
21349
21365
|
"default": "false",
|
|
21350
21366
|
"fieldName": "autoPlacement",
|
|
@@ -21494,5 +21510,5 @@
|
|
|
21494
21510
|
]
|
|
21495
21511
|
}
|
|
21496
21512
|
],
|
|
21497
|
-
"package": "@aurodesignsystem-dev/auro-formkit@0.0.0-pr1628.
|
|
21513
|
+
"package": "@aurodesignsystem-dev/auro-formkit@0.0.0-pr1628.10"
|
|
21498
21514
|
}
|