@genesislcap/foundation-ui 14.155.0-canary.1 → 14.155.0-canary.3

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.
Files changed (2) hide show
  1. package/dist/custom-elements.json +1485 -1485
  2. package/package.json +15 -15
@@ -793,6 +793,37 @@
793
793
  }
794
794
  ]
795
795
  },
796
+ {
797
+ "kind": "javascript-module",
798
+ "path": "src/_config/index.ts",
799
+ "declarations": [],
800
+ "exports": [
801
+ {
802
+ "kind": "js",
803
+ "name": "*",
804
+ "declaration": {
805
+ "name": "*",
806
+ "package": "./styles"
807
+ }
808
+ },
809
+ {
810
+ "kind": "js",
811
+ "name": "*",
812
+ "declaration": {
813
+ "name": "*",
814
+ "package": "./tokens"
815
+ }
816
+ },
817
+ {
818
+ "kind": "js",
819
+ "name": "*",
820
+ "declaration": {
821
+ "name": "*",
822
+ "package": "./values"
823
+ }
824
+ }
825
+ ]
826
+ },
796
827
  {
797
828
  "kind": "javascript-module",
798
829
  "path": "src/_common/icons.ts",
@@ -1228,219 +1259,6 @@
1228
1259
  }
1229
1260
  ]
1230
1261
  },
1231
- {
1232
- "kind": "javascript-module",
1233
- "path": "src/_config/index.ts",
1234
- "declarations": [],
1235
- "exports": [
1236
- {
1237
- "kind": "js",
1238
- "name": "*",
1239
- "declaration": {
1240
- "name": "*",
1241
- "package": "./styles"
1242
- }
1243
- },
1244
- {
1245
- "kind": "js",
1246
- "name": "*",
1247
- "declaration": {
1248
- "name": "*",
1249
- "package": "./tokens"
1250
- }
1251
- },
1252
- {
1253
- "kind": "js",
1254
- "name": "*",
1255
- "declaration": {
1256
- "name": "*",
1257
- "package": "./values"
1258
- }
1259
- }
1260
- ]
1261
- },
1262
- {
1263
- "kind": "javascript-module",
1264
- "path": "src/accordion/accordion.styles.ts",
1265
- "declarations": [
1266
- {
1267
- "kind": "function",
1268
- "name": "foundationAccordionStyles",
1269
- "return": {
1270
- "type": {
1271
- "text": "ElementStyles"
1272
- }
1273
- },
1274
- "parameters": [
1275
- {
1276
- "name": "context",
1277
- "type": {
1278
- "text": "ElementDefinitionContext"
1279
- }
1280
- },
1281
- {
1282
- "name": "definition",
1283
- "type": {
1284
- "text": "FoundationElementDefinition"
1285
- }
1286
- }
1287
- ]
1288
- }
1289
- ],
1290
- "exports": [
1291
- {
1292
- "kind": "js",
1293
- "name": "foundationAccordionStyles",
1294
- "declaration": {
1295
- "name": "foundationAccordionStyles",
1296
- "module": "src/accordion/accordion.styles.ts"
1297
- }
1298
- }
1299
- ]
1300
- },
1301
- {
1302
- "kind": "javascript-module",
1303
- "path": "src/accordion/accordion.template.ts",
1304
- "declarations": [
1305
- {
1306
- "kind": "function",
1307
- "name": "foundationAccordionTemplate",
1308
- "return": {
1309
- "type": {
1310
- "text": "ViewTemplate<Accordion>"
1311
- }
1312
- },
1313
- "parameters": [
1314
- {
1315
- "name": "context",
1316
- "type": {
1317
- "text": "ElementDefinitionContext"
1318
- }
1319
- },
1320
- {
1321
- "name": "definition",
1322
- "type": {
1323
- "text": "FoundationElementDefinition"
1324
- }
1325
- }
1326
- ]
1327
- }
1328
- ],
1329
- "exports": [
1330
- {
1331
- "kind": "js",
1332
- "name": "foundationAccordionTemplate",
1333
- "declaration": {
1334
- "name": "foundationAccordionTemplate",
1335
- "module": "src/accordion/accordion.template.ts"
1336
- }
1337
- }
1338
- ]
1339
- },
1340
- {
1341
- "kind": "javascript-module",
1342
- "path": "src/accordion/accordion.ts",
1343
- "declarations": [
1344
- {
1345
- "kind": "class",
1346
- "description": "",
1347
- "name": "Accordion",
1348
- "superclass": {
1349
- "name": "FASTAccordion",
1350
- "package": "@microsoft/fast-foundation"
1351
- },
1352
- "tagName": "%%prefix%%-accordion",
1353
- "customElement": true
1354
- },
1355
- {
1356
- "kind": "variable",
1357
- "name": "foundationAccordionShadowOptions",
1358
- "type": {
1359
- "text": "ShadowRootInit"
1360
- },
1361
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1362
- },
1363
- {
1364
- "kind": "variable",
1365
- "name": "defaultAccordionConfig",
1366
- "type": {
1367
- "text": "object"
1368
- },
1369
- "default": "{}"
1370
- },
1371
- {
1372
- "kind": "variable",
1373
- "name": "foundationAccordion",
1374
- "description": "The Foundation Accordion",
1375
- "privacy": "public"
1376
- }
1377
- ],
1378
- "exports": [
1379
- {
1380
- "kind": "js",
1381
- "name": "Accordion",
1382
- "declaration": {
1383
- "name": "Accordion",
1384
- "module": "src/accordion/accordion.ts"
1385
- }
1386
- },
1387
- {
1388
- "kind": "js",
1389
- "name": "foundationAccordionShadowOptions",
1390
- "declaration": {
1391
- "name": "foundationAccordionShadowOptions",
1392
- "module": "src/accordion/accordion.ts"
1393
- }
1394
- },
1395
- {
1396
- "kind": "js",
1397
- "name": "defaultAccordionConfig",
1398
- "declaration": {
1399
- "name": "defaultAccordionConfig",
1400
- "module": "src/accordion/accordion.ts"
1401
- }
1402
- },
1403
- {
1404
- "kind": "js",
1405
- "name": "foundationAccordion",
1406
- "declaration": {
1407
- "name": "foundationAccordion",
1408
- "module": "src/accordion/accordion.ts"
1409
- }
1410
- }
1411
- ]
1412
- },
1413
- {
1414
- "kind": "javascript-module",
1415
- "path": "src/accordion/index.ts",
1416
- "declarations": [],
1417
- "exports": [
1418
- {
1419
- "kind": "js",
1420
- "name": "*",
1421
- "declaration": {
1422
- "name": "*",
1423
- "package": "./accordion.template"
1424
- }
1425
- },
1426
- {
1427
- "kind": "js",
1428
- "name": "*",
1429
- "declaration": {
1430
- "name": "*",
1431
- "package": "./accordion.styles"
1432
- }
1433
- },
1434
- {
1435
- "kind": "js",
1436
- "name": "*",
1437
- "declaration": {
1438
- "name": "*",
1439
- "package": "./accordion"
1440
- }
1441
- }
1442
- ]
1443
- },
1444
1262
  {
1445
1263
  "kind": "javascript-module",
1446
1264
  "path": "src/actions-menu/actions-menu.styles.ts",
@@ -2002,11 +1820,11 @@
2002
1820
  },
