@vuu-ui/vuu-table-types 2.1.13 → 2.1.15

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.
Files changed (2) hide show
  1. package/index.d.ts +4 -38
  2. package/package.json +4 -4
package/index.d.ts CHANGED
@@ -280,9 +280,6 @@ export interface ColumnDescriptor extends DataValueDescriptor {
280
280
  * This property can be used to disable this feature for a single column.
281
281
  */
282
282
  allowColumnHeaderMenu?: false;
283
- /**
284
- * Optional additional CSS className will be applied to column header and all table cells within column.
285
- */
286
283
  className?: string;
287
284
  /**
288
285
  * Allows custom content to be rendered into the column header. This will be an identifier.
@@ -309,48 +306,16 @@ export interface ColumnDescriptor extends DataValueDescriptor {
309
306
  heading?: string[];
310
307
  hidden?: boolean;
311
308
  isSystemColumn?: boolean;
312
- /**
313
- * A 'locked' column remains in a fixed position within the columns list. It
314
- * cannot be moved from this position by the user. Columns can only be locked
315
- * to one or other end of the columns list , i.e a column can be locked to the end
316
- * of the columns list or the begining. More than one column can be locked to
317
- * either end. Note: this is different from 'pin' in that locked columns can be
318
- * scrolled out of the viewport.
319
- */
320
- locked?: Exclude<PinLocation, "left"> | false;
309
+ locked?: boolean;
321
310
  maxWidth?: number;
322
311
  minWidth?: number;
323
- /**
324
- * Pinned columns will 'stick' to the edge of the viewport, irrespective of their
325
- * position within the columns list. Their position(s) will not change even when
326
- * the viewport is scrolled horizontally. They can be pinned at the leading or
327
- * trailing viewport edge. More than one column can be pinned to each edge.
328
- */
329
312
  pin?: PinLocation | false;
330
-
331
- /**
332
- * A removeable column can be manually removed by user. The default value for this is true,
333
- * and is determined at the table level. The default can be set to false with the table prop
334
- * allowColumnRemoval. Whatever the table default, the removable prop on a column takes
335
- * precedence. Note: removal by user is only possible if a ColumnMenu is configured with the
336
- * appropriate menu item or the ColumnPicker is offered and allows column removal. The
337
- * intended purpose of this prop is to exclude certain columns from manual removal by the user,
338
- * even when removal is offered (via the menu or the columnPicker) for other columns.
339
- */
340
- removeable?: boolean;
341
-
342
- /**
343
- * A resizeable column can be manually resized by user. The default value for this is true,
344
- * and is determined at the table level. The default can be set to false with the table prop
345
- * allowColumnResizing. Whatever the table default, the resizeable prop on a column takes
346
- * precedence.
347
- */
348
313
  resizeable?: boolean;
349
314
 
350
315
  /**
351
- * Column and all cells will be rendered in selected state. This is different from row selection
352
- * and used purely to visually highlight a row. No data is actually selected.
316
+ * Column and all cells will be rendered in selected state;
353
317
  */
318
+
354
319
  selected?: boolean;
355
320
  sortable?: boolean;
356
321
  /**
@@ -398,6 +363,7 @@ export interface RuntimeColumnDescriptor extends ColumnDescriptor {
398
363
  isGroup?: boolean;
399
364
  isSystemColumn?: boolean;
400
365
  label: string;
366
+ locked?: boolean;
401
367
  marginLeft?: number;
402
368
  moving?: boolean;
403
369
  /** used only when column is a child of GroupColumn */
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@vuu-ui/vuu-table-types",
3
- "version": "2.1.13",
3
+ "version": "2.1.15",
4
4
  "devDependencies": {
5
- "@vuu-ui/vuu-data-types": "2.1.13",
6
- "@vuu-ui/vuu-filter-types": "2.1.13",
7
- "@vuu-ui/vuu-protocol-types": "2.1.13"
5
+ "@vuu-ui/vuu-data-types": "2.1.15",
6
+ "@vuu-ui/vuu-filter-types": "2.1.15",
7
+ "@vuu-ui/vuu-protocol-types": "2.1.15"
8
8
  },
9
9
  "author": "heswell",
10
10
  "license": "Apache-2.0",