@vizzly/dashboard 0.11.0-dev-896a325fc414ccd69b8ea0e6263e4a3901efa8d2 → 0.11.0

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.
Files changed (29) hide show
  1. package/dist/charts/src/ScatterChart/ScatterChart.d.ts +1 -1
  2. package/dist/dashboard/src/contexts/GlobalProvider/useGlobalProvider.d.ts +18 -18
  3. package/dist/index.js +1 -1
  4. package/dist/results-driver/src/driver/VizzlyQuery/AreaChart/toQueries.d.ts +1 -1
  5. package/dist/results-driver/src/driver/VizzlyQuery/BarChart/toQueries.d.ts +1 -1
  6. package/dist/results-driver/src/driver/VizzlyQuery/BasicTable/toQueries.d.ts +1 -1
  7. package/dist/results-driver/src/driver/VizzlyQuery/HorizontalBarChart/toQueries.d.ts +1 -1
  8. package/dist/results-driver/src/driver/VizzlyQuery/LineChart/toQueries.d.ts +1 -1
  9. package/dist/results-driver/src/driver/VizzlyQuery/PieChart/toQueries.d.ts +1 -1
  10. package/dist/results-driver/src/driver/VizzlyQuery/PivotTable/toQueries.d.ts +1 -1
  11. package/dist/shared-ui/src/styles/global.styles.d.ts +0 -2
  12. package/package.json +1 -1
  13. package/dist/shared-ui/src/base/explorer/Code.d.ts +0 -49
  14. package/dist/shared-ui/src/base/explorer/ExplorerPanel.d.ts +0 -28
  15. package/dist/shared-ui/src/base/explorer/FeatureToggleSection.d.ts +0 -10
  16. package/dist/shared-ui/src/base/explorer/ListOfFeatures.d.ts +0 -25
  17. package/dist/shared-ui/src/base/explorer/MoreIcon.d.ts +0 -2
  18. package/dist/shared-ui/src/base/explorer/ProgrammaticSection/DashboardFiltersSection.d.ts +0 -3
  19. package/dist/shared-ui/src/base/explorer/ProgrammaticSection/OtherSection.d.ts +0 -3
  20. package/dist/shared-ui/src/base/explorer/ProgrammaticSection/ProgrammaticSection.d.ts +0 -10
  21. package/dist/shared-ui/src/base/explorer/StudioWithExplorer.d.ts +0 -7
  22. package/dist/shared-ui/src/base/explorer/ThemeSection/ButtonsExplorer.d.ts +0 -3
  23. package/dist/shared-ui/src/base/explorer/ThemeSection/ChartsExplorer.d.ts +0 -3
  24. package/dist/shared-ui/src/base/explorer/ThemeSection/DashboardExplorer.d.ts +0 -3
  25. package/dist/shared-ui/src/base/explorer/ThemeSection/ThemeSection.d.ts +0 -10
  26. package/dist/shared-ui/src/base/explorer/ThemeSection/utils.funcs.d.ts +0 -6
  27. package/dist/shared-ui/src/base/explorer/functions/index.d.ts +0 -7
  28. package/dist/shared-ui/src/base/explorer/functions/index.test.d.ts +0 -1
  29. package/dist/shared-ui/src/base/explorer/useExplorer.d.ts +0 -22