2003
1821
  {
2004
1822
  "kind": "javascript-module",
2005
- "path": "src/anchor/anchor.styles.ts",
1823
+ "path": "src/accordion/accordion.styles.ts",
2006
1824
  "declarations": [
2007
1825
  {
2008
1826
  "kind": "function",
2009
- "name": "foundationAnchorStyles",
1827
+ "name": "foundationAccordionStyles",
2010
1828
  "return": {
2011
1829
  "type": {
2012
1830
  "text": "ElementStyles"
@@ -2031,24 +1849,206 @@
2031
1849
  "exports": [
2032
1850
  {
2033
1851
  "kind": "js",
2034
- "name": "foundationAnchorStyles",
1852
+ "name": "foundationAccordionStyles",
2035
1853
  "declaration": {
2036
- "name": "foundationAnchorStyles",
2037
- "module": "src/anchor/anchor.styles.ts"
1854
+ "name": "foundationAccordionStyles",
1855
+ "module": "src/accordion/accordion.styles.ts"
2038
1856
  }
2039
1857
  }
2040
1858
  ]
2041
1859
  },
2042
1860
  {
2043
1861
  "kind": "javascript-module",
2044
- "path": "src/anchor/anchor.template.ts",
1862
+ "path": "src/accordion/accordion.template.ts",
2045
1863
  "declarations": [
2046
1864
  {
2047
1865
  "kind": "function",
2048
- "name": "foundationAnchorTemplate",
1866
+ "name": "foundationAccordionTemplate",
2049
1867
  "return": {
2050
1868
  "type": {
2051
- "text": "ViewTemplate<Anchor>"
1869
+ "text": "ViewTemplate<Accordion>"
1870
+ }
1871
+ },
1872
+ "parameters": [
1873
+ {
1874
+ "name": "context",
1875
+ "type": {
1876
+ "text": "ElementDefinitionContext"
1877
+ }
1878
+ },
1879
+ {
1880
+ "name": "definition",
1881
+ "type": {
1882
+ "text": "FoundationElementDefinition"
1883
+ }
1884
+ }
1885
+ ]
1886
+ }
1887
+ ],
1888
+ "exports": [
1889
+ {
1890
+ "kind": "js",
1891
+ "name": "foundationAccordionTemplate",
1892
+ "declaration": {
1893
+ "name": "foundationAccordionTemplate",
1894
+ "module": "src/accordion/accordion.template.ts"
1895
+ }
1896
+ }
1897
+ ]
1898
+ },
1899
+ {
1900
+ "kind": "javascript-module",
1901
+ "path": "src/accordion/accordion.ts",
1902
+ "declarations": [
1903
+ {
1904
+ "kind": "class",
1905
+ "description": "",
1906
+ "name": "Accordion",
1907
+ "superclass": {
1908
+ "name": "FASTAccordion",
1909
+ "package": "@microsoft/fast-foundation"
1910
+ },
1911
+ "tagName": "%%prefix%%-accordion",
1912
+ "customElement": true
1913
+ },
1914
+ {
1915
+ "kind": "variable",
1916
+ "name": "foundationAccordionShadowOptions",
1917
+ "type": {
1918
+ "text": "ShadowRootInit"
1919
+ },
1920
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1921
+ },
1922
+ {
1923
+ "kind": "variable",
1924
+ "name": "defaultAccordionConfig",
1925
+ "type": {
1926
+ "text": "object"
1927
+ },
1928
+ "default": "{}"
1929
+ },
1930
+ {
1931
+ "kind": "variable",
1932
+ "name": "foundationAccordion",
1933
+ "description": "The Foundation Accordion",
1934
+ "privacy": "public"
1935
+ }
1936
+ ],
1937
+ "exports": [
1938
+ {
1939
+ "kind": "js",
1940
+ "name": "Accordion",
1941
+ "declaration": {
1942
+ "name": "Accordion",
1943
+ "module": "src/accordion/accordion.ts"
1944
+ }
1945
+ },
1946
+ {
1947
+ "kind": "js",
1948
+ "name": "foundationAccordionShadowOptions",
1949
+ "declaration": {
1950
+ "name": "foundationAccordionShadowOptions",
1951
+ "module": "src/accordion/accordion.ts"
1952
+ }
1953
+ },
1954
+ {
1955
+ "kind": "js",
1956
+ "name": "defaultAccordionConfig",
1957
+ "declaration": {
1958
+ "name": "defaultAccordionConfig",
1959
+ "module": "src/accordion/accordion.ts"
1960
+ }
1961
+ },
1962
+ {
1963
+ "kind": "js",
1964
+ "name": "foundationAccordion",
1965
+ "declaration": {
1966
+ "name": "foundationAccordion",
1967
+ "module": "src/accordion/accordion.ts"
1968
+ }
1969
+ }
1970
+ ]
1971
+ },
1972
+ {
1973
+ "kind": "javascript-module",
1974
+ "path": "src/accordion/index.ts",
1975
+ "declarations": [],
1976
+ "exports": [
1977
+ {
1978
+ "kind": "js",
1979
+ "name": "*",
1980
+ "declaration": {
1981
+ "name": "*",
1982
+ "package": "./accordion.template"
1983
+ }
1984
+ },
1985
+ {
1986
+ "kind": "js",
1987
+ "name": "*",
1988
+ "declaration": {
1989
+ "name": "*",
1990
+ "package": "./accordion.styles"
1991
+ }
1992
+ },
1993
+ {
1994
+ "kind": "js",
1995
+ "name": "*",
1996
+ "declaration": {
1997
+ "name": "*",
1998
+ "package": "./accordion"
1999
+ }
2000
+ }
2001
+ ]
2002
+ },
2003
+ {
2004
+ "kind": "javascript-module",
2005
+ "path": "src/anchor/anchor.styles.ts",
2006
+ "declarations": [
2007
+ {
2008
+ "kind": "function",
2009
+ "name": "foundationAnchorStyles",
2010
+ "return": {
2011
+ "type": {
2012
+ "text": "ElementStyles"
2013
+ }
2014
+ },
2015
+ "parameters": [
2016
+ {
2017
+ "name": "context",
2018
+ "type": {
2019
+ "text": "ElementDefinitionContext"
2020
+ }
2021
+ },
2022
+ {
2023
+ "name": "definition",
2024
+ "type": {
2025
+ "text": "FoundationElementDefinition"
2026
+ }
2027
+ }
2028
+ ]
2029
+ }
2030
+ ],
2031
+ "exports": [
2032
+ {
2033
+ "kind": "js",
2034
+ "name": "foundationAnchorStyles",
2035
+ "declaration": {
2036
+ "name": "foundationAnchorStyles",
2037
+ "module": "src/anchor/anchor.styles.ts"
2038
+ }
2039
+ }
2040
+ ]
2041
+ },
2042
+ {
2043
+ "kind": "javascript-module",
2044
+ "path": "src/anchor/anchor.template.ts",
2045
+ "declarations": [
2046
+ {
2047
+ "kind": "function",
2048
+ "name": "foundationAnchorTemplate",
2049
+ "return": {
2050
+ "type": {
2051
+ "text": "ViewTemplate<Anchor>"
2052
2052
  }
2053
2053
  },
2054
2054
  "parameters": [
@@ -24542,7 +24542,7 @@
24542
24542
  },
24543
24543
  {
24544
24544
  "kind": "javascript-module",
24545
- "path": "src/popper/index.ts",
24545
+ "path": "src/number-field/index.ts",
24546
24546
  "declarations": [],
24547
24547
  "exports": [
24548
24548
  {
@@ -24550,77 +24550,146 @@
24550
24550
  "name": "*",
24551
24551
  "declaration": {
24552
24552
  "name": "*",
24553
- "package": "./popper"
24553
+ "package": "./number-field.template"
24554
+ }
24555
+ },
24556
+ {
24557
+ "kind": "js",
24558
+ "name": "*",
24559
+ "declaration": {
24560
+ "name": "*",
24561
+ "package": "./number-field.styles"
24562
+ }
24563
+ },
24564
+ {
24565
+ "kind": "js",
24566
+ "name": "*",
24567
+ "declaration": {
24568
+ "name": "*",
24569
+ "package": "./number-field"
24554
24570
  }
24555
24571
  }
24556
24572
  ]
24557
24573
  },
24558
24574
  {
24559
24575
  "kind": "javascript-module",
24560
- "path": "src/popper/popper.ts",
24576
+ "path": "src/number-field/number-field.styles.ts",
24561
24577
  "declarations": [
24562
24578
  {
24563
- "kind": "variable",
24564
- "name": "jsonConverter",
24565
- "type": {
24566
- "text": "ValueConverter"
24579
+ "kind": "function",
24580
+ "name": "foundationNumberFieldStyles",
24581
+ "return": {
24582
+ "type": {
24583
+ "text": "ElementStyles"
24584
+ }
24567
24585
  },
24568
- "default": "{\n toView(value: any): string {\n return JSON.stringify(value);\n },\n\n fromView(value: string): any {\n if (value === null || value === undefined) return value;\n\n return JSON.parse(value);\n },\n}"
24569
- },
24586
+ "parameters": [
24587
+ {
24588
+ "name": "context",
24589
+ "type": {
24590
+ "text": "ElementDefinitionContext"
24591
+ }
24592
+ },
24593
+ {
24594
+ "name": "definition",
24595
+ "type": {
24596
+ "text": "FoundationElementDefinition"
24597
+ }
24598
+ }
24599
+ ]
24600
+ }
24601
+ ],
24602
+ "exports": [
24603
+ {
24604
+ "kind": "js",
24605
+ "name": "foundationNumberFieldStyles",
24606
+ "declaration": {
24607
+ "name": "foundationNumberFieldStyles",
24608
+ "module": "src/number-field/number-field.styles.ts"
24609
+ }
24610
+ }
24611
+ ]
24612
+ },
24613
+ {
24614
+ "kind": "javascript-module",
24615
+ "path": "src/number-field/number-field.template.ts",
24616
+ "declarations": [
24617
+ {
24618
+ "kind": "function",
24619
+ "name": "foundationNumberFieldTemplate",
24620
+ "parameters": [
24621
+ {
24622
+ "name": "context",
24623
+ "type": {
24624
+ "text": "ElementDefinitionContext"
24625
+ }
24626
+ },
24627
+ {
24628
+ "name": "definition",
24629
+ "type": {
24630
+ "text": "NumberFieldOptions"
24631
+ }
24632
+ }
24633
+ ]
24634
+ }
24635
+ ],
24636
+ "exports": [
24637
+ {
24638
+ "kind": "js",
24639
+ "name": "foundationNumberFieldTemplate",
24640
+ "declaration": {
24641
+ "name": "foundationNumberFieldTemplate",
24642
+ "module": "src/number-field/number-field.template.ts"
24643
+ }
24644
+ }
24645
+ ]
24646
+ },
24647
+ {
24648
+ "kind": "javascript-module",
24649
+ "path": "src/number-field/number-field.ts",
24650
+ "declarations": [
24570
24651
  {
24571
24652
  "kind": "class",
24572
24653
  "description": "",
24573
- "name": "Popper",
24654
+ "name": "NumberField",
24574
24655
  "members": [
24575
24656
  {
24576
24657
  "kind": "field",
24577
- "name": "popper",
24658
+ "name": "autocomplete",
24578
24659
  "type": {
24579
- "text": "Instance"
24580
- },
24581
- "privacy": "protected"
24660
+ "text": "string"
24661
+ }
24662
+ },
24663
+ {
24664
+ "kind": "method",
24665
+ "name": "autocompleteChanged",
24666
+ "privacy": "private"
24582
24667
  },
24583
24668
  {
24584
24669
  "kind": "field",
24585
- "name": "target",
24670
+ "name": "hideStep",
24586
24671
  "type": {
24587
- "text": "HTMLElement"
24672
+ "text": "boolean"
24588
24673
  },
24589
- "privacy": "protected"
24674
+ "privacy": "public",
24675
+ "default": "false",
24676
+ "description": "When true, spin buttons will not be rendered",
24677
+ "inheritedFrom": {
24678
+ "name": "NumberField",
24679
+ "module": "src/number-field/number-field.ts"
24680
+ }
24590
24681
  },
24591
24682
  {
24592
24683
  "kind": "field",
24593
- "name": "selector",
24684
+ "name": "value",
24594
24685
  "type": {
24595
24686
  "text": "string"
24596
- }
24597
- },
24598
- {
24599
- "kind": "method",
24600
- "name": "selectorChanged",
24601
- "return": {
24602
- "type": {
24603
- "text": "void"
24604
- }
24605
24687
  },
24606
- "parameters": [
24607
- {
24608
- "name": "oldValue",
24609
- "type": {
24610
- "text": "string"
24611
- }
24612
- },
24613
- {
24614
- "name": "newValue",
24615
- "type": {
24616
- "text": "string"
24617
- }
24618
- }
24619
- ]
24688
+ "default": "''"
24620
24689
  },
24621
24690
  {
24622
24691
  "kind": "field",
24623
- "name": "show",
24692
+ "name": "withFormatting",
24624
24693
  "type": {
24625
24694
  "text": "boolean"
24626
24695
  },
@@ -24628,585 +24697,160 @@
24628
24697
  },
24629
24698
  {
24630
24699
  "kind": "field",
24631
- "name": "event",
24700
+ "name": "locale",
24632
24701
  "type": {
24633
24702
  "text": "string"
24634
24703
  },
24635
- "default": "'click'"
24704
+ "default": "'en-US'"
24636
24705
  },
24637
24706
  {
24638
24707
  "kind": "field",
24639
- "name": "placement",
24708
+ "name": "options",
24640
24709
  "type": {
24641
- "text": "Placement"
24710
+ "text": "Intl.NumberFormatOptions"
24642
24711
  },
24643
- "default": "'bottom'"
24712
+ "default": "{\n maximumFractionDigits: 3,\n minimumFractionDigits: 0,\n }"
24644
24713
  },
24645
24714
  {
24646
24715
  "kind": "method",
24647
- "name": "placementChanged",
24716
+ "name": "sanitiseInputVal",
24717
+ "privacy": "private",
24648
24718
  "return": {
24649
24719
  "type": {
24650
- "text": "void"
24720
+ "text": "string"
24651
24721
  }
24652
- }
24653
- },
24654
- {
24655
- "kind": "field",
24656
- "name": "offset",
24657
- "type": {
24658
- "text": "[number, number]"
24659
- }
24722
+ },
24723
+ "parameters": [
24724
+ {
24725
+ "name": "inputVal",
24726
+ "type": {
24727
+ "text": "string"
24728
+ }
24729
+ }
24730
+ ]
24660
24731
  },
24661
24732
  {
24662
24733
  "kind": "method",
24663
- "name": "offsetChanged",
24734
+ "name": "toIntlNumberFormat",
24735
+ "privacy": "private",
24664
24736
  "return": {
24665
24737
  "type": {
24666
- "text": "void"
24738
+ "text": "string"
24667
24739
  }
24668
- }
24669
- },
24670
- {
24671
- "kind": "field",
24672
- "name": "flip",
24673
- "type": {
24674
- "text": "boolean"
24675
24740
  },
24676
- "default": "false"
24741
+ "parameters": [
24742
+ {
24743
+ "name": "value",
24744
+ "type": {
24745
+ "text": "string"
24746
+ }
24747
+ }
24748
+ ]
24677
24749
  },
24678
24750
  {
24679
24751
  "kind": "method",
24680
- "name": "flipChanged",
24752
+ "name": "validateValue",
24753
+ "privacy": "private",
24681
24754
  "return": {
24682
24755
  "type": {
24683
- "text": "void"
24756
+ "text": "string"
24684
24757
  }
24685
- }
24758
+ },
24759
+ "parameters": [
24760
+ {
24761
+ "name": "value",
24762
+ "type": {
24763
+ "text": "string"
24764
+ }
24765
+ },
24766
+ {
24767
+ "name": "withFormatting",
24768
+ "default": "true"
24769
+ }
24770
+ ]
24686
24771
  },
24687
24772
  {
24688
24773
  "kind": "method",
24689
- "name": "buildOptions",
24690
- "privacy": "protected",
24774
+ "name": "validateMinMax",
24775
+ "privacy": "private",
24691
24776
  "return": {
24692
24777
  "type": {
24693
- "text": "Partial<OptionsGeneric<any>>"
24778
+ "text": "string"
24694
24779
  }
24695
- }
24696
- },
24697
- {
24698
- "kind": "method",
24699
- "name": "toggle"
24700
- },
24701
- {
24702
- "kind": "field",
24703
- "name": "_presentation",
24704
- "type": {
24705
- "text": "ComponentPresentation | null | undefined"
24706
24780
  },
24707
- "privacy": "private",
24708
- "default": "void 0",
24709
- "inheritedFrom": {
24710
- "name": "FoundationElement",
24711
- "module": "src/foundation-element/foundation-element.ts"
24712
- }
24781
+ "parameters": [
24782
+ {
24783
+ "name": "value",
24784
+ "type": {
24785
+ "text": "string"
24786
+ }
24787
+ },
24788
+ {
24789
+ "name": "withFormatting",
24790
+ "default": "true"
24791
+ }
24792
+ ]
24713
24793
  },
24714
24794
  {
24715
- "kind": "field",
24716
- "name": "$presentation",
24717
- "type": {
24718
- "text": "ComponentPresentation | null"
24719
- },
24795
+ "kind": "method",
24796
+ "name": "stepUp",
24720
24797
  "privacy": "public",
24721
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
24722
- "inheritedFrom": {
24723
- "name": "FoundationElement",
24724
- "module": "src/foundation-element/foundation-element.ts"
24725
- }
24726
- },
24727
- {
24728
- "kind": "field",
24729
- "name": "template",
24730
- "type": {
24731
- "text": "ElementViewTemplate | void | null"
24798
+ "return": {
24799
+ "type": {
24800
+ "text": "void"
24801
+ }
24732
24802
  },
24733
- "privacy": "public",
24734
- "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.",
24803
+ "description": "Increments the value using the step value",
24735
24804
  "inheritedFrom": {
24736
- "name": "FoundationElement",
24737
- "module": "src/foundation-element/foundation-element.ts"
24805
+ "name": "NumberField",
24806
+ "module": "src/number-field/number-field.ts"
24738
24807
  }
24739
24808
  },
24740
24809
  {
24741
24810
  "kind": "method",
24742
- "name": "templateChanged",
24743
- "privacy": "protected",
24811
+ "name": "stepDown",
24812
+ "privacy": "public",
24744
24813
  "return": {
24745
24814
  "type": {
24746
24815
  "text": "void"
24747
24816
  }
24748
24817
  },
24818
+ "description": "Decrements the value using the step value",
24749
24819
  "inheritedFrom": {
24750
- "name": "FoundationElement",
24751
- "module": "src/foundation-element/foundation-element.ts"
24820
+ "name": "NumberField",
24821
+ "module": "src/number-field/number-field.ts"
24752
24822
  }
24753
24823
  },
24754
24824
  {
24755
- "kind": "field",
24756
- "name": "styles",
24757
- "type": {
24758
- "text": "ElementStyles | void | null"
24759
- },
24760
- "privacy": "public",
24761
- "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.",
24762
- "inheritedFrom": {
24763
- "name": "FoundationElement",
24764
- "module": "src/foundation-element/foundation-element.ts"
24765
- }
24825
+ "kind": "method",
24826
+ "name": "hasSeparatorWithoutDecimals"
24766
24827
  },
24767
24828
  {
24768
24829
  "kind": "method",
24769
- "name": "stylesChanged",
24770
- "privacy": "protected",
24830
+ "name": "handleTextInput",
24771
24831
  "return": {
24772
24832
  "type": {
24773
24833
  "text": "void"
24774
24834
  }
24775
- },
24776
- "inheritedFrom": {
24777
- "name": "FoundationElement",
24778
- "module": "src/foundation-element/foundation-element.ts"
24779
24835
  }
24780
24836
  },
24781
24837
  {
24782
24838
  "kind": "method",
24783
- "name": "compose",
24784
- "privacy": "public",
24785
- "static": true,
24839
+ "name": "valueChanged",
24786
24840
  "return": {
24787
24841
  "type": {
24788
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
24842
+ "text": "void"
24789
24843
  }
24790
24844
  },
24791
24845
  "parameters": [
24792
24846
  {
24793
- "name": "this",
24847
+ "name": "previous",
24794
24848
  "type": {
24795
- "text": "K"
24849
+ "text": "any"
24796
24850
  }
24797
24851
  },
24798
24852
  {
24799
- "name": "elementDefinition",
24800
- "type": {
24801
- "text": "T"
24802
- },
24803
- "description": "The definition of the element to create the registry\nfunction for."
24804
- }
24805
- ],
24806
- "description": "Defines an element registry function with a set of element definition defaults.",
24807
- "inheritedFrom": {
24808
- "name": "FoundationElement",
24809
- "module": "src/foundation-element/foundation-element.ts"
24810
- }
24811
- }
24812
- ],
24813
- "attributes": [
24814
- {
24815
- "name": "selector",
24816
- "type": {
24817
- "text": "string"
24818
- },
24819
- "fieldName": "selector"
24820
- },
24821
- {
24822
- "type": {
24823
- "text": "boolean"
24824
- },
24825
- "default": "false",
24826
- "fieldName": "show"
24827
- },
24828
- {
24829
- "name": "event",
24830
- "type": {
24831
- "text": "string"
24832
- },
24833
- "default": "'click'",
24834
- "fieldName": "event"
24835
- },
24836
- {
24837
- "name": "placement",
24838
- "type": {
24839
- "text": "Placement"
24840
- },
24841
- "default": "'bottom'",
24842
- "fieldName": "placement"
24843
- },
24844
- {
24845
- "type": {
24846
- "text": "[number, number]"
24847
- },
24848
- "fieldName": "offset"
24849
- },
24850
- {
24851
- "type": {
24852
- "text": "boolean"
24853
- },
24854
- "default": "false",
24855
- "fieldName": "flip"
24856
- }
24857
- ],
24858
- "superclass": {
24859
- "name": "FoundationElement",
24860
- "package": "@microsoft/fast-foundation"
24861
- },
24862
- "tagName": "%%prefix%%-popper",
24863
- "customElement": true
24864
- },
24865
- {
24866
- "kind": "variable",
24867
- "name": "foundationPopper",
24868
- "description": "The Foundation Popper",
24869
- "privacy": "public"
24870
- }
24871
- ],
24872
- "exports": [
24873
- {
24874
- "kind": "js",
24875
- "name": "jsonConverter",
24876
- "declaration": {
24877
- "name": "jsonConverter",
24878
- "module": "src/popper/popper.ts"
24879
- }
24880
- },
24881
- {
24882
- "kind": "js",
24883
- "name": "Popper",
24884
- "declaration": {
24885
- "name": "Popper",
24886
- "module": "src/popper/popper.ts"
24887
- }
24888
- },
24889
- {
24890
- "kind": "js",
24891
- "name": "foundationPopper",
24892
- "declaration": {
24893
- "name": "foundationPopper",
24894
- "module": "src/popper/popper.ts"
24895
- }
24896
- }
24897
- ]
24898
- },
24899
- {
24900
- "kind": "javascript-module",
24901
- "path": "src/number-field/index.ts",
24902
- "declarations": [],
24903
- "exports": [
24904
- {
24905
- "kind": "js",
24906
- "name": "*",
24907
- "declaration": {
24908
- "name": "*",
24909
- "package": "./number-field.template"
24910
- }
24911
- },
24912
- {
24913
- "kind": "js",
24914
- "name": "*",
24915
- "declaration": {
24916
- "name": "*",
24917
- "package": "./number-field.styles"
24918
- }
24919
- },
24920
- {
24921
- "kind": "js",
24922
- "name": "*",
24923
- "declaration": {
24924
- "name": "*",
24925
- "package": "./number-field"
24926
- }
24927
- }
24928
- ]
24929
- },
24930
- {
24931
- "kind": "javascript-module",
24932
- "path": "src/number-field/number-field.styles.ts",
24933
- "declarations": [
24934
- {
24935
- "kind": "function",
24936
- "name": "foundationNumberFieldStyles",
24937
- "return": {
24938
- "type": {
24939
- "text": "ElementStyles"
24940
- }
24941
- },
24942
- "parameters": [
24943
- {
24944
- "name": "context",
24945
- "type": {
24946
- "text": "ElementDefinitionContext"
24947
- }
24948
- },
24949
- {
24950
- "name": "definition",
24951
- "type": {
24952
- "text": "FoundationElementDefinition"
24953
- }
24954
- }
24955
- ]
24956
- }
24957
- ],
24958
- "exports": [
24959
- {
24960
- "kind": "js",
24961
- "name": "foundationNumberFieldStyles",
24962
- "declaration": {
24963
- "name": "foundationNumberFieldStyles",
24964
- "module": "src/number-field/number-field.styles.ts"
24965
- }
24966
- }
24967
- ]
24968
- },
24969
- {
24970
- "kind": "javascript-module",
24971
- "path": "src/number-field/number-field.template.ts",
24972
- "declarations": [
24973
- {
24974
- "kind": "function",
24975
- "name": "foundationNumberFieldTemplate",
24976
- "parameters": [
24977
- {
24978
- "name": "context",
24979
- "type": {
24980
- "text": "ElementDefinitionContext"
24981
- }
24982
- },
24983
- {
24984
- "name": "definition",
24985
- "type": {
24986
- "text": "NumberFieldOptions"
24987
- }
24988
- }
24989
- ]
24990
- }
24991
- ],
24992
- "exports": [
24993
- {
24994
- "kind": "js",
24995
- "name": "foundationNumberFieldTemplate",
24996
- "declaration": {
24997
- "name": "foundationNumberFieldTemplate",
24998
- "module": "src/number-field/number-field.template.ts"
24999
- }
25000
- }
25001
- ]
25002
- },
25003
- {
25004
- "kind": "javascript-module",
25005
- "path": "src/number-field/number-field.ts",
25006
- "declarations": [
25007
- {
25008
- "kind": "class",
25009
- "description": "",
25010
- "name": "NumberField",
25011
- "members": [
25012
- {
25013
- "kind": "field",
25014
- "name": "autocomplete",
25015
- "type": {
25016
- "text": "string"
25017
- }
25018
- },
25019
- {
25020
- "kind": "method",
25021
- "name": "autocompleteChanged",
25022
- "privacy": "private"
25023
- },
25024
- {
25025
- "kind": "field",
25026
- "name": "hideStep",
25027
- "type": {
25028
- "text": "boolean"
25029
- },
25030
- "privacy": "public",
25031
- "default": "false",
25032
- "description": "When true, spin buttons will not be rendered",
25033
- "inheritedFrom": {
25034
- "name": "NumberField",
25035
- "module": "src/number-field/number-field.ts"
25036
- }
25037
- },
25038
- {
25039
- "kind": "field",
25040
- "name": "value",
25041
- "type": {
25042
- "text": "string"
25043
- },
25044
- "default": "''"
25045
- },
25046
- {
25047
- "kind": "field",
25048
- "name": "withFormatting",
25049
- "type": {
25050
- "text": "boolean"
25051
- },
25052
- "default": "false"
25053
- },
25054
- {
25055
- "kind": "field",
25056
- "name": "locale",
25057
- "type": {
25058
- "text": "string"
25059
- },
25060
- "default": "'en-US'"
25061
- },
25062
- {
25063
- "kind": "field",
25064
- "name": "options",
25065
- "type": {
25066
- "text": "Intl.NumberFormatOptions"
25067
- },
25068
- "default": "{\n maximumFractionDigits: 3,\n minimumFractionDigits: 0,\n }"
25069
- },
25070
- {
25071
- "kind": "method",
25072
- "name": "sanitiseInputVal",
25073
- "privacy": "private",
25074
- "return": {
25075
- "type": {
25076
- "text": "string"
25077
- }
25078
- },
25079
- "parameters": [
25080
- {
25081
- "name": "inputVal",
25082
- "type": {
25083
- "text": "string"
25084
- }
25085
- }
25086
- ]
25087
- },
25088
- {
25089
- "kind": "method",
25090
- "name": "toIntlNumberFormat",
25091
- "privacy": "private",
25092
- "return": {
25093
- "type": {
25094
- "text": "string"
25095
- }
25096
- },
25097
- "parameters": [
25098
- {
25099
- "name": "value",
25100
- "type": {
25101
- "text": "string"
25102
- }
25103
- }
25104
- ]
25105
- },
25106
- {
25107
- "kind": "method",
25108
- "name": "validateValue",
25109
- "privacy": "private",
25110
- "return": {
25111
- "type": {
25112
- "text": "string"
25113
- }
25114
- },
25115
- "parameters": [
25116
- {
25117
- "name": "value",
25118
- "type": {
25119
- "text": "string"
25120
- }
25121
- },
25122
- {
25123
- "name": "withFormatting",
25124
- "default": "true"
25125
- }
25126
- ]
25127
- },
25128
- {
25129
- "kind": "method",
25130
- "name": "validateMinMax",
25131
- "privacy": "private",
25132
- "return": {
25133
- "type": {
25134
- "text": "string"
25135
- }
25136
- },
25137
- "parameters": [
25138
- {
25139
- "name": "value",
25140
- "type": {
25141
- "text": "string"
25142
- }
25143
- },
25144
- {
25145
- "name": "withFormatting",
25146
- "default": "true"
25147
- }
25148
- ]
25149
- },
25150
- {
25151
- "kind": "method",
25152
- "name": "stepUp",
25153
- "privacy": "public",
25154
- "return": {
25155
- "type": {
25156
- "text": "void"
25157
- }
25158
- },
25159
- "description": "Increments the value using the step value",
25160
- "inheritedFrom": {
25161
- "name": "NumberField",
25162
- "module": "src/number-field/number-field.ts"
25163
- }
25164
- },
25165
- {
25166
- "kind": "method",
25167
- "name": "stepDown",
25168
- "privacy": "public",
25169
- "return": {
25170
- "type": {
25171
- "text": "void"
25172
- }
25173
- },
25174
- "description": "Decrements the value using the step value",
25175
- "inheritedFrom": {
25176
- "name": "NumberField",
25177
- "module": "src/number-field/number-field.ts"
25178
- }
25179
- },
25180
- {
25181
- "kind": "method",
25182
- "name": "hasSeparatorWithoutDecimals"
25183
- },
25184
- {
25185
- "kind": "method",
25186
- "name": "handleTextInput",
25187
- "return": {
25188
- "type": {
25189
- "text": "void"
25190
- }
25191
- }
25192
- },
25193
- {
25194
- "kind": "method",
25195
- "name": "valueChanged",
25196
- "return": {
25197
- "type": {
25198
- "text": "void"
25199
- }
25200
- },
25201
- "parameters": [
25202
- {
25203
- "name": "previous",
25204
- "type": {
25205
- "text": "any"
25206
- }
25207
- },
25208
- {
25209
- "name": "next",
24853
+ "name": "next",
25210
24854
  "type": {
25211
24855
  "text": "any"
25212
24856
  }
@@ -27447,6 +27091,462 @@
27447
27091
  }
27448
27092
  ]
27449
27093
  },
27094
+ {
27095
+ "kind": "javascript-module",
27096
+ "path": "src/patterns/define.ts",
27097
+ "declarations": [
27098
+ {
27099
+ "kind": "function",
27100
+ "name": "defineFactory",
27101
+ "return": {
27102
+ "type": {
27103
+ "text": ""
27104
+ }
27105
+ },
27106
+ "parameters": [
27107
+ {
27108
+ "name": "Type",
27109
+ "type": {
27110
+ "text": "TType"
27111
+ },
27112
+ "description": "The custom element Type / Class to define."
27113
+ },
27114
+ {
27115
+ "name": "overriderOrBase",
27116
+ "type": {
27117
+ "text": "DefinitionOverrider | PartialFASTElementDefinition"
27118
+ },
27119
+ "description": "A function that merges definitions, or the base definition if custom merging is not needed."
27120
+ }
27121
+ ],
27122
+ "description": "Defines a platform custom element based on the provided type and definition."
27123
+ }
27124
+ ],
27125
+ "exports": [
27126
+ {
27127
+ "kind": "js",
27128
+ "name": "defineFactory",
27129
+ "declaration": {
27130
+ "name": "defineFactory",
27131
+ "module": "src/patterns/define.ts"
27132
+ }
27133
+ }
27134
+ ]
27135
+ },
27136
+ {
27137
+ "kind": "javascript-module",
27138
+ "path": "src/patterns/index.ts",
27139
+ "declarations": [],
27140
+ "exports": [
27141
+ {
27142
+ "kind": "js",
27143
+ "name": "*",
27144
+ "declaration": {
27145
+ "name": "*",
27146
+ "package": "./define"
27147
+ }
27148
+ },
27149
+ {
27150
+ "kind": "js",
27151
+ "name": "*",
27152
+ "declaration": {
27153
+ "name": "*",
27154
+ "package": "./tag-for"
27155
+ }
27156
+ }
27157
+ ]
27158
+ },
27159
+ {
27160
+ "kind": "javascript-module",
27161
+ "path": "src/patterns/tag-for.ts",
27162
+ "declarations": [
27163
+ {
27164
+ "kind": "function",
27165
+ "name": "tagFor",
27166
+ "return": {
27167
+ "type": {
27168
+ "text": ""
27169
+ }
27170
+ },
27171
+ "parameters": [
27172
+ {
27173
+ "name": "dependency",
27174
+ "type": {
27175
+ "text": "TemplateElementDependency"
27176
+ },
27177
+ "description": "The dependency the template is dependent on."
27178
+ }
27179
+ ],
27180
+ "description": "Determines what HTML tag name to use for the dependency."
27181
+ }
27182
+ ],
27183
+ "exports": [
27184
+ {
27185
+ "kind": "js",
27186
+ "name": "tagFor",
27187
+ "declaration": {
27188
+ "name": "tagFor",
27189
+ "module": "src/patterns/tag-for.ts"
27190
+ }
27191
+ }
27192
+ ]
27193
+ },
27194
+ {
27195
+ "kind": "javascript-module",
27196
+ "path": "src/popper/index.ts",
27197
+ "declarations": [],
27198
+ "exports": [
27199
+ {
27200
+ "kind": "js",
27201
+ "name": "*",
27202
+ "declaration": {
27203
+ "name": "*",
27204
+ "package": "./popper"
27205
+ }
27206
+ }
27207
+ ]
27208
+ },
27209
+ {
27210
+ "kind": "javascript-module",
27211
+ "path": "src/popper/popper.ts",
27212
+ "declarations": [
27213
+ {
27214
+ "kind": "variable",
27215
+ "name": "jsonConverter",
27216
+ "type": {
27217
+ "text": "ValueConverter"
27218
+ },
27219
+ "default": "{\n toView(value: any): string {\n return JSON.stringify(value);\n },\n\n fromView(value: string): any {\n if (value === null || value === undefined) return value;\n\n return JSON.parse(value);\n },\n}"
27220
+ },
27221
+ {
27222
+ "kind": "class",
27223
+ "description": "",
27224
+ "name": "Popper",
27225
+ "members": [
27226
+ {
27227
+ "kind": "field",
27228
+ "name": "popper",
27229
+ "type": {
27230
+ "text": "Instance"
27231
+ },
27232
+ "privacy": "protected"
27233
+ },
27234
+ {
27235
+ "kind": "field",
27236
+ "name": "target",
27237
+ "type": {
27238
+ "text": "HTMLElement"
27239
+ },
27240
+ "privacy": "protected"
27241
+ },
27242
+ {
27243
+ "kind": "field",
27244
+ "name": "selector",
27245
+ "type": {
27246
+ "text": "string"
27247
+ }
27248
+ },
27249
+ {
27250
+ "kind": "method",
27251
+ "name": "selectorChanged",
27252
+ "return": {
27253
+ "type": {
27254
+ "text": "void"
27255
+ }
27256
+ },
27257
+ "parameters": [
27258
+ {
27259
+ "name": "oldValue",
27260
+ "type": {
27261
+ "text": "string"
27262
+ }
27263
+ },
27264
+ {
27265
+ "name": "newValue",
27266
+ "type": {
27267
+ "text": "string"
27268
+ }
27269
+ }
27270
+ ]
27271
+ },
27272
+ {
27273
+ "kind": "field",
27274
+ "name": "show",
27275
+ "type": {
27276
+ "text": "boolean"
27277
+ },
27278
+ "default": "false"
27279
+ },
27280
+ {
27281
+ "kind": "field",
27282
+ "name": "event",
27283
+ "type": {
27284
+ "text": "string"
27285
+ },
27286
+ "default": "'click'"
27287
+ },
27288
+ {
27289
+ "kind": "field",
27290
+ "name": "placement",
27291
+ "type": {
27292
+ "text": "Placement"
27293
+ },
27294
+ "default": "'bottom'"
27295
+ },
27296
+ {
27297
+ "kind": "method",
27298
+ "name": "placementChanged",
27299
+ "return": {
27300
+ "type": {
27301
+ "text": "void"
27302
+ }
27303
+ }
27304
+ },
27305
+ {
27306
+ "kind": "field",
27307
+ "name": "offset",
27308
+ "type": {
27309
+ "text": "[number, number]"
27310
+ }
27311
+ },
27312
+ {
27313
+ "kind": "method",
27314
+ "name": "offsetChanged",
27315
+ "return": {
27316
+ "type": {
27317
+ "text": "void"
27318
+ }
27319
+ }
27320
+ },
27321
+ {
27322
+ "kind": "field",
27323
+ "name": "flip",
27324
+ "type": {
27325
+ "text": "boolean"
27326
+ },
27327
+ "default": "false"
27328
+ },
27329
+ {
27330
+ "kind": "method",
27331
+ "name": "flipChanged",
27332
+ "return": {
27333
+ "type": {
27334
+ "text": "void"
27335
+ }
27336
+ }
27337
+ },
27338
+ {
27339
+ "kind": "method",
27340
+ "name": "buildOptions",
27341
+ "privacy": "protected",
27342
+ "return": {
27343
+ "type": {
27344
+ "text": "Partial<OptionsGeneric<any>>"
27345
+ }
27346
+ }
27347
+ },
27348
+ {
27349
+ "kind": "method",
27350
+ "name": "toggle"
27351
+ },
27352
+ {
27353
+ "kind": "field",
27354
+ "name": "_presentation",
27355
+ "type": {
27356
+ "text": "ComponentPresentation | null | undefined"
27357
+ },
27358
+ "privacy": "private",
27359
+ "default": "void 0",
27360
+ "inheritedFrom": {
27361
+ "name": "FoundationElement",
27362
+ "module": "src/foundation-element/foundation-element.ts"
27363
+ }
27364
+ },
27365
+ {
27366
+ "kind": "field",
27367
+ "name": "$presentation",
27368
+ "type": {
27369
+ "text": "ComponentPresentation | null"
27370
+ },
27371
+ "privacy": "public",
27372
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
27373
+ "inheritedFrom": {
27374
+ "name": "FoundationElement",
27375
+ "module": "src/foundation-element/foundation-element.ts"
27376
+ }
27377
+ },
27378
+ {
27379
+ "kind": "field",
27380
+ "name": "template",
27381
+ "type": {
27382
+ "text": "ElementViewTemplate | void | null"
27383
+ },
27384
+ "privacy": "public",
27385
+ "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.",
27386
+ "inheritedFrom": {
27387
+ "name": "FoundationElement",
27388
+ "module": "src/foundation-element/foundation-element.ts"
27389
+ }
27390
+ },
27391
+ {
27392
+ "kind": "method",
27393
+ "name": "templateChanged",
27394
+ "privacy": "protected",
27395
+ "return": {
27396
+ "type": {
27397
+ "text": "void"
27398
+ }
27399
+ },
27400
+ "inheritedFrom": {
27401
+ "name": "FoundationElement",
27402
+ "module": "src/foundation-element/foundation-element.ts"
27403
+ }
27404
+ },
27405
+ {
27406
+ "kind": "field",
27407
+ "name": "styles",
27408
+ "type": {
27409
+ "text": "ElementStyles | void | null"
27410
+ },
27411
+ "privacy": "public",
27412
+ "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.",
27413
+ "inheritedFrom": {
27414
+ "name": "FoundationElement",
27415
+ "module": "src/foundation-element/foundation-element.ts"
27416
+ }
27417
+ },
27418
+ {
27419
+ "kind": "method",
27420
+ "name": "stylesChanged",
27421
+ "privacy": "protected",
27422
+ "return": {
27423
+ "type": {
27424
+ "text": "void"
27425
+ }
27426
+ },
27427
+ "inheritedFrom": {
27428
+ "name": "FoundationElement",
27429
+ "module": "src/foundation-element/foundation-element.ts"
27430
+ }
27431
+ },
27432
+ {
27433
+ "kind": "method",
27434
+ "name": "compose",
27435
+ "privacy": "public",
27436
+ "static": true,
27437
+ "return": {
27438
+ "type": {
27439
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
27440
+ }
27441
+ },
27442
+ "parameters": [
27443
+ {
27444
+ "name": "this",
27445
+ "type": {
27446
+ "text": "K"
27447
+ }
27448
+ },
27449
+ {
27450
+ "name": "elementDefinition",
27451
+ "type": {
27452
+ "text": "T"
27453
+ },
27454
+ "description": "The definition of the element to create the registry\nfunction for."
27455
+ }
27456
+ ],
27457
+ "description": "Defines an element registry function with a set of element definition defaults.",
27458
+ "inheritedFrom": {
27459
+ "name": "FoundationElement",
27460
+ "module": "src/foundation-element/foundation-element.ts"
27461
+ }
27462
+ }
27463
+ ],
27464
+ "attributes": [
27465
+ {
27466
+ "name": "selector",
27467
+ "type": {
27468
+ "text": "string"
27469
+ },
27470
+ "fieldName": "selector"
27471
+ },
27472
+ {
27473
+ "type": {
27474
+ "text": "boolean"
27475
+ },
27476
+ "default": "false",
27477
+ "fieldName": "show"
27478
+ },
27479
+ {
27480
+ "name": "event",
27481
+ "type": {
27482
+ "text": "string"
27483
+ },
27484
+ "default": "'click'",
27485
+ "fieldName": "event"
27486
+ },
27487
+ {
27488
+ "name": "placement",
27489
+ "type": {
27490
+ "text": "Placement"
27491
+ },
27492
+ "default": "'bottom'",
27493
+ "fieldName": "placement"
27494
+ },
27495
+ {
27496
+ "type": {
27497
+ "text": "[number, number]"
27498
+ },
27499
+ "fieldName": "offset"
27500
+ },
27501
+ {
27502
+ "type": {
27503
+ "text": "boolean"
27504
+ },
27505
+ "default": "false",
27506
+ "fieldName": "flip"
27507
+ }
27508
+ ],
27509
+ "superclass": {
27510
+ "name": "FoundationElement",
27511
+ "package": "@microsoft/fast-foundation"
27512
+ },
27513
+ "tagName": "%%prefix%%-popper",
27514
+ "customElement": true
27515
+ },
27516
+ {
27517
+ "kind": "variable",
27518
+ "name": "foundationPopper",
27519
+ "description": "The Foundation Popper",
27520
+ "privacy": "public"
27521
+ }
27522
+ ],
27523
+ "exports": [
27524
+ {
27525
+ "kind": "js",
27526
+ "name": "jsonConverter",
27527
+ "declaration": {
27528
+ "name": "jsonConverter",
27529
+ "module": "src/popper/popper.ts"
27530
+ }
27531
+ },
27532
+ {
27533
+ "kind": "js",
27534
+ "name": "Popper",
27535
+ "declaration": {
27536
+ "name": "Popper",
27537
+ "module": "src/popper/popper.ts"
27538
+ }
27539
+ },
27540
+ {
27541
+ "kind": "js",
27542
+ "name": "foundationPopper",
27543
+ "declaration": {
27544
+ "name": "foundationPopper",
27545
+ "module": "src/popper/popper.ts"
27546
+ }
27547
+ }
27548
+ ]
27549
+ },
27450
27550
  {
27451
27551
  "kind": "javascript-module",
27452
27552
  "path": "src/progress/index.ts",
@@ -28887,106 +28987,6 @@
28887
28987
  }
28888
28988
  ]
28889
28989
  },
28890
- {
28891
- "kind": "javascript-module",
28892
- "path": "src/patterns/define.ts",
28893
- "declarations": [
28894
- {
28895
- "kind": "function",
28896
- "name": "defineFactory",
28897
- "return": {
28898
- "type": {
28899
- "text": ""
28900
- }
28901
- },
28902
- "parameters": [
28903
- {
28904
- "name": "Type",
28905
- "type": {
28906
- "text": "TType"
28907
- },
28908
- "description": "The custom element Type / Class to define."
28909
- },
28910
- {
28911
- "name": "overriderOrBase",
28912
- "type": {
28913
- "text": "DefinitionOverrider | PartialFASTElementDefinition"
28914
- },
28915
- "description": "A function that merges definitions, or the base definition if custom merging is not needed."
28916
- }
28917
- ],
28918
- "description": "Defines a platform custom element based on the provided type and definition."
28919
- }
28920
- ],
28921
- "exports": [
28922
- {
28923
- "kind": "js",
28924
- "name": "defineFactory",
28925
- "declaration": {
28926
- "name": "defineFactory",
28927
- "module": "src/patterns/define.ts"
28928
- }
28929
- }
28930
- ]
28931
- },
28932
- {
28933
- "kind": "javascript-module",
28934
- "path": "src/patterns/index.ts",
28935
- "declarations": [],
28936
- "exports": [
28937
- {
28938
- "kind": "js",
28939
- "name": "*",
28940
- "declaration": {
28941
- "name": "*",
28942
- "package": "./define"
28943
- }
28944
- },
28945
- {
28946
- "kind": "js",
28947
- "name": "*",
28948
- "declaration": {
28949
- "name": "*",
28950
- "package": "./tag-for"
28951
- }
28952
- }
28953
- ]
28954
- },
28955
- {
28956
- "kind": "javascript-module",
28957
- "path": "src/patterns/tag-for.ts",
28958
- "declarations": [
28959
- {
28960
- "kind": "function",
28961
- "name": "tagFor",
28962
- "return": {
28963
- "type": {
28964
- "text": ""
28965
- }
28966
- },
28967
- "parameters": [
28968
- {
28969
- "name": "dependency",
28970
- "type": {
28971
- "text": "TemplateElementDependency"
28972
- },
28973
- "description": "The dependency the template is dependent on."
28974
- }
28975
- ],
28976
- "description": "Determines what HTML tag name to use for the dependency."
28977
- }
28978
- ],
28979
- "exports": [
28980
- {
28981
- "kind": "js",
28982
- "name": "tagFor",
28983
- "declaration": {
28984
- "name": "tagFor",
28985
- "module": "src/patterns/tag-for.ts"
28986
- }
28987
- }
28988
- ]
28989
- },
28990
28990
  {
28991
28991
  "kind": "javascript-module",
28992
28992
  "path": "src/router/index.ts",
@@ -35645,6 +35645,301 @@
35645
35645
  }
35646
35646
  ]
35647
35647
  },
35648
+ {
35649
+ "kind": "javascript-module",
35650
+ "path": "src/tab-panel/index.ts",
35651
+ "declarations": [],
35652
+ "exports": [
35653
+ {
35654
+ "kind": "js",
35655
+ "name": "*",
35656
+ "declaration": {
35657
+ "name": "*",
35658
+ "package": "./tab-panel.template"
35659
+ }
35660
+ },
35661
+ {
35662
+ "kind": "js",
35663
+ "name": "*",
35664
+ "declaration": {
35665
+ "name": "*",
35666
+ "package": "./tab-panel.styles"
35667
+ }
35668
+ },
35669
+ {
35670
+ "kind": "js",
35671
+ "name": "*",
35672
+ "declaration": {
35673
+ "name": "*",
35674
+ "package": "./tab-panel"
35675
+ }
35676
+ }
35677
+ ]
35678
+ },
35679
+ {
35680
+ "kind": "javascript-module",
35681
+ "path": "src/tab-panel/tab-panel.styles.ts",
35682
+ "declarations": [
35683
+ {
35684
+ "kind": "function",
35685
+ "name": "foundationTabPanelStyles",
35686
+ "return": {
35687
+ "type": {
35688
+ "text": "ElementStyles"
35689
+ }
35690
+ },
35691
+ "parameters": [
35692
+ {
35693
+ "name": "context",
35694
+ "type": {
35695
+ "text": "ElementDefinitionContext"
35696
+ }
35697
+ },
35698
+ {
35699
+ "name": "definition",
35700
+ "type": {
35701
+ "text": "FoundationElementDefinition"
35702
+ }
35703
+ }
35704
+ ]
35705
+ }
35706
+ ],
35707
+ "exports": [
35708
+ {
35709
+ "kind": "js",
35710
+ "name": "foundationTabPanelStyles",
35711
+ "declaration": {
35712
+ "name": "foundationTabPanelStyles",
35713
+ "module": "src/tab-panel/tab-panel.styles.ts"
35714
+ }
35715
+ }
35716
+ ]
35717
+ },
35718
+ {
35719
+ "kind": "javascript-module",
35720
+ "path": "src/tab-panel/tab-panel.template.ts",
35721
+ "declarations": [
35722
+ {
35723
+ "kind": "function",
35724
+ "name": "foundationTabPanelTemplate",
35725
+ "return": {
35726
+ "type": {
35727
+ "text": "ViewTemplate<TabPanel>"
35728
+ }
35729
+ },
35730
+ "parameters": [
35731
+ {
35732
+ "name": "context",
35733
+ "type": {
35734
+ "text": "ElementDefinitionContext"
35735
+ }
35736
+ },
35737
+ {
35738
+ "name": "definition",
35739
+ "type": {
35740
+ "text": "FoundationElementDefinition"
35741
+ }
35742
+ }
35743
+ ]
35744
+ }
35745
+ ],
35746
+ "exports": [
35747
+ {
35748
+ "kind": "js",
35749
+ "name": "foundationTabPanelTemplate",
35750
+ "declaration": {
35751
+ "name": "foundationTabPanelTemplate",
35752
+ "module": "src/tab-panel/tab-panel.template.ts"
35753
+ }
35754
+ }
35755
+ ]
35756
+ },
35757
+ {
35758
+ "kind": "javascript-module",
35759
+ "path": "src/tab-panel/tab-panel.ts",
35760
+ "declarations": [
35761
+ {
35762
+ "kind": "class",
35763
+ "description": "",
35764
+ "name": "TabPanel",
35765
+ "superclass": {
35766
+ "name": "FASTTabPanel",
35767
+ "package": "@microsoft/fast-components"
35768
+ },
35769
+ "tagName": "%%prefix%%-tab-panel",
35770
+ "customElement": true,
35771
+ "members": [
35772
+ {
35773
+ "kind": "field",
35774
+ "name": "_presentation",
35775
+ "type": {
35776
+ "text": "ComponentPresentation | null | undefined"
35777
+ },
35778
+ "privacy": "private",
35779
+ "default": "void 0",
35780
+ "inheritedFrom": {
35781
+ "name": "FoundationElement",
35782
+ "module": "src/foundation-element/foundation-element.ts"
35783
+ }
35784
+ },
35785
+ {
35786
+ "kind": "field",
35787
+ "name": "$presentation",
35788
+ "type": {
35789
+ "text": "ComponentPresentation | null"
35790
+ },
35791
+ "privacy": "public",
35792
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
35793
+ "inheritedFrom": {
35794
+ "name": "FoundationElement",
35795
+ "module": "src/foundation-element/foundation-element.ts"
35796
+ }
35797
+ },
35798
+ {
35799
+ "kind": "field",
35800
+ "name": "template",
35801
+ "type": {
35802
+ "text": "ElementViewTemplate | void | null"
35803
+ },
35804
+ "privacy": "public",
35805
+ "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.",
35806
+ "inheritedFrom": {
35807
+ "name": "FoundationElement",
35808
+ "module": "src/foundation-element/foundation-element.ts"
35809
+ }
35810
+ },
35811
+ {
35812
+ "kind": "method",
35813
+ "name": "templateChanged",
35814
+ "privacy": "protected",
35815
+ "return": {
35816
+ "type": {
35817
+ "text": "void"
35818
+ }
35819
+ },
35820
+ "inheritedFrom": {
35821
+ "name": "FoundationElement",
35822
+ "module": "src/foundation-element/foundation-element.ts"
35823
+ }
35824
+ },
35825
+ {
35826
+ "kind": "field",
35827
+ "name": "styles",
35828
+ "type": {
35829
+ "text": "ElementStyles | void | null"
35830
+ },
35831
+ "privacy": "public",
35832
+ "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.",
35833
+ "inheritedFrom": {
35834
+ "name": "FoundationElement",
35835
+ "module": "src/foundation-element/foundation-element.ts"
35836
+ }
35837
+ },
35838
+ {
35839
+ "kind": "method",
35840
+ "name": "stylesChanged",
35841
+ "privacy": "protected",
35842
+ "return": {
35843
+ "type": {
35844
+ "text": "void"
35845
+ }
35846
+ },
35847
+ "inheritedFrom": {
35848
+ "name": "FoundationElement",
35849
+ "module": "src/foundation-element/foundation-element.ts"
35850
+ }
35851
+ },
35852
+ {
35853
+ "kind": "method",
35854
+ "name": "compose",
35855
+ "privacy": "public",
35856
+ "static": true,
35857
+ "return": {
35858
+ "type": {
35859
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
35860
+ }
35861
+ },
35862
+ "parameters": [
35863
+ {
35864
+ "name": "this",
35865
+ "type": {
35866
+ "text": "K"
35867
+ }
35868
+ },
35869
+ {
35870
+ "name": "elementDefinition",
35871
+ "type": {
35872
+ "text": "T"
35873
+ },
35874
+ "description": "The definition of the element to create the registry\nfunction for."
35875
+ }
35876
+ ],
35877
+ "description": "Defines an element registry function with a set of element definition defaults.",
35878
+ "inheritedFrom": {
35879
+ "name": "FoundationElement",
35880
+ "module": "src/foundation-element/foundation-element.ts"
35881
+ }
35882
+ }
35883
+ ]
35884
+ },
35885
+ {
35886
+ "kind": "variable",
35887
+ "name": "foundationTabPanelShadowOptions",
35888
+ "type": {
35889
+ "text": "ShadowRootInit"
35890
+ },
35891
+ "default": "undefined"
35892
+ },
35893
+ {
35894
+ "kind": "variable",
35895
+ "name": "defaultTabPanelConfig",
35896
+ "type": {
35897
+ "text": "object"
35898
+ },
35899
+ "default": "{}"
35900
+ },
35901
+ {
35902
+ "kind": "variable",
35903
+ "name": "foundationTabPanel",
35904
+ "description": "The Foundation Tab Panel",
35905
+ "privacy": "public"
35906
+ }
35907
+ ],
35908
+ "exports": [
35909
+ {
35910
+ "kind": "js",
35911
+ "name": "TabPanel",
35912
+ "declaration": {
35913
+ "name": "TabPanel",
35914
+ "module": "src/tab-panel/tab-panel.ts"
35915
+ }
35916
+ },
35917
+ {
35918
+ "kind": "js",
35919
+ "name": "foundationTabPanelShadowOptions",
35920
+ "declaration": {
35921
+ "name": "foundationTabPanelShadowOptions",
35922
+ "module": "src/tab-panel/tab-panel.ts"
35923
+ }
35924
+ },
35925
+ {
35926
+ "kind": "js",
35927
+ "name": "defaultTabPanelConfig",
35928
+ "declaration": {
35929
+ "name": "defaultTabPanelConfig",
35930
+ "module": "src/tab-panel/tab-panel.ts"
35931
+ }
35932
+ },
35933
+ {
35934
+ "kind": "js",
35935
+ "name": "foundationTabPanel",
35936
+ "declaration": {
35937
+ "name": "foundationTabPanel",
35938
+ "module": "src/tab-panel/tab-panel.ts"
35939
+ }
35940
+ }
35941
+ ]
35942
+ },
35648
35943
  {
35649
35944
  "kind": "javascript-module",
35650
35945
  "path": "src/tabs/index.ts",
@@ -36333,301 +36628,6 @@
36333
36628
  }
36334
36629
  ]
36335
36630
  },
36336
- {
36337
- "kind": "javascript-module",
36338
- "path": "src/tab-panel/index.ts",
36339
- "declarations": [],
36340
- "exports": [
36341
- {
36342
- "kind": "js",
36343
- "name": "*",
36344
- "declaration": {
36345
- "name": "*",
36346
- "package": "./tab-panel.template"
36347
- }
36348
- },
36349
- {
36350
- "kind": "js",
36351
- "name": "*",
36352
- "declaration": {
36353
- "name": "*",
36354
- "package": "./tab-panel.styles"
36355
- }
36356
- },
36357
- {
36358
- "kind": "js",
36359
- "name": "*",
36360
- "declaration": {
36361
- "name": "*",
36362
- "package": "./tab-panel"
36363
- }
36364
- }
36365
- ]
36366
- },
36367
- {
36368
- "kind": "javascript-module",
36369
- "path": "src/tab-panel/tab-panel.styles.ts",
36370
- "declarations": [
36371
- {
36372
- "kind": "function",
36373
- "name": "foundationTabPanelStyles",
36374
- "return": {
36375
- "type": {
36376
- "text": "ElementStyles"
36377
- }
36378
- },
36379
- "parameters": [
36380
- {
36381
- "name": "context",
36382
- "type": {
36383
- "text": "ElementDefinitionContext"
36384
- }
36385
- },
36386
- {
36387
- "name": "definition",
36388
- "type": {
36389
- "text": "FoundationElementDefinition"
36390
- }
36391
- }
36392
- ]
36393
- }
36394
- ],
36395
- "exports": [
36396
- {
36397
- "kind": "js",
36398
- "name": "foundationTabPanelStyles",
36399
- "declaration": {
36400
- "name": "foundationTabPanelStyles",
36401
- "module": "src/tab-panel/tab-panel.styles.ts"
36402
- }
36403
- }
36404
- ]
36405
- },
36406
- {
36407
- "kind": "javascript-module",
36408
- "path": "src/tab-panel/tab-panel.template.ts",
36409
- "declarations": [
36410
- {
36411
- "kind": "function",
36412
- "name": "foundationTabPanelTemplate",
36413
- "return": {
36414
- "type": {
36415
- "text": "ViewTemplate<TabPanel>"
36416
- }
36417
- },
36418
- "parameters": [
36419
- {
36420
- "name": "context",
36421
- "type": {
36422
- "text": "ElementDefinitionContext"
36423
- }
36424
- },
36425
- {
36426
- "name": "definition",
36427
- "type": {
36428
- "text": "FoundationElementDefinition"
36429
- }
36430
- }
36431
- ]
36432
- }
36433
- ],
36434
- "exports": [
36435
- {
36436
- "kind": "js",
36437
- "name": "foundationTabPanelTemplate",
36438
- "declaration": {
36439
- "name": "foundationTabPanelTemplate",
36440
- "module": "src/tab-panel/tab-panel.template.ts"
36441
- }
36442
- }
36443
- ]
36444
- },
36445
- {
36446
- "kind": "javascript-module",
36447
- "path": "src/tab-panel/tab-panel.ts",
36448
- "declarations": [
36449
- {
36450
- "kind": "class",
36451
- "description": "",
36452
- "name": "TabPanel",
36453
- "superclass": {
36454
- "name": "FASTTabPanel",
36455
- "package": "@microsoft/fast-components"
36456
- },
36457
- "tagName": "%%prefix%%-tab-panel",
36458
- "customElement": true,
36459
- "members": [
36460
- {
36461
- "kind": "field",
36462
- "name": "_presentation",
36463
- "type": {
36464
- "text": "ComponentPresentation | null | undefined"
36465
- },
36466
- "privacy": "private",
36467
- "default": "void 0",
36468
- "inheritedFrom": {
36469
- "name": "FoundationElement",
36470
- "module": "src/foundation-element/foundation-element.ts"
36471
- }
36472
- },
36473
- {
36474
- "kind": "field",
36475
- "name": "$presentation",
36476
- "type": {
36477
- "text": "ComponentPresentation | null"
36478
- },
36479
- "privacy": "public",
36480
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
36481
- "inheritedFrom": {
36482
- "name": "FoundationElement",
36483
- "module": "src/foundation-element/foundation-element.ts"
36484
- }
36485
- },
36486
- {
36487
- "kind": "field",
36488
- "name": "template",
36489
- "type": {
36490
- "text": "ElementViewTemplate | void | null"
36491
- },
36492
- "privacy": "public",
36493
- "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.",
36494
- "inheritedFrom": {
36495
- "name": "FoundationElement",
36496
- "module": "src/foundation-element/foundation-element.ts"
36497
- }
36498
- },
36499
- {
36500
- "kind": "method",
36501
- "name": "templateChanged",
36502
- "privacy": "protected",
36503
- "return": {
36504
- "type": {
36505
- "text": "void"
36506
- }
36507
- },
36508
- "inheritedFrom": {
36509
- "name": "FoundationElement",
36510
- "module": "src/foundation-element/foundation-element.ts"
36511
- }
36512
- },
36513
- {
36514
- "kind": "field",
36515
- "name": "styles",
36516
- "type": {
36517
- "text": "ElementStyles | void | null"
36518
- },
36519
- "privacy": "public",
36520
- "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.",
36521
- "inheritedFrom": {
36522
- "name": "FoundationElement",
36523
- "module": "src/foundation-element/foundation-element.ts"
36524
- }
36525
- },
36526
- {
36527
- "kind": "method",
36528
- "name": "stylesChanged",
36529
- "privacy": "protected",
36530
- "return": {
36531
- "type": {
36532
- "text": "void"
36533
- }
36534
- },
36535
- "inheritedFrom": {
36536
- "name": "FoundationElement",
36537
- "module": "src/foundation-element/foundation-element.ts"
36538
- }
36539
- },
36540
- {
36541
- "kind": "method",
36542
- "name": "compose",
36543
- "privacy": "public",
36544
- "static": true,
36545
- "return": {
36546
- "type": {
36547
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
36548
- }
36549
- },
36550
- "parameters": [
36551
- {
36552
- "name": "this",
36553
- "type": {
36554
- "text": "K"
36555
- }
36556
- },
36557
- {
36558
- "name": "elementDefinition",
36559
- "type": {
36560
- "text": "T"
36561
- },
36562
- "description": "The definition of the element to create the registry\nfunction for."
36563
- }
36564
- ],
36565
- "description": "Defines an element registry function with a set of element definition defaults.",
36566
- "inheritedFrom": {
36567
- "name": "FoundationElement",
36568
- "module": "src/foundation-element/foundation-element.ts"
36569
- }
36570
- }
36571
- ]
36572
- },
36573
- {
36574
- "kind": "variable",
36575
- "name": "foundationTabPanelShadowOptions",
36576
- "type": {
36577
- "text": "ShadowRootInit"
36578
- },
36579
- "default": "undefined"
36580
- },
36581
- {
36582
- "kind": "variable",
36583
- "name": "defaultTabPanelConfig",
36584
- "type": {
36585
- "text": "object"
36586
- },
36587
- "default": "{}"
36588
- },
36589
- {
36590
- "kind": "variable",
36591
- "name": "foundationTabPanel",
36592
- "description": "The Foundation Tab Panel",
36593
- "privacy": "public"
36594
- }
36595
- ],
36596
- "exports": [
36597
- {
36598
- "kind": "js",
36599
- "name": "TabPanel",
36600
- "declaration": {
36601
- "name": "TabPanel",
36602
- "module": "src/tab-panel/tab-panel.ts"
36603
- }
36604
- },
36605
- {
36606
- "kind": "js",
36607
- "name": "foundationTabPanelShadowOptions",
36608
- "declaration": {
36609
- "name": "foundationTabPanelShadowOptions",
36610
- "module": "src/tab-panel/tab-panel.ts"
36611
- }
36612
- },
36613
- {
36614
- "kind": "js",
36615
- "name": "defaultTabPanelConfig",
36616
- "declaration": {
36617
- "name": "defaultTabPanelConfig",
36618
- "module": "src/tab-panel/tab-panel.ts"
36619
- }
36620
- },
36621
- {
36622
- "kind": "js",
36623
- "name": "foundationTabPanel",
36624
- "declaration": {
36625
- "name": "foundationTabPanel",
36626
- "module": "src/tab-panel/tab-panel.ts"
36627
- }
36628
- }
36629
- ]
36630
- },
36631
36631
  {
36632
36632
  "kind": "javascript-module",
36633
36633
  "path": "src/text-area/index.ts",
@@ -37286,327 +37286,6 @@
37286
37286
  }
37287
37287
  ]
37288
37288
  },
37289
- {
37290
- "kind": "javascript-module",
37291
- "path": "src/toast/index.ts",
37292
- "declarations": [],
37293
- "exports": [
37294
- {
37295
- "kind": "js",
37296
- "name": "*",
37297
- "declaration": {
37298
- "name": "*",
37299
- "package": "./toast.styles"
37300
- }
37301
- },
37302
- {
37303
- "kind": "js",
37304
- "name": "*",
37305
- "declaration": {
37306
- "name": "*",
37307
- "package": "./toast.template"
37308
- }
37309
- },
37310
- {
37311
- "kind": "js",
37312
- "name": "*",
37313
- "declaration": {
37314
- "name": "*",
37315
- "package": "./toast"
37316
- }
37317
- }
37318
- ]
37319
- },
37320
- {
37321
- "kind": "javascript-module",
37322
- "path": "src/toast/toast.styles.ts",
37323
- "declarations": [
37324
- {
37325
- "kind": "variable",
37326
- "name": "foundationToastStyles",
37327
- "type": {
37328
- "text": "ElementStyles"
37329
- },
37330
- "default": "css`\n @keyframes append-animate {\n from {\n transform: translateX(100%);\n opacity: 0%;\n }\n\n to {\n transform: translateX(0%);\n opacity: 100%;\n }\n }\n\n @keyframes delete-animate {\n from {\n transform: translateX(0%);\n opacity: 100%;\n }\n\n to {\n transform: translateX(100%);\n opacity: 0%;\n }\n }\n\n :host {\n --toast-min-width: 356px;\n --toast-min-height: 128px;\n --toast-max-width: 356px;\n --toast-max-height: 272px;\n }\n\n .toast {\n animation: append-animate 0.3s linear;\n max-width: var(--toast-max-width);\n min-width: var(--toast-min-width);\n background-color: var(--fill-color);\n border-radius: calc(var(--control-corner-radius) * 1px);\n border-width: thin;\n border-color: var(--neutral-fill-rest);\n box-shadow: 0 2px 15px 0 rgb(0 0 0 / 35%);\n display: flex;\n position: relative;\n flex-direction: row;\n padding: 8px 8px 8px 15px;\n margin: 5px;\n }\n\n .toast-delete {\n animation: delete-animate 0.3s linear;\n opacity: 0%;\n }\n\n .toast::after {\n content: '';\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n left: 5px;\n height: calc(100% - 10px);\n width: 4px;\n border-radius: 2px;\n background-color: red;\n }\n\n .content-wrapper {\n height: fit-content;\n width: 100%;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: stretch;\n }\n\n .bottom {\n width: 70%;\n }\n\n .top {\n width: 100%;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n }\n\n .content {\n width: 85%;\n font-size: 12px;\n overflow-wrap: break-word;\n }\n\n .date {\n color: var(--neutral-foreground-hint);\n font-size: 12px;\n margin: 0 0 5px;\n }\n\n .close-icon svg {\n cursor: pointer;\n }\n`"
37331
- }
37332
- ],
37333
- "exports": [
37334
- {
37335
- "kind": "js",
37336
- "name": "foundationToastStyles",
37337
- "declaration": {
37338
- "name": "foundationToastStyles",
37339
- "module": "src/toast/toast.styles.ts"
37340
- }
37341
- }
37342
- ]
37343
- },
37344
- {
37345
- "kind": "javascript-module",
37346
- "path": "src/toast/toast.template.ts",
37347
- "declarations": [
37348
- {
37349
- "kind": "variable",
37350
- "name": "foundationToastTemplate",
37351
- "type": {
37352
- "text": "ViewTemplate<Toast>"
37353
- },
37354
- "default": "html`\n <div class=\"toast ${(x) => x.deleteAnimation}\" ${ref('toast')}>\n <div class=\"content-wrapper\">\n <div part=\"top\" class=\"top\">\n <slot name=\"top\"></slot>\n <div class=\"close-icon\" @click=${(x) => x.close()}>${closeIcon()}</div>\n </div>\n <div part=\"content\" class=\"content\">\n <slot name=\"content\"></slot>\n </div>\n <div part=\"date\" class=\"date\">\n <slot name=\"date\"></slot>\n </div>\n <div part=\"bottom\" class=\"bottom\">\n <slot name=\"bottom\"></slot>\n </div>\n </div>\n </div>\n`"
37355
- }
37356
- ],
37357
- "exports": [
37358
- {
37359
- "kind": "js",
37360
- "name": "foundationToastTemplate",
37361
- "declaration": {
37362
- "name": "foundationToastTemplate",
37363
- "module": "src/toast/toast.template.ts"
37364
- }
37365
- }
37366
- ]
37367
- },
37368
- {
37369
- "kind": "javascript-module",
37370
- "path": "src/toast/toast.ts",
37371
- "declarations": [
37372
- {
37373
- "kind": "variable",
37374
- "name": "foundationToastShadowOptions",
37375
- "type": {
37376
- "text": "ShadowRootInit"
37377
- },
37378
- "default": "{\n mode: 'open',\n delegatesFocus: true,\n}"
37379
- },
37380
- {
37381
- "kind": "variable",
37382
- "name": "defaultToastConfig",
37383
- "type": {
37384
- "text": "object"
37385
- },
37386
- "default": "{}"
37387
- },
37388
- {
37389
- "kind": "class",
37390
- "description": "",
37391
- "name": "Toast",
37392
- "members": [
37393
- {
37394
- "kind": "field",
37395
- "name": "toast",
37396
- "type": {
37397
- "text": "HTMLElement"
37398
- },
37399
- "privacy": "public"
37400
- },
37401
- {
37402
- "kind": "field",
37403
- "name": "deleteAnimation",
37404
- "type": {
37405
- "text": "string"
37406
- },
37407
- "default": "''"
37408
- },
37409
- {
37410
- "kind": "field",
37411
- "name": "closeTimeout",
37412
- "type": {
37413
- "text": "number"
37414
- },
37415
- "default": "10000"
37416
- },
37417
- {
37418
- "kind": "field",
37419
- "name": "autoClose",
37420
- "type": {
37421
- "text": "boolean"
37422
- },
37423
- "default": "false"
37424
- },
37425
- {
37426
- "kind": "method",
37427
- "name": "close",
37428
- "privacy": "public",
37429
- "description": "Remove the toast from display."
37430
- },
37431
- {
37432
- "kind": "field",
37433
- "name": "_presentation",
37434
- "type": {
37435
- "text": "ComponentPresentation | null | undefined"
37436
- },
37437
- "privacy": "private",
37438
- "default": "void 0",
37439
- "inheritedFrom": {
37440
- "name": "FoundationElement",
37441
- "module": "src/foundation-element/foundation-element.ts"
37442
- }
37443
- },
37444
- {
37445
- "kind": "field",
37446
- "name": "$presentation",
37447
- "type": {
37448
- "text": "ComponentPresentation | null"
37449
- },
37450
- "privacy": "public",
37451
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
37452
- "inheritedFrom": {
37453
- "name": "FoundationElement",
37454
- "module": "src/foundation-element/foundation-element.ts"
37455
- }
37456
- },
37457
- {
37458
- "kind": "field",
37459
- "name": "template",
37460
- "type": {
37461
- "text": "ElementViewTemplate | void | null"
37462
- },
37463
- "privacy": "public",
37464
- "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.",
37465
- "inheritedFrom": {
37466
- "name": "FoundationElement",
37467
- "module": "src/foundation-element/foundation-element.ts"
37468
- }
37469
- },
37470
- {
37471
- "kind": "method",
37472
- "name": "templateChanged",
37473
- "privacy": "protected",
37474
- "return": {
37475
- "type": {
37476
- "text": "void"
37477
- }
37478
- },
37479
- "inheritedFrom": {
37480
- "name": "FoundationElement",
37481
- "module": "src/foundation-element/foundation-element.ts"
37482
- }
37483
- },
37484
- {
37485
- "kind": "field",
37486
- "name": "styles",
37487
- "type": {
37488
- "text": "ElementStyles | void | null"
37489
- },
37490
- "privacy": "public",
37491
- "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.",
37492
- "inheritedFrom": {
37493
- "name": "FoundationElement",
37494
- "module": "src/foundation-element/foundation-element.ts"
37495
- }
37496
- },
37497
- {
37498
- "kind": "method",
37499
- "name": "stylesChanged",
37500
- "privacy": "protected",
37501
- "return": {
37502
- "type": {
37503
- "text": "void"
37504
- }
37505
- },
37506
- "inheritedFrom": {
37507
- "name": "FoundationElement",
37508
- "module": "src/foundation-element/foundation-element.ts"
37509
- }
37510
- },
37511
- {
37512
- "kind": "method",
37513
- "name": "compose",
37514
- "privacy": "public",
37515
- "static": true,
37516
- "return": {
37517
- "type": {
37518
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
37519
- }
37520
- },
37521
- "parameters": [
37522
- {
37523
- "name": "this",
37524
- "type": {
37525
- "text": "K"
37526
- }
37527
- },
37528
- {
37529
- "name": "elementDefinition",
37530
- "type": {
37531
- "text": "T"
37532
- },
37533
- "description": "The definition of the element to create the registry\nfunction for."
37534
- }
37535
- ],
37536
- "description": "Defines an element registry function with a set of element definition defaults.",
37537
- "inheritedFrom": {
37538
- "name": "FoundationElement",
37539
- "module": "src/foundation-element/foundation-element.ts"
37540
- }
37541
- }
37542
- ],
37543
- "attributes": [
37544
- {
37545
- "name": "close-timeout",
37546
- "type": {
37547
- "text": "number"
37548
- },
37549
- "default": "10000",
37550
- "fieldName": "closeTimeout"
37551
- },
37552
- {
37553
- "name": "auto-close",
37554
- "type": {
37555
- "text": "boolean"
37556
- },
37557
- "default": "false",
37558
- "fieldName": "autoClose"
37559
- }
37560
- ],
37561
- "superclass": {
37562
- "name": "FoundationElement",
37563
- "package": "@microsoft/fast-foundation"
37564
- },
37565
- "tagName": "%%prefix%%-toast",
37566
- "customElement": true
37567
- },
37568
- {
37569
- "kind": "variable",
37570
- "name": "foundationToast",
37571
- "description": "The Foundation Toast",
37572
- "privacy": "public"
37573
- }
37574
- ],
37575
- "exports": [
37576
- {
37577
- "kind": "js",
37578
- "name": "foundationToastShadowOptions",
37579
- "declaration": {
37580
- "name": "foundationToastShadowOptions",
37581
- "module": "src/toast/toast.ts"
37582
- }
37583
- },
37584
- {
37585
- "kind": "js",
37586
- "name": "defaultToastConfig",
37587
- "declaration": {
37588
- "name": "defaultToastConfig",
37589
- "module": "src/toast/toast.ts"
37590
- }
37591
- },
37592
- {
37593
- "kind": "js",
37594
- "name": "Toast",
37595
- "declaration": {
37596
- "name": "Toast",
37597
- "module": "src/toast/toast.ts"
37598
- }
37599
- },
37600
- {
37601
- "kind": "js",
37602
- "name": "foundationToast",
37603
- "declaration": {
37604
- "name": "foundationToast",
37605
- "module": "src/toast/toast.ts"
37606
- }
37607
- }
37608
- ]
37609
- },
37610
37289
  {
37611
37290
  "kind": "javascript-module",
37612
37291
  "path": "src/text-field/index.ts",
@@ -38336,6 +38015,327 @@
38336
38015
  }
38337
38016
  ]
