@kong-ui-public/dashboard-renderer 5.0.0 → 5.1.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.
package/README.md CHANGED
@@ -5,6 +5,7 @@ Render Analytics charts on a page from a JSON definition.
5
5
  - [Requirements](#requirements)
6
6
  - [Usage](#usage)
7
7
  - [Props](#props)
8
+ - [Events](#events)
8
9
  - [Example](#example)
9
10
  - [Slotted content](#slotted-content)
10
11
  - [Auto-fit row content](#auto-fit-row-content)
@@ -56,6 +57,14 @@ This component takes two properties:
56
57
  | editable | boolean | No | false | Enables dashboard editing capabilities |
57
58
 
58
59
 
60
+ ### Events
61
+
62
+ The DashboardRenderer component emits the following events.
63
+
64
+ | Event | Payload | Description |
65
+ |-------|---------|-------------|
66
+ | `zoom-time-range` | [AbsoluteTimeRangeV4](https://github.com/Kong/public-ui-components/blob/1b4a96441f64539895432ae819140c3588ccc9a9/packages/analytics/analytics-utilities/src/types/explore/common.ts#L33) | Emitted when a timeseries chart tile is zoomed by selecting an area within the chart. |
67
+
59
68
  ### Example
60
69
 
61
70
  ```html