@supertype.ai/foundations 0.1.34 → 0.1.35

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
@@ -66,7 +66,7 @@ untagged git dependency resolves to a different commit on a fresh install.
66
66
 
67
67
  ```jsonc
68
68
  // package.json
69
- "@supertype.ai/foundations": "https://github.com/supertypeai/foundations.git#v0.1.34"
69
+ "@supertype.ai/foundations": "https://github.com/supertypeai/foundations.git#v0.1.35"
70
70
  ```
71
71
 
72
72
  </details>
@@ -115,7 +115,7 @@ export declare function TypographyLabel({ className, size, as, children, ...prop
115
115
  * the tile around it already sets. Pinned tight, for the reason a badge is.
116
116
  */
117
117
  declare const statVariants: (props?: ({
118
- size?: "display" | "base" | "section" | "inherit" | "page" | "sm" | "xs" | "2xs" | "3xs" | "lg" | "xl" | "2xl" | "card" | "panel" | null | undefined;
118
+ size?: "display" | "base" | "section" | "inherit" | "page" | "sm" | "xs" | "2xs" | "3xs" | "lg" | "xl" | "2xl" | "3xl" | "card" | "panel" | null | undefined;
119
119
  tone?: "muted" | "default" | null | undefined;
120
120
  figures?: "tabular" | "proportional" | null | undefined;
121
121
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
@@ -191,6 +191,7 @@ const statVariants = cva("tracking-tight leading-none", {
191
191
  lg: "text-lg",
192
192
  xl: "text-xl",
193
193
  "2xl": "text-2xl",
194
+ "3xl": "text-3xl",
194
195
  card: "text-h4",
195
196
  panel: "text-h3",
196
197
  section: "text-h2",
package/llms.txt CHANGED
@@ -94,7 +94,7 @@ silently. Full reference: https://github.com/supertypeai/foundations
94
94
  prop each one pins is dropped from its type, so passing it fails to compile.
95
95
  - `TypographyCaption`, `TypographyLabel`, `TypographySmall`: `size?: "sm" | "xs" | "2xs" | "inherit"`, `as?`.
96
96
  - `TypographyEyebrow`: `tone?: "heading" | "label" | "muted" | "subtle"`, `size?: "sm" | "xs" | "2xs" | "3xs"`, `as?`. Each tone carries the rung it is usually set at and `size` overrides it, so omitting it changes nothing. Reach for `muted` for the uppercase micro-label a dense product sets over a group of controls, and `subtle` for a column head or rail marker read on the way past — that shape hand-rolled is the most common way an app ends up spelling type classes.
97
- - `TypographyStat`: `size?: "inherit" | "3xs" | "2xs" | "xs" | "sm" | "base" | "lg" | "xl" | "2xl" | "card" | "panel" | "section" | "page" | "display"`, `figures?: "tabular" | "proportional"`, `tone?: "default" | "muted"`. Two ladders in one axis: the rung names are the body ramp, for a figure beside interface copy it should step with, and the surface names ride the heading ladder, for a figure that is the headline. `tone="muted"` is the qualifier after a figure, "of 2,000" beside "1,284": still tight, no longer competing. Keep tabular where a value updates in place.
97
+ - `TypographyStat`: `size?: "inherit" | "3xs" | "2xs" | "xs" | "sm" | "base" | "lg" | "xl" | "2xl" | "3xl" | "card" | "panel" | "section" | "page" | "display"`, `figures?: "tabular" | "proportional"`, `tone?: "default" | "muted"`. Two ladders in one axis: the rung names are the body ramp, for a figure beside interface copy it should step with, and the surface names ride the heading ladder, for a figure that is the headline. `tone="muted"` is the qualifier after a figure, "of 2,000" beside "1,284": still tight, no longer competing. Keep tabular where a value updates in place.
98
98
  - `TypographyLink`: `href` (required), `tone?: Tone` (default `muted`), `addArrow?`, `newTab?`. The href decides internal versus external.
99
99
  - `TypographyHighlight`: `tone?: HighlightTone`, one of `"primary" | "success" | "ochre" | "terracotta" | "sage" | "fig"`, plus `seed?: number`. A separate type from `Tone` on purpose: this axis is categorical (which one it is) where `Tone` is semantic (what it means), the same split theme.css draws between the earth swatches and the status tokens.
100
100
  - `Card`: `href`, `title`, `description`, `icon`, `external`. An href makes the whole card a link.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supertype.ai/foundations",
3
- "version": "0.1.34",
3
+ "version": "0.1.35",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public",