@genesislcap/foundation-zero 14.275.3 → 14.276.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.
@@ -897,154 +897,6 @@
897
897
  }
898
898
  ]
899
899
  },
900
- {
901
- "kind": "javascript-module",
902
- "path": "src/accordion/accordion.styles.ts",
903
- "declarations": [
904
- {
905
- "kind": "function",
906
- "name": "zeroAccordionStyles",
907
- "return": {
908
- "type": {
909
- "text": "ElementStyles"
910
- }
911
- },
912
- "parameters": [
913
- {
914
- "name": "context",
915
- "type": {
916
- "text": "ElementDefinitionContext"
917
- }
918
- },
919
- {
920
- "name": "definition",
921
- "type": {
922
- "text": "FoundationElementDefinition"
923
- }
924
- }
925
- ]
926
- }
927
- ],
928
- "exports": [
929
- {
930
- "kind": "js",
931
- "name": "zeroAccordionStyles",
932
- "declaration": {
933
- "name": "zeroAccordionStyles",
934
- "module": "src/accordion/accordion.styles.ts"
935
- }
936
- }
937
- ]
938
- },
939
- {
940
- "kind": "javascript-module",
941
- "path": "src/accordion/accordion.template.ts",
942
- "declarations": [
943
- {
944
- "kind": "function",
945
- "name": "zeroAccordionTemplate",
946
- "return": {
947
- "type": {
948
- "text": "ViewTemplate<Accordion>"
949
- }
950
- },
951
- "parameters": [
952
- {
953
- "name": "context",
954
- "type": {
955
- "text": "ElementDefinitionContext"
956
- }
957
- },
958
- {
959
- "name": "definition",
960
- "type": {
961
- "text": "FoundationElementDefinition"
962
- }
963
- }
964
- ]
965
- }
966
- ],
967
- "exports": [
968
- {
969
- "kind": "js",
970
- "name": "zeroAccordionTemplate",
971
- "declaration": {
972
- "name": "zeroAccordionTemplate",
973
- "module": "src/accordion/accordion.template.ts"
974
- }
975
- }
976
- ]
977
- },
978
- {
979
- "kind": "javascript-module",
980
- "path": "src/accordion/accordion.ts",
981
- "declarations": [
982
- {
983
- "kind": "class",
984
- "description": "",
985
- "name": "Accordion",
986
- "superclass": {
987
- "name": "FoundationAccordion",
988
- "package": "@genesislcap/foundation-ui"
989
- },
990
- "tagName": "%%prefix%%-card",
991
- "customElement": true
992
- },
993
- {
994
- "kind": "variable",
995
- "name": "zeroAccordion"
996
- }
997
- ],
998
- "exports": [
999
- {
1000
- "kind": "js",
1001
- "name": "Accordion",
1002
- "declaration": {
1003
- "name": "Accordion",
1004
- "module": "src/accordion/accordion.ts"
1005
- }
1006
- },
1007
- {
1008
- "kind": "js",
1009
- "name": "zeroAccordion",
1010
- "declaration": {
1011
- "name": "zeroAccordion",
1012
- "module": "src/accordion/accordion.ts"
1013
- }
1014
- }
1015
- ]
1016
- },
1017
- {
1018
- "kind": "javascript-module",
1019
- "path": "src/accordion/index.ts",
1020
- "declarations": [],
1021
- "exports": [
1022
- {
1023
- "kind": "js",
1024
- "name": "*",
1025
- "declaration": {
1026
- "name": "*",
1027
- "package": "./accordion"
1028
- }
1029
- },
1030
- {
1031
- "kind": "js",
1032
- "name": "*",
1033
- "declaration": {
1034
- "name": "*",
1035
- "package": "./accordion.styles"
1036
- }
1037
- },
1038
- {
1039
- "kind": "js",
1040
- "name": "*",
1041
- "declaration": {
1042
- "name": "*",
1043
- "package": "./accordion.template"
1044
- }
1045
- }
1046
- ]
1047
- },
1048
900
  {
1049
901
  "kind": "javascript-module",
1050
902
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -1405,6 +1257,154 @@
1405
1257
  }
1406
1258
  ]
1407
1259
  },
