@leaflink/stash-constants 53.6.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/index.d.ts +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/dist/src/colors.d.ts +4 -0
- package/dist/src/colors.js +27 -0
- package/dist/src/colors.js.map +1 -0
- package/package.json +31 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src/colors';
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { StashColorNames, StashColorNamesWithShades, StashColorShades } from '@leaflink/stash-types/colors';
|
|
2
|
+
export declare const stashColorNames: StashColorNames[];
|
|
3
|
+
export declare const stashColorShades: StashColorShades[];
|
|
4
|
+
export declare const stashColorNamesWithShades: StashColorNamesWithShades[];
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export const stashColorNames = [
|
|
2
|
+
'blue',
|
|
3
|
+
'green',
|
|
4
|
+
'ice',
|
|
5
|
+
'orange',
|
|
6
|
+
'purple',
|
|
7
|
+
'red',
|
|
8
|
+
'royal',
|
|
9
|
+
'seafoam',
|
|
10
|
+
'teal',
|
|
11
|
+
'yellow',
|
|
12
|
+
];
|
|
13
|
+
export const stashColorShades = [
|
|
14
|
+
'50',
|
|
15
|
+
'100',
|
|
16
|
+
'200',
|
|
17
|
+
'300',
|
|
18
|
+
'400',
|
|
19
|
+
'500',
|
|
20
|
+
'600',
|
|
21
|
+
'700',
|
|
22
|
+
'800',
|
|
23
|
+
'900',
|
|
24
|
+
'950',
|
|
25
|
+
];
|
|
26
|
+
export const stashColorNamesWithShades = stashColorNames.flatMap((colorName) => stashColorShades.map((shade) => `${colorName}-${shade}`));
|
|
27
|
+
//# sourceMappingURL=colors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colors.js","sourceRoot":"","sources":["../../src/colors.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,eAAe,GAAsB;IAChD,MAAM;IACN,OAAO;IACP,KAAK;IACL,QAAQ;IACR,QAAQ;IACR,KAAK;IACL,OAAO;IACP,SAAS;IACT,MAAM;IACN,QAAQ;CACT,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAuB;IAClD,IAAI;IACJ,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;CACN,CAAC;AAEF,MAAM,CAAC,MAAM,yBAAyB,GAAgC,eAAe,CAAC,OAAO,CAAC,CAAC,SAAS,EAAE,EAAE,CAC1G,gBAAgB,CAAC,GAAG,CAAC,CAAC,KAAK,EAA6B,EAAE,CAAC,GAAG,SAAS,IAAI,KAAK,EAAE,CAAC,CACpF,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@leaflink/stash-constants",
|
|
3
|
+
"version": "53.6.0",
|
|
4
|
+
"description": "Stash shared constants",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"publishConfig": {
|
|
7
|
+
"access": "public"
|
|
8
|
+
},
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"import": "./dist/index.js",
|
|
13
|
+
"default": "./dist/index.js"
|
|
14
|
+
},
|
|
15
|
+
"./*": {
|
|
16
|
+
"types": "./dist/src/*.d.ts",
|
|
17
|
+
"import": "./dist/src/*.js",
|
|
18
|
+
"default": "./dist/src/*.js"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"scripts": {
|
|
22
|
+
"type-check": "tsc -p tsconfig.json --noEmit",
|
|
23
|
+
"build": "tsc -p tsconfig.build.json"
|
|
24
|
+
},
|
|
25
|
+
"files": [
|
|
26
|
+
"dist"
|
|
27
|
+
],
|
|
28
|
+
"dependencies": {
|
|
29
|
+
"@leaflink/stash-types": "53.6.0"
|
|
30
|
+
}
|
|
31
|
+
}
|