@redvars/peacock 4.5.1 → 4.6.1
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/dist/{BaseField-BbOj212R.js → BaseField-DOCmylob.js} +16 -3
- package/dist/BaseField-DOCmylob.js.map +1 -0
- package/dist/accordion.js +1 -1
- package/dist/activation-gate-D4IpmwyD.js +23 -0
- package/dist/activation-gate-D4IpmwyD.js.map +1 -0
- package/dist/avatar-group.js +2 -1
- package/dist/avatar-group.js.map +1 -1
- package/dist/avatar.js +3 -0
- package/dist/avatar.js.map +1 -1
- package/dist/{base-button-BJMGMcMv.js → base-button-9tGu5RSC.js} +30 -10
- package/dist/base-button-9tGu5RSC.js.map +1 -0
- package/dist/button-group.js +5 -3
- package/dist/button-group.js.map +1 -1
- package/dist/button.js +12 -16
- package/dist/button.js.map +1 -1
- package/dist/calendar-column-view.js +4 -4
- package/dist/{calendar-drag-IXMPZrTN.js → calendar-drag-DdJwSpEz.js} +2 -2
- package/dist/{calendar-drag-IXMPZrTN.js.map → calendar-drag-DdJwSpEz.js.map} +1 -1
- package/dist/{calendar-event-BQChlMXy.js → calendar-event-BvbYZHx1.js} +2 -2
- package/dist/{calendar-event-BQChlMXy.js.map → calendar-event-BvbYZHx1.js.map} +1 -1
- package/dist/calendar-month-view.js +65 -14
- package/dist/calendar-month-view.js.map +1 -1
- package/dist/calendar-timeline.js +9 -4
- package/dist/calendar-timeline.js.map +1 -1
- package/dist/calendar.js +21 -6
- package/dist/calendar.js.map +1 -1
- package/dist/card.js +29 -16
- package/dist/card.js.map +1 -1
- package/dist/chart-doughnut.js +3 -1
- package/dist/chart-doughnut.js.map +1 -1
- package/dist/chart-pie.js +9 -1
- package/dist/chart-pie.js.map +1 -1
- package/dist/chip-set.js +1 -1
- package/dist/chip.js +10 -19
- package/dist/chip.js.map +1 -1
- package/dist/code-editor.js +56 -5
- package/dist/code-editor.js.map +1 -1
- package/dist/color-field.js +4 -1
- package/dist/color-field.js.map +1 -1
- package/dist/currency-field.js +4 -1
- package/dist/currency-field.js.map +1 -1
- package/dist/custom-elements-jsdocs.json +29 -23
- package/dist/custom-elements.json +758 -93
- package/dist/{datasource-OwvH7SVq.js → datasource-DxEA6jHW.js} +6 -4
- package/dist/datasource-DxEA6jHW.js.map +1 -0
- package/dist/{date-cfPx3alz.js → date-DPQOY8Zd.js} +2 -2
- package/dist/{date-cfPx3alz.js.map → date-DPQOY8Zd.js.map} +1 -1
- package/dist/date-field.js +8 -5
- package/dist/date-field.js.map +1 -1
- package/dist/date-picker.js +2 -2
- package/dist/date-range-field.js +8 -5
- package/dist/date-range-field.js.map +1 -1
- package/dist/datetime-field.js +7 -4
- package/dist/datetime-field.js.map +1 -1
- package/dist/diagram-controls.js +1 -1
- package/dist/{throttle-SQ9t-HL7.js → dispatch-event-utils-DfgqVBK8.js} +2 -24
- package/dist/dispatch-event-utils-DfgqVBK8.js.map +1 -0
- package/dist/{form-submitter-beG1CXAn.js → dispatch-hooks-J_godlHh.js} +2 -87
- package/dist/dispatch-hooks-J_godlHh.js.map +1 -0
- package/dist/dropdown-button.js +11 -7
- package/dist/dropdown-button.js.map +1 -1
- package/dist/{event-manager-KGMT2x2Q.js → event-manager-DYfeN3VE.js} +3 -3
- package/dist/{event-manager-KGMT2x2Q.js.map → event-manager-DYfeN3VE.js.map} +1 -1
- package/dist/fab.js +15 -19
- package/dist/fab.js.map +1 -1
- package/dist/filter-bar.js +3 -3
- package/dist/form-submission-h40coUI8.js +13 -0
- package/dist/form-submission-h40coUI8.js.map +1 -0
- package/dist/form-submitter-BIFqZ0wq.js +88 -0
- package/dist/form-submitter-BIFqZ0wq.js.map +1 -0
- package/dist/form.js +1 -9
- package/dist/form.js.map +1 -1
- package/dist/icon-button.js +15 -19
- package/dist/icon-button.js.map +1 -1
- package/dist/icon.js +1 -1
- package/dist/implicit-submission-ChLdbxaR.js +100 -0
- package/dist/implicit-submission-ChLdbxaR.js.map +1 -0
- package/dist/index.js +20 -15
- package/dist/index.js.map +1 -1
- package/dist/{indicator-navigation-item-CmyhsOmy.js → indicator-navigation-item-BsQE3kUr.js} +2 -2
- package/dist/{indicator-navigation-item-CmyhsOmy.js.map → indicator-navigation-item-BsQE3kUr.js.map} +1 -1
- package/dist/input.js +13 -4
- package/dist/input.js.map +1 -1
- package/dist/json-viewer.js +1 -1
- package/dist/kanban.js +8 -7
- package/dist/kanban.js.map +1 -1
- package/dist/link-button.js +13 -14
- package/dist/link-button.js.map +1 -1
- package/dist/list-item.js +52 -16
- package/dist/list-item.js.map +1 -1
- package/dist/list.js +5 -3
- package/dist/list.js.map +1 -1
- package/dist/listbox.js +1 -1
- package/dist/loader-full.js +17 -12
- package/dist/loader-full.js.map +1 -1
- package/dist/loader.js +17 -12
- package/dist/loader.js.map +1 -1
- package/dist/locale-DEsJZCQG.js.map +1 -1
- package/dist/mention-input.js +8 -1
- package/dist/mention-input.js.map +1 -1
- package/dist/menu-item.js +12 -12
- package/dist/menu-item.js.map +1 -1
- package/dist/menu.js +7 -3
- package/dist/menu.js.map +1 -1
- package/dist/navigation-bar-item.js +4 -3
- package/dist/navigation-bar-item.js.map +1 -1
- package/dist/navigation-bar.js +4 -3
- package/dist/navigation-bar.js.map +1 -1
- package/dist/navigation-drawer-item.js +3 -2
- package/dist/navigation-drawer-item.js.map +1 -1
- package/dist/navigation-drawer.js +3 -2
- package/dist/navigation-drawer.js.map +1 -1
- package/dist/{navigation-item-base-kUrvJgCx.js → navigation-item-base-5ljwtLG_.js} +3 -2
- package/dist/{navigation-item-base-kUrvJgCx.js.map → navigation-item-base-5ljwtLG_.js.map} +1 -1
- package/dist/navigation-rail-item.js +4 -3
- package/dist/navigation-rail-item.js.map +1 -1
- package/dist/navigation-rail.js +6 -5
- package/dist/navigation-rail.js.map +1 -1
- package/dist/number-field.js +4 -1
- package/dist/number-field.js.map +1 -1
- package/dist/option.js +3 -2
- package/dist/option.js.map +1 -1
- package/dist/password-field.js +11 -4
- package/dist/password-field.js.map +1 -1
- package/dist/phone-field.js +4 -1
- package/dist/phone-field.js.map +1 -1
- package/dist/{picker-field-DmXYPvbF.js → picker-field-BiM3iXAQ.js} +2 -2
- package/dist/{picker-field-DmXYPvbF.js.map → picker-field-BiM3iXAQ.js.map} +1 -1
- package/dist/pin-input.js +4 -1
- package/dist/pin-input.js.map +1 -1
- package/dist/{range-utils-DZe96GnO.js → range-utils-vgG1SJ2o.js} +2 -2
- package/dist/{range-utils-DZe96GnO.js.map → range-utils-vgG1SJ2o.js.map} +1 -1
- package/dist/{roving-focus-controller-fm95JkZJ.js → roving-focus-controller-YtNbxH95.js} +30 -7
- package/dist/roving-focus-controller-YtNbxH95.js.map +1 -0
- package/dist/search.js +12 -6
- package/dist/search.js.map +1 -1
- package/dist/select.js +11 -3
- package/dist/select.js.map +1 -1
- package/dist/shipped-icons.js +1 -1
- package/dist/split-button.js +9 -1
- package/dist/split-button.js.map +1 -1
- package/dist/src/__internal/controllers/roving-focus-controller.d.ts +14 -2
- package/dist/src/__internal/implicit-submission.d.ts +25 -0
- package/dist/src/__internal/utils/activation-gate.d.ts +8 -0
- package/dist/src/__internal/utils/form-submission.d.ts +2 -0
- package/dist/src/avatar-group/avatar-group.d.ts +1 -1
- package/dist/src/button/base-button/base-button.d.ts +1 -1
- package/dist/src/button/button/button.d.ts +2 -1
- package/dist/src/button/fab/fab.d.ts +2 -1
- package/dist/src/button/icon-button/icon-button.d.ts +2 -1
- package/dist/src/button/link-button/link-button.d.ts +5 -1
- package/dist/src/calendar/calendar-month-view.d.ts +5 -1
- package/dist/src/calendar/calendar.d.ts +6 -1
- package/dist/src/card/card.d.ts +19 -9
- package/dist/src/chart-pie/chart-pie.d.ts +5 -0
- package/dist/src/chip/chip/chip.d.ts +4 -4
- package/dist/src/code-editor/code-editor.d.ts +3 -3
- package/dist/src/dropdown-button/dropdown-button.d.ts +5 -1
- package/dist/src/input/BaseField.d.ts +7 -0
- package/dist/src/input/input.d.ts +5 -1
- package/dist/src/list/list-item.d.ts +2 -1
- package/dist/src/mention-input/mention-input.d.ts +2 -0
- package/dist/src/menu/menu-item/menu-item.d.ts +6 -4
- package/dist/src/password-field/password-field.d.ts +3 -1
- package/dist/src/search/search.d.ts +1 -0
- package/dist/src/select/select.d.ts +2 -0
- package/dist/src/split-button/split-button.d.ts +6 -1
- package/dist/src/stepper/step.d.ts +3 -1
- package/dist/src/tabs/tab.d.ts +12 -2
- package/dist/src/textarea/textarea.d.ts +2 -0
- package/dist/src/toolbar/toolbar.d.ts +13 -2
- package/dist/step.js +7 -1
- package/dist/step.js.map +1 -1
- package/dist/stepper.js +10 -1
- package/dist/stepper.js.map +1 -1
- package/dist/sub-menu.js +3 -2
- package/dist/sub-menu.js.map +1 -1
- package/dist/svg.js +1 -1
- package/dist/tab-group.js +3 -2
- package/dist/tab-group.js.map +1 -1
- package/dist/tab.js +17 -12
- package/dist/tab.js.map +1 -1
- package/dist/tabs.js +3 -2
- package/dist/tabs.js.map +1 -1
- package/dist/test/accessible-name.test.d.ts +1 -0
- package/dist/test/helpers/count-activations.d.ts +9 -0
- package/dist/test/navigation-rail.test.d.ts +1 -0
- package/dist/test/throttle-delay.test.d.ts +1 -0
- package/dist/textarea.js +8 -1
- package/dist/textarea.js.map +1 -1
- package/dist/throttle-C7ZAPqtu.js +24 -0
- package/dist/throttle-C7ZAPqtu.js.map +1 -0
- package/dist/time-field.js +7 -4
- package/dist/time-field.js.map +1 -1
- package/dist/time-picker.js +2 -2
- package/dist/toolbar.js +25 -8
- package/dist/toolbar.js.map +1 -1
- package/dist/tree.js +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/url-field.js +4 -1
- package/dist/url-field.js.map +1 -1
- package/dist/{utils-DcvLgexs.js → utils-CQzycr9J.js} +2 -1
- package/dist/utils-CQzycr9J.js.map +1 -0
- package/package.json +2 -1
- package/src/__internal/controllers/roving-focus-controller.ts +35 -7
- package/src/__internal/i18n/locale.ts +1 -1
- package/src/__internal/implicit-submission.ts +102 -0
- package/src/__internal/utils/activation-gate.ts +20 -0
- package/src/__internal/utils/cache-fetch.ts +6 -3
- package/src/__internal/utils/form-submission.ts +11 -0
- package/src/avatar/avatar.scss +5 -0
- package/src/avatar-group/avatar-group.scss +3 -0
- package/src/avatar-group/avatar-group.ts +1 -1
- package/src/button/base-button/base-button.ts +41 -16
- package/src/button/button/button.ts +5 -16
- package/src/button/fab/fab.ts +7 -18
- package/src/button/icon-button/icon-button.ts +7 -18
- package/src/button/link-button/link-button.ts +8 -15
- package/src/calendar/_calendar-header.scss +7 -1
- package/src/calendar/calendar-month-view.scss +36 -2
- package/src/calendar/calendar-month-view.ts +33 -8
- package/src/calendar/calendar.ts +17 -2
- package/src/calendar/utils.ts +1 -0
- package/src/card/card.ts +27 -16
- package/src/chart-doughnut/chart-doughnut.ts +6 -1
- package/src/chart-pie/chart-pie.ts +10 -1
- package/src/chip/chip/chip.ts +6 -26
- package/src/code-editor/code-editor.scss +70 -1
- package/src/code-editor/code-editor.ts +12 -4
- package/src/dropdown-button/dropdown-button.ts +7 -2
- package/src/form/form.ts +1 -9
- package/src/input/BaseField.ts +17 -0
- package/src/input/input.ts +13 -1
- package/src/kanban/kanban.scss +11 -7
- package/src/list/list-item.scss +5 -0
- package/src/list/list-item.ts +44 -16
- package/src/mention-input/mention-input.ts +5 -0
- package/src/menu/menu/menu.ts +4 -1
- package/src/menu/menu-item/menu-item.ts +9 -14
- package/src/navigation-rail/navigation-rail.scss +3 -2
- package/src/password-field/password-field.ts +11 -1
- package/src/search/search.ts +9 -0
- package/src/select/select.ts +5 -0
- package/src/split-button/split-button.ts +10 -1
- package/src/stepper/step.ts +7 -1
- package/src/stepper/stepper.scss +13 -0
- package/src/tabs/tab.ts +21 -17
- package/src/textarea/textarea.ts +5 -0
- package/src/toolbar/toolbar.ts +26 -7
- package/dist/BaseField-BbOj212R.js.map +0 -1
- package/dist/base-button-BJMGMcMv.js.map +0 -1
- package/dist/datasource-OwvH7SVq.js.map +0 -1
- package/dist/form-submitter-beG1CXAn.js.map +0 -1
- package/dist/roving-focus-controller-fm95JkZJ.js.map +0 -1
- package/dist/throttle-SQ9t-HL7.js.map +0 -1
- package/dist/utils-DcvLgexs.js.map +0 -1
|
@@ -2085,38 +2085,34 @@
|
|
|
2085
2085
|
},
|
|
2086
2086
|
{
|
|
2087
2087
|
"kind": "javascript-module",
|
|
2088
|
-
"path": "src/__internal/utils/
|
|
2088
|
+
"path": "src/__internal/utils/activation-gate.ts",
|
|
2089
2089
|
"declarations": [
|
|
2090
2090
|
{
|
|
2091
2091
|
"kind": "function",
|
|
2092
|
-
"name": "
|
|
2092
|
+
"name": "createActivationGate",
|
|
2093
|
+
"return": {
|
|
2094
|
+
"type": {
|
|
2095
|
+
"text": "() => boolean"
|
|
2096
|
+
}
|
|
2097
|
+
},
|
|
2093
2098
|
"parameters": [
|
|
2094
2099
|
{
|
|
2095
|
-
"name": "
|
|
2096
|
-
"type": {
|
|
2097
|
-
"text": "Function"
|
|
2098
|
-
}
|
|
2099
|
-
},
|
|
2100
|
-
{
|
|
2101
|
-
"name": "delay",
|
|
2100
|
+
"name": "getDelay",
|
|
2102
2101
|
"type": {
|
|
2103
|
-
"text": "number"
|
|
2102
|
+
"text": "() => number | undefined"
|
|
2104
2103
|
}
|
|
2105
|
-
},
|
|
2106
|
-
{
|
|
2107
|
-
"name": "options",
|
|
2108
|
-
"default": "{ leading: true, trailing: true }"
|
|
2109
2104
|
}
|
|
2110
|
-
]
|
|
2105
|
+
],
|
|
2106
|
+
"description": "Gate for `throttle-delay`: the returned function says whether an activation may go ahead now.\nThe first activation opens a window of `getDelay()` milliseconds, and every activation inside\nthat window is refused, never deferred, so nothing runs later with a stale event. With no\ndelay (unset, zero or negative) every activation goes ahead. The delay is read on each call, so\na later change to it takes effect."
|
|
2111
2107
|
}
|
|
2112
2108
|
],
|
|
2113
2109
|
"exports": [
|
|
2114
2110
|
{
|
|
2115
2111
|
"kind": "js",
|
|
2116
|
-
"name": "
|
|
2112
|
+
"name": "createActivationGate",
|
|
2117
2113
|
"declaration": {
|
|
2118
|
-
"name": "
|
|
2119
|
-
"module": "src/__internal/utils/
|
|
2114
|
+
"name": "createActivationGate",
|
|
2115
|
+
"module": "src/__internal/utils/activation-gate.ts"
|
|
2120
2116
|
}
|
|
2121
2117
|
}
|
|
2122
2118
|
]
|
|
@@ -2248,15 +2244,15 @@
|
|
|
2248
2244
|
"type": {
|
|
2249
2245
|
"text": "number | undefined"
|
|
2250
2246
|
},
|
|
2251
|
-
"description": "
|
|
2247
|
+
"description": "Throttles activation by this many milliseconds: after a click, every click inside the delay\nis swallowed (no `click` listeners, no form submit, no toggle). When undefined (default), no\nthrottle is applied.",
|
|
2252
2248
|
"attribute": "throttle-delay"
|
|
2253
2249
|
},
|
|
2254
2250
|
{
|
|
2255
2251
|
"kind": "field",
|
|
2256
|
-
"name": "
|
|
2257
|
-
"
|
|
2258
|
-
|
|
2259
|
-
|
|
2252
|
+
"name": "__throttleAllows",
|
|
2253
|
+
"privacy": "private",
|
|
2254
|
+
"readonly": true,
|
|
2255
|
+
"description": "Whether `throttle-delay` lets a click through now; opens a new delay when it does."
|
|
2260
2256
|
},
|
|
2261
2257
|
{
|
|
2262
2258
|
"kind": "field",
|
|
@@ -2264,6 +2260,17 @@
|
|
|
2264
2260
|
"type": {
|
|
2265
2261
|
"text": "(event: MouseEvent | KeyboardEvent) => void"
|
|
2266
2262
|
}
|
|
2263
|
+
},
|
|
2264
|
+
{
|
|
2265
|
+
"kind": "method",
|
|
2266
|
+
"name": "__isClickBlocked",
|
|
2267
|
+
"description": "Whether a click must be swallowed: it stops other listeners and the default action. A\ncomponent returns `true` while it is soft-disabled, loading and so on."
|
|
2268
|
+
},
|
|
2269
|
+
{
|
|
2270
|
+
"kind": "field",
|
|
2271
|
+
"name": "__handleHostClick",
|
|
2272
|
+
"privacy": "private",
|
|
2273
|
+
"description": "Host click listener. Every activation reaches it once: a click on the inner control\nbubbling out, or a click fired at the host. It swallows a blocked click, and one inside the\n`throttle-delay` window, so later host listeners, ancestors' listeners and the form\nsubmitter (which checks `defaultPrevented`) never see it. A blocked click does not open a\nthrottle window."
|
|
2267
2274
|
}
|
|
2268
2275
|
],
|
|
2269
2276
|
"attributes": [
|
|
@@ -2317,7 +2324,7 @@
|
|
|
2317
2324
|
"type": {
|
|
2318
2325
|
"text": "number | undefined"
|
|
2319
2326
|
},
|
|
2320
|
-
"description": "
|
|
2327
|
+
"description": "Throttles activation by this many milliseconds: after a click, every click inside the delay\nis swallowed (no `click` listeners, no form submit, no toggle). When undefined (default), no\nthrottle is applied.",
|
|
2321
2328
|
"fieldName": "throttleDelay"
|
|
2322
2329
|
}
|
|
2323
2330
|
],
|
|
@@ -2944,6 +2951,15 @@
|
|
|
2944
2951
|
"kind": "method",
|
|
2945
2952
|
"name": "blur"
|
|
2946
2953
|
},
|
|
2954
|
+
{
|
|
2955
|
+
"kind": "method",
|
|
2956
|
+
"name": "__isClickBlocked",
|
|
2957
|
+
"description": "A soft-disabled, loading or skeleton button swallows clicks.",
|
|
2958
|
+
"inheritedFrom": {
|
|
2959
|
+
"name": "mixinBaseButton",
|
|
2960
|
+
"module": "src/button/base-button/base-button.ts"
|
|
2961
|
+
}
|
|
2962
|
+
},
|
|
2947
2963
|
{
|
|
2948
2964
|
"kind": "field",
|
|
2949
2965
|
"name": "__dispatchClick",
|
|
@@ -3098,7 +3114,7 @@
|
|
|
3098
3114
|
"type": {
|
|
3099
3115
|
"text": "number | undefined"
|
|
3100
3116
|
},
|
|
3101
|
-
"description": "
|
|
3117
|
+
"description": "Throttles activation by this many milliseconds: after a click, every click inside the delay\nis swallowed (no `click` listeners, no form submit, no toggle). When undefined (default), no\nthrottle is applied.",
|
|
3102
3118
|
"attribute": "throttle-delay",
|
|
3103
3119
|
"inheritedFrom": {
|
|
3104
3120
|
"name": "mixinBaseButton",
|
|
@@ -3107,10 +3123,20 @@
|
|
|
3107
3123
|
},
|
|
3108
3124
|
{
|
|
3109
3125
|
"kind": "field",
|
|
3110
|
-
"name": "
|
|
3111
|
-
"
|
|
3112
|
-
|
|
3113
|
-
|
|
3126
|
+
"name": "__throttleAllows",
|
|
3127
|
+
"privacy": "private",
|
|
3128
|
+
"readonly": true,
|
|
3129
|
+
"description": "Whether `throttle-delay` lets a click through now; opens a new delay when it does.",
|
|
3130
|
+
"inheritedFrom": {
|
|
3131
|
+
"name": "mixinBaseButton",
|
|
3132
|
+
"module": "src/button/base-button/base-button.ts"
|
|
3133
|
+
}
|
|
3134
|
+
},
|
|
3135
|
+
{
|
|
3136
|
+
"kind": "field",
|
|
3137
|
+
"name": "__handleHostClick",
|
|
3138
|
+
"privacy": "private",
|
|
3139
|
+
"description": "Host click listener. Every activation reaches it once: a click on the inner control\nbubbling out, or a click fired at the host. It swallows a blocked click, and one inside the\n`throttle-delay` window, so later host listeners, ancestors' listeners and the form\nsubmitter (which checks `defaultPrevented`) never see it. A blocked click does not open a\nthrottle window.",
|
|
3114
3140
|
"inheritedFrom": {
|
|
3115
3141
|
"name": "mixinBaseButton",
|
|
3116
3142
|
"module": "src/button/base-button/base-button.ts"
|
|
@@ -3467,7 +3493,7 @@
|
|
|
3467
3493
|
"type": {
|
|
3468
3494
|
"text": "number | undefined"
|
|
3469
3495
|
},
|
|
3470
|
-
"description": "
|
|
3496
|
+
"description": "Throttles activation by this many milliseconds: after a click, every click inside the delay\nis swallowed (no `click` listeners, no form submit, no toggle). When undefined (default), no\nthrottle is applied.",
|
|
3471
3497
|
"fieldName": "throttleDelay",
|
|
3472
3498
|
"inheritedFrom": {
|
|
3473
3499
|
"name": "mixinBaseButton",
|
|
@@ -3922,6 +3948,15 @@
|
|
|
3922
3948
|
"kind": "method",
|
|
3923
3949
|
"name": "blur"
|
|
3924
3950
|
},
|
|
3951
|
+
{
|
|
3952
|
+
"kind": "method",
|
|
3953
|
+
"name": "__isClickBlocked",
|
|
3954
|
+
"description": "A soft-disabled, loading or skeleton button, or a disabled link, swallows clicks.",
|
|
3955
|
+
"inheritedFrom": {
|
|
3956
|
+
"name": "mixinBaseButton",
|
|
3957
|
+
"module": "src/button/base-button/base-button.ts"
|
|
3958
|
+
}
|
|
3959
|
+
},
|
|
3925
3960
|
{
|
|
3926
3961
|
"kind": "field",
|
|
3927
3962
|
"name": "__dispatchClick",
|
|
@@ -4076,7 +4111,7 @@
|
|
|
4076
4111
|
"type": {
|
|
4077
4112
|
"text": "number | undefined"
|
|
4078
4113
|
},
|
|
4079
|
-
"description": "
|
|
4114
|
+
"description": "Throttles activation by this many milliseconds: after a click, every click inside the delay\nis swallowed (no `click` listeners, no form submit, no toggle). When undefined (default), no\nthrottle is applied.",
|
|
4080
4115
|
"attribute": "throttle-delay",
|
|
4081
4116
|
"inheritedFrom": {
|
|
4082
4117
|
"name": "mixinBaseButton",
|
|
@@ -4085,10 +4120,20 @@
|
|
|
4085
4120
|
},
|
|
4086
4121
|
{
|
|
4087
4122
|
"kind": "field",
|
|
4088
|
-
"name": "
|
|
4089
|
-
"
|
|
4090
|
-
|
|
4091
|
-
|
|
4123
|
+
"name": "__throttleAllows",
|
|
4124
|
+
"privacy": "private",
|
|
4125
|
+
"readonly": true,
|
|
4126
|
+
"description": "Whether `throttle-delay` lets a click through now; opens a new delay when it does.",
|
|
4127
|
+
"inheritedFrom": {
|
|
4128
|
+
"name": "mixinBaseButton",
|
|
4129
|
+
"module": "src/button/base-button/base-button.ts"
|
|
4130
|
+
}
|
|
4131
|
+
},
|
|
4132
|
+
{
|
|
4133
|
+
"kind": "field",
|
|
4134
|
+
"name": "__handleHostClick",
|
|
4135
|
+
"privacy": "private",
|
|
4136
|
+
"description": "Host click listener. Every activation reaches it once: a click on the inner control\nbubbling out, or a click fired at the host. It swallows a blocked click, and one inside the\n`throttle-delay` window, so later host listeners, ancestors' listeners and the form\nsubmitter (which checks `defaultPrevented`) never see it. A blocked click does not open a\nthrottle window.",
|
|
4092
4137
|
"inheritedFrom": {
|
|
4093
4138
|
"name": "mixinBaseButton",
|
|
4094
4139
|
"module": "src/button/base-button/base-button.ts"
|
|
@@ -4491,7 +4536,7 @@
|
|
|
4491
4536
|
"type": {
|
|
4492
4537
|
"text": "number | undefined"
|
|
4493
4538
|
},
|
|
4494
|
-
"description": "
|
|
4539
|
+
"description": "Throttles activation by this many milliseconds: after a click, every click inside the delay\nis swallowed (no `click` listeners, no form submit, no toggle). When undefined (default), no\nthrottle is applied.",
|
|
4495
4540
|
"fieldName": "throttleDelay",
|
|
4496
4541
|
"inheritedFrom": {
|
|
4497
4542
|
"name": "mixinBaseButton",
|
|
@@ -4932,6 +4977,15 @@
|
|
|
4932
4977
|
"kind": "method",
|
|
4933
4978
|
"name": "blur"
|
|
4934
4979
|
},
|
|
4980
|
+
{
|
|
4981
|
+
"kind": "method",
|
|
4982
|
+
"name": "__isClickBlocked",
|
|
4983
|
+
"description": "A link has no native disabled state, so a disabled, soft-disabled or skeleton link swallows\nthe click and stops the navigation.",
|
|
4984
|
+
"inheritedFrom": {
|
|
4985
|
+
"name": "mixinBaseButton",
|
|
4986
|
+
"module": "src/button/base-button/base-button.ts"
|
|
4987
|
+
}
|
|
4988
|
+
},
|
|
4935
4989
|
{
|
|
4936
4990
|
"kind": "field",
|
|
4937
4991
|
"name": "__dispatchClick",
|
|
@@ -5066,7 +5120,7 @@
|
|
|
5066
5120
|
"type": {
|
|
5067
5121
|
"text": "number | undefined"
|
|
5068
5122
|
},
|
|
5069
|
-
"description": "
|
|
5123
|
+
"description": "Throttles activation by this many milliseconds: after a click, every click inside the delay\nis swallowed (no `click` listeners, no form submit, no toggle). When undefined (default), no\nthrottle is applied.",
|
|
5070
5124
|
"attribute": "throttle-delay",
|
|
5071
5125
|
"inheritedFrom": {
|
|
5072
5126
|
"name": "mixinBaseButton",
|
|
@@ -5075,10 +5129,20 @@
|
|
|
5075
5129
|
},
|
|
5076
5130
|
{
|
|
5077
5131
|
"kind": "field",
|
|
5078
|
-
"name": "
|
|
5079
|
-
"
|
|
5080
|
-
|
|
5081
|
-
|
|
5132
|
+
"name": "__throttleAllows",
|
|
5133
|
+
"privacy": "private",
|
|
5134
|
+
"readonly": true,
|
|
5135
|
+
"description": "Whether `throttle-delay` lets a click through now; opens a new delay when it does.",
|
|
5136
|
+
"inheritedFrom": {
|
|
5137
|
+
"name": "mixinBaseButton",
|
|
5138
|
+
"module": "src/button/base-button/base-button.ts"
|
|
5139
|
+
}
|
|
5140
|
+
},
|
|
5141
|
+
{
|
|
5142
|
+
"kind": "field",
|
|
5143
|
+
"name": "__handleHostClick",
|
|
5144
|
+
"privacy": "private",
|
|
5145
|
+
"description": "Host click listener. Every activation reaches it once: a click on the inner control\nbubbling out, or a click fired at the host. It swallows a blocked click, and one inside the\n`throttle-delay` window, so later host listeners, ancestors' listeners and the form\nsubmitter (which checks `defaultPrevented`) never see it. A blocked click does not open a\nthrottle window.",
|
|
5082
5146
|
"inheritedFrom": {
|
|
5083
5147
|
"name": "mixinBaseButton",
|
|
5084
5148
|
"module": "src/button/base-button/base-button.ts"
|
|
@@ -5343,7 +5407,7 @@
|
|
|
5343
5407
|
"type": {
|
|
5344
5408
|
"text": "number | undefined"
|
|
5345
5409
|
},
|
|
5346
|
-
"description": "
|
|
5410
|
+
"description": "Throttles activation by this many milliseconds: after a click, every click inside the delay\nis swallowed (no `click` listeners, no form submit, no toggle). When undefined (default), no\nthrottle is applied.",
|
|
5347
5411
|
"fieldName": "throttleDelay",
|
|
5348
5412
|
"inheritedFrom": {
|
|
5349
5413
|
"name": "mixinBaseButton",
|
|
@@ -6765,7 +6829,7 @@
|
|
|
6765
6829
|
{
|
|
6766
6830
|
"kind": "method",
|
|
6767
6831
|
"name": "sync",
|
|
6768
|
-
"description": "Re-applies the tab stops; call after the items change."
|
|
6832
|
+
"description": "Re-applies the tab stops; call after the items change, including when one becomes disabled\nor hidden. An item that can no longer take focus hands the tab stop to the focusable item\nafter it (else the one before it), unless `initialItem` picks another."
|
|
6769
6833
|
},
|
|
6770
6834
|
{
|
|
6771
6835
|
"kind": "method",
|
|
@@ -6796,7 +6860,33 @@
|
|
|
6796
6860
|
{
|
|
6797
6861
|
"kind": "method",
|
|
6798
6862
|
"name": "focusableItems",
|
|
6799
|
-
"privacy": "private"
|
|
6863
|
+
"privacy": "private",
|
|
6864
|
+
"parameters": [
|
|
6865
|
+
{
|
|
6866
|
+
"name": "all",
|
|
6867
|
+
"default": "this.options.items()"
|
|
6868
|
+
}
|
|
6869
|
+
]
|
|
6870
|
+
},
|
|
6871
|
+
{
|
|
6872
|
+
"kind": "method",
|
|
6873
|
+
"name": "nearestFocusable",
|
|
6874
|
+
"privacy": "private",
|
|
6875
|
+
"parameters": [
|
|
6876
|
+
{
|
|
6877
|
+
"name": "all",
|
|
6878
|
+
"type": {
|
|
6879
|
+
"text": "HTMLElement[]"
|
|
6880
|
+
}
|
|
6881
|
+
},
|
|
6882
|
+
{
|
|
6883
|
+
"name": "focusable",
|
|
6884
|
+
"type": {
|
|
6885
|
+
"text": "HTMLElement[]"
|
|
6886
|
+
}
|
|
6887
|
+
}
|
|
6888
|
+
],
|
|
6889
|
+
"description": "For an active item that is still in the set but can no longer take focus: the first focusable\nitem after it, else the nearest one before it."
|
|
6800
6890
|
},
|
|
6801
6891
|
{
|
|
6802
6892
|
"kind": "method",
|
|
@@ -7113,11 +7203,9 @@
|
|
|
7113
7203
|
"description": "Peacock's strings for the dismiss button label."
|
|
7114
7204
|
},
|
|
7115
7205
|
{
|
|
7116
|
-
"kind": "
|
|
7117
|
-
"name": "
|
|
7118
|
-
"
|
|
7119
|
-
"text": "(event: MouseEvent | KeyboardEvent) => void"
|
|
7120
|
-
},
|
|
7206
|
+
"kind": "method",
|
|
7207
|
+
"name": "__isClickBlocked",
|
|
7208
|
+
"description": "A soft-disabled or skeleton chip, or a disabled link, swallows clicks.",
|
|
7121
7209
|
"inheritedFrom": {
|
|
7122
7210
|
"name": "mixinBaseButton",
|
|
7123
7211
|
"module": "src/button/base-button/base-button.ts"
|
|
@@ -7258,6 +7346,27 @@
|
|
|
7258
7346
|
"module": "src/button/base-button/base-button.ts"
|
|
7259
7347
|
}
|
|
7260
7348
|
},
|
|
7349
|
+
{
|
|
7350
|
+
"kind": "field",
|
|
7351
|
+
"name": "__throttleAllows",
|
|
7352
|
+
"privacy": "private",
|
|
7353
|
+
"readonly": true,
|
|
7354
|
+
"description": "Whether `throttle-delay` lets a click through now; opens a new delay when it does.",
|
|
7355
|
+
"inheritedFrom": {
|
|
7356
|
+
"name": "mixinBaseButton",
|
|
7357
|
+
"module": "src/button/base-button/base-button.ts"
|
|
7358
|
+
}
|
|
7359
|
+
},
|
|
7360
|
+
{
|
|
7361
|
+
"kind": "field",
|
|
7362
|
+
"name": "__handleHostClick",
|
|
7363
|
+
"privacy": "private",
|
|
7364
|
+
"description": "Host click listener. Every activation reaches it once: a click on the inner control\nbubbling out, or a click fired at the host. It swallows a blocked click, and one inside the\n`throttle-delay` window, so later host listeners, ancestors' listeners and the form\nsubmitter (which checks `defaultPrevented`) never see it. A blocked click does not open a\nthrottle window.",
|
|
7365
|
+
"inheritedFrom": {
|
|
7366
|
+
"name": "mixinBaseButton",
|
|
7367
|
+
"module": "src/button/base-button/base-button.ts"
|
|
7368
|
+
}
|
|
7369
|
+
},
|
|
7261
7370
|
{
|
|
7262
7371
|
"kind": "field",
|
|
7263
7372
|
"name": "href",
|
|
@@ -8952,6 +9061,15 @@
|
|
|
8952
9061
|
"kind": "method",
|
|
8953
9062
|
"name": "blur"
|
|
8954
9063
|
},
|
|
9064
|
+
{
|
|
9065
|
+
"kind": "method",
|
|
9066
|
+
"name": "__isClickBlocked",
|
|
9067
|
+
"description": "A soft-disabled, loading or skeleton button, or a disabled link, swallows clicks.",
|
|
9068
|
+
"inheritedFrom": {
|
|
9069
|
+
"name": "mixinBaseButton",
|
|
9070
|
+
"module": "src/button/base-button/base-button.ts"
|
|
9071
|
+
}
|
|
9072
|
+
},
|
|
8955
9073
|
{
|
|
8956
9074
|
"kind": "field",
|
|
8957
9075
|
"name": "__dispatchClick",
|
|
@@ -9053,7 +9171,7 @@
|
|
|
9053
9171
|
"type": {
|
|
9054
9172
|
"text": "number | undefined"
|
|
9055
9173
|
},
|
|
9056
|
-
"description": "
|
|
9174
|
+
"description": "Throttles activation by this many milliseconds: after a click, every click inside the delay\nis swallowed (no `click` listeners, no form submit, no toggle). When undefined (default), no\nthrottle is applied.",
|
|
9057
9175
|
"attribute": "throttle-delay",
|
|
9058
9176
|
"inheritedFrom": {
|
|
9059
9177
|
"name": "mixinBaseButton",
|
|
@@ -9062,10 +9180,20 @@
|
|
|
9062
9180
|
},
|
|
9063
9181
|
{
|
|
9064
9182
|
"kind": "field",
|
|
9065
|
-
"name": "
|
|
9066
|
-
"
|
|
9067
|
-
|
|
9068
|
-
|
|
9183
|
+
"name": "__throttleAllows",
|
|
9184
|
+
"privacy": "private",
|
|
9185
|
+
"readonly": true,
|
|
9186
|
+
"description": "Whether `throttle-delay` lets a click through now; opens a new delay when it does.",
|
|
9187
|
+
"inheritedFrom": {
|
|
9188
|
+
"name": "mixinBaseButton",
|
|
9189
|
+
"module": "src/button/base-button/base-button.ts"
|
|
9190
|
+
}
|
|
9191
|
+
},
|
|
9192
|
+
{
|
|
9193
|
+
"kind": "field",
|
|
9194
|
+
"name": "__handleHostClick",
|
|
9195
|
+
"privacy": "private",
|
|
9196
|
+
"description": "Host click listener. Every activation reaches it once: a click on the inner control\nbubbling out, or a click fired at the host. It swallows a blocked click, and one inside the\n`throttle-delay` window, so later host listeners, ancestors' listeners and the form\nsubmitter (which checks `defaultPrevented`) never see it. A blocked click does not open a\nthrottle window.",
|
|
9069
9197
|
"inheritedFrom": {
|
|
9070
9198
|
"name": "mixinBaseButton",
|
|
9071
9199
|
"module": "src/button/base-button/base-button.ts"
|
|
@@ -9461,7 +9589,7 @@
|
|
|
9461
9589
|
"type": {
|
|
9462
9590
|
"text": "number | undefined"
|
|
9463
9591
|
},
|
|
9464
|
-
"description": "
|
|
9592
|
+
"description": "Throttles activation by this many milliseconds: after a click, every click inside the delay\nis swallowed (no `click` listeners, no form submit, no toggle). When undefined (default), no\nthrottle is applied.",
|
|
9465
9593
|
"fieldName": "throttleDelay",
|
|
9466
9594
|
"inheritedFrom": {
|
|
9467
9595
|
"name": "mixinBaseButton",
|
|
@@ -11054,13 +11182,22 @@
|
|
|
11054
11182
|
"kind": "method",
|
|
11055
11183
|
"name": "blur"
|
|
11056
11184
|
},
|
|
11185
|
+
{
|
|
11186
|
+
"kind": "method",
|
|
11187
|
+
"name": "__isClickBlocked",
|
|
11188
|
+
"description": "A soft-disabled item, or a disabled link, swallows clicks.",
|
|
11189
|
+
"inheritedFrom": {
|
|
11190
|
+
"name": "mixinBaseButton",
|
|
11191
|
+
"module": "src/button/base-button/base-button.ts"
|
|
11192
|
+
}
|
|
11193
|
+
},
|
|
11057
11194
|
{
|
|
11058
11195
|
"kind": "field",
|
|
11059
11196
|
"name": "__dispatchClick",
|
|
11060
11197
|
"type": {
|
|
11061
11198
|
"text": "(event: MouseEvent | KeyboardEvent) => void"
|
|
11062
11199
|
},
|
|
11063
|
-
"description": "
|
|
11200
|
+
"description": "Turns a click fired at the host (`item.click()`) into a click on the inner button or link, so\na link item navigates. Enter and Space in the menu click the inner button or link directly,\nlike a pointer, so a listener on the item can cancel a link with `preventDefault()`. Blocked\nclicks (soft-disabled items, disabled links) are swallowed before this, by the host listener.",
|
|
11064
11201
|
"inheritedFrom": {
|
|
11065
11202
|
"name": "mixinBaseButton",
|
|
11066
11203
|
"module": "src/button/base-button/base-button.ts"
|
|
@@ -11212,7 +11349,7 @@
|
|
|
11212
11349
|
"type": {
|
|
11213
11350
|
"text": "number | undefined"
|
|
11214
11351
|
},
|
|
11215
|
-
"description": "
|
|
11352
|
+
"description": "Throttles activation by this many milliseconds: after a click, every click inside the delay\nis swallowed (no `click` listeners, no form submit, no toggle). When undefined (default), no\nthrottle is applied.",
|
|
11216
11353
|
"attribute": "throttle-delay",
|
|
11217
11354
|
"inheritedFrom": {
|
|
11218
11355
|
"name": "mixinBaseButton",
|
|
@@ -11221,10 +11358,20 @@
|
|
|
11221
11358
|
},
|
|
11222
11359
|
{
|
|
11223
11360
|
"kind": "field",
|
|
11224
|
-
"name": "
|
|
11225
|
-
"
|
|
11226
|
-
|
|
11227
|
-
|
|
11361
|
+
"name": "__throttleAllows",
|
|
11362
|
+
"privacy": "private",
|
|
11363
|
+
"readonly": true,
|
|
11364
|
+
"description": "Whether `throttle-delay` lets a click through now; opens a new delay when it does.",
|
|
11365
|
+
"inheritedFrom": {
|
|
11366
|
+
"name": "mixinBaseButton",
|
|
11367
|
+
"module": "src/button/base-button/base-button.ts"
|
|
11368
|
+
}
|
|
11369
|
+
},
|
|
11370
|
+
{
|
|
11371
|
+
"kind": "field",
|
|
11372
|
+
"name": "__handleHostClick",
|
|
11373
|
+
"privacy": "private",
|
|
11374
|
+
"description": "Host click listener. Every activation reaches it once: a click on the inner control\nbubbling out, or a click fired at the host. It swallows a blocked click, and one inside the\n`throttle-delay` window, so later host listeners, ancestors' listeners and the form\nsubmitter (which checks `defaultPrevented`) never see it. A blocked click does not open a\nthrottle window.",
|
|
11228
11375
|
"inheritedFrom": {
|
|
11229
11376
|
"name": "mixinBaseButton",
|
|
11230
11377
|
"module": "src/button/base-button/base-button.ts"
|
|
@@ -11443,7 +11590,7 @@
|
|
|
11443
11590
|
"type": {
|
|
11444
11591
|
"text": "number | undefined"
|
|
11445
11592
|
},
|
|
11446
|
-
"description": "
|
|
11593
|
+
"description": "Throttles activation by this many milliseconds: after a click, every click inside the delay\nis swallowed (no `click` listeners, no form submit, no toggle). When undefined (default), no\nthrottle is applied.",
|
|
11447
11594
|
"fieldName": "throttleDelay",
|
|
11448
11595
|
"inheritedFrom": {
|
|
11449
11596
|
"name": "mixinBaseButton",
|
|
@@ -12483,6 +12630,20 @@
|
|
|
12483
12630
|
}
|
|
12484
12631
|
}
|
|
12485
12632
|
]
|
|
12633
|
+
},
|
|
12634
|
+
{
|
|
12635
|
+
"kind": "method",
|
|
12636
|
+
"name": "_onMenuClick",
|
|
12637
|
+
"privacy": "private",
|
|
12638
|
+
"parameters": [
|
|
12639
|
+
{
|
|
12640
|
+
"name": "event",
|
|
12641
|
+
"type": {
|
|
12642
|
+
"text": "MouseEvent"
|
|
12643
|
+
}
|
|
12644
|
+
}
|
|
12645
|
+
],
|
|
12646
|
+
"description": "The split button's `click` means the primary action, so a menu item's click stops here: the\nitem's own listeners and the menu have seen it, and the host still gets `menu-item-activate`."
|
|
12486
12647
|
}
|
|
12487
12648
|
],
|
|
12488
12649
|
"events": [
|
|
@@ -12490,7 +12651,7 @@
|
|
|
12490
12651
|
"type": {
|
|
12491
12652
|
"text": "MouseEvent"
|
|
12492
12653
|
},
|
|
12493
|
-
"description": "Dispatched when the primary action button is clicked.",
|
|
12654
|
+
"description": "Dispatched when the primary action button is clicked, and only then: a menu item's click does not bubble past the split button. Listen on the item, or for the `menu-item-activate` event (`detail.item`) that the menu fires through the split button.",
|
|
12494
12655
|
"name": "click"
|
|
12495
12656
|
},
|
|
12496
12657
|
{
|
|
@@ -12755,6 +12916,47 @@
|
|
|
12755
12916
|
"kind": "method",
|
|
12756
12917
|
"name": "close",
|
|
12757
12918
|
"description": "Closes the menu."
|
|
12919
|
+
},
|
|
12920
|
+
{
|
|
12921
|
+
"kind": "field",
|
|
12922
|
+
"name": "[privateIgnoreAttributeChangesFor]",
|
|
12923
|
+
"default": "new Set()",
|
|
12924
|
+
"inheritedFrom": {
|
|
12925
|
+
"name": "mixinDelegatesAria",
|
|
12926
|
+
"module": "src/__internal/aria/delegate.ts"
|
|
12927
|
+
}
|
|
12928
|
+
},
|
|
12929
|
+
{
|
|
12930
|
+
"kind": "method",
|
|
12931
|
+
"name": "getAttribute",
|
|
12932
|
+
"parameters": [
|
|
12933
|
+
{
|
|
12934
|
+
"name": "name",
|
|
12935
|
+
"type": {
|
|
12936
|
+
"text": "string"
|
|
12937
|
+
}
|
|
12938
|
+
}
|
|
12939
|
+
],
|
|
12940
|
+
"inheritedFrom": {
|
|
12941
|
+
"name": "mixinDelegatesAria",
|
|
12942
|
+
"module": "src/__internal/aria/delegate.ts"
|
|
12943
|
+
}
|
|
12944
|
+
},
|
|
12945
|
+
{
|
|
12946
|
+
"kind": "method",
|
|
12947
|
+
"name": "removeAttribute",
|
|
12948
|
+
"parameters": [
|
|
12949
|
+
{
|
|
12950
|
+
"name": "name",
|
|
12951
|
+
"type": {
|
|
12952
|
+
"text": "string"
|
|
12953
|
+
}
|
|
12954
|
+
}
|
|
12955
|
+
],
|
|
12956
|
+
"inheritedFrom": {
|
|
12957
|
+
"name": "mixinDelegatesAria",
|
|
12958
|
+
"module": "src/__internal/aria/delegate.ts"
|
|
12959
|
+
}
|
|
12758
12960
|
}
|
|
12759
12961
|
],
|
|
12760
12962
|
"events": [
|
|
@@ -12841,6 +13043,12 @@
|
|
|
12841
13043
|
}
|
|
12842
13044
|
}
|
|
12843
13045
|
],
|
|
13046
|
+
"mixins": [
|
|
13047
|
+
{
|
|
13048
|
+
"name": "mixinDelegatesAria",
|
|
13049
|
+
"package": "@/__internal/aria/delegate.js"
|
|
13050
|
+
}
|
|
13051
|
+
],
|
|
12844
13052
|
"superclass": {
|
|
12845
13053
|
"name": "LitElement",
|
|
12846
13054
|
"package": "lit"
|
|
@@ -15169,6 +15377,98 @@
|
|
|
15169
15377
|
}
|
|
15170
15378
|
]
|
|
15171
15379
|
},
|
|
15380
|
+
{
|
|
15381
|
+
"kind": "javascript-module",
|
|
15382
|
+
"path": "src/__internal/utils/form-submission.ts",
|
|
15383
|
+
"declarations": [
|
|
15384
|
+
{
|
|
15385
|
+
"kind": "function",
|
|
15386
|
+
"name": "isSubmitButton",
|
|
15387
|
+
"return": {
|
|
15388
|
+
"type": {
|
|
15389
|
+
"text": "boolean"
|
|
15390
|
+
}
|
|
15391
|
+
},
|
|
15392
|
+
"parameters": [
|
|
15393
|
+
{
|
|
15394
|
+
"name": "el",
|
|
15395
|
+
"type": {
|
|
15396
|
+
"text": "Element"
|
|
15397
|
+
}
|
|
15398
|
+
}
|
|
15399
|
+
],
|
|
15400
|
+
"description": "Whether `el` is a submit button of a form: native, or a Peacock button with `type=\"submit\"`."
|
|
15401
|
+
}
|
|
15402
|
+
],
|
|
15403
|
+
"exports": [
|
|
15404
|
+
{
|
|
15405
|
+
"kind": "js",
|
|
15406
|
+
"name": "isSubmitButton",
|
|
15407
|
+
"declaration": {
|
|
15408
|
+
"name": "isSubmitButton",
|
|
15409
|
+
"module": "src/__internal/utils/form-submission.ts"
|
|
15410
|
+
}
|
|
15411
|
+
}
|
|
15412
|
+
]
|
|
15413
|
+
},
|
|
15414
|
+
{
|
|
15415
|
+
"kind": "javascript-module",
|
|
15416
|
+
"path": "src/__internal/implicit-submission.ts",
|
|
15417
|
+
"declarations": [
|
|
15418
|
+
{
|
|
15419
|
+
"kind": "function",
|
|
15420
|
+
"name": "registerTextField",
|
|
15421
|
+
"parameters": [
|
|
15422
|
+
{
|
|
15423
|
+
"name": "host",
|
|
15424
|
+
"type": {
|
|
15425
|
+
"text": "Element"
|
|
15426
|
+
}
|
|
15427
|
+
}
|
|
15428
|
+
],
|
|
15429
|
+
"description": "Counts a form-associated Peacock field as a single-line text field of its form, like a native\ntext input. A form without a submit button is submitted on Enter only while it has one such\nfield, so a field that leaves this out lets Enter in another field submit the form.\n\n`setupImplicitSubmission()` registers its field itself."
|
|
15430
|
+
},
|
|
15431
|
+
{
|
|
15432
|
+
"kind": "function",
|
|
15433
|
+
"name": "setupImplicitSubmission",
|
|
15434
|
+
"parameters": [
|
|
15435
|
+
{
|
|
15436
|
+
"name": "host",
|
|
15437
|
+
"type": {
|
|
15438
|
+
"text": "HTMLElement & { readonly form: HTMLFormElement | null }"
|
|
15439
|
+
},
|
|
15440
|
+
"description": "The field. Its `form` is the form it submits."
|
|
15441
|
+
},
|
|
15442
|
+
{
|
|
15443
|
+
"name": "input",
|
|
15444
|
+
"type": {
|
|
15445
|
+
"text": "() => HTMLInputElement | null | undefined"
|
|
15446
|
+
},
|
|
15447
|
+
"description": "The native text input inside the field."
|
|
15448
|
+
}
|
|
15449
|
+
],
|
|
15450
|
+
"description": "Gives a form-associated text field the implicit submission of a native text input: Enter in the\nfield submits its form (see `submitImplicitly()`). Without it nothing happens, because the\nnative input lives in the shadow root and has no form owner of its own.\n\nIt acts after the keydown has reached every listener, so `preventDefault()` on the keydown\ncancels it. Only Enter typed in the text input counts, not Enter on a button inside the field;\nEnter while an input method is composing, or with Ctrl, Alt or Meta, is ignored.\n\nCall it in the constructor, before other keydown listeners are added."
|
|
15451
|
+
}
|
|
15452
|
+
],
|
|
15453
|
+
"exports": [
|
|
15454
|
+
{
|
|
15455
|
+
"kind": "js",
|
|
15456
|
+
"name": "registerTextField",
|
|
15457
|
+
"declaration": {
|
|
15458
|
+
"name": "registerTextField",
|
|
15459
|
+
"module": "src/__internal/implicit-submission.ts"
|
|
15460
|
+
}
|
|
15461
|
+
},
|
|
15462
|
+
{
|
|
15463
|
+
"kind": "js",
|
|
15464
|
+
"name": "setupImplicitSubmission",
|
|
15465
|
+
"declaration": {
|
|
15466
|
+
"name": "setupImplicitSubmission",
|
|
15467
|
+
"module": "src/__internal/implicit-submission.ts"
|
|
15468
|
+
}
|
|
15469
|
+
}
|
|
15470
|
+
]
|
|
15471
|
+
},
|
|
15172
15472
|
{
|
|
15173
15473
|
"kind": "javascript-module",
|
|
15174
15474
|
"path": "src/input/BaseField.ts",
|
|
@@ -15347,6 +15647,16 @@
|
|
|
15347
15647
|
"description": "Whether the Suggested badge always shows just the sparkle, whatever the width. A textarea\nsets it: a label beside it would narrow every line of the text.",
|
|
15348
15648
|
"readonly": true
|
|
15349
15649
|
},
|
|
15650
|
+
{
|
|
15651
|
+
"kind": "field",
|
|
15652
|
+
"name": "singleLineTextField",
|
|
15653
|
+
"type": {
|
|
15654
|
+
"text": "boolean"
|
|
15655
|
+
},
|
|
15656
|
+
"privacy": "protected",
|
|
15657
|
+
"description": "Whether the field is a single-line text field, which counts like a native text input when\nEnter decides whether to submit a form that has no submit button. Multi-line fields and\nselects turn it off. Read in the constructor, so an override must not use instance fields.",
|
|
15658
|
+
"readonly": true
|
|
15659
|
+
},
|
|
15350
15660
|
{
|
|
15351
15661
|
"kind": "method",
|
|
15352
15662
|
"name": "fieldErrorText",
|
|
@@ -16763,6 +17073,20 @@
|
|
|
16763
17073
|
"module": "src/input/BaseField.ts"
|
|
16764
17074
|
}
|
|
16765
17075
|
},
|
|
17076
|
+
{
|
|
17077
|
+
"kind": "field",
|
|
17078
|
+
"name": "singleLineTextField",
|
|
17079
|
+
"type": {
|
|
17080
|
+
"text": "boolean"
|
|
17081
|
+
},
|
|
17082
|
+
"privacy": "protected",
|
|
17083
|
+
"description": "Whether the field is a single-line text field, which counts like a native text input when\nEnter decides whether to submit a form that has no submit button. Multi-line fields and\nselects turn it off. Read in the constructor, so an override must not use instance fields.",
|
|
17084
|
+
"readonly": true,
|
|
17085
|
+
"inheritedFrom": {
|
|
17086
|
+
"name": "BaseField",
|
|
17087
|
+
"module": "src/input/BaseField.ts"
|
|
17088
|
+
}
|
|
17089
|
+
},
|
|
16766
17090
|
{
|
|
16767
17091
|
"kind": "method",
|
|
16768
17092
|
"name": "fieldErrorText",
|
|
@@ -18328,6 +18652,20 @@
|
|
|
18328
18652
|
"module": "src/input/BaseField.ts"
|
|
18329
18653
|
}
|
|
18330
18654
|
},
|
|
18655
|
+
{
|
|
18656
|
+
"kind": "field",
|
|
18657
|
+
"name": "singleLineTextField",
|
|
18658
|
+
"type": {
|
|
18659
|
+
"text": "boolean"
|
|
18660
|
+
},
|
|
18661
|
+
"privacy": "protected",
|
|
18662
|
+
"description": "Whether the field is a single-line text field, which counts like a native text input when\nEnter decides whether to submit a form that has no submit button. Multi-line fields and\nselects turn it off. Read in the constructor, so an override must not use instance fields.",
|
|
18663
|
+
"readonly": true,
|
|
18664
|
+
"inheritedFrom": {
|
|
18665
|
+
"name": "BaseField",
|
|
18666
|
+
"module": "src/input/BaseField.ts"
|
|
18667
|
+
}
|
|
18668
|
+
},
|
|
18331
18669
|
{
|
|
18332
18670
|
"kind": "method",
|
|
18333
18671
|
"name": "fieldErrorText",
|
|
@@ -19897,6 +20235,20 @@
|
|
|
19897
20235
|
"module": "src/input/BaseField.ts"
|
|
19898
20236
|
}
|
|
19899
20237
|
},
|
|
20238
|
+
{
|
|
20239
|
+
"kind": "field",
|
|
20240
|
+
"name": "singleLineTextField",
|
|
20241
|
+
"type": {
|
|
20242
|
+
"text": "boolean"
|
|
20243
|
+
},
|
|
20244
|
+
"privacy": "protected",
|
|
20245
|
+
"description": "Whether the field is a single-line text field, which counts like a native text input when\nEnter decides whether to submit a form that has no submit button. Multi-line fields and\nselects turn it off. Read in the constructor, so an override must not use instance fields.",
|
|
20246
|
+
"readonly": true,
|
|
20247
|
+
"inheritedFrom": {
|
|
20248
|
+
"name": "BaseField",
|
|
20249
|
+
"module": "src/input/BaseField.ts"
|
|
20250
|
+
}
|
|
20251
|
+
},
|
|
19900
20252
|
{
|
|
19901
20253
|
"kind": "method",
|
|
19902
20254
|
"name": "fieldErrorText",
|
|
@@ -21961,6 +22313,20 @@
|
|
|
21961
22313
|
"module": "src/input/BaseField.ts"
|
|
21962
22314
|
}
|
|
21963
22315
|
},
|
|
22316
|
+
{
|
|
22317
|
+
"kind": "field",
|
|
22318
|
+
"name": "singleLineTextField",
|
|
22319
|
+
"type": {
|
|
22320
|
+
"text": "boolean"
|
|
22321
|
+
},
|
|
22322
|
+
"privacy": "protected",
|
|
22323
|
+
"description": "Whether the field is a single-line text field, which counts like a native text input when\nEnter decides whether to submit a form that has no submit button. Multi-line fields and\nselects turn it off. Read in the constructor, so an override must not use instance fields.",
|
|
22324
|
+
"readonly": true,
|
|
22325
|
+
"inheritedFrom": {
|
|
22326
|
+
"name": "BaseField",
|
|
22327
|
+
"module": "src/input/BaseField.ts"
|
|
22328
|
+
}
|
|
22329
|
+
},
|
|
21964
22330
|
{
|
|
21965
22331
|
"kind": "method",
|
|
21966
22332
|
"name": "fieldErrorText",
|
|
@@ -27732,6 +28098,20 @@
|
|
|
27732
28098
|
"module": "src/input/BaseField.ts"
|
|
27733
28099
|
}
|
|
27734
28100
|
},
|
|
28101
|
+
{
|
|
28102
|
+
"kind": "field",
|
|
28103
|
+
"name": "singleLineTextField",
|
|
28104
|
+
"type": {
|
|
28105
|
+
"text": "boolean"
|
|
28106
|
+
},
|
|
28107
|
+
"privacy": "protected",
|
|
28108
|
+
"description": "Whether the field is a single-line text field, which counts like a native text input when\nEnter decides whether to submit a form that has no submit button. Multi-line fields and\nselects turn it off. Read in the constructor, so an override must not use instance fields.",
|
|
28109
|
+
"readonly": true,
|
|
28110
|
+
"inheritedFrom": {
|
|
28111
|
+
"name": "BaseField",
|
|
28112
|
+
"module": "src/input/BaseField.ts"
|
|
28113
|
+
}
|
|
28114
|
+
},
|
|
27735
28115
|
{
|
|
27736
28116
|
"kind": "method",
|
|
27737
28117
|
"name": "fieldErrorText",
|
|
@@ -29869,6 +30249,20 @@
|
|
|
29869
30249
|
"module": "src/input/BaseField.ts"
|
|
29870
30250
|
}
|
|
29871
30251
|
},
|
|
30252
|
+
{
|
|
30253
|
+
"kind": "field",
|
|
30254
|
+
"name": "singleLineTextField",
|
|
30255
|
+
"type": {
|
|
30256
|
+
"text": "boolean"
|
|
30257
|
+
},
|
|
30258
|
+
"privacy": "protected",
|
|
30259
|
+
"description": "Whether the field is a single-line text field, which counts like a native text input when\nEnter decides whether to submit a form that has no submit button. Multi-line fields and\nselects turn it off. Read in the constructor, so an override must not use instance fields.",
|
|
30260
|
+
"readonly": true,
|
|
30261
|
+
"inheritedFrom": {
|
|
30262
|
+
"name": "BaseField",
|
|
30263
|
+
"module": "src/input/BaseField.ts"
|
|
30264
|
+
}
|
|
30265
|
+
},
|
|
29872
30266
|
{
|
|
29873
30267
|
"kind": "method",
|
|
29874
30268
|
"name": "fieldErrorText",
|
|
@@ -31980,6 +32374,20 @@
|
|
|
31980
32374
|
"module": "src/input/BaseField.ts"
|
|
31981
32375
|
}
|
|
31982
32376
|
},
|
|
32377
|
+
{
|
|
32378
|
+
"kind": "field",
|
|
32379
|
+
"name": "singleLineTextField",
|
|
32380
|
+
"type": {
|
|
32381
|
+
"text": "boolean"
|
|
32382
|
+
},
|
|
32383
|
+
"privacy": "protected",
|
|
32384
|
+
"description": "Whether the field is a single-line text field, which counts like a native text input when\nEnter decides whether to submit a form that has no submit button. Multi-line fields and\nselects turn it off. Read in the constructor, so an override must not use instance fields.",
|
|
32385
|
+
"readonly": true,
|
|
32386
|
+
"inheritedFrom": {
|
|
32387
|
+
"name": "BaseField",
|
|
32388
|
+
"module": "src/input/BaseField.ts"
|
|
32389
|
+
}
|
|
32390
|
+
},
|
|
31983
32391
|
{
|
|
31984
32392
|
"kind": "method",
|
|
31985
32393
|
"name": "fieldErrorText",
|
|
@@ -34075,6 +34483,20 @@
|
|
|
34075
34483
|
"module": "src/input/BaseField.ts"
|
|
34076
34484
|
}
|
|
34077
34485
|
},
|
|
34486
|
+
{
|
|
34487
|
+
"kind": "field",
|
|
34488
|
+
"name": "singleLineTextField",
|
|
34489
|
+
"type": {
|
|
34490
|
+
"text": "boolean"
|
|
34491
|
+
},
|
|
34492
|
+
"privacy": "protected",
|
|
34493
|
+
"description": "Whether the field is a single-line text field, which counts like a native text input when\nEnter decides whether to submit a form that has no submit button. Multi-line fields and\nselects turn it off. Read in the constructor, so an override must not use instance fields.",
|
|
34494
|
+
"readonly": true,
|
|
34495
|
+
"inheritedFrom": {
|
|
34496
|
+
"name": "BaseField",
|
|
34497
|
+
"module": "src/input/BaseField.ts"
|
|
34498
|
+
}
|
|
34499
|
+
},
|
|
34078
34500
|
{
|
|
34079
34501
|
"kind": "method",
|
|
34080
34502
|
"name": "fieldErrorText",
|
|
@@ -36227,6 +36649,20 @@
|
|
|
36227
36649
|
"module": "src/input/BaseField.ts"
|
|
36228
36650
|
}
|
|
36229
36651
|
},
|
|
36652
|
+
{
|
|
36653
|
+
"kind": "field",
|
|
36654
|
+
"name": "singleLineTextField",
|
|
36655
|
+
"type": {
|
|
36656
|
+
"text": "boolean"
|
|
36657
|
+
},
|
|
36658
|
+
"privacy": "protected",
|
|
36659
|
+
"description": "Whether the field is a single-line text field, which counts like a native text input when\nEnter decides whether to submit a form that has no submit button. Multi-line fields and\nselects turn it off. Read in the constructor, so an override must not use instance fields.",
|
|
36660
|
+
"readonly": true,
|
|
36661
|
+
"inheritedFrom": {
|
|
36662
|
+
"name": "BaseField",
|
|
36663
|
+
"module": "src/input/BaseField.ts"
|
|
36664
|
+
}
|
|
36665
|
+
},
|
|
36230
36666
|
{
|
|
36231
36667
|
"kind": "method",
|
|
36232
36668
|
"name": "fieldErrorText",
|
|
@@ -37731,6 +38167,20 @@
|
|
|
37731
38167
|
"module": "src/input/BaseField.ts"
|
|
37732
38168
|
}
|
|
37733
38169
|
},
|
|
38170
|
+
{
|
|
38171
|
+
"kind": "field",
|
|
38172
|
+
"name": "singleLineTextField",
|
|
38173
|
+
"type": {
|
|
38174
|
+
"text": "boolean"
|
|
38175
|
+
},
|
|
38176
|
+
"privacy": "protected",
|
|
38177
|
+
"description": "Multi-line: like a native textarea, it does not count for implicit submission.",
|
|
38178
|
+
"readonly": true,
|
|
38179
|
+
"inheritedFrom": {
|
|
38180
|
+
"name": "BaseField",
|
|
38181
|
+
"module": "src/input/BaseField.ts"
|
|
38182
|
+
}
|
|
38183
|
+
},
|
|
37734
38184
|
{
|
|
37735
38185
|
"kind": "method",
|
|
37736
38186
|
"name": "focus"
|
|
@@ -43881,6 +44331,15 @@
|
|
|
43881
44331
|
"kind": "method",
|
|
43882
44332
|
"name": "blur"
|
|
43883
44333
|
},
|
|
44334
|
+
{
|
|
44335
|
+
"kind": "method",
|
|
44336
|
+
"name": "__isClickBlocked",
|
|
44337
|
+
"description": "A soft-disabled or skeleton item, or a disabled link, swallows clicks.",
|
|
44338
|
+
"inheritedFrom": {
|
|
44339
|
+
"name": "mixinBaseButton",
|
|
44340
|
+
"module": "src/button/base-button/base-button.ts"
|
|
44341
|
+
}
|
|
44342
|
+
},
|
|
43884
44343
|
{
|
|
43885
44344
|
"kind": "field",
|
|
43886
44345
|
"name": "__dispatchClick",
|
|
@@ -44001,7 +44460,7 @@
|
|
|
44001
44460
|
"type": {
|
|
44002
44461
|
"text": "number | undefined"
|
|
44003
44462
|
},
|
|
44004
|
-
"description": "
|
|
44463
|
+
"description": "Throttles activation by this many milliseconds: after a click, every click inside the delay\nis swallowed (no `click` listeners, no form submit, no toggle). When undefined (default), no\nthrottle is applied.",
|
|
44005
44464
|
"attribute": "throttle-delay",
|
|
44006
44465
|
"inheritedFrom": {
|
|
44007
44466
|
"name": "mixinBaseButton",
|
|
@@ -44010,10 +44469,20 @@
|
|
|
44010
44469
|
},
|
|
44011
44470
|
{
|
|
44012
44471
|
"kind": "field",
|
|
44013
|
-
"name": "
|
|
44014
|
-
"
|
|
44015
|
-
|
|
44016
|
-
|
|
44472
|
+
"name": "__throttleAllows",
|
|
44473
|
+
"privacy": "private",
|
|
44474
|
+
"readonly": true,
|
|
44475
|
+
"description": "Whether `throttle-delay` lets a click through now; opens a new delay when it does.",
|
|
44476
|
+
"inheritedFrom": {
|
|
44477
|
+
"name": "mixinBaseButton",
|
|
44478
|
+
"module": "src/button/base-button/base-button.ts"
|
|
44479
|
+
}
|
|
44480
|
+
},
|
|
44481
|
+
{
|
|
44482
|
+
"kind": "field",
|
|
44483
|
+
"name": "__handleHostClick",
|
|
44484
|
+
"privacy": "private",
|
|
44485
|
+
"description": "Host click listener. Every activation reaches it once: a click on the inner control\nbubbling out, or a click fired at the host. It swallows a blocked click, and one inside the\n`throttle-delay` window, so later host listeners, ancestors' listeners and the form\nsubmitter (which checks `defaultPrevented`) never see it. A blocked click does not open a\nthrottle window.",
|
|
44017
44486
|
"inheritedFrom": {
|
|
44018
44487
|
"name": "mixinBaseButton",
|
|
44019
44488
|
"module": "src/button/base-button/base-button.ts"
|
|
@@ -44245,7 +44714,7 @@
|
|
|
44245
44714
|
"type": {
|
|
44246
44715
|
"text": "number | undefined"
|
|
44247
44716
|
},
|
|
44248
|
-
"description": "
|
|
44717
|
+
"description": "Throttles activation by this many milliseconds: after a click, every click inside the delay\nis swallowed (no `click` listeners, no form submit, no toggle). When undefined (default), no\nthrottle is applied.",
|
|
44249
44718
|
"fieldName": "throttleDelay",
|
|
44250
44719
|
"inheritedFrom": {
|
|
44251
44720
|
"name": "mixinBaseButton",
|
|
@@ -46013,15 +46482,15 @@
|
|
|
46013
46482
|
"name": "--code-editor-height"
|
|
46014
46483
|
},
|
|
46015
46484
|
{
|
|
46016
|
-
"description": "Frame background. Defaults to `--color-surface-container-
|
|
46485
|
+
"description": "Frame background. Defaults to `--field-container-color`, then `--color-surface-container-lowest`, like the other input fields.",
|
|
46017
46486
|
"name": "--code-editor-background"
|
|
46018
46487
|
},
|
|
46019
46488
|
{
|
|
46020
|
-
"description": "Frame border color. Defaults to `--color-outline
|
|
46489
|
+
"description": "Frame border color. Defaults to `--field-outline-color`, then `--color-outline`, like the other input fields.",
|
|
46021
46490
|
"name": "--code-editor-border-color"
|
|
46022
46491
|
},
|
|
46023
46492
|
{
|
|
46024
|
-
"description": "Frame corner radius. Defaults to `--shape-corner-
|
|
46493
|
+
"description": "Frame corner radius. Defaults to the `--field-container-shape-*` corners, then `--shape-corner-extra-small`, like the other input fields.",
|
|
46025
46494
|
"name": "--code-editor-shape"
|
|
46026
46495
|
},
|
|
46027
46496
|
{
|
|
@@ -60154,7 +60623,7 @@
|
|
|
60154
60623
|
"type": {
|
|
60155
60624
|
"text": "number | undefined"
|
|
60156
60625
|
},
|
|
60157
|
-
"description": "
|
|
60626
|
+
"description": "Throttles activation by this many milliseconds: after a click, every click inside the delay\nis swallowed, so neither `click` listeners nor `wc-tabs` see it. When unset (default), no\nthrottle is applied.",
|
|
60158
60627
|
"attribute": "throttle-delay"
|
|
60159
60628
|
},
|
|
60160
60629
|
{
|
|
@@ -60221,10 +60690,16 @@
|
|
|
60221
60690
|
},
|
|
60222
60691
|
{
|
|
60223
60692
|
"kind": "field",
|
|
60224
|
-
"name": "
|
|
60225
|
-
"
|
|
60226
|
-
|
|
60227
|
-
|
|
60693
|
+
"name": "__throttleAllows",
|
|
60694
|
+
"privacy": "private",
|
|
60695
|
+
"readonly": true,
|
|
60696
|
+
"description": "Whether `throttle-delay` lets a click through now; opens a new delay when it does."
|
|
60697
|
+
},
|
|
60698
|
+
{
|
|
60699
|
+
"kind": "field",
|
|
60700
|
+
"name": "__handleHostClick",
|
|
60701
|
+
"privacy": "private",
|
|
60702
|
+
"description": "Host click listener. Every activation reaches it once: a click on the inner control\nbubbling out, or a click fired at the host. A disabled link must not navigate, and a click\ninside the `throttle-delay` window must not act; both are swallowed so no other listener\n(including `wc-tabs`) sees them. A disabled link's click does not open a throttle window."
|
|
60228
60703
|
},
|
|
60229
60704
|
{
|
|
60230
60705
|
"kind": "field",
|
|
@@ -60346,7 +60821,7 @@
|
|
|
60346
60821
|
"type": {
|
|
60347
60822
|
"text": "number | undefined"
|
|
60348
60823
|
},
|
|
60349
|
-
"description": "
|
|
60824
|
+
"description": "Throttles activation by this many milliseconds: after a click, every click inside the delay\nis swallowed, so neither `click` listeners nor `wc-tabs` see it. When unset (default), no\nthrottle is applied.",
|
|
60350
60825
|
"fieldName": "throttleDelay"
|
|
60351
60826
|
}
|
|
60352
60827
|
],
|
|
@@ -62893,6 +63368,20 @@
|
|
|
62893
63368
|
"module": "src/input/BaseField.ts"
|
|
62894
63369
|
}
|
|
62895
63370
|
},
|
|
63371
|
+
{
|
|
63372
|
+
"kind": "field",
|
|
63373
|
+
"name": "singleLineTextField",
|
|
63374
|
+
"type": {
|
|
63375
|
+
"text": "boolean"
|
|
63376
|
+
},
|
|
63377
|
+
"privacy": "protected",
|
|
63378
|
+
"description": "Whether the field is a single-line text field, which counts like a native text input when\nEnter decides whether to submit a form that has no submit button. Multi-line fields and\nselects turn it off. Read in the constructor, so an override must not use instance fields.",
|
|
63379
|
+
"readonly": true,
|
|
63380
|
+
"inheritedFrom": {
|
|
63381
|
+
"name": "BaseField",
|
|
63382
|
+
"module": "src/input/BaseField.ts"
|
|
63383
|
+
}
|
|
63384
|
+
},
|
|
62896
63385
|
{
|
|
62897
63386
|
"kind": "method",
|
|
62898
63387
|
"name": "fieldErrorText",
|
|
@@ -64973,6 +65462,17 @@
|
|
|
64973
65462
|
},
|
|
64974
65463
|
"description": "The hole as a fraction of the radius: none for a pie. `wc-chart-doughnut` overrides it."
|
|
64975
65464
|
},
|
|
65465
|
+
{
|
|
65466
|
+
"kind": "method",
|
|
65467
|
+
"name": "outerRadius",
|
|
65468
|
+
"privacy": "protected",
|
|
65469
|
+
"return": {
|
|
65470
|
+
"type": {
|
|
65471
|
+
"text": "number"
|
|
65472
|
+
}
|
|
65473
|
+
},
|
|
65474
|
+
"description": "The outer radius for the current size. It depends only on reactive properties, so a render\n(the doughnut's centre) can read it before the chart is drawn at that size."
|
|
65475
|
+
},
|
|
64976
65476
|
{
|
|
64977
65477
|
"kind": "method",
|
|
64978
65478
|
"name": "draw",
|
|
@@ -66209,6 +66709,21 @@
|
|
|
66209
66709
|
"module": "src/chart-pie/chart-pie.ts"
|
|
66210
66710
|
}
|
|
66211
66711
|
},
|
|
66712
|
+
{
|
|
66713
|
+
"kind": "method",
|
|
66714
|
+
"name": "outerRadius",
|
|
66715
|
+
"privacy": "protected",
|
|
66716
|
+
"return": {
|
|
66717
|
+
"type": {
|
|
66718
|
+
"text": "number"
|
|
66719
|
+
}
|
|
66720
|
+
},
|
|
66721
|
+
"description": "The outer radius for the current size. It depends only on reactive properties, so a render\n(the doughnut's centre) can read it before the chart is drawn at that size.",
|
|
66722
|
+
"inheritedFrom": {
|
|
66723
|
+
"name": "ChartPie",
|
|
66724
|
+
"module": "src/chart-pie/chart-pie.ts"
|
|
66725
|
+
}
|
|
66726
|
+
},
|
|
66212
66727
|
{
|
|
66213
66728
|
"kind": "method",
|
|
66214
66729
|
"name": "draw",
|
|
@@ -78276,6 +78791,44 @@
|
|
|
78276
78791
|
}
|
|
78277
78792
|
]
|
|
78278
78793
|
},
|
|
78794
|
+
{
|
|
78795
|
+
"kind": "javascript-module",
|
|
78796
|
+
"path": "src/__internal/utils/throttle.ts",
|
|
78797
|
+
"declarations": [
|
|
78798
|
+
{
|
|
78799
|
+
"kind": "function",
|
|
78800
|
+
"name": "throttle",
|
|
78801
|
+
"parameters": [
|
|
78802
|
+
{
|
|
78803
|
+
"name": "func",
|
|
78804
|
+
"type": {
|
|
78805
|
+
"text": "Function"
|
|
78806
|
+
}
|
|
78807
|
+
},
|
|
78808
|
+
{
|
|
78809
|
+
"name": "delay",
|
|
78810
|
+
"type": {
|
|
78811
|
+
"text": "number"
|
|
78812
|
+
}
|
|
78813
|
+
},
|
|
78814
|
+
{
|
|
78815
|
+
"name": "options",
|
|
78816
|
+
"default": "{ leading: true, trailing: true }"
|
|
78817
|
+
}
|
|
78818
|
+
]
|
|
78819
|
+
}
|
|
78820
|
+
],
|
|
78821
|
+
"exports": [
|
|
78822
|
+
{
|
|
78823
|
+
"kind": "js",
|
|
78824
|
+
"name": "throttle",
|
|
78825
|
+
"declaration": {
|
|
78826
|
+
"name": "throttle",
|
|
78827
|
+
"module": "src/__internal/utils/throttle.ts"
|
|
78828
|
+
}
|
|
78829
|
+
}
|
|
78830
|
+
]
|
|
78831
|
+
},
|
|
78279
78832
|
{
|
|
78280
78833
|
"kind": "javascript-module",
|
|
78281
78834
|
"path": "src/card/card.ts",
|
|
@@ -78320,7 +78873,7 @@
|
|
|
78320
78873
|
"text": "boolean"
|
|
78321
78874
|
},
|
|
78322
78875
|
"default": "false",
|
|
78323
|
-
"description": "Dims the card
|
|
78876
|
+
"description": "Dims the card. A static card's content becomes inert. An actionable or link card stops\nresponding to clicks and leaves the tab order, unless `disabled-reason` is set.",
|
|
78324
78877
|
"attribute": "disabled",
|
|
78325
78878
|
"reflects": true
|
|
78326
78879
|
},
|
|
@@ -78331,7 +78884,7 @@
|
|
|
78331
78884
|
"text": "boolean"
|
|
78332
78885
|
},
|
|
78333
78886
|
"default": "false",
|
|
78334
|
-
"description": "Makes the whole card a single button that fires `click`. Its content
|
|
78887
|
+
"description": "Makes the whole card a single button that fires `click`. Its content names the button, and\nanything focusable or clickable inside it stops responding, so don't put buttons or links\ninside an actionable card.",
|
|
78335
78888
|
"attribute": "actionable",
|
|
78336
78889
|
"reflects": true
|
|
78337
78890
|
},
|
|
@@ -78425,12 +78978,13 @@
|
|
|
78425
78978
|
"name": "renderCardContent",
|
|
78426
78979
|
"parameters": [
|
|
78427
78980
|
{
|
|
78428
|
-
"name": "
|
|
78981
|
+
"name": "interactive",
|
|
78429
78982
|
"type": {
|
|
78430
78983
|
"text": "boolean"
|
|
78431
78984
|
}
|
|
78432
78985
|
}
|
|
78433
|
-
]
|
|
78986
|
+
],
|
|
78987
|
+
"description": "Renders the slotted content. Inside the button or link of an actionable or link card the\ncontent stays in the accessibility tree, because it gives the control its name: `inert` would\nremove it and leave screen readers announcing just \"button\" or \"link\". Instead, a slot with a\nnegative tabindex takes everything assigned to it out of sequential focus navigation, and\n`.card-content` ignores the pointer (see card.scss). A disabled static card has no control to\nname, so its content is simply inert."
|
|
78434
78988
|
},
|
|
78435
78989
|
{
|
|
78436
78990
|
"kind": "field",
|
|
@@ -78506,7 +79060,7 @@
|
|
|
78506
79060
|
"text": "boolean"
|
|
78507
79061
|
},
|
|
78508
79062
|
"default": "false",
|
|
78509
|
-
"description": "Dims the card
|
|
79063
|
+
"description": "Dims the card. A static card's content becomes inert. An actionable or link card stops\nresponding to clicks and leaves the tab order, unless `disabled-reason` is set.",
|
|
78510
79064
|
"fieldName": "disabled"
|
|
78511
79065
|
},
|
|
78512
79066
|
{
|
|
@@ -78515,7 +79069,7 @@
|
|
|
78515
79069
|
"text": "boolean"
|
|
78516
79070
|
},
|
|
78517
79071
|
"default": "false",
|
|
78518
|
-
"description": "Makes the whole card a single button that fires `click`. Its content
|
|
79072
|
+
"description": "Makes the whole card a single button that fires `click`. Its content names the button, and\nanything focusable or clickable inside it stops responding, so don't put buttons or links\ninside an actionable card.",
|
|
78519
79073
|
"fieldName": "actionable"
|
|
78520
79074
|
},
|
|
78521
79075
|
{
|
|
@@ -82791,7 +83345,7 @@
|
|
|
82791
83345
|
"type": {
|
|
82792
83346
|
"text": "number | undefined"
|
|
82793
83347
|
},
|
|
82794
|
-
"description": "
|
|
83348
|
+
"description": "Throttles activation by this many milliseconds: after a click, every click inside the delay\nis swallowed (no `click` listeners, no form submit, no toggle). When undefined (default), no\nthrottle is applied.",
|
|
82795
83349
|
"attribute": "throttle-delay",
|
|
82796
83350
|
"inheritedFrom": {
|
|
82797
83351
|
"name": "MenuItem",
|
|
@@ -82800,10 +83354,10 @@
|
|
|
82800
83354
|
},
|
|
82801
83355
|
{
|
|
82802
83356
|
"kind": "field",
|
|
82803
|
-
"name": "
|
|
82804
|
-
"
|
|
82805
|
-
|
|
82806
|
-
|
|
83357
|
+
"name": "__throttleAllows",
|
|
83358
|
+
"privacy": "private",
|
|
83359
|
+
"readonly": true,
|
|
83360
|
+
"description": "Whether `throttle-delay` lets a click through now; opens a new delay when it does.",
|
|
82807
83361
|
"inheritedFrom": {
|
|
82808
83362
|
"name": "MenuItem",
|
|
82809
83363
|
"module": "src/menu/menu-item/menu-item.ts"
|
|
@@ -82815,7 +83369,26 @@
|
|
|
82815
83369
|
"type": {
|
|
82816
83370
|
"text": "(event: MouseEvent | KeyboardEvent) => void"
|
|
82817
83371
|
},
|
|
82818
|
-
"description": "
|
|
83372
|
+
"description": "Turns a click fired at the host (`item.click()`) into a click on the inner button or link, so\na link item navigates. Enter and Space in the menu click the inner button or link directly,\nlike a pointer, so a listener on the item can cancel a link with `preventDefault()`. Blocked\nclicks (soft-disabled items, disabled links) are swallowed before this, by the host listener.",
|
|
83373
|
+
"inheritedFrom": {
|
|
83374
|
+
"name": "MenuItem",
|
|
83375
|
+
"module": "src/menu/menu-item/menu-item.ts"
|
|
83376
|
+
}
|
|
83377
|
+
},
|
|
83378
|
+
{
|
|
83379
|
+
"kind": "method",
|
|
83380
|
+
"name": "__isClickBlocked",
|
|
83381
|
+
"description": "Whether a click must be swallowed: it stops other listeners and the default action. A\ncomponent returns `true` while it is soft-disabled, loading and so on.",
|
|
83382
|
+
"inheritedFrom": {
|
|
83383
|
+
"name": "MenuItem",
|
|
83384
|
+
"module": "src/menu/menu-item/menu-item.ts"
|
|
83385
|
+
}
|
|
83386
|
+
},
|
|
83387
|
+
{
|
|
83388
|
+
"kind": "field",
|
|
83389
|
+
"name": "__handleHostClick",
|
|
83390
|
+
"privacy": "private",
|
|
83391
|
+
"description": "Host click listener. Every activation reaches it once: a click on the inner control\nbubbling out, or a click fired at the host. It swallows a blocked click, and one inside the\n`throttle-delay` window, so later host listeners, ancestors' listeners and the form\nsubmitter (which checks `defaultPrevented`) never see it. A blocked click does not open a\nthrottle window.",
|
|
82819
83392
|
"inheritedFrom": {
|
|
82820
83393
|
"name": "MenuItem",
|
|
82821
83394
|
"module": "src/menu/menu-item/menu-item.ts"
|
|
@@ -83231,7 +83804,7 @@
|
|
|
83231
83804
|
"type": {
|
|
83232
83805
|
"text": "number | undefined"
|
|
83233
83806
|
},
|
|
83234
|
-
"description": "
|
|
83807
|
+
"description": "Throttles activation by this many milliseconds: after a click, every click inside the delay\nis swallowed (no `click` listeners, no form submit, no toggle). When undefined (default), no\nthrottle is applied.",
|
|
83235
83808
|
"fieldName": "throttleDelay",
|
|
83236
83809
|
"inheritedFrom": {
|
|
83237
83810
|
"name": "MenuItem",
|
|
@@ -83742,6 +84315,20 @@
|
|
|
83742
84315
|
"module": "src/input/BaseInput.ts"
|
|
83743
84316
|
}
|
|
83744
84317
|
},
|
|
84318
|
+
{
|
|
84319
|
+
"kind": "field",
|
|
84320
|
+
"name": "singleLineTextField",
|
|
84321
|
+
"type": {
|
|
84322
|
+
"text": "boolean"
|
|
84323
|
+
},
|
|
84324
|
+
"privacy": "protected",
|
|
84325
|
+
"description": "Like a native select, it does not count for implicit submission.",
|
|
84326
|
+
"readonly": true,
|
|
84327
|
+
"inheritedFrom": {
|
|
84328
|
+
"name": "BaseField",
|
|
84329
|
+
"module": "src/input/BaseField.ts"
|
|
84330
|
+
}
|
|
84331
|
+
},
|
|
83745
84332
|
{
|
|
83746
84333
|
"kind": "method",
|
|
83747
84334
|
"name": "valueMissingText",
|
|
@@ -87834,6 +88421,14 @@
|
|
|
87834
88421
|
"default": "new RovingFocusController(this, { items: () => this.__getItems(), orientation: () => this.orientation, })",
|
|
87835
88422
|
"description": "The toolbar's single tab stop, moved with the arrow keys along its orientation."
|
|
87836
88423
|
},
|
|
88424
|
+
{
|
|
88425
|
+
"kind": "field",
|
|
88426
|
+
"name": "__actionStateObserver",
|
|
88427
|
+
"privacy": "private",
|
|
88428
|
+
"readonly": true,
|
|
88429
|
+
"default": "new MutationObserver(() => { this.roving.sync(); })",
|
|
88430
|
+
"description": "Re-applies the tab stop when an action becomes disabled, aria-disabled or hidden, so it moves\nto the next enabled action instead of leaving the toolbar out of the Tab order."
|
|
88431
|
+
},
|
|
87837
88432
|
{
|
|
87838
88433
|
"kind": "method",
|
|
87839
88434
|
"name": "__getItems",
|
|
@@ -87843,7 +88438,7 @@
|
|
|
87843
88438
|
"text": "HTMLElement[]"
|
|
87844
88439
|
}
|
|
87845
88440
|
},
|
|
87846
|
-
"description": "
|
|
88441
|
+
"description": "The actions, in slot order. Disabled and hidden ones are included: the roving controller skips\nthem, takes the tab stop off them and hands it to the next enabled action."
|
|
87847
88442
|
},
|
|
87848
88443
|
{
|
|
87849
88444
|
"kind": "field",
|
|
@@ -95712,6 +96307,20 @@
|
|
|
95712
96307
|
"module": "src/input/BaseField.ts"
|
|
95713
96308
|
}
|
|
95714
96309
|
},
|
|
96310
|
+
{
|
|
96311
|
+
"kind": "field",
|
|
96312
|
+
"name": "singleLineTextField",
|
|
96313
|
+
"type": {
|
|
96314
|
+
"text": "boolean"
|
|
96315
|
+
},
|
|
96316
|
+
"privacy": "protected",
|
|
96317
|
+
"description": "Whether the field is a single-line text field, which counts like a native text input when\nEnter decides whether to submit a form that has no submit button. Multi-line fields and\nselects turn it off. Read in the constructor, so an override must not use instance fields.",
|
|
96318
|
+
"readonly": true,
|
|
96319
|
+
"inheritedFrom": {
|
|
96320
|
+
"name": "BaseField",
|
|
96321
|
+
"module": "src/input/BaseField.ts"
|
|
96322
|
+
}
|
|
96323
|
+
},
|
|
95715
96324
|
{
|
|
95716
96325
|
"kind": "method",
|
|
95717
96326
|
"name": "fieldErrorText",
|
|
@@ -103289,6 +103898,20 @@
|
|
|
103289
103898
|
"module": "src/input/BaseField.ts"
|
|
103290
103899
|
}
|
|
103291
103900
|
},
|
|
103901
|
+
{
|
|
103902
|
+
"kind": "field",
|
|
103903
|
+
"name": "singleLineTextField",
|
|
103904
|
+
"type": {
|
|
103905
|
+
"text": "boolean"
|
|
103906
|
+
},
|
|
103907
|
+
"privacy": "protected",
|
|
103908
|
+
"description": "Whether the field is a single-line text field, which counts like a native text input when\nEnter decides whether to submit a form that has no submit button. Multi-line fields and\nselects turn it off. Read in the constructor, so an override must not use instance fields.",
|
|
103909
|
+
"readonly": true,
|
|
103910
|
+
"inheritedFrom": {
|
|
103911
|
+
"name": "BaseField",
|
|
103912
|
+
"module": "src/input/BaseField.ts"
|
|
103913
|
+
}
|
|
103914
|
+
},
|
|
103292
103915
|
{
|
|
103293
103916
|
"kind": "method",
|
|
103294
103917
|
"name": "fieldErrorText",
|
|
@@ -105297,6 +105920,20 @@
|
|
|
105297
105920
|
"module": "src/input/BaseField.ts"
|
|
105298
105921
|
}
|
|
105299
105922
|
},
|
|
105923
|
+
{
|
|
105924
|
+
"kind": "field",
|
|
105925
|
+
"name": "singleLineTextField",
|
|
105926
|
+
"type": {
|
|
105927
|
+
"text": "boolean"
|
|
105928
|
+
},
|
|
105929
|
+
"privacy": "protected",
|
|
105930
|
+
"description": "Whether the field is a single-line text field, which counts like a native text input when\nEnter decides whether to submit a form that has no submit button. Multi-line fields and\nselects turn it off. Read in the constructor, so an override must not use instance fields.",
|
|
105931
|
+
"readonly": true,
|
|
105932
|
+
"inheritedFrom": {
|
|
105933
|
+
"name": "BaseField",
|
|
105934
|
+
"module": "src/input/BaseField.ts"
|
|
105935
|
+
}
|
|
105936
|
+
},
|
|
105300
105937
|
{
|
|
105301
105938
|
"kind": "method",
|
|
105302
105939
|
"name": "fieldErrorText",
|
|
@@ -111741,7 +112378,7 @@
|
|
|
111741
112378
|
"name": "AvatarGroup",
|
|
111742
112379
|
"cssProperties": [
|
|
111743
112380
|
{
|
|
111744
|
-
"description": "How far each avatar slides under the previous one. Defaults to a quarter of the avatar size
|
|
112381
|
+
"description": "How far each avatar slides under the previous one. Defaults to a quarter of the avatar size, a tenth at `size=\"sm\"`.",
|
|
111745
112382
|
"name": "--avatar-group-overlap"
|
|
111746
112383
|
},
|
|
111747
112384
|
{
|
|
@@ -123660,6 +124297,20 @@
|
|
|
123660
124297
|
"kind": "method",
|
|
123661
124298
|
"name": "blur"
|
|
123662
124299
|
},
|
|
124300
|
+
{
|
|
124301
|
+
"kind": "field",
|
|
124302
|
+
"name": "singleLineTextField",
|
|
124303
|
+
"type": {
|
|
124304
|
+
"text": "boolean"
|
|
124305
|
+
},
|
|
124306
|
+
"privacy": "protected",
|
|
124307
|
+
"description": "Multi-line: like a native textarea, it does not count for implicit submission.",
|
|
124308
|
+
"readonly": true,
|
|
124309
|
+
"inheritedFrom": {
|
|
124310
|
+
"name": "BaseField",
|
|
124311
|
+
"module": "src/input/BaseField.ts"
|
|
124312
|
+
}
|
|
124313
|
+
},
|
|
123663
124314
|
{
|
|
123664
124315
|
"kind": "method",
|
|
123665
124316
|
"name": "computeValidity",
|
|
@@ -137137,6 +137788,20 @@
|
|
|
137137
137788
|
}
|
|
137138
137789
|
]
|
|
137139
137790
|
},
|
|
137791
|
+
{
|
|
137792
|
+
"kind": "method",
|
|
137793
|
+
"name": "_onMonthDateClick",
|
|
137794
|
+
"privacy": "private",
|
|
137795
|
+
"parameters": [
|
|
137796
|
+
{
|
|
137797
|
+
"name": "evt",
|
|
137798
|
+
"type": {
|
|
137799
|
+
"text": "CustomEvent<{ date: Date }>"
|
|
137800
|
+
}
|
|
137801
|
+
}
|
|
137802
|
+
],
|
|
137803
|
+
"description": "A day chosen in the month view becomes the selected day; the view stays on the month."
|
|
137804
|
+
},
|
|
137140
137805
|
{
|
|
137141
137806
|
"kind": "method",
|
|
137142
137807
|
"name": "_onViewEventClick",
|