@genesislcap/foundation-ui 15.6.0 → 15.6.2

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.
@@ -1422,6 +1422,37 @@
1422
1422
  }
1423
1423
  ]
1424
1424
  },
1425
+ {
1426
+ "kind": "javascript-module",
1427
+ "path": "src/_config/index.ts",
1428
+ "declarations": [],
1429
+ "exports": [
1430
+ {
1431
+ "kind": "js",
1432
+ "name": "*",
1433
+ "declaration": {
1434
+ "name": "*",
1435
+ "package": "./styles"
1436
+ }
1437
+ },
1438
+ {
1439
+ "kind": "js",
1440
+ "name": "*",
1441
+ "declaration": {
1442
+ "name": "*",
1443
+ "package": "./tokens"
1444
+ }
1445
+ },
1446
+ {
1447
+ "kind": "js",
1448
+ "name": "*",
1449
+ "declaration": {
1450
+ "name": "*",
1451
+ "package": "./values"
1452
+ }
1453
+ }
1454
+ ]
1455
+ },
1425
1456
  {
1426
1457
  "kind": "javascript-module",
1427
1458
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -2389,11 +2420,11 @@
2389
2420
  },
2390
2421
  {
2391
2422
  "kind": "javascript-module",
2392
- "path": "src/ai-indicator/ai-indicator.styles.ts",
2423
+ "path": "src/accordion/accordion.styles.ts",
2393
2424
  "declarations": [
2394
2425
  {
2395
2426
  "kind": "function",
2396
- "name": "foundationAiIndicatorStyles",
2427
+ "name": "foundationAccordionStyles",
2397
2428
  "return": {
2398
2429
  "type": {
2399
2430
  "text": "ElementStyles"
@@ -2418,224 +2449,276 @@
2418
2449
  "exports": [
2419
2450
  {
2420
2451
  "kind": "js",
2421
- "name": "foundationAiIndicatorStyles",
2452
+ "name": "foundationAccordionStyles",
2422
2453
  "declaration": {
2423
- "name": "foundationAiIndicatorStyles",
2424
- "module": "src/ai-indicator/ai-indicator.styles.ts"
2454
+ "name": "foundationAccordionStyles",
2455
+ "module": "src/accordion/accordion.styles.ts"
2425
2456
  }
2426
2457
  }
2427
2458
  ]
2428
2459
  },
2429
2460
  {
2430
2461
  "kind": "javascript-module",
2431
- "path": "src/ai-indicator/ai-indicator.template.ts",
2462
+ "path": "src/accordion/accordion.template.ts",
2432
2463
  "declarations": [
2433
2464
  {
2434
- "kind": "variable",
2435
- "name": "foundationAiIndicatorTemplate",
2436
- "type": {
2437
- "text": "ViewTemplate<AiIndicator>"
2465
+ "kind": "function",
2466
+ "name": "foundationAccordionTemplate",
2467
+ "return": {
2468
+ "type": {
2469
+ "text": "ViewTemplate<Accordion>"
2470
+ }
2438
2471
  },
2439
- "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
+ ]
2440
2486
  }
2441
2487
  ],
2442
2488
  "exports": [
2443
2489
  {
2444
2490
  "kind": "js",
2445
- "name": "foundationAiIndicatorTemplate",
2491
+ "name": "foundationAccordionTemplate",
2446
2492
  "declaration": {
2447
- "name": "foundationAiIndicatorTemplate",
2448
- "module": "src/ai-indicator/ai-indicator.template.ts"
2493
+ "name": "foundationAccordionTemplate",
2494
+ "module": "src/accordion/accordion.template.ts"
2449
2495
  }
2450
2496
  }
2451
2497
  ]
2452
2498
  },
2453
2499
  {
2454
2500
  "kind": "javascript-module",
2455
- "path": "src/ai-indicator/ai-indicator.ts",
2501
+ "path": "src/accordion/accordion.ts",
2456
2502
  "declarations": [
2457
2503
  {
2458
2504
  "kind": "class",
2459
2505
  "description": "",
2460
- "name": "AiIndicator",
2461
- "members": [
2462
- {
2463
- "kind": "field",
2464
- "name": "providerRegistry",
2465
- "type": {
2466
- "text": "AIProviderRegistry"
2467
- }
2468
- },
2469
- {
2470
- "kind": "field",
2471
- "name": "aiProvider",
2472
- "type": {
2473
- "text": "AIProvider | undefined"
2474
- },
2475
- "privacy": "private",
2476
- "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.",
2477
- "readonly": true
2478
- },
2506
+ "name": "Accordion",
2507
+ "superclass": {
2508
+ "name": "FASTAccordion",
2509
+ "package": "@microsoft/fast-foundation"
2510
+ },
2511
+ "tagName": "%%prefix%%-accordion",
2512
+ "customElement": true,
2513
+ "attributes": [
2479
2514
  {
2480
- "kind": "field",
2481
- "name": "status",
2515
+ "name": "expand-mode",
2482
2516
  "type": {
2483
- "text": "AIStatus | null"
2517
+ "text": "AccordionExpandMode"
2484
2518
  },
2485
- "default": "null"
2486
- },
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": [
2487
2528
  {
2488
2529
  "kind": "field",
2489
- "name": "open",
2530
+ "name": "expandmode",
2490
2531
  "type": {
2491
- "text": "boolean"
2532
+ "text": "AccordionExpandMode"
2492
2533
  },
2493
- "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
+ }
2494
2540
  },
2495
2541
  {
2496
2542
  "kind": "field",
2497
- "name": "state",
2543
+ "name": "activeid",
2498
2544
  "type": {
2499
- "text": "AIIndicatorState"
2545
+ "text": "string | null"
2500
2546
  },
2501
- "default": "'none'"
2547
+ "privacy": "private",
2548
+ "inheritedFrom": {
2549
+ "name": "Accordion",
2550
+ "module": "src/accordion/accordion.ts"
2551
+ }
2502
2552
  },
2503
2553
  {
2504
2554
  "kind": "field",
2505
- "name": "isInstalling",
2555
+ "name": "activeItemIndex",
2506
2556
  "type": {
2507
- "text": "boolean"
2557
+ "text": "number"
2508
2558
  },
2509
- "default": "false"
2559
+ "privacy": "private",
2560
+ "default": "0",
2561
+ "inheritedFrom": {
2562
+ "name": "Accordion",
2563
+ "module": "src/accordion/accordion.ts"
2564
+ }
2510
2565
  },
2511
2566
  {
2512
2567
  "kind": "field",
2513
- "name": "pollTimer",
2568
+ "name": "accordionIds",
2514
2569
  "type": {
2515
- "text": "ReturnType<typeof setInterval> | null"
2570
+ "text": "Array<string | null>"
2516
2571
  },
2517
2572
  "privacy": "private",
2518
- "default": "null"
2519
- },
2520
- {
2521
- "kind": "field",
2522
- "name": "clickOutside",
2523
- "privacy": "private"
2573
+ "inheritedFrom": {
2574
+ "name": "Accordion",
2575
+ "module": "src/accordion/accordion.ts"
2576
+ }
2524
2577
  },
2525
2578
  {
2526
2579
  "kind": "field",
2527
- "name": "chromeStatusLabel",
2528
- "type": {
2529
- "text": "string | null"
2530
- },
2531
- "readonly": true
2580
+ "name": "change",
2581
+ "privacy": "private",
2582
+ "inheritedFrom": {
2583
+ "name": "Accordion",
2584
+ "module": "src/accordion/accordion.ts"
2585
+ }
2532
2586
  },
2533
2587
  {
2534
- "kind": "field",
2535
- "name": "canInstall",
2536
- "type": {
2537
- "text": "boolean"
2588
+ "kind": "method",
2589
+ "name": "findExpandedItem",
2590
+ "privacy": "private",
2591
+ "return": {
2592
+ "type": {
2593
+ "text": "AccordionItem | null"
2594
+ }
2538
2595
  },
2539
- "readonly": true
2596
+ "inheritedFrom": {
2597
+ "name": "Accordion",
2598
+ "module": "src/accordion/accordion.ts"
2599
+ }
2540
2600
  },
2541
2601
  {
2542
2602
  "kind": "field",
2543
- "name": "isDownloading",
2544
- "type": {
2545
- "text": "boolean"
2546
- },
2547
- "readonly": true
2603
+ "name": "setItems",
2604
+ "privacy": "private",
2605
+ "inheritedFrom": {
2606
+ "name": "Accordion",
2607
+ "module": "src/accordion/accordion.ts"
2608
+ }
2548
2609
  },
2549
2610
  {
2550
2611
  "kind": "method",
2551
- "name": "openChanged",
2612
+ "name": "resetItems",
2613
+ "privacy": "private",
2552
2614
  "return": {
2553
2615
  "type": {
2554
2616
  "text": "void"
2555
2617
  }
2618
+ },
2619
+ "inheritedFrom": {
2620
+ "name": "Accordion",
2621
+ "module": "src/accordion/accordion.ts"
2556
2622
  }
2557
2623
  },
2558
2624
  {
2559
- "kind": "method",
2560
- "name": "handleClickOutside",
2625
+ "kind": "field",
2626
+ "name": "removeItemListeners",
2561
2627
  "privacy": "private",
2562
- "parameters": [
2563
- {
2564
- "name": "event",
2565
- "type": {
2566
- "text": "MouseEvent"
2567
- }
2568
- }
2569
- ]
2628
+ "inheritedFrom": {
2629
+ "name": "Accordion",
2630
+ "module": "src/accordion/accordion.ts"
2631
+ }
2570
2632
  },
2571
2633
  {
2572
- "kind": "method",
2573
- "name": "toggleDropdown"
2634
+ "kind": "field",
2635
+ "name": "activeItemChange",
2636
+ "privacy": "private",
2637
+ "inheritedFrom": {
2638
+ "name": "Accordion",
2639
+ "module": "src/accordion/accordion.ts"
2640
+ }
2574
2641
  },
2575
2642
  {
2576
2643
  "kind": "method",
2577
- "name": "refreshStatus",
2644
+ "name": "getItemIds",
2645
+ "privacy": "private",
2578
2646
  "return": {
2579
2647
  "type": {
2580
- "text": "Promise<void>"
2648
+ "text": "Array<string | null>"
2581
2649
  }
2650
+ },
2651
+ "inheritedFrom": {
2652
+ "name": "Accordion",
2653
+ "module": "src/accordion/accordion.ts"
2582
2654
  }
2583
2655
  },
2584
2656
  {
2585
2657
  "kind": "method",
2586
- "name": "deriveState",
2658
+ "name": "isSingleExpandMode",
2587
2659
  "privacy": "private",
2588
2660
  "return": {
2589
2661
  "type": {
2590
- "text": "AIIndicatorState"
2662
+ "text": "boolean"
2591
2663
  }
2592
2664
  },
2593
- "parameters": [
2594
- {
2595
- "name": "s",
2596
- "type": {
2597
- "text": "AIStatus | null"
2598
- }
2599
- }
2600
- ]
2665
+ "inheritedFrom": {
2666
+ "name": "Accordion",
2667
+ "module": "src/accordion/accordion.ts"
2668
+ }
2601
2669
  },
2602
2670
  {
2603
- "kind": "method",
2604
- "name": "maybeStartPolling",
2671
+ "kind": "field",
2672
+ "name": "handleItemKeyDown",
2605
2673
  "privacy": "private",
2606
- "return": {
2607
- "type": {
2608
- "text": "void"
2609
- }
2674
+ "inheritedFrom": {
2675
+ "name": "Accordion",
2676
+ "module": "src/accordion/accordion.ts"
2610
2677
  }
2611
2678
  },
2612
2679
  {
2613
- "kind": "method",
2614
- "name": "startPolling",
2680
+ "kind": "field",
2681
+ "name": "handleItemFocus",
2615
2682
  "privacy": "private",
2616
- "return": {
2617
- "type": {
2618
- "text": "void"
2619
- }
2683
+ "inheritedFrom": {
2684
+ "name": "Accordion",
2685
+ "module": "src/accordion/accordion.ts"
2620
2686
  }
2621
2687
  },
2622
2688
  {
2623
2689
  "kind": "method",
2624
- "name": "stopPolling",
2690
+ "name": "adjust",
2625
2691
  "privacy": "private",
2626
2692
  "return": {
2627
2693
  "type": {
2628
2694
  "text": "void"
2629
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"
2630
2708
  }
2631
2709
  },
2632
2710
  {
2633
2711
  "kind": "method",
2634
- "name": "onInstall",
2712
+ "name": "focusItem",
2713
+ "privacy": "private",
2635
2714
  "return": {
2636
2715
  "type": {
2637
- "text": "Promise<void>"
2716
+ "text": "void"
2638
2717
  }
2718
+ },
2719
+ "inheritedFrom": {
2720
+ "name": "Accordion",
2721
+ "module": "src/accordion/accordion.ts"
2639
2722
  }
2640
2723
  },
2641
2724
  {
@@ -2750,95 +2833,78 @@
2750
2833
  }
2751
2834
  }
2752
2835
  ],
2753
- "superclass": {
2754
- "name": "FoundationElement",
2755
- "package": "@microsoft/fast-foundation"
2756
- },
2757
- "tagName": "%%prefix%%-ai-indicator",
2758
- "customElement": true
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
+ ]
2759
2846
  },
2760
2847
  {
2761
2848
  "kind": "variable",
2762
- "name": "foundationAiIndicator"
2763
- }
2764
- ],
2765
- "exports": [
2849
+ "name": "foundationAccordionShadowOptions",
2850
+ "type": {
2851
+ "text": "ShadowRootInit"
2852
+ },
2853
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2854
+ },
2766
2855
  {
2767
- "kind": "js",
2768
- "name": "AiIndicator",
2769
- "declaration": {
2770
- "name": "AiIndicator",
2771
- "module": "src/ai-indicator/ai-indicator.ts"
2772
- }
2856
+ "kind": "variable",
2857
+ "name": "defaultAccordionConfig",
2858
+ "type": {
2859
+ "text": "object"
2860
+ },
2861
+ "default": "{}"
2773
2862
  },
2774
2863
  {
2775
- "kind": "js",
2776
- "name": "foundationAiIndicator",
2777
- "declaration": {
2778
- "name": "foundationAiIndicator",
2779
- "module": "src/ai-indicator/ai-indicator.ts"
2780
- }
2864
+ "kind": "variable",
2865
+ "name": "foundationAccordion",
2866
+ "description": "The Foundation Accordion",
2867
+ "privacy": "public"
2781
2868
  }
2782
- ]
2783
- },
2784
- {
2785
- "kind": "javascript-module",
2786
- "path": "src/ai-indicator/index.ts",
2787
- "declarations": [],
2869
+ ],
2788
2870
  "exports": [
2789
2871
  {
2790
2872
  "kind": "js",
2791
- "name": "AiIndicator",
2792
- "declaration": {
2793
- "name": "AiIndicator",
2794
- "module": "./ai-indicator"
2795
- }
2796
- },
2797
- {
2798
- "kind": "js",
2799
- "name": "foundationAiIndicator",
2800
- "declaration": {
2801
- "name": "foundationAiIndicator",
2802
- "module": "./ai-indicator"
2803
- }
2804
- },
2805
- {
2806
- "kind": "js",
2807
- "name": "type",
2873
+ "name": "Accordion",
2808
2874
  "declaration": {
2809
- "name": "type",
2810
- "module": "./ai-indicator"
2875
+ "name": "Accordion",
2876
+ "module": "src/accordion/accordion.ts"
2811
2877
  }
2812
2878
  },
2813
2879
  {
2814
2880
  "kind": "js",
2815
- "name": "AIIndicatorState",
2881
+ "name": "foundationAccordionShadowOptions",
2816
2882
  "declaration": {
2817
- "name": "AIIndicatorState",
2818
- "module": "./ai-indicator"
2883
+ "name": "foundationAccordionShadowOptions",
2884
+ "module": "src/accordion/accordion.ts"
2819
2885
  }
2820
2886
  },
2821
2887
  {
2822
2888
  "kind": "js",
2823
- "name": "foundationAiIndicatorTemplate",
2889
+ "name": "defaultAccordionConfig",
2824
2890
  "declaration": {
2825
- "name": "foundationAiIndicatorTemplate",
2826
- "module": "./ai-indicator.template"
2891
+ "name": "defaultAccordionConfig",
2892
+ "module": "src/accordion/accordion.ts"
2827
2893
  }
2828
2894
  },
2829
2895
  {
2830
2896
  "kind": "js",
2831
- "name": "foundationAiIndicatorStyles",
2897
+ "name": "foundationAccordion",
2832
2898
  "declaration": {
2833
- "name": "foundationAiIndicatorStyles",
2834
- "module": "./ai-indicator.styles"
2899
+ "name": "foundationAccordion",
2900
+ "module": "src/accordion/accordion.ts"
2835
2901
  }
2836
2902
  }
2837
2903
  ]
2838
2904
  },
2839
2905
  {
2840
2906
  "kind": "javascript-module",
2841
- "path": "src/_config/index.ts",
2907
+ "path": "src/accordion/index.ts",
2842
2908
  "declarations": [],
2843
2909
  "exports": [
2844
2910
  {
@@ -2846,7 +2912,7 @@
2846
2912
  "name": "*",
2847
2913
  "declaration": {
2848
2914
  "name": "*",
2849
- "package": "./styles"
2915
+ "package": "./accordion.template"
2850
2916
  }
2851
2917
  },
2852
2918
  {
@@ -2854,7 +2920,7 @@
2854
2920
  "name": "*",
2855
2921
  "declaration": {
2856
2922
  "name": "*",
2857
- "package": "./tokens"
2923
+ "package": "./accordion.styles"
2858
2924
  }
2859
2925
  },
2860
2926
  {
@@ -2862,7 +2928,7 @@
2862
2928
  "name": "*",
2863
2929
  "declaration": {
2864
2930
  "name": "*",
2865
- "package": "./values"
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": [
3572
- {
3573
- "name": "expand-mode",
3574
- "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"
3582
- }
3583
- }
3584
- ],
3615
+ "name": "AiIndicator",
3585
3616
  "members": [
3586
3617
  {
3587
3618
  "kind": "field",
3588
- "name": "expandmode",
3619
+ "name": "providerRegistry",
3589
3620
  "type": {
3590
- "text": "AccordionExpandMode"
3591
- },
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"
3621
+ "text": "AIProviderRegistry"
3597
3622
  }
3598
3623
  },
3599
3624
  {
3600
3625
  "kind": "field",
3601
- "name": "activeid",
3626
+ "name": "aiProvider",
3602
3627
  "type": {
3603
- "text": "string | null"
3628
+ "text": "AIProvider | undefined"
3604
3629
  },
3605
3630
  "privacy": "private",
3606
- "inheritedFrom": {
3607
- "name": "Accordion",
3608
- "module": "src/accordion/accordion.ts"
3609
- }
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
3610
3633
  },
3611
3634
  {
3612
3635
  "kind": "field",
3613
- "name": "activeItemIndex",
3636
+ "name": "status",
3614
3637
  "type": {
3615
- "text": "number"
3638
+ "text": "AIStatus | null"
3616
3639
  },
3617
- "privacy": "private",
3618
- "default": "0",
3619
- "inheritedFrom": {
3620
- "name": "Accordion",
3621
- "module": "src/accordion/accordion.ts"
3622
- }
3640
+ "default": "null"
3623
3641
  },
3624
3642
  {
3625
3643
  "kind": "field",
3626
- "name": "accordionIds",
3644
+ "name": "open",
3627
3645
  "type": {
3628
- "text": "Array<string | null>"
3646
+ "text": "boolean"
3629
3647
  },
3630
- "privacy": "private",
3631
- "inheritedFrom": {
3632
- "name": "Accordion",
3633
- "module": "src/accordion/accordion.ts"
3634
- }
3648
+ "default": "false"
3635
3649
  },
3636
3650
  {
3637
3651
  "kind": "field",
3638
- "name": "change",
3639
- "privacy": "private",
3640
- "inheritedFrom": {
3641
- "name": "Accordion",
3642
- "module": "src/accordion/accordion.ts"
3643
- }
3652
+ "name": "state",
3653
+ "type": {
3654
+ "text": "AIIndicatorState"
3655
+ },
3656
+ "default": "'none'"
3644
3657
  },
3645
3658
  {
3646
- "kind": "method",
3647
- "name": "findExpandedItem",
3648
- "privacy": "private",
3649
- "return": {
3650
- "type": {
3651
- "text": "AccordionItem | null"
3652
- }
3659
+ "kind": "field",
3660
+ "name": "isInstalling",
3661
+ "type": {
3662
+ "text": "boolean"
3653
3663
  },
3654
- "inheritedFrom": {
3655
- "name": "Accordion",
3656
- "module": "src/accordion/accordion.ts"
3657
- }
3664
+ "default": "false"
3658
3665
  },
3659
3666
  {
3660
3667
  "kind": "field",
3661
- "name": "setItems",
3668
+ "name": "pollTimer",
3669
+ "type": {
3670
+ "text": "ReturnType<typeof setInterval> | null"
3671
+ },
3662
3672
  "privacy": "private",
3663
- "inheritedFrom": {
3664
- "name": "Accordion",
3665
- "module": "src/accordion/accordion.ts"
3666
- }
3673
+ "default": "null"
3674
+ },
3675
+ {
3676
+ "kind": "field",
3677
+ "name": "clickOutside",
3678
+ "privacy": "private"
3679
+ },
3680
+ {
3681
+ "kind": "field",
3682
+ "name": "chromeStatusLabel",
3683
+ "type": {
3684
+ "text": "string | null"
3685
+ },
3686
+ "readonly": true
3687
+ },
3688
+ {
3689
+ "kind": "field",
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.6.0",
4
+ "version": "15.6.2",
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.6.0",
89
- "@genesislcap/genx": "15.6.0",
90
- "@genesislcap/rollup-builder": "15.6.0",
91
- "@genesislcap/ts-builder": "15.6.0",
92
- "@genesislcap/uvu-playwright-builder": "15.6.0",
93
- "@genesislcap/vite-builder": "15.6.0",
94
- "@genesislcap/webpack-builder": "15.6.0",
88
+ "@genesislcap/foundation-testing": "15.6.2",
89
+ "@genesislcap/genx": "15.6.2",
90
+ "@genesislcap/rollup-builder": "15.6.2",
91
+ "@genesislcap/ts-builder": "15.6.2",
92
+ "@genesislcap/uvu-playwright-builder": "15.6.2",
93
+ "@genesislcap/vite-builder": "15.6.2",
94
+ "@genesislcap/webpack-builder": "15.6.2",
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.6.0",
104
- "@genesislcap/foundation-ai": "15.6.0",
105
- "@genesislcap/foundation-comms": "15.6.0",
106
- "@genesislcap/foundation-criteria": "15.6.0",
107
- "@genesislcap/foundation-errors": "15.6.0",
108
- "@genesislcap/foundation-events": "15.6.0",
109
- "@genesislcap/foundation-logger": "15.6.0",
110
- "@genesislcap/foundation-notifications": "15.6.0",
111
- "@genesislcap/foundation-user": "15.6.0",
112
- "@genesislcap/foundation-utils": "15.6.0",
103
+ "@genesislcap/expression-builder": "15.6.2",
104
+ "@genesislcap/foundation-ai": "15.6.2",
105
+ "@genesislcap/foundation-comms": "15.6.2",
106
+ "@genesislcap/foundation-criteria": "15.6.2",
107
+ "@genesislcap/foundation-errors": "15.6.2",
108
+ "@genesislcap/foundation-events": "15.6.2",
109
+ "@genesislcap/foundation-logger": "15.6.2",
110
+ "@genesislcap/foundation-notifications": "15.6.2",
111
+ "@genesislcap/foundation-user": "15.6.2",
112
+ "@genesislcap/foundation-utils": "15.6.2",
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": "dbf070bac8a4bfc2a178e335b1faffb130e8f761"
145
+ "gitHead": "a5781780cb56906755ddbfc4be75e221719ae4b4"
146
146
  }