@crewlethq/icons 0.130.2 → 0.131.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 CHANGED
@@ -114,28 +114,29 @@ import { ProductMark } from '@crewlethq/icons/product-mark';
114
114
  <ProductMark product="assistant" size="sm" title="Ask Crewlet" />
115
115
  ```
116
116
 
117
- `@crewlethq/icons/product-mark` is the marks' own entry, with `ProductMark`, `PRODUCTS` and their types and nothing else: its import graph reaches the drawings, the glyph frame and `ProductMark.css`, never the root with its illustrations, vendor marks and their stylesheets, so a first paint that draws one mark (an Ask button) pays for that alone whatever its bundler does with the root's side effects. The root still exports the same functions; `test/bundle.test.mjs` holds the entry's graph and what a build of it carries (about 6 KB for all eight drawings).
117
+ `@crewlethq/icons/product-mark` is the marks' own entry, with `ProductMark`, `PRODUCTS` and their types and nothing else: its import graph reaches the drawings, the glyph frame and `ProductMark.css`, never the root with its illustrations, vendor marks and their stylesheets, so a first paint that draws one mark (an Ask button) pays for that alone whatever its bundler does with the root's side effects. The root still exports the same functions; `test/bundle.test.mjs` holds the entry's graph and what a build of it carries (about 7 KB for all ten drawings).
118
118
 
119
119
  | Prop | Type | Default | Purpose |
120
120
  | ---- | ---- | ------- | ------- |
121
- | `product` | `Product`: `'worklet' \| 'doclet' \| 'chat' \| 'assistant'` | required | Which of Crewlet's own products. |
121
+ | `product` | `Product`: `'worklet' \| 'doclet' \| 'chat' \| 'gitlet' \| 'assistant'` | required | Which of Crewlet's own products. |
122
122
  | `size` | as `Glyph` | `'1em'` | How big it draws. |
123
123
  | `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)). |
124
124
  | `title` | string | none | Names the mark. Without one it is `aria-hidden`. |
125
125
  | `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". |
126
126
 
127
- The four 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.
127
+ The five 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.
128
128
 
129
129
  | Product | Figure |
130
130
  | ------- | ------ |
131
131
  | `worklet` (projects and tasks) | A large tick for the finished task over one open row: a hollow chamfered box and its line for the task still to do. Done is solid and heavy, open is hollow and light. |
132
132
  | `doclet` (spaces and pages) | A page whose corner is folded by the brand's own 45 degree chamfer, with a heading block and two lines of text. |
133
133
  | `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. |
134
+ | `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. |
134
135
  | `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. |
135
136
 
136
137
  ### Construction
137
138
 
138
- All four 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:
139
+ All five 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:
139
140
 
140
141
  | `data-part` | What it is | In |
141
142
  | ----------- | ---------- | -- |
@@ -184,7 +185,7 @@ import workletTile from '@crewlethq/icons/svg/product/app-tile/worklet.svg';
184
185
  <link rel="apple-touch-icon" href="/worklet-180.png" />
