@aurodesignsystem-dev/auro-formkit 0.0.0-pr1488.2 → 0.0.0-pr1489.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/bibtemplate/dist/auro-bibtemplate.d.ts +7 -0
- package/components/bibtemplate/dist/index.js +9 -1
- package/components/bibtemplate/dist/registered.js +9 -1
- package/components/checkbox/demo/customize.min.js +1 -1
- package/components/checkbox/demo/getting-started.min.js +1 -1
- package/components/checkbox/demo/index.min.js +1 -1
- package/components/checkbox/demo/pages.json +1 -1
- package/components/checkbox/demo/why-checkbox.html +57 -0
- package/components/checkbox/demo/why-checkbox.md +86 -0
- package/components/checkbox/dist/index.js +1 -1
- package/components/checkbox/dist/registered.js +1 -1
- package/components/combobox/demo/customize.min.js +234 -16
- package/components/combobox/demo/getting-started.min.js +234 -16
- package/components/combobox/demo/index.min.js +234 -16
- package/components/combobox/demo/pages.json +1 -1
- package/components/combobox/demo/why-combobox.html +57 -0
- package/components/combobox/demo/why-combobox.md +113 -0
- package/components/combobox/dist/index.js +234 -16
- package/components/combobox/dist/registered.js +234 -16
- package/components/counter/demo/customize.min.js +233 -15
- package/components/counter/demo/index.min.js +233 -15
- package/components/counter/demo/keyboard-behavior.md +1 -0
- package/components/counter/demo/pages.json +1 -1
- package/components/counter/demo/why-counter.html +57 -0
- package/components/counter/demo/why-counter.md +108 -0
- package/components/counter/dist/index.js +10 -2
- package/components/counter/dist/registered.js +10 -2
- package/components/datepicker/demo/accessibility.md +51 -3
- package/components/datepicker/demo/api.md +11 -2
- package/components/datepicker/demo/customize.html +2 -0
- package/components/datepicker/demo/customize.js +19 -0
- package/components/datepicker/demo/customize.md +72 -8
- package/components/datepicker/demo/customize.min.js +26029 -0
- package/components/datepicker/demo/design.md +3 -1
- package/components/datepicker/demo/index.js +5 -1
- package/components/datepicker/demo/index.md +83 -2
- package/components/datepicker/demo/index.min.js +1564 -96
- package/components/datepicker/demo/keyboard-behavior.md +201 -2
- package/components/datepicker/demo/pages.json +1 -1
- package/components/datepicker/demo/voiceover.md +19 -12
- package/components/datepicker/demo/why-datepicker.html +57 -0
- package/components/datepicker/demo/why-datepicker.md +133 -0
- package/components/datepicker/dist/index.js +1489 -97
- package/components/datepicker/dist/registered.js +1489 -97
- package/components/datepicker/dist/src/auro-calendar-cell.d.ts +66 -1
- package/components/datepicker/dist/src/auro-calendar-month.d.ts +28 -0
- package/components/datepicker/dist/src/auro-calendar.d.ts +100 -0
- package/components/datepicker/dist/src/auro-datepicker.d.ts +88 -0
- package/components/datepicker/dist/src/datepickerKeyboardStrategy.d.ts +5 -3
- package/components/dropdown/demo/accessibility.md +11 -0
- package/components/dropdown/demo/api.md +1 -0
- package/components/dropdown/demo/customize.md +3 -0
- package/components/dropdown/demo/customize.min.js +223 -13
- package/components/dropdown/demo/getting-started.min.js +223 -13
- package/components/dropdown/demo/index.min.js +223 -13
- package/components/dropdown/demo/keyboard-behavior.md +1 -0
- package/components/dropdown/demo/pages.json +1 -1
- package/components/dropdown/demo/why-dropdown.html +57 -0
- package/components/dropdown/demo/why-dropdown.md +97 -0
- package/components/dropdown/dist/auro-dropdown.d.ts +33 -1
- package/components/dropdown/dist/index.js +223 -13
- package/components/dropdown/dist/registered.js +223 -13
- package/components/form/demo/customize.min.js +2191 -145
- package/components/form/demo/getting-started.min.js +2191 -145
- package/components/form/demo/index.min.js +2191 -145
- package/components/form/demo/pages.json +1 -1
- package/components/form/demo/registerDemoDeps.min.js +2191 -145
- package/components/form/demo/why-form.html +57 -0
- package/components/form/demo/why-form.md +101 -0
- package/components/input/demo/customize.min.js +1 -1
- package/components/input/demo/getting-started.min.js +1 -1
- package/components/input/demo/index.min.js +1 -1
- package/components/input/demo/pages.json +1 -1
- package/components/input/demo/why-input.html +57 -0
- package/components/input/demo/why-input.md +121 -0
- package/components/input/dist/index.js +1 -1
- package/components/input/dist/registered.js +1 -1
- package/components/menu/demo/pages.json +1 -1
- package/components/menu/demo/why-menu.html +57 -0
- package/components/menu/demo/why-menu.md +104 -0
- package/components/radio/demo/customize.min.js +2186 -0
- package/components/radio/demo/demo-support.min.js +55807 -0
- package/components/radio/demo/getting-started.js +1 -1
- package/components/radio/demo/getting-started.md +1 -1
- package/components/radio/demo/getting-started.min.js +2205 -0
- package/components/radio/demo/index.min.js +1 -1
- package/components/radio/demo/pages.json +1 -1
- package/components/radio/demo/why-radio.html +57 -0
- package/components/radio/demo/why-radio.md +92 -0
- package/components/radio/dist/index.js +1 -1
- package/components/radio/dist/registered.js +1 -1
- package/components/select/demo/customize.min.js +233 -15
- package/components/select/demo/getting-started.min.js +233 -15
- package/components/select/demo/index.min.js +233 -15
- package/components/select/demo/keyboard-behavior.md +1 -0
- package/components/select/demo/pages.json +1 -1
- package/components/select/demo/why-select.html +57 -0
- package/components/select/demo/why-select.md +128 -0
- package/components/select/dist/index.js +233 -15
- package/components/select/dist/registered.js +233 -15
- package/custom-elements.json +745 -28
- package/package.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -128,6 +128,17 @@
|
|
|
128
128
|
},
|
|
129
129
|
"attribute": "isFullscreen",
|
|
130
130
|
"reflects": true
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"kind": "field",
|
|
134
|
+
"name": "showFooter",
|
|
135
|
+
"privacy": "public",
|
|
136
|
+
"type": {
|
|
137
|
+
"text": "boolean"
|
|
138
|
+
},
|
|
139
|
+
"description": "If declared, the footer slot will be rendered even when not in fullscreen mode.",
|
|
140
|
+
"attribute": "showFooter",
|
|
141
|
+
"reflects": true
|
|
131
142
|
}
|
|
132
143
|
],
|
|
133
144
|
"events": [
|
|
@@ -159,6 +170,14 @@
|
|
|
159
170
|
},
|
|
160
171
|
"default": "false",
|
|
161
172
|
"fieldName": "large"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"name": "showFooter",
|
|
176
|
+
"type": {
|
|
177
|
+
"text": "boolean"
|
|
178
|
+
},
|
|
179
|
+
"description": "If declared, the footer slot will be rendered even when not in fullscreen mode.",
|
|
180
|
+
"fieldName": "showFooter"
|
|
162
181
|
}
|
|
163
182
|
],
|
|
164
183
|
"superclass": {
|
|
@@ -4216,7 +4235,7 @@
|
|
|
4216
4235
|
{
|
|
4217
4236
|
"kind": "method",
|
|
4218
4237
|
"name": "handleHover",
|
|
4219
|
-
"description": "Handles user hover events and dispatches a custom event.",
|
|
4238
|
+
"description": "Handles user hover events and dispatches a custom event.\nAlways dispatches for range pickers so the preview updates correctly.",
|
|
4220
4239
|
"privacy": "private",
|
|
4221
4240
|
"return": {
|
|
4222
4241
|
"type": {
|
|
@@ -4224,6 +4243,51 @@
|
|
|
4224
4243
|
}
|
|
4225
4244
|
}
|
|
4226
4245
|
},
|
|
4246
|
+
{
|
|
4247
|
+
"kind": "method",
|
|
4248
|
+
"name": "isOutOfRange",
|
|
4249
|
+
"parameters": [
|
|
4250
|
+
{
|
|
4251
|
+
"name": "day",
|
|
4252
|
+
"description": "An object containing the dateFrom and day of month values.",
|
|
4253
|
+
"type": {
|
|
4254
|
+
"text": "Object"
|
|
4255
|
+
}
|
|
4256
|
+
},
|
|
4257
|
+
{
|
|
4258
|
+
"name": "min",
|
|
4259
|
+
"description": "The minimum date value.",
|
|
4260
|
+
"type": {
|
|
4261
|
+
"text": "Number"
|
|
4262
|
+
}
|
|
4263
|
+
},
|
|
4264
|
+
{
|
|
4265
|
+
"name": "max",
|
|
4266
|
+
"description": "The maximum date value.",
|
|
4267
|
+
"type": {
|
|
4268
|
+
"text": "Number"
|
|
4269
|
+
}
|
|
4270
|
+
}
|
|
4271
|
+
],
|
|
4272
|
+
"description": "Checks if the current date is outside the valid min/max range.\nOut-of-range cells are not focusable and are hidden from screen readers.",
|
|
4273
|
+
"privacy": "private",
|
|
4274
|
+
"return": {
|
|
4275
|
+
"type": {
|
|
4276
|
+
"text": "Boolean"
|
|
4277
|
+
}
|
|
4278
|
+
}
|
|
4279
|
+
},
|
|
4280
|
+
{
|
|
4281
|
+
"kind": "method",
|
|
4282
|
+
"name": "isBlackout",
|
|
4283
|
+
"description": "Checks if the current date is a blackout date (in disabledDays but within range).\nBlackout cells are focusable but not selectable.",
|
|
4284
|
+
"privacy": "private",
|
|
4285
|
+
"return": {
|
|
4286
|
+
"type": {
|
|
4287
|
+
"text": "Boolean"
|
|
4288
|
+
}
|
|
4289
|
+
}
|
|
4290
|
+
},
|
|
4227
4291
|
{
|
|
4228
4292
|
"kind": "method",
|
|
4229
4293
|
"name": "isEnabled",
|
|
@@ -4257,7 +4321,7 @@
|
|
|
4257
4321
|
}
|
|
4258
4322
|
}
|
|
4259
4323
|
],
|
|
4260
|
-
"description": "Checks if the current date is
|
|
4324
|
+
"description": "Checks if the current date is disabled based on min/max range or the\nlegacy disabledDays timestamp list. Sets the `disabled` attribute on the\nhost when the date falls outside the allowed range or appears in\ndisabledDays. Note: blackout dates are handled separately by `isBlackout()`.",
|
|
4261
4325
|
"privacy": "private",
|
|
4262
4326
|
"return": {
|
|
4263
4327
|
"type": {
|
|
@@ -4265,6 +4329,39 @@
|
|
|
4265
4329
|
}
|
|
4266
4330
|
}
|
|
4267
4331
|
},
|
|
4332
|
+
{
|
|
4333
|
+
"kind": "method",
|
|
4334
|
+
"name": "getCellId",
|
|
4335
|
+
"description": "Generates a unique cell ID in the format cell-YYYY-MM-DD.",
|
|
4336
|
+
"privacy": "private",
|
|
4337
|
+
"return": {
|
|
4338
|
+
"type": {
|
|
4339
|
+
"text": "String"
|
|
4340
|
+
}
|
|
4341
|
+
}
|
|
4342
|
+
},
|
|
4343
|
+
{
|
|
4344
|
+
"kind": "method",
|
|
4345
|
+
"name": "getAriaLabel",
|
|
4346
|
+
"description": "Generates a localized aria-label for the cell button using Intl.DateTimeFormat.\nIncludes range position and blackout status.",
|
|
4347
|
+
"privacy": "private",
|
|
4348
|
+
"return": {
|
|
4349
|
+
"type": {
|
|
4350
|
+
"text": "String"
|
|
4351
|
+
}
|
|
4352
|
+
}
|
|
4353
|
+
},
|
|
4354
|
+
{
|
|
4355
|
+
"kind": "method",
|
|
4356
|
+
"name": "getRangePosition",
|
|
4357
|
+
"description": "Determines the range position of this cell relative to the current selection.",
|
|
4358
|
+
"privacy": "private",
|
|
4359
|
+
"return": {
|
|
4360
|
+
"type": {
|
|
4361
|
+
"text": "String|null"
|
|
4362
|
+
}
|
|
4363
|
+
}
|
|
4364
|
+
},
|
|
4268
4365
|
{
|
|
4269
4366
|
"kind": "method",
|
|
4270
4367
|
"name": "isDepartDate",
|
|
@@ -4462,6 +4559,31 @@
|
|
|
4462
4559
|
}
|
|
4463
4560
|
}
|
|
4464
4561
|
},
|
|
4562
|
+
{
|
|
4563
|
+
"kind": "method",
|
|
4564
|
+
"name": "configurePopover",
|
|
4565
|
+
"description": "Configures the popover instance with the calendar month boundary.\nCalled from firstUpdated and updated because the popover element is only\nrendered after hasPopoverContent becomes true (set by handleSlotContent).",
|
|
4566
|
+
"privacy": "private",
|
|
4567
|
+
"return": {
|
|
4568
|
+
"type": {
|
|
4569
|
+
"text": "void"
|
|
4570
|
+
}
|
|
4571
|
+
}
|
|
4572
|
+
},
|
|
4573
|
+
{
|
|
4574
|
+
"kind": "method",
|
|
4575
|
+
"name": "focusButton",
|
|
4576
|
+
"description": "Programmatically focuses the cell's interactive button element.",
|
|
4577
|
+
"return": {
|
|
4578
|
+
"type": {
|
|
4579
|
+
"text": "void"
|
|
4580
|
+
}
|
|
4581
|
+
}
|
|
4582
|
+
},
|
|
4583
|
+
{
|
|
4584
|
+
"kind": "method",
|
|
4585
|
+
"name": "renderCellButton"
|
|
4586
|
+
},
|
|
4465
4587
|
{
|
|
4466
4588
|
"kind": "field",
|
|
4467
4589
|
"name": "day",
|
|
@@ -4611,6 +4733,27 @@
|
|
|
4611
4733
|
"default": "false",
|
|
4612
4734
|
"attribute": "renderForDateSlot"
|
|
4613
4735
|
},
|
|
4736
|
+
{
|
|
4737
|
+
"kind": "field",
|
|
4738
|
+
"name": "active",
|
|
4739
|
+
"privacy": "public",
|
|
4740
|
+
"type": {
|
|
4741
|
+
"text": "boolean"
|
|
4742
|
+
},
|
|
4743
|
+
"default": "false",
|
|
4744
|
+
"attribute": "active",
|
|
4745
|
+
"reflects": true
|
|
4746
|
+
},
|
|
4747
|
+
{
|
|
4748
|
+
"kind": "field",
|
|
4749
|
+
"name": "hasPopoverContent",
|
|
4750
|
+
"privacy": "public",
|
|
4751
|
+
"type": {
|
|
4752
|
+
"text": "boolean"
|
|
4753
|
+
},
|
|
4754
|
+
"default": "false",
|
|
4755
|
+
"attribute": "hasPopoverContent"
|
|
4756
|
+
},
|
|
4614
4757
|
{
|
|
4615
4758
|
"kind": "field",
|
|
4616
4759
|
"name": "runtimeUtils",
|
|
@@ -4622,6 +4765,12 @@
|
|
|
4622
4765
|
}
|
|
4623
4766
|
],
|
|
4624
4767
|
"events": [
|
|
4768
|
+
{
|
|
4769
|
+
"name": "calendar-cell-activate",
|
|
4770
|
+
"type": {
|
|
4771
|
+
"text": "CustomEvent"
|
|
4772
|
+
}
|
|
4773
|
+
},
|
|
4625
4774
|
{
|
|
4626
4775
|
"name": "date-is-hovered",
|
|
4627
4776
|
"type": {
|
|
@@ -4748,6 +4897,22 @@
|
|
|
4748
4897
|
},
|
|
4749
4898
|
"default": "false",
|
|
4750
4899
|
"fieldName": "renderForDateSlot"
|
|
4900
|
+
},
|
|
4901
|
+
{
|
|
4902
|
+
"name": "active",
|
|
4903
|
+
"type": {
|
|
4904
|
+
"text": "boolean"
|
|
4905
|
+
},
|
|
4906
|
+
"default": "false",
|
|
4907
|
+
"fieldName": "active"
|
|
4908
|
+
},
|
|
4909
|
+
{
|
|
4910
|
+
"name": "hasPopoverContent",
|
|
4911
|
+
"type": {
|
|
4912
|
+
"text": "boolean"
|
|
4913
|
+
},
|
|
4914
|
+
"default": "false",
|
|
4915
|
+
"fieldName": "hasPopoverContent"
|
|
4751
4916
|
}
|
|
4752
4917
|
],
|
|
4753
4918
|
"superclass": {
|
|
@@ -4806,10 +4971,78 @@
|
|
|
4806
4971
|
}
|
|
4807
4972
|
}
|
|
4808
4973
|
},
|
|
4974
|
+
{
|
|
4975
|
+
"kind": "method",
|
|
4976
|
+
"name": "getHeadingId",
|
|
4977
|
+
"description": "Returns the unique heading ID for this month, used by aria-labelledby.",
|
|
4978
|
+
"privacy": "private",
|
|
4979
|
+
"return": {
|
|
4980
|
+
"type": {
|
|
4981
|
+
"text": "String"
|
|
4982
|
+
}
|
|
4983
|
+
}
|
|
4984
|
+
},
|
|
4809
4985
|
{
|
|
4810
4986
|
"kind": "method",
|
|
4811
4987
|
"name": "localeChanged",
|
|
4812
|
-
"description": "Determines the current month name based on locale.\nThis is a rewrite of the function used in the class RangeDatepickerCalendar and should not be removed from here.",
|
|
4988
|
+
"description": "Determines the current month name based on locale.\nAlso builds parallel arrays of full day names for abbr attributes.\nThis is a rewrite of the function used in the class RangeDatepickerCalendar and should not be removed from here.",
|
|
4989
|
+
"privacy": "private",
|
|
4990
|
+
"return": {
|
|
4991
|
+
"type": {
|
|
4992
|
+
"text": "void"
|
|
4993
|
+
}
|
|
4994
|
+
}
|
|
4995
|
+
},
|
|
4996
|
+
{
|
|
4997
|
+
"kind": "method",
|
|
4998
|
+
"name": "renderDayOfWeek",
|
|
4999
|
+
"parameters": [
|
|
5000
|
+
{
|
|
5001
|
+
"name": "dayOfWeek",
|
|
5002
|
+
"description": "The short day name.",
|
|
5003
|
+
"type": {
|
|
5004
|
+
"text": "String"
|
|
5005
|
+
}
|
|
5006
|
+
},
|
|
5007
|
+
{
|
|
5008
|
+
"name": "index",
|
|
5009
|
+
"description": "The index in the dayNamesOfTheWeek array.",
|
|
5010
|
+
"type": {
|
|
5011
|
+
"text": "Number"
|
|
5012
|
+
}
|
|
5013
|
+
}
|
|
5014
|
+
],
|
|
5015
|
+
"description": "Renders a day-of-week header with abbr attribute for the full day name.",
|
|
5016
|
+
"privacy": "private",
|
|
5017
|
+
"return": {
|
|
5018
|
+
"type": {
|
|
5019
|
+
"text": "Object"
|
|
5020
|
+
}
|
|
5021
|
+
}
|
|
5022
|
+
},
|
|
5023
|
+
{
|
|
5024
|
+
"kind": "method",
|
|
5025
|
+
"name": "getFocusableCells",
|
|
5026
|
+
"description": "Returns all focusable cell elements (enabled + blackout, not out-of-range) in this month.",
|
|
5027
|
+
"return": {
|
|
5028
|
+
"type": {
|
|
5029
|
+
"text": "Array"
|
|
5030
|
+
}
|
|
5031
|
+
}
|
|
5032
|
+
},
|
|
5033
|
+
{
|
|
5034
|
+
"kind": "method",
|
|
5035
|
+
"name": "handleGridKeyDown",
|
|
5036
|
+
"parameters": [
|
|
5037
|
+
{
|
|
5038
|
+
"name": "event",
|
|
5039
|
+
"description": "The keyboard event.",
|
|
5040
|
+
"type": {
|
|
5041
|
+
"text": "KeyboardEvent"
|
|
5042
|
+
}
|
|
5043
|
+
}
|
|
5044
|
+
],
|
|
5045
|
+
"description": "Handles arrow key navigation within the month grid.\nDispatches a cross-month navigation event when the boundary is reached.",
|
|
4813
5046
|
"privacy": "private",
|
|
4814
5047
|
"return": {
|
|
4815
5048
|
"type": {
|
|
@@ -4817,6 +5050,15 @@
|
|
|
4817
5050
|
}
|
|
4818
5051
|
}
|
|
4819
5052
|
},
|
|
5053
|
+
{
|
|
5054
|
+
"kind": "method",
|
|
5055
|
+
"name": "renderWeek",
|
|
5056
|
+
"parameters": [
|
|
5057
|
+
{
|
|
5058
|
+
"name": "week"
|
|
5059
|
+
}
|
|
5060
|
+
]
|
|
5061
|
+
},
|
|
4820
5062
|
{
|
|
4821
5063
|
"kind": "method",
|
|
4822
5064
|
"name": "renderDay",
|
|
@@ -4837,6 +5079,20 @@
|
|
|
4837
5079
|
"reflects": true
|
|
4838
5080
|
}
|
|
4839
5081
|
],
|
|
5082
|
+
"events": [
|
|
5083
|
+
{
|
|
5084
|
+
"name": "calendar-month-boundary",
|
|
5085
|
+
"type": {
|
|
5086
|
+
"text": "CustomEvent"
|
|
5087
|
+
}
|
|
5088
|
+
},
|
|
5089
|
+
{
|
|
5090
|
+
"name": "calendar-cell-activate",
|
|
5091
|
+
"type": {
|
|
5092
|
+
"text": "CustomEvent"
|
|
5093
|
+
}
|
|
5094
|
+
}
|
|
5095
|
+
],
|
|
4840
5096
|
"attributes": [
|
|
4841
5097
|
{
|
|
4842
5098
|
"name": "monthFirst",
|
|
@@ -4904,6 +5160,28 @@
|
|
|
4904
5160
|
}
|
|
4905
5161
|
}
|
|
4906
5162
|
},
|
|
5163
|
+
{
|
|
5164
|
+
"kind": "method",
|
|
5165
|
+
"name": "announceMonthChange",
|
|
5166
|
+
"description": "Announces the current month and year via the live region after navigation.",
|
|
5167
|
+
"privacy": "private",
|
|
5168
|
+
"return": {
|
|
5169
|
+
"type": {
|
|
5170
|
+
"text": "void"
|
|
5171
|
+
}
|
|
5172
|
+
}
|
|
5173
|
+
},
|
|
5174
|
+
{
|
|
5175
|
+
"kind": "method",
|
|
5176
|
+
"name": "updateActiveCellForVisibleMonth",
|
|
5177
|
+
"description": "Recomputes and sets the active cell for the newly visible month after\nmonth navigation. Without this, activeCellDate can point at a date in\nthe old month, leaving no tabindex=\"0\" cell in the grid.",
|
|
5178
|
+
"privacy": "private",
|
|
5179
|
+
"return": {
|
|
5180
|
+
"type": {
|
|
5181
|
+
"text": "void"
|
|
5182
|
+
}
|
|
5183
|
+
}
|
|
5184
|
+
},
|
|
4907
5185
|
{
|
|
4908
5186
|
"kind": "method",
|
|
4909
5187
|
"name": "renderAllCalendars",
|
|
@@ -4946,32 +5224,196 @@
|
|
|
4946
5224
|
},
|
|
4947
5225
|
{
|
|
4948
5226
|
"kind": "method",
|
|
4949
|
-
"name": "
|
|
4950
|
-
"
|
|
4951
|
-
{
|
|
4952
|
-
"name": "slotName"
|
|
4953
|
-
},
|
|
4954
|
-
{
|
|
4955
|
-
"name": "nodes"
|
|
4956
|
-
}
|
|
4957
|
-
]
|
|
4958
|
-
},
|
|
4959
|
-
{
|
|
4960
|
-
"kind": "field",
|
|
4961
|
-
"name": "util",
|
|
5227
|
+
"name": "getMonthComponents",
|
|
5228
|
+
"description": "Gets all rendered month components.",
|
|
4962
5229
|
"privacy": "private",
|
|
4963
|
-
"
|
|
5230
|
+
"return": {
|
|
5231
|
+
"type": {
|
|
5232
|
+
"text": "Array"
|
|
5233
|
+
}
|
|
5234
|
+
}
|
|
4964
5235
|
},
|
|
4965
5236
|
{
|
|
4966
|
-
"kind": "
|
|
4967
|
-
"name": "
|
|
5237
|
+
"kind": "method",
|
|
5238
|
+
"name": "getAllFocusableCells",
|
|
5239
|
+
"description": "Gets all focusable cells across all rendered months.",
|
|
4968
5240
|
"privacy": "private",
|
|
4969
|
-
"
|
|
5241
|
+
"return": {
|
|
5242
|
+
"type": {
|
|
5243
|
+
"text": "Array"
|
|
5244
|
+
}
|
|
5245
|
+
}
|
|
4970
5246
|
},
|
|
4971
5247
|
{
|
|
4972
|
-
"kind": "
|
|
4973
|
-
"name": "
|
|
4974
|
-
"
|
|
5248
|
+
"kind": "method",
|
|
5249
|
+
"name": "setActiveCell",
|
|
5250
|
+
"parameters": [
|
|
5251
|
+
{
|
|
5252
|
+
"name": "date",
|
|
5253
|
+
"description": "Unix timestamp of the cell to activate.",
|
|
5254
|
+
"type": {
|
|
5255
|
+
"text": "Number"
|
|
5256
|
+
}
|
|
5257
|
+
}
|
|
5258
|
+
],
|
|
5259
|
+
"description": "Sets the active cell across all months. Only one cell has tabindex=\"0\" at a time.",
|
|
5260
|
+
"return": {
|
|
5261
|
+
"type": {
|
|
5262
|
+
"text": "void"
|
|
5263
|
+
}
|
|
5264
|
+
}
|
|
5265
|
+
},
|
|
5266
|
+
{
|
|
5267
|
+
"kind": "method",
|
|
5268
|
+
"name": "focusActiveCell",
|
|
5269
|
+
"description": "Focuses the currently active cell. If activeCellDate is set but no cell\nhas the active attribute yet, sets it first. Waits for the cell's render\nto complete so the focused button is the final DOM element.",
|
|
5270
|
+
"return": {
|
|
5271
|
+
"type": {
|
|
5272
|
+
"text": "void"
|
|
5273
|
+
}
|
|
5274
|
+
}
|
|
5275
|
+
},
|
|
5276
|
+
{
|
|
5277
|
+
"kind": "method",
|
|
5278
|
+
"name": "computeActiveDate",
|
|
5279
|
+
"parameters": [
|
|
5280
|
+
{
|
|
5281
|
+
"name": "options",
|
|
5282
|
+
"default": "{}",
|
|
5283
|
+
"description": "Optional settings.",
|
|
5284
|
+
"optional": true,
|
|
5285
|
+
"type": {
|
|
5286
|
+
"text": "@param {boolean} [options.skipDateFrom=false] - When true, skip the selected-date\n * shortcut (step 1). Used after month navigation so the active cell lands in the\n * newly visible month instead of jumping back to the selected date's month.\n * "
|
|
5287
|
+
}
|
|
5288
|
+
}
|
|
5289
|
+
],
|
|
5290
|
+
"description": "Computes the initial active date from data properties alone — no DOM required.\nPriority:\n 1. Selected date (dateFrom) if within range\n 2. Today's date if not disabled (in-range and not blackout)\n 3. First future non-disabled date (scans day-by-day from today up to 1 year)\n 4. First previous non-disabled date (scans day-by-day from today up to 1 year)\n 5. First enabled date in finite [min, max] range\n 5b. First enabled date scanning forward from finite min (unbounded max)\n 5c. First enabled date scanning backward from finite max (unbounded min)\n 6. First in-range date (even if blackout) so focus can land somewhere\n 7. undefined — no valid target",
|
|
5291
|
+
"privacy": "private",
|
|
5292
|
+
"return": {
|
|
5293
|
+
"type": {
|
|
5294
|
+
"text": "Number|undefined"
|
|
5295
|
+
}
|
|
5296
|
+
}
|
|
5297
|
+
},
|
|
5298
|
+
{
|
|
5299
|
+
"kind": "method",
|
|
5300
|
+
"name": "handleMonthBoundary",
|
|
5301
|
+
"parameters": [
|
|
5302
|
+
{
|
|
5303
|
+
"name": "event",
|
|
5304
|
+
"description": "The boundary event with direction and source date info.",
|
|
5305
|
+
"type": {
|
|
5306
|
+
"text": "CustomEvent"
|
|
5307
|
+
}
|
|
5308
|
+
}
|
|
5309
|
+
],
|
|
5310
|
+
"description": "Handles cross-month boundary navigation events from month components.",
|
|
5311
|
+
"privacy": "private",
|
|
5312
|
+
"return": {
|
|
5313
|
+
"type": {
|
|
5314
|
+
"text": "void"
|
|
5315
|
+
}
|
|
5316
|
+
}
|
|
5317
|
+
},
|
|
5318
|
+
{
|
|
5319
|
+
"kind": "method",
|
|
5320
|
+
"name": "handleCellActivate",
|
|
5321
|
+
"parameters": [
|
|
5322
|
+
{
|
|
5323
|
+
"name": "event",
|
|
5324
|
+
"description": "The activation event with target date.",
|
|
5325
|
+
"type": {
|
|
5326
|
+
"text": "CustomEvent"
|
|
5327
|
+
}
|
|
5328
|
+
}
|
|
5329
|
+
],
|
|
5330
|
+
"description": "Handles cell activation events from month components.",
|
|
5331
|
+
"privacy": "private",
|
|
5332
|
+
"return": {
|
|
5333
|
+
"type": {
|
|
5334
|
+
"text": "void"
|
|
5335
|
+
}
|
|
5336
|
+
}
|
|
5337
|
+
},
|
|
5338
|
+
{
|
|
5339
|
+
"kind": "method",
|
|
5340
|
+
"name": "scrollToActiveCell",
|
|
5341
|
+
"description": "Scrolls the calendar to ensure the month containing the active cell is visible.",
|
|
5342
|
+
"privacy": "private",
|
|
5343
|
+
"return": {
|
|
5344
|
+
"type": {
|
|
5345
|
+
"text": "void"
|
|
5346
|
+
}
|
|
5347
|
+
}
|
|
5348
|
+
},
|
|
5349
|
+
{
|
|
5350
|
+
"kind": "method",
|
|
5351
|
+
"name": "announceSelection",
|
|
5352
|
+
"parameters": [
|
|
5353
|
+
{
|
|
5354
|
+
"name": "dateStr",
|
|
5355
|
+
"description": "The localized date string to announce.",
|
|
5356
|
+
"type": {
|
|
5357
|
+
"text": "String"
|
|
5358
|
+
}
|
|
5359
|
+
}
|
|
5360
|
+
],
|
|
5361
|
+
"description": "Announces a date selection via the live region.",
|
|
5362
|
+
"privacy": "private",
|
|
5363
|
+
"return": {
|
|
5364
|
+
"type": {
|
|
5365
|
+
"text": "void"
|
|
5366
|
+
}
|
|
5367
|
+
}
|
|
5368
|
+
},
|
|
5369
|
+
{
|
|
5370
|
+
"kind": "method",
|
|
5371
|
+
"name": "formatAnnouncementDate",
|
|
5372
|
+
"parameters": [
|
|
5373
|
+
{
|
|
5374
|
+
"name": "timestamp",
|
|
5375
|
+
"description": "Unix timestamp in seconds.",
|
|
5376
|
+
"type": {
|
|
5377
|
+
"text": "String|Number"
|
|
5378
|
+
}
|
|
5379
|
+
}
|
|
5380
|
+
],
|
|
5381
|
+
"description": "Formats a Unix timestamp (seconds) as a localized date string for SR announcements.",
|
|
5382
|
+
"privacy": "private",
|
|
5383
|
+
"return": {
|
|
5384
|
+
"type": {
|
|
5385
|
+
"text": "String"
|
|
5386
|
+
}
|
|
5387
|
+
}
|
|
5388
|
+
},
|
|
5389
|
+
{
|
|
5390
|
+
"kind": "method",
|
|
5391
|
+
"name": "injectSlot",
|
|
5392
|
+
"parameters": [
|
|
5393
|
+
{
|
|
5394
|
+
"name": "slotName"
|
|
5395
|
+
},
|
|
5396
|
+
{
|
|
5397
|
+
"name": "nodes"
|
|
5398
|
+
}
|
|
5399
|
+
]
|
|
5400
|
+
},
|
|
5401
|
+
{
|
|
5402
|
+
"kind": "field",
|
|
5403
|
+
"name": "util",
|
|
5404
|
+
"privacy": "private",
|
|
5405
|
+
"default": "new AuroDatepickerUtilities()"
|
|
5406
|
+
},
|
|
5407
|
+
{
|
|
5408
|
+
"kind": "field",
|
|
5409
|
+
"name": "utilCal",
|
|
5410
|
+
"privacy": "private",
|
|
5411
|
+
"default": "new CalendarUtilities()"
|
|
5412
|
+
},
|
|
5413
|
+
{
|
|
5414
|
+
"kind": "field",
|
|
5415
|
+
"name": "utilCalRender",
|
|
5416
|
+
"privacy": "private",
|
|
4975
5417
|
"default": "new UtilitiesCalendarRender()"
|
|
4976
5418
|
},
|
|
4977
5419
|
{
|
|
@@ -5047,6 +5489,16 @@
|
|
|
5047
5489
|
"attribute": "isFullscreen",
|
|
5048
5490
|
"reflects": true
|
|
5049
5491
|
},
|
|
5492
|
+
{
|
|
5493
|
+
"kind": "field",
|
|
5494
|
+
"name": "activeCellDate",
|
|
5495
|
+
"type": {
|
|
5496
|
+
"text": "null"
|
|
5497
|
+
},
|
|
5498
|
+
"description": "The date of the currently active cell (Unix timestamp).\nOnly one cell across the entire calendar has tabindex=\"0\" at a time.",
|
|
5499
|
+
"privacy": "private",
|
|
5500
|
+
"default": "null"
|
|
5501
|
+
},
|
|
5050
5502
|
{
|
|
5051
5503
|
"kind": "field",
|
|
5052
5504
|
"name": "firstMonthRenderable",
|
|
@@ -5671,6 +6123,17 @@
|
|
|
5671
6123
|
}
|
|
5672
6124
|
}
|
|
5673
6125
|
},
|
|
6126
|
+
{
|
|
6127
|
+
"kind": "method",
|
|
6128
|
+
"name": "focusActiveCellWhenReady",
|
|
6129
|
+
"description": "Attempts to focus the active calendar cell using a rAF retry loop.\nShared by both fullscreen and desktop open paths.",
|
|
6130
|
+
"privacy": "private",
|
|
6131
|
+
"return": {
|
|
6132
|
+
"type": {
|
|
6133
|
+
"text": "void"
|
|
6134
|
+
}
|
|
6135
|
+
}
|
|
6136
|
+
},
|
|
5674
6137
|
{
|
|
5675
6138
|
"kind": "method",
|
|
5676
6139
|
"name": "configureDropdown",
|
|
@@ -5822,6 +6285,26 @@
|
|
|
5822
6285
|
}
|
|
5823
6286
|
}
|
|
5824
6287
|
},
|
|
6288
|
+
{
|
|
6289
|
+
"kind": "method",
|
|
6290
|
+
"name": "isBlackoutDate",
|
|
6291
|
+
"parameters": [
|
|
6292
|
+
{
|
|
6293
|
+
"name": "dateStr",
|
|
6294
|
+
"description": "A date string in the component's configured format.",
|
|
6295
|
+
"type": {
|
|
6296
|
+
"text": "string"
|
|
6297
|
+
}
|
|
6298
|
+
}
|
|
6299
|
+
],
|
|
6300
|
+
"description": "Checks whether a formatted date string matches a blackout date.",
|
|
6301
|
+
"privacy": "private",
|
|
6302
|
+
"return": {
|
|
6303
|
+
"type": {
|
|
6304
|
+
"text": "boolean"
|
|
6305
|
+
}
|
|
6306
|
+
}
|
|
6307
|
+
},
|
|
5825
6308
|
{
|
|
5826
6309
|
"kind": "method",
|
|
5827
6310
|
"name": "validate",
|
|
@@ -6151,6 +6634,114 @@
|
|
|
6151
6634
|
"attribute": "range",
|
|
6152
6635
|
"reflects": true
|
|
6153
6636
|
},
|
|
6637
|
+
{
|
|
6638
|
+
"kind": "field",
|
|
6639
|
+
"name": "rangeLabelStart",
|
|
6640
|
+
"privacy": "public",
|
|
6641
|
+
"type": {
|
|
6642
|
+
"text": "string"
|
|
6643
|
+
},
|
|
6644
|
+
"description": "Label announced for the range start date cell.",
|
|
6645
|
+
"default": "'range start'",
|
|
6646
|
+
"attribute": "rangeLabelStart",
|
|
6647
|
+
"reflects": true
|
|
6648
|
+
},
|
|
6649
|
+
{
|
|
6650
|
+
"kind": "field",
|
|
6651
|
+
"name": "rangeLabelEnd",
|
|
6652
|
+
"privacy": "public",
|
|
6653
|
+
"type": {
|
|
6654
|
+
"text": "string"
|
|
6655
|
+
},
|
|
6656
|
+
"description": "Label announced for the range end date cell.",
|
|
6657
|
+
"default": "'range end'",
|
|
6658
|
+
"attribute": "rangeLabelEnd",
|
|
6659
|
+
"reflects": true
|
|
6660
|
+
},
|
|
6661
|
+
{
|
|
6662
|
+
"kind": "field",
|
|
6663
|
+
"name": "rangeLabelBeforeRange",
|
|
6664
|
+
"privacy": "public",
|
|
6665
|
+
"type": {
|
|
6666
|
+
"text": "string"
|
|
6667
|
+
},
|
|
6668
|
+
"description": "Label announced for cells before the range start.",
|
|
6669
|
+
"default": "'before range'",
|
|
6670
|
+
"attribute": "rangeLabelBeforeRange",
|
|
6671
|
+
"reflects": true
|
|
6672
|
+
},
|
|
6673
|
+
{
|
|
6674
|
+
"kind": "field",
|
|
6675
|
+
"name": "rangeLabelInRange",
|
|
6676
|
+
"privacy": "public",
|
|
6677
|
+
"type": {
|
|
6678
|
+
"text": "string"
|
|
6679
|
+
},
|
|
6680
|
+
"description": "Label announced for cells within the selected range.",
|
|
6681
|
+
"default": "'in range'",
|
|
6682
|
+
"attribute": "rangeLabelInRange",
|
|
6683
|
+
"reflects": true
|
|
6684
|
+
},
|
|
6685
|
+
{
|
|
6686
|
+
"kind": "field",
|
|
6687
|
+
"name": "rangeLabelAfterRange",
|
|
6688
|
+
"privacy": "public",
|
|
6689
|
+
"type": {
|
|
6690
|
+
"text": "string"
|
|
6691
|
+
},
|
|
6692
|
+
"description": "Label announced for cells after the range (or after start when no end is selected).",
|
|
6693
|
+
"default": "'after range'",
|
|
6694
|
+
"attribute": "rangeLabelAfterRange",
|
|
6695
|
+
"reflects": true
|
|
6696
|
+
},
|
|
6697
|
+
{
|
|
6698
|
+
"kind": "field",
|
|
6699
|
+
"name": "blackoutDates",
|
|
6700
|
+
"privacy": "public",
|
|
6701
|
+
"type": {
|
|
6702
|
+
"text": "array"
|
|
6703
|
+
},
|
|
6704
|
+
"description": "Array of dates that cannot be selected. Dates should be in ISO format (YYYY-MM-DD).",
|
|
6705
|
+
"default": "[]",
|
|
6706
|
+
"attribute": "blackoutDates",
|
|
6707
|
+
"reflects": true
|
|
6708
|
+
},
|
|
6709
|
+
{
|
|
6710
|
+
"kind": "field",
|
|
6711
|
+
"name": "blackoutLabel",
|
|
6712
|
+
"privacy": "public",
|
|
6713
|
+
"type": {
|
|
6714
|
+
"text": "string"
|
|
6715
|
+
},
|
|
6716
|
+
"description": "Label announced for blackout (disabled but in-range) date cells.",
|
|
6717
|
+
"default": "'unavailable'",
|
|
6718
|
+
"attribute": "blackoutLabel",
|
|
6719
|
+
"reflects": true
|
|
6720
|
+
},
|
|
6721
|
+
{
|
|
6722
|
+
"kind": "field",
|
|
6723
|
+
"name": "navLabelPrevMonth",
|
|
6724
|
+
"privacy": "public",
|
|
6725
|
+
"type": {
|
|
6726
|
+
"text": "string"
|
|
6727
|
+
},
|
|
6728
|
+
"description": "Accessible label for the previous month navigation button.",
|
|
6729
|
+
"default": "'Previous month'",
|
|
6730
|
+
"attribute": "navLabelPrevMonth",
|
|
6731
|
+
"reflects": true
|
|
6732
|
+
},
|
|
6733
|
+
{
|
|
6734
|
+
"kind": "field",
|
|
6735
|
+
"name": "navLabelNextMonth",
|
|
6736
|
+
"privacy": "public",
|
|
6737
|
+
"type": {
|
|
6738
|
+
"text": "string"
|
|
6739
|
+
},
|
|
6740
|
+
"description": "Accessible label for the next month navigation button.",
|
|
6741
|
+
"default": "'Next month'",
|
|
6742
|
+
"attribute": "navLabelNextMonth",
|
|
6743
|
+
"reflects": true
|
|
6744
|
+
},
|
|
6154
6745
|
{
|
|
6155
6746
|
"kind": "field",
|
|
6156
6747
|
"name": "stacked",
|
|
@@ -6604,7 +7195,7 @@
|
|
|
6604
7195
|
"type": {
|
|
6605
7196
|
"text": "string"
|
|
6606
7197
|
},
|
|
6607
|
-
"description": "Custom help text message to display when validity = `customError
|
|
7198
|
+
"description": "Custom help text message to display when validity = `customError`.\nAlso used as the validation message when a blackout date is typed into the input.",
|
|
6608
7199
|
"attribute": "setCustomValidityCustomError"
|
|
6609
7200
|
},
|
|
6610
7201
|
{
|
|
@@ -6714,8 +7305,11 @@
|
|
|
6714
7305
|
"description": "Notifies that new slot content has been added to the datepicker."
|
|
6715
7306
|
},
|
|
6716
7307
|
{
|
|
6717
|
-
"
|
|
6718
|
-
"
|
|
7308
|
+
"name": "auroFormElement-validated",
|
|
7309
|
+
"type": {
|
|
7310
|
+
"text": "CustomEvent"
|
|
7311
|
+
},
|
|
7312
|
+
"description": "Notifies that the component value(s) have been validated."
|
|
6719
7313
|
}
|
|
6720
7314
|
],
|
|
6721
7315
|
"attributes": [
|
|
@@ -6980,6 +7574,87 @@
|
|
|
6980
7574
|
"default": "false",
|
|
6981
7575
|
"fieldName": "range"
|
|
6982
7576
|
},
|
|
7577
|
+
{
|
|
7578
|
+
"name": "rangeLabelStart",
|
|
7579
|
+
"type": {
|
|
7580
|
+
"text": "string"
|
|
7581
|
+
},
|
|
7582
|
+
"description": "Label announced for the range start date cell.",
|
|
7583
|
+
"default": "'range start'",
|
|
7584
|
+
"fieldName": "rangeLabelStart"
|
|
7585
|
+
},
|
|
7586
|
+
{
|
|
7587
|
+
"name": "rangeLabelEnd",
|
|
7588
|
+
"type": {
|
|
7589
|
+
"text": "string"
|
|
7590
|
+
},
|
|
7591
|
+
"description": "Label announced for the range end date cell.",
|
|
7592
|
+
"default": "'range end'",
|
|
7593
|
+
"fieldName": "rangeLabelEnd"
|
|
7594
|
+
},
|
|
7595
|
+
{
|
|
7596
|
+
"name": "rangeLabelBeforeRange",
|
|
7597
|
+
"type": {
|
|
7598
|
+
"text": "string"
|
|
7599
|
+
},
|
|
7600
|
+
"description": "Label announced for cells before the range start.",
|
|
7601
|
+
"default": "'before range'",
|
|
7602
|
+
"fieldName": "rangeLabelBeforeRange"
|
|
7603
|
+
},
|
|
7604
|
+
{
|
|
7605
|
+
"name": "rangeLabelInRange",
|
|
7606
|
+
"type": {
|
|
7607
|
+
"text": "string"
|
|
7608
|
+
},
|
|
7609
|
+
"description": "Label announced for cells within the selected range.",
|
|
7610
|
+
"default": "'in range'",
|
|
7611
|
+
"fieldName": "rangeLabelInRange"
|
|
7612
|
+
},
|
|
7613
|
+
{
|
|
7614
|
+
"name": "rangeLabelAfterRange",
|
|
7615
|
+
"type": {
|
|
7616
|
+
"text": "string"
|
|
7617
|
+
},
|
|
7618
|
+
"description": "Label announced for cells after the range (or after start when no end is selected).",
|
|
7619
|
+
"default": "'after range'",
|
|
7620
|
+
"fieldName": "rangeLabelAfterRange"
|
|
7621
|
+
},
|
|
7622
|
+
{
|
|
7623
|
+
"name": "blackoutDates",
|
|
7624
|
+
"type": {
|
|
7625
|
+
"text": "array"
|
|
7626
|
+
},
|
|
7627
|
+
"description": "Array of dates that cannot be selected. Dates should be in ISO format (YYYY-MM-DD).",
|
|
7628
|
+
"default": "[]",
|
|
7629
|
+
"fieldName": "blackoutDates"
|
|
7630
|
+
},
|
|
7631
|
+
{
|
|
7632
|
+
"name": "blackoutLabel",
|
|
7633
|
+
"type": {
|
|
7634
|
+
"text": "string"
|
|
7635
|
+
},
|
|
7636
|
+
"description": "Label announced for blackout (disabled but in-range) date cells.",
|
|
7637
|
+
"default": "'unavailable'",
|
|
7638
|
+
"fieldName": "blackoutLabel"
|
|
7639
|
+
},
|
|
7640
|
+
{
|
|
7641
|
+
"name": "navLabelPrevMonth",
|
|
7642
|
+
"type": {
|
|
7643
|
+
"text": "string"
|
|
7644
|
+
},
|
|
7645
|
+
"description": "Accessible label for the previous month navigation button.",
|
|
7646
|
+
"default": "'Previous month'",
|
|
7647
|
+
"fieldName": "navLabelPrevMonth"
|
|
7648
|
+
},
|
|
7649
|
+
{
|
|
7650
|
+
"name": "navLabelNextMonth",
|
|
7651
|
+
"type": {
|
|
7652
|
+
"text": "string"
|
|
7653
|
+
},
|
|
7654
|
+
"description": "Accessible label for the next month navigation button.",
|
|
7655
|
+
"default": "'Next month'",
|
|
7656
|
+
"fieldName": "navLabelNextMonth"
|
|
7657
|
+
},
|
|
6983
7658
|
{
|
|
6984
7659
|
"name": "referenceDates",
|
|
6985
7660
|
"type": {
|
|
@@ -7010,7 +7685,7 @@
|
|
|
7010
7685
|
"type": {
|
|
7011
7686
|
"text": "string"
|
|
7012
7687
|
},
|
|
7013
|
-
"description": "Custom help text message to display when validity = `customError
|
|
7688
|
+
"description": "Custom help text message to display when validity = `customError`.\nAlso used as the validation message when a blackout date is typed into the input.",
|
|
7014
7689
|
"fieldName": "setCustomValidityCustomError"
|
|
7015
7690
|
},
|
|
7016
7691
|
{
|
|
@@ -7151,7 +7826,7 @@
|
|
|
7151
7826
|
"type": {
|
|
7152
7827
|
"text": "object"
|
|
7153
7828
|
},
|
|
7154
|
-
"default": "{ Escape(component, evt) { if (!component.
|
|
7829
|
+
"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(); 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(); }, }"
|
|
7155
7830
|
}
|
|
7156
7831
|
],
|
|
7157
7832
|
"exports": [
|
|
@@ -8005,6 +8680,29 @@
|
|
|
8005
8680
|
"name": "updateFocusTrap",
|
|
8006
8681
|
"privacy": "private"
|
|
8007
8682
|
},
|
|
8683
|
+
{
|
|
8684
|
+
"kind": "method",
|
|
8685
|
+
"name": "_getActiveElements",
|
|
8686
|
+
"description": "Returns the chain of active (focused) elements through shadow roots.",
|
|
8687
|
+
"privacy": "private",
|
|
8688
|
+
"return": {
|
|
8689
|
+
"type": {
|
|
8690
|
+
"text": "Array<HTMLElement>"
|
|
8691
|
+
}
|
|
8692
|
+
}
|
|
8693
|
+
},
|
|
8694
|
+
{
|
|
8695
|
+
"kind": "method",
|
|
8696
|
+
"name": "_setPageInert",
|
|
8697
|
+
"description": "Sets `inert` on sibling elements of the dropdown's top-level host\nso that content outside the dropdown is not interactive while the modal is open.\nWalks up through shadow DOM boundaries to find the outermost host element\nin the light DOM, then sets `inert` on siblings at each ancestor level\nto ensure all page content outside the host subtree is inert.",
|
|
8698
|
+
"privacy": "private"
|
|
8699
|
+
},
|
|
8700
|
+
{
|
|
8701
|
+
"kind": "method",
|
|
8702
|
+
"name": "_clearPageInert",
|
|
8703
|
+
"description": "Restores `inert` state on siblings that were tracked by `_setPageInert`.\nPreserves the previous inert state so externally-inerted elements are\nnot inadvertently re-enabled.",
|
|
8704
|
+
"privacy": "private"
|
|
8705
|
+
},
|
|
8008
8706
|
{
|
|
8009
8707
|
"kind": "method",
|
|
8010
8708
|
"name": "handleFocusout",
|
|
@@ -8311,6 +9009,17 @@
|
|
|
8311
9009
|
"attribute": "autoPlacement",
|
|
8312
9010
|
"reflects": true
|
|
8313
9011
|
},
|
|
9012
|
+
{
|
|
9013
|
+
"kind": "field",
|
|
9014
|
+
"name": "desktopModal",
|
|
9015
|
+
"privacy": "public",
|
|
9016
|
+
"type": {
|
|
9017
|
+
"text": "boolean"
|
|
9018
|
+
},
|
|
9019
|
+
"description": "If declared, the dropdown will behave as a modal dialog when in a desktop viewport size.",
|
|
9020
|
+
"attribute": "desktopModal",
|
|
9021
|
+
"reflects": true
|
|
9022
|
+
},
|
|
8314
9023
|
{
|
|
8315
9024
|
"kind": "field",
|
|
8316
9025
|
"name": "disableEventShow",
|
|
@@ -8617,6 +9326,14 @@
|
|
|
8617
9326
|
"description": "If declared, bib's position will be automatically calculated where to appear.",
|
|
8618
9327
|
"fieldName": "autoPlacement"
|
|
8619
9328
|
},
|
|
9329
|
+
{
|
|
9330
|
+
"name": "desktopModal",
|
|
9331
|
+
"type": {
|
|
9332
|
+
"text": "boolean"
|
|
9333
|
+
},
|
|
9334
|
+
"description": "If declared, the dropdown will behave as a modal dialog when in a desktop viewport size.",
|
|
9335
|
+
"fieldName": "desktopModal"
|
|
9336
|
+
},
|
|
8620
9337
|
{
|
|
8621
9338
|
"name": "disableEventShow",
|
|
8622
9339
|
"type": {
|