@turquoisehealth/pit-viper 2.59.0 → 2.61.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@turquoisehealth/pit-viper",
3
- "version": "2.59.0",
3
+ "version": "2.61.0",
4
4
  "description": "Turquoise Health's design system.",
5
5
  "main": "README.md",
6
6
  "publishConfig": {
@@ -23,6 +23,7 @@ import { GridReadyEvent } from 'ag-grid-community';
23
23
  import { GridState } from 'ag-grid-enterprise';
24
24
  import { IServerSideGetRowsParams } from 'ag-grid-enterprise';
25
25
  import { IsGroupOpenByDefaultParams } from 'ag-grid-community';
26
+ import { IsServerSideGroupOpenByDefaultParams } from 'ag-grid-community';
26
27
  import { PropType } from 'vue';
27
28
  import { PublicProps } from 'vue';
28
29
  import { RefreshServerSideParams } from 'ag-grid-community';
@@ -191,6 +192,10 @@ declare interface PvDataTableProps<T> {
191
192
  * A handler to determine if a group should be open by default dynamically.
192
193
  */
193
194
  isClientSideGroupOpenByDefault?: (params: IsGroupOpenByDefaultParams) => boolean;
195
+ /**
196
+ * A handler to determine whether a group should be open by default.
197
+ */
198
+ isServerSideGroupOpenByDefault?: (params: IsServerSideGroupOpenByDefaultParams) => boolean;
194
199
  /**
195
200
  * Display button to export table data as CSV
196
201
  */
@@ -228,12 +233,16 @@ declare interface PvDataTableProps<T> {
228
233
  */
229
234
  debugMode?: boolean;
230
235
  /**
231
- * Enables pagination
236
+ * If true, hide all row-grouped columns from the table.
232
237
  */
233
- leftPinnedColumnName?: string;
238
+ hideAllRowGroupedColumns?: boolean;
234
239
  /**
235
240
  * Specifies the column to pin to the left of the table if at least one row grouping is enabled.
236
241
  */
242
+ leftPinnedColumnName?: string;
243
+ /**
244
+ * Enables pagination
245
+ */
237
246
  pagination?: boolean;
238
247
  /**
239
248
  * Set the pagination page size. Defaults to 50.