@drayman/elements 1.4.20 → 1.4.24

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.
@@ -1,4 +1,5 @@
1
1
  export interface DraymanGrid {
2
+ rowHoverStyle?: any;
2
3
  onLoad?: ElementEvent<{
3
4
  currentCol: number;
4
5
  visibleColCount: number;
@@ -23,6 +24,14 @@ export interface DraymanGrid {
23
24
  cellWidth: number;
24
25
  columnCount: number;
25
26
  rowCount: number;
27
+ selectionMode?: {
28
+ enabled: boolean;
29
+ cellStyle?: any;
30
+ };
31
+ selectedCells?: GridCell[];
32
+ onSelectedCellsChange?: ElementEvent<{
33
+ selectedCells: GridCell[];
34
+ }>;
26
35
  }
27
36
  export interface GridCell {
28
37
  row: number;
@@ -40,6 +49,8 @@ export interface GridCell {
40
49
  })[];
41
50
  cellStyle?: any;
42
51
  contentStyle?: any;
52
+ selectionGroup?: string;
53
+ disableSelect?: boolean;
43
54
  }
44
55
  export interface GridContentButton {
45
56
  /**
@@ -8,7 +8,7 @@ export interface ButtonOptionsBase {
8
8
  * Material style of the button.
9
9
  * `basic` by default.
10
10
  */
11
- view?: 'basic' | 'raised' | 'flat' | 'stroked' | 'icon' | 'fab' | 'miniFab';
11
+ view?: 'basic' | 'raised' | 'flat' | 'stroked' | 'icon' | 'fab' | 'miniFab' | 'unstyled';
12
12
  /**
13
13
  * Name of the [Material icon](https://material.io/resources/icons) printed inside button.
14
14
  */
@@ -26,4 +26,8 @@ export interface ButtonOptionsBase {
26
26
  */
27
27
  imgUrl?: string;
28
28
  buttonStyle?: any;
29
+ popup?: {
30
+ text: string;
31
+ style?: any;
32
+ };
29
33
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drayman/elements",
3
- "version": "1.4.20",
3
+ "version": "1.4.24",
4
4
  "description": "A collection of web components for Drayman.",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -166,4 +166,4 @@
166
166
  "typescript-json-schema": "^0.43.0",
167
167
  "zone.js": "0.11.1"
168
168
  }
169
- }
169
+ }