@genesislcap/foundation-zero 14.368.0 → 14.370.0

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.
@@ -921,154 +921,6 @@
921
921
  }
922
922
  ]
923
923
  },
924
- {
925
- "kind": "javascript-module",
926
- "path": "src/accordion/accordion.styles.ts",
927
- "declarations": [
928
- {
929
- "kind": "function",
930
- "name": "zeroAccordionStyles",
931
- "return": {
932
- "type": {
933
- "text": "ElementStyles"
934
- }
935
- },
936
- "parameters": [
937
- {
938
- "name": "context",
939
- "type": {
940
- "text": "ElementDefinitionContext"
941
- }
942
- },
943
- {
944
- "name": "definition",
945
- "type": {
946
- "text": "FoundationElementDefinition"
947
- }
948
- }
949
- ]
950
- }
951
- ],
952
- "exports": [
953
- {
954
- "kind": "js",
955
- "name": "zeroAccordionStyles",
956
- "declaration": {
957
- "name": "zeroAccordionStyles",
958
- "module": "src/accordion/accordion.styles.ts"
959
- }
960
- }
961
- ]
962
- },
963
- {
964
- "kind": "javascript-module",
965
- "path": "src/accordion/accordion.template.ts",
966
- "declarations": [
967
- {
968
- "kind": "function",
969
- "name": "zeroAccordionTemplate",
970
- "return": {
971
- "type": {
972
- "text": "ViewTemplate<Accordion>"
973
- }
974
- },
975
- "parameters": [
976
- {
977
- "name": "context",
978
- "type": {
979
- "text": "ElementDefinitionContext"
980
- }
981
- },
982
- {
983
- "name": "definition",
984
- "type": {
985
- "text": "FoundationElementDefinition"
986
- }
987
- }
988
- ]
989
- }
990
- ],
991
- "exports": [
992
- {
993
- "kind": "js",
994
- "name": "zeroAccordionTemplate",
995
- "declaration": {
996
- "name": "zeroAccordionTemplate",
997
- "module": "src/accordion/accordion.template.ts"
998
- }
999
- }
1000
- ]
1001
- },
1002
- {
1003
- "kind": "javascript-module",
1004
- "path": "src/accordion/accordion.ts",
1005
- "declarations": [
1006
- {
1007
- "kind": "class",
1008
- "description": "",
1009
- "name": "Accordion",
1010
- "superclass": {
1011
- "name": "FoundationAccordion",
1012
- "package": "@genesislcap/foundation-ui"
1013
- },
1014
- "tagName": "%%prefix%%-card",
1015
- "customElement": true
1016
- },
1017
- {
1018
- "kind": "variable",
1019
- "name": "zeroAccordion"
1020
- }
1021
- ],
1022
- "exports": [
1023
- {
1024
- "kind": "js",
1025
- "name": "Accordion",
1026
- "declaration": {
1027
- "name": "Accordion",
1028
- "module": "src/accordion/accordion.ts"
1029
- }
1030
- },
1031
- {
1032
- "kind": "js",
1033
- "name": "zeroAccordion",
1034
- "declaration": {
1035
- "name": "zeroAccordion",
1036
- "module": "src/accordion/accordion.ts"
1037
- }
1038
- }
1039
- ]
1040
- },
1041
- {
1042
- "kind": "javascript-module",
1043
- "path": "src/accordion/index.ts",
1044
- "declarations": [],
1045
- "exports": [
1046
- {
1047
- "kind": "js",
1048
- "name": "*",
1049
- "declaration": {
1050
- "name": "*",
1051
- "package": "./accordion"
1052
- }
1053
- },
1054
- {
1055
- "kind": "js",
1056
- "name": "*",
1057
- "declaration": {
1058
- "name": "*",
1059
- "package": "./accordion.styles"
1060
- }
1061
- },
1062
- {
1063
- "kind": "js",
1064
- "name": "*",
1065
- "declaration": {
1066
- "name": "*",
1067
- "package": "./accordion.template"
1068
- }
1069
- }
1070
- ]
1071
- },
1072
924
  {
1073
925
  "kind": "javascript-module",
1074
926
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -2001,6 +1853,154 @@
2001
1853
  }
2002
1854
  ]
2003
1855
  },
