@actioneer/ads 0.5.2 → 0.5.4

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/manifest.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@actioneer/ads",
3
- "version": "0.5.2",
3
+ "version": "0.5.4",
4
4
  "importPath": "@actioneer/ads",
5
5
  "styleImport": "@import \"@actioneer/ads/styles.css\";",
6
6
  "families": [
@@ -16,11 +16,11 @@
16
16
  "Chat"
17
17
  ],
18
18
  "counts": {
19
- "total": 684,
20
- "component": 329,
21
- "type": 292,
19
+ "total": 699,
20
+ "component": 334,
21
+ "type": 301,
22
22
  "hook": 10,
23
- "util": 53
23
+ "util": 54
24
24
  },
25
25
  "tokens": [
26
26
  {
@@ -2011,7 +2011,8 @@
2011
2011
  "props": [
2012
2012
  "curve",
2013
2013
  "stacked",
2014
- "forecastKeys"
2014
+ "forecastKeys",
2015
+ "showValues"
2015
2016
  ]
2016
2017
  },
2017
2018
  {
@@ -2088,7 +2089,8 @@
2088
2089
  "showcaseUrl": "https://ads.actioneer.dev/#/ai/chart",
2089
2090
  "props": [
2090
2091
  "stacked",
2091
- "layout"
2092
+ "layout",
2093
+ "showValues"
2092
2094
  ]
2093
2095
  },
2094
2096
  {
@@ -2383,6 +2385,18 @@
2383
2385
  "spec"
2384
2386
  ]
2385
2387
  },
2388
+ {
2389
+ "name": "FunnelBarsHorizontal",
2390
+ "family": "Data display",
2391
+ "kind": "component",
2392
+ "importPath": "@actioneer/ads",
2393
+ "module": "viz-charts",
2394
+ "showcaseUrl": "https://ads.actioneer.dev/#/viz-charts",
2395
+ "props": [
2396
+ "steps",
2397
+ "className"
2398
+ ]
2399
+ },
2386
2400
  {
2387
2401
  "name": "FunnelChart",
2388
2402
  "family": "Data display",
@@ -2402,6 +2416,19 @@
2402
2416
  "className"
2403
2417
  ]
2404
2418
  },
2419
+ {
2420
+ "name": "FunnelViz",
2421
+ "family": "Data display",
2422
+ "kind": "component",
2423
+ "importPath": "@actioneer/ads",
2424
+ "module": "viz-charts",
2425
+ "showcaseUrl": "https://ads.actioneer.dev/#/viz-charts",
2426
+ "props": [
2427
+ "steps",
2428
+ "height",
2429
+ "className"
2430
+ ]
2431
+ },
2405
2432
  {
2406
2433
  "name": "Handle",
2407
2434
  "family": "Data display",
@@ -2450,7 +2477,8 @@
2450
2477
  "showcaseUrl": "https://ads.actioneer.dev/#/ai/chart",
2451
2478
  "props": [
2452
2479
  "curve",
2453
- "forecastKeys"
2480
+ "forecastKeys",
2481
+ "showValues"
2454
2482
  ]
2455
2483
  },
2456
2484
  {
@@ -2526,6 +2554,32 @@
2526
2554
  "module": "infinite-canvas",
2527
2555
  "showcaseUrl": "https://ads.actioneer.dev/#/infinite-canvas"
2528
2556
  },
2557
+ {
2558
+ "name": "RetentionCurve",
2559
+ "family": "Data display",
2560
+ "kind": "component",
2561
+ "importPath": "@actioneer/ads",
2562
+ "module": "viz-charts",
2563
+ "showcaseUrl": "https://ads.actioneer.dev/#/viz-charts",
2564
+ "props": [
2565
+ "points",
2566
+ "height",
2567
+ "className"
2568
+ ]
2569
+ },
2570
+ {
2571
+ "name": "RetentionGrid",
2572
+ "family": "Data display",
2573
+ "kind": "component",
2574
+ "importPath": "@actioneer/ads",
2575
+ "module": "viz-charts",
2576
+ "showcaseUrl": "https://ads.actioneer.dev/#/viz-charts",
2577
+ "props": [
2578
+ "cols",
2579
+ "cohorts",
2580
+ "className"
2581
+ ]
2582
+ },
2529
2583
  {
2530
2584
  "name": "ScatterChart",
2531
2585
  "family": "Data display",
@@ -2553,6 +2607,23 @@
2553
2607
  "className"
2554
2608
  ]
