@crewlethq/tokens 0.44.0 → 0.46.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.
@@ -182,6 +182,7 @@
182
182
  --size-target-min: 24px; /** The smallest a hit target may ever stand, and the same floor size.control.sm and size.row.sm carry. It is a token because a component that DERIVES a height from a control step (a chip in a well stands shorter than the control beside it) has to clamp the result itself: max(var(--size-target-min), calc(...)) holds at every density, where the step's own floor no longer can once it has been subtracted from. */
183
183
  --size-measure: 68ch; /** Prose and forms get a measure. Tables and charts deliberately do not: they are the one content that genuinely wants the whole viewport. */
184
184
  --size-measure-narrow: 48ch;
185
+ --size-measure-wide: 80ch; /** The measure for a list of statements read one at a time, such as a company's standing policies: each row is a sentence or two in the body's size, read and cited by number, so it takes a little more than prose's measure before a long one wraps, and still stops well short of the 150 characters a line a full-width card gives it at 1440. */
185
186
  --size-content-max: 1600px;
186
187
  --size-focus-ring-inset-offset: -2px; /** The outline offset for a ring drawn INSIDE its own box. Two kinds of focusable take it. A row inside a clipping scroller (a tree row, a grid row, a card header), because an outset ring there is clipped by the scroller on the first and last rows and painted over by the next row. And any control that draws a visible boundary of its own (a field, a bordered button, a chip, a card, a panel), because a ring standing off a drawn border is two edges with a gap between them, which reads as a second outline rather than as focus: at -2px the 2px ring covers a 1px border and one pixel inside it, so focus is one edge. */
187
188
  --spacing-0: 0px; /** A 4px base. Every step but this one is emitted as calc(Npx * var(--density, 1)), so a density setting reaches every gap and pad in a product and every value is unchanged at density 1. Zero is left alone: scaling it would spend a calc() on a number that cannot change. */
package/dist/index.d.ts CHANGED
@@ -262,6 +262,7 @@ export declare const size: {
262
262
  readonly targetMin: "24px";
263
263
  readonly measure: "68ch";
264
264
  readonly measureNarrow: "48ch";
265
+ readonly measureWide: "80ch";
265
266
  readonly contentMax: "1600px";
266
267
  readonly focusRingInsetOffset: "-2px";
267
268
  };
package/dist/index.js CHANGED
@@ -263,6 +263,7 @@ export const size = {
263
263
  "targetMin": "24px",
264
264
  "measure": "68ch",
265
265
  "measureNarrow": "48ch",
266
+ "measureWide": "80ch",
266
267
  "contentMax": "1600px",
267
268
  "focusRingInsetOffset": "-2px"
268
269
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crewlethq/tokens",
3
- "version": "0.44.0",
3
+ "version": "0.46.0",
4
4
  "description": "Crewlet design tokens. Single JSON source compiled to CSS variables and typed JS modules.",
5
5
  "license": "MIT AND OFL-1.1",
6
6
  "repository": {