@momentum-design/components 0.129.44 → 0.129.45
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/browser/index.js +200 -200
- package/dist/browser/index.js.map +4 -4
- package/dist/components/dialog/dialog.component.d.ts +1 -1
- package/dist/components/dialog/dialog.component.js +1 -1
- package/dist/components/popover/popover.component.d.ts +1 -1
- package/dist/components/popover/popover.component.js +1 -1
- package/dist/custom-elements.json +15 -4125
- package/dist/utils/dom.d.ts +83 -0
- package/dist/utils/dom.js +164 -0
- package/dist/utils/mixins/{FocusTrapMixin.d.ts → focus/FocusTrapMixin.d.ts} +2 -2
- package/dist/utils/mixins/focus/FocusTrapMixin.js +190 -0
- package/dist/utils/mixins/focus/FocusTrapStack.d.ts +32 -0
- package/dist/utils/mixins/focus/FocusTrapStack.js +69 -0
- package/package.json +1 -1
- package/dist/utils/mixins/FocusTrapMixin.js +0 -418
|
@@ -161,8 +161,8 @@
|
|
|
161
161
|
"attribute": "disabled",
|
|
162
162
|
"reflects": true,
|
|
163
163
|
"inheritedFrom": {
|
|
164
|
-
"name": "
|
|
165
|
-
"module": "
|
|
164
|
+
"name": "DisabledMixin",
|
|
165
|
+
"module": "utils/mixins/DisabledMixin.js"
|
|
166
166
|
}
|
|
167
167
|
},
|
|
168
168
|
{
|
|
@@ -219,8 +219,8 @@
|
|
|
219
219
|
}
|
|
220
220
|
],
|
|
221
221
|
"inheritedFrom": {
|
|
222
|
-
"name": "
|
|
223
|
-
"module": "
|
|
222
|
+
"name": "KeyToActionMixin",
|
|
223
|
+
"module": "utils/mixins/KeyToActionMixin.js"
|
|
224
224
|
}
|
|
225
225
|
},
|
|
226
226
|
{
|
|
@@ -448,8 +448,8 @@
|
|
|
448
448
|
"default": "undefined",
|
|
449
449
|
"fieldName": "disabled",
|
|
450
450
|
"inheritedFrom": {
|
|
451
|
-
"name": "
|
|
452
|
-
"module": "src/
|
|
451
|
+
"name": "DisabledMixin",
|
|
452
|
+
"module": "src/utils/mixins/DisabledMixin.ts"
|
|
453
453
|
}
|
|
454
454
|
},
|
|
455
455
|
{
|
|
@@ -2164,16 +2164,6 @@
|
|
|
2164
2164
|
}
|
|
2165
2165
|
],
|
|
2166
2166
|
"members": [
|
|
2167
|
-
{
|
|
2168
|
-
"kind": "method",
|
|
2169
|
-
"name": "activateFocusTrap",
|
|
2170
|
-
"privacy": "public",
|
|
2171
|
-
"description": "Activate the focus trap",
|
|
2172
|
-
"inheritedFrom": {
|
|
2173
|
-
"name": "FocusTrapMixin",
|
|
2174
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
2175
|
-
}
|
|
2176
|
-
},
|
|
2177
2167
|
{
|
|
2178
2168
|
"kind": "method",
|
|
2179
2169
|
"name": "activatePreventScroll",
|
|
@@ -2243,37 +2233,6 @@
|
|
|
2243
2233
|
"module": "components/dialog/dialog.component.js"
|
|
2244
2234
|
}
|
|
2245
2235
|
},
|
|
2246
|
-
{
|
|
2247
|
-
"kind": "method",
|
|
2248
|
-
"name": "calculateNextIndex",
|
|
2249
|
-
"privacy": "private",
|
|
2250
|
-
"parameters": [
|
|
2251
|
-
{
|
|
2252
|
-
"name": "currentIndex",
|
|
2253
|
-
"type": {
|
|
2254
|
-
"text": "number"
|
|
2255
|
-
},
|
|
2256
|
-
"description": "The current index."
|
|
2257
|
-
},
|
|
2258
|
-
{
|
|
2259
|
-
"name": "step",
|
|
2260
|
-
"type": {
|
|
2261
|
-
"text": "number"
|
|
2262
|
-
},
|
|
2263
|
-
"description": "The step to calculate the next index."
|
|
2264
|
-
}
|
|
2265
|
-
],
|
|
2266
|
-
"description": "Calculates the next index for the focus trap.",
|
|
2267
|
-
"return": {
|
|
2268
|
-
"type": {
|
|
2269
|
-
"text": ""
|
|
2270
|
-
}
|
|
2271
|
-
},
|
|
2272
|
-
"inheritedFrom": {
|
|
2273
|
-
"name": "FocusTrapMixin",
|
|
2274
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
2275
|
-
}
|
|
2276
|
-
},
|
|
2277
2236
|
{
|
|
2278
2237
|
"kind": "field",
|
|
2279
2238
|
"name": "closeButtonAriaLabel",
|
|
@@ -2298,16 +2257,6 @@
|
|
|
2298
2257
|
"module": "components/dialog/dialog.component.js"
|
|
2299
2258
|
}
|
|
2300
2259
|
},
|
|
2301
|
-
{
|
|
2302
|
-
"kind": "method",
|
|
2303
|
-
"name": "deactivateFocusTrap",
|
|
2304
|
-
"privacy": "public",
|
|
2305
|
-
"description": "Deactivate the focus trap.",
|
|
2306
|
-
"inheritedFrom": {
|
|
2307
|
-
"name": "FocusTrapMixin",
|
|
2308
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
2309
|
-
}
|
|
2310
|
-
},
|
|
2311
2260
|
{
|
|
2312
2261
|
"kind": "method",
|
|
2313
2262
|
"name": "deactivatePreventScroll",
|
|
@@ -2360,208 +2309,21 @@
|
|
|
2360
2309
|
"module": "components/dialog/dialog.component.js"
|
|
2361
2310
|
}
|
|
2362
2311
|
},
|
|
2363
|
-
{
|
|
2364
|
-
"kind": "method",
|
|
2365
|
-
"name": "findElement",
|
|
2366
|
-
"privacy": "private",
|
|
2367
|
-
"parameters": [
|
|
2368
|
-
{
|
|
2369
|
-
"name": "activeElement",
|
|
2370
|
-
"type": {
|
|
2371
|
-
"text": "HTMLElement"
|
|
2372
|
-
},
|
|
2373
|
-
"description": "The active element."
|
|
2374
|
-
}
|
|
2375
|
-
],
|
|
2376
|
-
"description": "Finds the index of the active element within the focusable elements.",
|
|
2377
|
-
"return": {
|
|
2378
|
-
"type": {
|
|
2379
|
-
"text": ""
|
|
2380
|
-
}
|
|
2381
|
-
},
|
|
2382
|
-
"inheritedFrom": {
|
|
2383
|
-
"name": "FocusTrapMixin",
|
|
2384
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
2385
|
-
}
|
|
2386
|
-
},
|
|
2387
|
-
{
|
|
2388
|
-
"kind": "method",
|
|
2389
|
-
"name": "findFocusable",
|
|
2390
|
-
"privacy": "private",
|
|
2391
|
-
"return": {
|
|
2392
|
-
"type": {
|
|
2393
|
-
"text": ""
|
|
2394
|
-
}
|
|
2395
|
-
},
|
|
2396
|
-
"parameters": [
|
|
2397
|
-
{
|
|
2398
|
-
"name": "root",
|
|
2399
|
-
"type": {
|
|
2400
|
-
"text": "ShadowRoot | HTMLElement"
|
|
2401
|
-
},
|
|
2402
|
-
"description": "The root element to search for focusable elements."
|
|
2403
|
-
},
|
|
2404
|
-
{
|
|
2405
|
-
"name": "matches",
|
|
2406
|
-
"default": "new Set()",
|
|
2407
|
-
"type": {
|
|
2408
|
-
"text": "Set<HTMLElement>"
|
|
2409
|
-
},
|
|
2410
|
-
"description": "The set of focusable elements."
|
|
2411
|
-
}
|
|
2412
|
-
],
|
|
2413
|
-
"description": "Recursively finds all focusable elements within the given root and its descendants.\n\nMake sure this is performant, as it will be called multiple times.",
|
|
2414
|
-
"inheritedFrom": {
|
|
2415
|
-
"name": "FocusTrapMixin",
|
|
2416
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
2417
|
-
}
|
|
2418
|
-
},
|
|
2419
2312
|
{
|
|
2420
2313
|
"kind": "field",
|
|
2421
2314
|
"name": "focusTrap",
|
|
2422
2315
|
"type": {
|
|
2423
2316
|
"text": "boolean"
|
|
2424
2317
|
},
|
|
2425
|
-
"description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component.\n\
|
|
2318
|
+
"description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component.\n\nNOTE: this should only be disabled in rare cases! By default a Modal Dialog\nshould trap focus always.",
|
|
2426
2319
|
"default": "true",
|
|
2427
2320
|
"attribute": "focus-trap",
|
|
2428
2321
|
"reflects": true,
|
|
2429
|
-
"privacy": "protected",
|
|
2430
2322
|
"inheritedFrom": {
|
|
2431
2323
|
"name": "Dialog",
|
|
2432
2324
|
"module": "components/dialog/dialog.component.js"
|
|
2433
2325
|
}
|
|
2434
2326
|
},
|
|
2435
|
-
{
|
|
2436
|
-
"kind": "method",
|
|
2437
|
-
"name": "getDeepActiveElement",
|
|
2438
|
-
"privacy": "private",
|
|
2439
|
-
"description": "Returns the deepest active element in the shadow DOM.",
|
|
2440
|
-
"return": {
|
|
2441
|
-
"type": {
|
|
2442
|
-
"text": ""
|
|
2443
|
-
}
|
|
2444
|
-
},
|
|
2445
|
-
"inheritedFrom": {
|
|
2446
|
-
"name": "FocusTrapMixin",
|
|
2447
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
2448
|
-
}
|
|
2449
|
-
},
|
|
2450
|
-
{
|
|
2451
|
-
"kind": "method",
|
|
2452
|
-
"name": "handleTabKeydown",
|
|
2453
|
-
"privacy": "private",
|
|
2454
|
-
"parameters": [
|
|
2455
|
-
{
|
|
2456
|
-
"name": "event",
|
|
2457
|
-
"type": {
|
|
2458
|
-
"text": "KeyboardEvent"
|
|
2459
|
-
},
|
|
2460
|
-
"description": "The keyboard event."
|
|
2461
|
-
}
|
|
2462
|
-
],
|
|
2463
|
-
"description": "Traps focus within the container.",
|
|
2464
|
-
"inheritedFrom": {
|
|
2465
|
-
"name": "FocusTrapMixin",
|
|
2466
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
2467
|
-
}
|
|
2468
|
-
},
|
|
2469
|
-
{
|
|
2470
|
-
"kind": "method",
|
|
2471
|
-
"name": "hasComputedHidden",
|
|
2472
|
-
"privacy": "private",
|
|
2473
|
-
"parameters": [
|
|
2474
|
-
{
|
|
2475
|
-
"name": "element",
|
|
2476
|
-
"type": {
|
|
2477
|
-
"text": "HTMLElement"
|
|
2478
|
-
},
|
|
2479
|
-
"description": "The element to check."
|
|
2480
|
-
}
|
|
2481
|
-
],
|
|
2482
|
-
"description": "Checks if the element is hidden by a computed style.",
|
|
2483
|
-
"return": {
|
|
2484
|
-
"type": {
|
|
2485
|
-
"text": ""
|
|
2486
|
-
}
|
|
2487
|
-
},
|
|
2488
|
-
"inheritedFrom": {
|
|
2489
|
-
"name": "FocusTrapMixin",
|
|
2490
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
2491
|
-
}
|
|
2492
|
-
},
|
|
2493
|
-
{
|
|
2494
|
-
"kind": "method",
|
|
2495
|
-
"name": "hasHiddenStyle",
|
|
2496
|
-
"privacy": "private",
|
|
2497
|
-
"parameters": [
|
|
2498
|
-
{
|
|
2499
|
-
"name": "element",
|
|
2500
|
-
"type": {
|
|
2501
|
-
"text": "HTMLElement"
|
|
2502
|
-
},
|
|
2503
|
-
"description": "The element to check."
|
|
2504
|
-
}
|
|
2505
|
-
],
|
|
2506
|
-
"description": "Checks if the element has inline styles that make it hidden.",
|
|
2507
|
-
"return": {
|
|
2508
|
-
"type": {
|
|
2509
|
-
"text": ""
|
|
2510
|
-
}
|
|
2511
|
-
},
|
|
2512
|
-
"inheritedFrom": {
|
|
2513
|
-
"name": "FocusTrapMixin",
|
|
2514
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
2515
|
-
}
|
|
2516
|
-
},
|
|
2517
|
-
{
|
|
2518
|
-
"kind": "method",
|
|
2519
|
-
"name": "hasNoClientRects",
|
|
2520
|
-
"privacy": "private",
|
|
2521
|
-
"parameters": [
|
|
2522
|
-
{
|
|
2523
|
-
"name": "element",
|
|
2524
|
-
"type": {
|
|
2525
|
-
"text": "HTMLElement"
|
|
2526
|
-
},
|
|
2527
|
-
"description": "The element to check."
|
|
2528
|
-
}
|
|
2529
|
-
],
|
|
2530
|
-
"description": "Checks if the element has no client rectangles (not visible in the viewport).",
|
|
2531
|
-
"return": {
|
|
2532
|
-
"type": {
|
|
2533
|
-
"text": ""
|
|
2534
|
-
}
|
|
2535
|
-
},
|
|
2536
|
-
"inheritedFrom": {
|
|
2537
|
-
"name": "FocusTrapMixin",
|
|
2538
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
2539
|
-
}
|
|
2540
|
-
},
|
|
2541
|
-
{
|
|
2542
|
-
"kind": "method",
|
|
2543
|
-
"name": "hasZeroDimensions",
|
|
2544
|
-
"privacy": "private",
|
|
2545
|
-
"parameters": [
|
|
2546
|
-
{
|
|
2547
|
-
"name": "element",
|
|
2548
|
-
"type": {
|
|
2549
|
-
"text": "HTMLElement"
|
|
2550
|
-
},
|
|
2551
|
-
"description": "The element to check."
|
|
2552
|
-
}
|
|
2553
|
-
],
|
|
2554
|
-
"description": "Checks if the element has zero dimensions (width and height are both 0).",
|
|
2555
|
-
"return": {
|
|
2556
|
-
"type": {
|
|
2557
|
-
"text": ""
|
|
2558
|
-
}
|
|
2559
|
-
},
|
|
2560
|
-
"inheritedFrom": {
|
|
2561
|
-
"name": "FocusTrapMixin",
|
|
2562
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
2563
|
-
}
|
|
2564
|
-
},
|
|
2565
2327
|
{
|
|
2566
2328
|
"kind": "field",
|
|
2567
2329
|
"name": "headerTagName",
|
|
@@ -2634,181 +2396,6 @@
|
|
|
2634
2396
|
"kind": "field",
|
|
2635
2397
|
"name": "internalSize"
|
|
2636
2398
|
},
|
|
2637
|
-
{
|
|
2638
|
-
"kind": "method",
|
|
2639
|
-
"name": "isDisabled",
|
|
2640
|
-
"privacy": "private",
|
|
2641
|
-
"parameters": [
|
|
2642
|
-
{
|
|
2643
|
-
"name": "element",
|
|
2644
|
-
"type": {
|
|
2645
|
-
"text": "any"
|
|
2646
|
-
},
|
|
2647
|
-
"description": "The element to check."
|
|
2648
|
-
}
|
|
2649
|
-
],
|
|
2650
|
-
"description": "Checks if the element is disabled.",
|
|
2651
|
-
"return": {
|
|
2652
|
-
"type": {
|
|
2653
|
-
"text": ""
|
|
2654
|
-
}
|
|
2655
|
-
},
|
|
2656
|
-
"inheritedFrom": {
|
|
2657
|
-
"name": "FocusTrapMixin",
|
|
2658
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
2659
|
-
}
|
|
2660
|
-
},
|
|
2661
|
-
{
|
|
2662
|
-
"kind": "method",
|
|
2663
|
-
"name": "isEqualFocusNode",
|
|
2664
|
-
"privacy": "private",
|
|
2665
|
-
"parameters": [
|
|
2666
|
-
{
|
|
2667
|
-
"name": "activeElement",
|
|
2668
|
-
"type": {
|
|
2669
|
-
"text": "HTMLElement"
|
|
2670
|
-
},
|
|
2671
|
-
"description": "The active element."
|
|
2672
|
-
},
|
|
2673
|
-
{
|
|
2674
|
-
"name": "element",
|
|
2675
|
-
"type": {
|
|
2676
|
-
"text": "HTMLElement"
|
|
2677
|
-
},
|
|
2678
|
-
"description": "The element to compare."
|
|
2679
|
-
}
|
|
2680
|
-
],
|
|
2681
|
-
"description": "Checks if the active element is equal to the given element.",
|
|
2682
|
-
"return": {
|
|
2683
|
-
"type": {
|
|
2684
|
-
"text": ""
|
|
2685
|
-
}
|
|
2686
|
-
},
|
|
2687
|
-
"inheritedFrom": {
|
|
2688
|
-
"name": "FocusTrapMixin",
|
|
2689
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
2690
|
-
}
|
|
2691
|
-
},
|
|
2692
|
-
{
|
|
2693
|
-
"kind": "method",
|
|
2694
|
-
"name": "isFocusable",
|
|
2695
|
-
"privacy": "private",
|
|
2696
|
-
"parameters": [
|
|
2697
|
-
{
|
|
2698
|
-
"name": "element",
|
|
2699
|
-
"type": {
|
|
2700
|
-
"text": "HTMLElement"
|
|
2701
|
-
},
|
|
2702
|
-
"description": "The element to check."
|
|
2703
|
-
}
|
|
2704
|
-
],
|
|
2705
|
-
"description": "Checks if the element is focusable.",
|
|
2706
|
-
"return": {
|
|
2707
|
-
"type": {
|
|
2708
|
-
"text": ""
|
|
2709
|
-
}
|
|
2710
|
-
},
|
|
2711
|
-
"inheritedFrom": {
|
|
2712
|
-
"name": "FocusTrapMixin",
|
|
2713
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
2714
|
-
}
|
|
2715
|
-
},
|
|
2716
|
-
{
|
|
2717
|
-
"kind": "method",
|
|
2718
|
-
"name": "isHidden",
|
|
2719
|
-
"privacy": "private",
|
|
2720
|
-
"parameters": [
|
|
2721
|
-
{
|
|
2722
|
-
"name": "element",
|
|
2723
|
-
"type": {
|
|
2724
|
-
"text": "HTMLElement"
|
|
2725
|
-
},
|
|
2726
|
-
"description": "The element to check."
|
|
2727
|
-
}
|
|
2728
|
-
],
|
|
2729
|
-
"description": "Checks if the element is hidden from the user.",
|
|
2730
|
-
"return": {
|
|
2731
|
-
"type": {
|
|
2732
|
-
"text": ""
|
|
2733
|
-
}
|
|
2734
|
-
},
|
|
2735
|
-
"inheritedFrom": {
|
|
2736
|
-
"name": "FocusTrapMixin",
|
|
2737
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
2738
|
-
}
|
|
2739
|
-
},
|
|
2740
|
-
{
|
|
2741
|
-
"kind": "method",
|
|
2742
|
-
"name": "isInteractiveElement",
|
|
2743
|
-
"privacy": "private",
|
|
2744
|
-
"return": {
|
|
2745
|
-
"type": {
|
|
2746
|
-
"text": ""
|
|
2747
|
-
}
|
|
2748
|
-
},
|
|
2749
|
-
"parameters": [
|
|
2750
|
-
{
|
|
2751
|
-
"name": "element",
|
|
2752
|
-
"type": {
|
|
2753
|
-
"text": "HTMLElement"
|
|
2754
|
-
},
|
|
2755
|
-
"description": "The element to check."
|
|
2756
|
-
}
|
|
2757
|
-
],
|
|
2758
|
-
"description": "Checks if the element is interactive.",
|
|
2759
|
-
"inheritedFrom": {
|
|
2760
|
-
"name": "FocusTrapMixin",
|
|
2761
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
2762
|
-
}
|
|
2763
|
-
},
|
|
2764
|
-
{
|
|
2765
|
-
"kind": "method",
|
|
2766
|
-
"name": "isNotTabbable",
|
|
2767
|
-
"privacy": "private",
|
|
2768
|
-
"parameters": [
|
|
2769
|
-
{
|
|
2770
|
-
"name": "element",
|
|
2771
|
-
"type": {
|
|
2772
|
-
"text": "HTMLElement"
|
|
2773
|
-
},
|
|
2774
|
-
"description": "The element to check."
|
|
2775
|
-
}
|
|
2776
|
-
],
|
|
2777
|
-
"description": "Checks if the element is not tabbable.",
|
|
2778
|
-
"return": {
|
|
2779
|
-
"type": {
|
|
2780
|
-
"text": ""
|
|
2781
|
-
}
|
|
2782
|
-
},
|
|
2783
|
-
"inheritedFrom": {
|
|
2784
|
-
"name": "FocusTrapMixin",
|
|
2785
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
2786
|
-
}
|
|
2787
|
-
},
|
|
2788
|
-
{
|
|
2789
|
-
"kind": "method",
|
|
2790
|
-
"name": "isNotVisible",
|
|
2791
|
-
"privacy": "private",
|
|
2792
|
-
"parameters": [
|
|
2793
|
-
{
|
|
2794
|
-
"name": "element",
|
|
2795
|
-
"type": {
|
|
2796
|
-
"text": "HTMLElement"
|
|
2797
|
-
},
|
|
2798
|
-
"description": "The element to check."
|
|
2799
|
-
}
|
|
2800
|
-
],
|
|
2801
|
-
"description": "Determines if the element is not visible in the DOM.",
|
|
2802
|
-
"return": {
|
|
2803
|
-
"type": {
|
|
2804
|
-
"text": ""
|
|
2805
|
-
}
|
|
2806
|
-
},
|
|
2807
|
-
"inheritedFrom": {
|
|
2808
|
-
"name": "FocusTrapMixin",
|
|
2809
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
2810
|
-
}
|
|
2811
|
-
},
|
|
2812
2399
|
{
|
|
2813
2400
|
"kind": "method",
|
|
2814
2401
|
"name": "isOpenUpdated",
|
|
@@ -2875,68 +2462,6 @@
|
|
|
2875
2462
|
"module": "components/dialog/dialog.component.js"
|
|
2876
2463
|
}
|
|
2877
2464
|
},
|
|
2878
|
-
{
|
|
2879
|
-
"kind": "method",
|
|
2880
|
-
"name": "setFocusableElements",
|
|
2881
|
-
"privacy": "private",
|
|
2882
|
-
"description": "Updates the list of focusable elements within the component's shadow root.",
|
|
2883
|
-
"inheritedFrom": {
|
|
2884
|
-
"name": "FocusTrapMixin",
|
|
2885
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
2886
|
-
}
|
|
2887
|
-
},
|
|
2888
|
-
{
|
|
2889
|
-
"kind": "method",
|
|
2890
|
-
"name": "setInitialFocus",
|
|
2891
|
-
"privacy": "public",
|
|
2892
|
-
"parameters": [
|
|
2893
|
-
{
|
|
2894
|
-
"name": "elementIndexToReceiveFocus",
|
|
2895
|
-
"default": "0",
|
|
2896
|
-
"type": {
|
|
2897
|
-
"text": "number"
|
|
2898
|
-
},
|
|
2899
|
-
"description": "The index of the preferable element to focus."
|
|
2900
|
-
}
|
|
2901
|
-
],
|
|
2902
|
-
"description": "Sets the initial focus within the container.",
|
|
2903
|
-
"inheritedFrom": {
|
|
2904
|
-
"name": "FocusTrapMixin",
|
|
2905
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
2906
|
-
}
|
|
2907
|
-
},
|
|
2908
|
-
{
|
|
2909
|
-
"kind": "method",
|
|
2910
|
-
"name": "setIsFocusTrapActivated",
|
|
2911
|
-
"privacy": "private",
|
|
2912
|
-
"parameters": [
|
|
2913
|
-
{
|
|
2914
|
-
"name": "isActivated",
|
|
2915
|
-
"type": {
|
|
2916
|
-
"text": "boolean"
|
|
2917
|
-
}
|
|
2918
|
-
}
|
|
2919
|
-
],
|
|
2920
|
-
"inheritedFrom": {
|
|
2921
|
-
"name": "FocusTrapMixin",
|
|
2922
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
2923
|
-
}
|
|
2924
|
-
},
|
|
2925
|
-
{
|
|
2926
|
-
"kind": "field",
|
|
2927
|
-
"name": "shouldFocusTrapWrap",
|
|
2928
|
-
"type": {
|
|
2929
|
-
"text": "boolean"
|
|
2930
|
-
},
|
|
2931
|
-
"default": "true",
|
|
2932
|
-
"description": "Determines whether focus should wrap around when reaching the first or last focusable element.\nIf true, focus will cycle from end to start and vice versa.\n\nThis only applies when `focusTrap` is true.",
|
|
2933
|
-
"attribute": "should-focus-trap-wrap",
|
|
2934
|
-
"reflects": true,
|
|
2935
|
-
"inheritedFrom": {
|
|
2936
|
-
"name": "FocusTrapMixin",
|
|
2937
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
2938
|
-
}
|
|
2939
|
-
},
|
|
2940
2465
|
{
|
|
2941
2466
|
"kind": "field",
|
|
2942
2467
|
"name": "size",
|
|
@@ -2952,28 +2477,6 @@
|
|
|
2952
2477
|
"module": "components/dialog/dialog.component.js"
|
|
2953
2478
|
}
|
|
2954
2479
|
},
|
|
2955
|
-
{
|
|
2956
|
-
"kind": "method",
|
|
2957
|
-
"name": "trapFocus",
|
|
2958
|
-
"privacy": "private",
|
|
2959
|
-
"parameters": [
|
|
2960
|
-
{
|
|
2961
|
-
"name": "event",
|
|
2962
|
-
"type": {
|
|
2963
|
-
"text": "KeyboardEvent"
|
|
2964
|
-
}
|
|
2965
|
-
},
|
|
2966
|
-
{
|
|
2967
|
-
"description": "The direction of the focus trap.\nIf true, the focus will be trapped in the previous element.",
|
|
2968
|
-
"name": "direction"
|
|
2969
|
-
}
|
|
2970
|
-
],
|
|
2971
|
-
"description": "Traps focus within the container.",
|
|
2972
|
-
"inheritedFrom": {
|
|
2973
|
-
"name": "FocusTrapMixin",
|
|
2974
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
2975
|
-
}
|
|
2976
|
-
},
|
|
2977
2480
|
{
|
|
2978
2481
|
"kind": "field",
|
|
2979
2482
|
"name": "triggerID",
|
|
@@ -3104,19 +2607,6 @@
|
|
|
3104
2607
|
"module": "src/components/dialog/dialog.component.ts"
|
|
3105
2608
|
}
|
|
3106
2609
|
},
|
|
3107
|
-
{
|
|
3108
|
-
"name": "should-focus-trap-wrap",
|
|
3109
|
-
"type": {
|
|
3110
|
-
"text": "boolean"
|
|
3111
|
-
},
|
|
3112
|
-
"default": "true",
|
|
3113
|
-
"description": "Determines whether focus should wrap around when reaching the first or last focusable element.\nIf true, focus will cycle from end to start and vice versa.\n\nThis only applies when `focusTrap` is true.",
|
|
3114
|
-
"fieldName": "shouldFocusTrapWrap",
|
|
3115
|
-
"inheritedFrom": {
|
|
3116
|
-
"name": "FocusTrapMixin",
|
|
3117
|
-
"module": "src/utils/mixins/FocusTrapMixin.ts"
|
|
3118
|
-
}
|
|
3119
|
-
},
|
|
3120
2610
|
{
|
|
3121
2611
|
"name": "id",
|
|
3122
2612
|
"type": {
|
|
@@ -12262,16 +11752,6 @@
|
|
|
12262
11752
|
"module": "components/popover/popover.component.js"
|
|
12263
11753
|
}
|
|
12264
11754
|
},
|
|
12265
|
-
{
|
|
12266
|
-
"kind": "method",
|
|
12267
|
-
"name": "activateFocusTrap",
|
|
12268
|
-
"privacy": "public",
|
|
12269
|
-
"description": "Activate the focus trap",
|
|
12270
|
-
"inheritedFrom": {
|
|
12271
|
-
"name": "FocusTrapMixin",
|
|
12272
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
12273
|
-
}
|
|
12274
|
-
},
|
|
12275
11755
|
{
|
|
12276
11756
|
"kind": "method",
|
|
12277
11757
|
"name": "activatePreventScroll",
|
|
@@ -12429,37 +11909,6 @@
|
|
|
12429
11909
|
"module": "components/popover/popover.component.js"
|
|
12430
11910
|
}
|
|
12431
11911
|
},
|
|
12432
|
-
{
|
|
12433
|
-
"kind": "method",
|
|
12434
|
-
"name": "calculateNextIndex",
|
|
12435
|
-
"privacy": "private",
|
|
12436
|
-
"parameters": [
|
|
12437
|
-
{
|
|
12438
|
-
"name": "currentIndex",
|
|
12439
|
-
"type": {
|
|
12440
|
-
"text": "number"
|
|
12441
|
-
},
|
|
12442
|
-
"description": "The current index."
|
|
12443
|
-
},
|
|
12444
|
-
{
|
|
12445
|
-
"name": "step",
|
|
12446
|
-
"type": {
|
|
12447
|
-
"text": "number"
|
|
12448
|
-
},
|
|
12449
|
-
"description": "The step to calculate the next index."
|
|
12450
|
-
}
|
|
12451
|
-
],
|
|
12452
|
-
"description": "Calculates the next index for the focus trap.",
|
|
12453
|
-
"return": {
|
|
12454
|
-
"type": {
|
|
12455
|
-
"text": ""
|
|
12456
|
-
}
|
|
12457
|
-
},
|
|
12458
|
-
"inheritedFrom": {
|
|
12459
|
-
"name": "FocusTrapMixin",
|
|
12460
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
12461
|
-
}
|
|
12462
|
-
},
|
|
12463
11912
|
{
|
|
12464
11913
|
"kind": "field",
|
|
12465
11914
|
"name": "closeButton",
|
|
@@ -12505,16 +11954,6 @@
|
|
|
12505
11954
|
"module": "components/popover/popover.component.js"
|
|
12506
11955
|
}
|
|
12507
11956
|
},
|
|
12508
|
-
{
|
|
12509
|
-
"kind": "method",
|
|
12510
|
-
"name": "deactivateFocusTrap",
|
|
12511
|
-
"privacy": "public",
|
|
12512
|
-
"description": "Deactivate the focus trap.",
|
|
12513
|
-
"inheritedFrom": {
|
|
12514
|
-
"name": "FocusTrapMixin",
|
|
12515
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
12516
|
-
}
|
|
12517
|
-
},
|
|
12518
11957
|
{
|
|
12519
11958
|
"kind": "method",
|
|
12520
11959
|
"name": "deactivatePreventScroll",
|
|
@@ -12569,62 +12008,6 @@
|
|
|
12569
12008
|
"module": "components/popover/popover.component.js"
|
|
12570
12009
|
}
|
|
12571
12010
|
},
|
|
12572
|
-
{
|
|
12573
|
-
"kind": "method",
|
|
12574
|
-
"name": "findElement",
|
|
12575
|
-
"privacy": "private",
|
|
12576
|
-
"parameters": [
|
|
12577
|
-
{
|
|
12578
|
-
"name": "activeElement",
|
|
12579
|
-
"type": {
|
|
12580
|
-
"text": "HTMLElement"
|
|
12581
|
-
},
|
|
12582
|
-
"description": "The active element."
|
|
12583
|
-
}
|
|
12584
|
-
],
|
|
12585
|
-
"description": "Finds the index of the active element within the focusable elements.",
|
|
12586
|
-
"return": {
|
|
12587
|
-
"type": {
|
|
12588
|
-
"text": ""
|
|
12589
|
-
}
|
|
12590
|
-
},
|
|
12591
|
-
"inheritedFrom": {
|
|
12592
|
-
"name": "FocusTrapMixin",
|
|
12593
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
12594
|
-
}
|
|
12595
|
-
},
|
|
12596
|
-
{
|
|
12597
|
-
"kind": "method",
|
|
12598
|
-
"name": "findFocusable",
|
|
12599
|
-
"privacy": "private",
|
|
12600
|
-
"return": {
|
|
12601
|
-
"type": {
|
|
12602
|
-
"text": ""
|
|
12603
|
-
}
|
|
12604
|
-
},
|
|
12605
|
-
"parameters": [
|
|
12606
|
-
{
|
|
12607
|
-
"name": "root",
|
|
12608
|
-
"type": {
|
|
12609
|
-
"text": "ShadowRoot | HTMLElement"
|
|
12610
|
-
},
|
|
12611
|
-
"description": "The root element to search for focusable elements."
|
|
12612
|
-
},
|
|
12613
|
-
{
|
|
12614
|
-
"name": "matches",
|
|
12615
|
-
"default": "new Set()",
|
|
12616
|
-
"type": {
|
|
12617
|
-
"text": "Set<HTMLElement>"
|
|
12618
|
-
},
|
|
12619
|
-
"description": "The set of focusable elements."
|
|
12620
|
-
}
|
|
12621
|
-
],
|
|
12622
|
-
"description": "Recursively finds all focusable elements within the given root and its descendants.\n\nMake sure this is performant, as it will be called multiple times.",
|
|
12623
|
-
"inheritedFrom": {
|
|
12624
|
-
"name": "FocusTrapMixin",
|
|
12625
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
12626
|
-
}
|
|
12627
|
-
},
|
|
12628
12011
|
{
|
|
12629
12012
|
"kind": "field",
|
|
12630
12013
|
"name": "focusBackToTrigger",
|
|
@@ -12646,11 +12029,10 @@
|
|
|
12646
12029
|
"type": {
|
|
12647
12030
|
"text": "boolean"
|
|
12648
12031
|
},
|
|
12649
|
-
"description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component
|
|
12032
|
+
"description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component.",
|
|
12650
12033
|
"default": "false",
|
|
12651
12034
|
"attribute": "focus-trap",
|
|
12652
12035
|
"reflects": true,
|
|
12653
|
-
"privacy": "protected",
|
|
12654
12036
|
"inheritedFrom": {
|
|
12655
12037
|
"name": "Popover",
|
|
12656
12038
|
"module": "components/popover/popover.component.js"
|
|
@@ -12684,136 +12066,6 @@
|
|
|
12684
12066
|
"module": "utils/mixins/KeyToActionMixin.js"
|
|
12685
12067
|
}
|
|
12686
12068
|
},
|
|
12687
|
-
{
|
|
12688
|
-
"kind": "method",
|
|
12689
|
-
"name": "getDeepActiveElement",
|
|
12690
|
-
"privacy": "private",
|
|
12691
|
-
"description": "Returns the deepest active element in the shadow DOM.",
|
|
12692
|
-
"return": {
|
|
12693
|
-
"type": {
|
|
12694
|
-
"text": ""
|
|
12695
|
-
}
|
|
12696
|
-
},
|
|
12697
|
-
"inheritedFrom": {
|
|
12698
|
-
"name": "FocusTrapMixin",
|
|
12699
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
12700
|
-
}
|
|
12701
|
-
},
|
|
12702
|
-
{
|
|
12703
|
-
"kind": "method",
|
|
12704
|
-
"name": "handleTabKeydown",
|
|
12705
|
-
"privacy": "private",
|
|
12706
|
-
"parameters": [
|
|
12707
|
-
{
|
|
12708
|
-
"name": "event",
|
|
12709
|
-
"type": {
|
|
12710
|
-
"text": "KeyboardEvent"
|
|
12711
|
-
},
|
|
12712
|
-
"description": "The keyboard event."
|
|
12713
|
-
}
|
|
12714
|
-
],
|
|
12715
|
-
"description": "Traps focus within the container.",
|
|
12716
|
-
"inheritedFrom": {
|
|
12717
|
-
"name": "FocusTrapMixin",
|
|
12718
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
12719
|
-
}
|
|
12720
|
-
},
|
|
12721
|
-
{
|
|
12722
|
-
"kind": "method",
|
|
12723
|
-
"name": "hasComputedHidden",
|
|
12724
|
-
"privacy": "private",
|
|
12725
|
-
"parameters": [
|
|
12726
|
-
{
|
|
12727
|
-
"name": "element",
|
|
12728
|
-
"type": {
|
|
12729
|
-
"text": "HTMLElement"
|
|
12730
|
-
},
|
|
12731
|
-
"description": "The element to check."
|
|
12732
|
-
}
|
|
12733
|
-
],
|
|
12734
|
-
"description": "Checks if the element is hidden by a computed style.",
|
|
12735
|
-
"return": {
|
|
12736
|
-
"type": {
|
|
12737
|
-
"text": ""
|
|
12738
|
-
}
|
|
12739
|
-
},
|
|
12740
|
-
"inheritedFrom": {
|
|
12741
|
-
"name": "FocusTrapMixin",
|
|
12742
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
12743
|
-
}
|
|
12744
|
-
},
|
|
12745
|
-
{
|
|
12746
|
-
"kind": "method",
|
|
12747
|
-
"name": "hasHiddenStyle",
|
|
12748
|
-
"privacy": "private",
|
|
12749
|
-
"parameters": [
|
|
12750
|
-
{
|
|
12751
|
-
"name": "element",
|
|
12752
|
-
"type": {
|
|
12753
|
-
"text": "HTMLElement"
|
|
12754
|
-
},
|
|
12755
|
-
"description": "The element to check."
|
|
12756
|
-
}
|
|
12757
|
-
],
|
|
12758
|
-
"description": "Checks if the element has inline styles that make it hidden.",
|
|
12759
|
-
"return": {
|
|
12760
|
-
"type": {
|
|
12761
|
-
"text": ""
|
|
12762
|
-
}
|
|
12763
|
-
},
|
|
12764
|
-
"inheritedFrom": {
|
|
12765
|
-
"name": "FocusTrapMixin",
|
|
12766
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
12767
|
-
}
|
|
12768
|
-
},
|
|
12769
|
-
{
|
|
12770
|
-
"kind": "method",
|
|
12771
|
-
"name": "hasNoClientRects",
|
|
12772
|
-
"privacy": "private",
|
|
12773
|
-
"parameters": [
|
|
12774
|
-
{
|
|
12775
|
-
"name": "element",
|
|
12776
|
-
"type": {
|
|
12777
|
-
"text": "HTMLElement"
|
|
12778
|
-
},
|
|
12779
|
-
"description": "The element to check."
|
|
12780
|
-
}
|
|
12781
|
-
],
|
|
12782
|
-
"description": "Checks if the element has no client rectangles (not visible in the viewport).",
|
|
12783
|
-
"return": {
|
|
12784
|
-
"type": {
|
|
12785
|
-
"text": ""
|
|
12786
|
-
}
|
|
12787
|
-
},
|
|
12788
|
-
"inheritedFrom": {
|
|
12789
|
-
"name": "FocusTrapMixin",
|
|
12790
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
12791
|
-
}
|
|
12792
|
-
},
|
|
12793
|
-
{
|
|
12794
|
-
"kind": "method",
|
|
12795
|
-
"name": "hasZeroDimensions",
|
|
12796
|
-
"privacy": "private",
|
|
12797
|
-
"parameters": [
|
|
12798
|
-
{
|
|
12799
|
-
"name": "element",
|
|
12800
|
-
"type": {
|
|
12801
|
-
"text": "HTMLElement"
|
|
12802
|
-
},
|
|
12803
|
-
"description": "The element to check."
|
|
12804
|
-
}
|
|
12805
|
-
],
|
|
12806
|
-
"description": "Checks if the element has zero dimensions (width and height are both 0).",
|
|
12807
|
-
"return": {
|
|
12808
|
-
"type": {
|
|
12809
|
-
"text": ""
|
|
12810
|
-
}
|
|
12811
|
-
},
|
|
12812
|
-
"inheritedFrom": {
|
|
12813
|
-
"name": "FocusTrapMixin",
|
|
12814
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
12815
|
-
}
|
|
12816
|
-
},
|
|
12817
12069
|
{
|
|
12818
12070
|
"kind": "field",
|
|
12819
12071
|
"name": "hide",
|
|
@@ -12914,61 +12166,6 @@
|
|
|
12914
12166
|
"module": "components/popover/popover.component.js"
|
|
12915
12167
|
}
|
|
12916
12168
|
},
|
|
12917
|
-
{
|
|
12918
|
-
"kind": "method",
|
|
12919
|
-
"name": "isDisabled",
|
|
12920
|
-
"privacy": "private",
|
|
12921
|
-
"parameters": [
|
|
12922
|
-
{
|
|
12923
|
-
"name": "element",
|
|
12924
|
-
"type": {
|
|
12925
|
-
"text": "any"
|
|
12926
|
-
},
|
|
12927
|
-
"description": "The element to check."
|
|
12928
|
-
}
|
|
12929
|
-
],
|
|
12930
|
-
"description": "Checks if the element is disabled.",
|
|
12931
|
-
"return": {
|
|
12932
|
-
"type": {
|
|
12933
|
-
"text": ""
|
|
12934
|
-
}
|
|
12935
|
-
},
|
|
12936
|
-
"inheritedFrom": {
|
|
12937
|
-
"name": "FocusTrapMixin",
|
|
12938
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
12939
|
-
}
|
|
12940
|
-
},
|
|
12941
|
-
{
|
|
12942
|
-
"kind": "method",
|
|
12943
|
-
"name": "isEqualFocusNode",
|
|
12944
|
-
"privacy": "private",
|
|
12945
|
-
"parameters": [
|
|
12946
|
-
{
|
|
12947
|
-
"name": "activeElement",
|
|
12948
|
-
"type": {
|
|
12949
|
-
"text": "HTMLElement"
|
|
12950
|
-
},
|
|
12951
|
-
"description": "The active element."
|
|
12952
|
-
},
|
|
12953
|
-
{
|
|
12954
|
-
"name": "element",
|
|
12955
|
-
"type": {
|
|
12956
|
-
"text": "HTMLElement"
|
|
12957
|
-
},
|
|
12958
|
-
"description": "The element to compare."
|
|
12959
|
-
}
|
|
12960
|
-
],
|
|
12961
|
-
"description": "Checks if the active element is equal to the given element.",
|
|
12962
|
-
"return": {
|
|
12963
|
-
"type": {
|
|
12964
|
-
"text": ""
|
|
12965
|
-
}
|
|
12966
|
-
},
|
|
12967
|
-
"inheritedFrom": {
|
|
12968
|
-
"name": "FocusTrapMixin",
|
|
12969
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
12970
|
-
}
|
|
12971
|
-
},
|
|
12972
12169
|
{
|
|
12973
12170
|
"kind": "method",
|
|
12974
12171
|
"name": "isEventFromTrigger",
|
|
@@ -12991,126 +12188,6 @@
|
|
|
12991
12188
|
"module": "components/popover/popover.component.js"
|
|
12992
12189
|
}
|
|
12993
12190
|
},
|
|
12994
|
-
{
|
|
12995
|
-
"kind": "method",
|
|
12996
|
-
"name": "isFocusable",
|
|
12997
|
-
"privacy": "private",
|
|
12998
|
-
"parameters": [
|
|
12999
|
-
{
|
|
13000
|
-
"name": "element",
|
|
13001
|
-
"type": {
|
|
13002
|
-
"text": "HTMLElement"
|
|
13003
|
-
},
|
|
13004
|
-
"description": "The element to check."
|
|
13005
|
-
}
|
|
13006
|
-
],
|
|
13007
|
-
"description": "Checks if the element is focusable.",
|
|
13008
|
-
"return": {
|
|
13009
|
-
"type": {
|
|
13010
|
-
"text": ""
|
|
13011
|
-
}
|
|
13012
|
-
},
|
|
13013
|
-
"inheritedFrom": {
|
|
13014
|
-
"name": "FocusTrapMixin",
|
|
13015
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
13016
|
-
}
|
|
13017
|
-
},
|
|
13018
|
-
{
|
|
13019
|
-
"kind": "method",
|
|
13020
|
-
"name": "isHidden",
|
|
13021
|
-
"privacy": "private",
|
|
13022
|
-
"parameters": [
|
|
13023
|
-
{
|
|
13024
|
-
"name": "element",
|
|
13025
|
-
"type": {
|
|
13026
|
-
"text": "HTMLElement"
|
|
13027
|
-
},
|
|
13028
|
-
"description": "The element to check."
|
|
13029
|
-
}
|
|
13030
|
-
],
|
|
13031
|
-
"description": "Checks if the element is hidden from the user.",
|
|
13032
|
-
"return": {
|
|
13033
|
-
"type": {
|
|
13034
|
-
"text": ""
|
|
13035
|
-
}
|
|
13036
|
-
},
|
|
13037
|
-
"inheritedFrom": {
|
|
13038
|
-
"name": "FocusTrapMixin",
|
|
13039
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
13040
|
-
}
|
|
13041
|
-
},
|
|
13042
|
-
{
|
|
13043
|
-
"kind": "method",
|
|
13044
|
-
"name": "isInteractiveElement",
|
|
13045
|
-
"privacy": "private",
|
|
13046
|
-
"return": {
|
|
13047
|
-
"type": {
|
|
13048
|
-
"text": ""
|
|
13049
|
-
}
|
|
13050
|
-
},
|
|
13051
|
-
"parameters": [
|
|
13052
|
-
{
|
|
13053
|
-
"name": "element",
|
|
13054
|
-
"type": {
|
|
13055
|
-
"text": "HTMLElement"
|
|
13056
|
-
},
|
|
13057
|
-
"description": "The element to check."
|
|
13058
|
-
}
|
|
13059
|
-
],
|
|
13060
|
-
"description": "Checks if the element is interactive.",
|
|
13061
|
-
"inheritedFrom": {
|
|
13062
|
-
"name": "FocusTrapMixin",
|
|
13063
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
13064
|
-
}
|
|
13065
|
-
},
|
|
13066
|
-
{
|
|
13067
|
-
"kind": "method",
|
|
13068
|
-
"name": "isNotTabbable",
|
|
13069
|
-
"privacy": "private",
|
|
13070
|
-
"parameters": [
|
|
13071
|
-
{
|
|
13072
|
-
"name": "element",
|
|
13073
|
-
"type": {
|
|
13074
|
-
"text": "HTMLElement"
|
|
13075
|
-
},
|
|
13076
|
-
"description": "The element to check."
|
|
13077
|
-
}
|
|
13078
|
-
],
|
|
13079
|
-
"description": "Checks if the element is not tabbable.",
|
|
13080
|
-
"return": {
|
|
13081
|
-
"type": {
|
|
13082
|
-
"text": ""
|
|
13083
|
-
}
|
|
13084
|
-
},
|
|
13085
|
-
"inheritedFrom": {
|
|
13086
|
-
"name": "FocusTrapMixin",
|
|
13087
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
13088
|
-
}
|
|
13089
|
-
},
|
|
13090
|
-
{
|
|
13091
|
-
"kind": "method",
|
|
13092
|
-
"name": "isNotVisible",
|
|
13093
|
-
"privacy": "private",
|
|
13094
|
-
"parameters": [
|
|
13095
|
-
{
|
|
13096
|
-
"name": "element",
|
|
13097
|
-
"type": {
|
|
13098
|
-
"text": "HTMLElement"
|
|
13099
|
-
},
|
|
13100
|
-
"description": "The element to check."
|
|
13101
|
-
}
|
|
13102
|
-
],
|
|
13103
|
-
"description": "Determines if the element is not visible in the DOM.",
|
|
13104
|
-
"return": {
|
|
13105
|
-
"type": {
|
|
13106
|
-
"text": ""
|
|
13107
|
-
}
|
|
13108
|
-
},
|
|
13109
|
-
"inheritedFrom": {
|
|
13110
|
-
"name": "FocusTrapMixin",
|
|
13111
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
13112
|
-
}
|
|
13113
|
-
},
|
|
13114
12191
|
{
|
|
13115
12192
|
"kind": "method",
|
|
13116
12193
|
"name": "isOpenUpdated",
|
|
@@ -13226,68 +12303,6 @@
|
|
|
13226
12303
|
"module": "components/popover/popover.component.js"
|
|
13227
12304
|
}
|
|
13228
12305
|
},
|
|
13229
|
-
{
|
|
13230
|
-
"kind": "method",
|
|
13231
|
-
"name": "setFocusableElements",
|
|
13232
|
-
"privacy": "private",
|
|
13233
|
-
"description": "Updates the list of focusable elements within the component's shadow root.",
|
|
13234
|
-
"inheritedFrom": {
|
|
13235
|
-
"name": "FocusTrapMixin",
|
|
13236
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
13237
|
-
}
|
|
13238
|
-
},
|
|
13239
|
-
{
|
|
13240
|
-
"kind": "method",
|
|
13241
|
-
"name": "setInitialFocus",
|
|
13242
|
-
"privacy": "public",
|
|
13243
|
-
"parameters": [
|
|
13244
|
-
{
|
|
13245
|
-
"name": "elementIndexToReceiveFocus",
|
|
13246
|
-
"default": "0",
|
|
13247
|
-
"type": {
|
|
13248
|
-
"text": "number"
|
|
13249
|
-
},
|
|
13250
|
-
"description": "The index of the preferable element to focus."
|
|
13251
|
-
}
|
|
13252
|
-
],
|
|
13253
|
-
"description": "Sets the initial focus within the container.",
|
|
13254
|
-
"inheritedFrom": {
|
|
13255
|
-
"name": "FocusTrapMixin",
|
|
13256
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
13257
|
-
}
|
|
13258
|
-
},
|
|
13259
|
-
{
|
|
13260
|
-
"kind": "method",
|
|
13261
|
-
"name": "setIsFocusTrapActivated",
|
|
13262
|
-
"privacy": "private",
|
|
13263
|
-
"parameters": [
|
|
13264
|
-
{
|
|
13265
|
-
"name": "isActivated",
|
|
13266
|
-
"type": {
|
|
13267
|
-
"text": "boolean"
|
|
13268
|
-
}
|
|
13269
|
-
}
|
|
13270
|
-
],
|
|
13271
|
-
"inheritedFrom": {
|
|
13272
|
-
"name": "FocusTrapMixin",
|
|
13273
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
13274
|
-
}
|
|
13275
|
-
},
|
|
13276
|
-
{
|
|
13277
|
-
"kind": "field",
|
|
13278
|
-
"name": "shouldFocusTrapWrap",
|
|
13279
|
-
"type": {
|
|
13280
|
-
"text": "boolean"
|
|
13281
|
-
},
|
|
13282
|
-
"default": "true",
|
|
13283
|
-
"description": "Determines whether focus should wrap around when reaching the first or last focusable element.\nIf true, focus will cycle from end to start and vice versa.\n\nThis only applies when `focusTrap` is true.",
|
|
13284
|
-
"attribute": "should-focus-trap-wrap",
|
|
13285
|
-
"reflects": true,
|
|
13286
|
-
"inheritedFrom": {
|
|
13287
|
-
"name": "FocusTrapMixin",
|
|
13288
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
13289
|
-
}
|
|
13290
|
-
},
|
|
13291
12306
|
{
|
|
13292
12307
|
"kind": "field",
|
|
13293
12308
|
"name": "show",
|
|
@@ -13353,28 +12368,6 @@
|
|
|
13353
12368
|
"module": "components/popover/popover.component.js"
|
|
13354
12369
|
}
|
|
13355
12370
|
},
|
|
13356
|
-
{
|
|
13357
|
-
"kind": "method",
|
|
13358
|
-
"name": "trapFocus",
|
|
13359
|
-
"privacy": "private",
|
|
13360
|
-
"parameters": [
|
|
13361
|
-
{
|
|
13362
|
-
"name": "event",
|
|
13363
|
-
"type": {
|
|
13364
|
-
"text": "KeyboardEvent"
|
|
13365
|
-
}
|
|
13366
|
-
},
|
|
13367
|
-
{
|
|
13368
|
-
"description": "The direction of the focus trap.\nIf true, the focus will be trapped in the previous element.",
|
|
13369
|
-
"name": "direction"
|
|
13370
|
-
}
|
|
13371
|
-
],
|
|
13372
|
-
"description": "Traps focus within the container.",
|
|
13373
|
-
"inheritedFrom": {
|
|
13374
|
-
"name": "FocusTrapMixin",
|
|
13375
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
13376
|
-
}
|
|
13377
|
-
},
|
|
13378
12371
|
{
|
|
13379
12372
|
"kind": "field",
|
|
13380
12373
|
"name": "trigger",
|
|
@@ -13549,19 +12542,6 @@
|
|
|
13549
12542
|
"module": "src/components/popover/popover.component.ts"
|
|
13550
12543
|
}
|
|
13551
12544
|
},
|
|
13552
|
-
{
|
|
13553
|
-
"name": "should-focus-trap-wrap",
|
|
13554
|
-
"type": {
|
|
13555
|
-
"text": "boolean"
|
|
13556
|
-
},
|
|
13557
|
-
"default": "true",
|
|
13558
|
-
"description": "Determines whether focus should wrap around when reaching the first or last focusable element.\nIf true, focus will cycle from end to start and vice versa.\n\nThis only applies when `focusTrap` is true.",
|
|
13559
|
-
"fieldName": "shouldFocusTrapWrap",
|
|
13560
|
-
"inheritedFrom": {
|
|
13561
|
-
"name": "FocusTrapMixin",
|
|
13562
|
-
"module": "src/utils/mixins/FocusTrapMixin.ts"
|
|
13563
|
-
}
|
|
13564
|
-
},
|
|
13565
12545
|
{
|
|
13566
12546
|
"name": "id",
|
|
13567
12547
|
"type": {
|
|
@@ -15618,16 +14598,6 @@
|
|
|
15618
14598
|
}
|
|
15619
14599
|
],
|
|
15620
14600
|
"members": [
|
|
15621
|
-
{
|
|
15622
|
-
"kind": "method",
|
|
15623
|
-
"name": "activateFocusTrap",
|
|
15624
|
-
"privacy": "public",
|
|
15625
|
-
"description": "Activate the focus trap",
|
|
15626
|
-
"inheritedFrom": {
|
|
15627
|
-
"name": "FocusTrapMixin",
|
|
15628
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
15629
|
-
}
|
|
15630
|
-
},
|
|
15631
14601
|
{
|
|
15632
14602
|
"kind": "method",
|
|
15633
14603
|
"name": "activatePreventScroll",
|
|
@@ -15681,37 +14651,6 @@
|
|
|
15681
14651
|
"attribute": "aria-labelledby",
|
|
15682
14652
|
"reflects": true
|
|
15683
14653
|
},
|
|
15684
|
-
{
|
|
15685
|
-
"kind": "method",
|
|
15686
|
-
"name": "calculateNextIndex",
|
|
15687
|
-
"privacy": "private",
|
|
15688
|
-
"parameters": [
|
|
15689
|
-
{
|
|
15690
|
-
"name": "currentIndex",
|
|
15691
|
-
"type": {
|
|
15692
|
-
"text": "number"
|
|
15693
|
-
},
|
|
15694
|
-
"description": "The current index."
|
|
15695
|
-
},
|
|
15696
|
-
{
|
|
15697
|
-
"name": "step",
|
|
15698
|
-
"type": {
|
|
15699
|
-
"text": "number"
|
|
15700
|
-
},
|
|
15701
|
-
"description": "The step to calculate the next index."
|
|
15702
|
-
}
|
|
15703
|
-
],
|
|
15704
|
-
"description": "Calculates the next index for the focus trap.",
|
|
15705
|
-
"return": {
|
|
15706
|
-
"type": {
|
|
15707
|
-
"text": ""
|
|
15708
|
-
}
|
|
15709
|
-
},
|
|
15710
|
-
"inheritedFrom": {
|
|
15711
|
-
"name": "FocusTrapMixin",
|
|
15712
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
15713
|
-
}
|
|
15714
|
-
},
|
|
15715
14654
|
{
|
|
15716
14655
|
"kind": "field",
|
|
15717
14656
|
"name": "closeButtonAriaLabel",
|
|
@@ -15728,16 +14667,6 @@
|
|
|
15728
14667
|
"privacy": "private",
|
|
15729
14668
|
"description": "Fired when Close Button is clicked or Escape key is pressed.\nThis method dispatches the close event. Setting visible to false\nhas to be done by the consumer of the component."
|
|
15730
14669
|
},
|
|
15731
|
-
{
|
|
15732
|
-
"kind": "method",
|
|
15733
|
-
"name": "deactivateFocusTrap",
|
|
15734
|
-
"privacy": "public",
|
|
15735
|
-
"description": "Deactivate the focus trap.",
|
|
15736
|
-
"inheritedFrom": {
|
|
15737
|
-
"name": "FocusTrapMixin",
|
|
15738
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
15739
|
-
}
|
|
15740
|
-
},
|
|
15741
14670
|
{
|
|
15742
14671
|
"kind": "method",
|
|
15743
14672
|
"name": "deactivatePreventScroll",
|
|
@@ -15778,207 +14707,16 @@
|
|
|
15778
14707
|
"attribute": "disable-aria-haspopup",
|
|
15779
14708
|
"reflects": true
|
|
15780
14709
|
},
|
|
15781
|
-
{
|
|
15782
|
-
"kind": "method",
|
|
15783
|
-
"name": "findElement",
|
|
15784
|
-
"privacy": "private",
|
|
15785
|
-
"parameters": [
|
|
15786
|
-
{
|
|
15787
|
-
"name": "activeElement",
|
|
15788
|
-
"type": {
|
|
15789
|
-
"text": "HTMLElement"
|
|
15790
|
-
},
|
|
15791
|
-
"description": "The active element."
|
|
15792
|
-
}
|
|
15793
|
-
],
|
|
15794
|
-
"description": "Finds the index of the active element within the focusable elements.",
|
|
15795
|
-
"return": {
|
|
15796
|
-
"type": {
|
|
15797
|
-
"text": ""
|
|
15798
|
-
}
|
|
15799
|
-
},
|
|
15800
|
-
"inheritedFrom": {
|
|
15801
|
-
"name": "FocusTrapMixin",
|
|
15802
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
15803
|
-
}
|
|
15804
|
-
},
|
|
15805
|
-
{
|
|
15806
|
-
"kind": "method",
|
|
15807
|
-
"name": "findFocusable",
|
|
15808
|
-
"privacy": "private",
|
|
15809
|
-
"return": {
|
|
15810
|
-
"type": {
|
|
15811
|
-
"text": ""
|
|
15812
|
-
}
|
|
15813
|
-
},
|
|
15814
|
-
"parameters": [
|
|
15815
|
-
{
|
|
15816
|
-
"name": "root",
|
|
15817
|
-
"type": {
|
|
15818
|
-
"text": "ShadowRoot | HTMLElement"
|
|
15819
|
-
},
|
|
15820
|
-
"description": "The root element to search for focusable elements."
|
|
15821
|
-
},
|
|
15822
|
-
{
|
|
15823
|
-
"name": "matches",
|
|
15824
|
-
"default": "new Set()",
|
|
15825
|
-
"type": {
|
|
15826
|
-
"text": "Set<HTMLElement>"
|
|
15827
|
-
},
|
|
15828
|
-
"description": "The set of focusable elements."
|
|
15829
|
-
}
|
|
15830
|
-
],
|
|
15831
|
-
"description": "Recursively finds all focusable elements within the given root and its descendants.\n\nMake sure this is performant, as it will be called multiple times.",
|
|
15832
|
-
"inheritedFrom": {
|
|
15833
|
-
"name": "FocusTrapMixin",
|
|
15834
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
15835
|
-
}
|
|
15836
|
-
},
|
|
15837
14710
|
{
|
|
15838
14711
|
"kind": "field",
|
|
15839
14712
|
"name": "focusTrap",
|
|
15840
14713
|
"type": {
|
|
15841
14714
|
"text": "boolean"
|
|
15842
14715
|
},
|
|
15843
|
-
"privacy": "protected",
|
|
15844
14716
|
"description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component.\n\nNOTE: this should only be disabled in rare cases! By default a Modal Dialog\nshould trap focus always.",
|
|
15845
14717
|
"default": "true",
|
|
15846
14718
|
"attribute": "focus-trap",
|
|
15847
|
-
"reflects": true
|
|
15848
|
-
"inheritedFrom": {
|
|
15849
|
-
"name": "FocusTrapMixin",
|
|
15850
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
15851
|
-
}
|
|
15852
|
-
},
|
|
15853
|
-
{
|
|
15854
|
-
"kind": "method",
|
|
15855
|
-
"name": "getDeepActiveElement",
|
|
15856
|
-
"privacy": "private",
|
|
15857
|
-
"description": "Returns the deepest active element in the shadow DOM.",
|
|
15858
|
-
"return": {
|
|
15859
|
-
"type": {
|
|
15860
|
-
"text": ""
|
|
15861
|
-
}
|
|
15862
|
-
},
|
|
15863
|
-
"inheritedFrom": {
|
|
15864
|
-
"name": "FocusTrapMixin",
|
|
15865
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
15866
|
-
}
|
|
15867
|
-
},
|
|
15868
|
-
{
|
|
15869
|
-
"kind": "method",
|
|
15870
|
-
"name": "handleTabKeydown",
|
|
15871
|
-
"privacy": "private",
|
|
15872
|
-
"parameters": [
|
|
15873
|
-
{
|
|
15874
|
-
"name": "event",
|
|
15875
|
-
"type": {
|
|
15876
|
-
"text": "KeyboardEvent"
|
|
15877
|
-
},
|
|
15878
|
-
"description": "The keyboard event."
|
|
15879
|
-
}
|
|
15880
|
-
],
|
|
15881
|
-
"description": "Traps focus within the container.",
|
|
15882
|
-
"inheritedFrom": {
|
|
15883
|
-
"name": "FocusTrapMixin",
|
|
15884
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
15885
|
-
}
|
|
15886
|
-
},
|
|
15887
|
-
{
|
|
15888
|
-
"kind": "method",
|
|
15889
|
-
"name": "hasComputedHidden",
|
|
15890
|
-
"privacy": "private",
|
|
15891
|
-
"parameters": [
|
|
15892
|
-
{
|
|
15893
|
-
"name": "element",
|
|
15894
|
-
"type": {
|
|
15895
|
-
"text": "HTMLElement"
|
|
15896
|
-
},
|
|
15897
|
-
"description": "The element to check."
|
|
15898
|
-
}
|
|
15899
|
-
],
|
|
15900
|
-
"description": "Checks if the element is hidden by a computed style.",
|
|
15901
|
-
"return": {
|
|
15902
|
-
"type": {
|
|
15903
|
-
"text": ""
|
|
15904
|
-
}
|
|
15905
|
-
},
|
|
15906
|
-
"inheritedFrom": {
|
|
15907
|
-
"name": "FocusTrapMixin",
|
|
15908
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
15909
|
-
}
|
|
15910
|
-
},
|
|
15911
|
-
{
|
|
15912
|
-
"kind": "method",
|
|
15913
|
-
"name": "hasHiddenStyle",
|
|
15914
|
-
"privacy": "private",
|
|
15915
|
-
"parameters": [
|
|
15916
|
-
{
|
|
15917
|
-
"name": "element",
|
|
15918
|
-
"type": {
|
|
15919
|
-
"text": "HTMLElement"
|
|
15920
|
-
},
|
|
15921
|
-
"description": "The element to check."
|
|
15922
|
-
}
|
|
15923
|
-
],
|
|
15924
|
-
"description": "Checks if the element has inline styles that make it hidden.",
|
|
15925
|
-
"return": {
|
|
15926
|
-
"type": {
|
|
15927
|
-
"text": ""
|
|
15928
|
-
}
|
|
15929
|
-
},
|
|
15930
|
-
"inheritedFrom": {
|
|
15931
|
-
"name": "FocusTrapMixin",
|
|
15932
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
15933
|
-
}
|
|
15934
|
-
},
|
|
15935
|
-
{
|
|
15936
|
-
"kind": "method",
|
|
15937
|
-
"name": "hasNoClientRects",
|
|
15938
|
-
"privacy": "private",
|
|
15939
|
-
"parameters": [
|
|
15940
|
-
{
|
|
15941
|
-
"name": "element",
|
|
15942
|
-
"type": {
|
|
15943
|
-
"text": "HTMLElement"
|
|
15944
|
-
},
|
|
15945
|
-
"description": "The element to check."
|
|
15946
|
-
}
|
|
15947
|
-
],
|
|
15948
|
-
"description": "Checks if the element has no client rectangles (not visible in the viewport).",
|
|
15949
|
-
"return": {
|
|
15950
|
-
"type": {
|
|
15951
|
-
"text": ""
|
|
15952
|
-
}
|
|
15953
|
-
},
|
|
15954
|
-
"inheritedFrom": {
|
|
15955
|
-
"name": "FocusTrapMixin",
|
|
15956
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
15957
|
-
}
|
|
15958
|
-
},
|
|
15959
|
-
{
|
|
15960
|
-
"kind": "method",
|
|
15961
|
-
"name": "hasZeroDimensions",
|
|
15962
|
-
"privacy": "private",
|
|
15963
|
-
"parameters": [
|
|
15964
|
-
{
|
|
15965
|
-
"name": "element",
|
|
15966
|
-
"type": {
|
|
15967
|
-
"text": "HTMLElement"
|
|
15968
|
-
},
|
|
15969
|
-
"description": "The element to check."
|
|
15970
|
-
}
|
|
15971
|
-
],
|
|
15972
|
-
"description": "Checks if the element has zero dimensions (width and height are both 0).",
|
|
15973
|
-
"return": {
|
|
15974
|
-
"type": {
|
|
15975
|
-
"text": ""
|
|
15976
|
-
}
|
|
15977
|
-
},
|
|
15978
|
-
"inheritedFrom": {
|
|
15979
|
-
"name": "FocusTrapMixin",
|
|
15980
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
15981
|
-
}
|
|
14719
|
+
"reflects": true
|
|
15982
14720
|
},
|
|
15983
14721
|
{
|
|
15984
14722
|
"kind": "field",
|
|
@@ -16022,181 +14760,6 @@
|
|
|
16022
14760
|
"attribute": "id",
|
|
16023
14761
|
"reflects": true
|
|
16024
14762
|
},
|
|
16025
|
-
{
|
|
16026
|
-
"kind": "method",
|
|
16027
|
-
"name": "isDisabled",
|
|
16028
|
-
"privacy": "private",
|
|
16029
|
-
"parameters": [
|
|
16030
|
-
{
|
|
16031
|
-
"name": "element",
|
|
16032
|
-
"type": {
|
|
16033
|
-
"text": "any"
|
|
16034
|
-
},
|
|
16035
|
-
"description": "The element to check."
|
|
16036
|
-
}
|
|
16037
|
-
],
|
|
16038
|
-
"description": "Checks if the element is disabled.",
|
|
16039
|
-
"return": {
|
|
16040
|
-
"type": {
|
|
16041
|
-
"text": ""
|
|
16042
|
-
}
|
|
16043
|
-
},
|
|
16044
|
-
"inheritedFrom": {
|
|
16045
|
-
"name": "FocusTrapMixin",
|
|
16046
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
16047
|
-
}
|
|
16048
|
-
},
|
|
16049
|
-
{
|
|
16050
|
-
"kind": "method",
|
|
16051
|
-
"name": "isEqualFocusNode",
|
|
16052
|
-
"privacy": "private",
|
|
16053
|
-
"parameters": [
|
|
16054
|
-
{
|
|
16055
|
-
"name": "activeElement",
|
|
16056
|
-
"type": {
|
|
16057
|
-
"text": "HTMLElement"
|
|
16058
|
-
},
|
|
16059
|
-
"description": "The active element."
|
|
16060
|
-
},
|
|
16061
|
-
{
|
|
16062
|
-
"name": "element",
|
|
16063
|
-
"type": {
|
|
16064
|
-
"text": "HTMLElement"
|
|
16065
|
-
},
|
|
16066
|
-
"description": "The element to compare."
|
|
16067
|
-
}
|
|
16068
|
-
],
|
|
16069
|
-
"description": "Checks if the active element is equal to the given element.",
|
|
16070
|
-
"return": {
|
|
16071
|
-
"type": {
|
|
16072
|
-
"text": ""
|
|
16073
|
-
}
|
|
16074
|
-
},
|
|
16075
|
-
"inheritedFrom": {
|
|
16076
|
-
"name": "FocusTrapMixin",
|
|
16077
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
16078
|
-
}
|
|
16079
|
-
},
|
|
16080
|
-
{
|
|
16081
|
-
"kind": "method",
|
|
16082
|
-
"name": "isFocusable",
|
|
16083
|
-
"privacy": "private",
|
|
16084
|
-
"parameters": [
|
|
16085
|
-
{
|
|
16086
|
-
"name": "element",
|
|
16087
|
-
"type": {
|
|
16088
|
-
"text": "HTMLElement"
|
|
16089
|
-
},
|
|
16090
|
-
"description": "The element to check."
|
|
16091
|
-
}
|
|
16092
|
-
],
|
|
16093
|
-
"description": "Checks if the element is focusable.",
|
|
16094
|
-
"return": {
|
|
16095
|
-
"type": {
|
|
16096
|
-
"text": ""
|
|
16097
|
-
}
|
|
16098
|
-
},
|
|
16099
|
-
"inheritedFrom": {
|
|
16100
|
-
"name": "FocusTrapMixin",
|
|
16101
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
16102
|
-
}
|
|
16103
|
-
},
|
|
16104
|
-
{
|
|
16105
|
-
"kind": "method",
|
|
16106
|
-
"name": "isHidden",
|
|
16107
|
-
"privacy": "private",
|
|
16108
|
-
"parameters": [
|
|
16109
|
-
{
|
|
16110
|
-
"name": "element",
|
|
16111
|
-
"type": {
|
|
16112
|
-
"text": "HTMLElement"
|
|
16113
|
-
},
|
|
16114
|
-
"description": "The element to check."
|
|
16115
|
-
}
|
|
16116
|
-
],
|
|
16117
|
-
"description": "Checks if the element is hidden from the user.",
|
|
16118
|
-
"return": {
|
|
16119
|
-
"type": {
|
|
16120
|
-
"text": ""
|
|
16121
|
-
}
|
|
16122
|
-
},
|
|
16123
|
-
"inheritedFrom": {
|
|
16124
|
-
"name": "FocusTrapMixin",
|
|
16125
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
16126
|
-
}
|
|
16127
|
-
},
|
|
16128
|
-
{
|
|
16129
|
-
"kind": "method",
|
|
16130
|
-
"name": "isInteractiveElement",
|
|
16131
|
-
"privacy": "private",
|
|
16132
|
-
"return": {
|
|
16133
|
-
"type": {
|
|
16134
|
-
"text": ""
|
|
16135
|
-
}
|
|
16136
|
-
},
|
|
16137
|
-
"parameters": [
|
|
16138
|
-
{
|
|
16139
|
-
"name": "element",
|
|
16140
|
-
"type": {
|
|
16141
|
-
"text": "HTMLElement"
|
|
16142
|
-
},
|
|
16143
|
-
"description": "The element to check."
|
|
16144
|
-
}
|
|
16145
|
-
],
|
|
16146
|
-
"description": "Checks if the element is interactive.",
|
|
16147
|
-
"inheritedFrom": {
|
|
16148
|
-
"name": "FocusTrapMixin",
|
|
16149
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
16150
|
-
}
|
|
16151
|
-
},
|
|
16152
|
-
{
|
|
16153
|
-
"kind": "method",
|
|
16154
|
-
"name": "isNotTabbable",
|
|
16155
|
-
"privacy": "private",
|
|
16156
|
-
"parameters": [
|
|
16157
|
-
{
|
|
16158
|
-
"name": "element",
|
|
16159
|
-
"type": {
|
|
16160
|
-
"text": "HTMLElement"
|
|
16161
|
-
},
|
|
16162
|
-
"description": "The element to check."
|
|
16163
|
-
}
|
|
16164
|
-
],
|
|
16165
|
-
"description": "Checks if the element is not tabbable.",
|
|
16166
|
-
"return": {
|
|
16167
|
-
"type": {
|
|
16168
|
-
"text": ""
|
|
16169
|
-
}
|
|
16170
|
-
},
|
|
16171
|
-
"inheritedFrom": {
|
|
16172
|
-
"name": "FocusTrapMixin",
|
|
16173
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
16174
|
-
}
|
|
16175
|
-
},
|
|
16176
|
-
{
|
|
16177
|
-
"kind": "method",
|
|
16178
|
-
"name": "isNotVisible",
|
|
16179
|
-
"privacy": "private",
|
|
16180
|
-
"parameters": [
|
|
16181
|
-
{
|
|
16182
|
-
"name": "element",
|
|
16183
|
-
"type": {
|
|
16184
|
-
"text": "HTMLElement"
|
|
16185
|
-
},
|
|
16186
|
-
"description": "The element to check."
|
|
16187
|
-
}
|
|
16188
|
-
],
|
|
16189
|
-
"description": "Determines if the element is not visible in the DOM.",
|
|
16190
|
-
"return": {
|
|
16191
|
-
"type": {
|
|
16192
|
-
"text": ""
|
|
16193
|
-
}
|
|
16194
|
-
},
|
|
16195
|
-
"inheritedFrom": {
|
|
16196
|
-
"name": "FocusTrapMixin",
|
|
16197
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
16198
|
-
}
|
|
16199
|
-
},
|
|
16200
14763
|
{
|
|
16201
14764
|
"kind": "method",
|
|
16202
14765
|
"name": "isOpenUpdated",
|
|
@@ -16245,68 +14808,6 @@
|
|
|
16245
14808
|
"attribute": "role",
|
|
16246
14809
|
"reflects": true
|
|
16247
14810
|
},
|
|
16248
|
-
{
|
|
16249
|
-
"kind": "method",
|
|
16250
|
-
"name": "setFocusableElements",
|
|
16251
|
-
"privacy": "private",
|
|
16252
|
-
"description": "Updates the list of focusable elements within the component's shadow root.",
|
|
16253
|
-
"inheritedFrom": {
|
|
16254
|
-
"name": "FocusTrapMixin",
|
|
16255
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
16256
|
-
}
|
|
16257
|
-
},
|
|
16258
|
-
{
|
|
16259
|
-
"kind": "method",
|
|
16260
|
-
"name": "setInitialFocus",
|
|
16261
|
-
"privacy": "public",
|
|
16262
|
-
"parameters": [
|
|
16263
|
-
{
|
|
16264
|
-
"name": "elementIndexToReceiveFocus",
|
|
16265
|
-
"default": "0",
|
|
16266
|
-
"type": {
|
|
16267
|
-
"text": "number"
|
|
16268
|
-
},
|
|
16269
|
-
"description": "The index of the preferable element to focus."
|
|
16270
|
-
}
|
|
16271
|
-
],
|
|
16272
|
-
"description": "Sets the initial focus within the container.",
|
|
16273
|
-
"inheritedFrom": {
|
|
16274
|
-
"name": "FocusTrapMixin",
|
|
16275
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
16276
|
-
}
|
|
16277
|
-
},
|
|
16278
|
-
{
|
|
16279
|
-
"kind": "method",
|
|
16280
|
-
"name": "setIsFocusTrapActivated",
|
|
16281
|
-
"privacy": "private",
|
|
16282
|
-
"parameters": [
|
|
16283
|
-
{
|
|
16284
|
-
"name": "isActivated",
|
|
16285
|
-
"type": {
|
|
16286
|
-
"text": "boolean"
|
|
16287
|
-
}
|
|
16288
|
-
}
|
|
16289
|
-
],
|
|
16290
|
-
"inheritedFrom": {
|
|
16291
|
-
"name": "FocusTrapMixin",
|
|
16292
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
16293
|
-
}
|
|
16294
|
-
},
|
|
16295
|
-
{
|
|
16296
|
-
"kind": "field",
|
|
16297
|
-
"name": "shouldFocusTrapWrap",
|
|
16298
|
-
"type": {
|
|
16299
|
-
"text": "boolean"
|
|
16300
|
-
},
|
|
16301
|
-
"default": "true",
|
|
16302
|
-
"description": "Determines whether focus should wrap around when reaching the first or last focusable element.\nIf true, focus will cycle from end to start and vice versa.\n\nThis only applies when `focusTrap` is true.",
|
|
16303
|
-
"attribute": "should-focus-trap-wrap",
|
|
16304
|
-
"reflects": true,
|
|
16305
|
-
"inheritedFrom": {
|
|
16306
|
-
"name": "FocusTrapMixin",
|
|
16307
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
16308
|
-
}
|
|
16309
|
-
},
|
|
16310
14811
|
{
|
|
16311
14812
|
"kind": "field",
|
|
16312
14813
|
"name": "size",
|
|
@@ -16318,28 +14819,6 @@
|
|
|
16318
14819
|
"attribute": "size",
|
|
16319
14820
|
"reflects": true
|
|
16320
14821
|
},
|
|
16321
|
-
{
|
|
16322
|
-
"kind": "method",
|
|
16323
|
-
"name": "trapFocus",
|
|
16324
|
-
"privacy": "private",
|
|
16325
|
-
"parameters": [
|
|
16326
|
-
{
|
|
16327
|
-
"name": "event",
|
|
16328
|
-
"type": {
|
|
16329
|
-
"text": "KeyboardEvent"
|
|
16330
|
-
}
|
|
16331
|
-
},
|
|
16332
|
-
{
|
|
16333
|
-
"description": "The direction of the focus trap.\nIf true, the focus will be trapped in the previous element.",
|
|
16334
|
-
"name": "direction"
|
|
16335
|
-
}
|
|
16336
|
-
],
|
|
16337
|
-
"description": "Traps focus within the container.",
|
|
16338
|
-
"inheritedFrom": {
|
|
16339
|
-
"name": "FocusTrapMixin",
|
|
16340
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
16341
|
-
}
|
|
16342
|
-
},
|
|
16343
14822
|
{
|
|
16344
14823
|
"kind": "field",
|
|
16345
14824
|
"name": "triggerID",
|
|
@@ -16583,19 +15062,6 @@
|
|
|
16583
15062
|
"description": "Determines whether a backdrop should be displayed behind the dialog.\nBy default, a backdrop is present and it will cover the rest of the page and prevent interaction\nwith other elements while the dialog is open.\nWhen this attribute is set to true, no backdrop will be created.",
|
|
16584
15063
|
"default": "false",
|
|
16585
15064
|
"fieldName": "hideBackdrop"
|
|
16586
|
-
},
|
|
16587
|
-
{
|
|
16588
|
-
"name": "should-focus-trap-wrap",
|
|
16589
|
-
"type": {
|
|
16590
|
-
"text": "boolean"
|
|
16591
|
-
},
|
|
16592
|
-
"default": "true",
|
|
16593
|
-
"description": "Determines whether focus should wrap around when reaching the first or last focusable element.\nIf true, focus will cycle from end to start and vice versa.\n\nThis only applies when `focusTrap` is true.",
|
|
16594
|
-
"fieldName": "shouldFocusTrapWrap",
|
|
16595
|
-
"inheritedFrom": {
|
|
16596
|
-
"name": "FocusTrapMixin",
|
|
16597
|
-
"module": "src/utils/mixins/FocusTrapMixin.ts"
|
|
16598
|
-
}
|
|
16599
15065
|
}
|
|
16600
15066
|
],
|
|
16601
15067
|
"mixins": [
|
|
@@ -16609,7 +15075,7 @@
|
|
|
16609
15075
|
},
|
|
16610
15076
|
{
|
|
16611
15077
|
"name": "FocusTrapMixin",
|
|
16612
|
-
"module": "/src/utils/mixins/FocusTrapMixin"
|
|
15078
|
+
"module": "/src/utils/mixins/focus/FocusTrapMixin"
|
|
16613
15079
|
},
|
|
16614
15080
|
{
|
|
16615
15081
|
"name": "FooterMixin",
|
|
@@ -27611,16 +26077,6 @@
|
|
|
27611
26077
|
"module": "components/popover/popover.component.js"
|
|
27612
26078
|
}
|
|
27613
26079
|
},
|
|
27614
|
-
{
|
|
27615
|
-
"kind": "method",
|
|
27616
|
-
"name": "activateFocusTrap",
|
|
27617
|
-
"privacy": "public",
|
|
27618
|
-
"description": "Activate the focus trap",
|
|
27619
|
-
"inheritedFrom": {
|
|
27620
|
-
"name": "FocusTrapMixin",
|
|
27621
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
27622
|
-
}
|
|
27623
|
-
},
|
|
27624
26080
|
{
|
|
27625
26081
|
"kind": "method",
|
|
27626
26082
|
"name": "activatePreventScroll",
|
|
@@ -27778,37 +26234,6 @@
|
|
|
27778
26234
|
"module": "components/popover/popover.component.js"
|
|
27779
26235
|
}
|
|
27780
26236
|
},
|
|
27781
|
-
{
|
|
27782
|
-
"kind": "method",
|
|
27783
|
-
"name": "calculateNextIndex",
|
|
27784
|
-
"privacy": "private",
|
|
27785
|
-
"parameters": [
|
|
27786
|
-
{
|
|
27787
|
-
"name": "currentIndex",
|
|
27788
|
-
"type": {
|
|
27789
|
-
"text": "number"
|
|
27790
|
-
},
|
|
27791
|
-
"description": "The current index."
|
|
27792
|
-
},
|
|
27793
|
-
{
|
|
27794
|
-
"name": "step",
|
|
27795
|
-
"type": {
|
|
27796
|
-
"text": "number"
|
|
27797
|
-
},
|
|
27798
|
-
"description": "The step to calculate the next index."
|
|
27799
|
-
}
|
|
27800
|
-
],
|
|
27801
|
-
"description": "Calculates the next index for the focus trap.",
|
|
27802
|
-
"return": {
|
|
27803
|
-
"type": {
|
|
27804
|
-
"text": ""
|
|
27805
|
-
}
|
|
27806
|
-
},
|
|
27807
|
-
"inheritedFrom": {
|
|
27808
|
-
"name": "FocusTrapMixin",
|
|
27809
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
27810
|
-
}
|
|
27811
|
-
},
|
|
27812
26237
|
{
|
|
27813
26238
|
"kind": "method",
|
|
27814
26239
|
"name": "closeAllMenuPopovers",
|
|
@@ -27895,16 +26320,6 @@
|
|
|
27895
26320
|
"module": "components/popover/popover.component.js"
|
|
27896
26321
|
}
|
|
27897
26322
|
},
|
|
27898
|
-
{
|
|
27899
|
-
"kind": "method",
|
|
27900
|
-
"name": "deactivateFocusTrap",
|
|
27901
|
-
"privacy": "public",
|
|
27902
|
-
"description": "Deactivate the focus trap.",
|
|
27903
|
-
"inheritedFrom": {
|
|
27904
|
-
"name": "FocusTrapMixin",
|
|
27905
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
27906
|
-
}
|
|
27907
|
-
},
|
|
27908
26323
|
{
|
|
27909
26324
|
"kind": "method",
|
|
27910
26325
|
"name": "deactivatePreventScroll",
|
|
@@ -27959,62 +26374,6 @@
|
|
|
27959
26374
|
"module": "components/popover/popover.component.js"
|
|
27960
26375
|
}
|
|
27961
26376
|
},
|
|
27962
|
-
{
|
|
27963
|
-
"kind": "method",
|
|
27964
|
-
"name": "findElement",
|
|
27965
|
-
"privacy": "private",
|
|
27966
|
-
"parameters": [
|
|
27967
|
-
{
|
|
27968
|
-
"name": "activeElement",
|
|
27969
|
-
"type": {
|
|
27970
|
-
"text": "HTMLElement"
|
|
27971
|
-
},
|
|
27972
|
-
"description": "The active element."
|
|
27973
|
-
}
|
|
27974
|
-
],
|
|
27975
|
-
"description": "Finds the index of the active element within the focusable elements.",
|
|
27976
|
-
"return": {
|
|
27977
|
-
"type": {
|
|
27978
|
-
"text": ""
|
|
27979
|
-
}
|
|
27980
|
-
},
|
|
27981
|
-
"inheritedFrom": {
|
|
27982
|
-
"name": "FocusTrapMixin",
|
|
27983
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
27984
|
-
}
|
|
27985
|
-
},
|
|
27986
|
-
{
|
|
27987
|
-
"kind": "method",
|
|
27988
|
-
"name": "findFocusable",
|
|
27989
|
-
"privacy": "private",
|
|
27990
|
-
"return": {
|
|
27991
|
-
"type": {
|
|
27992
|
-
"text": ""
|
|
27993
|
-
}
|
|
27994
|
-
},
|
|
27995
|
-
"parameters": [
|
|
27996
|
-
{
|
|
27997
|
-
"name": "root",
|
|
27998
|
-
"type": {
|
|
27999
|
-
"text": "ShadowRoot | HTMLElement"
|
|
28000
|
-
},
|
|
28001
|
-
"description": "The root element to search for focusable elements."
|
|
28002
|
-
},
|
|
28003
|
-
{
|
|
28004
|
-
"name": "matches",
|
|
28005
|
-
"default": "new Set()",
|
|
28006
|
-
"type": {
|
|
28007
|
-
"text": "Set<HTMLElement>"
|
|
28008
|
-
},
|
|
28009
|
-
"description": "The set of focusable elements."
|
|
28010
|
-
}
|
|
28011
|
-
],
|
|
28012
|
-
"description": "Recursively finds all focusable elements within the given root and its descendants.\n\nMake sure this is performant, as it will be called multiple times.",
|
|
28013
|
-
"inheritedFrom": {
|
|
28014
|
-
"name": "FocusTrapMixin",
|
|
28015
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
28016
|
-
}
|
|
28017
|
-
},
|
|
28018
26377
|
{
|
|
28019
26378
|
"kind": "method",
|
|
28020
26379
|
"name": "fireMenuItemAction",
|
|
@@ -28056,11 +26415,10 @@
|
|
|
28056
26415
|
"type": {
|
|
28057
26416
|
"text": "boolean"
|
|
28058
26417
|
},
|
|
28059
|
-
"description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component
|
|
26418
|
+
"description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component.",
|
|
28060
26419
|
"default": "false",
|
|
28061
26420
|
"attribute": "focus-trap",
|
|
28062
26421
|
"reflects": true,
|
|
28063
|
-
"privacy": "protected",
|
|
28064
26422
|
"inheritedFrom": {
|
|
28065
26423
|
"name": "Popover",
|
|
28066
26424
|
"module": "components/popover/popover.component.js"
|
|
@@ -28114,21 +26472,6 @@
|
|
|
28114
26472
|
],
|
|
28115
26473
|
"description": "Retrieves the current index of the menu item that triggered the event."
|
|
28116
26474
|
},
|
|
28117
|
-
{
|
|
28118
|
-
"kind": "method",
|
|
28119
|
-
"name": "getDeepActiveElement",
|
|
28120
|
-
"privacy": "private",
|
|
28121
|
-
"description": "Returns the deepest active element in the shadow DOM.",
|
|
28122
|
-
"return": {
|
|
28123
|
-
"type": {
|
|
28124
|
-
"text": ""
|
|
28125
|
-
}
|
|
28126
|
-
},
|
|
28127
|
-
"inheritedFrom": {
|
|
28128
|
-
"name": "FocusTrapMixin",
|
|
28129
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
28130
|
-
}
|
|
28131
|
-
},
|
|
28132
26475
|
{
|
|
28133
26476
|
"kind": "field",
|
|
28134
26477
|
"name": "handleItemChangeEvent",
|
|
@@ -28193,121 +26536,6 @@
|
|
|
28193
26536
|
],
|
|
28194
26537
|
"description": "Handles mouse click events on the menu items.\nThis method checks if the clicked element is a valid menu item and not a submenu trigger.\nIf it is, it closes all other menu popovers to ensure only one menu is open at a time."
|
|
28195
26538
|
},
|
|
28196
|
-
{
|
|
28197
|
-
"kind": "method",
|
|
28198
|
-
"name": "handleTabKeydown",
|
|
28199
|
-
"privacy": "private",
|
|
28200
|
-
"parameters": [
|
|
28201
|
-
{
|
|
28202
|
-
"name": "event",
|
|
28203
|
-
"type": {
|
|
28204
|
-
"text": "KeyboardEvent"
|
|
28205
|
-
},
|
|
28206
|
-
"description": "The keyboard event."
|
|
28207
|
-
}
|
|
28208
|
-
],
|
|
28209
|
-
"description": "Traps focus within the container.",
|
|
28210
|
-
"inheritedFrom": {
|
|
28211
|
-
"name": "FocusTrapMixin",
|
|
28212
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
28213
|
-
}
|
|
28214
|
-
},
|
|
28215
|
-
{
|
|
28216
|
-
"kind": "method",
|
|
28217
|
-
"name": "hasComputedHidden",
|
|
28218
|
-
"privacy": "private",
|
|
28219
|
-
"parameters": [
|
|
28220
|
-
{
|
|
28221
|
-
"name": "element",
|
|
28222
|
-
"type": {
|
|
28223
|
-
"text": "HTMLElement"
|
|
28224
|
-
},
|
|
28225
|
-
"description": "The element to check."
|
|
28226
|
-
}
|
|
28227
|
-
],
|
|
28228
|
-
"description": "Checks if the element is hidden by a computed style.",
|
|
28229
|
-
"return": {
|
|
28230
|
-
"type": {
|
|
28231
|
-
"text": ""
|
|
28232
|
-
}
|
|
28233
|
-
},
|
|
28234
|
-
"inheritedFrom": {
|
|
28235
|
-
"name": "FocusTrapMixin",
|
|
28236
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
28237
|
-
}
|
|
28238
|
-
},
|
|
28239
|
-
{
|
|
28240
|
-
"kind": "method",
|
|
28241
|
-
"name": "hasHiddenStyle",
|
|
28242
|
-
"privacy": "private",
|
|
28243
|
-
"parameters": [
|
|
28244
|
-
{
|
|
28245
|
-
"name": "element",
|
|
28246
|
-
"type": {
|
|
28247
|
-
"text": "HTMLElement"
|
|
28248
|
-
},
|
|
28249
|
-
"description": "The element to check."
|
|
28250
|
-
}
|
|
28251
|
-
],
|
|
28252
|
-
"description": "Checks if the element has inline styles that make it hidden.",
|
|
28253
|
-
"return": {
|
|
28254
|
-
"type": {
|
|
28255
|
-
"text": ""
|
|
28256
|
-
}
|
|
28257
|
-
},
|
|
28258
|
-
"inheritedFrom": {
|
|
28259
|
-
"name": "FocusTrapMixin",
|
|
28260
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
28261
|
-
}
|
|
28262
|
-
},
|
|
28263
|
-
{
|
|
28264
|
-
"kind": "method",
|
|
28265
|
-
"name": "hasNoClientRects",
|
|
28266
|
-
"privacy": "private",
|
|
28267
|
-
"parameters": [
|
|
28268
|
-
{
|
|
28269
|
-
"name": "element",
|
|
28270
|
-
"type": {
|
|
28271
|
-
"text": "HTMLElement"
|
|
28272
|
-
},
|
|
28273
|
-
"description": "The element to check."
|
|
28274
|
-
}
|
|
28275
|
-
],
|
|
28276
|
-
"description": "Checks if the element has no client rectangles (not visible in the viewport).",
|
|
28277
|
-
"return": {
|
|
28278
|
-
"type": {
|
|
28279
|
-
"text": ""
|
|
28280
|
-
}
|
|
28281
|
-
},
|
|
28282
|
-
"inheritedFrom": {
|
|
28283
|
-
"name": "FocusTrapMixin",
|
|
28284
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
28285
|
-
}
|
|
28286
|
-
},
|
|
28287
|
-
{
|
|
28288
|
-
"kind": "method",
|
|
28289
|
-
"name": "hasZeroDimensions",
|
|
28290
|
-
"privacy": "private",
|
|
28291
|
-
"parameters": [
|
|
28292
|
-
{
|
|
28293
|
-
"name": "element",
|
|
28294
|
-
"type": {
|
|
28295
|
-
"text": "HTMLElement"
|
|
28296
|
-
},
|
|
28297
|
-
"description": "The element to check."
|
|
28298
|
-
}
|
|
28299
|
-
],
|
|
28300
|
-
"description": "Checks if the element has zero dimensions (width and height are both 0).",
|
|
28301
|
-
"return": {
|
|
28302
|
-
"type": {
|
|
28303
|
-
"text": ""
|
|
28304
|
-
}
|
|
28305
|
-
},
|
|
28306
|
-
"inheritedFrom": {
|
|
28307
|
-
"name": "FocusTrapMixin",
|
|
28308
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
28309
|
-
}
|
|
28310
|
-
},
|
|
28311
26539
|
{
|
|
28312
26540
|
"kind": "field",
|
|
28313
26541
|
"name": "hide",
|
|
@@ -28408,61 +26636,6 @@
|
|
|
28408
26636
|
"module": "components/popover/popover.component.js"
|
|
28409
26637
|
}
|
|
28410
26638
|
},
|
|
28411
|
-
{
|
|
28412
|
-
"kind": "method",
|
|
28413
|
-
"name": "isDisabled",
|
|
28414
|
-
"privacy": "private",
|
|
28415
|
-
"parameters": [
|
|
28416
|
-
{
|
|
28417
|
-
"name": "element",
|
|
28418
|
-
"type": {
|
|
28419
|
-
"text": "any"
|
|
28420
|
-
},
|
|
28421
|
-
"description": "The element to check."
|
|
28422
|
-
}
|
|
28423
|
-
],
|
|
28424
|
-
"description": "Checks if the element is disabled.",
|
|
28425
|
-
"return": {
|
|
28426
|
-
"type": {
|
|
28427
|
-
"text": ""
|
|
28428
|
-
}
|
|
28429
|
-
},
|
|
28430
|
-
"inheritedFrom": {
|
|
28431
|
-
"name": "FocusTrapMixin",
|
|
28432
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
28433
|
-
}
|
|
28434
|
-
},
|
|
28435
|
-
{
|
|
28436
|
-
"kind": "method",
|
|
28437
|
-
"name": "isEqualFocusNode",
|
|
28438
|
-
"privacy": "private",
|
|
28439
|
-
"parameters": [
|
|
28440
|
-
{
|
|
28441
|
-
"name": "activeElement",
|
|
28442
|
-
"type": {
|
|
28443
|
-
"text": "HTMLElement"
|
|
28444
|
-
},
|
|
28445
|
-
"description": "The active element."
|
|
28446
|
-
},
|
|
28447
|
-
{
|
|
28448
|
-
"name": "element",
|
|
28449
|
-
"type": {
|
|
28450
|
-
"text": "HTMLElement"
|
|
28451
|
-
},
|
|
28452
|
-
"description": "The element to compare."
|
|
28453
|
-
}
|
|
28454
|
-
],
|
|
28455
|
-
"description": "Checks if the active element is equal to the given element.",
|
|
28456
|
-
"return": {
|
|
28457
|
-
"type": {
|
|
28458
|
-
"text": ""
|
|
28459
|
-
}
|
|
28460
|
-
},
|
|
28461
|
-
"inheritedFrom": {
|
|
28462
|
-
"name": "FocusTrapMixin",
|
|
28463
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
28464
|
-
}
|
|
28465
|
-
},
|
|
28466
26639
|
{
|
|
28467
26640
|
"kind": "method",
|
|
28468
26641
|
"name": "isEventFromTrigger",
|
|
@@ -28485,126 +26658,6 @@
|
|
|
28485
26658
|
"module": "components/popover/popover.component.js"
|
|
28486
26659
|
}
|
|
28487
26660
|
},
|
|
28488
|
-
{
|
|
28489
|
-
"kind": "method",
|
|
28490
|
-
"name": "isFocusable",
|
|
28491
|
-
"privacy": "private",
|
|
28492
|
-
"parameters": [
|
|
28493
|
-
{
|
|
28494
|
-
"name": "element",
|
|
28495
|
-
"type": {
|
|
28496
|
-
"text": "HTMLElement"
|
|
28497
|
-
},
|
|
28498
|
-
"description": "The element to check."
|
|
28499
|
-
}
|
|
28500
|
-
],
|
|
28501
|
-
"description": "Checks if the element is focusable.",
|
|
28502
|
-
"return": {
|
|
28503
|
-
"type": {
|
|
28504
|
-
"text": ""
|
|
28505
|
-
}
|
|
28506
|
-
},
|
|
28507
|
-
"inheritedFrom": {
|
|
28508
|
-
"name": "FocusTrapMixin",
|
|
28509
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
28510
|
-
}
|
|
28511
|
-
},
|
|
28512
|
-
{
|
|
28513
|
-
"kind": "method",
|
|
28514
|
-
"name": "isHidden",
|
|
28515
|
-
"privacy": "private",
|
|
28516
|
-
"parameters": [
|
|
28517
|
-
{
|
|
28518
|
-
"name": "element",
|
|
28519
|
-
"type": {
|
|
28520
|
-
"text": "HTMLElement"
|
|
28521
|
-
},
|
|
28522
|
-
"description": "The element to check."
|
|
28523
|
-
}
|
|
28524
|
-
],
|
|
28525
|
-
"description": "Checks if the element is hidden from the user.",
|
|
28526
|
-
"return": {
|
|
28527
|
-
"type": {
|
|
28528
|
-
"text": ""
|
|
28529
|
-
}
|
|
28530
|
-
},
|
|
28531
|
-
"inheritedFrom": {
|
|
28532
|
-
"name": "FocusTrapMixin",
|
|
28533
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
28534
|
-
}
|
|
28535
|
-
},
|
|
28536
|
-
{
|
|
28537
|
-
"kind": "method",
|
|
28538
|
-
"name": "isInteractiveElement",
|
|
28539
|
-
"privacy": "private",
|
|
28540
|
-
"return": {
|
|
28541
|
-
"type": {
|
|
28542
|
-
"text": ""
|
|
28543
|
-
}
|
|
28544
|
-
},
|
|
28545
|
-
"parameters": [
|
|
28546
|
-
{
|
|
28547
|
-
"name": "element",
|
|
28548
|
-
"type": {
|
|
28549
|
-
"text": "HTMLElement"
|
|
28550
|
-
},
|
|
28551
|
-
"description": "The element to check."
|
|
28552
|
-
}
|
|
28553
|
-
],
|
|
28554
|
-
"description": "Checks if the element is interactive.",
|
|
28555
|
-
"inheritedFrom": {
|
|
28556
|
-
"name": "FocusTrapMixin",
|
|
28557
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
28558
|
-
}
|
|
28559
|
-
},
|
|
28560
|
-
{
|
|
28561
|
-
"kind": "method",
|
|
28562
|
-
"name": "isNotTabbable",
|
|
28563
|
-
"privacy": "private",
|
|
28564
|
-
"parameters": [
|
|
28565
|
-
{
|
|
28566
|
-
"name": "element",
|
|
28567
|
-
"type": {
|
|
28568
|
-
"text": "HTMLElement"
|
|
28569
|
-
},
|
|
28570
|
-
"description": "The element to check."
|
|
28571
|
-
}
|
|
28572
|
-
],
|
|
28573
|
-
"description": "Checks if the element is not tabbable.",
|
|
28574
|
-
"return": {
|
|
28575
|
-
"type": {
|
|
28576
|
-
"text": ""
|
|
28577
|
-
}
|
|
28578
|
-
},
|
|
28579
|
-
"inheritedFrom": {
|
|
28580
|
-
"name": "FocusTrapMixin",
|
|
28581
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
28582
|
-
}
|
|
28583
|
-
},
|
|
28584
|
-
{
|
|
28585
|
-
"kind": "method",
|
|
28586
|
-
"name": "isNotVisible",
|
|
28587
|
-
"privacy": "private",
|
|
28588
|
-
"parameters": [
|
|
28589
|
-
{
|
|
28590
|
-
"name": "element",
|
|
28591
|
-
"type": {
|
|
28592
|
-
"text": "HTMLElement"
|
|
28593
|
-
},
|
|
28594
|
-
"description": "The element to check."
|
|
28595
|
-
}
|
|
28596
|
-
],
|
|
28597
|
-
"description": "Determines if the element is not visible in the DOM.",
|
|
28598
|
-
"return": {
|
|
28599
|
-
"type": {
|
|
28600
|
-
"text": ""
|
|
28601
|
-
}
|
|
28602
|
-
},
|
|
28603
|
-
"inheritedFrom": {
|
|
28604
|
-
"name": "FocusTrapMixin",
|
|
28605
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
28606
|
-
}
|
|
28607
|
-
},
|
|
28608
26661
|
{
|
|
28609
26662
|
"kind": "method",
|
|
28610
26663
|
"name": "isOpenUpdated",
|
|
@@ -28799,68 +26852,6 @@
|
|
|
28799
26852
|
"module": "components/popover/popover.component.js"
|
|
28800
26853
|
}
|
|
28801
26854
|
},
|
|
28802
|
-
{
|
|
28803
|
-
"kind": "method",
|
|
28804
|
-
"name": "setFocusableElements",
|
|
28805
|
-
"privacy": "private",
|
|
28806
|
-
"description": "Updates the list of focusable elements within the component's shadow root.",
|
|
28807
|
-
"inheritedFrom": {
|
|
28808
|
-
"name": "FocusTrapMixin",
|
|
28809
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
28810
|
-
}
|
|
28811
|
-
},
|
|
28812
|
-
{
|
|
28813
|
-
"kind": "method",
|
|
28814
|
-
"name": "setInitialFocus",
|
|
28815
|
-
"privacy": "public",
|
|
28816
|
-
"parameters": [
|
|
28817
|
-
{
|
|
28818
|
-
"name": "elementIndexToReceiveFocus",
|
|
28819
|
-
"default": "0",
|
|
28820
|
-
"type": {
|
|
28821
|
-
"text": "number"
|
|
28822
|
-
},
|
|
28823
|
-
"description": "The index of the preferable element to focus."
|
|
28824
|
-
}
|
|
28825
|
-
],
|
|
28826
|
-
"description": "Sets the initial focus within the container.",
|
|
28827
|
-
"inheritedFrom": {
|
|
28828
|
-
"name": "FocusTrapMixin",
|
|
28829
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
28830
|
-
}
|
|
28831
|
-
},
|
|
28832
|
-
{
|
|
28833
|
-
"kind": "method",
|
|
28834
|
-
"name": "setIsFocusTrapActivated",
|
|
28835
|
-
"privacy": "private",
|
|
28836
|
-
"parameters": [
|
|
28837
|
-
{
|
|
28838
|
-
"name": "isActivated",
|
|
28839
|
-
"type": {
|
|
28840
|
-
"text": "boolean"
|
|
28841
|
-
}
|
|
28842
|
-
}
|
|
28843
|
-
],
|
|
28844
|
-
"inheritedFrom": {
|
|
28845
|
-
"name": "FocusTrapMixin",
|
|
28846
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
28847
|
-
}
|
|
28848
|
-
},
|
|
28849
|
-
{
|
|
28850
|
-
"kind": "field",
|
|
28851
|
-
"name": "shouldFocusTrapWrap",
|
|
28852
|
-
"type": {
|
|
28853
|
-
"text": "boolean"
|
|
28854
|
-
},
|
|
28855
|
-
"default": "true",
|
|
28856
|
-
"description": "Determines whether focus should wrap around when reaching the first or last focusable element.\nIf true, focus will cycle from end to start and vice versa.\n\nThis only applies when `focusTrap` is true.",
|
|
28857
|
-
"attribute": "should-focus-trap-wrap",
|
|
28858
|
-
"reflects": true,
|
|
28859
|
-
"inheritedFrom": {
|
|
28860
|
-
"name": "FocusTrapMixin",
|
|
28861
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
28862
|
-
}
|
|
28863
|
-
},
|
|
28864
26855
|
{
|
|
28865
26856
|
"kind": "field",
|
|
28866
26857
|
"name": "show",
|
|
@@ -28931,28 +26922,6 @@
|
|
|
28931
26922
|
"module": "components/popover/popover.component.js"
|
|
28932
26923
|
}
|
|
28933
26924
|
},
|
|
28934
|
-
{
|
|
28935
|
-
"kind": "method",
|
|
28936
|
-
"name": "trapFocus",
|
|
28937
|
-
"privacy": "private",
|
|
28938
|
-
"parameters": [
|
|
28939
|
-
{
|
|
28940
|
-
"name": "event",
|
|
28941
|
-
"type": {
|
|
28942
|
-
"text": "KeyboardEvent"
|
|
28943
|
-
}
|
|
28944
|
-
},
|
|
28945
|
-
{
|
|
28946
|
-
"description": "The direction of the focus trap.\nIf true, the focus will be trapped in the previous element.",
|
|
28947
|
-
"name": "direction"
|
|
28948
|
-
}
|
|
28949
|
-
],
|
|
28950
|
-
"description": "Traps focus within the container.",
|
|
28951
|
-
"inheritedFrom": {
|
|
28952
|
-
"name": "FocusTrapMixin",
|
|
28953
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
28954
|
-
}
|
|
28955
|
-
},
|
|
28956
26925
|
{
|
|
28957
26926
|
"kind": "field",
|
|
28958
26927
|
"name": "trigger",
|
|
@@ -29098,19 +27067,6 @@
|
|
|
29098
27067
|
"module": "src/components/popover/popover.component.ts"
|
|
29099
27068
|
}
|
|
29100
27069
|
},
|
|
29101
|
-
{
|
|
29102
|
-
"name": "should-focus-trap-wrap",
|
|
29103
|
-
"type": {
|
|
29104
|
-
"text": "boolean"
|
|
29105
|
-
},
|
|
29106
|
-
"default": "true",
|
|
29107
|
-
"description": "Determines whether focus should wrap around when reaching the first or last focusable element.\nIf true, focus will cycle from end to start and vice versa.\n\nThis only applies when `focusTrap` is true.",
|
|
29108
|
-
"fieldName": "shouldFocusTrapWrap",
|
|
29109
|
-
"inheritedFrom": {
|
|
29110
|
-
"name": "FocusTrapMixin",
|
|
29111
|
-
"module": "src/utils/mixins/FocusTrapMixin.ts"
|
|
29112
|
-
}
|
|
29113
|
-
},
|
|
29114
27070
|
{
|
|
29115
27071
|
"name": "id",
|
|
29116
27072
|
"type": {
|
|
@@ -34076,16 +32032,6 @@
|
|
|
34076
32032
|
{
|
|
34077
32033
|
"kind": "field"
|
|
34078
32034
|
},
|
|
34079
|
-
{
|
|
34080
|
-
"kind": "method",
|
|
34081
|
-
"name": "activateFocusTrap",
|
|
34082
|
-
"privacy": "public",
|
|
34083
|
-
"description": "Activate the focus trap",
|
|
34084
|
-
"inheritedFrom": {
|
|
34085
|
-
"name": "FocusTrapMixin",
|
|
34086
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
34087
|
-
}
|
|
34088
|
-
},
|
|
34089
32035
|
{
|
|
34090
32036
|
"kind": "method",
|
|
34091
32037
|
"name": "activatePreventScroll",
|
|
@@ -34203,37 +32149,6 @@
|
|
|
34203
32149
|
"attribute": "boundary-root",
|
|
34204
32150
|
"reflects": true
|
|
34205
32151
|
},
|
|
34206
|
-
{
|
|
34207
|
-
"kind": "method",
|
|
34208
|
-
"name": "calculateNextIndex",
|
|
34209
|
-
"privacy": "private",
|
|
34210
|
-
"parameters": [
|
|
34211
|
-
{
|
|
34212
|
-
"name": "currentIndex",
|
|
34213
|
-
"type": {
|
|
34214
|
-
"text": "number"
|
|
34215
|
-
},
|
|
34216
|
-
"description": "The current index."
|
|
34217
|
-
},
|
|
34218
|
-
{
|
|
34219
|
-
"name": "step",
|
|
34220
|
-
"type": {
|
|
34221
|
-
"text": "number"
|
|
34222
|
-
},
|
|
34223
|
-
"description": "The step to calculate the next index."
|
|
34224
|
-
}
|
|
34225
|
-
],
|
|
34226
|
-
"description": "Calculates the next index for the focus trap.",
|
|
34227
|
-
"return": {
|
|
34228
|
-
"type": {
|
|
34229
|
-
"text": ""
|
|
34230
|
-
}
|
|
34231
|
-
},
|
|
34232
|
-
"inheritedFrom": {
|
|
34233
|
-
"name": "FocusTrapMixin",
|
|
34234
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
34235
|
-
}
|
|
34236
|
-
},
|
|
34237
32152
|
{
|
|
34238
32153
|
"kind": "field",
|
|
34239
32154
|
"name": "closeButton",
|
|
@@ -34267,16 +32182,6 @@
|
|
|
34267
32182
|
"attribute": "color",
|
|
34268
32183
|
"reflects": true
|
|
34269
32184
|
},
|
|
34270
|
-
{
|
|
34271
|
-
"kind": "method",
|
|
34272
|
-
"name": "deactivateFocusTrap",
|
|
34273
|
-
"privacy": "public",
|
|
34274
|
-
"description": "Deactivate the focus trap.",
|
|
34275
|
-
"inheritedFrom": {
|
|
34276
|
-
"name": "FocusTrapMixin",
|
|
34277
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
34278
|
-
}
|
|
34279
|
-
},
|
|
34280
32185
|
{
|
|
34281
32186
|
"kind": "method",
|
|
34282
32187
|
"name": "deactivatePreventScroll",
|
|
@@ -34319,62 +32224,6 @@
|
|
|
34319
32224
|
"attribute": "disable-flip",
|
|
34320
32225
|
"reflects": true
|
|
34321
32226
|
},
|
|
34322
|
-
{
|
|
34323
|
-
"kind": "method",
|
|
34324
|
-
"name": "findElement",
|
|
34325
|
-
"privacy": "private",
|
|
34326
|
-
"parameters": [
|
|
34327
|
-
{
|
|
34328
|
-
"name": "activeElement",
|
|
34329
|
-
"type": {
|
|
34330
|
-
"text": "HTMLElement"
|
|
34331
|
-
},
|
|
34332
|
-
"description": "The active element."
|
|
34333
|
-
}
|
|
34334
|
-
],
|
|
34335
|
-
"description": "Finds the index of the active element within the focusable elements.",
|
|
34336
|
-
"return": {
|
|
34337
|
-
"type": {
|
|
34338
|
-
"text": ""
|
|
34339
|
-
}
|
|
34340
|
-
},
|
|
34341
|
-
"inheritedFrom": {
|
|
34342
|
-
"name": "FocusTrapMixin",
|
|
34343
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
34344
|
-
}
|
|
34345
|
-
},
|
|
34346
|
-
{
|
|
34347
|
-
"kind": "method",
|
|
34348
|
-
"name": "findFocusable",
|
|
34349
|
-
"privacy": "private",
|
|
34350
|
-
"return": {
|
|
34351
|
-
"type": {
|
|
34352
|
-
"text": ""
|
|
34353
|
-
}
|
|
34354
|
-
},
|
|
34355
|
-
"parameters": [
|
|
34356
|
-
{
|
|
34357
|
-
"name": "root",
|
|
34358
|
-
"type": {
|
|
34359
|
-
"text": "ShadowRoot | HTMLElement"
|
|
34360
|
-
},
|
|
34361
|
-
"description": "The root element to search for focusable elements."
|
|
34362
|
-
},
|
|
34363
|
-
{
|
|
34364
|
-
"name": "matches",
|
|
34365
|
-
"default": "new Set()",
|
|
34366
|
-
"type": {
|
|
34367
|
-
"text": "Set<HTMLElement>"
|
|
34368
|
-
},
|
|
34369
|
-
"description": "The set of focusable elements."
|
|
34370
|
-
}
|
|
34371
|
-
],
|
|
34372
|
-
"description": "Recursively finds all focusable elements within the given root and its descendants.\n\nMake sure this is performant, as it will be called multiple times.",
|
|
34373
|
-
"inheritedFrom": {
|
|
34374
|
-
"name": "FocusTrapMixin",
|
|
34375
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
34376
|
-
}
|
|
34377
|
-
},
|
|
34378
32227
|
{
|
|
34379
32228
|
"kind": "field",
|
|
34380
32229
|
"name": "focusBackToTrigger",
|
|
@@ -34392,15 +32241,10 @@
|
|
|
34392
32241
|
"type": {
|
|
34393
32242
|
"text": "boolean"
|
|
34394
32243
|
},
|
|
34395
|
-
"privacy": "protected",
|
|
34396
32244
|
"description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component.",
|
|
34397
32245
|
"default": "false",
|
|
34398
32246
|
"attribute": "focus-trap",
|
|
34399
|
-
"reflects": true
|
|
34400
|
-
"inheritedFrom": {
|
|
34401
|
-
"name": "FocusTrapMixin",
|
|
34402
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
34403
|
-
}
|
|
32247
|
+
"reflects": true
|
|
34404
32248
|
},
|
|
34405
32249
|
{
|
|
34406
32250
|
"kind": "method",
|
|
@@ -34430,136 +32274,6 @@
|
|
|
34430
32274
|
"module": "utils/mixins/KeyToActionMixin.js"
|
|
34431
32275
|
}
|
|
34432
32276
|
},
|
|
34433
|
-
{
|
|
34434
|
-
"kind": "method",
|
|
34435
|
-
"name": "getDeepActiveElement",
|
|
34436
|
-
"privacy": "private",
|
|
34437
|
-
"description": "Returns the deepest active element in the shadow DOM.",
|
|
34438
|
-
"return": {
|
|
34439
|
-
"type": {
|
|
34440
|
-
"text": ""
|
|
34441
|
-
}
|
|
34442
|
-
},
|
|
34443
|
-
"inheritedFrom": {
|
|
34444
|
-
"name": "FocusTrapMixin",
|
|
34445
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
34446
|
-
}
|
|
34447
|
-
},
|
|
34448
|
-
{
|
|
34449
|
-
"kind": "method",
|
|
34450
|
-
"name": "handleTabKeydown",
|
|
34451
|
-
"privacy": "private",
|
|
34452
|
-
"parameters": [
|
|
34453
|
-
{
|
|
34454
|
-
"name": "event",
|
|
34455
|
-
"type": {
|
|
34456
|
-
"text": "KeyboardEvent"
|
|
34457
|
-
},
|
|
34458
|
-
"description": "The keyboard event."
|
|
34459
|
-
}
|
|
34460
|
-
],
|
|
34461
|
-
"description": "Traps focus within the container.",
|
|
34462
|
-
"inheritedFrom": {
|
|
34463
|
-
"name": "FocusTrapMixin",
|
|
34464
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
34465
|
-
}
|
|
34466
|
-
},
|
|
34467
|
-
{
|
|
34468
|
-
"kind": "method",
|
|
34469
|
-
"name": "hasComputedHidden",
|
|
34470
|
-
"privacy": "private",
|
|
34471
|
-
"parameters": [
|
|
34472
|
-
{
|
|
34473
|
-
"name": "element",
|
|
34474
|
-
"type": {
|
|
34475
|
-
"text": "HTMLElement"
|
|
34476
|
-
},
|
|
34477
|
-
"description": "The element to check."
|
|
34478
|
-
}
|
|
34479
|
-
],
|
|
34480
|
-
"description": "Checks if the element is hidden by a computed style.",
|
|
34481
|
-
"return": {
|
|
34482
|
-
"type": {
|
|
34483
|
-
"text": ""
|
|
34484
|
-
}
|
|
34485
|
-
},
|
|
34486
|
-
"inheritedFrom": {
|
|
34487
|
-
"name": "FocusTrapMixin",
|
|
34488
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
34489
|
-
}
|
|
34490
|
-
},
|
|
34491
|
-
{
|
|
34492
|
-
"kind": "method",
|
|
34493
|
-
"name": "hasHiddenStyle",
|
|
34494
|
-
"privacy": "private",
|
|
34495
|
-
"parameters": [
|
|
34496
|
-
{
|
|
34497
|
-
"name": "element",
|
|
34498
|
-
"type": {
|
|
34499
|
-
"text": "HTMLElement"
|
|
34500
|
-
},
|
|
34501
|
-
"description": "The element to check."
|
|
34502
|
-
}
|
|
34503
|
-
],
|
|
34504
|
-
"description": "Checks if the element has inline styles that make it hidden.",
|
|
34505
|
-
"return": {
|
|
34506
|
-
"type": {
|
|
34507
|
-
"text": ""
|
|
34508
|
-
}
|
|
34509
|
-
},
|
|
34510
|
-
"inheritedFrom": {
|
|
34511
|
-
"name": "FocusTrapMixin",
|
|
34512
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
34513
|
-
}
|
|
34514
|
-
},
|
|
34515
|
-
{
|
|
34516
|
-
"kind": "method",
|
|
34517
|
-
"name": "hasNoClientRects",
|
|
34518
|
-
"privacy": "private",
|
|
34519
|
-
"parameters": [
|
|
34520
|
-
{
|
|
34521
|
-
"name": "element",
|
|
34522
|
-
"type": {
|
|
34523
|
-
"text": "HTMLElement"
|
|
34524
|
-
},
|
|
34525
|
-
"description": "The element to check."
|
|
34526
|
-
}
|
|
34527
|
-
],
|
|
34528
|
-
"description": "Checks if the element has no client rectangles (not visible in the viewport).",
|
|
34529
|
-
"return": {
|
|
34530
|
-
"type": {
|
|
34531
|
-
"text": ""
|
|
34532
|
-
}
|
|
34533
|
-
},
|
|
34534
|
-
"inheritedFrom": {
|
|
34535
|
-
"name": "FocusTrapMixin",
|
|
34536
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
34537
|
-
}
|
|
34538
|
-
},
|
|
34539
|
-
{
|
|
34540
|
-
"kind": "method",
|
|
34541
|
-
"name": "hasZeroDimensions",
|
|
34542
|
-
"privacy": "private",
|
|
34543
|
-
"parameters": [
|
|
34544
|
-
{
|
|
34545
|
-
"name": "element",
|
|
34546
|
-
"type": {
|
|
34547
|
-
"text": "HTMLElement"
|
|
34548
|
-
},
|
|
34549
|
-
"description": "The element to check."
|
|
34550
|
-
}
|
|
34551
|
-
],
|
|
34552
|
-
"description": "Checks if the element has zero dimensions (width and height are both 0).",
|
|
34553
|
-
"return": {
|
|
34554
|
-
"type": {
|
|
34555
|
-
"text": ""
|
|
34556
|
-
}
|
|
34557
|
-
},
|
|
34558
|
-
"inheritedFrom": {
|
|
34559
|
-
"name": "FocusTrapMixin",
|
|
34560
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
34561
|
-
}
|
|
34562
|
-
},
|
|
34563
32277
|
{
|
|
34564
32278
|
"kind": "field",
|
|
34565
32279
|
"name": "hide",
|
|
@@ -34632,61 +32346,6 @@
|
|
|
34632
32346
|
"attribute": "is-backdrop-invisible",
|
|
34633
32347
|
"reflects": true
|
|
34634
32348
|
},
|
|
34635
|
-
{
|
|
34636
|
-
"kind": "method",
|
|
34637
|
-
"name": "isDisabled",
|
|
34638
|
-
"privacy": "private",
|
|
34639
|
-
"parameters": [
|
|
34640
|
-
{
|
|
34641
|
-
"name": "element",
|
|
34642
|
-
"type": {
|
|
34643
|
-
"text": "any"
|
|
34644
|
-
},
|
|
34645
|
-
"description": "The element to check."
|
|
34646
|
-
}
|
|
34647
|
-
],
|
|
34648
|
-
"description": "Checks if the element is disabled.",
|
|
34649
|
-
"return": {
|
|
34650
|
-
"type": {
|
|
34651
|
-
"text": ""
|
|
34652
|
-
}
|
|
34653
|
-
},
|
|
34654
|
-
"inheritedFrom": {
|
|
34655
|
-
"name": "FocusTrapMixin",
|
|
34656
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
34657
|
-
}
|
|
34658
|
-
},
|
|
34659
|
-
{
|
|
34660
|
-
"kind": "method",
|
|
34661
|
-
"name": "isEqualFocusNode",
|
|
34662
|
-
"privacy": "private",
|
|
34663
|
-
"parameters": [
|
|
34664
|
-
{
|
|
34665
|
-
"name": "activeElement",
|
|
34666
|
-
"type": {
|
|
34667
|
-
"text": "HTMLElement"
|
|
34668
|
-
},
|
|
34669
|
-
"description": "The active element."
|
|
34670
|
-
},
|
|
34671
|
-
{
|
|
34672
|
-
"name": "element",
|
|
34673
|
-
"type": {
|
|
34674
|
-
"text": "HTMLElement"
|
|
34675
|
-
},
|
|
34676
|
-
"description": "The element to compare."
|
|
34677
|
-
}
|
|
34678
|
-
],
|
|
34679
|
-
"description": "Checks if the active element is equal to the given element.",
|
|
34680
|
-
"return": {
|
|
34681
|
-
"type": {
|
|
34682
|
-
"text": ""
|
|
34683
|
-
}
|
|
34684
|
-
},
|
|
34685
|
-
"inheritedFrom": {
|
|
34686
|
-
"name": "FocusTrapMixin",
|
|
34687
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
34688
|
-
}
|
|
34689
|
-
},
|
|
34690
32349
|
{
|
|
34691
32350
|
"kind": "method",
|
|
34692
32351
|
"name": "isEventFromTrigger",
|
|
@@ -34705,126 +32364,6 @@
|
|
|
34705
32364
|
}
|
|
34706
32365
|
]
|
|
34707
32366
|
},
|
|
34708
|
-
{
|
|
34709
|
-
"kind": "method",
|
|
34710
|
-
"name": "isFocusable",
|
|
34711
|
-
"privacy": "private",
|
|
34712
|
-
"parameters": [
|
|
34713
|
-
{
|
|
34714
|
-
"name": "element",
|
|
34715
|
-
"type": {
|
|
34716
|
-
"text": "HTMLElement"
|
|
34717
|
-
},
|
|
34718
|
-
"description": "The element to check."
|
|
34719
|
-
}
|
|
34720
|
-
],
|
|
34721
|
-
"description": "Checks if the element is focusable.",
|
|
34722
|
-
"return": {
|
|
34723
|
-
"type": {
|
|
34724
|
-
"text": ""
|
|
34725
|
-
}
|
|
34726
|
-
},
|
|
34727
|
-
"inheritedFrom": {
|
|
34728
|
-
"name": "FocusTrapMixin",
|
|
34729
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
34730
|
-
}
|
|
34731
|
-
},
|
|
34732
|
-
{
|
|
34733
|
-
"kind": "method",
|
|
34734
|
-
"name": "isHidden",
|
|
34735
|
-
"privacy": "private",
|
|
34736
|
-
"parameters": [
|
|
34737
|
-
{
|
|
34738
|
-
"name": "element",
|
|
34739
|
-
"type": {
|
|
34740
|
-
"text": "HTMLElement"
|
|
34741
|
-
},
|
|
34742
|
-
"description": "The element to check."
|
|
34743
|
-
}
|
|
34744
|
-
],
|
|
34745
|
-
"description": "Checks if the element is hidden from the user.",
|
|
34746
|
-
"return": {
|
|
34747
|
-
"type": {
|
|
34748
|
-
"text": ""
|
|
34749
|
-
}
|
|
34750
|
-
},
|
|
34751
|
-
"inheritedFrom": {
|
|
34752
|
-
"name": "FocusTrapMixin",
|
|
34753
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
34754
|
-
}
|
|
34755
|
-
},
|
|
34756
|
-
{
|
|
34757
|
-
"kind": "method",
|
|
34758
|
-
"name": "isInteractiveElement",
|
|
34759
|
-
"privacy": "private",
|
|
34760
|
-
"return": {
|
|
34761
|
-
"type": {
|
|
34762
|
-
"text": ""
|
|
34763
|
-
}
|
|
34764
|
-
},
|
|
34765
|
-
"parameters": [
|
|
34766
|
-
{
|
|
34767
|
-
"name": "element",
|
|
34768
|
-
"type": {
|
|
34769
|
-
"text": "HTMLElement"
|
|
34770
|
-
},
|
|
34771
|
-
"description": "The element to check."
|
|
34772
|
-
}
|
|
34773
|
-
],
|
|
34774
|
-
"description": "Checks if the element is interactive.",
|
|
34775
|
-
"inheritedFrom": {
|
|
34776
|
-
"name": "FocusTrapMixin",
|
|
34777
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
34778
|
-
}
|
|
34779
|
-
},
|
|
34780
|
-
{
|
|
34781
|
-
"kind": "method",
|
|
34782
|
-
"name": "isNotTabbable",
|
|
34783
|
-
"privacy": "private",
|
|
34784
|
-
"parameters": [
|
|
34785
|
-
{
|
|
34786
|
-
"name": "element",
|
|
34787
|
-
"type": {
|
|
34788
|
-
"text": "HTMLElement"
|
|
34789
|
-
},
|
|
34790
|
-
"description": "The element to check."
|
|
34791
|
-
}
|
|
34792
|
-
],
|
|
34793
|
-
"description": "Checks if the element is not tabbable.",
|
|
34794
|
-
"return": {
|
|
34795
|
-
"type": {
|
|
34796
|
-
"text": ""
|
|
34797
|
-
}
|
|
34798
|
-
},
|
|
34799
|
-
"inheritedFrom": {
|
|
34800
|
-
"name": "FocusTrapMixin",
|
|
34801
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
34802
|
-
}
|
|
34803
|
-
},
|
|
34804
|
-
{
|
|
34805
|
-
"kind": "method",
|
|
34806
|
-
"name": "isNotVisible",
|
|
34807
|
-
"privacy": "private",
|
|
34808
|
-
"parameters": [
|
|
34809
|
-
{
|
|
34810
|
-
"name": "element",
|
|
34811
|
-
"type": {
|
|
34812
|
-
"text": "HTMLElement"
|
|
34813
|
-
},
|
|
34814
|
-
"description": "The element to check."
|
|
34815
|
-
}
|
|
34816
|
-
],
|
|
34817
|
-
"description": "Determines if the element is not visible in the DOM.",
|
|
34818
|
-
"return": {
|
|
34819
|
-
"type": {
|
|
34820
|
-
"text": ""
|
|
34821
|
-
}
|
|
34822
|
-
},
|
|
34823
|
-
"inheritedFrom": {
|
|
34824
|
-
"name": "FocusTrapMixin",
|
|
34825
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
34826
|
-
}
|
|
34827
|
-
},
|
|
34828
32367
|
{
|
|
34829
32368
|
"kind": "method",
|
|
34830
32369
|
"name": "isOpenUpdated",
|
|
@@ -34912,68 +32451,6 @@
|
|
|
34912
32451
|
"attribute": "role",
|
|
34913
32452
|
"reflects": true
|
|
34914
32453
|
},
|
|
34915
|
-
{
|
|
34916
|
-
"kind": "method",
|
|
34917
|
-
"name": "setFocusableElements",
|
|
34918
|
-
"privacy": "private",
|
|
34919
|
-
"description": "Updates the list of focusable elements within the component's shadow root.",
|
|
34920
|
-
"inheritedFrom": {
|
|
34921
|
-
"name": "FocusTrapMixin",
|
|
34922
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
34923
|
-
}
|
|
34924
|
-
},
|
|
34925
|
-
{
|
|
34926
|
-
"kind": "method",
|
|
34927
|
-
"name": "setInitialFocus",
|
|
34928
|
-
"privacy": "public",
|
|
34929
|
-
"parameters": [
|
|
34930
|
-
{
|
|
34931
|
-
"name": "elementIndexToReceiveFocus",
|
|
34932
|
-
"default": "0",
|
|
34933
|
-
"type": {
|
|
34934
|
-
"text": "number"
|
|
34935
|
-
},
|
|
34936
|
-
"description": "The index of the preferable element to focus."
|
|
34937
|
-
}
|
|
34938
|
-
],
|
|
34939
|
-
"description": "Sets the initial focus within the container.",
|
|
34940
|
-
"inheritedFrom": {
|
|
34941
|
-
"name": "FocusTrapMixin",
|
|
34942
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
34943
|
-
}
|
|
34944
|
-
},
|
|
34945
|
-
{
|
|
34946
|
-
"kind": "method",
|
|
34947
|
-
"name": "setIsFocusTrapActivated",
|
|
34948
|
-
"privacy": "private",
|
|
34949
|
-
"parameters": [
|
|
34950
|
-
{
|
|
34951
|
-
"name": "isActivated",
|
|
34952
|
-
"type": {
|
|
34953
|
-
"text": "boolean"
|
|
34954
|
-
}
|
|
34955
|
-
}
|
|
34956
|
-
],
|
|
34957
|
-
"inheritedFrom": {
|
|
34958
|
-
"name": "FocusTrapMixin",
|
|
34959
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
34960
|
-
}
|
|
34961
|
-
},
|
|
34962
|
-
{
|
|
34963
|
-
"kind": "field",
|
|
34964
|
-
"name": "shouldFocusTrapWrap",
|
|
34965
|
-
"type": {
|
|
34966
|
-
"text": "boolean"
|
|
34967
|
-
},
|
|
34968
|
-
"default": "true",
|
|
34969
|
-
"description": "Determines whether focus should wrap around when reaching the first or last focusable element.\nIf true, focus will cycle from end to start and vice versa.\n\nThis only applies when `focusTrap` is true.",
|
|
34970
|
-
"attribute": "should-focus-trap-wrap",
|
|
34971
|
-
"reflects": true,
|
|
34972
|
-
"inheritedFrom": {
|
|
34973
|
-
"name": "FocusTrapMixin",
|
|
34974
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
34975
|
-
}
|
|
34976
|
-
},
|
|
34977
32454
|
{
|
|
34978
32455
|
"kind": "field",
|
|
34979
32456
|
"name": "show",
|
|
@@ -35019,28 +32496,6 @@
|
|
|
35019
32496
|
"privacy": "public",
|
|
35020
32497
|
"description": "Toggles the popover visibility."
|
|
35021
32498
|
},
|
|
35022
|
-
{
|
|
35023
|
-
"kind": "method",
|
|
35024
|
-
"name": "trapFocus",
|
|
35025
|
-
"privacy": "private",
|
|
35026
|
-
"parameters": [
|
|
35027
|
-
{
|
|
35028
|
-
"name": "event",
|
|
35029
|
-
"type": {
|
|
35030
|
-
"text": "KeyboardEvent"
|
|
35031
|
-
}
|
|
35032
|
-
},
|
|
35033
|
-
{
|
|
35034
|
-
"description": "The direction of the focus trap.\nIf true, the focus will be trapped in the previous element.",
|
|
35035
|
-
"name": "direction"
|
|
35036
|
-
}
|
|
35037
|
-
],
|
|
35038
|
-
"description": "Traps focus within the container.",
|
|
35039
|
-
"inheritedFrom": {
|
|
35040
|
-
"name": "FocusTrapMixin",
|
|
35041
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
35042
|
-
}
|
|
35043
|
-
},
|
|
35044
32499
|
{
|
|
35045
32500
|
"kind": "field",
|
|
35046
32501
|
"name": "trigger",
|
|
@@ -35445,19 +32900,6 @@
|
|
|
35445
32900
|
"description": "Whether to update the position of the Popover on every animation frame if required.\nWhile optimized for performance, it should be used sparingly and with caution.",
|
|
35446
32901
|
"default": "false",
|
|
35447
32902
|
"fieldName": "animationFrame"
|
|
35448
|
-
},
|
|
35449
|
-
{
|
|
35450
|
-
"name": "should-focus-trap-wrap",
|
|
35451
|
-
"type": {
|
|
35452
|
-
"text": "boolean"
|
|
35453
|
-
},
|
|
35454
|
-
"default": "true",
|
|
35455
|
-
"description": "Determines whether focus should wrap around when reaching the first or last focusable element.\nIf true, focus will cycle from end to start and vice versa.\n\nThis only applies when `focusTrap` is true.",
|
|
35456
|
-
"fieldName": "shouldFocusTrapWrap",
|
|
35457
|
-
"inheritedFrom": {
|
|
35458
|
-
"name": "FocusTrapMixin",
|
|
35459
|
-
"module": "src/utils/mixins/FocusTrapMixin.ts"
|
|
35460
|
-
}
|
|
35461
32903
|
}
|
|
35462
32904
|
],
|
|
35463
32905
|
"mixins": [
|
|
@@ -35475,7 +32917,7 @@
|
|
|
35475
32917
|
},
|
|
35476
32918
|
{
|
|
35477
32919
|
"name": "FocusTrapMixin",
|
|
35478
|
-
"module": "/src/utils/mixins/FocusTrapMixin"
|
|
32920
|
+
"module": "/src/utils/mixins/focus/FocusTrapMixin"
|
|
35479
32921
|
}
|
|
35480
32922
|
],
|
|
35481
32923
|
"superclass": {
|
|
@@ -50068,16 +47510,6 @@
|
|
|
50068
47510
|
"module": "components/popover/popover.component.js"
|
|
50069
47511
|
}
|
|
50070
47512
|
},
|
|
50071
|
-
{
|
|
50072
|
-
"kind": "method",
|
|
50073
|
-
"name": "activateFocusTrap",
|
|
50074
|
-
"privacy": "public",
|
|
50075
|
-
"description": "Activate the focus trap",
|
|
50076
|
-
"inheritedFrom": {
|
|
50077
|
-
"name": "Popover",
|
|
50078
|
-
"module": "components/popover/popover.component.js"
|
|
50079
|
-
}
|
|
50080
|
-
},
|
|
50081
47513
|
{
|
|
50082
47514
|
"kind": "method",
|
|
50083
47515
|
"name": "activatePreventScroll",
|
|
@@ -50235,37 +47667,6 @@
|
|
|
50235
47667
|
"module": "components/popover/popover.component.js"
|
|
50236
47668
|
}
|
|
50237
47669
|
},
|
|
50238
|
-
{
|
|
50239
|
-
"kind": "method",
|
|
50240
|
-
"name": "calculateNextIndex",
|
|
50241
|
-
"privacy": "private",
|
|
50242
|
-
"parameters": [
|
|
50243
|
-
{
|
|
50244
|
-
"name": "currentIndex",
|
|
50245
|
-
"type": {
|
|
50246
|
-
"text": "number"
|
|
50247
|
-
},
|
|
50248
|
-
"description": "The current index."
|
|
50249
|
-
},
|
|
50250
|
-
{
|
|
50251
|
-
"name": "step",
|
|
50252
|
-
"type": {
|
|
50253
|
-
"text": "number"
|
|
50254
|
-
},
|
|
50255
|
-
"description": "The step to calculate the next index."
|
|
50256
|
-
}
|
|
50257
|
-
],
|
|
50258
|
-
"description": "Calculates the next index for the focus trap.",
|
|
50259
|
-
"return": {
|
|
50260
|
-
"type": {
|
|
50261
|
-
"text": ""
|
|
50262
|
-
}
|
|
50263
|
-
},
|
|
50264
|
-
"inheritedFrom": {
|
|
50265
|
-
"name": "Popover",
|
|
50266
|
-
"module": "components/popover/popover.component.js"
|
|
50267
|
-
}
|
|
50268
|
-
},
|
|
50269
47670
|
{
|
|
50270
47671
|
"kind": "field",
|
|
50271
47672
|
"name": "closeButton",
|
|
@@ -50311,16 +47712,6 @@
|
|
|
50311
47712
|
"module": "components/popover/popover.component.js"
|
|
50312
47713
|
}
|
|
50313
47714
|
},
|
|
50314
|
-
{
|
|
50315
|
-
"kind": "method",
|
|
50316
|
-
"name": "deactivateFocusTrap",
|
|
50317
|
-
"privacy": "public",
|
|
50318
|
-
"description": "Deactivate the focus trap.",
|
|
50319
|
-
"inheritedFrom": {
|
|
50320
|
-
"name": "Popover",
|
|
50321
|
-
"module": "components/popover/popover.component.js"
|
|
50322
|
-
}
|
|
50323
|
-
},
|
|
50324
47715
|
{
|
|
50325
47716
|
"kind": "method",
|
|
50326
47717
|
"name": "deactivatePreventScroll",
|
|
@@ -50383,62 +47774,6 @@
|
|
|
50383
47774
|
"module": "components/popover/popover.component.js"
|
|
50384
47775
|
}
|
|
50385
47776
|
},
|
|
50386
|
-
{
|
|
50387
|
-
"kind": "method",
|
|
50388
|
-
"name": "findElement",
|
|
50389
|
-
"privacy": "private",
|
|
50390
|
-
"parameters": [
|
|
50391
|
-
{
|
|
50392
|
-
"name": "activeElement",
|
|
50393
|
-
"type": {
|
|
50394
|
-
"text": "HTMLElement"
|
|
50395
|
-
},
|
|
50396
|
-
"description": "The active element."
|
|
50397
|
-
}
|
|
50398
|
-
],
|
|
50399
|
-
"description": "Finds the index of the active element within the focusable elements.",
|
|
50400
|
-
"return": {
|
|
50401
|
-
"type": {
|
|
50402
|
-
"text": ""
|
|
50403
|
-
}
|
|
50404
|
-
},
|
|
50405
|
-
"inheritedFrom": {
|
|
50406
|
-
"name": "Popover",
|
|
50407
|
-
"module": "components/popover/popover.component.js"
|
|
50408
|
-
}
|
|
50409
|
-
},
|
|
50410
|
-
{
|
|
50411
|
-
"kind": "method",
|
|
50412
|
-
"name": "findFocusable",
|
|
50413
|
-
"privacy": "private",
|
|
50414
|
-
"return": {
|
|
50415
|
-
"type": {
|
|
50416
|
-
"text": ""
|
|
50417
|
-
}
|
|
50418
|
-
},
|
|
50419
|
-
"parameters": [
|
|
50420
|
-
{
|
|
50421
|
-
"name": "root",
|
|
50422
|
-
"type": {
|
|
50423
|
-
"text": "ShadowRoot | HTMLElement"
|
|
50424
|
-
},
|
|
50425
|
-
"description": "The root element to search for focusable elements."
|
|
50426
|
-
},
|
|
50427
|
-
{
|
|
50428
|
-
"name": "matches",
|
|
50429
|
-
"default": "new Set()",
|
|
50430
|
-
"type": {
|
|
50431
|
-
"text": "Set<HTMLElement>"
|
|
50432
|
-
},
|
|
50433
|
-
"description": "The set of focusable elements."
|
|
50434
|
-
}
|
|
50435
|
-
],
|
|
50436
|
-
"description": "Recursively finds all focusable elements within the given root and its descendants.\n\nMake sure this is performant, as it will be called multiple times.",
|
|
50437
|
-
"inheritedFrom": {
|
|
50438
|
-
"name": "Popover",
|
|
50439
|
-
"module": "components/popover/popover.component.js"
|
|
50440
|
-
}
|
|
50441
|
-
},
|
|
50442
47777
|
{
|
|
50443
47778
|
"kind": "field",
|
|
50444
47779
|
"name": "focusBackToTrigger",
|
|
@@ -50460,8 +47795,7 @@
|
|
|
50460
47795
|
"type": {
|
|
50461
47796
|
"text": "boolean"
|
|
50462
47797
|
},
|
|
50463
|
-
"
|
|
50464
|
-
"description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component.\n\nIMPLEMENT THIS IN YOUR COMPONENT.",
|
|
47798
|
+
"description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component.",
|
|
50465
47799
|
"default": "false",
|
|
50466
47800
|
"attribute": "focus-trap",
|
|
50467
47801
|
"reflects": true,
|
|
@@ -50498,21 +47832,6 @@
|
|
|
50498
47832
|
"module": "components/popover/popover.component.js"
|
|
50499
47833
|
}
|
|
50500
47834
|
},
|
|
50501
|
-
{
|
|
50502
|
-
"kind": "method",
|
|
50503
|
-
"name": "getDeepActiveElement",
|
|
50504
|
-
"privacy": "private",
|
|
50505
|
-
"description": "Returns the deepest active element in the shadow DOM.",
|
|
50506
|
-
"return": {
|
|
50507
|
-
"type": {
|
|
50508
|
-
"text": ""
|
|
50509
|
-
}
|
|
50510
|
-
},
|
|
50511
|
-
"inheritedFrom": {
|
|
50512
|
-
"name": "Popover",
|
|
50513
|
-
"module": "components/popover/popover.component.js"
|
|
50514
|
-
}
|
|
50515
|
-
},
|
|
50516
47835
|
{
|
|
50517
47836
|
"kind": "method",
|
|
50518
47837
|
"name": "getToggleTipText",
|
|
@@ -50523,121 +47842,6 @@
|
|
|
50523
47842
|
}
|
|
50524
47843
|
}
|
|
50525
47844
|
},
|
|
50526
|
-
{
|
|
50527
|
-
"kind": "method",
|
|
50528
|
-
"name": "handleTabKeydown",
|
|
50529
|
-
"privacy": "private",
|
|
50530
|
-
"parameters": [
|
|
50531
|
-
{
|
|
50532
|
-
"name": "event",
|
|
50533
|
-
"type": {
|
|
50534
|
-
"text": "KeyboardEvent"
|
|
50535
|
-
},
|
|
50536
|
-
"description": "The keyboard event."
|
|
50537
|
-
}
|
|
50538
|
-
],
|
|
50539
|
-
"description": "Traps focus within the container.",
|
|
50540
|
-
"inheritedFrom": {
|
|
50541
|
-
"name": "Popover",
|
|
50542
|
-
"module": "components/popover/popover.component.js"
|
|
50543
|
-
}
|
|
50544
|
-
},
|
|
50545
|
-
{
|
|
50546
|
-
"kind": "method",
|
|
50547
|
-
"name": "hasComputedHidden",
|
|
50548
|
-
"privacy": "private",
|
|
50549
|
-
"parameters": [
|
|
50550
|
-
{
|
|
50551
|
-
"name": "element",
|
|
50552
|
-
"type": {
|
|
50553
|
-
"text": "HTMLElement"
|
|
50554
|
-
},
|
|
50555
|
-
"description": "The element to check."
|
|
50556
|
-
}
|
|
50557
|
-
],
|
|
50558
|
-
"description": "Checks if the element is hidden by a computed style.",
|
|
50559
|
-
"return": {
|
|
50560
|
-
"type": {
|
|
50561
|
-
"text": ""
|
|
50562
|
-
}
|
|
50563
|
-
},
|
|
50564
|
-
"inheritedFrom": {
|
|
50565
|
-
"name": "Popover",
|
|
50566
|
-
"module": "components/popover/popover.component.js"
|
|
50567
|
-
}
|
|
50568
|
-
},
|
|
50569
|
-
{
|
|
50570
|
-
"kind": "method",
|
|
50571
|
-
"name": "hasHiddenStyle",
|
|
50572
|
-
"privacy": "private",
|
|
50573
|
-
"parameters": [
|
|
50574
|
-
{
|
|
50575
|
-
"name": "element",
|
|
50576
|
-
"type": {
|
|
50577
|
-
"text": "HTMLElement"
|
|
50578
|
-
},
|
|
50579
|
-
"description": "The element to check."
|
|
50580
|
-
}
|
|
50581
|
-
],
|
|
50582
|
-
"description": "Checks if the element has inline styles that make it hidden.",
|
|
50583
|
-
"return": {
|
|
50584
|
-
"type": {
|
|
50585
|
-
"text": ""
|
|
50586
|
-
}
|
|
50587
|
-
},
|
|
50588
|
-
"inheritedFrom": {
|
|
50589
|
-
"name": "Popover",
|
|
50590
|
-
"module": "components/popover/popover.component.js"
|
|
50591
|
-
}
|
|
50592
|
-
},
|
|
50593
|
-
{
|
|
50594
|
-
"kind": "method",
|
|
50595
|
-
"name": "hasNoClientRects",
|
|
50596
|
-
"privacy": "private",
|
|
50597
|
-
"parameters": [
|
|
50598
|
-
{
|
|
50599
|
-
"name": "element",
|
|
50600
|
-
"type": {
|
|
50601
|
-
"text": "HTMLElement"
|
|
50602
|
-
},
|
|
50603
|
-
"description": "The element to check."
|
|
50604
|
-
}
|
|
50605
|
-
],
|
|
50606
|
-
"description": "Checks if the element has no client rectangles (not visible in the viewport).",
|
|
50607
|
-
"return": {
|
|
50608
|
-
"type": {
|
|
50609
|
-
"text": ""
|
|
50610
|
-
}
|
|
50611
|
-
},
|
|
50612
|
-
"inheritedFrom": {
|
|
50613
|
-
"name": "Popover",
|
|
50614
|
-
"module": "components/popover/popover.component.js"
|
|
50615
|
-
}
|
|
50616
|
-
},
|
|
50617
|
-
{
|
|
50618
|
-
"kind": "method",
|
|
50619
|
-
"name": "hasZeroDimensions",
|
|
50620
|
-
"privacy": "private",
|
|
50621
|
-
"parameters": [
|
|
50622
|
-
{
|
|
50623
|
-
"name": "element",
|
|
50624
|
-
"type": {
|
|
50625
|
-
"text": "HTMLElement"
|
|
50626
|
-
},
|
|
50627
|
-
"description": "The element to check."
|
|
50628
|
-
}
|
|
50629
|
-
],
|
|
50630
|
-
"description": "Checks if the element has zero dimensions (width and height are both 0).",
|
|
50631
|
-
"return": {
|
|
50632
|
-
"type": {
|
|
50633
|
-
"text": ""
|
|
50634
|
-
}
|
|
50635
|
-
},
|
|
50636
|
-
"inheritedFrom": {
|
|
50637
|
-
"name": "Popover",
|
|
50638
|
-
"module": "components/popover/popover.component.js"
|
|
50639
|
-
}
|
|
50640
|
-
},
|
|
50641
47845
|
{
|
|
50642
47846
|
"kind": "field",
|
|
50643
47847
|
"name": "hide",
|
|
@@ -50738,61 +47942,6 @@
|
|
|
50738
47942
|
"module": "components/popover/popover.component.js"
|
|
50739
47943
|
}
|
|
50740
47944
|
},
|
|
50741
|
-
{
|
|
50742
|
-
"kind": "method",
|
|
50743
|
-
"name": "isDisabled",
|
|
50744
|
-
"privacy": "private",
|
|
50745
|
-
"parameters": [
|
|
50746
|
-
{
|
|
50747
|
-
"name": "element",
|
|
50748
|
-
"type": {
|
|
50749
|
-
"text": "any"
|
|
50750
|
-
},
|
|
50751
|
-
"description": "The element to check."
|
|
50752
|
-
}
|
|
50753
|
-
],
|
|
50754
|
-
"description": "Checks if the element is disabled.",
|
|
50755
|
-
"return": {
|
|
50756
|
-
"type": {
|
|
50757
|
-
"text": ""
|
|
50758
|
-
}
|
|
50759
|
-
},
|
|
50760
|
-
"inheritedFrom": {
|
|
50761
|
-
"name": "Popover",
|
|
50762
|
-
"module": "components/popover/popover.component.js"
|
|
50763
|
-
}
|
|
50764
|
-
},
|
|
50765
|
-
{
|
|
50766
|
-
"kind": "method",
|
|
50767
|
-
"name": "isEqualFocusNode",
|
|
50768
|
-
"privacy": "private",
|
|
50769
|
-
"parameters": [
|
|
50770
|
-
{
|
|
50771
|
-
"name": "activeElement",
|
|
50772
|
-
"type": {
|
|
50773
|
-
"text": "HTMLElement"
|
|
50774
|
-
},
|
|
50775
|
-
"description": "The active element."
|
|
50776
|
-
},
|
|
50777
|
-
{
|
|
50778
|
-
"name": "element",
|
|
50779
|
-
"type": {
|
|
50780
|
-
"text": "HTMLElement"
|
|
50781
|
-
},
|
|
50782
|
-
"description": "The element to compare."
|
|
50783
|
-
}
|
|
50784
|
-
],
|
|
50785
|
-
"description": "Checks if the active element is equal to the given element.",
|
|
50786
|
-
"return": {
|
|
50787
|
-
"type": {
|
|
50788
|
-
"text": ""
|
|
50789
|
-
}
|
|
50790
|
-
},
|
|
50791
|
-
"inheritedFrom": {
|
|
50792
|
-
"name": "Popover",
|
|
50793
|
-
"module": "components/popover/popover.component.js"
|
|
50794
|
-
}
|
|
50795
|
-
},
|
|
50796
47945
|
{
|
|
50797
47946
|
"kind": "method",
|
|
50798
47947
|
"name": "isEventFromTrigger",
|
|
@@ -50815,126 +47964,6 @@
|
|
|
50815
47964
|
"module": "components/popover/popover.component.js"
|
|
50816
47965
|
}
|
|
50817
47966
|
},
|
|
50818
|
-
{
|
|
50819
|
-
"kind": "method",
|
|
50820
|
-
"name": "isFocusable",
|
|
50821
|
-
"privacy": "private",
|
|
50822
|
-
"parameters": [
|
|
50823
|
-
{
|
|
50824
|
-
"name": "element",
|
|
50825
|
-
"type": {
|
|
50826
|
-
"text": "HTMLElement"
|
|
50827
|
-
},
|
|
50828
|
-
"description": "The element to check."
|
|
50829
|
-
}
|
|
50830
|
-
],
|
|
50831
|
-
"description": "Checks if the element is focusable.",
|
|
50832
|
-
"return": {
|
|
50833
|
-
"type": {
|
|
50834
|
-
"text": ""
|
|
50835
|
-
}
|
|
50836
|
-
},
|
|
50837
|
-
"inheritedFrom": {
|
|
50838
|
-
"name": "Popover",
|
|
50839
|
-
"module": "components/popover/popover.component.js"
|
|
50840
|
-
}
|
|
50841
|
-
},
|
|
50842
|
-
{
|
|
50843
|
-
"kind": "method",
|
|
50844
|
-
"name": "isHidden",
|
|
50845
|
-
"privacy": "private",
|
|
50846
|
-
"parameters": [
|
|
50847
|
-
{
|
|
50848
|
-
"name": "element",
|
|
50849
|
-
"type": {
|
|
50850
|
-
"text": "HTMLElement"
|
|
50851
|
-
},
|
|
50852
|
-
"description": "The element to check."
|
|
50853
|
-
}
|
|
50854
|
-
],
|
|
50855
|
-
"description": "Checks if the element is hidden from the user.",
|
|
50856
|
-
"return": {
|
|
50857
|
-
"type": {
|
|
50858
|
-
"text": ""
|
|
50859
|
-
}
|
|
50860
|
-
},
|
|
50861
|
-
"inheritedFrom": {
|
|
50862
|
-
"name": "Popover",
|
|
50863
|
-
"module": "components/popover/popover.component.js"
|
|
50864
|
-
}
|
|
50865
|
-
},
|
|
50866
|
-
{
|
|
50867
|
-
"kind": "method",
|
|
50868
|
-
"name": "isInteractiveElement",
|
|
50869
|
-
"privacy": "private",
|
|
50870
|
-
"return": {
|
|
50871
|
-
"type": {
|
|
50872
|
-
"text": ""
|
|
50873
|
-
}
|
|
50874
|
-
},
|
|
50875
|
-
"parameters": [
|
|
50876
|
-
{
|
|
50877
|
-
"name": "element",
|
|
50878
|
-
"type": {
|
|
50879
|
-
"text": "HTMLElement"
|
|
50880
|
-
},
|
|
50881
|
-
"description": "The element to check."
|
|
50882
|
-
}
|
|
50883
|
-
],
|
|
50884
|
-
"description": "Checks if the element is interactive.",
|
|
50885
|
-
"inheritedFrom": {
|
|
50886
|
-
"name": "Popover",
|
|
50887
|
-
"module": "components/popover/popover.component.js"
|
|
50888
|
-
}
|
|
50889
|
-
},
|
|
50890
|
-
{
|
|
50891
|
-
"kind": "method",
|
|
50892
|
-
"name": "isNotTabbable",
|
|
50893
|
-
"privacy": "private",
|
|
50894
|
-
"parameters": [
|
|
50895
|
-
{
|
|
50896
|
-
"name": "element",
|
|
50897
|
-
"type": {
|
|
50898
|
-
"text": "HTMLElement"
|
|
50899
|
-
},
|
|
50900
|
-
"description": "The element to check."
|
|
50901
|
-
}
|
|
50902
|
-
],
|
|
50903
|
-
"description": "Checks if the element is not tabbable.",
|
|
50904
|
-
"return": {
|
|
50905
|
-
"type": {
|
|
50906
|
-
"text": ""
|
|
50907
|
-
}
|
|
50908
|
-
},
|
|
50909
|
-
"inheritedFrom": {
|
|
50910
|
-
"name": "Popover",
|
|
50911
|
-
"module": "components/popover/popover.component.js"
|
|
50912
|
-
}
|
|
50913
|
-
},
|
|
50914
|
-
{
|
|
50915
|
-
"kind": "method",
|
|
50916
|
-
"name": "isNotVisible",
|
|
50917
|
-
"privacy": "private",
|
|
50918
|
-
"parameters": [
|
|
50919
|
-
{
|
|
50920
|
-
"name": "element",
|
|
50921
|
-
"type": {
|
|
50922
|
-
"text": "HTMLElement"
|
|
50923
|
-
},
|
|
50924
|
-
"description": "The element to check."
|
|
50925
|
-
}
|
|
50926
|
-
],
|
|
50927
|
-
"description": "Determines if the element is not visible in the DOM.",
|
|
50928
|
-
"return": {
|
|
50929
|
-
"type": {
|
|
50930
|
-
"text": ""
|
|
50931
|
-
}
|
|
50932
|
-
},
|
|
50933
|
-
"inheritedFrom": {
|
|
50934
|
-
"name": "Popover",
|
|
50935
|
-
"module": "components/popover/popover.component.js"
|
|
50936
|
-
}
|
|
50937
|
-
},
|
|
50938
47967
|
{
|
|
50939
47968
|
"kind": "method",
|
|
50940
47969
|
"name": "isOpenUpdated",
|
|
@@ -51071,68 +48100,6 @@
|
|
|
51071
48100
|
"attribute": "screenreader-announcer-identity",
|
|
51072
48101
|
"reflects": true
|
|
51073
48102
|
},
|
|
51074
|
-
{
|
|
51075
|
-
"kind": "method",
|
|
51076
|
-
"name": "setFocusableElements",
|
|
51077
|
-
"privacy": "private",
|
|
51078
|
-
"description": "Updates the list of focusable elements within the component's shadow root.",
|
|
51079
|
-
"inheritedFrom": {
|
|
51080
|
-
"name": "Popover",
|
|
51081
|
-
"module": "components/popover/popover.component.js"
|
|
51082
|
-
}
|
|
51083
|
-
},
|
|
51084
|
-
{
|
|
51085
|
-
"kind": "method",
|
|
51086
|
-
"name": "setInitialFocus",
|
|
51087
|
-
"privacy": "public",
|
|
51088
|
-
"parameters": [
|
|
51089
|
-
{
|
|
51090
|
-
"name": "elementIndexToReceiveFocus",
|
|
51091
|
-
"default": "0",
|
|
51092
|
-
"type": {
|
|
51093
|
-
"text": "number"
|
|
51094
|
-
},
|
|
51095
|
-
"description": "The index of the preferable element to focus."
|
|
51096
|
-
}
|
|
51097
|
-
],
|
|
51098
|
-
"description": "Sets the initial focus within the container.",
|
|
51099
|
-
"inheritedFrom": {
|
|
51100
|
-
"name": "Popover",
|
|
51101
|
-
"module": "components/popover/popover.component.js"
|
|
51102
|
-
}
|
|
51103
|
-
},
|
|
51104
|
-
{
|
|
51105
|
-
"kind": "method",
|
|
51106
|
-
"name": "setIsFocusTrapActivated",
|
|
51107
|
-
"privacy": "private",
|
|
51108
|
-
"parameters": [
|
|
51109
|
-
{
|
|
51110
|
-
"name": "isActivated",
|
|
51111
|
-
"type": {
|
|
51112
|
-
"text": "boolean"
|
|
51113
|
-
}
|
|
51114
|
-
}
|
|
51115
|
-
],
|
|
51116
|
-
"inheritedFrom": {
|
|
51117
|
-
"name": "Popover",
|
|
51118
|
-
"module": "components/popover/popover.component.js"
|
|
51119
|
-
}
|
|
51120
|
-
},
|
|
51121
|
-
{
|
|
51122
|
-
"kind": "field",
|
|
51123
|
-
"name": "shouldFocusTrapWrap",
|
|
51124
|
-
"type": {
|
|
51125
|
-
"text": "boolean"
|
|
51126
|
-
},
|
|
51127
|
-
"default": "true",
|
|
51128
|
-
"description": "Determines whether focus should wrap around when reaching the first or last focusable element.\nIf true, focus will cycle from end to start and vice versa.\n\nThis only applies when `focusTrap` is true.",
|
|
51129
|
-
"attribute": "should-focus-trap-wrap",
|
|
51130
|
-
"reflects": true,
|
|
51131
|
-
"inheritedFrom": {
|
|
51132
|
-
"name": "Popover",
|
|
51133
|
-
"module": "components/popover/popover.component.js"
|
|
51134
|
-
}
|
|
51135
|
-
},
|
|
51136
48103
|
{
|
|
51137
48104
|
"kind": "field",
|
|
51138
48105
|
"name": "show",
|
|
@@ -51198,28 +48165,6 @@
|
|
|
51198
48165
|
"module": "components/popover/popover.component.js"
|
|
51199
48166
|
}
|
|
51200
48167
|
},
|
|
51201
|
-
{
|
|
51202
|
-
"kind": "method",
|
|
51203
|
-
"name": "trapFocus",
|
|
51204
|
-
"privacy": "private",
|
|
51205
|
-
"parameters": [
|
|
51206
|
-
{
|
|
51207
|
-
"name": "event",
|
|
51208
|
-
"type": {
|
|
51209
|
-
"text": "KeyboardEvent"
|
|
51210
|
-
}
|
|
51211
|
-
},
|
|
51212
|
-
{
|
|
51213
|
-
"description": "The direction of the focus trap.\nIf true, the focus will be trapped in the previous element.",
|
|
51214
|
-
"name": "direction"
|
|
51215
|
-
}
|
|
51216
|
-
],
|
|
51217
|
-
"description": "Traps focus within the container.",
|
|
51218
|
-
"inheritedFrom": {
|
|
51219
|
-
"name": "Popover",
|
|
51220
|
-
"module": "components/popover/popover.component.js"
|
|
51221
|
-
}
|
|
51222
|
-
},
|
|
51223
48168
|
{
|
|
51224
48169
|
"kind": "field",
|
|
51225
48170
|
"name": "trigger",
|
|
@@ -51363,19 +48308,6 @@
|
|
|
51363
48308
|
"module": "src/components/popover/popover.component.ts"
|
|
51364
48309
|
}
|
|
51365
48310
|
},
|
|
51366
|
-
{
|
|
51367
|
-
"name": "should-focus-trap-wrap",
|
|
51368
|
-
"type": {
|
|
51369
|
-
"text": "boolean"
|
|
51370
|
-
},
|
|
51371
|
-
"default": "true",
|
|
51372
|
-
"description": "Determines whether focus should wrap around when reaching the first or last focusable element.\nIf true, focus will cycle from end to start and vice versa.\n\nThis only applies when `focusTrap` is true.",
|
|
51373
|
-
"fieldName": "shouldFocusTrapWrap",
|
|
51374
|
-
"inheritedFrom": {
|
|
51375
|
-
"name": "Popover",
|
|
51376
|
-
"module": "src/components/popover/popover.component.ts"
|
|
51377
|
-
}
|
|
51378
|
-
},
|
|
51379
48311
|
{
|
|
51380
48312
|
"name": "id",
|
|
51381
48313
|
"type": {
|
|
@@ -51995,16 +48927,6 @@
|
|
|
51995
48927
|
"module": "components/popover/popover.component.js"
|
|
51996
48928
|
}
|
|
51997
48929
|
},
|
|
51998
|
-
{
|
|
51999
|
-
"kind": "method",
|
|
52000
|
-
"name": "activateFocusTrap",
|
|
52001
|
-
"privacy": "public",
|
|
52002
|
-
"description": "Activate the focus trap",
|
|
52003
|
-
"inheritedFrom": {
|
|
52004
|
-
"name": "Popover",
|
|
52005
|
-
"module": "components/popover/popover.component.js"
|
|
52006
|
-
}
|
|
52007
|
-
},
|
|
52008
48930
|
{
|
|
52009
48931
|
"kind": "method",
|
|
52010
48932
|
"name": "activatePreventScroll",
|
|
@@ -52162,37 +49084,6 @@
|
|
|
52162
49084
|
"module": "components/popover/popover.component.js"
|
|
52163
49085
|
}
|
|
52164
49086
|
},
|
|
52165
|
-
{
|
|
52166
|
-
"kind": "method",
|
|
52167
|
-
"name": "calculateNextIndex",
|
|
52168
|
-
"privacy": "private",
|
|
52169
|
-
"parameters": [
|
|
52170
|
-
{
|
|
52171
|
-
"name": "currentIndex",
|
|
52172
|
-
"type": {
|
|
52173
|
-
"text": "number"
|
|
52174
|
-
},
|
|
52175
|
-
"description": "The current index."
|
|
52176
|
-
},
|
|
52177
|
-
{
|
|
52178
|
-
"name": "step",
|
|
52179
|
-
"type": {
|
|
52180
|
-
"text": "number"
|
|
52181
|
-
},
|
|
52182
|
-
"description": "The step to calculate the next index."
|
|
52183
|
-
}
|
|
52184
|
-
],
|
|
52185
|
-
"description": "Calculates the next index for the focus trap.",
|
|
52186
|
-
"return": {
|
|
52187
|
-
"type": {
|
|
52188
|
-
"text": ""
|
|
52189
|
-
}
|
|
52190
|
-
},
|
|
52191
|
-
"inheritedFrom": {
|
|
52192
|
-
"name": "Popover",
|
|
52193
|
-
"module": "components/popover/popover.component.js"
|
|
52194
|
-
}
|
|
52195
|
-
},
|
|
52196
49087
|
{
|
|
52197
49088
|
"kind": "field",
|
|
52198
49089
|
"name": "closeButton",
|
|
@@ -52238,16 +49129,6 @@
|
|
|
52238
49129
|
"module": "components/popover/popover.component.js"
|
|
52239
49130
|
}
|
|
52240
49131
|
},
|
|
52241
|
-
{
|
|
52242
|
-
"kind": "method",
|
|
52243
|
-
"name": "deactivateFocusTrap",
|
|
52244
|
-
"privacy": "public",
|
|
52245
|
-
"description": "Deactivate the focus trap.",
|
|
52246
|
-
"inheritedFrom": {
|
|
52247
|
-
"name": "Popover",
|
|
52248
|
-
"module": "components/popover/popover.component.js"
|
|
52249
|
-
}
|
|
52250
|
-
},
|
|
52251
49132
|
{
|
|
52252
49133
|
"kind": "method",
|
|
52253
49134
|
"name": "deactivatePreventScroll",
|
|
@@ -52302,62 +49183,6 @@
|
|
|
52302
49183
|
"module": "components/popover/popover.component.js"
|
|
52303
49184
|
}
|
|
52304
49185
|
},
|
|
52305
|
-
{
|
|
52306
|
-
"kind": "method",
|
|
52307
|
-
"name": "findElement",
|
|
52308
|
-
"privacy": "private",
|
|
52309
|
-
"parameters": [
|
|
52310
|
-
{
|
|
52311
|
-
"name": "activeElement",
|
|
52312
|
-
"type": {
|
|
52313
|
-
"text": "HTMLElement"
|
|
52314
|
-
},
|
|
52315
|
-
"description": "The active element."
|
|
52316
|
-
}
|
|
52317
|
-
],
|
|
52318
|
-
"description": "Finds the index of the active element within the focusable elements.",
|
|
52319
|
-
"return": {
|
|
52320
|
-
"type": {
|
|
52321
|
-
"text": ""
|
|
52322
|
-
}
|
|
52323
|
-
},
|
|
52324
|
-
"inheritedFrom": {
|
|
52325
|
-
"name": "Popover",
|
|
52326
|
-
"module": "components/popover/popover.component.js"
|
|
52327
|
-
}
|
|
52328
|
-
},
|
|
52329
|
-
{
|
|
52330
|
-
"kind": "method",
|
|
52331
|
-
"name": "findFocusable",
|
|
52332
|
-
"privacy": "private",
|
|
52333
|
-
"return": {
|
|
52334
|
-
"type": {
|
|
52335
|
-
"text": ""
|
|
52336
|
-
}
|
|
52337
|
-
},
|
|
52338
|
-
"parameters": [
|
|
52339
|
-
{
|
|
52340
|
-
"name": "root",
|
|
52341
|
-
"type": {
|
|
52342
|
-
"text": "ShadowRoot | HTMLElement"
|
|
52343
|
-
},
|
|
52344
|
-
"description": "The root element to search for focusable elements."
|
|
52345
|
-
},
|
|
52346
|
-
{
|
|
52347
|
-
"name": "matches",
|
|
52348
|
-
"default": "new Set()",
|
|
52349
|
-
"type": {
|
|
52350
|
-
"text": "Set<HTMLElement>"
|
|
52351
|
-
},
|
|
52352
|
-
"description": "The set of focusable elements."
|
|
52353
|
-
}
|
|
52354
|
-
],
|
|
52355
|
-
"description": "Recursively finds all focusable elements within the given root and its descendants.\n\nMake sure this is performant, as it will be called multiple times.",
|
|
52356
|
-
"inheritedFrom": {
|
|
52357
|
-
"name": "Popover",
|
|
52358
|
-
"module": "components/popover/popover.component.js"
|
|
52359
|
-
}
|
|
52360
|
-
},
|
|
52361
49186
|
{
|
|
52362
49187
|
"kind": "field",
|
|
52363
49188
|
"name": "focusBackToTrigger",
|
|
@@ -52379,8 +49204,7 @@
|
|
|
52379
49204
|
"type": {
|
|
52380
49205
|
"text": "boolean"
|
|
52381
49206
|
},
|
|
52382
|
-
"
|
|
52383
|
-
"description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component.\n\nIMPLEMENT THIS IN YOUR COMPONENT.",
|
|
49207
|
+
"description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component.",
|
|
52384
49208
|
"default": "false",
|
|
52385
49209
|
"attribute": "focus-trap",
|
|
52386
49210
|
"reflects": true,
|
|
@@ -52417,136 +49241,6 @@
|
|
|
52417
49241
|
"module": "components/popover/popover.component.js"
|
|
52418
49242
|
}
|
|
52419
49243
|
},
|
|
52420
|
-
{
|
|
52421
|
-
"kind": "method",
|
|
52422
|
-
"name": "getDeepActiveElement",
|
|
52423
|
-
"privacy": "private",
|
|
52424
|
-
"description": "Returns the deepest active element in the shadow DOM.",
|
|
52425
|
-
"return": {
|
|
52426
|
-
"type": {
|
|
52427
|
-
"text": ""
|
|
52428
|
-
}
|
|
52429
|
-
},
|
|
52430
|
-
"inheritedFrom": {
|
|
52431
|
-
"name": "Popover",
|
|
52432
|
-
"module": "components/popover/popover.component.js"
|
|
52433
|
-
}
|
|
52434
|
-
},
|
|
52435
|
-
{
|
|
52436
|
-
"kind": "method",
|
|
52437
|
-
"name": "handleTabKeydown",
|
|
52438
|
-
"privacy": "private",
|
|
52439
|
-
"parameters": [
|
|
52440
|
-
{
|
|
52441
|
-
"name": "event",
|
|
52442
|
-
"type": {
|
|
52443
|
-
"text": "KeyboardEvent"
|
|
52444
|
-
},
|
|
52445
|
-
"description": "The keyboard event."
|
|
52446
|
-
}
|
|
52447
|
-
],
|
|
52448
|
-
"description": "Traps focus within the container.",
|
|
52449
|
-
"inheritedFrom": {
|
|
52450
|
-
"name": "Popover",
|
|
52451
|
-
"module": "components/popover/popover.component.js"
|
|
52452
|
-
}
|
|
52453
|
-
},
|
|
52454
|
-
{
|
|
52455
|
-
"kind": "method",
|
|
52456
|
-
"name": "hasComputedHidden",
|
|
52457
|
-
"privacy": "private",
|
|
52458
|
-
"parameters": [
|
|
52459
|
-
{
|
|
52460
|
-
"name": "element",
|
|
52461
|
-
"type": {
|
|
52462
|
-
"text": "HTMLElement"
|
|
52463
|
-
},
|
|
52464
|
-
"description": "The element to check."
|
|
52465
|
-
}
|
|
52466
|
-
],
|
|
52467
|
-
"description": "Checks if the element is hidden by a computed style.",
|
|
52468
|
-
"return": {
|
|
52469
|
-
"type": {
|
|
52470
|
-
"text": ""
|
|
52471
|
-
}
|
|
52472
|
-
},
|
|
52473
|
-
"inheritedFrom": {
|
|
52474
|
-
"name": "Popover",
|
|
52475
|
-
"module": "components/popover/popover.component.js"
|
|
52476
|
-
}
|
|
52477
|
-
},
|
|
52478
|
-
{
|
|
52479
|
-
"kind": "method",
|
|
52480
|
-
"name": "hasHiddenStyle",
|
|
52481
|
-
"privacy": "private",
|
|
52482
|
-
"parameters": [
|
|
52483
|
-
{
|
|
52484
|
-
"name": "element",
|
|
52485
|
-
"type": {
|
|
52486
|
-
"text": "HTMLElement"
|
|
52487
|
-
},
|
|
52488
|
-
"description": "The element to check."
|
|
52489
|
-
}
|
|
52490
|
-
],
|
|
52491
|
-
"description": "Checks if the element has inline styles that make it hidden.",
|
|
52492
|
-
"return": {
|
|
52493
|
-
"type": {
|
|
52494
|
-
"text": ""
|
|
52495
|
-
}
|
|
52496
|
-
},
|
|
52497
|
-
"inheritedFrom": {
|
|
52498
|
-
"name": "Popover",
|
|
52499
|
-
"module": "components/popover/popover.component.js"
|
|
52500
|
-
}
|
|
52501
|
-
},
|
|
52502
|
-
{
|
|
52503
|
-
"kind": "method",
|
|
52504
|
-
"name": "hasNoClientRects",
|
|
52505
|
-
"privacy": "private",
|
|
52506
|
-
"parameters": [
|
|
52507
|
-
{
|
|
52508
|
-
"name": "element",
|
|
52509
|
-
"type": {
|
|
52510
|
-
"text": "HTMLElement"
|
|
52511
|
-
},
|
|
52512
|
-
"description": "The element to check."
|
|
52513
|
-
}
|
|
52514
|
-
],
|
|
52515
|
-
"description": "Checks if the element has no client rectangles (not visible in the viewport).",
|
|
52516
|
-
"return": {
|
|
52517
|
-
"type": {
|
|
52518
|
-
"text": ""
|
|
52519
|
-
}
|
|
52520
|
-
},
|
|
52521
|
-
"inheritedFrom": {
|
|
52522
|
-
"name": "Popover",
|
|
52523
|
-
"module": "components/popover/popover.component.js"
|
|
52524
|
-
}
|
|
52525
|
-
},
|
|
52526
|
-
{
|
|
52527
|
-
"kind": "method",
|
|
52528
|
-
"name": "hasZeroDimensions",
|
|
52529
|
-
"privacy": "private",
|
|
52530
|
-
"parameters": [
|
|
52531
|
-
{
|
|
52532
|
-
"name": "element",
|
|
52533
|
-
"type": {
|
|
52534
|
-
"text": "HTMLElement"
|
|
52535
|
-
},
|
|
52536
|
-
"description": "The element to check."
|
|
52537
|
-
}
|
|
52538
|
-
],
|
|
52539
|
-
"description": "Checks if the element has zero dimensions (width and height are both 0).",
|
|
52540
|
-
"return": {
|
|
52541
|
-
"type": {
|
|
52542
|
-
"text": ""
|
|
52543
|
-
}
|
|
52544
|
-
},
|
|
52545
|
-
"inheritedFrom": {
|
|
52546
|
-
"name": "Popover",
|
|
52547
|
-
"module": "components/popover/popover.component.js"
|
|
52548
|
-
}
|
|
52549
|
-
},
|
|
52550
49244
|
{
|
|
52551
49245
|
"kind": "field",
|
|
52552
49246
|
"name": "hide",
|
|
@@ -52647,61 +49341,6 @@
|
|
|
52647
49341
|
"module": "components/popover/popover.component.js"
|
|
52648
49342
|
}
|
|
52649
49343
|
},
|
|
52650
|
-
{
|
|
52651
|
-
"kind": "method",
|
|
52652
|
-
"name": "isDisabled",
|
|
52653
|
-
"privacy": "private",
|
|
52654
|
-
"parameters": [
|
|
52655
|
-
{
|
|
52656
|
-
"name": "element",
|
|
52657
|
-
"type": {
|
|
52658
|
-
"text": "any"
|
|
52659
|
-
},
|
|
52660
|
-
"description": "The element to check."
|
|
52661
|
-
}
|
|
52662
|
-
],
|
|
52663
|
-
"description": "Checks if the element is disabled.",
|
|
52664
|
-
"return": {
|
|
52665
|
-
"type": {
|
|
52666
|
-
"text": ""
|
|
52667
|
-
}
|
|
52668
|
-
},
|
|
52669
|
-
"inheritedFrom": {
|
|
52670
|
-
"name": "Popover",
|
|
52671
|
-
"module": "components/popover/popover.component.js"
|
|
52672
|
-
}
|
|
52673
|
-
},
|
|
52674
|
-
{
|
|
52675
|
-
"kind": "method",
|
|
52676
|
-
"name": "isEqualFocusNode",
|
|
52677
|
-
"privacy": "private",
|
|
52678
|
-
"parameters": [
|
|
52679
|
-
{
|
|
52680
|
-
"name": "activeElement",
|
|
52681
|
-
"type": {
|
|
52682
|
-
"text": "HTMLElement"
|
|
52683
|
-
},
|
|
52684
|
-
"description": "The active element."
|
|
52685
|
-
},
|
|
52686
|
-
{
|
|
52687
|
-
"name": "element",
|
|
52688
|
-
"type": {
|
|
52689
|
-
"text": "HTMLElement"
|
|
52690
|
-
},
|
|
52691
|
-
"description": "The element to compare."
|
|
52692
|
-
}
|
|
52693
|
-
],
|
|
52694
|
-
"description": "Checks if the active element is equal to the given element.",
|
|
52695
|
-
"return": {
|
|
52696
|
-
"type": {
|
|
52697
|
-
"text": ""
|
|
52698
|
-
}
|
|
52699
|
-
},
|
|
52700
|
-
"inheritedFrom": {
|
|
52701
|
-
"name": "Popover",
|
|
52702
|
-
"module": "components/popover/popover.component.js"
|
|
52703
|
-
}
|
|
52704
|
-
},
|
|
52705
49344
|
{
|
|
52706
49345
|
"kind": "method",
|
|
52707
49346
|
"name": "isEventFromTrigger",
|
|
@@ -52724,126 +49363,6 @@
|
|
|
52724
49363
|
"module": "components/popover/popover.component.js"
|
|
52725
49364
|
}
|
|
52726
49365
|
},
|
|
52727
|
-
{
|
|
52728
|
-
"kind": "method",
|
|
52729
|
-
"name": "isFocusable",
|
|
52730
|
-
"privacy": "private",
|
|
52731
|
-
"parameters": [
|
|
52732
|
-
{
|
|
52733
|
-
"name": "element",
|
|
52734
|
-
"type": {
|
|
52735
|
-
"text": "HTMLElement"
|
|
52736
|
-
},
|
|
52737
|
-
"description": "The element to check."
|
|
52738
|
-
}
|
|
52739
|
-
],
|
|
52740
|
-
"description": "Checks if the element is focusable.",
|
|
52741
|
-
"return": {
|
|
52742
|
-
"type": {
|
|
52743
|
-
"text": ""
|
|
52744
|
-
}
|
|
52745
|
-
},
|
|
52746
|
-
"inheritedFrom": {
|
|
52747
|
-
"name": "Popover",
|
|
52748
|
-
"module": "components/popover/popover.component.js"
|
|
52749
|
-
}
|
|
52750
|
-
},
|
|
52751
|
-
{
|
|
52752
|
-
"kind": "method",
|
|
52753
|
-
"name": "isHidden",
|
|
52754
|
-
"privacy": "private",
|
|
52755
|
-
"parameters": [
|
|
52756
|
-
{
|
|
52757
|
-
"name": "element",
|
|
52758
|
-
"type": {
|
|
52759
|
-
"text": "HTMLElement"
|
|
52760
|
-
},
|
|
52761
|
-
"description": "The element to check."
|
|
52762
|
-
}
|
|
52763
|
-
],
|
|
52764
|
-
"description": "Checks if the element is hidden from the user.",
|
|
52765
|
-
"return": {
|
|
52766
|
-
"type": {
|
|
52767
|
-
"text": ""
|
|
52768
|
-
}
|
|
52769
|
-
},
|
|
52770
|
-
"inheritedFrom": {
|
|
52771
|
-
"name": "Popover",
|
|
52772
|
-
"module": "components/popover/popover.component.js"
|
|
52773
|
-
}
|
|
52774
|
-
},
|
|
52775
|
-
{
|
|
52776
|
-
"kind": "method",
|
|
52777
|
-
"name": "isInteractiveElement",
|
|
52778
|
-
"privacy": "private",
|
|
52779
|
-
"return": {
|
|
52780
|
-
"type": {
|
|
52781
|
-
"text": ""
|
|
52782
|
-
}
|
|
52783
|
-
},
|
|
52784
|
-
"parameters": [
|
|
52785
|
-
{
|
|
52786
|
-
"name": "element",
|
|
52787
|
-
"type": {
|
|
52788
|
-
"text": "HTMLElement"
|
|
52789
|
-
},
|
|
52790
|
-
"description": "The element to check."
|
|
52791
|
-
}
|
|
52792
|
-
],
|
|
52793
|
-
"description": "Checks if the element is interactive.",
|
|
52794
|
-
"inheritedFrom": {
|
|
52795
|
-
"name": "Popover",
|
|
52796
|
-
"module": "components/popover/popover.component.js"
|
|
52797
|
-
}
|
|
52798
|
-
},
|
|
52799
|
-
{
|
|
52800
|
-
"kind": "method",
|
|
52801
|
-
"name": "isNotTabbable",
|
|
52802
|
-
"privacy": "private",
|
|
52803
|
-
"parameters": [
|
|
52804
|
-
{
|
|
52805
|
-
"name": "element",
|
|
52806
|
-
"type": {
|
|
52807
|
-
"text": "HTMLElement"
|
|
52808
|
-
},
|
|
52809
|
-
"description": "The element to check."
|
|
52810
|
-
}
|
|
52811
|
-
],
|
|
52812
|
-
"description": "Checks if the element is not tabbable.",
|
|
52813
|
-
"return": {
|
|
52814
|
-
"type": {
|
|
52815
|
-
"text": ""
|
|
52816
|
-
}
|
|
52817
|
-
},
|
|
52818
|
-
"inheritedFrom": {
|
|
52819
|
-
"name": "Popover",
|
|
52820
|
-
"module": "components/popover/popover.component.js"
|
|
52821
|
-
}
|
|
52822
|
-
},
|
|
52823
|
-
{
|
|
52824
|
-
"kind": "method",
|
|
52825
|
-
"name": "isNotVisible",
|
|
52826
|
-
"privacy": "private",
|
|
52827
|
-
"parameters": [
|
|
52828
|
-
{
|
|
52829
|
-
"name": "element",
|
|
52830
|
-
"type": {
|
|
52831
|
-
"text": "HTMLElement"
|
|
52832
|
-
},
|
|
52833
|
-
"description": "The element to check."
|
|
52834
|
-
}
|
|
52835
|
-
],
|
|
52836
|
-
"description": "Determines if the element is not visible in the DOM.",
|
|
52837
|
-
"return": {
|
|
52838
|
-
"type": {
|
|
52839
|
-
"text": ""
|
|
52840
|
-
}
|
|
52841
|
-
},
|
|
52842
|
-
"inheritedFrom": {
|
|
52843
|
-
"name": "Popover",
|
|
52844
|
-
"module": "components/popover/popover.component.js"
|
|
52845
|
-
}
|
|
52846
|
-
},
|
|
52847
49366
|
{
|
|
52848
49367
|
"kind": "method",
|
|
52849
49368
|
"name": "isOpenUpdated",
|
|
@@ -53001,53 +49520,6 @@
|
|
|
53001
49520
|
"module": "components/popover/popover.component.js"
|
|
53002
49521
|
}
|
|
53003
49522
|
},
|
|
53004
|
-
{
|
|
53005
|
-
"kind": "method",
|
|
53006
|
-
"name": "setFocusableElements",
|
|
53007
|
-
"privacy": "private",
|
|
53008
|
-
"description": "Updates the list of focusable elements within the component's shadow root.",
|
|
53009
|
-
"inheritedFrom": {
|
|
53010
|
-
"name": "Popover",
|
|
53011
|
-
"module": "components/popover/popover.component.js"
|
|
53012
|
-
}
|
|
53013
|
-
},
|
|
53014
|
-
{
|
|
53015
|
-
"kind": "method",
|
|
53016
|
-
"name": "setInitialFocus",
|
|
53017
|
-
"privacy": "public",
|
|
53018
|
-
"parameters": [
|
|
53019
|
-
{
|
|
53020
|
-
"name": "elementIndexToReceiveFocus",
|
|
53021
|
-
"default": "0",
|
|
53022
|
-
"type": {
|
|
53023
|
-
"text": "number"
|
|
53024
|
-
},
|
|
53025
|
-
"description": "The index of the preferable element to focus."
|
|
53026
|
-
}
|
|
53027
|
-
],
|
|
53028
|
-
"description": "Sets the initial focus within the container.",
|
|
53029
|
-
"inheritedFrom": {
|
|
53030
|
-
"name": "Popover",
|
|
53031
|
-
"module": "components/popover/popover.component.js"
|
|
53032
|
-
}
|
|
53033
|
-
},
|
|
53034
|
-
{
|
|
53035
|
-
"kind": "method",
|
|
53036
|
-
"name": "setIsFocusTrapActivated",
|
|
53037
|
-
"privacy": "private",
|
|
53038
|
-
"parameters": [
|
|
53039
|
-
{
|
|
53040
|
-
"name": "isActivated",
|
|
53041
|
-
"type": {
|
|
53042
|
-
"text": "boolean"
|
|
53043
|
-
}
|
|
53044
|
-
}
|
|
53045
|
-
],
|
|
53046
|
-
"inheritedFrom": {
|
|
53047
|
-
"name": "Popover",
|
|
53048
|
-
"module": "components/popover/popover.component.js"
|
|
53049
|
-
}
|
|
53050
|
-
},
|
|
53051
49523
|
{
|
|
53052
49524
|
"kind": "method",
|
|
53053
49525
|
"name": "setTooltipType",
|
|
@@ -53068,21 +49540,6 @@
|
|
|
53068
49540
|
],
|
|
53069
49541
|
"description": "Sets the type attribute for the tooltip component.\nIf the provided type is not included in the TOOLTIP_TYPES,\nit defaults to the value specified in DEFAULTS.TOOLTIP_TYPE."
|
|
53070
49542
|
},
|
|
53071
|
-
{
|
|
53072
|
-
"kind": "field",
|
|
53073
|
-
"name": "shouldFocusTrapWrap",
|
|
53074
|
-
"type": {
|
|
53075
|
-
"text": "boolean"
|
|
53076
|
-
},
|
|
53077
|
-
"default": "true",
|
|
53078
|
-
"description": "Determines whether focus should wrap around when reaching the first or last focusable element.\nIf true, focus will cycle from end to start and vice versa.\n\nThis only applies when `focusTrap` is true.",
|
|
53079
|
-
"attribute": "should-focus-trap-wrap",
|
|
53080
|
-
"reflects": true,
|
|
53081
|
-
"inheritedFrom": {
|
|
53082
|
-
"name": "Popover",
|
|
53083
|
-
"module": "components/popover/popover.component.js"
|
|
53084
|
-
}
|
|
53085
|
-
},
|
|
53086
49543
|
{
|
|
53087
49544
|
"kind": "field",
|
|
53088
49545
|
"name": "show",
|
|
@@ -53159,28 +49616,6 @@
|
|
|
53159
49616
|
"attribute": "tooltip-type",
|
|
53160
49617
|
"reflects": true
|
|
53161
49618
|
},
|
|
53162
|
-
{
|
|
53163
|
-
"kind": "method",
|
|
53164
|
-
"name": "trapFocus",
|
|
53165
|
-
"privacy": "private",
|
|
53166
|
-
"parameters": [
|
|
53167
|
-
{
|
|
53168
|
-
"name": "event",
|
|
53169
|
-
"type": {
|
|
53170
|
-
"text": "KeyboardEvent"
|
|
53171
|
-
}
|
|
53172
|
-
},
|
|
53173
|
-
{
|
|
53174
|
-
"description": "The direction of the focus trap.\nIf true, the focus will be trapped in the previous element.",
|
|
53175
|
-
"name": "direction"
|
|
53176
|
-
}
|
|
53177
|
-
],
|
|
53178
|
-
"description": "Traps focus within the container.",
|
|
53179
|
-
"inheritedFrom": {
|
|
53180
|
-
"name": "Popover",
|
|
53181
|
-
"module": "components/popover/popover.component.js"
|
|
53182
|
-
}
|
|
53183
|
-
},
|
|
53184
49619
|
{
|
|
53185
49620
|
"kind": "field",
|
|
53186
49621
|
"name": "trigger",
|
|
@@ -53312,19 +49747,6 @@
|
|
|
53312
49747
|
"default": "'description'",
|
|
53313
49748
|
"fieldName": "tooltipType"
|
|
53314
49749
|
},
|
|
53315
|
-
{
|
|
53316
|
-
"name": "should-focus-trap-wrap",
|
|
53317
|
-
"type": {
|
|
53318
|
-
"text": "boolean"
|
|
53319
|
-
},
|
|
53320
|
-
"default": "true",
|
|
53321
|
-
"description": "Determines whether focus should wrap around when reaching the first or last focusable element.\nIf true, focus will cycle from end to start and vice versa.\n\nThis only applies when `focusTrap` is true.",
|
|
53322
|
-
"fieldName": "shouldFocusTrapWrap",
|
|
53323
|
-
"inheritedFrom": {
|
|
53324
|
-
"name": "Popover",
|
|
53325
|
-
"module": "src/components/popover/popover.component.ts"
|
|
53326
|
-
}
|
|
53327
|
-
},
|
|
53328
49750
|
{
|
|
53329
49751
|
"name": "id",
|
|
53330
49752
|
"type": {
|
|
@@ -55913,538 +52335,6 @@
|
|
|
55913
52335
|
}
|
|
55914
52336
|
]
|
|
55915
52337
|
},
|
|
55916
|
-
{
|
|
55917
|
-
"kind": "javascript-module",
|
|
55918
|
-
"path": "utils/mixins/FocusTrapMixin.js",
|
|
55919
|
-
"declarations": [
|
|
55920
|
-
{
|
|
55921
|
-
"kind": "class",
|
|
55922
|
-
"description": "",
|
|
55923
|
-
"name": "FocusTrapClassInterface",
|
|
55924
|
-
"members": [
|
|
55925
|
-
{
|
|
55926
|
-
"kind": "method",
|
|
55927
|
-
"name": "activateFocusTrap",
|
|
55928
|
-
"return": {
|
|
55929
|
-
"type": {
|
|
55930
|
-
"text": "void"
|
|
55931
|
-
}
|
|
55932
|
-
}
|
|
55933
|
-
},
|
|
55934
|
-
{
|
|
55935
|
-
"kind": "method",
|
|
55936
|
-
"name": "deactivateFocusTrap",
|
|
55937
|
-
"return": {
|
|
55938
|
-
"type": {
|
|
55939
|
-
"text": "void"
|
|
55940
|
-
}
|
|
55941
|
-
}
|
|
55942
|
-
},
|
|
55943
|
-
{
|
|
55944
|
-
"kind": "field",
|
|
55945
|
-
"name": "focusTrap",
|
|
55946
|
-
"type": {
|
|
55947
|
-
"text": "boolean"
|
|
55948
|
-
},
|
|
55949
|
-
"privacy": "protected"
|
|
55950
|
-
},
|
|
55951
|
-
{
|
|
55952
|
-
"kind": "method",
|
|
55953
|
-
"name": "setInitialFocus",
|
|
55954
|
-
"return": {
|
|
55955
|
-
"type": {
|
|
55956
|
-
"text": "void"
|
|
55957
|
-
}
|
|
55958
|
-
},
|
|
55959
|
-
"parameters": [
|
|
55960
|
-
{
|
|
55961
|
-
"name": "elementIndexToReceiveFocus",
|
|
55962
|
-
"optional": true,
|
|
55963
|
-
"type": {
|
|
55964
|
-
"text": "number"
|
|
55965
|
-
}
|
|
55966
|
-
}
|
|
55967
|
-
]
|
|
55968
|
-
},
|
|
55969
|
-
{
|
|
55970
|
-
"kind": "method",
|
|
55971
|
-
"name": "setIsFocusTrapActivated",
|
|
55972
|
-
"privacy": "private",
|
|
55973
|
-
"return": {
|
|
55974
|
-
"type": {
|
|
55975
|
-
"text": "void"
|
|
55976
|
-
}
|
|
55977
|
-
},
|
|
55978
|
-
"parameters": [
|
|
55979
|
-
{
|
|
55980
|
-
"name": "isActivated",
|
|
55981
|
-
"type": {
|
|
55982
|
-
"text": "boolean"
|
|
55983
|
-
}
|
|
55984
|
-
}
|
|
55985
|
-
]
|
|
55986
|
-
}
|
|
55987
|
-
]
|
|
55988
|
-
},
|
|
55989
|
-
{
|
|
55990
|
-
"kind": "mixin",
|
|
55991
|
-
"description": "",
|
|
55992
|
-
"name": "FocusTrapMixin",
|
|
55993
|
-
"members": [
|
|
55994
|
-
{
|
|
55995
|
-
"kind": "method",
|
|
55996
|
-
"name": "activateFocusTrap",
|
|
55997
|
-
"privacy": "public",
|
|
55998
|
-
"description": "Activate the focus trap"
|
|
55999
|
-
},
|
|
56000
|
-
{
|
|
56001
|
-
"kind": "method",
|
|
56002
|
-
"name": "calculateNextIndex",
|
|
56003
|
-
"privacy": "private",
|
|
56004
|
-
"parameters": [
|
|
56005
|
-
{
|
|
56006
|
-
"name": "currentIndex",
|
|
56007
|
-
"type": {
|
|
56008
|
-
"text": "number"
|
|
56009
|
-
},
|
|
56010
|
-
"description": "The current index."
|
|
56011
|
-
},
|
|
56012
|
-
{
|
|
56013
|
-
"name": "step",
|
|
56014
|
-
"type": {
|
|
56015
|
-
"text": "number"
|
|
56016
|
-
},
|
|
56017
|
-
"description": "The step to calculate the next index."
|
|
56018
|
-
}
|
|
56019
|
-
],
|
|
56020
|
-
"description": "Calculates the next index for the focus trap.",
|
|
56021
|
-
"return": {
|
|
56022
|
-
"type": {
|
|
56023
|
-
"text": ""
|
|
56024
|
-
}
|
|
56025
|
-
}
|
|
56026
|
-
},
|
|
56027
|
-
{
|
|
56028
|
-
"kind": "method",
|
|
56029
|
-
"name": "deactivateFocusTrap",
|
|
56030
|
-
"privacy": "public",
|
|
56031
|
-
"description": "Deactivate the focus trap."
|
|
56032
|
-
},
|
|
56033
|
-
{
|
|
56034
|
-
"kind": "method",
|
|
56035
|
-
"name": "findElement",
|
|
56036
|
-
"privacy": "private",
|
|
56037
|
-
"parameters": [
|
|
56038
|
-
{
|
|
56039
|
-
"name": "activeElement",
|
|
56040
|
-
"type": {
|
|
56041
|
-
"text": "HTMLElement"
|
|
56042
|
-
},
|
|
56043
|
-
"description": "The active element."
|
|
56044
|
-
}
|
|
56045
|
-
],
|
|
56046
|
-
"description": "Finds the index of the active element within the focusable elements.",
|
|
56047
|
-
"return": {
|
|
56048
|
-
"type": {
|
|
56049
|
-
"text": ""
|
|
56050
|
-
}
|
|
56051
|
-
}
|
|
56052
|
-
},
|
|
56053
|
-
{
|
|
56054
|
-
"kind": "method",
|
|
56055
|
-
"name": "findFocusable",
|
|
56056
|
-
"privacy": "private",
|
|
56057
|
-
"return": {
|
|
56058
|
-
"type": {
|
|
56059
|
-
"text": ""
|
|
56060
|
-
}
|
|
56061
|
-
},
|
|
56062
|
-
"parameters": [
|
|
56063
|
-
{
|
|
56064
|
-
"name": "root",
|
|
56065
|
-
"type": {
|
|
56066
|
-
"text": "ShadowRoot | HTMLElement"
|
|
56067
|
-
},
|
|
56068
|
-
"description": "The root element to search for focusable elements."
|
|
56069
|
-
},
|
|
56070
|
-
{
|
|
56071
|
-
"name": "matches",
|
|
56072
|
-
"default": "new Set()",
|
|
56073
|
-
"type": {
|
|
56074
|
-
"text": "Set<HTMLElement>"
|
|
56075
|
-
},
|
|
56076
|
-
"description": "The set of focusable elements."
|
|
56077
|
-
}
|
|
56078
|
-
],
|
|
56079
|
-
"description": "Recursively finds all focusable elements within the given root and its descendants.\n\nMake sure this is performant, as it will be called multiple times."
|
|
56080
|
-
},
|
|
56081
|
-
{
|
|
56082
|
-
"kind": "field",
|
|
56083
|
-
"name": "focusTrap",
|
|
56084
|
-
"type": {
|
|
56085
|
-
"text": "boolean"
|
|
56086
|
-
},
|
|
56087
|
-
"privacy": "protected",
|
|
56088
|
-
"description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component.\n\nIMPLEMENT THIS IN YOUR COMPONENT."
|
|
56089
|
-
},
|
|
56090
|
-
{
|
|
56091
|
-
"kind": "method",
|
|
56092
|
-
"name": "getDeepActiveElement",
|
|
56093
|
-
"privacy": "private",
|
|
56094
|
-
"description": "Returns the deepest active element in the shadow DOM.",
|
|
56095
|
-
"return": {
|
|
56096
|
-
"type": {
|
|
56097
|
-
"text": ""
|
|
56098
|
-
}
|
|
56099
|
-
}
|
|
56100
|
-
},
|
|
56101
|
-
{
|
|
56102
|
-
"kind": "method",
|
|
56103
|
-
"name": "handleTabKeydown",
|
|
56104
|
-
"privacy": "private",
|
|
56105
|
-
"parameters": [
|
|
56106
|
-
{
|
|
56107
|
-
"name": "event",
|
|
56108
|
-
"type": {
|
|
56109
|
-
"text": "KeyboardEvent"
|
|
56110
|
-
},
|
|
56111
|
-
"description": "The keyboard event."
|
|
56112
|
-
}
|
|
56113
|
-
],
|
|
56114
|
-
"description": "Traps focus within the container."
|
|
56115
|
-
},
|
|
56116
|
-
{
|
|
56117
|
-
"kind": "method",
|
|
56118
|
-
"name": "hasComputedHidden",
|
|
56119
|
-
"privacy": "private",
|
|
56120
|
-
"parameters": [
|
|
56121
|
-
{
|
|
56122
|
-
"name": "element",
|
|
56123
|
-
"type": {
|
|
56124
|
-
"text": "HTMLElement"
|
|
56125
|
-
},
|
|
56126
|
-
"description": "The element to check."
|
|
56127
|
-
}
|
|
56128
|
-
],
|
|
56129
|
-
"description": "Checks if the element is hidden by a computed style.",
|
|
56130
|
-
"return": {
|
|
56131
|
-
"type": {
|
|
56132
|
-
"text": ""
|
|
56133
|
-
}
|
|
56134
|
-
}
|
|
56135
|
-
},
|
|
56136
|
-
{
|
|
56137
|
-
"kind": "method",
|
|
56138
|
-
"name": "hasHiddenStyle",
|
|
56139
|
-
"privacy": "private",
|
|
56140
|
-
"parameters": [
|
|
56141
|
-
{
|
|
56142
|
-
"name": "element",
|
|
56143
|
-
"type": {
|
|
56144
|
-
"text": "HTMLElement"
|
|
56145
|
-
},
|
|
56146
|
-
"description": "The element to check."
|
|
56147
|
-
}
|
|
56148
|
-
],
|
|
56149
|
-
"description": "Checks if the element has inline styles that make it hidden.",
|
|
56150
|
-
"return": {
|
|
56151
|
-
"type": {
|
|
56152
|
-
"text": ""
|
|
56153
|
-
}
|
|
56154
|
-
}
|
|
56155
|
-
},
|
|
56156
|
-
{
|
|
56157
|
-
"kind": "method",
|
|
56158
|
-
"name": "hasNoClientRects",
|
|
56159
|
-
"privacy": "private",
|
|
56160
|
-
"parameters": [
|
|
56161
|
-
{
|
|
56162
|
-
"name": "element",
|
|
56163
|
-
"type": {
|
|
56164
|
-
"text": "HTMLElement"
|
|
56165
|
-
},
|
|
56166
|
-
"description": "The element to check."
|
|
56167
|
-
}
|
|
56168
|
-
],
|
|
56169
|
-
"description": "Checks if the element has no client rectangles (not visible in the viewport).",
|
|
56170
|
-
"return": {
|
|
56171
|
-
"type": {
|
|
56172
|
-
"text": ""
|
|
56173
|
-
}
|
|
56174
|
-
}
|
|
56175
|
-
},
|
|
56176
|
-
{
|
|
56177
|
-
"kind": "method",
|
|
56178
|
-
"name": "hasZeroDimensions",
|
|
56179
|
-
"privacy": "private",
|
|
56180
|
-
"parameters": [
|
|
56181
|
-
{
|
|
56182
|
-
"name": "element",
|
|
56183
|
-
"type": {
|
|
56184
|
-
"text": "HTMLElement"
|
|
56185
|
-
},
|
|
56186
|
-
"description": "The element to check."
|
|
56187
|
-
}
|
|
56188
|
-
],
|
|
56189
|
-
"description": "Checks if the element has zero dimensions (width and height are both 0).",
|
|
56190
|
-
"return": {
|
|
56191
|
-
"type": {
|
|
56192
|
-
"text": ""
|
|
56193
|
-
}
|
|
56194
|
-
}
|
|
56195
|
-
},
|
|
56196
|
-
{
|
|
56197
|
-
"kind": "method",
|
|
56198
|
-
"name": "isDisabled",
|
|
56199
|
-
"privacy": "private",
|
|
56200
|
-
"parameters": [
|
|
56201
|
-
{
|
|
56202
|
-
"name": "element",
|
|
56203
|
-
"type": {
|
|
56204
|
-
"text": "any"
|
|
56205
|
-
},
|
|
56206
|
-
"description": "The element to check."
|
|
56207
|
-
}
|
|
56208
|
-
],
|
|
56209
|
-
"description": "Checks if the element is disabled.",
|
|
56210
|
-
"return": {
|
|
56211
|
-
"type": {
|
|
56212
|
-
"text": ""
|
|
56213
|
-
}
|
|
56214
|
-
}
|
|
56215
|
-
},
|
|
56216
|
-
{
|
|
56217
|
-
"kind": "method",
|
|
56218
|
-
"name": "isEqualFocusNode",
|
|
56219
|
-
"privacy": "private",
|
|
56220
|
-
"parameters": [
|
|
56221
|
-
{
|
|
56222
|
-
"name": "activeElement",
|
|
56223
|
-
"type": {
|
|
56224
|
-
"text": "HTMLElement"
|
|
56225
|
-
},
|
|
56226
|
-
"description": "The active element."
|
|
56227
|
-
},
|
|
56228
|
-
{
|
|
56229
|
-
"name": "element",
|
|
56230
|
-
"type": {
|
|
56231
|
-
"text": "HTMLElement"
|
|
56232
|
-
},
|
|
56233
|
-
"description": "The element to compare."
|
|
56234
|
-
}
|
|
56235
|
-
],
|
|
56236
|
-
"description": "Checks if the active element is equal to the given element.",
|
|
56237
|
-
"return": {
|
|
56238
|
-
"type": {
|
|
56239
|
-
"text": ""
|
|
56240
|
-
}
|
|
56241
|
-
}
|
|
56242
|
-
},
|
|
56243
|
-
{
|
|
56244
|
-
"kind": "method",
|
|
56245
|
-
"name": "isFocusable",
|
|
56246
|
-
"privacy": "private",
|
|
56247
|
-
"parameters": [
|
|
56248
|
-
{
|
|
56249
|
-
"name": "element",
|
|
56250
|
-
"type": {
|
|
56251
|
-
"text": "HTMLElement"
|
|
56252
|
-
},
|
|
56253
|
-
"description": "The element to check."
|
|
56254
|
-
}
|
|
56255
|
-
],
|
|
56256
|
-
"description": "Checks if the element is focusable.",
|
|
56257
|
-
"return": {
|
|
56258
|
-
"type": {
|
|
56259
|
-
"text": ""
|
|
56260
|
-
}
|
|
56261
|
-
}
|
|
56262
|
-
},
|
|
56263
|
-
{
|
|
56264
|
-
"kind": "method",
|
|
56265
|
-
"name": "isHidden",
|
|
56266
|
-
"privacy": "private",
|
|
56267
|
-
"parameters": [
|
|
56268
|
-
{
|
|
56269
|
-
"name": "element",
|
|
56270
|
-
"type": {
|
|
56271
|
-
"text": "HTMLElement"
|
|
56272
|
-
},
|
|
56273
|
-
"description": "The element to check."
|
|
56274
|
-
}
|
|
56275
|
-
],
|
|
56276
|
-
"description": "Checks if the element is hidden from the user.",
|
|
56277
|
-
"return": {
|
|
56278
|
-
"type": {
|
|
56279
|
-
"text": ""
|
|
56280
|
-
}
|
|
56281
|
-
}
|
|
56282
|
-
},
|
|
56283
|
-
{
|
|
56284
|
-
"kind": "method",
|
|
56285
|
-
"name": "isInteractiveElement",
|
|
56286
|
-
"privacy": "private",
|
|
56287
|
-
"return": {
|
|
56288
|
-
"type": {
|
|
56289
|
-
"text": ""
|
|
56290
|
-
}
|
|
56291
|
-
},
|
|
56292
|
-
"parameters": [
|
|
56293
|
-
{
|
|
56294
|
-
"name": "element",
|
|
56295
|
-
"type": {
|
|
56296
|
-
"text": "HTMLElement"
|
|
56297
|
-
},
|
|
56298
|
-
"description": "The element to check."
|
|
56299
|
-
}
|
|
56300
|
-
],
|
|
56301
|
-
"description": "Checks if the element is interactive."
|
|
56302
|
-
},
|
|
56303
|
-
{
|
|
56304
|
-
"kind": "method",
|
|
56305
|
-
"name": "isNotTabbable",
|
|
56306
|
-
"privacy": "private",
|
|
56307
|
-
"parameters": [
|
|
56308
|
-
{
|
|
56309
|
-
"name": "element",
|
|
56310
|
-
"type": {
|
|
56311
|
-
"text": "HTMLElement"
|
|
56312
|
-
},
|
|
56313
|
-
"description": "The element to check."
|
|
56314
|
-
}
|
|
56315
|
-
],
|
|
56316
|
-
"description": "Checks if the element is not tabbable.",
|
|
56317
|
-
"return": {
|
|
56318
|
-
"type": {
|
|
56319
|
-
"text": ""
|
|
56320
|
-
}
|
|
56321
|
-
}
|
|
56322
|
-
},
|
|
56323
|
-
{
|
|
56324
|
-
"kind": "method",
|
|
56325
|
-
"name": "isNotVisible",
|
|
56326
|
-
"privacy": "private",
|
|
56327
|
-
"parameters": [
|
|
56328
|
-
{
|
|
56329
|
-
"name": "element",
|
|
56330
|
-
"type": {
|
|
56331
|
-
"text": "HTMLElement"
|
|
56332
|
-
},
|
|
56333
|
-
"description": "The element to check."
|
|
56334
|
-
}
|
|
56335
|
-
],
|
|
56336
|
-
"description": "Determines if the element is not visible in the DOM.",
|
|
56337
|
-
"return": {
|
|
56338
|
-
"type": {
|
|
56339
|
-
"text": ""
|
|
56340
|
-
}
|
|
56341
|
-
}
|
|
56342
|
-
},
|
|
56343
|
-
{
|
|
56344
|
-
"kind": "method",
|
|
56345
|
-
"name": "setFocusableElements",
|
|
56346
|
-
"privacy": "private",
|
|
56347
|
-
"description": "Updates the list of focusable elements within the component's shadow root."
|
|
56348
|
-
},
|
|
56349
|
-
{
|
|
56350
|
-
"kind": "method",
|
|
56351
|
-
"name": "setInitialFocus",
|
|
56352
|
-
"privacy": "public",
|
|
56353
|
-
"parameters": [
|
|
56354
|
-
{
|
|
56355
|
-
"name": "elementIndexToReceiveFocus",
|
|
56356
|
-
"default": "0",
|
|
56357
|
-
"type": {
|
|
56358
|
-
"text": "number"
|
|
56359
|
-
},
|
|
56360
|
-
"description": "The index of the preferable element to focus."
|
|
56361
|
-
}
|
|
56362
|
-
],
|
|
56363
|
-
"description": "Sets the initial focus within the container."
|
|
56364
|
-
},
|
|
56365
|
-
{
|
|
56366
|
-
"kind": "method",
|
|
56367
|
-
"name": "setIsFocusTrapActivated",
|
|
56368
|
-
"privacy": "private",
|
|
56369
|
-
"parameters": [
|
|
56370
|
-
{
|
|
56371
|
-
"name": "isActivated",
|
|
56372
|
-
"type": {
|
|
56373
|
-
"text": "boolean"
|
|
56374
|
-
}
|
|
56375
|
-
}
|
|
56376
|
-
]
|
|
56377
|
-
},
|
|
56378
|
-
{
|
|
56379
|
-
"kind": "field",
|
|
56380
|
-
"name": "shouldFocusTrapWrap",
|
|
56381
|
-
"type": {
|
|
56382
|
-
"text": "boolean"
|
|
56383
|
-
},
|
|
56384
|
-
"default": "true",
|
|
56385
|
-
"description": "Determines whether focus should wrap around when reaching the first or last focusable element.\nIf true, focus will cycle from end to start and vice versa.\n\nThis only applies when `focusTrap` is true.",
|
|
56386
|
-
"attribute": "should-focus-trap-wrap",
|
|
56387
|
-
"reflects": true
|
|
56388
|
-
},
|
|
56389
|
-
{
|
|
56390
|
-
"kind": "method",
|
|
56391
|
-
"name": "trapFocus",
|
|
56392
|
-
"privacy": "private",
|
|
56393
|
-
"parameters": [
|
|
56394
|
-
{
|
|
56395
|
-
"name": "event",
|
|
56396
|
-
"type": {
|
|
56397
|
-
"text": "KeyboardEvent"
|
|
56398
|
-
}
|
|
56399
|
-
},
|
|
56400
|
-
{
|
|
56401
|
-
"description": "The direction of the focus trap.\nIf true, the focus will be trapped in the previous element.",
|
|
56402
|
-
"name": "direction"
|
|
56403
|
-
}
|
|
56404
|
-
],
|
|
56405
|
-
"description": "Traps focus within the container."
|
|
56406
|
-
}
|
|
56407
|
-
],
|
|
56408
|
-
"attributes": [
|
|
56409
|
-
{
|
|
56410
|
-
"name": "should-focus-trap-wrap",
|
|
56411
|
-
"type": {
|
|
56412
|
-
"text": "boolean"
|
|
56413
|
-
},
|
|
56414
|
-
"default": "true",
|
|
56415
|
-
"description": "Determines whether focus should wrap around when reaching the first or last focusable element.\nIf true, focus will cycle from end to start and vice versa.\n\nThis only applies when `focusTrap` is true.",
|
|
56416
|
-
"fieldName": "shouldFocusTrapWrap"
|
|
56417
|
-
}
|
|
56418
|
-
],
|
|
56419
|
-
"parameters": [
|
|
56420
|
-
{
|
|
56421
|
-
"name": "superClass",
|
|
56422
|
-
"type": {
|
|
56423
|
-
"text": "T"
|
|
56424
|
-
}
|
|
56425
|
-
}
|
|
56426
|
-
]
|
|
56427
|
-
}
|
|
56428
|
-
],
|
|
56429
|
-
"exports": [
|
|
56430
|
-
{
|
|
56431
|
-
"kind": "js",
|
|
56432
|
-
"name": "FocusTrapClassInterface",
|
|
56433
|
-
"declaration": {
|
|
56434
|
-
"name": "FocusTrapClassInterface",
|
|
56435
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
56436
|
-
}
|
|
56437
|
-
},
|
|
56438
|
-
{
|
|
56439
|
-
"kind": "js",
|
|
56440
|
-
"name": "FocusTrapMixin",
|
|
56441
|
-
"declaration": {
|
|
56442
|
-
"name": "FocusTrapMixin",
|
|
56443
|
-
"module": "utils/mixins/FocusTrapMixin.js"
|
|
56444
|
-
}
|
|
56445
|
-
}
|
|
56446
|
-
]
|
|
56447
|
-
},
|
|
56448
52338
|
{
|
|
56449
52339
|
"kind": "javascript-module",
|
|
56450
52340
|
"path": "utils/mixins/FooterMixin.js",
|