@cloudgrid-io/ui 0.2.0 → 0.3.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
@@ -3,7 +3,7 @@
3
3
  The CloudGrid design system: CSS custom properties, a Tailwind v4 theme, self-hosted
4
4
  fonts, and the same values as machine-readable JSON.
5
5
 
6
- 43 React components, built on [Base UI](https://base-ui.com), styled only through tokens
6
+ 44 React components, built on [Base UI](https://base-ui.com), styled only through tokens
7
7
  and carrying no hardcoded colour.
8
8
 
9
9
  ## Install
@@ -0,0 +1,97 @@
1
+ /**
2
+ * What a CloudGrid entity currently IS. A coloured dot and the word for it.
3
+ *
4
+ * The first component extracted out of the CloudGrid console and into this
5
+ * library (#114), so the console can delete its own `StatusChip` and the two
6
+ * stop disagreeing about what "live" looks like. The vocabulary below is the
7
+ * console's, unchanged.
8
+ *
9
+ * ## The mapping is a table, and the table is the thing a designer edits
10
+ *
11
+ * Nine statuses, five tones. `ENTITY_STATUS_TONE` is the whole mapping and
12
+ * nothing else in this file branches on a status, so retuning what colour
13
+ * `paused` is means editing one line. `ENTITY_STATUS_LABEL` is the same
14
+ * arrangement for the words.
15
+ *
16
+ * The tones are the tokens #111 added. No component invents a colour.
17
+ *
18
+ * ## The dot carries the colour; the word does not
19
+ *
20
+ * The one deliberate departure from the console, and it is the token's own note
21
+ * that decides it: `--cg-online` is 3.40:1 on white, which "clears the 3:1 bar
22
+ * for an indicator, which is all this is ever used as. Never body text on
23
+ * white." On its own chip fill it measures 3.06:1. Painting the WORD with it
24
+ * would ship text that fails AA on the default surface.
25
+ *
26
+ * The console can colour its word because its palette carries a separate
27
+ * `--color-volt-ink` foreground tuned for exactly that. This library has no
28
+ * `-ink` variant of a state colour, and adding one is a brand decision rather
29
+ * than a component's to take.
30
+ *
31
+ * So the dot is the colour at indicator contrast and the word is `text-ink`,
32
+ * which is declared in all three scopes and flips with the surface. State is
33
+ * never colour alone in either arrangement, because the word always renders.
34
+ *
35
+ * ## Surfaces
36
+ *
37
+ * Nothing is asked of the consumer. Every value here is a token, so
38
+ * `data-cg-surface="panel"` on any ancestor flips the dot, the ground and the
39
+ * word together. The chip declares `text-ink` itself rather than inheriting,
40
+ * because text is the one thing that does not flip by inheritance.
41
+ *
42
+ * ## Grounds
43
+ *
44
+ * Four tones sit on their own fill. `offline` sits on the card ground with a
45
+ * control border instead, which is #111's decision rather than this component's:
46
+ * the muted neutral on a neutral tint measures 2.90:1, under the bar, so absence
47
+ * of state deliberately has no fill of its own.
48
+ */
49
+ /**
50
+ * Every state an entity can be in, in the order a surface should list them:
51
+ * serving first, terminal last. The console's vocabulary, unchanged.
52
+ *
53
+ * The array is the source and the type is derived from it, rather than the two
54
+ * being written out separately. A status added here is immediately missing from
55
+ * both tables below and typecheck says so, which is the only arrangement where
56
+ * a half-added status cannot ship.
57
+ */
58
+ export declare const ENTITY_STATUS_ORDER: readonly ["live", "building", "charged", "draft", "paused", "stopped", "archived", "expired", "error"];
59
+ export type EntityStatusName = (typeof ENTITY_STATUS_ORDER)[number];
60
+ /** The five families of the state palette. One token pair each. */
61
+ export type EntityStatusTone = "online" | "pending" | "offline" | "expired" | "danger";
62
+ /**
63
+ * THE MAPPING. Edit this to change what a status looks like.
64
+ *
65
+ * Founder decisions, 2026-08-24 (#114), recorded because two of them are not
66
+ * what a reader would guess:
67
+ *
68
+ * `building` is PENDING, not offline. Progress reads warm, not dead-grey, and
69
+ * a building entity may still be serving its previous version — so grey would
70
+ * be wrong twice over. `--cg-pending` is an alias of `--cg-expired`, so the two
71
+ * are one amber today and can be separated later without touching a consumer.
72
+ *
73
+ * `charged` is OFFLINE, not online. A charged entity is a reserved cell on the
74
+ * grid waiting to be plugged; if nothing arrives it expires and is archived. It
75
+ * is not serving and it is not ready, so green would claim something untrue.
76
+ * Worth knowing that "reserved and waiting" is a different idea from "paused,
77
+ * stopped, archived, draft", and a designer may want to split it out later. It
78
+ * shares their tone today because the library has no token for that idea.
79
+ *
80
+ * `live` is the library's green, explicitly not the console's lime: the brand
81
+ * has already spent lime on decoration, so a lime "live" would not read as a
82
+ * signal.
83
+ */
84
+ export declare const ENTITY_STATUS_TONE: Record<EntityStatusName, EntityStatusTone>;
85
+ /**
86
+ * The word each status shows. Plain and specific: the state, not a sentence
87
+ * about it. Override per instance with the `label` prop when a surface knows
88
+ * something more exact, e.g. "Build failed" rather than "Error".
89
+ */
90
+ export declare const ENTITY_STATUS_LABEL: Record<EntityStatusName, string>;
91
+ declare function EntityStatus({ status, label, className, ...props }: Omit<React.ComponentProps<"span">, "children"> & {
92
+ status: EntityStatusName;
93
+ /** Overrides the default word. The word always renders; there is no dot-only form. */
94
+ label?: React.ReactNode;
95
+ }): import("react").JSX.Element;
96
+ export { EntityStatus };
97
+ //# sourceMappingURL=entity-status.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entity-status.d.ts","sourceRoot":"","sources":["../../src/blocks/entity-status.tsx"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AAEH;;;;;;;;GAQG;AACH,eAAO,MAAM,mBAAmB,wGAUtB,CAAA;AAEV,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAA;AAEnE,mEAAmE;AACnE,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAA;AAEtF;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,gBAAgB,EAAE,gBAAgB,CAUzE,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,gBAAgB,EAAE,MAAM,CAUhE,CAAA;AAkBD,iBAAS,YAAY,CAAC,EACpB,MAAM,EACN,KAAK,EACL,SAAS,EACT,GAAG,KAAK,EACT,EAAE,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,EAAE,UAAU,CAAC,GAAG;IAClD,MAAM,EAAE,gBAAgB,CAAA;IACxB,sFAAsF;IACtF,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CACxB,+BAqCA;AAED,OAAO,EAAE,YAAY,EAAE,CAAA"}
@@ -0,0 +1,146 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { cn } from "../lib/cloudgrid-cn.js";
3
+ /**
4
+ * What a CloudGrid entity currently IS. A coloured dot and the word for it.
5
+ *
6
+ * The first component extracted out of the CloudGrid console and into this
7
+ * library (#114), so the console can delete its own `StatusChip` and the two
8
+ * stop disagreeing about what "live" looks like. The vocabulary below is the
9
+ * console's, unchanged.
10
+ *
11
+ * ## The mapping is a table, and the table is the thing a designer edits
12
+ *
13
+ * Nine statuses, five tones. `ENTITY_STATUS_TONE` is the whole mapping and
14
+ * nothing else in this file branches on a status, so retuning what colour
15
+ * `paused` is means editing one line. `ENTITY_STATUS_LABEL` is the same
16
+ * arrangement for the words.
17
+ *
18
+ * The tones are the tokens #111 added. No component invents a colour.
19
+ *
20
+ * ## The dot carries the colour; the word does not
21
+ *
22
+ * The one deliberate departure from the console, and it is the token's own note
23
+ * that decides it: `--cg-online` is 3.40:1 on white, which "clears the 3:1 bar
24
+ * for an indicator, which is all this is ever used as. Never body text on
25
+ * white." On its own chip fill it measures 3.06:1. Painting the WORD with it
26
+ * would ship text that fails AA on the default surface.
27
+ *
28
+ * The console can colour its word because its palette carries a separate
29
+ * `--color-volt-ink` foreground tuned for exactly that. This library has no
30
+ * `-ink` variant of a state colour, and adding one is a brand decision rather
31
+ * than a component's to take.
32
+ *
33
+ * So the dot is the colour at indicator contrast and the word is `text-ink`,
34
+ * which is declared in all three scopes and flips with the surface. State is
35
+ * never colour alone in either arrangement, because the word always renders.
36
+ *
37
+ * ## Surfaces
38
+ *
39
+ * Nothing is asked of the consumer. Every value here is a token, so
40
+ * `data-cg-surface="panel"` on any ancestor flips the dot, the ground and the
41
+ * word together. The chip declares `text-ink` itself rather than inheriting,
42
+ * because text is the one thing that does not flip by inheritance.
43
+ *
44
+ * ## Grounds
45
+ *
46
+ * Four tones sit on their own fill. `offline` sits on the card ground with a
47
+ * control border instead, which is #111's decision rather than this component's:
48
+ * the muted neutral on a neutral tint measures 2.90:1, under the bar, so absence
49
+ * of state deliberately has no fill of its own.
50
+ */
51
+ /**
52
+ * Every state an entity can be in, in the order a surface should list them:
53
+ * serving first, terminal last. The console's vocabulary, unchanged.
54
+ *
55
+ * The array is the source and the type is derived from it, rather than the two
56
+ * being written out separately. A status added here is immediately missing from
57
+ * both tables below and typecheck says so, which is the only arrangement where
58
+ * a half-added status cannot ship.
59
+ */
60
+ export const ENTITY_STATUS_ORDER = [
61
+ "live",
62
+ "building",
63
+ "charged",
64
+ "draft",
65
+ "paused",
66
+ "stopped",
67
+ "archived",
68
+ "expired",
69
+ "error",
70
+ ];
71
+ /**
72
+ * THE MAPPING. Edit this to change what a status looks like.
73
+ *
74
+ * Founder decisions, 2026-08-24 (#114), recorded because two of them are not
75
+ * what a reader would guess:
76
+ *
77
+ * `building` is PENDING, not offline. Progress reads warm, not dead-grey, and
78
+ * a building entity may still be serving its previous version — so grey would
79
+ * be wrong twice over. `--cg-pending` is an alias of `--cg-expired`, so the two
80
+ * are one amber today and can be separated later without touching a consumer.
81
+ *
82
+ * `charged` is OFFLINE, not online. A charged entity is a reserved cell on the
83
+ * grid waiting to be plugged; if nothing arrives it expires and is archived. It
84
+ * is not serving and it is not ready, so green would claim something untrue.
85
+ * Worth knowing that "reserved and waiting" is a different idea from "paused,
86
+ * stopped, archived, draft", and a designer may want to split it out later. It
87
+ * shares their tone today because the library has no token for that idea.
88
+ *
89
+ * `live` is the library's green, explicitly not the console's lime: the brand
90
+ * has already spent lime on decoration, so a lime "live" would not read as a
91
+ * signal.
92
+ */
93
+ export const ENTITY_STATUS_TONE = {
94
+ live: "online",
95
+ building: "pending",
96
+ charged: "offline",
97
+ draft: "offline",
98
+ paused: "offline",
99
+ stopped: "offline",
100
+ archived: "offline",
101
+ expired: "expired",
102
+ error: "danger",
103
+ };
104
+ /**
105
+ * The word each status shows. Plain and specific: the state, not a sentence
106
+ * about it. Override per instance with the `label` prop when a surface knows
107
+ * something more exact, e.g. "Build failed" rather than "Error".
108
+ */
109
+ export const ENTITY_STATUS_LABEL = {
110
+ live: "Live",
111
+ building: "Building",
112
+ charged: "Charged",
113
+ draft: "Draft",
114
+ paused: "Paused",
115
+ stopped: "Stopped",
116
+ archived: "Archived",
117
+ expired: "Expired",
118
+ error: "Error",
119
+ };
120
+ /**
121
+ * Tone to classes. Two slots: the chip's ground and the dot's colour.
122
+ *
123
+ * Every entry is a utility over a `--cg-*` token, so all of it flips per
124
+ * surface. A literal here would look correct on white and be the one wrong
125
+ * thing on a purple panel.
126
+ */
127
+ const TONE_STYLE = {
128
+ online: { chip: "border-transparent bg-online-fill", dot: "bg-online" },
129
+ pending: { chip: "border-transparent bg-pending-fill", dot: "bg-pending" },
130
+ expired: { chip: "border-transparent bg-expired-fill", dot: "bg-expired" },
131
+ danger: { chip: "border-transparent bg-danger-fill", dot: "bg-danger" },
132
+ // No fill, by design. See the note at the top and #111's own.
133
+ offline: { chip: "border-line bg-card", dot: "bg-offline" },
134
+ };
135
+ function EntityStatus({ status, label, className, ...props }) {
136
+ const tone = ENTITY_STATUS_TONE[status];
137
+ const style = TONE_STYLE[tone];
138
+ return (_jsxs("span", { "data-slot": "entity-status", "data-status": status, "data-tone": tone, className: cn("inline-flex w-fit shrink-0 items-center gap-1.5 rounded-pill border px-2.5 py-0.5 text-caption font-medium whitespace-nowrap text-ink", style.chip, className), ...props, children: [_jsx("span", { "aria-hidden": "true", "data-slot": "entity-status-dot", className: cn("size-1.5 shrink-0 rounded-pill", style.dot,
139
+ // Progress, drawn rather than only named. `motion-safe:` rather than a
140
+ // global prefers-reduced-motion rule, because the variant travels with
141
+ // this file into a consumer's repo and a rule in our stylesheet does
142
+ // not. Same reasoning as AgentPrompt's caret.
143
+ status === "building" && "motion-safe:animate-pulse") }), label ?? ENTITY_STATUS_LABEL[status]] }));
144
+ }
145
+ export { EntityStatus };
146
+ //# sourceMappingURL=entity-status.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entity-status.js","sourceRoot":"","sources":["../../src/blocks/entity-status.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,oBAAoB,CAAA;AAEvC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AAEH;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,MAAM;IACN,UAAU;IACV,SAAS;IACT,OAAO;IACP,QAAQ;IACR,SAAS;IACT,UAAU;IACV,SAAS;IACT,OAAO;CACC,CAAA;AAOV;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAA+C;IAC5E,IAAI,EAAE,QAAQ;IACd,QAAQ,EAAE,SAAS;IACnB,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,SAAS;IAChB,MAAM,EAAE,SAAS;IACjB,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,SAAS;IACnB,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,QAAQ;CAChB,CAAA;AAED;;;;GAIG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAqC;IACnE,IAAI,EAAE,MAAM;IACZ,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;CACf,CAAA;AAED;;;;;;GAMG;AACH,MAAM,UAAU,GAA4D;IAC1E,MAAM,EAAE,EAAE,IAAI,EAAE,mCAAmC,EAAE,GAAG,EAAE,WAAW,EAAE;IACvE,OAAO,EAAE,EAAE,IAAI,EAAE,oCAAoC,EAAE,GAAG,EAAE,YAAY,EAAE;IAC1E,OAAO,EAAE,EAAE,IAAI,EAAE,oCAAoC,EAAE,GAAG,EAAE,YAAY,EAAE;IAC1E,MAAM,EAAE,EAAE,IAAI,EAAE,mCAAmC,EAAE,GAAG,EAAE,WAAW,EAAE;IACvE,8DAA8D;IAC9D,OAAO,EAAE,EAAE,IAAI,EAAE,qBAAqB,EAAE,GAAG,EAAE,YAAY,EAAE;CAC5D,CAAA;AAED,SAAS,YAAY,CAAC,EACpB,MAAM,EACN,KAAK,EACL,SAAS,EACT,GAAG,KAAK,EAKT;IACC,MAAM,IAAI,GAAG,kBAAkB,CAAC,MAAM,CAAC,CAAA;IACvC,MAAM,KAAK,GAAG,UAAU,CAAC,IAAI,CAAC,CAAA;IAE9B,OAAO,CACL,6BACY,eAAe,iBAIZ,MAAM,eACR,IAAI,EACf,SAAS,EAAE,EAAE,CACX,uIAAuI,EACvI,KAAK,CAAC,IAAI,EACV,SAAS,CACV,KACG,KAAK,aAET,8BAGc,MAAM,eACR,mBAAmB,EAC7B,SAAS,EAAE,EAAE,CACX,gCAAgC,EAChC,KAAK,CAAC,GAAG;gBACT,uEAAuE;gBACvE,uEAAuE;gBACvE,qEAAqE;gBACrE,8CAA8C;gBAC9C,MAAM,KAAK,UAAU,IAAI,2BAA2B,CACrD,GACD,EACD,KAAK,IAAI,mBAAmB,CAAC,MAAM,CAAC,IAChC,CACR,CAAA;AACH,CAAC;AAED,OAAO,EAAE,YAAY,EAAE,CAAA"}
package/dist/index.d.ts CHANGED
@@ -27,6 +27,7 @@ export * from "./blocks/compare-table.js";
27
27
  export * from "./blocks/creation-tile.js";
28
28
  export * from "./blocks/cta-banner.js";
29
29
  export * from "./blocks/drop-zone.js";
30
+ export * from "./blocks/entity-status.js";
30
31
  export * from "./blocks/feature-cells.js";
31
32
  export * from "./blocks/hub-index.js";
32
33
  export * from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AAA;AACrC,cAAc,wBAAwB,CAAA;AAGtC,cAAc,uBAAuB,CAAA"}
package/dist/index.js CHANGED
@@ -1,14 +1,14 @@
1
1
  // The public surface of @cloudgrid-io/ui.
2
2
  //
3
3
  // GENERATED shape, hand-committed: one `export *` per component module. Flat is
4
- // safe here — the 146 exported names across all 43 components collide zero times,
4
+ // safe here — the exported names across all 44 components collide zero times,
5
5
  // asserted by a test so a future addition cannot break it silently.
6
6
  //
7
7
  // Per-module re-exports rather than a bundle, deliberately. 20 of these carry a
8
8
  // "use client" directive, and the client boundary is a property of the MODULE.
9
9
  // tsc emits file-per-file and preserves the directive, so a React Server
10
10
  // Component consumer keeps exactly the boundaries the source declares. Bundling
11
- // them into one file would collapse 43 modules into a single client island.
11
+ // them into one file would collapse 44 modules into a single client island.
12
12
  //
13
13
  // The CSS is NOT imported here. It ships as separate entry points
14
14
  // (@cloudgrid-io/ui/tokens.css and friends) so a consumer with no React — the
@@ -44,6 +44,7 @@ export * from "./blocks/compare-table.js";
44
44
  export * from "./blocks/creation-tile.js";
45
45
  export * from "./blocks/cta-banner.js";
46
46
  export * from "./blocks/drop-zone.js";
47
+ export * from "./blocks/entity-status.js";
47
48
  export * from "./blocks/feature-cells.js";
48
49
  export * from "./blocks/hub-index.js";
49
50
  export * from "./blocks/logo.js";
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,0CAA0C;AAC1C,EAAE;AACF,gFAAgF;AAChF,kFAAkF;AAClF,oEAAoE;AACpE,EAAE;AACF,gFAAgF;AAChF,+EAA+E;AAC/E,yEAAyE;AACzE,gFAAgF;AAChF,4EAA4E;AAC5E,EAAE;AACF,kEAAkE;AAClE,8EAA8E;AAC9E,uEAAuE;AAEvE,cAAc;AACd,cAAc,mBAAmB,CAAA;AACjC,cAAc,eAAe,CAAA;AAC7B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,cAAc,CAAA;A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c,yBAAyB,CAAA;AACvC,cAAc,uBAAuB,CAAA;AACrC,cAAc,uBAAuB,CAAA;AACrC,cAAc,wBAAwB,CAAA;AAEtC,0EAA0E;AAC1E,cAAc,uBAAuB,CAAA"}
package/dist/theme.css CHANGED
@@ -97,6 +97,36 @@
97
97
  --destructive to the same token, so both spellings resolve to one source. */
98
98
  --color-danger: var(--cg-danger);
99
99
 
100
+ /* ---- state ----
101
+ What an entity IS: online, offline, pending, expired, and danger above.
102
+
103
+ #111 added the tokens and stopped there, so for one release the state
104
+ palette was reachable only as raw var(--cg-online). That is the shape #30
105
+ and #91 both found people get wrong: `danger` had utilities and its five
106
+ siblings did not, so the first consumer of the state palette would either
107
+ hardcode an escape hatch or reach for `text-accent` and get a surface.
108
+
109
+ Each name serves every colour utility, so --color-online gives text-online,
110
+ bg-online and border-online alike.
111
+
112
+ Checked against rule 4 before claiming these: shadcn owns background,
113
+ foreground, card, popover, primary, secondary, muted, accent, destructive,
114
+ border, input, ring, chart-* and sidebar-*. None of these collide.
115
+
116
+ There is no --color-offline-fill, because there is no --cg-offline-fill.
117
+ #111's note explains why, and it is a design decision rather than an
118
+ omission: the muted neutral on a neutral tint measures 2.90:1, under the
119
+ 3:1 bar, so an unplugged chip uses the card ground and border-control
120
+ instead. A utility here would have to invent the value it maps. */
121
+ --color-online: var(--cg-online);
122
+ --color-online-fill: var(--cg-online-fill);
123
+ --color-offline: var(--cg-offline);
124
+ --color-pending: var(--cg-pending);
125
+ --color-pending-fill: var(--cg-pending-fill);
126
+ --color-expired: var(--cg-expired);
127
+ --color-expired-fill: var(--cg-expired-fill);
128
+ --color-danger-fill: var(--cg-danger-fill);
129
+
100
130
  /* ---- lines ---- */
101
131
  --color-hairline: var(--cg-border-hairline);
102
132
  --color-line: var(--cg-border-control);
@@ -52,7 +52,7 @@
52
52
  }
53
53
  },
