@aurodesignsystem-dev/auro-formkit 0.0.0-pr1628.7 → 0.0.0-pr1628.9
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/api.md +3 -3
- package/components/combobox/demo/css-only.md +3 -3
- package/components/combobox/demo/customize.md +12 -12
- package/components/combobox/demo/customize.min.js +22 -19
- package/components/combobox/demo/getting-started.min.js +22 -19
- package/components/combobox/demo/index.md +1 -1
- package/components/combobox/demo/index.min.js +22 -19
- package/components/combobox/dist/auro-combobox.d.ts +6 -4
- package/components/combobox/dist/index.js +21 -18
- package/components/combobox/dist/registered.js +21 -18
- package/components/counter/demo/accessibility.md +1 -1
- package/components/counter/demo/css-only.md +1 -1
- package/components/counter/demo/customize.md +2 -2
- package/components/counter/demo/customize.min.js +12 -12
- package/components/counter/demo/getting-started.min.js +12 -12
- package/components/counter/demo/index.min.js +12 -12
- package/components/counter/demo/why-counter.md +3 -3
- package/components/counter/dist/auro-counter-group.d.ts +2 -3
- package/components/counter/dist/index.js +12 -12
- package/components/counter/dist/registered.js +12 -12
- package/components/datepicker/README.md +1 -1
- package/components/datepicker/demo/accessibility.md +2 -2
- package/components/datepicker/demo/css-only.md +4 -4
- package/components/datepicker/demo/customize.md +3 -3
- package/components/datepicker/demo/customize.min.js +128 -113
- package/components/datepicker/demo/design.md +2 -2
- package/components/datepicker/demo/getting-started.md +1 -1
- package/components/datepicker/demo/getting-started.min.js +128 -113
- package/components/datepicker/demo/index.md +2 -2
- package/components/datepicker/demo/index.min.js +128 -113
- package/components/datepicker/demo/keyboard-behavior.md +1 -1
- package/components/datepicker/demo/readme.md +1 -1
- package/components/datepicker/demo/voiceover.md +3 -3
- 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 +43 -42
- package/components/datepicker/dist/auro-datepicker.d.ts +9 -7
- package/components/datepicker/dist/index.js +128 -113
- package/components/datepicker/dist/registered.js +128 -113
- package/components/datepicker/dist/utilities.d.ts +1 -1
- package/components/datepicker/dist/utilitiesCalendar.d.ts +9 -4
- package/components/datepicker/dist/utilitiesCalendarRender.d.ts +9 -6
- package/components/dropdown/demo/api.md +1 -1
- package/components/dropdown/demo/customize.min.js +8 -7
- package/components/dropdown/demo/getting-started.min.js +13 -12
- package/components/dropdown/demo/index.min.js +8 -7
- 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 +7 -6
- package/components/dropdown/dist/index.js +8 -7
- package/components/dropdown/dist/registered.js +8 -7
- package/components/form/README.md +1 -1
- package/components/form/demo/api.md +1 -1
- package/components/form/demo/css-only.md +1 -1
- package/components/form/demo/customize.md +2 -0
- package/components/form/demo/customize.min.js +185 -168
- package/components/form/demo/getting-started.md +2 -0
- package/components/form/demo/getting-started.min.js +185 -168
- package/components/form/demo/index.min.js +185 -168
- package/components/form/demo/keyboard-behavior.md +1 -1
- package/components/form/demo/readme.md +1 -1
- package/components/form/demo/registerDemoDeps.min.js +184 -167
- package/components/form/demo/voiceover.md +2 -2
- package/components/form/dist/auro-form.d.ts +1 -1
- package/components/form/dist/index.js +1 -1
- package/components/form/dist/registered.js +1 -1
- package/components/input/demo/api.md +1 -1
- package/components/input/demo/css-only.md +4 -4
- package/components/input/demo/customize.md +4 -4
- package/components/input/demo/customize.min.js +5 -5
- package/components/input/demo/design.md +2 -2
- package/components/input/demo/getting-started.md +2 -2
- package/components/input/demo/getting-started.min.js +5 -5
- package/components/input/demo/index.md +1 -1
- package/components/input/demo/index.min.js +5 -5
- package/components/input/demo/why-input.md +2 -2
- package/components/input/dist/auro-input.d.ts +1 -1
- package/components/input/dist/base-input.d.ts +3 -3
- package/components/input/dist/index.js +5 -5
- package/components/input/dist/registered.js +5 -5
- package/components/menu/demo/api.md +1 -1
- package/components/menu/demo/css-only.md +4 -4
- package/components/menu/demo/getting-started.md +2 -2
- package/components/menu/demo/index.min.js +1 -1
- package/components/menu/demo/why-menu.md +3 -3
- package/components/menu/dist/auro-menu.d.ts +1 -1
- package/components/menu/dist/index.js +1 -1
- package/components/menu/dist/registered.js +1 -1
- package/components/radio/demo/api.md +4 -4
- package/components/radio/demo/customize.md +14 -4
- package/components/radio/demo/customize.min.js +4 -6
- package/components/radio/demo/getting-started.md +2 -2
- package/components/radio/demo/getting-started.min.js +4 -6
- package/components/radio/demo/index.min.js +4 -6
- package/components/radio/demo/why-radio.md +1 -1
- package/components/radio/dist/auro-radio-group.d.ts +3 -5
- package/components/radio/dist/index.js +4 -6
- package/components/radio/dist/registered.js +4 -6
- package/components/select/demo/css-only.md +1 -1
- package/components/select/demo/customize.md +1 -1
- package/components/select/demo/customize.min.js +11 -10
- package/components/select/demo/getting-started.min.js +11 -10
- package/components/select/demo/index.md +1 -1
- package/components/select/demo/index.min.js +11 -10
- package/components/select/demo/voiceover.md +1 -1
- package/components/select/dist/index.js +10 -9
- package/components/select/dist/registered.js +10 -9
- package/custom-elements.json +88 -84
- 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
|
{
|
|
@@ -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,
|
|
@@ -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,
|
|
@@ -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"
|
|
@@ -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
|
{
|
|
@@ -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
|
},
|
|
@@ -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
|
{
|
|
@@ -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
|
{
|
|
@@ -9215,7 +9217,7 @@
|
|
|
9215
9217
|
}
|
|
9216
9218
|
}
|
|
9217
9219
|
],
|
|
9218
|
-
"description": "
|
|
9220
|
+
"description": "Checks whether two dates are the same moment in time.",
|
|
9219
9221
|
"privacy": "private",
|
|
9220
9222
|
"return": {
|
|
9221
9223
|
"type": {
|
|
@@ -9323,7 +9325,7 @@
|
|
|
9323
9325
|
}
|
|
9324
9326
|
}
|
|
9325
9327
|
],
|
|
9326
|
-
"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.",
|
|
9327
9329
|
"privacy": "private",
|
|
9328
9330
|
"return": {
|
|
9329
9331
|
"type": {
|
|
@@ -9360,7 +9362,7 @@
|
|
|
9360
9362
|
{
|
|
9361
9363
|
"kind": "method",
|
|
9362
9364
|
"name": "requestDismiss",
|
|
9363
|
-
"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.",
|
|
9364
9366
|
"privacy": "private",
|
|
9365
9367
|
"return": {
|
|
9366
9368
|
"type": {
|
|
@@ -9397,6 +9399,8 @@
|
|
|
9397
9399
|
{
|
|
9398
9400
|
"kind": "field",
|
|
9399
9401
|
"name": "util",
|
|
9402
|
+
"description": "The date helpers these methods use.",
|
|
9403
|
+
"privacy": "private",
|
|
9400
9404
|
"default": "new AuroDatepickerUtilities()"
|
|
9401
9405
|
}
|
|
9402
9406
|
],
|
|
@@ -9530,7 +9534,7 @@
|
|
|
9530
9534
|
}
|
|
9531
9535
|
}
|
|
9532
9536
|
],
|
|
9533
|
-
"description": "Renders
|
|
9537
|
+
"description": "Renders an `auro-formkit-calendar-month` element for one month.",
|
|
9534
9538
|
"privacy": "private",
|
|
9535
9539
|
"return": {
|
|
9536
9540
|
"type": {
|
|
@@ -9564,16 +9568,16 @@
|
|
|
9564
9568
|
"parameters": [
|
|
9565
9569
|
{
|
|
9566
9570
|
"name": "elem",
|
|
9567
|
-
"description": "The element to set
|
|
9571
|
+
"description": "The element to set `centralDate` on.",
|
|
9568
9572
|
"type": {
|
|
9569
9573
|
"text": "Object"
|
|
9570
9574
|
}
|
|
9571
9575
|
},
|
|
9572
9576
|
{
|
|
9573
9577
|
"name": "date",
|
|
9574
|
-
"description": "The date to
|
|
9578
|
+
"description": "The date whose month to show: an ISO date string, a `Date` object, or a timestamp in milliseconds.",
|
|
9575
9579
|
"type": {
|
|
9576
|
-
"text": "
|
|
9580
|
+
"text": "string|Date|number"
|
|
9577
9581
|
}
|
|
9578
9582
|
}
|
|
9579
9583
|
],
|
|
@@ -9583,6 +9587,8 @@
|
|
|
9583
9587
|
{
|
|
9584
9588
|
"kind": "field",
|
|
9585
9589
|
"name": "util",
|
|
9590
|
+
"description": "The date helpers these methods use.",
|
|
9591
|
+
"privacy": "private",
|
|
9586
9592
|
"default": "new AuroDatepickerUtilities()"
|
|
9587
9593
|
}
|
|
9588
9594
|
]
|
|
@@ -10245,7 +10251,7 @@
|
|
|
10245
10251
|
"privacy": "private",
|
|
10246
10252
|
"return": {
|
|
10247
10253
|
"type": {
|
|
10248
|
-
"text": "
|
|
10254
|
+
"text": "TemplateResult"
|
|
10249
10255
|
}
|
|
10250
10256
|
}
|
|
10251
10257
|
},
|
|
@@ -10266,7 +10272,7 @@
|
|
|
10266
10272
|
"privacy": "private",
|
|
10267
10273
|
"return": {
|
|
10268
10274
|
"type": {
|
|
10269
|
-
"text": "
|
|
10275
|
+
"text": "TemplateResult"
|
|
10270
10276
|
}
|
|
10271
10277
|
}
|
|
10272
10278
|
},
|
|
@@ -10277,7 +10283,7 @@
|
|
|
10277
10283
|
"privacy": "private",
|
|
10278
10284
|
"return": {
|
|
10279
10285
|
"type": {
|
|
10280
|
-
"text": "
|
|
10286
|
+
"text": "TemplateResult"
|
|
10281
10287
|
}
|
|
10282
10288
|
}
|
|
10283
10289
|
},
|
|
@@ -10288,7 +10294,7 @@
|
|
|
10288
10294
|
"privacy": "private",
|
|
10289
10295
|
"return": {
|
|
10290
10296
|
"type": {
|
|
10291
|
-
"text": "
|
|
10297
|
+
"text": "TemplateResult"
|
|
10292
10298
|
}
|
|
10293
10299
|
}
|
|
10294
10300
|
},
|
|
@@ -10299,7 +10305,7 @@
|
|
|
10299
10305
|
"privacy": "private",
|
|
10300
10306
|
"return": {
|
|
10301
10307
|
"type": {
|
|
10302
|
-
"text": "
|
|
10308
|
+
"text": "TemplateResult"
|
|
10303
10309
|
}
|
|
10304
10310
|
}
|
|
10305
10311
|
},
|
|
@@ -10427,6 +10433,7 @@
|
|
|
10427
10433
|
"text": "number"
|
|
10428
10434
|
},
|
|
10429
10435
|
"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.",
|
|
10436
|
+
"default": "0",
|
|
10430
10437
|
"attribute": "tabindex",
|
|
10431
10438
|
"category": "a11y"
|
|
10432
10439
|
},
|
|
@@ -10745,6 +10752,7 @@
|
|
|
10745
10752
|
"text": "number"
|
|
10746
10753
|
},
|
|
10747
10754
|
"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.",
|
|
10755
|
+
"default": "0",
|
|
10748
10756
|
"fieldName": "tabIndex",
|
|
10749
10757
|
"category": "a11y"
|
|
10750
10758
|
},
|
|
@@ -11150,7 +11158,7 @@
|
|
|
11150
11158
|
"declarations": [
|
|
11151
11159
|
{
|
|
11152
11160
|
"kind": "class",
|
|
11153
|
-
"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
|
|
11161
|
+
"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```",
|
|
11154
11162
|
"name": "AuroForm",
|
|
11155
11163
|
"slots": [
|
|
11156
11164
|
{
|
|
@@ -12509,7 +12517,7 @@
|
|
|
12509
12517
|
{
|
|
12510
12518
|
"kind": "method",
|
|
12511
12519
|
"name": "definePattern",
|
|
12512
|
-
"description": "Gets the `pattern` for the inner `<input>` element. For credit card numbers,\nbuilds a length check from `minLength` and `maxLength` instead.",
|
|
12520
|
+
"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.",
|
|
12513
12521
|
"privacy": "private",
|
|
12514
12522
|
"return": {
|
|
12515
12523
|
"type": {
|
|
@@ -13839,7 +13847,7 @@
|
|
|
13839
13847
|
"type": {
|
|
13840
13848
|
"text": "'xs' | 'sm' | 'md' | 'lg' | 'xl'"
|
|
13841
13849
|
},
|
|
13842
|
-
"description": "Sets the field's
|
|
13850
|
+
"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`.",
|
|
13843
13851
|
"default": "'lg'",
|
|
13844
13852
|
"attribute": "size",
|
|
13845
13853
|
"reflects": true,
|
|
@@ -14709,7 +14717,7 @@
|
|
|
14709
14717
|
"type": {
|
|
14710
14718
|
"text": "'xs' | 'sm' | 'md' | 'lg' | 'xl'"
|
|
14711
14719
|
},
|
|
14712
|
-
"description": "Sets the field's
|
|
14720
|
+
"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`.",
|
|
14713
14721
|
"default": "'lg'",
|
|
14714
14722
|
"fieldName": "size",
|
|
14715
14723
|
"category": "ui",
|
|
@@ -15832,7 +15840,7 @@
|
|
|
15832
15840
|
"type": {
|
|
15833
15841
|
"text": "'xs' | 'sm' | 'md' | 'lg' | 'xl'"
|
|
15834
15842
|
},
|
|
15835
|
-
"description": "Sets the field's
|
|
15843
|
+
"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`.",
|
|
15836
15844
|
"default": "'lg'",
|
|
15837
15845
|
"attribute": "size",
|
|
15838
15846
|
"reflects": true,
|
|
@@ -16464,7 +16472,7 @@
|
|
|
16464
16472
|
"type": {
|
|
16465
16473
|
"text": "'xs' | 'sm' | 'md' | 'lg' | 'xl'"
|
|
16466
16474
|
},
|
|
16467
|
-
"description": "Sets the field's
|
|
16475
|
+
"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`.",
|
|
16468
16476
|
"default": "'lg'",
|
|
16469
16477
|
"fieldName": "size",
|
|
16470
16478
|
"category": "ui"
|
|
@@ -18105,7 +18113,7 @@
|
|
|
18105
18113
|
"type": {
|
|
18106
18114
|
"text": "CustomEvent<{ loading: boolean; hasLoadingPlaceholder: boolean; }>"
|
|
18107
18115
|
},
|
|
18108
|
-
"description": "Fires when `loading` changes.",
|
|
18116
|
+
"description": "Fires when `loading` changes, and once when the menu first renders.",
|
|
18109
18117
|
"name": "auroMenu-loadingChange"
|
|
18110
18118
|
},
|
|
18111
18119
|
{
|
|
@@ -19103,10 +19111,9 @@
|
|
|
19103
19111
|
"type": {
|
|
19104
19112
|
"text": "boolean"
|
|
19105
19113
|
},
|
|
19106
|
-
"description": "Requires a selection in the group and hides the \"(optional)\" text after the legend.\
|
|
19114
|
+
"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.",
|
|
19107
19115
|
"attribute": "required",
|
|
19108
19116
|
"reflects": true,
|
|
19109
|
-
"relevantWhen": "!noValidate",
|
|
19110
19117
|
"category": "behavior"
|
|
19111
19118
|
},
|
|
19112
19119
|
{
|
|
@@ -19186,7 +19193,6 @@
|
|
|
19186
19193
|
},
|
|
19187
19194
|
"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.",
|
|
19188
19195
|
"attribute": "setcustomvalidity",
|
|
19189
|
-
"relevantWhen": "!noValidate",
|
|
19190
19196
|
"category": "behavior"
|
|
19191
19197
|
},
|
|
19192
19198
|
{
|
|
@@ -19198,7 +19204,7 @@
|
|
|
19198
19204
|
},
|
|
19199
19205
|
"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.",
|
|
19200
19206
|
"attribute": "setcustomvaliditycustomerror",
|
|
19201
|
-
"relevantWhen": "
|
|
19207
|
+
"relevantWhen": "error",
|
|
19202
19208
|
"category": "behavior"
|
|
19203
19209
|
},
|
|
19204
19210
|
{
|
|
@@ -19210,7 +19216,7 @@
|
|
|
19210
19216
|
},
|
|
19211
19217
|
"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.",
|
|
19212
19218
|
"attribute": "setcustomvalidityvaluemissing",
|
|
19213
|
-
"relevantWhen": "
|
|
19219
|
+
"relevantWhen": "required",
|
|
19214
19220
|
"category": "behavior"
|
|
19215
19221
|
},
|
|
19216
19222
|
{
|
|
@@ -19352,9 +19358,8 @@
|
|
|
19352
19358
|
"type": {
|
|
19353
19359
|
"text": "boolean"
|
|
19354
19360
|
},
|
|
19355
|
-
"description": "Requires a selection in the group and hides the \"(optional)\" text after the legend.\
|
|
19361
|
+
"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.",
|
|
19356
19362
|
"fieldName": "required",
|
|
19357
|
-
"relevantWhen": "!noValidate",
|
|
19358
19363
|
"category": "behavior"
|
|
19359
19364
|
},
|
|
19360
19365
|
{
|
|
@@ -19364,7 +19369,6 @@
|
|
|
19364
19369
|
},
|
|
19365
19370
|
"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.",
|
|
19366
19371
|
"fieldName": "setCustomValidity",
|
|
19367
|
-
"relevantWhen": "!noValidate",
|
|
19368
19372
|
"category": "behavior"
|
|
19369
19373
|
},
|
|
19370
19374
|
{
|
|
@@ -19374,7 +19378,7 @@
|
|
|
19374
19378
|
},
|
|
19375
19379
|
"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.",
|
|
19376
19380
|
"fieldName": "setCustomValidityCustomError",
|
|
19377
|
-
"relevantWhen": "
|
|
19381
|
+
"relevantWhen": "error",
|
|
19378
19382
|
"category": "behavior"
|
|
19379
19383
|
},
|
|
19380
19384
|
{
|
|
@@ -19384,7 +19388,7 @@
|
|
|
19384
19388
|
},
|
|
19385
19389
|
"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.",
|
|
19386
19390
|
"fieldName": "setCustomValidityValueMissing",
|
|
19387
|
-
"relevantWhen": "
|
|
19391
|
+
"relevantWhen": "required",
|
|
19388
19392
|
"category": "behavior"
|
|
19389
19393
|
},
|
|
19390
19394
|
{
|
|
@@ -21504,5 +21508,5 @@
|
|
|
21504
21508
|
]
|
|
21505
21509
|
}
|
|
21506
21510
|
],
|
|
21507
|
-
"package": "@aurodesignsystem-dev/auro-formkit@0.0.0-pr1628.
|
|
21511
|
+
"package": "@aurodesignsystem-dev/auro-formkit@0.0.0-pr1628.9"
|
|
21508
21512
|
}
|