@welcome-back/brand 0.12.0 → 0.14.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/README.md +54 -0
- package/dist/cjs/IllustratedIcon.js +18 -0
- package/dist/cjs/illustratedArt.generated.js +1021 -0
- package/dist/cjs/index.js +4 -1
- package/dist/esm/IllustratedIcon.d.ts +16 -0
- package/dist/esm/IllustratedIcon.js +14 -0
- package/dist/esm/categoryPalette.d.ts +2 -2
- package/dist/esm/illustratedArt.generated.d.ts +543 -0
- package/dist/esm/illustratedArt.generated.js +1018 -0
- package/dist/esm/index.d.ts +2 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/posTokens.d.ts +32 -32
- package/package.json +3 -3
package/dist/esm/index.d.ts
CHANGED
|
@@ -2,6 +2,8 @@ export { RunnerLoader } from "./RunnerLoader.js";
|
|
|
2
2
|
export type { RunnerLoaderProps } from "./RunnerLoader.js";
|
|
3
3
|
export { ModuleIcon, MODULE_ICON_NAMES } from "./ModuleIcon.js";
|
|
4
4
|
export type { ModuleIconName, ModuleIconProps } from "./ModuleIcon.js";
|
|
5
|
+
export { IllustratedIcon, ILLUSTRATED_ICONS } from "./IllustratedIcon.js";
|
|
6
|
+
export type { IllustratedIconName, IllustratedIconProps } from "./IllustratedIcon.js";
|
|
5
7
|
export { ILLUSTRATION_COLOURS } from "./illustrationColours.js";
|
|
6
8
|
export type { IllustrationColour } from "./illustrationColours.js";
|
|
7
9
|
export { POS_DARK_CLASS, POS_DARK_TOKENS, POS_TOKENS, POS_WIDE_MIN_WIDTH, posDarkTokensCss, posTokensCss, } from "./posTokens.js";
|
package/dist/esm/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { RunnerLoader } from "./RunnerLoader.js";
|
|
2
2
|
export { ModuleIcon, MODULE_ICON_NAMES } from "./ModuleIcon.js";
|
|
3
|
+
export { IllustratedIcon, ILLUSTRATED_ICONS } from "./IllustratedIcon.js";
|
|
3
4
|
export { ILLUSTRATION_COLOURS } from "./illustrationColours.js";
|
|
4
5
|
export { POS_DARK_CLASS, POS_DARK_TOKENS, POS_TOKENS, POS_WIDE_MIN_WIDTH, posDarkTokensCss, posTokensCss, } from "./posTokens.js";
|
|
5
6
|
export { CATEGORY_PALETTE, CATEGORY_PALETTE_DARK, CATEGORY_PALETTE_DARK_TOKENS, CATEGORY_PALETTE_TOKENS, DEFAULT_CATEGORY_SLOT, categorySlotForIndex, } from "./categoryPalette.js";
|
package/dist/esm/posTokens.d.ts
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
export declare const POS_TOKENS: {
|
|
2
|
-
readonly "--wb-cat-2": string;
|
|
3
|
-
readonly "--wb-cat-2-tint": string;
|
|
4
|
-
readonly "--wb-cat-2-slot": string;
|
|
5
|
-
readonly "--wb-cat-2-ink": string;
|
|
6
2
|
readonly "--wb-cat-1": string;
|
|
7
3
|
readonly "--wb-cat-1-tint": string;
|
|
8
4
|
readonly "--wb-cat-1-slot": string;
|
|
9
5
|
readonly "--wb-cat-1-ink": string;
|
|
10
|
-
readonly "--wb-cat-
|
|
11
|
-
readonly "--wb-cat-
|
|
12
|
-
readonly "--wb-cat-
|
|
13
|
-
readonly "--wb-cat-
|
|
6
|
+
readonly "--wb-cat-2": string;
|
|
7
|
+
readonly "--wb-cat-2-tint": string;
|
|
8
|
+
readonly "--wb-cat-2-slot": string;
|
|
9
|
+
readonly "--wb-cat-2-ink": string;
|
|
14
10
|
readonly "--wb-cat-3": string;
|
|
15
11
|
readonly "--wb-cat-3-tint": string;
|
|
16
12
|
readonly "--wb-cat-3-slot": string;
|
|
17
13
|
readonly "--wb-cat-3-ink": string;
|
|
18
|
-
readonly "--wb-cat-8": string;
|
|
19
|
-
readonly "--wb-cat-8-tint": string;
|
|
20
|
-
readonly "--wb-cat-8-slot": string;
|
|
21
|
-
readonly "--wb-cat-8-ink": string;
|
|
22
|
-
readonly "--wb-cat-4": string;
|
|
23
|
-
readonly "--wb-cat-4-tint": string;
|
|
24
|
-
readonly "--wb-cat-4-slot": string;
|
|
25
|
-
readonly "--wb-cat-4-ink": string;
|
|
26
14
|
readonly "--wb-cat-5": string;
|
|
27
15
|
readonly "--wb-cat-5-tint": string;
|
|
28
16
|
readonly "--wb-cat-5-slot": string;
|
|
29
17
|
readonly "--wb-cat-5-ink": string;
|
|
18
|
+
readonly "--wb-cat-4": string;
|
|
19
|
+
readonly "--wb-cat-4-tint": string;
|
|
20
|
+
readonly "--wb-cat-4-slot": string;
|
|
21
|
+
readonly "--wb-cat-4-ink": string;
|
|
22
|
+
readonly "--wb-cat-6": string;
|
|
23
|
+
readonly "--wb-cat-6-tint": string;
|
|
24
|
+
readonly "--wb-cat-6-slot": string;
|
|
25
|
+
readonly "--wb-cat-6-ink": string;
|
|
26
|
+
readonly "--wb-cat-8": string;
|
|
27
|
+
readonly "--wb-cat-8-tint": string;
|
|
28
|
+
readonly "--wb-cat-8-slot": string;
|
|
29
|
+
readonly "--wb-cat-8-ink": string;
|
|
30
30
|
readonly "--wb-cat-7": string;
|
|
31
31
|
readonly "--wb-cat-7-tint": string;
|
|
32
32
|
readonly "--wb-cat-7-slot": string;
|
|
@@ -100,34 +100,34 @@ export declare const POS_WIDE_MIN_WIDTH = 600;
|
|
|
100
100
|
* <body>; the generated stylesheet carries that rule.
|
|
101
101
|
*/
|
|
102
102
|
export declare const POS_DARK_TOKENS: {
|
|
103
|
-
readonly "--wb-cat-2": string;
|
|
104
|
-
readonly "--wb-cat-2-tint": string;
|
|
105
|
-
readonly "--wb-cat-2-slot": string;
|
|
106
|
-
readonly "--wb-cat-2-ink": string;
|
|
107
103
|
readonly "--wb-cat-1": string;
|
|
108
104
|
readonly "--wb-cat-1-tint": string;
|
|
109
105
|
readonly "--wb-cat-1-slot": string;
|
|
110
106
|
readonly "--wb-cat-1-ink": string;
|
|
111
|
-
readonly "--wb-cat-
|
|
112
|
-
readonly "--wb-cat-
|
|
113
|
-
readonly "--wb-cat-
|
|
114
|
-
readonly "--wb-cat-
|
|
107
|
+
readonly "--wb-cat-2": string;
|
|
108
|
+
readonly "--wb-cat-2-tint": string;
|
|
109
|
+
readonly "--wb-cat-2-slot": string;
|
|
110
|
+
readonly "--wb-cat-2-ink": string;
|
|
115
111
|
readonly "--wb-cat-3": string;
|
|
116
112
|
readonly "--wb-cat-3-tint": string;
|
|
117
113
|
readonly "--wb-cat-3-slot": string;
|
|
118
114
|
readonly "--wb-cat-3-ink": string;
|
|
119
|
-
readonly "--wb-cat-8": string;
|
|
120
|
-
readonly "--wb-cat-8-tint": string;
|
|
121
|
-
readonly "--wb-cat-8-slot": string;
|
|
122
|
-
readonly "--wb-cat-8-ink": string;
|
|
123
|
-
readonly "--wb-cat-4": string;
|
|
124
|
-
readonly "--wb-cat-4-tint": string;
|
|
125
|
-
readonly "--wb-cat-4-slot": string;
|
|
126
|
-
readonly "--wb-cat-4-ink": string;
|
|
127
115
|
readonly "--wb-cat-5": string;
|
|
128
116
|
readonly "--wb-cat-5-tint": string;
|
|
129
117
|
readonly "--wb-cat-5-slot": string;
|
|
130
118
|
readonly "--wb-cat-5-ink": string;
|
|
119
|
+
readonly "--wb-cat-4": string;
|
|
120
|
+
readonly "--wb-cat-4-tint": string;
|
|
121
|
+
readonly "--wb-cat-4-slot": string;
|
|
122
|
+
readonly "--wb-cat-4-ink": string;
|
|
123
|
+
readonly "--wb-cat-6": string;
|
|
124
|
+
readonly "--wb-cat-6-tint": string;
|
|
125
|
+
readonly "--wb-cat-6-slot": string;
|
|
126
|
+
readonly "--wb-cat-6-ink": string;
|
|
127
|
+
readonly "--wb-cat-8": string;
|
|
128
|
+
readonly "--wb-cat-8-tint": string;
|
|
129
|
+
readonly "--wb-cat-8-slot": string;
|
|
130
|
+
readonly "--wb-cat-8-ink": string;
|
|
131
131
|
readonly "--wb-cat-7": string;
|
|
132
132
|
readonly "--wb-cat-7-tint": string;
|
|
133
133
|
readonly "--wb-cat-7-slot": string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@welcome-back/brand",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "WelcomeBack brand assets for React apps: the running-W loader, the module icons and the POS design tokens.",
|
|
3
|
+
"version": "0.14.0",
|
|
4
|
+
"description": "WelcomeBack brand assets for React apps: the running-W loader, the module icons, 108 illustrated icons and the POS design tokens.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"dist"
|
|
25
25
|
],
|
|
26
26
|
"scripts": {
|
|
27
|
-
"build": "rm -rf dist && tsc -p tsconfig.build.json && tsc -p tsconfig.cjs.json && node scripts/mark-cjs.mjs && node scripts/write-pos-tokens-css.mjs",
|
|
27
|
+
"build": "rm -rf dist && node scripts/build-illustrations.mjs && tsc -p tsconfig.build.json && tsc -p tsconfig.cjs.json && node scripts/mark-cjs.mjs && node scripts/write-pos-tokens-css.mjs",
|
|
28
28
|
"typecheck": "tsc --noEmit",
|
|
29
29
|
"test": "vitest run",
|
|
30
30
|
"prepublishOnly": "npm run typecheck && npm test && npm run build"
|