@mesh.ai/rabbit 0.0.0 → 0.0.2

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,4 @@
1
+ /// <reference types="react" />
2
+ import { LineChartProps, DownloadRef } from './types';
3
+ declare const LineChart: import("react").ForwardRefExoticComponent<Omit<LineChartProps, "height" | "width"> & import("react").RefAttributes<DownloadRef>>;
4
+ export default LineChart;
@@ -13,7 +13,7 @@ export type Node = {
13
13
  id: string;
14
14
  name: string;
15
15
  };
16
- export type LineProps = {
16
+ export type LineChartProps = {
17
17
  /** the maximum number of characters to show in a x-axis label */
18
18
  xAxisCharLimit?: number;
19
19
  /** Show the chart in either 'mini' or 'full' mode to show limited or full data. Full mode as ability to select nodes to display */
@@ -1 +1 @@
1
- export { default as Line } from './charts/charts/line';
1
+ export { default as Line } from './charts/charts/LineChart';
@@ -1,4 +1,5 @@
1
- export declare const objectValuesToControls: (obj: Record<string, string>, control?: string) => {
1
+ declare const objectValuesToControls: (obj: Record<string, string>, control?: string) => {
2
2
  control: string;
3
3
  options: string[];
4
4
  };
5
+ export default objectValuesToControls;
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@mesh.ai/rabbit",
3
3
  "private": false,
4
- "version": "0.0.0",
4
+ "version": "0.0.2",
5
5
  "packageManager": "pnpm@8.6.0",
6
- "main": "./dist/rabbit-design-system.umd.js",
7
- "module": "./dist/rabbit-design-system.es.js",
6
+ "main": "./dist/@mesh.ai/rabbit.umd.js",
7
+ "module": "./dist/@mesh.ai/rabbit.es.js ",
8
8
  "types": "./dist/index.d.ts",
9
9
  "exports": {
10
10
  ".": {
11
11
  "types": "./dist/index.d.ts",
12
- "import": "./dist/rabbit-design-system.es.js",
13
- "require": "./dist/rabbit-design-system.umd.js"
12
+ "import": "./dist/@mesh.ai/rabbit.es.js",
13
+ "require": "./dist/@mesh.ai/rabbit.umd.js"
14
14
  },
15
15
  "./dist/style.css": "./dist/style.css"
16
16
  },
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import { LineProps, DownloadRef } from './types';
3
- declare const Line: import("react").ForwardRefExoticComponent<Omit<LineProps, "height" | "width"> & import("react").RefAttributes<DownloadRef>>;
4
- export default Line;