@genesislcap/foundation-ui 14.501.0 → 15.0.0-FUI-2567.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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 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}"
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 foundationVerificationCodeInput,\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": [
@@ -867,6 +867,14 @@
867
867
  "name": "getPrefix",
868
868
  "module": "./utils/dom"
869
869
  }
870
+ },
871
+ {
872
+ "kind": "js",
873
+ "name": "*",
874
+ "declaration": {
875
+ "name": "*",
876
+ "package": "./verification-code-input"
877
+ }
870
878
  }
871
879
  ]
872
880
  },
@@ -2400,275 +2408,208 @@
2400
2408
  },
2401
2409
  {
2402
2410
  "kind": "javascript-module",
2403
- "path": "src/accordion/accordion.styles.ts",
2411
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2404
2412
  "declarations": [
2405
2413
  {
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
- ]
2414
+ "kind": "variable",
2415
+ "name": "foundationAiCriteriaSearchStyles",
2416
+ "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`"
2427
2417
  }
2428
2418
  ],
2429
2419
  "exports": [
2430
2420
  {
2431
2421
  "kind": "js",
2432
- "name": "foundationAccordionStyles",
2422
+ "name": "foundationAiCriteriaSearchStyles",
2433
2423
  "declaration": {
2434
- "name": "foundationAccordionStyles",
2435
- "module": "src/accordion/accordion.styles.ts"
2424
+ "name": "foundationAiCriteriaSearchStyles",
2425
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2436
2426
  }
2437
2427
  }
2438
2428
  ]
2439
2429
  },
2440
2430
  {
2441
2431
  "kind": "javascript-module",
2442
- "path": "src/accordion/accordion.template.ts",
2432
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2443
2433
  "declarations": [
2444
2434
  {
2445
- "kind": "function",
2446
- "name": "foundationAccordionTemplate",
2447
- "return": {
2448
- "type": {
2449
- "text": "ViewTemplate<Accordion>"
2450
- }
2435
+ "kind": "variable",
2436
+ "name": "foundationAiCriteriaSearchTemplate",
2437
+ "type": {
2438
+ "text": "ViewTemplate<AiCriteriaSearch>"
2451
2439
  },
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
- ]
2440
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2466
2441
  }
2467
2442
  ],
2468
2443
  "exports": [
2469
2444
  {
2470
2445
  "kind": "js",
2471
- "name": "foundationAccordionTemplate",
2446
+ "name": "foundationAiCriteriaSearchTemplate",
2472
2447
  "declaration": {
2473
- "name": "foundationAccordionTemplate",
2474
- "module": "src/accordion/accordion.template.ts"
2448
+ "name": "foundationAiCriteriaSearchTemplate",
2449
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2475
2450
  }
2476
2451
  }
2477
2452
  ]
2478
2453
  },
