@genesislcap/foundation-zero 14.275.1-alpha-5c54c3e.0 → 14.275.2-PA-1663.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -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';
|
|
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;
|
|
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"}
|
|
@@ -243,30 +243,6 @@ 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
|
-
`;
|
|
270
246
|
const baseStyles = (context, definition) => css `
|
|
271
247
|
:host {
|
|
272
248
|
margin: 5px;
|
|
@@ -275,4 +251,4 @@ const baseStyles = (context, definition) => css `
|
|
|
275
251
|
export const zeroButtonStyles = (context, definition) => css `
|
|
276
252
|
${foundationButtonStyles(context, definition)}
|
|
277
253
|
${baseStyles(context, definition)}
|
|
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)
|
|
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));
|
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.
|
|
4
|
+
"version": "14.275.2-PA-1663.3",
|
|
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.
|
|
75
|
-
"@genesislcap/rollup-builder": "14.275.
|
|
76
|
-
"@genesislcap/ts-builder": "14.275.
|
|
77
|
-
"@genesislcap/uvu-playwright-builder": "14.275.
|
|
78
|
-
"@genesislcap/vite-builder": "14.275.
|
|
79
|
-
"@genesislcap/webpack-builder": "14.275.
|
|
74
|
+
"@genesislcap/genx": "14.275.2-PA-1663.3",
|
|
75
|
+
"@genesislcap/rollup-builder": "14.275.2-PA-1663.3",
|
|
76
|
+
"@genesislcap/ts-builder": "14.275.2-PA-1663.3",
|
|
77
|
+
"@genesislcap/uvu-playwright-builder": "14.275.2-PA-1663.3",
|
|
78
|
+
"@genesislcap/vite-builder": "14.275.2-PA-1663.3",
|
|
79
|
+
"@genesislcap/webpack-builder": "14.275.2-PA-1663.3",
|
|
80
80
|
"rimraf": "^5.0.0"
|
|
81
81
|
},
|
|
82
82
|
"dependencies": {
|
|
83
|
-
"@genesislcap/foundation-comms": "14.275.
|
|
84
|
-
"@genesislcap/foundation-logger": "14.275.
|
|
85
|
-
"@genesislcap/foundation-ui": "14.275.
|
|
86
|
-
"@genesislcap/foundation-utils": "14.275.
|
|
83
|
+
"@genesislcap/foundation-comms": "14.275.2-PA-1663.3",
|
|
84
|
+
"@genesislcap/foundation-logger": "14.275.2-PA-1663.3",
|
|
85
|
+
"@genesislcap/foundation-ui": "14.275.2-PA-1663.3",
|
|
86
|
+
"@genesislcap/foundation-utils": "14.275.2-PA-1663.3",
|
|
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": "
|
|
103
|
+
"gitHead": "4a0f42cfd231dbc140d22aa9dd1069f7ed4d322f"
|
|
104
104
|
}
|