@drayman/elements 1.28.0 → 1.30.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.
@@ -50,6 +50,17 @@ export interface DraymanGrid {
50
50
  * Medium is 12px and wide is 16px.
51
51
  */
52
52
  scrollbarWidth?: 'narrow' | 'medium' | 'wide';
53
+ /**
54
+ * Width of each column.
55
+ */
56
+ columnWidths?: number[];
57
+ /**
58
+ * Index of the column that has been resized.
59
+ */
60
+ changedWidthIndex?: ElementEvent<{
61
+ columnWidths: number[];
62
+ changedColumnWidthIndex: number;
63
+ }>;
53
64
  }
54
65
  export interface GridCell {
55
66
  row: number;
@@ -97,5 +108,9 @@ export interface GridContentButton {
97
108
  * Image shown on hover.
98
109
  */
99
110
  imgUrl?: string;
111
+ /**
112
+ * Reference to the button.
113
+ */
114
+ buttonRef?: string;
100
115
  buttonStyle?: any;
101
116
  }
@@ -31,4 +31,8 @@ export interface ButtonOptionsBase {
31
31
  text: string;
32
32
  style?: any;
33
33
  };
34
+ /**
35
+ * Reference to the button.
36
+ */
37
+ buttonRef?: string;
34
38
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drayman/elements",
3
- "version": "1.28.0",
3
+ "version": "1.30.0",
4
4
  "description": "A collection of web components for Drayman.",
5
5
  "license": "MIT",
6
6
  "keywords": [