1856
+ {
1857
+ "kind": "javascript-module",
1858
+ "path": "src/accordion/accordion.styles.ts",
1859
+ "declarations": [
1860
+ {
1861
+ "kind": "function",
1862
+ "name": "zeroAccordionStyles",
1863
+ "return": {
1864
+ "type": {
1865
+ "text": "ElementStyles"
1866
+ }
1867
+ },
1868
+ "parameters": [
1869
+ {
1870
+ "name": "context",
1871
+ "type": {
1872
+ "text": "ElementDefinitionContext"
1873
+ }
1874
+ },
1875
+ {
1876
+ "name": "definition",
1877
+ "type": {
1878
+ "text": "FoundationElementDefinition"
1879
+ }
1880
+ }
1881
+ ]
1882
+ }
1883
+ ],
1884
+ "exports": [
1885
+ {
1886
+ "kind": "js",
1887
+ "name": "zeroAccordionStyles",
1888
+ "declaration": {
1889
+ "name": "zeroAccordionStyles",
1890
+ "module": "src/accordion/accordion.styles.ts"
1891
+ }
1892
+ }
1893
+ ]
1894
+ },
1895
+ {
1896
+ "kind": "javascript-module",
1897
+ "path": "src/accordion/accordion.template.ts",
1898
+ "declarations": [
1899
+ {
1900
+ "kind": "function",
1901
+ "name": "zeroAccordionTemplate",
1902
+ "return": {
1903
+ "type": {
1904
+ "text": "ViewTemplate<Accordion>"
1905
+ }
1906
+ },
1907
+ "parameters": [
1908
+ {
1909
+ "name": "context",
1910
+ "type": {
1911
+ "text": "ElementDefinitionContext"
1912
+ }
1913
+ },
1914
+ {
1915
+ "name": "definition",
1916
+ "type": {
1917
+ "text": "FoundationElementDefinition"
1918
+ }
1919
+ }
1920
+ ]
1921
+ }
1922
+ ],
1923
+ "exports": [
1924
+ {
1925
+ "kind": "js",
1926
+ "name": "zeroAccordionTemplate",
1927
+ "declaration": {
1928
+ "name": "zeroAccordionTemplate",
1929
+ "module": "src/accordion/accordion.template.ts"
1930
+ }
1931
+ }
1932
+ ]
1933
+ },
1934
+ {
1935
+ "kind": "javascript-module",
1936
+ "path": "src/accordion/accordion.ts",
1937
+ "declarations": [
1938
+ {
1939
+ "kind": "class",
1940
+ "description": "",
1941
+ "name": "Accordion",
1942
+ "superclass": {
1943
+ "name": "FoundationAccordion",
1944
+ "package": "@genesislcap/foundation-ui"
1945
+ },
1946
+ "tagName": "%%prefix%%-card",
1947
+ "customElement": true
1948
+ },
1949
+ {
1950
+ "kind": "variable",
1951
+ "name": "zeroAccordion"
1952
+ }
1953
+ ],
1954
+ "exports": [
1955
+ {
1956
+ "kind": "js",
1957
+ "name": "Accordion",
1958
+ "declaration": {
1959
+ "name": "Accordion",
1960
+ "module": "src/accordion/accordion.ts"
1961
+ }
1962
+ },
1963
+ {
1964
+ "kind": "js",
1965
+ "name": "zeroAccordion",
1966
+ "declaration": {
1967
+ "name": "zeroAccordion",
1968
+ "module": "src/accordion/accordion.ts"
1969
+ }
1970
+ }
1971
+ ]
1972
+ },
1973
+ {
1974
+ "kind": "javascript-module",
1975
+ "path": "src/accordion/index.ts",
1976
+ "declarations": [],
1977
+ "exports": [
1978
+ {
1979
+ "kind": "js",
1980
+ "name": "*",
1981
+ "declaration": {
1982
+ "name": "*",
1983
+ "package": "./accordion"
1984
+ }
1985
+ },
1986
+ {
1987
+ "kind": "js",
1988
+ "name": "*",
1989
+ "declaration": {
1990
+ "name": "*",
1991
+ "package": "./accordion.styles"
1992
+ }
1993
+ },
1994
+ {
1995
+ "kind": "js",
1996
+ "name": "*",
1997
+ "declaration": {
1998
+ "name": "*",
1999
+ "package": "./accordion.template"
2000
+ }
2001
+ }
2002
+ ]
2003
+ },
2004
2004
  {
2005
2005
  "kind": "javascript-module",
2006
2006
  "path": "src/anchor/anchor.styles.ts",
@@ -42821,7 +42821,7 @@
42821
42821
  "type": {
42822
42822
  "text": "DesignTokensConfig"
42823
42823
  },
42824
- "default": "{\n design_tokens: {\n color: {\n accent: {\n $value: accentPaletteValue.source.toColorString(),\n $type: 'color',\n },\n neutral: {\n $value: neutralPaletteValue.source.toColorString(),\n $type: 'color',\n },\n },\n fontFamily: {\n bodyFont: {\n $value: bodyFontValue,\n $type: 'fontFamily',\n },\n },\n typography: {\n baseFontSize: {\n $value: typeRampBaseFontSizeValue,\n $type: 'dimension',\n },\n baseLineHeight: {\n $value: typeRampBaseLineHeightValue,\n $type: 'dimension',\n },\n },\n mode: {\n luminance: {\n $value: baseLayerLuminanceValue,\n $type: 'number',\n },\n },\n style: {\n density: {\n $value: densityValue,\n $type: 'number',\n },\n borderRadius: {\n $value: controlCornerRadiusValue,\n $type: 'number',\n },\n strokeWidth: {\n $value: strokeWidthValue,\n $type: 'number',\n },\n },\n space: {\n designUnit: {\n $value: designUnitValue,\n $type: 'number',\n },\n },\n },\n}"
42824
+ "default": "{\n design_tokens: {\n color: {\n accent: {\n $value: accentPaletteValue.source.toColorString(),\n $type: 'color',\n },\n neutral: {\n $value: neutralPaletteValue.source.toColorString(),\n $type: 'color',\n },\n },\n fontFamily: {\n bodyFont: {\n $value: bodyFontValue,\n $type: 'fontFamily',\n },\n },\n typography: {\n baseFontSize: {\n $value: typeRampBaseFontSizeValue,\n $type: 'dimension',\n },\n baseLineHeight: {\n $value: typeRampBaseLineHeightValue,\n $type: 'dimension',\n },\n },\n mode: {\n luminance: {\n $value: baseLayerLuminanceValue,\n $type: 'number',\n },\n },\n style: {\n density: {\n $value: densityValue,\n $type: 'number',\n },\n baseHeightMultiplier: {\n $value: baseHeightMultiplierValue,\n $type: 'number',\n },\n borderRadius: {\n $value: controlCornerRadiusValue,\n $type: 'number',\n },\n strokeWidth: {\n $value: strokeWidthValue,\n $type: 'number',\n },\n },\n space: {\n designUnit: {\n $value: designUnitValue,\n $type: 'number',\n },\n },\n },\n}"
42825
42825
  }