54
54
  "state": {
55
- "$description": "state: what an entity IS, not what it means editorially.\n\nAdopted from the Console rather than invented, 2026-08-24 (#96). The Console\nhad already chosen and contrast-tested these — --color-live and\n--color-attention — while the brand carried no state colour at all beyond the\ndanger placeholder. Taking its values means the Console's appearance does not\nchange when it starts consuming this package, and the two stop disagreeing\nabout what 'live' looks like.\n\nEach carries per-surface values in surface-panel and surface-ink, for the same\nreason danger does: measured against all three grounds, no single value works.\nThe live green is 1.72:1 on the purple panel, and the brand's own lime is\n1.54:1 on white. A flat value would be invisible somewhere.\n\nNo --cg-offline-fill, deliberately. Measured, the pair does not work: the\nmuted neutral on a neutral tint is 2.90:1, under the 3:1 bar for a dot or a\nborder. Rather than invent a value to satisfy the ratio, an unplugged chip\nuses the existing surface-card ground with border-control, and --cg-offline\nis the dot on that ground, where it measures 3.28:1. Absence of state should\nnot need a colour of its own.",
55
+ "$description": "state: what an entity IS, not what it means editorially.\n\nAdopted from the Console rather than invented, 2026-08-24 (#96). The Console\nhad already chosen and contrast-tested these — --color-live and\n--color-attention — while the brand carried no state colour at all beyond the\ndanger placeholder. Taking its values means the Console's appearance does not\nchange when it starts consuming this package, and the two stop disagreeing\nabout what 'live' looks like.\n\nEach carries per-surface values in surface-panel and surface-ink, for the same\nreason danger does: measured against all three grounds, no single value works.\nThe live green is 1.72:1 on the purple panel, and the brand's own lime is\n1.54:1 on white. A flat value would be invisible somewhere.\n\nNo --cg-offline-fill, deliberately. Measured, the pair does not work: the\nmuted neutral on a neutral tint is 2.90:1, under the 3:1 bar for a dot or a\nborder. Rather than invent a value to satisfy the ratio, an unplugged chip\nuses the existing surface-card ground with border-control, and --cg-offline\nis the dot on that ground, where it measures 3.28:1. Absence of state should\nnot need a colour of its own.\n\npending joined them on 2026-08-24 (#114) as an ALIAS of expired rather than a\nnew value. Same amber today, separate name, so the two can diverge later with\na one-line edit here and no change in any consumer. Aliases compile to var(),\nso the flip survives.",
56
56
  "online": {
57
57
  "$value": "#00a05c",
58
58
  "$type": "color",
@@ -82,6 +82,15 @@
82
82
  }
83
83
  }
