@genesislcap/foundation-zero 14.127.2 → 14.127.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -808,225 +808,6 @@
808
808
  }
809
809
  ]
810
810
  },
811
- {
812
- "kind": "javascript-module",
813
- "path": "src/_config/index.ts",
814
- "declarations": [],
815
- "exports": [
816
- {
817
- "kind": "js",
818
- "name": "*",
819
- "declaration": {
820
- "name": "*",
821
- "package": "./styles"
822
- }
823
- },
824
- {
825
- "kind": "js",
826
- "name": "*",
827
- "declaration": {
828
- "name": "*",
829
- "package": "./tokens"
830
- }
831
- },
832
- {
833
- "kind": "js",
834
- "name": "*",
835
- "declaration": {
836
- "name": "*",
837
- "package": "./values"
838
- }
839
- }
840
- ]
841
- },
842
- {
843
- "kind": "javascript-module",
844
- "path": "src/accordion/accordion.stories.ts",
845
- "declarations": [
846
- {
847
- "kind": "variable",
848
- "name": "meta",
849
- "type": {
850
- "text": "Meta"
851
- },
852
- "default": "{\n title: 'Accordion',\n component: 'zero-accordion',\n}"
853
- },
854
- {
855
- "kind": "variable",
856
- "name": "Primary",
857
- "type": {
858
- "text": "StoryObj"
859
- },
860
- "default": "{\n render: () => html`\n <zero-accordion>\n <zero-accordion-item slot=\"item\" id=\"accordion-1\">\n Accordion one content\n <div slot=\"heading\">Accordion one</div>\n </zero-accordion-item>\n <zero-accordion-item slot=\"item\" id=\"accordion-2\">\n Accordion two content\n <div slot=\"heading\">Accordion two</div>\n </zero-accordion-item>\n <zero-accordion-item slot=\"item\" id=\"accordion-3\">\n Accordion three content\n <div slot=\"heading\">Accordion three</div>\n </zero-accordion-item>\n <zero-accordion-item slot=\"item\" id=\"accordion-4\">\n Accordion four content\n <div slot=\"heading\">Accordion four</div>\n </zero-accordion-item>\n </zero-accordion>\n `,\n}"
861
- }
862
- ],
863
- "exports": [
864
- {
865
- "kind": "js",
866
- "name": "default",
867
- "declaration": {
868
- "name": "meta",
869
- "module": "src/accordion/accordion.stories.ts"
870
- }
871
- },
872
- {
873
- "kind": "js",
874
- "name": "Primary",
875
- "declaration": {
876
- "name": "Primary",
877
- "module": "src/accordion/accordion.stories.ts"
878
- }
879
- }
880
- ]
881
- },
882
- {
883
- "kind": "javascript-module",
884
- "path": "src/accordion/accordion.styles.ts",
885
- "declarations": [
886
- {
887
- "kind": "function",
888
- "name": "zeroAccordionStyles",
889
- "return": {
890
- "type": {
891
- "text": "ElementStyles"
892
- }
893
- },
894
- "parameters": [
895
- {
896
- "name": "context",
897
- "type": {
898
- "text": "ElementDefinitionContext"
899
- }
900
- },
901
- {
902
- "name": "definition",
903
- "type": {
904
- "text": "FoundationElementDefinition"
905
- }
906
- }
907
- ]
908
- }
909
- ],
910
- "exports": [
911
- {
912
- "kind": "js",
913
- "name": "zeroAccordionStyles",
914
- "declaration": {
915
- "name": "zeroAccordionStyles",
916
- "module": "src/accordion/accordion.styles.ts"
917
- }
918
- }
919
- ]
920
- },
921
- {
922
- "kind": "javascript-module",
923
- "path": "src/accordion/accordion.template.ts",
924
- "declarations": [
925
- {
926
- "kind": "function",
927
- "name": "zeroAccordionTemplate",
928
- "return": {
929
- "type": {
930
- "text": "ViewTemplate<Accordion>"
931
- }
932
- },
933
- "parameters": [
934
- {
935
- "name": "context",
936
- "type": {
937
- "text": "ElementDefinitionContext"
938
- }
939
- },
940
- {
941
- "name": "definition",
942
- "type": {
943
- "text": "FoundationElementDefinition"
944
- }
945
- }
946
- ]
947
- }
948
- ],
949
- "exports": [
950
- {
951
- "kind": "js",
952
- "name": "zeroAccordionTemplate",
953
- "declaration": {
954
- "name": "zeroAccordionTemplate",
955
- "module": "src/accordion/accordion.template.ts"
956
- }
957
- }
958
- ]
959
- },
960
- {
961
- "kind": "javascript-module",
962
- "path": "src/accordion/accordion.ts",
963
- "declarations": [
964
- {
965
- "kind": "class",
966
- "description": "",
967
- "name": "Accordion",
968
- "superclass": {
969
- "name": "FoundationAccordion",
970
- "package": "@genesislcap/foundation-ui"
971
- },
972
- "tagName": "%%prefix%%-card",
973
- "customElement": true
974
- },
975
- {
976
- "kind": "variable",
977
- "name": "zeroAccordion"
978
- }
979
- ],
980
- "exports": [
981
- {
982
- "kind": "js",
983
- "name": "Accordion",
984
- "declaration": {
985
- "name": "Accordion",
986
- "module": "src/accordion/accordion.ts"
987
- }
988
- },
989
- {
990
- "kind": "js",
991
- "name": "zeroAccordion",
992
- "declaration": {
993
- "name": "zeroAccordion",
994
- "module": "src/accordion/accordion.ts"
995
- }
996
- }
997
- ]
998
- },
999
- {
1000
- "kind": "javascript-module",
1001
- "path": "src/accordion/index.ts",
1002
- "declarations": [],
1003
- "exports": [
1004
- {
1005
- "kind": "js",
1006
- "name": "*",
1007
- "declaration": {
1008
- "name": "*",
1009
- "package": "./accordion"
1010
- }
1011
- },
1012
- {
1013
- "kind": "js",
1014
- "name": "*",
1015
- "declaration": {
1016
- "name": "*",
1017
- "package": "./accordion.styles"
1018
- }
1019
- },
1020
- {
1021
- "kind": "js",
1022
- "name": "*",
1023
- "declaration": {
1024
- "name": "*",
1025
- "package": "./accordion.template"
1026
- }
1027
- }
1028
- ]
1029
- },
1030
811
  {
1031
812
  "kind": "javascript-module",
1032
813
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -1387,6 +1168,37 @@
1387
1168
  }
1388
1169
  ]
1389
1170
  },
1171
+ {
1172
+ "kind": "javascript-module",
1173
+ "path": "src/_config/index.ts",
1174
+ "declarations": [],
1175
+ "exports": [
1176
+ {
1177
+ "kind": "js",
1178
+ "name": "*",
1179
+ "declaration": {
1180
+ "name": "*",
1181
+ "package": "./styles"
1182
+ }
1183
+ },
1184
+ {
1185
+ "kind": "js",
1186
+ "name": "*",
1187
+ "declaration": {
1188
+ "name": "*",
1189
+ "package": "./tokens"
1190
+ }
1191
+ },
1192
+ {
1193
+ "kind": "js",
1194
+ "name": "*",
1195
+ "declaration": {
1196
+ "name": "*",
1197
+ "package": "./values"
1198
+ }
1199
+ }
1200
+ ]
1201
+ },
1390
1202
  {
1391
1203
  "kind": "javascript-module",
1392
1204
  "path": "src/actions-menu/actions-menu.stories.ts",
@@ -2017,7 +1829,7 @@
2017
1829
  },
