@databrainhq/plugin 0.7.0 → 0.7.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.
@@ -1,6 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { AxisSettings, BackgroundSettings, CustomSettings, LabelSettings, LegendSettings, RlsCondition } from './app';
3
- import { FloatingDropDownOption } from '@/components/FloatingDropDown';
2
+ import { AxisSettings, BackgroundSettings, CustomSettings, LabelSettings, LegendSettings, RlsCondition, FloatingDropDownOption } from './app';
4
3
  declare type ColumnData = {
5
4
  name: string;
6
5
  datatype: string;
@@ -102,6 +101,11 @@ export declare type MetricOutputProps = {
102
101
  setBackGroundColor: React.Dispatch<React.SetStateAction<BackgroundSettings>>;
103
102
  rlsConditions?: RlsCondition[] | undefined;
104
103
  onChangeFilterValue?: (name: string, value: string) => void;
104
+ moreTabs?: {
105
+ name: string;
106
+ tab: JSX.Element;
107
+ tabContent: JSX.Element;
108
+ }[];
105
109
  };
106
110
  export declare type CompanyIntegration = {
107
111
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@databrainhq/plugin",
3
- "version": "0.7.0",
3
+ "version": "0.7.2",
4
4
  "description": "Databrain app dashboard ui plugin.",
5
5
  "author": "",
6
6
  "license": "MIT",
@@ -80,13 +80,13 @@
80
80
  "dist"
81
81
  ],
82
82
  "dependencies": {
83
- "@headlessui/react": "^1.7.7",
83
+ "@headlessui/react": "^1.7.2",
84
84
  "classnames": "^2.3.2",
85
85
  "echarts": "^5.4.1",
86
86
  "echarts-for-react": "^3.0.2",
87
87
  "react-error-boundary": "^3.1.4",
88
88
  "react-grid-layout": "^1.3.4",
89
- "react-hook-form": "^7.42.1",
89
+ "react-hook-form": "^7.33.1",
90
90
  "react-query": "^3.39.2"
91
91
  },
92
92
  "peerDependencies": {