@actioneer/ads 0.5.2 → 0.5.3

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/styles.css CHANGED
@@ -233,16 +233,21 @@
233
233
  * every comparison series survives production builds.
234
234
  */
235
235
  :root {
236
- /* Data-series palette — Sage (brand) leads as the focal/primary series,
237
- then the three data-viz accents and two deep variants for extended
238
- series. Explicit hexes (not var()) so every series survives @theme
239
- pruning, since chart colours are referenced from SVG prop strings. */
240
- --color-chart-1: #3f7a34; /* sage — primary / focal series */
241
- --color-chart-2: #12b5a5; /* cyan base */
242
- --color-chart-3: #f3a72e; /* amber base */
243
- --color-chart-4: #a3c765; /* lichen lime base */
244
- --color-chart-5: #0a7e82; /* cyan deep */
245
- --color-chart-6: #b57414; /* amber deep */
236
+ /* Data-series palette — NO GREEN (user-mandated): green implies "good /
237
+ growing" even when the numbers fall, so data series must stay
238
+ valence-neutral. Cyan deep leads as the focal/primary series; amber,
239
+ ink and the remaining non-green accents extend, with a mid ink for a
240
+ sixth series. Sage/lime stay OUT of charts — green is
241
+ reserved for genuinely semantic success (badges, deltas the caller has
242
+ judged positive). Explicit hexes (not var()) so every series survives
243
+ @theme pruning, since chart colours are referenced from SVG prop
244
+ strings. */
245
+ --color-chart-1: #0a7e82; /* cyan deep — primary / focal series */
246
+ --color-chart-2: #f3a72e; /* amber base */
247
+ --color-chart-3: #26251f; /* ink 900 */
248
+ --color-chart-4: #12b5a5; /* cyan base */
249
+ --color-chart-5: #b57414; /* amber deep */
250
+ --color-chart-6: #8c8c84; /* ink 500 — extended series */
246
251
  }
247
252
 
248
253
  /*
@@ -851,10 +856,18 @@
851
856
  .ads-tree-branch:first-child::before {
852
857
  top: calc(-1 * var(--tree-rail-lead, 0px));
853
858
  }
854
- /* The last child needs no rail: its elbow (or the content's end) terminates
855
- the branch, and a rail there pokes through the curve. */
856
- .ads-tree-rail:last-child::before,
859
+ /* Last children end the branch — but the two classes end differently.
860
+ A last BRANCH stops its rail where the elbow begins (the row top): hiding
861
+ it entirely erased the climb on a single-child branch (first AND last),
862
+ leaving its elbow floating. For a non-first last branch the span
863
+ collapses to zero, same as hidden.
864
+ A last RAIL drops its rail completely: pass-through content only carries
865
+ a rail to REACH something beneath it, and for the last child nothing is
866
+ beneath — a climb stub there is a line to nowhere. */
857
867
  .ads-tree-branch:last-child::before {
868
+ bottom: 100%;
869
+ }
870
+ .ads-tree-rail:last-child::before {
858
871
  display: none;
859
872
  }
860
873
  .ads-tree-branch::after {
package/theme.css CHANGED
@@ -206,16 +206,21 @@
206
206
  * every comparison series survives production builds.
207
207
  */
208
208
  :root {
209
- /* Data-series palette — Sage (brand) leads as the focal/primary series,
210
- then the three data-viz accents and two deep variants for extended
211
- series. Explicit hexes (not var()) so every series survives @theme
212
- pruning, since chart colours are referenced from SVG prop strings. */
213
- --color-chart-1: #3f7a34; /* sage — primary / focal series */
214
- --color-chart-2: #12b5a5; /* cyan base */
215
- --color-chart-3: #f3a72e; /* amber base */
216
- --color-chart-4: #a3c765; /* lichen lime base */
217
- --color-chart-5: #0a7e82; /* cyan deep */
218
- --color-chart-6: #b57414; /* amber deep */
209
+ /* Data-series palette — NO GREEN (user-mandated): green implies "good /
210
+ growing" even when the numbers fall, so data series must stay
211
+ valence-neutral. Cyan deep leads as the focal/primary series; amber,
212
+ ink and the remaining non-green accents extend, with a mid ink for a
213
+ sixth series. Sage/lime stay OUT of charts — green is
214
+ reserved for genuinely semantic success (badges, deltas the caller has
215
+ judged positive). Explicit hexes (not var()) so every series survives
216
+ @theme pruning, since chart colours are referenced from SVG prop
217
+ strings. */
218
+ --color-chart-1: #0a7e82; /* cyan deep — primary / focal series */
219
+ --color-chart-2: #f3a72e; /* amber base */
220
+ --color-chart-3: #26251f; /* ink 900 */
221
+ --color-chart-4: #12b5a5; /* cyan base */
222
+ --color-chart-5: #b57414; /* amber deep */
223
+ --color-chart-6: #8c8c84; /* ink 500 — extended series */
219
224
  }
220
225
 
221
226
  /*