@genesislcap/foundation-ui 14.493.0 → 14.493.1-alpha-8ff3328.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.
@@ -12,7 +12,7 @@
12
12
  "type": {
13
13
  "text": "object"
14
14
  },
15
- "default": "{\n foundationAccordion,\n foundationAiCriteriaSearch,\n foundationAiIndicator,\n foundationAccordionItem,\n foundationActionsMenu,\n foundationAnchor,\n foundationAnchoredRegion,\n foundationAvatar,\n foundationBadge,\n foundationBanner,\n foundationBreadcrumb,\n foundationBreadcrumbItem,\n foundationButton,\n foundationCalendar,\n foundationCard,\n foundationCategorizedMultiselect,\n foundationCheckbox,\n foundationCombobox,\n foundationConnectionIndicator,\n foundationDataGrid,\n foundationDataGridCell,\n foundationDataGridRow,\n foundationDatePicker,\n foundationDesignSystemProvider,\n foundationDialog,\n foundationDisclosure,\n foundationDivider,\n foundationDropdownMenu,\n foundationErrorBanner,\n foundationErrorBoundary,\n foundationErrorDialog,\n foundationFileReader,\n foundationFileUpload,\n foundationFilter,\n foundationFilterBar,\n foundationFlexLayout,\n foundationFlipper,\n foundationFlyout,\n foundationGridLayout,\n foundationGridLayoutItem,\n foundationHorizontalScroll,\n foundationIcon,\n foundationListbox,\n foundationListboxOption,\n foundationMenu,\n foundationMenuItem,\n foundationModal,\n foundationMultiselect,\n foundationNumberField,\n foundationOptgroup,\n foundationPopper,\n foundationProgress,\n foundationProgressRing,\n foundationRadio,\n foundationRadioGroup,\n foundationScheduler,\n foundationSchedulerCronBuilder,\n foundationSchedulerTimezone,\n foundationSearchBar,\n foundationSearchBarCombobox,\n foundationSegmentedControl,\n foundationSegmentedItem,\n foundationSelect,\n foundationSkeleton,\n foundationSlider,\n foundationSliderLabel,\n foundationSnackbar,\n foundationStackingIcons,\n foundationStatusPill,\n foundationEnvironmentIndicator,\n foundationStepperTab,\n foundationStepperTabPanel,\n foundationSwitch,\n foundationSystemHealthOverlay,\n foundationTab,\n foundationTabPanel,\n foundationTabs,\n foundationTextArea,\n foundationTextField,\n foundationToast,\n foundationToolbar,\n foundationTooltip,\n foundationTreeItem,\n foundationTreeView,\n foundationUrlInput,\n foundationSectionNavigator,\n register(container?: Container, ...rest: any[]) {\n if (!container) {\n // preserve backward compatibility with code that loops through\n // the values of this object and calls them as funcs with no args\n return;\n }\n\n for (const key in this) {\n if (key === 'register') {\n continue;\n }\n\n this[key]().register(container, ...rest);\n }\n },\n}"
15
+ "default": "{\n foundationAccordion,\n foundationAiCriteriaSearch,\n foundationAiIndicator,\n foundationAccordionItem,\n foundationActionsMenu,\n foundationAnchor,\n foundationAnchoredRegion,\n foundationAvatar,\n foundationBadge,\n foundationBanner,\n foundationBreadcrumb,\n foundationBreadcrumbItem,\n foundationButton,\n foundationCalendar,\n foundationCard,\n foundationCategorizedMultiselect,\n foundationCheckbox,\n foundationCombobox,\n foundationConnectionIndicator,\n foundationDataGrid,\n foundationDataGridCell,\n foundationDataGridRow,\n foundationDatePicker,\n foundationDesignSystemProvider,\n foundationDialog,\n foundationDisclosure,\n foundationDivider,\n foundationDropdownMenu,\n foundationErrorBanner,\n foundationErrorBoundary,\n foundationErrorDialog,\n foundationFileReader,\n foundationFileUpload,\n foundationFilter,\n foundationFilterBar,\n foundationFlexLayout,\n foundationFlipper,\n foundationFlyout,\n foundationGridLayout,\n foundationGridLayoutItem,\n foundationHorizontalScroll,\n foundationIcon,\n foundationListbox,\n foundationListboxOption,\n foundationMenu,\n foundationMenuItem,\n foundationModal,\n foundationMultiselect,\n foundationNumberField,\n foundationOptgroup,\n foundationPill,\n foundationPopper,\n foundationProgress,\n foundationProgressRing,\n foundationRadio,\n foundationRadioGroup,\n foundationScheduler,\n foundationSchedulerCronBuilder,\n foundationSchedulerTimezone,\n foundationSearchBar,\n foundationSearchBarCombobox,\n foundationSegmentedControl,\n foundationSegmentedItem,\n foundationSelect,\n foundationSkeleton,\n foundationSlider,\n foundationSliderLabel,\n foundationSnackbar,\n foundationStackingIcons,\n foundationStatusPill,\n foundationEnvironmentIndicator,\n foundationStepperTab,\n foundationStepperTabPanel,\n foundationSwitch,\n foundationSystemHealthOverlay,\n foundationTab,\n foundationTabPanel,\n foundationTabs,\n foundationTextArea,\n foundationTextField,\n foundationToast,\n foundationToolbar,\n foundationTooltip,\n foundationTreeItem,\n foundationTreeView,\n foundationUrlInput,\n foundationSectionNavigator,\n register(container?: Container, ...rest: any[]) {\n if (!container) {\n // preserve backward compatibility with code that loops through\n // the values of this object and calls them as funcs with no args\n return;\n }\n\n for (const key in this) {\n if (key === 'register') {\n continue;\n }\n\n this[key]().register(container, ...rest);\n }\n },\n}"
16
16
  }
17
17
  ],
18
18
  "exports": [
@@ -548,6 +548,14 @@
548
548
  "package": "./patterns"
549
549
  }
550
550
  },
551
+ {
552
+ "kind": "js",
553
+ "name": "*",
554
+ "declaration": {
555
+ "name": "*",
556
+ "package": "./pill"
557
+ }
558
+ },
551
559
  {
552
560
  "kind": "js",
553
561
  "name": "*",
@@ -2392,208 +2400,275 @@
2392
2400
  },
2393
2401
  {
2394
2402
  "kind": "javascript-module",
2395
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2403
+ "path": "src/accordion/accordion.styles.ts",
2396
2404
  "declarations": [
2397
2405
  {
2398
- "kind": "variable",
2399
- "name": "foundationAiCriteriaSearchStyles",
2400
- "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 .criteria-chips-inline {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: calc(${designUnit} * 1px);\n overflow-x: auto;\n padding: 0 calc(${designUnit} * 2px);\n background: var(--neutral-fill-input-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n scrollbar-width: none;\n }\n\n .criteria-chips-inline::-webkit-scrollbar {\n display: none;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .criteria-toggle-button,\n .criteria-clear-button {\n flex-shrink: 0;\n }\n\n .criteria-chip {\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n gap: calc(${designUnit} * 1px);\n padding: calc(${designUnit} * 0.5px) calc(${designUnit} * 2px);\n background: var(--neutral-fill-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(${designUnit} * 4px);\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-rest);\n white-space: nowrap;\n }\n\n .criteria-chip-field {\n font-weight: 600;\n }\n\n .criteria-chip-operator {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-style: italic;\n }\n\n .criteria-chip-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n padding: 0;\n margin-left: calc(${designUnit} * 0.5px);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: 10px;\n border-radius: 50%;\n line-height: 1;\n }\n\n .criteria-chip-remove:hover {\n background: var(--neutral-fill-hover);\n color: var(--neutral-foreground-rest);\n }\n`"
2406
+ "kind": "function",
2407
+ "name": "foundationAccordionStyles",
2408
+ "return": {
2409
+ "type": {
2410
+ "text": "ElementStyles"
2411
+ }
2412
+ },
2413
+ "parameters": [
2414
+ {
2415
+ "name": "context",
2416
+ "type": {
2417
+ "text": "ElementDefinitionContext"
2418
+ }
2419
+ },
2420
+ {
2421
+ "name": "definition",
2422
+ "type": {
2423
+ "text": "FoundationElementDefinition"
2424
+ }
2425
+ }
2426
+ ]
2401
2427
  }
2402
2428
  ],
2403
2429
  "exports": [
2404
2430
  {
2405
2431
  "kind": "js",
2406
- "name": "foundationAiCriteriaSearchStyles",
2432
+ "name": "foundationAccordionStyles",
2407
2433
  "declaration": {
2408
- "name": "foundationAiCriteriaSearchStyles",
2409
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2434
+ "name": "foundationAccordionStyles",
2435
+ "module": "src/accordion/accordion.styles.ts"
2410
2436
  }
2411
2437
  }
2412
2438
  ]
2413
2439
  },