@@ -1,4 +1,4 @@
1
- export declare const toQueries: (attributes: import("../../../../../shared-logic/src/Component/types").Component.LineChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.AreaChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.PieChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.BasicTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes, dataSet: import("../../../../../shared-logic/src/DataSet/types").DataSet, additionalFilters: import("../../../../../shared-logic/src/QueryAttributes/types").QueryAttributes.Filter[], queryEngineConfig: import("@vizzly/dashboard/src").QueryEngineConfig) => {
1
+ export declare const toQueries: (attributes: import("../../../../../shared-logic/src/Component/types").Component.LineChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.AreaChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.PieChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.BasicTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes, dataSet: import("../../../../../shared-logic/src/DataSet/types").DataSet, additionalFilters: import("../../../../../shared-logic/src/QueryAttributes/types").QueryAttributes.Filter[], queryEngineConfig: import("../../../../../shared-logic/src/QueryEngineConfig/types").QueryEngineConfig) => {
2
2
  queries: import("../../../../../shared-logic/src/Query/types").Query<string, string, string>[];
3
3
  resultFields: import("../../../../../shared-logic/src/Result/types").Result.Field[][];
4
4
  };
@@ -1,4 +1,4 @@
1
- export declare const toQueries: (attributes: import("../../../../../shared-logic/src/Component/types").Component.LineChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.AreaChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.PieChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.BasicTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes, dataSet: import("../../../../../shared-logic/src/DataSet/types").DataSet, additionalFilters: import("../../../../../shared-logic/src/QueryAttributes/types").QueryAttributes.Filter[], queryEngineConfig: import("@vizzly/dashboard/src").QueryEngineConfig) => {
1
+ export declare const toQueries: (attributes: import("../../../../../shared-logic/src/Component/types").Component.LineChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.AreaChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.PieChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.BasicTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes, dataSet: import("../../../../../shared-logic/src/DataSet/types").DataSet, additionalFilters: import("../../../../../shared-logic/src/QueryAttributes/types").QueryAttributes.Filter[], queryEngineConfig: import("../../../../../shared-logic/src/QueryEngineConfig/types").QueryEngineConfig) => {
2
2
  queries: import("../../../../../shared-logic/src/Query/types").Query<string, string, string>[];
3
3
  resultFields: import("../../../../../shared-logic/src/Result/types").Result.Field[][];
4
4
  };
@@ -1,4 +1,4 @@
1
- export declare const toQueries: (attributes: import("../../../../../shared-logic/src/Component/types").Component.LineChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.AreaChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.PieChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.BasicTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes, dataSet: import("../../../../../shared-logic/src/DataSet/types").DataSet, additionalFilters: import("../../../../../shared-logic/src/QueryAttributes/types").QueryAttributes.Filter[], queryEngineConfig: import("@vizzly/dashboard/src").QueryEngineConfig) => {
1
+ export declare const toQueries: (attributes: import("../../../../../shared-logic/src/Component/types").Component.LineChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.AreaChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.PieChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.BasicTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes, dataSet: import("../../../../../shared-logic/src/DataSet/types").DataSet, additionalFilters: import("../../../../../shared-logic/src/QueryAttributes/types").QueryAttributes.Filter[], queryEngineConfig: import("../../../../../shared-logic/src/QueryEngineConfig/types").QueryEngineConfig) => {
2
2
  queries: import("../../../../../shared-logic/src/Query/types").Query<string, string, string>[];
3
3
  resultFields: import("../../../../../shared-logic/src/Result/types").Result.Field[][];
4
4
  };
@@ -1,4 +1,4 @@
1
- export declare const toQueries: (attributes: import("../../../../../shared-logic/src/Component/types").Component.LineChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.AreaChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.PieChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.BasicTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes, dataSet: import("../../../../../shared-logic/src/DataSet/types").DataSet, additionalFilters: import("../../../../../shared-logic/src/QueryAttributes/types").QueryAttributes.Filter[], queryEngineConfig: import("@vizzly/dashboard/src").QueryEngineConfig) => {
1
+ export declare const toQueries: (attributes: import("../../../../../shared-logic/src/Component/types").Component.LineChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.AreaChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.PieChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.BasicTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes, dataSet: import("../../../../../shared-logic/src/DataSet/types").DataSet, additionalFilters: import("../../../../../shared-logic/src/QueryAttributes/types").QueryAttributes.Filter[], queryEngineConfig: import("../../../../../shared-logic/src/QueryEngineConfig/types").QueryEngineConfig) => {
2
2
  queries: import("../../../../../shared-logic/src/Query/types").Query<string, string, string>[];
3
3
  resultFields: import("../../../../../shared-logic/src/Result/types").Result.Field[][];
4
4
  };
@@ -1,4 +1,4 @@
1
- export declare const toQueries: (attributes: import("../../../../../shared-logic/src/Component/types").Component.LineChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.AreaChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.PieChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.BasicTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes, dataSet: import("../../../../../shared-logic/src/DataSet/types").DataSet, additionalFilters: import("../../../../../shared-logic/src/QueryAttributes/types").QueryAttributes.Filter[], queryEngineConfig: import("@vizzly/dashboard/src").QueryEngineConfig) => {
1
+ export declare const toQueries: (attributes: import("../../../../../shared-logic/src/Component/types").Component.LineChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.AreaChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.PieChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.BasicTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes, dataSet: import("../../../../../shared-logic/src/DataSet/types").DataSet, additionalFilters: import("../../../../../shared-logic/src/QueryAttributes/types").QueryAttributes.Filter[], queryEngineConfig: import("../../../../../shared-logic/src/QueryEngineConfig/types").QueryEngineConfig) => {
2
2
  queries: import("../../../../../shared-logic/src/Query/types").Query<string, string, string>[];
3
3
  resultFields: import("../../../../../shared-logic/src/Result/types").Result.Field[][];
4
4
  };
@@ -1,4 +1,4 @@
1
- export declare const toQueries: (attributes: import("../../../../../shared-logic/src/Component/types").Component.LineChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.AreaChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.PieChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.BasicTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes, dataSet: import("../../../../../shared-logic/src/DataSet/types").DataSet, additionalFilters: import("../../../../../shared-logic/src/QueryAttributes/types").QueryAttributes.Filter[], queryEngineConfig: import("@vizzly/dashboard/src").QueryEngineConfig) => {
1
+ export declare const toQueries: (attributes: import("../../../../../shared-logic/src/Component/types").Component.LineChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.AreaChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.PieChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.BasicTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes, dataSet: import("../../../../../shared-logic/src/DataSet/types").DataSet, additionalFilters: import("../../../../../shared-logic/src/QueryAttributes/types").QueryAttributes.Filter[], queryEngineConfig: import("../../../../../shared-logic/src/QueryEngineConfig/types").QueryEngineConfig) => {
2
2
  queries: import("../../../../../shared-logic/src/Query/types").Query<string, string, string>[];
3
3
  resultFields: import("../../../../../shared-logic/src/Result/types").Result.Field[][];
4
4
  };
@@ -1,4 +1,4 @@
1
- export declare const toQueries: (attributes: import("../../../../../shared-logic/src/Component/types").Component.LineChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.AreaChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.PieChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.BasicTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes, dataSet: import("../../../../../shared-logic/src/DataSet/types").DataSet, additionalFilters: import("../../../../../shared-logic/src/QueryAttributes/types").QueryAttributes.Filter[], queryEngineConfig: import("@vizzly/dashboard/src").QueryEngineConfig) => {
1
+ export declare const toQueries: (attributes: import("../../../../../shared-logic/src/Component/types").Component.LineChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.AreaChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.PieChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.BasicTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes, dataSet: import("../../../../../shared-logic/src/DataSet/types").DataSet, additionalFilters: import("../../../../../shared-logic/src/QueryAttributes/types").QueryAttributes.Filter[], queryEngineConfig: import("../../../../../shared-logic/src/QueryEngineConfig/types").QueryEngineConfig) => {
2
2
  queries: import("../../../../../shared-logic/src/Query/types").Query<string, string, string>[];
3
3
  resultFields: import("../../../../../shared-logic/src/Result/types").Result.Field[][];
4
4
  };
@@ -1,6 +1,5 @@
1
1
  import { CSSObject } from '@emotion/css';
2
2
  import { CSSProperties } from 'react';
3
- export declare const coreButton: CSSObject;
4
3
  declare const fontSizeMap: {
5
4
  xs: string;
6
5
  sm: string;
@@ -130,7 +129,6 @@ export declare const css: (() => null) & {
130
129
  (variantOptions: Object): string;
131
130
  toString: any;
132
131
  };
133
- coreButton: CSSObject;
134
132
  };
135
133
  export declare const coreCSS: (() => null) & {
136
134
  button: CSSObject;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vizzly/dashboard",
3
3
  "author": "james@vizzly.co",
4
- "version": "0.11.0-dev-896a325fc414ccd69b8ea0e6263e4a3901efa8d2",
4
+ "version": "0.11.0",
5
5
  "source": "src/index.tsx",
6
6
  "types": "./dist/dashboard/src/index.d.ts",
7
7
  "main": "dist/index.js",
@@ -1,49 +0,0 @@
1
- import { FunctionComponent, ReactNode } from 'react';
2
- export declare const CodeBase: FunctionComponent<{
3
- children: ReactNode;
4
- }>;
5
- export declare const Code: FunctionComponent<{
6
- children: ReactNode;
7
- }> & {
8
- Row: FunctionComponent<{
9
- indent: number;
10
- children: ReactNode;
11
- }>;
12
- Text: FunctionComponent<{}>;
13
- Input: FunctionComponent<{
14
- label: string;
15
- name: string;
16
- value?: string | undefined;
17
- onChange: (value: string) => boolean;
18
- size: 'sm' | 'md';
19
- }>;
20
- Select: FunctionComponent<{
21
- label: string;
22
- name: string;
23
- value?: string | undefined;
24
- options: {
25
- label: string;
26
- value: string;
27
- }[];
28
- className?: string | undefined;
29
- onChange: (value: string) => void;
30
- size: 'sm' | 'md';
31
- }>;
32
- };
33
- export declare const codeStyles: (() => null) & {
34
- font: {
35
- (variantOptions: Object): string;
36
- toString: any;
37
- };
38
- inputWrapper: {
39
- (variantOptions: Object): string;
40
- toString: any;
41
- };
42
- input: {
43
- (variantOptions: Object): string;
44
- toString: any;
45
- };
46
- };
47
- export declare const CodeSnippet: FunctionComponent<{
48
- children: ReactNode;
49
- }>;
@@ -1,28 +0,0 @@
1
- import React from 'react';
2
- import { AdditionalFilter } from '../../../../shared-logic/src/AdditionalFilter/types';
3
- import { DataSet } from '@vizzly/dashboard/src';
4
- import { FeatureToggles } from '../../../../shared-logic/src/FeatureToggle/types';
5
- import { VizzlyTheming } from '../../../../shared-ui/src';
6
- export declare type ExplorerState = {
7
- featureToggles: Partial<FeatureToggles>;
8
- theme: Partial<VizzlyTheming.Base>;
9
- programmatic: {
10
- dashboardFilters: AdditionalFilter[];
11
- };
12
- };
13
- export declare const Explorer: React.FunctionComponent<{
14
- explorerState: ExplorerState;
15
- setDashboardFilters: (payload: ExplorerState) => void;
16
- setFeatureToggles: (payload: Partial<FeatureToggles>) => void;
17
- setTheme: (payload: Partial<VizzlyTheming.Base>) => void;
18
- dataSets?: DataSet[];
19
- initialFeatureToggles: Partial<FeatureToggles>;
20
- }>;
21
- export declare const sidePanel: {
22
- (variantOptions: Object): string;
23
- toString: any;
24
- };
25
- export declare const innerPanel: {
26
- (variantOptions: Object): string;
27
- toString: any;
28
- };
@@ -1,10 +0,0 @@
1
- import { ReactNode } from 'react';
2
- import { FunctionComponent } from 'react';
3
- import { ExplorerState } from './ExplorerPanel';
4
- import { FeatureToggles } from '../../../../shared-logic/src/FeatureToggle/types';
5
- export declare const FeatureToggleSection: FunctionComponent<{
6
- explorerState: ExplorerState;
7
- setFeatureToggles: (payload: Partial<FeatureToggles>) => void;
8
- setNoticeContent: (value: ReactNode | undefined) => void;
9
- initialFeatureToggles: Partial<FeatureToggles>;
10
- }>;
@@ -1,25 +0,0 @@
1
- import React, { ReactNode } from 'react';
2
- export declare type SectionType = {
3
- name: string;
4
- icon: React.ReactNode;
5
- hideName?: boolean;
6
- url?: string;
7
- docUrl?: string;
8
- };
9
- export declare const Feature: React.FunctionComponent<{
10
- children: ReactNode;
11
- sections: SectionType[];
12
- selectedFeature?: SectionType | undefined;
13
- onChange: (section: SectionType) => void;
14
- }> & {
15
- Section: React.FunctionComponent<{
16
- children: ReactNode;
17
- title: string;
18
- tooltip?: string | undefined;
19
- tooltipUrl?: string | undefined;
20
- }>;
21
- Content: React.FunctionComponent<{
22
- children: ReactNode;
23
- className?: string | undefined;
24
- }>;
25
- };
@@ -1,2 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const MoreIcon: () => JSX.Element;
@@ -1,3 +0,0 @@
1
- import { FunctionComponent } from 'react';
2
- import { ProgrammaticSectionProps } from './ProgrammaticSection';
3
- export declare const DashboardFiltersSection: FunctionComponent<ProgrammaticSectionProps>;
@@ -1,3 +0,0 @@
1
- import { FunctionComponent } from 'react';
2
- import { ProgrammaticSectionProps } from './ProgrammaticSection';
3
- export declare const OtherSection: FunctionComponent<ProgrammaticSectionProps>;
@@ -1,10 +0,0 @@
1
- import { FunctionComponent, ReactNode } from 'react';
2
- import { ExplorerState } from '../ExplorerPanel';
3
- import { DataSet } from '@vizzly/dashboard/src';
4
- export declare type ProgrammaticSectionProps = {
5
- explorerState: ExplorerState;
6
- setDashboardFilters: (payload: ExplorerState) => void;
7
- dataSets?: DataSet[];
8
- setNoticeContent: (value: ReactNode | undefined) => void;
9
- };
10
- export declare const ProgrammaticSection: FunctionComponent<ProgrammaticSectionProps>;
@@ -1,7 +0,0 @@
1
- import { FunctionComponent, ReactNode } from 'react';
2
- export declare const PANEL_WIDTH = 352;
3
- export declare const StudioWithExplorer: FunctionComponent<{
4
- children: ReactNode;
5
- mobile: boolean;
6
- explorer: ReactNode;
7
- }>;
@@ -1,3 +0,0 @@
1
- import { FunctionComponent } from 'react';
2
- import { ThemeStateProps } from './ThemeSection';
3
- export declare const ButtonsSection: FunctionComponent<ThemeStateProps>;
@@ -1,3 +0,0 @@
1
- import { FunctionComponent } from 'react';
2
- import { ThemeStateProps } from './ThemeSection';
3
- export declare const ChartsSection: FunctionComponent<ThemeStateProps>;
@@ -1,3 +0,0 @@
1
- import { FunctionComponent } from 'react';
2
- import { ThemeStateProps } from './ThemeSection';
3
- export declare const DashboardSection: FunctionComponent<ThemeStateProps>;
@@ -1,10 +0,0 @@
1
- import { ReactNode } from 'react';
2
- import { FunctionComponent } from 'react';
3
- import { ExplorerState } from '../ExplorerPanel';
4
- import { VizzlyTheming } from '../../../../../shared-ui/src';
5
- export declare type ThemeStateProps = {
6
- explorerState: ExplorerState;
7
- setTheme: (value: Partial<VizzlyTheming.Base>) => void;
8
- setNoticeContent: (value: ReactNode | undefined) => void;
9
- };
10
- export declare const ThemeSection: FunctionComponent<ThemeStateProps>;
@@ -1,6 +0,0 @@
1
- export declare function isValidFontSize(fontSize: string): boolean;
2
- export declare function isValidFontWeight(fontWeight: string): boolean;
3
- export declare function isValidCssColor(color: string): boolean;
4
- export declare function isValidBorder(border: string): boolean;
5
- export declare function isValidPadding(padding: string): boolean;
6
- export declare function appendPxIfNumber(value: string | number | undefined): string | undefined;
@@ -1,7 +0,0 @@
1
- import { AdditionalFilter } from '../../../../../shared-logic/src/AdditionalFilter/types';
2
- import { DataSet } from '../../../../../shared-logic/src/DataSet/types';
3
- export declare type ExplorerDashboard = {
4
- dataSets: DataSet[];
5
- };
6
- export declare function areFiltersAvailable(explorerDashboard?: ExplorerDashboard): boolean | undefined;
7
- export declare function defaultStringFilter(dataSet?: DataSet, dashboardFilter?: AdditionalFilter): AdditionalFilter;
@@ -1,22 +0,0 @@
1
- /// <reference types="lodash" />
2
- /// <reference types="react" />
3
- import { FeatureToggles } from '../../../../shared-logic/src/FeatureToggle/types';
4
- import { ExplorerState } from './ExplorerPanel';
5
- import { DashboardCallback } from '../../../../shared-ui/src/contexts/DashboardBehaviour/types';
6
- import { VizzlyTheming } from '../../../../shared-ui/src';
7
- declare type AccessTokens = {
8
- managedQueryEngineId: string;
9
- dashboardIdentity: {
10
- dashboardAccessToken: string;
11
- dataAccessToken: string;
12
- };
13
- };
14
- export declare const useExplorer: (accessTokens: AccessTokens, initialFeatureToggles: Partial<FeatureToggles>, componentId: string, isDarkTheme?: boolean | undefined, disableAutoSave?: boolean | undefined) => {
15
- explorerDashboard: DashboardCallback | undefined;
16
- explorerState: ExplorerState | undefined;
17
- handeChangeInTheme: (value: VizzlyTheming.Base) => void;
18
- handleChangeInFeatureToggle: (featureToggles: Partial<FeatureToggles>) => void;
19
- handleChangeInDashboardFilters: import("lodash").DebouncedFunc<(newExplorerState: ExplorerState) => void>;
20
- setExplorerDashboard: import("react").Dispatch<import("react").SetStateAction<DashboardCallback | undefined>>;
21
- };
22
- export {};