@growth-operations/ui-shared 1.12.0 → 1.12.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": "@growth-operations/ui-shared",
3
- "version": "1.12.0",
3
+ "version": "1.12.1",
4
4
  "description": "Shared HubSpot UI-extension modules (Home, Billing) for Growth Operations apps.",
5
5
  "license": "MIT",
6
6
  "private": false,
@@ -128,6 +128,13 @@ export function UsageTab({
128
128
  <Flex direction="column" gap="small">
129
129
  <Text format={{ fontWeight: "bold" }}>Credits used per day</Text>
130
130
  <LineChart
131
+ // key={days}: reported symptom was the chart not visibly
132
+ // changing when the window dropdown changed, even though the
133
+ // backend series does change (verified). LineChart is a remote
134
+ // component (rendered outside this iframe via HubSpot's own
135
+ // bridge), so force a full remount on window change rather than
136
+ // relying on its own prop-diffing to pick up the new data.
137
+ key={days}
131
138
  data={series}
132
139
  axes={{
133
140
  x: { field: "date", fieldType: "datetime", label: "Day" },