84
84
  },
85
+ "pending": {
86
+ "$value": "{state.expired}",
87
+ "$description": "In progress. Deliberately an ALIAS of expired rather than the same hex written twice: the two are one amber today and they are not the same idea, so a designer must be able to separate them without touching a consumer.\n\nExpired is terminal, pending is transitional, and warm is the honest reading for both. Grey would be wrong twice over for a building entity, because it is not absence and because a building entity may still be serving its previous version.\n\nFounder decision 2026-08-24, issue #114: \"building is like something in progress, something in between amber and yellow and orange.\"",
88
+ "$extensions": {
89
+ "io.cloudgrid": {
90
+ "css": "--cg-pending"
91
+ }
92
+ }
93
+ },
85
94
  "online-fill": {
86
95
  "$value": "#e6f7ef",
87
96
  "$type": "color",
@@ -102,6 +111,15 @@
102
111
  }
103
112
  }
104
113
  },
114
+ "pending-fill": {
115
+ "$value": "{state.expired-fill}",
116
+ "$description": "The chip ground for pending, aliased to expired's for the same reason the foreground is. Splitting pending from expired later means editing these two entries and nothing else.",
117
+ "$extensions": {
118
+ "io.cloudgrid": {
119
+ "css": "--cg-pending-fill"
120
+ }
121
+ }
122
+ },
105
123
  "danger-fill": {
106
124
  "$value": "#fceded",
107
125
  "$type": "color",
@@ -134,7 +134,7 @@
134
134
  }
