ods-charts
Advanced tools
Comparing version 0.1.0-alpha.9 to 0.1.0-alpha.10
import { EChartsProject } from './ODS.project'; | ||
import { ODSChartsCSSThemeDefinition, ODSChartsCSSThemesNames } from './css-themes/css-themes'; | ||
import { ODSChartsPopoverConfig, ODSChartsPopoverDefinition } from './popover/ods-chart-popover-definitions'; | ||
/** | ||
* ODSChartsCategoricalColorsSet is used for predefined color sets. | ||
* | ||
* Default and Categorical color sets are defined so all the colors are `accessible` against white/dark background and distinguishable for most color-blind people. These sets are not accessible from a monochromacy point of view. | ||
* | ||
* If you use our `sequential` sets, please consider using one color out of two if possible for a greater contrast (for example 0-2-4). | ||
* | ||
* - {@link DEFAULT} is the default color set for up to 12 different colors, selected to favor contrasts. | ||
* - {@link CATEGORICAL} is a color set, build for up to 12 different colors, defined by the Orange Design System to display data visualization categories. | ||
* - {@link FUNCTIONAL} is the color set embedding the orange that should be used a functional gray and all the functional colors. | ||
* - {@link SUPPORTING_COLORS} is the color set embedding all the supporting colors. Colors don't change between light and dark mode. | ||
* - {@link DARKER_TINTS} is the color set embedding all the darker tints of the supporting colors in light mode (lighter in dark mode). | ||
* - {@link LIGHTER_TINTS} is the color set embedding all the lighter tints of the supporting colors in light mode (darker in dark mode). | ||
* - {@link SEQUENTIAL_BLUE} is the color set embedding all the Orange Design System blue colors. | ||
* - {@link SEQUENTIAL_GREEN} is the color set embedding all the Orange Design System green colors. | ||
* - {@link SEQUENTIAL_PINK} is the color set embedding all the Orange Design System pink colors. | ||
* - {@link SEQUENTIAL_PURPLE} is the color set embedding all the Orange Design System purple colors. | ||
* - {@link SEQUENTIAL_YELLOW} is the color set embedding all the Orange Design System yellow colors. | ||
*/ | ||
export declare enum ODSChartsCategoricalColorsSet { | ||
DEFAULT_SUPPORTING_COLORS = "supportingColors", | ||
DEFAULT = "default", | ||
CATEGORICAL = "categorical", | ||
FUNCTIONAL = "functional", | ||
SUPPORTING_COLORS = "supportingColors", | ||
DARKER_TINTS = "darkerTints", | ||
@@ -10,3 +32,5 @@ LIGHTER_TINTS = "lighterTints", | ||
SEQUENTIAL_GREEN = "green", | ||
SEQUENTIAL_PURPLE = "purple" | ||
SEQUENTIAL_PINK = "pink", | ||
SEQUENTIAL_PURPLE = "purple", | ||
SEQUENTIAL_YELLOW = "yellow" | ||
} | ||
@@ -35,3 +59,3 @@ /** | ||
* The {@link ODSChartsCategoricalColorsSet} to be used to extract a specific color. | ||
* (example {@link ODSChartsCategoricalColorsSet.DEFAULT_SUPPORTING_COLORS}) | ||
* (example {@link ODSChartsCategoricalColorsSet.SUPPORTING_COLORS}) | ||
*/ | ||
@@ -47,3 +71,5 @@ colorPalette: ODSChartsCategoricalColorsSet; | ||
SEQUENTIAL_GREEN = "green", | ||
SEQUENTIAL_PURPLE = "purple" | ||
SEQUENTIAL_PINK = "pink", | ||
SEQUENTIAL_PURPLE = "purple", | ||
SEQUENTIAL_YELLOW = "yellow" | ||
} | ||
@@ -72,3 +98,3 @@ export declare enum ODSChartsLineStyle { | ||
* | ||
* example: `ODSCharts.ODSChartsCategoricalColorsSet.DEFAULT_SUPPORTING_COLORS`. | ||
* example: `ODSCharts.ODSChartsCategoricalColorsSet.SUPPORTING_COLORS`. | ||
* | ||
@@ -83,3 +109,3 @@ * - Or it can be an array of colors {@link ODSChartsCustomCategoricalColor} | ||
* ODSCharts.ODSChartsCategoricalColorsSet | ||
* .DEFAULT_SUPPORTING_COLORS, | ||
* .SUPPORTING_COLORS, | ||
* colorIndex: 2, | ||
@@ -94,3 +120,3 @@ * }, | ||
* ``` | ||
* Default categoricalColors is {@link ODSChartsCategoricalColorsSet.DEFAULT_SUPPORTING_COLORS} | ||
* Default categoricalColors is {@link ODSChartsCategoricalColorsSet.DEFAULT} | ||
*/ | ||
@@ -97,0 +123,0 @@ categoricalColors?: ODSChartsCategoricalColorsSet | ODSChartsCustomCategoricalColor[]; |
{ | ||
"name": "ods-charts", | ||
"description": "ODS Charts is based on Apache ECharts and provides Orange charts components.", | ||
"version": "0.1.0-alpha.9", | ||
"author": "", | ||
"version": "0.1.0-alpha.10", | ||
"author": "Orange SA", | ||
"contributors": [], | ||
@@ -34,7 +34,7 @@ "license": "MIT", | ||
"ts-loader": "^9.5.1", | ||
"typedoc": "^0.25.13", | ||
"typescript": "^5.4.5", | ||
"webpack": "^5.91.0", | ||
"typedoc": "^0.26.2", | ||
"typescript": "^5.5.2", | ||
"webpack": "^5.92.1", | ||
"webpack-cli": "^5.1.4" | ||
} | ||
} |
@@ -0,0 +0,0 @@ <h1 align="center">Orange Design System Charts</h1> |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
414404
60
4399
1