@genesislcap/foundation-zero 14.127.6 → 14.128.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.
- package/dist/custom-elements.json +66 -0
- package/dist/dts/_common/colors.hex.d.ts +3 -1
- package/dist/dts/_common/colors.hex.d.ts.map +1 -1
- package/dist/dts/_config/tokens/custom.d.ts +8 -0
- package/dist/dts/_config/tokens/custom.d.ts.map +1 -0
- package/dist/dts/_config/tokens/index.d.ts +1 -0
- package/dist/dts/_config/tokens/index.d.ts.map +1 -1
- package/dist/esm/_common/colors.hex.js +2 -0
- package/dist/esm/_config/tokens/custom.js +19 -0
- package/dist/esm/_config/tokens/index.js +1 -0
- package/package.json +7 -7
|
@@ -35182,6 +35182,64 @@
|
|
|
35182
35182
|
}
|
|
35183
35183
|
]
|
|
35184
35184
|
},
|
|
35185
|
+
{
|
|
35186
|
+
"kind": "javascript-module",
|
|
35187
|
+
"path": "src/_config/tokens/custom.ts",
|
|
35188
|
+
"declarations": [
|
|
35189
|
+
{
|
|
35190
|
+
"kind": "variable",
|
|
35191
|
+
"name": "defaultErrorColor"
|
|
35192
|
+
},
|
|
35193
|
+
{
|
|
35194
|
+
"kind": "variable",
|
|
35195
|
+
"name": "errorColor",
|
|
35196
|
+
"privacy": "public"
|
|
35197
|
+
},
|
|
35198
|
+
{
|
|
35199
|
+
"kind": "variable",
|
|
35200
|
+
"name": "defaultSuccessColor"
|
|
35201
|
+
},
|
|
35202
|
+
{
|
|
35203
|
+
"kind": "variable",
|
|
35204
|
+
"name": "successColor",
|
|
35205
|
+
"privacy": "public"
|
|
35206
|
+
}
|
|
35207
|
+
],
|
|
35208
|
+
"exports": [
|
|
35209
|
+
{
|
|
35210
|
+
"kind": "js",
|
|
35211
|
+
"name": "defaultErrorColor",
|
|
35212
|
+
"declaration": {
|
|
35213
|
+
"name": "defaultErrorColor",
|
|
35214
|
+
"module": "src/_config/tokens/custom.ts"
|
|
35215
|
+
}
|
|
35216
|
+
},
|
|
35217
|
+
{
|
|
35218
|
+
"kind": "js",
|
|
35219
|
+
"name": "errorColor",
|
|
35220
|
+
"declaration": {
|
|
35221
|
+
"name": "errorColor",
|
|
35222
|
+
"module": "src/_config/tokens/custom.ts"
|
|
35223
|
+
}
|
|
35224
|
+
},
|
|
35225
|
+
{
|
|
35226
|
+
"kind": "js",
|
|
35227
|
+
"name": "defaultSuccessColor",
|
|
35228
|
+
"declaration": {
|
|
35229
|
+
"name": "defaultSuccessColor",
|
|
35230
|
+
"module": "src/_config/tokens/custom.ts"
|
|
35231
|
+
}
|
|
35232
|
+
},
|
|
35233
|
+
{
|
|
35234
|
+
"kind": "js",
|
|
35235
|
+
"name": "successColor",
|
|
35236
|
+
"declaration": {
|
|
35237
|
+
"name": "successColor",
|
|
35238
|
+
"module": "src/_config/tokens/custom.ts"
|
|
35239
|
+
}
|
|
35240
|
+
}
|
|
35241
|
+
]
|
|
35242
|
+
},
|
|
35185
35243
|
{
|
|
35186
35244
|
"kind": "javascript-module",
|
|
35187
35245
|
"path": "src/_config/tokens/default.ts",
|
|
@@ -36073,6 +36131,14 @@
|
|
|
36073
36131
|
"name": "*",
|
|
36074
36132
|
"package": "./default"
|
|
36075
36133
|
}
|
|
36134
|
+
},
|
|
36135
|
+
{
|
|
36136
|
+
"kind": "js",
|
|
36137
|
+
"name": "*",
|
|
36138
|
+
"declaration": {
|
|
36139
|
+
"name": "*",
|
|
36140
|
+
"package": "./custom"
|
|
36141
|
+
}
|
|
36076
36142
|
}
|
|
36077
36143
|
]
|
|
36078
36144
|
},
|
|
@@ -5,7 +5,9 @@ export declare enum ColorHEX {
|
|
|
5
5
|
lightGrey = "#2E3339",
|
|
6
6
|
mediumGrey = "#2C2F33",
|
|
7
7
|
darkGrey = "#1F2126",
|
|
8
|
-
darkerGrey = "#141519"
|
|
8
|
+
darkerGrey = "#141519",
|
|
9
|
+
error = "#F9644D",
|
|
10
|
+
success = "#7ACC79"
|
|
9
11
|
}
|
|
10
12
|
export declare enum PrimaryRapidColorHEX {
|
|
11
13
|
blue = "#0eafe2",
|
|
@@ -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;
|
|
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;IAEtB,KAAK,YAAY;IACjB,OAAO,YAAY;CACpB;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"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Swatch, SwatchRGB } from '@microsoft/fast-components';
|
|
2
|
+
export declare const defaultErrorColor: SwatchRGB;
|
|
3
|
+
/** @public */
|
|
4
|
+
export declare const errorColor: import("@microsoft/fast-foundation").CSSDesignToken<Swatch>;
|
|
5
|
+
export declare const defaultSuccessColor: SwatchRGB;
|
|
6
|
+
/** @public */
|
|
7
|
+
export declare const successColor: import("@microsoft/fast-foundation").CSSDesignToken<Swatch>;
|
|
8
|
+
//# sourceMappingURL=custom.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"custom.d.ts","sourceRoot":"","sources":["../../../../src/_config/tokens/custom.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAU/D,eAAO,MAAM,iBAAiB,WAI7B,CAAC;AAEF,cAAc;AACd,eAAO,MAAM,UAAU,6DAA+D,CAAC;AAMvF,eAAO,MAAM,mBAAmB,WAI/B,CAAC;AAEF,cAAc;AACd,eAAO,MAAM,YAAY,6DAAmE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/_config/tokens/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/_config/tokens/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC"}
|
|
@@ -7,6 +7,8 @@ export var ColorHEX;
|
|
|
7
7
|
ColorHEX["mediumGrey"] = "#2C2F33";
|
|
8
8
|
ColorHEX["darkGrey"] = "#1F2126";
|
|
9
9
|
ColorHEX["darkerGrey"] = "#141519";
|
|
10
|
+
ColorHEX["error"] = "#F9644D";
|
|
11
|
+
ColorHEX["success"] = "#7ACC79";
|
|
10
12
|
})(ColorHEX || (ColorHEX = {}));
|
|
11
13
|
export var PrimaryRapidColorHEX;
|
|
12
14
|
(function (PrimaryRapidColorHEX) {
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { parseColorHexRGB } from '@microsoft/fast-colors';
|
|
2
|
+
import { SwatchRGB } from '@microsoft/fast-components';
|
|
3
|
+
import { DesignToken } from '@microsoft/fast-foundation';
|
|
4
|
+
import { ColorHEX } from '../../_common';
|
|
5
|
+
const { create } = DesignToken;
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
const errorColorRGB = parseColorHexRGB(ColorHEX.error);
|
|
10
|
+
export const defaultErrorColor = SwatchRGB.create(errorColorRGB.r, errorColorRGB.g, errorColorRGB.b);
|
|
11
|
+
/** @public */
|
|
12
|
+
export const errorColor = create('error-color').withDefault(defaultErrorColor);
|
|
13
|
+
/**
|
|
14
|
+
* @internal
|
|
15
|
+
*/
|
|
16
|
+
const successColorRGB = parseColorHexRGB(ColorHEX.success);
|
|
17
|
+
export const defaultSuccessColor = SwatchRGB.create(successColorRGB.r, successColorRGB.g, successColorRGB.b);
|
|
18
|
+
/** @public */
|
|
19
|
+
export const successColor = create('success-color').withDefault(defaultSuccessColor);
|
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.128.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@genesiscommunitysuccess/analyzer-import-alias-plugin": "^4.0.0",
|
|
70
|
-
"@genesislcap/genx": "14.
|
|
70
|
+
"@genesislcap/genx": "14.128.0",
|
|
71
71
|
"@storybook/addon-coverage": "^1.0.0",
|
|
72
72
|
"@storybook/addon-essentials": "^7.6.7",
|
|
73
73
|
"@storybook/addon-links": "^7.6.7",
|
|
@@ -84,10 +84,10 @@
|
|
|
84
84
|
"storybook": "^7.6.7"
|
|
85
85
|
},
|
|
86
86
|
"dependencies": {
|
|
87
|
-
"@genesislcap/foundation-comms": "14.
|
|
88
|
-
"@genesislcap/foundation-logger": "14.
|
|
89
|
-
"@genesislcap/foundation-ui": "14.
|
|
90
|
-
"@genesislcap/foundation-utils": "14.
|
|
87
|
+
"@genesislcap/foundation-comms": "14.128.0",
|
|
88
|
+
"@genesislcap/foundation-logger": "14.128.0",
|
|
89
|
+
"@genesislcap/foundation-ui": "14.128.0",
|
|
90
|
+
"@genesislcap/foundation-utils": "14.128.0",
|
|
91
91
|
"@microsoft/fast-colors": "^5.3.1",
|
|
92
92
|
"@microsoft/fast-components": "^2.30.6",
|
|
93
93
|
"@microsoft/fast-element": "^1.12.0",
|
|
@@ -104,5 +104,5 @@
|
|
|
104
104
|
"access": "public"
|
|
105
105
|
},
|
|
106
106
|
"customElements": "dist/custom-elements.json",
|
|
107
|
-
"gitHead": "
|
|
107
|
+
"gitHead": "5fc8cef3a47b0b518e28d67f03b3ac7f4df99b38"
|
|
108
108
|
}
|