@crewlethq/icons 0.81.0 → 0.81.2

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
@@ -99,7 +99,7 @@ import { ProductMark } from '@crewlethq/icons/product-mark';
99
99
 
100
100
  <ProductMark product="worklet" size={24} />
101
101
  <ProductMark product="chat" size="md" soon />
102
- <ProductMark product="assistant" size="sm" title="AI Assistant" />
102
+ <ProductMark product="assistant" size="sm" title="Ask Crewlet" />
103
103
  ```
104
104
 
105
105
  `@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).
@@ -112,14 +112,14 @@ import { ProductMark } from '@crewlethq/icons/product-mark';
112
112
  | `title` | string | none | Names the mark. Without one it is `aria-hidden`. |
113
113
  | `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". |
114
114
 
115
- 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 Assistant's mark with its words ("Ask" on a button, "AI Assistant" in navigation and 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.
115
+ 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.
116
116
 
117
117
  | Product | Figure |
118
118
  | ------- | ------ |
119
119
  | `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. |
120
120
  | `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. |
121
121
  | `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. |
122
- | `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: the assistant has no identity of its own, so it is a capability of Crewlet rather than a crew member. |
122
+ | `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. |
123
123
 
124
124
  ### Construction
125
125
 
@@ -152,13 +152,13 @@ Each product has two drawings. The master, `svg/product/<product>.svg` on `0 0 4
152
152
 
153
153
  ### Soon
154
154
 
155
- `soon` is derived from the drawing that is mounted, at either size, with no second file. `ProductMark.css` drops the body to an 8 percent tint, hides the facet, and paints the hidden keyline (3 units on the master, one whole pixel on the 16 grid) and the figure in the brand violet. The keyline's inner contour winds against its outer one, so it stays hollow under either fill rule. A part that would come within a pixel of the keyline on the 16 grid declares `data-soon="tuck"` and is drawn at 0.9 about its own centre (only the Assistant's main spark). The state is a class, `crewlet-product-mark--soon`, so a strict `style-src` never refuses it.
155
+ `soon` is derived from the drawing that is mounted, at either size, with no second file. `ProductMark.css` drops the body to an 8 percent tint, hides the facet, and paints the hidden keyline (3 units on the master, one whole pixel on the 16 grid) and the figure in the brand violet. The keyline's inner contour winds against its outer one, so it stays hollow under either fill rule. A part that would come within a pixel of the keyline on the 16 grid declares `data-soon="tuck"` and is drawn at 0.9 about its own centre (only the Ask Crewlet mark's main spark). The state is a class, `crewlet-product-mark--soon`, so a strict `style-src` never refuses it.
156
156
 
157
157
  **Under forced colours** (Windows high contrast) a mark draws its one colour form in the reader's system colours: the tile and facet in `CanvasText` with the figure knocked out to `Canvas`, which keeps every figure readable on any palette. Soon keeps its hollow keyline and figure in `CanvasText`, at half strength.
158
158
 
159
159
  ### Motion
160
160
 
161
- The marks never move by themselves. The Assistant's main spark carries `data-motion="turn"` and its companion `data-motion="twinkle"`, in both drawings, so a working state can move them; `ThinkingIndicator` in `@crewlethq/ui` owns that motion. Over one period of `--motion-duration-spark` (1.6s), the spark makes a quarter turn about its own centre, tucking to 0.8 through the middle of the turn so its tip passes the companion with clear violet between them, while the companion dips to 0.7 and half strength; both rest for the other half of the period. Under `prefers-reduced-motion: reduce` both animations stop and the mark holds a still working pose (the spark at 0.8, the companion at 0.7 and half strength). Any other host that moves these parts pivots them with `transform-box: fill-box; transform-origin: center`, keeps rotate and scale in one transform, and stops them under reduced motion.
161
+ The marks never move by themselves. The Ask Crewlet mark's main spark carries `data-motion="turn"` and its companion `data-motion="twinkle"`, in both drawings, so a working state can move them; `ThinkingIndicator` in `@crewlethq/ui` owns that motion. Over one period of `--motion-duration-spark` (1.6s), the spark makes a quarter turn about its own centre, tucking to 0.8 through the middle of the turn so its tip passes the companion with clear violet between them, while the companion dips to 0.7 and half strength; both rest for the other half of the period. Under `prefers-reduced-motion: reduce` both animations stop and the mark holds a still working pose (the spark at 0.8, the companion at 0.7 and half strength). Any other host that moves these parts pivots them with `transform-box: fill-box; transform-origin: center`, keeps rotate and scale in one transform, and stops them under reduced motion.
162
162
 
163
163
  ### App tiles
164
164
 
@@ -43,7 +43,7 @@
43
43
  /*
44
44
  * A part that would come within 1 px of the keyline on the 16 grid declares
45
45
  * data-soon="tuck" and is drawn one step smaller about its own centre (today
46
- * only the Assistant's main spark: tip radius 5 to 4.5, tips on whole pixel
46
+ * only the Ask Crewlet mark's main spark: tip radius 5 to 4.5, tips on whole pixel
47
47
  * edges).
48
48
  */
49
49
  .crewlet-product-mark--soon [data-soon='tuck'] {
@@ -1,5 +1,5 @@
1
1
  import { cssLength } from './chunk-TOSJN7HA.js';
2
- import './ProductMark-B6YQSAPH.css';
2
+ import './ProductMark-BXDAAYF7.css';
3
3
  import { jsx, jsxs } from 'react/jsx-runtime';
4
4
 
5
5
  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: [
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  export { CREWLET_CHARACTERS, CREWLET_CHARACTER_GEOMETRY, CrewletCharacter_default as CrewletCharacter, isCrewletCharacter } from './chunk-X7FKGFKM.js';
2
- export { PRODUCTS, ProductMark } from './chunk-7HJUA3FG.js';
2
+ export { PRODUCTS, ProductMark } from './chunk-NTW74BQM.js';
3
3
  import { cssLength } from './chunk-TOSJN7HA.js';
4
4
  import { jsxs, jsx } from 'react/jsx-runtime';
5
5
  import './CrewletFigure-4PMMCAFG.css';
@@ -34,7 +34,7 @@ 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 the Assistant
37
+ * Doclet (spaces and pages), Chat (talking with agents) and Ask Crewlet
38
38
  * (asking Crewlet itself, as the signed-in person).
39
39
  *
40
40
  * ONE FAMILY WITH THE BRAND MARK. Each stands on the same tile: the crewmate
@@ -42,7 +42,7 @@ interface ProductMarkProps extends Omit<SVGProps<SVGSVGElement>, 'title'> {
42
42
  * lower facet for the brand mark's depth. What tells them apart is one white
43
43
  * figure each: a tick over one open task (Worklet), a page with a chamfer
44
44
  * fold (Doclet), a speech bubble with the crewmate's visor (Chat), and two
45
- * sparks (the Assistant). The Assistant has no face: it acts as the person who
45
+ * sparks (Ask Crewlet). Ask Crewlet has no face: it acts as the person who
46
46
  * asks and has no identity of its own, so it is drawn as a capability of
47
47
  * Crewlet rather than as one more member of a crew.
48
48
  *
@@ -1,2 +1,2 @@
1
- export { PRODUCTS, ProductMark } from './chunk-7HJUA3FG.js';
1
+ export { PRODUCTS, ProductMark } from './chunk-NTW74BQM.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.81.0",
3
+ "version": "0.81.2",
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": {