ionbase-ui 0.46.0 → 0.47.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.46.0",
3
+ "version": "0.47.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.46.0",
3
+ "version": "0.47.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": {
@@ -67,26 +67,30 @@
67
67
  * a userSpaceOnUse radial scaled per size, and the ratios come out the same
68
68
  * to three decimals, so the geometry is written once as percentages.
69
69
  *
70
- * THE ALPHA IS A TOKEN NOW, AND IT HAS TO BE. It was a raw `18%` in both
71
- * themes, and the initials sit exactly where the gloss peaks: over the dark
72
- * disc it lightened the ground under light text and dropped five of seven
73
- * hues under AA — green 3.76, red 3.92, pink 4.08, orange 4.15, blue 4.23.
74
- * `surface/sheen` is 20% in Light and 5% in Dark, which brings the worst hue
75
- * back to 4.94. 10% would land exactly on 4.50, which is not a margin.
70
+ * THE ALPHA IS A TOKEN NOW. It was a raw `18%` in both themes, hardcoded
71
+ * twice, which is a place dark mode has to be fixed by hand — the same reason
72
+ * the bevel below is a local. `surface/sheen` is 20% in Light and 5% in Dark,
73
+ * following `surface/scrim` and `surface/hover`: a translucent wash whose
74
+ * alpha themes.
76
75
  *
77
- * THE GATE ENFORCES THAT NUMBER NOW. It used to composite a translucent
78
- * ground over the component's flat `background-color` — the `to` stop — so it
79
- * measured the gloss over the palest part of the disc and never over `from`,
80
- * where the failure is; 4.94 was a hand measurement in this comment and
81
- * nothing checked it. `verify-contrast` pairs each layer against every opaque
82
- * ground beneath it as of 5 Sep 2026, so the sheen is measured over all three
83
- * disc stops and reports 4.94 on red by itself. Putting 18% back fails five
84
- * hues at the values above.
76
+ * THE ACCESSIBILITY ARGUMENT THAT PUT IT AT 5% WAS WRONG, AND THIS COMMENT
77
+ * USED TO MAKE IT. It claimed the gloss dropped five of seven hues under AA in
78
+ * Dark — green 3.76, red 3.92, pink 4.08, orange 4.15, blue 4.23. Those
79
+ * numbers came from compositing the sheen at FULL STRENGTH over the `from`
80
+ * stop, and that pixel does not exist. `from` is the top of the disc; the
81
+ * radial is centred at 70.513% of the height with a vertical radius of
82
+ * 64.103%, so at y=0 it is 1.10 radii out — past its own transparent stop,
83
+ * contributing nothing. The gloss and the darkest stop never meet.
85
84
  *
86
- * The cross product is a bound, not a rendering: the gloss peaks low and
87
- * centre, where the linear gradient is already near `to`, so full-strength
88
- * sheen over `from` is not a pixel that exists. It is the strictest the
89
- * composite could be, which is the right side to be wrong on for a floor.
85
+ * The gate evaluates the gradient geometrically as of 5 Sep 2026, and at the
86
+ * authored 18% the worst REAL point in Dark is 5.07 (green, at 50%,69%, where
87
+ * the gloss actually peaks and the disc beneath it is already near `to`).
88
+ * Nothing was ever failing. 5% is an aesthetic choice, not a fix, and it is
89
+ * only still here because it was reviewed in Figma and preferred.
90
+ *
91
+ * The worst point on this component is the bare top of the disc — 5.29 in
92
+ * Light (pink) and 5.31 in Dark (red), the same two numbers the stop comment
93
+ * below records, because the sheen never touches it.
90
94
  */
91
95
 
92
96
  /*
@@ -134,12 +138,14 @@
134
138
  * in the component that was not mirrored, which is precisely why Light failed
135
139
  * and Dark did not.
136
140
  *
137
- * THE GATE MEASURES ALL THREE STOPS NOW. It used to read only a flat
138
- * `background-color`, which is what let this hide; `verify-contrast` parses
139
- * `background-image` gradients as of 4 Sep 2026, so the worst stop is enforced
140
- * rather than trusted — 5.29 in Light (pink) and 5.31 in Dark (red) as it
141
- * stands. Negative-tested by putting the initials back on `/600`: ten
142
- * pairings fail that the old gate passed.
141
+ * THE GATE DOES NOT READ STOPS ANY MORE, IT EVALUATES THE GRADIENT. It began
142
+ * by reading only a flat `background-color`, which is what let this hide; then
143
+ * every stop; and as of 5 Sep 2026 it samples the disc, composites the layers
144
+ * at each point and reports the worst pixel the element actually paints —
145
+ * 5.29 in Light (pink) and 5.31 in Dark (red), both at 50%,0%, the bare top.
146
+ * Colours BETWEEN two stops are real pixels and none of them were measured
147
+ * before. Negative-tested by putting the initials back on `/600`: pink fails
148
+ * at 3.27 where the old gate passed it.
143
149
  */
144
150
  background-color: var(--ion-avatar-gradient-to);
145
151
  background-image:
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.46.0. 46 components.
5
+ Version 0.47.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.46.0",
3
+ "version": "0.47.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",