@genesislcap/foundation-zero 14.213.0 → 14.213.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -11856,7 +11856,7 @@
|
|
|
11856
11856
|
{
|
|
11857
11857
|
"kind": "variable",
|
|
11858
11858
|
"name": "zeroDialogStyles",
|
|
11859
|
-
"default": "css`\n ${foundationDialogStyles}\n :host {\n --color
|
|
11859
|
+
"default": "css`\n ${foundationDialogStyles}\n :host {\n --error-color: ${ColorHEX.error};\n --success-color: ${ColorHEX.success};\n --dialog-background: ${neutralLayer2};\n --dialog-position: fixed;\n --dialog-top: 0;\n --dialog-bottom: 0;\n }\n\n dialog {\n position: var(--dialog-position);\n top: var(--dialog-top);\n bottom: var(--dialog-bottom);\n color: rgb(255 255 255 / 30%);\n border-radius: calc(var(--control-corner-radius) * 1px);\n border: 1px solid ${ColorHEX.lightGrey};\n text-align: left;\n line-height: normal;\n box-shadow: 0 2px 15px 0 rgb(0 0 0 / 35%);\n }\n\n .top {\n display: flex;\n align-items: center;\n justify-content: space-between;\n color: ${ColorHEX.almostWhite};\n margin-bottom: calc(var(--design-unit) * 2px);\n }\n\n .bottom {\n display: flex;\n flex-wrap: wrap;\n justify-content: flex-end;\n color: ${ColorHEX.almostWhite};\n }\n\n :host slot:first-of-type {\n color: ${neutralForegroundRest};\n }\n\n ::slotted(zero-button) {\n margin-top: calc(var(--design-unit) * 4px - 1px);\n }\n\n .content-wrapper {\n min-width: var(--dialog-min-width);\n min-height: var(--dialog-min-height);\n height: fit-content;\n width: fit-content;\n max-width: var(--dialog-max-width);\n max-height: var(--dialog-max-height);\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: stretch;\n }\n\n .close-icon:hover svg {\n background-color: ${whiteWebRGBA(0.05)};\n }\n\n .close-icon:hover svg g path {\n fill: ${whiteWebRGBA(1)};\n }\n\n .close-icon:active svg {\n background-color: ${defaultDialogActiveBGColor};\n }\n\n .close-icon:active svg g path {\n fill: ${whiteWebRGBA(0.33)};\n }\n`"
|
|
11860
11860
|
}
|
|
11861
11861
|
],
|
|
11862
11862
|
"exports": [
|
|
@@ -1,4 +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
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"}
|
|
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"}
|
|
@@ -8,8 +8,8 @@ import { defaultDialogActiveBGColor } from './styles/colors';
|
|
|
8
8
|
export const zeroDialogStyles = css `
|
|
9
9
|
${foundationDialogStyles}
|
|
10
10
|
:host {
|
|
11
|
-
--color
|
|
12
|
-
--color
|
|
11
|
+
--error-color: ${ColorHEX.error};
|
|
12
|
+
--success-color: ${ColorHEX.success};
|
|
13
13
|
--dialog-background: ${neutralLayer2};
|
|
14
14
|
--dialog-position: fixed;
|
|
15
15
|
--dialog-top: 0;
|
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.213.
|
|
4
|
+
"version": "14.213.1",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -75,12 +75,12 @@
|
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
77
|
"@genesiscommunitysuccess/analyzer-import-alias-plugin": "^5.0.3",
|
|
78
|
-
"@genesislcap/genx": "14.213.
|
|
79
|
-
"@genesislcap/rollup-builder": "14.213.
|
|
80
|
-
"@genesislcap/ts-builder": "14.213.
|
|
81
|
-
"@genesislcap/uvu-playwright-builder": "14.213.
|
|
82
|
-
"@genesislcap/vite-builder": "14.213.
|
|
83
|
-
"@genesislcap/webpack-builder": "14.213.
|
|
78
|
+
"@genesislcap/genx": "14.213.1",
|
|
79
|
+
"@genesislcap/rollup-builder": "14.213.1",
|
|
80
|
+
"@genesislcap/ts-builder": "14.213.1",
|
|
81
|
+
"@genesislcap/uvu-playwright-builder": "14.213.1",
|
|
82
|
+
"@genesislcap/vite-builder": "14.213.1",
|
|
83
|
+
"@genesislcap/webpack-builder": "14.213.1",
|
|
84
84
|
"@storybook/addon-coverage": "^1.0.1",
|
|
85
85
|
"@storybook/addon-essentials": "^8.0.0",
|
|
86
86
|
"@storybook/addon-links": "^8.0.0",
|
|
@@ -98,10 +98,10 @@
|
|
|
98
98
|
"storybook": "^8.0.0"
|
|
99
99
|
},
|
|
100
100
|
"dependencies": {
|
|
101
|
-
"@genesislcap/foundation-comms": "14.213.
|
|
102
|
-
"@genesislcap/foundation-logger": "14.213.
|
|
103
|
-
"@genesislcap/foundation-ui": "14.213.
|
|
104
|
-
"@genesislcap/foundation-utils": "14.213.
|
|
101
|
+
"@genesislcap/foundation-comms": "14.213.1",
|
|
102
|
+
"@genesislcap/foundation-logger": "14.213.1",
|
|
103
|
+
"@genesislcap/foundation-ui": "14.213.1",
|
|
104
|
+
"@genesislcap/foundation-utils": "14.213.1",
|
|
105
105
|
"@microsoft/fast-colors": "^5.3.1",
|
|
106
106
|
"@microsoft/fast-components": "^2.30.6",
|
|
107
107
|
"@microsoft/fast-element": "^1.12.0",
|
|
@@ -118,5 +118,5 @@
|
|
|
118
118
|
"access": "public"
|
|
119
119
|
},
|
|
120
120
|
"customElements": "dist/custom-elements.json",
|
|
121
|
-
"gitHead": "
|
|
121
|
+
"gitHead": "97adf0941ef3506927d10118aab06e973437baad"
|
|
122
122
|
}
|