@genesislcap/foundation-ui 14.419.0 → 14.419.2-alpha-83dfc7d.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.
@@ -2376,306 +2376,191 @@
2376
2376
  },
2377
2377
  {
2378
2378
  "kind": "javascript-module",
2379
- "path": "src/accordion/accordion.styles.ts",
2379
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2380
2380
  "declarations": [
2381
2381
  {
2382
- "kind": "function",
2383
- "name": "foundationAccordionStyles",
2384
- "return": {
2385
- "type": {
2386
- "text": "ElementStyles"
2387
- }
2388
- },
2389
- "parameters": [
2390
- {
2391
- "name": "context",
2392
- "type": {
2393
- "text": "ElementDefinitionContext"
2394
- }
2395
- },
2396
- {
2397
- "name": "definition",
2398
- "type": {
2399
- "text": "FoundationElementDefinition"
2400
- }
2401
- }
2402
- ]
2382
+ "kind": "variable",
2383
+ "name": "foundationAiCriteriaSearchStyles",
2384
+ "default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .mode-control {\n flex-shrink: 0;\n }\n`"
2403
2385
  }
2404
2386
  ],
2405
2387
  "exports": [
2406
2388
  {
2407
2389
  "kind": "js",
2408
- "name": "foundationAccordionStyles",
2390
+ "name": "foundationAiCriteriaSearchStyles",
2409
2391
  "declaration": {
2410
- "name": "foundationAccordionStyles",
2411
- "module": "src/accordion/accordion.styles.ts"
2392
+ "name": "foundationAiCriteriaSearchStyles",
2393
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2412
2394
  }
2413
2395
  }
2414
2396
  ]
2415
2397
  },
