@trebco/treb 31.7.6 → 31.7.7
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.
package/dist/treb.d.ts
CHANGED
|
@@ -1214,7 +1214,7 @@ export interface ConditionalFormatGradientOptions {
|
|
|
1214
1214
|
/** min and max are optional. if not provided, we use the min/max of the range of data. */
|
|
1215
1215
|
max?: number;
|
|
1216
1216
|
}
|
|
1217
|
-
export type StandardGradient =
|
|
1217
|
+
export type StandardGradient = 'red-green' | 'green-red' | 'red-yellow-green' | 'green-yellow-red';
|
|
1218
1218
|
export interface ConditionalFormatCellMatchOptions {
|
|
1219
1219
|
style: CellStyle;
|
|
1220
1220
|
expression: string;
|
package/package.json
CHANGED
|
@@ -68,6 +68,7 @@ export interface ConditionalFormatGradientOptions {
|
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
/**
|
|
71
|
+
*
|
|
71
72
|
* @internal
|
|
72
73
|
*
|
|
73
74
|
* @privateRemarks
|
|
@@ -107,7 +108,10 @@ export const StandardGradientsList = {
|
|
|
107
108
|
] as GradientStop[],
|
|
108
109
|
},
|
|
109
110
|
} as const;
|
|
110
|
-
|
|
111
|
+
|
|
112
|
+
// temp while I figure out what's wrong with the API generator
|
|
113
|
+
// export type StandardGradient = keyof typeof StandardGradientsList;
|
|
114
|
+
export type StandardGradient = 'red-green' | 'green-red' | 'red-yellow-green' | 'green-yellow-red';
|
|
111
115
|
|
|
112
116
|
export interface ConditionalFormatGradient extends ConditionalFormatGradientOptions {
|
|
113
117
|
type: 'gradient';
|