@classic-homes/charts-core 0.1.37 → 0.3.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.
@@ -284,7 +284,12 @@ var lightChartColors = {
284
284
  axisPointerLabel: themeTokens.semanticColors.light.mutedForeground,
285
285
  divider: themeTokens.colors.gray[600],
286
286
  success: themeTokens.semanticColors.light.success,
287
- destructive: themeTokens.semanticColors.light.destructive
287
+ destructive: themeTokens.semanticColors.light.destructive,
288
+ warning: themeTokens.semanticColors.light.warning,
289
+ reference: themeTokens.semanticColors.light.mutedForeground,
290
+ referenceBand: "rgba(102, 102, 102, 0.08)",
291
+ surface: themeTokens.semanticColors.light.card,
292
+ ranges: [themeTokens.colors.gray[300], themeTokens.colors.gray[200], themeTokens.colors.gray[100]]
288
293
  };
289
294
  var darkChartColors = {
290
295
  series: darkTheme.color,
@@ -294,7 +299,12 @@ var darkChartColors = {
294
299
  axisPointerLabel: themeTokens.colors.gray[600],
295
300
  divider: themeTokens.colors.gray[700],
296
301
  success: themeTokens.semanticColors.dark.success,
297
- destructive: themeTokens.semanticColors.dark.destructive
302
+ destructive: themeTokens.semanticColors.dark.destructive,
303
+ warning: themeTokens.semanticColors.dark.warning,
304
+ reference: themeTokens.semanticColors.dark.mutedForeground,
305
+ referenceBand: "rgba(255, 255, 255, 0.06)",
306
+ surface: themeTokens.semanticColors.dark.card,
307
+ ranges: [themeTokens.colors.gray[600], themeTokens.colors.gray[700], themeTokens.colors.gray[800]]
298
308
  };
299
309
  function getChartColors(themeName) {
300
310
  return themeName === THEME_DARK ? darkChartColors : lightChartColors;
@@ -153,6 +153,16 @@ interface ChartSemanticColors {
153
153
  success: string;
154
154
  /** Negative values */
155
155
  destructive: string;
156
+ /** Cautionary values */
157
+ warning: string;
158
+ /** Reference lines (targets, averages) */
159
+ reference: string;
160
+ /** Reference band fill */
161
+ referenceBand: string;
162
+ /** Background of plots and cards, e.g. behind bullet ranges */
163
+ surface: string;
164
+ /** Qualitative range shades for bullet charts, darkest (poor) first */
165
+ ranges: string[];
156
166
  }
157
167
  declare const lightChartColors: ChartSemanticColors;
158
168
  declare const darkChartColors: ChartSemanticColors;
@@ -153,6 +153,16 @@ interface ChartSemanticColors {
153
153
  success: string;
154
154
  /** Negative values */
155
155
  destructive: string;
156
+ /** Cautionary values */
157
+ warning: string;
158
+ /** Reference lines (targets, averages) */
159
+ reference: string;
160
+ /** Reference band fill */
161
+ referenceBand: string;
162
+ /** Background of plots and cards, e.g. behind bullet ranges */
163
+ surface: string;
164
+ /** Qualitative range shades for bullet charts, darkest (poor) first */
165
+ ranges: string[];
156
166
  }
157
167
  declare const lightChartColors: ChartSemanticColors;
158
168
  declare const darkChartColors: ChartSemanticColors;
@@ -1 +1 @@
1
- export { THEME_DARK, THEME_LIGHT, colorWithAlpha, darkChartColors, darkTheme, generateDarkTheme, generateLightTheme, getChartColors, lightChartColors, lightTheme } from '../chunk-JM72YHZD.js';
1
+ export { THEME_DARK, THEME_LIGHT, colorWithAlpha, darkChartColors, darkTheme, generateDarkTheme, generateLightTheme, getChartColors, lightChartColors, lightTheme } from '../chunk-WAHMKXRF.js';