Skip to content

Commit 5cefc1f

Browse files
committed
Types - Add color attribute to VueUiSparkHistogramDatasetItem
1 parent 5fa3c4c commit 5cefc1f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

types/vue-data-ui.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1103,6 +1103,7 @@ declare module 'vue-data-ui' {
11031103

11041104
export type VueUiSparkHistogramDatasetItem = {
11051105
intensity?: number & { 0: 0; 1: 1 };
1106+
color?: string;
11061107
gradient?: string;
11071108
height?: number;
11081109
proportion?: number;
@@ -1465,7 +1466,7 @@ declare module 'vue-data-ui' {
14651466
labels?: {
14661467
fontSize?: number;
14671468
name?: {
1468-
position?: "top" | "left";
1469+
position?: "left" | "top" | "top-left" | "top-center" | "top-right" | "right"; // "top" legacy converts to "top-left"
14691470
width?: string;
14701471
color?: string;
14711472
bold?: boolean;

0 commit comments

Comments
 (0)