2479
2454
  {
2480
2455
  "kind": "javascript-module",
2481
- "path": "src/accordion/accordion.ts",
2456
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
2482
2457
  "declarations": [
2483
2458
  {
2484
2459
  "kind": "class",
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": [
2460
+ "description": "Natural-language criteria search input with AI interpretation.",
2461
+ "name": "AiCriteriaSearch",
2462
+ "members": [
2494
2463
  {
2495
- "name": "expand-mode",
2464
+ "kind": "field",
2465
+ "name": "providerRegistry",
2496
2466
  "type": {
2497
- "text": "AccordionExpandMode"
2498
- },
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
+ "text": "AIProviderRegistry"
2504
2468
  }
2505
- }
2506
- ],
2507
- "members": [
2469
+ },
2508
2470
  {
2509
2471
  "kind": "field",
2510
- "name": "expandmode",
2472
+ "name": "placeholder",
2511
2473
  "type": {
2512
- "text": "AccordionExpandMode"
2474
+ "text": "string"
2513
2475
  },
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"
2476
+ "default": "'Describe your search criteria in natural language...'"
2477
+ },
2478
+ {
2479
+ "kind": "field",
2480
+ "name": "disabled",
2481
+ "type": {
2482
+ "text": "boolean"
2519
2483
  }
2520
2484
  },
2521
2485
  {
2522
2486
  "kind": "field",
2523
- "name": "activeid",
2487
+ "name": "inputValue",
2524
2488
  "type": {
2525
- "text": "string | null"
2489
+ "text": "string"
2526
2490
  },
2527
- "privacy": "private",
2528
- "inheritedFrom": {
2529
- "name": "Accordion",
2530
- "module": "src/accordion/accordion.ts"
2531
- }
2491
+ "default": "''"
2532
2492
  },
2533
2493
  {
2534
2494
  "kind": "field",
2535
- "name": "activeItemIndex",
2495
+ "name": "isInterpreting",
2536
2496
  "type": {
2537
- "text": "number"
2497
+ "text": "boolean"
2538
2498
  },
2539
- "privacy": "private",
2540
- "default": "0",
2541
- "inheritedFrom": {
2542
- "name": "Accordion",
2543
- "module": "src/accordion/accordion.ts"
2544
- }
2499
+ "default": "false"
2545
2500
  },
2546
2501
  {
2547
2502
  "kind": "field",
2548
- "name": "accordionIds",
2503
+ "name": "lastValidCriteria",
2549
2504
  "type": {
2550
- "text": "Array<string | null>"
2505
+ "text": "string | null"
2551
2506
  },
2552
- "privacy": "private",
2553
- "inheritedFrom": {
2554
- "name": "Accordion",
2555
- "module": "src/accordion/accordion.ts"
2556
- }
2507
+ "default": "null"
2557
2508
  },
2558
2509
  {
2559
2510
  "kind": "field",
2560
- "name": "change",
2561
- "privacy": "private",
2562
- "inheritedFrom": {
2563
- "name": "Accordion",
2564
- "module": "src/accordion/accordion.ts"
2565
- }
2511
+ "name": "activeGroups",
2512
+ "type": {
2513
+ "text": "CriteriaGroup[]"
2514
+ },
2515
+ "default": "[]"
2566
2516
  },
2567
2517
  {
2568
- "kind": "method",
2569
- "name": "findExpandedItem",
2570
- "privacy": "private",
2571
- "return": {
2572
- "type": {
2573
- "text": "AccordionItem | null"
2574
- }
2518
+ "kind": "field",
2519
+ "name": "showingChips",
2520
+ "type": {
2521
+ "text": "boolean"
2575
2522
  },
2576
- "inheritedFrom": {
2577
- "name": "Accordion",
2578
- "module": "src/accordion/accordion.ts"
2579
- }
2523
+ "default": "false"
2580
2524
  },
2581
2525
  {
2582
2526
  "kind": "field",
2583
- "name": "setItems",
2584
- "privacy": "private",
2585
- "inheritedFrom": {
2586
- "name": "Accordion",
2587
- "module": "src/accordion/accordion.ts"
2588
- }
2527
+ "name": "fieldMetadata",
2528
+ "type": {
2529
+ "text": "MetadataDetail[] | string[]"
2530
+ },
2531
+ "default": "[]"
2589
2532
  },
2590
2533
  {
2591
- "kind": "method",
2592
- "name": "resetItems",
2593
- "privacy": "private",
2594
- "return": {
2595
- "type": {
2596
- "text": "void"
2597
- }
2534
+ "kind": "field",
2535
+ "name": "isRecording",
2536
+ "type": {
2537
+ "text": "boolean"
2598
2538
  },
2599
- "inheritedFrom": {
2600
- "name": "Accordion",
2601
- "module": "src/accordion/accordion.ts"
2602
- }
2539
+ "default": "false"
2603
2540
  },
2604
2541
  {
2605
2542
  "kind": "field",
2606
- "name": "removeItemListeners",
2543
+ "name": "textAreaRef",
2544
+ "type": {
2545
+ "text": "HTMLTextAreaElement"
2546
+ },
2547
+ "privacy": "public"
2548
+ },
2549
+ {
2550
+ "kind": "field",
2551
+ "name": "stopRecording",
2552
+ "type": {
2553
+ "text": "(() => void) | null"
2554
+ },
2607
2555
  "privacy": "private",
2608
- "inheritedFrom": {
2609
- "name": "Accordion",
2610
- "module": "src/accordion/accordion.ts"
2611
- }
2556
+ "default": "null"
2612
2557
  },
2613
2558
  {
2614
2559
  "kind": "field",
2615
- "name": "activeItemChange",
2560
+ "name": "speechApplyDebounceTimer",
2561
+ "type": {
2562
+ "text": "ReturnType<typeof setTimeout> | null"
2563
+ },
2616
2564
  "privacy": "private",
2617
- "inheritedFrom": {
2618
- "name": "Accordion",
2619
- "module": "src/accordion/accordion.ts"
2620
- }
2565
+ "default": "null"
2566
+ },
2567
+ {
2568
+ "kind": "field",
2569
+ "name": "speechAvailable",
2570
+ "type": {
2571
+ "text": "boolean"
2572
+ },
2573
+ "readonly": true
2574
+ },
2575
+ {
2576
+ "kind": "field",
2577
+ "name": "criteriaChips",
2578
+ "type": {
2579
+ "text": "CriteriaChip[]"
2580
+ },
2581
+ "readonly": true
2621
2582
  },
2622
2583
  {
2623
2584
  "kind": "method",
2624
- "name": "getItemIds",
2585
+ "name": "getFieldLabel",
2625
2586
  "privacy": "private",
2626
2587
  "return": {
2627
2588
  "type": {
2628
- "text": "Array<string | null>"
2589
+ "text": "string"
2629
2590
  }
2630
2591
  },
2631
- "inheritedFrom": {
2632
- "name": "Accordion",
2633
- "module": "src/accordion/accordion.ts"
2634
- }
2592
+ "parameters": [
2593
+ {
2594
+ "name": "fieldName",
2595
+ "type": {
2596
+ "text": "string"
2597
+ }
2598
+ }
2599
+ ]
2635
2600
  },
2636
2601
  {
2637
2602
  "kind": "method",
2638
- "name": "isSingleExpandMode",
2639
- "privacy": "private",
2603
+ "name": "toggleCriteriaView",
2640
2604
  "return": {
2641
2605
  "type": {
2642
- "text": "boolean"
2606
+ "text": "void"
2643
2607
  }
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"
2666
2608
  }
2667
2609
  },
2668
2610
  {
2669
2611
  "kind": "method",
2670
- "name": "adjust",
2671
- "privacy": "private",
2612
+ "name": "removeChip",
2672
2613
  "return": {
2673
2614
  "type": {
2674
2615
  "text": "void"
@@ -2676,496 +2617,48 @@
2676
2617
  },
2677
2618
  "parameters": [
2678
2619
  {
2679
- "name": "adjustment",
2620
+ "name": "groupIndex",
2621
+ "type": {
2622
+ "text": "number"
2623
+ }
2624
+ },
2625
+ {
2626
+ "name": "clauseIndex",
2680
2627
  "type": {
2681
2628
  "text": "number"
2682
2629
  }
2683
2630
  }
2684
- ],
2685
- "inheritedFrom": {
2686
- "name": "Accordion",
2687
- "module": "src/accordion/accordion.ts"
2688
- }
2631
+ ]
2689
2632
  },
2690
2633
  {
2691
2634
  "kind": "method",
2692
- "name": "focusItem",
2693
- "privacy": "private",
2635
+ "name": "clearChips",
2694
2636
  "return": {
2695
2637
  "type": {
2696
2638
  "text": "void"
2697
2639
  }
2698
- },
2699
- "inheritedFrom": {
2700
- "name": "Accordion",
2701
- "module": "src/accordion/accordion.ts"
2702
2640
  }
2703
- },
2704
- {
2705
- "kind": "field",
2706
- "name": "_presentation",
2707
- "type": {
2708
- "text": "ComponentPresentation | null | undefined"
2709
- },
2710
- "privacy": "private",
2711
- "default": "void 0",
2712
- "inheritedFrom": {
2713
- "name": "FoundationElement",
2714
- "module": "src/foundation-element/foundation-element.ts"
2715
- }
2716
- },
2717
- {
2718
- "kind": "field",
2719
- "name": "$presentation",
2720
- "type": {
2721
- "text": "ComponentPresentation | null"
2722
- },
2723
- "privacy": "public",
2724
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2725
- "inheritedFrom": {
2726
- "name": "FoundationElement",
2727
- "module": "src/foundation-element/foundation-element.ts"
2728
- }
2729
- },
2730
- {
2731
- "kind": "field",
2732
- "name": "template",
2733
- "type": {
2734
- "text": "ElementViewTemplate | void | null"
2735
- },
2736
- "privacy": "public",
2737
- "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.",
2738
- "inheritedFrom": {
2739
- "name": "FoundationElement",
2740
- "module": "src/foundation-element/foundation-element.ts"
2741
- }
2742
- },
2743
- {
2744
- "kind": "method",
2745
- "name": "templateChanged",
2746
- "privacy": "protected",
2747
- "return": {
2748
- "type": {
2749
- "text": "void"
2750
- }
2751
- },
2752
- "inheritedFrom": {
2753
- "name": "FoundationElement",
2754
- "module": "src/foundation-element/foundation-element.ts"
2755
- }
2756
- },
2757
- {
2758
- "kind": "field",
2759
- "name": "styles",
2760
- "type": {
2761
- "text": "ElementStyles | void | null"
2762
- },
2763
- "privacy": "public",
2764
- "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.",
2765
- "inheritedFrom": {
2766
- "name": "FoundationElement",
2767
- "module": "src/foundation-element/foundation-element.ts"
2768
- }
2769
- },
2770
- {
2771
- "kind": "method",
2772
- "name": "stylesChanged",
2773
- "privacy": "protected",
2774
- "return": {
2775
- "type": {
2776
- "text": "void"
2777
- }
2778
- },
2779
- "inheritedFrom": {
2780
- "name": "FoundationElement",
2781
- "module": "src/foundation-element/foundation-element.ts"
2782
- }
2783
- },
2784
- {
2785
- "kind": "method",
2786
- "name": "compose",
2787
- "privacy": "public",
2788
- "static": true,
2789
- "return": {
2790
- "type": {
2791
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2792
- }
2793
- },
2794
- "parameters": [
2795
- {
2796
- "name": "this",
2797
- "type": {
2798
- "text": "K"
2799
- }
2800
- },
2801
- {
2802
- "name": "elementDefinition",
2803
- "type": {
2804
- "text": "T"
2805
- },
2806
- "description": "The definition of the element to create the registry\nfunction for."
2807
- }
2808
- ],
2809
- "description": "Defines an element registry function with a set of element definition defaults.",
2810
- "inheritedFrom": {
2811
- "name": "FoundationElement",
2812
- "module": "src/foundation-element/foundation-element.ts"
2813
- }
2814
- }
2815
- ],
2816
- "events": [
2817
- {
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
- }
2824
- }
2825
- ]
2826
- },
2827
- {
2828
- "kind": "variable",
2829
- "name": "foundationAccordionShadowOptions",
2830
- "type": {
2831
- "text": "ShadowRootInit"
2832
- },
2833
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2834
- },
2835
- {
2836
- "kind": "variable",
2837
- "name": "defaultAccordionConfig",
2838
- "type": {
2839
- "text": "object"
2840
- },
2841
- "default": "{}"
2842
- },
2843
- {
2844
- "kind": "variable",
2845
- "name": "foundationAccordion",
2846
- "description": "The Foundation Accordion",
2847
- "privacy": "public"
2848
- }
2849
- ],
2850
- "exports": [
2851
- {
2852
- "kind": "js",
2853
- "name": "Accordion",
2854
- "declaration": {
2855
- "name": "Accordion",
2856
- "module": "src/accordion/accordion.ts"
2857
- }
2858
- },
2859
- {
2860
- "kind": "js",
2861
- "name": "foundationAccordionShadowOptions",
2862
- "declaration": {
2863
- "name": "foundationAccordionShadowOptions",
2864
- "module": "src/accordion/accordion.ts"
2865
- }
2866
- },
2867
- {
2868
- "kind": "js",
2869
- "name": "defaultAccordionConfig",
2870
- "declaration": {
2871
- "name": "defaultAccordionConfig",
2872
- "module": "src/accordion/accordion.ts"
2873
- }
2874
- },
2875
- {
2876
- "kind": "js",
2877
- "name": "foundationAccordion",
2878
- "declaration": {
2879
- "name": "foundationAccordion",
2880
- "module": "src/accordion/accordion.ts"
2881
- }
2882
- }
2883
- ]
2884
- },
2885
- {
2886
- "kind": "javascript-module",
2887
- "path": "src/accordion/index.ts",
2888
- "declarations": [],
2889
- "exports": [
2890
- {
2891
- "kind": "js",
2892
- "name": "*",
2893
- "declaration": {
2894
- "name": "*",
2895
- "package": "./accordion.template"
2896
- }
2897
- },
2898
- {
2899
- "kind": "js",
2900
- "name": "*",
2901
- "declaration": {
2902
- "name": "*",
2903
- "package": "./accordion.styles"
2904
- }
2905
- },
2906
- {
2907
- "kind": "js",
2908
- "name": "*",
2909
- "declaration": {
2910
- "name": "*",
2911
- "package": "./accordion"
2912
- }
2913
- }
2914
- ]
2915
- },
2916
- {
2917
- "kind": "javascript-module",
2918
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2919
- "declarations": [
2920
- {
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`"
2924
- }
2925
- ],
2926
- "exports": [
2927
- {
2928
- "kind": "js",
2929
- "name": "foundationAiCriteriaSearchStyles",
2930
- "declaration": {
2931
- "name": "foundationAiCriteriaSearchStyles",
2932
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2933
- }
2934
- }
2935
- ]
2936
- },
2937
- {
2938
- "kind": "javascript-module",
2939
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2940
- "declarations": [
2941
- {
2942
- "kind": "variable",
2943
- "name": "foundationAiCriteriaSearchTemplate",
2944
- "type": {
2945
- "text": "ViewTemplate<AiCriteriaSearch>"
2946
- },
2947
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2948
- }
2949
- ],
2950
- "exports": [
2951
- {
2952
- "kind": "js",
2953
- "name": "foundationAiCriteriaSearchTemplate",
2954
- "declaration": {
2955
- "name": "foundationAiCriteriaSearchTemplate",
2956
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2957
- }
2958
- }
2959
- ]
2960
- },
2961
- {
2962
- "kind": "javascript-module",
2963
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
2964
- "declarations": [
2965
- {
2966
- "kind": "class",
2967
- "description": "Natural-language criteria search input with AI interpretation.",
2968
- "name": "AiCriteriaSearch",
2969
- "members": [
2970
- {
2971
- "kind": "field",
2972
- "name": "providerRegistry",
2973
- "type": {
2974
- "text": "AIProviderRegistry"
2975
- }
2976
- },
2977
- {
2978
- "kind": "field",
2979
- "name": "placeholder",
2980
- "type": {
2981
- "text": "string"
2982
- },
2983
- "default": "'Describe your search criteria in natural language...'"
2984
- },
2985
- {
2986
- "kind": "field",
2987
- "name": "disabled",
2988
- "type": {
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"
3013
- },
3014
- "default": "null"
3015
- },
3016
- {
3017
- "kind": "field",
3018
- "name": "activeGroups",
3019
- "type": {
3020
- "text": "CriteriaGroup[]"
3021
- },
3022
- "default": "[]"
3023
- },
3024
- {
3025
- "kind": "field",
3026
- "name": "showingChips",
3027
- "type": {
3028
- "text": "boolean"
3029
- },
3030
- "default": "false"
3031
- },
3032
- {
3033
- "kind": "field",
3034
- "name": "fieldMetadata",
3035
- "type": {
3036
- "text": "MetadataDetail[] | string[]"
3037
- },
3038
- "default": "[]"
3039
- },
3040
- {
3041
- "kind": "field",
3042
- "name": "isRecording",
3043
- "type": {
3044
- "text": "boolean"
3045
- },
3046
- "default": "false"
3047
- },
3048
- {
3049
- "kind": "field",
3050
- "name": "textAreaRef",
3051
- "type": {
3052
- "text": "HTMLTextAreaElement"
3053
- },
3054
- "privacy": "public"
3055
- },
3056
- {
3057
- "kind": "field",
3058
- "name": "stopRecording",
3059
- "type": {
3060
- "text": "(() => void) | null"
3061
- },
3062
- "privacy": "private",
3063
- "default": "null"
3064
- },
3065
- {
3066
- "kind": "field",
3067
- "name": "speechApplyDebounceTimer",
3068
- "type": {
3069
- "text": "ReturnType<typeof setTimeout> | null"
3070
- },
3071
- "privacy": "private",
3072
- "default": "null"
3073
- },
3074
- {
3075
- "kind": "field",
3076
- "name": "speechAvailable",
3077
- "type": {
3078
- "text": "boolean"
3079
- },
3080
- "readonly": true
3081
- },
3082
- {
3083
- "kind": "field",
3084
- "name": "criteriaChips",
3085
- "type": {
3086
- "text": "CriteriaChip[]"
3087
- },
3088
- "readonly": true
3089
- },
3090
- {
3091
- "kind": "method",
3092
- "name": "getFieldLabel",
3093
- "privacy": "private",
3094
- "return": {
3095
- "type": {
3096
- "text": "string"
3097
- }
3098
- },
3099
- "parameters": [
3100
- {
3101
- "name": "fieldName",
3102
- "type": {
3103
- "text": "string"
3104
- }
3105
- }
3106
- ]
3107
- },
3108
- {
3109
- "kind": "method",
3110
- "name": "toggleCriteriaView",
3111
- "return": {
3112
- "type": {
3113
- "text": "void"
3114
- }
3115
- }
3116
- },
3117
- {
3118
- "kind": "method",
3119
- "name": "removeChip",
3120
- "return": {
3121
- "type": {
3122
- "text": "void"
3123
- }
3124
- },
3125
- "parameters": [
3126
- {
3127
- "name": "groupIndex",
3128
- "type": {
3129
- "text": "number"
3130
- }
3131
- },
3132
- {
3133
- "name": "clauseIndex",
3134
- "type": {
3135
- "text": "number"
3136
- }
3137
- }
3138
- ]
3139
- },
3140
- {
3141
- "kind": "method",
3142
- "name": "clearChips",
3143
- "return": {
3144
- "type": {
3145
- "text": "void"
3146
- }
3147
- }
3148
- },
3149
- {
3150
- "kind": "method",
3151
- "name": "handleSubmit"
3152
- },
3153
- {
3154
- "kind": "method",
3155
- "name": "handleBlur"
3156
- },
3157
- {
3158
- "kind": "method",
3159
- "name": "clear"
3160
- },
3161
- {
3162
- "kind": "method",
3163
- "name": "toggleSpeechInput"
3164
- },
3165
- {
3166
- "kind": "method",
3167
- "name": "clearSpeechApplyDebounce",
3168
- "privacy": "private"
2641
+ },
2642
+ {
2643
+ "kind": "method",
2644
+ "name": "handleSubmit"
2645
+ },
2646
+ {
2647
+ "kind": "method",
2648
+ "name": "handleBlur"
2649
+ },
2650
+ {
2651
+ "kind": "method",
2652
+ "name": "clear"
2653
+ },
2654
+ {
2655
+ "kind": "method",
2656
+ "name": "toggleSpeechInput"
2657
+ },
2658
+ {
2659
+ "kind": "method",
2660
+ "name": "clearSpeechApplyDebounce",
2661
+ "privacy": "private"
3169
2662
  },
3170
2663
  {
3171
2664
  "kind": "field",
@@ -3973,11 +3466,11 @@
3973
3466
  },
3974
3467
  {
3975
3468
  "kind": "javascript-module",
3976
- "path": "src/anchor/anchor.styles.ts",
3469
+ "path": "src/accordion/accordion.styles.ts",
3977
3470
  "declarations": [
3978
3471
  {
3979
3472
  "kind": "function",
3980
- "name": "foundationAnchorStyles",
3473
+ "name": "foundationAccordionStyles",
3981
3474
  "return": {
3982
3475
  "type": {
3983
3476
  "text": "ElementStyles"
@@ -4002,24 +3495,24 @@
4002
3495
  "exports": [
4003
3496
  {
4004
3497
  "kind": "js",
4005
- "name": "foundationAnchorStyles",
3498
+ "name": "foundationAccordionStyles",
4006
3499
  "declaration": {
4007
- "name": "foundationAnchorStyles",
4008
- "module": "src/anchor/anchor.styles.ts"
3500
+ "name": "foundationAccordionStyles",
3501
+ "module": "src/accordion/accordion.styles.ts"
4009
3502
  }
4010
3503
  }
4011
3504
  ]
4012
3505
  },
4013
3506
  {
4014
3507
  "kind": "javascript-module",
4015
- "path": "src/anchor/anchor.template.ts",
3508
+ "path": "src/accordion/accordion.template.ts",
4016
3509
  "declarations": [
4017
3510
  {
4018
3511
  "kind": "function",
4019
- "name": "foundationAnchorTemplate",
3512
+ "name": "foundationAccordionTemplate",
4020
3513
  "return": {
4021
3514
  "type": {
4022
- "text": "ViewTemplate<Anchor>"
3515
+ "text": "ViewTemplate<Accordion>"
4023
3516
  }
4024
3517
  },
4025
3518
  "parameters": [
@@ -4041,252 +3534,237 @@
4041
3534
  "exports": [
4042
3535
  {
4043
3536
  "kind": "js",
4044
- "name": "foundationAnchorTemplate",
3537
+ "name": "foundationAccordionTemplate",
4045
3538
  "declaration": {
4046
- "name": "foundationAnchorTemplate",
4047
- "module": "src/anchor/anchor.template.ts"
3539
+ "name": "foundationAccordionTemplate",
3540
+ "module": "src/accordion/accordion.template.ts"
4048
3541
  }
4049
3542
  }
4050
3543
  ]
4051
3544
  },
4052
3545
  {
4053
3546
  "kind": "javascript-module",
4054
- "path": "src/anchor/anchor.ts",
3547
+ "path": "src/accordion/accordion.ts",
4055
3548
  "declarations": [
4056
3549
  {
4057
3550
  "kind": "class",
4058
3551
  "description": "",
4059
- "name": "Anchor",
3552
+ "name": "Accordion",
4060
3553
  "superclass": {
4061
- "name": "FASTAnchor",
4062
- "package": "@microsoft/fast-components"
3554
+ "name": "FASTAccordion",
3555
+ "package": "@microsoft/fast-foundation"
4063
3556
  },
4064
- "tagName": "%%prefix%%-anchor",
3557
+ "tagName": "%%prefix%%-accordion",
4065
3558
  "customElement": true,
4066
3559
  "attributes": [
4067
3560
  {
4068
- "name": "download",
3561
+ "name": "expand-mode",
4069
3562
  "type": {
4070
- "text": "string"
3563
+ "text": "AccordionExpandMode"
4071
3564
  },
4072
- "description": "Prompts the user to save the linked URL. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
4073
- "fieldName": "download",
3565
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3566
+ "fieldName": "expandmode",
4074
3567
  "inheritedFrom": {
4075
- "name": "Anchor",
4076
- "module": "src/anchor/anchor.ts"
3568
+ "name": "Accordion",
3569
+ "module": "src/accordion/accordion.ts"
4077
3570
  }
4078
- },
4079
- {
4080
- "name": "href",
4081
- "type": {
4082
- "text": "string"
4083
- },
4084
- "description": "The URL the hyperlink references. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
4085
- "fieldName": "href",
4086
- "inheritedFrom": {
4087
- "name": "Anchor",
4088
- "module": "src/anchor/anchor.ts"
4089
- }
4090
- },
3571
+ }
3572
+ ],
3573
+ "members": [
4091
3574
  {
4092
- "name": "hreflang",
3575
+ "kind": "field",
3576
+ "name": "expandmode",
4093
3577
  "type": {
4094
- "text": "string"
3578
+ "text": "AccordionExpandMode"
4095
3579
  },
4096
- "description": "Hints at the language of the referenced resource. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
4097
- "fieldName": "hreflang",
3580
+ "privacy": "public",
3581
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
4098
3582
  "inheritedFrom": {
4099
- "name": "Anchor",
4100
- "module": "src/anchor/anchor.ts"
3583
+ "name": "Accordion",
3584
+ "module": "src/accordion/accordion.ts"
4101
3585
  }
4102
3586
  },
4103
3587
  {
4104
- "name": "ping",
3588
+ "kind": "field",
3589
+ "name": "activeid",
4105
3590
  "type": {
4106
- "text": "string"
3591
+ "text": "string | null"
4107
3592
  },
4108
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
4109
- "fieldName": "ping",
3593
+ "privacy": "private",
4110
3594
  "inheritedFrom": {
4111
- "name": "Anchor",
4112
- "module": "src/anchor/anchor.ts"
3595
+ "name": "Accordion",
3596
+ "module": "src/accordion/accordion.ts"
4113
3597
  }
4114
3598
  },
4115
3599
  {
4116
- "name": "referrerpolicy",
3600
+ "kind": "field",
3601
+ "name": "activeItemIndex",
4117
3602
  "type": {
4118
- "text": "string"
3603
+ "text": "number"
4119
3604
  },
4120
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
4121
- "fieldName": "referrerpolicy",
3605
+ "privacy": "private",
3606
+ "default": "0",
4122
3607
  "inheritedFrom": {
4123
- "name": "Anchor",
4124
- "module": "src/anchor/anchor.ts"
3608
+ "name": "Accordion",
3609
+ "module": "src/accordion/accordion.ts"
4125
3610
  }
4126
3611
  },
4127
3612
  {
4128
- "name": "rel",
3613
+ "kind": "field",
3614
+ "name": "accordionIds",
4129
3615
  "type": {
4130
- "text": "string"
3616
+ "text": "Array<string | null>"
4131
3617
  },
4132
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
4133
- "fieldName": "rel",
3618
+ "privacy": "private",
4134
3619
  "inheritedFrom": {
4135
- "name": "Anchor",
4136
- "module": "src/anchor/anchor.ts"
3620
+ "name": "Accordion",
3621
+ "module": "src/accordion/accordion.ts"
4137
3622
  }
4138
3623
  },
4139
3624
  {
4140
- "name": "target",
4141
- "type": {
4142
- "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
4143
- },
4144
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
4145
- "fieldName": "target",
3625
+ "kind": "field",
3626
+ "name": "change",
3627
+ "privacy": "private",
4146
3628
  "inheritedFrom": {
4147
- "name": "Anchor",
4148
- "module": "src/anchor/anchor.ts"
3629
+ "name": "Accordion",
3630
+ "module": "src/accordion/accordion.ts"
4149
3631
  }
4150
3632
  },
4151
3633
  {
4152
- "name": "type",
4153
- "type": {
4154
- "text": "string"
3634
+ "kind": "method",
3635
+ "name": "findExpandedItem",
3636
+ "privacy": "private",
3637
+ "return": {
3638
+ "type": {
3639
+ "text": "AccordionItem | null"
3640
+ }
4155
3641
  },
4156
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
4157
- "fieldName": "type",
4158
3642
  "inheritedFrom": {
4159
- "name": "Anchor",
4160
- "module": "src/anchor/anchor.ts"
3643
+ "name": "Accordion",
3644
+ "module": "src/accordion/accordion.ts"
4161
3645
  }
4162
- }
4163
- ],
4164
- "members": [
3646
+ },
4165
3647
  {
4166
3648
  "kind": "field",
4167
- "name": "download",
4168
- "type": {
4169
- "text": "string"
4170
- },
4171
- "privacy": "public",
4172
- "description": "Prompts the user to save the linked URL. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
3649
+ "name": "setItems",
3650
+ "privacy": "private",
4173
3651
  "inheritedFrom": {
4174
- "name": "Anchor",
4175
- "module": "src/anchor/anchor.ts"
3652
+ "name": "Accordion",
3653
+ "module": "src/accordion/accordion.ts"
4176
3654
  }
4177
3655
  },
4178
3656
  {
4179
- "kind": "field",
4180
- "name": "href",
4181
- "type": {
4182
- "text": "string"
3657
+ "kind": "method",
3658
+ "name": "resetItems",
3659
+ "privacy": "private",
3660
+ "return": {
3661
+ "type": {
3662
+ "text": "void"
3663
+ }
4183
3664
  },
4184
- "privacy": "public",
4185
- "description": "The URL the hyperlink references. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
4186
3665
  "inheritedFrom": {
4187
- "name": "Anchor",
4188
- "module": "src/anchor/anchor.ts"
3666
+ "name": "Accordion",
3667
+ "module": "src/accordion/accordion.ts"
4189
3668
  }
4190
3669
  },
4191
3670
  {
4192
3671
  "kind": "field",
4193
- "name": "hreflang",
4194
- "type": {
4195
- "text": "string"
4196
- },
4197
- "privacy": "public",
4198
- "description": "Hints at the language of the referenced resource. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
3672
+ "name": "removeItemListeners",
3673
+ "privacy": "private",
4199
3674
  "inheritedFrom": {
4200
- "name": "Anchor",
4201
- "module": "src/anchor/anchor.ts"
3675
+ "name": "Accordion",
3676
+ "module": "src/accordion/accordion.ts"
4202
3677
  }
4203
3678
  },
4204
3679
  {
4205
3680
  "kind": "field",
4206
- "name": "ping",
4207
- "type": {
4208
- "text": "string"
4209
- },
4210
- "privacy": "public",
4211
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
3681
+ "name": "activeItemChange",
3682
+ "privacy": "private",
4212
3683
  "inheritedFrom": {
4213
- "name": "Anchor",
4214
- "module": "src/anchor/anchor.ts"
3684
+ "name": "Accordion",
3685
+ "module": "src/accordion/accordion.ts"
4215
3686
  }
4216
3687
  },
4217
3688
  {
4218
- "kind": "field",
4219
- "name": "referrerpolicy",
4220
- "type": {
4221
- "text": "string"
3689
+ "kind": "method",
3690
+ "name": "getItemIds",
3691
+ "privacy": "private",
3692
+ "return": {
3693
+ "type": {
3694
+ "text": "Array<string | null>"
3695
+ }
4222
3696
  },
4223
- "privacy": "public",
4224
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
4225
3697
  "inheritedFrom": {
4226
- "name": "Anchor",
4227
- "module": "src/anchor/anchor.ts"
3698
+ "name": "Accordion",
3699
+ "module": "src/accordion/accordion.ts"
4228
3700
  }
4229
3701
  },
4230
3702
  {
4231
- "kind": "field",
4232
- "name": "rel",
4233
- "type": {
4234
- "text": "string"
3703
+ "kind": "method",
3704
+ "name": "isSingleExpandMode",
3705
+ "privacy": "private",
3706
+ "return": {
3707
+ "type": {
3708
+ "text": "boolean"
3709
+ }
4235
3710
  },
4236
- "privacy": "public",
4237
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
4238
3711
  "inheritedFrom": {
4239
- "name": "Anchor",
4240
- "module": "src/anchor/anchor.ts"
3712
+ "name": "Accordion",
3713
+ "module": "src/accordion/accordion.ts"
4241
3714
  }
4242
3715
  },
4243
3716
  {
4244
3717
  "kind": "field",
4245
- "name": "target",
4246
- "type": {
4247
- "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
4248
- },
4249
- "privacy": "public",
4250
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
3718
+ "name": "handleItemKeyDown",
3719
+ "privacy": "private",
4251
3720
  "inheritedFrom": {
4252
- "name": "Anchor",
4253
- "module": "src/anchor/anchor.ts"
3721
+ "name": "Accordion",
3722
+ "module": "src/accordion/accordion.ts"
4254
3723
  }
4255
3724
  },
4256
3725
  {
4257
3726
  "kind": "field",
4258
- "name": "type",
4259
- "type": {
4260
- "text": "string"
4261
- },
4262
- "privacy": "public",
4263
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
3727
+ "name": "handleItemFocus",
3728
+ "privacy": "private",
4264
3729
  "inheritedFrom": {
4265
- "name": "Anchor",
4266
- "module": "src/anchor/anchor.ts"
3730
+ "name": "Accordion",
3731
+ "module": "src/accordion/accordion.ts"
4267
3732
  }
4268
3733
  },
4269
3734
  {
4270
- "kind": "field",
4271
- "name": "control",
4272
- "type": {
4273
- "text": "HTMLAnchorElement | undefined"
3735
+ "kind": "method",
3736
+ "name": "adjust",
3737
+ "privacy": "private",
3738
+ "return": {
3739
+ "type": {
3740
+ "text": "void"
3741
+ }
4274
3742
  },
4275
- "privacy": "public",
4276
- "description": "References the root element",
3743
+ "parameters": [
3744
+ {
3745
+ "name": "adjustment",
3746
+ "type": {
3747
+ "text": "number"
3748
+ }
3749
+ }
3750
+ ],
4277
3751
  "inheritedFrom": {
4278
- "name": "Anchor",
4279
- "module": "src/anchor/anchor.ts"
3752
+ "name": "Accordion",
3753
+ "module": "src/accordion/accordion.ts"
4280
3754
  }
4281
3755
  },
4282
3756
  {
4283
- "kind": "field",
4284
- "name": "handleUnsupportedDelegatesFocus",
3757
+ "kind": "method",
3758
+ "name": "focusItem",
4285
3759
  "privacy": "private",
4286
- "description": "Overrides the focus call for where delegatesFocus is unsupported.\nThis check works for Chrome, Edge Chromium, FireFox, and Safari\nRelevant PR on the Firefox browser: https://phabricator.services.mozilla.com/D123858",
3760
+ "return": {
3761
+ "type": {
3762
+ "text": "void"
3763
+ }
3764
+ },
4287
3765
  "inheritedFrom": {
4288
- "name": "Anchor",
4289
- "module": "src/anchor/anchor.ts"
3766
+ "name": "Accordion",
3767
+ "module": "src/accordion/accordion.ts"
4290
3768
  }
4291
3769
  },
4292
3770
  {
@@ -4400,11 +3878,21 @@
4400
3878
  "module": "src/foundation-element/foundation-element.ts"
4401
3879
  }
4402
3880
  }
3881
+ ],
3882
+ "events": [
3883
+ {
3884
+ "description": "Fires a custom 'change' event when the active item changes",
3885
+ "name": "change",
3886
+ "inheritedFrom": {
3887
+ "name": "Accordion",
3888
+ "module": "src/accordion/accordion.ts"
3889
+ }
3890
+ }
4403
3891
  ]
4404
3892
  },
4405
3893
  {
4406
3894
  "kind": "variable",
4407
- "name": "foundationAnchorShadowOptions",
3895
+ "name": "foundationAccordionShadowOptions",
4408
3896
  "type": {
4409
3897
  "text": "ShadowRootInit"
4410
3898
  },
@@ -4412,7 +3900,7 @@
4412
3900
  },
4413
3901
  {
4414
3902
  "kind": "variable",
4415
- "name": "defaultAnchorConfig",
3903
+ "name": "defaultAccordionConfig",
4416
3904
  "type": {
4417
3905
  "text": "object"
4418
3906
  },
@@ -4420,49 +3908,49 @@
4420
3908
  },
4421
3909
  {
4422
3910
  "kind": "variable",
4423
- "name": "foundationAnchor",
4424
- "description": "The Foundation Anchor",
3911
+ "name": "foundationAccordion",
3912
+ "description": "The Foundation Accordion",
4425
3913
  "privacy": "public"
4426
3914
  }
4427
3915
  ],
4428
3916
  "exports": [
4429
3917
  {
4430
3918
  "kind": "js",
4431
- "name": "Anchor",
3919
+ "name": "Accordion",
4432
3920
  "declaration": {
4433
- "name": "Anchor",
4434
- "module": "src/anchor/anchor.ts"
3921
+ "name": "Accordion",
3922
+ "module": "src/accordion/accordion.ts"
4435
3923
  }
4436
3924
  },
4437
3925
  {
4438
3926
  "kind": "js",
4439
- "name": "foundationAnchorShadowOptions",
3927
+ "name": "foundationAccordionShadowOptions",
4440
3928
  "declaration": {
4441
- "name": "foundationAnchorShadowOptions",
4442
- "module": "src/anchor/anchor.ts"
3929
+ "name": "foundationAccordionShadowOptions",
3930
+ "module": "src/accordion/accordion.ts"
4443
3931
  }
4444
3932
  },
4445
3933
  {
4446
3934
  "kind": "js",
4447
- "name": "defaultAnchorConfig",
3935
+ "name": "defaultAccordionConfig",
4448
3936
  "declaration": {
4449
- "name": "defaultAnchorConfig",
4450
- "module": "src/anchor/anchor.ts"
3937
+ "name": "defaultAccordionConfig",
3938
+ "module": "src/accordion/accordion.ts"
4451
3939
  }
4452
3940
  },
4453
3941
  {
4454
3942
  "kind": "js",
4455
- "name": "foundationAnchor",
3943
+ "name": "foundationAccordion",
4456
3944
  "declaration": {
4457
- "name": "foundationAnchor",
4458
- "module": "src/anchor/anchor.ts"
3945
+ "name": "foundationAccordion",
3946
+ "module": "src/accordion/accordion.ts"
4459
3947
  }
4460
3948
  }
4461
3949
  ]
4462
3950
  },
4463
3951
  {
4464
3952
  "kind": "javascript-module",
4465
- "path": "src/anchor/index.ts",
3953
+ "path": "src/accordion/index.ts",
4466
3954
  "declarations": [],
4467
3955
  "exports": [
4468
3956
  {
@@ -4470,7 +3958,7 @@
4470
3958
  "name": "*",
4471
3959
  "declaration": {
4472
3960
  "name": "*",
4473
- "package": "./anchor.template"
3961
+ "package": "./accordion.template"
4474
3962
  }
4475
3963
  },
4476
3964
  {
@@ -4478,7 +3966,7 @@
4478
3966
  "name": "*",
4479
3967
  "declaration": {
4480
3968
  "name": "*",
4481
- "package": "./anchor.styles"
3969
+ "package": "./accordion.styles"
4482
3970
  }
4483
3971
  },
4484
3972
  {
@@ -4486,21 +3974,21 @@
4486
3974
  "name": "*",
4487
3975
  "declaration": {
4488
3976
  "name": "*",
4489
- "package": "./anchor"
3977
+ "package": "./accordion"
4490
3978
  }
4491
3979
  }
4492
3980
  ]
4493
3981
  },
4494
3982
  {
4495
3983
  "kind": "javascript-module",
4496
- "path": "src/anchored-region/anchor-region.template.ts",
3984
+ "path": "src/anchor/anchor.styles.ts",
4497
3985
  "declarations": [
4498
3986
  {
4499
3987
  "kind": "function",
4500
- "name": "foundationAnchoredRegionTemplate",
3988
+ "name": "foundationAnchorStyles",
4501
3989
  "return": {
4502
3990
  "type": {
4503
- "text": "ViewTemplate<AnchoredRegion>"
3991
+ "text": "ElementStyles"
4504
3992
  }
4505
3993
  },
4506
3994
  "parameters": [
@@ -4522,24 +4010,24 @@
4522
4010
  "exports": [
4523
4011
  {
4524
4012
  "kind": "js",
4525
- "name": "foundationAnchoredRegionTemplate",
4013
+ "name": "foundationAnchorStyles",
4526
4014
  "declaration": {
4527
- "name": "foundationAnchoredRegionTemplate",
4528
- "module": "src/anchored-region/anchor-region.template.ts"
4015
+ "name": "foundationAnchorStyles",
4016
+ "module": "src/anchor/anchor.styles.ts"
4529
4017
  }
4530
4018
  }
4531
4019
  ]
4532
4020
  },
4533
4021
  {
4534
4022
  "kind": "javascript-module",
4535
- "path": "src/anchored-region/anchored-region.styles.ts",
4023
+ "path": "src/anchor/anchor.template.ts",
4536
4024
  "declarations": [
4537
4025
  {
4538
4026
  "kind": "function",
4539
- "name": "foundationAnchoredRegionStyles",
4027
+ "name": "foundationAnchorTemplate",
4540
4028
  "return": {
4541
4029
  "type": {
4542
- "text": "ElementStyles"
4030
+ "text": "ViewTemplate<Anchor>"
4543
4031
  }
4544
4032
  },
4545
4033
  "parameters": [
@@ -4561,562 +4049,1082 @@
4561
4049
  "exports": [
4562
4050
  {
4563
4051
  "kind": "js",
4564
- "name": "foundationAnchoredRegionStyles",
4052
+ "name": "foundationAnchorTemplate",
4565
4053
  "declaration": {
4566
- "name": "foundationAnchoredRegionStyles",
4567
- "module": "src/anchored-region/anchored-region.styles.ts"
4054
+ "name": "foundationAnchorTemplate",
4055
+ "module": "src/anchor/anchor.template.ts"
4568
4056
  }
4569
4057
  }
4570
4058
  ]
4571
4059
  },
4572
4060
  {
4573
4061
  "kind": "javascript-module",
4574
- "path": "src/anchored-region/anchored-region.ts",
4062
+ "path": "src/anchor/anchor.ts",
4575
4063
  "declarations": [
4576
4064
  {
4577
4065
  "kind": "class",
4578
4066
  "description": "",
4579
- "name": "AnchoredRegion",
4067
+ "name": "Anchor",
4580
4068
  "superclass": {
4581
- "name": "FASTAnchoredRegion",
4069
+ "name": "FASTAnchor",
4582
4070
  "package": "@microsoft/fast-components"
4583
4071
  },
4584
- "tagName": "%%prefix%%-anchored-region",
4072
+ "tagName": "%%prefix%%-anchor",
4585
4073
  "customElement": true,
4586
4074
  "attributes": [
4587
4075
  {
4588
- "name": "anchor",
4076
+ "name": "download",
4589
4077
  "type": {
4590
4078
  "text": "string"
4591
4079
  },
4592
- "default": "\"\"",
4593
- "description": "The HTML ID of the anchor element this region is positioned relative to",
4594
- "fieldName": "anchor",
4080
+ "description": "Prompts the user to save the linked URL. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
4081
+ "fieldName": "download",
4595
4082
  "inheritedFrom": {
4596
- "name": "AnchoredRegion",
4597
- "module": "src/anchored-region/anchored-region.ts"
4083
+ "name": "Anchor",
4084
+ "module": "src/anchor/anchor.ts"
4598
4085
  }
4599
4086
  },
4600
4087
  {
4601
- "name": "viewport",
4088
+ "name": "href",
4602
4089
  "type": {
4603
4090
  "text": "string"
4604
4091
  },
4605
- "default": "\"\"",
4606
- "description": "The HTML ID of the viewport element this region is positioned relative to",
4607
- "fieldName": "viewport",
4092
+ "description": "The URL the hyperlink references. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
4093
+ "fieldName": "href",
4608
4094
  "inheritedFrom": {
4609
- "name": "AnchoredRegion",
4610
- "module": "src/anchored-region/anchored-region.ts"
4095
+ "name": "Anchor",
4096
+ "module": "src/anchor/anchor.ts"
4611
4097
  }
4612
4098
  },
4613
4099
  {
4614
- "name": "horizontal-positioning-mode",
4100
+ "name": "hreflang",
4615
4101
  "type": {
4616
- "text": "AxisPositioningMode"
4102
+ "text": "string"
4617
4103
  },
4618
- "default": "\"uncontrolled\"",
4619
- "description": "Sets what logic the component uses to determine horizontal placement.\n'locktodefault' forces the default position\n'dynamic' decides placement based on available space\n'uncontrolled' does not control placement on the horizontal axis",
4620
- "fieldName": "horizontalPositioningMode",
4104
+ "description": "Hints at the language of the referenced resource. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
4105
+ "fieldName": "hreflang",
4621
4106
  "inheritedFrom": {
4622
- "name": "AnchoredRegion",
4623
- "module": "src/anchored-region/anchored-region.ts"
4107
+ "name": "Anchor",
4108
+ "module": "src/anchor/anchor.ts"
4624
4109
  }
4625
4110
  },
4626
4111
  {
4627
- "name": "horizontal-default-position",
4112
+ "name": "ping",
4628
4113
  "type": {
4629
- "text": "HorizontalPosition"
4114
+ "text": "string"
4630
4115
  },
4631
- "default": "\"unset\"",
4632
- "description": "The default horizontal position of the region relative to the anchor element",
4633
- "fieldName": "horizontalDefaultPosition",
4116
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
4117
+ "fieldName": "ping",
4634
4118
  "inheritedFrom": {
4635
- "name": "AnchoredRegion",
4636
- "module": "src/anchored-region/anchored-region.ts"
4119
+ "name": "Anchor",
4120
+ "module": "src/anchor/anchor.ts"
4637
4121
  }
4638
4122
  },
4639
4123
  {
4640
- "name": "horizontal-viewport-lock",
4124
+ "name": "referrerpolicy",
4641
4125
  "type": {
4642
- "text": "boolean"
4126
+ "text": "string"
4643
4127
  },
4644
- "default": "false",
4645
- "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the horizontal axis",
4646
- "fieldName": "horizontalViewportLock",
4128
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
4129
+ "fieldName": "referrerpolicy",
4647
4130
  "inheritedFrom": {
4648
- "name": "AnchoredRegion",
4649
- "module": "src/anchored-region/anchored-region.ts"
4131
+ "name": "Anchor",
4132
+ "module": "src/anchor/anchor.ts"
4650
4133
  }
4651
4134
  },
4652
4135
  {
4653
- "name": "horizontal-inset",
4136
+ "name": "rel",
4654
4137
  "type": {
4655
- "text": "boolean"
4138
+ "text": "string"
4656
4139
  },
4657
- "default": "false",
4658
- "description": "Whether the region overlaps the anchor on the horizontal axis",
4659
- "fieldName": "horizontalInset",
4140
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
4141
+ "fieldName": "rel",
4660
4142
  "inheritedFrom": {
4661
- "name": "AnchoredRegion",
4662
- "module": "src/anchored-region/anchored-region.ts"
4143
+ "name": "Anchor",
4144
+ "module": "src/anchor/anchor.ts"
4663
4145
  }
4664
4146
  },
4665
4147
  {
4666
- "name": "horizontal-threshold",
4148
+ "name": "target",
4667
4149
  "type": {
4668
- "text": "number"
4150
+ "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
4669
4151
  },
4670
- "description": "How narrow the space allocated to the default position has to be before the widest area\nis selected for layout",
4671
- "fieldName": "horizontalThreshold",
4152
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
4153
+ "fieldName": "target",
4672
4154
  "inheritedFrom": {
4673
- "name": "AnchoredRegion",
4674
- "module": "src/anchored-region/anchored-region.ts"
4155
+ "name": "Anchor",
4156
+ "module": "src/anchor/anchor.ts"
4675
4157
  }
4676
4158
  },
4677
4159
  {
4678
- "name": "horizontal-scaling",
4160
+ "name": "type",
4679
4161
  "type": {
4680
- "text": "AxisScalingMode"
4162
+ "text": "string"
4681
4163
  },
4682
- "default": "\"content\"",
4683
- "description": "Defines how the width of the region is calculated",
4684
- "fieldName": "horizontalScaling",
4164
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
4165
+ "fieldName": "type",
4685
4166
  "inheritedFrom": {
4686
- "name": "AnchoredRegion",
4687
- "module": "src/anchored-region/anchored-region.ts"
4167
+ "name": "Anchor",
4168
+ "module": "src/anchor/anchor.ts"
4688
4169
  }
4689
- },
4170
+ }
4171
+ ],
4172
+ "members": [
4690
4173
  {
4691
- "name": "vertical-positioning-mode",
4174
+ "kind": "field",
4175
+ "name": "download",
4692
4176
  "type": {
4693
- "text": "AxisPositioningMode"
4177
+ "text": "string"
4694
4178
  },
4695
- "default": "\"uncontrolled\"",
4696
- "description": "Sets what logic the component uses to determine vertical placement.\n'locktodefault' forces the default position\n'dynamic' decides placement based on available space\n'uncontrolled' does not control placement on the vertical axis",
4697
- "fieldName": "verticalPositioningMode",
4179
+ "privacy": "public",
4180
+ "description": "Prompts the user to save the linked URL. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
4698
4181
  "inheritedFrom": {
4699
- "name": "AnchoredRegion",
4700
- "module": "src/anchored-region/anchored-region.ts"
4182
+ "name": "Anchor",
4183
+ "module": "src/anchor/anchor.ts"
4701
4184
  }
4702
4185
  },
4703
4186
  {
4704
- "name": "vertical-default-position",
4187
+ "kind": "field",
4188
+ "name": "href",
4705
4189
  "type": {
4706
- "text": "VerticalPosition"
4190
+ "text": "string"
4707
4191
  },
4708
- "default": "\"unset\"",
4709
- "description": "The default vertical position of the region relative to the anchor element",
4710
- "fieldName": "verticalDefaultPosition",
4192
+ "privacy": "public",
4193
+ "description": "The URL the hyperlink references. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
4711
4194
  "inheritedFrom": {
4712
- "name": "AnchoredRegion",
4713
- "module": "src/anchored-region/anchored-region.ts"
4195
+ "name": "Anchor",
4196
+ "module": "src/anchor/anchor.ts"
4714
4197
  }
4715
4198
  },
4716
4199
  {
4717
- "name": "vertical-viewport-lock",
4200
+ "kind": "field",
4201
+ "name": "hreflang",
4718
4202
  "type": {
4719
- "text": "boolean"
4203
+ "text": "string"
4720
4204
  },
4721
- "default": "false",
4722
- "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the vertical axis",
4723
- "fieldName": "verticalViewportLock",
4205
+ "privacy": "public",
4206
+ "description": "Hints at the language of the referenced resource. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
4724
4207
  "inheritedFrom": {
4725
- "name": "AnchoredRegion",
4726
- "module": "src/anchored-region/anchored-region.ts"
4208
+ "name": "Anchor",
4209
+ "module": "src/anchor/anchor.ts"
4727
4210
  }
4728
4211
  },
4729
4212
  {
4730
- "name": "vertical-inset",
4213
+ "kind": "field",
4214
+ "name": "ping",
4731
4215
  "type": {
4732
- "text": "boolean"
4216
+ "text": "string"
4733
4217
  },
4734
- "default": "false",
4735
- "description": "Whether the region overlaps the anchor on the vertical axis",
4736
- "fieldName": "verticalInset",
4218
+ "privacy": "public",
4219
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
4737
4220
  "inheritedFrom": {
4738
- "name": "AnchoredRegion",
4739
- "module": "src/anchored-region/anchored-region.ts"
4221
+ "name": "Anchor",
4222
+ "module": "src/anchor/anchor.ts"
4740
4223
  }
4741
4224
  },
4742
4225
  {
4743
- "name": "vertical-threshold",
4226
+ "kind": "field",
4227
+ "name": "referrerpolicy",
4744
4228
  "type": {
4745
- "text": "number"
4229
+ "text": "string"
4746
4230
  },
4747
- "description": "How short the space allocated to the default position has to be before the tallest area\nis selected for layout",
4748
- "fieldName": "verticalThreshold",
4231
+ "privacy": "public",
4232
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
4749
4233
  "inheritedFrom": {
4750
- "name": "AnchoredRegion",
4751
- "module": "src/anchored-region/anchored-region.ts"
4234
+ "name": "Anchor",
4235
+ "module": "src/anchor/anchor.ts"
4752
4236
  }
4753
4237
  },
4754
4238
  {
4755
- "name": "vertical-scaling",
4239
+ "kind": "field",
4240
+ "name": "rel",
4756
4241
  "type": {
4757
- "text": "AxisScalingMode"
4242
+ "text": "string"
4758
4243
  },
4759
- "default": "\"content\"",
4760
- "description": "Defines how the height of the region is calculated",
4761
- "fieldName": "verticalScaling",
4244
+ "privacy": "public",
4245
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
4762
4246
  "inheritedFrom": {
4763
- "name": "AnchoredRegion",
4764
- "module": "src/anchored-region/anchored-region.ts"
4247
+ "name": "Anchor",
4248
+ "module": "src/anchor/anchor.ts"
4765
4249
  }
4766
4250
  },
4767
4251
  {
4768
- "name": "fixed-placement",
4252
+ "kind": "field",
4253
+ "name": "target",
4769
4254
  "type": {
4770
- "text": "boolean"
4255
+ "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
4771
4256
  },
4772
- "default": "false",
4773
- "description": "Whether the region is positioned using css \"position: fixed\".\nOtherwise the region uses \"position: absolute\".\nFixed placement allows the region to break out of parent containers,",
4774
- "fieldName": "fixedPlacement",
4257
+ "privacy": "public",
4258
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
4775
4259
  "inheritedFrom": {
4776
- "name": "AnchoredRegion",
4777
- "module": "src/anchored-region/anchored-region.ts"
4260
+ "name": "Anchor",
4261
+ "module": "src/anchor/anchor.ts"
4778
4262
  }
4779
4263
  },
4780
4264
  {
4781
- "name": "auto-update-mode",
4265
+ "kind": "field",
4266
+ "name": "type",
4782
4267
  "type": {
4783
- "text": "AutoUpdateMode"
4268
+ "text": "string"
4784
4269
  },
4785
- "default": "\"anchor\"",
4786
- "description": "Defines what triggers the anchored region to revaluate positioning",
4787
- "fieldName": "autoUpdateMode",
4270
+ "privacy": "public",
4271
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
4788
4272
  "inheritedFrom": {
4789
- "name": "AnchoredRegion",
4790
- "module": "src/anchored-region/anchored-region.ts"
4273
+ "name": "Anchor",
4274
+ "module": "src/anchor/anchor.ts"
4791
4275
  }
4792
- }
4793
- ],
4794
- "members": [
4276
+ },
4795
4277
  {
4796
4278
  "kind": "field",
4797
- "name": "anchor",
4279
+ "name": "control",
4798
4280
  "type": {
4799
- "text": "string"
4281
+ "text": "HTMLAnchorElement | undefined"
4800
4282
  },
4801
4283
  "privacy": "public",
4802
- "default": "\"\"",
4803
- "description": "The HTML ID of the anchor element this region is positioned relative to",
4284
+ "description": "References the root element",
4804
4285
  "inheritedFrom": {
4805
- "name": "AnchoredRegion",
4806
- "module": "src/anchored-region/anchored-region.ts"
4286
+ "name": "Anchor",
4287
+ "module": "src/anchor/anchor.ts"
4807
4288
  }
4808
4289
  },
4809
4290
  {
4810
- "kind": "method",
4811
- "name": "anchorChanged",
4291
+ "kind": "field",
4292
+ "name": "handleUnsupportedDelegatesFocus",
4812
4293
  "privacy": "private",
4813
- "return": {
4814
- "type": {
4815
- "text": "void"
4816
- }
4817
- },
4294
+ "description": "Overrides the focus call for where delegatesFocus is unsupported.\nThis check works for Chrome, Edge Chromium, FireFox, and Safari\nRelevant PR on the Firefox browser: https://phabricator.services.mozilla.com/D123858",
4818
4295
  "inheritedFrom": {
4819
- "name": "AnchoredRegion",
4820
- "module": "src/anchored-region/anchored-region.ts"
4296
+ "name": "Anchor",
4297
+ "module": "src/anchor/anchor.ts"
4821
4298
  }
4822
4299
  },
4823
4300
  {
4824
4301
  "kind": "field",
4825
- "name": "viewport",
4302
+ "name": "_presentation",
4826
4303
  "type": {
4827
- "text": "string"
4304
+ "text": "ComponentPresentation | null | undefined"
4828
4305
  },
4829
- "privacy": "public",
4830
- "default": "\"\"",
4831
- "description": "The HTML ID of the viewport element this region is positioned relative to",
4306
+ "privacy": "private",
4307
+ "default": "void 0",
4832
4308
  "inheritedFrom": {
4833
- "name": "AnchoredRegion",
4834
- "module": "src/anchored-region/anchored-region.ts"
4309
+ "name": "FoundationElement",
4310
+ "module": "src/foundation-element/foundation-element.ts"
4835
4311
  }
4836
4312
  },
4837
4313
  {
4838
- "kind": "method",
4839
- "name": "viewportChanged",
4840
- "privacy": "private",
4841
- "return": {
4842
- "type": {
4843
- "text": "void"
4844
- }
4314
+ "kind": "field",
4315
+ "name": "$presentation",
4316
+ "type": {
4317
+ "text": "ComponentPresentation | null"
4845
4318
  },
4319
+ "privacy": "public",
4320
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
4846
4321
  "inheritedFrom": {
4847
- "name": "AnchoredRegion",
4848
- "module": "src/anchored-region/anchored-region.ts"
4322
+ "name": "FoundationElement",
4323
+ "module": "src/foundation-element/foundation-element.ts"
4849
4324
  }
4850
4325
  },
4851
4326
  {
4852
4327
  "kind": "field",
4853
- "name": "horizontalPositioningMode",
4328
+ "name": "template",
4854
4329
  "type": {
4855
- "text": "AxisPositioningMode"
4330
+ "text": "ElementViewTemplate | void | null"
4856
4331
  },
4857
4332
  "privacy": "public",
4858
- "default": "\"uncontrolled\"",
4859
- "description": "Sets what logic the component uses to determine horizontal placement.\n'locktodefault' forces the default position\n'dynamic' decides placement based on available space\n'uncontrolled' does not control placement on the horizontal axis",
4333
+ "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.",
4860
4334
  "inheritedFrom": {
4861
- "name": "AnchoredRegion",
4862
- "module": "src/anchored-region/anchored-region.ts"
4335
+ "name": "FoundationElement",
4336
+ "module": "src/foundation-element/foundation-element.ts"
4863
4337
  }
4864
4338
  },
4865
4339
  {
4866
4340
  "kind": "method",
4867
- "name": "horizontalPositioningModeChanged",
4868
- "privacy": "private",
4341
+ "name": "templateChanged",
4342
+ "privacy": "protected",
4869
4343
  "return": {
4870
4344
  "type": {
4871
4345
  "text": "void"
4872
4346
  }
4873
4347
  },
4874
4348
  "inheritedFrom": {
4875
- "name": "AnchoredRegion",
4876
- "module": "src/anchored-region/anchored-region.ts"
4349
+ "name": "FoundationElement",
4350
+ "module": "src/foundation-element/foundation-element.ts"
4877
4351
  }
4878
4352
  },
4879
4353
  {
4880
4354
  "kind": "field",
4881
- "name": "horizontalDefaultPosition",
4355
+ "name": "styles",
4882
4356
  "type": {
4883
- "text": "HorizontalPosition"
4357
+ "text": "ElementStyles | void | null"
4884
4358
  },
4885
4359
  "privacy": "public",
4886
- "default": "\"unset\"",
4887
- "description": "The default horizontal position of the region relative to the anchor element",
4360
+ "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.",
4888
4361
  "inheritedFrom": {
4889
- "name": "AnchoredRegion",
4890
- "module": "src/anchored-region/anchored-region.ts"
4362
+ "name": "FoundationElement",
4363
+ "module": "src/foundation-element/foundation-element.ts"
4891
4364
  }
4892
4365
  },
4893
4366
  {
4894
4367
  "kind": "method",
4895
- "name": "horizontalDefaultPositionChanged",
4896
- "privacy": "private",
4368
+ "name": "stylesChanged",
4369
+ "privacy": "protected",
4897
4370
  "return": {
4898
4371
  "type": {
4899
4372
  "text": "void"
4900
4373
  }
4901
4374
  },
4902
4375
  "inheritedFrom": {
4903
- "name": "AnchoredRegion",
4904
- "module": "src/anchored-region/anchored-region.ts"
4376
+ "name": "FoundationElement",
4377
+ "module": "src/foundation-element/foundation-element.ts"
4905
4378
  }
4906
4379
  },
4907
4380
  {
4908
- "kind": "field",
4909
- "name": "horizontalViewportLock",
4381
+ "kind": "method",
4382
+ "name": "compose",
4383
+ "privacy": "public",
4384
+ "static": true,
4385
+ "return": {
4386
+ "type": {
4387
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
4388
+ }
4389
+ },
4390
+ "parameters": [
4391
+ {
4392
+ "name": "this",
4393
+ "type": {
4394
+ "text": "K"
4395
+ }
4396
+ },
4397
+ {
4398
+ "name": "elementDefinition",
4399
+ "type": {
4400
+ "text": "T"
4401
+ },
4402
+ "description": "The definition of the element to create the registry\nfunction for."
4403
+ }
4404
+ ],
4405
+ "description": "Defines an element registry function with a set of element definition defaults.",
4406
+ "inheritedFrom": {
4407
+ "name": "FoundationElement",
4408
+ "module": "src/foundation-element/foundation-element.ts"
4409
+ }
4410
+ }
4411
+ ]
4412
+ },
4413
+ {
4414
+ "kind": "variable",
4415
+ "name": "foundationAnchorShadowOptions",
4416
+ "type": {
4417
+ "text": "ShadowRootInit"
4418
+ },
4419
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
4420
+ },
4421
+ {
4422
+ "kind": "variable",
4423
+ "name": "defaultAnchorConfig",
4424
+ "type": {
4425
+ "text": "object"
4426
+ },
4427
+ "default": "{}"
4428
+ },
4429
+ {
4430
+ "kind": "variable",
4431
+ "name": "foundationAnchor",
4432
+ "description": "The Foundation Anchor",
4433
+ "privacy": "public"
4434
+ }
4435
+ ],
4436
+ "exports": [
4437
+ {
4438
+ "kind": "js",
4439
+ "name": "Anchor",
4440
+ "declaration": {
4441
+ "name": "Anchor",
4442
+ "module": "src/anchor/anchor.ts"
4443
+ }
4444
+ },
4445
+ {
4446
+ "kind": "js",
4447
+ "name": "foundationAnchorShadowOptions",
4448
+ "declaration": {
4449
+ "name": "foundationAnchorShadowOptions",
4450
+ "module": "src/anchor/anchor.ts"
4451
+ }
4452
+ },
4453
+ {
4454
+ "kind": "js",
4455
+ "name": "defaultAnchorConfig",
4456
+ "declaration": {
4457
+ "name": "defaultAnchorConfig",
4458
+ "module": "src/anchor/anchor.ts"
4459
+ }
4460
+ },
4461
+ {
4462
+ "kind": "js",
4463
+ "name": "foundationAnchor",
4464
+ "declaration": {
4465
+ "name": "foundationAnchor",
4466
+ "module": "src/anchor/anchor.ts"
4467
+ }
4468
+ }
4469
+ ]
4470
+ },
4471
+ {
4472
+ "kind": "javascript-module",
4473
+ "path": "src/anchor/index.ts",
4474
+ "declarations": [],
4475
+ "exports": [
4476
+ {
4477
+ "kind": "js",
4478
+ "name": "*",
4479
+ "declaration": {
4480
+ "name": "*",
4481
+ "package": "./anchor.template"
4482
+ }
4483
+ },
4484
+ {
4485
+ "kind": "js",
4486
+ "name": "*",
4487
+ "declaration": {
4488
+ "name": "*",
4489
+ "package": "./anchor.styles"
4490
+ }
4491
+ },
4492
+ {
4493
+ "kind": "js",
4494
+ "name": "*",
4495
+ "declaration": {
4496
+ "name": "*",
4497
+ "package": "./anchor"
4498
+ }
4499
+ }
4500
+ ]
4501
+ },
4502
+ {
4503
+ "kind": "javascript-module",
4504
+ "path": "src/anchored-region/anchor-region.template.ts",
4505
+ "declarations": [
4506
+ {
4507
+ "kind": "function",
4508
+ "name": "foundationAnchoredRegionTemplate",
4509
+ "return": {
4510
+ "type": {
4511
+ "text": "ViewTemplate<AnchoredRegion>"
4512
+ }
4513
+ },
4514
+ "parameters": [
4515
+ {
4516
+ "name": "context",
4910
4517
  "type": {
4911
- "text": "boolean"
4518
+ "text": "ElementDefinitionContext"
4519
+ }
4520
+ },
4521
+ {
4522
+ "name": "definition",
4523
+ "type": {
4524
+ "text": "FoundationElementDefinition"
4525
+ }
4526
+ }
4527
+ ]
4528
+ }
4529
+ ],
4530
+ "exports": [
4531
+ {
4532
+ "kind": "js",
4533
+ "name": "foundationAnchoredRegionTemplate",
4534
+ "declaration": {
4535
+ "name": "foundationAnchoredRegionTemplate",
4536
+ "module": "src/anchored-region/anchor-region.template.ts"
4537
+ }
4538
+ }
4539
+ ]
4540
+ },
4541
+ {
4542
+ "kind": "javascript-module",
4543
+ "path": "src/anchored-region/anchored-region.styles.ts",
4544
+ "declarations": [
4545
+ {
4546
+ "kind": "function",
4547
+ "name": "foundationAnchoredRegionStyles",
4548
+ "return": {
4549
+ "type": {
4550
+ "text": "ElementStyles"
4551
+ }
4552
+ },
4553
+ "parameters": [
4554
+ {
4555
+ "name": "context",
4556
+ "type": {
4557
+ "text": "ElementDefinitionContext"
4558
+ }
4559
+ },
4560
+ {
4561
+ "name": "definition",
4562
+ "type": {
4563
+ "text": "FoundationElementDefinition"
4564
+ }
4565
+ }
4566
+ ]
4567
+ }
4568
+ ],
4569
+ "exports": [
4570
+ {
4571
+ "kind": "js",
4572
+ "name": "foundationAnchoredRegionStyles",
4573
+ "declaration": {
4574
+ "name": "foundationAnchoredRegionStyles",
4575
+ "module": "src/anchored-region/anchored-region.styles.ts"
4576
+ }
4577
+ }
4578
+ ]
4579
+ },
4580
+ {
4581
+ "kind": "javascript-module",
4582
+ "path": "src/anchored-region/anchored-region.ts",
4583
+ "declarations": [
4584
+ {
4585
+ "kind": "class",
4586
+ "description": "",
4587
+ "name": "AnchoredRegion",
4588
+ "superclass": {
4589
+ "name": "FASTAnchoredRegion",
4590
+ "package": "@microsoft/fast-components"
4591
+ },
4592
+ "tagName": "%%prefix%%-anchored-region",
4593
+ "customElement": true,
4594
+ "attributes": [
4595
+ {
4596
+ "name": "anchor",
4597
+ "type": {
4598
+ "text": "string"
4912
4599
  },
4913
- "privacy": "public",
4914
- "default": "false",
4915
- "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the horizontal axis",
4600
+ "default": "\"\"",
4601
+ "description": "The HTML ID of the anchor element this region is positioned relative to",
4602
+ "fieldName": "anchor",
4916
4603
  "inheritedFrom": {
4917
4604
  "name": "AnchoredRegion",
4918
4605
  "module": "src/anchored-region/anchored-region.ts"
4919
4606
  }
4920
4607
  },
4921
4608
  {
4922
- "kind": "method",
4923
- "name": "horizontalViewportLockChanged",
4924
- "privacy": "private",
4925
- "return": {
4926
- "type": {
4927
- "text": "void"
4928
- }
4609
+ "name": "viewport",
4610
+ "type": {
4611
+ "text": "string"
4929
4612
  },
4613
+ "default": "\"\"",
4614
+ "description": "The HTML ID of the viewport element this region is positioned relative to",
4615
+ "fieldName": "viewport",
4930
4616
  "inheritedFrom": {
4931
4617
  "name": "AnchoredRegion",
4932
4618
  "module": "src/anchored-region/anchored-region.ts"
4933
4619
  }
4934
4620
  },
4935
4621
  {
4936
- "kind": "field",
4937
- "name": "horizontalInset",
4622
+ "name": "horizontal-positioning-mode",
4938
4623
  "type": {
4939
- "text": "boolean"
4624
+ "text": "AxisPositioningMode"
4940
4625
  },
4941
- "privacy": "public",
4942
- "default": "false",
4943
- "description": "Whether the region overlaps the anchor on the horizontal axis",
4626
+ "default": "\"uncontrolled\"",
4627
+ "description": "Sets what logic the component uses to determine horizontal placement.\n'locktodefault' forces the default position\n'dynamic' decides placement based on available space\n'uncontrolled' does not control placement on the horizontal axis",
4628
+ "fieldName": "horizontalPositioningMode",
4944
4629
  "inheritedFrom": {
4945
4630
  "name": "AnchoredRegion",
4946
4631
  "module": "src/anchored-region/anchored-region.ts"
4947
4632
  }
4948
4633
  },
4949
4634
  {
4950
- "kind": "method",
4951
- "name": "horizontalInsetChanged",
4952
- "privacy": "private",
4953
- "return": {
4954
- "type": {
4955
- "text": "void"
4956
- }
4635
+ "name": "horizontal-default-position",
4636
+ "type": {
4637
+ "text": "HorizontalPosition"
4957
4638
  },
4639
+ "default": "\"unset\"",
4640
+ "description": "The default horizontal position of the region relative to the anchor element",
4641
+ "fieldName": "horizontalDefaultPosition",
4958
4642
  "inheritedFrom": {
4959
4643
  "name": "AnchoredRegion",
4960
4644
  "module": "src/anchored-region/anchored-region.ts"
4961
4645
  }
4962
4646
  },
4963
4647
  {
4964
- "kind": "field",
4965
- "name": "horizontalThreshold",
4648
+ "name": "horizontal-viewport-lock",
4966
4649
  "type": {
4967
- "text": "number"
4650
+ "text": "boolean"
4968
4651
  },
4969
- "privacy": "public",
4970
- "description": "How narrow the space allocated to the default position has to be before the widest area\nis selected for layout",
4652
+ "default": "false",
4653
+ "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the horizontal axis",
4654
+ "fieldName": "horizontalViewportLock",
4971
4655
  "inheritedFrom": {
4972
4656
  "name": "AnchoredRegion",
4973
4657
  "module": "src/anchored-region/anchored-region.ts"
4974
4658
  }
4975
4659
  },
4976
4660
  {
4977
- "kind": "method",
4978
- "name": "horizontalThresholdChanged",
4979
- "privacy": "private",
4980
- "return": {
4981
- "type": {
4982
- "text": "void"
4983
- }
4661
+ "name": "horizontal-inset",
4662
+ "type": {
4663
+ "text": "boolean"
4984
4664
  },
4665
+ "default": "false",
4666
+ "description": "Whether the region overlaps the anchor on the horizontal axis",
4667
+ "fieldName": "horizontalInset",
4985
4668
  "inheritedFrom": {
4986
4669
  "name": "AnchoredRegion",
4987
4670
  "module": "src/anchored-region/anchored-region.ts"
4988
4671
  }
4989
4672
  },
4990
4673
  {
4991
- "kind": "field",
4992
- "name": "horizontalScaling",
4674
+ "name": "horizontal-threshold",
4993
4675
  "type": {
4994
- "text": "AxisScalingMode"
4676
+ "text": "number"
4995
4677
  },
4996
- "privacy": "public",
4997
- "default": "\"content\"",
4998
- "description": "Defines how the width of the region is calculated",
4678
+ "description": "How narrow the space allocated to the default position has to be before the widest area\nis selected for layout",
4679
+ "fieldName": "horizontalThreshold",
4999
4680
  "inheritedFrom": {
5000
4681
  "name": "AnchoredRegion",
5001
4682
  "module": "src/anchored-region/anchored-region.ts"
5002
4683
  }
5003
4684
  },
5004
4685
  {
5005
- "kind": "method",
5006
- "name": "horizontalScalingChanged",
5007
- "privacy": "private",
5008
- "return": {
5009
- "type": {
5010
- "text": "void"
5011
- }
4686
+ "name": "horizontal-scaling",
4687
+ "type": {
4688
+ "text": "AxisScalingMode"
5012
4689
  },
4690
+ "default": "\"content\"",
4691
+ "description": "Defines how the width of the region is calculated",
4692
+ "fieldName": "horizontalScaling",
5013
4693
  "inheritedFrom": {
5014
4694
  "name": "AnchoredRegion",
5015
4695
  "module": "src/anchored-region/anchored-region.ts"
5016
4696
  }
5017
4697
  },
5018
4698
  {
5019
- "kind": "field",
5020
- "name": "verticalPositioningMode",
4699
+ "name": "vertical-positioning-mode",
5021
4700
  "type": {
5022
4701
  "text": "AxisPositioningMode"
5023
4702
  },
5024
- "privacy": "public",
5025
4703
  "default": "\"uncontrolled\"",
5026
4704
  "description": "Sets what logic the component uses to determine vertical placement.\n'locktodefault' forces the default position\n'dynamic' decides placement based on available space\n'uncontrolled' does not control placement on the vertical axis",
4705
+ "fieldName": "verticalPositioningMode",
5027
4706
  "inheritedFrom": {
5028
4707
  "name": "AnchoredRegion",
5029
4708
  "module": "src/anchored-region/anchored-region.ts"
5030
4709
  }
5031
4710
  },
5032
4711
  {
5033
- "kind": "method",
5034
- "name": "verticalPositioningModeChanged",
5035
- "privacy": "private",
5036
- "return": {
5037
- "type": {
5038
- "text": "void"
5039
- }
4712
+ "name": "vertical-default-position",
4713
+ "type": {
4714
+ "text": "VerticalPosition"
5040
4715
  },
4716
+ "default": "\"unset\"",
4717
+ "description": "The default vertical position of the region relative to the anchor element",
4718
+ "fieldName": "verticalDefaultPosition",
5041
4719
  "inheritedFrom": {
5042
4720
  "name": "AnchoredRegion",
5043
4721
  "module": "src/anchored-region/anchored-region.ts"
5044
4722
  }
5045
4723
  },
5046
4724
  {
5047
- "kind": "field",
5048
- "name": "verticalDefaultPosition",
4725
+ "name": "vertical-viewport-lock",
5049
4726
  "type": {
5050
- "text": "VerticalPosition"
4727
+ "text": "boolean"
5051
4728
  },
5052
- "privacy": "public",
5053
- "default": "\"unset\"",
5054
- "description": "The default vertical position of the region relative to the anchor element",
4729
+ "default": "false",
4730
+ "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the vertical axis",
4731
+ "fieldName": "verticalViewportLock",
5055
4732
  "inheritedFrom": {
5056
4733
  "name": "AnchoredRegion",
5057
4734
  "module": "src/anchored-region/anchored-region.ts"
5058
4735
  }
5059
4736
  },
5060
4737
  {
5061
- "kind": "method",
5062
- "name": "verticalDefaultPositionChanged",
5063
- "privacy": "private",
5064
- "return": {
5065
- "type": {
5066
- "text": "void"
5067
- }
4738
+ "name": "vertical-inset",
4739
+ "type": {
4740
+ "text": "boolean"
5068
4741
  },
4742
+ "default": "false",
4743
+ "description": "Whether the region overlaps the anchor on the vertical axis",
4744
+ "fieldName": "verticalInset",
5069
4745
  "inheritedFrom": {
5070
4746
  "name": "AnchoredRegion",
5071
4747
  "module": "src/anchored-region/anchored-region.ts"
5072
4748
  }
5073
4749
  },
5074
4750
  {
5075
- "kind": "field",
5076
- "name": "verticalViewportLock",
4751
+ "name": "vertical-threshold",
5077
4752
  "type": {
5078
- "text": "boolean"
4753
+ "text": "number"
5079
4754
  },
5080
- "privacy": "public",
5081
- "default": "false",
5082
- "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the vertical axis",
4755
+ "description": "How short the space allocated to the default position has to be before the tallest area\nis selected for layout",
4756
+ "fieldName": "verticalThreshold",
5083
4757
  "inheritedFrom": {
5084
4758
  "name": "AnchoredRegion",
5085
4759
  "module": "src/anchored-region/anchored-region.ts"
5086
4760
  }
5087
4761
  },
5088
4762
  {
5089
- "kind": "method",
5090
- "name": "verticalViewportLockChanged",
5091
- "privacy": "private",
5092
- "return": {
5093
- "type": {
5094
- "text": "void"
5095
- }
4763
+ "name": "vertical-scaling",
4764
+ "type": {
4765
+ "text": "AxisScalingMode"
5096
4766
  },
4767
+ "default": "\"content\"",
4768
+ "description": "Defines how the height of the region is calculated",
4769
+ "fieldName": "verticalScaling",
5097
4770
  "inheritedFrom": {
5098
4771
  "name": "AnchoredRegion",
5099
4772
  "module": "src/anchored-region/anchored-region.ts"
5100
4773
  }
5101
4774
  },
5102
4775
  {
5103
- "kind": "field",
5104
- "name": "verticalInset",
4776
+ "name": "fixed-placement",
5105
4777
  "type": {
5106
4778
  "text": "boolean"
5107
4779
  },
5108
- "privacy": "public",
5109
4780
  "default": "false",
5110
- "description": "Whether the region overlaps the anchor on the vertical axis",
4781
+ "description": "Whether the region is positioned using css \"position: fixed\".\nOtherwise the region uses \"position: absolute\".\nFixed placement allows the region to break out of parent containers,",
4782
+ "fieldName": "fixedPlacement",
5111
4783
  "inheritedFrom": {
5112
4784
  "name": "AnchoredRegion",
5113
4785
  "module": "src/anchored-region/anchored-region.ts"
5114
4786
  }
5115
4787
  },
5116
4788
  {
5117
- "kind": "method",
5118
- "name": "verticalInsetChanged",
5119
- "privacy": "private",
4789
+ "name": "auto-update-mode",
4790
+ "type": {
4791
+ "text": "AutoUpdateMode"
4792
+ },
4793
+ "default": "\"anchor\"",
4794
+ "description": "Defines what triggers the anchored region to revaluate positioning",
4795
+ "fieldName": "autoUpdateMode",
4796
+ "inheritedFrom": {
4797
+ "name": "AnchoredRegion",
4798
+ "module": "src/anchored-region/anchored-region.ts"
4799
+ }
4800
+ }
4801
+ ],
4802
+ "members": [
4803
+ {
4804
+ "kind": "field",
4805
+ "name": "anchor",
4806
+ "type": {
4807
+ "text": "string"
4808
+ },
4809
+ "privacy": "public",
4810
+ "default": "\"\"",
4811
+ "description": "The HTML ID of the anchor element this region is positioned relative to",
4812
+ "inheritedFrom": {
4813
+ "name": "AnchoredRegion",
4814
+ "module": "src/anchored-region/anchored-region.ts"
4815
+ }
4816
+ },
4817
+ {
4818
+ "kind": "method",
4819
+ "name": "anchorChanged",
4820
+ "privacy": "private",
4821
+ "return": {
4822
+ "type": {
4823
+ "text": "void"
4824
+ }
4825
+ },
4826
+ "inheritedFrom": {
4827
+ "name": "AnchoredRegion",
4828
+ "module": "src/anchored-region/anchored-region.ts"
4829
+ }
4830
+ },
4831
+ {
4832
+ "kind": "field",
4833
+ "name": "viewport",
4834
+ "type": {
4835
+ "text": "string"
4836
+ },
4837
+ "privacy": "public",
4838
+ "default": "\"\"",
4839
+ "description": "The HTML ID of the viewport element this region is positioned relative to",
4840
+ "inheritedFrom": {
4841
+ "name": "AnchoredRegion",
4842
+ "module": "src/anchored-region/anchored-region.ts"
4843
+ }
4844
+ },
4845
+ {
4846
+ "kind": "method",
4847
+ "name": "viewportChanged",
4848
+ "privacy": "private",
4849
+ "return": {
4850
+ "type": {
4851
+ "text": "void"
4852
+ }
4853
+ },
4854
+ "inheritedFrom": {
4855
+ "name": "AnchoredRegion",
4856
+ "module": "src/anchored-region/anchored-region.ts"
4857
+ }
4858
+ },
4859
+ {
4860
+ "kind": "field",
4861
+ "name": "horizontalPositioningMode",
4862
+ "type": {
4863
+ "text": "AxisPositioningMode"
4864
+ },
4865
+ "privacy": "public",
4866
+ "default": "\"uncontrolled\"",
4867
+ "description": "Sets what logic the component uses to determine horizontal placement.\n'locktodefault' forces the default position\n'dynamic' decides placement based on available space\n'uncontrolled' does not control placement on the horizontal axis",
4868
+ "inheritedFrom": {
4869
+ "name": "AnchoredRegion",
4870
+ "module": "src/anchored-region/anchored-region.ts"
4871
+ }
4872
+ },
4873
+ {
4874
+ "kind": "method",
4875
+ "name": "horizontalPositioningModeChanged",
4876
+ "privacy": "private",
4877
+ "return": {
4878
+ "type": {
4879
+ "text": "void"
4880
+ }
4881
+ },
4882
+ "inheritedFrom": {
4883
+ "name": "AnchoredRegion",
4884
+ "module": "src/anchored-region/anchored-region.ts"
4885
+ }
4886
+ },
4887
+ {
4888
+ "kind": "field",
4889
+ "name": "horizontalDefaultPosition",
4890
+ "type": {
4891
+ "text": "HorizontalPosition"
4892
+ },
4893
+ "privacy": "public",
4894
+ "default": "\"unset\"",
4895
+ "description": "The default horizontal position of the region relative to the anchor element",
4896
+ "inheritedFrom": {
4897
+ "name": "AnchoredRegion",
4898
+ "module": "src/anchored-region/anchored-region.ts"
4899
+ }
4900
+ },
4901
+ {
4902
+ "kind": "method",
4903
+ "name": "horizontalDefaultPositionChanged",
4904
+ "privacy": "private",
4905
+ "return": {
4906
+ "type": {
4907
+ "text": "void"
4908
+ }
4909
+ },
4910
+ "inheritedFrom": {
4911
+ "name": "AnchoredRegion",
4912
+ "module": "src/anchored-region/anchored-region.ts"
4913
+ }
4914
+ },
4915
+ {
4916
+ "kind": "field",
4917
+ "name": "horizontalViewportLock",
4918
+ "type": {
4919
+ "text": "boolean"
4920
+ },
4921
+ "privacy": "public",
4922
+ "default": "false",
4923
+ "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the horizontal axis",
4924
+ "inheritedFrom": {
4925
+ "name": "AnchoredRegion",
4926
+ "module": "src/anchored-region/anchored-region.ts"
4927
+ }
4928
+ },
4929
+ {
4930
+ "kind": "method",
4931
+ "name": "horizontalViewportLockChanged",
4932
+ "privacy": "private",
4933
+ "return": {
4934
+ "type": {
4935
+ "text": "void"
4936
+ }
4937
+ },
4938
+ "inheritedFrom": {
4939
+ "name": "AnchoredRegion",
4940
+ "module": "src/anchored-region/anchored-region.ts"
4941
+ }
4942
+ },
4943
+ {
4944
+ "kind": "field",
4945
+ "name": "horizontalInset",
4946
+ "type": {
4947
+ "text": "boolean"
4948
+ },
4949
+ "privacy": "public",
4950
+ "default": "false",
4951
+ "description": "Whether the region overlaps the anchor on the horizontal axis",
4952
+ "inheritedFrom": {
4953
+ "name": "AnchoredRegion",
4954
+ "module": "src/anchored-region/anchored-region.ts"
4955
+ }
4956
+ },
4957
+ {
4958
+ "kind": "method",
4959
+ "name": "horizontalInsetChanged",
4960
+ "privacy": "private",
4961
+ "return": {
4962
+ "type": {
4963
+ "text": "void"
4964
+ }
4965
+ },
4966
+ "inheritedFrom": {
4967
+ "name": "AnchoredRegion",
4968
+ "module": "src/anchored-region/anchored-region.ts"
4969
+ }
4970
+ },
4971
+ {
4972
+ "kind": "field",
4973
+ "name": "horizontalThreshold",
4974
+ "type": {
4975
+ "text": "number"
4976
+ },
4977
+ "privacy": "public",
4978
+ "description": "How narrow the space allocated to the default position has to be before the widest area\nis selected for layout",
4979
+ "inheritedFrom": {
4980
+ "name": "AnchoredRegion",
4981
+ "module": "src/anchored-region/anchored-region.ts"
4982
+ }
4983
+ },
4984
+ {
4985
+ "kind": "method",
4986
+ "name": "horizontalThresholdChanged",
4987
+ "privacy": "private",
4988
+ "return": {
4989
+ "type": {
4990
+ "text": "void"
4991
+ }
4992
+ },
4993
+ "inheritedFrom": {
4994
+ "name": "AnchoredRegion",
4995
+ "module": "src/anchored-region/anchored-region.ts"
4996
+ }
4997
+ },
4998
+ {
4999
+ "kind": "field",
5000
+ "name": "horizontalScaling",
5001
+ "type": {
5002
+ "text": "AxisScalingMode"
5003
+ },
5004
+ "privacy": "public",
5005
+ "default": "\"content\"",
5006
+ "description": "Defines how the width of the region is calculated",
5007
+ "inheritedFrom": {
5008
+ "name": "AnchoredRegion",
5009
+ "module": "src/anchored-region/anchored-region.ts"
5010
+ }
5011
+ },
5012
+ {
5013
+ "kind": "method",
5014
+ "name": "horizontalScalingChanged",
5015
+ "privacy": "private",
5016
+ "return": {
5017
+ "type": {
5018
+ "text": "void"
5019
+ }
5020
+ },
5021
+ "inheritedFrom": {
5022
+ "name": "AnchoredRegion",
5023
+ "module": "src/anchored-region/anchored-region.ts"
5024
+ }
5025
+ },
5026
+ {
5027
+ "kind": "field",
5028
+ "name": "verticalPositioningMode",
5029
+ "type": {
5030
+ "text": "AxisPositioningMode"
5031
+ },
5032
+ "privacy": "public",
5033
+ "default": "\"uncontrolled\"",
5034
+ "description": "Sets what logic the component uses to determine vertical placement.\n'locktodefault' forces the default position\n'dynamic' decides placement based on available space\n'uncontrolled' does not control placement on the vertical axis",
5035
+ "inheritedFrom": {
5036
+ "name": "AnchoredRegion",
5037
+ "module": "src/anchored-region/anchored-region.ts"
5038
+ }
5039
+ },
5040
+ {
5041
+ "kind": "method",
5042
+ "name": "verticalPositioningModeChanged",
5043
+ "privacy": "private",
5044
+ "return": {
5045
+ "type": {
5046
+ "text": "void"
5047
+ }
5048
+ },
5049
+ "inheritedFrom": {
5050
+ "name": "AnchoredRegion",
5051
+ "module": "src/anchored-region/anchored-region.ts"
5052
+ }
5053
+ },
5054
+ {
5055
+ "kind": "field",
5056
+ "name": "verticalDefaultPosition",
5057
+ "type": {
5058
+ "text": "VerticalPosition"
5059
+ },
5060
+ "privacy": "public",
5061
+ "default": "\"unset\"",
5062
+ "description": "The default vertical position of the region relative to the anchor element",
5063
+ "inheritedFrom": {
5064
+ "name": "AnchoredRegion",
5065
+ "module": "src/anchored-region/anchored-region.ts"
5066
+ }
5067
+ },
5068
+ {
5069
+ "kind": "method",
5070
+ "name": "verticalDefaultPositionChanged",
5071
+ "privacy": "private",
5072
+ "return": {
5073
+ "type": {
5074
+ "text": "void"
5075
+ }
5076
+ },
5077
+ "inheritedFrom": {
5078
+ "name": "AnchoredRegion",
5079
+ "module": "src/anchored-region/anchored-region.ts"
5080
+ }
5081
+ },
5082
+ {
5083
+ "kind": "field",
5084
+ "name": "verticalViewportLock",
5085
+ "type": {
5086
+ "text": "boolean"
5087
+ },
5088
+ "privacy": "public",
5089
+ "default": "false",
5090
+ "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the vertical axis",
5091
+ "inheritedFrom": {
5092
+ "name": "AnchoredRegion",
5093
+ "module": "src/anchored-region/anchored-region.ts"
5094
+ }
5095
+ },
5096
+ {
5097
+ "kind": "method",
5098
+ "name": "verticalViewportLockChanged",
5099
+ "privacy": "private",
5100
+ "return": {
5101
+ "type": {
5102
+ "text": "void"
5103
+ }
5104
+ },
5105
+ "inheritedFrom": {
5106
+ "name": "AnchoredRegion",
5107
+ "module": "src/anchored-region/anchored-region.ts"
5108
+ }
5109
+ },
5110
+ {
5111
+ "kind": "field",
5112
+ "name": "verticalInset",
5113
+ "type": {
5114
+ "text": "boolean"
5115
+ },
5116
+ "privacy": "public",
5117
+ "default": "false",
5118
+ "description": "Whether the region overlaps the anchor on the vertical axis",
5119
+ "inheritedFrom": {
5120
+ "name": "AnchoredRegion",
5121
+ "module": "src/anchored-region/anchored-region.ts"
5122
+ }
5123
+ },
5124
+ {
5125
+ "kind": "method",
5126
+ "name": "verticalInsetChanged",
5127
+ "privacy": "private",
5120
5128
  "return": {
5121
5129
  "type": {
5122
5130
  "text": "void"
@@ -59123,6 +59131,797 @@
59123
59131
  }
59124
59132
  ]
59125
59133
  },
59134
+ {
59135
+ "kind": "javascript-module",
59136
+ "path": "src/verification-code-input/index.ts",
59137
+ "declarations": [],
59138
+ "exports": [
59139
+ {
59140
+ "kind": "js",
59141
+ "name": "*",
59142
+ "declaration": {
59143
+ "name": "*",
59144
+ "package": "./verification-code-input"
59145
+ }
59146
+ },
59147
+ {
59148
+ "kind": "js",
59149
+ "name": "*",
59150
+ "declaration": {
59151
+ "name": "*",
59152
+ "package": "./verification-code-input.template"
59153
+ }
59154
+ },
59155
+ {
59156
+ "kind": "js",
59157
+ "name": "*",
59158
+ "declaration": {
59159
+ "name": "*",
59160
+ "package": "./verification-code-input.styles"
59161
+ }
59162
+ }
59163
+ ]
59164
+ },
59165
+ {
59166
+ "kind": "javascript-module",
59167
+ "path": "src/verification-code-input/verification-code-input.styles.ts",
59168
+ "declarations": [
59169
+ {
59170
+ "kind": "variable",
59171
+ "name": "foundationVerificationCodeInputStyles",
59172
+ "type": {
59173
+ "text": "ElementStyles"
59174
+ },
59175
+ "default": "css`\n :host {\n display: block;\n font-family: var(--body-font);\n outline: none;\n }\n\n .label {\n display: block;\n color: var(--neutral-foreground-rest);\n cursor: pointer;\n font-size: var(--type-ramp-base-font-size);\n line-height: var(--type-ramp-base-line-height);\n margin-bottom: 4px;\n }\n\n .label-hidden {\n display: none;\n }\n\n :host([readonly]) .label {\n cursor: var(--disabled-cursor);\n }\n\n .container {\n display: flex;\n gap: calc(var(--design-unit) * 1px);\n align-items: center;\n }\n\n .digit {\n display: inline-block;\n box-sizing: border-box;\n outline: none;\n min-width: calc(\n (((var(--base-height-multiplier) + var(--density)) * var(--design-unit)) - 4) * 1px\n );\n }\n\n .digit .root {\n box-sizing: border-box;\n position: relative;\n display: flex;\n flex-direction: row;\n align-items: center;\n color: var(--neutral-foreground-rest);\n background: var(--neutral-fill-input-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n border: calc(var(--stroke-width) * 1px) solid var(--accent-fill-rest);\n height: calc(\n (((var(--base-height-multiplier) + var(--density)) * var(--design-unit)) - 4) * 1px\n );\n }\n\n .digit .control {\n appearance: none;\n font: inherit;\n background: transparent;\n border: 0;\n color: inherit;\n height: calc(100% - 4px);\n width: 100%;\n margin-top: auto;\n margin-bottom: auto;\n padding: 0 calc(var(--design-unit) * 2px + 1px);\n font-size: var(--type-ramp-base-font-size);\n line-height: var(--type-ramp-base-line-height);\n text-align: center;\n outline: none;\n color-scheme: ${activeColorScheme};\n }\n\n .digit[appearance='filled'] .root {\n background: var(--neutral-fill-rest);\n }\n\n .digit.error .root {\n border-color: var(--error-fill-rest);\n }\n\n .digit.disabled {\n opacity: var(--disabled-opacity);\n cursor: var(--disabled-cursor);\n }\n\n .digit.disabled .control {\n cursor: var(--disabled-cursor);\n }\n\n .digit:hover:not(.disabled) .root {\n background: var(--neutral-fill-input-hover);\n border-color: var(--accent-fill-hover);\n }\n\n .digit:focus-within:not(.disabled) .root {\n border-color: var(--focus-stroke-outer);\n box-shadow: 0 0 0 calc(var(--focus-stroke-width) * 1px) var(--focus-stroke-outer) inset;\n }\n\n .digit[appearance='filled']:hover:not(.disabled) .root {\n background: var(--neutral-fill-hover);\n }\n\n ${sharedFieldStyles}\n`"
59176
+ }
59177
+ ],
59178
+ "exports": [
59179
+ {
59180
+ "kind": "js",
59181
+ "name": "foundationVerificationCodeInputStyles",
59182
+ "declaration": {
59183
+ "name": "foundationVerificationCodeInputStyles",
59184
+ "module": "src/verification-code-input/verification-code-input.styles.ts"
59185
+ }
59186
+ }
59187
+ ]
59188
+ },
59189
+ {
59190
+ "kind": "javascript-module",
59191
+ "path": "src/verification-code-input/verification-code-input.template.ts",
59192
+ "declarations": [
59193
+ {
59194
+ "kind": "variable",
59195
+ "name": "foundationVerificationCodeInputTemplate",
59196
+ "default": "html<VerificationCodeInput>`\n <label\n part=\"label\"\n id=\"${(x) => x.labelId}\"\n for=\"${(x) => x.getControlId(0)}\"\n class=\"${(x) =>\n x.defaultSlottedNodes && x.defaultSlottedNodes.length ? 'label' : 'label label-hidden'}\"\n >\n <slot\n ${slotted({\n property: 'defaultSlottedNodes',\n filter: whitespaceFilter,\n })}\n ></slot>\n </label>\n <div\n class=\"container\"\n role=\"group\"\n aria-labelledby=\"${(x) => (x.hasLabel ? x.labelId : void 0)}\"\n aria-label=\"${(x) => (x.hasLabel ? void 0 : 'Verification code')}\"\n >\n ${repeat(\n (x) => x.digitsIndexes,\n html`\n <div\n class=\"digit ${(x, c) => (c.parent as VerificationCodeInput).digitClassnames}\"\n data-digit-index=\"${(x) => x}\"\n appearance=\"${(x, c) => (c.parent as VerificationCodeInput).appearance}\"\n >\n <div class=\"root\" part=\"root\">\n <div class=\"control-field\">\n <input\n class=\"control\"\n part=\"control\"\n type=\"text\"\n inputmode=\"numeric\"\n pattern=\"[0-9]*\"\n name=\"${(x, c) => (c.parent as VerificationCodeInput).getControlId(x)}\"\n id=\"${(x, c) => (c.parent as VerificationCodeInput).getControlId(x)}\"\n autocomplete=\"${(x) => (x === 0 ? 'one-time-code' : 'off')}\"\n data-test-id=\"${(x, c) => (c.parent as VerificationCodeInput).getControlId(x)}\"\n title=\"Only numbers are allowed\"\n maxlength=\"1\"\n ?autofocus=\"${(x, c) => (c.parent as VerificationCodeInput).autofocus && x === 0}\"\n ?readonly=\"${(x, c) => (c.parent as VerificationCodeInput).readOnly}\"\n ?disabled=\"${(x, c) =>\n (c.parent as VerificationCodeInput).disabled ||\n (c.parent as VerificationCodeInput).readOnly}\"\n ?aria-required=\"${(x, c) => (c.parent as VerificationCodeInput).required}\"\n ?aria-invalid=\"${(x, c) => (c.parent as VerificationCodeInput).error}\"\n />\n </div>\n </div>\n </div>\n `,\n )}\n </div>\n`"
59197
+ }
59198
+ ],
59199
+ "exports": [
59200
+ {
59201
+ "kind": "js",
59202
+ "name": "foundationVerificationCodeInputTemplate",
59203
+ "declaration": {
59204
+ "name": "foundationVerificationCodeInputTemplate",
59205
+ "module": "src/verification-code-input/verification-code-input.template.ts"
59206
+ }
59207
+ }
59208
+ ]
59209
+ },
59210
+ {
59211
+ "kind": "javascript-module",
59212
+ "path": "src/verification-code-input/verification-code-input.ts",
59213
+ "declarations": [
59214
+ {
59215
+ "kind": "variable",
59216
+ "name": "foundationVerificationCodeInputShadowOptions",
59217
+ "type": {
59218
+ "text": "ShadowRootInit"
59219
+ },
59220
+ "default": "{\n mode: 'open',\n delegatesFocus: true,\n}"
59221
+ },
59222
+ {
59223
+ "kind": "variable",
59224
+ "name": "defaultVerificationCodeInputConfig",
59225
+ "type": {
59226
+ "text": "object"
59227
+ },
59228
+ "default": "{}"
59229
+ },
59230
+ {
59231
+ "kind": "class",
59232
+ "description": "Multi-digit verification code input for OTP / 2FA flows.\n\nForm-associated (FAST `FormAssociated`): host `name` / `required` / `value` participate\nin native HTML form validation and submission like TextField.",
59233
+ "name": "VerificationCodeInput",
59234
+ "members": [
59235
+ {
59236
+ "kind": "field",
59237
+ "name": "values",
59238
+ "type": {
59239
+ "text": "string[]"
59240
+ },
59241
+ "default": "[]",
59242
+ "description": "Per-digit values indexed from `0` to `digits - 1`."
59243
+ },
59244
+ {
59245
+ "kind": "field",
59246
+ "name": "defaultSlottedNodes",
59247
+ "description": "Slotted label content; when empty the label is visually hidden."
59248
+ },
59249
+ {
59250
+ "kind": "field",
59251
+ "name": "controlListeners",
59252
+ "type": {
59253
+ "text": "Map<HTMLInputElement, ControlListeners>"
59254
+ },
59255
+ "privacy": "private",
59256
+ "readonly": true,
59257
+ "default": "new Map()"
59258
+ },
59259
+ {
59260
+ "kind": "field",
59261
+ "name": "syncingFromDigits",
59262
+ "type": {
59263
+ "text": "boolean"
59264
+ },
59265
+ "privacy": "private",
59266
+ "default": "false",
59267
+ "description": "Skip digit re-sync when `value` is updated from digit entry (`commitValues`)."
59268
+ },
59269
+ {
59270
+ "kind": "field",
59271
+ "name": "id",
59272
+ "type": {
59273
+ "text": "string"
59274
+ },
59275
+ "description": "Optional host id used as a prefix for digit input ids (`{id}-0`, `{id}-1`, …)\nand the associated label element."
59276
+ },
59277
+ {
59278
+ "kind": "field",
59279
+ "name": "appearance",
59280
+ "type": {
59281
+ "text": "string"
59282
+ },
59283
+ "default": "'outline'",
59284
+ "description": "Visual treatment applied to each digit field.",
59285
+ "privacy": "public"
59286
+ },
59287
+ {
59288
+ "kind": "field",
59289
+ "name": "digits",
59290
+ "type": {
59291
+ "text": "number"
59292
+ },
59293
+ "default": "6",
59294
+ "description": "Number of single-character digit fields to render.",
59295
+ "privacy": "public"
59296
+ },
59297
+ {
59298
+ "kind": "field",
59299
+ "name": "readOnly",
59300
+ "type": {
59301
+ "text": "boolean"
59302
+ },
59303
+ "default": "false",
59304
+ "description": "When true, digit fields are non-interactive.",
59305
+ "privacy": "public"
59306
+ },
59307
+ {
59308
+ "kind": "field",
59309
+ "name": "disabled",
59310
+ "type": {
59311
+ "text": "boolean"
59312
+ },
59313
+ "default": "false",
59314
+ "description": "When true, digit fields are non-interactive.",
59315
+ "privacy": "public"
59316
+ },
59317
+ {
59318
+ "kind": "field",
59319
+ "name": "autofocus",
59320
+ "type": {
59321
+ "text": "boolean"
59322
+ },
59323
+ "default": "false",
59324
+ "description": "When true, focuses the first digit on connect (and after SPA route commit when hosted that way).",
59325
+ "privacy": "public"
59326
+ },
59327
+ {
59328
+ "kind": "field",
59329
+ "name": "error",
59330
+ "type": {
59331
+ "text": "boolean"
59332
+ },
59333
+ "default": "false",
59334
+ "description": "When true, applies the error visual state to each digit field.",
59335
+ "privacy": "public"
59336
+ },
59337
+ {
59338
+ "kind": "field",
59339
+ "name": "digitsIndexes",
59340
+ "type": {
59341
+ "text": "number[]"
59342
+ },
59343
+ "privacy": "public",
59344
+ "readonly": true
59345
+ },
59346
+ {
59347
+ "kind": "field",
59348
+ "name": "controlIdPrefix",
59349
+ "type": {
59350
+ "text": "string"
59351
+ },
59352
+ "privacy": "public",
59353
+ "readonly": true
59354
+ },
59355
+ {
59356
+ "kind": "field",
59357
+ "name": "labelId",
59358
+ "type": {
59359
+ "text": "string"
59360
+ },
59361
+ "privacy": "public",
59362
+ "readonly": true
59363
+ },
59364
+ {
59365
+ "kind": "field",
59366
+ "name": "hasLabel",
59367
+ "type": {
59368
+ "text": "boolean"
59369
+ },
59370
+ "privacy": "public",
59371
+ "readonly": true
59372
+ },
59373
+ {
59374
+ "kind": "method",
59375
+ "name": "getControlId",
59376
+ "privacy": "public",
59377
+ "return": {
59378
+ "type": {
59379
+ "text": "string"
59380
+ }
59381
+ },
59382
+ "parameters": [
59383
+ {
59384
+ "name": "index",
59385
+ "type": {
59386
+ "text": "number"
59387
+ }
59388
+ }
59389
+ ]
59390
+ },
59391
+ {
59392
+ "kind": "method",
59393
+ "name": "clear",
59394
+ "privacy": "public",
59395
+ "return": {
59396
+ "type": {
59397
+ "text": "void"
59398
+ }
59399
+ },
59400
+ "description": "Clears digits, emits `change`, and focuses the first field when connected."
59401
+ },
59402
+ {
59403
+ "kind": "method",
59404
+ "name": "focus",
59405
+ "privacy": "public",
59406
+ "return": {
59407
+ "type": {
59408
+ "text": "void"
59409
+ }
59410
+ }
59411
+ },
59412
+ {
59413
+ "kind": "method",
59414
+ "name": "digitsChanged",
59415
+ "return": {
59416
+ "type": {
59417
+ "text": "void"
59418
+ }
59419
+ }
59420
+ },
59421
+ {
59422
+ "kind": "field",
59423
+ "name": "digitClassnames",
59424
+ "type": {
59425
+ "text": "string"
59426
+ },
59427
+ "privacy": "public",
59428
+ "readonly": true
59429
+ },
59430
+ {
59431
+ "kind": "method",
59432
+ "name": "sanitizeCode",
59433
+ "privacy": "private",
59434
+ "return": {
59435
+ "type": {
59436
+ "text": "string"
59437
+ }
59438
+ },
59439
+ "parameters": [
59440
+ {
59441
+ "name": "raw",
59442
+ "type": {
59443
+ "text": "unknown"
59444
+ }
59445
+ }
59446
+ ]
59447
+ },
59448
+ {
59449
+ "kind": "method",
59450
+ "name": "bindControlListeners",
59451
+ "privacy": "private",
59452
+ "return": {
59453
+ "type": {
59454
+ "text": "void"
59455
+ }
59456
+ }
59457
+ },
59458
+ {
59459
+ "kind": "method",
59460
+ "name": "unbindControlListeners",
59461
+ "privacy": "private",
59462
+ "return": {
59463
+ "type": {
59464
+ "text": "void"
59465
+ }
59466
+ }
59467
+ },
59468
+ {
59469
+ "kind": "method",
59470
+ "name": "onKeyDown",
59471
+ "privacy": "private",
59472
+ "return": {
59473
+ "type": {
59474
+ "text": "void"
59475
+ }
59476
+ },
59477
+ "parameters": [
59478
+ {
59479
+ "name": "event",
59480
+ "type": {
59481
+ "text": "KeyboardEvent"
59482
+ }
59483
+ },
59484
+ {
59485
+ "name": "index",
59486
+ "type": {
59487
+ "text": "number"
59488
+ }
59489
+ }
59490
+ ]
59491
+ },
59492
+ {
59493
+ "kind": "method",
59494
+ "name": "isBlockedCharacter",
59495
+ "privacy": "private",
59496
+ "return": {
59497
+ "type": {
59498
+ "text": "boolean"
59499
+ }
59500
+ },
59501
+ "parameters": [
59502
+ {
59503
+ "name": "event",
59504
+ "type": {
59505
+ "text": "KeyboardEvent"
59506
+ }
59507
+ }
59508
+ ]
59509
+ },
59510
+ {
59511
+ "kind": "method",
59512
+ "name": "onInput",
59513
+ "privacy": "private",
59514
+ "return": {
59515
+ "type": {
59516
+ "text": "void"
59517
+ }
59518
+ },
59519
+ "parameters": [
59520
+ {
59521
+ "name": "event",
59522
+ "type": {
59523
+ "text": "InputEvent"
59524
+ }
59525
+ },
59526
+ {
59527
+ "name": "index",
59528
+ "type": {
59529
+ "text": "number"
59530
+ }
59531
+ }
59532
+ ]
59533
+ },
59534
+ {
59535
+ "kind": "method",
59536
+ "name": "onPaste",
59537
+ "privacy": "private",
59538
+ "return": {
59539
+ "type": {
59540
+ "text": "void"
59541
+ }
59542
+ },
59543
+ "parameters": [
59544
+ {
59545
+ "name": "event",
59546
+ "type": {
59547
+ "text": "ClipboardEvent"
59548
+ }
59549
+ },
59550
+ {
59551
+ "name": "index",
59552
+ "type": {
59553
+ "text": "number"
59554
+ }
59555
+ }
59556
+ ]
59557
+ },
59558
+ {
59559
+ "kind": "method",
59560
+ "name": "handleBackspace",
59561
+ "privacy": "private",
59562
+ "return": {
59563
+ "type": {
59564
+ "text": "void"
59565
+ }
59566
+ },
59567
+ "parameters": [
59568
+ {
59569
+ "name": "index",
59570
+ "type": {
59571
+ "text": "number"
59572
+ }
59573
+ }
59574
+ ]
59575
+ },
59576
+ {
59577
+ "kind": "method",
59578
+ "name": "handleDelete",
59579
+ "privacy": "private",
59580
+ "return": {
59581
+ "type": {
59582
+ "text": "void"
59583
+ }
59584
+ },
59585
+ "parameters": [
59586
+ {
59587
+ "name": "index",
59588
+ "type": {
59589
+ "text": "number"
59590
+ }
59591
+ }
59592
+ ]
59593
+ },
59594
+ {
59595
+ "kind": "method",
59596
+ "name": "getIndexFromInput",
59597
+ "privacy": "private",
59598
+ "return": {
59599
+ "type": {
59600
+ "text": "number | null"
59601
+ }
59602
+ },
59603
+ "parameters": [
59604
+ {
59605
+ "name": "input",
59606
+ "type": {
59607
+ "text": "HTMLInputElement"
59608
+ }
59609
+ }
59610
+ ]
59611
+ },
59612
+ {
59613
+ "kind": "method",
59614
+ "name": "syncDigitsFromValue",
59615
+ "privacy": "private",
59616
+ "return": {
59617
+ "type": {
59618
+ "text": "void"
59619
+ }
59620
+ },
59621
+ "parameters": [
59622
+ {
59623
+ "name": "cleaned",
59624
+ "type": {
59625
+ "text": "string"
59626
+ }
59627
+ }
59628
+ ],
59629
+ "description": "Maps a sanitized code string into per-digit `values` and syncs the DOM when connected."
59630
+ },
59631
+ {
59632
+ "kind": "method",
59633
+ "name": "updateDigit",
59634
+ "privacy": "private",
59635
+ "return": {
59636
+ "type": {
59637
+ "text": "void"
59638
+ }
59639
+ },
59640
+ "parameters": [
59641
+ {
59642
+ "name": "index",
59643
+ "type": {
59644
+ "text": "number"
59645
+ }
59646
+ },
59647
+ {
59648
+ "name": "digit",
59649
+ "type": {
59650
+ "text": "string"
59651
+ }
59652
+ }
59653
+ ]
59654
+ },
59655
+ {
59656
+ "kind": "method",
59657
+ "name": "applyDigits",
59658
+ "privacy": "private",
59659
+ "return": {
59660
+ "type": {
59661
+ "text": "void"
59662
+ }
59663
+ },
59664
+ "parameters": [
59665
+ {
59666
+ "name": "raw",
59667
+ "type": {
59668
+ "text": "string"
59669
+ }
59670
+ },
59671
+ {
59672
+ "name": "startIndex",
59673
+ "type": {
59674
+ "text": "number"
59675
+ }
59676
+ }
59677
+ ]
59678
+ },
59679
+ {
59680
+ "kind": "method",
59681
+ "name": "commitValues",
59682
+ "privacy": "private",
59683
+ "return": {
59684
+ "type": {
59685
+ "text": "void"
59686
+ }
59687
+ },
59688
+ "parameters": [
59689
+ {
59690
+ "name": "nextValues",
59691
+ "type": {
59692
+ "text": "string[]"
59693
+ }
59694
+ }
59695
+ ],
59696
+ "description": "Pushes digit state into the form-associated `value` and emits change / complete."
59697
+ },
59698
+ {
59699
+ "kind": "method",
59700
+ "name": "syncFieldValues",
59701
+ "privacy": "private",
59702
+ "return": {
59703
+ "type": {
59704
+ "text": "void"
59705
+ }
59706
+ }
59707
+ },
59708
+ {
59709
+ "kind": "method",
59710
+ "name": "syncFieldValue",
59711
+ "privacy": "private",
59712
+ "return": {
59713
+ "type": {
59714
+ "text": "void"
59715
+ }
59716
+ },
59717
+ "parameters": [
59718
+ {
59719
+ "name": "index",
59720
+ "type": {
59721
+ "text": "number"
59722
+ }
59723
+ }
59724
+ ]
59725
+ },
59726
+ {
59727
+ "kind": "method",
59728
+ "name": "focusDigit",
59729
+ "privacy": "private",
59730
+ "return": {
59731
+ "type": {
59732
+ "text": "void"
59733
+ }
59734
+ },
59735
+ "parameters": [
59736
+ {
59737
+ "name": "index",
59738
+ "type": {
59739
+ "text": "number"
59740
+ }
59741
+ }
59742
+ ]
59743
+ },
59744
+ {
59745
+ "kind": "field",
59746
+ "name": "rootNode",
59747
+ "type": {
59748
+ "text": "ParentNode"
59749
+ },
59750
+ "privacy": "private",
59751
+ "readonly": true
59752
+ },
59753
+ {
59754
+ "kind": "method",
59755
+ "name": "getControlElement",
59756
+ "privacy": "private",
59757
+ "return": {
59758
+ "type": {
59759
+ "text": "HTMLInputElement | null"
59760
+ }
59761
+ },
59762
+ "parameters": [
59763
+ {
59764
+ "name": "index",
59765
+ "type": {
59766
+ "text": "number"
59767
+ }
59768
+ }
59769
+ ]
59770
+ },
59771
+ {
59772
+ "kind": "method",
59773
+ "name": "isComplete",
59774
+ "privacy": "private",
59775
+ "return": {
59776
+ "type": {
59777
+ "text": "boolean"
59778
+ }
59779
+ }
59780
+ },
59781
+ {
59782
+ "kind": "method",
59783
+ "name": "emitChange",
59784
+ "privacy": "private",
59785
+ "return": {
59786
+ "type": {
59787
+ "text": "void"
59788
+ }
59789
+ }
59790
+ },
59791
+ {
59792
+ "kind": "field",
59793
+ "name": "proxy"
59794
+ }
59795
+ ],
59796
+ "events": [
59797
+ {
59798
+ "description": "Fired when any digit changes. Detail: `{ value: string }`.",
59799
+ "name": "change"
59800
+ },
59801
+ {
59802
+ "description": "Fired when all digits are filled. Detail: `{ value: string }`.",
59803
+ "name": "complete"
59804
+ }
59805
+ ],
59806
+ "attributes": [
59807
+ {
59808
+ "name": "id",
59809
+ "type": {
59810
+ "text": "string"
59811
+ },
59812
+ "description": "Optional host id used as a prefix for digit input ids (`{id}-0`, `{id}-1`, …)\nand the associated label element.",
59813
+ "fieldName": "id"
59814
+ },
59815
+ {
59816
+ "name": "appearance",
59817
+ "type": {
59818
+ "text": "string"
59819
+ },
59820
+ "default": "'outline'",
59821
+ "description": "Visual treatment applied to each digit field.",
59822
+ "fieldName": "appearance"
59823
+ },
59824
+ {
59825
+ "name": "digits",
59826
+ "type": {
59827
+ "text": "number"
59828
+ },
59829
+ "default": "DEFAULT_DIGITS",
59830
+ "description": "Number of single-character digit fields to render.",
59831
+ "resolveInitializer": {
59832
+ "module": "src/verification-code-input/verification-code-input.ts"
59833
+ },
59834
+ "fieldName": "digits"
59835
+ },
59836
+ {
59837
+ "name": "readonly",
59838
+ "type": {
59839
+ "text": "boolean"
59840
+ },
59841
+ "default": "false",
59842
+ "description": "When true, digit fields are non-interactive.",
59843
+ "fieldName": "readOnly"
59844
+ },
59845
+ {
59846
+ "type": {
59847
+ "text": "boolean"
59848
+ },
59849
+ "default": "false",
59850
+ "description": "When true, digit fields are non-interactive.",
59851
+ "fieldName": "disabled"
59852
+ },
59853
+ {
59854
+ "type": {
59855
+ "text": "boolean"
59856
+ },
59857
+ "default": "false",
59858
+ "description": "When true, focuses the first digit on connect (and after SPA route commit when hosted that way).",
59859
+ "fieldName": "autofocus"
59860
+ },
59861
+ {
59862
+ "type": {
59863
+ "text": "boolean"
59864
+ },
59865
+ "default": "false",
59866
+ "description": "When true, applies the error visual state to each digit field.",
59867
+ "fieldName": "error"
59868
+ }
59869
+ ],
59870
+ "mixins": [
59871
+ {
59872
+ "name": "FormAssociated",
59873
+ "package": "@microsoft/fast-foundation"
59874
+ }
59875
+ ],
59876
+ "superclass": {
59877
+ "name": "_VerificationCodeInput",
59878
+ "module": "src/verification-code-input/verification-code-input.ts"
59879
+ },
59880
+ "tagName": "%%prefix%%-verification-code-input",
59881
+ "customElement": true
59882
+ },
59883
+ {
59884
+ "kind": "variable",
59885
+ "name": "foundationVerificationCodeInput",
59886
+ "description": "The Foundation Verification Code Input",
59887
+ "privacy": "public"
59888
+ }
59889
+ ],
59890
+ "exports": [
59891
+ {
59892
+ "kind": "js",
59893
+ "name": "foundationVerificationCodeInputShadowOptions",
59894
+ "declaration": {
59895
+ "name": "foundationVerificationCodeInputShadowOptions",
59896
+ "module": "src/verification-code-input/verification-code-input.ts"
59897
+ }
59898
+ },
59899
+ {
59900
+ "kind": "js",
59901
+ "name": "defaultVerificationCodeInputConfig",
59902
+ "declaration": {
59903
+ "name": "defaultVerificationCodeInputConfig",
59904
+ "module": "src/verification-code-input/verification-code-input.ts"
59905
+ }
59906
+ },
59907
+ {
59908
+ "kind": "js",
59909
+ "name": "VerificationCodeInput",
59910
+ "declaration": {
59911
+ "name": "VerificationCodeInput",
59912
+ "module": "src/verification-code-input/verification-code-input.ts"
59913
+ }
59914
+ },
59915
+ {
59916
+ "kind": "js",
59917
+ "name": "foundationVerificationCodeInput",
59918
+ "declaration": {
59919
+ "name": "foundationVerificationCodeInput",
59920
+ "module": "src/verification-code-input/verification-code-input.ts"
59921
+ }
59922
+ }
59923
+ ]
59924
+ },
59126
59925
  {
59127
59926
  "kind": "javascript-module",
59128
59927
  "path": "src/_config/styles/colors.ts",