1260
+ {
1261
+ "kind": "javascript-module",
1262
+ "path": "src/accordion/accordion.styles.ts",
1263
+ "declarations": [
1264
+ {
1265
+ "kind": "function",
1266
+ "name": "zeroAccordionStyles",
1267
+ "return": {
1268
+ "type": {
1269
+ "text": "ElementStyles"
1270
+ }
1271
+ },
1272
+ "parameters": [
1273
+ {
1274
+ "name": "context",
1275
+ "type": {
1276
+ "text": "ElementDefinitionContext"
1277
+ }
1278
+ },
1279
+ {
1280
+ "name": "definition",
1281
+ "type": {
1282
+ "text": "FoundationElementDefinition"
1283
+ }
1284
+ }
1285
+ ]
1286
+ }
1287
+ ],
1288
+ "exports": [
1289
+ {
1290
+ "kind": "js",
1291
+ "name": "zeroAccordionStyles",
1292
+ "declaration": {
1293
+ "name": "zeroAccordionStyles",
1294
+ "module": "src/accordion/accordion.styles.ts"
1295
+ }
1296
+ }
1297
+ ]
1298
+ },
1299
+ {
1300
+ "kind": "javascript-module",
1301
+ "path": "src/accordion/accordion.template.ts",
1302
+ "declarations": [
1303
+ {
1304
+ "kind": "function",
1305
+ "name": "zeroAccordionTemplate",
1306
+ "return": {
1307
+ "type": {
1308
+ "text": "ViewTemplate<Accordion>"
1309
+ }
1310
+ },
1311
+ "parameters": [
1312
+ {
1313
+ "name": "context",
1314
+ "type": {
1315
+ "text": "ElementDefinitionContext"
1316
+ }
1317
+ },
1318
+ {
1319
+ "name": "definition",
1320
+ "type": {
1321
+ "text": "FoundationElementDefinition"
1322
+ }
1323
+ }
1324
+ ]
1325
+ }
1326
+ ],
1327
+ "exports": [
1328
+ {
1329
+ "kind": "js",
1330
+ "name": "zeroAccordionTemplate",
1331
+ "declaration": {
1332
+ "name": "zeroAccordionTemplate",
1333
+ "module": "src/accordion/accordion.template.ts"
1334
+ }
1335
+ }
1336
+ ]
1337
+ },
1338
+ {
1339
+ "kind": "javascript-module",
1340
+ "path": "src/accordion/accordion.ts",
1341
+ "declarations": [
1342
+ {
1343
+ "kind": "class",
1344
+ "description": "",
1345
+ "name": "Accordion",
1346
+ "superclass": {
1347
+ "name": "FoundationAccordion",
1348
+ "package": "@genesislcap/foundation-ui"
1349
+ },
1350
+ "tagName": "%%prefix%%-card",
1351
+ "customElement": true
1352
+ },
1353
+ {
1354
+ "kind": "variable",
1355
+ "name": "zeroAccordion"
1356
+ }
1357
+ ],
1358
+ "exports": [
1359
+ {
1360
+ "kind": "js",
1361
+ "name": "Accordion",
1362
+ "declaration": {
1363
+ "name": "Accordion",
1364
+ "module": "src/accordion/accordion.ts"
1365
+ }
1366
+ },
1367
+ {
1368
+ "kind": "js",
1369
+ "name": "zeroAccordion",
1370
+ "declaration": {
1371
+ "name": "zeroAccordion",
1372
+ "module": "src/accordion/accordion.ts"
1373
+ }
1374
+ }
1375
+ ]
1376
+ },
1377
+ {
1378
+ "kind": "javascript-module",
1379
+ "path": "src/accordion/index.ts",
1380
+ "declarations": [],
1381
+ "exports": [
1382
+ {
1383
+ "kind": "js",
1384
+ "name": "*",
1385
+ "declaration": {
1386
+ "name": "*",
1387
+ "package": "./accordion"
1388
+ }
1389
+ },
1390
+ {
1391
+ "kind": "js",
1392
+ "name": "*",
1393
+ "declaration": {
1394
+ "name": "*",
1395
+ "package": "./accordion.styles"
1396
+ }
1397
+ },
1398
+ {
1399
+ "kind": "js",
1400
+ "name": "*",
1401
+ "declaration": {
1402
+ "name": "*",
1403
+ "package": "./accordion.template"
1404
+ }
1405
+ }
1406
+ ]
1407
+ },
1408
1408
  {
1409
1409
  "kind": "javascript-module",
1410
1410
  "path": "src/actions-menu/actions-menu.styles.ts",
@@ -1,5 +1,5 @@
1
1
  import { ElementStyles } from '@microsoft/fast-element';
2
2
  import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
3
3
  export declare const zeroButtonStyles: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ElementStyles;
4
- export type ZeroButtonAppearance = 'accent' | 'lightweight' | 'neutral' | 'outline' | 'stealth' | 'primary-blue' | 'primary-purple' | 'primary-gradient' | 'secondary-orange' | 'danger' | 'secondary-teal' | 'neutral-grey' | 'outline-primary-orange' | 'outline-secondary-orange' | 'outline-secondary-teal';
4
+ export type ZeroButtonAppearance = 'accent' | 'lightweight' | 'neutral' | 'outline' | 'stealth' | 'primary-blue' | 'primary-purple' | 'primary-gradient' | 'secondary-orange' | 'danger' | 'secondary-teal' | 'neutral-grey' | 'outline-primary-orange' | 'outline-secondary-orange' | 'outline-secondary-teal' | 'link';
5
5
  //# sourceMappingURL=button.styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"button.styles.d.ts","sourceRoot":"","sources":["../../../src/button/button.styles.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,KAAK,EACV,wBAAwB,EACxB,2BAA2B,EAC5B,MAAM,4BAA4B,CAAC;AA8QpC,eAAO,MAAM,gBAAgB,YAClB,wBAAwB,cACrB,2BAA2B,KACtC,aAeA,CAAC;AAEJ,MAAM,MAAM,oBAAoB,GAC5B,QAAQ,GACR,aAAa,GACb,SAAS,GACT,SAAS,GACT,SAAS,GACT,cAAc,GACd,gBAAgB,GAChB,kBAAkB,GAClB,kBAAkB,GAClB,QAAQ,GACR,gBAAgB,GAChB,cAAc,GACd,wBAAwB,GACxB,0BAA0B,GAC1B,wBAAwB,CAAC"}
1
+ {"version":3,"file":"button.styles.d.ts","sourceRoot":"","sources":["../../../src/button/button.styles.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,KAAK,EACV,wBAAwB,EACxB,2BAA2B,EAC5B,MAAM,4BAA4B,CAAC;AAuSpC,eAAO,MAAM,gBAAgB,YAClB,wBAAwB,cACrB,2BAA2B,KACtC,aAgBA,CAAC;AAEJ,MAAM,MAAM,oBAAoB,GAC5B,QAAQ,GACR,aAAa,GACb,SAAS,GACT,SAAS,GACT,SAAS,GACT,cAAc,GACd,gBAAgB,GAChB,kBAAkB,GAClB,kBAAkB,GAClB,QAAQ,GACR,gBAAgB,GAChB,cAAc,GACd,wBAAwB,GACxB,0BAA0B,GAC1B,wBAAwB,GACxB,MAAM,CAAC"}
@@ -243,6 +243,30 @@ const zeroOutlineSecondaryTealStyles = css `
243
243
  color: ${whiteWebRGBA(activeStateFontOpacity)};
244
244
  }
245
245
  `;
246
+ const zeroLinkStyles = css `
247
+ :host([appearance='link']) {
248
+ background: none;
249
+ border: none;
250
+ color: ${primaryBlueWebRGBA(0.65)};
251
+ }
252
+
253
+ :host([appearance='link']) .control {
254
+ padding: 0;
255
+ }
256
+
257
+ :host([appearance='link']:hover) {
258
+ color: ${PrimaryRapidColorHEX.blue};
259
+ background: none;
260
+ }
261
+
262
+ :host([appearance='link'][disabled]),
263
+ :host([appearance='link'][disabled]):hover,
264
+ :host([appearance='link'][disabled]):active {
265
+ background: none;
266
+ color: ${primaryBlueWebRGBA(0.35)};
267
+ opacity: 100%;
268
+ }
269
+ `;
246
270
  const baseStyles = (context, definition) => css `
247
271
  :host {
248
272
  margin: 5px;
@@ -251,4 +275,4 @@ const baseStyles = (context, definition) => css `
251
275
  export const zeroButtonStyles = (context, definition) => css `
252
276
  ${foundationButtonStyles(context, definition)}
253
277
  ${baseStyles(context, definition)}
254
- `.withBehaviors(appearanceBehavior('primary-blue', zeroPrimaryBlueStyles), appearanceBehavior('primary-purple', zeroPrimaryPurpleStyles), appearanceBehavior('primary-gradient', zeroPrimaryGradientStyles), appearanceBehavior('secondary-orange', zeroSecondaryOrangeStyles), appearanceBehavior('danger', zeroDangerStyles), appearanceBehavior('secondary-teal', zeroSecondaryTealStyles), appearanceBehavior('neutral-grey', zeroNeutralGreyStyles), appearanceBehavior('outline-primary-gradient', zeroOutlinePrimaryGradientStyles), appearanceBehavior('outline-secondary-orange', zeroOutlineSecondaryOrangeStyles), appearanceBehavior('outline-secondary-teal', zeroOutlineSecondaryTealStyles));
278
+ `.withBehaviors(appearanceBehavior('primary-blue', zeroPrimaryBlueStyles), appearanceBehavior('primary-purple', zeroPrimaryPurpleStyles), appearanceBehavior('primary-gradient', zeroPrimaryGradientStyles), appearanceBehavior('secondary-orange', zeroSecondaryOrangeStyles), appearanceBehavior('danger', zeroDangerStyles), appearanceBehavior('secondary-teal', zeroSecondaryTealStyles), appearanceBehavior('neutral-grey', zeroNeutralGreyStyles), appearanceBehavior('outline-primary-gradient', zeroOutlinePrimaryGradientStyles), appearanceBehavior('outline-secondary-orange', zeroOutlineSecondaryOrangeStyles), appearanceBehavior('outline-secondary-teal', zeroOutlineSecondaryTealStyles), appearanceBehavior('link', zeroLinkStyles));
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.275.3",
4
+ "version": "14.276.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -71,19 +71,19 @@
71
71
  },
72
72
  "devDependencies": {
73
73
  "@genesiscommunitysuccess/analyzer-import-alias-plugin": "^5.0.3",
74
- "@genesislcap/genx": "14.275.3",
75
- "@genesislcap/rollup-builder": "14.275.3",
76
- "@genesislcap/ts-builder": "14.275.3",
77
- "@genesislcap/uvu-playwright-builder": "14.275.3",
78
- "@genesislcap/vite-builder": "14.275.3",
79
- "@genesislcap/webpack-builder": "14.275.3",
74
+ "@genesislcap/genx": "14.276.0",
75
+ "@genesislcap/rollup-builder": "14.276.0",
76
+ "@genesislcap/ts-builder": "14.276.0",
77
+ "@genesislcap/uvu-playwright-builder": "14.276.0",
78
+ "@genesislcap/vite-builder": "14.276.0",
79
+ "@genesislcap/webpack-builder": "14.276.0",
80
80
  "rimraf": "^5.0.0"
81
81
  },
82
82
  "dependencies": {
83
- "@genesislcap/foundation-comms": "14.275.3",
84
- "@genesislcap/foundation-logger": "14.275.3",
85
- "@genesislcap/foundation-ui": "14.275.3",
86
- "@genesislcap/foundation-utils": "14.275.3",
83
+ "@genesislcap/foundation-comms": "14.276.0",
84
+ "@genesislcap/foundation-logger": "14.276.0",
85
+ "@genesislcap/foundation-ui": "14.276.0",
86
+ "@genesislcap/foundation-utils": "14.276.0",
87
87
  "@microsoft/fast-colors": "5.3.1",
88
88
  "@microsoft/fast-components": "2.30.6",
89
89
  "@microsoft/fast-element": "1.14.0",
@@ -100,5 +100,5 @@
100
100
  "access": "public"
101
101
  },
102
102
  "customElements": "dist/custom-elements.json",
103
- "gitHead": "bf879e49257ab5a47f2307ef75e3170e75a1c49f"
103
+ "gitHead": "5ece673bf91cdbd37bff15d8125d57c027244c68"
104
104
  }