@genesislcap/foundation-ui 14.206.2 → 14.206.4

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.
@@ -862,6 +862,219 @@
862
862
  }
863
863
  ]
864
864
  },
865
+ {
866
+ "kind": "javascript-module",
867
+ "path": "src/_config/index.ts",
868
+ "declarations": [],
869
+ "exports": [
870
+ {
871
+ "kind": "js",
872
+ "name": "*",
873
+ "declaration": {
874
+ "name": "*",
875
+ "package": "./styles"
876
+ }
877
+ },
878
+ {
879
+ "kind": "js",
880
+ "name": "*",
881
+ "declaration": {
882
+ "name": "*",
883
+ "package": "./tokens"
884
+ }
885
+ },
886
+ {
887
+ "kind": "js",
888
+ "name": "*",
889
+ "declaration": {
890
+ "name": "*",
891
+ "package": "./values"
892
+ }
893
+ }
894
+ ]
895
+ },
896
+ {
897
+ "kind": "javascript-module",
898
+ "path": "src/accordion/accordion.styles.ts",
899
+ "declarations": [
900
+ {
901
+ "kind": "function",
902
+ "name": "foundationAccordionStyles",
903
+ "return": {
904
+ "type": {
905
+ "text": "ElementStyles"
906
+ }
907
+ },
908
+ "parameters": [
909
+ {
910
+ "name": "context",
911
+ "type": {
912
+ "text": "ElementDefinitionContext"
913
+ }
914
+ },
915
+ {
916
+ "name": "definition",
917
+ "type": {
918
+ "text": "FoundationElementDefinition"
919
+ }
920
+ }
921
+ ]
922
+ }
923
+ ],
924
+ "exports": [
925
+ {
926
+ "kind": "js",
927
+ "name": "foundationAccordionStyles",
928
+ "declaration": {
929
+ "name": "foundationAccordionStyles",
930
+ "module": "src/accordion/accordion.styles.ts"
931
+ }
932
+ }
933
+ ]
934
+ },
935
+ {
936
+ "kind": "javascript-module",
937
+ "path": "src/accordion/accordion.template.ts",
938
+ "declarations": [
939
+ {
940
+ "kind": "function",
941
+ "name": "foundationAccordionTemplate",
942
+ "return": {
943
+ "type": {
944
+ "text": "ViewTemplate<Accordion>"
945
+ }
946
+ },
947
+ "parameters": [
948
+ {
949
+ "name": "context",
950
+ "type": {
951
+ "text": "ElementDefinitionContext"
952
+ }
953
+ },
954
+ {
955
+ "name": "definition",
956
+ "type": {
957
+ "text": "FoundationElementDefinition"
958
+ }
959
+ }
960
+ ]
961
+ }
962
+ ],
963
+ "exports": [
964
+ {
965
+ "kind": "js",
966
+ "name": "foundationAccordionTemplate",
967
+ "declaration": {
968
+ "name": "foundationAccordionTemplate",
969
+ "module": "src/accordion/accordion.template.ts"
970
+ }
971
+ }
972
+ ]
973
+ },
974
+ {
975
+ "kind": "javascript-module",
976
+ "path": "src/accordion/accordion.ts",
977
+ "declarations": [
978
+ {
979
+ "kind": "class",
980
+ "description": "",
981
+ "name": "Accordion",
982
+ "superclass": {
983
+ "name": "FASTAccordion",
984
+ "package": "@microsoft/fast-foundation"
985
+ },
986
+ "tagName": "%%prefix%%-accordion",
987
+ "customElement": true
988
+ },
989
+ {
990
+ "kind": "variable",
991
+ "name": "foundationAccordionShadowOptions",
992
+ "type": {
993
+ "text": "ShadowRootInit"
994
+ },
995
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
996
+ },
997
+ {
998
+ "kind": "variable",
999
+ "name": "defaultAccordionConfig",
1000
+ "type": {
1001
+ "text": "object"
1002
+ },
1003
+ "default": "{}"
1004
+ },
1005
+ {
1006
+ "kind": "variable",
1007
+ "name": "foundationAccordion",
1008
+ "description": "The Foundation Accordion",
1009
+ "privacy": "public"
1010
+ }
1011
+ ],
1012
+ "exports": [
1013
+ {
1014
+ "kind": "js",
1015
+ "name": "Accordion",
1016
+ "declaration": {
1017
+ "name": "Accordion",
1018
+ "module": "src/accordion/accordion.ts"
1019
+ }
1020
+ },
1021
+ {
1022
+ "kind": "js",
1023
+ "name": "foundationAccordionShadowOptions",
1024
+ "declaration": {
1025
+ "name": "foundationAccordionShadowOptions",
1026
+ "module": "src/accordion/accordion.ts"
1027
+ }
1028
+ },
1029
+ {
1030
+ "kind": "js",
1031
+ "name": "defaultAccordionConfig",
1032
+ "declaration": {
1033
+ "name": "defaultAccordionConfig",
1034
+ "module": "src/accordion/accordion.ts"
1035
+ }
1036
+ },
1037
+ {
1038
+ "kind": "js",
1039
+ "name": "foundationAccordion",
1040
+ "declaration": {
1041
+ "name": "foundationAccordion",
1042
+ "module": "src/accordion/accordion.ts"
1043
+ }
1044
+ }
1045
+ ]
1046
+ },
1047
+ {
1048
+ "kind": "javascript-module",
1049
+ "path": "src/accordion/index.ts",
1050
+ "declarations": [],
1051
+ "exports": [
1052
+ {
1053
+ "kind": "js",
1054
+ "name": "*",
1055
+ "declaration": {
1056
+ "name": "*",
1057
+ "package": "./accordion.template"
1058
+ }
1059
+ },
1060
+ {
1061
+ "kind": "js",
1062
+ "name": "*",
1063
+ "declaration": {
1064
+ "name": "*",
1065
+ "package": "./accordion.styles"
1066
+ }
1067
+ },
1068
+ {
1069
+ "kind": "js",
1070
+ "name": "*",
1071
+ "declaration": {
1072
+ "name": "*",
1073
+ "package": "./accordion"
1074
+ }
1075
+ }
1076
+ ]
1077
+ },
865
1078
  {
866
1079
  "kind": "javascript-module",
867
1080
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -1815,37 +2028,6 @@
1815
2028
  }
1816
2029
  ]
1817
2030
  },
1818
- {
1819
- "kind": "javascript-module",
1820
- "path": "src/_config/index.ts",
1821
- "declarations": [],
1822
- "exports": [
1823
- {
1824
- "kind": "js",
1825
- "name": "*",
1826
- "declaration": {
1827
- "name": "*",
1828
- "package": "./styles"
1829
- }
1830
- },
1831
- {
1832
- "kind": "js",
1833
- "name": "*",
1834
- "declaration": {
1835
- "name": "*",
1836
- "package": "./tokens"
1837
- }
1838
- },
1839
- {
1840
- "kind": "js",
1841
- "name": "*",
1842
- "declaration": {
1843
- "name": "*",
1844
- "package": "./values"
1845
- }
1846
- }
1847
- ]
1848
- },
1849
2031
  {
1850
2032
  "kind": "javascript-module",
1851
2033
  "path": "src/anchor/anchor.styles.ts",
@@ -2368,14 +2550,14 @@
2368
2550
  },
