@akcelik/strct 1.2.0 → 1.2.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akcelik/strct",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "UIStruct — a standalone Angular component library with a tokenised, multi-palette theme system, built for datacenter / infrastructure management UIs.",
5
5
  "author": "Serkan Akcelik <serkan.akcelik@gmail.com>",
6
6
  "license": "MIT",
@@ -2680,6 +2680,20 @@ declare class StrctChart {
2680
2680
  i: number;
2681
2681
  }[]>;
2682
2682
  protected readonly hoverX: _angular_core.Signal<number | null>;
2683
+ /**
2684
+ * Tooltip edge-flip (FR-CHART-14): near the left edge the balloon
2685
+ * left-aligns, near the right edge it right-aligns, otherwise it stays
2686
+ * centered — so the first/last point's values are never clipped by an
2687
+ * `overflow: hidden` ancestor. Only the balloon shifts; the crosshair
2688
+ * stays on the true point-X.
2689
+ */
2690
+ private readonly tipAlign;
2691
+ /** Horizontal-only shift (multi / gap tips, anchored below the plot top). */
2692
+ protected readonly tipShift: _angular_core.Signal<"translate(8px, 0)" | "translate(calc(-100% - 8px), 0)" | "translate(-50%, 0)">;
2693
+ /** Shift incl. the single tip's vertical lift above the hover point. */
2694
+ protected readonly tipShiftRaised: _angular_core.Signal<"translate(8px, calc(-100% - 10px))" | "translate(calc(-100% - 8px), calc(-100% - 10px))" | "translate(-50%, calc(-100% - 10px))">;
2695
+ /** Keep the y-axis value chip vertically inside the plot box. */
2696
+ protected axisChipY(y: number): number;
2683
2697
  protected readonly hoverPt: _angular_core.Signal<Pt | null>;
2684
2698
  protected readonly hoverValue: _angular_core.Signal<number | "">;
2685
2699
  /** The hovered slot exists but holds a gap (single-series). */