2416
2398
  {
2417
2399
  "kind": "javascript-module",
2418
- "path": "src/accordion/accordion.template.ts",
2400
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2419
2401
  "declarations": [
2420
2402
  {
2421
- "kind": "function",
2422
- "name": "foundationAccordionTemplate",
2423
- "return": {
2424
- "type": {
2425
- "text": "ViewTemplate<Accordion>"
2426
- }
2403
+ "kind": "variable",
2404
+ "name": "foundationAiCriteriaSearchTemplate",
2405
+ "type": {
2406
+ "text": "ViewTemplate<AiCriteriaSearch>"
2427
2407
  },
2428
- "parameters": [
2429
- {
2430
- "name": "context",
2431
- "type": {
2432
- "text": "ElementDefinitionContext"
2433
- }
2434
- },
2435
- {
2436
- "name": "definition",
2437
- "type": {
2438
- "text": "FoundationElementDefinition"
2439
- }
2440
- }
2441
- ]
2408
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2442
2409
  }
2443
2410
  ],
2444
2411
  "exports": [
2445
2412
  {
2446
2413
  "kind": "js",
2447
- "name": "foundationAccordionTemplate",
2414
+ "name": "foundationAiCriteriaSearchTemplate",
2448
2415
  "declaration": {
2449
- "name": "foundationAccordionTemplate",
2450
- "module": "src/accordion/accordion.template.ts"
2416
+ "name": "foundationAiCriteriaSearchTemplate",
2417
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2451
2418
  }
2452
2419
  }
2453
2420
  ]
2454
2421
  },
2455
2422
  {
2456
2423
  "kind": "javascript-module",
2457
- "path": "src/accordion/accordion.ts",
2424
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
2458
2425
  "declarations": [
2459
2426
  {
2460
2427
  "kind": "class",
2461
- "description": "",
2462
- "name": "Accordion",
2463
- "superclass": {
2464
- "name": "FASTAccordion",
2465
- "package": "@microsoft/fast-foundation"
2466
- },
2467
- "tagName": "%%prefix%%-accordion",
2468
- "customElement": true,
2469
- "attributes": [
2428
+ "description": "Natural-language criteria search input with AI interpretation.",
2429
+ "name": "AiCriteriaSearch",
2430
+ "members": [
2470
2431
  {
2471
- "name": "expand-mode",
2432
+ "kind": "field",
2433
+ "name": "aiProvider",
2472
2434
  "type": {
2473
- "text": "AccordionExpandMode"
2474
- },
2475
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2476
- "fieldName": "expandmode",
2477
- "inheritedFrom": {
2478
- "name": "Accordion",
2479
- "module": "src/accordion/accordion.ts"
2435
+ "text": "AIProvider"
2480
2436
  }
2481
- }
2482
- ],
2483
- "members": [
2437
+ },
2484
2438
  {
2485
2439
  "kind": "field",
2486
- "name": "expandmode",
2440
+ "name": "placeholder",
2487
2441
  "type": {
2488
- "text": "AccordionExpandMode"
2442
+ "text": "string"
2489
2443
  },
2490
- "privacy": "public",
2491
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2492
- "inheritedFrom": {
2493
- "name": "Accordion",
2494
- "module": "src/accordion/accordion.ts"
2444
+ "default": "'Describe your search criteria in natural language...'"
2445
+ },
2446
+ {
2447
+ "kind": "field",
2448
+ "name": "disabled",
2449
+ "type": {
2450
+ "text": "boolean"
2495
2451
  }
2496
2452
  },
2497
2453
  {
2498
2454
  "kind": "field",
2499
- "name": "activeid",
2455
+ "name": "mode",
2500
2456
  "type": {
2501
- "text": "string | null"
2457
+ "text": "'append' | 'replace'"
2502
2458
  },
2503
- "privacy": "private",
2504
- "inheritedFrom": {
2505
- "name": "Accordion",
2506
- "module": "src/accordion/accordion.ts"
2507
- }
2459
+ "default": "'replace'"
2508
2460
  },
2509
2461
  {
2510
2462
  "kind": "field",
2511
- "name": "activeItemIndex",
2463
+ "name": "inputValue",
2512
2464
  "type": {
2513
- "text": "number"
2465
+ "text": "string"
2514
2466
  },
2515
- "privacy": "private",
2516
- "default": "0",
2517
- "inheritedFrom": {
2518
- "name": "Accordion",
2519
- "module": "src/accordion/accordion.ts"
2520
- }
2467
+ "default": "''"
2521
2468
  },
2522
2469
  {
2523
2470
  "kind": "field",
2524
- "name": "accordionIds",
2471
+ "name": "isInterpreting",
2525
2472
  "type": {
2526
- "text": "Array<string | null>"
2473
+ "text": "boolean"
2527
2474
  },
2528
- "privacy": "private",
2529
- "inheritedFrom": {
2530
- "name": "Accordion",
2531
- "module": "src/accordion/accordion.ts"
2532
- }
2475
+ "default": "false"
2533
2476
  },
2534
2477
  {
2535
2478
  "kind": "field",
2536
- "name": "change",
2537
- "privacy": "private",
2538
- "inheritedFrom": {
2539
- "name": "Accordion",
2540
- "module": "src/accordion/accordion.ts"
2541
- }
2479
+ "name": "lastValidCriteria",
2480
+ "type": {
2481
+ "text": "string | null"
2482
+ },
2483
+ "default": "null"
2542
2484
  },
2543
2485
  {
2544
- "kind": "method",
2545
- "name": "findExpandedItem",
2546
- "privacy": "private",
2547
- "return": {
2548
- "type": {
2549
- "text": "AccordionItem | null"
2550
- }
2486
+ "kind": "field",
2487
+ "name": "fieldMetadata",
2488
+ "type": {
2489
+ "text": "MetadataDetail[] | string[]"
2551
2490
  },
2552
- "inheritedFrom": {
2553
- "name": "Accordion",
2554
- "module": "src/accordion/accordion.ts"
2555
- }
2491
+ "default": "[]"
2556
2492
  },
2557
2493
  {
2558
2494
  "kind": "field",
2559
- "name": "setItems",
2560
- "privacy": "private",
2561
- "inheritedFrom": {
2562
- "name": "Accordion",
2563
- "module": "src/accordion/accordion.ts"
2564
- }
2495
+ "name": "isRecording",
2496
+ "type": {
2497
+ "text": "boolean"
2498
+ },
2499
+ "default": "false"
2565
2500
  },
2566
2501
  {
2567
- "kind": "method",
2568
- "name": "resetItems",
2569
- "privacy": "private",
2570
- "return": {
2571
- "type": {
2572
- "text": "void"
2573
- }
2502
+ "kind": "field",
2503
+ "name": "textAreaRef",
2504
+ "type": {
2505
+ "text": "HTMLTextAreaElement"
2574
2506
  },
2575
- "inheritedFrom": {
2576
- "name": "Accordion",
2577
- "module": "src/accordion/accordion.ts"
2578
- }
2507
+ "privacy": "public"
2579
2508
  },
2580
2509
  {
2581
2510
  "kind": "field",
2582
- "name": "removeItemListeners",
2511
+ "name": "stopRecording",
2512
+ "type": {
2513
+ "text": "(() => void) | null"
2514
+ },
2583
2515
  "privacy": "private",
2584
- "inheritedFrom": {
2585
- "name": "Accordion",
2586
- "module": "src/accordion/accordion.ts"
2587
- }
2516
+ "default": "null"
2588
2517
  },
2589
2518
  {
2590
2519
  "kind": "field",
2591
- "name": "activeItemChange",
2520
+ "name": "speechApplyDebounceTimer",
2521
+ "type": {
2522
+ "text": "ReturnType<typeof setTimeout> | null"
2523
+ },
2592
2524
  "privacy": "private",
2593
- "inheritedFrom": {
2594
- "name": "Accordion",
2595
- "module": "src/accordion/accordion.ts"
2596
- }
2525
+ "default": "null"
2597
2526
  },
2598
2527
  {
2599
- "kind": "method",
2600
- "name": "getItemIds",
2528
+ "kind": "field",
2529
+ "name": "baseInputForAppend",
2530
+ "type": {
2531
+ "text": "string"
2532
+ },
2601
2533
  "privacy": "private",
2602
- "return": {
2603
- "type": {
2604
- "text": "Array<string | null>"
2605
- }
2534
+ "default": "''"
2535
+ },
2536
+ {
2537
+ "kind": "field",
2538
+ "name": "speechAvailable",
2539
+ "type": {
2540
+ "text": "boolean"
2606
2541
  },
2607
- "inheritedFrom": {
2608
- "name": "Accordion",
2609
- "module": "src/accordion/accordion.ts"
2610
- }
2542
+ "readonly": true
2611
2543
  },
2612
2544
  {
2613
2545
  "kind": "method",
2614
- "name": "isSingleExpandMode",
2615
- "privacy": "private",
2616
- "return": {
2617
- "type": {
2618
- "text": "boolean"
2619
- }
2620
- },
2621
- "inheritedFrom": {
2622
- "name": "Accordion",
2623
- "module": "src/accordion/accordion.ts"
2624
- }
2546
+ "name": "handleSubmit"
2625
2547
  },
2626
2548
  {
2627
- "kind": "field",
2628
- "name": "handleItemKeyDown",
2629
- "privacy": "private",
2630
- "inheritedFrom": {
2631
- "name": "Accordion",
2632
- "module": "src/accordion/accordion.ts"
2633
- }
2549
+ "kind": "method",
2550
+ "name": "handleBlur"
2634
2551
  },
2635
2552
  {
2636
- "kind": "field",
2637
- "name": "handleItemFocus",
2638
- "privacy": "private",
2639
- "inheritedFrom": {
2640
- "name": "Accordion",
2641
- "module": "src/accordion/accordion.ts"
2642
- }
2553
+ "kind": "method",
2554
+ "name": "clear"
2643
2555
  },
2644
2556
  {
2645
2557
  "kind": "method",
2646
- "name": "adjust",
2647
- "privacy": "private",
2648
- "return": {
2649
- "type": {
2650
- "text": "void"
2651
- }
2652
- },
2653
- "parameters": [
2654
- {
2655
- "name": "adjustment",
2656
- "type": {
2657
- "text": "number"
2658
- }
2659
- }
2660
- ],
2661
- "inheritedFrom": {
2662
- "name": "Accordion",
2663
- "module": "src/accordion/accordion.ts"
2664
- }
2558
+ "name": "toggleSpeechInput"
2665
2559
  },
2666
2560
  {
2667
2561
  "kind": "method",
2668
- "name": "focusItem",
2669
- "privacy": "private",
2670
- "return": {
2671
- "type": {
2672
- "text": "void"
2673
- }
2674
- },
2675
- "inheritedFrom": {
2676
- "name": "Accordion",
2677
- "module": "src/accordion/accordion.ts"
2678
- }
2562
+ "name": "clearSpeechApplyDebounce",
2563
+ "privacy": "private"
2679
2564
  },
2680
2565
  {
2681
2566
  "kind": "field",
@@ -2791,26 +2676,56 @@
2791
2676
  ],
2792
2677
  "events": [
2793
2678
  {
2794
- "description": "Fires a custom 'change' event when the active item changes",
2795
- "name": "change",
2796
- "inheritedFrom": {
2797
- "name": "Accordion",
2798
- "module": "src/accordion/accordion.ts"
2799
- }
2679
+ "description": "Fired when interpreted criteria is applied or cleared",
2680
+ "name": "criteria-changed"
2681
+ },
2682
+ {
2683
+ "description": "Fired when interpreted criteria contains invalid clauses",
2684
+ "name": "validation-errors"
2800
2685
  }
2801
- ]
2686
+ ],
2687
+ "attributes": [
2688
+ {
2689
+ "name": "placeholder",
2690
+ "type": {
2691
+ "text": "string"
2692
+ },
2693
+ "default": "'Describe your search criteria in natural language...'",
2694
+ "fieldName": "placeholder"
2695
+ },
2696
+ {
2697
+ "type": {
2698
+ "text": "boolean"
2699
+ },
2700
+ "fieldName": "disabled"
2701
+ },
2702
+ {
2703
+ "name": "mode",
2704
+ "type": {
2705
+ "text": "'append' | 'replace'"
2706
+ },
2707
+ "default": "'replace'",
2708
+ "fieldName": "mode"
2709
+ }
2710
+ ],
2711
+ "superclass": {
2712
+ "name": "FoundationElement",
2713
+ "package": "@microsoft/fast-foundation"
2714
+ },
2715
+ "tagName": "%%prefix%%-ai-criteria-search",
2716
+ "customElement": true
2802
2717
  },
2803
2718
  {
2804
2719
  "kind": "variable",
2805
- "name": "foundationAccordionShadowOptions",
2720
+ "name": "foundationAiCriteriaSearchShadowOptions",
2806
2721
  "type": {
2807
2722
  "text": "ShadowRootInit"
2808
2723
  },
2809
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2724
+ "default": "undefined"
2810
2725
  },
2811
2726
  {
2812
2727
  "kind": "variable",
2813
- "name": "defaultAccordionConfig",
2728
+ "name": "defaultAiCriteriaSearchConfig",
2814
2729
  "type": {
2815
2730
  "text": "object"
2816
2731
  },
@@ -2818,57 +2733,103 @@
2818
2733
  },
2819
2734
  {
2820
2735
  "kind": "variable",
2821
- "name": "foundationAccordion",
2822
- "description": "The Foundation Accordion",
2823
- "privacy": "public"
2736
+ "name": "foundationAiCriteriaSearch"
2824
2737
  }
2825
2738
  ],
2826
2739
  "exports": [
2827
2740
  {
2828
2741
  "kind": "js",
2829
- "name": "Accordion",
2742
+ "name": "AiCriteriaSearch",
2830
2743
  "declaration": {
2831
- "name": "Accordion",
2832
- "module": "src/accordion/accordion.ts"
2744
+ "name": "AiCriteriaSearch",
2745
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2833
2746
  }
2834
2747
  },
2835
2748
  {
2836
2749
  "kind": "js",
2837
- "name": "foundationAccordionShadowOptions",
2750
+ "name": "foundationAiCriteriaSearchShadowOptions",
2838
2751
  "declaration": {
2839
- "name": "foundationAccordionShadowOptions",
2840
- "module": "src/accordion/accordion.ts"
2752
+ "name": "foundationAiCriteriaSearchShadowOptions",
2753
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2841
2754
  }
2842
2755
  },
2843
2756
  {
2844
2757
  "kind": "js",
2845
- "name": "defaultAccordionConfig",
2758
+ "name": "defaultAiCriteriaSearchConfig",
2846
2759
  "declaration": {
2847
- "name": "defaultAccordionConfig",
2848
- "module": "src/accordion/accordion.ts"
2760
+ "name": "defaultAiCriteriaSearchConfig",
2761
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2849
2762
  }
2850
2763
  },
2851
2764
  {
2852
2765
  "kind": "js",
2853
- "name": "foundationAccordion",
2766
+ "name": "foundationAiCriteriaSearch",
2854
2767
  "declaration": {
2855
- "name": "foundationAccordion",
2856
- "module": "src/accordion/accordion.ts"
2768
+ "name": "foundationAiCriteriaSearch",
2769
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2857
2770
  }
2858
2771
  }
2859
2772
  ]
2860
2773
  },
2861
2774
  {
2862
2775
  "kind": "javascript-module",
2863
- "path": "src/accordion/index.ts",
2776
+ "path": "src/ai-criteria-search/index.ts",
2864
2777
  "declarations": [],
2865
2778
  "exports": [
2779
+ {
2780
+ "kind": "js",
2781
+ "name": "AiCriteriaSearch",
2782
+ "declaration": {
2783
+ "name": "AiCriteriaSearch",
2784
+ "module": "./ai-criteria-search"
2785
+ }
2786
+ },
2787
+ {
2788
+ "kind": "js",
2789
+ "name": "defaultAiCriteriaSearchConfig",
2790
+ "declaration": {
2791
+ "name": "defaultAiCriteriaSearchConfig",
2792
+ "module": "./ai-criteria-search"
2793
+ }
2794
+ },
2795
+ {
2796
+ "kind": "js",
2797
+ "name": "foundationAiCriteriaSearch",
2798
+ "declaration": {
2799
+ "name": "foundationAiCriteriaSearch",
2800
+ "module": "./ai-criteria-search"
2801
+ }
2802
+ },
2803
+ {
2804
+ "kind": "js",
2805
+ "name": "foundationAiCriteriaSearchShadowOptions",
2806
+ "declaration": {
2807
+ "name": "foundationAiCriteriaSearchShadowOptions",
2808
+ "module": "./ai-criteria-search"
2809
+ }
2810
+ },
2811
+ {
2812
+ "kind": "js",
2813
+ "name": "foundationAiCriteriaSearchStyles",
2814
+ "declaration": {
2815
+ "name": "foundationAiCriteriaSearchStyles",
2816
+ "module": "./ai-criteria-search.styles"
2817
+ }
2818
+ },
2819
+ {
2820
+ "kind": "js",
2821
+ "name": "foundationAiCriteriaSearchTemplate",
2822
+ "declaration": {
2823
+ "name": "foundationAiCriteriaSearchTemplate",
2824
+ "module": "./ai-criteria-search.template"
2825
+ }
2826
+ },
2866
2827
  {
2867
2828
  "kind": "js",
2868
2829
  "name": "*",
2869
2830
  "declaration": {
2870
2831
  "name": "*",
2871
- "package": "./accordion.template"
2832
+ "package": "./validation/criteria-ir"
2872
2833
  }
2873
2834
  },
2874
2835
  {
@@ -2876,7 +2837,7 @@
2876
2837
  "name": "*",
2877
2838
  "declaration": {
2878
2839
  "name": "*",
2879
- "package": "./accordion.styles"
2840
+ "package": "./validation/operator-map"
2880
2841
  }
2881
2842
  },
2882
2843
  {
@@ -2884,64 +2845,157 @@
2884
2845
  "name": "*",
2885
2846
  "declaration": {
2886
2847
  "name": "*",
2887
- "package": "./accordion"
2848
+ "package": "./validation/schema-validator"
2849
+ }
2850
+ }
2851
+ ]
2852
+ },
2853
+ {
2854
+ "kind": "javascript-module",
2855
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
2856
+ "declarations": [
2857
+ {
2858
+ "kind": "function",
2859
+ "name": "formatValidationErrors",
2860
+ "return": {
2861
+ "type": {
2862
+ "text": "string"
2863
+ }
2864
+ },
2865
+ "parameters": [
2866
+ {
2867
+ "name": "errors",
2868
+ "type": {
2869
+ "text": "ValidationError[]"
2870
+ }
2871
+ }
2872
+ ],
2873
+ "description": "Formats validation errors into a user-friendly message."
2874
+ },
2875
+ {
2876
+ "kind": "function",
2877
+ "name": "showCriteriaError",
2878
+ "return": {
2879
+ "type": {
2880
+ "text": "void"
2881
+ }
2882
+ },
2883
+ "parameters": [
2884
+ {
2885
+ "name": "title",
2886
+ "type": {
2887
+ "text": "string"
2888
+ },
2889
+ "description": "Notification title (e.g. \"Criteria validation error\")"
2890
+ },
2891
+ {
2892
+ "name": "body",
2893
+ "type": {
2894
+ "text": "string"
2895
+ },
2896
+ "description": "Error message to display"
2897
+ },
2898
+ {
2899
+ "name": "tagName",
2900
+ "type": {
2901
+ "text": "string"
2902
+ },
2903
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2904
+ }
2905
+ ],
2906
+ "description": "Shows a criteria error as a toast notification."
2907
+ }
2908
+ ],
2909
+ "exports": [
2910
+ {
2911
+ "kind": "js",
2912
+ "name": "formatValidationErrors",
2913
+ "declaration": {
2914
+ "name": "formatValidationErrors",
2915
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2916
+ }
2917
+ },
2918
+ {
2919
+ "kind": "js",
2920
+ "name": "showCriteriaError",
2921
+ "declaration": {
2922
+ "name": "showCriteriaError",
2923
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2888
2924
  }
2889
2925
  }
2890
2926
  ]
2891
2927
  },
2892
2928
  {
2893
2929
  "kind": "javascript-module",
2894
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2930
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
2895
2931
  "declarations": [
2896
2932
  {
2897
- "kind": "variable",
2898
- "name": "foundationAiCriteriaSearchStyles",
2899
- "default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .mode-control {\n flex-shrink: 0;\n }\n`"
2933
+ "kind": "function",
2934
+ "name": "foundationAiIndicatorStyles",
2935
+ "return": {
2936
+ "type": {
2937
+ "text": "ElementStyles"
2938
+ }
2939
+ },
2940
+ "parameters": [
2941
+ {
2942
+ "name": "context",
2943
+ "type": {
2944
+ "text": "ElementDefinitionContext"
2945
+ }
2946
+ },
2947
+ {
2948
+ "name": "definition",
2949
+ "type": {
2950
+ "text": "FoundationElementDefinition"
2951
+ }
2952
+ }
2953
+ ]
2900
2954
  }
2901
2955
  ],
2902
2956
  "exports": [
2903
2957
  {
2904
2958
  "kind": "js",
2905
- "name": "foundationAiCriteriaSearchStyles",
2959
+ "name": "foundationAiIndicatorStyles",
2906
2960
  "declaration": {
2907
- "name": "foundationAiCriteriaSearchStyles",
2908
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2961
+ "name": "foundationAiIndicatorStyles",
2962
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
2909
2963
  }
2910
2964
  }
2911
2965
  ]
2912
2966
  },
2913
2967
  {
2914
2968
  "kind": "javascript-module",
2915
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2969
+ "path": "src/ai-indicator/ai-indicator.template.ts",
2916
2970
  "declarations": [
2917
2971
  {
2918
2972
  "kind": "variable",
2919
- "name": "foundationAiCriteriaSearchTemplate",
2973
+ "name": "foundationAiIndicatorTemplate",
2920
2974
  "type": {
2921
- "text": "ViewTemplate<AiCriteriaSearch>"
2975
+ "text": "ViewTemplate<AiIndicator>"
2922
2976
  },
2923
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2977
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2924
2978
  }
2925
2979
  ],
2926
2980
  "exports": [
2927
2981
  {
2928
2982
  "kind": "js",
2929
- "name": "foundationAiCriteriaSearchTemplate",
2983
+ "name": "foundationAiIndicatorTemplate",
2930
2984
  "declaration": {
2931
- "name": "foundationAiCriteriaSearchTemplate",
2932
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2985
+ "name": "foundationAiIndicatorTemplate",
2986
+ "module": "src/ai-indicator/ai-indicator.template.ts"
2933
2987
  }
2934
2988
  }
2935
2989
  ]
2936
2990
  },
2937
2991
  {
2938
2992
  "kind": "javascript-module",
2939
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
2993
+ "path": "src/ai-indicator/ai-indicator.ts",
2940
2994
  "declarations": [
2941
2995
  {
2942
2996
  "kind": "class",
2943
- "description": "Natural-language criteria search input with AI interpretation.",
2944
- "name": "AiCriteriaSearch",
2997
+ "description": "",
2998
+ "name": "AiIndicator",
2945
2999
  "members": [
2946
3000
  {
2947
3001
  "kind": "field",
@@ -2952,38 +3006,31 @@
2952
3006
  },
2953
3007
  {
2954
3008
  "kind": "field",
2955
- "name": "placeholder",
3009
+ "name": "status",
2956
3010
  "type": {
2957
- "text": "string"
3011
+ "text": "AIStatus | null"
2958
3012
  },
2959
- "default": "'Describe your search criteria in natural language...'"
3013
+ "default": "null"
2960
3014
  },
2961
3015
  {
2962
3016
  "kind": "field",
2963
- "name": "disabled",
3017
+ "name": "open",
2964
3018
  "type": {
2965
3019
  "text": "boolean"
2966
- }
2967
- },
2968
- {
2969
- "kind": "field",
2970
- "name": "mode",
2971
- "type": {
2972
- "text": "'append' | 'replace'"
2973
3020
  },
2974
- "default": "'replace'"
3021
+ "default": "false"
2975
3022
  },
2976
3023
  {
2977
3024
  "kind": "field",
2978
- "name": "inputValue",
3025
+ "name": "state",
2979
3026
  "type": {
2980
- "text": "string"
3027
+ "text": "AIIndicatorState"
2981
3028
  },
2982
- "default": "''"
3029
+ "default": "'none'"
2983
3030
  },
2984
3031
  {
2985
3032
  "kind": "field",
2986
- "name": "isInterpreting",
3033
+ "name": "isInstalling",
2987
3034
  "type": {
2988
3035
  "text": "boolean"
2989
3036
  },
@@ -2991,91 +3038,133 @@
2991
3038
  },
2992
3039
  {
2993
3040
  "kind": "field",
2994
- "name": "lastValidCriteria",
3041
+ "name": "pollTimer",
2995
3042
  "type": {
2996
- "text": "string | null"
3043
+ "text": "ReturnType<typeof setInterval> | null"
2997
3044
  },
3045
+ "privacy": "private",
2998
3046
  "default": "null"
2999
3047
  },
3000
3048
  {
3001
3049
  "kind": "field",
3002
- "name": "fieldMetadata",
3003
- "type": {
3004
- "text": "MetadataDetail[] | string[]"
3005
- },
3006
- "default": "[]"
3050
+ "name": "clickOutside",
3051
+ "privacy": "private"
3007
3052
  },
3008
3053
  {
3009
3054
  "kind": "field",
3010
- "name": "isRecording",
3055
+ "name": "chromeStatusLabel",
3011
3056
  "type": {
3012
- "text": "boolean"
3057
+ "text": "string | null"
3013
3058
  },
3014
- "default": "false"
3059
+ "readonly": true
3015
3060
  },
3016
3061
  {
3017
3062
  "kind": "field",
3018
- "name": "textAreaRef",
3063
+ "name": "canInstall",
3019
3064
  "type": {
3020
- "text": "HTMLTextAreaElement"
3065
+ "text": "boolean"
3021
3066
  },
3022
- "privacy": "public"
3067
+ "readonly": true
3023
3068
  },
3024
3069
  {
3025
3070
  "kind": "field",
3026
- "name": "stopRecording",
3071
+ "name": "isDownloading",
3027
3072
  "type": {
3028
- "text": "(() => void) | null"
3073
+ "text": "boolean"
3029
3074
  },
3030
- "privacy": "private",
3031
- "default": "null"
3075
+ "readonly": true
3032
3076
  },
3033
3077
  {
3034
- "kind": "field",
3035
- "name": "speechApplyDebounceTimer",
3036
- "type": {
3037
- "text": "ReturnType<typeof setTimeout> | null"
3038
- },
3039
- "privacy": "private",
3040
- "default": "null"
3078
+ "kind": "method",
3079
+ "name": "openChanged",
3080
+ "return": {
3081
+ "type": {
3082
+ "text": "void"
3083
+ }
3084
+ }
3041
3085
  },
3042
3086
  {
3043
- "kind": "field",
3044
- "name": "baseInputForAppend",
3045
- "type": {
3046
- "text": "string"
3047
- },
3087
+ "kind": "method",
3088
+ "name": "handleClickOutside",
3048
3089
  "privacy": "private",
3049
- "default": "''"
3090
+ "parameters": [
3091
+ {
3092
+ "name": "event",
3093
+ "type": {
3094
+ "text": "MouseEvent"
3095
+ }
3096
+ }
3097
+ ]
3050
3098
  },
3051
3099
  {
3052
- "kind": "field",
3053
- "name": "speechAvailable",
3054
- "type": {
3055
- "text": "boolean"
3056
- },
3057
- "readonly": true
3100
+ "kind": "method",
3101
+ "name": "toggleDropdown"
3058
3102
  },
3059
3103
  {
3060
3104
  "kind": "method",
3061
- "name": "handleSubmit"
3105
+ "name": "refreshStatus",
3106
+ "return": {
3107
+ "type": {
3108
+ "text": "Promise<void>"
3109
+ }
3110
+ }
3062
3111
  },
3063
3112
  {
3064
3113
  "kind": "method",
3065
- "name": "handleBlur"
3114
+ "name": "deriveState",
3115
+ "privacy": "private",
3116
+ "return": {
3117
+ "type": {
3118
+ "text": "AIIndicatorState"
3119
+ }
3120
+ },
3121
+ "parameters": [
3122
+ {
3123
+ "name": "s",
3124
+ "type": {
3125
+ "text": "AIStatus | null"
3126
+ }
3127
+ }
3128
+ ]
3066
3129
  },
3067
3130
  {
3068
3131
  "kind": "method",
3069
- "name": "clear"
3132
+ "name": "maybeStartPolling",
3133
+ "privacy": "private",
3134
+ "return": {
3135
+ "type": {
3136
+ "text": "void"
3137
+ }
3138
+ }
3070
3139
  },
3071
3140
  {
3072
3141
  "kind": "method",
3073
- "name": "toggleSpeechInput"
3142
+ "name": "startPolling",
3143
+ "privacy": "private",
3144
+ "return": {
3145
+ "type": {
3146
+ "text": "void"
3147
+ }
3148
+ }
3074
3149
  },
3075
3150
  {
3076
3151
  "kind": "method",
3077
- "name": "clearSpeechApplyDebounce",
3078
- "privacy": "private"
3152
+ "name": "stopPolling",
3153
+ "privacy": "private",
3154
+ "return": {
3155
+ "type": {
3156
+ "text": "void"
3157
+ }
3158
+ }
3159
+ },
3160
+ {
3161
+ "kind": "method",
3162
+ "name": "onInstall",
3163
+ "return": {
3164
+ "type": {
3165
+ "text": "Promise<void>"
3166
+ }
3167
+ }
3079
3168
  },
3080
3169
  {
3081
3170
  "kind": "field",
@@ -3189,267 +3278,141 @@
3189
3278
  }
3190
3279
  }
3191
3280
  ],
3192
- "events": [
3193
- {
3194
- "description": "Fired when interpreted criteria is applied or cleared",
3195
- "name": "criteria-changed"
3196
- },
3197
- {
3198
- "description": "Fired when interpreted criteria contains invalid clauses",
3199
- "name": "validation-errors"
3200
- }
3201
- ],
3202
- "attributes": [
3203
- {
3204
- "name": "placeholder",
3205
- "type": {
3206
- "text": "string"
3207
- },
3208
- "default": "'Describe your search criteria in natural language...'",
3209
- "fieldName": "placeholder"
3210
- },
3211
- {
3212
- "type": {
3213
- "text": "boolean"
3214
- },
3215
- "fieldName": "disabled"
3216
- },
3217
- {
3218
- "name": "mode",
3219
- "type": {
3220
- "text": "'append' | 'replace'"
3221
- },
3222
- "default": "'replace'",
3223
- "fieldName": "mode"
3224
- }
3225
- ],
3226
3281
  "superclass": {
3227
3282
  "name": "FoundationElement",
3228
3283
  "package": "@microsoft/fast-foundation"
3229
3284
  },
3230
- "tagName": "%%prefix%%-ai-criteria-search",
3231
- "customElement": true
3232
- },
3233
- {
3234
- "kind": "variable",
3235
- "name": "foundationAiCriteriaSearchShadowOptions",
3236
- "type": {
3237
- "text": "ShadowRootInit"
3238
- },
3239
- "default": "undefined"
3240
- },
3241
- {
3242
- "kind": "variable",
3243
- "name": "defaultAiCriteriaSearchConfig",
3244
- "type": {
3245
- "text": "object"
3246
- },
3247
- "default": "{}"
3285
+ "tagName": "%%prefix%%-ai-indicator",
3286
+ "customElement": true
3248
3287
  },
3249
3288
  {
3250
3289
  "kind": "variable",
3251
- "name": "foundationAiCriteriaSearch"
3290
+ "name": "foundationAiIndicator"
3252
3291
  }
3253
3292
  ],
3254
3293
  "exports": [
3255
3294
  {
3256
3295
  "kind": "js",
3257
- "name": "AiCriteriaSearch",
3258
- "declaration": {
3259
- "name": "AiCriteriaSearch",
3260
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3261
- }
3262
- },
3263
- {
3264
- "kind": "js",
3265
- "name": "foundationAiCriteriaSearchShadowOptions",
3266
- "declaration": {
3267
- "name": "foundationAiCriteriaSearchShadowOptions",
3268
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3269
- }
3270
- },
3271
- {
3272
- "kind": "js",
3273
- "name": "defaultAiCriteriaSearchConfig",
3296
+ "name": "AiIndicator",
3274
3297
  "declaration": {
3275
- "name": "defaultAiCriteriaSearchConfig",
3276
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3298
+ "name": "AiIndicator",
3299
+ "module": "src/ai-indicator/ai-indicator.ts"
3277
3300
  }
3278
3301
  },
3279
3302
  {
3280
3303
  "kind": "js",
3281
- "name": "foundationAiCriteriaSearch",
3304
+ "name": "foundationAiIndicator",
3282
3305
  "declaration": {
3283
- "name": "foundationAiCriteriaSearch",
3284
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3306
+ "name": "foundationAiIndicator",
3307
+ "module": "src/ai-indicator/ai-indicator.ts"
3285
3308
  }
3286
3309
  }
3287
3310
  ]
3288
3311
  },
3289
3312
  {
3290
3313
  "kind": "javascript-module",
3291
- "path": "src/ai-criteria-search/index.ts",
3314
+ "path": "src/ai-indicator/index.ts",
3292
3315
  "declarations": [],
3293
3316
  "exports": [
3294
3317
  {
3295
3318
  "kind": "js",
3296
- "name": "AiCriteriaSearch",
3297
- "declaration": {
3298
- "name": "AiCriteriaSearch",
3299
- "module": "./ai-criteria-search"
3300
- }
3301
- },
3302
- {
3303
- "kind": "js",
3304
- "name": "defaultAiCriteriaSearchConfig",
3305
- "declaration": {
3306
- "name": "defaultAiCriteriaSearchConfig",
3307
- "module": "./ai-criteria-search"
3308
- }
3309
- },
3310
- {
3311
- "kind": "js",
3312
- "name": "foundationAiCriteriaSearch",
3313
- "declaration": {
3314
- "name": "foundationAiCriteriaSearch",
3315
- "module": "./ai-criteria-search"
3316
- }
3317
- },
3318
- {
3319
- "kind": "js",
3320
- "name": "foundationAiCriteriaSearchShadowOptions",
3319
+ "name": "AiIndicator",
3321
3320
  "declaration": {
3322
- "name": "foundationAiCriteriaSearchShadowOptions",
3323
- "module": "./ai-criteria-search"
3321
+ "name": "AiIndicator",
3322
+ "module": "./ai-indicator"
3324
3323
  }
3325
3324
  },
3326
3325
  {
3327
3326
  "kind": "js",
3328
- "name": "foundationAiCriteriaSearchStyles",
3327
+ "name": "foundationAiIndicator",
3329
3328
  "declaration": {
3330
- "name": "foundationAiCriteriaSearchStyles",
3331
- "module": "./ai-criteria-search.styles"
3329
+ "name": "foundationAiIndicator",
3330
+ "module": "./ai-indicator"
3332
3331
  }
3333
3332
  },
3334
3333
  {
3335
3334
  "kind": "js",
3336
- "name": "foundationAiCriteriaSearchTemplate",
3335
+ "name": "type",
3337
3336
  "declaration": {
3338
- "name": "foundationAiCriteriaSearchTemplate",
3339
- "module": "./ai-criteria-search.template"
3337
+ "name": "type",
3338
+ "module": "./ai-indicator"
3340
3339
  }
3341
3340
  },
3342
3341
  {
3343
3342
  "kind": "js",
3344
- "name": "*",
3343
+ "name": "AIIndicatorState",
3345
3344
  "declaration": {
3346
- "name": "*",
3347
- "package": "./validation/criteria-ir"
3345
+ "name": "AIIndicatorState",
3346
+ "module": "./ai-indicator"
3348
3347
  }
3349
3348
  },
3350
3349
  {
3351
3350
  "kind": "js",
3352
- "name": "*",
3351
+ "name": "foundationAiIndicatorTemplate",
3353
3352
  "declaration": {
3354
- "name": "*",
3355
- "package": "./validation/operator-map"
3353
+ "name": "foundationAiIndicatorTemplate",
3354
+ "module": "./ai-indicator.template"
3356
3355
  }
3357
3356
  },
3358
3357
  {
3359
3358
  "kind": "js",
3360
- "name": "*",
3359
+ "name": "foundationAiIndicatorStyles",
3361
3360
  "declaration": {
3362
- "name": "*",
3363
- "package": "./validation/schema-validator"
3361
+ "name": "foundationAiIndicatorStyles",
3362
+ "module": "./ai-indicator.styles"
3364
3363
  }
3365
3364
  }
3366
3365
  ]
3367
3366
  },
3368
3367
  {
3369
3368
  "kind": "javascript-module",
3370
- "path": "src/ai-criteria-search/validation-error-notification.ts",
3369
+ "path": "src/accordion/accordion.styles.ts",
3371
3370
  "declarations": [
3372
3371
  {
3373
3372
  "kind": "function",
3374
- "name": "formatValidationErrors",
3373
+ "name": "foundationAccordionStyles",
3375
3374
  "return": {
3376
3375
  "type": {
3377
- "text": "string"
3376
+ "text": "ElementStyles"
3378
3377
  }
3379
3378
  },
3380
3379
  "parameters": [
3381
3380
  {
3382
- "name": "errors",
3381
+ "name": "context",
3383
3382
  "type": {
3384
- "text": "ValidationError[]"
3383
+ "text": "ElementDefinitionContext"
3385
3384
  }
3386
- }
3387
- ],
3388
- "description": "Formats validation errors into a user-friendly message."
3389
- },
3390
- {
3391
- "kind": "function",
3392
- "name": "showCriteriaError",
3393
- "return": {
3394
- "type": {
3395
- "text": "void"
3396
- }
3397
- },
3398
- "parameters": [
3399
- {
3400
- "name": "title",
3401
- "type": {
3402
- "text": "string"
3403
- },
3404
- "description": "Notification title (e.g. \"Criteria validation error\")"
3405
- },
3406
- {
3407
- "name": "body",
3408
- "type": {
3409
- "text": "string"
3410
- },
3411
- "description": "Error message to display"
3412
3385
  },
3413
3386
  {
3414
- "name": "tagName",
3387
+ "name": "definition",
3415
3388
  "type": {
3416
- "text": "string"
3417
- },
3418
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3389
+ "text": "FoundationElementDefinition"
3390
+ }
3419
3391
  }
3420
- ],
3421
- "description": "Shows a criteria error as a toast notification."
3392
+ ]
3422
3393
  }
3423
3394
  ],
3424
3395
  "exports": [
3425
3396
  {
3426
3397
  "kind": "js",
3427
- "name": "formatValidationErrors",
3428
- "declaration": {
3429
- "name": "formatValidationErrors",
3430
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3431
- }
3432
- },
3433
- {
3434
- "kind": "js",
3435
- "name": "showCriteriaError",
3398
+ "name": "foundationAccordionStyles",
3436
3399
  "declaration": {
3437
- "name": "showCriteriaError",
3438
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3400
+ "name": "foundationAccordionStyles",
3401
+ "module": "src/accordion/accordion.styles.ts"
3439
3402
  }
3440
3403
  }
3441
3404
  ]
3442
3405
  },
3443
3406
  {
3444
3407
  "kind": "javascript-module",
3445
- "path": "src/ai-indicator/ai-indicator.styles.ts",
3408
+ "path": "src/accordion/accordion.template.ts",
3446
3409
  "declarations": [
3447
3410
  {
3448
3411
  "kind": "function",
3449
- "name": "foundationAiIndicatorStyles",
3412
+ "name": "foundationAccordionTemplate",
3450
3413
  "return": {
3451
3414
  "type": {
3452
- "text": "ElementStyles"
3415
+ "text": "ViewTemplate<Accordion>"
3453
3416
  }
3454
3417
  },
3455
3418
  "parameters": [
@@ -3471,214 +3434,237 @@
3471
3434
  "exports": [
3472
3435
  {
3473
3436
  "kind": "js",
3474
- "name": "foundationAiIndicatorStyles",
3475
- "declaration": {
3476
- "name": "foundationAiIndicatorStyles",
3477
- "module": "src/ai-indicator/ai-indicator.styles.ts"
3478
- }
3479
- }
3480
- ]
3481
- },
3482
- {
3483
- "kind": "javascript-module",
3484
- "path": "src/ai-indicator/ai-indicator.template.ts",
3485
- "declarations": [
3486
- {
3487
- "kind": "variable",
3488
- "name": "foundationAiIndicatorTemplate",
3489
- "type": {
3490
- "text": "ViewTemplate<AiIndicator>"
3491
- },
3492
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3493
- }
3494
- ],
3495
- "exports": [
3496
- {
3497
- "kind": "js",
3498
- "name": "foundationAiIndicatorTemplate",
3437
+ "name": "foundationAccordionTemplate",
3499
3438
  "declaration": {
3500
- "name": "foundationAiIndicatorTemplate",
3501
- "module": "src/ai-indicator/ai-indicator.template.ts"
3439
+ "name": "foundationAccordionTemplate",
3440
+ "module": "src/accordion/accordion.template.ts"
3502
3441
  }
3503
3442
  }
3504
3443
  ]
3505
3444
  },
3506
3445
  {
3507
3446
  "kind": "javascript-module",
3508
- "path": "src/ai-indicator/ai-indicator.ts",
3447
+ "path": "src/accordion/accordion.ts",
3509
3448
  "declarations": [
3510
3449
  {
3511
3450
  "kind": "class",
3512
3451
  "description": "",
3513
- "name": "AiIndicator",
3514
- "members": [
3515
- {
3516
- "kind": "field",
3517
- "name": "aiProvider",
3518
- "type": {
3519
- "text": "AIProvider"
3520
- }
3521
- },
3452
+ "name": "Accordion",
3453
+ "superclass": {
3454
+ "name": "FASTAccordion",
3455
+ "package": "@microsoft/fast-foundation"
3456
+ },
3457
+ "tagName": "%%prefix%%-accordion",
3458
+ "customElement": true,
3459
+ "attributes": [
3522
3460
  {
3523
- "kind": "field",
3524
- "name": "status",
3461
+ "name": "expand-mode",
3525
3462
  "type": {
3526
- "text": "AIStatus | null"
3463
+ "text": "AccordionExpandMode"
3527
3464
  },
3528
- "default": "null"
3529
- },
3465
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3466
+ "fieldName": "expandmode",
3467
+ "inheritedFrom": {
3468
+ "name": "Accordion",
3469
+ "module": "src/accordion/accordion.ts"
3470
+ }
3471
+ }
3472
+ ],
3473
+ "members": [
3530
3474
  {
3531
3475
  "kind": "field",
3532
- "name": "open",
3476
+ "name": "expandmode",
3533
3477
  "type": {
3534
- "text": "boolean"
3478
+ "text": "AccordionExpandMode"
3535
3479
  },
3536
- "default": "false"
3480
+ "privacy": "public",
3481
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3482
+ "inheritedFrom": {
3483
+ "name": "Accordion",
3484
+ "module": "src/accordion/accordion.ts"
3485
+ }
3537
3486
  },
3538
3487
  {
3539
3488
  "kind": "field",
3540
- "name": "state",
3489
+ "name": "activeid",
3541
3490
  "type": {
3542
- "text": "AIIndicatorState"
3491
+ "text": "string | null"
3543
3492
  },
3544
- "default": "'none'"
3493
+ "privacy": "private",
3494
+ "inheritedFrom": {
3495
+ "name": "Accordion",
3496
+ "module": "src/accordion/accordion.ts"
3497
+ }
3545
3498
  },
3546
3499
  {
3547
3500
  "kind": "field",
3548
- "name": "isInstalling",
3501
+ "name": "activeItemIndex",
3549
3502
  "type": {
3550
- "text": "boolean"
3503
+ "text": "number"
3551
3504
  },
3552
- "default": "false"
3505
+ "privacy": "private",
3506
+ "default": "0",
3507
+ "inheritedFrom": {
3508
+ "name": "Accordion",
3509
+ "module": "src/accordion/accordion.ts"
3510
+ }
3553
3511
  },
3554
3512
  {
3555
3513
  "kind": "field",
3556
- "name": "pollTimer",
3514
+ "name": "accordionIds",
3557
3515
  "type": {
3558
- "text": "ReturnType<typeof setInterval> | null"
3516
+ "text": "Array<string | null>"
3559
3517
  },
3560
3518
  "privacy": "private",
3561
- "default": "null"
3562
- },
3563
- {
3564
- "kind": "field",
3565
- "name": "clickOutside",
3566
- "privacy": "private"
3519
+ "inheritedFrom": {
3520
+ "name": "Accordion",
3521
+ "module": "src/accordion/accordion.ts"
3522
+ }
3567
3523
  },
3568
3524
  {
3569
3525
  "kind": "field",
3570
- "name": "chromeStatusLabel",
3571
- "type": {
3572
- "text": "string | null"
3573
- },
3574
- "readonly": true
3526
+ "name": "change",
3527
+ "privacy": "private",
3528
+ "inheritedFrom": {
3529
+ "name": "Accordion",
3530
+ "module": "src/accordion/accordion.ts"
3531
+ }
3575
3532
  },
3576
3533
  {
3577
- "kind": "field",
3578
- "name": "canInstall",
3579
- "type": {
3580
- "text": "boolean"
3534
+ "kind": "method",
3535
+ "name": "findExpandedItem",
3536
+ "privacy": "private",
3537
+ "return": {
3538
+ "type": {
3539
+ "text": "AccordionItem | null"
3540
+ }
3581
3541
  },
3582
- "readonly": true
3542
+ "inheritedFrom": {
3543
+ "name": "Accordion",
3544
+ "module": "src/accordion/accordion.ts"
3545
+ }
3583
3546
  },
3584
3547
  {
3585
3548
  "kind": "field",
3586
- "name": "isDownloading",
3587
- "type": {
3588
- "text": "boolean"
3589
- },
3590
- "readonly": true
3549
+ "name": "setItems",
3550
+ "privacy": "private",
3551
+ "inheritedFrom": {
3552
+ "name": "Accordion",
3553
+ "module": "src/accordion/accordion.ts"
3554
+ }
3591
3555
  },
3592
3556
  {
3593
3557
  "kind": "method",
3594
- "name": "openChanged",
3558
+ "name": "resetItems",
3559
+ "privacy": "private",
3595
3560
  "return": {
3596
3561
  "type": {
3597
3562
  "text": "void"
3598
3563
  }
3564
+ },
3565
+ "inheritedFrom": {
3566
+ "name": "Accordion",
3567
+ "module": "src/accordion/accordion.ts"
3599
3568
  }
3600
3569
  },
3601
3570
  {
3602
- "kind": "method",
3603
- "name": "handleClickOutside",
3571
+ "kind": "field",
3572
+ "name": "removeItemListeners",
3604
3573
  "privacy": "private",
3605
- "parameters": [
3606
- {
3607
- "name": "event",
3608
- "type": {
3609
- "text": "MouseEvent"
3610
- }
3611
- }
3612
- ]
3574
+ "inheritedFrom": {
3575
+ "name": "Accordion",
3576
+ "module": "src/accordion/accordion.ts"
3577
+ }
3613
3578
  },
3614
3579
  {
3615
- "kind": "method",
3616
- "name": "toggleDropdown"
3580
+ "kind": "field",
3581
+ "name": "activeItemChange",
3582
+ "privacy": "private",
3583
+ "inheritedFrom": {
3584
+ "name": "Accordion",
3585
+ "module": "src/accordion/accordion.ts"
3586
+ }
3617
3587
  },
3618
3588
  {
3619
3589
  "kind": "method",
3620
- "name": "refreshStatus",
3590
+ "name": "getItemIds",
3591
+ "privacy": "private",
3621
3592
  "return": {
3622
3593
  "type": {
3623
- "text": "Promise<void>"
3594
+ "text": "Array<string | null>"
3624
3595
  }
3596
+ },
3597
+ "inheritedFrom": {
3598
+ "name": "Accordion",
3599
+ "module": "src/accordion/accordion.ts"
3625
3600
  }
3626
3601
  },
3627
3602
  {
3628
3603
  "kind": "method",
3629
- "name": "deriveState",
3604
+ "name": "isSingleExpandMode",
3630
3605
  "privacy": "private",
3631
3606
  "return": {
3632
3607
  "type": {
3633
- "text": "AIIndicatorState"
3608
+ "text": "boolean"
3634
3609
  }
3635
3610
  },
3636
- "parameters": [
3637
- {
3638
- "name": "s",
3639
- "type": {
3640
- "text": "AIStatus | null"
3641
- }
3642
- }
3643
- ]
3611
+ "inheritedFrom": {
3612
+ "name": "Accordion",
3613
+ "module": "src/accordion/accordion.ts"
3614
+ }
3644
3615
  },
3645
3616
  {
3646
- "kind": "method",
3647
- "name": "maybeStartPolling",
3617
+ "kind": "field",
3618
+ "name": "handleItemKeyDown",
3648
3619
  "privacy": "private",
3649
- "return": {
3650
- "type": {
3651
- "text": "void"
3652
- }
3620
+ "inheritedFrom": {
3621
+ "name": "Accordion",
3622
+ "module": "src/accordion/accordion.ts"
3653
3623
  }
3654
3624
  },
3655
3625
  {
3656
- "kind": "method",
3657
- "name": "startPolling",
3626
+ "kind": "field",
3627
+ "name": "handleItemFocus",
3658
3628
  "privacy": "private",
3659
- "return": {
3660
- "type": {
3661
- "text": "void"
3662
- }
3629
+ "inheritedFrom": {
3630
+ "name": "Accordion",
3631
+ "module": "src/accordion/accordion.ts"
3663
3632
  }
3664
3633
  },
3665
3634
  {
3666
3635
  "kind": "method",
3667
- "name": "stopPolling",
3636
+ "name": "adjust",
3668
3637
  "privacy": "private",
3669
3638
  "return": {
3670
3639
  "type": {
3671
3640
  "text": "void"
3672
3641
  }
3642
+ },
3643
+ "parameters": [
3644
+ {
3645
+ "name": "adjustment",
3646
+ "type": {
3647
+ "text": "number"
3648
+ }
3649
+ }
3650
+ ],
3651
+ "inheritedFrom": {
3652
+ "name": "Accordion",
3653
+ "module": "src/accordion/accordion.ts"
3673
3654
  }
3674
3655
  },
3675
3656
  {
3676
3657
  "kind": "method",
3677
- "name": "onInstall",
3658
+ "name": "focusItem",
3659
+ "privacy": "private",
3678
3660
  "return": {
3679
3661
  "type": {
3680
- "text": "Promise<void>"
3662
+ "text": "void"
3681
3663
  }
3664
+ },
3665
+ "inheritedFrom": {
3666
+ "name": "Accordion",
3667
+ "module": "src/accordion/accordion.ts"
3682
3668
  }
3683
3669
  },
3684
3670
  {
@@ -3793,88 +3779,102 @@
3793
3779
  }
3794
3780
  }
3795
3781
  ],
3796
- "superclass": {
3797
- "name": "FoundationElement",
3798
- "package": "@microsoft/fast-foundation"
3782
+ "events": [
3783
+ {
3784
+ "description": "Fires a custom 'change' event when the active item changes",
3785
+ "name": "change",
3786
+ "inheritedFrom": {
3787
+ "name": "Accordion",
3788
+ "module": "src/accordion/accordion.ts"
3789
+ }
3790
+ }
3791
+ ]
3792
+ },
3793
+ {
3794
+ "kind": "variable",
3795
+ "name": "foundationAccordionShadowOptions",
3796
+ "type": {
3797
+ "text": "ShadowRootInit"
3799
3798
  },
3800
- "tagName": "%%prefix%%-ai-indicator",
3801
- "customElement": true
3799
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3802
3800
  },
3803
3801
  {
3804
3802
  "kind": "variable",
3805
- "name": "foundationAiIndicator"
3803
+ "name": "defaultAccordionConfig",
3804
+ "type": {
3805
+ "text": "object"
3806
+ },
3807
+ "default": "{}"
3808
+ },
3809
+ {
3810
+ "kind": "variable",
3811
+ "name": "foundationAccordion",
3812
+ "description": "The Foundation Accordion",
3813
+ "privacy": "public"
3806
3814
  }
3807
3815
  ],
3808
3816
  "exports": [
3809
3817
  {
3810
3818
  "kind": "js",
3811
- "name": "AiIndicator",
3819
+ "name": "Accordion",
3812
3820
  "declaration": {
3813
- "name": "AiIndicator",
3814
- "module": "src/ai-indicator/ai-indicator.ts"
3821
+ "name": "Accordion",
3822
+ "module": "src/accordion/accordion.ts"
3815
3823
  }
3816
3824
  },
3817
3825
  {
3818
3826
  "kind": "js",
3819
- "name": "foundationAiIndicator",
3820
- "declaration": {
3821
- "name": "foundationAiIndicator",
3822
- "module": "src/ai-indicator/ai-indicator.ts"
3823
- }
3824
- }
3825
- ]
3826
- },
3827
- {
3828
- "kind": "javascript-module",
3829
- "path": "src/ai-indicator/index.ts",
3830
- "declarations": [],
3831
- "exports": [
3832
- {
3833
- "kind": "js",
3834
- "name": "AiIndicator",
3827
+ "name": "foundationAccordionShadowOptions",
3835
3828
  "declaration": {
3836
- "name": "AiIndicator",
3837
- "module": "./ai-indicator"
3829
+ "name": "foundationAccordionShadowOptions",
3830
+ "module": "src/accordion/accordion.ts"
3838
3831
  }
3839
3832
  },
3840
3833
  {
3841
3834
  "kind": "js",
3842
- "name": "foundationAiIndicator",
3835
+ "name": "defaultAccordionConfig",
3843
3836
  "declaration": {
3844
- "name": "foundationAiIndicator",
3845
- "module": "./ai-indicator"
3837
+ "name": "defaultAccordionConfig",
3838
+ "module": "src/accordion/accordion.ts"
3846
3839
  }
3847
3840
  },
3848
3841
  {
3849
3842
  "kind": "js",
3850
- "name": "type",
3843
+ "name": "foundationAccordion",
3851
3844
  "declaration": {
3852
- "name": "type",
3853
- "module": "./ai-indicator"
3845
+ "name": "foundationAccordion",
3846
+ "module": "src/accordion/accordion.ts"
3854
3847
  }
3855
- },
3848
+ }
3849
+ ]
3850
+ },
3851
+ {
3852
+ "kind": "javascript-module",
3853
+ "path": "src/accordion/index.ts",
3854
+ "declarations": [],
3855
+ "exports": [
3856
3856
  {
3857
3857
  "kind": "js",
3858
- "name": "AIIndicatorState",
3858
+ "name": "*",
3859
3859
  "declaration": {
3860
- "name": "AIIndicatorState",
3861
- "module": "./ai-indicator"
3860
+ "name": "*",
3861
+ "package": "./accordion.template"
3862
3862
  }
3863
3863
  },
3864
3864
  {
3865
3865
  "kind": "js",
3866
- "name": "foundationAiIndicatorTemplate",
3866
+ "name": "*",
3867
3867
  "declaration": {
3868
- "name": "foundationAiIndicatorTemplate",
3869
- "module": "./ai-indicator.template"
3868
+ "name": "*",
3869
+ "package": "./accordion.styles"
3870
3870
  }
3871
3871
  },
3872
3872
  {
3873
3873
  "kind": "js",
3874
- "name": "foundationAiIndicatorStyles",
3874
+ "name": "*",
3875
3875
  "declaration": {
3876
- "name": "foundationAiIndicatorStyles",
3877
- "module": "./ai-indicator.styles"
3876
+ "name": "*",
3877
+ "package": "./accordion"
3878
3878
  }
3879
3879
  }
3880
3880
  ]