2555
2609
  },
2610
+ {
2611
+ "name": "SeriesChart",
2612
+ "family": "Data display",
2613
+ "kind": "component",
2614
+ "importPath": "@actioneer/ads",
2615
+ "module": "viz-charts",
2616
+ "showcaseUrl": "https://ads.actioneer.dev/#/viz-charts",
2617
+ "props": [
2618
+ "type",
2619
+ "labels",
2620
+ "series",
2621
+ "height",
2622
+ "formatAxis",
2623
+ "formatValue",
2624
+ "className"
2625
+ ]
2626
+ },
2556
2627
  {
2557
2628
  "name": "StatusAnswer",
2558
2629
  "family": "Data display",
@@ -3292,6 +3363,13 @@
3292
3363
  "importPath": "@actioneer/ads",
3293
3364
  "module": "answer"
3294
3365
  },
3366
+ {
3367
+ "name": "FunnelBarsHorizontalProps",
3368
+ "family": "Data display",
3369
+ "kind": "type",
3370
+ "importPath": "@actioneer/ads",
3371
+ "module": "viz-charts"
3372
+ },
3295
3373
  {
3296
3374
  "name": "FunnelChartProps",
3297
3375
  "family": "Data display",
@@ -3313,6 +3391,20 @@
3313
3391
  "importPath": "@actioneer/ads",
3314
3392
  "module": "chart"
3315
3393
  },
3394
+ {
3395
+ "name": "FunnelStep",
3396
+ "family": "Data display",
3397
+ "kind": "type",
3398
+ "importPath": "@actioneer/ads",
3399
+ "module": "viz-charts"
3400
+ },
3401
+ {
3402
+ "name": "FunnelVizProps",
3403
+ "family": "Data display",
3404
+ "kind": "type",
3405
+ "importPath": "@actioneer/ads",
3406
+ "module": "viz-charts"
3407
+ },
3316
3408
  {
3317
3409
  "name": "InfiniteCanvasProps",
3318
3410
  "family": "Data display",
@@ -3390,6 +3482,34 @@
3390
3482
  "importPath": "@actioneer/ads",
3391
3483
  "module": "infinite-canvas"
3392
3484
  },
3485
+ {
3486
+ "name": "RetentionCohort",
3487
+ "family": "Data display",
3488
+ "kind": "type",
3489
+ "importPath": "@actioneer/ads",
3490
+ "module": "viz-charts"
3491
+ },
3492
+ {
3493
+ "name": "RetentionCurveProps",
3494
+ "family": "Data display",
3495
+ "kind": "type",
3496
+ "importPath": "@actioneer/ads",
3497
+ "module": "viz-charts"
3498
+ },
3499
+ {
3500
+ "name": "RetentionGridProps",
3501
+ "family": "Data display",
3502
+ "kind": "type",
3503
+ "importPath": "@actioneer/ads",
3504
+ "module": "viz-charts"
3505
+ },
3506
+ {
3507
+ "name": "RetentionPoint",
3508
+ "family": "Data display",
3509
+ "kind": "type",
3510
+ "importPath": "@actioneer/ads",
3511
+ "module": "viz-charts"
3512
+ },
3393
3513
  {
3394
3514
  "name": "ScatterChartProps",
3395
3515
  "family": "Data display",
@@ -3411,6 +3531,13 @@
3411
3531
  "importPath": "@actioneer/ads",
3412
3532
  "module": "table"
3413
3533
  },
3534
+ {
3535
+ "name": "SeriesChartProps",
3536
+ "family": "Data display",
3537
+ "kind": "type",
3538
+ "importPath": "@actioneer/ads",
3539
+ "module": "viz-charts"
3540
+ },
3414
3541
  {
3415
3542
  "name": "SortDescriptor",
3416
3543
  "family": "Data display",
@@ -3551,6 +3678,13 @@
3551
3678
  "importPath": "@actioneer/ads",
3552
3679
  "module": "infinite-canvas"
3553
3680
  },
3681
+ {
3682
+ "name": "VizSeries",
3683
+ "family": "Data display",
3684
+ "kind": "type",
3685
+ "importPath": "@actioneer/ads",
3686
+ "module": "viz-charts"
3687
+ },
3554
3688
  {
3555
3689
  "name": "useEdgesState",
3556
3690
  "family": "Data display",
@@ -3684,6 +3818,13 @@
3684
3818
  "importPath": "@actioneer/ads",
3685
3819
  "module": "infinite-canvas"
3686
3820
  },