135
135
  },
136
136
  "state": {
137
- "$description": "state: the per-surface values for online/offline/expired. Same necessity as danger — measured, not assumed.",
137
+ "$description": "state: the per-surface values for online/offline/expired. Same necessity as danger — measured, not assumed. pending is an alias of expired (#114), declared here so it flips rather than freezing to the base scope.",
138
138
  "online": {
139
139
  "$value": "#5FD99A",
140
140
  "$type": "color",
@@ -165,6 +165,15 @@
165
165
  }
166
166
  }
167
167
  },
168
+ "pending": {
169
+ "$value": "{state.expired}",
170
+ "$description": "Aliased to expired, which is 8.63:1 on #222. Declared here as well as at :root because an alias is substituted where it is DECLARED — a :root-only pending would freeze to the white-surface amber and stop flipping, with no error.",
171
+ "$extensions": {
172
+ "io.cloudgrid": {
173
+ "css": "--cg-pending"
174
+ }
175
+ }
176
+ },
168
177
  "online-fill": {
169
178
  "$value": "rgba(255, 255, 255, 0.08)",
170
179
  "$type": "color",
@@ -185,6 +194,15 @@
185
194
  }
186
195
  }
187
196
  },
197
+ "pending-fill": {
198
+ "$value": "{state.expired-fill}",
199
+ "$description": "Aliased to expired-fill. Declared per scope for the same reason the foreground is.",
200
+ "$extensions": {
201
+ "io.cloudgrid": {
202
+ "css": "--cg-pending-fill"
203
+ }
204
+ }
205
+ },
188
206
  "danger-fill": {
189
207
  "$value": "rgba(255, 255, 255, 0.08)",
190
208
  "$type": "color",
@@ -118,7 +118,7 @@
118
118
  }
