@drayman/elements 1.67.0 → 1.68.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.
@@ -16,7 +16,7 @@ declare type DraymanTextFieldOptions = Omit<DraymanTextField, EventHandlerKeys<D
16
16
  /**
17
17
  * A single toolbar item in the table: a button, slider, or text-field.
18
18
  */
19
- export declare type DraymanToolbarItem = DraymanToolbarButtonItem | DraymanToolbarSliderItem | DraymanToolbarTextFieldItem;
19
+ export declare type DraymanToolbarItem = DraymanToolbarButtonItem | DraymanToolbarSliderItem | DraymanToolbarTextFieldItem | DraymanToolbarTextItem;
20
20
  /** Button item in the toolbar */
21
21
  export interface DraymanToolbarButtonItem {
22
22
  type: 'button';
@@ -32,6 +32,14 @@ export interface DraymanToolbarTextFieldItem {
32
32
  type: 'text-field';
33
33
  options: DraymanTextFieldOptions;
34
34
  }
35
+ /** Text item in the toolbar */
36
+ export interface DraymanToolbarTextItem {
37
+ type: 'text';
38
+ options: {
39
+ value?: string;
40
+ style?: any;
41
+ };
42
+ }
35
43
  export interface DraymanTable {
36
44
  /**
37
45
  * Title of the table.
@@ -59,6 +67,10 @@ export interface DraymanTable {
59
67
  * Enables search bar.
60
68
  */
61
69
  search?: boolean;
70
+ /**
71
+ * Search bar position in toolbar.
72
+ */
73
+ searchBarPosition?: 'left' | 'right';
62
74
  /**
63
75
  * Enables paginator.
64
76
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drayman/elements",
3
- "version": "1.67.0",
3
+ "version": "1.68.0",
4
4
  "description": "A collection of web components for Drayman.",
5
5
  "license": "MIT",
6
6
  "keywords": [