38338
38017
  },
38018
+ {
38019
+ "kind": "javascript-module",
38020
+ "path": "src/toast/index.ts",
38021
+ "declarations": [],
38022
+ "exports": [
38023
+ {
38024
+ "kind": "js",
38025
+ "name": "*",
38026
+ "declaration": {
38027
+ "name": "*",
38028
+ "package": "./toast.styles"
38029
+ }
38030
+ },
38031
+ {
38032
+ "kind": "js",
38033
+ "name": "*",
38034
+ "declaration": {
38035
+ "name": "*",
38036
+ "package": "./toast.template"
38037
+ }
38038
+ },
38039
+ {
38040
+ "kind": "js",
38041
+ "name": "*",
38042
+ "declaration": {
38043
+ "name": "*",
38044
+ "package": "./toast"
38045
+ }
38046
+ }
38047
+ ]
38048
+ },
38049
+ {
38050
+ "kind": "javascript-module",
38051
+ "path": "src/toast/toast.styles.ts",
38052
+ "declarations": [
38053
+ {
38054
+ "kind": "variable",
38055
+ "name": "foundationToastStyles",
38056
+ "type": {
38057
+ "text": "ElementStyles"
38058
+ },
38059
+ "default": "css`\n @keyframes append-animate {\n from {\n transform: translateX(100%);\n opacity: 0%;\n }\n\n to {\n transform: translateX(0%);\n opacity: 100%;\n }\n }\n\n @keyframes delete-animate {\n from {\n transform: translateX(0%);\n opacity: 100%;\n }\n\n to {\n transform: translateX(100%);\n opacity: 0%;\n }\n }\n\n :host {\n --toast-min-width: 356px;\n --toast-min-height: 128px;\n --toast-max-width: 356px;\n --toast-max-height: 272px;\n }\n\n .toast {\n animation: append-animate 0.3s linear;\n max-width: var(--toast-max-width);\n min-width: var(--toast-min-width);\n background-color: var(--fill-color);\n border-radius: calc(var(--control-corner-radius) * 1px);\n border-width: thin;\n border-color: var(--neutral-fill-rest);\n box-shadow: 0 2px 15px 0 rgb(0 0 0 / 35%);\n display: flex;\n position: relative;\n flex-direction: row;\n padding: 8px 8px 8px 15px;\n margin: 5px;\n }\n\n .toast-delete {\n animation: delete-animate 0.3s linear;\n opacity: 0%;\n }\n\n .toast::after {\n content: '';\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n left: 5px;\n height: calc(100% - 10px);\n width: 4px;\n border-radius: 2px;\n background-color: red;\n }\n\n .content-wrapper {\n height: fit-content;\n width: 100%;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: stretch;\n }\n\n .bottom {\n width: 70%;\n }\n\n .top {\n width: 100%;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n }\n\n .content {\n width: 85%;\n font-size: 12px;\n overflow-wrap: break-word;\n }\n\n .date {\n color: var(--neutral-foreground-hint);\n font-size: 12px;\n margin: 0 0 5px;\n }\n\n .close-icon svg {\n cursor: pointer;\n }\n`"
38060
+ }
38061
+ ],
38062
+ "exports": [
38063
+ {
38064
+ "kind": "js",
38065
+ "name": "foundationToastStyles",
38066
+ "declaration": {
38067
+ "name": "foundationToastStyles",
38068
+ "module": "src/toast/toast.styles.ts"
38069
+ }
38070
+ }
38071
+ ]
38072
+ },
38073
+ {
38074
+ "kind": "javascript-module",
38075
+ "path": "src/toast/toast.template.ts",
38076
+ "declarations": [
38077
+ {
38078
+ "kind": "variable",
38079
+ "name": "foundationToastTemplate",
38080
+ "type": {
38081
+ "text": "ViewTemplate<Toast>"
38082
+ },
38083
+ "default": "html`\n <div class=\"toast ${(x) => x.deleteAnimation}\" ${ref('toast')}>\n <div class=\"content-wrapper\">\n <div part=\"top\" class=\"top\">\n <slot name=\"top\"></slot>\n <div class=\"close-icon\" @click=${(x) => x.close()}>${closeIcon()}</div>\n </div>\n <div part=\"content\" class=\"content\">\n <slot name=\"content\"></slot>\n </div>\n <div part=\"date\" class=\"date\">\n <slot name=\"date\"></slot>\n </div>\n <div part=\"bottom\" class=\"bottom\">\n <slot name=\"bottom\"></slot>\n </div>\n </div>\n </div>\n`"
38084
+ }
38085
+ ],
38086
+ "exports": [
38087
+ {
38088
+ "kind": "js",
38089
+ "name": "foundationToastTemplate",
38090
+ "declaration": {
38091
+ "name": "foundationToastTemplate",
38092
+ "module": "src/toast/toast.template.ts"
38093
+ }
38094
+ }
38095
+ ]
38096
+ },
38097
+ {
38098
+ "kind": "javascript-module",
38099
+ "path": "src/toast/toast.ts",
38100
+ "declarations": [
38101
+ {
38102
+ "kind": "variable",
38103
+ "name": "foundationToastShadowOptions",
38104
+ "type": {
38105
+ "text": "ShadowRootInit"
38106
+ },
38107
+ "default": "{\n mode: 'open',\n delegatesFocus: true,\n}"
38108
+ },
38109
+ {
38110
+ "kind": "variable",
38111
+ "name": "defaultToastConfig",
38112
+ "type": {
38113
+ "text": "object"
38114
+ },
38115
+ "default": "{}"
38116
+ },
38117
+ {
38118
+ "kind": "class",
38119
+ "description": "",
38120
+ "name": "Toast",
38121
+ "members": [
38122
+ {
38123
+ "kind": "field",
38124
+ "name": "toast",
38125
+ "type": {
38126
+ "text": "HTMLElement"
38127
+ },
38128
+ "privacy": "public"
38129
+ },
38130
+ {
38131
+ "kind": "field",
38132
+ "name": "deleteAnimation",
38133
+ "type": {
38134
+ "text": "string"
38135
+ },
38136
+ "default": "''"
38137
+ },
38138
+ {
38139
+ "kind": "field",
38140
+ "name": "closeTimeout",
38141
+ "type": {
38142
+ "text": "number"
38143
+ },
38144
+ "default": "10000"
38145
+ },
38146
+ {
38147
+ "kind": "field",
38148
+ "name": "autoClose",
38149
+ "type": {
38150
+ "text": "boolean"
38151
+ },
38152
+ "default": "false"
38153
+ },
38154
+ {
38155
+ "kind": "method",
38156
+ "name": "close",
38157
+ "privacy": "public",
38158
+ "description": "Remove the toast from display."
38159
+ },
38160
+ {
38161
+ "kind": "field",
38162
+ "name": "_presentation",
38163
+ "type": {
38164
+ "text": "ComponentPresentation | null | undefined"
38165
+ },
38166
+ "privacy": "private",
38167
+ "default": "void 0",
38168
+ "inheritedFrom": {
38169
+ "name": "FoundationElement",
38170
+ "module": "src/foundation-element/foundation-element.ts"
38171
+ }
38172
+ },
38173
+ {
38174
+ "kind": "field",
38175
+ "name": "$presentation",
38176
+ "type": {
38177
+ "text": "ComponentPresentation | null"
38178
+ },
38179
+ "privacy": "public",
38180
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
38181
+ "inheritedFrom": {
38182
+ "name": "FoundationElement",
38183
+ "module": "src/foundation-element/foundation-element.ts"
38184
+ }
38185
+ },
38186
+ {
38187
+ "kind": "field",
38188
+ "name": "template",
38189
+ "type": {
38190
+ "text": "ElementViewTemplate | void | null"
38191
+ },
38192
+ "privacy": "public",
38193
+ "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.",
38194
+ "inheritedFrom": {
38195
+ "name": "FoundationElement",
38196
+ "module": "src/foundation-element/foundation-element.ts"
38197
+ }
38198
+ },
38199
+ {
38200
+ "kind": "method",
38201
+ "name": "templateChanged",
38202
+ "privacy": "protected",
38203
+ "return": {
38204
+ "type": {
38205
+ "text": "void"
38206
+ }
38207
+ },
38208
+ "inheritedFrom": {
38209
+ "name": "FoundationElement",
38210
+ "module": "src/foundation-element/foundation-element.ts"
38211
+ }
38212
+ },
38213
+ {
38214
+ "kind": "field",
38215
+ "name": "styles",
38216
+ "type": {
38217
+ "text": "ElementStyles | void | null"
38218
+ },
38219
+ "privacy": "public",
38220
+ "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.",
38221
+ "inheritedFrom": {
38222
+ "name": "FoundationElement",
38223
+ "module": "src/foundation-element/foundation-element.ts"
38224
+ }
38225
+ },
38226
+ {
38227
+ "kind": "method",
38228
+ "name": "stylesChanged",
38229
+ "privacy": "protected",
38230
+ "return": {
38231
+ "type": {
38232
+ "text": "void"
38233
+ }
38234
+ },
38235
+ "inheritedFrom": {
38236
+ "name": "FoundationElement",
38237
+ "module": "src/foundation-element/foundation-element.ts"
38238
+ }
38239
+ },
38240
+ {
38241
+ "kind": "method",
38242
+ "name": "compose",
38243
+ "privacy": "public",
38244
+ "static": true,
38245
+ "return": {
38246
+ "type": {
38247
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
38248
+ }
38249
+ },
38250
+ "parameters": [
38251
+ {
38252
+ "name": "this",
38253
+ "type": {
38254
+ "text": "K"
38255
+ }
38256
+ },
38257
+ {
38258
+ "name": "elementDefinition",
38259
+ "type": {
38260
+ "text": "T"
38261
+ },
38262
+ "description": "The definition of the element to create the registry\nfunction for."
38263
+ }
38264
+ ],
38265
+ "description": "Defines an element registry function with a set of element definition defaults.",
38266
+ "inheritedFrom": {
38267
+ "name": "FoundationElement",
38268
+ "module": "src/foundation-element/foundation-element.ts"
38269
+ }
38270
+ }
38271
+ ],
38272
+ "attributes": [
38273
+ {
38274
+ "name": "close-timeout",
38275
+ "type": {
38276
+ "text": "number"
38277
+ },
38278
+ "default": "10000",
38279
+ "fieldName": "closeTimeout"
38280
+ },
38281
+ {
38282
+ "name": "auto-close",
38283
+ "type": {
38284
+ "text": "boolean"
38285
+ },
38286
+ "default": "false",
38287
+ "fieldName": "autoClose"
38288
+ }
38289
+ ],
38290
+ "superclass": {
38291
+ "name": "FoundationElement",
38292
+ "package": "@microsoft/fast-foundation"
38293
+ },
38294
+ "tagName": "%%prefix%%-toast",
38295
+ "customElement": true
38296
+ },
38297
+ {
38298
+ "kind": "variable",
38299
+ "name": "foundationToast",
38300
+ "description": "The Foundation Toast",
38301
+ "privacy": "public"
38302
+ }
38303
+ ],
38304
+ "exports": [
38305
+ {
38306
+ "kind": "js",
38307
+ "name": "foundationToastShadowOptions",
38308
+ "declaration": {
38309
+ "name": "foundationToastShadowOptions",
38310
+ "module": "src/toast/toast.ts"
38311
+ }
38312
+ },
38313
+ {
38314
+ "kind": "js",
38315
+ "name": "defaultToastConfig",
38316
+ "declaration": {
38317
+ "name": "defaultToastConfig",
38318
+ "module": "src/toast/toast.ts"
38319
+ }
38320
+ },
38321
+ {
38322
+ "kind": "js",
38323
+ "name": "Toast",
38324
+ "declaration": {
38325
+ "name": "Toast",
38326
+ "module": "src/toast/toast.ts"
38327
+ }
38328
+ },
38329
+ {
38330
+ "kind": "js",
38331
+ "name": "foundationToast",
38332
+ "declaration": {
38333
+ "name": "foundationToast",
38334
+ "module": "src/toast/toast.ts"
38335
+ }
38336
+ }
38337
+ ]
38338
+ },
38339
38339
  {
38340
38340
  "kind": "javascript-module",
38341
38341
  "path": "src/toolbar/index.ts",