@skipleague/design 0.4.8 → 0.4.9
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/AppLogo.d.ts +1 -1
- package/dist/AppLogo.js +4 -0
- package/dist/apps.js +1 -0
- package/package.json +1 -1
- package/src/AppLogo.tsx +11 -1
- package/src/apps.ts +1 -0
package/dist/AppLogo.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** A SkipLeague app's logo glyph (monoline, drawn on the brand tile). */
|
|
2
|
-
export type AppGlyph = "lists" | "racquetball" | "trips" | "gifts" | "reading" | "today";
|
|
2
|
+
export type AppGlyph = "lists" | "racquetball" | "trips" | "gifts" | "reading" | "today" | "flow";
|
|
3
3
|
/**
|
|
4
4
|
* The per-app logo mark — a brand-green rounded tile holding a white monoline
|
|
5
5
|
* glyph. Replaces the single-letter {@link AppBadge}; gives each SkipLeague app a
|
package/dist/AppLogo.js
CHANGED
|
@@ -18,6 +18,10 @@ function glyphPaths(app, color) {
|
|
|
18
18
|
case "today":
|
|
19
19
|
// Sun = "today" / the day.
|
|
20
20
|
return (_jsxs(_Fragment, { children: [_jsx("circle", { cx: "12", cy: "12", r: "3.8" }), _jsx("path", { d: "M12 2.6V5" }), _jsx("path", { d: "M12 19V21.4" }), _jsx("path", { d: "M2.6 12H5" }), _jsx("path", { d: "M19 12H21.4" }), _jsx("path", { d: "M5.2 5.2 6.9 6.9" }), _jsx("path", { d: "M17.1 17.1 18.8 18.8" }), _jsx("path", { d: "M18.8 5.2 17.1 6.9" }), _jsx("path", { d: "M6.9 17.1 5.2 18.8" })] }));
|
|
21
|
+
case "flow":
|
|
22
|
+
// Two workflow nodes joined by an elbow connector — orchestration
|
|
23
|
+
// ("when X happens, do Y").
|
|
24
|
+
return (_jsxs(_Fragment, { children: [_jsx("rect", { x: "3", y: "3", width: "8", height: "8", rx: "2" }), _jsx("rect", { x: "13", y: "13", width: "8", height: "8", rx: "2" }), _jsx("path", { d: "M7 11v3.5a2 2 0 0 0 2 2h3.5" })] }));
|
|
21
25
|
}
|
|
22
26
|
}
|
|
23
27
|
/**
|
package/dist/apps.js
CHANGED
|
@@ -12,6 +12,7 @@ export const SKIPLEAGUE_APPS = [
|
|
|
12
12
|
{ slug: "skipreading", name: "SkipReading", url: "https://reading.skipleague.com" },
|
|
13
13
|
{ slug: "skipgifts", name: "SkipGifts", url: "https://gifts.skipleague.com" },
|
|
14
14
|
{ slug: "skiptoday", name: "SkipToday", url: "https://today.skipleague.com" },
|
|
15
|
+
{ slug: "skipflow", name: "SkipFlow", url: "https://flow.skipleague.com" },
|
|
15
16
|
];
|
|
16
17
|
/** Default target for the menu's "Manage account" link (the platform account page). */
|
|
17
18
|
export const SKIPLEAGUE_ACCOUNT_URL = "https://skipleague.com/account";
|
package/package.json
CHANGED
package/src/AppLogo.tsx
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { CSSProperties, ReactNode } from "react";
|
|
2
2
|
|
|
3
3
|
/** A SkipLeague app's logo glyph (monoline, drawn on the brand tile). */
|
|
4
|
-
export type AppGlyph = "lists" | "racquetball" | "trips" | "gifts" | "reading" | "today";
|
|
4
|
+
export type AppGlyph = "lists" | "racquetball" | "trips" | "gifts" | "reading" | "today" | "flow";
|
|
5
5
|
|
|
6
6
|
// Exact 24×24 glyph paths (design_handoff_top_bar). `color` only matters for the
|
|
7
7
|
// racquetball ball, which is filled rather than stroked.
|
|
@@ -65,6 +65,16 @@ function glyphPaths(app: AppGlyph, color: string): ReactNode {
|
|
|
65
65
|
<path d="M6.9 17.1 5.2 18.8" />
|
|
66
66
|
</>
|
|
67
67
|
);
|
|
68
|
+
case "flow":
|
|
69
|
+
// Two workflow nodes joined by an elbow connector — orchestration
|
|
70
|
+
// ("when X happens, do Y").
|
|
71
|
+
return (
|
|
72
|
+
<>
|
|
73
|
+
<rect x="3" y="3" width="8" height="8" rx="2" />
|
|
74
|
+
<rect x="13" y="13" width="8" height="8" rx="2" />
|
|
75
|
+
<path d="M7 11v3.5a2 2 0 0 0 2 2h3.5" />
|
|
76
|
+
</>
|
|
77
|
+
);
|
|
68
78
|
}
|
|
69
79
|
}
|
|
70
80
|
|
package/src/apps.ts
CHANGED
|
@@ -22,6 +22,7 @@ export const SKIPLEAGUE_APPS: AppLink[] = [
|
|
|
22
22
|
{ slug: "skipreading", name: "SkipReading", url: "https://reading.skipleague.com" },
|
|
23
23
|
{ slug: "skipgifts", name: "SkipGifts", url: "https://gifts.skipleague.com" },
|
|
24
24
|
{ slug: "skiptoday", name: "SkipToday", url: "https://today.skipleague.com" },
|
|
25
|
+
{ slug: "skipflow", name: "SkipFlow", url: "https://flow.skipleague.com" },
|
|
25
26
|
];
|
|
26
27
|
|
|
27
28
|
/** Default target for the menu's "Manage account" link (the platform account page). */
|