@sentropic/design-system-vue 0.36.24 → 0.36.26

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/dist/styles.css CHANGED
@@ -312,6 +312,28 @@
312
312
  font-weight: 600;
313
313
  }
314
314
 
315
+ /* Data labels — per-point value, drawn on top. Token-only colour. */
316
+ .st-areaChart__dataLabel {
317
+ fill: var(--st-semantic-text-primary);
318
+ font-size: 0.6875rem;
319
+ font-weight: 600;
320
+ }
321
+
322
+ /* --- Crosshair layer (FR-3) ----------------------------------------------
323
+ A tokenised dashed vertical line at the active (hovered/controlled) key,
324
+ plus an emphasised marker on the point. Decorative (aria-hidden). */
325
+ .st-areaChart__crosshairLine {
326
+ stroke: var(--st-semantic-border-strong);
327
+ stroke-width: 1;
328
+ stroke-dasharray: 3 3;
329
+ opacity: 0.7;
330
+ }
331
+ .st-areaChart__crosshairMarker {
332
+ fill: currentColor;
333
+ stroke: var(--st-semantic-surface-default);
334
+ stroke-width: 2;
335
+ }
336
+
315
337
  .st-aspectRatio {
316
338
  display: block;
317
339
  overflow: hidden;
@@ -655,6 +677,23 @@
655
677
  font-weight: 600;
656
678
  }
657
679
 
680
+ /* Data labels — per-bar value, drawn on top. Token-only colour. */
681
+ .st-barChart__dataLabel {
682
+ fill: var(--st-semantic-text-primary);
683
+ font-size: 0.6875rem;
684
+ font-weight: 600;
685
+ }
686
+
687
+ /* --- Crosshair layer (FR-3) ----------------------------------------------
688
+ A tokenised dashed line on the CATEGORY axis at the active (hovered/
689
+ controlled) bar. Decorative (aria-hidden). */
690
+ .st-barChart__crosshairLine {
691
+ stroke: var(--st-semantic-border-strong);
692
+ stroke-width: 1;
693
+ stroke-dasharray: 3 3;
694
+ opacity: 0.7;
695
+ }
696
+
658
697
  @media (prefers-reduced-motion: reduce) {
659
698
  .st-barChart__bar,
660
699
  .st-barChart__filterChip { transition: none; }
@@ -2060,6 +2099,13 @@
2060
2099
  font-weight: 650;
2061
2100
  }
2062
2101
 
2102
+ /* Data labels — per-slice value, centred in the arc. Token-only colour. */
2103
+ .st-donutChart__dataLabel {
2104
+ fill: var(--st-semantic-text-inverse);
2105
+ font-size: 0.6875rem;
2106
+ font-weight: 600;
2107
+ }
2108
+
2063
2109
  .st-donutChart__tooltip {
2064
2110
  background: var(--st-semantic-surface-inverse);
2065
2111
  border-radius: var(--st-radius-sm, 0.25rem);
@@ -3667,6 +3713,28 @@
3667
3713
  font-weight: 600;
3668
3714
  }
3669
3715
 
3716
+ /* Data labels — per-point value, drawn on top. Token-only colour. */
3717
+ .st-lineChart__dataLabel {
3718
+ fill: var(--st-semantic-text-primary);
3719
+ font-size: 0.6875rem;
3720
+ font-weight: 600;
3721
+ }
3722
+
3723
+ /* --- Crosshair layer (FR-3) ----------------------------------------------
3724
+ A tokenised dashed vertical line at the active (hovered/controlled) key,
3725
+ plus an emphasised marker on the point. Decorative (aria-hidden). */
3726
+ .st-lineChart__crosshairLine {
3727
+ stroke: var(--st-semantic-border-strong);
3728
+ stroke-width: 1;
3729
+ stroke-dasharray: 3 3;
3730
+ opacity: 0.7;
3731
+ }
3732
+ .st-lineChart__crosshairMarker {
3733
+ fill: currentColor;
3734
+ stroke: var(--st-semantic-surface-default);
3735
+ stroke-width: 2;
3736
+ }
3737
+
3670
3738
  .st-link {
3671
3739
  color: var(--st-component-link-text, var(--st-semantic-text-link));
3672
3740
  cursor: var(--st-cursor-interactive, pointer);
@@ -6003,6 +6071,8 @@
6003
6071
  .st-stackedBar__seg--category6 { fill: var(--st-semantic-data-category6); }
6004
6072
  .st-stackedBar__seg--category7 { fill: var(--st-semantic-data-category7); }
6005
6073
  .st-stackedBar__seg--category8 { fill: var(--st-semantic-data-category8); }
6074
+ /* Data labels — per-segment value, centred. Token-only colour. */
6075
+ .st-stackedBar__dataLabel { fill: var(--st-semantic-text-inverse); font-size: 0.6875rem; font-weight: 600; }
6006
6076
  .st-stackedBar__tooltip {
6007
6077
  background: var(--st-semantic-surface-inverse); border-radius: var(--st-radius-sm, 0.25rem);
6008
6078
  color: var(--st-semantic-text-inverse); display: inline-flex; flex-direction: column; font-size: 0.75rem;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentropic/design-system-vue",
3
- "version": "0.36.24",
3
+ "version": "0.36.26",
4
4
  "description": "Vue 3 components for the Sentropic design system.",
5
5
  "type": "module",
6
6
  "publishConfig": {