@crewlethq/icons 0.159.2 → 0.160.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/README.md +5 -4
- package/dist/{chunk-GAICADRB.js → chunk-AOY5A2UR.js} +18 -2
- package/dist/index.js +1 -1
- package/dist/product-mark.d.ts +6 -4
- package/dist/product-mark.js +1 -1
- package/package.json +1 -1
- package/svg/product/advisor.svg +8 -0
- package/svg/product/app-tile/advisor.svg +8 -0
- package/svg/product/small/advisor.svg +6 -0
package/README.md
CHANGED
|
@@ -137,13 +137,13 @@ import { ProductMark } from '@crewlethq/icons/product-mark';
|
|
|
137
137
|
|
|
138
138
|
| Prop | Type | Default | Purpose |
|
|
139
139
|
| ---- | ---- | ------- | ------- |
|
|
140
|
-
| `product` | `Product`: `'worklet' \| 'doclet' \| 'chat' \| 'gitlet' \| 'assistant'` | required | Which of Crewlet's own products. |
|
|
140
|
+
| `product` | `Product`: `'worklet' \| 'doclet' \| 'chat' \| 'gitlet' \| 'assistant' \| 'advisor'` | required | Which of Crewlet's own products. |
|
|
141
141
|
| `size` | as `Glyph` | `'1em'` | How big it draws. |
|
|
142
142
|
| `drawing` | `ProductMarkDrawing`: `'auto' \| 'small' \| 'master'` | `'auto'` | Which drawing to mount. `auto` mounts the 16 pixel grid drawing below 24 px and the master from 24 px up (see [Two drawings](#two-drawings)). |
|
|
143
143
|
| `title` | string | none | Names the mark. Without one it is `aria-hidden`. |
|
|
144
144
|
| `soon` | boolean | `false` | Draws a product that has not shipped hollow: a faint violet body under a violet keyline and figure. Never grey, which is how a vendor mark says "not connected". |
|
|
145
145
|
|
|
146
|
-
The
|
|
146
|
+
The six services built into Crewlet each have a mark of their own, drawn from the brand mark's construction. `PRODUCTS` lists them. Pair the Ask Crewlet mark with its name ("Ask Crewlet" on a button, in navigation and in catalogues), because a sparkle alone is also read as "new" or "favourite"; for the same reason, Crewlet's own "new" and "soon" cues never use a four point star.
|
|
147
147
|
|
|
148
148
|
| Product | Figure |
|
|
149
149
|
| ------- | ------ |
|
|
@@ -152,10 +152,11 @@ The five services built into Crewlet each have a mark of their own, drawn from t
|
|
|
152
152
|
| `chat` (talking with agents) | A chamfered speech bubble whose one horizontal window is the crewmate's visor, cut through to the tile. The family's one crew reference, with no eyes and no face. |
|
|
153
153
|
| `gitlet` (the company's git repositories) | A branch leaving its trunk: three hollow chamfered commits, the two on the left joined by a straight trunk and the one on the upper right running down a 45 degree diagonal into the lower commit's chamfer, which meets it square. On the 16 pixel grid the commits are plain squares, as Worklet's open box is, so each keeps a one pixel wall and counter. |
|
|
154
154
|
| `assistant` (asking Crewlet itself, as the signed-in person) | A four point concave spark with a small companion spark on the 45 degree axis that points into the octagon's upper right chamfer. No face: Ask Crewlet has no identity of its own, so it is a capability of Crewlet rather than a crew member. |
|
|
155
|
+
| `advisor` (Crewlet checking the company's setup and work for what is worth changing) | A chamfered lens, the tile's own octagon drawn hollow, with its handle on the 45 degree axis toward the lower right chamfer and a tick inside: the company looked over and found sound, or a finding checked again before its fix. On the 16 pixel grid the lens keeps a one pixel wall and counter and drops the tick, which a four pixel counter cannot carry. |
|
|
155
156
|
|
|
156
157
|
### Construction
|
|
157
158
|
|
|
158
|
-
All
|
|
159
|
+
All six stand on one tile: the crewmate head's octagon on the 48 unit grid, inset 2 units, with 9 unit chamfers at 45 degrees, so its weight sits beside a vendor mark's. A lower facet gives it the brand mark's depth. One white figure tells them apart, every straight edge orthogonal or a true 45 degree diagonal and every curve a circular arc, so no size shows a staircase. Interior detail is always a knockout through to the tile, never a second tone. Each file is a handful of paths, each tagged with the part it plays:
|
|
159
160
|
|
|
160
161
|
| `data-part` | What it is | In |
|
|
161
162
|
| ----------- | ---------- | -- |
|
|
@@ -204,7 +205,7 @@ import workletTile from '@crewlethq/icons/svg/product/app-tile/worklet.svg';
|
|
|
204
205
|
<link rel="apple-touch-icon" href="/worklet-180.png" />
|
|
205
206
|
```
|
|
206
207
|
|
|
207
|
-
All
|
|
208
|
+
All six share one frame on `0 0 180 180`: a full bleed `#6a3cff` ground, the octagon redrawn for 180 px in `#7c56ff` with its lower facet in `#5c24ff`, and the master's figure at 80 percent baked into absolute coordinates. Every figure sits inside the 72 px maskable safe zone, so a manifest may list a PNG exported from it as `any maskable`; a rounded or circle mask crops the octagon's corners, which is expected. Raster pipelines export the PNG from this file, and favicons from the 16 pixel grid drawing (16 px, and 32 px at 2x). A change to a figure is baked into its app tile too.
|
|
208
209
|
|
|
209
210
|
### Raw files
|
|
210
211
|
|
|
@@ -2,6 +2,14 @@ import { cssLength } from './chunk-TOSJN7HA.js';
|
|
|
2
2
|
import './ProductMark-BXDAAYF7.css';
|
|
3
3
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
4
4
|
|
|
5
|
+
var Advisor = (props) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 48 48", width: "1em", height: "1em", "aria-hidden": "true", focusable: "false", ...props, children: [
|
|
6
|
+
/* @__PURE__ */ jsx("path", { fill: "#7c56ff", d: "M11 2h26l9 9v26l-9 9H11l-9-9V11z", "data-part": "body" }),
|
|
7
|
+
/* @__PURE__ */ jsx("path", { fill: "#6a3cff", d: "M2 33v4l9 9h26l9-9v-4l-9 9H11z", "data-part": "shade" }),
|
|
8
|
+
/* @__PURE__ */ jsx("path", { fill: "none", d: "M11 2h26l9 9v26l-9 9H11l-9-9V11zm1.24 3L5 12.24v23.52L12.24 43h23.52L43 35.76V12.24L35.76 5z", "data-part": "keyline" }),
|
|
9
|
+
/* @__PURE__ */ jsx("path", { fill: "#fff", fillRule: "evenodd", d: "M15 9h10l6 6v10l-6 6H15l-6-6V15zm2 4h6l4 4v6l-4 4h-6l-4-4v-6z", "data-part": "detail" }),
|
|
10
|
+
/* @__PURE__ */ jsx("path", { fill: "#fff", d: "m28.5 25.5 10 10-3 3-10-10zM15.5 20l2-2 2 2 3.5-3.5 2 2-5.5 5.5z", "data-part": "detail" })
|
|
11
|
+
] });
|
|
12
|
+
var Advisor_default = Advisor;
|
|
5
13
|
var Assistant = (props) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 48 48", width: "1em", height: "1em", "aria-hidden": "true", focusable: "false", ...props, children: [
|
|
6
14
|
/* @__PURE__ */ jsx("path", { fill: "#7c56ff", d: "M11 2h26l9 9v26l-9 9H11l-9-9V11z", "data-part": "body" }),
|
|
7
15
|
/* @__PURE__ */ jsx("path", { fill: "#6a3cff", d: "M2 33v4l9 9h26l9-9v-4l-9 9H11z", "data-part": "shade" }),
|
|
@@ -38,6 +46,13 @@ var Worklet = (props) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org
|
|
|
38
46
|
/* @__PURE__ */ jsx("path", { fill: "#fff", fillRule: "evenodd", d: "m20 12 4 4 8-8 4 4-12 12-8-8zm-6 16h8l2 2v8l-2 2h-8l-2-2v-8zm2 4v4h4v-4zm12 0h10v4H28z", "data-part": "detail" })
|
|
39
47
|
] });
|
|
40
48
|
var Worklet_default = Worklet;
|
|
49
|
+
var Advisor2 = (props) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em", "aria-hidden": "true", focusable: "false", ...props, children: [
|
|
50
|
+
/* @__PURE__ */ jsx("path", { fill: "#7c56ff", d: "M3 0h10l3 3v10l-3 3H3l-3-3V3z", "data-part": "body" }),
|
|
51
|
+
/* @__PURE__ */ jsx("path", { fill: "none", d: "M3 0h10l3 3v10l-3 3H3l-3-3V3zm.41 1L1 3.41v9.18L3.41 15h9.18L15 12.59V3.41L12.59 1z", "data-part": "keyline" }),
|
|
52
|
+
/* @__PURE__ */ jsx("path", { fill: "#fff", fillRule: "evenodd", d: "M4 2h4l2 2v4l-2 2H4L2 8V4zm1 2h2l1 1v2L7 8H5L4 7V5z", "data-part": "detail" }),
|
|
53
|
+
/* @__PURE__ */ jsx("path", { fill: "#fff", d: "m8.75 7.25 3.5 3.5-1.5 1.5-3.5-3.5z", "data-part": "detail" })
|
|
54
|
+
] });
|
|
55
|
+
var Advisor_default2 = Advisor2;
|
|
41
56
|
var Assistant2 = (props) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em", "aria-hidden": "true", focusable: "false", ...props, children: [
|
|
42
57
|
/* @__PURE__ */ jsx("path", { fill: "#7c56ff", d: "M3 0h10l3 3v10l-3 3H3l-3-3V3z", "data-part": "body" }),
|
|
43
58
|
/* @__PURE__ */ jsx("path", { fill: "none", d: "M3 0h10l3 3v10l-3 3H3l-3-3V3zm.41 1L1 3.41v9.18L3.41 15h9.18L15 12.59V3.41L12.59 1z", "data-part": "keyline" }),
|
|
@@ -69,14 +84,15 @@ var Worklet2 = (props) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.or
|
|
|
69
84
|
/* @__PURE__ */ jsx("path", { fill: "#fff", fillRule: "evenodd", d: "M5.5 3.5 7 5l3-3 1.5 1.5L7 8 4 5zM3 9h4v4H3zm1 1v2h2v-2zm5 0h5v2H9z", "data-part": "detail" })
|
|
70
85
|
] });
|
|
71
86
|
var Worklet_default2 = Worklet2;
|
|
72
|
-
var PRODUCTS = ["worklet", "doclet", "chat", "gitlet", "assistant"];
|
|
87
|
+
var PRODUCTS = ["worklet", "doclet", "chat", "gitlet", "assistant", "advisor"];
|
|
73
88
|
var MASTER_FROM = 24;
|
|
74
89
|
var drawings = {
|
|
75
90
|
worklet: { small: Worklet_default2, master: Worklet_default },
|
|
76
91
|
doclet: { small: Doclet_default2, master: Doclet_default },
|
|
77
92
|
chat: { small: Chat_default2, master: Chat_default },
|
|
78
93
|
gitlet: { small: Gitlet_default2, master: Gitlet_default },
|
|
79
|
-
assistant: { small: Assistant_default2, master: Assistant_default }
|
|
94
|
+
assistant: { small: Assistant_default2, master: Assistant_default },
|
|
95
|
+
advisor: { small: Advisor_default2, master: Advisor_default }
|
|
80
96
|
};
|
|
81
97
|
function pixels(size) {
|
|
82
98
|
const match = /^(\d*\.?\d+)px$/.exec(cssLength(size).trim());
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { CREWLET_CHARACTERS, CREWLET_CHARACTER_GEOMETRY, CrewletCharacter_default as CrewletCharacter, isCrewletCharacter } from './chunk-X7FKGFKM.js';
|
|
2
2
|
import { CloudGlyph } from './chunk-555QFKG5.js';
|
|
3
|
-
export { PRODUCTS, ProductMark } from './chunk-
|
|
3
|
+
export { PRODUCTS, ProductMark } from './chunk-AOY5A2UR.js';
|
|
4
4
|
import { cssLength } from './chunk-TOSJN7HA.js';
|
|
5
5
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
6
6
|
import './CrewletFigure-4PMMCAFG.css';
|
package/dist/product-mark.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { SVGProps } from 'react';
|
|
|
3
3
|
import { GlyphSize } from './glyphs.js';
|
|
4
4
|
|
|
5
5
|
/** Crewlet's own products, each with a mark of its own. */
|
|
6
|
-
declare const PRODUCTS: readonly ["worklet", "doclet", "chat", "gitlet", "assistant"];
|
|
6
|
+
declare const PRODUCTS: readonly ["worklet", "doclet", "chat", "gitlet", "assistant", "advisor"];
|
|
7
7
|
type Product = (typeof PRODUCTS)[number];
|
|
8
8
|
/**
|
|
9
9
|
* Which drawing of a mark is mounted: `small`, the 16 pixel grid drawing,
|
|
@@ -35,15 +35,17 @@ interface ProductMarkProps extends Omit<SVGProps<SVGSVGElement>, 'title'> {
|
|
|
35
35
|
/**
|
|
36
36
|
* The mark of one of Crewlet's own products: Worklet (projects and tasks),
|
|
37
37
|
* Doclet (spaces and pages), Chat (talking with agents), Gitlet (the
|
|
38
|
-
* company's git repositories)
|
|
39
|
-
* signed-in person)
|
|
38
|
+
* company's git repositories), Ask Crewlet (asking Crewlet itself, as the
|
|
39
|
+
* signed-in person) and the Advisor (Crewlet checking the company's setup and
|
|
40
|
+
* work for what is worth changing).
|
|
40
41
|
*
|
|
41
42
|
* ONE FAMILY WITH THE BRAND MARK. Each stands on the same tile: the crewmate
|
|
42
43
|
* head's octagon, chamfered at 45 degrees, in the brand violet with a deeper
|
|
43
44
|
* lower facet for the brand mark's depth. What tells them apart is one white
|
|
44
45
|
* figure each: a tick over one open task (Worklet), a page with a chamfer
|
|
45
46
|
* fold (Doclet), a speech bubble with the crewmate's visor (Chat), a branch
|
|
46
|
-
* leaving its trunk (Gitlet),
|
|
47
|
+
* leaving its trunk (Gitlet), two sparks (Ask Crewlet), and a lens over a tick
|
|
48
|
+
* (the Advisor). Ask Crewlet has no face: it acts as the person who
|
|
47
49
|
* asks and has no identity of its own, so it is drawn as a capability of
|
|
48
50
|
* Crewlet rather than as one more member of a crew.
|
|
49
51
|
*
|
package/dist/product-mark.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { PRODUCTS, ProductMark } from './chunk-
|
|
1
|
+
export { PRODUCTS, ProductMark } from './chunk-AOY5A2UR.js';
|
|
2
2
|
import './chunk-TOSJN7HA.js';
|
package/package.json
CHANGED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" fill="none">
|
|
2
|
+
<path data-part="body" fill="#7c56ff" d="M11 2h26l9 9v26l-9 9H11l-9-9V11z"/>
|
|
3
|
+
<path data-part="shade" fill="#6a3cff" d="M2 33v4l9 9h26l9-9v-4l-9 9H11z"/>
|
|
4
|
+
<path data-part="keyline" fill="none" d="M11 2h26l9 9v26l-9 9H11l-9-9V11zM12.24 5 5 12.24v23.52L12.24 43h23.52L43 35.76V12.24L35.76 5z"/>
|
|
5
|
+
<path data-part="detail" fill="#ffffff" fill-rule="evenodd" d="M15 9h10l6 6v10l-6 6H15l-6-6V15zM17 13h6l4 4v6l-4 4h-6l-4-4v-6z"/>
|
|
6
|
+
<path data-part="detail" fill="#ffffff" d="M28.5 25.5 38.5 35.5 35.5 38.5 25.5 28.5z"/>
|
|
7
|
+
<path data-part="detail" fill="#ffffff" d="M15.5 20 17.5 18 19.5 20 23 16.5 25 18.5 19.5 24z"/>
|
|
8
|
+
</svg>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 180 180" fill="none">
|
|
2
|
+
<path data-part="ground" fill="#6a3cff" d="M0 0h180v180H0z"/>
|
|
3
|
+
<path data-part="body" fill="#7c56ff" d="M45 15h90l30 30v90l-30 30H45l-30-30V45z"/>
|
|
4
|
+
<path data-part="shade" fill="#5c24ff" d="M15 123v12l30 30h90l30-30v-12l-30 30H45z"/>
|
|
5
|
+
<path data-part="detail" fill-rule="evenodd" fill="#ffffff" d="M63 45L93 45L111 63L111 93L93 111L63 111L45 93L45 63ZM69 57L87 57L99 69L99 87L87 99L69 99L57 87L57 69Z"/>
|
|
6
|
+
<path data-part="detail" fill="#ffffff" d="M103.5 94.5L133.5 124.5L124.5 133.5L94.5 103.5Z"/>
|
|
7
|
+
<path data-part="detail" fill="#ffffff" d="M64.5 78L70.5 72L76.5 78L87 67.5L93 73.5L76.5 90Z"/>
|
|
8
|
+
</svg>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none">
|
|
2
|
+
<path data-part="body" fill="#7c56ff" d="M3 0h10l3 3v10l-3 3H3l-3-3V3z"/>
|
|
3
|
+
<path data-part="keyline" fill="none" d="M3 0h10l3 3v10l-3 3H3l-3-3V3zM3.41 1 1 3.41v9.18L3.41 15h9.18L15 12.59V3.41L12.59 1z"/>
|
|
4
|
+
<path data-part="detail" fill="#ffffff" fill-rule="evenodd" d="M4 2h4l2 2v4l-2 2H4L2 8V4zM5 4h2l1 1v2l-1 1H5L4 7V5z"/>
|
|
5
|
+
<path data-part="detail" fill="#ffffff" d="M8.75 7.25 12.25 10.75 10.75 12.25 7.25 8.75z"/>
|
|
6
|
+
</svg>
|