@actioneer/ads 0.5.3 → 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.3",
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.3",
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,21 +233,26 @@
233
233
  * every comparison series survives production builds.
234
234
  */
235
235
  :root {
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 */
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 */
251
256
  }
252
257
 
253
258
  /*
package/theme.css CHANGED
@@ -206,21 +206,26 @@
206
206
  * every comparison series survives production builds.
207
207
  */
208
208
  :root {
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 */
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 */
224
229
  }
225
230
 
226
231
  /*