ionbase-ui 0.37.0 → 0.38.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "package": "ionbase-ui",
3
- "version": "0.37.0",
3
+ "version": "0.38.0",
4
4
  "usage": "Pick a component here, then read dist/meta/<Name>.json for its full contract.",
5
5
  "hooks": [
6
6
  "useToast"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "package": "ionbase-ui",
3
- "version": "0.37.0",
3
+ "version": "0.38.0",
4
4
  "usage": "A pattern is a documented composition of components, not a component. Read one here, then read the contracts of what it composes.",
5
5
  "patterns": {
6
6
  "AgentRun": {
@@ -17,27 +17,22 @@
17
17
  * their existing rungs rather than growing an `empty-state/*` family, which
18
18
  * would be the `control/<size>/*` mistake recorded in AGENTS.md one tier up.
19
19
  *
20
- * CONTRAST WAS MEASURED BY HAND, BECAUSE THE GATE CANNOT SEE THIS FILE
20
+ * CONTRAST: 60 PAIRINGS, AND THIS FILE IS WHY THE GATE COUNTS THEM
21
21
  *
22
- * verify-contrast.mjs pairs a `color` against a `background` found on the same
23
- * rule. This component declares no background at all — it sits on whatever
24
- * region holds it — so every rule here is skipped and the component
25
- * contributes zero pairings. That is a structural property of the gate, not
26
- * something wrong with this file, and it applies to any text-only component.
22
+ * This component declares no background — it sits on whatever region holds it.
23
+ * Until 3 Sep 2026 verify-contrast.mjs paired a `color` against a `background`
24
+ * on the same rule, so every rule here was skipped and the component
25
+ * contributed ZERO pairings while the gate reported green. It was the first
26
+ * component that is text-only from top to bottom, which is what made the hole
27
+ * visible.
27
28
  *
28
- * So the pairings were measured directly, against all three surfaces an empty
29
- * state can land on, in both modes. Worst case is `icon/primary` on
30
- * `surface/muted` at 4.79:1 against the 3:1 that SC 1.4.11 asks of a non-text
31
- * mark; every text pairing clears 4.5:1 with room to spare:
29
+ * The gate now measures a background-less rule against all three neutral
30
+ * grounds a caller can place a region on — surface/page, surface/default and
31
+ * surface/muted — and this file's 60 pairings are checked on every build like
32
+ * any other. Nothing here needs a hand-measured table any more.
32
33
  *
33
- * text/default text/secondary icon/tertiary icon/primary
34
- * page 16.55 / 16.55 9.53 / 13.31 7.09 / 6.95 5.05 / 6.31
35
- * default 17.63 / 19.71 10.15 / 15.86 7.56 / 8.28 5.38 / 7.51
36
- * muted 15.71 / 14.14 9.04 / 11.38 6.73 / 5.94 4.79 / 5.39
37
- * (Light / Dark)
38
- *
39
- * icon/warning and icon/error, the other two reason tints, sit between those
40
- * columns: 5.30 to 8.08 across the same grid.
34
+ * The tightest of them is icon/primary on surface/muted at 4.79:1, against the
35
+ * 3:1 SC 1.4.11 asks of a non-text mark. Every text pairing clears 4.5:1.
41
36
  */
42
37
  .ion-empty-state {
43
38
  --ion-empty-state-icon: var(--icon-tertiary);
package/llms.txt CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  > IonBase is a React design system for enterprise SaaS, built to be consumed by an agent rather than read by a developer. Every component ships a machine-readable contract carrying the judgement a type signature cannot: when to use it, what to use instead, the anti-patterns, and what it guarantees for accessibility versus what it requires of you.
4
4
 
5
- Version 0.37.0. 46 components.
5
+ Version 0.38.0. 46 components.
6
6
 
7
7
  ## Read these, in this order
8
8
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ionbase-ui",
3
- "version": "0.37.0",
3
+ "version": "0.38.0",
4
4
  "description": "IonBase Design System — accessible React components, styles and design tokens in one package",
5
5
  "license": "MIT",
6
6
  "type": "module",