@drayman/elements 1.4.8 → 1.4.12

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.
@@ -163,6 +163,12 @@ export interface DraymanTable {
163
163
  * List of toolbar buttons.
164
164
  */
165
165
  toolbarButtons?: DraymanToolbarButton[];
166
+ /**
167
+ * Event fired when user clicks a column button.
168
+ */
169
+ onColumnButtonClick?: ElementEvent<{
170
+ columnDefinition: DraymanTableColumn;
171
+ }>;
166
172
  /**
167
173
  * Event fired when user clicks a toolbar button.
168
174
  */
@@ -422,6 +428,7 @@ export interface DraymanTableColumn {
422
428
  colspan?: number;
423
429
  rowspan?: number;
424
430
  align?: 'left' | 'center' | 'right';
431
+ button?: DraymanToolbarButton;
425
432
  }
426
433
  export interface GridTextFieldCell extends GridCellBase {
427
434
  type: 'text-field';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drayman/elements",
3
- "version": "1.4.8",
3
+ "version": "1.4.12",
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 \/>