@mesh.ai/rabbit 1.12.2 → 1.12.3

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/index.d.ts CHANGED
@@ -528,14 +528,20 @@ declare interface ChartDataType {
528
528
  x: string;
529
529
  y: number | null;
530
530
  nodeId: string;
531
- color: ChartColorsType;
531
+ color: ChartColorsType | {
532
+ dark?: string;
533
+ light?: string;
534
+ };
532
535
  }
533
536
 
534
537
  declare interface ChartDataType_2 {
535
538
  x: string;
536
539
  y: number | null;
537
540
  nodeId: string;
538
- color: ChartColorsType;
541
+ color: ChartColorsType | {
542
+ dark?: string;
543
+ light?: string;
544
+ };
539
545
  }
540
546
 
541
547
  export declare function Check(props: SVGProps<SVGSVGElement>): JSX_2.Element;
@@ -1336,6 +1342,8 @@ declare interface LineChartProps {
1336
1342
  }[];
1337
1343
  /** Title name for the tooltip of the chart */
1338
1344
  tooltipTitle: string;
1345
+ /** Title name for the selector for series of the chart */
1346
+ seriesSelectorTitle?: string;
1339
1347
  /** Number of characters post which the data in tooltip will be stacked instead of side-by-side */
1340
1348
  tooltipStackCharLimit?: number;
1341
1349
  /** Domain of x-Axis - string values of the band */
@@ -1783,6 +1791,10 @@ declare type NavL2Props = ControlledNavL2Props | UnControlledNavL2Props;
1783
1791
  declare interface Node_2 {
1784
1792
  id: string;
1785
1793
  name: string;
1794
+ color?: {
1795
+ dark?: string;
1796
+ light?: string;
1797
+ };
1786
1798
  }
1787
1799
 
1788
1800
  declare interface Node_3 {
@@ -1802,6 +1814,10 @@ declare interface Node_4 {
1802
1814
  declare interface Node_5 {
1803
1815
  id: string;
1804
1816
  name: string;
1817
+ color?: {
1818
+ dark?: string;
1819
+ light?: string;
1820
+ };
1805
1821
  }
1806
1822
 
1807
1823
  declare const NODES: readonly ["a", "button", "div", "form", "h2", "h3", "img", "input", "label", "li", "nav", "ol", "p", "span", "svg", "ul"];
@@ -2632,6 +2648,8 @@ declare interface StackedBarChartProps {
2632
2648
  }[];
2633
2649
  /** Title name for the tooltip of the chart */
2634
2650
  tooltipTitle: string;
2651
+ /** Title name for the selector for series of the chart */
2652
+ seriesSelectorTitle?: string;
2635
2653
  /** Number of characters post which the data in tooltip will be stacked instead of side-by-side */
2636
2654
  tooltipStackCharLimit?: number;
2637
2655
  /** Domain of x-Axis - string values of the band */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mesh.ai/rabbit",
3
3
  "private": false,
4
- "version": "1.12.2",
4
+ "version": "1.12.3",
5
5
  "packageManager": "pnpm@8.6.0",
6
6
  "main": "./dist/@mesh.ai/rabbit.umd.js",
7
7
  "module": "./dist/@mesh.ai/rabbit.es.js ",