42826
42826
  ],
42827
42827
  "exports": [
@@ -42918,6 +42918,14 @@
42918
42918
  "kind": "javascript-module",
42919
42919
  "path": "src/_config/values/sizing.ts",
42920
42920
  "declarations": [
42921
+ {
42922
+ "kind": "variable",
42923
+ "name": "baseHeightMultiplierValue",
42924
+ "type": {
42925
+ "text": "number"
42926
+ },
42927
+ "default": "10"
42928
+ },
42921
42929
  {
42922
42930
  "kind": "variable",
42923
42931
  "name": "controlCornerRadiusValue",
@@ -42940,6 +42948,14 @@
42940
42948
  }
42941
42949
  ],
42942
42950
  "exports": [
42951
+ {
42952
+ "kind": "js",
42953
+ "name": "baseHeightMultiplierValue",
42954
+ "declaration": {
42955
+ "name": "baseHeightMultiplierValue",
42956
+ "module": "src/_config/values/sizing.ts"
42957
+ }
42958
+ },
42943
42959
  {
42944
42960
  "kind": "js",
42945
42961
  "name": "controlCornerRadiusValue",
@@ -1 +1 @@
1
- {"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../../../src/_config/values/defaults.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAUhE,eAAO,MAAM,YAAY,EAAE,kBAuD1B,CAAC"}
1
+ {"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../../../src/_config/values/defaults.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAehE,eAAO,MAAM,YAAY,EAAE,kBA2D1B,CAAC"}
@@ -1,3 +1,4 @@
1
+ export declare const baseHeightMultiplierValue = 10;
1
2
  export declare const controlCornerRadiusValue = 4;
2
3
  export declare const densityValue: number;
3
4
  export declare const designUnitValue = 4;
@@ -1 +1 @@
1
- {"version":3,"file":"sizing.d.ts","sourceRoot":"","sources":["../../../../src/_config/values/sizing.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,wBAAwB,IAAI,CAAC;AAC1C,eAAO,MAAM,YAAY,QAA4C,CAAC;AACtE,eAAO,MAAM,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"sizing.d.ts","sourceRoot":"","sources":["../../../../src/_config/values/sizing.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,yBAAyB,KAAK,CAAC;AAC5C,eAAO,MAAM,wBAAwB,IAAI,CAAC;AAC1C,eAAO,MAAM,YAAY,QAA4C,CAAC;AACtE,eAAO,MAAM,eAAe,IAAI,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { accentPaletteValue, baseLayerLuminanceValue, neutralPaletteValue } from '../values/color';
2
2
  import { strokeWidthValue } from './misc';
3
- import { designUnitValue, densityValue, controlCornerRadiusValue } from './sizing';
3
+ import { designUnitValue, densityValue, controlCornerRadiusValue, baseHeightMultiplierValue, } from './sizing';
4
4
  import { bodyFontValue, typeRampBaseFontSizeValue, typeRampBaseLineHeightValue, } from './typography';
5
5
  export const designTokens = {
6
6
  design_tokens: {
@@ -41,6 +41,10 @@ export const designTokens = {
41
41
  $value: densityValue,
42
42
  $type: 'number',
43
43
  },
44
+ baseHeightMultiplier: {
45
+ $value: baseHeightMultiplierValue,
46
+ $type: 'number',
47
+ },
44
48
  borderRadius: {
45
49
  $value: controlCornerRadiusValue,
46
50
  $type: 'number',
@@ -1,5 +1,5 @@
1
1
  import { density } from '@microsoft/fast-components';
2
- // export const baseHeightMultiplierValue = 10;
2
+ export const baseHeightMultiplierValue = 10;
3
3
  export const controlCornerRadiusValue = 4;
4
4
  export const densityValue = density.getValueFor(density.appliedTo[0]);
5
5
  export const designUnitValue = 4;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-zero",
3
3
  "description": "Genesis Foundation Zero Design System",
4
- "version": "14.368.0",
4
+ "version": "14.370.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -71,18 +71,18 @@
71
71
  },
72
72
  "devDependencies": {
73
73
  "@genesiscommunitysuccess/analyzer-import-alias-plugin": "^5.0.3",
74
- "@genesislcap/genx": "14.368.0",
75
- "@genesislcap/rollup-builder": "14.368.0",
76
- "@genesislcap/ts-builder": "14.368.0",
77
- "@genesislcap/uvu-playwright-builder": "14.368.0",
78
- "@genesislcap/vite-builder": "14.368.0",
79
- "@genesislcap/webpack-builder": "14.368.0"
74
+ "@genesislcap/genx": "14.370.0",
75
+ "@genesislcap/rollup-builder": "14.370.0",
76
+ "@genesislcap/ts-builder": "14.370.0",
77
+ "@genesislcap/uvu-playwright-builder": "14.370.0",
78
+ "@genesislcap/vite-builder": "14.370.0",
79
+ "@genesislcap/webpack-builder": "14.370.0"
80
80
  },
81
81
  "dependencies": {
82
- "@genesislcap/foundation-comms": "14.368.0",
83
- "@genesislcap/foundation-logger": "14.368.0",
84
- "@genesislcap/foundation-ui": "14.368.0",
85
- "@genesislcap/foundation-utils": "14.368.0",
82
+ "@genesislcap/foundation-comms": "14.370.0",
83
+ "@genesislcap/foundation-logger": "14.370.0",
84
+ "@genesislcap/foundation-ui": "14.370.0",
85
+ "@genesislcap/foundation-utils": "14.370.0",
86
86
  "@microsoft/fast-colors": "5.3.1",
87
87
  "@microsoft/fast-components": "2.30.6",
88
88
  "@microsoft/fast-element": "1.14.0",
@@ -98,5 +98,5 @@
98
98
  "access": "public"
99
99
  },
100
100
  "customElements": "dist/custom-elements.json",
101
- "gitHead": "698eab45797054e3c04d32edb44aecadcbb0095e"
101
+ "gitHead": "85079a1941403b9daee95a1cca7fc14bc5929435"
102
102
  }