@orangelogic/design-system 2.119.0 → 2.120.0

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "2.119.0",
4
+ "version": "2.120.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {
@@ -84,7 +84,6 @@ export default class CxCapacityPlanner extends CortexElement {
84
84
  constructor();
85
85
  runConnectedCallback(): void;
86
86
  disconnectedCallback(): void;
87
- runFirstUpdated(): void;
88
87
  /**
89
88
  * The synthetic Unavailable pseudo-category. NOT part of the
90
89
  * server-provided `categories` prop — appended internally as the LAST band so
@@ -106,10 +105,10 @@ export default class CxCapacityPlanner extends CortexElement {
106
105
  private effectiveCategories;
107
106
  private colorMap;
108
107
  private legend;
109
- private recomputeDerived;
108
+ recomputeDerived(): void;
110
109
  /** Whether the week at `index` is editable (mode + horizon gate). */
111
110
  private isWeekEditable;
112
- private rebuildPlan;
111
+ rebuildPlan(): void;
113
112
  /**
114
113
  * Integer hours for a week over the FULL effective set (real categories
115
114
  * followed by Unavailable), in band order, via a largest-remainder
@@ -72,6 +72,12 @@ export default class CxCapacityWeekBar extends CortexElement {
72
72
  private readonly barEl;
73
73
  private summary;
74
74
  private geometries;
75
+ /** Actual rendered width of the bar element, updated by ResizeObserver. */
76
+ renderedBarWidth: number;
77
+ private barResizeObserver;
78
+ connectedCallback(): void;
79
+ disconnectedCallback(): void;
80
+ runFirstUpdated(): void;
75
81
  willUpdate(changed: PropertyValues<this>): void;
76
82
  /** Measure the live bar width; falls back to the cached prop if unmeasurable. */
77
83
  private measuredBarWidth;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "2.119.0",
4
+ "version": "2.120.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {