@genesislcap/foundation-ui 15.7.3-alpha-94532c4.0 → 15.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2420,11 +2420,11 @@
2420
2420
  },
2421
2421
  {
2422
2422
  "kind": "javascript-module",
2423
- "path": "src/ai-indicator/ai-indicator.styles.ts",
2423
+ "path": "src/accordion/accordion.styles.ts",
2424
2424
  "declarations": [
2425
2425
  {
2426
2426
  "kind": "function",
2427
- "name": "foundationAiIndicatorStyles",
2427
+ "name": "foundationAccordionStyles",
2428
2428
  "return": {
2429
2429
  "type": {
2430
2430
  "text": "ElementStyles"
@@ -2449,224 +2449,276 @@
2449
2449
  "exports": [
2450
2450
  {
2451
2451
  "kind": "js",
2452
- "name": "foundationAiIndicatorStyles",
2452
+ "name": "foundationAccordionStyles",
2453
2453
  "declaration": {
2454
- "name": "foundationAiIndicatorStyles",
2455
- "module": "src/ai-indicator/ai-indicator.styles.ts"
2454
+ "name": "foundationAccordionStyles",
2455
+ "module": "src/accordion/accordion.styles.ts"
2456
2456
  }
2457
2457
  }
2458
2458
  ]
2459
2459
  },
2460
2460
  {
2461
2461
  "kind": "javascript-module",
2462
- "path": "src/ai-indicator/ai-indicator.template.ts",
2462
+ "path": "src/accordion/accordion.template.ts",
2463
2463
  "declarations": [
2464
2464
  {
2465
- "kind": "variable",
2466
- "name": "foundationAiIndicatorTemplate",
2467
- "type": {
2468
- "text": "ViewTemplate<AiIndicator>"
2465
+ "kind": "function",
2466
+ "name": "foundationAccordionTemplate",
2467
+ "return": {
2468
+ "type": {
2469
+ "text": "ViewTemplate<Accordion>"
2470
+ }
2469
2471
  },
2470
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2472
+ "parameters": [
2473
+ {
2474
+ "name": "context",
2475
+ "type": {
2476
+ "text": "ElementDefinitionContext"
2477
+ }
2478
+ },
2479
+ {
2480
+ "name": "definition",
2481
+ "type": {
2482
+ "text": "FoundationElementDefinition"
2483
+ }
2484
+ }
2485
+ ]
2471
2486
  }
2472
2487
  ],
2473
2488
  "exports": [
2474
2489
  {
2475
2490
  "kind": "js",
2476
- "name": "foundationAiIndicatorTemplate",
2491
+ "name": "foundationAccordionTemplate",
2477
2492
  "declaration": {
2478
- "name": "foundationAiIndicatorTemplate",
2479
- "module": "src/ai-indicator/ai-indicator.template.ts"
2493
+ "name": "foundationAccordionTemplate",
2494
+ "module": "src/accordion/accordion.template.ts"
2480
2495
  }
2481
2496
  }
2482
2497
  ]
2483
2498
  },
2484
2499
  {
2485
2500
  "kind": "javascript-module",
2486
- "path": "src/ai-indicator/ai-indicator.ts",
2501
+ "path": "src/accordion/accordion.ts",
2487
2502
  "declarations": [
2488
2503
  {
2489
2504
  "kind": "class",
2490
2505
  "description": "",
2491
- "name": "AiIndicator",
2492
- "members": [
2493
- {
2494
- "kind": "field",
2495
- "name": "providerRegistry",
2496
- "type": {
2497
- "text": "AIProviderRegistry"
2498
- }
2499
- },
2500
- {
2501
- "kind": "field",
2502
- "name": "aiProvider",
2503
- "type": {
2504
- "text": "AIProvider | undefined"
2505
- },
2506
- "privacy": "private",
2507
- "description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
2508
- "readonly": true
2509
- },
2506
+ "name": "Accordion",
2507
+ "superclass": {
2508
+ "name": "FASTAccordion",
2509
+ "package": "@microsoft/fast-foundation"
2510
+ },
2511
+ "tagName": "%%prefix%%-accordion",
2512
+ "customElement": true,
2513
+ "attributes": [
2510
2514
  {
2511
- "kind": "field",
2512
- "name": "status",
2515
+ "name": "expand-mode",
2513
2516
  "type": {
2514
- "text": "AIStatus | null"
2517
+ "text": "AccordionExpandMode"
2515
2518
  },
2516
- "default": "null"
2517
- },
2519
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2520
+ "fieldName": "expandmode",
2521
+ "inheritedFrom": {
2522
+ "name": "Accordion",
2523
+ "module": "src/accordion/accordion.ts"
2524
+ }
2525
+ }
2526
+ ],
2527
+ "members": [
2518
2528
  {
2519
2529
  "kind": "field",
2520
- "name": "open",
2530
+ "name": "expandmode",
2521
2531
  "type": {
2522
- "text": "boolean"
2532
+ "text": "AccordionExpandMode"
2523
2533
  },
2524
- "default": "false"
2534
+ "privacy": "public",
2535
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2536
+ "inheritedFrom": {
2537
+ "name": "Accordion",
2538
+ "module": "src/accordion/accordion.ts"
2539
+ }
2525
2540
  },
2526
2541
  {
2527
2542
  "kind": "field",
2528
- "name": "state",
2543
+ "name": "activeid",
2529
2544
  "type": {
2530
- "text": "AIIndicatorState"
2545
+ "text": "string | null"
2531
2546
  },
2532
- "default": "'none'"
2547
+ "privacy": "private",
2548
+ "inheritedFrom": {
2549
+ "name": "Accordion",
2550
+ "module": "src/accordion/accordion.ts"
2551
+ }
2533
2552
  },
2534
2553
  {
2535
2554
  "kind": "field",
2536
- "name": "isInstalling",
2555
+ "name": "activeItemIndex",
2537
2556
  "type": {
2538
- "text": "boolean"
2557
+ "text": "number"
2539
2558
  },
2540
- "default": "false"
2559
+ "privacy": "private",
2560
+ "default": "0",
2561
+ "inheritedFrom": {
2562
+ "name": "Accordion",
2563
+ "module": "src/accordion/accordion.ts"
2564
+ }
2541
2565
  },
2542
2566
  {
2543
2567
  "kind": "field",
2544
- "name": "pollTimer",
2568
+ "name": "accordionIds",
2545
2569
  "type": {
2546
- "text": "ReturnType<typeof setInterval> | null"
2570
+ "text": "Array<string | null>"
2547
2571
  },
2548
2572
  "privacy": "private",
2549
- "default": "null"
2550
- },
2551
- {
2552
- "kind": "field",
2553
- "name": "clickOutside",
2554
- "privacy": "private"
2573
+ "inheritedFrom": {
2574
+ "name": "Accordion",
2575
+ "module": "src/accordion/accordion.ts"
2576
+ }
2555
2577
  },
2556
2578
  {
2557
2579
  "kind": "field",
2558
- "name": "chromeStatusLabel",
2559
- "type": {
2560
- "text": "string | null"
2561
- },
2562
- "readonly": true
2580
+ "name": "change",
2581
+ "privacy": "private",
2582
+ "inheritedFrom": {
2583
+ "name": "Accordion",
2584
+ "module": "src/accordion/accordion.ts"
2585
+ }
2563
2586
  },
2564
2587
  {
2565
- "kind": "field",
2566
- "name": "canInstall",
2567
- "type": {
2568
- "text": "boolean"
2588
+ "kind": "method",
2589
+ "name": "findExpandedItem",
2590
+ "privacy": "private",
2591
+ "return": {
2592
+ "type": {
2593
+ "text": "AccordionItem | null"
2594
+ }
2569
2595
  },
2570
- "readonly": true
2596
+ "inheritedFrom": {
2597
+ "name": "Accordion",
2598
+ "module": "src/accordion/accordion.ts"
2599
+ }
2571
2600
  },
2572
2601
  {
2573
2602
  "kind": "field",
2574
- "name": "isDownloading",
2575
- "type": {
2576
- "text": "boolean"
2577
- },
2578
- "readonly": true
2603
+ "name": "setItems",
2604
+ "privacy": "private",
2605
+ "inheritedFrom": {
2606
+ "name": "Accordion",
2607
+ "module": "src/accordion/accordion.ts"
2608
+ }
2579
2609
  },
2580
2610
  {
2581
2611
  "kind": "method",
2582
- "name": "openChanged",
2612
+ "name": "resetItems",
2613
+ "privacy": "private",
2583
2614
  "return": {
2584
2615
  "type": {
2585
2616
  "text": "void"
2586
2617
  }
2618
+ },
2619
+ "inheritedFrom": {
2620
+ "name": "Accordion",
2621
+ "module": "src/accordion/accordion.ts"
2587
2622
  }
2588
2623
  },
2589
2624
  {
2590
- "kind": "method",
2591
- "name": "handleClickOutside",
2625
+ "kind": "field",
2626
+ "name": "removeItemListeners",
2592
2627
  "privacy": "private",
2593
- "parameters": [
2594
- {
2595
- "name": "event",
2596
- "type": {
2597
- "text": "MouseEvent"
2598
- }
2599
- }
2600
- ]
2628
+ "inheritedFrom": {
2629
+ "name": "Accordion",
2630
+ "module": "src/accordion/accordion.ts"
2631
+ }
2601
2632
  },
2602
2633
  {
2603
- "kind": "method",
2604
- "name": "toggleDropdown"
2634
+ "kind": "field",
2635
+ "name": "activeItemChange",
2636
+ "privacy": "private",
2637
+ "inheritedFrom": {
2638
+ "name": "Accordion",
2639
+ "module": "src/accordion/accordion.ts"
2640
+ }
2605
2641
  },
2606
2642
  {
2607
2643
  "kind": "method",
2608
- "name": "refreshStatus",
2644
+ "name": "getItemIds",
2645
+ "privacy": "private",
2609
2646
  "return": {
2610
2647
  "type": {
2611
- "text": "Promise<void>"
2648
+ "text": "Array<string | null>"
2612
2649
  }
2650
+ },
2651
+ "inheritedFrom": {
2652
+ "name": "Accordion",
2653
+ "module": "src/accordion/accordion.ts"
2613
2654
  }
2614
2655
  },
2615
2656
  {
2616
2657
  "kind": "method",
2617
- "name": "deriveState",
2658
+ "name": "isSingleExpandMode",
2618
2659
  "privacy": "private",
2619
2660
  "return": {
2620
2661
  "type": {
2621
- "text": "AIIndicatorState"
2662
+ "text": "boolean"
2622
2663
  }
2623
2664
  },
2624
- "parameters": [
2625
- {
2626
- "name": "s",
2627
- "type": {
2628
- "text": "AIStatus | null"
2629
- }
2630
- }
2631
- ]
2665
+ "inheritedFrom": {
2666
+ "name": "Accordion",
2667
+ "module": "src/accordion/accordion.ts"
2668
+ }
2632
2669
  },
2633
2670
  {
2634
- "kind": "method",
2635
- "name": "maybeStartPolling",
2671
+ "kind": "field",
2672
+ "name": "handleItemKeyDown",
2636
2673
  "privacy": "private",
2637
- "return": {
2638
- "type": {
2639
- "text": "void"
2640
- }
2674
+ "inheritedFrom": {
2675
+ "name": "Accordion",
2676
+ "module": "src/accordion/accordion.ts"
2641
2677
  }
2642
2678
  },
2643
2679
  {
2644
- "kind": "method",
2645
- "name": "startPolling",
2680
+ "kind": "field",
2681
+ "name": "handleItemFocus",
2646
2682
  "privacy": "private",
2647
- "return": {
2648
- "type": {
2649
- "text": "void"
2650
- }
2683
+ "inheritedFrom": {
2684
+ "name": "Accordion",
2685
+ "module": "src/accordion/accordion.ts"
2651
2686
  }
2652
2687
  },
2653
2688
  {
2654
2689
  "kind": "method",
2655
- "name": "stopPolling",
2690
+ "name": "adjust",
2656
2691
  "privacy": "private",
2657
2692
  "return": {
2658
2693
  "type": {
2659
2694
  "text": "void"
2660
2695
  }
2696
+ },
2697
+ "parameters": [
2698
+ {
2699
+ "name": "adjustment",
2700
+ "type": {
2701
+ "text": "number"
2702
+ }
2703
+ }
2704
+ ],
2705
+ "inheritedFrom": {
2706
+ "name": "Accordion",
2707
+ "module": "src/accordion/accordion.ts"
2661
2708
  }
2662
2709
  },
2663
2710
  {
2664
2711
  "kind": "method",
2665
- "name": "onInstall",
2712
+ "name": "focusItem",
2713
+ "privacy": "private",
2666
2714
  "return": {
2667
2715
  "type": {
2668
- "text": "Promise<void>"
2716
+ "text": "void"
2669
2717
  }
2718
+ },
2719
+ "inheritedFrom": {
2720
+ "name": "Accordion",
2721
+ "module": "src/accordion/accordion.ts"
2670
2722
  }
2671
2723
  },
2672
2724
  {
@@ -2781,88 +2833,102 @@
2781
2833
  }
2782
2834
  }
2783
2835
  ],
2784
- "superclass": {
2785
- "name": "FoundationElement",
2786
- "package": "@microsoft/fast-foundation"
2836
+ "events": [
2837
+ {
2838
+ "description": "Fires a custom 'change' event when the active item changes",
2839
+ "name": "change",
2840
+ "inheritedFrom": {
2841
+ "name": "Accordion",
2842
+ "module": "src/accordion/accordion.ts"
2843
+ }
2844
+ }
2845
+ ]
2846
+ },
2847
+ {
2848
+ "kind": "variable",
2849
+ "name": "foundationAccordionShadowOptions",
2850
+ "type": {
2851
+ "text": "ShadowRootInit"
2787
2852
  },
2788
- "tagName": "%%prefix%%-ai-indicator",
2789
- "customElement": true
2853
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2790
2854
  },
2791
2855
  {
2792
2856
  "kind": "variable",
2793
- "name": "foundationAiIndicator"
2857
+ "name": "defaultAccordionConfig",
2858
+ "type": {
2859
+ "text": "object"
2860
+ },
2861
+ "default": "{}"
2862
+ },
2863
+ {
2864
+ "kind": "variable",
2865
+ "name": "foundationAccordion",
2866
+ "description": "The Foundation Accordion",
2867
+ "privacy": "public"
2794
2868
  }
2795
2869
  ],
2796
2870
  "exports": [
2797
2871
  {
2798
2872
  "kind": "js",
2799
- "name": "AiIndicator",
2873
+ "name": "Accordion",
2800
2874
  "declaration": {
2801
- "name": "AiIndicator",
2802
- "module": "src/ai-indicator/ai-indicator.ts"
2875
+ "name": "Accordion",
2876
+ "module": "src/accordion/accordion.ts"
2803
2877
  }
2804
2878
  },
2805
2879
  {
2806
2880
  "kind": "js",
2807
- "name": "foundationAiIndicator",
2808
- "declaration": {
2809
- "name": "foundationAiIndicator",
2810
- "module": "src/ai-indicator/ai-indicator.ts"
2811
- }
2812
- }
2813
- ]
2814
- },
2815
- {
2816
- "kind": "javascript-module",
2817
- "path": "src/ai-indicator/index.ts",
2818
- "declarations": [],
2819
- "exports": [
2820
- {
2821
- "kind": "js",
2822
- "name": "AiIndicator",
2881
+ "name": "foundationAccordionShadowOptions",
2823
2882
  "declaration": {
2824
- "name": "AiIndicator",
2825
- "module": "./ai-indicator"
2883
+ "name": "foundationAccordionShadowOptions",
2884
+ "module": "src/accordion/accordion.ts"
2826
2885
  }
2827
2886
  },
2828
2887
  {
2829
2888
  "kind": "js",
2830
- "name": "foundationAiIndicator",
2889
+ "name": "defaultAccordionConfig",
2831
2890
  "declaration": {
2832
- "name": "foundationAiIndicator",
2833
- "module": "./ai-indicator"
2891
+ "name": "defaultAccordionConfig",
2892
+ "module": "src/accordion/accordion.ts"
2834
2893
  }
2835
2894
  },
2836
2895
  {
2837
2896
  "kind": "js",
2838
- "name": "type",
2897
+ "name": "foundationAccordion",
2839
2898
  "declaration": {
2840
- "name": "type",
2841
- "module": "./ai-indicator"
2899
+ "name": "foundationAccordion",
2900
+ "module": "src/accordion/accordion.ts"
2842
2901
  }
2843
- },
2902
+ }
2903
+ ]
2904
+ },
2905
+ {
2906
+ "kind": "javascript-module",
2907
+ "path": "src/accordion/index.ts",
2908
+ "declarations": [],
2909
+ "exports": [
2844
2910
  {
2845
2911
  "kind": "js",
2846
- "name": "AIIndicatorState",
2912
+ "name": "*",
2847
2913
  "declaration": {
2848
- "name": "AIIndicatorState",
2849
- "module": "./ai-indicator"
2914
+ "name": "*",
2915
+ "package": "./accordion.template"
2850
2916
  }
2851
2917
  },
2852
2918
  {
2853
2919
  "kind": "js",
2854
- "name": "foundationAiIndicatorTemplate",
2920
+ "name": "*",
2855
2921
  "declaration": {
2856
- "name": "foundationAiIndicatorTemplate",
2857
- "module": "./ai-indicator.template"
2922
+ "name": "*",
2923
+ "package": "./accordion.styles"
2858
2924
  }
2859
2925
  },
2860
2926
  {
2861
2927
  "kind": "js",
2862
- "name": "foundationAiIndicatorStyles",
2928
+ "name": "*",
2863
2929
  "declaration": {
2864
- "name": "foundationAiIndicatorStyles",
2865
- "module": "./ai-indicator.styles"
2930
+ "name": "*",
2931
+ "package": "./accordion"
2866
2932
  }
2867
2933
  }
2868
2934
  ]
@@ -3478,11 +3544,11 @@
3478
3544
  },
3479
3545
  {
3480
3546
  "kind": "javascript-module",
3481
- "path": "src/accordion/accordion.styles.ts",
3547
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
3482
3548
  "declarations": [
3483
3549
  {
3484
3550
  "kind": "function",
3485
- "name": "foundationAccordionStyles",
3551
+ "name": "foundationAiIndicatorStyles",
3486
3552
  "return": {
3487
3553
  "type": {
3488
3554
  "text": "ElementStyles"
@@ -3507,276 +3573,224 @@
3507
3573
  "exports": [
3508
3574
  {
3509
3575
  "kind": "js",
3510
- "name": "foundationAccordionStyles",
3576
+ "name": "foundationAiIndicatorStyles",
3511
3577
  "declaration": {
3512
- "name": "foundationAccordionStyles",
3513
- "module": "src/accordion/accordion.styles.ts"
3578
+ "name": "foundationAiIndicatorStyles",
3579
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
3514
3580
  }
3515
3581
  }
3516
3582
  ]
3517
3583
  },
3518
3584
  {
3519
3585
  "kind": "javascript-module",
3520
- "path": "src/accordion/accordion.template.ts",
3586
+ "path": "src/ai-indicator/ai-indicator.template.ts",
3521
3587
  "declarations": [
3522
3588
  {
3523
- "kind": "function",
3524
- "name": "foundationAccordionTemplate",
3525
- "return": {
3526
- "type": {
3527
- "text": "ViewTemplate<Accordion>"
3528
- }
3589
+ "kind": "variable",
3590
+ "name": "foundationAiIndicatorTemplate",
3591
+ "type": {
3592
+ "text": "ViewTemplate<AiIndicator>"
3529
3593
  },
3530
- "parameters": [
3531
- {
3532
- "name": "context",
3533
- "type": {
3534
- "text": "ElementDefinitionContext"
3535
- }
3536
- },
3537
- {
3538
- "name": "definition",
3539
- "type": {
3540
- "text": "FoundationElementDefinition"
3541
- }
3542
- }
3543
- ]
3594
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3544
3595
  }
3545
3596
  ],
3546
3597
  "exports": [
3547
3598
  {
3548
3599
  "kind": "js",
3549
- "name": "foundationAccordionTemplate",
3600
+ "name": "foundationAiIndicatorTemplate",
3550
3601
  "declaration": {
3551
- "name": "foundationAccordionTemplate",
3552
- "module": "src/accordion/accordion.template.ts"
3602
+ "name": "foundationAiIndicatorTemplate",
3603
+ "module": "src/ai-indicator/ai-indicator.template.ts"
3553
3604
  }
3554
3605
  }
3555
3606
  ]
3556
3607
  },
3557
3608
  {
3558
3609
  "kind": "javascript-module",
3559
- "path": "src/accordion/accordion.ts",
3610
+ "path": "src/ai-indicator/ai-indicator.ts",
3560
3611
  "declarations": [
3561
3612
  {
3562
3613
  "kind": "class",
3563
3614
  "description": "",
3564
- "name": "Accordion",
3565
- "superclass": {
3566
- "name": "FASTAccordion",
3567
- "package": "@microsoft/fast-foundation"
3568
- },
3569
- "tagName": "%%prefix%%-accordion",
3570
- "customElement": true,
3571
- "attributes": [
3615
+ "name": "AiIndicator",
3616
+ "members": [
3572
3617
  {
3573
- "name": "expand-mode",
3618
+ "kind": "field",
3619
+ "name": "providerRegistry",
3574
3620
  "type": {
3575
- "text": "AccordionExpandMode"
3576
- },
3577
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3578
- "fieldName": "expandmode",
3579
- "inheritedFrom": {
3580
- "name": "Accordion",
3581
- "module": "src/accordion/accordion.ts"
3621
+ "text": "AIProviderRegistry"
3582
3622
  }
3583
- }
3584
- ],
3585
- "members": [
3623
+ },
3586
3624
  {
3587
3625
  "kind": "field",
3588
- "name": "expandmode",
3626
+ "name": "aiProvider",
3589
3627
  "type": {
3590
- "text": "AccordionExpandMode"
3628
+ "text": "AIProvider | undefined"
3591
3629
  },
3592
- "privacy": "public",
3593
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3594
- "inheritedFrom": {
3595
- "name": "Accordion",
3596
- "module": "src/accordion/accordion.ts"
3597
- }
3630
+ "privacy": "private",
3631
+ "description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
3632
+ "readonly": true
3598
3633
  },
3599
3634
  {
3600
3635
  "kind": "field",
3601
- "name": "activeid",
3636
+ "name": "status",
3602
3637
  "type": {
3603
- "text": "string | null"
3638
+ "text": "AIStatus | null"
3604
3639
  },
3605
- "privacy": "private",
3606
- "inheritedFrom": {
3607
- "name": "Accordion",
3608
- "module": "src/accordion/accordion.ts"
3609
- }
3640
+ "default": "null"
3610
3641
  },
3611
3642
  {
3612
3643
  "kind": "field",
3613
- "name": "activeItemIndex",
3644
+ "name": "open",
3614
3645
  "type": {
3615
- "text": "number"
3646
+ "text": "boolean"
3616
3647
  },
3617
- "privacy": "private",
3618
- "default": "0",
3619
- "inheritedFrom": {
3620
- "name": "Accordion",
3621
- "module": "src/accordion/accordion.ts"
3622
- }
3648
+ "default": "false"
3649
+ },
3650
+ {
3651
+ "kind": "field",
3652
+ "name": "state",
3653
+ "type": {
3654
+ "text": "AIIndicatorState"
3655
+ },
3656
+ "default": "'none'"
3657
+ },
3658
+ {
3659
+ "kind": "field",
3660
+ "name": "isInstalling",
3661
+ "type": {
3662
+ "text": "boolean"
3663
+ },
3664
+ "default": "false"
3623
3665
  },
3624
3666
  {
3625
3667
  "kind": "field",
3626
- "name": "accordionIds",
3668
+ "name": "pollTimer",
3627
3669
  "type": {
3628
- "text": "Array<string | null>"
3670
+ "text": "ReturnType<typeof setInterval> | null"
3629
3671
  },
3630
3672
  "privacy": "private",
3631
- "inheritedFrom": {
3632
- "name": "Accordion",
3633
- "module": "src/accordion/accordion.ts"
3634
- }
3673
+ "default": "null"
3635
3674
  },
3636
3675
  {
3637
3676
  "kind": "field",
3638
- "name": "change",
3639
- "privacy": "private",
3640
- "inheritedFrom": {
3641
- "name": "Accordion",
3642
- "module": "src/accordion/accordion.ts"
3643
- }
3677
+ "name": "clickOutside",
3678
+ "privacy": "private"
3644
3679
  },
3645
3680
  {
3646
- "kind": "method",
3647
- "name": "findExpandedItem",
3648
- "privacy": "private",
3649
- "return": {
3650
- "type": {
3651
- "text": "AccordionItem | null"
3652
- }
3681
+ "kind": "field",
3682
+ "name": "chromeStatusLabel",
3683
+ "type": {
3684
+ "text": "string | null"
3653
3685
  },
3654
- "inheritedFrom": {
3655
- "name": "Accordion",
3656
- "module": "src/accordion/accordion.ts"
3657
- }
3686
+ "readonly": true
3658
3687
  },
3659
3688
  {
3660
3689
  "kind": "field",
3661
- "name": "setItems",
3662
- "privacy": "private",
3663
- "inheritedFrom": {
3664
- "name": "Accordion",
3665
- "module": "src/accordion/accordion.ts"
3666
- }
3690
+ "name": "canInstall",
3691
+ "type": {
3692
+ "text": "boolean"
3693
+ },
3694
+ "readonly": true
3695
+ },
3696
+ {
3697
+ "kind": "field",
3698
+ "name": "isDownloading",
3699
+ "type": {
3700
+ "text": "boolean"
3701
+ },
3702
+ "readonly": true
3667
3703
  },
3668
3704
  {
3669
3705
  "kind": "method",
3670
- "name": "resetItems",
3671
- "privacy": "private",
3706
+ "name": "openChanged",
3672
3707
  "return": {
3673
3708
  "type": {
3674
3709
  "text": "void"
3675
3710
  }
3676
- },
3677
- "inheritedFrom": {
3678
- "name": "Accordion",
3679
- "module": "src/accordion/accordion.ts"
3680
3711
  }
3681
3712
  },
3682
3713
  {
3683
- "kind": "field",
3684
- "name": "removeItemListeners",
3714
+ "kind": "method",
3715
+ "name": "handleClickOutside",
3685
3716
  "privacy": "private",
3686
- "inheritedFrom": {
3687
- "name": "Accordion",
3688
- "module": "src/accordion/accordion.ts"
3689
- }
3717
+ "parameters": [
3718
+ {
3719
+ "name": "event",
3720
+ "type": {
3721
+ "text": "MouseEvent"
3722
+ }
3723
+ }
3724
+ ]
3690
3725
  },
3691
3726
  {
3692
- "kind": "field",
3693
- "name": "activeItemChange",
3694
- "privacy": "private",
3695
- "inheritedFrom": {
3696
- "name": "Accordion",
3697
- "module": "src/accordion/accordion.ts"
3698
- }
3727
+ "kind": "method",
3728
+ "name": "toggleDropdown"
3699
3729
  },
3700
3730
  {
3701
3731
  "kind": "method",
3702
- "name": "getItemIds",
3703
- "privacy": "private",
3732
+ "name": "refreshStatus",
3704
3733
  "return": {
3705
3734
  "type": {
3706
- "text": "Array<string | null>"
3735
+ "text": "Promise<void>"
3707
3736
  }
3708
- },
3709
- "inheritedFrom": {
3710
- "name": "Accordion",
3711
- "module": "src/accordion/accordion.ts"
3712
3737
  }
3713
3738
  },
3714
3739
  {
3715
3740
  "kind": "method",
3716
- "name": "isSingleExpandMode",
3741
+ "name": "deriveState",
3717
3742
  "privacy": "private",
3718
3743
  "return": {
3719
3744
  "type": {
3720
- "text": "boolean"
3745
+ "text": "AIIndicatorState"
3721
3746
  }
3722
3747
  },
3723
- "inheritedFrom": {
3724
- "name": "Accordion",
3725
- "module": "src/accordion/accordion.ts"
3726
- }
3748
+ "parameters": [
3749
+ {
3750
+ "name": "s",
3751
+ "type": {
3752
+ "text": "AIStatus | null"
3753
+ }
3754
+ }
3755
+ ]
3727
3756
  },
3728
3757
  {
3729
- "kind": "field",
3730
- "name": "handleItemKeyDown",
3758
+ "kind": "method",
3759
+ "name": "maybeStartPolling",
3731
3760
  "privacy": "private",
3732
- "inheritedFrom": {
3733
- "name": "Accordion",
3734
- "module": "src/accordion/accordion.ts"
3761
+ "return": {
3762
+ "type": {
3763
+ "text": "void"
3764
+ }
3735
3765
  }
3736
3766
  },
3737
3767
  {
3738
- "kind": "field",
3739
- "name": "handleItemFocus",
3768
+ "kind": "method",
3769
+ "name": "startPolling",
3740
3770
  "privacy": "private",
3741
- "inheritedFrom": {
3742
- "name": "Accordion",
3743
- "module": "src/accordion/accordion.ts"
3771
+ "return": {
3772
+ "type": {
3773
+ "text": "void"
3774
+ }
3744
3775
  }
3745
3776
  },
3746
3777
  {
3747
3778
  "kind": "method",
3748
- "name": "adjust",
3779
+ "name": "stopPolling",
3749
3780
  "privacy": "private",
3750
3781
  "return": {
3751
3782
  "type": {
3752
3783
  "text": "void"
3753
3784
  }
3754
- },
3755
- "parameters": [
3756
- {
3757
- "name": "adjustment",
3758
- "type": {
3759
- "text": "number"
3760
- }
3761
- }
3762
- ],
3763
- "inheritedFrom": {
3764
- "name": "Accordion",
3765
- "module": "src/accordion/accordion.ts"
3766
3785
  }
3767
3786
  },
3768
3787
  {
3769
3788
  "kind": "method",
3770
- "name": "focusItem",
3771
- "privacy": "private",
3789
+ "name": "onInstall",
3772
3790
  "return": {
3773
3791
  "type": {
3774
- "text": "void"
3792
+ "text": "Promise<void>"
3775
3793
  }
3776
- },
3777
- "inheritedFrom": {
3778
- "name": "Accordion",
3779
- "module": "src/accordion/accordion.ts"
3780
3794
  }
3781
3795
  },
3782
3796
  {
@@ -3891,102 +3905,88 @@
3891
3905
  }
3892
3906
  }
3893
3907
  ],
3894
- "events": [
3895
- {
3896
- "description": "Fires a custom 'change' event when the active item changes",
3897
- "name": "change",
3898
- "inheritedFrom": {
3899
- "name": "Accordion",
3900
- "module": "src/accordion/accordion.ts"
3901
- }
3902
- }
3903
- ]
3904
- },
3905
- {
3906
- "kind": "variable",
3907
- "name": "foundationAccordionShadowOptions",
3908
- "type": {
3909
- "text": "ShadowRootInit"
3910
- },
3911
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3912
- },
3913
- {
3914
- "kind": "variable",
3915
- "name": "defaultAccordionConfig",
3916
- "type": {
3917
- "text": "object"
3908
+ "superclass": {
3909
+ "name": "FoundationElement",
3910
+ "package": "@microsoft/fast-foundation"
3918
3911
  },
3919
- "default": "{}"
3912
+ "tagName": "%%prefix%%-ai-indicator",
3913
+ "customElement": true
3920
3914
  },
3921
3915
  {
3922
3916
  "kind": "variable",
3923
- "name": "foundationAccordion",
3924
- "description": "The Foundation Accordion",
3925
- "privacy": "public"
3917
+ "name": "foundationAiIndicator"
3926
3918
  }
3927
3919
  ],
3928
3920
  "exports": [
3929
3921
  {
3930
3922
  "kind": "js",
3931
- "name": "Accordion",
3923
+ "name": "AiIndicator",
3932
3924
  "declaration": {
3933
- "name": "Accordion",
3934
- "module": "src/accordion/accordion.ts"
3925
+ "name": "AiIndicator",
3926
+ "module": "src/ai-indicator/ai-indicator.ts"
3935
3927
  }
3936
3928
  },
3937
3929
  {
3938
3930
  "kind": "js",
3939
- "name": "foundationAccordionShadowOptions",
3931
+ "name": "foundationAiIndicator",
3940
3932
  "declaration": {
3941
- "name": "foundationAccordionShadowOptions",
3942
- "module": "src/accordion/accordion.ts"
3933
+ "name": "foundationAiIndicator",
3934
+ "module": "src/ai-indicator/ai-indicator.ts"
3935
+ }
3936
+ }
3937
+ ]
3938
+ },
3939
+ {
3940
+ "kind": "javascript-module",
3941
+ "path": "src/ai-indicator/index.ts",
3942
+ "declarations": [],
3943
+ "exports": [
3944
+ {
3945
+ "kind": "js",
3946
+ "name": "AiIndicator",
3947
+ "declaration": {
3948
+ "name": "AiIndicator",
3949
+ "module": "./ai-indicator"
3943
3950
  }
3944
3951
  },
3945
3952
  {
3946
3953
  "kind": "js",
3947
- "name": "defaultAccordionConfig",
3954
+ "name": "foundationAiIndicator",
3948
3955
  "declaration": {
3949
- "name": "defaultAccordionConfig",
3950
- "module": "src/accordion/accordion.ts"
3956
+ "name": "foundationAiIndicator",
3957
+ "module": "./ai-indicator"
3951
3958
  }
3952
3959
  },
3953
3960
  {
3954
3961
  "kind": "js",
3955
- "name": "foundationAccordion",
3962
+ "name": "type",
3956
3963
  "declaration": {
3957
- "name": "foundationAccordion",
3958
- "module": "src/accordion/accordion.ts"
3964
+ "name": "type",
3965
+ "module": "./ai-indicator"
3959
3966
  }
3960
- }
3961
- ]
3962
- },
3963
- {
3964
- "kind": "javascript-module",
3965
- "path": "src/accordion/index.ts",
3966
- "declarations": [],
3967
- "exports": [
3967
+ },
3968
3968
  {
3969
3969
  "kind": "js",
3970
- "name": "*",
3970
+ "name": "AIIndicatorState",
3971
3971
  "declaration": {
3972
- "name": "*",
3973
- "package": "./accordion.template"
3972
+ "name": "AIIndicatorState",
3973
+ "module": "./ai-indicator"
3974
3974
  }
3975
3975
  },
3976
3976
  {
3977
3977
  "kind": "js",
3978
- "name": "*",
3978
+ "name": "foundationAiIndicatorTemplate",
3979
3979
  "declaration": {
3980
- "name": "*",
3981
- "package": "./accordion.styles"
3980
+ "name": "foundationAiIndicatorTemplate",
3981
+ "module": "./ai-indicator.template"
3982
3982
  }
3983
3983
  },
3984
3984
  {
3985
3985
  "kind": "js",
3986
- "name": "*",
3986
+ "name": "foundationAiIndicatorStyles",
3987
3987
  "declaration": {
3988
- "name": "*",
3989
- "package": "./accordion"
3988
+ "name": "foundationAiIndicatorStyles",
3989
+ "module": "./ai-indicator.styles"
3990
3990
  }
3991
3991
  }
3992
3992
  ]
@@ -151,14 +151,14 @@ export declare const ActionsMenu: React.ForwardRefExoticComponent<
151
151
  >;
152
152
  export type ActionsMenuRef = ActionsMenuWC;
153
153
 
154
- export declare const AiIndicator: React.ForwardRefExoticComponent<
154
+ export declare const Accordion: React.ForwardRefExoticComponent<
155
155
  React.PropsWithChildren<
156
- Omit<PublicOf<AiIndicatorWC>, 'children' | 'style'> &
156
+ Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
157
157
  HTMLWCProps & {
158
158
  }
159
- > & React.RefAttributes<AiIndicatorWC>
159
+ > & React.RefAttributes<AccordionWC>
160
160
  >;
161
- export type AiIndicatorRef = AiIndicatorWC;
161
+ export type AccordionRef = AccordionWC;
162
162
 
163
163
  export declare const AiCriteriaSearch: React.ForwardRefExoticComponent<
164
164
  React.PropsWithChildren<
@@ -171,14 +171,14 @@ export declare const AiCriteriaSearch: React.ForwardRefExoticComponent<
171
171
  >;
172
172
  export type AiCriteriaSearchRef = AiCriteriaSearchWC;
173
173
 
174
- export declare const Accordion: React.ForwardRefExoticComponent<
174
+ export declare const AiIndicator: React.ForwardRefExoticComponent<
175
175
  React.PropsWithChildren<
176
- Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
176
+ Omit<PublicOf<AiIndicatorWC>, 'children' | 'style'> &
177
177
  HTMLWCProps & {
178
178
  }
179
- > & React.RefAttributes<AccordionWC>
179
+ > & React.RefAttributes<AiIndicatorWC>
180
180
  >;
181
- export type AccordionRef = AccordionWC;
181
+ export type AiIndicatorRef = AiIndicatorWC;
182
182
 
183
183
  export declare const Anchor: React.ForwardRefExoticComponent<
184
184
  React.PropsWithChildren<
package/dist/react.cjs CHANGED
@@ -123,9 +123,9 @@ const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
123
123
  return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
124
124
  });
125
125
 
126
- const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
126
+ const Accordion = React.forwardRef(function Accordion(props, ref) {
127
127
  const { children, ...rest } = props;
128
- return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
128
+ return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
129
129
  });
130
130
 
131
131
  const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
@@ -150,9 +150,9 @@ const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref)
150
150
  return React.createElement(customElements.getName(AiCriteriaSearchWC) ?? '%%prefix%%-ai-criteria-search', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
151
151
  });
152
152
 
153
- const Accordion = React.forwardRef(function Accordion(props, ref) {
153
+ const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
154
154
  const { children, ...rest } = props;
155
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
155
+ return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
156
156
  });
157
157
 
158
158
  const Anchor = React.forwardRef(function Anchor(props, ref) {
@@ -1145,9 +1145,9 @@ const WeeklyRecurrence = React.forwardRef(function WeeklyRecurrence(props, ref)
1145
1145
  module.exports = {
1146
1146
  AccordionItem,
1147
1147
  ActionsMenu,
1148
- AiIndicator,
1149
- AiCriteriaSearch,
1150
1148
  Accordion,
1149
+ AiCriteriaSearch,
1150
+ AiIndicator,
1151
1151
  Anchor,
1152
1152
  AnchoredRegion,
1153
1153
  Avatar,
package/dist/react.mjs CHANGED
@@ -121,9 +121,9 @@ export const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
121
121
  return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
122
122
  });
123
123
 
124
- export const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
124
+ export const Accordion = React.forwardRef(function Accordion(props, ref) {
125
125
  const { children, ...rest } = props;
126
- return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
126
+ return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
127
127
  });
128
128
 
129
129
  export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
@@ -148,9 +148,9 @@ export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props
148
148
  return React.createElement(customElements.getName(AiCriteriaSearchWC) ?? '%%prefix%%-ai-criteria-search', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
149
149
  });
150
150
 
151
- export const Accordion = React.forwardRef(function Accordion(props, ref) {
151
+ export const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
152
152
  const { children, ...rest } = props;
153
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
153
+ return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
154
154
  });
155
155
 
156
156
  export const Anchor = React.forwardRef(function Anchor(props, ref) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-ui",
3
3
  "description": "Genesis Foundation UI",
4
- "version": "15.7.3-alpha-94532c4.0",
4
+ "version": "15.8.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -85,13 +85,13 @@
85
85
  }
86
86
  },
87
87
  "devDependencies": {
88
- "@genesislcap/foundation-testing": "15.7.3-alpha-94532c4.0",
89
- "@genesislcap/genx": "15.7.3-alpha-94532c4.0",
90
- "@genesislcap/rollup-builder": "15.7.3-alpha-94532c4.0",
91
- "@genesislcap/ts-builder": "15.7.3-alpha-94532c4.0",
92
- "@genesislcap/uvu-playwright-builder": "15.7.3-alpha-94532c4.0",
93
- "@genesislcap/vite-builder": "15.7.3-alpha-94532c4.0",
94
- "@genesislcap/webpack-builder": "15.7.3-alpha-94532c4.0",
88
+ "@genesislcap/foundation-testing": "15.8.0",
89
+ "@genesislcap/genx": "15.8.0",
90
+ "@genesislcap/rollup-builder": "15.8.0",
91
+ "@genesislcap/ts-builder": "15.8.0",
92
+ "@genesislcap/uvu-playwright-builder": "15.8.0",
93
+ "@genesislcap/vite-builder": "15.8.0",
94
+ "@genesislcap/webpack-builder": "15.8.0",
95
95
  "copyfiles": "^2.4.1"
96
96
  },
97
97
  "dependencies": {
@@ -100,16 +100,16 @@
100
100
  "@fortawesome/free-regular-svg-icons": "^6.2.1",
101
101
  "@fortawesome/free-solid-svg-icons": "^6.2.1",
102
102
  "@genesiscommunitysuccess/analyzer-import-alias-plugin": "^5.0.3",
103
- "@genesislcap/expression-builder": "15.7.3-alpha-94532c4.0",
104
- "@genesislcap/foundation-ai": "15.7.3-alpha-94532c4.0",
105
- "@genesislcap/foundation-comms": "15.7.3-alpha-94532c4.0",
106
- "@genesislcap/foundation-criteria": "15.7.3-alpha-94532c4.0",
107
- "@genesislcap/foundation-errors": "15.7.3-alpha-94532c4.0",
108
- "@genesislcap/foundation-events": "15.7.3-alpha-94532c4.0",
109
- "@genesislcap/foundation-logger": "15.7.3-alpha-94532c4.0",
110
- "@genesislcap/foundation-notifications": "15.7.3-alpha-94532c4.0",
111
- "@genesislcap/foundation-user": "15.7.3-alpha-94532c4.0",
112
- "@genesislcap/foundation-utils": "15.7.3-alpha-94532c4.0",
103
+ "@genesislcap/expression-builder": "15.8.0",
104
+ "@genesislcap/foundation-ai": "15.8.0",
105
+ "@genesislcap/foundation-comms": "15.8.0",
106
+ "@genesislcap/foundation-criteria": "15.8.0",
107
+ "@genesislcap/foundation-errors": "15.8.0",
108
+ "@genesislcap/foundation-events": "15.8.0",
109
+ "@genesislcap/foundation-logger": "15.8.0",
110
+ "@genesislcap/foundation-notifications": "15.8.0",
111
+ "@genesislcap/foundation-user": "15.8.0",
112
+ "@genesislcap/foundation-utils": "15.8.0",
113
113
  "@microsoft/fast-colors": "5.3.1",
114
114
  "@microsoft/fast-components": "2.30.6",
115
115
  "@microsoft/fast-element": "1.14.0",
@@ -142,5 +142,5 @@
142
142
  "require": "./dist/react.cjs"
143
143
  }
144
144
  },
145
- "gitHead": "85a871e7a46382dbfc7cc262a508e0cc95d3b3e3"
145
+ "gitHead": "10412a7d63fbdf104e0c8f8704a03a7f3b7ad347"
146
146
  }