@genesislcap/foundation-ui 14.163.0 → 14.164.1

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 +1102 -1102
  2. package/package.json +15 -15
@@ -844,158 +844,7 @@
844
844
  },
845
845
  {
846
846
  "kind": "javascript-module",
847
- "path": "src/accordion/accordion.styles.ts",
848
- "declarations": [
849
- {
850
- "kind": "function",
851
- "name": "foundationAccordionStyles",
852
- "return": {
853
- "type": {
854
- "text": "ElementStyles"
855
- }
856
- },
857
- "parameters": [
858
- {
859
- "name": "context",
860
- "type": {
861
- "text": "ElementDefinitionContext"
862
- }
863
- },
864
- {
865
- "name": "definition",
866
- "type": {
867
- "text": "FoundationElementDefinition"
868
- }
869
- }
870
- ]
871
- }
872
- ],
873
- "exports": [
874
- {
875
- "kind": "js",
876
- "name": "foundationAccordionStyles",
877
- "declaration": {
878
- "name": "foundationAccordionStyles",
879
- "module": "src/accordion/accordion.styles.ts"
880
- }
881
- }
882
- ]
883
- },
884
- {
885
- "kind": "javascript-module",
886
- "path": "src/accordion/accordion.template.ts",
887
- "declarations": [
888
- {
889
- "kind": "function",
890
- "name": "foundationAccordionTemplate",
891
- "return": {
892
- "type": {
893
- "text": "ViewTemplate<Accordion>"
894
- }
895
- },
896
- "parameters": [
897
- {
898
- "name": "context",
899
- "type": {
900
- "text": "ElementDefinitionContext"
901
- }
902
- },
903
- {
904
- "name": "definition",
905
- "type": {
906
- "text": "FoundationElementDefinition"
907
- }
908
- }
909
- ]
910
- }
911
- ],
912
- "exports": [
913
- {
914
- "kind": "js",
915
- "name": "foundationAccordionTemplate",
916
- "declaration": {
917
- "name": "foundationAccordionTemplate",
918
- "module": "src/accordion/accordion.template.ts"
919
- }
920
- }
921
- ]
922
- },
923
- {
924
- "kind": "javascript-module",
925
- "path": "src/accordion/accordion.ts",
926
- "declarations": [
927
- {
928
- "kind": "class",
929
- "description": "",
930
- "name": "Accordion",
931
- "superclass": {
932
- "name": "FASTAccordion",
933
- "package": "@microsoft/fast-foundation"
934
- },
935
- "tagName": "%%prefix%%-accordion",
936
- "customElement": true
937
- },
938
- {
939
- "kind": "variable",
940
- "name": "foundationAccordionShadowOptions",
941
- "type": {
942
- "text": "ShadowRootInit"
943
- },
944
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
945
- },
946
- {
947
- "kind": "variable",
948
- "name": "defaultAccordionConfig",
949
- "type": {
950
- "text": "object"
951
- },
952
- "default": "{}"
953
- },
954
- {
955
- "kind": "variable",
956
- "name": "foundationAccordion",
957
- "description": "The Foundation Accordion",
958
- "privacy": "public"
959
- }
960
- ],
961
- "exports": [
962
- {
963
- "kind": "js",
964
- "name": "Accordion",
965
- "declaration": {
966
- "name": "Accordion",
967
- "module": "src/accordion/accordion.ts"
968
- }
969
- },
970
- {
971
- "kind": "js",
972
- "name": "foundationAccordionShadowOptions",
973
- "declaration": {
974
- "name": "foundationAccordionShadowOptions",
975
- "module": "src/accordion/accordion.ts"
976
- }
977
- },
978
- {
979
- "kind": "js",
980
- "name": "defaultAccordionConfig",
981
- "declaration": {
982
- "name": "defaultAccordionConfig",
983
- "module": "src/accordion/accordion.ts"
984
- }
985
- },
986
- {
987
- "kind": "js",
988
- "name": "foundationAccordion",
989
- "declaration": {
990
- "name": "foundationAccordion",
991
- "module": "src/accordion/accordion.ts"
992
- }
993
- }
994
- ]
995
- },
996
- {
997
- "kind": "javascript-module",
998
- "path": "src/accordion/index.ts",
847
+ "path": "src/_config/index.ts",
999
848
  "declarations": [],
1000
849
  "exports": [
1001
850
  {
@@ -1003,7 +852,7 @@
1003
852
  "name": "*",
1004
853
  "declaration": {
1005
854
  "name": "*",
1006
- "package": "./accordion.template"
855
+ "package": "./styles"
1007
856
  }
1008
857
  },
1009
858
  {
@@ -1011,7 +860,7 @@
1011
860
  "name": "*",
1012
861
  "declaration": {
1013
862
  "name": "*",
1014
- "package": "./accordion.styles"
863
+ "package": "./tokens"
1015
864
  }
1016
865
  },
1017
866
  {
@@ -1019,7 +868,7 @@
1019
868
  "name": "*",
1020
869
  "declaration": {
1021
870
  "name": "*",
1022
- "package": "./accordion"
871
+ "package": "./values"
1023
872
  }
1024
873
  }
1025
874
  ]
@@ -1418,37 +1267,6 @@
1418
1267
  }
1419
1268
  ]
1420
1269
  },
1421
- {
1422
- "kind": "javascript-module",
1423
- "path": "src/_config/index.ts",
1424
- "declarations": [],
1425
- "exports": [
1426
- {
1427
- "kind": "js",
1428
- "name": "*",
1429
- "declaration": {
1430
- "name": "*",
1431
- "package": "./styles"
1432
- }
1433
- },
1434
- {
1435
- "kind": "js",
1436
- "name": "*",
1437
- "declaration": {
1438
- "name": "*",
1439
- "package": "./tokens"
1440
- }
1441
- },
1442
- {
1443
- "kind": "js",
1444
- "name": "*",
1445
- "declaration": {
1446
- "name": "*",
1447
- "package": "./values"
1448
- }
1449
- }
1450
- ]
1451
- },
1452
1270
  {
1453
1271
  "kind": "javascript-module",
1454
1272
  "path": "src/actions-menu/actions-menu.styles.ts",
@@ -2010,11 +1828,11 @@
2010
1828
  },