2018
1830
  {
2019
1831
  "kind": "javascript-module",
2020
- "path": "src/anchor/anchor.stories.ts",
1832
+ "path": "src/accordion/accordion.stories.ts",
2021
1833
  "declarations": [
2022
1834
  {
2023
1835
  "kind": "variable",
@@ -2025,11 +1837,199 @@
2025
1837
  "type": {
2026
1838
  "text": "Meta"
2027
1839
  },
2028
- "default": "{\n title: 'Anchor',\n component: 'zero-anchor',\n}"
1840
+ "default": "{\n title: 'Accordion',\n component: 'zero-accordion',\n}"
2029
1841
  },
2030
1842
  {
2031
1843
  "kind": "variable",
2032
- "name": "All",
1844
+ "name": "Primary",
1845
+ "type": {
1846
+ "text": "StoryObj"
1847
+ },
1848
+ "default": "{\n render: () => html`\n <zero-accordion>\n <zero-accordion-item slot=\"item\" id=\"accordion-1\">\n Accordion one content\n <div slot=\"heading\">Accordion one</div>\n </zero-accordion-item>\n <zero-accordion-item slot=\"item\" id=\"accordion-2\">\n Accordion two content\n <div slot=\"heading\">Accordion two</div>\n </zero-accordion-item>\n <zero-accordion-item slot=\"item\" id=\"accordion-3\">\n Accordion three content\n <div slot=\"heading\">Accordion three</div>\n </zero-accordion-item>\n <zero-accordion-item slot=\"item\" id=\"accordion-4\">\n Accordion four content\n <div slot=\"heading\">Accordion four</div>\n </zero-accordion-item>\n </zero-accordion>\n `,\n}"
1849
+ }
1850
+ ],
1851
+ "exports": [
1852
+ {
1853
+ "kind": "js",
1854
+ "name": "default",
1855
+ "declaration": {
1856
+ "name": "meta",
1857
+ "module": "src/accordion/accordion.stories.ts"
1858
+ }
1859
+ },
1860
+ {
1861
+ "kind": "js",
1862
+ "name": "Primary",
1863
+ "declaration": {
1864
+ "name": "Primary",
1865
+ "module": "src/accordion/accordion.stories.ts"
1866
+ }
1867
+ }
1868
+ ]
1869
+ },
1870
+ {
1871
+ "kind": "javascript-module",
1872
+ "path": "src/accordion/accordion.styles.ts",
1873
+ "declarations": [
1874
+ {
1875
+ "kind": "function",
1876
+ "name": "zeroAccordionStyles",
1877
+ "return": {
1878
+ "type": {
1879
+ "text": "ElementStyles"
1880
+ }
1881
+ },
1882
+ "parameters": [
1883
+ {
1884
+ "name": "context",
1885
+ "type": {
1886
+ "text": "ElementDefinitionContext"
1887
+ }
1888
+ },
1889
+ {
1890
+ "name": "definition",
1891
+ "type": {
1892
+ "text": "FoundationElementDefinition"
1893
+ }
1894
+ }
1895
+ ]
1896
+ }
1897
+ ],
1898
+ "exports": [
1899
+ {
1900
+ "kind": "js",
1901
+ "name": "zeroAccordionStyles",
1902
+ "declaration": {
1903
+ "name": "zeroAccordionStyles",
1904
+ "module": "src/accordion/accordion.styles.ts"
1905
+ }
1906
+ }
1907
+ ]
1908
+ },
1909
+ {
1910
+ "kind": "javascript-module",
1911
+ "path": "src/accordion/accordion.template.ts",
1912
+ "declarations": [
1913
+ {
1914
+ "kind": "function",
1915
+ "name": "zeroAccordionTemplate",
1916
+ "return": {
1917
+ "type": {
1918
+ "text": "ViewTemplate<Accordion>"
1919
+ }
1920
+ },
1921
+ "parameters": [
1922
+ {
1923
+ "name": "context",
1924
+ "type": {
1925
+ "text": "ElementDefinitionContext"
1926
+ }
1927
+ },
1928
+ {
1929
+ "name": "definition",
1930
+ "type": {
1931
+ "text": "FoundationElementDefinition"
1932
+ }
1933
+ }
1934
+ ]
1935
+ }
1936
+ ],
1937
+ "exports": [
1938
+ {
1939
+ "kind": "js",
1940
+ "name": "zeroAccordionTemplate",
1941
+ "declaration": {
1942
+ "name": "zeroAccordionTemplate",
1943
+ "module": "src/accordion/accordion.template.ts"
1944
+ }
1945
+ }
1946
+ ]
1947
+ },
1948
+ {
1949
+ "kind": "javascript-module",
1950
+ "path": "src/accordion/accordion.ts",
1951
+ "declarations": [
1952
+ {
1953
+ "kind": "class",
1954
+ "description": "",
1955
+ "name": "Accordion",
1956
+ "superclass": {
1957
+ "name": "FoundationAccordion",
1958
+ "package": "@genesislcap/foundation-ui"
1959
+ },
1960
+ "tagName": "%%prefix%%-card",
1961
+ "customElement": true
1962
+ },
1963
+ {
1964
+ "kind": "variable",
1965
+ "name": "zeroAccordion"
1966
+ }
1967
+ ],
1968
+ "exports": [
1969
+ {
1970
+ "kind": "js",
1971
+ "name": "Accordion",
1972
+ "declaration": {
1973
+ "name": "Accordion",
1974
+ "module": "src/accordion/accordion.ts"
1975
+ }
1976
+ },
1977
+ {
1978
+ "kind": "js",
1979
+ "name": "zeroAccordion",
1980
+ "declaration": {
1981
+ "name": "zeroAccordion",
1982
+ "module": "src/accordion/accordion.ts"
1983
+ }
1984
+ }
1985
+ ]
1986
+ },
1987
+ {
1988
+ "kind": "javascript-module",
1989
+ "path": "src/accordion/index.ts",
1990
+ "declarations": [],
1991
+ "exports": [
1992
+ {
1993
+ "kind": "js",
1994
+ "name": "*",
1995
+ "declaration": {
1996
+ "name": "*",
1997
+ "package": "./accordion"
1998
+ }
1999
+ },
2000
+ {
2001
+ "kind": "js",
2002
+ "name": "*",
2003
+ "declaration": {
2004
+ "name": "*",
2005
+ "package": "./accordion.styles"
2006
+ }
2007
+ },
2008
+ {
2009
+ "kind": "js",
2010
+ "name": "*",
2011
+ "declaration": {
2012
+ "name": "*",
2013
+ "package": "./accordion.template"
2014
+ }
2015
+ }
2016
+ ]
2017
+ },
2018
+ {
2019
+ "kind": "javascript-module",
2020
+ "path": "src/anchor/anchor.stories.ts",
2021
+ "declarations": [
2022
+ {
2023
+ "kind": "variable",
2024
+ "name": "meta",
2025
+ "type": {
2026
+ "text": "Meta"
2027
+ },
2028
+ "default": "{\n title: 'Anchor',\n component: 'zero-anchor',\n}"
2029
+ },
2030
+ {
2031
+ "kind": "variable",
2032
+ "name": "All",
2033
2033
  "type": {
2034
2034
  "text": "StoryObj"
2035
2035
  },
@@ -16932,393 +16932,526 @@
16932
16932
  },
16933
16933
  {
16934
16934
  "kind": "javascript-module",
16935
- "path": "src/grid-layout-item/grid-layout-item.ts",
16935
+ "path": "src/horizontal-scroll/horizontal-scroll.stories.ts",
16936
16936
  "declarations": [
16937
16937
  {
16938
- "kind": "class",
16939
- "description": "",
16940
- "name": "GridLayoutItem",
16941
- "superclass": {
16942
- "name": "FoundationGridLayoutItem",
16943
- "package": "@genesislcap/foundation-ui"
16938
+ "kind": "variable",
16939
+ "name": "meta",
16940
+ "type": {
16941
+ "text": "Meta"
16944
16942
  },
16945
- "tagName": "%%prefix%%-grid-layout-item",
16946
- "customElement": true,
16947
- "attributes": [
16943
+ "default": "{\n title: 'Horizontal Scroll',\n component: 'zero-horizontal-scroll',\n}"
16944
+ },
16945
+ {
16946
+ "kind": "variable",
16947
+ "name": "Primary",
16948
+ "type": {
16949
+ "text": "StoryObj"
16950
+ },
16951
+ "default": "{\n render: () => html`\n <zero-horizontal-scroll style=${horizontalScrollStyle}>\n ${repeat(\n cards,\n (item) => item,\n (item) => html`\n <zero-card style=${cardStyle}>\n Card number ${item}\n <zero-button>A button</zero-button>\n </zero-card>\n `,\n )}\n </zero-horizontal-scroll>\n `,\n}"
16952
+ }
16953
+ ],
16954
+ "exports": [
16955
+ {
16956
+ "kind": "js",
16957
+ "name": "default",
16958
+ "declaration": {
16959
+ "name": "meta",
16960
+ "module": "src/horizontal-scroll/horizontal-scroll.stories.ts"
16961
+ }
16962
+ },
16963
+ {
16964
+ "kind": "js",
16965
+ "name": "Primary",
16966
+ "declaration": {
16967
+ "name": "Primary",
16968
+ "module": "src/horizontal-scroll/horizontal-scroll.stories.ts"
16969
+ }
16970
+ }
16971
+ ]
16972
+ },
16973
+ {
16974
+ "kind": "javascript-module",
16975
+ "path": "src/horizontal-scroll/horizontal-scroll.styles.ts",
16976
+ "declarations": [
16977
+ {
16978
+ "kind": "function",
16979
+ "name": "zeroHorizontalScrollStyles",
16980
+ "return": {
16981
+ "type": {
16982
+ "text": "ElementStyles"
16983
+ }
16984
+ },
16985
+ "parameters": [
16948
16986
  {
16949
- "name": "col-number",
16987
+ "name": "context",
16950
16988
  "type": {
16951
- "text": "number"
16952
- },
16953
- "fieldName": "colNumber",
16954
- "inheritedFrom": {
16955
- "name": "GridLayoutItem",
16956
- "module": "src/grid-layout-item/grid-layout-item.ts"
16989
+ "text": "ElementDefinitionContext"
16957
16990
  }
16958
16991
  },
16959
16992
  {
16960
- "name": "col-sm-number",
16961
- "type": {
16962
- "text": "number"
16963
- },
16964
- "fieldName": "colSmNumber",
16965
- "inheritedFrom": {
16966
- "name": "GridLayoutItem",
16967
- "module": "src/grid-layout-item/grid-layout-item.ts"
16968
- }
16969
- },
16970
- {
16971
- "name": "col-md-number",
16972
- "type": {
16973
- "text": "number"
16974
- },
16975
- "fieldName": "colMdNumber",
16976
- "inheritedFrom": {
16977
- "name": "GridLayoutItem",
16978
- "module": "src/grid-layout-item/grid-layout-item.ts"
16979
- }
16980
- },
16981
- {
16982
- "name": "col-lg-number",
16983
- "type": {
16984
- "text": "number"
16985
- },
16986
- "fieldName": "colLgNumber",
16987
- "inheritedFrom": {
16988
- "name": "GridLayoutItem",
16989
- "module": "src/grid-layout-item/grid-layout-item.ts"
16990
- }
16991
- },
16992
- {
16993
- "name": "row-number",
16994
- "type": {
16995
- "text": "number"
16996
- },
16997
- "fieldName": "rowNumber",
16998
- "inheritedFrom": {
16999
- "name": "GridLayoutItem",
17000
- "module": "src/grid-layout-item/grid-layout-item.ts"
17001
- }
17002
- },
17003
- {
17004
- "name": "row-sm-number",
17005
- "type": {
17006
- "text": "number"
17007
- },
17008
- "fieldName": "rowSmNumber",
17009
- "inheritedFrom": {
17010
- "name": "GridLayoutItem",
17011
- "module": "src/grid-layout-item/grid-layout-item.ts"
17012
- }
17013
- },
17014
- {
17015
- "name": "row-md-number",
17016
- "type": {
17017
- "text": "number"
17018
- },
17019
- "fieldName": "rowMdNumber",
17020
- "inheritedFrom": {
17021
- "name": "GridLayoutItem",
17022
- "module": "src/grid-layout-item/grid-layout-item.ts"
17023
- }
17024
- },
17025
- {
17026
- "name": "row-lg-number",
17027
- "type": {
17028
- "text": "number"
17029
- },
17030
- "fieldName": "rowLgNumber",
17031
- "inheritedFrom": {
17032
- "name": "GridLayoutItem",
17033
- "module": "src/grid-layout-item/grid-layout-item.ts"
17034
- }
17035
- },
17036
- {
17037
- "name": "width",
16993
+ "name": "definition",
17038
16994
  "type": {
17039
- "text": "number"
17040
- },
17041
- "fieldName": "width",
17042
- "inheritedFrom": {
17043
- "name": "GridLayoutItem",
17044
- "module": "src/grid-layout-item/grid-layout-item.ts"
16995
+ "text": "FoundationElementDefinition"
17045
16996
  }
17046
- },
16997
+ }
16998
+ ]
16999
+ }
17000
+ ],
17001
+ "exports": [
17002
+ {
17003
+ "kind": "js",
17004
+ "name": "zeroHorizontalScrollStyles",
17005
+ "declaration": {
17006
+ "name": "zeroHorizontalScrollStyles",
17007
+ "module": "src/horizontal-scroll/horizontal-scroll.styles.ts"
17008
+ }
17009
+ }
17010
+ ]
17011
+ },
17012
+ {
17013
+ "kind": "javascript-module",
17014
+ "path": "src/horizontal-scroll/horizontal-scroll.template.ts",
17015
+ "declarations": [
17016
+ {
17017
+ "kind": "function",
17018
+ "name": "zeroHorizontalScrollTemplate",
17019
+ "return": {
17020
+ "type": {
17021
+ "text": "ViewTemplate<HorizontalScroll>"
17022
+ }
17023
+ },
17024
+ "parameters": [
17047
17025
  {
17048
- "name": "width-sm",
17026
+ "name": "context",
17049
17027
  "type": {
17050
- "text": "number"
17051
- },
17052
- "fieldName": "widthSm",
17053
- "inheritedFrom": {
17054
- "name": "GridLayoutItem",
17055
- "module": "src/grid-layout-item/grid-layout-item.ts"
17028
+ "text": "ElementDefinitionContext"
17056
17029
  }
17057
17030
  },
17058
17031
  {
17059
- "name": "width-md",
17032
+ "name": "definition",
17060
17033
  "type": {
17061
- "text": "number"
17062
- },
17063
- "fieldName": "widthMd",
17064
- "inheritedFrom": {
17065
- "name": "GridLayoutItem",
17066
- "module": "src/grid-layout-item/grid-layout-item.ts"
17034
+ "text": "FoundationElementDefinition"
17067
17035
  }
17068
- },
17036
+ }
17037
+ ]
17038
+ }
17039
+ ],
17040
+ "exports": [
17041
+ {
17042
+ "kind": "js",
17043
+ "name": "zeroHorizontalScrollTemplate",
17044
+ "declaration": {
17045
+ "name": "zeroHorizontalScrollTemplate",
17046
+ "module": "src/horizontal-scroll/horizontal-scroll.template.ts"
17047
+ }
17048
+ }
17049
+ ]
17050
+ },
17051
+ {
17052
+ "kind": "javascript-module",
17053
+ "path": "src/horizontal-scroll/horizontal-scroll.ts",
17054
+ "declarations": [
17055
+ {
17056
+ "kind": "class",
17057
+ "description": "",
17058
+ "name": "HorizontalScroll",
17059
+ "superclass": {
17060
+ "name": "FoundationHorizontalScroll",
17061
+ "package": "@genesislcap/foundation-ui"
17062
+ },
17063
+ "tagName": "%%prefix%%-horizontal-scroll",
17064
+ "customElement": true,
17065
+ "attributes": [
17069
17066
  {
17070
- "name": "width-lg",
17071
17067
  "type": {
17072
17068
  "text": "number"
17073
17069
  },
17074
- "fieldName": "widthLg",
17070
+ "default": "600",
17071
+ "description": "Speed of scroll in pixels per second",
17072
+ "fieldName": "speed",
17075
17073
  "inheritedFrom": {
17076
- "name": "GridLayoutItem",
17077
- "module": "src/grid-layout-item/grid-layout-item.ts"
17074
+ "name": "HorizontalScroll",
17075
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
17078
17076
  }
17079
17077
  },
17080
17078
  {
17081
- "name": "height",
17079
+ "name": "duration",
17082
17080
  "type": {
17083
- "text": "number"
17081
+ "text": "string"
17084
17082
  },
17085
- "fieldName": "height",
17083
+ "description": "The CSS time value for the scroll transition duration. Overrides the `speed` attribute.",
17084
+ "fieldName": "duration",
17086
17085
  "inheritedFrom": {
17087
- "name": "GridLayoutItem",
17088
- "module": "src/grid-layout-item/grid-layout-item.ts"
17086
+ "name": "HorizontalScroll",
17087
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
17089
17088
  }
17090
17089
  },
17091
17090
  {
17092
- "name": "height-sm",
17091
+ "name": "easing",
17093
17092
  "type": {
17094
- "text": "number"
17093
+ "text": "ScrollEasing"
17095
17094
  },
17096
- "fieldName": "heightSm",
17095
+ "default": "\"ease-in-out\"",
17096
+ "description": "Attribute used for easing, defaults to ease-in-out",
17097
+ "fieldName": "easing",
17097
17098
  "inheritedFrom": {
17098
- "name": "GridLayoutItem",
17099
- "module": "src/grid-layout-item/grid-layout-item.ts"
17099
+ "name": "HorizontalScroll",
17100
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
17100
17101
  }
17101
17102
  },
17102
17103
  {
17103
- "name": "height-md",
17104
+ "name": "flippers-hidden-from-at",
17104
17105
  "type": {
17105
- "text": "number"
17106
+ "text": "boolean"
17106
17107
  },
17107
- "fieldName": "heightMd",
17108
+ "default": "false",
17109
+ "description": "Attribute to hide flippers from assistive technology",
17110
+ "fieldName": "flippersHiddenFromAT",
17108
17111
  "inheritedFrom": {
17109
- "name": "GridLayoutItem",
17110
- "module": "src/grid-layout-item/grid-layout-item.ts"
17112
+ "name": "HorizontalScroll",
17113
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
17111
17114
  }
17112
17115
  },
17113
17116
  {
17114
- "name": "height-lg",
17117
+ "name": "view",
17115
17118
  "type": {
17116
- "text": "number"
17119
+ "text": "HorizontalScrollView"
17117
17120
  },
17118
- "fieldName": "heightLg",
17121
+ "description": "View: default | mobile",
17122
+ "fieldName": "view",
17119
17123
  "inheritedFrom": {
17120
- "name": "GridLayoutItem",
17121
- "module": "src/grid-layout-item/grid-layout-item.ts"
17124
+ "name": "HorizontalScroll",
17125
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
17122
17126
  }
17123
17127
  }
17124
17128
  ],
17125
17129
  "members": [
17126
17130
  {
17127
17131
  "kind": "field",
17128
- "name": "colNumber",
17132
+ "name": "scrollContainer",
17129
17133
  "type": {
17130
- "text": "number"
17134
+ "text": "HTMLDivElement"
17131
17135
  },
17136
+ "privacy": "public",
17137
+ "description": "Reference to DOM element that scrolls the content",
17132
17138
  "inheritedFrom": {
17133
- "name": "GridLayoutItem",
17134
- "module": "src/grid-layout-item/grid-layout-item.ts"
17139
+ "name": "HorizontalScroll",
17140
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
17135
17141
  }
17136
17142
  },
17137
17143
  {
17138
17144
  "kind": "field",
17139
- "name": "colSmNumber",
17145
+ "name": "content",
17140
17146
  "type": {
17141
- "text": "number"
17147
+ "text": "HTMLDivElement"
17142
17148
  },
17149
+ "privacy": "public",
17150
+ "description": "Reference to DOM element that holds the slotted content",
17143
17151
  "inheritedFrom": {
17144
- "name": "GridLayoutItem",
17145
- "module": "src/grid-layout-item/grid-layout-item.ts"
17152
+ "name": "HorizontalScroll",
17153
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
17146
17154
  }
17147
17155
  },
17148
17156
  {
17149
17157
  "kind": "field",
17150
- "name": "colMdNumber",
17158
+ "name": "previousFlipperContainer",
17151
17159
  "type": {
17152
- "text": "number"
17160
+ "text": "HTMLDivElement"
17153
17161
  },
17162
+ "privacy": "public",
17163
+ "description": "Reference to flipper to scroll to previous content",
17154
17164
  "inheritedFrom": {
17155
- "name": "GridLayoutItem",
17156
- "module": "src/grid-layout-item/grid-layout-item.ts"
17165
+ "name": "HorizontalScroll",
17166
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
17157
17167
  }
17158
17168
  },
17159
17169
  {
17160
17170
  "kind": "field",
17161
- "name": "colLgNumber",
17171
+ "name": "nextFlipperContainer",
17162
17172
  "type": {
17163
- "text": "number"
17173
+ "text": "HTMLDivElement"
17164
17174
  },
17175
+ "privacy": "public",
17176
+ "description": "Reference to flipper to scroll to the next content",
17165
17177
  "inheritedFrom": {
17166
- "name": "GridLayoutItem",
17167
- "module": "src/grid-layout-item/grid-layout-item.ts"
17178
+ "name": "HorizontalScroll",
17179
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
17168
17180
  }
17169
17181
  },
17170
17182
  {
17171
17183
  "kind": "field",
17172
- "name": "rowNumber",
17184
+ "name": "speed",
17173
17185
  "type": {
17174
17186
  "text": "number"
17175
17187
  },
17188
+ "privacy": "public",
17189
+ "default": "600",
17190
+ "description": "Speed of scroll in pixels per second",
17176
17191
  "inheritedFrom": {
17177
- "name": "GridLayoutItem",
17178
- "module": "src/grid-layout-item/grid-layout-item.ts"
17192
+ "name": "HorizontalScroll",
17193
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
17179
17194
  }
17180
17195
  },
17181
17196
  {
17182
17197
  "kind": "field",
17183
- "name": "rowSmNumber",
17198
+ "name": "duration",
17184
17199
  "type": {
17185
- "text": "number"
17200
+ "text": "string"
17186
17201
  },
17202
+ "privacy": "public",
17203
+ "description": "The CSS time value for the scroll transition duration. Overrides the `speed` attribute.",
17187
17204
  "inheritedFrom": {
17188
- "name": "GridLayoutItem",
17189
- "module": "src/grid-layout-item/grid-layout-item.ts"
17205
+ "name": "HorizontalScroll",
17206
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
17190
17207
  }
17191
17208
  },
17192
17209
  {
17193
17210
  "kind": "field",
17194
- "name": "rowMdNumber",
17211
+ "name": "easing",
17195
17212
  "type": {
17196
- "text": "number"
17213
+ "text": "ScrollEasing"
17197
17214
  },
17215
+ "privacy": "public",
17216
+ "default": "\"ease-in-out\"",
17217
+ "description": "Attribute used for easing, defaults to ease-in-out",
17198
17218
  "inheritedFrom": {
17199
- "name": "GridLayoutItem",
17200
- "module": "src/grid-layout-item/grid-layout-item.ts"
17219
+ "name": "HorizontalScroll",
17220
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
17201
17221
  }
17202
17222
  },
17203
17223
  {
17204
17224
  "kind": "field",
17205
- "name": "rowLgNumber",
17225
+ "name": "flippersHiddenFromAT",
17206
17226
  "type": {
17207
- "text": "number"
17227
+ "text": "boolean"
17208
17228
  },
17229
+ "privacy": "public",
17230
+ "default": "false",
17231
+ "description": "Attribute to hide flippers from assistive technology",
17209
17232
  "inheritedFrom": {
17210
- "name": "GridLayoutItem",
17211
- "module": "src/grid-layout-item/grid-layout-item.ts"
17233
+ "name": "HorizontalScroll",
17234
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
17212
17235
  }
17213
17236
  },
17214
17237
  {
17215
17238
  "kind": "field",
17216
- "name": "width",
17239
+ "name": "scrollItems",
17217
17240
  "type": {
17218
- "text": "number"
17241
+ "text": "HTMLElement[]"
17219
17242
  },
17243
+ "privacy": "public",
17244
+ "description": "The default slotted items placed in the scrolling container.",
17220
17245
  "inheritedFrom": {
17221
- "name": "GridLayoutItem",
17222
- "module": "src/grid-layout-item/grid-layout-item.ts"
17246
+ "name": "HorizontalScroll",
17247
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
17223
17248
  }
17224
17249
  },
17225
17250
  {
17226
17251
  "kind": "field",
17227
- "name": "widthSm",
17252
+ "name": "view",
17228
17253
  "type": {
17229
- "text": "number"
17254
+ "text": "HorizontalScrollView"
17230
17255
  },
17256
+ "privacy": "public",
17257
+ "description": "View: default | mobile",
17231
17258
  "inheritedFrom": {
17232
- "name": "GridLayoutItem",
17233
- "module": "src/grid-layout-item/grid-layout-item.ts"
17259
+ "name": "HorizontalScroll",
17260
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
17234
17261
  }
17235
17262
  },
17236
17263
  {
17237
- "kind": "field",
17238
- "name": "widthMd",
17239
- "type": {
17240
- "text": "number"
17241
- },
17264
+ "kind": "method",
17265
+ "name": "scrollItemsChanged",
17266
+ "privacy": "public",
17267
+ "parameters": [
17268
+ {
17269
+ "name": "previous",
17270
+ "type": {
17271
+ "text": "HTMLElement[]"
17272
+ },
17273
+ "description": "current scroll items"
17274
+ },
17275
+ {
17276
+ "name": "next",
17277
+ "type": {
17278
+ "text": "HTMLElement[]"
17279
+ },
17280
+ "description": "new updated scroll items"
17281
+ }
17282
+ ],
17283
+ "description": "Updates scroll stops and flippers when scroll items change",
17242
17284
  "inheritedFrom": {
17243
- "name": "GridLayoutItem",
17244
- "module": "src/grid-layout-item/grid-layout-item.ts"
17285
+ "name": "HorizontalScroll",
17286
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
17245
17287
  }
17246
17288
  },
17247
17289
  {
17248
- "kind": "field",
17249
- "name": "widthLg",
17250
- "type": {
17251
- "text": "number"
17252
- },
17290
+ "kind": "method",
17291
+ "name": "fixScrollMisalign",
17292
+ "privacy": "private",
17293
+ "parameters": [
17294
+ {
17295
+ "name": "stops",
17296
+ "type": {
17297
+ "text": "number[]"
17298
+ }
17299
+ }
17300
+ ],
17253
17301
  "inheritedFrom": {
17254
- "name": "GridLayoutItem",
17255
- "module": "src/grid-layout-item/grid-layout-item.ts"
17302
+ "name": "HorizontalScroll",
17303
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
17256
17304
  }
17257
17305
  },
17258
17306
  {
17259
- "kind": "field",
17260
- "name": "height",
17261
- "type": {
17262
- "text": "number"
17307
+ "kind": "method",
17308
+ "name": "scrollInView",
17309
+ "privacy": "public",
17310
+ "return": {
17311
+ "type": {
17312
+ "text": "void"
17313
+ }
17263
17314
  },
17315
+ "parameters": [
17316
+ {
17317
+ "name": "item",
17318
+ "type": {
17319
+ "text": "HTMLElement | number"
17320
+ },
17321
+ "description": "An item index, a scroll item or a child of one of the scroll items"
17322
+ },
17323
+ {
17324
+ "name": "padding",
17325
+ "default": "0",
17326
+ "type": {
17327
+ "text": "number"
17328
+ },
17329
+ "description": "Padding of the viewport where the active item shouldn't be"
17330
+ },
17331
+ {
17332
+ "name": "rightPadding",
17333
+ "optional": true,
17334
+ "type": {
17335
+ "text": "number"
17336
+ },
17337
+ "description": "Optional right padding. Uses the padding if not defined"
17338
+ }
17339
+ ],
17340
+ "description": "Function that can scroll an item into view.",
17264
17341
  "inheritedFrom": {
17265
- "name": "GridLayoutItem",
17266
- "module": "src/grid-layout-item/grid-layout-item.ts"
17342
+ "name": "HorizontalScroll",
17343
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
17267
17344
  }
17268
17345
  },
17269
17346
  {
17270
- "kind": "field",
17271
- "name": "heightSm",
17272
- "type": {
17273
- "text": "number"
17274
- },
17347
+ "kind": "method",
17348
+ "name": "keyupHandler",
17349
+ "privacy": "public",
17350
+ "parameters": [
17351
+ {
17352
+ "name": "e",
17353
+ "type": {
17354
+ "text": "Event & KeyboardEvent"
17355
+ },
17356
+ "description": "Keyboard event"
17357
+ }
17358
+ ],
17359
+ "description": "Lets the user arrow left and right through the horizontal scroll",
17275
17360
  "inheritedFrom": {
17276
- "name": "GridLayoutItem",
17277
- "module": "src/grid-layout-item/grid-layout-item.ts"
17361
+ "name": "HorizontalScroll",
17362
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
17278
17363
  }
17279
17364
  },
17280
17365
  {
17281
- "kind": "field",
17282
- "name": "heightMd",
17283
- "type": {
17284
- "text": "number"
17366
+ "kind": "method",
17367
+ "name": "scrollToPrevious",
17368
+ "privacy": "public",
17369
+ "return": {
17370
+ "type": {
17371
+ "text": "void"
17372
+ }
17285
17373
  },
17374
+ "description": "Scrolls items to the left",
17286
17375
  "inheritedFrom": {
17287
- "name": "GridLayoutItem",
17288
- "module": "src/grid-layout-item/grid-layout-item.ts"
17376
+ "name": "HorizontalScroll",
17377
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
17289
17378
  }
17290
17379
  },
17291
17380
  {
17292
- "kind": "field",
17293
- "name": "heightLg",
17294
- "type": {
17295
- "text": "number"
17381
+ "kind": "method",
17382
+ "name": "scrollToNext",
17383
+ "privacy": "public",
17384
+ "return": {
17385
+ "type": {
17386
+ "text": "void"
17387
+ }
17296
17388
  },
17389
+ "description": "Scrolls items to the right",
17297
17390
  "inheritedFrom": {
17298
- "name": "GridLayoutItem",
17299
- "module": "src/grid-layout-item/grid-layout-item.ts"
17391
+ "name": "HorizontalScroll",
17392
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
17300
17393
  }
17301
17394
  },
17302
17395
  {
17303
17396
  "kind": "method",
17304
- "name": "setGridItemProperties",
17397
+ "name": "scrollToPosition",
17398
+ "privacy": "public",
17399
+ "return": {
17400
+ "type": {
17401
+ "text": "void"
17402
+ }
17403
+ },
17305
17404
  "parameters": [
17306
17405
  {
17307
- "name": "column"
17308
- },
17309
- {
17310
- "name": "row"
17311
- },
17312
- {
17313
- "name": "width"
17406
+ "name": "newPosition",
17407
+ "type": {
17408
+ "text": "number"
17409
+ },
17410
+ "description": "position to scroll to"
17314
17411
  },
17315
17412
  {
17316
- "name": "height"
17413
+ "name": "position",
17414
+ "default": "this.scrollContainer.scrollLeft",
17415
+ "type": {
17416
+ "text": "number"
17417
+ },
17418
+ "description": "starting position"
17317
17419
  }
17318
17420
  ],
17421
+ "description": "Handles scrolling with easing",
17319
17422
  "inheritedFrom": {
17320
- "name": "GridLayoutItem",
17321
- "module": "src/grid-layout-item/grid-layout-item.ts"
17423
+ "name": "HorizontalScroll",
17424
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
17425
+ }
17426
+ },
17427
+ {
17428
+ "kind": "method",
17429
+ "name": "resized",
17430
+ "privacy": "public",
17431
+ "return": {
17432
+ "type": {
17433
+ "text": "void"
17434
+ }
17435
+ },
17436
+ "description": "Monitors resize event on the horizontal-scroll element",
17437
+ "inheritedFrom": {
17438
+ "name": "HorizontalScroll",
17439
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
17440
+ }
17441
+ },
17442
+ {
17443
+ "kind": "method",
17444
+ "name": "scrolled",
17445
+ "privacy": "public",
17446
+ "return": {
17447
+ "type": {
17448
+ "text": "void"
17449
+ }
17450
+ },
17451
+ "description": "Monitors scrolled event on the content container",
17452
+ "inheritedFrom": {
17453
+ "name": "HorizontalScroll",
17454
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
17322
17455
  }
17323
17456
  },
17324
17457
  {
@@ -17330,8 +17463,8 @@
17330
17463
  "privacy": "private",
17331
17464
  "default": "void 0",
17332
17465
  "inheritedFrom": {
17333
- "name": "FoundationElement",
17334
- "module": "src/foundation-element/foundation-element.ts"
17466
+ "name": "HorizontalScroll",
17467
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
17335
17468
  }
17336
17469
  },
17337
17470
  {
@@ -17343,8 +17476,8 @@
17343
17476
  "privacy": "public",
17344
17477
  "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
17345
17478
  "inheritedFrom": {
17346
- "name": "FoundationElement",
17347
- "module": "src/foundation-element/foundation-element.ts"
17479
+ "name": "HorizontalScroll",
17480
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
17348
17481
  }
17349
17482
  },
17350
17483
  {
@@ -17356,8 +17489,8 @@
17356
17489
  "privacy": "public",
17357
17490
  "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.",
17358
17491
  "inheritedFrom": {
17359
- "name": "FoundationElement",
17360
- "module": "src/foundation-element/foundation-element.ts"
17492
+ "name": "HorizontalScroll",
17493
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
17361
17494
  }
17362
17495
  },
17363
17496
  {
@@ -17369,9 +17502,9 @@
17369
17502
  "text": "void"
17370
17503
  }
17371
17504
  },
17372
- "inheritedFrom": {
17373
- "name": "FoundationElement",
17374
- "module": "src/foundation-element/foundation-element.ts"
17505
+ "inheritedFrom": {
17506
+ "name": "HorizontalScroll",
17507
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
17375
17508
  }
17376
17509
  },
17377
17510
  {
@@ -17383,8 +17516,8 @@
17383
17516
  "privacy": "public",
17384
17517
  "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.",
17385
17518
  "inheritedFrom": {
17386
- "name": "FoundationElement",
17387
- "module": "src/foundation-element/foundation-element.ts"
17519
+ "name": "HorizontalScroll",
17520
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
17388
17521
  }
17389
17522
  },
17390
17523
  {
@@ -17397,8 +17530,8 @@
17397
17530
  }
17398
17531
  },
17399
17532
  "inheritedFrom": {
17400
- "name": "FoundationElement",
17401
- "module": "src/foundation-element/foundation-element.ts"
17533
+ "name": "HorizontalScroll",
17534
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
17402
17535
  }
17403
17536
  },
17404
17537
  {
@@ -17428,41 +17561,73 @@
17428
17561
  ],
17429
17562
  "description": "Defines an element registry function with a set of element definition defaults.",
17430
17563
  "inheritedFrom": {
17431
- "name": "FoundationElement",
17432
- "module": "src/foundation-element/foundation-element.ts"
17564
+ "name": "HorizontalScroll",
17565
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
17566
+ }
17567
+ }
17568
+ ],
17569
+ "events": [
17570
+ {
17571
+ "description": "Fires a custom 'scrollstart' event when scrolling",
17572
+ "name": "scrollstart",
17573
+ "inheritedFrom": {
17574
+ "name": "HorizontalScroll",
17575
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
17576
+ }
17577
+ },
17578
+ {
17579
+ "description": "Fires a custom 'scrollend' event when scrolling stops",
17580
+ "name": "scrollend",
17581
+ "inheritedFrom": {
17582
+ "name": "HorizontalScroll",
17583
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
17433
17584
  }
17434
17585
  }
17435
17586
  ]
17436
17587
  },
17437
17588
  {
17438
17589
  "kind": "variable",
17439
- "name": "zeroGridLayoutItem",
17440
- "description": "The Zero Grid Layout Item",
17441
- "privacy": "public"
17590
+ "name": "defaultHorizontalScrollZeroConfig",
17591
+ "type": {
17592
+ "text": "object"
17593
+ },
17594
+ "default": "{\n nextFlipper: html`\n <zero-flipper\n @click=\"${(x) => x.scrollToNext()}\"\n aria-hidden=\"${(x) => x.flippersHiddenFromAT}\"\n ></zero-flipper>\n `,\n previousFlipper: html`\n <zero-flipper\n @click=\"${(x) => x.scrollToPrevious()}\"\n direction=\"previous\"\n aria-hidden=\"${(x) => x.flippersHiddenFromAT}\"\n ></zero-flipper>\n `,\n}"
17595
+ },
17596
+ {
17597
+ "kind": "variable",
17598
+ "name": "zeroHorizontalScroll"
17442
17599
  }
17443
17600
  ],
17444
17601
  "exports": [
17445
17602
  {
17446
17603
  "kind": "js",
17447
- "name": "GridLayoutItem",
17604
+ "name": "HorizontalScroll",
17448
17605
  "declaration": {
17449
- "name": "GridLayoutItem",
17450
- "module": "src/grid-layout-item/grid-layout-item.ts"
17606
+ "name": "HorizontalScroll",
17607
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
17451
17608
  }
17452
17609
  },
17453
17610
  {
17454
17611
  "kind": "js",
17455
- "name": "zeroGridLayoutItem",
17612
+ "name": "defaultHorizontalScrollZeroConfig",
17456
17613
  "declaration": {
17457
- "name": "zeroGridLayoutItem",
17458
- "module": "src/grid-layout-item/grid-layout-item.ts"
17614
+ "name": "defaultHorizontalScrollZeroConfig",
17615
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
17616
+ }
17617
+ },
17618
+ {
17619
+ "kind": "js",
17620
+ "name": "zeroHorizontalScroll",
17621
+ "declaration": {
17622
+ "name": "zeroHorizontalScroll",
17623
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
17459
17624
  }
17460
17625
  }
17461
17626
  ]
17462
17627
  },
17463
17628
  {
17464
17629
  "kind": "javascript-module",
17465
- "path": "src/grid-layout-item/index.ts",
17630
+ "path": "src/horizontal-scroll/index.ts",
17466
17631
  "declarations": [],
17467
17632
  "exports": [
17468
17633
  {
@@ -17470,541 +17635,416 @@
17470
17635
  "name": "*",
17471
17636
  "declaration": {
17472
17637
  "name": "*",
17473
- "package": "./grid-layout-item"
17474
- }
17475
- },
17476
- {
17477
- "kind": "js",
17478
- "name": "zeroGridLayoutItemTemplate",
17479
- "declaration": {
17480
- "name": "foundationGridLayoutItemTemplate",
17481
- "package": "@genesislcap/foundation-ui"
17638
+ "package": "./horizontal-scroll"
17482
17639
  }
17483
- }
17484
- ]
17485
- },
17486
- {
17487
- "kind": "javascript-module",
17488
- "path": "src/horizontal-scroll/horizontal-scroll.stories.ts",
17489
- "declarations": [
17490
- {
17491
- "kind": "variable",
17492
- "name": "meta",
17493
- "type": {
17494
- "text": "Meta"
17495
- },
17496
- "default": "{\n title: 'Horizontal Scroll',\n component: 'zero-horizontal-scroll',\n}"
17497
17640
  },
17498
- {
17499
- "kind": "variable",
17500
- "name": "Primary",
17501
- "type": {
17502
- "text": "StoryObj"
17503
- },
17504
- "default": "{\n render: () => html`\n <zero-horizontal-scroll style=${horizontalScrollStyle}>\n ${repeat(\n cards,\n (item) => item,\n (item) => html`\n <zero-card style=${cardStyle}>\n Card number ${item}\n <zero-button>A button</zero-button>\n </zero-card>\n `,\n )}\n </zero-horizontal-scroll>\n `,\n}"
17505
- }
17506
- ],
17507
- "exports": [
17508
17641
  {
17509
17642
  "kind": "js",
17510
- "name": "default",
17643
+ "name": "*",
17511
17644
  "declaration": {
17512
- "name": "meta",
17513
- "module": "src/horizontal-scroll/horizontal-scroll.stories.ts"
17645
+ "name": "*",
17646
+ "package": "./horizontal-scroll.styles"
17514
17647
  }
17515
17648
  },
17516
17649
  {
17517
17650
  "kind": "js",
17518
- "name": "Primary",
17651
+ "name": "*",
17519
17652
  "declaration": {
17520
- "name": "Primary",
17521
- "module": "src/horizontal-scroll/horizontal-scroll.stories.ts"
17653
+ "name": "*",
17654
+ "package": "./horizontal-scroll.template"
17522
17655
  }
17523
17656
  }
17524
17657
  ]
17525
17658
  },
17526
17659
  {
17527
17660
  "kind": "javascript-module",
17528
- "path": "src/horizontal-scroll/horizontal-scroll.styles.ts",
17661
+ "path": "src/grid-layout-item/grid-layout-item.ts",
17529
17662
  "declarations": [
17530
17663
  {
17531
- "kind": "function",
17532
- "name": "zeroHorizontalScrollStyles",
17533
- "return": {
17534
- "type": {
17535
- "text": "ElementStyles"
17536
- }
17664
+ "kind": "class",
17665
+ "description": "",
17666
+ "name": "GridLayoutItem",
17667
+ "superclass": {
17668
+ "name": "FoundationGridLayoutItem",
17669
+ "package": "@genesislcap/foundation-ui"
17537
17670
  },
17538
- "parameters": [
17671
+ "tagName": "%%prefix%%-grid-layout-item",
17672
+ "customElement": true,
17673
+ "attributes": [
17539
17674
  {
17540
- "name": "context",
17675
+ "name": "col-number",
17541
17676
  "type": {
17542
- "text": "ElementDefinitionContext"
17677
+ "text": "number"
17678
+ },
17679
+ "fieldName": "colNumber",
17680
+ "inheritedFrom": {
17681
+ "name": "GridLayoutItem",
17682
+ "module": "src/grid-layout-item/grid-layout-item.ts"
17543
17683
  }
17544
17684
  },
17545
17685
  {
17546
- "name": "definition",
17686
+ "name": "col-sm-number",
17547
17687
  "type": {
17548
- "text": "FoundationElementDefinition"
17688
+ "text": "number"
17689
+ },
17690
+ "fieldName": "colSmNumber",
17691
+ "inheritedFrom": {
17692
+ "name": "GridLayoutItem",
17693
+ "module": "src/grid-layout-item/grid-layout-item.ts"
17549
17694
  }
17550
- }
17551
- ]
17552
- }
17553
- ],
17554
- "exports": [
17555
- {
17556
- "kind": "js",
17557
- "name": "zeroHorizontalScrollStyles",
17558
- "declaration": {
17559
- "name": "zeroHorizontalScrollStyles",
17560
- "module": "src/horizontal-scroll/horizontal-scroll.styles.ts"
17561
- }
17562
- }
17563
- ]
17564
- },
17565
- {
17566
- "kind": "javascript-module",
17567
- "path": "src/horizontal-scroll/horizontal-scroll.template.ts",
17568
- "declarations": [
17569
- {
17570
- "kind": "function",
17571
- "name": "zeroHorizontalScrollTemplate",
17572
- "return": {
17573
- "type": {
17574
- "text": "ViewTemplate<HorizontalScroll>"
17575
- }
17576
- },
17577
- "parameters": [
17695
+ },
17578
17696
  {
17579
- "name": "context",
17697
+ "name": "col-md-number",
17698
+ "type": {
17699
+ "text": "number"
17700
+ },
17701
+ "fieldName": "colMdNumber",
17702
+ "inheritedFrom": {
17703
+ "name": "GridLayoutItem",
17704
+ "module": "src/grid-layout-item/grid-layout-item.ts"
17705
+ }
17706
+ },
17707
+ {
17708
+ "name": "col-lg-number",
17709
+ "type": {
17710
+ "text": "number"
17711
+ },
17712
+ "fieldName": "colLgNumber",
17713
+ "inheritedFrom": {
17714
+ "name": "GridLayoutItem",
17715
+ "module": "src/grid-layout-item/grid-layout-item.ts"
17716
+ }
17717
+ },
17718
+ {
17719
+ "name": "row-number",
17720
+ "type": {
17721
+ "text": "number"
17722
+ },
17723
+ "fieldName": "rowNumber",
17724
+ "inheritedFrom": {
17725
+ "name": "GridLayoutItem",
17726
+ "module": "src/grid-layout-item/grid-layout-item.ts"
17727
+ }
17728
+ },
17729
+ {
17730
+ "name": "row-sm-number",
17731
+ "type": {
17732
+ "text": "number"
17733
+ },
17734
+ "fieldName": "rowSmNumber",
17735
+ "inheritedFrom": {
17736
+ "name": "GridLayoutItem",
17737
+ "module": "src/grid-layout-item/grid-layout-item.ts"
17738
+ }
17739
+ },
17740
+ {
17741
+ "name": "row-md-number",
17742
+ "type": {
17743
+ "text": "number"
17744
+ },
17745
+ "fieldName": "rowMdNumber",
17746
+ "inheritedFrom": {
17747
+ "name": "GridLayoutItem",
17748
+ "module": "src/grid-layout-item/grid-layout-item.ts"
17749
+ }
17750
+ },
17751
+ {
17752
+ "name": "row-lg-number",
17753
+ "type": {
17754
+ "text": "number"
17755
+ },
17756
+ "fieldName": "rowLgNumber",
17757
+ "inheritedFrom": {
17758
+ "name": "GridLayoutItem",
17759
+ "module": "src/grid-layout-item/grid-layout-item.ts"
17760
+ }
17761
+ },
17762
+ {
17763
+ "name": "width",
17764
+ "type": {
17765
+ "text": "number"
17766
+ },
17767
+ "fieldName": "width",
17768
+ "inheritedFrom": {
17769
+ "name": "GridLayoutItem",
17770
+ "module": "src/grid-layout-item/grid-layout-item.ts"
17771
+ }
17772
+ },
17773
+ {
17774
+ "name": "width-sm",
17580
17775
  "type": {
17581
- "text": "ElementDefinitionContext"
17776
+ "text": "number"
17777
+ },
17778
+ "fieldName": "widthSm",
17779
+ "inheritedFrom": {
17780
+ "name": "GridLayoutItem",
17781
+ "module": "src/grid-layout-item/grid-layout-item.ts"
17582
17782
  }
17583
17783
  },
17584
17784
  {
17585
- "name": "definition",
17785
+ "name": "width-md",
17586
17786
  "type": {
17587
- "text": "FoundationElementDefinition"
17787
+ "text": "number"
17788
+ },
17789
+ "fieldName": "widthMd",
17790
+ "inheritedFrom": {
17791
+ "name": "GridLayoutItem",
17792
+ "module": "src/grid-layout-item/grid-layout-item.ts"
17588
17793
  }
17589
- }
17590
- ]
17591
- }
17592
- ],
17593
- "exports": [
17594
- {
17595
- "kind": "js",
17596
- "name": "zeroHorizontalScrollTemplate",
17597
- "declaration": {
17598
- "name": "zeroHorizontalScrollTemplate",
17599
- "module": "src/horizontal-scroll/horizontal-scroll.template.ts"
17600
- }
17601
- }
17602
- ]
17603
- },
17604
- {
17605
- "kind": "javascript-module",
17606
- "path": "src/horizontal-scroll/horizontal-scroll.ts",
17607
- "declarations": [
17608
- {
17609
- "kind": "class",
17610
- "description": "",
17611
- "name": "HorizontalScroll",
17612
- "superclass": {
17613
- "name": "FoundationHorizontalScroll",
17614
- "package": "@genesislcap/foundation-ui"
17615
- },
17616
- "tagName": "%%prefix%%-horizontal-scroll",
17617
- "customElement": true,
17618
- "attributes": [
17794
+ },
17619
17795
  {
17796
+ "name": "width-lg",
17620
17797
  "type": {
17621
17798
  "text": "number"
17622
17799
  },
17623
- "default": "600",
17624
- "description": "Speed of scroll in pixels per second",
17625
- "fieldName": "speed",
17800
+ "fieldName": "widthLg",
17626
17801
  "inheritedFrom": {
17627
- "name": "HorizontalScroll",
17628
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
17802
+ "name": "GridLayoutItem",
17803
+ "module": "src/grid-layout-item/grid-layout-item.ts"
17629
17804
  }
17630
17805
  },
17631
17806
  {
17632
- "name": "duration",
17807
+ "name": "height",
17633
17808
  "type": {
17634
- "text": "string"
17809
+ "text": "number"
17635
17810
  },
17636
- "description": "The CSS time value for the scroll transition duration. Overrides the `speed` attribute.",
17637
- "fieldName": "duration",
17811
+ "fieldName": "height",
17638
17812
  "inheritedFrom": {
17639
- "name": "HorizontalScroll",
17640
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
17813
+ "name": "GridLayoutItem",
17814
+ "module": "src/grid-layout-item/grid-layout-item.ts"
17641
17815
  }
17642
17816
  },
17643
17817
  {
17644
- "name": "easing",
17818
+ "name": "height-sm",
17645
17819
  "type": {
17646
- "text": "ScrollEasing"
17820
+ "text": "number"
17647
17821
  },
17648
- "default": "\"ease-in-out\"",
17649
- "description": "Attribute used for easing, defaults to ease-in-out",
17650
- "fieldName": "easing",
17822
+ "fieldName": "heightSm",
17651
17823
  "inheritedFrom": {
17652
- "name": "HorizontalScroll",
17653
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
17824
+ "name": "GridLayoutItem",
17825
+ "module": "src/grid-layout-item/grid-layout-item.ts"
17654
17826
  }
17655
17827
  },
17656
17828
  {
17657
- "name": "flippers-hidden-from-at",
17829
+ "name": "height-md",
17658
17830
  "type": {
17659
- "text": "boolean"
17831
+ "text": "number"
17660
17832
  },
17661
- "default": "false",
17662
- "description": "Attribute to hide flippers from assistive technology",
17663
- "fieldName": "flippersHiddenFromAT",
17833
+ "fieldName": "heightMd",
17664
17834
  "inheritedFrom": {
17665
- "name": "HorizontalScroll",
17666
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
17835
+ "name": "GridLayoutItem",
17836
+ "module": "src/grid-layout-item/grid-layout-item.ts"
17667
17837
  }
17668
17838
  },
17669
17839
  {
17670
- "name": "view",
17840
+ "name": "height-lg",
17671
17841
  "type": {
17672
- "text": "HorizontalScrollView"
17842
+ "text": "number"
17673
17843
  },
17674
- "description": "View: default | mobile",
17675
- "fieldName": "view",
17844
+ "fieldName": "heightLg",
17676
17845
  "inheritedFrom": {
17677
- "name": "HorizontalScroll",
17678
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
17846
+ "name": "GridLayoutItem",
17847
+ "module": "src/grid-layout-item/grid-layout-item.ts"
17679
17848
  }
17680
17849
  }
17681
17850
  ],
17682
17851
  "members": [
17683
17852
  {
17684
17853
  "kind": "field",
17685
- "name": "scrollContainer",
17854
+ "name": "colNumber",
17686
17855
  "type": {
17687
- "text": "HTMLDivElement"
17856
+ "text": "number"
17688
17857
  },
17689
- "privacy": "public",
17690
- "description": "Reference to DOM element that scrolls the content",
17691
17858
  "inheritedFrom": {
17692
- "name": "HorizontalScroll",
17693
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
17859
+ "name": "GridLayoutItem",
17860
+ "module": "src/grid-layout-item/grid-layout-item.ts"
17694
17861
  }
17695
17862
  },
17696
17863
  {
17697
17864
  "kind": "field",
17698
- "name": "content",
17865
+ "name": "colSmNumber",
17699
17866
  "type": {
17700
- "text": "HTMLDivElement"
17867
+ "text": "number"
17701
17868
  },
17702
- "privacy": "public",
17703
- "description": "Reference to DOM element that holds the slotted content",
17704
17869
  "inheritedFrom": {
17705
- "name": "HorizontalScroll",
17706
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
17870
+ "name": "GridLayoutItem",
17871
+ "module": "src/grid-layout-item/grid-layout-item.ts"
17707
17872
  }
17708
17873
  },
17709
17874
  {
17710
17875
  "kind": "field",
17711
- "name": "previousFlipperContainer",
17876
+ "name": "colMdNumber",
17712
17877
  "type": {
17713
- "text": "HTMLDivElement"
17878
+ "text": "number"
17714
17879
  },
17715
- "privacy": "public",
17716
- "description": "Reference to flipper to scroll to previous content",
17717
17880
  "inheritedFrom": {
17718
- "name": "HorizontalScroll",
17719
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
17881
+ "name": "GridLayoutItem",
17882
+ "module": "src/grid-layout-item/grid-layout-item.ts"
17720
17883
  }
17721
17884
  },
17722
17885
  {
17723
17886
  "kind": "field",
17724
- "name": "nextFlipperContainer",
17887
+ "name": "colLgNumber",
17725
17888
  "type": {
17726
- "text": "HTMLDivElement"
17889
+ "text": "number"
17727
17890
  },
17728
- "privacy": "public",
17729
- "description": "Reference to flipper to scroll to the next content",
17730
17891
  "inheritedFrom": {
17731
- "name": "HorizontalScroll",
17732
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
17892
+ "name": "GridLayoutItem",
17893
+ "module": "src/grid-layout-item/grid-layout-item.ts"
17733
17894
  }
17734
17895
  },
17735
17896
  {
17736
17897
  "kind": "field",
17737
- "name": "speed",
17898
+ "name": "rowNumber",
17738
17899
  "type": {
17739
17900
  "text": "number"
17740
17901
  },
17741
- "privacy": "public",
17742
- "default": "600",
17743
- "description": "Speed of scroll in pixels per second",
17744
17902
  "inheritedFrom": {
17745
- "name": "HorizontalScroll",
17746
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
17903
+ "name": "GridLayoutItem",
17904
+ "module": "src/grid-layout-item/grid-layout-item.ts"
17747
17905
  }
17748
17906
  },
17749
17907
  {
17750
17908
  "kind": "field",
17751
- "name": "duration",
17909
+ "name": "rowSmNumber",
17752
17910
  "type": {
17753
- "text": "string"
17911
+ "text": "number"
17754
17912
  },
17755
- "privacy": "public",
17756
- "description": "The CSS time value for the scroll transition duration. Overrides the `speed` attribute.",
17757
17913
  "inheritedFrom": {
17758
- "name": "HorizontalScroll",
17759
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
17914
+ "name": "GridLayoutItem",
17915
+ "module": "src/grid-layout-item/grid-layout-item.ts"
17760
17916
  }
17761
17917
  },
17762
17918
  {
17763
17919
  "kind": "field",
17764
- "name": "easing",
17920
+ "name": "rowMdNumber",
17765
17921
  "type": {
17766
- "text": "ScrollEasing"
17922
+ "text": "number"
17767
17923
  },
17768
- "privacy": "public",
17769
- "default": "\"ease-in-out\"",
17770
- "description": "Attribute used for easing, defaults to ease-in-out",
17771
17924
  "inheritedFrom": {
17772
- "name": "HorizontalScroll",
17773
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
17925
+ "name": "GridLayoutItem",
17926
+ "module": "src/grid-layout-item/grid-layout-item.ts"
17774
17927
  }
17775
17928
  },
17776
17929
  {
17777
17930
  "kind": "field",
17778
- "name": "flippersHiddenFromAT",
17931
+ "name": "rowLgNumber",
17779
17932
  "type": {
17780
- "text": "boolean"
17933
+ "text": "number"
17781
17934
  },
17782
- "privacy": "public",
17783
- "default": "false",
17784
- "description": "Attribute to hide flippers from assistive technology",
17785
17935
  "inheritedFrom": {
17786
- "name": "HorizontalScroll",
17787
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
17936
+ "name": "GridLayoutItem",
17937
+ "module": "src/grid-layout-item/grid-layout-item.ts"
17788
17938
  }
17789
17939
  },
17790
17940
  {
17791
17941
  "kind": "field",
17792
- "name": "scrollItems",
17942
+ "name": "width",
17793
17943
  "type": {
17794
- "text": "HTMLElement[]"
17944
+ "text": "number"
17795
17945
  },
17796
- "privacy": "public",
17797
- "description": "The default slotted items placed in the scrolling container.",
17798
17946
  "inheritedFrom": {
17799
- "name": "HorizontalScroll",
17800
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
17947
+ "name": "GridLayoutItem",
17948
+ "module": "src/grid-layout-item/grid-layout-item.ts"
17801
17949
  }
17802
17950
  },
17803
17951
  {
17804
17952
  "kind": "field",
17805
- "name": "view",
17953
+ "name": "widthSm",
17806
17954
  "type": {
17807
- "text": "HorizontalScrollView"
17955
+ "text": "number"
17808
17956
  },
17809
- "privacy": "public",
17810
- "description": "View: default | mobile",
17811
- "inheritedFrom": {
17812
- "name": "HorizontalScroll",
17813
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
17814
- }
17815
- },
17816
- {
17817
- "kind": "method",
17818
- "name": "scrollItemsChanged",
17819
- "privacy": "public",
17820
- "parameters": [
17821
- {
17822
- "name": "previous",
17823
- "type": {
17824
- "text": "HTMLElement[]"
17825
- },
17826
- "description": "current scroll items"
17827
- },
17828
- {
17829
- "name": "next",
17830
- "type": {
17831
- "text": "HTMLElement[]"
17832
- },
17833
- "description": "new updated scroll items"
17834
- }
17835
- ],
17836
- "description": "Updates scroll stops and flippers when scroll items change",
17837
- "inheritedFrom": {
17838
- "name": "HorizontalScroll",
17839
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
17840
- }
17841
- },
17842
- {
17843
- "kind": "method",
17844
- "name": "fixScrollMisalign",
17845
- "privacy": "private",
17846
- "parameters": [
17847
- {
17848
- "name": "stops",
17849
- "type": {
17850
- "text": "number[]"
17851
- }
17852
- }
17853
- ],
17854
17957
  "inheritedFrom": {
17855
- "name": "HorizontalScroll",
17856
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
17958
+ "name": "GridLayoutItem",
17959
+ "module": "src/grid-layout-item/grid-layout-item.ts"
17857
17960
  }
17858
17961
  },
17859
17962
  {
17860
- "kind": "method",
17861
- "name": "scrollInView",
17862
- "privacy": "public",
17863
- "return": {
17864
- "type": {
17865
- "text": "void"
17866
- }
17963
+ "kind": "field",
17964
+ "name": "widthMd",
17965
+ "type": {
17966
+ "text": "number"
17867
17967
  },
17868
- "parameters": [
17869
- {
17870
- "name": "item",
17871
- "type": {
17872
- "text": "HTMLElement | number"
17873
- },
17874
- "description": "An item index, a scroll item or a child of one of the scroll items"
17875
- },
17876
- {
17877
- "name": "padding",
17878
- "default": "0",
17879
- "type": {
17880
- "text": "number"
17881
- },
17882
- "description": "Padding of the viewport where the active item shouldn't be"
17883
- },
17884
- {
17885
- "name": "rightPadding",
17886
- "optional": true,
17887
- "type": {
17888
- "text": "number"
17889
- },
17890
- "description": "Optional right padding. Uses the padding if not defined"
17891
- }
17892
- ],
17893
- "description": "Function that can scroll an item into view.",
17894
17968
  "inheritedFrom": {
17895
- "name": "HorizontalScroll",
17896
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
17969
+ "name": "GridLayoutItem",
17970
+ "module": "src/grid-layout-item/grid-layout-item.ts"
17897
17971
  }
17898
17972
  },
17899
17973
  {
17900
- "kind": "method",
17901
- "name": "keyupHandler",
17902
- "privacy": "public",
17903
- "parameters": [
17904
- {
17905
- "name": "e",
17906
- "type": {
17907
- "text": "Event & KeyboardEvent"
17908
- },
17909
- "description": "Keyboard event"
17910
- }
17911
- ],
17912
- "description": "Lets the user arrow left and right through the horizontal scroll",
17974
+ "kind": "field",
17975
+ "name": "widthLg",
17976
+ "type": {
17977
+ "text": "number"
17978
+ },
17913
17979
  "inheritedFrom": {
17914
- "name": "HorizontalScroll",
17915
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
17980
+ "name": "GridLayoutItem",
17981
+ "module": "src/grid-layout-item/grid-layout-item.ts"
17916
17982
  }
17917
17983
  },
17918
17984
  {
17919
- "kind": "method",
17920
- "name": "scrollToPrevious",
17921
- "privacy": "public",
17922
- "return": {
17923
- "type": {
17924
- "text": "void"
17925
- }
17985
+ "kind": "field",
17986
+ "name": "height",
17987
+ "type": {
17988
+ "text": "number"
17926
17989
  },
17927
- "description": "Scrolls items to the left",
17928
17990
  "inheritedFrom": {
17929
- "name": "HorizontalScroll",
17930
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
17991
+ "name": "GridLayoutItem",
17992
+ "module": "src/grid-layout-item/grid-layout-item.ts"
17931
17993
  }
17932
17994
  },
17933
17995
  {
17934
- "kind": "method",
17935
- "name": "scrollToNext",
17936
- "privacy": "public",
17937
- "return": {
17938
- "type": {
17939
- "text": "void"
17940
- }
17996
+ "kind": "field",
17997
+ "name": "heightSm",
17998
+ "type": {
17999
+ "text": "number"
17941
18000
  },
17942
- "description": "Scrolls items to the right",
17943
18001
  "inheritedFrom": {
17944
- "name": "HorizontalScroll",
17945
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
18002
+ "name": "GridLayoutItem",
18003
+ "module": "src/grid-layout-item/grid-layout-item.ts"
17946
18004
  }
17947
18005
  },
17948
18006
  {
17949
- "kind": "method",
17950
- "name": "scrollToPosition",
17951
- "privacy": "public",
17952
- "return": {
17953
- "type": {
17954
- "text": "void"
17955
- }
18007
+ "kind": "field",
18008
+ "name": "heightMd",
18009
+ "type": {
18010
+ "text": "number"
17956
18011
  },
17957
- "parameters": [
17958
- {
17959
- "name": "newPosition",
17960
- "type": {
17961
- "text": "number"
17962
- },
17963
- "description": "position to scroll to"
17964
- },
17965
- {
17966
- "name": "position",
17967
- "default": "this.scrollContainer.scrollLeft",
17968
- "type": {
17969
- "text": "number"
17970
- },
17971
- "description": "starting position"
17972
- }
17973
- ],
17974
- "description": "Handles scrolling with easing",
17975
18012
  "inheritedFrom": {
17976
- "name": "HorizontalScroll",
17977
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
18013
+ "name": "GridLayoutItem",
18014
+ "module": "src/grid-layout-item/grid-layout-item.ts"
17978
18015
  }
17979
18016
  },
17980
18017
  {
17981
- "kind": "method",
17982
- "name": "resized",
17983
- "privacy": "public",
17984
- "return": {
17985
- "type": {
17986
- "text": "void"
17987
- }
18018
+ "kind": "field",
18019
+ "name": "heightLg",
18020
+ "type": {
18021
+ "text": "number"
17988
18022
  },
17989
- "description": "Monitors resize event on the horizontal-scroll element",
17990
18023
  "inheritedFrom": {
17991
- "name": "HorizontalScroll",
17992
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
18024
+ "name": "GridLayoutItem",
18025
+ "module": "src/grid-layout-item/grid-layout-item.ts"
17993
18026
  }
17994
18027
  },
17995
18028
  {
17996
18029
  "kind": "method",
17997
- "name": "scrolled",
17998
- "privacy": "public",
17999
- "return": {
18000
- "type": {
18001
- "text": "void"
18030
+ "name": "setGridItemProperties",
18031
+ "parameters": [
18032
+ {
18033
+ "name": "column"
18034
+ },
18035
+ {
18036
+ "name": "row"
18037
+ },
18038
+ {
18039
+ "name": "width"
18040
+ },
18041
+ {
18042
+ "name": "height"
18002
18043
  }
18003
- },
18004
- "description": "Monitors scrolled event on the content container",
18044
+ ],
18005
18045
  "inheritedFrom": {
18006
- "name": "HorizontalScroll",
18007
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
18046
+ "name": "GridLayoutItem",
18047
+ "module": "src/grid-layout-item/grid-layout-item.ts"
18008
18048
  }
18009
18049
  },
18010
18050
  {
@@ -18016,8 +18056,8 @@
18016
18056
  "privacy": "private",
18017
18057
  "default": "void 0",
18018
18058
  "inheritedFrom": {
18019
- "name": "HorizontalScroll",
18020
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
18059
+ "name": "FoundationElement",
18060
+ "module": "src/foundation-element/foundation-element.ts"
18021
18061
  }
18022
18062
  },
18023
18063
  {
@@ -18029,8 +18069,8 @@
18029
18069
  "privacy": "public",
18030
18070
  "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
18031
18071
  "inheritedFrom": {
18032
- "name": "HorizontalScroll",
18033
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
18072
+ "name": "FoundationElement",
18073
+ "module": "src/foundation-element/foundation-element.ts"
18034
18074
  }
18035
18075
  },
18036
18076
  {
@@ -18042,8 +18082,8 @@
18042
18082
  "privacy": "public",
18043
18083
  "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.",
18044
18084
  "inheritedFrom": {
18045
- "name": "HorizontalScroll",
18046
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
18085
+ "name": "FoundationElement",
18086
+ "module": "src/foundation-element/foundation-element.ts"
18047
18087
  }
18048
18088
  },
18049
18089
  {
@@ -18056,8 +18096,8 @@
18056
18096
  }
18057
18097
  },
18058
18098
  "inheritedFrom": {
18059
- "name": "HorizontalScroll",
18060
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
18099
+ "name": "FoundationElement",
18100
+ "module": "src/foundation-element/foundation-element.ts"
18061
18101
  }
18062
18102
  },
18063
18103
  {
@@ -18069,8 +18109,8 @@
18069
18109
  "privacy": "public",
18070
18110
  "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.",
18071
18111
  "inheritedFrom": {
18072
- "name": "HorizontalScroll",
18073
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
18112
+ "name": "FoundationElement",
18113
+ "module": "src/foundation-element/foundation-element.ts"
18074
18114
  }
18075
18115
  },
18076
18116
  {
@@ -18083,8 +18123,8 @@
18083
18123
  }
18084
18124
  },
18085
18125
  "inheritedFrom": {
18086
- "name": "HorizontalScroll",
18087
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
18126
+ "name": "FoundationElement",
18127
+ "module": "src/foundation-element/foundation-element.ts"
18088
18128
  }
18089
18129
  },
18090
18130
  {
@@ -18114,73 +18154,41 @@
18114
18154
  ],
18115
18155
  "description": "Defines an element registry function with a set of element definition defaults.",
18116
18156
  "inheritedFrom": {
18117
- "name": "HorizontalScroll",
18118
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
18119
- }
18120
- }
18121
- ],
18122
- "events": [
18123
- {
18124
- "description": "Fires a custom 'scrollstart' event when scrolling",
18125
- "name": "scrollstart",
18126
- "inheritedFrom": {
18127
- "name": "HorizontalScroll",
18128
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
18129
- }
18130
- },
18131
- {
18132
- "description": "Fires a custom 'scrollend' event when scrolling stops",
18133
- "name": "scrollend",
18134
- "inheritedFrom": {
18135
- "name": "HorizontalScroll",
18136
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
18157
+ "name": "FoundationElement",
18158
+ "module": "src/foundation-element/foundation-element.ts"
18137
18159
  }
18138
18160
  }
18139
18161
  ]
18140
18162
  },
18141
18163
  {
18142
18164
  "kind": "variable",
18143
- "name": "defaultHorizontalScrollZeroConfig",
18144
- "type": {
18145
- "text": "object"
18146
- },
18147
- "default": "{\n nextFlipper: html`\n <zero-flipper\n @click=\"${(x) => x.scrollToNext()}\"\n aria-hidden=\"${(x) => x.flippersHiddenFromAT}\"\n ></zero-flipper>\n `,\n previousFlipper: html`\n <zero-flipper\n @click=\"${(x) => x.scrollToPrevious()}\"\n direction=\"previous\"\n aria-hidden=\"${(x) => x.flippersHiddenFromAT}\"\n ></zero-flipper>\n `,\n}"
18148
- },
18149
- {
18150
- "kind": "variable",
18151
- "name": "zeroHorizontalScroll"
18165
+ "name": "zeroGridLayoutItem",
18166
+ "description": "The Zero Grid Layout Item",
18167
+ "privacy": "public"
18152
18168
  }
18153
18169
  ],
18154
18170
  "exports": [
18155
18171
  {
18156
18172
  "kind": "js",
18157
- "name": "HorizontalScroll",
18158
- "declaration": {
18159
- "name": "HorizontalScroll",
18160
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
18161
- }
18162
- },
18163
- {
18164
- "kind": "js",
18165
- "name": "defaultHorizontalScrollZeroConfig",
18173
+ "name": "GridLayoutItem",
18166
18174
  "declaration": {
18167
- "name": "defaultHorizontalScrollZeroConfig",
18168
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
18175
+ "name": "GridLayoutItem",
18176
+ "module": "src/grid-layout-item/grid-layout-item.ts"
18169
18177
  }
18170
18178
  },
18171
18179
  {
18172
18180
  "kind": "js",
18173
- "name": "zeroHorizontalScroll",
18181
+ "name": "zeroGridLayoutItem",
18174
18182
  "declaration": {
18175
- "name": "zeroHorizontalScroll",
18176
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
18183
+ "name": "zeroGridLayoutItem",
18184
+ "module": "src/grid-layout-item/grid-layout-item.ts"
18177
18185
  }
18178
18186
  }
18179
18187
  ]
18180
18188
  },
18181
18189
  {
18182
18190
  "kind": "javascript-module",
18183
- "path": "src/horizontal-scroll/index.ts",
18191
+ "path": "src/grid-layout-item/index.ts",
18184
18192
  "declarations": [],
18185
18193
  "exports": [
18186
18194
  {
@@ -18188,23 +18196,15 @@
18188
18196
  "name": "*",
18189
18197
  "declaration": {
18190
18198
  "name": "*",
18191
- "package": "./horizontal-scroll"
18192
- }
18193
- },
18194
- {
18195
- "kind": "js",
18196
- "name": "*",
18197
- "declaration": {
18198
- "name": "*",
18199
- "package": "./horizontal-scroll.styles"
18199
+ "package": "./grid-layout-item"
18200
18200
  }
18201
18201
  },
18202
18202
  {
18203
18203
  "kind": "js",
18204
- "name": "*",
18204
+ "name": "zeroGridLayoutItemTemplate",
18205
18205
  "declaration": {
18206
- "name": "*",
18207
- "package": "./horizontal-scroll.template"
18206
+ "name": "foundationGridLayoutItemTemplate",
18207
+ "package": "@genesislcap/foundation-ui"
18208
18208
  }
18209
18209
  }
18210
18210
  ]