3821
+ {
3822
+ "name": "MIN_HEIGHT",
3823
+ "family": "Data display",
3824
+ "kind": "util",
3825
+ "importPath": "@actioneer/ads",
3826
+ "module": "chart"
3827
+ },
3687
3828
  {
3688
3829
  "name": "StatusAnswerSchema",
3689
3830
  "family": "Data display",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@actioneer/ads",
3
- "version": "0.5.2",
3
+ "version": "0.5.4",
4
4
  "description": "Actioneer Design System 1.0 — React 19 + Tailwind v4 component library.",
5
5
  "type": "module",
6
6
  "sideEffects": [
package/styles.css CHANGED
@@ -233,16 +233,26 @@
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 — its OWN palette, separate from the brand ramps, in
237
+ the editorial multi-series idiom (distinct, saturated hues that stay
238
+ apart at 1.5px stroke and at dot size).
239
+
240
+ NEITHER GREEN NOR RED (user-mandated): both carry verdicts — green reads
241
+ "good" and red reads "bad" even when the series is just a named entity,
242
+ so a category key must never imply one. Green/red stay reserved for
243
+ genuinely semantic states (success badges, danger alerts, a delta the
244
+ CALLER has judged). Blue leads as the focal series; purple, orange, cyan
245
+ and amber extend; grey closes as the sixth and doubles as the
246
+ de-emphasis tone.
247
+
248
+ Explicit hexes (not var()) so every series survives @theme pruning,
249
+ since chart colours are referenced from SVG prop strings. */
250
+ --color-chart-1: #3d9aa4; /* teal — primary / focal (the right edge of the brand set) */
251
+ --color-chart-2: #f7d06b; /* golden yellow — the warm 2nd series */
252
+ --color-chart-3: #52496e; /* muted purple */
253
+ --color-chart-4: #2d6f8a; /* deep teal-blue */
254
+ --color-chart-5: #232149; /* navy ink */
255
+ --color-chart-6: #8c8c84; /* grey — extended series + de-emphasis tone */
246
256
  }
247
257
 
248
258
  /*
@@ -851,10 +861,18 @@
851
861
  .ads-tree-branch:first-child::before {
852
862
  top: calc(-1 * var(--tree-rail-lead, 0px));
853
863
  }
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,
864
+ /* Last children end the branch — but the two classes end differently.
865
+ A last BRANCH stops its rail where the elbow begins (the row top): hiding
866
+ it entirely erased the climb on a single-child branch (first AND last),
867
+ leaving its elbow floating. For a non-first last branch the span
868
+ collapses to zero, same as hidden.
869
+ A last RAIL drops its rail completely: pass-through content only carries
870
+ a rail to REACH something beneath it, and for the last child nothing is
871
+ beneath — a climb stub there is a line to nowhere. */
857
872
  .ads-tree-branch:last-child::before {
873
+ bottom: 100%;
874
+ }
875
+ .ads-tree-rail:last-child::before {
858
876
  display: none;
859
877
  }
860
878
  .ads-tree-branch::after {
package/theme.css CHANGED
@@ -206,16 +206,26 @@
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 — its OWN palette, separate from the brand ramps, in
210
+ the editorial multi-series idiom (distinct, saturated hues that stay
211
+ apart at 1.5px stroke and at dot size).
212
+
213
+ NEITHER GREEN NOR RED (user-mandated): both carry verdicts — green reads
214
+ "good" and red reads "bad" even when the series is just a named entity,
215
+ so a category key must never imply one. Green/red stay reserved for
216
+ genuinely semantic states (success badges, danger alerts, a delta the
217
+ CALLER has judged). Blue leads as the focal series; purple, orange, cyan
218
+ and amber extend; grey closes as the sixth and doubles as the
219
+ de-emphasis tone.
220
+
221
+ Explicit hexes (not var()) so every series survives @theme pruning,
222
+ since chart colours are referenced from SVG prop strings. */
223
+ --color-chart-1: #3d9aa4; /* teal — primary / focal (the right edge of the brand set) */
224
+ --color-chart-2: #f7d06b; /* golden yellow — the warm 2nd series */
225
+ --color-chart-3: #52496e; /* muted purple */
226
+ --color-chart-4: #2d6f8a; /* deep teal-blue */
227
+ --color-chart-5: #232149; /* navy ink */
228
+ --color-chart-6: #8c8c84; /* grey — extended series + de-emphasis tone */
219
229
  }
220
230
 
221
231
  /*