2011
1829
  {
2012
1830
  "kind": "javascript-module",
2013
- "path": "src/anchor/anchor.styles.ts",
1831
+ "path": "src/accordion/accordion.styles.ts",
2014
1832
  "declarations": [
2015
1833
  {
2016
1834
  "kind": "function",
2017
- "name": "foundationAnchorStyles",
1835
+ "name": "foundationAccordionStyles",
2018
1836
  "return": {
2019
1837
  "type": {
2020
1838
  "text": "ElementStyles"
@@ -2039,24 +1857,24 @@
2039
1857
  "exports": [
2040
1858
  {
2041
1859
  "kind": "js",
2042
- "name": "foundationAnchorStyles",
1860
+ "name": "foundationAccordionStyles",
2043
1861
  "declaration": {
2044
- "name": "foundationAnchorStyles",
2045
- "module": "src/anchor/anchor.styles.ts"
1862
+ "name": "foundationAccordionStyles",
1863
+ "module": "src/accordion/accordion.styles.ts"
2046
1864
  }
2047
1865
  }
2048
1866
  ]
2049
1867
  },
2050
1868
  {
2051
1869
  "kind": "javascript-module",
2052
- "path": "src/anchor/anchor.template.ts",
1870
+ "path": "src/accordion/accordion.template.ts",
2053
1871
  "declarations": [
2054
1872
  {
2055
1873
  "kind": "function",
2056
- "name": "foundationAnchorTemplate",
1874
+ "name": "foundationAccordionTemplate",
2057
1875
  "return": {
2058
1876
  "type": {
2059
- "text": "ViewTemplate<Anchor>"
1877
+ "text": "ViewTemplate<Accordion>"
2060
1878
  }
2061
1879
  },
2062
1880
  "parameters": [
@@ -2078,62 +1896,244 @@
2078
1896
  "exports": [
2079
1897
  {
2080
1898
  "kind": "js",
2081
- "name": "foundationAnchorTemplate",
1899
+ "name": "foundationAccordionTemplate",
2082
1900
  "declaration": {
2083
- "name": "foundationAnchorTemplate",
2084
- "module": "src/anchor/anchor.template.ts"
1901
+ "name": "foundationAccordionTemplate",
1902
+ "module": "src/accordion/accordion.template.ts"
2085
1903
  }
2086
1904
  }
2087
1905
  ]
2088
1906
  },
2089
1907
  {
2090
1908
  "kind": "javascript-module",
2091
- "path": "src/anchor/anchor.ts",
1909
+ "path": "src/accordion/accordion.ts",
2092
1910
  "declarations": [
2093
1911
  {
2094
1912
  "kind": "class",
2095
1913
  "description": "",
2096
- "name": "Anchor",
1914
+ "name": "Accordion",
2097
1915
  "superclass": {
2098
- "name": "FASTAnchor",
2099
- "package": "@microsoft/fast-components"
1916
+ "name": "FASTAccordion",
1917
+ "package": "@microsoft/fast-foundation"
2100
1918
  },
2101
- "tagName": "%%prefix%%-anchor",
2102
- "customElement": true,
2103
- "attributes": [
2104
- {
2105
- "name": "download",
2106
- "type": {
2107
- "text": "string"
2108
- },
2109
- "description": "Prompts the user to save the linked URL. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2110
- "fieldName": "download",
2111
- "inheritedFrom": {
2112
- "name": "Anchor",
2113
- "module": "src/anchor/anchor.ts"
2114
- }
2115
- },
2116
- {
2117
- "name": "href",
2118
- "type": {
2119
- "text": "string"
2120
- },
2121
- "description": "The URL the hyperlink references. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2122
- "fieldName": "href",
2123
- "inheritedFrom": {
2124
- "name": "Anchor",
2125
- "module": "src/anchor/anchor.ts"
2126
- }
2127
- },
2128
- {
2129
- "name": "hreflang",
2130
- "type": {
2131
- "text": "string"
2132
- },
2133
- "description": "Hints at the language of the referenced resource. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2134
- "fieldName": "hreflang",
2135
- "inheritedFrom": {
2136
- "name": "Anchor",
1919
+ "tagName": "%%prefix%%-accordion",
1920
+ "customElement": true
1921
+ },
1922
+ {
1923
+ "kind": "variable",
1924
+ "name": "foundationAccordionShadowOptions",
1925
+ "type": {
1926
+ "text": "ShadowRootInit"
1927
+ },
1928
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1929
+ },
1930
+ {
1931
+ "kind": "variable",
1932
+ "name": "defaultAccordionConfig",
1933
+ "type": {
1934
+ "text": "object"
1935
+ },
1936
+ "default": "{}"
1937
+ },
1938
+ {
1939
+ "kind": "variable",
1940
+ "name": "foundationAccordion",
1941
+ "description": "The Foundation Accordion",
1942
+ "privacy": "public"
1943
+ }
1944
+ ],
1945
+ "exports": [
1946
+ {
1947
+ "kind": "js",
1948
+ "name": "Accordion",
1949
+ "declaration": {
1950
+ "name": "Accordion",
1951
+ "module": "src/accordion/accordion.ts"
1952
+ }
1953
+ },
1954
+ {
1955
+ "kind": "js",
1956
+ "name": "foundationAccordionShadowOptions",
1957
+ "declaration": {
1958
+ "name": "foundationAccordionShadowOptions",
1959
+ "module": "src/accordion/accordion.ts"
1960
+ }
1961
+ },
1962
+ {
1963
+ "kind": "js",
1964
+ "name": "defaultAccordionConfig",
1965
+ "declaration": {
1966
+ "name": "defaultAccordionConfig",
1967
+ "module": "src/accordion/accordion.ts"
1968
+ }
1969
+ },
1970
+ {
1971
+ "kind": "js",
1972
+ "name": "foundationAccordion",
1973
+ "declaration": {
1974
+ "name": "foundationAccordion",
1975
+ "module": "src/accordion/accordion.ts"
1976
+ }
1977
+ }
1978
+ ]
1979
+ },
1980
+ {
1981
+ "kind": "javascript-module",
1982
+ "path": "src/accordion/index.ts",
1983
+ "declarations": [],
1984
+ "exports": [
1985
+ {
1986
+ "kind": "js",
1987
+ "name": "*",
1988
+ "declaration": {
1989
+ "name": "*",
1990
+ "package": "./accordion.template"
1991
+ }
1992
+ },
1993
+ {
1994
+ "kind": "js",
1995
+ "name": "*",
1996
+ "declaration": {
1997
+ "name": "*",
1998
+ "package": "./accordion.styles"
1999
+ }
2000
+ },
2001
+ {
2002
+ "kind": "js",
2003
+ "name": "*",
2004
+ "declaration": {
2005
+ "name": "*",
2006
+ "package": "./accordion"
2007
+ }
2008
+ }
2009
+ ]
2010
+ },
2011
+ {
2012
+ "kind": "javascript-module",
2013
+ "path": "src/anchor/anchor.styles.ts",
2014
+ "declarations": [
2015
+ {
2016
+ "kind": "function",
2017
+ "name": "foundationAnchorStyles",
2018
+ "return": {
2019
+ "type": {
2020
+ "text": "ElementStyles"
2021
+ }
2022
+ },
2023
+ "parameters": [
2024
+ {
2025
+ "name": "context",
2026
+ "type": {
2027
+ "text": "ElementDefinitionContext"
2028
+ }
2029
+ },
2030
+ {
2031
+ "name": "definition",
2032
+ "type": {
2033
+ "text": "FoundationElementDefinition"
2034
+ }
2035
+ }
2036
+ ]
2037
+ }
2038
+ ],
2039
+ "exports": [
2040
+ {
2041
+ "kind": "js",
2042
+ "name": "foundationAnchorStyles",
2043
+ "declaration": {
2044
+ "name": "foundationAnchorStyles",
2045
+ "module": "src/anchor/anchor.styles.ts"
2046
+ }
2047
+ }
2048
+ ]
2049
+ },
2050
+ {
2051
+ "kind": "javascript-module",
2052
+ "path": "src/anchor/anchor.template.ts",
2053
+ "declarations": [
2054
+ {
2055
+ "kind": "function",
2056
+ "name": "foundationAnchorTemplate",
2057
+ "return": {
2058
+ "type": {
2059
+ "text": "ViewTemplate<Anchor>"
2060
+ }
2061
+ },
2062
+ "parameters": [
2063
+ {
2064
+ "name": "context",
2065
+ "type": {
2066
+ "text": "ElementDefinitionContext"
2067
+ }
2068
+ },
2069
+ {
2070
+ "name": "definition",
2071
+ "type": {
2072
+ "text": "FoundationElementDefinition"
2073
+ }
2074
+ }
2075
+ ]
2076
+ }
2077
+ ],
2078
+ "exports": [
2079
+ {
2080
+ "kind": "js",
2081
+ "name": "foundationAnchorTemplate",
2082
+ "declaration": {
2083
+ "name": "foundationAnchorTemplate",
2084
+ "module": "src/anchor/anchor.template.ts"
2085
+ }
2086
+ }
2087
+ ]
2088
+ },
2089
+ {
2090
+ "kind": "javascript-module",
2091
+ "path": "src/anchor/anchor.ts",
2092
+ "declarations": [
2093
+ {
2094
+ "kind": "class",
2095
+ "description": "",
2096
+ "name": "Anchor",
2097
+ "superclass": {
2098
+ "name": "FASTAnchor",
2099
+ "package": "@microsoft/fast-components"
2100
+ },
2101
+ "tagName": "%%prefix%%-anchor",
2102
+ "customElement": true,
2103
+ "attributes": [
2104
+ {
2105
+ "name": "download",
2106
+ "type": {
2107
+ "text": "string"
2108
+ },
2109
+ "description": "Prompts the user to save the linked URL. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2110
+ "fieldName": "download",
2111
+ "inheritedFrom": {
2112
+ "name": "Anchor",
2113
+ "module": "src/anchor/anchor.ts"
2114
+ }
2115
+ },
2116
+ {
2117
+ "name": "href",
2118
+ "type": {
2119
+ "text": "string"
2120
+ },
2121
+ "description": "The URL the hyperlink references. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2122
+ "fieldName": "href",
2123
+ "inheritedFrom": {
2124
+ "name": "Anchor",
2125
+ "module": "src/anchor/anchor.ts"
2126
+ }
2127
+ },
2128
+ {
2129
+ "name": "hreflang",
2130
+ "type": {
2131
+ "text": "string"
2132
+ },
2133
+ "description": "Hints at the language of the referenced resource. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2134
+ "fieldName": "hreflang",
2135
+ "inheritedFrom": {
2136
+ "name": "Anchor",
2137
2137
  "module": "src/anchor/anchor.ts"
2138
2138
  }
2139
2139
  },
@@ -19471,487 +19471,182 @@
19471
19471
  },
19472
19472
  {
19473
19473
  "kind": "javascript-module",
19474
- "path": "src/horizontal-scroll/horizontal-scroll.styles.ts",
19474
+ "path": "src/grid-layout-item/grid-layout-item.template.ts",
19475
19475
  "declarations": [
19476
19476
  {
19477
- "kind": "function",
19478
- "name": "foundationHorizontalScrollStyles",
19479
- "return": {
19480
- "type": {
19481
- "text": "ElementStyles"
19482
- }
19477
+ "kind": "variable",
19478
+ "name": "foundationGridLayoutItemTemplate",
19479
+ "type": {
19480
+ "text": "ViewTemplate<GridLayoutItem>"
19483
19481
  },
19484
- "parameters": [
19485
- {
19486
- "name": "context",
19487
- "type": {
19488
- "text": "ElementDefinitionContext"
19489
- }
19490
- },
19491
- {
19492
- "name": "definition",
19493
- "type": {
19494
- "text": "FoundationElementDefinition"
19495
- }
19496
- }
19497
- ]
19482
+ "default": "html`\n <template>\n <style>\n :host {\n width: 100%;\n height: 100%;\n ${(x) => x.setGridItemProperties(x.colNumber, x.rowNumber, x.width, x.height)}\n }\n\n @media only screen and (min-width: 1025px) {\n :host {\n ${(x) => x.setGridItemProperties(x.colLgNumber, x.rowLgNumber, x.widthLg, x.heightLg)}\n }\n }\n\n @media only screen and (min-width: 641px) and (max-width: 1024px) {\n :host {\n ${(x) => x.setGridItemProperties(x.colMdNumber, x.rowMdNumber, x.widthSm, x.heightMd)}\n }\n }\n\n @media only screen and (max-width: 640px) {\n :host {\n ${(x) => x.setGridItemProperties(x.colSmNumber, x.rowSmNumber, x.widthSm, x.heightSm)}\n }\n }\n </style>\n <slot></slot>\n </template>\n`"
19498
19483
  }
19499
19484
  ],
19500
19485
  "exports": [
19501
19486
  {
19502
19487
  "kind": "js",
19503
- "name": "foundationHorizontalScrollStyles",
19488
+ "name": "foundationGridLayoutItemTemplate",
19504
19489
  "declaration": {
19505
- "name": "foundationHorizontalScrollStyles",
19506
- "module": "src/horizontal-scroll/horizontal-scroll.styles.ts"
19490
+ "name": "foundationGridLayoutItemTemplate",
19491
+ "module": "src/grid-layout-item/grid-layout-item.template.ts"
19507
19492
  }
19508
19493
  }
19509
19494
  ]
19510
19495
  },
19511
19496
  {
19512
19497
  "kind": "javascript-module",
19513
- "path": "src/horizontal-scroll/horizontal-scroll.template.ts",
19498
+ "path": "src/grid-layout-item/grid-layout-item.ts",
19514
19499
  "declarations": [
19515
19500
  {
19516
- "kind": "function",
19517
- "name": "foundationHorizontalScrollTemplate",
19518
- "return": {
19519
- "type": {
19520
- "text": "ViewTemplate<HorizontalScroll>"
19521
- }
19501
+ "kind": "variable",
19502
+ "name": "foundationGridLayoutItemShadowOptions",
19503
+ "type": {
19504
+ "text": "ShadowRootInit"
19522
19505
  },
19523
- "parameters": [
19524
- {
19525
- "name": "context",
19526
- "type": {
19527
- "text": "ElementDefinitionContext"
19528
- }
19529
- },
19530
- {
19531
- "name": "definition",
19532
- "type": {
19533
- "text": "FoundationElementDefinition"
19534
- }
19535
- }
19536
- ]
19537
- }
19538
- ],
19539
- "exports": [
19506
+ "default": "undefined"
19507
+ },
19540
19508
  {
19541
- "kind": "js",
19542
- "name": "foundationHorizontalScrollTemplate",
19543
- "declaration": {
19544
- "name": "foundationHorizontalScrollTemplate",
19545
- "module": "src/horizontal-scroll/horizontal-scroll.template.ts"
19546
- }
19547
- }
19548
- ]
19549
- },
19550
- {
19551
- "kind": "javascript-module",
19552
- "path": "src/horizontal-scroll/horizontal-scroll.ts",
19553
- "declarations": [
19509
+ "kind": "variable",
19510
+ "name": "defaultGridLayoutItemConfig",
19511
+ "type": {
19512
+ "text": "object"
19513
+ },
19514
+ "default": "{}"
19515
+ },
19554
19516
  {
19555
19517
  "kind": "class",
19556
19518
  "description": "",
19557
- "name": "HorizontalScroll",
19558
- "superclass": {
19559
- "name": "FASTHorizontalScroll",
19560
- "package": "@microsoft/fast-components"
19561
- },
19562
- "tagName": "%%prefix%%-horizontal-scroll",
19563
- "customElement": true,
19564
- "attributes": [
19519
+ "name": "GridLayoutItem",
19520
+ "members": [
19565
19521
  {
19522
+ "kind": "field",
19523
+ "name": "colNumber",
19566
19524
  "type": {
19567
19525
  "text": "number"
19568
- },
19569
- "default": "600",
19570
- "description": "Speed of scroll in pixels per second",
19571
- "fieldName": "speed",
19572
- "inheritedFrom": {
19573
- "name": "HorizontalScroll",
19574
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
19575
19526
  }
19576
19527
  },
19577
19528
  {
19578
- "name": "duration",
19529
+ "kind": "field",
19530
+ "name": "colSmNumber",
19579
19531
  "type": {
19580
- "text": "string"
19581
- },
19582
- "description": "The CSS time value for the scroll transition duration. Overrides the `speed` attribute.",
19583
- "fieldName": "duration",
19584
- "inheritedFrom": {
19585
- "name": "HorizontalScroll",
19586
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
19532
+ "text": "number"
19587
19533
  }
19588
19534
  },
19589
19535
  {
19590
- "name": "easing",
19536
+ "kind": "field",
19537
+ "name": "colMdNumber",
19591
19538
  "type": {
19592
- "text": "ScrollEasing"
19593
- },
19594
- "default": "\"ease-in-out\"",
19595
- "description": "Attribute used for easing, defaults to ease-in-out",
19596
- "fieldName": "easing",
19597
- "inheritedFrom": {
19598
- "name": "HorizontalScroll",
19599
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
19539
+ "text": "number"
19600
19540
  }
19601
19541
  },
19602
19542
  {
19603
- "name": "flippers-hidden-from-at",
19543
+ "kind": "field",
19544
+ "name": "colLgNumber",
19604
19545
  "type": {
19605
- "text": "boolean"
19606
- },
19607
- "default": "false",
19608
- "description": "Attribute to hide flippers from assistive technology",
19609
- "fieldName": "flippersHiddenFromAT",
19610
- "inheritedFrom": {
19611
- "name": "HorizontalScroll",
19612
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
19546
+ "text": "number"
19613
19547
  }
19614
19548
  },
19615
19549
  {
19616
- "name": "view",
19550
+ "kind": "field",
19551
+ "name": "rowNumber",
19617
19552
  "type": {
19618
- "text": "HorizontalScrollView"
19619
- },
19620
- "description": "View: default | mobile",
19621
- "fieldName": "view",
19622
- "inheritedFrom": {
19623
- "name": "HorizontalScroll",
19624
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
19553
+ "text": "number"
19625
19554
  }
19626
- }
19627
- ],
19628
- "members": [
19555
+ },
19629
19556
  {
19630
19557
  "kind": "field",
19631
- "name": "scrollContainer",
19558
+ "name": "rowSmNumber",
19632
19559
  "type": {
19633
- "text": "HTMLDivElement"
19634
- },
19635
- "privacy": "public",
19636
- "description": "Reference to DOM element that scrolls the content",
19637
- "inheritedFrom": {
19638
- "name": "HorizontalScroll",
19639
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
19560
+ "text": "number"
19640
19561
  }
19641
19562
  },
19642
19563
  {
19643
19564
  "kind": "field",
19644
- "name": "content",
19565
+ "name": "rowMdNumber",
19645
19566
  "type": {
19646
- "text": "HTMLDivElement"
19647
- },
19648
- "privacy": "public",
19649
- "description": "Reference to DOM element that holds the slotted content",
19650
- "inheritedFrom": {
19651
- "name": "HorizontalScroll",
19652
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
19567
+ "text": "number"
19653
19568
  }
19654
19569
  },
19655
19570
  {
19656
19571
  "kind": "field",
19657
- "name": "previousFlipperContainer",
19572
+ "name": "rowLgNumber",
19658
19573
  "type": {
19659
- "text": "HTMLDivElement"
19660
- },
19661
- "privacy": "public",
19662
- "description": "Reference to flipper to scroll to previous content",
19663
- "inheritedFrom": {
19664
- "name": "HorizontalScroll",
19665
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
19574
+ "text": "number"
19666
19575
  }
19667
19576
  },
19668
19577
  {
19669
19578
  "kind": "field",
19670
- "name": "nextFlipperContainer",
19579
+ "name": "width",
19671
19580
  "type": {
19672
- "text": "HTMLDivElement"
19673
- },
19674
- "privacy": "public",
19675
- "description": "Reference to flipper to scroll to the next content",
19676
- "inheritedFrom": {
19677
- "name": "HorizontalScroll",
19678
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
19581
+ "text": "number"
19679
19582
  }
19680
19583
  },
19681
19584
  {
19682
19585
  "kind": "field",
19683
- "name": "speed",
19586
+ "name": "widthSm",
19684
19587
  "type": {
19685
19588
  "text": "number"
19686
- },
19687
- "privacy": "public",
19688
- "default": "600",
19689
- "description": "Speed of scroll in pixels per second",
19690
- "inheritedFrom": {
19691
- "name": "HorizontalScroll",
19692
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
19693
19589
  }
19694
19590
  },
19695
19591
  {
19696
19592
  "kind": "field",
19697
- "name": "duration",
19593
+ "name": "widthMd",
19698
19594
  "type": {
19699
- "text": "string"
19700
- },
19701
- "privacy": "public",
19702
- "description": "The CSS time value for the scroll transition duration. Overrides the `speed` attribute.",
19703
- "inheritedFrom": {
19704
- "name": "HorizontalScroll",
19705
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
19595
+ "text": "number"
19706
19596
  }
19707
19597
  },
19708
19598
  {
19709
19599
  "kind": "field",
19710
- "name": "easing",
19600
+ "name": "widthLg",
19711
19601
  "type": {
19712
- "text": "ScrollEasing"
19713
- },
19714
- "privacy": "public",
19715
- "default": "\"ease-in-out\"",
19716
- "description": "Attribute used for easing, defaults to ease-in-out",
19717
- "inheritedFrom": {
19718
- "name": "HorizontalScroll",
19719
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
19602
+ "text": "number"
19720
19603
  }
19721
19604
  },
19722
19605
  {
19723
19606
  "kind": "field",
19724
- "name": "flippersHiddenFromAT",
19607
+ "name": "height",
19725
19608
  "type": {
19726
- "text": "boolean"
19727
- },
19728
- "privacy": "public",
19729
- "default": "false",
19730
- "description": "Attribute to hide flippers from assistive technology",
19731
- "inheritedFrom": {
19732
- "name": "HorizontalScroll",
19733
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
19609
+ "text": "number"
19734
19610
  }
19735
19611
  },
19736
19612
  {
19737
19613
  "kind": "field",
19738
- "name": "scrollItems",
19614
+ "name": "heightSm",
19739
19615
  "type": {
19740
- "text": "HTMLElement[]"
19741
- },
19742
- "privacy": "public",
19743
- "description": "The default slotted items placed in the scrolling container.",
19744
- "inheritedFrom": {
19745
- "name": "HorizontalScroll",
19746
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
19616
+ "text": "number"
19747
19617
  }
19748
19618
  },
19749
19619
  {
19750
19620
  "kind": "field",
19751
- "name": "view",
19621
+ "name": "heightMd",
19752
19622
  "type": {
19753
- "text": "HorizontalScrollView"
19754
- },
19755
- "privacy": "public",
19756
- "description": "View: default | mobile",
19757
- "inheritedFrom": {
19758
- "name": "HorizontalScroll",
19759
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
19623
+ "text": "number"
19624
+ }
19625
+ },
19626
+ {
19627
+ "kind": "field",
19628
+ "name": "heightLg",
19629
+ "type": {
19630
+ "text": "number"
19760
19631
  }
19761
19632
  },
19762
19633
  {
19763
19634
  "kind": "method",
19764
- "name": "scrollItemsChanged",
19765
- "privacy": "public",
19635
+ "name": "setGridItemProperties",
19766
19636
  "parameters": [
19767
19637
  {
19768
- "name": "previous",
19769
- "type": {
19770
- "text": "HTMLElement[]"
19771
- },
19772
- "description": "current scroll items"
19638
+ "name": "column"
19773
19639
  },
19774
19640
  {
19775
- "name": "next",
19776
- "type": {
19777
- "text": "HTMLElement[]"
19778
- },
19779
- "description": "new updated scroll items"
19641
+ "name": "row"
19642
+ },
19643
+ {
19644
+ "name": "width"
19645
+ },
19646
+ {
19647
+ "name": "height"
19780
19648
  }
19781
- ],
19782
- "description": "Updates scroll stops and flippers when scroll items change",
19783
- "inheritedFrom": {
19784
- "name": "HorizontalScroll",
19785
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
19786
- }
19787
- },
19788
- {
19789
- "kind": "method",
19790
- "name": "fixScrollMisalign",
19791
- "privacy": "private",
19792
- "parameters": [
19793
- {
19794
- "name": "stops",
19795
- "type": {
19796
- "text": "number[]"
19797
- }
19798
- }
19799
- ],
19800
- "inheritedFrom": {
19801
- "name": "HorizontalScroll",
19802
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
19803
- }
19804
- },
19805
- {
19806
- "kind": "method",
19807
- "name": "scrollInView",
19808
- "privacy": "public",
19809
- "return": {
19810
- "type": {
19811
- "text": "void"
19812
- }
19813
- },
19814
- "parameters": [
19815
- {
19816
- "name": "item",
19817
- "type": {
19818
- "text": "HTMLElement | number"
19819
- },
19820
- "description": "An item index, a scroll item or a child of one of the scroll items"
19821
- },
19822
- {
19823
- "name": "padding",
19824
- "default": "0",
19825
- "type": {
19826
- "text": "number"
19827
- },
19828
- "description": "Padding of the viewport where the active item shouldn't be"
19829
- },
19830
- {
19831
- "name": "rightPadding",
19832
- "optional": true,
19833
- "type": {
19834
- "text": "number"
19835
- },
19836
- "description": "Optional right padding. Uses the padding if not defined"
19837
- }
19838
- ],
19839
- "description": "Function that can scroll an item into view.",
19840
- "inheritedFrom": {
19841
- "name": "HorizontalScroll",
19842
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
19843
- }
19844
- },
19845
- {
19846
- "kind": "method",
19847
- "name": "keyupHandler",
19848
- "privacy": "public",
19849
- "parameters": [
19850
- {
19851
- "name": "e",
19852
- "type": {
19853
- "text": "Event & KeyboardEvent"
19854
- },
19855
- "description": "Keyboard event"
19856
- }
19857
- ],
19858
- "description": "Lets the user arrow left and right through the horizontal scroll",
19859
- "inheritedFrom": {
19860
- "name": "HorizontalScroll",
19861
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
19862
- }
19863
- },
19864
- {
19865
- "kind": "method",
19866
- "name": "scrollToPrevious",
19867
- "privacy": "public",
19868
- "return": {
19869
- "type": {
19870
- "text": "void"
19871
- }
19872
- },
19873
- "description": "Scrolls items to the left",
19874
- "inheritedFrom": {
19875
- "name": "HorizontalScroll",
19876
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
19877
- }
19878
- },
19879
- {
19880
- "kind": "method",
19881
- "name": "scrollToNext",
19882
- "privacy": "public",
19883
- "return": {
19884
- "type": {
19885
- "text": "void"
19886
- }
19887
- },
19888
- "description": "Scrolls items to the right",
19889
- "inheritedFrom": {
19890
- "name": "HorizontalScroll",
19891
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
19892
- }
19893
- },
19894
- {
19895
- "kind": "method",
19896
- "name": "scrollToPosition",
19897
- "privacy": "public",
19898
- "return": {
19899
- "type": {
19900
- "text": "void"
19901
- }
19902
- },
19903
- "parameters": [
19904
- {
19905
- "name": "newPosition",
19906
- "type": {
19907
- "text": "number"
19908
- },
19909
- "description": "position to scroll to"
19910
- },
19911
- {
19912
- "name": "position",
19913
- "default": "this.scrollContainer.scrollLeft",
19914
- "type": {
19915
- "text": "number"
19916
- },
19917
- "description": "starting position"
19918
- }
19919
- ],
19920
- "description": "Handles scrolling with easing",
19921
- "inheritedFrom": {
19922
- "name": "HorizontalScroll",
19923
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
19924
- }
19925
- },
19926
- {
19927
- "kind": "method",
19928
- "name": "resized",
19929
- "privacy": "public",
19930
- "return": {
19931
- "type": {
19932
- "text": "void"
19933
- }
19934
- },
19935
- "description": "Monitors resize event on the horizontal-scroll element",
19936
- "inheritedFrom": {
19937
- "name": "HorizontalScroll",
19938
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
19939
- }
19940
- },
19941
- {
19942
- "kind": "method",
19943
- "name": "scrolled",
19944
- "privacy": "public",
19945
- "return": {
19946
- "type": {
19947
- "text": "void"
19948
- }
19949
- },
19950
- "description": "Monitors scrolled event on the content container",
19951
- "inheritedFrom": {
19952
- "name": "HorizontalScroll",
19953
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
19954
- }
19649
+ ]
19955
19650
  },
19956
19651
  {
19957
19652
  "kind": "field",
@@ -20065,102 +19760,180 @@
20065
19760
  }
20066
19761
  }
20067
19762
  ],
20068
- "events": [
19763
+ "attributes": [
20069
19764
  {
20070
- "description": "Fires a custom 'scrollstart' event when scrolling",
20071
- "name": "scrollstart",
20072
- "inheritedFrom": {
20073
- "name": "HorizontalScroll",
20074
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
20075
- }
19765
+ "name": "col-number",
19766
+ "type": {
19767
+ "text": "number"
19768
+ },
19769
+ "fieldName": "colNumber"
20076
19770
  },
20077
19771
  {
20078
- "description": "Fires a custom 'scrollend' event when scrolling stops",
20079
- "name": "scrollend",
20080
- "inheritedFrom": {
20081
- "name": "HorizontalScroll",
20082
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
20083
- }
20084
- }
20085
- ]
20086
- },
20087
- {
20088
- "kind": "variable",
20089
- "name": "foundationHorizontalScrollShadowOptions",
20090
- "type": {
20091
- "text": "ShadowRootInit"
20092
- },
20093
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
20094
- },
20095
- {
20096
- "kind": "variable",
20097
- "name": "defaultHorizontalScrollConfig",
20098
- "type": {
20099
- "text": "object"
20100
- },
20101
- "default": "{\n nextFlipper: html`\n <foundation-flipper\n @click=\"${(x) => x.scrollToNext()}\"\n aria-hidden=\"${(x) => x.flippersHiddenFromAT}\"\n ></foundation-flipper>\n `,\n previousFlipper: html`\n <foundation-flipper\n @click=\"${(x) => x.scrollToPrevious()}\"\n direction=\"previous\"\n aria-hidden=\"${(x) => x.flippersHiddenFromAT}\"\n ></foundation-flipper>\n `,\n}"
20102
- },
20103
- {
20104
- "kind": "variable",
20105
- "name": "foundationHorizontalScroll",
20106
- "description": "The Foundation HorizontalScroll",
20107
- "privacy": "public"
20108
- }
20109
- ],
20110
- "exports": [
20111
- {
20112
- "kind": "js",
20113
- "name": "HorizontalScroll",
20114
- "declaration": {
20115
- "name": "HorizontalScroll",
20116
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
20117
- }
20118
- },
20119
- {
20120
- "kind": "js",
20121
- "name": "foundationHorizontalScrollShadowOptions",
20122
- "declaration": {
20123
- "name": "foundationHorizontalScrollShadowOptions",
20124
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
20125
- }
20126
- },
20127
- {
20128
- "kind": "js",
20129
- "name": "defaultHorizontalScrollConfig",
20130
- "declaration": {
20131
- "name": "defaultHorizontalScrollConfig",
20132
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
20133
- }
20134
- },
20135
- {
20136
- "kind": "js",
20137
- "name": "foundationHorizontalScroll",
20138
- "declaration": {
20139
- "name": "foundationHorizontalScroll",
20140
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
20141
- }
20142
- }
20143
- ]
20144
- },
20145
- {
20146
- "kind": "javascript-module",
20147
- "path": "src/horizontal-scroll/index.ts",
20148
- "declarations": [],
20149
- "exports": [
20150
- {
20151
- "kind": "js",
20152
- "name": "*",
20153
- "declaration": {
20154
- "name": "*",
20155
- "package": "./horizontal-scroll.template"
20156
- }
20157
- },
19772
+ "name": "col-sm-number",
19773
+ "type": {
19774
+ "text": "number"
19775
+ },
19776
+ "fieldName": "colSmNumber"
19777
+ },
19778
+ {
19779
+ "name": "col-md-number",
19780
+ "type": {
19781
+ "text": "number"
19782
+ },
19783
+ "fieldName": "colMdNumber"
19784
+ },
19785
+ {
19786
+ "name": "col-lg-number",
19787
+ "type": {
19788
+ "text": "number"
19789
+ },
19790
+ "fieldName": "colLgNumber"
19791
+ },
19792
+ {
19793
+ "name": "row-number",
19794
+ "type": {
19795
+ "text": "number"
19796
+ },
19797
+ "fieldName": "rowNumber"
19798
+ },
19799
+ {
19800
+ "name": "row-sm-number",
19801
+ "type": {
19802
+ "text": "number"
19803
+ },
19804
+ "fieldName": "rowSmNumber"
19805
+ },
19806
+ {
19807
+ "name": "row-md-number",
19808
+ "type": {
19809
+ "text": "number"
19810
+ },
19811
+ "fieldName": "rowMdNumber"
19812
+ },
19813
+ {
19814
+ "name": "row-lg-number",
19815
+ "type": {
19816
+ "text": "number"
19817
+ },
19818
+ "fieldName": "rowLgNumber"
19819
+ },
19820
+ {
19821
+ "name": "width",
19822
+ "type": {
19823
+ "text": "number"
19824
+ },
19825
+ "fieldName": "width"
19826
+ },
19827
+ {
19828
+ "name": "width-sm",
19829
+ "type": {
19830
+ "text": "number"
19831
+ },
19832
+ "fieldName": "widthSm"
19833
+ },
19834
+ {
19835
+ "name": "width-md",
19836
+ "type": {
19837
+ "text": "number"
19838
+ },
19839
+ "fieldName": "widthMd"
19840
+ },
19841
+ {
19842
+ "name": "width-lg",
19843
+ "type": {
19844
+ "text": "number"
19845
+ },
19846
+ "fieldName": "widthLg"
19847
+ },
19848
+ {
19849
+ "name": "height",
19850
+ "type": {
19851
+ "text": "number"
19852
+ },
19853
+ "fieldName": "height"
19854
+ },
19855
+ {
19856
+ "name": "height-sm",
19857
+ "type": {
19858
+ "text": "number"
19859
+ },
19860
+ "fieldName": "heightSm"
19861
+ },
19862
+ {
19863
+ "name": "height-md",
19864
+ "type": {
19865
+ "text": "number"
19866
+ },
19867
+ "fieldName": "heightMd"
19868
+ },
19869
+ {
19870
+ "name": "height-lg",
19871
+ "type": {
19872
+ "text": "number"
19873
+ },
19874
+ "fieldName": "heightLg"
19875
+ }
19876
+ ],
19877
+ "superclass": {
19878
+ "name": "FoundationElement",
19879
+ "package": "@microsoft/fast-foundation"
19880
+ },
19881
+ "tagName": "%%prefix%%-grid-layout-item",
19882
+ "customElement": true
19883
+ },
19884
+ {
19885
+ "kind": "variable",
19886
+ "name": "foundationGridLayoutItem",
19887
+ "description": "The Foundation Grid Layout Item",
19888
+ "privacy": "public"
19889
+ }
19890
+ ],
19891
+ "exports": [
19892
+ {
19893
+ "kind": "js",
19894
+ "name": "foundationGridLayoutItemShadowOptions",
19895
+ "declaration": {
19896
+ "name": "foundationGridLayoutItemShadowOptions",
19897
+ "module": "src/grid-layout-item/grid-layout-item.ts"
19898
+ }
19899
+ },
19900
+ {
19901
+ "kind": "js",
19902
+ "name": "defaultGridLayoutItemConfig",
19903
+ "declaration": {
19904
+ "name": "defaultGridLayoutItemConfig",
19905
+ "module": "src/grid-layout-item/grid-layout-item.ts"
19906
+ }
19907
+ },
19908
+ {
19909
+ "kind": "js",
19910
+ "name": "GridLayoutItem",
19911
+ "declaration": {
19912
+ "name": "GridLayoutItem",
19913
+ "module": "src/grid-layout-item/grid-layout-item.ts"
19914
+ }
19915
+ },
19916
+ {
19917
+ "kind": "js",
19918
+ "name": "foundationGridLayoutItem",
19919
+ "declaration": {
19920
+ "name": "foundationGridLayoutItem",
19921
+ "module": "src/grid-layout-item/grid-layout-item.ts"
19922
+ }
19923
+ }
19924
+ ]
19925
+ },
19926
+ {
19927
+ "kind": "javascript-module",
19928
+ "path": "src/grid-layout-item/index.ts",
19929
+ "declarations": [],
19930
+ "exports": [
20158
19931
  {
20159
19932
  "kind": "js",
20160
19933
  "name": "*",
20161
19934
  "declaration": {
20162
19935
  "name": "*",
20163
- "package": "./horizontal-scroll.styles"
19936
+ "package": "./grid-layout-item.template"
20164
19937
  }
20165
19938
  },
20166
19939
  {
@@ -20168,18 +19941,18 @@
20168
19941
  "name": "*",
20169
19942
  "declaration": {
20170
19943
  "name": "*",
20171
- "package": "./horizontal-scroll"
19944
+ "package": "./grid-layout-item"
20172
19945
  }
20173
19946
  }
20174
19947
  ]
20175
19948
  },
20176
19949
  {
20177
19950
  "kind": "javascript-module",
20178
- "path": "src/icon/icon.styles.ts",
19951
+ "path": "src/horizontal-scroll/horizontal-scroll.styles.ts",
20179
19952
  "declarations": [
20180
19953
  {
20181
19954
  "kind": "function",
20182
- "name": "foundationIconStyles",
19955
+ "name": "foundationHorizontalScrollStyles",
20183
19956
  "return": {
20184
19957
  "type": {
20185
19958
  "text": "ElementStyles"
@@ -20204,167 +19977,458 @@
20204
19977
  "exports": [
20205
19978
  {
20206
19979
  "kind": "js",
20207
- "name": "foundationIconStyles",
19980
+ "name": "foundationHorizontalScrollStyles",
20208
19981
  "declaration": {
20209
- "name": "foundationIconStyles",
20210
- "module": "src/icon/icon.styles.ts"
19982
+ "name": "foundationHorizontalScrollStyles",
19983
+ "module": "src/horizontal-scroll/horizontal-scroll.styles.ts"
20211
19984
  }
20212
19985
  }
20213
19986
  ]
20214
19987
  },
20215
19988
  {
20216
19989
  "kind": "javascript-module",
20217
- "path": "src/icon/icon.template.ts",
19990
+ "path": "src/horizontal-scroll/horizontal-scroll.template.ts",
20218
19991
  "declarations": [
20219
19992
  {
20220
- "kind": "variable",
20221
- "name": "foundationIconTemplate",
20222
- "type": {
20223
- "text": "ViewTemplate"
19993
+ "kind": "function",
19994
+ "name": "foundationHorizontalScrollTemplate",
19995
+ "return": {
19996
+ "type": {
19997
+ "text": "ViewTemplate<HorizontalScroll>"
19998
+ }
20224
19999
  },
20225
- "default": "html<Icon>`\n <template>\n <i\n ${ref('iElement')}\n class=${(x) => `fa-${x.name} fa-${x.size} fa-${x.variant}`}\n part=${(x) => `icon-${x.name}-${x.size}-${x.variant}`}\n >\n <slot></slot>\n </i>\n </template>\n`"
20000
+ "parameters": [
20001
+ {
20002
+ "name": "context",
20003
+ "type": {
20004
+ "text": "ElementDefinitionContext"
20005
+ }
20006
+ },
20007
+ {
20008
+ "name": "definition",
20009
+ "type": {
20010
+ "text": "FoundationElementDefinition"
20011
+ }
20012
+ }
20013
+ ]
20226
20014
  }
20227
20015
  ],
20228
20016
  "exports": [
20229
20017
  {
20230
20018
  "kind": "js",
20231
- "name": "foundationIconTemplate",
20019
+ "name": "foundationHorizontalScrollTemplate",
20232
20020
  "declaration": {
20233
- "name": "foundationIconTemplate",
20234
- "module": "src/icon/icon.template.ts"
20021
+ "name": "foundationHorizontalScrollTemplate",
20022
+ "module": "src/horizontal-scroll/horizontal-scroll.template.ts"
20235
20023
  }
20236
20024
  }
20237
20025
  ]
20238
20026
  },
20239
20027
  {
20240
20028
  "kind": "javascript-module",
20241
- "path": "src/icon/icon.ts",
20029
+ "path": "src/horizontal-scroll/horizontal-scroll.ts",
20242
20030
  "declarations": [
20243
- {
20244
- "kind": "variable",
20245
- "name": "foundationIconShadowOptions",
20246
- "type": {
20247
- "text": "ShadowRootInit"
20248
- },
20249
- "default": "{\n mode: 'open',\n delegatesFocus: true,\n}"
20250
- },
20251
- {
20252
- "kind": "variable",
20253
- "name": "defaultIconConfig",
20254
- "type": {
20255
- "text": "object"
20256
- },
20257
- "default": "{}"
20258
- },
20259
- {
20260
- "kind": "variable",
20261
- "name": "faSizeValueDefault",
20262
- "type": {
20263
- "text": "'1x'"
20264
- },
20265
- "default": "'1x'"
20266
- },
20267
- {
20268
- "kind": "variable",
20269
- "name": "faSizeValues",
20270
- "type": {
20271
- "text": "[\n '2xs',\n 'xs',\n 'sm',\n 'lg',\n 'xl',\n '2xl',\n faSizeValueDefault,\n '2x',\n '3x',\n '4x',\n '5x',\n '6x',\n '7x',\n '8x',\n '9x',\n '10x',\n 'stack-1x',\n 'stack-2x',\n]"
20272
- },
20273
- "default": "[\n '2xs',\n 'xs',\n 'sm',\n 'lg',\n 'xl',\n '2xl',\n faSizeValueDefault,\n '2x',\n '3x',\n '4x',\n '5x',\n '6x',\n '7x',\n '8x',\n '9x',\n '10x',\n 'stack-1x',\n 'stack-2x',\n]"
20274
- },
20275
20031
  {
20276
20032
  "kind": "class",
20277
20033
  "description": "",
20278
- "name": "Icon",
20034
+ "name": "HorizontalScroll",
20035
+ "superclass": {
20036
+ "name": "FASTHorizontalScroll",
20037
+ "package": "@microsoft/fast-components"
20038
+ },
20039
+ "tagName": "%%prefix%%-horizontal-scroll",
20040
+ "customElement": true,
20041
+ "attributes": [
20042
+ {
20043
+ "type": {
20044
+ "text": "number"
20045
+ },
20046
+ "default": "600",
20047
+ "description": "Speed of scroll in pixels per second",
20048
+ "fieldName": "speed",
20049
+ "inheritedFrom": {
20050
+ "name": "HorizontalScroll",
20051
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
20052
+ }
20053
+ },
20054
+ {
20055
+ "name": "duration",
20056
+ "type": {
20057
+ "text": "string"
20058
+ },
20059
+ "description": "The CSS time value for the scroll transition duration. Overrides the `speed` attribute.",
20060
+ "fieldName": "duration",
20061
+ "inheritedFrom": {
20062
+ "name": "HorizontalScroll",
20063
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
20064
+ }
20065
+ },
20066
+ {
20067
+ "name": "easing",
20068
+ "type": {
20069
+ "text": "ScrollEasing"
20070
+ },
20071
+ "default": "\"ease-in-out\"",
20072
+ "description": "Attribute used for easing, defaults to ease-in-out",
20073
+ "fieldName": "easing",
20074
+ "inheritedFrom": {
20075
+ "name": "HorizontalScroll",
20076
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
20077
+ }
20078
+ },
20079
+ {
20080
+ "name": "flippers-hidden-from-at",
20081
+ "type": {
20082
+ "text": "boolean"
20083
+ },
20084
+ "default": "false",
20085
+ "description": "Attribute to hide flippers from assistive technology",
20086
+ "fieldName": "flippersHiddenFromAT",
20087
+ "inheritedFrom": {
20088
+ "name": "HorizontalScroll",
20089
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
20090
+ }
20091
+ },
20092
+ {
20093
+ "name": "view",
20094
+ "type": {
20095
+ "text": "HorizontalScrollView"
20096
+ },
20097
+ "description": "View: default | mobile",
20098
+ "fieldName": "view",
20099
+ "inheritedFrom": {
20100
+ "name": "HorizontalScroll",
20101
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
20102
+ }
20103
+ }
20104
+ ],
20279
20105
  "members": [
20280
20106
  {
20281
20107
  "kind": "field",
20282
- "name": "iElement",
20108
+ "name": "scrollContainer",
20109
+ "type": {
20110
+ "text": "HTMLDivElement"
20111
+ },
20112
+ "privacy": "public",
20113
+ "description": "Reference to DOM element that scrolls the content",
20114
+ "inheritedFrom": {
20115
+ "name": "HorizontalScroll",
20116
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
20117
+ }
20118
+ },
20119
+ {
20120
+ "kind": "field",
20121
+ "name": "content",
20122
+ "type": {
20123
+ "text": "HTMLDivElement"
20124
+ },
20125
+ "privacy": "public",
20126
+ "description": "Reference to DOM element that holds the slotted content",
20127
+ "inheritedFrom": {
20128
+ "name": "HorizontalScroll",
20129
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
20130
+ }
20131
+ },
20132
+ {
20133
+ "kind": "field",
20134
+ "name": "previousFlipperContainer",
20135
+ "type": {
20136
+ "text": "HTMLDivElement"
20137
+ },
20138
+ "privacy": "public",
20139
+ "description": "Reference to flipper to scroll to previous content",
20140
+ "inheritedFrom": {
20141
+ "name": "HorizontalScroll",
20142
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
20143
+ }
20144
+ },
20145
+ {
20146
+ "kind": "field",
20147
+ "name": "nextFlipperContainer",
20148
+ "type": {
20149
+ "text": "HTMLDivElement"
20150
+ },
20151
+ "privacy": "public",
20152
+ "description": "Reference to flipper to scroll to the next content",
20153
+ "inheritedFrom": {
20154
+ "name": "HorizontalScroll",
20155
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
20156
+ }
20157
+ },
20158
+ {
20159
+ "kind": "field",
20160
+ "name": "speed",
20161
+ "type": {
20162
+ "text": "number"
20163
+ },
20164
+ "privacy": "public",
20165
+ "default": "600",
20166
+ "description": "Speed of scroll in pixels per second",
20167
+ "inheritedFrom": {
20168
+ "name": "HorizontalScroll",
20169
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
20170
+ }
20171
+ },
20172
+ {
20173
+ "kind": "field",
20174
+ "name": "duration",
20175
+ "type": {
20176
+ "text": "string"
20177
+ },
20178
+ "privacy": "public",
20179
+ "description": "The CSS time value for the scroll transition duration. Overrides the `speed` attribute.",
20180
+ "inheritedFrom": {
20181
+ "name": "HorizontalScroll",
20182
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
20183
+ }
20184
+ },
20185
+ {
20186
+ "kind": "field",
20187
+ "name": "easing",
20188
+ "type": {
20189
+ "text": "ScrollEasing"
20190
+ },
20191
+ "privacy": "public",
20192
+ "default": "\"ease-in-out\"",
20193
+ "description": "Attribute used for easing, defaults to ease-in-out",
20194
+ "inheritedFrom": {
20195
+ "name": "HorizontalScroll",
20196
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
20197
+ }
20198
+ },
20199
+ {
20200
+ "kind": "field",
20201
+ "name": "flippersHiddenFromAT",
20202
+ "type": {
20203
+ "text": "boolean"
20204
+ },
20205
+ "privacy": "public",
20206
+ "default": "false",
20207
+ "description": "Attribute to hide flippers from assistive technology",
20208
+ "inheritedFrom": {
20209
+ "name": "HorizontalScroll",
20210
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
20211
+ }
20212
+ },
20213
+ {
20214
+ "kind": "field",
20215
+ "name": "scrollItems",
20283
20216
  "type": {
20284
- "text": "HTMLElement"
20217
+ "text": "HTMLElement[]"
20218
+ },
20219
+ "privacy": "public",
20220
+ "description": "The default slotted items placed in the scrolling container.",
20221
+ "inheritedFrom": {
20222
+ "name": "HorizontalScroll",
20223
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
20285
20224
  }
20286
20225
  },
20287
20226
  {
20288
20227
  "kind": "field",
20289
- "name": "name",
20228
+ "name": "view",
20290
20229
  "type": {
20291
- "text": "IconName"
20230
+ "text": "HorizontalScrollView"
20231
+ },
20232
+ "privacy": "public",
20233
+ "description": "View: default | mobile",
20234
+ "inheritedFrom": {
20235
+ "name": "HorizontalScroll",
20236
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
20292
20237
  }
20293
20238
  },
20294
20239
  {
20295
20240
  "kind": "method",
20296
- "name": "nameChanged",
20241
+ "name": "scrollItemsChanged",
20242
+ "privacy": "public",
20297
20243
  "parameters": [
20298
20244
  {
20299
- "name": "oldValue",
20245
+ "name": "previous",
20300
20246
  "type": {
20301
- "text": "string"
20302
- }
20247
+ "text": "HTMLElement[]"
20248
+ },
20249
+ "description": "current scroll items"
20303
20250
  },
20304
20251
  {
20305
- "name": "newValue",
20252
+ "name": "next",
20306
20253
  "type": {
20307
- "text": "string"
20308
- }
20254
+ "text": "HTMLElement[]"
20255
+ },
20256
+ "description": "new updated scroll items"
20309
20257
  }
20310
- ]
20258
+ ],
20259
+ "description": "Updates scroll stops and flippers when scroll items change",
20260
+ "inheritedFrom": {
20261
+ "name": "HorizontalScroll",
20262
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
20263
+ }
20311
20264
  },
20312
20265
  {
20313
- "kind": "field",
20314
- "name": "size",
20315
- "type": {
20316
- "text": "FaSize"
20317
- },
20318
- "default": "'sm'"
20266
+ "kind": "method",
20267
+ "name": "fixScrollMisalign",
20268
+ "privacy": "private",
20269
+ "parameters": [
20270
+ {
20271
+ "name": "stops",
20272
+ "type": {
20273
+ "text": "number[]"
20274
+ }
20275
+ }
20276
+ ],
20277
+ "inheritedFrom": {
20278
+ "name": "HorizontalScroll",
20279
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
20280
+ }
20319
20281
  },
20320
20282
  {
20321
20283
  "kind": "method",
20322
- "name": "sizeChanged",
20284
+ "name": "scrollInView",
20285
+ "privacy": "public",
20286
+ "return": {
20287
+ "type": {
20288
+ "text": "void"
20289
+ }
20290
+ },
20323
20291
  "parameters": [
20324
20292
  {
20325
- "name": "oldValue",
20293
+ "name": "item",
20326
20294
  "type": {
20327
- "text": "string"
20328
- }
20295
+ "text": "HTMLElement | number"
20296
+ },
20297
+ "description": "An item index, a scroll item or a child of one of the scroll items"
20329
20298
  },
20330
20299
  {
20331
- "name": "newValue",
20300
+ "name": "padding",
20301
+ "default": "0",
20332
20302
  "type": {
20333
- "text": "string"
20334
- }
20303
+ "text": "number"
20304
+ },
20305
+ "description": "Padding of the viewport where the active item shouldn't be"
20306
+ },
20307
+ {
20308
+ "name": "rightPadding",
20309
+ "optional": true,
20310
+ "type": {
20311
+ "text": "number"
20312
+ },
20313
+ "description": "Optional right padding. Uses the padding if not defined"
20335
20314
  }
20336
- ]
20315
+ ],
20316
+ "description": "Function that can scroll an item into view.",
20317
+ "inheritedFrom": {
20318
+ "name": "HorizontalScroll",
20319
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
20320
+ }
20337
20321
  },
20338
20322
  {
20339
- "kind": "field",
20340
- "name": "variant",
20341
- "type": {
20342
- "text": "IconStyle"
20323
+ "kind": "method",
20324
+ "name": "keyupHandler",
20325
+ "privacy": "public",
20326
+ "parameters": [
20327
+ {
20328
+ "name": "e",
20329
+ "type": {
20330
+ "text": "Event & KeyboardEvent"
20331
+ },
20332
+ "description": "Keyboard event"
20333
+ }
20334
+ ],
20335
+ "description": "Lets the user arrow left and right through the horizontal scroll",
20336
+ "inheritedFrom": {
20337
+ "name": "HorizontalScroll",
20338
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
20339
+ }
20340
+ },
20341
+ {
20342
+ "kind": "method",
20343
+ "name": "scrollToPrevious",
20344
+ "privacy": "public",
20345
+ "return": {
20346
+ "type": {
20347
+ "text": "void"
20348
+ }
20343
20349
  },
20344
- "default": "'solid'"
20350
+ "description": "Scrolls items to the left",
20351
+ "inheritedFrom": {
20352
+ "name": "HorizontalScroll",
20353
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
20354
+ }
20345
20355
  },
20346
20356
  {
20347
20357
  "kind": "method",
20348
- "name": "variantChanged",
20358
+ "name": "scrollToNext",
20359
+ "privacy": "public",
20360
+ "return": {
20361
+ "type": {
20362
+ "text": "void"
20363
+ }
20364
+ },
20365
+ "description": "Scrolls items to the right",
20366
+ "inheritedFrom": {
20367
+ "name": "HorizontalScroll",
20368
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
20369
+ }
20370
+ },
20371
+ {
20372
+ "kind": "method",
20373
+ "name": "scrollToPosition",
20374
+ "privacy": "public",
20375
+ "return": {
20376
+ "type": {
20377
+ "text": "void"
20378
+ }
20379
+ },
20349
20380
  "parameters": [
20350
20381
  {
20351
- "name": "oldValue",
20382
+ "name": "newPosition",
20352
20383
  "type": {
20353
- "text": "string"
20354
- }
20384
+ "text": "number"
20385
+ },
20386
+ "description": "position to scroll to"
20355
20387
  },
20356
20388
  {
20357
- "name": "newValue",
20389
+ "name": "position",
20390
+ "default": "this.scrollContainer.scrollLeft",
20358
20391
  "type": {
20359
- "text": "string"
20360
- }
20392
+ "text": "number"
20393
+ },
20394
+ "description": "starting position"
20361
20395
  }
20362
- ]
20396
+ ],
20397
+ "description": "Handles scrolling with easing",
20398
+ "inheritedFrom": {
20399
+ "name": "HorizontalScroll",
20400
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
20401
+ }
20363
20402
  },
20364
20403
  {
20365
20404
  "kind": "method",
20366
- "name": "loadIcon",
20367
- "privacy": "public"
20405
+ "name": "resized",
20406
+ "privacy": "public",
20407
+ "return": {
20408
+ "type": {
20409
+ "text": "void"
20410
+ }
20411
+ },
20412
+ "description": "Monitors resize event on the horizontal-scroll element",
20413
+ "inheritedFrom": {
20414
+ "name": "HorizontalScroll",
20415
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
20416
+ }
20417
+ },
20418
+ {
20419
+ "kind": "method",
20420
+ "name": "scrolled",
20421
+ "privacy": "public",
20422
+ "return": {
20423
+ "type": {
20424
+ "text": "void"
20425
+ }
20426
+ },
20427
+ "description": "Monitors scrolled event on the content container",
20428
+ "inheritedFrom": {
20429
+ "name": "HorizontalScroll",
20430
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
20431
+ }
20368
20432
  },
20369
20433
  {
20370
20434
  "kind": "field",
@@ -20478,115 +20542,86 @@
20478
20542
  }
20479
20543
  }
20480
20544
  ],
20481
- "attributes": [
20482
- {
20483
- "name": "name",
20484
- "type": {
20485
- "text": "IconName"
20486
- },
20487
- "fieldName": "name"
20488
- },
20545
+ "events": [
20489
20546
  {
20490
- "name": "size",
20491
- "type": {
20492
- "text": "FaSize"
20493
- },
20494
- "default": "'sm'",
20495
- "fieldName": "size"
20547
+ "description": "Fires a custom 'scrollstart' event when scrolling",
20548
+ "name": "scrollstart",
20549
+ "inheritedFrom": {
20550
+ "name": "HorizontalScroll",
20551
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
20552
+ }
20496
20553
  },
20497
20554
  {
20498
- "name": "variant",
20499
- "type": {
20500
- "text": "IconStyle"
20501
- },
20502
- "default": "'solid'",
20503
- "fieldName": "variant"
20504
- }
20505
- ],
20506
- "superclass": {
20507
- "name": "FoundationElement",
20508
- "package": "@microsoft/fast-foundation"
20555
+ "description": "Fires a custom 'scrollend' event when scrolling stops",
20556
+ "name": "scrollend",
20557
+ "inheritedFrom": {
20558
+ "name": "HorizontalScroll",
20559
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
20560
+ }
20561
+ }
20562
+ ]
20563
+ },
20564
+ {
20565
+ "kind": "variable",
20566
+ "name": "foundationHorizontalScrollShadowOptions",
20567
+ "type": {
20568
+ "text": "ShadowRootInit"
20509
20569
  },
20510
- "tagName": "%%prefix%%-icon",
20511
- "customElement": true
20570
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
20512
20571
  },
20513
20572
  {
20514
20573
  "kind": "variable",
20515
- "name": "foundationIcon",
20516
- "description": "The Foundation Icon",
20574
+ "name": "defaultHorizontalScrollConfig",
20575
+ "type": {
20576
+ "text": "object"
20577
+ },
20578
+ "default": "{\n nextFlipper: html`\n <foundation-flipper\n @click=\"${(x) => x.scrollToNext()}\"\n aria-hidden=\"${(x) => x.flippersHiddenFromAT}\"\n ></foundation-flipper>\n `,\n previousFlipper: html`\n <foundation-flipper\n @click=\"${(x) => x.scrollToPrevious()}\"\n direction=\"previous\"\n aria-hidden=\"${(x) => x.flippersHiddenFromAT}\"\n ></foundation-flipper>\n `,\n}"
20579
+ },
20580
+ {
20581
+ "kind": "variable",
20582
+ "name": "foundationHorizontalScroll",
20583
+ "description": "The Foundation HorizontalScroll",
20517
20584
  "privacy": "public"
20518
20585
  }
20519
20586
  ],
20520
20587
  "exports": [
20521
20588
  {
20522
20589
  "kind": "js",
20523
- "name": "IconName",
20524
- "declaration": {
20525
- "name": "IconName",
20526
- "module": "src/icon/icon.ts"
20527
- }
20528
- },
20529
- {
20530
- "kind": "js",
20531
- "name": "IconStyle",
20532
- "declaration": {
20533
- "name": "IconStyle",
20534
- "module": "src/icon/icon.ts"
20535
- }
20536
- },
20537
- {
20538
- "kind": "js",
20539
- "name": "foundationIconShadowOptions",
20540
- "declaration": {
20541
- "name": "foundationIconShadowOptions",
20542
- "module": "src/icon/icon.ts"
20543
- }
20544
- },
20545
- {
20546
- "kind": "js",
20547
- "name": "defaultIconConfig",
20548
- "declaration": {
20549
- "name": "defaultIconConfig",
20550
- "module": "src/icon/icon.ts"
20551
- }
20552
- },
20553
- {
20554
- "kind": "js",
20555
- "name": "faSizeValueDefault",
20590
+ "name": "HorizontalScroll",
20556
20591
  "declaration": {
20557
- "name": "faSizeValueDefault",
20558
- "module": "src/icon/icon.ts"
20592
+ "name": "HorizontalScroll",
20593
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
20559
20594
  }
20560
20595
  },
20561
20596
  {
20562
20597
  "kind": "js",
20563
- "name": "faSizeValues",
20598
+ "name": "foundationHorizontalScrollShadowOptions",
20564
20599
  "declaration": {
20565
- "name": "faSizeValues",
20566
- "module": "src/icon/icon.ts"
20600
+ "name": "foundationHorizontalScrollShadowOptions",
20601
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
20567
20602
  }
20568
20603
  },
20569
20604
  {
20570
20605
  "kind": "js",
20571
- "name": "Icon",
20606
+ "name": "defaultHorizontalScrollConfig",
20572
20607
  "declaration": {
20573
- "name": "Icon",
20574
- "module": "src/icon/icon.ts"
20608
+ "name": "defaultHorizontalScrollConfig",
20609
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
20575
20610
  }
20576
20611
  },
20577
20612
  {
20578
20613
  "kind": "js",
20579
- "name": "foundationIcon",
20614
+ "name": "foundationHorizontalScroll",
20580
20615
  "declaration": {
20581
- "name": "foundationIcon",
20582
- "module": "src/icon/icon.ts"
20616
+ "name": "foundationHorizontalScroll",
20617
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
20583
20618
  }
20584
20619
  }
20585
20620
  ]
20586
20621
  },
20587
20622
  {
20588
20623
  "kind": "javascript-module",
20589
- "path": "src/icon/index.ts",
20624
+ "path": "src/horizontal-scroll/index.ts",
20590
20625
  "declarations": [],
20591
20626
  "exports": [
20592
20627
  {
@@ -20594,7 +20629,7 @@
20594
20629
  "name": "*",
20595
20630
  "declaration": {
20596
20631
  "name": "*",
20597
- "package": "./icon.styles"
20632
+ "package": "./horizontal-scroll.template"
20598
20633
  }
20599
20634
  },
20600
20635
  {
@@ -20602,7 +20637,7 @@
20602
20637
  "name": "*",
20603
20638
  "declaration": {
20604
20639
  "name": "*",
20605
- "package": "./icon.template"
20640
+ "package": "./horizontal-scroll.styles"
20606
20641
  }
20607
20642
  },
20608
20643
  {
@@ -20610,190 +20645,204 @@
20610
20645
  "name": "*",
20611
20646
  "declaration": {
20612
20647
  "name": "*",
20613
- "package": "./icon"
20648
+ "package": "./horizontal-scroll"
20614
20649
  }
20615
20650
  }
20616
20651
  ]
20617
20652
  },
20618
20653
  {
20619
20654
  "kind": "javascript-module",
20620
- "path": "src/grid-layout-item/grid-layout-item.template.ts",
20655
+ "path": "src/icon/icon.styles.ts",
20656
+ "declarations": [
20657
+ {
20658
+ "kind": "function",
20659
+ "name": "foundationIconStyles",
20660
+ "return": {
20661
+ "type": {
20662
+ "text": "ElementStyles"
20663
+ }
20664
+ },
20665
+ "parameters": [
20666
+ {
20667
+ "name": "context",
20668
+ "type": {
20669
+ "text": "ElementDefinitionContext"
20670
+ }
20671
+ },
20672
+ {
20673
+ "name": "definition",
20674
+ "type": {
20675
+ "text": "FoundationElementDefinition"
20676
+ }
20677
+ }
20678
+ ]
20679
+ }
20680
+ ],
20681
+ "exports": [
20682
+ {
20683
+ "kind": "js",
20684
+ "name": "foundationIconStyles",
20685
+ "declaration": {
20686
+ "name": "foundationIconStyles",
20687
+ "module": "src/icon/icon.styles.ts"
20688
+ }
20689
+ }
20690
+ ]
20691
+ },
20692
+ {
20693
+ "kind": "javascript-module",
20694
+ "path": "src/icon/icon.template.ts",
20621
20695
  "declarations": [
20622
20696
  {
20623
20697
  "kind": "variable",
20624
- "name": "foundationGridLayoutItemTemplate",
20698
+ "name": "foundationIconTemplate",
20625
20699
  "type": {
20626
- "text": "ViewTemplate<GridLayoutItem>"
20700
+ "text": "ViewTemplate"
20627
20701
  },
20628
- "default": "html`\n <template>\n <style>\n :host {\n width: 100%;\n height: 100%;\n ${(x) => x.setGridItemProperties(x.colNumber, x.rowNumber, x.width, x.height)}\n }\n\n @media only screen and (min-width: 1025px) {\n :host {\n ${(x) => x.setGridItemProperties(x.colLgNumber, x.rowLgNumber, x.widthLg, x.heightLg)}\n }\n }\n\n @media only screen and (min-width: 641px) and (max-width: 1024px) {\n :host {\n ${(x) => x.setGridItemProperties(x.colMdNumber, x.rowMdNumber, x.widthSm, x.heightMd)}\n }\n }\n\n @media only screen and (max-width: 640px) {\n :host {\n ${(x) => x.setGridItemProperties(x.colSmNumber, x.rowSmNumber, x.widthSm, x.heightSm)}\n }\n }\n </style>\n <slot></slot>\n </template>\n`"
20702
+ "default": "html<Icon>`\n <template>\n <i\n ${ref('iElement')}\n class=${(x) => `fa-${x.name} fa-${x.size} fa-${x.variant}`}\n part=${(x) => `icon-${x.name}-${x.size}-${x.variant}`}\n >\n <slot></slot>\n </i>\n </template>\n`"
20629
20703
  }
20630
20704
  ],
20631
20705
  "exports": [
20632
20706
  {
20633
20707
  "kind": "js",
20634
- "name": "foundationGridLayoutItemTemplate",
20708
+ "name": "foundationIconTemplate",
20635
20709
  "declaration": {
20636
- "name": "foundationGridLayoutItemTemplate",
20637
- "module": "src/grid-layout-item/grid-layout-item.template.ts"
20710
+ "name": "foundationIconTemplate",
20711
+ "module": "src/icon/icon.template.ts"
20638
20712
  }
20639
20713
  }
20640
20714
  ]
20641
20715
  },
20642
20716
  {
20643
20717
  "kind": "javascript-module",
20644
- "path": "src/grid-layout-item/grid-layout-item.ts",
20718
+ "path": "src/icon/icon.ts",
20645
20719
  "declarations": [
20646
20720
  {
20647
20721
  "kind": "variable",
20648
- "name": "foundationGridLayoutItemShadowOptions",
20722
+ "name": "foundationIconShadowOptions",
20649
20723
  "type": {
20650
20724
  "text": "ShadowRootInit"
20651
20725
  },
20652
- "default": "undefined"
20726
+ "default": "{\n mode: 'open',\n delegatesFocus: true,\n}"
20653
20727
  },
20654
20728
  {
20655
20729
  "kind": "variable",
20656
- "name": "defaultGridLayoutItemConfig",
20730
+ "name": "defaultIconConfig",
20657
20731
  "type": {
20658
20732
  "text": "object"
20659
20733
  },
20660
20734
  "default": "{}"
20661
20735
  },
20736
+ {
20737
+ "kind": "variable",
20738
+ "name": "faSizeValueDefault",
20739
+ "type": {
20740
+ "text": "'1x'"
20741
+ },
20742
+ "default": "'1x'"
20743
+ },
20744
+ {
20745
+ "kind": "variable",
20746
+ "name": "faSizeValues",
20747
+ "type": {
20748
+ "text": "[\n '2xs',\n 'xs',\n 'sm',\n 'lg',\n 'xl',\n '2xl',\n faSizeValueDefault,\n '2x',\n '3x',\n '4x',\n '5x',\n '6x',\n '7x',\n '8x',\n '9x',\n '10x',\n 'stack-1x',\n 'stack-2x',\n]"
20749
+ },
20750
+ "default": "[\n '2xs',\n 'xs',\n 'sm',\n 'lg',\n 'xl',\n '2xl',\n faSizeValueDefault,\n '2x',\n '3x',\n '4x',\n '5x',\n '6x',\n '7x',\n '8x',\n '9x',\n '10x',\n 'stack-1x',\n 'stack-2x',\n]"
20751
+ },
20662
20752
  {
20663
20753
  "kind": "class",
20664
20754
  "description": "",
20665
- "name": "GridLayoutItem",
20755
+ "name": "Icon",
20666
20756
  "members": [
20667
20757
  {
20668
20758
  "kind": "field",
20669
- "name": "colNumber",
20670
- "type": {
20671
- "text": "number"
20672
- }
20673
- },
20674
- {
20675
- "kind": "field",
20676
- "name": "colSmNumber",
20677
- "type": {
20678
- "text": "number"
20679
- }
20680
- },
20681
- {
20682
- "kind": "field",
20683
- "name": "colMdNumber",
20684
- "type": {
20685
- "text": "number"
20686
- }
20687
- },
20688
- {
20689
- "kind": "field",
20690
- "name": "colLgNumber",
20691
- "type": {
20692
- "text": "number"
20693
- }
20694
- },
20695
- {
20696
- "kind": "field",
20697
- "name": "rowNumber",
20698
- "type": {
20699
- "text": "number"
20700
- }
20701
- },
20702
- {
20703
- "kind": "field",
20704
- "name": "rowSmNumber",
20705
- "type": {
20706
- "text": "number"
20707
- }
20708
- },
20709
- {
20710
- "kind": "field",
20711
- "name": "rowMdNumber",
20712
- "type": {
20713
- "text": "number"
20714
- }
20715
- },
20716
- {
20717
- "kind": "field",
20718
- "name": "rowLgNumber",
20719
- "type": {
20720
- "text": "number"
20721
- }
20722
- },
20723
- {
20724
- "kind": "field",
20725
- "name": "width",
20726
- "type": {
20727
- "text": "number"
20728
- }
20729
- },
20730
- {
20731
- "kind": "field",
20732
- "name": "widthSm",
20733
- "type": {
20734
- "text": "number"
20735
- }
20736
- },
20737
- {
20738
- "kind": "field",
20739
- "name": "widthMd",
20759
+ "name": "iElement",
20740
20760
  "type": {
20741
- "text": "number"
20761
+ "text": "HTMLElement"
20742
20762
  }
20743
20763
  },
20744
20764
  {
20745
20765
  "kind": "field",
20746
- "name": "widthLg",
20766
+ "name": "name",
20747
20767
  "type": {
20748
- "text": "number"
20768
+ "text": "IconName"
20749
20769
  }
20750
20770
  },
20751
20771
  {
20752
- "kind": "field",
20753
- "name": "height",
20754
- "type": {
20755
- "text": "number"
20756
- }
20772
+ "kind": "method",
20773
+ "name": "nameChanged",
20774
+ "parameters": [
20775
+ {
20776
+ "name": "oldValue",
20777
+ "type": {
20778
+ "text": "string"
20779
+ }
20780
+ },
20781
+ {
20782
+ "name": "newValue",
20783
+ "type": {
20784
+ "text": "string"
20785
+ }
20786
+ }
20787
+ ]
20757
20788
  },
20758
20789
  {
20759
20790
  "kind": "field",
20760
- "name": "heightSm",
20791
+ "name": "size",
20761
20792
  "type": {
20762
- "text": "number"
20763
- }
20793
+ "text": "FaSize"
20794
+ },
20795
+ "default": "'sm'"
20764
20796
  },
20765
20797
  {
20766
- "kind": "field",
20767
- "name": "heightMd",
20768
- "type": {
20769
- "text": "number"
20770
- }
20798
+ "kind": "method",
20799
+ "name": "sizeChanged",
20800
+ "parameters": [
20801
+ {
20802
+ "name": "oldValue",
20803
+ "type": {
20804
+ "text": "string"
20805
+ }
20806
+ },
20807
+ {
20808
+ "name": "newValue",
20809
+ "type": {
20810
+ "text": "string"
20811
+ }
20812
+ }
20813
+ ]
20771
20814
  },
20772
20815
  {
20773
20816
  "kind": "field",
20774
- "name": "heightLg",
20817
+ "name": "variant",
20775
20818
  "type": {
20776
- "text": "number"
20777
- }
20819
+ "text": "IconStyle"
20820
+ },
20821
+ "default": "'solid'"
20778
20822
  },
20779
20823
  {
20780
20824
  "kind": "method",
20781
- "name": "setGridItemProperties",
20825
+ "name": "variantChanged",
20782
20826
  "parameters": [
20783
20827
  {
20784
- "name": "column"
20785
- },
20786
- {
20787
- "name": "row"
20788
- },
20789
- {
20790
- "name": "width"
20828
+ "name": "oldValue",
20829
+ "type": {
20830
+ "text": "string"
20831
+ }
20791
20832
  },
20792
20833
  {
20793
- "name": "height"
20834
+ "name": "newValue",
20835
+ "type": {
20836
+ "text": "string"
20837
+ }
20794
20838
  }
20795
20839
  ]
20796
20840
  },
20841
+ {
20842
+ "kind": "method",
20843
+ "name": "loadIcon",
20844
+ "privacy": "public"
20845
+ },
20797
20846
  {
20798
20847
  "kind": "field",
20799
20848
  "name": "_presentation",
@@ -20908,170 +20957,113 @@
20908
20957
  ],
20909
20958
  "attributes": [
20910
20959
  {
20911
- "name": "col-number",
20912
- "type": {
20913
- "text": "number"
20914
- },
20915
- "fieldName": "colNumber"
20916
- },
20917
- {
20918
- "name": "col-sm-number",
20919
- "type": {
20920
- "text": "number"
20921
- },
20922
- "fieldName": "colSmNumber"
20923
- },
20924
- {
20925
- "name": "col-md-number",
20926
- "type": {
20927
- "text": "number"
20928
- },
20929
- "fieldName": "colMdNumber"
20930
- },
20931
- {
20932
- "name": "col-lg-number",
20933
- "type": {
20934
- "text": "number"
20935
- },
20936
- "fieldName": "colLgNumber"
20937
- },
20938
- {
20939
- "name": "row-number",
20940
- "type": {
20941
- "text": "number"
20942
- },
20943
- "fieldName": "rowNumber"
20944
- },
20945
- {
20946
- "name": "row-sm-number",
20947
- "type": {
20948
- "text": "number"
20949
- },
20950
- "fieldName": "rowSmNumber"
20951
- },
20952
- {
20953
- "name": "row-md-number",
20954
- "type": {
20955
- "text": "number"
20956
- },
20957
- "fieldName": "rowMdNumber"
20958
- },
20959
- {
20960
- "name": "row-lg-number",
20961
- "type": {
20962
- "text": "number"
20963
- },
20964
- "fieldName": "rowLgNumber"
20965
- },
20966
- {
20967
- "name": "width",
20968
- "type": {
20969
- "text": "number"
20970
- },
20971
- "fieldName": "width"
20972
- },
20973
- {
20974
- "name": "width-sm",
20975
- "type": {
20976
- "text": "number"
20977
- },
20978
- "fieldName": "widthSm"
20979
- },
20980
- {
20981
- "name": "width-md",
20982
- "type": {
20983
- "text": "number"
20984
- },
20985
- "fieldName": "widthMd"
20986
- },
20987
- {
20988
- "name": "width-lg",
20989
- "type": {
20990
- "text": "number"
20991
- },
20992
- "fieldName": "widthLg"
20993
- },
20994
- {
20995
- "name": "height",
20996
- "type": {
20997
- "text": "number"
20998
- },
20999
- "fieldName": "height"
21000
- },
21001
- {
21002
- "name": "height-sm",
20960
+ "name": "name",
21003
20961
  "type": {
21004
- "text": "number"
20962
+ "text": "IconName"
21005
20963
  },
21006
- "fieldName": "heightSm"
20964
+ "fieldName": "name"
21007
20965
  },
21008
20966
  {
21009
- "name": "height-md",
20967
+ "name": "size",
21010
20968
  "type": {
21011
- "text": "number"
20969
+ "text": "FaSize"
21012
20970
  },
21013
- "fieldName": "heightMd"
20971
+ "default": "'sm'",
20972
+ "fieldName": "size"
21014
20973
  },
21015
20974
  {
21016
- "name": "height-lg",
20975
+ "name": "variant",
21017
20976
  "type": {
21018
- "text": "number"
20977
+ "text": "IconStyle"
21019
20978
  },
21020
- "fieldName": "heightLg"
20979
+ "default": "'solid'",
20980
+ "fieldName": "variant"
21021
20981
  }
21022
20982
  ],
21023
20983
  "superclass": {
21024
20984
  "name": "FoundationElement",
21025
20985
  "package": "@microsoft/fast-foundation"
21026
20986
  },
21027
- "tagName": "%%prefix%%-grid-layout-item",
20987
+ "tagName": "%%prefix%%-icon",
21028
20988
  "customElement": true
21029
20989
  },
21030
20990
  {
21031
20991
  "kind": "variable",
21032
- "name": "foundationGridLayoutItem",
21033
- "description": "The Foundation Grid Layout Item",
20992
+ "name": "foundationIcon",
20993
+ "description": "The Foundation Icon",
21034
20994
  "privacy": "public"
21035
20995
  }
21036
20996
  ],
21037
20997
  "exports": [
21038
20998
  {
21039
20999
  "kind": "js",
21040
- "name": "foundationGridLayoutItemShadowOptions",
21000
+ "name": "IconName",
21041
21001
  "declaration": {
21042
- "name": "foundationGridLayoutItemShadowOptions",
21043
- "module": "src/grid-layout-item/grid-layout-item.ts"
21002
+ "name": "IconName",
21003
+ "module": "src/icon/icon.ts"
21044
21004
  }
21045
21005
  },
21046
21006
  {
21047
21007
  "kind": "js",
21048
- "name": "defaultGridLayoutItemConfig",
21008
+ "name": "IconStyle",
21049
21009
  "declaration": {
21050
- "name": "defaultGridLayoutItemConfig",
21051
- "module": "src/grid-layout-item/grid-layout-item.ts"
21010
+ "name": "IconStyle",
21011
+ "module": "src/icon/icon.ts"
21052
21012
  }
21053
21013
  },
21054
21014
  {
21055
21015
  "kind": "js",
21056
- "name": "GridLayoutItem",
21016
+ "name": "foundationIconShadowOptions",
21057
21017
  "declaration": {
21058
- "name": "GridLayoutItem",
21059
- "module": "src/grid-layout-item/grid-layout-item.ts"
21018
+ "name": "foundationIconShadowOptions",
21019
+ "module": "src/icon/icon.ts"
21060
21020
  }
21061
21021
  },
21062
21022
  {
21063
21023
  "kind": "js",
21064
- "name": "foundationGridLayoutItem",
21024
+ "name": "defaultIconConfig",
21065
21025
  "declaration": {
21066
- "name": "foundationGridLayoutItem",
21067
- "module": "src/grid-layout-item/grid-layout-item.ts"
21026
+ "name": "defaultIconConfig",
21027
+ "module": "src/icon/icon.ts"
21028
+ }
21029
+ },
21030
+ {
21031
+ "kind": "js",
21032
+ "name": "faSizeValueDefault",
21033
+ "declaration": {
21034
+ "name": "faSizeValueDefault",
21035
+ "module": "src/icon/icon.ts"
21036
+ }
21037
+ },
21038
+ {
21039
+ "kind": "js",
21040
+ "name": "faSizeValues",
21041
+ "declaration": {
21042
+ "name": "faSizeValues",
21043
+ "module": "src/icon/icon.ts"
21044
+ }
21045
+ },
21046
+ {
21047
+ "kind": "js",
21048
+ "name": "Icon",
21049
+ "declaration": {
21050
+ "name": "Icon",
21051
+ "module": "src/icon/icon.ts"
21052
+ }
21053
+ },
21054
+ {
21055
+ "kind": "js",
21056
+ "name": "foundationIcon",
21057
+ "declaration": {
21058
+ "name": "foundationIcon",
21059
+ "module": "src/icon/icon.ts"
21068
21060
  }
21069
21061
  }
21070
21062
  ]
21071
21063
  },
21072
21064
  {
21073
21065
  "kind": "javascript-module",
21074
- "path": "src/grid-layout-item/index.ts",
21066
+ "path": "src/icon/index.ts",
21075
21067
  "declarations": [],
21076
21068
  "exports": [
21077
21069
  {
@@ -21079,7 +21071,7 @@
21079
21071
  "name": "*",
21080
21072
  "declaration": {
21081
21073
  "name": "*",
21082
- "package": "./grid-layout-item.template"
21074
+ "package": "./icon.styles"
21083
21075
  }
21084
21076
  },
21085
21077
  {
@@ -21087,7 +21079,15 @@
21087
21079
  "name": "*",
21088
21080
  "declaration": {
21089
21081
  "name": "*",
21090
- "package": "./grid-layout-item"
21082
+ "package": "./icon.template"
21083
+ }
21084
+ },
21085
+ {
21086
+ "kind": "js",
21087
+ "name": "*",
21088
+ "declaration": {
21089
+ "name": "*",
21090
+ "package": "./icon"
21091
21091
  }
21092
21092
  }
21093
21093
  ]