@vizzly/dashboard 0.12.13 → 0.12.14-dev-e21379b0100190e14c468d97e585466bfe2e87c0
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/charts/src/PieChart/CorePieChart.d.ts +4 -3
- package/dist/charts/src/PieChart/PieChart.d.ts +6 -1
- package/dist/charts/src/ScatterChart/ScatterChart.d.ts +1 -1
- package/dist/charts/src/XYChart/components/Threshold.d.ts +1 -0
- package/dist/charts/src/XYChart/components/threshold.utils.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/services/src/schemaValidations/dashboard.d.ts +2 -0
- package/dist/shared-logic/src/AdditionalFilter/AdditionalFilter.d.ts +7 -4
- package/dist/shared-logic/src/AdditionalFilter/FilterConfig.d.ts +4 -0
- package/dist/shared-logic/src/AdditionalFilter/constants.d.ts +3 -0
- package/dist/shared-logic/src/AdditionalFilter/filterHelpers.d.ts +1 -0
- package/dist/shared-logic/src/AdditionalFilter/schema.d.ts +2 -0
- package/dist/shared-logic/src/AdditionalFilter/toQueryAttributesFilter.d.ts +5 -0
- package/dist/shared-logic/src/AdditionalFilter/types.d.ts +5 -0
- package/dist/shared-logic/src/Component/types.d.ts +2 -1
- package/dist/shared-logic/src/Dashboard/Dashboard.d.ts +6 -1
- package/dist/shared-logic/src/Dashboard/types.d.ts +1 -0
- package/dist/shared-logic/src/DateTimeField/DateTimeField.d.ts +2 -0
- package/dist/shared-logic/src/Downloads/downloadToJSON.d.ts +4 -0
- package/dist/shared-logic/src/Downloads/index.d.ts +1 -0
- package/dist/shared-logic/src/Drilldown/schema.d.ts +3 -0
- package/dist/shared-logic/src/PDFGenerator/index.d.ts +1 -1
- package/dist/shared-logic/src/PieChart/onViewClick.d.ts +10 -0
- package/dist/shared-logic/src/QueryEngine/types.d.ts +1 -1
- package/dist/shared-logic/src/Theme/types.d.ts +12 -0
- package/dist/shared-ui/src/base/DateTime/DateTimeFilter.d.ts +1 -0
- package/dist/shared-ui/src/base/DateTime/TimePickerCore.d.ts +1 -1
- package/dist/shared-ui/src/base/FileUpload/FileUpload.d.ts +20 -0
- package/dist/shared-ui/src/base/FileUpload/index.d.ts +1 -0
- package/dist/shared-ui/src/base/Icons/SVGs.d.ts +13 -4
- package/dist/shared-ui/src/base/ListView/index.d.ts +2 -2
- package/dist/shared-ui/src/base/Modal/Modal.types.d.ts +1 -0
- package/dist/shared-ui/src/base/Modal.d.ts +4 -2
- package/dist/shared-ui/src/base/Pagination/Pagination.d.ts +0 -1
- package/dist/shared-ui/src/base/Panel/Panel.d.ts +1 -1
- package/dist/shared-ui/src/base/PanelProperty.d.ts +0 -1
- package/dist/shared-ui/src/base/Section/Section.d.ts +1 -2
- package/dist/shared-ui/src/base/Table/TableComponents.d.ts +0 -1
- package/dist/shared-ui/src/base/TextOverride.d.ts +0 -1
- package/dist/shared-ui/src/base/Toolbar/Toolbar.d.ts +0 -32
- package/dist/shared-ui/src/base/classNames.d.ts +1 -0
- package/dist/shared-ui/src/components/AdditionalFilter/AdvancedPicker/AdvancedDisplayValues.d.ts +4 -0
- package/dist/shared-ui/src/components/AdditionalFilter/AdvancedPicker/AdvancedSelectFilter.d.ts +10 -0
- package/dist/shared-ui/src/components/AdditionalFilter/AdvancedPicker/advancedFilters.d.ts +2 -0
- package/dist/shared-ui/src/components/AdditionalFilter/DateFilter/index.d.ts +5 -5
- package/dist/shared-ui/src/components/AdditionalFilter/DateFilter/index.func.d.ts +6 -0
- package/dist/shared-ui/src/components/AdditionalFilter/useBuildDashboardFilter.d.ts +1 -0
- package/dist/shared-ui/src/components/AreaChart/AreaChartView.d.ts +0 -1
- package/dist/shared-ui/src/components/BarChart/BarChartView.d.ts +0 -1
- package/dist/shared-ui/src/components/ChartWrapper.d.ts +0 -1
- package/dist/shared-ui/src/components/DataTable/DataTableView.d.ts +0 -1
- package/dist/shared-ui/src/components/Drilldown/useDrilldownSelection.d.ts +11 -0
- package/dist/shared-ui/src/components/FunnelChart/FunnelChartView.d.ts +0 -1
- package/dist/shared-ui/src/components/Icons/ComponentIcons.d.ts +0 -1
- package/dist/shared-ui/src/components/LineChart/LineChartView.d.ts +0 -1
- package/dist/shared-ui/src/components/LocalFilter/DateTimeFilter/DataProps.d.ts +0 -1
- package/dist/shared-ui/src/components/LocalFilter/SelectFilter/DataProps.d.ts +0 -1
- package/dist/shared-ui/src/components/PieChart/PieChart.d.ts +1 -0
- package/dist/shared-ui/src/components/PieChart/PieChartView.d.ts +6 -1
- package/dist/shared-ui/src/components/Studio/AdminTools/AdminTools.d.ts +0 -1
- package/dist/shared-ui/src/components/Studio/StudioApp/ComponentOptions.d.ts +0 -1
- package/dist/shared-ui/src/components/Studio/StudioApp.d.ts +0 -1
- package/dist/shared-ui/src/components/Table/PrefixModal.d.ts +0 -1
- package/dist/shared-ui/src/components/ViewHeader/ViewHeader.d.ts +0 -1
- package/dist/shared-ui/src/contexts/DashboardContext/types.d.ts +5 -1
- package/dist/shared-ui/src/contexts/toastContext.d.ts +1 -2
- package/dist/shared-ui/src/headlessui/components/dialog/dialog.d.ts +6 -6
- package/dist/shared-ui/src/headlessui/components/popover/popover.d.ts +7 -7
- package/dist/shared-ui/src/headlessui/components/switch/switch.d.ts +11 -11
- package/dist/shared-ui/src/headlessui/components/tabs/tabs.d.ts +4 -4
- package/dist/shared-ui/src/library/DataPanel/CustomMetricsInput.d.ts +0 -1
- package/dist/shared-ui/src/library/DataPanel/DrilldownInput/DrilldownBreadcrumb.d.ts +1 -1
- package/dist/shared-ui/src/library/DataPanel/DrilldownInput/DrilldownInput.d.ts +2 -1
- package/dist/shared-ui/src/library/DataPanel/DrilldownInput/DrilldownModal.d.ts +2 -1
- package/dist/shared-ui/src/library/DataPanel/DrilldownInput/drilldown.func.d.ts +3 -1
- package/dist/shared-ui/src/library/DataPanel/FilterInput/FilterInputForm.d.ts +0 -1
- package/dist/shared-ui/src/library/DataPanel/FilterInput.d.ts +0 -1
- package/dist/shared-ui/src/library/DisplayStatusReport.d.ts +0 -1
- package/dist/shared-ui/src/library/Editor/useEditor.d.ts +0 -1
- package/dist/shared-ui/src/library/Empty.d.ts +0 -1
- package/dist/shared-ui/src/library/Form.d.ts +4 -2
- package/dist/shared-ui/src/library/Group.d.ts +0 -1
- package/dist/shared-ui/src/library/Library/ComponentInLibrary.d.ts +0 -1
- package/dist/shared-ui/src/library/Library/Library.d.ts +0 -1
- package/dist/shared-ui/src/library/OverridesDeveloperInfoModal.d.ts +0 -1
- package/dist/shared-ui/src/library/PanelInput/NumberInput.d.ts +0 -1
- package/dist/shared-ui/src/library/SetupNotice.d.ts +0 -1
- package/dist/shared-ui/src/library/StylePanel/FontFamilyInput.d.ts +0 -1
- package/dist/shared-ui/src/library/StylePanel/GoalLine/GoalLineRules.d.ts +0 -1
- package/dist/shared-ui/src/library/Tooltip.d.ts +0 -1
- package/dist/shared-ui/src/library/Transition.d.ts +8 -10
- package/dist/shared-ui/src/types.d.ts +12 -1
- package/package.json +12 -13
- package/dist/shared-ui/src/base/TextArea.d.ts +0 -1
- package/dist/shared-ui/src/components/AdditionalFilter/AdvancedSelectFilter.d.ts +0 -12
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Component } from '../../../../shared-logic/src/Component/types';
|
|
3
|
+
import { DataSet } from '../../../../shared-logic/src/DataSet/types';
|
|
4
|
+
import { Result } from '../../../../shared-logic/src/Result/types';
|
|
5
|
+
import * as Drilldown from '../../../../shared-logic/src/Drilldown/Drilldown';
|
|
6
|
+
export declare type AcceptedDrilldownAttributes = Component.PieChartAttributes | Component.BarChartAttributes | Component.HorizontalBarChartAttributes;
|
|
7
|
+
export declare function useDrilldownSelection(results: (Result | null)[], attributes: AcceptedDrilldownAttributes, setAttributes: (newAttributes: AcceptedDrilldownAttributes) => void, dataSet: DataSet): {
|
|
8
|
+
onDrilldownChange: ({ existingField, newField }: Drilldown.SelectedDrilldown) => void;
|
|
9
|
+
setDrilldownSelections: import("react").Dispatch<import("react").SetStateAction<Drilldown.SelectedDrilldown[]>>;
|
|
10
|
+
drilldownSelections: Drilldown.SelectedDrilldown[];
|
|
11
|
+
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { VizzlyComponents } from '../../types';
|
|
3
|
-
import 'twin.macro';
|
|
4
3
|
import { Component } from '../../../../shared-logic/src/Component/types';
|
|
5
4
|
import { DashboardBehaviour, IdPrefix } from '../../contexts/DashboardBehaviour/types';
|
|
6
5
|
import { HeadlineStatsProps } from '../HeadlineStats/HeadlineStats';
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { VizzlyComponents } from '../../types';
|
|
3
|
-
import 'twin.macro';
|
|
4
3
|
import { Component } from '../../../../shared-logic/src/Component/types';
|
|
5
4
|
import { OnPointerUp } from '../../../../charts/src/types';
|
|
6
5
|
import { Dashboard } from '../../../../shared-logic/src/Dashboard/types';
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { VizzlyComponents } from '../../../types';
|
|
3
|
-
import 'twin.macro';
|
|
4
3
|
import { DateFilter } from '../../../../../shared-logic/src/AdditionalFilter/types';
|
|
5
4
|
export declare type Props = VizzlyComponents.EditorSectionProps<DateFilter>;
|
|
6
5
|
export default function DataProps(inputProps: Props): JSX.Element;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { VizzlyComponents } from '../../../types';
|
|
3
|
-
import 'twin.macro';
|
|
4
3
|
import { SingleSelectFilter } from '../../../../../shared-logic/src/AdditionalFilter/types';
|
|
5
4
|
export declare type Props = VizzlyComponents.EditorSectionProps<SingleSelectFilter>;
|
|
6
5
|
export default function DataProps(inputProps: Props): JSX.Element;
|
|
@@ -2,13 +2,18 @@ import React from 'react';
|
|
|
2
2
|
import { VizzlyComponents } from '../../types';
|
|
3
3
|
import { Component } from '../../../../shared-logic/src/Component/types';
|
|
4
4
|
import { DashboardBehaviour } from '../../contexts/DashboardBehaviour/types';
|
|
5
|
+
import * as Drilldown from '../../../../shared-logic/src/Drilldown/Drilldown';
|
|
5
6
|
export declare type PieChartViewProps = VizzlyComponents.ViewProps<Component.PieChartAttributes> & {
|
|
6
7
|
library?: boolean;
|
|
7
8
|
numberFormatOptions: DashboardBehaviour['numberFormatOptions'];
|
|
9
|
+
onDrilldownChange: (payload: Drilldown.SelectedDrilldown) => void;
|
|
10
|
+
drilldownSelections: Drilldown.SelectedDrilldown[];
|
|
11
|
+
onResetDrilldown: () => void;
|
|
12
|
+
editor?: boolean;
|
|
8
13
|
};
|
|
9
14
|
export declare const defaultProps: Omit<Component.PieChartAttributes, 'dataSetId'>;
|
|
10
15
|
declare const memoized: React.MemoExoticComponent<{
|
|
11
16
|
(props: PieChartViewProps): JSX.Element;
|
|
12
|
-
defaultProps: Pick<Component.PieChartAttributes, "filter" | "order" | "offset" | "measure" | "dimension" | "timeDimension" | "limit" | "type" | "viewId" | "displayTitle" | "displaySubject" | "protectedByOrganisation" | "tags" | "conditionalFormattingRules" | "legend" | "parameters" | "labelFormat" | "labelsAsPercentage" | "labels">;
|
|
17
|
+
defaultProps: Pick<Component.PieChartAttributes, "filter" | "order" | "offset" | "measure" | "dimension" | "timeDimension" | "limit" | "type" | "viewId" | "displayTitle" | "displaySubject" | "protectedByOrganisation" | "tags" | "conditionalFormattingRules" | "legend" | "parameters" | "drilldownOptions" | "labelFormat" | "labelsAsPercentage" | "labels">;
|
|
13
18
|
}>;
|
|
14
19
|
export default memoized;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as Dashboard from '../../../../../shared-logic/src/Dashboard';
|
|
2
2
|
import { FunctionComponent } from 'react';
|
|
3
|
-
import 'twin.macro';
|
|
4
3
|
export declare const watchForChangesToSave: (saveableDashboard: Dashboard.SaveableDashboardDefinition) => string;
|
|
5
4
|
export declare const AdminTools: FunctionComponent<{
|
|
6
5
|
isProgrammaticParent: boolean;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { DataSet as DataSetType } from '../../../../shared-logic/src/DataSet/types';
|
|
3
|
-
import 'twin.macro';
|
|
4
3
|
import { Component } from '../../../../shared-logic/src/Component/types';
|
|
5
4
|
import { QueryAttributes } from '../../../../shared-logic/src/QueryAttributes/types';
|
|
6
5
|
declare type Props = {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { CSSProperties, FunctionComponent } from 'react';
|
|
2
|
-
import 'twin.macro';
|
|
3
2
|
import { AdditionalFilter } from '../../../../shared-logic/src/AdditionalFilter/types';
|
|
4
3
|
import { DataSet } from '../../../../shared-logic/src/DataSet/types';
|
|
5
4
|
import { Component, ComponentType } from '../../../../shared-logic/src/Component/types';
|
|
@@ -55,6 +55,10 @@ export declare type SetDashboardAction = {
|
|
|
55
55
|
type: 'setDashboard';
|
|
56
56
|
dashboard: Dashboard;
|
|
57
57
|
};
|
|
58
|
+
export declare type ImportDashboardAction = {
|
|
59
|
+
type: 'importDashboard';
|
|
60
|
+
dashboardToImport: Dashboard;
|
|
61
|
+
};
|
|
58
62
|
export declare type SetThemeAction = {
|
|
59
63
|
type: 'setTheme';
|
|
60
64
|
theme: StoredTheme;
|
|
@@ -213,7 +217,7 @@ export declare type StartEditorAction = {
|
|
|
213
217
|
libraryIndex: number | null;
|
|
214
218
|
component: Component | null;
|
|
215
219
|
};
|
|
216
|
-
export declare type StudioAction = InitAction | SetDashboardAction | SaveComponentAction | ClearModalAction | InsertRowAction | AppendCellAction | AddHeaderRowAction | SetHeaderComponentAction | RemoveCellAction | ClearCellAction | RemoveRowAction | AddDataSetAction | RemoveDataSetAction | SetDataSetsAction | SetLocalFiltersAction | SetAttributesAction | UpdateEditorComponentAction | SetResultsForComponentInDisplayAction | SetResultsForComponentInEditorAction | SetResultsForComponentInLibraryAction | StartEditingComponentAction | StartPickingComponentFromLibraryForDisplayAction | PickComponentFromLibraryForDisplayAction | SetThemeAction | SetGlobalFiltersAction | ChangePreviewModeAction | UpdateDisplayComponentAttributesAction | UpdateComponentLibraryAttributesAction | RemoveComponentFromLibraryAction | AddCustomComponentAction | SetColSpansAction | SetRowHeightAction | SetComponentReportsAction | SwapComponentsAction | SetParameterBasedUpdateAction | AddComponentToLibrary | StartEditorAction;
|
|
220
|
+
export declare type StudioAction = InitAction | SetDashboardAction | ImportDashboardAction | SaveComponentAction | ClearModalAction | InsertRowAction | AppendCellAction | AddHeaderRowAction | SetHeaderComponentAction | RemoveCellAction | ClearCellAction | RemoveRowAction | AddDataSetAction | RemoveDataSetAction | SetDataSetsAction | SetLocalFiltersAction | SetAttributesAction | UpdateEditorComponentAction | SetResultsForComponentInDisplayAction | SetResultsForComponentInEditorAction | SetResultsForComponentInLibraryAction | StartEditingComponentAction | StartPickingComponentFromLibraryForDisplayAction | PickComponentFromLibraryForDisplayAction | SetThemeAction | SetGlobalFiltersAction | ChangePreviewModeAction | UpdateDisplayComponentAttributesAction | UpdateComponentLibraryAttributesAction | RemoveComponentFromLibraryAction | AddCustomComponentAction | SetColSpansAction | SetRowHeightAction | SetComponentReportsAction | SwapComponentsAction | SetParameterBasedUpdateAction | AddComponentToLibrary | StartEditorAction;
|
|
217
221
|
export declare type PipelineTransformationOptions = {
|
|
218
222
|
dashboardFilters: DashboardBehaviour['dashboardFilters'];
|
|
219
223
|
onDashboardFilterChange: DashboardBehaviour['onDashboardFilterChange'];
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import 'twin.macro';
|
|
3
2
|
declare const ToastContext: React.Context<{
|
|
4
3
|
addToast: (content: () => React.ReactNode, uniqueKey?: string | undefined) => void;
|
|
5
4
|
}>;
|
|
@@ -13,7 +12,7 @@ export declare const ToastError: (props: {
|
|
|
13
12
|
export declare const ToastSuccess: (props: {
|
|
14
13
|
message: string;
|
|
15
14
|
}) => JSX.Element;
|
|
16
|
-
export declare function ToastContextProvider({ children
|
|
15
|
+
export declare function ToastContextProvider({ children }: {
|
|
17
16
|
children: React.ReactNode;
|
|
18
17
|
}): JSX.Element;
|
|
19
18
|
export declare function useToastContext(): {
|
|
@@ -81,7 +81,7 @@ export declare let Dialog: (<TTag extends React.ElementType<any> = "div">(props:
|
|
|
81
81
|
onClose(value: boolean): void;
|
|
82
82
|
initialFocus?: React.MutableRefObject<HTMLElement | null> | undefined;
|
|
83
83
|
__demoMode?: boolean | undefined;
|
|
84
|
-
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "aria-
|
|
84
|
+
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "aria-describedby" | "as" | "refName">> & {
|
|
85
85
|
as?: TTag | undefined;
|
|
86
86
|
children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: DialogRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
|
|
87
87
|
refName?: string | undefined;
|
|
@@ -96,7 +96,7 @@ export declare let Dialog: (<TTag extends React.ElementType<any> = "div">(props:
|
|
|
96
96
|
onClose(value: boolean): void;
|
|
97
97
|
initialFocus?: React.MutableRefObject<HTMLElement | null> | undefined;
|
|
98
98
|
__demoMode?: boolean | undefined;
|
|
99
|
-
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "aria-
|
|
99
|
+
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "aria-describedby" | "as" | "refName">> & {
|
|
100
100
|
as?: TTag | undefined;
|
|
101
101
|
children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: DialogRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
|
|
102
102
|
refName?: string | undefined;
|
|
@@ -111,7 +111,7 @@ export declare let Dialog: (<TTag extends React.ElementType<any> = "div">(props:
|
|
|
111
111
|
onClose(value: boolean): void;
|
|
112
112
|
initialFocus?: React.MutableRefObject<HTMLElement | null> | undefined;
|
|
113
113
|
__demoMode?: boolean | undefined;
|
|
114
|
-
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "aria-
|
|
114
|
+
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "aria-labelledby" | "as" | "refName">> & {
|
|
115
115
|
as?: TTag | undefined;
|
|
116
116
|
children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: DialogRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
|
|
117
117
|
refName?: string | undefined;
|
|
@@ -126,7 +126,7 @@ export declare let Dialog: (<TTag extends React.ElementType<any> = "div">(props:
|
|
|
126
126
|
onClose(value: boolean): void;
|
|
127
127
|
initialFocus?: React.MutableRefObject<HTMLElement | null> | undefined;
|
|
128
128
|
__demoMode?: boolean | undefined;
|
|
129
|
-
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "aria-
|
|
129
|
+
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "aria-labelledby" | "as" | "refName">> & {
|
|
130
130
|
as?: TTag | undefined;
|
|
131
131
|
children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: DialogRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
|
|
132
132
|
refName?: string | undefined;
|
|
@@ -141,7 +141,7 @@ export declare let Dialog: (<TTag extends React.ElementType<any> = "div">(props:
|
|
|
141
141
|
onClose(value: boolean): void;
|
|
142
142
|
initialFocus?: React.MutableRefObject<HTMLElement | null> | undefined;
|
|
143
143
|
__demoMode?: boolean | undefined;
|
|
144
|
-
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "aria-
|
|
144
|
+
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "aria-modal" | "as" | "refName">> & {
|
|
145
145
|
as?: TTag | undefined;
|
|
146
146
|
children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: DialogRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
|
|
147
147
|
refName?: string | undefined;
|
|
@@ -156,7 +156,7 @@ export declare let Dialog: (<TTag extends React.ElementType<any> = "div">(props:
|
|
|
156
156
|
onClose(value: boolean): void;
|
|
157
157
|
initialFocus?: React.MutableRefObject<HTMLElement | null> | undefined;
|
|
158
158
|
__demoMode?: boolean | undefined;
|
|
159
|
-
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "aria-
|
|
159
|
+
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "aria-modal" | "as" | "refName">> & {
|
|
160
160
|
as?: TTag | undefined;
|
|
161
161
|
children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: DialogRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
|
|
162
162
|
refName?: string | undefined;
|
|
@@ -27,7 +27,7 @@ declare type GroupPropsWeControl = 'id';
|
|
|
27
27
|
export declare let Popover: (<TTag extends React.ElementType<any> = "div">(props: Props<TTag, PopoverRenderPropArg, "1D45E01E-AF44-47C4-988A-19A94EBAF55C">, ref: Ref<HTMLElement>) => JSX.Element) & {
|
|
28
28
|
displayName: string;
|
|
29
29
|
} & {
|
|
30
|
-
Button: (<TTag_1 extends React.ElementType<any> = "button">(props: Props<TTag_1, ButtonRenderPropArg, "id" | "type" | "
|
|
30
|
+
Button: (<TTag_1 extends React.ElementType<any> = "button">(props: Props<TTag_1, ButtonRenderPropArg, "id" | "type" | "aria-controls" | "aria-expanded" | "onKeyDown" | "onClick">, ref: Ref<HTMLButtonElement>) => JSX.Element) & {
|
|
31
31
|
displayName: string;
|
|
32
32
|
};
|
|
33
33
|
Overlay: (<TTag_2 extends React.ElementType<any> = "div">(props: (Pick<import("../../types").PropsOf<TTag_2>, Exclude<keyof import("../../types").PropsOf<TTag_2>, "id" | "children" | "className" | "as" | "refName">> & {
|
|
@@ -50,7 +50,7 @@ export declare let Popover: (<TTag extends React.ElementType<any> = "div">(props
|
|
|
50
50
|
unmount?: undefined;
|
|
51
51
|
} & {
|
|
52
52
|
static?: boolean | undefined;
|
|
53
|
-
}) | (Pick<import("../../types").PropsOf<TTag_2>, Exclude<keyof import("../../types").PropsOf<TTag_2>, "children" | "className" | "
|
|
53
|
+
}) | (Pick<import("../../types").PropsOf<TTag_2>, Exclude<keyof import("../../types").PropsOf<TTag_2>, "children" | "className" | "aria-hidden" | "as" | "refName">> & {
|
|
54
54
|
as?: TTag_2 | undefined;
|
|
55
55
|
children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: OverlayRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
|
|
56
56
|
refName?: string | undefined;
|
|
@@ -60,7 +60,7 @@ export declare let Popover: (<TTag extends React.ElementType<any> = "div">(props
|
|
|
60
60
|
static?: undefined;
|
|
61
61
|
} & {
|
|
62
62
|
unmount?: boolean | undefined;
|
|
63
|
-
}) | (Pick<import("../../types").PropsOf<TTag_2>, Exclude<keyof import("../../types").PropsOf<TTag_2>, "children" | "className" | "
|
|
63
|
+
}) | (Pick<import("../../types").PropsOf<TTag_2>, Exclude<keyof import("../../types").PropsOf<TTag_2>, "children" | "className" | "aria-hidden" | "as" | "refName">> & {
|
|
64
64
|
as?: TTag_2 | undefined;
|
|
65
65
|
children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: OverlayRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
|
|
66
66
|
refName?: string | undefined;
|
|
@@ -70,7 +70,7 @@ export declare let Popover: (<TTag extends React.ElementType<any> = "div">(props
|
|
|
70
70
|
unmount?: undefined;
|
|
71
71
|
} & {
|
|
72
72
|
static?: boolean | undefined;
|
|
73
|
-
}) | (Pick<import("../../types").PropsOf<TTag_2>, Exclude<keyof import("../../types").PropsOf<TTag_2>, "children" | "className" | "
|
|
73
|
+
}) | (Pick<import("../../types").PropsOf<TTag_2>, Exclude<keyof import("../../types").PropsOf<TTag_2>, "children" | "className" | "onClick" | "as" | "refName">> & {
|
|
74
74
|
as?: TTag_2 | undefined;
|
|
75
75
|
children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: OverlayRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
|
|
76
76
|
refName?: string | undefined;
|
|
@@ -80,7 +80,7 @@ export declare let Popover: (<TTag extends React.ElementType<any> = "div">(props
|
|
|
80
80
|
static?: undefined;
|
|
81
81
|
} & {
|
|
82
82
|
unmount?: boolean | undefined;
|
|
83
|
-
}) | (Pick<import("../../types").PropsOf<TTag_2>, Exclude<keyof import("../../types").PropsOf<TTag_2>, "children" | "className" | "
|
|
83
|
+
}) | (Pick<import("../../types").PropsOf<TTag_2>, Exclude<keyof import("../../types").PropsOf<TTag_2>, "children" | "className" | "onClick" | "as" | "refName">> & {
|
|
84
84
|
as?: TTag_2 | undefined;
|
|
85
85
|
children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: OverlayRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
|
|
86
86
|
refName?: string | undefined;
|
|
@@ -117,7 +117,7 @@ export declare let Popover: (<TTag extends React.ElementType<any> = "div">(props
|
|
|
117
117
|
static?: boolean | undefined;
|
|
118
118
|
} & {
|
|
119
119
|
focus?: boolean | undefined;
|
|
120
|
-
}) | (Pick<import("../../types").PropsOf<TTag_3>, Exclude<keyof import("../../types").PropsOf<TTag_3>, "children" | "
|
|
120
|
+
}) | (Pick<import("../../types").PropsOf<TTag_3>, Exclude<keyof import("../../types").PropsOf<TTag_3>, "children" | "className" | "onKeyDown" | "as" | "refName">> & {
|
|
121
121
|
as?: TTag_3 | undefined;
|
|
122
122
|
children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: PanelRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
|
|
123
123
|
refName?: string | undefined;
|
|
@@ -129,7 +129,7 @@ export declare let Popover: (<TTag extends React.ElementType<any> = "div">(props
|
|
|
129
129
|
unmount?: boolean | undefined;
|
|
130
130
|
} & {
|
|
131
131
|
focus?: boolean | undefined;
|
|
132
|
-
}) | (Pick<import("../../types").PropsOf<TTag_3>, Exclude<keyof import("../../types").PropsOf<TTag_3>, "children" | "
|
|
132
|
+
}) | (Pick<import("../../types").PropsOf<TTag_3>, Exclude<keyof import("../../types").PropsOf<TTag_3>, "children" | "className" | "onKeyDown" | "as" | "refName">> & {
|
|
133
133
|
as?: TTag_3 | undefined;
|
|
134
134
|
children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: PanelRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
|
|
135
135
|
refName?: string | undefined;
|
|
@@ -32,7 +32,7 @@ export declare let Switch: (<TTag extends React.ElementType<any> = "button">(pro
|
|
|
32
32
|
onChange?(checked: boolean): void;
|
|
33
33
|
name?: string | undefined;
|
|
34
34
|
value?: string | undefined;
|
|
35
|
-
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "
|
|
35
|
+
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "name" | "as" | "refName">> & {
|
|
36
36
|
as?: TTag | undefined;
|
|
37
37
|
children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: SwitchRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
|
|
38
38
|
refName?: string | undefined;
|
|
@@ -44,7 +44,7 @@ export declare let Switch: (<TTag extends React.ElementType<any> = "button">(pro
|
|
|
44
44
|
onChange?(checked: boolean): void;
|
|
45
45
|
name?: string | undefined;
|
|
46
46
|
value?: string | undefined;
|
|
47
|
-
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "
|
|
47
|
+
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "role" | "as" | "refName">> & {
|
|
48
48
|
as?: TTag | undefined;
|
|
49
49
|
children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: SwitchRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
|
|
50
50
|
refName?: string | undefined;
|
|
@@ -56,7 +56,7 @@ export declare let Switch: (<TTag extends React.ElementType<any> = "button">(pro
|
|
|
56
56
|
onChange?(checked: boolean): void;
|
|
57
57
|
name?: string | undefined;
|
|
58
58
|
value?: string | undefined;
|
|
59
|
-
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "
|
|
59
|
+
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "tabIndex" | "as" | "refName">> & {
|
|
60
60
|
as?: TTag | undefined;
|
|
61
61
|
children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: SwitchRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
|
|
62
62
|
refName?: string | undefined;
|
|
@@ -68,7 +68,7 @@ export declare let Switch: (<TTag extends React.ElementType<any> = "button">(pro
|
|
|
68
68
|
onChange?(checked: boolean): void;
|
|
69
69
|
name?: string | undefined;
|
|
70
70
|
value?: string | undefined;
|
|
71
|
-
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "aria-
|
|
71
|
+
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "aria-checked" | "as" | "refName">> & {
|
|
72
72
|
as?: TTag | undefined;
|
|
73
73
|
children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: SwitchRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
|
|
74
74
|
refName?: string | undefined;
|
|
@@ -80,7 +80,7 @@ export declare let Switch: (<TTag extends React.ElementType<any> = "button">(pro
|
|
|
80
80
|
onChange?(checked: boolean): void;
|
|
81
81
|
name?: string | undefined;
|
|
82
82
|
value?: string | undefined;
|
|
83
|
-
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "aria-
|
|
83
|
+
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "aria-describedby" | "as" | "refName">> & {
|
|
84
84
|
as?: TTag | undefined;
|
|
85
85
|
children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: SwitchRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
|
|
86
86
|
refName?: string | undefined;
|
|
@@ -92,7 +92,7 @@ export declare let Switch: (<TTag extends React.ElementType<any> = "button">(pro
|
|
|
92
92
|
onChange?(checked: boolean): void;
|
|
93
93
|
name?: string | undefined;
|
|
94
94
|
value?: string | undefined;
|
|
95
|
-
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "
|
|
95
|
+
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "aria-labelledby" | "as" | "refName">> & {
|
|
96
96
|
as?: TTag | undefined;
|
|
97
97
|
children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: SwitchRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
|
|
98
98
|
refName?: string | undefined;
|
|
@@ -104,7 +104,7 @@ export declare let Switch: (<TTag extends React.ElementType<any> = "button">(pro
|
|
|
104
104
|
onChange?(checked: boolean): void;
|
|
105
105
|
name?: string | undefined;
|
|
106
106
|
value?: string | undefined;
|
|
107
|
-
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "
|
|
107
|
+
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "onChange" | "as" | "refName">> & {
|
|
108
108
|
as?: TTag | undefined;
|
|
109
109
|
children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: SwitchRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
|
|
110
110
|
refName?: string | undefined;
|
|
@@ -116,7 +116,7 @@ export declare let Switch: (<TTag extends React.ElementType<any> = "button">(pro
|
|
|
116
116
|
onChange?(checked: boolean): void;
|
|
117
117
|
name?: string | undefined;
|
|
118
118
|
value?: string | undefined;
|
|
119
|
-
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "
|
|
119
|
+
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "onKeyPress" | "as" | "refName">> & {
|
|
120
120
|
as?: TTag | undefined;
|
|
121
121
|
children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: SwitchRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
|
|
122
122
|
refName?: string | undefined;
|
|
@@ -128,7 +128,7 @@ export declare let Switch: (<TTag extends React.ElementType<any> = "button">(pro
|
|
|
128
128
|
onChange?(checked: boolean): void;
|
|
129
129
|
name?: string | undefined;
|
|
130
130
|
value?: string | undefined;
|
|
131
|
-
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "
|
|
131
|
+
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "onKeyUp" | "as" | "refName">> & {
|
|
132
132
|
as?: TTag | undefined;
|
|
133
133
|
children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: SwitchRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
|
|
134
134
|
refName?: string | undefined;
|
|
@@ -140,7 +140,7 @@ export declare let Switch: (<TTag extends React.ElementType<any> = "button">(pro
|
|
|
140
140
|
onChange?(checked: boolean): void;
|
|
141
141
|
name?: string | undefined;
|
|
142
142
|
value?: string | undefined;
|
|
143
|
-
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "
|
|
143
|
+
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "onClick" | "as" | "refName">> & {
|
|
144
144
|
as?: TTag | undefined;
|
|
145
145
|
children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: SwitchRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
|
|
146
146
|
refName?: string | undefined;
|
|
@@ -152,7 +152,7 @@ export declare let Switch: (<TTag extends React.ElementType<any> = "button">(pro
|
|
|
152
152
|
onChange?(checked: boolean): void;
|
|
153
153
|
name?: string | undefined;
|
|
154
154
|
value?: string | undefined;
|
|
155
|
-
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "as" | "refName" | "
|
|
155
|
+
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "as" | "refName" | "defaultChecked">> & {
|
|
156
156
|
as?: TTag | undefined;
|
|
157
157
|
children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: SwitchRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
|
|
158
158
|
refName?: string | undefined;
|
|
@@ -86,7 +86,7 @@ export declare let Tab: (<TTag extends React.ElementType<any> = "button">(props:
|
|
|
86
86
|
unmount?: undefined;
|
|
87
87
|
} & {
|
|
88
88
|
static?: boolean | undefined;
|
|
89
|
-
}) | (Pick<import("../../types").PropsOf<TTag_4>, Exclude<keyof import("../../types").PropsOf<TTag_4>, "children" | "className" | "
|
|
89
|
+
}) | (Pick<import("../../types").PropsOf<TTag_4>, Exclude<keyof import("../../types").PropsOf<TTag_4>, "children" | "className" | "tabIndex" | "as" | "refName">> & {
|
|
90
90
|
as?: TTag_4 | undefined;
|
|
91
91
|
children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: PanelRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
|
|
92
92
|
refName?: string | undefined;
|
|
@@ -96,7 +96,7 @@ export declare let Tab: (<TTag extends React.ElementType<any> = "button">(props:
|
|
|
96
96
|
static?: undefined;
|
|
97
97
|
} & {
|
|
98
98
|
unmount?: boolean | undefined;
|
|
99
|
-
}) | (Pick<import("../../types").PropsOf<TTag_4>, Exclude<keyof import("../../types").PropsOf<TTag_4>, "children" | "className" | "
|
|
99
|
+
}) | (Pick<import("../../types").PropsOf<TTag_4>, Exclude<keyof import("../../types").PropsOf<TTag_4>, "children" | "className" | "tabIndex" | "as" | "refName">> & {
|
|
100
100
|
as?: TTag_4 | undefined;
|
|
101
101
|
children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: PanelRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
|
|
102
102
|
refName?: string | undefined;
|
|
@@ -106,7 +106,7 @@ export declare let Tab: (<TTag extends React.ElementType<any> = "button">(props:
|
|
|
106
106
|
unmount?: undefined;
|
|
107
107
|
} & {
|
|
108
108
|
static?: boolean | undefined;
|
|
109
|
-
}) | (Pick<import("../../types").PropsOf<TTag_4>, Exclude<keyof import("../../types").PropsOf<TTag_4>, "children" | "className" | "
|
|
109
|
+
}) | (Pick<import("../../types").PropsOf<TTag_4>, Exclude<keyof import("../../types").PropsOf<TTag_4>, "children" | "className" | "aria-labelledby" | "as" | "refName">> & {
|
|
110
110
|
as?: TTag_4 | undefined;
|
|
111
111
|
children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: PanelRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
|
|
112
112
|
refName?: string | undefined;
|
|
@@ -116,7 +116,7 @@ export declare let Tab: (<TTag extends React.ElementType<any> = "button">(props:
|
|
|
116
116
|
static?: undefined;
|
|
117
117
|
} & {
|
|
118
118
|
unmount?: boolean | undefined;
|
|
119
|
-
}) | (Pick<import("../../types").PropsOf<TTag_4>, Exclude<keyof import("../../types").PropsOf<TTag_4>, "children" | "className" | "
|
|
119
|
+
}) | (Pick<import("../../types").PropsOf<TTag_4>, Exclude<keyof import("../../types").PropsOf<TTag_4>, "children" | "className" | "aria-labelledby" | "as" | "refName">> & {
|
|
120
120
|
as?: TTag_4 | undefined;
|
|
121
121
|
children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: PanelRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
|
|
122
122
|
refName?: string | undefined;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { DataSet } from '../../../../shared-logic/src/DataSet/types';
|
|
3
3
|
import { CustomField } from '../../../../shared-logic/src/CustomField/types';
|
|
4
|
-
import 'twin.macro';
|
|
5
4
|
import { QueryEngineConfig } from '../../../../shared-logic/src/QueryEngineConfig/types';
|
|
6
5
|
import { ComponentType } from '../../../../shared-logic/src/Component/types';
|
|
7
6
|
declare type Props = {
|
|
@@ -3,6 +3,6 @@ import { DataSet } from '../../../../../shared-logic/src/DataSet/types';
|
|
|
3
3
|
import { SelectedDrilldown } from '../../../../../shared-logic/src/Drilldown/Drilldown';
|
|
4
4
|
export declare const DrilldownBreadcrumb: FunctionComponent<{
|
|
5
5
|
onReset: () => void;
|
|
6
|
-
drilldownSelections
|
|
6
|
+
drilldownSelections?: SelectedDrilldown[];
|
|
7
7
|
dataSet: DataSet;
|
|
8
8
|
}>;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { FunctionComponent } from 'react';
|
|
2
2
|
import { DataSet as DataSetType } from '../../../../../shared-logic/src/DataSet/types';
|
|
3
3
|
import { QueryAttributes as QueryAttributesType } from '../../../../../shared-logic/src/QueryAttributes/types';
|
|
4
|
-
import { Component } from '../../../../../shared-logic/src/Component/types';
|
|
4
|
+
import { Component, ComponentType } from '../../../../../shared-logic/src/Component/types';
|
|
5
5
|
export declare const DrilldownInput: FunctionComponent<{
|
|
6
6
|
dimensions: Array<QueryAttributesType.Dimension>;
|
|
7
7
|
drilldownOptions?: Component.DrilldownOptions[];
|
|
8
8
|
onSetDrilldown: (drilldown: Array<Component.DrilldownOptions>) => void;
|
|
9
9
|
dataSet: DataSetType;
|
|
10
|
+
component: ComponentType;
|
|
10
11
|
}>;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { FunctionComponent } from 'react';
|
|
2
2
|
import { DataSet as DataSetType } from '../../../../../shared-logic/src/DataSet/types';
|
|
3
3
|
import { QueryAttributes } from '../../../../../shared-logic/src/QueryAttributes/types';
|
|
4
|
-
import { Component } from '../../../../../shared-logic/src/Component/types';
|
|
4
|
+
import { Component, ComponentType } from '../../../../../shared-logic/src/Component/types';
|
|
5
5
|
export declare const DrilldownModal: FunctionComponent<{
|
|
6
6
|
show: boolean;
|
|
7
7
|
onClose: (drilldown?: Component.DrilldownOptions[]) => void;
|
|
8
8
|
drilldownOptions?: Component.DrilldownOptions[];
|
|
9
9
|
dataSet: DataSetType;
|
|
10
10
|
dimension: QueryAttributes.Dimension[];
|
|
11
|
+
component: ComponentType;
|
|
11
12
|
}>;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import { Component } from '../../../../../shared-logic/src/Component/types';
|
|
1
|
+
import { Component, ComponentType } from '../../../../../shared-logic/src/Component/types';
|
|
2
2
|
import { MultiSelectOptions } from '../../../base/MultiSelect';
|
|
3
3
|
import { QueryEngineConfig } from '../../../../../shared-logic/src/QueryEngineConfig/types';
|
|
4
|
+
import { FieldFilterOptions } from '../../../../../shared-logic/src/DataSet/types';
|
|
4
5
|
export declare const getInitialSelected: (fieldOptions: MultiSelectOptions[], drilldownOptions?: Component.DrilldownOptions[] | undefined) => number[];
|
|
5
6
|
export declare function getDrilldownOptions(selectedFieldIndexes: number[], fieldOptions: MultiSelectOptions[], queryEngineConfig: QueryEngineConfig): Component.DrilldownOptions[];
|
|
7
|
+
export declare const drilldownFieldConfiguration: (component: ComponentType) => FieldFilterOptions;
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
import { QueryAttributes } from '../../../../../shared-logic/src/QueryAttributes/types';
|
|
3
3
|
import { DataSet as DataSetType } from '../../../../../shared-logic/src/DataSet/types';
|
|
4
4
|
import { FilterFieldType, WipFilter } from './types';
|
|
5
|
-
import 'twin.macro';
|
|
6
5
|
import { QueryEngineConfig } from '../../../../../shared-logic/src/QueryEngineConfig/types';
|
|
7
6
|
import { TextOverride } from '../../../../../shared-logic/src/Translations/types';
|
|
8
7
|
import { SupportedQueryOperators } from '../QueryOpInput';
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { VizzlyComponents } from '../../types';
|
|
3
|
-
import 'twin.macro';
|
|
4
3
|
import { QueryAttributes } from '../../../../shared-logic/src/QueryAttributes/types';
|
|
5
4
|
import { TextOverride } from '../../../../shared-logic/src/Translations/types';
|
|
6
5
|
declare type ManagedProps = {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/// <reference types="lodash" />
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { VizzlyComponents, trackEventCallback } from '../../types';
|
|
4
|
-
import 'twin.macro';
|
|
5
4
|
export declare type Origin = 'dashboard' | 'library';
|
|
6
5
|
import { Component, Component as ComponentType } from '../../../../shared-logic/src/Component/types';
|
|
7
6
|
import { DataSet as DataSetType } from '../../../../shared-logic/src/DataSet/types';
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
2
|
export { Input } from '../base/Input';
|
|
3
3
|
export { Label } from '../base/Label';
|
|
4
|
-
export declare const CategoryHeading:
|
|
4
|
+
export declare const CategoryHeading: ({ children }: {
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
}) => JSX.Element;
|
|
5
7
|
export declare const CheckboxInput: React.ForwardRefExoticComponent<React.InputHTMLAttributes<HTMLInputElement> & {
|
|
6
8
|
checked?: boolean | undefined;
|
|
7
9
|
indeterminate?: boolean | undefined;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { FunctionComponent } from 'react';
|
|
2
|
-
import 'twin.macro';
|
|
3
2
|
import { Component as ComponentType } from '../../../../shared-logic/src/Component/types';
|
|
4
3
|
import { Query } from '../../../../shared-logic/src/Query/types';
|
|
5
4
|
import { Result } from '../../../../shared-logic/src/Result/types';
|