2414
2440
  {
2415
2441
  "kind": "javascript-module",
2416
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2442
+ "path": "src/accordion/accordion.template.ts",
2417
2443
  "declarations": [
2418
2444
  {
2419
- "kind": "variable",
2420
- "name": "foundationAiCriteriaSearchTemplate",
2421
- "type": {
2422
- "text": "ViewTemplate<AiCriteriaSearch>"
2445
+ "kind": "function",
2446
+ "name": "foundationAccordionTemplate",
2447
+ "return": {
2448
+ "type": {
2449
+ "text": "ViewTemplate<Accordion>"
2450
+ }
2423
2451
  },
2424
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2452
+ "parameters": [
2453
+ {
2454
+ "name": "context",
2455
+ "type": {
2456
+ "text": "ElementDefinitionContext"
2457
+ }
2458
+ },
2459
+ {
2460
+ "name": "definition",
2461
+ "type": {
2462
+ "text": "FoundationElementDefinition"
2463
+ }
2464
+ }
2465
+ ]
2425
2466
  }
2426
2467
  ],
2427
2468
  "exports": [
2428
2469
  {
2429
2470
  "kind": "js",
2430
- "name": "foundationAiCriteriaSearchTemplate",
2471
+ "name": "foundationAccordionTemplate",
2431
2472
  "declaration": {
2432
- "name": "foundationAiCriteriaSearchTemplate",
2433
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2473
+ "name": "foundationAccordionTemplate",
2474
+ "module": "src/accordion/accordion.template.ts"
2434
2475
  }
2435
2476
  }
2436
2477
  ]
2437
2478
  },
2438
2479
  {
2439
2480
  "kind": "javascript-module",
2440
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
2481
+ "path": "src/accordion/accordion.ts",
2441
2482
  "declarations": [
2442
2483
  {
2443
2484
  "kind": "class",
2444
- "description": "Natural-language criteria search input with AI interpretation.",
2445
- "name": "AiCriteriaSearch",
2446
- "members": [
2447
- {
2448
- "kind": "field",
2449
- "name": "providerRegistry",
2450
- "type": {
2451
- "text": "AIProviderRegistry"
2452
- }
2453
- },
2485
+ "description": "",
2486
+ "name": "Accordion",
2487
+ "superclass": {
2488
+ "name": "FASTAccordion",
2489
+ "package": "@microsoft/fast-foundation"
2490
+ },
2491
+ "tagName": "%%prefix%%-accordion",
2492
+ "customElement": true,
2493
+ "attributes": [
2454
2494
  {
2455
- "kind": "field",
2456
- "name": "placeholder",
2495
+ "name": "expand-mode",
2457
2496
  "type": {
2458
- "text": "string"
2497
+ "text": "AccordionExpandMode"
2459
2498
  },
2460
- "default": "'Describe your search criteria in natural language...'"
2461
- },
2462
- {
2463
- "kind": "field",
2464
- "name": "disabled",
2465
- "type": {
2466
- "text": "boolean"
2499
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2500
+ "fieldName": "expandmode",
2501
+ "inheritedFrom": {
2502
+ "name": "Accordion",
2503
+ "module": "src/accordion/accordion.ts"
2467
2504
  }
2468
- },
2469
- {
2470
- "kind": "field",
2471
- "name": "inputValue",
2472
- "type": {
2473
- "text": "string"
2474
- },
2475
- "default": "''"
2476
- },
2505
+ }
2506
+ ],
2507
+ "members": [
2477
2508
  {
2478
2509
  "kind": "field",
2479
- "name": "isInterpreting",
2510
+ "name": "expandmode",
2480
2511
  "type": {
2481
- "text": "boolean"
2512
+ "text": "AccordionExpandMode"
2482
2513
  },
2483
- "default": "false"
2514
+ "privacy": "public",
2515
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2516
+ "inheritedFrom": {
2517
+ "name": "Accordion",
2518
+ "module": "src/accordion/accordion.ts"
2519
+ }
2484
2520
  },
2485
2521
  {
2486
2522
  "kind": "field",
2487
- "name": "lastValidCriteria",
2523
+ "name": "activeid",
2488
2524
  "type": {
2489
2525
  "text": "string | null"
2490
2526
  },
2491
- "default": "null"
2492
- },
2493
- {
2494
- "kind": "field",
2495
- "name": "activeGroups",
2496
- "type": {
2497
- "text": "CriteriaGroup[]"
2498
- },
2499
- "default": "[]"
2527
+ "privacy": "private",
2528
+ "inheritedFrom": {
2529
+ "name": "Accordion",
2530
+ "module": "src/accordion/accordion.ts"
2531
+ }
2500
2532
  },
2501
2533
  {
2502
2534
  "kind": "field",
2503
- "name": "showingChips",
2535
+ "name": "activeItemIndex",
2504
2536
  "type": {
2505
- "text": "boolean"
2537
+ "text": "number"
2506
2538
  },
2507
- "default": "false"
2539
+ "privacy": "private",
2540
+ "default": "0",
2541
+ "inheritedFrom": {
2542
+ "name": "Accordion",
2543
+ "module": "src/accordion/accordion.ts"
2544
+ }
2508
2545
  },
2509
2546
  {
2510
2547
  "kind": "field",
2511
- "name": "fieldMetadata",
2548
+ "name": "accordionIds",
2512
2549
  "type": {
2513
- "text": "MetadataDetail[] | string[]"
2550
+ "text": "Array<string | null>"
2514
2551
  },
2515
- "default": "[]"
2552
+ "privacy": "private",
2553
+ "inheritedFrom": {
2554
+ "name": "Accordion",
2555
+ "module": "src/accordion/accordion.ts"
2556
+ }
2516
2557
  },
2517
2558
  {
2518
2559
  "kind": "field",
2519
- "name": "isRecording",
2520
- "type": {
2521
- "text": "boolean"
2522
- },
2523
- "default": "false"
2560
+ "name": "change",
2561
+ "privacy": "private",
2562
+ "inheritedFrom": {
2563
+ "name": "Accordion",
2564
+ "module": "src/accordion/accordion.ts"
2565
+ }
2524
2566
  },
2525
2567
  {
2526
- "kind": "field",
2527
- "name": "textAreaRef",
2528
- "type": {
2529
- "text": "HTMLTextAreaElement"
2568
+ "kind": "method",
2569
+ "name": "findExpandedItem",
2570
+ "privacy": "private",
2571
+ "return": {
2572
+ "type": {
2573
+ "text": "AccordionItem | null"
2574
+ }
2530
2575
  },
2531
- "privacy": "public"
2576
+ "inheritedFrom": {
2577
+ "name": "Accordion",
2578
+ "module": "src/accordion/accordion.ts"
2579
+ }
2532
2580
  },
2533
2581
  {
2534
2582
  "kind": "field",
2535
- "name": "stopRecording",
2536
- "type": {
2537
- "text": "(() => void) | null"
2538
- },
2583
+ "name": "setItems",
2539
2584
  "privacy": "private",
2540
- "default": "null"
2585
+ "inheritedFrom": {
2586
+ "name": "Accordion",
2587
+ "module": "src/accordion/accordion.ts"
2588
+ }
2541
2589
  },
2542
2590
  {
2543
- "kind": "field",
2544
- "name": "speechApplyDebounceTimer",
2545
- "type": {
2546
- "text": "ReturnType<typeof setTimeout> | null"
2547
- },
2591
+ "kind": "method",
2592
+ "name": "resetItems",
2548
2593
  "privacy": "private",
2549
- "default": "null"
2594
+ "return": {
2595
+ "type": {
2596
+ "text": "void"
2597
+ }
2598
+ },
2599
+ "inheritedFrom": {
2600
+ "name": "Accordion",
2601
+ "module": "src/accordion/accordion.ts"
2602
+ }
2550
2603
  },
2551
2604
  {
2552
2605
  "kind": "field",
2553
- "name": "speechAvailable",
2554
- "type": {
2555
- "text": "boolean"
2556
- },
2557
- "readonly": true
2606
+ "name": "removeItemListeners",
2607
+ "privacy": "private",
2608
+ "inheritedFrom": {
2609
+ "name": "Accordion",
2610
+ "module": "src/accordion/accordion.ts"
2611
+ }
2558
2612
  },
2559
2613
  {
2560
2614
  "kind": "field",
2561
- "name": "criteriaChips",
2562
- "type": {
2563
- "text": "CriteriaChip[]"
2564
- },
2565
- "readonly": true
2615
+ "name": "activeItemChange",
2616
+ "privacy": "private",
2617
+ "inheritedFrom": {
2618
+ "name": "Accordion",
2619
+ "module": "src/accordion/accordion.ts"
2620
+ }
2566
2621
  },
2567
2622
  {
2568
2623
  "kind": "method",
2569
- "name": "getFieldLabel",
2624
+ "name": "getItemIds",
2570
2625
  "privacy": "private",
2571
2626
  "return": {
2572
2627
  "type": {
2573
- "text": "string"
2628
+ "text": "Array<string | null>"
2574
2629
  }
2575
2630
  },
2576
- "parameters": [
2577
- {
2578
- "name": "fieldName",
2579
- "type": {
2580
- "text": "string"
2581
- }
2582
- }
2583
- ]
2631
+ "inheritedFrom": {
2632
+ "name": "Accordion",
2633
+ "module": "src/accordion/accordion.ts"
2634
+ }
2584
2635
  },
2585
2636
  {
2586
2637
  "kind": "method",
2587
- "name": "toggleCriteriaView",
2638
+ "name": "isSingleExpandMode",
2639
+ "privacy": "private",
2588
2640
  "return": {
2589
2641
  "type": {
2590
- "text": "void"
2642
+ "text": "boolean"
2591
2643
  }
2644
+ },
2645
+ "inheritedFrom": {
2646
+ "name": "Accordion",
2647
+ "module": "src/accordion/accordion.ts"
2648
+ }
2649
+ },
2650
+ {
2651
+ "kind": "field",
2652
+ "name": "handleItemKeyDown",
2653
+ "privacy": "private",
2654
+ "inheritedFrom": {
2655
+ "name": "Accordion",
2656
+ "module": "src/accordion/accordion.ts"
2657
+ }
2658
+ },
2659
+ {
2660
+ "kind": "field",
2661
+ "name": "handleItemFocus",
2662
+ "privacy": "private",
2663
+ "inheritedFrom": {
2664
+ "name": "Accordion",
2665
+ "module": "src/accordion/accordion.ts"
2592
2666
  }
2593
2667
  },
2594
2668
  {
2595
2669
  "kind": "method",
2596
- "name": "removeChip",
2670
+ "name": "adjust",
2671
+ "privacy": "private",
2597
2672
  "return": {
2598
2673
  "type": {
2599
2674
  "text": "void"
@@ -2601,49 +2676,31 @@
2601
2676
  },
2602
2677
  "parameters": [
2603
2678
  {
2604
- "name": "groupIndex",
2605
- "type": {
2606
- "text": "number"
2607
- }
2608
- },
2609
- {
2610
- "name": "clauseIndex",
2679
+ "name": "adjustment",
2611
2680
  "type": {
2612
2681
  "text": "number"
2613
2682
  }
2614
2683
  }
2615
- ]
2684
+ ],
2685
+ "inheritedFrom": {
2686
+ "name": "Accordion",
2687
+ "module": "src/accordion/accordion.ts"
2688
+ }
2616
2689
  },
2617
2690
  {
2618
2691
  "kind": "method",
2619
- "name": "clearChips",
2692
+ "name": "focusItem",
2693
+ "privacy": "private",
2620
2694
  "return": {
2621
2695
  "type": {
2622
2696
  "text": "void"
2623
2697
  }
2698
+ },
2699
+ "inheritedFrom": {
2700
+ "name": "Accordion",
2701
+ "module": "src/accordion/accordion.ts"
2624
2702
  }
2625
2703
  },
2626
- {
2627
- "kind": "method",
2628
- "name": "handleSubmit"
2629
- },
2630
- {
2631
- "kind": "method",
2632
- "name": "handleBlur"
2633
- },
2634
- {
2635
- "kind": "method",
2636
- "name": "clear"
2637
- },
2638
- {
2639
- "kind": "method",
2640
- "name": "toggleSpeechInput"
2641
- },
2642
- {
2643
- "kind": "method",
2644
- "name": "clearSpeechApplyDebounce",
2645
- "privacy": "private"
2646
- },
2647
2704
  {
2648
2705
  "kind": "field",
2649
2706
  "name": "_presentation",
@@ -2758,48 +2815,26 @@
2758
2815
  ],
2759
2816
  "events": [
2760
2817
  {
2761
- "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
2762
- "name": "criteria-changed"
2763
- },
2764
- {
2765
- "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
2766
- "name": "validation-errors"
2767
- }
2768
- ],
2769
- "attributes": [
2770
- {
2771
- "name": "placeholder",
2772
- "type": {
2773
- "text": "string"
2774
- },
2775
- "default": "'Describe your search criteria in natural language...'",
2776
- "fieldName": "placeholder"
2777
- },
2778
- {
2779
- "type": {
2780
- "text": "boolean"
2781
- },
2782
- "fieldName": "disabled"
2818
+ "description": "Fires a custom 'change' event when the active item changes",
2819
+ "name": "change",
2820
+ "inheritedFrom": {
2821
+ "name": "Accordion",
2822
+ "module": "src/accordion/accordion.ts"
2823
+ }
2783
2824
  }
2784
- ],
2785
- "superclass": {
2786
- "name": "FoundationElement",
2787
- "package": "@microsoft/fast-foundation"
2788
- },
2789
- "tagName": "%%prefix%%-ai-criteria-search",
2790
- "customElement": true
2825
+ ]
2791
2826
  },
2792
2827
  {
2793
2828
  "kind": "variable",
2794
- "name": "foundationAiCriteriaSearchShadowOptions",
2829
+ "name": "foundationAccordionShadowOptions",
2795
2830
  "type": {
2796
2831
  "text": "ShadowRootInit"
2797
2832
  },
2798
- "default": "undefined"
2833
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2799
2834
  },
2800
2835
  {
2801
2836
  "kind": "variable",
2802
- "name": "defaultAiCriteriaSearchConfig",
2837
+ "name": "defaultAccordionConfig",
2803
2838
  "type": {
2804
2839
  "text": "object"
2805
2840
  },
@@ -2807,103 +2842,57 @@
2807
2842
  },
2808
2843
  {
2809
2844
  "kind": "variable",
2810
- "name": "foundationAiCriteriaSearch"
2845
+ "name": "foundationAccordion",
2846
+ "description": "The Foundation Accordion",
2847
+ "privacy": "public"
2811
2848
  }
2812
2849
  ],
2813
2850
  "exports": [
2814
2851
  {
2815
2852
  "kind": "js",
2816
- "name": "AiCriteriaSearch",
2853
+ "name": "Accordion",
2817
2854
  "declaration": {
2818
- "name": "AiCriteriaSearch",
2819
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2855
+ "name": "Accordion",
2856
+ "module": "src/accordion/accordion.ts"
2820
2857
  }
2821
2858
  },
2822
2859
  {
2823
2860
  "kind": "js",
2824
- "name": "foundationAiCriteriaSearchShadowOptions",
2861
+ "name": "foundationAccordionShadowOptions",
2825
2862
  "declaration": {
2826
- "name": "foundationAiCriteriaSearchShadowOptions",
2827
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2863
+ "name": "foundationAccordionShadowOptions",
2864
+ "module": "src/accordion/accordion.ts"
2828
2865
  }
2829
2866
  },
2830
2867
  {
2831
2868
  "kind": "js",
2832
- "name": "defaultAiCriteriaSearchConfig",
2869
+ "name": "defaultAccordionConfig",
2833
2870
  "declaration": {
2834
- "name": "defaultAiCriteriaSearchConfig",
2835
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2871
+ "name": "defaultAccordionConfig",
2872
+ "module": "src/accordion/accordion.ts"
2836
2873
  }
2837
2874
  },
2838
2875
  {
2839
2876
  "kind": "js",
2840
- "name": "foundationAiCriteriaSearch",
2877
+ "name": "foundationAccordion",
2841
2878
  "declaration": {
2842
- "name": "foundationAiCriteriaSearch",
2843
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2879
+ "name": "foundationAccordion",
2880
+ "module": "src/accordion/accordion.ts"
2844
2881
  }
2845
2882
  }
2846
2883
  ]
2847
2884
  },
2848
2885
  {
2849
2886
  "kind": "javascript-module",
2850
- "path": "src/ai-criteria-search/index.ts",
2887
+ "path": "src/accordion/index.ts",
2851
2888
  "declarations": [],
2852
2889
  "exports": [
2853
- {
2854
- "kind": "js",
2855
- "name": "AiCriteriaSearch",
2856
- "declaration": {
2857
- "name": "AiCriteriaSearch",
2858
- "module": "./ai-criteria-search"
2859
- }
2860
- },
2861
- {
2862
- "kind": "js",
2863
- "name": "defaultAiCriteriaSearchConfig",
2864
- "declaration": {
2865
- "name": "defaultAiCriteriaSearchConfig",
2866
- "module": "./ai-criteria-search"
2867
- }
2868
- },
2869
- {
2870
- "kind": "js",
2871
- "name": "foundationAiCriteriaSearch",
2872
- "declaration": {
2873
- "name": "foundationAiCriteriaSearch",
2874
- "module": "./ai-criteria-search"
2875
- }
2876
- },
2877
- {
2878
- "kind": "js",
2879
- "name": "foundationAiCriteriaSearchShadowOptions",
2880
- "declaration": {
2881
- "name": "foundationAiCriteriaSearchShadowOptions",
2882
- "module": "./ai-criteria-search"
2883
- }
2884
- },
2885
- {
2886
- "kind": "js",
2887
- "name": "foundationAiCriteriaSearchStyles",
2888
- "declaration": {
2889
- "name": "foundationAiCriteriaSearchStyles",
2890
- "module": "./ai-criteria-search.styles"
2891
- }
2892
- },
2893
- {
2894
- "kind": "js",
2895
- "name": "foundationAiCriteriaSearchTemplate",
2896
- "declaration": {
2897
- "name": "foundationAiCriteriaSearchTemplate",
2898
- "module": "./ai-criteria-search.template"
2899
- }
2900
- },
2901
2890
  {
2902
2891
  "kind": "js",
2903
2892
  "name": "*",
2904
2893
  "declaration": {
2905
2894
  "name": "*",
2906
- "package": "./validation/criteria-ir"
2895
+ "package": "./accordion.template"
2907
2896
  }
2908
2897
  },
2909
2898
  {
@@ -2911,7 +2900,7 @@
2911
2900
  "name": "*",
2912
2901
  "declaration": {
2913
2902
  "name": "*",
2914
- "package": "./validation/operator-map"
2903
+ "package": "./accordion.styles"
2915
2904
  }
2916
2905
  },
2917
2906
  {
@@ -2919,157 +2908,64 @@
2919
2908
  "name": "*",
2920
2909
  "declaration": {
2921
2910
  "name": "*",
2922
- "package": "./validation/schema-validator"
2923
- }
2924
- }
2925
- ]
2926
- },
2927
- {
2928
- "kind": "javascript-module",
2929
- "path": "src/ai-criteria-search/validation-error-notification.ts",
2930
- "declarations": [
2931
- {
2932
- "kind": "function",
2933
- "name": "formatValidationErrors",
2934
- "return": {
2935
- "type": {
2936
- "text": "string"
2937
- }
2938
- },
2939
- "parameters": [
2940
- {
2941
- "name": "errors",
2942
- "type": {
2943
- "text": "ValidationError[]"
2944
- }
2945
- }
2946
- ],
2947
- "description": "Formats validation errors into a user-friendly message."
2948
- },
2949
- {
2950
- "kind": "function",
2951
- "name": "showCriteriaError",
2952
- "return": {
2953
- "type": {
2954
- "text": "void"
2955
- }
2956
- },
2957
- "parameters": [
2958
- {
2959
- "name": "title",
2960
- "type": {
2961
- "text": "string"
2962
- },
2963
- "description": "Notification title (e.g. \"Criteria validation error\")"
2964
- },
2965
- {
2966
- "name": "body",
2967
- "type": {
2968
- "text": "string"
2969
- },
2970
- "description": "Error message to display"
2971
- },
2972
- {
2973
- "name": "tagName",
2974
- "type": {
2975
- "text": "string"
2976
- },
2977
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2978
- }
2979
- ],
2980
- "description": "Shows a criteria error as a toast notification."
2981
- }
2982
- ],
2983
- "exports": [
2984
- {
2985
- "kind": "js",
2986
- "name": "formatValidationErrors",
2987
- "declaration": {
2988
- "name": "formatValidationErrors",
2989
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2990
- }
2991
- },
2992
- {
2993
- "kind": "js",
2994
- "name": "showCriteriaError",
2995
- "declaration": {
2996
- "name": "showCriteriaError",
2997
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2911
+ "package": "./accordion"
2998
2912
  }
2999
2913
  }
3000
2914
  ]
3001
2915
  },
3002
2916
  {
3003
2917
  "kind": "javascript-module",
3004
- "path": "src/ai-indicator/ai-indicator.styles.ts",
2918
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
3005
2919
  "declarations": [
3006
2920
  {
3007
- "kind": "function",
3008
- "name": "foundationAiIndicatorStyles",
3009
- "return": {
3010
- "type": {
3011
- "text": "ElementStyles"
3012
- }
3013
- },
3014
- "parameters": [
3015
- {
3016
- "name": "context",
3017
- "type": {
3018
- "text": "ElementDefinitionContext"
3019
- }
3020
- },
3021
- {
3022
- "name": "definition",
3023
- "type": {
3024
- "text": "FoundationElementDefinition"
3025
- }
3026
- }
3027
- ]
2921
+ "kind": "variable",
2922
+ "name": "foundationAiCriteriaSearchStyles",
2923
+ "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 .criteria-chips-inline {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: calc(${designUnit} * 1px);\n overflow-x: auto;\n padding: 0 calc(${designUnit} * 2px);\n background: var(--neutral-fill-input-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n scrollbar-width: none;\n }\n\n .criteria-chips-inline::-webkit-scrollbar {\n display: none;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .criteria-toggle-button,\n .criteria-clear-button {\n flex-shrink: 0;\n }\n\n .criteria-chip {\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n gap: calc(${designUnit} * 1px);\n padding: calc(${designUnit} * 0.5px) calc(${designUnit} * 2px);\n background: var(--neutral-fill-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(${designUnit} * 4px);\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-rest);\n white-space: nowrap;\n }\n\n .criteria-chip-field {\n font-weight: 600;\n }\n\n .criteria-chip-operator {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-style: italic;\n }\n\n .criteria-chip-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n padding: 0;\n margin-left: calc(${designUnit} * 0.5px);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: 10px;\n border-radius: 50%;\n line-height: 1;\n }\n\n .criteria-chip-remove:hover {\n background: var(--neutral-fill-hover);\n color: var(--neutral-foreground-rest);\n }\n`"
3028
2924
  }
3029
2925
  ],
3030
2926
  "exports": [
3031
2927
  {
3032
2928
  "kind": "js",
3033
- "name": "foundationAiIndicatorStyles",
2929
+ "name": "foundationAiCriteriaSearchStyles",
3034
2930
  "declaration": {
3035
- "name": "foundationAiIndicatorStyles",
3036
- "module": "src/ai-indicator/ai-indicator.styles.ts"
2931
+ "name": "foundationAiCriteriaSearchStyles",
2932
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
3037
2933
  }
3038
2934
  }
3039
2935
  ]
3040
2936
  },
3041
2937
  {
3042
2938
  "kind": "javascript-module",
3043
- "path": "src/ai-indicator/ai-indicator.template.ts",
2939
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
3044
2940
  "declarations": [
3045
2941
  {
3046
2942
  "kind": "variable",
3047
- "name": "foundationAiIndicatorTemplate",
2943
+ "name": "foundationAiCriteriaSearchTemplate",
3048
2944
  "type": {
3049
- "text": "ViewTemplate<AiIndicator>"
2945
+ "text": "ViewTemplate<AiCriteriaSearch>"
3050
2946
  },
3051
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2947
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
3052
2948
  }
3053
2949
  ],
3054
2950
  "exports": [
3055
2951
  {
3056
2952
  "kind": "js",
3057
- "name": "foundationAiIndicatorTemplate",
2953
+ "name": "foundationAiCriteriaSearchTemplate",
3058
2954
  "declaration": {
3059
- "name": "foundationAiIndicatorTemplate",
3060
- "module": "src/ai-indicator/ai-indicator.template.ts"
2955
+ "name": "foundationAiCriteriaSearchTemplate",
2956
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
3061
2957
  }
3062
2958
  }
3063
2959
  ]
3064
2960
  },
3065
2961
  {
3066
2962
  "kind": "javascript-module",
3067
- "path": "src/ai-indicator/ai-indicator.ts",
2963
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
3068
2964
  "declarations": [
3069
2965
  {
3070
2966
  "kind": "class",
3071
- "description": "",
3072
- "name": "AiIndicator",
2967
+ "description": "Natural-language criteria search input with AI interpretation.",
2968
+ "name": "AiCriteriaSearch",
3073
2969
  "members": [
3074
2970
  {
3075
2971
  "kind": "field",
@@ -3080,25 +2976,54 @@
3080
2976
  },
3081
2977
  {
3082
2978
  "kind": "field",
3083
- "name": "aiProvider",
2979
+ "name": "placeholder",
3084
2980
  "type": {
3085
- "text": "AIProvider | undefined"
2981
+ "text": "string"
3086
2982
  },
3087
- "privacy": "private",
3088
- "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.",
3089
- "readonly": true
2983
+ "default": "'Describe your search criteria in natural language...'"
3090
2984
  },
3091
2985
  {
3092
2986
  "kind": "field",
3093
- "name": "status",
2987
+ "name": "disabled",
3094
2988
  "type": {
3095
- "text": "AIStatus | null"
2989
+ "text": "boolean"
2990
+ }
2991
+ },
2992
+ {
2993
+ "kind": "field",
2994
+ "name": "inputValue",
2995
+ "type": {
2996
+ "text": "string"
2997
+ },
2998
+ "default": "''"
2999
+ },
3000
+ {
3001
+ "kind": "field",
3002
+ "name": "isInterpreting",
3003
+ "type": {
3004
+ "text": "boolean"
3005
+ },
3006
+ "default": "false"
3007
+ },
3008
+ {
3009
+ "kind": "field",
3010
+ "name": "lastValidCriteria",
3011
+ "type": {
3012
+ "text": "string | null"
3096
3013
  },
3097
3014
  "default": "null"
3098
3015
  },
3099
3016
  {
3100
3017
  "kind": "field",
3101
- "name": "open",
3018
+ "name": "activeGroups",
3019
+ "type": {
3020
+ "text": "CriteriaGroup[]"
3021
+ },
3022
+ "default": "[]"
3023
+ },
3024
+ {
3025
+ "kind": "field",
3026
+ "name": "showingChips",
3102
3027
  "type": {
3103
3028
  "text": "boolean"
3104
3029
  },
@@ -3106,15 +3031,15 @@
3106
3031
  },
3107
3032
  {
3108
3033
  "kind": "field",
3109
- "name": "state",
3034
+ "name": "fieldMetadata",
3110
3035
  "type": {
3111
- "text": "AIIndicatorState"
3036
+ "text": "MetadataDetail[] | string[]"
3112
3037
  },
3113
- "default": "'none'"
3038
+ "default": "[]"
3114
3039
  },
3115
3040
  {
3116
3041
  "kind": "field",
3117
- "name": "isInstalling",
3042
+ "name": "isRecording",
3118
3043
  "type": {
3119
3044
  "text": "boolean"
3120
3045
  },
@@ -3122,29 +3047,33 @@
3122
3047
  },
3123
3048
  {
3124
3049
  "kind": "field",
3125
- "name": "pollTimer",
3050
+ "name": "textAreaRef",
3126
3051
  "type": {
3127
- "text": "ReturnType<typeof setInterval> | null"
3052
+ "text": "HTMLTextAreaElement"
3128
3053
  },
3129
- "privacy": "private",
3130
- "default": "null"
3054
+ "privacy": "public"
3131
3055
  },
3132
3056
  {
3133
3057
  "kind": "field",
3134
- "name": "clickOutside",
3135
- "privacy": "private"
3058
+ "name": "stopRecording",
3059
+ "type": {
3060
+ "text": "(() => void) | null"
3061
+ },
3062
+ "privacy": "private",
3063
+ "default": "null"
3136
3064
  },
3137
3065
  {
3138
3066
  "kind": "field",
3139
- "name": "chromeStatusLabel",
3067
+ "name": "speechApplyDebounceTimer",
3140
3068
  "type": {
3141
- "text": "string | null"
3069
+ "text": "ReturnType<typeof setTimeout> | null"
3142
3070
  },
3143
- "readonly": true
3071
+ "privacy": "private",
3072
+ "default": "null"
3144
3073
  },
3145
3074
  {
3146
3075
  "kind": "field",
3147
- "name": "canInstall",
3076
+ "name": "speechAvailable",
3148
3077
  "type": {
3149
3078
  "text": "boolean"
3150
3079
  },
@@ -3152,69 +3081,65 @@
3152
3081
  },
3153
3082
  {
3154
3083
  "kind": "field",
3155
- "name": "isDownloading",
3084
+ "name": "criteriaChips",
3156
3085
  "type": {
3157
- "text": "boolean"
3086
+ "text": "CriteriaChip[]"
3158
3087
  },
3159
3088
  "readonly": true
3160
3089
  },
3161
3090
  {
3162
3091
  "kind": "method",
3163
- "name": "openChanged",
3092
+ "name": "getFieldLabel",
3093
+ "privacy": "private",
3164
3094
  "return": {
3165
3095
  "type": {
3166
- "text": "void"
3096
+ "text": "string"
3167
3097
  }
3168
- }
3169
- },
3170
- {
3171
- "kind": "method",
3172
- "name": "handleClickOutside",
3173
- "privacy": "private",
3098
+ },
3174
3099
  "parameters": [
3175
3100
  {
3176
- "name": "event",
3101
+ "name": "fieldName",
3177
3102
  "type": {
3178
- "text": "MouseEvent"
3103
+ "text": "string"
3179
3104
  }
3180
3105
  }
3181
3106
  ]
3182
3107
  },
3183
3108
  {
3184
3109
  "kind": "method",
3185
- "name": "toggleDropdown"
3186
- },
3187
- {
3188
- "kind": "method",
3189
- "name": "refreshStatus",
3110
+ "name": "toggleCriteriaView",
3190
3111
  "return": {
3191
3112
  "type": {
3192
- "text": "Promise<void>"
3113
+ "text": "void"
3193
3114
  }
3194
3115
  }
3195
3116
  },
3196
3117
  {
3197
3118
  "kind": "method",
3198
- "name": "deriveState",
3199
- "privacy": "private",
3119
+ "name": "removeChip",
3200
3120
  "return": {
3201
3121
  "type": {
3202
- "text": "AIIndicatorState"
3122
+ "text": "void"
3203
3123
  }
3204
3124
  },
3205
3125
  "parameters": [
3206
3126
  {
3207
- "name": "s",
3127
+ "name": "groupIndex",
3208
3128
  "type": {
3209
- "text": "AIStatus | null"
3129
+ "text": "number"
3130
+ }
3131
+ },
3132
+ {
3133
+ "name": "clauseIndex",
3134
+ "type": {
3135
+ "text": "number"
3210
3136
  }
3211
3137
  }
3212
3138
  ]
3213
3139
  },
3214
3140
  {
3215
3141
  "kind": "method",
3216
- "name": "maybeStartPolling",
3217
- "privacy": "private",
3142
+ "name": "clearChips",
3218
3143
  "return": {
3219
3144
  "type": {
3220
3145
  "text": "void"
@@ -3223,32 +3148,24 @@
3223
3148
  },
3224
3149
  {
3225
3150
  "kind": "method",
3226
- "name": "startPolling",
3227
- "privacy": "private",
3228
- "return": {
3229
- "type": {
3230
- "text": "void"
3231
- }
3232
- }
3151
+ "name": "handleSubmit"
3233
3152
  },
3234
3153
  {
3235
3154
  "kind": "method",
3236
- "name": "stopPolling",
3237
- "privacy": "private",
3238
- "return": {
3239
- "type": {
3240
- "text": "void"
3241
- }
3242
- }
3155
+ "name": "handleBlur"
3243
3156
  },
3244
3157
  {
3245
3158
  "kind": "method",
3246
- "name": "onInstall",
3247
- "return": {
3248
- "type": {
3249
- "text": "Promise<void>"
3250
- }
3251
- }
3159
+ "name": "clear"
3160
+ },
3161
+ {
3162
+ "kind": "method",
3163
+ "name": "toggleSpeechInput"
3164
+ },
3165
+ {
3166
+ "kind": "method",
3167
+ "name": "clearSpeechApplyDebounce",
3168
+ "privacy": "private"
3252
3169
  },
3253
3170
  {
3254
3171
  "kind": "field",
@@ -3362,141 +3279,259 @@
3362
3279
  }
3363
3280
  }
3364
3281
  ],
3282
+ "events": [
3283
+ {
3284
+ "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
3285
+ "name": "criteria-changed"
3286
+ },
3287
+ {
3288
+ "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
3289
+ "name": "validation-errors"
3290
+ }
3291
+ ],
3292
+ "attributes": [
3293
+ {
3294
+ "name": "placeholder",
3295
+ "type": {
3296
+ "text": "string"
3297
+ },
3298
+ "default": "'Describe your search criteria in natural language...'",
3299
+ "fieldName": "placeholder"
3300
+ },
3301
+ {
3302
+ "type": {
3303
+ "text": "boolean"
3304
+ },
3305
+ "fieldName": "disabled"
3306
+ }
3307
+ ],
3365
3308
  "superclass": {
3366
3309
  "name": "FoundationElement",
3367
3310
  "package": "@microsoft/fast-foundation"
3368
3311
  },
3369
- "tagName": "%%prefix%%-ai-indicator",
3312
+ "tagName": "%%prefix%%-ai-criteria-search",
3370
3313
  "customElement": true
3371
3314
  },
3372
3315
  {
3373
3316
  "kind": "variable",
3374
- "name": "foundationAiIndicator"
3317
+ "name": "foundationAiCriteriaSearchShadowOptions",
3318
+ "type": {
3319
+ "text": "ShadowRootInit"
3320
+ },
3321
+ "default": "undefined"
3322
+ },
3323
+ {
3324
+ "kind": "variable",
3325
+ "name": "defaultAiCriteriaSearchConfig",
3326
+ "type": {
3327
+ "text": "object"
3328
+ },
3329
+ "default": "{}"
3330
+ },
3331
+ {
3332
+ "kind": "variable",
3333
+ "name": "foundationAiCriteriaSearch"
3375
3334
  }
3376
3335
  ],
3377
3336
  "exports": [
3378
3337
  {
3379
3338
  "kind": "js",
3380
- "name": "AiIndicator",
3339
+ "name": "AiCriteriaSearch",
3381
3340
  "declaration": {
3382
- "name": "AiIndicator",
3383
- "module": "src/ai-indicator/ai-indicator.ts"
3341
+ "name": "AiCriteriaSearch",
3342
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3384
3343
  }
3385
3344
  },
3386
3345
  {
3387
3346
  "kind": "js",
3388
- "name": "foundationAiIndicator",
3347
+ "name": "foundationAiCriteriaSearchShadowOptions",
3389
3348
  "declaration": {
3390
- "name": "foundationAiIndicator",
3391
- "module": "src/ai-indicator/ai-indicator.ts"
3349
+ "name": "foundationAiCriteriaSearchShadowOptions",
3350
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3351
+ }
3352
+ },
3353
+ {
3354
+ "kind": "js",
3355
+ "name": "defaultAiCriteriaSearchConfig",
3356
+ "declaration": {
3357
+ "name": "defaultAiCriteriaSearchConfig",
3358
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3359
+ }
3360
+ },
3361
+ {
3362
+ "kind": "js",
3363
+ "name": "foundationAiCriteriaSearch",
3364
+ "declaration": {
3365
+ "name": "foundationAiCriteriaSearch",
3366
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3392
3367
  }
3393
3368
  }
3394
3369
  ]
3395
3370
  },
3396
3371
  {
3397
3372
  "kind": "javascript-module",
3398
- "path": "src/ai-indicator/index.ts",
3373
+ "path": "src/ai-criteria-search/index.ts",
3399
3374
  "declarations": [],
3400
3375
  "exports": [
3401
3376
  {
3402
3377
  "kind": "js",
3403
- "name": "AiIndicator",
3378
+ "name": "AiCriteriaSearch",
3404
3379
  "declaration": {
3405
- "name": "AiIndicator",
3406
- "module": "./ai-indicator"
3380
+ "name": "AiCriteriaSearch",
3381
+ "module": "./ai-criteria-search"
3407
3382
  }
3408
3383
  },
3409
3384
  {
3410
3385
  "kind": "js",
3411
- "name": "foundationAiIndicator",
3386
+ "name": "defaultAiCriteriaSearchConfig",
3412
3387
  "declaration": {
3413
- "name": "foundationAiIndicator",
3414
- "module": "./ai-indicator"
3388
+ "name": "defaultAiCriteriaSearchConfig",
3389
+ "module": "./ai-criteria-search"
3415
3390
  }
3416
3391
  },
3417
3392
  {
3418
3393
  "kind": "js",
3419
- "name": "type",
3394
+ "name": "foundationAiCriteriaSearch",
3420
3395
  "declaration": {
3421
- "name": "type",
3422
- "module": "./ai-indicator"
3396
+ "name": "foundationAiCriteriaSearch",
3397
+ "module": "./ai-criteria-search"
3423
3398
  }
3424
3399
  },
3425
3400
  {
3426
3401
  "kind": "js",
3427
- "name": "AIIndicatorState",
3402
+ "name": "foundationAiCriteriaSearchShadowOptions",
3428
3403
  "declaration": {
3429
- "name": "AIIndicatorState",
3430
- "module": "./ai-indicator"
3404
+ "name": "foundationAiCriteriaSearchShadowOptions",
3405
+ "module": "./ai-criteria-search"
3431
3406
  }
3432
3407
  },
3433
3408
  {
3434
3409
  "kind": "js",
3435
- "name": "foundationAiIndicatorTemplate",
3410
+ "name": "foundationAiCriteriaSearchStyles",
3436
3411
  "declaration": {
3437
- "name": "foundationAiIndicatorTemplate",
3438
- "module": "./ai-indicator.template"
3412
+ "name": "foundationAiCriteriaSearchStyles",
3413
+ "module": "./ai-criteria-search.styles"
3439
3414
  }
3440
3415
  },
3441
3416
  {
3442
3417
  "kind": "js",
3443
- "name": "foundationAiIndicatorStyles",
3418
+ "name": "foundationAiCriteriaSearchTemplate",
3444
3419
  "declaration": {
3445
- "name": "foundationAiIndicatorStyles",
3446
- "module": "./ai-indicator.styles"
3420
+ "name": "foundationAiCriteriaSearchTemplate",
3421
+ "module": "./ai-criteria-search.template"
3422
+ }
3423
+ },
3424
+ {
3425
+ "kind": "js",
3426
+ "name": "*",
3427
+ "declaration": {
3428
+ "name": "*",
3429
+ "package": "./validation/criteria-ir"
3430
+ }
3431
+ },
3432
+ {
3433
+ "kind": "js",
3434
+ "name": "*",
3435
+ "declaration": {
3436
+ "name": "*",
3437
+ "package": "./validation/operator-map"
3438
+ }
3439
+ },
3440
+ {
3441
+ "kind": "js",
3442
+ "name": "*",
3443
+ "declaration": {
3444
+ "name": "*",
3445
+ "package": "./validation/schema-validator"
3447
3446
  }
3448
3447
  }
3449
3448
  ]
3450
3449
  },
3451
3450
  {
3452
3451
  "kind": "javascript-module",
3453
- "path": "src/accordion/accordion.styles.ts",
3452
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
3454
3453
  "declarations": [
3455
3454
  {
3456
3455
  "kind": "function",
3457
- "name": "foundationAccordionStyles",
3456
+ "name": "formatValidationErrors",
3458
3457
  "return": {
3459
3458
  "type": {
3460
- "text": "ElementStyles"
3459
+ "text": "string"
3461
3460
  }
3462
3461
  },
3463
3462
  "parameters": [
3464
3463
  {
3465
- "name": "context",
3464
+ "name": "errors",
3466
3465
  "type": {
3467
- "text": "ElementDefinitionContext"
3466
+ "text": "ValidationError[]"
3468
3467
  }
3468
+ }
3469
+ ],
3470
+ "description": "Formats validation errors into a user-friendly message."
3471
+ },
3472
+ {
3473
+ "kind": "function",
3474
+ "name": "showCriteriaError",
3475
+ "return": {
3476
+ "type": {
3477
+ "text": "void"
3478
+ }
3479
+ },
3480
+ "parameters": [
3481
+ {
3482
+ "name": "title",
3483
+ "type": {
3484
+ "text": "string"
3485
+ },
3486
+ "description": "Notification title (e.g. \"Criteria validation error\")"
3469
3487
  },
3470
3488
  {
3471
- "name": "definition",
3489
+ "name": "body",
3472
3490
  "type": {
3473
- "text": "FoundationElementDefinition"
3474
- }
3491
+ "text": "string"
3492
+ },
3493
+ "description": "Error message to display"
3494
+ },
3495
+ {
3496
+ "name": "tagName",
3497
+ "type": {
3498
+ "text": "string"
3499
+ },
3500
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3475
3501
  }
3476
- ]
3502
+ ],
3503
+ "description": "Shows a criteria error as a toast notification."
3477
3504
  }
3478
3505
  ],
3479
3506
  "exports": [
3480
3507
  {
3481
3508
  "kind": "js",
3482
- "name": "foundationAccordionStyles",
3509
+ "name": "formatValidationErrors",
3483
3510
  "declaration": {
3484
- "name": "foundationAccordionStyles",
3485
- "module": "src/accordion/accordion.styles.ts"
3511
+ "name": "formatValidationErrors",
3512
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3513
+ }
3514
+ },
3515
+ {
3516
+ "kind": "js",
3517
+ "name": "showCriteriaError",
3518
+ "declaration": {
3519
+ "name": "showCriteriaError",
3520
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3486
3521
  }
3487
3522
  }
3488
3523
  ]
3489
3524
  },
3490
3525
  {
3491
3526
  "kind": "javascript-module",
3492
- "path": "src/accordion/accordion.template.ts",
3527
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
3493
3528
  "declarations": [
3494
3529
  {
3495
3530
  "kind": "function",
3496
- "name": "foundationAccordionTemplate",
3531
+ "name": "foundationAiIndicatorStyles",
3497
3532
  "return": {
3498
3533
  "type": {
3499
- "text": "ViewTemplate<Accordion>"
3534
+ "text": "ElementStyles"
3500
3535
  }
3501
3536
  },
3502
3537
  "parameters": [
@@ -3518,237 +3553,224 @@
3518
3553
  "exports": [
3519
3554
  {
3520
3555
  "kind": "js",
3521
- "name": "foundationAccordionTemplate",
3556
+ "name": "foundationAiIndicatorStyles",
3522
3557
  "declaration": {
3523
- "name": "foundationAccordionTemplate",
3524
- "module": "src/accordion/accordion.template.ts"
3558
+ "name": "foundationAiIndicatorStyles",
3559
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
3525
3560
  }
3526
3561
  }
3527
3562
  ]
3528
3563
  },
3529
3564
  {
3530
3565
  "kind": "javascript-module",
3531
- "path": "src/accordion/accordion.ts",
3566
+ "path": "src/ai-indicator/ai-indicator.template.ts",
3567
+ "declarations": [
3568
+ {
3569
+ "kind": "variable",
3570
+ "name": "foundationAiIndicatorTemplate",
3571
+ "type": {
3572
+ "text": "ViewTemplate<AiIndicator>"
3573
+ },
3574
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3575
+ }
3576
+ ],
3577
+ "exports": [
3578
+ {
3579
+ "kind": "js",
3580
+ "name": "foundationAiIndicatorTemplate",
3581
+ "declaration": {
3582
+ "name": "foundationAiIndicatorTemplate",
3583
+ "module": "src/ai-indicator/ai-indicator.template.ts"
3584
+ }
3585
+ }
3586
+ ]
3587
+ },
3588
+ {
3589
+ "kind": "javascript-module",
3590
+ "path": "src/ai-indicator/ai-indicator.ts",
3532
3591
  "declarations": [
3533
3592
  {
3534
3593
  "kind": "class",
3535
3594
  "description": "",
3536
- "name": "Accordion",
3537
- "superclass": {
3538
- "name": "FASTAccordion",
3539
- "package": "@microsoft/fast-foundation"
3540
- },
3541
- "tagName": "%%prefix%%-accordion",
3542
- "customElement": true,
3543
- "attributes": [
3595
+ "name": "AiIndicator",
3596
+ "members": [
3544
3597
  {
3545
- "name": "expand-mode",
3598
+ "kind": "field",
3599
+ "name": "providerRegistry",
3546
3600
  "type": {
3547
- "text": "AccordionExpandMode"
3548
- },
3549
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3550
- "fieldName": "expandmode",
3551
- "inheritedFrom": {
3552
- "name": "Accordion",
3553
- "module": "src/accordion/accordion.ts"
3601
+ "text": "AIProviderRegistry"
3554
3602
  }
3555
- }
3556
- ],
3557
- "members": [
3603
+ },
3558
3604
  {
3559
3605
  "kind": "field",
3560
- "name": "expandmode",
3606
+ "name": "aiProvider",
3561
3607
  "type": {
3562
- "text": "AccordionExpandMode"
3608
+ "text": "AIProvider | undefined"
3563
3609
  },
3564
- "privacy": "public",
3565
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3566
- "inheritedFrom": {
3567
- "name": "Accordion",
3568
- "module": "src/accordion/accordion.ts"
3569
- }
3610
+ "privacy": "private",
3611
+ "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.",
3612
+ "readonly": true
3570
3613
  },
3571
3614
  {
3572
3615
  "kind": "field",
3573
- "name": "activeid",
3616
+ "name": "status",
3574
3617
  "type": {
3575
- "text": "string | null"
3618
+ "text": "AIStatus | null"
3576
3619
  },
3577
- "privacy": "private",
3578
- "inheritedFrom": {
3579
- "name": "Accordion",
3580
- "module": "src/accordion/accordion.ts"
3581
- }
3620
+ "default": "null"
3582
3621
  },
3583
3622
  {
3584
3623
  "kind": "field",
3585
- "name": "activeItemIndex",
3624
+ "name": "open",
3586
3625
  "type": {
3587
- "text": "number"
3626
+ "text": "boolean"
3588
3627
  },
3589
- "privacy": "private",
3590
- "default": "0",
3591
- "inheritedFrom": {
3592
- "name": "Accordion",
3593
- "module": "src/accordion/accordion.ts"
3594
- }
3628
+ "default": "false"
3595
3629
  },
3596
3630
  {
3597
3631
  "kind": "field",
3598
- "name": "accordionIds",
3632
+ "name": "state",
3599
3633
  "type": {
3600
- "text": "Array<string | null>"
3634
+ "text": "AIIndicatorState"
3601
3635
  },
3602
- "privacy": "private",
3603
- "inheritedFrom": {
3604
- "name": "Accordion",
3605
- "module": "src/accordion/accordion.ts"
3606
- }
3636
+ "default": "'none'"
3607
3637
  },
3608
3638
  {
3609
3639
  "kind": "field",
3610
- "name": "change",
3611
- "privacy": "private",
3612
- "inheritedFrom": {
3613
- "name": "Accordion",
3614
- "module": "src/accordion/accordion.ts"
3615
- }
3640
+ "name": "isInstalling",
3641
+ "type": {
3642
+ "text": "boolean"
3643
+ },
3644
+ "default": "false"
3616
3645
  },
3617
3646
  {
3618
- "kind": "method",
3619
- "name": "findExpandedItem",
3647
+ "kind": "field",
3648
+ "name": "pollTimer",
3649
+ "type": {
3650
+ "text": "ReturnType<typeof setInterval> | null"
3651
+ },
3620
3652
  "privacy": "private",
3621
- "return": {
3622
- "type": {
3623
- "text": "AccordionItem | null"
3624
- }
3653
+ "default": "null"
3654
+ },
3655
+ {
3656
+ "kind": "field",
3657
+ "name": "clickOutside",
3658
+ "privacy": "private"
3659
+ },
3660
+ {
3661
+ "kind": "field",
3662
+ "name": "chromeStatusLabel",
3663
+ "type": {
3664
+ "text": "string | null"
3625
3665
  },
3626
- "inheritedFrom": {
3627
- "name": "Accordion",
3628
- "module": "src/accordion/accordion.ts"
3629
- }
3666
+ "readonly": true
3630
3667
  },
3631
3668
  {
3632
3669
  "kind": "field",
3633
- "name": "setItems",
3634
- "privacy": "private",
3635
- "inheritedFrom": {
3636
- "name": "Accordion",
3637
- "module": "src/accordion/accordion.ts"
3638
- }
3670
+ "name": "canInstall",
3671
+ "type": {
3672
+ "text": "boolean"
3673
+ },
3674
+ "readonly": true
3675
+ },
3676
+ {
3677
+ "kind": "field",
3678
+ "name": "isDownloading",
3679
+ "type": {
3680
+ "text": "boolean"
3681
+ },
3682
+ "readonly": true
3639
3683
  },
3640
3684
  {
3641
3685
  "kind": "method",
3642
- "name": "resetItems",
3643
- "privacy": "private",
3686
+ "name": "openChanged",
3644
3687
  "return": {
3645
3688
  "type": {
3646
3689
  "text": "void"
3647
3690
  }
3648
- },
3649
- "inheritedFrom": {
3650
- "name": "Accordion",
3651
- "module": "src/accordion/accordion.ts"
3652
3691
  }
3653
3692
  },
3654
3693
  {
3655
- "kind": "field",
3656
- "name": "removeItemListeners",
3694
+ "kind": "method",
3695
+ "name": "handleClickOutside",
3657
3696
  "privacy": "private",
3658
- "inheritedFrom": {
3659
- "name": "Accordion",
3660
- "module": "src/accordion/accordion.ts"
3661
- }
3697
+ "parameters": [
3698
+ {
3699
+ "name": "event",
3700
+ "type": {
3701
+ "text": "MouseEvent"
3702
+ }
3703
+ }
3704
+ ]
3662
3705
  },
3663
3706
  {
3664
- "kind": "field",
3665
- "name": "activeItemChange",
3666
- "privacy": "private",
3667
- "inheritedFrom": {
3668
- "name": "Accordion",
3669
- "module": "src/accordion/accordion.ts"
3670
- }
3707
+ "kind": "method",
3708
+ "name": "toggleDropdown"
3671
3709
  },
3672
3710
  {
3673
3711
  "kind": "method",
3674
- "name": "getItemIds",
3675
- "privacy": "private",
3712
+ "name": "refreshStatus",
3676
3713
  "return": {
3677
3714
  "type": {
3678
- "text": "Array<string | null>"
3715
+ "text": "Promise<void>"
3679
3716
  }
3680
- },
3681
- "inheritedFrom": {
3682
- "name": "Accordion",
3683
- "module": "src/accordion/accordion.ts"
3684
3717
  }
3685
3718
  },
3686
3719
  {
3687
3720
  "kind": "method",
3688
- "name": "isSingleExpandMode",
3721
+ "name": "deriveState",
3689
3722
  "privacy": "private",
3690
3723
  "return": {
3691
3724
  "type": {
3692
- "text": "boolean"
3725
+ "text": "AIIndicatorState"
3693
3726
  }
3694
3727
  },
3695
- "inheritedFrom": {
3696
- "name": "Accordion",
3697
- "module": "src/accordion/accordion.ts"
3698
- }
3728
+ "parameters": [
3729
+ {
3730
+ "name": "s",
3731
+ "type": {
3732
+ "text": "AIStatus | null"
3733
+ }
3734
+ }
3735
+ ]
3699
3736
  },
3700
3737
  {
3701
- "kind": "field",
3702
- "name": "handleItemKeyDown",
3738
+ "kind": "method",
3739
+ "name": "maybeStartPolling",
3703
3740
  "privacy": "private",
3704
- "inheritedFrom": {
3705
- "name": "Accordion",
3706
- "module": "src/accordion/accordion.ts"
3741
+ "return": {
3742
+ "type": {
3743
+ "text": "void"
3744
+ }
3707
3745
  }
3708
3746
  },
3709
3747
  {
3710
- "kind": "field",
3711
- "name": "handleItemFocus",
3748
+ "kind": "method",
3749
+ "name": "startPolling",
3712
3750
  "privacy": "private",
3713
- "inheritedFrom": {
3714
- "name": "Accordion",
3715
- "module": "src/accordion/accordion.ts"
3751
+ "return": {
3752
+ "type": {
3753
+ "text": "void"
3754
+ }
3716
3755
  }
3717
3756
  },
3718
3757
  {
3719
3758
  "kind": "method",
3720
- "name": "adjust",
3759
+ "name": "stopPolling",
3721
3760
  "privacy": "private",
3722
3761
  "return": {
3723
3762
  "type": {
3724
3763
  "text": "void"
3725
3764
  }
3726
- },
3727
- "parameters": [
3728
- {
3729
- "name": "adjustment",
3730
- "type": {
3731
- "text": "number"
3732
- }
3733
- }
3734
- ],
3735
- "inheritedFrom": {
3736
- "name": "Accordion",
3737
- "module": "src/accordion/accordion.ts"
3738
3765
  }
3739
3766
  },
3740
3767
  {
3741
3768
  "kind": "method",
3742
- "name": "focusItem",
3743
- "privacy": "private",
3769
+ "name": "onInstall",
3744
3770
  "return": {
3745
3771
  "type": {
3746
- "text": "void"
3772
+ "text": "Promise<void>"
3747
3773
  }
3748
- },
3749
- "inheritedFrom": {
3750
- "name": "Accordion",
3751
- "module": "src/accordion/accordion.ts"
3752
3774
  }
3753
3775
  },
3754
3776
  {
@@ -3863,102 +3885,88 @@
3863
3885
  }
3864
3886
  }
3865
3887
  ],
3866
- "events": [
3867
- {
3868
- "description": "Fires a custom 'change' event when the active item changes",
3869
- "name": "change",
3870
- "inheritedFrom": {
3871
- "name": "Accordion",
3872
- "module": "src/accordion/accordion.ts"
3873
- }
3874
- }
3875
- ]
3876
- },
3877
- {
3878
- "kind": "variable",
3879
- "name": "foundationAccordionShadowOptions",
3880
- "type": {
3881
- "text": "ShadowRootInit"
3882
- },
3883
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3884
- },
3885
- {
3886
- "kind": "variable",
3887
- "name": "defaultAccordionConfig",
3888
- "type": {
3889
- "text": "object"
3888
+ "superclass": {
3889
+ "name": "FoundationElement",
3890
+ "package": "@microsoft/fast-foundation"
3890
3891
  },
3891
- "default": "{}"
3892
+ "tagName": "%%prefix%%-ai-indicator",
3893
+ "customElement": true
3892
3894
  },
3893
3895
  {
3894
3896
  "kind": "variable",
3895
- "name": "foundationAccordion",
3896
- "description": "The Foundation Accordion",
3897
- "privacy": "public"
3897
+ "name": "foundationAiIndicator"
3898
3898
  }
3899
3899
  ],
3900
3900
  "exports": [
3901
3901
  {
3902
3902
  "kind": "js",
3903
- "name": "Accordion",
3903
+ "name": "AiIndicator",
3904
3904
  "declaration": {
3905
- "name": "Accordion",
3906
- "module": "src/accordion/accordion.ts"
3905
+ "name": "AiIndicator",
3906
+ "module": "src/ai-indicator/ai-indicator.ts"
3907
3907
  }
3908
3908
  },
3909
3909
  {
3910
3910
  "kind": "js",
3911
- "name": "foundationAccordionShadowOptions",
3911
+ "name": "foundationAiIndicator",
3912
3912
  "declaration": {
3913
- "name": "foundationAccordionShadowOptions",
3914
- "module": "src/accordion/accordion.ts"
3913
+ "name": "foundationAiIndicator",
3914
+ "module": "src/ai-indicator/ai-indicator.ts"
3915
+ }
3916
+ }
3917
+ ]
3918
+ },
3919
+ {
3920
+ "kind": "javascript-module",
3921
+ "path": "src/ai-indicator/index.ts",
3922
+ "declarations": [],
3923
+ "exports": [
3924
+ {
3925
+ "kind": "js",
3926
+ "name": "AiIndicator",
3927
+ "declaration": {
3928
+ "name": "AiIndicator",
3929
+ "module": "./ai-indicator"
3915
3930
  }
3916
3931
  },
3917
3932
  {
3918
3933
  "kind": "js",
3919
- "name": "defaultAccordionConfig",
3934
+ "name": "foundationAiIndicator",
3920
3935
  "declaration": {
3921
- "name": "defaultAccordionConfig",
3922
- "module": "src/accordion/accordion.ts"
3936
+ "name": "foundationAiIndicator",
3937
+ "module": "./ai-indicator"
3923
3938
  }
3924
3939
  },
3925
3940
  {
3926
3941
  "kind": "js",
3927
- "name": "foundationAccordion",
3942
+ "name": "type",
3928
3943
  "declaration": {
3929
- "name": "foundationAccordion",
3930
- "module": "src/accordion/accordion.ts"
3944
+ "name": "type",
3945
+ "module": "./ai-indicator"
3931
3946
  }
3932
- }
3933
- ]
3934
- },
3935
- {
3936
- "kind": "javascript-module",
3937
- "path": "src/accordion/index.ts",
3938
- "declarations": [],
3939
- "exports": [
3947
+ },
3940
3948
  {
3941
3949
  "kind": "js",
3942
- "name": "*",
3950
+ "name": "AIIndicatorState",
3943
3951
  "declaration": {
3944
- "name": "*",
3945
- "package": "./accordion.template"
3952
+ "name": "AIIndicatorState",
3953
+ "module": "./ai-indicator"
3946
3954
  }
3947
3955
  },
3948
3956
  {
3949
3957
  "kind": "js",
3950
- "name": "*",
3958
+ "name": "foundationAiIndicatorTemplate",
3951
3959
  "declaration": {
3952
- "name": "*",
3953
- "package": "./accordion.styles"
3960
+ "name": "foundationAiIndicatorTemplate",
3961
+ "module": "./ai-indicator.template"
3954
3962
  }
3955
3963
  },
3956
3964
  {
3957
3965
  "kind": "js",
3958
- "name": "*",
3966
+ "name": "foundationAiIndicatorStyles",
3959
3967
  "declaration": {
3960
- "name": "*",
3961
- "package": "./accordion"
3968
+ "name": "foundationAiIndicatorStyles",
3969
+ "module": "./ai-indicator.styles"
3962
3970
  }
3963
3971
  }
3964
3972
  ]
@@ -38689,6 +38697,403 @@
38689
38697
  }
38690
38698
  ]
38691
38699
  },
38700
+ {
38701
+ "kind": "javascript-module",
38702
+ "path": "src/pill/index.ts",
38703
+ "declarations": [],
38704
+ "exports": [
38705
+ {
38706
+ "kind": "js",
38707
+ "name": "*",
38708
+ "declaration": {
38709
+ "name": "*",
38710
+ "package": "./pill"
38711
+ }
38712
+ },
38713
+ {
38714
+ "kind": "js",
38715
+ "name": "*",
38716
+ "declaration": {
38717
+ "name": "*",
38718
+ "package": "./pill.styles"
38719
+ }
38720
+ },
38721
+ {
38722
+ "kind": "js",
38723
+ "name": "*",
38724
+ "declaration": {
38725
+ "name": "*",
38726
+ "package": "./pill.template"
38727
+ }
38728
+ }
38729
+ ]
38730
+ },
38731
+ {
38732
+ "kind": "javascript-module",
38733
+ "path": "src/pill/pill.styles.ts",
38734
+ "declarations": [
38735
+ {
38736
+ "kind": "variable",
38737
+ "name": "pillStyles",
38738
+ "default": "css`\n :host {\n --pill-fill: var(--neutral-fill-rest, #e5e5e5);\n --pill-fill-hover: var(--neutral-fill-hover, #d9d9d9);\n --pill-foreground: var(--neutral-foreground-rest, #1a1a1a);\n --pill-border-radius: 12px;\n\n display: inline-flex;\n }\n\n .pill {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n height: 24px;\n padding: 0 4px 0 10px;\n border-radius: var(--pill-border-radius);\n background: var(--pill-fill);\n color: var(--pill-foreground);\n font-size: 12px;\n line-height: 1;\n }\n\n .pill[disabled] {\n opacity: 50%;\n }\n\n .pill-body {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n border: none;\n background: transparent;\n color: inherit;\n font: inherit;\n padding: 0;\n cursor: pointer;\n }\n\n .pill-body:disabled {\n cursor: not-allowed;\n }\n\n .pill-label {\n font-weight: 600;\n white-space: nowrap;\n }\n\n .pill-value {\n white-space: nowrap;\n }\n\n .pill-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 16px;\n height: 16px;\n border: none;\n border-radius: 50%;\n background: transparent;\n color: inherit;\n cursor: pointer;\n padding: 0;\n }\n\n .pill-remove:hover {\n background: var(--pill-fill-hover);\n }\n\n .pill-remove:disabled {\n cursor: not-allowed;\n }\n`"
38739
+ }
38740
+ ],
38741
+ "exports": [
38742
+ {
38743
+ "kind": "js",
38744
+ "name": "pillStyles",
38745
+ "declaration": {
38746
+ "name": "pillStyles",
38747
+ "module": "src/pill/pill.styles.ts"
38748
+ }
38749
+ }
38750
+ ]
38751
+ },
38752
+ {
38753
+ "kind": "javascript-module",
38754
+ "path": "src/pill/pill.template.ts",
38755
+ "declarations": [
38756
+ {
38757
+ "kind": "variable",
38758
+ "name": "foundationPillTemplate",
38759
+ "default": "html<Pill>`\n ${(x) => getPrefixedPillTemplate(getPrefix(x))}\n`"
38760
+ }
38761
+ ],
38762
+ "exports": [
38763
+ {
38764
+ "kind": "js",
38765
+ "name": "foundationPillTemplate",
38766
+ "declaration": {
38767
+ "name": "foundationPillTemplate",
38768
+ "module": "src/pill/pill.template.ts"
38769
+ }
38770
+ }
38771
+ ]
38772
+ },
38773
+ {
38774
+ "kind": "javascript-module",
38775
+ "path": "src/pill/pill.ts",
38776
+ "declarations": [
38777
+ {
38778
+ "kind": "variable",
38779
+ "name": "foundationPillShadowOptions",
38780
+ "type": {
38781
+ "text": "ShadowRootInit"
38782
+ },
38783
+ "default": "undefined"
38784
+ },
38785
+ {
38786
+ "kind": "variable",
38787
+ "name": "defaultPillConfig",
38788
+ "type": {
38789
+ "text": "object"
38790
+ },
38791
+ "default": "{}"
38792
+ },
38793
+ {
38794
+ "kind": "class",
38795
+ "description": "",
38796
+ "name": "Pill",
38797
+ "members": [
38798
+ {
38799
+ "kind": "field",
38800
+ "name": "label",
38801
+ "type": {
38802
+ "text": "string"
38803
+ },
38804
+ "attribute": "label"
38805
+ },
38806
+ {
38807
+ "kind": "field",
38808
+ "name": "value",
38809
+ "type": {
38810
+ "text": "string"
38811
+ },
38812
+ "attribute": "value"
38813
+ },
38814
+ {
38815
+ "kind": "field",
38816
+ "name": "removable",
38817
+ "type": {
38818
+ "text": "boolean"
38819
+ },
38820
+ "default": "true",
38821
+ "attribute": "removable"
38822
+ },
38823
+ {
38824
+ "kind": "field",
38825
+ "name": "disabled",
38826
+ "type": {
38827
+ "text": "boolean"
38828
+ },
38829
+ "default": "false",
38830
+ "attribute": "disabled"
38831
+ },
38832
+ {
38833
+ "kind": "method",
38834
+ "name": "handleBodyClick",
38835
+ "return": {
38836
+ "type": {
38837
+ "text": "void"
38838
+ }
38839
+ }
38840
+ },
38841
+ {
38842
+ "kind": "method",
38843
+ "name": "handleRemoveClick",
38844
+ "return": {
38845
+ "type": {
38846
+ "text": "void"
38847
+ }
38848
+ },
38849
+ "parameters": [
38850
+ {
38851
+ "name": "event",
38852
+ "type": {
38853
+ "text": "Event"
38854
+ }
38855
+ }
38856
+ ]
38857
+ },
38858
+ {
38859
+ "kind": "field",
38860
+ "name": "_presentation",
38861
+ "type": {
38862
+ "text": "ComponentPresentation | null | undefined"
38863
+ },
38864
+ "privacy": "private",
38865
+ "default": "void 0",
38866
+ "inheritedFrom": {
38867
+ "name": "FoundationElement",
38868
+ "module": "src/foundation-element/foundation-element.ts"
38869
+ }
38870
+ },
38871
+ {
38872
+ "kind": "field",
38873
+ "name": "$presentation",
38874
+ "type": {
38875
+ "text": "ComponentPresentation | null"
38876
+ },
38877
+ "privacy": "public",
38878
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
38879
+ "inheritedFrom": {
38880
+ "name": "FoundationElement",
38881
+ "module": "src/foundation-element/foundation-element.ts"
38882
+ }
38883
+ },
38884
+ {
38885
+ "kind": "field",
38886
+ "name": "template",
38887
+ "type": {
38888
+ "text": "ElementViewTemplate | void | null"
38889
+ },
38890
+ "privacy": "public",
38891
+ "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
38892
+ "inheritedFrom": {
38893
+ "name": "FoundationElement",
38894
+ "module": "src/foundation-element/foundation-element.ts"
38895
+ }
38896
+ },
38897
+ {
38898
+ "kind": "method",
38899
+ "name": "templateChanged",
38900
+ "privacy": "protected",
38901
+ "return": {
38902
+ "type": {
38903
+ "text": "void"
38904
+ }
38905
+ },
38906
+ "inheritedFrom": {
38907
+ "name": "FoundationElement",
38908
+ "module": "src/foundation-element/foundation-element.ts"
38909
+ }
38910
+ },
38911
+ {
38912
+ "kind": "field",
38913
+ "name": "styles",
38914
+ "type": {
38915
+ "text": "ElementStyles | void | null"
38916
+ },
38917
+ "privacy": "public",
38918
+ "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
38919
+ "inheritedFrom": {
38920
+ "name": "FoundationElement",
38921
+ "module": "src/foundation-element/foundation-element.ts"
38922
+ }
38923
+ },
38924
+ {
38925
+ "kind": "method",
38926
+ "name": "stylesChanged",
38927
+ "privacy": "protected",
38928
+ "return": {
38929
+ "type": {
38930
+ "text": "void"
38931
+ }
38932
+ },
38933
+ "inheritedFrom": {
38934
+ "name": "FoundationElement",
38935
+ "module": "src/foundation-element/foundation-element.ts"
38936
+ }
38937
+ },
38938
+ {
38939
+ "kind": "method",
38940
+ "name": "compose",
38941
+ "privacy": "public",
38942
+ "static": true,
38943
+ "return": {
38944
+ "type": {
38945
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
38946
+ }
38947
+ },
38948
+ "parameters": [
38949
+ {
38950
+ "name": "this",
38951
+ "type": {
38952
+ "text": "K"
38953
+ }
38954
+ },
38955
+ {
38956
+ "name": "elementDefinition",
38957
+ "type": {
38958
+ "text": "T"
38959
+ },
38960
+ "description": "The definition of the element to create the registry\nfunction for."
38961
+ }
38962
+ ],
38963
+ "description": "Defines an element registry function with a set of element definition defaults.",
38964
+ "inheritedFrom": {
38965
+ "name": "FoundationElement",
38966
+ "module": "src/foundation-element/foundation-element.ts"
38967
+ }
38968
+ }
38969
+ ],
38970
+ "events": [
38971
+ {
38972
+ "description": "Fired when the remove control is activated.",
38973
+ "name": "remove"
38974
+ },
38975
+ {
38976
+ "description": "Fired when the pill body (excluding the remove control) is activated.",
38977
+ "name": "pill-click"
38978
+ }
38979
+ ],
38980
+ "attributes": [
38981
+ {
38982
+ "name": "label",
38983
+ "type": {
38984
+ "text": "string"
38985
+ },
38986
+ "fieldName": "label",
38987
+ "description": "the name of the thing this pill represents, e.g. a filter field name"
38988
+ },
38989
+ {
38990
+ "name": "value",
38991
+ "type": {
38992
+ "text": "string"
38993
+ },
38994
+ "fieldName": "value",
38995
+ "description": "the current value shown alongside the label, e.g. \"Cpty Desk: EQUITIES\""
38996
+ },
38997
+ {
38998
+ "name": "removable",
38999
+ "type": {
39000
+ "text": "boolean"
39001
+ },
39002
+ "default": "true",
39003
+ "fieldName": "removable",
39004
+ "description": "whether the \"x\" remove control is shown"
39005
+ },
39006
+ {
39007
+ "name": "disabled",
39008
+ "type": {
39009
+ "text": "boolean"
39010
+ },
39011
+ "default": "false",
39012
+ "fieldName": "disabled",
39013
+ "description": "disables both the pill body and the remove control"
39014
+ },
39015
+ {
39016
+ "name": "label",
39017
+ "type": {
39018
+ "text": "string"
39019
+ },
39020
+ "attribute": "label",
39021
+ "fieldName": "label"
39022
+ },
39023
+ {
39024
+ "name": "value",
39025
+ "type": {
39026
+ "text": "string"
39027
+ },
39028
+ "attribute": "value",
39029
+ "fieldName": "value"
39030
+ },
39031
+ {
39032
+ "type": {
39033
+ "text": "boolean"
39034
+ },
39035
+ "default": "true",
39036
+ "attribute": "removable",
39037
+ "fieldName": "removable"
39038
+ },
39039
+ {
39040
+ "type": {
39041
+ "text": "boolean"
39042
+ },
39043
+ "default": "false",
39044
+ "attribute": "disabled",
39045
+ "fieldName": "disabled"
39046
+ }
39047
+ ],
39048
+ "superclass": {
39049
+ "name": "FoundationElement",
39050
+ "package": "@microsoft/fast-foundation"
39051
+ },
39052
+ "tagName": "%%prefix%%-pill",
39053
+ "customElement": true
39054
+ },
39055
+ {
39056
+ "kind": "variable",
39057
+ "name": "foundationPill",
39058
+ "description": "The Foundation Pill",
39059
+ "privacy": "public"
39060
+ }
39061
+ ],
39062
+ "exports": [
39063
+ {
39064
+ "kind": "js",
39065
+ "name": "foundationPillShadowOptions",
39066
+ "declaration": {
39067
+ "name": "foundationPillShadowOptions",
39068
+ "module": "src/pill/pill.ts"
39069
+ }
39070
+ },
39071
+ {
39072
+ "kind": "js",
39073
+ "name": "defaultPillConfig",
39074
+ "declaration": {
39075
+ "name": "defaultPillConfig",
39076
+ "module": "src/pill/pill.ts"
39077
+ }
39078
+ },
39079
+ {
39080
+ "kind": "js",
39081
+ "name": "Pill",
39082
+ "declaration": {
39083
+ "name": "Pill",
39084
+ "module": "src/pill/pill.ts"
39085
+ }
39086
+ },
39087
+ {
39088
+ "kind": "js",
39089
+ "name": "foundationPill",
39090
+ "declaration": {
39091
+ "name": "foundationPill",
39092
+ "module": "src/pill/pill.ts"
39093
+ }
39094
+ }
39095
+ ]
39096
+ },
38692
39097
  {
38693
39098
  "kind": "javascript-module",
38694
39099
  "path": "src/popper/index.ts",