185
186
  ```
186
187
 
187
- All four 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.
188
+ All five 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.
188
189
 
189
190
  ### Raw files
190
191
 
@@ -24,6 +24,13 @@ var Doclet = (props) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/
24
24
  /* @__PURE__ */ jsx("path", { fill: "#fff", fillRule: "evenodd", d: "M16 8h10l8 8v20l-2 2H16l-2-2V10zm2 4h6v6h-6zm0 10h12v4H18zm0 8h8v4h-8z", "data-part": "detail" })
25
25
  ] });
26
26
  var Doclet_default = Doclet;
27
+ var Gitlet = (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: [
28
+ /* @__PURE__ */ jsx("path", { fill: "#7c56ff", d: "M11 2h26l9 9v26l-9 9H11l-9-9V11z", "data-part": "body" }),
29
+ /* @__PURE__ */ jsx("path", { fill: "#6a3cff", d: "M2 33v4l9 9h26l9-9v-4l-9 9H11z", "data-part": "shade" }),
30
+ /* @__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" }),
31
+ /* @__PURE__ */ jsx("path", { fill: "#fff", fillRule: "evenodd", d: "M14 8h4l3 3v4l-3 3v12l12-12-3-3v-4l3-3h4l3 3v4l-3 3v2L21 33v4l-3 3h-4l-3-3v-4l3-3V18l-3-3v-4zm0 3h4v4h-4zm16 0h4v4h-4zM14 33h4v4h-4z", "data-part": "detail" })
32
+ ] });
33
+ var Gitlet_default = Gitlet;
27
34
  var Worklet = (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: [
28
35
  /* @__PURE__ */ jsx("path", { fill: "#7c56ff", d: "M11 2h26l9 9v26l-9 9H11l-9-9V11z", "data-part": "body" }),
29
36
  /* @__PURE__ */ jsx("path", { fill: "#6a3cff", d: "M2 33v4l9 9h26l9-9v-4l-9 9H11z", "data-part": "shade" }),
@@ -50,18 +57,25 @@ var Doclet2 = (props) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org
50
57
  /* @__PURE__ */ jsx("path", { fill: "#fff", fillRule: "evenodd", d: "M4 2h5l3 3v8H4zm2 2h3v3H6zm0 4h4v1H6zm0 2h3v1H6z", "data-part": "detail" })
51
58
  ] });
52
59
  var Doclet_default2 = Doclet2;
60
+ var Gitlet2 = (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: [
61
+ /* @__PURE__ */ jsx("path", { fill: "#7c56ff", d: "M3 0h10l3 3v10l-3 3H3l-3-3V3z", "data-part": "body" }),
62
+ /* @__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" }),
63
+ /* @__PURE__ */ jsx("path", { fill: "#fff", fillRule: "evenodd", d: "M3 3h4v4H6v2h1l2-2V3h4v4h-2l-4 4v2H3V9h1V7H3zm1 1h2v2H4zm6 0h2v2h-2zm-6 6h2v2H4z", "data-part": "detail" })
64
+ ] });
65
+ var Gitlet_default2 = Gitlet2;
53
66
  var Worklet2 = (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: [
54
67
  /* @__PURE__ */ jsx("path", { fill: "#7c56ff", d: "M3 0h10l3 3v10l-3 3H3l-3-3V3z", "data-part": "body" }),
55
68
  /* @__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" }),
56
69
  /* @__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" })
57
70
  ] });
58
71
  var Worklet_default2 = Worklet2;
59
- var PRODUCTS = ["worklet", "doclet", "chat", "assistant"];
72
+ var PRODUCTS = ["worklet", "doclet", "chat", "gitlet", "assistant"];
60
73
  var MASTER_FROM = 24;
61
74
  var drawings = {
62
75
  worklet: { small: Worklet_default2, master: Worklet_default },
63
76
  doclet: { small: Doclet_default2, master: Doclet_default },
64
77
  chat: { small: Chat_default2, master: Chat_default },
78
+ gitlet: { small: Gitlet_default2, master: Gitlet_default },
65
79
  assistant: { small: Assistant_default2, master: Assistant_default }
66
80
  };
67
81
  function pixels(size) {
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-NTW74BQM.js';
3
+ export { PRODUCTS, ProductMark } from './chunk-GAICADRB.js';
4
4
  import { cssLength } from './chunk-TOSJN7HA.js';
5
5
  import { jsxs, jsx } from 'react/jsx-runtime';
6
6
  import './CrewletFigure-4PMMCAFG.css';
@@ -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", "assistant"];
6
+ declare const PRODUCTS: readonly ["worklet", "doclet", "chat", "gitlet", "assistant"];
7
7
  type Product = (typeof PRODUCTS)[number];
8
8
  /**
9
9
  * Which drawing of a mark is mounted: `small`, the 16 pixel grid drawing,
@@ -34,15 +34,16 @@ interface ProductMarkProps extends Omit<SVGProps<SVGSVGElement>, 'title'> {
34
34
  }
35
35
  /**
36
36
  * The mark of one of Crewlet's own products: Worklet (projects and tasks),
37
- * Doclet (spaces and pages), Chat (talking with agents) and Ask Crewlet
38
- * (asking Crewlet itself, as the signed-in person).
37
+ * Doclet (spaces and pages), Chat (talking with agents), Gitlet (the
38
+ * company's git repositories) and Ask Crewlet (asking Crewlet itself, as the
39
+ * signed-in person).
39
40
  *
40
41
  * ONE FAMILY WITH THE BRAND MARK. Each stands on the same tile: the crewmate
41
42
  * head's octagon, chamfered at 45 degrees, in the brand violet with a deeper
42
43
  * lower facet for the brand mark's depth. What tells them apart is one white
43
44
  * figure each: a tick over one open task (Worklet), a page with a chamfer
44
- * fold (Doclet), a speech bubble with the crewmate's visor (Chat), and two
45
- * sparks (Ask Crewlet). Ask Crewlet has no face: it acts as the person who
45
+ * fold (Doclet), a speech bubble with the crewmate's visor (Chat), a branch
46
+ * leaving its trunk (Gitlet), and two sparks (Ask Crewlet). Ask Crewlet has no face: it acts as the person who
46
47
  * asks and has no identity of its own, so it is drawn as a capability of
47
48
  * Crewlet rather than as one more member of a crew.
48
49
  *
@@ -1,2 +1,2 @@
1
- export { PRODUCTS, ProductMark } from './chunk-NTW74BQM.js';
1
+ export { PRODUCTS, ProductMark } from './chunk-GAICADRB.js';
2
2
  import './chunk-TOSJN7HA.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crewlethq/icons",
3
- "version": "0.130.2",
3
+ "version": "0.131.0",
4
4
  "description": "Crewlet signature illustrated icons, vendor marks, and the Lucide glyph set as React components.",
5
5
  "license": "MIT AND ISC",
6
6
  "repository": {
@@ -0,0 +1,6 @@
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="M60 42L72 42L81 51L81 63L72 72L72 108L108 72L99 63L99 51L108 42L120 42L129 51L129 63L120 72L120 78L81 117L81 129L72 138L60 138L51 129L51 117L60 108L60 72L51 63L51 51ZM60 51L72 51L72 63L60 63ZM108 51L120 51L120 63L108 63ZM60 117L72 117L72 129L60 129Z"/>
6
+ </svg>
@@ -0,0 +1,6 @@
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="M14 8h4l3 3v4l-3 3v12L30 18l-3-3v-4l3-3h4l3 3v4l-3 3v2L21 33v4l-3 3h-4l-3-3v-4l3-3V18l-3-3v-4zM14 11h4v4h-4zM30 11h4v4h-4zM14 33h4v4h-4z"/>
6
+ </svg>
@@ -0,0 +1,5 @@
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="M3 3h4v4H6v2h1l2-2V3h4v4h-2l-4 4v2H3V9h1V7H3zM4 4h2v2H4zM10 4h2v2h-2zM4 10h2v2H4z"/>
5
+ </svg>