119
119
  },
120
120
  "state": {
121
- "$description": "state: the per-surface values for online/offline/expired. Same necessity as danger — measured, not assumed.",
121
+ "$description": "state: the per-surface values for online/offline/expired. Same necessity as danger — measured, not assumed. pending is an alias of expired (#114), declared here so it flips rather than freezing to the base scope.",
122
122
  "online": {
123
123
  "$value": "#C8F5DC",
124
124
  "$type": "color",
@@ -149,6 +149,15 @@
149
149
  }
150
150
  }
151
151
  },
152
+ "pending": {
153
+ "$value": "{state.expired}",
154
+ "$description": "Aliased to expired, which is 4.68:1 on the purple. Declared here as well as at :root because an alias is substituted where it is DECLARED — a :root-only pending would freeze to the white-surface amber and stop flipping, with no error.",
155
+ "$extensions": {
156
+ "io.cloudgrid": {
157
+ "css": "--cg-pending"
158
+ }
159
+ }
160
+ },
152
161
  "online-fill": {
153
162
  "$value": "rgba(255, 255, 255, 0.16)",
154
163
  "$type": "color",
@@ -169,6 +178,15 @@
169
178
  }
170
179
  }
171
180
  },
181
+ "pending-fill": {
182
+ "$value": "{state.expired-fill}",
183
+ "$description": "Aliased to expired-fill. Declared per scope for the same reason the foreground is.",
184
+ "$extensions": {
185
+ "io.cloudgrid": {
186
+ "css": "--cg-pending-fill"
187
+ }
188
+ }
189
+ },
172
190
  "danger-fill": {
173
191
  "$value": "rgba(255, 255, 255, 0.16)",
174
192
  "$type": "color",
package/dist/tokens.css CHANGED
@@ -93,7 +93,12 @@
93
93
  border. Rather than invent a value to satisfy the ratio, an unplugged chip
94
94
  uses the existing surface-card ground with border-control, and --cg-offline
95
95
  is the dot on that ground, where it measures 3.28:1. Absence of state should
96
- not need a colour of its own. */
96
+ not need a colour of its own.
97
+
98
+ pending joined them on 2026-08-24 (#114) as an ALIAS of expired rather than a
99
+ new value. Same amber today, separate name, so the two can diverge later with
100
+ a one-line edit here and no change in any consumer. Aliases compile to var(),
101
+ so the flip survives. */
97
102
  /*
98
103
  Serving. From the Console's --color-live. 3.40:1 on white — clears the 3:1 bar for an indicator, which is all this is ever used as. Never body text on white. */
99
104
  --cg-online: #00a05c;
@@ -103,12 +108,22 @@
103
108
  /*
104
109
  Past its 30-day life and no longer served. From the Console's --color-attention. 4.39:1 on white. Amber rather than red: expiry is the documented default for a drop, not a fault. */
105
110
  --cg-expired: #b0662a;
111
+ /*
112
+ In progress. Deliberately an ALIAS of expired rather than the same hex written twice: the two are one amber today and they are not the same idea, so a designer must be able to separate them without touching a consumer.
113
+
114
+ Expired is terminal, pending is transitional, and warm is the honest reading for both. Grey would be wrong twice over for a building entity, because it is not absence and because a building entity may still be serving its previous version.
115
+
116
+ Founder decision 2026-08-24, issue #114: "building is like something in progress, something in between amber and yellow and orange." */
117
+ --cg-pending: var(--cg-expired);
106
118
  /*
107
119
  From the Console's --color-live-fill. --cg-online measures 3.06:1 on it. */
108
120
  --cg-online-fill: #e6f7ef;
109
121
  /*
110
122
  From the Console's --color-attention-fill. --cg-expired measures 3.99:1 on it. */
111
123
  --cg-expired-fill: #fdf3e0;
124
+ /*
125
+ The chip ground for pending, aliased to expired's for the same reason the foreground is. Splitting pending from expired later means editing these two entries and nothing else. */
126
+ --cg-pending-fill: var(--cg-expired-fill);
112
127
  /*
113
128
  From the Console's --color-error-fill. --cg-danger measures 3.72:1 on it. danger had no fill before; a chip needs one. */
114
129
  --cg-danger-fill: #fceded;
@@ -317,7 +332,7 @@
317
332
  --cg-danger: #FFDAD6;
318
333
 
319
334
  /* ---- state ----
320
- state: the per-surface values for online/offline/expired. Same necessity as danger — measured, not assumed. */
335
+ state: the per-surface values for online/offline/expired. Same necessity as danger — measured, not assumed. pending is an alias of expired (#114), declared here so it flips rather than freezing to the base scope. */
321
336
  /*
322
337
  4.88:1 on the purple. The source green is 1.72:1 here — invisible, same class as the danger override. */
323
338
  --cg-online: #C8F5DC;
@@ -327,12 +342,18 @@
327
342
  /*
328
343
  4.68:1. The amber as a tint; the source value is 1.38:1 on this ground. */
329
344
  --cg-expired: #FFE2B8;
345
+ /*
346
+ Aliased to expired, which is 4.68:1 on the purple. Declared here as well as at :root because an alias is substituted where it is DECLARED — a :root-only pending would freeze to the white-surface amber and stop flipping, with no error. */
347
+ --cg-pending: var(--cg-expired);
330
348
  /*
331
349
  Translucent white rather than a tint; the panel foreground measures 3.62:1 on it. */
332
350
  --cg-online-fill: rgba(255, 255, 255, 0.16);
333
351
  /*
334
352
  Translucent white rather than a tint; the panel foreground measures 3.47:1 on it. */
335
353
  --cg-expired-fill: rgba(255, 255, 255, 0.16);
354
+ /*
355
+ Aliased to expired-fill. Declared per scope for the same reason the foreground is. */
356
+ --cg-pending-fill: var(--cg-expired-fill);
336
357
  /*
337
358
  Translucent white rather than a tint; the panel foreground measures 3.35:1 on it. */
338
359
  --cg-danger-fill: rgba(255, 255, 255, 0.16);
@@ -368,7 +389,7 @@
368
389
  --cg-danger: #FF8A80;
369
390
 
370
391
  /* ---- state ----
371
- state: the per-surface values for online/offline/expired. Same necessity as danger — measured, not assumed. */
392
+ state: the per-surface values for online/offline/expired. Same necessity as danger — measured, not assumed. pending is an alias of expired (#114), declared here so it flips rather than freezing to the base scope. */
372
393
  /*
373
394
  9.00:1 on #222. Ink has headroom, so this stays a recognisable green rather than washing to mint. */
374
395
  --cg-online: #5FD99A;
@@ -376,10 +397,16 @@
376
397
  --cg-offline: #9A9A9A;
377
398
  /* 8.63:1. Keeps the amber legible without turning yellow. */
378
399
  --cg-expired: #F0B45E;
400
+ /*
401
+ Aliased to expired, which is 8.63:1 on #222. Declared here as well as at :root because an alias is substituted where it is DECLARED — a :root-only pending would freeze to the white-surface amber and stop flipping, with no error. */
402
+ --cg-pending: var(--cg-expired);
379
403
  /* Translucent white; the ink foreground measures 7.04:1 on it. */
380
404
  --cg-online-fill: rgba(255, 255, 255, 0.08);
381
405
  /* Translucent white; the ink foreground measures 6.76:1 on it. */
382
406
  --cg-expired-fill: rgba(255, 255, 255, 0.08);
407
+ /*
408
+ Aliased to expired-fill. Declared per scope for the same reason the foreground is. */
409
+ --cg-pending-fill: var(--cg-expired-fill);
383
410
  /* Translucent white; the ink foreground measures 5.45:1 on it. */
384
411
  --cg-danger-fill: rgba(255, 255, 255, 0.08);
385
412
  }
package/dist/tokens.json CHANGED
@@ -11,8 +11,10 @@
11
11
  "--cg-online": "#00a05c",
12
12
  "--cg-offline": "var(--cg-neutral-500)",
13
13
  "--cg-expired": "#b0662a",
14
+ "--cg-pending": "var(--cg-expired)",
14
15
  "--cg-online-fill": "#e6f7ef",
15
16
  "--cg-expired-fill": "#fdf3e0",
17
+ "--cg-pending-fill": "var(--cg-expired-fill)",
16
18
  "--cg-danger-fill": "#fceded",
17
19
  "--cg-primary-press": "#4b39db",
18
20
  "--cg-primary-tint": "#eeecfe",
@@ -139,8 +141,10 @@
139
141
  "--cg-online": "#C8F5DC",
140
142
  "--cg-offline": "#D9D4FB",
141
143
  "--cg-expired": "#FFE2B8",
144
+ "--cg-pending": "var(--cg-expired)",
142
145
  "--cg-online-fill": "rgba(255, 255, 255, 0.16)",
143
146
  "--cg-expired-fill": "rgba(255, 255, 255, 0.16)",
147
+ "--cg-pending-fill": "var(--cg-expired-fill)",
144
148
  "--cg-danger-fill": "rgba(255, 255, 255, 0.16)"
145
149
  },
146
150
  "ink": {
@@ -161,8 +165,10 @@
161
165
  "--cg-online": "#5FD99A",
162
166
  "--cg-offline": "#9A9A9A",
163
167
  "--cg-expired": "#F0B45E",
168
+ "--cg-pending": "var(--cg-expired)",
164
169
  "--cg-online-fill": "rgba(255, 255, 255, 0.08)",
165
170
  "--cg-expired-fill": "rgba(255, 255, 255, 0.08)",
171
+ "--cg-pending-fill": "var(--cg-expired-fill)",
166
172
  "--cg-danger-fill": "rgba(255, 255, 255, 0.08)"
167
173
  }
168
174
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudgrid-io/ui",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "CloudGrid design system: React components, brand design tokens, Tailwind theme, self-hosted fonts.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",