@omni-design/components 0.14.30 → 0.14.31

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.
@@ -0,0 +1,88 @@
1
+ /**
2
+ * The CSS for every set on the two chart grounds. Surface-Brightest takes the
3
+ * light half, Surface-Dimmest the dark. Two selectors per block — the ground
4
+ * inside an element carrying the attribute, and the ground element carrying
5
+ * it itself — both more specific than a design system's bare
6
+ * [data-surface] chart block, so load order does not matter.
7
+ */
8
+ export function chartColorVisionCSS(levels?: string[]): string;
9
+ export const CHART_COLOR_VISION: {
10
+ 'red-weak': {
11
+ figma: string;
12
+ label: string;
13
+ series: string[][];
14
+ states: {
15
+ Error: string[];
16
+ Warning: string[];
17
+ Success: string[];
18
+ Info: string[];
19
+ };
20
+ };
21
+ 'red-blind': {
22
+ figma: string;
23
+ label: string;
24
+ series: string[][];
25
+ states: {
26
+ Error: string[];
27
+ Warning: string[];
28
+ Success: string[];
29
+ Info: string[];
30
+ };
31
+ };
32
+ 'green-weak': {
33
+ figma: string;
34
+ label: string;
35
+ series: string[][];
36
+ states: {
37
+ Error: string[];
38
+ Warning: string[];
39
+ Success: string[];
40
+ Info: string[];
41
+ };
42
+ };
43
+ 'green-blind': {
44
+ figma: string;
45
+ label: string;
46
+ series: string[][];
47
+ states: {
48
+ Error: string[];
49
+ Warning: string[];
50
+ Success: string[];
51
+ Info: string[];
52
+ };
53
+ };
54
+ 'blue-weak': {
55
+ figma: string;
56
+ label: string;
57
+ series: string[][];
58
+ states: {
59
+ Error: string[];
60
+ Warning: string[];
61
+ Success: string[];
62
+ Info: string[];
63
+ };
64
+ };
65
+ 'blue-blind': {
66
+ figma: string;
67
+ label: string;
68
+ series: string[][];
69
+ states: {
70
+ Error: string[];
71
+ Warning: string[];
72
+ Success: string[];
73
+ Info: string[];
74
+ };
75
+ };
76
+ 'blue-cone': {
77
+ figma: string;
78
+ label: string;
79
+ series: string[][];
80
+ states: {
81
+ Error: string[];
82
+ Warning: string[];
83
+ Success: string[];
84
+ Info: string[];
85
+ };
86
+ };
87
+ };
88
+ export const COLOR_VISIONS: string[];
@@ -3,3 +3,4 @@ export { BarChart, default as BarChartDefault } from "./BarChart";
3
3
  export { LineChart, default as LineChartDefault } from "./LineChart";
4
4
  export { PieChart, default as PieChartDefault } from "./PieChart";
5
5
  export { CHART_TOKENS, CHART_LABEL_TYPE } from "./tokens";
6
+ export { CHART_COLOR_VISION, COLOR_VISIONS, chartColorVisionCSS } from "./colorVision";
@@ -84,6 +84,6 @@ export { Accordion, AccordionSummary, AccordionDetails, AccordionGroup } from ".
84
84
  export { OmniTreeView, SolidTreeView, LightTreeView, DEFAULT_ITEMS, TreeBranch, TreeViewShowcase } from "./TreeView";
85
85
  export { OmniDesignProvider, useOmniDesign, ThemedZone, Surfaced } from "../OmniDesignProvider";
86
86
  export { CodeBlock, CopyButton } from "./CodeBlock/CodeBlock";
87
- export { BarChart, LineChart, PieChart, CHART_TOKENS, CHART_LABEL_TYPE } from "./Charts";
87
+ export { BarChart, LineChart, PieChart, CHART_TOKENS, CHART_LABEL_TYPE, CHART_COLOR_VISION, COLOR_VISIONS, chartColorVisionCSS } from "./Charts";
88
88
  export { Ghost, useGhost, ghostBlockSx } from "./_ghost";
89
89
  export { COMPONENT_DOCS, FOUNDATIONS, renderFoundations, renderColorSystem, renderColorSystem as renderColourSystem, renderComponentDoc, COLOR_COLLECTIONS, COLOR_COLLECTIONS as COLOUR_COLLECTIONS, docsSlug, componentDocsUrl, componentDocsIndexUrl, DOCS_ORIGIN, EXAMPLES, hasExample } from "../docs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omni-design/components",
3
- "version": "0.14.30",
3
+ "version": "0.14.31",
4
4
  "description": "DynoDesign adaptive component library — token-driven React components with customizable CSS theming",
5
5
  "author": "Lise Noble",
6
6
  "license": "Apache-2.0",