@genesislcap/foundation-zero 14.51.1-alpha-ca82f19.0 → 14.52.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.
- package/dist/custom-elements.json +32 -32
- package/dist/dts/_common/colors.hex.d.ts +1 -1
- package/dist/dts/_common/colors.hex.d.ts.map +1 -1
- package/dist/dts/toast/toast.styles.d.ts.map +1 -1
- package/dist/esm/_common/colors.hex.js +1 -1
- package/dist/esm/toast/toast.styles.js +9 -1
- package/package.json +6 -6
|
@@ -720,6 +720,37 @@
|
|
|
720
720
|
}
|
|
721
721
|
]
|
|
722
722
|
},
|
|
723
|
+
{
|
|
724
|
+
"kind": "javascript-module",
|
|
725
|
+
"path": "src/_config/index.ts",
|
|
726
|
+
"declarations": [],
|
|
727
|
+
"exports": [
|
|
728
|
+
{
|
|
729
|
+
"kind": "js",
|
|
730
|
+
"name": "*",
|
|
731
|
+
"declaration": {
|
|
732
|
+
"name": "*",
|
|
733
|
+
"package": "./styles"
|
|
734
|
+
}
|
|
735
|
+
},
|
|
736
|
+
{
|
|
737
|
+
"kind": "js",
|
|
738
|
+
"name": "*",
|
|
739
|
+
"declaration": {
|
|
740
|
+
"name": "*",
|
|
741
|
+
"package": "./tokens"
|
|
742
|
+
}
|
|
743
|
+
},
|
|
744
|
+
{
|
|
745
|
+
"kind": "js",
|
|
746
|
+
"name": "*",
|
|
747
|
+
"declaration": {
|
|
748
|
+
"name": "*",
|
|
749
|
+
"package": "./values"
|
|
750
|
+
}
|
|
751
|
+
}
|
|
752
|
+
]
|
|
753
|
+
},
|
|
723
754
|
{
|
|
724
755
|
"kind": "javascript-module",
|
|
725
756
|
"path": "src/actions-menu/actions-menu.stories.ts",
|
|
@@ -879,37 +910,6 @@
|
|
|
879
910
|
}
|
|
880
911
|
]
|
|
881
912
|
},
|
|
882
|
-
{
|
|
883
|
-
"kind": "javascript-module",
|
|
884
|
-
"path": "src/_config/index.ts",
|
|
885
|
-
"declarations": [],
|
|
886
|
-
"exports": [
|
|
887
|
-
{
|
|
888
|
-
"kind": "js",
|
|
889
|
-
"name": "*",
|
|
890
|
-
"declaration": {
|
|
891
|
-
"name": "*",
|
|
892
|
-
"package": "./styles"
|
|
893
|
-
}
|
|
894
|
-
},
|
|
895
|
-
{
|
|
896
|
-
"kind": "js",
|
|
897
|
-
"name": "*",
|
|
898
|
-
"declaration": {
|
|
899
|
-
"name": "*",
|
|
900
|
-
"package": "./tokens"
|
|
901
|
-
}
|
|
902
|
-
},
|
|
903
|
-
{
|
|
904
|
-
"kind": "js",
|
|
905
|
-
"name": "*",
|
|
906
|
-
"declaration": {
|
|
907
|
-
"name": "*",
|
|
908
|
-
"package": "./values"
|
|
909
|
-
}
|
|
910
|
-
}
|
|
911
|
-
]
|
|
912
|
-
},
|
|
913
913
|
{
|
|
914
914
|
"kind": "javascript-module",
|
|
915
915
|
"path": "src/anchor/anchor.stories.ts",
|
|
@@ -9890,7 +9890,7 @@
|
|
|
9890
9890
|
{
|
|
9891
9891
|
"kind": "variable",
|
|
9892
9892
|
"name": "zeroToastStyles",
|
|
9893
|
-
"default": "css`\n ${foundationToastStyles}\n .toast {\n border: calc(var(--stroke-width) * 1px) solid ${neutralLayer3};\n background-color: ${neutralLayer1};\n }\n\n .toast::after {\n background-color: ${primaryBlueWebRGBA(1)};\n }\n\n :host([notify='warning']) .toast::after {\n background-color: ${chartPinkWebRGBA(1)};\n }\n\n :host([notify='success']) .toast::after {\n background-color: ${secondaryTealWebRGBA(1)};\n }\n`"
|
|
9893
|
+
"default": "css`\n ${foundationToastStyles}\n .toast {\n border: calc(var(--stroke-width) * 1px) solid ${neutralLayer3};\n background-color: ${neutralLayer1};\n }\n\n .toast::after {\n background-color: ${primaryBlueWebRGBA(1)};\n }\n\n :host([notify='warning']) .toast::after {\n background-color: ${chartPinkWebRGBA(1)};\n }\n\n :host([notify='success']) .toast::after {\n background-color: ${secondaryTealWebRGBA(1)};\n }\n\n :host([notify='critical']) .toast::after {\n background-color: ${warningYellowWebRGBA(1)};\n }\n\n :host([notify='serious']) .toast::after {\n background-color: ${secondaryOrangeWebRGBA(1)};\n }\n`"
|
|
9894
9894
|
}
|
|
9895
9895
|
],
|
|
9896
9896
|
"exports": [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"colors.hex.d.ts","sourceRoot":"","sources":["../../../src/_common/colors.hex.ts"],"names":[],"mappings":"AAAA,oBAAY,QAAQ;IAClB,KAAK,YAAY;IACjB,KAAK,YAAY;IACjB,WAAW,YAAY;IAEvB,SAAS,YAAY;IAErB,UAAU,YAAY;IAEtB,QAAQ,YAAY;IACpB,UAAU,YAAY;CACvB;AAED,oBAAY,oBAAoB;IAC9B,IAAI,YAAY;IAChB,MAAM,YAAY;CACnB;AAED,oBAAY,sBAAsB;IAChC,MAAM,YAAY;IAClB,IAAI,YAAY;CACjB;AAED,oBAAY,oBAAoB;IAC9B,IAAI,YAAY;CACjB;AAGD,oBAAY,aAAa;IACvB,SAAS,YAAY;IACrB,SAAS,YAAY;IACrB,SAAS,YAAY;IACrB,aAAa,
|
|
1
|
+
{"version":3,"file":"colors.hex.d.ts","sourceRoot":"","sources":["../../../src/_common/colors.hex.ts"],"names":[],"mappings":"AAAA,oBAAY,QAAQ;IAClB,KAAK,YAAY;IACjB,KAAK,YAAY;IACjB,WAAW,YAAY;IAEvB,SAAS,YAAY;IAErB,UAAU,YAAY;IAEtB,QAAQ,YAAY;IACpB,UAAU,YAAY;CACvB;AAED,oBAAY,oBAAoB;IAC9B,IAAI,YAAY;IAChB,MAAM,YAAY;CACnB;AAED,oBAAY,sBAAsB;IAChC,MAAM,YAAY;IAClB,IAAI,YAAY;CACjB;AAED,oBAAY,oBAAoB;IAC9B,IAAI,YAAY;CACjB;AAGD,oBAAY,aAAa;IACvB,SAAS,YAAY;IACrB,SAAS,YAAY;IACrB,SAAS,YAAY;IACrB,aAAa,YAAY;IACzB,KAAK,YAAY;IACjB,UAAU,YAAY;IACtB,GAAG,YAAY;IACf,QAAQ,YAAY;IACpB,UAAU,YAAY;IACtB,eAAe,YAAY;IAC3B,MAAM,YAAY;IAClB,WAAW,YAAY;IACvB,KAAK,YAAY;IACjB,MAAM,YAAY;IAClB,OAAO,YAAY;IACnB,YAAY,YAAY;IACxB,KAAK,YAAY;IACjB,UAAU,YAAY;IACtB,OAAO,YAAY;IACnB,YAAY,YAAY;IACxB,GAAG,YAAY;IACf,QAAQ,YAAY;CACrB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toast.styles.d.ts","sourceRoot":"","sources":["../../../src/toast/toast.styles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"toast.styles.d.ts","sourceRoot":"","sources":["../../../src/toast/toast.styles.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,eAAe,iDA0B3B,CAAC"}
|
|
@@ -28,7 +28,7 @@ export var RapidColorHEX;
|
|
|
28
28
|
RapidColorHEX["chartPink"] = "#fb8176";
|
|
29
29
|
RapidColorHEX["longGreen"] = "#7acc79";
|
|
30
30
|
RapidColorHEX["shortPink"] = "#f14376";
|
|
31
|
-
RapidColorHEX["warningYellow"] = "fcb35f";
|
|
31
|
+
RapidColorHEX["warningYellow"] = "#fcb35f";
|
|
32
32
|
RapidColorHEX["green"] = "#44c14c";
|
|
33
33
|
RapidColorHEX["lightGreen"] = "#69cd70";
|
|
34
34
|
RapidColorHEX["red"] = "#ef4d28";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { foundationToastStyles } from '@genesislcap/foundation-ui';
|
|
2
2
|
import { neutralLayer1, neutralLayer3 } from '@microsoft/fast-components';
|
|
3
3
|
import { css } from '@microsoft/fast-element';
|
|
4
|
-
import { chartPinkWebRGBA, primaryBlueWebRGBA, secondaryTealWebRGBA, } from '../_config/styles/colors';
|
|
4
|
+
import { chartPinkWebRGBA, primaryBlueWebRGBA, secondaryTealWebRGBA, secondaryOrangeWebRGBA, warningYellowWebRGBA, } from '../_config/styles/colors';
|
|
5
5
|
// See https://www.fast.design/docs/fast-element/leveraging-css/, https://www.fast.design/docs/design-systems/fast-frame
|
|
6
6
|
export const zeroToastStyles = css `
|
|
7
7
|
${foundationToastStyles}
|
|
@@ -21,4 +21,12 @@ export const zeroToastStyles = css `
|
|
|
21
21
|
:host([notify='success']) .toast::after {
|
|
22
22
|
background-color: ${secondaryTealWebRGBA(1)};
|
|
23
23
|
}
|
|
24
|
+
|
|
25
|
+
:host([notify='critical']) .toast::after {
|
|
26
|
+
background-color: ${warningYellowWebRGBA(1)};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
:host([notify='serious']) .toast::after {
|
|
30
|
+
background-color: ${secondaryOrangeWebRGBA(1)};
|
|
31
|
+
}
|
|
24
32
|
`;
|
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.
|
|
4
|
+
"version": "14.52.1",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"storybook": "storybook dev -p 6006"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@genesislcap/genx": "14.
|
|
65
|
+
"@genesislcap/genx": "14.52.1",
|
|
66
66
|
"@storybook/addon-essentials": "^7.0.0",
|
|
67
67
|
"@storybook/addon-links": "^7.0.0",
|
|
68
68
|
"@storybook/addons": "^7.0.0",
|
|
@@ -74,9 +74,9 @@
|
|
|
74
74
|
"storybook": "^7.0.0"
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
|
-
"@genesislcap/foundation-comms": "14.
|
|
78
|
-
"@genesislcap/foundation-ui": "14.
|
|
79
|
-
"@genesislcap/foundation-utils": "14.
|
|
77
|
+
"@genesislcap/foundation-comms": "14.52.1",
|
|
78
|
+
"@genesislcap/foundation-ui": "14.52.1",
|
|
79
|
+
"@genesislcap/foundation-utils": "14.52.1",
|
|
80
80
|
"@microsoft/fast-colors": "^5.1.4",
|
|
81
81
|
"@microsoft/fast-components": "^2.21.3",
|
|
82
82
|
"@microsoft/fast-element": "^1.7.0",
|
|
@@ -93,5 +93,5 @@
|
|
|
93
93
|
"access": "public"
|
|
94
94
|
},
|
|
95
95
|
"customElements": "dist/custom-elements.json",
|
|
96
|
-
"gitHead": "
|
|
96
|
+
"gitHead": "1df3ee5cc1842161f5e9c72db4040da5d94fba1d"
|
|
97
97
|
}
|