@drayman/elements 1.4.5 → 1.4.9

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.
@@ -16,7 +16,7 @@ export interface DraymanTable {
16
16
  /**
17
17
  * Table column definitions.
18
18
  */
19
- columns: DraymanTableColumn[];
19
+ columns: DraymanTableColumn[][] | DraymanTableColumn[];
20
20
  /**
21
21
  * Table row data.
22
22
  */
@@ -217,7 +217,7 @@ export interface DraymanTable {
217
217
  rowIndex: number;
218
218
  }>;
219
219
  }
220
- export declare type CellType = 'text' | 'text-field' | 'button' | 'number-field' | 'select' | 'file-uploader' | 'checkbox' | 'datepicker' | 'timepicker';
220
+ export declare type CellType = 'text' | 'text-field' | 'button' | 'number-field' | 'select' | 'file-uploader' | 'checkbox' | 'datepicker' | 'timepicker' | 'header';
221
221
  export interface GridCellBase {
222
222
  type?: CellType;
223
223
  style?: any;
@@ -419,6 +419,9 @@ export interface DraymanTableColumn {
419
419
  type?: CellType;
420
420
  style?: any;
421
421
  pinned?: 'left' | 'right';
422
+ colspan?: number;
423
+ rowspan?: number;
424
+ align?: 'left' | 'center' | 'right';
422
425
  }
423
426
  export interface GridTextFieldCell extends GridCellBase {
424
427
  type: 'text-field';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drayman/elements",
3
- "version": "1.4.5",
3
+ "version": "1.4.9",
4
4
  "description": "A collection of web components for Drayman.",
5
5
  "license": "MIT",
6
6
  "keywords": [
package/types/index.d.ts CHANGED
@@ -20,6 +20,7 @@ import { DraymanNebula } from '../dist/types/nebula/src/app/models/nebula-option
20
20
  declare global {
21
21
  interface DraymanElementsProps {
22
22
  style?: CSS;
23
+ ref?: string;
23
24
  }
24
25
  /**
25
26
  * # <drayman-button \/>