2369
2551
  {
2370
2552
  "kind": "javascript-module",
2371
- "path": "src/accordion/accordion.styles.ts",
2553
+ "path": "src/anchored-region/anchor-region.template.ts",
2372
2554
  "declarations": [
2373
2555
  {
2374
2556
  "kind": "function",
2375
- "name": "foundationAccordionStyles",
2557
+ "name": "foundationAnchoredRegionTemplate",
2376
2558
  "return": {
2377
2559
  "type": {
2378
- "text": "ElementStyles"
2560
+ "text": "ViewTemplate<AnchoredRegion>"
2379
2561
  }
2380
2562
  },
2381
2563
  "parameters": [
@@ -2397,206 +2579,24 @@
2397
2579
  "exports": [
2398
2580
  {
2399
2581
  "kind": "js",
2400
- "name": "foundationAccordionStyles",
2582
+ "name": "foundationAnchoredRegionTemplate",
2401
2583
  "declaration": {
2402
- "name": "foundationAccordionStyles",
2403
- "module": "src/accordion/accordion.styles.ts"
2584
+ "name": "foundationAnchoredRegionTemplate",
2585
+ "module": "src/anchored-region/anchor-region.template.ts"
2404
2586
  }
2405
2587
  }
2406
2588
  ]
2407
2589
  },
2408
2590
  {
2409
2591
  "kind": "javascript-module",
2410
- "path": "src/accordion/accordion.template.ts",
2592
+ "path": "src/anchored-region/anchored-region.styles.ts",
2411
2593
  "declarations": [
2412
2594
  {
2413
2595
  "kind": "function",
2414
- "name": "foundationAccordionTemplate",
2596
+ "name": "foundationAnchoredRegionStyles",
2415
2597
  "return": {
2416
2598
  "type": {
2417
- "text": "ViewTemplate<Accordion>"
2418
- }
2419
- },
2420
- "parameters": [
2421
- {
2422
- "name": "context",
2423
- "type": {
2424
- "text": "ElementDefinitionContext"
2425
- }
2426
- },
2427
- {
2428
- "name": "definition",
2429
- "type": {
2430
- "text": "FoundationElementDefinition"
2431
- }
2432
- }
2433
- ]
2434
- }
2435
- ],
2436
- "exports": [
2437
- {
2438
- "kind": "js",
2439
- "name": "foundationAccordionTemplate",
2440
- "declaration": {
2441
- "name": "foundationAccordionTemplate",
2442
- "module": "src/accordion/accordion.template.ts"
2443
- }
2444
- }
2445
- ]
2446
- },
2447
- {
2448
- "kind": "javascript-module",
2449
- "path": "src/accordion/accordion.ts",
2450
- "declarations": [
2451
- {
2452
- "kind": "class",
2453
- "description": "",
2454
- "name": "Accordion",
2455
- "superclass": {
2456
- "name": "FASTAccordion",
2457
- "package": "@microsoft/fast-foundation"
2458
- },
2459
- "tagName": "%%prefix%%-accordion",
2460
- "customElement": true
2461
- },
2462
- {
2463
- "kind": "variable",
2464
- "name": "foundationAccordionShadowOptions",
2465
- "type": {
2466
- "text": "ShadowRootInit"
2467
- },
2468
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2469
- },
2470
- {
2471
- "kind": "variable",
2472
- "name": "defaultAccordionConfig",
2473
- "type": {
2474
- "text": "object"
2475
- },
2476
- "default": "{}"
2477
- },
2478
- {
2479
- "kind": "variable",
2480
- "name": "foundationAccordion",
2481
- "description": "The Foundation Accordion",
2482
- "privacy": "public"
2483
- }
2484
- ],
2485
- "exports": [
2486
- {
2487
- "kind": "js",
2488
- "name": "Accordion",
2489
- "declaration": {
2490
- "name": "Accordion",
2491
- "module": "src/accordion/accordion.ts"
2492
- }
2493
- },
2494
- {
2495
- "kind": "js",
2496
- "name": "foundationAccordionShadowOptions",
2497
- "declaration": {
2498
- "name": "foundationAccordionShadowOptions",
2499
- "module": "src/accordion/accordion.ts"
2500
- }
2501
- },
2502
- {
2503
- "kind": "js",
2504
- "name": "defaultAccordionConfig",
2505
- "declaration": {
2506
- "name": "defaultAccordionConfig",
2507
- "module": "src/accordion/accordion.ts"
2508
- }
2509
- },
2510
- {
2511
- "kind": "js",
2512
- "name": "foundationAccordion",
2513
- "declaration": {
2514
- "name": "foundationAccordion",
2515
- "module": "src/accordion/accordion.ts"
2516
- }
2517
- }
2518
- ]
2519
- },
2520
- {
2521
- "kind": "javascript-module",
2522
- "path": "src/accordion/index.ts",
2523
- "declarations": [],
2524
- "exports": [
2525
- {
2526
- "kind": "js",
2527
- "name": "*",
2528
- "declaration": {
2529
- "name": "*",
2530
- "package": "./accordion.template"
2531
- }
2532
- },
2533
- {
2534
- "kind": "js",
2535
- "name": "*",
2536
- "declaration": {
2537
- "name": "*",
2538
- "package": "./accordion.styles"
2539
- }
2540
- },
2541
- {
2542
- "kind": "js",
2543
- "name": "*",
2544
- "declaration": {
2545
- "name": "*",
2546
- "package": "./accordion"
2547
- }
2548
- }
2549
- ]
2550
- },
2551
- {
2552
- "kind": "javascript-module",
2553
- "path": "src/anchored-region/anchor-region.template.ts",
2554
- "declarations": [
2555
- {
2556
- "kind": "function",
2557
- "name": "foundationAnchoredRegionTemplate",
2558
- "return": {
2559
- "type": {
2560
- "text": "ViewTemplate<AnchoredRegion>"
2561
- }
2562
- },
2563
- "parameters": [
2564
- {
2565
- "name": "context",
2566
- "type": {
2567
- "text": "ElementDefinitionContext"
2568
- }
2569
- },
2570
- {
2571
- "name": "definition",
2572
- "type": {
2573
- "text": "FoundationElementDefinition"
2574
- }
2575
- }
2576
- ]
2577
- }
2578
- ],
2579
- "exports": [
2580
- {
2581
- "kind": "js",
2582
- "name": "foundationAnchoredRegionTemplate",
2583
- "declaration": {
2584
- "name": "foundationAnchoredRegionTemplate",
2585
- "module": "src/anchored-region/anchor-region.template.ts"
2586
- }
2587
- }
2588
- ]
2589
- },
2590
- {
2591
- "kind": "javascript-module",
2592
- "path": "src/anchored-region/anchored-region.styles.ts",
2593
- "declarations": [
2594
- {
2595
- "kind": "function",
2596
- "name": "foundationAnchoredRegionStyles",
2597
- "return": {
2598
- "type": {
2599
- "text": "ElementStyles"
2599
+ "text": "ElementStyles"
2600
2600
  }
2601
2601
  },
2602
2602
  "parameters": [
@@ -9196,6 +9196,10 @@
9196
9196
  {
9197
9197
  "kind": "method",
9198
9198
  "name": "asyncSetFilter"
9199
+ },
9200
+ {
9201
+ "kind": "method",
9202
+ "name": "resetCombobox"
9199
9203
  }
9200
9204
  ],
9201
9205
  "attributes": [
@@ -21627,7 +21631,7 @@
21627
21631
  },
21628
21632
  {
21629
21633
  "kind": "javascript-module",
21630
- "path": "src/listbox-option/index.ts",
21634
+ "path": "src/menu/index.ts",
21631
21635
  "declarations": [],
21632
21636
  "exports": [
21633
21637
  {
@@ -21635,7 +21639,7 @@
21635
21639
  "name": "*",
21636
21640
  "declaration": {
21637
21641
  "name": "*",
21638
- "package": "./listbox-option.template"
21642
+ "package": "./menu.template"
21639
21643
  }
21640
21644
  },
21641
21645
  {
@@ -21643,7 +21647,7 @@
21643
21647
  "name": "*",
21644
21648
  "declaration": {
21645
21649
  "name": "*",
21646
- "package": "./listbox-option.styles"
21650
+ "package": "./menu.styles"
21647
21651
  }
21648
21652
  },
21649
21653
  {
@@ -21651,18 +21655,18 @@
21651
21655
  "name": "*",
21652
21656
  "declaration": {
21653
21657
  "name": "*",
21654
- "package": "./listbox-option"
21658
+ "package": "./menu"
21655
21659
  }
21656
21660
  }
21657
21661
  ]
21658
21662
  },
21659
21663
  {
21660
21664
  "kind": "javascript-module",
21661
- "path": "src/listbox-option/listbox-option.styles.ts",
21665
+ "path": "src/menu/menu.styles.ts",
21662
21666
  "declarations": [
21663
21667
  {
21664
21668
  "kind": "function",
21665
- "name": "foundationListboxOptionStyles",
21669
+ "name": "foundationMenuStyles",
21666
21670
  "return": {
21667
21671
  "type": {
21668
21672
  "text": "ElementStyles"
@@ -21687,24 +21691,24 @@
21687
21691
  "exports": [
21688
21692
  {
21689
21693
  "kind": "js",
21690
- "name": "foundationListboxOptionStyles",
21694
+ "name": "foundationMenuStyles",
21691
21695
  "declaration": {
21692
- "name": "foundationListboxOptionStyles",
21693
- "module": "src/listbox-option/listbox-option.styles.ts"
21696
+ "name": "foundationMenuStyles",
21697
+ "module": "src/menu/menu.styles.ts"
21694
21698
  }
21695
21699
  }
21696
21700
  ]
21697
21701
  },
21698
21702
  {
21699
21703
  "kind": "javascript-module",
21700
- "path": "src/listbox-option/listbox-option.template.ts",
21704
+ "path": "src/menu/menu.template.ts",
21701
21705
  "declarations": [
21702
21706
  {
21703
21707
  "kind": "function",
21704
- "name": "foundationListboxOptionTemplate",
21708
+ "name": "foundationMenuTemplate",
21705
21709
  "return": {
21706
21710
  "type": {
21707
- "text": "ViewTemplate<ListboxOption>"
21711
+ "text": "ViewTemplate<Menu>"
21708
21712
  }
21709
21713
  },
21710
21714
  "parameters": [
@@ -21726,169 +21730,225 @@
21726
21730
  "exports": [
21727
21731
  {
21728
21732
  "kind": "js",
21729
- "name": "foundationListboxOptionTemplate",
21733
+ "name": "foundationMenuTemplate",
21730
21734
  "declaration": {
21731
- "name": "foundationListboxOptionTemplate",
21732
- "module": "src/listbox-option/listbox-option.template.ts"
21735
+ "name": "foundationMenuTemplate",
21736
+ "module": "src/menu/menu.template.ts"
21733
21737
  }
21734
21738
  }
21735
21739
  ]
21736
21740
  },
21737
21741
  {
21738
21742
  "kind": "javascript-module",
21739
- "path": "src/listbox-option/listbox-option.ts",
21743
+ "path": "src/menu/menu.ts",
21740
21744
  "declarations": [
21741
21745
  {
21742
21746
  "kind": "class",
21743
21747
  "description": "",
21744
- "name": "ListboxOption",
21748
+ "name": "Menu",
21745
21749
  "superclass": {
21746
- "name": "FASTListboxOption",
21750
+ "name": "FASTMenu",
21747
21751
  "package": "@microsoft/fast-components"
21748
21752
  },
21749
- "tagName": "%%prefix%%-option",
21753
+ "tagName": "%%prefix%%-menu",
21750
21754
  "customElement": true,
21751
- "attributes": [
21755
+ "members": [
21756
+ {
21757
+ "kind": "method",
21758
+ "name": "itemsChanged",
21759
+ "privacy": "private",
21760
+ "return": {
21761
+ "type": {
21762
+ "text": "void"
21763
+ }
21764
+ },
21765
+ "parameters": [
21766
+ {
21767
+ "name": "oldValue",
21768
+ "type": {
21769
+ "text": "HTMLElement[]"
21770
+ }
21771
+ },
21772
+ {
21773
+ "name": "newValue",
21774
+ "type": {
21775
+ "text": "HTMLElement[]"
21776
+ }
21777
+ }
21778
+ ],
21779
+ "inheritedFrom": {
21780
+ "name": "Menu",
21781
+ "module": "src/menu/menu.ts"
21782
+ }
21783
+ },
21752
21784
  {
21785
+ "kind": "field",
21786
+ "name": "menuItems",
21753
21787
  "type": {
21754
- "text": "boolean"
21788
+ "text": "Element[] | undefined"
21755
21789
  },
21756
- "description": "The disabled state of the option.",
21757
- "fieldName": "disabled",
21790
+ "privacy": "private",
21758
21791
  "inheritedFrom": {
21759
- "name": "ListboxOption",
21760
- "module": "src/listbox-option/listbox-option.ts"
21792
+ "name": "Menu",
21793
+ "module": "src/menu/menu.ts"
21761
21794
  }
21762
21795
  },
21763
21796
  {
21764
- "name": "selected",
21797
+ "kind": "field",
21798
+ "name": "expandedItem",
21765
21799
  "type": {
21766
- "text": "boolean"
21800
+ "text": "MenuItem | null"
21767
21801
  },
21768
- "description": "The selected attribute value. This sets the initial selected value.",
21769
- "fieldName": "selectedAttribute",
21802
+ "privacy": "private",
21803
+ "default": "null",
21770
21804
  "inheritedFrom": {
21771
- "name": "ListboxOption",
21772
- "module": "src/listbox-option/listbox-option.ts"
21805
+ "name": "Menu",
21806
+ "module": "src/menu/menu.ts"
21773
21807
  }
21774
21808
  },
21775
21809
  {
21776
- "name": "value",
21810
+ "kind": "field",
21811
+ "name": "focusIndex",
21777
21812
  "type": {
21778
- "text": "string"
21813
+ "text": "number"
21779
21814
  },
21780
- "description": "The initial value of the option. This value sets the `value` property\nonly when the `value` property has not been explicitly set.",
21781
- "fieldName": "initialValue",
21815
+ "privacy": "private",
21816
+ "default": "-1",
21817
+ "description": "The index of the focusable element in the items array\ndefaults to -1",
21782
21818
  "inheritedFrom": {
21783
- "name": "ListboxOption",
21784
- "module": "src/listbox-option/listbox-option.ts"
21819
+ "name": "Menu",
21820
+ "module": "src/menu/menu.ts"
21785
21821
  }
21786
- }
21787
- ],
21788
- "members": [
21822
+ },
21789
21823
  {
21790
21824
  "kind": "field",
21791
- "name": "checked",
21825
+ "name": "focusableElementRoles",
21792
21826
  "type": {
21793
- "text": "boolean | undefined"
21827
+ "text": "{ [key: string]: string }"
21794
21828
  },
21795
- "privacy": "public",
21796
- "description": "The checked state is used when the parent listbox is in multiple selection mode.\nTo avoid accessibility conflicts, the checked state should not be present in\nsingle selection mode.",
21829
+ "privacy": "private",
21830
+ "static": true,
21831
+ "default": "roleForMenuItem",
21797
21832
  "inheritedFrom": {
21798
- "name": "ListboxOption",
21799
- "module": "src/listbox-option/listbox-option.ts"
21833
+ "name": "Menu",
21834
+ "module": "src/menu/menu.ts"
21800
21835
  }
21801
21836
  },
21802
21837
  {
21803
21838
  "kind": "method",
21804
- "name": "checkedChanged",
21839
+ "name": "focus",
21805
21840
  "privacy": "public",
21806
21841
  "return": {
21807
21842
  "type": {
21808
21843
  "text": "void"
21809
21844
  }
21810
21845
  },
21811
- "parameters": [
21812
- {
21813
- "name": "prev",
21814
- "type": {
21815
- "text": "boolean | unknown"
21816
- },
21817
- "description": "the previous checked value"
21818
- },
21819
- {
21820
- "name": "next",
21821
- "optional": true,
21822
- "type": {
21823
- "text": "boolean"
21824
- },
21825
- "description": "the current checked value"
21846
+ "description": "Focuses the first item in the menu.",
21847
+ "inheritedFrom": {
21848
+ "name": "Menu",
21849
+ "module": "src/menu/menu.ts"
21850
+ }
21851
+ },
21852
+ {
21853
+ "kind": "method",
21854
+ "name": "collapseExpandedItem",
21855
+ "privacy": "public",
21856
+ "return": {
21857
+ "type": {
21858
+ "text": "void"
21826
21859
  }
21827
- ],
21828
- "description": "Updates the ariaChecked property when the checked property changes.",
21860
+ },
21861
+ "description": "Collapses any expanded menu items.",
21829
21862
  "inheritedFrom": {
21830
- "name": "ListboxOption",
21831
- "module": "src/listbox-option/listbox-option.ts"
21863
+ "name": "Menu",
21864
+ "module": "src/menu/menu.ts"
21832
21865
  }
21833
21866
  },
21834
21867
  {
21835
21868
  "kind": "field",
21836
- "name": "content",
21837
- "type": {
21838
- "text": "Node[]"
21839
- },
21840
- "privacy": "public",
21841
- "description": "The default slotted content.",
21869
+ "name": "handleItemFocus",
21870
+ "privacy": "private",
21842
21871
  "inheritedFrom": {
21843
- "name": "ListboxOption",
21844
- "module": "src/listbox-option/listbox-option.ts"
21872
+ "name": "Menu",
21873
+ "module": "src/menu/menu.ts"
21845
21874
  }
21846
21875
  },
21847
21876
  {
21848
21877
  "kind": "field",
21849
- "name": "defaultSelected",
21850
- "type": {
21851
- "text": "boolean"
21852
- },
21853
- "privacy": "public",
21854
- "default": "false",
21855
- "description": "The defaultSelected state of the option.",
21878
+ "name": "handleExpandedChanged",
21879
+ "privacy": "private",
21856
21880
  "inheritedFrom": {
21857
- "name": "ListboxOption",
21858
- "module": "src/listbox-option/listbox-option.ts"
21881
+ "name": "Menu",
21882
+ "module": "src/menu/menu.ts"
21883
+ }
21884
+ },
21885
+ {
21886
+ "kind": "field",
21887
+ "name": "removeItemListeners",
21888
+ "privacy": "private",
21889
+ "inheritedFrom": {
21890
+ "name": "Menu",
21891
+ "module": "src/menu/menu.ts"
21892
+ }
21893
+ },
21894
+ {
21895
+ "kind": "field",
21896
+ "name": "setItems",
21897
+ "privacy": "private",
21898
+ "inheritedFrom": {
21899
+ "name": "Menu",
21900
+ "module": "src/menu/menu.ts"
21901
+ }
21902
+ },
21903
+ {
21904
+ "kind": "field",
21905
+ "name": "changeHandler",
21906
+ "privacy": "private",
21907
+ "description": "handle change from child element",
21908
+ "inheritedFrom": {
21909
+ "name": "Menu",
21910
+ "module": "src/menu/menu.ts"
21859
21911
  }
21860
21912
  },
21861
21913
  {
21862
21914
  "kind": "method",
21863
- "name": "defaultSelectedChanged",
21864
- "privacy": "protected",
21915
+ "name": "domChildren",
21916
+ "privacy": "private",
21865
21917
  "return": {
21866
21918
  "type": {
21867
- "text": "void"
21919
+ "text": "Element[]"
21868
21920
  }
21869
21921
  },
21922
+ "description": "get an array of valid DOM children",
21870
21923
  "inheritedFrom": {
21871
- "name": "ListboxOption",
21872
- "module": "src/listbox-option/listbox-option.ts"
21924
+ "name": "Menu",
21925
+ "module": "src/menu/menu.ts"
21873
21926
  }
21874
21927
  },
21875
21928
  {
21876
21929
  "kind": "field",
21877
- "name": "disabled",
21878
- "type": {
21879
- "text": "boolean"
21880
- },
21881
- "privacy": "public",
21882
- "description": "The disabled state of the option.",
21930
+ "name": "isMenuItemElement",
21931
+ "privacy": "private",
21932
+ "description": "check if the item is a menu item",
21883
21933
  "inheritedFrom": {
21884
- "name": "ListboxOption",
21885
- "module": "src/listbox-option/listbox-option.ts"
21934
+ "name": "Menu",
21935
+ "module": "src/menu/menu.ts"
21936
+ }
21937
+ },
21938
+ {
21939
+ "kind": "field",
21940
+ "name": "isFocusableElement",
21941
+ "privacy": "private",
21942
+ "description": "check if the item is focusable",
21943
+ "inheritedFrom": {
21944
+ "name": "Menu",
21945
+ "module": "src/menu/menu.ts"
21886
21946
  }
21887
21947
  },
21888
21948
  {
21889
21949
  "kind": "method",
21890
- "name": "disabledChanged",
21891
- "privacy": "protected",
21950
+ "name": "setFocus",
21951
+ "privacy": "private",
21892
21952
  "return": {
21893
21953
  "type": {
21894
21954
  "text": "void"
@@ -21896,66 +21956,65 @@
21896
21956
  },
21897
21957
  "parameters": [
21898
21958
  {
21899
- "name": "prev",
21959
+ "name": "focusIndex",
21900
21960
  "type": {
21901
- "text": "boolean"
21961
+ "text": "number"
21902
21962
  }
21903
21963
  },
21904
21964
  {
21905
- "name": "next",
21965
+ "name": "adjustment",
21906
21966
  "type": {
21907
- "text": "boolean"
21967
+ "text": "number"
21908
21968
  }
21909
21969
  }
21910
21970
  ],
21911
21971
  "inheritedFrom": {
21912
- "name": "ListboxOption",
21913
- "module": "src/listbox-option/listbox-option.ts"
21972
+ "name": "Menu",
21973
+ "module": "src/menu/menu.ts"
21914
21974
  }
21915
21975
  },
21916
21976
  {
21917
21977
  "kind": "field",
21918
- "name": "selectedAttribute",
21978
+ "name": "_presentation",
21919
21979
  "type": {
21920
- "text": "boolean"
21980
+ "text": "ComponentPresentation | null | undefined"
21921
21981
  },
21922
- "privacy": "public",
21923
- "description": "The selected attribute value. This sets the initial selected value.",
21982
+ "privacy": "private",
21983
+ "default": "void 0",
21924
21984
  "inheritedFrom": {
21925
- "name": "ListboxOption",
21926
- "module": "src/listbox-option/listbox-option.ts"
21985
+ "name": "FoundationElement",
21986
+ "module": "src/foundation-element/foundation-element.ts"
21927
21987
  }
21928
21988
  },
21929
21989
  {
21930
- "kind": "method",
21931
- "name": "selectedAttributeChanged",
21932
- "privacy": "protected",
21933
- "return": {
21934
- "type": {
21935
- "text": "void"
21936
- }
21990
+ "kind": "field",
21991
+ "name": "$presentation",
21992
+ "type": {
21993
+ "text": "ComponentPresentation | null"
21937
21994
  },
21995
+ "privacy": "public",
21996
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
21938
21997
  "inheritedFrom": {
21939
- "name": "ListboxOption",
21940
- "module": "src/listbox-option/listbox-option.ts"
21998
+ "name": "FoundationElement",
21999
+ "module": "src/foundation-element/foundation-element.ts"
21941
22000
  }
21942
22001
  },
21943
22002
  {
21944
22003
  "kind": "field",
21945
- "name": "selected",
22004
+ "name": "template",
21946
22005
  "type": {
21947
- "text": "boolean"
22006
+ "text": "ElementViewTemplate | void | null"
21948
22007
  },
21949
22008
  "privacy": "public",
21950
- "description": "The checked state of the control.",
22009
+ "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.",
21951
22010
  "inheritedFrom": {
21952
- "name": "ListboxOption",
21953
- "module": "src/listbox-option/listbox-option.ts"
22011
+ "name": "FoundationElement",
22012
+ "module": "src/foundation-element/foundation-element.ts"
21954
22013
  }
21955
22014
  },
21956
22015
  {
21957
22016
  "kind": "method",
21958
- "name": "selectedChanged",
22017
+ "name": "templateChanged",
21959
22018
  "privacy": "protected",
21960
22019
  "return": {
21961
22020
  "type": {
@@ -21963,30 +22022,490 @@
21963
22022
  }
21964
22023
  },
21965
22024
  "inheritedFrom": {
21966
- "name": "ListboxOption",
21967
- "module": "src/listbox-option/listbox-option.ts"
22025
+ "name": "FoundationElement",
22026
+ "module": "src/foundation-element/foundation-element.ts"
21968
22027
  }
21969
22028
  },
21970
22029
  {
21971
22030
  "kind": "field",
21972
- "name": "dirtyValue",
22031
+ "name": "styles",
21973
22032
  "type": {
21974
- "text": "boolean"
22033
+ "text": "ElementStyles | void | null"
21975
22034
  },
21976
22035
  "privacy": "public",
21977
- "default": "false",
21978
- "description": "Track whether the value has been changed from the initial value",
22036
+ "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.",
21979
22037
  "inheritedFrom": {
21980
- "name": "ListboxOption",
21981
- "module": "src/listbox-option/listbox-option.ts"
22038
+ "name": "FoundationElement",
22039
+ "module": "src/foundation-element/foundation-element.ts"
21982
22040
  }
21983
22041
  },
21984
22042
  {
21985
- "kind": "field",
21986
- "name": "initialValue",
21987
- "type": {
21988
- "text": "string"
21989
- },
22043
+ "kind": "method",
22044
+ "name": "stylesChanged",
22045
+ "privacy": "protected",
22046
+ "return": {
22047
+ "type": {
22048
+ "text": "void"
22049
+ }
22050
+ },
22051
+ "inheritedFrom": {
22052
+ "name": "FoundationElement",
22053
+ "module": "src/foundation-element/foundation-element.ts"
22054
+ }
22055
+ },
22056
+ {
22057
+ "kind": "method",
22058
+ "name": "compose",
22059
+ "privacy": "public",
22060
+ "static": true,
22061
+ "return": {
22062
+ "type": {
22063
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
22064
+ }
22065
+ },
22066
+ "parameters": [
22067
+ {
22068
+ "name": "this",
22069
+ "type": {
22070
+ "text": "K"
22071
+ }
22072
+ },
22073
+ {
22074
+ "name": "elementDefinition",
22075
+ "type": {
22076
+ "text": "T"
22077
+ },
22078
+ "description": "The definition of the element to create the registry\nfunction for."
22079
+ }
22080
+ ],
22081
+ "description": "Defines an element registry function with a set of element definition defaults.",
22082
+ "inheritedFrom": {
22083
+ "name": "FoundationElement",
22084
+ "module": "src/foundation-element/foundation-element.ts"
22085
+ }
22086
+ }
22087
+ ]
22088
+ },
22089
+ {
22090
+ "kind": "variable",
22091
+ "name": "foundationMenuShadowOptions",
22092
+ "type": {
22093
+ "text": "ShadowRootInit"
22094
+ },
22095
+ "default": "undefined"
22096
+ },
22097
+ {
22098
+ "kind": "variable",
22099
+ "name": "defaultMenuConfig",
22100
+ "type": {
22101
+ "text": "object"
22102
+ },
22103
+ "default": "{}"
22104
+ },
22105
+ {
22106
+ "kind": "variable",
22107
+ "name": "foundationMenu",
22108
+ "description": "The Foundation Menu",
22109
+ "privacy": "public"
22110
+ }
22111
+ ],
22112
+ "exports": [
22113
+ {
22114
+ "kind": "js",
22115
+ "name": "Menu",
22116
+ "declaration": {
22117
+ "name": "Menu",
22118
+ "module": "src/menu/menu.ts"
22119
+ }
22120
+ },
22121
+ {
22122
+ "kind": "js",
22123
+ "name": "foundationMenuShadowOptions",
22124
+ "declaration": {
22125
+ "name": "foundationMenuShadowOptions",
22126
+ "module": "src/menu/menu.ts"
22127
+ }
22128
+ },
22129
+ {
22130
+ "kind": "js",
22131
+ "name": "defaultMenuConfig",
22132
+ "declaration": {
22133
+ "name": "defaultMenuConfig",
22134
+ "module": "src/menu/menu.ts"
22135
+ }
22136
+ },
22137
+ {
22138
+ "kind": "js",
22139
+ "name": "foundationMenu",
22140
+ "declaration": {
22141
+ "name": "foundationMenu",
22142
+ "module": "src/menu/menu.ts"
22143
+ }
22144
+ }
22145
+ ]
22146
+ },
22147
+ {
22148
+ "kind": "javascript-module",
22149
+ "path": "src/listbox-option/index.ts",
22150
+ "declarations": [],
22151
+ "exports": [
22152
+ {
22153
+ "kind": "js",
22154
+ "name": "*",
22155
+ "declaration": {
22156
+ "name": "*",
22157
+ "package": "./listbox-option.template"
22158
+ }
22159
+ },
22160
+ {
22161
+ "kind": "js",
22162
+ "name": "*",
22163
+ "declaration": {
22164
+ "name": "*",
22165
+ "package": "./listbox-option.styles"
22166
+ }
22167
+ },
22168
+ {
22169
+ "kind": "js",
22170
+ "name": "*",
22171
+ "declaration": {
22172
+ "name": "*",
22173
+ "package": "./listbox-option"
22174
+ }
22175
+ }
22176
+ ]
22177
+ },
22178
+ {
22179
+ "kind": "javascript-module",
22180
+ "path": "src/listbox-option/listbox-option.styles.ts",
22181
+ "declarations": [
22182
+ {
22183
+ "kind": "function",
22184
+ "name": "foundationListboxOptionStyles",
22185
+ "return": {
22186
+ "type": {
22187
+ "text": "ElementStyles"
22188
+ }
22189
+ },
22190
+ "parameters": [
22191
+ {
22192
+ "name": "context",
22193
+ "type": {
22194
+ "text": "ElementDefinitionContext"
22195
+ }
22196
+ },
22197
+ {
22198
+ "name": "definition",
22199
+ "type": {
22200
+ "text": "FoundationElementDefinition"
22201
+ }
22202
+ }
22203
+ ]
22204
+ }
22205
+ ],
22206
+ "exports": [
22207
+ {
22208
+ "kind": "js",
22209
+ "name": "foundationListboxOptionStyles",
22210
+ "declaration": {
22211
+ "name": "foundationListboxOptionStyles",
22212
+ "module": "src/listbox-option/listbox-option.styles.ts"
22213
+ }
22214
+ }
22215
+ ]
22216
+ },
22217
+ {
22218
+ "kind": "javascript-module",
22219
+ "path": "src/listbox-option/listbox-option.template.ts",
22220
+ "declarations": [
22221
+ {
22222
+ "kind": "function",
22223
+ "name": "foundationListboxOptionTemplate",
22224
+ "return": {
22225
+ "type": {
22226
+ "text": "ViewTemplate<ListboxOption>"
22227
+ }
22228
+ },
22229
+ "parameters": [
22230
+ {
22231
+ "name": "context",
22232
+ "type": {
22233
+ "text": "ElementDefinitionContext"
22234
+ }
22235
+ },
22236
+ {
22237
+ "name": "definition",
22238
+ "type": {
22239
+ "text": "FoundationElementDefinition"
22240
+ }
22241
+ }
22242
+ ]
22243
+ }
22244
+ ],
22245
+ "exports": [
22246
+ {
22247
+ "kind": "js",
22248
+ "name": "foundationListboxOptionTemplate",
22249
+ "declaration": {
22250
+ "name": "foundationListboxOptionTemplate",
22251
+ "module": "src/listbox-option/listbox-option.template.ts"
22252
+ }
22253
+ }
22254
+ ]
22255
+ },
22256
+ {
22257
+ "kind": "javascript-module",
22258
+ "path": "src/listbox-option/listbox-option.ts",
22259
+ "declarations": [
22260
+ {
22261
+ "kind": "class",
22262
+ "description": "",
22263
+ "name": "ListboxOption",
22264
+ "superclass": {
22265
+ "name": "FASTListboxOption",
22266
+ "package": "@microsoft/fast-components"
22267
+ },
22268
+ "tagName": "%%prefix%%-option",
22269
+ "customElement": true,
22270
+ "attributes": [
22271
+ {
22272
+ "type": {
22273
+ "text": "boolean"
22274
+ },
22275
+ "description": "The disabled state of the option.",
22276
+ "fieldName": "disabled",
22277
+ "inheritedFrom": {
22278
+ "name": "ListboxOption",
22279
+ "module": "src/listbox-option/listbox-option.ts"
22280
+ }
22281
+ },
22282
+ {
22283
+ "name": "selected",
22284
+ "type": {
22285
+ "text": "boolean"
22286
+ },
22287
+ "description": "The selected attribute value. This sets the initial selected value.",
22288
+ "fieldName": "selectedAttribute",
22289
+ "inheritedFrom": {
22290
+ "name": "ListboxOption",
22291
+ "module": "src/listbox-option/listbox-option.ts"
22292
+ }
22293
+ },
22294
+ {
22295
+ "name": "value",
22296
+ "type": {
22297
+ "text": "string"
22298
+ },
22299
+ "description": "The initial value of the option. This value sets the `value` property\nonly when the `value` property has not been explicitly set.",
22300
+ "fieldName": "initialValue",
22301
+ "inheritedFrom": {
22302
+ "name": "ListboxOption",
22303
+ "module": "src/listbox-option/listbox-option.ts"
22304
+ }
22305
+ }
22306
+ ],
22307
+ "members": [
22308
+ {
22309
+ "kind": "field",
22310
+ "name": "checked",
22311
+ "type": {
22312
+ "text": "boolean | undefined"
22313
+ },
22314
+ "privacy": "public",
22315
+ "description": "The checked state is used when the parent listbox is in multiple selection mode.\nTo avoid accessibility conflicts, the checked state should not be present in\nsingle selection mode.",
22316
+ "inheritedFrom": {
22317
+ "name": "ListboxOption",
22318
+ "module": "src/listbox-option/listbox-option.ts"
22319
+ }
22320
+ },
22321
+ {
22322
+ "kind": "method",
22323
+ "name": "checkedChanged",
22324
+ "privacy": "public",
22325
+ "return": {
22326
+ "type": {
22327
+ "text": "void"
22328
+ }
22329
+ },
22330
+ "parameters": [
22331
+ {
22332
+ "name": "prev",
22333
+ "type": {
22334
+ "text": "boolean | unknown"
22335
+ },
22336
+ "description": "the previous checked value"
22337
+ },
22338
+ {
22339
+ "name": "next",
22340
+ "optional": true,
22341
+ "type": {
22342
+ "text": "boolean"
22343
+ },
22344
+ "description": "the current checked value"
22345
+ }
22346
+ ],
22347
+ "description": "Updates the ariaChecked property when the checked property changes.",
22348
+ "inheritedFrom": {
22349
+ "name": "ListboxOption",
22350
+ "module": "src/listbox-option/listbox-option.ts"
22351
+ }
22352
+ },
22353
+ {
22354
+ "kind": "field",
22355
+ "name": "content",
22356
+ "type": {
22357
+ "text": "Node[]"
22358
+ },
22359
+ "privacy": "public",
22360
+ "description": "The default slotted content.",
22361
+ "inheritedFrom": {
22362
+ "name": "ListboxOption",
22363
+ "module": "src/listbox-option/listbox-option.ts"
22364
+ }
22365
+ },
22366
+ {
22367
+ "kind": "field",
22368
+ "name": "defaultSelected",
22369
+ "type": {
22370
+ "text": "boolean"
22371
+ },
22372
+ "privacy": "public",
22373
+ "default": "false",
22374
+ "description": "The defaultSelected state of the option.",
22375
+ "inheritedFrom": {
22376
+ "name": "ListboxOption",
22377
+ "module": "src/listbox-option/listbox-option.ts"
22378
+ }
22379
+ },
22380
+ {
22381
+ "kind": "method",
22382
+ "name": "defaultSelectedChanged",
22383
+ "privacy": "protected",
22384
+ "return": {
22385
+ "type": {
22386
+ "text": "void"
22387
+ }
22388
+ },
22389
+ "inheritedFrom": {
22390
+ "name": "ListboxOption",
22391
+ "module": "src/listbox-option/listbox-option.ts"
22392
+ }
22393
+ },
22394
+ {
22395
+ "kind": "field",
22396
+ "name": "disabled",
22397
+ "type": {
22398
+ "text": "boolean"
22399
+ },
22400
+ "privacy": "public",
22401
+ "description": "The disabled state of the option.",
22402
+ "inheritedFrom": {
22403
+ "name": "ListboxOption",
22404
+ "module": "src/listbox-option/listbox-option.ts"
22405
+ }
22406
+ },
22407
+ {
22408
+ "kind": "method",
22409
+ "name": "disabledChanged",
22410
+ "privacy": "protected",
22411
+ "return": {
22412
+ "type": {
22413
+ "text": "void"
22414
+ }
22415
+ },
22416
+ "parameters": [
22417
+ {
22418
+ "name": "prev",
22419
+ "type": {
22420
+ "text": "boolean"
22421
+ }
22422
+ },
22423
+ {
22424
+ "name": "next",
22425
+ "type": {
22426
+ "text": "boolean"
22427
+ }
22428
+ }
22429
+ ],
22430
+ "inheritedFrom": {
22431
+ "name": "ListboxOption",
22432
+ "module": "src/listbox-option/listbox-option.ts"
22433
+ }
22434
+ },
22435
+ {
22436
+ "kind": "field",
22437
+ "name": "selectedAttribute",
22438
+ "type": {
22439
+ "text": "boolean"
22440
+ },
22441
+ "privacy": "public",
22442
+ "description": "The selected attribute value. This sets the initial selected value.",
22443
+ "inheritedFrom": {
22444
+ "name": "ListboxOption",
22445
+ "module": "src/listbox-option/listbox-option.ts"
22446
+ }
22447
+ },
22448
+ {
22449
+ "kind": "method",
22450
+ "name": "selectedAttributeChanged",
22451
+ "privacy": "protected",
22452
+ "return": {
22453
+ "type": {
22454
+ "text": "void"
22455
+ }
22456
+ },
22457
+ "inheritedFrom": {
22458
+ "name": "ListboxOption",
22459
+ "module": "src/listbox-option/listbox-option.ts"
22460
+ }
22461
+ },
22462
+ {
22463
+ "kind": "field",
22464
+ "name": "selected",
22465
+ "type": {
22466
+ "text": "boolean"
22467
+ },
22468
+ "privacy": "public",
22469
+ "description": "The checked state of the control.",
22470
+ "inheritedFrom": {
22471
+ "name": "ListboxOption",
22472
+ "module": "src/listbox-option/listbox-option.ts"
22473
+ }
22474
+ },
22475
+ {
22476
+ "kind": "method",
22477
+ "name": "selectedChanged",
22478
+ "privacy": "protected",
22479
+ "return": {
22480
+ "type": {
22481
+ "text": "void"
22482
+ }
22483
+ },
22484
+ "inheritedFrom": {
22485
+ "name": "ListboxOption",
22486
+ "module": "src/listbox-option/listbox-option.ts"
22487
+ }
22488
+ },
22489
+ {
22490
+ "kind": "field",
22491
+ "name": "dirtyValue",
22492
+ "type": {
22493
+ "text": "boolean"
22494
+ },
22495
+ "privacy": "public",
22496
+ "default": "false",
22497
+ "description": "Track whether the value has been changed from the initial value",
22498
+ "inheritedFrom": {
22499
+ "name": "ListboxOption",
22500
+ "module": "src/listbox-option/listbox-option.ts"
22501
+ }
22502
+ },
22503
+ {
22504
+ "kind": "field",
22505
+ "name": "initialValue",
22506
+ "type": {
22507
+ "text": "string"
22508
+ },
21990
22509
  "privacy": "protected",
21991
22510
  "description": "The initial value of the option. This value sets the `value` property\nonly when the `value` property has not been explicitly set.",
21992
22511
  "inheritedFrom": {
@@ -22247,7 +22766,7 @@
22247
22766
  },
22248
22767
  {
22249
22768
  "kind": "javascript-module",
22250
- "path": "src/menu/index.ts",
22769
+ "path": "src/modal/index.ts",
22251
22770
  "declarations": [],
22252
22771
  "exports": [
22253
22772
  {
@@ -22255,7 +22774,7 @@
22255
22774
  "name": "*",
22256
22775
  "declaration": {
22257
22776
  "name": "*",
22258
- "package": "./menu.template"
22777
+ "package": "./modal.styles"
22259
22778
  }
22260
22779
  },
22261
22780
  {
@@ -22263,7 +22782,7 @@
22263
22782
  "name": "*",
22264
22783
  "declaration": {
22265
22784
  "name": "*",
22266
- "package": "./menu.styles"
22785
+ "package": "./modal.template"
22267
22786
  }
22268
22787
  },
22269
22788
  {
@@ -22271,322 +22790,240 @@
22271
22790
  "name": "*",
22272
22791
  "declaration": {
22273
22792
  "name": "*",
22274
- "package": "./menu"
22793
+ "package": "./modal"
22275
22794
  }
22276
22795
  }
22277
22796
  ]
22278
22797
  },
22279
22798
  {
22280
22799
  "kind": "javascript-module",
22281
- "path": "src/menu/menu.styles.ts",
22800
+ "path": "src/modal/modal.styles.ts",
22282
22801
  "declarations": [
22283
22802
  {
22284
- "kind": "function",
22285
- "name": "foundationMenuStyles",
22286
- "return": {
22287
- "type": {
22288
- "text": "ElementStyles"
22289
- }
22803
+ "kind": "variable",
22804
+ "name": "foundationModalStyles",
22805
+ "type": {
22806
+ "text": "ElementStyles"
22290
22807
  },
22291
- "parameters": [
22292
- {
22293
- "name": "context",
22294
- "type": {
22295
- "text": "ElementDefinitionContext"
22296
- }
22297
- },
22298
- {
22299
- "name": "definition",
22300
- "type": {
22301
- "text": "FoundationElementDefinition"
22302
- }
22303
- }
22304
- ]
22808
+ "default": "css`\n ${foundationDialogStyles}\n`"
22305
22809
  }
22306
22810
  ],
22307
22811
  "exports": [
22308
22812
  {
22309
22813
  "kind": "js",
22310
- "name": "foundationMenuStyles",
22814
+ "name": "foundationModalStyles",
22311
22815
  "declaration": {
22312
- "name": "foundationMenuStyles",
22313
- "module": "src/menu/menu.styles.ts"
22816
+ "name": "foundationModalStyles",
22817
+ "module": "src/modal/modal.styles.ts"
22314
22818
  }
22315
22819
  }
22316
22820
  ]
22317
22821
  },
22318
22822
  {
22319
22823
  "kind": "javascript-module",
22320
- "path": "src/menu/menu.template.ts",
22824
+ "path": "src/modal/modal.template.ts",
22321
22825
  "declarations": [
22322
22826
  {
22323
- "kind": "function",
22324
- "name": "foundationMenuTemplate",
22325
- "return": {
22326
- "type": {
22327
- "text": "ViewTemplate<Menu>"
22328
- }
22827
+ "kind": "variable",
22828
+ "name": "foundationModalTemplate",
22829
+ "type": {
22830
+ "text": "ViewTemplate<Modal>"
22329
22831
  },
22330
- "parameters": [
22331
- {
22332
- "name": "context",
22333
- "type": {
22334
- "text": "ElementDefinitionContext"
22335
- }
22336
- },
22337
- {
22338
- "name": "definition",
22339
- "type": {
22340
- "text": "FoundationElementDefinition"
22341
- }
22342
- }
22343
- ]
22832
+ "default": "html`\n ${foundationDialogTemplate}\n`"
22344
22833
  }
22345
22834
  ],
22346
22835
  "exports": [
22347
22836
  {
22348
22837
  "kind": "js",
22349
- "name": "foundationMenuTemplate",
22838
+ "name": "foundationModalTemplate",
22350
22839
  "declaration": {
22351
- "name": "foundationMenuTemplate",
22352
- "module": "src/menu/menu.template.ts"
22840
+ "name": "foundationModalTemplate",
22841
+ "module": "src/modal/modal.template.ts"
22353
22842
  }
22354
22843
  }
22355
22844
  ]
22356
22845
  },
22357
22846
  {
22358
22847
  "kind": "javascript-module",
22359
- "path": "src/menu/menu.ts",
22848
+ "path": "src/modal/modal.ts",
22360
22849
  "declarations": [
22850
+ {
22851
+ "kind": "variable",
22852
+ "name": "foundationModalShadowOptions",
22853
+ "type": {
22854
+ "text": "ShadowRootInit"
22855
+ },
22856
+ "default": "{\n mode: 'open',\n delegatesFocus: true,\n}"
22857
+ },
22858
+ {
22859
+ "kind": "variable",
22860
+ "name": "defaultModalConfig",
22861
+ "type": {
22862
+ "text": "object"
22863
+ },
22864
+ "default": "{}"
22865
+ },
22361
22866
  {
22362
22867
  "kind": "class",
22363
22868
  "description": "",
22364
- "name": "Menu",
22365
- "superclass": {
22366
- "name": "FASTMenu",
22367
- "package": "@microsoft/fast-components"
22368
- },
22369
- "tagName": "%%prefix%%-menu",
22370
- "customElement": true,
22869
+ "name": "Modal",
22371
22870
  "members": [
22372
22871
  {
22373
22872
  "kind": "method",
22374
- "name": "itemsChanged",
22375
- "privacy": "private",
22873
+ "name": "show",
22376
22874
  "return": {
22377
22875
  "type": {
22378
22876
  "text": "void"
22379
22877
  }
22380
22878
  },
22381
- "parameters": [
22382
- {
22383
- "name": "oldValue",
22384
- "type": {
22385
- "text": "HTMLElement[]"
22386
- }
22387
- },
22388
- {
22389
- "name": "newValue",
22390
- "type": {
22391
- "text": "HTMLElement[]"
22392
- }
22393
- }
22394
- ],
22879
+ "description": "Show the HTMLDialogElement and its contents",
22395
22880
  "inheritedFrom": {
22396
- "name": "Menu",
22397
- "module": "src/menu/menu.ts"
22881
+ "name": "<local>_DialogElement",
22882
+ "module": "src/dialog/dialog.ts"
22398
22883
  }
22399
22884
  },
22400
22885
  {
22401
22886
  "kind": "field",
22402
- "name": "menuItems",
22887
+ "name": "mainElement",
22403
22888
  "type": {
22404
- "text": "Element[] | undefined"
22889
+ "text": "HTMLDialogElement"
22405
22890
  },
22406
- "privacy": "private",
22891
+ "description": "A reference to the dialog element\nin the component Shadow DOM.",
22407
22892
  "inheritedFrom": {
22408
- "name": "Menu",
22409
- "module": "src/menu/menu.ts"
22893
+ "name": "<local>_DialogElement",
22894
+ "module": "src/dialog/dialog.ts"
22410
22895
  }
22411
22896
  },
22412
22897
  {
22413
22898
  "kind": "field",
22414
- "name": "expandedItem",
22899
+ "name": "notification",
22415
22900
  "type": {
22416
- "text": "MenuItem | null"
22901
+ "text": "NotificationStructure"
22417
22902
  },
22418
- "privacy": "private",
22419
- "default": "null",
22420
22903
  "inheritedFrom": {
22421
- "name": "Menu",
22422
- "module": "src/menu/menu.ts"
22904
+ "name": "<local>_DialogElement",
22905
+ "module": "src/dialog/dialog.ts"
22423
22906
  }
22424
22907
  },
22425
22908
  {
22426
- "kind": "field",
22427
- "name": "focusIndex",
22428
- "type": {
22429
- "text": "number"
22430
- },
22431
- "privacy": "private",
22432
- "default": "-1",
22433
- "description": "The index of the focusable element in the items array\ndefaults to -1",
22909
+ "kind": "method",
22910
+ "name": "notificationChanged",
22434
22911
  "inheritedFrom": {
22435
- "name": "Menu",
22436
- "module": "src/menu/menu.ts"
22912
+ "name": "<local>_DialogElement",
22913
+ "module": "src/dialog/dialog.ts"
22437
22914
  }
22438
22915
  },
22439
22916
  {
22440
22917
  "kind": "field",
22441
- "name": "focusableElementRoles",
22918
+ "name": "type",
22442
22919
  "type": {
22443
- "text": "{ [key: string]: string }"
22444
- },
22445
- "privacy": "private",
22446
- "static": true,
22447
- "default": "roleForMenuItem",
22448
- "inheritedFrom": {
22449
- "name": "Menu",
22450
- "module": "src/menu/menu.ts"
22451
- }
22452
- },
22453
- {
22454
- "kind": "method",
22455
- "name": "focus",
22456
- "privacy": "public",
22457
- "return": {
22458
- "type": {
22459
- "text": "void"
22460
- }
22461
- },
22462
- "description": "Focuses the first item in the menu.",
22463
- "inheritedFrom": {
22464
- "name": "Menu",
22465
- "module": "src/menu/menu.ts"
22466
- }
22467
- },
22468
- {
22469
- "kind": "method",
22470
- "name": "collapseExpandedItem",
22471
- "privacy": "public",
22472
- "return": {
22473
- "type": {
22474
- "text": "void"
22475
- }
22920
+ "text": "DialogType"
22476
22921
  },
22477
- "description": "Collapses any expanded menu items.",
22922
+ "default": "'default'",
22478
22923
  "inheritedFrom": {
22479
- "name": "Menu",
22480
- "module": "src/menu/menu.ts"
22924
+ "name": "<local>_DialogElement",
22925
+ "module": "src/dialog/dialog.ts"
22481
22926
  }
22482
22927
  },
22483
22928
  {
22484
22929
  "kind": "field",
22485
- "name": "handleItemFocus",
22486
- "privacy": "private",
22930
+ "name": "position",
22931
+ "type": {
22932
+ "text": "DialogPosition"
22933
+ },
22934
+ "default": "'center'",
22487
22935
  "inheritedFrom": {
22488
- "name": "Menu",
22489
- "module": "src/menu/menu.ts"
22936
+ "name": "<local>_DialogElement",
22937
+ "module": "src/dialog/dialog.ts"
22490
22938
  }
22491
22939
  },
22492
22940
  {
22493
22941
  "kind": "field",
22494
- "name": "handleExpandedChanged",
22495
- "privacy": "private",
22942
+ "name": "showCloseIcon",
22943
+ "type": {
22944
+ "text": "boolean"
22945
+ },
22946
+ "default": "true",
22947
+ "description": "Whether or not to show the close icon",
22496
22948
  "inheritedFrom": {
22497
- "name": "Menu",
22498
- "module": "src/menu/menu.ts"
22949
+ "name": "<local>_DialogElement",
22950
+ "module": "src/dialog/dialog.ts"
22499
22951
  }
22500
22952
  },
22501
22953
  {
22502
22954
  "kind": "field",
22503
- "name": "removeItemListeners",
22504
- "privacy": "private",
22955
+ "name": "onShowCallback",
22956
+ "type": {
22957
+ "text": "() => void"
22958
+ },
22959
+ "description": "Callback to run *before* HTMLDialogElement is shown",
22505
22960
  "inheritedFrom": {
22506
- "name": "Menu",
22507
- "module": "src/menu/menu.ts"
22961
+ "name": "<local>_DialogElement",
22962
+ "module": "src/dialog/dialog.ts"
22508
22963
  }
22509
22964
  },
22510
22965
  {
22511
22966
  "kind": "field",
22512
- "name": "setItems",
22513
- "privacy": "private",
22967
+ "name": "onCloseCallback",
22968
+ "type": {
22969
+ "text": "() => void"
22970
+ },
22971
+ "description": "Callback to run *after* HTMLDialogElement is closed",
22514
22972
  "inheritedFrom": {
22515
- "name": "Menu",
22516
- "module": "src/menu/menu.ts"
22973
+ "name": "<local>_DialogElement",
22974
+ "module": "src/dialog/dialog.ts"
22517
22975
  }
22518
22976
  },
22519
22977
  {
22520
22978
  "kind": "field",
22521
- "name": "changeHandler",
22522
- "privacy": "private",
22523
- "description": "handle change from child element",
22979
+ "name": "open",
22980
+ "type": {
22981
+ "text": "boolean"
22982
+ },
22983
+ "description": "Determine if the dialog is showing or closed.",
22984
+ "readonly": true,
22524
22985
  "inheritedFrom": {
22525
- "name": "Menu",
22526
- "module": "src/menu/menu.ts"
22986
+ "name": "<local>_DialogElement",
22987
+ "module": "src/dialog/dialog.ts"
22527
22988
  }
22528
22989
  },
22529
22990
  {
22530
22991
  "kind": "method",
22531
- "name": "domChildren",
22532
- "privacy": "private",
22992
+ "name": "close",
22533
22993
  "return": {
22534
22994
  "type": {
22535
- "text": "Element[]"
22995
+ "text": "void"
22536
22996
  }
22537
22997
  },
22538
- "description": "get an array of valid DOM children",
22539
- "inheritedFrom": {
22540
- "name": "Menu",
22541
- "module": "src/menu/menu.ts"
22542
- }
22543
- },
22544
- {
22545
- "kind": "field",
22546
- "name": "isMenuItemElement",
22547
- "privacy": "private",
22548
- "description": "check if the item is a menu item",
22998
+ "description": "Remove the HTMLDialogElement from display",
22549
22999
  "inheritedFrom": {
22550
- "name": "Menu",
22551
- "module": "src/menu/menu.ts"
23000
+ "name": "<local>_DialogElement",
23001
+ "module": "src/dialog/dialog.ts"
22552
23002
  }
22553
23003
  },
22554
23004
  {
22555
- "kind": "field",
22556
- "name": "isFocusableElement",
22557
- "privacy": "private",
22558
- "description": "check if the item is focusable",
23005
+ "kind": "method",
23006
+ "name": "dismiss",
23007
+ "privacy": "public",
23008
+ "description": "Dismiss the Dialog from display and calls the dismissing action.",
22559
23009
  "inheritedFrom": {
22560
- "name": "Menu",
22561
- "module": "src/menu/menu.ts"
23010
+ "name": "<local>_DialogElement",
23011
+ "module": "src/dialog/dialog.ts"
22562
23012
  }
22563
23013
  },
22564
23014
  {
22565
23015
  "kind": "method",
22566
- "name": "setFocus",
22567
- "privacy": "private",
23016
+ "name": "closeDialog",
23017
+ "privacy": "public",
22568
23018
  "return": {
22569
23019
  "type": {
22570
23020
  "text": "void"
22571
23021
  }
22572
23022
  },
22573
- "parameters": [
22574
- {
22575
- "name": "focusIndex",
22576
- "type": {
22577
- "text": "number"
22578
- }
22579
- },
22580
- {
22581
- "name": "adjustment",
22582
- "type": {
22583
- "text": "number"
22584
- }
22585
- }
22586
- ],
23023
+ "description": "Dismiss the Dialog from display.",
22587
23024
  "inheritedFrom": {
22588
- "name": "Menu",
22589
- "module": "src/menu/menu.ts"
23025
+ "name": "<local>_DialogElement",
23026
+ "module": "src/dialog/dialog.ts"
22590
23027
  }
22591
23028
  },
22592
23029
  {
@@ -22696,66 +23133,95 @@
22696
23133
  ],
22697
23134
  "description": "Defines an element registry function with a set of element definition defaults.",
22698
23135
  "inheritedFrom": {
22699
- "name": "FoundationElement",
22700
- "module": "src/foundation-element/foundation-element.ts"
23136
+ "name": "FoundationElement",
23137
+ "module": "src/foundation-element/foundation-element.ts"
23138
+ }
23139
+ }
23140
+ ],
23141
+ "superclass": {
23142
+ "name": "DialogElement",
23143
+ "module": "/src/dialog"
23144
+ },
23145
+ "tagName": "%%prefix%%-modal",
23146
+ "customElement": true,
23147
+ "attributes": [
23148
+ {
23149
+ "name": "type",
23150
+ "type": {
23151
+ "text": "DialogType"
23152
+ },
23153
+ "default": "'default'",
23154
+ "fieldName": "type",
23155
+ "inheritedFrom": {
23156
+ "name": "<local>_DialogElement",
23157
+ "module": "src/dialog/dialog.ts"
23158
+ }
23159
+ },
23160
+ {
23161
+ "name": "position",
23162
+ "type": {
23163
+ "text": "DialogPosition"
23164
+ },
23165
+ "default": "'center'",
23166
+ "fieldName": "position",
23167
+ "inheritedFrom": {
23168
+ "name": "<local>_DialogElement",
23169
+ "module": "src/dialog/dialog.ts"
23170
+ }
23171
+ },
23172
+ {
23173
+ "name": "show-close-icon",
23174
+ "type": {
23175
+ "text": "boolean"
23176
+ },
23177
+ "default": "true",
23178
+ "description": "Whether or not to show the close icon",
23179
+ "fieldName": "showCloseIcon",
23180
+ "inheritedFrom": {
23181
+ "name": "<local>_DialogElement",
23182
+ "module": "src/dialog/dialog.ts"
22701
23183
  }
22702
23184
  }
22703
23185
  ]
22704
23186
  },
22705
23187
  {
22706
23188
  "kind": "variable",
22707
- "name": "foundationMenuShadowOptions",
22708
- "type": {
22709
- "text": "ShadowRootInit"
22710
- },
22711
- "default": "undefined"
22712
- },
22713
- {
22714
- "kind": "variable",
22715
- "name": "defaultMenuConfig",
22716
- "type": {
22717
- "text": "object"
22718
- },
22719
- "default": "{}"
22720
- },
22721
- {
22722
- "kind": "variable",
22723
- "name": "foundationMenu",
22724
- "description": "The Foundation Menu",
23189
+ "name": "foundationModal",
23190
+ "description": "The Foundation Modal",
22725
23191
  "privacy": "public"
22726
23192
  }
22727
23193
  ],
22728
23194
  "exports": [
22729
23195
  {
22730
23196
  "kind": "js",
22731
- "name": "Menu",
23197
+ "name": "foundationModalShadowOptions",
22732
23198
  "declaration": {
22733
- "name": "Menu",
22734
- "module": "src/menu/menu.ts"
23199
+ "name": "foundationModalShadowOptions",
23200
+ "module": "src/modal/modal.ts"
22735
23201
  }
22736
23202
  },
22737
23203
  {
22738
23204
  "kind": "js",
22739
- "name": "foundationMenuShadowOptions",
23205
+ "name": "defaultModalConfig",
22740
23206
  "declaration": {
22741
- "name": "foundationMenuShadowOptions",
22742
- "module": "src/menu/menu.ts"
23207
+ "name": "defaultModalConfig",
23208
+ "module": "src/modal/modal.ts"
22743
23209
  }
22744
23210
  },
22745
23211
  {
22746
23212
  "kind": "js",
22747
- "name": "defaultMenuConfig",
23213
+ "name": "Modal",
22748
23214
  "declaration": {
22749
- "name": "defaultMenuConfig",
22750
- "module": "src/menu/menu.ts"
23215
+ "name": "Modal",
23216
+ "module": "src/modal/modal.ts"
22751
23217
  }
22752
23218
  },
22753
23219
  {
22754
23220
  "kind": "js",
22755
- "name": "foundationMenu",
23221
+ "name": "foundationModal",
22756
23222
  "declaration": {
22757
- "name": "foundationMenu",
22758
- "module": "src/menu/menu.ts"
23223
+ "name": "foundationModal",
23224
+ "module": "src/modal/modal.ts"
22759
23225
  }
22760
23226
  }
22761
23227
  ]
@@ -23240,468 +23706,6 @@
23240
23706
  }
23241
23707
  ]
23242
23708
  },
23243
- {
23244
- "kind": "javascript-module",
23245
- "path": "src/modal/index.ts",
23246
- "declarations": [],
23247
- "exports": [
23248
- {
23249
- "kind": "js",
23250
- "name": "*",
23251
- "declaration": {
23252
- "name": "*",
23253
- "package": "./modal.styles"
23254
- }
23255
- },
23256
- {
23257
- "kind": "js",
23258
- "name": "*",
23259
- "declaration": {
23260
- "name": "*",
23261
- "package": "./modal.template"
23262
- }
23263
- },
23264
- {
23265
- "kind": "js",
23266
- "name": "*",
23267
- "declaration": {
23268
- "name": "*",
23269
- "package": "./modal"
23270
- }
23271
- }
23272
- ]
23273
- },
23274
- {
23275
- "kind": "javascript-module",
23276
- "path": "src/modal/modal.styles.ts",
23277
- "declarations": [
23278
- {
23279
- "kind": "variable",
23280
- "name": "foundationModalStyles",
23281
- "type": {
23282
- "text": "ElementStyles"
23283
- },
23284
- "default": "css`\n ${foundationDialogStyles}\n`"
23285
- }
23286
- ],
23287
- "exports": [
23288
- {
23289
- "kind": "js",
23290
- "name": "foundationModalStyles",
23291
- "declaration": {
23292
- "name": "foundationModalStyles",
23293
- "module": "src/modal/modal.styles.ts"
23294
- }
23295
- }
23296
- ]
23297
- },
23298
- {
23299
- "kind": "javascript-module",
23300
- "path": "src/modal/modal.template.ts",
23301
- "declarations": [
23302
- {
23303
- "kind": "variable",
23304
- "name": "foundationModalTemplate",
23305
- "type": {
23306
- "text": "ViewTemplate<Modal>"
23307
- },
23308
- "default": "html`\n ${foundationDialogTemplate}\n`"
23309
- }
23310
- ],
23311
- "exports": [
23312
- {
23313
- "kind": "js",
23314
- "name": "foundationModalTemplate",
23315
- "declaration": {
23316
- "name": "foundationModalTemplate",
23317
- "module": "src/modal/modal.template.ts"
23318
- }
23319
- }
23320
- ]
23321
- },
23322
- {
23323
- "kind": "javascript-module",
23324
- "path": "src/modal/modal.ts",
23325
- "declarations": [
23326
- {
23327
- "kind": "variable",
23328
- "name": "foundationModalShadowOptions",
23329
- "type": {
23330
- "text": "ShadowRootInit"
23331
- },
23332
- "default": "{\n mode: 'open',\n delegatesFocus: true,\n}"
23333
- },
23334
- {
23335
- "kind": "variable",
23336
- "name": "defaultModalConfig",
23337
- "type": {
23338
- "text": "object"
23339
- },
23340
- "default": "{}"
23341
- },
23342
- {
23343
- "kind": "class",
23344
- "description": "",
23345
- "name": "Modal",
23346
- "members": [
23347
- {
23348
- "kind": "method",
23349
- "name": "show",
23350
- "return": {
23351
- "type": {
23352
- "text": "void"
23353
- }
23354
- },
23355
- "description": "Show the HTMLDialogElement and its contents",
23356
- "inheritedFrom": {
23357
- "name": "<local>_DialogElement",
23358
- "module": "src/dialog/dialog.ts"
23359
- }
23360
- },
23361
- {
23362
- "kind": "field",
23363
- "name": "mainElement",
23364
- "type": {
23365
- "text": "HTMLDialogElement"
23366
- },
23367
- "description": "A reference to the dialog element\nin the component Shadow DOM.",
23368
- "inheritedFrom": {
23369
- "name": "<local>_DialogElement",
23370
- "module": "src/dialog/dialog.ts"
23371
- }
23372
- },
23373
- {
23374
- "kind": "field",
23375
- "name": "notification",
23376
- "type": {
23377
- "text": "NotificationStructure"
23378
- },
23379
- "inheritedFrom": {
23380
- "name": "<local>_DialogElement",
23381
- "module": "src/dialog/dialog.ts"
23382
- }
23383
- },
23384
- {
23385
- "kind": "method",
23386
- "name": "notificationChanged",
23387
- "inheritedFrom": {
23388
- "name": "<local>_DialogElement",
23389
- "module": "src/dialog/dialog.ts"
23390
- }
23391
- },
23392
- {
23393
- "kind": "field",
23394
- "name": "type",
23395
- "type": {
23396
- "text": "DialogType"
23397
- },
23398
- "default": "'default'",
23399
- "inheritedFrom": {
23400
- "name": "<local>_DialogElement",
23401
- "module": "src/dialog/dialog.ts"
23402
- }
23403
- },
23404
- {
23405
- "kind": "field",
23406
- "name": "position",
23407
- "type": {
23408
- "text": "DialogPosition"
23409
- },
23410
- "default": "'center'",
23411
- "inheritedFrom": {
23412
- "name": "<local>_DialogElement",
23413
- "module": "src/dialog/dialog.ts"
23414
- }
23415
- },
23416
- {
23417
- "kind": "field",
23418
- "name": "showCloseIcon",
23419
- "type": {
23420
- "text": "boolean"
23421
- },
23422
- "default": "true",
23423
- "description": "Whether or not to show the close icon",
23424
- "inheritedFrom": {
23425
- "name": "<local>_DialogElement",
23426
- "module": "src/dialog/dialog.ts"
23427
- }
23428
- },
23429
- {
23430
- "kind": "field",
23431
- "name": "onShowCallback",
23432
- "type": {
23433
- "text": "() => void"
23434
- },
23435
- "description": "Callback to run *before* HTMLDialogElement is shown",
23436
- "inheritedFrom": {
23437
- "name": "<local>_DialogElement",
23438
- "module": "src/dialog/dialog.ts"
23439
- }
23440
- },
23441
- {
23442
- "kind": "field",
23443
- "name": "onCloseCallback",
23444
- "type": {
23445
- "text": "() => void"
23446
- },
23447
- "description": "Callback to run *after* HTMLDialogElement is closed",
23448
- "inheritedFrom": {
23449
- "name": "<local>_DialogElement",
23450
- "module": "src/dialog/dialog.ts"
23451
- }
23452
- },
23453
- {
23454
- "kind": "field",
23455
- "name": "open",
23456
- "type": {
23457
- "text": "boolean"
23458
- },
23459
- "description": "Determine if the dialog is showing or closed.",
23460
- "readonly": true,
23461
- "inheritedFrom": {
23462
- "name": "<local>_DialogElement",
23463
- "module": "src/dialog/dialog.ts"
23464
- }
23465
- },
23466
- {
23467
- "kind": "method",
23468
- "name": "close",
23469
- "return": {
23470
- "type": {
23471
- "text": "void"
23472
- }
23473
- },
23474
- "description": "Remove the HTMLDialogElement from display",
23475
- "inheritedFrom": {
23476
- "name": "<local>_DialogElement",
23477
- "module": "src/dialog/dialog.ts"
23478
- }
23479
- },
23480
- {
23481
- "kind": "method",
23482
- "name": "dismiss",
23483
- "privacy": "public",
23484
- "description": "Dismiss the Dialog from display and calls the dismissing action.",
23485
- "inheritedFrom": {
23486
- "name": "<local>_DialogElement",
23487
- "module": "src/dialog/dialog.ts"
23488
- }
23489
- },
23490
- {
23491
- "kind": "method",
23492
- "name": "closeDialog",
23493
- "privacy": "public",
23494
- "return": {
23495
- "type": {
23496
- "text": "void"
23497
- }
23498
- },
23499
- "description": "Dismiss the Dialog from display.",
23500
- "inheritedFrom": {
23501
- "name": "<local>_DialogElement",
23502
- "module": "src/dialog/dialog.ts"
23503
- }
23504
- },
23505
- {
23506
- "kind": "field",
23507
- "name": "_presentation",
23508
- "type": {
23509
- "text": "ComponentPresentation | null | undefined"
23510
- },
23511
- "privacy": "private",
23512
- "default": "void 0",
23513
- "inheritedFrom": {
23514
- "name": "FoundationElement",
23515
- "module": "src/foundation-element/foundation-element.ts"
23516
- }
23517
- },
23518
- {
23519
- "kind": "field",
23520
- "name": "$presentation",
23521
- "type": {
23522
- "text": "ComponentPresentation | null"
23523
- },
23524
- "privacy": "public",
23525
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
23526
- "inheritedFrom": {
23527
- "name": "FoundationElement",
23528
- "module": "src/foundation-element/foundation-element.ts"
23529
- }
23530
- },
23531
- {
23532
- "kind": "field",
23533
- "name": "template",
23534
- "type": {
23535
- "text": "ElementViewTemplate | void | null"
23536
- },
23537
- "privacy": "public",
23538
- "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.",
23539
- "inheritedFrom": {
23540
- "name": "FoundationElement",
23541
- "module": "src/foundation-element/foundation-element.ts"
23542
- }
23543
- },
23544
- {
23545
- "kind": "method",
23546
- "name": "templateChanged",
23547
- "privacy": "protected",
23548
- "return": {
23549
- "type": {
23550
- "text": "void"
23551
- }
23552
- },
23553
- "inheritedFrom": {
23554
- "name": "FoundationElement",
23555
- "module": "src/foundation-element/foundation-element.ts"
23556
- }
23557
- },
23558
- {
23559
- "kind": "field",
23560
- "name": "styles",
23561
- "type": {
23562
- "text": "ElementStyles | void | null"
23563
- },
23564
- "privacy": "public",
23565
- "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.",
23566
- "inheritedFrom": {
23567
- "name": "FoundationElement",
23568
- "module": "src/foundation-element/foundation-element.ts"
23569
- }
23570
- },
23571
- {
23572
- "kind": "method",
23573
- "name": "stylesChanged",
23574
- "privacy": "protected",
23575
- "return": {
23576
- "type": {
23577
- "text": "void"
23578
- }
23579
- },
23580
- "inheritedFrom": {
23581
- "name": "FoundationElement",
23582
- "module": "src/foundation-element/foundation-element.ts"
23583
- }
23584
- },
23585
- {
23586
- "kind": "method",
23587
- "name": "compose",
23588
- "privacy": "public",
23589
- "static": true,
23590
- "return": {
23591
- "type": {
23592
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
23593
- }
23594
- },
23595
- "parameters": [
23596
- {
23597
- "name": "this",
23598
- "type": {
23599
- "text": "K"
23600
- }
23601
- },
23602
- {
23603
- "name": "elementDefinition",
23604
- "type": {
23605
- "text": "T"
23606
- },
23607
- "description": "The definition of the element to create the registry\nfunction for."
23608
- }
23609
- ],
23610
- "description": "Defines an element registry function with a set of element definition defaults.",
23611
- "inheritedFrom": {
23612
- "name": "FoundationElement",
23613
- "module": "src/foundation-element/foundation-element.ts"
23614
- }
23615
- }
23616
- ],
23617
- "superclass": {
23618
- "name": "DialogElement",
23619
- "module": "/src/dialog"
23620
- },
23621
- "tagName": "%%prefix%%-modal",
23622
- "customElement": true,
23623
- "attributes": [
23624
- {
23625
- "name": "type",
23626
- "type": {
23627
- "text": "DialogType"
23628
- },
23629
- "default": "'default'",
23630
- "fieldName": "type",
23631
- "inheritedFrom": {
23632
- "name": "<local>_DialogElement",
23633
- "module": "src/dialog/dialog.ts"
23634
- }
23635
- },
23636
- {
23637
- "name": "position",
23638
- "type": {
23639
- "text": "DialogPosition"
23640
- },
23641
- "default": "'center'",
23642
- "fieldName": "position",
23643
- "inheritedFrom": {
23644
- "name": "<local>_DialogElement",
23645
- "module": "src/dialog/dialog.ts"
23646
- }
23647
- },
23648
- {
23649
- "name": "show-close-icon",
23650
- "type": {
23651
- "text": "boolean"
23652
- },
23653
- "default": "true",
23654
- "description": "Whether or not to show the close icon",
23655
- "fieldName": "showCloseIcon",
23656
- "inheritedFrom": {
23657
- "name": "<local>_DialogElement",
23658
- "module": "src/dialog/dialog.ts"
23659
- }
23660
- }
23661
- ]
23662
- },
23663
- {
23664
- "kind": "variable",
23665
- "name": "foundationModal",
23666
- "description": "The Foundation Modal",
23667
- "privacy": "public"
23668
- }
23669
- ],
23670
- "exports": [
23671
- {
23672
- "kind": "js",
23673
- "name": "foundationModalShadowOptions",
23674
- "declaration": {
23675
- "name": "foundationModalShadowOptions",
23676
- "module": "src/modal/modal.ts"
23677
- }
23678
- },
23679
- {
23680
- "kind": "js",
23681
- "name": "defaultModalConfig",
23682
- "declaration": {
23683
- "name": "defaultModalConfig",
23684
- "module": "src/modal/modal.ts"
23685
- }
23686
- },
23687
- {
23688
- "kind": "js",
23689
- "name": "Modal",
23690
- "declaration": {
23691
- "name": "Modal",
23692
- "module": "src/modal/modal.ts"
23693
- }
23694
- },
23695
- {
23696
- "kind": "js",
23697
- "name": "foundationModal",
23698
- "declaration": {
23699
- "name": "foundationModal",
23700
- "module": "src/modal/modal.ts"
23701
- }
23702
- }
23703
- ]
23704
- },
23705
23709
  {
23706
23710
  "kind": "javascript-module",
23707
23711
  "path": "src/multiselect/index.ts",
@@ -28111,188 +28115,6 @@
28111
28115
  }
28112
28116
  ]
28113
28117
  },
28114
- {
28115
- "kind": "javascript-module",
28116
- "path": "src/progress-ring/index.ts",
28117
- "declarations": [],
28118
- "exports": [
28119
- {
28120
- "kind": "js",
28121
- "name": "*",
28122
- "declaration": {
28123
- "name": "*",
28124
- "package": "./progress-ring.template"
28125
- }
28126
- },
28127
- {
28128
- "kind": "js",
28129
- "name": "*",
28130
- "declaration": {
28131
- "name": "*",
28132
- "package": "./progress-ring.styles"
28133
- }
28134
- },
28135
- {
28136
- "kind": "js",
28137
- "name": "*",
28138
- "declaration": {
28139
- "name": "*",
28140
- "package": "./progress-ring"
28141
- }
28142
- }
28143
- ]
28144
- },
28145
- {
28146
- "kind": "javascript-module",
28147
- "path": "src/progress-ring/progress-ring.styles.ts",
28148
- "declarations": [
28149
- {
28150
- "kind": "function",
28151
- "name": "foundationProgressRingStyles",
28152
- "return": {
28153
- "type": {
28154
- "text": "ElementStyles"
28155
- }
28156
- },
28157
- "parameters": [
28158
- {
28159
- "name": "context",
28160
- "type": {
28161
- "text": "ElementDefinitionContext"
28162
- }
28163
- },
28164
- {
28165
- "name": "definition",
28166
- "type": {
28167
- "text": "ProgressRingOptions"
28168
- }
28169
- }
28170
- ]
28171
- }
28172
- ],
28173
- "exports": [
28174
- {
28175
- "kind": "js",
28176
- "name": "foundationProgressRingStyles",
28177
- "declaration": {
28178
- "name": "foundationProgressRingStyles",
28179
- "module": "src/progress-ring/progress-ring.styles.ts"
28180
- }
28181
- }
28182
- ]
28183
- },
28184
- {
28185
- "kind": "javascript-module",
28186
- "path": "src/progress-ring/progress-ring.template.ts",
28187
- "declarations": [
28188
- {
28189
- "kind": "function",
28190
- "name": "foundationProgressRingTemplate",
28191
- "return": {
28192
- "type": {
28193
- "text": "ViewTemplate<ProgressRing>"
28194
- }
28195
- },
28196
- "parameters": [
28197
- {
28198
- "name": "context",
28199
- "type": {
28200
- "text": "ElementDefinitionContext"
28201
- }
28202
- },
28203
- {
28204
- "name": "definition",
28205
- "type": {
28206
- "text": "ProgressRingOptions"
28207
- }
28208
- }
28209
- ]
28210
- }
28211
- ],
28212
- "exports": [
28213
- {
28214
- "kind": "js",
28215
- "name": "foundationProgressRingTemplate",
28216
- "declaration": {
28217
- "name": "foundationProgressRingTemplate",
28218
- "module": "src/progress-ring/progress-ring.template.ts"
28219
- }
28220
- }
28221
- ]
28222
- },
28223
- {
28224
- "kind": "javascript-module",
28225
- "path": "src/progress-ring/progress-ring.ts",
28226
- "declarations": [
28227
- {
28228
- "kind": "class",
28229
- "description": "",
28230
- "name": "ProgressRing",
28231
- "superclass": {
28232
- "name": "FASTProgressRing",
28233
- "package": "@microsoft/fast-components"
28234
- },
28235
- "tagName": "%%prefix%%-progress-ring",
28236
- "customElement": true
28237
- },
28238
- {
28239
- "kind": "variable",
28240
- "name": "foundationProgressRingShadowOptions",
28241
- "type": {
28242
- "text": "ShadowRootInit"
28243
- },
28244
- "default": "undefined"
28245
- },
28246
- {
28247
- "kind": "variable",
28248
- "name": "defaultProgressRingConfig",
28249
- "type": {
28250
- "text": "object"
28251
- },
28252
- "default": "{\n indeterminateIndicator: `\n <svg class=\"progress\" part=\"progress\" viewBox=\"0 0 16 16\">\n <circle class=\"background\" part=\"background\" cx=\"8px\" cy=\"8px\" r=\"7px\"></circle>\n <circle class=\"indeterminate-indicator-1\" part=\"indeterminate-indicator-1\" cx=\"8px\" cy=\"8px\" r=\"7px\"></circle>\n </svg>\n `,\n}"
28253
- },
28254
- {
28255
- "kind": "variable",
28256
- "name": "foundationProgressRing",
28257
- "description": "The Foundation Progress Ring",
28258
- "privacy": "public"
28259
- }
28260
- ],
28261
- "exports": [
28262
- {
28263
- "kind": "js",
28264
- "name": "ProgressRing",
28265
- "declaration": {
28266
- "name": "ProgressRing",
28267
- "module": "src/progress-ring/progress-ring.ts"
28268
- }
28269
- },
28270
- {
28271
- "kind": "js",
28272
- "name": "foundationProgressRingShadowOptions",
28273
- "declaration": {
28274
- "name": "foundationProgressRingShadowOptions",
28275
- "module": "src/progress-ring/progress-ring.ts"
28276
- }
28277
- },
28278
- {
28279
- "kind": "js",
28280
- "name": "defaultProgressRingConfig",
28281
- "declaration": {
28282
- "name": "defaultProgressRingConfig",
28283
- "module": "src/progress-ring/progress-ring.ts"
28284
- }
28285
- },
28286
- {
28287
- "kind": "js",
28288
- "name": "foundationProgressRing",
28289
- "declaration": {
28290
- "name": "foundationProgressRing",
28291
- "module": "src/progress-ring/progress-ring.ts"
28292
- }
28293
- }
28294
- ]
28295
- },
28296
28118
  {
28297
28119
  "kind": "javascript-module",
28298
28120
  "path": "src/radio/index.ts",
@@ -31254,6 +31076,188 @@
31254
31076
  }
31255
31077
  ]
31256
31078
  },
31079
+ {
31080
+ "kind": "javascript-module",
31081
+ "path": "src/progress-ring/index.ts",
31082
+ "declarations": [],
31083
+ "exports": [
31084
+ {
31085
+ "kind": "js",
31086
+ "name": "*",
31087
+ "declaration": {
31088
+ "name": "*",
31089
+ "package": "./progress-ring.template"
31090
+ }
31091
+ },
31092
+ {
31093
+ "kind": "js",
31094
+ "name": "*",
31095
+ "declaration": {
31096
+ "name": "*",
31097
+ "package": "./progress-ring.styles"
31098
+ }
31099
+ },
31100
+ {
31101
+ "kind": "js",
31102
+ "name": "*",
31103
+ "declaration": {
31104
+ "name": "*",
31105
+ "package": "./progress-ring"
31106
+ }
31107
+ }
31108
+ ]
31109
+ },
31110
+ {
31111
+ "kind": "javascript-module",
31112
+ "path": "src/progress-ring/progress-ring.styles.ts",
31113
+ "declarations": [
31114
+ {
31115
+ "kind": "function",
31116
+ "name": "foundationProgressRingStyles",
31117
+ "return": {
31118
+ "type": {
31119
+ "text": "ElementStyles"
31120
+ }
31121
+ },
31122
+ "parameters": [
31123
+ {
31124
+ "name": "context",
31125
+ "type": {
31126
+ "text": "ElementDefinitionContext"
31127
+ }
31128
+ },
31129
+ {
31130
+ "name": "definition",
31131
+ "type": {
31132
+ "text": "ProgressRingOptions"
31133
+ }
31134
+ }
31135
+ ]
31136
+ }
31137
+ ],
31138
+ "exports": [
31139
+ {
31140
+ "kind": "js",
31141
+ "name": "foundationProgressRingStyles",
31142
+ "declaration": {
31143
+ "name": "foundationProgressRingStyles",
31144
+ "module": "src/progress-ring/progress-ring.styles.ts"
31145
+ }
31146
+ }
31147
+ ]
31148
+ },
31149
+ {
31150
+ "kind": "javascript-module",
31151
+ "path": "src/progress-ring/progress-ring.template.ts",
31152
+ "declarations": [
31153
+ {
31154
+ "kind": "function",
31155
+ "name": "foundationProgressRingTemplate",
31156
+ "return": {
31157
+ "type": {
31158
+ "text": "ViewTemplate<ProgressRing>"
31159
+ }
31160
+ },
31161
+ "parameters": [
31162
+ {
31163
+ "name": "context",
31164
+ "type": {
31165
+ "text": "ElementDefinitionContext"
31166
+ }
31167
+ },
31168
+ {
31169
+ "name": "definition",
31170
+ "type": {
31171
+ "text": "ProgressRingOptions"
31172
+ }
31173
+ }
31174
+ ]
31175
+ }
31176
+ ],
31177
+ "exports": [
31178
+ {
31179
+ "kind": "js",
31180
+ "name": "foundationProgressRingTemplate",
31181
+ "declaration": {
31182
+ "name": "foundationProgressRingTemplate",
31183
+ "module": "src/progress-ring/progress-ring.template.ts"
31184
+ }
31185
+ }
31186
+ ]
31187
+ },
31188
+ {
31189
+ "kind": "javascript-module",
31190
+ "path": "src/progress-ring/progress-ring.ts",
31191
+ "declarations": [
31192
+ {
31193
+ "kind": "class",
31194
+ "description": "",
31195
+ "name": "ProgressRing",
31196
+ "superclass": {
31197
+ "name": "FASTProgressRing",
31198
+ "package": "@microsoft/fast-components"
31199
+ },
31200
+ "tagName": "%%prefix%%-progress-ring",
31201
+ "customElement": true
31202
+ },
31203
+ {
31204
+ "kind": "variable",
31205
+ "name": "foundationProgressRingShadowOptions",
31206
+ "type": {
31207
+ "text": "ShadowRootInit"
31208
+ },
31209
+ "default": "undefined"
31210
+ },
31211
+ {
31212
+ "kind": "variable",
31213
+ "name": "defaultProgressRingConfig",
31214
+ "type": {
31215
+ "text": "object"
31216
+ },
31217
+ "default": "{\n indeterminateIndicator: `\n <svg class=\"progress\" part=\"progress\" viewBox=\"0 0 16 16\">\n <circle class=\"background\" part=\"background\" cx=\"8px\" cy=\"8px\" r=\"7px\"></circle>\n <circle class=\"indeterminate-indicator-1\" part=\"indeterminate-indicator-1\" cx=\"8px\" cy=\"8px\" r=\"7px\"></circle>\n </svg>\n `,\n}"
31218
+ },
31219
+ {
31220
+ "kind": "variable",
31221
+ "name": "foundationProgressRing",
31222
+ "description": "The Foundation Progress Ring",
31223
+ "privacy": "public"
31224
+ }
31225
+ ],
31226
+ "exports": [
31227
+ {
31228
+ "kind": "js",
31229
+ "name": "ProgressRing",
31230
+ "declaration": {
31231
+ "name": "ProgressRing",
31232
+ "module": "src/progress-ring/progress-ring.ts"
31233
+ }
31234
+ },
31235
+ {
31236
+ "kind": "js",
31237
+ "name": "foundationProgressRingShadowOptions",
31238
+ "declaration": {
31239
+ "name": "foundationProgressRingShadowOptions",
31240
+ "module": "src/progress-ring/progress-ring.ts"
31241
+ }
31242
+ },
31243
+ {
31244
+ "kind": "js",
31245
+ "name": "defaultProgressRingConfig",
31246
+ "declaration": {
31247
+ "name": "defaultProgressRingConfig",
31248
+ "module": "src/progress-ring/progress-ring.ts"
31249
+ }
31250
+ },
31251
+ {
31252
+ "kind": "js",
31253
+ "name": "foundationProgressRing",
31254
+ "declaration": {
31255
+ "name": "foundationProgressRing",
31256
+ "module": "src/progress-ring/progress-ring.ts"
31257
+ }
31258
+ }
31259
+ ]
31260
+ },
31257
31261
  {
31258
31262
  "kind": "javascript-module",
31259
31263
  "path": "src/segmented-item/index.ts",
@@ -39117,390 +39121,6 @@
39117
39121
  }
39118
39122
  ]
39119
39123
  },
39120
- {
39121
- "kind": "javascript-module",
39122
- "path": "src/toolbar/index.ts",
39123
- "declarations": [],
39124
- "exports": [
39125
- {
39126
- "kind": "js",
39127
- "name": "*",
39128
- "declaration": {
39129
- "name": "*",
39130
- "package": "./toolbar.template"
39131
- }
39132
- },
39133
- {
39134
- "kind": "js",
39135
- "name": "*",
39136
- "declaration": {
39137
- "name": "*",
39138
- "package": "./toolbar.styles"
39139
- }
39140
- },
39141
- {
39142
- "kind": "js",
39143
- "name": "*",
39144
- "declaration": {
39145
- "name": "*",
39146
- "package": "./toolbar"
39147
- }
39148
- }
39149
- ]
39150
- },
39151
- {
39152
- "kind": "javascript-module",
39153
- "path": "src/toolbar/toolbar.styles.ts",
39154
- "declarations": [
39155
- {
39156
- "kind": "function",
39157
- "name": "foundationToolbarStyles",
39158
- "return": {
39159
- "type": {
39160
- "text": "ElementStyles"
39161
- }
39162
- },
39163
- "parameters": [
39164
- {
39165
- "name": "context",
39166
- "type": {
39167
- "text": "ElementDefinitionContext"
39168
- }
39169
- },
39170
- {
39171
- "name": "definition",
39172
- "type": {
39173
- "text": "FoundationElementDefinition"
39174
- }
39175
- }
39176
- ]
39177
- }
39178
- ],
39179
- "exports": [
39180
- {
39181
- "kind": "js",
39182
- "name": "foundationToolbarStyles",
39183
- "declaration": {
39184
- "name": "foundationToolbarStyles",
39185
- "module": "src/toolbar/toolbar.styles.ts"
39186
- }
39187
- }
39188
- ]
39189
- },
39190
- {
39191
- "kind": "javascript-module",
39192
- "path": "src/toolbar/toolbar.template.ts",
39193
- "declarations": [
39194
- {
39195
- "kind": "function",
39196
- "name": "foundationToolbarTemplate",
39197
- "return": {
39198
- "type": {
39199
- "text": "ViewTemplate<Toolbar>"
39200
- }
39201
- },
39202
- "parameters": [
39203
- {
39204
- "name": "context",
39205
- "type": {
39206
- "text": "ElementDefinitionContext"
39207
- }
39208
- },
39209
- {
39210
- "name": "definition",
39211
- "type": {
39212
- "text": "FoundationElementDefinition"
39213
- }
39214
- }
39215
- ]
39216
- }
39217
- ],
39218
- "exports": [
39219
- {
39220
- "kind": "js",
39221
- "name": "foundationToolbarTemplate",
39222
- "declaration": {
39223
- "name": "foundationToolbarTemplate",
39224
- "module": "src/toolbar/toolbar.template.ts"
39225
- }
39226
- }
39227
- ]
39228
- },
39229
- {
39230
- "kind": "javascript-module",
39231
- "path": "src/toolbar/toolbar.ts",
39232
- "declarations": [
39233
- {
39234
- "kind": "class",
39235
- "description": "",
39236
- "name": "Toolbar",
39237
- "superclass": {
39238
- "name": "FASTToolbar",
39239
- "package": "@microsoft/fast-components"
39240
- },
39241
- "tagName": "%%prefix%%-toolbar",
39242
- "customElement": true,
39243
- "attributes": [
39244
- {
39245
- "name": "orientation",
39246
- "type": {
39247
- "text": "Orientation"
39248
- },
39249
- "description": "The orientation of the toolbar.",
39250
- "fieldName": "orientation",
39251
- "inheritedFrom": {
39252
- "name": "Toolbar",
39253
- "module": "src/toolbar/toolbar.ts"
39254
- }
39255
- }
39256
- ],
39257
- "members": [
39258
- {
39259
- "kind": "field",
39260
- "name": "activeIndex",
39261
- "inheritedFrom": {
39262
- "name": "Toolbar",
39263
- "module": "src/toolbar/toolbar.ts"
39264
- }
39265
- },
39266
- {
39267
- "kind": "field",
39268
- "name": "orientation",
39269
- "type": {
39270
- "text": "Orientation"
39271
- },
39272
- "privacy": "public",
39273
- "description": "The orientation of the toolbar.",
39274
- "inheritedFrom": {
39275
- "name": "Toolbar",
39276
- "module": "src/toolbar/toolbar.ts"
39277
- }
39278
- },
39279
- {
39280
- "kind": "method",
39281
- "name": "slottedItemsChanged",
39282
- "privacy": "protected",
39283
- "return": {
39284
- "type": {
39285
- "text": "void"
39286
- }
39287
- },
39288
- "inheritedFrom": {
39289
- "name": "Toolbar",
39290
- "module": "src/toolbar/toolbar.ts"
39291
- }
39292
- },
39293
- {
39294
- "kind": "field",
39295
- "name": "childItems",
39296
- "type": {
39297
- "text": "Element[]"
39298
- },
39299
- "privacy": "public",
39300
- "inheritedFrom": {
39301
- "name": "Toolbar",
39302
- "module": "src/toolbar/toolbar.ts"
39303
- }
39304
- },
39305
- {
39306
- "kind": "method",
39307
- "name": "childItemsChanged",
39308
- "privacy": "protected",
39309
- "return": {
39310
- "type": {
39311
- "text": "void"
39312
- }
39313
- },
39314
- "parameters": [
39315
- {
39316
- "name": "prev",
39317
- "type": {
39318
- "text": "undefined | Element[]"
39319
- }
39320
- },
39321
- {
39322
- "name": "next",
39323
- "type": {
39324
- "text": "Element[]"
39325
- }
39326
- }
39327
- ],
39328
- "inheritedFrom": {
39329
- "name": "Toolbar",
39330
- "module": "src/toolbar/toolbar.ts"
39331
- }
39332
- },
39333
- {
39334
- "kind": "field",
39335
- "name": "_presentation",
39336
- "type": {
39337
- "text": "ComponentPresentation | null | undefined"
39338
- },
39339
- "privacy": "private",
39340
- "default": "void 0",
39341
- "inheritedFrom": {
39342
- "name": "FoundationElement",
39343
- "module": "src/foundation-element/foundation-element.ts"
39344
- }
39345
- },
39346
- {
39347
- "kind": "field",
39348
- "name": "$presentation",
39349
- "type": {
39350
- "text": "ComponentPresentation | null"
39351
- },
39352
- "privacy": "public",
39353
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
39354
- "inheritedFrom": {
39355
- "name": "FoundationElement",
39356
- "module": "src/foundation-element/foundation-element.ts"
39357
- }
39358
- },
39359
- {
39360
- "kind": "field",
39361
- "name": "template",
39362
- "type": {
39363
- "text": "ElementViewTemplate | void | null"
39364
- },
39365
- "privacy": "public",
39366
- "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.",
39367
- "inheritedFrom": {
39368
- "name": "FoundationElement",
39369
- "module": "src/foundation-element/foundation-element.ts"
39370
- }
39371
- },
39372
- {
39373
- "kind": "method",
39374
- "name": "templateChanged",
39375
- "privacy": "protected",
39376
- "return": {
39377
- "type": {
39378
- "text": "void"
39379
- }
39380
- },
39381
- "inheritedFrom": {
39382
- "name": "FoundationElement",
39383
- "module": "src/foundation-element/foundation-element.ts"
39384
- }
39385
- },
39386
- {
39387
- "kind": "field",
39388
- "name": "styles",
39389
- "type": {
39390
- "text": "ElementStyles | void | null"
39391
- },
39392
- "privacy": "public",
39393
- "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.",
39394
- "inheritedFrom": {
39395
- "name": "FoundationElement",
39396
- "module": "src/foundation-element/foundation-element.ts"
39397
- }
39398
- },
39399
- {
39400
- "kind": "method",
39401
- "name": "stylesChanged",
39402
- "privacy": "protected",
39403
- "return": {
39404
- "type": {
39405
- "text": "void"
39406
- }
39407
- },
39408
- "inheritedFrom": {
39409
- "name": "FoundationElement",
39410
- "module": "src/foundation-element/foundation-element.ts"
39411
- }
39412
- },
39413
- {
39414
- "kind": "method",
39415
- "name": "compose",
39416
- "privacy": "public",
39417
- "static": true,
39418
- "return": {
39419
- "type": {
39420
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
39421
- }
39422
- },
39423
- "parameters": [
39424
- {
39425
- "name": "this",
39426
- "type": {
39427
- "text": "K"
39428
- }
39429
- },
39430
- {
39431
- "name": "elementDefinition",
39432
- "type": {
39433
- "text": "T"
39434
- },
39435
- "description": "The definition of the element to create the registry\nfunction for."
39436
- }
39437
- ],
39438
- "description": "Defines an element registry function with a set of element definition defaults.",
39439
- "inheritedFrom": {
39440
- "name": "FoundationElement",
39441
- "module": "src/foundation-element/foundation-element.ts"
39442
- }
39443
- }
39444
- ]
39445
- },
39446
- {
39447
- "kind": "variable",
39448
- "name": "foundationToolbarShadowOptions",
39449
- "type": {
39450
- "text": "ShadowRootInit"
39451
- },
39452
- "default": "undefined"
39453
- },
39454
- {
39455
- "kind": "variable",
39456
- "name": "defaultToolbarConfig",
39457
- "type": {
39458
- "text": "object"
39459
- },
39460
- "default": "{}"
39461
- },
39462
- {
39463
- "kind": "variable",
39464
- "name": "foundationToolbar",
39465
- "description": "The Foundation Toolbar",
39466
- "privacy": "public"
39467
- }
39468
- ],
39469
- "exports": [
39470
- {
39471
- "kind": "js",
39472
- "name": "Toolbar",
39473
- "declaration": {
39474
- "name": "Toolbar",
39475
- "module": "src/toolbar/toolbar.ts"
39476
- }
39477
- },
39478
- {
39479
- "kind": "js",
39480
- "name": "foundationToolbarShadowOptions",
39481
- "declaration": {
39482
- "name": "foundationToolbarShadowOptions",
39483
- "module": "src/toolbar/toolbar.ts"
39484
- }
39485
- },
39486
- {
39487
- "kind": "js",
39488
- "name": "defaultToolbarConfig",
39489
- "declaration": {
39490
- "name": "defaultToolbarConfig",
39491
- "module": "src/toolbar/toolbar.ts"
39492
- }
39493
- },
39494
- {
39495
- "kind": "js",
39496
- "name": "foundationToolbar",
39497
- "declaration": {
39498
- "name": "foundationToolbar",
39499
- "module": "src/toolbar/toolbar.ts"
39500
- }
39501
- }
39502
- ]
39503
- },
39504
39124
  {
39505
39125
  "kind": "javascript-module",
39506
39126
  "path": "src/tooltip/index.ts",
@@ -40321,6 +39941,390 @@
40321
39941
  }
40322
39942
  ]
40323
39943
  },
39944
+ {
39945
+ "kind": "javascript-module",
39946
+ "path": "src/toolbar/index.ts",
39947
+ "declarations": [],
39948
+ "exports": [
39949
+ {
39950
+ "kind": "js",
39951
+ "name": "*",
39952
+ "declaration": {
39953
+ "name": "*",
39954
+ "package": "./toolbar.template"
39955
+ }
39956
+ },
39957
+ {
39958
+ "kind": "js",
39959
+ "name": "*",
39960
+ "declaration": {
39961
+ "name": "*",
39962
+ "package": "./toolbar.styles"
39963
+ }
39964
+ },
39965
+ {
39966
+ "kind": "js",
39967
+ "name": "*",
39968
+ "declaration": {
39969
+ "name": "*",
39970
+ "package": "./toolbar"
39971
+ }
39972
+ }
39973
+ ]
39974
+ },
39975
+ {
39976
+ "kind": "javascript-module",
39977
+ "path": "src/toolbar/toolbar.styles.ts",
39978
+ "declarations": [
39979
+ {
39980
+ "kind": "function",
39981
+ "name": "foundationToolbarStyles",
39982
+ "return": {
39983
+ "type": {
39984
+ "text": "ElementStyles"
39985
+ }
39986
+ },
39987
+ "parameters": [
39988
+ {
39989
+ "name": "context",
39990
+ "type": {
39991
+ "text": "ElementDefinitionContext"
39992
+ }
39993
+ },
39994
+ {
39995
+ "name": "definition",
39996
+ "type": {
39997
+ "text": "FoundationElementDefinition"
39998
+ }
39999
+ }
40000
+ ]
40001
+ }
40002
+ ],
40003
+ "exports": [
40004
+ {
40005
+ "kind": "js",
40006
+ "name": "foundationToolbarStyles",
40007
+ "declaration": {
40008
+ "name": "foundationToolbarStyles",
40009
+ "module": "src/toolbar/toolbar.styles.ts"
40010
+ }
40011
+ }
40012
+ ]
40013
+ },
40014
+ {
40015
+ "kind": "javascript-module",
40016
+ "path": "src/toolbar/toolbar.template.ts",
40017
+ "declarations": [
40018
+ {
40019
+ "kind": "function",
40020
+ "name": "foundationToolbarTemplate",
40021
+ "return": {
40022
+ "type": {
40023
+ "text": "ViewTemplate<Toolbar>"
40024
+ }
40025
+ },
40026
+ "parameters": [
40027
+ {
40028
+ "name": "context",
40029
+ "type": {
40030
+ "text": "ElementDefinitionContext"
40031
+ }
40032
+ },
40033
+ {
40034
+ "name": "definition",
40035
+ "type": {
40036
+ "text": "FoundationElementDefinition"
40037
+ }
40038
+ }
40039
+ ]
40040
+ }
40041
+ ],
40042
+ "exports": [
40043
+ {
40044
+ "kind": "js",
40045
+ "name": "foundationToolbarTemplate",
40046
+ "declaration": {
40047
+ "name": "foundationToolbarTemplate",
40048
+ "module": "src/toolbar/toolbar.template.ts"
40049
+ }
40050
+ }
40051
+ ]
40052
+ },
40053
+ {
40054
+ "kind": "javascript-module",
40055
+ "path": "src/toolbar/toolbar.ts",
40056
+ "declarations": [
40057
+ {
40058
+ "kind": "class",
40059
+ "description": "",
40060
+ "name": "Toolbar",
40061
+ "superclass": {
40062
+ "name": "FASTToolbar",
40063
+ "package": "@microsoft/fast-components"
40064
+ },
40065
+ "tagName": "%%prefix%%-toolbar",
40066
+ "customElement": true,
40067
+ "attributes": [
40068
+ {
40069
+ "name": "orientation",
40070
+ "type": {
40071
+ "text": "Orientation"
40072
+ },
40073
+ "description": "The orientation of the toolbar.",
40074
+ "fieldName": "orientation",
40075
+ "inheritedFrom": {
40076
+ "name": "Toolbar",
40077
+ "module": "src/toolbar/toolbar.ts"
40078
+ }
40079
+ }
40080
+ ],
40081
+ "members": [
40082
+ {
40083
+ "kind": "field",
40084
+ "name": "activeIndex",
40085
+ "inheritedFrom": {
40086
+ "name": "Toolbar",
40087
+ "module": "src/toolbar/toolbar.ts"
40088
+ }
40089
+ },
40090
+ {
40091
+ "kind": "field",
40092
+ "name": "orientation",
40093
+ "type": {
40094
+ "text": "Orientation"
40095
+ },
40096
+ "privacy": "public",
40097
+ "description": "The orientation of the toolbar.",
40098
+ "inheritedFrom": {
40099
+ "name": "Toolbar",
40100
+ "module": "src/toolbar/toolbar.ts"
40101
+ }
40102
+ },
40103
+ {
40104
+ "kind": "method",
40105
+ "name": "slottedItemsChanged",
40106
+ "privacy": "protected",
40107
+ "return": {
40108
+ "type": {
40109
+ "text": "void"
40110
+ }
40111
+ },
40112
+ "inheritedFrom": {
40113
+ "name": "Toolbar",
40114
+ "module": "src/toolbar/toolbar.ts"
40115
+ }
40116
+ },
40117
+ {
40118
+ "kind": "field",
40119
+ "name": "childItems",
40120
+ "type": {
40121
+ "text": "Element[]"
40122
+ },
40123
+ "privacy": "public",
40124
+ "inheritedFrom": {
40125
+ "name": "Toolbar",
40126
+ "module": "src/toolbar/toolbar.ts"
40127
+ }
40128
+ },
40129
+ {
40130
+ "kind": "method",
40131
+ "name": "childItemsChanged",
40132
+ "privacy": "protected",
40133
+ "return": {
40134
+ "type": {
40135
+ "text": "void"
40136
+ }
40137
+ },
40138
+ "parameters": [
40139
+ {
40140
+ "name": "prev",
40141
+ "type": {
40142
+ "text": "undefined | Element[]"
40143
+ }
40144
+ },
40145
+ {
40146
+ "name": "next",
40147
+ "type": {
40148
+ "text": "Element[]"
40149
+ }
40150
+ }
40151
+ ],
40152
+ "inheritedFrom": {
40153
+ "name": "Toolbar",
40154
+ "module": "src/toolbar/toolbar.ts"
40155
+ }
40156
+ },
40157
+ {
40158
+ "kind": "field",
40159
+ "name": "_presentation",
40160
+ "type": {
40161
+ "text": "ComponentPresentation | null | undefined"
40162
+ },
40163
+ "privacy": "private",
40164
+ "default": "void 0",
40165
+ "inheritedFrom": {
40166
+ "name": "FoundationElement",
40167
+ "module": "src/foundation-element/foundation-element.ts"
40168
+ }
40169
+ },
40170
+ {
40171
+ "kind": "field",
40172
+ "name": "$presentation",
40173
+ "type": {
40174
+ "text": "ComponentPresentation | null"
40175
+ },
40176
+ "privacy": "public",
40177
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
40178
+ "inheritedFrom": {
40179
+ "name": "FoundationElement",
40180
+ "module": "src/foundation-element/foundation-element.ts"
40181
+ }
40182
+ },
40183
+ {
40184
+ "kind": "field",
40185
+ "name": "template",
40186
+ "type": {
40187
+ "text": "ElementViewTemplate | void | null"
40188
+ },
40189
+ "privacy": "public",
40190
+ "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.",
40191
+ "inheritedFrom": {
40192
+ "name": "FoundationElement",
40193
+ "module": "src/foundation-element/foundation-element.ts"
40194
+ }
40195
+ },
40196
+ {
40197
+ "kind": "method",
40198
+ "name": "templateChanged",
40199
+ "privacy": "protected",
40200
+ "return": {
40201
+ "type": {
40202
+ "text": "void"
40203
+ }
40204
+ },
40205
+ "inheritedFrom": {
40206
+ "name": "FoundationElement",
40207
+ "module": "src/foundation-element/foundation-element.ts"
40208
+ }
40209
+ },
40210
+ {
40211
+ "kind": "field",
40212
+ "name": "styles",
40213
+ "type": {
40214
+ "text": "ElementStyles | void | null"
40215
+ },
40216
+ "privacy": "public",
40217
+ "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.",
40218
+ "inheritedFrom": {
40219
+ "name": "FoundationElement",
40220
+ "module": "src/foundation-element/foundation-element.ts"
40221
+ }
40222
+ },
40223
+ {
40224
+ "kind": "method",
40225
+ "name": "stylesChanged",
40226
+ "privacy": "protected",
40227
+ "return": {
40228
+ "type": {
40229
+ "text": "void"
40230
+ }
40231
+ },
40232
+ "inheritedFrom": {
40233
+ "name": "FoundationElement",
40234
+ "module": "src/foundation-element/foundation-element.ts"
40235
+ }
40236
+ },
40237
+ {
40238
+ "kind": "method",
40239
+ "name": "compose",
40240
+ "privacy": "public",
40241
+ "static": true,
40242
+ "return": {
40243
+ "type": {
40244
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
40245
+ }
40246
+ },
40247
+ "parameters": [
40248
+ {
40249
+ "name": "this",
40250
+ "type": {
40251
+ "text": "K"
40252
+ }
40253
+ },
40254
+ {
40255
+ "name": "elementDefinition",
40256
+ "type": {
40257
+ "text": "T"
40258
+ },
40259
+ "description": "The definition of the element to create the registry\nfunction for."
40260
+ }
40261
+ ],
40262
+ "description": "Defines an element registry function with a set of element definition defaults.",
40263
+ "inheritedFrom": {
40264
+ "name": "FoundationElement",
40265
+ "module": "src/foundation-element/foundation-element.ts"
40266
+ }
40267
+ }
40268
+ ]
40269
+ },
40270
+ {
40271
+ "kind": "variable",
40272
+ "name": "foundationToolbarShadowOptions",
40273
+ "type": {
40274
+ "text": "ShadowRootInit"
40275
+ },
40276
+ "default": "undefined"
40277
+ },
40278
+ {
40279
+ "kind": "variable",
40280
+ "name": "defaultToolbarConfig",
40281
+ "type": {
40282
+ "text": "object"
40283
+ },
40284
+ "default": "{}"
40285
+ },
40286
+ {
40287
+ "kind": "variable",
40288
+ "name": "foundationToolbar",
40289
+ "description": "The Foundation Toolbar",
40290
+ "privacy": "public"
40291
+ }
40292
+ ],
40293
+ "exports": [
40294
+ {
40295
+ "kind": "js",
40296
+ "name": "Toolbar",
40297
+ "declaration": {
40298
+ "name": "Toolbar",
40299
+ "module": "src/toolbar/toolbar.ts"
40300
+ }
40301
+ },
40302
+ {
40303
+ "kind": "js",
40304
+ "name": "foundationToolbarShadowOptions",
40305
+ "declaration": {
40306
+ "name": "foundationToolbarShadowOptions",
40307
+ "module": "src/toolbar/toolbar.ts"
40308
+ }
40309
+ },
40310
+ {
40311
+ "kind": "js",
40312
+ "name": "defaultToolbarConfig",
40313
+ "declaration": {
40314
+ "name": "defaultToolbarConfig",
40315
+ "module": "src/toolbar/toolbar.ts"
40316
+ }
40317
+ },
40318
+ {
40319
+ "kind": "js",
40320
+ "name": "foundationToolbar",
40321
+ "declaration": {
40322
+ "name": "foundationToolbar",
40323
+ "module": "src/toolbar/toolbar.ts"
40324
+ }
40325
+ }
40326
+ ]
40327
+ },
40324
40328
  {
40325
40329
  "kind": "javascript-module",
40326
40330
  "path": "src/tree-item/index.ts",