tsv2-library 0.2.2 → 0.2.3

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.
@@ -8,6 +8,10 @@ export interface BadgeProps {
8
8
  * The text to be displayed.
9
9
  */
10
10
  label: string;
11
+ /**
12
+ * Wether the badge text is editable.
13
+ */
14
+ editable?: boolean;
11
15
  /**
12
16
  * Sets the severity level for styling purposes.
13
17
  */
@@ -30,8 +34,12 @@ export interface BadgeProps {
30
34
  * Emits for Badge component
31
35
  */
32
36
  export type BadgeEmits = {
33
- remove: [];
34
- doubleClick: [event: MouseEvent];
37
+ 'remove': [];
38
+ /**
39
+ * Emits when the text is edited.
40
+ * Only available when props.editable=true
41
+ */
42
+ 'update:label': [label: string | null];
35
43
  };
36
44
 
37
45
  /**
@@ -33,6 +33,7 @@ export type TableColumn = {
33
33
  */
34
34
  reorderable?: boolean;
35
35
  fixed?: boolean;
36
+ visible?: boolean;
36
37
  /**
37
38
  * The column width in pixel.
38
39
  */